browserstack-node-sdk 1.33.1 → 1.33.3

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 (120) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  37. package/src/bin/codeceptjs/command.js +1 -1
  38. package/src/bin/codeceptjs/helper.js +1 -1
  39. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  40. package/src/bin/cucumber-js/command.js +1 -1
  41. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  43. package/src/bin/cucumber-js/test.setup.js +1 -1
  44. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  45. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  46. package/src/bin/integrations/command.js +1 -1
  47. package/src/bin/integrations/constants.js +1 -1
  48. package/src/bin/jest/command.js +1 -1
  49. package/src/bin/jest/customImplements/customCircus.js +1 -1
  50. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  51. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  52. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  53. package/src/bin/jest/jest.setup.js +1 -1
  54. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  55. package/src/bin/jest/test-observability/helper.js +1 -1
  56. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  57. package/src/bin/jest/test-observability/test-details.js +1 -1
  58. package/src/bin/jest/test_before.setup.js +1 -1
  59. package/src/bin/launcher/launcher.js +1 -1
  60. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  61. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  62. package/src/bin/mocha/command.js +1 -1
  63. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  64. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  65. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  66. package/src/bin/mocha/test.setup.js +1 -1
  67. package/src/bin/nightwatch/command.js +1 -1
  68. package/src/bin/playwright/accessibility-helper.js +1 -1
  69. package/src/bin/playwright/command.js +1 -1
  70. package/src/bin/playwright/globalSetup.js +1 -1
  71. package/src/bin/playwright/mock-process.js +1 -1
  72. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  73. package/src/bin/playwright/patches.js +1 -1
  74. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  75. package/src/bin/playwright/reporter/reporter.js +1 -1
  76. package/src/bin/playwright/reporter/test-details.js +1 -1
  77. package/src/bin/playwright/sessionDetails.js +1 -1
  78. package/src/bin/runner.js +1 -1
  79. package/src/bin/setup.js +1 -1
  80. package/src/bin/test-runner/index.js +1 -1
  81. package/src/bin/test-runner/runTest.js +1 -1
  82. package/src/bin/test-runner/testWorker.js +1 -1
  83. package/src/bin/utils/constants.js +1 -1
  84. package/src/bin/utils/log4jsAppender.js +1 -1
  85. package/src/bin/utils/logPatcher.js +1 -1
  86. package/src/bin/utils/logReportingAPI.js +1 -1
  87. package/src/bin/vanilla-js/command.js +1 -1
  88. package/src/browserStackSdk.js +1 -1
  89. package/src/helpers/BrowserStackSetup.js +1 -1
  90. package/src/helpers/accessibility-automation/constants.js +1 -1
  91. package/src/helpers/accessibility-automation/helper.js +1 -1
  92. package/src/helpers/accessibility-automation/scripts.js +1 -1
  93. package/src/helpers/ats/constants.js +1 -1
  94. package/src/helpers/ats/helper.js +1 -1
  95. package/src/helpers/capsMapping.js +1 -1
  96. package/src/helpers/globals.js +1 -1
  97. package/src/helpers/helper.js +1 -1
  98. package/src/helpers/logger.js +1 -1
  99. package/src/helpers/patchHelpers.js +1 -1
  100. package/src/helpers/percy/Percy.js +1 -1
  101. package/src/helpers/percy/PercyBinary.js +1 -1
  102. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  103. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  104. package/src/helpers/percy/PercySDK.js +1 -1
  105. package/src/helpers/percy/index.js +1 -1
  106. package/src/helpers/percy/utils.js +1 -1
  107. package/src/helpers/performance-tester.js +1 -1
  108. package/src/helpers/request-spy.js +1 -1
  109. package/src/helpers/setKeepAlive.js +1 -1
  110. package/src/helpers/test-observability/constants.js +1 -1
  111. package/src/helpers/test-observability/error-handler.js +1 -1
  112. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  113. package/src/helpers/test-observability/sessionHandler.js +1 -1
  114. package/src/helpers/test-observability/utils.js +1 -1
  115. package/src/helpers/testhub/constants.js +1 -1
  116. package/src/helpers/testhub/testhubHandler.js +1 -1
  117. package/src/helpers/testhub/utils.js +1 -1
  118. package/src/helpers/w3cMapping.js +1 -1
  119. package/src/hubAllocationMethods.js +1 -1
  120. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a21_0x129a(){const _0x53baf5=['removeTestUUID','.json','shutdown','tqHuG','toString','22273121dNyBCm','parse','90xGeqPO','BgUAG','_projectId','../../../helpers/testhub/constants','14728dvnSxA','81jTWczb','dirPath','60100iBtJAo','getTestUUID','testData.json','12188EkEJhD','283130DNLIrn','lNGmZ','mkdirSync','2288ydYxXi','stringify','rmSync','624sEquan','GqDPs','2128jbPUBH','jest-o11y-','RMSKR','join','writeFileSync','readFileSync','env','ySmup','getFilePath','tests','recursive','setTestData','exports','ENV_VAR','existsSync','path','force','jWWsa','OALMh','_test','798CeABuv','383784MSURiY','uuid','.browserstack','44MFxgem','BROWSERSTACK_TESTHUB_UUID'];a21_0x129a=function(){return _0x53baf5;};return a21_0x129a();}const a21_0x15cb58=a21_0x4a34;(function(_0x51e1f2,_0x20e26f){const _0x19ca03=a21_0x4a34,_0x141aff=_0x51e1f2();while(!![]){try{const _0x37c00d=-parseInt(_0x19ca03(0x151))/0x1*(parseInt(_0x19ca03(0x14e))/0x2)+parseInt(_0x19ca03(0x133))/0x3*(-parseInt(_0x19ca03(0x14a))/0x4)+parseInt(_0x19ca03(0x14b))/0x5*(parseInt(_0x19ca03(0x140))/0x6)+parseInt(_0x19ca03(0x144))/0x7*(-parseInt(_0x19ca03(0x153))/0x8)+-parseInt(_0x19ca03(0x145))/0x9*(parseInt(_0x19ca03(0x147))/0xa)+-parseInt(_0x19ca03(0x137))/0xb*(-parseInt(_0x19ca03(0x134))/0xc)+parseInt(_0x19ca03(0x13e))/0xd;if(_0x37c00d===_0x20e26f)break;else _0x141aff['push'](_0x141aff['shift']());}catch(_0x4a2580){_0x141aff['push'](_0x141aff['shift']());}}}(a21_0x129a,0x86e4b));const fs=require('fs'),path=require(a21_0x15cb58(0x162)),{v4:uuidv4}=require(a21_0x15cb58(0x135)),helper=require('../../../helpers/helper'),testHubConstants=require(a21_0x15cb58(0x143));function a21_0x4a34(_0x515af0,_0x36a4bf){const _0x129a76=a21_0x129a();return a21_0x4a34=function(_0x4a3466,_0x511e86){_0x4a3466=_0x4a3466-0x130;let _0x587023=_0x129a76[_0x4a3466];return _0x587023;},a21_0x4a34(_0x515af0,_0x36a4bf);}class TestDetails{static [a21_0x15cb58(0x15c)]={};static [a21_0x15cb58(0x146)]=path[a21_0x15cb58(0x156)](helper['homedir'](),a21_0x15cb58(0x136),a21_0x15cb58(0x154)+process['env'][testHubConstants['ENV_VAR'][a21_0x15cb58(0x138)]]);static['setup'](){const _0x262350=a21_0x15cb58,_0x299d7c={};_0x299d7c[_0x262350(0x131)]='.browserstack';const _0x337c29=_0x299d7c;this[_0x262350(0x146)]=path[_0x262350(0x156)](helper['homedir'](),_0x337c29[_0x262350(0x131)],_0x262350(0x154)+process[_0x262350(0x159)][testHubConstants[_0x262350(0x160)][_0x262350(0x138)]]),this['shutdown']();const _0x48e2c1={};_0x48e2c1[_0x262350(0x15d)]=!![],fs[_0x262350(0x14d)](this[_0x262350(0x146)],_0x48e2c1);}static['getFilePath'](_0x12ec79){const _0x24a1bf=a21_0x15cb58,_0x54947f={};_0x54947f[_0x24a1bf(0x155)]=function(_0x4619b7,_0x679c16){return _0x4619b7+_0x679c16;},_0x54947f['lNGmZ']=_0x24a1bf(0x13a);const _0x58e83b=_0x54947f;return path[_0x24a1bf(0x156)](this[_0x24a1bf(0x146)],_0x58e83b[_0x24a1bf(0x155)](_0x12ec79,_0x58e83b[_0x24a1bf(0x14c)]));}static['getTestRunIdFromTestInfo'](_0x214f4a){const _0x4a9bd1=a21_0x15cb58,_0x3e3389={};_0x3e3389[_0x4a9bd1(0x130)]=function(_0x11dc2e,_0xef8915){return _0x11dc2e+_0xef8915;},_0x3e3389['tqHuG']=function(_0x3badf4,_0x3da901){return _0x3badf4+_0x3da901;};const _0x436af4=_0x3e3389;return _0x436af4[_0x4a9bd1(0x130)](_0x436af4[_0x4a9bd1(0x13c)](_0x436af4[_0x4a9bd1(0x130)](_0x436af4['jWWsa'](_0x214f4a[_0x4a9bd1(0x132)][_0x4a9bd1(0x142)],'-'),_0x214f4a['_test']['id']),'-'),_0x214f4a['retry']);}static[a21_0x15cb58(0x148)](_0x49f097){const _0x14c9c4=a21_0x15cb58,_0x444c88=this[_0x14c9c4(0x15b)](_0x49f097);if(fs['existsSync'](_0x444c88)){const _0xafeed8=JSON['parse'](fs[_0x14c9c4(0x158)](_0x444c88)[_0x14c9c4(0x13d)]());return this[_0x14c9c4(0x15c)][_0x49f097]=_0xafeed8,this[_0x14c9c4(0x15c)][_0x49f097][_0x14c9c4(0x135)];}}static[a21_0x15cb58(0x15e)](_0x1997fc){const _0x4de860=a21_0x15cb58,_0x498793={};_0x498793[_0x4de860(0x152)]=_0x4de860(0x149);const _0x5c549d=_0x498793,_0x40b11c=path['join'](this[_0x4de860(0x146)],_0x5c549d[_0x4de860(0x152)]);fs[_0x4de860(0x157)](_0x40b11c,JSON[_0x4de860(0x14f)](_0x1997fc));}static['getTestData'](){const _0x1245e5=a21_0x15cb58,_0x379e15={};_0x379e15[_0x1245e5(0x141)]=_0x1245e5(0x149);const _0xf89262=_0x379e15,_0x2c61fd=path[_0x1245e5(0x156)](this['dirPath'],_0xf89262['BgUAG']);let _0x4ffb94={};try{return fs[_0x1245e5(0x161)](_0x2c61fd)&&(_0x4ffb94=JSON[_0x1245e5(0x13f)](fs['readFileSync'](_0x2c61fd)[_0x1245e5(0x13d)]())),_0x4ffb94;}catch(_0x49a7d8){return _0x4ffb94;}}static['setTestUUID'](_0x2dce51){const _0x4100a7=a21_0x15cb58,_0x4864f6={'ySmup':function(_0x138de8){return _0x138de8();}},_0x3bfeb6=this[_0x4100a7(0x15b)](_0x2dce51);return this[_0x4100a7(0x15c)][_0x2dce51]={'uuid':_0x4864f6[_0x4100a7(0x15a)](uuidv4)},fs[_0x4100a7(0x157)](_0x3bfeb6,JSON['stringify'](this['tests'][_0x2dce51])),this['tests'][_0x2dce51]['uuid'];}static[a21_0x15cb58(0x139)](_0x3390e3){const _0x26d131=a21_0x15cb58,_0x25f1a2=this['getFilePath'](_0x3390e3);fs[_0x26d131(0x161)](_0x25f1a2)&&fs['unlinkSync'](_0x25f1a2);}static[a21_0x15cb58(0x13b)](){const _0x258f76=a21_0x15cb58,_0xb2a9e2={};_0xb2a9e2[_0x258f76(0x15d)]=!![],_0xb2a9e2[_0x258f76(0x163)]=!![],fs[_0x258f76(0x150)](this[_0x258f76(0x146)],_0xb2a9e2);}}module[a21_0x15cb58(0x15f)]=TestDetails;
1
+ function a21_0x1ef6(){const _0x10e761=['testData.json','exports','getFilePath','setup','readFileSync','writeFileSync','128079bukFpS','../../../helpers/testhub/constants','700suZstt','.browserstack','unlinkSync','shutdown','5081zQlHgv','46EvwRtM','11015NwFnFA','jest-o11y-','PRUou','HxeNR','EVrtL','stringify','parse','2428848etZeUa','toString','RqZVy','mkdirSync','kTCOL','695387cTDQHX','removeTestUUID','env','dirPath','GlQMk','recursive','tests','BROWSERSTACK_TESTHUB_UUID','join','uuid','_test','getTestUUID','retry','path','force','existsSync','../../../helpers/helper','ENV_VAR','YySMu','495414IIFQon','zjMGi','homedir','2361856LttdVn'];a21_0x1ef6=function(){return _0x10e761;};return a21_0x1ef6();}const a21_0x23661b=a21_0x3455;function a21_0x3455(_0xbec532,_0x1f1789){const _0x1ef6cd=a21_0x1ef6();return a21_0x3455=function(_0x3455f2,_0x4640cb){_0x3455f2=_0x3455f2-0x14f;let _0x18cf66=_0x1ef6cd[_0x3455f2];return _0x18cf66;},a21_0x3455(_0xbec532,_0x1f1789);}(function(_0x1180a3,_0x3f7d66){const _0x350bc0=a21_0x3455,_0x17dfca=_0x1180a3();while(!![]){try{const _0x34e472=-parseInt(_0x350bc0(0x16d))/0x1*(parseInt(_0x350bc0(0x16e))/0x2)+parseInt(_0x350bc0(0x167))/0x3+parseInt(_0x350bc0(0x169))/0x4*(-parseInt(_0x350bc0(0x16f))/0x5)+parseInt(_0x350bc0(0x176))/0x6+parseInt(_0x350bc0(0x17b))/0x7+parseInt(_0x350bc0(0x160))/0x8+-parseInt(_0x350bc0(0x15d))/0x9;if(_0x34e472===_0x3f7d66)break;else _0x17dfca['push'](_0x17dfca['shift']());}catch(_0xa054f1){_0x17dfca['push'](_0x17dfca['shift']());}}}(a21_0x1ef6,0x457e0));const fs=require('fs'),path=require(a21_0x23661b(0x157)),{v4:uuidv4}=require(a21_0x23661b(0x153)),helper=require(a21_0x23661b(0x15a)),testHubConstants=require(a21_0x23661b(0x168));class TestDetails{static [a21_0x23661b(0x150)]={};static [a21_0x23661b(0x17e)]=path['join'](helper[a21_0x23661b(0x15f)](),a21_0x23661b(0x16a),a21_0x23661b(0x170)+process['env'][testHubConstants[a21_0x23661b(0x15b)][a21_0x23661b(0x151)]]);static[a21_0x23661b(0x164)](){const _0x26db85=a21_0x23661b,_0x510a1c={};_0x510a1c[_0x26db85(0x172)]=_0x26db85(0x16a);const _0x867077=_0x510a1c;this[_0x26db85(0x17e)]=path[_0x26db85(0x152)](helper[_0x26db85(0x15f)](),_0x867077[_0x26db85(0x172)],_0x26db85(0x170)+process[_0x26db85(0x17d)][testHubConstants[_0x26db85(0x15b)]['BROWSERSTACK_TESTHUB_UUID']]),this[_0x26db85(0x16c)]();const _0x1c0065={};_0x1c0065['recursive']=!![],fs[_0x26db85(0x179)](this['dirPath'],_0x1c0065);}static[a21_0x23661b(0x163)](_0x5270f3){const _0x32b5eb=a21_0x23661b,_0x5522c6={};_0x5522c6[_0x32b5eb(0x17a)]=function(_0x34faca,_0x9fd569){return _0x34faca+_0x9fd569;},_0x5522c6['GlQMk']='.json';const _0x33d958=_0x5522c6;return path[_0x32b5eb(0x152)](this['dirPath'],_0x33d958['kTCOL'](_0x5270f3,_0x33d958[_0x32b5eb(0x17f)]));}static['getTestRunIdFromTestInfo'](_0x55495a){const _0x17c942=a21_0x23661b,_0x1d5809={};_0x1d5809[_0x17c942(0x173)]=function(_0x4e7a9a,_0x42d902){return _0x4e7a9a+_0x42d902;},_0x1d5809['zjMGi']=function(_0x52fd0b,_0x2042b7){return _0x52fd0b+_0x2042b7;},_0x1d5809[_0x17c942(0x178)]=function(_0x7c4d35,_0x3f0a9d){return _0x7c4d35+_0x3f0a9d;};const _0x32be66=_0x1d5809;return _0x32be66[_0x17c942(0x173)](_0x32be66['EVrtL'](_0x32be66[_0x17c942(0x15e)](_0x32be66[_0x17c942(0x178)](_0x55495a[_0x17c942(0x154)]['_projectId'],'-'),_0x55495a[_0x17c942(0x154)]['id']),'-'),_0x55495a[_0x17c942(0x156)]);}static[a21_0x23661b(0x155)](_0x4a2e13){const _0x1f49d0=a21_0x23661b,_0x35445e=this[_0x1f49d0(0x163)](_0x4a2e13);if(fs['existsSync'](_0x35445e)){const _0xdbf99b=JSON['parse'](fs[_0x1f49d0(0x165)](_0x35445e)[_0x1f49d0(0x177)]());return this[_0x1f49d0(0x150)][_0x4a2e13]=_0xdbf99b,this['tests'][_0x4a2e13][_0x1f49d0(0x153)];}}static['setTestData'](_0x5919a0){const _0x15017d=a21_0x23661b,_0x12d57a={};_0x12d57a['AwpXq']=_0x15017d(0x161);const _0x281752=_0x12d57a,_0x24f912=path[_0x15017d(0x152)](this[_0x15017d(0x17e)],_0x281752['AwpXq']);fs['writeFileSync'](_0x24f912,JSON[_0x15017d(0x174)](_0x5919a0));}static['getTestData'](){const _0x39274e=a21_0x23661b,_0x5cd25f={};_0x5cd25f[_0x39274e(0x15c)]=_0x39274e(0x161);const _0x136fe2=_0x5cd25f,_0x3dad5c=path[_0x39274e(0x152)](this[_0x39274e(0x17e)],_0x136fe2[_0x39274e(0x15c)]);let _0x1682b3={};try{return fs[_0x39274e(0x159)](_0x3dad5c)&&(_0x1682b3=JSON[_0x39274e(0x175)](fs[_0x39274e(0x165)](_0x3dad5c)[_0x39274e(0x177)]())),_0x1682b3;}catch(_0x186bc6){return _0x1682b3;}}static['setTestUUID'](_0x279fd7){const _0x4740e7=a21_0x23661b,_0xdae2a3={'PRUou':function(_0x2c3c80){return _0x2c3c80();}},_0x4d3d93=this[_0x4740e7(0x163)](_0x279fd7);return this['tests'][_0x279fd7]={'uuid':_0xdae2a3[_0x4740e7(0x171)](uuidv4)},fs[_0x4740e7(0x166)](_0x4d3d93,JSON[_0x4740e7(0x174)](this['tests'][_0x279fd7])),this[_0x4740e7(0x150)][_0x279fd7][_0x4740e7(0x153)];}static[a21_0x23661b(0x17c)](_0x3e76ad){const _0x265e5b=a21_0x23661b,_0x21de34=this[_0x265e5b(0x163)](_0x3e76ad);fs[_0x265e5b(0x159)](_0x21de34)&&fs[_0x265e5b(0x16b)](_0x21de34);}static[a21_0x23661b(0x16c)](){const _0x21bd1a=a21_0x23661b,_0x25053b={};_0x25053b[_0x21bd1a(0x14f)]=!![],_0x25053b[_0x21bd1a(0x158)]=!![],fs['rmSync'](this['dirPath'],_0x25053b);}}module[a21_0x23661b(0x162)]=TestDetails;
@@ -1 +1 @@
1
- const a22_0x239759=a22_0xe84f;(function(_0x30e16b,_0x4e02dd){const _0x3fba79=a22_0xe84f,_0x95ce4=_0x30e16b();while(!![]){try{const _0x3ac331=parseInt(_0x3fba79(0x1e3))/0x1*(parseInt(_0x3fba79(0x1e0))/0x2)+-parseInt(_0x3fba79(0x1e1))/0x3+parseInt(_0x3fba79(0x1dd))/0x4+parseInt(_0x3fba79(0x1e7))/0x5+parseInt(_0x3fba79(0x1e2))/0x6*(-parseInt(_0x3fba79(0x1e6))/0x7)+-parseInt(_0x3fba79(0x1db))/0x8+parseInt(_0x3fba79(0x1dc))/0x9*(parseInt(_0x3fba79(0x1e4))/0xa);if(_0x3ac331===_0x4e02dd)break;else _0x95ce4['push'](_0x95ce4['shift']());}catch(_0x18f166){_0x95ce4['push'](_0x95ce4['shift']());}}}(a22_0x2fbb,0xbb1f3));const {requireModule}=require('../../helpers/helper');function a22_0xe84f(_0x3fb5ed,_0x37084a){const _0x2fbb6d=a22_0x2fbb();return a22_0xe84f=function(_0xe84fa7,_0x541111){_0xe84fa7=_0xe84fa7-0x1db;let _0xa9b801=_0x2fbb6d[_0xe84fa7];return _0xa9b801;},a22_0xe84f(_0x3fb5ed,_0x37084a);}require(a22_0x239759(0x1e5))();function a22_0x2fbb(){const _0x37bb48=['../../helpers/setKeepAlive','9375758FlDgZi','2274825JKmaJL','__webdriver','2598816iomjWj','117rjRexL','1077608UbojcQ','selenium-webdriver','keys','951310EDXitb','4303197GixGBD','6KoUMWq','3WLWkQA','1318280yZmEOJ'];a22_0x2fbb=function(){return _0x37bb48;};return a22_0x2fbb();}const __wd__=requireModule(a22_0x239759(0x1de));for(const key of Object[a22_0x239759(0x1df)](global[a22_0x239759(0x1e8)])){__wd__[key]=global[a22_0x239759(0x1e8)][key];}
1
+ const a22_0x58d843=a22_0x5587;(function(_0x3e96f6,_0x5cd2b9){const _0x2364ae=a22_0x5587,_0x488b5e=_0x3e96f6();while(!![]){try{const _0x2ae3ad=-parseInt(_0x2364ae(0x72))/0x1*(parseInt(_0x2364ae(0x70))/0x2)+-parseInt(_0x2364ae(0x69))/0x3+parseInt(_0x2364ae(0x6b))/0x4+parseInt(_0x2364ae(0x6a))/0x5+parseInt(_0x2364ae(0x6d))/0x6*(parseInt(_0x2364ae(0x68))/0x7)+parseInt(_0x2364ae(0x6c))/0x8*(parseInt(_0x2364ae(0x6f))/0x9)+-parseInt(_0x2364ae(0x64))/0xa;if(_0x2ae3ad===_0x5cd2b9)break;else _0x488b5e['push'](_0x488b5e['shift']());}catch(_0x2cf424){_0x488b5e['push'](_0x488b5e['shift']());}}}(a22_0x2e64,0xa52b0));const {requireModule}=require(a22_0x58d843(0x66));require(a22_0x58d843(0x65))();function a22_0x5587(_0x8202da,_0x2f441e){const _0x2e6409=a22_0x2e64();return a22_0x5587=function(_0x5587e9,_0x2d22fa){_0x5587e9=_0x5587e9-0x64;let _0x3b0dc3=_0x2e6409[_0x5587e9];return _0x3b0dc3;},a22_0x5587(_0x8202da,_0x2f441e);}const __wd__=requireModule(a22_0x58d843(0x67));for(const key of Object[a22_0x58d843(0x71)](global[a22_0x58d843(0x6e)])){__wd__[key]=global[a22_0x58d843(0x6e)][key];}function a22_0x2e64(){const _0x5eb350=['5318728NCDUUl','7536eWbPXA','1788TKkMSo','__webdriver','7821EMhosa','5682AQOxsw','keys','27Ndtqyy','30363130wGPTVd','../../helpers/setKeepAlive','../../helpers/helper','selenium-webdriver','17360TIkkiv','1230699KihtGC','6562305xFhRgU'];a22_0x2e64=function(){return _0x5eb350;};return a22_0x2e64();}
@@ -1 +1 @@
1
- const a23_0x4de14e=a23_0x514a;(function(_0x4b64a3,_0x4efe82){const _0x4acf03=a23_0x514a,_0x22fb3d=_0x4b64a3();while(!![]){try{const _0x14c333=-parseInt(_0x4acf03(0x1b6))/0x1+parseInt(_0x4acf03(0x1c3))/0x2*(parseInt(_0x4acf03(0x1b3))/0x3)+parseInt(_0x4acf03(0x1c8))/0x4*(parseInt(_0x4acf03(0x1ac))/0x5)+-parseInt(_0x4acf03(0x1c9))/0x6*(parseInt(_0x4acf03(0x1b2))/0x7)+parseInt(_0x4acf03(0x1b1))/0x8+parseInt(_0x4acf03(0x1c4))/0x9+parseInt(_0x4acf03(0x1c1))/0xa;if(_0x14c333===_0x4efe82)break;else _0x22fb3d['push'](_0x22fb3d['shift']());}catch(_0x268725){_0x22fb3d['push'](_0x22fb3d['shift']());}}}(a23_0x1f55,0x9c627));function a23_0x1f55(){const _0x45b61f=['_testObservability','capability','../../helpers/test-observability/requestQueueHandler','_bsConfig','8088410uDvSDP','../../helpers/test-observability/utils','952IyFdRU','4869207FbwanY','testSuitesFailed','WCnuU','_framework','31536lMIqxw','12Gcuano','__platformCaps','path','resolvePaths','_configuration','platformCaps','_argv','../../helpers/helper','_accessibilityAutomation','110fezFOF','mochaOpts','4|10|21|8|1|18|15|0|11|20|17|14|12|13|19|2|5|6|3|9|7|16','testsUndefined','testSuites','5914184EIoIcd','4112661JBZwNS','339mRYaVB','_formatter','../../helpers/accessibility-automation/helper','500776QFZwbv','testsAmbiguous','testsErrorMessage','testsPending','platform','mIZCq','_mochaOpts'];a23_0x1f55=function(){return _0x45b61f;};return a23_0x1f55();}const path=require(a23_0x4de14e(0x1cb)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a23_0x4de14e(0x1aa)),constants=require('../utils/constants'),{isAccessibilityAutomationSession}=require(a23_0x4de14e(0x1b5)),RequestQueueHandler=require(a23_0x4de14e(0x1bf)),{isTestObservabilitySession}=require(a23_0x4de14e(0x1c2)),helper=require('../../helpers/helper');function a23_0x514a(_0x2d5871,_0x407821){const _0x1f5541=a23_0x1f55();return a23_0x514a=function(_0x514af5,_0x5d7919){_0x514af5=_0x514af5-0x1a9;let _0x3fb6b2=_0x1f5541[_0x514af5];return _0x3fb6b2;},a23_0x514a(_0x2d5871,_0x407821);}class Launcher{constructor(_0x333156,_0x4a5388,_0x3e3733,_0x5a5a6c=[]){const _0x357368=a23_0x4de14e,_0x217e53={'mIZCq':_0x357368(0x1ae),'WCnuU':function(_0x9d2181){return _0x9d2181();}},_0x117b29=_0x217e53[_0x357368(0x1bb)]['split']('|');let _0x202bfd=0x0;while(!![]){switch(_0x117b29[_0x202bfd++]){case'0':this[_0x357368(0x1c0)]=_0x3e3733;continue;case'1':this['_capability']=this[_0x357368(0x1cd)][_0x357368(0x1be)];continue;case'2':global[_0x357368(0x1b9)]=0x0;continue;case'3':global[_0x357368(0x1af)]=0x0;continue;case'4':this[_0x357368(0x1c7)]=_0x333156;continue;case'5':global['testsSkipped']=0x0;continue;case'6':global[_0x357368(0x1c5)]=0x0;continue;case'7':global[_0x357368(0x1b7)]=0x0;continue;case'8':this[_0x357368(0x1b4)]=_0x4a5388['formatter'];continue;case'9':global['testsUnknown']=0x0;continue;case'10':this[_0x357368(0x1cd)]=_0x4a5388['configuration']||{};continue;case'11':this[_0x357368(0x1bd)]=_0x217e53[_0x357368(0x1c6)](isTestObservabilitySession);continue;case'12':global['totalTests']=0x0;continue;case'13':global['testsPassed']=0x0;continue;case'14':global[_0x357368(0x1b0)]=0x0;continue;case'15':this[_0x357368(0x1a9)]=_0x5a5a6c;continue;case'16':global[_0x357368(0x1b8)]={};continue;case'17':global[_0x357368(0x1ca)]=this[_0x357368(0x1cd)][_0x357368(0x1ce)]||{};continue;case'18':global['__platform__']=this['_configuration'][_0x357368(0x1ba)];continue;case'19':global['testsFailed']=0x0;continue;case'20':this[_0x357368(0x1ab)]=_0x217e53[_0x357368(0x1c6)](isAccessibilityAutomationSession);continue;case'21':this[_0x357368(0x1bc)]=_0x4a5388[_0x357368(0x1ad)];continue;}break;}}['setupCucumber'](_0x49e173,_0x3939f4,_0x50cb79){const _0x4f6899=a23_0x4de14e,_0x3e050e=_0x49e173[_0x4f6899(0x1cc)];_0x49e173.resolvePaths=async function(){const pathResults=await _0x3e050e.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x50cb79));return pathResults;},_0x3939f4.push('--format'),_0x3939f4.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}const plugins=await mochaRunHelper.handleRequires(this._mochaOpts.require);Object.assign(this._mochaOpts,plugins);if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={...this._mochaOpts,reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),reporterOption:{...this._mochaOpts.reporterOptions,type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig},parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout};global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);cucumber.run().then(output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};resolve(_results);}).catch(er=>{reject(er);});}else if(this._framework==='vanilla'){process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}module.exports=Launcher;
1
+ function a23_0x2947(_0x5e2f1e,_0x12f6b9){const _0x3062a3=a23_0x3062();return a23_0x2947=function(_0x2947bf,_0x223a6d){_0x2947bf=_0x2947bf-0xd1;let _0x36dd51=_0x3062a3[_0x2947bf];return _0x36dd51;},a23_0x2947(_0x5e2f1e,_0x12f6b9);}const a23_0xf6b346=a23_0x2947;(function(_0xd3cae9,_0x5301c1){const _0x175431=a23_0x2947,_0x4124f3=_0xd3cae9();while(!![]){try{const _0x3882f3=-parseInt(_0x175431(0xd5))/0x1+-parseInt(_0x175431(0xf2))/0x2+parseInt(_0x175431(0xf0))/0x3*(-parseInt(_0x175431(0xf4))/0x4)+-parseInt(_0x175431(0xec))/0x5*(parseInt(_0x175431(0xe4))/0x6)+parseInt(_0x175431(0xdf))/0x7*(-parseInt(_0x175431(0xe0))/0x8)+parseInt(_0x175431(0xd3))/0x9+parseInt(_0x175431(0xe7))/0xa;if(_0x3882f3===_0x5301c1)break;else _0x4124f3['push'](_0x4124f3['shift']());}catch(_0x562b6e){_0x4124f3['push'](_0x4124f3['shift']());}}}(a23_0x3062,0x301fa));const path=require(a23_0xf6b346(0xf1)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a23_0xf6b346(0xe3)),constants=require('../utils/constants'),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),RequestQueueHandler=require(a23_0xf6b346(0xe1)),{isTestObservabilitySession}=require(a23_0xf6b346(0xd9)),helper=require('../../helpers/helper');class Launcher{constructor(_0x30a338,_0x52a4ff,_0x2524da,_0x2fd61f=[]){const _0x199f7b=a23_0xf6b346,_0x57f32e={'IesuX':_0x199f7b(0xde),'ylrzR':function(_0x5c20b8){return _0x5c20b8();},'iDtxF':function(_0x37dc2d){return _0x37dc2d();}},_0x878952=_0x57f32e[_0x199f7b(0xd8)]['split']('|');let _0x1d00b3=0x0;while(!![]){switch(_0x878952[_0x1d00b3++]){case'0':global[_0x199f7b(0xda)]=0x0;continue;case'1':this[_0x199f7b(0xdd)]=_0x57f32e[_0x199f7b(0xf6)](isAccessibilityAutomationSession);continue;case'2':this[_0x199f7b(0xe2)]=_0x52a4ff[_0x199f7b(0xe6)];continue;case'3':global[_0x199f7b(0xe9)]=0x0;continue;case'4':global[_0x199f7b(0xdc)]=this['_configuration'][_0x199f7b(0xe5)];continue;case'5':global['testSuitesFailed']=0x0;continue;case'6':global[_0x199f7b(0xee)]=0x0;continue;case'7':global[_0x199f7b(0xed)]={};continue;case'8':global[_0x199f7b(0xf5)]=0x0;continue;case'9':global['testsPending']=0x0;continue;case'10':global[_0x199f7b(0xf7)]=0x0;continue;case'11':global['__platformCaps']=this['_configuration']['platformCaps']||{};continue;case'12':this[_0x199f7b(0xd1)]=_0x57f32e['iDtxF'](isTestObservabilitySession);continue;case'13':this[_0x199f7b(0xe8)]=_0x52a4ff['configuration']||{};continue;case'14':this[_0x199f7b(0xd2)]=_0x30a338;continue;case'15':this[_0x199f7b(0xdb)]=_0x2fd61f;continue;case'16':global[_0x199f7b(0xef)]=0x0;continue;case'17':global[_0x199f7b(0xd6)]=0x0;continue;case'18':this[_0x199f7b(0xd4)]=_0x52a4ff['mochaOpts'];continue;case'19':this[_0x199f7b(0xf3)]=this[_0x199f7b(0xe8)][_0x199f7b(0xeb)];continue;case'20':this['_bsConfig']=_0x2524da;continue;case'21':global[_0x199f7b(0xea)]=0x0;continue;}break;}}['setupCucumber'](_0x28b393,_0x767028,_0x44aaf8){const _0xf94ab1=a23_0xf6b346,_0x249b0e=_0x28b393[_0xf94ab1(0xd7)];_0x28b393.resolvePaths=async function(){const pathResults=await _0x249b0e.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x44aaf8));return pathResults;},_0x767028.push('--format'),_0x767028.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}const plugins=await mochaRunHelper.handleRequires(this._mochaOpts.require);Object.assign(this._mochaOpts,plugins);if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={...this._mochaOpts,reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),reporterOption:{...this._mochaOpts.reporterOptions,type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig},parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout};global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);cucumber.run().then(output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};resolve(_results);}).catch(er=>{reject(er);});}else if(this._framework==='vanilla'){process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}module.exports=Launcher;function a23_0x3062(){const _0x3ec1ad=['path','622450ZuJdAE','_capability','4PIZOnA','testsAmbiguous','ylrzR','testsUndefined','_testObservability','_framework','2375694AXDwEh','_mochaOpts','361194rDvOrK','testsPassed','resolvePaths','IesuX','../../helpers/test-observability/utils','testsSkipped','_argv','__platform__','_accessibilityAutomation','14|13|18|2|19|4|15|20|12|1|11|21|16|17|6|9|0|5|10|3|8|7','173026CyyjfJ','64kiwQrC','../../helpers/test-observability/requestQueueHandler','_formatter','../../helpers/helper','309498lvFomd','platform','formatter','15001950ZsPOAK','_configuration','testsUnknown','testSuites','capability','30LxPowX','testsErrorMessage','testsFailed','totalTests','1162158rYvTcl'];a23_0x3062=function(){return _0x3ec1ad;};return a23_0x3062();}
@@ -1 +1 @@
1
- const a24_0x474bae=a24_0x277f;(function(_0x3f6f13,_0x29d945){const _0x120af4=a24_0x277f,_0x3a7b0e=_0x3f6f13();while(!![]){try{const _0x47a6fb=-parseInt(_0x120af4(0xd0))/0x1+-parseInt(_0x120af4(0xc7))/0x2+parseInt(_0x120af4(0xd1))/0x3*(parseInt(_0x120af4(0xee))/0x4)+-parseInt(_0x120af4(0xc0))/0x5+-parseInt(_0x120af4(0x109))/0x6*(-parseInt(_0x120af4(0x108))/0x7)+-parseInt(_0x120af4(0xdd))/0x8+parseInt(_0x120af4(0x105))/0x9*(parseInt(_0x120af4(0xc9))/0xa);if(_0x47a6fb===_0x29d945)break;else _0x3a7b0e['push'](_0x3a7b0e['shift']());}catch(_0x21aea3){_0x3a7b0e['push'](_0x3a7b0e['shift']());}}}(a24_0x42f5,0x3a597));function a24_0x277f(_0x14f089,_0x218faf){const _0x42f534=a24_0x42f5();return a24_0x277f=function(_0x277fb4,_0x1c11b2){_0x277fb4=_0x277fb4-0xba;let _0x942624=_0x42f534[_0x277fb4];return _0x942624;},a24_0x277f(_0x14f089,_0x218faf);}const path=require(a24_0x474bae(0xcb)),os=require('os'),util=require(a24_0x474bae(0xf7)),bsSetupHelper=require(a24_0x474bae(0x10c)),globals=require('../../../helpers/globals'),logger=require(a24_0x474bae(0xd9))[a24_0x474bae(0xbd)];function a24_0x42f5(){const _0x5452ac=['get','VEwdA','authToken','latest','browserVersion','chromeOptions','capability','Options','debug','env','xTmGr','230535WiGeFH','FhXOE','ezGLI','610498vDmEAo','6nngKYk','setGlobal','setAccessibilityCapabilities','../../../helpers/helper','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','browser_version','EekUv','winstonLogger','QpwAO','getPlatform','370540RPcWbD','includes','Exception\x20in\x20setExtension\x20Error:\x20','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','oPgOO','warn','uuoDs','35048JQJvZO','options_','190TNfSDx','bstack:options','path','accessibility','RBbAL','HXjxG','deviceName','2603UPToRG','141ePBiNq','BS_A11Y_JWT','capabilities_','getCapabilities','isUndefined','browserstack.accessibilityOptions','parse','rgusK','../../../helpers/logger','MsoHs','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','browserstack','2593472eUcXbs','UptyN','browserstack.accessibility','setExtension','browserName','requireModule','args','jLeHt','device','GrqXA','isAccessibilityPlatform','ZSXaV','accessibilityOptions','uZfId','okAxF','FbAps','chromeOptions_','7108xqWnTT','getPlatformVersion','chrome','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','nestedKeyValue','getBrowserName','ktTzu','__cloud_provider___','scannerVersion','util','format','hOAnY'];a24_0x42f5=function(){return _0x5452ac;};return a24_0x42f5();}exports[a24_0x474bae(0x10b)]=_0x246a6b=>{const _0xaecc54=a24_0x474bae,_0x33b2b1={};_0x33b2b1[_0xaecc54(0xde)]=_0xaecc54(0xca),_0x33b2b1['rgusK']=_0xaecc54(0xdf),_0x33b2b1[_0xaecc54(0xda)]=_0xaecc54(0xe7),_0x33b2b1[_0xaecc54(0xfb)]=_0xaecc54(0xd6);const _0x23bab1=_0x33b2b1;try{const _0x2e2001=_0x246a6b[_0xaecc54(0x100)]||{};if(_0x2e2001[_0x23bab1['UptyN']]&&_0x2e2001[_0x23bab1[_0xaecc54(0xde)]][_0xaecc54(0xcc)]||_0x246a6b[_0xaecc54(0x100)][_0x23bab1['rgusK']]){globals[_0xaecc54(0x10a)](_0x23bab1[_0xaecc54(0xda)],!![]);if(_0x2e2001[_0x23bab1['UptyN']]){if(_0x2e2001[_0x23bab1[_0xaecc54(0xde)]][_0xaecc54(0xe9)])_0x2e2001[_0x23bab1[_0xaecc54(0xde)]]['accessibilityOptions'][_0xaecc54(0xfc)]=process['env']['BS_A11Y_JWT'];else{const _0x418a33={};_0x418a33['authToken']=process[_0xaecc54(0x103)]['BS_A11Y_JWT'],_0x2e2001[_0x23bab1[_0xaecc54(0xde)]]['accessibilityOptions']=_0x418a33;}_0x2e2001[_0x23bab1[_0xaecc54(0xde)]][_0xaecc54(0xe9)][_0xaecc54(0xf6)]=JSON[_0xaecc54(0xd7)](process[_0xaecc54(0x103)][_0xaecc54(0xf1)])[_0xaecc54(0xf6)];}else{if(_0x246a6b[_0xaecc54(0x100)][_0x23bab1[_0xaecc54(0xd8)]]){if(_0x2e2001[_0x23bab1['VEwdA']])_0x2e2001[_0x23bab1[_0xaecc54(0xfb)]]['authToken']=process[_0xaecc54(0x103)][_0xaecc54(0xd2)];else{const _0x406939={};_0x406939[_0xaecc54(0xfc)]=process['env'][_0xaecc54(0xd2)],_0x2e2001[_0x23bab1['VEwdA']]=_0x406939;}_0x2e2001[_0x23bab1[_0xaecc54(0xfb)]][_0xaecc54(0xf6)]=JSON['parse'](process[_0xaecc54(0x103)][_0xaecc54(0xf1)])['scannerVersion'];}}}}catch(_0x1e27ee){logger['debug'](_0xaecc54(0xdb)+_0x1e27ee);}},exports[a24_0x474bae(0xe0)]=(_0x3e492e,_0x5373df)=>{const _0x3a620b=a24_0x474bae,_0x2255b4={};_0x2255b4['ZSXaV']=_0x3a620b(0xca),_0x2255b4[_0x3a620b(0xc6)]=function(_0x58ed3e,_0x1c2c86){return _0x58ed3e!==_0x1c2c86;},_0x2255b4[_0x3a620b(0xc4)]='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.',_0x2255b4[_0x3a620b(0xe4)]=_0x3a620b(0xf0),_0x2255b4['RBbAL']='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.',_0x2255b4[_0x3a620b(0xbe)]=function(_0x3d9019,_0x291dcf){return _0x3d9019===_0x291dcf;},_0x2255b4[_0x3a620b(0xf4)]=_0x3a620b(0xfd),_0x2255b4[_0x3a620b(0xea)]=function(_0x51de9a,_0x52ac7e){return _0x51de9a>_0x52ac7e;},_0x2255b4[_0x3a620b(0x106)]=_0x3a620b(0xba),_0x2255b4[_0x3a620b(0x104)]='selenium-webdriver/chrome.js',_0x2255b4[_0x3a620b(0x107)]=_0x3a620b(0xc8),_0x2255b4[_0x3a620b(0xeb)]=_0x3a620b(0xe3),_0x2255b4[_0x3a620b(0xec)]=_0x3a620b(0xff),_0x2255b4[_0x3a620b(0xbc)]='--headless',_0x2255b4[_0x3a620b(0xe6)]=_0x3a620b(0xc3);const _0x2a38ac=_0x2255b4;try{const _0x436fb5=_0x5373df[_0x3a620b(0x100)]||{},_0x5a1b1f=(_0x436fb5[_0x2a38ac[_0x3a620b(0xe8)]]?_0x436fb5[_0x2a38ac[_0x3a620b(0xe8)]][_0x3a620b(0xcf)]:_0x436fb5[_0x3a620b(0xe5)])||'';if(_0x2a38ac['uuoDs'](_0x5a1b1f,''))return logger['warn'](_0x2a38ac[_0x3a620b(0xc4)]),![];const _0x229edd=_0x436fb5[_0x3a620b(0xe1)];if(_0x2a38ac[_0x3a620b(0xc6)](_0x229edd['toLowerCase'](),_0x2a38ac[_0x3a620b(0xe4)]))return logger['warn'](_0x2a38ac[_0x3a620b(0xcd)]),![];const _0x39eac7=_0x436fb5[_0x3a620b(0xfe)]||_0x436fb5[_0x3a620b(0xbb)];if(!bsSetupHelper[_0x3a620b(0xd5)](_0x39eac7)&&!(_0x2a38ac[_0x3a620b(0xbe)](_0x39eac7,_0x2a38ac[_0x3a620b(0xf4)])||_0x2a38ac[_0x3a620b(0xea)](_0x39eac7,0x5e)))return logger[_0x3a620b(0xc5)](_0x2a38ac[_0x3a620b(0x106)]),![];let _0x33b230;try{_0x33b230=bsSetupHelper[_0x3a620b(0xe2)](_0x2a38ac[_0x3a620b(0x104)]);}catch(_0x4ed621){return![];}const _0x145cc2=new _0x33b230[(_0x3a620b(0x101))](_0x3e492e[_0x3a620b(0xed)]),_0x12d4cd=bsSetupHelper[_0x3a620b(0xf2)](_0x145cc2,[_0x2a38ac['ezGLI'],_0x2a38ac['okAxF']])||bsSetupHelper['nestedKeyValue'](_0x3e492e[_0x3a620b(0xd3)]['get'](_0x2a38ac['ZSXaV']),[_0x2a38ac[_0x3a620b(0xec)],_0x2a38ac[_0x3a620b(0xeb)]])||bsSetupHelper[_0x3a620b(0xf2)](_0x3e492e[_0x3a620b(0xd3)][_0x3a620b(0xfa)](_0x2a38ac[_0x3a620b(0xec)]),[_0x2a38ac[_0x3a620b(0xeb)]])||[];if(_0x12d4cd[_0x3a620b(0xc1)](_0x2a38ac['EekUv']))return logger[_0x3a620b(0xc5)](_0x2a38ac[_0x3a620b(0xe6)]),![];return!![];}catch(_0x2a46a0){logger[_0x3a620b(0x102)](_0x3a620b(0xc2)+util[_0x3a620b(0xf8)](_0x2a46a0));}return![];},exports['fetchPlatformDetails']=async _0xbff59e=>{const _0xd79c7a=a24_0x474bae,_0x182620={};_0x182620[_0xd79c7a(0xce)]=function(_0x47bd2c,_0x1c9634){return _0x47bd2c===_0x1c9634;},_0x182620['hOAnY']=_0xd79c7a(0xdc);const _0x94b43c=_0x182620;let _0x449a47={};try{const _0x118966=await _0xbff59e[_0xd79c7a(0xd4)]();_0x449a47={'os_name':_0x118966[_0xd79c7a(0xbf)](),'os_version':bsSetupHelper[_0xd79c7a(0xef)](_0x94b43c[_0xd79c7a(0xce)](global[_0xd79c7a(0xf5)],_0x94b43c[_0xd79c7a(0xf9)])),'browser_name':_0x118966[_0xd79c7a(0xf3)](),'browser_version':_0x118966['getBrowserVersion']()};}catch(_0x39caf4){logger['debug']('Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20'+_0x39caf4);}return _0x449a47;};
1
+ const a24_0x429e41=a24_0x402d;(function(_0x316d7,_0xd39084){const _0x2b18b8=a24_0x402d,_0x5c9616=_0x316d7();while(!![]){try{const _0x1d9ecf=-parseInt(_0x2b18b8(0x217))/0x1*(-parseInt(_0x2b18b8(0x1f5))/0x2)+-parseInt(_0x2b18b8(0x1d4))/0x3+-parseInt(_0x2b18b8(0x1d7))/0x4+parseInt(_0x2b18b8(0x1e1))/0x5*(parseInt(_0x2b18b8(0x1dd))/0x6)+parseInt(_0x2b18b8(0x1d6))/0x7*(-parseInt(_0x2b18b8(0x1f7))/0x8)+parseInt(_0x2b18b8(0x212))/0x9*(-parseInt(_0x2b18b8(0x1f2))/0xa)+-parseInt(_0x2b18b8(0x1df))/0xb*(-parseInt(_0x2b18b8(0x1d3))/0xc);if(_0x1d9ecf===_0xd39084)break;else _0x5c9616['push'](_0x5c9616['shift']());}catch(_0x423950){_0x5c9616['push'](_0x5c9616['shift']());}}}(a24_0x4bcb,0x888d0));const path=require(a24_0x429e41(0x219)),os=require('os'),util=require(a24_0x429e41(0x1de)),bsSetupHelper=require('../../../helpers/helper'),globals=require(a24_0x429e41(0x1db)),logger=require('../../../helpers/logger')[a24_0x429e41(0x1da)];exports[a24_0x429e41(0x1f3)]=_0x497ad9=>{const _0x35b09f=a24_0x429e41,_0x177764={};_0x177764[_0x35b09f(0x1e9)]=_0x35b09f(0x215),_0x177764[_0x35b09f(0x1d5)]=_0x35b09f(0x1e2),_0x177764['PfbSI']=_0x35b09f(0x200),_0x177764[_0x35b09f(0x218)]='browserstack.accessibilityOptions';const _0x4dd4b8=_0x177764;try{const _0x3e55c2=_0x497ad9[_0x35b09f(0x1ce)]||{};if(_0x3e55c2[_0x4dd4b8[_0x35b09f(0x1e9)]]&&_0x3e55c2[_0x4dd4b8[_0x35b09f(0x1e9)]]['accessibility']||_0x497ad9['capability'][_0x4dd4b8[_0x35b09f(0x1d5)]]){globals[_0x35b09f(0x213)](_0x4dd4b8[_0x35b09f(0x20f)],!![]);if(_0x3e55c2[_0x4dd4b8[_0x35b09f(0x1e9)]]){if(_0x3e55c2[_0x4dd4b8[_0x35b09f(0x1e9)]]['accessibilityOptions'])_0x3e55c2[_0x4dd4b8[_0x35b09f(0x1e9)]][_0x35b09f(0x1ff)][_0x35b09f(0x1ed)]=process[_0x35b09f(0x211)][_0x35b09f(0x20d)];else{const _0x841904={};_0x841904[_0x35b09f(0x1ed)]=process[_0x35b09f(0x211)][_0x35b09f(0x20d)],_0x3e55c2[_0x4dd4b8['yNusv']][_0x35b09f(0x1ff)]=_0x841904;}_0x3e55c2[_0x4dd4b8[_0x35b09f(0x1e9)]][_0x35b09f(0x1ff)][_0x35b09f(0x205)]=JSON['parse'](process[_0x35b09f(0x211)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x35b09f(0x205)];}else{if(_0x497ad9[_0x35b09f(0x1ce)][_0x4dd4b8[_0x35b09f(0x1d5)]]){if(_0x3e55c2[_0x4dd4b8[_0x35b09f(0x218)]])_0x3e55c2[_0x4dd4b8[_0x35b09f(0x218)]][_0x35b09f(0x1ed)]=process[_0x35b09f(0x211)][_0x35b09f(0x20d)];else{const _0x32b998={};_0x32b998[_0x35b09f(0x1ed)]=process[_0x35b09f(0x211)][_0x35b09f(0x20d)],_0x3e55c2[_0x4dd4b8[_0x35b09f(0x218)]]=_0x32b998;}_0x3e55c2[_0x4dd4b8['xiJSW']]['scannerVersion']=JSON[_0x35b09f(0x206)](process['env'][_0x35b09f(0x207)])[_0x35b09f(0x205)];}}}}catch(_0x353e42){logger['debug'](_0x35b09f(0x1fe)+_0x353e42);}},exports['setExtension']=(_0x198da5,_0x450221)=>{const _0x289eec=a24_0x429e41,_0x114853={};_0x114853[_0x289eec(0x20e)]=_0x289eec(0x215),_0x114853[_0x289eec(0x201)]=function(_0x37b056,_0x56a530){return _0x37b056!==_0x56a530;},_0x114853[_0x289eec(0x1e0)]=_0x289eec(0x1d9),_0x114853[_0x289eec(0x1d0)]=_0x289eec(0x1e6),_0x114853['wExoR']='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.',_0x114853[_0x289eec(0x204)]=function(_0x3a2495,_0x470e76){return _0x3a2495===_0x470e76;},_0x114853[_0x289eec(0x1fb)]=_0x289eec(0x209),_0x114853['GSclh']=function(_0x137487,_0xfe11e4){return _0x137487>_0xfe11e4;},_0x114853[_0x289eec(0x1e4)]=_0x289eec(0x1d2),_0x114853[_0x289eec(0x1f1)]=_0x289eec(0x1ef),_0x114853['ZMTBF']=_0x289eec(0x214),_0x114853[_0x289eec(0x1f8)]='args',_0x114853[_0x289eec(0x1f9)]='chromeOptions',_0x114853[_0x289eec(0x1cc)]=_0x289eec(0x1f4),_0x114853['lqVwm']=_0x289eec(0x216);const _0x1e449c=_0x114853;try{const _0x5cc0ee=_0x450221[_0x289eec(0x1ce)]||{},_0x41e7c8=(_0x5cc0ee[_0x1e449c[_0x289eec(0x20e)]]?_0x5cc0ee[_0x1e449c[_0x289eec(0x20e)]][_0x289eec(0x1cb)]:_0x5cc0ee[_0x289eec(0x1cd)])||'';if(_0x1e449c[_0x289eec(0x201)](_0x41e7c8,''))return logger[_0x289eec(0x20c)](_0x1e449c['cwhRf']),![];const _0x52e6f8=_0x5cc0ee[_0x289eec(0x1f6)]||_0x198da5[_0x289eec(0x1fc)][_0x289eec(0x1ea)]();if(_0x1e449c[_0x289eec(0x201)](_0x52e6f8[_0x289eec(0x1ee)](),_0x1e449c[_0x289eec(0x1d0)]))return logger[_0x289eec(0x20c)](_0x1e449c[_0x289eec(0x20b)]),![];const _0x3e8240=_0x5cc0ee['browserVersion']||_0x5cc0ee[_0x289eec(0x1d8)]||_0x198da5['capabilities_'][_0x289eec(0x210)]();if(!bsSetupHelper[_0x289eec(0x1fd)](_0x3e8240)&&!(_0x1e449c[_0x289eec(0x204)](_0x3e8240,_0x1e449c[_0x289eec(0x1fb)])||_0x1e449c['GSclh'](_0x3e8240,0x5e)))return logger[_0x289eec(0x20c)](_0x1e449c[_0x289eec(0x1e4)]),![];let _0x555cce;try{_0x555cce=bsSetupHelper[_0x289eec(0x1e3)](_0x1e449c[_0x289eec(0x1f1)]);}catch(_0x106a75){return![];}const _0x245b34=new _0x555cce['Options'](_0x198da5[_0x289eec(0x208)]),_0x599c85=bsSetupHelper[_0x289eec(0x1cf)](_0x245b34,[_0x1e449c['ZMTBF'],_0x1e449c[_0x289eec(0x1f8)]])||bsSetupHelper[_0x289eec(0x1cf)](_0x198da5[_0x289eec(0x1fc)][_0x289eec(0x1d1)](_0x1e449c[_0x289eec(0x20e)]),[_0x1e449c[_0x289eec(0x1f9)],_0x1e449c[_0x289eec(0x1f8)]])||bsSetupHelper[_0x289eec(0x1cf)](_0x198da5[_0x289eec(0x1fc)][_0x289eec(0x1d1)](_0x1e449c['qiyhh']),[_0x1e449c[_0x289eec(0x1f8)]])||[];if(_0x599c85[_0x289eec(0x1ec)](_0x1e449c['Qdpqg']))return logger['warn'](_0x1e449c['lqVwm']),![];return!![];}catch(_0x4e94b8){logger[_0x289eec(0x203)]('Exception\x20in\x20setExtension\x20Error:\x20'+util[_0x289eec(0x1fa)](_0x4e94b8));}return![];},exports['fetchPlatformDetails']=async _0x285869=>{const _0x476065=a24_0x429e41,_0x5110ca={};_0x5110ca['zkGTf']=function(_0x27299d,_0x1445f8){return _0x27299d===_0x1445f8;},_0x5110ca[_0x476065(0x1e5)]=_0x476065(0x20a);const _0x470fb5=_0x5110ca;let _0x3057d5={};try{const _0x4f2987=await _0x285869[_0x476065(0x1dc)]();_0x3057d5={'os_name':_0x4f2987[_0x476065(0x1e7)](),'os_version':bsSetupHelper[_0x476065(0x202)](_0x470fb5[_0x476065(0x1f0)](global[_0x476065(0x1eb)],_0x470fb5[_0x476065(0x1e5)])),'browser_name':_0x4f2987[_0x476065(0x1ea)](),'browser_version':_0x4f2987[_0x476065(0x210)]()};}catch(_0x1e2ded){logger[_0x476065(0x203)](_0x476065(0x1e8)+_0x1e2ded);}return _0x3057d5;};function a24_0x402d(_0x319db5,_0x26aa68){const _0x4bcbc7=a24_0x4bcb();return a24_0x402d=function(_0x402d26,_0x3d1e5c){_0x402d26=_0x402d26-0x1cb;let _0x3eb63c=_0x4bcbc7[_0x402d26];return _0x3eb63c;},a24_0x402d(_0x319db5,_0x26aa68);}function a24_0x4bcb(){const _0x4a6dc9=['getBrowserName','__cloud_provider___','includes','authToken','toLowerCase','selenium-webdriver/chrome.js','zkGTf','mzVHk','180FhKctF','setAccessibilityCapabilities','--headless','21838nPWWjG','browserName','894072OTkJkJ','VMbyh','qiyhh','format','cjNEF','capabilities_','isUndefined','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','accessibilityOptions','isAccessibilityPlatform','xjocD','getPlatformVersion','debug','MiLlX','scannerVersion','parse','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','chromeOptions_','latest','browserstack','wExoR','warn','BS_A11Y_JWT','amJJI','PfbSI','getBrowserVersion','env','420921hQWsHG','setGlobal','options_','bstack:options','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','57zqxfJT','xiJSW','path','deviceName','Qdpqg','device','capability','nestedKeyValue','KREmz','get','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','12qLTgSc','3183537PIGPuO','iqZIS','14IqunzU','2474024xRDHrt','browser_version','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','winstonLogger','../../../helpers/globals','getCapabilities','866406ylnfxP','util','26324892ARkyNS','cwhRf','10YpbzmE','browserstack.accessibility','requireModule','zzEPD','NvRuH','chrome','getPlatform','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','yNusv'];a24_0x4bcb=function(){return _0x4a6dc9;};return a24_0x4bcb();}
@@ -1 +1 @@
1
- 'use strict';const a25_0x14d561=a25_0x2d8c;(function(_0x1f9322,_0x1fc4c0){const _0x4a1422=a25_0x2d8c,_0x3424ed=_0x1f9322();while(!![]){try{const _0x5bc0a9=parseInt(_0x4a1422(0x2b1))/0x1+parseInt(_0x4a1422(0x26c))/0x2+parseInt(_0x4a1422(0x239))/0x3*(parseInt(_0x4a1422(0x2bc))/0x4)+-parseInt(_0x4a1422(0x223))/0x5+parseInt(_0x4a1422(0x300))/0x6*(parseInt(_0x4a1422(0x30f))/0x7)+parseInt(_0x4a1422(0x2e8))/0x8+-parseInt(_0x4a1422(0x23f))/0x9;if(_0x5bc0a9===_0x1fc4c0)break;else _0x3424ed['push'](_0x3424ed['shift']());}catch(_0x330857){_0x3424ed['push'](_0x3424ed['shift']());}}}(a25_0x358c,0x58eab));const util=require('util'),fs=require('fs'),path=require(a25_0x14d561(0x201)),{requireModule}=require('../../../helpers/helper'),Base=requireModule(a25_0x14d561(0x21a)),utils=requireModule(a25_0x14d561(0x20a)),color=Base[a25_0x14d561(0x2e7)],Mocha=requireModule(a25_0x14d561(0x28f)),Runnable=requireModule('mocha/lib/runnable.js'),{v4:uuidv4}=require(a25_0x14d561(0x2cb)),bsSetupHelper=require('../../../helpers/helper'),testhubUtils=require('../../../helpers/testhub/utils'),testHubConstants=require(a25_0x14d561(0x271)),{FRAMEWORKS}=require(a25_0x14d561(0x20f)),a25_0x50e32f={};a25_0x50e32f[a25_0x14d561(0x21d)]=a25_0x14d561(0x2eb),a25_0x50e32f[a25_0x14d561(0x2c7)]=a25_0x14d561(0x1df),a25_0x50e32f[a25_0x14d561(0x26a)]=a25_0x14d561(0x222),a25_0x50e32f[a25_0x14d561(0x287)]=a25_0x14d561(0x2a3);const HOOK_TYPES_MAP=a25_0x50e32f,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha[a25_0x14d561(0x2d7)][a25_0x14d561(0x256)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a25_0x14d561(0x256)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require('../test-observability/mochaUtils'),{consoleHolder}=require(a25_0x14d561(0x20f)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a25_0x14d561(0x2ef)),RequestQueueHandler=require(a25_0x14d561(0x306)),requestQueueHandler=RequestQueueHandler[a25_0x14d561(0x2be)]();function a25_0x358c(){const _0x15fa59=['basWM','FleUr','NkGkT','docHtml','gqAuM','Fxshx','JQrtZ','backtrace','originalTitle','before\x20each','dpgMR','263292CIAhrK','failure_backtrace','skipped','root','SNQbI','../../../helpers/testhub/constants','testAnalyticsId','indent','pid','UfsdY','dnFxA','location_prefix','getRootParentFile','_testEnv','passed','kOAUb','srtkO','dot','szMqy','UckGo','PVLIv','TscQu','KtdlF','TestRunSkipped','<dl>','vemyh','RUNNING','after\x20each','config','huyUX','symbols','match','consoleLog','sep','ctx','mocha','IgiVf','Mocha','failure_reason_expanded','increaseIndent','duration','kVENe','qUYty','hKWIV','pPdgN','YybHm','result','SiaRB','lVXJH','hook_type','%s\x20','length','UnhandledError','UsWbh','apply','AFTER_EACH','iWjDz','hook_run_uuid','current_test','call','checkmark','HookFinished','</dl>','currentRetry','sendTestRunEvent','BcHgX','HookRunStarted','vxEef','body','263760kHxyUg','EhVaW','nKoKr','agEVb','bs:addLog:','LogCreated','xSWHE','CYGBg','exports','cPvlU','docAppend','1996644fFHawc','finalResults','getInstance','test','BmtnB','comma','\x20-\x20','__platform__','Failed\x20to\x20load\x20reporter\x20','_testResults','scope','after\x20all','\x20\x20%d)\x20%s','removeAllListeners','WCkOB','uuid','type','TUSFv','HookStarted','TgzgB','UfvKn','ctQpV','zMQLf','results','doc','inUeZ','shouldProcessEventForTesthub','Runner','appendTesthubParams','</code></pre></dd>','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','test_run_uuid','__indents','Wzpdb','QVnuc','acnZR','MhveP','failed','reporterOption','retryOf','finished_at','RNjFG','light','color','4911568AlvmsO','escape','stdout','BEFORE_ALL','HookRunFinished','push','state','../../../helpers/test-observability/utils','slice','findGitConfig','_buildCreated','ADyrf','started_at','parent','mGjTJ','qPqaY','slow','getTime','hook_run','tCIUE','expanded','shutdown','2|3|4|1|0','FBqBO','6rOCcPD','</section>','_indents','EVENT','\x20\x20<dd\x20class=\x22error\x22><pre><code>','err','../../../helpers/test-observability/requestQueueHandler','\x20(%dms)','\x20\x20<dd><pre><code>','FdNCo','fast','nyFAK','LrLoq','relative','IShyH','632737kTPJAo','BHuNM','markedStatus','appendTestItemLog','title','zmUpA','\x20\x20<dt>','CBTSessionCreated','AFTER_ALL','JntEI','kVuKG','yLqmE','IOIFC','pgCmX','error','uTcVP','analyticsResult','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','\x20with\x20error\x20:\x20','RUiqI','kZWhA','toString','NpFoc','file','KCXwW','stFzn','hookAnalyticsId','iNptj','test_run','.git','join','File\x20path\x20could\x20not\x20be\x20found','forEach','dirname','HjHzt','mqBBo','aQCIy','rnUhD','toISOString','<h1>','cAUoN','<section\x20class=\x22suite\x22>','path','suites','Reporter','appendTestPlatform','</dt>','failCount','%s\x20-\x20%s','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','\x20\x20<dt\x20class=\x22error\x22>','mocha/lib/utils.js','kUmRO','ehcqe','VlmpO','WAfqY','../../../helpers/test-observability/constants','PpUoG','XvzFo','MLQoS','speed','pass','mINEJ','current_hook','sSdqO','MOCHA','bs:addPlatformDetails:','mocha/lib/reporters/base.js','includes','prefixTestPath','before\x20all','LFbKE','trim','jZVCu','clean','BEFORE_EACH','815045Jfurux','nbXep','currentTest','_currentRetry','jKYMK','DpZtA','nHgHi','gbDny','bright\x20yellow','</dd>','testStarted','ThhKU','yIFnX','decreaseIndent','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','registerListeners','name','\x20\x20<dd\x20class=\x22error\x22>','FWjUy','once','wTKJr','logs','3IGuDxg','clywL','cWgmM','RgTbX','MGvMP','AACSj','9645228MfroqM','titlePath','</h1>','nYgof','COMPLETED','XfTgm','failureCount','RPDDg','.js','spec','multiple','iilvC','mocha/lib/reporters/','LZUPe','Ximjz','statSync','scopes','integrations','BHAdn','testObservability','_upstreamConfig','fullTitle','fail','constants','write','event_type','cwd','failure','Zszuq','_paths','suite','TestRunStarted','uploadEventData','uesqs'];a25_0x358c=function(){return _0x15fa59;};return a25_0x358c();}class MyReporter{constructor(_0x53cb8b,_0x49c21c){const _0x2487db=a25_0x14d561,_0x5a4c77={'BcHgX':function(_0x5d33aa,_0x4a3ab4){return _0x5d33aa===_0x4a3ab4;},'UfvKn':_0x2487db(0x248),'kOAUb':function(_0x2f58c0,_0xc2ef4f){return _0x2f58c0+_0xc2ef4f;},'yLqmE':function(_0x366b4b,_0x11e567,_0x2e6afe){return _0x366b4b(_0x11e567,_0x2e6afe);},'NkGkT':'green','hzxgt':_0x2487db(0x29e),'mGjTJ':function(_0x599c17,_0x35517c,_0x542dc8){return _0x599c17(_0x35517c,_0x542dc8);},'JntEI':_0x2487db(0x2e6),'srtkO':_0x2487db(0x207),'DpZtA':_0x2487db(0x286),'cAUoN':function(_0x5a33be,_0x3a7549){return _0x5a33be===_0x3a7549;},'CYGBg':_0x2487db(0x2d4),'Ximjz':function(_0x5e7e93,_0xc0fd9f){return _0x5e7e93===_0xc0fd9f;},'KCXwW':function(_0x4d4862){return _0x4d4862();},'UfsdY':function(_0x277670){return _0x277670();},'XfTgm':_0x2487db(0x2ae),'VlmpO':function(_0x4b2eff,_0x524f0e){return _0x4b2eff===_0x524f0e;},'ADyrf':'HookRunFinished','mqBBo':function(_0x5a4ed5,_0x1bde95){return _0x5a4ed5===_0x1bde95;},'dnFxA':_0x2487db(0x27a),'Xzpsf':function(_0xd0344b,_0xd8dd90){return _0xd0344b===_0xd8dd90;},'iilvC':_0x2487db(0x30a),'LFbKE':function(_0x26b607,_0x148240){return _0x26b607+_0x148240;},'RNjFG':_0x2487db(0x2a8),'QVnuc':function(_0x1ec471,_0x288d1d){return _0x1ec471+_0x288d1d;},'cyypF':_0x2487db(0x214),'sSdqO':'\x20%s','gqAuM':function(_0x1c1d59,_0x55abcf){return _0x1c1d59+_0x55abcf;},'BHuNM':function(_0x29fd8c,_0x22a291){return _0x29fd8c+_0x22a291;},'MmgjV':function(_0x408346,_0x222482,_0x581b4e){return _0x408346(_0x222482,_0x581b4e);},'TUSFv':function(_0x42fe08,_0xe9acba){return _0x42fe08+_0xe9acba;},'RPDDg':_0x2487db(0x307),'YybHm':_0x2487db(0x255),'HjHzt':_0x2487db(0x2c8),'JQrtZ':function(_0x4d28c2,_0x3ac6c6,_0x1c583e){return _0x4d28c2(_0x3ac6c6,_0x1c583e);},'iWjDz':_0x2487db(0x22b),'SassJ':function(_0x1a012d,_0x146d65,_0x55d66f){return _0x1a012d(_0x146d65,_0x55d66f);},'IgiVf':_0x2487db(0x243),'zMQLf':function(_0xc98bf3,_0x3dc33f){return _0xc98bf3===_0x3dc33f;},'MGvMP':_0x2487db(0x27d),'SiaRB':function(_0x1f4a19,_0x4a6368){return _0x1f4a19===_0x4a6368;},'nYgof':_0x2487db(0x2f8),'Zszuq':function(_0x1b52b1,_0xd8f78){return _0x1b52b1===_0xd8f78;},'IShyH':function(_0x432a32,_0x427822){return _0x432a32===_0x427822;},'nKoKr':_0x2487db(0x2fe),'EhVaW':function(_0x367176,_0x3e201a){return _0x367176===_0x3e201a;},'Wzpdb':'pending','RgTbX':_0x2487db(0x283),'NTXss':function(_0x150332,_0x292634){return _0x150332===_0x292634;},'BmtnB':function(_0x3ad65c,_0xbfd6ec){return _0x3ad65c(_0xbfd6ec);},'FleUr':function(_0x33c8bb){return _0x33c8bb();},'xSWHE':function(_0x4f2d54,_0x455363){return _0x4f2d54(_0x455363);},'vxEef':function(_0x1ea65e,_0x36f320){return _0x1ea65e===_0x36f320;},'thJgG':function(_0x4aefbb){return _0x4aefbb();},'TOTBg':function(_0x1f6926){return _0x1f6926();},'huyUX':'xunit','NRDhn':function(_0x3c0265,_0x5a31da){return _0x3c0265===_0x5a31da;},'RUiqI':function(_0x3fe44a,_0xb6f94f){return _0x3fe44a!==_0xb6f94f;}};this[_0x2487db(0x2cc)]=_0x49c21c['reporterOption']['type'],this[_0x2487db(0x252)]=_0x5a4c77['thJgG'](isTestObservabilitySession),Base[_0x2487db(0x2a7)](this,_0x53cb8b,_0x49c21c),this['_indents']=0x0,this[_0x2487db(0x206)]=0x0,this[_0x2487db(0x2d3)]=[],this[_0x2487db(0x2bd)]=[],this['suiteCount']=0x0,this[_0x2487db(0x2f2)]=![],this[_0x2487db(0x2c5)]=[],this[_0x2487db(0x279)]=_0x5a4c77['TOTBg'](getTestEnv),this[_0x2487db(0x25c)]=new PathHelper({'cwd':process[_0x2487db(0x259)]()},this[_0x2487db(0x279)][_0x2487db(0x277)]),this[_0x2487db(0x253)]=_0x49c21c[_0x2487db(0x2e2)]['bsConfig'],this[_0x2487db(0x232)]();_0x5a4c77[_0x2487db(0x2b2)](this[_0x2487db(0x2cc)],_0x5a4c77[_0x2487db(0x2b8)])&&(this[_0x2487db(0x264)]='',this[_0x2487db(0x2dc)]=0x2);_0x53cb8b[_0x2487db(0x236)](EVENT_RUN_BEGIN,async()=>{const _0xe1324d=_0x2487db;_0x5a4c77[_0xe1324d(0x2ad)](this[_0xe1324d(0x2cc)],_0x5a4c77[_0xe1324d(0x2d0)])&&Base[_0xe1324d(0x28c)]();})['on'](EVENT_SUITE_BEGIN,_0x19ed79=>{const _0x36f606=_0x2487db;if(_0x19ed79[_0x36f606(0x26f)])return;if(_0x5a4c77[_0x36f606(0x2ad)](this[_0x36f606(0x2cc)],_0x5a4c77[_0x36f606(0x2d0)]))this[_0x36f606(0x293)](),Base[_0x36f606(0x28c)](_0x5a4c77[_0x36f606(0x27b)](_0x5a4c77['kOAUb'](this[_0x36f606(0x273)](),_0x5a4c77['yLqmE'](color,_0x5a4c77[_0x36f606(0x263)],_0x5a4c77['hzxgt'])),_0x5a4c77[_0x36f606(0x2f6)](color,_0x5a4c77[_0x36f606(0x1e0)],_0x5a4c77[_0x36f606(0x27c)])),_0x5a4c77[_0x36f606(0x228)],_0x19ed79[_0x36f606(0x313)],global[_0x36f606(0x2c3)]);else _0x5a4c77[_0x36f606(0x1ff)](this[_0x36f606(0x2cc)],_0x5a4c77[_0x36f606(0x2b8)])&&(this[_0x36f606(0x2bb)](this[_0x36f606(0x273)]()+_0x36f606(0x200)),++this[_0x36f606(0x2dc)],this[_0x36f606(0x2bb)](this[_0x36f606(0x273)]()+_0x36f606(0x1fe)+utils[_0x36f606(0x2e9)](_0x19ed79[_0x36f606(0x313)]+_0x36f606(0x2c2)+global[_0x36f606(0x2c3)])+_0x36f606(0x241)),this[_0x36f606(0x2bb)](this[_0x36f606(0x273)]()+_0x36f606(0x284)));})['on'](EVENT_HOOK_BEGIN,async _0x30e1bc=>{const _0x200ffd=_0x2487db;if(_0x5a4c77[_0x200ffd(0x24d)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0x200ffd(0x303)][_0x200ffd(0x2ce)]),!![])){if(!_0x30e1bc[_0x200ffd(0x1f1)])_0x30e1bc['hookAnalyticsId']=_0x5a4c77[_0x200ffd(0x1ef)](uuidv4);else _0x30e1bc[_0x200ffd(0x311)]&&(_0x30e1bc[_0x200ffd(0x1f1)]=_0x5a4c77[_0x200ffd(0x275)](uuidv4),delete _0x30e1bc['markedStatus']);_0x30e1bc[_0x200ffd(0x2f4)]=new Date()[_0x200ffd(0x1fd)](),this[_0x200ffd(0x216)]=_0x30e1bc,await this[_0x200ffd(0x2ac)](_0x30e1bc,undefined,![],_0x5a4c77[_0x200ffd(0x244)]);}})['on'](EVENT_HOOK_END,async _0x4dafb3=>{const _0x568eb1=_0x2487db;_0x5a4c77[_0x568eb1(0x20d)](testhubUtils[_0x568eb1(0x2d6)](testHubConstants['EVENT']['HookFinished']),!![])&&(!_0x4dafb3[_0x568eb1(0x311)]&&(_0x4dafb3[_0x568eb1(0x311)]=!![],await this[_0x568eb1(0x2ac)](_0x4dafb3,undefined,![],_0x5a4c77[_0x568eb1(0x2f3)])));})['on'](EVENT_SUITE_END,_0x159bec=>{const _0x569b82=_0x2487db,_0x464bf3={'FWjUy':function(_0x4dfb3f,_0x10fca2){const _0x1392ff=a25_0x2d8c;return _0x5a4c77[_0x1392ff(0x1fa)](_0x4dfb3f,_0x10fca2);},'cPvlU':_0x5a4c77[_0x569b82(0x276)],'oCZew':function(_0x3649b0,_0x1905cf){return _0x5a4c77['Xzpsf'](_0x3649b0,_0x1905cf);},'pPdgN':_0x5a4c77[_0x569b82(0x24a)],'tCIUE':function(_0x5cd7c4,_0x470102){const _0x545ee3=_0x569b82;return _0x5a4c77[_0x545ee3(0x21e)](_0x5cd7c4,_0x470102);},'zmUpA':function(_0x3e475b,_0x54c552,_0x199a66){const _0x39fbeb=_0x569b82;return _0x5a4c77[_0x39fbeb(0x1e2)](_0x3e475b,_0x54c552,_0x199a66);},'ThhKU':_0x5a4c77[_0x569b82(0x2e5)],'Fxshx':function(_0x135daf,_0x3cbc10){const _0x265e57=_0x569b82;return _0x5a4c77[_0x265e57(0x2de)](_0x135daf,_0x3cbc10);},'pgCmX':_0x5a4c77['cyypF'],'UckGo':_0x5a4c77[_0x569b82(0x217)],'kgBmV':function(_0x563f7b,_0x444036){const _0x490e04=_0x569b82;return _0x5a4c77[_0x490e04(0x265)](_0x563f7b,_0x444036);},'jZVCu':function(_0x37d705,_0x2855bf){const _0x15f8da=_0x569b82;return _0x5a4c77[_0x15f8da(0x310)](_0x37d705,_0x2855bf);},'ehcqe':function(_0x31d69c,_0x19d041,_0x2b2b0f){return _0x5a4c77['MmgjV'](_0x31d69c,_0x19d041,_0x2b2b0f);},'FdNCo':function(_0x3ade9b,_0x4e811f){const _0x3993d2=_0x569b82;return _0x5a4c77[_0x3993d2(0x2cd)](_0x3ade9b,_0x4e811f);},'qUYty':function(_0x28be03,_0x3f5d37,_0x1d08c0){return _0x5a4c77['mGjTJ'](_0x28be03,_0x3f5d37,_0x1d08c0);},'gbDny':function(_0x38d054,_0x453275,_0x57d511){const _0x59d44a=_0x569b82;return _0x5a4c77[_0x59d44a(0x1e2)](_0x38d054,_0x453275,_0x57d511);},'CuNmY':_0x5a4c77[_0x569b82(0x246)],'WCkOB':_0x5a4c77[_0x569b82(0x299)],'kZWhA':_0x5a4c77[_0x569b82(0x1f9)]};if(_0x159bec[_0x569b82(0x26f)])return;if(_0x5a4c77[_0x569b82(0x24d)](this[_0x569b82(0x2cc)],_0x5a4c77[_0x569b82(0x2d0)]))Base[_0x569b82(0x28c)](),Base[_0x569b82(0x28c)](_0x5a4c77[_0x569b82(0x2cd)](_0x5a4c77['LFbKE'](this[_0x569b82(0x273)](),_0x5a4c77[_0x569b82(0x267)](color,_0x5a4c77['iWjDz'],_0x5a4c77['hzxgt'])),_0x5a4c77['SassJ'](color,_0x5a4c77[_0x569b82(0x1e0)],_0x5a4c77[_0x569b82(0x27c)])),_0x5a4c77[_0x569b82(0x290)],_0x159bec[_0x569b82(0x313)],global['__platform__']),this[_0x569b82(0x2d3)]['forEach'](_0x15eef1=>{const _0x40c847=_0x569b82;if(_0x464bf3[_0x40c847(0x235)](_0x15eef1[_0x40c847(0x2ee)],_0x464bf3[_0x40c847(0x2ba)])){var _0x370b6d;_0x464bf3['oCZew'](_0x15eef1['speed'],_0x464bf3[_0x40c847(0x298)])?(_0x370b6d=_0x464bf3[_0x40c847(0x2fb)](_0x464bf3[_0x40c847(0x2fb)](this[_0x40c847(0x273)](),_0x464bf3[_0x40c847(0x314)](color,_0x464bf3[_0x40c847(0x22e)],_0x464bf3['Fxshx']('\x20\x20',Base[_0x40c847(0x28a)]['ok']))),_0x464bf3[_0x40c847(0x314)](color,_0x464bf3[_0x40c847(0x1e4)],_0x464bf3[_0x40c847(0x27f)])),Base[_0x40c847(0x28c)](_0x370b6d,_0x15eef1[_0x40c847(0x313)])):(_0x370b6d=_0x464bf3['kgBmV'](_0x464bf3[_0x40c847(0x266)](_0x464bf3[_0x40c847(0x220)](this[_0x40c847(0x273)](),_0x464bf3[_0x40c847(0x20c)](color,_0x464bf3[_0x40c847(0x22e)],_0x464bf3[_0x40c847(0x309)]('\x20\x20',Base[_0x40c847(0x28a)]['ok']))),_0x464bf3[_0x40c847(0x296)](color,_0x464bf3['pgCmX'],_0x464bf3['UckGo'])),_0x464bf3[_0x40c847(0x22a)](color,_0x15eef1['speed'],_0x464bf3['CuNmY'])),Base[_0x40c847(0x28c)](_0x370b6d,_0x15eef1[_0x40c847(0x313)],_0x15eef1['duration']));}else Base['consoleLog'](_0x464bf3[_0x40c847(0x309)](this[_0x40c847(0x273)](),_0x464bf3[_0x40c847(0x314)](color,_0x464bf3[_0x40c847(0x2ca)],_0x464bf3[_0x40c847(0x1eb)])),++this[_0x40c847(0x206)],_0x15eef1[_0x40c847(0x313)]);}),this[_0x569b82(0x230)]();else _0x5a4c77[_0x569b82(0x20d)](this[_0x569b82(0x2cc)],_0x5a4c77['CYGBg'])&&(this[_0x569b82(0x2bb)](this[_0x569b82(0x273)]()+_0x569b82(0x2aa)),--this[_0x569b82(0x2dc)],this[_0x569b82(0x2bb)](this[_0x569b82(0x273)]()+_0x569b82(0x301)),--this[_0x569b82(0x2dc)]);Array['prototype'][_0x569b82(0x2ed)][_0x569b82(0x2a2)](this[_0x569b82(0x2bd)],this[_0x569b82(0x2d3)]),this[_0x569b82(0x2d3)]=[];})['on'](EVENT_TEST_PASS,async _0x5d9bd9=>{const _0x18da21=_0x2487db;this['results']['push']({'speed':_0x5d9bd9['speed'],'suite':_0x5d9bd9[_0x18da21(0x2f5)][_0x18da21(0x313)],'title':_0x5d9bd9['title'],'fullTitle':_0x5d9bd9[_0x18da21(0x254)](),'duration':_0x5d9bd9[_0x18da21(0x294)],'state':_0x5d9bd9[_0x18da21(0x2ee)],'err':{},'currentRetry':_0x5d9bd9['currentRetry'](),'titlePathV':_0x5d9bd9['titlePath'](),'isPending':_0x5d9bd9['isPending']()});if(_0x5a4c77[_0x18da21(0x2d2)](this[_0x18da21(0x2cc)],_0x5a4c77[_0x18da21(0x23d)]))_0x5a4c77[_0x18da21(0x29b)](_0x5d9bd9[_0x18da21(0x213)],_0x5a4c77[_0x18da21(0x242)])?process['stdout']['write'](Base['color'](_0x5a4c77[_0x18da21(0x2a4)],Base[_0x18da21(0x28a)][_0x18da21(0x27d)])):process[_0x18da21(0x2ea)]['write'](Base['color'](_0x5d9bd9[_0x18da21(0x213)],Base[_0x18da21(0x28a)]['dot']));else{if(_0x5a4c77[_0x18da21(0x25b)](this['type'],_0x5a4c77[_0x18da21(0x2b8)])){this['docAppend'](this[_0x18da21(0x273)]()+_0x18da21(0x315)+utils[_0x18da21(0x2e9)](_0x5d9bd9[_0x18da21(0x313)])+_0x18da21(0x205)),this[_0x18da21(0x2bb)](this[_0x18da21(0x273)]()+_0x18da21(0x315)+utils[_0x18da21(0x2e9)](_0x5d9bd9[_0x18da21(0x1ee)])+'</dt>');var _0x2b1d2d=utils[_0x18da21(0x2e9)](utils[_0x18da21(0x221)](_0x5d9bd9[_0x18da21(0x2b0)]));this[_0x18da21(0x2bb)](this['indent']()+_0x18da21(0x308)+_0x2b1d2d+'</code></pre></dd>');}}_0x5a4c77[_0x18da21(0x25b)](testhubUtils[_0x18da21(0x2d6)](),!![])&&(!_0x5d9bd9['markedStatus']&&(_0x5d9bd9[_0x18da21(0x311)]=!![],await this[_0x18da21(0x2ac)](_0x5d9bd9)));})['on'](EVENT_TEST_FAIL,async(_0x30717a,_0x484360)=>{const _0xfdccb8=_0x2487db;this[_0xfdccb8(0x2d3)][_0xfdccb8(0x2ed)]({'title':_0x30717a[_0xfdccb8(0x313)],'suite':_0x30717a[_0xfdccb8(0x2f5)][_0xfdccb8(0x313)],'state':_0x30717a[_0xfdccb8(0x2ee)],'err':{'message':util['inspect'](_0x484360)},'fullTitle':_0x30717a['fullTitle'](),'speed':_0x30717a[_0xfdccb8(0x213)],'currentRetry':_0x30717a['currentRetry'](),'titlePathV':_0x30717a[_0xfdccb8(0x240)]()});if(_0x5a4c77['IShyH'](this[_0xfdccb8(0x2cc)],_0x5a4c77[_0xfdccb8(0x23d)]))process['stdout'][_0xfdccb8(0x257)](Base[_0xfdccb8(0x2e7)](_0x5a4c77['YybHm'],Base['symbols']['bang']));else{if(_0x5a4c77[_0xfdccb8(0x25b)](this[_0xfdccb8(0x2cc)],_0x5a4c77[_0xfdccb8(0x2b8)])){const _0x3c2433=_0x5a4c77[_0xfdccb8(0x2b3)]['split']('|');let _0x43b65c=0x0;while(!![]){switch(_0x3c2433[_0x43b65c++]){case'0':this[_0xfdccb8(0x2bb)](this[_0xfdccb8(0x273)]()+_0xfdccb8(0x234)+utils[_0xfdccb8(0x2e9)](_0x30717a[_0xfdccb8(0x305)])+_0xfdccb8(0x22c));continue;case'1':this['docAppend'](this[_0xfdccb8(0x273)]()+_0xfdccb8(0x304)+_0x702d45+_0xfdccb8(0x2d9));continue;case'2':this[_0xfdccb8(0x2bb)](this[_0xfdccb8(0x273)]()+_0xfdccb8(0x209)+utils[_0xfdccb8(0x2e9)](_0x30717a['title'])+_0xfdccb8(0x205));continue;case'3':this[_0xfdccb8(0x2bb)](this[_0xfdccb8(0x273)]()+_0xfdccb8(0x209)+utils['escape'](_0x30717a['file'])+_0xfdccb8(0x205));continue;case'4':var _0x702d45=utils[_0xfdccb8(0x2e9)](utils[_0xfdccb8(0x221)](_0x30717a['body']));continue;}break;}}}if(_0x5a4c77[_0xfdccb8(0x30e)](testhubUtils[_0xfdccb8(0x2d6)](testHubConstants['EVENT'][_0xfdccb8(0x2a9)]),!![])){if(!_0x30717a[_0xfdccb8(0x311)]){_0x30717a[_0xfdccb8(0x311)]=!![];if(_0x30717a[_0xfdccb8(0x272)])await this[_0xfdccb8(0x2ac)](_0x30717a,_0x484360);else _0x30717a[_0xfdccb8(0x1f1)]&&await this[_0xfdccb8(0x2ac)](_0x30717a,_0x484360,![],_0x5a4c77[_0xfdccb8(0x2f3)]);}}})['on'](EVENT_TEST_PENDING,async _0x126aa2=>{const _0x2d7c2c=_0x2487db;this[_0x2d7c2c(0x2d3)][_0x2d7c2c(0x2ed)]({'title':_0x126aa2[_0x2d7c2c(0x313)],'suite':_0x126aa2['parent'][_0x2d7c2c(0x313)],'state':_0x126aa2[_0x2d7c2c(0x2ee)],'err':{},'fullTitle':_0x126aa2[_0x2d7c2c(0x254)](),'speed':_0x126aa2[_0x2d7c2c(0x213)],'currentRetry':_0x126aa2[_0x2d7c2c(0x2ab)](),'titlePathV':_0x126aa2[_0x2d7c2c(0x240)]()}),_0x5a4c77[_0x2d7c2c(0x2b2)](this[_0x2d7c2c(0x2cc)],_0x5a4c77[_0x2d7c2c(0x23d)])&&process[_0x2d7c2c(0x2ea)][_0x2d7c2c(0x257)](Base['color'](_0x5a4c77[_0x2d7c2c(0x2dd)],Base[_0x2d7c2c(0x28a)][_0x2d7c2c(0x2c1)])),_0x5a4c77[_0x2d7c2c(0x30e)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x126aa2[_0x2d7c2c(0x272)]&&(_0x126aa2[_0x2d7c2c(0x272)]=_0x5a4c77[_0x2d7c2c(0x275)](uuidv4)),!_0x126aa2[_0x2d7c2c(0x311)]&&(_0x126aa2['markedStatus']=!![],await this[_0x2d7c2c(0x2ac)](_0x126aa2,undefined,![],_0x5a4c77[_0x2d7c2c(0x23c)])));})['on'](EVENT_TEST_BEGIN,async _0x3b9519=>{const _0x46b37e=_0x2487db;_0x5a4c77['VlmpO'](testhubUtils[_0x46b37e(0x2d6)](),!![])&&await this[_0x46b37e(0x22d)](_0x3b9519);})['on'](EVENT_TEST_END,async _0x298a89=>{const _0x1251a1=_0x2487db;_0x5a4c77[_0x1251a1(0x2d2)](testhubUtils[_0x1251a1(0x2d6)](),!![])&&(!_0x298a89[_0x1251a1(0x311)]&&(_0x298a89[_0x1251a1(0x311)]=!![],await this[_0x1251a1(0x2ac)](_0x298a89)));})[_0x2487db(0x236)](EVENT_RUN_END,async()=>{const _0x1d831f=_0x2487db;try{if(_0x5a4c77['NTXss'](testhubUtils[_0x1d831f(0x2d6)](),!![])){const _0x5f977f=_0x5a4c77['BmtnB'](getHookSkippedTests,this['runner'][_0x1d831f(0x25d)]);for(const _0x227ac2 of _0x5f977f){!_0x227ac2[_0x1d831f(0x272)]&&(_0x227ac2[_0x1d831f(0x272)]=_0x5a4c77[_0x1d831f(0x262)](uuidv4)),await this[_0x1d831f(0x2ac)](_0x227ac2,undefined,![],_0x5a4c77[_0x1d831f(0x23c)]);}}}catch(_0x1bcd13){_0x5a4c77[_0x1d831f(0x2b7)](debug,_0x1d831f(0x2da)+_0x1bcd13);}await requestQueueHandler[_0x1d831f(0x2fd)](),_0x5a4c77[_0x1d831f(0x2af)](this[_0x1d831f(0x2cc)],_0x5a4c77[_0x1d831f(0x2b8)])&&Base[_0x1d831f(0x28c)](this[_0x1d831f(0x264)]);});if(this[_0x2487db(0x2cc)]&&![_0x5a4c77['CYGBg'],_0x5a4c77[_0x2487db(0x289)],_0x5a4c77['UfvKn'],_0x5a4c77[_0x2487db(0x23d)]][_0x2487db(0x21b)](this[_0x2487db(0x2cc)])){const _0x25ae7a=this[_0x2487db(0x2cc)][_0x2487db(0x21f)]();this[_0x2487db(0x203)]=null;try{this['Reporter']=_0x5a4c77[_0x2487db(0x2c0)](requireModule,_0x2487db(0x24b)+_0x25ae7a+_0x2487db(0x247));}catch{}if(_0x5a4c77['NRDhn'](this['Reporter'],null))try{this[_0x2487db(0x203)]=_0x5a4c77[_0x2487db(0x2b7)](require,_0x25ae7a);}catch(_0x13aefd){console[_0x2487db(0x1e5)](_0x2487db(0x2c4)+_0x25ae7a);}if(_0x5a4c77[_0x2487db(0x1ea)](this[_0x2487db(0x203)],null)){const _0x221c88={};_0x221c88['reporterOptions']=_0x49c21c[_0x2487db(0x2e2)],this[_0x2487db(0x203)]=new this[(_0x2487db(0x203))](_0x53cb8b,_0x221c88);}}}['indent'](){const _0x6cd2e7=a25_0x14d561,_0x4e1437={'zGTkk':function(_0x34ec92,_0x3e7d87){return _0x34ec92(_0x3e7d87);}};return _0x4e1437['zGTkk'](Array,this[_0x6cd2e7(0x302)])[_0x6cd2e7(0x1f5)]('\x20\x20');}[a25_0x14d561(0x293)](){this['_indents']++;}['decreaseIndent'](){const _0x4e594b=a25_0x14d561;this[_0x4e594b(0x302)]--;}[a25_0x14d561(0x2bb)](_0x461b0e){this['docHtml']+=_0x461b0e;}['done'](_0x5b9f5f,_0xc3b6b0){const _0x1fa4e2=a25_0x14d561,_0x1e9915={'hwJcl':function(_0x421ec0,_0x293f24){return _0x421ec0(_0x293f24);}},_0x3d3467={};_0x3d3467[_0x1fa4e2(0x245)]=_0x5b9f5f,_0x3d3467[_0x1fa4e2(0x2d3)]=this[_0x1fa4e2(0x2bd)],_0x1e9915['hwJcl'](_0xc3b6b0,_0x3d3467);}[a25_0x14d561(0x232)](){const _0x1a9bf7=a25_0x14d561;process[_0x1a9bf7(0x2c9)]('bs:addLog:'+process[_0x1a9bf7(0x274)]),process['on'](_0x1a9bf7(0x2b5)+process[_0x1a9bf7(0x274)],this[_0x1a9bf7(0x312)]['bind'](this)),process['removeAllListeners'](_0x1a9bf7(0x219)+process['pid']),process['on']('bs:addPlatformDetails:'+process[_0x1a9bf7(0x274)],this[_0x1a9bf7(0x204)]['bind'](this));}[a25_0x14d561(0x22d)]=async _0x354792=>{const _0x5a59e4=a25_0x14d561,_0x29670f={'hKWIV':function(_0x2f29bd){return _0x2f29bd();},'TscQu':function(_0x5e2e04,_0x30fb4f){return _0x5e2e04>_0x30fb4f;},'ctQpV':function(_0x327ea8,_0x4c570b){return _0x327ea8===_0x4c570b;},'IOIFC':_0x5a59e4(0x25e),'jKYMK':function(_0x1b37b6,_0x1e69ec){return _0x1b37b6(_0x1e69ec);}};try{const _0x353378=this[_0x5a59e4(0x2a6)];this[_0x5a59e4(0x2a6)]=_0x354792,_0x354792[_0x5a59e4(0x2e3)]=null,_0x354792[_0x5a59e4(0x272)]=_0x29670f[_0x5a59e4(0x297)](uuidv4),_0x354792[_0x5a59e4(0x2f4)]=new Date()[_0x5a59e4(0x1fd)](),_0x29670f[_0x5a59e4(0x281)](_0x354792[_0x5a59e4(0x226)],0x0)&&_0x353378&&_0x29670f[_0x5a59e4(0x2d1)](_0x353378[_0x5a59e4(0x313)],_0x354792[_0x5a59e4(0x313)])?(_0x354792[_0x5a59e4(0x2e3)]=_0x353378[_0x5a59e4(0x272)],await this['sendTestRunEvent'](_0x354792,undefined,![],_0x29670f[_0x5a59e4(0x1e3)]),_0x353378[_0x5a59e4(0x2ee)]=STATE_FAILED,await this[_0x5a59e4(0x2ac)](_0x353378,undefined,!![])):await this[_0x5a59e4(0x2ac)](_0x354792,undefined,![],_0x29670f[_0x5a59e4(0x1e3)]);}catch(_0x58a52c){_0x29670f[_0x5a59e4(0x227)](debug,_0x5a59e4(0x208)+_0x58a52c);}};[a25_0x14d561(0x2ac)]=async(_0x87d0a3,_0x3f555a=undefined,_0x1697ea=![],_0x14c7cc='TestRunFinished')=>{const _0x402347=a25_0x14d561,_0x2d5957={'TgzgB':function(_0x4d57b6,_0x140bdd){return _0x4d57b6===_0x140bdd;},'nHgHi':function(_0x42e6df,_0x301af8){return _0x42e6df!==_0x301af8;},'nyFAK':_0x402347(0x2bf),'lVXJH':'err','basWM':function(_0x48cc15,_0x5f1a31){return _0x48cc15!==_0x5f1a31;},'stFzn':function(_0x4a795c,_0x7cca7b){return _0x4a795c!==_0x7cca7b;},'iNptj':_0x402347(0x1f6),'SNQbI':_0x402347(0x291),'pXEpR':'javascript','nbXep':'TestRunSkipped','saauo':_0x402347(0x26e),'LrLoq':function(_0x35df70,_0x231d51){return _0x35df70-_0x231d51;},'MhveP':'AssertionError','agEVb':_0x402347(0x2a0),'mINEJ':function(_0x10d999,_0x77c5f0){return _0x10d999===_0x77c5f0;},'kVENe':_0x402347(0x2f4),'szMqy':_0x402347(0x2e4),'WAfqY':function(_0x5a0af1,_0x3fd17d){return _0x5a0af1(_0x3fd17d);},'rGwYU':function(_0x29c676,_0x2a1d7e){return _0x29c676===_0x2a1d7e;},'PpUoG':_0x402347(0x2ec),'FBqBO':_0x402347(0x2e1),'clywL':'passed','Luoqf':_0x402347(0x26a),'cWgmM':function(_0x183ffa,_0x298dd8){return _0x183ffa===_0x298dd8;},'KtdlF':_0x402347(0x25a),'rnUhD':_0x402347(0x26d),'XvzFo':_0x402347(0x268),'wTKJr':_0x402347(0x292),'uucLV':_0x402347(0x2fc),'vemyh':'TestRunFinished','dpgMR':function(_0x4a2843,_0x1cfb50){return _0x4a2843===_0x1cfb50;},'MLQoS':'hook_type','AACSj':_0x402347(0x2fa),'acnZR':_0x402347(0x1f3)};try{if(_0x87d0a3[_0x402347(0x2b0)]&&_0x87d0a3[_0x402347(0x2b0)][_0x402347(0x28b)](/browserstack internal helper hook/))return;let _0x1fb3d2=[];if(_0x2d5957[_0x402347(0x2cf)](_0x87d0a3[_0x402347(0x2ee)],STATE_FAILED)){if(_0x2d5957['nHgHi'](_0x87d0a3[_0x402347(0x305)],undefined))_0x1fb3d2=_0x87d0a3[_0x402347(0x305)][_0x402347(0x249)]?[_0x87d0a3[_0x402347(0x305)]['multiple'],_0x2d5957[_0x402347(0x30b)]]:[_0x87d0a3[_0x402347(0x305)],_0x2d5957['lVXJH']];else _0x2d5957[_0x402347(0x261)](_0x3f555a,undefined)?_0x1fb3d2=[_0x3f555a,_0x2d5957[_0x402347(0x29c)]]:_0x1fb3d2=[];}const _0x4b4d46=_0x2d5957[_0x402347(0x261)](_0x87d0a3[_0x402347(0x305)],undefined)?_0x87d0a3[_0x402347(0x305)][_0x402347(0x1ec)]():_0x2d5957[_0x402347(0x1f0)](_0x3f555a,undefined)?_0x3f555a[_0x402347(0x1ec)]():undefined;let _0x587a4c;try{_0x587a4c=this[_0x402347(0x278)](_0x87d0a3);}catch(_0x206daa){_0x587a4c=null;}const _0x88679f=_0x587a4c?this[_0x402347(0x2f1)](_0x587a4c):null,_0x8f024d=_0x587a4c?this[_0x402347(0x25c)][_0x402347(0x21c)](this[_0x402347(0x278)](_0x87d0a3)):_0x2d5957[_0x402347(0x1f2)],_0x33273b={'framework':_0x2d5957[_0x402347(0x270)],'uuid':_0x87d0a3[_0x402347(0x272)]||_0x87d0a3[_0x402347(0x1f1)],'name':_0x87d0a3[_0x402347(0x313)],'body':{'lang':_0x2d5957['pXEpR'],'code':_0x87d0a3[_0x402347(0x2b0)]},'scope':this[_0x402347(0x2c6)](_0x87d0a3),'scopes':this[_0x402347(0x24f)](_0x87d0a3),'identifier':_0x87d0a3[_0x402347(0x254)](),'file_name':_0x8f024d,'vc_filepath':_0x88679f?path[_0x402347(0x30d)](_0x88679f,_0x587a4c):null,'location':_0x8f024d,'result':_0x2d5957[_0x402347(0x2cf)](_0x14c7cc,_0x2d5957[_0x402347(0x224)])?_0x2d5957['saauo']:this[_0x402347(0x1e7)](_0x87d0a3[_0x402347(0x2ee)]),'failure_reason':_0x4b4d46,'duration_in_ms':_0x87d0a3[_0x402347(0x294)]||(_0x14c7cc[_0x402347(0x28b)](/Finished/)||_0x14c7cc[_0x402347(0x28b)](/Skipped/)?_0x2d5957[_0x402347(0x30c)](Date['now'](),new Date(_0x87d0a3[_0x402347(0x2f4)])[_0x402347(0x2f9)]()):null),'started_at':_0x87d0a3[_0x402347(0x2f4)],'finished_at':_0x14c7cc['match'](/Finished/)||_0x14c7cc[_0x402347(0x28b)](/Skipped/)?new Date()['toISOString']():null,'failure':failureData[_0x402347(0x2a2)](null,_0x1fb3d2),'failure_type':!_0x4b4d46?null:_0x4b4d46[_0x402347(0x28b)](/AssertionError/)?_0x2d5957[_0x402347(0x2e0)]:_0x2d5957[_0x402347(0x2b4)],'retry_of':_0x87d0a3['retryOf']};testhubUtils[_0x402347(0x2d8)](_0x33273b,_0x14c7cc,_0x87d0a3,FRAMEWORKS[_0x402347(0x218)]);_0x2d5957[_0x402347(0x215)](_0x14c7cc,_0x2d5957[_0x402347(0x224)])&&!_0x33273b[_0x2d5957[_0x402347(0x295)]]&&(_0x33273b[_0x2d5957[_0x402347(0x295)]]=_0x33273b[_0x2d5957[_0x402347(0x27e)]]);if(_0x14c7cc[_0x402347(0x28b)](/HookRun/))[_0x33273b['hook_type'],_0x33273b[_0x402347(0x233)]]=_0x2d5957[_0x402347(0x20e)](getHookDetails,_0x87d0a3['fullTitle']()||_0x87d0a3[_0x402347(0x269)]||_0x87d0a3[_0x402347(0x313)]),_0x2d5957['rGwYU'](_0x14c7cc,_0x2d5957[_0x402347(0x210)])&&(_0x2d5957[_0x402347(0x229)](_0x33273b[_0x402347(0x29a)],_0x2d5957[_0x402347(0x2ff)])&&(_0x33273b[_0x402347(0x29a)]=_0x2d5957[_0x402347(0x23a)]),_0x2d5957[_0x402347(0x215)](_0x33273b[_0x402347(0x29d)],_0x2d5957['Luoqf'])&&_0x2d5957[_0x402347(0x23b)](_0x33273b[_0x402347(0x29a)],_0x2d5957[_0x402347(0x2ff)])&&!_0x87d0a3['ctx'][_0x402347(0x225)]['markedStatus']&&(_0x87d0a3[_0x402347(0x28e)][_0x402347(0x225)][_0x402347(0x311)]=!![],_0x87d0a3[_0x402347(0x28e)][_0x402347(0x225)][_0x402347(0x2ee)]=STATE_FAILED,await this['sendTestRunEvent'](_0x87d0a3[_0x402347(0x28e)][_0x402347(0x225)],undefined,!![])));else _0x14c7cc[_0x402347(0x28b)](/TestRun/)&&_0x2d5957['WAfqY'](mapTestHooks,_0x87d0a3);const _0x3c8c70=_0x33273b[_0x2d5957[_0x402347(0x282)]][0x0];_0x3c8c70&&(_0x33273b[_0x2d5957[_0x402347(0x1fc)]]=_0x3c8c70[_0x2d5957[_0x402347(0x211)]],_0x33273b[_0x2d5957[_0x402347(0x237)]]=_0x3c8c70[_0x2d5957['uucLV']]);[_0x2d5957[_0x402347(0x285)],_0x2d5957['nbXep']][_0x402347(0x21b)](_0x14c7cc)&&(this[_0x402347(0x2c5)][_0x402347(0x2ed)](_0x33273b),_0x33273b['hooks']=_0x2d5957[_0x402347(0x20e)](getHooksForTest,_0x87d0a3));const _0x5dc234={'event_type':_0x2d5957[_0x402347(0x26b)](_0x14c7cc,_0x2d5957[_0x402347(0x224)])?_0x2d5957[_0x402347(0x285)]:_0x14c7cc};_0x14c7cc[_0x402347(0x28b)](/HookRun/)?(_0x33273b[_0x2d5957[_0x402347(0x212)]]=HOOK_TYPES_MAP[_0x33273b[_0x2d5957[_0x402347(0x212)]]],_0x5dc234[_0x2d5957[_0x402347(0x23e)]]=_0x33273b):_0x5dc234[_0x2d5957[_0x402347(0x2df)]]=_0x33273b,testhubUtils['setCurrentTestData'](FRAMEWORKS[_0x402347(0x218)],_0x5dc234),await SessionHandler[_0x402347(0x25f)](_0x5dc234);}catch(_0x497107){_0x2d5957['WAfqY'](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x14c7cc+_0x402347(0x1e9)+_0x497107);}};[a25_0x14d561(0x2f1)](_0x1c9740){const _0x4aa474=a25_0x14d561,_0xd6d310={};_0xd6d310['NpFoc']=function(_0x4d7b2d,_0x44d276){return _0x4d7b2d===_0x44d276;},_0xd6d310[_0x4aa474(0x1e6)]=function(_0x5325c6,_0x352f21){return _0x5325c6===_0x352f21;},_0xd6d310[_0x4aa474(0x24c)]=_0x4aa474(0x1f4),_0xd6d310[_0x4aa474(0x1e1)]=_0x4aa474(0x288);const _0x31d267=_0xd6d310,_0xdc3fc9=path[_0x4aa474(0x28d)];if(_0x31d267[_0x4aa474(0x1ed)](_0x1c9740,null)||_0x31d267[_0x4aa474(0x1e6)](_0x1c9740,'')||_0x31d267[_0x4aa474(0x1ed)](_0x1c9740,_0xdc3fc9))return null;try{return fs[_0x4aa474(0x24e)](path['join'](_0x1c9740,_0x31d267[_0x4aa474(0x24c)],_0x31d267[_0x4aa474(0x1e1)])),_0x1c9740;}catch(_0x51c128){const _0x43d572=path[_0x4aa474(0x1f8)](_0x1c9740);return this[_0x4aa474(0x2f1)](_0x43d572);}}[a25_0x14d561(0x312)]=async _0x2b430d=>{const _0x25574b=a25_0x14d561,_0x3d2040={'inUeZ':_0x25574b(0x2b6),'BHAdn':function(_0x2baa9f,_0x21f1c0){return _0x2baa9f(_0x21f1c0);}};try{this['current_hook']&&!this[_0x25574b(0x216)][_0x25574b(0x311)]&&(_0x2b430d['hook_run_uuid']=this['current_hook']['hookAnalyticsId']);!_0x2b430d[_0x25574b(0x2a5)]&&this[_0x25574b(0x2a6)]&&!this[_0x25574b(0x2a6)][_0x25574b(0x311)]&&(_0x2b430d[_0x25574b(0x2db)]=this[_0x25574b(0x2a6)][_0x25574b(0x272)]);if(_0x2b430d['hook_run_uuid']||_0x2b430d[_0x25574b(0x2db)]){const _0x540fe3={};_0x540fe3[_0x25574b(0x258)]=_0x3d2040[_0x25574b(0x2d5)],_0x540fe3[_0x25574b(0x238)]=[_0x2b430d],await SessionHandler[_0x25574b(0x25f)](_0x540fe3);}}catch(_0x46b43d){_0x3d2040[_0x25574b(0x251)](debug,_0x25574b(0x1e8)+_0x46b43d);}};['appendTestPlatform']=async _0x2af7d9=>{const _0x5b7496=a25_0x14d561,_0x442117={'fUgfO':'http_response','kUmRO':_0x5b7496(0x316),'VfUBP':function(_0x267646,_0x500af6){return _0x267646(_0x500af6);}};try{const _0x452f42={};_0x452f42[_0x5b7496(0x2cb)]=_0x2af7d9[_0x5b7496(0x2cb)]||this[_0x5b7496(0x2a6)][_0x5b7496(0x272)],_0x452f42[_0x5b7496(0x250)]=_0x2af7d9[_0x442117['fUgfO']];const _0x4a8a94=_0x452f42,_0x3c52c0={};_0x3c52c0[_0x5b7496(0x258)]=_0x442117[_0x5b7496(0x20b)],_0x3c52c0[_0x5b7496(0x1f3)]=_0x4a8a94,await SessionHandler[_0x5b7496(0x25f)](_0x3c52c0);}catch(_0x5e039d){_0x442117['VfUBP'](debug,_0x5b7496(0x231)+_0x5e039d);}};[a25_0x14d561(0x1e7)](_0x133f4c){const _0x355421=a25_0x14d561,_0x5d49fd={};_0x5d49fd[_0x355421(0x1fb)]='passed',_0x5d49fd[_0x355421(0x2f7)]='pending',_0x5d49fd[_0x355421(0x22f)]=_0x355421(0x2e1);const _0x45f232=_0x5d49fd,_0x1302cb={};return _0x1302cb[STATE_PASSED]=_0x45f232[_0x355421(0x1fb)],_0x1302cb[STATE_PENDING]=_0x45f232['qPqaY'],_0x1302cb[STATE_FAILED]=_0x45f232[_0x355421(0x22f)],_0x1302cb[_0x133f4c];}['scope'](_0x3a76d9){const _0x26d977=a25_0x14d561,_0x1adfc7={};_0x1adfc7[_0x26d977(0x280)]=function(_0x4dceab,_0x200047){return _0x4dceab-_0x200047;};const _0x5567e9=_0x1adfc7,_0x3bfaf6=_0x3a76d9[_0x26d977(0x240)]();return _0x3bfaf6[_0x26d977(0x2f0)](0x0,_0x5567e9[_0x26d977(0x280)](_0x3bfaf6[_0x26d977(0x29f)],0x1))['join']('\x20');}[a25_0x14d561(0x24f)](_0x45c6a7){const _0x2509f3=a25_0x14d561,_0x34ad74={};_0x34ad74['UsWbh']=function(_0x58774f,_0x4172e4){return _0x58774f-_0x4172e4;};const _0x21e647=_0x34ad74,_0x444cf6=_0x45c6a7[_0x2509f3(0x240)]();return _0x444cf6[_0x2509f3(0x2f0)](0x0,_0x21e647[_0x2509f3(0x2a1)](_0x444cf6[_0x2509f3(0x29f)],0x1));}[a25_0x14d561(0x278)](_0x245713){const _0x10c07c=a25_0x14d561,_0x51f774={};_0x51f774[_0x10c07c(0x260)]=function(_0x3006b3,_0x3e4017){return _0x3006b3>_0x3e4017;};const _0x1ba29a=_0x51f774;if(_0x245713[_0x10c07c(0x1ee)])return _0x245713['file'];if(_0x245713['ctx']){const _0x5954cf=_0x245713[_0x10c07c(0x28e)]['currentTest']?this[_0x10c07c(0x278)](_0x245713[_0x10c07c(0x28e)]['currentTest']):null;if(_0x5954cf)return _0x5954cf;}if(_0x245713[_0x10c07c(0x2f5)]){const _0x1c3aad=this[_0x10c07c(0x278)](_0x245713['parent'])||(_0x245713[_0x10c07c(0x2f5)][_0x10c07c(0x28e)]&&_0x245713[_0x10c07c(0x2f5)]['ctx'][_0x10c07c(0x225)]?this[_0x10c07c(0x278)](_0x245713['parent'][_0x10c07c(0x28e)][_0x10c07c(0x225)]):null);if(_0x1c3aad)return _0x1c3aad;_0x245713[_0x10c07c(0x2f5)][_0x10c07c(0x202)]&&_0x1ba29a[_0x10c07c(0x260)](_0x245713[_0x10c07c(0x2f5)][_0x10c07c(0x202)][_0x10c07c(0x29f)],0x0)&&_0x245713['parent'][_0x10c07c(0x202)][_0x10c07c(0x1f7)](_0xfa73b7=>{const _0x5969bd=_0x10c07c,_0x257938=_0xfa73b7[_0x5969bd(0x28e)]?this[_0x5969bd(0x278)](_0xfa73b7['ctx']):null;if(_0x257938)return _0x257938;});}return null;}}function a25_0x2d8c(_0x286c74,_0xe2177c){const _0x358c07=a25_0x358c();return a25_0x2d8c=function(_0x2d8c77,_0xbe515d){_0x2d8c77=_0x2d8c77-0x1df;let _0x2e3cd9=_0x358c07[_0x2d8c77];return _0x2e3cd9;},a25_0x2d8c(_0x286c74,_0xe2177c);}module[a25_0x14d561(0x2b9)]=MyReporter;
1
+ 'use strict';const a25_0x48a636=a25_0x1112;function a25_0x4b11(){const _0x1b996c=['slice','done','started_at','doc','inspect','getRootParentFile','DIaOd','_paths','MOCHA','vZKLY','length','0|4|3|2|1','escape','file','kZCUZ','current_test','KfYxy','1JiIWTd','symbols','WppFA','setCurrentTestData','YNcDX','%s\x20-\x20%s','EKYRF','backtrace','Tfyrd','failure','test','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','</code></pre></dd>','TeKfx','CRkmG','originalTitle','parent','mocha/lib/utils.js','PUJIq','TestRunFinished','\x20\x20<dd><pre><code>','\x20with\x20error\x20:\x20','cPMvl','bSjhq','retryOf','bs:addLog:','FRUmJ','2921415jQGVcA','green','UyWyU','llwaT','hookAnalyticsId','VHLVJ','mxeiA','apply','bsConfig','PiPeE','607388leaWHc','sendTestRunEvent','fbzkZ','<dl>','toString','hook_type','xOFzY','toISOString','vIukk','_testEnv','24662qWmZSB','runner','EEohE','testAnalyticsId','vhRYA','testObservability','color','fxsaV','zjNxO','8MhqDsK','bright\x20yellow','bvqeC','before\x20all','isPending','fvekq','syJeN','wjWOv','qlQBl','\x20\x20<dd\x20class=\x22error\x22>','\x20\x20<dt\x20class=\x22error\x22>','test_run','__platform__','duration','16156THMeXa','OBrYK','EOpvT','docAppend','Failed\x20to\x20load\x20reporter\x20','once','.git','UEolz','faUCV','xuqze','bs:addPlatformDetails:','UEWjC','path','kNaQQ','testStarted','yhQOH','bang','3790rbbOyc','match','Mocha','wWNwk','\x20\x20%d)\x20%s','appendTestItemLog','\x20\x20<dt>','err','Tpcze','suiteCount','ShfEF','yFQPl','699939znLeEO','RkUQf','UYoiV','error','xhCZJ','lWkCJ','<section\x20class=\x22suite\x22>','../../../helpers/test-observability/utils','HookRunStarted','skipped','title','currentRetry','mhoYU','root','%s\x20','reporterOptions','findGitConfig','hook_run','getInstance','docHtml','currentTest','removeAllListeners','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','speed','fast','YJcYH','UYjXC','aFOJG','xunit','FYaid','scopes','now','trim','ZXCus','decreaseIndent','</section>','LSDLo','../../../helpers/test-observability/requestQueueHandler','increaseIndent','xfrWV','../test-observability/mochaUtils','JYKoT','XXjTK','passed','results','suites','finalResults','uploadEventData','sqZaZ','</dt>','name','qVEHc','indent','Reporter','otePx','YzVsv','DUyPw','jHtni','gZASw','50ZDFYgF','titlePath','\x20-\x20','vyRRw','cwd','Vyjnh','statSync','join','BEFORE_ALL','SDElS','dphNj','xgYjB','uaaXa','pqXRR','relative','ctx','mocha/lib/reporters/base.js','1355382wnXWcr','Runner','oZRID','vsVLm','lEXMR','_upstreamConfig','DnecI','failCount','reporterOption','EVENT','write','bind','wCwig','includes','bAcJh','mocha/lib/runnable.js','light','eqRvK','analyticsResult','comma','peCtx','prefixTestPath','LQpuf','HwLPm','AFTER_ALL','type','</dd>','config','\x20%s','stdout','body','checkmark','BEFORE_EACH','shouldProcessEventForTesthub','http_response','xafrs','split','call','pending','../../../helpers/test-observability/constants','CBTSessionCreated','slow','_currentRetry','pYGwr','OscFW','mocha','failed','pass','HookRunFinished','consoleLog','_indents','location_prefix','.js','EomJB','hook_run_uuid','jopAS','pid','fail','COMPLETED','TestRunStarted','sTtRv','\x20\x20<dd\x20class=\x22error\x22><pre><code>','lMlRD','state','KSCwt','uHbTO','ASujl','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','UnhandledError','<h1>','markedStatus','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','uuid','prototype','CUwvt','after\x20all','forEach','pGnIB','current_hook','WeEKx','OZEze','multiple','rkiaJ','fzjSy','fullTitle','2522082eswoGf','test_run_uuid','LogCreated','../../../helpers/testhub/utils','constants','../../../helpers/helper','__indents','appendTestPlatform','APANI','../../../helpers/testhub/constants','scope','AssertionError','before\x20each','oXIbT','clean','event_type','</dl>','push','dot','failure_reason_expanded','result','lxSEW'];a25_0x4b11=function(){return _0x1b996c;};return a25_0x4b11();}(function(_0x3e5b31,_0x548ac6){const _0x5918b2=a25_0x1112,_0x414766=_0x3e5b31();while(!![]){try{const _0x413682=parseInt(_0x5918b2(0x141))/0x1*(-parseInt(_0x5918b2(0x166))/0x2)+parseInt(_0x5918b2(0x1f0))/0x3+parseInt(_0x5918b2(0x187))/0x4*(parseInt(_0x5918b2(0x1df))/0x5)+parseInt(_0x5918b2(0x11a))/0x6+-parseInt(_0x5918b2(0x15c))/0x7*(-parseInt(_0x5918b2(0x179))/0x8)+parseInt(_0x5918b2(0x1a4))/0x9+-parseInt(_0x5918b2(0x198))/0xa*(parseInt(_0x5918b2(0x170))/0xb);if(_0x413682===_0x548ac6)break;else _0x414766['push'](_0x414766['shift']());}catch(_0x46ba3d){_0x414766['push'](_0x414766['shift']());}}}(a25_0x4b11,0x3e11b));const util=require('util'),fs=require('fs'),path=require(a25_0x48a636(0x193)),{requireModule}=require(a25_0x48a636(0x11f)),Base=requireModule(a25_0x48a636(0x1ef)),utils=requireModule(a25_0x48a636(0x152)),color=Base[a25_0x48a636(0x176)],Mocha=requireModule(a25_0x48a636(0x21d)),Runnable=requireModule(a25_0x48a636(0x1ff)),{v4:uuidv4}=require(a25_0x48a636(0x238)),bsSetupHelper=require(a25_0x48a636(0x11f)),testhubUtils=require(a25_0x48a636(0x11d)),testHubConstants=require(a25_0x48a636(0x123)),{FRAMEWORKS}=require(a25_0x48a636(0x217)),a25_0x27bbe7={};a25_0x27bbe7[a25_0x48a636(0x17c)]=a25_0x48a636(0x1e7),a25_0x27bbe7[a25_0x48a636(0x23b)]=a25_0x48a636(0x208),a25_0x27bbe7[a25_0x48a636(0x126)]=a25_0x48a636(0x210),a25_0x27bbe7['after\x20each']='AFTER_EACH';const HOOK_TYPES_MAP=a25_0x27bbe7,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha[a25_0x48a636(0x1f1)]['constants'],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a25_0x48a636(0x11e)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a25_0x48a636(0x1cc)),{consoleHolder}=require('../../../helpers/test-observability/constants'),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a25_0x48a636(0x1ab)),RequestQueueHandler=require(a25_0x48a636(0x1c9)),requestQueueHandler=RequestQueueHandler[a25_0x48a636(0x1b6)]();function a25_0x1112(_0x575f2b,_0x25442a){const _0x4b11ba=a25_0x4b11();return a25_0x1112=function(_0x111222,_0x3ef8e9){_0x111222=_0x111222-0x111;let _0x113d7a=_0x4b11ba[_0x111222];return _0x113d7a;},a25_0x1112(_0x575f2b,_0x25442a);}class MyReporter{constructor(_0x30cccf,_0x48970e){const _0x32480d=a25_0x48a636,_0x568d78={'Tpcze':function(_0x2c6af7,_0x2f476e){return _0x2c6af7===_0x2f476e;},'xafrs':'spec','xOFzY':function(_0x270928,_0x11f3ac){return _0x270928===_0x11f3ac;},'LwMow':function(_0x106f95,_0x4b0049){return _0x106f95+_0x4b0049;},'pYGwr':function(_0x205cb8,_0x3cc4e4){return _0x205cb8+_0x3cc4e4;},'qlQBl':function(_0x807180,_0x1fab38,_0x5b289c){return _0x807180(_0x1fab38,_0x5b289c);},'yKdPp':_0x32480d(0x15d),'yFQPl':_0x32480d(0x1b2),'DnecI':function(_0x178db5,_0x374c06,_0x134776){return _0x178db5(_0x374c06,_0x134776);},'KfYxy':_0x32480d(0x200),'LQpuf':_0x32480d(0x146),'DIaOd':'RUNNING','cPMvl':_0x32480d(0x133),'XXjTK':function(_0x906c46,_0x139d19){return _0x906c46===_0x139d19;},'vhRYA':function(_0x1c7de3){return _0x1c7de3();},'aUSLG':_0x32480d(0x1ac),'xVFve':function(_0x22ff81,_0x34101e){return _0x22ff81===_0x34101e;},'faUCV':_0x32480d(0x220),'uBAPI':_0x32480d(0x1cf),'UyWyU':function(_0x2e6c3b,_0x2d5f20){return _0x2e6c3b===_0x2d5f20;},'lMlRD':_0x32480d(0x1bc),'xfrWV':function(_0x5aca72,_0x5501d0){return _0x5aca72+_0x5501d0;},'uHbTO':function(_0x553cad,_0x2ce00d,_0xa9d5e5){return _0x553cad(_0x2ce00d,_0xa9d5e5);},'CRkmG':_0x32480d(0x20f),'FRUmJ':_0x32480d(0x21f),'DUyPw':_0x32480d(0x20c),'WeEKx':function(_0x117355,_0x54cd55,_0x58f986){return _0x117355(_0x54cd55,_0x58f986);},'fCwyF':'\x20(%dms)','qVEHc':_0x32480d(0x229),'xgBfn':_0x32480d(0x19c),'oXIbT':function(_0x34109d,_0x5beb2d){return _0x34109d===_0x5beb2d;},'OBrYK':_0x32480d(0x17a),'XIHCF':_0x32480d(0x22a),'Tfyrd':_0x32480d(0x12c),'SDElS':_0x32480d(0x219),'Vyjnh':function(_0x17bdd5,_0x2978d6){return _0x17bdd5===_0x2978d6;},'YJcYH':function(_0x742db0,_0x18997a){return _0x742db0===_0x18997a;},'dphNj':_0x32480d(0x13b),'pqXRR':function(_0x47b17e,_0x4787ca){return _0x47b17e===_0x4787ca;},'KSCwt':function(_0x49e56f,_0xcdf1cf){return _0x49e56f===_0xcdf1cf;},'APANI':_0x32480d(0x216),'UYoiV':function(_0x2acccf,_0x575579){return _0x2acccf===_0x575579;},'lWkCJ':function(_0x20c580){return _0x20c580();},'sqZaZ':'TestRunSkipped','NtLfy':function(_0x125ede,_0xcaef76){return _0x125ede===_0xcaef76;},'fbzkZ':function(_0x3fb011,_0x5ae539){return _0x3fb011(_0x5ae539);},'CUwvt':function(_0x1db953){return _0x1db953();},'hiRHH':_0x32480d(0x1c0),'VHLVJ':function(_0x2ee5dd,_0xd08648){return _0x2ee5dd===_0xd08648;},'PxJIH':function(_0x4e3a98,_0x62b87d){return _0x4e3a98!==_0x62b87d;}};this[_0x32480d(0x209)]=_0x48970e[_0x32480d(0x1f8)]['type'],this[_0x32480d(0x175)]=_0x568d78[_0x32480d(0x23a)](isTestObservabilitySession),Base[_0x32480d(0x215)](this,_0x30cccf,_0x48970e),this['_indents']=0x0,this[_0x32480d(0x1f7)]=0x0,this['results']=[],this[_0x32480d(0x1d2)]=[],this[_0x32480d(0x1a1)]=0x0,this['_buildCreated']=![],this['_testResults']=[],this[_0x32480d(0x16f)]=_0x568d78['lWkCJ'](getTestEnv),this['_paths']=new PathHelper({'cwd':process[_0x32480d(0x1e3)]()},this[_0x32480d(0x16f)][_0x32480d(0x223)]),this[_0x32480d(0x1f5)]=_0x48970e[_0x32480d(0x1f8)][_0x32480d(0x164)],this['registerListeners']();_0x568d78['UyWyU'](this['type'],_0x568d78['cPMvl'])&&(this[_0x32480d(0x1b7)]='',this[_0x32480d(0x120)]=0x2);_0x30cccf[_0x32480d(0x18c)](EVENT_RUN_BEGIN,async()=>{const _0x3f6bb4=_0x32480d;_0x568d78[_0x3f6bb4(0x1a0)](this[_0x3f6bb4(0x209)],_0x568d78[_0x3f6bb4(0x213)])&&Base[_0x3f6bb4(0x221)]();})['on'](EVENT_SUITE_BEGIN,_0xd8f0ea=>{const _0x479bd0=_0x32480d;if(_0xd8f0ea[_0x479bd0(0x1b1)])return;if(_0x568d78[_0x479bd0(0x16c)](this[_0x479bd0(0x209)],_0x568d78['xafrs']))this[_0x479bd0(0x1ca)](),Base[_0x479bd0(0x221)](_0x568d78['LwMow'](_0x568d78['pYGwr'](this['indent'](),_0x568d78[_0x479bd0(0x181)](color,_0x568d78['yKdPp'],_0x568d78['yFQPl'])),_0x568d78[_0x479bd0(0x1f6)](color,_0x568d78[_0x479bd0(0x140)],_0x568d78[_0x479bd0(0x206)])),_0x568d78[_0x479bd0(0x136)],_0xd8f0ea[_0x479bd0(0x1ae)],global[_0x479bd0(0x185)]);else _0x568d78[_0x479bd0(0x1a0)](this['type'],_0x568d78[_0x479bd0(0x157)])&&(this['docAppend'](this[_0x479bd0(0x1d8)]()+_0x479bd0(0x1aa)),++this[_0x479bd0(0x120)],this[_0x479bd0(0x18a)](this['indent']()+_0x479bd0(0x235)+utils['escape'](_0xd8f0ea[_0x479bd0(0x1ae)]+_0x479bd0(0x1e1)+global[_0x479bd0(0x185)])+'</h1>'),this[_0x479bd0(0x18a)](this[_0x479bd0(0x1d8)]()+_0x479bd0(0x169)));})['on'](EVENT_HOOK_BEGIN,async _0x11724a=>{const _0x5b0623=_0x32480d;if(_0x568d78['XXjTK'](testhubUtils[_0x5b0623(0x211)](testHubConstants[_0x5b0623(0x1f9)]['HookStarted']),!![])){if(!_0x11724a['hookAnalyticsId'])_0x11724a[_0x5b0623(0x160)]=_0x568d78[_0x5b0623(0x174)](uuidv4);else _0x11724a[_0x5b0623(0x236)]&&(_0x11724a['hookAnalyticsId']=_0x568d78[_0x5b0623(0x174)](uuidv4),delete _0x11724a[_0x5b0623(0x236)]);_0x11724a['started_at']=new Date()['toISOString'](),this[_0x5b0623(0x113)]=_0x11724a,await this[_0x5b0623(0x167)](_0x11724a,undefined,![],_0x568d78['aUSLG']);}})['on'](EVENT_HOOK_END,async _0x451ec7=>{const _0x14f8c3=_0x32480d;_0x568d78['xVFve'](testhubUtils[_0x14f8c3(0x211)](testHubConstants[_0x14f8c3(0x1f9)]['HookFinished']),!![])&&(!_0x451ec7[_0x14f8c3(0x236)]&&(_0x451ec7[_0x14f8c3(0x236)]=!![],await this[_0x14f8c3(0x167)](_0x451ec7,undefined,![],_0x568d78[_0x14f8c3(0x18f)])));})['on'](EVENT_SUITE_END,_0x1e92de=>{const _0x2a33e5=_0x32480d,_0x3acbc4={'UEWjC':function(_0x15d181,_0x51b936){const _0x1712cb=a25_0x1112;return _0x568d78[_0x1712cb(0x1ce)](_0x15d181,_0x51b936);},'lxSEW':_0x568d78['uBAPI'],'wjWOv':function(_0x4376a,_0x4facc4){const _0x81020e=a25_0x1112;return _0x568d78[_0x81020e(0x15e)](_0x4376a,_0x4facc4);},'ymcrL':_0x568d78[_0x2a33e5(0x22e)],'HwLPm':function(_0x59204e,_0x461ec9){const _0x1064a7=_0x2a33e5;return _0x568d78[_0x1064a7(0x21b)](_0x59204e,_0x461ec9);},'PUJIq':function(_0x3b9410,_0x45fdc5){return _0x568d78['xfrWV'](_0x3b9410,_0x45fdc5);},'UYjXC':function(_0x4c9872,_0x1d481b,_0x37b3e7){return _0x568d78['uHbTO'](_0x4c9872,_0x1d481b,_0x37b3e7);},'bAcJh':_0x568d78[_0x2a33e5(0x14f)],'RGkJy':function(_0x20d9ed,_0x2573e1,_0x544e17){const _0x48c286=_0x2a33e5;return _0x568d78[_0x48c286(0x181)](_0x20d9ed,_0x2573e1,_0x544e17);},'rrgum':_0x568d78[_0x2a33e5(0x15b)],'rkiaJ':_0x568d78[_0x2a33e5(0x1dc)],'SBpYV':function(_0x18a459,_0x11f286){const _0x302464=_0x2a33e5;return _0x568d78[_0x302464(0x21b)](_0x18a459,_0x11f286);},'vsVLm':function(_0x186fb5,_0x525904,_0x13f94d){const _0x5b2e0a=_0x2a33e5;return _0x568d78[_0x5b2e0a(0x114)](_0x186fb5,_0x525904,_0x13f94d);},'xhCZJ':function(_0x387330,_0x3c1e6b){const _0x5bd798=_0x2a33e5;return _0x568d78[_0x5bd798(0x1cb)](_0x387330,_0x3c1e6b);},'lTUqJ':function(_0x5626e6,_0x569cc8,_0x39ec23){const _0x1b490b=_0x2a33e5;return _0x568d78[_0x1b490b(0x231)](_0x5626e6,_0x569cc8,_0x39ec23);},'jopAS':_0x568d78['fCwyF'],'KZPjo':function(_0x1f2f0a,_0x548cee,_0x4d6312){const _0x5f12d9=_0x2a33e5;return _0x568d78[_0x5f12d9(0x114)](_0x1f2f0a,_0x548cee,_0x4d6312);},'vIukk':_0x568d78[_0x2a33e5(0x1d7)],'bvqeC':_0x568d78['xgBfn']};if(_0x1e92de[_0x2a33e5(0x1b1)])return;if(_0x568d78[_0x2a33e5(0x127)](this['type'],_0x568d78[_0x2a33e5(0x213)]))Base[_0x2a33e5(0x221)](),Base[_0x2a33e5(0x221)](_0x568d78['xfrWV'](_0x568d78[_0x2a33e5(0x1cb)](this[_0x2a33e5(0x1d8)](),_0x568d78[_0x2a33e5(0x114)](color,_0x568d78[_0x2a33e5(0x188)],_0x568d78[_0x2a33e5(0x1a3)])),_0x568d78['qlQBl'](color,_0x568d78[_0x2a33e5(0x140)],_0x568d78[_0x2a33e5(0x206)])),_0x568d78['XIHCF'],_0x1e92de[_0x2a33e5(0x1ae)],global[_0x2a33e5(0x185)]),this[_0x2a33e5(0x1d0)][_0x2a33e5(0x111)](_0x58f122=>{const _0x5b70b2=_0x2a33e5;if(_0x3acbc4[_0x5b70b2(0x192)](_0x58f122['state'],_0x3acbc4[_0x5b70b2(0x12f)])){var _0x35fd40;_0x3acbc4[_0x5b70b2(0x180)](_0x58f122[_0x5b70b2(0x1bb)],_0x3acbc4['ymcrL'])?(_0x35fd40=_0x3acbc4[_0x5b70b2(0x207)](_0x3acbc4['PUJIq'](this[_0x5b70b2(0x1d8)](),_0x3acbc4[_0x5b70b2(0x1be)](color,_0x3acbc4[_0x5b70b2(0x1fe)],_0x3acbc4[_0x5b70b2(0x153)]('\x20\x20',Base[_0x5b70b2(0x142)]['ok']))),_0x3acbc4['RGkJy'](color,_0x3acbc4['rrgum'],_0x3acbc4[_0x5b70b2(0x117)])),Base['consoleLog'](_0x35fd40,_0x58f122[_0x5b70b2(0x1ae)])):(_0x35fd40=_0x3acbc4['HwLPm'](_0x3acbc4[_0x5b70b2(0x207)](_0x3acbc4['SBpYV'](this['indent'](),_0x3acbc4['vsVLm'](color,_0x3acbc4[_0x5b70b2(0x1fe)],_0x3acbc4[_0x5b70b2(0x1a8)]('\x20\x20',Base[_0x5b70b2(0x142)]['ok']))),_0x3acbc4[_0x5b70b2(0x1f3)](color,_0x3acbc4['rrgum'],_0x3acbc4[_0x5b70b2(0x117)])),_0x3acbc4['lTUqJ'](color,_0x58f122[_0x5b70b2(0x1bb)],_0x3acbc4[_0x5b70b2(0x227)])),Base['consoleLog'](_0x35fd40,_0x58f122[_0x5b70b2(0x1ae)],_0x58f122[_0x5b70b2(0x186)]));}else Base[_0x5b70b2(0x221)](_0x3acbc4['HwLPm'](this[_0x5b70b2(0x1d8)](),_0x3acbc4['KZPjo'](color,_0x3acbc4[_0x5b70b2(0x16e)],_0x3acbc4[_0x5b70b2(0x17b)])),++this['failCount'],_0x58f122[_0x5b70b2(0x1ae)]);}),this['decreaseIndent']();else _0x568d78[_0x2a33e5(0x16c)](this[_0x2a33e5(0x209)],_0x568d78['cPMvl'])&&(this[_0x2a33e5(0x18a)](this['indent']()+_0x2a33e5(0x12a)),--this[_0x2a33e5(0x120)],this[_0x2a33e5(0x18a)](this[_0x2a33e5(0x1d8)]()+_0x2a33e5(0x1c7)),--this[_0x2a33e5(0x120)]);Array[_0x2a33e5(0x239)]['push'][_0x2a33e5(0x163)](this[_0x2a33e5(0x1d2)],this['results']),this[_0x2a33e5(0x1d0)]=[];})['on'](EVENT_TEST_PASS,async _0x18b20f=>{const _0x4e1c0f=_0x32480d;this[_0x4e1c0f(0x1d0)][_0x4e1c0f(0x12b)]({'speed':_0x18b20f[_0x4e1c0f(0x1bb)],'suite':_0x18b20f['parent'][_0x4e1c0f(0x1ae)],'title':_0x18b20f[_0x4e1c0f(0x1ae)],'fullTitle':_0x18b20f['fullTitle'](),'duration':_0x18b20f['duration'],'state':_0x18b20f[_0x4e1c0f(0x22f)],'err':{},'currentRetry':_0x18b20f[_0x4e1c0f(0x1af)](),'titlePathV':_0x18b20f['titlePath'](),'isPending':_0x18b20f[_0x4e1c0f(0x17d)]()});if(_0x568d78['xVFve'](this['type'],_0x568d78[_0x4e1c0f(0x149)]))_0x568d78['UyWyU'](_0x18b20f[_0x4e1c0f(0x1bb)],_0x568d78[_0x4e1c0f(0x1e8)])?process[_0x4e1c0f(0x20d)][_0x4e1c0f(0x1fa)](Base['color'](_0x568d78[_0x4e1c0f(0x188)],Base[_0x4e1c0f(0x142)]['dot'])):process[_0x4e1c0f(0x20d)][_0x4e1c0f(0x1fa)](Base[_0x4e1c0f(0x176)](_0x18b20f[_0x4e1c0f(0x1bb)],Base[_0x4e1c0f(0x142)][_0x4e1c0f(0x12c)]));else{if(_0x568d78[_0x4e1c0f(0x1e4)](this[_0x4e1c0f(0x209)],_0x568d78[_0x4e1c0f(0x157)])){this[_0x4e1c0f(0x18a)](this[_0x4e1c0f(0x1d8)]()+_0x4e1c0f(0x19e)+utils[_0x4e1c0f(0x13c)](_0x18b20f['title'])+_0x4e1c0f(0x1d5)),this[_0x4e1c0f(0x18a)](this[_0x4e1c0f(0x1d8)]()+_0x4e1c0f(0x19e)+utils[_0x4e1c0f(0x13c)](_0x18b20f[_0x4e1c0f(0x13d)])+_0x4e1c0f(0x1d5));var _0x47750c=utils[_0x4e1c0f(0x13c)](utils['clean'](_0x18b20f['body']));this[_0x4e1c0f(0x18a)](this[_0x4e1c0f(0x1d8)]()+_0x4e1c0f(0x155)+_0x47750c+_0x4e1c0f(0x14d));}}_0x568d78['Vyjnh'](testhubUtils[_0x4e1c0f(0x211)](),!![])&&(!_0x18b20f['markedStatus']&&(_0x18b20f[_0x4e1c0f(0x236)]=!![],await this[_0x4e1c0f(0x167)](_0x18b20f)));})['on'](EVENT_TEST_FAIL,async(_0x4ed680,_0x4a75ac)=>{const _0x4dbe8b=_0x32480d;this['results'][_0x4dbe8b(0x12b)]({'title':_0x4ed680[_0x4dbe8b(0x1ae)],'suite':_0x4ed680[_0x4dbe8b(0x151)][_0x4dbe8b(0x1ae)],'state':_0x4ed680[_0x4dbe8b(0x22f)],'err':{'message':util[_0x4dbe8b(0x134)](_0x4a75ac)},'fullTitle':_0x4ed680[_0x4dbe8b(0x119)](),'speed':_0x4ed680[_0x4dbe8b(0x1bb)],'currentRetry':_0x4ed680[_0x4dbe8b(0x1af)](),'titlePathV':_0x4ed680[_0x4dbe8b(0x1e0)]()});if(_0x568d78[_0x4dbe8b(0x1bd)](this[_0x4dbe8b(0x209)],_0x568d78[_0x4dbe8b(0x149)]))process[_0x4dbe8b(0x20d)][_0x4dbe8b(0x1fa)](Base['color'](_0x568d78[_0x4dbe8b(0x1d7)],Base[_0x4dbe8b(0x142)][_0x4dbe8b(0x197)]));else{if(_0x568d78['YJcYH'](this[_0x4dbe8b(0x209)],_0x568d78[_0x4dbe8b(0x157)])){const _0x43d199=_0x568d78[_0x4dbe8b(0x1e9)][_0x4dbe8b(0x214)]('|');let _0x5bef40=0x0;while(!![]){switch(_0x43d199[_0x5bef40++]){case'0':this[_0x4dbe8b(0x18a)](this[_0x4dbe8b(0x1d8)]()+_0x4dbe8b(0x183)+utils[_0x4dbe8b(0x13c)](_0x4ed680[_0x4dbe8b(0x1ae)])+_0x4dbe8b(0x1d5));continue;case'1':this[_0x4dbe8b(0x18a)](this[_0x4dbe8b(0x1d8)]()+_0x4dbe8b(0x182)+utils[_0x4dbe8b(0x13c)](_0x4ed680[_0x4dbe8b(0x19f)])+_0x4dbe8b(0x20a));continue;case'2':this['docAppend'](this[_0x4dbe8b(0x1d8)]()+_0x4dbe8b(0x22d)+_0x5b9234+_0x4dbe8b(0x14d));continue;case'3':var _0x5b9234=utils['escape'](utils[_0x4dbe8b(0x128)](_0x4ed680['body']));continue;case'4':this['docAppend'](this[_0x4dbe8b(0x1d8)]()+_0x4dbe8b(0x183)+utils[_0x4dbe8b(0x13c)](_0x4ed680[_0x4dbe8b(0x13d)])+'</dt>');continue;}break;}}}if(_0x568d78[_0x4dbe8b(0x1ec)](testhubUtils[_0x4dbe8b(0x211)](testHubConstants[_0x4dbe8b(0x1f9)]['HookFinished']),!![])){if(!_0x4ed680[_0x4dbe8b(0x236)]){_0x4ed680[_0x4dbe8b(0x236)]=!![];if(_0x4ed680['testAnalyticsId'])await this[_0x4dbe8b(0x167)](_0x4ed680,_0x4a75ac);else _0x4ed680['hookAnalyticsId']&&await this[_0x4dbe8b(0x167)](_0x4ed680,_0x4a75ac,![],_0x568d78[_0x4dbe8b(0x18f)]);}}})['on'](EVENT_TEST_PENDING,async _0xa8a41a=>{const _0x56179d=_0x32480d;this[_0x56179d(0x1d0)][_0x56179d(0x12b)]({'title':_0xa8a41a[_0x56179d(0x1ae)],'suite':_0xa8a41a[_0x56179d(0x151)][_0x56179d(0x1ae)],'state':_0xa8a41a[_0x56179d(0x22f)],'err':{},'fullTitle':_0xa8a41a[_0x56179d(0x119)](),'speed':_0xa8a41a['speed'],'currentRetry':_0xa8a41a['currentRetry'](),'titlePathV':_0xa8a41a[_0x56179d(0x1e0)]()}),_0x568d78[_0x56179d(0x230)](this[_0x56179d(0x209)],_0x568d78[_0x56179d(0x149)])&&process[_0x56179d(0x20d)]['write'](Base[_0x56179d(0x176)](_0x568d78[_0x56179d(0x122)],Base[_0x56179d(0x142)][_0x56179d(0x203)])),_0x568d78[_0x56179d(0x1a6)](testhubUtils[_0x56179d(0x211)](),!![])&&(!_0xa8a41a[_0x56179d(0x173)]&&(_0xa8a41a[_0x56179d(0x173)]=_0x568d78[_0x56179d(0x1a9)](uuidv4)),!_0xa8a41a['markedStatus']&&(_0xa8a41a[_0x56179d(0x236)]=!![],await this['sendTestRunEvent'](_0xa8a41a,undefined,![],_0x568d78[_0x56179d(0x1d4)])));})['on'](EVENT_TEST_BEGIN,async _0x205394=>{const _0x5c9d24=_0x32480d;_0x568d78[_0x5c9d24(0x1e4)](testhubUtils[_0x5c9d24(0x211)](),!![])&&await this['testStarted'](_0x205394);})['on'](EVENT_TEST_END,async _0x46ccc1=>{const _0x3b4c93=_0x32480d;_0x568d78[_0x3b4c93(0x1ce)](testhubUtils[_0x3b4c93(0x211)](),!![])&&(!_0x46ccc1['markedStatus']&&(_0x46ccc1[_0x3b4c93(0x236)]=!![],await this['sendTestRunEvent'](_0x46ccc1)));})[_0x32480d(0x18c)](EVENT_RUN_END,async()=>{const _0x1b661d=_0x32480d;try{if(_0x568d78['NtLfy'](testhubUtils[_0x1b661d(0x211)](),!![])){const _0x36c158=_0x568d78[_0x1b661d(0x168)](getHookSkippedTests,this[_0x1b661d(0x171)]['suite']);for(const _0x2d7fdb of _0x36c158){!_0x2d7fdb[_0x1b661d(0x173)]&&(_0x2d7fdb[_0x1b661d(0x173)]=_0x568d78[_0x1b661d(0x23a)](uuidv4)),await this['sendTestRunEvent'](_0x2d7fdb,undefined,![],_0x568d78[_0x1b661d(0x1d4)]);}}}catch(_0x2d2aa7){_0x568d78[_0x1b661d(0x168)](debug,_0x1b661d(0x237)+_0x2d2aa7);}await requestQueueHandler['shutdown'](),_0x568d78[_0x1b661d(0x1e4)](this[_0x1b661d(0x209)],_0x568d78[_0x1b661d(0x157)])&&Base['consoleLog'](this[_0x1b661d(0x1b7)]);});if(this['type']&&![_0x568d78[_0x32480d(0x157)],_0x568d78['hiRHH'],_0x568d78[_0x32480d(0x213)],_0x568d78[_0x32480d(0x149)]][_0x32480d(0x1fd)](this[_0x32480d(0x209)])){const _0x2ca6b5=this['type'][_0x32480d(0x1c4)]();this[_0x32480d(0x1d9)]=null;try{this['Reporter']=_0x568d78[_0x32480d(0x168)](requireModule,'mocha/lib/reporters/'+_0x2ca6b5+_0x32480d(0x224));}catch{}if(_0x568d78[_0x32480d(0x161)](this[_0x32480d(0x1d9)],null))try{this[_0x32480d(0x1d9)]=_0x568d78[_0x32480d(0x168)](require,_0x2ca6b5);}catch(_0x2f209f){console[_0x32480d(0x1a7)](_0x32480d(0x18b)+_0x2ca6b5);}if(_0x568d78['PxJIH'](this['Reporter'],null)){const _0x2c32e9={};_0x2c32e9[_0x32480d(0x1b3)]=_0x48970e['reporterOption'],this[_0x32480d(0x1d9)]=new this['Reporter'](_0x30cccf,_0x2c32e9);}}}[a25_0x48a636(0x1d8)](){const _0x27fe41=a25_0x48a636,_0x4f7115={'vyRRw':function(_0x344a2b,_0x184d2b){return _0x344a2b(_0x184d2b);}};return _0x4f7115[_0x27fe41(0x1e2)](Array,this['_indents'])[_0x27fe41(0x1e6)]('\x20\x20');}[a25_0x48a636(0x1ca)](){this['_indents']++;}[a25_0x48a636(0x1c6)](){const _0x37294c=a25_0x48a636;this[_0x37294c(0x222)]--;}[a25_0x48a636(0x18a)](_0x36939b){this['docHtml']+=_0x36939b;}[a25_0x48a636(0x131)](_0x5533e1,_0x292525){const _0x1e146f=a25_0x48a636,_0x2ec70f={'uaaXa':function(_0x3fb4f7,_0x4e4254){return _0x3fb4f7(_0x4e4254);}},_0x9250c0={};_0x9250c0['failureCount']=_0x5533e1,_0x9250c0[_0x1e146f(0x1d0)]=this[_0x1e146f(0x1d2)],_0x2ec70f[_0x1e146f(0x1eb)](_0x292525,_0x9250c0);}['registerListeners'](){const _0x46ed5f=a25_0x48a636;process[_0x46ed5f(0x1b9)](_0x46ed5f(0x15a)+process[_0x46ed5f(0x228)]),process['on']('bs:addLog:'+process[_0x46ed5f(0x228)],this['appendTestItemLog'][_0x46ed5f(0x1fb)](this)),process[_0x46ed5f(0x1b9)]('bs:addPlatformDetails:'+process[_0x46ed5f(0x228)]),process['on'](_0x46ed5f(0x191)+process[_0x46ed5f(0x228)],this[_0x46ed5f(0x121)][_0x46ed5f(0x1fb)](this));}[a25_0x48a636(0x195)]=async _0x2aa333=>{const _0x219cf5=a25_0x48a636,_0x5d4933={'Oudzn':function(_0xc8a483){return _0xc8a483();},'FYaid':function(_0x3e4a3f,_0x131c97){return _0x3e4a3f>_0x131c97;},'xgYjB':function(_0x38ac40,_0x3accac){return _0x38ac40===_0x3accac;},'jHtni':_0x219cf5(0x22b),'OhcZx':function(_0x5621f3,_0x19ac11){return _0x5621f3(_0x19ac11);}};try{const _0x6d7a04=this[_0x219cf5(0x13f)];this[_0x219cf5(0x13f)]=_0x2aa333,_0x2aa333[_0x219cf5(0x159)]=null,_0x2aa333['testAnalyticsId']=_0x5d4933['Oudzn'](uuidv4),_0x2aa333[_0x219cf5(0x132)]=new Date()['toISOString'](),_0x5d4933[_0x219cf5(0x1c1)](_0x2aa333[_0x219cf5(0x21a)],0x0)&&_0x6d7a04&&_0x5d4933[_0x219cf5(0x1ea)](_0x6d7a04['title'],_0x2aa333['title'])?(_0x2aa333[_0x219cf5(0x159)]=_0x6d7a04[_0x219cf5(0x173)],await this[_0x219cf5(0x167)](_0x2aa333,undefined,![],_0x5d4933['jHtni']),_0x6d7a04[_0x219cf5(0x22f)]=STATE_FAILED,await this[_0x219cf5(0x167)](_0x6d7a04,undefined,!![])):await this[_0x219cf5(0x167)](_0x2aa333,undefined,![],_0x5d4933[_0x219cf5(0x1dd)]);}catch(_0x191e47){_0x5d4933['OhcZx'](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20'+_0x191e47);}};[a25_0x48a636(0x167)]=async(_0x1414f6,_0x40631b=undefined,_0x7f0390=![],_0x44da11=a25_0x48a636(0x154))=>{const _0x249cbf=a25_0x48a636,_0x33cea3={'RkUQf':function(_0x4f20b1,_0x1038a7){return _0x4f20b1===_0x1038a7;},'gZASw':function(_0xf0b097,_0x5f4bbb){return _0xf0b097!==_0x5f4bbb;},'aFOJG':_0x249cbf(0x14b),'wCwig':_0x249cbf(0x19f),'ogqFR':function(_0xb0b3ff,_0x5033b4){return _0xb0b3ff!==_0x5033b4;},'eqRvK':function(_0x336f67,_0xd098f8){return _0x336f67!==_0xd098f8;},'Aqufu':'File\x20path\x20could\x20not\x20be\x20found','YzVsv':_0x249cbf(0x19a),'GTmTG':'javascript','kZCUZ':function(_0x34f0a7,_0x5a94e3){return _0x34f0a7===_0x5a94e3;},'mxeiA':'TestRunSkipped','ShfEF':_0x249cbf(0x1ad),'OscFW':function(_0x3c9b0d,_0x2eeda9){return _0x3c9b0d-_0x2eeda9;},'ADcHw':_0x249cbf(0x125),'pGnIB':_0x249cbf(0x234),'PiPeE':_0x249cbf(0x132),'mhoYU':'finished_at','bSjhq':function(_0x5021d4,_0x3bd82f){return _0x5021d4(_0x3bd82f);},'lEXMR':'HookRunFinished','YNcDX':_0x249cbf(0x21e),'ASujl':_0x249cbf(0x1cf),'TeKfx':function(_0x2552aa,_0x4a50ab){return _0x2552aa===_0x4a50ab;},'EEohE':_0x249cbf(0x126),'llwaT':function(_0x16a92e,_0x2c8955){return _0x16a92e(_0x2c8955);},'zjNxO':_0x249cbf(0x14a),'JYKoT':'failure_backtrace','EKYRF':_0x249cbf(0x148),'oZRID':_0x249cbf(0x12d),'OZEze':'expanded','fvekq':_0x249cbf(0x154),'fxsaV':_0x249cbf(0x16b),'fzjSy':_0x249cbf(0x1b5),'sTtRv':'test_run','syJeN':function(_0x149cb6,_0x45b2f9){return _0x149cb6(_0x45b2f9);}};try{if(_0x1414f6[_0x249cbf(0x20e)]&&_0x1414f6['body'][_0x249cbf(0x199)](/browserstack internal helper hook/))return;let _0x4b56d0=[];if(_0x33cea3[_0x249cbf(0x1a5)](_0x1414f6[_0x249cbf(0x22f)],STATE_FAILED)){if(_0x33cea3[_0x249cbf(0x1de)](_0x1414f6[_0x249cbf(0x19f)],undefined))_0x4b56d0=_0x1414f6['err'][_0x249cbf(0x116)]?[_0x1414f6[_0x249cbf(0x19f)][_0x249cbf(0x116)],_0x33cea3[_0x249cbf(0x1bf)]]:[_0x1414f6[_0x249cbf(0x19f)],_0x33cea3[_0x249cbf(0x1fc)]];else _0x33cea3['ogqFR'](_0x40631b,undefined)?_0x4b56d0=[_0x40631b,_0x33cea3[_0x249cbf(0x1fc)]]:_0x4b56d0=[];}const _0x1ef3ea=_0x33cea3['gZASw'](_0x1414f6[_0x249cbf(0x19f)],undefined)?_0x1414f6[_0x249cbf(0x19f)][_0x249cbf(0x16a)]():_0x33cea3[_0x249cbf(0x201)](_0x40631b,undefined)?_0x40631b[_0x249cbf(0x16a)]():undefined;let _0x44fb17;try{_0x44fb17=this[_0x249cbf(0x135)](_0x1414f6);}catch(_0x5bee8d){_0x44fb17=null;}const _0xa80ab8=_0x44fb17?this['findGitConfig'](_0x44fb17):null,_0x6a6e39=_0x44fb17?this[_0x249cbf(0x137)][_0x249cbf(0x205)](this[_0x249cbf(0x135)](_0x1414f6)):_0x33cea3['Aqufu'],_0x197bef={'framework':_0x33cea3[_0x249cbf(0x1db)],'uuid':_0x1414f6[_0x249cbf(0x173)]||_0x1414f6[_0x249cbf(0x160)],'name':_0x1414f6[_0x249cbf(0x1ae)],'body':{'lang':_0x33cea3['GTmTG'],'code':_0x1414f6[_0x249cbf(0x20e)]},'scope':this['scope'](_0x1414f6),'scopes':this[_0x249cbf(0x1c2)](_0x1414f6),'identifier':_0x1414f6['fullTitle'](),'file_name':_0x6a6e39,'vc_filepath':_0xa80ab8?path[_0x249cbf(0x1ed)](_0xa80ab8,_0x44fb17):null,'location':_0x6a6e39,'result':_0x33cea3[_0x249cbf(0x13e)](_0x44da11,_0x33cea3[_0x249cbf(0x162)])?_0x33cea3[_0x249cbf(0x1a2)]:this[_0x249cbf(0x202)](_0x1414f6[_0x249cbf(0x22f)]),'failure_reason':_0x1ef3ea,'duration_in_ms':_0x1414f6['duration']||(_0x44da11[_0x249cbf(0x199)](/Finished/)||_0x44da11[_0x249cbf(0x199)](/Skipped/)?_0x33cea3[_0x249cbf(0x21c)](Date[_0x249cbf(0x1c3)](),new Date(_0x1414f6[_0x249cbf(0x132)])['getTime']()):null),'started_at':_0x1414f6[_0x249cbf(0x132)],'finished_at':_0x44da11[_0x249cbf(0x199)](/Finished/)||_0x44da11['match'](/Skipped/)?new Date()[_0x249cbf(0x16d)]():null,'failure':failureData[_0x249cbf(0x163)](null,_0x4b56d0),'failure_type':!_0x1ef3ea?null:_0x1ef3ea[_0x249cbf(0x199)](/AssertionError/)?_0x33cea3['ADcHw']:_0x33cea3[_0x249cbf(0x112)],'retry_of':_0x1414f6[_0x249cbf(0x159)]};testhubUtils['appendTesthubParams'](_0x197bef,_0x44da11,_0x1414f6,FRAMEWORKS[_0x249cbf(0x138)]);_0x33cea3[_0x249cbf(0x1a5)](_0x44da11,_0x33cea3[_0x249cbf(0x162)])&&!_0x197bef[_0x33cea3[_0x249cbf(0x165)]]&&(_0x197bef[_0x33cea3[_0x249cbf(0x165)]]=_0x197bef[_0x33cea3[_0x249cbf(0x1b0)]]);if(_0x44da11[_0x249cbf(0x199)](/HookRun/))[_0x197bef[_0x249cbf(0x16b)],_0x197bef[_0x249cbf(0x1d6)]]=_0x33cea3[_0x249cbf(0x158)](getHookDetails,_0x1414f6[_0x249cbf(0x119)]()||_0x1414f6[_0x249cbf(0x150)]||_0x1414f6[_0x249cbf(0x1ae)]),_0x33cea3[_0x249cbf(0x1a5)](_0x44da11,_0x33cea3[_0x249cbf(0x1f4)])&&(_0x33cea3['ogqFR'](_0x197bef[_0x249cbf(0x12e)],_0x33cea3[_0x249cbf(0x145)])&&(_0x197bef[_0x249cbf(0x12e)]=_0x33cea3[_0x249cbf(0x232)]),_0x33cea3[_0x249cbf(0x14e)](_0x197bef[_0x249cbf(0x16b)],_0x33cea3[_0x249cbf(0x172)])&&_0x33cea3[_0x249cbf(0x13e)](_0x197bef['result'],_0x33cea3[_0x249cbf(0x145)])&&!_0x1414f6['ctx'][_0x249cbf(0x1b8)][_0x249cbf(0x236)]&&(_0x1414f6['ctx'][_0x249cbf(0x1b8)][_0x249cbf(0x236)]=!![],_0x1414f6[_0x249cbf(0x1ee)]['currentTest'][_0x249cbf(0x22f)]=STATE_FAILED,await this[_0x249cbf(0x167)](_0x1414f6[_0x249cbf(0x1ee)]['currentTest'],undefined,!![])));else _0x44da11[_0x249cbf(0x199)](/TestRun/)&&_0x33cea3[_0x249cbf(0x15f)](mapTestHooks,_0x1414f6);const _0x3e6a8f=_0x197bef[_0x33cea3[_0x249cbf(0x178)]][0x0];_0x3e6a8f&&(_0x197bef[_0x33cea3[_0x249cbf(0x1cd)]]=_0x3e6a8f[_0x33cea3[_0x249cbf(0x147)]],_0x197bef[_0x33cea3[_0x249cbf(0x1f2)]]=_0x3e6a8f[_0x33cea3[_0x249cbf(0x115)]]);[_0x33cea3[_0x249cbf(0x17e)],_0x33cea3['mxeiA']][_0x249cbf(0x1fd)](_0x44da11)&&(this['_testResults'][_0x249cbf(0x12b)](_0x197bef),_0x197bef['hooks']=_0x33cea3['bSjhq'](getHooksForTest,_0x1414f6));const _0x26169e={'event_type':_0x33cea3[_0x249cbf(0x1a5)](_0x44da11,_0x33cea3[_0x249cbf(0x162)])?_0x33cea3[_0x249cbf(0x17e)]:_0x44da11};_0x44da11['match'](/HookRun/)?(_0x197bef[_0x33cea3[_0x249cbf(0x177)]]=HOOK_TYPES_MAP[_0x197bef[_0x33cea3['fxsaV']]],_0x26169e[_0x33cea3[_0x249cbf(0x118)]]=_0x197bef):_0x26169e[_0x33cea3[_0x249cbf(0x22c)]]=_0x197bef,testhubUtils[_0x249cbf(0x144)](FRAMEWORKS[_0x249cbf(0x138)],_0x26169e),await SessionHandler[_0x249cbf(0x1d3)](_0x26169e);}catch(_0x1114e2){_0x33cea3[_0x249cbf(0x17f)](debug,_0x249cbf(0x233)+_0x44da11+_0x249cbf(0x156)+_0x1114e2);}};[a25_0x48a636(0x1b4)](_0x99d810){const _0x3c54df=a25_0x48a636,_0x2eee78={};_0x2eee78['vZKLY']=function(_0x3bd7a8,_0x5669fa){return _0x3bd7a8===_0x5669fa;},_0x2eee78[_0x3c54df(0x190)]=_0x3c54df(0x18d),_0x2eee78[_0x3c54df(0x189)]=_0x3c54df(0x20b);const _0x5939fd=_0x2eee78,_0x54eae4=path['sep'];if(_0x5939fd[_0x3c54df(0x139)](_0x99d810,null)||_0x5939fd[_0x3c54df(0x139)](_0x99d810,'')||_0x5939fd[_0x3c54df(0x139)](_0x99d810,_0x54eae4))return null;try{return fs[_0x3c54df(0x1e5)](path[_0x3c54df(0x1e6)](_0x99d810,_0x5939fd[_0x3c54df(0x190)],_0x5939fd[_0x3c54df(0x189)])),_0x99d810;}catch(_0x3f3bbd){const _0x1f7c6f=path['dirname'](_0x99d810);return this['findGitConfig'](_0x1f7c6f);}}[a25_0x48a636(0x19d)]=async _0x1a3127=>{const _0x23d84a=a25_0x48a636,_0x84529a={'LSDLo':_0x23d84a(0x11c),'wWNwk':function(_0x289561,_0x290551){return _0x289561(_0x290551);}};try{this[_0x23d84a(0x113)]&&!this['current_hook'][_0x23d84a(0x236)]&&(_0x1a3127['hook_run_uuid']=this[_0x23d84a(0x113)][_0x23d84a(0x160)]);!_0x1a3127[_0x23d84a(0x226)]&&this[_0x23d84a(0x13f)]&&!this[_0x23d84a(0x13f)]['markedStatus']&&(_0x1a3127[_0x23d84a(0x11b)]=this['current_test'][_0x23d84a(0x173)]);if(_0x1a3127[_0x23d84a(0x226)]||_0x1a3127[_0x23d84a(0x11b)]){const _0x5f1af4={};_0x5f1af4[_0x23d84a(0x129)]=_0x84529a[_0x23d84a(0x1c8)],_0x5f1af4['logs']=[_0x1a3127],await SessionHandler[_0x23d84a(0x1d3)](_0x5f1af4);}}catch(_0x263e4e){_0x84529a[_0x23d84a(0x19b)](debug,_0x23d84a(0x1ba)+_0x263e4e);}};[a25_0x48a636(0x121)]=async _0x419d87=>{const _0x55b67e=a25_0x48a636,_0x542cd0={'peCtx':_0x55b67e(0x212),'kNaQQ':_0x55b67e(0x218),'lIAyG':function(_0x297634,_0x59e2c7){return _0x297634(_0x59e2c7);}};try{const _0x5dedf3={};_0x5dedf3[_0x55b67e(0x238)]=_0x419d87['uuid']||this['current_test']['testAnalyticsId'],_0x5dedf3['integrations']=_0x419d87[_0x542cd0[_0x55b67e(0x204)]];const _0x56a1d6=_0x5dedf3,_0x3f0e21={};_0x3f0e21['event_type']=_0x542cd0[_0x55b67e(0x194)],_0x3f0e21[_0x55b67e(0x184)]=_0x56a1d6,await SessionHandler[_0x55b67e(0x1d3)](_0x3f0e21);}catch(_0x4c294b){_0x542cd0['lIAyG'](debug,_0x55b67e(0x14c)+_0x4c294b);}};[a25_0x48a636(0x202)](_0x41c32d){const _0x546796=a25_0x48a636,_0x50e8c7={};_0x50e8c7[_0x546796(0x143)]=_0x546796(0x1cf),_0x50e8c7[_0x546796(0x196)]=_0x546796(0x216),_0x50e8c7[_0x546796(0x18e)]=_0x546796(0x21e);const _0x17423e=_0x50e8c7,_0x2c2dfc={};return _0x2c2dfc[STATE_PASSED]=_0x17423e['WppFA'],_0x2c2dfc[STATE_PENDING]=_0x17423e[_0x546796(0x196)],_0x2c2dfc[STATE_FAILED]=_0x17423e[_0x546796(0x18e)],_0x2c2dfc[_0x41c32d];}[a25_0x48a636(0x124)](_0x527399){const _0x4c4795=a25_0x48a636,_0x4806da={};_0x4806da[_0x4c4795(0x225)]=function(_0x36bbc4,_0x4b14a2){return _0x36bbc4-_0x4b14a2;};const _0x2031fe=_0x4806da,_0x52cc78=_0x527399[_0x4c4795(0x1e0)]();return _0x52cc78[_0x4c4795(0x130)](0x0,_0x2031fe['EomJB'](_0x52cc78[_0x4c4795(0x13a)],0x1))[_0x4c4795(0x1e6)]('\x20');}[a25_0x48a636(0x1c2)](_0x470d6d){const _0x4e0276=a25_0x48a636,_0x13d760={};_0x13d760[_0x4e0276(0x1c5)]=function(_0x17778a,_0x185b78){return _0x17778a-_0x185b78;};const _0x31eafc=_0x13d760,_0xa2f79b=_0x470d6d['titlePath']();return _0xa2f79b[_0x4e0276(0x130)](0x0,_0x31eafc[_0x4e0276(0x1c5)](_0xa2f79b[_0x4e0276(0x13a)],0x1));}['getRootParentFile'](_0x3bdec8){const _0x755bd5=a25_0x48a636,_0x369b01={};_0x369b01['otePx']=function(_0x1d3942,_0xfec575){return _0x1d3942>_0xfec575;};const _0x5e6ddd=_0x369b01;if(_0x3bdec8[_0x755bd5(0x13d)])return _0x3bdec8[_0x755bd5(0x13d)];if(_0x3bdec8[_0x755bd5(0x1ee)]){const _0x28bf91=_0x3bdec8[_0x755bd5(0x1ee)]['currentTest']?this[_0x755bd5(0x135)](_0x3bdec8[_0x755bd5(0x1ee)][_0x755bd5(0x1b8)]):null;if(_0x28bf91)return _0x28bf91;}if(_0x3bdec8[_0x755bd5(0x151)]){const _0x133799=this['getRootParentFile'](_0x3bdec8[_0x755bd5(0x151)])||(_0x3bdec8[_0x755bd5(0x151)]['ctx']&&_0x3bdec8[_0x755bd5(0x151)][_0x755bd5(0x1ee)][_0x755bd5(0x1b8)]?this[_0x755bd5(0x135)](_0x3bdec8[_0x755bd5(0x151)][_0x755bd5(0x1ee)][_0x755bd5(0x1b8)]):null);if(_0x133799)return _0x133799;_0x3bdec8['parent'][_0x755bd5(0x1d1)]&&_0x5e6ddd[_0x755bd5(0x1da)](_0x3bdec8[_0x755bd5(0x151)]['suites']['length'],0x0)&&_0x3bdec8[_0x755bd5(0x151)][_0x755bd5(0x1d1)][_0x755bd5(0x111)](_0x2b7f14=>{const _0x5cfc89=_0x755bd5,_0x58d7c8=_0x2b7f14[_0x5cfc89(0x1ee)]?this[_0x5cfc89(0x135)](_0x2b7f14[_0x5cfc89(0x1ee)]):null;if(_0x58d7c8)return _0x58d7c8;});}return null;}}module['exports']=MyReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a26_0x86b02e=a26_0x23fa;(function(_0xdd2e,_0x311290){const _0x5eb0a9=a26_0x23fa,_0x26b9c1=_0xdd2e();while(!![]){try{const _0x46a51b=parseInt(_0x5eb0a9(0x277))/0x1+parseInt(_0x5eb0a9(0x216))/0x2+-parseInt(_0x5eb0a9(0x2af))/0x3+parseInt(_0x5eb0a9(0x236))/0x4*(-parseInt(_0x5eb0a9(0x2bb))/0x5)+parseInt(_0x5eb0a9(0x254))/0x6*(-parseInt(_0x5eb0a9(0x2a2))/0x7)+-parseInt(_0x5eb0a9(0x281))/0x8*(-parseInt(_0x5eb0a9(0x228))/0x9)+parseInt(_0x5eb0a9(0x237))/0xa*(parseInt(_0x5eb0a9(0x203))/0xb);if(_0x46a51b===_0x311290)break;else _0x26b9c1['push'](_0x26b9c1['shift']());}catch(_0x3e1de1){_0x26b9c1['push'](_0x26b9c1['shift']());}}}(a26_0x453a,0x3c319));function a26_0x23fa(_0x16be4a,_0x70e4fa){const _0x453a87=a26_0x453a();return a26_0x23fa=function(_0x23fa28,_0x16349e){_0x23fa28=_0x23fa28-0x1d1;let _0x2f9cde=_0x453a87[_0x23fa28];return _0x2f9cde;},a26_0x23fa(_0x16be4a,_0x70e4fa);}const chalk=require(a26_0x86b02e(0x204)),logger=require(a26_0x86b02e(0x241))[a26_0x86b02e(0x282)],{default:BrowserStackSetup}=require(a26_0x86b02e(0x276)),helper=require(a26_0x86b02e(0x242)),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require('../test-runner'),{requireModule}=require(a26_0x86b02e(0x242)),{getPercyOptions}=require(a26_0x86b02e(0x29f)),Base=requireModule('mocha/lib/reporters/base.js'),collectFiles=requireModule('mocha/lib/cli/collect-files.js'),constants=require(a26_0x86b02e(0x246));function tag(_0x51516d,_0x1bdfb3,_0xab95b4,_0x4ab052){const _0x1c2322=a26_0x86b02e,_0x5481b5={'LEQpZ':function(_0x341c0d,_0xc430a9){return _0x341c0d+_0xc430a9;},'qAZfV':function(_0x25aed1,_0xe0ef4){return _0x25aed1+_0xe0ef4;},'gotdb':function(_0x42ee7e,_0x400140){return _0x42ee7e(_0x400140);},'MhbpZ':function(_0x10b7e2,_0x303d6a){return _0x10b7e2+_0x303d6a;},'cdEIL':function(_0xee02f3,_0x3e4310){return _0xee02f3+_0x3e4310;},'bDyjk':function(_0x2c5f68,_0x54861e){return _0x2c5f68+_0x54861e;},'bHRTO':function(_0x1b9a04,_0x304d04){return _0x1b9a04+_0x304d04;}},_0x197373=_0xab95b4?'/>':'>',_0x556d81=[];let _0x423f6e;for(const _0x20af0e in _0x1bdfb3){Object[_0x1c2322(0x24c)]['hasOwnProperty'][_0x1c2322(0x21e)](_0x1bdfb3,_0x20af0e)&&_0x556d81['push'](_0x5481b5[_0x1c2322(0x25f)](_0x5481b5[_0x1c2322(0x274)](_0x5481b5[_0x1c2322(0x25f)](_0x20af0e,'=\x22'),_0x5481b5['gotdb'](escape,_0x1bdfb3[_0x20af0e])),'\x22'));}return _0x423f6e=_0x5481b5['MhbpZ'](_0x5481b5[_0x1c2322(0x274)](_0x5481b5['cdEIL']('<',_0x51516d),_0x556d81[_0x1c2322(0x230)]?_0x5481b5[_0x1c2322(0x25f)]('\x20',_0x556d81[_0x1c2322(0x1e4)]('\x20')):''),_0x197373),_0x4ab052&&(_0x423f6e+=_0x5481b5[_0x1c2322(0x25f)](_0x5481b5[_0x1c2322(0x1d9)](_0x5481b5[_0x1c2322(0x2b5)](_0x4ab052,'</'),_0x51516d),_0x197373)),_0x423f6e;}let xunitContent='';function xunitWrite(_0x3cc9da){xunitContent+=_0x3cc9da;}function xunitTest(_0x582a6a,_0x5ef83f){const _0x333d0b=a26_0x86b02e,_0x1ccdb5={'mYXef':function(_0x587cad,_0x5a1dc8){return _0x587cad/_0x5a1dc8;},'puzTl':function(_0xf089d1,_0x27f660){return _0xf089d1===_0x27f660;},'KDNOn':'failed','VncXm':function(_0x52a64a,_0x5a183b){return _0x52a64a+_0x5a183b;},'QbIkL':function(_0x36eefe,_0x2928c8){return _0x36eefe(_0x2928c8);},'STrUx':function(_0x195bb9,_0x3ff116,_0x312001,_0x768da3,_0x420aa3){return _0x195bb9(_0x3ff116,_0x312001,_0x768da3,_0x420aa3);},'AREHw':'testcase','QTNnb':'failure','RhTvJ':function(_0x466abc,_0x2f68f7){return _0x466abc(_0x2f68f7);},'UUiuV':function(_0x1e0677,_0x565d0c,_0x30aa6e,_0x165443,_0x24442e){return _0x1e0677(_0x565d0c,_0x30aa6e,_0x165443,_0x24442e);},'vquvp':function(_0x3dcc02,_0x36977a,_0x1111f8,_0x835a4d){return _0x3dcc02(_0x36977a,_0x1111f8,_0x835a4d);},'JBiGK':_0x333d0b(0x22a),'HtfLa':function(_0x458910,_0x59135b){return _0x458910(_0x59135b);}};Base[_0x333d0b(0x29d)]=![];var _0x4c2c85={'classname':_0x582a6a['fullTitle'],'name':_0x582a6a[_0x333d0b(0x26e)],'time':_0x1ccdb5['mYXef'](_0x582a6a['duration'],0x3e8)||0x0,'platform':_0x5ef83f};if(_0x1ccdb5[_0x333d0b(0x2bc)](_0x582a6a['state'],_0x1ccdb5[_0x333d0b(0x2a9)])){var _0x4b546f=_0x582a6a['err'],_0x43e6d3=!Base[_0x333d0b(0x1ef)]&&Base[_0x333d0b(0x25c)](_0x4b546f)?_0x1ccdb5[_0x333d0b(0x24d)]('\x0a',Base[_0x333d0b(0x1f8)](_0x4b546f['actual'],_0x4b546f[_0x333d0b(0x225)])):'';_0x1ccdb5['QbIkL'](xunitWrite,_0x1ccdb5[_0x333d0b(0x27c)](tag,_0x1ccdb5['AREHw'],_0x4c2c85,![],_0x1ccdb5[_0x333d0b(0x27c)](tag,_0x1ccdb5[_0x333d0b(0x28d)],{},![],_0x1ccdb5[_0x333d0b(0x24d)](_0x1ccdb5[_0x333d0b(0x24d)](_0x1ccdb5[_0x333d0b(0x24d)](_0x1ccdb5[_0x333d0b(0x215)](escape,_0x4b546f[_0x333d0b(0x22f)]),_0x1ccdb5['QbIkL'](escape,_0x43e6d3)),'\x0a'),_0x1ccdb5[_0x333d0b(0x215)](escape,_0x4b546f[_0x333d0b(0x280)])))));}else _0x582a6a[_0x333d0b(0x222)]?_0x1ccdb5[_0x333d0b(0x1fc)](xunitWrite,_0x1ccdb5['UUiuV'](tag,_0x1ccdb5[_0x333d0b(0x279)],_0x4c2c85,![],_0x1ccdb5[_0x333d0b(0x266)](tag,_0x1ccdb5[_0x333d0b(0x29a)],{},!![]))):_0x1ccdb5[_0x333d0b(0x296)](xunitWrite,_0x1ccdb5[_0x333d0b(0x266)](tag,_0x1ccdb5['AREHw'],_0x4c2c85,!![]));};function getStats(_0x4296ee){const _0x3a2392=a26_0x86b02e,_0x5baea1={};_0x5baea1[_0x3a2392(0x2b7)]=_0x3a2392(0x294),_0x5baea1[_0x3a2392(0x26f)]=_0x3a2392(0x2b1),_0x5baea1[_0x3a2392(0x1f0)]=_0x3a2392(0x2aa),_0x5baea1[_0x3a2392(0x251)]=_0x3a2392(0x1f4);const _0x3b2a19=_0x5baea1,_0x1bd8cd=Object[_0x3a2392(0x217)](_0x4296ee);let _0x20dc6b=0x0,_0x3d4f20=0x0,_0x2376ac=0x0,_0x31af98=0x0;const _0x2b816e=new Set();_0x1bd8cd[_0x3a2392(0x201)](_0x5e1352=>{const _0x36e89b=_0x3a2392,_0x5de0ef={};_0x5de0ef[_0x36e89b(0x1f3)]=_0x3b2a19[_0x36e89b(0x2b7)],_0x5de0ef[_0x36e89b(0x27b)]=_0x3b2a19[_0x36e89b(0x26f)],_0x5de0ef[_0x36e89b(0x2a0)]=_0x3b2a19[_0x36e89b(0x1f0)];const _0x177139=_0x5de0ef;_0x4296ee[_0x5e1352][_0x3b2a19[_0x36e89b(0x251)]]['forEach'](_0x1aa38d=>{const _0x2efb35=_0x36e89b;_0x2b816e[_0x2efb35(0x28f)](_0x1aa38d[_0x177139[_0x2efb35(0x1f3)]]),_0x20dc6b++;switch(_0x1aa38d[_0x2efb35(0x264)]){case _0x177139[_0x2efb35(0x27b)]:_0x2376ac++;break;case _0x177139['Rhnee']:_0x3d4f20++;break;default:_0x31af98++;}});});const _0x42cff9={};return _0x42cff9['testSuites']=_0x2b816e[_0x3a2392(0x267)],_0x42cff9[_0x3a2392(0x297)]=_0x1bd8cd,_0x42cff9['totalTests']=_0x20dc6b,_0x42cff9[_0x3a2392(0x291)]=_0x3d4f20,_0x42cff9[_0x3a2392(0x2a8)]=_0x2376ac,_0x42cff9[_0x3a2392(0x2ba)]=_0x31af98,_0x42cff9;}function errorJSON(_0x1eb71e){const _0x4b99ae=a26_0x86b02e;var _0x25631d={};return Object['getOwnPropertyNames'](_0x1eb71e)[_0x4b99ae(0x201)](function(_0x4391a9){_0x25631d[_0x4391a9]=_0x1eb71e[_0x4391a9];},_0x1eb71e),_0x25631d;}function cleanCycles(_0x5a357c){const _0x51560d=a26_0x86b02e,_0x52e51f={};_0x52e51f[_0x51560d(0x20a)]=function(_0x46ffed,_0x2aeed9){return _0x46ffed===_0x2aeed9;},_0x52e51f['nLwlA']=_0x51560d(0x2b6),_0x52e51f[_0x51560d(0x214)]=function(_0x392dc8,_0xc656ba){return _0x392dc8!==_0xc656ba;},_0x52e51f[_0x51560d(0x25d)]=function(_0x8b0d23,_0x2f56be){return _0x8b0d23!==_0x2f56be;},_0x52e51f['pNUTl']=function(_0x296f3a,_0x50f2ff){return _0x296f3a+_0x50f2ff;};const _0x3d68f9=_0x52e51f;var _0x319c88=[];return JSON[_0x51560d(0x239)](JSON['stringify'](_0x5a357c,function(_0x315b73,_0x1119d4){const _0x53f37d=_0x51560d;if(_0x3d68f9['YLpql'](typeof _0x1119d4,_0x3d68f9[_0x53f37d(0x1ed)])&&_0x3d68f9['MZrge'](_0x1119d4,null)){if(_0x3d68f9[_0x53f37d(0x25d)](_0x319c88[_0x53f37d(0x29e)](_0x1119d4),-0x1))return _0x3d68f9['pNUTl']('',_0x1119d4);_0x319c88[_0x53f37d(0x256)](_0x1119d4);}return _0x1119d4;}));}function clean(_0x1a48d8){const _0x2b29ba=a26_0x86b02e,_0x43e2d7={'LiIOb':function(_0x378dfb,_0x1a6797){return _0x378dfb instanceof _0x1a6797;},'dGVru':function(_0x4a4a00,_0x175296){return _0x4a4a00(_0x175296);},'QBnBS':function(_0x3a3701,_0x3ed832){return _0x3a3701(_0x3ed832);}};var _0x1fbcfc=_0x1a48d8[_0x2b29ba(0x1dd)]||{};return _0x43e2d7[_0x2b29ba(0x1e8)](_0x1fbcfc,Error)&&(_0x1fbcfc=_0x43e2d7['dGVru'](errorJSON,_0x1fbcfc)),{'title':_0x1a48d8[_0x2b29ba(0x26e)],'fullTitle':_0x1a48d8[_0x2b29ba(0x269)],'file':_0x1a48d8[_0x2b29ba(0x1ff)],'duration':_0x1a48d8[_0x2b29ba(0x273)],'currentRetry':_0x1a48d8[_0x2b29ba(0x238)],'speed':_0x1a48d8[_0x2b29ba(0x229)],'err':_0x43e2d7['QBnBS'](cleanCycles,_0x1fbcfc)};}function a26_0x453a(){const _0x599958=['results','consoleLog','Running\x20your\x20mocha\x20tests','accessibility','generateDiff','sPGUp','yellow','ODVrB','RhTvJ','Writing\x20xunit\x20result\x20to\x20file','passes','file','useW3C','forEach','list','1111IcdPTs','chalk','Writing\x20json\x20result\x20to\x20file','mocha','CrzRg','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','EETnP','YLpql','WycOh','Couldn\x27t\x20write\x20json\x20result\x20to','FaiUL','prepareCapabilities','config','oELSO','KLcDR','lcZeA','\x0a\x0a\x0a','MZrge','QbIkL','669826evJrju','keys','ruRjK','info','includes','UFSuT','assign','notifyUpdate','call','IVvqE','failures','\x20passed','isPending','testsuite','bgRedBright','expected','Running\x20your\x20mocha\x20tests\x20across\x20','DjjfW','912294YEpAAY','speed','skipped','bnsVC','Couldn\x27t\x20write\x20xunit\x20result\x20to','Tmqie','BROWSERSTACK_TEST_OBSERVABILITY','message','length','Printing\x20stats\x20of\x20tests','Now,\x20showing\x20logs\x20from\x20mocha','aRIMu','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Total\x20Platforms:\x20','4012gTLcqP','43630faNfSf','currentRetry','parse','exaYy','isBrowserstackInfra','Total\x20Suites:\x20','--disable-browserstack-automation','frMOZ','log','--disable-test-observability','../../helpers/logger','../../helpers/helper','proxySettings','red','AJoco','../utils/constants','printBuildLink','yeOKd','shouldReRunObservabilityTests','JuWux','PpBVl','prototype','VncXm','</testsuite>','rerunTests','fireFunnelTestEvent','MLXTA','ilvcp','has','1290DuqNKd','qmXaE','push','mjs','tpSfB','debug','cliConfig','BROWSERSTACK_TEST_OBSERVABILITY_YML','showDiff','gCYlT','cjs','LEQpZ','BROWSERSTACK_AUTOMATION','YQRyN','xunit','reporterOptions','state','getErrorMessageFromResults','vquvp','size','bgBlueBright','fullTitle','AmmVv','BHXhl','spec','mQmLk','title','CsrXK','extension','ZKKaD','skKnt','duration','qAZfV','PopGy','../../helpers/BrowserStackSetup','45058RRAIPm','ErMWN','AREHw','ahsdh','tJBKN','STrUx','writeFileSync','fSZag','FYOCp','stack','32cFhDrC','winstonLogger','\x20total','bold','DOWXk','NkVxC','daVyk','parallelsPerPlatform','FRAMEWORKS','RmQrz','isTestObservabilitySession','suiteName','QTNnb','\x20failed','add','MCpEb','testsFailed','testObservability','rGRRJ','suite','ADYJk','HtfLa','platforms','toUTCString','ySUlK','JBiGK','logLevel','xojSm','useColors','indexOf','../../helpers/percy/utils','Rhnee','handleApp','10024YYTdSA','RgsUJ','gUuhz','getPlatformName','BpCUw','kHLAI','testsPassed','KDNOn','failed','dACDE','Tests:\x20\x20\x20\x20\x20\x20\x20','platform','BROWSERSTACK_RERUN_TESTS','730152mXvRyO','finally','passed','validPlatformsPresent','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','getUserWorkerCount','bHRTO','object','qvMkm','errorMessage','output','testsPending','2135vBKpTF','puzTl','kJigQ','EXrmI','stringify','qzRCV','env','rootHooks','testSuites','isUndefined','bDyjk','mjwZq','reporter','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','err','then','bZLHT','FltiL','argv','Mocha\x20Tests','accessibilityOptions','join','initialize','lsndU','MOCHA','LiIOb','framework','titlePath','\x20skipped','ldDyl','nLwlA','wtNMl','hideDiff','VKNIx','doc','utyWl','Ebypz'];a26_0x453a=function(){return _0x599958;};return a26_0x453a();}function printStats(_0xc48bfb,_0x2870f3=a26_0x86b02e(0x26c),_0x20e8eb={}){const _0xdc41e5=a26_0x86b02e,_0x167760={'ruRjK':function(_0x388297,_0x56df05){return _0x388297(_0x56df05);},'PopGy':function(_0x464f2d,_0x8f34d0){return _0x464f2d===_0x8f34d0;},'RmQrz':'passed','MCpEb':_0xdc41e5(0x1fe),'mjwZq':_0xdc41e5(0x2aa),'IVvqE':_0xdc41e5(0x220),'LUBgi':function(_0x283995,_0x5edadd){return _0x283995(_0x5edadd);},'ldDyl':'pending','FYOCp':_0xdc41e5(0x1f4),'wwNNR':function(_0xbfec08,_0x2cd3f7){return _0xbfec08*_0x2cd3f7;},'EETnP':function(_0x5f1b3d,_0x3ffa5d,_0xd88d46){return _0x5f1b3d(_0x3ffa5d,_0xd88d46);},'yeOKd':function(_0x85fe67,_0xd80415){return _0x85fe67>_0xd80415;},'ZEBuy':function(_0x351a51){return _0x351a51();},'fSZag':function(_0x74c5d0,_0x3a1aa4){return _0x74c5d0===_0x3a1aa4;},'EXrmI':_0xdc41e5(0x1f1),'ilvcp':function(_0x13f718,_0x5a8135){return _0x13f718(_0x5a8135);},'AJoco':'Setting\x20non\x20exit\x20code\x20for\x20failures','AmmVv':_0xdc41e5(0x231),'oELSO':function(_0x1ab3fa,_0x206c14){return _0x1ab3fa+_0x206c14;},'skKnt':_0xdc41e5(0x235),'FaiUL':function(_0x2f4762,_0x2f5840){return _0x2f4762+_0x2f5840;},'Tmqie':_0xdc41e5(0x23c),'rGRRJ':_0xdc41e5(0x2ac),'qzRCV':function(_0x23f912,_0xf4c6ce){return _0x23f912>_0xf4c6ce;},'KLcDR':function(_0x2ff33e,_0x3827d8){return _0x2ff33e>_0x3827d8;},'PpBVl':function(_0x4563a5,_0x2bd3c9){return _0x4563a5+_0x2bd3c9;},'tekEH':function(_0x440b69,_0x4a04bc){return _0x440b69+_0x4a04bc;},'gYITB':function(_0x75f5dc,_0x19c0de){return _0x75f5dc+_0x19c0de;},'jGXwU':_0xdc41e5(0x213),'sPGUp':'json','SQDbY':_0xdc41e5(0x205),'gUuhz':_0xdc41e5(0x20c),'BTfvk':_0xdc41e5(0x208),'lcZeA':_0xdc41e5(0x262),'lsndU':_0xdc41e5(0x1e2),'ADYJk':function(_0x49d1ed,_0x2f56d1){return _0x49d1ed||_0x2f56d1;},'qmXaE':function(_0x150746,_0x5e33db){return _0x150746(_0x5e33db);},'BHXhl':function(_0x4475ff,_0x2268b1,_0x4e6f8c,_0x32b96b){return _0x4475ff(_0x2268b1,_0x4e6f8c,_0x32b96b);},'exaYy':_0xdc41e5(0x223),'BIjGN':function(_0x6f80c8,_0x59cde8){return _0x6f80c8-_0x59cde8;},'IHlqs':function(_0x2224c3,_0x2c578e){return _0x2224c3-_0x2c578e;},'JuWux':function(_0x20e7c3,_0x3ee5d2){return _0x20e7c3/_0x3ee5d2;},'icvsb':function(_0x4c72e1,_0x5c1eba){return _0x4c72e1(_0x5c1eba);},'ahsdh':_0xdc41e5(0x24e),'kJigQ':_0xdc41e5(0x1fd),'ErMWN':_0xdc41e5(0x22c),'DOWXk':'No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','WJPzx':function(_0x10f550,_0x29ea20){return _0x10f550===_0x29ea20;},'BpCUw':'Listing\x20all\x20the\x20failures','FltiL':'****\x20FAILURES\x20****'};if(_0x167760[_0xdc41e5(0x27e)](_0x2870f3,_0x167760[_0xdc41e5(0x1d2)]))return;const _0x3b7685=0x0,_0x14d252=()=>{const _0x5a2309=_0xdc41e5;return _0x167760['ruRjK'](Array,_0x3b7685)[_0x5a2309(0x1e4)]('\x20\x20');},{testSuites:_0x182b57,platforms:_0x1dc6ab,totalTests:_0x17bb04,testsFailed:_0x96a7f6,testsPassed:_0x42b5e2,testsPending:_0x1a6bfb}=_0x167760[_0xdc41e5(0x252)](getStats,_0xc48bfb);_0x167760[_0xdc41e5(0x248)](_0x96a7f6,0x0)&&(logger[_0xdc41e5(0x259)](_0x167760[_0xdc41e5(0x245)]),process['exitCode']=Math['min'](_0x96a7f6,0xff));logger[_0xdc41e5(0x259)](_0x167760[_0xdc41e5(0x26a)]);const _0x381ad5=''+_0x167760['oELSO'](chalk['bold'](_0x167760[_0xdc41e5(0x272)]),_0x1dc6ab[_0xdc41e5(0x230)]),_0x5f53d8=''+_0x167760[_0xdc41e5(0x20d)](chalk[_0xdc41e5(0x284)](_0x167760[_0xdc41e5(0x22d)]),_0x182b57),_0x10a4d3=''+_0x167760['FaiUL'](_0x167760[_0xdc41e5(0x210)](_0x167760['oELSO'](chalk[_0xdc41e5(0x284)](_0x167760[_0xdc41e5(0x293)]),_0x167760[_0xdc41e5(0x248)](_0x96a7f6,0x0)?chalk[_0xdc41e5(0x284)][_0xdc41e5(0x244)](_0x96a7f6+_0xdc41e5(0x28e))+',\x20':''),_0x167760[_0xdc41e5(0x1d4)](_0x1a6bfb,0x0)?chalk['bold'][_0xdc41e5(0x1fa)](_0x1a6bfb+_0xdc41e5(0x1eb))+',\x20':''),_0x167760[_0xdc41e5(0x211)](_0x42b5e2,0x0)?chalk[_0xdc41e5(0x284)]['green'](_0x42b5e2+_0xdc41e5(0x221))+',\x20':'')+_0x17bb04+_0xdc41e5(0x283);console[_0xdc41e5(0x23f)](_0x167760[_0xdc41e5(0x20d)](_0x167760['FaiUL'](_0x167760[_0xdc41e5(0x24b)](_0x167760['tekEH'](_0x167760['gYITB'](_0x167760['jGXwU'],_0x381ad5),'\x0a'),_0x5f53d8),'\x0a'),_0x10a4d3));if(_0x167760[_0xdc41e5(0x27e)](_0x2870f3,_0x167760[_0xdc41e5(0x1f9)])){const _0x5a0d6a={},_0x2689be={};_0x2689be[_0xdc41e5(0x1d7)]=_0x182b57,_0x2689be['platforms']=_0x1dc6ab,_0x2689be[_0xdc41e5(0x291)]=_0x96a7f6,_0x2689be['testsPassed']=_0x42b5e2,_0x2689be[_0xdc41e5(0x2ba)]=_0x1a6bfb,_0x5a0d6a['stats']=_0x2689be,_0x1dc6ab['forEach'](_0x12c90b=>{const _0x430e57=_0xdc41e5,_0x4391f9={'frMOZ':function(_0x1b4afb,_0x344d95){const _0x26e31e=a26_0x23fa;return _0x167760[_0x26e31e(0x275)](_0x1b4afb,_0x344d95);},'aRIMu':_0x167760[_0x430e57(0x28a)],'daVyk':_0x167760[_0x430e57(0x290)],'CrzRg':function(_0x19cde7,_0x46c5cf){const _0x59885e=_0x430e57;return _0x167760[_0x59885e(0x218)](_0x19cde7,_0x46c5cf);},'ODVrB':_0x167760[_0x430e57(0x1da)],'bnsVC':_0x167760[_0x430e57(0x21f)],'bZLHT':function(_0x19d34c,_0xed3477){return _0x167760['LUBgi'](_0x19d34c,_0xed3477);},'RLVef':_0x167760[_0x430e57(0x1ec)]};_0x5a0d6a[_0x12c90b]={'pending':[],'failures':[],'passes':[],'tests':_0xc48bfb[_0x12c90b][_0x167760['FYOCp']]['map'](clean)},_0xc48bfb[_0x12c90b][_0x167760[_0x430e57(0x27f)]][_0x430e57(0x201)](_0x42a121=>{const _0x3985ff=_0x430e57;if(_0x4391f9[_0x3985ff(0x23e)](_0x42a121[_0x3985ff(0x264)],_0x4391f9[_0x3985ff(0x233)]))_0x5a0d6a[_0x12c90b][_0x4391f9[_0x3985ff(0x287)]][_0x3985ff(0x256)](_0x4391f9[_0x3985ff(0x207)](clean,_0x42a121));else _0x4391f9[_0x3985ff(0x23e)](_0x42a121['state'],_0x4391f9[_0x3985ff(0x1fb)])?_0x5a0d6a[_0x12c90b][_0x4391f9[_0x3985ff(0x22b)]][_0x3985ff(0x256)](_0x4391f9['bZLHT'](clean,_0x42a121)):_0x5a0d6a[_0x12c90b][_0x4391f9['RLVef']][_0x3985ff(0x256)](_0x4391f9[_0x3985ff(0x1df)](clean,_0x42a121));});});if(_0x20e8eb[_0xdc41e5(0x2b9)])try{logger[_0xdc41e5(0x259)](_0x167760['SQDbY'],_0x20e8eb[_0xdc41e5(0x2b9)]),fs['writeFileSync'](_0x20e8eb['output'],JSON[_0xdc41e5(0x1d3)](_0x5a0d6a,null,0x3));}catch(_0x490ea5){logger['error'](_0x167760[_0xdc41e5(0x2a4)],_0x20e8eb[_0xdc41e5(0x2b9)]),logger[_0xdc41e5(0x259)](_0x490ea5);}else logger[_0xdc41e5(0x259)](_0x167760['BTfvk']),console['log'](JSON['stringify'](_0x5a0d6a,null,0x3));}else{if(_0x167760[_0xdc41e5(0x27e)](_0x2870f3,_0x167760[_0xdc41e5(0x212)])){let _0x4bb280;const _0x46eb1b=_0x167760[_0xdc41e5(0x1e6)];_0x20e8eb&&(_0x4bb280=_0x20e8eb[_0xdc41e5(0x28c)]);_0x4bb280=_0x167760[_0xdc41e5(0x295)](_0x4bb280,_0x46eb1b);let _0x3e5fde=0x0,_0x3afa06=0x0,_0xeb19b8=0x0,_0x3922d0=0x0;_0x1dc6ab[_0xdc41e5(0x201)](_0x361990=>{const _0x1287ef=_0xdc41e5,_0x2241a0={'ySUlK':function(_0x218a3a,_0xc181c4){return _0x167760['PopGy'](_0x218a3a,_0xc181c4);},'xojSm':_0x167760['RmQrz'],'quPKf':_0x167760[_0x1287ef(0x1da)],'oouDF':function(_0x63e9fa,_0x10d656){return _0x167760['wwNNR'](_0x63e9fa,_0x10d656);}};_0xc48bfb[_0x361990][_0x167760[_0x1287ef(0x27f)]][_0x1287ef(0x201)](_0x4e928e=>{const _0x2b955f=_0x1287ef;if(_0x2241a0[_0x2b955f(0x299)](_0x4e928e[_0x2b955f(0x264)],_0x2241a0[_0x2b955f(0x29c)]))_0x3e5fde++;else _0x2241a0[_0x2b955f(0x299)](_0x4e928e['state'],_0x2241a0['quPKf'])&&_0x3afa06++;_0xeb19b8++,_0x3922d0+=_0x2241a0['oouDF'](_0x4e928e['duration'],0x1);});}),_0x167760[_0xdc41e5(0x255)](xunitWrite,_0x167760[_0xdc41e5(0x26b)](tag,_0x167760[_0xdc41e5(0x23a)],{'name':_0x4bb280,'tests':_0xeb19b8,'failures':0x0,'errors':_0x3afa06,'skipped':_0x167760['BIjGN'](_0x167760['IHlqs'](_0xeb19b8,_0x3afa06),_0x3e5fde),'timestamp':new Date()[_0xdc41e5(0x298)](),'time':_0x167760[_0xdc41e5(0x24a)](_0x3922d0,0x3e8)||0x0},![])),_0x1dc6ab[_0xdc41e5(0x201)](_0x214910=>{const _0x5c665f=_0xdc41e5,_0x4bced1={'tpSfB':function(_0x822609,_0x4ac1ea,_0x9f0b02){const _0x3ce63c=a26_0x23fa;return _0x167760[_0x3ce63c(0x209)](_0x822609,_0x4ac1ea,_0x9f0b02);}};_0xc48bfb[_0x214910][_0x167760[_0x5c665f(0x27f)]][_0x5c665f(0x201)](_0x4f8db9=>{const _0x364f34=_0x5c665f;_0x4bced1[_0x364f34(0x258)](xunitTest,_0x4f8db9,_0x214910);});}),_0x167760['icvsb'](xunitWrite,_0x167760[_0xdc41e5(0x27a)]);if(_0x20e8eb[_0xdc41e5(0x2b9)])try{logger['debug'](_0x167760[_0xdc41e5(0x1d1)],_0x20e8eb[_0xdc41e5(0x2b9)]),fs[_0xdc41e5(0x27d)](_0x20e8eb[_0xdc41e5(0x2b9)],xunitContent);}catch(_0x37faca){logger['error'](_0x167760[_0xdc41e5(0x278)],_0x20e8eb['output']),logger[_0xdc41e5(0x259)](_0x37faca);}else logger[_0xdc41e5(0x259)](_0x167760[_0xdc41e5(0x285)]),console[_0xdc41e5(0x23f)](xunitContent);}else{if(_0x167760['WJPzx'](_0x96a7f6,0x0))return;console['log'](),logger['debug'](_0x167760[_0xdc41e5(0x2a6)]),console[_0xdc41e5(0x23f)](chalk['bold'][_0xdc41e5(0x224)](_0x167760[_0xdc41e5(0x1e0)])),_0x1dc6ab[_0xdc41e5(0x201)](_0x37e95d=>{const _0x2b4b96=_0xdc41e5,_0x14d1b2=[];_0xc48bfb[_0x37e95d][_0x167760['FYOCp']][_0x2b4b96(0x201)](_0x25b974=>{const _0x4560ef=_0x2b4b96;_0x167760[_0x4560ef(0x275)](_0x25b974[_0x4560ef(0x264)],_0x167760[_0x4560ef(0x1da)])&&(_0x25b974[_0x4560ef(0x1ea)]=()=>_0x25b974['titlePathV'],_0x14d1b2['push'](_0x25b974));}),_0x167760[_0x2b4b96(0x248)](_0x14d1b2['length'],0x0)&&(Base[_0x2b4b96(0x1f5)](),Base[_0x2b4b96(0x1f5)](_0x167760['ZEBuy'](_0x14d252),chalk[_0x2b4b96(0x284)][_0x2b4b96(0x268)](_0x37e95d)),Base[_0x2b4b96(0x202)](_0x14d1b2));});}}}async function run(_0x40ade2,_0x21bcc8){const _0x178143=a26_0x86b02e,_0xa74dc5={'mQmLk':function(_0x33e451,_0x2e0eeb,_0x1c5377,_0x52d7b5){return _0x33e451(_0x2e0eeb,_0x1c5377,_0x52d7b5);},'DjjfW':'reporter-option','RYxGt':'SDKTestSuccessful','gNfgi':function(_0x357eff,_0x570a14,_0x9ecf2f,_0x3d07c7){return _0x357eff(_0x570a14,_0x9ecf2f,_0x3d07c7);},'utyWl':_0x178143(0x206),'ZKKaD':_0x178143(0x240),'YQRyN':_0x178143(0x23d),'TxTmb':function(_0x579208,_0x7fdfac){return _0x579208!=_0x7fdfac;},'WycOh':_0x178143(0x25e),'XBiPd':_0x178143(0x257),'RgsUJ':'test','wtNMl':_0x178143(0x24f),'UFSuT':function(_0x508e90,_0x6e7554){return _0x508e90(_0x6e7554);},'MVszV':_0x178143(0x1f6),'NkVxC':_0x178143(0x232),'dACDE':function(_0x31ef6b,_0x373a88){return _0x31ef6b*_0x373a88;},'kHLAI':function(_0x58fb0e,_0x552036){return _0x58fb0e!==_0x552036;}};process[_0x178143(0x1e1)]['includes'](_0xa74dc5[_0x178143(0x271)])&&(process['env'][_0x178143(0x22e)]=![]);process[_0x178143(0x1e1)][_0x178143(0x21a)](_0xa74dc5[_0x178143(0x261)])&&(process['env'][_0x178143(0x260)]=![]);const _0x5013fd=new BrowserStackSetup(_0x40ade2,_0xa74dc5[_0x178143(0x1f2)]);helper[_0x178143(0x23b)]()&&(await _0x5013fd[_0x178143(0x1e5)](),await helper[_0x178143(0x2a1)](_0x5013fd['config']));const _0x4d42ed=[];let _0x5d5965=[];if(!_0x5013fd['config'])return;_0xa74dc5['TxTmb'](_0x5013fd[_0x178143(0x20f)][_0x178143(0x292)],null)&&(process[_0x178143(0x1d5)][_0x178143(0x25b)]=_0x5013fd[_0x178143(0x20f)]['testObservability']);!helper[_0x178143(0x1d8)](_0x5013fd[_0x178143(0x20f)]['accessibility'])&&(process[_0x178143(0x1d5)][_0x178143(0x234)]=_0x5013fd[_0x178143(0x20f)][_0x178143(0x1f7)]);!helper[_0x178143(0x1d8)](_0x5013fd['config'][_0x178143(0x1e3)])&&(process[_0x178143(0x1d5)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x178143(0x1d3)](_0x5013fd[_0x178143(0x20f)][_0x178143(0x1e3)]));const {extension:extension=['js',_0xa74dc5[_0x178143(0x20b)],_0xa74dc5['XBiPd']],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0xa74dc5[_0x178143(0x2a3)]]}=_0x40ade2,_0x537394={..._0x40ade2};_0x537394[_0x178143(0x1d6)]=null;const _0x480a5f=_0x537394;let _0xf893cf;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x178143(0x249)]()){let _0x4753be=process[_0x178143(0x1d5)][_0x178143(0x2ae)];!helper[_0x178143(0x1d8)](_0x5013fd[_0x178143(0x25a)])&&_0x5013fd[_0x178143(0x25a)][_0x178143(0x253)](_0xa74dc5[_0x178143(0x1ee)])&&(_0x4753be=_0x5013fd[_0x178143(0x25a)]['get'](_0xa74dc5[_0x178143(0x1ee)])),_0xf893cf=testOpsHelper['parseFileNames'](_0x4753be);}if(helper[_0x178143(0x1d8)](_0xf893cf)){const _0xe58a7d={};_0xe58a7d['ignore']=ignore,_0xe58a7d[_0x178143(0x270)]=extension,_0xe58a7d['file']=file,_0xe58a7d['recursive']=recursive,_0xe58a7d['sort']=sort,_0xe58a7d[_0x178143(0x26c)]=spec,_0xf893cf=_0xa74dc5['UFSuT'](collectFiles,_0xe58a7d);}helper['markSDKSetupComplete']();if(!helper['isBrowserstackInfra']()){const _0x5cfdae=0x1,_0x776827={..._0x480a5f};_0x776827['spec']=[..._0xf893cf],_0x4d42ed[_0x178143(0x256)]({'mochaOpts':_0x776827,'configuration':{'platform':os[_0x178143(0x2ad)]()}}),logger[_0x178143(0x219)](_0xa74dc5['MVszV']),logger[_0x178143(0x219)](_0xa74dc5['NkVxC']),_0xa74dc5[_0x178143(0x26d)](parallelTestRun,_0x4d42ed,_0x5cfdae,_0x5013fd)['then'](_0x3d0d76=>{const _0x5de7ed=_0x178143;_0xa74dc5[_0x5de7ed(0x26d)](printStats,_0x3d0d76,_0x40ade2[_0x5de7ed(0x1db)],_0x40ade2[_0x5de7ed(0x263)]||_0x40ade2[_0xa74dc5[_0x5de7ed(0x227)]]);})['finally'](()=>{const _0x5c5aa9=_0x178143;try{helper[_0x5c5aa9(0x250)](_0xa74dc5['RYxGt'],{},_0x5013fd[_0x5c5aa9(0x20f)],_0x5013fd[_0x5c5aa9(0x1e9)]);}catch(_0x168ffd){logger[_0x5c5aa9(0x259)](_0x5c5aa9(0x2b3)+_0x168ffd);}try{helper[_0x5c5aa9(0x21d)]();}catch(_0x1cd9a0){logger[_0x5c5aa9(0x259)](_0x5c5aa9(0x1dc)+_0x1cd9a0);}testOpsHelper[_0x5c5aa9(0x247)]();});}else{const _0x314682=helper[_0x178143(0x200)](_0x5013fd[_0x178143(0x20f)]),_0x234a62=helper['getHubUrl'](_0x5013fd[_0x178143(0x20f)]);_0x5d5965=helper[_0x178143(0x20e)](_0x5013fd[_0x178143(0x20f)],_0x314682,constants[_0x178143(0x289)][_0x178143(0x1e7)]);let _0x1131c7;const _0x4f4d5e=_0x5013fd[_0x178143(0x20f)][_0x178143(0x288)]||helper[_0x178143(0x2b4)](_0x40ade2,_0x21bcc8,_0x5013fd[_0x178143(0x20f)],constants[_0x178143(0x289)][_0x178143(0x1e7)])||0x1;helper[_0x178143(0x2b2)](_0x5013fd['config'])?_0x1131c7=_0xa74dc5[_0x178143(0x2ab)](_0x5013fd['config'][_0x178143(0x297)][_0x178143(0x230)],_0x4f4d5e):_0x1131c7=_0x4f4d5e;const _0x5a4310=_0xa74dc5[_0x178143(0x21b)](getPercyOptions,_0x5013fd['config']);if(_0xa74dc5[_0x178143(0x2a7)](_0x5013fd[_0x178143(0x20f)][_0x178143(0x288)],0x1))_0xf893cf[_0x178143(0x201)](_0x5af881=>{const _0x54ad1d=_0x178143,_0x52e2fa=[];_0x5d5965[_0x54ad1d(0x201)]((_0x506fd2,_0x75bdbb)=>{const _0x1b50e2=_0x54ad1d,_0x4f5cd0={};_0x4f5cd0[_0x1b50e2(0x26c)]=[_0x5af881],_0x52e2fa[_0x1b50e2(0x256)]({'mochaOpts':Object[_0x1b50e2(0x21c)]({},_0x480a5f,_0x4f5cd0),'configuration':{'server':_0x234a62,'capability':_0x506fd2,'proxySettings':_0x5013fd['config'][_0x1b50e2(0x243)],'platform':helper[_0x1b50e2(0x2a5)](_0x506fd2),'browserStackLogLevel':_0x5013fd[_0x1b50e2(0x20f)][_0x1b50e2(0x29b)],'platformIndex':_0x75bdbb,'browserStackPercyOptions':_0x5a4310,'platformCaps':_0x5013fd[_0x1b50e2(0x20f)][_0x1b50e2(0x297)][_0x75bdbb]}});}),_0x4d42ed[_0x54ad1d(0x256)](..._0x52e2fa);});else{const _0x5ec5d1=[];_0x5d5965[_0x178143(0x201)]((_0x338a6d,_0xf76ece)=>{const _0x34c640=_0x178143;let _0x5d42cc=Object[_0x34c640(0x21c)]({},_0x480a5f);testOpsHelper[_0x34c640(0x28b)]()&&testOpsHelper[_0x34c640(0x249)]()&&(_0x5d42cc={..._0x5d42cc,'spec':[..._0xf893cf]}),_0x5ec5d1[_0x34c640(0x256)]({'mochaOpts':_0x5d42cc,'configuration':{'server':_0x234a62,'capability':_0x338a6d,'proxySettings':_0x5013fd['config'][_0x34c640(0x243)],'platform':helper[_0x34c640(0x2a5)](_0x338a6d),'browserStackLogLevel':_0x5013fd['config'][_0x34c640(0x29b)],'platformIndex':_0xf76ece,'browserStackPercyOptions':_0x5a4310,'platformCaps':_0x5013fd[_0x34c640(0x20f)][_0x34c640(0x297)][_0xf76ece]}});}),_0x4d42ed[_0x178143(0x256)](..._0x5ec5d1);}logger[_0x178143(0x219)](_0x178143(0x226)+_0x5013fd[_0x178143(0x20f)]['platforms'][_0x178143(0x230)]+'\x20platforms'),logger[_0x178143(0x219)](_0xa74dc5[_0x178143(0x286)]);let _0x18ed79;_0xa74dc5[_0x178143(0x26d)](parallelTestRun,_0x4d42ed,_0x1131c7,_0x5013fd)[_0x178143(0x1de)](_0x53e40c=>{const _0x43d6b9=_0x178143;_0x18ed79=_0x53e40c,_0xa74dc5['gNfgi'](printStats,_0x53e40c,_0x40ade2[_0x43d6b9(0x1db)],_0x40ade2[_0x43d6b9(0x263)]||_0x40ade2[_0xa74dc5[_0x43d6b9(0x227)]]);})[_0x178143(0x2b0)](async()=>{const _0x4e7cca=_0x178143;_0x5013fd[_0x4e7cca(0x2b8)]=helper[_0x4e7cca(0x265)](_0x18ed79,_0xa74dc5[_0x4e7cca(0x1f2)]),await helper['finalExecution'](_0x5013fd),testOpsHelper[_0x4e7cca(0x247)]();});}}module['exports']=run;
2
+ 'use strict';function a26_0x2071(_0x1d9c6b,_0xb93581){const _0x418cbf=a26_0x418c();return a26_0x2071=function(_0x20716c,_0x2152be){_0x20716c=_0x20716c-0x151;let _0xe5ed64=_0x418cbf[_0x20716c];return _0xe5ed64;},a26_0x2071(_0x1d9c6b,_0xb93581);}const a26_0x5b3bf2=a26_0x2071;(function(_0x2b8009,_0xba99de){const _0x5090c9=a26_0x2071,_0x2dcc36=_0x2b8009();while(!![]){try{const _0x259474=-parseInt(_0x5090c9(0x233))/0x1*(parseInt(_0x5090c9(0x1f5))/0x2)+-parseInt(_0x5090c9(0x1b0))/0x3+-parseInt(_0x5090c9(0x1fa))/0x4*(parseInt(_0x5090c9(0x1d3))/0x5)+parseInt(_0x5090c9(0x176))/0x6*(-parseInt(_0x5090c9(0x21c))/0x7)+-parseInt(_0x5090c9(0x1b3))/0x8*(-parseInt(_0x5090c9(0x18c))/0x9)+-parseInt(_0x5090c9(0x237))/0xa*(parseInt(_0x5090c9(0x20a))/0xb)+-parseInt(_0x5090c9(0x1cd))/0xc*(-parseInt(_0x5090c9(0x23c))/0xd);if(_0x259474===_0xba99de)break;else _0x2dcc36['push'](_0x2dcc36['shift']());}catch(_0x6d6d32){_0x2dcc36['push'](_0x2dcc36['shift']());}}}(a26_0x418c,0x97b13));function a26_0x418c(){const _0x2f45e7=['error','EXaQA','finally','UYRYN','lDjgT','qxXPA','JxdGN','list','../../helpers/percy/utils','accessibilityOptions','title','oRpDw','output','XKxva','fullTitle','kuCiC','message','testSuites','aweoQ','dLXzt','RdvcB','rsCgZ','CNkSH','lUrVp','wmhsL','then','IgLTQ','reporterOptions','skipped','Couldn\x27t\x20write\x20json\x20result\x20to','Uuffd','../utils/constants','Writing\x20xunit\x20result\x20to\x20file','2264514RFjmsF','qdyBO','exports','65768MkyrKq','argv','getErrorMessageFromResults','\x20passed','ngWfl','kaGbh','getPlatformName','JEsNm','toUTCString','logLevel','BPtqq','min','proxySettings','../../helpers/test-observability/utils','ACCaJ','Running\x20your\x20mocha\x20tests','ywQCd','MbLae','Couldn\x27t\x20write\x20xunit\x20result\x20to','jibdO','rzVdn','length','exitCode','zOKXg','debug','getHubUrl','8714148eCyeYR','AMjMq','../../helpers/BrowserStackSetup','size','testsuite','hhrGu','3020HBJpZx','useW3C','isUndefined','NeWWL','suiteName','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','jQzYq','gQTpm','prepareCapabilities','oFsGv','BROWSERSTACK_AUTOMATION','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','handleApp','EXjhl','testsPending','BROWSERSTACK_TEST_OBSERVABILITY','NmBPS','iwKpZ','tklCx','shouldReRunObservabilityTests','IWoEU','markSDKSetupComplete','log','RcHLM','sort','../../helpers/logger','QqffE','testsPassed','</testsuite>','fvCMN','useColors','json','iSCNI','../test-runner','46eWpUdT','file','wEGCk','Ueyca','AeWOf','796TheJoA','spec','assign','AsYyv','getUserWorkerCount','eARvt','jiUJS','getOwnPropertyNames','hideDiff','bold','results','\x20skipped','yellow','Gysql','has','Running\x20your\x20mocha\x20tests\x20across\x20','23727SODwDK','FRAMEWORKS','consoleLog','dGhkK','mocha','mCzjJ','CXBte','mocha/lib/cli/collect-files.js','reporter','iXBlf','binSS','chalk','EPhex','mjs','duration','BROWSERSTACK_TEST_OBSERVABILITY_YML','MOCHA','hasOwnProperty','77042plFLjN','Kxoum','****\x20FAILURES\x20****','vyYkR','LDHCK','dfjEA','parseFileNames','zUUbN','object','OHQUS','state','failed','passed','passes','wwQfe','writeFileSync','get','LRkMN','showDiff','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','fireFunnelTestEvent','QOoxM','GeskF','25827siyzAU','currentRetry','red','titlePathV','360CpxNYa','parse','ThGnU','add','forEach','39ndrHRl','stringify','join','cliConfig','platform','parallelsPerPlatform','pending','FpXyW','kuRrb','env','extension','\x20failed','XQKry','Lgkjd','indexOf','qRXZD','winstonLogger','WizDr','bgBlueBright','prototype','RJUiO','pqnHY','generateDiff','kDGtW','Now,\x20showing\x20logs\x20from\x20mocha','WiYYb','Tests:\x20\x20\x20\x20\x20\x20\x20','YsRuR','ZGuKC','suite','expected','rootHooks','xunit','isBrowserstackInfra','XiQKe','ZJYrY','stats','bgRedBright','gqKBG','stack','nIHXG','CmpPb','../../helpers/helper','notifyUpdate','titlePath','framework','AUToy','Setting\x20non\x20exit\x20code\x20for\x20failures','err','isPending','GBLaO','GiUlP','ydJdP','NScDS','306PNImuo','SDKTestSuccessful','Mocha\x20Tests','recursive','xXITq','isTestObservabilitySession','config','vAKGw','BROWSERSTACK_RERUN_TESTS','platforms','IUIlZ','mkkbr','aaWfI','info','includes','failure','rerunTests','\x20total','kNLzi','KnjFQ','push','sNyFu','603UkvaJs','testcase','tswkS'];a26_0x418c=function(){return _0x2f45e7;};return a26_0x418c();}const chalk=require(a26_0x5b3bf2(0x215)),logger=require(a26_0x5b3bf2(0x1ec))[a26_0x5b3bf2(0x24c)],{default:BrowserStackSetup}=require(a26_0x5b3bf2(0x1cf)),helper=require('../../helpers/helper'),testOpsHelper=require(a26_0x5b3bf2(0x1c0)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a26_0x5b3bf2(0x1f4)),{requireModule}=require(a26_0x5b3bf2(0x16a)),{getPercyOptions}=require(a26_0x5b3bf2(0x197)),Base=requireModule('mocha/lib/reporters/base.js'),collectFiles=requireModule(a26_0x5b3bf2(0x211)),constants=require(a26_0x5b3bf2(0x1ae));function tag(_0x2e67fc,_0x208b12,_0x51cd1e,_0x5ea2d3){const _0x49e58d=a26_0x5b3bf2,_0x1de529={'kDGtW':function(_0x531f72,_0x82f9eb){return _0x531f72+_0x82f9eb;},'iSCNI':function(_0x3347f8,_0x4751f7){return _0x3347f8+_0x4751f7;},'wwQfe':function(_0x50db04,_0x215c4d){return _0x50db04(_0x215c4d);},'yUeFY':function(_0x523a19,_0x1f671d){return _0x523a19+_0x1f671d;},'LFYll':function(_0x401dbc,_0x3a60a3){return _0x401dbc+_0x3a60a3;},'AeWOf':function(_0x2b0d4f,_0x4c3e6e){return _0x2b0d4f+_0x4c3e6e;},'aweoQ':function(_0x4e2097,_0x2a9145){return _0x4e2097+_0x2a9145;},'GiUlP':function(_0x17aa76,_0x5397e4){return _0x17aa76+_0x5397e4;},'WiYYb':function(_0xdc4054,_0x39a63d){return _0xdc4054+_0x39a63d;}},_0xa1a777=_0x51cd1e?'/>':'>',_0x3839ac=[];let _0x35bd41;for(const _0x3319e6 in _0x208b12){Object[_0x49e58d(0x153)][_0x49e58d(0x21b)]['call'](_0x208b12,_0x3319e6)&&_0x3839ac[_0x49e58d(0x18a)](_0x1de529['kDGtW'](_0x1de529[_0x49e58d(0x157)](_0x1de529[_0x49e58d(0x1f3)](_0x3319e6,'=\x22'),_0x1de529[_0x49e58d(0x22a)](escape,_0x208b12[_0x3319e6])),'\x22'));}return _0x35bd41=_0x1de529['yUeFY'](_0x1de529['LFYll'](_0x1de529[_0x49e58d(0x1f9)]('<',_0x2e67fc),_0x3839ac[_0x49e58d(0x1c8)]?_0x1de529[_0x49e58d(0x1a1)]('\x20',_0x3839ac[_0x49e58d(0x23e)]('\x20')):''),_0xa1a777),_0x5ea2d3&&(_0x35bd41+=_0x1de529['AeWOf'](_0x1de529[_0x49e58d(0x173)](_0x1de529[_0x49e58d(0x159)](_0x5ea2d3,'</'),_0x2e67fc),_0xa1a777)),_0x35bd41;}let xunitContent='';function xunitWrite(_0x2c55f0){xunitContent+=_0x2c55f0;}function xunitTest(_0x467476,_0x4af4cf){const _0x2845b0=a26_0x5b3bf2,_0x367507={'wEGCk':function(_0x54cb59,_0x1c9ef4){return _0x54cb59/_0x1c9ef4;},'MbLae':function(_0x30c686,_0x3e8f95){return _0x30c686===_0x3e8f95;},'FpXyW':_0x2845b0(0x227),'KnjFQ':function(_0x3646fc,_0x457de4){return _0x3646fc+_0x457de4;},'wmhsL':function(_0x160ca6,_0x3e2c22){return _0x160ca6(_0x3e2c22);},'UYRYN':function(_0x11fcbf,_0x188653,_0x187820,_0x49eadd,_0x210047){return _0x11fcbf(_0x188653,_0x187820,_0x49eadd,_0x210047);},'gqKBG':_0x2845b0(0x18d),'kaGbh':_0x2845b0(0x185),'CpbHM':function(_0x254aa5,_0x44b140){return _0x254aa5+_0x44b140;},'qRXZD':function(_0x165425,_0xd35ea){return _0x165425(_0xd35ea);},'mCzjJ':function(_0x28b0fd,_0x21e58b){return _0x28b0fd(_0x21e58b);},'BPtqq':function(_0x13f829,_0x5f4ad1,_0x3772f2,_0x1d184c){return _0x13f829(_0x5f4ad1,_0x3772f2,_0x1d184c);},'LRkMN':_0x2845b0(0x1ab)};Base[_0x2845b0(0x1f1)]=![];var _0x19afbd={'classname':_0x467476['fullTitle'],'name':_0x467476[_0x2845b0(0x199)],'time':_0x367507[_0x2845b0(0x1f7)](_0x467476['duration'],0x3e8)||0x0,'platform':_0x4af4cf};if(_0x367507[_0x2845b0(0x1c4)](_0x467476[_0x2845b0(0x226)],_0x367507[_0x2845b0(0x243)])){var _0x863f1e=_0x467476[_0x2845b0(0x170)],_0x22e807=!Base[_0x2845b0(0x202)]&&Base[_0x2845b0(0x22e)](_0x863f1e)?_0x367507[_0x2845b0(0x189)]('\x0a',Base[_0x2845b0(0x156)](_0x863f1e['actual'],_0x863f1e[_0x2845b0(0x15e)])):'';_0x367507['wmhsL'](xunitWrite,_0x367507[_0x2845b0(0x192)](tag,_0x367507[_0x2845b0(0x166)],_0x19afbd,![],_0x367507[_0x2845b0(0x192)](tag,_0x367507[_0x2845b0(0x1b8)],{},![],_0x367507[_0x2845b0(0x189)](_0x367507[_0x2845b0(0x189)](_0x367507['CpbHM'](_0x367507[_0x2845b0(0x1a7)](escape,_0x863f1e[_0x2845b0(0x19f)]),_0x367507[_0x2845b0(0x1a7)](escape,_0x22e807)),'\x0a'),_0x367507[_0x2845b0(0x24b)](escape,_0x863f1e[_0x2845b0(0x167)])))));}else _0x467476[_0x2845b0(0x171)]?_0x367507[_0x2845b0(0x20f)](xunitWrite,_0x367507[_0x2845b0(0x192)](tag,_0x367507[_0x2845b0(0x166)],_0x19afbd,![],_0x367507[_0x2845b0(0x1bd)](tag,_0x367507[_0x2845b0(0x22d)],{},!![]))):_0x367507[_0x2845b0(0x24b)](xunitWrite,_0x367507['BPtqq'](tag,_0x367507['gqKBG'],_0x19afbd,!![]));};function getStats(_0x28bcf5){const _0x328504=a26_0x5b3bf2,_0x507b52={};_0x507b52[_0x328504(0x1da)]=_0x328504(0x15d),_0x507b52[_0x328504(0x1d6)]='passed',_0x507b52[_0x328504(0x17a)]=_0x328504(0x227),_0x507b52[_0x328504(0x232)]=_0x328504(0x204);const _0x217046=_0x507b52,_0x14bcfc=Object['keys'](_0x28bcf5);let _0x339ec2=0x0,_0x2307ba=0x0,_0x11c182=0x0,_0x35bc80=0x0;const _0x2897c0=new Set();_0x14bcfc[_0x328504(0x23b)](_0x125011=>{const _0x582376=_0x328504,_0xc0eaeb={};_0xc0eaeb[_0x582376(0x182)]=_0x217046['gQTpm'],_0xc0eaeb[_0x582376(0x1b1)]=_0x217046[_0x582376(0x1d6)],_0xc0eaeb[_0x582376(0x19a)]=_0x217046[_0x582376(0x17a)];const _0x2b8b89=_0xc0eaeb;_0x28bcf5[_0x125011][_0x217046[_0x582376(0x232)]][_0x582376(0x23b)](_0x3037c6=>{const _0x282e78=_0x582376;_0x2897c0[_0x282e78(0x23a)](_0x3037c6[_0x2b8b89[_0x282e78(0x182)]]),_0x339ec2++;switch(_0x3037c6['state']){case _0x2b8b89[_0x282e78(0x1b1)]:_0x11c182++;break;case _0x2b8b89[_0x282e78(0x19a)]:_0x2307ba++;break;default:_0x35bc80++;}});});const _0x5cbe7b={};return _0x5cbe7b[_0x328504(0x1a0)]=_0x2897c0[_0x328504(0x1d0)],_0x5cbe7b[_0x328504(0x17f)]=_0x14bcfc,_0x5cbe7b['totalTests']=_0x339ec2,_0x5cbe7b['testsFailed']=_0x2307ba,_0x5cbe7b[_0x328504(0x1ee)]=_0x11c182,_0x5cbe7b[_0x328504(0x1e1)]=_0x35bc80,_0x5cbe7b;}function errorJSON(_0x1d056d){const _0xd6f41b=a26_0x5b3bf2;var _0x2be744={};return Object[_0xd6f41b(0x201)](_0x1d056d)[_0xd6f41b(0x23b)](function(_0x1a11a7){_0x2be744[_0x1a11a7]=_0x1d056d[_0x1a11a7];},_0x1d056d),_0x2be744;}function cleanCycles(_0x3db179){const _0x4d21cd=a26_0x5b3bf2,_0xd1e9ff={};_0xd1e9ff['ngWfl']=function(_0x35eee1,_0x21f693){return _0x35eee1===_0x21f693;},_0xd1e9ff['XKxva']=_0x4d21cd(0x224),_0xd1e9ff[_0x4d21cd(0x1a9)]=function(_0x5b403b,_0x77a1c8){return _0x5b403b!==_0x77a1c8;},_0xd1e9ff['iXBlf']=function(_0x30bd99,_0x17adf8){return _0x30bd99!==_0x17adf8;},_0xd1e9ff[_0x4d21cd(0x221)]=function(_0x4adff7,_0x2ad661){return _0x4adff7+_0x2ad661;};const _0xc0c3d4=_0xd1e9ff;var _0x4cb05b=[];return JSON[_0x4d21cd(0x238)](JSON['stringify'](_0x3db179,function(_0x19a31b,_0x4d1eb9){const _0x46dfc9=_0x4d21cd;if(_0xc0c3d4[_0x46dfc9(0x1b7)](typeof _0x4d1eb9,_0xc0c3d4[_0x46dfc9(0x19c)])&&_0xc0c3d4[_0x46dfc9(0x1a9)](_0x4d1eb9,null)){if(_0xc0c3d4[_0x46dfc9(0x213)](_0x4cb05b[_0x46dfc9(0x24a)](_0x4d1eb9),-0x1))return _0xc0c3d4[_0x46dfc9(0x221)]('',_0x4d1eb9);_0x4cb05b[_0x46dfc9(0x18a)](_0x4d1eb9);}return _0x4d1eb9;}));}function clean(_0x255b23){const _0x303a73=a26_0x5b3bf2,_0x1a2139={'VhJdL':function(_0x463a6c,_0x2ab9da){return _0x463a6c instanceof _0x2ab9da;},'tswkS':function(_0x4e87f4,_0x18d332){return _0x4e87f4(_0x18d332);},'fwwqt':function(_0x45867f,_0x561bf4){return _0x45867f(_0x561bf4);}};var _0x195cd6=_0x255b23['err']||{};return _0x1a2139['VhJdL'](_0x195cd6,Error)&&(_0x195cd6=_0x1a2139[_0x303a73(0x18e)](errorJSON,_0x195cd6)),{'title':_0x255b23[_0x303a73(0x199)],'fullTitle':_0x255b23[_0x303a73(0x19d)],'file':_0x255b23[_0x303a73(0x1f6)],'duration':_0x255b23[_0x303a73(0x218)],'currentRetry':_0x255b23[_0x303a73(0x234)],'speed':_0x255b23['speed'],'err':_0x1a2139['fwwqt'](cleanCycles,_0x195cd6)};}function printStats(_0x37e77f,_0x1b4cc3='spec',_0x16c0c4={}){const _0x324020=a26_0x5b3bf2,_0x4916dd={'wtGeA':function(_0x5bada2,_0x3a0fb1){return _0x5bada2(_0x3a0fb1);},'AsYyv':function(_0x231ea7,_0x3805eb){return _0x231ea7===_0x3805eb;},'QqffE':_0x324020(0x228),'tklCx':_0x324020(0x229),'JxdGN':function(_0x2574f7,_0x481d44){return _0x2574f7(_0x481d44);},'EPhex':_0x324020(0x227),'JEsNm':'failures','LDHCK':_0x324020(0x242),'Ueyca':'results','WizDr':function(_0xd8ee42,_0x2dac21){return _0xd8ee42===_0x2dac21;},'IUIlZ':function(_0x41c273,_0x124e69){return _0x41c273*_0x124e69;},'hhrGu':function(_0x56f7f3,_0x3fd0df,_0x569377){return _0x56f7f3(_0x3fd0df,_0x569377);},'Gysql':function(_0x16788,_0x5420cc){return _0x16788>_0x5420cc;},'OHQUS':function(_0x29536d){return _0x29536d();},'rsCgZ':function(_0x41fb4f,_0x3becdd){return _0x41fb4f===_0x3becdd;},'ZJYrY':'doc','YsRuR':function(_0x350af1,_0x233d5d){return _0x350af1(_0x233d5d);},'kfPll':_0x324020(0x16f),'EXaQA':'Printing\x20stats\x20of\x20tests','Uuffd':function(_0x1b8cee,_0x37f2a0){return _0x1b8cee+_0x37f2a0;},'IDBnF':'Total\x20Platforms:\x20','snRju':'Total\x20Suites:\x20','oFsGv':function(_0x5eeacf,_0x491c83){return _0x5eeacf+_0x491c83;},'IWoEU':function(_0x5e0405,_0x4aeb77){return _0x5e0405+_0x4aeb77;},'UsXHd':_0x324020(0x15a),'zUUbN':function(_0x2b6bfa,_0x581202){return _0x2b6bfa>_0x581202;},'CXBte':function(_0x18b737,_0x3a5f1c){return _0x18b737>_0x3a5f1c;},'RcHLM':function(_0xccc958,_0x2746eb){return _0xccc958>_0x2746eb;},'sNyFu':function(_0x411f7d,_0xefbd01){return _0x411f7d+_0xefbd01;},'AUToy':function(_0xee37ca,_0x75325b){return _0xee37ca+_0x75325b;},'jiUJS':function(_0x58fb74,_0x1d16ca){return _0x58fb74+_0x1d16ca;},'dLXzt':'\x0a\x0a\x0a','ACCaJ':function(_0x369042,_0x31763d){return _0x369042===_0x31763d;},'dGhkK':_0x324020(0x1f2),'ULKNg':'Writing\x20json\x20result\x20to\x20file','lDjgT':_0x324020(0x1ac),'binSS':_0x324020(0x1d8),'jQzYq':_0x324020(0x160),'vAKGw':_0x324020(0x178),'kuCiC':function(_0x35a0db,_0x56733d){return _0x35a0db||_0x56733d;},'qxXPA':function(_0x25847a,_0x4bddcf){return _0x25847a(_0x4bddcf);},'vyYkR':function(_0x344fe1,_0x5743ee,_0x4368e0,_0x25e22d){return _0x344fe1(_0x5743ee,_0x4368e0,_0x25e22d);},'XQKry':_0x324020(0x1d1),'doGCd':function(_0xc7652,_0x4e63a0){return _0xc7652-_0x4e63a0;},'nvBhC':function(_0xb6206,_0x2ede70){return _0xb6206-_0x2ede70;},'MiiWb':function(_0x5bf248,_0x3f5532){return _0x5bf248/_0x3f5532;},'XiQKe':function(_0x2d47c1,_0x39b131){return _0x2d47c1(_0x39b131);},'lUrVp':_0x324020(0x1ef),'RJUiO':_0x324020(0x1af),'ywQCd':_0x324020(0x1c5),'SgEeV':_0x324020(0x22f),'aCoQb':'Listing\x20all\x20the\x20failures','nrMCP':_0x324020(0x21e)};if(_0x4916dd[_0x324020(0x1a4)](_0x1b4cc3,_0x4916dd[_0x324020(0x163)]))return;const _0x40f65f=0x0,_0x36487a=()=>{const _0x29f048=_0x324020;return _0x4916dd['wtGeA'](Array,_0x40f65f)[_0x29f048(0x23e)]('\x20\x20');},{testSuites:_0x183718,platforms:_0x32f05a,totalTests:_0x4afc77,testsFailed:_0x31e70e,testsPassed:_0x3cdc7e,testsPending:_0x31efd9}=_0x4916dd[_0x324020(0x15b)](getStats,_0x37e77f);_0x4916dd['Gysql'](_0x31e70e,0x0)&&(logger[_0x324020(0x1cb)](_0x4916dd['kfPll']),process[_0x324020(0x1c9)]=Math[_0x324020(0x1be)](_0x31e70e,0xff));logger[_0x324020(0x1cb)](_0x4916dd[_0x324020(0x190)]);const _0x44ebae=''+_0x4916dd[_0x324020(0x1ad)](chalk['bold'](_0x4916dd['IDBnF']),_0x32f05a[_0x324020(0x1c8)]),_0x3d189f=''+_0x4916dd[_0x324020(0x1ad)](chalk[_0x324020(0x203)](_0x4916dd['snRju']),_0x183718),_0x2c2659=''+_0x4916dd[_0x324020(0x1ad)](_0x4916dd[_0x324020(0x1dc)](_0x4916dd[_0x324020(0x1e7)](chalk[_0x324020(0x203)](_0x4916dd['UsXHd']),_0x4916dd[_0x324020(0x223)](_0x31e70e,0x0)?chalk['bold'][_0x324020(0x235)](_0x31e70e+_0x324020(0x247))+',\x20':''),_0x4916dd[_0x324020(0x210)](_0x31efd9,0x0)?chalk[_0x324020(0x203)][_0x324020(0x206)](_0x31efd9+_0x324020(0x205))+',\x20':''),_0x4916dd[_0x324020(0x1ea)](_0x3cdc7e,0x0)?chalk[_0x324020(0x203)]['green'](_0x3cdc7e+_0x324020(0x1b6))+',\x20':'')+_0x4afc77+_0x324020(0x187);console[_0x324020(0x1e9)](_0x4916dd[_0x324020(0x1e7)](_0x4916dd[_0x324020(0x18b)](_0x4916dd[_0x324020(0x1ad)](_0x4916dd[_0x324020(0x16e)](_0x4916dd[_0x324020(0x200)](_0x4916dd[_0x324020(0x1a2)],_0x44ebae),'\x0a'),_0x3d189f),'\x0a'),_0x2c2659));if(_0x4916dd[_0x324020(0x1c1)](_0x1b4cc3,_0x4916dd[_0x324020(0x20d)])){const _0x2c7fe7={},_0x2da4cf={};_0x2da4cf[_0x324020(0x1a0)]=_0x183718,_0x2da4cf[_0x324020(0x17f)]=_0x32f05a,_0x2da4cf['testsFailed']=_0x31e70e,_0x2da4cf[_0x324020(0x1ee)]=_0x3cdc7e,_0x2da4cf[_0x324020(0x1e1)]=_0x31efd9,_0x2c7fe7[_0x324020(0x164)]=_0x2da4cf,_0x32f05a['forEach'](_0x506034=>{const _0x1d9e56=_0x324020,_0x3e6cd5={'fvCMN':function(_0x2c4e4b,_0x12d8f3){const _0x167e55=a26_0x2071;return _0x4916dd[_0x167e55(0x1fd)](_0x2c4e4b,_0x12d8f3);},'eARvt':_0x4916dd[_0x1d9e56(0x1ed)],'ZGuKC':_0x4916dd[_0x1d9e56(0x1e5)],'RdvcB':function(_0x5b1b9f,_0x253117){const _0x47a5f9=_0x1d9e56;return _0x4916dd[_0x47a5f9(0x195)](_0x5b1b9f,_0x253117);},'Lgkjd':_0x4916dd[_0x1d9e56(0x216)],'cAPHQ':_0x4916dd[_0x1d9e56(0x1ba)],'lNhQu':_0x4916dd[_0x1d9e56(0x220)],'khEpn':function(_0x40a324,_0x44a560){const _0x227496=_0x1d9e56;return _0x4916dd[_0x227496(0x195)](_0x40a324,_0x44a560);}};_0x2c7fe7[_0x506034]={'pending':[],'failures':[],'passes':[],'tests':_0x37e77f[_0x506034][_0x4916dd[_0x1d9e56(0x1f8)]]['map'](clean)},_0x37e77f[_0x506034][_0x4916dd[_0x1d9e56(0x1f8)]]['forEach'](_0xcaa0fe=>{const _0x49f4a6=_0x1d9e56;if(_0x3e6cd5[_0x49f4a6(0x1f0)](_0xcaa0fe[_0x49f4a6(0x226)],_0x3e6cd5[_0x49f4a6(0x1ff)]))_0x2c7fe7[_0x506034][_0x3e6cd5[_0x49f4a6(0x15c)]][_0x49f4a6(0x18a)](_0x3e6cd5[_0x49f4a6(0x1a3)](clean,_0xcaa0fe));else _0x3e6cd5['fvCMN'](_0xcaa0fe[_0x49f4a6(0x226)],_0x3e6cd5[_0x49f4a6(0x249)])?_0x2c7fe7[_0x506034][_0x3e6cd5['cAPHQ']]['push'](_0x3e6cd5['RdvcB'](clean,_0xcaa0fe)):_0x2c7fe7[_0x506034][_0x3e6cd5['lNhQu']][_0x49f4a6(0x18a)](_0x3e6cd5['khEpn'](clean,_0xcaa0fe));});});if(_0x16c0c4[_0x324020(0x19b)])try{logger[_0x324020(0x1cb)](_0x4916dd['ULKNg'],_0x16c0c4[_0x324020(0x19b)]),fs[_0x324020(0x22b)](_0x16c0c4[_0x324020(0x19b)],JSON[_0x324020(0x23d)](_0x2c7fe7,null,0x3));}catch(_0xb9c561){logger['error'](_0x4916dd[_0x324020(0x193)],_0x16c0c4[_0x324020(0x19b)]),logger['debug'](_0xb9c561);}else logger[_0x324020(0x1cb)](_0x4916dd[_0x324020(0x214)]),console[_0x324020(0x1e9)](JSON[_0x324020(0x23d)](_0x2c7fe7,null,0x3));}else{if(_0x4916dd[_0x324020(0x151)](_0x1b4cc3,_0x4916dd[_0x324020(0x1d9)])){let _0x2e565f;const _0x80efda=_0x4916dd[_0x324020(0x17d)];_0x16c0c4&&(_0x2e565f=_0x16c0c4[_0x324020(0x1d7)]);_0x2e565f=_0x4916dd[_0x324020(0x19e)](_0x2e565f,_0x80efda);let _0x175ce6=0x0,_0x4a93e6=0x0,_0x4e41ab=0x0,_0x3529be=0x0;_0x32f05a[_0x324020(0x23b)](_0x2272ba=>{const _0x2a1590=_0x324020,_0x5dc8d4={'RScxg':function(_0x33faa0,_0x101c8d){const _0x48150f=a26_0x2071;return _0x4916dd[_0x48150f(0x1fd)](_0x33faa0,_0x101c8d);},'yGUIG':_0x4916dd[_0x2a1590(0x1ed)],'NYgxR':function(_0x1ce68e,_0x24e2d0){const _0x470ce3=_0x2a1590;return _0x4916dd[_0x470ce3(0x151)](_0x1ce68e,_0x24e2d0);},'zOKXg':_0x4916dd[_0x2a1590(0x216)],'ydJdP':function(_0x344288,_0x4ae5fd){const _0xb207af=_0x2a1590;return _0x4916dd[_0xb207af(0x180)](_0x344288,_0x4ae5fd);}};_0x37e77f[_0x2272ba][_0x4916dd[_0x2a1590(0x1f8)]][_0x2a1590(0x23b)](_0x405675=>{const _0x1ae8e0=_0x2a1590;if(_0x5dc8d4['RScxg'](_0x405675[_0x1ae8e0(0x226)],_0x5dc8d4['yGUIG']))_0x175ce6++;else _0x5dc8d4['NYgxR'](_0x405675[_0x1ae8e0(0x226)],_0x5dc8d4[_0x1ae8e0(0x1ca)])&&_0x4a93e6++;_0x4e41ab++,_0x3529be+=_0x5dc8d4[_0x1ae8e0(0x174)](_0x405675[_0x1ae8e0(0x218)],0x1);});}),_0x4916dd[_0x324020(0x194)](xunitWrite,_0x4916dd[_0x324020(0x21f)](tag,_0x4916dd[_0x324020(0x248)],{'name':_0x2e565f,'tests':_0x4e41ab,'failures':0x0,'errors':_0x4a93e6,'skipped':_0x4916dd['doGCd'](_0x4916dd['nvBhC'](_0x4e41ab,_0x4a93e6),_0x175ce6),'timestamp':new Date()[_0x324020(0x1bb)](),'time':_0x4916dd['MiiWb'](_0x3529be,0x3e8)||0x0},![])),_0x32f05a[_0x324020(0x23b)](_0x5a23e8=>{const _0x271c33=_0x324020,_0xcbcc17={'rzVdn':function(_0x5910c7,_0xf14a90,_0x33653d){const _0x726b7e=a26_0x2071;return _0x4916dd[_0x726b7e(0x1d2)](_0x5910c7,_0xf14a90,_0x33653d);}};_0x37e77f[_0x5a23e8][_0x4916dd[_0x271c33(0x1f8)]][_0x271c33(0x23b)](_0x444f07=>{const _0x2edee4=_0x271c33;_0xcbcc17[_0x2edee4(0x1c7)](xunitTest,_0x444f07,_0x5a23e8);});}),_0x4916dd[_0x324020(0x162)](xunitWrite,_0x4916dd[_0x324020(0x1a6)]);if(_0x16c0c4[_0x324020(0x19b)])try{logger[_0x324020(0x1cb)](_0x4916dd[_0x324020(0x154)],_0x16c0c4[_0x324020(0x19b)]),fs['writeFileSync'](_0x16c0c4[_0x324020(0x19b)],xunitContent);}catch(_0x41c8c4){logger[_0x324020(0x18f)](_0x4916dd[_0x324020(0x1c3)],_0x16c0c4[_0x324020(0x19b)]),logger[_0x324020(0x1cb)](_0x41c8c4);}else logger[_0x324020(0x1cb)](_0x4916dd['SgEeV']),console['log'](xunitContent);}else{if(_0x4916dd[_0x324020(0x151)](_0x31e70e,0x0))return;console[_0x324020(0x1e9)](),logger[_0x324020(0x1cb)](_0x4916dd['aCoQb']),console['log'](chalk[_0x324020(0x203)][_0x324020(0x165)](_0x4916dd['nrMCP'])),_0x32f05a[_0x324020(0x23b)](_0x5b7696=>{const _0x4085fb=_0x324020,_0x5555c6={'GBLaO':function(_0x50c1b4,_0x312f90){return _0x4916dd['WizDr'](_0x50c1b4,_0x312f90);},'pqnHY':_0x4916dd[_0x4085fb(0x216)]},_0x30476a=[];_0x37e77f[_0x5b7696][_0x4916dd[_0x4085fb(0x1f8)]][_0x4085fb(0x23b)](_0x25208d=>{const _0x1df6a7=_0x4085fb;_0x5555c6[_0x1df6a7(0x172)](_0x25208d['state'],_0x5555c6[_0x1df6a7(0x155)])&&(_0x25208d[_0x1df6a7(0x16c)]=()=>_0x25208d[_0x1df6a7(0x236)],_0x30476a[_0x1df6a7(0x18a)](_0x25208d));}),_0x4916dd[_0x4085fb(0x207)](_0x30476a[_0x4085fb(0x1c8)],0x0)&&(Base[_0x4085fb(0x20c)](),Base[_0x4085fb(0x20c)](_0x4916dd[_0x4085fb(0x225)](_0x36487a),chalk['bold'][_0x4085fb(0x152)](_0x5b7696)),Base[_0x4085fb(0x196)](_0x30476a));});}}}async function run(_0x438c71,_0x58a577){const _0x24b111=a26_0x5b3bf2,_0x23abd4={'mkkbr':function(_0x88d0ee,_0x32a0d9,_0x1605e6,_0x5c9edb){return _0x88d0ee(_0x32a0d9,_0x1605e6,_0x5c9edb);},'tZxWh':'reporter-option','CmpPb':_0x24b111(0x177),'Kxoum':_0x24b111(0x20e),'kNLzi':'--disable-test-observability','CNkSH':'--disable-browserstack-automation','enWHY':function(_0x2d2e1c,_0x372952){return _0x2d2e1c!=_0x372952;},'EXjhl':'cjs','QOoxM':_0x24b111(0x217),'jibdO':'test','NmBPS':_0x24b111(0x186),'AMjMq':function(_0x2c7d7a,_0x2b4eaa){return _0x2c7d7a(_0x2b4eaa);},'PXRQZ':_0x24b111(0x1c2),'ThGnU':_0x24b111(0x158),'nIHXG':function(_0x24c3b4,_0x19e188,_0x4d62f3,_0x6acd04){return _0x24c3b4(_0x19e188,_0x4d62f3,_0x6acd04);},'kuRrb':function(_0x4bfef1,_0x11028d){return _0x4bfef1*_0x11028d;},'NScDS':function(_0x5823e0,_0x3781ba){return _0x5823e0!==_0x3781ba;},'iwKpZ':function(_0x5a96a7,_0x47c101,_0x5d1604,_0x156801){return _0x5a96a7(_0x47c101,_0x5d1604,_0x156801);}};process[_0x24b111(0x1b4)][_0x24b111(0x184)](_0x23abd4[_0x24b111(0x188)])&&(process[_0x24b111(0x245)][_0x24b111(0x1e2)]=![]);process[_0x24b111(0x1b4)]['includes'](_0x23abd4[_0x24b111(0x1a5)])&&(process[_0x24b111(0x245)][_0x24b111(0x1dd)]=![]);const _0x4d1049=new BrowserStackSetup(_0x438c71,_0x23abd4[_0x24b111(0x21d)]);helper[_0x24b111(0x161)]()&&(await _0x4d1049['initialize'](),await helper[_0x24b111(0x1df)](_0x4d1049['config']));const _0x1b2f43=[];let _0x13473e=[];if(!_0x4d1049[_0x24b111(0x17c)])return;_0x23abd4['enWHY'](_0x4d1049[_0x24b111(0x17c)]['testObservability'],null)&&(process[_0x24b111(0x245)][_0x24b111(0x219)]=_0x4d1049[_0x24b111(0x17c)]['testObservability']);!helper[_0x24b111(0x1d5)](_0x4d1049[_0x24b111(0x17c)]['accessibility'])&&(process[_0x24b111(0x245)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x4d1049['config']['accessibility']);!helper[_0x24b111(0x1d5)](_0x4d1049[_0x24b111(0x17c)][_0x24b111(0x198)])&&(process[_0x24b111(0x245)][_0x24b111(0x1de)]=JSON[_0x24b111(0x23d)](_0x4d1049['config'][_0x24b111(0x198)]));const {extension:extension=['js',_0x23abd4[_0x24b111(0x1e0)],_0x23abd4[_0x24b111(0x231)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x23abd4[_0x24b111(0x1c6)]]}=_0x438c71,_0xf31db0={..._0x438c71};_0xf31db0[_0x24b111(0x15f)]=null;const _0x27b1dc=_0xf31db0;let _0x2de951;if(testOpsHelper[_0x24b111(0x17b)]()&&testOpsHelper[_0x24b111(0x1e6)]()){let _0x4ba564=process[_0x24b111(0x245)][_0x24b111(0x17e)];!helper['isUndefined'](_0x4d1049[_0x24b111(0x23f)])&&_0x4d1049[_0x24b111(0x23f)][_0x24b111(0x208)](_0x23abd4[_0x24b111(0x1e3)])&&(_0x4ba564=_0x4d1049['cliConfig'][_0x24b111(0x22c)](_0x23abd4[_0x24b111(0x1e3)])),_0x2de951=testOpsHelper[_0x24b111(0x222)](_0x4ba564);}if(helper[_0x24b111(0x1d5)](_0x2de951)){const _0x25e602={};_0x25e602['ignore']=ignore,_0x25e602[_0x24b111(0x246)]=extension,_0x25e602[_0x24b111(0x1f6)]=file,_0x25e602[_0x24b111(0x179)]=recursive,_0x25e602[_0x24b111(0x1eb)]=sort,_0x25e602[_0x24b111(0x1fb)]=spec,_0x2de951=_0x23abd4[_0x24b111(0x1ce)](collectFiles,_0x25e602);}helper[_0x24b111(0x1e8)]();if(!helper[_0x24b111(0x161)]()){const _0x52384f=0x1,_0x453077={..._0x27b1dc};_0x453077['spec']=[..._0x2de951],_0x1b2f43[_0x24b111(0x18a)]({'mochaOpts':_0x453077,'configuration':{'platform':os[_0x24b111(0x240)]()}}),logger[_0x24b111(0x183)](_0x23abd4['PXRQZ']),logger['info'](_0x23abd4[_0x24b111(0x239)]),_0x23abd4[_0x24b111(0x168)](parallelTestRun,_0x1b2f43,_0x52384f,_0x4d1049)[_0x24b111(0x1a8)](_0x9eabc9=>{const _0x45f014=_0x24b111;_0x23abd4[_0x45f014(0x181)](printStats,_0x9eabc9,_0x438c71[_0x45f014(0x212)],_0x438c71[_0x45f014(0x1aa)]||_0x438c71[_0x23abd4['tZxWh']]);})['finally'](()=>{const _0x19a389=_0x24b111;try{helper[_0x19a389(0x230)](_0x23abd4[_0x19a389(0x169)],{},_0x4d1049[_0x19a389(0x17c)],_0x4d1049[_0x19a389(0x16d)]);}catch(_0x303752){logger['debug']('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x303752);}try{helper[_0x19a389(0x16b)]();}catch(_0x3925ab){logger[_0x19a389(0x1cb)]('Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20'+_0x3925ab);}testOpsHelper['printBuildLink']();});}else{const _0x573aef=helper[_0x24b111(0x1d4)](_0x4d1049['config']),_0x326575=helper[_0x24b111(0x1cc)](_0x4d1049[_0x24b111(0x17c)]);_0x13473e=helper[_0x24b111(0x1db)](_0x4d1049['config'],_0x573aef,constants[_0x24b111(0x20b)][_0x24b111(0x21a)]);let _0x342fd4;const _0x4db075=_0x4d1049[_0x24b111(0x17c)][_0x24b111(0x241)]||helper[_0x24b111(0x1fe)](_0x438c71,_0x58a577,_0x4d1049['config'],constants[_0x24b111(0x20b)][_0x24b111(0x21a)])||0x1;helper['validPlatformsPresent'](_0x4d1049[_0x24b111(0x17c)])?_0x342fd4=_0x23abd4[_0x24b111(0x244)](_0x4d1049[_0x24b111(0x17c)][_0x24b111(0x17f)]['length'],_0x4db075):_0x342fd4=_0x4db075;const _0x65cdc9=_0x23abd4[_0x24b111(0x1ce)](getPercyOptions,_0x4d1049[_0x24b111(0x17c)]);if(_0x23abd4[_0x24b111(0x175)](_0x4d1049['config'][_0x24b111(0x241)],0x1))_0x2de951[_0x24b111(0x23b)](_0x3147cb=>{const _0x2aa6e1=_0x24b111,_0xb2710d=[];_0x13473e[_0x2aa6e1(0x23b)]((_0x4e4086,_0x33cf4c)=>{const _0x5c528b=_0x2aa6e1,_0x3eeb52={};_0x3eeb52['spec']=[_0x3147cb],_0xb2710d[_0x5c528b(0x18a)]({'mochaOpts':Object[_0x5c528b(0x1fc)]({},_0x27b1dc,_0x3eeb52),'configuration':{'server':_0x326575,'capability':_0x4e4086,'proxySettings':_0x4d1049[_0x5c528b(0x17c)][_0x5c528b(0x1bf)],'platform':helper['getPlatformName'](_0x4e4086),'browserStackLogLevel':_0x4d1049[_0x5c528b(0x17c)][_0x5c528b(0x1bc)],'platformIndex':_0x33cf4c,'browserStackPercyOptions':_0x65cdc9,'platformCaps':_0x4d1049[_0x5c528b(0x17c)][_0x5c528b(0x17f)][_0x33cf4c]}});}),_0x1b2f43['push'](..._0xb2710d);});else{const _0x215f5b=[];_0x13473e['forEach']((_0x58bbce,_0x4cdb53)=>{const _0x5af778=_0x24b111;let _0x1c9a14=Object[_0x5af778(0x1fc)]({},_0x27b1dc);testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x5af778(0x1e6)]()&&(_0x1c9a14={..._0x1c9a14,'spec':[..._0x2de951]}),_0x215f5b[_0x5af778(0x18a)]({'mochaOpts':_0x1c9a14,'configuration':{'server':_0x326575,'capability':_0x58bbce,'proxySettings':_0x4d1049[_0x5af778(0x17c)][_0x5af778(0x1bf)],'platform':helper[_0x5af778(0x1b9)](_0x58bbce),'browserStackLogLevel':_0x4d1049[_0x5af778(0x17c)][_0x5af778(0x1bc)],'platformIndex':_0x4cdb53,'browserStackPercyOptions':_0x65cdc9,'platformCaps':_0x4d1049[_0x5af778(0x17c)][_0x5af778(0x17f)][_0x4cdb53]}});}),_0x1b2f43[_0x24b111(0x18a)](..._0x215f5b);}logger[_0x24b111(0x183)](_0x24b111(0x209)+_0x4d1049['config'][_0x24b111(0x17f)][_0x24b111(0x1c8)]+'\x20platforms'),logger[_0x24b111(0x183)](_0x23abd4[_0x24b111(0x239)]);let _0x48258f;_0x23abd4[_0x24b111(0x1e4)](parallelTestRun,_0x1b2f43,_0x342fd4,_0x4d1049)[_0x24b111(0x1a8)](_0x47cbbd=>{const _0x47daa7=_0x24b111;_0x48258f=_0x47cbbd,_0x23abd4['mkkbr'](printStats,_0x47cbbd,_0x438c71[_0x47daa7(0x212)],_0x438c71[_0x47daa7(0x1aa)]||_0x438c71[_0x23abd4['tZxWh']]);})[_0x24b111(0x191)](async()=>{const _0x4785b4=_0x24b111;_0x4d1049['errorMessage']=helper[_0x4785b4(0x1b5)](_0x48258f,_0x23abd4[_0x4785b4(0x21d)]),await helper['finalExecution'](_0x4d1049),testOpsHelper['printBuildLink']();});}}module[a26_0x5b3bf2(0x1b2)]=run;