browserstack-node-sdk 1.32.10 → 1.32.12

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_0x3a278c=a28_0x4384;function a28_0x4384(_0x2032b0,_0xf2df9c){const _0x4fca97=a28_0x4fca();return a28_0x4384=function(_0x4384ae,_0x3ea7f5){_0x4384ae=_0x4384ae-0xb2;let _0x53109c=_0x4fca97[_0x4384ae];return _0x53109c;},a28_0x4384(_0x2032b0,_0xf2df9c);}(function(_0x53b0c7,_0x1ee8ec){const _0x3eb7f5=a28_0x4384,_0x1c3b5b=_0x53b0c7();while(!![]){try{const _0x29b57e=parseInt(_0x3eb7f5(0xbc))/0x1+parseInt(_0x3eb7f5(0xba))/0x2+-parseInt(_0x3eb7f5(0xb3))/0x3+parseInt(_0x3eb7f5(0xb4))/0x4+-parseInt(_0x3eb7f5(0xb2))/0x5*(-parseInt(_0x3eb7f5(0xb7))/0x6)+parseInt(_0x3eb7f5(0xbd))/0x7+-parseInt(_0x3eb7f5(0xb9))/0x8;if(_0x29b57e===_0x1ee8ec)break;else _0x1c3b5b['push'](_0x1c3b5b['shift']());}catch(_0x54b2a0){_0x1c3b5b['push'](_0x1c3b5b['shift']());}}}(a28_0x4fca,0x57a8a));const requestSpy=require(a28_0x3a278c(0xb8)),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require(a28_0x3a278c(0xbe));exports[a28_0x3a278c(0xb6)]={'beforeAll'(){const _0x390286={'Zinvg':function(_0x29884f){return _0x29884f();}},_0x48ed9e='browserstack internal helper hook';_0x390286['Zinvg'](addRequestSpy);},'afterAll'(){const _0x40d054=a28_0x3a278c,_0x2685f1='browserstack internal helper hook';this[_0x40d054(0xbb)](0xea60),requestSpy[_0x40d054(0xb5)]();}};function a28_0x4fca(){const _0x49ac18=['1531504aVnzeW','307312cBQDMo','timeout','565197euKJwu','368452mlXFCb','../../../helpers/test-observability/utils','1708980ISGNTm','1843842GGVNyM','207268CKVgun','restore','mochaHooks','6qBeVZR','../../../helpers/request-spy'];a28_0x4fca=function(){return _0x49ac18;};return a28_0x4fca();}
1
+ function a28_0x8f14(_0x1ad859,_0x5d2d7a){const _0x21e5cc=a28_0x21e5();return a28_0x8f14=function(_0x8f14ee,_0x44fcb7){_0x8f14ee=_0x8f14ee-0x6c;let _0x3ef341=_0x21e5cc[_0x8f14ee];return _0x3ef341;},a28_0x8f14(_0x1ad859,_0x5d2d7a);}const a28_0x37a234=a28_0x8f14;function a28_0x21e5(){const _0x27779f=['restore','1658UMAAVp','9450531AKmTde','1471014xHLLQL','8DJLjZg','timeout','5243707fqmMqd','../../../helpers/test-observability/utils','33922180KeDnDs','1413NtwnBY','2636taBNUr','2822889WsHGSK','7115OVDOvN'];a28_0x21e5=function(){return _0x27779f;};return a28_0x21e5();}(function(_0x2e2939,_0xcefd25){const _0x3cee46=a28_0x8f14,_0x6d69b6=_0x2e2939();while(!![]){try{const _0x288bd7=-parseInt(_0x3cee46(0x72))/0x1*(parseInt(_0x3cee46(0x77))/0x2)+-parseInt(_0x3cee46(0x74))/0x3+-parseInt(_0x3cee46(0x73))/0x4*(-parseInt(_0x3cee46(0x75))/0x5)+parseInt(_0x3cee46(0x6c))/0x6+-parseInt(_0x3cee46(0x6f))/0x7*(parseInt(_0x3cee46(0x6d))/0x8)+-parseInt(_0x3cee46(0x78))/0x9+parseInt(_0x3cee46(0x71))/0xa;if(_0x288bd7===_0xcefd25)break;else _0x6d69b6['push'](_0x6d69b6['shift']());}catch(_0x236ed9){_0x6d69b6['push'](_0x6d69b6['shift']());}}}(a28_0x21e5,0xa205c));const requestSpy=require('../../../helpers/request-spy'),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require(a28_0x37a234(0x70));exports['mochaHooks']={'beforeAll'(){const _0x43046f={'VJAwC':function(_0x10af4c){return _0x10af4c();}},_0x588a97='browserstack internal helper hook';_0x43046f['VJAwC'](addRequestSpy);},'afterAll'(){const _0x58256c=a28_0x37a234,_0x30c050='browserstack internal helper hook';this[_0x58256c(0x6e)](0xea60),requestSpy[_0x58256c(0x76)]();}};
@@ -1 +1 @@
1
- const a29_0x455c67=a29_0x38e2;function a29_0x41b3(){const _0x505e7e=['parent','passed','getHooksForTest','forEach','swiez','toJSON','sendPlatformDetails','rLeGf','string','bs:addPlatformDetails:','../../../helpers/test-observability/constants','QUnBA','getCapabilities','5872650DIlIQG','enUIq','_beforeEach','yzjKI','../../utils/logReportingAPI','getSession','nnyVb','pending','AFufK','generic','type','fromEntries','WwpTP','getTestEnv','markedStatus','IXBAL','igPVa','GqRKo','mapTestHooks','6960856zocbbk','_beforeAll','map_','substring','split','_afterAll','Hgffm','getHookDetails','state','hook','tLrlJ','unknown_grid','5264880haTfUZ','uuid','push','getHookSkippedTests','4380414pvRevD','221849LsfNxr','Rxdju','appium:app','GYykK','BZdkU','kgFWg','browserstack','../../../helpers/test-observability/utils','bpFfa','RnsMG','PxmFv','indexOf','1806pmwpWW','1186990zDnfDV','concat','tLarz','5290ieHoTH','../../utils/logPatcher','../../../../package.json','getPlatform','_afterEach','slice','automate','tests','18qRIxrx','reduce','GRfWj','EPSPS','__cloud_provider___','pid','js-','hookAnalyticsId','FPIOI','rlyUU','ElIcb'];a29_0x41b3=function(){return _0x505e7e;};return a29_0x41b3();}(function(_0x161adf,_0x5b905a){const _0x21d47a=a29_0x38e2,_0xd93c78=_0x161adf();while(!![]){try{const _0x2fa139=-parseInt(_0x21d47a(0x1d1))/0x1+-parseInt(_0x21d47a(0x1e1))/0x2*(parseInt(_0x21d47a(0x1dd))/0x3)+parseInt(_0x21d47a(0x1cc))/0x4+-parseInt(_0x21d47a(0x1de))/0x5+parseInt(_0x21d47a(0x1d0))/0x6+-parseInt(_0x21d47a(0x201))/0x7+parseInt(_0x21d47a(0x214))/0x8*(parseInt(_0x21d47a(0x1e9))/0x9);if(_0x2fa139===_0x5b905a)break;else _0xd93c78['push'](_0xd93c78['shift']());}catch(_0x52bbda){_0xd93c78['push'](_0xd93c78['shift']());}}}(a29_0x41b3,0xdac10));const {v4:uuidv4}=require(a29_0x455c67(0x1cd)),{name,version}=require(a29_0x455c67(0x1e3)),logPatcher=require(a29_0x455c67(0x1e2)),BSTestOpsPatcher=new logPatcher({}),logReportingAPI=require(a29_0x455c67(0x205)),BSTestOpsLogger=new logReportingAPI({}),{debug,isTestObservabilitySession,isInternalHook}=require(a29_0x455c67(0x1d8)),{consoleHolder}=require(a29_0x455c67(0x1fe)),{getPlatformVersion}=require('../../../helpers/helper');function a29_0x38e2(_0x22c453,_0x2d2873){const _0x41b3aa=a29_0x41b3();return a29_0x38e2=function(_0x38e252,_0x14c648){_0x38e252=_0x38e252-0x1c2;let _0x221758=_0x41b3aa[_0x38e252];return _0x221758;},a29_0x38e2(_0x22c453,_0x2d2873);}console={},Object['keys'](consoleHolder)[a29_0x455c67(0x1f7)](_0x17efb8=>{console[_0x17efb8]=(..._0x5db5d7)=>{BSTestOpsPatcher[_0x17efb8](..._0x5db5d7);};}),exports[a29_0x455c67(0x20e)]=()=>{const _0x22a61a=a29_0x455c67,_0x3b7f5e={'JjfMT':_0x22a61a(0x20a),'MNFSx':function(_0x127d28){return _0x127d28();}};return{'ci':_0x3b7f5e['JjfMT'],'key':_0x3b7f5e['MNFSx'](uuidv4),'version':version,'collector':_0x22a61a(0x1ef)+name};},exports[a29_0x455c67(0x1c7)]=_0x231e39=>{const _0x17f3a1=a29_0x455c67,_0x467e2f={};_0x467e2f[_0x17f3a1(0x1e0)]=function(_0xddaf7f,_0xdd2d48){return _0xddaf7f!==_0xdd2d48;},_0x467e2f[_0x17f3a1(0x1d6)]=_0x17f3a1(0x1fc),_0x467e2f[_0x17f3a1(0x1c6)]='hook:',_0x467e2f[_0x17f3a1(0x1f2)]=function(_0x48e5a0,_0x124077){return _0x48e5a0!==_0x124077;},_0x467e2f['EPSPS']=_0x17f3a1(0x1c9);const _0x4ee681=_0x467e2f;if(!_0x231e39||_0x4ee681[_0x17f3a1(0x1e0)](typeof _0x231e39,_0x4ee681[_0x17f3a1(0x1d6)]))return[null,null];if(_0x4ee681[_0x17f3a1(0x1e0)](_0x231e39[_0x17f3a1(0x1dc)](_0x4ee681['Hgffm']),-0x1)){const _0x1d978d=_0x231e39[_0x17f3a1(0x1c4)](_0x4ee681['Hgffm']);return[_0x1d978d[0x0][_0x17f3a1(0x1e6)](0x0,-0x1)[_0x17f3a1(0x1c4)]('\x22')[0x1],_0x1d978d[0x1][_0x17f3a1(0x1c3)](0x1)];}else{if(_0x4ee681[_0x17f3a1(0x1f2)](_0x231e39[_0x17f3a1(0x1dc)](_0x4ee681[_0x17f3a1(0x1ec)]),-0x1)){const _0x3aff22=_0x231e39['split'](_0x4ee681['EPSPS']);return[_0x3aff22[0x0][_0x17f3a1(0x1e6)](0x0,-0x1)['split']('\x22')[0x1],_0x231e39];}}return[null,null];},exports[a29_0x455c67(0x1f6)]=_0x3750a8=>{const _0x42419d=a29_0x455c67,_0x627f75={'PxmFv':function(_0x1c2142,_0x555477){return _0x1c2142(_0x555477);},'DdowZ':'_beforeAll','yzjKI':_0x42419d(0x1c5),'Rxdju':_0x42419d(0x203),'UeweZ':_0x42419d(0x1e5)};if(!_0x3750a8||!_0x3750a8[_0x42419d(0x1f4)])return[];const _0x40372b=[];return[_0x627f75['DdowZ'],_0x627f75[_0x42419d(0x204)],_0x627f75[_0x42419d(0x1d2)],_0x627f75['UeweZ']][_0x42419d(0x1f7)](_0x496f3d=>{const _0x4b1177=_0x42419d,_0x157306={'ElIcb':function(_0x15f52d,_0x3dd430){const _0x43ca28=a29_0x38e2;return _0x627f75[_0x43ca28(0x1db)](_0x15f52d,_0x3dd430);}},_0x2612db=_0x3750a8[_0x4b1177(0x1f4)][_0x496f3d]||[];_0x2612db[_0x4b1177(0x1f7)](_0x36fb58=>{const _0x4eaa7c=_0x4b1177;_0x36fb58[_0x4eaa7c(0x1f0)]&&!_0x157306[_0x4eaa7c(0x1f3)](isInternalHook,_0x36fb58['fn'])&&_0x40372b[_0x4eaa7c(0x1ce)](_0x36fb58[_0x4eaa7c(0x1f0)]);});}),[..._0x40372b,...exports[_0x42419d(0x1f6)](_0x3750a8[_0x42419d(0x1f4)])];},exports['mapTestHooks']=_0x584c3c=>{const _0x2a843d=a29_0x455c67,_0x442c9b={'oxQiH':function(_0x42ac8d){return _0x42ac8d();},'CeYhA':function(_0x42a68d,_0x1484a9){return _0x42a68d===_0x1484a9;},'QUnBA':_0x2a843d(0x1e5),'GYykK':_0x2a843d(0x215),'tLrlJ':_0x2a843d(0x1c5),'AFufK':_0x2a843d(0x203)};if(!_0x584c3c||!_0x584c3c[_0x2a843d(0x1f4)])return;[_0x442c9b[_0x2a843d(0x1d4)],_0x442c9b[_0x2a843d(0x1ca)],_0x442c9b[_0x2a843d(0x209)],_0x442c9b['QUnBA']][_0x2a843d(0x1f7)](_0x28a84c=>{const _0x4ce416=_0x2a843d,_0x464198=_0x584c3c[_0x4ce416(0x1f4)][_0x28a84c]||[];_0x464198['forEach'](_0x593745=>{const _0x135331=_0x4ce416;if(!_0x593745[_0x135331(0x1f0)])_0x593745[_0x135331(0x1f0)]=_0x442c9b['oxQiH'](uuidv4);else _0x593745[_0x135331(0x20f)]&&_0x442c9b['CeYhA'](_0x28a84c,_0x442c9b[_0x135331(0x1ff)])&&(_0x593745[_0x135331(0x1f0)]=_0x442c9b['oxQiH'](uuidv4),delete _0x593745[_0x135331(0x20f)]);});}),exports[_0x2a843d(0x213)](_0x584c3c['parent']);},exports[a29_0x455c67(0x1fa)]=async(_0x30c69a,_0x336517)=>{const _0x8438ca=a29_0x455c67,_0x1c99ff={'KepTl':function(_0xb2f378){return _0xb2f378();},'bpFfa':function(_0x20e24d,_0x25ce08){return _0x20e24d===_0x25ce08;},'WwpTP':_0x8438ca(0x1d7),'igPVa':_0x8438ca(0x1d3),'GqRKo':'app','rLeGf':'app-automate','nnyVb':_0x8438ca(0x1e7),'swiez':function(_0x4be144,_0x550170){return _0x4be144(_0x550170);},'nbBfd':_0x8438ca(0x1cb),'GRfWj':'TEST_PLATFORM','enUIq':function(_0xc7999e,_0x168721){return _0xc7999e(_0x168721);}};try{if(!_0x1c99ff['KepTl'](isTestObservabilitySession))return;const _0x5ccd03=await _0x30c69a[_0x8438ca(0x200)](),_0x11e3d8=await _0x30c69a[_0x8438ca(0x206)](),_0x55dff4={},_0x5279d3=Object[_0x8438ca(0x20c)](_0x11e3d8['getCapabilities']()[_0x8438ca(0x1c2)]),_0x4824ee={'product':_0x1c99ff[_0x8438ca(0x1d9)](global['__cloud_provider___'],_0x1c99ff[_0x8438ca(0x20d)])?_0x5279d3[_0x1c99ff[_0x8438ca(0x211)]]||_0x5279d3[_0x1c99ff[_0x8438ca(0x212)]]?_0x1c99ff[_0x8438ca(0x1fb)]:_0x1c99ff[_0x8438ca(0x207)]:null,'capabilities':_0x5279d3,'platform':_0x5ccd03[_0x8438ca(0x1e4)](),'platform_version':_0x1c99ff[_0x8438ca(0x1f8)](getPlatformVersion,_0x1c99ff['bpFfa'](global[_0x8438ca(0x1ed)],_0x1c99ff[_0x8438ca(0x20d)])),'browser':_0x5ccd03['getBrowserName'](),'browser_version':_0x5ccd03['getBrowserVersion'](),'session_id':_0x11e3d8[_0x8438ca(0x1f9)]()};global['__cloud_provider___']?_0x55dff4[global['__cloud_provider___']]=_0x4824ee:_0x55dff4[_0x1c99ff['nbBfd']]=_0x4824ee,process['emit'](_0x8438ca(0x1fd)+process[_0x8438ca(0x1ee)],{'timestamp':new Date()['toISOString'](),'level':null,'message':null,'kind':_0x1c99ff[_0x8438ca(0x1eb)],'http_response':_0x55dff4,'uuid':_0x336517});}catch(_0x14c80f){_0x1c99ff[_0x8438ca(0x202)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x14c80f);}},exports['getHookSkippedTests']=_0x5b2666=>{const _0xe18524=a29_0x455c67,_0x1433b9={};_0x1433b9[_0xe18524(0x1f1)]=function(_0x4aa4f4,_0x3bcd19){return _0x4aa4f4!==_0x3bcd19;},_0x1433b9[_0xe18524(0x210)]=_0xe18524(0x1c9),_0x1433b9['RnsMG']=_0xe18524(0x1f5),_0x1433b9[_0xe18524(0x1d5)]='failed';const _0x46e0c4=_0x1433b9,_0x40eac0=_0x5b2666['suites'][_0xe18524(0x1ea)]((_0x32dbd0,_0x25cbc2)=>{const _0x3ccaf6=_0xe18524,_0xcca37f=exports[_0x3ccaf6(0x1cf)](_0x25cbc2);return _0xcca37f&&(_0x32dbd0=_0x32dbd0[_0x3ccaf6(0x1df)](_0xcca37f)),_0x32dbd0;},[]),_0x5c91ba=_0x5b2666[_0xe18524(0x1e8)]['filter'](_0x31f0a2=>{const _0x1eadd1=_0xe18524,_0x32db7a=_0x46e0c4[_0x1eadd1(0x1f1)](_0x31f0a2[_0x1eadd1(0x20b)],_0x46e0c4[_0x1eadd1(0x210)])&&!_0x31f0a2['markedStatus']&&_0x46e0c4[_0x1eadd1(0x1f1)](_0x31f0a2['state'],_0x46e0c4[_0x1eadd1(0x1da)])&&_0x46e0c4[_0x1eadd1(0x1f1)](_0x31f0a2[_0x1eadd1(0x1c8)],_0x46e0c4[_0x1eadd1(0x1d5)])&&!_0x31f0a2[_0x1eadd1(0x208)];return _0x32db7a;});return _0x5c91ba['concat'](_0x40eac0);};
1
+ const a29_0x2644bb=a29_0x4363;(function(_0x18f0ab,_0x2e768a){const _0x55e056=a29_0x4363,_0xa1db5f=_0x18f0ab();while(!![]){try{const _0x41360c=parseInt(_0x55e056(0x21f))/0x1+-parseInt(_0x55e056(0x213))/0x2*(-parseInt(_0x55e056(0x207))/0x3)+parseInt(_0x55e056(0x22b))/0x4+-parseInt(_0x55e056(0x20f))/0x5*(parseInt(_0x55e056(0x1fe))/0x6)+parseInt(_0x55e056(0x20e))/0x7+-parseInt(_0x55e056(0x211))/0x8+-parseInt(_0x55e056(0x1e4))/0x9*(-parseInt(_0x55e056(0x221))/0xa);if(_0x41360c===_0x2e768a)break;else _0xa1db5f['push'](_0xa1db5f['shift']());}catch(_0x5ee063){_0xa1db5f['push'](_0xa1db5f['shift']());}}}(a29_0x3ed6,0x596b8));const {v4:uuidv4}=require(a29_0x2644bb(0x1fa)),{name,version}=require(a29_0x2644bb(0x1f2)),logPatcher=require(a29_0x2644bb(0x22e)),BSTestOpsPatcher=new logPatcher({}),logReportingAPI=require(a29_0x2644bb(0x1e7)),BSTestOpsLogger=new logReportingAPI({}),{debug,isTestObservabilitySession,isInternalHook}=require(a29_0x2644bb(0x21c)),{consoleHolder}=require('../../../helpers/test-observability/constants'),{getPlatformVersion}=require('../../../helpers/helper');function a29_0x3ed6(){const _0x48fdf3=['suites','push','../../utils/logReportingAPI','toISOString','getBrowserVersion','SBYan','ssdLz','rOObk','JnECP','sendPlatformDetails','dNEDE','_afterAll','RuPWC','../../../../package.json','indexOf','GUxLU','GRWvz','unknown_grid','getBrowserName','QJpRo','js-','uuid','KawEu','__cloud_provider___','pending','948HnXROc','YAofF','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','map_','BWKfu','rMhcN','RzWFz','automate','state','596850qYrNSG','getHooksForTest','split','xJSCV','IRivW','JOaAk','failed','74697jGCFWo','19260cQljHy','qqwnz','2503808PwDRFM','hook','2UDIwKm','getHookDetails','getSession','getHookSkippedTests','tRwjD','gitUa','kytnO','NeEIV','mapTestHooks','../../../helpers/test-observability/utils','getPlatform','_beforeEach','29550ilPeug','parent','28160WJLGEm','forEach','markedStatus','DFtBf','mqBoZ','hook:','Uaqhp','app-automate','concat','fromEntries','2662836CHIXUy','tests','passed','../../utils/logPatcher','toJSON','iycXP','reduce','hookAnalyticsId','mQnPB','emit','WqocI','getCapabilities','TEST_PLATFORM','_afterEach','eVjuF','AtuHW','KPeca','slice','1224zNczwW'];a29_0x3ed6=function(){return _0x48fdf3;};return a29_0x3ed6();}function a29_0x4363(_0xd4402e,_0x373d4f){const _0x3ed645=a29_0x3ed6();return a29_0x4363=function(_0x436367,_0x2f4592){_0x436367=_0x436367-0x1d9;let _0x543146=_0x3ed645[_0x436367];return _0x543146;},a29_0x4363(_0xd4402e,_0x373d4f);}console={},Object['keys'](consoleHolder)[a29_0x2644bb(0x222)](_0x3fb31d=>{console[_0x3fb31d]=(..._0x465642)=>{BSTestOpsPatcher[_0x3fb31d](..._0x465642);};}),exports['getTestEnv']=()=>{const _0x3ab3d1=a29_0x2644bb,_0x2ba435={'aqQeq':'generic','KawEu':function(_0x3f4f18){return _0x3f4f18();}};return{'ci':_0x2ba435['aqQeq'],'key':_0x2ba435[_0x3ab3d1(0x1fb)](uuidv4),'version':version,'collector':_0x3ab3d1(0x1f9)+name};},exports[a29_0x2644bb(0x214)]=_0x286bed=>{const _0x2a5cd5=a29_0x2644bb,_0x1b3121={};_0x1b3121[_0x2a5cd5(0x217)]=function(_0x443711,_0x37f57c){return _0x443711!==_0x37f57c;},_0x1b3121[_0x2a5cd5(0x1ec)]='string',_0x1b3121[_0x2a5cd5(0x20b)]=function(_0x1827dc,_0x231d33){return _0x1827dc!==_0x231d33;},_0x1b3121[_0x2a5cd5(0x1eb)]=_0x2a5cd5(0x226),_0x1b3121['SBYan']=function(_0x382b92,_0x4dcfbc){return _0x382b92!==_0x4dcfbc;},_0x1b3121[_0x2a5cd5(0x1dc)]=_0x2a5cd5(0x212);const _0x11ee25=_0x1b3121;if(!_0x286bed||_0x11ee25['tRwjD'](typeof _0x286bed,_0x11ee25[_0x2a5cd5(0x1ec)]))return[null,null];if(_0x11ee25['IRivW'](_0x286bed[_0x2a5cd5(0x1f3)](_0x11ee25[_0x2a5cd5(0x1eb)]),-0x1)){const _0x335ffd=_0x286bed['split'](_0x11ee25[_0x2a5cd5(0x1eb)]);return[_0x335ffd[0x0]['slice'](0x0,-0x1)[_0x2a5cd5(0x209)]('\x22')[0x1],_0x335ffd[0x1]['substring'](0x1)];}else{if(_0x11ee25[_0x2a5cd5(0x1ea)](_0x286bed['indexOf'](_0x11ee25[_0x2a5cd5(0x1dc)]),-0x1)){const _0x48c846=_0x286bed['split'](_0x11ee25[_0x2a5cd5(0x1dc)]);return[_0x48c846[0x0][_0x2a5cd5(0x1e3)](0x0,-0x1)[_0x2a5cd5(0x209)]('\x22')[0x1],_0x286bed];}}return[null,null];},exports['getHooksForTest']=_0x3efe92=>{const _0x46e048=a29_0x2644bb,_0x144494={'dNEDE':function(_0x3ea949,_0x3a3b8b){return _0x3ea949(_0x3a3b8b);},'xFWdN':'_beforeAll','xJSCV':_0x46e048(0x1f0),'gitUa':_0x46e048(0x21e),'BWKfu':_0x46e048(0x1df)};if(!_0x3efe92||!_0x3efe92[_0x46e048(0x220)])return[];const _0x43e9d1=[];return[_0x144494['xFWdN'],_0x144494[_0x46e048(0x20a)],_0x144494[_0x46e048(0x218)],_0x144494[_0x46e048(0x202)]]['forEach'](_0x4ae466=>{const _0x1c2d9d=_0x46e048,_0x588527=_0x3efe92['parent'][_0x4ae466]||[];_0x588527[_0x1c2d9d(0x222)](_0x1cc127=>{const _0x30e691=_0x1c2d9d;_0x1cc127['hookAnalyticsId']&&!_0x144494[_0x30e691(0x1ef)](isInternalHook,_0x1cc127['fn'])&&_0x43e9d1[_0x30e691(0x1e6)](_0x1cc127[_0x30e691(0x1d9)]);});}),[..._0x43e9d1,...exports[_0x46e048(0x208)](_0x3efe92[_0x46e048(0x220)])];},exports[a29_0x2644bb(0x21b)]=_0x1a9e90=>{const _0x3cc532=a29_0x2644bb,_0x2c8076={'WFoFD':function(_0x187a8b){return _0x187a8b();},'QJpRo':function(_0x256e4a,_0x3d99b6){return _0x256e4a===_0x3d99b6;},'KPeca':_0x3cc532(0x1df),'RuPWC':function(_0x4610fc){return _0x4610fc();},'DFtBf':'_beforeAll','JUcLb':_0x3cc532(0x1f0),'wtwBc':_0x3cc532(0x21e)};if(!_0x1a9e90||!_0x1a9e90['parent'])return;[_0x2c8076[_0x3cc532(0x224)],_0x2c8076['JUcLb'],_0x2c8076['wtwBc'],_0x2c8076[_0x3cc532(0x1e2)]][_0x3cc532(0x222)](_0x19bcb5=>{const _0x1a91b1=_0x3cc532,_0xda9328={'rMhcN':function(_0x154118){return _0x2c8076['WFoFD'](_0x154118);},'GUxLU':function(_0x9e1872,_0x529e3e){const _0x2257e1=a29_0x4363;return _0x2c8076[_0x2257e1(0x1f8)](_0x9e1872,_0x529e3e);},'NeEIV':_0x2c8076['KPeca'],'AtuHW':function(_0x33b842){const _0x3c2440=a29_0x4363;return _0x2c8076[_0x3c2440(0x1f1)](_0x33b842);}},_0x656926=_0x1a9e90[_0x1a91b1(0x220)][_0x19bcb5]||[];_0x656926[_0x1a91b1(0x222)](_0x231f61=>{const _0x47d9af=_0x1a91b1;if(!_0x231f61[_0x47d9af(0x1d9)])_0x231f61['hookAnalyticsId']=_0xda9328[_0x47d9af(0x203)](uuidv4);else _0x231f61[_0x47d9af(0x223)]&&_0xda9328[_0x47d9af(0x1f4)](_0x19bcb5,_0xda9328[_0x47d9af(0x21a)])&&(_0x231f61[_0x47d9af(0x1d9)]=_0xda9328[_0x47d9af(0x1e1)](uuidv4),delete _0x231f61[_0x47d9af(0x223)]);});}),exports[_0x3cc532(0x21b)](_0x1a9e90['parent']);},exports[a29_0x2644bb(0x1ee)]=async(_0x5df2bf,_0x181d5b)=>{const _0x2b015f=a29_0x2644bb,_0x278021={'kytnO':function(_0x26c990){return _0x26c990();},'GRWvz':function(_0x58526c,_0x9b7f5){return _0x58526c===_0x9b7f5;},'YkGEP':'browserstack','qqwnz':'appium:app','cKbIu':'app','AUZaj':_0x2b015f(0x228),'YAofF':_0x2b015f(0x205),'RzWFz':function(_0x516767,_0x506cc2){return _0x516767(_0x506cc2);},'JnECP':function(_0xb07d95,_0x3ec1e0){return _0xb07d95===_0x3ec1e0;},'Uaqhp':_0x2b015f(0x1f6),'RdrJn':_0x2b015f(0x1de),'JOaAk':function(_0x42fe95,_0x26ba17){return _0x42fe95(_0x26ba17);}};try{if(!_0x278021[_0x2b015f(0x219)](isTestObservabilitySession))return;const _0x3496ff=await _0x5df2bf['getCapabilities'](),_0xfd394d=await _0x5df2bf[_0x2b015f(0x215)](),_0x278b07={},_0x38649b=Object[_0x2b015f(0x22a)](_0xfd394d[_0x2b015f(0x1dd)]()[_0x2b015f(0x201)]),_0x11a340={'product':_0x278021[_0x2b015f(0x1f5)](global[_0x2b015f(0x1fc)],_0x278021['YkGEP'])?_0x38649b[_0x278021[_0x2b015f(0x210)]]||_0x38649b[_0x278021['cKbIu']]?_0x278021['AUZaj']:_0x278021[_0x2b015f(0x1ff)]:null,'capabilities':_0x38649b,'platform':_0x3496ff[_0x2b015f(0x21d)](),'platform_version':_0x278021[_0x2b015f(0x204)](getPlatformVersion,_0x278021[_0x2b015f(0x1ed)](global[_0x2b015f(0x1fc)],_0x278021['YkGEP'])),'browser':_0x3496ff[_0x2b015f(0x1f7)](),'browser_version':_0x3496ff[_0x2b015f(0x1e9)](),'session_id':_0xfd394d[_0x2b015f(0x22f)]()};global['__cloud_provider___']?_0x278b07[global[_0x2b015f(0x1fc)]]=_0x11a340:_0x278b07[_0x278021[_0x2b015f(0x227)]]=_0x11a340,process[_0x2b015f(0x1db)]('bs:addPlatformDetails:'+process['pid'],{'timestamp':new Date()[_0x2b015f(0x1e8)](),'level':null,'message':null,'kind':_0x278021['RdrJn'],'http_response':_0x278b07,'uuid':_0x181d5b});}catch(_0x2af9fa){_0x278021[_0x2b015f(0x20c)](debug,_0x2b015f(0x200)+_0x2af9fa);}},exports[a29_0x2644bb(0x216)]=_0x375521=>{const _0x21dfaf=a29_0x2644bb,_0x2049ea={};_0x2049ea[_0x21dfaf(0x1da)]=function(_0x10a389,_0x47ae3e){return _0x10a389!==_0x47ae3e;},_0x2049ea[_0x21dfaf(0x225)]='hook',_0x2049ea['wzmyq']=_0x21dfaf(0x22d),_0x2049ea[_0x21dfaf(0x230)]=function(_0x3e91cb,_0x888e68){return _0x3e91cb!==_0x888e68;},_0x2049ea[_0x21dfaf(0x1e0)]=_0x21dfaf(0x20d);const _0x1ca534=_0x2049ea,_0x2a6b8d=_0x375521[_0x21dfaf(0x1e5)][_0x21dfaf(0x231)]((_0x35b6bf,_0xa5633b)=>{const _0x32cb1c=_0x21dfaf,_0x1b3ef5=exports[_0x32cb1c(0x216)](_0xa5633b);return _0x1b3ef5&&(_0x35b6bf=_0x35b6bf[_0x32cb1c(0x229)](_0x1b3ef5)),_0x35b6bf;},[]),_0x341cb2=_0x375521[_0x21dfaf(0x22c)]['filter'](_0xd59d6d=>{const _0x470216=_0x21dfaf,_0x4c3bb6=_0x1ca534[_0x470216(0x1da)](_0xd59d6d['type'],_0x1ca534[_0x470216(0x225)])&&!_0xd59d6d[_0x470216(0x223)]&&_0x1ca534['mQnPB'](_0xd59d6d[_0x470216(0x206)],_0x1ca534['wzmyq'])&&_0x1ca534[_0x470216(0x230)](_0xd59d6d['state'],_0x1ca534[_0x470216(0x1e0)])&&!_0xd59d6d[_0x470216(0x1fd)];return _0x4c3bb6;});return _0x341cb2['concat'](_0x2a6b8d);};
@@ -1 +1 @@
1
- function a30_0x4f90(){const _0x2589de=['message','getCurrentUrl','BS_A11Y_TEST_RUN_ID','titlePath','9099axdwGd','format','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','5860495wSLjfK','40002GbftoG','CVbjH','6eFAzOK','SsSLJ','jNJjW','FTAFY','Failed\x20to\x20store\x20session\x20name:\x20','../../helpers/accessibility-automation/scripts','__drivers','testcase','\x22}}','../../helpers/test-observability/utils','app','92JfccSH','UsgWm','6548352NSxqCE','yRJaQ','getGlobal','https:','bstackA11yShouldScan','NSYOX','1969704ywbjNT','Performing\x20scan\x20before\x20saving\x20results','http:','AwLDe','isAccessibilityPlatform','yRviK','\x20-\x20','session_','FKxeD','GtFQu','setGlobal','ObservabilitySync:','saveTestResults','now','then','LVDUR','Automate\x20test\x20case\x20execution\x20has\x20started.','KCeAp','8438QUdNHh','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','shift','../../helpers/accessibility-automation/helper','title','4630fboOzV','percyCaptureMode','performScan','.\x20Error\x20:','stringify','FxzfI','info','sHrFp','WKNWA','ARoMI','join','capabilities','lCnBJ','startMonitoring','length','../../helpers/helper','state','shouldScanTestForAccessibility','../../helpers/logger','lzmNT','currentTest','Passed','auBQH','stopMonitoring','cXTQc','WxDXW','passed','JKhNN','percy','quitCount_','inriQ','appium:app','driverCleanup','VweFd','YUFjU',',\x22level\x22:\x20\x22','timeout','lCIiw','3603173AFSPUn','file','EbbLZ','__error_messages__','aITAe','error','jSjFX','err','mochaHooks','accessibilityScanStarted','uAzRN','debug','util','protocol','winstonLogger','kdTnb','../../helpers/globals','executeScript','browserstackSessionName','env','failed','PTvdb','../../helpers/percy/utils','ovZrd','__sessionFailed','isArray','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','executeAsyncScript','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.'];a30_0x4f90=function(){return _0x2589de;};return a30_0x4f90();}const a30_0x2b8373=a30_0x40a6;(function(_0x17a5c5,_0x381daf){const _0x564ab8=a30_0x40a6,_0x32dfaa=_0x17a5c5();while(!![]){try{const _0x2f81c1=-parseInt(_0x564ab8(0xa3))/0x1*(parseInt(_0x564ab8(0xf5))/0x2)+-parseInt(_0x564ab8(0xf3))/0x3*(-parseInt(_0x564ab8(0x100))/0x4)+parseInt(_0x564ab8(0xf2))/0x5+-parseInt(_0x564ab8(0x8b))/0x6+parseInt(_0x564ab8(0xce))/0x7+parseInt(_0x564ab8(0x91))/0x8+parseInt(_0x564ab8(0xef))/0x9*(-parseInt(_0x564ab8(0xa8))/0xa);if(_0x2f81c1===_0x381daf)break;else _0x32dfaa['push'](_0x32dfaa['shift']());}catch(_0x30d24e){_0x32dfaa['push'](_0x32dfaa['shift']());}}}(a30_0x4f90,0x9fe56));const util=require(a30_0x2b8373(0xda)),{isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a30_0x2b8373(0xa6)),{percyAutoCapture}=require(a30_0x2b8373(0xe4)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus}=require(a30_0x2b8373(0xb7)),{isTestObservabilitySession}=require(a30_0x2b8373(0xfe)),PerformanceTester=require('../../helpers/performance-tester'),scripts=require(a30_0x2b8373(0xfa)),globals=require(a30_0x2b8373(0xde)),logger=require(a30_0x2b8373(0xba))[a30_0x2b8373(0xdc)];function a30_0x40a6(_0x3e3cc8,_0x379698){const _0x4f90b1=a30_0x4f90();return a30_0x40a6=function(_0x40a6bc,_0x5b17df){_0x40a6bc=_0x40a6bc-0x8a;let _0x325a04=_0x4f90b1[_0x40a6bc];return _0x325a04;},a30_0x40a6(_0x3e3cc8,_0x379698);}exports[a30_0x2b8373(0xd6)]={'beforeAll'(){const _0x438443=a30_0x2b8373,_0x1ab3c9={'PTvdb':function(_0x15510e,_0x341402,_0x14c15e,_0x21bc95){return _0x15510e(_0x341402,_0x14c15e,_0x21bc95);},'jSjFX':_0x438443(0xe2),'uNFnJ':'\x20|\x20','WKNWA':function(_0x58ee10,_0x7613a4,_0x457990){return _0x58ee10(_0x7613a4,_0x457990);},'jNJjW':'passed','JKhNN':function(_0x4e75f9){return _0x4e75f9();},'QIbSa':function(_0x3fff51,_0x4d301e,_0x1f3d51){return _0x3fff51(_0x4d301e,_0x1f3d51);}};PerformanceTester[_0x438443(0xb5)]();const _0x39b526='browserstack internal helper hook';global['__error_messages__']=[],global['__sessionFailed']=![],global['driverCleanup']=async()=>{const _0x423534=_0x438443;let _0x3dbe2a=![];try{await global[_0x423534(0xfb)][0x0][_0x423534(0x98)],_0x3dbe2a=!![],global[_0x423534(0xe6)]?await _0x1ab3c9[_0x423534(0xe3)](markSessionStatus,global[_0x423534(0xfb)][0x0],_0x1ab3c9[_0x423534(0xd4)],global[_0x423534(0xd1)][_0x423534(0xb2)](_0x1ab3c9['uNFnJ'])):await _0x1ab3c9[_0x423534(0xb0)](markSessionStatus,global[_0x423534(0xfb)][0x0],_0x1ab3c9[_0x423534(0xf7)]);}catch(_0x58ddc1){}global[_0x423534(0xd1)]=[],global[_0x423534(0xe6)]=![];if(_0x3dbe2a)try{try{_0x1ab3c9[_0x423534(0xc3)](isTestObservabilitySession)&&(global[_0x423534(0xfb)][0x0]&&await _0x1ab3c9['QIbSa'](sendPlatformDetails,global[_0x423534(0xfb)][0x0],this[_0x423534(0xbc)]?this[_0x423534(0xbc)]['testAnalyticsId']:null));}catch{}await global[_0x423534(0xfb)][0x0]['initQuit']();}catch(_0x145747){}};},'beforeEach'(_0x5e3941){const _0x12ef95=a30_0x2b8373,_0x31fee3={'cXTQc':function(_0x3b54fd,_0x73c52c){return _0x3b54fd>_0x73c52c;},'FKxeD':'\x20-\x20','AwLDe':function(_0x4229c0,_0x1c0f66,_0x263162){return _0x4229c0(_0x1c0f66,_0x263162);},'YUFjU':_0x12ef95(0x8f),'lzmNT':function(_0x460b90){return _0x460b90();},'FVGJZ':'isAccessibilityPlatform','inriQ':function(_0x3015e8,_0x3f21f1){return _0x3015e8===_0x3f21f1;},'yRviK':_0x12ef95(0x93),'ReSlt':function(_0x43bdc3,_0x49a516){return _0x43bdc3===_0x49a516;},'SsSLJ':_0x12ef95(0x8e),'UsgWm':_0x12ef95(0xea),'sHrFp':_0x12ef95(0xa1)};new Promise(async _0x3adc82=>{const _0xf1396c=_0x12ef95,_0x91d6b0='browserstack internal helper hook';let _0x244596=!![];try{_0x31fee3[_0xf1396c(0xc0)](global[_0xf1396c(0xfb)][_0xf1396c(0xb6)],0x1)&&(await global['driverCleanup'](),global[_0xf1396c(0xfb)][_0xf1396c(0xa5)]()),_0x31fee3[_0xf1396c(0xc0)](global[_0xf1396c(0xfb)][0x0]['quitCount_'],0x0)&&(_0x244596=![],await global[_0xf1396c(0xc8)]());}catch{}try{Array['isArray'](global[_0xf1396c(0xfb)])&&global[_0xf1396c(0xfb)][0x0]&&(global[_0xf1396c(0xfb)][0x0][_0xf1396c(0xe0)]=this[_0xf1396c(0xbc)]['titlePath']()[_0xf1396c(0xb2)](_0x31fee3[_0xf1396c(0x99)])),global[_0xf1396c(0xe0)]=this[_0xf1396c(0xbc)][_0xf1396c(0xee)]()['join'](_0x31fee3[_0xf1396c(0x99)]);}catch(_0x2c41e1){logger[_0xf1396c(0xd9)](_0xf1396c(0xf9)+_0x2c41e1);}this[_0xf1396c(0xbc)][_0xf1396c(0xb9)]=_0x31fee3[_0xf1396c(0x94)](shouldScanTestForAccessibility,this[_0xf1396c(0xbc)][_0xf1396c(0xee)](),!![]),globals[_0xf1396c(0x9b)](_0x31fee3[_0xf1396c(0xca)],this[_0xf1396c(0xbc)][_0xf1396c(0xb9)]),this[_0xf1396c(0xbc)][_0xf1396c(0xd7)]=!![];if(_0x31fee3['lzmNT'](isAccessibilityAutomationSession)&&_0x244596&&Array[_0xf1396c(0xe7)](global[_0xf1396c(0xfb)])&&_0x31fee3['cXTQc'](global[_0xf1396c(0xfb)][_0xf1396c(0xb6)],0x0)&&globals[_0xf1396c(0x8d)](_0x31fee3['FVGJZ']))try{const _0x11042a=await global['__drivers'][0x0][_0xf1396c(0x98)];if(_0x11042a){let _0x1c2baf=!![];const _0x5d48bd=await global['__drivers'][0x0][_0xf1396c(0xec)]();let _0x11de19;try{_0x11de19=new URL(_0x5d48bd);}catch(_0x1085a6){_0x1c2baf=![];}_0x1c2baf=_0x31fee3[_0xf1396c(0xc6)](_0x11de19[_0xf1396c(0xdb)],_0x31fee3[_0xf1396c(0x96)])||_0x31fee3['ReSlt'](_0x11de19[_0xf1396c(0xdb)],_0x31fee3[_0xf1396c(0xf6)]),_0x1c2baf&&(this[_0xf1396c(0xbc)][_0xf1396c(0xb9)]&&logger['info'](_0x31fee3[_0xf1396c(0x8a)])),this[_0xf1396c(0xbc)][_0xf1396c(0xd7)]=this[_0xf1396c(0xbc)]['shouldScanTestForAccessibility'],this[_0xf1396c(0xbc)][_0xf1396c(0xb9)]&&logger['info'](_0x31fee3[_0xf1396c(0xaf)]);}}catch(_0x456cd9){logger['error']('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0xf1396c(0xf0)](_0x456cd9));}_0x31fee3[_0xf1396c(0xbb)](_0x3adc82);})[_0x12ef95(0x9f)](_0x5e3941);},'afterEach'(_0x4ad42b){const _0x4f1a20=a30_0x2b8373,_0x30bf92={'FTAFY':function(_0x5403ef,_0xa08551){return _0x5403ef>_0xa08551;},'NSYOX':function(_0x3c683a,_0x4913cd){return _0x3c683a===_0x4913cd;},'LVDUR':_0x4f1a20(0xfc),'EbbLZ':_0x4f1a20(0xc7),'JDHcL':function(_0x2f78e2,_0x539d09,_0x2fcd55,_0x4ede93){return _0x2f78e2(_0x539d09,_0x2fcd55,_0x4ede93);},'ovZrd':_0x4f1a20(0x97),'GtFQu':function(_0x563513,_0x5f111a){return _0x563513!==_0x5f111a;},'SUbqG':_0x4f1a20(0xc2),'uAzRN':function(_0x42361e,_0x514ac8,_0x168759){return _0x42361e(_0x514ac8,_0x168759);},'CVbjH':function(_0x1f79e3,_0x4f4257){return _0x1f79e3+_0x4f4257;},'aITAe':'Failed:\x20','lCIiw':_0x4f1a20(0xd3),'MvRVQ':_0x4f1a20(0xbd),'FxzfI':_0x4f1a20(0xae),'STZBt':_0x4f1a20(0x95),'fjIAe':_0x4f1a20(0x8f),'ARoMI':_0x4f1a20(0xe8),'auBQH':function(_0x5b6454,_0x34b7e0){return _0x5b6454(_0x34b7e0);},'lCnBJ':_0x4f1a20(0x92),'mqGdJ':_0x4f1a20(0xa4),'VweFd':function(_0x3b111c){return _0x3b111c();},'WxDXW':function(_0x82687a,_0x599e0d,_0x27c8b3){return _0x82687a(_0x599e0d,_0x27c8b3);},'KCeAp':_0x4f1a20(0xd9),'yRJaQ':function(_0x2d6b57,_0x3caf67){return _0x2d6b57>_0x3caf67;}},_0x5b4e7a='browserstack internal helper hook';this[_0x4f1a20(0xcc)](0xfde8);const _0x1db9f6=async(_0xf72a4a,_0x2d67fb)=>{const _0x3b594d=_0x4f1a20;await global[_0x3b594d(0xfb)][0x0][_0x3b594d(0xdf)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0xf72a4a+_0x3b594d(0xcb)+_0x2d67fb+_0x3b594d(0xfd));};new Promise(async _0x3b1171=>{const _0x499ca9=_0x4f1a20;try{_0x30bf92[_0x499ca9(0xf8)](global['__drivers']['length'],0x1)&&(await global[_0x499ca9(0xc8)](),global[_0x499ca9(0xfb)][_0x499ca9(0xa5)](),global[_0x499ca9(0xd1)]=[],global[_0x499ca9(0xe6)]=![]);try{if(global[_0x499ca9(0xc4)]&&_0x30bf92[_0x499ca9(0x90)](global[_0x499ca9(0xa9)],_0x30bf92['LVDUR'])&&global[_0x499ca9(0xfb)][0x0]){const _0x28c426=_0x30bf92['FTAFY'](global[_0x499ca9(0xb3)][_0x499ca9(0xb6)],0x0)?!!global[_0x499ca9(0xb3)][0x0][_0x499ca9(0xff)]||!!global[_0x499ca9(0xb3)][0x0][_0x30bf92[_0x499ca9(0xd0)]]:![],_0x303f96={};_0x303f96['app']=_0x28c426,await _0x30bf92['JDHcL'](percyAutoCapture,global[_0x499ca9(0xfb)][0x0],_0x30bf92[_0x499ca9(0xa0)],_0x303f96);}}catch(_0xec3a16){}!global['__skipSessionName']&&(await global[_0x499ca9(0xfb)][0x0]['executeScript'](_0x499ca9(0xf1)+JSON['stringify'](this[_0x499ca9(0xbc)][_0x499ca9(0xee)]()[_0x499ca9(0xb2)](_0x30bf92[_0x499ca9(0xe5)]))+'}}'),global[_0x499ca9(0xfb)][0x0]['sessionNameSet__']=!![]);const _0x37af66=_0x30bf92[_0x499ca9(0x9a)](this[_0x499ca9(0xbc)][_0x499ca9(0xb8)],_0x30bf92['SUbqG']);_0x37af66?(global[_0x499ca9(0xe6)]=!![],global['__error_messages__']['push'](this[_0x499ca9(0xbc)][_0x499ca9(0xd5)][_0x499ca9(0xeb)]),await _0x30bf92[_0x499ca9(0xd8)](_0x1db9f6,JSON['stringify'](_0x30bf92[_0x499ca9(0xf4)](_0x30bf92[_0x499ca9(0xd2)],this[_0x499ca9(0xbc)][_0x499ca9(0xd5)][_0x499ca9(0xeb)])),_0x30bf92[_0x499ca9(0xcd)])):await _0x30bf92[_0x499ca9(0xd8)](_0x1db9f6,JSON[_0x499ca9(0xac)](_0x30bf92['MvRVQ']),_0x30bf92[_0x499ca9(0xad)]);}catch(_0x2318e5){}try{if(this[_0x499ca9(0xbc)][_0x499ca9(0xd7)]&&globals[_0x499ca9(0x8d)](_0x30bf92['STZBt'])&&globals[_0x499ca9(0x8d)](_0x30bf92['fjIAe'])){logger[_0x499ca9(0xae)](_0x30bf92[_0x499ca9(0xb1)]);const _0x2e00fc={'saveResults':this[_0x499ca9(0xbc)]['shouldScanTestForAccessibility'],'testDetails':{'name':this['currentTest'][_0x499ca9(0xa7)],'testRunId':process[_0x499ca9(0xe1)][_0x499ca9(0xed)],'filePath':this[_0x499ca9(0xbc)][_0x499ca9(0xcf)],'scopeList':this[_0x499ca9(0xbc)][_0x499ca9(0xee)]()},'platform':await _0x30bf92[_0x499ca9(0xbe)](fetchPlatformDetails,global[_0x499ca9(0xfb)][0x0])};logger['debug'](_0x30bf92[_0x499ca9(0xb4)]),logger[_0x499ca9(0xd9)](util[_0x499ca9(0xf0)](await global[_0x499ca9(0xfb)][0x0]['executeAsyncScript'](scripts[_0x499ca9(0xaa)],{'method':global[_0x499ca9(0xe0)]}))),await global[_0x499ca9(0xfb)][0x0][_0x499ca9(0xe9)](scripts[_0x499ca9(0x9d)],_0x2e00fc),logger[_0x499ca9(0xae)](_0x30bf92['mqGdJ']);}}catch(_0x2fc732){logger[_0x499ca9(0xd3)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x499ca9(0xbc)][_0x499ca9(0xee)]()+_0x499ca9(0xab),_0x2fc732);}try{try{if(_0x30bf92[_0x499ca9(0xc9)](isTestObservabilitySession)){global[_0x499ca9(0xfb)][0x0]&&await _0x30bf92[_0x499ca9(0xc1)](sendPlatformDetails,global['__drivers'][0x0],this[_0x499ca9(0xbc)]?this[_0x499ca9(0xbc)]['testAnalyticsId']:null);if(_0x30bf92[_0x499ca9(0xc9)](isBrowserstackInfra)){const _0x24f891=_0x499ca9(0x9c)+Date[_0x499ca9(0x9e)]();await _0x30bf92[_0x499ca9(0xc1)](_0x1db9f6,JSON[_0x499ca9(0xac)](_0x24f891),_0x30bf92[_0x499ca9(0xa2)]);}}}catch{}_0x30bf92[_0x499ca9(0x8c)](global['__drivers'][0x0][_0x499ca9(0xc5)],0x0)&&await global['driverCleanup']();}catch(_0x49b270){}_0x30bf92['VweFd'](_0x3b1171);})[_0x4f1a20(0x9f)](()=>_0x4ad42b());},'afterAll'(_0x31aa82){const _0x3df5b2={'kdTnb':function(_0x1a691b){return _0x1a691b();}},_0x52c976='browserstack internal helper hook';this['timeout'](0xfde8),new Promise(async _0x320846=>{const _0x20b1d1=a30_0x40a6;PerformanceTester[_0x20b1d1(0xbf)](),await global[_0x20b1d1(0xc8)](),_0x3df5b2[_0x20b1d1(0xdd)](_0x320846);})['then'](()=>_0x31aa82());}};
1
+ const a30_0x4c8c7a=a30_0x5a03;(function(_0x209321,_0x3ef48e){const _0x178bf7=a30_0x5a03,_0x5d0541=_0x209321();while(!![]){try{const _0x149e4b=parseInt(_0x178bf7(0x109))/0x1*(parseInt(_0x178bf7(0x154))/0x2)+-parseInt(_0x178bf7(0xf4))/0x3*(parseInt(_0x178bf7(0x11c))/0x4)+-parseInt(_0x178bf7(0x11e))/0x5+-parseInt(_0x178bf7(0x144))/0x6+-parseInt(_0x178bf7(0xe8))/0x7*(parseInt(_0x178bf7(0x134))/0x8)+parseInt(_0x178bf7(0x100))/0x9*(parseInt(_0x178bf7(0x131))/0xa)+-parseInt(_0x178bf7(0x114))/0xb*(-parseInt(_0x178bf7(0x108))/0xc);if(_0x149e4b===_0x3ef48e)break;else _0x5d0541['push'](_0x5d0541['shift']());}catch(_0x9cf18e){_0x5d0541['push'](_0x5d0541['shift']());}}}(a30_0x213c,0x8f4ca));function a30_0x5a03(_0x2167d9,_0x5aeb37){const _0x213c66=a30_0x213c();return a30_0x5a03=function(_0x5a03f4,_0x1bbe33){_0x5a03f4=_0x5a03f4-0xe5;let _0x3061bb=_0x213c66[_0x5a03f4];return _0x3061bb;},a30_0x5a03(_0x2167d9,_0x5aeb37);}const util=require(a30_0x4c8c7a(0x13b)),{isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a30_0x4c8c7a(0x160)),{percyAutoCapture}=require(a30_0x4c8c7a(0xeb)),{sendPlatformDetails}=require(a30_0x4c8c7a(0x112)),{isBrowserstackInfra,markSessionStatus}=require(a30_0x4c8c7a(0xf9)),{isTestObservabilitySession}=require(a30_0x4c8c7a(0xea)),PerformanceTester=require(a30_0x4c8c7a(0x101)),scripts=require(a30_0x4c8c7a(0x12a)),globals=require('../../helpers/globals'),logger=require(a30_0x4c8c7a(0x12e))[a30_0x4c8c7a(0x14b)];function a30_0x213c(){const _0x12fe10=['../../helpers/logger','quitCount_','http:','10CLqzzZ','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','7941104UVzqmw','__error_messages__','Failed\x20to\x20store\x20session\x20name:\x20','Hhdeq','THCYZ','abfmw','LxSIm','util','ZvgBR','HTZFz','push','startMonitoring','now','debug','ViZgV','passed','3178158LQqaTa','Automate\x20test\x20case\x20execution\x20has\x20started.','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','SXLzT','getCurrentUrl','KzuCt','percyCaptureMode','winstonLogger','isArray','MfWQn','WuIDB',',\x22level\x22:\x20\x22','OtwNQ','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','JKdoi','shouldScanTestForAccessibility','922ZfGMeV','protocol','yTWfY','sessionNameSet__','vZaUM','session_','\x20-\x20','Passed','ObservabilitySync:','KsXOp','join','isAccessibilityPlatform','../../helpers/accessibility-automation/helper','capabilities','.\x20Error\x20:','BS_A11Y_TEST_RUN_ID','file','uIEZe','testAnalyticsId','7BOWRIA','vTyMi','../../helpers/test-observability/utils','../../helpers/percy/utils','then','driverCleanup','__sessionFailed','length','sGweB','CkgJv','saveTestResults','app','6qlrtqC','performScan','WZVRe','VGCEO','OrEdO','../../helpers/helper','executeAsyncScript','state','fKAgS','LDtas','titlePath','executeScript','3159693ufQxBk','../../helpers/performance-tester','ZTWCV','appium:app','tuQcN','iPJwp','WyubY','env','408XxxKoF','1304hOUWDa','stopMonitoring','oDKSZ','SvfbB','error','info','stringify','suZFb','rTQRD','./test-observability/mochaUtils','emFjh','915937IYdDID','currentTest','initQuit','rqYxS','shift','testcase','accessibilityScanStarted','__skipSessionName','1561856DHXQRo','format','4465430ZSWkve','timeout','ZiKaA','message','https:','__drivers','XSvpt','MzpeS','PFwDu','title','setGlobal','bstackA11yShouldScan','../../helpers/accessibility-automation/scripts','mochaHooks','OODIO','getGlobal'];a30_0x213c=function(){return _0x12fe10;};return a30_0x213c();}exports[a30_0x4c8c7a(0x12b)]={'beforeAll'(){const _0xef1905=a30_0x4c8c7a,_0xa039ef={'SvfbB':function(_0x22a0c0,_0x4fcc5a,_0x2b60e7,_0x287215){return _0x22a0c0(_0x4fcc5a,_0x2b60e7,_0x287215);},'Hhdeq':'failed','GoYKt':'\x20|\x20','KsXOp':function(_0x1bc1b9,_0x5ddc8e,_0x256dd1){return _0x1bc1b9(_0x5ddc8e,_0x256dd1);},'ViZgV':'passed','ZvgBR':function(_0x1989d1){return _0x1989d1();}};PerformanceTester[_0xef1905(0x13f)]();const _0x56eb15='browserstack internal helper hook';global[_0xef1905(0x135)]=[],global[_0xef1905(0xee)]=![],global[_0xef1905(0xed)]=async()=>{const _0x10fa5b=_0xef1905;let _0x543ae0=![];try{await global[_0x10fa5b(0x123)][0x0]['session_'],_0x543ae0=!![],global[_0x10fa5b(0xee)]?await _0xa039ef[_0x10fa5b(0x10c)](markSessionStatus,global[_0x10fa5b(0x123)][0x0],_0xa039ef[_0x10fa5b(0x137)],global[_0x10fa5b(0x135)][_0x10fa5b(0x15e)](_0xa039ef['GoYKt'])):await _0xa039ef[_0x10fa5b(0x15d)](markSessionStatus,global['__drivers'][0x0],_0xa039ef[_0x10fa5b(0x142)]);}catch(_0x35a2eb){}global['__error_messages__']=[],global['__sessionFailed']=![];if(_0x543ae0)try{try{_0xa039ef[_0x10fa5b(0x13c)](isTestObservabilitySession)&&(global[_0x10fa5b(0x123)][0x0]&&await _0xa039ef[_0x10fa5b(0x15d)](sendPlatformDetails,global['__drivers'][0x0],this[_0x10fa5b(0x115)]?this[_0x10fa5b(0x115)][_0x10fa5b(0xe7)]:null));}catch{}await global['__drivers'][0x0][_0x10fa5b(0x116)]();}catch(_0x193c8b){}};},'beforeEach'(_0x691c56){const _0x371e8c=a30_0x4c8c7a,_0x13c7c1={'suZFb':function(_0x54d90a,_0x6e1626){return _0x54d90a>_0x6e1626;},'oDKSZ':function(_0x183581,_0x434d1a){return _0x183581>_0x434d1a;},'ZiKaA':_0x371e8c(0x15a),'JKdoi':function(_0x433310,_0x34a8d9,_0x37b4d3){return _0x433310(_0x34a8d9,_0x37b4d3);},'sGweB':_0x371e8c(0x129),'VGCEO':function(_0x3d3e34){return _0x3d3e34();},'XSvpt':function(_0x5e2cb2,_0x33215c){return _0x5e2cb2>_0x33215c;},'WuIDB':_0x371e8c(0x15f),'fKAgS':function(_0x3bba51,_0x4e2c6b){return _0x3bba51===_0x4e2c6b;},'tuQcN':_0x371e8c(0x130),'WZVRe':_0x371e8c(0x122),'HTZFz':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','rTQRD':_0x371e8c(0x145)};new Promise(async _0x9937d8=>{const _0x25ba6e=_0x371e8c,_0x3105cc='browserstack internal helper hook';let _0x2ba6f9=!![];try{_0x13c7c1[_0x25ba6e(0x110)](global[_0x25ba6e(0x123)][_0x25ba6e(0xef)],0x1)&&(await global[_0x25ba6e(0xed)](),global[_0x25ba6e(0x123)][_0x25ba6e(0x118)]()),_0x13c7c1[_0x25ba6e(0x10b)](global[_0x25ba6e(0x123)][0x0][_0x25ba6e(0x12f)],0x0)&&(_0x2ba6f9=![],await global[_0x25ba6e(0xed)]());}catch{}try{Array[_0x25ba6e(0x14c)](global['__drivers'])&&global[_0x25ba6e(0x123)][0x0]&&(global[_0x25ba6e(0x123)][0x0]['browserstackSessionName']=this['currentTest'][_0x25ba6e(0xfe)]()['join'](_0x13c7c1[_0x25ba6e(0x120)])),global['browserstackSessionName']=this[_0x25ba6e(0x115)][_0x25ba6e(0xfe)]()[_0x25ba6e(0x15e)](_0x13c7c1[_0x25ba6e(0x120)]);}catch(_0x24b309){logger[_0x25ba6e(0x141)](_0x25ba6e(0x136)+_0x24b309);}this[_0x25ba6e(0x115)][_0x25ba6e(0x153)]=_0x13c7c1[_0x25ba6e(0x152)](shouldScanTestForAccessibility,this[_0x25ba6e(0x115)][_0x25ba6e(0xfe)](),!![]),globals[_0x25ba6e(0x128)](_0x13c7c1[_0x25ba6e(0xf0)],this[_0x25ba6e(0x115)][_0x25ba6e(0x153)]),this[_0x25ba6e(0x115)][_0x25ba6e(0x11a)]=!![];if(_0x13c7c1[_0x25ba6e(0xf7)](isAccessibilityAutomationSession)&&_0x2ba6f9&&Array[_0x25ba6e(0x14c)](global['__drivers'])&&_0x13c7c1[_0x25ba6e(0x124)](global[_0x25ba6e(0x123)][_0x25ba6e(0xef)],0x0)&&globals[_0x25ba6e(0x12d)](_0x13c7c1[_0x25ba6e(0x14e)]))try{const _0x587a3a=await global['__drivers'][0x0][_0x25ba6e(0x159)];if(_0x587a3a){let _0x1ffdfa=!![];const _0xfc75cc=await global[_0x25ba6e(0x123)][0x0][_0x25ba6e(0x148)]();let _0x5c7fe0;try{_0x5c7fe0=new URL(_0xfc75cc);}catch(_0x282fa8){_0x1ffdfa=![];}_0x1ffdfa=_0x13c7c1['fKAgS'](_0x5c7fe0[_0x25ba6e(0x155)],_0x13c7c1[_0x25ba6e(0x104)])||_0x13c7c1[_0x25ba6e(0xfc)](_0x5c7fe0['protocol'],_0x13c7c1[_0x25ba6e(0xf6)]),_0x1ffdfa&&(this[_0x25ba6e(0x115)][_0x25ba6e(0x153)]&&logger['info'](_0x13c7c1[_0x25ba6e(0x13d)])),this[_0x25ba6e(0x115)][_0x25ba6e(0x11a)]=this[_0x25ba6e(0x115)]['shouldScanTestForAccessibility'],this[_0x25ba6e(0x115)][_0x25ba6e(0x153)]&&logger[_0x25ba6e(0x10e)](_0x13c7c1[_0x25ba6e(0x111)]);}}catch(_0x1ab83e){logger[_0x25ba6e(0x10d)](_0x25ba6e(0x146)+util['format'](_0x1ab83e));}_0x13c7c1['VGCEO'](_0x9937d8);})['then'](_0x691c56);},'afterEach'(_0x86f02c){const _0x218bdb=a30_0x4c8c7a,_0x47a1d4={'OrEdO':function(_0x47b682,_0x25d402){return _0x47b682>_0x25d402;},'OODIO':function(_0x34aa52,_0x11ec3f){return _0x34aa52===_0x11ec3f;},'LDtas':_0x218bdb(0x119),'uIEZe':function(_0x4abfc0,_0x832018){return _0x4abfc0>_0x832018;},'MzpeS':_0x218bdb(0x103),'MfWQn':function(_0x9089e1,_0x2e4473,_0x447fb5,_0x33e0eb){return _0x9089e1(_0x2e4473,_0x447fb5,_0x33e0eb);},'vTyMi':_0x218bdb(0x15a),'ZTWCV':function(_0x49d9cd,_0x286f8b){return _0x49d9cd!==_0x286f8b;},'rqYxS':_0x218bdb(0x143),'THCYZ':function(_0x4c9b47,_0x2b4631,_0x52a3cd){return _0x4c9b47(_0x2b4631,_0x52a3cd);},'SXLzT':function(_0x3156f9,_0x234147){return _0x3156f9+_0x234147;},'iPJwp':'Failed:\x20','PFwDu':_0x218bdb(0x10d),'abfmw':function(_0x936f23,_0x7b5a8d,_0x37d436){return _0x936f23(_0x7b5a8d,_0x37d436);},'mwami':_0x218bdb(0x15b),'KzuCt':_0x218bdb(0x10e),'LxSIm':_0x218bdb(0x15f),'ofqwg':_0x218bdb(0x129),'OtwNQ':_0x218bdb(0x133),'pSLqu':function(_0x9c199b,_0x1640bb){return _0x9c199b(_0x1640bb);},'yTWfY':'Performing\x20scan\x20before\x20saving\x20results','emFjh':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','vZaUM':function(_0x387853){return _0x387853();},'JWZiV':_0x218bdb(0x141),'CkgJv':function(_0x202178,_0x1e913f){return _0x202178>_0x1e913f;},'WyubY':function(_0x5053f1){return _0x5053f1();}},_0x57d070='browserstack internal helper hook';this[_0x218bdb(0x11f)](0xfde8);const _0x11ab33=async(_0x2e163b,_0x495aaf)=>{const _0x1876b4=_0x218bdb;await global['__drivers'][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x2e163b+_0x1876b4(0x14f)+_0x495aaf+'\x22}}');};new Promise(async _0x443457=>{const _0x264958=_0x218bdb;try{_0x47a1d4[_0x264958(0xf8)](global[_0x264958(0x123)]['length'],0x1)&&(await global[_0x264958(0xed)](),global[_0x264958(0x123)][_0x264958(0x118)](),global['__error_messages__']=[],global['__sessionFailed']=![]);try{if(global['percy']&&_0x47a1d4[_0x264958(0x12c)](global[_0x264958(0x14a)],_0x47a1d4[_0x264958(0xfd)])&&global[_0x264958(0x123)][0x0]){const _0x16ebfa=_0x47a1d4[_0x264958(0xe6)](global[_0x264958(0x161)][_0x264958(0xef)],0x0)?!!global['capabilities'][0x0][_0x264958(0xf3)]||!!global['capabilities'][0x0][_0x47a1d4[_0x264958(0x125)]]:![],_0x59c7e0={};_0x59c7e0[_0x264958(0xf3)]=_0x16ebfa,await _0x47a1d4[_0x264958(0x14d)](percyAutoCapture,global['__drivers'][0x0],_0x47a1d4['LDtas'],_0x59c7e0);}}catch(_0x2b7d14){}!global[_0x264958(0x11b)]&&(await global[_0x264958(0x123)][0x0][_0x264958(0xff)](_0x264958(0x151)+JSON['stringify'](this['currentTest'][_0x264958(0xfe)]()[_0x264958(0x15e)](_0x47a1d4[_0x264958(0xe9)]))+'}}'),global[_0x264958(0x123)][0x0][_0x264958(0x157)]=!![]);const _0x4c78ee=_0x47a1d4[_0x264958(0x102)](this[_0x264958(0x115)][_0x264958(0xfb)],_0x47a1d4[_0x264958(0x117)]);_0x4c78ee?(global[_0x264958(0xee)]=!![],global[_0x264958(0x135)][_0x264958(0x13e)](this['currentTest']['err'][_0x264958(0x121)]),await _0x47a1d4[_0x264958(0x138)](_0x11ab33,JSON[_0x264958(0x10f)](_0x47a1d4[_0x264958(0x147)](_0x47a1d4[_0x264958(0x105)],this[_0x264958(0x115)]['err']['message'])),_0x47a1d4[_0x264958(0x126)])):await _0x47a1d4[_0x264958(0x139)](_0x11ab33,JSON[_0x264958(0x10f)](_0x47a1d4['mwami']),_0x47a1d4[_0x264958(0x149)]);}catch(_0x3d7116){}try{if(this[_0x264958(0x115)]['accessibilityScanStarted']&&globals[_0x264958(0x12d)](_0x47a1d4[_0x264958(0x13a)])&&globals[_0x264958(0x12d)](_0x47a1d4['ofqwg'])){logger[_0x264958(0x10e)](_0x47a1d4[_0x264958(0x150)]);const _0x2ff3fe={'saveResults':this[_0x264958(0x115)]['shouldScanTestForAccessibility'],'testDetails':{'name':this['currentTest'][_0x264958(0x127)],'testRunId':process[_0x264958(0x107)][_0x264958(0x163)],'filePath':this['currentTest'][_0x264958(0xe5)],'scopeList':this[_0x264958(0x115)][_0x264958(0xfe)]()},'platform':await _0x47a1d4['pSLqu'](fetchPlatformDetails,global['__drivers'][0x0])};logger['debug'](_0x47a1d4[_0x264958(0x156)]),logger[_0x264958(0x141)](util[_0x264958(0x11d)](await global['__drivers'][0x0][_0x264958(0xfa)](scripts[_0x264958(0xf5)],{'method':global['browserstackSessionName']}))),await global['__drivers'][0x0][_0x264958(0xfa)](scripts[_0x264958(0xf2)],_0x2ff3fe),logger[_0x264958(0x10e)](_0x47a1d4[_0x264958(0x113)]);}}catch(_0x4e34b2){logger[_0x264958(0x10d)](_0x264958(0x132)+this[_0x264958(0x115)][_0x264958(0xfe)]()+_0x264958(0x162),_0x4e34b2);}try{try{if(_0x47a1d4[_0x264958(0x158)](isTestObservabilitySession)){global[_0x264958(0x123)][0x0]&&await _0x47a1d4[_0x264958(0x138)](sendPlatformDetails,global[_0x264958(0x123)][0x0],this[_0x264958(0x115)]?this[_0x264958(0x115)][_0x264958(0xe7)]:null);if(_0x47a1d4[_0x264958(0x158)](isBrowserstackInfra)){const _0x1ef0c5=_0x264958(0x15c)+Date[_0x264958(0x140)]();await _0x47a1d4[_0x264958(0x138)](_0x11ab33,JSON[_0x264958(0x10f)](_0x1ef0c5),_0x47a1d4['JWZiV']);}}}catch{}_0x47a1d4[_0x264958(0xf1)](global[_0x264958(0x123)][0x0][_0x264958(0x12f)],0x0)&&await global['driverCleanup']();}catch(_0x252a62){}_0x47a1d4[_0x264958(0x106)](_0x443457);})[_0x218bdb(0xec)](()=>_0x86f02c());},'afterAll'(_0x4833dc){const _0x470f1e=a30_0x4c8c7a,_0xb0881e={'JbfdB':function(_0x7f9873){return _0x7f9873();}},_0x45716c='browserstack internal helper hook';this[_0x470f1e(0x11f)](0xfde8),new Promise(async _0x2377a4=>{const _0x2acdec=_0x470f1e;PerformanceTester[_0x2acdec(0x10a)](),await global[_0x2acdec(0xed)](),_0xb0881e['JbfdB'](_0x2377a4);})[_0x470f1e(0xec)](()=>_0x4833dc());}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a31_0x5c3ac4=a31_0x484c;(function(_0x3f2ecc,_0x2c07d9){const _0xdf06ae=a31_0x484c,_0x69326c=_0x3f2ecc();while(!![]){try{const _0x1853a8=-parseInt(_0xdf06ae(0x205))/0x1+-parseInt(_0xdf06ae(0x1d3))/0x2+-parseInt(_0xdf06ae(0x208))/0x3*(parseInt(_0xdf06ae(0x1ca))/0x4)+-parseInt(_0xdf06ae(0x1d9))/0x5*(parseInt(_0xdf06ae(0x1ec))/0x6)+parseInt(_0xdf06ae(0x1ce))/0x7+-parseInt(_0xdf06ae(0x1e4))/0x8*(parseInt(_0xdf06ae(0x206))/0x9)+parseInt(_0xdf06ae(0x203))/0xa;if(_0x1853a8===_0x2c07d9)break;else _0x69326c['push'](_0x69326c['shift']());}catch(_0x555cd9){_0x69326c['push'](_0x69326c['shift']());}}}(a31_0x1a44,0xd0d74));const fs=require('fs'),path=require('path'),{spawn}=require(a31_0x5c3ac4(0x1c3)),logger=require(a31_0x5c3ac4(0x1f8))[a31_0x5c3ac4(0x1ea)],{default:BrowserStackSetup}=require(a31_0x5c3ac4(0x1c5)),helper=require(a31_0x5c3ac4(0x1e1)),constants=require(a31_0x5c3ac4(0x1f5)),getUserNightwatchConfigs=(_0x105b56,_0x596982)=>{const _0x50812f=a31_0x5c3ac4,_0x5bbbb6={'CTqkx':_0x50812f(0x1f1),'EoTxk':_0x50812f(0x1ef),'JTGBb':function(_0x3ef477,_0x55e44a){return _0x3ef477(_0x55e44a);},'gwFwB':_0x50812f(0x1cc)};let _0x1178cd=null,_0x55c089={};const _0x2c17d0=_0x596982[_0x50812f(0x1f6)](_0x46c4c8=>_0x46c4c8==='--config');if(!helper['isUndefined'](_0x105b56[_0x50812f(0x1e2)])&&fs[_0x50812f(0x1e9)](path[_0x50812f(0x204)](process['cwd'](),_0x105b56[_0x50812f(0x1e2)])))_0x1178cd=path[_0x50812f(0x204)](process[_0x50812f(0x209)](),_0x105b56['config']),_0x596982[_0x50812f(0x1c9)](_0x2c17d0,0x2);else{if(fs[_0x50812f(0x1e9)](path[_0x50812f(0x204)](process['cwd'](),_0x5bbbb6[_0x50812f(0x1f9)])))_0x1178cd=path[_0x50812f(0x204)](process[_0x50812f(0x209)](),_0x5bbbb6['CTqkx']);else fs[_0x50812f(0x1e9)](path[_0x50812f(0x204)](process['cwd'](),_0x5bbbb6['EoTxk']))&&(_0x1178cd=path[_0x50812f(0x204)](process[_0x50812f(0x209)](),_0x5bbbb6[_0x50812f(0x1cb)]));}return _0x1178cd?(logger[_0x50812f(0x1da)](_0x50812f(0x1ff)+_0x1178cd),_0x55c089=_0x5bbbb6['JTGBb'](require,_0x1178cd)):logger[_0x50812f(0x1da)](_0x5bbbb6[_0x50812f(0x1f0)]),_0x55c089;},removeExistingEnvs=_0x2da06d=>{const _0x72a3c2=a31_0x5c3ac4,_0x90b7fe={};_0x90b7fe[_0x72a3c2(0x1f7)]=function(_0x450576,_0x36290b){return _0x450576>_0x36290b;},_0x90b7fe[_0x72a3c2(0x1e8)]=function(_0x431c45,_0x57e570){return _0x431c45>_0x57e570;};const _0x588cca=_0x90b7fe;let _0x2678a1=_0x2da06d[_0x72a3c2(0x1f6)](_0x5ec1a0=>_0x5ec1a0==='--env');_0x588cca[_0x72a3c2(0x1f7)](_0x2678a1,-0x1)&&_0x2da06d['splice'](_0x2678a1,0x2),_0x2678a1=_0x2da06d['findIndex'](_0x1c9da4=>_0x1c9da4==='-e'),_0x588cca[_0x72a3c2(0x1e8)](_0x2678a1,-0x1)&&_0x2da06d[_0x72a3c2(0x1c9)](_0x2678a1,0x2);};function run(_0x38747a,_0x5be42d){const _0x5c1029=a31_0x5c3ac4,_0x1f2f35={'puXlg':_0x5c1029(0x1d5),'tKMvX':function(_0x56bde2,_0x28580e){return _0x56bde2+_0x28580e;},'baGXg':_0x5c1029(0x1dc),'jIppr':function(_0x4048ef,_0x1ed41d,_0x10ad1a){return _0x4048ef(_0x1ed41d,_0x10ad1a);},'qHJfh':_0x5c1029(0x1e3),'ZFawK':_0x5c1029(0x1d2),'bwzae':function(_0x1c9ad2,_0x331715){return _0x1c9ad2===_0x331715;},'STavm':'nightwatch-browserstack.json','cwjWe':function(_0x262e0b,_0x4c1771){return _0x262e0b(_0x4c1771);},'TtMPr':function(_0x2f4d7f,_0x51fa2a,_0x3367a7,_0x2732df){return _0x2f4d7f(_0x51fa2a,_0x3367a7,_0x2732df);},'hvjwu':_0x5c1029(0x1c6),'zRWfN':_0x5c1029(0x1f4),'eHjQQ':'--env','xcVnJ':_0x5c1029(0x1ee),'JxuNq':_0x5c1029(0x200)},_0x4db865=new BrowserStackSetup(_0x38747a);if(!_0x4db865['config'])return;const _0x455052=_0x1f2f35['jIppr'](getUserNightwatchConfigs,_0x38747a,_0x5be42d),_0x532150={};_0x532150[_0x5c1029(0x1fd)]=![];const _0x3478c7={};_0x3478c7[_0x5c1029(0x1c7)]=_0x1f2f35[_0x5c1029(0x1ed)],_0x3478c7[_0x5c1029(0x1fb)]=0x1bb;const _0x2fa4a5={};_0x2fa4a5[_0x5c1029(0x1de)]=_0x532150,_0x2fa4a5[_0x5c1029(0x1d8)]=_0x3478c7;const _0x55f780=_0x2fa4a5;logger[_0x5c1029(0x1da)](_0x1f2f35['ZFawK']);const _0x54f226={..._0x455052},_0x13b0db=_0x54f226,_0x5b7ef6=helper['useW3C'](_0x4db865[_0x5c1029(0x1e2)]),_0x2cdd47=[];_0x4db865[_0x5c1029(0x1e2)]['platforms'][_0x5c1029(0x1d7)]((_0x5379f5,_0x5f33fe)=>{const _0x5d9dab=_0x5c1029;_0x5b7ef6?_0x2cdd47[_0x5d9dab(0x207)](helper['modifyBrowserStackW3CCaps'](_0x4db865['config'],_0x1f2f35[_0x5d9dab(0x1e5)],_0x5f33fe)):_0x2cdd47[_0x5d9dab(0x207)](helper[_0x5d9dab(0x1c2)](_0x4db865[_0x5d9dab(0x1e2)],_0x1f2f35['puXlg'],_0x5f33fe));});const _0x1d6159={},_0x2bd12b=[];_0x38747a['env']=_0x38747a[_0x5c1029(0x1d0)]||_0x38747a['e'];const _0x4892b6=_0x38747a[_0x5c1029(0x1d0)]?_0x38747a[_0x5c1029(0x1d0)][_0x5c1029(0x1e0)]()[_0x5c1029(0x1d6)](',')['map'](_0x54a8a6=>_0x54a8a6['trim']())['filter'](_0x3917ed=>_0x3917ed!==''):[''];_0x1f2f35[_0x5c1029(0x1eb)](_0x4892b6['length'],0x0)&&_0x4892b6[_0x5c1029(0x207)]('');_0x4892b6[_0x5c1029(0x1d7)](_0x21388d=>{const _0x53ef2c=_0x5c1029,_0x3622b3={'wTYwN':function(_0x3a3789,_0x5a89c2){const _0xdab021=a31_0x484c;return _0x1f2f35[_0xdab021(0x1db)](_0x3a3789,_0x5a89c2);},'bTdZk':_0x1f2f35[_0x53ef2c(0x1f3)]};_0x2cdd47[_0x53ef2c(0x1d7)](_0x78a229=>{const _0x4587e4=_0x53ef2c;let _0x3a1478=_0x3622b3['wTYwN'](helper[_0x4587e4(0x1e6)](_0x78a229,'_'),'_'+Date[_0x4587e4(0x1df)]());_0x21388d&&(_0x3a1478+='_'+_0x21388d);if(_0x21388d&&(!_0x455052[_0x3622b3[_0x4587e4(0x1c4)]]||!_0x455052[_0x3622b3[_0x4587e4(0x1c4)]][_0x21388d]))return;const _0x322a20={..._0x55f780};_0x322a20[_0x4587e4(0x202)]=_0x78a229;const _0x2ecb7f=_0x322a20;_0x1d6159[_0x3a1478]=_0x21388d?helper[_0x4587e4(0x1e7)](_0x455052[_0x3622b3[_0x4587e4(0x1c4)]][_0x21388d],_0x2ecb7f):_0x2ecb7f,_0x2bd12b[_0x4587e4(0x207)](_0x3a1478);});});!_0x13b0db[_0x5c1029(0x1dc)]&&(_0x13b0db['test_settings']={});_0x13b0db[_0x5c1029(0x1dc)]={..._0x13b0db[_0x5c1029(0x1dc)],..._0x1d6159};const _0x819c82=path['join'](__dirname,_0x1f2f35['STavm']);fs[_0x5c1029(0x1fc)](_0x819c82,JSON[_0x5c1029(0x1cf)](_0x13b0db)),_0x1f2f35['cwjWe'](removeExistingEnvs,_0x5be42d);const _0x486cc8=_0x1f2f35[_0x5c1029(0x1fe)](spawn,/^win/['test'](process[_0x5c1029(0x1dd)])?_0x1f2f35[_0x5c1029(0x1c1)]:_0x1f2f35[_0x5c1029(0x1e5)],[_0x1f2f35['zRWfN'],_0x819c82,..._0x5be42d[_0x5c1029(0x1fa)](0x1),_0x1f2f35[_0x5c1029(0x1d1)],_0x2bd12b['join'](',')],{'stdio':_0x1f2f35['xcVnJ']});_0x486cc8['on'](_0x1f2f35['JxuNq'],async _0x3fc011=>{const _0x967aaa=_0x5c1029;logger[_0x967aaa(0x1c8)](_0x967aaa(0x1f2)+_0x3fc011),logger[_0x967aaa(0x1da)](_0x967aaa(0x1cd)+_0x819c82),fs[_0x967aaa(0x1d4)](_0x819c82);});}module[a31_0x5c3ac4(0x201)]=run;function a31_0x484c(_0x30900b,_0x4de574){const _0x1a44ed=a31_0x1a44();return a31_0x484c=function(_0x484c75,_0x3e4c19){_0x484c75=_0x484c75-0x1c1;let _0x227791=_0x1a44ed[_0x484c75];return _0x227791;},a31_0x484c(_0x30900b,_0x4de574);}function a31_0x1a44(){const _0x95122d=['inherit','nightwatch.json','gwFwB','nightwatch.conf.js','child\x20process\x20exited\x20with\x20code\x20','baGXg','--config','../utils/constants','findIndex','SkghD','../../helpers/logger','CTqkx','slice','port','writeFileSync','start_process','TtMPr','Getting\x20your\x20nightwatch\x20configs\x20from\x20','close','exports','desiredCapabilities','56135400lJvoIm','join','877968ndAeWG','1440mgMmEp','push','3bSJpgM','cwd','hvjwu','modifyBrowserStackCaps','child_process','bTdZk','../../helpers/BrowserStackSetup','nightwatch.cmd','host','debug','splice','5460556NMHrpA','EoTxk','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','Deleting\x20','3753995MXFSbj','stringify','env','eHjQQ','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','1690832NwfLHZ','unlinkSync','nightwatch','split','forEach','selenium','33290vNAZhT','info','tKMvX','test_settings','platform','webdriver','now','trim','../../helpers/helper','config','hub.browserstack.com','35392kkbhqz','puXlg','getPlatformName','mergeDeep','JjHcd','existsSync','winstonLogger','bwzae','1350MaaFxD','qHJfh'];a31_0x1a44=function(){return _0x95122d;};return a31_0x1a44();}
2
+ 'use strict';const a31_0x50bf35=a31_0x5dff;(function(_0x211809,_0x500ace){const _0x46e761=a31_0x5dff,_0x217135=_0x211809();while(!![]){try{const _0x248a0e=-parseInt(_0x46e761(0xfb))/0x1+parseInt(_0x46e761(0xff))/0x2*(-parseInt(_0x46e761(0xf5))/0x3)+-parseInt(_0x46e761(0xd3))/0x4*(-parseInt(_0x46e761(0xe7))/0x5)+parseInt(_0x46e761(0x108))/0x6+-parseInt(_0x46e761(0xc7))/0x7+-parseInt(_0x46e761(0xd5))/0x8*(parseInt(_0x46e761(0xe6))/0x9)+parseInt(_0x46e761(0xc5))/0xa;if(_0x248a0e===_0x500ace)break;else _0x217135['push'](_0x217135['shift']());}catch(_0x451bc5){_0x217135['push'](_0x217135['shift']());}}}(a31_0x1c16,0x4cc17));const fs=require('fs'),path=require(a31_0x50bf35(0x102)),{spawn}=require(a31_0x50bf35(0xec)),logger=require(a31_0x50bf35(0xbf))[a31_0x50bf35(0x10b)],{default:BrowserStackSetup}=require(a31_0x50bf35(0x10d)),helper=require(a31_0x50bf35(0xd7)),constants=require(a31_0x50bf35(0xde)),getUserNightwatchConfigs=(_0x180bb4,_0x32c978)=>{const _0xd29874=a31_0x50bf35,_0x3c1e6e={'VXOpW':_0xd29874(0x104),'MJWRn':_0xd29874(0x107),'oweFR':function(_0x3e4707,_0xa12f82){return _0x3e4707(_0xa12f82);},'DOyCb':_0xd29874(0xcb)};let _0x566ee4=null,_0x3ac862={};const _0x483ea5=_0x32c978[_0xd29874(0xc3)](_0x3460c=>_0x3460c===_0xd29874(0xe5));if(!helper[_0xd29874(0xe4)](_0x180bb4[_0xd29874(0xc1)])&&fs[_0xd29874(0x10e)](path[_0xd29874(0xc0)](process[_0xd29874(0xdd)](),_0x180bb4['config'])))_0x566ee4=path[_0xd29874(0xc0)](process[_0xd29874(0xdd)](),_0x180bb4[_0xd29874(0xc1)]),_0x32c978[_0xd29874(0xf2)](_0x483ea5,0x2);else{if(fs[_0xd29874(0x10e)](path[_0xd29874(0xc0)](process[_0xd29874(0xdd)](),_0x3c1e6e[_0xd29874(0xef)])))_0x566ee4=path[_0xd29874(0xc0)](process[_0xd29874(0xdd)](),_0x3c1e6e['VXOpW']);else fs[_0xd29874(0x10e)](path['join'](process[_0xd29874(0xdd)](),_0x3c1e6e[_0xd29874(0xce)]))&&(_0x566ee4=path['join'](process[_0xd29874(0xdd)](),_0x3c1e6e[_0xd29874(0xce)]));}return _0x566ee4?(logger[_0xd29874(0xcc)](_0xd29874(0xd6)+_0x566ee4),_0x3ac862=_0x3c1e6e[_0xd29874(0xcf)](require,_0x566ee4)):logger[_0xd29874(0xcc)](_0x3c1e6e['DOyCb']),_0x3ac862;},removeExistingEnvs=_0x1ad1b6=>{const _0x5d4b99=a31_0x50bf35,_0x136e05={};_0x136e05[_0x5d4b99(0xfc)]=function(_0x32eac6,_0x379d5a){return _0x32eac6>_0x379d5a;};const _0x45dcaf=_0x136e05;let _0x440063=_0x1ad1b6[_0x5d4b99(0xc3)](_0x599582=>_0x599582==='--env');_0x45dcaf[_0x5d4b99(0xfc)](_0x440063,-0x1)&&_0x1ad1b6[_0x5d4b99(0xf2)](_0x440063,0x2),_0x440063=_0x1ad1b6[_0x5d4b99(0xc3)](_0x3d5a20=>_0x3d5a20==='-e'),_0x45dcaf[_0x5d4b99(0xfc)](_0x440063,-0x1)&&_0x1ad1b6['splice'](_0x440063,0x2);};function run(_0x1ef54c,_0x28ff22){const _0x3f3bbe=a31_0x50bf35,_0x3fe478={'utAAu':_0x3f3bbe(0xf9),'cJRpY':function(_0x73bab8,_0x5b504a){return _0x73bab8+_0x5b504a;},'EtwJT':_0x3f3bbe(0xc2),'DhUmt':function(_0x55d2c3,_0x19f637,_0x4d157a){return _0x55d2c3(_0x19f637,_0x4d157a);},'KGXrf':'hub.browserstack.com','stUET':_0x3f3bbe(0xeb),'dMYys':function(_0x14106d,_0x5dd6ef){return _0x14106d===_0x5dd6ef;},'lTXNx':_0x3f3bbe(0xd0),'XUnGw':function(_0x3e7c2d,_0x3dd841){return _0x3e7c2d(_0x3dd841);},'jnePB':function(_0x35d5e7,_0x1a70d9,_0x7f9584,_0x19d886){return _0x35d5e7(_0x1a70d9,_0x7f9584,_0x19d886);},'vBRKG':_0x3f3bbe(0x109),'qrQDW':_0x3f3bbe(0xe5),'zHLsq':_0x3f3bbe(0xd9),'EYSmm':_0x3f3bbe(0xe3),'TAsPg':_0x3f3bbe(0xe8)},_0xd96161=new BrowserStackSetup(_0x1ef54c);if(!_0xd96161['config'])return;const _0x3e37dd=_0x3fe478[_0x3f3bbe(0xca)](getUserNightwatchConfigs,_0x1ef54c,_0x28ff22),_0x4bec0b={};_0x4bec0b[_0x3f3bbe(0xd8)]=![];const _0x494859={};_0x494859[_0x3f3bbe(0xc6)]=_0x3fe478[_0x3f3bbe(0x103)],_0x494859['port']=0x1bb;const _0x799330={};_0x799330[_0x3f3bbe(0x10a)]=_0x4bec0b,_0x799330['selenium']=_0x494859;const _0x156053=_0x799330;logger['info'](_0x3fe478['stUET']);const _0x164015={..._0x3e37dd},_0x5c91f1=_0x164015,_0x2a5198=helper[_0x3f3bbe(0xee)](_0xd96161[_0x3f3bbe(0xc1)]),_0x53aa41=[];_0xd96161[_0x3f3bbe(0xc1)][_0x3f3bbe(0xfd)]['forEach']((_0x53fd75,_0x2e83a5)=>{const _0x5d5db4=_0x3f3bbe;_0x2a5198?_0x53aa41['push'](helper[_0x5d5db4(0xd4)](_0xd96161['config'],_0x3fe478[_0x5d5db4(0xea)],_0x2e83a5)):_0x53aa41[_0x5d5db4(0xed)](helper[_0x5d5db4(0xf7)](_0xd96161[_0x5d5db4(0xc1)],_0x3fe478['utAAu'],_0x2e83a5));});const _0x49d54f={},_0x1ec3a5=[];_0x1ef54c[_0x3f3bbe(0x101)]=_0x1ef54c[_0x3f3bbe(0x101)]||_0x1ef54c['e'];const _0x1bf867=_0x1ef54c[_0x3f3bbe(0x101)]?_0x1ef54c['env'][_0x3f3bbe(0xe2)]()['split'](',')[_0x3f3bbe(0xcd)](_0x1e55f4=>_0x1e55f4['trim']())[_0x3f3bbe(0xd2)](_0x350e3a=>_0x350e3a!==''):[''];_0x3fe478[_0x3f3bbe(0xfe)](_0x1bf867[_0x3f3bbe(0xc8)],0x0)&&_0x1bf867[_0x3f3bbe(0xed)]('');_0x1bf867[_0x3f3bbe(0xe9)](_0x28d648=>{_0x53aa41['forEach'](_0x20b56f=>{const _0x4aeaf2=a31_0x5dff;let _0x4e3e76=_0x3fe478['cJRpY'](helper[_0x4aeaf2(0xdc)](_0x20b56f,'_'),'_'+Date[_0x4aeaf2(0xd1)]());_0x28d648&&(_0x4e3e76+='_'+_0x28d648);if(_0x28d648&&(!_0x3e37dd[_0x3fe478['EtwJT']]||!_0x3e37dd[_0x3fe478[_0x4aeaf2(0xc9)]][_0x28d648]))return;const _0x5db13a={..._0x156053};_0x5db13a[_0x4aeaf2(0xf1)]=_0x20b56f;const _0x1c954c=_0x5db13a;_0x49d54f[_0x4e3e76]=_0x28d648?helper[_0x4aeaf2(0xf8)](_0x3e37dd[_0x3fe478[_0x4aeaf2(0xc9)]][_0x28d648],_0x1c954c):_0x1c954c,_0x1ec3a5[_0x4aeaf2(0xed)](_0x4e3e76);});});!_0x5c91f1[_0x3f3bbe(0xc2)]&&(_0x5c91f1[_0x3f3bbe(0xc2)]={});_0x5c91f1['test_settings']={..._0x5c91f1[_0x3f3bbe(0xc2)],..._0x49d54f};const _0x42499e=path[_0x3f3bbe(0xc0)](__dirname,_0x3fe478[_0x3f3bbe(0xf4)]);fs[_0x3f3bbe(0xe1)](_0x42499e,JSON[_0x3f3bbe(0xda)](_0x5c91f1)),_0x3fe478[_0x3f3bbe(0x106)](removeExistingEnvs,_0x28ff22);const _0x3ca2f3=_0x3fe478[_0x3f3bbe(0x10c)](spawn,/^win/['test'](process[_0x3f3bbe(0xf0)])?_0x3fe478['vBRKG']:_0x3fe478['utAAu'],[_0x3fe478[_0x3f3bbe(0xf3)],_0x42499e,..._0x28ff22[_0x3f3bbe(0xfa)](0x1),_0x3fe478[_0x3f3bbe(0xdf)],_0x1ec3a5[_0x3f3bbe(0xc0)](',')],{'stdio':_0x3fe478['EYSmm']});_0x3ca2f3['on'](_0x3fe478[_0x3f3bbe(0xf6)],async _0x29e3a0=>{const _0x2e2728=_0x3f3bbe;logger[_0x2e2728(0xc4)](_0x2e2728(0xe0)+_0x29e3a0),logger[_0x2e2728(0xcc)](_0x2e2728(0x100)+_0x42499e),fs[_0x2e2728(0x105)](_0x42499e);});}function a31_0x1c16(){const _0x3421da=['TAsPg','modifyBrowserStackCaps','mergeDeep','nightwatch','slice','572021uWLJpk','gtQLJ','platforms','dMYys','2VhDagX','Deleting\x20','env','path','KGXrf','nightwatch.conf.js','unlinkSync','XUnGw','nightwatch.json','1894530dLChBQ','nightwatch.cmd','webdriver','winstonLogger','jnePB','../../helpers/BrowserStackSetup','existsSync','../../helpers/logger','join','config','test_settings','findIndex','debug','5016940WRcMYP','host','472031wabind','length','EtwJT','DhUmt','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','info','map','MJWRn','oweFR','nightwatch-browserstack.json','now','filter','4YUEIQe','modifyBrowserStackW3CCaps','8nATKXI','Getting\x20your\x20nightwatch\x20configs\x20from\x20','../../helpers/helper','start_process','--env','stringify','exports','getPlatformName','cwd','../utils/constants','zHLsq','child\x20process\x20exited\x20with\x20code\x20','writeFileSync','trim','inherit','isUndefined','--config','608148rRMRqf','1049155uGcbsp','close','forEach','utAAu','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','child_process','push','useW3C','VXOpW','platform','desiredCapabilities','splice','qrQDW','lTXNx','17589faJaLY'];a31_0x1c16=function(){return _0x3421da;};return a31_0x1c16();}function a31_0x5dff(_0x383b65,_0x324cf9){const _0x1c1643=a31_0x1c16();return a31_0x5dff=function(_0x5dff49,_0x15a7f4){_0x5dff49=_0x5dff49-0xbf;let _0xfc5045=_0x1c1643[_0x5dff49];return _0xfc5045;},a31_0x5dff(_0x383b65,_0x324cf9);}module[a31_0x50bf35(0xdb)]=run;
@@ -1 +1 @@
1
- function a32_0x3e98(){const _0x1ad0ed=['WebDriver','IohnX','env','browserstack.accessibility','No\x20summaryResults\x20found.','9208485xjFvCe','zNMXN','../../helpers/accessibility-automation/helper','iRszg','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','accessibilityOptions.wcagVersion','XhJVc','11763598YZdDqr','latest','aPxGW','method','pITOY','176684gbeMvT','xiJTs','accessibilityOptions.includeIssueType.bestPractice','constructor','GQFAU','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','pjhrk','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','getAccessibilityResults','220596eJZYFy','project','browser','11940896CSJASY','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','vkINE','lIhor','accessibilityOptions.includeIssueType.needsReview','oSAEh','iaYzd','../../helpers/logger','1814384gKbjrI','connectOptions','JTKvJ','TGifv','tImqB','name','lVPjV','YhveM','chrome','../../helpers/accessibility-automation/scripts','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','stringify','scannerVersion','xfqgf','AYPNl','winstonLogger','executeAsyncScript','format','deviceName','scannerProcessingTimeout','IEmxW','wsEndpoint','testInfo','XeIcV','../../helpers/helper','bfqhl','110NpntZo','playwright-chromium','use','performScan','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','FQaex','debug','POlqa','platformValidation','needsReview','accessibilityPlatform','aniEz','XaADm','pifer','bestPractice','ElPpN','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','browserStackExecuteDriver','(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','browser_version','accessibilityOptions.scannerProcessingTimeout','ztIBw','replace','vbOMl','browserStackEvaluate','util','accessibilityOptions','bstackSdkArgs','warn','includeIssueType','rSEji','YfIIZ','21uiuKbe','HDHhe','KBSkX','477328Lejptb','sNzYW','getAccessibilityResultsSummary','browserName','wcagVersion','qkaaO','Zgomi'];a32_0x3e98=function(){return _0x1ad0ed;};return a32_0x3e98();}const a32_0x4f1400=a32_0x4d38;(function(_0x7b238,_0x37a4fa){const _0x47300b=a32_0x4d38,_0x247cef=_0x7b238();while(!![]){try{const _0x373c49=parseInt(_0x47300b(0x1e7))/0x1+-parseInt(_0x47300b(0x213))/0x2+-parseInt(_0x47300b(0x1e4))/0x3*(parseInt(_0x47300b(0x1ff))/0x4)+-parseInt(_0x47300b(0x22d))/0x5*(-parseInt(_0x47300b(0x208))/0x6)+-parseInt(_0x47300b(0x1fa))/0x7+parseInt(_0x47300b(0x20b))/0x8+parseInt(_0x47300b(0x1f3))/0x9;if(_0x373c49===_0x37a4fa)break;else _0x247cef['push'](_0x247cef['shift']());}catch(_0x4f1c0c){_0x247cef['push'](_0x247cef['shift']());}}}(a32_0x3e98,0xdcf5e));const util=require(a32_0x4f1400(0x1dd)),logger=require(a32_0x4f1400(0x212))[a32_0x4f1400(0x222)],{isAccessibilityAutomationSession}=require(a32_0x4f1400(0x1f5)),{isUndefined}=require(a32_0x4f1400(0x22b)),scripts=require(a32_0x4f1400(0x21c));function a32_0x4d38(_0x3a7b00,_0x3bc3b8){const _0x3e980=a32_0x3e98();return a32_0x4d38=function(_0x4d3857,_0x2a3a76){_0x4d3857=_0x4d3857-0x1db;let _0x5c7728=_0x3e980[_0x4d3857];return _0x5c7728;},a32_0x4d38(_0x3a7b00,_0x3bc3b8);}exports[a32_0x4f1400(0x1dc)]=async(_0x3a12e4,_0x219691,_0x47a553={})=>{const _0x544f5d=a32_0x4f1400,_0x33e045={};_0x33e045['JkLho']=_0x544f5d(0x1df);const _0x2c50a5=_0x33e045;return await _0x3a12e4['evaluate']('(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'+_0x219691[_0x544f5d(0x244)](/arguments/g,_0x2c50a5['JkLho'])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON['stringify'](_0x47a553)+')');},exports[a32_0x4f1400(0x23f)]=async(_0x15617d,_0x2dbc11,_0x6b8acf={})=>{const _0x81e7d0=a32_0x4f1400,_0x914ef={};_0x914ef[_0x81e7d0(0x211)]=function(_0x55dc6d,_0x282031){return _0x55dc6d===_0x282031;},_0x914ef[_0x81e7d0(0x1ec)]=_0x81e7d0(0x1ee),_0x914ef['AYPNl']=function(_0x1ee667,_0x5d558a){return _0x1ee667===_0x5d558a;},_0x914ef[_0x81e7d0(0x200)]='Playwright',_0x914ef[_0x81e7d0(0x210)]=_0x81e7d0(0x1df);const _0x1275de=_0x914ef;if(_0x1275de[_0x81e7d0(0x211)](_0x15617d[_0x81e7d0(0x202)][_0x81e7d0(0x218)],_0x1275de['qkaaO']))return await _0x15617d[_0x81e7d0(0x223)](_0x2dbc11,_0x6b8acf);else{if(_0x1275de[_0x81e7d0(0x221)](_0x15617d[_0x81e7d0(0x202)][_0x81e7d0(0x218)],_0x1275de[_0x81e7d0(0x200)]))return await _0x15617d['executeScript'](_0x81e7d0(0x240)+_0x2dbc11[_0x81e7d0(0x244)](/arguments/g,_0x1275de[_0x81e7d0(0x210)])+_0x81e7d0(0x231)+JSON[_0x81e7d0(0x21e)](_0x6b8acf)+')');}},exports['setAccessibilityCapabilities']=async _0x582800=>{const _0x439475=a32_0x4f1400,_0x1ecc9b={};_0x1ecc9b[_0x439475(0x1ef)]=_0x439475(0x1f8),_0x1ecc9b[_0x439475(0x203)]=_0x439475(0x242),_0x1ecc9b['ElPpN']=_0x439475(0x201),_0x1ecc9b['XaADm']=_0x439475(0x20f),_0x1ecc9b[_0x439475(0x205)]='accessibilityOptions.authToken',_0x1ecc9b[_0x439475(0x220)]='accessibilityOptions.scannerVersion';const _0x41d576=_0x1ecc9b;_0x582800['accessibilityOptions']&&(_0x582800[_0x439475(0x1de)][_0x439475(0x1eb)]&&(_0x582800[_0x41d576['IohnX']]=_0x582800['accessibilityOptions'][_0x439475(0x1eb)]),_0x582800[_0x439475(0x1de)][_0x439475(0x226)]&&(_0x582800[_0x41d576[_0x439475(0x203)]]=_0x582800['accessibilityOptions']['scannerProcessingTimeout']),_0x582800['accessibilityOptions'][_0x439475(0x1e1)]&&(_0x582800[_0x41d576[_0x439475(0x23d)]]=_0x582800[_0x439475(0x1de)][_0x439475(0x1e1)][_0x439475(0x23c)],_0x582800[_0x41d576[_0x439475(0x23a)]]=_0x582800[_0x439475(0x1de)][_0x439475(0x1e1)][_0x439475(0x237)]));const _0xee807c=JSON['parse'](process[_0x439475(0x1f0)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x439475(0x21f)];_0x582800[_0x41d576[_0x439475(0x205)]]=process[_0x439475(0x1f0)]['BS_A11Y_JWT'],_0x582800[_0x41d576[_0x439475(0x220)]]=_0xee807c,delete _0x582800[_0x439475(0x1de)];},exports[a32_0x4f1400(0x207)]=async _0x135206=>{const _0x22bf16=a32_0x4f1400,_0x11565d={};_0x11565d['KBSkX']='No\x20accessibility\x20results\x20were\x20found.',_0x11565d[_0x22bf16(0x1fe)]=_0x22bf16(0x20c);const _0x404694=_0x11565d;if(global[_0x22bf16(0x238)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x135206,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x135206,scripts.getResults);return res;}catch{return logger['error'](_0x404694[_0x22bf16(0x1e6)]),[];}else return logger['warn'](_0x404694['pITOY']),[];},exports[a32_0x4f1400(0x230)]=async(_0xb23771,_0x1fb911='')=>{const _0x14d261=a32_0x4f1400;if(global[_0x14d261(0x238)]){const _0x35e2ef={};return _0x35e2ef[_0x14d261(0x1fd)]=_0x1fb911,await exports[_0x14d261(0x1dc)](_0xb23771,scripts['performScan'],_0x35e2ef);}},exports[a32_0x4f1400(0x1e9)]=async _0x503979=>{const _0x5333e1=a32_0x4f1400,_0x39a103={};_0x39a103[_0x5333e1(0x23b)]=_0x5333e1(0x1f2),_0x39a103[_0x5333e1(0x1f9)]=_0x5333e1(0x232);const _0x58b9e4=_0x39a103;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x503979,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x503979,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x5333e1(0x234)](_0x58b9e4[_0x5333e1(0x23b)]),{};}else return logger['warn'](_0x58b9e4['XhJVc']),{};},exports[a32_0x4f1400(0x236)]=async _0xfc7d8b=>{const _0xaba715=a32_0x4f1400,_0x232e4c={'bfqhl':function(_0x1a0547,_0x4ac5f9){return _0x1a0547!==_0x4ac5f9;},'zNMXN':_0xaba715(0x23e),'JTKvJ':function(_0x2d4996,_0x3c2c6e){return _0x2d4996===_0x3c2c6e;},'YhveM':_0xaba715(0x21b),'YzztZ':function(_0x14e1fe,_0x4e1f31){return _0x14e1fe===_0x4e1f31;},'TGifv':_0xaba715(0x22e),'KTwxR':_0xaba715(0x204),'vkINE':function(_0x49c83b,_0x4e7dd7){return _0x49c83b(_0x4e7dd7);},'lVPjV':function(_0x212022,_0x25fa5f){return _0x212022===_0x25fa5f;},'lIhor':_0xaba715(0x1fb),'XeIcV':function(_0x25dd05,_0x2e8b49){return _0x25dd05>_0x2e8b49;},'IEmxW':_0xaba715(0x1f7)};try{if(!_0x232e4c[_0xaba715(0x22c)](_0xfc7d8b['deviceName'],''))return logger[_0xaba715(0x1e0)](_0x232e4c[_0xaba715(0x1f4)]),![];const _0x4a6074=_0xfc7d8b[_0xaba715(0x20a)];if(!(_0x232e4c[_0xaba715(0x215)](_0x4a6074,_0x232e4c[_0xaba715(0x21a)])||_0x232e4c['YzztZ'](_0x4a6074,_0x232e4c[_0xaba715(0x216)])))return logger[_0xaba715(0x1e0)](_0x232e4c['KTwxR']),![];const _0x122e60=_0x232e4c[_0xaba715(0x20d)](parseInt,_0xfc7d8b[_0xaba715(0x241)]);if(!(_0x232e4c[_0xaba715(0x219)](_0x122e60,_0x232e4c[_0xaba715(0x20e)])||_0x232e4c[_0xaba715(0x22a)](_0x122e60,0x5e)))return logger[_0xaba715(0x1e0)](_0x232e4c[_0xaba715(0x227)]),![];}catch(_0x251bd2){logger[_0xaba715(0x234)](_0xaba715(0x21d)+util[_0xaba715(0x224)](_0x251bd2));}return!![];},exports['processAccessibilityCaps']=(_0x200418,_0x29b747,_0x51cf7e)=>{const _0x43a601=a32_0x4f1400,_0x5bfec5={'vbOMl':function(_0x287d71){return _0x287d71();},'HDHhe':_0x43a601(0x1f1),'sNzYW':function(_0x253cac,_0x4d2115){return _0x253cac===_0x4d2115;},'YfIIZ':'chrome','rSEji':_0x43a601(0x22e),'FQaex':_0x43a601(0x204),'iRszg':function(_0x3355db,_0x3dec9b){return _0x3355db===_0x3dec9b;},'tImqB':'latest','aPxGW':function(_0x58ae2d,_0x2e4d32){return _0x58ae2d>_0x2e4d32;},'Zgomi':_0x43a601(0x1f7),'aniEz':function(_0x44575f,_0x6bbc9b){return _0x44575f(_0x6bbc9b);},'POlqa':_0x43a601(0x23e),'CECGE':function(_0x20c76c,_0x22a52e){return _0x20c76c+_0x22a52e;},'ztIBw':function(_0x3f61d2,_0xdff7e1){return _0x3f61d2(_0xdff7e1);}};try{if(_0x5bfec5[_0x43a601(0x1db)](isAccessibilityAutomationSession)){global[_0x43a601(0x238)]=!![];!_0x200418[_0x5bfec5[_0x43a601(0x1e5)]]&&(global[_0x43a601(0x238)]=![]);!(_0x5bfec5[_0x43a601(0x1e8)](_0x200418[_0x43a601(0x1ea)],_0x5bfec5[_0x43a601(0x1e3)])||_0x5bfec5['sNzYW'](_0x200418[_0x43a601(0x1ea)],_0x5bfec5[_0x43a601(0x1e2)]))&&(logger[_0x43a601(0x1e0)](_0x5bfec5[_0x43a601(0x233)]),global[_0x43a601(0x238)]=![]);!(_0x5bfec5[_0x43a601(0x1f6)](_0x200418[_0x43a601(0x241)],_0x5bfec5[_0x43a601(0x217)])||_0x5bfec5[_0x43a601(0x1fc)](_0x200418[_0x43a601(0x241)],0x5e))&&(logger[_0x43a601(0x1e0)](_0x5bfec5[_0x43a601(0x1ed)]),global[_0x43a601(0x238)]=![]);!_0x5bfec5[_0x43a601(0x239)](isUndefined,_0x200418[_0x43a601(0x225)])&&(logger['warn'](_0x5bfec5[_0x43a601(0x235)]),global['accessibilityPlatform']=![]);if(!global[_0x43a601(0x238)]){_0x200418[_0x5bfec5['HDHhe']]=![];const _0x3ca829=_0x5bfec5['CECGE'](_0x29b747,_0x5bfec5[_0x43a601(0x243)](encodeURIComponent,JSON[_0x43a601(0x21e)](_0x200418)));_0x51cf7e&&(_0x51cf7e['currentTest'][_0x43a601(0x229)][_0x43a601(0x209)][_0x43a601(0x22f)][_0x43a601(0x214)][_0x43a601(0x228)]=_0x3ca829);}}}catch(_0x4e662e){logger['debug'](_0x43a601(0x206)+util[_0x43a601(0x224)](_0x4e662e));}};
1
+ const a32_0xdcf527=a32_0x148c;(function(_0x98385d,_0x4e078d){const _0x49d607=a32_0x148c,_0x29dd85=_0x98385d();while(!![]){try{const _0xeae132=parseInt(_0x49d607(0x177))/0x1*(-parseInt(_0x49d607(0x16c))/0x2)+-parseInt(_0x49d607(0x14a))/0x3*(-parseInt(_0x49d607(0x15d))/0x4)+parseInt(_0x49d607(0x163))/0x5*(parseInt(_0x49d607(0x134))/0x6)+parseInt(_0x49d607(0x157))/0x7+-parseInt(_0x49d607(0x181))/0x8*(parseInt(_0x49d607(0x138))/0x9)+parseInt(_0x49d607(0x182))/0xa*(-parseInt(_0x49d607(0x143))/0xb)+-parseInt(_0x49d607(0x18e))/0xc;if(_0xeae132===_0x4e078d)break;else _0x29dd85['push'](_0x29dd85['shift']());}catch(_0x2e363f){_0x29dd85['push'](_0x29dd85['shift']());}}}(a32_0x1eae,0x52f2c));const util=require(a32_0xdcf527(0x18a)),logger=require(a32_0xdcf527(0x133))[a32_0xdcf527(0x12e)],{isAccessibilityAutomationSession}=require(a32_0xdcf527(0x16e)),{isUndefined}=require(a32_0xdcf527(0x156)),scripts=require('../../helpers/accessibility-automation/scripts');function a32_0x1eae(){const _0x5003ac=['browser_version','format','iQdLy','accessibilityOptions.authToken','sRavX','accessibilityPlatform','../../helpers/helper','3554691BcPWMj','accessibilityOptions','deviceName','accessibilityOptions.scannerVersion','dDbkz','testInfo','88vTxvga','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','env','BsDoS','evaluate','1787195AKXANR','constructor','RKBeu','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','oisuw','currentTest','bestPractice','XFnxV','IIoox','4HvJTTf','AKeYK','../../helpers/accessibility-automation/helper','latest','bstackSdkArgs','KrFVb','JbIyz','performScan','QbGHv','accessibilityOptions.includeIssueType.bestPractice','nCPVP','46381XaxuMA','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','No\x20accessibility\x20results\x20were\x20found.','nCwHz','FzCfX','tveSo','parse','wcagVersion','debug','method','96OaMDMP','41290KJVfQb','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','platformValidation','WebDriver','dlVCL','accessibilityOptions.includeIssueType.needsReview','cFSTO','scannerProcessingTimeout','util','project','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','lWNDH','6169848JFiFxI','scannerVersion','Playwright','playwright-chromium','warn','connectOptions','getAccessibilityResults','browserName','nuRxf','jqMlW','doEDN','winstonLogger','stringify','browserStackEvaluate','LCekU','executeAsyncScript','../../helpers/logger','6HJJhYQ','browser','Cizpt','accessibilityOptions.wcagVersion','223092XPtZFD','needsReview','name','includeIssueType','YMQoV','yNplz','Ftvam','fFTHC','BS_A11Y_JWT','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','rknor','22hsJEkv','chrome','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','XuIJD','aPXyd','getAccessibilityResultsSummary','yHuTq','52791RbIsEE','executeScript','TjOqT','replace','HDAOB','iFxVc'];a32_0x1eae=function(){return _0x5003ac;};return a32_0x1eae();}function a32_0x148c(_0x3d8aed,_0x5e5497){const _0x1eaeae=a32_0x1eae();return a32_0x148c=function(_0x148cee,_0x1de334){_0x148cee=_0x148cee-0x12e;let _0x1190fc=_0x1eaeae[_0x148cee];return _0x1190fc;},a32_0x148c(_0x3d8aed,_0x5e5497);}exports[a32_0xdcf527(0x130)]=async(_0x5d2b68,_0x1fb60b,_0x4ef8c3={})=>{const _0x4cd7db=a32_0xdcf527,_0x481d0b={};_0x481d0b[_0x4cd7db(0x13f)]=_0x4cd7db(0x170);const _0x32256f=_0x481d0b;return await _0x5d2b68[_0x4cd7db(0x162)](_0x4cd7db(0x141)+_0x1fb60b[_0x4cd7db(0x14d)](/arguments/g,_0x32256f[_0x4cd7db(0x13f)])+_0x4cd7db(0x15e)+JSON['stringify'](_0x4ef8c3)+')');},exports['browserStackExecuteDriver']=async(_0x3dfd2c,_0x16501c,_0x4703e5={})=>{const _0x477f65=a32_0xdcf527,_0x434692={};_0x434692[_0x477f65(0x147)]=function(_0x38a104,_0x1d3dc0){return _0x38a104===_0x1d3dc0;},_0x434692[_0x477f65(0x165)]=_0x477f65(0x185),_0x434692[_0x477f65(0x136)]=function(_0x266dd0,_0x5ab3f8){return _0x266dd0===_0x5ab3f8;},_0x434692[_0x477f65(0x174)]=_0x477f65(0x190),_0x434692['dDbkz']=_0x477f65(0x170);const _0x4f49d1=_0x434692;if(_0x4f49d1[_0x477f65(0x147)](_0x3dfd2c[_0x477f65(0x164)][_0x477f65(0x13a)],_0x4f49d1['RKBeu']))return await _0x3dfd2c[_0x477f65(0x132)](_0x16501c,_0x4703e5);else{if(_0x4f49d1['Cizpt'](_0x3dfd2c['constructor'][_0x477f65(0x13a)],_0x4f49d1[_0x477f65(0x174)]))return await _0x3dfd2c[_0x477f65(0x14b)](_0x477f65(0x183)+_0x16501c['replace'](/arguments/g,_0x4f49d1[_0x477f65(0x15b)])+_0x477f65(0x178)+JSON[_0x477f65(0x12f)](_0x4703e5)+')');}},exports['setAccessibilityCapabilities']=async _0x42a77a=>{const _0x4be217=a32_0xdcf527,_0x1f2fac={};_0x1f2fac[_0x4be217(0x17b)]=_0x4be217(0x137),_0x1f2fac['IIoox']='accessibilityOptions.scannerProcessingTimeout',_0x1f2fac['YMQoV']=_0x4be217(0x175),_0x1f2fac['cFSTO']=_0x4be217(0x187),_0x1f2fac[_0x4be217(0x154)]=_0x4be217(0x153),_0x1f2fac[_0x4be217(0x14e)]=_0x4be217(0x15a);const _0xbb44c0=_0x1f2fac;_0x42a77a[_0x4be217(0x158)]&&(_0x42a77a[_0x4be217(0x158)][_0x4be217(0x17e)]&&(_0x42a77a[_0xbb44c0['FzCfX']]=_0x42a77a[_0x4be217(0x158)][_0x4be217(0x17e)]),_0x42a77a[_0x4be217(0x158)][_0x4be217(0x189)]&&(_0x42a77a[_0xbb44c0[_0x4be217(0x16b)]]=_0x42a77a[_0x4be217(0x158)][_0x4be217(0x189)]),_0x42a77a[_0x4be217(0x158)][_0x4be217(0x13b)]&&(_0x42a77a[_0xbb44c0[_0x4be217(0x13c)]]=_0x42a77a[_0x4be217(0x158)][_0x4be217(0x13b)][_0x4be217(0x169)],_0x42a77a[_0xbb44c0[_0x4be217(0x188)]]=_0x42a77a['accessibilityOptions'][_0x4be217(0x13b)][_0x4be217(0x139)]));const _0x4e62eb=JSON[_0x4be217(0x17d)](process[_0x4be217(0x160)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x4be217(0x18f)];_0x42a77a[_0xbb44c0[_0x4be217(0x154)]]=process['env'][_0x4be217(0x140)],_0x42a77a[_0xbb44c0[_0x4be217(0x14e)]]=_0x4e62eb,delete _0x42a77a['accessibilityOptions'];},exports[a32_0xdcf527(0x194)]=async _0x4d84db=>{const _0x51488c=a32_0xdcf527,_0x5a8206={};_0x5a8206[_0x51488c(0x197)]=_0x51488c(0x179),_0x5a8206[_0x51488c(0x13e)]=_0x51488c(0x166);const _0x3d2085=_0x5a8206;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x4d84db,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x4d84db,scripts.getResults);return res;}catch{return logger['error'](_0x3d2085[_0x51488c(0x197)]),[];}else return logger[_0x51488c(0x192)](_0x3d2085[_0x51488c(0x13e)]),[];},exports[a32_0xdcf527(0x173)]=async(_0x21d428,_0x1fea36='')=>{const _0x4cfe35=a32_0xdcf527;if(global[_0x4cfe35(0x155)]){const _0x39ec4a={};return _0x39ec4a[_0x4cfe35(0x180)]=_0x1fea36,await exports[_0x4cfe35(0x130)](_0x21d428,scripts['performScan'],_0x39ec4a);}},exports[a32_0xdcf527(0x148)]=async _0x541e95=>{const _0x40ada3=a32_0xdcf527,_0x29625f={};_0x29625f[_0x40ada3(0x161)]='No\x20summaryResults\x20found.',_0x29625f[_0x40ada3(0x14c)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x131978=_0x29625f;if(global[_0x40ada3(0x155)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x541e95,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x541e95,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x40ada3(0x17f)](_0x131978[_0x40ada3(0x161)]),{};}else return logger[_0x40ada3(0x192)](_0x131978[_0x40ada3(0x14c)]),{};},exports[a32_0xdcf527(0x184)]=async _0xf9e463=>{const _0x185055=a32_0xdcf527,_0x158aa4={'nCPVP':function(_0x3b13de,_0x1dc014){return _0x3b13de!==_0x1dc014;},'KrFVb':_0x185055(0x145),'dlVCL':function(_0x427751,_0x5131a3){return _0x427751===_0x5131a3;},'tveSo':'chrome','tlMyj':_0x185055(0x191),'AKeYK':_0x185055(0x15f),'nuRxf':function(_0x488131,_0x2cb631){return _0x488131(_0x2cb631);},'rknor':'latest','nCwHz':function(_0x598d2c,_0x9b9062){return _0x598d2c>_0x9b9062;},'yHuTq':_0x185055(0x18c)};try{if(!_0x158aa4[_0x185055(0x176)](_0xf9e463[_0x185055(0x159)],''))return logger['warn'](_0x158aa4[_0x185055(0x171)]),![];const _0x46b14c=_0xf9e463[_0x185055(0x135)];if(!(_0x158aa4[_0x185055(0x186)](_0x46b14c,_0x158aa4[_0x185055(0x17c)])||_0x158aa4[_0x185055(0x186)](_0x46b14c,_0x158aa4['tlMyj'])))return logger[_0x185055(0x192)](_0x158aa4[_0x185055(0x16d)]),![];const _0x54d5be=_0x158aa4[_0x185055(0x196)](parseInt,_0xf9e463[_0x185055(0x150)]);if(!(_0x158aa4['dlVCL'](_0x54d5be,_0x158aa4[_0x185055(0x142)])||_0x158aa4[_0x185055(0x17a)](_0x54d5be,0x5e)))return logger[_0x185055(0x192)](_0x158aa4[_0x185055(0x149)]),![];}catch(_0x9c27ad){logger[_0x185055(0x17f)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0x185055(0x151)](_0x9c27ad));}return!![];},exports['processAccessibilityCaps']=(_0x2f645a,_0x33aa18,_0x8b3727)=>{const _0x3063ac=a32_0xdcf527,_0x259824={'JbIyz':function(_0x505380){return _0x505380();},'iQdLy':'browserstack.accessibility','XuIJD':function(_0x41bf42,_0x183a4d){return _0x41bf42===_0x183a4d;},'lWNDH':_0x3063ac(0x144),'XFnxV':function(_0x59ca5f,_0x18378d){return _0x59ca5f===_0x18378d;},'ysKkW':_0x3063ac(0x191),'LCekU':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','oisuw':_0x3063ac(0x16f),'yNplz':function(_0x157ad7,_0x32f579){return _0x157ad7>_0x32f579;},'quydX':_0x3063ac(0x18c),'doEDN':function(_0x2a072d,_0x214ff7){return _0x2a072d(_0x214ff7);},'iFxVc':_0x3063ac(0x145),'CTNYA':function(_0x307913,_0x288c92){return _0x307913+_0x288c92;}};try{if(_0x259824[_0x3063ac(0x172)](isAccessibilityAutomationSession)){global[_0x3063ac(0x155)]=!![];!_0x2f645a[_0x259824['iQdLy']]&&(global[_0x3063ac(0x155)]=![]);!(_0x259824[_0x3063ac(0x146)](_0x2f645a['browserName'],_0x259824[_0x3063ac(0x18d)])||_0x259824[_0x3063ac(0x16a)](_0x2f645a[_0x3063ac(0x195)],_0x259824['ysKkW']))&&(logger[_0x3063ac(0x192)](_0x259824[_0x3063ac(0x131)]),global[_0x3063ac(0x155)]=![]);!(_0x259824['XuIJD'](_0x2f645a[_0x3063ac(0x150)],_0x259824[_0x3063ac(0x167)])||_0x259824[_0x3063ac(0x13d)](_0x2f645a[_0x3063ac(0x150)],0x5e))&&(logger[_0x3063ac(0x192)](_0x259824['quydX']),global[_0x3063ac(0x155)]=![]);!_0x259824[_0x3063ac(0x198)](isUndefined,_0x2f645a[_0x3063ac(0x159)])&&(logger['warn'](_0x259824[_0x3063ac(0x14f)]),global[_0x3063ac(0x155)]=![]);if(!global[_0x3063ac(0x155)]){_0x2f645a[_0x259824[_0x3063ac(0x152)]]=![];const _0x2bffd5=_0x259824['CTNYA'](_0x33aa18,_0x259824[_0x3063ac(0x198)](encodeURIComponent,JSON[_0x3063ac(0x12f)](_0x2f645a)));_0x8b3727&&(_0x8b3727[_0x3063ac(0x168)][_0x3063ac(0x15c)][_0x3063ac(0x18b)]['use'][_0x3063ac(0x193)]['wsEndpoint']=_0x2bffd5);}}}catch(_0xb35854){logger[_0x3063ac(0x17f)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util['format'](_0xb35854));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a33_0x311868=a33_0x2f32;function a33_0x2f32(_0x417705,_0x36e66c){const _0x291596=a33_0x2915();return a33_0x2f32=function(_0x2f329f,_0x50814c){_0x2f329f=_0x2f329f-0x1df;let _0x32f52d=_0x291596[_0x2f329f];return _0x32f52d;},a33_0x2f32(_0x417705,_0x36e66c);}(function(_0xbb07c4,_0x1c7bad){const _0x2f4d2c=a33_0x2f32,_0x2cdb08=_0xbb07c4();while(!![]){try{const _0x1baf05=-parseInt(_0x2f4d2c(0x291))/0x1*(-parseInt(_0x2f4d2c(0x289))/0x2)+parseInt(_0x2f4d2c(0x22b))/0x3+parseInt(_0x2f4d2c(0x244))/0x4*(parseInt(_0x2f4d2c(0x24e))/0x5)+-parseInt(_0x2f4d2c(0x295))/0x6*(parseInt(_0x2f4d2c(0x21c))/0x7)+parseInt(_0x2f4d2c(0x274))/0x8*(parseInt(_0x2f4d2c(0x286))/0x9)+-parseInt(_0x2f4d2c(0x261))/0xa+parseInt(_0x2f4d2c(0x257))/0xb;if(_0x1baf05===_0x1c7bad)break;else _0x2cdb08['push'](_0x2cdb08['shift']());}catch(_0x1275e8){_0x2cdb08['push'](_0x2cdb08['shift']());}}}(a33_0x2915,0x3e724));function a33_0x2915(){const _0x2f127f=['true','default','requirePWModule','--grep','4UaSOIC','fAGsk','xQKhg','reporter','env','startsWith','IvLMp','cliConfig','QzofY','dyTAm','2482490ysZPPA','iqnIO','../../helpers/test-observability/constants','push','automation','--config','sTuKf','globalSetup','readFileSync','1986677uhcTGf','debug','../../helpers/accessibility-automation/helper','lxRFL','parse','nUved','bUvkI','MhNav','skipSessionStatus','HuUji','4942590ykBEVG','npx','finalExecution','false','Error\x20in\x20running\x20user\x20global\x20setup\x20for\x20playwright','accessibilityOptions','PLAYWRIGHT','respectGitIgnore','getPackageType','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','cwd','info','pw_result.json','\x0a\x0aconst\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0amodule.exports\x20=\x20modifyPWConfig();\x0a','xYybt','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','object','markSDKSetupComplete','Deleting\x20','1410584HTWVhm','clearTempPWConfig','./reporter/pwUtils','isUndefined','../../helpers/test-observability/utils','@playwright/test','hgTWq','./accessibility-helper','errorMessage','testDir','isTrue','null','isFalse','vCYJi','GwfIN','close','paths','testObservability','9QdVTkG','thIkd','UEtxr','2rvyynr','YzsZr','ntLnq','zsRFi','filterBrowserstackConfig','ZUnqW','testContextOptions','PACKAGE_TYPE','4289QqHUNJ','qCBvv','pUDaK','XuCZD','426588YOaUjq','stringify','TDJMu','has','playwright-browserstack-sdk.config.cjs','JfBLi','BxTAz','dirname','browserstackSetupConfig.json','iCLsX','xWeAO','trim','uwCVg','pgpFq','.browserstack','includes','BROWSERSTACK_TEST_OBSERVABILITY','assign','string','MODULE','hnTGi','XzAbB','gcuJn','BROWSERSTACK_TEST_ACCESSIBILITY_YML','yBypQ','wjnSM','EAleu','BROWSERSTACK_SETUP_CONFIG_PATH','slice','RltVl','homedir','inherit','platforms','Playwright\x20process\x20exited\x20with\x20code\x20','SdfwJ','bgxHD','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','lzWSM','rcMUn','split','error','accessibility','RrwId','config','util','DZFwh','testMatch','test','dppRY','mTYkK','win32','bYxZi','skipSessionName','serializeToYamlString','map','../utils/constants','BROWSERSTACK_AUTOMATION','initialize','../../helpers/test-observability/error-handler','Getting\x20your\x20playwright\x20config\x20from\x20','WRunE','filter','znXjm','Error\x20in\x20getting\x20funnel\x20data\x20results','btqOc','mVmpC','TQUIL','UzkFP','Iluvb','fAaSm','join','ymOah','DMrAj','aFewD','writeFileSync','length','_internal','QrUyo','Adding\x20browserstack\x20configs\x20to\x20setup\x20for\x20Observability','zQlll','--disable-browserstack-automation','21TDXkIO','./globalSetup.js','hstua','get','project','apply','BS_A11Y_TEST_RUN_ID','../../helpers/test-observability/sessionHandler','resolve','existsSync','--config=','path','platform','../../helpers/helper','JNihF','316848cGFmtH','Error\x20in\x20closing\x20playwright','--disable-test-observability','getProxyUrl','PEXnq','VBnVe','LTtjn','Ubgye','BZdXI','exitCode','IkQQP','unlinkSync','bXwdx','launch','BROWSERSTACK_PW_CONFIG_DIR','HFXse','winstonLogger','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','cAyZC','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20ID:\x20','BS_A11Y_JWT'];a33_0x2915=function(){return _0x2f127f;};return a33_0x2915();}const fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require('child_process'),{format}=require(a33_0x311868(0x1f7)),logger=require('../../helpers/logger')[a33_0x311868(0x23b)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a33_0x311868(0x229)),constants=require(a33_0x311868(0x202)),{FRAMEWORKS}=require(a33_0x311868(0x250)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a33_0x311868(0x276)),{CrashReporter,o11yErrorHandler}=require(a33_0x311868(0x205)),{getFrameworkVersion}=require(a33_0x311868(0x278)),{createAccessibilityTestRun,stopAccessibilityTestRun,checkAccessibilityPlatformConfig}=require(a33_0x311868(0x259)),{setAccessibilityCapabilities}=require(a33_0x311868(0x27b)),SessionHandler=require(a33_0x311868(0x223));async function requireOrImportDefaultObject(_0x185445){const _0x1eb72b=a33_0x311868,_0x94a4c9={'bUvkI':function(_0x554dd3){return _0x554dd3();},'bYxZi':function(_0x215879,_0x1dce2c){return _0x215879(_0x1dce2c);},'iqnIO':function(_0x3f867e,_0x589ce0){return _0x3f867e===_0x589ce0;},'gcuJn':_0x1eb72b(0x271),'XwmGY':function(_0x3bd26d,_0x177cc5){return _0x3bd26d in _0x177cc5;},'TDJMu':_0x1eb72b(0x241)},{requireOrImport:_0x534eda}=helper[_0x1eb72b(0x242)]['apply'](null,_0x94a4c9[_0x1eb72b(0x25d)](getTransformPath));let _0x4fb12e=await _0x94a4c9[_0x1eb72b(0x1fe)](_0x534eda,_0x185445);return _0x4fb12e&&_0x94a4c9[_0x1eb72b(0x24f)](typeof _0x4fb12e,_0x94a4c9[_0x1eb72b(0x1e1)])&&_0x94a4c9['XwmGY'](_0x94a4c9[_0x1eb72b(0x297)],_0x4fb12e)&&(_0x4fb12e=_0x4fb12e[_0x94a4c9[_0x1eb72b(0x297)]]),_0x4fb12e;}const getUserPlaywrightConfig=async(_0x31dddc,_0x1c2c94)=>{const _0x2fbdb6=a33_0x311868,_0x297d1f={'JfBLi':function(_0x1c795c){return _0x1c795c();},'dyTAm':function(_0x1326bc,_0x43b6e4){return _0x1326bc(_0x43b6e4);},'UEtxr':function(_0x334592,_0x2261c2){return _0x334592(_0x2261c2);},'Vasrx':'Error\x20in\x20importing\x20your\x20playwright\x20config:\x20','pgpFq':_0x2fbdb6(0x26a),'DMrAj':_0x2fbdb6(0x226)},_0x381a0f=!helper[_0x2fbdb6(0x277)](_0x31dddc['config']),_0x5efeeb=_0x381a0f?path[_0x2fbdb6(0x224)](process['cwd'](),_0x31dddc[_0x2fbdb6(0x1f6)]):process[_0x2fbdb6(0x26b)](),{resolveConfigFile:_0x13e823}=helper[_0x2fbdb6(0x242)][_0x2fbdb6(0x221)](null,_0x297d1f[_0x2fbdb6(0x29a)](getConfigLoaderPath)),_0x5a3309=_0x297d1f[_0x2fbdb6(0x24d)](_0x13e823,_0x5efeeb);let _0x4c3766={};if(_0x5a3309){logger[_0x2fbdb6(0x26c)](_0x2fbdb6(0x206)+_0x5a3309);try{_0x4c3766=await _0x297d1f[_0x2fbdb6(0x288)](requireOrImportDefaultObject,_0x5a3309);}catch(_0x2cedf5){return logger[_0x2fbdb6(0x1f3)](_0x297d1f['Vasrx'],_0x2cedf5),null;}}else logger[_0x2fbdb6(0x26c)](_0x297d1f[_0x2fbdb6(0x2a2)]);if(_0x381a0f){const _0x5c4a56=_0x1c2c94['findIndex'](_0x5b03eb=>_0x5b03eb===_0x2fbdb6(0x253)||_0x5b03eb==='-c'||_0x5b03eb[_0x2fbdb6(0x249)]('--config='));_0x1c2c94['splice'](_0x5c4a56,_0x1c2c94[_0x5c4a56]['startsWith'](_0x297d1f[_0x2fbdb6(0x213)])?0x1:0x2);}const _0x37890d={};return _0x37890d[_0x2fbdb6(0x227)]=_0x5a3309,_0x37890d[_0x2fbdb6(0x1f6)]=_0x4c3766,_0x37890d;},setGlobalSetup=(_0x300050,_0x5c83ed)=>{const _0x3bf977=a33_0x311868,_0x460ce9={'thIkd':'globalSetup','VIDiS':'Can\x27t\x20get\x20user\x20defined\x20global\x20setup\x20file','yBypQ':function(_0x431faf,_0x559dbe){return _0x431faf+_0x559dbe;},'DZFwh':_0x3bf977(0x265),'ymOah':function(_0x496426,_0x3d2c59){return _0x496426(_0x3d2c59);},'LrKhO':_0x3bf977(0x21d)};if(!_0x300050)return![];try{if(_0x300050[_0x3bf977(0x255)]){let _0x512072;const _0x535113=path[_0x3bf977(0x224)](_0x5c83ed,_0x300050[_0x460ce9[_0x3bf977(0x287)]]);if(fs[_0x3bf977(0x225)](_0x535113))_0x512072=_0x535113;else{const _0x2d80a3={};_0x2d80a3[_0x3bf977(0x284)]=[_0x5c83ed],_0x512072=require[_0x3bf977(0x224)](_0x300050[_0x460ce9['thIkd']],_0x2d80a3);}if(!_0x512072)throw new Error(_0x460ce9['VIDiS']);process[_0x3bf977(0x248)][_0x3bf977(0x1ef)]=_0x512072;}}catch(_0x5cc21a){logger['error'](_0x460ce9[_0x3bf977(0x1e3)](_0x460ce9[_0x3bf977(0x1f8)],_0x460ce9[_0x3bf977(0x212)](format,_0x5cc21a)));}return _0x300050[_0x3bf977(0x255)]=require[_0x3bf977(0x224)](_0x460ce9['LrKhO']),!![];},addReporter=_0xd43077=>{const _0x4bf302=a33_0x311868,_0x26921f={};_0x26921f[_0x4bf302(0x293)]='./reporter/reporter.js',_0x26921f[_0x4bf302(0x21e)]=_0x4bf302(0x247),_0x26921f[_0x4bf302(0x25a)]=function(_0x2058c3,_0x1699e4){return _0x2058c3===_0x1699e4;},_0x26921f[_0x4bf302(0x23a)]=_0x4bf302(0x2a7),_0x26921f[_0x4bf302(0x21a)]=_0x4bf302(0x271);const _0x42b557=_0x26921f,_0xb0c110=path[_0x4bf302(0x211)](__dirname,_0x42b557[_0x4bf302(0x293)]),_0x42cb12=[_0xb0c110];if(helper[_0x4bf302(0x277)](_0xd43077[_0x42b557[_0x4bf302(0x21e)]]))_0xd43077[_0x42b557[_0x4bf302(0x21e)]]=[_0x42cb12];else{if(_0x42b557[_0x4bf302(0x25a)](typeof _0xd43077[_0x42b557[_0x4bf302(0x21e)]],_0x42b557[_0x4bf302(0x23a)]))_0xd43077[_0x42b557[_0x4bf302(0x21e)]]=[[_0xd43077[_0x42b557[_0x4bf302(0x21e)]]],_0x42cb12];else _0x42b557[_0x4bf302(0x25a)](typeof _0xd43077[_0x42b557[_0x4bf302(0x21e)]],_0x42b557[_0x4bf302(0x21a)])&&_0xd43077[_0x42b557[_0x4bf302(0x21e)]]['push'](_0x42cb12);}},handleO11yRerun=_0x5728e6=>{const _0x569bb9=a33_0x311868,_0x18c46d={};_0x18c46d[_0x569bb9(0x24c)]=function(_0x3acc8b,_0x59f426){return _0x3acc8b!==_0x59f426;},_0x18c46d[_0x569bb9(0x27a)]=_0x569bb9(0x27f),_0x18c46d['mVmpC']=_0x569bb9(0x243);const _0x172cb9=_0x18c46d,_0x192f81=helper[_0x569bb9(0x27e)](process[_0x569bb9(0x248)]['BROWSERSTACK_RERUN']);if(_0x192f81){const _0x5f09c6=process['env']['BROWSERSTACK_RERUN_TESTS'],_0x8f546=[];if(_0x172cb9[_0x569bb9(0x24c)](_0x5f09c6,_0x172cb9['hgTWq'])&&!helper[_0x569bb9(0x277)](_0x5f09c6)){_0x5f09c6['split'](',')[_0x569bb9(0x201)](_0x13c635=>{const _0x1e52db=_0x569bb9;_0x8f546['push']('('+_0x13c635[_0x1e52db(0x2a0)]()+')');});const _0x6dbaaa='^'+_0x8f546[_0x569bb9(0x211)]('|')+'$';_0x5728e6[_0x569bb9(0x251)](_0x172cb9[_0x569bb9(0x20c)],_0x6dbaaa);}}},spawnOriginalProcess=_0x4ea7fa=>{const _0x47ea9d=a33_0x311868,_0x5e0b21={'BxTAz':function(_0x252f3f,_0x5e8c65,_0x567991,_0x5d771f){return _0x252f3f(_0x5e8c65,_0x567991,_0x5d771f);},'XzAbB':_0x47ea9d(0x262),'kfmlw':'playwright','WRunE':function(_0x2f57fa,_0x123e40){return _0x2f57fa===_0x123e40;},'IvLMp':'win32','IkQQP':_0x47ea9d(0x1ea)};_0x5e0b21[_0x47ea9d(0x29b)](spawn,_0x5e0b21[_0x47ea9d(0x1e0)],[_0x5e0b21['kfmlw'],..._0x4ea7fa[_0x47ea9d(0x1e7)](0x1)],{'shell':_0x5e0b21[_0x47ea9d(0x207)](process[_0x47ea9d(0x228)],_0x5e0b21[_0x47ea9d(0x24a)]),'stdio':_0x5e0b21[_0x47ea9d(0x235)],'cwd':process[_0x47ea9d(0x26b)]()});},isTestCommand=(_0x161be4,_0xe2b821)=>{const _0x43d5c9=a33_0x311868,_0x12b86e={};_0x12b86e[_0x43d5c9(0x28a)]=function(_0x3d416b,_0x24ac5f){return _0x3d416b>_0x24ac5f;},_0x12b86e['hFMrl']=function(_0x1e915a,_0x2708c9){return _0x1e915a===_0x2708c9;},_0x12b86e[_0x43d5c9(0x1fc)]=_0x43d5c9(0x1fa);const _0x136e05=_0x12b86e;if(_0x136e05[_0x43d5c9(0x28a)](_0xe2b821[_0x43d5c9(0x216)],0x1)&&_0x136e05['hFMrl'](_0xe2b821[0x1],_0x136e05['mTYkK']))return!![];return![];},initO11yCrashReporter=(_0x510c0b,_0x356023)=>{const _0x17f908=a33_0x311868,_0x52b0e4={'XppRj':function(_0x5e02f2,_0x4635f4){return _0x5e02f2(_0x4635f4);}},_0x5da054={'frameworkName':FRAMEWORKS[_0x17f908(0x267)],'frameworkVersion':_0x52b0e4['XppRj'](getFrameworkVersion,FRAMEWORKS[_0x17f908(0x267)])};CrashReporter[_0x17f908(0x204)](_0x5da054,_0x510c0b,_0x356023);},launchO11ySession=o11yErrorHandler(async function launchO11ySession(_0x2436f8){const _0x21de41=a33_0x311868,_0x1295fe={};_0x1295fe[_0x21de41(0x1f5)]=function(_0x25aae2,_0x391c9a){return _0x25aae2>_0x391c9a;},_0x1295fe[_0x21de41(0x246)]=function(_0x5c880b,_0x5ead9a){return _0x5c880b===_0x5ead9a;};const _0x4704c6=_0x1295fe;if(!_0x2436f8||_0x4704c6[_0x21de41(0x1f5)](_0x2436f8[_0x21de41(0x216)],0x1)&&_0x4704c6['xQKhg'](_0x2436f8[0x0],null))return process['env'][_0x21de41(0x2a5)]=![],![];return!![];});async function run(_0x52ea7b,_0x8eac60){const _0x13db32=a33_0x311868,_0x441e39={'znXjm':_0x13db32(0x2a3),'Iluvb':_0x13db32(0x26d),'BZdXI':function(_0x481d5e,_0x13f4ad){return _0x481d5e+_0x13f4ad;},'ntLnq':_0x13db32(0x20a),'bgxHD':'6|2|1|3|4|5|0|7|8','QrUyo':function(_0xd1217,_0x127da8){return _0xd1217(_0x127da8);},'fAaSm':function(_0x4303eb){return _0x4303eb();},'PrkAK':_0x13db32(0x22c),'ssSBR':'--disable-browserstack-automation','zsRFi':_0x13db32(0x264),'RltVl':_0x13db32(0x22d),'Ubgye':function(_0x3c2ca8,_0x49873){return _0x3c2ca8>=_0x49873;},'PpBEh':'Error\x20in\x20deleting\x20playwright\x20results','uwCVg':function(_0x1f6e22,_0x36e296,_0x9d3a1f){return _0x1f6e22(_0x36e296,_0x9d3a1f);},'JNihF':function(_0x1a9bfb,_0x187cb4){return _0x1a9bfb(_0x187cb4);},'LTtjn':'BrowserStack\x20config\x20file\x20not\x20found.','dppRY':_0x13db32(0x252),'xWeAO':function(_0x93162,_0xa93c9f){return _0x93162!=_0xa93c9f;},'wjnSM':function(_0xe6d53d,_0x14eaa4){return _0xe6d53d(_0x14eaa4);},'iCLsX':function(_0x8756ca,_0x466af6){return _0x8756ca(_0x466af6);},'VBnVe':'1|2|3|4|0','btqOc':_0x13db32(0x219),'SdfwJ':function(_0x81cee8,_0x2ec6d2,_0x5b3d8c){return _0x81cee8(_0x2ec6d2,_0x5b3d8c);},'nUved':function(_0xa73066,_0xab5e5c){return _0xa73066===_0xab5e5c;},'HuUji':_0x13db32(0x240),'bXwdx':function(_0xfc6161,_0x6d0f64){return _0xfc6161(_0x6d0f64);},'sTuKf':_0x13db32(0x279),'EAleu':function(_0x1707bd,_0x3cd958){return _0x1707bd(_0x3cd958);},'TQUIL':_0x13db32(0x29d),'ZUnqW':'testDir','UzkFP':'testMatch','rcMUn':'testIgnore','vCYJi':function(_0x264eeb,_0x1ca902){return _0x264eeb+_0x1ca902;},'MhNav':'Error\x20in\x20generating\x20parallellised\x20config\x20for\x20playwright:\x20','cAyZC':function(_0xa4c58b,_0x263f5c){return _0xa4c58b(_0x263f5c);},'PEXnq':function(_0x56e444,_0x54e856){return _0x56e444===_0x54e856;},'fAGsk':_0x13db32(0x299),'aFewD':'playwright-browserstack-sdk.config.js','lzWSM':function(_0x1753ba,_0x4ed3f1){return _0x1753ba>_0x4ed3f1;},'qCBvv':function(_0xfb562c,_0x4247ec,_0x34b08f,_0x2118e8){return _0xfb562c(_0x4247ec,_0x34b08f,_0x2118e8);},'GwfIN':_0x13db32(0x262),'vWqgP':'playwright','hnTGi':_0x13db32(0x1fa),'xYybt':_0x13db32(0x253),'vWUEk':_0x13db32(0x1fd),'XuCZD':_0x13db32(0x1ea),'CUuRS':_0x13db32(0x283)};!helper[_0x13db32(0x280)](process['env'][_0x13db32(0x203)])&&(process[_0x13db32(0x248)][_0x13db32(0x203)]=!![]);process['argv'][_0x13db32(0x2a4)](_0x441e39['ssSBR'])&&(process[_0x13db32(0x248)]['BROWSERSTACK_AUTOMATION']=_0x441e39['zsRFi'],_0x8eac60=_0x8eac60[_0x13db32(0x208)](_0x1cc04e=>_0x1cc04e!==_0x13db32(0x21b)));const _0x202890=_0x8eac60['indexOf'](_0x441e39[_0x13db32(0x1e8)]);_0x441e39[_0x13db32(0x232)](_0x202890,0x0)&&(process[_0x13db32(0x248)][_0x13db32(0x2a5)]=_0x441e39[_0x13db32(0x28c)],_0x8eac60=_0x8eac60[_0x13db32(0x208)](_0x10e833=>_0x10e833!==_0x13db32(0x22d)));try{const _0x1b5e3b=path['join'](helper['homedir'](),_0x441e39[_0x13db32(0x209)],_0x441e39[_0x13db32(0x20f)]);fs[_0x13db32(0x225)](_0x1b5e3b)&&fs['unlinkSync'](_0x1b5e3b);}catch(_0x3455f3){logger[_0x13db32(0x258)](_0x441e39[_0x13db32(0x233)](_0x441e39['PpBEh'],_0x3455f3));}if(!_0x441e39[_0x13db32(0x2a1)](isTestCommand,_0x52ea7b,_0x8eac60)){_0x441e39['JNihF'](spawnOriginalProcess,_0x8eac60);return;}const _0x87ae66=new BrowserStackSetup(_0x52ea7b,FRAMEWORKS[_0x13db32(0x267)]);if(!_0x87ae66[_0x13db32(0x1f6)]){logger[_0x13db32(0x1f3)](_0x441e39[_0x13db32(0x231)]);return;}await _0x87ae66[_0x13db32(0x204)]();!helper[_0x13db32(0x277)](_0x87ae66[_0x13db32(0x24b)])&&_0x87ae66[_0x13db32(0x24b)][_0x13db32(0x298)](_0x441e39[_0x13db32(0x1fb)])&&(process[_0x13db32(0x248)][_0x13db32(0x203)]=_0x87ae66['cliConfig'][_0x13db32(0x21f)](_0x441e39[_0x13db32(0x1fb)])||!![]);_0x441e39[_0x13db32(0x29f)](_0x87ae66[_0x13db32(0x1f6)]['testObservability'],null)&&!helper[_0x13db32(0x27e)](process[_0x13db32(0x248)][_0x13db32(0x2a5)])&&(process[_0x13db32(0x248)][_0x13db32(0x2a5)]=process[_0x13db32(0x248)]['BROWSERSTACK_TEST_OBSERVABILITY']||_0x87ae66['config'][_0x13db32(0x285)]);const _0x111ae1=!helper[_0x13db32(0x280)](process['env'][_0x13db32(0x2a5)]);let _0x255b39=![];_0x87ae66[_0x13db32(0x1f6)][_0x13db32(0x1f4)]&&(_0x255b39=!![],process[_0x13db32(0x248)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x87ae66['config']['accessibility']);_0x87ae66[_0x13db32(0x1f6)][_0x13db32(0x266)]&&(process[_0x13db32(0x248)][_0x13db32(0x23c)]=JSON[_0x13db32(0x296)](_0x87ae66[_0x13db32(0x1f6)]['accessibilityOptions']));const _0x5cb755=_0x8eac60['concat'](),_0x3f1a79=await _0x441e39[_0x13db32(0x2a1)](getUserPlaywrightConfig,_0x52ea7b,_0x8eac60);if(helper[_0x13db32(0x277)](_0x3f1a79)){_0x441e39[_0x13db32(0x1e4)](spawnOriginalProcess,_0x5cb755);return;}const _0x2156ee={..._0x3f1a79[_0x13db32(0x1f6)]},_0xc7c5b=_0x2156ee,_0x13093=_0x3f1a79[_0x13db32(0x227)]?path[_0x13db32(0x29c)](_0x3f1a79[_0x13db32(0x227)]):process[_0x13db32(0x26b)]();process[_0x13db32(0x248)][_0x13db32(0x239)]=_0x13093;if(!_0x441e39['uwCVg'](setGlobalSetup,_0xc7c5b,_0x13093)){_0x441e39[_0x13db32(0x29e)](spawnOriginalProcess,_0x5cb755);return;}const _0x16f3a4=await SessionHandler[_0x13db32(0x238)](_0x87ae66[_0x13db32(0x1f6)],{'frameworkName':FRAMEWORKS[_0x13db32(0x267)],'frameworkVersion':_0x441e39[_0x13db32(0x29e)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT'])});if(_0x111ae1){const _0x3c01db=_0x441e39[_0x13db32(0x230)]['split']('|');let _0x2a1f05=0x0;while(!![]){switch(_0x3c01db[_0x2a1f05++]){case'0':await _0x441e39[_0x13db32(0x22a)](launchO11ySession,_0x16f3a4);continue;case'1':logger[_0x13db32(0x26c)](_0x441e39[_0x13db32(0x20b)]);continue;case'2':_0x441e39['SdfwJ'](initO11yCrashReporter,_0xc7c5b,_0x87ae66['config']);continue;case'3':_0x441e39['iCLsX'](addReporter,_0xc7c5b);continue;case'4':_0x441e39['wjnSM'](handleO11yRerun,_0x8eac60);continue;}break;}}let _0x5e88ec=_0x441e39[_0x13db32(0x25c)](process['env'][_0x13db32(0x1e2)],_0x441e39[_0x13db32(0x260)]);_0x5e88ec=_0x5e88ec||_0x441e39[_0x13db32(0x237)](checkAccessibilityPlatformConfig,_0x87ae66[_0x13db32(0x1f6)]),process[_0x13db32(0x248)][_0x13db32(0x1e2)]=_0x5e88ec;if(_0x5e88ec){const [_0x12566a,_0xda7866]=await _0x441e39[_0x13db32(0x1ed)](createAccessibilityTestRun,_0x87ae66[_0x13db32(0x1f6)],_0x441e39[_0x13db32(0x254)]);logger[_0x13db32(0x258)](_0x13db32(0x23e)+_0xda7866),process[_0x13db32(0x248)][_0x13db32(0x23f)]=_0x12566a,process['env'][_0x13db32(0x222)]=_0xda7866,_0x441e39[_0x13db32(0x1e5)](setAccessibilityCapabilities,_0x87ae66[_0x13db32(0x1f6)]);}(helper['isUndefined'](_0x87ae66[_0x13db32(0x1f6)]['platforms'])||_0x441e39[_0x13db32(0x25c)](_0x87ae66['config'][_0x13db32(0x1eb)][_0x13db32(0x216)],0x0))&&(process['env']['BROWSERSTACK_AUTOMATION']=![]);const _0x22fc2f=path['join'](_0x3f1a79[_0x13db32(0x227)]?path['dirname'](_0x3f1a79[_0x13db32(0x227)]):process[_0x13db32(0x26b)](),_0x441e39[_0x13db32(0x20d)]);fs[_0x13db32(0x215)](_0x22fc2f,helper[_0x13db32(0x200)](_0x87ae66[_0x13db32(0x1f6)])),process['env'][_0x13db32(0x1e6)]=_0x22fc2f,helper[_0x13db32(0x275)]();if(helper[_0x13db32(0x27e)](process[_0x13db32(0x248)]['BROWSERSTACK_AUTOMATION'])){let _0x41ac92=[];try{const _0x552dee=helper[_0x13db32(0x242)][_0x13db32(0x221)](null,_0x441e39[_0x13db32(0x210)](getProjectUtilsPath)),_0x452a59={};_0x452a59[_0x13db32(0x268)]=!![],_0x452a59[_0x13db32(0x27d)]='',_0x452a59[_0x13db32(0x1f9)]='',_0x452a59['testIgnore']='';const _0x15f23b={};_0x15f23b['respectGitIgnore']=!![];const _0x42e77e={};_0x42e77e[_0x13db32(0x220)]=_0x452a59,_0x42e77e[_0x13db32(0x217)]=_0x15f23b;let _0x936194=_0x42e77e;_0xc7c5b[_0x441e39[_0x13db32(0x28e)]]&&(_0x936194['project'][_0x441e39['ZUnqW']]=_0xc7c5b[_0x441e39[_0x13db32(0x28e)]]),_0xc7c5b[_0x441e39[_0x13db32(0x20e)]]&&(_0x936194[_0x13db32(0x220)][_0x441e39['UzkFP']]=_0xc7c5b[_0x441e39['UzkFP']]),_0xc7c5b[_0x441e39[_0x13db32(0x1f1)]]&&(_0x936194[_0x13db32(0x220)][_0x441e39[_0x13db32(0x1f1)]]=_0xc7c5b[_0x441e39[_0x13db32(0x1f1)]]),_0x936194=Object[_0x13db32(0x2a6)](_0x936194,_0x936194[_0x13db32(0x220)]),_0x41ac92=await _0x552dee['collectFilesForProject'](_0x936194);}catch(_0x35d4e1){logger[_0x13db32(0x258)](_0x441e39[_0x13db32(0x281)](_0x441e39[_0x13db32(0x25e)],_0x441e39[_0x13db32(0x23d)](format,_0x35d4e1)));}}let _0x20c245='';_0x441e39[_0x13db32(0x22f)](helper[_0x13db32(0x269)](),constants[_0x13db32(0x290)][_0x13db32(0x2a8)])?_0x20c245=_0x441e39[_0x13db32(0x245)]:_0x20c245=_0x441e39[_0x13db32(0x214)];const _0x312111=path[_0x13db32(0x211)](_0x3f1a79['path']?path[_0x13db32(0x29c)](_0x3f1a79[_0x13db32(0x227)]):process[_0x13db32(0x26b)](),_0x20c245);let _0x442c6b=_0x3f1a79[_0x13db32(0x227)]?_0x3f1a79[_0x13db32(0x227)]:'';_0x442c6b=_0x441e39[_0x13db32(0x1f0)](_0x442c6b['length'],0x0)?path[_0x13db32(0x224)](_0x442c6b):'',process[_0x13db32(0x248)]['USER_CONFIG_DETAILS_PATH']=_0x442c6b;let _0x4f7aa9=_0x13db32(0x26e);const _0x524dc1=helper[_0x13db32(0x22e)](_0x87ae66[_0x13db32(0x1f6)]);_0x524dc1&&(_0x4f7aa9=_0x441e39[_0x13db32(0x281)](_0x13db32(0x270)+_0x524dc1+'\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();',_0x4f7aa9));helper[_0x13db32(0x28d)]({},_0x8eac60),fs[_0x13db32(0x215)](_0x312111,_0x4f7aa9),helper[_0x13db32(0x272)]();const _0x38a17c=_0x441e39[_0x13db32(0x292)](spawn,_0x441e39[_0x13db32(0x282)],[_0x441e39['vWqgP'],_0x441e39[_0x13db32(0x1df)],_0x441e39[_0x13db32(0x26f)],_0x312111,..._0x8eac60[_0x13db32(0x1e7)](0x2)],{'shell':_0x441e39[_0x13db32(0x25c)](process[_0x13db32(0x228)],_0x441e39['vWUEk']),'stdio':_0x441e39[_0x13db32(0x294)],'cwd':process[_0x13db32(0x26b)](),'env':Object[_0x13db32(0x2a6)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x52ea7b),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x87ae66[_0x13db32(0x1f6)][_0x13db32(0x28f)][_0x13db32(0x25f)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x87ae66[_0x13db32(0x1f6)][_0x13db32(0x28f)][_0x13db32(0x1ff)],'BROWSERSTACK_LOG_LEVEL':_0x87ae66['config']['logLevel']})}),_0x4713ad=()=>{const _0x425ff2=_0x13db32;try{const _0x95f608=path[_0x425ff2(0x211)](helper[_0x425ff2(0x1e9)](),_0x441e39[_0x425ff2(0x209)],_0x441e39['Iluvb']);if(fs[_0x425ff2(0x225)](_0x95f608)){let _0x4e6ae0=fs[_0x425ff2(0x256)](_0x95f608);_0x4e6ae0=JSON[_0x425ff2(0x25b)](_0x4e6ae0),_0x87ae66[_0x425ff2(0x27c)]=_0x4e6ae0,fs[_0x425ff2(0x236)](_0x95f608);}}catch(_0x266cce){logger[_0x425ff2(0x258)](_0x441e39[_0x425ff2(0x233)](_0x441e39[_0x425ff2(0x28b)],_0x266cce));}};_0x38a17c['on'](_0x441e39['CUuRS'],async _0x553318=>{const _0x5976cd=_0x13db32;try{const _0x140467=_0x441e39[_0x5976cd(0x1ee)][_0x5976cd(0x1f2)]('|');let _0x578ad0=0x0;while(!![]){switch(_0x140467[_0x578ad0++]){case'0':fs[_0x5976cd(0x236)](_0x312111);continue;case'1':await _0x441e39[_0x5976cd(0x218)](stopAccessibilityTestRun,_0x87ae66[_0x5976cd(0x1f6)]);continue;case'2':await helper[_0x5976cd(0x263)](_0x87ae66);continue;case'3':process[_0x5976cd(0x234)]=_0x553318;continue;case'4':logger[_0x5976cd(0x258)](_0x5976cd(0x1ec)+_0x553318);continue;case'5':logger[_0x5976cd(0x26c)]('Deleting\x20'+_0x312111);continue;case'6':_0x441e39[_0x5976cd(0x210)](_0x4713ad);continue;case'7':logger[_0x5976cd(0x258)](_0x5976cd(0x273)+_0x22fc2f);continue;case'8':fs[_0x5976cd(0x236)](_0x22fc2f);continue;}break;}}catch(_0x4f1d6b){logger[_0x5976cd(0x258)](_0x441e39[_0x5976cd(0x233)](_0x441e39['PrkAK'],_0x4f1d6b));}});}module['exports']=run;
2
+ 'use strict';const a33_0x5a8e48=a33_0x3f75;function a33_0x3f75(_0x9abc53,_0x2847e9){const _0x4ccb88=a33_0x4ccb();return a33_0x3f75=function(_0x3f750e,_0xbefef){_0x3f750e=_0x3f750e-0x1ad;let _0x19a3e4=_0x4ccb88[_0x3f750e];return _0x19a3e4;},a33_0x3f75(_0x9abc53,_0x2847e9);}(function(_0x21cf3c,_0x355ca8){const _0xa350db=a33_0x3f75,_0x3a544e=_0x21cf3c();while(!![]){try{const _0x13716a=-parseInt(_0xa350db(0x1be))/0x1*(-parseInt(_0xa350db(0x1ea))/0x2)+-parseInt(_0xa350db(0x251))/0x3+-parseInt(_0xa350db(0x1b7))/0x4+parseInt(_0xa350db(0x1b3))/0x5*(-parseInt(_0xa350db(0x24d))/0x6)+-parseInt(_0xa350db(0x25c))/0x7+-parseInt(_0xa350db(0x20d))/0x8*(-parseInt(_0xa350db(0x277))/0x9)+-parseInt(_0xa350db(0x1ce))/0xa*(-parseInt(_0xa350db(0x22b))/0xb);if(_0x13716a===_0x355ca8)break;else _0x3a544e['push'](_0x3a544e['shift']());}catch(_0x11d55b){_0x3a544e['push'](_0x3a544e['shift']());}}}(a33_0x4ccb,0x25191));const fs=require('fs'),path=require(a33_0x5a8e48(0x1d2)),os=require('os'),{spawn}=require('child_process'),{format}=require('util'),logger=require(a33_0x5a8e48(0x247))[a33_0x5a8e48(0x1d5)],{default:BrowserStackSetup}=require(a33_0x5a8e48(0x274)),helper=require(a33_0x5a8e48(0x267)),constants=require('../utils/constants'),{FRAMEWORKS}=require(a33_0x5a8e48(0x236)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a33_0x5a8e48(0x272)),{CrashReporter,o11yErrorHandler}=require(a33_0x5a8e48(0x1af)),{getFrameworkVersion}=require(a33_0x5a8e48(0x209)),{createAccessibilityTestRun,stopAccessibilityTestRun,checkAccessibilityPlatformConfig}=require(a33_0x5a8e48(0x1ec)),{setAccessibilityCapabilities}=require(a33_0x5a8e48(0x217)),SessionHandler=require(a33_0x5a8e48(0x232));async function requireOrImportDefaultObject(_0x52404a){const _0x7bc6c8=a33_0x5a8e48,_0x1224f1={'UhBJD':function(_0x1a6934){return _0x1a6934();},'fEFqh':function(_0x521e26,_0x4a15a8){return _0x521e26(_0x4a15a8);},'ttBpf':function(_0x2fb24d,_0x5ea55e){return _0x2fb24d===_0x5ea55e;},'NcHJi':_0x7bc6c8(0x1de),'mFKEe':function(_0x5e54ae,_0x185a21){return _0x5e54ae in _0x185a21;},'trdaa':'default'},{requireOrImport:_0x554d8e}=helper[_0x7bc6c8(0x225)][_0x7bc6c8(0x278)](null,_0x1224f1['UhBJD'](getTransformPath));let _0x29279b=await _0x1224f1[_0x7bc6c8(0x227)](_0x554d8e,_0x52404a);return _0x29279b&&_0x1224f1['ttBpf'](typeof _0x29279b,_0x1224f1[_0x7bc6c8(0x210)])&&_0x1224f1[_0x7bc6c8(0x1e9)](_0x1224f1[_0x7bc6c8(0x259)],_0x29279b)&&(_0x29279b=_0x29279b[_0x1224f1[_0x7bc6c8(0x259)]]),_0x29279b;}const getUserPlaywrightConfig=async(_0x45e9be,_0x1b7e8b)=>{const _0x1c9856=a33_0x5a8e48,_0x4e707a={'hgtMM':function(_0x24ebe4){return _0x24ebe4();},'EIYsY':function(_0x550e31,_0x5ab10c){return _0x550e31(_0x5ab10c);},'RWvDe':_0x1c9856(0x22a),'lDiBa':_0x1c9856(0x1f7),'xbpTv':_0x1c9856(0x1ae)},_0x4f20c9=!helper[_0x1c9856(0x1b0)](_0x45e9be[_0x1c9856(0x1dd)]),_0xa93f0=_0x4f20c9?path[_0x1c9856(0x23d)](process[_0x1c9856(0x229)](),_0x45e9be[_0x1c9856(0x1dd)]):process[_0x1c9856(0x229)](),{resolveConfigFile:_0x38cc67}=helper[_0x1c9856(0x225)][_0x1c9856(0x278)](null,_0x4e707a[_0x1c9856(0x252)](getConfigLoaderPath)),_0x30598f=_0x4e707a[_0x1c9856(0x1db)](_0x38cc67,_0xa93f0);let _0x362a02={};if(_0x30598f){logger['info'](_0x1c9856(0x1b9)+_0x30598f);try{_0x362a02=await _0x4e707a[_0x1c9856(0x1db)](requireOrImportDefaultObject,_0x30598f);}catch(_0x126b62){return logger[_0x1c9856(0x1d0)](_0x4e707a[_0x1c9856(0x24c)],_0x126b62),null;}}else logger[_0x1c9856(0x1d9)](_0x4e707a[_0x1c9856(0x1b8)]);if(_0x4f20c9){const _0x295aa2=_0x1b7e8b[_0x1c9856(0x208)](_0x325022=>_0x325022===_0x1c9856(0x23e)||_0x325022==='-c'||_0x325022[_0x1c9856(0x1f8)](_0x1c9856(0x1ae)));_0x1b7e8b[_0x1c9856(0x219)](_0x295aa2,_0x1b7e8b[_0x295aa2]['startsWith'](_0x4e707a[_0x1c9856(0x1b2)])?0x1:0x2);}const _0x583484={};return _0x583484[_0x1c9856(0x1d2)]=_0x30598f,_0x583484['config']=_0x362a02,_0x583484;},setGlobalSetup=(_0x179c5b,_0x46c812)=>{const _0x52d41e=a33_0x5a8e48,_0x258c29={'qgraD':_0x52d41e(0x26f),'KQvxk':_0x52d41e(0x1bc),'iWAZh':function(_0x4a44e5,_0xba4d94){return _0x4a44e5+_0xba4d94;},'PnFPV':_0x52d41e(0x268),'YDMUj':function(_0x498f4f,_0x5aa3a9){return _0x498f4f(_0x5aa3a9);},'LHBRa':_0x52d41e(0x26b)};if(!_0x179c5b)return![];try{if(_0x179c5b[_0x52d41e(0x26f)]){let _0x34b7da;const _0xf0de0c=path[_0x52d41e(0x23d)](_0x46c812,_0x179c5b[_0x258c29[_0x52d41e(0x1ff)]]);if(fs[_0x52d41e(0x215)](_0xf0de0c))_0x34b7da=_0xf0de0c;else{const _0x422de0={};_0x422de0[_0x52d41e(0x24f)]=[_0x46c812],_0x34b7da=require[_0x52d41e(0x23d)](_0x179c5b[_0x258c29['qgraD']],_0x422de0);}if(!_0x34b7da)throw new Error(_0x258c29[_0x52d41e(0x226)]);process[_0x52d41e(0x21d)][_0x52d41e(0x21b)]=_0x34b7da;}}catch(_0x2b20ca){logger['error'](_0x258c29['iWAZh'](_0x258c29['PnFPV'],_0x258c29[_0x52d41e(0x27d)](format,_0x2b20ca)));}return _0x179c5b['globalSetup']=require[_0x52d41e(0x23d)](_0x258c29['LHBRa']),!![];},addReporter=_0x3db690=>{const _0x57d278=a33_0x5a8e48,_0x4d366b={};_0x4d366b[_0x57d278(0x1c5)]=_0x57d278(0x249),_0x4d366b['yibpO']='reporter',_0x4d366b[_0x57d278(0x25b)]=function(_0x1647b2,_0x45eb72){return _0x1647b2===_0x45eb72;},_0x4d366b['nepTL']='string',_0x4d366b[_0x57d278(0x205)]=_0x57d278(0x1de);const _0x3b9746=_0x4d366b,_0x2d0be0=path[_0x57d278(0x1fc)](__dirname,_0x3b9746[_0x57d278(0x1c5)]),_0x52d56b=[_0x2d0be0];if(helper['isUndefined'](_0x3db690[_0x3b9746[_0x57d278(0x1e0)]]))_0x3db690[_0x3b9746[_0x57d278(0x1e0)]]=[_0x52d56b];else{if(_0x3b9746[_0x57d278(0x25b)](typeof _0x3db690[_0x3b9746[_0x57d278(0x1e0)]],_0x3b9746['nepTL']))_0x3db690[_0x3b9746['yibpO']]=[[_0x3db690[_0x3b9746['yibpO']]],_0x52d56b];else _0x3b9746['vONkF'](typeof _0x3db690[_0x3b9746[_0x57d278(0x1e0)]],_0x3b9746[_0x57d278(0x205)])&&_0x3db690[_0x3b9746['yibpO']][_0x57d278(0x27b)](_0x52d56b);}},handleO11yRerun=_0x2b52a7=>{const _0x530738=a33_0x5a8e48,_0x59c2c8={};_0x59c2c8[_0x530738(0x23b)]=function(_0xb86f77,_0x45eb7e){return _0xb86f77!==_0x45eb7e;},_0x59c2c8[_0x530738(0x1f5)]=_0x530738(0x26e),_0x59c2c8['EoTGs']=_0x530738(0x1c4);const _0xea622f=_0x59c2c8,_0x2bbbba=helper['isTrue'](process['env'][_0x530738(0x1b5)]);if(_0x2bbbba){const _0x1330b1=process[_0x530738(0x21d)][_0x530738(0x1ed)],_0x197262=[];if(_0xea622f[_0x530738(0x23b)](_0x1330b1,_0xea622f[_0x530738(0x1f5)])&&!helper[_0x530738(0x1b0)](_0x1330b1)){_0x1330b1[_0x530738(0x20b)](',')[_0x530738(0x212)](_0x44a029=>{const _0x251d22=_0x530738;_0x197262[_0x251d22(0x27b)]('('+_0x44a029[_0x251d22(0x237)]()+')');});const _0x8ecb1='^'+_0x197262[_0x530738(0x1fc)]('|')+'$';_0x2b52a7['push'](_0xea622f[_0x530738(0x1e1)],_0x8ecb1);}}},spawnOriginalProcess=_0x46c8fe=>{const _0x1ec684=a33_0x5a8e48,_0x594200={'iRdAR':function(_0x317754,_0x42d2ec,_0x39a821,_0x120ed2){return _0x317754(_0x42d2ec,_0x39a821,_0x120ed2);},'nWIXa':'npx','wZbfK':_0x1ec684(0x207),'NCvqx':function(_0x57eac8,_0x2410de){return _0x57eac8===_0x2410de;},'iyGMs':_0x1ec684(0x1da),'HhSfY':_0x1ec684(0x258)};_0x594200[_0x1ec684(0x26d)](spawn,_0x594200[_0x1ec684(0x243)],[_0x594200[_0x1ec684(0x22e)],..._0x46c8fe[_0x1ec684(0x279)](0x1)],{'shell':_0x594200[_0x1ec684(0x1bd)](process[_0x1ec684(0x260)],_0x594200[_0x1ec684(0x254)]),'stdio':_0x594200[_0x1ec684(0x246)],'cwd':process[_0x1ec684(0x229)]()});},isTestCommand=(_0x2733b3,_0x4c64a3)=>{const _0x5a9a62=a33_0x5a8e48,_0x2db66a={};_0x2db66a['IezAt']=function(_0x4a0b6d,_0x728baa){return _0x4a0b6d>_0x728baa;},_0x2db66a['etGqE']=function(_0x47d4f9,_0x9f4f77){return _0x47d4f9===_0x9f4f77;},_0x2db66a[_0x5a9a62(0x1f3)]='test';const _0x1e2f06=_0x2db66a;if(_0x1e2f06[_0x5a9a62(0x1f9)](_0x4c64a3[_0x5a9a62(0x264)],0x1)&&_0x1e2f06[_0x5a9a62(0x214)](_0x4c64a3[0x1],_0x1e2f06[_0x5a9a62(0x1f3)]))return!![];return![];},initO11yCrashReporter=(_0x5478db,_0x54f342)=>{const _0x204cc8=a33_0x5a8e48,_0x2b0b98={'EaXWH':function(_0x4029af,_0xd8a80e){return _0x4029af(_0xd8a80e);}},_0x320c53={'frameworkName':FRAMEWORKS[_0x204cc8(0x224)],'frameworkVersion':_0x2b0b98[_0x204cc8(0x262)](getFrameworkVersion,FRAMEWORKS[_0x204cc8(0x224)])};CrashReporter[_0x204cc8(0x1ba)](_0x320c53,_0x5478db,_0x54f342);},launchO11ySession=o11yErrorHandler(async function launchO11ySession(_0x4e5673){const _0x87114f=a33_0x5a8e48,_0x525d46={};_0x525d46['qXHUk']=function(_0x3bfb8b,_0x2aaa65){return _0x3bfb8b>_0x2aaa65;},_0x525d46[_0x87114f(0x25e)]=function(_0x43f94e,_0x2473cb){return _0x43f94e===_0x2473cb;};const _0x44b10c=_0x525d46;if(!_0x4e5673||_0x44b10c[_0x87114f(0x21e)](_0x4e5673['length'],0x1)&&_0x44b10c[_0x87114f(0x25e)](_0x4e5673[0x0],null))return process[_0x87114f(0x21d)][_0x87114f(0x200)]=![],![];return!![];});function a33_0x4ccb(){const _0x495fa6=['PhNja','BROWSERSTACK_AUTOMATION','hZuAW','yWaiS','zUqgb','39660qYVkgl','playwright-browserstack-sdk.config.cjs','error','filterBrowserstackConfig','path','QrHze','iGAPD','winstonLogger','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20ID:\x20','concat','testIgnore','info','win32','EIYsY','argv','config','object','BouHq','yibpO','EoTGs','.browserstack','testContextOptions','SMNHA','cliConfig','qJybE','dPnRS','iyMmg','mFKEe','2wGRjGR','pw_result.json','../../helpers/accessibility-automation/helper','BROWSERSTACK_RERUN_TESTS','includes','mvUbF','isTrue','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','_internal','otgvg','accessibilityOptions','FyvQT','wWdmT','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','startsWith','IezAt','debug','true','join','UDfuU','unlinkSync','qgraD','BROWSERSTACK_TEST_OBSERVABILITY','oybPO','--disable-browserstack-automation','parse','browserstackSetupConfig.json','OCkaQ','0|6|8|5|4|1|3|2|7','playwright','findIndex','../../helpers/test-observability/utils','automation','split','RMAHY','24XnKbNb','Uwhqj','skipSessionName','NcHJi','FDmKx','map','errorMessage','etGqE','existsSync','clearTempPWConfig','./accessibility-helper','WvQco','splice','ugzlg','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','lgRab','env','qXHUk','rJNDC','SbiQZ','gEDhp','readFileSync','indexOf','PLAYWRIGHT','requirePWModule','KQvxk','fEFqh','getProxyUrl','cwd','Error\x20in\x20importing\x20your\x20playwright\x20config:\x20','2013PlTKGQ','getConfigPath','logLevel','wZbfK','vQzZn','testObservability','BROWSERSTACK_SETUP_CONFIG_PATH','../../helpers/test-observability/sessionHandler','close','uDioX','coSls','../../helpers/test-observability/constants','trim','oXFEN','finalExecution','pMGlM','iLjXC','project','resolve','--config','accessibility','Playwright\x20process\x20exited\x20with\x20code\x20','BrowserStack\x20config\x20file\x20not\x20found.','HrJOe','nWIXa','nkOZz','yUhaC','HhSfY','../../helpers/logger','BROWSERSTACK_TEST_ACCESSIBILITY_YML','./reporter/reporter.js','uFksS','collectFilesForProject','RWvDe','171894GHGnsy','IALye','paths','false','304323OOhAJq','hgtMM','Error\x20in\x20generating\x20parallellised\x20config\x20for\x20playwright:\x20','iyGMs','launch','isFalse','dirname','inherit','trdaa','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','vONkF','865270DuYouk','playwright-browserstack-sdk.config.js','Uwuhs','vmaRg','platform','WMzaR','EaXWH','stringify','length','Error\x20in\x20getting\x20funnel\x20data\x20results','test','../../helpers/helper','Error\x20in\x20running\x20user\x20global\x20setup\x20for\x20playwright','Error\x20in\x20deleting\x20playwright\x20results','BROWSERSTACK_PW_CONFIG_DIR','./globalSetup.js','getPackageType','iRdAR','null','globalSetup','homedir','Adding\x20browserstack\x20configs\x20to\x20setup\x20for\x20Observability','./reporter/pwUtils','xrRKF','../../helpers/BrowserStackSetup','serializeToYamlString','Deleting\x20','222912sjqzEW','apply','slice','@playwright/test','push','yeAVJ','YDMUj','KCdYT','--config=','../../helpers/test-observability/error-handler','isUndefined','VYrVI','xbpTv','50lTzZrI','USER_CONFIG_DETAILS_PATH','BROWSERSTACK_RERUN','npx','811684zArUIP','lDiBa','Getting\x20your\x20playwright\x20config\x20from\x20','initialize','xzgDV','Can\x27t\x20get\x20user\x20defined\x20global\x20setup\x20file','NCvqx','66333zbmCZu','filter','testMatch','\x0a\x0aconst\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0amodule.exports\x20=\x20modifyPWConfig();\x0a','AKPUE','testDir','--grep','mNxdH','writeFileSync','KqCmh','exports'];a33_0x4ccb=function(){return _0x495fa6;};return a33_0x4ccb();}async function run(_0x29391e,_0x49575b){const _0x8f1d45=a33_0x5a8e48,_0x1a34b5={'FDmKx':_0x8f1d45(0x1e2),'hZuAW':_0x8f1d45(0x1eb),'KqCmh':function(_0xd99831,_0x3ad527){return _0xd99831+_0x3ad527;},'wWdmT':_0x8f1d45(0x265),'AKPUE':_0x8f1d45(0x206),'yeAVJ':function(_0x49b73f){return _0x49b73f();},'oXFEN':function(_0x4928ef,_0x3c2f11){return _0x4928ef(_0x3c2f11);},'rJNDC':'Error\x20in\x20closing\x20playwright','xrRKF':_0x8f1d45(0x202),'xzgDV':_0x8f1d45(0x250),'SMNHA':'--disable-test-observability','coSls':function(_0x2d4e31,_0x1b50fa){return _0x2d4e31>=_0x1b50fa;},'BouHq':_0x8f1d45(0x269),'pMGlM':function(_0x12356c,_0xebb4b0,_0x48138e){return _0x12356c(_0xebb4b0,_0x48138e);},'Uwhqj':function(_0x5630a4,_0x1c2830){return _0x5630a4(_0x1c2830);},'SbiQZ':_0x8f1d45(0x241),'ugzlg':_0x8f1d45(0x20a),'KCdYT':function(_0x5beb75,_0x1520e4){return _0x5beb75!=_0x1520e4;},'oKALJ':'4|3|1|0|2','yWaiS':function(_0x387790,_0x5e42f3){return _0x387790(_0x5e42f3);},'gEDhp':function(_0x5427c6,_0xb8d210){return _0x5427c6(_0xb8d210);},'rXxfI':function(_0x3b0662,_0x4bfc46){return _0x3b0662(_0x4bfc46);},'qJybE':_0x8f1d45(0x271),'QrHze':function(_0x3e8846,_0x13c252){return _0x3e8846===_0x13c252;},'uDioX':_0x8f1d45(0x1fb),'NacrD':function(_0x3f7a1d,_0x143f79){return _0x3f7a1d(_0x143f79);},'uFksS':function(_0x4688b9,_0x4aebd9,_0x44eea4){return _0x4688b9(_0x4aebd9,_0x44eea4);},'zUqgb':_0x8f1d45(0x27a),'WDaHE':function(_0x4a8542,_0x2bebbf){return _0x4a8542(_0x2bebbf);},'tmdxk':function(_0x1c51d1,_0xadc92b){return _0x1c51d1===_0xadc92b;},'vmaRg':_0x8f1d45(0x204),'mvUbF':'testDir','oybPO':_0x8f1d45(0x1c0),'RMAHY':_0x8f1d45(0x1d8),'PhNja':_0x8f1d45(0x253),'UDfuU':function(_0x135359,_0x4a9a29){return _0x135359===_0x4a9a29;},'lgRab':_0x8f1d45(0x1cf),'dPnRS':_0x8f1d45(0x25d),'WMzaR':function(_0x5412af,_0xa2bd44){return _0x5412af>_0xa2bd44;},'yUhaC':function(_0x3a5410,_0x28f0fc){return _0x3a5410+_0x28f0fc;},'iyMmg':function(_0x5dd4e6,_0x18d2bd,_0x4d09ba,_0x36bc7b){return _0x5dd4e6(_0x18d2bd,_0x4d09ba,_0x36bc7b);},'nkOZz':_0x8f1d45(0x1b6),'vQzZn':'playwright','iGAPD':_0x8f1d45(0x266),'VYrVI':_0x8f1d45(0x23e),'HrJOe':_0x8f1d45(0x1da),'WvQco':_0x8f1d45(0x258),'IALye':_0x8f1d45(0x233)};!helper[_0x8f1d45(0x256)](process[_0x8f1d45(0x21d)][_0x8f1d45(0x1ca)])&&(process[_0x8f1d45(0x21d)]['BROWSERSTACK_AUTOMATION']=!![]);process[_0x8f1d45(0x1dc)][_0x8f1d45(0x1ee)](_0x1a34b5[_0x8f1d45(0x273)])&&(process[_0x8f1d45(0x21d)][_0x8f1d45(0x1ca)]=_0x1a34b5[_0x8f1d45(0x1bb)],_0x49575b=_0x49575b['filter'](_0x52d4b5=>_0x52d4b5!==_0x8f1d45(0x202)));const _0x1cd986=_0x49575b[_0x8f1d45(0x223)](_0x1a34b5[_0x8f1d45(0x1e4)]);_0x1a34b5[_0x8f1d45(0x235)](_0x1cd986,0x0)&&(process[_0x8f1d45(0x21d)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x1a34b5['xzgDV'],_0x49575b=_0x49575b[_0x8f1d45(0x1bf)](_0x58d7fe=>_0x58d7fe!=='--disable-test-observability'));try{const _0x3f0929=path[_0x8f1d45(0x1fc)](helper[_0x8f1d45(0x270)](),_0x1a34b5['FDmKx'],_0x1a34b5[_0x8f1d45(0x1cb)]);fs[_0x8f1d45(0x215)](_0x3f0929)&&fs['unlinkSync'](_0x3f0929);}catch(_0x452e56){logger[_0x8f1d45(0x1fa)](_0x1a34b5[_0x8f1d45(0x1c7)](_0x1a34b5[_0x8f1d45(0x1df)],_0x452e56));}if(!_0x1a34b5['pMGlM'](isTestCommand,_0x29391e,_0x49575b)){_0x1a34b5[_0x8f1d45(0x20e)](spawnOriginalProcess,_0x49575b);return;}const _0x532fec=new BrowserStackSetup(_0x29391e,FRAMEWORKS['PLAYWRIGHT']);if(!_0x532fec[_0x8f1d45(0x1dd)]){logger[_0x8f1d45(0x1d0)](_0x1a34b5[_0x8f1d45(0x220)]);return;}await _0x532fec['initialize']();!helper['isUndefined'](_0x532fec[_0x8f1d45(0x1e5)])&&_0x532fec['cliConfig']['has'](_0x1a34b5[_0x8f1d45(0x21a)])&&(process[_0x8f1d45(0x21d)]['BROWSERSTACK_AUTOMATION']=_0x532fec[_0x8f1d45(0x1e5)]['get'](_0x1a34b5[_0x8f1d45(0x21a)])||!![]);_0x1a34b5[_0x8f1d45(0x1ad)](_0x532fec[_0x8f1d45(0x1dd)][_0x8f1d45(0x230)],null)&&!helper[_0x8f1d45(0x1f0)](process[_0x8f1d45(0x21d)][_0x8f1d45(0x200)])&&(process[_0x8f1d45(0x21d)][_0x8f1d45(0x200)]=process[_0x8f1d45(0x21d)]['BROWSERSTACK_TEST_OBSERVABILITY']||_0x532fec[_0x8f1d45(0x1dd)][_0x8f1d45(0x230)]);const _0x4fa248=!helper[_0x8f1d45(0x256)](process[_0x8f1d45(0x21d)][_0x8f1d45(0x200)]);let _0x544676=![];_0x532fec[_0x8f1d45(0x1dd)][_0x8f1d45(0x23f)]&&(_0x544676=!![],process[_0x8f1d45(0x21d)][_0x8f1d45(0x248)]=_0x532fec[_0x8f1d45(0x1dd)]['accessibility']);_0x532fec[_0x8f1d45(0x1dd)]['accessibilityOptions']&&(process[_0x8f1d45(0x21d)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x8f1d45(0x263)](_0x532fec[_0x8f1d45(0x1dd)][_0x8f1d45(0x1f4)]));const _0x578064=_0x49575b[_0x8f1d45(0x1d7)](),_0x1c86e5=await _0x1a34b5[_0x8f1d45(0x23a)](getUserPlaywrightConfig,_0x29391e,_0x49575b);if(helper['isUndefined'](_0x1c86e5)){_0x1a34b5[_0x8f1d45(0x238)](spawnOriginalProcess,_0x578064);return;}const _0x1ffbc7={..._0x1c86e5[_0x8f1d45(0x1dd)]},_0x23561b=_0x1ffbc7,_0x4676a0=_0x1c86e5[_0x8f1d45(0x1d2)]?path['dirname'](_0x1c86e5[_0x8f1d45(0x1d2)]):process['cwd']();process['env'][_0x8f1d45(0x26a)]=_0x4676a0;if(!_0x1a34b5[_0x8f1d45(0x23a)](setGlobalSetup,_0x23561b,_0x4676a0)){_0x1a34b5[_0x8f1d45(0x238)](spawnOriginalProcess,_0x578064);return;}const _0x1c4bfc=await SessionHandler[_0x8f1d45(0x255)](_0x532fec['config'],{'frameworkName':FRAMEWORKS[_0x8f1d45(0x224)],'frameworkVersion':_0x1a34b5[_0x8f1d45(0x238)](getFrameworkVersion,FRAMEWORKS[_0x8f1d45(0x224)])});if(_0x4fa248){const _0x5e4cc2=_0x1a34b5['oKALJ'][_0x8f1d45(0x20b)]('|');let _0x158498=0x0;while(!![]){switch(_0x5e4cc2[_0x158498++]){case'0':_0x1a34b5[_0x8f1d45(0x1cc)](handleO11yRerun,_0x49575b);continue;case'1':_0x1a34b5[_0x8f1d45(0x221)](addReporter,_0x23561b);continue;case'2':await _0x1a34b5['rXxfI'](launchO11ySession,_0x1c4bfc);continue;case'3':_0x1a34b5[_0x8f1d45(0x23a)](initO11yCrashReporter,_0x23561b,_0x532fec[_0x8f1d45(0x1dd)]);continue;case'4':logger[_0x8f1d45(0x1d9)](_0x1a34b5[_0x8f1d45(0x1e6)]);continue;}break;}}let _0x5a9743=_0x1a34b5[_0x8f1d45(0x1d3)](process[_0x8f1d45(0x21d)][_0x8f1d45(0x248)],_0x1a34b5[_0x8f1d45(0x234)]);_0x5a9743=_0x5a9743||_0x1a34b5['NacrD'](checkAccessibilityPlatformConfig,_0x532fec[_0x8f1d45(0x1dd)]),process[_0x8f1d45(0x21d)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x5a9743;if(_0x5a9743){const [_0x5d95d4,_0x327300]=await _0x1a34b5[_0x8f1d45(0x24a)](createAccessibilityTestRun,_0x532fec['config'],_0x1a34b5[_0x8f1d45(0x1cd)]);logger[_0x8f1d45(0x1fa)](_0x8f1d45(0x1d6)+_0x327300),process[_0x8f1d45(0x21d)]['BS_A11Y_JWT']=_0x5d95d4,process[_0x8f1d45(0x21d)]['BS_A11Y_TEST_RUN_ID']=_0x327300,_0x1a34b5['WDaHE'](setAccessibilityCapabilities,_0x532fec[_0x8f1d45(0x1dd)]);}(helper['isUndefined'](_0x532fec['config']['platforms'])||_0x1a34b5['tmdxk'](_0x532fec['config']['platforms'][_0x8f1d45(0x264)],0x0))&&(process[_0x8f1d45(0x21d)]['BROWSERSTACK_AUTOMATION']=![]);const _0x3cf8ee=path[_0x8f1d45(0x1fc)](_0x1c86e5['path']?path[_0x8f1d45(0x257)](_0x1c86e5[_0x8f1d45(0x1d2)]):process[_0x8f1d45(0x229)](),_0x1a34b5[_0x8f1d45(0x25f)]);fs['writeFileSync'](_0x3cf8ee,helper[_0x8f1d45(0x275)](_0x532fec[_0x8f1d45(0x1dd)])),process['env'][_0x8f1d45(0x231)]=_0x3cf8ee,helper[_0x8f1d45(0x216)]();if(helper[_0x8f1d45(0x1f0)](process[_0x8f1d45(0x21d)]['BROWSERSTACK_AUTOMATION'])){let _0x5d4ed8=[];try{const _0x183849=helper[_0x8f1d45(0x225)][_0x8f1d45(0x278)](null,_0x1a34b5[_0x8f1d45(0x27c)](getProjectUtilsPath)),_0x4a26d9={};_0x4a26d9['respectGitIgnore']=!![],_0x4a26d9[_0x8f1d45(0x1c3)]='',_0x4a26d9[_0x8f1d45(0x1c0)]='',_0x4a26d9[_0x8f1d45(0x1d8)]='';const _0x2d3130={};_0x2d3130['respectGitIgnore']=!![];const _0x559ba8={};_0x559ba8['project']=_0x4a26d9,_0x559ba8[_0x8f1d45(0x1f2)]=_0x2d3130;let _0x6aabbc=_0x559ba8;_0x23561b[_0x1a34b5[_0x8f1d45(0x1ef)]]&&(_0x6aabbc[_0x8f1d45(0x23c)][_0x1a34b5[_0x8f1d45(0x1ef)]]=_0x23561b[_0x1a34b5[_0x8f1d45(0x1ef)]]),_0x23561b[_0x1a34b5[_0x8f1d45(0x201)]]&&(_0x6aabbc[_0x8f1d45(0x23c)][_0x1a34b5[_0x8f1d45(0x201)]]=_0x23561b[_0x1a34b5[_0x8f1d45(0x201)]]),_0x23561b[_0x1a34b5['RMAHY']]&&(_0x6aabbc[_0x8f1d45(0x23c)][_0x1a34b5[_0x8f1d45(0x20c)]]=_0x23561b[_0x1a34b5['RMAHY']]),_0x6aabbc=Object['assign'](_0x6aabbc,_0x6aabbc[_0x8f1d45(0x23c)]),_0x5d4ed8=await _0x183849[_0x8f1d45(0x24b)](_0x6aabbc);}catch(_0x374ede){logger['debug'](_0x1a34b5[_0x8f1d45(0x1c7)](_0x1a34b5[_0x8f1d45(0x1c9)],_0x1a34b5[_0x8f1d45(0x1cc)](format,_0x374ede)));}}let _0x388445='';_0x1a34b5[_0x8f1d45(0x1fd)](helper[_0x8f1d45(0x26c)](),constants['PACKAGE_TYPE']['MODULE'])?_0x388445=_0x1a34b5[_0x8f1d45(0x21c)]:_0x388445=_0x1a34b5[_0x8f1d45(0x1e7)];const _0x58103a=path[_0x8f1d45(0x1fc)](_0x1c86e5[_0x8f1d45(0x1d2)]?path[_0x8f1d45(0x257)](_0x1c86e5[_0x8f1d45(0x1d2)]):process[_0x8f1d45(0x229)](),_0x388445);let _0x1a00ed=_0x1c86e5[_0x8f1d45(0x1d2)]?_0x1c86e5['path']:'';_0x1a00ed=_0x1a34b5[_0x8f1d45(0x261)](_0x1a00ed[_0x8f1d45(0x264)],0x0)?path[_0x8f1d45(0x23d)](_0x1a00ed):'',process[_0x8f1d45(0x21d)][_0x8f1d45(0x1b4)]=_0x1a00ed;let _0x485982=_0x8f1d45(0x1c1);const _0x37051d=helper[_0x8f1d45(0x228)](_0x532fec[_0x8f1d45(0x1dd)]);_0x37051d&&(_0x485982=_0x1a34b5[_0x8f1d45(0x245)](_0x8f1d45(0x1f1)+_0x37051d+_0x8f1d45(0x25a),_0x485982));helper[_0x8f1d45(0x1d1)]({},_0x49575b),fs[_0x8f1d45(0x1c6)](_0x58103a,_0x485982),helper['markSDKSetupComplete']();const _0x27334c=_0x1a34b5[_0x8f1d45(0x1e8)](spawn,_0x1a34b5[_0x8f1d45(0x244)],[_0x1a34b5[_0x8f1d45(0x22f)],_0x1a34b5[_0x8f1d45(0x1d4)],_0x1a34b5[_0x8f1d45(0x1b1)],_0x58103a,..._0x49575b[_0x8f1d45(0x279)](0x2)],{'shell':_0x1a34b5['UDfuU'](process[_0x8f1d45(0x260)],_0x1a34b5[_0x8f1d45(0x242)]),'stdio':_0x1a34b5[_0x8f1d45(0x218)],'cwd':process['cwd'](),'env':Object['assign']({},process[_0x8f1d45(0x21d)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x8f1d45(0x22c)](_0x29391e),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x532fec[_0x8f1d45(0x1dd)][_0x8f1d45(0x1e3)]['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x532fec['config'][_0x8f1d45(0x1e3)][_0x8f1d45(0x20f)],'BROWSERSTACK_LOG_LEVEL':_0x532fec[_0x8f1d45(0x1dd)][_0x8f1d45(0x22d)]})}),_0x4270b8=()=>{const _0x253715=_0x8f1d45;try{const _0x3f7499=path['join'](helper[_0x253715(0x270)](),_0x1a34b5[_0x253715(0x211)],_0x1a34b5[_0x253715(0x1cb)]);if(fs[_0x253715(0x215)](_0x3f7499)){let _0x316de1=fs[_0x253715(0x222)](_0x3f7499);_0x316de1=JSON[_0x253715(0x203)](_0x316de1),_0x532fec[_0x253715(0x213)]=_0x316de1,fs[_0x253715(0x1fe)](_0x3f7499);}}catch(_0x2f1168){logger[_0x253715(0x1fa)](_0x1a34b5[_0x253715(0x1c7)](_0x1a34b5[_0x253715(0x1f6)],_0x2f1168));}};_0x27334c['on'](_0x1a34b5[_0x8f1d45(0x24e)],async _0x36c54f=>{const _0x345d7d=_0x8f1d45;try{const _0x15bbb4=_0x1a34b5[_0x345d7d(0x1c2)][_0x345d7d(0x20b)]('|');let _0x28d68e=0x0;while(!![]){switch(_0x15bbb4[_0x28d68e++]){case'0':_0x1a34b5[_0x345d7d(0x27c)](_0x4270b8);continue;case'1':logger[_0x345d7d(0x1d9)]('Deleting\x20'+_0x58103a);continue;case'2':logger[_0x345d7d(0x1fa)](_0x345d7d(0x276)+_0x3cf8ee);continue;case'3':fs['unlinkSync'](_0x58103a);continue;case'4':logger[_0x345d7d(0x1fa)](_0x345d7d(0x240)+_0x36c54f);continue;case'5':process['exitCode']=_0x36c54f;continue;case'6':await helper[_0x345d7d(0x239)](_0x532fec);continue;case'7':fs[_0x345d7d(0x1fe)](_0x3cf8ee);continue;case'8':await _0x1a34b5['oXFEN'](stopAccessibilityTestRun,_0x532fec[_0x345d7d(0x1dd)]);continue;}break;}}catch(_0xe089fd){logger[_0x345d7d(0x1fa)](_0x1a34b5[_0x345d7d(0x1c7)](_0x1a34b5[_0x345d7d(0x21f)],_0xe089fd));}});}module[a33_0x5a8e48(0x1c8)]=run;
@@ -1 +1 @@
1
- const a34_0x2d08a5=a34_0x51c9;(function(_0x3ff032,_0xe695c0){const _0x380a92=a34_0x51c9,_0x442d9c=_0x3ff032();while(!![]){try{const _0x25b10d=parseInt(_0x380a92(0x136))/0x1*(parseInt(_0x380a92(0x116))/0x2)+parseInt(_0x380a92(0x110))/0x3*(parseInt(_0x380a92(0x11d))/0x4)+-parseInt(_0x380a92(0x113))/0x5*(-parseInt(_0x380a92(0x11a))/0x6)+parseInt(_0x380a92(0x135))/0x7*(parseInt(_0x380a92(0x12d))/0x8)+parseInt(_0x380a92(0x10f))/0x9*(parseInt(_0x380a92(0x114))/0xa)+-parseInt(_0x380a92(0x130))/0xb+parseInt(_0x380a92(0x127))/0xc*(-parseInt(_0x380a92(0x11c))/0xd);if(_0x25b10d===_0xe695c0)break;else _0x442d9c['push'](_0x442d9c['shift']());}catch(_0x2a3631){_0x442d9c['push'](_0x442d9c['shift']());}}}(a34_0x43b8,0xaa099));const child_process=require(a34_0x2d08a5(0x11e)),{FRAMEWORKS}=require(a34_0x2d08a5(0x123)),{getFrameworkVersion,debug}=require(a34_0x2d08a5(0x133)),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require(a34_0x2d08a5(0x111)),logger=require(a34_0x2d08a5(0x131))[a34_0x2d08a5(0x128)];module[a34_0x2d08a5(0x12b)]=async function(_0x11e3e6){const _0x8374ed=a34_0x2d08a5,_0x35ff1b={'oChzB':function(_0x4a3d1f,_0x5847e9){return _0x4a3d1f(_0x5847e9);},'gIHDm':function(_0x5bb9de){return _0x5bb9de();},'hzxEg':_0x8374ed(0x11b),'FmfpU':function(_0x44042f){return _0x44042f();},'jYNeC':'Running\x20existing\x20global\x20setup','hNCyn':function(_0x5bbf98,_0x29685b){return _0x5bbf98(_0x29685b);},'XnJoN':function(_0x58609e,_0x3ed147){return _0x58609e>=_0x3ed147;},'jATlk':_0x8374ed(0x122),'alNvU':function(_0x32fab8,_0x269546,_0x40a88a){return _0x32fab8(_0x269546,_0x40a88a);},'vtUto':function(_0x311aa7,_0x2ce46e){return _0x311aa7!==_0x2ce46e;},'TRsmf':_0x8374ed(0x121),'QrPwc':'Not\x20able\x20to\x20import\x20globalSetup','GvlWS':function(_0x407a47,_0x2b10e4){return _0x407a47(_0x2b10e4);}},_0x10cb10=child_process['fork'];child_process['fork']=function(){const _0x3bd747=_0x8374ed;return _0x35ff1b[_0x3bd747(0x12e)](debug,_0x3bd747(0x112)+arguments[0x0]),arguments[0x0][_0x3bd747(0x117)](_0x35ff1b['gIHDm'](getForkProcessPath))?arguments[0x0]=require[_0x3bd747(0x119)](_0x35ff1b[_0x3bd747(0x12f)]):logger[_0x3bd747(0x118)](_0x3bd747(0x124)+_0x35ff1b['FmfpU'](getForkProcessPath)+'\x20is\x20not\x20found'),_0x10cb10[_0x3bd747(0x125)](null,arguments);};if(process[_0x8374ed(0x120)][_0x8374ed(0x115)]){_0x35ff1b[_0x8374ed(0x12e)](debug,_0x35ff1b[_0x8374ed(0x132)]);try{const {loadGlobalHook:_0x103b26}=helper[_0x8374ed(0x129)][_0x8374ed(0x125)](null,_0x35ff1b[_0x8374ed(0x126)](getLoadUtilsPath)),_0x68345f=_0x35ff1b['hNCyn'](getFrameworkVersion,FRAMEWORKS[_0x8374ed(0x134)]);let _0x27d955=_0x11e3e6;if(_0x35ff1b['XnJoN'](helper[_0x8374ed(0x11f)](_0x68345f,_0x35ff1b['jATlk']),0x0)){const _0x5b87cd={};_0x5b87cd[_0x8374ed(0x12c)]=_0x11e3e6,_0x27d955=_0x5b87cd;}const _0x139fcd=await _0x35ff1b['alNvU'](_0x103b26,_0x27d955,process[_0x8374ed(0x120)][_0x8374ed(0x115)]);if(_0x35ff1b[_0x8374ed(0x12a)](typeof _0x139fcd,_0x35ff1b['TRsmf']))throw new Error(_0x35ff1b['QrPwc']);return _0x139fcd[_0x8374ed(0x125)](null,arguments);}catch(_0xfb1826){_0x35ff1b['GvlWS'](debug,_0x8374ed(0x10e)+_0xfb1826[_0x8374ed(0x137)]());}}};function a34_0x51c9(_0x13b41b,_0x240923){const _0x43b8c0=a34_0x43b8();return a34_0x51c9=function(_0x51c9de,_0x5dfeb4){_0x51c9de=_0x51c9de-0x10e;let _0x195eac=_0x43b8c0[_0x51c9de];return _0x195eac;},a34_0x51c9(_0x13b41b,_0x240923);}function a34_0x43b8(){const _0x42b968=['5NXQtZg','50pYyolQ','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','1905604cVMjEV','includes','error','resolve','236232uDYRCp','./mock-process.js','14816269ZgPNup','284EIWwAh','child_process','compareVersions','env','function','1.33.0','../../helpers/test-observability/constants','Path\x20','apply','gIHDm','12qgnPSt','winstonLogger','requirePWModule','vtUto','exports','config','232XohSZV','oChzB','hzxEg','13680711pzypMh','../../helpers/logger','jYNeC','../../helpers/test-observability/utils','PLAYWRIGHT','127449nErHuL','1cBrwqY','toString','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','1284741xmxyYc','35745UVvYey','./reporter/pwUtils','Call\x20to\x20child\x20fork\x20with\x20args\x20'];a34_0x43b8=function(){return _0x42b968;};return a34_0x43b8();}
1
+ const a34_0x328eee=a34_0x6289;function a34_0x6289(_0x119f07,_0x8d2651){const _0x1fb729=a34_0x1fb7();return a34_0x6289=function(_0x62896c,_0x3debc0){_0x62896c=_0x62896c-0xff;let _0x541a50=_0x1fb729[_0x62896c];return _0x541a50;},a34_0x6289(_0x119f07,_0x8d2651);}function a34_0x1fb7(){const _0x536bf9=['Running\x20existing\x20global\x20setup','218893MCxEtI','oLsxJ','7739251LcwJjt','nxIjL','Not\x20able\x20to\x20import\x20globalSetup','10bBwilG','resolve','294rmYfFc','\x20is\x20not\x20found','Call\x20to\x20child\x20fork\x20with\x20args\x20','env','toString','PLAYWRIGHT','88KlffGU','4FWzcIH','pzvgv','Path\x20','../../helpers/test-observability/constants','836232NEswNR','vYWgG','gLwyq','fork','1326978EuXBJr','./reporter/pwUtils','133OlWDsz','error','5GGEjcI','QFEbd','requirePWModule','compareVersions','includes','function','../../helpers/logger','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','child_process','../../helpers/helper','../../helpers/test-observability/utils','QdVgD','eQVAD','1428558XOZEWZ','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','28360lisHvM','./mock-process.js','316712yvWHVb','Oxnnw','apply'];a34_0x1fb7=function(){return _0x536bf9;};return a34_0x1fb7();}(function(_0x1c50a6,_0x13341a){const _0x289dc0=a34_0x6289,_0x5209d7=_0x1c50a6();while(!![]){try{const _0x3ce5c6=parseInt(_0x289dc0(0x117))/0x1*(parseInt(_0x289dc0(0x125))/0x2)+-parseInt(_0x289dc0(0x11e))/0x3*(-parseInt(_0x289dc0(0x111))/0x4)+parseInt(_0x289dc0(0x102))/0x5*(parseInt(_0x289dc0(0x10f))/0x6)+parseInt(_0x289dc0(0x100))/0x7*(-parseInt(_0x289dc0(0x113))/0x8)+-parseInt(_0x289dc0(0x12d))/0x9*(parseInt(_0x289dc0(0x11c))/0xa)+parseInt(_0x289dc0(0x124))/0xb*(parseInt(_0x289dc0(0x129))/0xc)+-parseInt(_0x289dc0(0x119))/0xd;if(_0x3ce5c6===_0x13341a)break;else _0x5209d7['push'](_0x5209d7['shift']());}catch(_0x20ae14){_0x5209d7['push'](_0x5209d7['shift']());}}}(a34_0x1fb7,0x69c4b));const child_process=require(a34_0x328eee(0x10a)),{FRAMEWORKS}=require(a34_0x328eee(0x128)),{getFrameworkVersion,debug}=require(a34_0x328eee(0x10c)),helper=require(a34_0x328eee(0x10b)),{getLoadUtilsPath,getForkProcessPath}=require(a34_0x328eee(0xff)),logger=require(a34_0x328eee(0x108))['winstonLogger'];module['exports']=async function(_0x474843){const _0x2dcd6c=a34_0x328eee,_0x52001b={'gLwyq':function(_0x1e5cd0,_0x46f0ce){return _0x1e5cd0(_0x46f0ce);},'QdVgD':function(_0x574ee9){return _0x574ee9();},'oLsxJ':_0x2dcd6c(0x112),'eWfaR':function(_0x325283,_0x534701){return _0x325283(_0x534701);},'QFEbd':_0x2dcd6c(0x116),'pzvgv':function(_0x47e545){return _0x47e545();},'qLBXd':function(_0x10051b,_0x16acf7){return _0x10051b>=_0x16acf7;},'kKZqu':'1.33.0','Oxnnw':function(_0x4e77d0,_0x59ff25,_0x225aba){return _0x4e77d0(_0x59ff25,_0x225aba);},'eQVAD':function(_0x5ea84e,_0x33545d){return _0x5ea84e!==_0x33545d;},'nxIjL':_0x2dcd6c(0x107),'cqNeY':_0x2dcd6c(0x11b),'vYWgG':function(_0x4a330a,_0x4808a9){return _0x4a330a(_0x4808a9);}},_0x19cbf3=child_process[_0x2dcd6c(0x12c)];child_process['fork']=function(){const _0x20956e=_0x2dcd6c;return _0x52001b[_0x20956e(0x12b)](debug,_0x20956e(0x120)+arguments[0x0]),arguments[0x0][_0x20956e(0x106)](_0x52001b['QdVgD'](getForkProcessPath))?arguments[0x0]=require[_0x20956e(0x11d)](_0x52001b[_0x20956e(0x118)]):logger[_0x20956e(0x101)](_0x20956e(0x127)+_0x52001b[_0x20956e(0x10d)](getForkProcessPath)+_0x20956e(0x11f)),_0x19cbf3[_0x20956e(0x115)](null,arguments);};if(process[_0x2dcd6c(0x121)][_0x2dcd6c(0x110)]){_0x52001b['eWfaR'](debug,_0x52001b[_0x2dcd6c(0x103)]);try{const {loadGlobalHook:_0x176a66}=helper[_0x2dcd6c(0x104)][_0x2dcd6c(0x115)](null,_0x52001b[_0x2dcd6c(0x126)](getLoadUtilsPath)),_0xab6040=_0x52001b['gLwyq'](getFrameworkVersion,FRAMEWORKS[_0x2dcd6c(0x123)]);let _0x5ecfe0=_0x474843;if(_0x52001b['qLBXd'](helper[_0x2dcd6c(0x105)](_0xab6040,_0x52001b['kKZqu']),0x0)){const _0x1b832d={};_0x1b832d['config']=_0x474843,_0x5ecfe0=_0x1b832d;}const _0x15ca84=await _0x52001b[_0x2dcd6c(0x114)](_0x176a66,_0x5ecfe0,process['env'][_0x2dcd6c(0x110)]);if(_0x52001b[_0x2dcd6c(0x10e)](typeof _0x15ca84,_0x52001b[_0x2dcd6c(0x11a)]))throw new Error(_0x52001b['cqNeY']);return _0x15ca84[_0x2dcd6c(0x115)](null,arguments);}catch(_0xd2d6f5){_0x52001b[_0x2dcd6c(0x12a)](debug,_0x2dcd6c(0x109)+_0xd2d6f5[_0x2dcd6c(0x122)]());}}};