browserstack-node-sdk 1.32.9 → 1.32.11

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/CFTemplates/aws-eks-cluster-dep.yaml +6 -1
  2. package/ats/src/cloudproviders/AWS.js +1 -1
  3. package/ats/src/cloudproviders/Azure.js +1 -1
  4. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  6. package/ats/src/cloudproviders/utils.js +1 -1
  7. package/ats/src/commands/configure.js +1 -1
  8. package/ats/src/commands/connect.js +1 -1
  9. package/ats/src/commands/connect_commands/grid.js +1 -1
  10. package/ats/src/commands/create.js +1 -1
  11. package/ats/src/commands/create_commands/grid.js +1 -1
  12. package/ats/src/commands/delete.js +1 -1
  13. package/ats/src/commands/delete_commands/grid.js +1 -1
  14. package/ats/src/commands/init.js +1 -1
  15. package/ats/src/commands/list.js +1 -1
  16. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  17. package/ats/src/commands/list_commands/grids.js +1 -1
  18. package/ats/src/commands/start.js +1 -1
  19. package/ats/src/commands/start_commands/grid.js +1 -1
  20. package/ats/src/commands/stop.js +1 -1
  21. package/ats/src/commands/stop_commands/grid.js +1 -1
  22. package/ats/src/config/constants.js +1 -1
  23. package/ats/src/config/logger.js +1 -1
  24. package/ats/src/index.js +1 -1
  25. package/ats/src/utils/AWSUtils.js +1 -1
  26. package/ats/src/utils/createAutoscalerStack.js +1 -1
  27. package/ats/src/utils/createClusterStack.js +1 -1
  28. package/ats/src/utils/createk8sClient.js +1 -1
  29. package/ats/src/utils/deleteStack.js +1 -1
  30. package/ats/src/utils/gridComponents.js +1 -1
  31. package/ats/src/utils/hstUtils.js +1 -1
  32. package/ats/src/utils/instrumentationUtils.js +1 -1
  33. package/ats/src/utils/userInput.js +1 -1
  34. package/ats/src/utils/utilityMethods.js +1 -1
  35. package/ats/src/utils/webSocketUtils.js +1 -1
  36. package/package.json +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test.setup.js +1 -1
  45. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  46. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  47. package/src/bin/integrations/command.js +1 -1
  48. package/src/bin/integrations/constants.js +1 -1
  49. package/src/bin/jest/command.js +1 -1
  50. package/src/bin/jest/customImplements/customCircus.js +1 -1
  51. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  52. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  53. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  54. package/src/bin/jest/jest.setup.js +1 -1
  55. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  56. package/src/bin/jest/test-observability/helper.js +1 -1
  57. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  58. package/src/bin/jest/test-observability/test-details.js +1 -1
  59. package/src/bin/jest/test_before.setup.js +1 -1
  60. package/src/bin/launcher/launcher.js +1 -1
  61. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  62. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  63. package/src/bin/mocha/command.js +1 -1
  64. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  65. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  66. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  67. package/src/bin/mocha/test.setup.js +1 -1
  68. package/src/bin/nightwatch/command.js +1 -1
  69. package/src/bin/playwright/accessibility-helper.js +1 -1
  70. package/src/bin/playwright/command.js +1 -1
  71. package/src/bin/playwright/globalSetup.js +1 -1
  72. package/src/bin/playwright/mock-process.js +1 -1
  73. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  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 a28_0x2e00a4=a28_0x1354;(function(_0x23854b,_0x2aadb8){const _0x5a773d=a28_0x1354,_0x102a28=_0x23854b();while(!![]){try{const _0x1da832=-parseInt(_0x5a773d(0xbe))/0x1+parseInt(_0x5a773d(0xbc))/0x2*(-parseInt(_0x5a773d(0xbd))/0x3)+parseInt(_0x5a773d(0xc4))/0x4+-parseInt(_0x5a773d(0xc7))/0x5*(parseInt(_0x5a773d(0xcb))/0x6)+parseInt(_0x5a773d(0xc2))/0x7+parseInt(_0x5a773d(0xbf))/0x8*(parseInt(_0x5a773d(0xc0))/0x9)+parseInt(_0x5a773d(0xc9))/0xa*(parseInt(_0x5a773d(0xc3))/0xb);if(_0x1da832===_0x2aadb8)break;else _0x102a28['push'](_0x102a28['shift']());}catch(_0x918565){_0x102a28['push'](_0x102a28['shift']());}}}(a28_0x496c,0x25b2a));const requestSpy=require('../../../helpers/request-spy'),constants=require(a28_0x2e00a4(0xc6)),{addRequestSpy}=require(a28_0x2e00a4(0xc8));function a28_0x1354(_0x27119b,_0x44339a){const _0x496c5d=a28_0x496c();return a28_0x1354=function(_0x135401,_0x178d1c){_0x135401=_0x135401-0xbc;let _0x19f6cc=_0x496c5d[_0x135401];return _0x19f6cc;},a28_0x1354(_0x27119b,_0x44339a);}exports[a28_0x2e00a4(0xc1)]={'beforeAll'(){const _0x22284c={'ZPFyW':function(_0x17a02a){return _0x17a02a();}},_0xf06e3e='browserstack internal helper hook';_0x22284c['ZPFyW'](addRequestSpy);},'afterAll'(){const _0x243a8e=a28_0x2e00a4,_0xc9928a='browserstack internal helper hook';this[_0x243a8e(0xca)](0xea60),requestSpy[_0x243a8e(0xc5)]();}};function a28_0x496c(){const _0x202437=['../../../bin/utils/constants','178105UzzMXe','../../../helpers/test-observability/utils','105890esKhoX','timeout','6biwCTL','1160hzzsCm','1434LEMmbk','159365vuYVNe','24qVVbeu','129699DygPIx','mochaHooks','867538XAVwjM','473mFjyLd','16568YaikvU','restore'];a28_0x496c=function(){return _0x202437;};return a28_0x496c();}
1
+ function a28_0x4cc9(_0x181938,_0x422b61){const _0x536ed2=a28_0x536e();return a28_0x4cc9=function(_0x4cc920,_0x41b8d7){_0x4cc920=_0x4cc920-0xae;let _0x8046c0=_0x536ed2[_0x4cc920];return _0x8046c0;},a28_0x4cc9(_0x181938,_0x422b61);}const a28_0x32c3aa=a28_0x4cc9;function a28_0x536e(){const _0x3f332a=['../../../helpers/request-spy','RFOpG','478MwbEQn','3699010woVcQP','1454000CgUNvT','138yLIHti','1522161MgzgYZ','46487QokErq','152dSabpt','2455284wILQzw','timeout','restore','8aYjyCB','1901283truYLs','mochaHooks','../../../bin/utils/constants'];a28_0x536e=function(){return _0x3f332a;};return a28_0x536e();}(function(_0x3bb3cf,_0x3da7ff){const _0xce03c6=a28_0x4cc9,_0x47680a=_0x3bb3cf();while(!![]){try{const _0x4a8017=parseInt(_0xce03c6(0xb0))/0x1*(-parseInt(_0xce03c6(0xba))/0x2)+parseInt(_0xce03c6(0xb5))/0x3+-parseInt(_0xce03c6(0xb1))/0x4+parseInt(_0xce03c6(0xbc))/0x5+parseInt(_0xce03c6(0xbd))/0x6*(-parseInt(_0xce03c6(0xaf))/0x7)+-parseInt(_0xce03c6(0xb4))/0x8*(parseInt(_0xce03c6(0xae))/0x9)+parseInt(_0xce03c6(0xbb))/0xa;if(_0x4a8017===_0x3da7ff)break;else _0x47680a['push'](_0x47680a['shift']());}catch(_0x531630){_0x47680a['push'](_0x47680a['shift']());}}}(a28_0x536e,0x4eb89));const requestSpy=require(a28_0x32c3aa(0xb8)),constants=require(a28_0x32c3aa(0xb7)),{addRequestSpy}=require('../../../helpers/test-observability/utils');exports[a28_0x32c3aa(0xb6)]={'beforeAll'(){const _0x3e1f64=a28_0x32c3aa,_0x10cd9f={'RFOpG':function(_0x428bdd){return _0x428bdd();}},_0x652800='browserstack internal helper hook';_0x10cd9f[_0x3e1f64(0xb9)](addRequestSpy);},'afterAll'(){const _0x3b1b63=a28_0x32c3aa,_0x56bff9='browserstack internal helper hook';this[_0x3b1b63(0xb2)](0xea60),requestSpy[_0x3b1b63(0xb3)]();}};
@@ -1 +1 @@
1
- const a29_0x5dafac=a29_0x2f8b;function a29_0x2f8b(_0x161626,_0x250aa4){const _0x3d6891=a29_0x3d68();return a29_0x2f8b=function(_0x2f8b39,_0x55523f){_0x2f8b39=_0x2f8b39-0x189;let _0x43aca6=_0x3d6891[_0x2f8b39];return _0x43aca6;},a29_0x2f8b(_0x161626,_0x250aa4);}(function(_0x254bfe,_0x556f6c){const _0x4b8985=a29_0x2f8b,_0x43f2b4=_0x254bfe();while(!![]){try{const _0x53d40e=-parseInt(_0x4b8985(0x1c7))/0x1+-parseInt(_0x4b8985(0x1a6))/0x2*(parseInt(_0x4b8985(0x1ad))/0x3)+-parseInt(_0x4b8985(0x1e6))/0x4+parseInt(_0x4b8985(0x1c6))/0x5+-parseInt(_0x4b8985(0x197))/0x6*(-parseInt(_0x4b8985(0x1c1))/0x7)+parseInt(_0x4b8985(0x1c2))/0x8*(parseInt(_0x4b8985(0x1d9))/0x9)+-parseInt(_0x4b8985(0x198))/0xa*(-parseInt(_0x4b8985(0x1e7))/0xb);if(_0x53d40e===_0x556f6c)break;else _0x43f2b4['push'](_0x43f2b4['shift']());}catch(_0x411747){_0x43f2b4['push'](_0x43f2b4['shift']());}}}(a29_0x3d68,0x3b6e4));const {v4:uuidv4}=require('uuid'),{name,version}=require(a29_0x5dafac(0x193)),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),logReportingAPI=require(a29_0x5dafac(0x1d2)),BSTestOpsLogger=new logReportingAPI({}),{debug,isTestObservabilitySession,isInternalHook}=require(a29_0x5dafac(0x1d0)),{consoleHolder}=require(a29_0x5dafac(0x192)),{getPlatformVersion}=require(a29_0x5dafac(0x19c));console={},Object['keys'](consoleHolder)[a29_0x5dafac(0x18e)](_0x3b9b7b=>{console[_0x3b9b7b]=(..._0x193d03)=>{BSTestOpsPatcher[_0x3b9b7b](..._0x193d03);};}),exports[a29_0x5dafac(0x1a2)]=()=>{const _0x124d65=a29_0x5dafac,_0x2b790c={'fePaO':_0x124d65(0x1d4),'bVueP':function(_0x106def){return _0x106def();}};return{'ci':_0x2b790c[_0x124d65(0x1e1)],'key':_0x2b790c[_0x124d65(0x190)](uuidv4),'version':version,'collector':_0x124d65(0x1c4)+name};},exports[a29_0x5dafac(0x18a)]=_0xe9b684=>{const _0x4f442c=a29_0x5dafac,_0x12e7f7={};_0x12e7f7[_0x4f442c(0x1c8)]=function(_0x631c90,_0x281ab0){return _0x631c90!==_0x281ab0;},_0x12e7f7[_0x4f442c(0x18c)]=_0x4f442c(0x1d5),_0x12e7f7[_0x4f442c(0x196)]=function(_0x509930,_0x42891f){return _0x509930!==_0x42891f;},_0x12e7f7[_0x4f442c(0x1ac)]=_0x4f442c(0x1dc),_0x12e7f7[_0x4f442c(0x1d1)]='hook';const _0x4f14c3=_0x12e7f7;if(!_0xe9b684||_0x4f14c3[_0x4f442c(0x1c8)](typeof _0xe9b684,_0x4f14c3['YlkPM']))return[null,null];if(_0x4f14c3[_0x4f442c(0x196)](_0xe9b684[_0x4f442c(0x1c0)](_0x4f14c3[_0x4f442c(0x1ac)]),-0x1)){const _0x2f7b5d=_0xe9b684[_0x4f442c(0x1e5)](_0x4f14c3[_0x4f442c(0x1ac)]);return[_0x2f7b5d[0x0]['slice'](0x0,-0x1)[_0x4f442c(0x1e5)]('\x22')[0x1],_0x2f7b5d[0x1]['substring'](0x1)];}else{if(_0x4f14c3[_0x4f442c(0x1c8)](_0xe9b684['indexOf'](_0x4f14c3['eRAVK']),-0x1)){const _0x3e4a48=_0xe9b684['split'](_0x4f14c3['eRAVK']);return[_0x3e4a48[0x0][_0x4f442c(0x1d3)](0x0,-0x1)[_0x4f442c(0x1e5)]('\x22')[0x1],_0xe9b684];}}return[null,null];},exports[a29_0x5dafac(0x1b0)]=_0x2cbc99=>{const _0x4fa900=a29_0x5dafac,_0x2027cc={'Ofkke':function(_0x1cceea,_0x51a980){return _0x1cceea(_0x51a980);},'GJHqm':_0x4fa900(0x194),'qyIeW':'_afterAll','nhbkt':'_beforeEach','ogRLq':_0x4fa900(0x1bd)};if(!_0x2cbc99||!_0x2cbc99[_0x4fa900(0x1b7)])return[];const _0x52450b=[];return[_0x2027cc['GJHqm'],_0x2027cc['qyIeW'],_0x2027cc[_0x4fa900(0x1dd)],_0x2027cc[_0x4fa900(0x1ab)]]['forEach'](_0x36f264=>{const _0x3b341c=_0x4fa900,_0x3a7152={'ahdab':function(_0x599437,_0x1c9104){return _0x2027cc['Ofkke'](_0x599437,_0x1c9104);}},_0x5a0039=_0x2cbc99['parent'][_0x36f264]||[];_0x5a0039[_0x3b341c(0x18e)](_0x53b348=>{const _0x25ed03=_0x3b341c;_0x53b348[_0x25ed03(0x1a8)]&&!_0x3a7152['ahdab'](isInternalHook,_0x53b348['fn'])&&_0x52450b[_0x25ed03(0x1cd)](_0x53b348[_0x25ed03(0x1a8)]);});}),[..._0x52450b,...exports[_0x4fa900(0x1b0)](_0x2cbc99[_0x4fa900(0x1b7)])];},exports['mapTestHooks']=_0x47344f=>{const _0x534bb3=a29_0x5dafac,_0x16194a={'yXQcz':function(_0xe9e345){return _0xe9e345();},'FGClG':function(_0x2af371,_0x661f66){return _0x2af371===_0x661f66;},'ngLQV':_0x534bb3(0x1bd),'thptr':_0x534bb3(0x194),'iLeBX':_0x534bb3(0x1b8),'tGIiB':_0x534bb3(0x1b6)};if(!_0x47344f||!_0x47344f[_0x534bb3(0x1b7)])return;[_0x16194a[_0x534bb3(0x191)],_0x16194a[_0x534bb3(0x1aa)],_0x16194a[_0x534bb3(0x1c9)],_0x16194a[_0x534bb3(0x1a3)]]['forEach'](_0x57f918=>{const _0x2d3bb4=_0x534bb3,_0x131b06={'StLsr':function(_0x40004d){const _0x62b9c7=a29_0x2f8b;return _0x16194a[_0x62b9c7(0x189)](_0x40004d);},'XTatO':function(_0x3e83b7,_0x163053){const _0x5e1cff=a29_0x2f8b;return _0x16194a[_0x5e1cff(0x1af)](_0x3e83b7,_0x163053);},'uEphs':_0x16194a['ngLQV']},_0x83fcdf=_0x47344f[_0x2d3bb4(0x1b7)][_0x57f918]||[];_0x83fcdf[_0x2d3bb4(0x18e)](_0x3bac34=>{const _0x180b9e=_0x2d3bb4;if(!_0x3bac34['hookAnalyticsId'])_0x3bac34[_0x180b9e(0x1a8)]=_0x131b06[_0x180b9e(0x19f)](uuidv4);else _0x3bac34[_0x180b9e(0x18f)]&&_0x131b06[_0x180b9e(0x1ba)](_0x57f918,_0x131b06[_0x180b9e(0x1d7)])&&(_0x3bac34['hookAnalyticsId']=_0x131b06[_0x180b9e(0x19f)](uuidv4),delete _0x3bac34[_0x180b9e(0x18f)]);});}),exports[_0x534bb3(0x1a9)](_0x47344f[_0x534bb3(0x1b7)]);},exports[a29_0x5dafac(0x1b1)]=async(_0xb1ba17,_0x5c90b3)=>{const _0x17193a=a29_0x5dafac,_0x28ae0c={'jabok':function(_0x362429){return _0x362429();},'VukFL':function(_0x3d7522,_0x36d8f9){return _0x3d7522===_0x36d8f9;},'ktHgp':_0x17193a(0x19d),'FxqME':_0x17193a(0x1c5),'tPAkK':_0x17193a(0x1b2),'gcGcM':_0x17193a(0x1da),'blFsD':'automate','ozoDZ':function(_0x443881,_0x118795){return _0x443881(_0x118795);},'Wlzrg':function(_0x1d99bb,_0x519257){return _0x1d99bb===_0x519257;},'LjaXu':_0x17193a(0x1d8),'Frayn':_0x17193a(0x1ea)};try{if(!_0x28ae0c['jabok'](isTestObservabilitySession))return;const _0x38741c=await _0xb1ba17[_0x17193a(0x1e8)](),_0x47b409=await _0xb1ba17[_0x17193a(0x1e2)](),_0x14cd02={},_0x4935ff=Object[_0x17193a(0x1a0)](_0x47b409[_0x17193a(0x1e8)]()[_0x17193a(0x18d)]),_0xaea31f={'product':_0x28ae0c[_0x17193a(0x1e9)](global[_0x17193a(0x1eb)],_0x28ae0c[_0x17193a(0x1a7)])?_0x4935ff[_0x28ae0c[_0x17193a(0x18b)]]||_0x4935ff[_0x28ae0c[_0x17193a(0x1ce)]]?_0x28ae0c['gcGcM']:_0x28ae0c[_0x17193a(0x1b5)]:null,'capabilities':_0x4935ff,'platform':_0x38741c[_0x17193a(0x1cf)](),'platform_version':_0x28ae0c['ozoDZ'](getPlatformVersion,_0x28ae0c[_0x17193a(0x1bf)](global['__cloud_provider___'],_0x28ae0c[_0x17193a(0x1a7)])),'browser':_0x38741c[_0x17193a(0x19b)](),'browser_version':_0x38741c[_0x17193a(0x1bb)](),'session_id':_0x47b409[_0x17193a(0x1ca)]()};global['__cloud_provider___']?_0x14cd02[global[_0x17193a(0x1eb)]]=_0xaea31f:_0x14cd02[_0x28ae0c['LjaXu']]=_0xaea31f,process[_0x17193a(0x1be)](_0x17193a(0x1cc)+process[_0x17193a(0x1a4)],{'timestamp':new Date()[_0x17193a(0x199)](),'level':null,'message':null,'kind':_0x28ae0c[_0x17193a(0x1b3)],'http_response':_0x14cd02,'uuid':_0x5c90b3});}catch(_0x4f48d4){_0x28ae0c[_0x17193a(0x1ae)](debug,_0x17193a(0x19e)+_0x4f48d4);}},exports[a29_0x5dafac(0x1a5)]=_0x5ed6a0=>{const _0x4553d2=a29_0x5dafac,_0x3b1a7d={};_0x3b1a7d[_0x4553d2(0x1df)]=function(_0x4b08f9,_0x3cf001){return _0x4b08f9!==_0x3cf001;},_0x3b1a7d['JJQiW']=_0x4553d2(0x1bc),_0x3b1a7d[_0x4553d2(0x1b4)]=function(_0x16370e,_0x2cd804){return _0x16370e!==_0x2cd804;},_0x3b1a7d[_0x4553d2(0x1de)]=_0x4553d2(0x1db),_0x3b1a7d['UkpFg']=function(_0x4aa365,_0x261ff8){return _0x4aa365!==_0x261ff8;},_0x3b1a7d[_0x4553d2(0x1cb)]='failed';const _0x3d402a=_0x3b1a7d,_0x11df2a=_0x5ed6a0[_0x4553d2(0x1a1)][_0x4553d2(0x1b9)]((_0x258307,_0x5e96b5)=>{const _0x11b90f=_0x4553d2,_0x324c7b=exports[_0x11b90f(0x1a5)](_0x5e96b5);return _0x324c7b&&(_0x258307=_0x258307[_0x11b90f(0x1e4)](_0x324c7b)),_0x258307;},[]),_0x5a369a=_0x5ed6a0[_0x4553d2(0x19a)][_0x4553d2(0x1e3)](_0x38a12a=>{const _0x156926=_0x4553d2,_0x3276dd=_0x3d402a['MSzjg'](_0x38a12a[_0x156926(0x1e0)],_0x3d402a[_0x156926(0x1c3)])&&!_0x38a12a[_0x156926(0x18f)]&&_0x3d402a[_0x156926(0x1b4)](_0x38a12a[_0x156926(0x1d6)],_0x3d402a['IzGfk'])&&_0x3d402a['UkpFg'](_0x38a12a['state'],_0x3d402a[_0x156926(0x1cb)])&&!_0x38a12a[_0x156926(0x195)];return _0x3276dd;});return _0x5a369a[_0x4553d2(0x1e4)](_0x11df2a);};function a29_0x3d68(){const _0xd18e3d=['getSession','filter','concat','split','1442944XmhwWA','11XvTunf','getCapabilities','VukFL','TEST_PLATFORM','__cloud_provider___','yXQcz','getHookDetails','FxqME','YlkPM','map_','forEach','markedStatus','bVueP','thptr','../../../helpers/test-observability/constants','../../../../package.json','_beforeAll','pending','hmLVw','1073616WeXmod','3728390czgYuu','toISOString','tests','getBrowserName','../../../helpers/helper','browserstack','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','StLsr','fromEntries','suites','getTestEnv','ngLQV','pid','getHookSkippedTests','2894uFcYhg','ktHgp','hookAnalyticsId','mapTestHooks','iLeBX','ogRLq','mkdjo','789AxMoYt','ozoDZ','FGClG','getHooksForTest','sendPlatformDetails','app','Frayn','FBjHS','blFsD','_beforeEach','parent','_afterAll','reduce','XTatO','getBrowserVersion','hook','_afterEach','emit','Wlzrg','indexOf','14tYSBBN','7808lCQAGy','JJQiW','js-','appium:app','1673160fczhqQ','316810qgmmBh','SmsVn','tGIiB','toJSON','InNqR','bs:addPlatformDetails:','push','tPAkK','getPlatform','../../../helpers/test-observability/utils','eRAVK','../../utils/logReportingAPI','slice','generic','string','state','uEphs','unknown_grid','2178iUqRCD','app-automate','passed','hook:','nhbkt','IzGfk','MSzjg','type','fePaO'];a29_0x3d68=function(){return _0xd18e3d;};return a29_0x3d68();}
1
+ const a29_0x597a16=a29_0x1784;function a29_0x1784(_0x3a9675,_0x2a618b){const _0x5223c0=a29_0x5223();return a29_0x1784=function(_0x17845a,_0x3fb563){_0x17845a=_0x17845a-0x12c;let _0x3b305d=_0x5223c0[_0x17845a];return _0x3b305d;},a29_0x1784(_0x3a9675,_0x2a618b);}(function(_0x1d7f31,_0x2f6431){const _0x32d658=a29_0x1784,_0x48ade9=_0x1d7f31();while(!![]){try{const _0x591722=-parseInt(_0x32d658(0x15b))/0x1+parseInt(_0x32d658(0x141))/0x2+parseInt(_0x32d658(0x156))/0x3*(-parseInt(_0x32d658(0x149))/0x4)+-parseInt(_0x32d658(0x166))/0x5*(-parseInt(_0x32d658(0x136))/0x6)+parseInt(_0x32d658(0x177))/0x7+-parseInt(_0x32d658(0x17f))/0x8+parseInt(_0x32d658(0x14b))/0x9*(-parseInt(_0x32d658(0x13c))/0xa);if(_0x591722===_0x2f6431)break;else _0x48ade9['push'](_0x48ade9['shift']());}catch(_0x5323c5){_0x48ade9['push'](_0x48ade9['shift']());}}}(a29_0x5223,0x978ee));const {v4:uuidv4}=require(a29_0x597a16(0x16f)),{name,version}=require(a29_0x597a16(0x15f)),logPatcher=require(a29_0x597a16(0x138)),BSTestOpsPatcher=new logPatcher({}),logReportingAPI=require(a29_0x597a16(0x14a)),BSTestOpsLogger=new logReportingAPI({}),{debug,isTestObservabilitySession,isInternalHook}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require(a29_0x597a16(0x183)),{getPlatformVersion}=require(a29_0x597a16(0x151));function a29_0x5223(){const _0x1b621f=['OEEqQ','XvWJM','markedStatus','_beforeAll','5600736yLEpnC','forEach','hook:','map_','../../../helpers/test-observability/constants','trzjt','getSession','rvGoz','fromEntries','parent','JXwCk','_afterAll','oQtKa','ZJfpv','cIiCh','substring','failed','NLaeG','SYYlF','sendPlatformDetails','ymUcf','6195066RZbXNb','ThPLV','../../utils/logPatcher','getPlatform','YNbCb','browserstack','540Teralk','pending','suites','hookAnalyticsId','indexOf','1141228dcyELz','keys','__cloud_provider___','_afterEach','Dzpgq','bs:addPlatformDetails:','Gvehf','emit','240472ARNmOa','../../utils/logReportingAPI','43731khsLHd','getTestEnv','AtQGB','DXqVp','getBrowserName','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','../../../helpers/helper','concat','tests','slice','getHooksForTest','6imsMog','passed','automate','pid','XmvLm','646943fCBZAm','hvIMB','vYqGY','filter','../../../../package.json','getBrowserVersion','string','bWwDS','appium:app','getHookSkippedTests','ooLJh','5skKTSa','state','app','getCapabilities','toJSON','yGYAN','DRgjA','split','hook','uuid','wAOmI','generic','mWKGW','unknown_grid','wTTbV','_beforeEach','mapTestHooks','5231198gdHlRh','TIMqE','toISOString','push'];a29_0x5223=function(){return _0x1b621f;};return a29_0x5223();}console={},Object[a29_0x597a16(0x142)](consoleHolder)[a29_0x597a16(0x180)](_0x24cb2a=>{console[_0x24cb2a]=(..._0x198792)=>{BSTestOpsPatcher[_0x24cb2a](..._0x198792);};}),exports[a29_0x597a16(0x14c)]=()=>{const _0x2e808d=a29_0x597a16,_0x1ddbba={'wTTbV':_0x2e808d(0x171),'JXwCk':function(_0x4b194e){return _0x4b194e();}};return{'ci':_0x1ddbba[_0x2e808d(0x174)],'key':_0x1ddbba[_0x2e808d(0x189)](uuidv4),'version':version,'collector':'js-'+name};},exports['getHookDetails']=_0x3d0e57=>{const _0x206268=a29_0x597a16,_0xfa9196={};_0xfa9196[_0x206268(0x17c)]=function(_0x42a61e,_0x333939){return _0x42a61e!==_0x333939;},_0xfa9196[_0x206268(0x172)]=_0x206268(0x161),_0xfa9196[_0x206268(0x15c)]=_0x206268(0x181),_0xfa9196[_0x206268(0x165)]=function(_0x50303f,_0x4fa190){return _0x50303f!==_0x4fa190;},_0xfa9196[_0x206268(0x14d)]=_0x206268(0x16e);const _0x135872=_0xfa9196;if(!_0x3d0e57||_0x135872['XvWJM'](typeof _0x3d0e57,_0x135872['mWKGW']))return[null,null];if(_0x135872[_0x206268(0x17c)](_0x3d0e57[_0x206268(0x140)](_0x135872[_0x206268(0x15c)]),-0x1)){const _0x1a04d3=_0x3d0e57[_0x206268(0x16d)](_0x135872[_0x206268(0x15c)]);return[_0x1a04d3[0x0][_0x206268(0x154)](0x0,-0x1)[_0x206268(0x16d)]('\x22')[0x1],_0x1a04d3[0x1][_0x206268(0x130)](0x1)];}else{if(_0x135872[_0x206268(0x165)](_0x3d0e57[_0x206268(0x140)](_0x135872[_0x206268(0x14d)]),-0x1)){const _0x5f2105=_0x3d0e57[_0x206268(0x16d)](_0x135872['AtQGB']);return[_0x5f2105[0x0][_0x206268(0x154)](0x0,-0x1)[_0x206268(0x16d)]('\x22')[0x1],_0x3d0e57];}}return[null,null];},exports[a29_0x597a16(0x155)]=_0x5470ea=>{const _0x3f783e=a29_0x597a16,_0x5817d7={'XmvLm':function(_0x29c53b,_0x3bc3a0){return _0x29c53b(_0x3bc3a0);},'TIMqE':_0x3f783e(0x17e),'ThPLV':_0x3f783e(0x12c),'DXqVp':'_beforeEach','trzjt':_0x3f783e(0x144)};if(!_0x5470ea||!_0x5470ea[_0x3f783e(0x188)])return[];const _0x412a07=[];return[_0x5817d7[_0x3f783e(0x178)],_0x5817d7[_0x3f783e(0x137)],_0x5817d7[_0x3f783e(0x14e)],_0x5817d7[_0x3f783e(0x184)]]['forEach'](_0x334cb0=>{const _0x4681a1=_0x3f783e,_0x259c1a=_0x5470ea[_0x4681a1(0x188)][_0x334cb0]||[];_0x259c1a[_0x4681a1(0x180)](_0x1f6a48=>{const _0x7d094d=_0x4681a1;_0x1f6a48[_0x7d094d(0x13f)]&&!_0x5817d7[_0x7d094d(0x15a)](isInternalHook,_0x1f6a48['fn'])&&_0x412a07[_0x7d094d(0x17a)](_0x1f6a48[_0x7d094d(0x13f)]);});}),[..._0x412a07,...exports[_0x3f783e(0x155)](_0x5470ea[_0x3f783e(0x188)])];},exports[a29_0x597a16(0x176)]=_0x2cb9cd=>{const _0xaf2013=a29_0x597a16,_0x4ab7e6={'vYqGY':function(_0x4f08dd){return _0x4f08dd();},'rvGoz':function(_0x5d77c1,_0x542b35){return _0x5d77c1===_0x542b35;},'YNbCb':_0xaf2013(0x144),'FKbNZ':function(_0x357907){return _0x357907();},'bWwDS':_0xaf2013(0x17e),'JFHtm':_0xaf2013(0x12c),'dsNMp':_0xaf2013(0x175)};if(!_0x2cb9cd||!_0x2cb9cd[_0xaf2013(0x188)])return;[_0x4ab7e6[_0xaf2013(0x162)],_0x4ab7e6['JFHtm'],_0x4ab7e6['dsNMp'],_0x4ab7e6[_0xaf2013(0x13a)]][_0xaf2013(0x180)](_0x189afd=>{const _0x17323a=_0xaf2013,_0x2a1977=_0x2cb9cd[_0x17323a(0x188)][_0x189afd]||[];_0x2a1977[_0x17323a(0x180)](_0x558e89=>{const _0xf736fe=_0x17323a;if(!_0x558e89['hookAnalyticsId'])_0x558e89['hookAnalyticsId']=_0x4ab7e6[_0xf736fe(0x15d)](uuidv4);else _0x558e89[_0xf736fe(0x17d)]&&_0x4ab7e6[_0xf736fe(0x186)](_0x189afd,_0x4ab7e6[_0xf736fe(0x13a)])&&(_0x558e89['hookAnalyticsId']=_0x4ab7e6['FKbNZ'](uuidv4),delete _0x558e89[_0xf736fe(0x17d)]);});}),exports[_0xaf2013(0x176)](_0x2cb9cd['parent']);},exports[a29_0x597a16(0x134)]=async(_0x4e30b4,_0x27158c)=>{const _0x4129ac=a29_0x597a16,_0x3f838f={'JScrN':function(_0x32d430){return _0x32d430();},'oQtKa':function(_0x57f6ae,_0x383efc){return _0x57f6ae===_0x383efc;},'Gvehf':_0x4129ac(0x13b),'cIiCh':_0x4129ac(0x163),'NOCEc':_0x4129ac(0x168),'yGYAN':'app-automate','Dzpgq':_0x4129ac(0x158),'ZJfpv':function(_0x11da5b,_0x45542a){return _0x11da5b(_0x45542a);},'QTkRZ':_0x4129ac(0x173),'SYYlF':'TEST_PLATFORM'};try{if(!_0x3f838f['JScrN'](isTestObservabilitySession))return;const _0xeaa8ee=await _0x4e30b4[_0x4129ac(0x169)](),_0xfa80b6=await _0x4e30b4[_0x4129ac(0x185)](),_0x3e6aa6={},_0x496694=Object[_0x4129ac(0x187)](_0xfa80b6[_0x4129ac(0x169)]()[_0x4129ac(0x182)]),_0x12caa1={'product':_0x3f838f[_0x4129ac(0x12d)](global[_0x4129ac(0x143)],_0x3f838f[_0x4129ac(0x147)])?_0x496694[_0x3f838f[_0x4129ac(0x12f)]]||_0x496694[_0x3f838f['NOCEc']]?_0x3f838f[_0x4129ac(0x16b)]:_0x3f838f[_0x4129ac(0x145)]:null,'capabilities':_0x496694,'platform':_0xeaa8ee[_0x4129ac(0x139)](),'platform_version':_0x3f838f[_0x4129ac(0x12e)](getPlatformVersion,_0x3f838f['oQtKa'](global[_0x4129ac(0x143)],_0x3f838f[_0x4129ac(0x147)])),'browser':_0xeaa8ee[_0x4129ac(0x14f)](),'browser_version':_0xeaa8ee[_0x4129ac(0x160)](),'session_id':_0xfa80b6[_0x4129ac(0x16a)]()};global[_0x4129ac(0x143)]?_0x3e6aa6[global[_0x4129ac(0x143)]]=_0x12caa1:_0x3e6aa6[_0x3f838f['QTkRZ']]=_0x12caa1,process[_0x4129ac(0x148)](_0x4129ac(0x146)+process[_0x4129ac(0x159)],{'timestamp':new Date()[_0x4129ac(0x179)](),'level':null,'message':null,'kind':_0x3f838f[_0x4129ac(0x133)],'http_response':_0x3e6aa6,'uuid':_0x27158c});}catch(_0x26a6f3){_0x3f838f[_0x4129ac(0x12e)](debug,_0x4129ac(0x150)+_0x26a6f3);}},exports[a29_0x597a16(0x164)]=_0x16960c=>{const _0x1b5549=a29_0x597a16,_0x48e736={};_0x48e736[_0x1b5549(0x170)]=function(_0x985197,_0xfcfe9e){return _0x985197!==_0xfcfe9e;},_0x48e736[_0x1b5549(0x132)]=_0x1b5549(0x16e),_0x48e736[_0x1b5549(0x16c)]=function(_0x489869,_0x13f8d7){return _0x489869!==_0x13f8d7;},_0x48e736[_0x1b5549(0x17b)]=_0x1b5549(0x157),_0x48e736[_0x1b5549(0x135)]=function(_0x16d7c6,_0x2bb00c){return _0x16d7c6!==_0x2bb00c;},_0x48e736['QxRYl']=_0x1b5549(0x131);const _0x409cab=_0x48e736,_0xaa557f=_0x16960c[_0x1b5549(0x13e)]['reduce']((_0x1a0f6e,_0x3dad5a)=>{const _0x88293f=_0x1b5549,_0x2c1ecc=exports['getHookSkippedTests'](_0x3dad5a);return _0x2c1ecc&&(_0x1a0f6e=_0x1a0f6e[_0x88293f(0x152)](_0x2c1ecc)),_0x1a0f6e;},[]),_0x1a0ada=_0x16960c[_0x1b5549(0x153)][_0x1b5549(0x15e)](_0x4d1137=>{const _0x420842=_0x1b5549,_0x488a6b=_0x409cab[_0x420842(0x170)](_0x4d1137['type'],_0x409cab[_0x420842(0x132)])&&!_0x4d1137[_0x420842(0x17d)]&&_0x409cab[_0x420842(0x16c)](_0x4d1137[_0x420842(0x167)],_0x409cab[_0x420842(0x17b)])&&_0x409cab['ymUcf'](_0x4d1137[_0x420842(0x167)],_0x409cab['QxRYl'])&&!_0x4d1137[_0x420842(0x13d)];return _0x488a6b;});return _0x1a0ada[_0x1b5549(0x152)](_0xaa557f);};
@@ -1 +1 @@
1
- const a30_0x1f8019=a30_0x2fec;function a30_0x5ee5(){const _0xcb7aaf=['4647520vQPnRe','BlBAk','MwjDl','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','passed','3682944PjqfQQ','14PQkSFS','performScan','driverCleanup','\x20-\x20','startMonitoring','percy','session_','titlePath','KxfmC','../../helpers/globals','HcnVM','quitCount_','WTpGS','BS_A11Y_TEST_RUN_ID','Failed:\x20','emqAT','app','setGlobal','accessibilityScanStarted','file','ObservabilitySync:','push','3361152fPkbAQ','saveTestResults','shift','browserstackSessionName','../../helpers/accessibility-automation/helper','../../helpers/percy/utils','currentTest','obEEW','info','shouldScanTestForAccessibility','LxlkW','Rirdm','message','eVPmN','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','GOzIU','5371965plrggv','dwznC','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','375812hUrGOc','pbnyY','now','VVpAm','then','UvDQG','fTHUJ','__skipSessionName','state','util','15EMgkTQ','677752aWrUQb',',\x22level\x22:\x20\x22','protocol','../../helpers/performance-tester','bstackA11yShouldScan','error','winstonLogger','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','join','failed','mwVSV','\x22}}','IiSbP','jFPMx','hWQhS','testAnalyticsId','SGVBn','../../helpers/accessibility-automation/scripts','dtrBf','FxkgH','oiMDE','capabilities','__error_messages__','isAccessibilityPlatform','owobA','initQuit','getGlobal','xCgKl','format','../../helpers/test-observability/utils','rGsTn','zXryF','kOYix','rsjbw','XjAef','https:','executeAsyncScript','Automate\x20test\x20case\x20execution\x20has\x20started.','env','ZoAav','timeout','2948432lMdMZH','isArray','Kggcq','stringify','getCurrentUrl','Wnujl','length','NlHpM','percyCaptureMode','../../helpers/logger','__sessionFailed','jbVsz','.\x20Error\x20:','err','executeScript','testcase','ndHMl','\x20|\x20','__drivers','sessionNameSet__','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','debug'];a30_0x5ee5=function(){return _0xcb7aaf;};return a30_0x5ee5();}(function(_0x1ae992,_0x266fd5){const _0x3e8678=a30_0x2fec,_0x4d1ab3=_0x1ae992();while(!![]){try{const _0x323c0d=-parseInt(_0x3e8678(0x20a))/0x1+-parseInt(_0x3e8678(0x1ff))/0x2*(parseInt(_0x3e8678(0x209))/0x3)+parseInt(_0x3e8678(0x1ba))/0x4+parseInt(_0x3e8678(0x1d0))/0x5+-parseInt(_0x3e8678(0x1d5))/0x6+parseInt(_0x3e8678(0x1d6))/0x7*(parseInt(_0x3e8678(0x1ec))/0x8)+parseInt(_0x3e8678(0x1fc))/0x9;if(_0x323c0d===_0x266fd5)break;else _0x4d1ab3['push'](_0x4d1ab3['shift']());}catch(_0x50eafd){_0x4d1ab3['push'](_0x4d1ab3['shift']());}}}(a30_0x5ee5,0xd50e7));function a30_0x2fec(_0x361d28,_0x28ed39){const _0x5ee5db=a30_0x5ee5();return a30_0x2fec=function(_0x2fec92,_0x5ead63){_0x2fec92=_0x2fec92-0x192;let _0x1a9075=_0x5ee5db[_0x2fec92];return _0x1a9075;},a30_0x2fec(_0x361d28,_0x28ed39);}const util=require(a30_0x1f8019(0x208)),{isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a30_0x1f8019(0x1f0)),{percyAutoCapture}=require(a30_0x1f8019(0x1f1)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus}=require('../../helpers/helper'),{isTestObservabilitySession}=require(a30_0x1f8019(0x1ae)),PerformanceTester=require(a30_0x1f8019(0x194)),scripts=require(a30_0x1f8019(0x1a2)),globals=require(a30_0x1f8019(0x1df)),logger=require(a30_0x1f8019(0x1c3))[a30_0x1f8019(0x197)];exports['mochaHooks']={'beforeAll'(){const _0x4469b6=a30_0x1f8019,_0x5c901b={'SGVBn':function(_0x31cd98,_0x4e9d23,_0x2caeb9,_0x6b7ebe){return _0x31cd98(_0x4e9d23,_0x2caeb9,_0x6b7ebe);},'KxfmC':_0x4469b6(0x19a),'PenPh':_0x4469b6(0x1cb),'MwjDl':function(_0x245295,_0x1f94f9,_0x135786){return _0x245295(_0x1f94f9,_0x135786);},'rGsTn':_0x4469b6(0x1d4),'ndHMl':function(_0x596897){return _0x596897();}};PerformanceTester[_0x4469b6(0x1da)]();const _0x7c8654='browserstack internal helper hook';global['__error_messages__']=[],global[_0x4469b6(0x1c4)]=![],global[_0x4469b6(0x1d8)]=async()=>{const _0x443d28=_0x4469b6;let _0x2ff16f=![];try{await global[_0x443d28(0x1cc)][0x0][_0x443d28(0x1dc)],_0x2ff16f=!![],global['__sessionFailed']?await _0x5c901b[_0x443d28(0x1a1)](markSessionStatus,global[_0x443d28(0x1cc)][0x0],_0x5c901b[_0x443d28(0x1de)],global[_0x443d28(0x1a7)][_0x443d28(0x199)](_0x5c901b['PenPh'])):await _0x5c901b[_0x443d28(0x1d2)](markSessionStatus,global['__drivers'][0x0],_0x5c901b[_0x443d28(0x1af)]);}catch(_0x381544){}global[_0x443d28(0x1a7)]=[],global[_0x443d28(0x1c4)]=![];if(_0x2ff16f)try{try{_0x5c901b[_0x443d28(0x1ca)](isTestObservabilitySession)&&(global[_0x443d28(0x1cc)][0x0]&&await _0x5c901b['MwjDl'](sendPlatformDetails,global['__drivers'][0x0],this['currentTest']?this[_0x443d28(0x1f2)]['testAnalyticsId']:null));}catch{}await global[_0x443d28(0x1cc)][0x0][_0x443d28(0x1aa)]();}catch(_0x51f578){}};},'beforeEach'(_0x951200){const _0x5e1f55=a30_0x1f8019,_0x5084c1={'DlRjP':function(_0x3d4bc4,_0x338ba8){return _0x3d4bc4>_0x338ba8;},'UvDQG':function(_0x48a50f,_0x59b4fc){return _0x48a50f>_0x59b4fc;},'Rirdm':_0x5e1f55(0x1d9),'dtrBf':function(_0x420ca9,_0x1ce0e6,_0x1b6916){return _0x420ca9(_0x1ce0e6,_0x1b6916);},'XjAef':_0x5e1f55(0x195),'rsjbw':function(_0x38c20c){return _0x38c20c();},'IiSbP':function(_0x1fbcad,_0x1cc821){return _0x1fbcad>_0x1cc821;},'zXryF':_0x5e1f55(0x1a8),'emqAT':function(_0x4b0952,_0x15fb85){return _0x4b0952===_0x15fb85;},'eVPmN':'http:','aiNTm':_0x5e1f55(0x1b4),'LxlkW':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','VVpAm':_0x5e1f55(0x1b6),'jbVsz':function(_0x3dd113){return _0x3dd113();}};new Promise(async _0x37861b=>{const _0x374d2c=_0x5e1f55,_0x34dd7b='browserstack internal helper hook';let _0x1c961c=!![];try{_0x5084c1['DlRjP'](global[_0x374d2c(0x1cc)]['length'],0x1)&&(await global[_0x374d2c(0x1d8)](),global[_0x374d2c(0x1cc)][_0x374d2c(0x1ee)]()),_0x5084c1[_0x374d2c(0x204)](global[_0x374d2c(0x1cc)][0x0][_0x374d2c(0x1e1)],0x0)&&(_0x1c961c=![],await global[_0x374d2c(0x1d8)]());}catch{}try{Array[_0x374d2c(0x1bb)](global['__drivers'])&&global['__drivers'][0x0]&&(global[_0x374d2c(0x1cc)][0x0]['browserstackSessionName']=this[_0x374d2c(0x1f2)][_0x374d2c(0x1dd)]()[_0x374d2c(0x199)](_0x5084c1[_0x374d2c(0x1f7)])),global[_0x374d2c(0x1ef)]=this[_0x374d2c(0x1f2)][_0x374d2c(0x1dd)]()['join'](_0x5084c1[_0x374d2c(0x1f7)]);}catch(_0x3af64f){logger[_0x374d2c(0x1cf)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x3af64f);}this['currentTest'][_0x374d2c(0x1f5)]=_0x5084c1[_0x374d2c(0x1a3)](shouldScanTestForAccessibility,this[_0x374d2c(0x1f2)][_0x374d2c(0x1dd)](),!![]),globals[_0x374d2c(0x1e7)](_0x5084c1[_0x374d2c(0x1b3)],this[_0x374d2c(0x1f2)][_0x374d2c(0x1f5)]),this['currentTest'][_0x374d2c(0x1e8)]=!![];if(_0x5084c1[_0x374d2c(0x1b2)](isAccessibilityAutomationSession)&&_0x1c961c&&Array[_0x374d2c(0x1bb)](global[_0x374d2c(0x1cc)])&&_0x5084c1[_0x374d2c(0x19d)](global[_0x374d2c(0x1cc)][_0x374d2c(0x1c0)],0x0)&&globals[_0x374d2c(0x1ab)](_0x5084c1[_0x374d2c(0x1b0)]))try{const _0x569451=await global[_0x374d2c(0x1cc)][0x0][_0x374d2c(0x1dc)];if(_0x569451){let _0xe1a796=!![];const _0x3429a0=await global[_0x374d2c(0x1cc)][0x0][_0x374d2c(0x1be)]();let _0x29459d;try{_0x29459d=new URL(_0x3429a0);}catch(_0x215f8a){_0xe1a796=![];}_0xe1a796=_0x5084c1[_0x374d2c(0x1e5)](_0x29459d[_0x374d2c(0x193)],_0x5084c1[_0x374d2c(0x1f9)])||_0x5084c1['emqAT'](_0x29459d['protocol'],_0x5084c1['aiNTm']),_0xe1a796&&(this['currentTest'][_0x374d2c(0x1f5)]&&logger[_0x374d2c(0x1f4)](_0x5084c1[_0x374d2c(0x1f6)])),this[_0x374d2c(0x1f2)]['accessibilityScanStarted']=this[_0x374d2c(0x1f2)][_0x374d2c(0x1f5)],this[_0x374d2c(0x1f2)][_0x374d2c(0x1f5)]&&logger[_0x374d2c(0x1f4)](_0x5084c1[_0x374d2c(0x202)]);}}catch(_0x2d07e2){logger[_0x374d2c(0x196)](_0x374d2c(0x1fa)+util['format'](_0x2d07e2));}_0x5084c1[_0x374d2c(0x1c5)](_0x37861b);})[_0x5e1f55(0x203)](_0x951200);},'afterEach'(_0x1a7bcd){const _0x3fe3e7=a30_0x1f8019,_0x3da5b3={'GOzIU':function(_0x12ec40,_0x245a20){return _0x12ec40>_0x245a20;},'TtPiH':function(_0x37129c,_0x3e193f){return _0x37129c===_0x3e193f;},'Kggcq':_0x3fe3e7(0x1c9),'jFPMx':'appium:app','kOYix':function(_0x5d6594,_0x50bf72,_0x16db6c,_0x8415f3){return _0x5d6594(_0x50bf72,_0x16db6c,_0x8415f3);},'NlHpM':_0x3fe3e7(0x1d9),'Wnujl':function(_0x50516f,_0x39ccfd){return _0x50516f!==_0x39ccfd;},'oiMDE':_0x3fe3e7(0x1d4),'FxkgH':function(_0x5c26ee,_0x177fbd,_0x34c00e){return _0x5c26ee(_0x177fbd,_0x34c00e);},'UTYHy':function(_0xfbc399,_0x3a733f){return _0xfbc399+_0x3a733f;},'ZoAav':_0x3fe3e7(0x1e4),'HcnVM':_0x3fe3e7(0x196),'gkiSH':'Passed','fTHUJ':_0x3fe3e7(0x1f4),'mwVSV':'isAccessibilityPlatform','cydsO':'bstackA11yShouldScan','obEEW':_0x3fe3e7(0x1fe),'owobA':function(_0x1cf7c4,_0xaf590b){return _0x1cf7c4(_0xaf590b);},'hWQhS':'Performing\x20scan\x20before\x20saving\x20results','BlBAk':_0x3fe3e7(0x1d3),'WTpGS':function(_0x25f3ed){return _0x25f3ed();},'xCgKl':function(_0x23edde,_0x542303,_0x8dbd02){return _0x23edde(_0x542303,_0x8dbd02);},'pbnyY':function(_0x4fe90a){return _0x4fe90a();},'JHdOh':_0x3fe3e7(0x1cf)},_0x6544c4='browserstack internal helper hook';this['timeout'](0xfde8);const _0x5f4168=async(_0x2bd903,_0x51ac4b)=>{const _0x484138=_0x3fe3e7;await global[_0x484138(0x1cc)][0x0][_0x484138(0x1c8)](_0x484138(0x1ce)+_0x2bd903+_0x484138(0x192)+_0x51ac4b+_0x484138(0x19c));};new Promise(async _0x18963b=>{const _0x15b9f0=_0x3fe3e7;try{_0x3da5b3[_0x15b9f0(0x1fb)](global['__drivers']['length'],0x1)&&(await global[_0x15b9f0(0x1d8)](),global[_0x15b9f0(0x1cc)][_0x15b9f0(0x1ee)](),global['__error_messages__']=[],global[_0x15b9f0(0x1c4)]=![]);try{if(global[_0x15b9f0(0x1db)]&&_0x3da5b3['TtPiH'](global[_0x15b9f0(0x1c2)],_0x3da5b3[_0x15b9f0(0x1bc)])&&global[_0x15b9f0(0x1cc)][0x0]){const _0x56403d=_0x3da5b3['GOzIU'](global[_0x15b9f0(0x1a6)][_0x15b9f0(0x1c0)],0x0)?!!global['capabilities'][0x0][_0x15b9f0(0x1e6)]||!!global[_0x15b9f0(0x1a6)][0x0][_0x3da5b3[_0x15b9f0(0x19e)]]:![],_0x9f8e5a={};_0x9f8e5a[_0x15b9f0(0x1e6)]=_0x56403d,await _0x3da5b3[_0x15b9f0(0x1b1)](percyAutoCapture,global[_0x15b9f0(0x1cc)][0x0],_0x3da5b3['Kggcq'],_0x9f8e5a);}}catch(_0x3377bd){}!global[_0x15b9f0(0x206)]&&(await global[_0x15b9f0(0x1cc)][0x0][_0x15b9f0(0x1c8)](_0x15b9f0(0x198)+JSON['stringify'](this['currentTest'][_0x15b9f0(0x1dd)]()['join'](_0x3da5b3[_0x15b9f0(0x1c1)]))+'}}'),global[_0x15b9f0(0x1cc)][0x0][_0x15b9f0(0x1cd)]=!![]);const _0xa49434=_0x3da5b3[_0x15b9f0(0x1bf)](this['currentTest'][_0x15b9f0(0x207)],_0x3da5b3[_0x15b9f0(0x1a5)]);_0xa49434?(global[_0x15b9f0(0x1c4)]=!![],global[_0x15b9f0(0x1a7)][_0x15b9f0(0x1eb)](this[_0x15b9f0(0x1f2)][_0x15b9f0(0x1c7)]['message']),await _0x3da5b3[_0x15b9f0(0x1a4)](_0x5f4168,JSON[_0x15b9f0(0x1bd)](_0x3da5b3['UTYHy'](_0x3da5b3[_0x15b9f0(0x1b8)],this['currentTest'][_0x15b9f0(0x1c7)][_0x15b9f0(0x1f8)])),_0x3da5b3[_0x15b9f0(0x1e0)])):await _0x3da5b3[_0x15b9f0(0x1a4)](_0x5f4168,JSON[_0x15b9f0(0x1bd)](_0x3da5b3['gkiSH']),_0x3da5b3[_0x15b9f0(0x205)]);}catch(_0x4a409a){}try{if(this[_0x15b9f0(0x1f2)][_0x15b9f0(0x1e8)]&&globals['getGlobal'](_0x3da5b3[_0x15b9f0(0x19b)])&&globals[_0x15b9f0(0x1ab)](_0x3da5b3['cydsO'])){logger[_0x15b9f0(0x1f4)](_0x3da5b3[_0x15b9f0(0x1f3)]);const _0x16a7d4={'saveResults':this[_0x15b9f0(0x1f2)]['shouldScanTestForAccessibility'],'testDetails':{'name':this[_0x15b9f0(0x1f2)]['title'],'testRunId':process[_0x15b9f0(0x1b7)][_0x15b9f0(0x1e3)],'filePath':this[_0x15b9f0(0x1f2)][_0x15b9f0(0x1e9)],'scopeList':this['currentTest'][_0x15b9f0(0x1dd)]()},'platform':await _0x3da5b3[_0x15b9f0(0x1a9)](fetchPlatformDetails,global['__drivers'][0x0])};logger[_0x15b9f0(0x1cf)](_0x3da5b3[_0x15b9f0(0x19f)]),logger[_0x15b9f0(0x1cf)](util[_0x15b9f0(0x1ad)](await global[_0x15b9f0(0x1cc)][0x0][_0x15b9f0(0x1b5)](scripts[_0x15b9f0(0x1d7)],{'method':global['browserstackSessionName']}))),await global[_0x15b9f0(0x1cc)][0x0]['executeAsyncScript'](scripts[_0x15b9f0(0x1ed)],_0x16a7d4),logger[_0x15b9f0(0x1f4)](_0x3da5b3[_0x15b9f0(0x1d1)]);}}catch(_0x1127ca){logger[_0x15b9f0(0x196)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x15b9f0(0x1f2)]['titlePath']()+_0x15b9f0(0x1c6),_0x1127ca);}try{try{if(_0x3da5b3[_0x15b9f0(0x1e2)](isTestObservabilitySession)){global[_0x15b9f0(0x1cc)][0x0]&&await _0x3da5b3[_0x15b9f0(0x1ac)](sendPlatformDetails,global[_0x15b9f0(0x1cc)][0x0],this[_0x15b9f0(0x1f2)]?this['currentTest'][_0x15b9f0(0x1a0)]:null);if(_0x3da5b3[_0x15b9f0(0x200)](isBrowserstackInfra)){const _0x5e9836=_0x15b9f0(0x1ea)+Date[_0x15b9f0(0x201)]();await _0x3da5b3[_0x15b9f0(0x1ac)](_0x5f4168,JSON[_0x15b9f0(0x1bd)](_0x5e9836),_0x3da5b3['JHdOh']);}}}catch{}_0x3da5b3['GOzIU'](global[_0x15b9f0(0x1cc)][0x0][_0x15b9f0(0x1e1)],0x0)&&await global[_0x15b9f0(0x1d8)]();}catch(_0xaf5197){}_0x3da5b3[_0x15b9f0(0x200)](_0x18963b);})[_0x3fe3e7(0x203)](()=>_0x1a7bcd());},'afterAll'(_0x4504e3){const _0x14e066=a30_0x1f8019,_0x458828={'dwznC':function(_0x4ac91a){return _0x4ac91a();}},_0x29d484='browserstack internal helper hook';this[_0x14e066(0x1b9)](0xfde8),new Promise(async _0x28f20e=>{const _0x540ca6=_0x14e066;PerformanceTester['stopMonitoring'](),await global[_0x540ca6(0x1d8)](),_0x458828[_0x540ca6(0x1fd)](_0x28f20e);})[_0x14e066(0x203)](()=>_0x4504e3());}};
1
+ const a30_0x5e7d82=a30_0x1d6f;function a30_0x1d6f(_0x54f33e,_0x299ae5){const _0x276624=a30_0x2766();return a30_0x1d6f=function(_0x1d6ffb,_0xf18ae7){_0x1d6ffb=_0x1d6ffb-0x98;let _0x2ef55e=_0x276624[_0x1d6ffb];return _0x2ef55e;},a30_0x1d6f(_0x54f33e,_0x299ae5);}(function(_0x3f0df3,_0x45ea7b){const _0x2c6300=a30_0x1d6f,_0x4ed74e=_0x3f0df3();while(!![]){try{const _0x413cb6=parseInt(_0x2c6300(0xb1))/0x1+parseInt(_0x2c6300(0xa2))/0x2*(-parseInt(_0x2c6300(0xf5))/0x3)+-parseInt(_0x2c6300(0xe7))/0x4*(parseInt(_0x2c6300(0xf3))/0x5)+parseInt(_0x2c6300(0xc1))/0x6*(parseInt(_0x2c6300(0xf4))/0x7)+parseInt(_0x2c6300(0x103))/0x8+-parseInt(_0x2c6300(0xde))/0x9*(-parseInt(_0x2c6300(0xd1))/0xa)+-parseInt(_0x2c6300(0xed))/0xb;if(_0x413cb6===_0x45ea7b)break;else _0x4ed74e['push'](_0x4ed74e['shift']());}catch(_0x504e4e){_0x4ed74e['push'](_0x4ed74e['shift']());}}}(a30_0x2766,0xccf94));function a30_0x2766(){const _0x154d3c=['hvSwV','percyCaptureMode','https:','session_','39240113sfXlUv','../../helpers/globals','JYGBq','accessibilityScanStarted','bDRUk','cGMrX','350440AoQOMc','47068oCbdle','8997GkfjHP','rDTfq','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','file','../../helpers/accessibility-automation/scripts','mochaHooks','gGupq','sPWxl','rCQVW','env','startMonitoring','bstackA11yShouldScan','app','NPZAS','11916808fLxKcX','appium:app','xvGfx','qqVtQ','saveTestResults','vrMSl','__skipSessionName','../../helpers/percy/utils','__sessionFailed','quitCount_','\x20|\x20','../../helpers/accessibility-automation/helper','Xharh','debug','YnKiG','CKlQe','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','err','executeAsyncScript','394HWwUnd','stringify','Jwsmz','protocol','CYZJM','tjlmK','BDSiL','Failed\x20to\x20store\x20session\x20name:\x20','\x20-\x20','./test-observability/mochaUtils','failed','__error_messages__','getCurrentUrl','shift','capabilities','1435891goTcfh','join','now','IHQcF','format','stopMonitoring','Passed','../../helpers/performance-tester','message','isArray','OHyNk','info','aEFNf','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','shouldScanTestForAccessibility','mXsMM','930wTetyj','isAccessibilityPlatform','util','rTSwR','XKney','then','browserstackSessionName','__drivers','state','testcase','setGlobal','passed','error','uYFFF','HVEFB','Bxkle','3510nbsuEb','getGlobal','../../helpers/test-observability/utils','initQuit','WsOki','length','titlePath','tetrL','testAnalyticsId','executeScript','sessionNameSet__','DyGec','BSyap','28206VtgTzF','Yptnd','performScan','ZGqOk','TtOXb','currentTest','http:','nyhth','BS_A11Y_TEST_RUN_ID','4kWqNpw','driverCleanup'];a30_0x2766=function(){return _0x154d3c;};return a30_0x2766();}const util=require(a30_0x5e7d82(0xc3)),{isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a30_0x5e7d82(0x9a)),{percyAutoCapture}=require(a30_0x5e7d82(0x10a)),{sendPlatformDetails}=require(a30_0x5e7d82(0xab)),{isBrowserstackInfra,markSessionStatus}=require('../../helpers/helper'),{isTestObservabilitySession}=require(a30_0x5e7d82(0xd3)),PerformanceTester=require(a30_0x5e7d82(0xb8)),scripts=require(a30_0x5e7d82(0xf9)),globals=require(a30_0x5e7d82(0xee)),logger=require('../../helpers/logger')['winstonLogger'];exports[a30_0x5e7d82(0xfa)]={'beforeAll'(){const _0x5689a9=a30_0x5e7d82,_0x150cd5={'CKlQe':function(_0x244089,_0x5d5fbd,_0x175d77,_0x299231){return _0x244089(_0x5d5fbd,_0x175d77,_0x299231);},'qTaJP':_0x5689a9(0xac),'NOOOG':_0x5689a9(0x99),'HVEFB':function(_0x326514,_0x1cece8,_0x3ad1d2){return _0x326514(_0x1cece8,_0x3ad1d2);},'WFtSe':_0x5689a9(0xcc),'uYFFF':function(_0xc2bab){return _0xc2bab();}};PerformanceTester[_0x5689a9(0xff)]();const _0x2bca42='browserstack internal helper hook';global['__error_messages__']=[],global[_0x5689a9(0x10b)]=![],global['driverCleanup']=async()=>{const _0xbffc7c=_0x5689a9;let _0x23ab12=![];try{await global[_0xbffc7c(0xc8)][0x0][_0xbffc7c(0xec)],_0x23ab12=!![],global['__sessionFailed']?await _0x150cd5[_0xbffc7c(0x9e)](markSessionStatus,global['__drivers'][0x0],_0x150cd5['qTaJP'],global[_0xbffc7c(0xad)][_0xbffc7c(0xb2)](_0x150cd5['NOOOG'])):await _0x150cd5[_0xbffc7c(0xcf)](markSessionStatus,global[_0xbffc7c(0xc8)][0x0],_0x150cd5['WFtSe']);}catch(_0x2a6b54){}global[_0xbffc7c(0xad)]=[],global[_0xbffc7c(0x10b)]=![];if(_0x23ab12)try{try{_0x150cd5[_0xbffc7c(0xce)](isTestObservabilitySession)&&(global['__drivers'][0x0]&&await _0x150cd5[_0xbffc7c(0xcf)](sendPlatformDetails,global[_0xbffc7c(0xc8)][0x0],this[_0xbffc7c(0xe3)]?this[_0xbffc7c(0xe3)]['testAnalyticsId']:null));}catch{}await global[_0xbffc7c(0xc8)][0x0][_0xbffc7c(0xd4)]();}catch(_0x511ce5){}};},'beforeEach'(_0x228e40){const _0x6e7003=a30_0x5e7d82,_0x4746dc={'tjlmK':function(_0x22c960,_0x2b174b){return _0x22c960>_0x2b174b;},'NPZAS':function(_0x337f74,_0x31e771){return _0x337f74>_0x31e771;},'cGMrX':_0x6e7003(0xaa),'uUnFn':function(_0x3c2c8f,_0x2bf2a4,_0x1b16f9){return _0x3c2c8f(_0x2bf2a4,_0x1b16f9);},'rDTfq':_0x6e7003(0x100),'tetrL':function(_0x4d14c0){return _0x4d14c0();},'gGupq':function(_0x62906b,_0x4864c0){return _0x62906b>_0x4864c0;},'Yptnd':_0x6e7003(0xc2),'aEFNf':function(_0x115c59,_0x3401b9){return _0x115c59===_0x3401b9;},'hQtrZ':_0x6e7003(0xe4),'jFaxc':function(_0x128992,_0x3bb479){return _0x128992===_0x3bb479;},'rCQVW':_0x6e7003(0xeb),'WsOki':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','TtOXb':'Automate\x20test\x20case\x20execution\x20has\x20started.'};new Promise(async _0x371e8b=>{const _0x18ba33=_0x6e7003,_0x504f43='browserstack internal helper hook';let _0x6a9317=!![];try{_0x4746dc[_0x18ba33(0xa7)](global['__drivers'][_0x18ba33(0xd6)],0x1)&&(await global[_0x18ba33(0xe8)](),global[_0x18ba33(0xc8)][_0x18ba33(0xaf)]()),_0x4746dc[_0x18ba33(0x102)](global[_0x18ba33(0xc8)][0x0][_0x18ba33(0x98)],0x0)&&(_0x6a9317=![],await global[_0x18ba33(0xe8)]());}catch{}try{Array[_0x18ba33(0xba)](global['__drivers'])&&global[_0x18ba33(0xc8)][0x0]&&(global['__drivers'][0x0][_0x18ba33(0xc7)]=this[_0x18ba33(0xe3)]['titlePath']()['join'](_0x4746dc['cGMrX'])),global[_0x18ba33(0xc7)]=this[_0x18ba33(0xe3)][_0x18ba33(0xd7)]()[_0x18ba33(0xb2)](_0x4746dc[_0x18ba33(0xf2)]);}catch(_0x2e838e){logger['debug'](_0x18ba33(0xa9)+_0x2e838e);}this['currentTest'][_0x18ba33(0xbf)]=_0x4746dc['uUnFn'](shouldScanTestForAccessibility,this[_0x18ba33(0xe3)][_0x18ba33(0xd7)](),!![]),globals[_0x18ba33(0xcb)](_0x4746dc[_0x18ba33(0xf6)],this['currentTest'][_0x18ba33(0xbf)]),this[_0x18ba33(0xe3)][_0x18ba33(0xf0)]=!![];if(_0x4746dc[_0x18ba33(0xd8)](isAccessibilityAutomationSession)&&_0x6a9317&&Array['isArray'](global[_0x18ba33(0xc8)])&&_0x4746dc[_0x18ba33(0xfb)](global[_0x18ba33(0xc8)][_0x18ba33(0xd6)],0x0)&&globals['getGlobal'](_0x4746dc[_0x18ba33(0xdf)]))try{const _0x555c4a=await global[_0x18ba33(0xc8)][0x0]['session_'];if(_0x555c4a){let _0x8ba747=!![];const _0x465ec2=await global['__drivers'][0x0][_0x18ba33(0xae)]();let _0x3049de;try{_0x3049de=new URL(_0x465ec2);}catch(_0x3948c5){_0x8ba747=![];}_0x8ba747=_0x4746dc[_0x18ba33(0xbd)](_0x3049de[_0x18ba33(0xa5)],_0x4746dc['hQtrZ'])||_0x4746dc['jFaxc'](_0x3049de[_0x18ba33(0xa5)],_0x4746dc[_0x18ba33(0xfd)]),_0x8ba747&&(this[_0x18ba33(0xe3)][_0x18ba33(0xbf)]&&logger['info'](_0x4746dc[_0x18ba33(0xd5)])),this['currentTest']['accessibilityScanStarted']=this[_0x18ba33(0xe3)][_0x18ba33(0xbf)],this[_0x18ba33(0xe3)]['shouldScanTestForAccessibility']&&logger[_0x18ba33(0xbc)](_0x4746dc[_0x18ba33(0xe2)]);}}catch(_0x26069e){logger[_0x18ba33(0xcd)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x18ba33(0xb5)](_0x26069e));}_0x4746dc[_0x18ba33(0xd8)](_0x371e8b);})['then'](_0x228e40);},'afterEach'(_0x55944f){const _0x494479=a30_0x5e7d82,_0x11bba9={'jhvDC':function(_0x4eeada,_0x51813d){return _0x4eeada>_0x51813d;},'pdlwe':function(_0xc25e03,_0x40e1e7){return _0xc25e03===_0x40e1e7;},'IHQcF':_0x494479(0xca),'GZDdZ':function(_0x28a744,_0x21825a){return _0x28a744>_0x21825a;},'Bxkle':_0x494479(0x104),'rTSwR':function(_0x4093c0,_0x67f05c,_0x3fb11a,_0x579b1a){return _0x4093c0(_0x67f05c,_0x3fb11a,_0x579b1a);},'nyhth':'\x20-\x20','JYGBq':function(_0x27ba5d,_0x1b4927){return _0x27ba5d!==_0x1b4927;},'CYZJM':_0x494479(0xcc),'XKney':function(_0x4a1760,_0x59f659,_0x379217){return _0x4a1760(_0x59f659,_0x379217);},'Xharh':function(_0x27ca01,_0x19ed43){return _0x27ca01+_0x19ed43;},'DyGec':'Failed:\x20','hvSwV':_0x494479(0xcd),'mXsMM':function(_0x275dd7,_0x49f1ff,_0x5e4bdd){return _0x275dd7(_0x49f1ff,_0x5e4bdd);},'sPWxl':_0x494479(0xb7),'BDSiL':_0x494479(0xbc),'bDRUk':'isAccessibilityPlatform','EIMtG':_0x494479(0x100),'Jwsmz':_0x494479(0x9f),'BSyap':function(_0xaf96ab,_0x4c18d5){return _0xaf96ab(_0x4c18d5);},'ZGqOk':'Performing\x20scan\x20before\x20saving\x20results','YnKiG':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','OHyNk':function(_0x31dd98){return _0x31dd98();},'vrMSl':function(_0x747dce){return _0x747dce();},'xvGfx':function(_0x3ebcdb,_0x43339c,_0x4ede89){return _0x3ebcdb(_0x43339c,_0x4ede89);},'gYyZr':_0x494479(0x9c),'djOuS':function(_0x1f4347,_0x3d115a){return _0x1f4347>_0x3d115a;}},_0x8fa683='browserstack internal helper hook';this['timeout'](0xfde8);const _0x16ee86=async(_0x17fba6,_0x42f601)=>{const _0x5d8b4f=_0x494479;await global[_0x5d8b4f(0xc8)][0x0][_0x5d8b4f(0xda)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x17fba6+',\x22level\x22:\x20\x22'+_0x42f601+'\x22}}');};new Promise(async _0x2023ab=>{const _0x318f10=_0x494479;try{_0x11bba9['jhvDC'](global[_0x318f10(0xc8)][_0x318f10(0xd6)],0x1)&&(await global['driverCleanup'](),global[_0x318f10(0xc8)]['shift'](),global['__error_messages__']=[],global['__sessionFailed']=![]);try{if(global['percy']&&_0x11bba9['pdlwe'](global[_0x318f10(0xea)],_0x11bba9[_0x318f10(0xb4)])&&global[_0x318f10(0xc8)][0x0]){const _0x57c7bc=_0x11bba9['GZDdZ'](global[_0x318f10(0xb0)][_0x318f10(0xd6)],0x0)?!!global['capabilities'][0x0][_0x318f10(0x101)]||!!global[_0x318f10(0xb0)][0x0][_0x11bba9[_0x318f10(0xd0)]]:![],_0x3d6531={};_0x3d6531[_0x318f10(0x101)]=_0x57c7bc,await _0x11bba9[_0x318f10(0xc4)](percyAutoCapture,global[_0x318f10(0xc8)][0x0],_0x11bba9[_0x318f10(0xb4)],_0x3d6531);}}catch(_0x2ea089){}!global[_0x318f10(0x109)]&&(await global['__drivers'][0x0]['executeScript'](_0x318f10(0xf7)+JSON[_0x318f10(0xa3)](this[_0x318f10(0xe3)][_0x318f10(0xd7)]()[_0x318f10(0xb2)](_0x11bba9[_0x318f10(0xe5)]))+'}}'),global[_0x318f10(0xc8)][0x0][_0x318f10(0xdb)]=!![]);const _0x59c7a0=_0x11bba9[_0x318f10(0xef)](this[_0x318f10(0xe3)][_0x318f10(0xc9)],_0x11bba9[_0x318f10(0xa6)]);_0x59c7a0?(global[_0x318f10(0x10b)]=!![],global[_0x318f10(0xad)]['push'](this['currentTest'][_0x318f10(0xa0)][_0x318f10(0xb9)]),await _0x11bba9['XKney'](_0x16ee86,JSON[_0x318f10(0xa3)](_0x11bba9[_0x318f10(0x9b)](_0x11bba9[_0x318f10(0xdc)],this[_0x318f10(0xe3)]['err'][_0x318f10(0xb9)])),_0x11bba9[_0x318f10(0xe9)])):await _0x11bba9[_0x318f10(0xc0)](_0x16ee86,JSON[_0x318f10(0xa3)](_0x11bba9[_0x318f10(0xfc)]),_0x11bba9[_0x318f10(0xa8)]);}catch(_0x27e47c){}try{if(this[_0x318f10(0xe3)]['accessibilityScanStarted']&&globals[_0x318f10(0xd2)](_0x11bba9[_0x318f10(0xf1)])&&globals[_0x318f10(0xd2)](_0x11bba9['EIMtG'])){logger['info'](_0x11bba9[_0x318f10(0xa4)]);const _0x41f696={'saveResults':this[_0x318f10(0xe3)][_0x318f10(0xbf)],'testDetails':{'name':this[_0x318f10(0xe3)]['title'],'testRunId':process[_0x318f10(0xfe)][_0x318f10(0xe6)],'filePath':this[_0x318f10(0xe3)][_0x318f10(0xf8)],'scopeList':this[_0x318f10(0xe3)][_0x318f10(0xd7)]()},'platform':await _0x11bba9[_0x318f10(0xdd)](fetchPlatformDetails,global[_0x318f10(0xc8)][0x0])};logger['debug'](_0x11bba9[_0x318f10(0xe1)]),logger[_0x318f10(0x9c)](util[_0x318f10(0xb5)](await global['__drivers'][0x0][_0x318f10(0xa1)](scripts[_0x318f10(0xe0)],{'method':global['browserstackSessionName']}))),await global[_0x318f10(0xc8)][0x0][_0x318f10(0xa1)](scripts[_0x318f10(0x107)],_0x41f696),logger[_0x318f10(0xbc)](_0x11bba9[_0x318f10(0x9d)]);}}catch(_0x3790ee){logger[_0x318f10(0xcd)](_0x318f10(0xbe)+this[_0x318f10(0xe3)][_0x318f10(0xd7)]()+'.\x20Error\x20:',_0x3790ee);}try{try{if(_0x11bba9[_0x318f10(0xbb)](isTestObservabilitySession)){global[_0x318f10(0xc8)][0x0]&&await _0x11bba9[_0x318f10(0xc5)](sendPlatformDetails,global[_0x318f10(0xc8)][0x0],this[_0x318f10(0xe3)]?this['currentTest'][_0x318f10(0xd9)]:null);if(_0x11bba9[_0x318f10(0x108)](isBrowserstackInfra)){const _0x453eda='ObservabilitySync:'+Date[_0x318f10(0xb3)]();await _0x11bba9[_0x318f10(0x105)](_0x16ee86,JSON[_0x318f10(0xa3)](_0x453eda),_0x11bba9['gYyZr']);}}}catch{}_0x11bba9['djOuS'](global[_0x318f10(0xc8)][0x0][_0x318f10(0x98)],0x0)&&await global['driverCleanup']();}catch(_0x594a98){}_0x11bba9[_0x318f10(0xbb)](_0x2023ab);})['then'](()=>_0x55944f());},'afterAll'(_0x2988ff){const _0x5ab6d4=a30_0x5e7d82,_0x4a2c19={'qqVtQ':function(_0x3305ce){return _0x3305ce();}},_0x3dc37b='browserstack internal helper hook';this['timeout'](0xfde8),new Promise(async _0xed685=>{const _0x3aeaba=a30_0x1d6f;PerformanceTester[_0x3aeaba(0xb6)](),await global['driverCleanup'](),_0x4a2c19[_0x3aeaba(0x106)](_0xed685);})[_0x5ab6d4(0xc6)](()=>_0x2988ff());}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a31_0x5363(){const _0x441475=['nightwatch-browserstack.json','writeFileSync','../../helpers/helper','map','length','join','debug','platform','--env','config','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','liNYj','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','sfgTS','hub.browserstack.com','cwd','test_settings','env','exports','7806786vXJzbC','existsSync','selenium','eqGuf','1660IEYCZn','modifyBrowserStackCaps','ezOJQ','child\x20process\x20exited\x20with\x20code\x20','XfiDm','sTRoS','JCMDJ','findIndex','2004KoBWLQ','../../helpers/BrowserStackSetup','slice','--config','2069127NvUpHV','12715829VMaYpl','child_process','../../helpers/logger','SSlZv','getPlatformName','bBcdK','filter','TywNj','webdriver','Deleting\x20','desiredCapabilities','push','test','LRzID','path','platforms','7320436sCNBAb','ZrHOB','port','8miOFLw','mergeDeep','split','uuwsO','UwqXA','../utils/constants','host','dQmTL','nightwatch.json','info','forEach','nightwatch.cmd','IJzjf','isUndefined','cApFO','splice','winstonLogger','ysTNY','inherit','start_process','stringify','2080805eWciaj','now','kuArs','trim','452392lmsJMN','Getting\x20your\x20nightwatch\x20configs\x20from\x20'];a31_0x5363=function(){return _0x441475;};return a31_0x5363();}const a31_0x5224e8=a31_0x43dc;(function(_0xfa9345,_0x33878d){const _0x5ccdf0=a31_0x43dc,_0xebf629=_0xfa9345();while(!![]){try{const _0x27f36e=-parseInt(_0x5ccdf0(0x9e))/0x1+-parseInt(_0x5ccdf0(0xb7))/0x2*(parseInt(_0x5ccdf0(0x6d))/0x3)+parseInt(_0x5ccdf0(0x82))/0x4+parseInt(_0x5ccdf0(0x9a))/0x5+parseInt(_0x5ccdf0(0xb3))/0x6+-parseInt(_0x5ccdf0(0x72))/0x7+parseInt(_0x5ccdf0(0x85))/0x8*(parseInt(_0x5ccdf0(0x71))/0x9);if(_0x27f36e===_0x33878d)break;else _0xebf629['push'](_0xebf629['shift']());}catch(_0x2f1e0f){_0xebf629['push'](_0xebf629['shift']());}}}(a31_0x5363,0xe8e45));const fs=require('fs'),path=require(a31_0x5224e8(0x80)),{spawn}=require(a31_0x5224e8(0x73)),logger=require(a31_0x5224e8(0x74))[a31_0x5224e8(0x95)],{default:BrowserStackSetup}=require(a31_0x5224e8(0x6e)),helper=require(a31_0x5224e8(0xa2)),constants=require(a31_0x5224e8(0x8a)),getUserNightwatchConfigs=(_0x35154d,_0x503b7b)=>{const _0x1d9363=a31_0x5224e8,_0x5023d={'sTRoS':'nightwatch.conf.js','XfiDm':_0x1d9363(0x8d),'dQmTL':function(_0x42ce79,_0x2044e3){return _0x42ce79(_0x2044e3);},'kuArs':_0x1d9363(0xac)};let _0x48e5a9=null,_0x230111={};const _0x17a964=_0x503b7b[_0x1d9363(0x6c)](_0x3519b8=>_0x3519b8==='--config');if(!helper[_0x1d9363(0x92)](_0x35154d[_0x1d9363(0xa9)])&&fs[_0x1d9363(0xb4)](path[_0x1d9363(0xa5)](process[_0x1d9363(0xaf)](),_0x35154d[_0x1d9363(0xa9)])))_0x48e5a9=path['join'](process[_0x1d9363(0xaf)](),_0x35154d[_0x1d9363(0xa9)]),_0x503b7b['splice'](_0x17a964,0x2);else{if(fs['existsSync'](path[_0x1d9363(0xa5)](process['cwd'](),_0x5023d['sTRoS'])))_0x48e5a9=path[_0x1d9363(0xa5)](process[_0x1d9363(0xaf)](),_0x5023d[_0x1d9363(0x6a)]);else fs[_0x1d9363(0xb4)](path[_0x1d9363(0xa5)](process['cwd'](),_0x5023d[_0x1d9363(0xbb)]))&&(_0x48e5a9=path['join'](process[_0x1d9363(0xaf)](),_0x5023d[_0x1d9363(0xbb)]));}return _0x48e5a9?(logger[_0x1d9363(0x8e)](_0x1d9363(0x9f)+_0x48e5a9),_0x230111=_0x5023d[_0x1d9363(0x8c)](require,_0x48e5a9)):logger[_0x1d9363(0x8e)](_0x5023d[_0x1d9363(0x9c)]),_0x230111;},removeExistingEnvs=_0x45c0ea=>{const _0x4db6ec=a31_0x5224e8,_0x3ba992={};_0x3ba992['IJzjf']=function(_0x136b3c,_0x17e19c){return _0x136b3c>_0x17e19c;},_0x3ba992[_0x4db6ec(0x79)]=function(_0x111fa9,_0x4ba656){return _0x111fa9>_0x4ba656;};const _0x32ba91=_0x3ba992;let _0x3d2714=_0x45c0ea[_0x4db6ec(0x6c)](_0x1432b9=>_0x1432b9===_0x4db6ec(0xa8));_0x32ba91[_0x4db6ec(0x91)](_0x3d2714,-0x1)&&_0x45c0ea[_0x4db6ec(0x94)](_0x3d2714,0x2),_0x3d2714=_0x45c0ea[_0x4db6ec(0x6c)](_0x3068fc=>_0x3068fc==='-e'),_0x32ba91[_0x4db6ec(0x79)](_0x3d2714,-0x1)&&_0x45c0ea[_0x4db6ec(0x94)](_0x3d2714,0x2);};function run(_0x1ce54e,_0x100196){const _0x3be248=a31_0x5224e8,_0x16a630={'sfgTS':'nightwatch','bBcdK':function(_0x310797,_0x19c3d6){return _0x310797+_0x19c3d6;},'SSlZv':_0x3be248(0xb0),'HbtJD':function(_0x3c3cb6,_0x4b5d60,_0x500300){return _0x3c3cb6(_0x4b5d60,_0x500300);},'JCMDJ':_0x3be248(0xae),'IlEgZ':_0x3be248(0xaa),'uuwsO':function(_0x5b94cb,_0x575a66){return _0x5b94cb===_0x575a66;},'UwqXA':_0x3be248(0xa0),'liNYj':function(_0x7ee79,_0x315510){return _0x7ee79(_0x315510);},'cApFO':function(_0x3615c7,_0x9a87a3,_0x1bf5b0,_0x50b1d7){return _0x3615c7(_0x9a87a3,_0x1bf5b0,_0x50b1d7);},'ZrHOB':_0x3be248(0x90),'LRzID':_0x3be248(0x70),'ezOJQ':_0x3be248(0xa8),'eqGuf':_0x3be248(0x97),'ysTNY':'close'},_0x24ae6b=new BrowserStackSetup(_0x1ce54e);if(!_0x24ae6b[_0x3be248(0xa9)])return;const _0x3d7485=_0x16a630['HbtJD'](getUserNightwatchConfigs,_0x1ce54e,_0x100196),_0x31f022={};_0x31f022[_0x3be248(0x98)]=![];const _0x3f5e2d={};_0x3f5e2d[_0x3be248(0x8b)]=_0x16a630[_0x3be248(0x6b)],_0x3f5e2d[_0x3be248(0x84)]=0x1bb;const _0x4fe05b={};_0x4fe05b[_0x3be248(0x7a)]=_0x31f022,_0x4fe05b[_0x3be248(0xb5)]=_0x3f5e2d;const _0x4229a9=_0x4fe05b;logger[_0x3be248(0x8e)](_0x16a630['IlEgZ']);const _0x3dec4b={..._0x3d7485},_0x4f40ed=_0x3dec4b,_0x59a88e=helper['useW3C'](_0x24ae6b[_0x3be248(0xa9)]),_0x236422=[];_0x24ae6b[_0x3be248(0xa9)][_0x3be248(0x81)][_0x3be248(0x8f)]((_0x4df9a5,_0x5f49dc)=>{const _0x476e40=_0x3be248;_0x59a88e?_0x236422[_0x476e40(0x7d)](helper['modifyBrowserStackW3CCaps'](_0x24ae6b['config'],_0x16a630[_0x476e40(0xad)],_0x5f49dc)):_0x236422['push'](helper[_0x476e40(0xb8)](_0x24ae6b['config'],_0x16a630[_0x476e40(0xad)],_0x5f49dc));});const _0x479583={},_0x29b607=[];_0x1ce54e[_0x3be248(0xb1)]=_0x1ce54e['env']||_0x1ce54e['e'];const _0x18aec4=_0x1ce54e[_0x3be248(0xb1)]?_0x1ce54e[_0x3be248(0xb1)][_0x3be248(0x9d)]()[_0x3be248(0x87)](',')[_0x3be248(0xa3)](_0x332739=>_0x332739[_0x3be248(0x9d)]())[_0x3be248(0x78)](_0x4f9718=>_0x4f9718!==''):[''];_0x16a630[_0x3be248(0x88)](_0x18aec4[_0x3be248(0xa4)],0x0)&&_0x18aec4[_0x3be248(0x7d)]('');_0x18aec4[_0x3be248(0x8f)](_0x55cc17=>{const _0x32b200=_0x3be248;_0x236422[_0x32b200(0x8f)](_0x5a1373=>{const _0xe0e8d=_0x32b200;let _0x52ec7e=_0x16a630[_0xe0e8d(0x77)](helper[_0xe0e8d(0x76)](_0x5a1373,'_'),'_'+Date[_0xe0e8d(0x9b)]());_0x55cc17&&(_0x52ec7e+='_'+_0x55cc17);if(_0x55cc17&&(!_0x3d7485[_0x16a630[_0xe0e8d(0x75)]]||!_0x3d7485[_0x16a630[_0xe0e8d(0x75)]][_0x55cc17]))return;const _0x10b3b7={..._0x4229a9};_0x10b3b7[_0xe0e8d(0x7c)]=_0x5a1373;const _0x630222=_0x10b3b7;_0x479583[_0x52ec7e]=_0x55cc17?helper[_0xe0e8d(0x86)](_0x3d7485[_0x16a630[_0xe0e8d(0x75)]][_0x55cc17],_0x630222):_0x630222,_0x29b607[_0xe0e8d(0x7d)](_0x52ec7e);});});!_0x4f40ed[_0x3be248(0xb0)]&&(_0x4f40ed[_0x3be248(0xb0)]={});_0x4f40ed['test_settings']={..._0x4f40ed['test_settings'],..._0x479583};const _0xeadd52=path[_0x3be248(0xa5)](__dirname,_0x16a630[_0x3be248(0x89)]);fs[_0x3be248(0xa1)](_0xeadd52,JSON[_0x3be248(0x99)](_0x4f40ed)),_0x16a630[_0x3be248(0xab)](removeExistingEnvs,_0x100196);const _0x513720=_0x16a630[_0x3be248(0x93)](spawn,/^win/[_0x3be248(0x7e)](process[_0x3be248(0xa7)])?_0x16a630[_0x3be248(0x83)]:_0x16a630['sfgTS'],[_0x16a630[_0x3be248(0x7f)],_0xeadd52,..._0x100196[_0x3be248(0x6f)](0x1),_0x16a630[_0x3be248(0xb9)],_0x29b607[_0x3be248(0xa5)](',')],{'stdio':_0x16a630[_0x3be248(0xb6)]});_0x513720['on'](_0x16a630[_0x3be248(0x96)],async _0x5086c9=>{const _0x28d957=_0x3be248;logger[_0x28d957(0xa6)](_0x28d957(0xba)+_0x5086c9),logger[_0x28d957(0x8e)](_0x28d957(0x7b)+_0xeadd52),fs['unlinkSync'](_0xeadd52);});}function a31_0x43dc(_0x410b3e,_0x432222){const _0x5363ef=a31_0x5363();return a31_0x43dc=function(_0x43dced,_0x5e0e43){_0x43dced=_0x43dced-0x6a;let _0x28a45b=_0x5363ef[_0x43dced];return _0x28a45b;},a31_0x43dc(_0x410b3e,_0x432222);}module[a31_0x5224e8(0xb2)]=run;
2
+ 'use strict';const a31_0x3fdf62=a31_0x28fc;function a31_0x28fc(_0x1ac003,_0x21390d){const _0x3f0b8b=a31_0x3f0b();return a31_0x28fc=function(_0x28fcba,_0x5c4ef4){_0x28fcba=_0x28fcba-0x108;let _0x226209=_0x3f0b8b[_0x28fcba];return _0x226209;},a31_0x28fc(_0x1ac003,_0x21390d);}(function(_0xc73afb,_0x182f1d){const _0x350d01=a31_0x28fc,_0x5e16ce=_0xc73afb();while(!![]){try{const _0x24b8a6=parseInt(_0x350d01(0x11e))/0x1*(-parseInt(_0x350d01(0x126))/0x2)+-parseInt(_0x350d01(0x110))/0x3*(parseInt(_0x350d01(0x143))/0x4)+-parseInt(_0x350d01(0x150))/0x5+-parseInt(_0x350d01(0x113))/0x6*(-parseInt(_0x350d01(0x11c))/0x7)+parseInt(_0x350d01(0x148))/0x8*(-parseInt(_0x350d01(0x142))/0x9)+parseInt(_0x350d01(0x14d))/0xa*(parseInt(_0x350d01(0x11d))/0xb)+-parseInt(_0x350d01(0x109))/0xc*(-parseInt(_0x350d01(0x123))/0xd);if(_0x24b8a6===_0x182f1d)break;else _0x5e16ce['push'](_0x5e16ce['shift']());}catch(_0x4481a8){_0x5e16ce['push'](_0x5e16ce['shift']());}}}(a31_0x3f0b,0xe6959));const fs=require('fs'),path=require('path'),{spawn}=require('child_process'),logger=require(a31_0x3fdf62(0x13f))['winstonLogger'],{default:BrowserStackSetup}=require(a31_0x3fdf62(0x12e)),helper=require(a31_0x3fdf62(0x10d)),constants=require(a31_0x3fdf62(0x122)),getUserNightwatchConfigs=(_0x22defc,_0x46ee84)=>{const _0x2a63dd=a31_0x3fdf62,_0xb4c01a={'KhYSj':_0x2a63dd(0x111),'CzHQU':_0x2a63dd(0x11f),'BhdtP':function(_0x54e5b,_0x1ecdd3){return _0x54e5b(_0x1ecdd3);},'qDMvz':_0x2a63dd(0x13c)};let _0xbbaa27=null,_0x552fab={};const _0x3f4f03=_0x46ee84[_0x2a63dd(0x151)](_0x323498=>_0x323498===_0x2a63dd(0x14b));if(!helper['isUndefined'](_0x22defc[_0x2a63dd(0x133)])&&fs['existsSync'](path[_0x2a63dd(0x13b)](process[_0x2a63dd(0x14f)](),_0x22defc['config'])))_0xbbaa27=path[_0x2a63dd(0x13b)](process[_0x2a63dd(0x14f)](),_0x22defc[_0x2a63dd(0x133)]),_0x46ee84[_0x2a63dd(0x145)](_0x3f4f03,0x2);else{if(fs[_0x2a63dd(0x153)](path['join'](process[_0x2a63dd(0x14f)](),_0xb4c01a['KhYSj'])))_0xbbaa27=path[_0x2a63dd(0x13b)](process[_0x2a63dd(0x14f)](),_0xb4c01a[_0x2a63dd(0x12d)]);else fs[_0x2a63dd(0x153)](path['join'](process[_0x2a63dd(0x14f)](),_0xb4c01a[_0x2a63dd(0x140)]))&&(_0xbbaa27=path[_0x2a63dd(0x13b)](process['cwd'](),_0xb4c01a[_0x2a63dd(0x140)]));}return _0xbbaa27?(logger['info'](_0x2a63dd(0x118)+_0xbbaa27),_0x552fab=_0xb4c01a['BhdtP'](require,_0xbbaa27)):logger[_0x2a63dd(0x130)](_0xb4c01a[_0x2a63dd(0x125)]),_0x552fab;},removeExistingEnvs=_0x44ce97=>{const _0x32339f=a31_0x3fdf62,_0xd32841={};_0xd32841[_0x32339f(0x11a)]=function(_0x5941bf,_0x671da7){return _0x5941bf>_0x671da7;};const _0x5bc094=_0xd32841;let _0x5d2452=_0x44ce97[_0x32339f(0x151)](_0x57eaa7=>_0x57eaa7==='--env');_0x5bc094[_0x32339f(0x11a)](_0x5d2452,-0x1)&&_0x44ce97[_0x32339f(0x145)](_0x5d2452,0x2),_0x5d2452=_0x44ce97[_0x32339f(0x151)](_0x4565f9=>_0x4565f9==='-e'),_0x5bc094[_0x32339f(0x11a)](_0x5d2452,-0x1)&&_0x44ce97['splice'](_0x5d2452,0x2);};function run(_0x5b902f,_0x148965){const _0x1a1f58=a31_0x3fdf62,_0x52b7ba={'utimh':_0x1a1f58(0x12a),'CAMQn':function(_0x5a6c99,_0x4318be){return _0x5a6c99+_0x4318be;},'fveyf':'test_settings','TMHSp':function(_0xfc7456,_0xa7499b,_0x11a9ea){return _0xfc7456(_0xa7499b,_0x11a9ea);},'mpvti':_0x1a1f58(0x132),'UKDld':_0x1a1f58(0x129),'UVCxJ':function(_0x42c44c,_0x132ef2){return _0x42c44c===_0x132ef2;},'Brztw':'nightwatch-browserstack.json','Szywo':function(_0xb0f3cc,_0x26e6c7){return _0xb0f3cc(_0x26e6c7);},'Bvelb':function(_0x3d86d2,_0x189233,_0x52623d,_0x4c432d){return _0x3d86d2(_0x189233,_0x52623d,_0x4c432d);},'KpFtc':_0x1a1f58(0x134),'oTajW':_0x1a1f58(0x14b),'ctpLr':'--env','ggYfe':'inherit','QXOyX':_0x1a1f58(0x10b)},_0x26b178=new BrowserStackSetup(_0x5b902f);if(!_0x26b178[_0x1a1f58(0x133)])return;const _0x555f4b=_0x52b7ba[_0x1a1f58(0x117)](getUserNightwatchConfigs,_0x5b902f,_0x148965),_0x217029={};_0x217029[_0x1a1f58(0x121)]=![];const _0x480c71={};_0x480c71[_0x1a1f58(0x13e)]=_0x52b7ba[_0x1a1f58(0x136)],_0x480c71[_0x1a1f58(0x144)]=0x1bb;const _0x21dafd={};_0x21dafd[_0x1a1f58(0x135)]=_0x217029,_0x21dafd[_0x1a1f58(0x124)]=_0x480c71;const _0x1d6abf=_0x21dafd;logger['info'](_0x52b7ba[_0x1a1f58(0x10f)]);const _0x4c8f72={..._0x555f4b},_0x81e6d3=_0x4c8f72,_0x3b10e7=helper[_0x1a1f58(0x11b)](_0x26b178[_0x1a1f58(0x133)]),_0x3b8abe=[];_0x26b178[_0x1a1f58(0x133)][_0x1a1f58(0x131)]['forEach']((_0x1c7c74,_0x12d4e3)=>{const _0x4c4210=_0x1a1f58;_0x3b10e7?_0x3b8abe[_0x4c4210(0x14e)](helper['modifyBrowserStackW3CCaps'](_0x26b178[_0x4c4210(0x133)],_0x52b7ba['utimh'],_0x12d4e3)):_0x3b8abe['push'](helper[_0x4c4210(0x149)](_0x26b178['config'],_0x52b7ba[_0x4c4210(0x128)],_0x12d4e3));});const _0x9a1522={},_0x1abc31=[];_0x5b902f['env']=_0x5b902f[_0x1a1f58(0x147)]||_0x5b902f['e'];const _0x12b57f=_0x5b902f[_0x1a1f58(0x147)]?_0x5b902f[_0x1a1f58(0x147)][_0x1a1f58(0x137)]()['split'](',')['map'](_0x222649=>_0x222649[_0x1a1f58(0x137)]())[_0x1a1f58(0x13a)](_0x3a574a=>_0x3a574a!==''):[''];_0x52b7ba[_0x1a1f58(0x114)](_0x12b57f[_0x1a1f58(0x146)],0x0)&&_0x12b57f[_0x1a1f58(0x14e)]('');_0x12b57f[_0x1a1f58(0x10a)](_0x13ffbe=>{const _0x239ee6=_0x1a1f58;_0x3b8abe[_0x239ee6(0x10a)](_0x45755e=>{const _0x24db10=_0x239ee6;let _0x259a1c=_0x52b7ba[_0x24db10(0x116)](helper['getPlatformName'](_0x45755e,'_'),'_'+Date[_0x24db10(0x14c)]());_0x13ffbe&&(_0x259a1c+='_'+_0x13ffbe);if(_0x13ffbe&&(!_0x555f4b[_0x52b7ba[_0x24db10(0x13d)]]||!_0x555f4b[_0x52b7ba[_0x24db10(0x13d)]][_0x13ffbe]))return;const _0x1c8938={..._0x1d6abf};_0x1c8938[_0x24db10(0x12f)]=_0x45755e;const _0x23af0b=_0x1c8938;_0x9a1522[_0x259a1c]=_0x13ffbe?helper[_0x24db10(0x120)](_0x555f4b[_0x52b7ba[_0x24db10(0x13d)]][_0x13ffbe],_0x23af0b):_0x23af0b,_0x1abc31['push'](_0x259a1c);});});!_0x81e6d3['test_settings']&&(_0x81e6d3[_0x1a1f58(0x154)]={});_0x81e6d3[_0x1a1f58(0x154)]={..._0x81e6d3[_0x1a1f58(0x154)],..._0x9a1522};const _0x5961fd=path['join'](__dirname,_0x52b7ba[_0x1a1f58(0x12b)]);fs[_0x1a1f58(0x141)](_0x5961fd,JSON[_0x1a1f58(0x10c)](_0x81e6d3)),_0x52b7ba[_0x1a1f58(0x139)](removeExistingEnvs,_0x148965);const _0xfc8657=_0x52b7ba[_0x1a1f58(0x14a)](spawn,/^win/[_0x1a1f58(0x108)](process['platform'])?_0x52b7ba[_0x1a1f58(0x152)]:_0x52b7ba[_0x1a1f58(0x128)],[_0x52b7ba[_0x1a1f58(0x10e)],_0x5961fd,..._0x148965[_0x1a1f58(0x112)](0x1),_0x52b7ba['ctpLr'],_0x1abc31[_0x1a1f58(0x13b)](',')],{'stdio':_0x52b7ba['ggYfe']});_0xfc8657['on'](_0x52b7ba[_0x1a1f58(0x12c)],async _0x229d1b=>{const _0x273b8f=_0x1a1f58;logger['debug'](_0x273b8f(0x127)+_0x229d1b),logger[_0x273b8f(0x130)](_0x273b8f(0x138)+_0x5961fd),fs[_0x273b8f(0x119)](_0x5961fd);});}function a31_0x3f0b(){const _0x144999=['Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','nightwatch','Brztw','QXOyX','KhYSj','../../helpers/BrowserStackSetup','desiredCapabilities','info','platforms','hub.browserstack.com','config','nightwatch.cmd','webdriver','mpvti','trim','Deleting\x20','Szywo','filter','join','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','fveyf','host','../../helpers/logger','CzHQU','writeFileSync','45mNGNOP','591044vLNhSy','port','splice','length','env','2743024rkBICF','modifyBrowserStackCaps','Bvelb','--config','now','50iZXrAh','push','cwd','8497640UjzJYv','findIndex','KpFtc','existsSync','test_settings','test','1946772dYPqbm','forEach','close','stringify','../../helpers/helper','oTajW','UKDld','3TXAQBE','nightwatch.conf.js','slice','147162EvuLlg','UVCxJ','exports','CAMQn','TMHSp','Getting\x20your\x20nightwatch\x20configs\x20from\x20','unlinkSync','ifpIm','useW3C','217DTwVfU','2283611eIEfbj','1fIEqHU','nightwatch.json','mergeDeep','start_process','../utils/constants','221gxZdlB','selenium','qDMvz','100234RkMcpu','child\x20process\x20exited\x20with\x20code\x20','utimh'];a31_0x3f0b=function(){return _0x144999;};return a31_0x3f0b();}module[a31_0x3fdf62(0x115)]=run;
@@ -1 +1 @@
1
- const a32_0x45786d=a32_0x16c3;function a32_0x16c3(_0x4cbbaa,_0x2f660d){const _0x4f38ee=a32_0x4f38();return a32_0x16c3=function(_0x16c30d,_0x5d76dc){_0x16c30d=_0x16c30d-0x7e;let _0x5e3156=_0x4f38ee[_0x16c30d];return _0x5e3156;},a32_0x16c3(_0x4cbbaa,_0x2f660d);}(function(_0x1bc5a4,_0x372d6a){const _0x1b642f=a32_0x16c3,_0xb7747a=_0x1bc5a4();while(!![]){try{const _0x16c69c=-parseInt(_0x1b642f(0xa5))/0x1+-parseInt(_0x1b642f(0x80))/0x2+parseInt(_0x1b642f(0xb0))/0x3+-parseInt(_0x1b642f(0xd5))/0x4*(parseInt(_0x1b642f(0xd0))/0x5)+parseInt(_0x1b642f(0x8f))/0x6*(-parseInt(_0x1b642f(0xa6))/0x7)+parseInt(_0x1b642f(0xac))/0x8*(parseInt(_0x1b642f(0xcc))/0x9)+parseInt(_0x1b642f(0x92))/0xa*(parseInt(_0x1b642f(0x9f))/0xb);if(_0x16c69c===_0x372d6a)break;else _0xb7747a['push'](_0xb7747a['shift']());}catch(_0x609c09){_0xb7747a['push'](_0xb7747a['shift']());}}}(a32_0x4f38,0x92e2f));const util=require(a32_0x45786d(0x96)),logger=require('../../helpers/logger')[a32_0x45786d(0xd8)],{isAccessibilityAutomationSession}=require(a32_0x45786d(0x8b)),{isUndefined}=require('../../helpers/helper'),scripts=require('../../helpers/accessibility-automation/scripts');exports[a32_0x45786d(0xde)]=async(_0x48f39d,_0x4728a3,_0x474ad2={})=>{const _0x843c43=a32_0x45786d,_0x48cce4={};_0x48cce4['oqdXT']=_0x843c43(0xc7);const _0x57b040=_0x48cce4;return await _0x48f39d[_0x843c43(0xa9)](_0x843c43(0xcb)+_0x4728a3['replace'](/arguments/g,_0x57b040['oqdXT'])+_0x843c43(0xa7)+JSON['stringify'](_0x474ad2)+')');},exports[a32_0x45786d(0xe0)]=async(_0x32e6fa,_0x5e615e,_0x538dfa={})=>{const _0x3020ea=a32_0x45786d,_0x295189={};_0x295189[_0x3020ea(0xaf)]=function(_0x56d118,_0x1ce827){return _0x56d118===_0x1ce827;},_0x295189['sWJVe']=_0x3020ea(0xc1),_0x295189[_0x3020ea(0x90)]=function(_0x1b8a30,_0x5d2c26){return _0x1b8a30===_0x5d2c26;},_0x295189['tffKe']=_0x3020ea(0xe4),_0x295189[_0x3020ea(0x83)]=_0x3020ea(0xc7);const _0x27464e=_0x295189;if(_0x27464e['YtLuX'](_0x32e6fa['constructor']['name'],_0x27464e[_0x3020ea(0xc4)]))return await _0x32e6fa[_0x3020ea(0xb9)](_0x5e615e,_0x538dfa);else{if(_0x27464e[_0x3020ea(0x90)](_0x32e6fa[_0x3020ea(0xaa)]['name'],_0x27464e[_0x3020ea(0x93)]))return await _0x32e6fa[_0x3020ea(0x99)](_0x3020ea(0x8a)+_0x5e615e[_0x3020ea(0xdc)](/arguments/g,_0x27464e[_0x3020ea(0x83)])+_0x3020ea(0xc5)+JSON[_0x3020ea(0x9e)](_0x538dfa)+')');}},exports[a32_0x45786d(0xb6)]=async _0xf9dea7=>{const _0x69207d=a32_0x45786d,_0x997b81={};_0x997b81[_0x69207d(0xa2)]=_0x69207d(0xb4),_0x997b81[_0x69207d(0xa8)]='accessibilityOptions.scannerProcessingTimeout',_0x997b81[_0x69207d(0xe5)]=_0x69207d(0x85),_0x997b81[_0x69207d(0xa3)]=_0x69207d(0x7e),_0x997b81['quzYO']=_0x69207d(0xd4),_0x997b81[_0x69207d(0xd9)]=_0x69207d(0xa4);const _0x16e31d=_0x997b81;_0xf9dea7[_0x69207d(0x97)]&&(_0xf9dea7['accessibilityOptions'][_0x69207d(0xc3)]&&(_0xf9dea7[_0x16e31d['reClP']]=_0xf9dea7[_0x69207d(0x97)][_0x69207d(0xc3)]),_0xf9dea7[_0x69207d(0x97)][_0x69207d(0x95)]&&(_0xf9dea7[_0x16e31d[_0x69207d(0xa8)]]=_0xf9dea7['accessibilityOptions']['scannerProcessingTimeout']),_0xf9dea7['accessibilityOptions'][_0x69207d(0x88)]&&(_0xf9dea7[_0x16e31d['pJHGG']]=_0xf9dea7[_0x69207d(0x97)][_0x69207d(0x88)][_0x69207d(0xdb)],_0xf9dea7[_0x16e31d[_0x69207d(0xa3)]]=_0xf9dea7[_0x69207d(0x97)][_0x69207d(0x88)][_0x69207d(0xd2)]));const _0x1c3767=JSON['parse'](process[_0x69207d(0xa1)][_0x69207d(0xb7)])[_0x69207d(0xb1)];_0xf9dea7[_0x16e31d[_0x69207d(0xca)]]=process['env']['BS_A11Y_JWT'],_0xf9dea7[_0x16e31d[_0x69207d(0xd9)]]=_0x1c3767,delete _0xf9dea7[_0x69207d(0x97)];},exports[a32_0x45786d(0x9c)]=async _0x30750c=>{const _0x3296b3=a32_0x45786d,_0x5e813b={};_0x5e813b['oCFzB']=_0x3296b3(0x9d),_0x5e813b['ApJNj']=_0x3296b3(0x8e);const _0x162683=_0x5e813b;if(global[_0x3296b3(0xe3)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x30750c,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x30750c,scripts.getResults);return res;}catch{return logger[_0x3296b3(0x91)](_0x162683['oCFzB']),[];}else return logger[_0x3296b3(0x87)](_0x162683['ApJNj']),[];},exports[a32_0x45786d(0xa0)]=async(_0x58e58c,_0x1e7a0f='')=>{const _0x3e9c96=a32_0x45786d;if(global['accessibilityPlatform']){const _0x14ef78={};return _0x14ef78[_0x3e9c96(0xbc)]=_0x1e7a0f,await exports[_0x3e9c96(0xde)](_0x58e58c,scripts[_0x3e9c96(0xa0)],_0x14ef78);}},exports[a32_0x45786d(0xc9)]=async _0x2cb80d=>{const _0x46dbae=a32_0x45786d,_0x373085={};_0x373085[_0x46dbae(0x82)]=_0x46dbae(0xe1),_0x373085['GqBLR']=_0x46dbae(0xc2);const _0x1a0e20=_0x373085;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x2cb80d,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x2cb80d,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x46dbae(0x86)](_0x1a0e20[_0x46dbae(0x82)]),{};}else return logger[_0x46dbae(0x87)](_0x1a0e20[_0x46dbae(0xda)]),{};},exports[a32_0x45786d(0xdd)]=async _0x25374c=>{const _0x5f096a=a32_0x45786d,_0x4ecc5b={'iBJKo':function(_0x7de42,_0xf7c4d2){return _0x7de42!==_0xf7c4d2;},'nFHPw':_0x5f096a(0x81),'lAAuG':function(_0x4029d1,_0x2f7e69){return _0x4029d1===_0x2f7e69;},'BjyDA':_0x5f096a(0xab),'iBvGo':function(_0x683331,_0x5783ac){return _0x683331===_0x5783ac;},'lCxeC':_0x5f096a(0xd3),'LXszY':_0x5f096a(0xcf),'XGqUj':function(_0x5029a3,_0x63c41a){return _0x5029a3(_0x63c41a);},'yNgeC':_0x5f096a(0xba),'zOUxa':function(_0x1c21eb,_0x122f93){return _0x1c21eb>_0x122f93;},'pJKSQ':_0x5f096a(0x94)};try{if(!_0x4ecc5b[_0x5f096a(0x89)](_0x25374c[_0x5f096a(0xcd)],''))return logger[_0x5f096a(0x87)](_0x4ecc5b[_0x5f096a(0xae)]),![];const _0x5ada35=_0x25374c[_0x5f096a(0xb2)];if(!(_0x4ecc5b['lAAuG'](_0x5ada35,_0x4ecc5b[_0x5f096a(0xbf)])||_0x4ecc5b[_0x5f096a(0x8c)](_0x5ada35,_0x4ecc5b[_0x5f096a(0x9a)])))return logger['warn'](_0x4ecc5b[_0x5f096a(0x7f)]),![];const _0x15d89d=_0x4ecc5b[_0x5f096a(0xc0)](parseInt,_0x25374c[_0x5f096a(0x8d)]);if(!(_0x4ecc5b[_0x5f096a(0xc8)](_0x15d89d,_0x4ecc5b[_0x5f096a(0xb5)])||_0x4ecc5b[_0x5f096a(0x98)](_0x15d89d,0x5e)))return logger[_0x5f096a(0x87)](_0x4ecc5b[_0x5f096a(0x84)]),![];}catch(_0x112b20){logger['debug'](_0x5f096a(0xd6)+util['format'](_0x112b20));}return!![];},exports['processAccessibilityCaps']=(_0x25ae26,_0x2acea4,_0x5868d4)=>{const _0x3d2b7f=a32_0x45786d,_0x194b84={'EvABe':function(_0x2284d2){return _0x2284d2();},'cQDwq':'browserstack.accessibility','AIpvA':function(_0x19f5a5,_0x32fa01){return _0x19f5a5===_0x32fa01;},'pBCCQ':_0x3d2b7f(0xab),'NhWSR':'playwright-chromium','gFRej':_0x3d2b7f(0xcf),'yNSge':_0x3d2b7f(0xba),'DhbQe':function(_0x2707a0,_0x343a56){return _0x2707a0>_0x343a56;},'NQBiR':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','FuYab':function(_0x284edd,_0xd810dc){return _0x284edd(_0xd810dc);},'BzFQz':_0x3d2b7f(0x81),'cdTsV':function(_0x4833e2,_0x118be7){return _0x4833e2+_0x118be7;},'TVAlT':function(_0x38ec18,_0x12b222){return _0x38ec18(_0x12b222);}};try{if(_0x194b84[_0x3d2b7f(0xbb)](isAccessibilityAutomationSession)){global[_0x3d2b7f(0xe3)]=!![];!_0x25ae26[_0x194b84['cQDwq']]&&(global['accessibilityPlatform']=![]);!(_0x194b84[_0x3d2b7f(0x9b)](_0x25ae26[_0x3d2b7f(0xd7)],_0x194b84['pBCCQ'])||_0x194b84[_0x3d2b7f(0x9b)](_0x25ae26[_0x3d2b7f(0xd7)],_0x194b84['NhWSR']))&&(logger[_0x3d2b7f(0x87)](_0x194b84[_0x3d2b7f(0xe2)]),global[_0x3d2b7f(0xe3)]=![]);!(_0x194b84[_0x3d2b7f(0x9b)](_0x25ae26[_0x3d2b7f(0x8d)],_0x194b84[_0x3d2b7f(0xdf)])||_0x194b84['DhbQe'](_0x25ae26[_0x3d2b7f(0x8d)],0x5e))&&(logger[_0x3d2b7f(0x87)](_0x194b84['NQBiR']),global[_0x3d2b7f(0xe3)]=![]);!_0x194b84[_0x3d2b7f(0xad)](isUndefined,_0x25ae26[_0x3d2b7f(0xcd)])&&(logger['warn'](_0x194b84['BzFQz']),global[_0x3d2b7f(0xe3)]=![]);if(!global[_0x3d2b7f(0xe3)]){_0x25ae26[_0x194b84[_0x3d2b7f(0xb3)]]=![];const _0x1f7743=_0x194b84[_0x3d2b7f(0xbe)](_0x2acea4,_0x194b84['TVAlT'](encodeURIComponent,JSON[_0x3d2b7f(0x9e)](_0x25ae26)));_0x5868d4&&(_0x5868d4['currentTest'][_0x3d2b7f(0xb8)]['project'][_0x3d2b7f(0xbd)][_0x3d2b7f(0xd1)][_0x3d2b7f(0xc6)]=_0x1f7743);}}}catch(_0x2009bd){logger[_0x3d2b7f(0x86)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0x3d2b7f(0xce)](_0x2009bd));}};function a32_0x4f38(){const _0xdc9a=['accessibilityOptions.includeIssueType.needsReview','LXszY','870422vJCrYs','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','vsFkS','RZPPp','pJKSQ','accessibilityOptions.includeIssueType.bestPractice','debug','warn','includeIssueType','iBJKo','(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','../../helpers/accessibility-automation/helper','iBvGo','browser_version','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','21954hhksPj','nfQHu','error','7176880huJwWQ','tffKe','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','scannerProcessingTimeout','util','accessibilityOptions','zOUxa','executeScript','lCxeC','AIpvA','getAccessibilityResults','No\x20accessibility\x20results\x20were\x20found.','stringify','22ewobGS','performScan','env','reClP','TjuPI','accessibilityOptions.scannerVersion','604096xBwHAt','2198oIKCUS','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','uEDEu','evaluate','constructor','chrome','238176zMwZgs','FuYab','nFHPw','YtLuX','1935675PUhfNq','scannerVersion','browser','cQDwq','accessibilityOptions.wcagVersion','yNgeC','setAccessibilityCapabilities','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','testInfo','executeAsyncScript','latest','EvABe','method','use','cdTsV','BjyDA','XGqUj','WebDriver','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','wcagVersion','sWJVe','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','wsEndpoint','bstackSdkArgs','lAAuG','getAccessibilityResultsSummary','quzYO','(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','306CHuXhf','deviceName','format','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','1514845dvmIhR','connectOptions','needsReview','playwright-chromium','accessibilityOptions.authToken','4UGfrOr','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','browserName','winstonLogger','JnWMO','GqBLR','bestPractice','replace','platformValidation','browserStackEvaluate','yNSge','browserStackExecuteDriver','No\x20summaryResults\x20found.','gFRej','accessibilityPlatform','Playwright','pJHGG'];a32_0x4f38=function(){return _0xdc9a;};return a32_0x4f38();}
1
+ const a32_0x465d3a=a32_0x39a0;function a32_0x4b44(){const _0x260a81=['includeIssueType','YfWNQ','78870pxSeEp','xTgKP','qgfiq','performScan','Zhhjq','error','name','148664LJMcBi','accessibilityOptions.wcagVersion','Uphqj','../../helpers/helper','executeAsyncScript','gNkhn','browserStackExecuteDriver','4147ExsgHa','browser_version','lJZSp','RdPuL','QEqIT','project','connectOptions','currentTest','executeScript','nFBss','BS_A11Y_JWT','snIUL','rkWgv','scannerVersion','880103fsFHIL','uTYtB','format','evaluate','DULPP','152rxyVDU','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','ccmEL','accessibilityPlatform','wcagVersion','No\x20summaryResults\x20found.','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','accessibilityOptions.authToken','WXqvA','16fuBkkG','wsEndpoint','49740mmhSku','gaKFs','platformValidation','bstackSdkArgs','ZJUuC','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','UnWHU','accessibilityOptions.scannerVersion','method','ayDnu','No\x20accessibility\x20results\x20were\x20found.','getAccessibilityResultsSummary','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','stringify','BXRXm','parse','accessibilityOptions','10533zcTvrH','DRvfY','constructor','accessibilityOptions.includeIssueType.bestPractice','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','742464dctpKi','browserName','QEtbg','252294kJngbE','playwright-chromium','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','IASWx','debug','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','bestPractice','scannerProcessingTimeout','chrome','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Playwright','OUWRg','env','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','10tpPohb','603QOnusD','browserStackEvaluate','gbCsA','DrKJF','needsReview','browserstack.accessibility','warn','setAccessibilityCapabilities','replace','(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','HmhXm','NqoLT','testInfo','accessibilityOptions.includeIssueType.needsReview','RrMUh','vhidq','../../helpers/logger'];a32_0x4b44=function(){return _0x260a81;};return a32_0x4b44();}function a32_0x39a0(_0x307c74,_0x43cf2d){const _0x4b443e=a32_0x4b44();return a32_0x39a0=function(_0x39a0f2,_0x49e9ec){_0x39a0f2=_0x39a0f2-0x1f3;let _0x2c0675=_0x4b443e[_0x39a0f2];return _0x2c0675;},a32_0x39a0(_0x307c74,_0x43cf2d);}(function(_0x1e52b9,_0x3f3b6a){const _0x5136f1=a32_0x39a0,_0x727e3f=_0x1e52b9();while(!![]){try{const _0x44e2be=parseInt(_0x5136f1(0x1fe))/0x1*(-parseInt(_0x5136f1(0x222))/0x2)+-parseInt(_0x5136f1(0x235))/0x3*(-parseInt(_0x5136f1(0x218))/0x4)+-parseInt(_0x5136f1(0x24b))/0x5*(parseInt(_0x5136f1(0x23d))/0x6)+-parseInt(_0x5136f1(0x213))/0x7+parseInt(_0x5136f1(0x23a))/0x8+parseInt(_0x5136f1(0x24c))/0x9*(parseInt(_0x5136f1(0x1f7))/0xa)+parseInt(_0x5136f1(0x205))/0xb*(parseInt(_0x5136f1(0x224))/0xc);if(_0x44e2be===_0x3f3b6a)break;else _0x727e3f['push'](_0x727e3f['shift']());}catch(_0x23c865){_0x727e3f['push'](_0x727e3f['shift']());}}}(a32_0x4b44,0xe02a5));const util=require('util'),logger=require(a32_0x465d3a(0x1f4))['winstonLogger'],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined}=require(a32_0x465d3a(0x201)),scripts=require('../../helpers/accessibility-automation/scripts');exports[a32_0x465d3a(0x24d)]=async(_0x32e351,_0x2437cc,_0x2df295={})=>{const _0x745c2a=a32_0x465d3a,_0x5e07c7={};_0x5e07c7[_0x745c2a(0x24e)]=_0x745c2a(0x227);const _0x4be31c=_0x5e07c7;return await _0x32e351[_0x745c2a(0x216)]('(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'+_0x2437cc[_0x745c2a(0x254)](/arguments/g,_0x4be31c['gbCsA'])+_0x745c2a(0x230)+JSON[_0x745c2a(0x231)](_0x2df295)+')');},exports[a32_0x465d3a(0x204)]=async(_0x984054,_0x51cb55,_0x21f104={})=>{const _0x241e91=a32_0x465d3a,_0x257580={};_0x257580[_0x241e91(0x221)]=function(_0x30d5fa,_0x18ea71){return _0x30d5fa===_0x18ea71;},_0x257580[_0x241e91(0x211)]='WebDriver',_0x257580[_0x241e91(0x256)]=function(_0x5483b0,_0xde116e){return _0x5483b0===_0xde116e;},_0x257580['jTlAL']=_0x241e91(0x247),_0x257580[_0x241e91(0x200)]=_0x241e91(0x227);const _0x44fd68=_0x257580;if(_0x44fd68[_0x241e91(0x221)](_0x984054[_0x241e91(0x237)][_0x241e91(0x1fd)],_0x44fd68['rkWgv']))return await _0x984054[_0x241e91(0x202)](_0x51cb55,_0x21f104);else{if(_0x44fd68[_0x241e91(0x256)](_0x984054[_0x241e91(0x237)][_0x241e91(0x1fd)],_0x44fd68['jTlAL']))return await _0x984054[_0x241e91(0x20d)](_0x241e91(0x255)+_0x51cb55[_0x241e91(0x254)](/arguments/g,_0x44fd68[_0x241e91(0x200)])+_0x241e91(0x21e)+JSON[_0x241e91(0x231)](_0x21f104)+')');}},exports[a32_0x465d3a(0x253)]=async _0x74904d=>{const _0x138d7c=a32_0x465d3a,_0x18ca42={};_0x18ca42[_0x138d7c(0x248)]=_0x138d7c(0x1ff),_0x18ca42['cKvsA']='accessibilityOptions.scannerProcessingTimeout',_0x18ca42[_0x138d7c(0x203)]=_0x138d7c(0x238),_0x18ca42[_0x138d7c(0x214)]=_0x138d7c(0x259),_0x18ca42[_0x138d7c(0x1f9)]=_0x138d7c(0x220),_0x18ca42['vhidq']=_0x138d7c(0x22b);const _0x1cb866=_0x18ca42;_0x74904d[_0x138d7c(0x234)]&&(_0x74904d[_0x138d7c(0x234)][_0x138d7c(0x21c)]&&(_0x74904d[_0x1cb866['OUWRg']]=_0x74904d[_0x138d7c(0x234)][_0x138d7c(0x21c)]),_0x74904d[_0x138d7c(0x234)][_0x138d7c(0x244)]&&(_0x74904d[_0x1cb866['cKvsA']]=_0x74904d[_0x138d7c(0x234)]['scannerProcessingTimeout']),_0x74904d[_0x138d7c(0x234)]['includeIssueType']&&(_0x74904d[_0x1cb866[_0x138d7c(0x203)]]=_0x74904d[_0x138d7c(0x234)][_0x138d7c(0x1f5)][_0x138d7c(0x243)],_0x74904d[_0x1cb866['uTYtB']]=_0x74904d[_0x138d7c(0x234)]['includeIssueType'][_0x138d7c(0x250)]));const _0x34023a=JSON[_0x138d7c(0x233)](process[_0x138d7c(0x249)][_0x138d7c(0x24a)])[_0x138d7c(0x212)];_0x74904d[_0x1cb866['qgfiq']]=process[_0x138d7c(0x249)][_0x138d7c(0x20f)],_0x74904d[_0x1cb866[_0x138d7c(0x1f3)]]=_0x34023a,delete _0x74904d[_0x138d7c(0x234)];},exports['getAccessibilityResults']=async _0x4aece7=>{const _0x43e954=a32_0x465d3a,_0xbdba81={};_0xbdba81[_0x43e954(0x210)]=_0x43e954(0x22e),_0xbdba81[_0x43e954(0x232)]=_0x43e954(0x229);const _0x5eedd8=_0xbdba81;if(global[_0x43e954(0x21b)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x4aece7,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x4aece7,scripts.getResults);return res;}catch{return logger[_0x43e954(0x1fc)](_0x5eedd8[_0x43e954(0x210)]),[];}else return logger[_0x43e954(0x252)](_0x5eedd8[_0x43e954(0x232)]),[];},exports[a32_0x465d3a(0x1fa)]=async(_0x53413a,_0x28578b='')=>{const _0x4c2140=a32_0x465d3a;if(global['accessibilityPlatform']){const _0x21070a={};return _0x21070a[_0x4c2140(0x22c)]=_0x28578b,await exports[_0x4c2140(0x24d)](_0x53413a,scripts[_0x4c2140(0x1fa)],_0x21070a);}},exports[a32_0x465d3a(0x22f)]=async _0x865af1=>{const _0x5a3586=a32_0x465d3a,_0x2e796a={};_0x2e796a[_0x5a3586(0x217)]=_0x5a3586(0x21d),_0x2e796a['DrKJF']=_0x5a3586(0x242);const _0x530d37=_0x2e796a;if(global[_0x5a3586(0x21b)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x865af1,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x865af1,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x5a3586(0x241)](_0x530d37[_0x5a3586(0x217)]),{};}else return logger[_0x5a3586(0x252)](_0x530d37[_0x5a3586(0x24f)]),{};},exports[a32_0x465d3a(0x226)]=async _0xe5370f=>{const _0x1f39b6=a32_0x465d3a,_0x4884bc={'NqoLT':function(_0x5b0d1c,_0x3448f6){return _0x5b0d1c!==_0x3448f6;},'YLvdc':_0x1f39b6(0x246),'ZJUuC':function(_0x2b9a4c,_0x3052fa){return _0x2b9a4c===_0x3052fa;},'ccmEL':'chrome','YfWNQ':'playwright-chromium','QEtbg':_0x1f39b6(0x239),'pvqkt':function(_0x3ec2df,_0x312775){return _0x3ec2df(_0x312775);},'Ykmzh':function(_0x2a9092,_0x4d835b){return _0x2a9092===_0x4d835b;},'nFBss':'latest','UnWHU':function(_0x1e54cb,_0x3d8f4e){return _0x1e54cb>_0x3d8f4e;},'lJZSp':_0x1f39b6(0x21f)};try{if(!_0x4884bc[_0x1f39b6(0x257)](_0xe5370f['deviceName'],''))return logger['warn'](_0x4884bc['YLvdc']),![];const _0x33634d=_0xe5370f['browser'];if(!(_0x4884bc[_0x1f39b6(0x228)](_0x33634d,_0x4884bc[_0x1f39b6(0x21a)])||_0x4884bc['ZJUuC'](_0x33634d,_0x4884bc[_0x1f39b6(0x1f6)])))return logger[_0x1f39b6(0x252)](_0x4884bc[_0x1f39b6(0x23c)]),![];const _0x6fdb77=_0x4884bc['pvqkt'](parseInt,_0xe5370f[_0x1f39b6(0x206)]);if(!(_0x4884bc['Ykmzh'](_0x6fdb77,_0x4884bc[_0x1f39b6(0x20e)])||_0x4884bc[_0x1f39b6(0x22a)](_0x6fdb77,0x5e)))return logger[_0x1f39b6(0x252)](_0x4884bc[_0x1f39b6(0x207)]),![];}catch(_0x14200b){logger[_0x1f39b6(0x241)](_0x1f39b6(0x23f)+util[_0x1f39b6(0x215)](_0x14200b));}return!![];},exports['processAccessibilityCaps']=(_0x2b93f2,_0x43bedc,_0x4f67a5)=>{const _0xac272d=a32_0x465d3a,_0x12efad={'MhnUA':function(_0x469c04){return _0x469c04();},'xTgKP':_0xac272d(0x251),'jMvIs':function(_0x3bc400,_0xf2b345){return _0x3bc400===_0xf2b345;},'IASWx':_0xac272d(0x245),'RdPuL':function(_0x5d2450,_0x30ea31){return _0x5d2450===_0x30ea31;},'Zhhjq':_0xac272d(0x23e),'bdHJx':_0xac272d(0x239),'NMEwj':function(_0x39670b,_0x56666a){return _0x39670b===_0x56666a;},'gaKFs':'latest','DRvfY':function(_0x62db2c,_0x13cc9d){return _0x62db2c>_0x13cc9d;},'QEqIT':_0xac272d(0x21f),'ayDnu':function(_0x9ac18d,_0x397da6){return _0x9ac18d(_0x397da6);},'RrMUh':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','xMArE':function(_0x3db695,_0x418e40){return _0x3db695+_0x418e40;}};try{if(_0x12efad['MhnUA'](isAccessibilityAutomationSession)){global[_0xac272d(0x21b)]=!![];!_0x2b93f2[_0x12efad[_0xac272d(0x1f8)]]&&(global[_0xac272d(0x21b)]=![]);!(_0x12efad['jMvIs'](_0x2b93f2[_0xac272d(0x23b)],_0x12efad[_0xac272d(0x240)])||_0x12efad[_0xac272d(0x208)](_0x2b93f2[_0xac272d(0x23b)],_0x12efad[_0xac272d(0x1fb)]))&&(logger['warn'](_0x12efad['bdHJx']),global[_0xac272d(0x21b)]=![]);!(_0x12efad['NMEwj'](_0x2b93f2['browser_version'],_0x12efad[_0xac272d(0x225)])||_0x12efad[_0xac272d(0x236)](_0x2b93f2['browser_version'],0x5e))&&(logger[_0xac272d(0x252)](_0x12efad[_0xac272d(0x209)]),global[_0xac272d(0x21b)]=![]);!_0x12efad[_0xac272d(0x22d)](isUndefined,_0x2b93f2['deviceName'])&&(logger['warn'](_0x12efad[_0xac272d(0x25a)]),global[_0xac272d(0x21b)]=![]);if(!global[_0xac272d(0x21b)]){_0x2b93f2[_0x12efad['xTgKP']]=![];const _0x1ba918=_0x12efad['xMArE'](_0x43bedc,_0x12efad['ayDnu'](encodeURIComponent,JSON['stringify'](_0x2b93f2)));_0x4f67a5&&(_0x4f67a5[_0xac272d(0x20c)][_0xac272d(0x258)][_0xac272d(0x20a)]['use'][_0xac272d(0x20b)][_0xac272d(0x223)]=_0x1ba918);}}}catch(_0x5f0235){logger[_0xac272d(0x241)](_0xac272d(0x219)+util[_0xac272d(0x215)](_0x5f0235));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a33_0x4596(_0x2f303a,_0x569f41){const _0x36add2=a33_0x36ad();return a33_0x4596=function(_0x459603,_0x1d1aea){_0x459603=_0x459603-0x1b8;let _0x1171d6=_0x36add2[_0x459603];return _0x1171d6;},a33_0x4596(_0x2f303a,_0x569f41);}const a33_0x110918=a33_0x4596;(function(_0x4f23cd,_0x1ff7ac){const _0x523575=a33_0x4596,_0x37c938=_0x4f23cd();while(!![]){try{const _0x420413=-parseInt(_0x523575(0x24f))/0x1*(-parseInt(_0x523575(0x1e1))/0x2)+parseInt(_0x523575(0x1f7))/0x3*(parseInt(_0x523575(0x1e4))/0x4)+parseInt(_0x523575(0x25d))/0x5+parseInt(_0x523575(0x1cb))/0x6+-parseInt(_0x523575(0x22a))/0x7+parseInt(_0x523575(0x1c1))/0x8+-parseInt(_0x523575(0x1bf))/0x9;if(_0x420413===_0x1ff7ac)break;else _0x37c938['push'](_0x37c938['shift']());}catch(_0x43f8ac){_0x37c938['push'](_0x37c938['shift']());}}}(a33_0x36ad,0x315f2));const fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require(a33_0x110918(0x209)),{format}=require(a33_0x110918(0x20d)),logger=require(a33_0x110918(0x1fa))['winstonLogger'],{default:BrowserStackSetup}=require(a33_0x110918(0x1b8)),helper=require(a33_0x110918(0x25a)),constants=require('../utils/constants'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a33_0x110918(0x26e)),{CrashReporter,o11yErrorHandler}=require(a33_0x110918(0x259)),{getFrameworkVersion}=require(a33_0x110918(0x1d9)),{createAccessibilityTestRun,stopAccessibilityTestRun,checkAccessibilityPlatformConfig}=require(a33_0x110918(0x1e9)),{setAccessibilityCapabilities}=require('./accessibility-helper'),SessionHandler=require(a33_0x110918(0x218));async function requireOrImportDefaultObject(_0x53b57b){const _0x352563=a33_0x110918,_0x323220={'vpwsq':function(_0x221245){return _0x221245();},'PQVDG':function(_0x23a6d8,_0x54c5d9){return _0x23a6d8(_0x54c5d9);},'qkBxn':function(_0x56eaca,_0xb1828c){return _0x56eaca===_0xb1828c;},'HIAVK':_0x352563(0x24b),'urerR':function(_0x23fafa,_0x306012){return _0x23fafa in _0x306012;},'YblRe':_0x352563(0x276)},{requireOrImport:_0xba2b3c}=helper[_0x352563(0x23c)]['apply'](null,_0x323220[_0x352563(0x1c2)](getTransformPath));let _0x46f823=await _0x323220[_0x352563(0x1d4)](_0xba2b3c,_0x53b57b);return _0x46f823&&_0x323220[_0x352563(0x226)](typeof _0x46f823,_0x323220['HIAVK'])&&_0x323220[_0x352563(0x264)](_0x323220[_0x352563(0x227)],_0x46f823)&&(_0x46f823=_0x46f823[_0x323220[_0x352563(0x227)]]),_0x46f823;}const getUserPlaywrightConfig=async(_0x164482,_0x452774)=>{const _0x1d60e4=a33_0x110918,_0x1954f5={'IvyOp':function(_0x3755ed){return _0x3755ed();},'UQglL':function(_0x5ac034,_0x381a3f){return _0x5ac034(_0x381a3f);},'saJfI':function(_0x391e55,_0x4cbad1){return _0x391e55(_0x4cbad1);},'VoJgn':'Error\x20in\x20importing\x20your\x20playwright\x20config:\x20','EgpWR':_0x1d60e4(0x1e5),'QICvt':_0x1d60e4(0x228)},_0x437f92=!helper[_0x1d60e4(0x24d)](_0x164482['config']),_0x71e516=_0x437f92?path['resolve'](process[_0x1d60e4(0x23b)](),_0x164482[_0x1d60e4(0x1d6)]):process[_0x1d60e4(0x23b)](),{resolveConfigFile:_0x76b699}=helper[_0x1d60e4(0x23c)][_0x1d60e4(0x230)](null,_0x1954f5[_0x1d60e4(0x213)](getConfigLoaderPath)),_0x2a1439=_0x1954f5[_0x1d60e4(0x25b)](_0x76b699,_0x71e516);let _0x46c6e7={};if(_0x2a1439){logger[_0x1d60e4(0x23f)]('Getting\x20your\x20playwright\x20config\x20from\x20'+_0x2a1439);try{_0x46c6e7=await _0x1954f5[_0x1d60e4(0x22f)](requireOrImportDefaultObject,_0x2a1439);}catch(_0x56692d){return logger[_0x1d60e4(0x235)](_0x1954f5[_0x1d60e4(0x245)],_0x56692d),null;}}else logger[_0x1d60e4(0x23f)](_0x1954f5[_0x1d60e4(0x233)]);if(_0x437f92){const _0x17632c=_0x452774['findIndex'](_0x5581fb=>_0x5581fb===_0x1d60e4(0x217)||_0x5581fb==='-c'||_0x5581fb[_0x1d60e4(0x1ba)](_0x1d60e4(0x228)));_0x452774[_0x1d60e4(0x219)](_0x17632c,_0x452774[_0x17632c][_0x1d60e4(0x1ba)](_0x1954f5[_0x1d60e4(0x1dd)])?0x1:0x2);}const _0x2489ff={};return _0x2489ff[_0x1d60e4(0x20a)]=_0x2a1439,_0x2489ff[_0x1d60e4(0x1d6)]=_0x46c6e7,_0x2489ff;},setGlobalSetup=(_0x4fd653,_0x37e4c6)=>{const _0x45e4d3=a33_0x110918,_0x524057={'aBYTt':_0x45e4d3(0x26a),'NacgG':_0x45e4d3(0x21c),'cgejX':function(_0x481e24,_0x2b0f8c){return _0x481e24+_0x2b0f8c;},'ztvyn':'Error\x20in\x20running\x20user\x20global\x20setup\x20for\x20playwright','npcrF':function(_0x34e040,_0x2e1e76){return _0x34e040(_0x2e1e76);},'zekiB':_0x45e4d3(0x280)};if(!_0x4fd653)return![];try{if(_0x4fd653[_0x45e4d3(0x26a)]){let _0x11a39f;const _0x1f1922=path[_0x45e4d3(0x1e3)](_0x37e4c6,_0x4fd653[_0x524057[_0x45e4d3(0x1bc)]]);if(fs[_0x45e4d3(0x1c5)](_0x1f1922))_0x11a39f=_0x1f1922;else{const _0x2d6d20={};_0x2d6d20['paths']=[_0x37e4c6],_0x11a39f=require[_0x45e4d3(0x1e3)](_0x4fd653[_0x524057['aBYTt']],_0x2d6d20);}if(!_0x11a39f)throw new Error(_0x524057[_0x45e4d3(0x246)]);process[_0x45e4d3(0x278)][_0x45e4d3(0x1e2)]=_0x11a39f;}}catch(_0x3a36a9){logger[_0x45e4d3(0x235)](_0x524057[_0x45e4d3(0x1fe)](_0x524057[_0x45e4d3(0x1cd)],_0x524057[_0x45e4d3(0x26f)](format,_0x3a36a9)));}return _0x4fd653['globalSetup']=require[_0x45e4d3(0x1e3)](_0x524057[_0x45e4d3(0x221)]),!![];},addReporter=_0x205148=>{const _0x5b07b9=a33_0x110918,_0x1077ea={};_0x1077ea[_0x5b07b9(0x1df)]='./reporter/reporter.js',_0x1077ea['wafkQ']='reporter',_0x1077ea[_0x5b07b9(0x236)]=function(_0x32f7fc,_0x1d8d4b){return _0x32f7fc===_0x1d8d4b;},_0x1077ea['MHOla']=_0x5b07b9(0x244),_0x1077ea[_0x5b07b9(0x1d5)]=function(_0x15b1f2,_0x4f6a40){return _0x15b1f2===_0x4f6a40;},_0x1077ea[_0x5b07b9(0x1ff)]=_0x5b07b9(0x24b);const _0x4ba571=_0x1077ea,_0x59270b=path[_0x5b07b9(0x1f2)](__dirname,_0x4ba571['XFhZX']),_0x344a1e=[_0x59270b];if(helper[_0x5b07b9(0x24d)](_0x205148[_0x4ba571[_0x5b07b9(0x1ed)]]))_0x205148[_0x4ba571[_0x5b07b9(0x1ed)]]=[_0x344a1e];else{if(_0x4ba571[_0x5b07b9(0x236)](typeof _0x205148[_0x4ba571[_0x5b07b9(0x1ed)]],_0x4ba571[_0x5b07b9(0x1dc)]))_0x205148[_0x4ba571[_0x5b07b9(0x1ed)]]=[[_0x205148[_0x4ba571[_0x5b07b9(0x1ed)]]],_0x344a1e];else _0x4ba571[_0x5b07b9(0x1d5)](typeof _0x205148[_0x4ba571[_0x5b07b9(0x1ed)]],_0x4ba571[_0x5b07b9(0x1ff)])&&_0x205148[_0x4ba571[_0x5b07b9(0x1ed)]][_0x5b07b9(0x241)](_0x344a1e);}},handleO11yRerun=_0x24f479=>{const _0x66f766=a33_0x110918,_0x2f79e1={};_0x2f79e1[_0x66f766(0x207)]=function(_0x2a672f,_0x5ee144){return _0x2a672f!==_0x5ee144;},_0x2f79e1[_0x66f766(0x24a)]=_0x66f766(0x1fd),_0x2f79e1[_0x66f766(0x1da)]=_0x66f766(0x27c);const _0x4219b6=_0x2f79e1,_0x453c70=helper[_0x66f766(0x222)](process[_0x66f766(0x278)][_0x66f766(0x247)]);if(_0x453c70){const _0x4bc3b8=process[_0x66f766(0x278)][_0x66f766(0x269)],_0x411492=[];if(_0x4219b6[_0x66f766(0x207)](_0x4bc3b8,_0x4219b6[_0x66f766(0x24a)])&&!helper[_0x66f766(0x24d)](_0x4bc3b8)){_0x4bc3b8[_0x66f766(0x215)](',')[_0x66f766(0x216)](_0x55a528=>{const _0x163036=_0x66f766;_0x411492['push']('('+_0x55a528[_0x163036(0x202)]()+')');});const _0x5dab3d='^'+_0x411492[_0x66f766(0x1f2)]('|')+'$';_0x24f479[_0x66f766(0x241)](_0x4219b6[_0x66f766(0x1da)],_0x5dab3d);}}},spawnOriginalProcess=_0x43b92a=>{const _0x11691a=a33_0x110918,_0x387933={'rnKYb':function(_0xb9e7,_0x59d0a2,_0x4d251d,_0x211319){return _0xb9e7(_0x59d0a2,_0x4d251d,_0x211319);},'VFoTT':_0x11691a(0x1d8),'qzRXU':_0x11691a(0x21e),'FEbHV':function(_0x508577,_0x16c1a5){return _0x508577===_0x16c1a5;},'xLFQt':_0x11691a(0x23a),'CyHSZ':_0x11691a(0x1b9)};_0x387933[_0x11691a(0x279)](spawn,_0x387933[_0x11691a(0x223)],[_0x387933[_0x11691a(0x287)],..._0x43b92a['slice'](0x1)],{'shell':_0x387933['FEbHV'](process['platform'],_0x387933['xLFQt']),'stdio':_0x387933[_0x11691a(0x275)],'cwd':process[_0x11691a(0x23b)]()});},isTestCommand=(_0x5a824c,_0x2ec1cb)=>{const _0x5dd7a3=a33_0x110918,_0x249340={};_0x249340[_0x5dd7a3(0x1c7)]=function(_0x575511,_0x2e61b7){return _0x575511>_0x2e61b7;},_0x249340[_0x5dd7a3(0x27d)]=function(_0x2af57d,_0x565bc7){return _0x2af57d===_0x565bc7;},_0x249340['IVJKU']='test';const _0x52466f=_0x249340;if(_0x52466f['lWDng'](_0x2ec1cb[_0x5dd7a3(0x27b)],0x1)&&_0x52466f[_0x5dd7a3(0x27d)](_0x2ec1cb[0x1],_0x52466f[_0x5dd7a3(0x203)]))return!![];return![];},initO11yCrashReporter=(_0x569093,_0x1e1648)=>{const _0x3bb0a5=a33_0x110918,_0x1ca045={'DyYWg':function(_0x2f81cd,_0x49770f){return _0x2f81cd(_0x49770f);}},_0x379adb={'frameworkName':FRAMEWORKS[_0x3bb0a5(0x1cc)],'frameworkVersion':_0x1ca045[_0x3bb0a5(0x1d2)](getFrameworkVersion,FRAMEWORKS[_0x3bb0a5(0x1cc)])};CrashReporter['initialize'](_0x379adb,_0x569093,_0x1e1648);},launchO11ySession=o11yErrorHandler(async function launchO11ySession(_0x63bf4e){const _0x389eb9=a33_0x110918,_0x2e9792={};_0x2e9792[_0x389eb9(0x220)]=function(_0x1a6ce0,_0x39b897){return _0x1a6ce0>_0x39b897;},_0x2e9792['Cmyzz']=function(_0x1f33b7,_0x5069e9){return _0x1f33b7===_0x5069e9;};const _0x363cec=_0x2e9792;if(!_0x63bf4e||_0x363cec[_0x389eb9(0x220)](_0x63bf4e[_0x389eb9(0x27b)],0x1)&&_0x363cec[_0x389eb9(0x256)](_0x63bf4e[0x0],null))return process[_0x389eb9(0x278)][_0x389eb9(0x212)]=![],![];return!![];});function a33_0x36ad(){const _0x5975c1=['parse','isUndefined','mUiaY','122MiYEFC','DFFwe','testContextOptions','--disable-test-observability','close','project','RpJkP','Cmyzz','Error\x20in\x20getting\x20funnel\x20data\x20results','logLevel','../../helpers/test-observability/error-handler','../../helpers/helper','UQglL','automation','1744035RdhFvv','concat','accessibilityOptions','testDir','3|0|6|2|5|1|4|8|7','debug','BS_A11Y_TEST_RUN_ID','urerR','wyOXf','PACKAGE_TYPE','TUQOj','MODULE','BROWSERSTACK_RERUN_TESTS','globalSetup','Error\x20in\x20generating\x20parallellised\x20config\x20for\x20playwright:\x20','false','Playwright\x20process\x20exited\x20with\x20code\x20','./reporter/pwUtils','npcrF','BROWSERSTACK_TEST_ACCESSIBILITY_YML','sQtiT','pcPbX','NaKjn','dhMZV','CyHSZ','default','collectFilesForProject','env','rnKYb','finalExecution','length','--grep','dqkJJ','rQvBD','eeQby','./globalSetup.js','UTQYI','BS_A11Y_JWT','assign','testIgnore','lsxiR','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','qzRXU','../../helpers/BrowserStackSetup','inherit','startsWith','pFpWF','aBYTt','Adding\x20browserstack\x20configs\x20to\x20setup\x20for\x20Observability','QtHUc','6670512AEyHNR','BROWSERSTACK_SETUP_CONFIG_PATH','2867216qCNqex','vpwsq','cJKdk','zokZl','existsSync','clearTempPWConfig','lWDng','skipSessionName','errorMessage','BROWSERSTACK_AUTOMATION','519834Ytikuc','PLAYWRIGHT','ztvyn','platforms','testMatch','XxMUx','argv','DyYWg','accessibility','PQVDG','xzGvi','config','\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();','npx','../../helpers/test-observability/utils','AScpo','rjlVi','MHOla','QICvt','BmJZo','XFhZX','GntTv','2512KrqFSC','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','resolve','21272qcZTtZ','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','USER_CONFIG_DETAILS_PATH','skipSessionStatus','playwright-browserstack-sdk.config.js','../../helpers/accessibility-automation/helper','get','unlinkSync','playwright-browserstack-sdk.config.cjs','wafkQ','nVCKA','bJGlh','GgQtN','dbAYW','join','KwruR','filter','@playwright/test','serializeToYamlString','213gaonMF','qgSMk','_internal','../../helpers/logger','has','markSDKSetupComplete','null','cgejX','SCPJQ','KvZic','filterBrowserstackConfig','trim','IVJKU','BrowserStack\x20config\x20file\x20not\x20found.','testObservability','indexOf','uDbzU','exports','child_process','path','qMqtC','Deleting\x20','util','--disable-browserstack-automation','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','isFalse','RgFpi','BROWSERSTACK_TEST_OBSERVABILITY','IvyOp','enqFV','split','map','--config','../../helpers/test-observability/sessionHandler','splice','utFPJ','UawGi','Can\x27t\x20get\x20user\x20defined\x20global\x20setup\x20file','Error\x20in\x20deleting\x20playwright\x20results','playwright','platform','wLytf','zekiB','isTrue','VFoTT','writeFileSync','getProxyUrl','qkBxn','YblRe','--config=','KSIQd','2668848BaCvwo','getPackageType','dirname','nnpmQ','respectGitIgnore','saJfI','apply','cliConfig','homedir','EgpWR','BROWSERSTACK_PW_CONFIG_DIR','error','tFCCP','NvbVM','slice','launch','win32','cwd','requirePWModule','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20ID:\x20','readFileSync','info','.browserstack','push','\x0a\x0aconst\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0amodule.exports\x20=\x20modifyPWConfig();\x0a','stringify','string','VoJgn','NacgG','BROWSERSTACK_RERUN','browserstackSetupConfig.json','DJYHh','hRyps','object'];a33_0x36ad=function(){return _0x5975c1;};return a33_0x36ad();}async function run(_0x5e2414,_0x31db4f){const _0x450063=a33_0x110918,_0x42c190={'DFFwe':_0x450063(0x240),'KSIQd':'pw_result.json','TXRtb':function(_0x4bede8,_0x46d051){return _0x4bede8+_0x46d051;},'utFPJ':_0x450063(0x257),'cJKdk':_0x450063(0x261),'KvZic':function(_0x36e2d6){return _0x36e2d6();},'QtHUc':function(_0x50dadf,_0x4f6f8b){return _0x50dadf(_0x4f6f8b);},'qgSMk':function(_0x9b20e2,_0x4105af){return _0x9b20e2+_0x4105af;},'XxMUx':'Error\x20in\x20closing\x20playwright','sQtiT':_0x450063(0x20e),'pcPbX':_0x450063(0x26c),'mUiaY':_0x450063(0x252),'UYjPd':function(_0x4c2684,_0x1d7639){return _0x4c2684>=_0x1d7639;},'pFpWF':_0x450063(0x21d),'NaKjn':function(_0x88dfd5,_0x5e8d94,_0x8cbf21){return _0x88dfd5(_0x5e8d94,_0x8cbf21);},'GgQtN':_0x450063(0x204),'enqFV':_0x450063(0x25c),'RgFpi':function(_0x24d4f5,_0x4d209f){return _0x24d4f5!=_0x4d209f;},'DJYHh':function(_0x5bac6c,_0x365d14){return _0x5bac6c(_0x365d14);},'BmJZo':'0|1|4|3|2','rQvBD':_0x450063(0x1bd),'nVCKA':function(_0x4bd57c,_0x481e50,_0x4a5ca7){return _0x4bd57c(_0x481e50,_0x4a5ca7);},'dbAYW':function(_0x3318c5,_0x40ec0d){return _0x3318c5===_0x40ec0d;},'bJGlh':'true','dhMZV':_0x450063(0x1f5),'qMqtC':function(_0x4e08ad,_0xf64a1e){return _0x4e08ad(_0xf64a1e);},'mYsgI':_0x450063(0x248),'rjlVi':function(_0x2ac701){return _0x2ac701();},'RpJkP':'testDir','wyOXf':_0x450063(0x1cf),'nnpmQ':'testIgnore','nuflE':_0x450063(0x26b),'KwruR':function(_0x2736d3,_0x2b1727){return _0x2736d3===_0x2b1727;},'lsxiR':_0x450063(0x1ec),'NvbVM':_0x450063(0x1e8),'hRiPL':function(_0x54944c,_0x760c9d){return _0x54944c>_0x760c9d;},'GntTv':function(_0x570e02,_0x51571e,_0x4111cb,_0x45c88a){return _0x570e02(_0x51571e,_0x4111cb,_0x45c88a);},'UawGi':_0x450063(0x1d8),'aTRSs':_0x450063(0x21e),'FSXjn':'test','TUQOj':'--config','zokZl':_0x450063(0x23a),'UTQYI':_0x450063(0x1b9),'eeQby':_0x450063(0x253)};!helper[_0x450063(0x210)](process[_0x450063(0x278)][_0x450063(0x1ca)])&&(process[_0x450063(0x278)][_0x450063(0x1ca)]=!![]);process[_0x450063(0x1d1)]['includes'](_0x42c190[_0x450063(0x271)])&&(process[_0x450063(0x278)][_0x450063(0x1ca)]=_0x42c190[_0x450063(0x272)],_0x31db4f=_0x31db4f['filter'](_0x2d232d=>_0x2d232d!==_0x450063(0x20e)));const _0x5d20fb=_0x31db4f[_0x450063(0x206)](_0x42c190[_0x450063(0x24e)]);_0x42c190['UYjPd'](_0x5d20fb,0x0)&&(process['env']['BROWSERSTACK_TEST_OBSERVABILITY']=_0x42c190['pcPbX'],_0x31db4f=_0x31db4f[_0x450063(0x1f4)](_0x2eead4=>_0x2eead4!==_0x450063(0x252)));try{const _0x2edecf=path[_0x450063(0x1f2)](helper[_0x450063(0x232)](),_0x42c190[_0x450063(0x250)],_0x42c190[_0x450063(0x229)]);fs[_0x450063(0x1c5)](_0x2edecf)&&fs[_0x450063(0x1eb)](_0x2edecf);}catch(_0x45b83f){logger['debug'](_0x42c190[_0x450063(0x1f8)](_0x42c190[_0x450063(0x1bb)],_0x45b83f));}if(!_0x42c190[_0x450063(0x273)](isTestCommand,_0x5e2414,_0x31db4f)){_0x42c190[_0x450063(0x1be)](spawnOriginalProcess,_0x31db4f);return;}const _0x348f94=new BrowserStackSetup(_0x5e2414,FRAMEWORKS[_0x450063(0x1cc)]);if(!_0x348f94[_0x450063(0x1d6)]){logger[_0x450063(0x235)](_0x42c190[_0x450063(0x1f0)]);return;}await _0x348f94['initialize']();!helper[_0x450063(0x24d)](_0x348f94[_0x450063(0x231)])&&_0x348f94[_0x450063(0x231)][_0x450063(0x1fb)](_0x42c190[_0x450063(0x214)])&&(process[_0x450063(0x278)][_0x450063(0x1ca)]=_0x348f94['cliConfig'][_0x450063(0x1ea)](_0x42c190[_0x450063(0x214)])||!![]);_0x42c190[_0x450063(0x211)](_0x348f94[_0x450063(0x1d6)][_0x450063(0x205)],null)&&!helper[_0x450063(0x222)](process['env'][_0x450063(0x212)])&&(process[_0x450063(0x278)][_0x450063(0x212)]=process[_0x450063(0x278)]['BROWSERSTACK_TEST_OBSERVABILITY']||_0x348f94[_0x450063(0x1d6)][_0x450063(0x205)]);const _0xf9048e=!helper['isFalse'](process['env']['BROWSERSTACK_TEST_OBSERVABILITY']);let _0x59c4a7=![];_0x348f94['config'][_0x450063(0x1d3)]&&(_0x59c4a7=!![],process['env'][_0x450063(0x270)]=_0x348f94[_0x450063(0x1d6)][_0x450063(0x1d3)]);_0x348f94[_0x450063(0x1d6)][_0x450063(0x25f)]&&(process[_0x450063(0x278)][_0x450063(0x20f)]=JSON[_0x450063(0x243)](_0x348f94['config']['accessibilityOptions']));const _0x24d35f=_0x31db4f[_0x450063(0x25e)](),_0x4f8c8c=await _0x42c190[_0x450063(0x273)](getUserPlaywrightConfig,_0x5e2414,_0x31db4f);if(helper[_0x450063(0x24d)](_0x4f8c8c)){_0x42c190[_0x450063(0x249)](spawnOriginalProcess,_0x24d35f);return;}const _0x55e876={..._0x4f8c8c[_0x450063(0x1d6)]},_0x1243c2=_0x55e876,_0x2984c9=_0x4f8c8c[_0x450063(0x20a)]?path[_0x450063(0x22c)](_0x4f8c8c[_0x450063(0x20a)]):process[_0x450063(0x23b)]();process[_0x450063(0x278)][_0x450063(0x234)]=_0x2984c9;if(!_0x42c190[_0x450063(0x273)](setGlobalSetup,_0x1243c2,_0x2984c9)){_0x42c190[_0x450063(0x1be)](spawnOriginalProcess,_0x24d35f);return;}const _0x3e3314=await SessionHandler[_0x450063(0x239)](_0x348f94[_0x450063(0x1d6)],{'frameworkName':FRAMEWORKS['PLAYWRIGHT'],'frameworkVersion':_0x42c190[_0x450063(0x249)](getFrameworkVersion,FRAMEWORKS[_0x450063(0x1cc)])});if(_0xf9048e){const _0x3d9fe4=_0x42c190[_0x450063(0x1de)][_0x450063(0x215)]('|');let _0x31fc45=0x0;while(!![]){switch(_0x3d9fe4[_0x31fc45++]){case'0':logger[_0x450063(0x23f)](_0x42c190[_0x450063(0x27e)]);continue;case'1':_0x42c190[_0x450063(0x1ee)](initO11yCrashReporter,_0x1243c2,_0x348f94['config']);continue;case'2':await _0x42c190['DJYHh'](launchO11ySession,_0x3e3314);continue;case'3':_0x42c190[_0x450063(0x249)](handleO11yRerun,_0x31db4f);continue;case'4':_0x42c190[_0x450063(0x1be)](addReporter,_0x1243c2);continue;}break;}}let _0x33e55e=_0x42c190[_0x450063(0x1f1)](process['env'][_0x450063(0x270)],_0x42c190[_0x450063(0x1ef)]);_0x33e55e=_0x33e55e||_0x42c190[_0x450063(0x249)](checkAccessibilityPlatformConfig,_0x348f94['config']),process[_0x450063(0x278)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x33e55e;if(_0x33e55e){const [_0x15dcd2,_0x1c231f]=await _0x42c190[_0x450063(0x273)](createAccessibilityTestRun,_0x348f94['config'],_0x42c190[_0x450063(0x274)]);logger[_0x450063(0x262)](_0x450063(0x23d)+_0x1c231f),process[_0x450063(0x278)][_0x450063(0x282)]=_0x15dcd2,process[_0x450063(0x278)][_0x450063(0x263)]=_0x1c231f,_0x42c190[_0x450063(0x20b)](setAccessibilityCapabilities,_0x348f94[_0x450063(0x1d6)]);}(helper[_0x450063(0x24d)](_0x348f94[_0x450063(0x1d6)][_0x450063(0x1ce)])||_0x42c190['dbAYW'](_0x348f94[_0x450063(0x1d6)][_0x450063(0x1ce)][_0x450063(0x27b)],0x0))&&(process[_0x450063(0x278)]['BROWSERSTACK_AUTOMATION']=![]);const _0x60464f=path[_0x450063(0x1f2)](_0x4f8c8c['path']?path[_0x450063(0x22c)](_0x4f8c8c['path']):process['cwd'](),_0x42c190['mYsgI']);fs['writeFileSync'](_0x60464f,helper[_0x450063(0x1f6)](_0x348f94['config'])),process[_0x450063(0x278)][_0x450063(0x1c0)]=_0x60464f,helper[_0x450063(0x1c6)]();if(helper[_0x450063(0x222)](process[_0x450063(0x278)][_0x450063(0x1ca)])){let _0x5bcdc4=[];try{const _0x246b70=helper[_0x450063(0x23c)][_0x450063(0x230)](null,_0x42c190[_0x450063(0x1db)](getProjectUtilsPath)),_0x315ed3={};_0x315ed3[_0x450063(0x22e)]=!![],_0x315ed3[_0x450063(0x260)]='',_0x315ed3['testMatch']='',_0x315ed3[_0x450063(0x284)]='';const _0x589e2c={};_0x589e2c[_0x450063(0x22e)]=!![];const _0x35f797={};_0x35f797[_0x450063(0x254)]=_0x315ed3,_0x35f797[_0x450063(0x1f9)]=_0x589e2c;let _0x2d3c65=_0x35f797;_0x1243c2[_0x42c190[_0x450063(0x255)]]&&(_0x2d3c65[_0x450063(0x254)][_0x42c190[_0x450063(0x255)]]=_0x1243c2[_0x42c190[_0x450063(0x255)]]),_0x1243c2[_0x42c190[_0x450063(0x265)]]&&(_0x2d3c65['project'][_0x42c190[_0x450063(0x265)]]=_0x1243c2[_0x42c190[_0x450063(0x265)]]),_0x1243c2[_0x42c190['nnpmQ']]&&(_0x2d3c65[_0x450063(0x254)][_0x42c190['nnpmQ']]=_0x1243c2[_0x42c190[_0x450063(0x22d)]]),_0x2d3c65=Object[_0x450063(0x283)](_0x2d3c65,_0x2d3c65[_0x450063(0x254)]),_0x5bcdc4=await _0x246b70[_0x450063(0x277)](_0x2d3c65);}catch(_0x161281){logger['debug'](_0x42c190['qgSMk'](_0x42c190['nuflE'],_0x42c190[_0x450063(0x20b)](format,_0x161281)));}}let _0x28ecad='';_0x42c190['KwruR'](helper[_0x450063(0x22b)](),constants[_0x450063(0x266)][_0x450063(0x268)])?_0x28ecad=_0x42c190[_0x450063(0x285)]:_0x28ecad=_0x42c190[_0x450063(0x237)];const _0x5072c6=path['join'](_0x4f8c8c[_0x450063(0x20a)]?path['dirname'](_0x4f8c8c[_0x450063(0x20a)]):process[_0x450063(0x23b)](),_0x28ecad);let _0x42db22=_0x4f8c8c[_0x450063(0x20a)]?_0x4f8c8c[_0x450063(0x20a)]:'';_0x42db22=_0x42c190['hRiPL'](_0x42db22[_0x450063(0x27b)],0x0)?path[_0x450063(0x1e3)](_0x42db22):'',process[_0x450063(0x278)][_0x450063(0x1e6)]=_0x42db22;let _0x2c4391=_0x450063(0x242);const _0x4fb943=helper[_0x450063(0x225)](_0x348f94[_0x450063(0x1d6)]);_0x4fb943&&(_0x2c4391=_0x42c190[_0x450063(0x1f8)](_0x450063(0x286)+_0x4fb943+_0x450063(0x1d7),_0x2c4391));helper[_0x450063(0x201)]({},_0x31db4f),fs[_0x450063(0x224)](_0x5072c6,_0x2c4391),helper[_0x450063(0x1fc)]();const _0x5385af=_0x42c190[_0x450063(0x1e0)](spawn,_0x42c190[_0x450063(0x21b)],[_0x42c190['aTRSs'],_0x42c190['FSXjn'],_0x42c190[_0x450063(0x267)],_0x5072c6,..._0x31db4f[_0x450063(0x238)](0x2)],{'shell':_0x42c190[_0x450063(0x1f3)](process[_0x450063(0x21f)],_0x42c190[_0x450063(0x1c4)]),'stdio':_0x42c190[_0x450063(0x281)],'cwd':process[_0x450063(0x23b)](),'env':Object[_0x450063(0x283)]({},process[_0x450063(0x278)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x5e2414),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x348f94[_0x450063(0x1d6)][_0x450063(0x251)][_0x450063(0x1e7)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x348f94['config'][_0x450063(0x251)][_0x450063(0x1c8)],'BROWSERSTACK_LOG_LEVEL':_0x348f94[_0x450063(0x1d6)][_0x450063(0x258)]})}),_0x167183=()=>{const _0x4d6423=_0x450063;try{const _0x17d056=path['join'](helper['homedir'](),_0x42c190['DFFwe'],_0x42c190[_0x4d6423(0x229)]);if(fs['existsSync'](_0x17d056)){let _0x4733e7=fs[_0x4d6423(0x23e)](_0x17d056);_0x4733e7=JSON[_0x4d6423(0x24c)](_0x4733e7),_0x348f94[_0x4d6423(0x1c9)]=_0x4733e7,fs[_0x4d6423(0x1eb)](_0x17d056);}}catch(_0x1d389f){logger[_0x4d6423(0x262)](_0x42c190['TXRtb'](_0x42c190[_0x4d6423(0x21a)],_0x1d389f));}};_0x5385af['on'](_0x42c190[_0x450063(0x27f)],async _0x50b8ba=>{const _0x190d06=_0x450063;try{const _0xd4f161=_0x42c190[_0x190d06(0x1c3)]['split']('|');let _0x5aa9ef=0x0;while(!![]){switch(_0xd4f161[_0x5aa9ef++]){case'0':await helper[_0x190d06(0x27a)](_0x348f94);continue;case'1':logger[_0x190d06(0x23f)](_0x190d06(0x20c)+_0x5072c6);continue;case'2':process['exitCode']=_0x50b8ba;continue;case'3':_0x42c190[_0x190d06(0x200)](_0x167183);continue;case'4':fs[_0x190d06(0x1eb)](_0x5072c6);continue;case'5':logger[_0x190d06(0x262)](_0x190d06(0x26d)+_0x50b8ba);continue;case'6':await _0x42c190['QtHUc'](stopAccessibilityTestRun,_0x348f94['config']);continue;case'7':fs['unlinkSync'](_0x60464f);continue;case'8':logger[_0x190d06(0x262)](_0x190d06(0x20c)+_0x60464f);continue;}break;}}catch(_0x342332){logger[_0x190d06(0x262)](_0x42c190[_0x190d06(0x1f8)](_0x42c190[_0x190d06(0x1d0)],_0x342332));}});}module[a33_0x110918(0x208)]=run;
2
+ 'use strict';function a33_0x5e7c(){const _0x20098c=['./reporter/pwUtils','ClgWH','SHPoS','XiKIs','../../helpers/test-observability/constants','zYHqS','isUndefined','platform','BROWSERSTACK_PW_CONFIG_DIR','QggeP','stringify','6|8|2|7|3|1|0|4|5','BROWSERSTACK_RERUN_TESTS','Error\x20in\x20getting\x20funnel\x20data\x20results','debug','1106676PLqhoe','xhaRI','close','guYXT','TIrQj','--disable-browserstack-automation','EzhBR','BROWSERSTACK_SETUP_CONFIG_PATH','337589FfiVHd','../../helpers/logger','3|1|0|2|4','LAiJV','skipSessionStatus','VapCK','wlqwD','1633368xAMhcQ','filter','lvgku','HFMhM','--config=','PDNiz','info','dirname','cLeFM','pw_result.json','paths','error','YedTc','uxcss','IZHUg','Iylit','ZRzKH','ElagB','existsSync','requirePWModule','BROWSERSTACK_TEST_ACCESSIBILITY_YML','BS_A11Y_JWT','vSvSY','indexOf','default','QFBMi','TrWMK','oCiIB','startsWith','PACKAGE_TYPE','config','./accessibility-helper','./globalSetup.js','slice','../../helpers/helper','NeUDA','\x0a\x0aconst\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0amodule.exports\x20=\x20modifyPWConfig();\x0a','true','getProxyUrl','initialize','util','testContextOptions','KfhpN','join','hBVTX','project','exitCode','splice','HewQo','PlPVS','test','Adding\x20browserstack\x20configs\x20to\x20setup\x20for\x20Observability','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','logLevel','.browserstack','921774QDcgcT','accessibilityOptions','findIndex','@playwright/test','nobtw','collectFilesForProject','nkPVL','null','../utils/constants','filterBrowserstackConfig','testMatch','winstonLogger','apply','lbFSC','BhQfc','parse','respectGitIgnore','browserstackSetupConfig.json','bFTeu','testObservability','voOdN','cliConfig','Dzwbe','path','isFalse','ERjqZ','nDYEJ','env','374382sZFVjt','bPXYk','Error\x20in\x20closing\x20playwright','VnWYo','CDGrW','BROWSERSTACK_TEST_OBSERVABILITY','wRisa','resolve','10erhcDZ','playwright-browserstack-sdk.config.cjs','object','coqSP','writeFileSync','trim','nFmHg','accessibility','BROWSERSTACK_AUTOMATION','assign','markSDKSetupComplete','aFLXt','DVkhS','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','JTaVS','push','YpDhl','qSBNY','../../helpers/test-observability/utils','SPVry','--config','launch','length','argv','tjZWd','Error\x20in\x20generating\x20parallellised\x20config\x20for\x20playwright:\x20','xyinp','reporter','Getting\x20your\x20playwright\x20config\x20from\x20','jgVeV','homedir','5460433zKsfYx','Error\x20in\x20deleting\x20playwright\x20results','TKrGX','10IJLDxV','platforms','unlinkSync','concat','Qcvvb','npx','1XPPqjM','globalSetup','string','SPwaQ','win32','eUxrB','readFileSync','BrowserStack\x20config\x20file\x20not\x20found.','has','iyzWC','YjoXb','xTttk','get','child_process','playwright','eXYDJ','ygxuh','../../helpers/test-observability/sessionHandler','automation','Jxlef','finalExecution','testDir','skipSessionName','xbSNp','map','USER_CONFIG_DETAILS_PATH','getPackageType','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20ID:\x20','testIgnore','\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();','WXSAs','Deleting\x20','WganJ','cwd','isTrue','clearTempPWConfig','MFZxC','tYMWj','3mUkOnl','includes','inherit','fypKq','wtkUi','mCqfZ','_internal','QSmnH','FxJQa','PLAYWRIGHT','BQfuj','egkvv','split','240006qhZTgu','./reporter/reporter.js'];a33_0x5e7c=function(){return _0x20098c;};return a33_0x5e7c();}const a33_0xef5e9c=a33_0x46be;(function(_0x2105f4,_0x29cc3e){const _0x2e946e=a33_0x46be,_0x25e642=_0x2105f4();while(!![]){try{const _0x2dc9a2=-parseInt(_0x2e946e(0x21a))/0x1*(parseInt(_0x2e946e(0x177))/0x2)+parseInt(_0x2e946e(0x16a))/0x3*(-parseInt(_0x2e946e(0x188))/0x4)+parseInt(_0x2e946e(0x1f2))/0x5*(parseInt(_0x2e946e(0x1ce))/0x6)+-parseInt(_0x2e946e(0x190))/0x7+-parseInt(_0x2e946e(0x197))/0x8+parseInt(_0x2e946e(0x1ea))/0x9+-parseInt(_0x2e946e(0x214))/0xa*(-parseInt(_0x2e946e(0x211))/0xb);if(_0x2dc9a2===_0x29cc3e)break;else _0x25e642['push'](_0x25e642['shift']());}catch(_0x611991){_0x25e642['push'](_0x25e642['shift']());}}}(a33_0x5e7c,0x2fe5d));const fs=require('fs'),path=require(a33_0xef5e9c(0x1e5)),os=require('os'),{spawn}=require(a33_0xef5e9c(0x151)),{format}=require(a33_0xef5e9c(0x1bf)),logger=require(a33_0xef5e9c(0x191))[a33_0xef5e9c(0x1d9)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a33_0xef5e9c(0x1b9)),constants=require(a33_0xef5e9c(0x1d6)),{FRAMEWORKS}=require(a33_0xef5e9c(0x17d)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a33_0xef5e9c(0x179)),{CrashReporter,o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),{getFrameworkVersion}=require(a33_0xef5e9c(0x204)),{createAccessibilityTestRun,stopAccessibilityTestRun,checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a33_0xef5e9c(0x1b6)),SessionHandler=require(a33_0xef5e9c(0x155));async function requireOrImportDefaultObject(_0x570e2d){const _0x2318d7=a33_0xef5e9c,_0xfdd3d1={'Jxlef':function(_0x59e7a9){return _0x59e7a9();},'nkPVL':function(_0x519a2a,_0x1db401){return _0x519a2a(_0x1db401);},'rBFGS':function(_0xc0b247,_0x103bb7){return _0xc0b247===_0x103bb7;},'HewQo':_0x2318d7(0x1f4),'wlqwD':function(_0x70f940,_0x4bd9fb){return _0x70f940 in _0x4bd9fb;},'VapCK':_0x2318d7(0x1af)},{requireOrImport:_0x4276b3}=helper[_0x2318d7(0x1aa)][_0x2318d7(0x1da)](null,_0xfdd3d1[_0x2318d7(0x157)](getTransformPath));let _0x366729=await _0xfdd3d1[_0x2318d7(0x1d4)](_0x4276b3,_0x570e2d);return _0x366729&&_0xfdd3d1['rBFGS'](typeof _0x366729,_0xfdd3d1[_0x2318d7(0x1c7)])&&_0xfdd3d1[_0x2318d7(0x196)](_0xfdd3d1[_0x2318d7(0x195)],_0x366729)&&(_0x366729=_0x366729[_0xfdd3d1[_0x2318d7(0x195)]]),_0x366729;}const getUserPlaywrightConfig=async(_0x48b237,_0x35e0ea)=>{const _0x5d0b0f=a33_0xef5e9c,_0x1d7265={'eBvht':function(_0x4b59e0){return _0x4b59e0();},'PlPVS':function(_0x2417e4,_0x112572){return _0x2417e4(_0x112572);},'ccmba':'Error\x20in\x20importing\x20your\x20playwright\x20config:\x20','PDNiz':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','kQEQw':_0x5d0b0f(0x19b)},_0x131250=!helper['isUndefined'](_0x48b237[_0x5d0b0f(0x1b5)]),_0x3f3ebd=_0x131250?path[_0x5d0b0f(0x1f1)](process[_0x5d0b0f(0x165)](),_0x48b237['config']):process[_0x5d0b0f(0x165)](),{resolveConfigFile:_0x35b496}=helper['requirePWModule']['apply'](null,_0x1d7265['eBvht'](getConfigLoaderPath)),_0x166b80=_0x1d7265['PlPVS'](_0x35b496,_0x3f3ebd);let _0x5abacc={};if(_0x166b80){logger[_0x5d0b0f(0x19d)](_0x5d0b0f(0x20e)+_0x166b80);try{_0x5abacc=await _0x1d7265[_0x5d0b0f(0x1c8)](requireOrImportDefaultObject,_0x166b80);}catch(_0x5b0be6){return logger[_0x5d0b0f(0x1a2)](_0x1d7265['ccmba'],_0x5b0be6),null;}}else logger[_0x5d0b0f(0x19d)](_0x1d7265[_0x5d0b0f(0x19c)]);if(_0x131250){const _0x4e754e=_0x35e0ea[_0x5d0b0f(0x1d0)](_0x425ff2=>_0x425ff2==='--config'||_0x425ff2==='-c'||_0x425ff2[_0x5d0b0f(0x1b3)]('--config='));_0x35e0ea[_0x5d0b0f(0x1c6)](_0x4e754e,_0x35e0ea[_0x4e754e]['startsWith'](_0x1d7265['kQEQw'])?0x1:0x2);}const _0x1197e0={};return _0x1197e0['path']=_0x166b80,_0x1197e0[_0x5d0b0f(0x1b5)]=_0x5abacc,_0x1197e0;},setGlobalSetup=(_0x60e349,_0x4dc089)=>{const _0x3ff685=a33_0xef5e9c,_0x196cb1={'LAiJV':_0x3ff685(0x21b),'JTaVS':'Can\x27t\x20get\x20user\x20defined\x20global\x20setup\x20file','guYXT':function(_0xa7bf2b,_0x14f048){return _0xa7bf2b+_0x14f048;},'nDYEJ':'Error\x20in\x20running\x20user\x20global\x20setup\x20for\x20playwright','CDGrW':function(_0x2da745,_0x24eb5f){return _0x2da745(_0x24eb5f);},'wtkUi':_0x3ff685(0x1b7)};if(!_0x60e349)return![];try{if(_0x60e349[_0x3ff685(0x21b)]){let _0x35c1c8;const _0x5c6c92=path[_0x3ff685(0x1f1)](_0x4dc089,_0x60e349[_0x196cb1[_0x3ff685(0x193)]]);if(fs['existsSync'](_0x5c6c92))_0x35c1c8=_0x5c6c92;else{const _0x18c341={};_0x18c341[_0x3ff685(0x1a1)]=[_0x4dc089],_0x35c1c8=require[_0x3ff685(0x1f1)](_0x60e349[_0x196cb1[_0x3ff685(0x193)]],_0x18c341);}if(!_0x35c1c8)throw new Error(_0x196cb1[_0x3ff685(0x200)]);process['env'][_0x3ff685(0x1ff)]=_0x35c1c8;}}catch(_0x546f06){logger['error'](_0x196cb1[_0x3ff685(0x18b)](_0x196cb1[_0x3ff685(0x1e8)],_0x196cb1[_0x3ff685(0x1ee)](format,_0x546f06)));}return _0x60e349['globalSetup']=require[_0x3ff685(0x1f1)](_0x196cb1[_0x3ff685(0x16e)]),!![];},addReporter=_0x1e8638=>{const _0x5b00db=a33_0xef5e9c,_0x30b8c3={};_0x30b8c3[_0x5b00db(0x1eb)]=_0x5b00db(0x178),_0x30b8c3[_0x5b00db(0x19a)]=_0x5b00db(0x20d),_0x30b8c3[_0x5b00db(0x169)]=function(_0x315fbe,_0x36f280){return _0x315fbe===_0x36f280;},_0x30b8c3[_0x5b00db(0x1ad)]=_0x5b00db(0x21c),_0x30b8c3[_0x5b00db(0x1a4)]=_0x5b00db(0x1f4);const _0x293be5=_0x30b8c3,_0x36997b=path['join'](__dirname,_0x293be5[_0x5b00db(0x1eb)]),_0x44eaf7=[_0x36997b];if(helper[_0x5b00db(0x17f)](_0x1e8638[_0x293be5[_0x5b00db(0x19a)]]))_0x1e8638[_0x293be5[_0x5b00db(0x19a)]]=[_0x44eaf7];else{if(_0x293be5[_0x5b00db(0x169)](typeof _0x1e8638[_0x293be5['HFMhM']],_0x293be5['vSvSY']))_0x1e8638[_0x293be5[_0x5b00db(0x19a)]]=[[_0x1e8638[_0x293be5[_0x5b00db(0x19a)]]],_0x44eaf7];else _0x293be5[_0x5b00db(0x169)](typeof _0x1e8638[_0x293be5[_0x5b00db(0x19a)]],_0x293be5[_0x5b00db(0x1a4)])&&_0x1e8638[_0x293be5['HFMhM']]['push'](_0x44eaf7);}},handleO11yRerun=_0x1521c=>{const _0x336680=a33_0xef5e9c,_0x5d8ce7={};_0x5d8ce7[_0x336680(0x18e)]=function(_0x489ab7,_0xf3ac7d){return _0x489ab7!==_0xf3ac7d;},_0x5d8ce7['QFBMi']=_0x336680(0x1d5),_0x5d8ce7['wRisa']='--grep';const _0xf37157=_0x5d8ce7,_0x46d6e9=helper[_0x336680(0x166)](process[_0x336680(0x1e9)]['BROWSERSTACK_RERUN']);if(_0x46d6e9){const _0x21859f=process[_0x336680(0x1e9)][_0x336680(0x185)],_0x237d91=[];if(_0xf37157[_0x336680(0x18e)](_0x21859f,_0xf37157[_0x336680(0x1b0)])&&!helper[_0x336680(0x17f)](_0x21859f)){_0x21859f[_0x336680(0x176)](',')[_0x336680(0x15c)](_0x427b86=>{const _0x3ba507=_0x336680;_0x237d91[_0x3ba507(0x201)]('('+_0x427b86[_0x3ba507(0x1f7)]()+')');});const _0x41dae2='^'+_0x237d91['join']('|')+'$';_0x1521c['push'](_0xf37157[_0x336680(0x1f0)],_0x41dae2);}}},spawnOriginalProcess=_0x39a0a6=>{const _0x2f8e30=a33_0xef5e9c,_0x2e19ca={'KfhpN':function(_0x19612c,_0x35a2c2,_0x391e7d,_0x16fab4){return _0x19612c(_0x35a2c2,_0x391e7d,_0x16fab4);},'lvgku':_0x2f8e30(0x219),'xbSNp':_0x2f8e30(0x152),'Qcvvb':function(_0x3f8fe3,_0x229a44){return _0x3f8fe3===_0x229a44;},'coqSP':'win32','cLeFM':_0x2f8e30(0x16c)};_0x2e19ca[_0x2f8e30(0x1c1)](spawn,_0x2e19ca[_0x2f8e30(0x199)],[_0x2e19ca[_0x2f8e30(0x15b)],..._0x39a0a6[_0x2f8e30(0x1b8)](0x1)],{'shell':_0x2e19ca[_0x2f8e30(0x218)](process[_0x2f8e30(0x180)],_0x2e19ca[_0x2f8e30(0x1f5)]),'stdio':_0x2e19ca[_0x2f8e30(0x19f)],'cwd':process[_0x2f8e30(0x165)]()});},isTestCommand=(_0x5d66e3,_0x3b3efa)=>{const _0x351995=a33_0xef5e9c,_0xa5fc75={};_0xa5fc75[_0x351995(0x1fd)]=function(_0x166eb7,_0x16a5bf){return _0x166eb7>_0x16a5bf;},_0xa5fc75['SHPoS']=function(_0x3763bb,_0x32f6d1){return _0x3763bb===_0x32f6d1;},_0xa5fc75[_0x351995(0x174)]='test';const _0x1ef366=_0xa5fc75;if(_0x1ef366[_0x351995(0x1fd)](_0x3b3efa[_0x351995(0x208)],0x1)&&_0x1ef366[_0x351995(0x17b)](_0x3b3efa[0x1],_0x1ef366[_0x351995(0x174)]))return!![];return![];},initO11yCrashReporter=(_0x45fed6,_0x2f0b07)=>{const _0x133ce2=a33_0xef5e9c,_0x339143={'DVkhS':function(_0x442be3,_0x16c43d){return _0x442be3(_0x16c43d);}},_0x351049={'frameworkName':FRAMEWORKS[_0x133ce2(0x173)],'frameworkVersion':_0x339143[_0x133ce2(0x1fe)](getFrameworkVersion,FRAMEWORKS[_0x133ce2(0x173)])};CrashReporter[_0x133ce2(0x1be)](_0x351049,_0x45fed6,_0x2f0b07);},launchO11ySession=o11yErrorHandler(async function launchO11ySession(_0x1dd586){const _0x373eb4=a33_0xef5e9c,_0x1176ab={};_0x1176ab['tjZWd']=function(_0x2ed6d6,_0x226038){return _0x2ed6d6>_0x226038;},_0x1176ab[_0x373eb4(0x14d)]=function(_0x9ad527,_0x11e642){return _0x9ad527===_0x11e642;};const _0x153b6c=_0x1176ab;if(!_0x1dd586||_0x153b6c[_0x373eb4(0x20a)](_0x1dd586[_0x373eb4(0x208)],0x1)&&_0x153b6c['iyzWC'](_0x1dd586[0x0],null))return process[_0x373eb4(0x1e9)]['BROWSERSTACK_TEST_OBSERVABILITY']=![],![];return!![];});function a33_0x46be(_0x47b3c8,_0xa0b5a4){const _0x5e7c8a=a33_0x5e7c();return a33_0x46be=function(_0x46bec3,_0x1a14ad){_0x46bec3=_0x46bec3-0x14b;let _0x42eceb=_0x5e7c8a[_0x46bec3];return _0x42eceb;},a33_0x46be(_0x47b3c8,_0xa0b5a4);}async function run(_0x4b9f9c,_0x4a258a){const _0x3095d1=a33_0xef5e9c,_0x4ecbac={'ElagB':_0x3095d1(0x1cd),'hBVTX':_0x3095d1(0x1a0),'xyinp':function(_0x4b6e28,_0x10faa8){return _0x4b6e28+_0x10faa8;},'bFTeu':_0x3095d1(0x186),'EzaHa':_0x3095d1(0x184),'BhQfc':function(_0x153e7f,_0x2926dc){return _0x153e7f(_0x2926dc);},'zYHqS':function(_0x1724ad){return _0x1724ad();},'xTttk':function(_0x351b21,_0x4f53bc){return _0x351b21+_0x4f53bc;},'WXSAs':_0x3095d1(0x1ec),'nFmHg':_0x3095d1(0x18d),'Dzwbe':'false','ajiSV':'--disable-test-observability','EcNBU':function(_0x2a77a3,_0x4eab36){return _0x2a77a3>=_0x4eab36;},'SPVry':function(_0x4f38b1,_0x343eda){return _0x4f38b1+_0x343eda;},'IZHUg':_0x3095d1(0x212),'YedTc':function(_0x109481,_0x23896a,_0x32dc31){return _0x109481(_0x23896a,_0x32dc31);},'eUxrB':function(_0x318369,_0x406e2d){return _0x318369(_0x406e2d);},'egkvv':_0x3095d1(0x14b),'VnWYo':_0x3095d1(0x156),'QggeP':function(_0x12f11f,_0x4d121f){return _0x12f11f!=_0x4d121f;},'jgVeV':function(_0x1e55a6,_0x229e12){return _0x1e55a6(_0x229e12);},'xhaRI':function(_0x12df52,_0x1b84af){return _0x12df52(_0x1b84af);},'TIrQj':function(_0x5bb419,_0xe3a81c){return _0x5bb419(_0xe3a81c);},'nobtw':_0x3095d1(0x192),'XiKIs':function(_0x315445,_0x32a12){return _0x315445(_0x32a12);},'ZRzKH':_0x3095d1(0x1ca),'voOdN':function(_0x1b4a05,_0x18c4e2){return _0x1b4a05===_0x18c4e2;},'SPwaQ':_0x3095d1(0x1bc),'YjoXb':_0x3095d1(0x1d1),'YpDhl':function(_0x43f7aa,_0x3fd22a){return _0x43f7aa(_0x3fd22a);},'FxJQa':_0x3095d1(0x1df),'mCqfZ':function(_0x54d064){return _0x54d064();},'ygxuh':_0x3095d1(0x159),'qSBNY':_0x3095d1(0x1d8),'ClgWH':_0x3095d1(0x160),'NeUDA':function(_0x26a928,_0x2439b1){return _0x26a928+_0x2439b1;},'MFZxC':_0x3095d1(0x20b),'lbFSC':function(_0x10dc59,_0x27de04){return _0x10dc59(_0x27de04);},'oCiIB':function(_0x3fc58e,_0x43cbb4){return _0x3fc58e===_0x43cbb4;},'fypKq':_0x3095d1(0x1f3),'TrWMK':'playwright-browserstack-sdk.config.js','apmhw':function(_0x5539d6,_0x257ebe){return _0x5539d6>_0x257ebe;},'ZpgYz':function(_0x11e0e9,_0x423343,_0x302646,_0x29b0be){return _0x11e0e9(_0x423343,_0x302646,_0x29b0be);},'QSmnH':_0x3095d1(0x219),'Xcurm':_0x3095d1(0x152),'TKrGX':_0x3095d1(0x1c9),'FpiMx':_0x3095d1(0x206),'Iylit':function(_0x511f9f,_0x64e8a7){return _0x511f9f===_0x64e8a7;},'WganJ':_0x3095d1(0x21e),'ERjqZ':_0x3095d1(0x16c),'eXYDJ':_0x3095d1(0x18a)};!helper['isFalse'](process[_0x3095d1(0x1e9)][_0x3095d1(0x1fa)])&&(process[_0x3095d1(0x1e9)]['BROWSERSTACK_AUTOMATION']=!![]);process[_0x3095d1(0x209)][_0x3095d1(0x16b)](_0x4ecbac[_0x3095d1(0x1f8)])&&(process[_0x3095d1(0x1e9)][_0x3095d1(0x1fa)]=_0x4ecbac[_0x3095d1(0x1e4)],_0x4a258a=_0x4a258a[_0x3095d1(0x198)](_0x19c572=>_0x19c572!==_0x3095d1(0x18d)));const _0x35b732=_0x4a258a[_0x3095d1(0x1ae)](_0x4ecbac['ajiSV']);_0x4ecbac['EcNBU'](_0x35b732,0x0)&&(process['env'][_0x3095d1(0x1ef)]=_0x4ecbac[_0x3095d1(0x1e4)],_0x4a258a=_0x4a258a[_0x3095d1(0x198)](_0x2c2235=>_0x2c2235!=='--disable-test-observability'));try{const _0x1e4b7a=path[_0x3095d1(0x1c2)](helper[_0x3095d1(0x210)](),_0x4ecbac[_0x3095d1(0x1a8)],_0x4ecbac[_0x3095d1(0x1c3)]);fs[_0x3095d1(0x1a9)](_0x1e4b7a)&&fs[_0x3095d1(0x216)](_0x1e4b7a);}catch(_0x4e211a){logger[_0x3095d1(0x187)](_0x4ecbac[_0x3095d1(0x205)](_0x4ecbac[_0x3095d1(0x1a5)],_0x4e211a));}if(!_0x4ecbac[_0x3095d1(0x1a3)](isTestCommand,_0x4b9f9c,_0x4a258a)){_0x4ecbac[_0x3095d1(0x21f)](spawnOriginalProcess,_0x4a258a);return;}const _0x2fc386=new BrowserStackSetup(_0x4b9f9c,FRAMEWORKS[_0x3095d1(0x173)]);if(!_0x2fc386[_0x3095d1(0x1b5)]){logger[_0x3095d1(0x1a2)](_0x4ecbac[_0x3095d1(0x175)]);return;}await _0x2fc386[_0x3095d1(0x1be)]();!helper[_0x3095d1(0x17f)](_0x2fc386[_0x3095d1(0x1e3)])&&_0x2fc386['cliConfig'][_0x3095d1(0x14c)](_0x4ecbac['VnWYo'])&&(process[_0x3095d1(0x1e9)][_0x3095d1(0x1fa)]=_0x2fc386[_0x3095d1(0x1e3)][_0x3095d1(0x150)](_0x4ecbac[_0x3095d1(0x1ed)])||!![]);_0x4ecbac[_0x3095d1(0x182)](_0x2fc386[_0x3095d1(0x1b5)][_0x3095d1(0x1e1)],null)&&!helper['isTrue'](process['env'][_0x3095d1(0x1ef)])&&(process['env'][_0x3095d1(0x1ef)]=process[_0x3095d1(0x1e9)][_0x3095d1(0x1ef)]||_0x2fc386[_0x3095d1(0x1b5)][_0x3095d1(0x1e1)]);const _0x29b220=!helper[_0x3095d1(0x1e6)](process[_0x3095d1(0x1e9)]['BROWSERSTACK_TEST_OBSERVABILITY']);let _0x456314=![];_0x2fc386[_0x3095d1(0x1b5)][_0x3095d1(0x1f9)]&&(_0x456314=!![],process[_0x3095d1(0x1e9)][_0x3095d1(0x1ab)]=_0x2fc386['config'][_0x3095d1(0x1f9)]);_0x2fc386['config'][_0x3095d1(0x1cf)]&&(process[_0x3095d1(0x1e9)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x3095d1(0x183)](_0x2fc386[_0x3095d1(0x1b5)][_0x3095d1(0x1cf)]));const _0x43ab4d=_0x4a258a[_0x3095d1(0x217)](),_0x56bc19=await _0x4ecbac['YedTc'](getUserPlaywrightConfig,_0x4b9f9c,_0x4a258a);if(helper['isUndefined'](_0x56bc19)){_0x4ecbac[_0x3095d1(0x20f)](spawnOriginalProcess,_0x43ab4d);return;}const _0x396644={..._0x56bc19[_0x3095d1(0x1b5)]},_0x4bd899=_0x396644,_0x17d570=_0x56bc19['path']?path[_0x3095d1(0x19e)](_0x56bc19[_0x3095d1(0x1e5)]):process[_0x3095d1(0x165)]();process[_0x3095d1(0x1e9)][_0x3095d1(0x181)]=_0x17d570;if(!_0x4ecbac[_0x3095d1(0x1a3)](setGlobalSetup,_0x4bd899,_0x17d570)){_0x4ecbac[_0x3095d1(0x189)](spawnOriginalProcess,_0x43ab4d);return;}const _0x45e7ce=await SessionHandler[_0x3095d1(0x207)](_0x2fc386[_0x3095d1(0x1b5)],{'frameworkName':FRAMEWORKS[_0x3095d1(0x173)],'frameworkVersion':_0x4ecbac[_0x3095d1(0x18c)](getFrameworkVersion,FRAMEWORKS[_0x3095d1(0x173)])});if(_0x29b220){const _0x119af5=_0x4ecbac[_0x3095d1(0x1d2)][_0x3095d1(0x176)]('|');let _0x3d3ba3=0x0;while(!![]){switch(_0x119af5[_0x3d3ba3++]){case'0':_0x4ecbac[_0x3095d1(0x17c)](addReporter,_0x4bd899);continue;case'1':_0x4ecbac[_0x3095d1(0x1a3)](initO11yCrashReporter,_0x4bd899,_0x2fc386[_0x3095d1(0x1b5)]);continue;case'2':_0x4ecbac[_0x3095d1(0x17c)](handleO11yRerun,_0x4a258a);continue;case'3':logger['info'](_0x4ecbac[_0x3095d1(0x1a7)]);continue;case'4':await _0x4ecbac['TIrQj'](launchO11ySession,_0x45e7ce);continue;}break;}}let _0x383e69=_0x4ecbac['voOdN'](process['env'][_0x3095d1(0x1ab)],_0x4ecbac[_0x3095d1(0x21d)]);_0x383e69=_0x383e69||_0x4ecbac['TIrQj'](checkAccessibilityPlatformConfig,_0x2fc386['config']),process['env'][_0x3095d1(0x1ab)]=_0x383e69;if(_0x383e69){const [_0x3ba3ef,_0x4f2653]=await _0x4ecbac[_0x3095d1(0x1a3)](createAccessibilityTestRun,_0x2fc386[_0x3095d1(0x1b5)],_0x4ecbac[_0x3095d1(0x14e)]);logger['debug'](_0x3095d1(0x15f)+_0x4f2653),process[_0x3095d1(0x1e9)][_0x3095d1(0x1ac)]=_0x3ba3ef,process['env']['BS_A11Y_TEST_RUN_ID']=_0x4f2653,_0x4ecbac[_0x3095d1(0x202)](setAccessibilityCapabilities,_0x2fc386['config']);}(helper[_0x3095d1(0x17f)](_0x2fc386['config']['platforms'])||_0x4ecbac[_0x3095d1(0x1e2)](_0x2fc386['config'][_0x3095d1(0x215)][_0x3095d1(0x208)],0x0))&&(process[_0x3095d1(0x1e9)][_0x3095d1(0x1fa)]=![]);const _0x3afd90=path[_0x3095d1(0x1c2)](_0x56bc19[_0x3095d1(0x1e5)]?path[_0x3095d1(0x19e)](_0x56bc19[_0x3095d1(0x1e5)]):process[_0x3095d1(0x165)](),_0x4ecbac[_0x3095d1(0x172)]);fs[_0x3095d1(0x1f6)](_0x3afd90,helper['serializeToYamlString'](_0x2fc386[_0x3095d1(0x1b5)])),process[_0x3095d1(0x1e9)][_0x3095d1(0x18f)]=_0x3afd90,helper[_0x3095d1(0x167)]();if(helper[_0x3095d1(0x166)](process[_0x3095d1(0x1e9)][_0x3095d1(0x1fa)])){let _0x28c47b=[];try{const _0x2f4a6e=helper[_0x3095d1(0x1aa)][_0x3095d1(0x1da)](null,_0x4ecbac[_0x3095d1(0x16f)](getProjectUtilsPath)),_0x552e40={};_0x552e40[_0x3095d1(0x1de)]=!![],_0x552e40[_0x3095d1(0x159)]='',_0x552e40[_0x3095d1(0x1d8)]='',_0x552e40[_0x3095d1(0x160)]='';const _0xf937b7={};_0xf937b7[_0x3095d1(0x1de)]=!![];const _0x49fde6={};_0x49fde6['project']=_0x552e40,_0x49fde6[_0x3095d1(0x170)]=_0xf937b7;let _0x329b9c=_0x49fde6;_0x4bd899[_0x4ecbac[_0x3095d1(0x154)]]&&(_0x329b9c['project'][_0x4ecbac[_0x3095d1(0x154)]]=_0x4bd899[_0x4ecbac[_0x3095d1(0x154)]]),_0x4bd899[_0x4ecbac[_0x3095d1(0x203)]]&&(_0x329b9c[_0x3095d1(0x1c4)][_0x4ecbac[_0x3095d1(0x203)]]=_0x4bd899[_0x4ecbac[_0x3095d1(0x203)]]),_0x4bd899[_0x4ecbac['ClgWH']]&&(_0x329b9c[_0x3095d1(0x1c4)][_0x4ecbac[_0x3095d1(0x17a)]]=_0x4bd899[_0x4ecbac[_0x3095d1(0x17a)]]),_0x329b9c=Object[_0x3095d1(0x1fb)](_0x329b9c,_0x329b9c['project']),_0x28c47b=await _0x2f4a6e[_0x3095d1(0x1d3)](_0x329b9c);}catch(_0x1024d1){logger['debug'](_0x4ecbac[_0x3095d1(0x1ba)](_0x4ecbac[_0x3095d1(0x168)],_0x4ecbac[_0x3095d1(0x1db)](format,_0x1024d1)));}}let _0x49f701='';_0x4ecbac[_0x3095d1(0x1b2)](helper[_0x3095d1(0x15e)](),constants[_0x3095d1(0x1b4)]['MODULE'])?_0x49f701=_0x4ecbac[_0x3095d1(0x16d)]:_0x49f701=_0x4ecbac[_0x3095d1(0x1b1)];const _0x5e893c=path[_0x3095d1(0x1c2)](_0x56bc19[_0x3095d1(0x1e5)]?path['dirname'](_0x56bc19[_0x3095d1(0x1e5)]):process[_0x3095d1(0x165)](),_0x49f701);let _0x23a2c5=_0x56bc19['path']?_0x56bc19['path']:'';_0x23a2c5=_0x4ecbac['apmhw'](_0x23a2c5[_0x3095d1(0x208)],0x0)?path[_0x3095d1(0x1f1)](_0x23a2c5):'',process['env'][_0x3095d1(0x15d)]=_0x23a2c5;let _0x185241=_0x3095d1(0x1bb);const _0x3278d8=helper[_0x3095d1(0x1bd)](_0x2fc386[_0x3095d1(0x1b5)]);_0x3278d8&&(_0x185241=_0x4ecbac[_0x3095d1(0x1ba)](_0x3095d1(0x1cb)+_0x3278d8+_0x3095d1(0x161),_0x185241));helper[_0x3095d1(0x1d7)]({},_0x4a258a),fs[_0x3095d1(0x1f6)](_0x5e893c,_0x185241),helper[_0x3095d1(0x1fc)]();const _0x596522=_0x4ecbac['ZpgYz'](spawn,_0x4ecbac[_0x3095d1(0x171)],[_0x4ecbac['Xcurm'],_0x4ecbac[_0x3095d1(0x213)],_0x4ecbac['FpiMx'],_0x5e893c,..._0x4a258a['slice'](0x2)],{'shell':_0x4ecbac[_0x3095d1(0x1a6)](process[_0x3095d1(0x180)],_0x4ecbac[_0x3095d1(0x164)]),'stdio':_0x4ecbac[_0x3095d1(0x1e7)],'cwd':process[_0x3095d1(0x165)](),'env':Object[_0x3095d1(0x1fb)]({},process[_0x3095d1(0x1e9)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x4b9f9c),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x2fc386['config'][_0x3095d1(0x1c0)][_0x3095d1(0x194)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x2fc386[_0x3095d1(0x1b5)][_0x3095d1(0x1c0)][_0x3095d1(0x15a)],'BROWSERSTACK_LOG_LEVEL':_0x2fc386[_0x3095d1(0x1b5)][_0x3095d1(0x1cc)]})}),_0x8d161f=()=>{const _0x1dbc36=_0x3095d1;try{const _0x5aad50=path[_0x1dbc36(0x1c2)](helper[_0x1dbc36(0x210)](),_0x4ecbac[_0x1dbc36(0x1a8)],_0x4ecbac[_0x1dbc36(0x1c3)]);if(fs[_0x1dbc36(0x1a9)](_0x5aad50)){let _0x472683=fs[_0x1dbc36(0x220)](_0x5aad50);_0x472683=JSON[_0x1dbc36(0x1dd)](_0x472683),_0x2fc386['errorMessage']=_0x472683,fs['unlinkSync'](_0x5aad50);}}catch(_0x51745b){logger['debug'](_0x4ecbac[_0x1dbc36(0x20c)](_0x4ecbac[_0x1dbc36(0x1e0)],_0x51745b));}};_0x596522['on'](_0x4ecbac[_0x3095d1(0x153)],async _0x18f14f=>{const _0x31ba28=_0x3095d1;try{const _0x2054ea=_0x4ecbac['EzaHa'][_0x31ba28(0x176)]('|');let _0x32ea1e=0x0;while(!![]){switch(_0x2054ea[_0x32ea1e++]){case'0':fs['unlinkSync'](_0x5e893c);continue;case'1':logger[_0x31ba28(0x19d)](_0x31ba28(0x163)+_0x5e893c);continue;case'2':await _0x4ecbac[_0x31ba28(0x1dc)](stopAccessibilityTestRun,_0x2fc386[_0x31ba28(0x1b5)]);continue;case'3':logger[_0x31ba28(0x187)]('Playwright\x20process\x20exited\x20with\x20code\x20'+_0x18f14f);continue;case'4':logger[_0x31ba28(0x187)]('Deleting\x20'+_0x3afd90);continue;case'5':fs[_0x31ba28(0x216)](_0x3afd90);continue;case'6':_0x4ecbac[_0x31ba28(0x17e)](_0x8d161f);continue;case'7':process[_0x31ba28(0x1c5)]=_0x18f14f;continue;case'8':await helper[_0x31ba28(0x158)](_0x2fc386);continue;}break;}}catch(_0x293189){logger['debug'](_0x4ecbac[_0x31ba28(0x14f)](_0x4ecbac[_0x31ba28(0x162)],_0x293189));}});}module['exports']=run;
@@ -1 +1 @@
1
- const a34_0x627fd0=a34_0xbebe;(function(_0x11b19b,_0xfa5975){const _0x40ca28=a34_0xbebe,_0x583550=_0x11b19b();while(!![]){try{const _0x5dd8f1=-parseInt(_0x40ca28(0xae))/0x1+parseInt(_0x40ca28(0xa4))/0x2*(parseInt(_0x40ca28(0xac))/0x3)+parseInt(_0x40ca28(0xab))/0x4+-parseInt(_0x40ca28(0xa6))/0x5+-parseInt(_0x40ca28(0xc3))/0x6*(parseInt(_0x40ca28(0xcb))/0x7)+-parseInt(_0x40ca28(0xad))/0x8+-parseInt(_0x40ca28(0xb7))/0x9*(-parseInt(_0x40ca28(0xa8))/0xa);if(_0x5dd8f1===_0xfa5975)break;else _0x583550['push'](_0x583550['shift']());}catch(_0x36ddfb){_0x583550['push'](_0x583550['shift']());}}}(a34_0x442b,0x1cb03));function a34_0xbebe(_0xa95086,_0x15e379){const _0x442b0d=a34_0x442b();return a34_0xbebe=function(_0xbebe2b,_0x255ffd){_0xbebe2b=_0xbebe2b-0xa3;let _0x409541=_0x442b0d[_0xbebe2b];return _0x409541;},a34_0xbebe(_0xa95086,_0x15e379);}const child_process=require('child_process'),{FRAMEWORKS}=require(a34_0x627fd0(0xaf)),{getFrameworkVersion,debug}=require(a34_0x627fd0(0xcf)),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require(a34_0x627fd0(0xb6)),logger=require(a34_0x627fd0(0xb8))[a34_0x627fd0(0xbd)];function a34_0x442b(){const _0x20f41=['oXTRh','1370AaXWku','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','Path\x20','371876ACpzBN','15cmsFCW','1436968lCPSfP','22872olNqcW','../../helpers/test-observability/constants','function','WGyKu','resolve','exports','AVpue','includes','./reporter/pwUtils','26595ZZhuIJ','../../helpers/logger','\x20is\x20not\x20found','GlPIY','PeVSq','env','winstonLogger','./mock-process.js','kEuuN','Call\x20to\x20child\x20fork\x20with\x20args\x20','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','compareVersions','138KOSLgD','PLAYWRIGHT','RtQue','ShNDT','GaGko','toString','OWjyN','hOUET','28889WWxEMt','fork','1.33.0','config','../../helpers/test-observability/utils','VjRDh','53068TETQKk','apply','1077765FqARtV'];a34_0x442b=function(){return _0x20f41;};return a34_0x442b();}module[a34_0x627fd0(0xb3)]=async function(_0x36c1a7){const _0x5f96f=a34_0x627fd0,_0x14f408={'kEuuN':function(_0xc211d0,_0x48ae07){return _0xc211d0(_0x48ae07);},'uOTLE':function(_0x2cd49e){return _0x2cd49e();},'hOUET':_0x5f96f(0xbe),'VjRDh':function(_0x202495){return _0x202495();},'oXTRh':function(_0x394887,_0x1192e7){return _0x394887(_0x1192e7);},'ShNDT':'Running\x20existing\x20global\x20setup','OWjyN':function(_0x440dc4){return _0x440dc4();},'RtQue':function(_0x5cc0cd,_0xaf11ff){return _0x5cc0cd>=_0xaf11ff;},'PeVSq':_0x5f96f(0xcd),'AVpue':function(_0x451d3a,_0x348f04,_0x4768f9){return _0x451d3a(_0x348f04,_0x4768f9);},'WGyKu':function(_0x306b5e,_0x4bdfd9){return _0x306b5e!==_0x4bdfd9;},'GlPIY':_0x5f96f(0xb0),'GaGko':'Not\x20able\x20to\x20import\x20globalSetup'},_0x53ce14=child_process[_0x5f96f(0xcc)];child_process[_0x5f96f(0xcc)]=function(){const _0x2c5c07=_0x5f96f;return _0x14f408[_0x2c5c07(0xbf)](debug,_0x2c5c07(0xc0)+arguments[0x0]),arguments[0x0][_0x2c5c07(0xb5)](_0x14f408['uOTLE'](getForkProcessPath))?arguments[0x0]=require[_0x2c5c07(0xb2)](_0x14f408[_0x2c5c07(0xca)]):logger['error'](_0x2c5c07(0xaa)+_0x14f408[_0x2c5c07(0xa3)](getForkProcessPath)+_0x2c5c07(0xb9)),_0x53ce14['apply'](null,arguments);};if(process[_0x5f96f(0xbc)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']){_0x14f408[_0x5f96f(0xa7)](debug,_0x14f408[_0x5f96f(0xc6)]);try{const {loadGlobalHook:_0xb8d03b}=helper['requirePWModule'][_0x5f96f(0xa5)](null,_0x14f408[_0x5f96f(0xc9)](getLoadUtilsPath)),_0x130938=_0x14f408['oXTRh'](getFrameworkVersion,FRAMEWORKS[_0x5f96f(0xc4)]);let _0x199e14=_0x36c1a7;if(_0x14f408[_0x5f96f(0xc5)](helper[_0x5f96f(0xc2)](_0x130938,_0x14f408[_0x5f96f(0xbb)]),0x0)){const _0x1f82a7={};_0x1f82a7[_0x5f96f(0xce)]=_0x36c1a7,_0x199e14=_0x1f82a7;}const _0x95f436=await _0x14f408[_0x5f96f(0xb4)](_0xb8d03b,_0x199e14,process[_0x5f96f(0xbc)][_0x5f96f(0xa9)]);if(_0x14f408[_0x5f96f(0xb1)](typeof _0x95f436,_0x14f408[_0x5f96f(0xba)]))throw new Error(_0x14f408[_0x5f96f(0xc7)]);return _0x95f436['apply'](null,arguments);}catch(_0x301af5){_0x14f408[_0x5f96f(0xa7)](debug,_0x5f96f(0xc1)+_0x301af5[_0x5f96f(0xc8)]());}}};
1
+ const a34_0x748370=a34_0x5280;function a34_0x46fb(){const _0x37a0aa=['PAqHh','427480Jebqtm','../../helpers/helper','Path\x20','IxMmO','winstonLogger','./mock-process.js','function','FkbUD','../../helpers/test-observability/utils','hBPtD','Call\x20to\x20child\x20fork\x20with\x20args\x20','803268EgzUyk','Running\x20existing\x20global\x20setup','yyKpm','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','12siSrQf','4GGKNIr','upgft','../../helpers/logger','63SnFrri','resolve','fork','18551CzuiDj','requirePWModule','./reporter/pwUtils','toString','env','937634MdDrEu','vorDY','140077lNmjXx','PLAYWRIGHT','2581728sQMWzu','JdjWq','MJHHT','apply','2361865PwkmqO','1.33.0'];a34_0x46fb=function(){return _0x37a0aa;};return a34_0x46fb();}function a34_0x5280(_0x314f11,_0x1952f6){const _0x46fbd9=a34_0x46fb();return a34_0x5280=function(_0x52807b,_0x292843){_0x52807b=_0x52807b-0x78;let _0x131ac9=_0x46fbd9[_0x52807b];return _0x131ac9;},a34_0x5280(_0x314f11,_0x1952f6);}(function(_0x4d030a,_0x8c822){const _0x17697f=a34_0x5280,_0x36b67b=_0x4d030a();while(!![]){try{const _0x17c3c1=parseInt(_0x17697f(0x7e))/0x1+parseInt(_0x17697f(0x83))/0x2+parseInt(_0x17697f(0x99))/0x3+-parseInt(_0x17697f(0x78))/0x4*(parseInt(_0x17697f(0x8b))/0x5)+parseInt(_0x17697f(0x9d))/0x6*(-parseInt(_0x17697f(0x85))/0x7)+parseInt(_0x17697f(0x87))/0x8+parseInt(_0x17697f(0x7b))/0x9*(-parseInt(_0x17697f(0x8e))/0xa);if(_0x17c3c1===_0x8c822)break;else _0x36b67b['push'](_0x36b67b['shift']());}catch(_0x363245){_0x36b67b['push'](_0x36b67b['shift']());}}}(a34_0x46fb,0x40fe1));const child_process=require('child_process'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getFrameworkVersion,debug}=require(a34_0x748370(0x96)),helper=require(a34_0x748370(0x8f)),{getLoadUtilsPath,getForkProcessPath}=require(a34_0x748370(0x80)),logger=require(a34_0x748370(0x7a))[a34_0x748370(0x92)];module['exports']=async function(_0x338609){const _0x4b2ff4=a34_0x748370,_0x53f344={'upgft':function(_0xa06901,_0x448ab4){return _0xa06901(_0x448ab4);},'MJHHT':function(_0x2bdca8){return _0x2bdca8();},'IxMmO':_0x4b2ff4(0x93),'hBPtD':function(_0x26abfb){return _0x26abfb();},'JdjWq':function(_0x471dec,_0x2ee2b3){return _0x471dec(_0x2ee2b3);},'PAqHh':_0x4b2ff4(0x9a),'xdrQi':function(_0x27c5c6){return _0x27c5c6();},'yyKpm':function(_0x52bd4f,_0x3942f2){return _0x52bd4f>=_0x3942f2;},'vorDY':_0x4b2ff4(0x8c),'FkbUD':function(_0x491273,_0xff355,_0x528289){return _0x491273(_0xff355,_0x528289);},'zAuxt':function(_0x430bda,_0x913e3e){return _0x430bda!==_0x913e3e;},'ncECU':_0x4b2ff4(0x94),'yzubl':'Not\x20able\x20to\x20import\x20globalSetup','adcoF':function(_0x2fb70f,_0x57d263){return _0x2fb70f(_0x57d263);}},_0x51065d=child_process[_0x4b2ff4(0x7d)];child_process['fork']=function(){const _0x3eec14=_0x4b2ff4;return _0x53f344[_0x3eec14(0x79)](debug,_0x3eec14(0x98)+arguments[0x0]),arguments[0x0]['includes'](_0x53f344[_0x3eec14(0x89)](getForkProcessPath))?arguments[0x0]=require[_0x3eec14(0x7c)](_0x53f344[_0x3eec14(0x91)]):logger['error'](_0x3eec14(0x90)+_0x53f344[_0x3eec14(0x97)](getForkProcessPath)+'\x20is\x20not\x20found'),_0x51065d[_0x3eec14(0x8a)](null,arguments);};if(process[_0x4b2ff4(0x82)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']){_0x53f344[_0x4b2ff4(0x88)](debug,_0x53f344[_0x4b2ff4(0x8d)]);try{const {loadGlobalHook:_0x5346a9}=helper[_0x4b2ff4(0x7f)]['apply'](null,_0x53f344['xdrQi'](getLoadUtilsPath)),_0xaab45c=_0x53f344[_0x4b2ff4(0x79)](getFrameworkVersion,FRAMEWORKS[_0x4b2ff4(0x86)]);let _0x203ba1=_0x338609;if(_0x53f344[_0x4b2ff4(0x9b)](helper['compareVersions'](_0xaab45c,_0x53f344[_0x4b2ff4(0x84)]),0x0)){const _0x9f7af8={};_0x9f7af8['config']=_0x338609,_0x203ba1=_0x9f7af8;}const _0x2a4b30=await _0x53f344[_0x4b2ff4(0x95)](_0x5346a9,_0x203ba1,process['env'][_0x4b2ff4(0x9c)]);if(_0x53f344['zAuxt'](typeof _0x2a4b30,_0x53f344['ncECU']))throw new Error(_0x53f344['yzubl']);return _0x2a4b30[_0x4b2ff4(0x8a)](null,arguments);}catch(_0x40b3d7){_0x53f344['adcoF'](debug,'Error\x20in\x20calling\x20existing\x20global\x20setup:\x20'+_0x40b3d7[_0x4b2ff4(0x81)]());}}};