browserstack-node-sdk 1.34.31 → 1.34.33

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 (133) 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/templates/nginx/pods-and-services.yaml +6 -0
  25. package/ats/src/utils/AWSUtils.js +1 -1
  26. package/ats/src/utils/createAutoscalerStack.js +1 -1
  27. package/ats/src/utils/createClusterStack.js +1 -1
  28. package/ats/src/utils/createk8sClient.js +1 -1
  29. package/ats/src/utils/deleteStack.js +1 -1
  30. package/ats/src/utils/gridComponents.js +1 -1
  31. package/ats/src/utils/hstUtils.js +1 -1
  32. package/ats/src/utils/instrumentationUtils.js +1 -1
  33. package/ats/src/utils/userInput.js +1 -1
  34. package/ats/src/utils/utilityMethods.js +1 -1
  35. package/ats/src/utils/webSocketUtils.js +1 -1
  36. package/package.json +1 -1
  37. package/src/ai-sdk-node/bundle.js +1 -1
  38. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  39. package/src/bin/codeceptjs/command.js +1 -1
  40. package/src/bin/codeceptjs/helper.js +1 -1
  41. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  42. package/src/bin/cucumber-js/command.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  44. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  45. package/src/bin/cucumber-js/test-observability.js +1 -1
  46. package/src/bin/cucumber-js/test.setup.js +1 -1
  47. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  48. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  49. package/src/bin/integrations/command.js +1 -1
  50. package/src/bin/integrations/constants.js +1 -1
  51. package/src/bin/jest/command.js +1 -1
  52. package/src/bin/jest/customImplements/customCircus.js +1 -1
  53. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  54. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  55. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  56. package/src/bin/jest/jest.setup.js +1 -1
  57. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  58. package/src/bin/jest/test-observability/helper.js +1 -1
  59. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  60. package/src/bin/jest/test-observability/test-details.js +1 -1
  61. package/src/bin/jest/test_before.setup.js +1 -1
  62. package/src/bin/launcher/launcher.js +1 -1
  63. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  64. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  65. package/src/bin/mocha/command.js +1 -1
  66. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  67. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  68. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  69. package/src/bin/mocha/test.setup.js +1 -1
  70. package/src/bin/nightwatch/command.js +1 -1
  71. package/src/bin/playwright/accessibility-helper.js +1 -1
  72. package/src/bin/playwright/command.js +1 -1
  73. package/src/bin/playwright/globalSetup.js +1 -1
  74. package/src/bin/playwright/mock-process.js +1 -1
  75. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  76. package/src/bin/playwright/patches.js +1 -1
  77. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  78. package/src/bin/playwright/reporter/reporter.js +1 -1
  79. package/src/bin/playwright/reporter/test-details.js +1 -1
  80. package/src/bin/playwright/sessionDetails.js +1 -1
  81. package/src/bin/runner.js +1 -1
  82. package/src/bin/setup.js +1 -1
  83. package/src/bin/test-runner/index.js +1 -1
  84. package/src/bin/test-runner/runTest.js +1 -1
  85. package/src/bin/test-runner/testWorker.js +1 -1
  86. package/src/bin/utils/constants.js +1 -1
  87. package/src/bin/utils/log4jsAppender.js +1 -1
  88. package/src/bin/utils/logPatcher.js +1 -1
  89. package/src/bin/utils/logReportingAPI.js +1 -1
  90. package/src/bin/vanilla-js/command.js +1 -1
  91. package/src/browserStackSdk.js +1 -1
  92. package/src/helpers/BrowserStackSetup.js +1 -1
  93. package/src/helpers/accessibility-automation/constants.js +1 -1
  94. package/src/helpers/accessibility-automation/helper.js +1 -1
  95. package/src/helpers/accessibility-automation/scripts.js +1 -1
  96. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  97. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  98. package/src/helpers/ats/constants.js +1 -1
  99. package/src/helpers/ats/helper.js +1 -1
  100. package/src/helpers/capsMapping.js +1 -1
  101. package/src/helpers/central-scanner/constants.js +1 -1
  102. package/src/helpers/central-scanner/helpers.js +1 -1
  103. package/src/helpers/globals.js +1 -1
  104. package/src/helpers/helper.js +1 -1
  105. package/src/helpers/logger.js +1 -1
  106. package/src/helpers/patchHelper.js +1 -1
  107. package/src/helpers/patchHelpers.js +1 -1
  108. package/src/helpers/percy/Percy.js +1 -1
  109. package/src/helpers/percy/PercyBinary.js +1 -1
  110. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  111. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  112. package/src/helpers/percy/PercySDK.js +1 -1
  113. package/src/helpers/percy/index.js +1 -1
  114. package/src/helpers/percy/utils.js +1 -1
  115. package/src/helpers/performance/constants.js +1 -0
  116. package/src/helpers/performance/performance-tester.js +1 -0
  117. package/src/helpers/processHelper.js +1 -0
  118. package/src/helpers/request-spy.js +1 -1
  119. package/src/helpers/setKeepAlive.js +1 -1
  120. package/src/helpers/test-observability/constants.js +1 -1
  121. package/src/helpers/test-observability/error-handler.js +1 -1
  122. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  123. package/src/helpers/test-observability/sessionHandler.js +1 -1
  124. package/src/helpers/test-observability/utils.js +1 -1
  125. package/src/helpers/testhub/constants.js +1 -1
  126. package/src/helpers/testhub/testhubHandler.js +1 -1
  127. package/src/helpers/testhub/utils.js +1 -1
  128. package/src/helpers/timeoutPromise.js +1 -1
  129. package/src/helpers/utilities.js +1 -1
  130. package/src/helpers/w3cMapping.js +1 -1
  131. package/src/hubAllocationMethods.js +1 -1
  132. package/src/index.js +1 -1
  133. package/src/helpers/performance-tester.js +0 -1
@@ -1 +1 @@
1
- const a23_0x3ccf33=a23_0x5f41;function a23_0x5f41(_0x402955,_0x544ee9){const _0x135736=a23_0x1357();return a23_0x5f41=function(_0x5f4192,_0x5cb636){_0x5f4192=_0x5f4192-0x15c;let _0x1d55f2=_0x135736[_0x5f4192];return _0x1d55f2;},a23_0x5f41(_0x402955,_0x544ee9);}(function(_0xb17ae7,_0xf1be12){const _0x1dff56=a23_0x5f41,_0x558496=_0xb17ae7();while(!![]){try{const _0x39dd0f=-parseInt(_0x1dff56(0x17d))/0x1+parseInt(_0x1dff56(0x177))/0x2*(parseInt(_0x1dff56(0x183))/0x3)+parseInt(_0x1dff56(0x18e))/0x4+parseInt(_0x1dff56(0x17a))/0x5+parseInt(_0x1dff56(0x182))/0x6*(parseInt(_0x1dff56(0x169))/0x7)+parseInt(_0x1dff56(0x18a))/0x8+-parseInt(_0x1dff56(0x18d))/0x9*(parseInt(_0x1dff56(0x188))/0xa);if(_0x39dd0f===_0xf1be12)break;else _0x558496['push'](_0x558496['shift']());}catch(_0x1bf3b7){_0x558496['push'](_0x558496['shift']());}}}(a23_0x1357,0x475cb));const fs=require('fs'),path=require(a23_0x3ccf33(0x166)),{v4:uuidv4}=require(a23_0x3ccf33(0x162)),helper=require(a23_0x3ccf33(0x176)),testHubConstants=require(a23_0x3ccf33(0x184));class TestDetails{static [a23_0x3ccf33(0x171)]={};static [a23_0x3ccf33(0x16f)]=path[a23_0x3ccf33(0x17b)](helper[a23_0x3ccf33(0x170)](),'.browserstack',a23_0x3ccf33(0x15e)+process[a23_0x3ccf33(0x174)][testHubConstants['ENV_VAR'][a23_0x3ccf33(0x175)]]);static['setup'](){const _0x4ce97b=a23_0x3ccf33,_0xf327d4={};_0xf327d4['iJbzB']=_0x4ce97b(0x178);const _0x4b1a7c=_0xf327d4;this['dirPath']=path['join'](helper[_0x4ce97b(0x170)](),_0x4b1a7c['iJbzB'],_0x4ce97b(0x15e)+process[_0x4ce97b(0x174)][testHubConstants[_0x4ce97b(0x164)][_0x4ce97b(0x175)]]),this[_0x4ce97b(0x179)]();const _0x32b84a={};_0x32b84a[_0x4ce97b(0x16c)]=!![],fs[_0x4ce97b(0x15d)](this[_0x4ce97b(0x16f)],_0x32b84a);}static[a23_0x3ccf33(0x172)](_0x3fed24){const _0x3c991d=a23_0x3ccf33,_0x454881={};_0x454881[_0x3c991d(0x180)]=function(_0x252158,_0xc3e4fb){return _0x252158+_0xc3e4fb;},_0x454881['oDbPN']=_0x3c991d(0x18b);const _0x46fcf0=_0x454881;return path[_0x3c991d(0x17b)](this['dirPath'],_0x46fcf0['qyhNQ'](_0x3fed24,_0x46fcf0[_0x3c991d(0x161)]));}static[a23_0x3ccf33(0x17c)](_0x86eba5){const _0x6e9c09=a23_0x3ccf33,_0x35bf4f={};_0x35bf4f['KLIXD']=function(_0x56bb0c,_0x19a763){return _0x56bb0c+_0x19a763;},_0x35bf4f['hOEXp']=function(_0x380ed2,_0x92a1e5){return _0x380ed2+_0x92a1e5;};const _0x567058=_0x35bf4f;return _0x567058[_0x6e9c09(0x163)](_0x567058[_0x6e9c09(0x16d)](_0x567058[_0x6e9c09(0x163)](_0x567058[_0x6e9c09(0x16d)](_0x86eba5[_0x6e9c09(0x189)][_0x6e9c09(0x165)],'-'),_0x86eba5[_0x6e9c09(0x189)]['id']),'-'),_0x86eba5['retry']);}static['getTestUUID'](_0x144c9c){const _0x56c9dc=a23_0x3ccf33,_0x4a6ba1=this[_0x56c9dc(0x172)](_0x144c9c);if(fs[_0x56c9dc(0x168)](_0x4a6ba1)){const _0xc89de1=JSON[_0x56c9dc(0x173)](fs[_0x56c9dc(0x160)](_0x4a6ba1)[_0x56c9dc(0x17e)]());return this['tests'][_0x144c9c]=_0xc89de1,this[_0x56c9dc(0x171)][_0x144c9c]['uuid'];}}static[a23_0x3ccf33(0x17f)](_0x135104){const _0x59ef2c=a23_0x3ccf33,_0x227853={};_0x227853[_0x59ef2c(0x167)]='testData.json';const _0x31815c=_0x227853,_0x5ee16a=path['join'](this[_0x59ef2c(0x16f)],_0x31815c[_0x59ef2c(0x167)]);fs[_0x59ef2c(0x187)](_0x5ee16a,JSON[_0x59ef2c(0x185)](_0x135104));}static[a23_0x3ccf33(0x18c)](){const _0x24dd97=a23_0x3ccf33,_0x438ec8={};_0x438ec8[_0x24dd97(0x16e)]=_0x24dd97(0x181);const _0x5eeace=_0x438ec8,_0x28dfb5=path[_0x24dd97(0x17b)](this['dirPath'],_0x5eeace[_0x24dd97(0x16e)]);let _0x3bd8f3={};try{return fs[_0x24dd97(0x168)](_0x28dfb5)&&(_0x3bd8f3=JSON[_0x24dd97(0x173)](fs[_0x24dd97(0x160)](_0x28dfb5)[_0x24dd97(0x17e)]())),_0x3bd8f3;}catch(_0x12a634){return _0x3bd8f3;}}static['setTestUUID'](_0x30b0a3){const _0x3df62e=a23_0x3ccf33,_0x4f2860={'NaPEw':function(_0x14aa96){return _0x14aa96();}},_0x3f4189=this['getFilePath'](_0x30b0a3);return this['tests'][_0x30b0a3]={'uuid':_0x4f2860['NaPEw'](uuidv4)},fs[_0x3df62e(0x187)](_0x3f4189,JSON[_0x3df62e(0x185)](this['tests'][_0x30b0a3])),this['tests'][_0x30b0a3][_0x3df62e(0x162)];}static[a23_0x3ccf33(0x186)](_0x8d7023){const _0x10de75=a23_0x3ccf33,_0x50184f=this[_0x10de75(0x172)](_0x8d7023);fs[_0x10de75(0x168)](_0x50184f)&&fs[_0x10de75(0x15f)](_0x50184f);}static[a23_0x3ccf33(0x179)](){const _0x251840=a23_0x3ccf33,_0x51c409={};_0x51c409[_0x251840(0x16c)]=!![],_0x51c409[_0x251840(0x16a)]=!![],fs[_0x251840(0x16b)](this[_0x251840(0x16f)],_0x51c409);}}function a23_0x1357(){const _0x5b07cc=['jest-o11y-','unlinkSync','readFileSync','oDbPN','uuid','KLIXD','ENV_VAR','_projectId','path','cfNjl','existsSync','7aszQxT','force','rmSync','recursive','hOEXp','hqtob','dirPath','homedir','tests','getFilePath','parse','env','BROWSERSTACK_TESTHUB_UUID','../../../helpers/helper','4234Ddqnzp','.browserstack','shutdown','2481680sGIKWu','join','getTestRunIdFromTestInfo','277249jjrDNf','toString','setTestData','qyhNQ','testData.json','702462RIFqAy','453vchNrt','../../../helpers/testhub/constants','stringify','removeTestUUID','writeFileSync','39720eWHeIg','_test','2224728jFaNET','.json','getTestData','2043uVdsKu','1040084oOLrnt','exports','mkdirSync'];a23_0x1357=function(){return _0x5b07cc;};return a23_0x1357();}module[a23_0x3ccf33(0x15c)]=TestDetails;
1
+ function a23_0x3c04(){const _0x1eda80=['bZKOt','tests','wPCGh','setup','retry','dirPath','testData.json','AsnuZ','KXDTO','join','jest-o11y-','265655fnNoGc','.json','mkdirSync','vEJgG','4327872JfdXdp','1387855zzTBGS','LgeSg','getTestData','getTestUUID','.browserstack','mxujk','ENV_VAR','2195667urHdOC','readFileSync','stringify','11877CjbKRF','uuid','14433720tUkYfs','homedir','673049VkOCDB','existsSync','path','toString','writeFileSync','removeTestUUID','../../../helpers/testhub/constants','BROWSERSTACK_TESTHUB_UUID','IVYwl','setTestUUID','_projectId','getTestRunIdFromTestInfo','36jjuCTc','16bCAuvd','2urdPyM','shutdown','recursive'];a23_0x3c04=function(){return _0x1eda80;};return a23_0x3c04();}const a23_0x454e1e=a23_0xc4e8;function a23_0xc4e8(_0x54f0b7,_0x25490a){const _0x3c049c=a23_0x3c04();return a23_0xc4e8=function(_0xc4e842,_0x6105e4){_0xc4e842=_0xc4e842-0x17d;let _0x562936=_0x3c049c[_0xc4e842];return _0x562936;},a23_0xc4e8(_0x54f0b7,_0x25490a);}(function(_0x4f558b,_0x5649a5){const _0x40fc26=a23_0xc4e8,_0x10d5e3=_0x4f558b();while(!![]){try{const _0x1b8f0c=-parseInt(_0x40fc26(0x18c))/0x1+-parseInt(_0x40fc26(0x19a))/0x2*(parseInt(_0x40fc26(0x188))/0x3)+-parseInt(_0x40fc26(0x198))/0x4*(parseInt(_0x40fc26(0x1a8))/0x5)+parseInt(_0x40fc26(0x17d))/0x6+parseInt(_0x40fc26(0x17e))/0x7*(-parseInt(_0x40fc26(0x199))/0x8)+-parseInt(_0x40fc26(0x185))/0x9+parseInt(_0x40fc26(0x18a))/0xa;if(_0x1b8f0c===_0x5649a5)break;else _0x10d5e3['push'](_0x10d5e3['shift']());}catch(_0x1dbdb2){_0x10d5e3['push'](_0x10d5e3['shift']());}}}(a23_0x3c04,0x5a16c));const fs=require('fs'),path=require(a23_0x454e1e(0x18e)),{v4:uuidv4}=require(a23_0x454e1e(0x189)),helper=require('../../../helpers/helper'),testHubConstants=require(a23_0x454e1e(0x192));class TestDetails{static [a23_0x454e1e(0x19e)]={};static ['dirPath']=path['join'](helper[a23_0x454e1e(0x18b)](),a23_0x454e1e(0x182),a23_0x454e1e(0x1a7)+process['env'][testHubConstants[a23_0x454e1e(0x184)]['BROWSERSTACK_TESTHUB_UUID']]);static[a23_0x454e1e(0x1a0)](){const _0xaf1779=a23_0x454e1e,_0x2f9406={};_0x2f9406[_0xaf1779(0x17f)]=_0xaf1779(0x182);const _0xf6a9e1=_0x2f9406;this[_0xaf1779(0x1a2)]=path[_0xaf1779(0x1a6)](helper[_0xaf1779(0x18b)](),_0xf6a9e1[_0xaf1779(0x17f)],'jest-o11y-'+process['env'][testHubConstants[_0xaf1779(0x184)][_0xaf1779(0x193)]]),this[_0xaf1779(0x19b)]();const _0x543c79={};_0x543c79[_0xaf1779(0x19c)]=!![],fs[_0xaf1779(0x1aa)](this[_0xaf1779(0x1a2)],_0x543c79);}static['getFilePath'](_0x13f256){const _0x37fc61=a23_0x454e1e,_0x4175c7={};_0x4175c7[_0x37fc61(0x183)]=function(_0x42e97d,_0x112b79){return _0x42e97d+_0x112b79;},_0x4175c7['AsnuZ']=_0x37fc61(0x1a9);const _0x2930c4=_0x4175c7;return path['join'](this['dirPath'],_0x2930c4['mxujk'](_0x13f256,_0x2930c4[_0x37fc61(0x1a4)]));}static[a23_0x454e1e(0x197)](_0xf263be){const _0xc035f5=a23_0x454e1e,_0x2f6065={};_0x2f6065[_0xc035f5(0x194)]=function(_0xae658a,_0x344faa){return _0xae658a+_0x344faa;},_0x2f6065[_0xc035f5(0x1ab)]=function(_0x3c7630,_0xd70bed){return _0x3c7630+_0xd70bed;};const _0x25202e=_0x2f6065;return _0x25202e[_0xc035f5(0x194)](_0x25202e['IVYwl'](_0x25202e[_0xc035f5(0x1ab)](_0x25202e[_0xc035f5(0x1ab)](_0xf263be['_test'][_0xc035f5(0x196)],'-'),_0xf263be['_test']['id']),'-'),_0xf263be[_0xc035f5(0x1a1)]);}static[a23_0x454e1e(0x181)](_0x40f1d5){const _0x1df5d2=a23_0x454e1e,_0x1dbafe=this['getFilePath'](_0x40f1d5);if(fs['existsSync'](_0x1dbafe)){const _0x18d0a7=JSON['parse'](fs[_0x1df5d2(0x186)](_0x1dbafe)['toString']());return this[_0x1df5d2(0x19e)][_0x40f1d5]=_0x18d0a7,this[_0x1df5d2(0x19e)][_0x40f1d5][_0x1df5d2(0x189)];}}static['setTestData'](_0x57d86b){const _0x5de399=a23_0x454e1e,_0x16aed0={};_0x16aed0[_0x5de399(0x19f)]=_0x5de399(0x1a3);const _0x1d5421=_0x16aed0,_0xdf5144=path['join'](this[_0x5de399(0x1a2)],_0x1d5421[_0x5de399(0x19f)]);fs[_0x5de399(0x190)](_0xdf5144,JSON[_0x5de399(0x187)](_0x57d86b));}static[a23_0x454e1e(0x180)](){const _0x2a0cce=a23_0x454e1e,_0x17140f={};_0x17140f[_0x2a0cce(0x19d)]=_0x2a0cce(0x1a3);const _0x454f2e=_0x17140f,_0xd98a95=path[_0x2a0cce(0x1a6)](this[_0x2a0cce(0x1a2)],_0x454f2e[_0x2a0cce(0x19d)]);let _0x5ccf69={};try{return fs['existsSync'](_0xd98a95)&&(_0x5ccf69=JSON['parse'](fs[_0x2a0cce(0x186)](_0xd98a95)[_0x2a0cce(0x18f)]())),_0x5ccf69;}catch(_0x8152ff){return _0x5ccf69;}}static[a23_0x454e1e(0x195)](_0x185d4d){const _0x29fd9d=a23_0x454e1e,_0x11f014={'KXDTO':function(_0x34cf6c){return _0x34cf6c();}},_0xa02c9d=this['getFilePath'](_0x185d4d);return this[_0x29fd9d(0x19e)][_0x185d4d]={'uuid':_0x11f014[_0x29fd9d(0x1a5)](uuidv4)},fs['writeFileSync'](_0xa02c9d,JSON[_0x29fd9d(0x187)](this[_0x29fd9d(0x19e)][_0x185d4d])),this[_0x29fd9d(0x19e)][_0x185d4d][_0x29fd9d(0x189)];}static[a23_0x454e1e(0x191)](_0x4fd917){const _0x591cf2=a23_0x454e1e,_0x46d127=this['getFilePath'](_0x4fd917);fs[_0x591cf2(0x18d)](_0x46d127)&&fs['unlinkSync'](_0x46d127);}static['shutdown'](){const _0x5dd61f=a23_0x454e1e,_0x34892d={};_0x34892d[_0x5dd61f(0x19c)]=!![],_0x34892d['force']=!![],fs['rmSync'](this[_0x5dd61f(0x1a2)],_0x34892d);}}module['exports']=TestDetails;
@@ -1 +1 @@
1
- const a24_0x41a402=a24_0x2321;function a24_0x2321(_0x480ba6,_0x193cb7){const _0x492855=a24_0x4928();return a24_0x2321=function(_0x232114,_0xacec01){_0x232114=_0x232114-0x19a;let _0x3dbf63=_0x492855[_0x232114];return _0x3dbf63;},a24_0x2321(_0x480ba6,_0x193cb7);}(function(_0x4ae4c3,_0x5d03d4){const _0x1bb59b=a24_0x2321,_0xe4b445=_0x4ae4c3();while(!![]){try{const _0x57512f=-parseInt(_0x1bb59b(0x19e))/0x1*(parseInt(_0x1bb59b(0x19b))/0x2)+-parseInt(_0x1bb59b(0x1a7))/0x3+parseInt(_0x1bb59b(0x1a5))/0x4*(-parseInt(_0x1bb59b(0x19a))/0x5)+parseInt(_0x1bb59b(0x1a9))/0x6+parseInt(_0x1bb59b(0x19d))/0x7*(-parseInt(_0x1bb59b(0x1a6))/0x8)+parseInt(_0x1bb59b(0x1a4))/0x9+parseInt(_0x1bb59b(0x1a3))/0xa*(parseInt(_0x1bb59b(0x1a2))/0xb);if(_0x57512f===_0x5d03d4)break;else _0xe4b445['push'](_0xe4b445['shift']());}catch(_0x5d40e5){_0xe4b445['push'](_0xe4b445['shift']());}}}(a24_0x4928,0xeaf69));const {requireModule}=require(a24_0x41a402(0x1a0));require(a24_0x41a402(0x19f))();const __wd__=requireModule(a24_0x41a402(0x19c));for(const key of Object[a24_0x41a402(0x1a8)](global[a24_0x41a402(0x1a1)])){__wd__[key]=global['__webdriver'][key];}function a24_0x4928(){const _0x456f05=['../../helpers/helper','__webdriver','121tNmMFX','1916300fSXvjB','15198309abrtrv','74476bavtce','4679784vViEbc','5630145ItingF','keys','7176750TebilY','335vixiIy','2388DOawEO','selenium-webdriver','7LOdDVz','269srVsSB','../../helpers/setKeepAlive'];a24_0x4928=function(){return _0x456f05;};return a24_0x4928();}
1
+ const a24_0x5302a4=a24_0x1ea4;function a24_0x1ea4(_0x11ed6a,_0x3acd9a){const _0x13a1e5=a24_0x13a1();return a24_0x1ea4=function(_0x1ea4d5,_0x2bb0dc){_0x1ea4d5=_0x1ea4d5-0x120;let _0x17665e=_0x13a1e5[_0x1ea4d5];return _0x17665e;},a24_0x1ea4(_0x11ed6a,_0x3acd9a);}(function(_0xc3783a,_0x494ff3){const _0x5b89c2=a24_0x1ea4,_0x32639b=_0xc3783a();while(!![]){try{const _0x316722=-parseInt(_0x5b89c2(0x125))/0x1*(parseInt(_0x5b89c2(0x128))/0x2)+parseInt(_0x5b89c2(0x126))/0x3+parseInt(_0x5b89c2(0x12a))/0x4*(-parseInt(_0x5b89c2(0x123))/0x5)+-parseInt(_0x5b89c2(0x12d))/0x6*(-parseInt(_0x5b89c2(0x122))/0x7)+parseInt(_0x5b89c2(0x12b))/0x8+parseInt(_0x5b89c2(0x121))/0x9*(parseInt(_0x5b89c2(0x124))/0xa)+parseInt(_0x5b89c2(0x129))/0xb*(-parseInt(_0x5b89c2(0x120))/0xc);if(_0x316722===_0x494ff3)break;else _0x32639b['push'](_0x32639b['shift']());}catch(_0x1f3a9a){_0x32639b['push'](_0x32639b['shift']());}}}(a24_0x13a1,0x89e04));const {requireModule}=require('../../helpers/helper');require('../../helpers/setKeepAlive')();const __wd__=requireModule('selenium-webdriver');for(const key of Object[a24_0x5302a4(0x12c)](global[a24_0x5302a4(0x127)])){__wd__[key]=global[a24_0x5302a4(0x127)][key];}function a24_0x13a1(){const _0x3e241a=['2202215GrWzUT','8448040JLOMiS','3LmsfZr','3000996hNOrwB','__webdriver','643246LePcoZ','627iBOqoQ','4rHEGXJ','8184216JIZcGD','keys','537396MysEyz','226788dUASPb','9odbpeE','14cLVhoE'];a24_0x13a1=function(){return _0x3e241a;};return a24_0x13a1();}
@@ -1 +1 @@
1
- const a25_0x4725a8=a25_0x3ac7;(function(_0x7370b5,_0x2a2634){const _0x5ad7b3=a25_0x3ac7,_0x12270c=_0x7370b5();while(!![]){try{const _0x55e913=parseInt(_0x5ad7b3(0x101))/0x1+parseInt(_0x5ad7b3(0xfa))/0x2+parseInt(_0x5ad7b3(0x11c))/0x3+-parseInt(_0x5ad7b3(0x112))/0x4+parseInt(_0x5ad7b3(0x10c))/0x5+-parseInt(_0x5ad7b3(0x120))/0x6*(-parseInt(_0x5ad7b3(0x108))/0x7)+-parseInt(_0x5ad7b3(0x126))/0x8;if(_0x55e913===_0x2a2634)break;else _0x12270c['push'](_0x12270c['shift']());}catch(_0x277dbf){_0x12270c['push'](_0x12270c['shift']());}}}(a25_0x5783,0xaf76a));function a25_0x5783(){const _0xe1c697=['_argv','2291930YybNOQ','__platform__','_capability','testSuites','AI_ENABLED_FRAMEWORK','../../helpers/accessibility-automation/helper','1706376mmsqEP','../../helpers/helper','setupCucumber','testsErrorMessage','resolvePaths','testsPending','configuration','testsSkipped','mochaOpts','split','3095544AiBwYf','__platformCaps','GwHbX','path','42Folckh','testsFailed','_testObservability','VpRpv','framework','testsUndefined','26386032weOulp','testSuitesFailed','543746XxJmCS','_formatter','capability','platformCaps','18|6|15|11|2|0|21|17|5|3|23|14|9|7|8|1|13|16|19|22|10|4|12|20','includes','platform','1267705taAlcX','setConfig','../../helpers/test-observability/requestQueueHandler','_configuration','formatter','_mochaOpts','../utils/constants','1413734mfsLrp','totalTests','_framework'];a25_0x5783=function(){return _0xe1c697;};return a25_0x5783();}const path=require(a25_0x4725a8(0x11f)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x4725a8(0x113)),constants=require(a25_0x4725a8(0x107)),{isAccessibilityAutomationSession}=require(a25_0x4725a8(0x111)),RequestQueueHandler=require(a25_0x4725a8(0x103)),{isTestObservabilitySession}=require('../../helpers/test-observability/utils'),helper=require(a25_0x4725a8(0x113)),{commandRepository}=require('../../helpers/ai-sdk/autoHealHelper');function a25_0x3ac7(_0x127aa6,_0x24a5db){const _0x57836a=a25_0x5783();return a25_0x3ac7=function(_0x3ac75a,_0x5c4148){_0x3ac75a=_0x3ac75a-0xf9;let _0x1ae9b3=_0x57836a[_0x3ac75a];return _0x1ae9b3;},a25_0x3ac7(_0x127aa6,_0x24a5db);}class Launcher{constructor(_0x9491d1,_0x449f27,_0x48324e,_0x2c087b=[]){const _0x333174=a25_0x4725a8,_0x2a58f5={'VpRpv':_0x333174(0xfe),'GwHbX':function(_0xcf7487){return _0xcf7487();},'cOXMB':function(_0x1863b3){return _0x1863b3();}},_0x5d2591=_0x2a58f5[_0x333174(0x123)][_0x333174(0x11b)]('|');let _0x31067a=0x0;while(!![]){switch(_0x5d2591[_0x31067a++]){case'0':this[_0x333174(0x10e)]=this['_configuration'][_0x333174(0xfc)];continue;case'1':global[_0x333174(0x121)]=0x0;continue;case'2':this[_0x333174(0xfb)]=_0x449f27[_0x333174(0x105)];continue;case'3':this[_0x333174(0x122)]=_0x2a58f5[_0x333174(0x11e)](isTestObservabilitySession);continue;case'4':global['testsAmbiguous']=0x0;continue;case'5':this['_bsConfig']=_0x48324e;continue;case'6':this[_0x333174(0x104)]=_0x449f27[_0x333174(0x118)]||{};continue;case'7':global[_0x333174(0x109)]=0x0;continue;case'8':global['testsPassed']=0x0;continue;case'9':global[_0x333174(0x10f)]=0x0;continue;case'10':global['testsUnknown']=0x0;continue;case'11':this[_0x333174(0x106)]=_0x449f27[_0x333174(0x11a)];continue;case'12':global[_0x333174(0x115)]={};continue;case'13':global[_0x333174(0x117)]=0x0;continue;case'14':global[_0x333174(0x11d)]=this['_configuration'][_0x333174(0xfd)]||{};continue;case'15':this[_0x333174(0x104)][_0x333174(0x124)]=_0x9491d1;continue;case'16':global[_0x333174(0x119)]=0x0;continue;case'17':this[_0x333174(0x10b)]=_0x2c087b;continue;case'18':this[_0x333174(0x10a)]=_0x9491d1;continue;case'19':global[_0x333174(0xf9)]=0x0;continue;case'20':!constants[_0x333174(0x110)][_0x333174(0xff)](_0x9491d1)&&(commandRepository[_0x333174(0x102)](_0x48324e),commandRepository['setFramework'](_0x9491d1));continue;case'21':global[_0x333174(0x10d)]=this[_0x333174(0x104)][_0x333174(0x100)];continue;case'22':global[_0x333174(0x125)]=0x0;continue;case'23':this['_accessibilityAutomation']=_0x2a58f5['cOXMB'](isAccessibilityAutomationSession);continue;}break;}}[a25_0x4725a8(0x114)](_0x47d8f6,_0xaec80a,_0x5a7a9a){const _0x55bf0a=a25_0x4725a8,_0x5c03f1=_0x47d8f6[_0x55bf0a(0x116)];_0x47d8f6.resolvePaths=async function(){const pathResults=await _0x5c03f1.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x5a7a9a));return pathResults;},_0xaec80a.push('--format'),_0xaec80a.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','mocha');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;if(!helper.isUndefined(this._mochaOpts.mochaRequire)){this._mochaOpts.require=this._mochaOpts.mochaRequire;const plugins=await mochaRunHelper.handleRequires([this._mochaOpts.require]);Object.assign(this._mochaOpts,plugins);}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);}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={};Object.assign(mochaOpts,this._mochaOpts);const reporterOption={};Object.assign(reporterOption,this._mochaOpts.reporterOptions);Object.assign(reporterOption,{type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig});mochaOpts.reporterOption=reporterOption;Object.assign(mochaOpts,{reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),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;global.capabilities=[this._capability];try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js','@cucumber/cucumber');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js','cucumber');}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','@cucumber/cucumber');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js','@cucumber/cucumber');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','@cucumber/cucumber').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','cucumber').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'){global.capabilities=[this._capability];process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}module.exports=Launcher;
1
+ const a25_0x32d07c=a25_0x1bb0;(function(_0x55e834,_0x58f4b4){const _0x24e834=a25_0x1bb0,_0x2f6d86=_0x55e834();while(!![]){try{const _0x280ed4=-parseInt(_0x24e834(0x14f))/0x1*(parseInt(_0x24e834(0x156))/0x2)+parseInt(_0x24e834(0x163))/0x3+parseInt(_0x24e834(0x15a))/0x4+-parseInt(_0x24e834(0x157))/0x5+parseInt(_0x24e834(0x137))/0x6+-parseInt(_0x24e834(0x13d))/0x7+parseInt(_0x24e834(0x142))/0x8*(parseInt(_0x24e834(0x14b))/0x9);if(_0x280ed4===_0x58f4b4)break;else _0x2f6d86['push'](_0x2f6d86['shift']());}catch(_0x408d94){_0x2f6d86['push'](_0x2f6d86['shift']());}}}(a25_0x5879,0x1e3b2));function a25_0x5879(){const _0x371b58=['EVENTS','testSuites','2nWyZnH','263820EvXQyb','path','dPzTL','427152lZMmll','../../helpers/performance/performance-tester','__platformCaps','AI_ENABLED_FRAMEWORK','testsUndefined','setConfig','_capability','setupCucumber','testsErrorMessage','329241HVghlz','../utils/constants','mochaOpts','split','_configuration','724260HHOoPD','_argv','testsUnknown','_formatter','_framework','testsAmbiguous','893102YTfmkh','formatter','../../helpers/helper','configuration','platformCaps','8pGDoQQ','fzlTO','totalTests','setFramework','platform','_bsConfig','testsSkipped','testSuitesFailed','../../helpers/ai-sdk/autoHealHelper','564606IoNize','testsPassed','../../helpers/test-observability/utils','_accessibilityAutomation','95803AScFSM','_mochaOpts','SedUg','testsPending','framework'];a25_0x5879=function(){return _0x371b58;};return a25_0x5879();}const path=require(a25_0x32d07c(0x158)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x32d07c(0x13f)),constants=require(a25_0x32d07c(0x133)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{isTestObservabilitySession}=require(a25_0x32d07c(0x14d)),helper=require(a25_0x32d07c(0x13f)),PerformanceTester=require(a25_0x32d07c(0x15b)),PerformanceEvents=require('../../helpers/performance/constants')[a25_0x32d07c(0x154)],{commandRepository}=require(a25_0x32d07c(0x14a));function a25_0x1bb0(_0x85bddf,_0x261cd6){const _0x5879e4=a25_0x5879();return a25_0x1bb0=function(_0x1bb0a7,_0x58ad63){_0x1bb0a7=_0x1bb0a7-0x133;let _0x32d019=_0x5879e4[_0x1bb0a7];return _0x32d019;},a25_0x1bb0(_0x85bddf,_0x261cd6);}class Launcher{constructor(_0xd706d,_0x5c8738,_0x160ec3,_0xd1a024=[]){const _0x3f8b3f=a25_0x32d07c,_0x9ec0e1={'SedUg':'2|3|23|9|8|15|1|16|18|11|12|22|7|10|20|14|13|0|17|6|5|19|21|4','dPzTL':function(_0x3f4cb6){return _0x3f4cb6();},'fzlTO':function(_0x43ff95){return _0x43ff95();}},_0x33e2aa=_0x9ec0e1[_0x3f8b3f(0x151)][_0x3f8b3f(0x135)]('|');let _0xf9f51a=0x0;while(!![]){switch(_0x33e2aa[_0xf9f51a++]){case'0':global[_0x3f8b3f(0x148)]=0x0;continue;case'1':global['__platform__']=this[_0x3f8b3f(0x136)][_0x3f8b3f(0x146)];continue;case'2':this[_0x3f8b3f(0x13b)]=_0xd706d;continue;case'3':this[_0x3f8b3f(0x136)]=_0x5c8738[_0x3f8b3f(0x140)]||{};continue;case'4':!constants[_0x3f8b3f(0x15d)]['includes'](_0xd706d)&&(commandRepository[_0x3f8b3f(0x15f)](_0x160ec3),commandRepository[_0x3f8b3f(0x145)](_0xd706d));continue;case'5':global[_0x3f8b3f(0x139)]=0x0;continue;case'6':global[_0x3f8b3f(0x15e)]=0x0;continue;case'7':global[_0x3f8b3f(0x155)]=0x0;continue;case'8':this[_0x3f8b3f(0x13a)]=_0x5c8738[_0x3f8b3f(0x13e)];continue;case'9':this[_0x3f8b3f(0x150)]=_0x5c8738[_0x3f8b3f(0x134)];continue;case'10':global[_0x3f8b3f(0x144)]=0x0;continue;case'11':this['_testObservability']=_0x9ec0e1[_0x3f8b3f(0x159)](isTestObservabilitySession);continue;case'12':this[_0x3f8b3f(0x14e)]=_0x9ec0e1[_0x3f8b3f(0x143)](isAccessibilityAutomationSession);continue;case'13':global[_0x3f8b3f(0x152)]=0x0;continue;case'14':global['testsFailed']=0x0;continue;case'15':this[_0x3f8b3f(0x160)]=this[_0x3f8b3f(0x136)]['capability'];continue;case'16':this[_0x3f8b3f(0x138)]=_0xd1a024;continue;case'17':global[_0x3f8b3f(0x149)]=0x0;continue;case'18':this[_0x3f8b3f(0x147)]=_0x160ec3;continue;case'19':global[_0x3f8b3f(0x13c)]=0x0;continue;case'20':global[_0x3f8b3f(0x14c)]=0x0;continue;case'21':global[_0x3f8b3f(0x162)]={};continue;case'22':global[_0x3f8b3f(0x15c)]=this[_0x3f8b3f(0x136)][_0x3f8b3f(0x141)]||{};continue;case'23':this['_configuration'][_0x3f8b3f(0x153)]=_0xd706d;continue;}break;}}[a25_0x32d07c(0x161)](_0x5d545d,_0x121c65,_0xee23af){const _0x4c2ea7=_0x5d545d['resolvePaths'];_0x5d545d.resolvePaths=async function(){const pathResults=await _0x4c2ea7.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0xee23af));return pathResults;},_0x121c65.push('--format'),_0x121c65.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{PerformanceTester.start(PerformanceEvents.SDK_PRE_TEST);require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js','mocha');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;if(!helper.isUndefined(this._mochaOpts.mochaRequire)){this._mochaOpts.require=this._mochaOpts.mochaRequire;const plugins=await mochaRunHelper.handleRequires([this._mochaOpts.require]);Object.assign(this._mochaOpts,plugins);}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);}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={};Object.assign(mochaOpts,this._mochaOpts);const reporterOption={};Object.assign(reporterOption,this._mochaOpts.reporterOptions);Object.assign(reporterOption,{type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig});mochaOpts.reporterOption=reporterOption;Object.assign(mochaOpts,{reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),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()=>{PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}PerformanceTester.end(PerformanceEvents.SDK_PRE_TEST);const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;global.capabilities=[this._capability];try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js','@cucumber/cucumber');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js','cucumber');}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','@cucumber/cucumber');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js','@cucumber/cucumber');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','@cucumber/cucumber').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','cucumber').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'){global.capabilities=[this._capability];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 +1 @@
1
- function a26_0x44a0(_0xbace73,_0x1e6345){const _0x551e95=a26_0x551e();return a26_0x44a0=function(_0x44a004,_0x563485){_0x44a004=_0x44a004-0x150;let _0xdf86ce=_0x551e95[_0x44a004];return _0xdf86ce;},a26_0x44a0(_0xbace73,_0x1e6345);}function a26_0x551e(){const _0x70270f=['setAccessibilityCapabilities','../../../helpers/logger','136PdvnGz','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','parse','hzlhi','requireModule','browserName','browserstack.accessibilityOptions','BuagC','30NEtZXt','warn','BAOab','device','24745hDhOaS','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','authToken','isAccessibilityPlatform','Exception\x20in\x20setExtension\x20Error:\x20','capabilities_','get','debug','env','getPlatformVersion','FzaBb','args','scannerVersion','RYkyc','getCapabilities','getBrowserVersion','wieDp','cNVEv','getBrowserName','capability','HjQpP','BS_A11Y_JWT','jDAfy','selenium-webdriver/chrome.js','Options','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','5456066oGOrND','latest','343226SLoKuL','OZLKd','KoRwY','aJARG','selenium-webdriver','188254ZQPlFp','dnwdQ','setExtension','bstack:options','chromeOptions','62703KEEiiH','toLowerCase','xWQao','browser_version','36suPeDB','sbQVx','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','nestedKeyValue','browserstack.accessibility','accessibilityOptions','khnGD','../../../helpers/helper','DoSnd','bEpwn','McFKx','deviceName','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','12nalhPG','292570EBeLbD','SprLW','--headless','format','getPlatform','hNkhI','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','browserVersion','nGUmu','accessibility','chromeOptions_','dWVtp','32646XkKoYa','chrome'];a26_0x551e=function(){return _0x70270f;};return a26_0x551e();}const a26_0x9b17b5=a26_0x44a0;(function(_0x5ee71a,_0x4e7b29){const _0x5a37bf=a26_0x44a0,_0x20b084=_0x5ee71a();while(!![]){try{const _0xa08af1=-parseInt(_0x5a37bf(0x19a))/0x1+-parseInt(_0x5a37bf(0x195))/0x2+parseInt(_0x5a37bf(0x169))/0x3*(-parseInt(_0x5a37bf(0x1a3))/0x4)+-parseInt(_0x5a37bf(0x15d))/0x5*(-parseInt(_0x5a37bf(0x15c))/0x6)+parseInt(_0x5a37bf(0x179))/0x7*(-parseInt(_0x5a37bf(0x16d))/0x8)+-parseInt(_0x5a37bf(0x19f))/0x9*(-parseInt(_0x5a37bf(0x175))/0xa)+parseInt(_0x5a37bf(0x193))/0xb;if(_0xa08af1===_0x4e7b29)break;else _0x20b084['push'](_0x20b084['shift']());}catch(_0xea8f87){_0x20b084['push'](_0x20b084['shift']());}}}(a26_0x551e,0x1c543));const path=require('path'),os=require('os'),util=require('util'),bsSetupHelper=require(a26_0x9b17b5(0x156)),globals=require('../../../helpers/globals'),logger=require(a26_0x9b17b5(0x16c))['winstonLogger'];exports[a26_0x9b17b5(0x16b)]=_0x5bc88f=>{const _0xdfc8fe=a26_0x9b17b5,_0x2848d5={};_0x2848d5[_0xdfc8fe(0x170)]=_0xdfc8fe(0x19d),_0x2848d5[_0xdfc8fe(0x198)]=_0xdfc8fe(0x153),_0x2848d5[_0xdfc8fe(0x158)]=_0xdfc8fe(0x17c),_0x2848d5[_0xdfc8fe(0x150)]=_0xdfc8fe(0x173);const _0x4039c0=_0x2848d5;try{const _0x5bfdce=_0x5bc88f[_0xdfc8fe(0x18c)]||{};if(_0x5bfdce[_0x4039c0[_0xdfc8fe(0x170)]]&&_0x5bfdce[_0x4039c0[_0xdfc8fe(0x170)]][_0xdfc8fe(0x166)]||_0x5bc88f[_0xdfc8fe(0x18c)][_0x4039c0['aJARG']]){globals['setGlobal'](_0x4039c0[_0xdfc8fe(0x158)],!![]);if(_0x5bfdce[_0x4039c0[_0xdfc8fe(0x170)]]){if(_0x5bfdce[_0x4039c0[_0xdfc8fe(0x170)]]['accessibilityOptions'])_0x5bfdce[_0x4039c0['hzlhi']][_0xdfc8fe(0x154)][_0xdfc8fe(0x17b)]=process['env'][_0xdfc8fe(0x18e)];else{const _0x8049c7={};_0x8049c7[_0xdfc8fe(0x17b)]=process[_0xdfc8fe(0x181)]['BS_A11Y_JWT'],_0x5bfdce[_0x4039c0[_0xdfc8fe(0x170)]][_0xdfc8fe(0x154)]=_0x8049c7;}_0x5bfdce[_0x4039c0[_0xdfc8fe(0x170)]]['accessibilityOptions'][_0xdfc8fe(0x185)]=JSON[_0xdfc8fe(0x16f)](process[_0xdfc8fe(0x181)][_0xdfc8fe(0x192)])[_0xdfc8fe(0x185)];}else{if(_0x5bc88f['capability'][_0x4039c0['aJARG']]){if(_0x5bfdce[_0x4039c0[_0xdfc8fe(0x150)]])_0x5bfdce[_0x4039c0['sbQVx']]['authToken']=process[_0xdfc8fe(0x181)][_0xdfc8fe(0x18e)];else{const _0x2342fc={};_0x2342fc[_0xdfc8fe(0x17b)]=process[_0xdfc8fe(0x181)]['BS_A11Y_JWT'],_0x5bfdce[_0x4039c0[_0xdfc8fe(0x150)]]=_0x2342fc;}_0x5bfdce[_0x4039c0['sbQVx']]['scannerVersion']=JSON[_0xdfc8fe(0x16f)](process[_0xdfc8fe(0x181)][_0xdfc8fe(0x192)])[_0xdfc8fe(0x185)];}}}}catch(_0x592e0b){logger[_0xdfc8fe(0x180)](_0xdfc8fe(0x163)+_0x592e0b);}},exports[a26_0x9b17b5(0x19c)]=(_0x2ab594,_0x4c1553)=>{const _0x42829c=a26_0x9b17b5,_0x16ac60={};_0x16ac60[_0x42829c(0x196)]=_0x42829c(0x19d),_0x16ac60['HjQpP']=function(_0x1e73ad,_0x26d26d){return _0x1e73ad!==_0x26d26d;},_0x16ac60[_0x42829c(0x18f)]=_0x42829c(0x16e),_0x16ac60[_0x42829c(0x186)]=function(_0x14b22a,_0x19f0af){return _0x14b22a!==_0x19f0af;},_0x16ac60[_0x42829c(0x18a)]=_0x42829c(0x16a),_0x16ac60[_0x42829c(0x15e)]=_0x42829c(0x17a),_0x16ac60[_0x42829c(0x159)]=function(_0x2bd64b,_0x221c92){return _0x2bd64b===_0x221c92;},_0x16ac60['xWQao']=_0x42829c(0x194),_0x16ac60[_0x42829c(0x162)]=function(_0xbc9d9,_0x125ae6){return _0xbc9d9>_0x125ae6;},_0x16ac60[_0x42829c(0x197)]='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.',_0x16ac60['BAOab']=_0x42829c(0x190),_0x16ac60[_0x42829c(0x157)]=_0x42829c(0x199),_0x16ac60[_0x42829c(0x183)]='options_',_0x16ac60[_0x42829c(0x189)]=_0x42829c(0x184),_0x16ac60[_0x42829c(0x155)]=_0x42829c(0x19e),_0x16ac60[_0x42829c(0x168)]=_0x42829c(0x15f),_0x16ac60[_0x42829c(0x174)]=_0x42829c(0x15b);const _0x37ad49=_0x16ac60;try{const _0x4b2713=_0x4c1553[_0x42829c(0x18c)]||{},_0x28bd62=(_0x4b2713[_0x37ad49[_0x42829c(0x196)]]?_0x4b2713[_0x37ad49[_0x42829c(0x196)]][_0x42829c(0x15a)]:_0x4b2713[_0x42829c(0x178)])||'';if(_0x37ad49[_0x42829c(0x18d)](_0x28bd62,''))return logger['warn'](_0x37ad49[_0x42829c(0x18f)]),![];const _0x3e8de5=_0x4b2713[_0x42829c(0x172)]||_0x2ab594[_0x42829c(0x17e)]['getBrowserName']();if(_0x37ad49[_0x42829c(0x186)](_0x3e8de5[_0x42829c(0x1a0)](),_0x37ad49[_0x42829c(0x18a)]))return logger[_0x42829c(0x176)](_0x37ad49[_0x42829c(0x15e)]),![];const _0x2497df=_0x4b2713[_0x42829c(0x164)]||_0x4b2713[_0x42829c(0x1a2)]||_0x2ab594[_0x42829c(0x17e)][_0x42829c(0x188)]();if(!bsSetupHelper['isUndefined'](_0x2497df)&&!(_0x37ad49[_0x42829c(0x159)](_0x2497df,_0x37ad49[_0x42829c(0x1a1)])||_0x37ad49[_0x42829c(0x162)](_0x2497df,0x5e)))return logger['warn'](_0x37ad49['KoRwY']),![];let _0x3ad995;try{_0x3ad995=bsSetupHelper[_0x42829c(0x171)](_0x37ad49[_0x42829c(0x177)],_0x37ad49[_0x42829c(0x157)]);}catch(_0x393a24){return![];}const _0x329567=new _0x3ad995[(_0x42829c(0x191))](_0x2ab594[_0x42829c(0x167)]),_0x402bfd=bsSetupHelper[_0x42829c(0x152)](_0x329567,[_0x37ad49[_0x42829c(0x183)],_0x37ad49[_0x42829c(0x189)]])||bsSetupHelper[_0x42829c(0x152)](_0x2ab594[_0x42829c(0x17e)][_0x42829c(0x17f)](_0x37ad49[_0x42829c(0x196)]),[_0x37ad49[_0x42829c(0x155)],_0x37ad49[_0x42829c(0x189)]])||bsSetupHelper[_0x42829c(0x152)](_0x2ab594[_0x42829c(0x17e)][_0x42829c(0x17f)](_0x37ad49[_0x42829c(0x155)]),[_0x37ad49[_0x42829c(0x189)]])||[];if(_0x402bfd['includes'](_0x37ad49[_0x42829c(0x168)]))return logger[_0x42829c(0x176)](_0x37ad49[_0x42829c(0x174)]),![];return!![];}catch(_0x5cd454){logger[_0x42829c(0x180)](_0x42829c(0x17d)+util[_0x42829c(0x160)](_0x5cd454));}return![];},exports['fetchPlatformDetails']=async _0x42a580=>{const _0x5cd51c=a26_0x9b17b5,_0x46f284={};_0x46f284['nGUmu']=function(_0x12dcd2,_0x12c59d){return _0x12dcd2===_0x12c59d;},_0x46f284[_0x5cd51c(0x19b)]='browserstack';const _0x51fce6=_0x46f284;let _0x292b9a={};try{const _0x13edf7=await _0x42a580[_0x5cd51c(0x187)]();_0x292b9a={'os_name':_0x13edf7[_0x5cd51c(0x161)](),'os_version':bsSetupHelper[_0x5cd51c(0x182)](_0x51fce6[_0x5cd51c(0x165)](global['__cloud_provider___'],_0x51fce6[_0x5cd51c(0x19b)])),'browser_name':_0x13edf7[_0x5cd51c(0x18b)](),'browser_version':_0x13edf7[_0x5cd51c(0x188)]()};}catch(_0x2c8e48){logger[_0x5cd51c(0x180)](_0x5cd51c(0x151)+_0x2c8e48);}return _0x292b9a;};
1
+ function a26_0x20dc(){const _0x5f0784=['tWOVA','VLnhl','selenium-webdriver','40TrNqVE','TIjLa','bstack:options','TKxJX','QrbPx','toLowerCase','BS_A11Y_JWT','capability','setExtension','RjRsE','Zfcqn','getCapabilities','wrfuT','xpyLn','setAccessibilityCapabilities','includes','ZalZp','isUndefined','Options','14593maOoFZ','--headless','2842330aZXFTP','get','authToken','args','browserstack.accessibility','browser_version','oFEmN','env','accessibilityOptions','chrome','50533YdVRlH','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','WbLOT','nestedKeyValue','isAccessibilityPlatform','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','browserName','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','../../../helpers/helper','ZCgpk','TwdCj','getBrowserVersion','2141937ntgADK','__cloud_provider___','requireModule','4702464HqnGuK','DHkTx','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','browserstack.accessibilityOptions','kwQGW','latest','selenium-webdriver/chrome.js','getPlatformVersion','fetchPlatformDetails','warn','format','util','capabilities_','deviceName','accessibility','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','JvbpI','parse','chromeOptions_','vNYeA','browserVersion','../../../helpers/logger','setGlobal','CCqVy','8FyXOlg','getBrowserName','11hFIcOr','Exception\x20in\x20setExtension\x20Error:\x20','YtXDX','953154kaQbqm','winstonLogger','device','scannerVersion','chromeOptions','zHMoh','OmrRH','34TnwJQI','options_','31738430JCyoGH','debug','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','../../../helpers/globals'];a26_0x20dc=function(){return _0x5f0784;};return a26_0x20dc();}const a26_0x482f57=a26_0x472b;function a26_0x472b(_0x264b3a,_0x1ee8d6){const _0x20dc69=a26_0x20dc();return a26_0x472b=function(_0x472b21,_0x42023a){_0x472b21=_0x472b21-0x17f;let _0x5f8071=_0x20dc69[_0x472b21];return _0x5f8071;},a26_0x472b(_0x264b3a,_0x1ee8d6);}(function(_0x50c464,_0x30dffa){const _0x1f3520=a26_0x472b,_0x5b96b2=_0x50c464();while(!![]){try{const _0x569cb2=parseInt(_0x1f3520(0x1b1))/0x1*(parseInt(_0x1f3520(0x195))/0x2)+-parseInt(_0x1f3520(0x1ca))/0x3+parseInt(_0x1f3520(0x189))/0x4*(-parseInt(_0x1f3520(0x1b3))/0x5)+-parseInt(_0x1f3520(0x1cd))/0x6+-parseInt(_0x1f3520(0x1bd))/0x7*(parseInt(_0x1f3520(0x19e))/0x8)+parseInt(_0x1f3520(0x18e))/0x9+parseInt(_0x1f3520(0x197))/0xa*(parseInt(_0x1f3520(0x18b))/0xb);if(_0x569cb2===_0x30dffa)break;else _0x5b96b2['push'](_0x5b96b2['shift']());}catch(_0x1d0c73){_0x5b96b2['push'](_0x5b96b2['shift']());}}}(a26_0x20dc,0xd13f8));const path=require('path'),os=require('os'),util=require(a26_0x482f57(0x1d8)),bsSetupHelper=require(a26_0x482f57(0x1c6)),globals=require(a26_0x482f57(0x19a)),logger=require(a26_0x482f57(0x186))[a26_0x482f57(0x18f)];exports[a26_0x482f57(0x1ac)]=_0x4c1ecc=>{const _0x4df1fa=a26_0x482f57,_0x5f449b={};_0x5f449b['xpyLn']=_0x4df1fa(0x1a0),_0x5f449b['oFEmN']=_0x4df1fa(0x1b7),_0x5f449b[_0x4df1fa(0x1ae)]=_0x4df1fa(0x1c1),_0x5f449b['ZCgpk']=_0x4df1fa(0x1d0);const _0x476d63=_0x5f449b;try{const _0x2422a9=_0x4c1ecc['capability']||{};if(_0x2422a9[_0x476d63['xpyLn']]&&_0x2422a9[_0x476d63[_0x4df1fa(0x1ab)]][_0x4df1fa(0x17f)]||_0x4c1ecc['capability'][_0x476d63['oFEmN']]){globals[_0x4df1fa(0x187)](_0x476d63[_0x4df1fa(0x1ae)],!![]);if(_0x2422a9[_0x476d63[_0x4df1fa(0x1ab)]]){if(_0x2422a9[_0x476d63['xpyLn']][_0x4df1fa(0x1bb)])_0x2422a9[_0x476d63[_0x4df1fa(0x1ab)]]['accessibilityOptions'][_0x4df1fa(0x1b5)]=process['env'][_0x4df1fa(0x1a4)];else{const _0x5d9f48={};_0x5d9f48[_0x4df1fa(0x1b5)]=process[_0x4df1fa(0x1ba)][_0x4df1fa(0x1a4)],_0x2422a9[_0x476d63[_0x4df1fa(0x1ab)]][_0x4df1fa(0x1bb)]=_0x5d9f48;}_0x2422a9[_0x476d63[_0x4df1fa(0x1ab)]]['accessibilityOptions'][_0x4df1fa(0x191)]=JSON[_0x4df1fa(0x182)](process[_0x4df1fa(0x1ba)][_0x4df1fa(0x1c2)])[_0x4df1fa(0x191)];}else{if(_0x4c1ecc['capability'][_0x476d63[_0x4df1fa(0x1b9)]]){if(_0x2422a9[_0x476d63[_0x4df1fa(0x1c7)]])_0x2422a9[_0x476d63['ZCgpk']][_0x4df1fa(0x1b5)]=process['env'][_0x4df1fa(0x1a4)];else{const _0x455b8a={};_0x455b8a[_0x4df1fa(0x1b5)]=process[_0x4df1fa(0x1ba)][_0x4df1fa(0x1a4)],_0x2422a9[_0x476d63[_0x4df1fa(0x1c7)]]=_0x455b8a;}_0x2422a9[_0x476d63[_0x4df1fa(0x1c7)]][_0x4df1fa(0x191)]=JSON[_0x4df1fa(0x182)](process[_0x4df1fa(0x1ba)][_0x4df1fa(0x1c2)])['scannerVersion'];}}}}catch(_0x3873a5){logger[_0x4df1fa(0x198)](_0x4df1fa(0x1cf)+_0x3873a5);}},exports[a26_0x482f57(0x1a6)]=(_0x4a611b,_0x141cfd)=>{const _0x4aeeef=a26_0x482f57,_0x4e788f={};_0x4e788f[_0x4aeeef(0x18d)]=_0x4aeeef(0x1a0),_0x4e788f[_0x4aeeef(0x181)]=function(_0x37239d,_0x2db310){return _0x37239d!==_0x2db310;},_0x4e788f[_0x4aeeef(0x194)]=_0x4aeeef(0x1be),_0x4e788f[_0x4aeeef(0x1ce)]=_0x4aeeef(0x1bc),_0x4e788f[_0x4aeeef(0x1a2)]=_0x4aeeef(0x199),_0x4e788f[_0x4aeeef(0x1bf)]=function(_0x8627c9,_0x3b729b){return _0x8627c9===_0x3b729b;},_0x4e788f[_0x4aeeef(0x1d1)]=_0x4aeeef(0x1d2),_0x4e788f[_0x4aeeef(0x1a1)]=function(_0x1965f9,_0x5edf5c){return _0x1965f9>_0x5edf5c;},_0x4e788f[_0x4aeeef(0x188)]=_0x4aeeef(0x180),_0x4e788f[_0x4aeeef(0x19b)]=_0x4aeeef(0x1d3),_0x4e788f[_0x4aeeef(0x1aa)]=_0x4aeeef(0x19d),_0x4e788f[_0x4aeeef(0x19f)]=_0x4aeeef(0x196),_0x4e788f[_0x4aeeef(0x1a7)]=_0x4aeeef(0x1b6),_0x4e788f[_0x4aeeef(0x184)]=_0x4aeeef(0x192),_0x4e788f[_0x4aeeef(0x193)]=_0x4aeeef(0x1b2),_0x4e788f[_0x4aeeef(0x1c8)]=_0x4aeeef(0x1c5);const _0x4bd34a=_0x4e788f;try{const _0x2358a7=_0x141cfd[_0x4aeeef(0x1a5)]||{},_0xf7bf1e=(_0x2358a7[_0x4bd34a['YtXDX']]?_0x2358a7[_0x4bd34a['YtXDX']][_0x4aeeef(0x1da)]:_0x2358a7[_0x4aeeef(0x190)])||'';if(_0x4bd34a[_0x4aeeef(0x181)](_0xf7bf1e,''))return logger['warn'](_0x4bd34a['OmrRH']),![];const _0x1a4383=_0x2358a7[_0x4aeeef(0x1c3)]||_0x4a611b[_0x4aeeef(0x1d9)][_0x4aeeef(0x18a)]();if(_0x4bd34a[_0x4aeeef(0x181)](_0x1a4383[_0x4aeeef(0x1a3)](),_0x4bd34a[_0x4aeeef(0x1ce)]))return logger['warn'](_0x4bd34a[_0x4aeeef(0x1a2)]),![];const _0x372298=_0x2358a7[_0x4aeeef(0x185)]||_0x2358a7[_0x4aeeef(0x1b8)]||_0x4a611b[_0x4aeeef(0x1d9)]['getBrowserVersion']();if(!bsSetupHelper[_0x4aeeef(0x1af)](_0x372298)&&!(_0x4bd34a['WbLOT'](_0x372298,_0x4bd34a[_0x4aeeef(0x1d1)])||_0x4bd34a['TKxJX'](_0x372298,0x5e)))return logger[_0x4aeeef(0x1d6)](_0x4bd34a[_0x4aeeef(0x188)]),![];let _0x1a3035;try{_0x1a3035=bsSetupHelper[_0x4aeeef(0x1cc)](_0x4bd34a[_0x4aeeef(0x19b)],_0x4bd34a[_0x4aeeef(0x1aa)]);}catch(_0x2a191d){return![];}const _0xbdf011=new _0x1a3035[(_0x4aeeef(0x1b0))](_0x4a611b[_0x4aeeef(0x183)]),_0x2d5a31=bsSetupHelper[_0x4aeeef(0x1c0)](_0xbdf011,[_0x4bd34a['TIjLa'],_0x4bd34a[_0x4aeeef(0x1a7)]])||bsSetupHelper[_0x4aeeef(0x1c0)](_0x4a611b[_0x4aeeef(0x1d9)][_0x4aeeef(0x1b4)](_0x4bd34a['YtXDX']),[_0x4bd34a[_0x4aeeef(0x184)],_0x4bd34a[_0x4aeeef(0x1a7)]])||bsSetupHelper['nestedKeyValue'](_0x4a611b[_0x4aeeef(0x1d9)][_0x4aeeef(0x1b4)](_0x4bd34a[_0x4aeeef(0x184)]),[_0x4bd34a[_0x4aeeef(0x1a7)]])||[];if(_0x2d5a31[_0x4aeeef(0x1ad)](_0x4bd34a['zHMoh']))return logger['warn'](_0x4bd34a[_0x4aeeef(0x1c8)]),![];return!![];}catch(_0x3a1228){logger[_0x4aeeef(0x198)](_0x4aeeef(0x18c)+util[_0x4aeeef(0x1d7)](_0x3a1228));}return![];},exports[a26_0x482f57(0x1d5)]=async _0x4d0908=>{const _0x389756=a26_0x482f57,_0x53ec05={};_0x53ec05[_0x389756(0x1a8)]=function(_0xe8a1a3,_0x31a558){return _0xe8a1a3===_0x31a558;},_0x53ec05[_0x389756(0x19c)]='browserstack';const _0x20a680=_0x53ec05;let _0x27b90d={};try{const _0x4a083c=await _0x4d0908[_0x389756(0x1a9)]();_0x27b90d={'os_name':_0x4a083c['getPlatform'](),'os_version':bsSetupHelper[_0x389756(0x1d4)](_0x20a680[_0x389756(0x1a8)](global[_0x389756(0x1cb)],_0x20a680['VLnhl'])),'browser_name':_0x4a083c['getBrowserName'](),'browser_version':_0x4a083c[_0x389756(0x1c9)]()};}catch(_0x187980){logger[_0x389756(0x198)](_0x389756(0x1c4)+_0x187980);}return _0x27b90d;};
@@ -1 +1 @@
1
- 'use strict';const a27_0x39ec2b=a27_0x102d;(function(_0x33abb1,_0x5de151){const _0x36367d=a27_0x102d,_0x7c3dae=_0x33abb1();while(!![]){try{const _0x195a84=-parseInt(_0x36367d(0x188))/0x1*(parseInt(_0x36367d(0xa4))/0x2)+parseInt(_0x36367d(0x174))/0x3*(parseInt(_0x36367d(0xb3))/0x4)+-parseInt(_0x36367d(0x17c))/0x5+parseInt(_0x36367d(0x8d))/0x6+-parseInt(_0x36367d(0x13b))/0x7*(parseInt(_0x36367d(0xbd))/0x8)+parseInt(_0x36367d(0x113))/0x9+parseInt(_0x36367d(0x183))/0xa;if(_0x195a84===_0x5de151)break;else _0x7c3dae['push'](_0x7c3dae['shift']());}catch(_0x3bf214){_0x7c3dae['push'](_0x7c3dae['shift']());}}}(a27_0x8a96,0x4720a));const util=require(a27_0x39ec2b(0x11f)),fs=require('fs'),path=require('path'),{requireModule}=require(a27_0x39ec2b(0x172)),Base=requireModule(a27_0x39ec2b(0x15b),'mocha'),utils=requireModule(a27_0x39ec2b(0xb8),a27_0x39ec2b(0x98)),color=Base[a27_0x39ec2b(0x80)],Mocha=requireModule(a27_0x39ec2b(0x98)),Runnable=requireModule(a27_0x39ec2b(0x7b),a27_0x39ec2b(0x98)),{v4:uuidv4}=require(a27_0x39ec2b(0xc5)),bsSetupHelper=require(a27_0x39ec2b(0x172)),testhubUtils=require('../../../helpers/testhub/utils'),centralScannerUtils=require(a27_0x39ec2b(0x116)),testHubConstants=require(a27_0x39ec2b(0x94)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),a27_0x3fa707={};function a27_0x102d(_0x4492db,_0x494824){const _0x8a96b9=a27_0x8a96();return a27_0x102d=function(_0x102d6f,_0x4b2199){_0x102d6f=_0x102d6f-0x73;let _0x2b8013=_0x8a96b9[_0x102d6f];return _0x2b8013;},a27_0x102d(_0x4492db,_0x494824);}a27_0x3fa707[a27_0x39ec2b(0x182)]='BEFORE_ALL',a27_0x3fa707[a27_0x39ec2b(0xe1)]=a27_0x39ec2b(0xe5),a27_0x3fa707[a27_0x39ec2b(0x16e)]=a27_0x39ec2b(0xd8),a27_0x3fa707[a27_0x39ec2b(0xf4)]='AFTER_EACH';const HOOK_TYPES_MAP=a27_0x3fa707,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha[a27_0x39ec2b(0x128)][a27_0x39ec2b(0xf1)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable['constants'],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a27_0x39ec2b(0x17b)),{consoleHolder}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a27_0x39ec2b(0x103)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a27_0x39ec2b(0x166)),RequestQueueHandler=require(a27_0x39ec2b(0xe8)),requestQueueHandler=RequestQueueHandler[a27_0x39ec2b(0xc6)]();class MyReporter{constructor(_0x3be2b1,_0x3b85ac){const _0x397a66=a27_0x39ec2b,_0x44962d={'JVkwX':function(_0x1a48c0,_0xdd6f87){return _0x1a48c0===_0xdd6f87;},'WNcCt':_0x397a66(0x85),'NRDvN':function(_0x5a9bb0,_0x90c775){return _0x5a9bb0+_0x90c775;},'vphhR':function(_0x73f2e7,_0x3e2467){return _0x73f2e7+_0x3e2467;},'Xgltk':function(_0x1bd3c1,_0x21c164,_0x3143e3){return _0x1bd3c1(_0x21c164,_0x3143e3);},'fOcwq':'green','ywIAD':'%s\x20','BPnTS':_0x397a66(0x170),'Efetl':_0x397a66(0x10f),'uxZuL':_0x397a66(0x157),'sOmhx':_0x397a66(0x196),'CRNIH':function(_0x454f3a,_0x464d76){return _0x454f3a===_0x464d76;},'ZXhpE':function(_0x2250cf){return _0x2250cf();},'XAErF':function(_0x11a445){return _0x11a445();},'asbYh':'HookRunStarted','xOZZa':function(_0x372c08,_0x11f851){return _0x372c08===_0x11f851;},'VhaqW':_0x397a66(0xd6),'UgVDo':function(_0xdfb6a0,_0x4f1a6b){return _0xdfb6a0===_0x4f1a6b;},'FwccS':_0x397a66(0xb9),'DYRtL':function(_0x3403d3,_0x26fb0d){return _0x3403d3===_0x26fb0d;},'Hqlbu':_0x397a66(0x11e),'WDges':_0x397a66(0xee),'uYTOh':function(_0x583688,_0x4660c0){return _0x583688+_0x4660c0;},'AUKTl':function(_0x54a59a,_0x3eb65c,_0x156ef2){return _0x54a59a(_0x3eb65c,_0x156ef2);},'dWFNK':_0x397a66(0x14c),'qVisp':'\x20%s','KPSZH':function(_0x551845,_0x55c695){return _0x551845+_0x55c695;},'xWpHf':function(_0x446460,_0x2e9cfa){return _0x446460+_0x2e9cfa;},'pErXb':function(_0x2e642f,_0x1e0127){return _0x2e642f+_0x1e0127;},'BEBnA':function(_0x5e7daf,_0x3a83ff,_0x1b8f27){return _0x5e7daf(_0x3a83ff,_0x1b8f27);},'QOJYw':'\x20(%dms)','YvywD':function(_0x1194fe,_0x132a3b){return _0x1194fe+_0x132a3b;},'XhFHf':_0x397a66(0xaf),'PPtmq':_0x397a66(0x160),'AMPSS':function(_0x37a8f6,_0x4e96da){return _0x37a8f6===_0x4e96da;},'sQCbt':function(_0x5cd107,_0x385f69){return _0x5cd107+_0x385f69;},'kXWuV':function(_0x3f382b,_0x4f0f5e){return _0x3f382b+_0x4f0f5e;},'sTPkV':_0x397a66(0x18f),'jYcdO':function(_0x405834,_0x1aca51,_0x4ba30d){return _0x405834(_0x1aca51,_0x4ba30d);},'FaCta':_0x397a66(0x12a),'TICXc':function(_0x525747,_0x1582cc){return _0x525747===_0x1582cc;},'awpUM':'dot','Mkrrv':function(_0x3b89bb,_0x2bc8ee){return _0x3b89bb===_0x2bc8ee;},'WWmcS':_0x397a66(0xf8),'bRdgm':function(_0x67a8,_0x2d0985){return _0x67a8===_0x2d0985;},'eAyof':_0x397a66(0xa7),'rdNBV':function(_0x3b198c,_0x4fb808){return _0x3b198c===_0x4fb808;},'IPlDQ':_0x397a66(0x130),'kXwNh':function(_0x402a98,_0x549ba9){return _0x402a98===_0x549ba9;},'DsHmW':'TestRunSkipped','gprtA':function(_0x5bb80a,_0x540f86){return _0x5bb80a===_0x540f86;},'dDKZH':function(_0x17c492,_0x3b3278){return _0x17c492(_0x3b3278);},'rgEjl':function(_0x5d53ea,_0x2ab5e4){return _0x5d53ea(_0x2ab5e4);},'Rexng':function(_0x2b57ae,_0x4608b1){return _0x2b57ae===_0x4608b1;},'amKyN':function(_0x296e8f,_0xc2827f){return _0x296e8f===_0xc2827f;},'gsnZp':_0x397a66(0xcf),'mAeqS':function(_0x47064c,_0x190f97,_0x41f2f2){return _0x47064c(_0x190f97,_0x41f2f2);},'jhNqg':_0x397a66(0x98),'oZQPn':function(_0x2b8fde,_0xd8d3da){return _0x2b8fde(_0xd8d3da);},'orZuw':function(_0x1724f1,_0x1f0e4a){return _0x1724f1!==_0x1f0e4a;}};this[_0x397a66(0x167)]=_0x3b85ac[_0x397a66(0x189)][_0x397a66(0x167)],this[_0x397a66(0xa1)]=_0x44962d[_0x397a66(0x148)](isTestObservabilitySession),Base[_0x397a66(0x184)](this,_0x3be2b1,_0x3b85ac),this['_indents']=0x0,this[_0x397a66(0x90)]=0x0,this['results']=[],this[_0x397a66(0x127)]=[],this['suiteCount']=0x0,this[_0x397a66(0x149)]=![],this[_0x397a66(0xb4)]=[],this['_testEnv']=_0x44962d['ZXhpE'](getTestEnv),this[_0x397a66(0x177)]=new PathHelper({'cwd':process[_0x397a66(0x181)]()},this['_testEnv'][_0x397a66(0xe9)]),this[_0x397a66(0x9b)]=_0x3b85ac[_0x397a66(0x189)]['bsConfig'],this[_0x397a66(0x187)]();_0x44962d[_0x397a66(0x134)](this[_0x397a66(0x167)],_0x44962d[_0x397a66(0x86)])&&(this[_0x397a66(0x12f)]='',this[_0x397a66(0xb5)]=0x2);_0x3be2b1['once'](EVENT_RUN_BEGIN,async()=>{const _0x43846c=_0x397a66;_0x44962d['JVkwX'](this[_0x43846c(0x167)],_0x44962d['WNcCt'])&&Base[_0x43846c(0x112)]();})['on'](EVENT_SUITE_BEGIN,_0x36a3c8=>{const _0x3e88a5=_0x397a66;if(_0x36a3c8[_0x3e88a5(0xbc)])return;if(_0x44962d['JVkwX'](this[_0x3e88a5(0x167)],_0x44962d[_0x3e88a5(0x8a)]))this[_0x3e88a5(0x159)](),Base[_0x3e88a5(0x112)](_0x44962d['NRDvN'](_0x44962d[_0x3e88a5(0x7f)](this[_0x3e88a5(0x12e)](),_0x44962d[_0x3e88a5(0x153)](color,_0x44962d[_0x3e88a5(0xe7)],_0x44962d[_0x3e88a5(0x122)])),_0x44962d['Xgltk'](color,_0x44962d[_0x3e88a5(0x106)],_0x44962d[_0x3e88a5(0x15c)])),_0x44962d[_0x3e88a5(0x10c)],_0x36a3c8[_0x3e88a5(0xd3)],global[_0x3e88a5(0x75)]);else _0x44962d[_0x3e88a5(0xf2)](this[_0x3e88a5(0x167)],_0x44962d[_0x3e88a5(0x86)])&&(this[_0x3e88a5(0x95)](this['indent']()+'<section\x20class=\x22suite\x22>'),++this[_0x3e88a5(0xb5)],this[_0x3e88a5(0x95)](this[_0x3e88a5(0x12e)]()+_0x3e88a5(0xad)+utils[_0x3e88a5(0x147)](_0x36a3c8[_0x3e88a5(0xd3)]+_0x3e88a5(0x76)+global[_0x3e88a5(0x75)])+_0x3e88a5(0x14d)),this[_0x3e88a5(0x95)](this[_0x3e88a5(0x12e)]()+'<dl>'));})['on'](EVENT_HOOK_BEGIN,async _0x1fa2ce=>{const _0x5d5d67=_0x397a66;if(_0x44962d[_0x5d5d67(0x163)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0x5d5d67(0x195)][_0x5d5d67(0x173)]),!![])){if(!_0x1fa2ce[_0x5d5d67(0x193)])_0x1fa2ce['hookAnalyticsId']=_0x44962d['ZXhpE'](uuidv4);else _0x1fa2ce[_0x5d5d67(0x9a)]&&(_0x1fa2ce['hookAnalyticsId']=_0x44962d[_0x5d5d67(0x143)](uuidv4),delete _0x1fa2ce[_0x5d5d67(0x9a)]);_0x1fa2ce[_0x5d5d67(0x144)]=new Date()['toISOString'](),this[_0x5d5d67(0x8e)]=_0x1fa2ce,await this[_0x5d5d67(0x176)](_0x1fa2ce,undefined,![],_0x44962d['asbYh']);}})['on'](EVENT_HOOK_END,async _0x1687f9=>{const _0x626e75=_0x397a66;_0x44962d[_0x626e75(0x17d)](testhubUtils[_0x626e75(0xaa)](testHubConstants[_0x626e75(0x195)][_0x626e75(0x7a)]),!![])&&(!_0x1687f9[_0x626e75(0x9a)]&&(_0x1687f9['markedStatus']=!![],await this[_0x626e75(0x176)](_0x1687f9,undefined,![],_0x44962d[_0x626e75(0xea)])));})['on'](EVENT_SUITE_END,_0x491aa0=>{const _0x3ae335=_0x397a66;if(_0x491aa0[_0x3ae335(0xbc)])return;if(_0x44962d[_0x3ae335(0xcd)](this['type'],_0x44962d['WNcCt']))Base['consoleLog'](),Base['consoleLog'](_0x44962d[_0x3ae335(0x11c)](_0x44962d[_0x3ae335(0x131)](this[_0x3ae335(0x12e)](),_0x44962d[_0x3ae335(0xec)](color,_0x44962d[_0x3ae335(0x73)],_0x44962d[_0x3ae335(0x122)])),_0x44962d[_0x3ae335(0x92)](color,_0x44962d[_0x3ae335(0x106)],_0x44962d[_0x3ae335(0x15c)])),_0x44962d[_0x3ae335(0xcb)],_0x491aa0[_0x3ae335(0xd3)],global[_0x3ae335(0x75)]),this[_0x3ae335(0x14a)][_0x3ae335(0x129)](_0xdad859=>{const _0xa4275c=_0x3ae335;if(_0x44962d[_0xa4275c(0xfc)](_0xdad859['state'],_0x44962d[_0xa4275c(0xef)])){var _0x187b8c;_0x44962d[_0xa4275c(0xbb)](_0xdad859['speed'],_0x44962d[_0xa4275c(0xe3)])?(_0x187b8c=_0x44962d[_0xa4275c(0x7f)](_0x44962d[_0xa4275c(0x7f)](this[_0xa4275c(0x12e)](),_0x44962d['Xgltk'](color,_0x44962d['WDges'],_0x44962d[_0xa4275c(0x186)]('\x20\x20',Base[_0xa4275c(0x155)]['ok']))),_0x44962d[_0xa4275c(0x7c)](color,_0x44962d[_0xa4275c(0x7e)],_0x44962d['qVisp'])),Base[_0xa4275c(0x112)](_0x187b8c,_0xdad859[_0xa4275c(0xd3)])):(_0x187b8c=_0x44962d['KPSZH'](_0x44962d['xWpHf'](_0x44962d[_0xa4275c(0x186)](this[_0xa4275c(0x12e)](),_0x44962d[_0xa4275c(0x7c)](color,_0x44962d[_0xa4275c(0x13c)],_0x44962d[_0xa4275c(0xdb)]('\x20\x20',Base[_0xa4275c(0x155)]['ok']))),_0x44962d[_0xa4275c(0x153)](color,_0x44962d[_0xa4275c(0x7e)],_0x44962d[_0xa4275c(0xa0)])),_0x44962d[_0xa4275c(0xec)](color,_0xdad859[_0xa4275c(0x97)],_0x44962d[_0xa4275c(0x164)])),Base['consoleLog'](_0x187b8c,_0xdad859[_0xa4275c(0xd3)],_0xdad859[_0xa4275c(0xce)]));}else Base[_0xa4275c(0x112)](_0x44962d[_0xa4275c(0x161)](this[_0xa4275c(0x12e)](),_0x44962d[_0xa4275c(0x153)](color,_0x44962d[_0xa4275c(0x15d)],_0x44962d[_0xa4275c(0xa9)])),++this[_0xa4275c(0x90)],_0xdad859[_0xa4275c(0xd3)]);}),this[_0x3ae335(0xd5)]();else _0x44962d[_0x3ae335(0xcd)](this[_0x3ae335(0x167)],_0x44962d[_0x3ae335(0x86)])&&(this[_0x3ae335(0x95)](this[_0x3ae335(0x12e)]()+'</dl>'),--this[_0x3ae335(0xb5)],this['docAppend'](this[_0x3ae335(0x12e)]()+_0x3ae335(0xac)),--this[_0x3ae335(0xb5)]);Array[_0x3ae335(0x13f)][_0x3ae335(0xb1)][_0x3ae335(0x17a)](this['finalResults'],this[_0x3ae335(0x14a)]),this[_0x3ae335(0x14a)]=[];})['on'](EVENT_TEST_PASS,async _0x2ca05d=>{const _0x570ed7=_0x397a66;this[_0x570ed7(0x14a)][_0x570ed7(0xb1)]({'speed':_0x2ca05d[_0x570ed7(0x97)],'suite':_0x2ca05d[_0x570ed7(0x10e)][_0x570ed7(0xd3)],'title':_0x2ca05d[_0x570ed7(0xd3)],'fullTitle':_0x2ca05d[_0x570ed7(0x99)](),'duration':_0x2ca05d['duration'],'state':_0x2ca05d['state'],'err':{},'currentRetry':_0x2ca05d[_0x570ed7(0x17f)](),'titlePathV':_0x2ca05d[_0x570ed7(0xc8)](),'isPending':_0x2ca05d[_0x570ed7(0x115)]()});if(_0x44962d[_0x570ed7(0x140)](this[_0x570ed7(0x167)],_0x44962d['awpUM']))_0x44962d[_0x570ed7(0x190)](_0x2ca05d[_0x570ed7(0x97)],_0x44962d[_0x570ed7(0xb7)])?process[_0x570ed7(0x16f)]['write'](Base['color'](_0x44962d['sTPkV'],Base['symbols'][_0x570ed7(0x81)])):process[_0x570ed7(0x16f)]['write'](Base[_0x570ed7(0x80)](_0x2ca05d['speed'],Base['symbols'][_0x570ed7(0x81)]));else{if(_0x44962d[_0x570ed7(0x17d)](this[_0x570ed7(0x167)],_0x44962d[_0x570ed7(0x86)])){this['docAppend'](this['indent']()+_0x570ed7(0x87)+utils[_0x570ed7(0x147)](_0x2ca05d['title'])+'</dt>'),this[_0x570ed7(0x95)](this[_0x570ed7(0x12e)]()+_0x570ed7(0x87)+utils['escape'](_0x2ca05d[_0x570ed7(0x11d)])+_0x570ed7(0x93));var _0x2cf084=utils[_0x570ed7(0x147)](utils['clean'](_0x2ca05d[_0x570ed7(0x117)]));this[_0x570ed7(0x95)](this['indent']()+_0x570ed7(0xa2)+_0x2cf084+_0x570ed7(0xca));}}_0x44962d[_0x570ed7(0x190)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x2ca05d[_0x570ed7(0x9a)]&&(_0x2ca05d['markedStatus']=!![],await this['sendTestRunEvent'](_0x2ca05d)));})['on'](EVENT_TEST_FAIL,async(_0x281047,_0x5cd8e1)=>{const _0x297e7d=_0x397a66;this[_0x297e7d(0x14a)][_0x297e7d(0xb1)]({'title':_0x281047[_0x297e7d(0xd3)],'suite':_0x281047['parent']['title'],'state':_0x281047[_0x297e7d(0x9e)],'err':{'message':util['inspect'](_0x5cd8e1)},'fullTitle':_0x281047[_0x297e7d(0x99)](),'speed':_0x281047['speed'],'currentRetry':_0x281047[_0x297e7d(0x17f)](),'titlePathV':_0x281047[_0x297e7d(0xc8)]()});if(_0x44962d[_0x297e7d(0xbb)](this['type'],_0x44962d[_0x297e7d(0x102)]))process[_0x297e7d(0x16f)][_0x297e7d(0x12d)](Base[_0x297e7d(0x80)](_0x44962d[_0x297e7d(0x15d)],Base[_0x297e7d(0x155)]['bang']));else{if(_0x44962d['bRdgm'](this[_0x297e7d(0x167)],_0x44962d[_0x297e7d(0x86)])){const _0x3f9374=_0x44962d[_0x297e7d(0x15a)][_0x297e7d(0x158)]('|');let _0x87bbd6=0x0;while(!![]){switch(_0x3f9374[_0x87bbd6++]){case'0':this['docAppend'](this['indent']()+_0x297e7d(0x9d)+utils['escape'](_0x281047['err'])+'</dd>');continue;case'1':var _0xa62f25=utils['escape'](utils['clean'](_0x281047[_0x297e7d(0x117)]));continue;case'2':this[_0x297e7d(0x95)](this['indent']()+'\x20\x20<dd\x20class=\x22error\x22><pre><code>'+_0xa62f25+'</code></pre></dd>');continue;case'3':this[_0x297e7d(0x95)](this[_0x297e7d(0x12e)]()+'\x20\x20<dt\x20class=\x22error\x22>'+utils[_0x297e7d(0x147)](_0x281047[_0x297e7d(0x11d)])+_0x297e7d(0x93));continue;case'4':this[_0x297e7d(0x95)](this[_0x297e7d(0x12e)]()+_0x297e7d(0x78)+utils[_0x297e7d(0x147)](_0x281047['title'])+_0x297e7d(0x93));continue;}break;}}}if(_0x44962d[_0x297e7d(0xc3)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants['EVENT']['HookFinished']),!![])){if(!_0x281047['markedStatus']){_0x281047[_0x297e7d(0x9a)]=!![];if(_0x281047[_0x297e7d(0x14b)])await this[_0x297e7d(0x176)](_0x281047,_0x5cd8e1);else _0x281047[_0x297e7d(0x193)]&&await this['sendTestRunEvent'](_0x281047,_0x5cd8e1,![],_0x44962d[_0x297e7d(0xea)]);}}})['on'](EVENT_TEST_PENDING,async _0x3ebb38=>{const _0x312323=_0x397a66;this[_0x312323(0x14a)][_0x312323(0xb1)]({'title':_0x3ebb38[_0x312323(0xd3)],'suite':_0x3ebb38[_0x312323(0x10e)]['title'],'state':_0x3ebb38[_0x312323(0x9e)],'err':{},'fullTitle':_0x3ebb38['fullTitle'](),'speed':_0x3ebb38['speed'],'currentRetry':_0x3ebb38[_0x312323(0x17f)](),'titlePathV':_0x3ebb38[_0x312323(0xc8)]()}),_0x44962d[_0x312323(0xcd)](this[_0x312323(0x167)],_0x44962d[_0x312323(0x102)])&&process['stdout'][_0x312323(0x12d)](Base[_0x312323(0x80)](_0x44962d['IPlDQ'],Base['symbols']['comma'])),_0x44962d[_0x312323(0x154)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x3ebb38[_0x312323(0x14b)]&&(_0x3ebb38['testAnalyticsId']=_0x44962d[_0x312323(0x148)](uuidv4)),!_0x3ebb38[_0x312323(0x9a)]&&(_0x3ebb38[_0x312323(0x9a)]=!![],await this['sendTestRunEvent'](_0x3ebb38,undefined,![],_0x44962d[_0x312323(0xbe)])));})['on'](EVENT_TEST_BEGIN,async _0xc2a00=>{const _0x3f124d=_0x397a66;_0x44962d['gprtA'](testhubUtils['shouldProcessEventForTesthub'](),!![])&&await this[_0x3f124d(0xc9)](_0xc2a00);})['on'](EVENT_TEST_END,async _0x12e49c=>{const _0x58bb15=_0x397a66;_0x44962d['CRNIH'](testhubUtils[_0x58bb15(0xaa)](),!![])&&(!_0x12e49c[_0x58bb15(0x9a)]&&(_0x12e49c[_0x58bb15(0x9a)]=!![],await this['sendTestRunEvent'](_0x12e49c)));})[_0x397a66(0x192)](EVENT_RUN_END,async()=>{const _0x31b7a9=_0x397a66;try{if(_0x44962d[_0x31b7a9(0xbb)](testhubUtils[_0x31b7a9(0xaa)](),!![])){const _0x4d5d20=_0x44962d[_0x31b7a9(0x139)](getHookSkippedTests,this[_0x31b7a9(0x150)][_0x31b7a9(0x10b)]);for(const _0x3dce27 of _0x4d5d20){!_0x3dce27[_0x31b7a9(0x14b)]&&(_0x3dce27[_0x31b7a9(0x14b)]=_0x44962d['XAErF'](uuidv4)),await this[_0x31b7a9(0x176)](_0x3dce27,undefined,![],_0x44962d['DsHmW']);}}}catch(_0x5dc6f3){_0x44962d[_0x31b7a9(0x18e)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20'+_0x5dc6f3);}await requestQueueHandler['shutdown'](),_0x44962d[_0x31b7a9(0xb6)](this[_0x31b7a9(0x167)],_0x44962d['sOmhx'])&&Base[_0x31b7a9(0x112)](this[_0x31b7a9(0x12f)]);});if(this[_0x397a66(0x167)]&&![_0x44962d[_0x397a66(0x86)],_0x44962d[_0x397a66(0xeb)],_0x44962d[_0x397a66(0x8a)],_0x44962d[_0x397a66(0x102)]]['includes'](this['type'])){const _0x27864c=this[_0x397a66(0x167)]['trim']();this[_0x397a66(0x74)]=null;try{this[_0x397a66(0x74)]=_0x44962d[_0x397a66(0x145)](requireModule,'mocha/lib/reporters/'+_0x27864c+_0x397a66(0x14f),_0x44962d[_0x397a66(0x12c)]);}catch(_0x5ee424){_0x44962d[_0x397a66(0x18e)](debug,_0x397a66(0x18d)+_0x5ee424);}if(_0x44962d['gprtA'](this[_0x397a66(0x74)],null))try{this[_0x397a66(0x74)]=_0x44962d['oZQPn'](require,_0x27864c);}catch(_0x415749){console[_0x397a66(0x110)](_0x397a66(0xa5)+_0x27864c);}if(_0x44962d[_0x397a66(0x79)](this[_0x397a66(0x74)],null)){const _0x52c0ed={};_0x52c0ed[_0x397a66(0xd1)]=_0x3b85ac['reporterOption'],this[_0x397a66(0x74)]=new this[(_0x397a66(0x74))](_0x3be2b1,_0x52c0ed);}}}['indent'](){const _0x535bf8=a27_0x39ec2b,_0x1855ba={'XpxXk':function(_0x139d24,_0x11daea){return _0x139d24(_0x11daea);}};return _0x1855ba['XpxXk'](Array,this[_0x535bf8(0x13d)])[_0x535bf8(0x9f)]('\x20\x20');}[a27_0x39ec2b(0x159)](){const _0xb0fb4=a27_0x39ec2b;this[_0xb0fb4(0x13d)]++;}[a27_0x39ec2b(0xd5)](){const _0x2eb21a=a27_0x39ec2b;this[_0x2eb21a(0x13d)]--;}[a27_0x39ec2b(0x95)](_0x5d8ffd){this['docHtml']+=_0x5d8ffd;}[a27_0x39ec2b(0x191)](_0x35ab1f,_0x5c3d1e){const _0x3e91f5=a27_0x39ec2b,_0x276f41={'YyLlT':function(_0x15fefa,_0xf39a54){return _0x15fefa(_0xf39a54);}},_0x23e99c={};_0x23e99c[_0x3e91f5(0x178)]=_0x35ab1f,_0x23e99c[_0x3e91f5(0x14a)]=this['finalResults'],_0x276f41[_0x3e91f5(0xdc)](_0x5c3d1e,_0x23e99c);}[a27_0x39ec2b(0x187)](){const _0x15c260=a27_0x39ec2b;process['removeAllListeners']('bs:addLog:'+process[_0x15c260(0xf7)]),process['on'](_0x15c260(0xfd)+process['pid'],this['appendTestItemLog'][_0x15c260(0x118)](this)),process['removeAllListeners']('bs:addPlatformDetails:'+process[_0x15c260(0xf7)]),process['on'](_0x15c260(0x119)+process[_0x15c260(0xf7)],this[_0x15c260(0x8f)][_0x15c260(0x118)](this));}[a27_0x39ec2b(0xc9)]=async _0x198772=>{const _0x546d2a=a27_0x39ec2b,_0x345a3b={'wmbZt':function(_0x523457){return _0x523457();},'anpDu':function(_0x27f78d,_0x213903){return _0x27f78d>_0x213903;},'JsAMx':function(_0x5e8927,_0x4c4865){return _0x5e8927===_0x4c4865;},'oFnRu':_0x546d2a(0x9c),'WCXYq':function(_0x46fb1a,_0x550570){return _0x46fb1a(_0x550570);}};try{const _0x594e9d=this[_0x546d2a(0xab)];this['current_test']=_0x198772,_0x198772['retryOf']=null,_0x198772[_0x546d2a(0x14b)]=_0x345a3b[_0x546d2a(0x15f)](uuidv4),_0x198772['started_at']=new Date()[_0x546d2a(0x96)](),_0x345a3b['anpDu'](_0x198772['_currentRetry'],0x0)&&_0x594e9d&&_0x345a3b[_0x546d2a(0x168)](_0x594e9d['title'],_0x198772[_0x546d2a(0xd3)])?(_0x198772['retryOf']=_0x594e9d[_0x546d2a(0x14b)],await this[_0x546d2a(0x176)](_0x198772,undefined,![],_0x345a3b[_0x546d2a(0x137)]),_0x594e9d['state']=STATE_FAILED,await this[_0x546d2a(0x176)](_0x594e9d,undefined,!![])):await this[_0x546d2a(0x176)](_0x198772,undefined,![],_0x345a3b[_0x546d2a(0x137)]);}catch(_0x525b76){_0x345a3b[_0x546d2a(0x142)](debug,_0x546d2a(0x108)+_0x525b76);}};[a27_0x39ec2b(0x176)]=async(_0x248f63,_0x4767a4=undefined,_0x17833a=![],_0x4dd9bb=a27_0x39ec2b(0xf3))=>{const _0xa76b34=a27_0x39ec2b,_0x1fe5c6={'UXxoX':function(_0x390ea1,_0x4a48b5){return _0x390ea1===_0x4a48b5;},'tVhfR':function(_0x95159,_0xe5048f){return _0x95159!==_0xe5048f;},'KSbHb':'test','xkixj':_0xa76b34(0xe2),'WehtT':_0xa76b34(0x162),'VWtSe':_0xa76b34(0x165),'qwfqu':'javascript','whzua':function(_0x26ab05,_0xc3bb8c){return _0x26ab05===_0xc3bb8c;},'nTfIO':_0xa76b34(0x15e),'cEOEK':_0xa76b34(0x105),'krSet':function(_0x2efebf,_0x57f3dc){return _0x2efebf-_0x57f3dc;},'hnVOp':_0xa76b34(0x109),'tnCdl':'UnhandledError','Gfdzn':_0xa76b34(0x144),'hzgcr':_0xa76b34(0xd0),'bFInZ':function(_0x1c4325,_0x511502){return _0x1c4325(_0x511502);},'wdPIT':function(_0x33f9f6,_0x10eeb0){return _0x33f9f6===_0x10eeb0;},'eXqQZ':_0xa76b34(0xd6),'WUwta':_0xa76b34(0x120),'JLXLr':'passed','CnUYA':function(_0x10ba06,_0x48505b){return _0x10ba06===_0x48505b;},'vWMGB':_0xa76b34(0x16e),'dlljO':'failure','tUFeI':_0xa76b34(0xf9),'gyPUa':_0xa76b34(0x7d),'wcPYF':_0xa76b34(0xe0),'CVGed':_0xa76b34(0x111),'wrrvs':_0xa76b34(0xf3),'zyFOm':function(_0x155292,_0x45fe29){return _0x155292(_0x45fe29);},'IJwKR':function(_0x5bc446,_0xeed9b9){return _0x5bc446===_0xeed9b9;},'vPQqK':_0xa76b34(0x194),'wSByz':_0xa76b34(0x126),'NNvWE':_0xa76b34(0xc2)};try{if(_0x248f63[_0xa76b34(0x117)]&&_0x248f63[_0xa76b34(0x117)][_0xa76b34(0x84)](/browserstack internal helper hook/))return;let _0x809f3=[];if(_0x1fe5c6[_0xa76b34(0xf5)](_0x248f63[_0xa76b34(0x9e)],STATE_FAILED)){if(_0x1fe5c6[_0xa76b34(0xda)](_0x248f63[_0xa76b34(0xe2)],undefined))_0x809f3=_0x248f63[_0xa76b34(0xe2)][_0xa76b34(0x180)]?[_0x248f63[_0xa76b34(0xe2)]['multiple'],_0x1fe5c6['KSbHb']]:[_0x248f63[_0xa76b34(0xe2)],_0x1fe5c6[_0xa76b34(0xfe)]];else _0x1fe5c6['tVhfR'](_0x4767a4,undefined)?_0x809f3=[_0x4767a4,_0x1fe5c6[_0xa76b34(0xfe)]]:_0x809f3=[];}const _0x4f508f=_0x1fe5c6[_0xa76b34(0xda)](_0x248f63[_0xa76b34(0xe2)],undefined)?_0x248f63['err'][_0xa76b34(0x179)]():_0x1fe5c6[_0xa76b34(0xda)](_0x4767a4,undefined)?_0x4767a4['toString']():undefined;let _0x24dc2f;try{_0x24dc2f=this[_0xa76b34(0x175)](_0x248f63);}catch(_0x4a9bc0){_0x24dc2f=null;}const _0x318226=_0x24dc2f?this[_0xa76b34(0x18c)](_0x24dc2f):null,_0x5db005=_0x24dc2f?this['_paths'][_0xa76b34(0x169)](this['getRootParentFile'](_0x248f63)):_0x1fe5c6['WehtT'],_0x285609={'framework':_0x1fe5c6[_0xa76b34(0xfa)],'uuid':_0x248f63[_0xa76b34(0x14b)]||_0x248f63[_0xa76b34(0x193)],'name':_0x248f63[_0xa76b34(0xd3)],'body':{'lang':_0x1fe5c6[_0xa76b34(0x114)],'code':_0x248f63[_0xa76b34(0x117)]},'scope':this[_0xa76b34(0x135)](_0x248f63),'scopes':this[_0xa76b34(0x156)](_0x248f63),'identifier':_0x248f63[_0xa76b34(0x99)](),'file_name':_0x5db005,'vc_filepath':_0x318226?path[_0xa76b34(0xb0)](_0x318226,_0x24dc2f):null,'location':_0x5db005,'result':_0x1fe5c6[_0xa76b34(0xa8)](_0x4dd9bb,_0x1fe5c6[_0xa76b34(0xcc)])?_0x1fe5c6[_0xa76b34(0x18a)]:this[_0xa76b34(0xc7)](_0x248f63[_0xa76b34(0x9e)]),'failure_reason':_0x4f508f,'duration_in_ms':_0x248f63['duration']||(_0x4dd9bb[_0xa76b34(0x84)](/Finished/)||_0x4dd9bb[_0xa76b34(0x84)](/Skipped/)?_0x1fe5c6[_0xa76b34(0xdf)](Date[_0xa76b34(0x77)](),new Date(_0x248f63['started_at'])[_0xa76b34(0x121)]()):null),'started_at':_0x248f63['started_at'],'finished_at':_0x4dd9bb[_0xa76b34(0x84)](/Finished/)||_0x4dd9bb[_0xa76b34(0x84)](/Skipped/)?new Date()[_0xa76b34(0x96)]():null,'failure':failureData[_0xa76b34(0x17a)](null,_0x809f3),'failure_type':!_0x4f508f?null:_0x4f508f[_0xa76b34(0x84)](/AssertionError/)?_0x1fe5c6[_0xa76b34(0x132)]:_0x1fe5c6[_0xa76b34(0x88)],'retry_of':_0x248f63[_0xa76b34(0x12b)]};testhubUtils['appendTesthubParams'](_0x285609,_0x4dd9bb,_0x248f63,FRAMEWORKS[_0xa76b34(0x123)]);(_0x248f63[_0xa76b34(0xc1)]||_0x248f63[_0xa76b34(0x91)])&&centralScannerUtils[_0xa76b34(0x17e)](_0x285609,_0x248f63['responseCode'],_0x248f63[_0xa76b34(0x91)]);_0x1fe5c6[_0xa76b34(0xa8)](_0x4dd9bb,_0x1fe5c6[_0xa76b34(0xcc)])&&!_0x285609[_0x1fe5c6[_0xa76b34(0x83)]]&&(_0x285609[_0x1fe5c6[_0xa76b34(0x83)]]=_0x285609[_0x1fe5c6[_0xa76b34(0x146)]]);if(_0x4dd9bb[_0xa76b34(0x84)](/HookRun/))[_0x285609[_0xa76b34(0x194)],_0x285609[_0xa76b34(0x151)]]=_0x1fe5c6['bFInZ'](getHookDetails,_0x248f63['fullTitle']()||_0x248f63['originalTitle']||_0x248f63[_0xa76b34(0xd3)]),_0x1fe5c6[_0xa76b34(0xfb)](_0x4dd9bb,_0x1fe5c6['eXqQZ'])&&(_0x1fe5c6[_0xa76b34(0xda)](_0x285609[_0xa76b34(0xde)],_0x1fe5c6[_0xa76b34(0x125)])&&(_0x285609['result']=_0x1fe5c6['JLXLr']),_0x1fe5c6['CnUYA'](_0x285609[_0xa76b34(0x194)],_0x1fe5c6['vWMGB'])&&_0x1fe5c6[_0xa76b34(0x141)](_0x285609[_0xa76b34(0xde)],_0x1fe5c6['WUwta'])&&!_0x248f63[_0xa76b34(0x8c)][_0xa76b34(0x107)][_0xa76b34(0x9a)]&&(_0x248f63[_0xa76b34(0x8c)][_0xa76b34(0x107)][_0xa76b34(0x9a)]=!![],_0x248f63[_0xa76b34(0x8c)][_0xa76b34(0x107)]['state']=STATE_FAILED,await this[_0xa76b34(0x176)](_0x248f63['ctx'][_0xa76b34(0x107)],undefined,!![])));else _0x4dd9bb['match'](/TestRun/)&&_0x1fe5c6[_0xa76b34(0xe6)](mapTestHooks,_0x248f63);const _0x5dd819=_0x285609[_0x1fe5c6[_0xa76b34(0x16b)]][0x0];_0x5dd819&&(_0x285609[_0x1fe5c6['tUFeI']]=_0x5dd819[_0x1fe5c6[_0xa76b34(0x82)]],_0x285609[_0x1fe5c6[_0xa76b34(0x138)]]=_0x5dd819[_0x1fe5c6['CVGed']]);[_0x1fe5c6[_0xa76b34(0x124)],_0x1fe5c6['nTfIO']][_0xa76b34(0xae)](_0x4dd9bb)&&(this[_0xa76b34(0xb4)][_0xa76b34(0xb1)](_0x285609),_0x285609[_0xa76b34(0x8b)]=_0x1fe5c6[_0xa76b34(0x101)](getHooksForTest,_0x248f63));const _0x1ded51={'event_type':_0x1fe5c6['IJwKR'](_0x4dd9bb,_0x1fe5c6[_0xa76b34(0xcc)])?_0x1fe5c6[_0xa76b34(0x124)]:_0x4dd9bb};_0x4dd9bb[_0xa76b34(0x84)](/HookRun/)?(_0x285609[_0x1fe5c6[_0xa76b34(0xba)]]=HOOK_TYPES_MAP[_0x285609[_0x1fe5c6[_0xa76b34(0xba)]]],_0x1ded51[_0x1fe5c6[_0xa76b34(0xe4)]]=_0x285609):_0x1ded51[_0x1fe5c6[_0xa76b34(0xf0)]]=_0x285609,testhubUtils['setCurrentTestData'](FRAMEWORKS['MOCHA'],_0x1ded51),await SessionHandler[_0xa76b34(0x89)](_0x1ded51);}catch(_0x4a6e2d){_0x1fe5c6[_0xa76b34(0x101)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x4dd9bb+'\x20with\x20error\x20:\x20'+_0x4a6e2d);}};[a27_0x39ec2b(0x18c)](_0xcac2e){const _0x1a84d5=a27_0x39ec2b,_0x1ed0e9={};_0x1ed0e9['rpWxM']=function(_0x1b5fc2,_0x5db083){return _0x1b5fc2===_0x5db083;},_0x1ed0e9[_0x1a84d5(0x18b)]=function(_0x3a1210,_0x3667e5){return _0x3a1210===_0x3667e5;},_0x1ed0e9[_0x1a84d5(0x152)]=_0x1a84d5(0x133),_0x1ed0e9[_0x1a84d5(0x171)]=_0x1a84d5(0xd4);const _0xf589de=_0x1ed0e9,_0x31353a=path[_0x1a84d5(0x14e)];if(_0xf589de['rpWxM'](_0xcac2e,null)||_0xf589de[_0x1a84d5(0xed)](_0xcac2e,'')||_0xf589de[_0x1a84d5(0x18b)](_0xcac2e,_0x31353a)||_0xf589de[_0x1a84d5(0xed)](_0xcac2e,path['dirname'](_0xcac2e)))return null;try{return fs['statSync'](path[_0x1a84d5(0x9f)](_0xcac2e,_0xf589de['kAbgC'],_0xf589de[_0x1a84d5(0x171)])),_0xcac2e;}catch(_0x2283d1){const _0x41691a=path[_0x1a84d5(0xff)](_0xcac2e);return this[_0x1a84d5(0x18c)](_0x41691a);}}[a27_0x39ec2b(0x10a)]=async _0x2f3194=>{const _0x23ab7e=a27_0x39ec2b,_0x2acdbc={'IulKe':_0x23ab7e(0xf6),'SYUcH':function(_0x307c53,_0x2cbb7f){return _0x307c53(_0x2cbb7f);}};try{this[_0x23ab7e(0x8e)]&&!this[_0x23ab7e(0x8e)]['markedStatus']&&(_0x2f3194[_0x23ab7e(0xbf)]=this[_0x23ab7e(0x8e)][_0x23ab7e(0x193)]);!_0x2f3194[_0x23ab7e(0xbf)]&&this['current_test']&&!this['current_test'][_0x23ab7e(0x9a)]&&(_0x2f3194['test_run_uuid']=this[_0x23ab7e(0xab)][_0x23ab7e(0x14b)]);if(_0x2f3194[_0x23ab7e(0xbf)]||_0x2f3194[_0x23ab7e(0xd2)]){const _0x174bbb={};_0x174bbb[_0x23ab7e(0xc4)]=_0x2acdbc['IulKe'],_0x174bbb[_0x23ab7e(0x16d)]=[_0x2f3194],await SessionHandler[_0x23ab7e(0x89)](_0x174bbb);}}catch(_0x41298e){_0x2acdbc[_0x23ab7e(0xc0)](debug,_0x23ab7e(0xdd)+_0x41298e);}};[a27_0x39ec2b(0x8f)]=async _0x41d014=>{const _0x328924=a27_0x39ec2b,_0x3865c8={'SVAxJ':'http_response','ckFEJ':_0x328924(0x11a),'BhoYJ':function(_0x11b29f,_0x1fb581){return _0x11b29f(_0x1fb581);}};try{const _0x257863={};_0x257863[_0x328924(0xc5)]=_0x41d014['uuid']||this[_0x328924(0xab)][_0x328924(0x14b)],_0x257863[_0x328924(0x185)]=_0x41d014[_0x3865c8[_0x328924(0xa6)]];const _0x51a060=_0x257863,_0x401767={};_0x401767['event_type']=_0x3865c8[_0x328924(0x11b)],_0x401767[_0x328924(0xc2)]=_0x51a060,await SessionHandler[_0x328924(0x89)](_0x401767);}catch(_0x4601db){_0x3865c8[_0x328924(0xa3)](debug,_0x328924(0x10d)+_0x4601db);}};[a27_0x39ec2b(0xc7)](_0x5916da){const _0x536bf6=a27_0x39ec2b,_0x933b87={};_0x933b87['urStO']=_0x536bf6(0xb9),_0x933b87[_0x536bf6(0x13e)]=_0x536bf6(0x130),_0x933b87[_0x536bf6(0xb2)]=_0x536bf6(0x120);const _0x54560c=_0x933b87,_0x3bcf36={};return _0x3bcf36[STATE_PASSED]=_0x54560c[_0x536bf6(0xd7)],_0x3bcf36[STATE_PENDING]=_0x54560c['cnSIP'],_0x3bcf36[STATE_FAILED]=_0x54560c[_0x536bf6(0xb2)],_0x3bcf36[_0x5916da];}[a27_0x39ec2b(0x135)](_0x4bbd8e){const _0xba2655=a27_0x39ec2b,_0xf240b4={};_0xf240b4[_0xba2655(0x136)]=function(_0x5b2602,_0x5adae6){return _0x5b2602-_0x5adae6;};const _0x30d2fd=_0xf240b4,_0x2d6b6d=_0x4bbd8e['titlePath']();return _0x2d6b6d['slice'](0x0,_0x30d2fd[_0xba2655(0x136)](_0x2d6b6d[_0xba2655(0x104)],0x1))['join']('\x20');}[a27_0x39ec2b(0x156)](_0x2034ea){const _0x2c70eb=a27_0x39ec2b,_0x347b37={};_0x347b37['wKFyO']=function(_0x3024c9,_0x360434){return _0x3024c9-_0x360434;};const _0xeb4e01=_0x347b37,_0x1a7267=_0x2034ea[_0x2c70eb(0xc8)]();return _0x1a7267[_0x2c70eb(0xd9)](0x0,_0xeb4e01[_0x2c70eb(0x100)](_0x1a7267[_0x2c70eb(0x104)],0x1));}[a27_0x39ec2b(0x175)](_0x197f9e){const _0x58ab65=a27_0x39ec2b,_0x1e420f={};_0x1e420f[_0x58ab65(0x16a)]=function(_0x49f4af,_0x2e1f7b){return _0x49f4af>_0x2e1f7b;};const _0x543947=_0x1e420f;if(_0x197f9e[_0x58ab65(0x11d)])return _0x197f9e[_0x58ab65(0x11d)];if(_0x197f9e[_0x58ab65(0x8c)]){const _0x491a05=_0x197f9e[_0x58ab65(0x8c)]['currentTest']?this[_0x58ab65(0x175)](_0x197f9e[_0x58ab65(0x8c)]['currentTest']):null;if(_0x491a05)return _0x491a05;}if(_0x197f9e['parent']){const _0x4952e1=this['getRootParentFile'](_0x197f9e[_0x58ab65(0x10e)])||(_0x197f9e[_0x58ab65(0x10e)][_0x58ab65(0x8c)]&&_0x197f9e[_0x58ab65(0x10e)][_0x58ab65(0x8c)][_0x58ab65(0x107)]?this[_0x58ab65(0x175)](_0x197f9e[_0x58ab65(0x10e)][_0x58ab65(0x8c)][_0x58ab65(0x107)]):null);if(_0x4952e1)return _0x4952e1;_0x197f9e['parent'][_0x58ab65(0x13a)]&&_0x543947[_0x58ab65(0x16a)](_0x197f9e[_0x58ab65(0x10e)]['suites'][_0x58ab65(0x104)],0x0)&&_0x197f9e[_0x58ab65(0x10e)][_0x58ab65(0x13a)][_0x58ab65(0x129)](_0x3c1932=>{const _0x1b8f12=_0x58ab65,_0x3b9bf6=_0x3c1932[_0x1b8f12(0x8c)]?this['getRootParentFile'](_0x3c1932[_0x1b8f12(0x8c)]):null;if(_0x3b9bf6)return _0x3b9bf6;});}return null;}}function a27_0x8a96(){const _0x130a38=['constants','JVkwX','TestRunFinished','after\x20each','UXxoX','LogCreated','pid','slow','failure_backtrace','VWtSe','wdPIT','UgVDo','bs:addLog:','xkixj','dirname','wKFyO','zyFOm','awpUM','../../../helpers/test-observability/sessionHandler','length','skipped','BPnTS','currentTest','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','AssertionError','appendTestItemLog','suite','uxZuL','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','parent','%s\x20-\x20%s','error','expanded','consoleLog','3125304ojdbPA','qwfqu','isPending','../../../helpers/central-scanner/helpers','body','bind','bs:addPlatformDetails:','CBTSessionCreated','ckFEJ','sQCbt','file','fast','util','failed','getTime','ywIAD','MOCHA','wrrvs','WUwta','hook_run','finalResults','Runner','forEach','COMPLETED','retryOf','jhNqg','write','indent','docHtml','pending','kXWuV','hnVOp','.git','amKyN','scope','agCSR','oFnRu','wcPYF','dDKZH','suites','444178HDZuBW','WDges','_indents','cnSIP','prototype','TICXc','CnUYA','WCXYq','XAErF','started_at','mAeqS','hzgcr','escape','ZXhpE','_buildCreated','results','testAnalyticsId','pass','</h1>','sep','.js','runner','name','kAbgC','Xgltk','kXwNh','symbols','scopes','RUNNING','split','increaseIndent','eAyof','mocha/lib/reporters/base.js','Efetl','XhFHf','TestRunSkipped','wmbZt','\x20\x20%d)\x20%s','YvywD','File\x20path\x20could\x20not\x20be\x20found','CRNIH','QOJYw','Mocha','../../../helpers/test-observability/utils','type','JsAMx','prefixTestPath','UHxmY','dlljO','exports','logs','before\x20each','stdout','light','ZEunD','../../../helpers/helper','HookStarted','1863pZTBEE','getRootParentFile','sendTestRunEvent','_paths','failureCount','toString','apply','../test-observability/mochaUtils','1269395YuWYQH','xOZZa','setCentralScannerData','currentRetry','multiple','cwd','before\x20all','1481020BHPgje','call','integrations','uYTOh','registerListeners','10973QTQDsS','reporterOption','cEOEK','YPXfP','findGitConfig','Exception\x20in\x20browserstack\x20custome\x20reporter\x20with\x20error:\x20','rgEjl','bright\x20yellow','Mkrrv','done','once','hookAnalyticsId','hook_type','EVENT','doc','sTPkV','Reporter','__platform__','\x20-\x20','now','\x20\x20<dt\x20class=\x22error\x22>','orZuw','HookFinished','mocha/lib/runnable.js','AUKTl','backtrace','dWFNK','vphhR','color','dot','gyPUa','Gfdzn','match','spec','sOmhx','\x20\x20<dt>','tnCdl','uploadEventData','WNcCt','hooks','ctx','3399438PVglqD','current_hook','appendTestPlatform','failCount','redirectUrl','jYcdO','</dt>','../../../helpers/testhub/constants','docAppend','toISOString','speed','mocha','fullTitle','markedStatus','_upstreamConfig','TestRunStarted','\x20\x20<dd\x20class=\x22error\x22>','state','join','qVisp','testObservability','\x20\x20<dd><pre><code>','BhoYJ','86TsZDlO','Failed\x20to\x20load\x20reporter\x20','SVAxJ','4|3|1|2|0','whzua','PPtmq','shouldProcessEventForTesthub','current_test','</section>','<h1>','includes','fail','relative','push','zrVsC','2572ZxfWzo','_testResults','__indents','Rexng','WWmcS','mocha/lib/utils.js','passed','vPQqK','DYRtL','root','56dJDnHi','DsHmW','hook_run_uuid','SYUcH','responseCode','test_run','rdNBV','event_type','uuid','getInstance','analyticsResult','titlePath','testStarted','</code></pre></dd>','FaCta','nTfIO','AMPSS','duration','xunit','finished_at','reporterOptions','test_run_uuid','title','config','decreaseIndent','HookRunFinished','urStO','BEFORE_EACH','slice','tVhfR','pErXb','YyLlT','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','result','krSet','failure_reason_expanded','after\x20all','err','Hqlbu','wSByz','AFTER_ALL','bFInZ','fOcwq','../../../helpers/test-observability/requestQueueHandler','location_prefix','VhaqW','gsnZp','BEBnA','rpWxM','checkmark','FwccS','NNvWE'];a27_0x8a96=function(){return _0x130a38;};return a27_0x8a96();}module[a27_0x39ec2b(0x16c)]=MyReporter;
1
+ 'use strict';const a27_0x1505ba=a27_0x4d0e;(function(_0x2ae4d9,_0x1dca1f){const _0x1390d3=a27_0x4d0e,_0x1db934=_0x2ae4d9();while(!![]){try{const _0x2481e4=parseInt(_0x1390d3(0x204))/0x1*(parseInt(_0x1390d3(0x1d3))/0x2)+parseInt(_0x1390d3(0x259))/0x3*(-parseInt(_0x1390d3(0x194))/0x4)+parseInt(_0x1390d3(0x181))/0x5+parseInt(_0x1390d3(0x222))/0x6+parseInt(_0x1390d3(0x1a7))/0x7+-parseInt(_0x1390d3(0x288))/0x8+parseInt(_0x1390d3(0x291))/0x9*(-parseInt(_0x1390d3(0x26b))/0xa);if(_0x2481e4===_0x1dca1f)break;else _0x1db934['push'](_0x1db934['shift']());}catch(_0x5dbcfa){_0x1db934['push'](_0x1db934['shift']());}}}(a27_0x4798,0x52954));const util=require(a27_0x1505ba(0x1c4)),fs=require('fs'),path=require(a27_0x1505ba(0x1f2)),{requireModule}=require(a27_0x1505ba(0x20d)),Base=requireModule(a27_0x1505ba(0x1f6),'mocha'),utils=requireModule(a27_0x1505ba(0x280),'mocha'),color=Base[a27_0x1505ba(0x1ce)],Mocha=requireModule(a27_0x1505ba(0x203)),Runnable=requireModule('mocha/lib/runnable.js',a27_0x1505ba(0x203)),{v4:uuidv4}=require(a27_0x1505ba(0x1c5)),bsSetupHelper=require('../../../helpers/helper'),testhubUtils=require('../../../helpers/testhub/utils'),centralScannerUtils=require(a27_0x1505ba(0x1bb)),testHubConstants=require(a27_0x1505ba(0x175)),{FRAMEWORKS}=require(a27_0x1505ba(0x1e6)),a27_0x2c1769={};a27_0x2c1769[a27_0x1505ba(0x220)]=a27_0x1505ba(0x21c),a27_0x2c1769[a27_0x1505ba(0x171)]=a27_0x1505ba(0x298),a27_0x2c1769['before\x20each']=a27_0x1505ba(0x212),a27_0x2c1769[a27_0x1505ba(0x1aa)]='AFTER_EACH';function a27_0x4d0e(_0x5efb93,_0x56da77){const _0x4798bb=a27_0x4798();return a27_0x4d0e=function(_0x4d0ecf,_0x5f352c){_0x4d0ecf=_0x4d0ecf-0x16e;let _0x45760f=_0x4798bb[_0x4d0ecf];return _0x45760f;},a27_0x4d0e(_0x5efb93,_0x56da77);}function a27_0x4798(){const _0x4460d3=['constants','EfuEF','xKFHS','http_response','MbeYw','indent','retryOf','\x20(%dms)','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','failure_reason_expanded','</dd>','nJqnT','ctx','responseCode','toString','uploadEventData','apply','trim','../../../helpers/test-observability/constants','bang','inMci','started_at','<section\x20class=\x22suite\x22>','dVEXT','spec','bofZa','AhPKv','markedStatus','qxQQZ','</dl>','path','kPtNp','setCentralScannerData','push','mocha/lib/reporters/base.js','__indents','finished_at','\x20\x20<dt\x20class=\x22error\x22>','getInstance','PCXpB','EcrKZ','suiteCount','redirectUrl','root','wUpsv','PNllr','smyUr','mocha','13EauNNG','JmyQC','ZRQyQ','stdout','\x20\x20<dd\x20class=\x22error\x22><pre><code>','UCXlF','</section>','gNuHE','IwtSb','../../../helpers/helper','TestRunFinished','uqbze','\x20\x20<dt>','config','BEFORE_EACH','QVUDG','sjMAW','../../../helpers/test-observability/sessionHandler','finalResults','aRFbt','increaseIndent','call','fail','ZfiuR','BEFORE_ALL','parent','getRootParentFile','QBZKS','before\x20all','err','2204388vJBVfE','SMbKp','gZELX','fullTitle','</dt>','BhaSd','failed','%s\x20','NktML','yABnM','dasqj','VaNKQ','symbols','integrations','getTime','runner','split','PKZMi','forEach','escape','join','MLIAX','EryUA','_indents','esIYV','docHtml','VHCwq','wnIVg','shouldProcessEventForTesthub','OYdHW','hook_run_uuid','once','fhkqB','state','PJSCb','match','relative','bs:addLog:','RgeIp','length','.js','bs:addPlatformDetails:','ULbgU','PpLEL','skipped','SZqmJ','RUNNING','dirname','xunit','javascript','sep','__platform__','test','dScPi','WdtBt','9meMDIY','WDoIU','done','prototype','passed','LDaHz','speed','fOhQU','docAppend','ouSnp','BdQBG','doc','eFhVx','logs','iUOES','type','toISOString','registerListeners','20dtLyyp','test_run_uuid','scope','IDHAp','Xcmpa','before\x20each','RgUON','SaXah','Egctb','HookStarted','CBTSessionCreated','wkRyo','_testEnv','ViWHr','location_prefix','0|1|4|3|2','Mocha','LogCreated','<dl>','oPsGW','Exception\x20in\x20browserstack\x20custome\x20reporter\x20with\x20error:\x20','mocha/lib/utils.js','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','hookAnalyticsId','consoleLog','yaePI','fast','Reporter','KfYOS','205992TvLpYe','now','statSync','failure','pqQkl','gofaS','backtrace','TestRunSkipped','removeAllListeners','4396734cYkhGe','pending','prefixTestPath','\x20-\x20','zBcWS','pWWKp','MOCHA','AFTER_ALL','FAawJ','HookFinished','HookRunFinished','test_run','PJnvh','dot','reporterOption','tvWou','after\x20all','AHYZY','comma','appendTestPlatform','../../../helpers/testhub/constants','appendTestItemLog','RHnVd','WeZtm','\x20\x20<dd><pre><code>','inspect','hook_type','multiple','fDoxp','bind','sJeAE','<h1>','3115560NGHYQD','analyticsResult','bsConfig','body','%s\x20-\x20%s','HwnRy','Runner','../../../helpers/test-observability/utils','setCurrentTestData','ySdga','VllbL','SLVRW','suites','odbsY','currentTest','EVENT','failureCount','findGitConfig','current_hook','548892xSCFKT','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','result','currentRetry','pid','IiKOc','slow','ssCon','titlePath','originalTitle','file','SYMnK','scopes','slice','AssertionError','current_test','zlsnl','nSQgr','../../../helpers/test-observability/requestQueueHandler','2030966OPLFAA','decreaseIndent','appendTesthubParams','after\x20each','duration','HGqco','Pyslv','sendTestRunEvent','title','hvZVJ','pass','TestRunStarted','write','testStarted','light','kWuZR','bvoTX','NtNZA','results','PmBii','../../../helpers/central-scanner/helpers','checkmark','_buildCreated','BdFjv','fYkVG','_testResults','QEFXt','testAnalyticsId','event_type','util','uuid','clean','expanded','TVruZ','roJcd','shutdown','includes','DIuKP','\x20\x20<dd\x20class=\x22error\x22>','color','voZWe','yeZJA','isPending','lILsT','72628EWgXfH'];a27_0x4798=function(){return _0x4460d3;};return a27_0x4798();}const HOOK_TYPES_MAP=a27_0x2c1769,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha[a27_0x1505ba(0x187)][a27_0x1505ba(0x1d4)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0x1505ba(0x1d4)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require('../test-observability/mochaUtils'),{consoleHolder}=require(a27_0x1505ba(0x1e6)),SessionHandler=require(a27_0x1505ba(0x215)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a27_0x1505ba(0x188)),RequestQueueHandler=require(a27_0x1505ba(0x1a6)),requestQueueHandler=RequestQueueHandler[a27_0x1505ba(0x1fa)]();class MyReporter{constructor(_0x43fecf,_0x51b925){const _0x4a6897=a27_0x1505ba,_0x9e6a69={'EcrKZ':function(_0x386a35,_0xfebe35){return _0x386a35===_0xfebe35;},'WeZtm':_0x4a6897(0x1ec),'IDHAp':function(_0x442abf,_0x13a26f){return _0x442abf+_0x13a26f;},'yaePI':function(_0x2e38f9,_0x33ffe0,_0x44c012){return _0x2e38f9(_0x33ffe0,_0x44c012);},'PJnvh':'green','SYMnK':_0x4a6897(0x229),'pxvBy':function(_0x2384a6,_0x4c021c,_0x25f738){return _0x2384a6(_0x4c021c,_0x25f738);},'kWuZR':_0x4a6897(0x1b5),'WdtBt':_0x4a6897(0x185),'LDaHz':_0x4a6897(0x250),'tvWou':function(_0x9b25aa,_0x2dca73){return _0x9b25aa===_0x2dca73;},'gNuHE':_0x4a6897(0x264),'hvZVJ':function(_0x7fe22b){return _0x7fe22b();},'EfuEF':function(_0x52bb3a){return _0x52bb3a();},'BdQBG':'HookRunStarted','roJcd':_0x4a6897(0x29b),'SLVRW':function(_0x354e9c,_0x54f028){return _0x354e9c===_0x54f028;},'DLzlM':_0x4a6897(0x25d),'dVEXT':function(_0x121d82,_0x3fd49e){return _0x121d82===_0x3fd49e;},'ZfiuR':_0x4a6897(0x285),'QVUDG':function(_0x58907c,_0xe3fb06,_0x4068e7){return _0x58907c(_0xe3fb06,_0x4068e7);},'ssCon':_0x4a6897(0x1bc),'oDMNm':function(_0x7e110b,_0x4a3057){return _0x7e110b+_0x4a3057;},'Pyslv':_0x4a6897(0x1b1),'VaNKQ':'\x20%s','nSQgr':function(_0x3f74f1,_0x51f79e){return _0x3f74f1+_0x51f79e;},'zlsnl':function(_0x242221,_0x1f4e75){return _0x242221+_0x1f4e75;},'NktML':function(_0x141e84,_0x1735f3,_0x4cf853){return _0x141e84(_0x1735f3,_0x4cf853);},'DIuKP':function(_0x2817e7,_0x4b3bf3){return _0x2817e7+_0x4b3bf3;},'QBZKS':function(_0x1281ff,_0x3938d5,_0xd00bd1){return _0x1281ff(_0x3938d5,_0xd00bd1);},'IJxKl':_0x4a6897(0x1db),'wkRyo':function(_0x396a29,_0x53eb23){return _0x396a29+_0x53eb23;},'fYkVG':_0x4a6897(0x21a),'EryUA':'\x20\x20%d)\x20%s','iUOES':function(_0x66d54c,_0x2e0234){return _0x66d54c===_0x2e0234;},'ZcuwY':function(_0x3fdc40,_0x1827c7){return _0x3fdc40+_0x1827c7;},'TVruZ':'bright\x20yellow','Egctb':'COMPLETED','BhaSd':function(_0x4fb4df,_0x38b625){return _0x4fb4df===_0x38b625;},'SMbKp':_0x4a6897(0x16e),'RHnVd':_0x4a6897(0x19a),'xJuPm':function(_0x1d7569,_0x47a44f){return _0x1d7569===_0x47a44f;},'PKZMi':_0x4a6897(0x27a),'ySdga':function(_0x437634,_0x573a70){return _0x437634===_0x573a70;},'sIEDx':function(_0x10e681,_0x5bd500){return _0x10e681===_0x5bd500;},'yABnM':_0x4a6897(0x292),'yBYGL':function(_0x2df2f3){return _0x2df2f3();},'MbeYw':_0x4a6897(0x28f),'RgUON':function(_0xef8b01,_0x38e060){return _0xef8b01===_0x38e060;},'pqQkl':function(_0x12e750,_0x51aee1){return _0x12e750(_0x51aee1);},'pWWKp':function(_0x363790,_0x4f337f){return _0x363790===_0x4f337f;},'wnIVg':function(_0x4adc79){return _0x4adc79();},'tzsBY':function(_0x52d733,_0x1174ad){return _0x52d733===_0x1174ad;},'RgeIp':_0x4a6897(0x252),'VHCwq':function(_0x5014b6,_0x4a4424,_0x537097){return _0x5014b6(_0x4a4424,_0x537097);},'voZWe':'mocha','WDoIU':function(_0x485339,_0xd030f5){return _0x485339(_0xd030f5);},'oPsGW':function(_0x59a31c,_0x4eb0f3){return _0x59a31c(_0x4eb0f3);},'odbsY':function(_0x3ab52c,_0x4c467e){return _0x3ab52c!==_0x4c467e;}};this[_0x4a6897(0x268)]=_0x51b925[_0x4a6897(0x16f)][_0x4a6897(0x268)],this['testObservability']=_0x9e6a69['yBYGL'](isTestObservabilitySession),Base[_0x4a6897(0x219)](this,_0x43fecf,_0x51b925),this[_0x4a6897(0x239)]=0x0,this['failCount']=0x0,this['results']=[],this[_0x4a6897(0x216)]=[],this[_0x4a6897(0x1fd)]=0x0,this[_0x4a6897(0x1bd)]=![],this['_testResults']=[],this[_0x4a6897(0x277)]=_0x9e6a69[_0x4a6897(0x23d)](getTestEnv),this['_paths']=new PathHelper({'cwd':process['cwd']()},this[_0x4a6897(0x277)][_0x4a6897(0x279)]),this['_upstreamConfig']=_0x51b925['reporterOption'][_0x4a6897(0x183)],this[_0x4a6897(0x26a)]();_0x9e6a69['tzsBY'](this[_0x4a6897(0x268)],_0x9e6a69[_0x4a6897(0x20b)])&&(this[_0x4a6897(0x23b)]='',this['__indents']=0x2);_0x43fecf['once'](EVENT_RUN_BEGIN,async()=>{const _0x2cab00=_0x4a6897;_0x9e6a69[_0x2cab00(0x1fc)](this[_0x2cab00(0x268)],_0x9e6a69[_0x2cab00(0x178)])&&Base[_0x2cab00(0x283)]();})['on'](EVENT_SUITE_BEGIN,_0x112aa4=>{const _0x17eabc=_0x4a6897;if(_0x112aa4[_0x17eabc(0x1ff)])return;if(_0x9e6a69['EcrKZ'](this['type'],_0x9e6a69['WeZtm']))this[_0x17eabc(0x218)](),Base['consoleLog'](_0x9e6a69[_0x17eabc(0x26e)](_0x9e6a69['IDHAp'](this['indent'](),_0x9e6a69['yaePI'](color,_0x9e6a69[_0x17eabc(0x29d)],_0x9e6a69[_0x17eabc(0x19f)])),_0x9e6a69['pxvBy'](color,_0x9e6a69[_0x17eabc(0x1b6)],_0x9e6a69[_0x17eabc(0x258)])),_0x9e6a69[_0x17eabc(0x25e)],_0x112aa4['title'],global[_0x17eabc(0x255)]);else _0x9e6a69['tvWou'](this['type'],_0x9e6a69[_0x17eabc(0x20b)])&&(this[_0x17eabc(0x261)](this[_0x17eabc(0x1d9)]()+_0x17eabc(0x1ea)),++this[_0x17eabc(0x1f7)],this[_0x17eabc(0x261)](this[_0x17eabc(0x1d9)]()+_0x17eabc(0x180)+utils[_0x17eabc(0x235)](_0x112aa4['title']+_0x17eabc(0x294)+global[_0x17eabc(0x255)])+'</h1>'),this['docAppend'](this[_0x17eabc(0x1d9)]()+_0x17eabc(0x27d)));})['on'](EVENT_HOOK_BEGIN,async _0x41f7d5=>{const _0x50a47=_0x4a6897;if(_0x9e6a69[_0x50a47(0x1fc)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0x50a47(0x190)][_0x50a47(0x274)]),!![])){if(!_0x41f7d5['hookAnalyticsId'])_0x41f7d5['hookAnalyticsId']=_0x9e6a69[_0x50a47(0x1b0)](uuidv4);else _0x41f7d5[_0x50a47(0x1ef)]&&(_0x41f7d5['hookAnalyticsId']=_0x9e6a69[_0x50a47(0x1d5)](uuidv4),delete _0x41f7d5['markedStatus']);_0x41f7d5[_0x50a47(0x1e9)]=new Date()['toISOString'](),this[_0x50a47(0x193)]=_0x41f7d5,await this[_0x50a47(0x1ae)](_0x41f7d5,undefined,![],_0x9e6a69[_0x50a47(0x263)]);}})['on'](EVENT_HOOK_END,async _0x383bd8=>{const _0x2c066f=_0x4a6897;_0x9e6a69[_0x2c066f(0x170)](testhubUtils[_0x2c066f(0x23e)](testHubConstants[_0x2c066f(0x190)][_0x2c066f(0x29a)]),!![])&&(!_0x383bd8[_0x2c066f(0x1ef)]&&(_0x383bd8['markedStatus']=!![],await this[_0x2c066f(0x1ae)](_0x383bd8,undefined,![],_0x9e6a69[_0x2c066f(0x1c9)])));})['on'](EVENT_SUITE_END,_0x2388de=>{const _0x518edc=_0x4a6897;if(_0x2388de[_0x518edc(0x1ff)])return;if(_0x9e6a69['iUOES'](this[_0x518edc(0x268)],_0x9e6a69['WeZtm']))Base[_0x518edc(0x283)](),Base['consoleLog'](_0x9e6a69[_0x518edc(0x26e)](_0x9e6a69['ZcuwY'](this[_0x518edc(0x1d9)](),_0x9e6a69[_0x518edc(0x213)](color,_0x9e6a69['TVruZ'],_0x9e6a69['SYMnK'])),_0x9e6a69[_0x518edc(0x22a)](color,_0x9e6a69[_0x518edc(0x1b6)],_0x9e6a69['WdtBt'])),_0x9e6a69[_0x518edc(0x273)],_0x2388de[_0x518edc(0x1af)],global[_0x518edc(0x255)]),this[_0x518edc(0x1b9)]['forEach'](_0x2feca3=>{const _0x13873e=_0x518edc;if(_0x9e6a69[_0x13873e(0x18c)](_0x2feca3['state'],_0x9e6a69['DLzlM'])){var _0x4c56b4;_0x9e6a69['dVEXT'](_0x2feca3['speed'],_0x9e6a69[_0x13873e(0x21b)])?(_0x4c56b4=_0x9e6a69['IDHAp'](_0x9e6a69[_0x13873e(0x26e)](this['indent'](),_0x9e6a69['QVUDG'](color,_0x9e6a69[_0x13873e(0x19b)],_0x9e6a69['oDMNm']('\x20\x20',Base[_0x13873e(0x22e)]['ok']))),_0x9e6a69[_0x13873e(0x284)](color,_0x9e6a69[_0x13873e(0x1ad)],_0x9e6a69[_0x13873e(0x22d)])),Base[_0x13873e(0x283)](_0x4c56b4,_0x2feca3[_0x13873e(0x1af)])):(_0x4c56b4=_0x9e6a69['oDMNm'](_0x9e6a69[_0x13873e(0x1a5)](_0x9e6a69[_0x13873e(0x1a4)](this['indent'](),_0x9e6a69[_0x13873e(0x22a)](color,_0x9e6a69[_0x13873e(0x19b)],_0x9e6a69[_0x13873e(0x1cc)]('\x20\x20',Base[_0x13873e(0x22e)]['ok']))),_0x9e6a69[_0x13873e(0x213)](color,_0x9e6a69[_0x13873e(0x1ad)],_0x9e6a69[_0x13873e(0x22d)])),_0x9e6a69[_0x13873e(0x21f)](color,_0x2feca3['speed'],_0x9e6a69['IJxKl'])),Base['consoleLog'](_0x4c56b4,_0x2feca3['title'],_0x2feca3[_0x13873e(0x1ab)]));}else Base['consoleLog'](_0x9e6a69[_0x13873e(0x276)](this[_0x13873e(0x1d9)](),_0x9e6a69[_0x13873e(0x213)](color,_0x9e6a69['fYkVG'],_0x9e6a69[_0x13873e(0x238)])),++this['failCount'],_0x2feca3[_0x13873e(0x1af)]);}),this[_0x518edc(0x1a8)]();else _0x9e6a69[_0x518edc(0x170)](this[_0x518edc(0x268)],_0x9e6a69[_0x518edc(0x20b)])&&(this[_0x518edc(0x261)](this[_0x518edc(0x1d9)]()+_0x518edc(0x1f1)),--this[_0x518edc(0x1f7)],this[_0x518edc(0x261)](this['indent']()+_0x518edc(0x20a)),--this[_0x518edc(0x1f7)]);Array[_0x518edc(0x25c)][_0x518edc(0x1f5)][_0x518edc(0x1e4)](this[_0x518edc(0x216)],this['results']),this[_0x518edc(0x1b9)]=[];})['on'](EVENT_TEST_PASS,async _0x581eaa=>{const _0x19f92c=_0x4a6897;this[_0x19f92c(0x1b9)][_0x19f92c(0x1f5)]({'speed':_0x581eaa['speed'],'suite':_0x581eaa[_0x19f92c(0x21d)][_0x19f92c(0x1af)],'title':_0x581eaa[_0x19f92c(0x1af)],'fullTitle':_0x581eaa['fullTitle'](),'duration':_0x581eaa[_0x19f92c(0x1ab)],'state':_0x581eaa[_0x19f92c(0x243)],'err':{},'currentRetry':_0x581eaa[_0x19f92c(0x197)](),'titlePathV':_0x581eaa[_0x19f92c(0x19c)](),'isPending':_0x581eaa[_0x19f92c(0x1d1)]()});if(_0x9e6a69[_0x19f92c(0x227)](this['type'],_0x9e6a69['SMbKp']))_0x9e6a69['BhaSd'](_0x581eaa['speed'],_0x9e6a69[_0x19f92c(0x177)])?process[_0x19f92c(0x207)][_0x19f92c(0x1b3)](Base[_0x19f92c(0x1ce)](_0x9e6a69[_0x19f92c(0x1c8)],Base[_0x19f92c(0x22e)]['dot'])):process[_0x19f92c(0x207)][_0x19f92c(0x1b3)](Base[_0x19f92c(0x1ce)](_0x581eaa[_0x19f92c(0x25f)],Base['symbols'][_0x19f92c(0x16e)]));else{if(_0x9e6a69[_0x19f92c(0x1eb)](this[_0x19f92c(0x268)],_0x9e6a69[_0x19f92c(0x20b)])){this[_0x19f92c(0x261)](this[_0x19f92c(0x1d9)]()+_0x19f92c(0x210)+utils[_0x19f92c(0x235)](_0x581eaa[_0x19f92c(0x1af)])+'</dt>'),this[_0x19f92c(0x261)](this['indent']()+'\x20\x20<dt>'+utils['escape'](_0x581eaa[_0x19f92c(0x19e)])+'</dt>');var _0x5cbe59=utils['escape'](utils[_0x19f92c(0x1c6)](_0x581eaa[_0x19f92c(0x184)]));this['docAppend'](this[_0x19f92c(0x1d9)]()+_0x19f92c(0x179)+_0x5cbe59+'</code></pre></dd>');}}_0x9e6a69['xJuPm'](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x581eaa['markedStatus']&&(_0x581eaa[_0x19f92c(0x1ef)]=!![],await this[_0x19f92c(0x1ae)](_0x581eaa)));})['on'](EVENT_TEST_FAIL,async(_0x22b1d8,_0x169ef3)=>{const _0x2a7fb6=_0x4a6897;this['results'][_0x2a7fb6(0x1f5)]({'title':_0x22b1d8['title'],'suite':_0x22b1d8[_0x2a7fb6(0x21d)][_0x2a7fb6(0x1af)],'state':_0x22b1d8[_0x2a7fb6(0x243)],'err':{'message':util[_0x2a7fb6(0x17a)](_0x169ef3)},'fullTitle':_0x22b1d8[_0x2a7fb6(0x225)](),'speed':_0x22b1d8[_0x2a7fb6(0x25f)],'currentRetry':_0x22b1d8[_0x2a7fb6(0x197)](),'titlePathV':_0x22b1d8[_0x2a7fb6(0x19c)]()});if(_0x9e6a69[_0x2a7fb6(0x267)](this[_0x2a7fb6(0x268)],_0x9e6a69[_0x2a7fb6(0x223)]))process[_0x2a7fb6(0x207)][_0x2a7fb6(0x1b3)](Base['color'](_0x9e6a69[_0x2a7fb6(0x1bf)],Base['symbols'][_0x2a7fb6(0x1e7)]));else{if(_0x9e6a69['EcrKZ'](this[_0x2a7fb6(0x268)],_0x9e6a69[_0x2a7fb6(0x20b)])){const _0x48994a=_0x9e6a69[_0x2a7fb6(0x233)][_0x2a7fb6(0x232)]('|');let _0x2f95e2=0x0;while(!![]){switch(_0x48994a[_0x2f95e2++]){case'0':this[_0x2a7fb6(0x261)](this[_0x2a7fb6(0x1d9)]()+'\x20\x20<dt\x20class=\x22error\x22>'+utils[_0x2a7fb6(0x235)](_0x22b1d8[_0x2a7fb6(0x1af)])+_0x2a7fb6(0x226));continue;case'1':this[_0x2a7fb6(0x261)](this['indent']()+_0x2a7fb6(0x1f9)+utils[_0x2a7fb6(0x235)](_0x22b1d8[_0x2a7fb6(0x19e)])+_0x2a7fb6(0x226));continue;case'2':this[_0x2a7fb6(0x261)](this[_0x2a7fb6(0x1d9)]()+_0x2a7fb6(0x1cd)+utils[_0x2a7fb6(0x235)](_0x22b1d8[_0x2a7fb6(0x221)])+_0x2a7fb6(0x1de));continue;case'3':this[_0x2a7fb6(0x261)](this['indent']()+_0x2a7fb6(0x208)+_0xe278ea+'</code></pre></dd>');continue;case'4':var _0xe278ea=utils[_0x2a7fb6(0x235)](utils[_0x2a7fb6(0x1c6)](_0x22b1d8[_0x2a7fb6(0x184)]));continue;}break;}}}if(_0x9e6a69[_0x2a7fb6(0x18a)](testhubUtils[_0x2a7fb6(0x23e)](testHubConstants[_0x2a7fb6(0x190)][_0x2a7fb6(0x29a)]),!![])){if(!_0x22b1d8[_0x2a7fb6(0x1ef)]){_0x22b1d8[_0x2a7fb6(0x1ef)]=!![];if(_0x22b1d8[_0x2a7fb6(0x1c2)])await this['sendTestRunEvent'](_0x22b1d8,_0x169ef3);else _0x22b1d8[_0x2a7fb6(0x282)]&&await this[_0x2a7fb6(0x1ae)](_0x22b1d8,_0x169ef3,![],_0x9e6a69['roJcd']);}}})['on'](EVENT_TEST_PENDING,async _0x1edc9e=>{const _0x499b5e=_0x4a6897;this[_0x499b5e(0x1b9)][_0x499b5e(0x1f5)]({'title':_0x1edc9e[_0x499b5e(0x1af)],'suite':_0x1edc9e[_0x499b5e(0x21d)][_0x499b5e(0x1af)],'state':_0x1edc9e['state'],'err':{},'fullTitle':_0x1edc9e[_0x499b5e(0x225)](),'speed':_0x1edc9e[_0x499b5e(0x25f)],'currentRetry':_0x1edc9e[_0x499b5e(0x197)](),'titlePathV':_0x1edc9e['titlePath']()}),_0x9e6a69['sIEDx'](this[_0x499b5e(0x268)],_0x9e6a69[_0x499b5e(0x223)])&&process[_0x499b5e(0x207)][_0x499b5e(0x1b3)](Base[_0x499b5e(0x1ce)](_0x9e6a69[_0x499b5e(0x22b)],Base[_0x499b5e(0x22e)][_0x499b5e(0x173)])),_0x9e6a69[_0x499b5e(0x227)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x1edc9e['testAnalyticsId']&&(_0x1edc9e[_0x499b5e(0x1c2)]=_0x9e6a69['yBYGL'](uuidv4)),!_0x1edc9e[_0x499b5e(0x1ef)]&&(_0x1edc9e['markedStatus']=!![],await this[_0x499b5e(0x1ae)](_0x1edc9e,undefined,![],_0x9e6a69[_0x499b5e(0x1d8)])));})['on'](EVENT_TEST_BEGIN,async _0x1eccd7=>{const _0x5d2507=_0x4a6897;_0x9e6a69['RgUON'](testhubUtils[_0x5d2507(0x23e)](),!![])&&await this[_0x5d2507(0x1b4)](_0x1eccd7);})['on'](EVENT_TEST_END,async _0x133b5d=>{const _0x26ee56=_0x4a6897;_0x9e6a69[_0x26ee56(0x271)](testhubUtils[_0x26ee56(0x23e)](),!![])&&(!_0x133b5d[_0x26ee56(0x1ef)]&&(_0x133b5d[_0x26ee56(0x1ef)]=!![],await this[_0x26ee56(0x1ae)](_0x133b5d)));})[_0x4a6897(0x241)](EVENT_RUN_END,async()=>{const _0xcc4780=_0x4a6897;try{if(_0x9e6a69['SLVRW'](testhubUtils['shouldProcessEventForTesthub'](),!![])){const _0x7d4aef=_0x9e6a69[_0xcc4780(0x28c)](getHookSkippedTests,this[_0xcc4780(0x231)]['suite']);for(const _0x50481c of _0x7d4aef){!_0x50481c['testAnalyticsId']&&(_0x50481c[_0xcc4780(0x1c2)]=_0x9e6a69['yBYGL'](uuidv4)),await this['sendTestRunEvent'](_0x50481c,undefined,![],_0x9e6a69[_0xcc4780(0x1d8)]);}}}catch(_0x5d5fb4){_0x9e6a69[_0xcc4780(0x28c)](debug,_0xcc4780(0x1dc)+_0x5d5fb4);}await requestQueueHandler[_0xcc4780(0x1ca)](),_0x9e6a69[_0xcc4780(0x296)](this[_0xcc4780(0x268)],_0x9e6a69[_0xcc4780(0x20b)])&&Base[_0xcc4780(0x283)](this[_0xcc4780(0x23b)]);});if(this[_0x4a6897(0x268)]&&![_0x9e6a69['gNuHE'],_0x9e6a69[_0x4a6897(0x248)],_0x9e6a69['WeZtm'],_0x9e6a69[_0x4a6897(0x223)]][_0x4a6897(0x1cb)](this['type'])){const _0x1c5b06=this[_0x4a6897(0x268)][_0x4a6897(0x1e5)]();this[_0x4a6897(0x286)]=null;try{this[_0x4a6897(0x286)]=_0x9e6a69[_0x4a6897(0x23c)](requireModule,'mocha/lib/reporters/'+_0x1c5b06+_0x4a6897(0x24a),_0x9e6a69[_0x4a6897(0x1cf)]);}catch(_0x2825dc){_0x9e6a69[_0x4a6897(0x25a)](debug,_0x4a6897(0x27f)+_0x2825dc);}if(_0x9e6a69['iUOES'](this['Reporter'],null))try{this[_0x4a6897(0x286)]=_0x9e6a69[_0x4a6897(0x27e)](require,_0x1c5b06);}catch(_0x28b45c){console['error']('Failed\x20to\x20load\x20reporter\x20'+_0x1c5b06);}if(_0x9e6a69[_0x4a6897(0x18e)](this[_0x4a6897(0x286)],null)){const _0x15ac19={};_0x15ac19['reporterOptions']=_0x51b925[_0x4a6897(0x16f)],this[_0x4a6897(0x286)]=new this[(_0x4a6897(0x286))](_0x43fecf,_0x15ac19);}}}[a27_0x1505ba(0x1d9)](){const _0x45864a=a27_0x1505ba,_0x34a477={'AhPKv':function(_0x260454,_0x459484){return _0x260454(_0x459484);}};return _0x34a477[_0x45864a(0x1ee)](Array,this['_indents'])[_0x45864a(0x236)]('\x20\x20');}[a27_0x1505ba(0x218)](){this['_indents']++;}['decreaseIndent'](){this['_indents']--;}[a27_0x1505ba(0x261)](_0x298e0d){const _0x5aa425=a27_0x1505ba;this[_0x5aa425(0x23b)]+=_0x298e0d;}[a27_0x1505ba(0x25b)](_0x3ee366,_0xc3e7d2){const _0x32f501=a27_0x1505ba,_0x5e5507={'fhkqB':function(_0x35f01a,_0x3f4f8e){return _0x35f01a(_0x3f4f8e);}},_0x27d191={};_0x27d191[_0x32f501(0x191)]=_0x3ee366,_0x27d191[_0x32f501(0x1b9)]=this[_0x32f501(0x216)],_0x5e5507[_0x32f501(0x242)](_0xc3e7d2,_0x27d191);}[a27_0x1505ba(0x26a)](){const _0x233c5c=a27_0x1505ba;process[_0x233c5c(0x290)]('bs:addLog:'+process['pid']),process['on'](_0x233c5c(0x247)+process[_0x233c5c(0x198)],this[_0x233c5c(0x176)][_0x233c5c(0x17e)](this)),process[_0x233c5c(0x290)](_0x233c5c(0x24b)+process[_0x233c5c(0x198)]),process['on']('bs:addPlatformDetails:'+process[_0x233c5c(0x198)],this[_0x233c5c(0x174)]['bind'](this));}['testStarted']=async _0x59613f=>{const _0x2eed59=a27_0x1505ba,_0x48453c={'NtNZA':function(_0x310ebe){return _0x310ebe();},'inMci':function(_0x14fb01,_0x5bfea9){return _0x14fb01>_0x5bfea9;},'JmyQC':function(_0x3018b7,_0x28dcc3){return _0x3018b7===_0x28dcc3;},'IwtSb':_0x2eed59(0x1b2),'VllbL':function(_0x348eda,_0x478ff1){return _0x348eda(_0x478ff1);}};try{const _0x3df02e=this[_0x2eed59(0x1a3)];this[_0x2eed59(0x1a3)]=_0x59613f,_0x59613f[_0x2eed59(0x1da)]=null,_0x59613f['testAnalyticsId']=_0x48453c[_0x2eed59(0x1b8)](uuidv4),_0x59613f[_0x2eed59(0x1e9)]=new Date()['toISOString'](),_0x48453c[_0x2eed59(0x1e8)](_0x59613f['_currentRetry'],0x0)&&_0x3df02e&&_0x48453c[_0x2eed59(0x205)](_0x3df02e['title'],_0x59613f['title'])?(_0x59613f['retryOf']=_0x3df02e[_0x2eed59(0x1c2)],await this[_0x2eed59(0x1ae)](_0x59613f,undefined,![],_0x48453c[_0x2eed59(0x20c)]),_0x3df02e[_0x2eed59(0x243)]=STATE_FAILED,await this[_0x2eed59(0x1ae)](_0x3df02e,undefined,!![])):await this[_0x2eed59(0x1ae)](_0x59613f,undefined,![],_0x48453c[_0x2eed59(0x20c)]);}catch(_0x2ff0d6){_0x48453c[_0x2eed59(0x18b)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20'+_0x2ff0d6);}};[a27_0x1505ba(0x1ae)]=async(_0x4382fb,_0xad6eb2=undefined,_0xcf0585=![],_0x3d0b02=a27_0x1505ba(0x20e))=>{const _0x281f0f=a27_0x1505ba,_0x1ac8c1={'eFhVx':function(_0x10f0ee,_0x5012cc){return _0x10f0ee===_0x5012cc;},'SZqmJ':function(_0x76521d,_0x1141e4){return _0x76521d!==_0x1141e4;},'nJqnT':_0x281f0f(0x256),'HGqco':_0x281f0f(0x221),'bofZa':function(_0x40e313,_0x4595b0){return _0x40e313!==_0x4595b0;},'ULbgU':'File\x20path\x20could\x20not\x20be\x20found','PmBii':_0x281f0f(0x27b),'UCXlF':_0x281f0f(0x253),'ouSnp':function(_0x2dd05d,_0x5097c7){return _0x2dd05d===_0x5097c7;},'sjMAW':_0x281f0f(0x28f),'sJeAE':_0x281f0f(0x24e),'dasqj':function(_0x56bf70,_0x444ac5){return _0x56bf70-_0x444ac5;},'taMQT':_0x281f0f(0x1a2),'MLIAX':'UnhandledError','fDoxp':_0x281f0f(0x1e9),'AHYZY':_0x281f0f(0x1f8),'PJSCb':function(_0x4e39a1,_0x21085d){return _0x4e39a1(_0x21085d);},'gZELX':function(_0x31b454,_0x2e93b2){return _0x31b454===_0x2e93b2;},'lILsT':'HookRunFinished','FAawJ':function(_0x316be0,_0xb5d15f){return _0x316be0!==_0xb5d15f;},'qxQQZ':'failed','SaXah':_0x281f0f(0x25d),'HwnRy':function(_0x1cd22b,_0xce263f){return _0x1cd22b===_0xce263f;},'ViWHr':_0x281f0f(0x270),'ZRQyQ':function(_0x6a86a5,_0xa1b4a7){return _0x6a86a5(_0xa1b4a7);},'QEFXt':_0x281f0f(0x28b),'bvoTX':'failure_backtrace','LGxrT':_0x281f0f(0x28e),'wUpsv':_0x281f0f(0x1dd),'jazbn':_0x281f0f(0x1c7),'BdFjv':'TestRunFinished','PCXpB':function(_0x41ae34,_0x4ff9fa){return _0x41ae34(_0x4ff9fa);},'IiKOc':function(_0x3c209d,_0x296e1b){return _0x3c209d===_0x296e1b;},'esIYV':_0x281f0f(0x17b),'fhTLr':'hook_run','aEMJO':_0x281f0f(0x29c)};try{if(_0x4382fb['body']&&_0x4382fb[_0x281f0f(0x184)]['match'](/browserstack internal helper hook/))return;let _0x3e4b50=[];if(_0x1ac8c1[_0x281f0f(0x265)](_0x4382fb['state'],STATE_FAILED)){if(_0x1ac8c1[_0x281f0f(0x24f)](_0x4382fb[_0x281f0f(0x221)],undefined))_0x3e4b50=_0x4382fb[_0x281f0f(0x221)][_0x281f0f(0x17c)]?[_0x4382fb[_0x281f0f(0x221)][_0x281f0f(0x17c)],_0x1ac8c1[_0x281f0f(0x1df)]]:[_0x4382fb[_0x281f0f(0x221)],_0x1ac8c1[_0x281f0f(0x1ac)]];else _0x1ac8c1[_0x281f0f(0x1ed)](_0xad6eb2,undefined)?_0x3e4b50=[_0xad6eb2,_0x1ac8c1[_0x281f0f(0x1ac)]]:_0x3e4b50=[];}const _0x15020e=_0x1ac8c1['SZqmJ'](_0x4382fb[_0x281f0f(0x221)],undefined)?_0x4382fb[_0x281f0f(0x221)][_0x281f0f(0x1e2)]():_0x1ac8c1[_0x281f0f(0x24f)](_0xad6eb2,undefined)?_0xad6eb2[_0x281f0f(0x1e2)]():undefined;let _0x55c5e4;try{_0x55c5e4=this[_0x281f0f(0x21e)](_0x4382fb);}catch(_0x4c60df){_0x55c5e4=null;}const _0x29d651=_0x55c5e4?this['findGitConfig'](_0x55c5e4):null,_0x2f63eb=_0x55c5e4?this['_paths'][_0x281f0f(0x293)](this[_0x281f0f(0x21e)](_0x4382fb)):_0x1ac8c1[_0x281f0f(0x24c)],_0x43df23={'framework':_0x1ac8c1[_0x281f0f(0x1ba)],'uuid':_0x4382fb['testAnalyticsId']||_0x4382fb[_0x281f0f(0x282)],'name':_0x4382fb[_0x281f0f(0x1af)],'body':{'lang':_0x1ac8c1[_0x281f0f(0x209)],'code':_0x4382fb[_0x281f0f(0x184)]},'scope':this[_0x281f0f(0x26d)](_0x4382fb),'scopes':this[_0x281f0f(0x1a0)](_0x4382fb),'identifier':_0x4382fb[_0x281f0f(0x225)](),'file_name':_0x2f63eb,'vc_filepath':_0x29d651?path[_0x281f0f(0x246)](_0x29d651,_0x55c5e4):null,'location':_0x2f63eb,'result':_0x1ac8c1[_0x281f0f(0x262)](_0x3d0b02,_0x1ac8c1[_0x281f0f(0x214)])?_0x1ac8c1[_0x281f0f(0x17f)]:this[_0x281f0f(0x182)](_0x4382fb['state']),'failure_reason':_0x15020e,'duration_in_ms':_0x4382fb[_0x281f0f(0x1ab)]||(_0x3d0b02['match'](/Finished/)||_0x3d0b02[_0x281f0f(0x245)](/Skipped/)?_0x1ac8c1[_0x281f0f(0x22c)](Date[_0x281f0f(0x289)](),new Date(_0x4382fb[_0x281f0f(0x1e9)])[_0x281f0f(0x230)]()):null),'started_at':_0x4382fb[_0x281f0f(0x1e9)],'finished_at':_0x3d0b02[_0x281f0f(0x245)](/Finished/)||_0x3d0b02[_0x281f0f(0x245)](/Skipped/)?new Date()[_0x281f0f(0x269)]():null,'failure':failureData['apply'](null,_0x3e4b50),'failure_type':!_0x15020e?null:_0x15020e[_0x281f0f(0x245)](/AssertionError/)?_0x1ac8c1['taMQT']:_0x1ac8c1[_0x281f0f(0x237)],'retry_of':_0x4382fb[_0x281f0f(0x1da)]};testhubUtils[_0x281f0f(0x1a9)](_0x43df23,_0x3d0b02,_0x4382fb,FRAMEWORKS[_0x281f0f(0x297)]);(_0x4382fb['responseCode']||_0x4382fb[_0x281f0f(0x1fe)])&&centralScannerUtils[_0x281f0f(0x1f4)](_0x43df23,_0x4382fb[_0x281f0f(0x1e1)],_0x4382fb[_0x281f0f(0x1fe)]);_0x1ac8c1[_0x281f0f(0x265)](_0x3d0b02,_0x1ac8c1[_0x281f0f(0x214)])&&!_0x43df23[_0x1ac8c1[_0x281f0f(0x17d)]]&&(_0x43df23[_0x1ac8c1[_0x281f0f(0x17d)]]=_0x43df23[_0x1ac8c1[_0x281f0f(0x172)]]);if(_0x3d0b02['match'](/HookRun/))[_0x43df23[_0x281f0f(0x17b)],_0x43df23['name']]=_0x1ac8c1[_0x281f0f(0x244)](getHookDetails,_0x4382fb[_0x281f0f(0x225)]()||_0x4382fb[_0x281f0f(0x19d)]||_0x4382fb[_0x281f0f(0x1af)]),_0x1ac8c1[_0x281f0f(0x224)](_0x3d0b02,_0x1ac8c1[_0x281f0f(0x1d2)])&&(_0x1ac8c1[_0x281f0f(0x299)](_0x43df23[_0x281f0f(0x196)],_0x1ac8c1[_0x281f0f(0x1f0)])&&(_0x43df23[_0x281f0f(0x196)]=_0x1ac8c1[_0x281f0f(0x272)]),_0x1ac8c1[_0x281f0f(0x186)](_0x43df23[_0x281f0f(0x17b)],_0x1ac8c1[_0x281f0f(0x278)])&&_0x1ac8c1[_0x281f0f(0x224)](_0x43df23[_0x281f0f(0x196)],_0x1ac8c1[_0x281f0f(0x1f0)])&&!_0x4382fb['ctx'][_0x281f0f(0x18f)]['markedStatus']&&(_0x4382fb['ctx'][_0x281f0f(0x18f)][_0x281f0f(0x1ef)]=!![],_0x4382fb['ctx']['currentTest'][_0x281f0f(0x243)]=STATE_FAILED,await this[_0x281f0f(0x1ae)](_0x4382fb['ctx'][_0x281f0f(0x18f)],undefined,!![])));else _0x3d0b02['match'](/TestRun/)&&_0x1ac8c1[_0x281f0f(0x206)](mapTestHooks,_0x4382fb);const _0x3a4761=_0x43df23[_0x1ac8c1[_0x281f0f(0x1c1)]][0x0];_0x3a4761&&(_0x43df23[_0x1ac8c1[_0x281f0f(0x1b7)]]=_0x3a4761[_0x1ac8c1['LGxrT']],_0x43df23[_0x1ac8c1[_0x281f0f(0x200)]]=_0x3a4761[_0x1ac8c1['jazbn']]);[_0x1ac8c1['BdFjv'],_0x1ac8c1[_0x281f0f(0x214)]]['includes'](_0x3d0b02)&&(this[_0x281f0f(0x1c0)][_0x281f0f(0x1f5)](_0x43df23),_0x43df23['hooks']=_0x1ac8c1[_0x281f0f(0x1fb)](getHooksForTest,_0x4382fb));const _0x1f9bbe={'event_type':_0x1ac8c1[_0x281f0f(0x199)](_0x3d0b02,_0x1ac8c1[_0x281f0f(0x214)])?_0x1ac8c1[_0x281f0f(0x1be)]:_0x3d0b02};_0x3d0b02[_0x281f0f(0x245)](/HookRun/)?(_0x43df23[_0x1ac8c1[_0x281f0f(0x23a)]]=HOOK_TYPES_MAP[_0x43df23[_0x1ac8c1['esIYV']]],_0x1f9bbe[_0x1ac8c1['fhTLr']]=_0x43df23):_0x1f9bbe[_0x1ac8c1['aEMJO']]=_0x43df23,testhubUtils[_0x281f0f(0x189)](FRAMEWORKS[_0x281f0f(0x297)],_0x1f9bbe),await SessionHandler[_0x281f0f(0x1e3)](_0x1f9bbe);}catch(_0x5793e1){_0x1ac8c1[_0x281f0f(0x206)](debug,_0x281f0f(0x281)+_0x3d0b02+'\x20with\x20error\x20:\x20'+_0x5793e1);}};[a27_0x1505ba(0x192)](_0x561370){const _0x28ede1=a27_0x1505ba,_0x51e2b1={};_0x51e2b1[_0x28ede1(0x23f)]=function(_0x1bd4b6,_0x668d9f){return _0x1bd4b6===_0x668d9f;},_0x51e2b1[_0x28ede1(0x1d6)]=function(_0x1a80b5,_0x3cf6f0){return _0x1a80b5===_0x3cf6f0;},_0x51e2b1[_0x28ede1(0x24d)]=function(_0x3d09ca,_0x3c8559){return _0x3d09ca===_0x3c8559;},_0x51e2b1[_0x28ede1(0x295)]='.git',_0x51e2b1[_0x28ede1(0x260)]=_0x28ede1(0x211);const _0x53eeac=_0x51e2b1,_0x18c898=path[_0x28ede1(0x254)];if(_0x53eeac[_0x28ede1(0x23f)](_0x561370,null)||_0x53eeac[_0x28ede1(0x1d6)](_0x561370,'')||_0x53eeac[_0x28ede1(0x23f)](_0x561370,_0x18c898)||_0x53eeac['PpLEL'](_0x561370,path['dirname'](_0x561370)))return null;try{return fs[_0x28ede1(0x28a)](path[_0x28ede1(0x236)](_0x561370,_0x53eeac[_0x28ede1(0x295)],_0x53eeac[_0x28ede1(0x260)])),_0x561370;}catch(_0x143ff3){const _0x3541d7=path[_0x28ede1(0x251)](_0x561370);return this[_0x28ede1(0x192)](_0x3541d7);}}[a27_0x1505ba(0x176)]=async _0x51a100=>{const _0x155b4e=a27_0x1505ba,_0x3808e7={'kPtNp':_0x155b4e(0x27c),'yeZJA':function(_0x29df49,_0x24dd41){return _0x29df49(_0x24dd41);}};try{this[_0x155b4e(0x193)]&&!this[_0x155b4e(0x193)][_0x155b4e(0x1ef)]&&(_0x51a100[_0x155b4e(0x240)]=this[_0x155b4e(0x193)][_0x155b4e(0x282)]);!_0x51a100['hook_run_uuid']&&this[_0x155b4e(0x1a3)]&&!this[_0x155b4e(0x1a3)][_0x155b4e(0x1ef)]&&(_0x51a100[_0x155b4e(0x26c)]=this['current_test'][_0x155b4e(0x1c2)]);if(_0x51a100[_0x155b4e(0x240)]||_0x51a100[_0x155b4e(0x26c)]){const _0x40f77c={};_0x40f77c[_0x155b4e(0x1c3)]=_0x3808e7[_0x155b4e(0x1f3)],_0x40f77c[_0x155b4e(0x266)]=[_0x51a100],await SessionHandler[_0x155b4e(0x1e3)](_0x40f77c);}}catch(_0x202ef6){_0x3808e7[_0x155b4e(0x1d0)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x202ef6);}};[a27_0x1505ba(0x174)]=async _0x15d2a6=>{const _0x50b7a4=a27_0x1505ba,_0x1bf3f6={'VDGBS':_0x50b7a4(0x1d7),'Xcmpa':_0x50b7a4(0x275),'KfYOS':function(_0x2985b4,_0x38127e){return _0x2985b4(_0x38127e);}};try{const _0x48205a={};_0x48205a[_0x50b7a4(0x1c5)]=_0x15d2a6[_0x50b7a4(0x1c5)]||this[_0x50b7a4(0x1a3)][_0x50b7a4(0x1c2)],_0x48205a[_0x50b7a4(0x22f)]=_0x15d2a6[_0x1bf3f6['VDGBS']];const _0x3631e2=_0x48205a,_0x294b33={};_0x294b33[_0x50b7a4(0x1c3)]=_0x1bf3f6[_0x50b7a4(0x26f)],_0x294b33['test_run']=_0x3631e2,await SessionHandler[_0x50b7a4(0x1e3)](_0x294b33);}catch(_0x2d7421){_0x1bf3f6[_0x50b7a4(0x287)](debug,_0x50b7a4(0x195)+_0x2d7421);}};['analyticsResult'](_0x55213d){const _0x5d1503=a27_0x1505ba,_0x3d19f1={};_0x3d19f1[_0x5d1503(0x201)]='passed',_0x3d19f1[_0x5d1503(0x257)]=_0x5d1503(0x292),_0x3d19f1[_0x5d1503(0x20f)]=_0x5d1503(0x228);const _0x16f25f=_0x3d19f1,_0x511b9f={};return _0x511b9f[STATE_PASSED]=_0x16f25f['PNllr'],_0x511b9f[STATE_PENDING]=_0x16f25f[_0x5d1503(0x257)],_0x511b9f[STATE_FAILED]=_0x16f25f[_0x5d1503(0x20f)],_0x511b9f[_0x55213d];}[a27_0x1505ba(0x26d)](_0x2f67f6){const _0x47b946=a27_0x1505ba,_0x4c34f7={};_0x4c34f7[_0x47b946(0x202)]=function(_0x25c42c,_0x32f978){return _0x25c42c-_0x32f978;};const _0x13e5c4=_0x4c34f7,_0x302f1b=_0x2f67f6[_0x47b946(0x19c)]();return _0x302f1b[_0x47b946(0x1a1)](0x0,_0x13e5c4[_0x47b946(0x202)](_0x302f1b['length'],0x1))[_0x47b946(0x236)]('\x20');}[a27_0x1505ba(0x1a0)](_0x4ac2b9){const _0x59422f=a27_0x1505ba,_0x301a52={};_0x301a52[_0x59422f(0x28d)]=function(_0x367c39,_0x45432d){return _0x367c39-_0x45432d;};const _0x19d8dd=_0x301a52,_0x3c6098=_0x4ac2b9[_0x59422f(0x19c)]();return _0x3c6098['slice'](0x0,_0x19d8dd[_0x59422f(0x28d)](_0x3c6098[_0x59422f(0x249)],0x1));}['getRootParentFile'](_0x27c376){const _0x1ad942=a27_0x1505ba,_0x3a7bf1={};_0x3a7bf1[_0x1ad942(0x217)]=function(_0x5a02c7,_0x37144f){return _0x5a02c7>_0x37144f;};const _0x3ef2ad=_0x3a7bf1;if(_0x27c376[_0x1ad942(0x19e)])return _0x27c376['file'];if(_0x27c376['ctx']){const _0x4f1084=_0x27c376[_0x1ad942(0x1e0)][_0x1ad942(0x18f)]?this['getRootParentFile'](_0x27c376[_0x1ad942(0x1e0)][_0x1ad942(0x18f)]):null;if(_0x4f1084)return _0x4f1084;}if(_0x27c376[_0x1ad942(0x21d)]){const _0x3d751c=this[_0x1ad942(0x21e)](_0x27c376['parent'])||(_0x27c376[_0x1ad942(0x21d)][_0x1ad942(0x1e0)]&&_0x27c376[_0x1ad942(0x21d)]['ctx']['currentTest']?this['getRootParentFile'](_0x27c376[_0x1ad942(0x21d)][_0x1ad942(0x1e0)][_0x1ad942(0x18f)]):null);if(_0x3d751c)return _0x3d751c;_0x27c376[_0x1ad942(0x21d)][_0x1ad942(0x18d)]&&_0x3ef2ad[_0x1ad942(0x217)](_0x27c376[_0x1ad942(0x21d)]['suites'][_0x1ad942(0x249)],0x0)&&_0x27c376['parent'][_0x1ad942(0x18d)][_0x1ad942(0x234)](_0x4925f3=>{const _0x2f712d=_0x1ad942,_0x2f6fc1=_0x4925f3['ctx']?this[_0x2f712d(0x21e)](_0x4925f3[_0x2f712d(0x1e0)]):null;if(_0x2f6fc1)return _0x2f6fc1;});}return null;}}module['exports']=MyReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a28_0x17054d=a28_0x314a;(function(_0x5a4160,_0x3552b0){const _0x40b9ba=a28_0x314a,_0x557fc7=_0x5a4160();while(!![]){try{const _0xc476ba=-parseInt(_0x40b9ba(0x135))/0x1*(-parseInt(_0x40b9ba(0x17b))/0x2)+-parseInt(_0x40b9ba(0x1c2))/0x3+parseInt(_0x40b9ba(0x1cf))/0x4+parseInt(_0x40b9ba(0x119))/0x5+-parseInt(_0x40b9ba(0x1d9))/0x6*(parseInt(_0x40b9ba(0x1b6))/0x7)+parseInt(_0x40b9ba(0x114))/0x8+parseInt(_0x40b9ba(0x124))/0x9*(-parseInt(_0x40b9ba(0x1ba))/0xa);if(_0xc476ba===_0x3552b0)break;else _0x557fc7['push'](_0x557fc7['shift']());}catch(_0x5e4287){_0x557fc7['push'](_0x557fc7['shift']());}}}(a28_0x4136,0xedab7));const chalk=require(a28_0x17054d(0xf1)),logger=require(a28_0x17054d(0xeb))[a28_0x17054d(0x10c)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a28_0x17054d(0x1b5)),utilities=require(a28_0x17054d(0x16f)),testOpsHelper=require(a28_0x17054d(0x10b)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x17054d(0x110)),{requireModule,nestedKeyValue}=require(a28_0x17054d(0x1b5)),{getPercyOptions}=require(a28_0x17054d(0x1a7)),Base=requireModule('mocha/lib/reporters/base.js','mocha'),collectFiles=requireModule(a28_0x17054d(0x193),a28_0x17054d(0x1bd)),constants=require(a28_0x17054d(0xef)),centralScannerConstants=require(a28_0x17054d(0x199));function tag(_0x5b7527,_0x4983f2,_0x3044c2,_0x276035){const _0x5a06c9=a28_0x17054d,_0x58f6ee={'rMsHd':function(_0x279be2,_0x2141df){return _0x279be2+_0x2141df;},'ScbiA':function(_0x104efd,_0x37cbf9){return _0x104efd+_0x37cbf9;},'xYzJZ':function(_0x4ed942,_0x39b3f8){return _0x4ed942(_0x39b3f8);},'nMqyF':function(_0x133f8e,_0x2f0ad5){return _0x133f8e+_0x2f0ad5;},'jKwRc':function(_0x5f0ab6,_0x3148aa){return _0x5f0ab6+_0x3148aa;}},_0x478755=_0x3044c2?'/>':'>',_0x43a7f7=[];let _0x135110;for(const _0x4ab378 in _0x4983f2){Object[_0x5a06c9(0x153)][_0x5a06c9(0x133)]['call'](_0x4983f2,_0x4ab378)&&_0x43a7f7['push'](_0x58f6ee[_0x5a06c9(0x144)](_0x58f6ee[_0x5a06c9(0x144)](_0x58f6ee[_0x5a06c9(0x1dc)](_0x4ab378,'=\x22'),_0x58f6ee[_0x5a06c9(0x109)](escape,_0x4983f2[_0x4ab378])),'\x22'));}return _0x135110=_0x58f6ee[_0x5a06c9(0x1da)](_0x58f6ee[_0x5a06c9(0x1dc)](_0x58f6ee[_0x5a06c9(0x1da)]('<',_0x5b7527),_0x43a7f7[_0x5a06c9(0x191)]?_0x58f6ee[_0x5a06c9(0x144)]('\x20',_0x43a7f7[_0x5a06c9(0x16e)]('\x20')):''),_0x478755),_0x276035&&(_0x135110+=_0x58f6ee['rMsHd'](_0x58f6ee[_0x5a06c9(0x1dc)](_0x58f6ee[_0x5a06c9(0x12c)](_0x276035,'</'),_0x5b7527),_0x478755)),_0x135110;}let xunitContent='';function xunitWrite(_0x531ab6){xunitContent+=_0x531ab6;}function xunitTest(_0x188a01,_0x55da1e){const _0x1b7569=a28_0x17054d,_0x359ab4={'HvmDH':function(_0x4926db,_0x19dd68){return _0x4926db/_0x19dd68;},'nyIHE':function(_0x399da9,_0x6be127){return _0x399da9===_0x6be127;},'gQBMj':_0x1b7569(0x1c9),'Rxwva':function(_0x1227fc,_0x119a7e){return _0x1227fc+_0x119a7e;},'szONa':function(_0xf31990,_0x58e79e){return _0xf31990(_0x58e79e);},'mkGVV':function(_0x3174a1,_0x4825dc,_0x2d6eff,_0x1fdec8,_0x502572){return _0x3174a1(_0x4825dc,_0x2d6eff,_0x1fdec8,_0x502572);},'jTNnM':_0x1b7569(0x13c),'OsrsC':function(_0x13b32d,_0x553a8d,_0x56327f,_0x5344c3,_0x3f594d){return _0x13b32d(_0x553a8d,_0x56327f,_0x5344c3,_0x3f594d);},'XfCeA':_0x1b7569(0x11f),'kdUfc':function(_0x46fe09,_0x1c911b){return _0x46fe09+_0x1c911b;},'dJDpE':function(_0x1133be,_0x3df5f4){return _0x1133be(_0x3df5f4);},'RsFeG':function(_0x3392b1,_0x1c3dc6){return _0x3392b1(_0x1c3dc6);},'NCbVe':function(_0x24c579,_0x490221,_0x1b2d3c,_0x3567b2){return _0x24c579(_0x490221,_0x1b2d3c,_0x3567b2);},'JneFf':_0x1b7569(0x118),'flSvl':function(_0x3b3121,_0x1e1c47,_0x36b79e,_0x1d3824){return _0x3b3121(_0x1e1c47,_0x36b79e,_0x1d3824);}};Base[_0x1b7569(0xf3)]=![];var _0x1a1267={'classname':_0x188a01[_0x1b7569(0x1cb)],'name':_0x188a01[_0x1b7569(0x111)],'time':_0x359ab4['HvmDH'](_0x188a01[_0x1b7569(0x197)],0x3e8)||0x0,'platform':_0x55da1e};if(_0x359ab4[_0x1b7569(0x187)](_0x188a01[_0x1b7569(0x13b)],_0x359ab4[_0x1b7569(0x137)])){var _0x53e3b3=_0x188a01[_0x1b7569(0x1b0)],_0x39381b=!Base[_0x1b7569(0xee)]&&Base[_0x1b7569(0x1bb)](_0x53e3b3)?_0x359ab4[_0x1b7569(0x11e)]('\x0a',Base[_0x1b7569(0xe2)](_0x53e3b3[_0x1b7569(0x1c4)],_0x53e3b3[_0x1b7569(0x1df)])):'';_0x359ab4[_0x1b7569(0x132)](xunitWrite,_0x359ab4[_0x1b7569(0x10e)](tag,_0x359ab4[_0x1b7569(0x11b)],_0x1a1267,![],_0x359ab4[_0x1b7569(0x13e)](tag,_0x359ab4[_0x1b7569(0x158)],{},![],_0x359ab4['Rxwva'](_0x359ab4['kdUfc'](_0x359ab4[_0x1b7569(0x1b4)](_0x359ab4[_0x1b7569(0xec)](escape,_0x53e3b3[_0x1b7569(0x102)]),_0x359ab4[_0x1b7569(0x132)](escape,_0x39381b)),'\x0a'),_0x359ab4[_0x1b7569(0x132)](escape,_0x53e3b3[_0x1b7569(0x1a3)])))));}else _0x188a01[_0x1b7569(0x138)]?_0x359ab4[_0x1b7569(0xe4)](xunitWrite,_0x359ab4[_0x1b7569(0x13e)](tag,_0x359ab4[_0x1b7569(0x11b)],_0x1a1267,![],_0x359ab4['NCbVe'](tag,_0x359ab4[_0x1b7569(0x113)],{},!![]))):_0x359ab4[_0x1b7569(0x132)](xunitWrite,_0x359ab4[_0x1b7569(0xf9)](tag,_0x359ab4['jTNnM'],_0x1a1267,!![]));}function a28_0x314a(_0x1fe6ac,_0xb245f3){const _0x4136b2=a28_0x4136();return a28_0x314a=function(_0x314aed,_0x479e06){_0x314aed=_0x314aed-0xdd;let _0x315c8d=_0x4136b2[_0x314aed];return _0x315c8d;},a28_0x314a(_0x1fe6ac,_0xb245f3);};function getStats(_0x36249e){const _0x4e7e38=a28_0x17054d,_0x50e7b5={};_0x50e7b5['uIuFw']=_0x4e7e38(0x11a),_0x50e7b5[_0x4e7e38(0xdd)]='passed',_0x50e7b5[_0x4e7e38(0x1b2)]='failed',_0x50e7b5[_0x4e7e38(0xea)]=_0x4e7e38(0x116);const _0x441509=_0x50e7b5,_0x5b651e=Object[_0x4e7e38(0x17a)](_0x36249e);let _0x3781ed=0x0,_0x520e5a=0x0,_0x48b3e7=0x0,_0x2f5f84=0x0;const _0x15c68b=new Set();_0x5b651e[_0x4e7e38(0xdf)](_0x474bae=>{const _0x305599=_0x4e7e38;_0x36249e[_0x474bae][_0x441509[_0x305599(0xea)]][_0x305599(0xdf)](_0x1d9282=>{const _0x84945a=_0x305599;_0x15c68b['add'](_0x1d9282[_0x441509[_0x84945a(0xe8)]]),_0x3781ed++;switch(_0x1d9282[_0x84945a(0x13b)]){case _0x441509['ChUpG']:_0x48b3e7++;break;case _0x441509[_0x84945a(0x1b2)]:_0x520e5a++;break;default:_0x2f5f84++;}});});const _0x4324fa={};return _0x4324fa[_0x4e7e38(0x131)]=_0x15c68b[_0x4e7e38(0x162)],_0x4324fa[_0x4e7e38(0x178)]=_0x5b651e,_0x4324fa[_0x4e7e38(0x190)]=_0x3781ed,_0x4324fa[_0x4e7e38(0x17f)]=_0x520e5a,_0x4324fa['testsPassed']=_0x48b3e7,_0x4324fa['testsPending']=_0x2f5f84,_0x4324fa;}function errorJSON(_0x151ebf){const _0x483895=a28_0x17054d;var _0x481c49={};return Object[_0x483895(0x139)](_0x151ebf)['forEach'](function(_0x599a56){_0x481c49[_0x599a56]=_0x151ebf[_0x599a56];},_0x151ebf),_0x481c49;}function cleanCycles(_0x1e9aac){const _0x3aca03=a28_0x17054d,_0x3a9390={};_0x3a9390[_0x3aca03(0x140)]=function(_0x5925b8,_0x424e3b){return _0x5925b8===_0x424e3b;},_0x3a9390[_0x3aca03(0x143)]=_0x3aca03(0x13a),_0x3a9390[_0x3aca03(0x147)]=function(_0xd2e887,_0x23dca4){return _0xd2e887!==_0x23dca4;},_0x3a9390[_0x3aca03(0x19e)]=function(_0x3dcf09,_0x4355c8){return _0x3dcf09!==_0x4355c8;},_0x3a9390[_0x3aca03(0xe3)]=function(_0x7452c4,_0x3e0729){return _0x7452c4+_0x3e0729;};const _0x4ee7d4=_0x3a9390;var _0x182148=[];return JSON[_0x3aca03(0x17e)](JSON[_0x3aca03(0x1d3)](_0x1e9aac,function(_0x5609ab,_0x47ecb7){const _0x2d717e=_0x3aca03;if(_0x4ee7d4[_0x2d717e(0x140)](typeof _0x47ecb7,_0x4ee7d4['BxrlM'])&&_0x4ee7d4[_0x2d717e(0x147)](_0x47ecb7,null)){if(_0x4ee7d4['kHNGi'](_0x182148[_0x2d717e(0x1b7)](_0x47ecb7),-0x1))return _0x4ee7d4[_0x2d717e(0xe3)]('',_0x47ecb7);_0x182148[_0x2d717e(0x1a8)](_0x47ecb7);}return _0x47ecb7;}));}function clean(_0x56721c){const _0x3c8c4b=a28_0x17054d,_0x257a3f={'WpDhA':function(_0x332945,_0xdaca23){return _0x332945 instanceof _0xdaca23;},'BQvcq':function(_0x508c42,_0x28920e){return _0x508c42(_0x28920e);}};var _0x320b34=_0x56721c[_0x3c8c4b(0x1b0)]||{};return _0x257a3f[_0x3c8c4b(0x14c)](_0x320b34,Error)&&(_0x320b34=_0x257a3f['BQvcq'](errorJSON,_0x320b34)),{'title':_0x56721c[_0x3c8c4b(0x111)],'fullTitle':_0x56721c['fullTitle'],'file':_0x56721c[_0x3c8c4b(0x180)],'duration':_0x56721c['duration'],'currentRetry':_0x56721c[_0x3c8c4b(0x18a)],'speed':_0x56721c[_0x3c8c4b(0x14f)],'err':_0x257a3f[_0x3c8c4b(0x1c0)](cleanCycles,_0x320b34)};}function printStats(_0x5149ff,_0x1bb07a=a28_0x17054d(0x115),_0x5116ae={}){const _0x2c8d33=a28_0x17054d,_0x1d2549={'hbVZh':function(_0x55b2f6,_0x3daf20){return _0x55b2f6(_0x3daf20);},'BRfMh':function(_0x464cbd,_0x2dabcb){return _0x464cbd===_0x2dabcb;},'Sknbn':'passed','cFVBn':_0x2c8d33(0xe7),'NuHgy':function(_0x3e3ef9,_0x4f2f5b){return _0x3e3ef9===_0x4f2f5b;},'vdaZz':_0x2c8d33(0x1c9),'SCukj':'failures','xJZYz':_0x2c8d33(0x123),'gIMnQ':_0x2c8d33(0x116),'Bqhpf':function(_0x220201,_0x32c12c){return _0x220201*_0x32c12c;},'uxdWp':function(_0x2e9fc0,_0x21f4c3,_0x28ceae){return _0x2e9fc0(_0x21f4c3,_0x28ceae);},'sLAnl':function(_0x43bc0a,_0x42e93d){return _0x43bc0a>_0x42e93d;},'rcKqB':function(_0x3ac589){return _0x3ac589();},'isOhZ':function(_0x544b4e,_0x4c831f){return _0x544b4e===_0x4c831f;},'pmKGJ':_0x2c8d33(0x10f),'FFPLt':function(_0x17dc4e,_0x52504e){return _0x17dc4e(_0x52504e);},'NQIzG':function(_0x57e70e,_0x367a8e){return _0x57e70e>_0x367a8e;},'LBGzi':'Setting\x20non\x20exit\x20code\x20for\x20failures','maBXS':_0x2c8d33(0x100),'FQmrM':function(_0x262f2a,_0x563394){return _0x262f2a+_0x563394;},'KsCYB':'Total\x20Platforms:\x20','hRGtF':function(_0x40c147,_0x24ce3e){return _0x40c147+_0x24ce3e;},'HnTuU':_0x2c8d33(0x1c7),'FWFck':function(_0x13d47a,_0x16d7d1){return _0x13d47a+_0x16d7d1;},'RDEmP':'Tests:\x20\x20\x20\x20\x20\x20\x20','cKLah':function(_0x4971ba,_0x497f61){return _0x4971ba>_0x497f61;},'lWQEW':function(_0xcba952,_0x28b4e8){return _0xcba952>_0x28b4e8;},'zoSUn':function(_0x2eee60,_0x3cb634){return _0x2eee60+_0x3cb634;},'mtRJQ':_0x2c8d33(0xf6),'HWrTm':_0x2c8d33(0x14b),'gnnDz':'Writing\x20json\x20result\x20to\x20file','zzLSQ':_0x2c8d33(0x1af),'TvPAZ':'No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','amtVu':function(_0x3d59f7,_0x2faaf6){return _0x3d59f7===_0x2faaf6;},'sKSzx':_0x2c8d33(0xf5),'ZYNGh':_0x2c8d33(0xf0),'yRyeb':function(_0xffeeec,_0x356a6e){return _0xffeeec||_0x356a6e;},'lNYMJ':function(_0x5b932d,_0x4c91d7){return _0x5b932d(_0x4c91d7);},'HytKX':function(_0x19e92e,_0x206898,_0x1fe2c2,_0x1e343d){return _0x19e92e(_0x206898,_0x1fe2c2,_0x1e343d);},'hfbcZ':_0x2c8d33(0x192),'ODbdE':function(_0x3cedba,_0x44ac65){return _0x3cedba-_0x44ac65;},'EeZJE':function(_0x1fef5a,_0x439215){return _0x1fef5a/_0x439215;},'LzdjN':function(_0xc000ae,_0x3eedf9){return _0xc000ae(_0x3eedf9);},'ZSFUC':_0x2c8d33(0x1a4),'cdvhL':_0x2c8d33(0x181),'GNNea':_0x2c8d33(0x104),'rlEPu':_0x2c8d33(0x10d),'cjrIu':_0x2c8d33(0x170),'UJIvv':_0x2c8d33(0x103)};if(_0x1d2549[_0x2c8d33(0x17c)](_0x1bb07a,_0x1d2549[_0x2c8d33(0xfd)]))return;const _0x505824=0x0,_0x2cfb41=()=>{const _0x94e9c8=_0x2c8d33;return _0x1d2549[_0x94e9c8(0x18c)](Array,_0x505824)[_0x94e9c8(0x16e)]('\x20\x20');},{testSuites:_0x3d3b7c,platforms:_0x4dd3b6,totalTests:_0x47f6a8,testsFailed:_0x343d20,testsPassed:_0x4b1a0e,testsPending:_0x5eb1e3}=_0x1d2549[_0x2c8d33(0x1b3)](getStats,_0x5149ff);_0x1d2549['NQIzG'](_0x343d20,0x0)&&(logger[_0x2c8d33(0x1aa)](_0x1d2549[_0x2c8d33(0x1a0)]),process['exitCode']=Math[_0x2c8d33(0x1c6)](_0x343d20,0xff));logger[_0x2c8d33(0x1aa)](_0x1d2549[_0x2c8d33(0x136)]);const _0x4cf019=''+_0x1d2549[_0x2c8d33(0x148)](chalk['bold'](_0x1d2549[_0x2c8d33(0x1d5)]),_0x4dd3b6[_0x2c8d33(0x191)]),_0x4f8869=''+_0x1d2549['hRGtF'](chalk[_0x2c8d33(0x120)](_0x1d2549[_0x2c8d33(0x18f)]),_0x3d3b7c),_0x317f8b=''+_0x1d2549['FWFck'](_0x1d2549[_0x2c8d33(0x171)](_0x1d2549[_0x2c8d33(0x171)](chalk['bold'](_0x1d2549[_0x2c8d33(0xde)]),_0x1d2549['sLAnl'](_0x343d20,0x0)?chalk[_0x2c8d33(0x120)]['red'](_0x343d20+_0x2c8d33(0x17d))+',\x20':''),_0x1d2549['cKLah'](_0x5eb1e3,0x0)?chalk['bold']['yellow'](_0x5eb1e3+_0x2c8d33(0xf7))+',\x20':''),_0x1d2549[_0x2c8d33(0x185)](_0x4b1a0e,0x0)?chalk['bold'][_0x2c8d33(0x129)](_0x4b1a0e+_0x2c8d33(0x198))+',\x20':'')+_0x47f6a8+_0x2c8d33(0x183);console[_0x2c8d33(0x156)](_0x1d2549[_0x2c8d33(0x1d8)](_0x1d2549['hRGtF'](_0x1d2549[_0x2c8d33(0x1d8)](_0x1d2549[_0x2c8d33(0x1d8)](_0x1d2549[_0x2c8d33(0x148)](_0x1d2549[_0x2c8d33(0x16c)],_0x4cf019),'\x0a'),_0x4f8869),'\x0a'),_0x317f8b));if(_0x1d2549[_0x2c8d33(0x146)](_0x1bb07a,_0x1d2549[_0x2c8d33(0x1db)])){const _0x2a6634={},_0x41cfd7={};_0x41cfd7[_0x2c8d33(0x131)]=_0x3d3b7c,_0x41cfd7['platforms']=_0x4dd3b6,_0x41cfd7['testsFailed']=_0x343d20,_0x41cfd7['testsPassed']=_0x4b1a0e,_0x41cfd7['testsPending']=_0x5eb1e3,_0x2a6634[_0x2c8d33(0xe9)]=_0x41cfd7,_0x4dd3b6[_0x2c8d33(0xdf)](_0x28c911=>{const _0x1d5bcb=_0x2c8d33;_0x2a6634[_0x28c911]={'pending':[],'failures':[],'passes':[],'tests':_0x5149ff[_0x28c911][_0x1d2549[_0x1d5bcb(0x15f)]][_0x1d5bcb(0xff)](clean)},_0x5149ff[_0x28c911][_0x1d2549['gIMnQ']]['forEach'](_0x1196c2=>{const _0x1e3dc9=_0x1d5bcb;if(_0x1d2549[_0x1e3dc9(0x1d4)](_0x1196c2[_0x1e3dc9(0x13b)],_0x1d2549[_0x1e3dc9(0x15c)]))_0x2a6634[_0x28c911][_0x1d2549['cFVBn']][_0x1e3dc9(0x1a8)](_0x1d2549[_0x1e3dc9(0x18c)](clean,_0x1196c2));else _0x1d2549[_0x1e3dc9(0x146)](_0x1196c2[_0x1e3dc9(0x13b)],_0x1d2549[_0x1e3dc9(0x168)])?_0x2a6634[_0x28c911][_0x1d2549[_0x1e3dc9(0x150)]][_0x1e3dc9(0x1a8)](_0x1d2549['hbVZh'](clean,_0x1196c2)):_0x2a6634[_0x28c911][_0x1d2549[_0x1e3dc9(0x1a9)]][_0x1e3dc9(0x1a8)](_0x1d2549[_0x1e3dc9(0x18c)](clean,_0x1196c2));});});if(_0x5116ae['output'])try{logger[_0x2c8d33(0x1aa)](_0x1d2549[_0x2c8d33(0x1d1)],_0x5116ae['output']),fs[_0x2c8d33(0x128)](_0x5116ae[_0x2c8d33(0x1ae)],JSON[_0x2c8d33(0x1d3)](_0x2a6634,null,0x3));}catch(_0x7aed40){logger[_0x2c8d33(0x1bc)](_0x1d2549['zzLSQ'],_0x5116ae[_0x2c8d33(0x1ae)]),logger[_0x2c8d33(0x1aa)](_0x7aed40);}else logger['debug'](_0x1d2549[_0x2c8d33(0x1de)]),console[_0x2c8d33(0x156)](JSON[_0x2c8d33(0x1d3)](_0x2a6634,null,0x3));}else{if(_0x1d2549[_0x2c8d33(0x130)](_0x1bb07a,_0x1d2549[_0x2c8d33(0x1bf)])){let _0x398f18;const _0x2c110b=_0x1d2549[_0x2c8d33(0x112)];_0x5116ae&&(_0x398f18=_0x5116ae[_0x2c8d33(0xe0)]);_0x398f18=_0x1d2549['yRyeb'](_0x398f18,_0x2c110b);let _0x9fdee8=0x0,_0x3f2d4e=0x0,_0x267f89=0x0,_0x420ef3=0x0;_0x4dd3b6[_0x2c8d33(0xdf)](_0x19408a=>{const _0x4a7af2=_0x2c8d33,_0x18973b={'pyobj':function(_0x152ba0,_0x1ca673){const _0x37602d=a28_0x314a;return _0x1d2549[_0x37602d(0x1d4)](_0x152ba0,_0x1ca673);},'qwWOB':_0x1d2549[_0x4a7af2(0x15c)],'jsdIr':function(_0x5004f6,_0x19f2ef){return _0x1d2549['BRfMh'](_0x5004f6,_0x19f2ef);},'cBjIQ':_0x1d2549[_0x4a7af2(0x168)],'dquKQ':function(_0x5f098b,_0x1e8eea){const _0x18a72f=_0x4a7af2;return _0x1d2549[_0x18a72f(0x14d)](_0x5f098b,_0x1e8eea);}};_0x5149ff[_0x19408a][_0x1d2549[_0x4a7af2(0x15f)]][_0x4a7af2(0xdf)](_0x3651d3=>{const _0x21385a=_0x4a7af2;if(_0x18973b[_0x21385a(0x1ac)](_0x3651d3[_0x21385a(0x13b)],_0x18973b[_0x21385a(0x1a6)]))_0x9fdee8++;else _0x18973b[_0x21385a(0xf8)](_0x3651d3[_0x21385a(0x13b)],_0x18973b[_0x21385a(0x125)])&&_0x3f2d4e++;_0x267f89++,_0x420ef3+=_0x18973b[_0x21385a(0x1ce)](_0x3651d3[_0x21385a(0x197)],0x1);});}),_0x1d2549[_0x2c8d33(0xed)](xunitWrite,_0x1d2549[_0x2c8d33(0xfe)](tag,_0x1d2549[_0x2c8d33(0xfb)],{'name':_0x398f18,'tests':_0x267f89,'failures':0x0,'errors':_0x3f2d4e,'skipped':_0x1d2549[_0x2c8d33(0x19f)](_0x1d2549[_0x2c8d33(0x19f)](_0x267f89,_0x3f2d4e),_0x9fdee8),'timestamp':new Date()[_0x2c8d33(0x157)](),'time':_0x1d2549[_0x2c8d33(0x195)](_0x420ef3,0x3e8)||0x0},![])),_0x4dd3b6[_0x2c8d33(0xdf)](_0x4fd1a7=>{const _0x34c4de=_0x2c8d33;_0x5149ff[_0x4fd1a7][_0x1d2549['gIMnQ']][_0x34c4de(0xdf)](_0x485af9=>{const _0x3ad7e6=_0x34c4de;_0x1d2549[_0x3ad7e6(0x189)](xunitTest,_0x485af9,_0x4fd1a7);});}),_0x1d2549[_0x2c8d33(0x155)](xunitWrite,_0x1d2549['ZSFUC']);if(_0x5116ae[_0x2c8d33(0x1ae)])try{logger[_0x2c8d33(0x1aa)](_0x1d2549[_0x2c8d33(0x101)],_0x5116ae[_0x2c8d33(0x1ae)]),fs[_0x2c8d33(0x128)](_0x5116ae[_0x2c8d33(0x1ae)],xunitContent);}catch(_0x45aaa0){logger[_0x2c8d33(0x1bc)](_0x1d2549[_0x2c8d33(0x1be)],_0x5116ae['output']),logger['debug'](_0x45aaa0);}else logger[_0x2c8d33(0x1aa)](_0x1d2549[_0x2c8d33(0x161)]),console[_0x2c8d33(0x156)](xunitContent);}else{if(_0x1d2549['BRfMh'](_0x343d20,0x0))return;console[_0x2c8d33(0x156)](),logger[_0x2c8d33(0x1aa)](_0x1d2549[_0x2c8d33(0x141)]),console[_0x2c8d33(0x156)](chalk[_0x2c8d33(0x120)]['bgRedBright'](_0x1d2549['UJIvv'])),_0x4dd3b6[_0x2c8d33(0xdf)](_0x52aae2=>{const _0x4264d7=_0x2c8d33,_0x401c7b={'uyIlm':function(_0x13d453,_0x1c0bb7){const _0x499390=a28_0x314a;return _0x1d2549[_0x499390(0x1d4)](_0x13d453,_0x1c0bb7);},'aJyGR':_0x1d2549[_0x4264d7(0x168)]},_0x17cc2d=[];_0x5149ff[_0x52aae2][_0x1d2549[_0x4264d7(0x15f)]][_0x4264d7(0xdf)](_0x2e5aa5=>{const _0x3f318a=_0x4264d7;_0x401c7b[_0x3f318a(0x1c3)](_0x2e5aa5['state'],_0x401c7b[_0x3f318a(0x194)])&&(_0x2e5aa5['titlePath']=()=>_0x2e5aa5[_0x3f318a(0x1a2)],_0x17cc2d[_0x3f318a(0x1a8)](_0x2e5aa5));}),_0x1d2549['sLAnl'](_0x17cc2d[_0x4264d7(0x191)],0x0)&&(Base['consoleLog'](),Base[_0x4264d7(0x122)](_0x1d2549[_0x4264d7(0x10a)](_0x2cfb41),chalk['bold'][_0x4264d7(0xe5)](_0x52aae2)),Base['list'](_0x17cc2d));});}}}function a28_0x4136(){const _0x18eae2=['useColors','shouldReRunObservabilityTests','xunit','\x0a\x0a\x0a','\x20skipped','jsdIr','flSvl','lcAla','hfbcZ','BROWSERSTACK_TEST_OBSERVABILITY','pmKGJ','HytKX','map','Printing\x20stats\x20of\x20tests','cdvhL','message','****\x20FAILURES\x20****','Couldn\x27t\x20write\x20xunit\x20result\x20to','getPlatformName','MnRwD','GaImI','mjs','xYzJZ','rcKqB','../../helpers/test-observability/utils','winstonLogger','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','mkGVV','doc','../test-runner','title','ZYNGh','JneFf','13170872PzFiJj','spec','results','BROWSERSTACK_RERUN_TESTS','skipped','1734100LqTvuB','suite','jTNnM','sort','getTCGConfigFilePaths','Rxwva','failure','bold','nBvNS','consoleLog','pending','990405pfLjFf','cBjIQ','framework','reporter-option','writeFileSync','green','xQsVh','isBrowserstackInfra','jKwRc','--disable-browserstack-automation','BROWSERSTACK_CENTRAL_USER','proxySettings','amtVu','testSuites','szONa','hasOwnProperty','WNOma','7141rDMPRp','maBXS','gQBMj','isPending','getOwnPropertyNames','object','state','testcase','errorMessage','OsrsC','markSDKSetupComplete','hGfKO','cjrIu','Rpivg','BxrlM','rMsHd','SDKTestSuccessful','NuHgy','gNyCq','FQmrM','vZTGc','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','json','WpDhA','Bqhpf','recursive','speed','SCukj','info','useW3C','prototype','XQodN','LzdjN','log','toUTCString','XfCeA','cGCLF','fireFunnelTestEvent','--disable-test-observability','Sknbn','files','qYisE','gIMnQ','getErrorMessageFromResults','rlEPu','size','logLevel','MOCHA','reporter','argv','setupTCGAuth','vdaZz','isUndefined','BROWSERSTACK_GRR_US_HUB_URL','\x20platforms','mtRJQ','includes','join','../../helpers/utilities','Listing\x20all\x20the\x20failures','FWFck','then','finally','printBuildLink','parallelsPerPlatform','accessibilityOptions','notifyUpdate','platforms','WnHHR','keys','470eAedAR','isOhZ','\x20failed','parse','testsFailed','file','Writing\x20xunit\x20result\x20to\x20file','Running\x20your\x20mocha\x20tests\x20across\x20','\x20total','VMZUH','lWQEW','get','nyIHE','MxVTX','uxdWp','currentRetry','has','hbVZh','unlinkSync','env','HnTuU','totalTests','length','testsuite','mocha/lib/cli/collect-files.js','aJyGR','EeZJE','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','duration','\x20passed','../../helpers/central-scanner/constants','reporterOptions','rerunTests','BROWSERSTACK_AUTOMATION','cliConfig','kHNGi','ODbdE','LBGzi','test','titlePathV','stack','</testsuite>','rootHooks','qwWOB','../../helpers/percy/utils','push','xJZYz','debug','error\x20removing\x20tcg\x20config\x20file','pyobj','soqeT','output','Couldn\x27t\x20write\x20json\x20result\x20to','err','config','RZpWx','FFPLt','kdUfc','../../helpers/helper','2059127wMDJSN','indexOf','fHbax','finalExecution','140gILBJc','showDiff','error','mocha','GNNea','sKSzx','BQvcq','assign','3332730GpulDB','uyIlm','actual','accessibility','min','Total\x20Suites:\x20','initialize','failed','KSZaU','fullTitle','ktyNM','isTestObservabilitySession','dquKQ','2168172eVcGnb','Now,\x20showing\x20logs\x20from\x20mocha','gnnDz','platform','stringify','BRfMh','KsCYB','prepareCapabilities','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','zoSUn','12eQVHLG','nMqyF','HWrTm','ScbiA','validPlatformsPresent','TvPAZ','expected','ChUpG','RDEmP','forEach','suiteName','FRAMEWORKS','generateDiff','XFUjy','RsFeG','bgBlueBright','getHubUrl','passes','uIuFw','stats','DEcka','../../helpers/logger','dJDpE','lNYMJ','hideDiff','../utils/constants','Mocha\x20Tests','chalk','ignore'];a28_0x4136=function(){return _0x18eae2;};return a28_0x4136();}async function run(_0x588659,_0x4a4c61){const _0x1a38a0=a28_0x17054d,_0x10620f={'GaImI':function(_0x5eb9c7,_0x5e2a54,_0x120506,_0x33bd9d){return _0x5eb9c7(_0x5e2a54,_0x120506,_0x33bd9d);},'fHbax':_0x1a38a0(0x127),'YOKqQ':_0x1a38a0(0x1ab),'vZTGc':_0x1a38a0(0x145),'gCrfX':function(_0x941af9,_0x3d3385,_0x524261,_0x3184c8){return _0x941af9(_0x3d3385,_0x524261,_0x3184c8);},'KSZaU':_0x1a38a0(0x1bd),'WnHHR':_0x1a38a0(0x15b),'xQsVh':_0x1a38a0(0x12d),'cGCLF':function(_0x38cde7,_0x4eefc1){return _0x38cde7!=_0x4eefc1;},'lcAla':'cjs','MnRwD':_0x1a38a0(0x108),'soqeT':_0x1a38a0(0x1a1),'ktyNM':_0x1a38a0(0x19b),'MxVTX':function(_0x356ef2,_0x315fb4){return _0x356ef2(_0x315fb4);},'qYisE':function(_0x177f42,_0x49aafb,_0x5a0b52){return _0x177f42(_0x49aafb,_0x5a0b52);},'seXrb':_0x1a38a0(0x15d),'nBvNS':'Running\x20your\x20mocha\x20tests','VMZUH':_0x1a38a0(0x1d0),'XQodN':function(_0x33690b,_0x12b3eb,_0x3e0a9f,_0x555c74){return _0x33690b(_0x12b3eb,_0x3e0a9f,_0x555c74);},'WNOma':function(_0x34c632,_0x3e0449){return _0x34c632*_0x3e0449;},'Rpivg':function(_0x315b30,_0x1870e2){return _0x315b30!==_0x1870e2;}};process[_0x1a38a0(0x166)][_0x1a38a0(0x16d)](_0x10620f[_0x1a38a0(0x179)])&&(process[_0x1a38a0(0x18e)][_0x1a38a0(0xfc)]=![]);process[_0x1a38a0(0x166)]['includes'](_0x10620f[_0x1a38a0(0x12a)])&&(process['env'][_0x1a38a0(0x19c)]=![]);const _0x3b8385=new BrowserStackSetup(_0x588659,_0x10620f['KSZaU']);helper[_0x1a38a0(0x12b)]()?(await _0x3b8385[_0x1a38a0(0x1c8)](),await helper['handleApp'](_0x3b8385[_0x1a38a0(0x1b1)])):await _0x3b8385[_0x1a38a0(0x167)]();const _0x278e22=[];let _0x3efb83=[];if(!_0x3b8385['config'])return;_0x10620f[_0x1a38a0(0x159)](_0x3b8385[_0x1a38a0(0x1b1)]['testObservability'],null)&&(process[_0x1a38a0(0x18e)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x3b8385['config']['testObservability']);!helper[_0x1a38a0(0x169)](_0x3b8385[_0x1a38a0(0x1b1)][_0x1a38a0(0x1c5)])&&(process[_0x1a38a0(0x18e)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x3b8385['config']['accessibility']);!helper[_0x1a38a0(0x169)](_0x3b8385[_0x1a38a0(0x1b1)]['accessibilityOptions'])&&(process[_0x1a38a0(0x18e)][_0x1a38a0(0x14a)]=JSON[_0x1a38a0(0x1d3)](_0x3b8385[_0x1a38a0(0x1b1)][_0x1a38a0(0x176)]));const {extension:extension=['js',_0x10620f[_0x1a38a0(0xfa)],_0x10620f[_0x1a38a0(0x106)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x10620f[_0x1a38a0(0x1ad)]]}=_0x588659,_0x552de2={..._0x588659};_0x552de2[_0x1a38a0(0x1a5)]=null;const _0x532aa8=_0x552de2;let _0x2d1922;if(testOpsHelper[_0x1a38a0(0x1cd)]()&&testOpsHelper[_0x1a38a0(0xf4)]()){let _0x3991ba=process[_0x1a38a0(0x18e)][_0x1a38a0(0x117)];!helper[_0x1a38a0(0x169)](_0x3b8385[_0x1a38a0(0x19d)])&&_0x3b8385[_0x1a38a0(0x19d)][_0x1a38a0(0x18b)](_0x10620f[_0x1a38a0(0x1cc)])&&(_0x3991ba=_0x3b8385[_0x1a38a0(0x19d)][_0x1a38a0(0x186)](_0x10620f['ktyNM'])),_0x2d1922=testOpsHelper['parseFileNames'](_0x3991ba);}if(helper[_0x1a38a0(0x169)](_0x2d1922)){const _0x161886={};_0x161886[_0x1a38a0(0xf2)]=ignore,_0x161886['extension']=extension,_0x161886['file']=file,_0x161886[_0x1a38a0(0x14e)]=recursive,_0x161886[_0x1a38a0(0x11c)]=sort,_0x161886['spec']=spec,_0x2d1922=_0x10620f[_0x1a38a0(0x188)](collectFiles,_0x161886),_0x10620f[_0x1a38a0(0x15e)](nestedKeyValue,_0x2d1922,[_0x10620f['seXrb']])&&(_0x2d1922=_0x2d1922[_0x1a38a0(0x15d)]);}helper[_0x1a38a0(0x13f)]();if(!helper['isBrowserstackInfra']()){const _0x606eb5=0x1,_0x3a9f3e={..._0x532aa8};_0x3a9f3e[_0x1a38a0(0x115)]=[..._0x2d1922],_0x278e22[_0x1a38a0(0x1a8)]({'mochaOpts':_0x3a9f3e,'configuration':{'platform':os[_0x1a38a0(0x1d2)]()}}),logger[_0x1a38a0(0x151)](_0x10620f[_0x1a38a0(0x121)]),logger[_0x1a38a0(0x151)](_0x10620f['VMZUH']),_0x10620f[_0x1a38a0(0x154)](parallelTestRun,_0x278e22,_0x606eb5,_0x3b8385)[_0x1a38a0(0x172)](_0xcdf37e=>{const _0x35fcce=_0x1a38a0;_0x10620f[_0x35fcce(0x107)](printStats,_0xcdf37e,_0x588659[_0x35fcce(0x165)],_0x588659[_0x35fcce(0x19a)]||_0x588659[_0x10620f[_0x35fcce(0x1b8)]]);})[_0x1a38a0(0x173)](()=>{const _0x24b825=_0x1a38a0;try{const {browserstackFolderPath:_0x4a914c,tcgConfigPath:_0x58e376}=helper[_0x24b825(0x11d)]();fs[_0x24b825(0x18d)](_0x58e376),fs['rmdirSync'](_0x4a914c);}catch(_0x1a160b){logger[_0x24b825(0x1aa)](_0x10620f['YOKqQ'],_0x1a160b);}try{utilities[_0x24b825(0x15a)](_0x10620f[_0x24b825(0x149)],{},_0x3b8385['config'],_0x3b8385[_0x24b825(0x126)]);}catch(_0x2dc834){logger[_0x24b825(0x1aa)](_0x24b825(0x196)+_0x2dc834);}try{helper[_0x24b825(0x177)]();}catch(_0x20e0d4){logger[_0x24b825(0x1aa)](_0x24b825(0x1d7)+_0x20e0d4);}testOpsHelper[_0x24b825(0x174)]();});}else{const _0x35152e=helper[_0x1a38a0(0x152)](_0x3b8385[_0x1a38a0(0x1b1)]);let _0x3340db=helper[_0x1a38a0(0xe6)](_0x3b8385[_0x1a38a0(0x1b1)]);_0x3efb83=helper[_0x1a38a0(0x1d6)](_0x3b8385[_0x1a38a0(0x1b1)],_0x35152e,constants[_0x1a38a0(0xe1)][_0x1a38a0(0x164)]);process['env'][_0x1a38a0(0x12e)]&&(_0x3340db=centralScannerConstants[_0x1a38a0(0x16a)]);let _0xf216fd;const _0x36cb52=_0x3b8385['config'][_0x1a38a0(0x175)]||helper['getUserWorkerCount'](_0x588659,_0x4a4c61,_0x3b8385[_0x1a38a0(0x1b1)],constants[_0x1a38a0(0xe1)][_0x1a38a0(0x164)])||0x1;helper[_0x1a38a0(0x1dd)](_0x3b8385[_0x1a38a0(0x1b1)])?_0xf216fd=_0x10620f[_0x1a38a0(0x134)](_0x3b8385[_0x1a38a0(0x1b1)][_0x1a38a0(0x178)][_0x1a38a0(0x191)],_0x36cb52):_0xf216fd=_0x36cb52;const _0x17861f=_0x10620f[_0x1a38a0(0x188)](getPercyOptions,_0x3b8385[_0x1a38a0(0x1b1)]);if(_0x10620f[_0x1a38a0(0x142)](_0x3b8385[_0x1a38a0(0x1b1)][_0x1a38a0(0x175)],0x1))_0x2d1922[_0x1a38a0(0xdf)](_0x2c02ef=>{const _0x1eec08=_0x1a38a0,_0x4867c4=[];_0x3efb83[_0x1eec08(0xdf)]((_0x14ff8f,_0x38ddad)=>{const _0x172b9a=_0x1eec08,_0x5b0e65={};_0x5b0e65[_0x172b9a(0x115)]=[_0x2c02ef],_0x4867c4[_0x172b9a(0x1a8)]({'mochaOpts':Object[_0x172b9a(0x1c1)]({},_0x532aa8,_0x5b0e65),'configuration':{'server':_0x3340db,'capability':_0x14ff8f,'proxySettings':_0x3b8385['config'][_0x172b9a(0x12f)],'platform':helper[_0x172b9a(0x105)](_0x14ff8f),'browserStackLogLevel':_0x3b8385[_0x172b9a(0x1b1)]['logLevel'],'platformIndex':_0x38ddad,'browserStackPercyOptions':_0x17861f,'platformCaps':_0x3b8385['config']['platforms'][_0x38ddad]}});}),_0x278e22['push'](..._0x4867c4);});else{const _0x5e9948=[];_0x3efb83[_0x1a38a0(0xdf)]((_0x3a5f65,_0x4d993b)=>{const _0x5511e2=_0x1a38a0;let _0x39d15a=Object[_0x5511e2(0x1c1)]({},_0x532aa8);testOpsHelper[_0x5511e2(0x1cd)]()&&testOpsHelper[_0x5511e2(0xf4)]()&&(_0x39d15a={..._0x39d15a,'spec':[..._0x2d1922]}),_0x5e9948[_0x5511e2(0x1a8)]({'mochaOpts':_0x39d15a,'configuration':{'server':_0x3340db,'capability':_0x3a5f65,'proxySettings':_0x3b8385[_0x5511e2(0x1b1)][_0x5511e2(0x12f)],'platform':helper[_0x5511e2(0x105)](_0x3a5f65),'browserStackLogLevel':_0x3b8385[_0x5511e2(0x1b1)][_0x5511e2(0x163)],'platformIndex':_0x4d993b,'browserStackPercyOptions':_0x17861f,'platformCaps':_0x3b8385['config']['platforms'][_0x4d993b]}});}),_0x278e22[_0x1a38a0(0x1a8)](..._0x5e9948);}logger['info'](_0x1a38a0(0x182)+_0x3b8385[_0x1a38a0(0x1b1)][_0x1a38a0(0x178)][_0x1a38a0(0x191)]+_0x1a38a0(0x16b)),logger[_0x1a38a0(0x151)](_0x10620f[_0x1a38a0(0x184)]);let _0x34307b;_0x10620f[_0x1a38a0(0x154)](parallelTestRun,_0x278e22,_0xf216fd,_0x3b8385)[_0x1a38a0(0x172)](_0x3f08f2=>{const _0x2a445f=_0x1a38a0;_0x34307b=_0x3f08f2,_0x10620f['gCrfX'](printStats,_0x3f08f2,_0x588659[_0x2a445f(0x165)],_0x588659['reporterOptions']||_0x588659[_0x10620f[_0x2a445f(0x1b8)]]);})['finally'](async()=>{const _0x3d8cc1=_0x1a38a0;_0x3b8385[_0x3d8cc1(0x13d)]=helper[_0x3d8cc1(0x160)](_0x34307b,_0x10620f[_0x3d8cc1(0x1ca)]),await utilities[_0x3d8cc1(0x1b9)](_0x3b8385),testOpsHelper[_0x3d8cc1(0x174)]();});}}module['exports']=run;
2
+ 'use strict';const a28_0x4093e4=a28_0x3d6d;function a28_0x3d6d(_0x33ca13,_0x1f7ec8){const _0x86a5d5=a28_0x86a5();return a28_0x3d6d=function(_0x3d6d37,_0x376fdd){_0x3d6d37=_0x3d6d37-0x1ed;let _0x16e9b7=_0x86a5d5[_0x3d6d37];return _0x16e9b7;},a28_0x3d6d(_0x33ca13,_0x1f7ec8);}(function(_0x5a813b,_0x307ba2){const _0x5eb6f4=a28_0x3d6d,_0x24a6b0=_0x5a813b();while(!![]){try{const _0x5d4d7b=-parseInt(_0x5eb6f4(0x2e1))/0x1*(parseInt(_0x5eb6f4(0x287))/0x2)+-parseInt(_0x5eb6f4(0x232))/0x3*(parseInt(_0x5eb6f4(0x2f0))/0x4)+-parseInt(_0x5eb6f4(0x286))/0x5+-parseInt(_0x5eb6f4(0x258))/0x6+parseInt(_0x5eb6f4(0x297))/0x7+parseInt(_0x5eb6f4(0x222))/0x8*(-parseInt(_0x5eb6f4(0x215))/0x9)+parseInt(_0x5eb6f4(0x2bf))/0xa;if(_0x5d4d7b===_0x307ba2)break;else _0x24a6b0['push'](_0x24a6b0['shift']());}catch(_0x5da7f4){_0x24a6b0['push'](_0x24a6b0['shift']());}}}(a28_0x86a5,0x2cbe6));const chalk=require(a28_0x4093e4(0x301)),logger=require(a28_0x4093e4(0x243))['winstonLogger'],{default:BrowserStackSetup}=require(a28_0x4093e4(0x2a5)),helper=require(a28_0x4093e4(0x2e2)),utilities=require(a28_0x4093e4(0x26c)),testOpsHelper=require(a28_0x4093e4(0x229)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x4093e4(0x254)),{requireModule,nestedKeyValue}=require('../../helpers/helper'),{getPercyOptions}=require('../../helpers/percy/utils'),Base=requireModule(a28_0x4093e4(0x25d),'mocha'),collectFiles=requireModule('mocha/lib/cli/collect-files.js',a28_0x4093e4(0x289)),constants=require(a28_0x4093e4(0x2c9)),PerformanceTester=require(a28_0x4093e4(0x2a0)),PerformanceEvents=require(a28_0x4093e4(0x230))[a28_0x4093e4(0x20e)],centralScannerConstants=require('../../helpers/central-scanner/constants');function tag(_0x269e4e,_0x344704,_0x120360,_0x1a0613){const _0x333b97=a28_0x4093e4,_0x17342f={'nHjuQ':function(_0x18e010,_0x57ae48){return _0x18e010+_0x57ae48;},'XSNTJ':function(_0x2a9eb0,_0x31847a){return _0x2a9eb0+_0x31847a;},'pDBjM':function(_0x173f73,_0x4cec75){return _0x173f73+_0x4cec75;},'TLVmj':function(_0xf70aa4,_0x3e04d1){return _0xf70aa4(_0x3e04d1);},'mTyvW':function(_0x2376d4,_0x16df97){return _0x2376d4+_0x16df97;},'tFFDh':function(_0x4cb015,_0x17d213){return _0x4cb015+_0x17d213;},'yRsis':function(_0x9b6b93,_0x5f05b8){return _0x9b6b93+_0x5f05b8;}},_0x35df22=_0x120360?'/>':'>',_0x53e97c=[];let _0x46ee5;for(const _0x2a38e4 in _0x344704){Object['prototype'][_0x333b97(0x2a6)][_0x333b97(0x2cb)](_0x344704,_0x2a38e4)&&_0x53e97c['push'](_0x17342f[_0x333b97(0x27b)](_0x17342f[_0x333b97(0x1ee)](_0x17342f[_0x333b97(0x220)](_0x2a38e4,'=\x22'),_0x17342f[_0x333b97(0x2eb)](escape,_0x344704[_0x2a38e4])),'\x22'));}return _0x46ee5=_0x17342f[_0x333b97(0x2aa)](_0x17342f[_0x333b97(0x2aa)](_0x17342f['mTyvW']('<',_0x269e4e),_0x53e97c[_0x333b97(0x2e9)]?_0x17342f['mTyvW']('\x20',_0x53e97c[_0x333b97(0x249)]('\x20')):''),_0x35df22),_0x1a0613&&(_0x46ee5+=_0x17342f[_0x333b97(0x2aa)](_0x17342f[_0x333b97(0x2ab)](_0x17342f[_0x333b97(0x25b)](_0x1a0613,'</'),_0x269e4e),_0x35df22)),_0x46ee5;}let xunitContent='';function xunitWrite(_0x4bb152){xunitContent+=_0x4bb152;}function xunitTest(_0x26f738,_0x10b74b){const _0x4c83da=a28_0x4093e4,_0x34043e={'phmFA':function(_0x595929,_0x7d24){return _0x595929/_0x7d24;},'YUSwC':function(_0x3e3c84,_0x361935){return _0x3e3c84===_0x361935;},'HeEys':'failed','SuijJ':function(_0x3763ba,_0x3603c3){return _0x3763ba+_0x3603c3;},'uEhUS':function(_0x28cb40,_0x229c79){return _0x28cb40(_0x229c79);},'zjBGe':function(_0x198023,_0x1729d2,_0xed32d9,_0x5455eb,_0xea280){return _0x198023(_0x1729d2,_0xed32d9,_0x5455eb,_0xea280);},'xoVpr':_0x4c83da(0x21d),'nyowD':function(_0x211c15,_0x2c9d78,_0x3659ec,_0x486e8e,_0x35eee5){return _0x211c15(_0x2c9d78,_0x3659ec,_0x486e8e,_0x35eee5);},'elDyM':'failure','bqXcJ':function(_0x3c8aba,_0x502932){return _0x3c8aba+_0x502932;},'xoCOv':function(_0x151d45,_0x2932e3){return _0x151d45+_0x2932e3;},'koWoV':function(_0x4cba36,_0x9eee1b){return _0x4cba36(_0x9eee1b);},'BSuyH':function(_0x23df52,_0x1cd645){return _0x23df52(_0x1cd645);},'OUqSz':function(_0x8533d7,_0x2b5284){return _0x8533d7(_0x2b5284);},'ccABw':function(_0x36ebe8,_0x5164ea,_0x3b3637,_0x2ac74b,_0x2ecb96){return _0x36ebe8(_0x5164ea,_0x3b3637,_0x2ac74b,_0x2ecb96);},'hvQDP':function(_0x4ad8dc,_0x5dd996,_0x52c139,_0x60cab0){return _0x4ad8dc(_0x5dd996,_0x52c139,_0x60cab0);},'sNAvR':_0x4c83da(0x272),'kXWzC':function(_0xa8018a,_0x54ef82){return _0xa8018a(_0x54ef82);}};Base['useColors']=![];var _0xe9c41b={'classname':_0x26f738[_0x4c83da(0x2b9)],'name':_0x26f738['title'],'time':_0x34043e[_0x4c83da(0x234)](_0x26f738[_0x4c83da(0x217)],0x3e8)||0x0,'platform':_0x10b74b};if(_0x34043e[_0x4c83da(0x209)](_0x26f738[_0x4c83da(0x284)],_0x34043e[_0x4c83da(0x24f)])){var _0x1561f8=_0x26f738[_0x4c83da(0x2ae)],_0x44d36f=!Base[_0x4c83da(0x29b)]&&Base[_0x4c83da(0x24b)](_0x1561f8)?_0x34043e[_0x4c83da(0x2f3)]('\x0a',Base[_0x4c83da(0x206)](_0x1561f8[_0x4c83da(0x27f)],_0x1561f8[_0x4c83da(0x2b0)])):'';_0x34043e[_0x4c83da(0x2ac)](xunitWrite,_0x34043e[_0x4c83da(0x228)](tag,_0x34043e[_0x4c83da(0x2e8)],_0xe9c41b,![],_0x34043e['nyowD'](tag,_0x34043e[_0x4c83da(0x1ef)],{},![],_0x34043e['bqXcJ'](_0x34043e[_0x4c83da(0x2cf)](_0x34043e[_0x4c83da(0x2f3)](_0x34043e[_0x4c83da(0x223)](escape,_0x1561f8[_0x4c83da(0x22d)]),_0x34043e[_0x4c83da(0x23e)](escape,_0x44d36f)),'\x0a'),_0x34043e[_0x4c83da(0x218)](escape,_0x1561f8[_0x4c83da(0x25e)])))));}else _0x26f738['isPending']?_0x34043e[_0x4c83da(0x218)](xunitWrite,_0x34043e[_0x4c83da(0x2fb)](tag,_0x34043e[_0x4c83da(0x2e8)],_0xe9c41b,![],_0x34043e['hvQDP'](tag,_0x34043e[_0x4c83da(0x22e)],{},!![]))):_0x34043e[_0x4c83da(0x21a)](xunitWrite,_0x34043e[_0x4c83da(0x285)](tag,_0x34043e[_0x4c83da(0x2e8)],_0xe9c41b,!![]));};function a28_0x86a5(){const _0x44e2b5=['OVFvZ','bYvCi','YUSwC','handleApp','recursive','Writing\x20xunit\x20result\x20to\x20file','log','EVENTS','QuDyP','oDMkg','BROWSERSTACK_TEST_OBSERVABILITY_YML','passed','mqqQp','xydeo','146925zoSVca','isUndefined','duration','OUqSz','KmQst','kXWzC','totalTests','spec','testcase','rerunTests','getOwnPropertyNames','pDBjM','VgkrU','88ASRciZ','koWoV','bgRedBright','pending','has','ICEzT','zjBGe','../../helpers/test-observability/utils','DRlmX','Writing\x20json\x20result\x20to\x20file','trdam','message','sNAvR','Vduaa','../../helpers/performance/constants','testsPending','576705DUvcTO','list','phmFA','QWSvu','sort','jESOp','initialize','keys','BROWSERSTACK_GRR_US_HUB_URL','xunit','Running\x20your\x20mocha\x20tests','bold','BSuyH','min','****\x20FAILURES\x20****','get','framework','../../helpers/logger','uDBEu','NbQbh','aiAQI','test','env','join','suite','showDiff','qqjhp','YgaFt','HKOqX','HeEys','FFsOx','setupTCGAuth','writeFileSync','iIYiF','../test-runner','Mocha\x20Tests','validPlatformsPresent','Total\x20Platforms:\x20','440946zGqNGd','stats','YbJgv','yRsis','XBViW','mocha/lib/reporters/base.js','stack','</testsuite>','files','PSApg','iDFjN','Total\x20Suites:\x20','XfqTN','GpuZY','VvXgG','lGyGC','finally','logLevel','fireFunnelTestEvent','BROWSERSTACK_RERUN_TESTS','../../helpers/utilities','results','info','json','BTuzE','nqvVY','skipped','fgaub','includes','BROWSERSTACK_CENTRAL_USER','FHFpD','nDPXW','Listing\x20all\x20the\x20failures','TlAPL','xpNhw','nHjuQ','titlePath','file','notifyUpdate','actual','IjfgJ','qCMJk','useW3C','cjs','state','hvQDP','1171155blBvlK','35318vUSyZo','cVjaz','mocha','iFqww','getPlatformName','BROWSERSTACK_AUTOMATION','CkxDP','argv','toUTCString','output','errorMessage','BROWSERSTACK_TEST_OBSERVABILITY','uSDfQ','cliConfig','isBrowserstackInfra','zwdZY','516670aJADOT','\x20skipped','jDioO','muTwU','hideDiff','error','XvVby','vcjRI','indexOf','../../helpers/performance/performance-tester','object','testsFailed','rootHooks','getUserWorkerCount','../../helpers/BrowserStackSetup','hasOwnProperty','tBpFq','rEpRQ','FfEvj','mTyvW','tFFDh','uEhUS','parse','err','RdguJ','expected','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','accessibilityOptions','testObservability','Fzwmh','jJqxq','Ckhig','testsPassed','parseFileNames','fullTitle','forEach','Couldn\x27t\x20write\x20xunit\x20result\x20to','mFPQs','SDK_CLEANUP','\x20total','8419690ByEQWW','then','cBfpv','platform','EYhcr','qlazZ','testSuites','vNCNx','push','consoleLog','../utils/constants','reporter','call','nHXHm','accessibility','titlePathV','xoCOv','bgBlueBright','bRwMm','size','\x20platforms','start','WcHDP','SDKTestSuccessful','shouldReRunObservabilityTests','reporter-option','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','\x0a\x0a\x0a','OnxTN','extension','--disable-browserstack-automation','XvLen','zfkPv','vkbgr','3QzLlEy','../../helpers/helper','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Couldn\x27t\x20write\x20json\x20result\x20to','wcxso','CzLXi','config','xoVpr','length','passes','TLVmj','vKUBN','sWbkJ','ppzHI','doc','4mgdFkf','printBuildLink','FRAMEWORKS','SuijJ','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','reporterOptions','testsuite','vyBdG','NuulP','xpwXY','cDIkT','ccABw','unlinkSync','stringify','Printing\x20stats\x20of\x20tests','proxySettings','prepareCapabilities','chalk','Setting\x20non\x20exit\x20code\x20for\x20failures','XSNTJ','elDyM','OGdyI','ctvPL','suiteName','assign','CzoYp','QNFql','UWaCf','speed','\x20passed','GMcMv','platforms','isTestObservabilitySession','ByOzJ','RrPGo','debug','XvTgr','ignore','ZnWWy','parallelsPerPlatform','MOCHA','exitCode','currentRetry','generateDiff'];a28_0x86a5=function(){return _0x44e2b5;};return a28_0x86a5();}function getStats(_0x52d90c){const _0x3f9474=a28_0x4093e4,_0x3ac432={};_0x3ac432[_0x3f9474(0x280)]=_0x3f9474(0x24a),_0x3ac432['WnPLZ']=_0x3f9474(0x212),_0x3ac432[_0x3f9474(0x1f9)]='failed',_0x3ac432[_0x3f9474(0x277)]=_0x3f9474(0x26d);const _0x288629=_0x3ac432,_0x370bf6=Object[_0x3f9474(0x239)](_0x52d90c);let _0x5bc5ed=0x0,_0x549d07=0x0,_0x139eb9=0x0,_0xf0fbb9=0x0;const _0x3e942c=new Set();_0x370bf6[_0x3f9474(0x2ba)](_0x3dc979=>{const _0x13eb97=_0x3f9474,_0x53c4a3={};_0x53c4a3[_0x13eb97(0x2f8)]=_0x288629[_0x13eb97(0x280)],_0x53c4a3[_0x13eb97(0x1fc)]=_0x288629['WnPLZ'],_0x53c4a3['fgaub']=_0x288629[_0x13eb97(0x1f9)];const _0x25e57e=_0x53c4a3;_0x52d90c[_0x3dc979][_0x288629[_0x13eb97(0x277)]][_0x13eb97(0x2ba)](_0x4a5b8d=>{const _0x5f5c40=_0x13eb97;_0x3e942c['add'](_0x4a5b8d[_0x25e57e['NuulP']]),_0x5bc5ed++;switch(_0x4a5b8d[_0x5f5c40(0x284)]){case _0x25e57e[_0x5f5c40(0x1fc)]:_0x139eb9++;break;case _0x25e57e[_0x5f5c40(0x273)]:_0x549d07++;break;default:_0xf0fbb9++;}});});const _0x5cd9e8={};return _0x5cd9e8['testSuites']=_0x3e942c[_0x3f9474(0x2d2)],_0x5cd9e8[_0x3f9474(0x1fa)]=_0x370bf6,_0x5cd9e8[_0x3f9474(0x21b)]=_0x5bc5ed,_0x5cd9e8['testsFailed']=_0x549d07,_0x5cd9e8[_0x3f9474(0x2b7)]=_0x139eb9,_0x5cd9e8[_0x3f9474(0x231)]=_0xf0fbb9,_0x5cd9e8;}function errorJSON(_0x3d5706){const _0x15e8bb=a28_0x4093e4;var _0x2a07c2={};return Object[_0x15e8bb(0x21f)](_0x3d5706)[_0x15e8bb(0x2ba)](function(_0x2f9547){_0x2a07c2[_0x2f9547]=_0x3d5706[_0x2f9547];},_0x3d5706),_0x2a07c2;}function cleanCycles(_0x342fa1){const _0x4a5243=a28_0x4093e4,_0x1a37ea={};_0x1a37ea['iFqww']=function(_0x40dbf9,_0x594eb9){return _0x40dbf9===_0x594eb9;},_0x1a37ea[_0x4a5243(0x250)]=_0x4a5243(0x2a1),_0x1a37ea[_0x4a5243(0x25a)]=function(_0x238364,_0x358c89){return _0x238364!==_0x358c89;},_0x1a37ea[_0x4a5243(0x279)]=function(_0x4e709f,_0x1028cd){return _0x4e709f!==_0x1028cd;},_0x1a37ea[_0x4a5243(0x2db)]=function(_0x1c35b8,_0x1da57d){return _0x1c35b8+_0x1da57d;};const _0x34a278=_0x1a37ea;var _0x39e3e4=[];return JSON[_0x4a5243(0x2ad)](JSON[_0x4a5243(0x2fd)](_0x342fa1,function(_0x19be35,_0x174d6e){const _0x1869e1=_0x4a5243;if(_0x34a278[_0x1869e1(0x28a)](typeof _0x174d6e,_0x34a278[_0x1869e1(0x250)])&&_0x34a278[_0x1869e1(0x25a)](_0x174d6e,null)){if(_0x34a278[_0x1869e1(0x279)](_0x39e3e4[_0x1869e1(0x29f)](_0x174d6e),-0x1))return _0x34a278['OnxTN']('',_0x174d6e);_0x39e3e4[_0x1869e1(0x2c7)](_0x174d6e);}return _0x174d6e;}));}function clean(_0x438463){const _0x43d2e0=a28_0x4093e4,_0x101245={'cVjaz':function(_0x2c0c7f,_0x2a0b28){return _0x2c0c7f instanceof _0x2a0b28;},'uDBEu':function(_0x472880,_0x243e88){return _0x472880(_0x243e88);}};var _0x4089b0=_0x438463['err']||{};return _0x101245[_0x43d2e0(0x288)](_0x4089b0,Error)&&(_0x4089b0=_0x101245[_0x43d2e0(0x244)](errorJSON,_0x4089b0)),{'title':_0x438463['title'],'fullTitle':_0x438463['fullTitle'],'file':_0x438463[_0x43d2e0(0x27d)],'duration':_0x438463[_0x43d2e0(0x217)],'currentRetry':_0x438463[_0x43d2e0(0x205)],'speed':_0x438463[_0x43d2e0(0x1f7)],'err':_0x101245['uDBEu'](cleanCycles,_0x4089b0)};}function printStats(_0x460fcb,_0x5a7480='spec',_0x386268={}){const _0x491997=a28_0x4093e4,_0x2ffd21={'eJCyG':function(_0x268eaa,_0x401a2c){return _0x268eaa(_0x401a2c);},'xpwXY':function(_0x4e3217,_0x5b29c9){return _0x4e3217===_0x5b29c9;},'muTwU':_0x491997(0x212),'zfkPv':_0x491997(0x2ea),'OGdyI':function(_0x29721f,_0x3e48a8){return _0x29721f(_0x3e48a8);},'trdam':function(_0x165d68,_0x339474){return _0x165d68===_0x339474;},'WcHDP':'failed','Ckhig':'failures','ctvPL':_0x491997(0x225),'wcxso':_0x491997(0x26d),'RrPGo':function(_0x166f0a,_0x1e4eab){return _0x166f0a===_0x1e4eab;},'KQEuA':function(_0x575722,_0x14fd85){return _0x575722*_0x14fd85;},'zwdZY':function(_0x1d2eb6,_0x19e9b9,_0x14da81){return _0x1d2eb6(_0x19e9b9,_0x14da81);},'YgaFt':function(_0x4241fb,_0xf3c7a9){return _0x4241fb===_0xf3c7a9;},'XBViW':function(_0x32f33b,_0x595cbf){return _0x32f33b>_0x595cbf;},'nHXHm':function(_0x5c51da){return _0x5c51da();},'XvTgr':function(_0x1cf82d,_0x2aa927){return _0x1cf82d===_0x2aa927;},'vyBdG':_0x491997(0x2ef),'YyChL':function(_0x559a2b,_0x297b76){return _0x559a2b(_0x297b76);},'Fzwmh':_0x491997(0x1ed),'tBpFq':_0x491997(0x2fe),'lGJxP':function(_0x5a68bc,_0x2829b0){return _0x5a68bc+_0x2829b0;},'qbojf':_0x491997(0x257),'BTuzE':_0x491997(0x263),'RdguJ':function(_0x24b16b,_0x2e1b6b){return _0x24b16b+_0x2e1b6b;},'bYvCi':function(_0x4bf088,_0x5accf8){return _0x4bf088+_0x5accf8;},'sWbkJ':function(_0xeb962e,_0x5aba98){return _0xeb962e+_0x5aba98;},'CzLXi':'Tests:\x20\x20\x20\x20\x20\x20\x20','mqqQp':function(_0x140536,_0x2f9aba){return _0x140536>_0x2f9aba;},'UVWhi':function(_0x365164,_0x3315b1){return _0x365164+_0x3315b1;},'GpuZY':function(_0x138705,_0x5d23d2){return _0x138705+_0x5d23d2;},'cBfpv':function(_0x690373,_0x17aad1){return _0x690373+_0x17aad1;},'oDMkg':function(_0x481ca4,_0x205f5e){return _0x481ca4+_0x205f5e;},'XvVby':_0x491997(0x2da),'VvXgG':function(_0x415266,_0x34efe1){return _0x415266===_0x34efe1;},'MHKYh':_0x491997(0x26f),'wDaOI':_0x491997(0x22b),'nqvVY':_0x491997(0x2e4),'uxzZw':_0x491997(0x2b1),'ICEzT':_0x491997(0x23b),'rEpRQ':_0x491997(0x255),'UWaCf':function(_0x47be7d,_0x22a465){return _0x47be7d||_0x22a465;},'uSDfQ':function(_0x20b752,_0x401143,_0x878cef,_0x298932){return _0x20b752(_0x401143,_0x878cef,_0x298932);},'QNFql':_0x491997(0x2f6),'HKOqX':function(_0x452db0,_0x4e9a9d){return _0x452db0-_0x4e9a9d;},'jESOp':function(_0x625928,_0x318a11){return _0x625928-_0x318a11;},'PSApg':function(_0x17a0a5,_0x21a1b3){return _0x17a0a5/_0x21a1b3;},'Vduaa':function(_0x47292b,_0x34e441){return _0x47292b(_0x34e441);},'CkxDP':_0x491997(0x25f),'xpNhw':_0x491997(0x20c),'XvLen':_0x491997(0x2bb),'ppzHI':'No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','rzIni':_0x491997(0x278),'vNCNx':_0x491997(0x240)};if(_0x2ffd21[_0x491997(0x1ff)](_0x5a7480,_0x2ffd21[_0x491997(0x2f7)]))return;const _0xbacd7e=0x0,_0x174b00=()=>{const _0x46bd6e=_0x491997;return _0x2ffd21['eJCyG'](Array,_0xbacd7e)[_0x46bd6e(0x249)]('\x20\x20');},{testSuites:_0x52932f,platforms:_0x4d1931,totalTests:_0x2c1aa2,testsFailed:_0x1c1e22,testsPassed:_0x2e5fbf,testsPending:_0x5a7fff}=_0x2ffd21['YyChL'](getStats,_0x460fcb);_0x2ffd21[_0x491997(0x25c)](_0x1c1e22,0x0)&&(logger['debug'](_0x2ffd21[_0x491997(0x2b4)]),process[_0x491997(0x204)]=Math[_0x491997(0x23f)](_0x1c1e22,0xff));logger[_0x491997(0x1fe)](_0x2ffd21[_0x491997(0x2a7)]);const _0x65d27e=''+_0x2ffd21['lGJxP'](chalk[_0x491997(0x23d)](_0x2ffd21['qbojf']),_0x4d1931[_0x491997(0x2e9)]),_0x5c9f00=''+_0x2ffd21['lGJxP'](chalk[_0x491997(0x23d)](_0x2ffd21[_0x491997(0x270)]),_0x52932f),_0x1766eb=''+_0x2ffd21[_0x491997(0x2af)](_0x2ffd21['bYvCi'](_0x2ffd21[_0x491997(0x2ed)](chalk[_0x491997(0x23d)](_0x2ffd21[_0x491997(0x2e6)]),_0x2ffd21[_0x491997(0x25c)](_0x1c1e22,0x0)?chalk['bold']['red'](_0x1c1e22+'\x20failed')+',\x20':''),_0x2ffd21[_0x491997(0x213)](_0x5a7fff,0x0)?chalk['bold']['yellow'](_0x5a7fff+_0x491997(0x298))+',\x20':''),_0x2ffd21[_0x491997(0x25c)](_0x2e5fbf,0x0)?chalk[_0x491997(0x23d)]['green'](_0x2e5fbf+_0x491997(0x1f8))+',\x20':'')+_0x2c1aa2+_0x491997(0x2be);console[_0x491997(0x20d)](_0x2ffd21['UVWhi'](_0x2ffd21[_0x491997(0x265)](_0x2ffd21[_0x491997(0x2c1)](_0x2ffd21[_0x491997(0x208)](_0x2ffd21[_0x491997(0x210)](_0x2ffd21[_0x491997(0x29d)],_0x65d27e),'\x0a'),_0x5c9f00),'\x0a'),_0x1766eb));if(_0x2ffd21[_0x491997(0x266)](_0x5a7480,_0x2ffd21['MHKYh'])){const _0x4ca8d4={},_0x3850fa={};_0x3850fa[_0x491997(0x2c5)]=_0x52932f,_0x3850fa[_0x491997(0x1fa)]=_0x4d1931,_0x3850fa[_0x491997(0x2a2)]=_0x1c1e22,_0x3850fa[_0x491997(0x2b7)]=_0x2e5fbf,_0x3850fa[_0x491997(0x231)]=_0x5a7fff,_0x4ca8d4[_0x491997(0x259)]=_0x3850fa,_0x4d1931[_0x491997(0x2ba)](_0x3cb1f3=>{const _0x39e972=_0x491997,_0x246300={'qqjhp':function(_0x2c54ae,_0x11238b){const _0x2b727a=a28_0x3d6d;return _0x2ffd21[_0x2b727a(0x2f9)](_0x2c54ae,_0x11238b);},'ZWsLO':_0x2ffd21['muTwU'],'qCMJk':_0x2ffd21[_0x39e972(0x2df)],'CzoYp':function(_0x2cc130,_0x4be93f){const _0xd59339=_0x39e972;return _0x2ffd21[_0xd59339(0x1f0)](_0x2cc130,_0x4be93f);},'vcjRI':function(_0xc9392e,_0x4e8dcd){return _0x2ffd21['trdam'](_0xc9392e,_0x4e8dcd);},'iDFjN':_0x2ffd21[_0x39e972(0x2d5)],'ZnWWy':_0x2ffd21[_0x39e972(0x2b6)],'gcStI':_0x2ffd21[_0x39e972(0x1f1)]};_0x4ca8d4[_0x3cb1f3]={'pending':[],'failures':[],'passes':[],'tests':_0x460fcb[_0x3cb1f3][_0x2ffd21[_0x39e972(0x2e5)]]['map'](clean)},_0x460fcb[_0x3cb1f3][_0x2ffd21[_0x39e972(0x2e5)]][_0x39e972(0x2ba)](_0x1f2a1b=>{const _0x187c7b=_0x39e972;if(_0x246300[_0x187c7b(0x24c)](_0x1f2a1b[_0x187c7b(0x284)],_0x246300['ZWsLO']))_0x4ca8d4[_0x3cb1f3][_0x246300[_0x187c7b(0x281)]][_0x187c7b(0x2c7)](_0x246300[_0x187c7b(0x1f4)](clean,_0x1f2a1b));else _0x246300[_0x187c7b(0x29e)](_0x1f2a1b[_0x187c7b(0x284)],_0x246300[_0x187c7b(0x262)])?_0x4ca8d4[_0x3cb1f3][_0x246300[_0x187c7b(0x201)]][_0x187c7b(0x2c7)](_0x246300[_0x187c7b(0x1f4)](clean,_0x1f2a1b)):_0x4ca8d4[_0x3cb1f3][_0x246300['gcStI']][_0x187c7b(0x2c7)](_0x246300[_0x187c7b(0x1f4)](clean,_0x1f2a1b));});});if(_0x386268['output'])try{logger[_0x491997(0x1fe)](_0x2ffd21['wDaOI'],_0x386268[_0x491997(0x290)]),fs['writeFileSync'](_0x386268['output'],JSON[_0x491997(0x2fd)](_0x4ca8d4,null,0x3));}catch(_0x2a9421){logger['error'](_0x2ffd21[_0x491997(0x271)],_0x386268[_0x491997(0x290)]),logger[_0x491997(0x1fe)](_0x2a9421);}else logger['debug'](_0x2ffd21['uxzZw']),console[_0x491997(0x20d)](JSON[_0x491997(0x2fd)](_0x4ca8d4,null,0x3));}else{if(_0x2ffd21[_0x491997(0x22c)](_0x5a7480,_0x2ffd21[_0x491997(0x227)])){let _0x14756e;const _0x22ac76=_0x2ffd21[_0x491997(0x2a8)];_0x386268&&(_0x14756e=_0x386268[_0x491997(0x1f2)]);_0x14756e=_0x2ffd21[_0x491997(0x1f6)](_0x14756e,_0x22ac76);let _0x286e61=0x0,_0x47188a=0x0,_0x8bca13=0x0,_0x1e5194=0x0;_0x4d1931[_0x491997(0x2ba)](_0x4cc2c2=>{const _0x2a5332=_0x491997,_0x1e7c18={'QWSvu':function(_0x1a5d48,_0x20f0b3){const _0x415e87=a28_0x3d6d;return _0x2ffd21[_0x415e87(0x22c)](_0x1a5d48,_0x20f0b3);},'cDIkT':_0x2ffd21[_0x2a5332(0x29a)],'CXLMS':function(_0xcddd07,_0x510890){const _0x1cecb7=_0x2a5332;return _0x2ffd21[_0x1cecb7(0x1fd)](_0xcddd07,_0x510890);},'FWZKD':_0x2ffd21['WcHDP'],'gTwcO':function(_0x48a4f4,_0x132248){return _0x2ffd21['KQEuA'](_0x48a4f4,_0x132248);}};_0x460fcb[_0x4cc2c2][_0x2ffd21[_0x2a5332(0x2e5)]][_0x2a5332(0x2ba)](_0xc65936=>{const _0x3cc15b=_0x2a5332;if(_0x1e7c18[_0x3cc15b(0x235)](_0xc65936['state'],_0x1e7c18[_0x3cc15b(0x2fa)]))_0x286e61++;else _0x1e7c18['CXLMS'](_0xc65936[_0x3cc15b(0x284)],_0x1e7c18['FWZKD'])&&_0x47188a++;_0x8bca13++,_0x1e5194+=_0x1e7c18['gTwcO'](_0xc65936['duration'],0x1);});}),_0x2ffd21['OGdyI'](xunitWrite,_0x2ffd21[_0x491997(0x293)](tag,_0x2ffd21[_0x491997(0x1f5)],{'name':_0x14756e,'tests':_0x8bca13,'failures':0x0,'errors':_0x47188a,'skipped':_0x2ffd21[_0x491997(0x24e)](_0x2ffd21[_0x491997(0x237)](_0x8bca13,_0x47188a),_0x286e61),'timestamp':new Date()[_0x491997(0x28f)](),'time':_0x2ffd21[_0x491997(0x261)](_0x1e5194,0x3e8)||0x0},![])),_0x4d1931[_0x491997(0x2ba)](_0x51ec79=>{const _0x4b26e7=_0x491997,_0x16e42f={'QuDyP':function(_0xadaec9,_0x43828a,_0x337aae){const _0x11dfef=a28_0x3d6d;return _0x2ffd21[_0x11dfef(0x296)](_0xadaec9,_0x43828a,_0x337aae);}};_0x460fcb[_0x51ec79][_0x2ffd21[_0x4b26e7(0x2e5)]][_0x4b26e7(0x2ba)](_0x31cb37=>{const _0x24b835=_0x4b26e7;_0x16e42f[_0x24b835(0x20f)](xunitTest,_0x31cb37,_0x51ec79);});}),_0x2ffd21[_0x491997(0x22f)](xunitWrite,_0x2ffd21[_0x491997(0x28d)]);if(_0x386268[_0x491997(0x290)])try{logger[_0x491997(0x1fe)](_0x2ffd21[_0x491997(0x27a)],_0x386268[_0x491997(0x290)]),fs[_0x491997(0x252)](_0x386268[_0x491997(0x290)],xunitContent);}catch(_0x344022){logger[_0x491997(0x29c)](_0x2ffd21[_0x491997(0x2de)],_0x386268[_0x491997(0x290)]),logger['debug'](_0x344022);}else logger[_0x491997(0x1fe)](_0x2ffd21[_0x491997(0x2ee)]),console[_0x491997(0x20d)](xunitContent);}else{if(_0x2ffd21[_0x491997(0x2f9)](_0x1c1e22,0x0))return;console[_0x491997(0x20d)](),logger['debug'](_0x2ffd21['rzIni']),console['log'](chalk[_0x491997(0x23d)][_0x491997(0x224)](_0x2ffd21[_0x491997(0x2c6)])),_0x4d1931[_0x491997(0x2ba)](_0xa220fe=>{const _0x1c756d=_0x491997,_0x3dc8cb={'aiAQI':function(_0x172517,_0x30ce7d){const _0x1a3e74=a28_0x3d6d;return _0x2ffd21[_0x1a3e74(0x24d)](_0x172517,_0x30ce7d);},'RHPRX':_0x2ffd21[_0x1c756d(0x2d5)]},_0x45f3a8=[];_0x460fcb[_0xa220fe][_0x2ffd21[_0x1c756d(0x2e5)]][_0x1c756d(0x2ba)](_0xf41e21=>{const _0x2b8158=_0x1c756d;_0x3dc8cb[_0x2b8158(0x246)](_0xf41e21[_0x2b8158(0x284)],_0x3dc8cb['RHPRX'])&&(_0xf41e21[_0x2b8158(0x27c)]=()=>_0xf41e21[_0x2b8158(0x2ce)],_0x45f3a8[_0x2b8158(0x2c7)](_0xf41e21));}),_0x2ffd21[_0x1c756d(0x25c)](_0x45f3a8['length'],0x0)&&(Base[_0x1c756d(0x2c8)](),Base[_0x1c756d(0x2c8)](_0x2ffd21[_0x1c756d(0x2cc)](_0x174b00),chalk['bold'][_0x1c756d(0x2d0)](_0xa220fe)),Base[_0x1c756d(0x233)](_0x45f3a8));});}}}async function run(_0x84021d,_0x55c6e0){const _0x5a37af=a28_0x4093e4,_0x2555b7={'vkbgr':function(_0x1235a0,_0x1d1e4a,_0x3bde02,_0x1546d9){return _0x1235a0(_0x1d1e4a,_0x3bde02,_0x1546d9);},'FHFpD':_0x5a37af(0x2d8),'ufGCC':'error\x20removing\x20tcg\x20config\x20file','EYhcr':_0x5a37af(0x2d6),'QRmrz':function(_0x353ab6,_0x2e033d,_0x30ff26,_0x2a6560){return _0x353ab6(_0x2e033d,_0x30ff26,_0x2a6560);},'jDioO':_0x5a37af(0x289),'xydeo':'--disable-test-observability','XfqTN':_0x5a37af(0x2dd),'aZtpa':function(_0x4899b4,_0x1919d4){return _0x4899b4!=_0x1919d4;},'yFiuz':_0x5a37af(0x283),'lGyGC':'mjs','iIYiF':_0x5a37af(0x247),'vKUBN':_0x5a37af(0x21e),'VgkrU':function(_0x358a48,_0x461e7d){return _0x358a48(_0x461e7d);},'mFPQs':function(_0x43f7a6,_0x53efd5,_0x1ed31a){return _0x43f7a6(_0x53efd5,_0x1ed31a);},'KmQst':_0x5a37af(0x260),'FfEvj':_0x5a37af(0x23c),'jJqxq':'Now,\x20showing\x20logs\x20from\x20mocha','OVFvZ':function(_0x1cae01,_0x4b5561,_0x5b573b,_0x262708){return _0x1cae01(_0x4b5561,_0x5b573b,_0x262708);},'NbQbh':function(_0x3cd123,_0x4ca84d){return _0x3cd123*_0x4ca84d;},'bRwMm':function(_0x3f62b7,_0x32355e){return _0x3f62b7(_0x32355e);},'qlazZ':function(_0x3beee2,_0x4a37f2){return _0x3beee2!==_0x4a37f2;},'DRlmX':function(_0x555aee,_0x52f4d4,_0x1b750c,_0x4023ba){return _0x555aee(_0x52f4d4,_0x1b750c,_0x4023ba);}};process[_0x5a37af(0x28e)][_0x5a37af(0x274)](_0x2555b7[_0x5a37af(0x214)])&&(process[_0x5a37af(0x248)][_0x5a37af(0x292)]=![]);process['argv'][_0x5a37af(0x274)](_0x2555b7[_0x5a37af(0x264)])&&(process['env'][_0x5a37af(0x28c)]=![]);const _0xeb6fdd=new BrowserStackSetup(_0x84021d,_0x2555b7[_0x5a37af(0x299)]);helper['isBrowserstackInfra']()?(await _0xeb6fdd[_0x5a37af(0x238)](),await helper[_0x5a37af(0x20a)](_0xeb6fdd[_0x5a37af(0x2e7)])):await _0xeb6fdd[_0x5a37af(0x251)]();const _0x4a386d=[];let _0x5e3619=[];if(!_0xeb6fdd[_0x5a37af(0x2e7)])return;_0x2555b7['aZtpa'](_0xeb6fdd['config'][_0x5a37af(0x2b3)],null)&&(process['env'][_0x5a37af(0x211)]=_0xeb6fdd[_0x5a37af(0x2e7)][_0x5a37af(0x2b3)]);!helper['isUndefined'](_0xeb6fdd[_0x5a37af(0x2e7)][_0x5a37af(0x2cd)])&&(process[_0x5a37af(0x248)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0xeb6fdd['config'][_0x5a37af(0x2cd)]);!helper['isUndefined'](_0xeb6fdd['config'][_0x5a37af(0x2b2)])&&(process[_0x5a37af(0x248)][_0x5a37af(0x2e3)]=JSON['stringify'](_0xeb6fdd[_0x5a37af(0x2e7)][_0x5a37af(0x2b2)]));const {extension:extension=['js',_0x2555b7['yFiuz'],_0x2555b7[_0x5a37af(0x267)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x2555b7[_0x5a37af(0x253)]]}=_0x84021d,_0x36ea3f={..._0x84021d};_0x36ea3f[_0x5a37af(0x2a3)]=null;const _0x3ba5aa=_0x36ea3f;let _0x219e17;if(testOpsHelper[_0x5a37af(0x1fb)]()&&testOpsHelper[_0x5a37af(0x2d7)]()){let _0x31c425=process[_0x5a37af(0x248)][_0x5a37af(0x26b)];!helper[_0x5a37af(0x216)](_0xeb6fdd[_0x5a37af(0x294)])&&_0xeb6fdd['cliConfig'][_0x5a37af(0x226)](_0x2555b7['vKUBN'])&&(_0x31c425=_0xeb6fdd[_0x5a37af(0x294)][_0x5a37af(0x241)](_0x2555b7[_0x5a37af(0x2ec)])),_0x219e17=testOpsHelper[_0x5a37af(0x2b8)](_0x31c425);}if(helper['isUndefined'](_0x219e17)){const _0x1c43f3={};_0x1c43f3[_0x5a37af(0x200)]=ignore,_0x1c43f3[_0x5a37af(0x2dc)]=extension,_0x1c43f3[_0x5a37af(0x27d)]=file,_0x1c43f3[_0x5a37af(0x20b)]=recursive,_0x1c43f3[_0x5a37af(0x236)]=sort,_0x1c43f3[_0x5a37af(0x21c)]=spec,_0x219e17=_0x2555b7[_0x5a37af(0x221)](collectFiles,_0x1c43f3),_0x2555b7[_0x5a37af(0x2bc)](nestedKeyValue,_0x219e17,[_0x2555b7[_0x5a37af(0x219)]])&&(_0x219e17=_0x219e17['files']);}if(!helper[_0x5a37af(0x295)]()){const _0x347ac0=0x1,_0x47f4be={..._0x3ba5aa};_0x47f4be['spec']=[..._0x219e17],_0x4a386d[_0x5a37af(0x2c7)]({'mochaOpts':_0x47f4be,'configuration':{'platform':os[_0x5a37af(0x2c2)]()}}),logger[_0x5a37af(0x26e)](_0x2555b7[_0x5a37af(0x2a9)]),logger[_0x5a37af(0x26e)](_0x2555b7[_0x5a37af(0x2b5)]),_0x2555b7[_0x5a37af(0x207)](parallelTestRun,_0x4a386d,_0x347ac0,_0xeb6fdd)[_0x5a37af(0x2c0)](_0x10669a=>{const _0x3c7382=_0x5a37af;PerformanceTester['start'](PerformanceEvents[_0x3c7382(0x2bd)]),_0x2555b7[_0x3c7382(0x2e0)](printStats,_0x10669a,_0x84021d[_0x3c7382(0x2ca)],_0x84021d[_0x3c7382(0x2f5)]||_0x84021d[_0x2555b7[_0x3c7382(0x276)]]);})[_0x5a37af(0x268)](()=>{const _0x399c7b=_0x5a37af;PerformanceTester[_0x399c7b(0x2d4)](PerformanceEvents[_0x399c7b(0x2bd)]);try{const {browserstackFolderPath:_0xb14cde,tcgConfigPath:_0x34d2f9}=helper['getTCGConfigFilePaths']();fs[_0x399c7b(0x2fc)](_0x34d2f9),fs['rmdirSync'](_0xb14cde);}catch(_0x85dfcd){logger[_0x399c7b(0x1fe)](_0x2555b7['ufGCC'],_0x85dfcd);}try{utilities[_0x399c7b(0x26a)](_0x2555b7[_0x399c7b(0x2c3)],{},_0xeb6fdd[_0x399c7b(0x2e7)],_0xeb6fdd[_0x399c7b(0x242)]);}catch(_0x1e175b){logger['debug'](_0x399c7b(0x2d9)+_0x1e175b['stack']);}try{helper[_0x399c7b(0x27e)]();}catch(_0x58abea){logger[_0x399c7b(0x1fe)](_0x399c7b(0x2f4)+_0x58abea);}testOpsHelper['printBuildLink']();});}else{const _0x12a12b=helper[_0x5a37af(0x282)](_0xeb6fdd['config']);let _0x33233a=helper['getHubUrl'](_0xeb6fdd[_0x5a37af(0x2e7)]);_0x5e3619=helper[_0x5a37af(0x300)](_0xeb6fdd[_0x5a37af(0x2e7)],_0x12a12b,constants[_0x5a37af(0x2f2)][_0x5a37af(0x203)]);process['env'][_0x5a37af(0x275)]&&(_0x33233a=centralScannerConstants[_0x5a37af(0x23a)]);let _0x4d0a76;const _0x24eb71=_0xeb6fdd['config'][_0x5a37af(0x202)]||helper[_0x5a37af(0x2a4)](_0x84021d,_0x55c6e0,_0xeb6fdd['config'],constants['FRAMEWORKS'][_0x5a37af(0x203)])||0x1;helper[_0x5a37af(0x256)](_0xeb6fdd[_0x5a37af(0x2e7)])?_0x4d0a76=_0x2555b7[_0x5a37af(0x245)](_0xeb6fdd['config'][_0x5a37af(0x1fa)][_0x5a37af(0x2e9)],_0x24eb71):_0x4d0a76=_0x24eb71;const _0x2697da=_0x2555b7[_0x5a37af(0x2d1)](getPercyOptions,_0xeb6fdd[_0x5a37af(0x2e7)]);if(_0x2555b7[_0x5a37af(0x2c4)](_0xeb6fdd[_0x5a37af(0x2e7)]['parallelsPerPlatform'],0x1))_0x219e17[_0x5a37af(0x2ba)](_0x5b8717=>{const _0x564de5=_0x5a37af,_0x148d90=[];_0x5e3619[_0x564de5(0x2ba)]((_0x1a697a,_0x2355b3)=>{const _0x394a59=_0x564de5,_0x1a48d2={};_0x1a48d2[_0x394a59(0x21c)]=[_0x5b8717],_0x148d90[_0x394a59(0x2c7)]({'mochaOpts':Object[_0x394a59(0x1f3)]({},_0x3ba5aa,_0x1a48d2),'configuration':{'server':_0x33233a,'capability':_0x1a697a,'proxySettings':_0xeb6fdd['config'][_0x394a59(0x2ff)],'platform':helper['getPlatformName'](_0x1a697a),'browserStackLogLevel':_0xeb6fdd['config'][_0x394a59(0x269)],'platformIndex':_0x2355b3,'browserStackPercyOptions':_0x2697da,'platformCaps':Object[_0x394a59(0x1f3)]({'index':_0x2355b3},_0xeb6fdd[_0x394a59(0x2e7)][_0x394a59(0x1fa)][_0x2355b3])}});}),_0x4a386d[_0x564de5(0x2c7)](..._0x148d90);});else{const _0x3bf4b2=[];_0x5e3619[_0x5a37af(0x2ba)]((_0x419769,_0x5c82f5)=>{const _0x419fe0=_0x5a37af;let _0x359bbb=Object[_0x419fe0(0x1f3)]({},_0x3ba5aa);testOpsHelper[_0x419fe0(0x1fb)]()&&testOpsHelper[_0x419fe0(0x2d7)]()&&(_0x359bbb={..._0x359bbb,'spec':[..._0x219e17]}),_0x3bf4b2['push']({'mochaOpts':_0x359bbb,'configuration':{'server':_0x33233a,'capability':_0x419769,'proxySettings':_0xeb6fdd[_0x419fe0(0x2e7)][_0x419fe0(0x2ff)],'platform':helper[_0x419fe0(0x28b)](_0x419769),'browserStackLogLevel':_0xeb6fdd[_0x419fe0(0x2e7)][_0x419fe0(0x269)],'platformIndex':_0x5c82f5,'browserStackPercyOptions':_0x2697da,'platformCaps':Object['assign']({'index':_0x5c82f5},_0xeb6fdd[_0x419fe0(0x2e7)][_0x419fe0(0x1fa)][_0x5c82f5])}});}),_0x4a386d[_0x5a37af(0x2c7)](..._0x3bf4b2);}logger[_0x5a37af(0x26e)]('Running\x20your\x20mocha\x20tests\x20across\x20'+_0xeb6fdd[_0x5a37af(0x2e7)][_0x5a37af(0x1fa)][_0x5a37af(0x2e9)]+_0x5a37af(0x2d3)),logger[_0x5a37af(0x26e)](_0x2555b7[_0x5a37af(0x2b5)]);let _0x477d12;_0x2555b7[_0x5a37af(0x22a)](parallelTestRun,_0x4a386d,_0x4d0a76,_0xeb6fdd)[_0x5a37af(0x2c0)](_0x46dcde=>{const _0x5799c7=_0x5a37af;PerformanceTester['start'](PerformanceEvents[_0x5799c7(0x2bd)]),_0x477d12=_0x46dcde,_0x2555b7['QRmrz'](printStats,_0x46dcde,_0x84021d[_0x5799c7(0x2ca)],_0x84021d[_0x5799c7(0x2f5)]||_0x84021d[_0x2555b7[_0x5799c7(0x276)]]);})[_0x5a37af(0x268)](async()=>{const _0x10a39a=_0x5a37af;PerformanceTester[_0x10a39a(0x2d4)](PerformanceEvents[_0x10a39a(0x2bd)]),_0xeb6fdd[_0x10a39a(0x291)]=helper['getErrorMessageFromResults'](_0x477d12,_0x2555b7[_0x10a39a(0x299)]),await utilities['finalExecution'](_0xeb6fdd),testOpsHelper[_0x10a39a(0x2f1)]();});}}module['exports']=run;