browserstack-node-sdk 1.34.18 → 1.34.20

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 (127) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/globals.js +1 -1
  101. package/src/helpers/helper.js +1 -1
  102. package/src/helpers/logger.js +1 -1
  103. package/src/helpers/patchHelper.js +1 -1
  104. package/src/helpers/patchHelpers.js +1 -1
  105. package/src/helpers/percy/Percy.js +1 -1
  106. package/src/helpers/percy/PercyBinary.js +1 -1
  107. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  108. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  109. package/src/helpers/percy/PercySDK.js +1 -1
  110. package/src/helpers/percy/index.js +1 -1
  111. package/src/helpers/percy/utils.js +1 -1
  112. package/src/helpers/performance-tester.js +1 -1
  113. package/src/helpers/request-spy.js +1 -1
  114. package/src/helpers/setKeepAlive.js +1 -1
  115. package/src/helpers/test-observability/constants.js +1 -1
  116. package/src/helpers/test-observability/error-handler.js +1 -1
  117. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  118. package/src/helpers/test-observability/sessionHandler.js +1 -1
  119. package/src/helpers/test-observability/utils.js +1 -1
  120. package/src/helpers/testhub/constants.js +1 -1
  121. package/src/helpers/testhub/testhubHandler.js +1 -1
  122. package/src/helpers/testhub/utils.js +1 -1
  123. package/src/helpers/timeoutPromise.js +1 -1
  124. package/src/helpers/utilities.js +1 -1
  125. package/src/helpers/w3cMapping.js +1 -1
  126. package/src/hubAllocationMethods.js +1 -1
  127. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a23_0x1d61af=a23_0x3719;(function(_0x15d30b,_0x221e05){const _0x19c5be=a23_0x3719,_0x423a21=_0x15d30b();while(!![]){try{const _0x4818f7=-parseInt(_0x19c5be(0xc0))/0x1+parseInt(_0x19c5be(0xc4))/0x2+-parseInt(_0x19c5be(0xb8))/0x3*(parseInt(_0x19c5be(0xb4))/0x4)+parseInt(_0x19c5be(0xc1))/0x5+parseInt(_0x19c5be(0xc8))/0x6+-parseInt(_0x19c5be(0xc3))/0x7+-parseInt(_0x19c5be(0xb3))/0x8;if(_0x4818f7===_0x221e05)break;else _0x423a21['push'](_0x423a21['shift']());}catch(_0x126509){_0x423a21['push'](_0x423a21['shift']());}}}(a23_0x43aa,0x88c6c));function a23_0x43aa(){const _0x3b25ae=['existsSync','cCrMq','exports','6108030MQNuIt','dirPath','BROWSERSTACK_TESTHUB_UUID','BiXWn','stringify','qRICu','.browserstack','getFilePath','setTestUUID','parse','readFileSync','setup','join','shutdown','getTestUUID','.json','_projectId','uuid','ENV_VAR','removeTestUUID','OYXjf','homedir','setTestData','rmSync','retry','getTestData','writeFileSync','qeHAz','testData.json','_test','7289216vqfKJW','4gCxQuD','RKRAW','tests','YzFMt','2754321xTIUkU','unlinkSync','XHdIH','path','force','../../../helpers/testhub/constants','toString','Jaxnj','163088mMMmnQ','3174060ROEedJ','jest-o11y-','956291TXtkDT','2072758pKayAJ'];a23_0x43aa=function(){return _0x3b25ae;};return a23_0x43aa();}const fs=require('fs'),path=require(a23_0x1d61af(0xbb)),{v4:uuidv4}=require('uuid'),helper=require('../../../helpers/helper'),testHubConstants=require(a23_0x1d61af(0xbd));class TestDetails{static ['tests']={};static [a23_0x1d61af(0xc9)]=path[a23_0x1d61af(0xa1)](helper[a23_0x1d61af(0xaa)](),a23_0x1d61af(0x9b),a23_0x1d61af(0xc2)+process['env'][testHubConstants[a23_0x1d61af(0xa7)][a23_0x1d61af(0x97)]]);static[a23_0x1d61af(0xa0)](){const _0x1818a3=a23_0x1d61af,_0x3e115d={};_0x3e115d[_0x1818a3(0xbf)]=_0x1818a3(0x9b);const _0x4f0a6b=_0x3e115d;this[_0x1818a3(0xc9)]=path[_0x1818a3(0xa1)](helper[_0x1818a3(0xaa)](),_0x4f0a6b[_0x1818a3(0xbf)],_0x1818a3(0xc2)+process['env'][testHubConstants[_0x1818a3(0xa7)][_0x1818a3(0x97)]]),this[_0x1818a3(0xa2)]();const _0x49ea41={};_0x49ea41['recursive']=!![],fs['mkdirSync'](this['dirPath'],_0x49ea41);}static[a23_0x1d61af(0x9c)](_0x5bb8ca){const _0x218a78=a23_0x1d61af,_0x12f002={};_0x12f002['XHdIH']=function(_0x5de04b,_0x4674bd){return _0x5de04b+_0x4674bd;},_0x12f002[_0x218a78(0xc6)]=_0x218a78(0xa4);const _0x225b23=_0x12f002;return path[_0x218a78(0xa1)](this[_0x218a78(0xc9)],_0x225b23[_0x218a78(0xba)](_0x5bb8ca,_0x225b23[_0x218a78(0xc6)]));}static['getTestRunIdFromTestInfo'](_0x10a90b){const _0x515122=a23_0x1d61af,_0x4ad4bd={};_0x4ad4bd[_0x515122(0x9a)]=function(_0x3651bd,_0x11e953){return _0x3651bd+_0x11e953;},_0x4ad4bd[_0x515122(0xb7)]=function(_0x3d24ed,_0x382e76){return _0x3d24ed+_0x382e76;},_0x4ad4bd['BiXWn']=function(_0x34af8c,_0xdd0a33){return _0x34af8c+_0xdd0a33;};const _0x189073=_0x4ad4bd;return _0x189073[_0x515122(0x9a)](_0x189073[_0x515122(0x9a)](_0x189073[_0x515122(0xb7)](_0x189073[_0x515122(0x98)](_0x10a90b[_0x515122(0xb2)][_0x515122(0xa5)],'-'),_0x10a90b['_test']['id']),'-'),_0x10a90b[_0x515122(0xad)]);}static[a23_0x1d61af(0xa3)](_0x375b4c){const _0x5f39b6=a23_0x1d61af,_0x227ed9=this[_0x5f39b6(0x9c)](_0x375b4c);if(fs[_0x5f39b6(0xc5)](_0x227ed9)){const _0x224adc=JSON[_0x5f39b6(0x9e)](fs[_0x5f39b6(0x9f)](_0x227ed9)[_0x5f39b6(0xbe)]());return this['tests'][_0x375b4c]=_0x224adc,this[_0x5f39b6(0xb6)][_0x375b4c][_0x5f39b6(0xa6)];}}static[a23_0x1d61af(0xab)](_0x369bf3){const _0x350432=a23_0x1d61af,_0x68d5fb={};_0x68d5fb['RKRAW']=_0x350432(0xb1);const _0x562424=_0x68d5fb,_0x1e2667=path[_0x350432(0xa1)](this[_0x350432(0xc9)],_0x562424[_0x350432(0xb5)]);fs['writeFileSync'](_0x1e2667,JSON['stringify'](_0x369bf3));}static[a23_0x1d61af(0xae)](){const _0x1a5287=a23_0x1d61af,_0x4987a4={};_0x4987a4[_0x1a5287(0xb0)]=_0x1a5287(0xb1);const _0x3f0f36=_0x4987a4,_0x53361e=path[_0x1a5287(0xa1)](this[_0x1a5287(0xc9)],_0x3f0f36[_0x1a5287(0xb0)]);let _0x22fc2b={};try{return fs[_0x1a5287(0xc5)](_0x53361e)&&(_0x22fc2b=JSON[_0x1a5287(0x9e)](fs['readFileSync'](_0x53361e)[_0x1a5287(0xbe)]())),_0x22fc2b;}catch(_0x3336ec){return _0x22fc2b;}}static[a23_0x1d61af(0x9d)](_0x50a1ed){const _0x2ae758=a23_0x1d61af,_0x25b7dc={'OYXjf':function(_0x25318e){return _0x25318e();}},_0x2a4501=this['getFilePath'](_0x50a1ed);return this[_0x2ae758(0xb6)][_0x50a1ed]={'uuid':_0x25b7dc[_0x2ae758(0xa9)](uuidv4)},fs[_0x2ae758(0xaf)](_0x2a4501,JSON[_0x2ae758(0x99)](this[_0x2ae758(0xb6)][_0x50a1ed])),this[_0x2ae758(0xb6)][_0x50a1ed][_0x2ae758(0xa6)];}static[a23_0x1d61af(0xa8)](_0x1eaec0){const _0x2d1b6c=a23_0x1d61af,_0x3ef81d=this[_0x2d1b6c(0x9c)](_0x1eaec0);fs[_0x2d1b6c(0xc5)](_0x3ef81d)&&fs[_0x2d1b6c(0xb9)](_0x3ef81d);}static['shutdown'](){const _0x10d42f=a23_0x1d61af,_0x1bf80d={};_0x1bf80d['recursive']=!![],_0x1bf80d[_0x10d42f(0xbc)]=!![],fs[_0x10d42f(0xac)](this['dirPath'],_0x1bf80d);}}function a23_0x3719(_0x514a49,_0x22f412){const _0x43aa3d=a23_0x43aa();return a23_0x3719=function(_0x371954,_0x5ae37d){_0x371954=_0x371954-0x97;let _0x3495d1=_0x43aa3d[_0x371954];return _0x3495d1;},a23_0x3719(_0x514a49,_0x22f412);}module[a23_0x1d61af(0xc7)]=TestDetails;
1
+ const a23_0x4e7581=a23_0x284b;function a23_0x16ba(){const _0x3c8ed3=['30KsGZXL','setup','../../../helpers/testhub/constants','testData.json','44FeXdAX','6iGWwll','setTestUUID','vVIid','36ZDqbIy','uuid','jest-o11y-','PlIyU','dirPath','_test','mkdirSync','recursive','getTestData','getTestRunIdFromTestInfo','LIBCo','.json','writeFileSync','stringify','CZjLk','1063266kgFMdt','61986564jyeTdv','join','.browserstack','getFilePath','1071580QQyvjv','ENV_VAR','ojAjK','222392gIIICY','setTestData','existsSync','_projectId','shutdown','TLkBt','env','DFyQn','readFileSync','path','getTestUUID','toString','abINl','removeTestUUID','BROWSERSTACK_TESTHUB_UUID','exports','31460lTOPBG','438PrBllf','2442896nPGjTG','230433LAmZjC','tests','parse','../../../helpers/helper','retry','rmSync','homedir'];a23_0x16ba=function(){return _0x3c8ed3;};return a23_0x16ba();}(function(_0x2622a3,_0x593e7e){const _0xee41f3=a23_0x284b,_0x489c54=_0x2622a3();while(!![]){try{const _0x4956eb=parseInt(_0xee41f3(0x1f1))/0x1*(-parseInt(_0xee41f3(0x210))/0x2)+parseInt(_0xee41f3(0x202))/0x3*(-parseInt(_0xee41f3(0x201))/0x4)+-parseInt(_0xee41f3(0x20b))/0x5*(parseInt(_0xee41f3(0x1e9))/0x6)+parseInt(_0xee41f3(0x204))/0x7+-parseInt(_0xee41f3(0x203))/0x8*(parseInt(_0xee41f3(0x213))/0x9)+parseInt(_0xee41f3(0x1ee))/0xa*(-parseInt(_0xee41f3(0x20f))/0xb)+parseInt(_0xee41f3(0x1ea))/0xc;if(_0x4956eb===_0x593e7e)break;else _0x489c54['push'](_0x489c54['shift']());}catch(_0x30a089){_0x489c54['push'](_0x489c54['shift']());}}}(a23_0x16ba,0xa37d6));const fs=require('fs'),path=require(a23_0x4e7581(0x1fa)),{v4:uuidv4}=require(a23_0x4e7581(0x1db)),helper=require(a23_0x4e7581(0x207)),testHubConstants=require(a23_0x4e7581(0x20d));class TestDetails{static [a23_0x4e7581(0x205)]={};static [a23_0x4e7581(0x1de)]=path[a23_0x4e7581(0x1eb)](helper[a23_0x4e7581(0x20a)](),a23_0x4e7581(0x1ec),a23_0x4e7581(0x1dc)+process[a23_0x4e7581(0x1f7)][testHubConstants[a23_0x4e7581(0x1ef)][a23_0x4e7581(0x1ff)]]);static[a23_0x4e7581(0x20c)](){const _0xc10cce=a23_0x4e7581,_0x1b2142={};_0x1b2142['LIBCo']='.browserstack';const _0x37b406=_0x1b2142;this['dirPath']=path[_0xc10cce(0x1eb)](helper[_0xc10cce(0x20a)](),_0x37b406[_0xc10cce(0x1e4)],_0xc10cce(0x1dc)+process[_0xc10cce(0x1f7)][testHubConstants[_0xc10cce(0x1ef)][_0xc10cce(0x1ff)]]),this[_0xc10cce(0x1f5)]();const _0xd0efb={};_0xd0efb[_0xc10cce(0x1e1)]=!![],fs[_0xc10cce(0x1e0)](this[_0xc10cce(0x1de)],_0xd0efb);}static[a23_0x4e7581(0x1ed)](_0x36cc3c){const _0x2e9c23=a23_0x4e7581,_0x473150={};_0x473150[_0x2e9c23(0x1e8)]=function(_0x5c6e17,_0x115267){return _0x5c6e17+_0x115267;},_0x473150[_0x2e9c23(0x1f8)]=_0x2e9c23(0x1e5);const _0x190373=_0x473150;return path[_0x2e9c23(0x1eb)](this['dirPath'],_0x190373[_0x2e9c23(0x1e8)](_0x36cc3c,_0x190373[_0x2e9c23(0x1f8)]));}static[a23_0x4e7581(0x1e3)](_0x2bda14){const _0x2e112c=a23_0x4e7581,_0xd0bc5f={};_0xd0bc5f[_0x2e112c(0x1f6)]=function(_0x3b9124,_0x25b5da){return _0x3b9124+_0x25b5da;},_0xd0bc5f[_0x2e112c(0x1f0)]=function(_0x37067d,_0x524710){return _0x37067d+_0x524710;};const _0x4f2737=_0xd0bc5f;return _0x4f2737[_0x2e112c(0x1f6)](_0x4f2737[_0x2e112c(0x1f0)](_0x4f2737[_0x2e112c(0x1f6)](_0x4f2737[_0x2e112c(0x1f0)](_0x2bda14['_test'][_0x2e112c(0x1f4)],'-'),_0x2bda14[_0x2e112c(0x1df)]['id']),'-'),_0x2bda14[_0x2e112c(0x208)]);}static[a23_0x4e7581(0x1fb)](_0x4acabf){const _0x5c890a=a23_0x4e7581,_0x20610d=this[_0x5c890a(0x1ed)](_0x4acabf);if(fs[_0x5c890a(0x1f3)](_0x20610d)){const _0x16fa5e=JSON[_0x5c890a(0x206)](fs[_0x5c890a(0x1f9)](_0x20610d)[_0x5c890a(0x1fc)]());return this[_0x5c890a(0x205)][_0x4acabf]=_0x16fa5e,this['tests'][_0x4acabf][_0x5c890a(0x1db)];}}static[a23_0x4e7581(0x1f2)](_0x34ef93){const _0x4101ef=a23_0x4e7581,_0x256eae={};_0x256eae[_0x4101ef(0x1dd)]='testData.json';const _0x450617=_0x256eae,_0x12bd8f=path[_0x4101ef(0x1eb)](this[_0x4101ef(0x1de)],_0x450617['PlIyU']);fs[_0x4101ef(0x1e6)](_0x12bd8f,JSON[_0x4101ef(0x1e7)](_0x34ef93));}static[a23_0x4e7581(0x1e2)](){const _0x41dcf3=a23_0x4e7581,_0x34c9f4={};_0x34c9f4[_0x41dcf3(0x1fd)]=_0x41dcf3(0x20e);const _0xb92960=_0x34c9f4,_0x14aa3f=path[_0x41dcf3(0x1eb)](this[_0x41dcf3(0x1de)],_0xb92960[_0x41dcf3(0x1fd)]);let _0x482e0b={};try{return fs[_0x41dcf3(0x1f3)](_0x14aa3f)&&(_0x482e0b=JSON['parse'](fs[_0x41dcf3(0x1f9)](_0x14aa3f)[_0x41dcf3(0x1fc)]())),_0x482e0b;}catch(_0xe4024){return _0x482e0b;}}static[a23_0x4e7581(0x211)](_0x16d94f){const _0x7aa483=a23_0x4e7581,_0x4da79b={'vVIid':function(_0x33a2aa){return _0x33a2aa();}},_0x165d0d=this[_0x7aa483(0x1ed)](_0x16d94f);return this[_0x7aa483(0x205)][_0x16d94f]={'uuid':_0x4da79b[_0x7aa483(0x212)](uuidv4)},fs[_0x7aa483(0x1e6)](_0x165d0d,JSON[_0x7aa483(0x1e7)](this[_0x7aa483(0x205)][_0x16d94f])),this['tests'][_0x16d94f][_0x7aa483(0x1db)];}static[a23_0x4e7581(0x1fe)](_0x5df89f){const _0x4718da=a23_0x4e7581,_0x48e3cb=this[_0x4718da(0x1ed)](_0x5df89f);fs['existsSync'](_0x48e3cb)&&fs['unlinkSync'](_0x48e3cb);}static[a23_0x4e7581(0x1f5)](){const _0x3ce925=a23_0x4e7581,_0x1a8af2={};_0x1a8af2[_0x3ce925(0x1e1)]=!![],_0x1a8af2['force']=!![],fs[_0x3ce925(0x209)](this[_0x3ce925(0x1de)],_0x1a8af2);}}function a23_0x284b(_0x4b27fa,_0x14c1b3){const _0x16ba05=a23_0x16ba();return a23_0x284b=function(_0x284bf4,_0x1c20c3){_0x284bf4=_0x284bf4-0x1db;let _0x386f28=_0x16ba05[_0x284bf4];return _0x386f28;},a23_0x284b(_0x4b27fa,_0x14c1b3);}module[a23_0x4e7581(0x200)]=TestDetails;
@@ -1 +1 @@
1
- function a24_0x3af3(){const _0x24d671=['2140984AdHQqW','keys','7tqXzhG','125875anPhXe','153332xpOZeu','../../helpers/helper','71190mVmRET','selenium-webdriver','4IUDEPE','3787714lgWHGw','3104256JxojDC','975738PBHgdv','18LWrJgA','__webdriver'];a24_0x3af3=function(){return _0x24d671;};return a24_0x3af3();}const a24_0x1fef5e=a24_0x3a21;(function(_0x2fe6ba,_0x44c524){const _0x24918d=a24_0x3a21,_0x364e87=_0x2fe6ba();while(!![]){try{const _0x532539=-parseInt(_0x24918d(0x111))/0x1*(-parseInt(_0x24918d(0x113))/0x2)+parseInt(_0x24918d(0x11a))/0x3+-parseInt(_0x24918d(0x117))/0x4*(-parseInt(_0x24918d(0x112))/0x5)+-parseInt(_0x24918d(0x119))/0x6+-parseInt(_0x24918d(0x118))/0x7+parseInt(_0x24918d(0x10f))/0x8*(parseInt(_0x24918d(0x11b))/0x9)+-parseInt(_0x24918d(0x115))/0xa;if(_0x532539===_0x44c524)break;else _0x364e87['push'](_0x364e87['shift']());}catch(_0x185ab5){_0x364e87['push'](_0x364e87['shift']());}}}(a24_0x3af3,0x5717c));const {requireModule}=require(a24_0x1fef5e(0x114));require('../../helpers/setKeepAlive')();const __wd__=requireModule(a24_0x1fef5e(0x116));function a24_0x3a21(_0x22266e,_0x2b707e){const _0x3af3cb=a24_0x3af3();return a24_0x3a21=function(_0x3a21c7,_0x40b82f){_0x3a21c7=_0x3a21c7-0x10f;let _0x2ba346=_0x3af3cb[_0x3a21c7];return _0x2ba346;},a24_0x3a21(_0x22266e,_0x2b707e);}for(const key of Object[a24_0x1fef5e(0x110)](global['__webdriver'])){__wd__[key]=global[a24_0x1fef5e(0x11c)][key];}
1
+ function a24_0x31e0(){const _0x1df7a8=['1709095YYlEDj','keys','3RwiVuG','../../helpers/helper','596956XUMukX','__webdriver','165UnOGLz','194370MCOdVL','6sZfwaz','../../helpers/setKeepAlive','83552EIAPyf','872648SOBOAE','544404TnKBRN','118334oMPdvt','18rwIkOi','6evSyNP'];a24_0x31e0=function(){return _0x1df7a8;};return a24_0x31e0();}const a24_0x50a904=a24_0x211c;(function(_0x53f63d,_0x2c707c){const _0x4cdc26=a24_0x211c,_0x3db988=_0x53f63d();while(!![]){try{const _0x1709a1=parseInt(_0x4cdc26(0xa4))/0x1*(parseInt(_0x4cdc26(0x9f))/0x2)+-parseInt(_0x4cdc26(0xaa))/0x3*(-parseInt(_0x4cdc26(0xa6))/0x4)+parseInt(_0x4cdc26(0xa2))/0x5*(-parseInt(_0x4cdc26(0xa1))/0x6)+parseInt(_0x4cdc26(0xac))/0x7+parseInt(_0x4cdc26(0xad))/0x8*(-parseInt(_0x4cdc26(0xa0))/0x9)+-parseInt(_0x4cdc26(0xa9))/0xa*(-parseInt(_0x4cdc26(0xa8))/0xb)+-parseInt(_0x4cdc26(0x9e))/0xc;if(_0x1709a1===_0x2c707c)break;else _0x3db988['push'](_0x3db988['shift']());}catch(_0x4ca840){_0x3db988['push'](_0x3db988['shift']());}}}(a24_0x31e0,0x2a82a));const {requireModule}=require(a24_0x50a904(0xa5));function a24_0x211c(_0x4fe02c,_0x2ebe99){const _0x31e057=a24_0x31e0();return a24_0x211c=function(_0x211c5a,_0x12d8c0){_0x211c5a=_0x211c5a-0x9e;let _0x4d5b93=_0x31e057[_0x211c5a];return _0x4d5b93;},a24_0x211c(_0x4fe02c,_0x2ebe99);}require(a24_0x50a904(0xab))();const __wd__=requireModule('selenium-webdriver');for(const key of Object[a24_0x50a904(0xa3)](global[a24_0x50a904(0xa7)])){__wd__[key]=global[a24_0x50a904(0xa7)][key];}
@@ -1 +1 @@
1
- const a25_0x54ffea=a25_0x27f4;(function(_0x4ae57f,_0x421986){const _0x530baf=a25_0x27f4,_0x36e80f=_0x4ae57f();while(!![]){try{const _0xbde626=-parseInt(_0x530baf(0x194))/0x1*(-parseInt(_0x530baf(0x1be))/0x2)+parseInt(_0x530baf(0x1ac))/0x3*(parseInt(_0x530baf(0x1ab))/0x4)+parseInt(_0x530baf(0x198))/0x5+-parseInt(_0x530baf(0x1b9))/0x6*(parseInt(_0x530baf(0x1b7))/0x7)+-parseInt(_0x530baf(0x19a))/0x8+-parseInt(_0x530baf(0x1a3))/0x9+parseInt(_0x530baf(0x1c1))/0xa*(parseInt(_0x530baf(0x1a7))/0xb);if(_0xbde626===_0x421986)break;else _0x36e80f['push'](_0x36e80f['shift']());}catch(_0x2def2c){_0x36e80f['push'](_0x36e80f['shift']());}}}(a25_0x488a,0x824da));function a25_0x27f4(_0x186a5b,_0x147380){const _0x488aad=a25_0x488a();return a25_0x27f4=function(_0x27f4fd,_0x3c2c81){_0x27f4fd=_0x27f4fd-0x194;let _0x215e22=_0x488aad[_0x27f4fd];return _0x215e22;},a25_0x27f4(_0x186a5b,_0x147380);}const path=require(a25_0x54ffea(0x196)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x54ffea(0x1aa)),constants=require(a25_0x54ffea(0x1b8)),{isAccessibilityAutomationSession}=require(a25_0x54ffea(0x197)),RequestQueueHandler=require(a25_0x54ffea(0x1c2)),{isTestObservabilitySession}=require(a25_0x54ffea(0x1b1)),helper=require(a25_0x54ffea(0x1aa)),{commandRepository}=require(a25_0x54ffea(0x1b3));function a25_0x488a(){const _0x27a38c=['platformCaps','testsErrorMessage','setConfig','__platformCaps','capability','6084720HrYpag','4|7|18|17|20|19|14|13|21|23|2|12|0|5|16|6|3|8|1|9|10|15|11|22','OdpCQ','platform','5929ywhBxr','testsPassed','setupCucumber','../../helpers/helper','88868nAYBJO','57TSenyM','testsPending','AI_ENABLED_FRAMEWORK','testsAmbiguous','testsUndefined','../../helpers/test-observability/utils','_configuration','../../helpers/ai-sdk/autoHealHelper','testsFailed','__platform__','_testObservability','33691GAFufq','../utils/constants','1020KivgRn','includes','configuration','setFramework','_accessibilityAutomation','934uRtiUu','split','formatter','2770SQCWhQ','../../helpers/test-observability/requestQueueHandler','QFPAs','2269LpyhrW','_formatter','path','../../helpers/accessibility-automation/helper','2086825WsgTGy','resolvePaths','163216sQxTkN','testsUnknown','_bsConfig','_capability'];a25_0x488a=function(){return _0x27a38c;};return a25_0x488a();}class Launcher{constructor(_0x273f9c,_0x175961,_0x376c9d,_0x269d51=[]){const _0x1a9e24=a25_0x54ffea,_0x3eb1da={'OdpCQ':_0x1a9e24(0x1a4),'QFPAs':function(_0x36c1c0){return _0x36c1c0();}},_0x2a2197=_0x3eb1da[_0x1a9e24(0x1a5)][_0x1a9e24(0x1bf)]('|');let _0x2e3b56=0x0;while(!![]){switch(_0x2a2197[_0x2e3b56++]){case'0':global['testSuites']=0x0;continue;case'1':global['testSuitesFailed']=0x0;continue;case'2':this[_0x1a9e24(0x1bd)]=_0x3eb1da[_0x1a9e24(0x1c3)](isAccessibilityAutomationSession);continue;case'3':global[_0x1a9e24(0x1ad)]=0x0;continue;case'4':this['_framework']=_0x273f9c;continue;case'5':global['totalTests']=0x0;continue;case'6':global[_0x1a9e24(0x1b4)]=0x0;continue;case'7':this[_0x1a9e24(0x1b2)]=_0x175961[_0x1a9e24(0x1bb)]||{};continue;case'8':global['testsSkipped']=0x0;continue;case'9':global[_0x1a9e24(0x1b0)]=0x0;continue;case'10':global[_0x1a9e24(0x19b)]=0x0;continue;case'11':global[_0x1a9e24(0x19f)]={};continue;case'12':global[_0x1a9e24(0x1a1)]=this[_0x1a9e24(0x1b2)][_0x1a9e24(0x19e)]||{};continue;case'13':this['_argv']=_0x269d51;continue;case'14':global[_0x1a9e24(0x1b5)]=this[_0x1a9e24(0x1b2)][_0x1a9e24(0x1a6)];continue;case'15':global[_0x1a9e24(0x1af)]=0x0;continue;case'16':global[_0x1a9e24(0x1a8)]=0x0;continue;case'17':this['_mochaOpts']=_0x175961['mochaOpts'];continue;case'18':this['_configuration']['framework']=_0x273f9c;continue;case'19':this[_0x1a9e24(0x19d)]=this[_0x1a9e24(0x1b2)][_0x1a9e24(0x1a2)];continue;case'20':this[_0x1a9e24(0x195)]=_0x175961[_0x1a9e24(0x1c0)];continue;case'21':this[_0x1a9e24(0x19c)]=_0x376c9d;continue;case'22':!constants[_0x1a9e24(0x1ae)][_0x1a9e24(0x1ba)](_0x273f9c)&&(commandRepository[_0x1a9e24(0x1a0)](_0x376c9d),commandRepository[_0x1a9e24(0x1bc)](_0x273f9c));continue;case'23':this[_0x1a9e24(0x1b6)]=_0x3eb1da[_0x1a9e24(0x1c3)](isTestObservabilitySession);continue;}break;}}[a25_0x54ffea(0x1a9)](_0x2989ac,_0x30e359,_0x35f110){const _0x30d449=a25_0x54ffea,_0x6fe18b=_0x2989ac[_0x30d449(0x199)];_0x2989ac.resolvePaths=async function(){const pathResults=await _0x6fe18b.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x35f110));return pathResults;},_0x30e359.push('--format'),_0x30e359.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}const plugins=await mochaRunHelper.handleRequires(this._mochaOpts.require);Object.assign(this._mochaOpts,plugins);if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={...this._mochaOpts,reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),reporterOption:{...this._mochaOpts.reporterOptions,type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig},parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout};global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);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
+ function a25_0x2513(){const _0x5589ce=['_testObservability','22555IEBYFs','testsUndefined','mochaOpts','../../helpers/accessibility-automation/helper','../../helpers/ai-sdk/autoHealHelper','../utils/constants','95OCKnMd','testsErrorMessage','setupCucumber','testsAmbiguous','formatter','10|6|5|8|7|12|21|16|4|23|14|20|19|13|9|0|15|22|3|18|1|2|11|17','30638XZnLBB','_framework','__platform__','_bsConfig','totalTests','platform','3HBSSJw','7194770zZcRlS','1886823HjQrCV','1842144JqBvJr','configuration','../../helpers/test-observability/utils','_configuration','testSuites','capability','testsPassed','63388usXkgA','AI_ENABLED_FRAMEWORK','_mochaOpts','path','../../helpers/helper','20279mdtTHH','includes','setConfig','resolvePaths','bvtsk','_formatter','_argv','testsUnknown','378WDsaZo','platformCaps','framework','../../helpers/test-observability/requestQueueHandler','setFramework'];a25_0x2513=function(){return _0x5589ce;};return a25_0x2513();}const a25_0x522d4a=a25_0x267e;(function(_0x39d4b7,_0x5bc783){const _0x5ce100=a25_0x267e,_0x1db14f=_0x39d4b7();while(!![]){try{const _0x582812=-parseInt(_0x5ce100(0x139))/0x1+-parseInt(_0x5ce100(0x145))/0x2*(parseInt(_0x5ce100(0x11c))/0x3)+parseInt(_0x5ce100(0x126))/0x4*(parseInt(_0x5ce100(0x13f))/0x5)+parseInt(_0x5ce100(0x133))/0x6*(parseInt(_0x5ce100(0x12b))/0x7)+parseInt(_0x5ce100(0x11f))/0x8+parseInt(_0x5ce100(0x11e))/0x9+-parseInt(_0x5ce100(0x11d))/0xa;if(_0x582812===_0x5bc783)break;else _0x1db14f['push'](_0x1db14f['shift']());}catch(_0x198c31){_0x1db14f['push'](_0x1db14f['shift']());}}}(a25_0x2513,0x28918));const path=require(a25_0x522d4a(0x129)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x522d4a(0x12a)),constants=require(a25_0x522d4a(0x13e)),{isAccessibilityAutomationSession}=require(a25_0x522d4a(0x13c)),RequestQueueHandler=require(a25_0x522d4a(0x136)),{isTestObservabilitySession}=require(a25_0x522d4a(0x121)),helper=require(a25_0x522d4a(0x12a)),{commandRepository}=require(a25_0x522d4a(0x13d));class Launcher{constructor(_0x3aea52,_0xb62e26,_0x5e3999,_0x5724ff=[]){const _0x1bc568=a25_0x522d4a,_0x522e63={'CbrMI':_0x1bc568(0x144),'bvtsk':function(_0x37a757){return _0x37a757();}},_0x4955d3=_0x522e63['CbrMI']['split']('|');let _0x4d8072=0x0;while(!![]){switch(_0x4955d3[_0x4d8072++]){case'0':global['testsFailed']=0x0;continue;case'1':global[_0x1bc568(0x132)]=0x0;continue;case'2':global[_0x1bc568(0x142)]=0x0;continue;case'3':global['testSuitesFailed']=0x0;continue;case'4':this[_0x1bc568(0x148)]=_0x5e3999;continue;case'5':this[_0x1bc568(0x122)][_0x1bc568(0x135)]=_0x3aea52;continue;case'6':this[_0x1bc568(0x122)]=_0xb62e26[_0x1bc568(0x120)]||{};continue;case'7':this[_0x1bc568(0x130)]=_0xb62e26[_0x1bc568(0x143)];continue;case'8':this[_0x1bc568(0x128)]=_0xb62e26[_0x1bc568(0x13b)];continue;case'9':global[_0x1bc568(0x125)]=0x0;continue;case'10':this[_0x1bc568(0x146)]=_0x3aea52;continue;case'11':global[_0x1bc568(0x140)]={};continue;case'12':this['_capability']=this[_0x1bc568(0x122)][_0x1bc568(0x124)];continue;case'13':global[_0x1bc568(0x11a)]=0x0;continue;case'14':this['_accessibilityAutomation']=_0x522e63[_0x1bc568(0x12f)](isAccessibilityAutomationSession);continue;case'15':global['testsPending']=0x0;continue;case'16':this[_0x1bc568(0x131)]=_0x5724ff;continue;case'17':!constants[_0x1bc568(0x127)][_0x1bc568(0x12c)](_0x3aea52)&&(commandRepository[_0x1bc568(0x12d)](_0x5e3999),commandRepository[_0x1bc568(0x137)](_0x3aea52));continue;case'18':global[_0x1bc568(0x13a)]=0x0;continue;case'19':global[_0x1bc568(0x123)]=0x0;continue;case'20':global['__platformCaps']=this['_configuration'][_0x1bc568(0x134)]||{};continue;case'21':global[_0x1bc568(0x147)]=this['_configuration'][_0x1bc568(0x11b)];continue;case'22':global['testsSkipped']=0x0;continue;case'23':this[_0x1bc568(0x138)]=_0x522e63[_0x1bc568(0x12f)](isTestObservabilitySession);continue;}break;}}[a25_0x522d4a(0x141)](_0x5d3440,_0x48924b,_0x3f0d24){const _0x2d1f3c=a25_0x522d4a,_0x2b52e8=_0x5d3440[_0x2d1f3c(0x12e)];_0x5d3440.resolvePaths=async function(){const pathResults=await _0x2b52e8.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x3f0d24));return pathResults;},_0x48924b.push('--format'),_0x48924b.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}const plugins=await mochaRunHelper.handleRequires(this._mochaOpts.require);Object.assign(this._mochaOpts,plugins);if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={...this._mochaOpts,reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),reporterOption:{...this._mochaOpts.reporterOptions,type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig},parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout};global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);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_0x267e(_0x1ccabf,_0x4b4d79){const _0x251364=a25_0x2513();return a25_0x267e=function(_0x267e8b,_0x1cde6a){_0x267e8b=_0x267e8b-0x11a;let _0x1219be=_0x251364[_0x267e8b];return _0x1219be;},a25_0x267e(_0x1ccabf,_0x4b4d79);}module.exports=Launcher;
@@ -1 +1 @@
1
- const a26_0x308f3e=a26_0x268e;(function(_0x33f1bc,_0x2da35c){const _0x12d2fc=a26_0x268e,_0x211348=_0x33f1bc();while(!![]){try{const _0x1d16b0=parseInt(_0x12d2fc(0x1a5))/0x1*(parseInt(_0x12d2fc(0x177))/0x2)+parseInt(_0x12d2fc(0x16d))/0x3*(parseInt(_0x12d2fc(0x1a1))/0x4)+-parseInt(_0x12d2fc(0x182))/0x5+-parseInt(_0x12d2fc(0x17d))/0x6+-parseInt(_0x12d2fc(0x199))/0x7+-parseInt(_0x12d2fc(0x18f))/0x8+parseInt(_0x12d2fc(0x1b8))/0x9*(parseInt(_0x12d2fc(0x17a))/0xa);if(_0x1d16b0===_0x2da35c)break;else _0x211348['push'](_0x211348['shift']());}catch(_0x8d697f){_0x211348['push'](_0x211348['shift']());}}}(a26_0x271b,0x34f68));const path=require(a26_0x308f3e(0x174)),os=require('os'),util=require(a26_0x308f3e(0x178)),bsSetupHelper=require('../../../helpers/helper'),globals=require(a26_0x308f3e(0x191)),logger=require('../../../helpers/logger')[a26_0x308f3e(0x171)];function a26_0x268e(_0x1fbcf2,_0x17c070){const _0x271be1=a26_0x271b();return a26_0x268e=function(_0x268e19,_0x35997e){_0x268e19=_0x268e19-0x169;let _0xc110d=_0x271be1[_0x268e19];return _0xc110d;},a26_0x268e(_0x1fbcf2,_0x17c070);}function a26_0x271b(){const _0x233392=['requireModule','setExtension','options_','tnSha','device','3366176sFfDcA','browserstack.accessibilityOptions','../../../helpers/globals','browser_version','lCYQw','authToken','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','YuxUc','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','bstack:options','1890924JIhzCO','nsgen','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','sBNXt','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','isUndefined','chromeOptions_','UhqhE','32GOpvae','getPlatform','gFDij','getBrowserName','9214LfbsZK','Options','chrome','chromeOptions','asgqv','debug','nwHtk','capability','browserVersion','parse','EmUtx','UqKBT','BS_A11Y_JWT','YQzeF','gfHZO','isAccessibilityPlatform','browserstack.accessibility','args','getBrowserVersion','6995853wguOVm','accessibilityOptions','ktSdh','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','nestedKeyValue','LUkmv','151266tviClT','TgZao','latest','hwPFZ','winstonLogger','format','fetchPlatformDetails','path','browserstack','__cloud_provider___','6bkFUAc','util','BiiMW','10LIriZg','env','setAccessibilityCapabilities','1727556zGRqpC','accessibility','selenium-webdriver/chrome.js','capabilities_','hLaOT','62845lzDwsz','scannerVersion','get','toLowerCase','warn','ABNSo','zofzh','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.'];a26_0x271b=function(){return _0x233392;};return a26_0x271b();}exports[a26_0x308f3e(0x17c)]=_0x7ea888=>{const _0x53ddbb=a26_0x308f3e,_0x3a432d={};_0x3a432d[_0x53ddbb(0x1a0)]=_0x53ddbb(0x198),_0x3a432d['BiiMW']=_0x53ddbb(0x1b5),_0x3a432d['lCYQw']=_0x53ddbb(0x1b4),_0x3a432d['tnSha']=_0x53ddbb(0x190);const _0x300f5f=_0x3a432d;try{const _0x17ec1b=_0x7ea888[_0x53ddbb(0x1ac)]||{};if(_0x17ec1b[_0x300f5f[_0x53ddbb(0x1a0)]]&&_0x17ec1b[_0x300f5f[_0x53ddbb(0x1a0)]][_0x53ddbb(0x17e)]||_0x7ea888['capability'][_0x300f5f[_0x53ddbb(0x179)]]){globals['setGlobal'](_0x300f5f[_0x53ddbb(0x193)],!![]);if(_0x17ec1b[_0x300f5f[_0x53ddbb(0x1a0)]]){if(_0x17ec1b[_0x300f5f['UhqhE']][_0x53ddbb(0x1b9)])_0x17ec1b[_0x300f5f[_0x53ddbb(0x1a0)]][_0x53ddbb(0x1b9)][_0x53ddbb(0x194)]=process[_0x53ddbb(0x17b)]['BS_A11Y_JWT'];else{const _0x3c79f0={};_0x3c79f0[_0x53ddbb(0x194)]=process[_0x53ddbb(0x17b)][_0x53ddbb(0x1b1)],_0x17ec1b[_0x300f5f['UhqhE']]['accessibilityOptions']=_0x3c79f0;}_0x17ec1b[_0x300f5f['UhqhE']]['accessibilityOptions'][_0x53ddbb(0x183)]=JSON[_0x53ddbb(0x1ae)](process[_0x53ddbb(0x17b)][_0x53ddbb(0x197)])[_0x53ddbb(0x183)];}else{if(_0x7ea888[_0x53ddbb(0x1ac)][_0x300f5f['BiiMW']]){if(_0x17ec1b[_0x300f5f['tnSha']])_0x17ec1b[_0x300f5f[_0x53ddbb(0x18d)]][_0x53ddbb(0x194)]=process[_0x53ddbb(0x17b)][_0x53ddbb(0x1b1)];else{const _0x2f71fd={};_0x2f71fd[_0x53ddbb(0x194)]=process['env'][_0x53ddbb(0x1b1)],_0x17ec1b[_0x300f5f[_0x53ddbb(0x18d)]]=_0x2f71fd;}_0x17ec1b[_0x300f5f[_0x53ddbb(0x18d)]][_0x53ddbb(0x183)]=JSON['parse'](process[_0x53ddbb(0x17b)][_0x53ddbb(0x197)])[_0x53ddbb(0x183)];}}}}catch(_0x4d2fbc){logger[_0x53ddbb(0x1aa)](_0x53ddbb(0x16a)+_0x4d2fbc);}},exports[a26_0x308f3e(0x18b)]=(_0xeea175,_0x4d9df1)=>{const _0x288fda=a26_0x308f3e,_0x204b66={};_0x204b66[_0x288fda(0x16c)]='bstack:options',_0x204b66['nsgen']=function(_0x290cd6,_0x3e8e1a){return _0x290cd6!==_0x3e8e1a;},_0x204b66[_0x288fda(0x170)]=_0x288fda(0x189),_0x204b66[_0x288fda(0x1b3)]=_0x288fda(0x1a7),_0x204b66[_0x288fda(0x196)]='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.',_0x204b66[_0x288fda(0x188)]=function(_0x5b70b6,_0xa618a9){return _0x5b70b6===_0xa618a9;},_0x204b66['sBNXt']=_0x288fda(0x16f),_0x204b66[_0x288fda(0x169)]=function(_0x224216,_0x1806fb){return _0x224216>_0x1806fb;},_0x204b66[_0x288fda(0x1ab)]=_0x288fda(0x19b),_0x204b66[_0x288fda(0x1b2)]=_0x288fda(0x17f),_0x204b66[_0x288fda(0x1b0)]=_0x288fda(0x18c),_0x204b66['gFDij']=_0x288fda(0x1b6),_0x204b66[_0x288fda(0x16e)]=_0x288fda(0x1a8),_0x204b66[_0x288fda(0x1a9)]='--headless',_0x204b66[_0x288fda(0x187)]=_0x288fda(0x195);const _0x51b3f7=_0x204b66;try{const _0x48dbe4=_0x4d9df1[_0x288fda(0x1ac)]||{},_0x2df362=(_0x48dbe4[_0x51b3f7['LUkmv']]?_0x48dbe4[_0x51b3f7['LUkmv']]['deviceName']:_0x48dbe4[_0x288fda(0x18e)])||'';if(_0x51b3f7[_0x288fda(0x19a)](_0x2df362,''))return logger[_0x288fda(0x186)](_0x51b3f7[_0x288fda(0x170)]),![];const _0x38bf5f=_0x48dbe4['browserName']||_0xeea175[_0x288fda(0x180)][_0x288fda(0x1a4)]();if(_0x51b3f7[_0x288fda(0x19a)](_0x38bf5f[_0x288fda(0x185)](),_0x51b3f7[_0x288fda(0x1b3)]))return logger[_0x288fda(0x186)](_0x51b3f7[_0x288fda(0x196)]),![];const _0x32552d=_0x48dbe4[_0x288fda(0x1ad)]||_0x48dbe4[_0x288fda(0x192)]||_0xeea175['capabilities_'][_0x288fda(0x1b7)]();if(!bsSetupHelper[_0x288fda(0x19e)](_0x32552d)&&!(_0x51b3f7[_0x288fda(0x188)](_0x32552d,_0x51b3f7[_0x288fda(0x19c)])||_0x51b3f7[_0x288fda(0x169)](_0x32552d,0x5e)))return logger[_0x288fda(0x186)](_0x51b3f7['nwHtk']),![];let _0xfe2682;try{_0xfe2682=bsSetupHelper[_0x288fda(0x18a)](_0x51b3f7[_0x288fda(0x1b2)]);}catch(_0xa4fd5f){return![];}const _0x3842da=new _0xfe2682[(_0x288fda(0x1a6))](_0xeea175[_0x288fda(0x19f)]),_0x1b62bc=bsSetupHelper['nestedKeyValue'](_0x3842da,[_0x51b3f7[_0x288fda(0x1b0)],_0x51b3f7[_0x288fda(0x1a3)]])||bsSetupHelper[_0x288fda(0x16b)](_0xeea175[_0x288fda(0x180)]['get'](_0x51b3f7[_0x288fda(0x16c)]),[_0x51b3f7[_0x288fda(0x16e)],_0x51b3f7['gFDij']])||bsSetupHelper[_0x288fda(0x16b)](_0xeea175[_0x288fda(0x180)][_0x288fda(0x184)](_0x51b3f7[_0x288fda(0x16e)]),[_0x51b3f7[_0x288fda(0x1a3)]])||[];if(_0x1b62bc['includes'](_0x51b3f7[_0x288fda(0x1a9)]))return logger[_0x288fda(0x186)](_0x51b3f7[_0x288fda(0x187)]),![];return!![];}catch(_0x437915){logger['debug']('Exception\x20in\x20setExtension\x20Error:\x20'+util[_0x288fda(0x172)](_0x437915));}return![];},exports[a26_0x308f3e(0x173)]=async _0x537b30=>{const _0x55ddeb=a26_0x308f3e,_0x599de7={};_0x599de7['EmUtx']=function(_0xbf647c,_0x28971e){return _0xbf647c===_0x28971e;},_0x599de7[_0x55ddeb(0x181)]=_0x55ddeb(0x175);const _0x3d78ed=_0x599de7;let _0x1db31f={};try{const _0x304312=await _0x537b30['getCapabilities']();_0x1db31f={'os_name':_0x304312[_0x55ddeb(0x1a2)](),'os_version':bsSetupHelper['getPlatformVersion'](_0x3d78ed[_0x55ddeb(0x1af)](global[_0x55ddeb(0x176)],_0x3d78ed['hLaOT'])),'browser_name':_0x304312[_0x55ddeb(0x1a4)](),'browser_version':_0x304312[_0x55ddeb(0x1b7)]()};}catch(_0x53cf5f){logger[_0x55ddeb(0x1aa)](_0x55ddeb(0x19d)+_0x53cf5f);}return _0x1db31f;};
1
+ const a26_0x4a8371=a26_0x5515;(function(_0x19834d,_0x2efc66){const _0x18ca17=a26_0x5515,_0x51ef9b=_0x19834d();while(!![]){try{const _0x372765=-parseInt(_0x18ca17(0x1f7))/0x1*(-parseInt(_0x18ca17(0x1eb))/0x2)+parseInt(_0x18ca17(0x1d8))/0x3+-parseInt(_0x18ca17(0x1da))/0x4*(-parseInt(_0x18ca17(0x1f4))/0x5)+parseInt(_0x18ca17(0x1fd))/0x6*(-parseInt(_0x18ca17(0x1d9))/0x7)+parseInt(_0x18ca17(0x1e9))/0x8+-parseInt(_0x18ca17(0x210))/0x9+-parseInt(_0x18ca17(0x1e4))/0xa;if(_0x372765===_0x2efc66)break;else _0x51ef9b['push'](_0x51ef9b['shift']());}catch(_0x4ced85){_0x51ef9b['push'](_0x51ef9b['shift']());}}}(a26_0x14b8,0xe3af7));const path=require(a26_0x4a8371(0x1e3)),os=require('os'),util=require(a26_0x4a8371(0x1ec)),bsSetupHelper=require(a26_0x4a8371(0x20d)),globals=require(a26_0x4a8371(0x1c5)),logger=require(a26_0x4a8371(0x1fa))[a26_0x4a8371(0x205)];function a26_0x5515(_0x209b15,_0xb3c583){const _0x14b872=a26_0x14b8();return a26_0x5515=function(_0x5515af,_0x4884ab){_0x5515af=_0x5515af-0x1c2;let _0x14f9dd=_0x14b872[_0x5515af];return _0x14f9dd;},a26_0x5515(_0x209b15,_0xb3c583);}function a26_0x14b8(){const _0x40b5f8=['8079704ceZpVY','capabilities_','70AsrQgO','util','latest','authToken','EBoAJ','exVvc','IFVcf','requireModule','chromeOptions','124715zUJXdH','PFAeS','browserVersion','28535VtSTGg','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','options_','../../../helpers/logger','PaOZx','OADdu','6aYWtEb','bstack:options','chromeOptions_','warn','browserstack','getBrowserName','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','chrome','winstonLogger','Exception\x20in\x20setExtension\x20Error:\x20','args','DjQDC','dFpga','debug','parse','nestedKeyValue','../../../helpers/helper','browserstack.accessibility','OyJit','7332192ZuUkAB','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','--headless','deviceName','vsaDI','vzjJK','../../../helpers/globals','accessibilityOptions','browserName','WqFvc','aZSBl','wmQEO','selenium-webdriver/chrome.js','isAccessibilityPlatform','browserstack.accessibilityOptions','eLRhx','env','wgUMW','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','isUndefined','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','VraQd','format','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','scannerVersion','4245369rqBWTe','2102114OFFsCo','4ddkEkp','__cloud_provider___','getPlatform','Options','getBrowserVersion','BS_A11Y_JWT','setGlobal','setExtension','fetchPlatformDetails','path','14011650IHekvX','duBCG','capability','device','dwtKG'];a26_0x14b8=function(){return _0x40b5f8;};return a26_0x14b8();}exports['setAccessibilityCapabilities']=_0x5bad58=>{const _0x5d58e1=a26_0x4a8371,_0x5ef608={};_0x5ef608[_0x5d58e1(0x1c8)]=_0x5d58e1(0x1fe),_0x5ef608[_0x5d58e1(0x1c3)]=_0x5d58e1(0x20e),_0x5ef608[_0x5d58e1(0x20f)]=_0x5d58e1(0x1cc),_0x5ef608[_0x5d58e1(0x1ce)]=_0x5d58e1(0x1cd);const _0x174ff4=_0x5ef608;try{const _0x55cf64=_0x5bad58['capability']||{};if(_0x55cf64[_0x174ff4[_0x5d58e1(0x1c8)]]&&_0x55cf64[_0x174ff4[_0x5d58e1(0x1c8)]]['accessibility']||_0x5bad58[_0x5d58e1(0x1e6)][_0x174ff4['vsaDI']]){globals[_0x5d58e1(0x1e0)](_0x174ff4[_0x5d58e1(0x20f)],!![]);if(_0x55cf64[_0x174ff4['WqFvc']]){if(_0x55cf64[_0x174ff4[_0x5d58e1(0x1c8)]][_0x5d58e1(0x1c6)])_0x55cf64[_0x174ff4[_0x5d58e1(0x1c8)]][_0x5d58e1(0x1c6)][_0x5d58e1(0x1ee)]=process[_0x5d58e1(0x1cf)][_0x5d58e1(0x1df)];else{const _0x5bc7ea={};_0x5bc7ea[_0x5d58e1(0x1ee)]=process['env']['BS_A11Y_JWT'],_0x55cf64[_0x174ff4[_0x5d58e1(0x1c8)]][_0x5d58e1(0x1c6)]=_0x5bc7ea;}_0x55cf64[_0x174ff4[_0x5d58e1(0x1c8)]][_0x5d58e1(0x1c6)][_0x5d58e1(0x1d7)]=JSON[_0x5d58e1(0x20b)](process[_0x5d58e1(0x1cf)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x5d58e1(0x1d7)];}else{if(_0x5bad58[_0x5d58e1(0x1e6)][_0x174ff4[_0x5d58e1(0x1c3)]]){if(_0x55cf64[_0x174ff4[_0x5d58e1(0x1ce)]])_0x55cf64[_0x174ff4[_0x5d58e1(0x1ce)]]['authToken']=process[_0x5d58e1(0x1cf)][_0x5d58e1(0x1df)];else{const _0x234b90={};_0x234b90[_0x5d58e1(0x1ee)]=process[_0x5d58e1(0x1cf)]['BS_A11Y_JWT'],_0x55cf64[_0x174ff4[_0x5d58e1(0x1ce)]]=_0x234b90;}_0x55cf64[_0x174ff4[_0x5d58e1(0x1ce)]][_0x5d58e1(0x1d7)]=JSON['parse'](process['env'][_0x5d58e1(0x1d6)])[_0x5d58e1(0x1d7)];}}}}catch(_0x1997e9){logger[_0x5d58e1(0x20a)](_0x5d58e1(0x1f8)+_0x1997e9);}},exports[a26_0x4a8371(0x1e1)]=(_0x249ef5,_0x5e6231)=>{const _0x566e08=a26_0x4a8371,_0x976d3e={};_0x976d3e['duBCG']=_0x566e08(0x1fe),_0x976d3e['wmQEO']=function(_0x40bd55,_0x37a6c6){return _0x40bd55!==_0x37a6c6;},_0x976d3e[_0x566e08(0x1fb)]=_0x566e08(0x1d1),_0x976d3e[_0x566e08(0x1e8)]=_0x566e08(0x204),_0x976d3e[_0x566e08(0x1d4)]=_0x566e08(0x211),_0x976d3e[_0x566e08(0x208)]=function(_0x8c17d3,_0x256dc7){return _0x8c17d3===_0x256dc7;},_0x976d3e['wgUMW']=_0x566e08(0x1ed),_0x976d3e[_0x566e08(0x1f5)]=function(_0x5ca394,_0x1ef46f){return _0x5ca394>_0x1ef46f;},_0x976d3e['cgmDQ']=_0x566e08(0x1d3),_0x976d3e[_0x566e08(0x1f0)]=_0x566e08(0x1cb),_0x976d3e[_0x566e08(0x1f1)]=_0x566e08(0x1f9),_0x976d3e[_0x566e08(0x1c4)]=_0x566e08(0x207),_0x976d3e[_0x566e08(0x209)]=_0x566e08(0x1f3),_0x976d3e[_0x566e08(0x1ef)]=_0x566e08(0x212),_0x976d3e[_0x566e08(0x1c9)]='Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.';const _0x25a6fc=_0x976d3e;try{const _0x2e64bb=_0x5e6231[_0x566e08(0x1e6)]||{},_0x45e5b9=(_0x2e64bb[_0x25a6fc[_0x566e08(0x1e5)]]?_0x2e64bb[_0x25a6fc[_0x566e08(0x1e5)]][_0x566e08(0x1c2)]:_0x2e64bb[_0x566e08(0x1e7)])||'';if(_0x25a6fc[_0x566e08(0x1ca)](_0x45e5b9,''))return logger[_0x566e08(0x200)](_0x25a6fc['PaOZx']),![];const _0x58b4da=_0x2e64bb[_0x566e08(0x1c7)]||_0x249ef5['capabilities_'][_0x566e08(0x202)]();if(_0x25a6fc[_0x566e08(0x1ca)](_0x58b4da['toLowerCase'](),_0x25a6fc[_0x566e08(0x1e8)]))return logger[_0x566e08(0x200)](_0x25a6fc[_0x566e08(0x1d4)]),![];const _0x3f875e=_0x2e64bb[_0x566e08(0x1f6)]||_0x2e64bb['browser_version']||_0x249ef5[_0x566e08(0x1ea)]['getBrowserVersion']();if(!bsSetupHelper[_0x566e08(0x1d2)](_0x3f875e)&&!(_0x25a6fc[_0x566e08(0x208)](_0x3f875e,_0x25a6fc[_0x566e08(0x1d0)])||_0x25a6fc[_0x566e08(0x1f5)](_0x3f875e,0x5e)))return logger['warn'](_0x25a6fc['cgmDQ']),![];let _0x465dc8;try{_0x465dc8=bsSetupHelper[_0x566e08(0x1f2)](_0x25a6fc[_0x566e08(0x1f0)]);}catch(_0x21a9a0){return![];}const _0x281ab0=new _0x465dc8[(_0x566e08(0x1dd))](_0x249ef5[_0x566e08(0x1ff)]),_0x2db084=bsSetupHelper[_0x566e08(0x20c)](_0x281ab0,[_0x25a6fc[_0x566e08(0x1f1)],_0x25a6fc[_0x566e08(0x1c4)]])||bsSetupHelper[_0x566e08(0x20c)](_0x249ef5['capabilities_']['get'](_0x25a6fc[_0x566e08(0x1e5)]),[_0x25a6fc[_0x566e08(0x209)],_0x25a6fc[_0x566e08(0x1c4)]])||bsSetupHelper[_0x566e08(0x20c)](_0x249ef5['capabilities_']['get'](_0x25a6fc['dFpga']),[_0x25a6fc['vzjJK']])||[];if(_0x2db084['includes'](_0x25a6fc['EBoAJ']))return logger[_0x566e08(0x200)](_0x25a6fc[_0x566e08(0x1c9)]),![];return!![];}catch(_0x10c0fe){logger[_0x566e08(0x20a)](_0x566e08(0x206)+util[_0x566e08(0x1d5)](_0x10c0fe));}return![];},exports[a26_0x4a8371(0x1e2)]=async _0xe7df90=>{const _0x5eecd3=a26_0x4a8371,_0x6f1eb2={};_0x6f1eb2['Zscyg']=function(_0x1eb491,_0x371674){return _0x1eb491===_0x371674;},_0x6f1eb2[_0x5eecd3(0x1fc)]=_0x5eecd3(0x201);const _0x27ddd6=_0x6f1eb2;let _0x440480={};try{const _0x29072a=await _0xe7df90['getCapabilities']();_0x440480={'os_name':_0x29072a[_0x5eecd3(0x1dc)](),'os_version':bsSetupHelper['getPlatformVersion'](_0x27ddd6['Zscyg'](global[_0x5eecd3(0x1db)],_0x27ddd6[_0x5eecd3(0x1fc)])),'browser_name':_0x29072a[_0x5eecd3(0x202)](),'browser_version':_0x29072a[_0x5eecd3(0x1de)]()};}catch(_0x8a3e39){logger[_0x5eecd3(0x20a)](_0x5eecd3(0x203)+_0x8a3e39);}return _0x440480;};
@@ -1 +1 @@
1
- 'use strict';function a27_0x3dfb(_0x4caf69,_0x1ca0c3){const _0x4ec933=a27_0x4ec9();return a27_0x3dfb=function(_0x3dfb83,_0xbc4a3b){_0x3dfb83=_0x3dfb83-0x146;let _0x5f0b35=_0x4ec933[_0x3dfb83];return _0x5f0b35;},a27_0x3dfb(_0x4caf69,_0x1ca0c3);}const a27_0x1ebf2d=a27_0x3dfb;(function(_0x433336,_0x49c190){const _0x4d2f2c=a27_0x3dfb,_0x4decc2=_0x433336();while(!![]){try{const _0x3333b0=-parseInt(_0x4d2f2c(0x25a))/0x1*(parseInt(_0x4d2f2c(0x200))/0x2)+-parseInt(_0x4d2f2c(0x17a))/0x3+parseInt(_0x4d2f2c(0x1ee))/0x4+-parseInt(_0x4d2f2c(0x21a))/0x5*(parseInt(_0x4d2f2c(0x21d))/0x6)+-parseInt(_0x4d2f2c(0x222))/0x7*(parseInt(_0x4d2f2c(0x1a6))/0x8)+parseInt(_0x4d2f2c(0x1b5))/0x9+-parseInt(_0x4d2f2c(0x1e6))/0xa*(-parseInt(_0x4d2f2c(0x155))/0xb);if(_0x3333b0===_0x49c190)break;else _0x4decc2['push'](_0x4decc2['shift']());}catch(_0x2efaad){_0x4decc2['push'](_0x4decc2['shift']());}}}(a27_0x4ec9,0xdfc30));function a27_0x4ec9(){const _0xf532ff=['consoleLog','COMPLETED','spec','join','TdDYU','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','../../../helpers/test-observability/requestQueueHandler','prototype','File\x20path\x20could\x20not\x20be\x20found','53930GbkMnZ','state','nwCir','PnuYw','failed','\x20\x20%d)\x20%s','UgAyd','after\x20each','1103220XeErlN','DpOhe','PqNSj','BJVqr','stdout','OlEay','lbjhi','testObservability','dKQWT','length','bsConfig','speed','statSync','neOSJ','\x20\x20<dt>','bang','cwd','HookRunFinished','74aqxHrr','docAppend','_buildCreated','test','registerListeners','multiple','EVENT','location_prefix','\x20with\x20error\x20:\x20','sEwYb','scope','bs:addLog:','test_run','yyXEY','uuid','ilnsG','cAmhU','qRrSl','bs:addPlatformDetails:','green','ILzFc','IzzAi','finished_at','error','WvUBQ','SdUTt','12805wZpqWS','soDFZ','increaseIndent','4110EslUEC','../../../helpers/helper','UnhandledError','_testResults','WidwY','7AQvYrV','PttaE','test_run_uuid','mocha/lib/runnable.js','../test-observability/mochaUtils','Reporter','scopes','type','path','comma','dnpNw','pid','FxzqL','ZQzVm','trim','after\x20all','YJWGn','shutdown','CBTSessionCreated','appendTestPlatform','Ilorv','decreaseIndent','bright\x20yellow','reporterOptions','SSpnz','light','lVWHK','gKoTk','hpqmi','CjaFj','%s\x20','Svjcx','name','shouldProcessEventForTesthub','\x20%s','toString','_indents','analyticsResult','1|0|4|3|2','GRcBX','CBdvJ','CGUjG','MOCHA','exports','getTime','WjhtH','naqyM','ogoYP','setCurrentTestData','suites','../../../helpers/test-observability/constants','__platform__','../../../helpers/testhub/utils','aoqiA','pending','hook_type','37561TxWYVC','docHtml','_testEnv','err','xcElg','nGIqB','bAtRQ','sendTestRunEvent','current_hook','AFTER_EACH','slow','Failed\x20to\x20load\x20reporter\x20','bind','fast','../../../helpers/testhub/constants','YANng','dot','BEFORE_ALL','testAnalyticsId','nlWHA','../../../helpers/test-observability/sessionHandler','vYYNR','ieBgh','7931sMpBau','current_test','color','Mocha','appendTestItemLog','HookFinished','fHcqK','BEFORE_EACH','IsITb','config','currentTest','body','LogCreated','ibZQA','match','kuXUb','__indents','forEach','results','started_at','TestRunSkipped','ZUsos','SwARl','hooks','findGitConfig','JChNl','ZNHJs','rCzQo','event_type','escape','http_response','</dd>','</dt>','AozKI','Kqkyk','fullTitle','bVpxC','431964DYhrKU','EQZOQ','bwmIV','hook_run_uuid','failure_reason_expanded','OrBTS','ctx','symbols','fueMG','KxexQ','originalTitle','LwjhB','bfjYf','util','whGWD','suiteCount','reporterOption','prefixTestPath','rAVsk','toISOString','kHGwr','slice','mocha/lib/reporters/base.js','clean','\x20\x20<dd><pre><code>','result','bOwLR','once','suite','.git','APUpE','</dl>','iyitd','LyIdH','<section\x20class=\x22suite\x22>','duration','AWvMg','runner','mKBpt','</h1>','DHjma','\x20\x20<dd\x20class=\x22error\x22><pre><code>','RUNNING','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','1281752RioenV','EITpH','pRnZn','JDanX','write','push','parent','\x20\x20<dt\x20class=\x22error\x22>','indent','doc','\x20(%dms)','titlePath','UnYxH','markedStatus','passed','1805571GeoigC','pxDik','removeAllListeners','uploadEventData','</code></pre></dd>','failure_backtrace','AFTER_ALL','iakVo','hookAnalyticsId','RVGgC','wEocA','before\x20each','kvjoM','root','HookRunStarted','../../../helpers/test-observability/utils','pYNbS','TestRunFinished','constants','UuqHD','WwQfi','includes','title','file','logs','currentRetry','ukzWE','zdzuA','iQCLM','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','<dl>','retryOf','expanded','</section>','fail','kdssc','failCount','getRootParentFile','finalResults','_paths'];a27_0x4ec9=function(){return _0xf532ff;};return a27_0x4ec9();}const util=require(a27_0x1ebf2d(0x187)),fs=require('fs'),path=require(a27_0x1ebf2d(0x22a)),{requireModule}=require(a27_0x1ebf2d(0x21e)),Base=requireModule(a27_0x1ebf2d(0x190)),utils=requireModule('mocha/lib/utils.js'),color=Base[a27_0x1ebf2d(0x157)],Mocha=requireModule('mocha'),Runnable=requireModule(a27_0x1ebf2d(0x225)),{v4:uuidv4}=require(a27_0x1ebf2d(0x20e)),bsSetupHelper=require(a27_0x1ebf2d(0x21e)),testhubUtils=require(a27_0x1ebf2d(0x256)),testHubConstants=require(a27_0x1ebf2d(0x14c)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),a27_0x2e4511={};a27_0x2e4511['before\x20all']=a27_0x1ebf2d(0x14f),a27_0x2e4511[a27_0x1ebf2d(0x231)]=a27_0x1ebf2d(0x1bb),a27_0x2e4511[a27_0x1ebf2d(0x1c0)]=a27_0x1ebf2d(0x15c),a27_0x2e4511[a27_0x1ebf2d(0x1ed)]=a27_0x1ebf2d(0x147);const HOOK_TYPES_MAP=a27_0x2e4511,{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['Runner']['constants'],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0x1ebf2d(0x1c7)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a27_0x1ebf2d(0x226)),{consoleHolder}=require(a27_0x1ebf2d(0x254)),SessionHandler=require(a27_0x1ebf2d(0x152)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a27_0x1ebf2d(0x1c4)),RequestQueueHandler=require(a27_0x1ebf2d(0x1e3)),requestQueueHandler=RequestQueueHandler['getInstance']();class MyReporter{constructor(_0x5c1591,_0x597f2a){const _0x53a9a8=a27_0x1ebf2d,_0x31f3f5={'WidwY':function(_0x2c0e20,_0x120504){return _0x2c0e20===_0x120504;},'hpqmi':_0x53a9a8(0x1df),'kHGwr':function(_0x2801a4,_0x5e3d9a){return _0x2801a4+_0x5e3d9a;},'IzzAi':function(_0x27a988,_0x41051a,_0x1b5bdd){return _0x27a988(_0x41051a,_0x1b5bdd);},'WvUBQ':_0x53a9a8(0x213),'AozKI':_0x53a9a8(0x240),'cAmhU':function(_0x50e075,_0x2e851c,_0x258320){return _0x50e075(_0x2e851c,_0x258320);},'LyIdH':_0x53a9a8(0x23b),'uPZmw':'%s\x20-\x20%s','DHjma':_0x53a9a8(0x1a4),'iQCLM':function(_0x19d748,_0x56a9c1){return _0x19d748===_0x56a9c1;},'AWvMg':_0x53a9a8(0x1af),'CjaFj':function(_0x213294){return _0x213294();},'EITpH':_0x53a9a8(0x1c3),'UuqHD':function(_0x36c517,_0x369968){return _0x36c517===_0x369968;},'kuXUb':_0x53a9a8(0x1ff),'miYAo':_0x53a9a8(0x1b4),'nwCir':function(_0x5d4bd6,_0x2e19a9){return _0x5d4bd6===_0x2e19a9;},'YANng':_0x53a9a8(0x14b),'iyitd':function(_0x5cd412,_0x121b0c){return _0x5cd412+_0x121b0c;},'pYNbS':function(_0x18787a,_0x10560b){return _0x18787a+_0x10560b;},'zdzuA':'checkmark','Svjcx':function(_0x337117,_0x41ebe2){return _0x337117+_0x41ebe2;},'ibZQA':function(_0x2d0341,_0x26d3e8,_0x36fc30){return _0x2d0341(_0x26d3e8,_0x36fc30);},'PqNSj':'pass','nlWHA':_0x53a9a8(0x244),'UPRdd':function(_0x325965,_0x380b74,_0x131cb4){return _0x325965(_0x380b74,_0x131cb4);},'bOwLR':function(_0x1b0a4b,_0x541711){return _0x1b0a4b+_0x541711;},'aCRYw':function(_0x5a0fe7,_0x46da6a,_0x1c4b4b){return _0x5a0fe7(_0x46da6a,_0x1c4b4b);},'ukzWE':_0x53a9a8(0x1b0),'lVWHK':_0x53a9a8(0x1d7),'gKoTk':_0x53a9a8(0x1eb),'qRrSl':function(_0xf01eaa,_0x17a56a){return _0xf01eaa+_0x17a56a;},'kvjoM':_0x53a9a8(0x238),'UgAyd':_0x53a9a8(0x1de),'APUpE':_0x53a9a8(0x14e),'jSRPf':_0x53a9a8(0x148),'ilnsG':function(_0x4d736d,_0x12b86f){return _0x4d736d===_0x12b86f;},'GRcBX':_0x53a9a8(0x248),'ihihw':function(_0x9bbb21,_0x25ad7d){return _0x9bbb21===_0x25ad7d;},'lbjhi':_0x53a9a8(0x258),'yyXEY':function(_0xe05818,_0x2adb22){return _0xe05818===_0x2adb22;},'OlEay':'TestRunSkipped','ACaRY':function(_0x7d660e,_0x860b63){return _0x7d660e===_0x860b63;},'nGIqB':function(_0x32a7ec,_0x3d2e81){return _0x32a7ec===_0x3d2e81;},'UnYxH':function(_0x4f4215,_0x5e641c){return _0x4f4215(_0x5e641c);},'pRnZn':function(_0x8aa12c){return _0x8aa12c();},'AekpN':function(_0x3968d5,_0x358861){return _0x3968d5(_0x358861);},'ieBgh':function(_0x30fb9f,_0x49a334){return _0x30fb9f===_0x49a334;},'TdDYU':function(_0x170d97){return _0x170d97();},'SwARl':function(_0x3861d1){return _0x3861d1();},'bVpxC':function(_0x85408e,_0x2f3703){return _0x85408e===_0x2f3703;},'whGWD':'xunit','Kqkyk':function(_0x475bbe,_0x314a72){return _0x475bbe(_0x314a72);},'BlhHF':function(_0x4a215b,_0x2364da){return _0x4a215b!==_0x2364da;}};this[_0x53a9a8(0x229)]=_0x597f2a[_0x53a9a8(0x18a)][_0x53a9a8(0x229)],this[_0x53a9a8(0x1f5)]=_0x31f3f5[_0x53a9a8(0x1e1)](isTestObservabilitySession),Base['call'](this,_0x5c1591,_0x597f2a),this['_indents']=0x0,this[_0x53a9a8(0x1d9)]=0x0,this['results']=[],this[_0x53a9a8(0x1db)]=[],this[_0x53a9a8(0x189)]=0x0,this[_0x53a9a8(0x202)]=![],this[_0x53a9a8(0x220)]=[],this[_0x53a9a8(0x25c)]=_0x31f3f5[_0x53a9a8(0x16b)](getTestEnv),this[_0x53a9a8(0x1dc)]=new PathHelper({'cwd':process[_0x53a9a8(0x1fe)]()},this[_0x53a9a8(0x25c)][_0x53a9a8(0x207)]),this['_upstreamConfig']=_0x597f2a['reporterOption'][_0x53a9a8(0x1f8)],this[_0x53a9a8(0x204)]();_0x31f3f5[_0x53a9a8(0x179)](this[_0x53a9a8(0x229)],_0x31f3f5[_0x53a9a8(0x19e)])&&(this[_0x53a9a8(0x25b)]='',this['__indents']=0x2);_0x5c1591['once'](EVENT_RUN_BEGIN,async()=>{const _0x1b4ed5=_0x53a9a8;_0x31f3f5['WidwY'](this[_0x1b4ed5(0x229)],_0x31f3f5[_0x1b4ed5(0x23e)])&&Base[_0x1b4ed5(0x1dd)]();})['on'](EVENT_SUITE_BEGIN,_0x3542b0=>{const _0x333b7b=_0x53a9a8;if(_0x3542b0['root'])return;if(_0x31f3f5[_0x333b7b(0x221)](this[_0x333b7b(0x229)],_0x31f3f5['hpqmi']))this['increaseIndent'](),Base[_0x333b7b(0x1dd)](_0x31f3f5[_0x333b7b(0x18e)](_0x31f3f5[_0x333b7b(0x18e)](this[_0x333b7b(0x1ae)](),_0x31f3f5[_0x333b7b(0x215)](color,_0x31f3f5[_0x333b7b(0x218)],_0x31f3f5[_0x333b7b(0x176)])),_0x31f3f5[_0x333b7b(0x210)](color,_0x31f3f5[_0x333b7b(0x19b)],_0x31f3f5['uPZmw'])),_0x31f3f5[_0x333b7b(0x1a2)],_0x3542b0[_0x333b7b(0x1cb)],global['__platform__']);else _0x31f3f5['iQCLM'](this[_0x333b7b(0x229)],_0x31f3f5[_0x333b7b(0x19e)])&&(this[_0x333b7b(0x201)](this[_0x333b7b(0x1ae)]()+_0x333b7b(0x19c)),++this[_0x333b7b(0x165)],this[_0x333b7b(0x201)](this['indent']()+'<h1>'+utils[_0x333b7b(0x172)](_0x3542b0[_0x333b7b(0x1cb)]+'\x20-\x20'+global['__platform__'])+_0x333b7b(0x1a1)),this['docAppend'](this[_0x333b7b(0x1ae)]()+_0x333b7b(0x1d3)));})['on'](EVENT_HOOK_BEGIN,async _0x59d372=>{const _0x5efe3b=_0x53a9a8;if(_0x31f3f5['iQCLM'](testhubUtils[_0x5efe3b(0x243)](testHubConstants['EVENT']['HookStarted']),!![])){if(!_0x59d372[_0x5efe3b(0x1bd)])_0x59d372['hookAnalyticsId']=_0x31f3f5['CjaFj'](uuidv4);else _0x59d372[_0x5efe3b(0x1b3)]&&(_0x59d372[_0x5efe3b(0x1bd)]=_0x31f3f5[_0x5efe3b(0x23f)](uuidv4),delete _0x59d372[_0x5efe3b(0x1b3)]);_0x59d372['started_at']=new Date()[_0x5efe3b(0x18d)](),this['current_hook']=_0x59d372,await this[_0x5efe3b(0x261)](_0x59d372,undefined,![],_0x31f3f5[_0x5efe3b(0x1a7)]);}})['on'](EVENT_HOOK_END,async _0x2008f9=>{const _0x5bce0e=_0x53a9a8;_0x31f3f5[_0x5bce0e(0x1c8)](testhubUtils[_0x5bce0e(0x243)](testHubConstants['EVENT'][_0x5bce0e(0x15a)]),!![])&&(!_0x2008f9['markedStatus']&&(_0x2008f9[_0x5bce0e(0x1b3)]=!![],await this['sendTestRunEvent'](_0x2008f9,undefined,![],_0x31f3f5[_0x5bce0e(0x164)])));})['on'](EVENT_SUITE_END,_0x2dc01a=>{const _0x5e9220=_0x53a9a8;if(_0x2dc01a[_0x5e9220(0x1c2)])return;if(_0x31f3f5[_0x5e9220(0x221)](this[_0x5e9220(0x229)],_0x31f3f5[_0x5e9220(0x23e)]))Base[_0x5e9220(0x1dd)](),Base[_0x5e9220(0x1dd)](_0x31f3f5[_0x5e9220(0x241)](_0x31f3f5[_0x5e9220(0x211)](this['indent'](),_0x31f3f5[_0x5e9220(0x210)](color,_0x31f3f5[_0x5e9220(0x1c1)],_0x31f3f5[_0x5e9220(0x176)])),_0x31f3f5[_0x5e9220(0x162)](color,_0x31f3f5[_0x5e9220(0x19b)],_0x31f3f5['uPZmw'])),_0x31f3f5[_0x5e9220(0x1ec)],_0x2dc01a[_0x5e9220(0x1cb)],global[_0x5e9220(0x255)]),this['results']['forEach'](_0x290c20=>{const _0x308007=_0x5e9220;if(_0x31f3f5[_0x308007(0x1d1)](_0x290c20[_0x308007(0x1e7)],_0x31f3f5['miYAo'])){var _0x307226;_0x31f3f5['nwCir'](_0x290c20[_0x308007(0x1f9)],_0x31f3f5[_0x308007(0x14d)])?(_0x307226=_0x31f3f5[_0x308007(0x19a)](_0x31f3f5[_0x308007(0x1c5)](this[_0x308007(0x1ae)](),_0x31f3f5['cAmhU'](color,_0x31f3f5[_0x308007(0x1d0)],_0x31f3f5['Svjcx']('\x20\x20',Base[_0x308007(0x181)]['ok']))),_0x31f3f5[_0x308007(0x162)](color,_0x31f3f5[_0x308007(0x1f0)],_0x31f3f5['nlWHA'])),Base[_0x308007(0x1dd)](_0x307226,_0x290c20[_0x308007(0x1cb)])):(_0x307226=_0x31f3f5[_0x308007(0x18e)](_0x31f3f5[_0x308007(0x18e)](_0x31f3f5[_0x308007(0x19a)](this[_0x308007(0x1ae)](),_0x31f3f5['UPRdd'](color,_0x31f3f5[_0x308007(0x1d0)],_0x31f3f5[_0x308007(0x194)]('\x20\x20',Base['symbols']['ok']))),_0x31f3f5['cAmhU'](color,_0x31f3f5[_0x308007(0x1f0)],_0x31f3f5[_0x308007(0x151)])),_0x31f3f5['aCRYw'](color,_0x290c20[_0x308007(0x1f9)],_0x31f3f5[_0x308007(0x1cf)])),Base[_0x308007(0x1dd)](_0x307226,_0x290c20[_0x308007(0x1cb)],_0x290c20['duration']));}else Base[_0x308007(0x1dd)](_0x31f3f5[_0x308007(0x194)](this['indent'](),_0x31f3f5['IzzAi'](color,_0x31f3f5[_0x308007(0x23c)],_0x31f3f5[_0x308007(0x23d)])),++this[_0x308007(0x1d9)],_0x290c20['title']);}),this[_0x5e9220(0x237)]();else _0x31f3f5[_0x5e9220(0x1e8)](this[_0x5e9220(0x229)],_0x31f3f5[_0x5e9220(0x19e)])&&(this['docAppend'](this['indent']()+_0x5e9220(0x199)),--this[_0x5e9220(0x165)],this[_0x5e9220(0x201)](this[_0x5e9220(0x1ae)]()+_0x5e9220(0x1d6)),--this['__indents']);Array[_0x5e9220(0x1e4)][_0x5e9220(0x1ab)]['apply'](this['finalResults'],this[_0x5e9220(0x167)]),this[_0x5e9220(0x167)]=[];})['on'](EVENT_TEST_PASS,async _0x317336=>{const _0x3d4374=_0x53a9a8;this[_0x3d4374(0x167)][_0x3d4374(0x1ab)]({'speed':_0x317336[_0x3d4374(0x1f9)],'suite':_0x317336[_0x3d4374(0x1ac)][_0x3d4374(0x1cb)],'title':_0x317336[_0x3d4374(0x1cb)],'fullTitle':_0x317336[_0x3d4374(0x178)](),'duration':_0x317336[_0x3d4374(0x19d)],'state':_0x317336[_0x3d4374(0x1e7)],'err':{},'currentRetry':_0x317336[_0x3d4374(0x1ce)](),'titlePathV':_0x317336['titlePath'](),'isPending':_0x317336['isPending']()});if(_0x31f3f5[_0x3d4374(0x221)](this[_0x3d4374(0x229)],_0x31f3f5['APUpE']))_0x31f3f5['UuqHD'](_0x317336['speed'],_0x31f3f5['jSRPf'])?process['stdout'][_0x3d4374(0x1aa)](Base[_0x3d4374(0x157)](_0x31f3f5['kvjoM'],Base[_0x3d4374(0x181)][_0x3d4374(0x14e)])):process[_0x3d4374(0x1f2)][_0x3d4374(0x1aa)](Base['color'](_0x317336[_0x3d4374(0x1f9)],Base['symbols'][_0x3d4374(0x14e)]));else{if(_0x31f3f5[_0x3d4374(0x221)](this[_0x3d4374(0x229)],_0x31f3f5[_0x3d4374(0x19e)])){this[_0x3d4374(0x201)](this['indent']()+_0x3d4374(0x1fc)+utils[_0x3d4374(0x172)](_0x317336[_0x3d4374(0x1cb)])+_0x3d4374(0x175)),this[_0x3d4374(0x201)](this[_0x3d4374(0x1ae)]()+_0x3d4374(0x1fc)+utils[_0x3d4374(0x172)](_0x317336[_0x3d4374(0x1cc)])+_0x3d4374(0x175));var _0xd74289=utils[_0x3d4374(0x172)](utils['clean'](_0x317336[_0x3d4374(0x160)]));this[_0x3d4374(0x201)](this[_0x3d4374(0x1ae)]()+_0x3d4374(0x192)+_0xd74289+'</code></pre></dd>');}}_0x31f3f5[_0x3d4374(0x1c8)](testhubUtils[_0x3d4374(0x243)](),!![])&&(!_0x317336['markedStatus']&&(_0x317336[_0x3d4374(0x1b3)]=!![],await this[_0x3d4374(0x261)](_0x317336)));})['on'](EVENT_TEST_FAIL,async(_0x3455a5,_0x2759ba)=>{const _0xeb8365=_0x53a9a8;this[_0xeb8365(0x167)]['push']({'title':_0x3455a5[_0xeb8365(0x1cb)],'suite':_0x3455a5[_0xeb8365(0x1ac)]['title'],'state':_0x3455a5[_0xeb8365(0x1e7)],'err':{'message':util['inspect'](_0x2759ba)},'fullTitle':_0x3455a5[_0xeb8365(0x178)](),'speed':_0x3455a5['speed'],'currentRetry':_0x3455a5[_0xeb8365(0x1ce)](),'titlePathV':_0x3455a5['titlePath']()});if(_0x31f3f5[_0xeb8365(0x221)](this[_0xeb8365(0x229)],_0x31f3f5['APUpE']))process[_0xeb8365(0x1f2)]['write'](Base[_0xeb8365(0x157)](_0x31f3f5[_0xeb8365(0x23c)],Base['symbols'][_0xeb8365(0x1fd)]));else{if(_0x31f3f5[_0xeb8365(0x20f)](this['type'],_0x31f3f5['AWvMg'])){const _0x1d27cf=_0x31f3f5[_0xeb8365(0x249)]['split']('|');let _0x265a9a=0x0;while(!![]){switch(_0x1d27cf[_0x265a9a++]){case'0':this['docAppend'](this[_0xeb8365(0x1ae)]()+_0xeb8365(0x1ad)+utils[_0xeb8365(0x172)](_0x3455a5[_0xeb8365(0x1cc)])+_0xeb8365(0x175));continue;case'1':this['docAppend'](this[_0xeb8365(0x1ae)]()+_0xeb8365(0x1ad)+utils[_0xeb8365(0x172)](_0x3455a5[_0xeb8365(0x1cb)])+'</dt>');continue;case'2':this[_0xeb8365(0x201)](this[_0xeb8365(0x1ae)]()+'\x20\x20<dd\x20class=\x22error\x22>'+utils[_0xeb8365(0x172)](_0x3455a5['err'])+_0xeb8365(0x174));continue;case'3':this[_0xeb8365(0x201)](this[_0xeb8365(0x1ae)]()+_0xeb8365(0x1a3)+_0x2a6220+_0xeb8365(0x1b9));continue;case'4':var _0x2a6220=utils[_0xeb8365(0x172)](utils[_0xeb8365(0x191)](_0x3455a5['body']));continue;}break;}}}if(_0x31f3f5['ilnsG'](testhubUtils[_0xeb8365(0x243)](testHubConstants[_0xeb8365(0x206)]['HookFinished']),!![])){if(!_0x3455a5[_0xeb8365(0x1b3)]){_0x3455a5[_0xeb8365(0x1b3)]=!![];if(_0x3455a5['testAnalyticsId'])await this[_0xeb8365(0x261)](_0x3455a5,_0x2759ba);else _0x3455a5[_0xeb8365(0x1bd)]&&await this[_0xeb8365(0x261)](_0x3455a5,_0x2759ba,![],_0x31f3f5[_0xeb8365(0x164)]);}}})['on'](EVENT_TEST_PENDING,async _0x3666e8=>{const _0xe15291=_0x53a9a8;this['results'][_0xe15291(0x1ab)]({'title':_0x3666e8[_0xe15291(0x1cb)],'suite':_0x3666e8['parent'][_0xe15291(0x1cb)],'state':_0x3666e8[_0xe15291(0x1e7)],'err':{},'fullTitle':_0x3666e8['fullTitle'](),'speed':_0x3666e8[_0xe15291(0x1f9)],'currentRetry':_0x3666e8[_0xe15291(0x1ce)](),'titlePathV':_0x3666e8[_0xe15291(0x1b1)]()}),_0x31f3f5['ihihw'](this[_0xe15291(0x229)],_0x31f3f5[_0xe15291(0x198)])&&process[_0xe15291(0x1f2)][_0xe15291(0x1aa)](Base[_0xe15291(0x157)](_0x31f3f5[_0xe15291(0x1f4)],Base[_0xe15291(0x181)][_0xe15291(0x22b)])),_0x31f3f5[_0xe15291(0x20d)](testhubUtils[_0xe15291(0x243)](),!![])&&(!_0x3666e8[_0xe15291(0x150)]&&(_0x3666e8[_0xe15291(0x150)]=_0x31f3f5['CjaFj'](uuidv4)),!_0x3666e8['markedStatus']&&(_0x3666e8[_0xe15291(0x1b3)]=!![],await this['sendTestRunEvent'](_0x3666e8,undefined,![],_0x31f3f5[_0xe15291(0x1f3)])));})['on'](EVENT_TEST_BEGIN,async _0x200477=>{const _0x55c46a=_0x53a9a8;_0x31f3f5[_0x55c46a(0x20f)](testhubUtils[_0x55c46a(0x243)](),!![])&&await this['testStarted'](_0x200477);})['on'](EVENT_TEST_END,async _0x187882=>{const _0x2bb1b4=_0x53a9a8;_0x31f3f5['ACaRY'](testhubUtils[_0x2bb1b4(0x243)](),!![])&&(!_0x187882[_0x2bb1b4(0x1b3)]&&(_0x187882[_0x2bb1b4(0x1b3)]=!![],await this[_0x2bb1b4(0x261)](_0x187882)));})[_0x53a9a8(0x195)](EVENT_RUN_END,async()=>{const _0x2d59d2=_0x53a9a8;try{if(_0x31f3f5[_0x2d59d2(0x25f)](testhubUtils['shouldProcessEventForTesthub'](),!![])){const _0x5c5e91=_0x31f3f5['UnYxH'](getHookSkippedTests,this[_0x2d59d2(0x19f)][_0x2d59d2(0x196)]);for(const _0x49ea06 of _0x5c5e91){!_0x49ea06[_0x2d59d2(0x150)]&&(_0x49ea06[_0x2d59d2(0x150)]=_0x31f3f5[_0x2d59d2(0x1a8)](uuidv4)),await this[_0x2d59d2(0x261)](_0x49ea06,undefined,![],_0x31f3f5[_0x2d59d2(0x1f3)]);}}}catch(_0x1c7e13){_0x31f3f5['AekpN'](debug,_0x2d59d2(0x1e2)+_0x1c7e13);}await requestQueueHandler[_0x2d59d2(0x233)](),_0x31f3f5[_0x2d59d2(0x154)](this[_0x2d59d2(0x229)],_0x31f3f5[_0x2d59d2(0x19e)])&&Base[_0x2d59d2(0x1dd)](this[_0x2d59d2(0x25b)]);});if(this[_0x53a9a8(0x229)]&&![_0x31f3f5[_0x53a9a8(0x19e)],_0x31f3f5[_0x53a9a8(0x188)],_0x31f3f5['hpqmi'],_0x31f3f5[_0x53a9a8(0x198)]][_0x53a9a8(0x1ca)](this['type'])){const _0x19b8e7=this[_0x53a9a8(0x229)][_0x53a9a8(0x230)]();this[_0x53a9a8(0x227)]=null;try{this[_0x53a9a8(0x227)]=_0x31f3f5[_0x53a9a8(0x177)](requireModule,'mocha/lib/reporters/'+_0x19b8e7+'.js');}catch{}if(_0x31f3f5[_0x53a9a8(0x1e8)](this['Reporter'],null))try{this['Reporter']=_0x31f3f5[_0x53a9a8(0x1b2)](require,_0x19b8e7);}catch(_0x9903a){console[_0x53a9a8(0x217)](_0x53a9a8(0x149)+_0x19b8e7);}if(_0x31f3f5['BlhHF'](this['Reporter'],null)){const _0x4a30e3={};_0x4a30e3[_0x53a9a8(0x239)]=_0x597f2a[_0x53a9a8(0x18a)],this['Reporter']=new this[(_0x53a9a8(0x227))](_0x5c1591,_0x4a30e3);}}}[a27_0x1ebf2d(0x1ae)](){const _0x918ef5=a27_0x1ebf2d,_0x8a4a14={'uIZhF':function(_0x141193,_0x240694){return _0x141193(_0x240694);}};return _0x8a4a14['uIZhF'](Array,this[_0x918ef5(0x246)])[_0x918ef5(0x1e0)]('\x20\x20');}[a27_0x1ebf2d(0x21c)](){const _0x21f598=a27_0x1ebf2d;this[_0x21f598(0x246)]++;}['decreaseIndent'](){this['_indents']--;}[a27_0x1ebf2d(0x201)](_0x23618d){const _0x110b80=a27_0x1ebf2d;this[_0x110b80(0x25b)]+=_0x23618d;}['done'](_0x2c6ea1,_0x15d2ba){const _0x213213=a27_0x1ebf2d,_0x1bda48={'RVGgC':function(_0x235da9,_0xf79c06){return _0x235da9(_0xf79c06);}},_0x5c70ca={};_0x5c70ca['failureCount']=_0x2c6ea1,_0x5c70ca[_0x213213(0x167)]=this[_0x213213(0x1db)],_0x1bda48[_0x213213(0x1be)](_0x15d2ba,_0x5c70ca);}[a27_0x1ebf2d(0x204)](){const _0xb7ac1d=a27_0x1ebf2d;process[_0xb7ac1d(0x1b7)](_0xb7ac1d(0x20b)+process[_0xb7ac1d(0x22d)]),process['on'](_0xb7ac1d(0x20b)+process[_0xb7ac1d(0x22d)],this[_0xb7ac1d(0x159)][_0xb7ac1d(0x14a)](this)),process['removeAllListeners'](_0xb7ac1d(0x212)+process[_0xb7ac1d(0x22d)]),process['on'](_0xb7ac1d(0x212)+process[_0xb7ac1d(0x22d)],this[_0xb7ac1d(0x235)][_0xb7ac1d(0x14a)](this));}['testStarted']=async _0x3b25d7=>{const _0x40ede2=a27_0x1ebf2d,_0xe5e57e={'JChNl':function(_0x3b4b6f){return _0x3b4b6f();},'vpgyN':function(_0x27c079,_0x53cefb){return _0x27c079>_0x53cefb;},'UuIna':function(_0x41c390,_0x3134c5){return _0x41c390===_0x3134c5;},'WwQfi':'TestRunStarted','ZUsos':function(_0x46c00e,_0x4ce2ce){return _0x46c00e(_0x4ce2ce);}};try{const _0x9da3f=this[_0x40ede2(0x156)];this[_0x40ede2(0x156)]=_0x3b25d7,_0x3b25d7[_0x40ede2(0x1d4)]=null,_0x3b25d7[_0x40ede2(0x150)]=_0xe5e57e[_0x40ede2(0x16e)](uuidv4),_0x3b25d7['started_at']=new Date()[_0x40ede2(0x18d)](),_0xe5e57e['vpgyN'](_0x3b25d7['_currentRetry'],0x0)&&_0x9da3f&&_0xe5e57e['UuIna'](_0x9da3f['title'],_0x3b25d7[_0x40ede2(0x1cb)])?(_0x3b25d7[_0x40ede2(0x1d4)]=_0x9da3f[_0x40ede2(0x150)],await this[_0x40ede2(0x261)](_0x3b25d7,undefined,![],_0xe5e57e[_0x40ede2(0x1c9)]),_0x9da3f[_0x40ede2(0x1e7)]=STATE_FAILED,await this[_0x40ede2(0x261)](_0x9da3f,undefined,!![])):await this[_0x40ede2(0x261)](_0x3b25d7,undefined,![],_0xe5e57e[_0x40ede2(0x1c9)]);}catch(_0x13a715){_0xe5e57e[_0x40ede2(0x16a)](debug,_0x40ede2(0x1d2)+_0x13a715);}};['sendTestRunEvent']=async(_0x375b20,_0x3d047f=undefined,_0x5390c8=![],_0x5b8356=a27_0x1ebf2d(0x1c6))=>{const _0x38fda4=a27_0x1ebf2d,_0x54b280={'ZNHJs':function(_0x48372e,_0x9f8fa6){return _0x48372e===_0x9f8fa6;},'IsITb':function(_0x95a067,_0xafc1c4){return _0x95a067!==_0xafc1c4;},'naqyM':_0x38fda4(0x203),'WjhtH':_0x38fda4(0x25d),'bAtRQ':function(_0x1a0fb8,_0x78e4d2){return _0x1a0fb8!==_0x78e4d2;},'pxDik':function(_0x3867b4,_0x1fa8f4){return _0x3867b4!==_0x1fa8f4;},'FXMyM':_0x38fda4(0x1e5),'LjvtH':_0x38fda4(0x158),'JDanX':'javascript','wEocA':function(_0x98172,_0x3edc88){return _0x98172===_0x3edc88;},'dKQWT':_0x38fda4(0x169),'dnpNw':'skipped','QbHnC':function(_0x1346e0,_0x19f610){return _0x1346e0-_0x19f610;},'soDFZ':'AssertionError','LwjhB':_0x38fda4(0x21f),'SdUTt':'started_at','xcElg':_0x38fda4(0x216),'rAVsk':function(_0x4eec14,_0x5a4d1c){return _0x4eec14(_0x5a4d1c);},'mKBpt':'HookRunFinished','YJWGn':_0x38fda4(0x1ea),'bwmIV':_0x38fda4(0x1b4),'ZQzVm':_0x38fda4(0x1c0),'PnuYw':function(_0x4f451f,_0x16197d){return _0x4f451f(_0x16197d);},'lDOtD':'failure','Ilorv':_0x38fda4(0x1ba),'DpOhe':'backtrace','ogoYP':_0x38fda4(0x17e),'CGUjG':_0x38fda4(0x1d5),'iakVo':_0x38fda4(0x1c6),'kUjhb':function(_0x17f7ba,_0x21602d){return _0x17f7ba(_0x21602d);},'fHcqK':_0x38fda4(0x259),'fueMG':'hook_run','SSpnz':_0x38fda4(0x20c)};try{if(_0x375b20[_0x38fda4(0x160)]&&_0x375b20[_0x38fda4(0x160)][_0x38fda4(0x163)](/browserstack internal helper hook/))return;let _0x220308=[];if(_0x54b280[_0x38fda4(0x16f)](_0x375b20['state'],STATE_FAILED)){if(_0x54b280[_0x38fda4(0x15d)](_0x375b20[_0x38fda4(0x25d)],undefined))_0x220308=_0x375b20['err']['multiple']?[_0x375b20[_0x38fda4(0x25d)][_0x38fda4(0x205)],_0x54b280[_0x38fda4(0x250)]]:[_0x375b20[_0x38fda4(0x25d)],_0x54b280[_0x38fda4(0x24f)]];else _0x54b280['IsITb'](_0x3d047f,undefined)?_0x220308=[_0x3d047f,_0x54b280[_0x38fda4(0x24f)]]:_0x220308=[];}const _0x1e750c=_0x54b280[_0x38fda4(0x260)](_0x375b20['err'],undefined)?_0x375b20[_0x38fda4(0x25d)][_0x38fda4(0x245)]():_0x54b280[_0x38fda4(0x1b6)](_0x3d047f,undefined)?_0x3d047f[_0x38fda4(0x245)]():undefined;let _0x3b372a;try{_0x3b372a=this[_0x38fda4(0x1da)](_0x375b20);}catch(_0x4bc515){_0x3b372a=null;}const _0x492ed9=_0x3b372a?this[_0x38fda4(0x16d)](_0x3b372a):null,_0x4e2da0=_0x3b372a?this[_0x38fda4(0x1dc)][_0x38fda4(0x18b)](this[_0x38fda4(0x1da)](_0x375b20)):_0x54b280['FXMyM'],_0x5f1e7f={'framework':_0x54b280['LjvtH'],'uuid':_0x375b20[_0x38fda4(0x150)]||_0x375b20['hookAnalyticsId'],'name':_0x375b20['title'],'body':{'lang':_0x54b280[_0x38fda4(0x1a9)],'code':_0x375b20[_0x38fda4(0x160)]},'scope':this[_0x38fda4(0x20a)](_0x375b20),'scopes':this[_0x38fda4(0x228)](_0x375b20),'identifier':_0x375b20[_0x38fda4(0x178)](),'file_name':_0x4e2da0,'vc_filepath':_0x492ed9?path['relative'](_0x492ed9,_0x3b372a):null,'location':_0x4e2da0,'result':_0x54b280['wEocA'](_0x5b8356,_0x54b280[_0x38fda4(0x1f6)])?_0x54b280[_0x38fda4(0x22c)]:this[_0x38fda4(0x247)](_0x375b20['state']),'failure_reason':_0x1e750c,'duration_in_ms':_0x375b20[_0x38fda4(0x19d)]||(_0x5b8356[_0x38fda4(0x163)](/Finished/)||_0x5b8356[_0x38fda4(0x163)](/Skipped/)?_0x54b280['QbHnC'](Date['now'](),new Date(_0x375b20[_0x38fda4(0x168)])[_0x38fda4(0x24e)]()):null),'started_at':_0x375b20[_0x38fda4(0x168)],'finished_at':_0x5b8356[_0x38fda4(0x163)](/Finished/)||_0x5b8356[_0x38fda4(0x163)](/Skipped/)?new Date()[_0x38fda4(0x18d)]():null,'failure':failureData['apply'](null,_0x220308),'failure_type':!_0x1e750c?null:_0x1e750c[_0x38fda4(0x163)](/AssertionError/)?_0x54b280[_0x38fda4(0x21b)]:_0x54b280[_0x38fda4(0x185)],'retry_of':_0x375b20[_0x38fda4(0x1d4)]};testhubUtils['appendTesthubParams'](_0x5f1e7f,_0x5b8356,_0x375b20,FRAMEWORKS[_0x38fda4(0x24c)]);_0x54b280[_0x38fda4(0x1bf)](_0x5b8356,_0x54b280[_0x38fda4(0x1f6)])&&!_0x5f1e7f[_0x54b280['SdUTt']]&&(_0x5f1e7f[_0x54b280[_0x38fda4(0x219)]]=_0x5f1e7f[_0x54b280[_0x38fda4(0x25e)]]);if(_0x5b8356[_0x38fda4(0x163)](/HookRun/))[_0x5f1e7f['hook_type'],_0x5f1e7f[_0x38fda4(0x242)]]=_0x54b280[_0x38fda4(0x18c)](getHookDetails,_0x375b20[_0x38fda4(0x178)]()||_0x375b20[_0x38fda4(0x184)]||_0x375b20['title']),_0x54b280[_0x38fda4(0x16f)](_0x5b8356,_0x54b280[_0x38fda4(0x1a0)])&&(_0x54b280[_0x38fda4(0x1b6)](_0x5f1e7f[_0x38fda4(0x193)],_0x54b280[_0x38fda4(0x232)])&&(_0x5f1e7f['result']=_0x54b280[_0x38fda4(0x17c)]),_0x54b280['ZNHJs'](_0x5f1e7f[_0x38fda4(0x259)],_0x54b280[_0x38fda4(0x22f)])&&_0x54b280[_0x38fda4(0x16f)](_0x5f1e7f[_0x38fda4(0x193)],_0x54b280[_0x38fda4(0x232)])&&!_0x375b20['ctx'][_0x38fda4(0x15f)][_0x38fda4(0x1b3)]&&(_0x375b20['ctx']['currentTest'][_0x38fda4(0x1b3)]=!![],_0x375b20['ctx'][_0x38fda4(0x15f)][_0x38fda4(0x1e7)]=STATE_FAILED,await this[_0x38fda4(0x261)](_0x375b20[_0x38fda4(0x180)]['currentTest'],undefined,!![])));else _0x5b8356[_0x38fda4(0x163)](/TestRun/)&&_0x54b280[_0x38fda4(0x1e9)](mapTestHooks,_0x375b20);const _0x5c57e4=_0x5f1e7f[_0x54b280['lDOtD']][0x0];_0x5c57e4&&(_0x5f1e7f[_0x54b280[_0x38fda4(0x236)]]=_0x5c57e4[_0x54b280[_0x38fda4(0x1ef)]],_0x5f1e7f[_0x54b280[_0x38fda4(0x251)]]=_0x5c57e4[_0x54b280[_0x38fda4(0x24b)]]);[_0x54b280[_0x38fda4(0x1bc)],_0x54b280['dKQWT']][_0x38fda4(0x1ca)](_0x5b8356)&&(this[_0x38fda4(0x220)][_0x38fda4(0x1ab)](_0x5f1e7f),_0x5f1e7f[_0x38fda4(0x16c)]=_0x54b280['kUjhb'](getHooksForTest,_0x375b20));const _0x2ce414={'event_type':_0x54b280['ZNHJs'](_0x5b8356,_0x54b280[_0x38fda4(0x1f6)])?_0x54b280[_0x38fda4(0x1bc)]:_0x5b8356};_0x5b8356[_0x38fda4(0x163)](/HookRun/)?(_0x5f1e7f[_0x54b280[_0x38fda4(0x15b)]]=HOOK_TYPES_MAP[_0x5f1e7f[_0x54b280['fHcqK']]],_0x2ce414[_0x54b280[_0x38fda4(0x182)]]=_0x5f1e7f):_0x2ce414[_0x54b280[_0x38fda4(0x23a)]]=_0x5f1e7f,testhubUtils[_0x38fda4(0x252)](FRAMEWORKS[_0x38fda4(0x24c)],_0x2ce414),await SessionHandler[_0x38fda4(0x1b8)](_0x2ce414);}catch(_0x1352f2){_0x54b280['PnuYw'](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x5b8356+_0x38fda4(0x208)+_0x1352f2);}};[a27_0x1ebf2d(0x16d)](_0x38f58b){const _0x12f151=a27_0x1ebf2d,_0x1fb5aa={};_0x1fb5aa[_0x12f151(0x257)]=function(_0x35dff3,_0x49ce0a){return _0x35dff3===_0x49ce0a;},_0x1fb5aa[_0x12f151(0x209)]=function(_0x5bbb31,_0x336ce4){return _0x5bbb31===_0x336ce4;},_0x1fb5aa['ILzFc']=function(_0x2228ac,_0x45daa6){return _0x2228ac===_0x45daa6;},_0x1fb5aa[_0x12f151(0x170)]=_0x12f151(0x197),_0x1fb5aa[_0x12f151(0x223)]=_0x12f151(0x15e);const _0x56a366=_0x1fb5aa,_0x5cfa97=path['sep'];if(_0x56a366[_0x12f151(0x257)](_0x38f58b,null)||_0x56a366[_0x12f151(0x209)](_0x38f58b,'')||_0x56a366[_0x12f151(0x214)](_0x38f58b,_0x5cfa97)||_0x56a366['aoqiA'](_0x38f58b,path['dirname'](_0x38f58b)))return null;try{return fs[_0x12f151(0x1fa)](path[_0x12f151(0x1e0)](_0x38f58b,_0x56a366[_0x12f151(0x170)],_0x56a366[_0x12f151(0x223)])),_0x38f58b;}catch(_0x39c15e){const _0x14a3f1=path['dirname'](_0x38f58b);return this[_0x12f151(0x16d)](_0x14a3f1);}}['appendTestItemLog']=async _0x4d3eb4=>{const _0x477b25=a27_0x1ebf2d,_0x188ec4={'HbkEO':_0x477b25(0x161),'FxzqL':function(_0x16a755,_0x1a1855){return _0x16a755(_0x1a1855);}};try{this[_0x477b25(0x146)]&&!this[_0x477b25(0x146)][_0x477b25(0x1b3)]&&(_0x4d3eb4[_0x477b25(0x17d)]=this[_0x477b25(0x146)][_0x477b25(0x1bd)]);!_0x4d3eb4[_0x477b25(0x17d)]&&this[_0x477b25(0x156)]&&!this['current_test'][_0x477b25(0x1b3)]&&(_0x4d3eb4[_0x477b25(0x224)]=this[_0x477b25(0x156)]['testAnalyticsId']);if(_0x4d3eb4[_0x477b25(0x17d)]||_0x4d3eb4[_0x477b25(0x224)]){const _0x3736e3={};_0x3736e3[_0x477b25(0x171)]=_0x188ec4['HbkEO'],_0x3736e3[_0x477b25(0x1cd)]=[_0x4d3eb4],await SessionHandler[_0x477b25(0x1b8)](_0x3736e3);}}catch(_0x3b3681){_0x188ec4[_0x477b25(0x22e)](debug,_0x477b25(0x1a5)+_0x3b3681);}};['appendTestPlatform']=async _0xbe24ff=>{const _0x53e760=a27_0x1ebf2d,_0x1d6c7a={'EQZOQ':_0x53e760(0x173),'bfjYf':_0x53e760(0x234),'vYYNR':function(_0x461475,_0x3ed734){return _0x461475(_0x3ed734);}};try{const _0x5b3c82={};_0x5b3c82[_0x53e760(0x20e)]=_0xbe24ff[_0x53e760(0x20e)]||this['current_test'][_0x53e760(0x150)],_0x5b3c82['integrations']=_0xbe24ff[_0x1d6c7a[_0x53e760(0x17b)]];const _0xedda1f=_0x5b3c82,_0x5302f7={};_0x5302f7[_0x53e760(0x171)]=_0x1d6c7a[_0x53e760(0x186)],_0x5302f7[_0x53e760(0x20c)]=_0xedda1f,await SessionHandler[_0x53e760(0x1b8)](_0x5302f7);}catch(_0x346d85){_0x1d6c7a[_0x53e760(0x153)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x346d85);}};[a27_0x1ebf2d(0x247)](_0x24f158){const _0x1f384a=a27_0x1ebf2d,_0x293cdf={};_0x293cdf['kdssc']='passed',_0x293cdf[_0x1f384a(0x17f)]=_0x1f384a(0x258),_0x293cdf[_0x1f384a(0x1f1)]=_0x1f384a(0x1ea);const _0x14ca02=_0x293cdf,_0x266d3c={};return _0x266d3c[STATE_PASSED]=_0x14ca02[_0x1f384a(0x1d8)],_0x266d3c[STATE_PENDING]=_0x14ca02[_0x1f384a(0x17f)],_0x266d3c[STATE_FAILED]=_0x14ca02['BJVqr'],_0x266d3c[_0x24f158];}['scope'](_0x2199ee){const _0x161181=a27_0x1ebf2d,_0x5af4e8={};_0x5af4e8[_0x161181(0x183)]=function(_0x3609f0,_0x37ceae){return _0x3609f0-_0x37ceae;};const _0x40d3f3=_0x5af4e8,_0x32d16f=_0x2199ee['titlePath']();return _0x32d16f[_0x161181(0x18f)](0x0,_0x40d3f3[_0x161181(0x183)](_0x32d16f[_0x161181(0x1f7)],0x1))['join']('\x20');}[a27_0x1ebf2d(0x228)](_0x1c0d14){const _0x25f38a=a27_0x1ebf2d,_0x42e811={};_0x42e811[_0x25f38a(0x24a)]=function(_0x39e064,_0x188fdb){return _0x39e064-_0x188fdb;};const _0x5c8bd6=_0x42e811,_0x1c7507=_0x1c0d14[_0x25f38a(0x1b1)]();return _0x1c7507['slice'](0x0,_0x5c8bd6[_0x25f38a(0x24a)](_0x1c7507[_0x25f38a(0x1f7)],0x1));}['getRootParentFile'](_0x346486){const _0x112cf1=a27_0x1ebf2d,_0x56f2bf={};_0x56f2bf[_0x112cf1(0x1fb)]=function(_0x4b1a8c,_0x190f67){return _0x4b1a8c>_0x190f67;};const _0x3faf60=_0x56f2bf;if(_0x346486[_0x112cf1(0x1cc)])return _0x346486['file'];if(_0x346486[_0x112cf1(0x180)]){const _0x2897b0=_0x346486['ctx']['currentTest']?this[_0x112cf1(0x1da)](_0x346486[_0x112cf1(0x180)]['currentTest']):null;if(_0x2897b0)return _0x2897b0;}if(_0x346486[_0x112cf1(0x1ac)]){const _0x50ae63=this['getRootParentFile'](_0x346486['parent'])||(_0x346486['parent']['ctx']&&_0x346486[_0x112cf1(0x1ac)][_0x112cf1(0x180)][_0x112cf1(0x15f)]?this[_0x112cf1(0x1da)](_0x346486['parent'][_0x112cf1(0x180)][_0x112cf1(0x15f)]):null);if(_0x50ae63)return _0x50ae63;_0x346486[_0x112cf1(0x1ac)][_0x112cf1(0x253)]&&_0x3faf60['neOSJ'](_0x346486['parent'][_0x112cf1(0x253)][_0x112cf1(0x1f7)],0x0)&&_0x346486[_0x112cf1(0x1ac)][_0x112cf1(0x253)][_0x112cf1(0x166)](_0x36178c=>{const _0x48e2e2=_0x112cf1,_0x14b9d3=_0x36178c[_0x48e2e2(0x180)]?this[_0x48e2e2(0x1da)](_0x36178c[_0x48e2e2(0x180)]):null;if(_0x14b9d3)return _0x14b9d3;});}return null;}}module[a27_0x1ebf2d(0x24d)]=MyReporter;
1
+ 'use strict';const a27_0x1dddfa=a27_0x326c;(function(_0x579d5a,_0x234a7e){const _0x2d3cb9=a27_0x326c,_0x5c7f1f=_0x579d5a();while(!![]){try{const _0x2c444e=-parseInt(_0x2d3cb9(0x17e))/0x1*(parseInt(_0x2d3cb9(0xf6))/0x2)+parseInt(_0x2d3cb9(0x177))/0x3*(parseInt(_0x2d3cb9(0x15a))/0x4)+-parseInt(_0x2d3cb9(0x1ac))/0x5*(-parseInt(_0x2d3cb9(0x176))/0x6)+parseInt(_0x2d3cb9(0xfd))/0x7*(parseInt(_0x2d3cb9(0x1f0))/0x8)+parseInt(_0x2d3cb9(0x1a5))/0x9+-parseInt(_0x2d3cb9(0x16a))/0xa*(-parseInt(_0x2d3cb9(0x15b))/0xb)+-parseInt(_0x2d3cb9(0x12e))/0xc;if(_0x2c444e===_0x234a7e)break;else _0x5c7f1f['push'](_0x5c7f1f['shift']());}catch(_0x43d8c1){_0x5c7f1f['push'](_0x5c7f1f['shift']());}}}(a27_0x432b,0xc5b0e));const util=require(a27_0x1dddfa(0xef)),fs=require('fs'),path=require(a27_0x1dddfa(0x1eb)),{requireModule}=require(a27_0x1dddfa(0xf9)),Base=requireModule('mocha/lib/reporters/base.js'),utils=requireModule(a27_0x1dddfa(0x1d3)),color=Base[a27_0x1dddfa(0x1a4)],Mocha=requireModule(a27_0x1dddfa(0x19a)),Runnable=requireModule('mocha/lib/runnable.js'),{v4:uuidv4}=require('uuid'),bsSetupHelper=require('../../../helpers/helper'),testhubUtils=require(a27_0x1dddfa(0xfa)),testHubConstants=require(a27_0x1dddfa(0x1e4)),{FRAMEWORKS}=require(a27_0x1dddfa(0x1b9)),a27_0x390018={};function a27_0x432b(){const _0x572a2d=['</dt>','bQOGj','pCxHc','getInstance','indent','XyHnL','scope','iLSvb','includes','started_at','Fqjlf','cBOZd','\x20%s','\x20-\x20','clean','hQYOy','once','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','__indents','test_run','file','__platform__','\x20\x20<dt\x20class=\x22error\x22>','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','AssertionError','bs:addPlatformDetails:','PLOPe','erZeM','\x20\x20<dd><pre><code>','fail','write','vUvxy','apply','../../../helpers/test-observability/requestQueueHandler','PcAoA','bs:addLog:','\x20\x20<dd\x20class=\x22error\x22><pre><code>','prefixTestPath','niAvj','136vBeBqV','1815781pIHqCs','hook_run','BRoyH','bind','originalTitle','testAnalyticsId','<section\x20class=\x22suite\x22>','slice','LnrKU','TestRunStarted','state','</code></pre></dd>','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','slow','javascript','30XNpWIf','File\x20path\x20could\x20not\x20be\x20found','oglNS','HpWps','type','findGitConfig','IAmka','cOSFo','bang','match','failed','COMPLETED','150FYZana','29622caCMMn','PyIjr','HookStarted','scopes','reporterOption','comma','_testResults','33653GKUsjp','inspect','exports','FzqXT','parent','UvFVK','_indents','xunit','irLxJ','cOwgT','\x20\x20%d)\x20%s','jOJig','OuHwt','logs','_testEnv','titlePath','\x20\x20<dd\x20class=\x22error\x22>','jyxGe','PBaSh','multiple','analyticsResult','lqNBl','split','result','BEFORE_ALL','bAZxq','failure','http_response','mocha','gBahK','pNaty','CqgFH','uHcIh','clZON','testStarted','appendTestPlatform','TestRunFinished','WPrID','color','3949605vGoEeF','lteDd','LogCreated','hook_type','awGIJ','XMKDF','appendTesthubParams','208235WTwYzu','passed','location_prefix','TestRunSkipped','sep','jWYut','failCount','runner','pending','after\x20each','<dl>','qakEi','retryOf','../../../helpers/test-observability/constants','pmCqg','%s\x20-\x20%s','iAmhV','qgRKC','expanded','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','Failed\x20to\x20load\x20reporter\x20','JcuRU','veBpR','toString','finished_at','event_type','getRootParentFile','failure_backtrace','isPending','</h1>','err','1|3|4|0|2','Fbxmx','hook_run_uuid','finalResults','test','HookRunStarted','DUIGX','QoSAy','mocha/lib/utils.js','iLpUG','uqnJM','rHGNB','DBtZe','markedStatus','.js','suiteCount','integrations','EVENT','mocha/lib/reporters/','root','QFStp','constants','toISOString','suites','<h1>','../../../helpers/testhub/constants','kdYpx','suite','error','CVPkN','symbols','relative','path','ttKkV','green','bright\x20yellow','shutdown','3544pHaKbT','currentTest','increaseIndent','reporterOptions','light','AFTER_ALL','shouldProcessEventForTesthub','MOCHA','HeYdW','hookAnalyticsId','JFSqo','body','CDvvG','_upstreamConfig','../../../helpers/test-observability/sessionHandler','\x20\x20<dt>','test_run_uuid','dirname','appendTestItemLog','HookFinished','wHkNh','current_hook','failure_reason_expanded','iEICi','AFTER_EACH','wluSk','IFZEU','%s\x20','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','YTKSz','cwd','_paths','tclIm','HookRunFinished','escape','</section>','decreaseIndent','NcLCK','MxJJo','iTjXh','Iwdid','stdout','call','util','</dl>','fullTitle','Mocha','dot','removeAllListeners','QpzPk','74eozLNk','ctx','ixQlP','../../../helpers/helper','../../../helpers/testhub/utils','backtrace','LRhXF','6874kdnSjZ','name','vchMT','current_test','checkmark','uQQCt','aKSxY','idKVe','currentRetry','Reporter','now','OYAWU','docHtml','prototype','consoleLog','title','XRxsR','testObservability','bsConfig','push','XWdHI','sendTestRunEvent','length','kqgDh','forEach','join','kwTgn','trim','jHUWP','before\x20each','RRnrN','BEFORE_EACH','PjhYZ','OHVmu','FLmSz','../../../helpers/test-observability/utils','pid','hWntM','gZQnH','skipped','DogNI','docAppend','.git','IZUKy','</dd>','../test-observability/mochaUtils','uploadEventData','uuid','hooks','8292864zEfJjz','results','speed','ONIwh','duration'];a27_0x432b=function(){return _0x572a2d;};return a27_0x432b();}a27_0x390018['before\x20all']=a27_0x1dddfa(0x196),a27_0x390018['after\x20all']=a27_0x1dddfa(0xc9),a27_0x390018[a27_0x1dddfa(0x11a)]=a27_0x1dddfa(0x11c),a27_0x390018[a27_0x1dddfa(0x1b5)]=a27_0x1dddfa(0xdc);function a27_0x326c(_0x4743da,_0x55263c){const _0x432b62=a27_0x432b();return a27_0x326c=function(_0x326ccd,_0x379887){_0x326ccd=_0x326ccd-0xc5;let _0x513313=_0x432b62[_0x326ccd];return _0x513313;},a27_0x326c(_0x4743da,_0x55263c);}const HOOK_TYPES_MAP=a27_0x390018,{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['Runner'][a27_0x1dddfa(0x1e0)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable['constants'],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a27_0x1dddfa(0x12a)),{consoleHolder}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a27_0x1dddfa(0xd2)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a27_0x1dddfa(0x120)),RequestQueueHandler=require(a27_0x1dddfa(0x154)),requestQueueHandler=RequestQueueHandler[a27_0x1dddfa(0x136)]();class MyReporter{constructor(_0x43cfad,_0x2ff2f5){const _0x516d51=a27_0x1dddfa,_0x56d514={'idKVe':function(_0x1f4792,_0x51144f){return _0x1f4792===_0x51144f;},'aKSxY':'spec','kqgDh':function(_0x35ee22,_0x53a418){return _0x35ee22+_0x53a418;},'IAmka':function(_0x46a371,_0x35905d){return _0x46a371+_0x35905d;},'uQQCt':function(_0x408012,_0x4ea323,_0x5077c5){return _0x408012(_0x4ea323,_0x5077c5);},'IJOcV':_0x516d51(0x1ed),'qgRKC':_0x516d51(0xdf),'LDPPk':function(_0xdf4be3,_0x2b7510,_0x7d27d6){return _0xdf4be3(_0x2b7510,_0x7d27d6);},'HeYdW':_0x516d51(0xc8),'qfFba':_0x516d51(0x1bb),'tknqP':'RUNNING','BRoyH':'doc','ONIwh':function(_0x4d8e9b,_0x48547c){return _0x4d8e9b===_0x48547c;},'DBtZe':function(_0x17c8d0){return _0x17c8d0();},'KYtYE':_0x516d51(0x1d0),'kdYpx':function(_0x442a81,_0x22a3b6){return _0x442a81===_0x22a3b6;},'gBahK':'HookRunFinished','ePjuG':function(_0x32b001,_0xb398e){return _0x32b001===_0xb398e;},'wluSk':_0x516d51(0x1ad),'LRhXF':function(_0x3223b6,_0x5aba48){return _0x3223b6===_0x5aba48;},'iEICi':'fast','PLOPe':function(_0x46e5f,_0x1ace68){return _0x46e5f+_0x1ace68;},'gZQnH':function(_0x466085,_0x3b0c46,_0x27abab){return _0x466085(_0x3b0c46,_0x27abab);},'jyxGe':_0x516d51(0x101),'RRnrN':function(_0x39af84,_0x15ab14){return _0x39af84+_0x15ab14;},'QoSAy':function(_0x2629bf,_0x1ba91f,_0x4fc016){return _0x2629bf(_0x1ba91f,_0x4fc016);},'bAZxq':'pass','IZUKy':_0x516d51(0x13f),'JJyVG':function(_0x320009,_0x5e6ca2,_0x4817fd){return _0x320009(_0x5e6ca2,_0x4817fd);},'cOSFo':function(_0x3392d5,_0x5b2152,_0x26b585){return _0x3392d5(_0x5b2152,_0x26b585);},'PBaSh':'\x20(%dms)','XRxsR':function(_0x55dbd9,_0x2f8a24,_0x11cd31){return _0x55dbd9(_0x2f8a24,_0x11cd31);},'uHcIh':_0x516d51(0x150),'PjhYZ':_0x516d51(0x188),'OuHwt':function(_0xac1adc,_0x3600c4){return _0xac1adc===_0x3600c4;},'XWdHI':function(_0xe3237,_0x3dee7f){return _0xe3237+_0x3dee7f;},'iTjXh':_0x516d51(0x1ee),'cOwgT':_0x516d51(0x175),'cBOZd':function(_0x559fb4,_0x1808f4){return _0x559fb4===_0x1808f4;},'bQOGj':_0x516d51(0xf3),'uPtcu':_0x516d51(0x168),'jHUWP':function(_0x57a283,_0x524539){return _0x57a283===_0x524539;},'euvHM':function(_0xdddd19,_0x11e23f){return _0xdddd19===_0x11e23f;},'lqNBl':_0x516d51(0x1cb),'WPrID':function(_0x54ce01,_0x5114b9){return _0x54ce01===_0x5114b9;},'tclIm':function(_0x2d7c24,_0x388633){return _0x2d7c24===_0x388633;},'DUIGX':_0x516d51(0x1b4),'wHkNh':function(_0x1564ed){return _0x1564ed();},'OHVmu':_0x516d51(0x1af),'rHGNB':function(_0x5f2d78,_0x579027){return _0x5f2d78===_0x579027;},'XyHnL':function(_0x4e697d,_0x4f2c59){return _0x4e697d(_0x4f2c59);},'Iwdid':function(_0x2ff63b){return _0x2ff63b();},'irLxJ':function(_0x317dab,_0x284be9){return _0x317dab===_0x284be9;},'iLpUG':function(_0x1db688,_0x52c94d){return _0x1db688===_0x52c94d;},'jPGUZ':_0x516d51(0x185),'tmGsQ':function(_0x16b6de,_0x3eae1a){return _0x16b6de(_0x3eae1a);},'pmCqg':function(_0x3143fa,_0x5da9fc){return _0x3143fa===_0x5da9fc;},'HlIGo':function(_0x2499a4,_0x22b750){return _0x2499a4(_0x22b750);},'RtcCq':function(_0x236925,_0x24d24d){return _0x236925!==_0x24d24d;}};this['type']=_0x2ff2f5[_0x516d51(0x17b)][_0x516d51(0x16e)],this[_0x516d51(0x10e)]=_0x56d514[_0x516d51(0xd8)](isTestObservabilitySession),Base[_0x516d51(0xee)](this,_0x43cfad,_0x2ff2f5),this[_0x516d51(0x184)]=0x0,this[_0x516d51(0x1b2)]=0x0,this['results']=[],this['finalResults']=[],this[_0x516d51(0x1da)]=0x0,this['_buildCreated']=![],this[_0x516d51(0x17d)]=[],this['_testEnv']=_0x56d514[_0x516d51(0xec)](getTestEnv),this[_0x516d51(0xe3)]=new PathHelper({'cwd':process[_0x516d51(0xe2)]()},this[_0x516d51(0x18c)][_0x516d51(0x1ae)]),this[_0x516d51(0xd1)]=_0x2ff2f5[_0x516d51(0x17b)][_0x516d51(0x10f)],this['registerListeners']();_0x56d514[_0x516d51(0x1d4)](this[_0x516d51(0x16e)],_0x56d514['BRoyH'])&&(this[_0x516d51(0x109)]='',this[_0x516d51(0x145)]=0x2);_0x43cfad[_0x516d51(0x143)](EVENT_RUN_BEGIN,async()=>{const _0x3116c6=_0x516d51;_0x56d514[_0x3116c6(0x104)](this['type'],_0x56d514[_0x3116c6(0x103)])&&Base['consoleLog']();})['on'](EVENT_SUITE_BEGIN,_0x2dde2b=>{const _0xa51336=_0x516d51;if(_0x2dde2b[_0xa51336(0x1de)])return;if(_0x56d514[_0xa51336(0x104)](this['type'],_0x56d514[_0xa51336(0x103)]))this[_0xa51336(0xc6)](),Base[_0xa51336(0x10b)](_0x56d514[_0xa51336(0x114)](_0x56d514[_0xa51336(0x170)](this[_0xa51336(0x137)](),_0x56d514[_0xa51336(0x102)](color,_0x56d514['IJOcV'],_0x56d514[_0xa51336(0x1bd)])),_0x56d514['LDPPk'](color,_0x56d514['HeYdW'],_0x56d514['qfFba'])),_0x56d514['tknqP'],_0x2dde2b['title'],global[_0xa51336(0x148)]);else _0x56d514[_0xa51336(0x104)](this['type'],_0x56d514[_0xa51336(0x15d)])&&(this[_0xa51336(0x126)](this[_0xa51336(0x137)]()+_0xa51336(0x161)),++this[_0xa51336(0x145)],this[_0xa51336(0x126)](this[_0xa51336(0x137)]()+_0xa51336(0x1e3)+utils[_0xa51336(0xe6)](_0x2dde2b['title']+_0xa51336(0x140)+global[_0xa51336(0x148)])+_0xa51336(0x1c9)),this[_0xa51336(0x126)](this[_0xa51336(0x137)]()+_0xa51336(0x1b6)));})['on'](EVENT_HOOK_BEGIN,async _0x522c3a=>{const _0x220fbb=_0x516d51;if(_0x56d514[_0x220fbb(0x131)](testhubUtils[_0x220fbb(0xca)](testHubConstants[_0x220fbb(0x1dc)][_0x220fbb(0x179)]),!![])){if(!_0x522c3a['hookAnalyticsId'])_0x522c3a['hookAnalyticsId']=_0x56d514[_0x220fbb(0x1d7)](uuidv4);else _0x522c3a[_0x220fbb(0x1d8)]&&(_0x522c3a[_0x220fbb(0xcd)]=_0x56d514['DBtZe'](uuidv4),delete _0x522c3a[_0x220fbb(0x1d8)]);_0x522c3a[_0x220fbb(0x13c)]=new Date()[_0x220fbb(0x1e1)](),this[_0x220fbb(0xd9)]=_0x522c3a,await this['sendTestRunEvent'](_0x522c3a,undefined,![],_0x56d514['KYtYE']);}})['on'](EVENT_HOOK_END,async _0x228149=>{const _0xacd40b=_0x516d51;_0x56d514[_0xacd40b(0x1e5)](testhubUtils[_0xacd40b(0xca)](testHubConstants[_0xacd40b(0x1dc)][_0xacd40b(0xd7)]),!![])&&(!_0x228149[_0xacd40b(0x1d8)]&&(_0x228149[_0xacd40b(0x1d8)]=!![],await this[_0xacd40b(0x112)](_0x228149,undefined,![],_0x56d514[_0xacd40b(0x19b)])));})['on'](EVENT_SUITE_END,_0x4b87c1=>{const _0x577c5c=_0x516d51;if(_0x4b87c1['root'])return;if(_0x56d514[_0x577c5c(0x18a)](this[_0x577c5c(0x16e)],_0x56d514[_0x577c5c(0x103)]))Base[_0x577c5c(0x10b)](),Base['consoleLog'](_0x56d514[_0x577c5c(0x111)](_0x56d514['PLOPe'](this[_0x577c5c(0x137)](),_0x56d514[_0x577c5c(0x171)](color,_0x56d514[_0x577c5c(0xeb)],_0x56d514[_0x577c5c(0x1bd)])),_0x56d514[_0x577c5c(0x10d)](color,_0x56d514[_0x577c5c(0xcc)],_0x56d514['qfFba'])),_0x56d514[_0x577c5c(0x187)],_0x4b87c1['title'],global[_0x577c5c(0x148)]),this[_0x577c5c(0x12f)][_0x577c5c(0x115)](_0x41091f=>{const _0x1791e0=_0x577c5c;if(_0x56d514['ePjuG'](_0x41091f[_0x1791e0(0x165)],_0x56d514[_0x1791e0(0xdd)])){var _0x3e78d5;_0x56d514[_0x1791e0(0xfc)](_0x41091f[_0x1791e0(0x130)],_0x56d514[_0x1791e0(0xdb)])?(_0x3e78d5=_0x56d514[_0x1791e0(0x14d)](_0x56d514[_0x1791e0(0x170)](this[_0x1791e0(0x137)](),_0x56d514['gZQnH'](color,_0x56d514[_0x1791e0(0x18f)],_0x56d514['RRnrN']('\x20\x20',Base[_0x1791e0(0x1e9)]['ok']))),_0x56d514[_0x1791e0(0x1d2)](color,_0x56d514[_0x1791e0(0x197)],_0x56d514[_0x1791e0(0x128)])),Base[_0x1791e0(0x10b)](_0x3e78d5,_0x41091f[_0x1791e0(0x10c)])):(_0x3e78d5=_0x56d514[_0x1791e0(0x11b)](_0x56d514[_0x1791e0(0x114)](_0x56d514['kqgDh'](this[_0x1791e0(0x137)](),_0x56d514['JJyVG'](color,_0x56d514[_0x1791e0(0x18f)],_0x56d514[_0x1791e0(0x114)]('\x20\x20',Base['symbols']['ok']))),_0x56d514[_0x1791e0(0x123)](color,_0x56d514[_0x1791e0(0x197)],_0x56d514['IZUKy'])),_0x56d514[_0x1791e0(0x171)](color,_0x41091f['speed'],_0x56d514[_0x1791e0(0x190)])),Base['consoleLog'](_0x3e78d5,_0x41091f['title'],_0x41091f[_0x1791e0(0x132)]));}else Base[_0x1791e0(0x10b)](_0x56d514[_0x1791e0(0x170)](this[_0x1791e0(0x137)](),_0x56d514['XRxsR'](color,_0x56d514[_0x1791e0(0x19e)],_0x56d514[_0x1791e0(0x11d)])),++this[_0x1791e0(0x1b2)],_0x41091f[_0x1791e0(0x10c)]);}),this['decreaseIndent']();else _0x56d514[_0x577c5c(0x13e)](this[_0x577c5c(0x16e)],_0x56d514[_0x577c5c(0x15d)])&&(this['docAppend'](this[_0x577c5c(0x137)]()+_0x577c5c(0xf0)),--this[_0x577c5c(0x145)],this[_0x577c5c(0x126)](this[_0x577c5c(0x137)]()+_0x577c5c(0xe7)),--this[_0x577c5c(0x145)]);Array[_0x577c5c(0x10a)]['push'][_0x577c5c(0x153)](this[_0x577c5c(0x1ce)],this[_0x577c5c(0x12f)]),this[_0x577c5c(0x12f)]=[];})['on'](EVENT_TEST_PASS,async _0x56b783=>{const _0x257d0e=_0x516d51;this[_0x257d0e(0x12f)][_0x257d0e(0x110)]({'speed':_0x56b783['speed'],'suite':_0x56b783[_0x257d0e(0x182)][_0x257d0e(0x10c)],'title':_0x56b783['title'],'fullTitle':_0x56b783[_0x257d0e(0xf1)](),'duration':_0x56b783[_0x257d0e(0x132)],'state':_0x56b783['state'],'err':{},'currentRetry':_0x56b783[_0x257d0e(0x105)](),'titlePathV':_0x56b783[_0x257d0e(0x18d)](),'isPending':_0x56b783[_0x257d0e(0x1c8)]()});if(_0x56d514['cBOZd'](this[_0x257d0e(0x16e)],_0x56d514['bQOGj']))_0x56d514[_0x257d0e(0x1e5)](_0x56b783[_0x257d0e(0x130)],_0x56d514['uPtcu'])?process[_0x257d0e(0xed)]['write'](Base[_0x257d0e(0x1a4)](_0x56d514[_0x257d0e(0xeb)],Base['symbols'][_0x257d0e(0xf3)])):process[_0x257d0e(0xed)]['write'](Base[_0x257d0e(0x1a4)](_0x56b783[_0x257d0e(0x130)],Base[_0x257d0e(0x1e9)]['dot']));else{if(_0x56d514[_0x257d0e(0x104)](this[_0x257d0e(0x16e)],_0x56d514[_0x257d0e(0x15d)])){this[_0x257d0e(0x126)](this[_0x257d0e(0x137)]()+_0x257d0e(0xd3)+utils[_0x257d0e(0xe6)](_0x56b783[_0x257d0e(0x10c)])+_0x257d0e(0x133)),this[_0x257d0e(0x126)](this[_0x257d0e(0x137)]()+_0x257d0e(0xd3)+utils[_0x257d0e(0xe6)](_0x56b783[_0x257d0e(0x147)])+'</dt>');var _0x23b34b=utils['escape'](utils['clean'](_0x56b783[_0x257d0e(0xcf)]));this[_0x257d0e(0x126)](this[_0x257d0e(0x137)]()+_0x257d0e(0x14f)+_0x23b34b+_0x257d0e(0x166));}}_0x56d514[_0x257d0e(0x18a)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x56b783[_0x257d0e(0x1d8)]&&(_0x56b783[_0x257d0e(0x1d8)]=!![],await this[_0x257d0e(0x112)](_0x56b783)));})['on'](EVENT_TEST_FAIL,async(_0xc58d05,_0x4ea517)=>{const _0x28df7e=_0x516d51;this[_0x28df7e(0x12f)][_0x28df7e(0x110)]({'title':_0xc58d05[_0x28df7e(0x10c)],'suite':_0xc58d05['parent'][_0x28df7e(0x10c)],'state':_0xc58d05[_0x28df7e(0x165)],'err':{'message':util[_0x28df7e(0x17f)](_0x4ea517)},'fullTitle':_0xc58d05[_0x28df7e(0xf1)](),'speed':_0xc58d05[_0x28df7e(0x130)],'currentRetry':_0xc58d05[_0x28df7e(0x105)](),'titlePathV':_0xc58d05[_0x28df7e(0x18d)]()});if(_0x56d514['jHUWP'](this[_0x28df7e(0x16e)],_0x56d514['bQOGj']))process[_0x28df7e(0xed)][_0x28df7e(0x151)](Base['color'](_0x56d514[_0x28df7e(0x19e)],Base[_0x28df7e(0x1e9)][_0x28df7e(0x172)]));else{if(_0x56d514['euvHM'](this['type'],_0x56d514[_0x28df7e(0x15d)])){const _0x38fcdc=_0x56d514[_0x28df7e(0x193)][_0x28df7e(0x194)]('|');let _0x4a8902=0x0;while(!![]){switch(_0x38fcdc[_0x4a8902++]){case'0':this[_0x28df7e(0x126)](this['indent']()+_0x28df7e(0x157)+_0xa0665+_0x28df7e(0x166));continue;case'1':this[_0x28df7e(0x126)](this[_0x28df7e(0x137)]()+'\x20\x20<dt\x20class=\x22error\x22>'+utils['escape'](_0xc58d05[_0x28df7e(0x10c)])+'</dt>');continue;case'2':this[_0x28df7e(0x126)](this[_0x28df7e(0x137)]()+_0x28df7e(0x18e)+utils[_0x28df7e(0xe6)](_0xc58d05[_0x28df7e(0x1ca)])+_0x28df7e(0x129));continue;case'3':this[_0x28df7e(0x126)](this[_0x28df7e(0x137)]()+_0x28df7e(0x149)+utils[_0x28df7e(0xe6)](_0xc58d05[_0x28df7e(0x147)])+'</dt>');continue;case'4':var _0xa0665=utils[_0x28df7e(0xe6)](utils[_0x28df7e(0x141)](_0xc58d05[_0x28df7e(0xcf)]));continue;}break;}}}if(_0x56d514[_0x28df7e(0x1a3)](testhubUtils[_0x28df7e(0xca)](testHubConstants['EVENT']['HookFinished']),!![])){if(!_0xc58d05['markedStatus']){_0xc58d05[_0x28df7e(0x1d8)]=!![];if(_0xc58d05[_0x28df7e(0x160)])await this[_0x28df7e(0x112)](_0xc58d05,_0x4ea517);else _0xc58d05['hookAnalyticsId']&&await this[_0x28df7e(0x112)](_0xc58d05,_0x4ea517,![],_0x56d514['gBahK']);}}})['on'](EVENT_TEST_PENDING,async _0x21b031=>{const _0x13ce50=_0x516d51;this[_0x13ce50(0x12f)][_0x13ce50(0x110)]({'title':_0x21b031[_0x13ce50(0x10c)],'suite':_0x21b031['parent'][_0x13ce50(0x10c)],'state':_0x21b031[_0x13ce50(0x165)],'err':{},'fullTitle':_0x21b031[_0x13ce50(0xf1)](),'speed':_0x21b031['speed'],'currentRetry':_0x21b031[_0x13ce50(0x105)](),'titlePathV':_0x21b031[_0x13ce50(0x18d)]()}),_0x56d514[_0x13ce50(0xe4)](this[_0x13ce50(0x16e)],_0x56d514['bQOGj'])&&process['stdout']['write'](Base[_0x13ce50(0x1a4)](_0x56d514[_0x13ce50(0x1d1)],Base[_0x13ce50(0x1e9)][_0x13ce50(0x17c)])),_0x56d514[_0x13ce50(0x119)](testhubUtils[_0x13ce50(0xca)](),!![])&&(!_0x21b031[_0x13ce50(0x160)]&&(_0x21b031[_0x13ce50(0x160)]=_0x56d514[_0x13ce50(0xd8)](uuidv4)),!_0x21b031[_0x13ce50(0x1d8)]&&(_0x21b031[_0x13ce50(0x1d8)]=!![],await this[_0x13ce50(0x112)](_0x21b031,undefined,![],_0x56d514[_0x13ce50(0x11e)])));})['on'](EVENT_TEST_BEGIN,async _0x8154fb=>{const _0x42aaff=_0x516d51;_0x56d514['kdYpx'](testhubUtils[_0x42aaff(0xca)](),!![])&&await this[_0x42aaff(0x1a0)](_0x8154fb);})['on'](EVENT_TEST_END,async _0x2b6c8e=>{const _0x578227=_0x516d51;_0x56d514[_0x578227(0x119)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x2b6c8e[_0x578227(0x1d8)]&&(_0x2b6c8e['markedStatus']=!![],await this[_0x578227(0x112)](_0x2b6c8e)));})[_0x516d51(0x143)](EVENT_RUN_END,async()=>{const _0x2acc7d=_0x516d51;try{if(_0x56d514[_0x2acc7d(0x1d6)](testhubUtils[_0x2acc7d(0xca)](),!![])){const _0x496038=_0x56d514['XyHnL'](getHookSkippedTests,this[_0x2acc7d(0x1b3)][_0x2acc7d(0x1e6)]);for(const _0x1fe15e of _0x496038){!_0x1fe15e['testAnalyticsId']&&(_0x1fe15e[_0x2acc7d(0x160)]=_0x56d514[_0x2acc7d(0xec)](uuidv4)),await this[_0x2acc7d(0x112)](_0x1fe15e,undefined,![],_0x56d514[_0x2acc7d(0x11e)]);}}}catch(_0x4398fd){_0x56d514[_0x2acc7d(0x138)](debug,_0x2acc7d(0xe0)+_0x4398fd);}await requestQueueHandler[_0x2acc7d(0x1ef)](),_0x56d514[_0x2acc7d(0x186)](this[_0x2acc7d(0x16e)],_0x56d514[_0x2acc7d(0x15d)])&&Base[_0x2acc7d(0x10b)](this['docHtml']);});if(this[_0x516d51(0x16e)]&&![_0x56d514['BRoyH'],_0x56d514['jPGUZ'],_0x56d514['aKSxY'],_0x56d514[_0x516d51(0x134)]][_0x516d51(0x13b)](this[_0x516d51(0x16e)])){const _0x1bd7f5=this['type'][_0x516d51(0x118)]();this[_0x516d51(0x106)]=null;try{this[_0x516d51(0x106)]=_0x56d514['tmGsQ'](requireModule,_0x516d51(0x1dd)+_0x1bd7f5+_0x516d51(0x1d9));}catch{}if(_0x56d514[_0x516d51(0x1ba)](this[_0x516d51(0x106)],null))try{this[_0x516d51(0x106)]=_0x56d514['HlIGo'](require,_0x1bd7f5);}catch(_0x504873){console[_0x516d51(0x1e7)](_0x516d51(0x1c0)+_0x1bd7f5);}if(_0x56d514['RtcCq'](this[_0x516d51(0x106)],null)){const _0x307836={};_0x307836[_0x516d51(0xc7)]=_0x2ff2f5[_0x516d51(0x17b)],this[_0x516d51(0x106)]=new this['Reporter'](_0x43cfad,_0x307836);}}}['indent'](){const _0x454b0a=a27_0x1dddfa,_0x294ddc={'sFFCK':function(_0x4ca819,_0x1eb97){return _0x4ca819(_0x1eb97);}};return _0x294ddc['sFFCK'](Array,this['_indents'])[_0x454b0a(0x116)]('\x20\x20');}[a27_0x1dddfa(0xc6)](){this['_indents']++;}[a27_0x1dddfa(0xe8)](){const _0x2c85cc=a27_0x1dddfa;this[_0x2c85cc(0x184)]--;}[a27_0x1dddfa(0x126)](_0x1b07a0){const _0x103ad8=a27_0x1dddfa;this[_0x103ad8(0x109)]+=_0x1b07a0;}['done'](_0x5e1d8f,_0x2d6319){const _0x512972=a27_0x1dddfa,_0x5d8639={'FzqXT':function(_0x2a094e,_0x40a5c0){return _0x2a094e(_0x40a5c0);}},_0x4c7955={};_0x4c7955['failureCount']=_0x5e1d8f,_0x4c7955[_0x512972(0x12f)]=this[_0x512972(0x1ce)],_0x5d8639[_0x512972(0x181)](_0x2d6319,_0x4c7955);}['registerListeners'](){const _0x4f95e7=a27_0x1dddfa;process['removeAllListeners'](_0x4f95e7(0x156)+process[_0x4f95e7(0x121)]),process['on'](_0x4f95e7(0x156)+process['pid'],this[_0x4f95e7(0xd6)][_0x4f95e7(0x15e)](this)),process[_0x4f95e7(0xf4)](_0x4f95e7(0x14c)+process[_0x4f95e7(0x121)]),process['on'](_0x4f95e7(0x14c)+process['pid'],this['appendTestPlatform'][_0x4f95e7(0x15e)](this));}[a27_0x1dddfa(0x1a0)]=async _0x47cd3f=>{const _0x435523=a27_0x1dddfa,_0x240f7f={'IVekg':function(_0x3a2258){return _0x3a2258();},'awGIJ':function(_0x305b0f,_0xb20fea){return _0x305b0f>_0xb20fea;},'pQEqv':function(_0x1adc14,_0x3e6f44){return _0x1adc14===_0x3e6f44;},'pCxHc':_0x435523(0x164),'qakEi':function(_0x4e1c3f,_0x466126){return _0x4e1c3f(_0x466126);}};try{const _0x2f46ef=this[_0x435523(0x100)];this['current_test']=_0x47cd3f,_0x47cd3f[_0x435523(0x1b8)]=null,_0x47cd3f['testAnalyticsId']=_0x240f7f['IVekg'](uuidv4),_0x47cd3f[_0x435523(0x13c)]=new Date()[_0x435523(0x1e1)](),_0x240f7f[_0x435523(0x1a9)](_0x47cd3f['_currentRetry'],0x0)&&_0x2f46ef&&_0x240f7f['pQEqv'](_0x2f46ef[_0x435523(0x10c)],_0x47cd3f['title'])?(_0x47cd3f[_0x435523(0x1b8)]=_0x2f46ef['testAnalyticsId'],await this['sendTestRunEvent'](_0x47cd3f,undefined,![],_0x240f7f[_0x435523(0x135)]),_0x2f46ef[_0x435523(0x165)]=STATE_FAILED,await this[_0x435523(0x112)](_0x2f46ef,undefined,!![])):await this[_0x435523(0x112)](_0x47cd3f,undefined,![],_0x240f7f['pCxHc']);}catch(_0x324e27){_0x240f7f[_0x435523(0x1b7)](debug,_0x435523(0x144)+_0x324e27);}};['sendTestRunEvent']=async(_0x216812,_0x3dde1c=undefined,_0x32a7d2=![],_0x230353=a27_0x1dddfa(0x1a2))=>{const _0x379d18=a27_0x1dddfa,_0x24632e={'MxJJo':function(_0x3fa42e,_0x56ecf5){return _0x3fa42e===_0x56ecf5;},'penrR':function(_0x4bfafa,_0x468020){return _0x4bfafa!==_0x468020;},'IGyZi':_0x379d18(0x1cf),'HpWps':_0x379d18(0x1ca),'CDvvG':function(_0x15d1d0,_0x218145){return _0x15d1d0!==_0x218145;},'PcAoA':function(_0x1120b1,_0x431857){return _0x1120b1!==_0x431857;},'vUvxy':_0x379d18(0x16b),'hwnSF':_0x379d18(0xf2),'hQYOy':_0x379d18(0x169),'iLSvb':_0x379d18(0x1af),'YTKSz':_0x379d18(0x124),'clZON':function(_0x510ade,_0x533a84){return _0x510ade-_0x533a84;},'veBpR':_0x379d18(0x14b),'QpzPk':'UnhandledError','QFStp':_0x379d18(0x13c),'PyIjr':_0x379d18(0x1c4),'XMKDF':function(_0x3e8d72,_0x4ffa8a){return _0x3e8d72(_0x4ffa8a);},'FLmSz':_0x379d18(0xe5),'pNaty':function(_0x398c48,_0x4031b2){return _0x398c48!==_0x4031b2;},'iAmhV':_0x379d18(0x174),'CVPkN':_0x379d18(0x1ad),'niAvj':_0x379d18(0x11a),'hWntM':_0x379d18(0x198),'itwuj':_0x379d18(0x1c7),'DogNI':_0x379d18(0xfb),'kwTgn':_0x379d18(0xda),'ttKkV':_0x379d18(0x1be),'IFZEU':'TestRunFinished','RSrgy':function(_0x344fe8,_0x525d6a){return _0x344fe8===_0x525d6a;},'jOJig':_0x379d18(0x1a8),'qEnoh':_0x379d18(0x15c),'uqnJM':_0x379d18(0x146),'RUakO':function(_0x198581,_0x508de5){return _0x198581(_0x508de5);}};try{if(_0x216812['body']&&_0x216812[_0x379d18(0xcf)][_0x379d18(0x173)](/browserstack internal helper hook/))return;let _0x541cf6=[];if(_0x24632e[_0x379d18(0xea)](_0x216812[_0x379d18(0x165)],STATE_FAILED)){if(_0x24632e['penrR'](_0x216812[_0x379d18(0x1ca)],undefined))_0x541cf6=_0x216812['err'][_0x379d18(0x191)]?[_0x216812['err']['multiple'],_0x24632e['IGyZi']]:[_0x216812[_0x379d18(0x1ca)],_0x24632e['HpWps']];else _0x24632e[_0x379d18(0xd0)](_0x3dde1c,undefined)?_0x541cf6=[_0x3dde1c,_0x24632e[_0x379d18(0x16d)]]:_0x541cf6=[];}const _0xaa4c00=_0x24632e['penrR'](_0x216812[_0x379d18(0x1ca)],undefined)?_0x216812['err'][_0x379d18(0x1c3)]():_0x24632e[_0x379d18(0x155)](_0x3dde1c,undefined)?_0x3dde1c['toString']():undefined;let _0x120db2;try{_0x120db2=this[_0x379d18(0x1c6)](_0x216812);}catch(_0x507205){_0x120db2=null;}const _0x4cffc1=_0x120db2?this[_0x379d18(0x16f)](_0x120db2):null,_0x290763=_0x120db2?this[_0x379d18(0xe3)][_0x379d18(0x158)](this['getRootParentFile'](_0x216812)):_0x24632e[_0x379d18(0x152)],_0x5e39f7={'framework':_0x24632e['hwnSF'],'uuid':_0x216812[_0x379d18(0x160)]||_0x216812['hookAnalyticsId'],'name':_0x216812['title'],'body':{'lang':_0x24632e[_0x379d18(0x142)],'code':_0x216812[_0x379d18(0xcf)]},'scope':this[_0x379d18(0x139)](_0x216812),'scopes':this[_0x379d18(0x17a)](_0x216812),'identifier':_0x216812[_0x379d18(0xf1)](),'file_name':_0x290763,'vc_filepath':_0x4cffc1?path[_0x379d18(0x1ea)](_0x4cffc1,_0x120db2):null,'location':_0x290763,'result':_0x24632e[_0x379d18(0xea)](_0x230353,_0x24632e[_0x379d18(0x13a)])?_0x24632e[_0x379d18(0xe1)]:this[_0x379d18(0x192)](_0x216812[_0x379d18(0x165)]),'failure_reason':_0xaa4c00,'duration_in_ms':_0x216812['duration']||(_0x230353[_0x379d18(0x173)](/Finished/)||_0x230353[_0x379d18(0x173)](/Skipped/)?_0x24632e[_0x379d18(0x19f)](Date[_0x379d18(0x107)](),new Date(_0x216812[_0x379d18(0x13c)])['getTime']()):null),'started_at':_0x216812[_0x379d18(0x13c)],'finished_at':_0x230353[_0x379d18(0x173)](/Finished/)||_0x230353[_0x379d18(0x173)](/Skipped/)?new Date()[_0x379d18(0x1e1)]():null,'failure':failureData[_0x379d18(0x153)](null,_0x541cf6),'failure_type':!_0xaa4c00?null:_0xaa4c00[_0x379d18(0x173)](/AssertionError/)?_0x24632e[_0x379d18(0x1c2)]:_0x24632e[_0x379d18(0xf5)],'retry_of':_0x216812[_0x379d18(0x1b8)]};testhubUtils[_0x379d18(0x1ab)](_0x5e39f7,_0x230353,_0x216812,FRAMEWORKS[_0x379d18(0xcb)]);_0x24632e[_0x379d18(0xea)](_0x230353,_0x24632e['iLSvb'])&&!_0x5e39f7[_0x24632e[_0x379d18(0x1df)]]&&(_0x5e39f7[_0x24632e[_0x379d18(0x1df)]]=_0x5e39f7[_0x24632e[_0x379d18(0x178)]]);if(_0x230353['match'](/HookRun/))[_0x5e39f7[_0x379d18(0x1a8)],_0x5e39f7[_0x379d18(0xfe)]]=_0x24632e[_0x379d18(0x1aa)](getHookDetails,_0x216812['fullTitle']()||_0x216812[_0x379d18(0x15f)]||_0x216812[_0x379d18(0x10c)]),_0x24632e[_0x379d18(0xea)](_0x230353,_0x24632e[_0x379d18(0x11f)])&&(_0x24632e[_0x379d18(0x19c)](_0x5e39f7['result'],_0x24632e[_0x379d18(0x1bc)])&&(_0x5e39f7[_0x379d18(0x195)]=_0x24632e[_0x379d18(0x1e8)]),_0x24632e[_0x379d18(0xea)](_0x5e39f7['hook_type'],_0x24632e[_0x379d18(0x159)])&&_0x24632e[_0x379d18(0xea)](_0x5e39f7[_0x379d18(0x195)],_0x24632e[_0x379d18(0x1bc)])&&!_0x216812['ctx']['currentTest'][_0x379d18(0x1d8)]&&(_0x216812['ctx'][_0x379d18(0xc5)]['markedStatus']=!![],_0x216812['ctx']['currentTest'][_0x379d18(0x165)]=STATE_FAILED,await this[_0x379d18(0x112)](_0x216812['ctx'][_0x379d18(0xc5)],undefined,!![])));else _0x230353[_0x379d18(0x173)](/TestRun/)&&_0x24632e[_0x379d18(0x1aa)](mapTestHooks,_0x216812);const _0xd47f6e=_0x5e39f7[_0x24632e[_0x379d18(0x122)]][0x0];_0xd47f6e&&(_0x5e39f7[_0x24632e['itwuj']]=_0xd47f6e[_0x24632e[_0x379d18(0x125)]],_0x5e39f7[_0x24632e[_0x379d18(0x117)]]=_0xd47f6e[_0x24632e[_0x379d18(0x1ec)]]);[_0x24632e[_0x379d18(0xde)],_0x24632e['iLSvb']][_0x379d18(0x13b)](_0x230353)&&(this[_0x379d18(0x17d)][_0x379d18(0x110)](_0x5e39f7),_0x5e39f7[_0x379d18(0x12d)]=_0x24632e[_0x379d18(0x1aa)](getHooksForTest,_0x216812));const _0x2daa08={'event_type':_0x24632e['RSrgy'](_0x230353,_0x24632e[_0x379d18(0x13a)])?_0x24632e[_0x379d18(0xde)]:_0x230353};_0x230353[_0x379d18(0x173)](/HookRun/)?(_0x5e39f7[_0x24632e[_0x379d18(0x189)]]=HOOK_TYPES_MAP[_0x5e39f7[_0x24632e[_0x379d18(0x189)]]],_0x2daa08[_0x24632e['qEnoh']]=_0x5e39f7):_0x2daa08[_0x24632e[_0x379d18(0x1d5)]]=_0x5e39f7,testhubUtils['setCurrentTestData'](FRAMEWORKS['MOCHA'],_0x2daa08),await SessionHandler[_0x379d18(0x12b)](_0x2daa08);}catch(_0xe80e43){_0x24632e['RUakO'](debug,_0x379d18(0x1bf)+_0x230353+'\x20with\x20error\x20:\x20'+_0xe80e43);}};[a27_0x1dddfa(0x16f)](_0x3e474){const _0x5ffa38=a27_0x1dddfa,_0x3b9191={};_0x3b9191[_0x5ffa38(0x1b1)]=function(_0x1b0c28,_0x235981){return _0x1b0c28===_0x235981;},_0x3b9191[_0x5ffa38(0xe9)]=function(_0x4b0a9e,_0x3feeaf){return _0x4b0a9e===_0x3feeaf;},_0x3b9191[_0x5ffa38(0x13d)]=function(_0x3d6aa1,_0xbae69c){return _0x3d6aa1===_0xbae69c;},_0x3b9191[_0x5ffa38(0xff)]=_0x5ffa38(0x127),_0x3b9191[_0x5ffa38(0x16c)]='config';const _0x30b5b8=_0x3b9191,_0x59d04b=path[_0x5ffa38(0x1b0)];if(_0x30b5b8[_0x5ffa38(0x1b1)](_0x3e474,null)||_0x30b5b8[_0x5ffa38(0xe9)](_0x3e474,'')||_0x30b5b8[_0x5ffa38(0xe9)](_0x3e474,_0x59d04b)||_0x30b5b8['Fqjlf'](_0x3e474,path[_0x5ffa38(0xd5)](_0x3e474)))return null;try{return fs['statSync'](path['join'](_0x3e474,_0x30b5b8[_0x5ffa38(0xff)],_0x30b5b8[_0x5ffa38(0x16c)])),_0x3e474;}catch(_0x52626a){const _0x192f3c=path[_0x5ffa38(0xd5)](_0x3e474);return this[_0x5ffa38(0x16f)](_0x192f3c);}}[a27_0x1dddfa(0xd6)]=async _0x172388=>{const _0x5a6798=a27_0x1dddfa,_0x23b330={'ixQlP':_0x5a6798(0x1a7),'LnrKU':function(_0x52687e,_0x50b9f1){return _0x52687e(_0x50b9f1);}};try{this['current_hook']&&!this[_0x5a6798(0xd9)][_0x5a6798(0x1d8)]&&(_0x172388['hook_run_uuid']=this[_0x5a6798(0xd9)][_0x5a6798(0xcd)]);!_0x172388[_0x5a6798(0x1cd)]&&this[_0x5a6798(0x100)]&&!this[_0x5a6798(0x100)][_0x5a6798(0x1d8)]&&(_0x172388['test_run_uuid']=this['current_test']['testAnalyticsId']);if(_0x172388['hook_run_uuid']||_0x172388[_0x5a6798(0xd4)]){const _0x3ff2a1={};_0x3ff2a1[_0x5a6798(0x1c5)]=_0x23b330[_0x5a6798(0xf8)],_0x3ff2a1[_0x5a6798(0x18b)]=[_0x172388],await SessionHandler[_0x5a6798(0x12b)](_0x3ff2a1);}}catch(_0x420c93){_0x23b330[_0x5a6798(0x163)](debug,_0x5a6798(0x167)+_0x420c93);}};[a27_0x1dddfa(0x1a1)]=async _0x30a094=>{const _0x3b14c0=a27_0x1dddfa,_0x2eefab={'JcuRU':_0x3b14c0(0x199),'OxtxB':'CBTSessionCreated','OYAWU':function(_0x26cb14,_0x4beaa3){return _0x26cb14(_0x4beaa3);}};try{const _0x37d75d={};_0x37d75d[_0x3b14c0(0x12c)]=_0x30a094['uuid']||this[_0x3b14c0(0x100)]['testAnalyticsId'],_0x37d75d[_0x3b14c0(0x1db)]=_0x30a094[_0x2eefab[_0x3b14c0(0x1c1)]];const _0x47dacc=_0x37d75d,_0x463b3a={};_0x463b3a[_0x3b14c0(0x1c5)]=_0x2eefab['OxtxB'],_0x463b3a[_0x3b14c0(0x146)]=_0x47dacc,await SessionHandler[_0x3b14c0(0x12b)](_0x463b3a);}catch(_0x53b9ab){_0x2eefab[_0x3b14c0(0x108)](debug,_0x3b14c0(0x14a)+_0x53b9ab);}};[a27_0x1dddfa(0x192)](_0x25cc30){const _0x1d02bd=a27_0x1dddfa,_0xcd9ca3={};_0xcd9ca3[_0x1d02bd(0x1cc)]=_0x1d02bd(0x1ad),_0xcd9ca3[_0x1d02bd(0x19d)]=_0x1d02bd(0x1b4),_0xcd9ca3[_0x1d02bd(0x1a6)]=_0x1d02bd(0x174);const _0x4870ba=_0xcd9ca3,_0x164aec={};return _0x164aec[STATE_PASSED]=_0x4870ba[_0x1d02bd(0x1cc)],_0x164aec[STATE_PENDING]=_0x4870ba[_0x1d02bd(0x19d)],_0x164aec[STATE_FAILED]=_0x4870ba[_0x1d02bd(0x1a6)],_0x164aec[_0x25cc30];}['scope'](_0x35cec6){const _0x4a3fb5=a27_0x1dddfa,_0x2f9454={};_0x2f9454[_0x4a3fb5(0x183)]=function(_0x2a31bf,_0x432886){return _0x2a31bf-_0x432886;};const _0x40f69a=_0x2f9454,_0x3bb3b6=_0x35cec6[_0x4a3fb5(0x18d)]();return _0x3bb3b6[_0x4a3fb5(0x162)](0x0,_0x40f69a[_0x4a3fb5(0x183)](_0x3bb3b6[_0x4a3fb5(0x113)],0x1))[_0x4a3fb5(0x116)]('\x20');}[a27_0x1dddfa(0x17a)](_0x2087f4){const _0x286567=a27_0x1dddfa,_0x2ffae9={};_0x2ffae9[_0x286567(0x14e)]=function(_0x524275,_0x3b1f4c){return _0x524275-_0x3b1f4c;};const _0x1cb3e8=_0x2ffae9,_0x374af7=_0x2087f4['titlePath']();return _0x374af7['slice'](0x0,_0x1cb3e8[_0x286567(0x14e)](_0x374af7['length'],0x1));}[a27_0x1dddfa(0x1c6)](_0x3837e6){const _0x4cc320=a27_0x1dddfa,_0x1b7f32={};_0x1b7f32[_0x4cc320(0xce)]=function(_0x8dab0c,_0x1a8516){return _0x8dab0c>_0x1a8516;};const _0x2a8a5d=_0x1b7f32;if(_0x3837e6['file'])return _0x3837e6['file'];if(_0x3837e6[_0x4cc320(0xf7)]){const _0x41588b=_0x3837e6[_0x4cc320(0xf7)][_0x4cc320(0xc5)]?this[_0x4cc320(0x1c6)](_0x3837e6[_0x4cc320(0xf7)][_0x4cc320(0xc5)]):null;if(_0x41588b)return _0x41588b;}if(_0x3837e6[_0x4cc320(0x182)]){const _0x36ed0e=this['getRootParentFile'](_0x3837e6['parent'])||(_0x3837e6['parent']['ctx']&&_0x3837e6[_0x4cc320(0x182)][_0x4cc320(0xf7)]['currentTest']?this[_0x4cc320(0x1c6)](_0x3837e6[_0x4cc320(0x182)][_0x4cc320(0xf7)][_0x4cc320(0xc5)]):null);if(_0x36ed0e)return _0x36ed0e;_0x3837e6[_0x4cc320(0x182)][_0x4cc320(0x1e2)]&&_0x2a8a5d['JFSqo'](_0x3837e6[_0x4cc320(0x182)][_0x4cc320(0x1e2)][_0x4cc320(0x113)],0x0)&&_0x3837e6[_0x4cc320(0x182)][_0x4cc320(0x1e2)]['forEach'](_0x33ee2b=>{const _0x575120=_0x4cc320,_0x30f5e2=_0x33ee2b['ctx']?this[_0x575120(0x1c6)](_0x33ee2b[_0x575120(0xf7)]):null;if(_0x30f5e2)return _0x30f5e2;});}return null;}}module[a27_0x1dddfa(0x180)]=MyReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a28_0x251caa=a28_0x3f7d;(function(_0xf80874,_0x4c0f09){const _0x3bb5c4=a28_0x3f7d,_0x3b3f07=_0xf80874();while(!![]){try{const _0x436184=-parseInt(_0x3bb5c4(0x1de))/0x1+parseInt(_0x3bb5c4(0x297))/0x2+parseInt(_0x3bb5c4(0x255))/0x3*(-parseInt(_0x3bb5c4(0x1cc))/0x4)+parseInt(_0x3bb5c4(0x24c))/0x5+-parseInt(_0x3bb5c4(0x282))/0x6+-parseInt(_0x3bb5c4(0x25e))/0x7*(parseInt(_0x3bb5c4(0x2a8))/0x8)+-parseInt(_0x3bb5c4(0x292))/0x9*(-parseInt(_0x3bb5c4(0x2b3))/0xa);if(_0x436184===_0x4c0f09)break;else _0x3b3f07['push'](_0x3b3f07['shift']());}catch(_0x11aca4){_0x3b3f07['push'](_0x3b3f07['shift']());}}}(a28_0x4194,0x8e87d));const chalk=require(a28_0x251caa(0x2ab)),logger=require(a28_0x251caa(0x2a5))[a28_0x251caa(0x298)],{default:BrowserStackSetup}=require(a28_0x251caa(0x1dd)),helper=require('../../helpers/helper'),utilities=require(a28_0x251caa(0x22e)),testOpsHelper=require(a28_0x251caa(0x231)),fs=require('fs'),os=require('os'),{parallelTestRun}=require('../test-runner'),{requireModule,nestedKeyValue}=require(a28_0x251caa(0x2b5)),{getPercyOptions}=require('../../helpers/percy/utils'),Base=requireModule(a28_0x251caa(0x27f)),collectFiles=requireModule(a28_0x251caa(0x25a)),constants=require(a28_0x251caa(0x23e));function tag(_0x1eed82,_0x119280,_0x46e3d8,_0x36233d){const _0x1870fd=a28_0x251caa,_0x61970b={'NDrVr':function(_0x30b905,_0x54b2e8){return _0x30b905+_0x54b2e8;},'QMlec':function(_0x3ddd50,_0x58ac9d){return _0x3ddd50+_0x58ac9d;},'fcptG':function(_0x260783,_0x119017){return _0x260783(_0x119017);},'xDJjw':function(_0x1ec955,_0x3a6095){return _0x1ec955+_0x3a6095;},'VsZIg':function(_0x4841cc,_0x517652){return _0x4841cc+_0x517652;},'ApkFS':function(_0xfe6bae,_0x1884f2){return _0xfe6bae+_0x1884f2;}},_0x210125=_0x46e3d8?'/>':'>',_0x2a84cf=[];let _0x9741b4;for(const _0x33f07e in _0x119280){Object['prototype'][_0x1870fd(0x293)][_0x1870fd(0x258)](_0x119280,_0x33f07e)&&_0x2a84cf[_0x1870fd(0x2ae)](_0x61970b[_0x1870fd(0x240)](_0x61970b[_0x1870fd(0x240)](_0x61970b[_0x1870fd(0x257)](_0x33f07e,'=\x22'),_0x61970b[_0x1870fd(0x1e9)](escape,_0x119280[_0x33f07e])),'\x22'));}return _0x9741b4=_0x61970b[_0x1870fd(0x257)](_0x61970b[_0x1870fd(0x20d)](_0x61970b[_0x1870fd(0x20d)]('<',_0x1eed82),_0x2a84cf[_0x1870fd(0x1d5)]?_0x61970b[_0x1870fd(0x257)]('\x20',_0x2a84cf[_0x1870fd(0x1d4)]('\x20')):''),_0x210125),_0x36233d&&(_0x9741b4+=_0x61970b[_0x1870fd(0x229)](_0x61970b['QMlec'](_0x61970b[_0x1870fd(0x1f0)](_0x36233d,'</'),_0x1eed82),_0x210125)),_0x9741b4;}let xunitContent='';function a28_0x4194(){const _0x2f9c03=['message','log','../../helpers/logger','xZhYu','iJejX','48VxRMhL','showDiff','PixBQ','chalk','iFqlA','bohvw','push','aICIq','testsFailed','finally','config','8479200XyesUX','VQbvW','../../helpers/helper','argv','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','keys','MOCHA','proxySettings','reporterOptions','eKIJH','titlePathV','GgMmR','WYBNs','SmEfr','rerunTests','testObservability','zXfvI','yasgv','accessibilityOptions','printBuildLink','1039692FuOAEi','Zltqq','kERpT','getPlatformName','Setting\x20non\x20exit\x20code\x20for\x20failures','logLevel','uNWfX','BuggQ','join','length','failure','writeFileSync','reporter','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','\x20failed','info','nBDYX','../../helpers/BrowserStackSetup','984246sRrUAq','oiElq','vTMVx','BROWSERSTACK_RERUN_TESTS','stack','Printing\x20stats\x20of\x20tests','AnQPU','shouldReRunObservabilityTests','CGGMl','DCfvQ','OeFMJ','fcptG','mzWBZ','includes','OEayc','platform','WOAzd','rmdirSync','ApkFS','Ttdpc','env','spec','\x20total','currentRetry','BROWSERSTACK_TEST_ACCESSIBILITY_YML','BUsDs','UkGJO','vqHtP','AVjZt','FEOSK','getErrorMessageFromResults','rZgdm','titlePath','WgBlC','json','yEJxV','debug','mocha','NSMjv','doc','RleIs','actual','alKmF','platforms','\x20platforms','testSuites','results','xDJjw','accessibility','unlinkSync','error\x20removing\x20tcg\x20config\x20file','size','getUserWorkerCount','object','Writing\x20xunit\x20result\x20to\x20file','Writing\x20json\x20result\x20to\x20file','WprXI','suiteName','getOwnPropertyNames','jJSxl','state','GPCmN','fullTitle','MdvmD','has','wsPvm','kbsdW','green','Total\x20Suites:\x20','testsPassed','Couldn\x27t\x20write\x20json\x20result\x20to','passes','speed','finalExecution','vWBHR','VsZIg','UggVS','badwk','yellow','Ssnmr','../../helpers/utilities','WfCJx','exports','../../helpers/test-observability/utils','xDHrY','rXMRQ','dSixD','sort','skipped','MRzqJ','Tests:\x20\x20\x20\x20\x20\x20\x20','GcQAn','isBrowserstackInfra','NQQlO','reporter-option','get','../utils/constants','Running\x20your\x20mocha\x20tests\x20across\x20','NDrVr','title','cliConfig','getHubUrl','min','isPending','forEach','bLUhF','PCnGR','MbFLY','then','rootHooks','4990695zlKIYx','cREoe','mjs','errorMessage','assign','bPHyP','Couldn\x27t\x20write\x20xunit\x20result\x20to','</testsuite>','kpUFI','9pSluuT','failed','QMlec','call','FBqOk','mocha/lib/cli/collect-files.js','YKpLC','error','PQkgF','6496revxkG','framework','nwRfM','mRhlj','expected','CzOxe','stringify','qKQjJ','\x20passed','FRAMEWORKS','digPd','testsuite','consoleLog','hideDiff','DNfjx','****\x20FAILURES\x20****','VYhEg','IfZwn','INBph','wCPtZ','JPUHg','duration','BROWSERSTACK_AUTOMATION','bold','useColors','list','fwdDk','\x0a\x0a\x0a','sTzlf','files','bgRedBright','smwfs','ogoDX','mocha/lib/reporters/base.js','aeUKI','qGeTQ','1429428hcMvRY','prepareCapabilities','isUndefined','mpQid','Total\x20Platforms:\x20','extension','FxwBZ','add','zVcyW','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','TjctT','SDKTestSuccessful','suite','parallelsPerPlatform','indexOf','qKrym','9fRDMvy','hasOwnProperty','xunit','BROWSERSTACK_TEST_OBSERVABILITY','exitCode','1491134HwsrOm','winstonLogger','isTestObservabilitySession','output','WVORH','testsPending','handleApp','setupTCGAuth','testcase','passed','parseFileNames','jTnoP'];a28_0x4194=function(){return _0x2f9c03;};return a28_0x4194();}function xunitWrite(_0x4b9703){xunitContent+=_0x4b9703;}function xunitTest(_0x42ea03,_0x3f0862){const _0x3b0c76=a28_0x251caa,_0x4a2dc9={'AnQPU':function(_0x11ae93,_0x10cd10){return _0x11ae93/_0x10cd10;},'XkwDg':function(_0x1e23bb,_0x27717b){return _0x1e23bb===_0x27717b;},'lKVhs':'failed','WOAzd':function(_0x384070,_0x25b3fe){return _0x384070+_0x25b3fe;},'MdvmD':function(_0x1de27f,_0x53af4f){return _0x1de27f(_0x53af4f);},'ZlJpb':function(_0x2062df,_0x6c9168,_0x434f00,_0x453790,_0x2256a7){return _0x2062df(_0x6c9168,_0x434f00,_0x453790,_0x2256a7);},'MRzqJ':_0x3b0c76(0x29f),'NSMjv':function(_0x2e7560,_0x5742c7,_0x9c26d0,_0xa6a63,_0x3c2da1){return _0x2e7560(_0x5742c7,_0x9c26d0,_0xa6a63,_0x3c2da1);},'VQbvW':_0x3b0c76(0x1d6),'dSixD':function(_0x1e3043,_0x55a62a){return _0x1e3043+_0x55a62a;},'GgMmR':function(_0x23f4bb,_0x399586){return _0x23f4bb+_0x399586;},'FBqOk':function(_0x933c58,_0x47a221){return _0x933c58(_0x47a221);},'zVcyW':function(_0x277f33,_0x1f9f01){return _0x277f33(_0x1f9f01);},'IfZwn':function(_0xef0c1,_0x1c8288){return _0xef0c1(_0x1c8288);},'wsPvm':function(_0x4c780a,_0x5d9c03,_0x1c062b,_0x490601,_0x32b120){return _0x4c780a(_0x5d9c03,_0x1c062b,_0x490601,_0x32b120);},'yEJxV':function(_0x516653,_0x4d2280,_0x5f2211,_0x3b3cc1){return _0x516653(_0x4d2280,_0x5f2211,_0x3b3cc1);},'jJSxl':_0x3b0c76(0x236),'xZhYu':function(_0xf8a9a0,_0x48f7d5){return _0xf8a9a0(_0x48f7d5);}};Base[_0x3b0c76(0x276)]=![];var _0x460031={'classname':_0x42ea03[_0x3b0c76(0x21c)],'name':_0x42ea03[_0x3b0c76(0x241)],'time':_0x4a2dc9[_0x3b0c76(0x1e4)](_0x42ea03[_0x3b0c76(0x273)],0x3e8)||0x0,'platform':_0x3f0862};if(_0x4a2dc9['XkwDg'](_0x42ea03[_0x3b0c76(0x21a)],_0x4a2dc9['lKVhs'])){var _0x373bf5=_0x42ea03['err'],_0x4a74ea=!Base[_0x3b0c76(0x26b)]&&Base[_0x3b0c76(0x2a9)](_0x373bf5)?_0x4a2dc9['WOAzd']('\x0a',Base['generateDiff'](_0x373bf5[_0x3b0c76(0x207)],_0x373bf5[_0x3b0c76(0x262)])):'';_0x4a2dc9[_0x3b0c76(0x21d)](xunitWrite,_0x4a2dc9['ZlJpb'](tag,_0x4a2dc9[_0x3b0c76(0x237)],_0x460031,![],_0x4a2dc9[_0x3b0c76(0x204)](tag,_0x4a2dc9[_0x3b0c76(0x2b4)],{},![],_0x4a2dc9[_0x3b0c76(0x1ee)](_0x4a2dc9[_0x3b0c76(0x234)](_0x4a2dc9[_0x3b0c76(0x2be)](_0x4a2dc9[_0x3b0c76(0x259)](escape,_0x373bf5[_0x3b0c76(0x2a3)]),_0x4a2dc9[_0x3b0c76(0x259)](escape,_0x4a74ea)),'\x0a'),_0x4a2dc9[_0x3b0c76(0x28a)](escape,_0x373bf5[_0x3b0c76(0x1e2)])))));}else _0x42ea03[_0x3b0c76(0x245)]?_0x4a2dc9[_0x3b0c76(0x26f)](xunitWrite,_0x4a2dc9[_0x3b0c76(0x21f)](tag,_0x4a2dc9[_0x3b0c76(0x237)],_0x460031,![],_0x4a2dc9[_0x3b0c76(0x201)](tag,_0x4a2dc9[_0x3b0c76(0x219)],{},!![]))):_0x4a2dc9[_0x3b0c76(0x2a6)](xunitWrite,_0x4a2dc9[_0x3b0c76(0x201)](tag,_0x4a2dc9[_0x3b0c76(0x237)],_0x460031,!![]));};function getStats(_0xddc98){const _0x26022a=a28_0x251caa,_0x54def9={};_0x54def9[_0x26022a(0x22f)]=_0x26022a(0x28e),_0x54def9[_0x26022a(0x278)]=_0x26022a(0x2a0),_0x54def9[_0x26022a(0x285)]=_0x26022a(0x256),_0x54def9[_0x26022a(0x268)]=_0x26022a(0x20c);const _0x11db5e=_0x54def9,_0x185ed9=Object[_0x26022a(0x2b8)](_0xddc98);let _0x3f2e8b=0x0,_0x2f18aa=0x0,_0x1437a5=0x0,_0x20b566=0x0;const _0x50384e=new Set();_0x185ed9[_0x26022a(0x246)](_0x84c71b=>{const _0x42e35a=_0x26022a,_0x44268f={};_0x44268f[_0x42e35a(0x22a)]=_0x11db5e['WfCJx'],_0x44268f[_0x42e35a(0x233)]=_0x11db5e[_0x42e35a(0x278)],_0x44268f[_0x42e35a(0x1e0)]=_0x11db5e['mpQid'];const _0x4d6e6e=_0x44268f;_0xddc98[_0x84c71b][_0x11db5e['digPd']]['forEach'](_0x517fd1=>{const _0xfe7651=_0x42e35a;_0x50384e[_0xfe7651(0x289)](_0x517fd1[_0x4d6e6e[_0xfe7651(0x22a)]]),_0x3f2e8b++;switch(_0x517fd1[_0xfe7651(0x21a)]){case _0x4d6e6e['rXMRQ']:_0x1437a5++;break;case _0x4d6e6e[_0xfe7651(0x1e0)]:_0x2f18aa++;break;default:_0x20b566++;}});});const _0x16b199={};return _0x16b199[_0x26022a(0x20b)]=_0x50384e[_0x26022a(0x211)],_0x16b199[_0x26022a(0x209)]=_0x185ed9,_0x16b199['totalTests']=_0x3f2e8b,_0x16b199['testsFailed']=_0x2f18aa,_0x16b199[_0x26022a(0x223)]=_0x1437a5,_0x16b199[_0x26022a(0x29c)]=_0x20b566,_0x16b199;}function errorJSON(_0x7f0b76){const _0x20873c=a28_0x251caa;var _0x16699f={};return Object[_0x20873c(0x218)](_0x7f0b76)[_0x20873c(0x246)](function(_0x4127af){_0x16699f[_0x4127af]=_0x7f0b76[_0x4127af];},_0x7f0b76),_0x16699f;}function a28_0x3f7d(_0x13bc25,_0x1aec4f){const _0x4194cc=a28_0x4194();return a28_0x3f7d=function(_0x3f7d2c,_0x1decb6){_0x3f7d2c=_0x3f7d2c-0x1cc;let _0x2e8d51=_0x4194cc[_0x3f7d2c];return _0x2e8d51;},a28_0x3f7d(_0x13bc25,_0x1aec4f);}function cleanCycles(_0x3ae557){const _0x3375c7=a28_0x251caa,_0x5ca11f={};_0x5ca11f['cREoe']=function(_0x50e37e,_0x23f4df){return _0x50e37e===_0x23f4df;},_0x5ca11f['CzOxe']=_0x3375c7(0x213),_0x5ca11f['PCnGR']=function(_0x21193a,_0x4c4b7f){return _0x21193a!==_0x4c4b7f;},_0x5ca11f[_0x3375c7(0x272)]=function(_0x207d98,_0x544e6b){return _0x207d98!==_0x544e6b;},_0x5ca11f[_0x3375c7(0x1d2)]=function(_0x16bc05,_0x36a44a){return _0x16bc05+_0x36a44a;};const _0x4832ff=_0x5ca11f;var _0x4662b8=[];return JSON['parse'](JSON[_0x3375c7(0x264)](_0x3ae557,function(_0x371286,_0x31064e){const _0x4d77cb=_0x3375c7;if(_0x4832ff[_0x4d77cb(0x24d)](typeof _0x31064e,_0x4832ff[_0x4d77cb(0x263)])&&_0x4832ff[_0x4d77cb(0x248)](_0x31064e,null)){if(_0x4832ff[_0x4d77cb(0x272)](_0x4662b8[_0x4d77cb(0x290)](_0x31064e),-0x1))return _0x4832ff['uNWfX']('',_0x31064e);_0x4662b8[_0x4d77cb(0x2ae)](_0x31064e);}return _0x31064e;}));}function clean(_0x57d8ae){const _0x122ea3=a28_0x251caa,_0x1e505a={'bohvw':function(_0x45b06d,_0x294ef9){return _0x45b06d instanceof _0x294ef9;},'CGGMl':function(_0x4fe7c8,_0x8c3c9a){return _0x4fe7c8(_0x8c3c9a);}};var _0x1e09d8=_0x57d8ae['err']||{};return _0x1e505a[_0x122ea3(0x2ad)](_0x1e09d8,Error)&&(_0x1e09d8=_0x1e505a['CGGMl'](errorJSON,_0x1e09d8)),{'title':_0x57d8ae['title'],'fullTitle':_0x57d8ae['fullTitle'],'file':_0x57d8ae['file'],'duration':_0x57d8ae['duration'],'currentRetry':_0x57d8ae[_0x122ea3(0x1f5)],'speed':_0x57d8ae[_0x122ea3(0x226)],'err':_0x1e505a[_0x122ea3(0x1e6)](cleanCycles,_0x1e09d8)};}function printStats(_0x5267bd,_0x42211b=a28_0x251caa(0x1f3),_0x4837db={}){const _0x20eab5=a28_0x251caa,_0x4e896d={'MbFLY':function(_0x46f1cc,_0x2971aa){return _0x46f1cc(_0x2971aa);},'Zltqq':function(_0x571e71,_0x100713){return _0x571e71===_0x100713;},'ogoDX':_0x20eab5(0x2a0),'oiElq':_0x20eab5(0x225),'badwk':function(_0x19c08b,_0x44f0d4){return _0x19c08b(_0x44f0d4);},'SmEfr':'failed','bPHyP':'failures','DNfjx':'pending','bLUhF':function(_0x576ae8,_0x3388b4){return _0x576ae8(_0x3388b4);},'iFqlA':_0x20eab5(0x20c),'UkGJO':function(_0x210746,_0x3223d5){return _0x210746*_0x3223d5;},'mzWBZ':function(_0x144868,_0x5b5df3,_0x25e6dd){return _0x144868(_0x5b5df3,_0x25e6dd);},'YKpLC':function(_0x390d16,_0x8e4677){return _0x390d16>_0x8e4677;},'WVORH':function(_0x1fa386){return _0x1fa386();},'YEEAb':_0x20eab5(0x205),'FEOSK':_0x20eab5(0x1d0),'INBph':_0x20eab5(0x1e3),'smwfs':function(_0x4eac19,_0x2815f3){return _0x4eac19+_0x2815f3;},'lUDpX':_0x20eab5(0x286),'WYBNs':_0x20eab5(0x222),'WprXI':function(_0x3621e0,_0x42622b){return _0x3621e0+_0x42622b;},'yasgv':_0x20eab5(0x238),'qeEex':function(_0x307e6d,_0x46e216){return _0x307e6d>_0x46e216;},'AVjZt':function(_0x31e01a,_0x234699){return _0x31e01a>_0x234699;},'TjctT':function(_0x27282c,_0x220912){return _0x27282c+_0x220912;},'vWBHR':function(_0x2e721c,_0xe693e1){return _0x2e721c+_0xe693e1;},'Ttdpc':function(_0x368a7f,_0x5ee90b){return _0x368a7f+_0x5ee90b;},'xDHrY':_0x20eab5(0x279),'Ssnmr':_0x20eab5(0x200),'wCPtZ':_0x20eab5(0x215),'qKQjJ':_0x20eab5(0x224),'PQkgF':_0x20eab5(0x2b7),'yETce':function(_0x4d918f,_0x2ebd99){return _0x4d918f===_0x2ebd99;},'zXfvI':_0x20eab5(0x294),'qGeTQ':'Mocha\x20Tests','rZgdm':function(_0x2a18a6,_0x2a7dcb){return _0x2a18a6||_0x2a7dcb;},'qKrym':function(_0x1b0d91,_0x474129,_0x56dfec,_0x1bded6){return _0x1b0d91(_0x474129,_0x56dfec,_0x1bded6);},'OeFMJ':_0x20eab5(0x269),'vqHtP':function(_0x4c24c8,_0x4d2a98){return _0x4c24c8-_0x4d2a98;},'eKIJH':function(_0x14bee0,_0x1de943){return _0x14bee0-_0x1de943;},'alKmF':function(_0x2c0be1,_0x35ffab){return _0x2c0be1/_0x35ffab;},'DCfvQ':_0x20eab5(0x253),'GcQAn':_0x20eab5(0x214),'osidE':_0x20eab5(0x252),'BuggQ':_0x20eab5(0x28b),'nBDYX':function(_0xc56f84,_0x65c898){return _0xc56f84===_0x65c898;},'kpUFI':'Listing\x20all\x20the\x20failures','iJejX':_0x20eab5(0x26d)};if(_0x4e896d['Zltqq'](_0x42211b,_0x4e896d['YEEAb']))return;const _0x300ae3=0x0,_0x566192=()=>{const _0x4ade6e=_0x20eab5;return _0x4e896d[_0x4ade6e(0x249)](Array,_0x300ae3)[_0x4ade6e(0x1d4)]('\x20\x20');},{testSuites:_0x491e89,platforms:_0x5790ed,totalTests:_0x1950de,testsFailed:_0x23374a,testsPassed:_0x4c7eb4,testsPending:_0x5d9fef}=_0x4e896d['badwk'](getStats,_0x5267bd);_0x4e896d[_0x20eab5(0x25b)](_0x23374a,0x0)&&(logger[_0x20eab5(0x202)](_0x4e896d[_0x20eab5(0x1fb)]),process[_0x20eab5(0x296)]=Math[_0x20eab5(0x244)](_0x23374a,0xff));logger[_0x20eab5(0x202)](_0x4e896d[_0x20eab5(0x270)]);const _0x21f65d=''+_0x4e896d[_0x20eab5(0x27d)](chalk['bold'](_0x4e896d['lUDpX']),_0x5790ed[_0x20eab5(0x1d5)]),_0x1b8cc5=''+_0x4e896d[_0x20eab5(0x27d)](chalk[_0x20eab5(0x275)](_0x4e896d[_0x20eab5(0x2bf)]),_0x491e89),_0x516806=''+_0x4e896d[_0x20eab5(0x216)](_0x4e896d[_0x20eab5(0x216)](_0x4e896d[_0x20eab5(0x27d)](chalk[_0x20eab5(0x275)](_0x4e896d[_0x20eab5(0x2c4)]),_0x4e896d[_0x20eab5(0x25b)](_0x23374a,0x0)?chalk[_0x20eab5(0x275)]['red'](_0x23374a+_0x20eab5(0x1da))+',\x20':''),_0x4e896d['qeEex'](_0x5d9fef,0x0)?chalk[_0x20eab5(0x275)][_0x20eab5(0x22c)](_0x5d9fef+'\x20skipped')+',\x20':''),_0x4e896d[_0x20eab5(0x1fa)](_0x4c7eb4,0x0)?chalk[_0x20eab5(0x275)][_0x20eab5(0x221)](_0x4c7eb4+_0x20eab5(0x266))+',\x20':'')+_0x1950de+_0x20eab5(0x1f4);console['log'](_0x4e896d[_0x20eab5(0x216)](_0x4e896d[_0x20eab5(0x28c)](_0x4e896d[_0x20eab5(0x28c)](_0x4e896d[_0x20eab5(0x228)](_0x4e896d[_0x20eab5(0x1f1)](_0x4e896d[_0x20eab5(0x232)],_0x21f65d),'\x0a'),_0x1b8cc5),'\x0a'),_0x516806));if(_0x4e896d[_0x20eab5(0x1cd)](_0x42211b,_0x4e896d[_0x20eab5(0x22d)])){const _0x2d5c66={},_0x4ce2a2={};_0x4ce2a2[_0x20eab5(0x20b)]=_0x491e89,_0x4ce2a2[_0x20eab5(0x209)]=_0x5790ed,_0x4ce2a2[_0x20eab5(0x2b0)]=_0x23374a,_0x4ce2a2[_0x20eab5(0x223)]=_0x4c7eb4,_0x4ce2a2[_0x20eab5(0x29c)]=_0x5d9fef,_0x2d5c66['stats']=_0x4ce2a2,_0x5790ed['forEach'](_0x14c974=>{const _0x24d009=_0x20eab5;_0x2d5c66[_0x14c974]={'pending':[],'failures':[],'passes':[],'tests':_0x5267bd[_0x14c974][_0x4e896d[_0x24d009(0x2ac)]]['map'](clean)},_0x5267bd[_0x14c974][_0x4e896d['iFqlA']]['forEach'](_0x245332=>{const _0x3bf29e=_0x24d009;if(_0x4e896d['Zltqq'](_0x245332[_0x3bf29e(0x21a)],_0x4e896d['ogoDX']))_0x2d5c66[_0x14c974][_0x4e896d[_0x3bf29e(0x1df)]]['push'](_0x4e896d[_0x3bf29e(0x22b)](clean,_0x245332));else _0x4e896d[_0x3bf29e(0x1cd)](_0x245332['state'],_0x4e896d[_0x3bf29e(0x2c0)])?_0x2d5c66[_0x14c974][_0x4e896d[_0x3bf29e(0x251)]][_0x3bf29e(0x2ae)](_0x4e896d[_0x3bf29e(0x22b)](clean,_0x245332)):_0x2d5c66[_0x14c974][_0x4e896d[_0x3bf29e(0x26c)]]['push'](_0x4e896d[_0x3bf29e(0x247)](clean,_0x245332));});});if(_0x4837db[_0x20eab5(0x29a)])try{logger[_0x20eab5(0x202)](_0x4e896d[_0x20eab5(0x271)],_0x4837db['output']),fs[_0x20eab5(0x1d7)](_0x4837db[_0x20eab5(0x29a)],JSON[_0x20eab5(0x264)](_0x2d5c66,null,0x3));}catch(_0x370e99){logger[_0x20eab5(0x25c)](_0x4e896d[_0x20eab5(0x265)],_0x4837db[_0x20eab5(0x29a)]),logger['debug'](_0x370e99);}else logger[_0x20eab5(0x202)](_0x4e896d[_0x20eab5(0x25d)]),console['log'](JSON[_0x20eab5(0x264)](_0x2d5c66,null,0x3));}else{if(_0x4e896d['yETce'](_0x42211b,_0x4e896d[_0x20eab5(0x2c3)])){let _0x31431d;const _0x3c9636=_0x4e896d[_0x20eab5(0x281)];_0x4837db&&(_0x31431d=_0x4837db[_0x20eab5(0x217)]);_0x31431d=_0x4e896d[_0x20eab5(0x1fd)](_0x31431d,_0x3c9636);let _0x188434=0x0,_0x2fb310=0x0,_0x2e517f=0x0,_0x597848=0x0;_0x5790ed['forEach'](_0x434e3f=>{const _0x207272=_0x20eab5;_0x5267bd[_0x434e3f][_0x4e896d['iFqlA']][_0x207272(0x246)](_0x2711a0=>{const _0x350cb4=_0x207272;if(_0x4e896d[_0x350cb4(0x1cd)](_0x2711a0[_0x350cb4(0x21a)],_0x4e896d[_0x350cb4(0x27e)]))_0x188434++;else _0x4e896d[_0x350cb4(0x1cd)](_0x2711a0[_0x350cb4(0x21a)],_0x4e896d[_0x350cb4(0x2c0)])&&_0x2fb310++;_0x2e517f++,_0x597848+=_0x4e896d[_0x350cb4(0x1f8)](_0x2711a0[_0x350cb4(0x273)],0x1);});}),_0x4e896d['badwk'](xunitWrite,_0x4e896d[_0x20eab5(0x291)](tag,_0x4e896d[_0x20eab5(0x1e8)],{'name':_0x31431d,'tests':_0x2e517f,'failures':0x0,'errors':_0x2fb310,'skipped':_0x4e896d[_0x20eab5(0x1f9)](_0x4e896d[_0x20eab5(0x2bc)](_0x2e517f,_0x2fb310),_0x188434),'timestamp':new Date()['toUTCString'](),'time':_0x4e896d[_0x20eab5(0x208)](_0x597848,0x3e8)||0x0},![])),_0x5790ed[_0x20eab5(0x246)](_0x36c3db=>{const _0x577e63=_0x20eab5,_0x202074={'lVvpq':function(_0x5131b8,_0x4d095e,_0x5323e6){const _0x3bbb45=a28_0x3f7d;return _0x4e896d[_0x3bbb45(0x1ea)](_0x5131b8,_0x4d095e,_0x5323e6);}};_0x5267bd[_0x36c3db][_0x4e896d['iFqlA']][_0x577e63(0x246)](_0x33b247=>{_0x202074['lVvpq'](xunitTest,_0x33b247,_0x36c3db);});}),_0x4e896d['bLUhF'](xunitWrite,_0x4e896d[_0x20eab5(0x1e7)]);if(_0x4837db['output'])try{logger[_0x20eab5(0x202)](_0x4e896d[_0x20eab5(0x239)],_0x4837db[_0x20eab5(0x29a)]),fs['writeFileSync'](_0x4837db['output'],xunitContent);}catch(_0x1cf1a7){logger[_0x20eab5(0x25c)](_0x4e896d['osidE'],_0x4837db[_0x20eab5(0x29a)]),logger[_0x20eab5(0x202)](_0x1cf1a7);}else logger[_0x20eab5(0x202)](_0x4e896d[_0x20eab5(0x1d3)]),console[_0x20eab5(0x2a4)](xunitContent);}else{if(_0x4e896d[_0x20eab5(0x1dc)](_0x23374a,0x0))return;console[_0x20eab5(0x2a4)](),logger[_0x20eab5(0x202)](_0x4e896d[_0x20eab5(0x254)]),console[_0x20eab5(0x2a4)](chalk['bold'][_0x20eab5(0x27c)](_0x4e896d[_0x20eab5(0x2a7)])),_0x5790ed[_0x20eab5(0x246)](_0x47bee4=>{const _0x21da9d=_0x20eab5,_0x1c4a47={'OEayc':function(_0x128579,_0x3a6765){const _0x311131=a28_0x3f7d;return _0x4e896d[_0x311131(0x1cd)](_0x128579,_0x3a6765);},'RleIs':_0x4e896d[_0x21da9d(0x2c0)]},_0x244294=[];_0x5267bd[_0x47bee4][_0x4e896d['iFqlA']][_0x21da9d(0x246)](_0x5bc239=>{const _0xc27f1a=_0x21da9d;_0x1c4a47[_0xc27f1a(0x1ec)](_0x5bc239['state'],_0x1c4a47[_0xc27f1a(0x206)])&&(_0x5bc239[_0xc27f1a(0x1fe)]=()=>_0x5bc239[_0xc27f1a(0x2bd)],_0x244294[_0xc27f1a(0x2ae)](_0x5bc239));}),_0x4e896d['YKpLC'](_0x244294[_0x21da9d(0x1d5)],0x0)&&(Base[_0x21da9d(0x26a)](),Base[_0x21da9d(0x26a)](_0x4e896d[_0x21da9d(0x29b)](_0x566192),chalk['bold']['bgBlueBright'](_0x47bee4)),Base[_0x21da9d(0x277)](_0x244294));});}}}async function run(_0x431473,_0x55bf6a){const _0x7dee2a=a28_0x251caa,_0x27efa4={'WgBlC':function(_0x4470d9,_0x4c1739,_0x261c18,_0xf71cba){return _0x4470d9(_0x4c1739,_0x261c18,_0xf71cba);},'PixBQ':_0x7dee2a(0x23c),'GPCmN':_0x7dee2a(0x210),'mRhlj':_0x7dee2a(0x28d),'NQQlO':function(_0x6c8ff0,_0x56b4f,_0x3e9033,_0x5e817d){return _0x6c8ff0(_0x56b4f,_0x3e9033,_0x5e817d);},'aeUKI':_0x7dee2a(0x203),'nxomB':'--disable-test-observability','jTnoP':'--disable-browserstack-automation','kbsdW':function(_0x8041e8,_0x5ecb8d){return _0x8041e8!=_0x5ecb8d;},'FxwBZ':'cjs','nwRfM':_0x7dee2a(0x24e),'kERpT':'test','GJPuw':_0x7dee2a(0x2c1),'sTzlf':function(_0x1eabad,_0x32a1c8){return _0x1eabad(_0x32a1c8);},'TPsHY':function(_0x47c147,_0x4a557d,_0x509fd0){return _0x47c147(_0x4a557d,_0x509fd0);},'aICIq':_0x7dee2a(0x27b),'BUsDs':'Running\x20your\x20mocha\x20tests','VYhEg':'Now,\x20showing\x20logs\x20from\x20mocha','MFmMn':function(_0x6bccf,_0x231980){return _0x6bccf*_0x231980;},'MmOnB':function(_0x5b0a98,_0x593998){return _0x5b0a98!==_0x593998;}};process[_0x7dee2a(0x2b6)]['includes'](_0x27efa4['nxomB'])&&(process[_0x7dee2a(0x1f2)][_0x7dee2a(0x295)]=![]);process[_0x7dee2a(0x2b6)][_0x7dee2a(0x1eb)](_0x27efa4[_0x7dee2a(0x2a2)])&&(process[_0x7dee2a(0x1f2)][_0x7dee2a(0x274)]=![]);const _0x5b6534=new BrowserStackSetup(_0x431473,_0x27efa4[_0x7dee2a(0x280)]);helper[_0x7dee2a(0x23a)]()?(await _0x5b6534['initialize'](),await helper[_0x7dee2a(0x29d)](_0x5b6534[_0x7dee2a(0x2b2)])):await _0x5b6534[_0x7dee2a(0x29e)]();const _0xafeed3=[];let _0x2e10cf=[];if(!_0x5b6534[_0x7dee2a(0x2b2)])return;_0x27efa4[_0x7dee2a(0x220)](_0x5b6534[_0x7dee2a(0x2b2)][_0x7dee2a(0x2c2)],null)&&(process[_0x7dee2a(0x1f2)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x5b6534[_0x7dee2a(0x2b2)][_0x7dee2a(0x2c2)]);!helper[_0x7dee2a(0x284)](_0x5b6534[_0x7dee2a(0x2b2)][_0x7dee2a(0x20e)])&&(process['env'][_0x7dee2a(0x1f6)]=_0x5b6534[_0x7dee2a(0x2b2)]['accessibility']);!helper[_0x7dee2a(0x284)](_0x5b6534[_0x7dee2a(0x2b2)][_0x7dee2a(0x2c5)])&&(process['env'][_0x7dee2a(0x1d9)]=JSON['stringify'](_0x5b6534[_0x7dee2a(0x2b2)][_0x7dee2a(0x2c5)]));const {extension:extension=['js',_0x27efa4[_0x7dee2a(0x288)],_0x27efa4[_0x7dee2a(0x260)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x27efa4[_0x7dee2a(0x1ce)]]}=_0x431473,_0x367870={..._0x431473};_0x367870[_0x7dee2a(0x24b)]=null;const _0x594ef7=_0x367870;let _0x3f1ea7;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x7dee2a(0x1e5)]()){let _0x3d3e7f=process[_0x7dee2a(0x1f2)][_0x7dee2a(0x1e1)];!helper['isUndefined'](_0x5b6534[_0x7dee2a(0x242)])&&_0x5b6534[_0x7dee2a(0x242)][_0x7dee2a(0x21e)](_0x27efa4['GJPuw'])&&(_0x3d3e7f=_0x5b6534['cliConfig'][_0x7dee2a(0x23d)](_0x27efa4['GJPuw'])),_0x3f1ea7=testOpsHelper[_0x7dee2a(0x2a1)](_0x3d3e7f);}if(helper['isUndefined'](_0x3f1ea7)){const _0x2e0be8={};_0x2e0be8['ignore']=ignore,_0x2e0be8[_0x7dee2a(0x287)]=extension,_0x2e0be8['file']=file,_0x2e0be8['recursive']=recursive,_0x2e0be8[_0x7dee2a(0x235)]=sort,_0x2e0be8['spec']=spec,_0x3f1ea7=_0x27efa4[_0x7dee2a(0x27a)](collectFiles,_0x2e0be8),_0x27efa4['TPsHY'](nestedKeyValue,_0x3f1ea7,[_0x27efa4[_0x7dee2a(0x2af)]])&&(_0x3f1ea7=_0x3f1ea7['files']);}helper['markSDKSetupComplete']();if(!helper[_0x7dee2a(0x23a)]()){const _0x5af18a=0x1,_0x2ba368={..._0x594ef7};_0x2ba368[_0x7dee2a(0x1f3)]=[..._0x3f1ea7],_0xafeed3['push']({'mochaOpts':_0x2ba368,'configuration':{'platform':os[_0x7dee2a(0x1ed)]()}}),logger[_0x7dee2a(0x1db)](_0x27efa4[_0x7dee2a(0x1f7)]),logger['info'](_0x27efa4[_0x7dee2a(0x26e)]),_0x27efa4['NQQlO'](parallelTestRun,_0xafeed3,_0x5af18a,_0x5b6534)[_0x7dee2a(0x24a)](_0x3c0116=>{const _0x52fcd0=_0x7dee2a;_0x27efa4[_0x52fcd0(0x1ff)](printStats,_0x3c0116,_0x431473['reporter'],_0x431473[_0x52fcd0(0x2bb)]||_0x431473[_0x27efa4[_0x52fcd0(0x2aa)]]);})['finally'](()=>{const _0xcfd064=_0x7dee2a;try{const {browserstackFolderPath:_0x2646ca,tcgConfigPath:_0x35299f}=helper['getTCGConfigFilePaths']();fs[_0xcfd064(0x20f)](_0x35299f),fs[_0xcfd064(0x1ef)](_0x2646ca);}catch(_0x575838){logger[_0xcfd064(0x202)](_0x27efa4[_0xcfd064(0x21b)],_0x575838);}try{utilities['fireFunnelTestEvent'](_0x27efa4[_0xcfd064(0x261)],{},_0x5b6534[_0xcfd064(0x2b2)],_0x5b6534[_0xcfd064(0x25f)]);}catch(_0x4ef101){logger[_0xcfd064(0x202)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x4ef101);}try{helper['notifyUpdate']();}catch(_0x3ea5a9){logger[_0xcfd064(0x202)]('Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20'+_0x3ea5a9);}testOpsHelper['printBuildLink']();});}else{const _0x1c834e=helper['useW3C'](_0x5b6534[_0x7dee2a(0x2b2)]),_0x55661a=helper[_0x7dee2a(0x243)](_0x5b6534[_0x7dee2a(0x2b2)]);_0x2e10cf=helper[_0x7dee2a(0x283)](_0x5b6534[_0x7dee2a(0x2b2)],_0x1c834e,constants[_0x7dee2a(0x267)][_0x7dee2a(0x2b9)]);let _0x5d264e;const _0x5ee8f6=_0x5b6534[_0x7dee2a(0x2b2)][_0x7dee2a(0x28f)]||helper[_0x7dee2a(0x212)](_0x431473,_0x55bf6a,_0x5b6534[_0x7dee2a(0x2b2)],constants[_0x7dee2a(0x267)][_0x7dee2a(0x2b9)])||0x1;helper['validPlatformsPresent'](_0x5b6534[_0x7dee2a(0x2b2)])?_0x5d264e=_0x27efa4['MFmMn'](_0x5b6534[_0x7dee2a(0x2b2)][_0x7dee2a(0x209)][_0x7dee2a(0x1d5)],_0x5ee8f6):_0x5d264e=_0x5ee8f6;const _0x3d5d7a=_0x27efa4[_0x7dee2a(0x27a)](getPercyOptions,_0x5b6534[_0x7dee2a(0x2b2)]);if(_0x27efa4['MmOnB'](_0x5b6534[_0x7dee2a(0x2b2)]['parallelsPerPlatform'],0x1))_0x3f1ea7[_0x7dee2a(0x246)](_0x1da57f=>{const _0x165f93=_0x7dee2a,_0x46012c=[];_0x2e10cf['forEach']((_0x547e1c,_0x928ecd)=>{const _0x49bee2=a28_0x3f7d,_0x233c65={};_0x233c65[_0x49bee2(0x1f3)]=[_0x1da57f],_0x46012c['push']({'mochaOpts':Object['assign']({},_0x594ef7,_0x233c65),'configuration':{'server':_0x55661a,'capability':_0x547e1c,'proxySettings':_0x5b6534[_0x49bee2(0x2b2)][_0x49bee2(0x2ba)],'platform':helper[_0x49bee2(0x1cf)](_0x547e1c),'browserStackLogLevel':_0x5b6534[_0x49bee2(0x2b2)][_0x49bee2(0x1d1)],'platformIndex':_0x928ecd,'browserStackPercyOptions':_0x3d5d7a,'platformCaps':_0x5b6534[_0x49bee2(0x2b2)][_0x49bee2(0x209)][_0x928ecd]}});}),_0xafeed3[_0x165f93(0x2ae)](..._0x46012c);});else{const _0x4ac581=[];_0x2e10cf[_0x7dee2a(0x246)]((_0x205ad7,_0x223c84)=>{const _0x17df80=_0x7dee2a;let _0x259565=Object[_0x17df80(0x250)]({},_0x594ef7);testOpsHelper[_0x17df80(0x299)]()&&testOpsHelper['shouldReRunObservabilityTests']()&&(_0x259565={..._0x259565,'spec':[..._0x3f1ea7]}),_0x4ac581['push']({'mochaOpts':_0x259565,'configuration':{'server':_0x55661a,'capability':_0x205ad7,'proxySettings':_0x5b6534[_0x17df80(0x2b2)][_0x17df80(0x2ba)],'platform':helper['getPlatformName'](_0x205ad7),'browserStackLogLevel':_0x5b6534['config'][_0x17df80(0x1d1)],'platformIndex':_0x223c84,'browserStackPercyOptions':_0x3d5d7a,'platformCaps':_0x5b6534[_0x17df80(0x2b2)]['platforms'][_0x223c84]}});}),_0xafeed3[_0x7dee2a(0x2ae)](..._0x4ac581);}logger[_0x7dee2a(0x1db)](_0x7dee2a(0x23f)+_0x5b6534[_0x7dee2a(0x2b2)][_0x7dee2a(0x209)]['length']+_0x7dee2a(0x20a)),logger['info'](_0x27efa4['VYhEg']);let _0x157003;_0x27efa4[_0x7dee2a(0x1ff)](parallelTestRun,_0xafeed3,_0x5d264e,_0x5b6534)[_0x7dee2a(0x24a)](_0x5c6f1e=>{const _0x57261e=_0x7dee2a;_0x157003=_0x5c6f1e,_0x27efa4[_0x57261e(0x23b)](printStats,_0x5c6f1e,_0x431473[_0x57261e(0x1d8)],_0x431473[_0x57261e(0x2bb)]||_0x431473[_0x27efa4[_0x57261e(0x2aa)]]);})[_0x7dee2a(0x2b1)](async()=>{const _0x840d9e=_0x7dee2a;_0x5b6534[_0x840d9e(0x24f)]=helper[_0x840d9e(0x1fc)](_0x157003,_0x27efa4[_0x840d9e(0x280)]),await utilities[_0x840d9e(0x227)](_0x5b6534),testOpsHelper[_0x840d9e(0x2c6)]();});}}module[a28_0x251caa(0x230)]=run;
2
+ 'use strict';const a28_0x51f72a=a28_0x4c54;function a28_0x4c54(_0x55a2cd,_0x3fe71e){const _0x4bd19b=a28_0x4bd1();return a28_0x4c54=function(_0x4c5485,_0x1cf5cb){_0x4c5485=_0x4c5485-0x1b2;let _0x15080b=_0x4bd19b[_0x4c5485];return _0x15080b;},a28_0x4c54(_0x55a2cd,_0x3fe71e);}(function(_0x164f58,_0x33bbf6){const _0x3a4d33=a28_0x4c54,_0x57ded6=_0x164f58();while(!![]){try{const _0x5333cc=-parseInt(_0x3a4d33(0x221))/0x1*(parseInt(_0x3a4d33(0x1ea))/0x2)+-parseInt(_0x3a4d33(0x29c))/0x3*(parseInt(_0x3a4d33(0x1be))/0x4)+-parseInt(_0x3a4d33(0x296))/0x5*(-parseInt(_0x3a4d33(0x240))/0x6)+parseInt(_0x3a4d33(0x288))/0x7*(-parseInt(_0x3a4d33(0x273))/0x8)+-parseInt(_0x3a4d33(0x1d2))/0x9*(-parseInt(_0x3a4d33(0x1f2))/0xa)+-parseInt(_0x3a4d33(0x244))/0xb*(-parseInt(_0x3a4d33(0x29a))/0xc)+parseInt(_0x3a4d33(0x1c9))/0xd*(-parseInt(_0x3a4d33(0x295))/0xe);if(_0x5333cc===_0x33bbf6)break;else _0x57ded6['push'](_0x57ded6['shift']());}catch(_0x56d422){_0x57ded6['push'](_0x57ded6['shift']());}}}(a28_0x4bd1,0xa8f20));const chalk=require(a28_0x51f72a(0x2ac)),logger=require(a28_0x51f72a(0x21e))[a28_0x51f72a(0x275)],{default:BrowserStackSetup}=require(a28_0x51f72a(0x26b)),helper=require(a28_0x51f72a(0x27a)),utilities=require(a28_0x51f72a(0x245)),testOpsHelper=require(a28_0x51f72a(0x289)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x51f72a(0x28e)),{requireModule,nestedKeyValue}=require(a28_0x51f72a(0x27a)),{getPercyOptions}=require(a28_0x51f72a(0x1e8)),Base=requireModule(a28_0x51f72a(0x278)),collectFiles=requireModule(a28_0x51f72a(0x1e2)),constants=require(a28_0x51f72a(0x1e4));function a28_0x4bd1(){const _0x1c5641=['IBfrR','file','qWWAZ','assign','rMkdj','WIZBc','YBEAm','then','generateDiff','UbzuC','config','YugFY','CxMub','Writing\x20xunit\x20result\x20to\x20file','aDUhJ','proxySettings','NsUok','RHokL','UhThA','114duBckB','parse','kybAm','bgBlueBright','657833yZcXMs','../../helpers/utilities','WMHQk','--disable-test-observability','anCzf','icelw','Couldn\x27t\x20write\x20json\x20result\x20to','dfpAe','YqPav','cliConfig','Listing\x20all\x20the\x20failures','boKQq','state','\x0a\x0a\x0a','BROWSERSTACK_RERUN_TESTS','\x20failed','WoTfZ','MHWmR','add','mjs','KTbZd','length','VfiHX','YAYch','fwyQG','uxFYC','output','Hipme','cjs','oAxjH','aApXN','hideDiff','testObservability','get','setupTCGAuth','exports','MOCHA','keys','sort','../../helpers/BrowserStackSetup','--disable-browserstack-automation','Kozle','nTQug','kzepo','pending','call','gJwoN','13256VqHZxa','ahbet','winstonLogger','xypMB','writeFileSync','mocha/lib/reporters/base.js','push','../../helpers/helper','CxdbR','isTestObservabilitySession','bgRedBright','isBrowserstackInfra','rootHooks','map','iBXQr','Couldn\x27t\x20write\x20xunit\x20result\x20to','feqGl','xRMqE','AHduN','title','CTlgE','2569nwnjEk','../../helpers/test-observability/utils','AwnUq','DKywN','red','XGWvX','../test-runner','mglol','hasOwnProperty','getOwnPropertyNames','notifyUpdate','message','BROWSERSTACK_TEST_ACCESSIBILITY_YML','5474zKmkXB','309890OcanIE','cLpTc','jcDxi','failed','228bVyqne','FTBeG','3hVjgqG','shouldReRunObservabilityTests','min','fullTitle','initialize','testsuite','RhSCv','suYIp','platforms','eobuN','dxGxP','ignore','JWqFW','prepareCapabilities','unlinkSync','validPlatformsPresent','chalk','eEJTl','extension','CMbnA','uVDNu','markSDKSetupComplete','\x20skipped','log','reporter-option','prototype','getUserWorkerCount','logLevel','getErrorMessageFromResults','2278292AgpcOM','env','YDbgJ','isUndefined','lzuMR','reporterOptions','xunit','yAoUm','stringify','reporter','vtUyJ','35789zJHfqy','yFqNj','info','VNAiz','Total\x20Suites:\x20','oyVzc','rerunTests','expected','platform','3282453qTmpWu','dVIIy','aeHNk','hdwCO','list','files','xKIKH','failure','consoleLog','IPDge','eAXyK','join','parallelsPerPlatform','qCuPZ','BROWSERSTACK_TEST_OBSERVABILITY_YML','argv','mocha/lib/cli/collect-files.js','debug','../utils/constants','testSuites','WWfgm','accessibilityOptions','../../helpers/percy/utils','BROWSERSTACK_TEST_OBSERVABILITY','6tbAHzk','OHGLw','duration','indexOf','****\x20FAILURES\x20****','rwxcT','skipped','RObHv','20WotfVd','Total\x20Platforms:\x20','stats','Writing\x20json\x20result\x20to\x20file','ehuWA','passes','fireFunnelTestEvent','AaLPm','forEach','testsFailed','printBuildLink','suite','testsPassed','finally','testcase','includes','useW3C','zUpal','parseFileNames','error\x20removing\x20tcg\x20config\x20file','eQfQl','SqjoJ','passed','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','currentRetry','FRAMEWORKS','GSlfx','ajQbS','getTCGConfigFilePaths','size','yellow','gixSN','error','OMnby','framework','showDiff','isPending','WzYpT','JgbHp','titlePath','aZxne','finalExecution','Mocha\x20Tests','FRcNq','../../helpers/logger','DYxAu','totalTests','32386BOvQmW','spec','xprBN','titlePathV','Tests:\x20\x20\x20\x20\x20\x20\x20','SfjJP','msnQB','getPlatformName','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','vwtDm','bold','doc'];a28_0x4bd1=function(){return _0x1c5641;};return a28_0x4bd1();}function tag(_0x5dc046,_0x532685,_0x2962ba,_0x8e8a20){const _0x2efe8f=a28_0x51f72a,_0x46da2d={'SfjJP':function(_0x33d2f8,_0x481204){return _0x33d2f8+_0x481204;},'xypMB':function(_0x501a79,_0x57d6f6){return _0x501a79+_0x57d6f6;},'YDbgJ':function(_0x266d3e,_0x5664d6){return _0x266d3e+_0x5664d6;},'cgHyQ':function(_0x9a7602,_0x22ad48){return _0x9a7602(_0x22ad48);},'WIZBc':function(_0x21edd0,_0x4091a8){return _0x21edd0+_0x4091a8;},'GSlfx':function(_0x70290a,_0x31c882){return _0x70290a+_0x31c882;},'CxdbR':function(_0xed2e33,_0x4bf4ff){return _0xed2e33+_0x4bf4ff;},'ahbet':function(_0x4ed1bc,_0x266f9e){return _0x4ed1bc+_0x266f9e;}},_0x4adb33=_0x2962ba?'/>':'>',_0x4aa345=[];let _0x42f60f;for(const _0x437822 in _0x532685){Object[_0x2efe8f(0x1ba)][_0x2efe8f(0x290)][_0x2efe8f(0x271)](_0x532685,_0x437822)&&_0x4aa345[_0x2efe8f(0x279)](_0x46da2d[_0x2efe8f(0x226)](_0x46da2d[_0x2efe8f(0x276)](_0x46da2d[_0x2efe8f(0x1c0)](_0x437822,'=\x22'),_0x46da2d['cgHyQ'](escape,_0x532685[_0x437822])),'\x22'));}return _0x42f60f=_0x46da2d[_0x2efe8f(0x232)](_0x46da2d[_0x2efe8f(0x20c)](_0x46da2d[_0x2efe8f(0x27b)]('<',_0x5dc046),_0x4aa345[_0x2efe8f(0x259)]?_0x46da2d[_0x2efe8f(0x27b)]('\x20',_0x4aa345[_0x2efe8f(0x1dd)]('\x20')):''),_0x4adb33),_0x8e8a20&&(_0x42f60f+=_0x46da2d['SfjJP'](_0x46da2d[_0x2efe8f(0x20c)](_0x46da2d[_0x2efe8f(0x274)](_0x8e8a20,'</'),_0x5dc046),_0x4adb33)),_0x42f60f;}let xunitContent='';function xunitWrite(_0x174328){xunitContent+=_0x174328;}function xunitTest(_0x45f362,_0x59f036){const _0x4b207f=a28_0x51f72a,_0x5148d7={'Cdvzz':function(_0x518480,_0x20bf44){return _0x518480/_0x20bf44;},'cLpTc':function(_0x2d3c43,_0x9e52c4){return _0x2d3c43===_0x9e52c4;},'YugFY':'failed','OHGLw':function(_0x5f48e7,_0x36ae2c){return _0x5f48e7+_0x36ae2c;},'YqPav':function(_0x4f9af3,_0x459363){return _0x4f9af3(_0x459363);},'UhThA':function(_0x2d91db,_0x3b3688,_0x24b5a4,_0x141ea7,_0x2079f9){return _0x2d91db(_0x3b3688,_0x24b5a4,_0x141ea7,_0x2079f9);},'boKQq':_0x4b207f(0x200),'Omtud':_0x4b207f(0x1d9),'msnQB':function(_0x326638,_0x232c65){return _0x326638+_0x232c65;},'qCuPZ':function(_0x260c82,_0x536014){return _0x260c82+_0x536014;},'ehuWA':function(_0x50495e,_0x1c7e0d){return _0x50495e+_0x1c7e0d;},'DYxAu':function(_0xefafeb,_0x44a70f){return _0xefafeb(_0x44a70f);},'oAxjH':function(_0x1bfe5d,_0x5b0c45){return _0x1bfe5d(_0x5b0c45);},'jcDxi':function(_0x2fde7e,_0x2dd5c3,_0x516514,_0xd1dc57){return _0x2fde7e(_0x2dd5c3,_0x516514,_0xd1dc57);},'dxGxP':_0x4b207f(0x1f0),'xRMqE':function(_0x1a221c,_0xbcdd72){return _0x1a221c(_0xbcdd72);},'iajse':function(_0x50fbdf,_0x24e66c,_0x1626f1,_0x17f790){return _0x50fbdf(_0x24e66c,_0x1626f1,_0x17f790);}};Base['useColors']=![];var _0x20c882={'classname':_0x45f362[_0x4b207f(0x29f)],'name':_0x45f362[_0x4b207f(0x286)],'time':_0x5148d7['Cdvzz'](_0x45f362[_0x4b207f(0x1ec)],0x3e8)||0x0,'platform':_0x59f036};if(_0x5148d7[_0x4b207f(0x297)](_0x45f362['state'],_0x5148d7[_0x4b207f(0x238)])){var _0x50947c=_0x45f362['err'],_0x2eeaca=!Base[_0x4b207f(0x263)]&&Base[_0x4b207f(0x215)](_0x50947c)?_0x5148d7[_0x4b207f(0x1eb)]('\x0a',Base[_0x4b207f(0x235)](_0x50947c['actual'],_0x50947c[_0x4b207f(0x1d0)])):'';_0x5148d7[_0x4b207f(0x24c)](xunitWrite,_0x5148d7['UhThA'](tag,_0x5148d7[_0x4b207f(0x24f)],_0x20c882,![],_0x5148d7[_0x4b207f(0x23f)](tag,_0x5148d7['Omtud'],{},![],_0x5148d7[_0x4b207f(0x227)](_0x5148d7[_0x4b207f(0x1df)](_0x5148d7[_0x4b207f(0x1f6)](_0x5148d7[_0x4b207f(0x24c)](escape,_0x50947c[_0x4b207f(0x293)]),_0x5148d7[_0x4b207f(0x21f)](escape,_0x2eeaca)),'\x0a'),_0x5148d7[_0x4b207f(0x21f)](escape,_0x50947c['stack'])))));}else _0x45f362[_0x4b207f(0x216)]?_0x5148d7[_0x4b207f(0x261)](xunitWrite,_0x5148d7['UhThA'](tag,_0x5148d7[_0x4b207f(0x24f)],_0x20c882,![],_0x5148d7[_0x4b207f(0x298)](tag,_0x5148d7[_0x4b207f(0x2a6)],{},!![]))):_0x5148d7[_0x4b207f(0x284)](xunitWrite,_0x5148d7['iajse'](tag,_0x5148d7[_0x4b207f(0x24f)],_0x20c882,!![]));};function getStats(_0xe5f715){const _0x1bcd06=a28_0x51f72a,_0x32b1f2={};_0x32b1f2[_0x1bcd06(0x1f1)]=_0x1bcd06(0x1fd),_0x32b1f2['eobuN']=_0x1bcd06(0x208),_0x32b1f2[_0x1bcd06(0x25a)]=_0x1bcd06(0x299),_0x32b1f2['NsUok']='results';const _0xb959b2=_0x32b1f2,_0x35cf10=Object[_0x1bcd06(0x269)](_0xe5f715);let _0x1691b1=0x0,_0x3e000a=0x0,_0x223c2b=0x0,_0x1faa05=0x0;const _0x52e824=new Set();_0x35cf10[_0x1bcd06(0x1fa)](_0x409e54=>{const _0x142410=_0x1bcd06;_0xe5f715[_0x409e54][_0xb959b2[_0x142410(0x23d)]][_0x142410(0x1fa)](_0x45ccff=>{const _0x1b18b4=_0x142410;_0x52e824[_0x1b18b4(0x256)](_0x45ccff[_0xb959b2[_0x1b18b4(0x1f1)]]),_0x1691b1++;switch(_0x45ccff['state']){case _0xb959b2[_0x1b18b4(0x2a5)]:_0x223c2b++;break;case _0xb959b2[_0x1b18b4(0x25a)]:_0x3e000a++;break;default:_0x1faa05++;}});});const _0x27daed={};return _0x27daed[_0x1bcd06(0x1e5)]=_0x52e824[_0x1bcd06(0x20f)],_0x27daed['platforms']=_0x35cf10,_0x27daed[_0x1bcd06(0x220)]=_0x1691b1,_0x27daed['testsFailed']=_0x3e000a,_0x27daed[_0x1bcd06(0x1fe)]=_0x223c2b,_0x27daed['testsPending']=_0x1faa05,_0x27daed;}function errorJSON(_0x438ab5){const _0x1a1a38=a28_0x51f72a;var _0xf3f33c={};return Object[_0x1a1a38(0x291)](_0x438ab5)[_0x1a1a38(0x1fa)](function(_0xeaa0c0){_0xf3f33c[_0xeaa0c0]=_0x438ab5[_0xeaa0c0];},_0x438ab5),_0xf3f33c;}function cleanCycles(_0x529770){const _0x3ccfa6=a28_0x51f72a,_0x5f5988={};_0x5f5988['IpZJv']=function(_0x55aeb2,_0x33de82){return _0x55aeb2===_0x33de82;},_0x5f5988[_0x3ccfa6(0x233)]='object',_0x5f5988[_0x3ccfa6(0x28a)]=function(_0x594112,_0x1cca94){return _0x594112!==_0x1cca94;},_0x5f5988[_0x3ccfa6(0x239)]=function(_0x4850a3,_0x1e772e){return _0x4850a3!==_0x1e772e;},_0x5f5988['agNhx']=function(_0x1d315d,_0x50db4e){return _0x1d315d+_0x50db4e;};const _0x163a6b=_0x5f5988;var _0x3456db=[];return JSON[_0x3ccfa6(0x241)](JSON['stringify'](_0x529770,function(_0x33f573,_0x23d048){const _0x48cbbe=_0x3ccfa6;if(_0x163a6b['IpZJv'](typeof _0x23d048,_0x163a6b[_0x48cbbe(0x233)])&&_0x163a6b[_0x48cbbe(0x28a)](_0x23d048,null)){if(_0x163a6b[_0x48cbbe(0x239)](_0x3456db[_0x48cbbe(0x1ed)](_0x23d048),-0x1))return _0x163a6b['agNhx']('',_0x23d048);_0x3456db[_0x48cbbe(0x279)](_0x23d048);}return _0x23d048;}));}function clean(_0xad7c6b){const _0x1f11be=a28_0x51f72a,_0x2b34fb={'rMkdj':function(_0x6a456a,_0x170018){return _0x6a456a instanceof _0x170018;},'ajQbS':function(_0x44f4e7,_0x499dac){return _0x44f4e7(_0x499dac);},'YAYch':function(_0x583b02,_0x2e817d){return _0x583b02(_0x2e817d);}};var _0x3db3b2=_0xad7c6b['err']||{};return _0x2b34fb[_0x1f11be(0x231)](_0x3db3b2,Error)&&(_0x3db3b2=_0x2b34fb[_0x1f11be(0x20d)](errorJSON,_0x3db3b2)),{'title':_0xad7c6b[_0x1f11be(0x286)],'fullTitle':_0xad7c6b[_0x1f11be(0x29f)],'file':_0xad7c6b['file'],'duration':_0xad7c6b[_0x1f11be(0x1ec)],'currentRetry':_0xad7c6b[_0x1f11be(0x20a)],'speed':_0xad7c6b['speed'],'err':_0x2b34fb[_0x1f11be(0x25b)](cleanCycles,_0x3db3b2)};}function printStats(_0x305931,_0x1185a7=a28_0x51f72a(0x222),_0x566158={}){const _0x5de72c=a28_0x51f72a,_0x466d60={'MgfdD':function(_0x18fc31,_0xc7914f){return _0x18fc31(_0xc7914f);},'iBXQr':function(_0x4cdb52,_0x46e34f){return _0x4cdb52===_0x46e34f;},'kybAm':_0x5de72c(0x208),'IyWbM':_0x5de72c(0x1f7),'WMHQk':function(_0x319a90,_0x26194c){return _0x319a90(_0x26194c);},'FTBeG':function(_0x4095a1,_0x3ba1f1){return _0x4095a1===_0x3ba1f1;},'XGWvX':'failed','XUtra':'failures','lzuMR':function(_0x16dcb2,_0xf9841){return _0x16dcb2(_0xf9841);},'suYIp':_0x5de72c(0x270),'aApXN':'results','icelw':function(_0x511312,_0x5500a5){return _0x511312===_0x5500a5;},'SqjoJ':function(_0x58c066,_0x1ee47a){return _0x58c066*_0x1ee47a;},'eAXyK':function(_0x2f227b,_0xb3a984,_0x774e9){return _0x2f227b(_0xb3a984,_0x774e9);},'JWqFW':function(_0x41b805,_0x1dc0a3){return _0x41b805>_0x1dc0a3;},'CTlgE':function(_0x428c6c){return _0x428c6c();},'fwyQG':_0x5de72c(0x22c),'CCRBm':function(_0x446c83,_0x369099){return _0x446c83(_0x369099);},'fPRdJ':'Setting\x20non\x20exit\x20code\x20for\x20failures','MHWmR':'Printing\x20stats\x20of\x20tests','RhSCv':function(_0x2a0d3d,_0x827c8b){return _0x2a0d3d+_0x827c8b;},'vtUyJ':_0x5de72c(0x1f3),'FRcNq':_0x5de72c(0x1cd),'nTQug':function(_0x17b201,_0x5dc668){return _0x17b201+_0x5dc668;},'jgwyV':_0x5de72c(0x225),'JgbHp':function(_0x2ddf04,_0x342ec6){return _0x2ddf04>_0x342ec6;},'uxFYC':function(_0xb87cd0,_0x15ec0a){return _0xb87cd0+_0x15ec0a;},'UbzuC':function(_0x4f6d77,_0x23547c){return _0x4f6d77+_0x23547c;},'mzANw':function(_0x31d61a,_0x573c3f){return _0x31d61a+_0x573c3f;},'Kozle':_0x5de72c(0x251),'dPgAA':'json','KTbZd':_0x5de72c(0x1f5),'gixSN':_0x5de72c(0x24a),'aZxne':_0x5de72c(0x229),'IBfrR':function(_0x241370,_0xc2ae3b){return _0x241370===_0xc2ae3b;},'ooZZP':_0x5de72c(0x1c4),'hdwCO':_0x5de72c(0x21c),'Hipme':function(_0x430325,_0x262cec){return _0x430325||_0x262cec;},'feqGl':function(_0xa44f3e,_0x29bac4){return _0xa44f3e(_0x29bac4);},'kzepo':function(_0x785fc0,_0x5645c1,_0x5700cc,_0x232ae0){return _0x785fc0(_0x5645c1,_0x5700cc,_0x232ae0);},'eEJTl':_0x5de72c(0x2a1),'qWWAZ':function(_0x602fe3,_0x56805d){return _0x602fe3-_0x56805d;},'WzYpT':function(_0xd96abc,_0x3766c9){return _0xd96abc/_0x3766c9;},'WWfgm':function(_0x320efa,_0x11ac26){return _0x320efa(_0x11ac26);},'DKywN':'</testsuite>','yAoUm':_0x5de72c(0x23a),'WoTfZ':_0x5de72c(0x282),'IgdHO':_0x5de72c(0x209),'Ktstx':_0x5de72c(0x24e),'zUpal':_0x5de72c(0x1ee)};if(_0x466d60[_0x5de72c(0x281)](_0x1185a7,_0x466d60[_0x5de72c(0x25c)]))return;const _0x30d489=0x0,_0x5838c8=()=>{const _0x4689ef=_0x5de72c;return _0x466d60['MgfdD'](Array,_0x30d489)[_0x4689ef(0x1dd)]('\x20\x20');},{testSuites:_0x183227,platforms:_0x1a03f3,totalTests:_0xbd27ce,testsFailed:_0x24414f,testsPassed:_0x1ee422,testsPending:_0x987a79}=_0x466d60['CCRBm'](getStats,_0x305931);_0x466d60[_0x5de72c(0x2a8)](_0x24414f,0x0)&&(logger['debug'](_0x466d60['fPRdJ']),process['exitCode']=Math[_0x5de72c(0x29e)](_0x24414f,0xff));logger[_0x5de72c(0x1e3)](_0x466d60[_0x5de72c(0x255)]);const _0x3bd437=''+_0x466d60[_0x5de72c(0x2a2)](chalk['bold'](_0x466d60[_0x5de72c(0x1c8)]),_0x1a03f3['length']),_0x3c5cc6=''+_0x466d60[_0x5de72c(0x2a2)](chalk['bold'](_0x466d60[_0x5de72c(0x21d)]),_0x183227),_0x2d1b1f=''+_0x466d60[_0x5de72c(0x2a2)](_0x466d60[_0x5de72c(0x2a2)](_0x466d60[_0x5de72c(0x26e)](chalk[_0x5de72c(0x22b)](_0x466d60['jgwyV']),_0x466d60['JWqFW'](_0x24414f,0x0)?chalk[_0x5de72c(0x22b)][_0x5de72c(0x28c)](_0x24414f+_0x5de72c(0x253))+',\x20':''),_0x466d60[_0x5de72c(0x218)](_0x987a79,0x0)?chalk['bold'][_0x5de72c(0x210)](_0x987a79+_0x5de72c(0x1b7))+',\x20':''),_0x466d60[_0x5de72c(0x218)](_0x1ee422,0x0)?chalk[_0x5de72c(0x22b)]['green'](_0x1ee422+'\x20passed')+',\x20':'')+_0xbd27ce+'\x20total';console[_0x5de72c(0x1b8)](_0x466d60[_0x5de72c(0x26e)](_0x466d60[_0x5de72c(0x25d)](_0x466d60[_0x5de72c(0x236)](_0x466d60['uxFYC'](_0x466d60['mzANw'](_0x466d60[_0x5de72c(0x26d)],_0x3bd437),'\x0a'),_0x3c5cc6),'\x0a'),_0x2d1b1f));if(_0x466d60[_0x5de72c(0x249)](_0x1185a7,_0x466d60['dPgAA'])){const _0x12c1c7={},_0x57f223={};_0x57f223[_0x5de72c(0x1e5)]=_0x183227,_0x57f223[_0x5de72c(0x2a4)]=_0x1a03f3,_0x57f223[_0x5de72c(0x1fb)]=_0x24414f,_0x57f223['testsPassed']=_0x1ee422,_0x57f223['testsPending']=_0x987a79,_0x12c1c7[_0x5de72c(0x1f4)]=_0x57f223,_0x1a03f3['forEach'](_0x1ff094=>{const _0x44a384=_0x5de72c;_0x12c1c7[_0x1ff094]={'pending':[],'failures':[],'passes':[],'tests':_0x305931[_0x1ff094][_0x466d60[_0x44a384(0x262)]][_0x44a384(0x280)](clean)},_0x305931[_0x1ff094][_0x466d60['aApXN']][_0x44a384(0x1fa)](_0x417c44=>{const _0x57e920=_0x44a384;if(_0x466d60[_0x57e920(0x281)](_0x417c44[_0x57e920(0x250)],_0x466d60['kybAm']))_0x12c1c7[_0x1ff094][_0x466d60['IyWbM']][_0x57e920(0x279)](_0x466d60[_0x57e920(0x246)](clean,_0x417c44));else _0x466d60[_0x57e920(0x29b)](_0x417c44[_0x57e920(0x250)],_0x466d60[_0x57e920(0x28d)])?_0x12c1c7[_0x1ff094][_0x466d60['XUtra']][_0x57e920(0x279)](_0x466d60[_0x57e920(0x1c2)](clean,_0x417c44)):_0x12c1c7[_0x1ff094][_0x466d60[_0x57e920(0x2a3)]][_0x57e920(0x279)](_0x466d60[_0x57e920(0x1c2)](clean,_0x417c44));});});if(_0x566158['output'])try{logger[_0x5de72c(0x1e3)](_0x466d60[_0x5de72c(0x258)],_0x566158['output']),fs[_0x5de72c(0x277)](_0x566158[_0x5de72c(0x25e)],JSON[_0x5de72c(0x1c6)](_0x12c1c7,null,0x3));}catch(_0x59378d){logger[_0x5de72c(0x212)](_0x466d60[_0x5de72c(0x211)],_0x566158['output']),logger[_0x5de72c(0x1e3)](_0x59378d);}else logger[_0x5de72c(0x1e3)](_0x466d60[_0x5de72c(0x21a)]),console[_0x5de72c(0x1b8)](JSON[_0x5de72c(0x1c6)](_0x12c1c7,null,0x3));}else{if(_0x466d60[_0x5de72c(0x22d)](_0x1185a7,_0x466d60['ooZZP'])){let _0x40897b;const _0x5d8f70=_0x466d60[_0x5de72c(0x1d5)];_0x566158&&(_0x40897b=_0x566158['suiteName']);_0x40897b=_0x466d60[_0x5de72c(0x25f)](_0x40897b,_0x5d8f70);let _0x1f5357=0x0,_0x368326=0x0,_0x2cbae8=0x0,_0x5bf34b=0x0;_0x1a03f3[_0x5de72c(0x1fa)](_0x51c9a1=>{const _0x4837bd=_0x5de72c,_0x1a9fc8={'eQfQl':function(_0x1e3369,_0x32ff74){const _0xfed034=a28_0x4c54;return _0x466d60[_0xfed034(0x249)](_0x1e3369,_0x32ff74);},'oyVzc':_0x466d60[_0x4837bd(0x242)],'IPDge':function(_0x15536f,_0x23a58e){const _0x128e32=_0x4837bd;return _0x466d60[_0x128e32(0x281)](_0x15536f,_0x23a58e);},'dfpAe':_0x466d60[_0x4837bd(0x28d)],'VNAiz':function(_0x142736,_0x5d54ac){const _0x36c1a8=_0x4837bd;return _0x466d60[_0x36c1a8(0x207)](_0x142736,_0x5d54ac);}};_0x305931[_0x51c9a1][_0x466d60[_0x4837bd(0x262)]][_0x4837bd(0x1fa)](_0xc7ef58=>{const _0x216c0d=_0x4837bd;if(_0x1a9fc8[_0x216c0d(0x206)](_0xc7ef58['state'],_0x1a9fc8[_0x216c0d(0x1ce)]))_0x1f5357++;else _0x1a9fc8[_0x216c0d(0x1db)](_0xc7ef58[_0x216c0d(0x250)],_0x1a9fc8[_0x216c0d(0x24b)])&&_0x368326++;_0x2cbae8++,_0x5bf34b+=_0x1a9fc8[_0x216c0d(0x1cc)](_0xc7ef58['duration'],0x1);});}),_0x466d60[_0x5de72c(0x283)](xunitWrite,_0x466d60[_0x5de72c(0x26f)](tag,_0x466d60[_0x5de72c(0x1b2)],{'name':_0x40897b,'tests':_0x2cbae8,'failures':0x0,'errors':_0x368326,'skipped':_0x466d60[_0x5de72c(0x22f)](_0x466d60[_0x5de72c(0x22f)](_0x2cbae8,_0x368326),_0x1f5357),'timestamp':new Date()['toUTCString'](),'time':_0x466d60[_0x5de72c(0x217)](_0x5bf34b,0x3e8)||0x0},![])),_0x1a03f3[_0x5de72c(0x1fa)](_0x358f49=>{const _0x593bff=_0x5de72c,_0x4458c2={'MCFZV':function(_0x14edec,_0x3b9075,_0x1451d6){const _0x2b05c4=a28_0x4c54;return _0x466d60[_0x2b05c4(0x1dc)](_0x14edec,_0x3b9075,_0x1451d6);}};_0x305931[_0x358f49][_0x466d60[_0x593bff(0x262)]][_0x593bff(0x1fa)](_0x14c50f=>{_0x4458c2['MCFZV'](xunitTest,_0x14c50f,_0x358f49);});}),_0x466d60[_0x5de72c(0x1e6)](xunitWrite,_0x466d60[_0x5de72c(0x28b)]);if(_0x566158[_0x5de72c(0x25e)])try{logger[_0x5de72c(0x1e3)](_0x466d60[_0x5de72c(0x1c5)],_0x566158[_0x5de72c(0x25e)]),fs[_0x5de72c(0x277)](_0x566158[_0x5de72c(0x25e)],xunitContent);}catch(_0x2fe4f2){logger['error'](_0x466d60[_0x5de72c(0x254)],_0x566158[_0x5de72c(0x25e)]),logger[_0x5de72c(0x1e3)](_0x2fe4f2);}else logger['debug'](_0x466d60['IgdHO']),console[_0x5de72c(0x1b8)](xunitContent);}else{if(_0x466d60[_0x5de72c(0x281)](_0x24414f,0x0))return;console[_0x5de72c(0x1b8)](),logger[_0x5de72c(0x1e3)](_0x466d60['Ktstx']),console[_0x5de72c(0x1b8)](chalk[_0x5de72c(0x22b)][_0x5de72c(0x27d)](_0x466d60[_0x5de72c(0x203)])),_0x1a03f3[_0x5de72c(0x1fa)](_0x2fb7ef=>{const _0x161e6f=_0x5de72c,_0x3d9554=[];_0x305931[_0x2fb7ef][_0x466d60['aApXN']][_0x161e6f(0x1fa)](_0x4549c5=>{const _0xcd358e=_0x161e6f;_0x466d60[_0xcd358e(0x29b)](_0x4549c5['state'],_0x466d60['XGWvX'])&&(_0x4549c5[_0xcd358e(0x219)]=()=>_0x4549c5[_0xcd358e(0x224)],_0x3d9554[_0xcd358e(0x279)](_0x4549c5));}),_0x466d60[_0x161e6f(0x2a8)](_0x3d9554[_0x161e6f(0x259)],0x0)&&(Base[_0x161e6f(0x1da)](),Base['consoleLog'](_0x466d60[_0x161e6f(0x287)](_0x5838c8),chalk[_0x161e6f(0x22b)][_0x161e6f(0x243)](_0x2fb7ef)),Base[_0x161e6f(0x1d6)](_0x3d9554));});}}}async function run(_0x4937cf,_0x45160b){const _0x5a5f3c=a28_0x51f72a,_0x558333={'aDUhJ':function(_0x5f8d36,_0x1f47a2,_0x2a5050,_0x29eb49){return _0x5f8d36(_0x1f47a2,_0x2a5050,_0x29eb49);},'xKIKH':_0x5a5f3c(0x1b9),'aeHNk':_0x5a5f3c(0x205),'yFqNj':'SDKTestSuccessful','yJIXi':function(_0x312564,_0x2728eb,_0x1452c5,_0x537256){return _0x312564(_0x2728eb,_0x1452c5,_0x537256);},'anCzf':'mocha','rwxcT':_0x5a5f3c(0x247),'AaLPm':_0x5a5f3c(0x26c),'mglol':function(_0x4f0a8f,_0x2c07d7){return _0x4f0a8f!=_0x2c07d7;},'CMbnA':_0x5a5f3c(0x260),'AHduN':_0x5a5f3c(0x257),'uVDNu':'test','gJwoN':_0x5a5f3c(0x1cf),'OMnby':function(_0x3e9bb3,_0x29a451){return _0x3e9bb3(_0x29a451);},'RHokL':function(_0x19fa80,_0x2b034f,_0x291dee){return _0x19fa80(_0x2b034f,_0x291dee);},'NrEui':_0x5a5f3c(0x1d7),'xprBN':'Running\x20your\x20mocha\x20tests','vwtDm':'Now,\x20showing\x20logs\x20from\x20mocha','fltjF':function(_0x4a728d,_0x27c0e5){return _0x4a728d*_0x27c0e5;},'OyKzs':function(_0x149e45,_0x3cde17){return _0x149e45!==_0x3cde17;},'dVIIy':function(_0xc73b5e,_0x24e02a,_0x578a5b,_0x422f7e){return _0xc73b5e(_0x24e02a,_0x578a5b,_0x422f7e);}};process[_0x5a5f3c(0x1e1)][_0x5a5f3c(0x201)](_0x558333[_0x5a5f3c(0x1ef)])&&(process['env'][_0x5a5f3c(0x1e9)]=![]);process[_0x5a5f3c(0x1e1)][_0x5a5f3c(0x201)](_0x558333[_0x5a5f3c(0x1f9)])&&(process[_0x5a5f3c(0x1bf)]['BROWSERSTACK_AUTOMATION']=![]);const _0x3d5ac1=new BrowserStackSetup(_0x4937cf,_0x558333[_0x5a5f3c(0x248)]);helper[_0x5a5f3c(0x27e)]()?(await _0x3d5ac1[_0x5a5f3c(0x2a0)](),await helper['handleApp'](_0x3d5ac1[_0x5a5f3c(0x237)])):await _0x3d5ac1[_0x5a5f3c(0x266)]();const _0x849615=[];let _0x354f1c=[];if(!_0x3d5ac1[_0x5a5f3c(0x237)])return;_0x558333[_0x5a5f3c(0x28f)](_0x3d5ac1['config'][_0x5a5f3c(0x264)],null)&&(process[_0x5a5f3c(0x1bf)][_0x5a5f3c(0x1e0)]=_0x3d5ac1[_0x5a5f3c(0x237)][_0x5a5f3c(0x264)]);!helper[_0x5a5f3c(0x1c1)](_0x3d5ac1[_0x5a5f3c(0x237)]['accessibility'])&&(process['env'][_0x5a5f3c(0x294)]=_0x3d5ac1[_0x5a5f3c(0x237)]['accessibility']);!helper['isUndefined'](_0x3d5ac1[_0x5a5f3c(0x237)][_0x5a5f3c(0x1e7)])&&(process[_0x5a5f3c(0x1bf)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x5a5f3c(0x1c6)](_0x3d5ac1[_0x5a5f3c(0x237)]['accessibilityOptions']));const {extension:extension=['js',_0x558333[_0x5a5f3c(0x1b4)],_0x558333[_0x5a5f3c(0x285)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x558333[_0x5a5f3c(0x1b5)]]}=_0x4937cf,_0x10b98d={..._0x4937cf};_0x10b98d[_0x5a5f3c(0x27f)]=null;const _0x412081=_0x10b98d;let _0x15f02a;if(testOpsHelper[_0x5a5f3c(0x27c)]()&&testOpsHelper[_0x5a5f3c(0x29d)]()){let _0x592e8e=process[_0x5a5f3c(0x1bf)][_0x5a5f3c(0x252)];!helper[_0x5a5f3c(0x1c1)](_0x3d5ac1[_0x5a5f3c(0x24d)])&&_0x3d5ac1[_0x5a5f3c(0x24d)]['has'](_0x558333[_0x5a5f3c(0x272)])&&(_0x592e8e=_0x3d5ac1[_0x5a5f3c(0x24d)][_0x5a5f3c(0x265)](_0x558333['gJwoN'])),_0x15f02a=testOpsHelper[_0x5a5f3c(0x204)](_0x592e8e);}if(helper[_0x5a5f3c(0x1c1)](_0x15f02a)){const _0x17f1ac={};_0x17f1ac[_0x5a5f3c(0x2a7)]=ignore,_0x17f1ac[_0x5a5f3c(0x1b3)]=extension,_0x17f1ac[_0x5a5f3c(0x22e)]=file,_0x17f1ac['recursive']=recursive,_0x17f1ac[_0x5a5f3c(0x26a)]=sort,_0x17f1ac[_0x5a5f3c(0x222)]=spec,_0x15f02a=_0x558333[_0x5a5f3c(0x213)](collectFiles,_0x17f1ac),_0x558333[_0x5a5f3c(0x23e)](nestedKeyValue,_0x15f02a,[_0x558333['NrEui']])&&(_0x15f02a=_0x15f02a[_0x5a5f3c(0x1d7)]);}helper[_0x5a5f3c(0x1b6)]();if(!helper[_0x5a5f3c(0x27e)]()){const _0x5f59c9=0x1,_0x2930e4={..._0x412081};_0x2930e4[_0x5a5f3c(0x222)]=[..._0x15f02a],_0x849615[_0x5a5f3c(0x279)]({'mochaOpts':_0x2930e4,'configuration':{'platform':os[_0x5a5f3c(0x1d1)]()}}),logger[_0x5a5f3c(0x1cb)](_0x558333[_0x5a5f3c(0x223)]),logger[_0x5a5f3c(0x1cb)](_0x558333['vwtDm']),_0x558333[_0x5a5f3c(0x23b)](parallelTestRun,_0x849615,_0x5f59c9,_0x3d5ac1)[_0x5a5f3c(0x234)](_0x1b6342=>{const _0x45cbd0=_0x5a5f3c;_0x558333[_0x45cbd0(0x23b)](printStats,_0x1b6342,_0x4937cf[_0x45cbd0(0x1c7)],_0x4937cf[_0x45cbd0(0x1c3)]||_0x4937cf[_0x558333[_0x45cbd0(0x1d8)]]);})[_0x5a5f3c(0x1ff)](()=>{const _0x478122=_0x5a5f3c;try{const {browserstackFolderPath:_0x32d8ad,tcgConfigPath:_0x1de629}=helper[_0x478122(0x20e)]();fs[_0x478122(0x2aa)](_0x1de629),fs['rmdirSync'](_0x32d8ad);}catch(_0x2f8569){logger[_0x478122(0x1e3)](_0x558333[_0x478122(0x1d4)],_0x2f8569);}try{utilities[_0x478122(0x1f8)](_0x558333[_0x478122(0x1ca)],{},_0x3d5ac1['config'],_0x3d5ac1[_0x478122(0x214)]);}catch(_0x4e2304){logger[_0x478122(0x1e3)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x4e2304);}try{helper[_0x478122(0x292)]();}catch(_0x15c3f3){logger[_0x478122(0x1e3)]('Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20'+_0x15c3f3);}testOpsHelper[_0x478122(0x1fc)]();});}else{const _0x4cbd13=helper[_0x5a5f3c(0x202)](_0x3d5ac1[_0x5a5f3c(0x237)]),_0x49e12b=helper['getHubUrl'](_0x3d5ac1[_0x5a5f3c(0x237)]);_0x354f1c=helper[_0x5a5f3c(0x2a9)](_0x3d5ac1[_0x5a5f3c(0x237)],_0x4cbd13,constants[_0x5a5f3c(0x20b)][_0x5a5f3c(0x268)]);let _0x5ef896;const _0x15cf1c=_0x3d5ac1[_0x5a5f3c(0x237)][_0x5a5f3c(0x1de)]||helper[_0x5a5f3c(0x1bb)](_0x4937cf,_0x45160b,_0x3d5ac1[_0x5a5f3c(0x237)],constants['FRAMEWORKS']['MOCHA'])||0x1;helper[_0x5a5f3c(0x2ab)](_0x3d5ac1[_0x5a5f3c(0x237)])?_0x5ef896=_0x558333['fltjF'](_0x3d5ac1[_0x5a5f3c(0x237)][_0x5a5f3c(0x2a4)][_0x5a5f3c(0x259)],_0x15cf1c):_0x5ef896=_0x15cf1c;const _0x170b5c=_0x558333[_0x5a5f3c(0x213)](getPercyOptions,_0x3d5ac1[_0x5a5f3c(0x237)]);if(_0x558333['OyKzs'](_0x3d5ac1[_0x5a5f3c(0x237)][_0x5a5f3c(0x1de)],0x1))_0x15f02a[_0x5a5f3c(0x1fa)](_0x4faf86=>{const _0x7aeae7=_0x5a5f3c,_0x5569bd=[];_0x354f1c[_0x7aeae7(0x1fa)]((_0x4fe16c,_0x1f3ab7)=>{const _0x21b061=_0x7aeae7,_0xbf6de7={};_0xbf6de7[_0x21b061(0x222)]=[_0x4faf86],_0x5569bd[_0x21b061(0x279)]({'mochaOpts':Object[_0x21b061(0x230)]({},_0x412081,_0xbf6de7),'configuration':{'server':_0x49e12b,'capability':_0x4fe16c,'proxySettings':_0x3d5ac1[_0x21b061(0x237)]['proxySettings'],'platform':helper[_0x21b061(0x228)](_0x4fe16c),'browserStackLogLevel':_0x3d5ac1['config'][_0x21b061(0x1bc)],'platformIndex':_0x1f3ab7,'browserStackPercyOptions':_0x170b5c,'platformCaps':_0x3d5ac1[_0x21b061(0x237)][_0x21b061(0x2a4)][_0x1f3ab7]}});}),_0x849615[_0x7aeae7(0x279)](..._0x5569bd);});else{const _0x3c352e=[];_0x354f1c[_0x5a5f3c(0x1fa)]((_0x2581be,_0x41fa32)=>{const _0x3c7eaf=_0x5a5f3c;let _0x1fe2fb=Object[_0x3c7eaf(0x230)]({},_0x412081);testOpsHelper['isTestObservabilitySession']()&&testOpsHelper['shouldReRunObservabilityTests']()&&(_0x1fe2fb={..._0x1fe2fb,'spec':[..._0x15f02a]}),_0x3c352e[_0x3c7eaf(0x279)]({'mochaOpts':_0x1fe2fb,'configuration':{'server':_0x49e12b,'capability':_0x2581be,'proxySettings':_0x3d5ac1[_0x3c7eaf(0x237)][_0x3c7eaf(0x23c)],'platform':helper[_0x3c7eaf(0x228)](_0x2581be),'browserStackLogLevel':_0x3d5ac1[_0x3c7eaf(0x237)][_0x3c7eaf(0x1bc)],'platformIndex':_0x41fa32,'browserStackPercyOptions':_0x170b5c,'platformCaps':_0x3d5ac1[_0x3c7eaf(0x237)][_0x3c7eaf(0x2a4)][_0x41fa32]}});}),_0x849615['push'](..._0x3c352e);}logger['info']('Running\x20your\x20mocha\x20tests\x20across\x20'+_0x3d5ac1['config'][_0x5a5f3c(0x2a4)]['length']+'\x20platforms'),logger['info'](_0x558333[_0x5a5f3c(0x22a)]);let _0x6a3fb7;_0x558333[_0x5a5f3c(0x1d3)](parallelTestRun,_0x849615,_0x5ef896,_0x3d5ac1)[_0x5a5f3c(0x234)](_0x35e136=>{const _0x504f76=_0x5a5f3c;_0x6a3fb7=_0x35e136,_0x558333['yJIXi'](printStats,_0x35e136,_0x4937cf['reporter'],_0x4937cf[_0x504f76(0x1c3)]||_0x4937cf[_0x558333[_0x504f76(0x1d8)]]);})[_0x5a5f3c(0x1ff)](async()=>{const _0x511078=_0x5a5f3c;_0x3d5ac1['errorMessage']=helper[_0x511078(0x1bd)](_0x6a3fb7,_0x558333['anCzf']),await utilities[_0x511078(0x21b)](_0x3d5ac1),testOpsHelper[_0x511078(0x1fc)]();});}}module[a28_0x51f72a(0x267)]=run;