browserstack-node-sdk 1.34.4 → 1.34.6

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 (126) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/ai-sdk-node/bundle.js +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-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/globals.js +1 -1
  101. package/src/helpers/helper.js +1 -1
  102. package/src/helpers/logger.js +1 -1
  103. package/src/helpers/patchHelpers.js +1 -1
  104. package/src/helpers/percy/Percy.js +1 -1
  105. package/src/helpers/percy/PercyBinary.js +1 -1
  106. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  107. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  108. package/src/helpers/percy/PercySDK.js +1 -1
  109. package/src/helpers/percy/index.js +1 -1
  110. package/src/helpers/percy/utils.js +1 -1
  111. package/src/helpers/performance-tester.js +1 -1
  112. package/src/helpers/request-spy.js +1 -1
  113. package/src/helpers/setKeepAlive.js +1 -1
  114. package/src/helpers/test-observability/constants.js +1 -1
  115. package/src/helpers/test-observability/error-handler.js +1 -1
  116. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  117. package/src/helpers/test-observability/sessionHandler.js +1 -1
  118. package/src/helpers/test-observability/utils.js +1 -1
  119. package/src/helpers/testhub/constants.js +1 -1
  120. package/src/helpers/testhub/testhubHandler.js +1 -1
  121. package/src/helpers/testhub/utils.js +1 -1
  122. package/src/helpers/timeoutPromise.js +1 -1
  123. package/src/helpers/utilities.js +1 -1
  124. package/src/helpers/w3cMapping.js +1 -1
  125. package/src/hubAllocationMethods.js +1 -1
  126. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a29_0x4d8474=a29_0x3351;function a29_0x3351(_0x243e4c,_0x285489){const _0x4331c9=a29_0x4331();return a29_0x3351=function(_0x335108,_0x16b31a){_0x335108=_0x335108-0x1cb;let _0x35ccab=_0x4331c9[_0x335108];return _0x35ccab;},a29_0x3351(_0x243e4c,_0x285489);}(function(_0x237415,_0x2cd15f){const _0x481b61=a29_0x3351,_0x115d1=_0x237415();while(!![]){try{const _0x36a917=-parseInt(_0x481b61(0x1ce))/0x1+-parseInt(_0x481b61(0x205))/0x2+parseInt(_0x481b61(0x232))/0x3*(-parseInt(_0x481b61(0x224))/0x4)+parseInt(_0x481b61(0x1dd))/0x5*(-parseInt(_0x481b61(0x21f))/0x6)+parseInt(_0x481b61(0x1ef))/0x7*(-parseInt(_0x481b61(0x239))/0x8)+parseInt(_0x481b61(0x21d))/0x9+parseInt(_0x481b61(0x1cf))/0xa*(parseInt(_0x481b61(0x1fb))/0xb);if(_0x36a917===_0x2cd15f)break;else _0x115d1['push'](_0x115d1['shift']());}catch(_0x5ba5e5){_0x115d1['push'](_0x115d1['shift']());}}}(a29_0x4331,0x6469b));const logger=require(a29_0x4d8474(0x22c))[a29_0x4d8474(0x1d5)],helper=require(a29_0x4d8474(0x23a)),constants=require(a29_0x4d8474(0x1d0)),hubAllocator=require(a29_0x4d8474(0x204)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x4d8474(0x203)),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x4d8474(0x1f0)),globals=require('../../../helpers/globals'),modify=(_0x4ecab1,_0x1bc369=null,_0x1f4b6c=![])=>{const _0x36dbe4=a29_0x4d8474,_0x26fd1f={'hJrtD':function(_0x5ef772,_0x2cdc12){return _0x5ef772!==_0x2cdc12;},'wKime':_0x36dbe4(0x1e3),'bSGCd':function(_0xc47fe6,_0x499245){return _0xc47fe6+_0x499245;},'KHdcP':_0x36dbe4(0x1e2),'jfcIC':_0x36dbe4(0x1f8),'SHybI':'goog:chromeOptions','fyJzR':'chromeOptions','aZNCk':'ms:edgeOptions','IMQdS':_0x36dbe4(0x1eb),'noRhY':'moz:firefoxOptions','CmIpf':'firefoxOptions','MFTdx':_0x36dbe4(0x1e7),'OepaQ':'se:ieOptions','CImTg':_0x36dbe4(0x209),'fblgm':function(_0x4f7128,_0x25b645){return _0x4f7128===_0x25b645;},'Tjebz':'object','UguPT':_0x36dbe4(0x1d1),'Bezza':_0x36dbe4(0x200),'ySxmX':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','SWnjE':'5|4|2|0|1|3','lDfKL':function(_0x207ac9,_0x290cac){return _0x207ac9(_0x290cac);},'xFwTz':function(_0x58e1ea,_0x11ae5f,_0x2ddc13){return _0x58e1ea(_0x11ae5f,_0x2ddc13);},'EMFUe':function(_0x352000,_0x3a04ae,_0x3623e0){return _0x352000(_0x3a04ae,_0x3623e0);},'hppKf':'1|3|0|2|4|5','IDxVP':function(_0x221b96){return _0x221b96();},'lcIcq':function(_0x1aca1b,_0x2a2904){return _0x1aca1b(_0x2a2904);},'SKHMc':'isAccessibilityPlatform','vHNRz':function(_0x5cf82e,_0x2ed0b4,_0x414cb4){return _0x5cf82e(_0x2ed0b4,_0x414cb4);},'iRKGf':_0x36dbe4(0x238),'QCLHF':function(_0x5dce62,_0xb2e654){return _0x5dce62(_0xb2e654);},'OvntK':function(_0x2bf7bc,_0x157472){return _0x2bf7bc!==_0x157472;},'Foynt':function(_0x36e57f,_0x3df47c){return _0x36e57f!==_0x3df47c;},'UqOVa':_0x36dbe4(0x1ec),'oKdRo':'Modifying\x20webdriver\x20builder'},_0x4d3d94=helper['requireHttpClient']();let _0x5763fa;try{_0x5763fa=helper[_0x36dbe4(0x202)](),_0x5763fa['originalBuilder']&&(_0x5763fa[_0x36dbe4(0x1e4)]=_0x5763fa[_0x36dbe4(0x210)]);}catch(_0x367655){return;}if(helper['isBrowserstackInfra']()){const _0x246a26={};_0x246a26[_0x36dbe4(0x234)]=_0x4ecab1[_0x36dbe4(0x1da)],helper[_0x36dbe4(0x1f5)](_0x246a26,new Map(),new Map()),logger[_0x36dbe4(0x1f4)](_0x26fd1f[_0x36dbe4(0x225)]),logger[_0x36dbe4(0x1e8)](_0x26fd1f['oKdRo']);}class _0xe67310 extends _0x4d3d94[_0x36dbe4(0x230)]{['send'](_0x36f9f2){const _0x143255=_0x36dbe4;if(_0x26fd1f[_0x143255(0x235)](_0x36f9f2['path'],_0x26fd1f['wKime'])&&_0x26fd1f[_0x143255(0x235)](global['newHubUrl'],''))try{global[_0x143255(0x206)]=_0x26fd1f[_0x143255(0x1fc)](_0x26fd1f[_0x143255(0x1fc)](_0x26fd1f[_0x143255(0x1db)],global[_0x143255(0x206)]),_0x26fd1f[_0x143255(0x236)]),this[_0x143255(0x1de)]=hubAllocator['getRequestOptions'](global[_0x143255(0x206)]),logger[_0x143255(0x1e8)](_0x143255(0x1e6)+global[_0x143255(0x206)]),global[_0x143255(0x206)]='';}catch(_0x285392){logger['error'](_0x285392);}return super[_0x143255(0x1ee)](_0x36f9f2);}}class _0x54d544 extends _0x5763fa[_0x36dbe4(0x1e4)]{[_0x36dbe4(0x1cb)](){const _0x4a7ad5=_0x36dbe4;return this[_0x4a7ad5(0x1cd)]=helper[_0x4a7ad5(0x20e)](_0x4ecab1),logger[_0x4a7ad5(0x1e8)](_0x4a7ad5(0x221)+this[_0x4a7ad5(0x1cd)]),this;}[_0x36dbe4(0x1fd)](_0x266fe1){const _0x3caa99=_0x36dbe4;let _0x382380={};for(const _0x1e2139 in _0x266fe1){switch(_0x1e2139){case _0x26fd1f[_0x3caa99(0x20b)]:case _0x26fd1f[_0x3caa99(0x1fa)]:this[_0x3caa99(0x1f3)]&&(_0x382380=this[_0x3caa99(0x1f3)]['get'](this[_0x3caa99(0x1f3)]['CAPABILITY_KEY'])||{},this[_0x3caa99(0x1f3)][_0x3caa99(0x22f)](this[_0x3caa99(0x1f3)]['CAPABILITY_KEY'],helper[_0x3caa99(0x20f)](_0x382380,_0x266fe1[_0x1e2139])));break;case _0x26fd1f[_0x3caa99(0x20d)]:case _0x26fd1f['IMQdS']:this[_0x3caa99(0x1ea)]&&(_0x382380=this['edgeOptions_'][_0x3caa99(0x217)](this['edgeOptions_'][_0x3caa99(0x1d9)])||{},this[_0x3caa99(0x1ea)][_0x3caa99(0x22f)](this[_0x3caa99(0x1ea)][_0x3caa99(0x1d9)],helper[_0x3caa99(0x20f)](_0x382380,_0x266fe1[_0x1e2139])));break;case _0x26fd1f[_0x3caa99(0x1ff)]:case _0x26fd1f[_0x3caa99(0x22e)]:this[_0x3caa99(0x219)]&&(_0x382380=this[_0x3caa99(0x219)][_0x3caa99(0x217)](this['firefoxOptions_'][_0x3caa99(0x1d9)])||{},this[_0x3caa99(0x219)][_0x3caa99(0x22f)](this['firefoxOptions_']['CAPABILITY_KEY'],helper[_0x3caa99(0x20f)](_0x382380,_0x266fe1[_0x1e2139])));break;case _0x26fd1f[_0x3caa99(0x214)]:this[_0x3caa99(0x1f9)]&&(_0x382380=this[_0x3caa99(0x1f9)][_0x3caa99(0x217)](this['safariOptions_'][_0x3caa99(0x1d9)])||{},this[_0x3caa99(0x1f9)][_0x3caa99(0x22f)](this[_0x3caa99(0x1f9)][_0x3caa99(0x1d9)],helper[_0x3caa99(0x20f)](_0x382380,_0x266fe1[_0x1e2139])));break;case _0x26fd1f[_0x3caa99(0x1f2)]:case _0x26fd1f['CImTg']:this[_0x3caa99(0x1d8)]&&(_0x382380=this[_0x3caa99(0x1d8)][_0x3caa99(0x217)](this['ieOptions_'][_0x3caa99(0x1d9)])||{},this['ieOptions_'][_0x3caa99(0x22f)](this[_0x3caa99(0x1d8)][_0x3caa99(0x1d9)],helper[_0x3caa99(0x20f)](_0x382380,_0x266fe1[_0x1e2139])));break;}}}[_0x36dbe4(0x201)](){const _0x4a050d=_0x36dbe4,_0x35390b={'yvjwe':function(_0x55b6e4,_0x2f8526){const _0x239ab0=a29_0x3351;return _0x26fd1f[_0x239ab0(0x22d)](_0x55b6e4,_0x2f8526);},'glUeA':_0x26fd1f['Tjebz']};return logger[_0x4a050d(0x1e8)](_0x26fd1f[_0x4a050d(0x21e)]),this[_0x4a050d(0x1fd)](_0x4ecab1['capability']),Object['keys'](_0x4ecab1[_0x4a050d(0x220)])['forEach'](_0x24391c=>{const _0x3514e9=_0x4a050d,_0x4fdde4=this[_0x3514e9(0x22b)][_0x3514e9(0x217)](_0x24391c);_0x35390b[_0x3514e9(0x23c)](typeof _0x4fdde4,_0x35390b[_0x3514e9(0x207)])?this[_0x3514e9(0x22b)][_0x3514e9(0x22f)](_0x24391c,helper[_0x3514e9(0x20f)](_0x4fdde4,_0x4ecab1[_0x3514e9(0x220)][_0x24391c])):this['capabilities_'][_0x3514e9(0x22f)](_0x24391c,_0x4ecab1[_0x3514e9(0x220)][_0x24391c]);}),this;}[_0x36dbe4(0x231)](){const _0x356a89=_0x36dbe4,_0x2a3e3e={'PZSVN':function(_0xd2fd0f,_0x2e67db,_0x1f5be0){const _0x3d4232=a29_0x3351;return _0x26fd1f[_0x3d4232(0x20c)](_0xd2fd0f,_0x2e67db,_0x1f5be0);},'sfXOl':function(_0x275043,_0x54a940,_0x2c04a7){return _0x26fd1f['xFwTz'](_0x275043,_0x54a940,_0x2c04a7);}};if(helper[_0x356a89(0x211)]()){const _0x38abdb=_0x26fd1f['hppKf'][_0x356a89(0x1e5)]('|');let _0x1b6153=0x0;while(!![]){switch(_0x38abdb[_0x1b6153++]){case'0':this[_0x356a89(0x201)]();continue;case'1':_0x26fd1f[_0x356a89(0x226)](isAccessibilityAutomationSession)&&_0x26fd1f[_0x356a89(0x22a)](setAccessibilityCapabilities,_0x4ecab1);continue;case'2':if(helper[_0x356a89(0x21c)](_0x4ecab1[_0x356a89(0x212)][_0x356a89(0x215)]))this['agent_']=helper[_0x356a89(0x1d6)](_0x4ecab1[_0x356a89(0x212)][_0x356a89(0x215)]);else _0x4ecab1[_0x356a89(0x212)][_0x356a89(0x215)]&&(this[_0x356a89(0x21b)]=_0x4ecab1[_0x356a89(0x212)][_0x356a89(0x215)],logger['debug'](_0x356a89(0x237)+this[_0x356a89(0x21b)]));continue;case'3':this[_0x356a89(0x1cb)]();continue;case'4':globals[_0x356a89(0x216)](_0x26fd1f['SKHMc'])&&(!_0x26fd1f[_0x356a89(0x218)](setExtension,this,_0x4ecab1)&&globals['setGlobal'](_0x26fd1f[_0x356a89(0x208)],![]));continue;case'5':logger[_0x356a89(0x1e8)](_0x26fd1f['iRKGf']);continue;}break;}}const _0x3f80e4=super[_0x356a89(0x231)]();return _0x3f80e4[_0x356a89(0x1d3)][_0x356a89(0x227)](_0x45d239=>{const _0x27e8c9=_0x356a89;try{const _0x5e8e6b=_0x45d239[_0x27e8c9(0x1f1)][_0x27e8c9(0x217)](_0x26fd1f['Bezza']);_0x5e8e6b?(logger[_0x27e8c9(0x1e8)](_0x27e8c9(0x1d2)+_0x5e8e6b),hubAllocator[_0x27e8c9(0x1e0)](_0x5e8e6b),helper[_0x27e8c9(0x223)](_0x5e8e6b)):logger[_0x27e8c9(0x1e8)](_0x26fd1f[_0x27e8c9(0x228)]);}catch(_0x44946f){logger[_0x27e8c9(0x1e8)](_0x27e8c9(0x222)+_0x44946f);}}),_0x3f80e4[_0x356a89(0x233)]=0x0,_0x3f80e4[_0x356a89(0x227)]&&_0x3f80e4[_0x356a89(0x227)](_0x2b030d=>{const _0x4fa679=_0x356a89,_0x21c1eb=_0x26fd1f['SWnjE'][_0x4fa679(0x1e5)]('|');let _0x46c9c0=0x0;while(!![]){switch(_0x21c1eb[_0x46c9c0++]){case'0':helper[_0x4fa679(0x1ed)](_0x2b030d,_0x4ecab1);continue;case'1':_0x2b030d[_0x4fa679(0x1df)]=async()=>{const _0x2f7e73=_0x4fa679;return await _0x2a3e3e[_0x2f7e73(0x1f6)](getAccessibilityResultsSummary,_0x2b030d,global);};continue;case'2':helper[_0x4fa679(0x1cc)](_0x2b030d,_0x4ecab1);continue;case'3':_0x2b030d['getAccessibilityResults']=async()=>{const _0x3af86e=_0x4fa679;return await _0x2a3e3e[_0x3af86e(0x213)](getAccessibilityResults,_0x2b030d,global);};continue;case'4':_0x26fd1f[_0x4fa679(0x229)](overrideTakeScreenshot,_0x2b030d);continue;case'5':_0x26fd1f[_0x4fa679(0x20c)](overrideQuit,_0x2b030d,_0x3f80e4);continue;}break;}}),_0x3f80e4['getAccessibilityResultsSummary']=async()=>{const _0x2bb4c0=_0x356a89;return await _0x26fd1f[_0x2bb4c0(0x1d7)](getAccessibilityResultsSummary,_0x3f80e4,global);},_0x3f80e4['getAccessibilityResults']=async()=>{const _0x40d4af=_0x356a89;return await _0x26fd1f[_0x40d4af(0x20c)](getAccessibilityResults,_0x3f80e4,global);},_0x26fd1f[_0x356a89(0x22a)](overrideTakeScreenshot,_0x3f80e4),_0x26fd1f[_0x356a89(0x1dc)](overrideQuit,_0x3f80e4),helper['overrideGet'](_0x3f80e4,_0x4ecab1),helper[_0x356a89(0x1ed)](_0x3f80e4,_0x4ecab1),helper[_0x356a89(0x20a)](global[_0x356a89(0x23b)])&&(global['__driversArray']=[]),helper[_0x356a89(0x20a)](global[_0x356a89(0x1e1)])&&(global[_0x356a89(0x1e1)]=[]),global[_0x356a89(0x23b)]['push'](_0x3f80e4),global[_0x356a89(0x1d4)]=_0x3f80e4,_0x26fd1f['OvntK'](global[_0x356a89(0x1e1)],undefined)&&global[_0x356a89(0x1e1)][_0x356a89(0x1f7)](_0x3f80e4),_0x1bc369&&helper['isUndefined'](_0x1bc369['global'][_0x356a89(0x23b)])&&(_0x1bc369['global'][_0x356a89(0x23b)]=[]),_0x1bc369&&_0x26fd1f['Foynt'](_0x1bc369[_0x356a89(0x1e9)][_0x356a89(0x1e1)],undefined)&&(_0x1bc369[_0x356a89(0x1e9)][_0x356a89(0x1e1)][_0x356a89(0x1f7)](_0x3f80e4),_0x1bc369['global']['__driversArray']['push'](_0x3f80e4)),_0x3f80e4;}}return _0x5763fa[_0x36dbe4(0x210)]=_0x5763fa[_0x36dbe4(0x1e4)],_0x5763fa[_0x36dbe4(0x1e4)]=_0x54d544,_0x4d3d94[_0x36dbe4(0x230)]=_0xe67310,_0x5763fa;};module[a29_0x4d8474(0x1fe)][a29_0x4d8474(0x21a)]=modify;function a29_0x4331(){const _0x5e4ef3=['setLogLevel','PZSVN','push','/wd/hub','safariOptions_','fyJzR','55uNwPUz','bSGCd','__setBrowserOptions','exports','noRhY','optimalHubUrl','setCapabilities','requireSeleniumWebdriver','../../../helpers/patchHelpers','../../../hubAllocationMethods','1156758IuTcdf','newHubUrl','glUeA','SKHMc','ieOptions','isUndefined','SHybI','xFwTz','aZNCk','getHubUrl','mergeDeep','originalBuilder','isBrowserstackInfra','proxySettings','sfXOl','MFTdx','proxyUrl','getGlobal','get','vHNRz','firefoxOptions_','browserstackAgentObservability','proxy_','isPacProxy','6734412DfLLSQ','UguPT','12288ogThak','capability','Hub\x20url\x20set\x20to\x20','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','storeOptimalHubUrl','593828uHXPGA','UqOVa','IDxVP','then','ySxmX','lDfKL','lcIcq','capabilities_','../../../helpers/logger','fblgm','CmIpf','set','HttpClient','build','6Fgwkbr','quitCount_','logLevel','hJrtD','jfcIC','Proxy\x20set\x20to\x20','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','279176LtPTfu','../../../helpers/helper','__driversArray','yvjwe','setServer','overrideGet','url_','676779BzIATv','3405200rMfABL','../../../bin/utils/constants','Setting\x20Browserstack\x20capabilities','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','session_','__driver','winstonLogger','getHttpAgent','EMFUe','ieOptions_','CAPABILITY_KEY','browserStackLogLevel','KHdcP','QCLHF','1105VSrOWx','options_','getAccessibilityResultsSummary','updateHubUrl','__drivers','https://','/session','Builder','split','New\x20hub\x20url\x20set\x20to\x20','safari.options','debug','global','edgeOptions_','edgeOptions','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','overrideExecute','send','7mIsjpb','../../../helpers/accessibility-automation/helper','caps_','OepaQ','chromeOptions_','info'];a29_0x4331=function(){return _0x5e4ef3;};return a29_0x4331();}
1
+ const a29_0x481bdb=a29_0x5d7c;function a29_0x5d7c(_0x4deb7b,_0x2b6931){const _0x39d43d=a29_0x39d4();return a29_0x5d7c=function(_0x5d7c04,_0x692b73){_0x5d7c04=_0x5d7c04-0xc2;let _0x5a4b2e=_0x39d43d[_0x5d7c04];return _0x5a4b2e;},a29_0x5d7c(_0x4deb7b,_0x2b6931);}(function(_0x36dd7e,_0x55a865){const _0x30adc2=a29_0x5d7c,_0x5b06d8=_0x36dd7e();while(!![]){try{const _0x31e16a=parseInt(_0x30adc2(0xde))/0x1+parseInt(_0x30adc2(0xdd))/0x2*(-parseInt(_0x30adc2(0xf6))/0x3)+-parseInt(_0x30adc2(0x113))/0x4*(parseInt(_0x30adc2(0xd9))/0x5)+parseInt(_0x30adc2(0x106))/0x6*(-parseInt(_0x30adc2(0x117))/0x7)+parseInt(_0x30adc2(0xe8))/0x8+-parseInt(_0x30adc2(0xee))/0x9+parseInt(_0x30adc2(0x140))/0xa;if(_0x31e16a===_0x55a865)break;else _0x5b06d8['push'](_0x5b06d8['shift']());}catch(_0x261b2e){_0x5b06d8['push'](_0x5b06d8['shift']());}}}(a29_0x39d4,0xe6cc9));const logger=require(a29_0x481bdb(0x108))[a29_0x481bdb(0x132)],helper=require(a29_0x481bdb(0xec)),constants=require(a29_0x481bdb(0xcf)),hubAllocator=require(a29_0x481bdb(0xfb)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x481bdb(0x111)),{setAccessibilityCapabilities,setExtension}=require(a29_0x481bdb(0x125)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x481bdb(0xfd)),globals=require('../../../helpers/globals'),modify=(_0x547eca,_0x12e0de=null,_0x1b5aab=![])=>{const _0x3c3738=a29_0x481bdb,_0x294c23={'NspDQ':function(_0x5bdb49,_0x44dcfc){return _0x5bdb49!==_0x44dcfc;},'cnbFq':_0x3c3738(0x10a),'hFDFy':function(_0x284705,_0x5975dc){return _0x284705!==_0x5975dc;},'Dcgbc':function(_0x5a2a19,_0x4915be){return _0x5a2a19+_0x4915be;},'AVgSJ':_0x3c3738(0xef),'MuAcN':_0x3c3738(0x124),'JPhMl':_0x3c3738(0x12c),'eNKrI':_0x3c3738(0x114),'BProq':_0x3c3738(0x116),'mopBE':_0x3c3738(0xf9),'nEIFx':_0x3c3738(0x121),'PUjfp':_0x3c3738(0xe3),'uiSfu':_0x3c3738(0xc8),'fizlI':_0x3c3738(0xf3),'oyUbD':_0x3c3738(0xf7),'amZJT':function(_0x26ab89,_0x5ea003){return _0x26ab89===_0x5ea003;},'rDTKH':_0x3c3738(0x112),'jRMOF':_0x3c3738(0xce),'ZdZvr':'optimalHubUrl','hywky':_0x3c3738(0xc2),'ciVNF':function(_0x4b7161,_0x5edec5,_0x10c746){return _0x4b7161(_0x5edec5,_0x10c746);},'rrTmK':function(_0x432fc1,_0x2179d6,_0x207825){return _0x432fc1(_0x2179d6,_0x207825);},'aMeQm':function(_0x140635,_0x56e90c){return _0x140635(_0x56e90c);},'yIStA':function(_0x3b3547,_0x4fd4a1,_0x15cd42){return _0x3b3547(_0x4fd4a1,_0x15cd42);},'lSVPA':_0x3c3738(0xf4),'RmPuJ':'isAccessibilityPlatform','yIitb':function(_0x16d287){return _0x16d287();},'hJhem':function(_0x56dbd9,_0x1624d8){return _0x56dbd9(_0x1624d8);},'vOEMO':_0x3c3738(0x13e),'RGYnX':function(_0x5c166c,_0x543b35){return _0x5c166c(_0x543b35);},'EeAij':function(_0x5787b2,_0x1ea71f){return _0x5787b2(_0x1ea71f);},'jRKDU':function(_0x2975d2,_0x3e1130){return _0x2975d2!==_0x3e1130;},'GJnuv':function(_0x5440d5,_0x21ae77){return _0x5440d5!==_0x21ae77;},'xKEMV':_0x3c3738(0x138),'oOWTV':_0x3c3738(0xcc)},_0x3bde75=helper[_0x3c3738(0x11b)]();let _0x8e0449;try{_0x8e0449=helper[_0x3c3738(0x11e)](),_0x8e0449[_0x3c3738(0xd5)]&&(_0x8e0449[_0x3c3738(0xd6)]=_0x8e0449[_0x3c3738(0xd5)]);}catch(_0xb1ad2e){return;}if(helper[_0x3c3738(0xd7)]()){const _0x2dc2aa={};_0x2dc2aa[_0x3c3738(0xe2)]=_0x547eca[_0x3c3738(0x137)],helper[_0x3c3738(0x118)](_0x2dc2aa,new Map(),new Map()),logger[_0x3c3738(0x11d)](_0x294c23[_0x3c3738(0x119)]),logger[_0x3c3738(0xda)](_0x294c23[_0x3c3738(0xd4)]);}class _0x32cac2 extends _0x3bde75[_0x3c3738(0x131)]{[_0x3c3738(0xf0)](_0x43ebaf){const _0x4086f5=_0x3c3738;if(_0x294c23[_0x4086f5(0xe1)](_0x43ebaf[_0x4086f5(0xe9)],_0x294c23[_0x4086f5(0xd3)])&&_0x294c23[_0x4086f5(0xed)](global[_0x4086f5(0xe4)],''))try{global['newHubUrl']=_0x294c23['Dcgbc'](_0x294c23[_0x4086f5(0x135)](_0x294c23['AVgSJ'],global[_0x4086f5(0xe4)]),_0x294c23[_0x4086f5(0x12e)]),this['options_']=hubAllocator[_0x4086f5(0x10b)](global[_0x4086f5(0xe4)]),logger['debug'](_0x4086f5(0xfe)+global[_0x4086f5(0xe4)]),global[_0x4086f5(0xe4)]='';}catch(_0x2b070e){logger['error'](_0x2b070e);}return super[_0x4086f5(0xf0)](_0x43ebaf);}}class _0x303957 extends _0x8e0449['Builder']{[_0x3c3738(0x11a)](){const _0x25858a=_0x3c3738;return this[_0x25858a(0x105)]=helper['getHubUrl'](_0x547eca),logger['debug'](_0x25858a(0x103)+this[_0x25858a(0x105)]),this;}[_0x3c3738(0x122)](_0x1b16ec){const _0x517dfa=_0x3c3738;let _0x26cde2={};for(const _0xd6cc80 in _0x1b16ec){switch(_0xd6cc80){case _0x294c23['JPhMl']:case _0x294c23[_0x517dfa(0x12b)]:this[_0x517dfa(0xc4)]&&(_0x26cde2=this[_0x517dfa(0xc4)][_0x517dfa(0x100)](this['chromeOptions_'][_0x517dfa(0xc5)])||{},this[_0x517dfa(0xc4)][_0x517dfa(0x101)](this['chromeOptions_'][_0x517dfa(0xc5)],helper[_0x517dfa(0xff)](_0x26cde2,_0x1b16ec[_0xd6cc80])));break;case _0x294c23[_0x517dfa(0x143)]:case _0x294c23['mopBE']:this[_0x517dfa(0xc7)]&&(_0x26cde2=this[_0x517dfa(0xc7)][_0x517dfa(0x100)](this[_0x517dfa(0xc7)][_0x517dfa(0xc5)])||{},this[_0x517dfa(0xc7)][_0x517dfa(0x101)](this['edgeOptions_']['CAPABILITY_KEY'],helper[_0x517dfa(0xff)](_0x26cde2,_0x1b16ec[_0xd6cc80])));break;case _0x294c23[_0x517dfa(0x123)]:case _0x294c23[_0x517dfa(0x139)]:this[_0x517dfa(0xe0)]&&(_0x26cde2=this['firefoxOptions_'][_0x517dfa(0x100)](this['firefoxOptions_'][_0x517dfa(0xc5)])||{},this[_0x517dfa(0xe0)][_0x517dfa(0x101)](this[_0x517dfa(0xe0)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x26cde2,_0x1b16ec[_0xd6cc80])));break;case _0x294c23[_0x517dfa(0x129)]:this['safariOptions_']&&(_0x26cde2=this['safariOptions_']['get'](this['safariOptions_'][_0x517dfa(0xc5)])||{},this[_0x517dfa(0x12a)]['set'](this[_0x517dfa(0x12a)][_0x517dfa(0xc5)],helper[_0x517dfa(0xff)](_0x26cde2,_0x1b16ec[_0xd6cc80])));break;case _0x294c23[_0x517dfa(0x10d)]:case _0x294c23[_0x517dfa(0x12f)]:this[_0x517dfa(0x10e)]&&(_0x26cde2=this[_0x517dfa(0x10e)][_0x517dfa(0x100)](this[_0x517dfa(0x10e)][_0x517dfa(0xc5)])||{},this[_0x517dfa(0x10e)]['set'](this[_0x517dfa(0x10e)][_0x517dfa(0xc5)],helper[_0x517dfa(0xff)](_0x26cde2,_0x1b16ec[_0xd6cc80])));break;}}}[_0x3c3738(0xc3)](){const _0x1c9194=_0x3c3738;return logger['debug'](_0x294c23[_0x1c9194(0x13f)]),this[_0x1c9194(0x122)](_0x547eca['capability']),Object[_0x1c9194(0xf8)](_0x547eca[_0x1c9194(0x11f)])['forEach'](_0x41da12=>{const _0xeb6c27=_0x1c9194,_0x8b241=this[_0xeb6c27(0x13b)][_0xeb6c27(0x100)](_0x41da12);_0x294c23[_0xeb6c27(0x13a)](typeof _0x8b241,_0x294c23[_0xeb6c27(0x115)])?this[_0xeb6c27(0x13b)]['set'](_0x41da12,helper['mergeDeep'](_0x8b241,_0x547eca[_0xeb6c27(0x11f)][_0x41da12])):this[_0xeb6c27(0x13b)][_0xeb6c27(0x101)](_0x41da12,_0x547eca[_0xeb6c27(0x11f)][_0x41da12]);}),this;}[_0x3c3738(0x13c)](){const _0xea8d31=_0x3c3738,_0x92eb57={'APTOE':function(_0x48d8ac,_0x467c0a,_0x11f1ca){const _0x4837e5=a29_0x5d7c;return _0x294c23[_0x4837e5(0x104)](_0x48d8ac,_0x467c0a,_0x11f1ca);}};if(helper[_0xea8d31(0xd7)]()){const _0x1d3360=_0x294c23[_0xea8d31(0xcb)][_0xea8d31(0xd1)]('|');let _0x5e930e=0x0;while(!![]){switch(_0x1d3360[_0x5e930e++]){case'0':this['setCapabilities']();continue;case'1':globals[_0xea8d31(0x110)](_0x294c23[_0xea8d31(0xc9)])&&(!_0x294c23[_0xea8d31(0xdb)](setExtension,this,_0x547eca)&&globals[_0xea8d31(0x10f)](_0x294c23[_0xea8d31(0xc9)],![]));continue;case'2':this[_0xea8d31(0x11a)]();continue;case'3':_0x294c23[_0xea8d31(0xfc)](isAccessibilityAutomationSession)&&_0x294c23['hJhem'](setAccessibilityCapabilities,_0x547eca);continue;case'4':if(helper[_0xea8d31(0xf2)](_0x547eca['proxySettings'][_0xea8d31(0x11c)]))this[_0xea8d31(0x136)]=helper[_0xea8d31(0x130)](_0x547eca[_0xea8d31(0xc6)]['proxyUrl']);else _0x547eca[_0xea8d31(0xc6)][_0xea8d31(0x11c)]&&(this[_0xea8d31(0x102)]=_0x547eca[_0xea8d31(0xc6)]['proxyUrl'],logger[_0xea8d31(0xda)](_0xea8d31(0xd2)+this[_0xea8d31(0x102)]));continue;case'5':logger[_0xea8d31(0xda)](_0x294c23[_0xea8d31(0x134)]);continue;}break;}}const _0x4d00a6=super['build']();return _0x4d00a6['session_'][_0xea8d31(0xf1)](_0x5885d1=>{const _0x17ff9e=_0xea8d31;try{const _0x3a90a2=_0x5885d1[_0x17ff9e(0x10c)][_0x17ff9e(0x100)](_0x294c23[_0x17ff9e(0x109)]);_0x3a90a2?(logger[_0x17ff9e(0xda)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x3a90a2),hubAllocator[_0x17ff9e(0x133)](_0x3a90a2),helper[_0x17ff9e(0xd0)](_0x3a90a2)):logger['debug'](_0x294c23[_0x17ff9e(0xf5)]);}catch(_0x1fbfd0){logger[_0x17ff9e(0xda)]('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x1fbfd0);}}),_0x4d00a6[_0xea8d31(0x126)]=0x0,_0x4d00a6['then']&&_0x4d00a6[_0xea8d31(0xf1)](_0x421982=>{const _0x2f3cd6=_0xea8d31,_0x46b3cd={'hHkaV':function(_0x39a705,_0x2de518,_0x25c73d){return _0x294c23['ciVNF'](_0x39a705,_0x2de518,_0x25c73d);},'cDvYa':function(_0x262d5d,_0xd67f6a,_0x1057c2){const _0x15d0fc=a29_0x5d7c;return _0x294c23[_0x15d0fc(0xdb)](_0x262d5d,_0xd67f6a,_0x1057c2);}};_0x294c23['ciVNF'](overrideQuit,_0x421982,_0x4d00a6),_0x294c23[_0x2f3cd6(0x127)](overrideTakeScreenshot,_0x421982),helper[_0x2f3cd6(0x141)](_0x421982,_0x547eca),helper['overrideExecute'](_0x421982,_0x547eca),_0x421982[_0x2f3cd6(0x107)]=async()=>{const _0x3f2667=_0x2f3cd6;return await _0x46b3cd[_0x3f2667(0xe5)](getAccessibilityResultsSummary,_0x421982,global);},_0x421982[_0x2f3cd6(0xea)]=async()=>{return await _0x46b3cd['cDvYa'](getAccessibilityResults,_0x421982,global);};}),_0x4d00a6[_0xea8d31(0x107)]=async()=>{const _0x2c3abb=_0xea8d31;return await _0x92eb57[_0x2c3abb(0xcd)](getAccessibilityResultsSummary,_0x4d00a6,global);},_0x4d00a6[_0xea8d31(0xea)]=async()=>{return await _0x294c23['rrTmK'](getAccessibilityResults,_0x4d00a6,global);},_0x294c23[_0xea8d31(0x120)](overrideTakeScreenshot,_0x4d00a6),_0x294c23[_0xea8d31(0x12d)](overrideQuit,_0x4d00a6),helper[_0xea8d31(0x141)](_0x4d00a6,_0x547eca),helper[_0xea8d31(0x142)](_0x4d00a6,_0x547eca),helper[_0xea8d31(0xfa)](global[_0xea8d31(0xe6)])&&(global[_0xea8d31(0xe6)]=[]),helper[_0xea8d31(0xfa)](global['__drivers'])&&(global[_0xea8d31(0xca)]=[]),global['__driversArray']['push'](_0x4d00a6),global[_0xea8d31(0xeb)]=_0x4d00a6,_0x294c23[_0xea8d31(0xd8)](global[_0xea8d31(0xca)],undefined)&&global[_0xea8d31(0xca)][_0xea8d31(0xdf)](_0x4d00a6),_0x12e0de&&helper[_0xea8d31(0xfa)](_0x12e0de[_0xea8d31(0xe7)][_0xea8d31(0xe6)])&&(_0x12e0de[_0xea8d31(0xe7)][_0xea8d31(0xe6)]=[]),_0x12e0de&&_0x294c23[_0xea8d31(0xdc)](_0x12e0de['global'][_0xea8d31(0xca)],undefined)&&(_0x12e0de[_0xea8d31(0xe7)][_0xea8d31(0xca)][_0xea8d31(0xdf)](_0x4d00a6),_0x12e0de[_0xea8d31(0xe7)]['__driversArray'][_0xea8d31(0xdf)](_0x4d00a6)),_0x4d00a6;}}return _0x8e0449[_0x3c3738(0xd5)]=_0x8e0449[_0x3c3738(0xd6)],_0x8e0449['Builder']=_0x303957,_0x3bde75[_0x3c3738(0x131)]=_0x32cac2,_0x8e0449;};function a29_0x39d4(){const _0x2535f6=['setLogLevel','xKEMV','setServer','requireHttpClient','proxyUrl','info','requireSeleniumWebdriver','capability','RGYnX','moz:firefoxOptions','__setBrowserOptions','nEIFx','/wd/hub','../accessibility-automation/helper','quitCount_','aMeQm','browserstackAgentObservability','uiSfu','safariOptions_','eNKrI','goog:chromeOptions','EeAij','MuAcN','oyUbD','getHttpAgent','HttpClient','winstonLogger','updateHubUrl','vOEMO','Dcgbc','agent_','browserStackLogLevel','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','PUjfp','amZJT','capabilities_','build','exports','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','jRMOF','34540580IEbztF','overrideGet','overrideExecute','BProq','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','setCapabilities','chromeOptions_','CAPABILITY_KEY','proxySettings','edgeOptions_','safari.options','RmPuJ','__drivers','lSVPA','Modifying\x20webdriver\x20builder','APTOE','Setting\x20Browserstack\x20capabilities','../../../bin/utils/constants','storeOptimalHubUrl','split','Proxy\x20set\x20to\x20','cnbFq','oOWTV','originalBuilder','Builder','isBrowserstackInfra','jRKDU','145PvQaBy','debug','rrTmK','GJnuv','139092exYeTL','739407pTJwdF','push','firefoxOptions_','NspDQ','logLevel','firefoxOptions','newHubUrl','hHkaV','__driversArray','global','797520JqSQqw','path','getAccessibilityResults','__driver','../../../helpers/helper','hFDFy','12480705TUVxNl','https://','send','then','isPacProxy','se:ieOptions','3|2|0|4|1|5','hywky','3ywsHwC','ieOptions','keys','edgeOptions','isUndefined','../../../hubAllocationMethods','yIitb','../../../helpers/accessibility-automation/helper','New\x20hub\x20url\x20set\x20to\x20','mergeDeep','get','set','proxy_','Hub\x20url\x20set\x20to\x20','yIStA','url_','30CdNxVJ','getAccessibilityResultsSummary','../../../helpers/logger','ZdZvr','/session','getRequestOptions','caps_','fizlI','ieOptions_','setGlobal','getGlobal','../../../helpers/patchHelpers','object','238916xlLkDl','chromeOptions','rDTKH','ms:edgeOptions','223118SZksdu'];a29_0x39d4=function(){return _0x2535f6;};return a29_0x39d4();}module[a29_0x481bdb(0x13d)][a29_0x481bdb(0x128)]=modify;
@@ -1 +1 @@
1
- function a30_0x1f2d(){const _0x121573=['../../../helpers/request-spy','11aTrxNX','2zIamzR','timeout','1395QhQEhu','../../../helpers/test-observability/utils','1757qjzhAO','2979104xCBDMs','642pGdqLM','restore','6235272HtkWzs','2792gdSjGp','673565oJBNEb','1812726EwUFuz','23906190mmOmzF','jSfhi'];a30_0x1f2d=function(){return _0x121573;};return a30_0x1f2d();}const a30_0x3ecc45=a30_0x3929;(function(_0x2e9f1e,_0x240f9f){const _0x1025f5=a30_0x3929,_0x3f1257=_0x2e9f1e();while(!![]){try{const _0x22997c=parseInt(_0x1025f5(0x78))/0x1+-parseInt(_0x1025f5(0x6e))/0x2*(-parseInt(_0x1025f5(0x69))/0x3)+parseInt(_0x1025f5(0x73))/0x4+-parseInt(_0x1025f5(0x70))/0x5*(-parseInt(_0x1025f5(0x74))/0x6)+-parseInt(_0x1025f5(0x72))/0x7*(-parseInt(_0x1025f5(0x77))/0x8)+parseInt(_0x1025f5(0x76))/0x9+parseInt(_0x1025f5(0x6a))/0xa*(-parseInt(_0x1025f5(0x6d))/0xb);if(_0x22997c===_0x240f9f)break;else _0x3f1257['push'](_0x3f1257['shift']());}catch(_0x4140c0){_0x3f1257['push'](_0x3f1257['shift']());}}}(a30_0x1f2d,0x6bf70));const requestSpy=require(a30_0x3ecc45(0x6c)),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require(a30_0x3ecc45(0x71));function a30_0x3929(_0x25b1a3,_0x297279){const _0x1f2da7=a30_0x1f2d();return a30_0x3929=function(_0x392918,_0x9f09f7){_0x392918=_0x392918-0x69;let _0x53d015=_0x1f2da7[_0x392918];return _0x53d015;},a30_0x3929(_0x25b1a3,_0x297279);}exports['mochaHooks']={'beforeAll'(){const _0x5426d3=a30_0x3ecc45,_0x183579={'jSfhi':function(_0xb61e1e){return _0xb61e1e();}},_0x1e9058='browserstack internal helper hook';_0x183579[_0x5426d3(0x6b)](addRequestSpy);},'afterAll'(){const _0x36d90e=a30_0x3ecc45,_0x28ecf2='browserstack internal helper hook';this[_0x36d90e(0x6f)](0xea60),requestSpy[_0x36d90e(0x75)]();}};
1
+ const a30_0x11080f=a30_0x156c;(function(_0x22c526,_0xd1f88){const _0x45448a=a30_0x156c,_0x3b3c66=_0x22c526();while(!![]){try{const _0x6f00ca=-parseInt(_0x45448a(0x11b))/0x1+parseInt(_0x45448a(0x11f))/0x2+parseInt(_0x45448a(0x117))/0x3*(parseInt(_0x45448a(0x118))/0x4)+parseInt(_0x45448a(0x116))/0x5*(-parseInt(_0x45448a(0x11c))/0x6)+parseInt(_0x45448a(0x110))/0x7*(-parseInt(_0x45448a(0x11d))/0x8)+-parseInt(_0x45448a(0x114))/0x9*(-parseInt(_0x45448a(0x11a))/0xa)+parseInt(_0x45448a(0x112))/0xb*(parseInt(_0x45448a(0x11e))/0xc);if(_0x6f00ca===_0xd1f88)break;else _0x3b3c66['push'](_0x3b3c66['shift']());}catch(_0x325a9c){_0x3b3c66['push'](_0x3b3c66['shift']());}}}(a30_0x4756,0xb0c40));const requestSpy=require('../../../helpers/request-spy'),constants=require(a30_0x11080f(0x111)),{addRequestSpy}=require(a30_0x11080f(0x113));function a30_0x156c(_0x81f043,_0x3322bb){const _0x475677=a30_0x4756();return a30_0x156c=function(_0x156c36,_0x51cec0){_0x156c36=_0x156c36-0x110;let _0x5e81ea=_0x475677[_0x156c36];return _0x5e81ea;},a30_0x156c(_0x81f043,_0x3322bb);}exports[a30_0x11080f(0x115)]={'beforeAll'(){const _0x596183=a30_0x11080f,_0x4179fd={'YcxNv':function(_0xfdcf69){return _0xfdcf69();}},_0x3115c1='browserstack internal helper hook';_0x4179fd[_0x596183(0x119)](addRequestSpy);},'afterAll'(){const _0x17ca9a=a30_0x11080f,_0x295dcb='browserstack internal helper hook';this['timeout'](0xea60),requestSpy[_0x17ca9a(0x120)]();}};function a30_0x4756(){const _0x5002eb=['2592656aJYHuT','restore','1918kjFRcq','../../../bin/utils/constants','3570787FiWEwG','../../../helpers/test-observability/utils','873mfHRgf','mochaHooks','55aEJLos','174desLlS','40496DlMzlh','YcxNv','146290GfhNSz','1214605RnoLpH','641298PvbuYa','33928idTdQY','36VYjhiB'];a30_0x4756=function(){return _0x5002eb;};return a30_0x4756();}
@@ -1 +1 @@
1
- const a31_0x205f58=a31_0x472a;(function(_0x5e1669,_0x152de7){const _0x50d6db=a31_0x472a,_0xc0403=_0x5e1669();while(!![]){try{const _0x3edb27=parseInt(_0x50d6db(0xd6))/0x1+parseInt(_0x50d6db(0xf2))/0x2*(-parseInt(_0x50d6db(0xce))/0x3)+parseInt(_0x50d6db(0x113))/0x4+-parseInt(_0x50d6db(0x112))/0x5+parseInt(_0x50d6db(0xde))/0x6*(-parseInt(_0x50d6db(0xe4))/0x7)+parseInt(_0x50d6db(0xc8))/0x8+parseInt(_0x50d6db(0x109))/0x9*(parseInt(_0x50d6db(0xe5))/0xa);if(_0x3edb27===_0x152de7)break;else _0xc0403['push'](_0xc0403['shift']());}catch(_0x27e639){_0xc0403['push'](_0xc0403['shift']());}}}(a31_0x1956,0xc022b));const {v4:uuidv4}=require('uuid'),{name,version}=require(a31_0x205f58(0x101)),logPatcher=require(a31_0x205f58(0xd9)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook}=require(a31_0x205f58(0x11b)),{consoleHolder}=require(a31_0x205f58(0x114)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a31_0x205f58(0xf1));function a31_0x472a(_0x45dec3,_0x53d80d){const _0x195686=a31_0x1956();return a31_0x472a=function(_0x472a76,_0x42cf06){_0x472a76=_0x472a76-0xc3;let _0x1c604b=_0x195686[_0x472a76];return _0x1c604b;},a31_0x472a(_0x45dec3,_0x53d80d);}console={},Object[a31_0x205f58(0xf3)](consoleHolder)[a31_0x205f58(0xf4)](_0xb7ef86=>{console[_0xb7ef86]=(..._0x809865)=>{BSTestOpsPatcher[_0xb7ef86](..._0x809865);};}),exports[a31_0x205f58(0xf0)]=()=>{const _0x249ee5=a31_0x205f58,_0x17af7f={'IwKQI':_0x249ee5(0xd4),'ZLyNq':function(_0x15bcb8){return _0x15bcb8();}};return{'ci':_0x17af7f['IwKQI'],'key':_0x17af7f[_0x249ee5(0xef)](uuidv4),'version':version,'collector':'js-'+name};},exports['getHookDetails']=_0x2ff7bd=>{const _0x2d6aa7=a31_0x205f58,_0x44c206={};_0x44c206[_0x2d6aa7(0x10e)]=function(_0x53b5f1,_0x54d6dc){return _0x53b5f1!==_0x54d6dc;},_0x44c206[_0x2d6aa7(0xe3)]='string',_0x44c206[_0x2d6aa7(0xdb)]=_0x2d6aa7(0xc6),_0x44c206['rKFlh']=function(_0x4ccc3d,_0x449ea1){return _0x4ccc3d!==_0x449ea1;},_0x44c206[_0x2d6aa7(0xcb)]=_0x2d6aa7(0x110);const _0x369be6=_0x44c206;if(!_0x2ff7bd||_0x369be6['HzwXm'](typeof _0x2ff7bd,_0x369be6[_0x2d6aa7(0xe3)]))return[null,null];if(_0x369be6[_0x2d6aa7(0x10e)](_0x2ff7bd['indexOf'](_0x369be6[_0x2d6aa7(0xdb)]),-0x1)){const _0x160d7b=_0x2ff7bd[_0x2d6aa7(0x10c)](_0x369be6['oKTLu']);return[_0x160d7b[0x0][_0x2d6aa7(0x106)](0x0,-0x1)[_0x2d6aa7(0x10c)]('\x22')[0x1],_0x160d7b[0x1]['substring'](0x1)];}else{if(_0x369be6[_0x2d6aa7(0xdf)](_0x2ff7bd['indexOf'](_0x369be6[_0x2d6aa7(0xcb)]),-0x1)){const _0x150ebe=_0x2ff7bd[_0x2d6aa7(0x10c)](_0x369be6[_0x2d6aa7(0xcb)]);return[_0x150ebe[0x0]['slice'](0x0,-0x1)['split']('\x22')[0x1],_0x2ff7bd];}}return[null,null];},exports['getHooksForTest']=_0x232a8c=>{const _0xc70c33=a31_0x205f58,_0xa079ba={'qEieZ':function(_0x39200b,_0x35ddc7){return _0x39200b(_0x35ddc7);},'sVbzV':_0xc70c33(0xfd),'ygnnG':_0xc70c33(0xda),'UZwnx':_0xc70c33(0xe1),'TRqxU':_0xc70c33(0xca)};if(!_0x232a8c||!_0x232a8c['parent'])return[];const _0x2f3603=[];return[_0xa079ba['sVbzV'],_0xa079ba['ygnnG'],_0xa079ba[_0xc70c33(0x10b)],_0xa079ba[_0xc70c33(0x103)]][_0xc70c33(0xf4)](_0x53e102=>{const _0x38672c=_0xc70c33,_0x5599e2={'gnjtB':function(_0x157974,_0x7788a6){return _0xa079ba['qEieZ'](_0x157974,_0x7788a6);}},_0x1de03e=_0x232a8c[_0x38672c(0xd8)][_0x53e102]||[];_0x1de03e[_0x38672c(0xf4)](_0x5f4ff4=>{const _0x1bc582=_0x38672c;_0x5f4ff4[_0x1bc582(0xfe)]&&!_0x5599e2['gnjtB'](isInternalHook,_0x5f4ff4['fn'])&&_0x2f3603[_0x1bc582(0xd7)](_0x5f4ff4[_0x1bc582(0xfe)]);});}),[..._0x2f3603,...exports[_0xc70c33(0x115)](_0x232a8c[_0xc70c33(0xd8)])];},exports[a31_0x205f58(0x117)]=_0x6ae14d=>{const _0x870b9d=a31_0x205f58,_0x47ce46={'XEUeu':function(_0x3483ba){return _0x3483ba();},'RSHTY':function(_0x46531f,_0x17f9f1){return _0x46531f===_0x17f9f1;},'ACnfe':_0x870b9d(0xca),'EvfHz':_0x870b9d(0xfd),'pBJrE':'_afterAll','GGoUr':'_beforeEach'};if(!_0x6ae14d||!_0x6ae14d[_0x870b9d(0xd8)])return;[_0x47ce46[_0x870b9d(0xc5)],_0x47ce46[_0x870b9d(0xfa)],_0x47ce46[_0x870b9d(0x10d)],_0x47ce46[_0x870b9d(0x11c)]][_0x870b9d(0xf4)](_0x1a8233=>{const _0x2b70e6=_0x870b9d,_0x540749={'qPVXh':function(_0x1a5c24){const _0x3bc9da=a31_0x472a;return _0x47ce46[_0x3bc9da(0xe2)](_0x1a5c24);},'mrCWg':function(_0x32e46d,_0xcc8ad5){return _0x47ce46['RSHTY'](_0x32e46d,_0xcc8ad5);},'yuXZb':_0x47ce46['ACnfe']},_0x364b6f=_0x6ae14d[_0x2b70e6(0xd8)][_0x1a8233]||[];_0x364b6f[_0x2b70e6(0xf4)](_0x28f33d=>{const _0x56c6fc=_0x2b70e6;if(!_0x28f33d[_0x56c6fc(0xfe)])_0x28f33d[_0x56c6fc(0xfe)]=_0x540749[_0x56c6fc(0x104)](uuidv4);else _0x28f33d[_0x56c6fc(0xc7)]&&_0x540749[_0x56c6fc(0xee)](_0x1a8233,_0x540749[_0x56c6fc(0x108)])&&(_0x28f33d[_0x56c6fc(0xfe)]=_0x540749[_0x56c6fc(0x104)](uuidv4),delete _0x28f33d[_0x56c6fc(0xc7)]);});}),exports[_0x870b9d(0x117)](_0x6ae14d[_0x870b9d(0xd8)]);},exports[a31_0x205f58(0xe7)]=async(_0x4e2ac3,_0x4b396f)=>{const _0x42df49=a31_0x205f58,_0x459829={'HujGr':function(_0x227e72){return _0x227e72();},'dHBxX':function(_0x3af526,_0x86efef){return _0x3af526===_0x86efef;},'YHErG':'browserstack','HZqXm':'appium:app','CgKSA':_0x42df49(0x10a),'VQwGi':_0x42df49(0x119),'eRDBv':_0x42df49(0xd1),'KgQpY':function(_0x32a1b4,_0x2b29ad){return _0x32a1b4(_0x2b29ad);},'FmHmB':_0x42df49(0xd2),'cnAbZ':'TEST_PLATFORM','bHsgO':function(_0x485186,_0xe65b8b){return _0x485186(_0xe65b8b);}};try{if(!_0x459829[_0x42df49(0xe0)](shouldProcessEventForTesthub))return;const _0xc9f570=await _0x4e2ac3[_0x42df49(0x105)](),_0xb39c8b=await _0x4e2ac3[_0x42df49(0xe8)](),_0x3762c2={},_0x5f2a77=Object[_0x42df49(0xd3)](_0xb39c8b[_0x42df49(0x105)]()[_0x42df49(0xc4)]),_0x579e72={'product':_0x459829[_0x42df49(0x11d)](global[_0x42df49(0x111)],_0x459829[_0x42df49(0xfc)])?_0x5f2a77[_0x459829['HZqXm']]||_0x5f2a77[_0x459829[_0x42df49(0xcf)]]?_0x459829[_0x42df49(0xe9)]:_0x459829[_0x42df49(0xd5)]:null,'capabilities':_0x5f2a77,'platform':_0xc9f570[_0x42df49(0xc9)](),'platform_version':_0x459829[_0x42df49(0xcc)](getPlatformVersion,_0x459829['dHBxX'](global[_0x42df49(0x111)],_0x459829[_0x42df49(0xfc)])),'browser':_0xc9f570['getBrowserName'](),'browser_version':_0xc9f570[_0x42df49(0xcd)](),'session_id':_0xb39c8b[_0x42df49(0xdc)]()};global['__cloud_provider___']?_0x3762c2[global[_0x42df49(0x111)]]=_0x579e72:_0x3762c2[_0x459829[_0x42df49(0xf8)]]=_0x579e72,process['emit'](_0x42df49(0x10f)+process[_0x42df49(0x118)],{'timestamp':new Date()[_0x42df49(0x100)](),'level':null,'message':null,'kind':_0x459829[_0x42df49(0xed)],'http_response':_0x3762c2,'uuid':_0x4b396f});}catch(_0xccaef3){_0x459829[_0x42df49(0xeb)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0xccaef3);}},exports[a31_0x205f58(0xff)]=_0x15e620=>{const _0x5d875a=a31_0x205f58,_0x9ea391={};_0x9ea391[_0x5d875a(0xf7)]=function(_0x1af5dc,_0x5c48f9){return _0x1af5dc!==_0x5c48f9;},_0x9ea391[_0x5d875a(0xfb)]=_0x5d875a(0x110),_0x9ea391['JhAIA']=function(_0x1c605c,_0x5bfdbf){return _0x1c605c!==_0x5bfdbf;},_0x9ea391[_0x5d875a(0xd0)]=_0x5d875a(0x107),_0x9ea391['ChKpt']=function(_0x2fea7f,_0x40b4c1){return _0x2fea7f!==_0x40b4c1;},_0x9ea391['MjuLb']=_0x5d875a(0xea);const _0x41bc55=_0x9ea391,_0x4074f5=_0x15e620['suites'][_0x5d875a(0xec)]((_0x1956b3,_0x2eac7f)=>{const _0x4e6d21=_0x5d875a,_0x64f86=exports[_0x4e6d21(0xff)](_0x2eac7f);return _0x64f86&&(_0x1956b3=_0x1956b3[_0x4e6d21(0xe6)](_0x64f86)),_0x1956b3;},[]),_0x3a8be3=_0x15e620[_0x5d875a(0xdd)][_0x5d875a(0xc3)](_0x6b6229=>{const _0x23f5ae=_0x5d875a,_0x3f296f=_0x41bc55[_0x23f5ae(0xf7)](_0x6b6229[_0x23f5ae(0xf9)],_0x41bc55['qNjcJ'])&&!_0x6b6229[_0x23f5ae(0xc7)]&&_0x41bc55[_0x23f5ae(0x116)](_0x6b6229[_0x23f5ae(0x11a)],_0x41bc55[_0x23f5ae(0xd0)])&&_0x41bc55[_0x23f5ae(0xf6)](_0x6b6229[_0x23f5ae(0x11a)],_0x41bc55[_0x23f5ae(0x102)])&&!_0x6b6229[_0x23f5ae(0xf5)];return _0x3f296f;});return _0x3a8be3['concat'](_0x4074f5);};function a31_0x1956(){const _0x4a18d0=['state','../../../helpers/test-observability/utils','ACnfe','dHBxX','filter','map_','EvfHz','hook:','markedStatus','11179160ZutSEj','getPlatform','_afterEach','uTnSV','KgQpY','getBrowserVersion','2450061dWvFAf','CgKSA','CQVfE','automate','unknown_grid','fromEntries','generic','eRDBv','604111IyiDxQ','push','parent','../../utils/logPatcher','_afterAll','oKTLu','toJSON','tests','4127034mSaCtq','rKFlh','HujGr','_beforeEach','XEUeu','MuESx','14IyTnfS','10qRCHPg','concat','sendPlatformDetails','getSession','VQwGi','failed','bHsgO','reduce','cnAbZ','mrCWg','ZLyNq','getTestEnv','../../../helpers/testhub/utils','2OYUrmG','keys','forEach','pending','ChKpt','pfEpu','FmHmB','type','pBJrE','qNjcJ','YHErG','_beforeAll','hookAnalyticsId','getHookSkippedTests','toISOString','../../../../package.json','MjuLb','TRqxU','qPVXh','getCapabilities','slice','passed','yuXZb','13882815zbucFz','app','UZwnx','split','GGoUr','HzwXm','bs:addPlatformDetails:','hook','__cloud_provider___','3727175etZToQ','722984HelxAA','../../../helpers/test-observability/constants','getHooksForTest','JhAIA','mapTestHooks','pid','app-automate'];a31_0x1956=function(){return _0x4a18d0;};return a31_0x1956();}
1
+ const a31_0x566d40=a31_0x390e;(function(_0xcbc554,_0x20aa9a){const _0xc20a64=a31_0x390e,_0x3d5b0e=_0xcbc554();while(!![]){try{const _0x2d34d4=-parseInt(_0xc20a64(0x1d7))/0x1*(parseInt(_0xc20a64(0x1ba))/0x2)+parseInt(_0xc20a64(0x1d5))/0x3*(-parseInt(_0xc20a64(0x198))/0x4)+parseInt(_0xc20a64(0x1c9))/0x5+-parseInt(_0xc20a64(0x1d2))/0x6+parseInt(_0xc20a64(0x1e2))/0x7*(-parseInt(_0xc20a64(0x1c1))/0x8)+parseInt(_0xc20a64(0x1d6))/0x9*(-parseInt(_0xc20a64(0x1db))/0xa)+-parseInt(_0xc20a64(0x191))/0xb*(-parseInt(_0xc20a64(0x1c6))/0xc);if(_0x2d34d4===_0x20aa9a)break;else _0x3d5b0e['push'](_0x3d5b0e['shift']());}catch(_0x52bd45){_0x3d5b0e['push'](_0x3d5b0e['shift']());}}}(a31_0x1e45,0x71072));const {v4:uuidv4}=require(a31_0x566d40(0x19e)),{name,version}=require(a31_0x566d40(0x1f3)),logPatcher=require(a31_0x566d40(0x1c2)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook}=require(a31_0x566d40(0x1ad)),{consoleHolder}=require(a31_0x566d40(0x1bf)),{getPlatformVersion}=require(a31_0x566d40(0x1e9)),{shouldProcessEventForTesthub}=require(a31_0x566d40(0x1dc));function a31_0x1e45(){const _0x41f0db=['split','sendPlatformDetails','ikueL','2mYAmse','fromEntries','getPlatform','DpWHH','SSPXx','../../../helpers/test-observability/constants','kbWQr','450424ZcxJjY','../../utils/logPatcher','ReoON','OUiYp','_afterAll','19068qRXDbq','getCapabilities','getHookSkippedTests','3972055qppsiE','getBrowserName','AvXKF','mpDXE','wmsnn','vexKQ','markedStatus','map_','jEcrD','3266316wfcnIV','getHooksForTest','ZOyvC','6OFRjZf','729suspTX','359630FpdfUG','_afterEach','__cloud_provider___','UWFen','111620fDnALC','../../../helpers/testhub/utils','parent','MivrC','eXhhw','emit','uXNqW','91FMgebY','dCHQi','_beforeAll','dHDeF','hujeI','oXTvF','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','../../../helpers/helper','GXxlJ','lZyHQ','passed','_beforeEach','bs:addPlatformDetails:','slice','pid','automate','ilsZU','../../../../package.json','hookAnalyticsId','21582nkdXyT','forEach','DyyRS','filter','hook:','fqhGd','uqvgp','1817980VzYPqf','getBrowserVersion','concat','EQfrv','generic','JFiBr','uuid','unknown_grid','app','KYZFt','gOyhF','suites','indexOf','OjRQU','hook','string','keys','xAdEW','failed','TEST_PLATFORM','pending','../../../helpers/test-observability/utils','getTestEnv','VrLDR','mapTestHooks','app-automate','EmQWF','push','toISOString','toJSON','state'];a31_0x1e45=function(){return _0x41f0db;};return a31_0x1e45();}function a31_0x390e(_0x50d291,_0x1ecb57){const _0x1e45f4=a31_0x1e45();return a31_0x390e=function(_0x390e25,_0xa318db){_0x390e25=_0x390e25-0x190;let _0x532027=_0x1e45f4[_0x390e25];return _0x532027;},a31_0x390e(_0x50d291,_0x1ecb57);}console={},Object[a31_0x566d40(0x1a8)](consoleHolder)['forEach'](_0x5af16a=>{console[_0x5af16a]=(..._0x3ccce8)=>{BSTestOpsPatcher[_0x5af16a](..._0x3ccce8);};}),exports[a31_0x566d40(0x1ae)]=()=>{const _0x3d37c8=a31_0x566d40,_0x40b60e={'dHDeF':_0x3d37c8(0x19c),'BMVez':function(_0x26a638){return _0x26a638();}};return{'ci':_0x40b60e[_0x3d37c8(0x1e5)],'key':_0x40b60e['BMVez'](uuidv4),'version':version,'collector':'js-'+name};},exports['getHookDetails']=_0x4dfa6c=>{const _0x2bb368=a31_0x566d40,_0x1461e5={};_0x1461e5['ZOyvC']=function(_0x41bece,_0x25cea0){return _0x41bece!==_0x25cea0;},_0x1461e5[_0x2bb368(0x1ce)]=_0x2bb368(0x1a7),_0x1461e5[_0x2bb368(0x1a1)]=function(_0x26c034,_0x545c03){return _0x26c034!==_0x545c03;},_0x1461e5[_0x2bb368(0x1cc)]=_0x2bb368(0x195),_0x1461e5[_0x2bb368(0x1e7)]=function(_0x42a2ff,_0x43823a){return _0x42a2ff!==_0x43823a;},_0x1461e5['eXhhw']='hook';const _0x28cd5a=_0x1461e5;if(!_0x4dfa6c||_0x28cd5a[_0x2bb368(0x1d4)](typeof _0x4dfa6c,_0x28cd5a['vexKQ']))return[null,null];if(_0x28cd5a[_0x2bb368(0x1a1)](_0x4dfa6c[_0x2bb368(0x1a4)](_0x28cd5a[_0x2bb368(0x1cc)]),-0x1)){const _0xbe460f=_0x4dfa6c[_0x2bb368(0x1b7)](_0x28cd5a[_0x2bb368(0x1cc)]);return[_0xbe460f[0x0][_0x2bb368(0x1ef)](0x0,-0x1)[_0x2bb368(0x1b7)]('\x22')[0x1],_0xbe460f[0x1]['substring'](0x1)];}else{if(_0x28cd5a[_0x2bb368(0x1e7)](_0x4dfa6c[_0x2bb368(0x1a4)](_0x28cd5a[_0x2bb368(0x1df)]),-0x1)){const _0xe374c6=_0x4dfa6c['split'](_0x28cd5a['eXhhw']);return[_0xe374c6[0x0][_0x2bb368(0x1ef)](0x0,-0x1)[_0x2bb368(0x1b7)]('\x22')[0x1],_0x4dfa6c];}}return[null,null];},exports[a31_0x566d40(0x1d3)]=_0x264a5b=>{const _0x4e6418=a31_0x566d40,_0x68f9ad={'gOyhF':function(_0x3c1e8d,_0x2c5eed){return _0x3c1e8d(_0x2c5eed);},'UWFen':_0x4e6418(0x1e4),'DyyRS':_0x4e6418(0x1c5),'VrLDR':_0x4e6418(0x1ed),'EQfrv':_0x4e6418(0x1d8)};if(!_0x264a5b||!_0x264a5b[_0x4e6418(0x1dd)])return[];const _0x129f10=[];return[_0x68f9ad[_0x4e6418(0x1da)],_0x68f9ad[_0x4e6418(0x193)],_0x68f9ad[_0x4e6418(0x1af)],_0x68f9ad[_0x4e6418(0x19b)]][_0x4e6418(0x192)](_0x11691e=>{const _0x2b7947=_0x4e6418,_0xa934f=_0x264a5b[_0x2b7947(0x1dd)][_0x11691e]||[];_0xa934f[_0x2b7947(0x192)](_0x5bf801=>{const _0x4cce2e=_0x2b7947;_0x5bf801['hookAnalyticsId']&&!_0x68f9ad[_0x4cce2e(0x1a2)](isInternalHook,_0x5bf801['fn'])&&_0x129f10[_0x4cce2e(0x1b3)](_0x5bf801['hookAnalyticsId']);});}),[..._0x129f10,...exports[_0x4e6418(0x1d3)](_0x264a5b[_0x4e6418(0x1dd)])];},exports[a31_0x566d40(0x1b0)]=_0x3a271f=>{const _0x14cca4=a31_0x566d40,_0x482362={'dCHQi':function(_0x3463fb){return _0x3463fb();},'rykNX':function(_0x1fd40d,_0xa85f99){return _0x1fd40d===_0xa85f99;},'ikueL':_0x14cca4(0x1d8),'bbmev':function(_0x384e43){return _0x384e43();},'JFiBr':_0x14cca4(0x1e4),'jEcrD':'_afterAll','MivrC':'_beforeEach'};if(!_0x3a271f||!_0x3a271f['parent'])return;[_0x482362[_0x14cca4(0x19d)],_0x482362[_0x14cca4(0x1d1)],_0x482362[_0x14cca4(0x1de)],_0x482362[_0x14cca4(0x1b9)]][_0x14cca4(0x192)](_0x2253db=>{const _0x1b0317=_0x14cca4,_0x12a3b7={'ReoON':function(_0x5aea38){const _0x30dba3=a31_0x390e;return _0x482362[_0x30dba3(0x1e3)](_0x5aea38);},'hujeI':function(_0x1f623e,_0x4ba032){return _0x482362['rykNX'](_0x1f623e,_0x4ba032);},'DpWHH':_0x482362[_0x1b0317(0x1b9)],'ilsZU':function(_0x38096a){return _0x482362['bbmev'](_0x38096a);}},_0x28fd9e=_0x3a271f[_0x1b0317(0x1dd)][_0x2253db]||[];_0x28fd9e[_0x1b0317(0x192)](_0x532e6f=>{const _0xe6d7a3=_0x1b0317;if(!_0x532e6f[_0xe6d7a3(0x190)])_0x532e6f['hookAnalyticsId']=_0x12a3b7[_0xe6d7a3(0x1c3)](uuidv4);else _0x532e6f[_0xe6d7a3(0x1cf)]&&_0x12a3b7[_0xe6d7a3(0x1e6)](_0x2253db,_0x12a3b7[_0xe6d7a3(0x1bd)])&&(_0x532e6f[_0xe6d7a3(0x190)]=_0x12a3b7[_0xe6d7a3(0x1f2)](uuidv4),delete _0x532e6f[_0xe6d7a3(0x1cf)]);});}),exports[_0x14cca4(0x1b0)](_0x3a271f[_0x14cca4(0x1dd)]);},exports[a31_0x566d40(0x1b8)]=async(_0x481376,_0x25ecd0)=>{const _0xec4b30=a31_0x566d40,_0x16cfd9={'OjRQU':function(_0x599937){return _0x599937();},'wmsnn':function(_0x23a1dc,_0x7eecf1){return _0x23a1dc===_0x7eecf1;},'EmQWF':'browserstack','SSPXx':'appium:app','OUiYp':_0xec4b30(0x1a0),'kbWQr':_0xec4b30(0x1b1),'DDDar':_0xec4b30(0x1f1),'uXNqW':function(_0x308f50,_0x3638f8){return _0x308f50(_0x3638f8);},'fqhGd':function(_0x23659b,_0x1329b6){return _0x23659b===_0x1329b6;},'REycF':_0xec4b30(0x19f),'uqvgp':_0xec4b30(0x1ab)};try{if(!_0x16cfd9[_0xec4b30(0x1a5)](shouldProcessEventForTesthub))return;const _0x617f=await _0x481376[_0xec4b30(0x1c7)](),_0x2b04cc=await _0x481376['getSession'](),_0x4df4ab={},_0x3d37cf=Object[_0xec4b30(0x1bb)](_0x2b04cc[_0xec4b30(0x1c7)]()[_0xec4b30(0x1d0)]),_0x3d5a98={'product':_0x16cfd9[_0xec4b30(0x1cd)](global['__cloud_provider___'],_0x16cfd9[_0xec4b30(0x1b2)])?_0x3d37cf[_0x16cfd9[_0xec4b30(0x1be)]]||_0x3d37cf[_0x16cfd9[_0xec4b30(0x1c4)]]?_0x16cfd9[_0xec4b30(0x1c0)]:_0x16cfd9['DDDar']:null,'capabilities':_0x3d37cf,'platform':_0x617f[_0xec4b30(0x1bc)](),'platform_version':_0x16cfd9[_0xec4b30(0x1e1)](getPlatformVersion,_0x16cfd9[_0xec4b30(0x196)](global[_0xec4b30(0x1d9)],_0x16cfd9['EmQWF'])),'browser':_0x617f[_0xec4b30(0x1ca)](),'browser_version':_0x617f[_0xec4b30(0x199)](),'session_id':_0x2b04cc[_0xec4b30(0x1b5)]()};global[_0xec4b30(0x1d9)]?_0x4df4ab[global[_0xec4b30(0x1d9)]]=_0x3d5a98:_0x4df4ab[_0x16cfd9['REycF']]=_0x3d5a98,process[_0xec4b30(0x1e0)](_0xec4b30(0x1ee)+process[_0xec4b30(0x1f0)],{'timestamp':new Date()[_0xec4b30(0x1b4)](),'level':null,'message':null,'kind':_0x16cfd9[_0xec4b30(0x197)],'http_response':_0x4df4ab,'uuid':_0x25ecd0});}catch(_0x249eef){_0x16cfd9['uXNqW'](debug,_0xec4b30(0x1e8)+_0x249eef);}},exports['getHookSkippedTests']=_0x29304d=>{const _0x5c6ab2=a31_0x566d40,_0x10045a={};_0x10045a[_0x5c6ab2(0x1cb)]=function(_0x4038dc,_0x5fe82d){return _0x4038dc!==_0x5fe82d;},_0x10045a[_0x5c6ab2(0x1ea)]=_0x5c6ab2(0x1a6),_0x10045a[_0x5c6ab2(0x1eb)]=_0x5c6ab2(0x1ec),_0x10045a['xAdEW']=_0x5c6ab2(0x1aa);const _0x3ebde6=_0x10045a,_0x35043e=_0x29304d[_0x5c6ab2(0x1a3)]['reduce']((_0x202d0a,_0x1a3ac7)=>{const _0x413ef2=_0x5c6ab2,_0x5573f3=exports[_0x413ef2(0x1c8)](_0x1a3ac7);return _0x5573f3&&(_0x202d0a=_0x202d0a[_0x413ef2(0x19a)](_0x5573f3)),_0x202d0a;},[]),_0x138425=_0x29304d['tests'][_0x5c6ab2(0x194)](_0x4f0bc7=>{const _0x419b39=_0x5c6ab2,_0x570dd7=_0x3ebde6['AvXKF'](_0x4f0bc7['type'],_0x3ebde6[_0x419b39(0x1ea)])&&!_0x4f0bc7[_0x419b39(0x1cf)]&&_0x3ebde6[_0x419b39(0x1cb)](_0x4f0bc7[_0x419b39(0x1b6)],_0x3ebde6[_0x419b39(0x1eb)])&&_0x3ebde6[_0x419b39(0x1cb)](_0x4f0bc7[_0x419b39(0x1b6)],_0x3ebde6[_0x419b39(0x1a9)])&&!_0x4f0bc7[_0x419b39(0x1ac)];return _0x570dd7;});return _0x138425[_0x5c6ab2(0x19a)](_0x35043e);};
@@ -1 +1 @@
1
- const a32_0x5ef54e=a32_0x146b;(function(_0x15e828,_0x598480){const _0xc423a3=a32_0x146b,_0x557c59=_0x15e828();while(!![]){try{const _0x582dc6=parseInt(_0xc423a3(0x20f))/0x1+-parseInt(_0xc423a3(0x1dc))/0x2+-parseInt(_0xc423a3(0x21e))/0x3+parseInt(_0xc423a3(0x221))/0x4+parseInt(_0xc423a3(0x1cf))/0x5+-parseInt(_0xc423a3(0x1e9))/0x6+parseInt(_0xc423a3(0x1f3))/0x7*(parseInt(_0xc423a3(0x1d8))/0x8);if(_0x582dc6===_0x598480)break;else _0x557c59['push'](_0x557c59['shift']());}catch(_0x59926e){_0x557c59['push'](_0x557c59['shift']());}}}(a32_0x3a66,0x38cd2));const util=require(a32_0x5ef54e(0x219)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x5ef54e(0x1d5)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a32_0x5ef54e(0x1cb)),{isBrowserstackInfra,markSessionStatus}=require(a32_0x5ef54e(0x208)),PerformanceTester=require(a32_0x5ef54e(0x207)),scripts=require(a32_0x5ef54e(0x23f)),globals=require('../../helpers/globals'),logger=require(a32_0x5ef54e(0x22b))[a32_0x5ef54e(0x224)],{shouldProcessEventForTesthub}=require(a32_0x5ef54e(0x21c)),testHubConstants=require(a32_0x5ef54e(0x230));function a32_0x146b(_0x3e8ca9,_0x2fdef7){const _0x3a6623=a32_0x3a66();return a32_0x146b=function(_0x146b3e,_0x14cba9){_0x146b3e=_0x146b3e-0x1ca;let _0x30b57f=_0x3a6623[_0x146b3e];return _0x30b57f;},a32_0x146b(_0x3e8ca9,_0x2fdef7);}exports[a32_0x5ef54e(0x204)]={'beforeAll'(){const _0x5ada1a=a32_0x5ef54e,_0x300712={'vGJpY':function(_0x3d208a,_0x4a6c31,_0x465940,_0x3d04d4){return _0x3d208a(_0x4a6c31,_0x465940,_0x3d04d4);},'CaNsl':_0x5ada1a(0x1e8),'TQjgo':_0x5ada1a(0x1e1),'Vufpc':function(_0x3f1b7c,_0x3b4a83,_0x4845d6){return _0x3f1b7c(_0x3b4a83,_0x4845d6);},'CkjAT':_0x5ada1a(0x20e),'qBCmL':function(_0x17260c){return _0x17260c();},'kPvnG':function(_0x4af5cf,_0x5665c0,_0x16ab81){return _0x4af5cf(_0x5665c0,_0x16ab81);}};PerformanceTester['startMonitoring']();const _0x2bbe68='browserstack internal helper hook';global[_0x5ada1a(0x213)]=[],global[_0x5ada1a(0x24a)]=![],global[_0x5ada1a(0x238)]=async()=>{const _0x39a38c=_0x5ada1a;let _0x269dde=![];try{await global[_0x39a38c(0x21a)][0x0][_0x39a38c(0x205)],_0x269dde=!![],global[_0x39a38c(0x24a)]?await _0x300712[_0x39a38c(0x211)](markSessionStatus,global[_0x39a38c(0x21a)][0x0],_0x300712[_0x39a38c(0x1fc)],global[_0x39a38c(0x213)][_0x39a38c(0x227)](_0x300712[_0x39a38c(0x1e4)])):await _0x300712[_0x39a38c(0x229)](markSessionStatus,global[_0x39a38c(0x21a)][0x0],_0x300712['CkjAT']);}catch(_0x5b383a){}global[_0x39a38c(0x213)]=[],global[_0x39a38c(0x24a)]=![];if(_0x269dde)try{try{_0x300712[_0x39a38c(0x1d4)](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0x300712[_0x39a38c(0x232)](sendPlatformDetails,global['__drivers'][0x0],this[_0x39a38c(0x1cd)]?this[_0x39a38c(0x1cd)][_0x39a38c(0x23a)]:null));}catch{}await global[_0x39a38c(0x21a)][0x0][_0x39a38c(0x233)]();}catch(_0x33543c){}};},'beforeEach'(_0x46eede){const _0x7ae1cb=a32_0x5ef54e,_0x5aa815={'hbroF':function(_0x42fe63,_0x469b70){return _0x42fe63>_0x469b70;},'oASfZ':_0x7ae1cb(0x1f0),'eFTBZ':function(_0x1d3883,_0x20d90b,_0x3b816c){return _0x1d3883(_0x20d90b,_0x3b816c);},'wUxqH':_0x7ae1cb(0x1e3),'YEHiH':function(_0x1a1455){return _0x1a1455();},'qaWKq':_0x7ae1cb(0x20c),'Huasd':function(_0x14c20f,_0x62e3ea){return _0x14c20f===_0x62e3ea;},'KAIOV':_0x7ae1cb(0x249),'pKJJF':function(_0x18e9fd,_0x5d18e7){return _0x18e9fd===_0x5d18e7;},'LAsbv':'https:','GbunN':_0x7ae1cb(0x246),'iYibb':_0x7ae1cb(0x1ea),'XATDN':function(_0x1348b4){return _0x1348b4();}};new Promise(async _0x443a82=>{const _0x57d940=_0x7ae1cb,_0x1fa1d4='browserstack internal helper hook';let _0x15c022=!![];try{_0x5aa815[_0x57d940(0x235)](global['__drivers']['length'],0x1)&&(await global['driverCleanup'](),global[_0x57d940(0x21a)][_0x57d940(0x237)]()),_0x5aa815[_0x57d940(0x235)](global[_0x57d940(0x21a)][0x0][_0x57d940(0x1d9)],0x0)&&(_0x15c022=![],await global[_0x57d940(0x238)]());}catch{}try{Array[_0x57d940(0x210)](global['__drivers'])&&global[_0x57d940(0x21a)][0x0]&&(global[_0x57d940(0x21a)][0x0][_0x57d940(0x241)]=this[_0x57d940(0x1cd)][_0x57d940(0x1d6)]()[_0x57d940(0x227)](_0x5aa815[_0x57d940(0x248)])),global[_0x57d940(0x241)]=this[_0x57d940(0x1cd)][_0x57d940(0x1d6)]()[_0x57d940(0x227)](_0x5aa815[_0x57d940(0x248)]);}catch(_0xc109ff){logger[_0x57d940(0x1fe)](_0x57d940(0x22c)+_0xc109ff);}this[_0x57d940(0x1cd)][_0x57d940(0x200)]=_0x5aa815[_0x57d940(0x22d)](shouldScanTestForAccessibility,this[_0x57d940(0x1cd)][_0x57d940(0x1d6)](),!![]),globals['setGlobal'](_0x5aa815[_0x57d940(0x1f8)],this[_0x57d940(0x1cd)]['shouldScanTestForAccessibility']),this['currentTest']['accessibilityScanStarted']=!![];if(_0x5aa815[_0x57d940(0x222)](isAccessibilityAutomationSession)&&_0x15c022&&Array[_0x57d940(0x210)](global[_0x57d940(0x21a)])&&_0x5aa815['hbroF'](global[_0x57d940(0x21a)]['length'],0x0)&&globals[_0x57d940(0x1f1)](_0x5aa815[_0x57d940(0x22e)]))try{const _0x4bf9a0=await global['__drivers'][0x0][_0x57d940(0x205)];if(_0x4bf9a0){let _0x30a6a9=!![];const _0x3233c5=await global[_0x57d940(0x21a)][0x0][_0x57d940(0x1f5)]();let _0x46489e;try{_0x46489e=new URL(_0x3233c5);}catch(_0x592454){_0x30a6a9=![];}_0x30a6a9=_0x5aa815[_0x57d940(0x1d1)](_0x46489e[_0x57d940(0x20a)],_0x5aa815[_0x57d940(0x1f9)])||_0x5aa815[_0x57d940(0x1ce)](_0x46489e['protocol'],_0x5aa815[_0x57d940(0x1fb)]),_0x30a6a9&&(this[_0x57d940(0x1cd)][_0x57d940(0x200)]&&logger['info'](_0x5aa815[_0x57d940(0x1fd)])),this[_0x57d940(0x1cd)]['accessibilityScanStarted']=this[_0x57d940(0x1cd)][_0x57d940(0x200)],this['currentTest']['shouldScanTestForAccessibility']&&logger[_0x57d940(0x231)](_0x5aa815[_0x57d940(0x1e6)]);}}catch(_0x326804){logger[_0x57d940(0x22f)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x57d940(0x21f)](_0x326804));}_0x5aa815[_0x57d940(0x1f7)](_0x443a82);})['then'](_0x46eede);},'afterEach'(_0x2304cb){const _0x5839e6=a32_0x5ef54e,_0x4038f2={'eclvp':function(_0x58111e,_0x2e17a3){return _0x58111e>_0x2e17a3;},'tjTvX':function(_0x53b07f,_0x277a96){return _0x53b07f===_0x277a96;},'dtGRo':'testcase','zrsEH':function(_0x310fa3,_0x489f23){return _0x310fa3>_0x489f23;},'NAMYG':_0x5839e6(0x20d),'BIGrg':function(_0x24ebcd,_0x1d9d9d,_0x109e65,_0x4d28e8){return _0x24ebcd(_0x1d9d9d,_0x109e65,_0x4d28e8);},'BGNvl':_0x5839e6(0x1f0),'LZkPx':function(_0x25533b,_0x1b50fd){return _0x25533b!==_0x1b50fd;},'eZfvE':_0x5839e6(0x20e),'RozXu':function(_0x4895b4,_0x4a0b8c,_0x4c0744){return _0x4895b4(_0x4a0b8c,_0x4c0744);},'vPIkI':function(_0x3fa48d,_0x4d164d){return _0x3fa48d+_0x4d164d;},'jZHZR':_0x5839e6(0x1ff),'EWsyp':_0x5839e6(0x22f),'hEzBV':function(_0x20bd39,_0x532907,_0x204dc4){return _0x20bd39(_0x532907,_0x204dc4);},'yXYGh':_0x5839e6(0x209),'GpCAv':'info','OrgqV':_0x5839e6(0x20c),'rvkAe':_0x5839e6(0x1e3),'GaEtA':_0x5839e6(0x1db),'nkSRA':_0x5839e6(0x226),'nwVXX':_0x5839e6(0x23e),'hTffS':function(_0xa69a49){return _0xa69a49();},'waCTL':function(_0x36e31b,_0x3623ee,_0x4ad65b){return _0x36e31b(_0x3623ee,_0x4ad65b);},'keufA':function(_0x41ad78){return _0x41ad78();},'TUPVD':_0x5839e6(0x1fe),'PQoEj':function(_0x702039,_0x513243){return _0x702039>_0x513243;}},_0x42617b='browserstack internal helper hook';this[_0x5839e6(0x240)](0xfde8);const _0x2b6253=async(_0x2c629c,_0x369822)=>{const _0x58c439=_0x5839e6;await global[_0x58c439(0x21a)][0x0][_0x58c439(0x1dd)](_0x58c439(0x202)+_0x2c629c+_0x58c439(0x212)+_0x369822+_0x58c439(0x201));};new Promise(async _0x33e945=>{const _0x231ff0=_0x5839e6;try{_0x4038f2[_0x231ff0(0x1d7)](global['__drivers'][_0x231ff0(0x218)],0x1)&&(await global[_0x231ff0(0x238)](),global[_0x231ff0(0x21a)][_0x231ff0(0x237)](),global[_0x231ff0(0x213)]=[],global[_0x231ff0(0x24a)]=![]);try{if(global[_0x231ff0(0x216)]&&_0x4038f2[_0x231ff0(0x1e0)](global[_0x231ff0(0x1f2)],_0x4038f2['dtGRo'])&&global[_0x231ff0(0x21a)][0x0]){const _0x27bb06=_0x4038f2[_0x231ff0(0x1eb)](global[_0x231ff0(0x24b)][_0x231ff0(0x218)],0x0)?!!global[_0x231ff0(0x24b)][0x0][_0x231ff0(0x244)]||!!global[_0x231ff0(0x24b)][0x0][_0x4038f2[_0x231ff0(0x23b)]]:![],_0x311742={};_0x311742[_0x231ff0(0x244)]=_0x27bb06,await _0x4038f2[_0x231ff0(0x206)](percyAutoCapture,global[_0x231ff0(0x21a)][0x0],_0x4038f2[_0x231ff0(0x228)],_0x311742);}}catch(_0x5eaa8f){}!global['__skipSessionName']&&(await global[_0x231ff0(0x21a)][0x0][_0x231ff0(0x1dd)](_0x231ff0(0x214)+JSON[_0x231ff0(0x1e5)](this[_0x231ff0(0x1cd)]['titlePath']()['join'](_0x4038f2[_0x231ff0(0x24d)]))+'}}'),global[_0x231ff0(0x21a)][0x0]['sessionNameSet__']=!![]);const _0x58b924=_0x4038f2[_0x231ff0(0x236)](this['currentTest']['state'],_0x4038f2[_0x231ff0(0x20b)]);_0x58b924?(global[_0x231ff0(0x24a)]=!![],global['__error_messages__'][_0x231ff0(0x21d)](this[_0x231ff0(0x1cd)]['err'][_0x231ff0(0x1cc)]),await _0x4038f2[_0x231ff0(0x1ee)](_0x2b6253,JSON['stringify'](_0x4038f2[_0x231ff0(0x1d0)](_0x4038f2[_0x231ff0(0x1d3)],this[_0x231ff0(0x1cd)][_0x231ff0(0x1df)][_0x231ff0(0x1cc)])),_0x4038f2[_0x231ff0(0x1e2)])):await _0x4038f2['hEzBV'](_0x2b6253,JSON[_0x231ff0(0x1e5)](_0x4038f2['yXYGh']),_0x4038f2[_0x231ff0(0x215)]);}catch(_0x181168){}try{if(this[_0x231ff0(0x1cd)]['accessibilityScanStarted']&&globals['getGlobal'](_0x4038f2[_0x231ff0(0x203)])&&globals['getGlobal'](_0x4038f2[_0x231ff0(0x247)])){logger[_0x231ff0(0x231)](_0x4038f2[_0x231ff0(0x1ec)]);const _0x199d03={};_0x199d03['thTestRunUuid']=this[_0x231ff0(0x1cd)][_0x231ff0(0x23a)],_0x199d03[_0x231ff0(0x223)]=process[_0x231ff0(0x225)][testHubConstants['ENV_VAR'][_0x231ff0(0x234)]],_0x199d03[_0x231ff0(0x1f6)]=process['env'][testHubConstants[_0x231ff0(0x1de)][_0x231ff0(0x23c)]];const _0x1be865=_0x199d03;logger[_0x231ff0(0x1fe)](_0x231ff0(0x23d)+JSON[_0x231ff0(0x1e5)](_0x1be865)),logger[_0x231ff0(0x1fe)](_0x4038f2[_0x231ff0(0x245)]),logger[_0x231ff0(0x1fe)](util[_0x231ff0(0x21f)](await global['__drivers'][0x0]['executeAsyncScript'](scripts[_0x231ff0(0x1fa)],{'method':global[_0x231ff0(0x241)]}))),await global[_0x231ff0(0x21a)][0x0][_0x231ff0(0x1d2)](scripts[_0x231ff0(0x242)],_0x1be865),logger[_0x231ff0(0x231)](_0x4038f2[_0x231ff0(0x1ca)]);}}catch(_0x37ea44){logger[_0x231ff0(0x22f)](_0x231ff0(0x217)+this[_0x231ff0(0x1cd)][_0x231ff0(0x1d6)]()+_0x231ff0(0x243),_0x37ea44);}try{try{if(_0x4038f2[_0x231ff0(0x22a)](shouldProcessEventForTesthub)){global[_0x231ff0(0x21a)][0x0]&&await _0x4038f2['waCTL'](sendPlatformDetails,global[_0x231ff0(0x21a)][0x0],this[_0x231ff0(0x1cd)]?this[_0x231ff0(0x1cd)][_0x231ff0(0x23a)]:null);if(_0x4038f2['keufA'](isBrowserstackInfra)){const _0x37b290=_0x231ff0(0x239)+Date[_0x231ff0(0x24c)]();await _0x4038f2[_0x231ff0(0x1e7)](_0x2b6253,JSON['stringify'](_0x37b290),_0x4038f2[_0x231ff0(0x1f4)]);}}}catch{}_0x4038f2[_0x231ff0(0x220)](global[_0x231ff0(0x21a)][0x0][_0x231ff0(0x1d9)],0x0)&&await global[_0x231ff0(0x238)]();}catch(_0x579824){}_0x4038f2[_0x231ff0(0x1ed)](_0x33e945);})[_0x5839e6(0x1da)](()=>_0x2304cb());},'afterAll'(_0x5ecc9b){const _0x15db40=a32_0x5ef54e,_0x23a6f3={'gFUuA':function(_0x526881){return _0x526881();}},_0xfa93a0='browserstack internal helper hook';this['timeout'](0xfde8),new Promise(async _0x23e595=>{const _0x303ddb=a32_0x146b;PerformanceTester[_0x303ddb(0x1ef)](),await global[_0x303ddb(0x238)](),_0x23a6f3[_0x303ddb(0x21b)](_0x23e595);})[_0x15db40(0x1da)](()=>_0x5ecc9b());}};function a32_0x3a66(){const _0x148767=['PQoEj','305760mHwdxA','YEHiH','thBuildUuid','winstonLogger','env','Performing\x20scan\x20before\x20saving\x20results','join','dtGRo','Vufpc','hTffS','../../helpers/logger','Failed\x20to\x20store\x20session\x20name:\x20','eFTBZ','qaWKq','error','../../helpers/testhub/constants','info','kPvnG','initQuit','BROWSERSTACK_TESTHUB_UUID','hbroF','LZkPx','shift','driverCleanup','ObservabilitySync:','testAnalyticsId','NAMYG','BROWSERSTACK_TESTHUB_JWT','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','../../helpers/accessibility-automation/scripts','timeout','browserstackSessionName','saveTestResults','.\x20Error\x20:','app','nkSRA','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','rvkAe','oASfZ','http:','__sessionFailed','capabilities','now','BGNvl','nwVXX','./test-observability/mochaUtils','message','currentTest','pKJJF','33795stnGch','vPIkI','Huasd','executeAsyncScript','jZHZR','qBCmL','../../helpers/accessibility-automation/helper','titlePath','eclvp','21272EmCGfd','quitCount_','then','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','66366wzhOlM','executeScript','ENV_VAR','err','tjTvX','\x20|\x20','EWsyp','bstackA11yShouldScan','TQjgo','stringify','iYibb','waCTL','failed','2646492IEHZfJ','Automate\x20test\x20case\x20execution\x20has\x20started.','zrsEH','GaEtA','keufA','RozXu','stopMonitoring','\x20-\x20','getGlobal','percyCaptureMode','1085HoWWxW','TUPVD','getCurrentUrl','thJwtToken','XATDN','wUxqH','KAIOV','performScan','LAsbv','CaNsl','GbunN','debug','Failed:\x20','shouldScanTestForAccessibility','\x22}}','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','OrgqV','mochaHooks','session_','BIGrg','../../helpers/performance-tester','../../helpers/helper','Passed','protocol','eZfvE','isAccessibilityPlatform','appium:app','passed','435308jwxPhE','isArray','vGJpY',',\x22level\x22:\x20\x22','__error_messages__','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','GpCAv','percy','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','length','util','__drivers','gFUuA','../../helpers/testhub/utils','push','671187LAQBmJ','format'];a32_0x3a66=function(){return _0x148767;};return a32_0x3a66();}
1
+ function a32_0x59e4(_0x5c0ad6,_0x24f3b0){const _0x123780=a32_0x1237();return a32_0x59e4=function(_0x59e440,_0x1b11ea){_0x59e440=_0x59e440-0x1c0;let _0x1c015a=_0x123780[_0x59e440];return _0x1c015a;},a32_0x59e4(_0x5c0ad6,_0x24f3b0);}const a32_0x20d873=a32_0x59e4;(function(_0x437fd4,_0x32a73b){const _0x5e4b71=a32_0x59e4,_0x18e708=_0x437fd4();while(!![]){try{const _0x59daa1=parseInt(_0x5e4b71(0x227))/0x1*(-parseInt(_0x5e4b71(0x20b))/0x2)+-parseInt(_0x5e4b71(0x222))/0x3+parseInt(_0x5e4b71(0x200))/0x4*(parseInt(_0x5e4b71(0x1f0))/0x5)+-parseInt(_0x5e4b71(0x1d7))/0x6+-parseInt(_0x5e4b71(0x22d))/0x7+-parseInt(_0x5e4b71(0x1d6))/0x8+parseInt(_0x5e4b71(0x1c0))/0x9*(parseInt(_0x5e4b71(0x1ed))/0xa);if(_0x59daa1===_0x32a73b)break;else _0x18e708['push'](_0x18e708['shift']());}catch(_0x55daa1){_0x18e708['push'](_0x18e708['shift']());}}}(a32_0x1237,0xbe5a5));function a32_0x1237(){const _0x19e50f=['browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','__error_messages__','fFgfT','2488367TubMIN','err','isAccessibilityPlatform','setGlobal','percyCaptureMode','hdBND','ObservabilitySync:','titlePath','nCejY','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','cLMyj','711zRjWEz','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','Automate\x20test\x20case\x20execution\x20has\x20started.','then','Failed:\x20','browserstackSessionName','failed','cXbcp','thBuildUuid','QMHTa','\x20|\x20','dpSmx','SXuQl','pCNmn','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','passed','ENV_VAR','currentTest','debug','IvOKy','../../helpers/testhub/utils','shift','2114424wOmSeO','5293974jIXstN','oqThY','saveTestResults','env','getGlobal','accessibilityScanStarted','Failed\x20to\x20store\x20session\x20name:\x20','../../helpers/accessibility-automation/scripts','Srhud','testAnalyticsId','xgiXo','percy','performScan','\x20-\x20','TKxlK','../../helpers/testhub/constants','UmWAH','pJFEa','\x22}}','quitCount_','testcase','bstackA11yShouldScan','335870eWcWsH','RkaSt','Awimu','5xitsGI','capabilities','lJTCR','app','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','kYytw','yrSJm','length','initQuit','isArray','join','SyeqY','timeout','message','yqFOb','https:','3884612TxowRl','executeAsyncScript','shouldScanTestForAccessibility','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','vTofu','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','util','protocol','error','tmKhG','ufFFy','22oWSVSY','BBbjd','thJwtToken','thTestRunUuid','fqSEG','eUaFI','stringify','aNdXT','session_','Performing\x20scan\x20before\x20saving\x20results','info','__sessionFailed','xBeKb','ixsxm','__skipSessionName','winstonLogger','BROWSERSTACK_TESTHUB_JWT','BROWSERSTACK_TESTHUB_UUID','format','qHNXx','../../helpers/globals','__drivers','fgPDg','2459397eWOOSc',',\x22level\x22:\x20\x22','.\x20Error\x20:','kJvti','driverCleanup','47539gVglAw','startMonitoring','vqEnm'];a32_0x1237=function(){return _0x19e50f;};return a32_0x1237();}const util=require(a32_0x20d873(0x206)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus}=require('../../helpers/helper'),PerformanceTester=require('../../helpers/performance-tester'),scripts=require(a32_0x20d873(0x1de)),globals=require(a32_0x20d873(0x21f)),logger=require('../../helpers/logger')[a32_0x20d873(0x21a)],{shouldProcessEventForTesthub}=require(a32_0x20d873(0x1d4)),testHubConstants=require(a32_0x20d873(0x1e6));exports['mochaHooks']={'beforeAll'(){const _0x1f1588=a32_0x20d873,_0x51a0e5={'QMHTa':function(_0x4f5eb7,_0xaa5e4f,_0x4a4e0d,_0x54a830){return _0x4f5eb7(_0xaa5e4f,_0x4a4e0d,_0x54a830);},'TGMCQ':_0x1f1588(0x1c6),'pCNmn':_0x1f1588(0x1ca),'hdBND':function(_0x29965f,_0x5002f5,_0x3e233a){return _0x29965f(_0x5002f5,_0x3e233a);},'tmKhG':_0x1f1588(0x1cf),'EdZei':function(_0x1a3d20){return _0x1a3d20();},'IXyaY':function(_0x582625,_0x24d2dd,_0x29d844){return _0x582625(_0x24d2dd,_0x29d844);}};PerformanceTester[_0x1f1588(0x228)]();const _0x542acf='browserstack internal helper hook';global[_0x1f1588(0x22b)]=[],global['__sessionFailed']=![],global[_0x1f1588(0x226)]=async()=>{const _0x286f93=_0x1f1588;let _0x54073d=![];try{await global[_0x286f93(0x220)][0x0][_0x286f93(0x213)],_0x54073d=!![],global['__sessionFailed']?await _0x51a0e5[_0x286f93(0x1c9)](markSessionStatus,global[_0x286f93(0x220)][0x0],_0x51a0e5['TGMCQ'],global[_0x286f93(0x22b)][_0x286f93(0x1fa)](_0x51a0e5[_0x286f93(0x1cd)])):await _0x51a0e5[_0x286f93(0x232)](markSessionStatus,global['__drivers'][0x0],_0x51a0e5[_0x286f93(0x209)]);}catch(_0x26b915){}global[_0x286f93(0x22b)]=[],global[_0x286f93(0x216)]=![];if(_0x54073d)try{try{_0x51a0e5['EdZei'](shouldProcessEventForTesthub)&&(global[_0x286f93(0x220)][0x0]&&await _0x51a0e5['IXyaY'](sendPlatformDetails,global[_0x286f93(0x220)][0x0],this[_0x286f93(0x1d1)]?this[_0x286f93(0x1d1)][_0x286f93(0x1e0)]:null));}catch{}await global[_0x286f93(0x220)][0x0][_0x286f93(0x1f8)]();}catch(_0x147ff2){}};},'beforeEach'(_0x415d55){const _0x5bb145=a32_0x20d873,_0x5938e5={'ReDCE':function(_0x4ffa8e,_0x454d65){return _0x4ffa8e>_0x454d65;},'xHqYj':function(_0xb5a96a,_0x1b4fe4){return _0xb5a96a>_0x1b4fe4;},'BBbjd':_0x5bb145(0x1e4),'fgPDg':function(_0x5062c1,_0x1db8a1,_0x4345e2){return _0x5062c1(_0x1db8a1,_0x4345e2);},'yqFOb':_0x5bb145(0x1ec),'lJTCR':function(_0x1821ad){return _0x1821ad();},'ixsxm':function(_0x499b24,_0x101ba7){return _0x499b24>_0x101ba7;},'kYytw':_0x5bb145(0x22f),'vqEnm':function(_0x5a2410,_0x5bbb58){return _0x5a2410===_0x5bbb58;},'VXSkM':'http:','PwFVQ':_0x5bb145(0x1ff),'yrSJm':_0x5bb145(0x236),'cXbcp':_0x5bb145(0x1c2),'kJvti':function(_0x4a3fb9){return _0x4a3fb9();}};new Promise(async _0x5111be=>{const _0x39fff7=_0x5bb145,_0x2a486d='browserstack internal helper hook';let _0x32bcba=!![];try{_0x5938e5['ReDCE'](global[_0x39fff7(0x220)][_0x39fff7(0x1f7)],0x1)&&(await global['driverCleanup'](),global[_0x39fff7(0x220)][_0x39fff7(0x1d5)]()),_0x5938e5['xHqYj'](global[_0x39fff7(0x220)][0x0][_0x39fff7(0x1ea)],0x0)&&(_0x32bcba=![],await global['driverCleanup']());}catch{}try{Array['isArray'](global[_0x39fff7(0x220)])&&global[_0x39fff7(0x220)][0x0]&&(global['__drivers'][0x0][_0x39fff7(0x1c5)]=this[_0x39fff7(0x1d1)][_0x39fff7(0x234)]()[_0x39fff7(0x1fa)](_0x5938e5[_0x39fff7(0x20c)])),global[_0x39fff7(0x1c5)]=this['currentTest']['titlePath']()[_0x39fff7(0x1fa)](_0x5938e5[_0x39fff7(0x20c)]);}catch(_0x4d7857){logger[_0x39fff7(0x1d2)](_0x39fff7(0x1dd)+_0x4d7857);}this['currentTest'][_0x39fff7(0x202)]=_0x5938e5[_0x39fff7(0x221)](shouldScanTestForAccessibility,this[_0x39fff7(0x1d1)][_0x39fff7(0x234)](),!![]),globals[_0x39fff7(0x230)](_0x5938e5[_0x39fff7(0x1fe)],this[_0x39fff7(0x1d1)][_0x39fff7(0x202)]),this[_0x39fff7(0x1d1)]['accessibilityScanStarted']=!![];if(_0x5938e5[_0x39fff7(0x1f2)](isAccessibilityAutomationSession)&&_0x32bcba&&Array[_0x39fff7(0x1f9)](global[_0x39fff7(0x220)])&&_0x5938e5[_0x39fff7(0x218)](global[_0x39fff7(0x220)]['length'],0x0)&&globals[_0x39fff7(0x1db)](_0x5938e5[_0x39fff7(0x1f5)]))try{const _0x417bab=await global['__drivers'][0x0][_0x39fff7(0x213)];if(_0x417bab){let _0x131c2c=!![];const _0x430405=await global['__drivers'][0x0]['getCurrentUrl']();let _0x2cdbb5;try{_0x2cdbb5=new URL(_0x430405);}catch(_0x4b79e0){_0x131c2c=![];}_0x131c2c=_0x5938e5[_0x39fff7(0x229)](_0x2cdbb5[_0x39fff7(0x207)],_0x5938e5['VXSkM'])||_0x5938e5[_0x39fff7(0x229)](_0x2cdbb5[_0x39fff7(0x207)],_0x5938e5['PwFVQ']),_0x131c2c&&(this['currentTest']['shouldScanTestForAccessibility']&&logger['info'](_0x5938e5[_0x39fff7(0x1f6)])),this['currentTest'][_0x39fff7(0x1dc)]=this['currentTest'][_0x39fff7(0x202)],this[_0x39fff7(0x1d1)][_0x39fff7(0x202)]&&logger[_0x39fff7(0x215)](_0x5938e5[_0x39fff7(0x1c7)]);}}catch(_0x875ee8){logger[_0x39fff7(0x208)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x39fff7(0x21d)](_0x875ee8));}_0x5938e5[_0x39fff7(0x225)](_0x5111be);})[_0x5bb145(0x1c3)](_0x415d55);},'afterEach'(_0x141b7a){const _0x2ec762=a32_0x20d873,_0xf9fa3f={'cLMyj':function(_0x48f90c,_0x5080eb){return _0x48f90c>_0x5080eb;},'aNdXT':function(_0x4991d7,_0x309192){return _0x4991d7===_0x309192;},'pJFEa':_0x2ec762(0x1eb),'xgiXo':'appium:app','IvOKy':function(_0x1982c0,_0x121fb2,_0x436f8c,_0x44fde9){return _0x1982c0(_0x121fb2,_0x436f8c,_0x44fde9);},'Srhud':_0x2ec762(0x1e4),'eUaFI':function(_0x505ef5,_0x2fc2d0){return _0x505ef5!==_0x2fc2d0;},'DqafA':_0x2ec762(0x1cf),'RkaSt':function(_0x2393d8,_0x261371,_0x1f01f9){return _0x2393d8(_0x261371,_0x1f01f9);},'fFgfT':function(_0xb423fa,_0x386a1d){return _0xb423fa+_0x386a1d;},'Awimu':_0x2ec762(0x1c4),'vTofu':'error','dpSmx':function(_0x247b5b,_0xd867bc,_0x5ea7cd){return _0x247b5b(_0xd867bc,_0x5ea7cd);},'SyeqY':'Passed','ufFFy':'info','xBeKb':_0x2ec762(0x22f),'oqThY':'bstackA11yShouldScan','TKxlK':_0x2ec762(0x1ce),'nCejY':_0x2ec762(0x214),'rNUay':_0x2ec762(0x205),'qHNXx':function(_0x473a59){return _0x473a59();},'jHwRz':function(_0x2be0fc){return _0x2be0fc();},'fqSEG':function(_0x3de5e9,_0x40a3d7,_0x476705){return _0x3de5e9(_0x40a3d7,_0x476705);},'UmWAH':_0x2ec762(0x1d2)},_0x5b6a5c='browserstack internal helper hook';this[_0x2ec762(0x1fc)](0xfde8);const _0xd25f5=async(_0x5b9ab8,_0x22deae)=>{const _0x296f45=_0x2ec762;await global[_0x296f45(0x220)][0x0]['executeScript'](_0x296f45(0x22a)+_0x5b9ab8+_0x296f45(0x223)+_0x22deae+_0x296f45(0x1e9));};new Promise(async _0x547cfd=>{const _0x530520=_0x2ec762;try{_0xf9fa3f['cLMyj'](global[_0x530520(0x220)][_0x530520(0x1f7)],0x1)&&(await global['driverCleanup'](),global[_0x530520(0x220)]['shift'](),global[_0x530520(0x22b)]=[],global[_0x530520(0x216)]=![]);try{if(global[_0x530520(0x1e2)]&&_0xf9fa3f[_0x530520(0x212)](global[_0x530520(0x231)],_0xf9fa3f[_0x530520(0x1e8)])&&global[_0x530520(0x220)][0x0]){const _0x24a7ea=_0xf9fa3f[_0x530520(0x237)](global[_0x530520(0x1f1)][_0x530520(0x1f7)],0x0)?!!global[_0x530520(0x1f1)][0x0]['app']||!!global[_0x530520(0x1f1)][0x0][_0xf9fa3f[_0x530520(0x1e1)]]:![],_0x23367a={};_0x23367a[_0x530520(0x1f3)]=_0x24a7ea,await _0xf9fa3f[_0x530520(0x1d3)](percyAutoCapture,global['__drivers'][0x0],_0xf9fa3f[_0x530520(0x1e8)],_0x23367a);}}catch(_0x582bd1){}!global[_0x530520(0x219)]&&(await global[_0x530520(0x220)][0x0]['executeScript'](_0x530520(0x203)+JSON[_0x530520(0x211)](this['currentTest']['titlePath']()[_0x530520(0x1fa)](_0xf9fa3f[_0x530520(0x1df)]))+'}}'),global[_0x530520(0x220)][0x0]['sessionNameSet__']=!![]);const _0x567734=_0xf9fa3f[_0x530520(0x210)](this[_0x530520(0x1d1)]['state'],_0xf9fa3f['DqafA']);_0x567734?(global['__sessionFailed']=!![],global[_0x530520(0x22b)]['push'](this[_0x530520(0x1d1)][_0x530520(0x22e)]['message']),await _0xf9fa3f['RkaSt'](_0xd25f5,JSON[_0x530520(0x211)](_0xf9fa3f[_0x530520(0x22c)](_0xf9fa3f[_0x530520(0x1ef)],this[_0x530520(0x1d1)][_0x530520(0x22e)][_0x530520(0x1fd)])),_0xf9fa3f[_0x530520(0x204)])):await _0xf9fa3f[_0x530520(0x1cb)](_0xd25f5,JSON['stringify'](_0xf9fa3f[_0x530520(0x1fb)]),_0xf9fa3f[_0x530520(0x20a)]);}catch(_0x4d5f86){}try{if(this[_0x530520(0x1d1)][_0x530520(0x1dc)]&&globals[_0x530520(0x1db)](_0xf9fa3f[_0x530520(0x217)])&&globals[_0x530520(0x1db)](_0xf9fa3f[_0x530520(0x1d8)])){logger[_0x530520(0x215)](_0xf9fa3f[_0x530520(0x1e5)]);const _0x42c30b={};_0x42c30b[_0x530520(0x20e)]=this['currentTest']['testAnalyticsId'],_0x42c30b[_0x530520(0x1c8)]=process[_0x530520(0x1da)][testHubConstants[_0x530520(0x1d0)][_0x530520(0x21c)]],_0x42c30b[_0x530520(0x20d)]=process[_0x530520(0x1da)][testHubConstants[_0x530520(0x1d0)][_0x530520(0x21b)]];const _0xb87ef1=_0x42c30b;logger['debug'](_0x530520(0x1f4)+JSON[_0x530520(0x211)](_0xb87ef1)),logger['debug'](_0xf9fa3f[_0x530520(0x235)]),logger[_0x530520(0x1d2)](util[_0x530520(0x21d)](await global['__drivers'][0x0][_0x530520(0x201)](scripts[_0x530520(0x1e3)],{'method':global[_0x530520(0x1c5)]}))),await global[_0x530520(0x220)][0x0][_0x530520(0x201)](scripts[_0x530520(0x1d9)],_0xb87ef1),logger[_0x530520(0x215)](_0xf9fa3f['rNUay']);}}catch(_0x4d097e){logger[_0x530520(0x208)](_0x530520(0x1c1)+this[_0x530520(0x1d1)][_0x530520(0x234)]()+_0x530520(0x224),_0x4d097e);}try{try{if(_0xf9fa3f[_0x530520(0x21e)](shouldProcessEventForTesthub)){global[_0x530520(0x220)][0x0]&&await _0xf9fa3f[_0x530520(0x1ee)](sendPlatformDetails,global['__drivers'][0x0],this[_0x530520(0x1d1)]?this[_0x530520(0x1d1)][_0x530520(0x1e0)]:null);if(_0xf9fa3f['jHwRz'](isBrowserstackInfra)){const _0x4f1a6e=_0x530520(0x233)+Date['now']();await _0xf9fa3f[_0x530520(0x20f)](_0xd25f5,JSON[_0x530520(0x211)](_0x4f1a6e),_0xf9fa3f[_0x530520(0x1e7)]);}}}catch{}_0xf9fa3f['cLMyj'](global['__drivers'][0x0]['quitCount_'],0x0)&&await global[_0x530520(0x226)]();}catch(_0x13e114){}_0xf9fa3f['jHwRz'](_0x547cfd);})[_0x2ec762(0x1c3)](()=>_0x141b7a());},'afterAll'(_0x52df2d){const _0x5406cd=a32_0x20d873,_0x3bc10d={'SXuQl':function(_0x6d4a27){return _0x6d4a27();}},_0x2c39a2='browserstack internal helper hook';this['timeout'](0xfde8),new Promise(async _0x80451b=>{const _0x4a0581=a32_0x59e4;PerformanceTester['stopMonitoring'](),await global[_0x4a0581(0x226)](),_0x3bc10d[_0x4a0581(0x1cc)](_0x80451b);})[_0x5406cd(0x1c3)](()=>_0x52df2d());}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a33_0x1762(){const _0x38f024=['modifyBrowserStackCaps','16834332MnGMNy','HjMVm','wuMHX','port','trim','xyPaT','MyzTK','child_process','--env','platforms','inherit','split','slice','test_settings','JbHCT','Jxddh','549178tyiHzQ','push','grMKx','2276547XDDAMO','bIBCk','modifyBrowserStackW3CCaps','unlinkSync','22532LPJdOi','nightwatch.conf.js','bEYFN','795EgsgPA','findIndex','1810xFCvLS','info','nightwatch.json','filter','writeFileSync','nightwatch.cmd','mergeDeep','platform','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','nightwatch','desiredCapabilities','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','wkJrw','stringify','host','nightwatch-browserstack.json','close','2047362Bkoypq','useW3C','VgKmj','map','wOMPE','MfKXW','splice','2439848PKbVle','11axGbRH','existsSync','tsECv','../../helpers/logger','20RHVEXp','2SFKtzZ','IEIxl','child\x20process\x20exited\x20with\x20code\x20','isUndefined','3492pUaYZe','config','Deleting\x20','exports','--config','../utils/constants','uSWso','forEach','BNetX','join','selenium','now','cwd','ZpIRt','tHuIa','env'];a33_0x1762=function(){return _0x38f024;};return a33_0x1762();}function a33_0x209a(_0x4d616a,_0x41a2e4){const _0x17623e=a33_0x1762();return a33_0x209a=function(_0x209a3a,_0xbc891d){_0x209a3a=_0x209a3a-0xd5;let _0x12051a=_0x17623e[_0x209a3a];return _0x12051a;},a33_0x209a(_0x4d616a,_0x41a2e4);}const a33_0x246b89=a33_0x209a;(function(_0x12725a,_0x392a65){const _0x4e8285=a33_0x209a,_0x177085=_0x12725a();while(!![]){try{const _0x201d25=-parseInt(_0x4e8285(0xe9))/0x1*(parseInt(_0x4e8285(0x10e))/0x2)+parseInt(_0x4e8285(0x118))/0x3*(-parseInt(_0x4e8285(0x115))/0x4)+-parseInt(_0x4e8285(0xe8))/0x5*(-parseInt(_0x4e8285(0xdc))/0x6)+parseInt(_0x4e8285(0x111))/0x7+-parseInt(_0x4e8285(0xe3))/0x8+-parseInt(_0x4e8285(0xed))/0x9*(-parseInt(_0x4e8285(0x11a))/0xa)+-parseInt(_0x4e8285(0xe4))/0xb*(-parseInt(_0x4e8285(0xfe))/0xc);if(_0x201d25===_0x392a65)break;else _0x177085['push'](_0x177085['shift']());}catch(_0x186cfb){_0x177085['push'](_0x177085['shift']());}}}(a33_0x1762,0xc74ba));const fs=require('fs'),path=require('path'),{spawn}=require(a33_0x246b89(0x105)),logger=require(a33_0x246b89(0xe7))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),constants=require(a33_0x246b89(0xf2)),getUserNightwatchConfigs=(_0x314a8b,_0x4f4e3a)=>{const _0x401d03=a33_0x246b89,_0x28f430={'ZpIRt':_0x401d03(0x116),'HjMVm':_0x401d03(0x11c),'tsECv':function(_0x5adb70,_0x2c9e04){return _0x5adb70(_0x2c9e04);},'Jxddh':_0x401d03(0x122)};let _0x2eb3ef=null,_0x366d21={};const _0x4a7adb=_0x4f4e3a[_0x401d03(0x119)](_0x1a5edf=>_0x1a5edf==='--config');if(!helper[_0x401d03(0xec)](_0x314a8b['config'])&&fs['existsSync'](path[_0x401d03(0xf6)](process[_0x401d03(0xf9)](),_0x314a8b[_0x401d03(0xee)])))_0x2eb3ef=path[_0x401d03(0xf6)](process[_0x401d03(0xf9)](),_0x314a8b['config']),_0x4f4e3a[_0x401d03(0xe2)](_0x4a7adb,0x2);else{if(fs[_0x401d03(0xe5)](path['join'](process['cwd'](),_0x28f430[_0x401d03(0xfa)])))_0x2eb3ef=path['join'](process[_0x401d03(0xf9)](),_0x28f430['ZpIRt']);else fs['existsSync'](path[_0x401d03(0xf6)](process[_0x401d03(0xf9)](),_0x28f430[_0x401d03(0xff)]))&&(_0x2eb3ef=path[_0x401d03(0xf6)](process[_0x401d03(0xf9)](),_0x28f430[_0x401d03(0xff)]));}return _0x2eb3ef?(logger[_0x401d03(0x11b)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x2eb3ef),_0x366d21=_0x28f430[_0x401d03(0xe6)](require,_0x2eb3ef)):logger[_0x401d03(0x11b)](_0x28f430[_0x401d03(0x10d)]),_0x366d21;},removeExistingEnvs=_0x2c11c9=>{const _0x4005eb=a33_0x246b89,_0x153b2e={};_0x153b2e[_0x4005eb(0x103)]=function(_0x1d5f7b,_0x3fe06a){return _0x1d5f7b>_0x3fe06a;};const _0x2acba6=_0x153b2e;let _0x59c0cf=_0x2c11c9[_0x4005eb(0x119)](_0x234375=>_0x234375===_0x4005eb(0x106));_0x2acba6[_0x4005eb(0x103)](_0x59c0cf,-0x1)&&_0x2c11c9[_0x4005eb(0xe2)](_0x59c0cf,0x2),_0x59c0cf=_0x2c11c9['findIndex'](_0x4c89af=>_0x4c89af==='-e'),_0x2acba6[_0x4005eb(0x103)](_0x59c0cf,-0x1)&&_0x2c11c9[_0x4005eb(0xe2)](_0x59c0cf,0x2);};function run(_0x2d854e,_0xc24fd6){const _0x4bbfd0=a33_0x246b89,_0x563b94={'MfKXW':_0x4bbfd0(0x123),'VgKmj':function(_0x5d4456,_0x31d18d){return _0x5d4456+_0x31d18d;},'BNetX':_0x4bbfd0(0x10b),'JbHCT':function(_0x11a1a3,_0x272acd,_0x47c443){return _0x11a1a3(_0x272acd,_0x47c443);},'bIBCk':'hub.browserstack.com','bEYFN':_0x4bbfd0(0xd6),'IEIxl':function(_0x16d00a,_0x5b756a){return _0x16d00a===_0x5b756a;},'uSWso':_0x4bbfd0(0xda),'grMKx':function(_0x119c91,_0x1faf2a){return _0x119c91(_0x1faf2a);},'tHuIa':function(_0x446bc9,_0x3dced4,_0x51908f,_0x4362b3){return _0x446bc9(_0x3dced4,_0x51908f,_0x4362b3);},'wkJrw':_0x4bbfd0(0x11f),'wOMPE':_0x4bbfd0(0xf1),'wuMHX':_0x4bbfd0(0x106),'hxSfj':_0x4bbfd0(0x108),'MyzTK':_0x4bbfd0(0xdb)},_0x3dbbc4=new BrowserStackSetup(_0x2d854e);if(!_0x3dbbc4[_0x4bbfd0(0xee)])return;const _0x2818bf=_0x563b94[_0x4bbfd0(0x10c)](getUserNightwatchConfigs,_0x2d854e,_0xc24fd6),_0xab76f3={};_0xab76f3['start_process']=![];const _0x3dbaa1={};_0x3dbaa1[_0x4bbfd0(0xd9)]=_0x563b94[_0x4bbfd0(0x112)],_0x3dbaa1[_0x4bbfd0(0x101)]=0x1bb;const _0x44cb8e={};_0x44cb8e['webdriver']=_0xab76f3,_0x44cb8e[_0x4bbfd0(0xf7)]=_0x3dbaa1;const _0x5cfeb4=_0x44cb8e;logger[_0x4bbfd0(0x11b)](_0x563b94[_0x4bbfd0(0x117)]);const _0x31c1ba={..._0x2818bf},_0x719e4a=_0x31c1ba,_0x3737ea=helper[_0x4bbfd0(0xdd)](_0x3dbbc4['config']),_0x2bded9=[];_0x3dbbc4[_0x4bbfd0(0xee)][_0x4bbfd0(0x107)][_0x4bbfd0(0xf4)]((_0x543a24,_0xc3298f)=>{const _0x363605=_0x4bbfd0;_0x3737ea?_0x2bded9[_0x363605(0x10f)](helper[_0x363605(0x113)](_0x3dbbc4[_0x363605(0xee)],_0x563b94[_0x363605(0xe1)],_0xc3298f)):_0x2bded9[_0x363605(0x10f)](helper[_0x363605(0xfd)](_0x3dbbc4[_0x363605(0xee)],_0x563b94['MfKXW'],_0xc3298f));});const _0x39b3f8={},_0x27c33b=[];_0x2d854e[_0x4bbfd0(0xfc)]=_0x2d854e[_0x4bbfd0(0xfc)]||_0x2d854e['e'];const _0x4edb5e=_0x2d854e[_0x4bbfd0(0xfc)]?_0x2d854e[_0x4bbfd0(0xfc)][_0x4bbfd0(0x102)]()[_0x4bbfd0(0x109)](',')[_0x4bbfd0(0xdf)](_0x3083e3=>_0x3083e3[_0x4bbfd0(0x102)]())[_0x4bbfd0(0x11d)](_0x13bc96=>_0x13bc96!==''):[''];_0x563b94[_0x4bbfd0(0xea)](_0x4edb5e['length'],0x0)&&_0x4edb5e['push']('');_0x4edb5e[_0x4bbfd0(0xf4)](_0x501e19=>{const _0x2ef74c=_0x4bbfd0;_0x2bded9[_0x2ef74c(0xf4)](_0x5b0a4f=>{const _0x531e7e=_0x2ef74c;let _0x42834d=_0x563b94[_0x531e7e(0xde)](helper['getPlatformName'](_0x5b0a4f,'_'),'_'+Date[_0x531e7e(0xf8)]());_0x501e19&&(_0x42834d+='_'+_0x501e19);if(_0x501e19&&(!_0x2818bf[_0x563b94[_0x531e7e(0xf5)]]||!_0x2818bf[_0x563b94[_0x531e7e(0xf5)]][_0x501e19]))return;const _0x34888c={..._0x5cfeb4};_0x34888c[_0x531e7e(0xd5)]=_0x5b0a4f;const _0x425e19=_0x34888c;_0x39b3f8[_0x42834d]=_0x501e19?helper[_0x531e7e(0x120)](_0x2818bf[_0x563b94['BNetX']][_0x501e19],_0x425e19):_0x425e19,_0x27c33b[_0x531e7e(0x10f)](_0x42834d);});});!_0x719e4a['test_settings']&&(_0x719e4a[_0x4bbfd0(0x10b)]={});_0x719e4a['test_settings']={..._0x719e4a[_0x4bbfd0(0x10b)],..._0x39b3f8};const _0xa66449=path[_0x4bbfd0(0xf6)](__dirname,_0x563b94[_0x4bbfd0(0xf3)]);fs[_0x4bbfd0(0x11e)](_0xa66449,JSON[_0x4bbfd0(0xd8)](_0x719e4a)),_0x563b94[_0x4bbfd0(0x110)](removeExistingEnvs,_0xc24fd6);const _0x35e760=_0x563b94[_0x4bbfd0(0xfb)](spawn,/^win/['test'](process[_0x4bbfd0(0x121)])?_0x563b94[_0x4bbfd0(0xd7)]:_0x563b94[_0x4bbfd0(0xe1)],[_0x563b94[_0x4bbfd0(0xe0)],_0xa66449,..._0xc24fd6[_0x4bbfd0(0x10a)](0x1),_0x563b94[_0x4bbfd0(0x100)],_0x27c33b[_0x4bbfd0(0xf6)](',')],{'stdio':_0x563b94['hxSfj']});_0x35e760['on'](_0x563b94[_0x4bbfd0(0x104)],async _0x4f0643=>{const _0x1be2e7=_0x4bbfd0;logger['debug'](_0x1be2e7(0xeb)+_0x4f0643),logger[_0x1be2e7(0x11b)](_0x1be2e7(0xef)+_0xa66449),fs[_0x1be2e7(0x114)](_0xa66449);});}module[a33_0x246b89(0xf0)]=run;
2
+ 'use strict';const a33_0x3a5794=a33_0x1d1c;(function(_0x28b214,_0x4563e8){const _0x4e8824=a33_0x1d1c,_0x37edbf=_0x28b214();while(!![]){try{const _0x105bde=-parseInt(_0x4e8824(0x159))/0x1*(-parseInt(_0x4e8824(0x160))/0x2)+-parseInt(_0x4e8824(0x128))/0x3+-parseInt(_0x4e8824(0x144))/0x4*(parseInt(_0x4e8824(0x155))/0x5)+parseInt(_0x4e8824(0x15a))/0x6*(-parseInt(_0x4e8824(0x12a))/0x7)+-parseInt(_0x4e8824(0x143))/0x8*(parseInt(_0x4e8824(0x145))/0x9)+-parseInt(_0x4e8824(0x149))/0xa+parseInt(_0x4e8824(0x134))/0xb;if(_0x105bde===_0x4563e8)break;else _0x37edbf['push'](_0x37edbf['shift']());}catch(_0x4ca9af){_0x37edbf['push'](_0x37edbf['shift']());}}}(a33_0x2971,0xca76e));function a33_0x1d1c(_0x532ba5,_0x5a2912){const _0x297126=a33_0x2971();return a33_0x1d1c=function(_0x1d1c99,_0x39cfe5){_0x1d1c99=_0x1d1c99-0x119;let _0x19907d=_0x297126[_0x1d1c99];return _0x19907d;},a33_0x1d1c(_0x532ba5,_0x5a2912);}const fs=require('fs'),path=require(a33_0x3a5794(0x140)),{spawn}=require(a33_0x3a5794(0x133)),logger=require(a33_0x3a5794(0x15e))[a33_0x3a5794(0x11e)],{default:BrowserStackSetup}=require(a33_0x3a5794(0x14e)),helper=require(a33_0x3a5794(0x13a)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x3d7ecd,_0x3a1ca8)=>{const _0x5be618=a33_0x3a5794,_0x5d1a95={'YygFJ':'nightwatch.conf.js','USHQw':_0x5be618(0x12b),'BYgfD':function(_0x231cd0,_0x5b53f3){return _0x231cd0(_0x5b53f3);},'piYmq':_0x5be618(0x127)};let _0x318877=null,_0x2a4648={};const _0x429b39=_0x3a1ca8[_0x5be618(0x13c)](_0x93a54c=>_0x93a54c===_0x5be618(0x14a));if(!helper['isUndefined'](_0x3d7ecd[_0x5be618(0x164)])&&fs['existsSync'](path['join'](process[_0x5be618(0x11a)](),_0x3d7ecd[_0x5be618(0x164)])))_0x318877=path['join'](process[_0x5be618(0x11a)](),_0x3d7ecd[_0x5be618(0x164)]),_0x3a1ca8[_0x5be618(0x151)](_0x429b39,0x2);else{if(fs['existsSync'](path[_0x5be618(0x142)](process[_0x5be618(0x11a)](),_0x5d1a95['YygFJ'])))_0x318877=path['join'](process[_0x5be618(0x11a)](),_0x5d1a95[_0x5be618(0x121)]);else fs[_0x5be618(0x157)](path['join'](process[_0x5be618(0x11a)](),_0x5d1a95[_0x5be618(0x11b)]))&&(_0x318877=path[_0x5be618(0x142)](process[_0x5be618(0x11a)](),_0x5d1a95[_0x5be618(0x11b)]));}return _0x318877?(logger['info'](_0x5be618(0x147)+_0x318877),_0x2a4648=_0x5d1a95['BYgfD'](require,_0x318877)):logger['info'](_0x5d1a95['piYmq']),_0x2a4648;},removeExistingEnvs=_0x10d361=>{const _0x5a2800=a33_0x3a5794,_0x2668f3={};_0x2668f3[_0x5a2800(0x161)]=function(_0x372d3e,_0x2e3837){return _0x372d3e>_0x2e3837;};const _0x1e6361=_0x2668f3;let _0x12789a=_0x10d361[_0x5a2800(0x13c)](_0x791313=>_0x791313===_0x5a2800(0x14c));_0x1e6361[_0x5a2800(0x161)](_0x12789a,-0x1)&&_0x10d361[_0x5a2800(0x151)](_0x12789a,0x2),_0x12789a=_0x10d361[_0x5a2800(0x13c)](_0x44c87f=>_0x44c87f==='-e'),_0x1e6361['BEuXB'](_0x12789a,-0x1)&&_0x10d361[_0x5a2800(0x151)](_0x12789a,0x2);};function run(_0x511d3a,_0x596f7d){const _0x25f662=a33_0x3a5794,_0x44c0c0={'IHtlZ':'nightwatch','OHcTm':function(_0x3a0b68,_0x37ce93){return _0x3a0b68+_0x37ce93;},'ajXET':'test_settings','HFXiE':function(_0x5e7286,_0x3271e5,_0x32bbab){return _0x5e7286(_0x3271e5,_0x32bbab);},'FAfVG':'hub.browserstack.com','ywWZF':_0x25f662(0x156),'VSPLS':function(_0x211151,_0x18772f){return _0x211151===_0x18772f;},'OGLaf':_0x25f662(0x150),'vnkHm':function(_0x2fdb68,_0xb7c9){return _0x2fdb68(_0xb7c9);},'hJJPq':function(_0x2aa87b,_0x222443,_0x494662,_0x4c8e43){return _0x2aa87b(_0x222443,_0x494662,_0x4c8e43);},'QGwqE':'nightwatch.cmd','KINHY':_0x25f662(0x14a),'YXKfK':'--env','mxdOw':_0x25f662(0x131),'mcQLP':'close'},_0x587753=new BrowserStackSetup(_0x511d3a);if(!_0x587753[_0x25f662(0x164)])return;const _0x4df43d=_0x44c0c0[_0x25f662(0x125)](getUserNightwatchConfigs,_0x511d3a,_0x596f7d),_0x3af2e8={};_0x3af2e8[_0x25f662(0x13b)]=![];const _0x4a13c0={};_0x4a13c0[_0x25f662(0x14d)]=_0x44c0c0[_0x25f662(0x138)],_0x4a13c0[_0x25f662(0x165)]=0x1bb;const _0x4c4042={};_0x4c4042[_0x25f662(0x158)]=_0x3af2e8,_0x4c4042[_0x25f662(0x152)]=_0x4a13c0;const _0x49d7b8=_0x4c4042;logger[_0x25f662(0x15d)](_0x44c0c0['ywWZF']);const _0x3a9942={..._0x4df43d},_0x117220=_0x3a9942,_0x10b491=helper[_0x25f662(0x12f)](_0x587753['config']),_0x38e1e0=[];_0x587753['config'][_0x25f662(0x15f)][_0x25f662(0x14b)]((_0x1cf92f,_0xb549f2)=>{const _0x5d4687=_0x25f662;_0x10b491?_0x38e1e0['push'](helper[_0x5d4687(0x153)](_0x587753[_0x5d4687(0x164)],_0x44c0c0[_0x5d4687(0x13d)],_0xb549f2)):_0x38e1e0[_0x5d4687(0x12e)](helper[_0x5d4687(0x162)](_0x587753[_0x5d4687(0x164)],_0x44c0c0[_0x5d4687(0x13d)],_0xb549f2));});const _0x2bcea4={},_0xe22a99=[];_0x511d3a[_0x25f662(0x136)]=_0x511d3a[_0x25f662(0x136)]||_0x511d3a['e'];const _0x59aa83=_0x511d3a[_0x25f662(0x136)]?_0x511d3a['env'][_0x25f662(0x139)]()[_0x25f662(0x120)](',')[_0x25f662(0x126)](_0x23db08=>_0x23db08[_0x25f662(0x139)]())[_0x25f662(0x146)](_0x30e8c5=>_0x30e8c5!==''):[''];_0x44c0c0[_0x25f662(0x12c)](_0x59aa83['length'],0x0)&&_0x59aa83[_0x25f662(0x12e)]('');_0x59aa83[_0x25f662(0x14b)](_0x43b545=>{const _0x1c1658={'trGKr':function(_0xc5b85d,_0x43528c){const _0x5e56b7=a33_0x1d1c;return _0x44c0c0[_0x5e56b7(0x124)](_0xc5b85d,_0x43528c);},'UlLQk':_0x44c0c0['ajXET']};_0x38e1e0['forEach'](_0x29a8c8=>{const _0x30f0a5=a33_0x1d1c;let _0x8582c7=_0x1c1658[_0x30f0a5(0x130)](helper[_0x30f0a5(0x13e)](_0x29a8c8,'_'),'_'+Date[_0x30f0a5(0x12d)]());_0x43b545&&(_0x8582c7+='_'+_0x43b545);if(_0x43b545&&(!_0x4df43d[_0x1c1658['UlLQk']]||!_0x4df43d[_0x1c1658['UlLQk']][_0x43b545]))return;const _0x8892c2={..._0x49d7b8};_0x8892c2[_0x30f0a5(0x11f)]=_0x29a8c8;const _0xf39bc4=_0x8892c2;_0x2bcea4[_0x8582c7]=_0x43b545?helper[_0x30f0a5(0x137)](_0x4df43d[_0x1c1658[_0x30f0a5(0x15b)]][_0x43b545],_0xf39bc4):_0xf39bc4,_0xe22a99[_0x30f0a5(0x12e)](_0x8582c7);});});!_0x117220[_0x25f662(0x11d)]&&(_0x117220[_0x25f662(0x11d)]={});_0x117220[_0x25f662(0x11d)]={..._0x117220[_0x25f662(0x11d)],..._0x2bcea4};const _0x1aac0b=path[_0x25f662(0x142)](__dirname,_0x44c0c0[_0x25f662(0x15c)]);fs[_0x25f662(0x132)](_0x1aac0b,JSON[_0x25f662(0x141)](_0x117220)),_0x44c0c0['vnkHm'](removeExistingEnvs,_0x596f7d);const _0x2d1f3c=_0x44c0c0[_0x25f662(0x13f)](spawn,/^win/[_0x25f662(0x119)](process[_0x25f662(0x154)])?_0x44c0c0[_0x25f662(0x163)]:_0x44c0c0[_0x25f662(0x13d)],[_0x44c0c0['KINHY'],_0x1aac0b,..._0x596f7d[_0x25f662(0x122)](0x1),_0x44c0c0[_0x25f662(0x11c)],_0xe22a99['join'](',')],{'stdio':_0x44c0c0[_0x25f662(0x135)]});_0x2d1f3c['on'](_0x44c0c0[_0x25f662(0x123)],async _0x4a91d7=>{const _0x435493=_0x25f662;logger[_0x435493(0x148)](_0x435493(0x129)+_0x4a91d7),logger[_0x435493(0x15d)]('Deleting\x20'+_0x1aac0b),fs['unlinkSync'](_0x1aac0b);});}function a33_0x2971(){const _0xa361bc=['findIndex','IHtlZ','getPlatformName','hJJPq','path','stringify','join','11645464MNrtwt','122788Nquuza','9hWrVFZ','filter','Getting\x20your\x20nightwatch\x20configs\x20from\x20','debug','10472100ShPwTO','--config','forEach','--env','host','../../helpers/BrowserStackSetup','exports','nightwatch-browserstack.json','splice','selenium','modifyBrowserStackW3CCaps','platform','145oQofsw','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','existsSync','webdriver','20039CtVXKP','2009418CvITtv','UlLQk','OGLaf','info','../../helpers/logger','platforms','60yanGtk','BEuXB','modifyBrowserStackCaps','QGwqE','config','port','test','cwd','USHQw','YXKfK','test_settings','winstonLogger','desiredCapabilities','split','YygFJ','slice','mcQLP','OHcTm','HFXiE','map','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','1909392FDXRfx','child\x20process\x20exited\x20with\x20code\x20','7msZNpN','nightwatch.json','VSPLS','now','push','useW3C','trGKr','inherit','writeFileSync','child_process','50518567OXRGPm','mxdOw','env','mergeDeep','FAfVG','trim','../../helpers/helper','start_process'];a33_0x2971=function(){return _0xa361bc;};return a33_0x2971();}module[a33_0x3a5794(0x14f)]=run;
@@ -1 +1 @@
1
- const a34_0x7e201f=a34_0x1ba1;function a34_0x1ba1(_0x3f5e4d,_0x3e418a){const _0x2968b4=a34_0x2968();return a34_0x1ba1=function(_0x1ba1d2,_0xd754ed){_0x1ba1d2=_0x1ba1d2-0xc0;let _0x4a844a=_0x2968b4[_0x1ba1d2];return _0x4a844a;},a34_0x1ba1(_0x3f5e4d,_0x3e418a);}(function(_0x5b0f90,_0xd7fe56){const _0x56baf0=a34_0x1ba1,_0x1e5fbf=_0x5b0f90();while(!![]){try{const _0x34049a=-parseInt(_0x56baf0(0xf9))/0x1+parseInt(_0x56baf0(0x12d))/0x2*(parseInt(_0x56baf0(0x126))/0x3)+-parseInt(_0x56baf0(0x10e))/0x4+parseInt(_0x56baf0(0x12b))/0x5*(parseInt(_0x56baf0(0xc5))/0x6)+-parseInt(_0x56baf0(0x119))/0x7+-parseInt(_0x56baf0(0xe9))/0x8*(parseInt(_0x56baf0(0xcb))/0x9)+parseInt(_0x56baf0(0xea))/0xa;if(_0x34049a===_0xd7fe56)break;else _0x1e5fbf['push'](_0x1e5fbf['shift']());}catch(_0x291522){_0x1e5fbf['push'](_0x1e5fbf['shift']());}}}(a34_0x2968,0xd832d));const util=require('util'),logger=require(a34_0x7e201f(0xf3))['winstonLogger'],{isAccessibilityAutomationSession}=require(a34_0x7e201f(0x12a)),{isUndefined}=require(a34_0x7e201f(0xc3)),scripts=require(a34_0x7e201f(0x10d));function a34_0x2968(){const _0x6c5eda=['getAccessibilityResults','processAccessibilityCaps','cRmJP','gaGcp','platformValidation','latest','executeAsyncScript','accessibilityOptions','CpKQO','dwyaf','YvpJw','executeScript','error','JYoDy','vLQqw','env','8MClYQY','24262440DSJjbO','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','wsEndpoint','BRkpc','cMVko','browserstack.accessibility','parse','debug','accessibilityOptions.includeIssueType.needsReview','../../helpers/logger','Playwright','No\x20accessibility\x20results\x20were\x20found.','bestPractice','bvfsS','accessibilityOptions.scannerProcessingTimeout','758792BQhvXZ','ccQSE','VHibW','connectOptions','accessibilityPlatform','currentTest','(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','testInfo','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','leAaJ','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','Mdqhg','accessibilityOptions.authToken','method','tbWWt','name','browserName','accessibilityOptions.includeIssueType.bestPractice','warn','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../../helpers/accessibility-automation/scripts','4565580cGBGjw','includeIssueType','VHxBW','format','BSkGI','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','Dthdx','deviceName','kefZS','PdzkC','No\x20summaryResults\x20found.','9353841omHpvX','pstFq','CnINU','workerInfo','bstackSdkArgs','accessibilityOptions.wcagVersion','IIPlx','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','ITSdJ','wcagVersion','eWrfU','stringify','ocqmf','1260723rGrkaz','wTpRc','xAYJC','project','../../helpers/accessibility-automation/helper','284895DvNyuN','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','4tPVlQO','performScan','yYeRP','scannerProcessingTimeout','../../helpers/helper','use','108mOwaYf','WebDriver','ccDnu','WdNED','replace','needsReview','1533141dBjvyl','browserStackEvaluate','playwright-chromium','IraPm','HlDJT','constructor','gRgfu','accessibilityOptions.scannerVersion','chrome','yRYgm','browser','scannerVersion','browser_version','JaDdY'];a34_0x2968=function(){return _0x6c5eda;};return a34_0x2968();}exports[a34_0x7e201f(0xcc)]=async(_0x228914,_0x3e4903,_0x5473d3={})=>{const _0x5dc7ad=a34_0x7e201f,_0x456c20={};_0x456c20[_0x5dc7ad(0x117)]=_0x5dc7ad(0x11d);const _0x2f8f08=_0x456c20;return await _0x228914['evaluate'](_0x5dc7ad(0xff)+_0x3e4903[_0x5dc7ad(0xc9)](/arguments/g,_0x2f8f08[_0x5dc7ad(0x117)])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON[_0x5dc7ad(0x124)](_0x5473d3)+')');},exports['browserStackExecuteDriver']=async(_0x4ede17,_0x38611b,_0x570404={})=>{const _0x1a9f52=a34_0x7e201f,_0x1bdfe8={};_0x1bdfe8[_0x1a9f52(0xf7)]=function(_0x1fb81a,_0x587828){return _0x1fb81a===_0x587828;},_0x1bdfe8[_0x1a9f52(0x107)]=_0x1a9f52(0xc6),_0x1bdfe8[_0x1a9f52(0x128)]=function(_0x1af8cd,_0x2f782e){return _0x1af8cd===_0x2f782e;},_0x1bdfe8[_0x1a9f52(0x11b)]=_0x1a9f52(0xf4),_0x1bdfe8['YvpJw']=_0x1a9f52(0x11d);const _0x471caf=_0x1bdfe8;if(_0x471caf[_0x1a9f52(0xf7)](_0x4ede17[_0x1a9f52(0xd0)][_0x1a9f52(0x108)],_0x471caf[_0x1a9f52(0x107)]))return await _0x4ede17[_0x1a9f52(0xdf)](_0x38611b,_0x570404);else{if(_0x471caf[_0x1a9f52(0x128)](_0x4ede17[_0x1a9f52(0xd0)][_0x1a9f52(0x108)],_0x471caf[_0x1a9f52(0x11b)]))return await _0x4ede17[_0x1a9f52(0xe4)]('(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'+_0x38611b['replace'](/arguments/g,_0x471caf[_0x1a9f52(0xe3)])+_0x1a9f52(0xeb)+JSON['stringify'](_0x570404)+')');}},exports['setAccessibilityCapabilities']=async _0x1ece4e=>{const _0x2b22b0=a34_0x7e201f,_0x82451b={};_0x82451b[_0x2b22b0(0x116)]=_0x2b22b0(0x11e),_0x82451b[_0x2b22b0(0xcf)]=_0x2b22b0(0xf8),_0x82451b[_0x2b22b0(0x121)]=_0x2b22b0(0x10a),_0x82451b[_0x2b22b0(0xc8)]=_0x2b22b0(0xf2),_0x82451b[_0x2b22b0(0x102)]=_0x2b22b0(0x105),_0x82451b[_0x2b22b0(0x11a)]=_0x2b22b0(0xd2);const _0x2d6214=_0x82451b;_0x1ece4e[_0x2b22b0(0xe0)]&&(_0x1ece4e[_0x2b22b0(0xe0)]['wcagVersion']&&(_0x1ece4e[_0x2d6214['kefZS']]=_0x1ece4e['accessibilityOptions'][_0x2b22b0(0x122)]),_0x1ece4e[_0x2b22b0(0xe0)][_0x2b22b0(0xc2)]&&(_0x1ece4e[_0x2d6214[_0x2b22b0(0xcf)]]=_0x1ece4e['accessibilityOptions']['scannerProcessingTimeout']),_0x1ece4e[_0x2b22b0(0xe0)][_0x2b22b0(0x10f)]&&(_0x1ece4e[_0x2d6214[_0x2b22b0(0x121)]]=_0x1ece4e[_0x2b22b0(0xe0)]['includeIssueType'][_0x2b22b0(0xf6)],_0x1ece4e[_0x2d6214[_0x2b22b0(0xc8)]]=_0x1ece4e['accessibilityOptions'][_0x2b22b0(0x10f)][_0x2b22b0(0xca)]));const _0x5e7a9b=JSON[_0x2b22b0(0xf0)](process[_0x2b22b0(0xe8)][_0x2b22b0(0x10c)])[_0x2b22b0(0xd6)];_0x1ece4e[_0x2d6214[_0x2b22b0(0x102)]]=process[_0x2b22b0(0xe8)]['BS_A11Y_JWT'],_0x1ece4e[_0x2d6214[_0x2b22b0(0x11a)]]=_0x5e7a9b,delete _0x1ece4e[_0x2b22b0(0xe0)];},exports[a34_0x7e201f(0xd9)]=async _0x309f66=>{const _0x2f0fae=a34_0x7e201f,_0xfe6ae3={};_0xfe6ae3[_0x2f0fae(0xfb)]=_0x2f0fae(0xf5),_0xfe6ae3[_0x2f0fae(0xe7)]=_0x2f0fae(0x101);const _0x1b6a4b=_0xfe6ae3;if(global[_0x2f0fae(0xfd)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x309f66,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x309f66,scripts.getResults);return res;}catch{return logger[_0x2f0fae(0xe5)](_0x1b6a4b['VHibW']),[];}else return logger[_0x2f0fae(0x10b)](_0x1b6a4b[_0x2f0fae(0xe7)]),[];},exports[a34_0x7e201f(0xc0)]=async(_0x3bfaf3,_0x4ea3b1='')=>{const _0x3019e2=a34_0x7e201f;if(global[_0x3019e2(0xfd)]){const _0x547112={};return _0x547112[_0x3019e2(0x106)]=_0x4ea3b1,await exports[_0x3019e2(0xcc)](_0x3bfaf3,scripts[_0x3019e2(0xc0)],_0x547112);}},exports['getAccessibilityResultsSummary']=async _0x589313=>{const _0x5d007c=a34_0x7e201f,_0x25cbde={};_0x25cbde[_0x5d007c(0xe6)]=_0x5d007c(0x118),_0x25cbde[_0x5d007c(0x110)]=_0x5d007c(0x120);const _0x383c5e=_0x25cbde;if(global[_0x5d007c(0xfd)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x589313,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x589313,scripts.getResultsSummary);return summaryResults;}catch{return logger['debug'](_0x383c5e[_0x5d007c(0xe6)]),{};}else return logger[_0x5d007c(0x10b)](_0x383c5e[_0x5d007c(0x110)]),{};},exports[a34_0x7e201f(0xdd)]=async _0x4eb69b=>{const _0x57c7dd=a34_0x7e201f,_0x35ca41={'cRmJP':function(_0x1472e7,_0x37e64b){return _0x1472e7!==_0x37e64b;},'RDYlj':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','IIPlx':function(_0x39267c,_0x4d1130){return _0x39267c===_0x4d1130;},'gRgfu':_0x57c7dd(0xd3),'yYeRP':'playwright-chromium','dwyaf':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','ccQSE':function(_0xd9d3f7,_0x1596c1){return _0xd9d3f7(_0x1596c1);},'BRkpc':_0x57c7dd(0xde),'ccDnu':function(_0x560a4f,_0x4b8441){return _0x560a4f>_0x4b8441;},'wTpRc':_0x57c7dd(0x103)};try{if(!_0x35ca41[_0x57c7dd(0xdb)](_0x4eb69b[_0x57c7dd(0x115)],''))return logger[_0x57c7dd(0x10b)](_0x35ca41['RDYlj']),![];const _0x463ee3=_0x4eb69b[_0x57c7dd(0xd5)];if(!(_0x35ca41[_0x57c7dd(0x11f)](_0x463ee3,_0x35ca41[_0x57c7dd(0xd1)])||_0x35ca41[_0x57c7dd(0x11f)](_0x463ee3,_0x35ca41[_0x57c7dd(0xc1)])))return logger['warn'](_0x35ca41[_0x57c7dd(0xe2)]),![];const _0x51df5c=_0x35ca41[_0x57c7dd(0xfa)](parseInt,_0x4eb69b[_0x57c7dd(0xd7)]);if(!(_0x35ca41['IIPlx'](_0x51df5c,_0x35ca41[_0x57c7dd(0xed)])||_0x35ca41[_0x57c7dd(0xc7)](_0x51df5c,0x5e)))return logger[_0x57c7dd(0x10b)](_0x35ca41[_0x57c7dd(0x127)]),![];}catch(_0x1703be){logger[_0x57c7dd(0xf1)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0x57c7dd(0x111)](_0x1703be));}return!![];},exports[a34_0x7e201f(0xda)]=(_0x22f650,_0x42e11a,_0x5b2dc6)=>{const _0x54ec50=a34_0x7e201f,_0x3d5a64={'gaGcp':function(_0x259ebc){return _0x259ebc();},'CpKQO':_0x54ec50(0xef),'Mdqhg':function(_0x577b39,_0x23ebaa){return _0x577b39===_0x23ebaa;},'yVgRJ':_0x54ec50(0xd3),'eWrfU':_0x54ec50(0xcd),'ocqmf':_0x54ec50(0x12c),'NKqoz':_0x54ec50(0xde),'IraPm':function(_0x45cecc,_0x1991cc){return _0x45cecc>_0x1991cc;},'cMVko':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','BSkGI':function(_0x1bfd4a,_0x124626){return _0x1bfd4a(_0x124626);},'yRYgm':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','JaDdY':function(_0x3fa905,_0x1cc88b){return _0x3fa905+_0x1cc88b;},'Dthdx':function(_0x5e74d8,_0x239e53){return _0x5e74d8(_0x239e53);}};try{if(_0x3d5a64[_0x54ec50(0xdc)](isAccessibilityAutomationSession)){global[_0x54ec50(0xfd)]=!![];!_0x22f650[_0x3d5a64[_0x54ec50(0xe1)]]&&(global[_0x54ec50(0xfd)]=![]);!(_0x3d5a64[_0x54ec50(0x104)](_0x22f650[_0x54ec50(0x109)],_0x3d5a64['yVgRJ'])||_0x3d5a64[_0x54ec50(0x104)](_0x22f650[_0x54ec50(0x109)],_0x3d5a64[_0x54ec50(0x123)]))&&(logger[_0x54ec50(0x10b)](_0x3d5a64[_0x54ec50(0x125)]),global[_0x54ec50(0xfd)]=![]);!(_0x3d5a64[_0x54ec50(0x104)](_0x22f650['browser_version'],_0x3d5a64['NKqoz'])||_0x3d5a64[_0x54ec50(0xce)](_0x22f650[_0x54ec50(0xd7)],0x5e))&&(logger['warn'](_0x3d5a64[_0x54ec50(0xee)]),global['accessibilityPlatform']=![]);!_0x3d5a64[_0x54ec50(0x112)](isUndefined,_0x22f650[_0x54ec50(0x115)])&&(logger['warn'](_0x3d5a64[_0x54ec50(0xd4)]),global[_0x54ec50(0xfd)]=![]);if(!global['accessibilityPlatform']){_0x22f650[_0x3d5a64[_0x54ec50(0xe1)]]=![];const _0x5630da=_0x3d5a64[_0x54ec50(0xd8)](_0x42e11a,_0x3d5a64[_0x54ec50(0x114)](encodeURIComponent,JSON['stringify'](_0x22f650)));_0x5b2dc6&&(_0x5b2dc6[_0x54ec50(0xfe)][_0x54ec50(0x100)][_0x54ec50(0x129)]['use']['connectOptions'][_0x54ec50(0xec)]=_0x5630da,_0x5b2dc6[_0x54ec50(0x11c)][_0x54ec50(0x129)][_0x54ec50(0xc4)][_0x54ec50(0xfc)]['wsEndpoint']=_0x5630da);}}}catch(_0x4d1ee1){logger[_0x54ec50(0xf1)](_0x54ec50(0x113)+util['format'](_0x4d1ee1));}};
1
+ const a34_0x5438cf=a34_0x18b3;function a34_0x18b3(_0x4e752f,_0x181c66){const _0x499ee3=a34_0x499e();return a34_0x18b3=function(_0x18b3d6,_0x4ef650){_0x18b3d6=_0x18b3d6-0x152;let _0x41f6f1=_0x499ee3[_0x18b3d6];return _0x41f6f1;},a34_0x18b3(_0x4e752f,_0x181c66);}function a34_0x499e(){const _0x4694f3=['project','browserName','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','1qNQWZf','vhZBF','QKGwl','1375038mZFbBZ','5427WXpapR','browserstack.accessibility','eSWTP','No\x20accessibility\x20results\x20were\x20found.','scannerVersion','No\x20summaryResults\x20found.','warn','bestPractice','WebDriver','browser_version','name','VLybW','JoEET','use','8063584TADDGy','platformValidation','UNjSu','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','RorAo','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','accessibilityOptions.authToken','parse','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','accessibilityOptions.includeIssueType.bestPractice','wcagVersion','soQNj','util','browser','60zPSDZM','1986932iyRQjK','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','bNrWK','GdQKt','YAzyl','debug','Playwright','getAccessibilityResultsSummary','performScan','workerInfo','cGFdn','browserStackEvaluate','playwright-chromium','HQfmC','aEatB','getAccessibilityResults','ozOts','accessibilityPlatform','stringify','winstonLogger','ziCEq','IcVFS','UoZmN','nbDpr','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','2532DeuEfv','bBsVj','lnlxA','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','eOFQY','VgsYZ','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','BS_A11Y_JWT','latest','browserStackExecuteDriver','lSdaB','needsReview','currentTest','12luSMWQ','FKOyn','xhJRL','yAwoP','executeAsyncScript','129019iqVPlj','constructor','XBPDX','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','evaluate','41688kOnSpp','replace','bstackSdkArgs','HfXTg','env','1053475zajqpu','EhKvr','LVvEA','accessibilityOptions.includeIssueType.needsReview','method','bWRsK','testInfo','deviceName','format','chrome','executeScript','xNadi','114DdAbIu','connectOptions','wsEndpoint','error','includeIssueType','accessibilityOptions'];a34_0x499e=function(){return _0x4694f3;};return a34_0x499e();}(function(_0x26c5a9,_0x1641b2){const _0x176768=a34_0x18b3,_0xaec1dd=_0x26c5a9();while(!![]){try{const _0x44a3b8=-parseInt(_0x176768(0x171))/0x1*(parseInt(_0x176768(0x192))/0x2)+parseInt(_0x176768(0x168))/0x3*(-parseInt(_0x176768(0x157))/0x4)+parseInt(_0x176768(0x15c))/0x5*(parseInt(_0x176768(0x1b8))/0x6)+parseInt(_0x176768(0x174))/0x7+-parseInt(_0x176768(0x183))/0x8+parseInt(_0x176768(0x175))/0x9*(-parseInt(_0x176768(0x191))/0xa)+-parseInt(_0x176768(0x152))/0xb*(-parseInt(_0x176768(0x1ab))/0xc);if(_0x44a3b8===_0x1641b2)break;else _0xaec1dd['push'](_0xaec1dd['shift']());}catch(_0x2b253c){_0xaec1dd['push'](_0xaec1dd['shift']());}}}(a34_0x499e,0xa8d77));const util=require(a34_0x5438cf(0x18f)),logger=require('../../helpers/logger')[a34_0x5438cf(0x1a5)],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined}=require('../../helpers/helper'),scripts=require('../../helpers/accessibility-automation/scripts');exports[a34_0x5438cf(0x19d)]=async(_0x1b8128,_0xec02cf,_0x4a0296={})=>{const _0x1f3274=a34_0x5438cf,_0x18f490={};_0x18f490[_0x1f3274(0x167)]='bstackSdkArgs';const _0xcbabe0=_0x18f490;return await _0x1b8128[_0x1f3274(0x156)]('(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'+_0xec02cf['replace'](/arguments/g,_0xcbabe0[_0x1f3274(0x167)])+_0x1f3274(0x1ae)+JSON['stringify'](_0x4a0296)+')');},exports[a34_0x5438cf(0x1b4)]=async(_0x25e2fc,_0x2c5885,_0x536d91={})=>{const _0xb035a6=a34_0x5438cf,_0x64fe8e={};_0x64fe8e['xhJRL']=function(_0x2f65bb,_0xdf20d9){return _0x2f65bb===_0xdf20d9;},_0x64fe8e['UNjSu']=_0xb035a6(0x17d),_0x64fe8e['JoEET']=function(_0x11cad8,_0x119572){return _0x11cad8===_0x119572;},_0x64fe8e['ULNwk']=_0xb035a6(0x198),_0x64fe8e['RorAo']=_0xb035a6(0x159);const _0x4dc29e=_0x64fe8e;if(_0x4dc29e[_0xb035a6(0x1ba)](_0x25e2fc[_0xb035a6(0x153)][_0xb035a6(0x17f)],_0x4dc29e[_0xb035a6(0x185)]))return await _0x25e2fc[_0xb035a6(0x1bc)](_0x2c5885,_0x536d91);else{if(_0x4dc29e[_0xb035a6(0x181)](_0x25e2fc[_0xb035a6(0x153)]['name'],_0x4dc29e['ULNwk']))return await _0x25e2fc[_0xb035a6(0x166)]('(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'+_0x2c5885[_0xb035a6(0x158)](/arguments/g,_0x4dc29e[_0xb035a6(0x187)])+_0xb035a6(0x188)+JSON['stringify'](_0x536d91)+')');}},exports['setAccessibilityCapabilities']=async _0x2e1f4c=>{const _0x4f2ab1=a34_0x5438cf,_0x4f8525={};_0x4f8525[_0x4f2ab1(0x19f)]='accessibilityOptions.wcagVersion',_0x4f8525['SEzNY']='accessibilityOptions.scannerProcessingTimeout',_0x4f8525[_0x4f2ab1(0x1af)]=_0x4f2ab1(0x18c),_0x4f8525[_0x4f2ab1(0x194)]=_0x4f2ab1(0x15f),_0x4f8525[_0x4f2ab1(0x19c)]=_0x4f2ab1(0x189),_0x4f8525['FKOyn']='accessibilityOptions.scannerVersion';const _0x1f8cef=_0x4f8525;_0x2e1f4c['accessibilityOptions']&&(_0x2e1f4c[_0x4f2ab1(0x16d)][_0x4f2ab1(0x18d)]&&(_0x2e1f4c[_0x1f8cef[_0x4f2ab1(0x19f)]]=_0x2e1f4c[_0x4f2ab1(0x16d)][_0x4f2ab1(0x18d)]),_0x2e1f4c[_0x4f2ab1(0x16d)]['scannerProcessingTimeout']&&(_0x2e1f4c[_0x1f8cef['SEzNY']]=_0x2e1f4c[_0x4f2ab1(0x16d)]['scannerProcessingTimeout']),_0x2e1f4c['accessibilityOptions']['includeIssueType']&&(_0x2e1f4c[_0x1f8cef[_0x4f2ab1(0x1af)]]=_0x2e1f4c[_0x4f2ab1(0x16d)][_0x4f2ab1(0x16c)][_0x4f2ab1(0x17c)],_0x2e1f4c[_0x1f8cef[_0x4f2ab1(0x194)]]=_0x2e1f4c[_0x4f2ab1(0x16d)][_0x4f2ab1(0x16c)][_0x4f2ab1(0x1b6)]));const _0x2d6c6b=JSON[_0x4f2ab1(0x18a)](process['env'][_0x4f2ab1(0x1aa)])[_0x4f2ab1(0x179)];_0x2e1f4c[_0x1f8cef[_0x4f2ab1(0x19c)]]=process[_0x4f2ab1(0x15b)][_0x4f2ab1(0x1b2)],_0x2e1f4c[_0x1f8cef[_0x4f2ab1(0x1b9)]]=_0x2d6c6b,delete _0x2e1f4c[_0x4f2ab1(0x16d)];},exports[a34_0x5438cf(0x1a1)]=async _0x531589=>{const _0x488c8f=a34_0x5438cf,_0x369b21={};_0x369b21[_0x488c8f(0x1a6)]=_0x488c8f(0x178),_0x369b21['VgsYZ']='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0xcd0c57=_0x369b21;if(global[_0x488c8f(0x1a3)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x531589,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x531589,scripts.getResults);return res;}catch{return logger[_0x488c8f(0x16b)](_0xcd0c57['ziCEq']),[];}else return logger[_0x488c8f(0x17b)](_0xcd0c57[_0x488c8f(0x1b0)]),[];},exports['performScan']=async(_0x14996a,_0x1d7c4f='')=>{const _0x4e9978=a34_0x5438cf;if(global['accessibilityPlatform']){const _0x5b776d={};return _0x5b776d[_0x4e9978(0x160)]=_0x1d7c4f,await exports['browserStackEvaluate'](_0x14996a,scripts[_0x4e9978(0x19a)],_0x5b776d);}},exports[a34_0x5438cf(0x199)]=async _0x51c7fc=>{const _0x101da5=a34_0x5438cf,_0x50c905={};_0x50c905[_0x101da5(0x1b5)]=_0x101da5(0x17a),_0x50c905[_0x101da5(0x1a9)]=_0x101da5(0x18b);const _0x4a3cda=_0x50c905;if(global[_0x101da5(0x1a3)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x51c7fc,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x51c7fc,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x101da5(0x197)](_0x4a3cda[_0x101da5(0x1b5)]),{};}else return logger[_0x101da5(0x17b)](_0x4a3cda['nbDpr']),{};},exports[a34_0x5438cf(0x184)]=async _0x8dee55=>{const _0x58660b=a34_0x5438cf,_0x208b8b={'UoZmN':function(_0x51a1e6,_0xbc7298){return _0x51a1e6!==_0xbc7298;},'LVvEA':_0x58660b(0x155),'GdQKt':function(_0x4a61f9,_0x5e9523){return _0x4a61f9===_0x5e9523;},'IcVFS':_0x58660b(0x165),'ozOts':function(_0x443918,_0x1709ea){return _0x443918===_0x1709ea;},'QKGwl':_0x58660b(0x19e),'eSWTP':_0x58660b(0x186),'yyign':function(_0x1934ed,_0x520f3a){return _0x1934ed(_0x520f3a);},'egIjO':function(_0x20c997,_0x366bbc){return _0x20c997===_0x366bbc;},'TGgZd':_0x58660b(0x1b3),'DbJJg':function(_0xa1a29c,_0x3a3935){return _0xa1a29c>_0x3a3935;},'yAwoP':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x208b8b[_0x58660b(0x1a8)](_0x8dee55[_0x58660b(0x163)],''))return logger[_0x58660b(0x17b)](_0x208b8b[_0x58660b(0x15e)]),![];const _0x26b964=_0x8dee55[_0x58660b(0x190)];if(!(_0x208b8b[_0x58660b(0x195)](_0x26b964,_0x208b8b[_0x58660b(0x1a7)])||_0x208b8b[_0x58660b(0x1a2)](_0x26b964,_0x208b8b[_0x58660b(0x173)])))return logger['warn'](_0x208b8b[_0x58660b(0x177)]),![];const _0x4277e3=_0x208b8b['yyign'](parseInt,_0x8dee55[_0x58660b(0x17e)]);if(!(_0x208b8b['egIjO'](_0x4277e3,_0x208b8b['TGgZd'])||_0x208b8b['DbJJg'](_0x4277e3,0x5e)))return logger[_0x58660b(0x17b)](_0x208b8b[_0x58660b(0x1bb)]),![];}catch(_0x85557e){logger[_0x58660b(0x197)](_0x58660b(0x170)+util['format'](_0x85557e));}return!![];},exports['processAccessibilityCaps']=(_0x20cf83,_0x1af8d0,_0x70cfab)=>{const _0x30f5cb=a34_0x5438cf,_0x203f35={'soQNj':function(_0x2e2863){return _0x2e2863();},'bWRsK':_0x30f5cb(0x176),'XBPDX':function(_0x3b6e08,_0x2c9526){return _0x3b6e08===_0x2c9526;},'EhKvr':_0x30f5cb(0x165),'YAzyl':function(_0x6a5fa,_0x346765){return _0x6a5fa===_0x346765;},'vhZBF':_0x30f5cb(0x19e),'URBgj':_0x30f5cb(0x186),'aEatB':'latest','HfXTg':function(_0x2d1988,_0x2f2232){return _0x2d1988>_0x2f2232;},'VLybW':_0x30f5cb(0x1b1),'srgMI':function(_0x5216f1,_0x587b5f){return _0x5216f1(_0x587b5f);},'bBsVj':_0x30f5cb(0x155),'lnlxA':function(_0x3faa8f,_0x29dff1){return _0x3faa8f+_0x29dff1;},'oYNIH':function(_0x2bc602,_0x385074){return _0x2bc602(_0x385074);}};try{if(_0x203f35[_0x30f5cb(0x18e)](isAccessibilityAutomationSession)){global[_0x30f5cb(0x1a3)]=!![];!_0x20cf83[_0x203f35[_0x30f5cb(0x161)]]&&(global[_0x30f5cb(0x1a3)]=![]);!(_0x203f35[_0x30f5cb(0x154)](_0x20cf83[_0x30f5cb(0x16f)],_0x203f35[_0x30f5cb(0x15d)])||_0x203f35[_0x30f5cb(0x196)](_0x20cf83[_0x30f5cb(0x16f)],_0x203f35[_0x30f5cb(0x172)]))&&(logger[_0x30f5cb(0x17b)](_0x203f35['URBgj']),global[_0x30f5cb(0x1a3)]=![]);!(_0x203f35[_0x30f5cb(0x154)](_0x20cf83[_0x30f5cb(0x17e)],_0x203f35[_0x30f5cb(0x1a0)])||_0x203f35[_0x30f5cb(0x15a)](_0x20cf83['browser_version'],0x5e))&&(logger[_0x30f5cb(0x17b)](_0x203f35[_0x30f5cb(0x180)]),global[_0x30f5cb(0x1a3)]=![]);!_0x203f35['srgMI'](isUndefined,_0x20cf83[_0x30f5cb(0x163)])&&(logger[_0x30f5cb(0x17b)](_0x203f35[_0x30f5cb(0x1ac)]),global[_0x30f5cb(0x1a3)]=![]);if(!global[_0x30f5cb(0x1a3)]){_0x20cf83[_0x203f35[_0x30f5cb(0x161)]]=![];const _0x2fcb5b=_0x203f35[_0x30f5cb(0x1ad)](_0x1af8d0,_0x203f35['oYNIH'](encodeURIComponent,JSON[_0x30f5cb(0x1a4)](_0x20cf83)));_0x70cfab&&(_0x70cfab[_0x30f5cb(0x1b7)][_0x30f5cb(0x162)][_0x30f5cb(0x16e)][_0x30f5cb(0x182)][_0x30f5cb(0x169)][_0x30f5cb(0x16a)]=_0x2fcb5b,_0x70cfab[_0x30f5cb(0x19b)][_0x30f5cb(0x16e)]['use'][_0x30f5cb(0x169)][_0x30f5cb(0x16a)]=_0x2fcb5b);}}}catch(_0x584b63){logger[_0x30f5cb(0x197)](_0x30f5cb(0x193)+util[_0x30f5cb(0x164)](_0x584b63));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a35_0x5898(_0x4b0939,_0x4c2198){const _0x5b1047=a35_0x5b10();return a35_0x5898=function(_0x5898f0,_0x9e84ab){_0x5898f0=_0x5898f0-0x1d6;let _0x3b137e=_0x5b1047[_0x5898f0];return _0x3b137e;},a35_0x5898(_0x4b0939,_0x4c2198);}const a35_0x3d716f=a35_0x5898;(function(_0x26472a,_0x142cc6){const _0x2b17f3=a35_0x5898,_0x37bc6a=_0x26472a();while(!![]){try{const _0x4bbd21=-parseInt(_0x2b17f3(0x262))/0x1*(parseInt(_0x2b17f3(0x20b))/0x2)+parseInt(_0x2b17f3(0x1da))/0x3*(-parseInt(_0x2b17f3(0x1f7))/0x4)+parseInt(_0x2b17f3(0x264))/0x5*(parseInt(_0x2b17f3(0x1f2))/0x6)+parseInt(_0x2b17f3(0x207))/0x7+-parseInt(_0x2b17f3(0x257))/0x8+parseInt(_0x2b17f3(0x249))/0x9+-parseInt(_0x2b17f3(0x1ef))/0xa;if(_0x4bbd21===_0x142cc6)break;else _0x37bc6a['push'](_0x37bc6a['shift']());}catch(_0x59761f){_0x37bc6a['push'](_0x37bc6a['shift']());}}}(a35_0x5b10,0xc61d4));const fs=require('fs'),path=require(a35_0x3d716f(0x24f)),{spawn}=require(a35_0x3d716f(0x1d7)),{format}=require(a35_0x3d716f(0x1f3)),logger=require(a35_0x3d716f(0x205))[a35_0x3d716f(0x1e2)],{default:BrowserStackSetup}=require(a35_0x3d716f(0x23b)),helper=require(a35_0x3d716f(0x1fb)),utilities=require(a35_0x3d716f(0x25c)),constants=require('../utils/constants'),{FRAMEWORKS}=require(a35_0x3d716f(0x22f)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a35_0x3d716f(0x1e5)),{CrashReporter}=require(a35_0x3d716f(0x200)),{getFrameworkVersion}=require(a35_0x3d716f(0x26f)),{checkAccessibilityPlatformConfig}=require(a35_0x3d716f(0x22d)),{setAccessibilityCapabilities}=require(a35_0x3d716f(0x230)),TestHubHandler=require(a35_0x3d716f(0x1f8)),{shouldProcessEventForTesthub}=require(a35_0x3d716f(0x25e)),getUserPlaywrightConfig=async(_0x2d907d,_0x3b1821)=>{const _0x585883=a35_0x3d716f,_0x3e91b1={'NxxfZ':function(_0x8d2a29){return _0x8d2a29();},'zhWik':function(_0x4fd872,_0x263328){return _0x4fd872(_0x263328);},'OBuMa':function(_0x320bc3,_0x93c51d){return _0x320bc3(_0x93c51d);},'CNvzO':'resolvedConfigFile','rgVDg':_0x585883(0x23c)},_0x5a8bdc=!helper['isUndefined'](_0x2d907d[_0x585883(0x1e4)]),_0x1086a5=_0x5a8bdc?path[_0x585883(0x244)](process[_0x585883(0x215)](),_0x2d907d[_0x585883(0x1e4)]):process[_0x585883(0x215)](),{resolveConfigFile:_0x5b2016,resolveConfigLocation:_0x21ff62}=helper[_0x585883(0x26d)][_0x585883(0x1e9)](null,_0x3e91b1[_0x585883(0x271)](getConfigLoaderPath)),_0x3525a3=_0x5b2016?_0x3e91b1[_0x585883(0x206)](_0x5b2016,_0x1086a5):helper[_0x585883(0x1eb)](_0x3e91b1[_0x585883(0x23a)](_0x21ff62,_0x1086a5),[_0x3e91b1['CNvzO']]),_0x5cc8a4={};if(_0x5a8bdc){const _0x3ffaad=_0x3b1821[_0x585883(0x1ed)](_0x436b43=>_0x436b43==='--config'||_0x436b43==='-c'||_0x436b43[_0x585883(0x210)]('--config='));_0x3b1821[_0x585883(0x1ea)](_0x3ffaad,_0x3b1821[_0x3ffaad][_0x585883(0x210)](_0x3e91b1['rgVDg'])?0x1:0x2);}const _0x40e5b1={};return _0x40e5b1['path']=_0x3525a3,_0x40e5b1[_0x585883(0x1e4)]=_0x5cc8a4,_0x40e5b1;},handleO11yRerun=_0x5dd0e7=>{const _0x2a461f=a35_0x3d716f,_0x4c281d={};_0x4c281d['SLxCq']=function(_0x5c5711,_0x108daf){return _0x5c5711!==_0x108daf;},_0x4c281d[_0x2a461f(0x23f)]=_0x2a461f(0x260),_0x4c281d[_0x2a461f(0x251)]=_0x2a461f(0x21a);const _0x3519cb=_0x4c281d,_0x1740c0=helper[_0x2a461f(0x258)](process[_0x2a461f(0x1f1)][_0x2a461f(0x224)]);if(_0x1740c0){const _0x214e1b=process['env'][_0x2a461f(0x216)],_0x48c610=[];if(_0x3519cb['SLxCq'](_0x214e1b,_0x3519cb[_0x2a461f(0x23f)])&&!helper[_0x2a461f(0x1dc)](_0x214e1b)){_0x214e1b[_0x2a461f(0x217)](',')[_0x2a461f(0x203)](_0x413f0c=>{const _0x7f2c0b=_0x2a461f;_0x48c610['push']('('+_0x413f0c[_0x7f2c0b(0x272)]()+')');});const _0x51af2f='^'+_0x48c610[_0x2a461f(0x231)]('|')+'$';_0x5dd0e7[_0x2a461f(0x21c)](_0x3519cb[_0x2a461f(0x251)],_0x51af2f);}}},spawnOriginalProcess=_0x393928=>{const _0x28f6b2=a35_0x3d716f,_0x1b3875={'SRpon':function(_0xfe9fb1,_0x46103d,_0xb0b0c9,_0x28ca41){return _0xfe9fb1(_0x46103d,_0xb0b0c9,_0x28ca41);},'snHLf':_0x28f6b2(0x235),'sHadK':'playwright','Yjgwf':function(_0x210559,_0x12c5df){return _0x210559===_0x12c5df;},'meiGn':_0x28f6b2(0x1d6),'ejjvx':_0x28f6b2(0x233)};_0x1b3875[_0x28f6b2(0x211)](spawn,_0x1b3875['snHLf'],[_0x1b3875[_0x28f6b2(0x246)],..._0x393928['slice'](0x1)],{'shell':_0x1b3875['Yjgwf'](process[_0x28f6b2(0x202)],_0x1b3875[_0x28f6b2(0x252)]),'stdio':_0x1b3875[_0x28f6b2(0x1dd)],'cwd':process['cwd']()});},isTestCommand=(_0x4e05b5,_0x4f38e6)=>{const _0x4deded=a35_0x3d716f,_0x4da7ca={};_0x4da7ca[_0x4deded(0x22e)]=function(_0x1100a7,_0x30178b){return _0x1100a7>_0x30178b;},_0x4da7ca[_0x4deded(0x227)]=function(_0x5db433,_0x3264a1){return _0x5db433===_0x3264a1;},_0x4da7ca[_0x4deded(0x20e)]=_0x4deded(0x1e3);const _0x193b63=_0x4da7ca;if(_0x193b63[_0x4deded(0x22e)](_0x4f38e6[_0x4deded(0x263)],0x1)&&_0x193b63['RXbBK'](_0x4f38e6[0x1],_0x193b63['dCRmU']))return!![];return![];};async function run(_0x530fb1,_0x2835e5){const _0x33dc48=a35_0x3d716f,_0x216b17={'fYrGF':'.browserstack','FpFHA':_0x33dc48(0x237),'Rsspw':function(_0x14159d,_0xe14cb6){return _0x14159d+_0xe14cb6;},'hchcO':_0x33dc48(0x256),'gYgUR':'2|5|4|3|1|6|0|8|7','WGNpe':function(_0x335a87){return _0x335a87();},'Bpbmv':_0x33dc48(0x209),'vMCtr':_0x33dc48(0x218),'oxnvq':_0x33dc48(0x1f6),'Wfkne':'--disable-test-observability','hGgQj':function(_0x2b9e95,_0x43db61){return _0x2b9e95>=_0x43db61;},'UzfXq':function(_0x308e84,_0x561f24){return _0x308e84+_0x561f24;},'AWjse':_0x33dc48(0x259),'qfGlG':function(_0x5c0915,_0x28d98b,_0x4ce1d7){return _0x5c0915(_0x28d98b,_0x4ce1d7);},'GGKTr':function(_0x287f5c,_0x2b3716){return _0x287f5c(_0x2b3716);},'yCfIg':_0x33dc48(0x26e),'RDyES':_0x33dc48(0x1e7),'EKENb':function(_0x32e973,_0x4c1e2f){return _0x32e973!=_0x4c1e2f;},'xJzXb':function(_0x44ad68,_0x1d710f,_0x50e15f){return _0x44ad68(_0x1d710f,_0x50e15f);},'bvGsZ':function(_0xf583ec,_0xb9f4b7){return _0xf583ec(_0xb9f4b7);},'yDpyk':function(_0x33e3f3,_0x36a7ec){return _0x33e3f3===_0x36a7ec;},'PWzpk':_0x33dc48(0x228),'HyAQu':_0x33dc48(0x269),'FFdBg':'playwright-browserstack-sdk.config.cjs','xJqIj':_0x33dc48(0x1ee),'xcGMT':function(_0x1a94af,_0x3e52d5){return _0x1a94af-_0x3e52d5;},'qqBzf':function(_0x4109b1,_0x5df6c3){return _0x4109b1+_0x5df6c3;},'vAZDt':_0x33dc48(0x25f),'IEixu':function(_0x47fa6d,_0x165c9c){return _0x47fa6d>_0x165c9c;},'kOQaf':function(_0x1e9046,_0x30825b){return _0x1e9046+_0x30825b;},'QRBCM':function(_0x5ab6f0,_0x2a5495,_0x47e0c6,_0x27d4c2){return _0x5ab6f0(_0x2a5495,_0x47e0c6,_0x27d4c2);},'btkOA':'npx','AEnCH':_0x33dc48(0x21e),'phyPG':_0x33dc48(0x1e3),'mZlzN':'--config','fVUAr':_0x33dc48(0x1d6),'LPDoV':_0x33dc48(0x233),'ICNmv':_0x33dc48(0x221)};!helper[_0x33dc48(0x1f4)](process[_0x33dc48(0x1f1)][_0x33dc48(0x267)])&&(process[_0x33dc48(0x1f1)][_0x33dc48(0x267)]=!![]);process['argv'][_0x33dc48(0x1d8)](_0x216b17[_0x33dc48(0x204)])&&(process[_0x33dc48(0x1f1)][_0x33dc48(0x267)]=_0x216b17['oxnvq'],_0x2835e5=_0x2835e5['filter'](_0x13e665=>_0x13e665!==_0x33dc48(0x218)));const _0x1f7a04=_0x2835e5[_0x33dc48(0x1e8)](_0x216b17[_0x33dc48(0x241)]);_0x216b17[_0x33dc48(0x24e)](_0x1f7a04,0x0)&&(process[_0x33dc48(0x1f1)][_0x33dc48(0x20f)]=_0x216b17[_0x33dc48(0x20a)],_0x2835e5=_0x2835e5[_0x33dc48(0x1fc)](_0x376de9=>_0x376de9!==_0x33dc48(0x22b)));try{const _0x4fee36=path[_0x33dc48(0x231)](helper['homedir'](),_0x216b17['fYrGF'],_0x216b17[_0x33dc48(0x26c)]);fs['existsSync'](_0x4fee36)&&fs[_0x33dc48(0x21d)](_0x4fee36);}catch(_0x37933d){logger[_0x33dc48(0x24a)](_0x216b17[_0x33dc48(0x245)](_0x216b17['AWjse'],_0x37933d));}if(!_0x216b17[_0x33dc48(0x255)](isTestCommand,_0x530fb1,_0x2835e5)){_0x216b17['GGKTr'](spawnOriginalProcess,_0x2835e5);return;}const _0x492715=new BrowserStackSetup(_0x530fb1,FRAMEWORKS['PLAYWRIGHT']);if(!_0x492715[_0x33dc48(0x1e4)]){logger['error'](_0x216b17['yCfIg']);return;}await _0x492715[_0x33dc48(0x214)]();!helper['isUndefined'](_0x492715[_0x33dc48(0x22c)])&&_0x492715[_0x33dc48(0x22c)]['has'](_0x216b17[_0x33dc48(0x1f9)])&&(process[_0x33dc48(0x1f1)]['BROWSERSTACK_AUTOMATION']=_0x492715[_0x33dc48(0x22c)][_0x33dc48(0x220)](_0x216b17[_0x33dc48(0x1f9)])||!![]);_0x216b17['EKENb'](_0x492715[_0x33dc48(0x1e4)][_0x33dc48(0x240)],null)&&!helper['isTrue'](process[_0x33dc48(0x1f1)][_0x33dc48(0x20f)])&&(process['env'][_0x33dc48(0x20f)]=process[_0x33dc48(0x1f1)]['BROWSERSTACK_TEST_OBSERVABILITY']||_0x492715[_0x33dc48(0x1e4)]['testObservability']);const _0x260838=!helper[_0x33dc48(0x1f4)](process[_0x33dc48(0x1f1)][_0x33dc48(0x20f)]);let _0x30a42e=![];_0x492715[_0x33dc48(0x1e4)][_0x33dc48(0x26a)]&&(_0x30a42e=!![],process[_0x33dc48(0x1f1)][_0x33dc48(0x229)]=_0x492715[_0x33dc48(0x1e4)][_0x33dc48(0x26a)]);_0x492715['config'][_0x33dc48(0x239)]&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x33dc48(0x201)](_0x492715[_0x33dc48(0x1e4)]['accessibilityOptions']));const _0x33a265=_0x2835e5[_0x33dc48(0x273)](),_0x151520=await _0x216b17[_0x33dc48(0x21b)](getUserPlaywrightConfig,_0x530fb1,_0x2835e5);if(helper[_0x33dc48(0x1dc)](_0x151520)){_0x216b17['GGKTr'](spawnOriginalProcess,_0x33a265);return;}const _0x35edd7=_0x151520[_0x33dc48(0x24f)]?path[_0x33dc48(0x25b)](_0x151520[_0x33dc48(0x24f)]):process[_0x33dc48(0x215)]();process['env']['BROWSERSTACK_PW_CONFIG_DIR']=_0x35edd7,await TestHubHandler[_0x33dc48(0x26b)](FRAMEWORKS[_0x33dc48(0x248)],_0x492715);_0x260838&&_0x216b17[_0x33dc48(0x247)](handleO11yRerun,_0x2835e5);let _0x138ae7=_0x216b17['yDpyk'](process[_0x33dc48(0x1f1)][_0x33dc48(0x229)],_0x216b17[_0x33dc48(0x24d)]);_0x138ae7=_0x138ae7||_0x216b17['bvGsZ'](checkAccessibilityPlatformConfig,_0x492715[_0x33dc48(0x1e4)]),process[_0x33dc48(0x1f1)][_0x33dc48(0x229)]=_0x138ae7;_0x138ae7&&_0x216b17[_0x33dc48(0x247)](setAccessibilityCapabilities,_0x492715[_0x33dc48(0x1e4)]);const _0x37a31d=path[_0x33dc48(0x231)](_0x151520[_0x33dc48(0x24f)]?path[_0x33dc48(0x25b)](_0x151520['path']):process['cwd'](),_0x216b17[_0x33dc48(0x1d9)]);fs[_0x33dc48(0x1e1)](_0x37a31d,helper[_0x33dc48(0x1fd)](_0x492715['config'])),process[_0x33dc48(0x1f1)][_0x33dc48(0x219)]=_0x37a31d,helper['clearTempPWConfig']();let _0x55c98e='';_0x216b17['yDpyk'](helper[_0x33dc48(0x1fe)](),constants[_0x33dc48(0x254)][_0x33dc48(0x21f)])?_0x55c98e=_0x216b17[_0x33dc48(0x232)]:_0x55c98e=_0x216b17['xJqIj'];let _0x16f462='';if(helper[_0x33dc48(0x208)](_0x151520[_0x33dc48(0x24f)])){_0x16f462=_0x33dc48(0x270);const _0x5d8c3b=_0x55c98e[_0x33dc48(0x217)]('.');_0x5d8c3b[_0x216b17[_0x33dc48(0x250)](_0x5d8c3b[_0x33dc48(0x263)],0x1)]='ts',_0x55c98e=_0x5d8c3b['join']('.'),logger[_0x33dc48(0x24a)](_0x216b17[_0x33dc48(0x25d)](_0x216b17[_0x33dc48(0x1f0)],_0x55c98e));}else _0x16f462='\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a';const _0x41a4ab=path[_0x33dc48(0x231)](_0x151520[_0x33dc48(0x24f)]?path[_0x33dc48(0x25b)](_0x151520[_0x33dc48(0x24f)]):process[_0x33dc48(0x215)](),_0x55c98e);let _0x5efdec=_0x151520[_0x33dc48(0x24f)]?_0x151520[_0x33dc48(0x24f)]:'';_0x5efdec=_0x216b17[_0x33dc48(0x265)](_0x5efdec[_0x33dc48(0x263)],0x0)?path['resolve'](_0x5efdec):'',process[_0x33dc48(0x1f1)][_0x33dc48(0x20c)]=_0x5efdec;const _0x20284d=helper['getProxyUrl'](_0x492715[_0x33dc48(0x1e4)]);_0x20284d&&(_0x16f462=_0x216b17[_0x33dc48(0x1ec)](_0x33dc48(0x223)+_0x20284d+_0x33dc48(0x242),_0x16f462));helper[_0x33dc48(0x23e)]({},_0x2835e5),fs[_0x33dc48(0x1e1)](_0x41a4ab,_0x16f462),helper[_0x33dc48(0x24b)]();const _0x154f19=_0x216b17['QRBCM'](spawn,_0x216b17[_0x33dc48(0x25a)],[_0x216b17[_0x33dc48(0x1e0)],_0x216b17[_0x33dc48(0x266)],_0x216b17[_0x33dc48(0x1de)],_0x41a4ab,..._0x2835e5[_0x33dc48(0x222)](0x2)],{'shell':_0x216b17[_0x33dc48(0x23d)](process[_0x33dc48(0x202)],_0x216b17['fVUAr']),'stdio':_0x216b17['LPDoV'],'cwd':process[_0x33dc48(0x215)](),'env':Object[_0x33dc48(0x226)]({},process[_0x33dc48(0x1f1)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x33dc48(0x22a)](_0x530fb1),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x492715['config'][_0x33dc48(0x24c)][_0x33dc48(0x213)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x492715[_0x33dc48(0x1e4)][_0x33dc48(0x24c)][_0x33dc48(0x1ff)],'BROWSERSTACK_LOG_LEVEL':_0x492715['config']['logLevel']})}),_0x490688=()=>{const _0x5217ce=_0x33dc48;try{const _0x176ef4=path[_0x5217ce(0x231)](helper[_0x5217ce(0x225)](),_0x216b17['fYrGF'],_0x216b17['FpFHA']);if(fs[_0x5217ce(0x20d)](_0x176ef4)){let _0x27c26e=fs[_0x5217ce(0x243)](_0x176ef4);_0x27c26e=JSON[_0x5217ce(0x268)](_0x27c26e),_0x492715['errorMessage']=_0x27c26e,fs[_0x5217ce(0x21d)](_0x176ef4);}}catch(_0x98f2b9){logger['debug'](_0x216b17[_0x5217ce(0x236)](_0x216b17[_0x5217ce(0x238)],_0x98f2b9));}};_0x154f19['on'](_0x216b17[_0x33dc48(0x1e6)],async _0xc907b0=>{const _0x2fb0fd=_0x33dc48;try{const _0x30be3e=_0x216b17[_0x2fb0fd(0x1f5)][_0x2fb0fd(0x217)]('|');let _0x34d146=0x0;while(!![]){switch(_0x30be3e[_0x34d146++]){case'0':fs[_0x2fb0fd(0x21d)](_0x41a4ab);continue;case'1':logger['debug'](_0x2fb0fd(0x261)+_0xc907b0);continue;case'2':_0x216b17[_0x2fb0fd(0x234)](_0x490688);continue;case'3':process['exitCode']=_0xc907b0;continue;case'4':await utilities[_0x2fb0fd(0x253)](_0x492715);continue;case'5':await TestHubHandler[_0x2fb0fd(0x212)]();continue;case'6':logger['info']('Deleting\x20'+_0x41a4ab);continue;case'7':fs[_0x2fb0fd(0x21d)](_0x37a31d);continue;case'8':logger[_0x2fb0fd(0x24a)](_0x2fb0fd(0x1fa)+_0x37a31d);continue;}break;}}catch(_0x4af78b){logger[_0x2fb0fd(0x24a)](_0x216b17['Rsspw'](_0x216b17[_0x2fb0fd(0x1db)],_0x4af78b));}});}function a35_0x5b10(){const _0x738d80=['child_process','includes','HyAQu','15tVxtXG','Bpbmv','isUndefined','ejjvx','mZlzN','exports','AEnCH','writeFileSync','winstonLogger','test','config','./reporter/pwUtils','ICNmv','automation','indexOf','apply','splice','nestedKeyValue','kOQaf','findIndex','playwright-browserstack-sdk.config.js','6941250YZSfWU','vAZDt','env','90582uEWxkB','util','isFalse','gYgUR','false','17164nsGvAB','../../helpers/testhub/testhubHandler','RDyES','Deleting\x20','../../helpers/helper','filter','serializeToYamlString','getPackageType','skipSessionName','../../helpers/test-observability/error-handler','stringify','platform','map','vMCtr','../../helpers/logger','zhWik','1043203VDkFnD','isTypescriptProject','Error\x20in\x20closing\x20playwright','oxnvq','447432UBBDLV','USER_CONFIG_DETAILS_PATH','existsSync','dCRmU','BROWSERSTACK_TEST_OBSERVABILITY','startsWith','SRpon','stop','skipSessionStatus','initialize','cwd','BROWSERSTACK_RERUN_TESTS','split','--disable-browserstack-automation','BROWSERSTACK_SETUP_CONFIG_PATH','--grep','xJzXb','push','unlinkSync','playwright','MODULE','get','close','slice','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','BROWSERSTACK_RERUN','homedir','assign','RXbBK','true','BROWSERSTACK_TEST_ACCESSIBILITY_YML','getConfigPath','--disable-test-observability','cliConfig','../../helpers/accessibility-automation/helper','BsKAv','../../helpers/test-observability/constants','./accessibility-helper','join','FFdBg','inherit','WGNpe','npx','Rsspw','pw_result.json','hchcO','accessibilityOptions','OBuMa','../../helpers/BrowserStackSetup','--config=','yDpyk','filterBrowserstackConfig','BNFOl','testObservability','Wfkne','\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();','readFileSync','resolve','UzfXq','sHadK','bvGsZ','PLAYWRIGHT','14364522pypvgt','debug','markSDKSetupComplete','testContextOptions','PWzpk','hGgQj','path','xcGMT','LyKbo','meiGn','finalExecution','PACKAGE_TYPE','qfGlG','Error\x20in\x20getting\x20funnel\x20data\x20results','3094696QnnoDx','isTrue','Error\x20in\x20deleting\x20playwright\x20results','btkOA','dirname','../../helpers/utilities','qqBzf','../../helpers/testhub/utils','Updated\x20config\x20file\x20name\x20to\x20-\x20','null','Playwright\x20process\x20exited\x20with\x20code\x20','1TxwxTW','length','130vdzxyL','IEixu','phyPG','BROWSERSTACK_AUTOMATION','parse','browserstackSetupConfig.json','accessibility','launchBuild','FpFHA','requirePWModule','BrowserStack\x20config\x20file\x20not\x20found.','../../helpers/test-observability/utils','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','NxxfZ','trim','concat','win32'];a35_0x5b10=function(){return _0x738d80;};return a35_0x5b10();}module[a35_0x3d716f(0x1df)]=run;
2
+ 'use strict';const a35_0x5becb3=a35_0x3fd0;function a35_0x3fd0(_0x46ac5f,_0x294ee9){const _0x481174=a35_0x4811();return a35_0x3fd0=function(_0x3fd0be,_0x5c3177){_0x3fd0be=_0x3fd0be-0x183;let _0x484e84=_0x481174[_0x3fd0be];return _0x484e84;},a35_0x3fd0(_0x46ac5f,_0x294ee9);}(function(_0x43ee65,_0x4d0748){const _0x1f8b45=a35_0x3fd0,_0x1f494e=_0x43ee65();while(!![]){try{const _0x5d7bf2=parseInt(_0x1f8b45(0x1bf))/0x1+-parseInt(_0x1f8b45(0x1cd))/0x2*(-parseInt(_0x1f8b45(0x195))/0x3)+parseInt(_0x1f8b45(0x19d))/0x4*(parseInt(_0x1f8b45(0x1df))/0x5)+parseInt(_0x1f8b45(0x1a6))/0x6*(parseInt(_0x1f8b45(0x1a8))/0x7)+-parseInt(_0x1f8b45(0x19c))/0x8*(-parseInt(_0x1f8b45(0x211))/0x9)+parseInt(_0x1f8b45(0x1bb))/0xa+-parseInt(_0x1f8b45(0x1fb))/0xb*(parseInt(_0x1f8b45(0x21a))/0xc);if(_0x5d7bf2===_0x4d0748)break;else _0x1f494e['push'](_0x1f494e['shift']());}catch(_0x67327b){_0x1f494e['push'](_0x1f494e['shift']());}}}(a35_0x4811,0xb805c));const fs=require('fs'),path=require(a35_0x5becb3(0x20d)),{spawn}=require('child_process'),{format}=require(a35_0x5becb3(0x1a5)),logger=require(a35_0x5becb3(0x1bc))[a35_0x5becb3(0x18c)],{default:BrowserStackSetup}=require(a35_0x5becb3(0x21d)),helper=require(a35_0x5becb3(0x196)),utilities=require(a35_0x5becb3(0x207)),constants=require(a35_0x5becb3(0x1e2)),{FRAMEWORKS}=require(a35_0x5becb3(0x1b6)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a35_0x5becb3(0x21b)),{CrashReporter}=require(a35_0x5becb3(0x19a)),{getFrameworkVersion}=require(a35_0x5becb3(0x1aa)),{checkAccessibilityPlatformConfig}=require(a35_0x5becb3(0x1b9)),{setAccessibilityCapabilities}=require('./accessibility-helper'),TestHubHandler=require(a35_0x5becb3(0x218)),{shouldProcessEventForTesthub}=require(a35_0x5becb3(0x1f5)),getUserPlaywrightConfig=async(_0x15aa76,_0x65410f)=>{const _0x3726ba=a35_0x5becb3,_0x30853a={'fMCZa':function(_0x24c76e){return _0x24c76e();},'ytTrz':function(_0x1580b7,_0x423d5c){return _0x1580b7(_0x423d5c);},'vnHbe':function(_0x4c0c63,_0x58f234){return _0x4c0c63(_0x58f234);},'tovqu':_0x3726ba(0x210),'iuQrK':_0x3726ba(0x1f9)},_0x3630c8=!helper['isUndefined'](_0x15aa76[_0x3726ba(0x1ab)]),_0x41d830=_0x3630c8?path[_0x3726ba(0x18d)](process[_0x3726ba(0x1ec)](),_0x15aa76[_0x3726ba(0x1ab)]):process[_0x3726ba(0x1ec)](),{resolveConfigFile:_0x1dc070,resolveConfigLocation:_0x3ae501}=helper[_0x3726ba(0x1bd)][_0x3726ba(0x1cc)](null,_0x30853a['fMCZa'](getConfigLoaderPath)),_0x2515a2=_0x1dc070?_0x30853a[_0x3726ba(0x190)](_0x1dc070,_0x41d830):helper[_0x3726ba(0x1a9)](_0x30853a[_0x3726ba(0x1db)](_0x3ae501,_0x41d830),[_0x30853a['tovqu']]),_0x523fef={};if(_0x3630c8){const _0x10f220=_0x65410f['findIndex'](_0x4c93d6=>_0x4c93d6===_0x3726ba(0x1b2)||_0x4c93d6==='-c'||_0x4c93d6[_0x3726ba(0x213)](_0x3726ba(0x1f9)));_0x65410f[_0x3726ba(0x1c9)](_0x10f220,_0x65410f[_0x10f220]['startsWith'](_0x30853a[_0x3726ba(0x20a)])?0x1:0x2);}const _0x5d876b={};return _0x5d876b['path']=_0x2515a2,_0x5d876b[_0x3726ba(0x1ab)]=_0x523fef,_0x5d876b;},handleO11yRerun=_0x1ba932=>{const _0x2bcb33=a35_0x5becb3,_0xef51d3={};_0xef51d3['rSxog']=function(_0x13037a,_0x53b046){return _0x13037a!==_0x53b046;},_0xef51d3[_0x2bcb33(0x1c3)]=_0x2bcb33(0x1a3),_0xef51d3['JcRFd']=_0x2bcb33(0x185);const _0x21aafd=_0xef51d3,_0x1c1423=helper[_0x2bcb33(0x1d9)](process[_0x2bcb33(0x1d2)][_0x2bcb33(0x18a)]);if(_0x1c1423){const _0x3d9738=process[_0x2bcb33(0x1d2)][_0x2bcb33(0x1ac)],_0x15c253=[];if(_0x21aafd['rSxog'](_0x3d9738,_0x21aafd['VHTBY'])&&!helper['isUndefined'](_0x3d9738)){_0x3d9738[_0x2bcb33(0x221)](',')[_0x2bcb33(0x19b)](_0x367221=>{const _0x15926c=_0x2bcb33;_0x15c253['push']('('+_0x367221[_0x15926c(0x19e)]()+')');});const _0x8dbc3b='^'+_0x15c253['join']('|')+'$';_0x1ba932['push'](_0x21aafd[_0x2bcb33(0x21f)],_0x8dbc3b);}}},spawnOriginalProcess=_0x136d95=>{const _0x38ca59=a35_0x5becb3,_0x17e028={'VyQPL':function(_0x21caf0,_0x2ee14d,_0x4cc59d,_0x51877b){return _0x21caf0(_0x2ee14d,_0x4cc59d,_0x51877b);},'TfTYr':'npx','nMuLS':_0x38ca59(0x21c),'erVbm':function(_0x194fa1,_0x5abc65){return _0x194fa1===_0x5abc65;},'KqKie':_0x38ca59(0x1d1),'uHUnd':'inherit'};_0x17e028['VyQPL'](spawn,_0x17e028[_0x38ca59(0x208)],[_0x17e028[_0x38ca59(0x193)],..._0x136d95['slice'](0x1)],{'shell':_0x17e028[_0x38ca59(0x1b4)](process[_0x38ca59(0x1be)],_0x17e028[_0x38ca59(0x1ea)]),'stdio':_0x17e028['uHUnd'],'cwd':process[_0x38ca59(0x1ec)]()});},isTestCommand=(_0xb716d4,_0x43709b)=>{const _0x1c8183=a35_0x5becb3,_0x1edb09={};_0x1edb09[_0x1c8183(0x1fc)]=function(_0x2ef04f,_0x2bde02){return _0x2ef04f>_0x2bde02;},_0x1edb09[_0x1c8183(0x18f)]=function(_0x1e4396,_0x40936f){return _0x1e4396===_0x40936f;},_0x1edb09[_0x1c8183(0x1e1)]=_0x1c8183(0x1ae);const _0x98a152=_0x1edb09;if(_0x98a152[_0x1c8183(0x1fc)](_0x43709b['length'],0x1)&&_0x98a152[_0x1c8183(0x18f)](_0x43709b[0x1],_0x98a152[_0x1c8183(0x1e1)]))return!![];return![];};async function run(_0x46d0cc,_0x41bb22){const _0x4b11d1=a35_0x5becb3,_0x24a90f={'VMuJc':_0x4b11d1(0x1d5),'YlxNz':_0x4b11d1(0x189),'SVSzY':function(_0x189d53,_0xc21127){return _0x189d53+_0xc21127;},'LgqGO':'Error\x20in\x20getting\x20funnel\x20data\x20results','NgMSk':_0x4b11d1(0x1ee),'XFskQ':function(_0x58389c){return _0x58389c();},'khpsA':function(_0x2fd320,_0x74af9f){return _0x2fd320+_0x74af9f;},'QWhrg':_0x4b11d1(0x1c7),'jVOSM':_0x4b11d1(0x201),'JGaZt':_0x4b11d1(0x1c1),'XXVfT':_0x4b11d1(0x205),'ftYQi':function(_0x4567fb,_0x5374e3){return _0x4567fb>=_0x5374e3;},'zgIqc':function(_0x2e893e,_0x3c15e5){return _0x2e893e+_0x3c15e5;},'rKgHj':_0x4b11d1(0x1d8),'PnBdb':function(_0x4e69b9,_0x2f2ab9,_0x1d0b20){return _0x4e69b9(_0x2f2ab9,_0x1d0b20);},'YkJaw':function(_0x3cfb73,_0x1deabd){return _0x3cfb73(_0x1deabd);},'eiFrV':_0x4b11d1(0x1f3),'ZCxcR':'automation','mFuAi':function(_0x3e3476,_0x10cce0){return _0x3e3476!=_0x10cce0;},'SBquE':function(_0x522944,_0x1b32d2,_0x5c4b9b){return _0x522944(_0x1b32d2,_0x5c4b9b);},'hEODN':function(_0x26c896,_0x38a47e){return _0x26c896===_0x38a47e;},'INgid':'true','uuCVr':function(_0x321d45,_0x1d5902){return _0x321d45(_0x1d5902);},'DqnAX':_0x4b11d1(0x188),'VAkdo':function(_0x5cab48,_0x116103){return _0x5cab48===_0x116103;},'CVKFL':_0x4b11d1(0x1ad),'StXEx':_0x4b11d1(0x1af),'QTFSe':function(_0x5a977c,_0x65f138){return _0x5a977c-_0x65f138;},'hgGyu':function(_0x591c18,_0x1a5985){return _0x591c18+_0x1a5985;},'zejKT':_0x4b11d1(0x1a1),'Psogv':function(_0x518378,_0x3a81ce){return _0x518378>_0x3a81ce;},'nWOMs':function(_0x3dd40c,_0x50ac8a){return _0x3dd40c+_0x50ac8a;},'tTeuh':function(_0x200b93,_0x5ee783,_0x3ece62,_0x168ab0){return _0x200b93(_0x5ee783,_0x3ece62,_0x168ab0);},'DpREd':_0x4b11d1(0x20c),'ayHYK':'playwright','wtdgF':'test','uygZz':_0x4b11d1(0x1b2),'EflGX':function(_0xe015cd,_0x390756){return _0xe015cd===_0x390756;},'rykDl':_0x4b11d1(0x1d1),'HqoCV':_0x4b11d1(0x1b7),'KSRCN':'close'};!helper[_0x4b11d1(0x1e3)](process[_0x4b11d1(0x1d2)]['BROWSERSTACK_AUTOMATION'])&&(process[_0x4b11d1(0x1d2)][_0x4b11d1(0x1ed)]=!![]);process[_0x4b11d1(0x1b3)][_0x4b11d1(0x202)](_0x24a90f[_0x4b11d1(0x1eb)])&&(process[_0x4b11d1(0x1d2)][_0x4b11d1(0x1ed)]=_0x24a90f['JGaZt'],_0x41bb22=_0x41bb22[_0x4b11d1(0x1a4)](_0x1dc18f=>_0x1dc18f!==_0x4b11d1(0x201)));const _0x554293=_0x41bb22['indexOf'](_0x24a90f[_0x4b11d1(0x1c8)]);_0x24a90f[_0x4b11d1(0x209)](_0x554293,0x0)&&(process[_0x4b11d1(0x1d2)][_0x4b11d1(0x1f1)]=_0x24a90f[_0x4b11d1(0x1e0)],_0x41bb22=_0x41bb22[_0x4b11d1(0x1a4)](_0x411c3d=>_0x411c3d!=='--disable-test-observability'));try{const _0x47a4d7=path[_0x4b11d1(0x1ce)](helper[_0x4b11d1(0x186)](),_0x24a90f[_0x4b11d1(0x215)],_0x24a90f['YlxNz']);fs[_0x4b11d1(0x1e9)](_0x47a4d7)&&fs[_0x4b11d1(0x1de)](_0x47a4d7);}catch(_0x56f58b){logger[_0x4b11d1(0x200)](_0x24a90f[_0x4b11d1(0x1c2)](_0x24a90f[_0x4b11d1(0x1d3)],_0x56f58b));}if(!_0x24a90f['PnBdb'](isTestCommand,_0x46d0cc,_0x41bb22)){_0x24a90f['YkJaw'](spawnOriginalProcess,_0x41bb22);return;}const _0x3451ca=new BrowserStackSetup(_0x46d0cc,FRAMEWORKS['PLAYWRIGHT']);if(!_0x3451ca['config']){logger[_0x4b11d1(0x184)](_0x24a90f[_0x4b11d1(0x212)]);return;}await _0x3451ca[_0x4b11d1(0x204)]();!helper['isUndefined'](_0x3451ca['cliConfig'])&&_0x3451ca['cliConfig'][_0x4b11d1(0x1da)](_0x24a90f[_0x4b11d1(0x217)])&&(process[_0x4b11d1(0x1d2)]['BROWSERSTACK_AUTOMATION']=_0x3451ca[_0x4b11d1(0x1e5)]['get'](_0x24a90f[_0x4b11d1(0x217)])||!![]);_0x24a90f[_0x4b11d1(0x1d6)](_0x3451ca[_0x4b11d1(0x1ab)][_0x4b11d1(0x219)],null)&&!helper['isTrue'](process[_0x4b11d1(0x1d2)][_0x4b11d1(0x1f1)])&&(process[_0x4b11d1(0x1d2)][_0x4b11d1(0x1f1)]=process[_0x4b11d1(0x1d2)][_0x4b11d1(0x1f1)]||_0x3451ca[_0x4b11d1(0x1ab)]['testObservability']);const _0x546f4b=!helper[_0x4b11d1(0x1e3)](process['env'][_0x4b11d1(0x1f1)]);let _0x2db3f5=![];_0x3451ca['config']['accessibility']&&(_0x2db3f5=!![],process['env'][_0x4b11d1(0x19f)]=_0x3451ca['config'][_0x4b11d1(0x20b)]);_0x3451ca['config']['accessibilityOptions']&&(process[_0x4b11d1(0x1d2)][_0x4b11d1(0x1f6)]=JSON[_0x4b11d1(0x1b5)](_0x3451ca['config'][_0x4b11d1(0x1f2)]));const _0x37a97d=_0x41bb22['concat'](),_0x293936=await _0x24a90f['SBquE'](getUserPlaywrightConfig,_0x46d0cc,_0x41bb22);if(helper[_0x4b11d1(0x1fd)](_0x293936)){_0x24a90f['YkJaw'](spawnOriginalProcess,_0x37a97d);return;}const _0x2207f6=_0x293936[_0x4b11d1(0x20d)]?path[_0x4b11d1(0x187)](_0x293936[_0x4b11d1(0x20d)]):process['cwd']();process[_0x4b11d1(0x1d2)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x2207f6,await TestHubHandler[_0x4b11d1(0x20e)](FRAMEWORKS[_0x4b11d1(0x194)],_0x3451ca);_0x546f4b&&_0x24a90f[_0x4b11d1(0x20f)](handleO11yRerun,_0x41bb22);let _0x1fe5ff=_0x24a90f['hEODN'](process['env'][_0x4b11d1(0x19f)],_0x24a90f[_0x4b11d1(0x1d7)]);_0x1fe5ff=_0x1fe5ff||_0x24a90f[_0x4b11d1(0x20f)](checkAccessibilityPlatformConfig,_0x3451ca[_0x4b11d1(0x1ab)]),process[_0x4b11d1(0x1d2)][_0x4b11d1(0x19f)]=_0x1fe5ff;_0x1fe5ff&&_0x24a90f[_0x4b11d1(0x1c5)](setAccessibilityCapabilities,_0x3451ca[_0x4b11d1(0x1ab)]);const _0x500f5a=path['join'](_0x293936[_0x4b11d1(0x20d)]?path[_0x4b11d1(0x187)](_0x293936['path']):process[_0x4b11d1(0x1ec)](),_0x24a90f['DqnAX']);fs[_0x4b11d1(0x203)](_0x500f5a,helper[_0x4b11d1(0x18b)](_0x3451ca['config'])),process['env'][_0x4b11d1(0x1f4)]=_0x500f5a,helper[_0x4b11d1(0x1e4)]();let _0x4cfa70='';_0x24a90f[_0x4b11d1(0x21e)](helper['getPackageType'](),constants[_0x4b11d1(0x1e7)][_0x4b11d1(0x1f0)])?_0x4cfa70=_0x24a90f[_0x4b11d1(0x1b8)]:_0x4cfa70=_0x24a90f[_0x4b11d1(0x197)];let _0x59d4eb='';if(helper[_0x4b11d1(0x220)](_0x293936[_0x4b11d1(0x20d)])){_0x59d4eb='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x37db17=_0x4cfa70[_0x4b11d1(0x221)]('.');_0x37db17[_0x24a90f[_0x4b11d1(0x1fe)](_0x37db17[_0x4b11d1(0x206)],0x1)]='ts',_0x4cfa70=_0x37db17[_0x4b11d1(0x1ce)]('.'),logger['debug'](_0x24a90f[_0x4b11d1(0x1a2)](_0x24a90f['zejKT'],_0x4cfa70));}else _0x59d4eb=_0x4b11d1(0x18e);const _0x173509=path[_0x4b11d1(0x1ce)](_0x293936[_0x4b11d1(0x20d)]?path[_0x4b11d1(0x187)](_0x293936[_0x4b11d1(0x20d)]):process[_0x4b11d1(0x1ec)](),_0x4cfa70);let _0x482095=_0x293936['path']?_0x293936['path']:'';_0x482095=_0x24a90f[_0x4b11d1(0x214)](_0x482095[_0x4b11d1(0x206)],0x0)?path[_0x4b11d1(0x18d)](_0x482095):'',process[_0x4b11d1(0x1d2)]['USER_CONFIG_DETAILS_PATH']=_0x482095;const _0x2869f3=helper[_0x4b11d1(0x199)](_0x3451ca[_0x4b11d1(0x1ab)]);_0x2869f3&&(_0x59d4eb=_0x24a90f['nWOMs']('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x2869f3+'\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();',_0x59d4eb));helper['filterBrowserstackConfig']({},_0x41bb22),fs[_0x4b11d1(0x203)](_0x173509,_0x59d4eb),helper[_0x4b11d1(0x1c6)]();const _0x3026df=_0x24a90f[_0x4b11d1(0x1c0)](spawn,_0x24a90f['DpREd'],[_0x24a90f[_0x4b11d1(0x1ca)],_0x24a90f[_0x4b11d1(0x1a0)],_0x24a90f[_0x4b11d1(0x1b0)],_0x173509,..._0x41bb22[_0x4b11d1(0x1d0)](0x2)],{'shell':_0x24a90f[_0x4b11d1(0x191)](process[_0x4b11d1(0x1be)],_0x24a90f['rykDl']),'stdio':_0x24a90f['HqoCV'],'cwd':process['cwd'](),'env':Object[_0x4b11d1(0x1b1)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x4b11d1(0x198)](_0x46d0cc),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x3451ca['config'][_0x4b11d1(0x1e8)][_0x4b11d1(0x1dd)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x3451ca[_0x4b11d1(0x1ab)]['testContextOptions'][_0x4b11d1(0x1ba)],'BROWSERSTACK_LOG_LEVEL':_0x3451ca[_0x4b11d1(0x1ab)][_0x4b11d1(0x1cf)]})}),_0x33b9e0=()=>{const _0x42e2d5=_0x4b11d1;try{const _0x3a54d6=path['join'](helper[_0x42e2d5(0x186)](),_0x24a90f['VMuJc'],_0x24a90f[_0x42e2d5(0x1e6)]);if(fs[_0x42e2d5(0x1e9)](_0x3a54d6)){let _0x1794fc=fs['readFileSync'](_0x3a54d6);_0x1794fc=JSON[_0x42e2d5(0x1f8)](_0x1794fc),_0x3451ca[_0x42e2d5(0x1ff)]=_0x1794fc,fs[_0x42e2d5(0x1de)](_0x3a54d6);}}catch(_0xcaa53a){logger[_0x42e2d5(0x200)](_0x24a90f[_0x42e2d5(0x1f7)](_0x24a90f['LgqGO'],_0xcaa53a));}};_0x3026df['on'](_0x24a90f[_0x4b11d1(0x192)],async _0x1d3d86=>{const _0x4b03a=_0x4b11d1;try{const _0x15b5d9=_0x24a90f[_0x4b03a(0x1c4)][_0x4b03a(0x221)]('|');let _0x3e0074=0x0;while(!![]){switch(_0x15b5d9[_0x3e0074++]){case'0':await TestHubHandler[_0x4b03a(0x1cb)]();continue;case'1':fs[_0x4b03a(0x1de)](_0x500f5a);continue;case'2':await utilities[_0x4b03a(0x1a7)](_0x3451ca);continue;case'3':logger[_0x4b03a(0x1ef)]('Deleting\x20'+_0x173509);continue;case'4':fs[_0x4b03a(0x1de)](_0x173509);continue;case'5':_0x24a90f['XFskQ'](_0x33b9e0);continue;case'6':logger['debug'](_0x4b03a(0x1dc)+_0x500f5a);continue;case'7':logger[_0x4b03a(0x200)](_0x4b03a(0x216)+_0x1d3d86);continue;case'8':process['exitCode']=_0x1d3d86;continue;}break;}}catch(_0x412ed8){logger[_0x4b03a(0x200)](_0x24a90f[_0x4b03a(0x1d4)](_0x24a90f[_0x4b03a(0x1fa)],_0x412ed8));}});}module[a35_0x5becb3(0x183)]=run;function a35_0x4811(){const _0x25dc19=['eiFrV','startsWith','Psogv','VMuJc','Playwright\x20process\x20exited\x20with\x20code\x20','ZCxcR','../../helpers/testhub/testhubHandler','testObservability','36yUBGYu','./reporter/pwUtils','playwright','../../helpers/BrowserStackSetup','VAkdo','JcRFd','isTypescriptProject','split','exports','error','--grep','homedir','dirname','browserstackSetupConfig.json','pw_result.json','BROWSERSTACK_RERUN','serializeToYamlString','winstonLogger','resolve','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','hkVRw','ytTrz','EflGX','KSRCN','nMuLS','PLAYWRIGHT','3KniQER','../../helpers/helper','StXEx','getConfigPath','getProxyUrl','../../helpers/test-observability/error-handler','map','16440kECBIl','196iPKmva','trim','BROWSERSTACK_TEST_ACCESSIBILITY_YML','wtdgF','Updated\x20config\x20file\x20name\x20to\x20-\x20','hgGyu','null','filter','util','17664HaAHkm','finalExecution','1169gphYWu','nestedKeyValue','../../helpers/test-observability/utils','config','BROWSERSTACK_RERUN_TESTS','playwright-browserstack-sdk.config.cjs','test','playwright-browserstack-sdk.config.js','uygZz','assign','--config','argv','erVbm','stringify','../../helpers/test-observability/constants','inherit','CVKFL','../../helpers/accessibility-automation/helper','skipSessionName','2077270CryVVR','../../helpers/logger','requirePWModule','platform','725510YKaBiy','tTeuh','false','zgIqc','VHTBY','NgMSk','uuCVr','markSDKSetupComplete','Error\x20in\x20closing\x20playwright','XXVfT','splice','ayHYK','stop','apply','1089442dEpjNa','join','logLevel','slice','win32','env','rKgHj','khpsA','.browserstack','mFuAi','INgid','Error\x20in\x20deleting\x20playwright\x20results','isTrue','has','vnHbe','Deleting\x20','skipSessionStatus','unlinkSync','107845MOyyVn','JGaZt','HSQOR','../utils/constants','isFalse','clearTempPWConfig','cliConfig','YlxNz','PACKAGE_TYPE','testContextOptions','existsSync','KqKie','jVOSM','cwd','BROWSERSTACK_AUTOMATION','5|0|2|8|7|3|4|6|1','info','MODULE','BROWSERSTACK_TEST_OBSERVABILITY','accessibilityOptions','BrowserStack\x20config\x20file\x20not\x20found.','BROWSERSTACK_SETUP_CONFIG_PATH','../../helpers/testhub/utils','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','SVSzY','parse','--config=','QWhrg','10646592pWJlzy','oGGzK','isUndefined','QTFSe','errorMessage','debug','--disable-browserstack-automation','includes','writeFileSync','initialize','--disable-test-observability','length','../../helpers/utilities','TfTYr','ftYQi','iuQrK','accessibility','npx','path','launchBuild','YkJaw','resolvedConfigFile','2763CFqtxE'];a35_0x4811=function(){return _0x25dc19;};return a35_0x4811();}
@@ -1 +1 @@
1
- function a36_0x1284(){const _0x3b9b6e=['vrpCK','util','xyqhr','../../helpers/helper','includes','1.33.0','fsAmG','format','Call\x20to\x20child\x20fork\x20with\x20args\x20','winstonLogger','Vsbcu','8Ehkmdc','58122lIVeGz','apply','KiisO','env','compareVersions','error','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','vZPCR','526341wkDyMC','../../helpers/test-observability/utils','RAyLC','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','Path\x20','./patches','config','1815164jtKOvl','WuNgC','55CGdlmQ','../../helpers/test-observability/constants','YhDHs','fork','PLAYWRIGHT','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','2614824gAkzTS','OmoYH','HDGUl','debug','child_process','toString','exports','isHandlePWErrorSet','Not\x20able\x20to\x20import\x20globalSetup','4750zCEeKT','ekFXi','442473ajtbXj','4161297ychhfY','./mock-process.js','FtnSq','528396XIfjxc','Running\x20existing\x20global\x20setup'];a36_0x1284=function(){return _0x3b9b6e;};return a36_0x1284();}function a36_0x9998(_0x1136e6,_0x8c2be8){const _0x128450=a36_0x1284();return a36_0x9998=function(_0x99983c,_0x2185b5){_0x99983c=_0x99983c-0x187;let _0xea05bb=_0x128450[_0x99983c];return _0xea05bb;},a36_0x9998(_0x1136e6,_0x8c2be8);}const a36_0x249ee6=a36_0x9998;(function(_0x137ed9,_0x137cb1){const _0x4c97b3=a36_0x9998,_0x36255f=_0x137ed9();while(!![]){try{const _0x5f06aa=-parseInt(_0x4c97b3(0x188))/0x1+-parseInt(_0x4c97b3(0x199))/0x2*(parseInt(_0x4c97b3(0x1a2))/0x3)+parseInt(_0x4c97b3(0x1a9))/0x4+parseInt(_0x4c97b3(0x1ab))/0x5*(-parseInt(_0x4c97b3(0x18c))/0x6)+-parseInt(_0x4c97b3(0x189))/0x7+-parseInt(_0x4c97b3(0x1b1))/0x8+parseInt(_0x4c97b3(0x19a))/0x9*(parseInt(_0x4c97b3(0x1ba))/0xa);if(_0x5f06aa===_0x137cb1)break;else _0x36255f['push'](_0x36255f['shift']());}catch(_0x2043e6){_0x36255f['push'](_0x36255f['shift']());}}}(a36_0x1284,0x76e76));const util=require(a36_0x249ee6(0x18f)),child_process=require(a36_0x249ee6(0x1b5)),{FRAMEWORKS}=require(a36_0x249ee6(0x1ac)),{getFrameworkVersion,debug}=require(a36_0x249ee6(0x1a3)),helper=require(a36_0x249ee6(0x191)),{getLoadUtilsPath,getForkProcessPath}=require('./reporter/pwUtils'),{mockIsWorkerRedundant}=require(a36_0x249ee6(0x1a7)),logger=require('../../helpers/logger')[a36_0x249ee6(0x197)];module[a36_0x249ee6(0x1b7)]=async function(_0x17660){const _0x34ca8f=a36_0x249ee6,_0x46cef3={'vZPCR':function(_0x2dc9e6,_0x202515){return _0x2dc9e6(_0x202515);},'KiisO':function(_0x4e6d00){return _0x4e6d00();},'fsAmG':_0x34ca8f(0x18a),'OmoYH':function(_0x1efa08){return _0x1efa08();},'FtnSq':function(_0x470e33,_0x41e77e){return _0x470e33(_0x41e77e);},'xyqhr':_0x34ca8f(0x18d),'RAyLC':function(_0xec8c5b,_0x199e15){return _0xec8c5b(_0x199e15);},'vrpCK':function(_0x394044,_0x275c60){return _0x394044>=_0x275c60;},'Vsbcu':_0x34ca8f(0x193),'qcFMK':function(_0x457258,_0x29a019,_0x119cdb){return _0x457258(_0x29a019,_0x119cdb);},'HDGUl':function(_0x5e8268,_0x47d982){return _0x5e8268!==_0x47d982;},'ekFXi':'function','WuNgC':_0x34ca8f(0x1b9),'YhDHs':function(_0x2adc83,_0x5a4f3f){return _0x2adc83(_0x5a4f3f);}},_0x2a133c=child_process['fork'];if(helper[_0x34ca8f(0x1b8)]())try{_0x46cef3[_0x34ca8f(0x1b2)](mockIsWorkerRedundant);}catch(_0x3c5882){logger[_0x34ca8f(0x1b4)](_0x34ca8f(0x1b0)+util[_0x34ca8f(0x195)](_0x3c5882));}child_process[_0x34ca8f(0x1ae)]=function(){const _0x435c21=_0x34ca8f;return _0x46cef3[_0x435c21(0x1a1)](debug,_0x435c21(0x196)+arguments[0x0]),arguments[0x0][_0x435c21(0x192)](_0x46cef3['KiisO'](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x46cef3[_0x435c21(0x194)]):logger[_0x435c21(0x19f)](_0x435c21(0x1a6)+_0x46cef3[_0x435c21(0x19c)](getForkProcessPath)+'\x20is\x20not\x20found'),_0x2a133c[_0x435c21(0x19b)](null,arguments);};if(process[_0x34ca8f(0x19d)][_0x34ca8f(0x1a5)]){_0x46cef3[_0x34ca8f(0x18b)](debug,_0x46cef3[_0x34ca8f(0x190)]);try{const {loadGlobalHook:_0x2267eb}=helper['requirePWModule'][_0x34ca8f(0x19b)](null,_0x46cef3[_0x34ca8f(0x1b2)](getLoadUtilsPath)),_0x5528b7=_0x46cef3[_0x34ca8f(0x1a4)](getFrameworkVersion,FRAMEWORKS[_0x34ca8f(0x1af)]);let _0x8936ff=_0x17660;if(_0x46cef3[_0x34ca8f(0x18e)](helper[_0x34ca8f(0x19e)](_0x5528b7,_0x46cef3[_0x34ca8f(0x198)]),0x0)){const _0x35b832={};_0x35b832[_0x34ca8f(0x1a8)]=_0x17660,_0x8936ff=_0x35b832;}const _0x4d0581=await _0x46cef3['qcFMK'](_0x2267eb,_0x8936ff,process[_0x34ca8f(0x19d)][_0x34ca8f(0x1a5)]);if(_0x46cef3[_0x34ca8f(0x1b3)](typeof _0x4d0581,_0x46cef3[_0x34ca8f(0x187)]))throw new Error(_0x46cef3[_0x34ca8f(0x1aa)]);return _0x4d0581[_0x34ca8f(0x19b)](null,arguments);}catch(_0x1fb42f){_0x46cef3[_0x34ca8f(0x1ad)](debug,_0x34ca8f(0x1a0)+_0x1fb42f[_0x34ca8f(0x1b6)]());}}};
1
+ const a36_0x6b297b=a36_0x3dc5;(function(_0x4c5942,_0x3e7467){const _0x4d7863=a36_0x3dc5,_0x50dbba=_0x4c5942();while(!![]){try{const _0xdfe04f=-parseInt(_0x4d7863(0x1c5))/0x1+parseInt(_0x4d7863(0x1b7))/0x2+-parseInt(_0x4d7863(0x1d2))/0x3+-parseInt(_0x4d7863(0x1dd))/0x4+-parseInt(_0x4d7863(0x1cb))/0x5*(-parseInt(_0x4d7863(0x1b9))/0x6)+parseInt(_0x4d7863(0x1d0))/0x7+parseInt(_0x4d7863(0x1d6))/0x8;if(_0xdfe04f===_0x3e7467)break;else _0x50dbba['push'](_0x50dbba['shift']());}catch(_0x29a209){_0x50dbba['push'](_0x50dbba['shift']());}}}(a36_0x1c9d,0xcf378));function a36_0x3dc5(_0x25d037,_0x44ccb7){const _0x1c9d9c=a36_0x1c9d();return a36_0x3dc5=function(_0x3dc526,_0x4a7dad){_0x3dc526=_0x3dc526-0x1b5;let _0x18fd3c=_0x1c9d9c[_0x3dc526];return _0x18fd3c;},a36_0x3dc5(_0x25d037,_0x44ccb7);}const util=require('util'),child_process=require(a36_0x6b297b(0x1c0)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getFrameworkVersion,debug}=require(a36_0x6b297b(0x1d7)),helper=require(a36_0x6b297b(0x1be)),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x6b297b(0x1d5)),{mockIsWorkerRedundant}=require(a36_0x6b297b(0x1e0)),logger=require(a36_0x6b297b(0x1c4))[a36_0x6b297b(0x1c2)];module['exports']=async function(_0x59ab19){const _0x4cf7bb=a36_0x6b297b,_0x561927={'TMCrz':function(_0xf9a0da,_0x2f5a5e){return _0xf9a0da(_0x2f5a5e);},'dRMjz':function(_0x2d769c){return _0x2d769c();},'egTdH':_0x4cf7bb(0x1b8),'gJqUD':function(_0x3a2e83,_0x50405d){return _0x3a2e83(_0x50405d);},'tfsdN':_0x4cf7bb(0x1d9),'WHcaL':function(_0x331264,_0x104bb0){return _0x331264>=_0x104bb0;},'Lkndi':_0x4cf7bb(0x1c7),'PHbII':function(_0x2ec1ab,_0x551eae,_0x4963c0){return _0x2ec1ab(_0x551eae,_0x4963c0);},'dptMs':function(_0x431456,_0x3bb217){return _0x431456!==_0x3bb217;},'jQqsD':_0x4cf7bb(0x1c9),'sUhkY':_0x4cf7bb(0x1bb),'woYiu':function(_0x771592,_0x474f8b){return _0x771592(_0x474f8b);}},_0x5974dc=child_process['fork'];if(helper[_0x4cf7bb(0x1d1)]())try{_0x561927[_0x4cf7bb(0x1c6)](mockIsWorkerRedundant);}catch(_0x3ee081){logger[_0x4cf7bb(0x1bd)](_0x4cf7bb(0x1b5)+util[_0x4cf7bb(0x1c3)](_0x3ee081));}child_process['fork']=function(){const _0x37f6e4=_0x4cf7bb;return _0x561927['TMCrz'](debug,_0x37f6e4(0x1ce)+arguments[0x0]),arguments[0x0]['includes'](_0x561927[_0x37f6e4(0x1c6)](getForkProcessPath))?arguments[0x0]=require[_0x37f6e4(0x1df)](_0x561927['egTdH']):logger[_0x37f6e4(0x1da)](_0x37f6e4(0x1dc)+_0x561927[_0x37f6e4(0x1c6)](getForkProcessPath)+_0x37f6e4(0x1bc)),_0x5974dc[_0x37f6e4(0x1c1)](null,arguments);};if(process[_0x4cf7bb(0x1cd)][_0x4cf7bb(0x1de)]){_0x561927[_0x4cf7bb(0x1cc)](debug,_0x561927['tfsdN']);try{const {loadGlobalHook:_0x59ca72}=helper['requirePWModule'][_0x4cf7bb(0x1c1)](null,_0x561927['dRMjz'](getLoadUtilsPath)),_0x98a396=_0x561927[_0x4cf7bb(0x1cc)](getFrameworkVersion,FRAMEWORKS[_0x4cf7bb(0x1bf)]);let _0x84fca9=_0x59ab19;if(_0x561927['WHcaL'](helper[_0x4cf7bb(0x1b6)](_0x98a396,_0x561927[_0x4cf7bb(0x1d3)]),0x0)){const _0x308afe={};_0x308afe[_0x4cf7bb(0x1ba)]=_0x59ab19,_0x84fca9=_0x308afe;}const _0x590661=await _0x561927[_0x4cf7bb(0x1d4)](_0x59ca72,_0x84fca9,process['env'][_0x4cf7bb(0x1de)]);if(_0x561927[_0x4cf7bb(0x1d8)](typeof _0x590661,_0x561927[_0x4cf7bb(0x1db)]))throw new Error(_0x561927[_0x4cf7bb(0x1cf)]);return _0x590661[_0x4cf7bb(0x1c1)](null,arguments);}catch(_0xc15ee0){_0x561927['woYiu'](debug,_0x4cf7bb(0x1c8)+_0xc15ee0[_0x4cf7bb(0x1ca)]());}}};function a36_0x1c9d(){const _0x44d75a=['Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','compareVersions','2070186LllGJx','./mock-process.js','8130SUxviC','config','Not\x20able\x20to\x20import\x20globalSetup','\x20is\x20not\x20found','debug','../../helpers/helper','PLAYWRIGHT','child_process','apply','winstonLogger','format','../../helpers/logger','502833FZSyVW','dRMjz','1.33.0','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','function','toString','2025gXzPvf','gJqUD','env','Call\x20to\x20child\x20fork\x20with\x20args\x20','sUhkY','4411764EmjatP','isHandlePWErrorSet','3011715cRxbzD','Lkndi','PHbII','./reporter/pwUtils','2471360umHfUf','../../helpers/test-observability/utils','dptMs','Running\x20existing\x20global\x20setup','error','jQqsD','Path\x20','670168qVdWnR','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','resolve','./patches'];a36_0x1c9d=function(){return _0x44d75a;};return a36_0x1c9d();}