browserstack-node-sdk 1.34.21 → 1.34.23

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 (129) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/central-scanner/constants.js +1 -0
  101. package/src/helpers/central-scanner/helpers.js +1 -0
  102. package/src/helpers/globals.js +1 -1
  103. package/src/helpers/helper.js +1 -1
  104. package/src/helpers/logger.js +1 -1
  105. package/src/helpers/patchHelper.js +1 -1
  106. package/src/helpers/patchHelpers.js +1 -1
  107. package/src/helpers/percy/Percy.js +1 -1
  108. package/src/helpers/percy/PercyBinary.js +1 -1
  109. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  110. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  111. package/src/helpers/percy/PercySDK.js +1 -1
  112. package/src/helpers/percy/index.js +1 -1
  113. package/src/helpers/percy/utils.js +1 -1
  114. package/src/helpers/performance-tester.js +1 -1
  115. package/src/helpers/request-spy.js +1 -1
  116. package/src/helpers/setKeepAlive.js +1 -1
  117. package/src/helpers/test-observability/constants.js +1 -1
  118. package/src/helpers/test-observability/error-handler.js +1 -1
  119. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  120. package/src/helpers/test-observability/sessionHandler.js +1 -1
  121. package/src/helpers/test-observability/utils.js +1 -1
  122. package/src/helpers/testhub/constants.js +1 -1
  123. package/src/helpers/testhub/testhubHandler.js +1 -1
  124. package/src/helpers/testhub/utils.js +1 -1
  125. package/src/helpers/timeoutPromise.js +1 -1
  126. package/src/helpers/utilities.js +1 -1
  127. package/src/helpers/w3cMapping.js +1 -1
  128. package/src/hubAllocationMethods.js +1 -1
  129. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a23_0x41d0b4=a23_0x279f;function a23_0x3342(){const _0x2ebc20=['1578WuQbZk','5183020zdkphN','uuid','writeFileSync','BROWSERSTACK_TESTHUB_UUID','.browserstack','force','ikkvG','BXQeD','_test','ENV_VAR','stringify','homedir','IISeI','4960219qPGqDk','54532UPiFeT','join','mVYsz','_projectId','existsSync','recursive','73272EyohPl','dhstn','setup','readFileSync','tests','unlinkSync','sBtSP','setTestData','sOLRl','487hvUVcN','rxPgc','29544yNKCLb','removeTestUUID','924WnbhqF','getTestUUID','jest-o11y-','dirPath','getTestRunIdFromTestInfo','toString','setTestUUID','6502hTCXAv','parse','rmSync','getFilePath','411twnsHS','../../../helpers/testhub/constants','vYzBT','.json','27zZRiXg','10520YZiyWc'];a23_0x3342=function(){return _0x2ebc20;};return a23_0x3342();}function a23_0x279f(_0x3b3bed,_0x352192){const _0x334293=a23_0x3342();return a23_0x279f=function(_0x279f6b,_0x1902f5){_0x279f6b=_0x279f6b-0xb4;let _0x5121c9=_0x334293[_0x279f6b];return _0x5121c9;},a23_0x279f(_0x3b3bed,_0x352192);}(function(_0x9e5f6,_0x19288f){const _0x3c1319=a23_0x279f,_0x364d93=_0x9e5f6();while(!![]){try{const _0x1ee923=-parseInt(_0x3c1319(0xdf))/0x1*(parseInt(_0x3c1319(0xb7))/0x2)+-parseInt(_0x3c1319(0xbb))/0x3*(-parseInt(_0x3c1319(0xd0))/0x4)+-parseInt(_0x3c1319(0xc0))/0x5*(-parseInt(_0x3c1319(0xc1))/0x6)+parseInt(_0x3c1319(0xe3))/0x7*(parseInt(_0x3c1319(0xd6))/0x8)+parseInt(_0x3c1319(0xbf))/0x9*(-parseInt(_0x3c1319(0xc2))/0xa)+parseInt(_0x3c1319(0xcf))/0xb+parseInt(_0x3c1319(0xe1))/0xc;if(_0x1ee923===_0x19288f)break;else _0x364d93['push'](_0x364d93['shift']());}catch(_0x36d2a8){_0x364d93['push'](_0x364d93['shift']());}}}(a23_0x3342,0xe6c9d));const fs=require('fs'),path=require('path'),{v4:uuidv4}=require(a23_0x41d0b4(0xc3)),helper=require('../../../helpers/helper'),testHubConstants=require(a23_0x41d0b4(0xbc));class TestDetails{static [a23_0x41d0b4(0xda)]={};static [a23_0x41d0b4(0xe6)]=path[a23_0x41d0b4(0xd1)](helper['homedir'](),a23_0x41d0b4(0xc6),a23_0x41d0b4(0xe5)+process['env'][testHubConstants[a23_0x41d0b4(0xcb)]['BROWSERSTACK_TESTHUB_UUID']]);static[a23_0x41d0b4(0xd8)](){const _0x51de0e=a23_0x41d0b4,_0x19df83={};_0x19df83[_0x51de0e(0xbd)]='.browserstack';const _0x1ae39c=_0x19df83;this[_0x51de0e(0xe6)]=path[_0x51de0e(0xd1)](helper[_0x51de0e(0xcd)](),_0x1ae39c[_0x51de0e(0xbd)],_0x51de0e(0xe5)+process['env'][testHubConstants['ENV_VAR'][_0x51de0e(0xc5)]]),this['shutdown']();const _0x48d92={};_0x48d92[_0x51de0e(0xd5)]=!![],fs['mkdirSync'](this[_0x51de0e(0xe6)],_0x48d92);}static['getFilePath'](_0x37122c){const _0x4ea25e=a23_0x41d0b4,_0x65d404={};_0x65d404[_0x4ea25e(0xce)]=function(_0x379f1d,_0x32e6ba){return _0x379f1d+_0x32e6ba;},_0x65d404['ikkvG']=_0x4ea25e(0xbe);const _0x303a9c=_0x65d404;return path['join'](this[_0x4ea25e(0xe6)],_0x303a9c[_0x4ea25e(0xce)](_0x37122c,_0x303a9c[_0x4ea25e(0xc8)]));}static[a23_0x41d0b4(0xb4)](_0x3f5b8a){const _0x547f31=a23_0x41d0b4,_0x43b206={};_0x43b206[_0x547f31(0xd2)]=function(_0x44bc49,_0x1647ae){return _0x44bc49+_0x1647ae;},_0x43b206['dhstn']=function(_0x1ea3b8,_0x2a6512){return _0x1ea3b8+_0x2a6512;},_0x43b206['BXQeD']=function(_0x54e838,_0x5cbe21){return _0x54e838+_0x5cbe21;};const _0x13d345=_0x43b206;return _0x13d345[_0x547f31(0xd2)](_0x13d345[_0x547f31(0xd7)](_0x13d345[_0x547f31(0xc9)](_0x13d345[_0x547f31(0xd7)](_0x3f5b8a[_0x547f31(0xca)][_0x547f31(0xd3)],'-'),_0x3f5b8a['_test']['id']),'-'),_0x3f5b8a['retry']);}static[a23_0x41d0b4(0xe4)](_0x58422a){const _0x3c30e6=a23_0x41d0b4,_0x29ffba=this[_0x3c30e6(0xba)](_0x58422a);if(fs[_0x3c30e6(0xd4)](_0x29ffba)){const _0x1f78fe=JSON[_0x3c30e6(0xb8)](fs[_0x3c30e6(0xd9)](_0x29ffba)[_0x3c30e6(0xb5)]());return this['tests'][_0x58422a]=_0x1f78fe,this[_0x3c30e6(0xda)][_0x58422a][_0x3c30e6(0xc3)];}}static[a23_0x41d0b4(0xdd)](_0x9982ae){const _0x324251=a23_0x41d0b4,_0x5a157c={};_0x5a157c[_0x324251(0xdc)]='testData.json';const _0x22d184=_0x5a157c,_0x32ce20=path[_0x324251(0xd1)](this[_0x324251(0xe6)],_0x22d184[_0x324251(0xdc)]);fs[_0x324251(0xc4)](_0x32ce20,JSON[_0x324251(0xcc)](_0x9982ae));}static['getTestData'](){const _0x52c9bd=a23_0x41d0b4,_0x1a464d={};_0x1a464d[_0x52c9bd(0xe0)]='testData.json';const _0xca0b4f=_0x1a464d,_0x4ac442=path[_0x52c9bd(0xd1)](this['dirPath'],_0xca0b4f[_0x52c9bd(0xe0)]);let _0x240f79={};try{return fs[_0x52c9bd(0xd4)](_0x4ac442)&&(_0x240f79=JSON[_0x52c9bd(0xb8)](fs['readFileSync'](_0x4ac442)[_0x52c9bd(0xb5)]())),_0x240f79;}catch(_0x2436fe){return _0x240f79;}}static[a23_0x41d0b4(0xb6)](_0x15cf44){const _0x28df68=a23_0x41d0b4,_0x2fef56={'sOLRl':function(_0x20ed53){return _0x20ed53();}},_0x400b94=this['getFilePath'](_0x15cf44);return this['tests'][_0x15cf44]={'uuid':_0x2fef56[_0x28df68(0xde)](uuidv4)},fs[_0x28df68(0xc4)](_0x400b94,JSON[_0x28df68(0xcc)](this[_0x28df68(0xda)][_0x15cf44])),this[_0x28df68(0xda)][_0x15cf44][_0x28df68(0xc3)];}static[a23_0x41d0b4(0xe2)](_0x40b6c2){const _0x67ccb1=a23_0x41d0b4,_0x1e957a=this[_0x67ccb1(0xba)](_0x40b6c2);fs['existsSync'](_0x1e957a)&&fs[_0x67ccb1(0xdb)](_0x1e957a);}static['shutdown'](){const _0x166e7b=a23_0x41d0b4,_0x56338e={};_0x56338e[_0x166e7b(0xd5)]=!![],_0x56338e[_0x166e7b(0xc7)]=!![],fs[_0x166e7b(0xb9)](this[_0x166e7b(0xe6)],_0x56338e);}}module['exports']=TestDetails;
1
+ const a23_0x1da161=a23_0x15ce;function a23_0x2009(){const _0x1cb8e5=['setup','setTestData','toString','171DONYQJ','_test','retry','mtVVw','6aKyzay','homedir','YFQKE','exports','KQzjr','gdggs','force','path','removeTestUUID','parse','../../../helpers/helper','NKDqq','../../../helpers/testhub/constants','jest-o11y-','3287190bXmcBm','.browserstack','stringify','dirPath','mkdirSync','setTestUUID','BROWSERSTACK_TESTHUB_UUID','7381073mTGCej','76416XQfrtF','_projectId','writeFileSync','ENV_VAR','Sojau','6914ibnCvg','existsSync','tests','join','env','shutdown','getTestRunIdFromTestInfo','HJzjv','1023952lRydsI','15141612vbIoxg','18rdNaJq','ZWxAZ','22zKmOOp','getFilePath','testData.json','.json','readFileSync','385PKkbdZ','uuid','3130984IXMMnR','hmMVh'];a23_0x2009=function(){return _0x1cb8e5;};return a23_0x2009();}function a23_0x15ce(_0x30c264,_0x73645b){const _0x2009a5=a23_0x2009();return a23_0x15ce=function(_0x15ce1c,_0x379d8b){_0x15ce1c=_0x15ce1c-0x166;let _0x68ab29=_0x2009a5[_0x15ce1c];return _0x68ab29;},a23_0x15ce(_0x30c264,_0x73645b);}(function(_0x949283,_0x24b41e){const _0x3725da=a23_0x15ce,_0x47e783=_0x949283();while(!![]){try{const _0x4dd70a=parseInt(_0x3725da(0x186))/0x1*(-parseInt(_0x3725da(0x16e))/0x2)+parseInt(_0x3725da(0x18a))/0x3*(parseInt(_0x3725da(0x176))/0x4)+-parseInt(_0x3725da(0x17f))/0x5*(-parseInt(_0x3725da(0x169))/0x6)+parseInt(_0x3725da(0x168))/0x7+parseInt(_0x3725da(0x181))/0x8*(parseInt(_0x3725da(0x178))/0x9)+parseInt(_0x3725da(0x198))/0xa+parseInt(_0x3725da(0x17a))/0xb*(-parseInt(_0x3725da(0x177))/0xc);if(_0x4dd70a===_0x24b41e)break;else _0x47e783['push'](_0x47e783['shift']());}catch(_0x51c4d8){_0x47e783['push'](_0x47e783['shift']());}}}(a23_0x2009,0x84c3b));const fs=require('fs'),path=require(a23_0x1da161(0x191)),{v4:uuidv4}=require(a23_0x1da161(0x180)),helper=require(a23_0x1da161(0x194)),testHubConstants=require(a23_0x1da161(0x196));class TestDetails{static [a23_0x1da161(0x170)]={};static [a23_0x1da161(0x19b)]=path[a23_0x1da161(0x171)](helper[a23_0x1da161(0x18b)](),a23_0x1da161(0x199),'jest-o11y-'+process[a23_0x1da161(0x172)][testHubConstants[a23_0x1da161(0x16c)][a23_0x1da161(0x167)]]);static[a23_0x1da161(0x183)](){const _0x13c000=a23_0x1da161,_0xcabdbb={};_0xcabdbb[_0x13c000(0x18c)]=_0x13c000(0x199);const _0xc6cd2b=_0xcabdbb;this[_0x13c000(0x19b)]=path[_0x13c000(0x171)](helper[_0x13c000(0x18b)](),_0xc6cd2b[_0x13c000(0x18c)],_0x13c000(0x197)+process[_0x13c000(0x172)][testHubConstants[_0x13c000(0x16c)][_0x13c000(0x167)]]),this[_0x13c000(0x173)]();const _0x38c440={};_0x38c440['recursive']=!![],fs[_0x13c000(0x19c)](this[_0x13c000(0x19b)],_0x38c440);}static[a23_0x1da161(0x17b)](_0x29ac9e){const _0xb61df0=a23_0x1da161,_0x5576b4={};_0x5576b4[_0xb61df0(0x18e)]=function(_0x3658e6,_0xbe04fd){return _0x3658e6+_0xbe04fd;},_0x5576b4[_0xb61df0(0x175)]=_0xb61df0(0x17d);const _0x297268=_0x5576b4;return path[_0xb61df0(0x171)](this[_0xb61df0(0x19b)],_0x297268['KQzjr'](_0x29ac9e,_0x297268[_0xb61df0(0x175)]));}static[a23_0x1da161(0x174)](_0x4e3ad2){const _0x42c404=a23_0x1da161,_0x313a1b={};_0x313a1b[_0x42c404(0x179)]=function(_0x47c14a,_0x2310b7){return _0x47c14a+_0x2310b7;},_0x313a1b[_0x42c404(0x195)]=function(_0x57b4ae,_0x1cfe83){return _0x57b4ae+_0x1cfe83;},_0x313a1b['hmMVh']=function(_0x3f21c1,_0x4be4c2){return _0x3f21c1+_0x4be4c2;};const _0x3baa2b=_0x313a1b;return _0x3baa2b[_0x42c404(0x179)](_0x3baa2b[_0x42c404(0x195)](_0x3baa2b[_0x42c404(0x182)](_0x3baa2b[_0x42c404(0x182)](_0x4e3ad2[_0x42c404(0x187)][_0x42c404(0x16a)],'-'),_0x4e3ad2[_0x42c404(0x187)]['id']),'-'),_0x4e3ad2[_0x42c404(0x188)]);}static['getTestUUID'](_0x52810e){const _0x2cf9e8=a23_0x1da161,_0x2a4463=this[_0x2cf9e8(0x17b)](_0x52810e);if(fs[_0x2cf9e8(0x16f)](_0x2a4463)){const _0x73eabd=JSON[_0x2cf9e8(0x193)](fs[_0x2cf9e8(0x17e)](_0x2a4463)[_0x2cf9e8(0x185)]());return this[_0x2cf9e8(0x170)][_0x52810e]=_0x73eabd,this[_0x2cf9e8(0x170)][_0x52810e][_0x2cf9e8(0x180)];}}static[a23_0x1da161(0x184)](_0x3b267b){const _0xd44100=a23_0x1da161,_0x523448={};_0x523448[_0xd44100(0x18f)]=_0xd44100(0x17c);const _0x4b192a=_0x523448,_0x2c9d4d=path['join'](this[_0xd44100(0x19b)],_0x4b192a[_0xd44100(0x18f)]);fs[_0xd44100(0x16b)](_0x2c9d4d,JSON[_0xd44100(0x19a)](_0x3b267b));}static['getTestData'](){const _0x1132ed=a23_0x1da161,_0x52d61d={};_0x52d61d['mtVVw']=_0x1132ed(0x17c);const _0x44056d=_0x52d61d,_0x53e477=path[_0x1132ed(0x171)](this[_0x1132ed(0x19b)],_0x44056d[_0x1132ed(0x189)]);let _0x42a579={};try{return fs[_0x1132ed(0x16f)](_0x53e477)&&(_0x42a579=JSON[_0x1132ed(0x193)](fs[_0x1132ed(0x17e)](_0x53e477)[_0x1132ed(0x185)]())),_0x42a579;}catch(_0x1a87de){return _0x42a579;}}static[a23_0x1da161(0x166)](_0x2d67c4){const _0x525077=a23_0x1da161,_0x58af90={'Sojau':function(_0x12c861){return _0x12c861();}},_0x1e5462=this[_0x525077(0x17b)](_0x2d67c4);return this[_0x525077(0x170)][_0x2d67c4]={'uuid':_0x58af90[_0x525077(0x16d)](uuidv4)},fs[_0x525077(0x16b)](_0x1e5462,JSON[_0x525077(0x19a)](this[_0x525077(0x170)][_0x2d67c4])),this[_0x525077(0x170)][_0x2d67c4][_0x525077(0x180)];}static[a23_0x1da161(0x192)](_0x3f3902){const _0x4f043b=a23_0x1da161,_0x630427=this[_0x4f043b(0x17b)](_0x3f3902);fs['existsSync'](_0x630427)&&fs['unlinkSync'](_0x630427);}static[a23_0x1da161(0x173)](){const _0x2a049c=a23_0x1da161,_0x4a04fa={};_0x4a04fa['recursive']=!![],_0x4a04fa[_0x2a049c(0x190)]=!![],fs['rmSync'](this[_0x2a049c(0x19b)],_0x4a04fa);}}module[a23_0x1da161(0x18d)]=TestDetails;
@@ -1 +1 @@
1
- const a24_0x30d152=a24_0x685e;(function(_0x16d617,_0x4d89f5){const _0x579035=a24_0x685e,_0x539ea8=_0x16d617();while(!![]){try{const _0x3bcc25=-parseInt(_0x579035(0x1d2))/0x1+-parseInt(_0x579035(0x1c9))/0x2*(parseInt(_0x579035(0x1cb))/0x3)+-parseInt(_0x579035(0x1d0))/0x4+-parseInt(_0x579035(0x1cf))/0x5+parseInt(_0x579035(0x1c8))/0x6+-parseInt(_0x579035(0x1cc))/0x7+parseInt(_0x579035(0x1c7))/0x8*(parseInt(_0x579035(0x1ce))/0x9);if(_0x3bcc25===_0x4d89f5)break;else _0x539ea8['push'](_0x539ea8['shift']());}catch(_0x17976b){_0x539ea8['push'](_0x539ea8['shift']());}}}(a24_0x2dab,0xc8a2e));function a24_0x685e(_0x307b77,_0x5ecac1){const _0x2dab87=a24_0x2dab();return a24_0x685e=function(_0x685ec4,_0x5c5a4c){_0x685ec4=_0x685ec4-0x1c7;let _0x28028a=_0x2dab87[_0x685ec4];return _0x28028a;},a24_0x685e(_0x307b77,_0x5ecac1);}const {requireModule}=require(a24_0x30d152(0x1d1));require('../../helpers/setKeepAlive')();const __wd__=requireModule(a24_0x30d152(0x1ca));function a24_0x2dab(){const _0x2a9cba=['8157024llDKKl','599788cyUFEn','selenium-webdriver','3mTfLfn','9417849sklsmh','keys','27ngKrky','4444145lFSGLQ','315588zFWnnN','../../helpers/helper','100364AoeCSb','5801848EsLQSV'];a24_0x2dab=function(){return _0x2a9cba;};return a24_0x2dab();}for(const key of Object[a24_0x30d152(0x1cd)](global['__webdriver'])){__wd__[key]=global['__webdriver'][key];}
1
+ const a24_0x1e3eb0=a24_0x1525;(function(_0x1f39cc,_0x10b8b8){const _0x1f99df=a24_0x1525,_0x99bc57=_0x1f39cc();while(!![]){try{const _0x107b7f=-parseInt(_0x1f99df(0x1b4))/0x1*(-parseInt(_0x1f99df(0x1aa))/0x2)+-parseInt(_0x1f99df(0x1b2))/0x3+-parseInt(_0x1f99df(0x1b0))/0x4*(parseInt(_0x1f99df(0x1a6))/0x5)+parseInt(_0x1f99df(0x1a8))/0x6*(parseInt(_0x1f99df(0x1a5))/0x7)+parseInt(_0x1f99df(0x1ac))/0x8*(parseInt(_0x1f99df(0x1ae))/0x9)+-parseInt(_0x1f99df(0x1b5))/0xa*(parseInt(_0x1f99df(0x1b1))/0xb)+-parseInt(_0x1f99df(0x1b3))/0xc*(parseInt(_0x1f99df(0x1a9))/0xd);if(_0x107b7f===_0x10b8b8)break;else _0x99bc57['push'](_0x99bc57['shift']());}catch(_0x199621){_0x99bc57['push'](_0x99bc57['shift']());}}}(a24_0x531c,0xdd096));function a24_0x1525(_0xdf7798,_0x31173d){const _0x531cbb=a24_0x531c();return a24_0x1525=function(_0x152508,_0x386e13){_0x152508=_0x152508-0x1a5;let _0x10e0f0=_0x531cbb[_0x152508];return _0x10e0f0;},a24_0x1525(_0xdf7798,_0x31173d);}function a24_0x531c(){const _0xaf6c86=['4043cnFDdM','20wfcptX','../../helpers/setKeepAlive','24bXcciu','keys','3585951xGjJTQ','__webdriver','52tFcvuO','22AKkGEd','2017014hrrgTM','9084upypcM','152037YzLJWZ','5035780yAEiDI','173509ATdgNm','16970yFszWf','selenium-webdriver','36DXunFn'];a24_0x531c=function(){return _0xaf6c86;};return a24_0x531c();}const {requireModule}=require('../../helpers/helper');require(a24_0x1e3eb0(0x1ab))();const __wd__=requireModule(a24_0x1e3eb0(0x1a7));for(const key of Object[a24_0x1e3eb0(0x1ad)](global[a24_0x1e3eb0(0x1af)])){__wd__[key]=global['__webdriver'][key];}
@@ -1 +1 @@
1
- function a25_0x13fd(_0x53a2d6,_0x312131){const _0x3cee21=a25_0x3cee();return a25_0x13fd=function(_0x13fd95,_0x485e5c){_0x13fd95=_0x13fd95-0x156;let _0x195f22=_0x3cee21[_0x13fd95];return _0x195f22;},a25_0x13fd(_0x53a2d6,_0x312131);}const a25_0x18f4e8=a25_0x13fd;(function(_0x3663e5,_0x1fe7cc){const _0x5667da=a25_0x13fd,_0x48fbdf=_0x3663e5();while(!![]){try{const _0x14cd15=parseInt(_0x5667da(0x16a))/0x1+parseInt(_0x5667da(0x15a))/0x2+parseInt(_0x5667da(0x175))/0x3*(parseInt(_0x5667da(0x17d))/0x4)+parseInt(_0x5667da(0x172))/0x5*(-parseInt(_0x5667da(0x16b))/0x6)+-parseInt(_0x5667da(0x182))/0x7+-parseInt(_0x5667da(0x158))/0x8*(parseInt(_0x5667da(0x189))/0x9)+parseInt(_0x5667da(0x16c))/0xa*(parseInt(_0x5667da(0x166))/0xb);if(_0x14cd15===_0x1fe7cc)break;else _0x48fbdf['push'](_0x48fbdf['shift']());}catch(_0x3cad9a){_0x48fbdf['push'](_0x48fbdf['shift']());}}}(a25_0x3cee,0x7a89c));const path=require(a25_0x18f4e8(0x164)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x18f4e8(0x16f)),constants=require(a25_0x18f4e8(0x15c)),{isAccessibilityAutomationSession}=require(a25_0x18f4e8(0x17f)),RequestQueueHandler=require(a25_0x18f4e8(0x183)),{isTestObservabilitySession}=require(a25_0x18f4e8(0x15b)),helper=require(a25_0x18f4e8(0x16f)),{commandRepository}=require(a25_0x18f4e8(0x157));function a25_0x3cee(){const _0x1e368b=['2972EenJiG','setConfig','../../helpers/accessibility-automation/helper','setFramework','_accessibilityAutomation','2949534aQvMGP','../../helpers/test-observability/requestQueueHandler','__platformCaps','split','formatter','setupCucumber','testsPassed','13356HamQjy','21|16|17|13|3|10|0|5|22|1|11|23|19|9|18|4|7|12|15|2|14|8|20|6','../../helpers/ai-sdk/autoHealHelper','5240tJzFMF','testsErrorMessage','1663358wrTbvi','../../helpers/test-observability/utils','../utils/constants','testSuitesFailed','capability','CvSUA','_bsConfig','_configuration','testsUndefined','mochaOpts','path','__platform__','49907NFxNkZ','testsPending','testSuites','testsSkipped','427786pTLJoa','186HFTIdp','1370jJIxoU','_argv','AI_ENABLED_FRAMEWORK','../../helpers/helper','XKUTf','_mochaOpts','119815aKKMWG','testsAmbiguous','resolvePaths','3057oCOwEB','testsUnknown','framework','configuration','_formatter','testsFailed','platform','_framework'];a25_0x3cee=function(){return _0x1e368b;};return a25_0x3cee();}class Launcher{constructor(_0x129b83,_0x27aa4a,_0x2f20c4,_0x572f36=[]){const _0x417cb3=a25_0x18f4e8,_0x20e505={'CvSUA':_0x417cb3(0x156),'XKUTf':function(_0x3f6abc){return _0x3f6abc();}},_0x207658=_0x20e505[_0x417cb3(0x15f)][_0x417cb3(0x185)]('|');let _0x239372=0x0;while(!![]){switch(_0x207658[_0x239372++]){case'0':global[_0x417cb3(0x165)]=this[_0x417cb3(0x161)][_0x417cb3(0x17b)];continue;case'1':this['_testObservability']=_0x20e505[_0x417cb3(0x170)](isTestObservabilitySession);continue;case'2':global[_0x417cb3(0x162)]=0x0;continue;case'3':this[_0x417cb3(0x179)]=_0x27aa4a[_0x417cb3(0x186)];continue;case'4':global[_0x417cb3(0x17a)]=0x0;continue;case'5':this[_0x417cb3(0x16d)]=_0x572f36;continue;case'6':!constants[_0x417cb3(0x16e)]['includes'](_0x129b83)&&(commandRepository[_0x417cb3(0x17e)](_0x2f20c4),commandRepository[_0x417cb3(0x180)](_0x129b83));continue;case'7':global[_0x417cb3(0x167)]=0x0;continue;case'8':global[_0x417cb3(0x173)]=0x0;continue;case'9':global['totalTests']=0x0;continue;case'10':this['_capability']=this[_0x417cb3(0x161)][_0x417cb3(0x15e)];continue;case'11':this[_0x417cb3(0x181)]=_0x20e505[_0x417cb3(0x170)](isAccessibilityAutomationSession);continue;case'12':global[_0x417cb3(0x169)]=0x0;continue;case'13':this[_0x417cb3(0x171)]=_0x27aa4a[_0x417cb3(0x163)];continue;case'14':global[_0x417cb3(0x176)]=0x0;continue;case'15':global[_0x417cb3(0x15d)]=0x0;continue;case'16':this[_0x417cb3(0x161)]=_0x27aa4a[_0x417cb3(0x178)]||{};continue;case'17':this[_0x417cb3(0x161)][_0x417cb3(0x177)]=_0x129b83;continue;case'18':global[_0x417cb3(0x188)]=0x0;continue;case'19':global[_0x417cb3(0x168)]=0x0;continue;case'20':global[_0x417cb3(0x159)]={};continue;case'21':this[_0x417cb3(0x17c)]=_0x129b83;continue;case'22':this[_0x417cb3(0x160)]=_0x2f20c4;continue;case'23':global[_0x417cb3(0x184)]=this[_0x417cb3(0x161)]['platformCaps']||{};continue;}break;}}[a25_0x18f4e8(0x187)](_0x42eca8,_0x122ba7,_0x2179f8){const _0x3c35b8=a25_0x18f4e8,_0x12eccc=_0x42eca8[_0x3c35b8(0x174)];_0x42eca8.resolvePaths=async function(){const pathResults=await _0x12eccc.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x2179f8));return pathResults;},_0x122ba7.push('--format'),_0x122ba7.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};if(!helper.isUndefined(this._mochaOpts.mochaRequire)){Object.assign(mochaOpts,{require:[this._mochaOpts.mochaRequire],globalSetup:(await helper.requireOrImport(path.resolve(process.cwd(),this._mochaOpts.mochaRequire))).mochaGlobalSetup,globalTeardown:(await helper.requireOrImport(path.resolve(process.cwd(),this._mochaOpts.mochaRequire))).mochaGlobalTeardown});}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);process.env.BSTACK_CONFIG=JSON.stringify(this._bsConfig);cucumber.run().then(async 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};await RequestQueueHandler.getInstance().shutdown();resolve(_results);}).catch(async er=>{await RequestQueueHandler.getInstance().shutdown();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
+ const a25_0x9c2642=a25_0x4d3e;(function(_0x98c55f,_0x41082f){const _0x456df2=a25_0x4d3e,_0x486118=_0x98c55f();while(!![]){try{const _0x51e2d3=-parseInt(_0x456df2(0xbc))/0x1*(-parseInt(_0x456df2(0xb8))/0x2)+parseInt(_0x456df2(0xb6))/0x3*(-parseInt(_0x456df2(0xc7))/0x4)+parseInt(_0x456df2(0xc9))/0x5+-parseInt(_0x456df2(0xcf))/0x6*(parseInt(_0x456df2(0xb5))/0x7)+parseInt(_0x456df2(0xce))/0x8*(-parseInt(_0x456df2(0xba))/0x9)+-parseInt(_0x456df2(0xc3))/0xa+-parseInt(_0x456df2(0xa5))/0xb;if(_0x51e2d3===_0x41082f)break;else _0x486118['push'](_0x486118['shift']());}catch(_0x382020){_0x486118['push'](_0x486118['shift']());}}}(a25_0x1062,0x4d6a0));function a25_0x4d3e(_0xcb111,_0x94eb6a){const _0x1062eb=a25_0x1062();return a25_0x4d3e=function(_0x4d3e5b,_0x1681df){_0x4d3e5b=_0x4d3e5b-0xa5;let _0x1d5dc7=_0x1062eb[_0x4d3e5b];return _0x1d5dc7;},a25_0x4d3e(_0xcb111,_0x94eb6a);}const path=require(a25_0x9c2642(0xa9)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x9c2642(0xb1)),constants=require(a25_0x9c2642(0xaa)),{isAccessibilityAutomationSession}=require(a25_0x9c2642(0xae)),RequestQueueHandler=require(a25_0x9c2642(0xc5)),{isTestObservabilitySession}=require(a25_0x9c2642(0xaf)),helper=require(a25_0x9c2642(0xb1)),{commandRepository}=require(a25_0x9c2642(0xb4));class Launcher{constructor(_0x11f4bd,_0x217873,_0x2100a0,_0x576f1=[]){const _0xddf689=a25_0x9c2642,_0x29033c={'dRcRJ':_0xddf689(0xa6),'YSuZz':function(_0x22b39c){return _0x22b39c();},'JjCta':function(_0x2f6575){return _0x2f6575();}},_0x43384e=_0x29033c[_0xddf689(0xc0)]['split']('|');let _0x21600a=0x0;while(!![]){switch(_0x43384e[_0x21600a++]){case'0':global[_0xddf689(0xc6)]=0x0;continue;case'1':global[_0xddf689(0xbd)]=0x0;continue;case'2':global[_0xddf689(0xbe)]=0x0;continue;case'3':global[_0xddf689(0xc2)]=0x0;continue;case'4':this[_0xddf689(0xc1)]['framework']=_0x11f4bd;continue;case'5':this['_mochaOpts']=_0x217873[_0xddf689(0xb2)];continue;case'6':global[_0xddf689(0xb7)]=0x0;continue;case'7':this[_0xddf689(0xd2)]=_0x217873[_0xddf689(0xa7)];continue;case'8':global['testsErrorMessage']={};continue;case'9':this[_0xddf689(0xc1)]=_0x217873[_0xddf689(0xd5)]||{};continue;case'10':global[_0xddf689(0xd3)]=0x0;continue;case'11':global[_0xddf689(0xd0)]=0x0;continue;case'12':!constants[_0xddf689(0xb9)][_0xddf689(0xb3)](_0x11f4bd)&&(commandRepository['setConfig'](_0x2100a0),commandRepository['setFramework'](_0x11f4bd));continue;case'13':global[_0xddf689(0xcb)]=0x0;continue;case'14':this[_0xddf689(0xad)]=_0x2100a0;continue;case'15':global[_0xddf689(0xc4)]=0x0;continue;case'16':this[_0xddf689(0xab)]=_0x29033c['YSuZz'](isAccessibilityAutomationSession);continue;case'17':global[_0xddf689(0xcc)]=this[_0xddf689(0xc1)][_0xddf689(0xbb)]||{};continue;case'18':this['_framework']=_0x11f4bd;continue;case'19':global[_0xddf689(0xa8)]=0x0;continue;case'20':this[_0xddf689(0xcd)]=_0x576f1;continue;case'21':global[_0xddf689(0xca)]=this[_0xddf689(0xc1)][_0xddf689(0xb0)];continue;case'22':this[_0xddf689(0xd4)]=this[_0xddf689(0xc1)][_0xddf689(0xc8)];continue;case'23':this[_0xddf689(0xbf)]=_0x29033c[_0xddf689(0xd1)](isTestObservabilitySession);continue;}break;}}['setupCucumber'](_0x312805,_0x3a2b20,_0x1abbe7){const _0x1251ea=a25_0x9c2642,_0x6e8a67=_0x312805[_0x1251ea(0xac)];_0x312805.resolvePaths=async function(){const pathResults=await _0x6e8a67.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x1abbe7));return pathResults;},_0x3a2b20.push('--format'),_0x3a2b20.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};if(!helper.isUndefined(this._mochaOpts.mochaRequire)){Object.assign(mochaOpts,{require:[this._mochaOpts.mochaRequire],globalSetup:(await helper.requireOrImport(path.resolve(process.cwd(),this._mochaOpts.mochaRequire))).mochaGlobalSetup,globalTeardown:(await helper.requireOrImport(path.resolve(process.cwd(),this._mochaOpts.mochaRequire))).mochaGlobalTeardown});}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);process.env.BSTACK_CONFIG=JSON.stringify(this._bsConfig);cucumber.run().then(async 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};await RequestQueueHandler.getInstance().shutdown();resolve(_results);}).catch(async er=>{await RequestQueueHandler.getInstance().shutdown();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();}});}}function a25_0x1062(){const _0x3441b9=['2685510BORgbF','testsUnknown','../../helpers/test-observability/requestQueueHandler','testsUndefined','99844BfpVyO','capability','2992735sZpZkR','__platform__','testsAmbiguous','__platformCaps','_argv','24LmaBQt','666906eMrSaE','testsPassed','JjCta','_formatter','testSuites','_capability','configuration','1628869ANVzsx','18|9|4|5|7|22|21|20|14|23|16|17|10|2|11|3|1|19|6|0|15|13|8|12','formatter','testsSkipped','path','../utils/constants','_accessibilityAutomation','resolvePaths','_bsConfig','../../helpers/accessibility-automation/helper','../../helpers/test-observability/utils','platform','../../helpers/helper','mochaOpts','includes','../../helpers/ai-sdk/autoHealHelper','21XnnhZy','3dJsZDZ','testSuitesFailed','62JasulI','AI_ENABLED_FRAMEWORK','51606BqCVIS','platformCaps','16477DWZWqf','testsPending','totalTests','_testObservability','dRcRJ','_configuration','testsFailed'];a25_0x1062=function(){return _0x3441b9;};return a25_0x1062();}module.exports=Launcher;
@@ -1 +1 @@
1
- function a26_0x20ee(_0x137f60,_0x15ce6a){const _0x49a396=a26_0x49a3();return a26_0x20ee=function(_0x20ee30,_0x70ea2c){_0x20ee30=_0x20ee30-0x14b;let _0x5989ab=_0x49a396[_0x20ee30];return _0x5989ab;},a26_0x20ee(_0x137f60,_0x15ce6a);}const a26_0x579cb1=a26_0x20ee;function a26_0x49a3(){const _0x3a2d00=['get','rejEc','toLowerCase','accessibilityOptions','capability','WAVKz','capabilities_','chromeOptions','bstack:options','getCapabilities','180852wRHbDp','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','format','wdSzl','browserVersion','parse','isUndefined','device','xLBza','requireModule','../../../helpers/globals','util','options_','hUuRD','yBtLd','cOfDg','228pAgpcD','__cloud_provider___','565050JYEPzx','getPlatform','2387EqVxcp','519845TLhbGT','lFkDD','dAwVJ','2124414fjhbGO','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','AFZYI','browser_version','deviceName','Options','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','authToken','OWeRl','isAccessibilityPlatform','hVZkL','10qDKceU','winstonLogger','Psmnq','nsEOX','hfmKa','RBgCz','61869JrbDPm','warn','setExtension','tegTo','env','Exception\x20in\x20setExtension\x20Error:\x20','includes','chromeOptions_','nestedKeyValue','setAccessibilityCapabilities','scannerVersion','browserstack.accessibilityOptions','../../../helpers/helper','accessibility','browserstack.accessibility','4TXNuMV','getPlatformVersion','getBrowserVersion','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','getBrowserName','TYyem','browserName','debug','selenium-webdriver/chrome.js','101152ctfFWH','jhISb','GbXmt','browserstack','NKrth','gOuCY','BS_A11Y_JWT'];a26_0x49a3=function(){return _0x3a2d00;};return a26_0x49a3();}(function(_0x4d3964,_0x3cc15d){const _0x3196b9=a26_0x20ee,_0x238e49=_0x4d3964();while(!![]){try{const _0x9e5989=-parseInt(_0x3196b9(0x17a))/0x1*(parseInt(_0x3196b9(0x176))/0x2)+parseInt(_0x3196b9(0x18f))/0x3*(parseInt(_0x3196b9(0x14c))/0x4)+parseInt(_0x3196b9(0x17b))/0x5+parseInt(_0x3196b9(0x178))/0x6+-parseInt(_0x3196b9(0x166))/0x7+-parseInt(_0x3196b9(0x155))/0x8+-parseInt(_0x3196b9(0x17e))/0x9*(-parseInt(_0x3196b9(0x189))/0xa);if(_0x9e5989===_0x3cc15d)break;else _0x238e49['push'](_0x238e49['shift']());}catch(_0x43884f){_0x238e49['push'](_0x238e49['shift']());}}}(a26_0x49a3,0x23357));const path=require('path'),os=require('os'),util=require(a26_0x579cb1(0x171)),bsSetupHelper=require(a26_0x579cb1(0x19b)),globals=require(a26_0x579cb1(0x170)),logger=require('../../../helpers/logger')[a26_0x579cb1(0x18a)];exports[a26_0x579cb1(0x198)]=_0x3b7a88=>{const _0x4eec0a=a26_0x579cb1,_0x57b29d={};_0x57b29d[_0x4eec0a(0x188)]=_0x4eec0a(0x164),_0x57b29d[_0x4eec0a(0x173)]=_0x4eec0a(0x14b),_0x57b29d[_0x4eec0a(0x18e)]=_0x4eec0a(0x187),_0x57b29d[_0x4eec0a(0x18b)]=_0x4eec0a(0x19a);const _0x177cf1=_0x57b29d;try{const _0x32268a=_0x3b7a88[_0x4eec0a(0x160)]||{};if(_0x32268a[_0x177cf1[_0x4eec0a(0x188)]]&&_0x32268a[_0x177cf1[_0x4eec0a(0x188)]][_0x4eec0a(0x19c)]||_0x3b7a88[_0x4eec0a(0x160)][_0x177cf1['hUuRD']]){globals['setGlobal'](_0x177cf1['RBgCz'],!![]);if(_0x32268a[_0x177cf1[_0x4eec0a(0x188)]]){if(_0x32268a[_0x177cf1[_0x4eec0a(0x188)]][_0x4eec0a(0x15f)])_0x32268a[_0x177cf1['hVZkL']]['accessibilityOptions'][_0x4eec0a(0x185)]=process[_0x4eec0a(0x193)]['BS_A11Y_JWT'];else{const _0x2ca9ff={};_0x2ca9ff['authToken']=process[_0x4eec0a(0x193)][_0x4eec0a(0x15b)],_0x32268a[_0x177cf1[_0x4eec0a(0x188)]][_0x4eec0a(0x15f)]=_0x2ca9ff;}_0x32268a[_0x177cf1[_0x4eec0a(0x188)]][_0x4eec0a(0x15f)][_0x4eec0a(0x199)]=JSON[_0x4eec0a(0x16b)](process[_0x4eec0a(0x193)][_0x4eec0a(0x167)])['scannerVersion'];}else{if(_0x3b7a88[_0x4eec0a(0x160)][_0x177cf1['hUuRD']]){if(_0x32268a[_0x177cf1[_0x4eec0a(0x18b)]])_0x32268a[_0x177cf1[_0x4eec0a(0x18b)]][_0x4eec0a(0x185)]=process[_0x4eec0a(0x193)]['BS_A11Y_JWT'];else{const _0x56a183={};_0x56a183['authToken']=process[_0x4eec0a(0x193)][_0x4eec0a(0x15b)],_0x32268a[_0x177cf1[_0x4eec0a(0x18b)]]=_0x56a183;}_0x32268a[_0x177cf1[_0x4eec0a(0x18b)]][_0x4eec0a(0x199)]=JSON[_0x4eec0a(0x16b)](process[_0x4eec0a(0x193)][_0x4eec0a(0x167)])[_0x4eec0a(0x199)];}}}}catch(_0x20868a){logger[_0x4eec0a(0x153)](_0x4eec0a(0x184)+_0x20868a);}},exports[a26_0x579cb1(0x191)]=(_0x54f390,_0x5ebc2b)=>{const _0x113b6c=a26_0x579cb1,_0xd310e2={};_0xd310e2['AFZYI']=_0x113b6c(0x164),_0xd310e2[_0x113b6c(0x18d)]=function(_0x482294,_0x12160f){return _0x482294!==_0x12160f;},_0xd310e2[_0x113b6c(0x17c)]=_0x113b6c(0x17f),_0xd310e2[_0x113b6c(0x186)]=function(_0x5973d9,_0x2237d7){return _0x5973d9!==_0x2237d7;},_0xd310e2[_0x113b6c(0x18c)]='chrome',_0xd310e2[_0x113b6c(0x17d)]=_0x113b6c(0x14f),_0xd310e2[_0x113b6c(0x15d)]=function(_0x2dd7c0,_0x573e9b){return _0x2dd7c0===_0x573e9b;},_0xd310e2[_0x113b6c(0x157)]='latest',_0xd310e2[_0x113b6c(0x156)]=function(_0x3b1068,_0x332c97){return _0x3b1068>_0x332c97;},_0xd310e2[_0x113b6c(0x174)]='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.',_0xd310e2[_0x113b6c(0x15a)]=_0x113b6c(0x154),_0xd310e2[_0x113b6c(0x159)]=_0x113b6c(0x172),_0xd310e2['WAVKz']='args',_0xd310e2[_0x113b6c(0x151)]=_0x113b6c(0x163),_0xd310e2[_0x113b6c(0x16e)]='--headless',_0xd310e2[_0x113b6c(0x192)]='Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.';const _0x2f2496=_0xd310e2;try{const _0x6c7446=_0x5ebc2b[_0x113b6c(0x160)]||{},_0x2376ac=(_0x6c7446[_0x2f2496['AFZYI']]?_0x6c7446[_0x2f2496['AFZYI']][_0x113b6c(0x182)]:_0x6c7446[_0x113b6c(0x16d)])||'';if(_0x2f2496['hfmKa'](_0x2376ac,''))return logger['warn'](_0x2f2496[_0x113b6c(0x17c)]),![];const _0x4f98a0=_0x6c7446[_0x113b6c(0x152)]||_0x54f390[_0x113b6c(0x162)][_0x113b6c(0x150)]();if(_0x2f2496[_0x113b6c(0x186)](_0x4f98a0[_0x113b6c(0x15e)](),_0x2f2496[_0x113b6c(0x18c)]))return logger[_0x113b6c(0x190)](_0x2f2496[_0x113b6c(0x17d)]),![];const _0x4ddaaa=_0x6c7446[_0x113b6c(0x16a)]||_0x6c7446[_0x113b6c(0x181)]||_0x54f390[_0x113b6c(0x162)][_0x113b6c(0x14e)]();if(!bsSetupHelper[_0x113b6c(0x16c)](_0x4ddaaa)&&!(_0x2f2496[_0x113b6c(0x15d)](_0x4ddaaa,_0x2f2496[_0x113b6c(0x157)])||_0x2f2496[_0x113b6c(0x156)](_0x4ddaaa,0x5e)))return logger['warn'](_0x2f2496[_0x113b6c(0x174)]),![];let _0x5494a7;try{_0x5494a7=bsSetupHelper[_0x113b6c(0x16f)](_0x2f2496[_0x113b6c(0x15a)]);}catch(_0xa4ed2a){return![];}const _0x3a156e=new _0x5494a7[(_0x113b6c(0x183))](_0x54f390[_0x113b6c(0x196)]),_0x33fb40=bsSetupHelper['nestedKeyValue'](_0x3a156e,[_0x2f2496[_0x113b6c(0x159)],_0x2f2496[_0x113b6c(0x161)]])||bsSetupHelper[_0x113b6c(0x197)](_0x54f390['capabilities_']['get'](_0x2f2496[_0x113b6c(0x180)]),[_0x2f2496[_0x113b6c(0x151)],_0x2f2496[_0x113b6c(0x161)]])||bsSetupHelper['nestedKeyValue'](_0x54f390[_0x113b6c(0x162)][_0x113b6c(0x15c)](_0x2f2496['TYyem']),[_0x2f2496[_0x113b6c(0x161)]])||[];if(_0x33fb40[_0x113b6c(0x195)](_0x2f2496[_0x113b6c(0x16e)]))return logger[_0x113b6c(0x190)](_0x2f2496['tegTo']),![];return!![];}catch(_0x8b17f5){logger[_0x113b6c(0x153)](_0x113b6c(0x194)+util[_0x113b6c(0x168)](_0x8b17f5));}return![];},exports['fetchPlatformDetails']=async _0x2fb982=>{const _0x1d2b20=a26_0x579cb1,_0x139c01={};_0x139c01[_0x1d2b20(0x169)]=function(_0x15f013,_0x2831d2){return _0x15f013===_0x2831d2;},_0x139c01[_0x1d2b20(0x175)]=_0x1d2b20(0x158);const _0x54bae5=_0x139c01;let _0x5978c9={};try{const _0x1790ce=await _0x2fb982[_0x1d2b20(0x165)]();_0x5978c9={'os_name':_0x1790ce[_0x1d2b20(0x179)](),'os_version':bsSetupHelper[_0x1d2b20(0x14d)](_0x54bae5[_0x1d2b20(0x169)](global[_0x1d2b20(0x177)],_0x54bae5[_0x1d2b20(0x175)])),'browser_name':_0x1790ce[_0x1d2b20(0x150)](),'browser_version':_0x1790ce['getBrowserVersion']()};}catch(_0x5697ab){logger['debug']('Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20'+_0x5697ab);}return _0x5978c9;};
1
+ const a26_0x10abf6=a26_0x2a10;(function(_0x28f1fd,_0x57bfd6){const _0x2868bc=a26_0x2a10,_0x481616=_0x28f1fd();while(!![]){try{const _0x51fc62=parseInt(_0x2868bc(0xf9))/0x1*(parseInt(_0x2868bc(0x111))/0x2)+parseInt(_0x2868bc(0xf4))/0x3*(-parseInt(_0x2868bc(0x102))/0x4)+-parseInt(_0x2868bc(0x104))/0x5+parseInt(_0x2868bc(0x12d))/0x6*(-parseInt(_0x2868bc(0xe8))/0x7)+parseInt(_0x2868bc(0xe9))/0x8*(-parseInt(_0x2868bc(0x113))/0x9)+parseInt(_0x2868bc(0xf1))/0xa+-parseInt(_0x2868bc(0x10e))/0xb*(-parseInt(_0x2868bc(0x10d))/0xc);if(_0x51fc62===_0x57bfd6)break;else _0x481616['push'](_0x481616['shift']());}catch(_0x58410e){_0x481616['push'](_0x481616['shift']());}}}(a26_0x13a9,0x51a77));function a26_0x2a10(_0x2ff840,_0x3883fc){const _0x13a9ee=a26_0x13a9();return a26_0x2a10=function(_0x2a10fe,_0x5816fe){_0x2a10fe=_0x2a10fe-0xe1;let _0x2940f8=_0x13a9ee[_0x2a10fe];return _0x2940f8;},a26_0x2a10(_0x2ff840,_0x3883fc);}const path=require(a26_0x10abf6(0x125)),os=require('os'),util=require('util'),bsSetupHelper=require(a26_0x10abf6(0xf7)),globals=require(a26_0x10abf6(0x10b)),logger=require('../../../helpers/logger')[a26_0x10abf6(0xf5)];exports[a26_0x10abf6(0x116)]=_0x37e787=>{const _0x2bc5a4=a26_0x10abf6,_0x56d69c={};_0x56d69c[_0x2bc5a4(0x103)]='bstack:options',_0x56d69c[_0x2bc5a4(0x126)]=_0x2bc5a4(0x12e),_0x56d69c[_0x2bc5a4(0x11c)]=_0x2bc5a4(0x131),_0x56d69c[_0x2bc5a4(0x12a)]=_0x2bc5a4(0x128);const _0x51db1a=_0x56d69c;try{const _0x921d21=_0x37e787[_0x2bc5a4(0x12b)]||{};if(_0x921d21[_0x51db1a[_0x2bc5a4(0x103)]]&&_0x921d21[_0x51db1a[_0x2bc5a4(0x103)]]['accessibility']||_0x37e787[_0x2bc5a4(0x12b)][_0x51db1a[_0x2bc5a4(0x126)]]){globals['setGlobal'](_0x51db1a['Wopwq'],!![]);if(_0x921d21[_0x51db1a[_0x2bc5a4(0x103)]]){if(_0x921d21[_0x51db1a['EVpsz']]['accessibilityOptions'])_0x921d21[_0x51db1a['EVpsz']]['accessibilityOptions'][_0x2bc5a4(0xe5)]=process[_0x2bc5a4(0x120)][_0x2bc5a4(0x110)];else{const _0xa90628={};_0xa90628[_0x2bc5a4(0xe5)]=process['env']['BS_A11Y_JWT'],_0x921d21[_0x51db1a['EVpsz']][_0x2bc5a4(0x117)]=_0xa90628;}_0x921d21[_0x51db1a[_0x2bc5a4(0x103)]][_0x2bc5a4(0x117)][_0x2bc5a4(0x124)]=JSON['parse'](process[_0x2bc5a4(0x120)][_0x2bc5a4(0xf8)])[_0x2bc5a4(0x124)];}else{if(_0x37e787['capability'][_0x51db1a[_0x2bc5a4(0x126)]]){if(_0x921d21[_0x51db1a[_0x2bc5a4(0x12a)]])_0x921d21[_0x51db1a[_0x2bc5a4(0x12a)]][_0x2bc5a4(0xe5)]=process[_0x2bc5a4(0x120)][_0x2bc5a4(0x110)];else{const _0x5c05b8={};_0x5c05b8[_0x2bc5a4(0xe5)]=process[_0x2bc5a4(0x120)][_0x2bc5a4(0x110)],_0x921d21[_0x51db1a[_0x2bc5a4(0x12a)]]=_0x5c05b8;}_0x921d21[_0x51db1a[_0x2bc5a4(0x12a)]]['scannerVersion']=JSON['parse'](process[_0x2bc5a4(0x120)][_0x2bc5a4(0xf8)])[_0x2bc5a4(0x124)];}}}}catch(_0x2e06da){logger['debug'](_0x2bc5a4(0x123)+_0x2e06da);}},exports[a26_0x10abf6(0x12c)]=(_0x384a41,_0x5ce114)=>{const _0x482666=a26_0x10abf6,_0x5a836a={};_0x5a836a[_0x482666(0xe6)]=_0x482666(0xf6),_0x5a836a['dzsMu']=function(_0x2fae9b,_0x2c0a4a){return _0x2fae9b!==_0x2c0a4a;},_0x5a836a['nKFpk']='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.',_0x5a836a['ohkHs']=function(_0x43932a,_0x14c023){return _0x43932a!==_0x14c023;},_0x5a836a['lFdQI']=_0x482666(0x133),_0x5a836a[_0x482666(0x132)]=_0x482666(0x11b),_0x5a836a['nZGmc']=function(_0x5760cf,_0x136e81){return _0x5760cf===_0x136e81;},_0x5a836a[_0x482666(0x129)]=_0x482666(0x101),_0x5a836a[_0x482666(0x106)]=function(_0x23abcb,_0x40c682){return _0x23abcb>_0x40c682;},_0x5a836a['zOhXd']=_0x482666(0xe1),_0x5a836a[_0x482666(0x112)]=_0x482666(0x11e),_0x5a836a[_0x482666(0xff)]=_0x482666(0x11d),_0x5a836a[_0x482666(0x107)]=_0x482666(0xea),_0x5a836a[_0x482666(0x105)]=_0x482666(0x118),_0x5a836a[_0x482666(0xfa)]='chromeOptions',_0x5a836a[_0x482666(0xfc)]=_0x482666(0x130),_0x5a836a[_0x482666(0x100)]=_0x482666(0x121);const _0x21e596=_0x5a836a;try{const _0x5c3942=_0x5ce114[_0x482666(0x12b)]||{},_0x22e5fc=(_0x5c3942[_0x21e596[_0x482666(0xe6)]]?_0x5c3942[_0x21e596[_0x482666(0xe6)]]['deviceName']:_0x5c3942[_0x482666(0x12f)])||'';if(_0x21e596[_0x482666(0x11f)](_0x22e5fc,''))return logger[_0x482666(0xfe)](_0x21e596[_0x482666(0xf0)]),![];const _0x6f6797=_0x5c3942[_0x482666(0xf2)]||_0x384a41[_0x482666(0x122)][_0x482666(0x11a)]();if(_0x21e596[_0x482666(0xfd)](_0x6f6797[_0x482666(0xf3)](),_0x21e596['lFdQI']))return logger[_0x482666(0xfe)](_0x21e596['NuNmA']),![];const _0x33332b=_0x5c3942[_0x482666(0xe2)]||_0x5c3942['browser_version']||_0x384a41['capabilities_'][_0x482666(0xef)]();if(!bsSetupHelper[_0x482666(0xee)](_0x33332b)&&!(_0x21e596[_0x482666(0xed)](_0x33332b,_0x21e596[_0x482666(0x129)])||_0x21e596[_0x482666(0x106)](_0x33332b,0x5e)))return logger[_0x482666(0xfe)](_0x21e596[_0x482666(0x109)]),![];let _0x3f3b59;try{_0x3f3b59=bsSetupHelper[_0x482666(0x10a)](_0x21e596['vfOvS'],_0x21e596[_0x482666(0xff)]);}catch(_0x52e143){return![];}const _0x332a2b=new _0x3f3b59[(_0x482666(0xeb))](_0x384a41[_0x482666(0x114)]),_0x47f741=bsSetupHelper['nestedKeyValue'](_0x332a2b,[_0x21e596['ucmnu'],_0x21e596[_0x482666(0x105)]])||bsSetupHelper['nestedKeyValue'](_0x384a41['capabilities_']['get'](_0x21e596[_0x482666(0xe6)]),[_0x21e596[_0x482666(0xfa)],_0x21e596[_0x482666(0x105)]])||bsSetupHelper[_0x482666(0x10f)](_0x384a41[_0x482666(0x122)][_0x482666(0x108)](_0x21e596['RYMqQ']),[_0x21e596['XeKKw']])||[];if(_0x47f741['includes'](_0x21e596[_0x482666(0xfc)]))return logger[_0x482666(0xfe)](_0x21e596['NpKaQ']),![];return!![];}catch(_0x1504e3){logger[_0x482666(0x10c)]('Exception\x20in\x20setExtension\x20Error:\x20'+util[_0x482666(0x119)](_0x1504e3));}return![];},exports[a26_0x10abf6(0x127)]=async _0x356da9=>{const _0x41b5f4=a26_0x10abf6,_0x7eb629={};_0x7eb629['HzaZo']=function(_0x236a8e,_0x4cb6f1){return _0x236a8e===_0x4cb6f1;},_0x7eb629[_0x41b5f4(0xe3)]=_0x41b5f4(0xe7);const _0x2e0fc2=_0x7eb629;let _0x594e2e={};try{const _0x4ce130=await _0x356da9['getCapabilities']();_0x594e2e={'os_name':_0x4ce130[_0x41b5f4(0xec)](),'os_version':bsSetupHelper['getPlatformVersion'](_0x2e0fc2[_0x41b5f4(0xfb)](global[_0x41b5f4(0x115)],_0x2e0fc2['LjFVs'])),'browser_name':_0x4ce130[_0x41b5f4(0x11a)](),'browser_version':_0x4ce130[_0x41b5f4(0xef)]()};}catch(_0x216f07){logger[_0x41b5f4(0x10c)](_0x41b5f4(0xe4)+_0x216f07);}return _0x594e2e;};function a26_0x13a9(){const _0x22b84e=['nestedKeyValue','BS_A11Y_JWT','38cvydum','vfOvS','297mUnTUc','chromeOptions_','__cloud_provider___','setAccessibilityCapabilities','accessibilityOptions','args','format','getBrowserName','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','Wopwq','selenium-webdriver','selenium-webdriver/chrome.js','dzsMu','env','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','capabilities_','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','scannerVersion','path','MOWSZ','fetchPlatformDetails','browserstack.accessibilityOptions','WoeDO','VMUFa','capability','setExtension','296328ChbhxY','browserstack.accessibility','device','--headless','isAccessibilityPlatform','NuNmA','chrome','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','browserVersion','LjFVs','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','authToken','cMnwk','browserstack','28fGwpBb','112088rFXvwr','options_','Options','getPlatform','nZGmc','isUndefined','getBrowserVersion','nKFpk','6240010LrZWVu','browserName','toLowerCase','129hqvowQ','winstonLogger','bstack:options','../../../helpers/helper','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','32275MLZVST','RYMqQ','HzaZo','nVVhy','ohkHs','warn','atshi','NpKaQ','latest','56284YLijlm','EVpsz','2523785iSwvuO','XeKKw','IStXC','ucmnu','get','zOhXd','requireModule','../../../helpers/globals','debug','24VFZVDJ','4768247sDYNXT'];a26_0x13a9=function(){return _0x22b84e;};return a26_0x13a9();}
@@ -1 +1 @@
1
- 'use strict';function a27_0x29db(_0x3b789c,_0x3cd461){const _0x568a0b=a27_0x568a();return a27_0x29db=function(_0x29dbf7,_0x1c7e5d){_0x29dbf7=_0x29dbf7-0x121;let _0x535711=_0x568a0b[_0x29dbf7];return _0x535711;},a27_0x29db(_0x3b789c,_0x3cd461);}const a27_0x26e03f=a27_0x29db;(function(_0x3ffbf9,_0x4075c6){const _0x569c48=a27_0x29db,_0x29e303=_0x3ffbf9();while(!![]){try{const _0x40ede4=-parseInt(_0x569c48(0x133))/0x1*(-parseInt(_0x569c48(0x12c))/0x2)+-parseInt(_0x569c48(0x206))/0x3+parseInt(_0x569c48(0x239))/0x4+parseInt(_0x569c48(0x181))/0x5+-parseInt(_0x569c48(0x22d))/0x6+parseInt(_0x569c48(0x19e))/0x7*(parseInt(_0x569c48(0x1e2))/0x8)+parseInt(_0x569c48(0x166))/0x9*(parseInt(_0x569c48(0x1c8))/0xa);if(_0x40ede4===_0x4075c6)break;else _0x29e303['push'](_0x29e303['shift']());}catch(_0x16112d){_0x29e303['push'](_0x29e303['shift']());}}}(a27_0x568a,0x56e20));function a27_0x568a(){const _0x4a15b4=['tvgFG','fHgfM','aAtEG','.git','pass','YCKAx','TcPgl','failure_backtrace','bobUM','WqoZL','duration','HgmDI','isPending','test_run_uuid','prototype','escape','pbYve','passed','nveqa','uploadEventData','name','doc','suites','QAnTg','MWEGh','AGTVP','event_type','qWFTr','testStarted','util','banDu','VkGtb','MYXsH','InMBm','call','now','mocha/lib/reporters/','push','analyticsResult','results','QiiId','</h1>','AFTER_EACH','ATaqc','sendTestRunEvent','root','shouldProcessEventForTesthub','state','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','fullTitle','27RNfesm','nvAcb','increaseIndent','failure_reason_expanded','appendTestItemLog','../../../helpers/testhub/constants','KUChl','../../../helpers/helper','BlsSu','EJjiz','dirname','AMSit','nehEu','oZVmH','currentRetry','docAppend','EVENT','ChANo','wFNnA','KAXzM','started_at','testAnalyticsId','nnnEi','ctx','path','once','suiteCount','2028460XOnSUJ','GfcbC','%s\x20','../../../helpers/testhub/utils','__platform__','bgIqM','toISOString','HookFinished','_testEnv','AFTER_ALL','XZRZf','after\x20all','\x20\x20<dd><pre><code>','\x20-\x20','_currentRetry','aaVUw','YMtSP','bs:addLog:','hooks','multiple','OYnvB','apply','inspect','HookRunStarted','consoleLog','failure','match','appendTestPlatform','parent','1281ZuYmlZ','location_prefix','includes','_upstreamConfig','_indents','green','dot','jVwrJ','hook_type','Failed\x20to\x20load\x20reporter\x20','checkmark','CIBhD','dNAPm','bsConfig','skipped','config','mVbfi','indent','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','jjgYO','\x20\x20<dt\x20class=\x22error\x22>','failureCount','aIuQH','<dl>','bQWZh','tWtcg','docHtml','result','KFBHt','removeAllListeners','ieDyD','join','CgUMr','javascript','write','HookRunFinished','HxYxg','QKzfV','bang','Runner','reporterOption','mocha','121850YNvHuv','pid','awLCS','rPdnR','getTime','integrations','shutdown','expanded','registerListeners','VNpsW','soYwd','QZQWh','spec','hook_run_uuid','retryOf','vpLYI','</dl>','Mocha','FnZyj','ToSCa','color','before\x20each','FRvWt','../test-observability/mochaUtils','YdNnV','KQCJD','9040yUwUHR','TnLzr','kbGxL','getRootParentFile','YXeav','relative','current_hook','jgmhe','CBTSessionCreated','slice','decreaseIndent','suite','scope','MtGFA','mocha/lib/utils.js','_paths','currentTest','RMrEj','IzKNB','cXHgE','WMKrR','rLAPM','nsUcv','ZKMAp','bind','getInstance','constants','clean','TFoXA','length','BEFORE_EACH','yhjEt','bwgLD','ReJuM','hookAnalyticsId','prefixTestPath','1356630kpSQAv','oIspA','testObservability','wXXzD','title','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','File\x20path\x20could\x20not\x20be\x20found','qbSLt','iihEx','</section>','symbols','gBbAh','\x20%s','current_test','http_response','failCount','DZngE','mWUIw','failed','pHUUl','../../../helpers/test-observability/utils','ihavw','\x20with\x20error\x20:\x20','mocha/lib/runnable.js','err','pending','jyQNT','slow','qaGSV','__indents','PebFq','\x20(%dms)','KxpNP','type','MOCHA','TestRunFinished','lSnjd','bs:addPlatformDetails:','OEAME','366852IglMps','backtrace','pKafS','VeuQV','RUNNING','zAgFs','test_run','HookStarted','bright\x20yellow','mhPvY','xmPHT','titlePath','600500MZbPoR','markedStatus','finished_at','MHyHP','xDMIV','runner','kdGDH','AssertionError','Zyfrs','TestRunStarted','../../../helpers/test-observability/constants','body','TestRunSkipped','</dt>','CnyQZ','OzVvw','stdout','scopes','LogCreated','</code></pre></dd>','YhMqW','LFLiL','file','exports','forEach','<h1>','_testResults','YXbrP','WbAVy','speed','cfrDA','after\x20each','toString','findGitConfig','PjGcA','statSync','Reporter','comma','setCurrentTestData','cwkgI','70062PMDdkB','../../../helpers/test-observability/requestQueueHandler','abCzx','mocha/lib/reporters/base.js','reporterOptions','Gbmfp','finalResults','2ZumSWS'];a27_0x568a=function(){return _0x4a15b4;};return a27_0x568a();}const util=require(a27_0x26e03f(0x151)),fs=require('fs'),path=require(a27_0x26e03f(0x17e)),{requireModule}=require('../../../helpers/helper'),Base=requireModule(a27_0x26e03f(0x12f)),utils=requireModule(a27_0x26e03f(0x1f0)),color=Base[a27_0x26e03f(0x1dc)],Mocha=requireModule(a27_0x26e03f(0x1c7)),Runnable=requireModule(a27_0x26e03f(0x21d)),{v4:uuidv4}=require('uuid'),bsSetupHelper=require(a27_0x26e03f(0x16d)),testhubUtils=require(a27_0x26e03f(0x184)),testHubConstants=require(a27_0x26e03f(0x16b)),{FRAMEWORKS}=require(a27_0x26e03f(0x243)),a27_0x29d16b={};a27_0x29d16b['before\x20all']='BEFORE_ALL',a27_0x29d16b[a27_0x26e03f(0x18c)]=a27_0x26e03f(0x18a),a27_0x29d16b[a27_0x26e03f(0x1dd)]=a27_0x26e03f(0x200),a27_0x29d16b[a27_0x26e03f(0x123)]=a27_0x26e03f(0x15e);const HOOK_TYPES_MAP=a27_0x29d16b,{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[a27_0x26e03f(0x1c5)][a27_0x26e03f(0x1fc)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0x26e03f(0x1fc)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a27_0x26e03f(0x1df)),{consoleHolder}=require(a27_0x26e03f(0x243)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a27_0x26e03f(0x21a)),RequestQueueHandler=require(a27_0x26e03f(0x12d)),requestQueueHandler=RequestQueueHandler[a27_0x26e03f(0x1fb)]();class MyReporter{constructor(_0x3e2e18,_0x3ff6f6){const _0xd861b7=a27_0x26e03f,_0x3beb6c={'YCKAx':function(_0x3a318e,_0x5361c8){return _0x3a318e===_0x5361c8;},'YXeav':_0xd861b7(0x1d4),'PjGcA':function(_0x553a0e,_0x39b5bb){return _0x553a0e+_0x39b5bb;},'gBbAh':function(_0x1a8b6f,_0x430a0a,_0x31f67a){return _0x1a8b6f(_0x430a0a,_0x31f67a);},'wbZiR':_0xd861b7(0x1a3),'XZRZf':_0xd861b7(0x183),'puSTc':function(_0xcf0884,_0x53ac09,_0x213769){return _0xcf0884(_0x53ac09,_0x213769);},'VkGtb':'light','jyQNT':'%s\x20-\x20%s','Gbmfp':_0xd861b7(0x231),'MHyHP':function(_0x2963b3,_0x4e3d28){return _0x2963b3===_0x4e3d28;},'nehEu':_0xd861b7(0x149),'EJjiz':function(_0x4e55af){return _0x4e55af();},'CnyQZ':function(_0x3cd069){return _0x3cd069();},'oZVmH':_0xd861b7(0x198),'VNpsW':_0xd861b7(0x1c1),'DZngE':'passed','WMKrR':'fast','QKzfV':function(_0x3a1a8b,_0x5a6dee){return _0x3a1a8b+_0x5a6dee;},'KQCJD':function(_0x4a24ac,_0x3d806c){return _0x4a24ac+_0x3d806c;},'GfcbC':function(_0x5d87e6,_0x5a02e4,_0x5d1e6a){return _0x5d87e6(_0x5a02e4,_0x5d1e6a);},'QZQWh':_0xd861b7(0x1a8),'KqtkD':function(_0x2ac5b6,_0xe91c18,_0x31882a){return _0x2ac5b6(_0xe91c18,_0x31882a);},'OzVvw':_0xd861b7(0x138),'GpKaT':_0xd861b7(0x212),'WbAVy':function(_0x3a59d0,_0x5a436f,_0xdbdd5){return _0x3a59d0(_0x5a436f,_0xdbdd5);},'tvgFG':_0xd861b7(0x225),'jVwrJ':function(_0x2ef63f,_0x566fed){return _0x2ef63f+_0x566fed;},'QAnTg':'fail','awLCS':'\x20\x20%d)\x20%s','MtGFA':function(_0x1021e1,_0x3e3195){return _0x1021e1===_0x3e3195;},'ZKMAp':function(_0x3b45fc,_0x9afce5){return _0x3b45fc+_0x9afce5;},'pHUUl':_0xd861b7(0x235),'FZrqo':'COMPLETED','AMSit':function(_0x5a94e4,_0x16e4f5){return _0x5a94e4===_0x16e4f5;},'IzKNB':_0xd861b7(0x1a4),'pKafS':function(_0x1ae8f1,_0x2d4c41){return _0x1ae8f1===_0x2d4c41;},'TFoXA':_0xd861b7(0x221),'qmGYm':function(_0x27835a,_0x5de9a1){return _0x27835a===_0x5de9a1;},'ChANo':function(_0x4424c8,_0x2aa2e5){return _0x4424c8===_0x2aa2e5;},'kbGxL':'3|0|2|1|4','HxYxg':function(_0x4d1cae,_0x287035){return _0x4d1cae===_0x287035;},'bwgLD':function(_0x3b87df,_0x4f396a){return _0x3b87df===_0x4f396a;},'FnZyj':_0xd861b7(0x21f),'jjgYO':function(_0x452dc7,_0x28188b){return _0x452dc7===_0x28188b;},'jgmhe':function(_0x56211f){return _0x56211f();},'YhMqW':_0xd861b7(0x245),'zAgFs':function(_0x1f03c7,_0x3bba79){return _0x1f03c7===_0x3bba79;},'abCzx':function(_0x3e5ec8,_0x437215){return _0x3e5ec8(_0x437215);},'CIBhD':function(_0x46d264,_0x1fb01b){return _0x46d264===_0x1fb01b;},'nveqa':function(_0x1a61d4){return _0x1a61d4();},'banDu':function(_0x447ee9){return _0x447ee9();},'YAPhE':'xunit','KxpNP':function(_0x51e5f1,_0x3c5dab){return _0x51e5f1===_0x3c5dab;},'InMBm':function(_0x1e72fb,_0x5069fa){return _0x1e72fb!==_0x5069fa;}};this[_0xd861b7(0x227)]=_0x3ff6f6[_0xd861b7(0x1c6)]['type'],this[_0xd861b7(0x208)]=_0x3beb6c[_0xd861b7(0x146)](isTestObservabilitySession),Base[_0xd861b7(0x156)](this,_0x3e2e18,_0x3ff6f6),this[_0xd861b7(0x1a2)]=0x0,this[_0xd861b7(0x215)]=0x0,this[_0xd861b7(0x15b)]=[],this['finalResults']=[],this[_0xd861b7(0x180)]=0x0,this['_buildCreated']=![],this[_0xd861b7(0x253)]=[],this['_testEnv']=_0x3beb6c[_0xd861b7(0x152)](getTestEnv),this[_0xd861b7(0x1f1)]=new PathHelper({'cwd':process['cwd']()},this[_0xd861b7(0x189)][_0xd861b7(0x19f)]),this[_0xd861b7(0x1a1)]=_0x3ff6f6[_0xd861b7(0x1c6)][_0xd861b7(0x1ab)],this[_0xd861b7(0x1d0)]();_0x3beb6c[_0xd861b7(0x202)](this['type'],_0x3beb6c[_0xd861b7(0x172)])&&(this['docHtml']='',this[_0xd861b7(0x223)]=0x2);_0x3e2e18[_0xd861b7(0x17f)](EVENT_RUN_BEGIN,async()=>{const _0x597028=_0xd861b7;_0x3beb6c[_0x597028(0x139)](this[_0x597028(0x227)],_0x3beb6c[_0x597028(0x1e6)])&&Base[_0x597028(0x199)]();})['on'](EVENT_SUITE_BEGIN,_0x2a71a5=>{const _0x20b011=_0xd861b7;if(_0x2a71a5['root'])return;if(_0x3beb6c[_0x20b011(0x139)](this[_0x20b011(0x227)],_0x3beb6c['YXeav']))this[_0x20b011(0x168)](),Base[_0x20b011(0x199)](_0x3beb6c[_0x20b011(0x126)](_0x3beb6c['PjGcA'](this[_0x20b011(0x1af)](),_0x3beb6c[_0x20b011(0x211)](color,_0x3beb6c['wbZiR'],_0x3beb6c[_0x20b011(0x18b)])),_0x3beb6c['puSTc'](color,_0x3beb6c[_0x20b011(0x153)],_0x3beb6c[_0x20b011(0x220)])),_0x3beb6c[_0x20b011(0x131)],_0x2a71a5[_0x20b011(0x20a)],global[_0x20b011(0x185)]);else _0x3beb6c[_0x20b011(0x23c)](this[_0x20b011(0x227)],_0x3beb6c['nehEu'])&&(this[_0x20b011(0x175)](this['indent']()+'<section\x20class=\x22suite\x22>'),++this[_0x20b011(0x223)],this['docAppend'](this[_0x20b011(0x1af)]()+_0x20b011(0x252)+utils['escape'](_0x2a71a5[_0x20b011(0x20a)]+_0x20b011(0x18e)+global[_0x20b011(0x185)])+_0x20b011(0x15d)),this['docAppend'](this[_0x20b011(0x1af)]()+_0x20b011(0x1b5)));})['on'](EVENT_HOOK_BEGIN,async _0x297e0b=>{const _0x357be4=_0xd861b7;if(_0x3beb6c[_0x357be4(0x139)](testhubUtils[_0x357be4(0x162)](testHubConstants[_0x357be4(0x176)][_0x357be4(0x234)]),!![])){if(!_0x297e0b[_0x357be4(0x204)])_0x297e0b['hookAnalyticsId']=_0x3beb6c[_0x357be4(0x16f)](uuidv4);else _0x297e0b['markedStatus']&&(_0x297e0b[_0x357be4(0x204)]=_0x3beb6c[_0x357be4(0x247)](uuidv4),delete _0x297e0b[_0x357be4(0x23a)]);_0x297e0b[_0x357be4(0x17a)]=new Date()[_0x357be4(0x187)](),this[_0x357be4(0x1e8)]=_0x297e0b,await this[_0x357be4(0x160)](_0x297e0b,undefined,![],_0x3beb6c[_0x357be4(0x173)]);}})['on'](EVENT_HOOK_END,async _0x2989da=>{const _0x1e63a1=_0xd861b7;_0x3beb6c[_0x1e63a1(0x23c)](testhubUtils[_0x1e63a1(0x162)](testHubConstants['EVENT'][_0x1e63a1(0x188)]),!![])&&(!_0x2989da['markedStatus']&&(_0x2989da[_0x1e63a1(0x23a)]=!![],await this[_0x1e63a1(0x160)](_0x2989da,undefined,![],_0x3beb6c[_0x1e63a1(0x1d1)])));})['on'](EVENT_SUITE_END,_0x4140ac=>{const _0x532e06=_0xd861b7,_0x8b3f78={'cfrDA':function(_0x1c5e9b,_0x3cf544){const _0x152c35=a27_0x29db;return _0x3beb6c[_0x152c35(0x23c)](_0x1c5e9b,_0x3cf544);},'mWUIw':_0x3beb6c[_0x532e06(0x216)],'soYwd':_0x3beb6c[_0x532e06(0x1f6)],'mhPvY':function(_0x513d69,_0x5ed2dc){const _0x27fbc7=_0x532e06;return _0x3beb6c[_0x27fbc7(0x1c3)](_0x513d69,_0x5ed2dc);},'cXHgE':function(_0x4d3290,_0x407a8c){const _0x3b9b42=_0x532e06;return _0x3beb6c[_0x3b9b42(0x1e1)](_0x4d3290,_0x407a8c);},'OEAME':function(_0x392861,_0x30b31d,_0x2906b3){const _0x1a8841=_0x532e06;return _0x3beb6c[_0x1a8841(0x182)](_0x392861,_0x30b31d,_0x2906b3);},'KUChl':_0x3beb6c[_0x532e06(0x1d3)],'YMtSP':function(_0x18dda8,_0x4e77d3,_0x557247){return _0x3beb6c['KqtkD'](_0x18dda8,_0x4e77d3,_0x557247);},'wXXzD':_0x3beb6c[_0x532e06(0x248)],'TcPgl':_0x3beb6c['GpKaT'],'LFLiL':function(_0x47612f,_0x541817,_0x4e2be1){const _0x4e4405=_0x532e06;return _0x3beb6c[_0x4e4405(0x255)](_0x47612f,_0x541817,_0x4e2be1);},'CeYMi':function(_0x50555d,_0x450d04,_0x5f1ac4){return _0x3beb6c['WbAVy'](_0x50555d,_0x450d04,_0x5f1ac4);},'HgmDI':_0x3beb6c[_0x532e06(0x134)],'bgIqM':function(_0x200777,_0x11b726){const _0xd51cae=_0x532e06;return _0x3beb6c[_0xd51cae(0x1a5)](_0x200777,_0x11b726);},'ATaqc':_0x3beb6c[_0x532e06(0x14b)],'MWEGh':_0x3beb6c[_0x532e06(0x1ca)]};if(_0x4140ac[_0x532e06(0x161)])return;if(_0x3beb6c[_0x532e06(0x1ef)](this[_0x532e06(0x227)],_0x3beb6c[_0x532e06(0x1e6)]))Base[_0x532e06(0x199)](),Base[_0x532e06(0x199)](_0x3beb6c[_0x532e06(0x1c3)](_0x3beb6c[_0x532e06(0x1f9)](this[_0x532e06(0x1af)](),_0x3beb6c[_0x532e06(0x255)](color,_0x3beb6c[_0x532e06(0x219)],_0x3beb6c['XZRZf'])),_0x3beb6c[_0x532e06(0x211)](color,_0x3beb6c['VkGtb'],_0x3beb6c[_0x532e06(0x220)])),_0x3beb6c['FZrqo'],_0x4140ac[_0x532e06(0x20a)],global['__platform__']),this[_0x532e06(0x15b)][_0x532e06(0x251)](_0x55d707=>{const _0x4562b9=_0x532e06;if(_0x8b3f78[_0x4562b9(0x122)](_0x55d707[_0x4562b9(0x163)],_0x8b3f78[_0x4562b9(0x217)])){var _0x2e6eea;_0x8b3f78['cfrDA'](_0x55d707['speed'],_0x8b3f78[_0x4562b9(0x1d2)])?(_0x2e6eea=_0x8b3f78[_0x4562b9(0x236)](_0x8b3f78[_0x4562b9(0x1f5)](this[_0x4562b9(0x1af)](),_0x8b3f78['OEAME'](color,_0x8b3f78[_0x4562b9(0x16c)],_0x8b3f78[_0x4562b9(0x1f5)]('\x20\x20',Base[_0x4562b9(0x210)]['ok']))),_0x8b3f78[_0x4562b9(0x191)](color,_0x8b3f78[_0x4562b9(0x209)],_0x8b3f78[_0x4562b9(0x13a)])),Base[_0x4562b9(0x199)](_0x2e6eea,_0x55d707[_0x4562b9(0x20a)])):(_0x2e6eea=_0x8b3f78[_0x4562b9(0x236)](_0x8b3f78[_0x4562b9(0x1f5)](_0x8b3f78[_0x4562b9(0x1f5)](this[_0x4562b9(0x1af)](),_0x8b3f78[_0x4562b9(0x24e)](color,_0x8b3f78[_0x4562b9(0x16c)],_0x8b3f78[_0x4562b9(0x236)]('\x20\x20',Base[_0x4562b9(0x210)]['ok']))),_0x8b3f78[_0x4562b9(0x24e)](color,_0x8b3f78['wXXzD'],_0x8b3f78[_0x4562b9(0x13a)])),_0x8b3f78['CeYMi'](color,_0x55d707['speed'],_0x8b3f78[_0x4562b9(0x13f)])),Base[_0x4562b9(0x199)](_0x2e6eea,_0x55d707['title'],_0x55d707['duration']));}else Base[_0x4562b9(0x199)](_0x8b3f78[_0x4562b9(0x186)](this[_0x4562b9(0x1af)](),_0x8b3f78[_0x4562b9(0x22c)](color,_0x8b3f78[_0x4562b9(0x15f)],_0x8b3f78[_0x4562b9(0x14c)])),++this['failCount'],_0x55d707[_0x4562b9(0x20a)]);}),this[_0x532e06(0x1ec)]();else _0x3beb6c['MHyHP'](this[_0x532e06(0x227)],_0x3beb6c[_0x532e06(0x172)])&&(this['docAppend'](this[_0x532e06(0x1af)]()+_0x532e06(0x1d8)),--this['__indents'],this[_0x532e06(0x175)](this[_0x532e06(0x1af)]()+_0x532e06(0x20f)),--this[_0x532e06(0x223)]);Array[_0x532e06(0x142)][_0x532e06(0x159)]['apply'](this['finalResults'],this[_0x532e06(0x15b)]),this['results']=[];})['on'](EVENT_TEST_PASS,async _0x22ff95=>{const _0x30498d=_0xd861b7;this[_0x30498d(0x15b)]['push']({'speed':_0x22ff95[_0x30498d(0x121)],'suite':_0x22ff95['parent'][_0x30498d(0x20a)],'title':_0x22ff95[_0x30498d(0x20a)],'fullTitle':_0x22ff95[_0x30498d(0x165)](),'duration':_0x22ff95[_0x30498d(0x13e)],'state':_0x22ff95[_0x30498d(0x163)],'err':{},'currentRetry':_0x22ff95[_0x30498d(0x174)](),'titlePathV':_0x22ff95[_0x30498d(0x238)](),'isPending':_0x22ff95[_0x30498d(0x140)]()});if(_0x3beb6c[_0x30498d(0x171)](this[_0x30498d(0x227)],_0x3beb6c[_0x30498d(0x1f4)]))_0x3beb6c[_0x30498d(0x22f)](_0x22ff95['speed'],_0x3beb6c[_0x30498d(0x1fe)])?process[_0x30498d(0x249)][_0x30498d(0x1c0)](Base[_0x30498d(0x1dc)](_0x3beb6c['pHUUl'],Base[_0x30498d(0x210)][_0x30498d(0x1a4)])):process['stdout'][_0x30498d(0x1c0)](Base[_0x30498d(0x1dc)](_0x22ff95[_0x30498d(0x121)],Base['symbols'][_0x30498d(0x1a4)]));else{if(_0x3beb6c[_0x30498d(0x22f)](this[_0x30498d(0x227)],_0x3beb6c[_0x30498d(0x172)])){this[_0x30498d(0x175)](this[_0x30498d(0x1af)]()+'\x20\x20<dt>'+utils[_0x30498d(0x143)](_0x22ff95[_0x30498d(0x20a)])+_0x30498d(0x246)),this[_0x30498d(0x175)](this[_0x30498d(0x1af)]()+'\x20\x20<dt>'+utils[_0x30498d(0x143)](_0x22ff95[_0x30498d(0x24f)])+_0x30498d(0x246));var _0x5e8a54=utils['escape'](utils[_0x30498d(0x1fd)](_0x22ff95[_0x30498d(0x244)]));this[_0x30498d(0x175)](this[_0x30498d(0x1af)]()+_0x30498d(0x18d)+_0x5e8a54+_0x30498d(0x24c));}}_0x3beb6c['qmGYm'](testhubUtils[_0x30498d(0x162)](),!![])&&(!_0x22ff95[_0x30498d(0x23a)]&&(_0x22ff95[_0x30498d(0x23a)]=!![],await this[_0x30498d(0x160)](_0x22ff95)));})['on'](EVENT_TEST_FAIL,async(_0x3d061c,_0x3780bf)=>{const _0x551c55=_0xd861b7;this[_0x551c55(0x15b)][_0x551c55(0x159)]({'title':_0x3d061c[_0x551c55(0x20a)],'suite':_0x3d061c[_0x551c55(0x19d)]['title'],'state':_0x3d061c[_0x551c55(0x163)],'err':{'message':util[_0x551c55(0x197)](_0x3780bf)},'fullTitle':_0x3d061c['fullTitle'](),'speed':_0x3d061c[_0x551c55(0x121)],'currentRetry':_0x3d061c[_0x551c55(0x174)](),'titlePathV':_0x3d061c[_0x551c55(0x238)]()});if(_0x3beb6c[_0x551c55(0x1ef)](this['type'],_0x3beb6c[_0x551c55(0x1f4)]))process[_0x551c55(0x249)]['write'](Base[_0x551c55(0x1dc)](_0x3beb6c[_0x551c55(0x14b)],Base[_0x551c55(0x210)][_0x551c55(0x1c4)]));else{if(_0x3beb6c[_0x551c55(0x177)](this[_0x551c55(0x227)],_0x3beb6c[_0x551c55(0x172)])){const _0x3e3805=_0x3beb6c[_0x551c55(0x1e4)]['split']('|');let _0x141d53=0x0;while(!![]){switch(_0x3e3805[_0x141d53++]){case'0':this[_0x551c55(0x175)](this[_0x551c55(0x1af)]()+_0x551c55(0x1b2)+utils[_0x551c55(0x143)](_0x3d061c[_0x551c55(0x24f)])+_0x551c55(0x246));continue;case'1':this[_0x551c55(0x175)](this[_0x551c55(0x1af)]()+'\x20\x20<dd\x20class=\x22error\x22><pre><code>'+_0x10eec7+'</code></pre></dd>');continue;case'2':var _0x10eec7=utils[_0x551c55(0x143)](utils[_0x551c55(0x1fd)](_0x3d061c['body']));continue;case'3':this[_0x551c55(0x175)](this['indent']()+_0x551c55(0x1b2)+utils[_0x551c55(0x143)](_0x3d061c[_0x551c55(0x20a)])+_0x551c55(0x246));continue;case'4':this[_0x551c55(0x175)](this[_0x551c55(0x1af)]()+'\x20\x20<dd\x20class=\x22error\x22>'+utils['escape'](_0x3d061c[_0x551c55(0x21e)])+'</dd>');continue;}break;}}}if(_0x3beb6c[_0x551c55(0x1c2)](testhubUtils[_0x551c55(0x162)](testHubConstants[_0x551c55(0x176)]['HookFinished']),!![])){if(!_0x3d061c[_0x551c55(0x23a)]){_0x3d061c[_0x551c55(0x23a)]=!![];if(_0x3d061c[_0x551c55(0x17b)])await this[_0x551c55(0x160)](_0x3d061c,_0x3780bf);else _0x3d061c[_0x551c55(0x204)]&&await this[_0x551c55(0x160)](_0x3d061c,_0x3780bf,![],_0x3beb6c[_0x551c55(0x1d1)]);}}})['on'](EVENT_TEST_PENDING,async _0x27a455=>{const _0x2f1106=_0xd861b7;this[_0x2f1106(0x15b)][_0x2f1106(0x159)]({'title':_0x27a455[_0x2f1106(0x20a)],'suite':_0x27a455[_0x2f1106(0x19d)][_0x2f1106(0x20a)],'state':_0x27a455['state'],'err':{},'fullTitle':_0x27a455[_0x2f1106(0x165)](),'speed':_0x27a455[_0x2f1106(0x121)],'currentRetry':_0x27a455[_0x2f1106(0x174)](),'titlePathV':_0x27a455['titlePath']()}),_0x3beb6c[_0x2f1106(0x202)](this[_0x2f1106(0x227)],_0x3beb6c[_0x2f1106(0x1f4)])&&process[_0x2f1106(0x249)]['write'](Base[_0x2f1106(0x1dc)](_0x3beb6c[_0x2f1106(0x1da)],Base[_0x2f1106(0x210)][_0x2f1106(0x129)])),_0x3beb6c[_0x2f1106(0x1b1)](testhubUtils[_0x2f1106(0x162)](),!![])&&(!_0x27a455['testAnalyticsId']&&(_0x27a455[_0x2f1106(0x17b)]=_0x3beb6c[_0x2f1106(0x1e9)](uuidv4)),!_0x27a455[_0x2f1106(0x23a)]&&(_0x27a455['markedStatus']=!![],await this[_0x2f1106(0x160)](_0x27a455,undefined,![],_0x3beb6c[_0x2f1106(0x24d)])));})['on'](EVENT_TEST_BEGIN,async _0x3463ed=>{const _0x9c040e=_0xd861b7;_0x3beb6c['bwgLD'](testhubUtils[_0x9c040e(0x162)](),!![])&&await this[_0x9c040e(0x150)](_0x3463ed);})['on'](EVENT_TEST_END,async _0x2fc0f8=>{const _0x3909e3=_0xd861b7;_0x3beb6c[_0x3909e3(0x232)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x2fc0f8[_0x3909e3(0x23a)]&&(_0x2fc0f8[_0x3909e3(0x23a)]=!![],await this[_0x3909e3(0x160)](_0x2fc0f8)));})[_0xd861b7(0x17f)](EVENT_RUN_END,async()=>{const _0x35a8f5=_0xd861b7;try{if(_0x3beb6c[_0x35a8f5(0x22f)](testhubUtils['shouldProcessEventForTesthub'](),!![])){const _0x111cfa=_0x3beb6c[_0x35a8f5(0x12e)](getHookSkippedTests,this[_0x35a8f5(0x23e)][_0x35a8f5(0x1ed)]);for(const _0x782b5d of _0x111cfa){!_0x782b5d[_0x35a8f5(0x17b)]&&(_0x782b5d[_0x35a8f5(0x17b)]=_0x3beb6c[_0x35a8f5(0x1e9)](uuidv4)),await this[_0x35a8f5(0x160)](_0x782b5d,undefined,![],_0x3beb6c[_0x35a8f5(0x24d)]);}}}catch(_0x17f1d7){_0x3beb6c[_0x35a8f5(0x12e)](debug,_0x35a8f5(0x20b)+_0x17f1d7);}await requestQueueHandler[_0x35a8f5(0x1ce)](),_0x3beb6c[_0x35a8f5(0x1a9)](this[_0x35a8f5(0x227)],_0x3beb6c[_0x35a8f5(0x172)])&&Base[_0x35a8f5(0x199)](this[_0x35a8f5(0x1b8)]);});if(this[_0xd861b7(0x227)]&&![_0x3beb6c[_0xd861b7(0x172)],_0x3beb6c['YAPhE'],_0x3beb6c['YXeav'],_0x3beb6c[_0xd861b7(0x1f4)]][_0xd861b7(0x1a0)](this[_0xd861b7(0x227)])){const _0xc1f8b9=this[_0xd861b7(0x227)]['trim']();this['Reporter']=null;try{this['Reporter']=_0x3beb6c['abCzx'](requireModule,_0xd861b7(0x158)+_0xc1f8b9+'.js');}catch{}if(_0x3beb6c[_0xd861b7(0x226)](this[_0xd861b7(0x128)],null))try{this[_0xd861b7(0x128)]=_0x3beb6c[_0xd861b7(0x12e)](require,_0xc1f8b9);}catch(_0x592c06){console['error'](_0xd861b7(0x1a7)+_0xc1f8b9);}if(_0x3beb6c[_0xd861b7(0x155)](this[_0xd861b7(0x128)],null)){const _0x440b95={};_0x440b95[_0xd861b7(0x130)]=_0x3ff6f6[_0xd861b7(0x1c6)],this[_0xd861b7(0x128)]=new this[(_0xd861b7(0x128))](_0x3e2e18,_0x440b95);}}}[a27_0x26e03f(0x1af)](){const _0x48e02a=a27_0x26e03f,_0x33838a={'KFBHt':function(_0x5d8794,_0x116af8){return _0x5d8794(_0x116af8);}};return _0x33838a[_0x48e02a(0x1ba)](Array,this[_0x48e02a(0x1a2)])[_0x48e02a(0x1bd)]('\x20\x20');}[a27_0x26e03f(0x168)](){const _0xe530a=a27_0x26e03f;this[_0xe530a(0x1a2)]++;}[a27_0x26e03f(0x1ec)](){const _0x1b7dff=a27_0x26e03f;this[_0x1b7dff(0x1a2)]--;}[a27_0x26e03f(0x175)](_0x553e2f){const _0x390400=a27_0x26e03f;this[_0x390400(0x1b8)]+=_0x553e2f;}['done'](_0x2b54ef,_0x212771){const _0x5c4e0d=a27_0x26e03f,_0x490d46={'wCKZs':function(_0x428d10,_0x57bc35){return _0x428d10(_0x57bc35);}},_0xc7df90={};_0xc7df90[_0x5c4e0d(0x1b3)]=_0x2b54ef,_0xc7df90[_0x5c4e0d(0x15b)]=this[_0x5c4e0d(0x132)],_0x490d46['wCKZs'](_0x212771,_0xc7df90);}[a27_0x26e03f(0x1d0)](){const _0x2a253a=a27_0x26e03f;process['removeAllListeners'](_0x2a253a(0x192)+process['pid']),process['on']('bs:addLog:'+process[_0x2a253a(0x1c9)],this['appendTestItemLog'][_0x2a253a(0x1fa)](this)),process[_0x2a253a(0x1bb)](_0x2a253a(0x22b)+process[_0x2a253a(0x1c9)]),process['on'](_0x2a253a(0x22b)+process['pid'],this[_0x2a253a(0x19c)]['bind'](this));}['testStarted']=async _0x5ad9ae=>{const _0x36c1ff=a27_0x26e03f,_0x593f6a={'nnnEi':function(_0x28490f){return _0x28490f();},'iihEx':function(_0x33dcb1,_0x387562){return _0x33dcb1>_0x387562;},'xmPHT':function(_0x4a492c,_0x193556){return _0x4a492c===_0x193556;},'cwkgI':_0x36c1ff(0x242),'PebFq':function(_0x260b26,_0x32b1e5){return _0x260b26(_0x32b1e5);}};try{const _0x3d75b0=this['current_test'];this[_0x36c1ff(0x213)]=_0x5ad9ae,_0x5ad9ae[_0x36c1ff(0x1d6)]=null,_0x5ad9ae[_0x36c1ff(0x17b)]=_0x593f6a[_0x36c1ff(0x17c)](uuidv4),_0x5ad9ae[_0x36c1ff(0x17a)]=new Date()['toISOString'](),_0x593f6a[_0x36c1ff(0x20e)](_0x5ad9ae[_0x36c1ff(0x18f)],0x0)&&_0x3d75b0&&_0x593f6a[_0x36c1ff(0x237)](_0x3d75b0[_0x36c1ff(0x20a)],_0x5ad9ae[_0x36c1ff(0x20a)])?(_0x5ad9ae[_0x36c1ff(0x1d6)]=_0x3d75b0['testAnalyticsId'],await this[_0x36c1ff(0x160)](_0x5ad9ae,undefined,![],_0x593f6a[_0x36c1ff(0x12b)]),_0x3d75b0['state']=STATE_FAILED,await this[_0x36c1ff(0x160)](_0x3d75b0,undefined,!![])):await this[_0x36c1ff(0x160)](_0x5ad9ae,undefined,![],_0x593f6a[_0x36c1ff(0x12b)]);}catch(_0x5b715e){_0x593f6a[_0x36c1ff(0x224)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20'+_0x5b715e);}};['sendTestRunEvent']=async(_0x540ffc,_0x5a9d58=undefined,_0x59fe78=![],_0x2bbf87=a27_0x26e03f(0x229))=>{const _0xa2823d=a27_0x26e03f,_0x13ddd0={'ieDyD':function(_0x3f6525,_0x6d3114){return _0x3f6525===_0x6d3114;},'DHqxK':function(_0x3d3753,_0x168c02){return _0x3d3753!==_0x168c02;},'rnDXw':'test','fHgfM':_0xa2823d(0x21e),'YXbrP':function(_0x489446,_0x3e683e){return _0x489446!==_0x3e683e;},'UHegY':function(_0x7a449f,_0x49288d){return _0x7a449f!==_0x49288d;},'BlsSu':function(_0xba66b3,_0xa389d2){return _0xba66b3!==_0xa389d2;},'rLAPM':_0xa2823d(0x20c),'dlcHc':_0xa2823d(0x1d9),'qbSLt':_0xa2823d(0x1bf),'FRvWt':_0xa2823d(0x245),'mVbfi':_0xa2823d(0x1ac),'aaVUw':function(_0x2354d8,_0x1f24cd){return _0x2354d8-_0x1f24cd;},'WqoZL':_0xa2823d(0x240),'oIspA':'UnhandledError','QiiId':function(_0x556711,_0x110a20){return _0x556711===_0x110a20;},'wxPva':'started_at','ToSCa':_0xa2823d(0x23b),'qaGSV':function(_0x26ea11,_0x47086f){return _0x26ea11(_0x47086f);},'uWfvB':_0xa2823d(0x1c1),'bmxxk':function(_0x39f269,_0x17c9e6){return _0x39f269!==_0x17c9e6;},'bobUM':_0xa2823d(0x218),'TnLzr':_0xa2823d(0x145),'aAtEG':function(_0x3b89cf,_0x8338b9){return _0x3b89cf===_0x8338b9;},'nvAcb':'before\x20each','pcYaq':_0xa2823d(0x19a),'RMrEj':_0xa2823d(0x13b),'bQWZh':_0xa2823d(0x22e),'aIuQH':_0xa2823d(0x169),'ihavw':_0xa2823d(0x1cf),'CgUMr':'TestRunFinished','Zyfrs':function(_0x27bfd9,_0x408384){return _0x27bfd9===_0x408384;},'dNAPm':_0xa2823d(0x1a6),'TTHxg':'hook_run','wFNnA':_0xa2823d(0x233),'AGTVP':function(_0x48dfc4,_0x27cc41){return _0x48dfc4(_0x27cc41);}};try{if(_0x540ffc[_0xa2823d(0x244)]&&_0x540ffc[_0xa2823d(0x244)]['match'](/browserstack internal helper hook/))return;let _0x38e3dc=[];if(_0x13ddd0[_0xa2823d(0x1bc)](_0x540ffc[_0xa2823d(0x163)],STATE_FAILED)){if(_0x13ddd0['DHqxK'](_0x540ffc[_0xa2823d(0x21e)],undefined))_0x38e3dc=_0x540ffc[_0xa2823d(0x21e)][_0xa2823d(0x194)]?[_0x540ffc[_0xa2823d(0x21e)]['multiple'],_0x13ddd0['rnDXw']]:[_0x540ffc[_0xa2823d(0x21e)],_0x13ddd0[_0xa2823d(0x135)]];else _0x13ddd0[_0xa2823d(0x254)](_0x5a9d58,undefined)?_0x38e3dc=[_0x5a9d58,_0x13ddd0[_0xa2823d(0x135)]]:_0x38e3dc=[];}const _0x49a7f3=_0x13ddd0['UHegY'](_0x540ffc[_0xa2823d(0x21e)],undefined)?_0x540ffc['err'][_0xa2823d(0x124)]():_0x13ddd0[_0xa2823d(0x16e)](_0x5a9d58,undefined)?_0x5a9d58[_0xa2823d(0x124)]():undefined;let _0x32b4fb;try{_0x32b4fb=this['getRootParentFile'](_0x540ffc);}catch(_0x36ffa9){_0x32b4fb=null;}const _0x202162=_0x32b4fb?this[_0xa2823d(0x125)](_0x32b4fb):null,_0x599702=_0x32b4fb?this[_0xa2823d(0x1f1)][_0xa2823d(0x205)](this[_0xa2823d(0x1e5)](_0x540ffc)):_0x13ddd0[_0xa2823d(0x1f7)],_0x10955d={'framework':_0x13ddd0['dlcHc'],'uuid':_0x540ffc[_0xa2823d(0x17b)]||_0x540ffc[_0xa2823d(0x204)],'name':_0x540ffc[_0xa2823d(0x20a)],'body':{'lang':_0x13ddd0[_0xa2823d(0x20d)],'code':_0x540ffc[_0xa2823d(0x244)]},'scope':this[_0xa2823d(0x1ee)](_0x540ffc),'scopes':this[_0xa2823d(0x24a)](_0x540ffc),'identifier':_0x540ffc[_0xa2823d(0x165)](),'file_name':_0x599702,'vc_filepath':_0x202162?path[_0xa2823d(0x1e7)](_0x202162,_0x32b4fb):null,'location':_0x599702,'result':_0x13ddd0[_0xa2823d(0x1bc)](_0x2bbf87,_0x13ddd0[_0xa2823d(0x1de)])?_0x13ddd0[_0xa2823d(0x1ae)]:this[_0xa2823d(0x15a)](_0x540ffc[_0xa2823d(0x163)]),'failure_reason':_0x49a7f3,'duration_in_ms':_0x540ffc['duration']||(_0x2bbf87[_0xa2823d(0x19b)](/Finished/)||_0x2bbf87['match'](/Skipped/)?_0x13ddd0[_0xa2823d(0x190)](Date[_0xa2823d(0x157)](),new Date(_0x540ffc[_0xa2823d(0x17a)])[_0xa2823d(0x1cc)]()):null),'started_at':_0x540ffc['started_at'],'finished_at':_0x2bbf87[_0xa2823d(0x19b)](/Finished/)||_0x2bbf87['match'](/Skipped/)?new Date()['toISOString']():null,'failure':failureData[_0xa2823d(0x196)](null,_0x38e3dc),'failure_type':!_0x49a7f3?null:_0x49a7f3['match'](/AssertionError/)?_0x13ddd0[_0xa2823d(0x13d)]:_0x13ddd0[_0xa2823d(0x207)],'retry_of':_0x540ffc[_0xa2823d(0x1d6)]};testhubUtils['appendTesthubParams'](_0x10955d,_0x2bbf87,_0x540ffc,FRAMEWORKS[_0xa2823d(0x228)]);_0x13ddd0[_0xa2823d(0x15c)](_0x2bbf87,_0x13ddd0[_0xa2823d(0x1de)])&&!_0x10955d[_0x13ddd0['wxPva']]&&(_0x10955d[_0x13ddd0['wxPva']]=_0x10955d[_0x13ddd0[_0xa2823d(0x1db)]]);if(_0x2bbf87[_0xa2823d(0x19b)](/HookRun/))[_0x10955d[_0xa2823d(0x1a6)],_0x10955d[_0xa2823d(0x148)]]=_0x13ddd0[_0xa2823d(0x222)](getHookDetails,_0x540ffc[_0xa2823d(0x165)]()||_0x540ffc['originalTitle']||_0x540ffc['title']),_0x13ddd0[_0xa2823d(0x15c)](_0x2bbf87,_0x13ddd0['uWfvB'])&&(_0x13ddd0['bmxxk'](_0x10955d[_0xa2823d(0x1b9)],_0x13ddd0[_0xa2823d(0x13c)])&&(_0x10955d[_0xa2823d(0x1b9)]=_0x13ddd0[_0xa2823d(0x1e3)]),_0x13ddd0[_0xa2823d(0x136)](_0x10955d[_0xa2823d(0x1a6)],_0x13ddd0[_0xa2823d(0x167)])&&_0x13ddd0[_0xa2823d(0x1bc)](_0x10955d['result'],_0x13ddd0['bobUM'])&&!_0x540ffc[_0xa2823d(0x17d)]['currentTest']['markedStatus']&&(_0x540ffc[_0xa2823d(0x17d)][_0xa2823d(0x1f2)][_0xa2823d(0x23a)]=!![],_0x540ffc['ctx'][_0xa2823d(0x1f2)]['state']=STATE_FAILED,await this['sendTestRunEvent'](_0x540ffc[_0xa2823d(0x17d)]['currentTest'],undefined,!![])));else _0x2bbf87[_0xa2823d(0x19b)](/TestRun/)&&_0x13ddd0[_0xa2823d(0x222)](mapTestHooks,_0x540ffc);const _0x3f0da7=_0x10955d[_0x13ddd0['pcYaq']][0x0];_0x3f0da7&&(_0x10955d[_0x13ddd0[_0xa2823d(0x1f3)]]=_0x3f0da7[_0x13ddd0[_0xa2823d(0x1b6)]],_0x10955d[_0x13ddd0[_0xa2823d(0x1b4)]]=_0x3f0da7[_0x13ddd0[_0xa2823d(0x21b)]]);[_0x13ddd0[_0xa2823d(0x1be)],_0x13ddd0[_0xa2823d(0x1de)]][_0xa2823d(0x1a0)](_0x2bbf87)&&(this[_0xa2823d(0x253)][_0xa2823d(0x159)](_0x10955d),_0x10955d[_0xa2823d(0x193)]=_0x13ddd0['qaGSV'](getHooksForTest,_0x540ffc));const _0x4fc4e9={'event_type':_0x13ddd0[_0xa2823d(0x241)](_0x2bbf87,_0x13ddd0[_0xa2823d(0x1de)])?_0x13ddd0[_0xa2823d(0x1be)]:_0x2bbf87};_0x2bbf87[_0xa2823d(0x19b)](/HookRun/)?(_0x10955d[_0x13ddd0['dNAPm']]=HOOK_TYPES_MAP[_0x10955d[_0x13ddd0[_0xa2823d(0x1aa)]]],_0x4fc4e9[_0x13ddd0['TTHxg']]=_0x10955d):_0x4fc4e9[_0x13ddd0[_0xa2823d(0x178)]]=_0x10955d,testhubUtils[_0xa2823d(0x12a)](FRAMEWORKS[_0xa2823d(0x228)],_0x4fc4e9),await SessionHandler[_0xa2823d(0x147)](_0x4fc4e9);}catch(_0x1339ca){_0x13ddd0[_0xa2823d(0x14d)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x2bbf87+_0xa2823d(0x21c)+_0x1339ca);}};[a27_0x26e03f(0x125)](_0x50d3ca){const _0x53945e=a27_0x26e03f,_0x49bf44={};_0x49bf44[_0x53945e(0x179)]=function(_0x2d8c,_0x368b99){return _0x2d8c===_0x368b99;},_0x49bf44['kdGDH']=function(_0xfd70da,_0x5e8a4e){return _0xfd70da===_0x5e8a4e;},_0x49bf44[_0x53945e(0x144)]=function(_0x1f9391,_0x2cd43c){return _0x1f9391===_0x2cd43c;},_0x49bf44[_0x53945e(0x154)]=_0x53945e(0x137),_0x49bf44['xDMIV']=_0x53945e(0x1ad);const _0x142df7=_0x49bf44,_0x6e2c7e=path['sep'];if(_0x142df7['KAXzM'](_0x50d3ca,null)||_0x142df7[_0x53945e(0x179)](_0x50d3ca,'')||_0x142df7[_0x53945e(0x23f)](_0x50d3ca,_0x6e2c7e)||_0x142df7[_0x53945e(0x144)](_0x50d3ca,path[_0x53945e(0x170)](_0x50d3ca)))return null;try{return fs[_0x53945e(0x127)](path[_0x53945e(0x1bd)](_0x50d3ca,_0x142df7[_0x53945e(0x154)],_0x142df7[_0x53945e(0x23d)])),_0x50d3ca;}catch(_0x43a7fa){const _0x524a53=path['dirname'](_0x50d3ca);return this[_0x53945e(0x125)](_0x524a53);}}[a27_0x26e03f(0x16a)]=async _0x14f4ea=>{const _0x2b4a3a=a27_0x26e03f,_0x15506c={'nsUcv':_0x2b4a3a(0x24b),'lSnjd':function(_0x3a7cb3,_0x2e7401){return _0x3a7cb3(_0x2e7401);}};try{this[_0x2b4a3a(0x1e8)]&&!this[_0x2b4a3a(0x1e8)][_0x2b4a3a(0x23a)]&&(_0x14f4ea[_0x2b4a3a(0x1d5)]=this[_0x2b4a3a(0x1e8)]['hookAnalyticsId']);!_0x14f4ea[_0x2b4a3a(0x1d5)]&&this[_0x2b4a3a(0x213)]&&!this[_0x2b4a3a(0x213)]['markedStatus']&&(_0x14f4ea[_0x2b4a3a(0x141)]=this[_0x2b4a3a(0x213)][_0x2b4a3a(0x17b)]);if(_0x14f4ea['hook_run_uuid']||_0x14f4ea[_0x2b4a3a(0x141)]){const _0xe6d8e={};_0xe6d8e[_0x2b4a3a(0x14e)]=_0x15506c[_0x2b4a3a(0x1f8)],_0xe6d8e['logs']=[_0x14f4ea],await SessionHandler['uploadEventData'](_0xe6d8e);}}catch(_0x30c9f6){_0x15506c[_0x2b4a3a(0x22a)](debug,_0x2b4a3a(0x164)+_0x30c9f6);}};[a27_0x26e03f(0x19c)]=async _0xd1b741=>{const _0xdcb0e3=a27_0x26e03f,_0x538b30={'vpLYI':_0xdcb0e3(0x214),'VeuQV':_0xdcb0e3(0x1ea),'tWtcg':function(_0x1dbe7b,_0x5d29d5){return _0x1dbe7b(_0x5d29d5);}};try{const _0x25538b={};_0x25538b['uuid']=_0xd1b741['uuid']||this[_0xdcb0e3(0x213)]['testAnalyticsId'],_0x25538b[_0xdcb0e3(0x1cd)]=_0xd1b741[_0x538b30[_0xdcb0e3(0x1d7)]];const _0x4adab8=_0x25538b,_0x1e2810={};_0x1e2810[_0xdcb0e3(0x14e)]=_0x538b30[_0xdcb0e3(0x230)],_0x1e2810[_0xdcb0e3(0x233)]=_0x4adab8,await SessionHandler['uploadEventData'](_0x1e2810);}catch(_0x27b901){_0x538b30[_0xdcb0e3(0x1b7)](debug,_0xdcb0e3(0x1b0)+_0x27b901);}};[a27_0x26e03f(0x15a)](_0x5b9a3a){const _0x1fb9ec=a27_0x26e03f,_0x1cd55a={};_0x1cd55a[_0x1fb9ec(0x195)]=_0x1fb9ec(0x145),_0x1cd55a[_0x1fb9ec(0x201)]=_0x1fb9ec(0x21f),_0x1cd55a[_0x1fb9ec(0x14f)]=_0x1fb9ec(0x218);const _0x32599b=_0x1cd55a,_0x212516={};return _0x212516[STATE_PASSED]=_0x32599b[_0x1fb9ec(0x195)],_0x212516[STATE_PENDING]=_0x32599b[_0x1fb9ec(0x201)],_0x212516[STATE_FAILED]=_0x32599b[_0x1fb9ec(0x14f)],_0x212516[_0x5b9a3a];}[a27_0x26e03f(0x1ee)](_0x50c3ef){const _0x17f442=a27_0x26e03f,_0x2f19b9={};_0x2f19b9[_0x17f442(0x1e0)]=function(_0x2d3131,_0x44ee6d){return _0x2d3131-_0x44ee6d;};const _0x4772a9=_0x2f19b9,_0x4fc0f9=_0x50c3ef[_0x17f442(0x238)]();return _0x4fc0f9[_0x17f442(0x1eb)](0x0,_0x4772a9[_0x17f442(0x1e0)](_0x4fc0f9[_0x17f442(0x1ff)],0x1))[_0x17f442(0x1bd)]('\x20');}[a27_0x26e03f(0x24a)](_0x24d5d3){const _0x495c5c=a27_0x26e03f,_0x248363={};_0x248363[_0x495c5c(0x1cb)]=function(_0x17e0e8,_0x585e5a){return _0x17e0e8-_0x585e5a;};const _0x9467fc=_0x248363,_0x209017=_0x24d5d3[_0x495c5c(0x238)]();return _0x209017[_0x495c5c(0x1eb)](0x0,_0x9467fc[_0x495c5c(0x1cb)](_0x209017[_0x495c5c(0x1ff)],0x1));}[a27_0x26e03f(0x1e5)](_0x3a17f6){const _0x1a48af=a27_0x26e03f,_0x329449={};_0x329449[_0x1a48af(0x203)]=function(_0xb4e16c,_0x3f0187){return _0xb4e16c>_0x3f0187;};const _0x532a82=_0x329449;if(_0x3a17f6[_0x1a48af(0x24f)])return _0x3a17f6[_0x1a48af(0x24f)];if(_0x3a17f6[_0x1a48af(0x17d)]){const _0x39b5e6=_0x3a17f6['ctx'][_0x1a48af(0x1f2)]?this['getRootParentFile'](_0x3a17f6[_0x1a48af(0x17d)][_0x1a48af(0x1f2)]):null;if(_0x39b5e6)return _0x39b5e6;}if(_0x3a17f6['parent']){const _0x544b92=this[_0x1a48af(0x1e5)](_0x3a17f6[_0x1a48af(0x19d)])||(_0x3a17f6[_0x1a48af(0x19d)]['ctx']&&_0x3a17f6[_0x1a48af(0x19d)][_0x1a48af(0x17d)][_0x1a48af(0x1f2)]?this[_0x1a48af(0x1e5)](_0x3a17f6[_0x1a48af(0x19d)][_0x1a48af(0x17d)][_0x1a48af(0x1f2)]):null);if(_0x544b92)return _0x544b92;_0x3a17f6[_0x1a48af(0x19d)][_0x1a48af(0x14a)]&&_0x532a82['ReJuM'](_0x3a17f6['parent'][_0x1a48af(0x14a)][_0x1a48af(0x1ff)],0x0)&&_0x3a17f6[_0x1a48af(0x19d)]['suites'][_0x1a48af(0x251)](_0x1d9a25=>{const _0x19647f=_0x1a48af,_0x373b27=_0x1d9a25[_0x19647f(0x17d)]?this[_0x19647f(0x1e5)](_0x1d9a25['ctx']):null;if(_0x373b27)return _0x373b27;});}return null;}}module[a27_0x26e03f(0x250)]=MyReporter;
1
+ 'use strict';const a27_0x5b5743=a27_0x155d;function a27_0x2ce9(){const _0x206028=['bind','7emSIJL','ZCALJ','appendTesthubParams','toString','increaseIndent','location_prefix','spec','hookAnalyticsId','%s\x20','BdKiv','fast','iuExM','NViDc','type','sSVla','KDINL','statSync','UnhandledError','dqwJt','fCNxk','bsConfig','ToUmt','failure_backtrace','Reporter','pegbL','setCurrentTestData','FZnJT','../../../helpers/helper','../../../helpers/central-scanner/helpers','SGwZN','speed','COMPLETED','markedStatus','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','responseCode','stdout','HYWti','sjhwB','apply','vxqAx','XWxqw','YuUaA','match','indent','shutdown','started_at','toISOString','shouldProcessEventForTesthub','dirname','../../../helpers/test-observability/sessionHandler','FvoCf','error','testObservability','state','kPASz','suite','backtrace','_testEnv','pikni','xBoMt','uGsvI','getRootParentFile','__platform__','MOCHA','fail','doc','clean','GWoFw','FAlaa','cMIZm','2|1|4|0|3','UGtEu','ldywA','zexux','QabHZ','dot','passed','TJUHn','escape','logs','IxBzT','BEFORE_EACH','mocha/lib/reporters/','jCpUR','wXpav','.js','910gNkLkm','originalTitle','now','TestRunFinished','finalResults','http_response','Lnmgu','yJgmn','\x20\x20<dd><pre><code>','_buildCreated','err','QcUKX','expanded','root','decreaseIndent','etvLp','syYvO','comma','LogCreated','javascript','<section\x20class=\x22suite\x22>','green','file','before\x20each','split','zuwMA','constants','bs:addPlatformDetails:','scopes','ctx','\x20\x20<dt\x20class=\x22error\x22>','write','\x20%s','scope','dAPdo','VeUGF','mocha/lib/utils.js','LiiMZ','RUNNING','</code></pre></dd>','815448YJoMSz','BEFORE_ALL','exports','TestRunSkipped','fullTitle','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','docAppend','\x20\x20<dt>','atFfp','suiteCount','test_run_uuid','KHxEZ','bang','uzZBS','</dt>','rrrvN','199840McsQbF','CyvQg','util','PEaVc','TtSkQ','event_type','wTRZE','lItNs','integrations','testAnalyticsId','xunit','1715128TEdRyR','BPlJQ','runner','Runner','getInstance','JTVhC','20403QQSOFw','ebmid','removeAllListeners','hook_type','ZZsVz','reporterOption','forEach','failCount','hKsLe','pid','length','registerListeners','\x20(%dms)','AcFaZ','</h1>','getTime','uploadEventData','wrtQF','parent','includes','</dd>','qARUG','TaYUY','qHRWn','oxUni','Mocha','eGYde','_currentRetry','analyticsResult','symbols','CeRLc','GRJrU','hook_run','HookRunFinished','pending','failureCount','HookStarted','ZzAOz','WTnlX','MMlhE','tNYfe','Rjqez','failed','setCentralScannerData','before\x20all','result','../test-observability/mochaUtils','.git','../../../helpers/testhub/constants','finished_at','TestRunStarted','once','YQHGz','currentTest','iQAqw','relative','LddfJ','mocha/lib/reporters/base.js','mocha/lib/runnable.js','push','body','PYZnX','ZkBro','results','uuid','AssertionError','135eikhcm','dfHzH','slice','../../../helpers/test-observability/constants','redirectUrl','SHuGc','mzxmE','retryOf','\x20with\x20error\x20:\x20','4345JUHXYY','AFTER_ALL','aIrHZ','pass','sendTestRunEvent','RVcCD','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','call','<dl>','mocha','iSepX','EVENT','hook_run_uuid','inspect','checkmark','AFTER_EACH','title','skipped','../../../helpers/test-observability/requestQueueHandler','sep','File\x20path\x20could\x20not\x20be\x20found','euwnu','ZiOPk','DRhMh','prototype','_indents','reporterOptions','join','appendTestItemLog','wHYpW','BtRII','current_test','iJJND','CBTSessionCreated','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','Qeyps','2184XQQikt','after\x20all','current_hook','BZcBf','suites','consoleLog','titlePath','\x20-\x20','eeTmW','pJPKQ','yqXLO','path','</section>','name','2483228LGUODw','__indents','BWyMV','duration','FgmNU','hooks','50PsJRLt','failure_reason_expanded','docHtml','sVSOp','multiple','color'];a27_0x2ce9=function(){return _0x206028;};return a27_0x2ce9();}(function(_0x2d7d8d,_0x1dcb6c){const _0x5aca46=a27_0x155d,_0x3bf436=_0x2d7d8d();while(!![]){try{const _0x316b8c=-parseInt(_0x5aca46(0x260))/0x1+-parseInt(_0x5aca46(0x1cb))/0x2*(parseInt(_0x5aca46(0x271))/0x3)+parseInt(_0x5aca46(0x26b))/0x4+-parseInt(_0x5aca46(0x193))/0x5*(-parseInt(_0x5aca46(0x1b7))/0x6)+-parseInt(_0x5aca46(0x1d2))/0x7*(-parseInt(_0x5aca46(0x250))/0x8)+parseInt(_0x5aca46(0x18a))/0x9*(-parseInt(_0x5aca46(0x228))/0xa)+-parseInt(_0x5aca46(0x1c5))/0xb;if(_0x316b8c===_0x1dcb6c)break;else _0x3bf436['push'](_0x3bf436['shift']());}catch(_0x273e36){_0x3bf436['push'](_0x3bf436['shift']());}}}(a27_0x2ce9,0x3d0c3));function a27_0x155d(_0x27e5a4,_0x237910){const _0x2ce9ca=a27_0x2ce9();return a27_0x155d=function(_0x155daa,_0xb91433){_0x155daa=_0x155daa-0x155;let _0x2c3dd0=_0x2ce9ca[_0x155daa];return _0x2c3dd0;},a27_0x155d(_0x27e5a4,_0x237910);}const util=require(a27_0x5b5743(0x262)),fs=require('fs'),path=require(a27_0x5b5743(0x1c2)),{requireModule}=require(a27_0x5b5743(0x1ed)),Base=requireModule(a27_0x5b5743(0x181)),utils=requireModule(a27_0x5b5743(0x24c)),color=Base['color'],Mocha=requireModule(a27_0x5b5743(0x19c)),Runnable=requireModule(a27_0x5b5743(0x182)),{v4:uuidv4}=require(a27_0x5b5743(0x188)),bsSetupHelper=require(a27_0x5b5743(0x1ed)),testhubUtils=require('../../../helpers/testhub/utils'),centralScannerUtils=require(a27_0x5b5743(0x1ee)),testHubConstants=require(a27_0x5b5743(0x178)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),a27_0x416834={};a27_0x416834[a27_0x5b5743(0x174)]=a27_0x5b5743(0x251),a27_0x416834[a27_0x5b5743(0x1b8)]=a27_0x5b5743(0x194),a27_0x416834['before\x20each']=a27_0x5b5743(0x223),a27_0x416834['after\x20each']=a27_0x5b5743(0x1a2);const HOOK_TYPES_MAP=a27_0x416834,{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[a27_0x5b5743(0x26e)][a27_0x5b5743(0x242)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0x5b5743(0x242)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a27_0x5b5743(0x176)),{consoleHolder}=require(a27_0x5b5743(0x18d)),SessionHandler=require(a27_0x5b5743(0x203)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a27_0x5b5743(0x1a5)),requestQueueHandler=RequestQueueHandler[a27_0x5b5743(0x26f)]();class MyReporter{constructor(_0x1beb98,_0x216471){const _0x23b85c=a27_0x5b5743,_0x4ff835={'ToUmt':function(_0x558d2f,_0x35059a){return _0x558d2f===_0x35059a;},'uGsvI':_0x23b85c(0x1d8),'tNYfe':function(_0x4a7409,_0x19c58c){return _0x4a7409===_0x19c58c;},'BtRII':function(_0x126d40,_0x1a1e57){return _0x126d40+_0x1a1e57;},'NViDc':function(_0x2c4f51,_0x344d9d,_0x2d44dc){return _0x2c4f51(_0x344d9d,_0x2d44dc);},'lItNs':_0x23b85c(0x23d),'BWyMV':_0x23b85c(0x1da),'ZkBro':function(_0x11623f,_0xe74bd8,_0x1abd18){return _0x11623f(_0xe74bd8,_0x1abd18);},'zexux':'light','IxBzT':'%s\x20-\x20%s','pmgmo':_0x23b85c(0x24e),'iJJND':function(_0x1a21d9,_0x4f1aa6){return _0x1a21d9===_0x4f1aa6;},'CeRLc':_0x23b85c(0x213),'VeUGF':function(_0x129050,_0x40ba6a){return _0x129050===_0x40ba6a;},'wXpav':function(_0x44975a){return _0x44975a();},'GRJrU':'HookRunStarted','CyvQg':_0x23b85c(0x169),'cMIZm':_0x23b85c(0x21e),'PEaVc':function(_0x797f2b,_0x3db784){return _0x797f2b===_0x3db784;},'ZUNAh':_0x23b85c(0x1dc),'GWoFw':_0x23b85c(0x1a1),'igpxz':_0x23b85c(0x196),'DsiVw':_0x23b85c(0x248),'SHuGc':function(_0x1ba777,_0xa3ae84,_0x43b3d3){return _0x1ba777(_0xa3ae84,_0x43b3d3);},'sSVla':_0x23b85c(0x27d),'FAlaa':_0x23b85c(0x212),'hKsLe':'\x20\x20%d)\x20%s','pOAkV':function(_0x48c9c6,_0xb9f2){return _0x48c9c6===_0xb9f2;},'Qeyps':'bright\x20yellow','YuUaA':_0x23b85c(0x1f1),'pikni':function(_0x103f6f,_0x564c57){return _0x103f6f===_0x564c57;},'FgmNU':'dot','zuwMA':function(_0x417d4f,_0x5a87c7){return _0x417d4f===_0x5a87c7;},'iSepX':'slow','ZzAOz':function(_0x158e05,_0x1564ce){return _0x158e05===_0x1564ce;},'urXru':function(_0x50d54e,_0x36a5f5){return _0x50d54e===_0x36a5f5;},'gdipK':function(_0x52b110,_0x5435d2){return _0x52b110===_0x5435d2;},'YKNnQ':_0x23b85c(0x218),'dAPdo':function(_0x1ed982,_0x50004a){return _0x1ed982===_0x50004a;},'tFFGG':_0x23b85c(0x16a),'BPlJQ':function(_0x58420d){return _0x58420d();},'TtSkQ':_0x23b85c(0x253),'fCNxk':function(_0x5a3615,_0x5d3cc4){return _0x5a3615===_0x5d3cc4;},'RVcCD':function(_0x1b58f5,_0x520052){return _0x1b58f5===_0x520052;},'WTnlX':function(_0x4285d7,_0x515f6d){return _0x4285d7(_0x515f6d);},'DRhMh':function(_0x3fa402,_0x484356){return _0x3fa402(_0x484356);},'usmIT':function(_0x3d356b,_0x121e7a){return _0x3d356b===_0x121e7a;},'JBSEl':function(_0x49735a,_0x256731){return _0x49735a===_0x256731;},'HYWti':_0x23b85c(0x26a),'dqwJt':function(_0x25d71c,_0x3415d7){return _0x25d71c(_0x3415d7);},'YQHGz':function(_0x4449db,_0x57f2ed){return _0x4449db===_0x57f2ed;},'mzxmE':function(_0x4258a0,_0x4a1d47){return _0x4258a0(_0x4a1d47);},'ZCALJ':function(_0x4f97ea,_0xf06f97){return _0x4f97ea!==_0xf06f97;}};this['type']=_0x216471[_0x23b85c(0x276)][_0x23b85c(0x1df)],this[_0x23b85c(0x206)]=_0x4ff835[_0x23b85c(0x226)](isTestObservabilitySession),Base[_0x23b85c(0x19a)](this,_0x1beb98,_0x216471),this[_0x23b85c(0x1ac)]=0x0,this[_0x23b85c(0x278)]=0x0,this[_0x23b85c(0x187)]=[],this[_0x23b85c(0x22c)]=[],this[_0x23b85c(0x259)]=0x0,this[_0x23b85c(0x231)]=![],this['_testResults']=[],this[_0x23b85c(0x20b)]=_0x4ff835[_0x23b85c(0x226)](getTestEnv),this['_paths']=new PathHelper({'cwd':process['cwd']()},this[_0x23b85c(0x20b)][_0x23b85c(0x1d7)]),this['_upstreamConfig']=_0x216471[_0x23b85c(0x276)][_0x23b85c(0x1e6)],this['registerListeners']();_0x4ff835['JBSEl'](this[_0x23b85c(0x1df)],_0x4ff835['CeRLc'])&&(this[_0x23b85c(0x1cd)]='',this[_0x23b85c(0x1c6)]=0x2);_0x1beb98[_0x23b85c(0x17b)](EVENT_RUN_BEGIN,async()=>{const _0x4f83de=_0x23b85c;_0x4ff835['ToUmt'](this[_0x4f83de(0x1df)],_0x4ff835[_0x4f83de(0x20e)])&&Base[_0x4f83de(0x1bc)]();})['on'](EVENT_SUITE_BEGIN,_0x269a76=>{const _0x4d26b9=_0x23b85c;if(_0x269a76['root'])return;if(_0x4ff835[_0x4d26b9(0x170)](this[_0x4d26b9(0x1df)],_0x4ff835[_0x4d26b9(0x20e)]))this[_0x4d26b9(0x1d6)](),Base[_0x4d26b9(0x1bc)](_0x4ff835[_0x4d26b9(0x1b1)](_0x4ff835['BtRII'](this[_0x4d26b9(0x1fd)](),_0x4ff835[_0x4d26b9(0x1de)](color,_0x4ff835[_0x4d26b9(0x267)],_0x4ff835[_0x4d26b9(0x1c7)])),_0x4ff835[_0x4d26b9(0x186)](color,_0x4ff835[_0x4d26b9(0x21b)],_0x4ff835[_0x4d26b9(0x222)])),_0x4ff835['pmgmo'],_0x269a76[_0x4d26b9(0x1a3)],global[_0x4d26b9(0x210)]);else _0x4ff835[_0x4d26b9(0x1b3)](this[_0x4d26b9(0x1df)],_0x4ff835[_0x4d26b9(0x166)])&&(this[_0x4d26b9(0x256)](this[_0x4d26b9(0x1fd)]()+_0x4d26b9(0x23c)),++this[_0x4d26b9(0x1c6)],this[_0x4d26b9(0x256)](this[_0x4d26b9(0x1fd)]()+'<h1>'+utils[_0x4d26b9(0x220)](_0x269a76['title']+_0x4d26b9(0x1be)+global[_0x4d26b9(0x210)])+_0x4d26b9(0x156)),this[_0x4d26b9(0x256)](this[_0x4d26b9(0x1fd)]()+_0x4d26b9(0x19b)));})['on'](EVENT_HOOK_BEGIN,async _0x5ee55a=>{const _0x207148=_0x23b85c;if(_0x4ff835[_0x207148(0x24b)](testhubUtils[_0x207148(0x201)](testHubConstants[_0x207148(0x19e)][_0x207148(0x16c)]),!![])){if(!_0x5ee55a[_0x207148(0x1d9)])_0x5ee55a[_0x207148(0x1d9)]=_0x4ff835[_0x207148(0x226)](uuidv4);else _0x5ee55a[_0x207148(0x1f2)]&&(_0x5ee55a[_0x207148(0x1d9)]=_0x4ff835[_0x207148(0x226)](uuidv4),delete _0x5ee55a[_0x207148(0x1f2)]);_0x5ee55a[_0x207148(0x1ff)]=new Date()[_0x207148(0x200)](),this[_0x207148(0x1b9)]=_0x5ee55a,await this[_0x207148(0x197)](_0x5ee55a,undefined,![],_0x4ff835[_0x207148(0x167)]);}})['on'](EVENT_HOOK_END,async _0x286a92=>{const _0x5504b4=_0x23b85c;_0x4ff835[_0x5504b4(0x24b)](testhubUtils[_0x5504b4(0x201)](testHubConstants['EVENT']['HookFinished']),!![])&&(!_0x286a92[_0x5504b4(0x1f2)]&&(_0x286a92[_0x5504b4(0x1f2)]=!![],await this['sendTestRunEvent'](_0x286a92,undefined,![],_0x4ff835[_0x5504b4(0x261)])));})['on'](EVENT_SUITE_END,_0xf00399=>{const _0x50da19=_0x23b85c,_0x4df65b={'qHRWn':function(_0x337b5b,_0xeeb850){return _0x4ff835['iJJND'](_0x337b5b,_0xeeb850);},'oxUni':_0x4ff835[_0x50da19(0x217)],'LddfJ':function(_0x11aed8,_0x1f7aef){const _0x445340=_0x50da19;return _0x4ff835[_0x445340(0x263)](_0x11aed8,_0x1f7aef);},'TaYUY':_0x4ff835['ZUNAh'],'yJgmn':function(_0x424dda,_0x5df88c){const _0x4b70fb=_0x50da19;return _0x4ff835[_0x4b70fb(0x1b1)](_0x424dda,_0x5df88c);},'sjhwB':function(_0x176a97,_0x52585f,_0x355684){const _0x9f54d3=_0x50da19;return _0x4ff835[_0x9f54d3(0x1de)](_0x176a97,_0x52585f,_0x355684);},'SwclU':_0x4ff835[_0x50da19(0x215)],'jCpUR':function(_0x57255b,_0x5c4d6b){const _0x3a1ab5=_0x50da19;return _0x4ff835[_0x3a1ab5(0x1b1)](_0x57255b,_0x5c4d6b);},'pJPKQ':function(_0x462e4d,_0x789327,_0x658904){return _0x4ff835['ZkBro'](_0x462e4d,_0x789327,_0x658904);},'HQPIB':_0x4ff835['igpxz'],'TJUHn':_0x4ff835['DsiVw'],'FvoCf':function(_0x42514c,_0x304f58){const _0x3d6411=_0x50da19;return _0x4ff835[_0x3d6411(0x1b1)](_0x42514c,_0x304f58);},'SGwZN':function(_0x4feb5a,_0x4a0c3c,_0xbf3415){const _0x3d350a=_0x50da19;return _0x4ff835[_0x3d350a(0x18f)](_0x4feb5a,_0x4a0c3c,_0xbf3415);},'vxqAx':_0x4ff835[_0x50da19(0x1e0)],'zYizP':function(_0x44ad77,_0x46d775){const _0x1e5667=_0x50da19;return _0x4ff835[_0x1e5667(0x1b1)](_0x44ad77,_0x46d775);},'dfHzH':_0x4ff835[_0x50da19(0x216)],'mamVW':_0x4ff835[_0x50da19(0x279)]};if(_0xf00399[_0x50da19(0x235)])return;if(_0x4ff835['pOAkV'](this['type'],_0x4ff835['uGsvI']))Base[_0x50da19(0x1bc)](),Base['consoleLog'](_0x4ff835[_0x50da19(0x1b1)](_0x4ff835['BtRII'](this[_0x50da19(0x1fd)](),_0x4ff835[_0x50da19(0x18f)](color,_0x4ff835[_0x50da19(0x1b6)],_0x4ff835['BWyMV'])),_0x4ff835[_0x50da19(0x1de)](color,_0x4ff835['zexux'],_0x4ff835['IxBzT'])),_0x4ff835[_0x50da19(0x1fb)],_0xf00399[_0x50da19(0x1a3)],global[_0x50da19(0x210)]),this['results'][_0x50da19(0x277)](_0x3fb8f9=>{const _0x49efc5=_0x50da19;if(_0x4df65b[_0x49efc5(0x15f)](_0x3fb8f9[_0x49efc5(0x207)],_0x4df65b[_0x49efc5(0x160)])){var _0x2ef7c7;_0x4df65b[_0x49efc5(0x180)](_0x3fb8f9[_0x49efc5(0x1f0)],_0x4df65b[_0x49efc5(0x15e)])?(_0x2ef7c7=_0x4df65b[_0x49efc5(0x22f)](_0x4df65b[_0x49efc5(0x22f)](this[_0x49efc5(0x1fd)](),_0x4df65b[_0x49efc5(0x1f7)](color,_0x4df65b['SwclU'],_0x4df65b[_0x49efc5(0x225)]('\x20\x20',Base[_0x49efc5(0x165)]['ok']))),_0x4df65b[_0x49efc5(0x1c0)](color,_0x4df65b['HQPIB'],_0x4df65b[_0x49efc5(0x21f)])),Base[_0x49efc5(0x1bc)](_0x2ef7c7,_0x3fb8f9[_0x49efc5(0x1a3)])):(_0x2ef7c7=_0x4df65b[_0x49efc5(0x22f)](_0x4df65b[_0x49efc5(0x204)](_0x4df65b[_0x49efc5(0x22f)](this['indent'](),_0x4df65b[_0x49efc5(0x1ef)](color,_0x4df65b['SwclU'],_0x4df65b[_0x49efc5(0x204)]('\x20\x20',Base[_0x49efc5(0x165)]['ok']))),_0x4df65b[_0x49efc5(0x1f7)](color,_0x4df65b['HQPIB'],_0x4df65b['TJUHn'])),_0x4df65b[_0x49efc5(0x1c0)](color,_0x3fb8f9['speed'],_0x4df65b[_0x49efc5(0x1f9)])),Base[_0x49efc5(0x1bc)](_0x2ef7c7,_0x3fb8f9[_0x49efc5(0x1a3)],_0x3fb8f9['duration']));}else Base[_0x49efc5(0x1bc)](_0x4df65b['zYizP'](this['indent'](),_0x4df65b[_0x49efc5(0x1ef)](color,_0x4df65b[_0x49efc5(0x18b)],_0x4df65b['mamVW'])),++this[_0x49efc5(0x278)],_0x3fb8f9[_0x49efc5(0x1a3)]);}),this[_0x50da19(0x236)]();else _0x4ff835[_0x50da19(0x1e7)](this[_0x50da19(0x1df)],_0x4ff835['CeRLc'])&&(this[_0x50da19(0x256)](this[_0x50da19(0x1fd)]()+'</dl>'),--this[_0x50da19(0x1c6)],this[_0x50da19(0x256)](this['indent']()+_0x50da19(0x1c3)),--this[_0x50da19(0x1c6)]);Array[_0x50da19(0x1ab)][_0x50da19(0x183)][_0x50da19(0x1f8)](this[_0x50da19(0x22c)],this['results']),this['results']=[];})['on'](EVENT_TEST_PASS,async _0x1c409c=>{const _0x52e21f=_0x23b85c;this[_0x52e21f(0x187)][_0x52e21f(0x183)]({'speed':_0x1c409c[_0x52e21f(0x1f0)],'suite':_0x1c409c[_0x52e21f(0x15a)]['title'],'title':_0x1c409c[_0x52e21f(0x1a3)],'fullTitle':_0x1c409c[_0x52e21f(0x254)](),'duration':_0x1c409c[_0x52e21f(0x1c8)],'state':_0x1c409c[_0x52e21f(0x207)],'err':{},'currentRetry':_0x1c409c['currentRetry'](),'titlePathV':_0x1c409c['titlePath'](),'isPending':_0x1c409c['isPending']()});if(_0x4ff835[_0x52e21f(0x20c)](this[_0x52e21f(0x1df)],_0x4ff835[_0x52e21f(0x1c9)]))_0x4ff835[_0x52e21f(0x241)](_0x1c409c['speed'],_0x4ff835[_0x52e21f(0x19d)])?process[_0x52e21f(0x1f5)]['write'](Base[_0x52e21f(0x1d0)](_0x4ff835[_0x52e21f(0x1b6)],Base[_0x52e21f(0x165)]['dot'])):process[_0x52e21f(0x1f5)][_0x52e21f(0x247)](Base['color'](_0x1c409c[_0x52e21f(0x1f0)],Base[_0x52e21f(0x165)][_0x52e21f(0x21d)]));else{if(_0x4ff835[_0x52e21f(0x16d)](this['type'],_0x4ff835[_0x52e21f(0x166)])){this[_0x52e21f(0x256)](this['indent']()+_0x52e21f(0x257)+utils[_0x52e21f(0x220)](_0x1c409c[_0x52e21f(0x1a3)])+_0x52e21f(0x25e)),this[_0x52e21f(0x256)](this[_0x52e21f(0x1fd)]()+_0x52e21f(0x257)+utils['escape'](_0x1c409c[_0x52e21f(0x23e)])+_0x52e21f(0x25e));var _0x480c96=utils['escape'](utils['clean'](_0x1c409c[_0x52e21f(0x184)]));this['docAppend'](this[_0x52e21f(0x1fd)]()+_0x52e21f(0x230)+_0x480c96+_0x52e21f(0x24f));}}_0x4ff835['urXru'](testhubUtils[_0x52e21f(0x201)](),!![])&&(!_0x1c409c[_0x52e21f(0x1f2)]&&(_0x1c409c['markedStatus']=!![],await this[_0x52e21f(0x197)](_0x1c409c)));})['on'](EVENT_TEST_FAIL,async(_0x520784,_0x18d74d)=>{const _0x45f0c6=_0x23b85c;this['results'][_0x45f0c6(0x183)]({'title':_0x520784[_0x45f0c6(0x1a3)],'suite':_0x520784['parent'][_0x45f0c6(0x1a3)],'state':_0x520784[_0x45f0c6(0x207)],'err':{'message':util[_0x45f0c6(0x1a0)](_0x18d74d)},'fullTitle':_0x520784['fullTitle'](),'speed':_0x520784[_0x45f0c6(0x1f0)],'currentRetry':_0x520784['currentRetry'](),'titlePathV':_0x520784[_0x45f0c6(0x1bd)]()});if(_0x4ff835['gdipK'](this[_0x45f0c6(0x1df)],_0x4ff835['FgmNU']))process['stdout'][_0x45f0c6(0x247)](Base['color'](_0x4ff835[_0x45f0c6(0x216)],Base[_0x45f0c6(0x165)][_0x45f0c6(0x25c)]));else{if(_0x4ff835['PEaVc'](this[_0x45f0c6(0x1df)],_0x4ff835[_0x45f0c6(0x166)])){const _0x3bd055=_0x4ff835['YKNnQ'][_0x45f0c6(0x240)]('|');let _0x553c4f=0x0;while(!![]){switch(_0x3bd055[_0x553c4f++]){case'0':this[_0x45f0c6(0x256)](this[_0x45f0c6(0x1fd)]()+'\x20\x20<dd\x20class=\x22error\x22><pre><code>'+_0x44be79+'</code></pre></dd>');continue;case'1':this[_0x45f0c6(0x256)](this[_0x45f0c6(0x1fd)]()+'\x20\x20<dt\x20class=\x22error\x22>'+utils[_0x45f0c6(0x220)](_0x520784[_0x45f0c6(0x23e)])+'</dt>');continue;case'2':this[_0x45f0c6(0x256)](this[_0x45f0c6(0x1fd)]()+_0x45f0c6(0x246)+utils[_0x45f0c6(0x220)](_0x520784[_0x45f0c6(0x1a3)])+_0x45f0c6(0x25e));continue;case'3':this[_0x45f0c6(0x256)](this[_0x45f0c6(0x1fd)]()+'\x20\x20<dd\x20class=\x22error\x22>'+utils[_0x45f0c6(0x220)](_0x520784[_0x45f0c6(0x232)])+_0x45f0c6(0x15c));continue;case'4':var _0x44be79=utils[_0x45f0c6(0x220)](utils[_0x45f0c6(0x214)](_0x520784[_0x45f0c6(0x184)]));continue;}break;}}}if(_0x4ff835[_0x45f0c6(0x24a)](testhubUtils[_0x45f0c6(0x201)](testHubConstants[_0x45f0c6(0x19e)]['HookFinished']),!![])){if(!_0x520784['markedStatus']){_0x520784[_0x45f0c6(0x1f2)]=!![];if(_0x520784[_0x45f0c6(0x269)])await this['sendTestRunEvent'](_0x520784,_0x18d74d);else _0x520784[_0x45f0c6(0x1d9)]&&await this[_0x45f0c6(0x197)](_0x520784,_0x18d74d,![],_0x4ff835['CyvQg']);}}})['on'](EVENT_TEST_PENDING,async _0x53d5f8=>{const _0x17f136=_0x23b85c;this['results'][_0x17f136(0x183)]({'title':_0x53d5f8[_0x17f136(0x1a3)],'suite':_0x53d5f8['parent'][_0x17f136(0x1a3)],'state':_0x53d5f8[_0x17f136(0x207)],'err':{},'fullTitle':_0x53d5f8[_0x17f136(0x254)](),'speed':_0x53d5f8[_0x17f136(0x1f0)],'currentRetry':_0x53d5f8['currentRetry'](),'titlePathV':_0x53d5f8[_0x17f136(0x1bd)]()}),_0x4ff835[_0x17f136(0x1b3)](this[_0x17f136(0x1df)],_0x4ff835[_0x17f136(0x1c9)])&&process['stdout']['write'](Base[_0x17f136(0x1d0)](_0x4ff835['tFFGG'],Base[_0x17f136(0x165)][_0x17f136(0x239)])),_0x4ff835[_0x17f136(0x24a)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x53d5f8['testAnalyticsId']&&(_0x53d5f8[_0x17f136(0x269)]=_0x4ff835[_0x17f136(0x26c)](uuidv4)),!_0x53d5f8[_0x17f136(0x1f2)]&&(_0x53d5f8['markedStatus']=!![],await this[_0x17f136(0x197)](_0x53d5f8,undefined,![],_0x4ff835[_0x17f136(0x264)])));})['on'](EVENT_TEST_BEGIN,async _0x2637df=>{const _0x282562=_0x23b85c;_0x4ff835[_0x282562(0x1e5)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&await this['testStarted'](_0x2637df);})['on'](EVENT_TEST_END,async _0x39e32b=>{const _0x2f5c4c=_0x23b85c;_0x4ff835[_0x2f5c4c(0x241)](testhubUtils[_0x2f5c4c(0x201)](),!![])&&(!_0x39e32b['markedStatus']&&(_0x39e32b[_0x2f5c4c(0x1f2)]=!![],await this[_0x2f5c4c(0x197)](_0x39e32b)));})['once'](EVENT_RUN_END,async()=>{const _0x5de3e6=_0x23b85c;try{if(_0x4ff835[_0x5de3e6(0x198)](testhubUtils[_0x5de3e6(0x201)](),!![])){const _0x2d9eb4=_0x4ff835[_0x5de3e6(0x16e)](getHookSkippedTests,this[_0x5de3e6(0x26d)][_0x5de3e6(0x209)]);for(const _0x1c8b7c of _0x2d9eb4){!_0x1c8b7c[_0x5de3e6(0x269)]&&(_0x1c8b7c['testAnalyticsId']=_0x4ff835[_0x5de3e6(0x26c)](uuidv4)),await this[_0x5de3e6(0x197)](_0x1c8b7c,undefined,![],_0x4ff835[_0x5de3e6(0x264)]);}}}catch(_0x3083e4){_0x4ff835[_0x5de3e6(0x1aa)](debug,_0x5de3e6(0x1b5)+_0x3083e4);}await requestQueueHandler[_0x5de3e6(0x1fe)](),_0x4ff835['usmIT'](this[_0x5de3e6(0x1df)],_0x4ff835['CeRLc'])&&Base[_0x5de3e6(0x1bc)](this[_0x5de3e6(0x1cd)]);});if(this[_0x23b85c(0x1df)]&&![_0x4ff835['CeRLc'],_0x4ff835[_0x23b85c(0x1f6)],_0x4ff835[_0x23b85c(0x20e)],_0x4ff835[_0x23b85c(0x1c9)]][_0x23b85c(0x15b)](this[_0x23b85c(0x1df)])){const _0x5ad850=this['type']['trim']();this[_0x23b85c(0x1e9)]=null;try{this[_0x23b85c(0x1e9)]=_0x4ff835[_0x23b85c(0x1e4)](requireModule,_0x23b85c(0x224)+_0x5ad850+_0x23b85c(0x227));}catch{}if(_0x4ff835[_0x23b85c(0x17c)](this[_0x23b85c(0x1e9)],null))try{this[_0x23b85c(0x1e9)]=_0x4ff835[_0x23b85c(0x190)](require,_0x5ad850);}catch(_0x1cac27){console[_0x23b85c(0x205)]('Failed\x20to\x20load\x20reporter\x20'+_0x5ad850);}if(_0x4ff835[_0x23b85c(0x1d3)](this[_0x23b85c(0x1e9)],null)){const _0x4f4513={};_0x4f4513[_0x23b85c(0x1ad)]=_0x216471[_0x23b85c(0x276)],this[_0x23b85c(0x1e9)]=new this[(_0x23b85c(0x1e9))](_0x1beb98,_0x4f4513);}}}[a27_0x5b5743(0x1fd)](){const _0x377aa8=a27_0x5b5743,_0x272954={'wTNly':function(_0x641956,_0x18bcfa){return _0x641956(_0x18bcfa);}};return _0x272954['wTNly'](Array,this[_0x377aa8(0x1ac)])[_0x377aa8(0x1ae)]('\x20\x20');}[a27_0x5b5743(0x1d6)](){const _0x2388a3=a27_0x5b5743;this[_0x2388a3(0x1ac)]++;}[a27_0x5b5743(0x236)](){const _0x2d00fa=a27_0x5b5743;this[_0x2d00fa(0x1ac)]--;}[a27_0x5b5743(0x256)](_0x4276df){const _0x3a80ea=a27_0x5b5743;this[_0x3a80ea(0x1cd)]+=_0x4276df;}['done'](_0x25df67,_0x420d9a){const _0x1de7f0=a27_0x5b5743,_0x72b7e1={'KDINL':function(_0x25cee5,_0x1bb95a){return _0x25cee5(_0x1bb95a);}},_0x4c573a={};_0x4c573a[_0x1de7f0(0x16b)]=_0x25df67,_0x4c573a[_0x1de7f0(0x187)]=this[_0x1de7f0(0x22c)],_0x72b7e1[_0x1de7f0(0x1e1)](_0x420d9a,_0x4c573a);}[a27_0x5b5743(0x27c)](){const _0x9f09dc=a27_0x5b5743;process['removeAllListeners']('bs:addLog:'+process[_0x9f09dc(0x27a)]),process['on']('bs:addLog:'+process['pid'],this[_0x9f09dc(0x1af)]['bind'](this)),process[_0x9f09dc(0x273)](_0x9f09dc(0x243)+process['pid']),process['on'](_0x9f09dc(0x243)+process[_0x9f09dc(0x27a)],this['appendTestPlatform'][_0x9f09dc(0x1d1)](this));}['testStarted']=async _0x289949=>{const _0x44b41f=a27_0x5b5743,_0x22d036={'syYvO':function(_0xb8f5ba){return _0xb8f5ba();},'XWxqw':function(_0xe731b8,_0x1ee90f){return _0xe731b8>_0x1ee90f;},'qiqQq':function(_0x4f313f,_0x29ff41){return _0x4f313f===_0x29ff41;},'KHxEZ':_0x44b41f(0x17a),'xBoMt':function(_0x235e63,_0x432824){return _0x235e63(_0x432824);}};try{const _0x81f072=this[_0x44b41f(0x1b2)];this[_0x44b41f(0x1b2)]=_0x289949,_0x289949['retryOf']=null,_0x289949['testAnalyticsId']=_0x22d036[_0x44b41f(0x238)](uuidv4),_0x289949[_0x44b41f(0x1ff)]=new Date()[_0x44b41f(0x200)](),_0x22d036[_0x44b41f(0x1fa)](_0x289949[_0x44b41f(0x163)],0x0)&&_0x81f072&&_0x22d036['qiqQq'](_0x81f072[_0x44b41f(0x1a3)],_0x289949['title'])?(_0x289949[_0x44b41f(0x191)]=_0x81f072['testAnalyticsId'],await this['sendTestRunEvent'](_0x289949,undefined,![],_0x22d036[_0x44b41f(0x25b)]),_0x81f072[_0x44b41f(0x207)]=STATE_FAILED,await this[_0x44b41f(0x197)](_0x81f072,undefined,!![])):await this[_0x44b41f(0x197)](_0x289949,undefined,![],_0x22d036['KHxEZ']);}catch(_0x2edac7){_0x22d036[_0x44b41f(0x20d)](debug,_0x44b41f(0x1f3)+_0x2edac7);}};[a27_0x5b5743(0x197)]=async(_0x38acae,_0x1311a3=undefined,_0x4ebbed=![],_0x5ca3be=a27_0x5b5743(0x22b))=>{const _0x2a922b=a27_0x5b5743,_0x12659d={'JTVhC':function(_0x50f198,_0x120dc9){return _0x50f198===_0x120dc9;},'Rjqez':function(_0x267d4c,_0x1af336){return _0x267d4c!==_0x1af336;},'LxfhP':'test','FZnJT':'err','mvjUS':_0x2a922b(0x1a7),'Iexjk':_0x2a922b(0x161),'ldywA':_0x2a922b(0x23b),'Lnmgu':function(_0x25f4da,_0x763a36){return _0x25f4da===_0x763a36;},'qARUG':_0x2a922b(0x253),'iQAqw':_0x2a922b(0x1a4),'wTRZE':function(_0x41e85b,_0x4d4c29){return _0x41e85b-_0x4d4c29;},'uzZBS':_0x2a922b(0x189),'gkWBc':_0x2a922b(0x1e3),'BdKiv':'started_at','pegbL':_0x2a922b(0x179),'XDNwY':function(_0x1466d6,_0x375054){return _0x1466d6(_0x375054);},'UGtEu':_0x2a922b(0x169),'sVSOp':_0x2a922b(0x172),'wHYpW':_0x2a922b(0x21e),'aIrHZ':_0x2a922b(0x23f),'sCwgI':function(_0x4be388,_0x1a6b46){return _0x4be388(_0x1a6b46);},'iuExM':'failure','fGWvt':_0x2a922b(0x1e8),'rmwrf':_0x2a922b(0x20a),'rrrvN':_0x2a922b(0x1cc),'etvLp':_0x2a922b(0x234),'yqXLO':_0x2a922b(0x22b),'MMlhE':function(_0x2bd673,_0x51ecf1){return _0x2bd673(_0x51ecf1);},'ebmid':function(_0x573883,_0x17c120){return _0x573883===_0x17c120;},'atFfp':'hook_type','AcFaZ':_0x2a922b(0x168),'ZZsVz':'test_run','AXjZl':function(_0x218ace,_0x5cde6c){return _0x218ace(_0x5cde6c);}};try{if(_0x38acae[_0x2a922b(0x184)]&&_0x38acae[_0x2a922b(0x184)][_0x2a922b(0x1fc)](/browserstack internal helper hook/))return;let _0x1d65d6=[];if(_0x12659d['JTVhC'](_0x38acae[_0x2a922b(0x207)],STATE_FAILED)){if(_0x12659d[_0x2a922b(0x171)](_0x38acae[_0x2a922b(0x232)],undefined))_0x1d65d6=_0x38acae[_0x2a922b(0x232)][_0x2a922b(0x1cf)]?[_0x38acae[_0x2a922b(0x232)]['multiple'],_0x12659d['LxfhP']]:[_0x38acae[_0x2a922b(0x232)],_0x12659d['FZnJT']];else _0x12659d[_0x2a922b(0x171)](_0x1311a3,undefined)?_0x1d65d6=[_0x1311a3,_0x12659d[_0x2a922b(0x1ec)]]:_0x1d65d6=[];}const _0x2e8d03=_0x12659d[_0x2a922b(0x171)](_0x38acae[_0x2a922b(0x232)],undefined)?_0x38acae[_0x2a922b(0x232)][_0x2a922b(0x1d5)]():_0x12659d[_0x2a922b(0x171)](_0x1311a3,undefined)?_0x1311a3[_0x2a922b(0x1d5)]():undefined;let _0x3c9609;try{_0x3c9609=this[_0x2a922b(0x20f)](_0x38acae);}catch(_0x492adc){_0x3c9609=null;}const _0x1eedba=_0x3c9609?this['findGitConfig'](_0x3c9609):null,_0x3cfbcf=_0x3c9609?this['_paths']['prefixTestPath'](this[_0x2a922b(0x20f)](_0x38acae)):_0x12659d['mvjUS'],_0x17e3b3={'framework':_0x12659d['Iexjk'],'uuid':_0x38acae[_0x2a922b(0x269)]||_0x38acae[_0x2a922b(0x1d9)],'name':_0x38acae[_0x2a922b(0x1a3)],'body':{'lang':_0x12659d[_0x2a922b(0x21a)],'code':_0x38acae['body']},'scope':this[_0x2a922b(0x249)](_0x38acae),'scopes':this[_0x2a922b(0x244)](_0x38acae),'identifier':_0x38acae[_0x2a922b(0x254)](),'file_name':_0x3cfbcf,'vc_filepath':_0x1eedba?path[_0x2a922b(0x17f)](_0x1eedba,_0x3c9609):null,'location':_0x3cfbcf,'result':_0x12659d['Lnmgu'](_0x5ca3be,_0x12659d[_0x2a922b(0x15d)])?_0x12659d[_0x2a922b(0x17e)]:this['analyticsResult'](_0x38acae[_0x2a922b(0x207)]),'failure_reason':_0x2e8d03,'duration_in_ms':_0x38acae[_0x2a922b(0x1c8)]||(_0x5ca3be[_0x2a922b(0x1fc)](/Finished/)||_0x5ca3be[_0x2a922b(0x1fc)](/Skipped/)?_0x12659d[_0x2a922b(0x266)](Date[_0x2a922b(0x22a)](),new Date(_0x38acae[_0x2a922b(0x1ff)])[_0x2a922b(0x157)]()):null),'started_at':_0x38acae[_0x2a922b(0x1ff)],'finished_at':_0x5ca3be['match'](/Finished/)||_0x5ca3be[_0x2a922b(0x1fc)](/Skipped/)?new Date()[_0x2a922b(0x200)]():null,'failure':failureData[_0x2a922b(0x1f8)](null,_0x1d65d6),'failure_type':!_0x2e8d03?null:_0x2e8d03[_0x2a922b(0x1fc)](/AssertionError/)?_0x12659d[_0x2a922b(0x25d)]:_0x12659d['gkWBc'],'retry_of':_0x38acae[_0x2a922b(0x191)]};testhubUtils[_0x2a922b(0x1d4)](_0x17e3b3,_0x5ca3be,_0x38acae,FRAMEWORKS[_0x2a922b(0x211)]);(_0x38acae[_0x2a922b(0x1f4)]||_0x38acae[_0x2a922b(0x18e)])&&centralScannerUtils[_0x2a922b(0x173)](_0x17e3b3,_0x38acae[_0x2a922b(0x1f4)],_0x38acae[_0x2a922b(0x18e)]);_0x12659d[_0x2a922b(0x270)](_0x5ca3be,_0x12659d['qARUG'])&&!_0x17e3b3[_0x12659d[_0x2a922b(0x1db)]]&&(_0x17e3b3[_0x12659d[_0x2a922b(0x1db)]]=_0x17e3b3[_0x12659d[_0x2a922b(0x1ea)]]);if(_0x5ca3be[_0x2a922b(0x1fc)](/HookRun/))[_0x17e3b3[_0x2a922b(0x274)],_0x17e3b3[_0x2a922b(0x1c4)]]=_0x12659d['XDNwY'](getHookDetails,_0x38acae['fullTitle']()||_0x38acae[_0x2a922b(0x229)]||_0x38acae[_0x2a922b(0x1a3)]),_0x12659d[_0x2a922b(0x22e)](_0x5ca3be,_0x12659d[_0x2a922b(0x219)])&&(_0x12659d[_0x2a922b(0x171)](_0x17e3b3[_0x2a922b(0x175)],_0x12659d[_0x2a922b(0x1ce)])&&(_0x17e3b3['result']=_0x12659d[_0x2a922b(0x1b0)]),_0x12659d['JTVhC'](_0x17e3b3['hook_type'],_0x12659d[_0x2a922b(0x195)])&&_0x12659d[_0x2a922b(0x270)](_0x17e3b3[_0x2a922b(0x175)],_0x12659d[_0x2a922b(0x1ce)])&&!_0x38acae[_0x2a922b(0x245)][_0x2a922b(0x17d)][_0x2a922b(0x1f2)]&&(_0x38acae[_0x2a922b(0x245)][_0x2a922b(0x17d)]['markedStatus']=!![],_0x38acae[_0x2a922b(0x245)][_0x2a922b(0x17d)][_0x2a922b(0x207)]=STATE_FAILED,await this[_0x2a922b(0x197)](_0x38acae['ctx'][_0x2a922b(0x17d)],undefined,!![])));else _0x5ca3be[_0x2a922b(0x1fc)](/TestRun/)&&_0x12659d['sCwgI'](mapTestHooks,_0x38acae);const _0x3467c0=_0x17e3b3[_0x12659d[_0x2a922b(0x1dd)]][0x0];_0x3467c0&&(_0x17e3b3[_0x12659d['fGWvt']]=_0x3467c0[_0x12659d['rmwrf']],_0x17e3b3[_0x12659d[_0x2a922b(0x25f)]]=_0x3467c0[_0x12659d[_0x2a922b(0x237)]]);[_0x12659d[_0x2a922b(0x1c1)],_0x12659d['qARUG']]['includes'](_0x5ca3be)&&(this['_testResults'][_0x2a922b(0x183)](_0x17e3b3),_0x17e3b3[_0x2a922b(0x1ca)]=_0x12659d[_0x2a922b(0x16f)](getHooksForTest,_0x38acae));const _0x1a6c3b={'event_type':_0x12659d[_0x2a922b(0x272)](_0x5ca3be,_0x12659d[_0x2a922b(0x15d)])?_0x12659d['yqXLO']:_0x5ca3be};_0x5ca3be['match'](/HookRun/)?(_0x17e3b3[_0x12659d['atFfp']]=HOOK_TYPES_MAP[_0x17e3b3[_0x12659d[_0x2a922b(0x258)]]],_0x1a6c3b[_0x12659d[_0x2a922b(0x155)]]=_0x17e3b3):_0x1a6c3b[_0x12659d[_0x2a922b(0x275)]]=_0x17e3b3,testhubUtils[_0x2a922b(0x1eb)](FRAMEWORKS[_0x2a922b(0x211)],_0x1a6c3b),await SessionHandler[_0x2a922b(0x158)](_0x1a6c3b);}catch(_0x51b820){_0x12659d['AXjZl'](debug,_0x2a922b(0x255)+_0x5ca3be+_0x2a922b(0x192)+_0x51b820);}};['findGitConfig'](_0x4c07da){const _0x255bc9=a27_0x5b5743,_0x375586={};_0x375586[_0x255bc9(0x208)]=function(_0x2f1871,_0x5d914d){return _0x2f1871===_0x5d914d;},_0x375586[_0x255bc9(0x1a9)]=_0x255bc9(0x177),_0x375586['ZCUiW']='config';const _0x5041a2=_0x375586,_0x13ec81=path[_0x255bc9(0x1a6)];if(_0x5041a2['kPASz'](_0x4c07da,null)||_0x5041a2[_0x255bc9(0x208)](_0x4c07da,'')||_0x5041a2[_0x255bc9(0x208)](_0x4c07da,_0x13ec81)||_0x5041a2[_0x255bc9(0x208)](_0x4c07da,path['dirname'](_0x4c07da)))return null;try{return fs[_0x255bc9(0x1e2)](path[_0x255bc9(0x1ae)](_0x4c07da,_0x5041a2['ZiOPk'],_0x5041a2['ZCUiW'])),_0x4c07da;}catch(_0x5a856d){const _0x2668e0=path[_0x255bc9(0x202)](_0x4c07da);return this['findGitConfig'](_0x2668e0);}}[a27_0x5b5743(0x1af)]=async _0x41f545=>{const _0x1a2a91=a27_0x5b5743,_0x2dfed6={'eeTmW':_0x1a2a91(0x23a),'PhmlH':function(_0x2f6b72,_0x436e27){return _0x2f6b72(_0x436e27);}};try{this[_0x1a2a91(0x1b9)]&&!this['current_hook'][_0x1a2a91(0x1f2)]&&(_0x41f545[_0x1a2a91(0x19f)]=this['current_hook'][_0x1a2a91(0x1d9)]);!_0x41f545['hook_run_uuid']&&this[_0x1a2a91(0x1b2)]&&!this[_0x1a2a91(0x1b2)][_0x1a2a91(0x1f2)]&&(_0x41f545[_0x1a2a91(0x25a)]=this[_0x1a2a91(0x1b2)][_0x1a2a91(0x269)]);if(_0x41f545[_0x1a2a91(0x19f)]||_0x41f545[_0x1a2a91(0x25a)]){const _0x4f8bb0={};_0x4f8bb0[_0x1a2a91(0x265)]=_0x2dfed6[_0x1a2a91(0x1bf)],_0x4f8bb0[_0x1a2a91(0x221)]=[_0x41f545],await SessionHandler[_0x1a2a91(0x158)](_0x4f8bb0);}}catch(_0x57df15){_0x2dfed6['PhmlH'](debug,_0x1a2a91(0x199)+_0x57df15);}};['appendTestPlatform']=async _0x5994d2=>{const _0x13a7d7=a27_0x5b5743,_0x1fe5d2={'UFscW':_0x13a7d7(0x22d),'LiiMZ':_0x13a7d7(0x1b4),'wrtQF':function(_0x4c1475,_0x4c4605){return _0x4c1475(_0x4c4605);}};try{const _0x19bbd8={};_0x19bbd8[_0x13a7d7(0x188)]=_0x5994d2[_0x13a7d7(0x188)]||this[_0x13a7d7(0x1b2)][_0x13a7d7(0x269)],_0x19bbd8[_0x13a7d7(0x268)]=_0x5994d2[_0x1fe5d2['UFscW']];const _0x4ad718=_0x19bbd8,_0xe52135={};_0xe52135[_0x13a7d7(0x265)]=_0x1fe5d2[_0x13a7d7(0x24d)],_0xe52135['test_run']=_0x4ad718,await SessionHandler['uploadEventData'](_0xe52135);}catch(_0x37902d){_0x1fe5d2[_0x13a7d7(0x159)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x37902d);}};[a27_0x5b5743(0x164)](_0x69677d){const _0x576243=a27_0x5b5743,_0x1444bf={};_0x1444bf[_0x576243(0x21c)]=_0x576243(0x21e),_0x1444bf['QcUKX']=_0x576243(0x16a),_0x1444bf[_0x576243(0x185)]=_0x576243(0x172);const _0x96fd37=_0x1444bf,_0x208230={};return _0x208230[STATE_PASSED]=_0x96fd37[_0x576243(0x21c)],_0x208230[STATE_PENDING]=_0x96fd37[_0x576243(0x233)],_0x208230[STATE_FAILED]=_0x96fd37['PYZnX'],_0x208230[_0x69677d];}['scope'](_0x202ab6){const _0x5b3591=a27_0x5b5743,_0x4563d7={};_0x4563d7[_0x5b3591(0x1ba)]=function(_0x22c57f,_0x42fce2){return _0x22c57f-_0x42fce2;};const _0x2ef717=_0x4563d7,_0x46c242=_0x202ab6[_0x5b3591(0x1bd)]();return _0x46c242[_0x5b3591(0x18c)](0x0,_0x2ef717['BZcBf'](_0x46c242[_0x5b3591(0x27b)],0x1))[_0x5b3591(0x1ae)]('\x20');}[a27_0x5b5743(0x244)](_0x21fb2f){const _0x3af4e9=a27_0x5b5743,_0x96a43c={};_0x96a43c[_0x3af4e9(0x162)]=function(_0x201e2b,_0x6819a8){return _0x201e2b-_0x6819a8;};const _0x5db777=_0x96a43c,_0x1ef65d=_0x21fb2f[_0x3af4e9(0x1bd)]();return _0x1ef65d[_0x3af4e9(0x18c)](0x0,_0x5db777[_0x3af4e9(0x162)](_0x1ef65d['length'],0x1));}['getRootParentFile'](_0x530a93){const _0x403603=a27_0x5b5743,_0x14d546={};_0x14d546[_0x403603(0x1a8)]=function(_0x1209bb,_0xaff619){return _0x1209bb>_0xaff619;};const _0x2e66d6=_0x14d546;if(_0x530a93['file'])return _0x530a93[_0x403603(0x23e)];if(_0x530a93[_0x403603(0x245)]){const _0x218667=_0x530a93['ctx']['currentTest']?this[_0x403603(0x20f)](_0x530a93[_0x403603(0x245)][_0x403603(0x17d)]):null;if(_0x218667)return _0x218667;}if(_0x530a93[_0x403603(0x15a)]){const _0x3ab75=this[_0x403603(0x20f)](_0x530a93[_0x403603(0x15a)])||(_0x530a93['parent'][_0x403603(0x245)]&&_0x530a93[_0x403603(0x15a)]['ctx'][_0x403603(0x17d)]?this[_0x403603(0x20f)](_0x530a93[_0x403603(0x15a)][_0x403603(0x245)]['currentTest']):null);if(_0x3ab75)return _0x3ab75;_0x530a93[_0x403603(0x15a)][_0x403603(0x1bb)]&&_0x2e66d6[_0x403603(0x1a8)](_0x530a93['parent'][_0x403603(0x1bb)][_0x403603(0x27b)],0x0)&&_0x530a93[_0x403603(0x15a)]['suites']['forEach'](_0x5da5b4=>{const _0x1ec4e1=_0x403603,_0x45f362=_0x5da5b4['ctx']?this[_0x1ec4e1(0x20f)](_0x5da5b4[_0x1ec4e1(0x245)]):null;if(_0x45f362)return _0x45f362;});}return null;}}module[a27_0x5b5743(0x252)]=MyReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a28_0x5983b0=a28_0x41a6;(function(_0x55948a,_0x18de34){const _0x3990c3=a28_0x41a6,_0x373bde=_0x55948a();while(!![]){try{const _0x4f8743=-parseInt(_0x3990c3(0x24f))/0x1*(-parseInt(_0x3990c3(0x225))/0x2)+parseInt(_0x3990c3(0x24d))/0x3+-parseInt(_0x3990c3(0x288))/0x4+parseInt(_0x3990c3(0x1fc))/0x5+-parseInt(_0x3990c3(0x238))/0x6+parseInt(_0x3990c3(0x210))/0x7*(-parseInt(_0x3990c3(0x1c1))/0x8)+parseInt(_0x3990c3(0x1d0))/0x9;if(_0x4f8743===_0x18de34)break;else _0x373bde['push'](_0x373bde['shift']());}catch(_0x3756aa){_0x373bde['push'](_0x373bde['shift']());}}}(a28_0x2fc1,0x7acdf));const chalk=require(a28_0x5983b0(0x1f7)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a28_0x5983b0(0x1cc)),helper=require(a28_0x5983b0(0x253)),utilities=require(a28_0x5983b0(0x207)),testOpsHelper=require(a28_0x5983b0(0x1c7)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x5983b0(0x268)),{requireModule,nestedKeyValue}=require('../../helpers/helper'),{getPercyOptions}=require(a28_0x5983b0(0x26b)),Base=requireModule(a28_0x5983b0(0x240)),collectFiles=requireModule('mocha/lib/cli/collect-files.js'),constants=require(a28_0x5983b0(0x1e5));function a28_0x41a6(_0x33e4bb,_0x599e60){const _0x2fc1f8=a28_0x2fc1();return a28_0x41a6=function(_0x41a6fb,_0x1f1587){_0x41a6fb=_0x41a6fb-0x1a2;let _0x103c2c=_0x2fc1f8[_0x41a6fb];return _0x103c2c;},a28_0x41a6(_0x33e4bb,_0x599e60);}function tag(_0x4d8d86,_0x372b30,_0x58211b,_0xbc8074){const _0x120db0=a28_0x5983b0,_0x379a28={'uLHyb':function(_0x1a0663,_0x160a3e){return _0x1a0663+_0x160a3e;},'PrsMx':function(_0x4d14eb,_0x18156d){return _0x4d14eb+_0x18156d;},'CqzBu':function(_0x2a5ebe,_0x4f0aa0){return _0x2a5ebe(_0x4f0aa0);},'oZZyz':function(_0x2c2345,_0x5ab584){return _0x2c2345+_0x5ab584;},'QxDQV':function(_0x298b06,_0x735535){return _0x298b06+_0x735535;},'MFbhZ':function(_0xde0e1b,_0x32b276){return _0xde0e1b+_0x32b276;}},_0x1ddbcd=_0x58211b?'/>':'>',_0x592d18=[];let _0x2a52ea;for(const _0x5ed7e2 in _0x372b30){Object['prototype'][_0x120db0(0x1d5)][_0x120db0(0x232)](_0x372b30,_0x5ed7e2)&&_0x592d18['push'](_0x379a28[_0x120db0(0x237)](_0x379a28[_0x120db0(0x23c)](_0x379a28[_0x120db0(0x23c)](_0x5ed7e2,'=\x22'),_0x379a28[_0x120db0(0x1f3)](escape,_0x372b30[_0x5ed7e2])),'\x22'));}return _0x2a52ea=_0x379a28[_0x120db0(0x1de)](_0x379a28[_0x120db0(0x23c)](_0x379a28['QxDQV']('<',_0x4d8d86),_0x592d18[_0x120db0(0x1bf)]?_0x379a28['PrsMx']('\x20',_0x592d18[_0x120db0(0x1dd)]('\x20')):''),_0x1ddbcd),_0xbc8074&&(_0x2a52ea+=_0x379a28[_0x120db0(0x23c)](_0x379a28[_0x120db0(0x1cb)](_0x379a28['PrsMx'](_0xbc8074,'</'),_0x4d8d86),_0x1ddbcd)),_0x2a52ea;}let xunitContent='';function xunitWrite(_0x5a105d){xunitContent+=_0x5a105d;}function xunitTest(_0x1a740e,_0x4c3f70){const _0x5e7231=a28_0x5983b0,_0x3c6726={'IZvQg':function(_0xae729e,_0x2be8b1){return _0xae729e/_0x2be8b1;},'UGCtx':function(_0x5d4027,_0x51d01f){return _0x5d4027===_0x51d01f;},'Sclni':_0x5e7231(0x243),'NNYYK':function(_0x4c6db6,_0x329674){return _0x4c6db6+_0x329674;},'oeUbk':function(_0x32c8c6,_0xda3390){return _0x32c8c6(_0xda3390);},'tOTWt':function(_0x7a3b42,_0x2f6b6c,_0x31fc65,_0x3a0894,_0x2359fa){return _0x7a3b42(_0x2f6b6c,_0x31fc65,_0x3a0894,_0x2359fa);},'fNRzU':'testcase','YtiZc':function(_0x4236ab,_0xf344e7,_0x13d589,_0x473315,_0x4ac751){return _0x4236ab(_0xf344e7,_0x13d589,_0x473315,_0x4ac751);},'iIgeD':_0x5e7231(0x277),'anokT':function(_0x43e903,_0x3ff96c){return _0x43e903+_0x3ff96c;},'nbIly':function(_0x249420,_0x273aaa){return _0x249420(_0x273aaa);},'DMbeV':function(_0x245fea,_0x3c1215){return _0x245fea(_0x3c1215);},'eEFvX':function(_0x4e8c6a,_0x55a892,_0x46b732,_0x11df26,_0x467e4e){return _0x4e8c6a(_0x55a892,_0x46b732,_0x11df26,_0x467e4e);},'WbUDR':function(_0x1e8cea,_0x4dafce,_0x3e591c,_0x1d2ad9){return _0x1e8cea(_0x4dafce,_0x3e591c,_0x1d2ad9);},'tHRRv':'skipped','vptBk':function(_0xb52491,_0x48f733,_0x158751,_0x3d642a){return _0xb52491(_0x48f733,_0x158751,_0x3d642a);}};Base[_0x5e7231(0x1b2)]=![];var _0x29262c={'classname':_0x1a740e[_0x5e7231(0x1a3)],'name':_0x1a740e[_0x5e7231(0x24c)],'time':_0x3c6726[_0x5e7231(0x21d)](_0x1a740e[_0x5e7231(0x248)],0x3e8)||0x0,'platform':_0x4c3f70};if(_0x3c6726['UGCtx'](_0x1a740e[_0x5e7231(0x251)],_0x3c6726[_0x5e7231(0x242)])){var _0x359b4f=_0x1a740e[_0x5e7231(0x1a5)],_0x33760c=!Base[_0x5e7231(0x27a)]&&Base['showDiff'](_0x359b4f)?_0x3c6726[_0x5e7231(0x216)]('\x0a',Base[_0x5e7231(0x1be)](_0x359b4f[_0x5e7231(0x26f)],_0x359b4f[_0x5e7231(0x1c6)])):'';_0x3c6726[_0x5e7231(0x263)](xunitWrite,_0x3c6726['tOTWt'](tag,_0x3c6726[_0x5e7231(0x20d)],_0x29262c,![],_0x3c6726['YtiZc'](tag,_0x3c6726[_0x5e7231(0x1d4)],{},![],_0x3c6726[_0x5e7231(0x22f)](_0x3c6726['NNYYK'](_0x3c6726[_0x5e7231(0x22f)](_0x3c6726['oeUbk'](escape,_0x359b4f[_0x5e7231(0x219)]),_0x3c6726[_0x5e7231(0x1dc)](escape,_0x33760c)),'\x0a'),_0x3c6726[_0x5e7231(0x1dc)](escape,_0x359b4f[_0x5e7231(0x1d3)])))));}else _0x1a740e[_0x5e7231(0x223)]?_0x3c6726['DMbeV'](xunitWrite,_0x3c6726['eEFvX'](tag,_0x3c6726[_0x5e7231(0x20d)],_0x29262c,![],_0x3c6726[_0x5e7231(0x269)](tag,_0x3c6726[_0x5e7231(0x1e8)],{},!![]))):_0x3c6726[_0x5e7231(0x1dc)](xunitWrite,_0x3c6726['vptBk'](tag,_0x3c6726[_0x5e7231(0x20d)],_0x29262c,!![]));};function getStats(_0x1ac238){const _0x45eda4=a28_0x5983b0,_0x1c4cc9={};_0x1c4cc9[_0x45eda4(0x256)]='suite',_0x1c4cc9['pxKKW']=_0x45eda4(0x22d),_0x1c4cc9[_0x45eda4(0x201)]=_0x45eda4(0x243),_0x1c4cc9[_0x45eda4(0x1e4)]=_0x45eda4(0x21f);const _0x3de889=_0x1c4cc9,_0x142242=Object['keys'](_0x1ac238);let _0x1a7762=0x0,_0x45db95=0x0,_0x174c27=0x0,_0x579b20=0x0;const _0x5cb45c=new Set();_0x142242[_0x45eda4(0x264)](_0x15ec6d=>{const _0x48dd75=_0x45eda4;_0x1ac238[_0x15ec6d][_0x3de889[_0x48dd75(0x1e4)]][_0x48dd75(0x264)](_0x5e0c33=>{const _0x458328=_0x48dd75;_0x5cb45c[_0x458328(0x1c3)](_0x5e0c33[_0x3de889['cGjUY']]),_0x1a7762++;switch(_0x5e0c33[_0x458328(0x251)]){case _0x3de889[_0x458328(0x20a)]:_0x174c27++;break;case _0x3de889['vbomz']:_0x45db95++;break;default:_0x579b20++;}});});const _0x50664d={};return _0x50664d[_0x45eda4(0x23d)]=_0x5cb45c[_0x45eda4(0x1b6)],_0x50664d[_0x45eda4(0x27f)]=_0x142242,_0x50664d[_0x45eda4(0x25e)]=_0x1a7762,_0x50664d['testsFailed']=_0x45db95,_0x50664d[_0x45eda4(0x272)]=_0x174c27,_0x50664d[_0x45eda4(0x20f)]=_0x579b20,_0x50664d;}function errorJSON(_0x57aec3){const _0x4d899f=a28_0x5983b0;var _0x557ee8={};return Object[_0x4d899f(0x24a)](_0x57aec3)['forEach'](function(_0x13668d){_0x557ee8[_0x13668d]=_0x57aec3[_0x13668d];},_0x57aec3),_0x557ee8;}function cleanCycles(_0xa40ae8){const _0x3fba94=a28_0x5983b0,_0x2dafda={};_0x2dafda[_0x3fba94(0x23f)]=function(_0xc2a639,_0x6775f8){return _0xc2a639===_0x6775f8;},_0x2dafda['QuYsk']=_0x3fba94(0x1fa),_0x2dafda[_0x3fba94(0x226)]=function(_0x3735d7,_0x1e8001){return _0x3735d7!==_0x1e8001;},_0x2dafda[_0x3fba94(0x1ae)]=function(_0x25ae19,_0x59dbae){return _0x25ae19+_0x59dbae;};const _0xc3500b=_0x2dafda;var _0x9f81ca=[];return JSON['parse'](JSON[_0x3fba94(0x20c)](_0xa40ae8,function(_0x213194,_0x574ef5){const _0x4b8aa6=_0x3fba94;if(_0xc3500b[_0x4b8aa6(0x23f)](typeof _0x574ef5,_0xc3500b[_0x4b8aa6(0x221)])&&_0xc3500b[_0x4b8aa6(0x226)](_0x574ef5,null)){if(_0xc3500b['lyQRN'](_0x9f81ca[_0x4b8aa6(0x1fb)](_0x574ef5),-0x1))return _0xc3500b[_0x4b8aa6(0x1ae)]('',_0x574ef5);_0x9f81ca[_0x4b8aa6(0x28c)](_0x574ef5);}return _0x574ef5;}));}function clean(_0x4d35cb){const _0x128aa3=a28_0x5983b0,_0x143e31={'vlQvd':function(_0x315350,_0x2e32d6){return _0x315350 instanceof _0x2e32d6;},'IQWNF':function(_0x2860ba,_0x4073cd){return _0x2860ba(_0x4073cd);}};var _0x4a4cf6=_0x4d35cb['err']||{};return _0x143e31[_0x128aa3(0x1e0)](_0x4a4cf6,Error)&&(_0x4a4cf6=_0x143e31['IQWNF'](errorJSON,_0x4a4cf6)),{'title':_0x4d35cb[_0x128aa3(0x24c)],'fullTitle':_0x4d35cb[_0x128aa3(0x1a3)],'file':_0x4d35cb[_0x128aa3(0x1c2)],'duration':_0x4d35cb[_0x128aa3(0x248)],'currentRetry':_0x4d35cb[_0x128aa3(0x23a)],'speed':_0x4d35cb[_0x128aa3(0x1cd)],'err':_0x143e31[_0x128aa3(0x27e)](cleanCycles,_0x4a4cf6)};}function printStats(_0x40d7ab,_0x37a6af='spec',_0x398c99={}){const _0x494f9d=a28_0x5983b0,_0x2c6d35={'pLHOa':function(_0x2f14c0,_0x2c5aba){return _0x2f14c0(_0x2c5aba);},'zSrqo':function(_0x1b7afc,_0x161eb4){return _0x1b7afc===_0x161eb4;},'guNte':_0x494f9d(0x22d),'NuhMN':_0x494f9d(0x271),'rXmhF':function(_0x256e33,_0x57022a){return _0x256e33(_0x57022a);},'mqkPJ':function(_0x661a2d,_0x385a7f){return _0x661a2d===_0x385a7f;},'cIhYb':_0x494f9d(0x243),'YnfIz':_0x494f9d(0x1b0),'jzEAj':_0x494f9d(0x229),'BqTVr':'results','xeUdq':function(_0x598cdd,_0x4421a7){return _0x598cdd===_0x4421a7;},'UNhaM':function(_0x143762,_0x3bb08e){return _0x143762===_0x3bb08e;},'SVqKW':function(_0x5d2d87,_0x1568e9){return _0x5d2d87*_0x1568e9;},'koLLg':function(_0x374a54,_0x57a58f,_0x327414){return _0x374a54(_0x57a58f,_0x327414);},'DrkYK':function(_0x5c25ac,_0x1904fd){return _0x5c25ac>_0x1904fd;},'CJXKM':function(_0x4e4646){return _0x4e4646();},'hsPAH':function(_0x100eda,_0x1102d8){return _0x100eda===_0x1102d8;},'VxTnp':_0x494f9d(0x230),'BCGoa':function(_0x463eb9,_0x1c1d96){return _0x463eb9(_0x1c1d96);},'GfmFE':_0x494f9d(0x1aa),'QRdff':_0x494f9d(0x200),'aqlzC':function(_0x11a76f,_0x46c74b){return _0x11a76f+_0x46c74b;},'RqFuw':_0x494f9d(0x205),'zDOiJ':function(_0x13a56c,_0x32c7ba){return _0x13a56c+_0x32c7ba;},'xPenX':_0x494f9d(0x22c),'QHAAO':function(_0x2e0297,_0x5c89a5){return _0x2e0297+_0x5c89a5;},'BJraI':function(_0x2b9385,_0x57fdbf){return _0x2b9385+_0x57fdbf;},'LoXoc':_0x494f9d(0x1f6),'YgnwF':function(_0x18df3e,_0x4e656e){return _0x18df3e>_0x4e656e;},'iVACQ':function(_0x3ba5f1,_0x55557d){return _0x3ba5f1+_0x55557d;},'UVsxT':function(_0x323851,_0xd4ed1b){return _0x323851+_0xd4ed1b;},'cuioR':'\x0a\x0a\x0a','NPzdA':_0x494f9d(0x1f9),'NgqeS':_0x494f9d(0x1bc),'CiJdt':_0x494f9d(0x1df),'yGJVd':'No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','cIkNW':function(_0x25b955,_0x16db52){return _0x25b955===_0x16db52;},'nJQYX':_0x494f9d(0x1c0),'jgaaI':'Mocha\x20Tests','syOKz':function(_0x2ec7d4,_0x413be0){return _0x2ec7d4||_0x413be0;},'aurhR':function(_0x40aba4,_0x28637c,_0xe66cc9,_0x3b49d9){return _0x40aba4(_0x28637c,_0xe66cc9,_0x3b49d9);},'XSfoR':_0x494f9d(0x1d7),'tcDMh':function(_0x5ceede,_0x3e25f5){return _0x5ceede-_0x3e25f5;},'wBUqE':function(_0x36ab61,_0x4796cc){return _0x36ab61/_0x4796cc;},'ciKoO':function(_0x1e6fbc,_0x6d0159){return _0x1e6fbc(_0x6d0159);},'xKSiD':'</testsuite>','UfKir':_0x494f9d(0x1fd),'rhdxp':_0x494f9d(0x1f4),'mEbLj':'No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','gtEfw':_0x494f9d(0x1b1),'PpssS':'****\x20FAILURES\x20****'};if(_0x2c6d35[_0x494f9d(0x290)](_0x37a6af,_0x2c6d35[_0x494f9d(0x1e1)]))return;const _0x1ce9f7=0x0,_0x494d08=()=>{const _0x4fce8d=_0x494f9d;return _0x2c6d35[_0x4fce8d(0x1ef)](Array,_0x1ce9f7)[_0x4fce8d(0x1dd)]('\x20\x20');},{testSuites:_0x492149,platforms:_0x3f9596,totalTests:_0x5a9a6a,testsFailed:_0xadbf19,testsPassed:_0x5203a7,testsPending:_0x1c8018}=_0x2c6d35[_0x494f9d(0x266)](getStats,_0x40d7ab);_0x2c6d35[_0x494f9d(0x260)](_0xadbf19,0x0)&&(logger[_0x494f9d(0x257)](_0x2c6d35[_0x494f9d(0x234)]),process[_0x494f9d(0x261)]=Math['min'](_0xadbf19,0xff));logger[_0x494f9d(0x257)](_0x2c6d35['QRdff']);const _0x2cbf76=''+_0x2c6d35[_0x494f9d(0x1ab)](chalk[_0x494f9d(0x21c)](_0x2c6d35[_0x494f9d(0x1ce)]),_0x3f9596[_0x494f9d(0x1bf)]),_0x7dec6b=''+_0x2c6d35[_0x494f9d(0x22a)](chalk['bold'](_0x2c6d35[_0x494f9d(0x1cf)]),_0x492149),_0x4f7179=''+_0x2c6d35['aqlzC'](_0x2c6d35[_0x494f9d(0x255)](_0x2c6d35[_0x494f9d(0x1e2)](chalk[_0x494f9d(0x21c)](_0x2c6d35[_0x494f9d(0x1a8)]),_0x2c6d35['DrkYK'](_0xadbf19,0x0)?chalk[_0x494f9d(0x21c)][_0x494f9d(0x241)](_0xadbf19+_0x494f9d(0x1a7))+',\x20':''),_0x2c6d35[_0x494f9d(0x260)](_0x1c8018,0x0)?chalk['bold'][_0x494f9d(0x239)](_0x1c8018+_0x494f9d(0x254))+',\x20':''),_0x2c6d35[_0x494f9d(0x275)](_0x5203a7,0x0)?chalk[_0x494f9d(0x21c)]['green'](_0x5203a7+_0x494f9d(0x1d1))+',\x20':'')+_0x5a9a6a+_0x494f9d(0x1fe);console[_0x494f9d(0x1e7)](_0x2c6d35['iVACQ'](_0x2c6d35[_0x494f9d(0x213)](_0x2c6d35['UVsxT'](_0x2c6d35['zDOiJ'](_0x2c6d35['iVACQ'](_0x2c6d35[_0x494f9d(0x27c)],_0x2cbf76),'\x0a'),_0x7dec6b),'\x0a'),_0x4f7179));if(_0x2c6d35[_0x494f9d(0x215)](_0x37a6af,_0x2c6d35[_0x494f9d(0x1d2)])){const _0x419401={},_0x2b3f0f={};_0x2b3f0f[_0x494f9d(0x23d)]=_0x492149,_0x2b3f0f[_0x494f9d(0x27f)]=_0x3f9596,_0x2b3f0f[_0x494f9d(0x273)]=_0xadbf19,_0x2b3f0f['testsPassed']=_0x5203a7,_0x2b3f0f[_0x494f9d(0x20f)]=_0x1c8018,_0x419401[_0x494f9d(0x220)]=_0x2b3f0f,_0x3f9596['forEach'](_0x244f5e=>{const _0x221e21=_0x494f9d;_0x419401[_0x244f5e]={'pending':[],'failures':[],'passes':[],'tests':_0x40d7ab[_0x244f5e][_0x2c6d35['BqTVr']][_0x221e21(0x228)](clean)},_0x40d7ab[_0x244f5e][_0x2c6d35[_0x221e21(0x224)]][_0x221e21(0x264)](_0x3ecaf5=>{const _0x3da2a7=_0x221e21;if(_0x2c6d35[_0x3da2a7(0x285)](_0x3ecaf5['state'],_0x2c6d35['guNte']))_0x419401[_0x244f5e][_0x2c6d35['NuhMN']]['push'](_0x2c6d35[_0x3da2a7(0x203)](clean,_0x3ecaf5));else _0x2c6d35[_0x3da2a7(0x247)](_0x3ecaf5[_0x3da2a7(0x251)],_0x2c6d35['cIhYb'])?_0x419401[_0x244f5e][_0x2c6d35[_0x3da2a7(0x212)]]['push'](_0x2c6d35['rXmhF'](clean,_0x3ecaf5)):_0x419401[_0x244f5e][_0x2c6d35[_0x3da2a7(0x1c5)]]['push'](_0x2c6d35[_0x3da2a7(0x1ef)](clean,_0x3ecaf5));});});if(_0x398c99[_0x494f9d(0x1f0)])try{logger[_0x494f9d(0x257)](_0x2c6d35[_0x494f9d(0x287)],_0x398c99[_0x494f9d(0x1f0)]),fs[_0x494f9d(0x1c9)](_0x398c99['output'],JSON['stringify'](_0x419401,null,0x3));}catch(_0x3e1859){logger[_0x494f9d(0x236)](_0x2c6d35[_0x494f9d(0x28d)],_0x398c99[_0x494f9d(0x1f0)]),logger['debug'](_0x3e1859);}else logger[_0x494f9d(0x257)](_0x2c6d35[_0x494f9d(0x1d8)]),console[_0x494f9d(0x1e7)](JSON['stringify'](_0x419401,null,0x3));}else{if(_0x2c6d35[_0x494f9d(0x20e)](_0x37a6af,_0x2c6d35[_0x494f9d(0x249)])){let _0x58a5bf;const _0x16da2e=_0x2c6d35['jgaaI'];_0x398c99&&(_0x58a5bf=_0x398c99['suiteName']);_0x58a5bf=_0x2c6d35['syOKz'](_0x58a5bf,_0x16da2e);let _0x39b00a=0x0,_0xdb8cf7=0x0,_0x57e986=0x0,_0x26d19d=0x0;_0x3f9596['forEach'](_0x5d3f6e=>{const _0x524463=_0x494f9d;_0x40d7ab[_0x5d3f6e][_0x2c6d35[_0x524463(0x224)]][_0x524463(0x264)](_0x35d210=>{const _0x1f8523=_0x524463;if(_0x2c6d35[_0x1f8523(0x215)](_0x35d210[_0x1f8523(0x251)],_0x2c6d35['guNte']))_0x39b00a++;else _0x2c6d35[_0x1f8523(0x26c)](_0x35d210['state'],_0x2c6d35[_0x1f8523(0x214)])&&_0xdb8cf7++;_0x57e986++,_0x26d19d+=_0x2c6d35[_0x1f8523(0x283)](_0x35d210['duration'],0x1);});}),_0x2c6d35[_0x494f9d(0x203)](xunitWrite,_0x2c6d35[_0x494f9d(0x227)](tag,_0x2c6d35['XSfoR'],{'name':_0x58a5bf,'tests':_0x57e986,'failures':0x0,'errors':_0xdb8cf7,'skipped':_0x2c6d35['tcDMh'](_0x2c6d35[_0x494f9d(0x281)](_0x57e986,_0xdb8cf7),_0x39b00a),'timestamp':new Date()[_0x494f9d(0x262)](),'time':_0x2c6d35[_0x494f9d(0x1f2)](_0x26d19d,0x3e8)||0x0},![])),_0x3f9596[_0x494f9d(0x264)](_0x150b44=>{const _0x2730f3=_0x494f9d,_0x1a5287={'vcFma':function(_0x51dda6,_0x27e3d9,_0x2e61c4){return _0x2c6d35['koLLg'](_0x51dda6,_0x27e3d9,_0x2e61c4);}};_0x40d7ab[_0x150b44][_0x2c6d35[_0x2730f3(0x224)]][_0x2730f3(0x264)](_0x567a03=>{const _0x314d4f=_0x2730f3;_0x1a5287[_0x314d4f(0x23e)](xunitTest,_0x567a03,_0x150b44);});}),_0x2c6d35[_0x494f9d(0x1d9)](xunitWrite,_0x2c6d35[_0x494f9d(0x25b)]);if(_0x398c99['output'])try{logger['debug'](_0x2c6d35['UfKir'],_0x398c99['output']),fs[_0x494f9d(0x1c9)](_0x398c99[_0x494f9d(0x1f0)],xunitContent);}catch(_0x5758f4){logger[_0x494f9d(0x236)](_0x2c6d35[_0x494f9d(0x244)],_0x398c99[_0x494f9d(0x1f0)]),logger[_0x494f9d(0x257)](_0x5758f4);}else logger[_0x494f9d(0x257)](_0x2c6d35['mEbLj']),console[_0x494f9d(0x1e7)](xunitContent);}else{if(_0x2c6d35[_0x494f9d(0x285)](_0xadbf19,0x0))return;console[_0x494f9d(0x1e7)](),logger[_0x494f9d(0x257)](_0x2c6d35['gtEfw']),console[_0x494f9d(0x1e7)](chalk[_0x494f9d(0x21c)][_0x494f9d(0x1f1)](_0x2c6d35[_0x494f9d(0x222)])),_0x3f9596[_0x494f9d(0x264)](_0x1817a6=>{const _0x11bb07=_0x494f9d,_0x5d674d=[];_0x40d7ab[_0x1817a6][_0x2c6d35[_0x11bb07(0x224)]][_0x11bb07(0x264)](_0x4ab295=>{const _0x275181=_0x11bb07;_0x2c6d35[_0x275181(0x215)](_0x4ab295['state'],_0x2c6d35[_0x275181(0x214)])&&(_0x4ab295[_0x275181(0x20b)]=()=>_0x4ab295['titlePathV'],_0x5d674d['push'](_0x4ab295));}),_0x2c6d35['DrkYK'](_0x5d674d[_0x11bb07(0x1bf)],0x0)&&(Base[_0x11bb07(0x26e)](),Base[_0x11bb07(0x26e)](_0x2c6d35[_0x11bb07(0x25d)](_0x494d08),chalk[_0x11bb07(0x21c)][_0x11bb07(0x286)](_0x1817a6)),Base[_0x11bb07(0x1e3)](_0x5d674d));});}}}async function run(_0x2955d1,_0x2bdc5e){const _0x22f831=a28_0x5983b0,_0x44fccf={'KYzEJ':function(_0x26f0c6,_0x5cf794,_0x112dd1,_0xb4dee1){return _0x26f0c6(_0x5cf794,_0x112dd1,_0xb4dee1);},'GvpRt':_0x22f831(0x28e),'VzXNj':_0x22f831(0x267),'ndJDD':_0x22f831(0x245),'ENaOO':function(_0x310a8b,_0x395b96,_0x38c357,_0x51fad2){return _0x310a8b(_0x395b96,_0x38c357,_0x51fad2);},'WpRUq':_0x22f831(0x1f5),'eMdhK':_0x22f831(0x1ad),'ANJNL':_0x22f831(0x1f8),'QnMjM':function(_0x28deae,_0x5f557a){return _0x28deae!=_0x5f557a;},'IOVEE':_0x22f831(0x1b8),'KoCoR':_0x22f831(0x284),'UdMtz':_0x22f831(0x1b4),'YFWPO':_0x22f831(0x1a4),'HCuHP':function(_0x2189cb,_0x611e64){return _0x2189cb(_0x611e64);},'tgISK':function(_0x55b37d,_0x44d86a,_0x70f496){return _0x55b37d(_0x44d86a,_0x70f496);},'tZCnD':_0x22f831(0x258),'aWufB':'Running\x20your\x20mocha\x20tests','iEmHD':_0x22f831(0x252),'SbLwk':function(_0x48bfd7,_0x26dd0c,_0x20b31d,_0x4bc336){return _0x48bfd7(_0x26dd0c,_0x20b31d,_0x4bc336);},'UDTqi':function(_0x2b7c20,_0x4711d1){return _0x2b7c20*_0x4711d1;},'tfJJd':function(_0x781265,_0x295579){return _0x781265!==_0x295579;}};process[_0x22f831(0x1b7)][_0x22f831(0x278)](_0x44fccf[_0x22f831(0x1e6)])&&(process[_0x22f831(0x289)]['BROWSERSTACK_TEST_OBSERVABILITY']=![]);process['argv'][_0x22f831(0x278)](_0x44fccf[_0x22f831(0x1ff)])&&(process['env'][_0x22f831(0x1da)]=![]);const _0x45da9a=new BrowserStackSetup(_0x2955d1,_0x44fccf[_0x22f831(0x270)]);helper[_0x22f831(0x1e9)]()?(await _0x45da9a[_0x22f831(0x1a6)](),await helper[_0x22f831(0x1db)](_0x45da9a[_0x22f831(0x23b)])):await _0x45da9a['setupTCGAuth']();const _0x370acb=[];let _0x52f791=[];if(!_0x45da9a['config'])return;_0x44fccf['QnMjM'](_0x45da9a[_0x22f831(0x23b)]['testObservability'],null)&&(process['env'][_0x22f831(0x206)]=_0x45da9a[_0x22f831(0x23b)][_0x22f831(0x1c4)]);!helper[_0x22f831(0x1ee)](_0x45da9a['config']['accessibility'])&&(process[_0x22f831(0x289)][_0x22f831(0x1b9)]=_0x45da9a[_0x22f831(0x23b)]['accessibility']);!helper[_0x22f831(0x1ee)](_0x45da9a[_0x22f831(0x23b)]['accessibilityOptions'])&&(process[_0x22f831(0x289)][_0x22f831(0x208)]=JSON['stringify'](_0x45da9a['config']['accessibilityOptions']));const {extension:extension=['js',_0x44fccf['IOVEE'],_0x44fccf[_0x22f831(0x25c)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x44fccf['UdMtz']]}=_0x2955d1,_0xc98075={..._0x2955d1};_0xc98075[_0x22f831(0x1ea)]=null;const _0x3ca73a=_0xc98075;let _0x226466;if(testOpsHelper[_0x22f831(0x27b)]()&&testOpsHelper[_0x22f831(0x1eb)]()){let _0x41504d=process[_0x22f831(0x289)]['BROWSERSTACK_RERUN_TESTS'];!helper[_0x22f831(0x1ee)](_0x45da9a[_0x22f831(0x24b)])&&_0x45da9a[_0x22f831(0x24b)][_0x22f831(0x280)](_0x44fccf[_0x22f831(0x25a)])&&(_0x41504d=_0x45da9a[_0x22f831(0x24b)]['get'](_0x44fccf[_0x22f831(0x25a)])),_0x226466=testOpsHelper[_0x22f831(0x265)](_0x41504d);}if(helper[_0x22f831(0x1ee)](_0x226466)){const _0x549ea5={};_0x549ea5[_0x22f831(0x26a)]=ignore,_0x549ea5[_0x22f831(0x274)]=extension,_0x549ea5['file']=file,_0x549ea5[_0x22f831(0x1ca)]=recursive,_0x549ea5[_0x22f831(0x1ec)]=sort,_0x549ea5['spec']=spec,_0x226466=_0x44fccf['HCuHP'](collectFiles,_0x549ea5),_0x44fccf[_0x22f831(0x259)](nestedKeyValue,_0x226466,[_0x44fccf[_0x22f831(0x1bb)]])&&(_0x226466=_0x226466[_0x22f831(0x258)]);}helper['markSDKSetupComplete']();if(!helper[_0x22f831(0x1e9)]()){const _0x289708=0x1,_0x51e896={..._0x3ca73a};_0x51e896['spec']=[..._0x226466],_0x370acb[_0x22f831(0x28c)]({'mochaOpts':_0x51e896,'configuration':{'platform':os[_0x22f831(0x1ac)]()}}),logger[_0x22f831(0x282)](_0x44fccf[_0x22f831(0x28b)]),logger[_0x22f831(0x282)](_0x44fccf[_0x22f831(0x26d)]),_0x44fccf[_0x22f831(0x235)](parallelTestRun,_0x370acb,_0x289708,_0x45da9a)['then'](_0x2c5c79=>{const _0x463d53=_0x22f831;_0x44fccf[_0x463d53(0x27d)](printStats,_0x2c5c79,_0x2955d1[_0x463d53(0x28f)],_0x2955d1[_0x463d53(0x204)]||_0x2955d1[_0x44fccf[_0x463d53(0x1a9)]]);})[_0x22f831(0x246)](()=>{const _0x23ee48=_0x22f831;try{const {browserstackFolderPath:_0xa657f,tcgConfigPath:_0x2c2ba7}=helper[_0x23ee48(0x21e)]();fs[_0x23ee48(0x231)](_0x2c2ba7),fs[_0x23ee48(0x233)](_0xa657f);}catch(_0x7bfb7e){logger[_0x23ee48(0x257)](_0x44fccf['VzXNj'],_0x7bfb7e);}try{utilities[_0x23ee48(0x21b)](_0x44fccf[_0x23ee48(0x211)],{},_0x45da9a['config'],_0x45da9a[_0x23ee48(0x22b)]);}catch(_0x505fc2){logger[_0x23ee48(0x257)](_0x23ee48(0x1b5)+_0x505fc2);}try{helper['notifyUpdate']();}catch(_0x54cb6c){logger[_0x23ee48(0x257)](_0x23ee48(0x25f)+_0x54cb6c);}testOpsHelper['printBuildLink']();});}else{const _0x1049cd=helper[_0x22f831(0x1af)](_0x45da9a[_0x22f831(0x23b)]),_0x165d75=helper['getHubUrl'](_0x45da9a[_0x22f831(0x23b)]);_0x52f791=helper[_0x22f831(0x1b3)](_0x45da9a['config'],_0x1049cd,constants[_0x22f831(0x202)][_0x22f831(0x1a2)]);let _0x2ce947;const _0x48d718=_0x45da9a[_0x22f831(0x23b)][_0x22f831(0x218)]||helper[_0x22f831(0x217)](_0x2955d1,_0x2bdc5e,_0x45da9a[_0x22f831(0x23b)],constants[_0x22f831(0x202)]['MOCHA'])||0x1;helper[_0x22f831(0x276)](_0x45da9a['config'])?_0x2ce947=_0x44fccf[_0x22f831(0x22e)](_0x45da9a['config']['platforms'][_0x22f831(0x1bf)],_0x48d718):_0x2ce947=_0x48d718;const _0x1adeb6=_0x44fccf['HCuHP'](getPercyOptions,_0x45da9a[_0x22f831(0x23b)]);if(_0x44fccf[_0x22f831(0x1c8)](_0x45da9a[_0x22f831(0x23b)][_0x22f831(0x218)],0x1))_0x226466[_0x22f831(0x264)](_0x6f0a50=>{const _0x4d2e57=_0x22f831,_0x119f23=[];_0x52f791[_0x4d2e57(0x264)]((_0x2323d8,_0x27f579)=>{const _0x3b66c0=_0x4d2e57,_0x257773={};_0x257773['spec']=[_0x6f0a50],_0x119f23[_0x3b66c0(0x28c)]({'mochaOpts':Object[_0x3b66c0(0x24e)]({},_0x3ca73a,_0x257773),'configuration':{'server':_0x165d75,'capability':_0x2323d8,'proxySettings':_0x45da9a[_0x3b66c0(0x23b)]['proxySettings'],'platform':helper[_0x3b66c0(0x1d6)](_0x2323d8),'browserStackLogLevel':_0x45da9a[_0x3b66c0(0x23b)][_0x3b66c0(0x209)],'platformIndex':_0x27f579,'browserStackPercyOptions':_0x1adeb6,'platformCaps':_0x45da9a[_0x3b66c0(0x23b)][_0x3b66c0(0x27f)][_0x27f579]}});}),_0x370acb[_0x4d2e57(0x28c)](..._0x119f23);});else{const _0x5af738=[];_0x52f791[_0x22f831(0x264)]((_0xbab4ed,_0x55e260)=>{const _0x15ed81=_0x22f831;let _0x1b4164=Object[_0x15ed81(0x24e)]({},_0x3ca73a);testOpsHelper[_0x15ed81(0x27b)]()&&testOpsHelper[_0x15ed81(0x1eb)]()&&(_0x1b4164={..._0x1b4164,'spec':[..._0x226466]}),_0x5af738[_0x15ed81(0x28c)]({'mochaOpts':_0x1b4164,'configuration':{'server':_0x165d75,'capability':_0xbab4ed,'proxySettings':_0x45da9a[_0x15ed81(0x23b)]['proxySettings'],'platform':helper['getPlatformName'](_0xbab4ed),'browserStackLogLevel':_0x45da9a[_0x15ed81(0x23b)][_0x15ed81(0x209)],'platformIndex':_0x55e260,'browserStackPercyOptions':_0x1adeb6,'platformCaps':_0x45da9a[_0x15ed81(0x23b)][_0x15ed81(0x27f)][_0x55e260]}});}),_0x370acb[_0x22f831(0x28c)](..._0x5af738);}logger[_0x22f831(0x282)](_0x22f831(0x21a)+_0x45da9a[_0x22f831(0x23b)][_0x22f831(0x27f)]['length']+_0x22f831(0x1ba)),logger[_0x22f831(0x282)](_0x44fccf[_0x22f831(0x26d)]);let _0x289056;_0x44fccf[_0x22f831(0x235)](parallelTestRun,_0x370acb,_0x2ce947,_0x45da9a)[_0x22f831(0x28a)](_0x5e6f27=>{const _0x57b45e=_0x22f831;_0x289056=_0x5e6f27,_0x44fccf['ENaOO'](printStats,_0x5e6f27,_0x2955d1['reporter'],_0x2955d1['reporterOptions']||_0x2955d1[_0x44fccf[_0x57b45e(0x1a9)]]);})[_0x22f831(0x246)](async()=>{const _0x227cc7=_0x22f831;_0x45da9a[_0x227cc7(0x291)]=helper[_0x227cc7(0x250)](_0x289056,_0x44fccf[_0x227cc7(0x270)]),await utilities[_0x227cc7(0x1ed)](_0x45da9a),testOpsHelper[_0x227cc7(0x279)]();});}}module[a28_0x5983b0(0x1bd)]=run;function a28_0x2fc1(){const _0x3e83ea=['mocha/lib/reporters/base.js','red','Sclni','failed','rhdxp','SDKTestSuccessful','finally','mqkPJ','duration','nJQYX','getOwnPropertyNames','cliConfig','title','2991714fHYXhh','assign','521174BLDkQc','getErrorMessageFromResults','state','Now,\x20showing\x20logs\x20from\x20mocha','../../helpers/helper','\x20skipped','QHAAO','cGjUY','debug','files','tgISK','YFWPO','xKSiD','KoCoR','CJXKM','totalTests','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','DrkYK','exitCode','toUTCString','oeUbk','forEach','parseFileNames','BCGoa','error\x20removing\x20tcg\x20config\x20file','../test-runner','WbUDR','ignore','../../helpers/percy/utils','UNhaM','iEmHD','consoleLog','actual','WpRUq','passes','testsPassed','testsFailed','extension','YgnwF','validPlatformsPresent','failure','includes','printBuildLink','hideDiff','isTestObservabilitySession','cuioR','KYzEJ','IQWNF','platforms','has','tcDMh','info','SVqKW','mjs','zSrqo','bgBlueBright','NgqeS','3423604douDdv','env','then','aWufB','push','CiJdt','reporter-option','reporter','hsPAH','errorMessage','MOCHA','fullTitle','rerunTests','err','initialize','\x20failed','LoXoc','GvpRt','Setting\x20non\x20exit\x20code\x20for\x20failures','aqlzC','platform','--disable-test-observability','aVLpo','useW3C','failures','Listing\x20all\x20the\x20failures','useColors','prepareCapabilities','test','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','size','argv','cjs','BROWSERSTACK_TEST_ACCESSIBILITY_YML','\x20platforms','tZCnD','Writing\x20json\x20result\x20to\x20file','exports','generateDiff','length','xunit','3069688JTZwvi','file','add','testObservability','jzEAj','expected','../../helpers/test-observability/utils','tfJJd','writeFileSync','recursive','MFbhZ','../../helpers/BrowserStackSetup','speed','RqFuw','xPenX','2930895UfsZFq','\x20passed','NPzdA','stack','iIgeD','hasOwnProperty','getPlatformName','testsuite','yGJVd','ciKoO','BROWSERSTACK_AUTOMATION','handleApp','nbIly','join','oZZyz','Couldn\x27t\x20write\x20json\x20result\x20to','vlQvd','VxTnp','BJraI','list','XMldW','../utils/constants','eMdhK','log','tHRRv','isBrowserstackInfra','rootHooks','shouldReRunObservabilityTests','sort','finalExecution','isUndefined','pLHOa','output','bgRedBright','wBUqE','CqzBu','Couldn\x27t\x20write\x20xunit\x20result\x20to','mocha','Tests:\x20\x20\x20\x20\x20\x20\x20','chalk','--disable-browserstack-automation','json','object','indexOf','4492535lTjbUI','Writing\x20xunit\x20result\x20to\x20file','\x20total','ANJNL','Printing\x20stats\x20of\x20tests','vbomz','FRAMEWORKS','rXmhF','reporterOptions','Total\x20Platforms:\x20','BROWSERSTACK_TEST_OBSERVABILITY_YML','../../helpers/utilities','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','logLevel','pxKKW','titlePath','stringify','fNRzU','cIkNW','testsPending','14dDokrJ','ndJDD','YnfIz','UVsxT','cIhYb','xeUdq','NNYYK','getUserWorkerCount','parallelsPerPlatform','message','Running\x20your\x20mocha\x20tests\x20across\x20','fireFunnelTestEvent','bold','IZvQg','getTCGConfigFilePaths','results','stats','QuYsk','PpssS','isPending','BqTVr','2lSlRzl','lyQRN','aurhR','map','pending','zDOiJ','framework','Total\x20Suites:\x20','passed','UDTqi','anokT','doc','unlinkSync','call','rmdirSync','GfmFE','SbLwk','error','uLHyb','3697464XTeZBe','yellow','currentRetry','config','PrsMx','testSuites','vcFma','QVlen'];a28_0x2fc1=function(){return _0x3e83ea;};return a28_0x2fc1();}
2
+ 'use strict';const a28_0x4ce31d=a28_0xdf6e;function a28_0xdf6e(_0x3abbb1,_0x275d21){const _0x1805af=a28_0x1805();return a28_0xdf6e=function(_0xdf6eb8,_0x109bcf){_0xdf6eb8=_0xdf6eb8-0xf5;let _0x147720=_0x1805af[_0xdf6eb8];return _0x147720;},a28_0xdf6e(_0x3abbb1,_0x275d21);}(function(_0x1fb206,_0x373d32){const _0x24650f=a28_0xdf6e,_0x4697c1=_0x1fb206();while(!![]){try{const _0x2ec9b8=parseInt(_0x24650f(0x1c8))/0x1+-parseInt(_0x24650f(0xf7))/0x2+-parseInt(_0x24650f(0x103))/0x3*(-parseInt(_0x24650f(0x19e))/0x4)+parseInt(_0x24650f(0x160))/0x5*(-parseInt(_0x24650f(0x126))/0x6)+-parseInt(_0x24650f(0x119))/0x7*(-parseInt(_0x24650f(0x178))/0x8)+-parseInt(_0x24650f(0x111))/0x9*(-parseInt(_0x24650f(0x1b5))/0xa)+-parseInt(_0x24650f(0x16d))/0xb*(parseInt(_0x24650f(0x1bd))/0xc);if(_0x2ec9b8===_0x373d32)break;else _0x4697c1['push'](_0x4697c1['shift']());}catch(_0x4bc674){_0x4697c1['push'](_0x4697c1['shift']());}}}(a28_0x1805,0x427ff));const chalk=require(a28_0x4ce31d(0x18e)),logger=require(a28_0x4ce31d(0x177))[a28_0x4ce31d(0x190)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a28_0x4ce31d(0x16b)),utilities=require('../../helpers/utilities'),testOpsHelper=require(a28_0x4ce31d(0x120)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x4ce31d(0x18b)),{requireModule,nestedKeyValue}=require('../../helpers/helper'),{getPercyOptions}=require(a28_0x4ce31d(0x181)),Base=requireModule('mocha/lib/reporters/base.js'),collectFiles=requireModule('mocha/lib/cli/collect-files.js'),constants=require(a28_0x4ce31d(0x1d6)),centralScannerConstants=require(a28_0x4ce31d(0x122));function tag(_0x52f66d,_0x5a728d,_0x5a5465,_0x1f3982){const _0x5653f9=a28_0x4ce31d,_0x3ba262={'CFkyz':function(_0x47b1b3,_0x527a63){return _0x47b1b3+_0x527a63;},'kSHCc':function(_0x47c4d5,_0x5241f8){return _0x47c4d5+_0x5241f8;},'WFIoV':function(_0x986b2e,_0x2d1d13){return _0x986b2e(_0x2d1d13);},'UjWsp':function(_0x56c334,_0x3517bf){return _0x56c334+_0x3517bf;},'PqlKN':function(_0x155d57,_0xab3c71){return _0x155d57+_0xab3c71;},'iTwId':function(_0x32bfa6,_0x4e665c){return _0x32bfa6+_0x4e665c;},'hZmNz':function(_0x56b301,_0x207ff2){return _0x56b301+_0x207ff2;}},_0x5f2cfb=_0x5a5465?'/>':'>',_0x302f33=[];let _0x24c272;for(const _0x37232f in _0x5a728d){Object['prototype'][_0x5653f9(0x1f1)][_0x5653f9(0x14d)](_0x5a728d,_0x37232f)&&_0x302f33['push'](_0x3ba262[_0x5653f9(0x109)](_0x3ba262['CFkyz'](_0x3ba262[_0x5653f9(0x1c2)](_0x37232f,'=\x22'),_0x3ba262[_0x5653f9(0x10c)](escape,_0x5a728d[_0x37232f])),'\x22'));}return _0x24c272=_0x3ba262[_0x5653f9(0x194)](_0x3ba262[_0x5653f9(0x186)](_0x3ba262[_0x5653f9(0x186)]('<',_0x52f66d),_0x302f33[_0x5653f9(0x158)]?_0x3ba262[_0x5653f9(0x186)]('\x20',_0x302f33[_0x5653f9(0x1f6)]('\x20')):''),_0x5f2cfb),_0x1f3982&&(_0x24c272+=_0x3ba262[_0x5653f9(0x129)](_0x3ba262[_0x5653f9(0x109)](_0x3ba262[_0x5653f9(0x148)](_0x1f3982,'</'),_0x52f66d),_0x5f2cfb)),_0x24c272;}let xunitContent='';function xunitWrite(_0x4ebb07){xunitContent+=_0x4ebb07;}function a28_0x1805(){const _0xb0d31c=['parse','yellow','pending','doc','logLevel','Tests:\x20\x20\x20\x20\x20\x20\x20','framework','LPKgT','exports','message','indexOf','eAGYZ','bgRedBright','JbPXA','uCand','Lvypf','Now,\x20showing\x20logs\x20from\x20mocha','Pedbh','min','get','10fzeBUQ','HBsCh','validPlatformsPresent','Apcvg','mktLD','writeFileSync','--disable-test-observability','rLgJi','936uLEdXT','reporter','yDwQJ','failure','ilcvN','kSHCc','eAXAB','suiteName','env','failed','testSuites','176464jrRVqK','duration','push','platforms','KsSZY','cjs','setupTCGAuth','Writing\x20xunit\x20result\x20to\x20file','SOiKg','expected','qCnZh','assign','initialize','\x20failed','../utils/constants','blbgn','then','platform','testsuite','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','error','Listing\x20all\x20the\x20failures','showDiff','ZwpXm','PfdnK','files','SDKTestSuccessful','printBuildLink','finally','\x20platforms','RwjSi','suite','cpJkb','noeUI','UsNYz','BROWSERSTACK_GRR_US_HUB_URL','axAAB','ozHQi','gtQBQ','titlePath','forEach','hasOwnProperty','RGyLD','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','AAFfq','fhoSS','join','BROWSERSTACK_TEST_OBSERVABILITY_YML','****\x20FAILURES\x20****','ZnDNC','988054fcyebK','SVOfN','extension','dZGur','rerunTests','mjs','SxHOb','kJdvk','NmFYW','file','BROWSERSTACK_CENTRAL_USER','ZgpAV','6WRMoxE','log','output','GcUCF','currentRetry','cliConfig','CFkyz','sWfJF','MUpJE','WFIoV','totalTests','getUserWorkerCount','hideDiff','has','1681083rGQcOk','spec','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','ybgWh','titlePathV','error\x20removing\x20tcg\x20config\x20file','actual','test','3228757JOZoeq','Wonef','aruyU','KQzCT','errorMessage','AYwOf','ctLUB','../../helpers/test-observability/utils','--disable-browserstack-automation','../../helpers/central-scanner/constants','rootHooks','miGdz','accessibilityOptions','438RtfcqZ','jreWL','passes','iTwId','info','exitCode','dsSfZ','shouldReRunObservabilityTests','lEcRw','useW3C','state','FSpbT','lYcsY','rmdirSync','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','debug','passed','lkkOE','sort','XFiEN','XJqZl','DSwTD','</testsuite>','results','config','ihReE','object','isTestObservabilitySession','reporterOptions','speed','glfaz','BROWSERSTACK_TEST_OBSERVABILITY','mnrqj','BROWSERSTACK_RERUN_TESTS','hZmNz','Couldn\x27t\x20write\x20xunit\x20result\x20to','stringify','testsPassed','SShgp','call','MQkIc','Running\x20your\x20mocha\x20tests','proxySettings','parallelsPerPlatform','skipped','consoleLog','CmVxE','VJjzx','BGgQa','includes','length','err','add','Running\x20your\x20mocha\x20tests\x20across\x20','json','title','map','GxyKU','12140QWfOKQ','red','isBrowserstackInfra','getHubUrl','jmEQH','size','testsFailed','bQGyK','testsPending','YEWoW','accessibility','../../helpers/helper','notifyUpdate','5390QeKyiw','ouAfw','reporter-option','xfBas','gNKVg','\x0a\x0a\x0a','ignore','fullTitle','OLEFk','fireFunnelTestEvent','../../helpers/logger','8GLmdzj','green','\x20total','getOwnPropertyNames','Couldn\x27t\x20write\x20json\x20result\x20to','XjClj','prepareCapabilities','aLPSG','markSDKSetupComplete','../../helpers/percy/utils','Total\x20Suites:\x20','bold','Setting\x20non\x20exit\x20code\x20for\x20failures','pvXLf','PqlKN','bgBlueBright','toUTCString','finalExecution','failures','../test-runner','HnuxB','xnKNX','chalk','ZOere','winstonLogger','FYGBY','YmsaN','recursive','UjWsp','testcase','\x20passed','PccSW','stats','iiNLe','opwJk','isUndefined','sEMOb','jyIVA','314744fQDwyw','EIEus','FRAMEWORKS'];a28_0x1805=function(){return _0xb0d31c;};return a28_0x1805();}function xunitTest(_0x261b7a,_0x427a12){const _0x2c3a6c=a28_0x4ce31d,_0x346335={'kPFEJ':function(_0x29635d,_0x2fd831){return _0x29635d/_0x2fd831;},'eAXAB':function(_0x5142fd,_0x1dfb82){return _0x5142fd===_0x1dfb82;},'GcUCF':_0x2c3a6c(0x1c6),'sEMOb':function(_0x5bdbc9,_0x9fe34b){return _0x5bdbc9+_0x9fe34b;},'VWJwR':function(_0x52db5e,_0x21f26c){return _0x52db5e(_0x21f26c);},'dZGur':function(_0x479986,_0x59aff8,_0x10019c,_0xbca2e5,_0x4ed18a){return _0x479986(_0x59aff8,_0x10019c,_0xbca2e5,_0x4ed18a);},'UsNYz':_0x2c3a6c(0x195),'kJdvk':function(_0x18dc9b,_0x592136,_0x2afc81,_0x1aeb8d,_0xf42fa1){return _0x18dc9b(_0x592136,_0x2afc81,_0x1aeb8d,_0xf42fa1);},'YmsaN':_0x2c3a6c(0x1c0),'UTnRj':function(_0x606fb6,_0x471f6c){return _0x606fb6+_0x471f6c;},'lEcRw':function(_0x51ff3a,_0x3dd72f){return _0x51ff3a(_0x3dd72f);},'LZzHz':function(_0x27da44,_0x34be33){return _0x27da44(_0x34be33);},'HnuxB':function(_0x410b8b,_0x5c2b3b){return _0x410b8b(_0x5c2b3b);},'AAFfq':function(_0x2d03c9,_0x5312aa,_0x1a6652,_0x378714){return _0x2d03c9(_0x5312aa,_0x1a6652,_0x378714);},'EIEus':_0x2c3a6c(0x152),'yDwQJ':function(_0x660e87,_0x2cf07b){return _0x660e87(_0x2cf07b);}};Base['useColors']=![];var _0x25d470={'classname':_0x261b7a[_0x2c3a6c(0x174)],'name':_0x261b7a[_0x2c3a6c(0x15d)],'time':_0x346335['kPFEJ'](_0x261b7a[_0x2c3a6c(0x1c9)],0x3e8)||0x0,'platform':_0x427a12};if(_0x346335[_0x2c3a6c(0x1c3)](_0x261b7a[_0x2c3a6c(0x130)],_0x346335[_0x2c3a6c(0x106)])){var _0x5553fc=_0x261b7a['err'],_0x32cc1f=!Base[_0x2c3a6c(0x10f)]&&Base[_0x2c3a6c(0x1de)](_0x5553fc)?_0x346335[_0x2c3a6c(0x19c)]('\x0a',Base['generateDiff'](_0x5553fc[_0x2c3a6c(0x117)],_0x5553fc[_0x2c3a6c(0x1d1)])):'';_0x346335['VWJwR'](xunitWrite,_0x346335[_0x2c3a6c(0xfa)](tag,_0x346335['UsNYz'],_0x25d470,![],_0x346335[_0x2c3a6c(0xfe)](tag,_0x346335[_0x2c3a6c(0x192)],{},![],_0x346335['sEMOb'](_0x346335[_0x2c3a6c(0x19c)](_0x346335['UTnRj'](_0x346335['VWJwR'](escape,_0x5553fc[_0x2c3a6c(0x1aa)]),_0x346335[_0x2c3a6c(0x12e)](escape,_0x32cc1f)),'\x0a'),_0x346335['LZzHz'](escape,_0x5553fc['stack'])))));}else _0x261b7a['isPending']?_0x346335[_0x2c3a6c(0x18c)](xunitWrite,_0x346335[_0x2c3a6c(0xfa)](tag,_0x346335[_0x2c3a6c(0x1ea)],_0x25d470,![],_0x346335[_0x2c3a6c(0x1f4)](tag,_0x346335[_0x2c3a6c(0x19f)],{},!![]))):_0x346335[_0x2c3a6c(0x1bf)](xunitWrite,_0x346335[_0x2c3a6c(0x1f4)](tag,_0x346335[_0x2c3a6c(0x1ea)],_0x25d470,!![]));};function getStats(_0x12d72e){const _0x450bd8=a28_0x4ce31d,_0x1de097={};_0x1de097[_0x450bd8(0xf8)]=_0x450bd8(0x1e7),_0x1de097['gpKPU']=_0x450bd8(0x136),_0x1de097['aegJP']='failed',_0x1de097['xfBas']='results';const _0xb4da3a=_0x1de097,_0x1cc884=Object['keys'](_0x12d72e);let _0x562417=0x0,_0x4b8145=0x0,_0x4138dc=0x0,_0x56f361=0x0;const _0x48bdb0=new Set();_0x1cc884[_0x450bd8(0x1f0)](_0x1798fb=>{const _0x4f5a0a=_0x450bd8,_0x329b08={};_0x329b08[_0x4f5a0a(0x11a)]=_0xb4da3a[_0x4f5a0a(0xf8)],_0x329b08[_0x4f5a0a(0x1b6)]=_0xb4da3a['gpKPU'],_0x329b08[_0x4f5a0a(0x185)]=_0xb4da3a['aegJP'];const _0x2abf46=_0x329b08;_0x12d72e[_0x1798fb][_0xb4da3a[_0x4f5a0a(0x170)]][_0x4f5a0a(0x1f0)](_0x484c2d=>{const _0x202258=_0x4f5a0a;_0x48bdb0[_0x202258(0x15a)](_0x484c2d[_0x2abf46[_0x202258(0x11a)]]),_0x562417++;switch(_0x484c2d[_0x202258(0x130)]){case _0x2abf46['HBsCh']:_0x4138dc++;break;case _0x2abf46[_0x202258(0x185)]:_0x4b8145++;break;default:_0x56f361++;}});});const _0x113163={};return _0x113163[_0x450bd8(0x1c7)]=_0x48bdb0[_0x450bd8(0x165)],_0x113163[_0x450bd8(0x1cb)]=_0x1cc884,_0x113163[_0x450bd8(0x10d)]=_0x562417,_0x113163['testsFailed']=_0x4b8145,_0x113163[_0x450bd8(0x14b)]=_0x4138dc,_0x113163[_0x450bd8(0x168)]=_0x56f361,_0x113163;}function errorJSON(_0x4de8e1){const _0x7fe4ec=a28_0x4ce31d;var _0x44bce3={};return Object[_0x7fe4ec(0x17b)](_0x4de8e1)[_0x7fe4ec(0x1f0)](function(_0xbd6050){_0x44bce3[_0xbd6050]=_0x4de8e1[_0xbd6050];},_0x4de8e1),_0x44bce3;}function cleanCycles(_0x31b4e3){const _0x570392=a28_0x4ce31d,_0xe4f408={};_0xe4f408[_0x570392(0x169)]=function(_0x1b0f2c,_0x307f5a){return _0x1b0f2c===_0x307f5a;},_0xe4f408[_0x570392(0x1e6)]=_0x570392(0x140),_0xe4f408[_0x570392(0x1e8)]=function(_0x1e33b3,_0x5bf799){return _0x1e33b3!==_0x5bf799;},_0xe4f408[_0x570392(0x1a8)]=function(_0x4c30e5,_0x38956c){return _0x4c30e5!==_0x38956c;},_0xe4f408['VJjzx']=function(_0x3350a9,_0x52bc2c){return _0x3350a9+_0x52bc2c;};const _0x31f48b=_0xe4f408;var _0x4aeb0a=[];return JSON[_0x570392(0x1a1)](JSON[_0x570392(0x14a)](_0x31b4e3,function(_0x3d5578,_0x291fcf){const _0x213e31=_0x570392;if(_0x31f48b[_0x213e31(0x169)](typeof _0x291fcf,_0x31f48b['RwjSi'])&&_0x31f48b[_0x213e31(0x1e8)](_0x291fcf,null)){if(_0x31f48b['LPKgT'](_0x4aeb0a[_0x213e31(0x1ab)](_0x291fcf),-0x1))return _0x31f48b[_0x213e31(0x155)]('',_0x291fcf);_0x4aeb0a[_0x213e31(0x1ca)](_0x291fcf);}return _0x291fcf;}));}function clean(_0x2f2555){const _0x389024=a28_0x4ce31d,_0x27fbfe={'lPIey':function(_0xb0fe34,_0x58b673){return _0xb0fe34 instanceof _0x58b673;},'AYwOf':function(_0x3afa0d,_0x481561){return _0x3afa0d(_0x481561);},'jyIVA':function(_0x450d6a,_0x57f1fd){return _0x450d6a(_0x57f1fd);}};var _0x8b4b80=_0x2f2555[_0x389024(0x159)]||{};return _0x27fbfe['lPIey'](_0x8b4b80,Error)&&(_0x8b4b80=_0x27fbfe[_0x389024(0x11e)](errorJSON,_0x8b4b80)),{'title':_0x2f2555[_0x389024(0x15d)],'fullTitle':_0x2f2555[_0x389024(0x174)],'file':_0x2f2555[_0x389024(0x100)],'duration':_0x2f2555[_0x389024(0x1c9)],'currentRetry':_0x2f2555[_0x389024(0x107)],'speed':_0x2f2555[_0x389024(0x143)],'err':_0x27fbfe[_0x389024(0x19d)](cleanCycles,_0x8b4b80)};}function printStats(_0x27f528,_0x4ad5d0='spec',_0x1241b6={}){const _0x124e3f=a28_0x4ce31d,_0x154e0f={'ilcvN':function(_0x54ac42,_0x1c5ce7){return _0x54ac42(_0x1c5ce7);},'lYcsY':function(_0x56a14b,_0x3f5ab5){return _0x56a14b===_0x3f5ab5;},'ctLUB':_0x124e3f(0x136),'fhoSS':_0x124e3f(0x128),'rLgJi':function(_0x4e9641,_0x191bc8){return _0x4e9641(_0x191bc8);},'mnrqj':function(_0x14ee7c,_0x41e29b){return _0x14ee7c===_0x41e29b;},'ZwpXm':_0x124e3f(0x1c6),'IvURl':_0x124e3f(0x18a),'KQzCT':function(_0x371a7f,_0x48a37d){return _0x371a7f(_0x48a37d);},'sStAy':_0x124e3f(0x1a3),'XJqZl':function(_0x322f06,_0x29badb){return _0x322f06(_0x29badb);},'opwJk':_0x124e3f(0x13d),'aruyU':function(_0x376b7d,_0x29e89e){return _0x376b7d===_0x29e89e;},'blbgn':function(_0x4bf702,_0x430fa5){return _0x4bf702*_0x430fa5;},'VKBfU':function(_0x19efc2,_0x4da109,_0x333896){return _0x19efc2(_0x4da109,_0x333896);},'bQGyK':function(_0x2a8168,_0x516190){return _0x2a8168>_0x516190;},'JbPXA':function(_0x258b0f){return _0x258b0f();},'RGyLD':function(_0x59ddf1,_0x3b957e){return _0x59ddf1===_0x3b957e;},'dsSfZ':_0x124e3f(0x1a4),'gtQBQ':_0x124e3f(0x184),'ZOere':'Printing\x20stats\x20of\x20tests','noeUI':function(_0x3a6d70,_0x2499b9){return _0x3a6d70+_0x2499b9;},'ZgpAV':'Total\x20Platforms:\x20','GxyKU':_0x124e3f(0x182),'FSpbT':_0x124e3f(0x1a6),'PccSW':function(_0x43d34c,_0x423cbe){return _0x43d34c+_0x423cbe;},'aLPSG':function(_0x43e13e,_0x326fa3){return _0x43e13e+_0x326fa3;},'miGdz':function(_0x264e1e,_0x259987){return _0x264e1e+_0x259987;},'ouAfw':_0x124e3f(0x172),'XjClj':_0x124e3f(0x15c),'xnKNX':'Writing\x20json\x20result\x20to\x20file','vBGDc':_0x124e3f(0x17c),'jreWL':'No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','MUpJE':function(_0x35b02f,_0x137cef){return _0x35b02f===_0x137cef;},'Lvypf':'xunit','XFiEN':'Mocha\x20Tests','qCnZh':function(_0x2ee63d,_0x2107d5){return _0x2ee63d||_0x2107d5;},'ihReE':function(_0x27eee8,_0x447459,_0x43206a,_0x551c3f){return _0x27eee8(_0x447459,_0x43206a,_0x551c3f);},'SxHOb':_0x124e3f(0x1da),'Pedbh':function(_0x2e1193,_0x24a77d){return _0x2e1193-_0x24a77d;},'MQkIc':function(_0x136c73,_0x1ab2f5){return _0x136c73/_0x1ab2f5;},'sWfJF':function(_0x4b56fb,_0x374163){return _0x4b56fb(_0x374163);},'ybgWh':_0x124e3f(0x13c),'glfaz':_0x124e3f(0x1cf),'SShgp':_0x124e3f(0x149),'CmVxE':_0x124e3f(0x113),'axAAB':_0x124e3f(0x1dd),'ZnDNC':_0x124e3f(0xf5)};if(_0x154e0f['RGyLD'](_0x4ad5d0,_0x154e0f[_0x124e3f(0x12c)]))return;const _0x11e93e=0x0,_0x4dba7c=()=>{const _0x51e2ca=_0x124e3f;return _0x154e0f[_0x51e2ca(0x1c1)](Array,_0x11e93e)[_0x51e2ca(0x1f6)]('\x20\x20');},{testSuites:_0x37151c,platforms:_0x34baee,totalTests:_0xee193e,testsFailed:_0x563c10,testsPassed:_0x5a3471,testsPending:_0x69bf7f}=_0x154e0f[_0x124e3f(0x13a)](getStats,_0x27f528);_0x154e0f[_0x124e3f(0x167)](_0x563c10,0x0)&&(logger[_0x124e3f(0x135)](_0x154e0f[_0x124e3f(0x1ee)]),process[_0x124e3f(0x12b)]=Math[_0x124e3f(0x1b3)](_0x563c10,0xff));logger[_0x124e3f(0x135)](_0x154e0f[_0x124e3f(0x18f)]);const _0x1e5da5=''+_0x154e0f[_0x124e3f(0x1e9)](chalk[_0x124e3f(0x183)](_0x154e0f[_0x124e3f(0x102)]),_0x34baee['length']),_0x4850d4=''+_0x154e0f[_0x124e3f(0x1e9)](chalk[_0x124e3f(0x183)](_0x154e0f[_0x124e3f(0x15f)]),_0x37151c),_0x579db2=''+_0x154e0f['noeUI'](_0x154e0f[_0x124e3f(0x1e9)](_0x154e0f[_0x124e3f(0x1e9)](chalk[_0x124e3f(0x183)](_0x154e0f[_0x124e3f(0x131)]),_0x154e0f['bQGyK'](_0x563c10,0x0)?chalk[_0x124e3f(0x183)][_0x124e3f(0x161)](_0x563c10+_0x124e3f(0x1d5))+',\x20':''),_0x154e0f[_0x124e3f(0x167)](_0x69bf7f,0x0)?chalk[_0x124e3f(0x183)][_0x124e3f(0x1a2)](_0x69bf7f+'\x20skipped')+',\x20':''),_0x154e0f['bQGyK'](_0x5a3471,0x0)?chalk['bold'][_0x124e3f(0x179)](_0x5a3471+_0x124e3f(0x196))+',\x20':'')+_0xee193e+_0x124e3f(0x17a);console[_0x124e3f(0x104)](_0x154e0f[_0x124e3f(0x1e9)](_0x154e0f[_0x124e3f(0x197)](_0x154e0f[_0x124e3f(0x17f)](_0x154e0f[_0x124e3f(0x17f)](_0x154e0f[_0x124e3f(0x124)](_0x154e0f[_0x124e3f(0x16e)],_0x1e5da5),'\x0a'),_0x4850d4),'\x0a'),_0x579db2));if(_0x154e0f[_0x124e3f(0x1f2)](_0x4ad5d0,_0x154e0f[_0x124e3f(0x17d)])){const _0x14fecb={},_0x9215d8={};_0x9215d8[_0x124e3f(0x1c7)]=_0x37151c,_0x9215d8['platforms']=_0x34baee,_0x9215d8[_0x124e3f(0x166)]=_0x563c10,_0x9215d8['testsPassed']=_0x5a3471,_0x9215d8['testsPending']=_0x69bf7f,_0x14fecb[_0x124e3f(0x198)]=_0x9215d8,_0x34baee[_0x124e3f(0x1f0)](_0x3dd89a=>{const _0x1ca50d=_0x124e3f;_0x14fecb[_0x3dd89a]={'pending':[],'failures':[],'passes':[],'tests':_0x27f528[_0x3dd89a][_0x154e0f[_0x1ca50d(0x19a)]][_0x1ca50d(0x15e)](clean)},_0x27f528[_0x3dd89a][_0x154e0f[_0x1ca50d(0x19a)]]['forEach'](_0x118b33=>{const _0x844ce7=_0x1ca50d;if(_0x154e0f[_0x844ce7(0x132)](_0x118b33[_0x844ce7(0x130)],_0x154e0f[_0x844ce7(0x11f)]))_0x14fecb[_0x3dd89a][_0x154e0f[_0x844ce7(0x1f5)]][_0x844ce7(0x1ca)](_0x154e0f[_0x844ce7(0x1bc)](clean,_0x118b33));else _0x154e0f[_0x844ce7(0x146)](_0x118b33['state'],_0x154e0f['ZwpXm'])?_0x14fecb[_0x3dd89a][_0x154e0f['IvURl']][_0x844ce7(0x1ca)](_0x154e0f[_0x844ce7(0x11c)](clean,_0x118b33)):_0x14fecb[_0x3dd89a][_0x154e0f['sStAy']][_0x844ce7(0x1ca)](_0x154e0f[_0x844ce7(0x13a)](clean,_0x118b33));});});if(_0x1241b6[_0x124e3f(0x105)])try{logger['debug'](_0x154e0f[_0x124e3f(0x18d)],_0x1241b6['output']),fs[_0x124e3f(0x1ba)](_0x1241b6[_0x124e3f(0x105)],JSON[_0x124e3f(0x14a)](_0x14fecb,null,0x3));}catch(_0x51e7a6){logger[_0x124e3f(0x1dc)](_0x154e0f['vBGDc'],_0x1241b6[_0x124e3f(0x105)]),logger[_0x124e3f(0x135)](_0x51e7a6);}else logger[_0x124e3f(0x135)](_0x154e0f[_0x124e3f(0x127)]),console[_0x124e3f(0x104)](JSON[_0x124e3f(0x14a)](_0x14fecb,null,0x3));}else{if(_0x154e0f[_0x124e3f(0x10b)](_0x4ad5d0,_0x154e0f[_0x124e3f(0x1b0)])){let _0x289901;const _0x1a1c8f=_0x154e0f[_0x124e3f(0x139)];_0x1241b6&&(_0x289901=_0x1241b6[_0x124e3f(0x1c4)]);_0x289901=_0x154e0f[_0x124e3f(0x1d2)](_0x289901,_0x1a1c8f);let _0x47af90=0x0,_0x26ab4e=0x0,_0x1c2fba=0x0,_0x57849c=0x0;_0x34baee[_0x124e3f(0x1f0)](_0x22a1e1=>{const _0x5f3f4e=_0x124e3f;_0x27f528[_0x22a1e1][_0x154e0f[_0x5f3f4e(0x19a)]][_0x5f3f4e(0x1f0)](_0x5e5f4a=>{const _0x2539cc=_0x5f3f4e;if(_0x154e0f[_0x2539cc(0x146)](_0x5e5f4a[_0x2539cc(0x130)],_0x154e0f[_0x2539cc(0x11f)]))_0x47af90++;else _0x154e0f[_0x2539cc(0x11b)](_0x5e5f4a['state'],_0x154e0f[_0x2539cc(0x1df)])&&_0x26ab4e++;_0x1c2fba++,_0x57849c+=_0x154e0f[_0x2539cc(0x1d7)](_0x5e5f4a[_0x2539cc(0x1c9)],0x1);});}),_0x154e0f[_0x124e3f(0x11c)](xunitWrite,_0x154e0f[_0x124e3f(0x13f)](tag,_0x154e0f[_0x124e3f(0xfd)],{'name':_0x289901,'tests':_0x1c2fba,'failures':0x0,'errors':_0x26ab4e,'skipped':_0x154e0f['Pedbh'](_0x154e0f[_0x124e3f(0x1b2)](_0x1c2fba,_0x26ab4e),_0x47af90),'timestamp':new Date()[_0x124e3f(0x188)](),'time':_0x154e0f[_0x124e3f(0x14e)](_0x57849c,0x3e8)||0x0},![])),_0x34baee[_0x124e3f(0x1f0)](_0x3b6bff=>{const _0x162a36=_0x124e3f;_0x27f528[_0x3b6bff][_0x154e0f[_0x162a36(0x19a)]][_0x162a36(0x1f0)](_0x2fedb3=>{_0x154e0f['VKBfU'](xunitTest,_0x2fedb3,_0x3b6bff);});}),_0x154e0f[_0x124e3f(0x10a)](xunitWrite,_0x154e0f[_0x124e3f(0x114)]);if(_0x1241b6['output'])try{logger['debug'](_0x154e0f[_0x124e3f(0x144)],_0x1241b6[_0x124e3f(0x105)]),fs['writeFileSync'](_0x1241b6[_0x124e3f(0x105)],xunitContent);}catch(_0x27e92a){logger[_0x124e3f(0x1dc)](_0x154e0f[_0x124e3f(0x14c)],_0x1241b6[_0x124e3f(0x105)]),logger[_0x124e3f(0x135)](_0x27e92a);}else logger[_0x124e3f(0x135)](_0x154e0f[_0x124e3f(0x154)]),console['log'](xunitContent);}else{if(_0x154e0f[_0x124e3f(0x1f2)](_0x563c10,0x0))return;console[_0x124e3f(0x104)](),logger[_0x124e3f(0x135)](_0x154e0f[_0x124e3f(0x1ec)]),console[_0x124e3f(0x104)](chalk[_0x124e3f(0x183)][_0x124e3f(0x1ad)](_0x154e0f[_0x124e3f(0xf6)])),_0x34baee['forEach'](_0x6d6c93=>{const _0x6419c0=_0x124e3f,_0x380939={'BGgQa':function(_0x1bf601,_0x46a8c8){const _0x136bd6=a28_0xdf6e;return _0x154e0f[_0x136bd6(0x132)](_0x1bf601,_0x46a8c8);},'lkkOE':_0x154e0f['ZwpXm']},_0x24240c=[];_0x27f528[_0x6d6c93][_0x154e0f[_0x6419c0(0x19a)]][_0x6419c0(0x1f0)](_0x4ec54e=>{const _0x212196=_0x6419c0;_0x380939[_0x212196(0x156)](_0x4ec54e[_0x212196(0x130)],_0x380939[_0x212196(0x137)])&&(_0x4ec54e[_0x212196(0x1ef)]=()=>_0x4ec54e[_0x212196(0x115)],_0x24240c[_0x212196(0x1ca)](_0x4ec54e));}),_0x154e0f[_0x6419c0(0x167)](_0x24240c[_0x6419c0(0x158)],0x0)&&(Base[_0x6419c0(0x153)](),Base['consoleLog'](_0x154e0f[_0x6419c0(0x1ae)](_0x4dba7c),chalk[_0x6419c0(0x183)][_0x6419c0(0x187)](_0x6d6c93)),Base['list'](_0x24240c));});}}}async function run(_0x6d0529,_0x34cb69){const _0x313839=a28_0x4ce31d,_0x3c4e32={'LVmRm':function(_0x4a33c6,_0x3f62d2,_0x1e9989,_0x1e8c59){return _0x4a33c6(_0x3f62d2,_0x1e9989,_0x1e8c59);},'eAGYZ':_0x313839(0x16f),'LWwUh':_0x313839(0x116),'Apcvg':_0x313839(0x1e2),'iiNLe':function(_0x22c080,_0x44e964,_0x8bba97,_0x2acbd3){return _0x22c080(_0x44e964,_0x8bba97,_0x2acbd3);},'gNKVg':'mocha','DSwTD':_0x313839(0x1bb),'FXOAq':_0x313839(0x121),'vYcLI':function(_0x273ebe,_0x163897){return _0x273ebe!=_0x163897;},'NmFYW':_0x313839(0x1cd),'ozHQi':_0x313839(0xfc),'uCand':_0x313839(0x118),'mktLD':_0x313839(0xfb),'Lbgwl':function(_0x46b88e,_0x40ad69){return _0x46b88e(_0x40ad69);},'jmEQH':function(_0x3793f1,_0x33e0d3,_0x4f01af){return _0x3793f1(_0x33e0d3,_0x4f01af);},'PfdnK':_0x313839(0x1e1),'SOiKg':_0x313839(0x14f),'OLEFk':_0x313839(0x1b1),'ysvhY':function(_0x42c432,_0x436977,_0x27c177,_0x4782c0){return _0x42c432(_0x436977,_0x27c177,_0x4782c0);},'FYGBY':function(_0x5f26ae,_0xcac899){return _0x5f26ae*_0xcac899;},'KsSZY':function(_0x4342d6,_0x4dff5c){return _0x4342d6(_0x4dff5c);},'FCEOJ':function(_0x101f29,_0x28a2b9){return _0x101f29!==_0x28a2b9;}};process['argv'][_0x313839(0x157)](_0x3c4e32[_0x313839(0x13b)])&&(process[_0x313839(0x1c5)][_0x313839(0x145)]=![]);process['argv'][_0x313839(0x157)](_0x3c4e32['FXOAq'])&&(process[_0x313839(0x1c5)]['BROWSERSTACK_AUTOMATION']=![]);const _0x59cf92=new BrowserStackSetup(_0x6d0529,_0x3c4e32[_0x313839(0x171)]);helper[_0x313839(0x162)]()?(await _0x59cf92[_0x313839(0x1d4)](),await helper['handleApp'](_0x59cf92[_0x313839(0x13e)])):await _0x59cf92[_0x313839(0x1ce)]();const _0x1fb697=[];let _0xb71a55=[];if(!_0x59cf92[_0x313839(0x13e)])return;_0x3c4e32['vYcLI'](_0x59cf92['config']['testObservability'],null)&&(process[_0x313839(0x1c5)][_0x313839(0x1f7)]=_0x59cf92[_0x313839(0x13e)]['testObservability']);!helper[_0x313839(0x19b)](_0x59cf92['config'][_0x313839(0x16a)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x59cf92['config']['accessibility']);!helper[_0x313839(0x19b)](_0x59cf92[_0x313839(0x13e)][_0x313839(0x125)])&&(process[_0x313839(0x1c5)][_0x313839(0x1f3)]=JSON[_0x313839(0x14a)](_0x59cf92['config'][_0x313839(0x125)]));const {extension:extension=['js',_0x3c4e32[_0x313839(0xff)],_0x3c4e32[_0x313839(0x1ed)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x3c4e32[_0x313839(0x1af)]]}=_0x6d0529,_0x248ae8={..._0x6d0529};_0x248ae8[_0x313839(0x123)]=null;const _0x1d4b9e=_0x248ae8;let _0x3a6e62;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x313839(0x12d)]()){let _0x532bcb=process[_0x313839(0x1c5)][_0x313839(0x147)];!helper[_0x313839(0x19b)](_0x59cf92[_0x313839(0x108)])&&_0x59cf92['cliConfig'][_0x313839(0x110)](_0x3c4e32[_0x313839(0x1b9)])&&(_0x532bcb=_0x59cf92['cliConfig'][_0x313839(0x1b4)](_0x3c4e32[_0x313839(0x1b9)])),_0x3a6e62=testOpsHelper['parseFileNames'](_0x532bcb);}if(helper[_0x313839(0x19b)](_0x3a6e62)){const _0x5e183c={};_0x5e183c[_0x313839(0x173)]=ignore,_0x5e183c[_0x313839(0xf9)]=extension,_0x5e183c['file']=file,_0x5e183c[_0x313839(0x193)]=recursive,_0x5e183c[_0x313839(0x138)]=sort,_0x5e183c[_0x313839(0x112)]=spec,_0x3a6e62=_0x3c4e32['Lbgwl'](collectFiles,_0x5e183c),_0x3c4e32[_0x313839(0x164)](nestedKeyValue,_0x3a6e62,[_0x3c4e32[_0x313839(0x1e0)]])&&(_0x3a6e62=_0x3a6e62['files']);}helper[_0x313839(0x180)]();if(!helper[_0x313839(0x162)]()){const _0x2b1af2=0x1,_0x3a985={..._0x1d4b9e};_0x3a985[_0x313839(0x112)]=[..._0x3a6e62],_0x1fb697[_0x313839(0x1ca)]({'mochaOpts':_0x3a985,'configuration':{'platform':os[_0x313839(0x1d9)]()}}),logger[_0x313839(0x12a)](_0x3c4e32[_0x313839(0x1d0)]),logger['info'](_0x3c4e32[_0x313839(0x175)]),_0x3c4e32['ysvhY'](parallelTestRun,_0x1fb697,_0x2b1af2,_0x59cf92)[_0x313839(0x1d8)](_0x53c0d5=>{const _0x5d70cc=_0x313839;_0x3c4e32['LVmRm'](printStats,_0x53c0d5,_0x6d0529[_0x5d70cc(0x1be)],_0x6d0529[_0x5d70cc(0x142)]||_0x6d0529[_0x3c4e32[_0x5d70cc(0x1ac)]]);})['finally'](()=>{const _0x93a1ca=_0x313839;try{const {browserstackFolderPath:_0x2504bb,tcgConfigPath:_0xfe0e3}=helper['getTCGConfigFilePaths']();fs['unlinkSync'](_0xfe0e3),fs[_0x93a1ca(0x133)](_0x2504bb);}catch(_0x1850ef){logger['debug'](_0x3c4e32['LWwUh'],_0x1850ef);}try{utilities[_0x93a1ca(0x176)](_0x3c4e32[_0x93a1ca(0x1b8)],{},_0x59cf92[_0x93a1ca(0x13e)],_0x59cf92[_0x93a1ca(0x1a7)]);}catch(_0x2fa9f9){logger[_0x93a1ca(0x135)](_0x93a1ca(0x1db)+_0x2fa9f9);}try{helper[_0x93a1ca(0x16c)]();}catch(_0x16071b){logger[_0x93a1ca(0x135)](_0x93a1ca(0x134)+_0x16071b);}testOpsHelper['printBuildLink']();});}else{const _0x389ea5=helper[_0x313839(0x12f)](_0x59cf92[_0x313839(0x13e)]);let _0xa431b2=helper[_0x313839(0x163)](_0x59cf92[_0x313839(0x13e)]);_0xb71a55=helper[_0x313839(0x17e)](_0x59cf92[_0x313839(0x13e)],_0x389ea5,constants[_0x313839(0x1a0)]['MOCHA']);process[_0x313839(0x1c5)][_0x313839(0x101)]&&(_0xa431b2=centralScannerConstants[_0x313839(0x1eb)]);let _0xd6863b;const _0x41bfb6=_0x59cf92[_0x313839(0x13e)][_0x313839(0x151)]||helper[_0x313839(0x10e)](_0x6d0529,_0x34cb69,_0x59cf92[_0x313839(0x13e)],constants[_0x313839(0x1a0)]['MOCHA'])||0x1;helper[_0x313839(0x1b7)](_0x59cf92[_0x313839(0x13e)])?_0xd6863b=_0x3c4e32[_0x313839(0x191)](_0x59cf92[_0x313839(0x13e)][_0x313839(0x1cb)]['length'],_0x41bfb6):_0xd6863b=_0x41bfb6;const _0x4b6938=_0x3c4e32[_0x313839(0x1cc)](getPercyOptions,_0x59cf92[_0x313839(0x13e)]);if(_0x3c4e32['FCEOJ'](_0x59cf92[_0x313839(0x13e)][_0x313839(0x151)],0x1))_0x3a6e62[_0x313839(0x1f0)](_0x1487a5=>{const _0x7ff7d4=_0x313839,_0x2878f2=[];_0xb71a55[_0x7ff7d4(0x1f0)]((_0x383c8e,_0xf69728)=>{const _0x318ddb=_0x7ff7d4,_0x3ec453={};_0x3ec453[_0x318ddb(0x112)]=[_0x1487a5],_0x2878f2['push']({'mochaOpts':Object[_0x318ddb(0x1d3)]({},_0x1d4b9e,_0x3ec453),'configuration':{'server':_0xa431b2,'capability':_0x383c8e,'proxySettings':_0x59cf92[_0x318ddb(0x13e)][_0x318ddb(0x150)],'platform':helper['getPlatformName'](_0x383c8e),'browserStackLogLevel':_0x59cf92[_0x318ddb(0x13e)][_0x318ddb(0x1a5)],'platformIndex':_0xf69728,'browserStackPercyOptions':_0x4b6938,'platformCaps':_0x59cf92['config'][_0x318ddb(0x1cb)][_0xf69728]}});}),_0x1fb697[_0x7ff7d4(0x1ca)](..._0x2878f2);});else{const _0x57b90e=[];_0xb71a55['forEach']((_0x210fa6,_0x4a9c5b)=>{const _0x526f6c=_0x313839;let _0x127ea2=Object[_0x526f6c(0x1d3)]({},_0x1d4b9e);testOpsHelper[_0x526f6c(0x141)]()&&testOpsHelper['shouldReRunObservabilityTests']()&&(_0x127ea2={..._0x127ea2,'spec':[..._0x3a6e62]}),_0x57b90e[_0x526f6c(0x1ca)]({'mochaOpts':_0x127ea2,'configuration':{'server':_0xa431b2,'capability':_0x210fa6,'proxySettings':_0x59cf92[_0x526f6c(0x13e)]['proxySettings'],'platform':helper['getPlatformName'](_0x210fa6),'browserStackLogLevel':_0x59cf92[_0x526f6c(0x13e)][_0x526f6c(0x1a5)],'platformIndex':_0x4a9c5b,'browserStackPercyOptions':_0x4b6938,'platformCaps':_0x59cf92[_0x526f6c(0x13e)][_0x526f6c(0x1cb)][_0x4a9c5b]}});}),_0x1fb697['push'](..._0x57b90e);}logger['info'](_0x313839(0x15b)+_0x59cf92[_0x313839(0x13e)][_0x313839(0x1cb)]['length']+_0x313839(0x1e5)),logger[_0x313839(0x12a)](_0x3c4e32[_0x313839(0x175)]);let _0x1dd341;_0x3c4e32[_0x313839(0x199)](parallelTestRun,_0x1fb697,_0xd6863b,_0x59cf92)[_0x313839(0x1d8)](_0x1a5fba=>{const _0x3f79d7=_0x313839;_0x1dd341=_0x1a5fba,_0x3c4e32['iiNLe'](printStats,_0x1a5fba,_0x6d0529[_0x3f79d7(0x1be)],_0x6d0529['reporterOptions']||_0x6d0529[_0x3c4e32[_0x3f79d7(0x1ac)]]);})[_0x313839(0x1e4)](async()=>{const _0x59df9f=_0x313839;_0x59cf92[_0x59df9f(0x11d)]=helper['getErrorMessageFromResults'](_0x1dd341,_0x3c4e32['gNKVg']),await utilities[_0x59df9f(0x189)](_0x59cf92),testOpsHelper[_0x59df9f(0x1e3)]();});}}module[a28_0x4ce31d(0x1a9)]=run;