browserstack-node-sdk 1.34.19 → 1.34.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/globals.js +1 -1
  101. package/src/helpers/helper.js +1 -1
  102. package/src/helpers/logger.js +1 -1
  103. package/src/helpers/patchHelper.js +1 -1
  104. package/src/helpers/patchHelpers.js +1 -1
  105. package/src/helpers/percy/Percy.js +1 -1
  106. package/src/helpers/percy/PercyBinary.js +1 -1
  107. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  108. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  109. package/src/helpers/percy/PercySDK.js +1 -1
  110. package/src/helpers/percy/index.js +1 -1
  111. package/src/helpers/percy/utils.js +1 -1
  112. package/src/helpers/performance-tester.js +1 -1
  113. package/src/helpers/request-spy.js +1 -1
  114. package/src/helpers/setKeepAlive.js +1 -1
  115. package/src/helpers/test-observability/constants.js +1 -1
  116. package/src/helpers/test-observability/error-handler.js +1 -1
  117. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  118. package/src/helpers/test-observability/sessionHandler.js +1 -1
  119. package/src/helpers/test-observability/utils.js +1 -1
  120. package/src/helpers/testhub/constants.js +1 -1
  121. package/src/helpers/testhub/testhubHandler.js +1 -1
  122. package/src/helpers/testhub/utils.js +1 -1
  123. package/src/helpers/timeoutPromise.js +1 -1
  124. package/src/helpers/utilities.js +1 -1
  125. package/src/helpers/w3cMapping.js +1 -1
  126. package/src/hubAllocationMethods.js +1 -1
  127. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a23_0x2e53f8=a23_0x5418;(function(_0x5852be,_0x273db1){const _0x4c12b9=a23_0x5418,_0x7b0034=_0x5852be();while(!![]){try{const _0x49f9f3=-parseInt(_0x4c12b9(0xb7))/0x1*(-parseInt(_0x4c12b9(0xc0))/0x2)+parseInt(_0x4c12b9(0xc9))/0x3+-parseInt(_0x4c12b9(0xae))/0x4+-parseInt(_0x4c12b9(0xb5))/0x5+-parseInt(_0x4c12b9(0xa6))/0x6*(-parseInt(_0x4c12b9(0xb4))/0x7)+parseInt(_0x4c12b9(0xb1))/0x8*(parseInt(_0x4c12b9(0xb9))/0x9)+-parseInt(_0x4c12b9(0xab))/0xa;if(_0x49f9f3===_0x273db1)break;else _0x7b0034['push'](_0x7b0034['shift']());}catch(_0x21f11f){_0x7b0034['push'](_0x7b0034['shift']());}}}(a23_0x2d02,0x737af));const fs=require('fs'),path=require(a23_0x2e53f8(0xc4)),{v4:uuidv4}=require(a23_0x2e53f8(0xb8)),helper=require(a23_0x2e53f8(0xc2)),testHubConstants=require(a23_0x2e53f8(0xad));class TestDetails{static ['tests']={};static [a23_0x2e53f8(0xb2)]=path['join'](helper[a23_0x2e53f8(0xcd)](),a23_0x2e53f8(0xa5),a23_0x2e53f8(0xc7)+process[a23_0x2e53f8(0xce)][testHubConstants[a23_0x2e53f8(0xbe)][a23_0x2e53f8(0xbb)]]);static[a23_0x2e53f8(0xcb)](){const _0x41350b=a23_0x2e53f8,_0x471432={};_0x471432[_0x41350b(0xc1)]=_0x41350b(0xa5);const _0x421658=_0x471432;this[_0x41350b(0xb2)]=path[_0x41350b(0xa7)](helper[_0x41350b(0xcd)](),_0x421658[_0x41350b(0xc1)],'jest-o11y-'+process[_0x41350b(0xce)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']]),this[_0x41350b(0xb3)]();const _0x4cee88={};_0x4cee88['recursive']=!![],fs['mkdirSync'](this[_0x41350b(0xb2)],_0x4cee88);}static[a23_0x2e53f8(0x9f)](_0x273fcc){const _0x27ce95=a23_0x2e53f8,_0x52fc46={};_0x52fc46[_0x27ce95(0xc6)]=function(_0x2165fa,_0x2ded0b){return _0x2165fa+_0x2ded0b;},_0x52fc46[_0x27ce95(0xbd)]=_0x27ce95(0xac);const _0x315535=_0x52fc46;return path[_0x27ce95(0xa7)](this[_0x27ce95(0xb2)],_0x315535[_0x27ce95(0xc6)](_0x273fcc,_0x315535['YmwIV']));}static[a23_0x2e53f8(0xc5)](_0x1277f1){const _0x5edb9f=a23_0x2e53f8,_0x2fd16c={};_0x2fd16c[_0x5edb9f(0xc3)]=function(_0xa6bdb,_0x229ef6){return _0xa6bdb+_0x229ef6;};const _0x216712=_0x2fd16c;return _0x216712[_0x5edb9f(0xc3)](_0x216712[_0x5edb9f(0xc3)](_0x216712['PlMZv'](_0x216712[_0x5edb9f(0xc3)](_0x1277f1['_test']['_projectId'],'-'),_0x1277f1[_0x5edb9f(0xb0)]['id']),'-'),_0x1277f1[_0x5edb9f(0xa2)]);}static['getTestUUID'](_0x3d45a3){const _0xcc88c0=a23_0x2e53f8,_0x2daeb3=this[_0xcc88c0(0x9f)](_0x3d45a3);if(fs[_0xcc88c0(0xb6)](_0x2daeb3)){const _0x4237b2=JSON[_0xcc88c0(0xa1)](fs[_0xcc88c0(0xca)](_0x2daeb3)[_0xcc88c0(0xaa)]());return this['tests'][_0x3d45a3]=_0x4237b2,this[_0xcc88c0(0xaf)][_0x3d45a3]['uuid'];}}static[a23_0x2e53f8(0xa0)](_0xe2cf0c){const _0x4aa2da=a23_0x2e53f8,_0x16d74c={};_0x16d74c['vSIZo']='testData.json';const _0x4da760=_0x16d74c,_0x4a8ef2=path['join'](this[_0x4aa2da(0xb2)],_0x4da760['vSIZo']);fs[_0x4aa2da(0xcf)](_0x4a8ef2,JSON[_0x4aa2da(0xbc)](_0xe2cf0c));}static[a23_0x2e53f8(0xba)](){const _0x1f94b7=a23_0x2e53f8,_0x415e21={};_0x415e21[_0x1f94b7(0xa8)]=_0x1f94b7(0xc8);const _0x5d9643=_0x415e21,_0xfb5795=path[_0x1f94b7(0xa7)](this[_0x1f94b7(0xb2)],_0x5d9643[_0x1f94b7(0xa8)]);let _0x5252d2={};try{return fs[_0x1f94b7(0xb6)](_0xfb5795)&&(_0x5252d2=JSON[_0x1f94b7(0xa1)](fs[_0x1f94b7(0xca)](_0xfb5795)['toString']())),_0x5252d2;}catch(_0x5b173){return _0x5252d2;}}static[a23_0x2e53f8(0xbf)](_0x28beaf){const _0x4af7f8=a23_0x2e53f8,_0x222807={'fSTgc':function(_0xb975c0){return _0xb975c0();}},_0x51adc7=this[_0x4af7f8(0x9f)](_0x28beaf);return this[_0x4af7f8(0xaf)][_0x28beaf]={'uuid':_0x222807[_0x4af7f8(0xa4)](uuidv4)},fs[_0x4af7f8(0xcf)](_0x51adc7,JSON[_0x4af7f8(0xbc)](this['tests'][_0x28beaf])),this['tests'][_0x28beaf][_0x4af7f8(0xb8)];}static['removeTestUUID'](_0x1bb485){const _0x18dc07=a23_0x2e53f8,_0x38d938=this[_0x18dc07(0x9f)](_0x1bb485);fs[_0x18dc07(0xb6)](_0x38d938)&&fs[_0x18dc07(0xa3)](_0x38d938);}static[a23_0x2e53f8(0xb3)](){const _0x625b99=a23_0x2e53f8,_0x1a1130={};_0x1a1130[_0x625b99(0xcc)]=!![],_0x1a1130[_0x625b99(0xd1)]=!![],fs[_0x625b99(0xd0)](this[_0x625b99(0xb2)],_0x1a1130);}}function a23_0x5418(_0x61db87,_0x509a73){const _0x2d02de=a23_0x2d02();return a23_0x5418=function(_0x541884,_0x2f3fba){_0x541884=_0x541884-0x9f;let _0x569514=_0x2d02de[_0x541884];return _0x569514;},a23_0x5418(_0x61db87,_0x509a73);}module[a23_0x2e53f8(0xa9)]=TestDetails;function a23_0x2d02(){const _0xcfde47=['826hkaFle','953165pAayaO','existsSync','39441gJAyYy','uuid','9euKUWD','getTestData','BROWSERSTACK_TESTHUB_UUID','stringify','YmwIV','ENV_VAR','setTestUUID','10XfHxwz','SShrY','../../../helpers/helper','PlMZv','path','getTestRunIdFromTestInfo','Yddjb','jest-o11y-','testData.json','2427909ogVYbD','readFileSync','setup','recursive','homedir','env','writeFileSync','rmSync','force','getFilePath','setTestData','parse','retry','unlinkSync','fSTgc','.browserstack','29550HXfihv','join','nZoVp','exports','toString','11405110UTmbmj','.json','../../../helpers/testhub/constants','891384kMoqSt','tests','_test','3514712FHBzOF','dirPath','shutdown'];a23_0x2d02=function(){return _0xcfde47;};return a23_0x2d02();}
1
+ const a23_0x4e7581=a23_0x284b;function a23_0x16ba(){const _0x3c8ed3=['30KsGZXL','setup','../../../helpers/testhub/constants','testData.json','44FeXdAX','6iGWwll','setTestUUID','vVIid','36ZDqbIy','uuid','jest-o11y-','PlIyU','dirPath','_test','mkdirSync','recursive','getTestData','getTestRunIdFromTestInfo','LIBCo','.json','writeFileSync','stringify','CZjLk','1063266kgFMdt','61986564jyeTdv','join','.browserstack','getFilePath','1071580QQyvjv','ENV_VAR','ojAjK','222392gIIICY','setTestData','existsSync','_projectId','shutdown','TLkBt','env','DFyQn','readFileSync','path','getTestUUID','toString','abINl','removeTestUUID','BROWSERSTACK_TESTHUB_UUID','exports','31460lTOPBG','438PrBllf','2442896nPGjTG','230433LAmZjC','tests','parse','../../../helpers/helper','retry','rmSync','homedir'];a23_0x16ba=function(){return _0x3c8ed3;};return a23_0x16ba();}(function(_0x2622a3,_0x593e7e){const _0xee41f3=a23_0x284b,_0x489c54=_0x2622a3();while(!![]){try{const _0x4956eb=parseInt(_0xee41f3(0x1f1))/0x1*(-parseInt(_0xee41f3(0x210))/0x2)+parseInt(_0xee41f3(0x202))/0x3*(-parseInt(_0xee41f3(0x201))/0x4)+-parseInt(_0xee41f3(0x20b))/0x5*(parseInt(_0xee41f3(0x1e9))/0x6)+parseInt(_0xee41f3(0x204))/0x7+-parseInt(_0xee41f3(0x203))/0x8*(parseInt(_0xee41f3(0x213))/0x9)+parseInt(_0xee41f3(0x1ee))/0xa*(-parseInt(_0xee41f3(0x20f))/0xb)+parseInt(_0xee41f3(0x1ea))/0xc;if(_0x4956eb===_0x593e7e)break;else _0x489c54['push'](_0x489c54['shift']());}catch(_0x30a089){_0x489c54['push'](_0x489c54['shift']());}}}(a23_0x16ba,0xa37d6));const fs=require('fs'),path=require(a23_0x4e7581(0x1fa)),{v4:uuidv4}=require(a23_0x4e7581(0x1db)),helper=require(a23_0x4e7581(0x207)),testHubConstants=require(a23_0x4e7581(0x20d));class TestDetails{static [a23_0x4e7581(0x205)]={};static [a23_0x4e7581(0x1de)]=path[a23_0x4e7581(0x1eb)](helper[a23_0x4e7581(0x20a)](),a23_0x4e7581(0x1ec),a23_0x4e7581(0x1dc)+process[a23_0x4e7581(0x1f7)][testHubConstants[a23_0x4e7581(0x1ef)][a23_0x4e7581(0x1ff)]]);static[a23_0x4e7581(0x20c)](){const _0xc10cce=a23_0x4e7581,_0x1b2142={};_0x1b2142['LIBCo']='.browserstack';const _0x37b406=_0x1b2142;this['dirPath']=path[_0xc10cce(0x1eb)](helper[_0xc10cce(0x20a)](),_0x37b406[_0xc10cce(0x1e4)],_0xc10cce(0x1dc)+process[_0xc10cce(0x1f7)][testHubConstants[_0xc10cce(0x1ef)][_0xc10cce(0x1ff)]]),this[_0xc10cce(0x1f5)]();const _0xd0efb={};_0xd0efb[_0xc10cce(0x1e1)]=!![],fs[_0xc10cce(0x1e0)](this[_0xc10cce(0x1de)],_0xd0efb);}static[a23_0x4e7581(0x1ed)](_0x36cc3c){const _0x2e9c23=a23_0x4e7581,_0x473150={};_0x473150[_0x2e9c23(0x1e8)]=function(_0x5c6e17,_0x115267){return _0x5c6e17+_0x115267;},_0x473150[_0x2e9c23(0x1f8)]=_0x2e9c23(0x1e5);const _0x190373=_0x473150;return path[_0x2e9c23(0x1eb)](this['dirPath'],_0x190373[_0x2e9c23(0x1e8)](_0x36cc3c,_0x190373[_0x2e9c23(0x1f8)]));}static[a23_0x4e7581(0x1e3)](_0x2bda14){const _0x2e112c=a23_0x4e7581,_0xd0bc5f={};_0xd0bc5f[_0x2e112c(0x1f6)]=function(_0x3b9124,_0x25b5da){return _0x3b9124+_0x25b5da;},_0xd0bc5f[_0x2e112c(0x1f0)]=function(_0x37067d,_0x524710){return _0x37067d+_0x524710;};const _0x4f2737=_0xd0bc5f;return _0x4f2737[_0x2e112c(0x1f6)](_0x4f2737[_0x2e112c(0x1f0)](_0x4f2737[_0x2e112c(0x1f6)](_0x4f2737[_0x2e112c(0x1f0)](_0x2bda14['_test'][_0x2e112c(0x1f4)],'-'),_0x2bda14[_0x2e112c(0x1df)]['id']),'-'),_0x2bda14[_0x2e112c(0x208)]);}static[a23_0x4e7581(0x1fb)](_0x4acabf){const _0x5c890a=a23_0x4e7581,_0x20610d=this[_0x5c890a(0x1ed)](_0x4acabf);if(fs[_0x5c890a(0x1f3)](_0x20610d)){const _0x16fa5e=JSON[_0x5c890a(0x206)](fs[_0x5c890a(0x1f9)](_0x20610d)[_0x5c890a(0x1fc)]());return this[_0x5c890a(0x205)][_0x4acabf]=_0x16fa5e,this['tests'][_0x4acabf][_0x5c890a(0x1db)];}}static[a23_0x4e7581(0x1f2)](_0x34ef93){const _0x4101ef=a23_0x4e7581,_0x256eae={};_0x256eae[_0x4101ef(0x1dd)]='testData.json';const _0x450617=_0x256eae,_0x12bd8f=path[_0x4101ef(0x1eb)](this[_0x4101ef(0x1de)],_0x450617['PlIyU']);fs[_0x4101ef(0x1e6)](_0x12bd8f,JSON[_0x4101ef(0x1e7)](_0x34ef93));}static[a23_0x4e7581(0x1e2)](){const _0x41dcf3=a23_0x4e7581,_0x34c9f4={};_0x34c9f4[_0x41dcf3(0x1fd)]=_0x41dcf3(0x20e);const _0xb92960=_0x34c9f4,_0x14aa3f=path[_0x41dcf3(0x1eb)](this[_0x41dcf3(0x1de)],_0xb92960[_0x41dcf3(0x1fd)]);let _0x482e0b={};try{return fs[_0x41dcf3(0x1f3)](_0x14aa3f)&&(_0x482e0b=JSON['parse'](fs[_0x41dcf3(0x1f9)](_0x14aa3f)[_0x41dcf3(0x1fc)]())),_0x482e0b;}catch(_0xe4024){return _0x482e0b;}}static[a23_0x4e7581(0x211)](_0x16d94f){const _0x7aa483=a23_0x4e7581,_0x4da79b={'vVIid':function(_0x33a2aa){return _0x33a2aa();}},_0x165d0d=this[_0x7aa483(0x1ed)](_0x16d94f);return this[_0x7aa483(0x205)][_0x16d94f]={'uuid':_0x4da79b[_0x7aa483(0x212)](uuidv4)},fs[_0x7aa483(0x1e6)](_0x165d0d,JSON[_0x7aa483(0x1e7)](this[_0x7aa483(0x205)][_0x16d94f])),this['tests'][_0x16d94f][_0x7aa483(0x1db)];}static[a23_0x4e7581(0x1fe)](_0x5df89f){const _0x4718da=a23_0x4e7581,_0x48e3cb=this[_0x4718da(0x1ed)](_0x5df89f);fs['existsSync'](_0x48e3cb)&&fs['unlinkSync'](_0x48e3cb);}static[a23_0x4e7581(0x1f5)](){const _0x3ce925=a23_0x4e7581,_0x1a8af2={};_0x1a8af2[_0x3ce925(0x1e1)]=!![],_0x1a8af2['force']=!![],fs[_0x3ce925(0x209)](this[_0x3ce925(0x1de)],_0x1a8af2);}}function a23_0x284b(_0x4b27fa,_0x14c1b3){const _0x16ba05=a23_0x16ba();return a23_0x284b=function(_0x284bf4,_0x1c20c3){_0x284bf4=_0x284bf4-0x1db;let _0x386f28=_0x16ba05[_0x284bf4];return _0x386f28;},a23_0x284b(_0x4b27fa,_0x14c1b3);}module[a23_0x4e7581(0x200)]=TestDetails;
@@ -1 +1 @@
1
- const a24_0x71bb7f=a24_0x4ace;(function(_0x2da889,_0x5631f0){const _0x2077b4=a24_0x4ace,_0x27a795=_0x2da889();while(!![]){try{const _0x2807c2=parseInt(_0x2077b4(0x160))/0x1*(parseInt(_0x2077b4(0x164))/0x2)+-parseInt(_0x2077b4(0x161))/0x3*(-parseInt(_0x2077b4(0x167))/0x4)+parseInt(_0x2077b4(0x16a))/0x5+parseInt(_0x2077b4(0x166))/0x6+parseInt(_0x2077b4(0x16c))/0x7*(parseInt(_0x2077b4(0x162))/0x8)+parseInt(_0x2077b4(0x168))/0x9*(parseInt(_0x2077b4(0x16e))/0xa)+-parseInt(_0x2077b4(0x169))/0xb;if(_0x2807c2===_0x5631f0)break;else _0x27a795['push'](_0x27a795['shift']());}catch(_0x24d5b8){_0x27a795['push'](_0x27a795['shift']());}}}(a24_0x5157,0x7aa9f));function a24_0x4ace(_0x6c4f90,_0x4ec294){const _0x515733=a24_0x5157();return a24_0x4ace=function(_0x4acef3,_0x22fd16){_0x4acef3=_0x4acef3-0x160;let _0x5b7e64=_0x515733[_0x4acef3];return _0x5b7e64;},a24_0x4ace(_0x6c4f90,_0x4ec294);}function a24_0x5157(){const _0xc4b7c7=['3032508UxSIMH','27ENgymJ','21141670eRvvNp','1084970mmshxa','selenium-webdriver','98pBmOYe','../../helpers/setKeepAlive','1445830OEAheB','__webdriver','63WUNoGn','3iRcLpr','485176NJTeaW','../../helpers/helper','2904OndFxC','keys','449982gJbztg'];a24_0x5157=function(){return _0xc4b7c7;};return a24_0x5157();}const {requireModule}=require(a24_0x71bb7f(0x163));require(a24_0x71bb7f(0x16d))();const __wd__=requireModule(a24_0x71bb7f(0x16b));for(const key of Object[a24_0x71bb7f(0x165)](global[a24_0x71bb7f(0x16f)])){__wd__[key]=global[a24_0x71bb7f(0x16f)][key];}
1
+ function a24_0x31e0(){const _0x1df7a8=['1709095YYlEDj','keys','3RwiVuG','../../helpers/helper','596956XUMukX','__webdriver','165UnOGLz','194370MCOdVL','6sZfwaz','../../helpers/setKeepAlive','83552EIAPyf','872648SOBOAE','544404TnKBRN','118334oMPdvt','18rwIkOi','6evSyNP'];a24_0x31e0=function(){return _0x1df7a8;};return a24_0x31e0();}const a24_0x50a904=a24_0x211c;(function(_0x53f63d,_0x2c707c){const _0x4cdc26=a24_0x211c,_0x3db988=_0x53f63d();while(!![]){try{const _0x1709a1=parseInt(_0x4cdc26(0xa4))/0x1*(parseInt(_0x4cdc26(0x9f))/0x2)+-parseInt(_0x4cdc26(0xaa))/0x3*(-parseInt(_0x4cdc26(0xa6))/0x4)+parseInt(_0x4cdc26(0xa2))/0x5*(-parseInt(_0x4cdc26(0xa1))/0x6)+parseInt(_0x4cdc26(0xac))/0x7+parseInt(_0x4cdc26(0xad))/0x8*(-parseInt(_0x4cdc26(0xa0))/0x9)+-parseInt(_0x4cdc26(0xa9))/0xa*(-parseInt(_0x4cdc26(0xa8))/0xb)+-parseInt(_0x4cdc26(0x9e))/0xc;if(_0x1709a1===_0x2c707c)break;else _0x3db988['push'](_0x3db988['shift']());}catch(_0x4ca840){_0x3db988['push'](_0x3db988['shift']());}}}(a24_0x31e0,0x2a82a));const {requireModule}=require(a24_0x50a904(0xa5));function a24_0x211c(_0x4fe02c,_0x2ebe99){const _0x31e057=a24_0x31e0();return a24_0x211c=function(_0x211c5a,_0x12d8c0){_0x211c5a=_0x211c5a-0x9e;let _0x4d5b93=_0x31e057[_0x211c5a];return _0x4d5b93;},a24_0x211c(_0x4fe02c,_0x2ebe99);}require(a24_0x50a904(0xab))();const __wd__=requireModule('selenium-webdriver');for(const key of Object[a24_0x50a904(0xa3)](global[a24_0x50a904(0xa7)])){__wd__[key]=global[a24_0x50a904(0xa7)][key];}
@@ -1 +1 @@
1
- const a25_0x3ba61d=a25_0x42ad;function a25_0xda3f(){const _0x379462=['832491JmfTmU','_bsConfig','_configuration','3998104kNilbX','mochaOpts','../../helpers/test-observability/utils','60940sRidMR','totalTests','path','formatter','testSuitesFailed','configuration','291996FDFKqV','zELBF','YTyLN','setFramework','CdWlB','split','platformCaps','../utils/constants','../../helpers/test-observability/requestQueueHandler','__platformCaps','159pshLav','_framework','../../helpers/accessibility-automation/helper','../../helpers/ai-sdk/autoHealHelper','__platform__','testsPending','testsAmbiguous','1856uTDGeb','25046ahaToN','testsErrorMessage','_formatter','setupCucumber','108NMjBsw','_argv','AI_ENABLED_FRAMEWORK','framework','capability','testsUndefined','../../helpers/helper','3096933kgzbWU','testsSkipped','testSuites','_mochaOpts'];a25_0xda3f=function(){return _0x379462;};return a25_0xda3f();}function a25_0x42ad(_0x270fba,_0x3a2a63){const _0xda3fc3=a25_0xda3f();return a25_0x42ad=function(_0x42adfe,_0x452a98){_0x42adfe=_0x42adfe-0x13b;let _0x50ad78=_0xda3fc3[_0x42adfe];return _0x50ad78;},a25_0x42ad(_0x270fba,_0x3a2a63);}(function(_0x4b0cf0,_0x45afaa){const _0x1979fe=a25_0x42ad,_0x48aed8=_0x4b0cf0();while(!![]){try{const _0x286485=parseInt(_0x1979fe(0x163))/0x1+-parseInt(_0x1979fe(0x164))/0x2*(-parseInt(_0x1979fe(0x15c))/0x3)+-parseInt(_0x1979fe(0x152))/0x4+-parseInt(_0x1979fe(0x14c))/0x5*(parseInt(_0x1979fe(0x13b))/0x6)+parseInt(_0x1979fe(0x142))/0x7+-parseInt(_0x1979fe(0x149))/0x8+parseInt(_0x1979fe(0x146))/0x9;if(_0x286485===_0x45afaa)break;else _0x48aed8['push'](_0x48aed8['shift']());}catch(_0xf8168){_0x48aed8['push'](_0x48aed8['shift']());}}}(a25_0xda3f,0x63b1b));const path=require(a25_0x3ba61d(0x14e)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x3ba61d(0x141)),constants=require(a25_0x3ba61d(0x159)),{isAccessibilityAutomationSession}=require(a25_0x3ba61d(0x15e)),RequestQueueHandler=require(a25_0x3ba61d(0x15a)),{isTestObservabilitySession}=require(a25_0x3ba61d(0x14b)),helper=require(a25_0x3ba61d(0x141)),{commandRepository}=require(a25_0x3ba61d(0x15f));class Launcher{constructor(_0x8c26f2,_0x35807f,_0x5abae0,_0x35f64b=[]){const _0x357cd1=a25_0x3ba61d,_0x44b830={'CdWlB':'16|23|5|4|22|19|3|12|20|7|21|1|8|17|11|0|2|15|13|10|14|9|18|6','zELBF':function(_0x5edbf9){return _0x5edbf9();},'YTyLN':function(_0xd1553c){return _0xd1553c();}},_0x2ec773=_0x44b830[_0x357cd1(0x156)][_0x357cd1(0x157)]('|');let _0x535e47=0x0;while(!![]){switch(_0x2ec773[_0x535e47++]){case'0':global['testsFailed']=0x0;continue;case'1':global[_0x357cd1(0x15b)]=this['_configuration'][_0x357cd1(0x158)]||{};continue;case'2':global[_0x357cd1(0x161)]=0x0;continue;case'3':global[_0x357cd1(0x160)]=this[_0x357cd1(0x148)]['platform'];continue;case'4':this[_0x357cd1(0x145)]=_0x35807f[_0x357cd1(0x14a)];continue;case'5':this[_0x357cd1(0x148)][_0x357cd1(0x13e)]=_0x8c26f2;continue;case'6':!constants[_0x357cd1(0x13d)]['includes'](_0x8c26f2)&&(commandRepository['setConfig'](_0x5abae0),commandRepository[_0x357cd1(0x155)](_0x8c26f2));continue;case'7':this['_testObservability']=_0x44b830[_0x357cd1(0x153)](isTestObservabilitySession);continue;case'8':global[_0x357cd1(0x144)]=0x0;continue;case'9':global[_0x357cd1(0x162)]=0x0;continue;case'10':global[_0x357cd1(0x140)]=0x0;continue;case'11':global['testsPassed']=0x0;continue;case'12':this[_0x357cd1(0x13c)]=_0x35f64b;continue;case'13':global[_0x357cd1(0x150)]=0x0;continue;case'14':global['testsUnknown']=0x0;continue;case'15':global[_0x357cd1(0x143)]=0x0;continue;case'16':this[_0x357cd1(0x15d)]=_0x8c26f2;continue;case'17':global[_0x357cd1(0x14d)]=0x0;continue;case'18':global[_0x357cd1(0x165)]={};continue;case'19':this['_capability']=this[_0x357cd1(0x148)][_0x357cd1(0x13f)];continue;case'20':this[_0x357cd1(0x147)]=_0x5abae0;continue;case'21':this['_accessibilityAutomation']=_0x44b830[_0x357cd1(0x154)](isAccessibilityAutomationSession);continue;case'22':this[_0x357cd1(0x166)]=_0x35807f[_0x357cd1(0x14f)];continue;case'23':this[_0x357cd1(0x148)]=_0x35807f[_0x357cd1(0x151)]||{};continue;}break;}}[a25_0x3ba61d(0x167)](_0x2a8790,_0x15888c,_0x2919bc){const _0x561891=_0x2a8790['resolvePaths'];_0x2a8790.resolvePaths=async function(){const pathResults=await _0x561891.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x2919bc));return pathResults;},_0x15888c.push('--format'),_0x15888c.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}const plugins=await mochaRunHelper.handleRequires(this._mochaOpts.require);Object.assign(this._mochaOpts,plugins);if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={...this._mochaOpts,reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),reporterOption:{...this._mochaOpts.reporterOptions,type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig},parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout};global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);process.env.BSTACK_CONFIG=JSON.stringify(this._bsConfig);cucumber.run().then(async output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};await RequestQueueHandler.getInstance().shutdown();resolve(_results);}).catch(async er=>{await RequestQueueHandler.getInstance().shutdown();reject(er);});}else if(this._framework==='vanilla'){process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}module.exports=Launcher;
1
+ function a25_0x2513(){const _0x5589ce=['_testObservability','22555IEBYFs','testsUndefined','mochaOpts','../../helpers/accessibility-automation/helper','../../helpers/ai-sdk/autoHealHelper','../utils/constants','95OCKnMd','testsErrorMessage','setupCucumber','testsAmbiguous','formatter','10|6|5|8|7|12|21|16|4|23|14|20|19|13|9|0|15|22|3|18|1|2|11|17','30638XZnLBB','_framework','__platform__','_bsConfig','totalTests','platform','3HBSSJw','7194770zZcRlS','1886823HjQrCV','1842144JqBvJr','configuration','../../helpers/test-observability/utils','_configuration','testSuites','capability','testsPassed','63388usXkgA','AI_ENABLED_FRAMEWORK','_mochaOpts','path','../../helpers/helper','20279mdtTHH','includes','setConfig','resolvePaths','bvtsk','_formatter','_argv','testsUnknown','378WDsaZo','platformCaps','framework','../../helpers/test-observability/requestQueueHandler','setFramework'];a25_0x2513=function(){return _0x5589ce;};return a25_0x2513();}const a25_0x522d4a=a25_0x267e;(function(_0x39d4b7,_0x5bc783){const _0x5ce100=a25_0x267e,_0x1db14f=_0x39d4b7();while(!![]){try{const _0x582812=-parseInt(_0x5ce100(0x139))/0x1+-parseInt(_0x5ce100(0x145))/0x2*(parseInt(_0x5ce100(0x11c))/0x3)+parseInt(_0x5ce100(0x126))/0x4*(parseInt(_0x5ce100(0x13f))/0x5)+parseInt(_0x5ce100(0x133))/0x6*(parseInt(_0x5ce100(0x12b))/0x7)+parseInt(_0x5ce100(0x11f))/0x8+parseInt(_0x5ce100(0x11e))/0x9+-parseInt(_0x5ce100(0x11d))/0xa;if(_0x582812===_0x5bc783)break;else _0x1db14f['push'](_0x1db14f['shift']());}catch(_0x198c31){_0x1db14f['push'](_0x1db14f['shift']());}}}(a25_0x2513,0x28918));const path=require(a25_0x522d4a(0x129)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x522d4a(0x12a)),constants=require(a25_0x522d4a(0x13e)),{isAccessibilityAutomationSession}=require(a25_0x522d4a(0x13c)),RequestQueueHandler=require(a25_0x522d4a(0x136)),{isTestObservabilitySession}=require(a25_0x522d4a(0x121)),helper=require(a25_0x522d4a(0x12a)),{commandRepository}=require(a25_0x522d4a(0x13d));class Launcher{constructor(_0x3aea52,_0xb62e26,_0x5e3999,_0x5724ff=[]){const _0x1bc568=a25_0x522d4a,_0x522e63={'CbrMI':_0x1bc568(0x144),'bvtsk':function(_0x37a757){return _0x37a757();}},_0x4955d3=_0x522e63['CbrMI']['split']('|');let _0x4d8072=0x0;while(!![]){switch(_0x4955d3[_0x4d8072++]){case'0':global['testsFailed']=0x0;continue;case'1':global[_0x1bc568(0x132)]=0x0;continue;case'2':global[_0x1bc568(0x142)]=0x0;continue;case'3':global['testSuitesFailed']=0x0;continue;case'4':this[_0x1bc568(0x148)]=_0x5e3999;continue;case'5':this[_0x1bc568(0x122)][_0x1bc568(0x135)]=_0x3aea52;continue;case'6':this[_0x1bc568(0x122)]=_0xb62e26[_0x1bc568(0x120)]||{};continue;case'7':this[_0x1bc568(0x130)]=_0xb62e26[_0x1bc568(0x143)];continue;case'8':this[_0x1bc568(0x128)]=_0xb62e26[_0x1bc568(0x13b)];continue;case'9':global[_0x1bc568(0x125)]=0x0;continue;case'10':this[_0x1bc568(0x146)]=_0x3aea52;continue;case'11':global[_0x1bc568(0x140)]={};continue;case'12':this['_capability']=this[_0x1bc568(0x122)][_0x1bc568(0x124)];continue;case'13':global[_0x1bc568(0x11a)]=0x0;continue;case'14':this['_accessibilityAutomation']=_0x522e63[_0x1bc568(0x12f)](isAccessibilityAutomationSession);continue;case'15':global['testsPending']=0x0;continue;case'16':this[_0x1bc568(0x131)]=_0x5724ff;continue;case'17':!constants[_0x1bc568(0x127)][_0x1bc568(0x12c)](_0x3aea52)&&(commandRepository[_0x1bc568(0x12d)](_0x5e3999),commandRepository[_0x1bc568(0x137)](_0x3aea52));continue;case'18':global[_0x1bc568(0x13a)]=0x0;continue;case'19':global[_0x1bc568(0x123)]=0x0;continue;case'20':global['__platformCaps']=this['_configuration'][_0x1bc568(0x134)]||{};continue;case'21':global[_0x1bc568(0x147)]=this['_configuration'][_0x1bc568(0x11b)];continue;case'22':global['testsSkipped']=0x0;continue;case'23':this[_0x1bc568(0x138)]=_0x522e63[_0x1bc568(0x12f)](isTestObservabilitySession);continue;}break;}}[a25_0x522d4a(0x141)](_0x5d3440,_0x48924b,_0x3f0d24){const _0x2d1f3c=a25_0x522d4a,_0x2b52e8=_0x5d3440[_0x2d1f3c(0x12e)];_0x5d3440.resolvePaths=async function(){const pathResults=await _0x2b52e8.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x3f0d24));return pathResults;},_0x48924b.push('--format'),_0x48924b.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}const plugins=await mochaRunHelper.handleRequires(this._mochaOpts.require);Object.assign(this._mochaOpts,plugins);if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={...this._mochaOpts,reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),reporterOption:{...this._mochaOpts.reporterOptions,type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig},parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout};global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);process.env.BSTACK_CONFIG=JSON.stringify(this._bsConfig);cucumber.run().then(async output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};await RequestQueueHandler.getInstance().shutdown();resolve(_results);}).catch(async er=>{await RequestQueueHandler.getInstance().shutdown();reject(er);});}else if(this._framework==='vanilla'){process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}function a25_0x267e(_0x1ccabf,_0x4b4d79){const _0x251364=a25_0x2513();return a25_0x267e=function(_0x267e8b,_0x1cde6a){_0x267e8b=_0x267e8b-0x11a;let _0x1219be=_0x251364[_0x267e8b];return _0x1219be;},a25_0x267e(_0x1ccabf,_0x4b4d79);}module.exports=Launcher;
@@ -1 +1 @@
1
- function a26_0x1390(_0x8af6c4,_0x818f4f){const _0x782953=a26_0x7829();return a26_0x1390=function(_0x13900d,_0x34671e){_0x13900d=_0x13900d-0x90;let _0x10f4e4=_0x782953[_0x13900d];return _0x10f4e4;},a26_0x1390(_0x8af6c4,_0x818f4f);}const a26_0x5c57df=a26_0x1390;(function(_0x2d14ee,_0x2604eb){const _0x94aef8=a26_0x1390,_0x43c679=_0x2d14ee();while(!![]){try{const _0x24e395=parseInt(_0x94aef8(0xa4))/0x1*(parseInt(_0x94aef8(0xc0))/0x2)+parseInt(_0x94aef8(0x9f))/0x3+-parseInt(_0x94aef8(0xb6))/0x4+-parseInt(_0x94aef8(0x9a))/0x5+-parseInt(_0x94aef8(0xc2))/0x6+parseInt(_0x94aef8(0x9e))/0x7*(-parseInt(_0x94aef8(0xad))/0x8)+-parseInt(_0x94aef8(0xde))/0x9*(-parseInt(_0x94aef8(0xa7))/0xa);if(_0x24e395===_0x2604eb)break;else _0x43c679['push'](_0x43c679['shift']());}catch(_0x16c0ec){_0x43c679['push'](_0x43c679['shift']());}}}(a26_0x7829,0x3ce91));const path=require('path'),os=require('os'),util=require(a26_0x5c57df(0xe0)),bsSetupHelper=require(a26_0x5c57df(0xab)),globals=require(a26_0x5c57df(0xdb)),logger=require(a26_0x5c57df(0xce))[a26_0x5c57df(0x92)];function a26_0x7829(){const _0x28d4ba=['__cloud_provider___','args','setGlobal','capabilities_','24TJcGsk','authToken','1619298TAiMBj','pKNYZ','Options','debug','--headless','includes','yhBtW','setExtension','latest','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','isAccessibilityPlatform','../../../helpers/logger','browser_version','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getBrowserVersion','capability','iNaTI','browserName','upSwu','fetchPlatformDetails','getCapabilities','browserstack.accessibilityOptions','getPlatform','selenium-webdriver/chrome.js','../../../helpers/globals','BS_A11Y_JWT','JEXTu','9vdLPrR','toLowerCase','util','get','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','winstonLogger','Exception\x20in\x20setExtension\x20Error:\x20','LEaRo','getBrowserName','requireModule','YRyQW','env','chromeOptions','2055385TMMeio','OFIUy','bstack:options','KCWWj','4207mJPPDh','77367rTRWiB','warn','chromeOptions_','chrome','XhKLz','18861SNdUQj','accessibility','XwmJc','10717180fVSVCu','accessibilityOptions','DhefA','deviceName','../../../helpers/helper','rnMcu','4328qgNSBc','parse','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','wCQoV','TMHFM','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','getPlatformVersion','browserVersion','cAlMB','272996Behkhb','SlcDd','scannerVersion','nfKnS','nestedKeyValue','browserstack.accessibility'];a26_0x7829=function(){return _0x28d4ba;};return a26_0x7829();}exports['setAccessibilityCapabilities']=_0x1aa0de=>{const _0x459609=a26_0x5c57df,_0x3f7bbb={};_0x3f7bbb[_0x459609(0xdd)]=_0x459609(0x9c),_0x3f7bbb[_0x459609(0xb9)]=_0x459609(0xbb),_0x3f7bbb[_0x459609(0xa6)]=_0x459609(0xcd),_0x3f7bbb['upSwu']=_0x459609(0xd8);const _0x2713e4=_0x3f7bbb;try{const _0x49831c=_0x1aa0de[_0x459609(0xd2)]||{};if(_0x49831c[_0x2713e4['JEXTu']]&&_0x49831c[_0x2713e4[_0x459609(0xdd)]][_0x459609(0xa5)]||_0x1aa0de[_0x459609(0xd2)][_0x2713e4[_0x459609(0xb9)]]){globals[_0x459609(0xbe)](_0x2713e4[_0x459609(0xa6)],!![]);if(_0x49831c[_0x2713e4[_0x459609(0xdd)]]){if(_0x49831c[_0x2713e4[_0x459609(0xdd)]][_0x459609(0xa8)])_0x49831c[_0x2713e4[_0x459609(0xdd)]][_0x459609(0xa8)]['authToken']=process['env']['BS_A11Y_JWT'];else{const _0x3351e3={};_0x3351e3[_0x459609(0xc1)]=process[_0x459609(0x98)][_0x459609(0xdc)],_0x49831c[_0x2713e4[_0x459609(0xdd)]][_0x459609(0xa8)]=_0x3351e3;}_0x49831c[_0x2713e4[_0x459609(0xdd)]][_0x459609(0xa8)][_0x459609(0xb8)]=JSON[_0x459609(0xae)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x459609(0xb8)];}else{if(_0x1aa0de[_0x459609(0xd2)][_0x2713e4[_0x459609(0xb9)]]){if(_0x49831c[_0x2713e4[_0x459609(0xd5)]])_0x49831c[_0x2713e4['upSwu']][_0x459609(0xc1)]=process[_0x459609(0x98)][_0x459609(0xdc)];else{const _0x1fbaf4={};_0x1fbaf4['authToken']=process[_0x459609(0x98)]['BS_A11Y_JWT'],_0x49831c[_0x2713e4[_0x459609(0xd5)]]=_0x1fbaf4;}_0x49831c[_0x2713e4[_0x459609(0xd5)]][_0x459609(0xb8)]=JSON['parse'](process[_0x459609(0x98)][_0x459609(0xd0)])['scannerVersion'];}}}}catch(_0x3e3a90){logger['debug'](_0x459609(0xaf)+_0x3e3a90);}},exports[a26_0x5c57df(0xc9)]=(_0x265809,_0x3c1b24)=>{const _0x4957ec=a26_0x5c57df,_0x4e0789={};_0x4e0789[_0x4957ec(0xa3)]=_0x4957ec(0x9c),_0x4e0789['sZWtf']=function(_0x5c066b,_0x3e9577){return _0x5c066b!==_0x3e9577;},_0x4e0789[_0x4957ec(0xc3)]=_0x4957ec(0xb2),_0x4e0789['fPJNt']=_0x4957ec(0xa2),_0x4e0789['JZSfA']=_0x4957ec(0xcc),_0x4e0789[_0x4957ec(0xb1)]=function(_0x2eeafc,_0x24cfe7){return _0x2eeafc===_0x24cfe7;},_0x4e0789[_0x4957ec(0xb0)]=_0x4957ec(0xca),_0x4e0789[_0x4957ec(0xb7)]=function(_0x237dee,_0x279523){return _0x237dee>_0x279523;},_0x4e0789[_0x4957ec(0xac)]=_0x4957ec(0x91),_0x4e0789[_0x4957ec(0xb5)]=_0x4957ec(0xda),_0x4e0789['LEaRo']='options_',_0x4e0789[_0x4957ec(0x97)]=_0x4957ec(0xbd),_0x4e0789[_0x4957ec(0xd3)]=_0x4957ec(0x99),_0x4e0789[_0x4957ec(0xc8)]=_0x4957ec(0xc6),_0x4e0789['KCWWj']='Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.';const _0x476047=_0x4e0789;try{const _0x137ef3=_0x3c1b24[_0x4957ec(0xd2)]||{},_0x34cbcb=(_0x137ef3[_0x476047[_0x4957ec(0xa3)]]?_0x137ef3[_0x476047[_0x4957ec(0xa3)]][_0x4957ec(0xaa)]:_0x137ef3['device'])||'';if(_0x476047['sZWtf'](_0x34cbcb,''))return logger[_0x4957ec(0xa0)](_0x476047[_0x4957ec(0xc3)]),![];const _0xaa9969=_0x137ef3[_0x4957ec(0xd4)]||_0x265809[_0x4957ec(0xbf)][_0x4957ec(0x95)]();if(_0x476047['sZWtf'](_0xaa9969[_0x4957ec(0xdf)](),_0x476047['fPJNt']))return logger[_0x4957ec(0xa0)](_0x476047['JZSfA']),![];const _0x1bcf2d=_0x137ef3[_0x4957ec(0xb4)]||_0x137ef3[_0x4957ec(0xcf)]||_0x265809[_0x4957ec(0xbf)]['getBrowserVersion']();if(!bsSetupHelper['isUndefined'](_0x1bcf2d)&&!(_0x476047[_0x4957ec(0xb1)](_0x1bcf2d,_0x476047['wCQoV'])||_0x476047[_0x4957ec(0xb7)](_0x1bcf2d,0x5e)))return logger[_0x4957ec(0xa0)](_0x476047['rnMcu']),![];let _0xdec4e9;try{_0xdec4e9=bsSetupHelper[_0x4957ec(0x96)](_0x476047[_0x4957ec(0xb5)]);}catch(_0x263947){return![];}const _0x43834e=new _0xdec4e9[(_0x4957ec(0xc4))](_0x265809[_0x4957ec(0xa1)]),_0x445614=bsSetupHelper['nestedKeyValue'](_0x43834e,[_0x476047[_0x4957ec(0x94)],_0x476047[_0x4957ec(0x97)]])||bsSetupHelper['nestedKeyValue'](_0x265809[_0x4957ec(0xbf)][_0x4957ec(0x90)](_0x476047[_0x4957ec(0xa3)]),[_0x476047[_0x4957ec(0xd3)],_0x476047[_0x4957ec(0x97)]])||bsSetupHelper[_0x4957ec(0xba)](_0x265809[_0x4957ec(0xbf)][_0x4957ec(0x90)](_0x476047[_0x4957ec(0xd3)]),[_0x476047['YRyQW']])||[];if(_0x445614[_0x4957ec(0xc7)](_0x476047[_0x4957ec(0xc8)]))return logger[_0x4957ec(0xa0)](_0x476047[_0x4957ec(0x9d)]),![];return!![];}catch(_0x3a4aa6){logger[_0x4957ec(0xc5)](_0x4957ec(0x93)+util['format'](_0x3a4aa6));}return![];},exports[a26_0x5c57df(0xd6)]=async _0x5a2e79=>{const _0x4bcb29=a26_0x5c57df,_0x13b91c={};_0x13b91c['OFIUy']=function(_0x1d884e,_0x542234){return _0x1d884e===_0x542234;},_0x13b91c[_0x4bcb29(0xa9)]='browserstack';const _0x2b8091=_0x13b91c;let _0x1ce8c9={};try{const _0x1084fc=await _0x5a2e79[_0x4bcb29(0xd7)]();_0x1ce8c9={'os_name':_0x1084fc[_0x4bcb29(0xd9)](),'os_version':bsSetupHelper[_0x4bcb29(0xb3)](_0x2b8091[_0x4bcb29(0x9b)](global[_0x4bcb29(0xbc)],_0x2b8091[_0x4bcb29(0xa9)])),'browser_name':_0x1084fc[_0x4bcb29(0x95)](),'browser_version':_0x1084fc[_0x4bcb29(0xd1)]()};}catch(_0xadbfd7){logger[_0x4bcb29(0xc5)](_0x4bcb29(0xcb)+_0xadbfd7);}return _0x1ce8c9;};
1
+ const a26_0x4a8371=a26_0x5515;(function(_0x19834d,_0x2efc66){const _0x18ca17=a26_0x5515,_0x51ef9b=_0x19834d();while(!![]){try{const _0x372765=-parseInt(_0x18ca17(0x1f7))/0x1*(-parseInt(_0x18ca17(0x1eb))/0x2)+parseInt(_0x18ca17(0x1d8))/0x3+-parseInt(_0x18ca17(0x1da))/0x4*(-parseInt(_0x18ca17(0x1f4))/0x5)+parseInt(_0x18ca17(0x1fd))/0x6*(-parseInt(_0x18ca17(0x1d9))/0x7)+parseInt(_0x18ca17(0x1e9))/0x8+-parseInt(_0x18ca17(0x210))/0x9+-parseInt(_0x18ca17(0x1e4))/0xa;if(_0x372765===_0x2efc66)break;else _0x51ef9b['push'](_0x51ef9b['shift']());}catch(_0x4ced85){_0x51ef9b['push'](_0x51ef9b['shift']());}}}(a26_0x14b8,0xe3af7));const path=require(a26_0x4a8371(0x1e3)),os=require('os'),util=require(a26_0x4a8371(0x1ec)),bsSetupHelper=require(a26_0x4a8371(0x20d)),globals=require(a26_0x4a8371(0x1c5)),logger=require(a26_0x4a8371(0x1fa))[a26_0x4a8371(0x205)];function a26_0x5515(_0x209b15,_0xb3c583){const _0x14b872=a26_0x14b8();return a26_0x5515=function(_0x5515af,_0x4884ab){_0x5515af=_0x5515af-0x1c2;let _0x14f9dd=_0x14b872[_0x5515af];return _0x14f9dd;},a26_0x5515(_0x209b15,_0xb3c583);}function a26_0x14b8(){const _0x40b5f8=['8079704ceZpVY','capabilities_','70AsrQgO','util','latest','authToken','EBoAJ','exVvc','IFVcf','requireModule','chromeOptions','124715zUJXdH','PFAeS','browserVersion','28535VtSTGg','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','options_','../../../helpers/logger','PaOZx','OADdu','6aYWtEb','bstack:options','chromeOptions_','warn','browserstack','getBrowserName','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','chrome','winstonLogger','Exception\x20in\x20setExtension\x20Error:\x20','args','DjQDC','dFpga','debug','parse','nestedKeyValue','../../../helpers/helper','browserstack.accessibility','OyJit','7332192ZuUkAB','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','--headless','deviceName','vsaDI','vzjJK','../../../helpers/globals','accessibilityOptions','browserName','WqFvc','aZSBl','wmQEO','selenium-webdriver/chrome.js','isAccessibilityPlatform','browserstack.accessibilityOptions','eLRhx','env','wgUMW','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','isUndefined','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','VraQd','format','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','scannerVersion','4245369rqBWTe','2102114OFFsCo','4ddkEkp','__cloud_provider___','getPlatform','Options','getBrowserVersion','BS_A11Y_JWT','setGlobal','setExtension','fetchPlatformDetails','path','14011650IHekvX','duBCG','capability','device','dwtKG'];a26_0x14b8=function(){return _0x40b5f8;};return a26_0x14b8();}exports['setAccessibilityCapabilities']=_0x5bad58=>{const _0x5d58e1=a26_0x4a8371,_0x5ef608={};_0x5ef608[_0x5d58e1(0x1c8)]=_0x5d58e1(0x1fe),_0x5ef608[_0x5d58e1(0x1c3)]=_0x5d58e1(0x20e),_0x5ef608[_0x5d58e1(0x20f)]=_0x5d58e1(0x1cc),_0x5ef608[_0x5d58e1(0x1ce)]=_0x5d58e1(0x1cd);const _0x174ff4=_0x5ef608;try{const _0x55cf64=_0x5bad58['capability']||{};if(_0x55cf64[_0x174ff4[_0x5d58e1(0x1c8)]]&&_0x55cf64[_0x174ff4[_0x5d58e1(0x1c8)]]['accessibility']||_0x5bad58[_0x5d58e1(0x1e6)][_0x174ff4['vsaDI']]){globals[_0x5d58e1(0x1e0)](_0x174ff4[_0x5d58e1(0x20f)],!![]);if(_0x55cf64[_0x174ff4['WqFvc']]){if(_0x55cf64[_0x174ff4[_0x5d58e1(0x1c8)]][_0x5d58e1(0x1c6)])_0x55cf64[_0x174ff4[_0x5d58e1(0x1c8)]][_0x5d58e1(0x1c6)][_0x5d58e1(0x1ee)]=process[_0x5d58e1(0x1cf)][_0x5d58e1(0x1df)];else{const _0x5bc7ea={};_0x5bc7ea[_0x5d58e1(0x1ee)]=process['env']['BS_A11Y_JWT'],_0x55cf64[_0x174ff4[_0x5d58e1(0x1c8)]][_0x5d58e1(0x1c6)]=_0x5bc7ea;}_0x55cf64[_0x174ff4[_0x5d58e1(0x1c8)]][_0x5d58e1(0x1c6)][_0x5d58e1(0x1d7)]=JSON[_0x5d58e1(0x20b)](process[_0x5d58e1(0x1cf)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x5d58e1(0x1d7)];}else{if(_0x5bad58[_0x5d58e1(0x1e6)][_0x174ff4[_0x5d58e1(0x1c3)]]){if(_0x55cf64[_0x174ff4[_0x5d58e1(0x1ce)]])_0x55cf64[_0x174ff4[_0x5d58e1(0x1ce)]]['authToken']=process[_0x5d58e1(0x1cf)][_0x5d58e1(0x1df)];else{const _0x234b90={};_0x234b90[_0x5d58e1(0x1ee)]=process[_0x5d58e1(0x1cf)]['BS_A11Y_JWT'],_0x55cf64[_0x174ff4[_0x5d58e1(0x1ce)]]=_0x234b90;}_0x55cf64[_0x174ff4[_0x5d58e1(0x1ce)]][_0x5d58e1(0x1d7)]=JSON['parse'](process['env'][_0x5d58e1(0x1d6)])[_0x5d58e1(0x1d7)];}}}}catch(_0x1997e9){logger[_0x5d58e1(0x20a)](_0x5d58e1(0x1f8)+_0x1997e9);}},exports[a26_0x4a8371(0x1e1)]=(_0x249ef5,_0x5e6231)=>{const _0x566e08=a26_0x4a8371,_0x976d3e={};_0x976d3e['duBCG']=_0x566e08(0x1fe),_0x976d3e['wmQEO']=function(_0x40bd55,_0x37a6c6){return _0x40bd55!==_0x37a6c6;},_0x976d3e[_0x566e08(0x1fb)]=_0x566e08(0x1d1),_0x976d3e[_0x566e08(0x1e8)]=_0x566e08(0x204),_0x976d3e[_0x566e08(0x1d4)]=_0x566e08(0x211),_0x976d3e[_0x566e08(0x208)]=function(_0x8c17d3,_0x256dc7){return _0x8c17d3===_0x256dc7;},_0x976d3e['wgUMW']=_0x566e08(0x1ed),_0x976d3e[_0x566e08(0x1f5)]=function(_0x5ca394,_0x1ef46f){return _0x5ca394>_0x1ef46f;},_0x976d3e['cgmDQ']=_0x566e08(0x1d3),_0x976d3e[_0x566e08(0x1f0)]=_0x566e08(0x1cb),_0x976d3e[_0x566e08(0x1f1)]=_0x566e08(0x1f9),_0x976d3e[_0x566e08(0x1c4)]=_0x566e08(0x207),_0x976d3e[_0x566e08(0x209)]=_0x566e08(0x1f3),_0x976d3e[_0x566e08(0x1ef)]=_0x566e08(0x212),_0x976d3e[_0x566e08(0x1c9)]='Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.';const _0x25a6fc=_0x976d3e;try{const _0x2e64bb=_0x5e6231[_0x566e08(0x1e6)]||{},_0x45e5b9=(_0x2e64bb[_0x25a6fc[_0x566e08(0x1e5)]]?_0x2e64bb[_0x25a6fc[_0x566e08(0x1e5)]][_0x566e08(0x1c2)]:_0x2e64bb[_0x566e08(0x1e7)])||'';if(_0x25a6fc[_0x566e08(0x1ca)](_0x45e5b9,''))return logger[_0x566e08(0x200)](_0x25a6fc['PaOZx']),![];const _0x58b4da=_0x2e64bb[_0x566e08(0x1c7)]||_0x249ef5['capabilities_'][_0x566e08(0x202)]();if(_0x25a6fc[_0x566e08(0x1ca)](_0x58b4da['toLowerCase'](),_0x25a6fc[_0x566e08(0x1e8)]))return logger[_0x566e08(0x200)](_0x25a6fc[_0x566e08(0x1d4)]),![];const _0x3f875e=_0x2e64bb[_0x566e08(0x1f6)]||_0x2e64bb['browser_version']||_0x249ef5[_0x566e08(0x1ea)]['getBrowserVersion']();if(!bsSetupHelper[_0x566e08(0x1d2)](_0x3f875e)&&!(_0x25a6fc[_0x566e08(0x208)](_0x3f875e,_0x25a6fc[_0x566e08(0x1d0)])||_0x25a6fc[_0x566e08(0x1f5)](_0x3f875e,0x5e)))return logger['warn'](_0x25a6fc['cgmDQ']),![];let _0x465dc8;try{_0x465dc8=bsSetupHelper[_0x566e08(0x1f2)](_0x25a6fc[_0x566e08(0x1f0)]);}catch(_0x21a9a0){return![];}const _0x281ab0=new _0x465dc8[(_0x566e08(0x1dd))](_0x249ef5[_0x566e08(0x1ff)]),_0x2db084=bsSetupHelper[_0x566e08(0x20c)](_0x281ab0,[_0x25a6fc[_0x566e08(0x1f1)],_0x25a6fc[_0x566e08(0x1c4)]])||bsSetupHelper[_0x566e08(0x20c)](_0x249ef5['capabilities_']['get'](_0x25a6fc[_0x566e08(0x1e5)]),[_0x25a6fc[_0x566e08(0x209)],_0x25a6fc[_0x566e08(0x1c4)]])||bsSetupHelper[_0x566e08(0x20c)](_0x249ef5['capabilities_']['get'](_0x25a6fc['dFpga']),[_0x25a6fc['vzjJK']])||[];if(_0x2db084['includes'](_0x25a6fc['EBoAJ']))return logger[_0x566e08(0x200)](_0x25a6fc[_0x566e08(0x1c9)]),![];return!![];}catch(_0x10c0fe){logger[_0x566e08(0x20a)](_0x566e08(0x206)+util[_0x566e08(0x1d5)](_0x10c0fe));}return![];},exports[a26_0x4a8371(0x1e2)]=async _0xe7df90=>{const _0x5eecd3=a26_0x4a8371,_0x6f1eb2={};_0x6f1eb2['Zscyg']=function(_0x1eb491,_0x371674){return _0x1eb491===_0x371674;},_0x6f1eb2[_0x5eecd3(0x1fc)]=_0x5eecd3(0x201);const _0x27ddd6=_0x6f1eb2;let _0x440480={};try{const _0x29072a=await _0xe7df90['getCapabilities']();_0x440480={'os_name':_0x29072a[_0x5eecd3(0x1dc)](),'os_version':bsSetupHelper['getPlatformVersion'](_0x27ddd6['Zscyg'](global[_0x5eecd3(0x1db)],_0x27ddd6[_0x5eecd3(0x1fc)])),'browser_name':_0x29072a[_0x5eecd3(0x202)](),'browser_version':_0x29072a[_0x5eecd3(0x1de)]()};}catch(_0x8a3e39){logger[_0x5eecd3(0x20a)](_0x5eecd3(0x203)+_0x8a3e39);}return _0x440480;};
@@ -1 +1 @@
1
- 'use strict';const a27_0xcf3aca=a27_0xf131;(function(_0x94326b,_0x557347){const _0x4b5e58=a27_0xf131,_0x467fc8=_0x94326b();while(!![]){try{const _0x11cef2=parseInt(_0x4b5e58(0xed))/0x1*(parseInt(_0x4b5e58(0x127))/0x2)+-parseInt(_0x4b5e58(0x199))/0x3+-parseInt(_0x4b5e58(0x10d))/0x4+parseInt(_0x4b5e58(0x129))/0x5*(parseInt(_0x4b5e58(0x19b))/0x6)+-parseInt(_0x4b5e58(0x1e9))/0x7*(-parseInt(_0x4b5e58(0x1fa))/0x8)+-parseInt(_0x4b5e58(0x180))/0x9+parseInt(_0x4b5e58(0x102))/0xa;if(_0x11cef2===_0x557347)break;else _0x467fc8['push'](_0x467fc8['shift']());}catch(_0x1f7052){_0x467fc8['push'](_0x467fc8['shift']());}}}(a27_0xa4d3,0xc56c2));function a27_0xa4d3(){const _0x46a100=['failure_backtrace','Nxkmi','17034120YUUXIg','hVwul','tLIhH','MEJUA','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','split','shouldProcessEventForTesthub','indent','TestRunSkipped','BbDjP','clean','2003444McQCsB','toISOString','vtubs','after\x20all','removeAllListeners','EVENT','setCurrentTestData','jYeaC','YvDko','EcHpf','hook_type','ctx','now','MOCHA','_testEnv','uuid','current_hook','okHZX','aLOSI','hDdZG','ulmSF','finished_at','failCount','\x20with\x20error\x20:\x20','docHtml','registerListeners','2098akgSJa','event_type','5kgZiJv','Einrt','testStarted','udKpw','integrations','match','grvfQ','push','npZgS','statSync','JNQBC','oWEEb','done','UnhandledError','appendTestPlatform','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','_testResults','oRTig','JopPo','xunit','spec','\x20\x20<dt\x20class=\x22error\x22>','bs:addPlatformDetails:','HookRunStarted','prototype','../../../helpers/test-observability/utils','constants','Reporter','</dt>','NQPLJ','stdout','once','doc','FjTVz','results','nGDHR','mBfbF','HookRunFinished','reporterOption','mocha/lib/runnable.js','symbols','before\x20all','test_run_uuid','qfDwv','speed','appendTesthubParams','consoleLog','nwMPA','failureCount','reporterOptions','yFsnB','MoROD','util','mocha/lib/reporters/','wvrSR','QHEnj','prefixTestPath','type','../../../helpers/testhub/utils','</section>','javascript','rDsnt','current_test','__indents','mocha','scopes','hookAnalyticsId','comma','TlCpO','PMnWr','getRootParentFile','djclE','CTHAP','multiple','PVhQX','_paths','qSWxR','file','../../../helpers/testhub/constants','increaseIndent','XMhlr','apply','UoImW','TjlAu','fast','sep','toString','3132126EnNXvq','findGitConfig','test_run','relative','AssertionError','test','oabPI','bs:addLog:','</dd>','BEFORE_EACH','ngnLk','xjDoi','suite','BEFORE_ALL','lgYKn','Mocha','Rzplq','pid','light','uUUfF','decreaseIndent','\x20\x20<dd\x20class=\x22error\x22>','MEkmA','DLoTM','HookFinished','4093206fhTleL','appendTestItemLog','2012298ptgXoL','vIqmV','config','titlePath','%s\x20-\x20%s','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','err','parent','slice','body','hooks','MHoix','eOxed','%s\x20','cerEH','PfrAu','CBpJj','escape','\x20\x20%d)\x20%s','TestRunFinished','../../../helpers/helper','POPLR','fiMHd','markedStatus','_indents','__platform__','</dl>','pdtdw','write','KhgoO','.js','zwRJF','shutdown','\x20\x20<dd\x20class=\x22error\x22><pre><code>','location_prefix','pJYkT','UFhdw','HookStarted','slow','jttkJ','HcWPf','eeoKo','analyticsResult','CMZRh','EqGxy','passed','wGKdk','LDifk','dot','backtrace','qRKlx','getTime','UCnof','docAppend','cwd','hook_run','suVoB','vvPKK','mocha/lib/reporters/base.js','pass','KmjKl','\x20\x20<dd><pre><code>','join','\x20\x20<dt>','QvlyV','failure_reason_expanded','bind','root','AFTER_ALL','HZxuk','dirname','testAnalyticsId','suites','hook_run_uuid','runner','../../../helpers/test-observability/sessionHandler','pTSUU','color','7qBxmCI','wXnbL','bright\x20yellow','fullTitle','qfuxR','forEach','scope','duration','../../../helpers/test-observability/constants','before\x20each','length','CYgMb','fail','result','title','sendTestRunEvent','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','706616jMLwVF','cPyaP','antWu','LogCreated','GJIOJ','auaPy','Failed\x20to\x20load\x20reporter\x20','</h1>','XokqK','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','Kgxgt','finalResults','reSHy','logs','exports','mocha/lib/utils.js','failed','.git','NEanE','vnMHb','IFFsQ','AFTER_EACH','name','853aqiynB','started_at','CBTSessionCreated','error','retryOf','\x20(%dms)','pending','iYuBF','</code></pre></dd>','LMCmq','state','after\x20each','OLUWk','path','EYWBf','uploadEventData','currentTest','currentRetry','gGSsh'];a27_0xa4d3=function(){return _0x46a100;};return a27_0xa4d3();}function a27_0xf131(_0x3e786f,_0x6c00c){const _0xa4d301=a27_0xa4d3();return a27_0xf131=function(_0xf1318c,_0x2e3810){_0xf1318c=_0xf1318c-0xdb;let _0x87ff40=_0xa4d301[_0xf1318c];return _0x87ff40;},a27_0xf131(_0x3e786f,_0x6c00c);}const util=require(a27_0xcf3aca(0x15d)),fs=require('fs'),path=require(a27_0xcf3aca(0xfa)),{requireModule}=require(a27_0xcf3aca(0x1af)),Base=requireModule(a27_0xcf3aca(0x1d5)),utils=requireModule(a27_0xcf3aca(0xe5)),color=Base['color'],Mocha=requireModule(a27_0xcf3aca(0x169)),Runnable=requireModule(a27_0xcf3aca(0x150)),{v4:uuidv4}=require(a27_0xcf3aca(0x11c)),bsSetupHelper=require('../../../helpers/helper'),testhubUtils=require(a27_0xcf3aca(0x163)),testHubConstants=require(a27_0xcf3aca(0x177)),{FRAMEWORKS}=require(a27_0xcf3aca(0x1f1)),a27_0x48d598={};a27_0x48d598[a27_0xcf3aca(0x152)]=a27_0xcf3aca(0x18d),a27_0x48d598[a27_0xcf3aca(0x110)]=a27_0xcf3aca(0x1df),a27_0x48d598[a27_0xcf3aca(0x1f2)]=a27_0xcf3aca(0x189),a27_0x48d598[a27_0xcf3aca(0xf8)]=a27_0xcf3aca(0xeb);const HOOK_TYPES_MAP=a27_0x48d598,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha['Runner']['constants'],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0xcf3aca(0x143)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require('../test-observability/mochaUtils'),{consoleHolder}=require(a27_0xcf3aca(0x1f1)),SessionHandler=require(a27_0xcf3aca(0x1e6)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a27_0xcf3aca(0x142)),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),requestQueueHandler=RequestQueueHandler['getInstance']();class MyReporter{constructor(_0x5b17a6,_0x4d656d){const _0x413209=a27_0xcf3aca,_0x48e900={'NQPLJ':function(_0x4e80df,_0x4eb4dc){return _0x4e80df===_0x4eb4dc;},'MHoix':_0x413209(0x13d),'YvDko':function(_0x49d1ea,_0x5b1907){return _0x49d1ea+_0x5b1907;},'grvfQ':function(_0x539b70,_0x567fd6){return _0x539b70+_0x567fd6;},'CYgMb':function(_0x1f2732,_0x196018,_0x18ef81){return _0x1f2732(_0x196018,_0x18ef81);},'GJIOJ':'green','cerEH':_0x413209(0x1a8),'TlCpO':_0x413209(0x192),'MEJUA':_0x413209(0x19f),'KiTfP':'RUNNING','qRKlx':_0x413209(0x149),'gGSsh':function(_0x5da1c6){return _0x5da1c6();},'PMnWr':_0x413209(0x140),'CBpJj':_0x413209(0x14e),'hDdZG':function(_0x3171ec,_0x15b5a2){return _0x3171ec===_0x15b5a2;},'nGDHR':_0x413209(0x1c8),'eOxed':function(_0x1f6276,_0x30692a){return _0x1f6276===_0x30692a;},'xwdjz':_0x413209(0x17d),'pJYkT':function(_0x3743ca,_0x51e85e){return _0x3743ca+_0x51e85e;},'CMZRh':'checkmark','auaPy':function(_0x762c40,_0xfe626b){return _0x762c40+_0xfe626b;},'MoROD':function(_0x2653da,_0x185191,_0x128f28){return _0x2653da(_0x185191,_0x128f28);},'UoImW':_0x413209(0x1d6),'vvPKK':'\x20%s','iYuBF':function(_0x4ed0f6,_0x579266){return _0x4ed0f6+_0x579266;},'rcEKc':function(_0x2c3e29,_0x42b3cb){return _0x2c3e29+_0x42b3cb;},'PfrAu':function(_0x2977a3,_0x376e4a,_0x2bed7d){return _0x2977a3(_0x376e4a,_0x2bed7d);},'lgYKn':function(_0x550bab,_0x2b5f94){return _0x550bab+_0x2b5f94;},'vIqmV':function(_0x2305a0,_0x39013b,_0x5ec3e3){return _0x2305a0(_0x39013b,_0x5ec3e3);},'hKVmW':function(_0x48883d,_0x27f63c,_0x46e8f){return _0x48883d(_0x27f63c,_0x46e8f);},'mBfbF':_0x413209(0xf2),'EcHpf':function(_0x1396ab,_0x303396){return _0x1396ab+_0x303396;},'jttkJ':_0x413209(0x1f5),'Kgxgt':_0x413209(0x1ad),'qfuxR':function(_0x316a49,_0x22fa72){return _0x316a49+_0x22fa72;},'Nxkmi':_0x413209(0x1eb),'hVwul':'COMPLETED','XMhlr':function(_0x2e6933,_0x557190){return _0x2e6933===_0x557190;},'suVoB':function(_0x4b526e,_0x249cdd){return _0x4b526e===_0x249cdd;},'NEanE':_0x413209(0x1cb),'JopPo':_0x413209(0x1c1),'npZgS':function(_0x4d0853,_0x3db730){return _0x4d0853===_0x3db730;},'wvrSR':function(_0xe89037,_0x52ef79){return _0xe89037===_0x52ef79;},'gEhcw':'4|0|1|2|3','MEkmA':function(_0x482d31,_0x216048){return _0x482d31===_0x216048;},'CTHAP':function(_0x7fcc31,_0xdfb8b1){return _0x7fcc31===_0xdfb8b1;},'yFsnB':_0x413209(0xf3),'jYeaC':function(_0x353602,_0x4dd887){return _0x353602===_0x4dd887;},'antWu':_0x413209(0x10a),'eeoKo':function(_0x13be03,_0x13b798){return _0x13be03===_0x13b798;},'HZxuk':function(_0x27f50f,_0x6abe1b){return _0x27f50f(_0x6abe1b);},'QCZZY':function(_0x393198){return _0x393198();},'UFhdw':function(_0x90f51d){return _0x90f51d();},'fiMHd':function(_0xd9fe2c){return _0xd9fe2c();},'ngnLk':_0x413209(0x13c),'Rzplq':function(_0x31ed0d,_0x1121bb){return _0x31ed0d(_0x1121bb);},'gBRJA':function(_0x51e7f7,_0x247196){return _0x51e7f7!==_0x247196;}};this[_0x413209(0x162)]=_0x4d656d[_0x413209(0x14f)]['type'],this['testObservability']=_0x48e900[_0x413209(0x1bf)](isTestObservabilitySession),Base['call'](this,_0x5b17a6,_0x4d656d),this[_0x413209(0x1b3)]=0x0,this[_0x413209(0x123)]=0x0,this['results']=[],this[_0x413209(0xe1)]=[],this['suiteCount']=0x0,this['_buildCreated']=![],this[_0x413209(0x139)]=[],this[_0x413209(0x11b)]=_0x48e900[_0x413209(0x1b1)](getTestEnv),this[_0x413209(0x174)]=new PathHelper({'cwd':process[_0x413209(0x1d1)]()},this['_testEnv'][_0x413209(0x1bd)]),this['_upstreamConfig']=_0x4d656d[_0x413209(0x14f)]['bsConfig'],this[_0x413209(0x126)]();_0x48e900[_0x413209(0x146)](this['type'],_0x48e900[_0x413209(0x1cd)])&&(this[_0x413209(0x125)]='',this[_0x413209(0x168)]=0x2);_0x5b17a6[_0x413209(0x148)](EVENT_RUN_BEGIN,async()=>{const _0x2b7a1b=_0x413209;_0x48e900[_0x2b7a1b(0x146)](this[_0x2b7a1b(0x162)],_0x48e900['MHoix'])&&Base[_0x2b7a1b(0x157)]();})['on'](EVENT_SUITE_BEGIN,_0x2b8b0a=>{const _0x3c1561=_0x413209;if(_0x2b8b0a[_0x3c1561(0x1de)])return;if(_0x48e900['NQPLJ'](this[_0x3c1561(0x162)],_0x48e900[_0x3c1561(0x1a6)]))this['increaseIndent'](),Base['consoleLog'](_0x48e900['YvDko'](_0x48e900[_0x3c1561(0x12f)](this['indent'](),_0x48e900[_0x3c1561(0x1f4)](color,_0x48e900[_0x3c1561(0x1fe)],_0x48e900['cerEH'])),_0x48e900['CYgMb'](color,_0x48e900['TlCpO'],_0x48e900['MEJUA'])),_0x48e900['KiTfP'],_0x2b8b0a[_0x3c1561(0x1f7)],global['__platform__']);else _0x48e900[_0x3c1561(0x146)](this[_0x3c1561(0x162)],_0x48e900[_0x3c1561(0x1cd)])&&(this[_0x3c1561(0x1d0)](this[_0x3c1561(0x109)]()+'<section\x20class=\x22suite\x22>'),++this['__indents'],this[_0x3c1561(0x1d0)](this[_0x3c1561(0x109)]()+'<h1>'+utils[_0x3c1561(0x1ac)](_0x2b8b0a[_0x3c1561(0x1f7)]+'\x20-\x20'+global['__platform__'])+_0x3c1561(0xdd)),this['docAppend'](this[_0x3c1561(0x109)]()+'<dl>'));})['on'](EVENT_HOOK_BEGIN,async _0x27226c=>{const _0x25a690=_0x413209;if(_0x48e900[_0x25a690(0x146)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants['EVENT'][_0x25a690(0x1c0)]),!![])){if(!_0x27226c['hookAnalyticsId'])_0x27226c[_0x25a690(0x16b)]=_0x48e900[_0x25a690(0xff)](uuidv4);else _0x27226c[_0x25a690(0x1b2)]&&(_0x27226c[_0x25a690(0x16b)]=_0x48e900[_0x25a690(0xff)](uuidv4),delete _0x27226c[_0x25a690(0x1b2)]);_0x27226c[_0x25a690(0xee)]=new Date()['toISOString'](),this['current_hook']=_0x27226c,await this[_0x25a690(0x1f8)](_0x27226c,undefined,![],_0x48e900[_0x25a690(0x16e)]);}})['on'](EVENT_HOOK_END,async _0x409d68=>{const _0x34c605=_0x413209;_0x48e900[_0x34c605(0x146)](testhubUtils[_0x34c605(0x108)](testHubConstants[_0x34c605(0x112)][_0x34c605(0x198)]),!![])&&(!_0x409d68[_0x34c605(0x1b2)]&&(_0x409d68[_0x34c605(0x1b2)]=!![],await this[_0x34c605(0x1f8)](_0x409d68,undefined,![],_0x48e900[_0x34c605(0x1ab)])));})['on'](EVENT_SUITE_END,_0x4a8ed2=>{const _0x59b9c3=_0x413209;if(_0x4a8ed2[_0x59b9c3(0x1de)])return;if(_0x48e900[_0x59b9c3(0x120)](this[_0x59b9c3(0x162)],_0x48e900[_0x59b9c3(0x1a6)]))Base['consoleLog'](),Base[_0x59b9c3(0x157)](_0x48e900[_0x59b9c3(0x1ed)](_0x48e900[_0x59b9c3(0x115)](this['indent'](),_0x48e900[_0x59b9c3(0x15c)](color,_0x48e900[_0x59b9c3(0x101)],_0x48e900[_0x59b9c3(0x1a9)])),_0x48e900[_0x59b9c3(0x1aa)](color,_0x48e900[_0x59b9c3(0x16d)],_0x48e900[_0x59b9c3(0x105)])),_0x48e900[_0x59b9c3(0x103)],_0x4a8ed2[_0x59b9c3(0x1f7)],global[_0x59b9c3(0x1b4)]),this['results'][_0x59b9c3(0x1ee)](_0x1c4575=>{const _0x32073d=_0x59b9c3;if(_0x48e900[_0x32073d(0x120)](_0x1c4575[_0x32073d(0xf7)],_0x48e900[_0x32073d(0x14c)])){var _0x57d58a;_0x48e900[_0x32073d(0x1a7)](_0x1c4575[_0x32073d(0x155)],_0x48e900['xwdjz'])?(_0x57d58a=_0x48e900[_0x32073d(0x115)](_0x48e900[_0x32073d(0x1be)](this[_0x32073d(0x109)](),_0x48e900[_0x32073d(0x1f4)](color,_0x48e900[_0x32073d(0x1c6)],_0x48e900[_0x32073d(0xdb)]('\x20\x20',Base['symbols']['ok']))),_0x48e900[_0x32073d(0x15c)](color,_0x48e900[_0x32073d(0x17b)],_0x48e900[_0x32073d(0x1d4)])),Base[_0x32073d(0x157)](_0x57d58a,_0x1c4575['title'])):(_0x57d58a=_0x48e900[_0x32073d(0x1be)](_0x48e900[_0x32073d(0xf4)](_0x48e900['rcEKc'](this[_0x32073d(0x109)](),_0x48e900[_0x32073d(0x1aa)](color,_0x48e900['CMZRh'],_0x48e900[_0x32073d(0x18e)]('\x20\x20',Base[_0x32073d(0x151)]['ok']))),_0x48e900[_0x32073d(0x19c)](color,_0x48e900[_0x32073d(0x17b)],_0x48e900[_0x32073d(0x1d4)])),_0x48e900['hKVmW'](color,_0x1c4575[_0x32073d(0x155)],_0x48e900[_0x32073d(0x14d)])),Base['consoleLog'](_0x57d58a,_0x1c4575[_0x32073d(0x1f7)],_0x1c4575[_0x32073d(0x1f0)]));}else Base[_0x32073d(0x157)](_0x48e900[_0x32073d(0x116)](this[_0x32073d(0x109)](),_0x48e900[_0x32073d(0x1f4)](color,_0x48e900[_0x32073d(0x1c2)],_0x48e900[_0x32073d(0xe0)])),++this[_0x32073d(0x123)],_0x1c4575[_0x32073d(0x1f7)]);}),this[_0x59b9c3(0x194)]();else _0x48e900['XMhlr'](this['type'],_0x48e900[_0x59b9c3(0x1cd)])&&(this[_0x59b9c3(0x1d0)](this[_0x59b9c3(0x109)]()+_0x59b9c3(0x1b5)),--this[_0x59b9c3(0x168)],this['docAppend'](this['indent']()+_0x59b9c3(0x164)),--this[_0x59b9c3(0x168)]);Array[_0x59b9c3(0x141)]['push'][_0x59b9c3(0x17a)](this[_0x59b9c3(0xe1)],this[_0x59b9c3(0x14b)]),this[_0x59b9c3(0x14b)]=[];})['on'](EVENT_TEST_PASS,async _0x1bb2ab=>{const _0x46cbd7=_0x413209;this[_0x46cbd7(0x14b)][_0x46cbd7(0x130)]({'speed':_0x1bb2ab[_0x46cbd7(0x155)],'suite':_0x1bb2ab[_0x46cbd7(0x1a2)][_0x46cbd7(0x1f7)],'title':_0x1bb2ab[_0x46cbd7(0x1f7)],'fullTitle':_0x1bb2ab[_0x46cbd7(0x1ec)](),'duration':_0x1bb2ab[_0x46cbd7(0x1f0)],'state':_0x1bb2ab[_0x46cbd7(0xf7)],'err':{},'currentRetry':_0x1bb2ab['currentRetry'](),'titlePathV':_0x1bb2ab[_0x46cbd7(0x19e)](),'isPending':_0x1bb2ab['isPending']()});if(_0x48e900[_0x46cbd7(0x1d3)](this['type'],_0x48e900['NEanE']))_0x48e900[_0x46cbd7(0x120)](_0x1bb2ab[_0x46cbd7(0x155)],_0x48e900[_0x46cbd7(0x13b)])?process[_0x46cbd7(0x147)][_0x46cbd7(0x1b7)](Base[_0x46cbd7(0x1e8)](_0x48e900['Nxkmi'],Base[_0x46cbd7(0x151)][_0x46cbd7(0x1cb)])):process[_0x46cbd7(0x147)][_0x46cbd7(0x1b7)](Base[_0x46cbd7(0x1e8)](_0x1bb2ab[_0x46cbd7(0x155)],Base['symbols'][_0x46cbd7(0x1cb)]));else{if(_0x48e900[_0x46cbd7(0x1d3)](this[_0x46cbd7(0x162)],_0x48e900[_0x46cbd7(0x1cd)])){this['docAppend'](this[_0x46cbd7(0x109)]()+_0x46cbd7(0x1da)+utils['escape'](_0x1bb2ab[_0x46cbd7(0x1f7)])+_0x46cbd7(0x145)),this[_0x46cbd7(0x1d0)](this[_0x46cbd7(0x109)]()+_0x46cbd7(0x1da)+utils[_0x46cbd7(0x1ac)](_0x1bb2ab['file'])+_0x46cbd7(0x145));var _0x4fa1e9=utils[_0x46cbd7(0x1ac)](utils[_0x46cbd7(0x10c)](_0x1bb2ab[_0x46cbd7(0x1a4)]));this['docAppend'](this['indent']()+_0x46cbd7(0x1d8)+_0x4fa1e9+_0x46cbd7(0xf5));}}_0x48e900[_0x46cbd7(0x146)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x1bb2ab['markedStatus']&&(_0x1bb2ab[_0x46cbd7(0x1b2)]=!![],await this[_0x46cbd7(0x1f8)](_0x1bb2ab)));})['on'](EVENT_TEST_FAIL,async(_0x2b4dd4,_0x24d910)=>{const _0x589c00=_0x413209;this[_0x589c00(0x14b)][_0x589c00(0x130)]({'title':_0x2b4dd4[_0x589c00(0x1f7)],'suite':_0x2b4dd4[_0x589c00(0x1a2)]['title'],'state':_0x2b4dd4[_0x589c00(0xf7)],'err':{'message':util['inspect'](_0x24d910)},'fullTitle':_0x2b4dd4[_0x589c00(0x1ec)](),'speed':_0x2b4dd4[_0x589c00(0x155)],'currentRetry':_0x2b4dd4['currentRetry'](),'titlePathV':_0x2b4dd4[_0x589c00(0x19e)]()});if(_0x48e900[_0x589c00(0x131)](this[_0x589c00(0x162)],_0x48e900['NEanE']))process['stdout'][_0x589c00(0x1b7)](Base[_0x589c00(0x1e8)](_0x48e900[_0x589c00(0x1c2)],Base[_0x589c00(0x151)]['bang']));else{if(_0x48e900[_0x589c00(0x15f)](this[_0x589c00(0x162)],_0x48e900['qRKlx'])){const _0x1638d5=_0x48e900['gEhcw'][_0x589c00(0x107)]('|');let _0x34942c=0x0;while(!![]){switch(_0x1638d5[_0x34942c++]){case'0':this[_0x589c00(0x1d0)](this[_0x589c00(0x109)]()+_0x589c00(0x13e)+utils[_0x589c00(0x1ac)](_0x2b4dd4[_0x589c00(0x176)])+_0x589c00(0x145));continue;case'1':var _0x595c0d=utils[_0x589c00(0x1ac)](utils[_0x589c00(0x10c)](_0x2b4dd4[_0x589c00(0x1a4)]));continue;case'2':this[_0x589c00(0x1d0)](this[_0x589c00(0x109)]()+_0x589c00(0x1bc)+_0x595c0d+_0x589c00(0xf5));continue;case'3':this[_0x589c00(0x1d0)](this['indent']()+_0x589c00(0x195)+utils[_0x589c00(0x1ac)](_0x2b4dd4[_0x589c00(0x1a1)])+_0x589c00(0x188));continue;case'4':this[_0x589c00(0x1d0)](this[_0x589c00(0x109)]()+_0x589c00(0x13e)+utils[_0x589c00(0x1ac)](_0x2b4dd4[_0x589c00(0x1f7)])+_0x589c00(0x145));continue;}break;}}}if(_0x48e900[_0x589c00(0x196)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0x589c00(0x112)][_0x589c00(0x198)]),!![])){if(!_0x2b4dd4[_0x589c00(0x1b2)]){_0x2b4dd4['markedStatus']=!![];if(_0x2b4dd4[_0x589c00(0x1e2)])await this[_0x589c00(0x1f8)](_0x2b4dd4,_0x24d910);else _0x2b4dd4[_0x589c00(0x16b)]&&await this[_0x589c00(0x1f8)](_0x2b4dd4,_0x24d910,![],_0x48e900[_0x589c00(0x1ab)]);}}})['on'](EVENT_TEST_PENDING,async _0x5947ac=>{const _0x43e756=_0x413209;this[_0x43e756(0x14b)][_0x43e756(0x130)]({'title':_0x5947ac['title'],'suite':_0x5947ac[_0x43e756(0x1a2)][_0x43e756(0x1f7)],'state':_0x5947ac['state'],'err':{},'fullTitle':_0x5947ac[_0x43e756(0x1ec)](),'speed':_0x5947ac[_0x43e756(0x155)],'currentRetry':_0x5947ac[_0x43e756(0xfe)](),'titlePathV':_0x5947ac[_0x43e756(0x19e)]()}),_0x48e900['CTHAP'](this[_0x43e756(0x162)],_0x48e900[_0x43e756(0xe8)])&&process[_0x43e756(0x147)][_0x43e756(0x1b7)](Base[_0x43e756(0x1e8)](_0x48e900[_0x43e756(0x15b)],Base['symbols'][_0x43e756(0x16c)])),_0x48e900[_0x43e756(0x114)](testhubUtils[_0x43e756(0x108)](),!![])&&(!_0x5947ac[_0x43e756(0x1e2)]&&(_0x5947ac['testAnalyticsId']=_0x48e900[_0x43e756(0xff)](uuidv4)),!_0x5947ac[_0x43e756(0x1b2)]&&(_0x5947ac[_0x43e756(0x1b2)]=!![],await this[_0x43e756(0x1f8)](_0x5947ac,undefined,![],_0x48e900[_0x43e756(0x1fc)])));})['on'](EVENT_TEST_BEGIN,async _0x23c89e=>{const _0x385b0=_0x413209;_0x48e900[_0x385b0(0x171)](testhubUtils[_0x385b0(0x108)](),!![])&&await this[_0x385b0(0x12b)](_0x23c89e);})['on'](EVENT_TEST_END,async _0x50b07a=>{const _0x2543a2=_0x413209;_0x48e900[_0x2543a2(0x120)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x50b07a['markedStatus']&&(_0x50b07a[_0x2543a2(0x1b2)]=!![],await this[_0x2543a2(0x1f8)](_0x50b07a)));})[_0x413209(0x148)](EVENT_RUN_END,async()=>{const _0x3d3888=_0x413209;try{if(_0x48e900[_0x3d3888(0x1c4)](testhubUtils[_0x3d3888(0x108)](),!![])){const _0x1b5f36=_0x48e900[_0x3d3888(0x1e0)](getHookSkippedTests,this[_0x3d3888(0x1e5)][_0x3d3888(0x18c)]);for(const _0x4d75fd of _0x1b5f36){!_0x4d75fd[_0x3d3888(0x1e2)]&&(_0x4d75fd['testAnalyticsId']=_0x48e900['QCZZY'](uuidv4)),await this[_0x3d3888(0x1f8)](_0x4d75fd,undefined,![],_0x48e900[_0x3d3888(0x1fc)]);}}}catch(_0x29b30e){_0x48e900['HZxuk'](debug,_0x3d3888(0x106)+_0x29b30e);}await requestQueueHandler[_0x3d3888(0x1bb)](),_0x48e900[_0x3d3888(0x179)](this[_0x3d3888(0x162)],_0x48e900['qRKlx'])&&Base[_0x3d3888(0x157)](this[_0x3d3888(0x125)]);});if(this[_0x413209(0x162)]&&![_0x48e900['qRKlx'],_0x48e900[_0x413209(0x18a)],_0x48e900[_0x413209(0x1a6)],_0x48e900['NEanE']]['includes'](this['type'])){const _0x1d7163=this['type']['trim']();this[_0x413209(0x144)]=null;try{this[_0x413209(0x144)]=_0x48e900[_0x413209(0x190)](requireModule,_0x413209(0x15e)+_0x1d7163+_0x413209(0x1b9));}catch{}if(_0x48e900['XMhlr'](this[_0x413209(0x144)],null))try{this[_0x413209(0x144)]=_0x48e900[_0x413209(0x1e0)](require,_0x1d7163);}catch(_0x4ae29e){console[_0x413209(0xf0)](_0x413209(0xdc)+_0x1d7163);}if(_0x48e900['gBRJA'](this[_0x413209(0x144)],null)){const _0x29e26c={};_0x29e26c[_0x413209(0x15a)]=_0x4d656d[_0x413209(0x14f)],this['Reporter']=new this[(_0x413209(0x144))](_0x5b17a6,_0x29e26c);}}}[a27_0xcf3aca(0x109)](){const _0x541f02=a27_0xcf3aca,_0x50d1ee={'EqGxy':function(_0xa385ce,_0x102be6){return _0xa385ce(_0x102be6);}};return _0x50d1ee[_0x541f02(0x1c7)](Array,this[_0x541f02(0x1b3)])[_0x541f02(0x1d9)]('\x20\x20');}[a27_0xcf3aca(0x178)](){const _0xdd0791=a27_0xcf3aca;this[_0xdd0791(0x1b3)]++;}['decreaseIndent'](){const _0x949d95=a27_0xcf3aca;this[_0x949d95(0x1b3)]--;}[a27_0xcf3aca(0x1d0)](_0x430e26){this['docHtml']+=_0x430e26;}[a27_0xcf3aca(0x135)](_0x37306d,_0x52fe46){const _0x2dec03=a27_0xcf3aca,_0x50bf91={'mZaUi':function(_0x4d17d7,_0xfdac8b){return _0x4d17d7(_0xfdac8b);}},_0x163495={};_0x163495[_0x2dec03(0x159)]=_0x37306d,_0x163495[_0x2dec03(0x14b)]=this[_0x2dec03(0xe1)],_0x50bf91['mZaUi'](_0x52fe46,_0x163495);}['registerListeners'](){const _0x4d6c45=a27_0xcf3aca;process[_0x4d6c45(0x111)](_0x4d6c45(0x187)+process[_0x4d6c45(0x191)]),process['on'](_0x4d6c45(0x187)+process[_0x4d6c45(0x191)],this[_0x4d6c45(0x19a)]['bind'](this)),process[_0x4d6c45(0x111)](_0x4d6c45(0x13f)+process[_0x4d6c45(0x191)]),process['on'](_0x4d6c45(0x13f)+process[_0x4d6c45(0x191)],this[_0x4d6c45(0x137)][_0x4d6c45(0x1dd)](this));}['testStarted']=async _0x446cb7=>{const _0x511c35=a27_0xcf3aca,_0x11360a={'djclE':function(_0x269d08){return _0x269d08();},'TjlAu':function(_0x36f508,_0x166ab3){return _0x36f508>_0x166ab3;},'ckzwi':function(_0x2b5e44,_0x3a3f01){return _0x2b5e44===_0x3a3f01;},'uUUfF':'TestRunStarted','reSHy':function(_0x2463e6,_0x553beb){return _0x2463e6(_0x553beb);}};try{const _0x3fd1ee=this[_0x511c35(0x167)];this['current_test']=_0x446cb7,_0x446cb7[_0x511c35(0xf1)]=null,_0x446cb7['testAnalyticsId']=_0x11360a[_0x511c35(0x170)](uuidv4),_0x446cb7['started_at']=new Date()[_0x511c35(0x10e)](),_0x11360a[_0x511c35(0x17c)](_0x446cb7['_currentRetry'],0x0)&&_0x3fd1ee&&_0x11360a['ckzwi'](_0x3fd1ee[_0x511c35(0x1f7)],_0x446cb7[_0x511c35(0x1f7)])?(_0x446cb7['retryOf']=_0x3fd1ee[_0x511c35(0x1e2)],await this[_0x511c35(0x1f8)](_0x446cb7,undefined,![],_0x11360a[_0x511c35(0x193)]),_0x3fd1ee['state']=STATE_FAILED,await this[_0x511c35(0x1f8)](_0x3fd1ee,undefined,!![])):await this['sendTestRunEvent'](_0x446cb7,undefined,![],_0x11360a[_0x511c35(0x193)]);}catch(_0x28a201){_0x11360a[_0x511c35(0xe2)](debug,_0x511c35(0x1f9)+_0x28a201);}};[a27_0xcf3aca(0x1f8)]=async(_0x5e2c6f,_0x5567ba=undefined,_0x45df1d=![],_0x11c9bc=a27_0xcf3aca(0x1ae))=>{const _0x48ac5d=a27_0xcf3aca,_0xd28115={'qSWxR':function(_0x4dc5b9,_0x3e73d9){return _0x4dc5b9===_0x3e73d9;},'vnMHb':function(_0x26e430,_0x499347){return _0x26e430!==_0x499347;},'WzlVW':_0x48ac5d(0x185),'LDifk':_0x48ac5d(0x1a1),'DLoTM':'File\x20path\x20could\x20not\x20be\x20found','Sjqqj':_0x48ac5d(0x18f),'oRTig':_0x48ac5d(0x165),'wXnbL':function(_0x360bb7,_0x1454c8){return _0x360bb7===_0x1454c8;},'QHEnj':_0x48ac5d(0x10a),'POPLR':'skipped','vtubs':function(_0x1ad7bb,_0x4df2c3){return _0x1ad7bb-_0x4df2c3;},'qfDwv':_0x48ac5d(0x184),'zwRJF':_0x48ac5d(0x136),'cPyaP':function(_0x521b15,_0x4abe71){return _0x521b15===_0x4abe71;},'LMCmq':_0x48ac5d(0xee),'OLUWk':_0x48ac5d(0x122),'udKpw':function(_0x4619ae,_0xee2003){return _0x4619ae(_0xee2003);},'dRUWg':function(_0x15cfd9,_0x3b1fb1){return _0x15cfd9===_0x3b1fb1;},'nVhdL':'HookRunFinished','pTSUU':_0x48ac5d(0xe6),'PVhQX':'passed','JNQBC':_0x48ac5d(0x1f2),'FjTVz':'failure','oWEEb':_0x48ac5d(0x100),'tLIhH':_0x48ac5d(0x1cc),'okHZX':_0x48ac5d(0x1dc),'QftlG':'expanded','wGKdk':_0x48ac5d(0x1ae),'rdTDr':function(_0x5c79ee,_0x1eae1){return _0x5c79ee(_0x1eae1);},'BbDjP':function(_0x3275de,_0x23ed8a){return _0x3275de===_0x23ed8a;},'oabPI':_0x48ac5d(0x117),'TcGQI':_0x48ac5d(0x1d2),'KmjKl':'test_run','UPQdz':function(_0x49aa88,_0x5e4687){return _0x49aa88(_0x5e4687);}};try{if(_0x5e2c6f[_0x48ac5d(0x1a4)]&&_0x5e2c6f['body'][_0x48ac5d(0x12e)](/browserstack internal helper hook/))return;let _0x6e10d5=[];if(_0xd28115['qSWxR'](_0x5e2c6f[_0x48ac5d(0xf7)],STATE_FAILED)){if(_0xd28115[_0x48ac5d(0xe9)](_0x5e2c6f[_0x48ac5d(0x1a1)],undefined))_0x6e10d5=_0x5e2c6f[_0x48ac5d(0x1a1)][_0x48ac5d(0x172)]?[_0x5e2c6f[_0x48ac5d(0x1a1)][_0x48ac5d(0x172)],_0xd28115['WzlVW']]:[_0x5e2c6f[_0x48ac5d(0x1a1)],_0xd28115[_0x48ac5d(0x1ca)]];else _0xd28115['vnMHb'](_0x5567ba,undefined)?_0x6e10d5=[_0x5567ba,_0xd28115[_0x48ac5d(0x1ca)]]:_0x6e10d5=[];}const _0x5faceb=_0xd28115['vnMHb'](_0x5e2c6f[_0x48ac5d(0x1a1)],undefined)?_0x5e2c6f[_0x48ac5d(0x1a1)][_0x48ac5d(0x17f)]():_0xd28115[_0x48ac5d(0xe9)](_0x5567ba,undefined)?_0x5567ba[_0x48ac5d(0x17f)]():undefined;let _0x503051;try{_0x503051=this[_0x48ac5d(0x16f)](_0x5e2c6f);}catch(_0x41d22c){_0x503051=null;}const _0x539119=_0x503051?this[_0x48ac5d(0x181)](_0x503051):null,_0x59c23c=_0x503051?this[_0x48ac5d(0x174)][_0x48ac5d(0x161)](this['getRootParentFile'](_0x5e2c6f)):_0xd28115[_0x48ac5d(0x197)],_0x5863d8={'framework':_0xd28115['Sjqqj'],'uuid':_0x5e2c6f[_0x48ac5d(0x1e2)]||_0x5e2c6f[_0x48ac5d(0x16b)],'name':_0x5e2c6f[_0x48ac5d(0x1f7)],'body':{'lang':_0xd28115[_0x48ac5d(0x13a)],'code':_0x5e2c6f[_0x48ac5d(0x1a4)]},'scope':this[_0x48ac5d(0x1ef)](_0x5e2c6f),'scopes':this['scopes'](_0x5e2c6f),'identifier':_0x5e2c6f['fullTitle'](),'file_name':_0x59c23c,'vc_filepath':_0x539119?path[_0x48ac5d(0x183)](_0x539119,_0x503051):null,'location':_0x59c23c,'result':_0xd28115[_0x48ac5d(0x1ea)](_0x11c9bc,_0xd28115[_0x48ac5d(0x160)])?_0xd28115[_0x48ac5d(0x1b0)]:this[_0x48ac5d(0x1c5)](_0x5e2c6f[_0x48ac5d(0xf7)]),'failure_reason':_0x5faceb,'duration_in_ms':_0x5e2c6f[_0x48ac5d(0x1f0)]||(_0x11c9bc[_0x48ac5d(0x12e)](/Finished/)||_0x11c9bc[_0x48ac5d(0x12e)](/Skipped/)?_0xd28115[_0x48ac5d(0x10f)](Date[_0x48ac5d(0x119)](),new Date(_0x5e2c6f[_0x48ac5d(0xee)])[_0x48ac5d(0x1ce)]()):null),'started_at':_0x5e2c6f[_0x48ac5d(0xee)],'finished_at':_0x11c9bc['match'](/Finished/)||_0x11c9bc[_0x48ac5d(0x12e)](/Skipped/)?new Date()[_0x48ac5d(0x10e)]():null,'failure':failureData['apply'](null,_0x6e10d5),'failure_type':!_0x5faceb?null:_0x5faceb[_0x48ac5d(0x12e)](/AssertionError/)?_0xd28115[_0x48ac5d(0x154)]:_0xd28115[_0x48ac5d(0x1ba)],'retry_of':_0x5e2c6f[_0x48ac5d(0xf1)]};testhubUtils[_0x48ac5d(0x156)](_0x5863d8,_0x11c9bc,_0x5e2c6f,FRAMEWORKS[_0x48ac5d(0x11a)]);_0xd28115[_0x48ac5d(0x1fb)](_0x11c9bc,_0xd28115['QHEnj'])&&!_0x5863d8[_0xd28115[_0x48ac5d(0xf6)]]&&(_0x5863d8[_0xd28115[_0x48ac5d(0xf6)]]=_0x5863d8[_0xd28115[_0x48ac5d(0xf9)]]);if(_0x11c9bc[_0x48ac5d(0x12e)](/HookRun/))[_0x5863d8['hook_type'],_0x5863d8[_0x48ac5d(0xec)]]=_0xd28115['udKpw'](getHookDetails,_0x5e2c6f[_0x48ac5d(0x1ec)]()||_0x5e2c6f['originalTitle']||_0x5e2c6f[_0x48ac5d(0x1f7)]),_0xd28115['dRUWg'](_0x11c9bc,_0xd28115['nVhdL'])&&(_0xd28115['vnMHb'](_0x5863d8[_0x48ac5d(0x1f6)],_0xd28115['pTSUU'])&&(_0x5863d8[_0x48ac5d(0x1f6)]=_0xd28115[_0x48ac5d(0x173)]),_0xd28115['dRUWg'](_0x5863d8[_0x48ac5d(0x117)],_0xd28115[_0x48ac5d(0x133)])&&_0xd28115[_0x48ac5d(0x175)](_0x5863d8[_0x48ac5d(0x1f6)],_0xd28115[_0x48ac5d(0x1e7)])&&!_0x5e2c6f['ctx'][_0x48ac5d(0xfd)]['markedStatus']&&(_0x5e2c6f[_0x48ac5d(0x118)]['currentTest'][_0x48ac5d(0x1b2)]=!![],_0x5e2c6f[_0x48ac5d(0x118)][_0x48ac5d(0xfd)][_0x48ac5d(0xf7)]=STATE_FAILED,await this[_0x48ac5d(0x1f8)](_0x5e2c6f[_0x48ac5d(0x118)][_0x48ac5d(0xfd)],undefined,!![])));else _0x11c9bc[_0x48ac5d(0x12e)](/TestRun/)&&_0xd28115[_0x48ac5d(0x12c)](mapTestHooks,_0x5e2c6f);const _0x2413e5=_0x5863d8[_0xd28115[_0x48ac5d(0x14a)]][0x0];_0x2413e5&&(_0x5863d8[_0xd28115[_0x48ac5d(0x134)]]=_0x2413e5[_0xd28115[_0x48ac5d(0x104)]],_0x5863d8[_0xd28115[_0x48ac5d(0x11e)]]=_0x2413e5[_0xd28115['QftlG']]);[_0xd28115['wGKdk'],_0xd28115[_0x48ac5d(0x160)]]['includes'](_0x11c9bc)&&(this[_0x48ac5d(0x139)]['push'](_0x5863d8),_0x5863d8[_0x48ac5d(0x1a5)]=_0xd28115['rdTDr'](getHooksForTest,_0x5e2c6f));const _0x1ad47f={'event_type':_0xd28115[_0x48ac5d(0x10b)](_0x11c9bc,_0xd28115['QHEnj'])?_0xd28115[_0x48ac5d(0x1c9)]:_0x11c9bc};_0x11c9bc[_0x48ac5d(0x12e)](/HookRun/)?(_0x5863d8[_0xd28115[_0x48ac5d(0x186)]]=HOOK_TYPES_MAP[_0x5863d8[_0xd28115[_0x48ac5d(0x186)]]],_0x1ad47f[_0xd28115['TcGQI']]=_0x5863d8):_0x1ad47f[_0xd28115[_0x48ac5d(0x1d7)]]=_0x5863d8,testhubUtils[_0x48ac5d(0x113)](FRAMEWORKS['MOCHA'],_0x1ad47f),await SessionHandler[_0x48ac5d(0xfc)](_0x1ad47f);}catch(_0x5abfd4){_0xd28115['UPQdz'](debug,_0x48ac5d(0x1a0)+_0x11c9bc+_0x48ac5d(0x124)+_0x5abfd4);}};[a27_0xcf3aca(0x181)](_0x1547eb){const _0x2ee249=a27_0xcf3aca,_0x3e8a9e={};_0x3e8a9e['EYWBf']=function(_0x252182,_0x53c2b7){return _0x252182===_0x53c2b7;},_0x3e8a9e['xjDoi']=function(_0x2b224f,_0x29d88c){return _0x2b224f===_0x29d88c;},_0x3e8a9e[_0x2ee249(0x1b6)]=function(_0x32e6bd,_0x2146fa){return _0x32e6bd===_0x2146fa;},_0x3e8a9e['QvlyV']=_0x2ee249(0xe7),_0x3e8a9e[_0x2ee249(0x12a)]=_0x2ee249(0x19d);const _0x35b40b=_0x3e8a9e,_0x22a087=path[_0x2ee249(0x17e)];if(_0x35b40b[_0x2ee249(0xfb)](_0x1547eb,null)||_0x35b40b[_0x2ee249(0x18b)](_0x1547eb,'')||_0x35b40b[_0x2ee249(0x1b6)](_0x1547eb,_0x22a087)||_0x35b40b[_0x2ee249(0x18b)](_0x1547eb,path['dirname'](_0x1547eb)))return null;try{return fs[_0x2ee249(0x132)](path['join'](_0x1547eb,_0x35b40b[_0x2ee249(0x1db)],_0x35b40b[_0x2ee249(0x12a)])),_0x1547eb;}catch(_0x2772b0){const _0x2a6b48=path[_0x2ee249(0x1e1)](_0x1547eb);return this[_0x2ee249(0x181)](_0x2a6b48);}}[a27_0xcf3aca(0x19a)]=async _0x5ce5ae=>{const _0x29972f=a27_0xcf3aca,_0x38f92b={'KhgoO':_0x29972f(0x1fd),'aLOSI':function(_0x143b18,_0x3b9f67){return _0x143b18(_0x3b9f67);}};try{this[_0x29972f(0x11d)]&&!this[_0x29972f(0x11d)]['markedStatus']&&(_0x5ce5ae[_0x29972f(0x1e4)]=this[_0x29972f(0x11d)][_0x29972f(0x16b)]);!_0x5ce5ae[_0x29972f(0x1e4)]&&this[_0x29972f(0x167)]&&!this[_0x29972f(0x167)][_0x29972f(0x1b2)]&&(_0x5ce5ae[_0x29972f(0x153)]=this[_0x29972f(0x167)][_0x29972f(0x1e2)]);if(_0x5ce5ae[_0x29972f(0x1e4)]||_0x5ce5ae[_0x29972f(0x153)]){const _0x19a3b8={};_0x19a3b8[_0x29972f(0x128)]=_0x38f92b[_0x29972f(0x1b8)],_0x19a3b8[_0x29972f(0xe3)]=[_0x5ce5ae],await SessionHandler[_0x29972f(0xfc)](_0x19a3b8);}}catch(_0x2ad032){_0x38f92b[_0x29972f(0x11f)](debug,_0x29972f(0xdf)+_0x2ad032);}};[a27_0xcf3aca(0x137)]=async _0x379524=>{const _0x498e43=a27_0xcf3aca,_0x4a0be7={'UCnof':'http_response','Bjepd':_0x498e43(0xef),'BvNUt':function(_0x38eced,_0x59bd6d){return _0x38eced(_0x59bd6d);}};try{const _0x29d398={};_0x29d398[_0x498e43(0x11c)]=_0x379524[_0x498e43(0x11c)]||this['current_test'][_0x498e43(0x1e2)],_0x29d398[_0x498e43(0x12d)]=_0x379524[_0x4a0be7[_0x498e43(0x1cf)]];const _0x155aca=_0x29d398,_0x5cfaf0={};_0x5cfaf0[_0x498e43(0x128)]=_0x4a0be7['Bjepd'],_0x5cfaf0[_0x498e43(0x182)]=_0x155aca,await SessionHandler['uploadEventData'](_0x5cfaf0);}catch(_0x2f0d6f){_0x4a0be7['BvNUt'](debug,_0x498e43(0x138)+_0x2f0d6f);}};['analyticsResult'](_0x5b83b8){const _0x3ddafe=a27_0xcf3aca,_0xedc19a={};_0xedc19a[_0x3ddafe(0x166)]=_0x3ddafe(0x1c8),_0xedc19a[_0x3ddafe(0xde)]=_0x3ddafe(0xf3),_0xedc19a[_0x3ddafe(0x1c3)]=_0x3ddafe(0xe6);const _0xc9674d=_0xedc19a,_0x319f35={};return _0x319f35[STATE_PASSED]=_0xc9674d[_0x3ddafe(0x166)],_0x319f35[STATE_PENDING]=_0xc9674d[_0x3ddafe(0xde)],_0x319f35[STATE_FAILED]=_0xc9674d[_0x3ddafe(0x1c3)],_0x319f35[_0x5b83b8];}[a27_0xcf3aca(0x1ef)](_0x47993c){const _0x16cf32=a27_0xcf3aca,_0xbccbd4={};_0xbccbd4[_0x16cf32(0x121)]=function(_0x99f0b6,_0x47eafe){return _0x99f0b6-_0x47eafe;};const _0x3bbc10=_0xbccbd4,_0x47a0a1=_0x47993c[_0x16cf32(0x19e)]();return _0x47a0a1[_0x16cf32(0x1a3)](0x0,_0x3bbc10[_0x16cf32(0x121)](_0x47a0a1[_0x16cf32(0x1f3)],0x1))[_0x16cf32(0x1d9)]('\x20');}[a27_0xcf3aca(0x16a)](_0x51250d){const _0x553cd1=a27_0xcf3aca,_0x1e7f05={};_0x1e7f05[_0x553cd1(0x158)]=function(_0x35e6b3,_0x138507){return _0x35e6b3-_0x138507;};const _0x332f3b=_0x1e7f05,_0x4de53f=_0x51250d[_0x553cd1(0x19e)]();return _0x4de53f['slice'](0x0,_0x332f3b[_0x553cd1(0x158)](_0x4de53f[_0x553cd1(0x1f3)],0x1));}[a27_0xcf3aca(0x16f)](_0x26f6af){const _0x4e8730=a27_0xcf3aca,_0x57b9d1={};_0x57b9d1[_0x4e8730(0xea)]=function(_0x240a0d,_0x473ef2){return _0x240a0d>_0x473ef2;};const _0x23e128=_0x57b9d1;if(_0x26f6af[_0x4e8730(0x176)])return _0x26f6af[_0x4e8730(0x176)];if(_0x26f6af[_0x4e8730(0x118)]){const _0x289004=_0x26f6af['ctx'][_0x4e8730(0xfd)]?this[_0x4e8730(0x16f)](_0x26f6af[_0x4e8730(0x118)][_0x4e8730(0xfd)]):null;if(_0x289004)return _0x289004;}if(_0x26f6af['parent']){const _0x7bca64=this[_0x4e8730(0x16f)](_0x26f6af[_0x4e8730(0x1a2)])||(_0x26f6af[_0x4e8730(0x1a2)]['ctx']&&_0x26f6af[_0x4e8730(0x1a2)][_0x4e8730(0x118)][_0x4e8730(0xfd)]?this[_0x4e8730(0x16f)](_0x26f6af[_0x4e8730(0x1a2)]['ctx']['currentTest']):null);if(_0x7bca64)return _0x7bca64;_0x26f6af['parent']['suites']&&_0x23e128[_0x4e8730(0xea)](_0x26f6af[_0x4e8730(0x1a2)][_0x4e8730(0x1e3)]['length'],0x0)&&_0x26f6af[_0x4e8730(0x1a2)]['suites'][_0x4e8730(0x1ee)](_0x575e06=>{const _0x29e521=_0x4e8730,_0x48cbd3=_0x575e06[_0x29e521(0x118)]?this['getRootParentFile'](_0x575e06[_0x29e521(0x118)]):null;if(_0x48cbd3)return _0x48cbd3;});}return null;}}module[a27_0xcf3aca(0xe4)]=MyReporter;
1
+ 'use strict';const a27_0x1dddfa=a27_0x326c;(function(_0x579d5a,_0x234a7e){const _0x2d3cb9=a27_0x326c,_0x5c7f1f=_0x579d5a();while(!![]){try{const _0x2c444e=-parseInt(_0x2d3cb9(0x17e))/0x1*(parseInt(_0x2d3cb9(0xf6))/0x2)+parseInt(_0x2d3cb9(0x177))/0x3*(parseInt(_0x2d3cb9(0x15a))/0x4)+-parseInt(_0x2d3cb9(0x1ac))/0x5*(-parseInt(_0x2d3cb9(0x176))/0x6)+parseInt(_0x2d3cb9(0xfd))/0x7*(parseInt(_0x2d3cb9(0x1f0))/0x8)+parseInt(_0x2d3cb9(0x1a5))/0x9+-parseInt(_0x2d3cb9(0x16a))/0xa*(-parseInt(_0x2d3cb9(0x15b))/0xb)+-parseInt(_0x2d3cb9(0x12e))/0xc;if(_0x2c444e===_0x234a7e)break;else _0x5c7f1f['push'](_0x5c7f1f['shift']());}catch(_0x43d8c1){_0x5c7f1f['push'](_0x5c7f1f['shift']());}}}(a27_0x432b,0xc5b0e));const util=require(a27_0x1dddfa(0xef)),fs=require('fs'),path=require(a27_0x1dddfa(0x1eb)),{requireModule}=require(a27_0x1dddfa(0xf9)),Base=requireModule('mocha/lib/reporters/base.js'),utils=requireModule(a27_0x1dddfa(0x1d3)),color=Base[a27_0x1dddfa(0x1a4)],Mocha=requireModule(a27_0x1dddfa(0x19a)),Runnable=requireModule('mocha/lib/runnable.js'),{v4:uuidv4}=require('uuid'),bsSetupHelper=require('../../../helpers/helper'),testhubUtils=require(a27_0x1dddfa(0xfa)),testHubConstants=require(a27_0x1dddfa(0x1e4)),{FRAMEWORKS}=require(a27_0x1dddfa(0x1b9)),a27_0x390018={};function a27_0x432b(){const _0x572a2d=['</dt>','bQOGj','pCxHc','getInstance','indent','XyHnL','scope','iLSvb','includes','started_at','Fqjlf','cBOZd','\x20%s','\x20-\x20','clean','hQYOy','once','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','__indents','test_run','file','__platform__','\x20\x20<dt\x20class=\x22error\x22>','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','AssertionError','bs:addPlatformDetails:','PLOPe','erZeM','\x20\x20<dd><pre><code>','fail','write','vUvxy','apply','../../../helpers/test-observability/requestQueueHandler','PcAoA','bs:addLog:','\x20\x20<dd\x20class=\x22error\x22><pre><code>','prefixTestPath','niAvj','136vBeBqV','1815781pIHqCs','hook_run','BRoyH','bind','originalTitle','testAnalyticsId','<section\x20class=\x22suite\x22>','slice','LnrKU','TestRunStarted','state','</code></pre></dd>','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','slow','javascript','30XNpWIf','File\x20path\x20could\x20not\x20be\x20found','oglNS','HpWps','type','findGitConfig','IAmka','cOSFo','bang','match','failed','COMPLETED','150FYZana','29622caCMMn','PyIjr','HookStarted','scopes','reporterOption','comma','_testResults','33653GKUsjp','inspect','exports','FzqXT','parent','UvFVK','_indents','xunit','irLxJ','cOwgT','\x20\x20%d)\x20%s','jOJig','OuHwt','logs','_testEnv','titlePath','\x20\x20<dd\x20class=\x22error\x22>','jyxGe','PBaSh','multiple','analyticsResult','lqNBl','split','result','BEFORE_ALL','bAZxq','failure','http_response','mocha','gBahK','pNaty','CqgFH','uHcIh','clZON','testStarted','appendTestPlatform','TestRunFinished','WPrID','color','3949605vGoEeF','lteDd','LogCreated','hook_type','awGIJ','XMKDF','appendTesthubParams','208235WTwYzu','passed','location_prefix','TestRunSkipped','sep','jWYut','failCount','runner','pending','after\x20each','<dl>','qakEi','retryOf','../../../helpers/test-observability/constants','pmCqg','%s\x20-\x20%s','iAmhV','qgRKC','expanded','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','Failed\x20to\x20load\x20reporter\x20','JcuRU','veBpR','toString','finished_at','event_type','getRootParentFile','failure_backtrace','isPending','</h1>','err','1|3|4|0|2','Fbxmx','hook_run_uuid','finalResults','test','HookRunStarted','DUIGX','QoSAy','mocha/lib/utils.js','iLpUG','uqnJM','rHGNB','DBtZe','markedStatus','.js','suiteCount','integrations','EVENT','mocha/lib/reporters/','root','QFStp','constants','toISOString','suites','<h1>','../../../helpers/testhub/constants','kdYpx','suite','error','CVPkN','symbols','relative','path','ttKkV','green','bright\x20yellow','shutdown','3544pHaKbT','currentTest','increaseIndent','reporterOptions','light','AFTER_ALL','shouldProcessEventForTesthub','MOCHA','HeYdW','hookAnalyticsId','JFSqo','body','CDvvG','_upstreamConfig','../../../helpers/test-observability/sessionHandler','\x20\x20<dt>','test_run_uuid','dirname','appendTestItemLog','HookFinished','wHkNh','current_hook','failure_reason_expanded','iEICi','AFTER_EACH','wluSk','IFZEU','%s\x20','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','YTKSz','cwd','_paths','tclIm','HookRunFinished','escape','</section>','decreaseIndent','NcLCK','MxJJo','iTjXh','Iwdid','stdout','call','util','</dl>','fullTitle','Mocha','dot','removeAllListeners','QpzPk','74eozLNk','ctx','ixQlP','../../../helpers/helper','../../../helpers/testhub/utils','backtrace','LRhXF','6874kdnSjZ','name','vchMT','current_test','checkmark','uQQCt','aKSxY','idKVe','currentRetry','Reporter','now','OYAWU','docHtml','prototype','consoleLog','title','XRxsR','testObservability','bsConfig','push','XWdHI','sendTestRunEvent','length','kqgDh','forEach','join','kwTgn','trim','jHUWP','before\x20each','RRnrN','BEFORE_EACH','PjhYZ','OHVmu','FLmSz','../../../helpers/test-observability/utils','pid','hWntM','gZQnH','skipped','DogNI','docAppend','.git','IZUKy','</dd>','../test-observability/mochaUtils','uploadEventData','uuid','hooks','8292864zEfJjz','results','speed','ONIwh','duration'];a27_0x432b=function(){return _0x572a2d;};return a27_0x432b();}a27_0x390018['before\x20all']=a27_0x1dddfa(0x196),a27_0x390018['after\x20all']=a27_0x1dddfa(0xc9),a27_0x390018[a27_0x1dddfa(0x11a)]=a27_0x1dddfa(0x11c),a27_0x390018[a27_0x1dddfa(0x1b5)]=a27_0x1dddfa(0xdc);function a27_0x326c(_0x4743da,_0x55263c){const _0x432b62=a27_0x432b();return a27_0x326c=function(_0x326ccd,_0x379887){_0x326ccd=_0x326ccd-0xc5;let _0x513313=_0x432b62[_0x326ccd];return _0x513313;},a27_0x326c(_0x4743da,_0x55263c);}const HOOK_TYPES_MAP=a27_0x390018,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha['Runner'][a27_0x1dddfa(0x1e0)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable['constants'],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a27_0x1dddfa(0x12a)),{consoleHolder}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a27_0x1dddfa(0xd2)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a27_0x1dddfa(0x120)),RequestQueueHandler=require(a27_0x1dddfa(0x154)),requestQueueHandler=RequestQueueHandler[a27_0x1dddfa(0x136)]();class MyReporter{constructor(_0x43cfad,_0x2ff2f5){const _0x516d51=a27_0x1dddfa,_0x56d514={'idKVe':function(_0x1f4792,_0x51144f){return _0x1f4792===_0x51144f;},'aKSxY':'spec','kqgDh':function(_0x35ee22,_0x53a418){return _0x35ee22+_0x53a418;},'IAmka':function(_0x46a371,_0x35905d){return _0x46a371+_0x35905d;},'uQQCt':function(_0x408012,_0x4ea323,_0x5077c5){return _0x408012(_0x4ea323,_0x5077c5);},'IJOcV':_0x516d51(0x1ed),'qgRKC':_0x516d51(0xdf),'LDPPk':function(_0xdf4be3,_0x2b7510,_0x7d27d6){return _0xdf4be3(_0x2b7510,_0x7d27d6);},'HeYdW':_0x516d51(0xc8),'qfFba':_0x516d51(0x1bb),'tknqP':'RUNNING','BRoyH':'doc','ONIwh':function(_0x4d8e9b,_0x48547c){return _0x4d8e9b===_0x48547c;},'DBtZe':function(_0x17c8d0){return _0x17c8d0();},'KYtYE':_0x516d51(0x1d0),'kdYpx':function(_0x442a81,_0x22a3b6){return _0x442a81===_0x22a3b6;},'gBahK':'HookRunFinished','ePjuG':function(_0x32b001,_0xb398e){return _0x32b001===_0xb398e;},'wluSk':_0x516d51(0x1ad),'LRhXF':function(_0x3223b6,_0x5aba48){return _0x3223b6===_0x5aba48;},'iEICi':'fast','PLOPe':function(_0x46e5f,_0x1ace68){return _0x46e5f+_0x1ace68;},'gZQnH':function(_0x466085,_0x3b0c46,_0x27abab){return _0x466085(_0x3b0c46,_0x27abab);},'jyxGe':_0x516d51(0x101),'RRnrN':function(_0x39af84,_0x15ab14){return _0x39af84+_0x15ab14;},'QoSAy':function(_0x2629bf,_0x1ba91f,_0x4fc016){return _0x2629bf(_0x1ba91f,_0x4fc016);},'bAZxq':'pass','IZUKy':_0x516d51(0x13f),'JJyVG':function(_0x320009,_0x5e6ca2,_0x4817fd){return _0x320009(_0x5e6ca2,_0x4817fd);},'cOSFo':function(_0x3392d5,_0x5b2152,_0x26b585){return _0x3392d5(_0x5b2152,_0x26b585);},'PBaSh':'\x20(%dms)','XRxsR':function(_0x55dbd9,_0x2f8a24,_0x11cd31){return _0x55dbd9(_0x2f8a24,_0x11cd31);},'uHcIh':_0x516d51(0x150),'PjhYZ':_0x516d51(0x188),'OuHwt':function(_0xac1adc,_0x3600c4){return _0xac1adc===_0x3600c4;},'XWdHI':function(_0xe3237,_0x3dee7f){return _0xe3237+_0x3dee7f;},'iTjXh':_0x516d51(0x1ee),'cOwgT':_0x516d51(0x175),'cBOZd':function(_0x559fb4,_0x1808f4){return _0x559fb4===_0x1808f4;},'bQOGj':_0x516d51(0xf3),'uPtcu':_0x516d51(0x168),'jHUWP':function(_0x57a283,_0x524539){return _0x57a283===_0x524539;},'euvHM':function(_0xdddd19,_0x11e23f){return _0xdddd19===_0x11e23f;},'lqNBl':_0x516d51(0x1cb),'WPrID':function(_0x54ce01,_0x5114b9){return _0x54ce01===_0x5114b9;},'tclIm':function(_0x2d7c24,_0x388633){return _0x2d7c24===_0x388633;},'DUIGX':_0x516d51(0x1b4),'wHkNh':function(_0x1564ed){return _0x1564ed();},'OHVmu':_0x516d51(0x1af),'rHGNB':function(_0x5f2d78,_0x579027){return _0x5f2d78===_0x579027;},'XyHnL':function(_0x4e697d,_0x4f2c59){return _0x4e697d(_0x4f2c59);},'Iwdid':function(_0x2ff63b){return _0x2ff63b();},'irLxJ':function(_0x317dab,_0x284be9){return _0x317dab===_0x284be9;},'iLpUG':function(_0x1db688,_0x52c94d){return _0x1db688===_0x52c94d;},'jPGUZ':_0x516d51(0x185),'tmGsQ':function(_0x16b6de,_0x3eae1a){return _0x16b6de(_0x3eae1a);},'pmCqg':function(_0x3143fa,_0x5da9fc){return _0x3143fa===_0x5da9fc;},'HlIGo':function(_0x2499a4,_0x22b750){return _0x2499a4(_0x22b750);},'RtcCq':function(_0x236925,_0x24d24d){return _0x236925!==_0x24d24d;}};this['type']=_0x2ff2f5[_0x516d51(0x17b)][_0x516d51(0x16e)],this[_0x516d51(0x10e)]=_0x56d514[_0x516d51(0xd8)](isTestObservabilitySession),Base[_0x516d51(0xee)](this,_0x43cfad,_0x2ff2f5),this[_0x516d51(0x184)]=0x0,this[_0x516d51(0x1b2)]=0x0,this['results']=[],this['finalResults']=[],this[_0x516d51(0x1da)]=0x0,this['_buildCreated']=![],this[_0x516d51(0x17d)]=[],this['_testEnv']=_0x56d514[_0x516d51(0xec)](getTestEnv),this[_0x516d51(0xe3)]=new PathHelper({'cwd':process[_0x516d51(0xe2)]()},this[_0x516d51(0x18c)][_0x516d51(0x1ae)]),this[_0x516d51(0xd1)]=_0x2ff2f5[_0x516d51(0x17b)][_0x516d51(0x10f)],this['registerListeners']();_0x56d514[_0x516d51(0x1d4)](this[_0x516d51(0x16e)],_0x56d514['BRoyH'])&&(this[_0x516d51(0x109)]='',this[_0x516d51(0x145)]=0x2);_0x43cfad[_0x516d51(0x143)](EVENT_RUN_BEGIN,async()=>{const _0x3116c6=_0x516d51;_0x56d514[_0x3116c6(0x104)](this['type'],_0x56d514[_0x3116c6(0x103)])&&Base['consoleLog']();})['on'](EVENT_SUITE_BEGIN,_0x2dde2b=>{const _0xa51336=_0x516d51;if(_0x2dde2b[_0xa51336(0x1de)])return;if(_0x56d514[_0xa51336(0x104)](this['type'],_0x56d514[_0xa51336(0x103)]))this[_0xa51336(0xc6)](),Base[_0xa51336(0x10b)](_0x56d514[_0xa51336(0x114)](_0x56d514[_0xa51336(0x170)](this[_0xa51336(0x137)](),_0x56d514[_0xa51336(0x102)](color,_0x56d514['IJOcV'],_0x56d514[_0xa51336(0x1bd)])),_0x56d514['LDPPk'](color,_0x56d514['HeYdW'],_0x56d514['qfFba'])),_0x56d514['tknqP'],_0x2dde2b['title'],global[_0xa51336(0x148)]);else _0x56d514[_0xa51336(0x104)](this['type'],_0x56d514[_0xa51336(0x15d)])&&(this[_0xa51336(0x126)](this[_0xa51336(0x137)]()+_0xa51336(0x161)),++this[_0xa51336(0x145)],this[_0xa51336(0x126)](this[_0xa51336(0x137)]()+_0xa51336(0x1e3)+utils[_0xa51336(0xe6)](_0x2dde2b['title']+_0xa51336(0x140)+global[_0xa51336(0x148)])+_0xa51336(0x1c9)),this[_0xa51336(0x126)](this[_0xa51336(0x137)]()+_0xa51336(0x1b6)));})['on'](EVENT_HOOK_BEGIN,async _0x522c3a=>{const _0x220fbb=_0x516d51;if(_0x56d514[_0x220fbb(0x131)](testhubUtils[_0x220fbb(0xca)](testHubConstants[_0x220fbb(0x1dc)][_0x220fbb(0x179)]),!![])){if(!_0x522c3a['hookAnalyticsId'])_0x522c3a['hookAnalyticsId']=_0x56d514[_0x220fbb(0x1d7)](uuidv4);else _0x522c3a[_0x220fbb(0x1d8)]&&(_0x522c3a[_0x220fbb(0xcd)]=_0x56d514['DBtZe'](uuidv4),delete _0x522c3a[_0x220fbb(0x1d8)]);_0x522c3a[_0x220fbb(0x13c)]=new Date()[_0x220fbb(0x1e1)](),this[_0x220fbb(0xd9)]=_0x522c3a,await this['sendTestRunEvent'](_0x522c3a,undefined,![],_0x56d514['KYtYE']);}})['on'](EVENT_HOOK_END,async _0x228149=>{const _0xacd40b=_0x516d51;_0x56d514[_0xacd40b(0x1e5)](testhubUtils[_0xacd40b(0xca)](testHubConstants[_0xacd40b(0x1dc)][_0xacd40b(0xd7)]),!![])&&(!_0x228149[_0xacd40b(0x1d8)]&&(_0x228149[_0xacd40b(0x1d8)]=!![],await this[_0xacd40b(0x112)](_0x228149,undefined,![],_0x56d514[_0xacd40b(0x19b)])));})['on'](EVENT_SUITE_END,_0x4b87c1=>{const _0x577c5c=_0x516d51;if(_0x4b87c1['root'])return;if(_0x56d514[_0x577c5c(0x18a)](this[_0x577c5c(0x16e)],_0x56d514[_0x577c5c(0x103)]))Base[_0x577c5c(0x10b)](),Base['consoleLog'](_0x56d514[_0x577c5c(0x111)](_0x56d514['PLOPe'](this[_0x577c5c(0x137)](),_0x56d514[_0x577c5c(0x171)](color,_0x56d514[_0x577c5c(0xeb)],_0x56d514[_0x577c5c(0x1bd)])),_0x56d514[_0x577c5c(0x10d)](color,_0x56d514[_0x577c5c(0xcc)],_0x56d514['qfFba'])),_0x56d514[_0x577c5c(0x187)],_0x4b87c1['title'],global[_0x577c5c(0x148)]),this[_0x577c5c(0x12f)][_0x577c5c(0x115)](_0x41091f=>{const _0x1791e0=_0x577c5c;if(_0x56d514['ePjuG'](_0x41091f[_0x1791e0(0x165)],_0x56d514[_0x1791e0(0xdd)])){var _0x3e78d5;_0x56d514[_0x1791e0(0xfc)](_0x41091f[_0x1791e0(0x130)],_0x56d514[_0x1791e0(0xdb)])?(_0x3e78d5=_0x56d514[_0x1791e0(0x14d)](_0x56d514[_0x1791e0(0x170)](this[_0x1791e0(0x137)](),_0x56d514['gZQnH'](color,_0x56d514[_0x1791e0(0x18f)],_0x56d514['RRnrN']('\x20\x20',Base[_0x1791e0(0x1e9)]['ok']))),_0x56d514[_0x1791e0(0x1d2)](color,_0x56d514[_0x1791e0(0x197)],_0x56d514[_0x1791e0(0x128)])),Base[_0x1791e0(0x10b)](_0x3e78d5,_0x41091f[_0x1791e0(0x10c)])):(_0x3e78d5=_0x56d514[_0x1791e0(0x11b)](_0x56d514[_0x1791e0(0x114)](_0x56d514['kqgDh'](this[_0x1791e0(0x137)](),_0x56d514['JJyVG'](color,_0x56d514[_0x1791e0(0x18f)],_0x56d514[_0x1791e0(0x114)]('\x20\x20',Base['symbols']['ok']))),_0x56d514[_0x1791e0(0x123)](color,_0x56d514[_0x1791e0(0x197)],_0x56d514['IZUKy'])),_0x56d514[_0x1791e0(0x171)](color,_0x41091f['speed'],_0x56d514[_0x1791e0(0x190)])),Base['consoleLog'](_0x3e78d5,_0x41091f['title'],_0x41091f[_0x1791e0(0x132)]));}else Base[_0x1791e0(0x10b)](_0x56d514[_0x1791e0(0x170)](this[_0x1791e0(0x137)](),_0x56d514['XRxsR'](color,_0x56d514[_0x1791e0(0x19e)],_0x56d514[_0x1791e0(0x11d)])),++this[_0x1791e0(0x1b2)],_0x41091f[_0x1791e0(0x10c)]);}),this['decreaseIndent']();else _0x56d514[_0x577c5c(0x13e)](this[_0x577c5c(0x16e)],_0x56d514[_0x577c5c(0x15d)])&&(this['docAppend'](this[_0x577c5c(0x137)]()+_0x577c5c(0xf0)),--this[_0x577c5c(0x145)],this[_0x577c5c(0x126)](this[_0x577c5c(0x137)]()+_0x577c5c(0xe7)),--this[_0x577c5c(0x145)]);Array[_0x577c5c(0x10a)]['push'][_0x577c5c(0x153)](this[_0x577c5c(0x1ce)],this[_0x577c5c(0x12f)]),this[_0x577c5c(0x12f)]=[];})['on'](EVENT_TEST_PASS,async _0x56b783=>{const _0x257d0e=_0x516d51;this[_0x257d0e(0x12f)][_0x257d0e(0x110)]({'speed':_0x56b783['speed'],'suite':_0x56b783[_0x257d0e(0x182)][_0x257d0e(0x10c)],'title':_0x56b783['title'],'fullTitle':_0x56b783[_0x257d0e(0xf1)](),'duration':_0x56b783[_0x257d0e(0x132)],'state':_0x56b783['state'],'err':{},'currentRetry':_0x56b783[_0x257d0e(0x105)](),'titlePathV':_0x56b783[_0x257d0e(0x18d)](),'isPending':_0x56b783[_0x257d0e(0x1c8)]()});if(_0x56d514['cBOZd'](this[_0x257d0e(0x16e)],_0x56d514['bQOGj']))_0x56d514[_0x257d0e(0x1e5)](_0x56b783[_0x257d0e(0x130)],_0x56d514['uPtcu'])?process[_0x257d0e(0xed)]['write'](Base[_0x257d0e(0x1a4)](_0x56d514[_0x257d0e(0xeb)],Base['symbols'][_0x257d0e(0xf3)])):process[_0x257d0e(0xed)]['write'](Base[_0x257d0e(0x1a4)](_0x56b783[_0x257d0e(0x130)],Base[_0x257d0e(0x1e9)]['dot']));else{if(_0x56d514[_0x257d0e(0x104)](this[_0x257d0e(0x16e)],_0x56d514[_0x257d0e(0x15d)])){this[_0x257d0e(0x126)](this[_0x257d0e(0x137)]()+_0x257d0e(0xd3)+utils[_0x257d0e(0xe6)](_0x56b783[_0x257d0e(0x10c)])+_0x257d0e(0x133)),this[_0x257d0e(0x126)](this[_0x257d0e(0x137)]()+_0x257d0e(0xd3)+utils[_0x257d0e(0xe6)](_0x56b783[_0x257d0e(0x147)])+'</dt>');var _0x23b34b=utils['escape'](utils['clean'](_0x56b783[_0x257d0e(0xcf)]));this[_0x257d0e(0x126)](this[_0x257d0e(0x137)]()+_0x257d0e(0x14f)+_0x23b34b+_0x257d0e(0x166));}}_0x56d514[_0x257d0e(0x18a)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x56b783[_0x257d0e(0x1d8)]&&(_0x56b783[_0x257d0e(0x1d8)]=!![],await this[_0x257d0e(0x112)](_0x56b783)));})['on'](EVENT_TEST_FAIL,async(_0xc58d05,_0x4ea517)=>{const _0x28df7e=_0x516d51;this[_0x28df7e(0x12f)][_0x28df7e(0x110)]({'title':_0xc58d05[_0x28df7e(0x10c)],'suite':_0xc58d05['parent'][_0x28df7e(0x10c)],'state':_0xc58d05[_0x28df7e(0x165)],'err':{'message':util[_0x28df7e(0x17f)](_0x4ea517)},'fullTitle':_0xc58d05[_0x28df7e(0xf1)](),'speed':_0xc58d05[_0x28df7e(0x130)],'currentRetry':_0xc58d05[_0x28df7e(0x105)](),'titlePathV':_0xc58d05[_0x28df7e(0x18d)]()});if(_0x56d514['jHUWP'](this[_0x28df7e(0x16e)],_0x56d514['bQOGj']))process[_0x28df7e(0xed)][_0x28df7e(0x151)](Base['color'](_0x56d514[_0x28df7e(0x19e)],Base[_0x28df7e(0x1e9)][_0x28df7e(0x172)]));else{if(_0x56d514['euvHM'](this['type'],_0x56d514[_0x28df7e(0x15d)])){const _0x38fcdc=_0x56d514[_0x28df7e(0x193)][_0x28df7e(0x194)]('|');let _0x4a8902=0x0;while(!![]){switch(_0x38fcdc[_0x4a8902++]){case'0':this[_0x28df7e(0x126)](this['indent']()+_0x28df7e(0x157)+_0xa0665+_0x28df7e(0x166));continue;case'1':this[_0x28df7e(0x126)](this[_0x28df7e(0x137)]()+'\x20\x20<dt\x20class=\x22error\x22>'+utils['escape'](_0xc58d05[_0x28df7e(0x10c)])+'</dt>');continue;case'2':this[_0x28df7e(0x126)](this[_0x28df7e(0x137)]()+_0x28df7e(0x18e)+utils[_0x28df7e(0xe6)](_0xc58d05[_0x28df7e(0x1ca)])+_0x28df7e(0x129));continue;case'3':this[_0x28df7e(0x126)](this[_0x28df7e(0x137)]()+_0x28df7e(0x149)+utils[_0x28df7e(0xe6)](_0xc58d05[_0x28df7e(0x147)])+'</dt>');continue;case'4':var _0xa0665=utils[_0x28df7e(0xe6)](utils[_0x28df7e(0x141)](_0xc58d05[_0x28df7e(0xcf)]));continue;}break;}}}if(_0x56d514[_0x28df7e(0x1a3)](testhubUtils[_0x28df7e(0xca)](testHubConstants['EVENT']['HookFinished']),!![])){if(!_0xc58d05['markedStatus']){_0xc58d05[_0x28df7e(0x1d8)]=!![];if(_0xc58d05[_0x28df7e(0x160)])await this[_0x28df7e(0x112)](_0xc58d05,_0x4ea517);else _0xc58d05['hookAnalyticsId']&&await this[_0x28df7e(0x112)](_0xc58d05,_0x4ea517,![],_0x56d514['gBahK']);}}})['on'](EVENT_TEST_PENDING,async _0x21b031=>{const _0x13ce50=_0x516d51;this[_0x13ce50(0x12f)][_0x13ce50(0x110)]({'title':_0x21b031[_0x13ce50(0x10c)],'suite':_0x21b031['parent'][_0x13ce50(0x10c)],'state':_0x21b031[_0x13ce50(0x165)],'err':{},'fullTitle':_0x21b031[_0x13ce50(0xf1)](),'speed':_0x21b031['speed'],'currentRetry':_0x21b031[_0x13ce50(0x105)](),'titlePathV':_0x21b031[_0x13ce50(0x18d)]()}),_0x56d514[_0x13ce50(0xe4)](this[_0x13ce50(0x16e)],_0x56d514['bQOGj'])&&process['stdout']['write'](Base[_0x13ce50(0x1a4)](_0x56d514[_0x13ce50(0x1d1)],Base[_0x13ce50(0x1e9)][_0x13ce50(0x17c)])),_0x56d514[_0x13ce50(0x119)](testhubUtils[_0x13ce50(0xca)](),!![])&&(!_0x21b031[_0x13ce50(0x160)]&&(_0x21b031[_0x13ce50(0x160)]=_0x56d514[_0x13ce50(0xd8)](uuidv4)),!_0x21b031[_0x13ce50(0x1d8)]&&(_0x21b031[_0x13ce50(0x1d8)]=!![],await this[_0x13ce50(0x112)](_0x21b031,undefined,![],_0x56d514[_0x13ce50(0x11e)])));})['on'](EVENT_TEST_BEGIN,async _0x8154fb=>{const _0x42aaff=_0x516d51;_0x56d514['kdYpx'](testhubUtils[_0x42aaff(0xca)](),!![])&&await this[_0x42aaff(0x1a0)](_0x8154fb);})['on'](EVENT_TEST_END,async _0x2b6c8e=>{const _0x578227=_0x516d51;_0x56d514[_0x578227(0x119)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x2b6c8e[_0x578227(0x1d8)]&&(_0x2b6c8e['markedStatus']=!![],await this[_0x578227(0x112)](_0x2b6c8e)));})[_0x516d51(0x143)](EVENT_RUN_END,async()=>{const _0x2acc7d=_0x516d51;try{if(_0x56d514[_0x2acc7d(0x1d6)](testhubUtils[_0x2acc7d(0xca)](),!![])){const _0x496038=_0x56d514['XyHnL'](getHookSkippedTests,this[_0x2acc7d(0x1b3)][_0x2acc7d(0x1e6)]);for(const _0x1fe15e of _0x496038){!_0x1fe15e['testAnalyticsId']&&(_0x1fe15e[_0x2acc7d(0x160)]=_0x56d514[_0x2acc7d(0xec)](uuidv4)),await this[_0x2acc7d(0x112)](_0x1fe15e,undefined,![],_0x56d514[_0x2acc7d(0x11e)]);}}}catch(_0x4398fd){_0x56d514[_0x2acc7d(0x138)](debug,_0x2acc7d(0xe0)+_0x4398fd);}await requestQueueHandler[_0x2acc7d(0x1ef)](),_0x56d514[_0x2acc7d(0x186)](this[_0x2acc7d(0x16e)],_0x56d514[_0x2acc7d(0x15d)])&&Base[_0x2acc7d(0x10b)](this['docHtml']);});if(this[_0x516d51(0x16e)]&&![_0x56d514['BRoyH'],_0x56d514['jPGUZ'],_0x56d514['aKSxY'],_0x56d514[_0x516d51(0x134)]][_0x516d51(0x13b)](this[_0x516d51(0x16e)])){const _0x1bd7f5=this['type'][_0x516d51(0x118)]();this[_0x516d51(0x106)]=null;try{this[_0x516d51(0x106)]=_0x56d514['tmGsQ'](requireModule,_0x516d51(0x1dd)+_0x1bd7f5+_0x516d51(0x1d9));}catch{}if(_0x56d514[_0x516d51(0x1ba)](this[_0x516d51(0x106)],null))try{this[_0x516d51(0x106)]=_0x56d514['HlIGo'](require,_0x1bd7f5);}catch(_0x504873){console[_0x516d51(0x1e7)](_0x516d51(0x1c0)+_0x1bd7f5);}if(_0x56d514['RtcCq'](this[_0x516d51(0x106)],null)){const _0x307836={};_0x307836[_0x516d51(0xc7)]=_0x2ff2f5[_0x516d51(0x17b)],this[_0x516d51(0x106)]=new this['Reporter'](_0x43cfad,_0x307836);}}}['indent'](){const _0x454b0a=a27_0x1dddfa,_0x294ddc={'sFFCK':function(_0x4ca819,_0x1eb97){return _0x4ca819(_0x1eb97);}};return _0x294ddc['sFFCK'](Array,this['_indents'])[_0x454b0a(0x116)]('\x20\x20');}[a27_0x1dddfa(0xc6)](){this['_indents']++;}[a27_0x1dddfa(0xe8)](){const _0x2c85cc=a27_0x1dddfa;this[_0x2c85cc(0x184)]--;}[a27_0x1dddfa(0x126)](_0x1b07a0){const _0x103ad8=a27_0x1dddfa;this[_0x103ad8(0x109)]+=_0x1b07a0;}['done'](_0x5e1d8f,_0x2d6319){const _0x512972=a27_0x1dddfa,_0x5d8639={'FzqXT':function(_0x2a094e,_0x40a5c0){return _0x2a094e(_0x40a5c0);}},_0x4c7955={};_0x4c7955['failureCount']=_0x5e1d8f,_0x4c7955[_0x512972(0x12f)]=this[_0x512972(0x1ce)],_0x5d8639[_0x512972(0x181)](_0x2d6319,_0x4c7955);}['registerListeners'](){const _0x4f95e7=a27_0x1dddfa;process['removeAllListeners'](_0x4f95e7(0x156)+process[_0x4f95e7(0x121)]),process['on'](_0x4f95e7(0x156)+process['pid'],this[_0x4f95e7(0xd6)][_0x4f95e7(0x15e)](this)),process[_0x4f95e7(0xf4)](_0x4f95e7(0x14c)+process[_0x4f95e7(0x121)]),process['on'](_0x4f95e7(0x14c)+process['pid'],this['appendTestPlatform'][_0x4f95e7(0x15e)](this));}[a27_0x1dddfa(0x1a0)]=async _0x47cd3f=>{const _0x435523=a27_0x1dddfa,_0x240f7f={'IVekg':function(_0x3a2258){return _0x3a2258();},'awGIJ':function(_0x305b0f,_0xb20fea){return _0x305b0f>_0xb20fea;},'pQEqv':function(_0x1adc14,_0x3e6f44){return _0x1adc14===_0x3e6f44;},'pCxHc':_0x435523(0x164),'qakEi':function(_0x4e1c3f,_0x466126){return _0x4e1c3f(_0x466126);}};try{const _0x2f46ef=this[_0x435523(0x100)];this['current_test']=_0x47cd3f,_0x47cd3f[_0x435523(0x1b8)]=null,_0x47cd3f['testAnalyticsId']=_0x240f7f['IVekg'](uuidv4),_0x47cd3f[_0x435523(0x13c)]=new Date()[_0x435523(0x1e1)](),_0x240f7f[_0x435523(0x1a9)](_0x47cd3f['_currentRetry'],0x0)&&_0x2f46ef&&_0x240f7f['pQEqv'](_0x2f46ef[_0x435523(0x10c)],_0x47cd3f['title'])?(_0x47cd3f[_0x435523(0x1b8)]=_0x2f46ef['testAnalyticsId'],await this['sendTestRunEvent'](_0x47cd3f,undefined,![],_0x240f7f[_0x435523(0x135)]),_0x2f46ef[_0x435523(0x165)]=STATE_FAILED,await this[_0x435523(0x112)](_0x2f46ef,undefined,!![])):await this[_0x435523(0x112)](_0x47cd3f,undefined,![],_0x240f7f['pCxHc']);}catch(_0x324e27){_0x240f7f[_0x435523(0x1b7)](debug,_0x435523(0x144)+_0x324e27);}};['sendTestRunEvent']=async(_0x216812,_0x3dde1c=undefined,_0x32a7d2=![],_0x230353=a27_0x1dddfa(0x1a2))=>{const _0x379d18=a27_0x1dddfa,_0x24632e={'MxJJo':function(_0x3fa42e,_0x56ecf5){return _0x3fa42e===_0x56ecf5;},'penrR':function(_0x4bfafa,_0x468020){return _0x4bfafa!==_0x468020;},'IGyZi':_0x379d18(0x1cf),'HpWps':_0x379d18(0x1ca),'CDvvG':function(_0x15d1d0,_0x218145){return _0x15d1d0!==_0x218145;},'PcAoA':function(_0x1120b1,_0x431857){return _0x1120b1!==_0x431857;},'vUvxy':_0x379d18(0x16b),'hwnSF':_0x379d18(0xf2),'hQYOy':_0x379d18(0x169),'iLSvb':_0x379d18(0x1af),'YTKSz':_0x379d18(0x124),'clZON':function(_0x510ade,_0x533a84){return _0x510ade-_0x533a84;},'veBpR':_0x379d18(0x14b),'QpzPk':'UnhandledError','QFStp':_0x379d18(0x13c),'PyIjr':_0x379d18(0x1c4),'XMKDF':function(_0x3e8d72,_0x4ffa8a){return _0x3e8d72(_0x4ffa8a);},'FLmSz':_0x379d18(0xe5),'pNaty':function(_0x398c48,_0x4031b2){return _0x398c48!==_0x4031b2;},'iAmhV':_0x379d18(0x174),'CVPkN':_0x379d18(0x1ad),'niAvj':_0x379d18(0x11a),'hWntM':_0x379d18(0x198),'itwuj':_0x379d18(0x1c7),'DogNI':_0x379d18(0xfb),'kwTgn':_0x379d18(0xda),'ttKkV':_0x379d18(0x1be),'IFZEU':'TestRunFinished','RSrgy':function(_0x344fe8,_0x525d6a){return _0x344fe8===_0x525d6a;},'jOJig':_0x379d18(0x1a8),'qEnoh':_0x379d18(0x15c),'uqnJM':_0x379d18(0x146),'RUakO':function(_0x198581,_0x508de5){return _0x198581(_0x508de5);}};try{if(_0x216812['body']&&_0x216812[_0x379d18(0xcf)][_0x379d18(0x173)](/browserstack internal helper hook/))return;let _0x541cf6=[];if(_0x24632e[_0x379d18(0xea)](_0x216812[_0x379d18(0x165)],STATE_FAILED)){if(_0x24632e['penrR'](_0x216812[_0x379d18(0x1ca)],undefined))_0x541cf6=_0x216812['err'][_0x379d18(0x191)]?[_0x216812['err']['multiple'],_0x24632e['IGyZi']]:[_0x216812[_0x379d18(0x1ca)],_0x24632e['HpWps']];else _0x24632e[_0x379d18(0xd0)](_0x3dde1c,undefined)?_0x541cf6=[_0x3dde1c,_0x24632e[_0x379d18(0x16d)]]:_0x541cf6=[];}const _0xaa4c00=_0x24632e['penrR'](_0x216812[_0x379d18(0x1ca)],undefined)?_0x216812['err'][_0x379d18(0x1c3)]():_0x24632e[_0x379d18(0x155)](_0x3dde1c,undefined)?_0x3dde1c['toString']():undefined;let _0x120db2;try{_0x120db2=this[_0x379d18(0x1c6)](_0x216812);}catch(_0x507205){_0x120db2=null;}const _0x4cffc1=_0x120db2?this[_0x379d18(0x16f)](_0x120db2):null,_0x290763=_0x120db2?this[_0x379d18(0xe3)][_0x379d18(0x158)](this['getRootParentFile'](_0x216812)):_0x24632e[_0x379d18(0x152)],_0x5e39f7={'framework':_0x24632e['hwnSF'],'uuid':_0x216812[_0x379d18(0x160)]||_0x216812['hookAnalyticsId'],'name':_0x216812['title'],'body':{'lang':_0x24632e[_0x379d18(0x142)],'code':_0x216812[_0x379d18(0xcf)]},'scope':this[_0x379d18(0x139)](_0x216812),'scopes':this[_0x379d18(0x17a)](_0x216812),'identifier':_0x216812[_0x379d18(0xf1)](),'file_name':_0x290763,'vc_filepath':_0x4cffc1?path[_0x379d18(0x1ea)](_0x4cffc1,_0x120db2):null,'location':_0x290763,'result':_0x24632e[_0x379d18(0xea)](_0x230353,_0x24632e[_0x379d18(0x13a)])?_0x24632e[_0x379d18(0xe1)]:this[_0x379d18(0x192)](_0x216812[_0x379d18(0x165)]),'failure_reason':_0xaa4c00,'duration_in_ms':_0x216812['duration']||(_0x230353[_0x379d18(0x173)](/Finished/)||_0x230353[_0x379d18(0x173)](/Skipped/)?_0x24632e[_0x379d18(0x19f)](Date[_0x379d18(0x107)](),new Date(_0x216812[_0x379d18(0x13c)])['getTime']()):null),'started_at':_0x216812[_0x379d18(0x13c)],'finished_at':_0x230353[_0x379d18(0x173)](/Finished/)||_0x230353[_0x379d18(0x173)](/Skipped/)?new Date()[_0x379d18(0x1e1)]():null,'failure':failureData[_0x379d18(0x153)](null,_0x541cf6),'failure_type':!_0xaa4c00?null:_0xaa4c00[_0x379d18(0x173)](/AssertionError/)?_0x24632e[_0x379d18(0x1c2)]:_0x24632e[_0x379d18(0xf5)],'retry_of':_0x216812[_0x379d18(0x1b8)]};testhubUtils[_0x379d18(0x1ab)](_0x5e39f7,_0x230353,_0x216812,FRAMEWORKS[_0x379d18(0xcb)]);_0x24632e[_0x379d18(0xea)](_0x230353,_0x24632e['iLSvb'])&&!_0x5e39f7[_0x24632e[_0x379d18(0x1df)]]&&(_0x5e39f7[_0x24632e[_0x379d18(0x1df)]]=_0x5e39f7[_0x24632e[_0x379d18(0x178)]]);if(_0x230353['match'](/HookRun/))[_0x5e39f7[_0x379d18(0x1a8)],_0x5e39f7[_0x379d18(0xfe)]]=_0x24632e[_0x379d18(0x1aa)](getHookDetails,_0x216812['fullTitle']()||_0x216812[_0x379d18(0x15f)]||_0x216812[_0x379d18(0x10c)]),_0x24632e[_0x379d18(0xea)](_0x230353,_0x24632e[_0x379d18(0x11f)])&&(_0x24632e[_0x379d18(0x19c)](_0x5e39f7['result'],_0x24632e[_0x379d18(0x1bc)])&&(_0x5e39f7[_0x379d18(0x195)]=_0x24632e[_0x379d18(0x1e8)]),_0x24632e[_0x379d18(0xea)](_0x5e39f7['hook_type'],_0x24632e[_0x379d18(0x159)])&&_0x24632e[_0x379d18(0xea)](_0x5e39f7[_0x379d18(0x195)],_0x24632e[_0x379d18(0x1bc)])&&!_0x216812['ctx']['currentTest'][_0x379d18(0x1d8)]&&(_0x216812['ctx'][_0x379d18(0xc5)]['markedStatus']=!![],_0x216812['ctx']['currentTest'][_0x379d18(0x165)]=STATE_FAILED,await this[_0x379d18(0x112)](_0x216812['ctx'][_0x379d18(0xc5)],undefined,!![])));else _0x230353[_0x379d18(0x173)](/TestRun/)&&_0x24632e[_0x379d18(0x1aa)](mapTestHooks,_0x216812);const _0xd47f6e=_0x5e39f7[_0x24632e[_0x379d18(0x122)]][0x0];_0xd47f6e&&(_0x5e39f7[_0x24632e['itwuj']]=_0xd47f6e[_0x24632e[_0x379d18(0x125)]],_0x5e39f7[_0x24632e[_0x379d18(0x117)]]=_0xd47f6e[_0x24632e[_0x379d18(0x1ec)]]);[_0x24632e[_0x379d18(0xde)],_0x24632e['iLSvb']][_0x379d18(0x13b)](_0x230353)&&(this[_0x379d18(0x17d)][_0x379d18(0x110)](_0x5e39f7),_0x5e39f7[_0x379d18(0x12d)]=_0x24632e[_0x379d18(0x1aa)](getHooksForTest,_0x216812));const _0x2daa08={'event_type':_0x24632e['RSrgy'](_0x230353,_0x24632e[_0x379d18(0x13a)])?_0x24632e[_0x379d18(0xde)]:_0x230353};_0x230353[_0x379d18(0x173)](/HookRun/)?(_0x5e39f7[_0x24632e[_0x379d18(0x189)]]=HOOK_TYPES_MAP[_0x5e39f7[_0x24632e[_0x379d18(0x189)]]],_0x2daa08[_0x24632e['qEnoh']]=_0x5e39f7):_0x2daa08[_0x24632e[_0x379d18(0x1d5)]]=_0x5e39f7,testhubUtils['setCurrentTestData'](FRAMEWORKS['MOCHA'],_0x2daa08),await SessionHandler[_0x379d18(0x12b)](_0x2daa08);}catch(_0xe80e43){_0x24632e['RUakO'](debug,_0x379d18(0x1bf)+_0x230353+'\x20with\x20error\x20:\x20'+_0xe80e43);}};[a27_0x1dddfa(0x16f)](_0x3e474){const _0x5ffa38=a27_0x1dddfa,_0x3b9191={};_0x3b9191[_0x5ffa38(0x1b1)]=function(_0x1b0c28,_0x235981){return _0x1b0c28===_0x235981;},_0x3b9191[_0x5ffa38(0xe9)]=function(_0x4b0a9e,_0x3feeaf){return _0x4b0a9e===_0x3feeaf;},_0x3b9191[_0x5ffa38(0x13d)]=function(_0x3d6aa1,_0xbae69c){return _0x3d6aa1===_0xbae69c;},_0x3b9191[_0x5ffa38(0xff)]=_0x5ffa38(0x127),_0x3b9191[_0x5ffa38(0x16c)]='config';const _0x30b5b8=_0x3b9191,_0x59d04b=path[_0x5ffa38(0x1b0)];if(_0x30b5b8[_0x5ffa38(0x1b1)](_0x3e474,null)||_0x30b5b8[_0x5ffa38(0xe9)](_0x3e474,'')||_0x30b5b8[_0x5ffa38(0xe9)](_0x3e474,_0x59d04b)||_0x30b5b8['Fqjlf'](_0x3e474,path[_0x5ffa38(0xd5)](_0x3e474)))return null;try{return fs['statSync'](path['join'](_0x3e474,_0x30b5b8[_0x5ffa38(0xff)],_0x30b5b8[_0x5ffa38(0x16c)])),_0x3e474;}catch(_0x52626a){const _0x192f3c=path[_0x5ffa38(0xd5)](_0x3e474);return this[_0x5ffa38(0x16f)](_0x192f3c);}}[a27_0x1dddfa(0xd6)]=async _0x172388=>{const _0x5a6798=a27_0x1dddfa,_0x23b330={'ixQlP':_0x5a6798(0x1a7),'LnrKU':function(_0x52687e,_0x50b9f1){return _0x52687e(_0x50b9f1);}};try{this['current_hook']&&!this[_0x5a6798(0xd9)][_0x5a6798(0x1d8)]&&(_0x172388['hook_run_uuid']=this[_0x5a6798(0xd9)][_0x5a6798(0xcd)]);!_0x172388[_0x5a6798(0x1cd)]&&this[_0x5a6798(0x100)]&&!this[_0x5a6798(0x100)][_0x5a6798(0x1d8)]&&(_0x172388['test_run_uuid']=this['current_test']['testAnalyticsId']);if(_0x172388['hook_run_uuid']||_0x172388[_0x5a6798(0xd4)]){const _0x3ff2a1={};_0x3ff2a1[_0x5a6798(0x1c5)]=_0x23b330[_0x5a6798(0xf8)],_0x3ff2a1[_0x5a6798(0x18b)]=[_0x172388],await SessionHandler[_0x5a6798(0x12b)](_0x3ff2a1);}}catch(_0x420c93){_0x23b330[_0x5a6798(0x163)](debug,_0x5a6798(0x167)+_0x420c93);}};[a27_0x1dddfa(0x1a1)]=async _0x30a094=>{const _0x3b14c0=a27_0x1dddfa,_0x2eefab={'JcuRU':_0x3b14c0(0x199),'OxtxB':'CBTSessionCreated','OYAWU':function(_0x26cb14,_0x4beaa3){return _0x26cb14(_0x4beaa3);}};try{const _0x37d75d={};_0x37d75d[_0x3b14c0(0x12c)]=_0x30a094['uuid']||this[_0x3b14c0(0x100)]['testAnalyticsId'],_0x37d75d[_0x3b14c0(0x1db)]=_0x30a094[_0x2eefab[_0x3b14c0(0x1c1)]];const _0x47dacc=_0x37d75d,_0x463b3a={};_0x463b3a[_0x3b14c0(0x1c5)]=_0x2eefab['OxtxB'],_0x463b3a[_0x3b14c0(0x146)]=_0x47dacc,await SessionHandler[_0x3b14c0(0x12b)](_0x463b3a);}catch(_0x53b9ab){_0x2eefab[_0x3b14c0(0x108)](debug,_0x3b14c0(0x14a)+_0x53b9ab);}};[a27_0x1dddfa(0x192)](_0x25cc30){const _0x1d02bd=a27_0x1dddfa,_0xcd9ca3={};_0xcd9ca3[_0x1d02bd(0x1cc)]=_0x1d02bd(0x1ad),_0xcd9ca3[_0x1d02bd(0x19d)]=_0x1d02bd(0x1b4),_0xcd9ca3[_0x1d02bd(0x1a6)]=_0x1d02bd(0x174);const _0x4870ba=_0xcd9ca3,_0x164aec={};return _0x164aec[STATE_PASSED]=_0x4870ba[_0x1d02bd(0x1cc)],_0x164aec[STATE_PENDING]=_0x4870ba[_0x1d02bd(0x19d)],_0x164aec[STATE_FAILED]=_0x4870ba[_0x1d02bd(0x1a6)],_0x164aec[_0x25cc30];}['scope'](_0x35cec6){const _0x4a3fb5=a27_0x1dddfa,_0x2f9454={};_0x2f9454[_0x4a3fb5(0x183)]=function(_0x2a31bf,_0x432886){return _0x2a31bf-_0x432886;};const _0x40f69a=_0x2f9454,_0x3bb3b6=_0x35cec6[_0x4a3fb5(0x18d)]();return _0x3bb3b6[_0x4a3fb5(0x162)](0x0,_0x40f69a[_0x4a3fb5(0x183)](_0x3bb3b6[_0x4a3fb5(0x113)],0x1))[_0x4a3fb5(0x116)]('\x20');}[a27_0x1dddfa(0x17a)](_0x2087f4){const _0x286567=a27_0x1dddfa,_0x2ffae9={};_0x2ffae9[_0x286567(0x14e)]=function(_0x524275,_0x3b1f4c){return _0x524275-_0x3b1f4c;};const _0x1cb3e8=_0x2ffae9,_0x374af7=_0x2087f4['titlePath']();return _0x374af7['slice'](0x0,_0x1cb3e8[_0x286567(0x14e)](_0x374af7['length'],0x1));}[a27_0x1dddfa(0x1c6)](_0x3837e6){const _0x4cc320=a27_0x1dddfa,_0x1b7f32={};_0x1b7f32[_0x4cc320(0xce)]=function(_0x8dab0c,_0x1a8516){return _0x8dab0c>_0x1a8516;};const _0x2a8a5d=_0x1b7f32;if(_0x3837e6['file'])return _0x3837e6['file'];if(_0x3837e6[_0x4cc320(0xf7)]){const _0x41588b=_0x3837e6[_0x4cc320(0xf7)][_0x4cc320(0xc5)]?this[_0x4cc320(0x1c6)](_0x3837e6[_0x4cc320(0xf7)][_0x4cc320(0xc5)]):null;if(_0x41588b)return _0x41588b;}if(_0x3837e6[_0x4cc320(0x182)]){const _0x36ed0e=this['getRootParentFile'](_0x3837e6['parent'])||(_0x3837e6['parent']['ctx']&&_0x3837e6[_0x4cc320(0x182)][_0x4cc320(0xf7)]['currentTest']?this[_0x4cc320(0x1c6)](_0x3837e6[_0x4cc320(0x182)][_0x4cc320(0xf7)][_0x4cc320(0xc5)]):null);if(_0x36ed0e)return _0x36ed0e;_0x3837e6[_0x4cc320(0x182)][_0x4cc320(0x1e2)]&&_0x2a8a5d['JFSqo'](_0x3837e6[_0x4cc320(0x182)][_0x4cc320(0x1e2)][_0x4cc320(0x113)],0x0)&&_0x3837e6[_0x4cc320(0x182)][_0x4cc320(0x1e2)]['forEach'](_0x33ee2b=>{const _0x575120=_0x4cc320,_0x30f5e2=_0x33ee2b['ctx']?this[_0x575120(0x1c6)](_0x33ee2b[_0x575120(0xf7)]):null;if(_0x30f5e2)return _0x30f5e2;});}return null;}}module[a27_0x1dddfa(0x180)]=MyReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a28_0x1d8f(){const _0x219e97=['QxbDz','ySUWb','--disable-test-observability','map','ttxOD','VOfQV','tiOfw','lfSXY','</testsuite>','testObservability','XUwXR','korVE','generateDiff','useColors','KYFju','VvdEZ','GtvKD','join','passes','accessibilityOptions','BROWSERSTACK_TEST_ACCESSIBILITY_YML','jONzx','mjs','reporterOptions','yellow','BROWSERSTACK_RERUN_TESTS','rootHooks','Msdtu','--disable-browserstack-automation','bgBlueBright','yOlNg','WfqBT','PDuTJ','testsPassed','1585256syEALO','isTestObservabilitySession','shouldReRunObservabilityTests','KFQCy','get','proxySettings','gbohF','push','../test-runner','Writing\x20json\x20result\x20to\x20file','\x20total','RvEJw','toUTCString','accessibility','actual','Writing\x20xunit\x20result\x20to\x20file','SvEcP','exitCode','message','markSDKSetupComplete','Ljuno','failures','isBrowserstackInfra','titlePath','mocha/lib/cli/collect-files.js','getPlatformName','CMaiy','env','finalExecution','MeBOG','jIXUz','red','\x20failed','mocha','writeFileSync','1141AhgNXY','testsFailed','DrXza','VMuSP','chalk','list','platforms','JMhEG','forEach','finally','NijpP','Tests:\x20\x20\x20\x20\x20\x20\x20','icKHf','Running\x20your\x20mocha\x20tests','DQlCs','Phvwx','printBuildLink','IPQuJ','RYszA','sWZct','has','VNutB','GomYK','Listing\x20all\x20the\x20failures','testSuites','getUserWorkerCount','prototype','GESte','DAoVW','expected','RZnRw','MoRcn','mocha/lib/reporters/base.js','spec','info','isPending','platform','../../helpers/test-observability/utils','DKqcq','rerunTests','testsPending','json','EisKr','testsuite','rmdirSync','unlinkSync','results','HoXMm','hasOwnProperty','QadzD','isUndefined','../../helpers/utilities','argv','\x20skipped','tIAZd','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','KgqlD','Couldn\x27t\x20write\x20xunit\x20result\x20to','pending','size','SDKTestSuccessful','Efyne','KmTAV','bLgbh','currentRetry','titlePathV','PFimQ','cZLDn','keys','NVVon','hUBHQ','qrUMa','zgqQZ','472565oTVWJc','\x20platforms','nmEez','sEaEK','Printing\x20stats\x20of\x20tests','jeXbC','DMZbn','BROWSERSTACK_TEST_OBSERVABILITY_YML','JznAw','geAzk','1064kYdpAd','notifyUpdate','pdWNi','object','then','min','KXNtX','kdFGL','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','length','MOCHA','error\x20removing\x20tcg\x20config\x20file','ebeUs','xunit','1146708qrlorS','qETRs','jHPSu','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','reporter','OWsfv','zCfLl','305WaBotL','Tkqxy','consoleLog','PSLZK','aTFAo','failed','bold','9309140YrWqkX','lgdrL','Total\x20Suites:\x20','green','CQwMv','files','xFtWy','BKiil','title','errorMessage','hkxxR','pNBJv','duration','ZBamb','ignore','KJpuF','VEDak','logLevel','ekRAM','LvixT','Total\x20Platforms:\x20','stringify','pruta','extension','FRAMEWORKS','3921714QIwJUa','getHubUrl','winstonLogger','jEIqH','skipped','recursive','passed','output','stack','err','OwoMj','assign','log','7122mvxcrW','walTZ','parseFileNames','OsJzE','file','suiteName','fireFunnelTestEvent','debug','../../helpers/helper','reporter-option','tXHmK','hideDiff','LxgTT','../../helpers/percy/utils','JhTgU','kCbqi','4CtybLM','useW3C','prepareCapabilities','getTCGConfigFilePaths','fhSPz','doc','Setting\x20non\x20exit\x20code\x20for\x20failures','error','../utils/constants','speed','YIPjG','exports','config','showDiff','rKabu','suite','KfBzp','Now,\x20showing\x20logs\x20from\x20mocha','cliConfig','call','yJDnv','kcDIU','GroRw','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','fullTitle','jSXsy','state','jVrgf'];a28_0x1d8f=function(){return _0x219e97;};return a28_0x1d8f();}const a28_0x46b1e8=a28_0x39ec;(function(_0x332dfa,_0x1cb7f1){const _0x48c917=a28_0x39ec,_0x514f06=_0x332dfa();while(!![]){try{const _0x2e42ca=parseInt(_0x48c917(0x234))/0x1*(-parseInt(_0x48c917(0x21f))/0x2)+parseInt(_0x48c917(0x22d))/0x3+-parseInt(_0x48c917(0x271))/0x4*(parseInt(_0x48c917(0x215))/0x5)+-parseInt(_0x48c917(0x261))/0x6*(parseInt(_0x48c917(0x2d2))/0x7)+-parseInt(_0x48c917(0x2af))/0x8+-parseInt(_0x48c917(0x254))/0x9+parseInt(_0x48c917(0x23b))/0xa;if(_0x2e42ca===_0x1cb7f1)break;else _0x514f06['push'](_0x514f06['shift']());}catch(_0x35d1ef){_0x514f06['push'](_0x514f06['shift']());}}}(a28_0x1d8f,0x37e81));const chalk=require(a28_0x46b1e8(0x2d6)),logger=require('../../helpers/logger')[a28_0x46b1e8(0x256)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a28_0x46b1e8(0x269)),utilities=require(a28_0x46b1e8(0x1ff)),testOpsHelper=require(a28_0x46b1e8(0x1f1)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x46b1e8(0x2b7)),{requireModule,nestedKeyValue}=require('../../helpers/helper'),{getPercyOptions}=require(a28_0x46b1e8(0x26e)),Base=requireModule(a28_0x46b1e8(0x1ec)),collectFiles=requireModule(a28_0x46b1e8(0x2c7)),constants=require(a28_0x46b1e8(0x279));function tag(_0x5072af,_0x504c3e,_0x2e78b5,_0x44eb5f){const _0x93d59a=a28_0x46b1e8,_0x28cb9d={'OwoMj':function(_0x3b5038,_0x26ad4f){return _0x3b5038+_0x26ad4f;},'bLgbh':function(_0x44a874,_0x36eb6e){return _0x44a874+_0x36eb6e;},'kxBJa':function(_0x134a08,_0x13837e){return _0x134a08(_0x13837e);},'JznAw':function(_0x5519b3,_0x5a8584){return _0x5519b3+_0x5a8584;},'zCfLl':function(_0x2aaf56,_0x69e695){return _0x2aaf56+_0x69e695;},'yOlNg':function(_0x169cd7,_0x1273d0){return _0x169cd7+_0x1273d0;}},_0xa2f8df=_0x2e78b5?'/>':'>',_0x979839=[];let _0x3e2a1b;for(const _0x14fc3c in _0x504c3e){Object[_0x93d59a(0x1e6)][_0x93d59a(0x1fc)][_0x93d59a(0x284)](_0x504c3e,_0x14fc3c)&&_0x979839['push'](_0x28cb9d[_0x93d59a(0x25e)](_0x28cb9d[_0x93d59a(0x25e)](_0x28cb9d[_0x93d59a(0x20b)](_0x14fc3c,'=\x22'),_0x28cb9d['kxBJa'](escape,_0x504c3e[_0x14fc3c])),'\x22'));}return _0x3e2a1b=_0x28cb9d[_0x93d59a(0x21d)](_0x28cb9d[_0x93d59a(0x233)](_0x28cb9d[_0x93d59a(0x20b)]('<',_0x5072af),_0x979839[_0x93d59a(0x228)]?_0x28cb9d[_0x93d59a(0x20b)]('\x20',_0x979839[_0x93d59a(0x29e)]('\x20')):''),_0xa2f8df),_0x44eb5f&&(_0x3e2a1b+=_0x28cb9d['zCfLl'](_0x28cb9d[_0x93d59a(0x21d)](_0x28cb9d[_0x93d59a(0x2ab)](_0x44eb5f,'</'),_0x5072af),_0xa2f8df)),_0x3e2a1b;}let xunitContent='';function xunitWrite(_0x469c8a){xunitContent+=_0x469c8a;}function xunitTest(_0x4d1ce6,_0x598944){const _0x2c7abf=a28_0x46b1e8,_0xb5915={'kdFGL':function(_0x210110,_0x48e352){return _0x210110/_0x48e352;},'nmEez':function(_0x35a88b,_0x58ed6a){return _0x35a88b===_0x58ed6a;},'RYszA':_0x2c7abf(0x239),'tiOfw':function(_0x5a4104,_0x20a9ba){return _0x5a4104+_0x20a9ba;},'VEDak':function(_0x3062ef,_0x48bd49){return _0x3062ef(_0x48bd49);},'hUBHQ':function(_0x5a842e,_0x1977d9,_0x4bc51e,_0x483138,_0x3cefe5){return _0x5a842e(_0x1977d9,_0x4bc51e,_0x483138,_0x3cefe5);},'DKqcq':'testcase','KgqlD':function(_0x166b19,_0x3a0f6a,_0xed2fc3,_0xbebd92,_0x1014ec){return _0x166b19(_0x3a0f6a,_0xed2fc3,_0xbebd92,_0x1014ec);},'hjYGS':'failure','EisKr':function(_0x3c2119,_0xc041be){return _0x3c2119+_0xc041be;},'WfqBT':function(_0x4fdab6,_0x243312){return _0x4fdab6+_0x243312;},'SvEcP':function(_0x573153,_0x2cddfc){return _0x573153(_0x2cddfc);},'MeBOG':function(_0x11899d,_0x32cae5){return _0x11899d(_0x32cae5);},'OISxn':function(_0x12df16,_0x2e4dd6){return _0x12df16(_0x2e4dd6);},'lfSXY':function(_0xecccd0,_0x2a5859){return _0xecccd0(_0x2a5859);},'PDuTJ':function(_0x358468,_0x47b0bd,_0x5c90c3,_0xc84af6){return _0x358468(_0x47b0bd,_0x5c90c3,_0xc84af6);},'KFQCy':_0x2c7abf(0x258),'jeXbC':function(_0x28b9e6,_0x3106bf){return _0x28b9e6(_0x3106bf);},'ObJux':function(_0x2fd6e8,_0xe1a8f0,_0x54ed1f,_0xfa622b){return _0x2fd6e8(_0xe1a8f0,_0x54ed1f,_0xfa622b);}};Base[_0x2c7abf(0x29a)]=![];var _0x5ecdcf={'classname':_0x4d1ce6[_0x2c7abf(0x289)],'name':_0x4d1ce6[_0x2c7abf(0x243)],'time':_0xb5915[_0x2c7abf(0x226)](_0x4d1ce6[_0x2c7abf(0x247)],0x3e8)||0x0,'platform':_0x598944};if(_0xb5915[_0x2c7abf(0x217)](_0x4d1ce6[_0x2c7abf(0x28b)],_0xb5915[_0x2c7abf(0x2e4)])){var _0x39ecca=_0x4d1ce6[_0x2c7abf(0x25d)],_0x238d67=!Base[_0x2c7abf(0x26c)]&&Base[_0x2c7abf(0x27e)](_0x39ecca)?_0xb5915[_0x2c7abf(0x293)]('\x0a',Base[_0x2c7abf(0x299)](_0x39ecca[_0x2c7abf(0x2bd)],_0x39ecca[_0x2c7abf(0x1e9)])):'';_0xb5915[_0x2c7abf(0x24b)](xunitWrite,_0xb5915[_0x2c7abf(0x212)](tag,_0xb5915[_0x2c7abf(0x1f2)],_0x5ecdcf,![],_0xb5915[_0x2c7abf(0x204)](tag,_0xb5915['hjYGS'],{},![],_0xb5915['tiOfw'](_0xb5915[_0x2c7abf(0x1f6)](_0xb5915[_0x2c7abf(0x2ac)](_0xb5915[_0x2c7abf(0x2bf)](escape,_0x39ecca[_0x2c7abf(0x2c1)]),_0xb5915[_0x2c7abf(0x2cc)](escape,_0x238d67)),'\x0a'),_0xb5915['OISxn'](escape,_0x39ecca[_0x2c7abf(0x25c)])))));}else _0x4d1ce6[_0x2c7abf(0x1ef)]?_0xb5915[_0x2c7abf(0x294)](xunitWrite,_0xb5915[_0x2c7abf(0x204)](tag,_0xb5915[_0x2c7abf(0x1f2)],_0x5ecdcf,![],_0xb5915[_0x2c7abf(0x2ad)](tag,_0xb5915[_0x2c7abf(0x2b2)],{},!![]))):_0xb5915[_0x2c7abf(0x21a)](xunitWrite,_0xb5915['ObJux'](tag,_0xb5915[_0x2c7abf(0x1f2)],_0x5ecdcf,!![]));};function getStats(_0x40fb91){const _0x4ed32d=a28_0x46b1e8,_0x5a8174={};_0x5a8174[_0x4ed32d(0x257)]=_0x4ed32d(0x280),_0x5a8174[_0x4ed32d(0x225)]=_0x4ed32d(0x25a),_0x5a8174[_0x4ed32d(0x26b)]=_0x4ed32d(0x239),_0x5a8174[_0x4ed32d(0x2d9)]=_0x4ed32d(0x1fa);const _0x54013f=_0x5a8174,_0x1d86f9=Object[_0x4ed32d(0x210)](_0x40fb91);let _0x55fd6d=0x0,_0x3eaf33=0x0,_0x543821=0x0,_0x3566a8=0x0;const _0x531f1d=new Set();_0x1d86f9['forEach'](_0x1bb082=>{const _0x10da57=_0x4ed32d,_0x4c73ec={};_0x4c73ec['kCbuP']=_0x54013f[_0x10da57(0x257)],_0x4c73ec[_0x10da57(0x218)]=_0x54013f[_0x10da57(0x225)],_0x4c73ec[_0x10da57(0x275)]=_0x54013f[_0x10da57(0x26b)];const _0x387518=_0x4c73ec;_0x40fb91[_0x1bb082][_0x54013f[_0x10da57(0x2d9)]]['forEach'](_0x1ebc06=>{const _0x231857=_0x10da57;_0x531f1d['add'](_0x1ebc06[_0x387518['kCbuP']]),_0x55fd6d++;switch(_0x1ebc06[_0x231857(0x28b)]){case _0x387518[_0x231857(0x218)]:_0x543821++;break;case _0x387518['fhSPz']:_0x3eaf33++;break;default:_0x3566a8++;}});});const _0x44419a={};return _0x44419a[_0x4ed32d(0x1e4)]=_0x531f1d[_0x4ed32d(0x207)],_0x44419a[_0x4ed32d(0x2d8)]=_0x1d86f9,_0x44419a['totalTests']=_0x55fd6d,_0x44419a[_0x4ed32d(0x2d3)]=_0x3eaf33,_0x44419a[_0x4ed32d(0x2ae)]=_0x543821,_0x44419a[_0x4ed32d(0x1f4)]=_0x3566a8,_0x44419a;}function a28_0x39ec(_0x3c3b06,_0x2465b4){const _0x1d8fac=a28_0x1d8f();return a28_0x39ec=function(_0x39ec78,_0x95221d){_0x39ec78=_0x39ec78-0x1e2;let _0x55b622=_0x1d8fac[_0x39ec78];return _0x55b622;},a28_0x39ec(_0x3c3b06,_0x2465b4);}function errorJSON(_0x5911e5){const _0x2e279c=a28_0x46b1e8;var _0x2215a5={};return Object['getOwnPropertyNames'](_0x5911e5)[_0x2e279c(0x2da)](function(_0x37f936){_0x2215a5[_0x37f936]=_0x5911e5[_0x37f936];},_0x5911e5),_0x2215a5;}function cleanCycles(_0x33d74a){const _0x41d76e=a28_0x46b1e8,_0xa1c426={};_0xa1c426['VvdEZ']=function(_0x190afa,_0x317d1e){return _0x190afa===_0x317d1e;},_0xa1c426[_0x41d76e(0x1e8)]=_0x41d76e(0x222),_0xa1c426[_0x41d76e(0x1eb)]=function(_0x41c947,_0x5a426a){return _0x41c947!==_0x5a426a;},_0xa1c426['DrXza']=function(_0x15cb8a,_0x56247c){return _0x15cb8a+_0x56247c;};const _0x11afa8=_0xa1c426;var _0x502faa=[];return JSON['parse'](JSON[_0x41d76e(0x250)](_0x33d74a,function(_0xe4c9f9,_0x4d33a8){const _0x43b2e7=_0x41d76e;if(_0x11afa8[_0x43b2e7(0x29c)](typeof _0x4d33a8,_0x11afa8[_0x43b2e7(0x1e8)])&&_0x11afa8[_0x43b2e7(0x1eb)](_0x4d33a8,null)){if(_0x11afa8[_0x43b2e7(0x1eb)](_0x502faa['indexOf'](_0x4d33a8),-0x1))return _0x11afa8[_0x43b2e7(0x2d4)]('',_0x4d33a8);_0x502faa[_0x43b2e7(0x2b6)](_0x4d33a8);}return _0x4d33a8;}));}function clean(_0x4034a1){const _0xecd8a2=a28_0x46b1e8,_0x5a1432={'yJDnv':function(_0x446a80,_0x48703f){return _0x446a80 instanceof _0x48703f;},'JhTgU':function(_0x490b51,_0x5a024b){return _0x490b51(_0x5a024b);}};var _0x32e5b5=_0x4034a1[_0xecd8a2(0x25d)]||{};return _0x5a1432[_0xecd8a2(0x285)](_0x32e5b5,Error)&&(_0x32e5b5=_0x5a1432[_0xecd8a2(0x26f)](errorJSON,_0x32e5b5)),{'title':_0x4034a1[_0xecd8a2(0x243)],'fullTitle':_0x4034a1[_0xecd8a2(0x289)],'file':_0x4034a1[_0xecd8a2(0x265)],'duration':_0x4034a1[_0xecd8a2(0x247)],'currentRetry':_0x4034a1[_0xecd8a2(0x20c)],'speed':_0x4034a1[_0xecd8a2(0x27a)],'err':_0x5a1432[_0xecd8a2(0x26f)](cleanCycles,_0x32e5b5)};}function printStats(_0x4d2282,_0xc20088=a28_0x46b1e8(0x1ed),_0x109389={}){const _0xb26fa9=a28_0x46b1e8,_0x26ef7d={'KYFju':function(_0x32efb1,_0xef0a7d){return _0x32efb1(_0xef0a7d);},'VMuSP':function(_0x14b6da,_0x2fcae6){return _0x14b6da===_0x2fcae6;},'GomYK':_0xb26fa9(0x25a),'jHPSu':_0xb26fa9(0x29f),'jVrgf':_0xb26fa9(0x239),'XUwXR':_0xb26fa9(0x2c4),'rKabu':_0xb26fa9(0x206),'VOfQV':_0xb26fa9(0x1fa),'jFrFm':function(_0x1c2b4a,_0x97499d){return _0x1c2b4a===_0x97499d;},'ebeUs':function(_0x473093,_0x122c57){return _0x473093*_0x122c57;},'YIPjG':function(_0x63ca1b,_0x561d05,_0x39bdbb){return _0x63ca1b(_0x561d05,_0x39bdbb);},'lgdrL':function(_0x11087e,_0x227a0e){return _0x11087e===_0x227a0e;},'qDJoC':function(_0x1e49e4,_0x3c70f6){return _0x1e49e4>_0x3c70f6;},'qETRs':function(_0xf65452){return _0xf65452();},'Efyne':function(_0x1e47c3,_0x2d91d0){return _0x1e47c3===_0x2d91d0;},'Jjpey':_0xb26fa9(0x276),'Ljuno':_0xb26fa9(0x277),'XkHXO':_0xb26fa9(0x219),'icKHf':function(_0x37c3cd,_0x72c78d){return _0x37c3cd+_0x72c78d;},'kCbqi':_0xb26fa9(0x24f),'jONzx':_0xb26fa9(0x23d),'KJpuF':function(_0x441ee3,_0x864d5f){return _0x441ee3+_0x864d5f;},'CMaiy':function(_0x324e70,_0x21918c){return _0x324e70+_0x21918c;},'BKiil':_0xb26fa9(0x2dd),'RZnRw':function(_0x93e6ab,_0x537ca2){return _0x93e6ab>_0x537ca2;},'meyES':function(_0x373019,_0xcc734c){return _0x373019>_0xcc734c;},'FnzoZ':function(_0x1e6c0e,_0x37fd51){return _0x1e6c0e+_0x37fd51;},'gbohF':function(_0x3a0f76,_0x486664){return _0x3a0f76+_0x486664;},'VNutB':function(_0x174d5b,_0x6cb763){return _0x174d5b+_0x6cb763;},'korVE':function(_0x5e3790,_0x1ff06f){return _0x5e3790+_0x1ff06f;},'ekRAM':'\x0a\x0a\x0a','jSXsy':function(_0x30592b,_0x4bce8a){return _0x30592b===_0x4bce8a;},'GtvKD':_0xb26fa9(0x1f5),'PFimQ':_0xb26fa9(0x2b8),'NVVon':'Couldn\x27t\x20write\x20json\x20result\x20to','KfBzp':_0xb26fa9(0x230),'qJZmb':function(_0x1ec78f,_0x30faa5){return _0x1ec78f===_0x30faa5;},'gQSCZ':_0xb26fa9(0x22c),'pdWNi':'Mocha\x20Tests','qMpMF':function(_0x3bab1a,_0x17a98f){return _0x3bab1a||_0x17a98f;},'ySUWb':function(_0x294633,_0x32ba6b){return _0x294633(_0x32ba6b);},'LxgTT':function(_0x3f4e0b,_0x468fce,_0x45dc1c,_0x4881cd){return _0x3f4e0b(_0x468fce,_0x45dc1c,_0x4881cd);},'jIXUz':_0xb26fa9(0x1f7),'PSLZK':function(_0xd3c673,_0x1b883d){return _0xd3c673-_0x1b883d;},'QxbDz':function(_0x5cf6b8,_0x29409c){return _0x5cf6b8/_0x29409c;},'qrUMa':function(_0x16cf1f,_0xc69bbf){return _0x16cf1f(_0xc69bbf);},'OvgkG':_0xb26fa9(0x295),'CQwMv':_0xb26fa9(0x2be),'zjLea':_0xb26fa9(0x205),'Phvwx':_0xb26fa9(0x203),'LvixT':_0xb26fa9(0x1e3),'iuMms':'****\x20FAILURES\x20****'};if(_0x26ef7d[_0xb26fa9(0x209)](_0xc20088,_0x26ef7d['Jjpey']))return;const _0x5262f6=0x0,_0x4b1f61=()=>{const _0x39f132=_0xb26fa9;return _0x26ef7d[_0x39f132(0x29b)](Array,_0x5262f6)[_0x39f132(0x29e)]('\x20\x20');},{testSuites:_0x3ff6e4,platforms:_0x518b68,totalTests:_0x1da261,testsFailed:_0x354773,testsPassed:_0x342789,testsPending:_0x3f4fe6}=_0x26ef7d['KYFju'](getStats,_0x4d2282);_0x26ef7d['qDJoC'](_0x354773,0x0)&&(logger[_0xb26fa9(0x268)](_0x26ef7d[_0xb26fa9(0x2c3)]),process[_0xb26fa9(0x2c0)]=Math[_0xb26fa9(0x224)](_0x354773,0xff));logger[_0xb26fa9(0x268)](_0x26ef7d['XkHXO']);const _0x330954=''+_0x26ef7d[_0xb26fa9(0x2de)](chalk[_0xb26fa9(0x23a)](_0x26ef7d[_0xb26fa9(0x270)]),_0x518b68[_0xb26fa9(0x228)]),_0x51c922=''+_0x26ef7d['icKHf'](chalk['bold'](_0x26ef7d[_0xb26fa9(0x2a2)]),_0x3ff6e4),_0x2520f0=''+_0x26ef7d[_0xb26fa9(0x24a)](_0x26ef7d[_0xb26fa9(0x24a)](_0x26ef7d[_0xb26fa9(0x2c9)](chalk[_0xb26fa9(0x23a)](_0x26ef7d[_0xb26fa9(0x242)]),_0x26ef7d[_0xb26fa9(0x1ea)](_0x354773,0x0)?chalk[_0xb26fa9(0x23a)][_0xb26fa9(0x2ce)](_0x354773+_0xb26fa9(0x2cf))+',\x20':''),_0x26ef7d[_0xb26fa9(0x1ea)](_0x3f4fe6,0x0)?chalk[_0xb26fa9(0x23a)][_0xb26fa9(0x2a5)](_0x3f4fe6+_0xb26fa9(0x201))+',\x20':''),_0x26ef7d['meyES'](_0x342789,0x0)?chalk[_0xb26fa9(0x23a)][_0xb26fa9(0x23e)](_0x342789+'\x20passed')+',\x20':'')+_0x1da261+_0xb26fa9(0x2b9);console[_0xb26fa9(0x260)](_0x26ef7d['FnzoZ'](_0x26ef7d['KJpuF'](_0x26ef7d[_0xb26fa9(0x2b5)](_0x26ef7d[_0xb26fa9(0x2e7)](_0x26ef7d[_0xb26fa9(0x298)](_0x26ef7d[_0xb26fa9(0x24d)],_0x330954),'\x0a'),_0x51c922),'\x0a'),_0x2520f0));if(_0x26ef7d[_0xb26fa9(0x28a)](_0xc20088,_0x26ef7d[_0xb26fa9(0x29d)])){const _0xdc4b42={},_0xd09406={};_0xd09406[_0xb26fa9(0x1e4)]=_0x3ff6e4,_0xd09406[_0xb26fa9(0x2d8)]=_0x518b68,_0xd09406['testsFailed']=_0x354773,_0xd09406['testsPassed']=_0x342789,_0xd09406[_0xb26fa9(0x1f4)]=_0x3f4fe6,_0xdc4b42['stats']=_0xd09406,_0x518b68[_0xb26fa9(0x2da)](_0x94ce52=>{const _0x4077e5=_0xb26fa9,_0x394536={'GroRw':function(_0xdbc3b6,_0xa858cf){return _0x26ef7d['VMuSP'](_0xdbc3b6,_0xa858cf);},'OsJzE':_0x26ef7d[_0x4077e5(0x1e2)],'qkvFz':_0x26ef7d[_0x4077e5(0x22f)],'HoXMm':function(_0x4babea,_0x20d2d8){const _0x3c996b=_0x4077e5;return _0x26ef7d[_0x3c996b(0x29b)](_0x4babea,_0x20d2d8);},'Cqvsj':_0x26ef7d[_0x4077e5(0x28c)],'GESte':_0x26ef7d[_0x4077e5(0x297)],'geAzk':_0x26ef7d[_0x4077e5(0x27f)]};_0xdc4b42[_0x94ce52]={'pending':[],'failures':[],'passes':[],'tests':_0x4d2282[_0x94ce52][_0x26ef7d[_0x4077e5(0x292)]][_0x4077e5(0x290)](clean)},_0x4d2282[_0x94ce52][_0x26ef7d[_0x4077e5(0x292)]][_0x4077e5(0x2da)](_0x3a8054=>{const _0x37fddc=_0x4077e5;if(_0x394536[_0x37fddc(0x287)](_0x3a8054[_0x37fddc(0x28b)],_0x394536[_0x37fddc(0x264)]))_0xdc4b42[_0x94ce52][_0x394536['qkvFz']][_0x37fddc(0x2b6)](_0x394536[_0x37fddc(0x1fb)](clean,_0x3a8054));else _0x394536[_0x37fddc(0x287)](_0x3a8054[_0x37fddc(0x28b)],_0x394536['Cqvsj'])?_0xdc4b42[_0x94ce52][_0x394536[_0x37fddc(0x1e7)]]['push'](_0x394536[_0x37fddc(0x1fb)](clean,_0x3a8054)):_0xdc4b42[_0x94ce52][_0x394536[_0x37fddc(0x21e)]][_0x37fddc(0x2b6)](_0x394536[_0x37fddc(0x1fb)](clean,_0x3a8054));});});if(_0x109389[_0xb26fa9(0x25b)])try{logger[_0xb26fa9(0x268)](_0x26ef7d[_0xb26fa9(0x20e)],_0x109389[_0xb26fa9(0x25b)]),fs[_0xb26fa9(0x2d1)](_0x109389[_0xb26fa9(0x25b)],JSON[_0xb26fa9(0x250)](_0xdc4b42,null,0x3));}catch(_0x5a376a){logger[_0xb26fa9(0x278)](_0x26ef7d[_0xb26fa9(0x211)],_0x109389[_0xb26fa9(0x25b)]),logger[_0xb26fa9(0x268)](_0x5a376a);}else logger['debug'](_0x26ef7d[_0xb26fa9(0x281)]),console[_0xb26fa9(0x260)](JSON[_0xb26fa9(0x250)](_0xdc4b42,null,0x3));}else{if(_0x26ef7d['qJZmb'](_0xc20088,_0x26ef7d['gQSCZ'])){let _0x3083ee;const _0x31b4b5=_0x26ef7d[_0xb26fa9(0x221)];_0x109389&&(_0x3083ee=_0x109389[_0xb26fa9(0x266)]);_0x3083ee=_0x26ef7d['qMpMF'](_0x3083ee,_0x31b4b5);let _0x1ce70e=0x0,_0x51936e=0x0,_0x30723c=0x0,_0x5f296f=0x0;_0x518b68[_0xb26fa9(0x2da)](_0xea3db0=>{const _0x3cb25b=_0xb26fa9,_0x3fdd81={'oIVEy':function(_0x35a795,_0x21ed1c){const _0x3f4239=a28_0x39ec;return _0x26ef7d[_0x3f4239(0x2d5)](_0x35a795,_0x21ed1c);},'cZLDn':_0x26ef7d[_0x3cb25b(0x1e2)],'ZBamb':function(_0xdc42fb,_0x231b3b){return _0x26ef7d['jFrFm'](_0xdc42fb,_0x231b3b);},'hKYUx':_0x26ef7d[_0x3cb25b(0x28c)],'FcZad':function(_0x1bc0cd,_0x14c32a){const _0x19ae66=_0x3cb25b;return _0x26ef7d[_0x19ae66(0x22b)](_0x1bc0cd,_0x14c32a);}};_0x4d2282[_0xea3db0][_0x26ef7d['VOfQV']][_0x3cb25b(0x2da)](_0x37b5ba=>{const _0x3d6735=_0x3cb25b;if(_0x3fdd81['oIVEy'](_0x37b5ba['state'],_0x3fdd81[_0x3d6735(0x20f)]))_0x1ce70e++;else _0x3fdd81[_0x3d6735(0x248)](_0x37b5ba[_0x3d6735(0x28b)],_0x3fdd81['hKYUx'])&&_0x51936e++;_0x30723c++,_0x5f296f+=_0x3fdd81['FcZad'](_0x37b5ba['duration'],0x1);});}),_0x26ef7d[_0xb26fa9(0x28e)](xunitWrite,_0x26ef7d[_0xb26fa9(0x26d)](tag,_0x26ef7d[_0xb26fa9(0x2cd)],{'name':_0x3083ee,'tests':_0x30723c,'failures':0x0,'errors':_0x51936e,'skipped':_0x26ef7d['PSLZK'](_0x26ef7d[_0xb26fa9(0x237)](_0x30723c,_0x51936e),_0x1ce70e),'timestamp':new Date()[_0xb26fa9(0x2bb)](),'time':_0x26ef7d[_0xb26fa9(0x28d)](_0x5f296f,0x3e8)||0x0},![])),_0x518b68[_0xb26fa9(0x2da)](_0x34c567=>{const _0xa73ab2=_0xb26fa9,_0x47f705={'kcDIU':function(_0x193674,_0x5bab07,_0x537e78){const _0xc80304=a28_0x39ec;return _0x26ef7d[_0xc80304(0x27b)](_0x193674,_0x5bab07,_0x537e78);}};_0x4d2282[_0x34c567][_0x26ef7d[_0xa73ab2(0x292)]][_0xa73ab2(0x2da)](_0x117ad3=>{const _0x318498=_0xa73ab2;_0x47f705[_0x318498(0x286)](xunitTest,_0x117ad3,_0x34c567);});}),_0x26ef7d[_0xb26fa9(0x213)](xunitWrite,_0x26ef7d['OvgkG']);if(_0x109389[_0xb26fa9(0x25b)])try{logger[_0xb26fa9(0x268)](_0x26ef7d[_0xb26fa9(0x23f)],_0x109389[_0xb26fa9(0x25b)]),fs[_0xb26fa9(0x2d1)](_0x109389['output'],xunitContent);}catch(_0x6ad5ac){logger[_0xb26fa9(0x278)](_0x26ef7d['zjLea'],_0x109389[_0xb26fa9(0x25b)]),logger[_0xb26fa9(0x268)](_0x6ad5ac);}else logger[_0xb26fa9(0x268)](_0x26ef7d[_0xb26fa9(0x2e1)]),console[_0xb26fa9(0x260)](xunitContent);}else{if(_0x26ef7d[_0xb26fa9(0x28a)](_0x354773,0x0))return;console['log'](),logger[_0xb26fa9(0x268)](_0x26ef7d[_0xb26fa9(0x24e)]),console[_0xb26fa9(0x260)](chalk[_0xb26fa9(0x23a)]['bgRedBright'](_0x26ef7d['iuMms'])),_0x518b68[_0xb26fa9(0x2da)](_0x13b4c6=>{const _0x382153=_0xb26fa9,_0x11c227={'ttxOD':function(_0x28a5a1,_0x273331){const _0x26e6c2=a28_0x39ec;return _0x26ef7d[_0x26e6c2(0x23c)](_0x28a5a1,_0x273331);},'DMZbn':_0x26ef7d[_0x382153(0x28c)]},_0x4e5e52=[];_0x4d2282[_0x13b4c6][_0x26ef7d[_0x382153(0x292)]][_0x382153(0x2da)](_0x3a7b77=>{const _0x4637d8=_0x382153;_0x11c227[_0x4637d8(0x291)](_0x3a7b77[_0x4637d8(0x28b)],_0x11c227[_0x4637d8(0x21b)])&&(_0x3a7b77[_0x4637d8(0x2c6)]=()=>_0x3a7b77[_0x4637d8(0x20d)],_0x4e5e52['push'](_0x3a7b77));}),_0x26ef7d['qDJoC'](_0x4e5e52[_0x382153(0x228)],0x0)&&(Base[_0x382153(0x236)](),Base['consoleLog'](_0x26ef7d[_0x382153(0x22e)](_0x4b1f61),chalk['bold'][_0x382153(0x2aa)](_0x13b4c6)),Base[_0x382153(0x2d7)](_0x4e5e52));});}}}async function run(_0x387440,_0x5f4227){const _0x257760=a28_0x46b1e8,_0x49c412={'sWZct':function(_0x1df502,_0x39841c,_0xe6b567,_0x5685b0){return _0x1df502(_0x39841c,_0xe6b567,_0x5685b0);},'DQlCs':_0x257760(0x26a),'KmTAV':_0x257760(0x22a),'Msdtu':_0x257760(0x208),'RvEJw':function(_0x413838,_0x5bfba8,_0x189c65,_0xc02ad2){return _0x413838(_0x5bfba8,_0x189c65,_0xc02ad2);},'pruta':_0x257760(0x2d0),'walTZ':_0x257760(0x28f),'QadzD':_0x257760(0x2a9),'tIAZd':function(_0x533f48,_0x190769){return _0x533f48!=_0x190769;},'OWsfv':'cjs','pNBJv':_0x257760(0x2a3),'xFtWy':'test','Tkqxy':_0x257760(0x1f3),'hkxxR':function(_0x4934ef,_0x127996){return _0x4934ef(_0x127996);},'sUzZf':function(_0x4e0c0b,_0x2762d1,_0x493186){return _0x4e0c0b(_0x2762d1,_0x493186);},'NijpP':_0x257760(0x240),'IPQuJ':_0x257760(0x2df),'aTFAo':_0x257760(0x282),'sURiA':function(_0x3a3459,_0x476121,_0x4fa086,_0x1bf729){return _0x3a3459(_0x476121,_0x4fa086,_0x1bf729);},'WgSnD':function(_0xb2a2bd,_0x4fe8b1){return _0xb2a2bd*_0x4fe8b1;},'aEhHf':function(_0x15624e,_0x349095){return _0x15624e!==_0x349095;},'zgqQZ':function(_0xcbb081,_0x3597f4,_0x2573f5,_0x2f67e3){return _0xcbb081(_0x3597f4,_0x2573f5,_0x2f67e3);}};process[_0x257760(0x200)]['includes'](_0x49c412[_0x257760(0x262)])&&(process[_0x257760(0x2ca)]['BROWSERSTACK_TEST_OBSERVABILITY']=![]);process[_0x257760(0x200)]['includes'](_0x49c412[_0x257760(0x1fd)])&&(process[_0x257760(0x2ca)]['BROWSERSTACK_AUTOMATION']=![]);const _0x2f9f3b=new BrowserStackSetup(_0x387440,_0x49c412[_0x257760(0x251)]);helper[_0x257760(0x2c5)]()?(await _0x2f9f3b['initialize'](),await helper['handleApp'](_0x2f9f3b[_0x257760(0x27d)])):await _0x2f9f3b['setupTCGAuth']();const _0x302d5f=[];let _0x4e4e10=[];if(!_0x2f9f3b[_0x257760(0x27d)])return;_0x49c412[_0x257760(0x202)](_0x2f9f3b[_0x257760(0x27d)]['testObservability'],null)&&(process[_0x257760(0x2ca)][_0x257760(0x21c)]=_0x2f9f3b[_0x257760(0x27d)][_0x257760(0x296)]);!helper[_0x257760(0x1fe)](_0x2f9f3b[_0x257760(0x27d)][_0x257760(0x2bc)])&&(process[_0x257760(0x2ca)][_0x257760(0x2a1)]=_0x2f9f3b[_0x257760(0x27d)][_0x257760(0x2bc)]);!helper[_0x257760(0x1fe)](_0x2f9f3b[_0x257760(0x27d)][_0x257760(0x2a0)])&&(process[_0x257760(0x2ca)][_0x257760(0x227)]=JSON[_0x257760(0x250)](_0x2f9f3b[_0x257760(0x27d)][_0x257760(0x2a0)]));const {extension:extension=['js',_0x49c412[_0x257760(0x232)],_0x49c412[_0x257760(0x246)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x49c412[_0x257760(0x241)]]}=_0x387440,_0x3c613d={..._0x387440};_0x3c613d[_0x257760(0x2a7)]=null;const _0x1f5203=_0x3c613d;let _0x2b126f;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x257760(0x2b1)]()){let _0x219aca=process[_0x257760(0x2ca)][_0x257760(0x2a6)];!helper[_0x257760(0x1fe)](_0x2f9f3b[_0x257760(0x283)])&&_0x2f9f3b[_0x257760(0x283)][_0x257760(0x2e6)](_0x49c412[_0x257760(0x235)])&&(_0x219aca=_0x2f9f3b[_0x257760(0x283)][_0x257760(0x2b3)](_0x49c412[_0x257760(0x235)])),_0x2b126f=testOpsHelper[_0x257760(0x263)](_0x219aca);}if(helper[_0x257760(0x1fe)](_0x2b126f)){const _0x482046={};_0x482046[_0x257760(0x249)]=ignore,_0x482046[_0x257760(0x252)]=extension,_0x482046['file']=file,_0x482046[_0x257760(0x259)]=recursive,_0x482046['sort']=sort,_0x482046['spec']=spec,_0x2b126f=_0x49c412[_0x257760(0x245)](collectFiles,_0x482046),_0x49c412['sUzZf'](nestedKeyValue,_0x2b126f,[_0x49c412[_0x257760(0x2dc)]])&&(_0x2b126f=_0x2b126f['files']);}helper[_0x257760(0x2c2)]();if(!helper['isBrowserstackInfra']()){const _0xc36f44=0x1,_0x36a624={..._0x1f5203};_0x36a624['spec']=[..._0x2b126f],_0x302d5f[_0x257760(0x2b6)]({'mochaOpts':_0x36a624,'configuration':{'platform':os[_0x257760(0x1f0)]()}}),logger[_0x257760(0x1ee)](_0x49c412[_0x257760(0x2e3)]),logger[_0x257760(0x1ee)](_0x49c412[_0x257760(0x238)]),_0x49c412['sURiA'](parallelTestRun,_0x302d5f,_0xc36f44,_0x2f9f3b)[_0x257760(0x223)](_0x363858=>{const _0x72e307=_0x257760;_0x49c412[_0x72e307(0x2e5)](printStats,_0x363858,_0x387440[_0x72e307(0x231)],_0x387440[_0x72e307(0x2a4)]||_0x387440[_0x49c412[_0x72e307(0x2e0)]]);})['finally'](()=>{const _0x39642a=_0x257760;try{const {browserstackFolderPath:_0x571984,tcgConfigPath:_0xb2b531}=helper[_0x39642a(0x274)]();fs[_0x39642a(0x1f9)](_0xb2b531),fs[_0x39642a(0x1f8)](_0x571984);}catch(_0x382985){logger[_0x39642a(0x268)](_0x49c412[_0x39642a(0x20a)],_0x382985);}try{utilities[_0x39642a(0x267)](_0x49c412[_0x39642a(0x2a8)],{},_0x2f9f3b['config'],_0x2f9f3b['framework']);}catch(_0x5dd9ce){logger[_0x39642a(0x268)](_0x39642a(0x288)+_0x5dd9ce);}try{helper[_0x39642a(0x220)]();}catch(_0x293738){logger[_0x39642a(0x268)]('Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20'+_0x293738);}testOpsHelper[_0x39642a(0x2e2)]();});}else{const _0x565222=helper[_0x257760(0x272)](_0x2f9f3b[_0x257760(0x27d)]),_0x22e4ba=helper[_0x257760(0x255)](_0x2f9f3b[_0x257760(0x27d)]);_0x4e4e10=helper[_0x257760(0x273)](_0x2f9f3b[_0x257760(0x27d)],_0x565222,constants[_0x257760(0x253)][_0x257760(0x229)]);let _0x2565d5;const _0x2db3e8=_0x2f9f3b[_0x257760(0x27d)]['parallelsPerPlatform']||helper[_0x257760(0x1e5)](_0x387440,_0x5f4227,_0x2f9f3b[_0x257760(0x27d)],constants[_0x257760(0x253)][_0x257760(0x229)])||0x1;helper['validPlatformsPresent'](_0x2f9f3b['config'])?_0x2565d5=_0x49c412['WgSnD'](_0x2f9f3b[_0x257760(0x27d)][_0x257760(0x2d8)][_0x257760(0x228)],_0x2db3e8):_0x2565d5=_0x2db3e8;const _0x5efe8a=_0x49c412[_0x257760(0x245)](getPercyOptions,_0x2f9f3b[_0x257760(0x27d)]);if(_0x49c412['aEhHf'](_0x2f9f3b[_0x257760(0x27d)]['parallelsPerPlatform'],0x1))_0x2b126f[_0x257760(0x2da)](_0x1981bf=>{const _0x431abc=_0x257760,_0x1bddd7=[];_0x4e4e10[_0x431abc(0x2da)]((_0x364dd0,_0x31b750)=>{const _0x2b039c=_0x431abc,_0x32886c={};_0x32886c[_0x2b039c(0x1ed)]=[_0x1981bf],_0x1bddd7['push']({'mochaOpts':Object[_0x2b039c(0x25f)]({},_0x1f5203,_0x32886c),'configuration':{'server':_0x22e4ba,'capability':_0x364dd0,'proxySettings':_0x2f9f3b[_0x2b039c(0x27d)][_0x2b039c(0x2b4)],'platform':helper[_0x2b039c(0x2c8)](_0x364dd0),'browserStackLogLevel':_0x2f9f3b[_0x2b039c(0x27d)][_0x2b039c(0x24c)],'platformIndex':_0x31b750,'browserStackPercyOptions':_0x5efe8a,'platformCaps':_0x2f9f3b[_0x2b039c(0x27d)][_0x2b039c(0x2d8)][_0x31b750]}});}),_0x302d5f[_0x431abc(0x2b6)](..._0x1bddd7);});else{const _0x409766=[];_0x4e4e10['forEach']((_0x4ad479,_0x1d9570)=>{const _0x1a2bce=_0x257760;let _0x27f673=Object[_0x1a2bce(0x25f)]({},_0x1f5203);testOpsHelper[_0x1a2bce(0x2b0)]()&&testOpsHelper[_0x1a2bce(0x2b1)]()&&(_0x27f673={..._0x27f673,'spec':[..._0x2b126f]}),_0x409766[_0x1a2bce(0x2b6)]({'mochaOpts':_0x27f673,'configuration':{'server':_0x22e4ba,'capability':_0x4ad479,'proxySettings':_0x2f9f3b[_0x1a2bce(0x27d)]['proxySettings'],'platform':helper[_0x1a2bce(0x2c8)](_0x4ad479),'browserStackLogLevel':_0x2f9f3b[_0x1a2bce(0x27d)][_0x1a2bce(0x24c)],'platformIndex':_0x1d9570,'browserStackPercyOptions':_0x5efe8a,'platformCaps':_0x2f9f3b['config'][_0x1a2bce(0x2d8)][_0x1d9570]}});}),_0x302d5f[_0x257760(0x2b6)](..._0x409766);}logger[_0x257760(0x1ee)]('Running\x20your\x20mocha\x20tests\x20across\x20'+_0x2f9f3b[_0x257760(0x27d)]['platforms'][_0x257760(0x228)]+_0x257760(0x216)),logger[_0x257760(0x1ee)](_0x49c412['aTFAo']);let _0xd6c76;_0x49c412[_0x257760(0x214)](parallelTestRun,_0x302d5f,_0x2565d5,_0x2f9f3b)[_0x257760(0x223)](_0x368e21=>{const _0x21b27a=_0x257760;_0xd6c76=_0x368e21,_0x49c412[_0x21b27a(0x2ba)](printStats,_0x368e21,_0x387440[_0x21b27a(0x231)],_0x387440[_0x21b27a(0x2a4)]||_0x387440[_0x49c412[_0x21b27a(0x2e0)]]);})[_0x257760(0x2db)](async()=>{const _0x2ae944=_0x257760;_0x2f9f3b[_0x2ae944(0x244)]=helper['getErrorMessageFromResults'](_0xd6c76,_0x49c412[_0x2ae944(0x251)]),await utilities[_0x2ae944(0x2cb)](_0x2f9f3b),testOpsHelper['printBuildLink']();});}}module[a28_0x46b1e8(0x27c)]=run;
2
+ 'use strict';const a28_0x51f72a=a28_0x4c54;function a28_0x4c54(_0x55a2cd,_0x3fe71e){const _0x4bd19b=a28_0x4bd1();return a28_0x4c54=function(_0x4c5485,_0x1cf5cb){_0x4c5485=_0x4c5485-0x1b2;let _0x15080b=_0x4bd19b[_0x4c5485];return _0x15080b;},a28_0x4c54(_0x55a2cd,_0x3fe71e);}(function(_0x164f58,_0x33bbf6){const _0x3a4d33=a28_0x4c54,_0x57ded6=_0x164f58();while(!![]){try{const _0x5333cc=-parseInt(_0x3a4d33(0x221))/0x1*(parseInt(_0x3a4d33(0x1ea))/0x2)+-parseInt(_0x3a4d33(0x29c))/0x3*(parseInt(_0x3a4d33(0x1be))/0x4)+-parseInt(_0x3a4d33(0x296))/0x5*(-parseInt(_0x3a4d33(0x240))/0x6)+parseInt(_0x3a4d33(0x288))/0x7*(-parseInt(_0x3a4d33(0x273))/0x8)+-parseInt(_0x3a4d33(0x1d2))/0x9*(-parseInt(_0x3a4d33(0x1f2))/0xa)+-parseInt(_0x3a4d33(0x244))/0xb*(-parseInt(_0x3a4d33(0x29a))/0xc)+parseInt(_0x3a4d33(0x1c9))/0xd*(-parseInt(_0x3a4d33(0x295))/0xe);if(_0x5333cc===_0x33bbf6)break;else _0x57ded6['push'](_0x57ded6['shift']());}catch(_0x56d422){_0x57ded6['push'](_0x57ded6['shift']());}}}(a28_0x4bd1,0xa8f20));const chalk=require(a28_0x51f72a(0x2ac)),logger=require(a28_0x51f72a(0x21e))[a28_0x51f72a(0x275)],{default:BrowserStackSetup}=require(a28_0x51f72a(0x26b)),helper=require(a28_0x51f72a(0x27a)),utilities=require(a28_0x51f72a(0x245)),testOpsHelper=require(a28_0x51f72a(0x289)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x51f72a(0x28e)),{requireModule,nestedKeyValue}=require(a28_0x51f72a(0x27a)),{getPercyOptions}=require(a28_0x51f72a(0x1e8)),Base=requireModule(a28_0x51f72a(0x278)),collectFiles=requireModule(a28_0x51f72a(0x1e2)),constants=require(a28_0x51f72a(0x1e4));function a28_0x4bd1(){const _0x1c5641=['IBfrR','file','qWWAZ','assign','rMkdj','WIZBc','YBEAm','then','generateDiff','UbzuC','config','YugFY','CxMub','Writing\x20xunit\x20result\x20to\x20file','aDUhJ','proxySettings','NsUok','RHokL','UhThA','114duBckB','parse','kybAm','bgBlueBright','657833yZcXMs','../../helpers/utilities','WMHQk','--disable-test-observability','anCzf','icelw','Couldn\x27t\x20write\x20json\x20result\x20to','dfpAe','YqPav','cliConfig','Listing\x20all\x20the\x20failures','boKQq','state','\x0a\x0a\x0a','BROWSERSTACK_RERUN_TESTS','\x20failed','WoTfZ','MHWmR','add','mjs','KTbZd','length','VfiHX','YAYch','fwyQG','uxFYC','output','Hipme','cjs','oAxjH','aApXN','hideDiff','testObservability','get','setupTCGAuth','exports','MOCHA','keys','sort','../../helpers/BrowserStackSetup','--disable-browserstack-automation','Kozle','nTQug','kzepo','pending','call','gJwoN','13256VqHZxa','ahbet','winstonLogger','xypMB','writeFileSync','mocha/lib/reporters/base.js','push','../../helpers/helper','CxdbR','isTestObservabilitySession','bgRedBright','isBrowserstackInfra','rootHooks','map','iBXQr','Couldn\x27t\x20write\x20xunit\x20result\x20to','feqGl','xRMqE','AHduN','title','CTlgE','2569nwnjEk','../../helpers/test-observability/utils','AwnUq','DKywN','red','XGWvX','../test-runner','mglol','hasOwnProperty','getOwnPropertyNames','notifyUpdate','message','BROWSERSTACK_TEST_ACCESSIBILITY_YML','5474zKmkXB','309890OcanIE','cLpTc','jcDxi','failed','228bVyqne','FTBeG','3hVjgqG','shouldReRunObservabilityTests','min','fullTitle','initialize','testsuite','RhSCv','suYIp','platforms','eobuN','dxGxP','ignore','JWqFW','prepareCapabilities','unlinkSync','validPlatformsPresent','chalk','eEJTl','extension','CMbnA','uVDNu','markSDKSetupComplete','\x20skipped','log','reporter-option','prototype','getUserWorkerCount','logLevel','getErrorMessageFromResults','2278292AgpcOM','env','YDbgJ','isUndefined','lzuMR','reporterOptions','xunit','yAoUm','stringify','reporter','vtUyJ','35789zJHfqy','yFqNj','info','VNAiz','Total\x20Suites:\x20','oyVzc','rerunTests','expected','platform','3282453qTmpWu','dVIIy','aeHNk','hdwCO','list','files','xKIKH','failure','consoleLog','IPDge','eAXyK','join','parallelsPerPlatform','qCuPZ','BROWSERSTACK_TEST_OBSERVABILITY_YML','argv','mocha/lib/cli/collect-files.js','debug','../utils/constants','testSuites','WWfgm','accessibilityOptions','../../helpers/percy/utils','BROWSERSTACK_TEST_OBSERVABILITY','6tbAHzk','OHGLw','duration','indexOf','****\x20FAILURES\x20****','rwxcT','skipped','RObHv','20WotfVd','Total\x20Platforms:\x20','stats','Writing\x20json\x20result\x20to\x20file','ehuWA','passes','fireFunnelTestEvent','AaLPm','forEach','testsFailed','printBuildLink','suite','testsPassed','finally','testcase','includes','useW3C','zUpal','parseFileNames','error\x20removing\x20tcg\x20config\x20file','eQfQl','SqjoJ','passed','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','currentRetry','FRAMEWORKS','GSlfx','ajQbS','getTCGConfigFilePaths','size','yellow','gixSN','error','OMnby','framework','showDiff','isPending','WzYpT','JgbHp','titlePath','aZxne','finalExecution','Mocha\x20Tests','FRcNq','../../helpers/logger','DYxAu','totalTests','32386BOvQmW','spec','xprBN','titlePathV','Tests:\x20\x20\x20\x20\x20\x20\x20','SfjJP','msnQB','getPlatformName','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','vwtDm','bold','doc'];a28_0x4bd1=function(){return _0x1c5641;};return a28_0x4bd1();}function tag(_0x5dc046,_0x532685,_0x2962ba,_0x8e8a20){const _0x2efe8f=a28_0x51f72a,_0x46da2d={'SfjJP':function(_0x33d2f8,_0x481204){return _0x33d2f8+_0x481204;},'xypMB':function(_0x501a79,_0x57d6f6){return _0x501a79+_0x57d6f6;},'YDbgJ':function(_0x266d3e,_0x5664d6){return _0x266d3e+_0x5664d6;},'cgHyQ':function(_0x9a7602,_0x22ad48){return _0x9a7602(_0x22ad48);},'WIZBc':function(_0x21edd0,_0x4091a8){return _0x21edd0+_0x4091a8;},'GSlfx':function(_0x70290a,_0x31c882){return _0x70290a+_0x31c882;},'CxdbR':function(_0xed2e33,_0x4bf4ff){return _0xed2e33+_0x4bf4ff;},'ahbet':function(_0x4ed1bc,_0x266f9e){return _0x4ed1bc+_0x266f9e;}},_0x4adb33=_0x2962ba?'/>':'>',_0x4aa345=[];let _0x42f60f;for(const _0x437822 in _0x532685){Object[_0x2efe8f(0x1ba)][_0x2efe8f(0x290)][_0x2efe8f(0x271)](_0x532685,_0x437822)&&_0x4aa345[_0x2efe8f(0x279)](_0x46da2d[_0x2efe8f(0x226)](_0x46da2d[_0x2efe8f(0x276)](_0x46da2d[_0x2efe8f(0x1c0)](_0x437822,'=\x22'),_0x46da2d['cgHyQ'](escape,_0x532685[_0x437822])),'\x22'));}return _0x42f60f=_0x46da2d[_0x2efe8f(0x232)](_0x46da2d[_0x2efe8f(0x20c)](_0x46da2d[_0x2efe8f(0x27b)]('<',_0x5dc046),_0x4aa345[_0x2efe8f(0x259)]?_0x46da2d[_0x2efe8f(0x27b)]('\x20',_0x4aa345[_0x2efe8f(0x1dd)]('\x20')):''),_0x4adb33),_0x8e8a20&&(_0x42f60f+=_0x46da2d['SfjJP'](_0x46da2d[_0x2efe8f(0x20c)](_0x46da2d[_0x2efe8f(0x274)](_0x8e8a20,'</'),_0x5dc046),_0x4adb33)),_0x42f60f;}let xunitContent='';function xunitWrite(_0x174328){xunitContent+=_0x174328;}function xunitTest(_0x45f362,_0x59f036){const _0x4b207f=a28_0x51f72a,_0x5148d7={'Cdvzz':function(_0x518480,_0x20bf44){return _0x518480/_0x20bf44;},'cLpTc':function(_0x2d3c43,_0x9e52c4){return _0x2d3c43===_0x9e52c4;},'YugFY':'failed','OHGLw':function(_0x5f48e7,_0x36ae2c){return _0x5f48e7+_0x36ae2c;},'YqPav':function(_0x4f9af3,_0x459363){return _0x4f9af3(_0x459363);},'UhThA':function(_0x2d91db,_0x3b3688,_0x24b5a4,_0x141ea7,_0x2079f9){return _0x2d91db(_0x3b3688,_0x24b5a4,_0x141ea7,_0x2079f9);},'boKQq':_0x4b207f(0x200),'Omtud':_0x4b207f(0x1d9),'msnQB':function(_0x326638,_0x232c65){return _0x326638+_0x232c65;},'qCuPZ':function(_0x260c82,_0x536014){return _0x260c82+_0x536014;},'ehuWA':function(_0x50495e,_0x1c7e0d){return _0x50495e+_0x1c7e0d;},'DYxAu':function(_0xefafeb,_0x44a70f){return _0xefafeb(_0x44a70f);},'oAxjH':function(_0x1bfe5d,_0x5b0c45){return _0x1bfe5d(_0x5b0c45);},'jcDxi':function(_0x2fde7e,_0x2dd5c3,_0x516514,_0xd1dc57){return _0x2fde7e(_0x2dd5c3,_0x516514,_0xd1dc57);},'dxGxP':_0x4b207f(0x1f0),'xRMqE':function(_0x1a221c,_0xbcdd72){return _0x1a221c(_0xbcdd72);},'iajse':function(_0x50fbdf,_0x24e66c,_0x1626f1,_0x17f790){return _0x50fbdf(_0x24e66c,_0x1626f1,_0x17f790);}};Base['useColors']=![];var _0x20c882={'classname':_0x45f362[_0x4b207f(0x29f)],'name':_0x45f362[_0x4b207f(0x286)],'time':_0x5148d7['Cdvzz'](_0x45f362[_0x4b207f(0x1ec)],0x3e8)||0x0,'platform':_0x59f036};if(_0x5148d7[_0x4b207f(0x297)](_0x45f362['state'],_0x5148d7[_0x4b207f(0x238)])){var _0x50947c=_0x45f362['err'],_0x2eeaca=!Base[_0x4b207f(0x263)]&&Base[_0x4b207f(0x215)](_0x50947c)?_0x5148d7[_0x4b207f(0x1eb)]('\x0a',Base[_0x4b207f(0x235)](_0x50947c['actual'],_0x50947c[_0x4b207f(0x1d0)])):'';_0x5148d7[_0x4b207f(0x24c)](xunitWrite,_0x5148d7['UhThA'](tag,_0x5148d7[_0x4b207f(0x24f)],_0x20c882,![],_0x5148d7[_0x4b207f(0x23f)](tag,_0x5148d7['Omtud'],{},![],_0x5148d7[_0x4b207f(0x227)](_0x5148d7[_0x4b207f(0x1df)](_0x5148d7[_0x4b207f(0x1f6)](_0x5148d7[_0x4b207f(0x24c)](escape,_0x50947c[_0x4b207f(0x293)]),_0x5148d7[_0x4b207f(0x21f)](escape,_0x2eeaca)),'\x0a'),_0x5148d7[_0x4b207f(0x21f)](escape,_0x50947c['stack'])))));}else _0x45f362[_0x4b207f(0x216)]?_0x5148d7[_0x4b207f(0x261)](xunitWrite,_0x5148d7['UhThA'](tag,_0x5148d7[_0x4b207f(0x24f)],_0x20c882,![],_0x5148d7[_0x4b207f(0x298)](tag,_0x5148d7[_0x4b207f(0x2a6)],{},!![]))):_0x5148d7[_0x4b207f(0x284)](xunitWrite,_0x5148d7['iajse'](tag,_0x5148d7[_0x4b207f(0x24f)],_0x20c882,!![]));};function getStats(_0xe5f715){const _0x1bcd06=a28_0x51f72a,_0x32b1f2={};_0x32b1f2[_0x1bcd06(0x1f1)]=_0x1bcd06(0x1fd),_0x32b1f2['eobuN']=_0x1bcd06(0x208),_0x32b1f2[_0x1bcd06(0x25a)]=_0x1bcd06(0x299),_0x32b1f2['NsUok']='results';const _0xb959b2=_0x32b1f2,_0x35cf10=Object[_0x1bcd06(0x269)](_0xe5f715);let _0x1691b1=0x0,_0x3e000a=0x0,_0x223c2b=0x0,_0x1faa05=0x0;const _0x52e824=new Set();_0x35cf10[_0x1bcd06(0x1fa)](_0x409e54=>{const _0x142410=_0x1bcd06;_0xe5f715[_0x409e54][_0xb959b2[_0x142410(0x23d)]][_0x142410(0x1fa)](_0x45ccff=>{const _0x1b18b4=_0x142410;_0x52e824[_0x1b18b4(0x256)](_0x45ccff[_0xb959b2[_0x1b18b4(0x1f1)]]),_0x1691b1++;switch(_0x45ccff['state']){case _0xb959b2[_0x1b18b4(0x2a5)]:_0x223c2b++;break;case _0xb959b2[_0x1b18b4(0x25a)]:_0x3e000a++;break;default:_0x1faa05++;}});});const _0x27daed={};return _0x27daed[_0x1bcd06(0x1e5)]=_0x52e824[_0x1bcd06(0x20f)],_0x27daed['platforms']=_0x35cf10,_0x27daed[_0x1bcd06(0x220)]=_0x1691b1,_0x27daed['testsFailed']=_0x3e000a,_0x27daed[_0x1bcd06(0x1fe)]=_0x223c2b,_0x27daed['testsPending']=_0x1faa05,_0x27daed;}function errorJSON(_0x438ab5){const _0x1a1a38=a28_0x51f72a;var _0xf3f33c={};return Object[_0x1a1a38(0x291)](_0x438ab5)[_0x1a1a38(0x1fa)](function(_0xeaa0c0){_0xf3f33c[_0xeaa0c0]=_0x438ab5[_0xeaa0c0];},_0x438ab5),_0xf3f33c;}function cleanCycles(_0x529770){const _0x3ccfa6=a28_0x51f72a,_0x5f5988={};_0x5f5988['IpZJv']=function(_0x55aeb2,_0x33de82){return _0x55aeb2===_0x33de82;},_0x5f5988[_0x3ccfa6(0x233)]='object',_0x5f5988[_0x3ccfa6(0x28a)]=function(_0x594112,_0x1cca94){return _0x594112!==_0x1cca94;},_0x5f5988[_0x3ccfa6(0x239)]=function(_0x4850a3,_0x1e772e){return _0x4850a3!==_0x1e772e;},_0x5f5988['agNhx']=function(_0x1d315d,_0x50db4e){return _0x1d315d+_0x50db4e;};const _0x163a6b=_0x5f5988;var _0x3456db=[];return JSON[_0x3ccfa6(0x241)](JSON['stringify'](_0x529770,function(_0x33f573,_0x23d048){const _0x48cbbe=_0x3ccfa6;if(_0x163a6b['IpZJv'](typeof _0x23d048,_0x163a6b[_0x48cbbe(0x233)])&&_0x163a6b[_0x48cbbe(0x28a)](_0x23d048,null)){if(_0x163a6b[_0x48cbbe(0x239)](_0x3456db[_0x48cbbe(0x1ed)](_0x23d048),-0x1))return _0x163a6b['agNhx']('',_0x23d048);_0x3456db[_0x48cbbe(0x279)](_0x23d048);}return _0x23d048;}));}function clean(_0xad7c6b){const _0x1f11be=a28_0x51f72a,_0x2b34fb={'rMkdj':function(_0x6a456a,_0x170018){return _0x6a456a instanceof _0x170018;},'ajQbS':function(_0x44f4e7,_0x499dac){return _0x44f4e7(_0x499dac);},'YAYch':function(_0x583b02,_0x2e817d){return _0x583b02(_0x2e817d);}};var _0x3db3b2=_0xad7c6b['err']||{};return _0x2b34fb[_0x1f11be(0x231)](_0x3db3b2,Error)&&(_0x3db3b2=_0x2b34fb[_0x1f11be(0x20d)](errorJSON,_0x3db3b2)),{'title':_0xad7c6b[_0x1f11be(0x286)],'fullTitle':_0xad7c6b[_0x1f11be(0x29f)],'file':_0xad7c6b['file'],'duration':_0xad7c6b[_0x1f11be(0x1ec)],'currentRetry':_0xad7c6b[_0x1f11be(0x20a)],'speed':_0xad7c6b['speed'],'err':_0x2b34fb[_0x1f11be(0x25b)](cleanCycles,_0x3db3b2)};}function printStats(_0x305931,_0x1185a7=a28_0x51f72a(0x222),_0x566158={}){const _0x5de72c=a28_0x51f72a,_0x466d60={'MgfdD':function(_0x18fc31,_0xc7914f){return _0x18fc31(_0xc7914f);},'iBXQr':function(_0x4cdb52,_0x46e34f){return _0x4cdb52===_0x46e34f;},'kybAm':_0x5de72c(0x208),'IyWbM':_0x5de72c(0x1f7),'WMHQk':function(_0x319a90,_0x26194c){return _0x319a90(_0x26194c);},'FTBeG':function(_0x4095a1,_0x3ba1f1){return _0x4095a1===_0x3ba1f1;},'XGWvX':'failed','XUtra':'failures','lzuMR':function(_0x16dcb2,_0xf9841){return _0x16dcb2(_0xf9841);},'suYIp':_0x5de72c(0x270),'aApXN':'results','icelw':function(_0x511312,_0x5500a5){return _0x511312===_0x5500a5;},'SqjoJ':function(_0x58c066,_0x1ee47a){return _0x58c066*_0x1ee47a;},'eAXyK':function(_0x2f227b,_0xb3a984,_0x774e9){return _0x2f227b(_0xb3a984,_0x774e9);},'JWqFW':function(_0x41b805,_0x1dc0a3){return _0x41b805>_0x1dc0a3;},'CTlgE':function(_0x428c6c){return _0x428c6c();},'fwyQG':_0x5de72c(0x22c),'CCRBm':function(_0x446c83,_0x369099){return _0x446c83(_0x369099);},'fPRdJ':'Setting\x20non\x20exit\x20code\x20for\x20failures','MHWmR':'Printing\x20stats\x20of\x20tests','RhSCv':function(_0x2a0d3d,_0x827c8b){return _0x2a0d3d+_0x827c8b;},'vtUyJ':_0x5de72c(0x1f3),'FRcNq':_0x5de72c(0x1cd),'nTQug':function(_0x17b201,_0x5dc668){return _0x17b201+_0x5dc668;},'jgwyV':_0x5de72c(0x225),'JgbHp':function(_0x2ddf04,_0x342ec6){return _0x2ddf04>_0x342ec6;},'uxFYC':function(_0xb87cd0,_0x15ec0a){return _0xb87cd0+_0x15ec0a;},'UbzuC':function(_0x4f6d77,_0x23547c){return _0x4f6d77+_0x23547c;},'mzANw':function(_0x31d61a,_0x573c3f){return _0x31d61a+_0x573c3f;},'Kozle':_0x5de72c(0x251),'dPgAA':'json','KTbZd':_0x5de72c(0x1f5),'gixSN':_0x5de72c(0x24a),'aZxne':_0x5de72c(0x229),'IBfrR':function(_0x241370,_0xc2ae3b){return _0x241370===_0xc2ae3b;},'ooZZP':_0x5de72c(0x1c4),'hdwCO':_0x5de72c(0x21c),'Hipme':function(_0x430325,_0x262cec){return _0x430325||_0x262cec;},'feqGl':function(_0xa44f3e,_0x29bac4){return _0xa44f3e(_0x29bac4);},'kzepo':function(_0x785fc0,_0x5645c1,_0x5700cc,_0x232ae0){return _0x785fc0(_0x5645c1,_0x5700cc,_0x232ae0);},'eEJTl':_0x5de72c(0x2a1),'qWWAZ':function(_0x602fe3,_0x56805d){return _0x602fe3-_0x56805d;},'WzYpT':function(_0xd96abc,_0x3766c9){return _0xd96abc/_0x3766c9;},'WWfgm':function(_0x320efa,_0x11ac26){return _0x320efa(_0x11ac26);},'DKywN':'</testsuite>','yAoUm':_0x5de72c(0x23a),'WoTfZ':_0x5de72c(0x282),'IgdHO':_0x5de72c(0x209),'Ktstx':_0x5de72c(0x24e),'zUpal':_0x5de72c(0x1ee)};if(_0x466d60[_0x5de72c(0x281)](_0x1185a7,_0x466d60[_0x5de72c(0x25c)]))return;const _0x30d489=0x0,_0x5838c8=()=>{const _0x4689ef=_0x5de72c;return _0x466d60['MgfdD'](Array,_0x30d489)[_0x4689ef(0x1dd)]('\x20\x20');},{testSuites:_0x183227,platforms:_0x1a03f3,totalTests:_0xbd27ce,testsFailed:_0x24414f,testsPassed:_0x1ee422,testsPending:_0x987a79}=_0x466d60['CCRBm'](getStats,_0x305931);_0x466d60[_0x5de72c(0x2a8)](_0x24414f,0x0)&&(logger['debug'](_0x466d60['fPRdJ']),process['exitCode']=Math[_0x5de72c(0x29e)](_0x24414f,0xff));logger[_0x5de72c(0x1e3)](_0x466d60[_0x5de72c(0x255)]);const _0x3bd437=''+_0x466d60[_0x5de72c(0x2a2)](chalk['bold'](_0x466d60[_0x5de72c(0x1c8)]),_0x1a03f3['length']),_0x3c5cc6=''+_0x466d60[_0x5de72c(0x2a2)](chalk['bold'](_0x466d60[_0x5de72c(0x21d)]),_0x183227),_0x2d1b1f=''+_0x466d60[_0x5de72c(0x2a2)](_0x466d60[_0x5de72c(0x2a2)](_0x466d60[_0x5de72c(0x26e)](chalk[_0x5de72c(0x22b)](_0x466d60['jgwyV']),_0x466d60['JWqFW'](_0x24414f,0x0)?chalk[_0x5de72c(0x22b)][_0x5de72c(0x28c)](_0x24414f+_0x5de72c(0x253))+',\x20':''),_0x466d60[_0x5de72c(0x218)](_0x987a79,0x0)?chalk['bold'][_0x5de72c(0x210)](_0x987a79+_0x5de72c(0x1b7))+',\x20':''),_0x466d60[_0x5de72c(0x218)](_0x1ee422,0x0)?chalk[_0x5de72c(0x22b)]['green'](_0x1ee422+'\x20passed')+',\x20':'')+_0xbd27ce+'\x20total';console[_0x5de72c(0x1b8)](_0x466d60[_0x5de72c(0x26e)](_0x466d60[_0x5de72c(0x25d)](_0x466d60[_0x5de72c(0x236)](_0x466d60['uxFYC'](_0x466d60['mzANw'](_0x466d60[_0x5de72c(0x26d)],_0x3bd437),'\x0a'),_0x3c5cc6),'\x0a'),_0x2d1b1f));if(_0x466d60[_0x5de72c(0x249)](_0x1185a7,_0x466d60['dPgAA'])){const _0x12c1c7={},_0x57f223={};_0x57f223[_0x5de72c(0x1e5)]=_0x183227,_0x57f223[_0x5de72c(0x2a4)]=_0x1a03f3,_0x57f223[_0x5de72c(0x1fb)]=_0x24414f,_0x57f223['testsPassed']=_0x1ee422,_0x57f223['testsPending']=_0x987a79,_0x12c1c7[_0x5de72c(0x1f4)]=_0x57f223,_0x1a03f3['forEach'](_0x1ff094=>{const _0x44a384=_0x5de72c;_0x12c1c7[_0x1ff094]={'pending':[],'failures':[],'passes':[],'tests':_0x305931[_0x1ff094][_0x466d60[_0x44a384(0x262)]][_0x44a384(0x280)](clean)},_0x305931[_0x1ff094][_0x466d60['aApXN']][_0x44a384(0x1fa)](_0x417c44=>{const _0x57e920=_0x44a384;if(_0x466d60[_0x57e920(0x281)](_0x417c44[_0x57e920(0x250)],_0x466d60['kybAm']))_0x12c1c7[_0x1ff094][_0x466d60['IyWbM']][_0x57e920(0x279)](_0x466d60[_0x57e920(0x246)](clean,_0x417c44));else _0x466d60[_0x57e920(0x29b)](_0x417c44[_0x57e920(0x250)],_0x466d60[_0x57e920(0x28d)])?_0x12c1c7[_0x1ff094][_0x466d60['XUtra']][_0x57e920(0x279)](_0x466d60[_0x57e920(0x1c2)](clean,_0x417c44)):_0x12c1c7[_0x1ff094][_0x466d60[_0x57e920(0x2a3)]][_0x57e920(0x279)](_0x466d60[_0x57e920(0x1c2)](clean,_0x417c44));});});if(_0x566158['output'])try{logger[_0x5de72c(0x1e3)](_0x466d60[_0x5de72c(0x258)],_0x566158['output']),fs[_0x5de72c(0x277)](_0x566158[_0x5de72c(0x25e)],JSON[_0x5de72c(0x1c6)](_0x12c1c7,null,0x3));}catch(_0x59378d){logger[_0x5de72c(0x212)](_0x466d60[_0x5de72c(0x211)],_0x566158['output']),logger[_0x5de72c(0x1e3)](_0x59378d);}else logger[_0x5de72c(0x1e3)](_0x466d60[_0x5de72c(0x21a)]),console[_0x5de72c(0x1b8)](JSON[_0x5de72c(0x1c6)](_0x12c1c7,null,0x3));}else{if(_0x466d60[_0x5de72c(0x22d)](_0x1185a7,_0x466d60['ooZZP'])){let _0x40897b;const _0x5d8f70=_0x466d60[_0x5de72c(0x1d5)];_0x566158&&(_0x40897b=_0x566158['suiteName']);_0x40897b=_0x466d60[_0x5de72c(0x25f)](_0x40897b,_0x5d8f70);let _0x1f5357=0x0,_0x368326=0x0,_0x2cbae8=0x0,_0x5bf34b=0x0;_0x1a03f3[_0x5de72c(0x1fa)](_0x51c9a1=>{const _0x4837bd=_0x5de72c,_0x1a9fc8={'eQfQl':function(_0x1e3369,_0x32ff74){const _0xfed034=a28_0x4c54;return _0x466d60[_0xfed034(0x249)](_0x1e3369,_0x32ff74);},'oyVzc':_0x466d60[_0x4837bd(0x242)],'IPDge':function(_0x15536f,_0x23a58e){const _0x128e32=_0x4837bd;return _0x466d60[_0x128e32(0x281)](_0x15536f,_0x23a58e);},'dfpAe':_0x466d60[_0x4837bd(0x28d)],'VNAiz':function(_0x142736,_0x5d54ac){const _0x36c1a8=_0x4837bd;return _0x466d60[_0x36c1a8(0x207)](_0x142736,_0x5d54ac);}};_0x305931[_0x51c9a1][_0x466d60[_0x4837bd(0x262)]][_0x4837bd(0x1fa)](_0xc7ef58=>{const _0x216c0d=_0x4837bd;if(_0x1a9fc8[_0x216c0d(0x206)](_0xc7ef58['state'],_0x1a9fc8[_0x216c0d(0x1ce)]))_0x1f5357++;else _0x1a9fc8[_0x216c0d(0x1db)](_0xc7ef58[_0x216c0d(0x250)],_0x1a9fc8[_0x216c0d(0x24b)])&&_0x368326++;_0x2cbae8++,_0x5bf34b+=_0x1a9fc8[_0x216c0d(0x1cc)](_0xc7ef58['duration'],0x1);});}),_0x466d60[_0x5de72c(0x283)](xunitWrite,_0x466d60[_0x5de72c(0x26f)](tag,_0x466d60[_0x5de72c(0x1b2)],{'name':_0x40897b,'tests':_0x2cbae8,'failures':0x0,'errors':_0x368326,'skipped':_0x466d60[_0x5de72c(0x22f)](_0x466d60[_0x5de72c(0x22f)](_0x2cbae8,_0x368326),_0x1f5357),'timestamp':new Date()['toUTCString'](),'time':_0x466d60[_0x5de72c(0x217)](_0x5bf34b,0x3e8)||0x0},![])),_0x1a03f3[_0x5de72c(0x1fa)](_0x358f49=>{const _0x593bff=_0x5de72c,_0x4458c2={'MCFZV':function(_0x14edec,_0x3b9075,_0x1451d6){const _0x2b05c4=a28_0x4c54;return _0x466d60[_0x2b05c4(0x1dc)](_0x14edec,_0x3b9075,_0x1451d6);}};_0x305931[_0x358f49][_0x466d60[_0x593bff(0x262)]][_0x593bff(0x1fa)](_0x14c50f=>{_0x4458c2['MCFZV'](xunitTest,_0x14c50f,_0x358f49);});}),_0x466d60[_0x5de72c(0x1e6)](xunitWrite,_0x466d60[_0x5de72c(0x28b)]);if(_0x566158[_0x5de72c(0x25e)])try{logger[_0x5de72c(0x1e3)](_0x466d60[_0x5de72c(0x1c5)],_0x566158[_0x5de72c(0x25e)]),fs[_0x5de72c(0x277)](_0x566158[_0x5de72c(0x25e)],xunitContent);}catch(_0x2fe4f2){logger['error'](_0x466d60[_0x5de72c(0x254)],_0x566158[_0x5de72c(0x25e)]),logger[_0x5de72c(0x1e3)](_0x2fe4f2);}else logger['debug'](_0x466d60['IgdHO']),console[_0x5de72c(0x1b8)](xunitContent);}else{if(_0x466d60[_0x5de72c(0x281)](_0x24414f,0x0))return;console[_0x5de72c(0x1b8)](),logger[_0x5de72c(0x1e3)](_0x466d60['Ktstx']),console[_0x5de72c(0x1b8)](chalk[_0x5de72c(0x22b)][_0x5de72c(0x27d)](_0x466d60[_0x5de72c(0x203)])),_0x1a03f3[_0x5de72c(0x1fa)](_0x2fb7ef=>{const _0x161e6f=_0x5de72c,_0x3d9554=[];_0x305931[_0x2fb7ef][_0x466d60['aApXN']][_0x161e6f(0x1fa)](_0x4549c5=>{const _0xcd358e=_0x161e6f;_0x466d60[_0xcd358e(0x29b)](_0x4549c5['state'],_0x466d60['XGWvX'])&&(_0x4549c5[_0xcd358e(0x219)]=()=>_0x4549c5[_0xcd358e(0x224)],_0x3d9554[_0xcd358e(0x279)](_0x4549c5));}),_0x466d60[_0x161e6f(0x2a8)](_0x3d9554[_0x161e6f(0x259)],0x0)&&(Base[_0x161e6f(0x1da)](),Base['consoleLog'](_0x466d60[_0x161e6f(0x287)](_0x5838c8),chalk[_0x161e6f(0x22b)][_0x161e6f(0x243)](_0x2fb7ef)),Base[_0x161e6f(0x1d6)](_0x3d9554));});}}}async function run(_0x4937cf,_0x45160b){const _0x5a5f3c=a28_0x51f72a,_0x558333={'aDUhJ':function(_0x5f8d36,_0x1f47a2,_0x2a5050,_0x29eb49){return _0x5f8d36(_0x1f47a2,_0x2a5050,_0x29eb49);},'xKIKH':_0x5a5f3c(0x1b9),'aeHNk':_0x5a5f3c(0x205),'yFqNj':'SDKTestSuccessful','yJIXi':function(_0x312564,_0x2728eb,_0x1452c5,_0x537256){return _0x312564(_0x2728eb,_0x1452c5,_0x537256);},'anCzf':'mocha','rwxcT':_0x5a5f3c(0x247),'AaLPm':_0x5a5f3c(0x26c),'mglol':function(_0x4f0a8f,_0x2c07d7){return _0x4f0a8f!=_0x2c07d7;},'CMbnA':_0x5a5f3c(0x260),'AHduN':_0x5a5f3c(0x257),'uVDNu':'test','gJwoN':_0x5a5f3c(0x1cf),'OMnby':function(_0x3e9bb3,_0x29a451){return _0x3e9bb3(_0x29a451);},'RHokL':function(_0x19fa80,_0x2b034f,_0x291dee){return _0x19fa80(_0x2b034f,_0x291dee);},'NrEui':_0x5a5f3c(0x1d7),'xprBN':'Running\x20your\x20mocha\x20tests','vwtDm':'Now,\x20showing\x20logs\x20from\x20mocha','fltjF':function(_0x4a728d,_0x27c0e5){return _0x4a728d*_0x27c0e5;},'OyKzs':function(_0x149e45,_0x3cde17){return _0x149e45!==_0x3cde17;},'dVIIy':function(_0xc73b5e,_0x24e02a,_0x578a5b,_0x422f7e){return _0xc73b5e(_0x24e02a,_0x578a5b,_0x422f7e);}};process[_0x5a5f3c(0x1e1)][_0x5a5f3c(0x201)](_0x558333[_0x5a5f3c(0x1ef)])&&(process['env'][_0x5a5f3c(0x1e9)]=![]);process[_0x5a5f3c(0x1e1)][_0x5a5f3c(0x201)](_0x558333[_0x5a5f3c(0x1f9)])&&(process[_0x5a5f3c(0x1bf)]['BROWSERSTACK_AUTOMATION']=![]);const _0x3d5ac1=new BrowserStackSetup(_0x4937cf,_0x558333[_0x5a5f3c(0x248)]);helper[_0x5a5f3c(0x27e)]()?(await _0x3d5ac1[_0x5a5f3c(0x2a0)](),await helper['handleApp'](_0x3d5ac1[_0x5a5f3c(0x237)])):await _0x3d5ac1[_0x5a5f3c(0x266)]();const _0x849615=[];let _0x354f1c=[];if(!_0x3d5ac1[_0x5a5f3c(0x237)])return;_0x558333[_0x5a5f3c(0x28f)](_0x3d5ac1['config'][_0x5a5f3c(0x264)],null)&&(process[_0x5a5f3c(0x1bf)][_0x5a5f3c(0x1e0)]=_0x3d5ac1[_0x5a5f3c(0x237)][_0x5a5f3c(0x264)]);!helper[_0x5a5f3c(0x1c1)](_0x3d5ac1[_0x5a5f3c(0x237)]['accessibility'])&&(process['env'][_0x5a5f3c(0x294)]=_0x3d5ac1[_0x5a5f3c(0x237)]['accessibility']);!helper['isUndefined'](_0x3d5ac1[_0x5a5f3c(0x237)][_0x5a5f3c(0x1e7)])&&(process[_0x5a5f3c(0x1bf)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x5a5f3c(0x1c6)](_0x3d5ac1[_0x5a5f3c(0x237)]['accessibilityOptions']));const {extension:extension=['js',_0x558333[_0x5a5f3c(0x1b4)],_0x558333[_0x5a5f3c(0x285)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x558333[_0x5a5f3c(0x1b5)]]}=_0x4937cf,_0x10b98d={..._0x4937cf};_0x10b98d[_0x5a5f3c(0x27f)]=null;const _0x412081=_0x10b98d;let _0x15f02a;if(testOpsHelper[_0x5a5f3c(0x27c)]()&&testOpsHelper[_0x5a5f3c(0x29d)]()){let _0x592e8e=process[_0x5a5f3c(0x1bf)][_0x5a5f3c(0x252)];!helper[_0x5a5f3c(0x1c1)](_0x3d5ac1[_0x5a5f3c(0x24d)])&&_0x3d5ac1[_0x5a5f3c(0x24d)]['has'](_0x558333[_0x5a5f3c(0x272)])&&(_0x592e8e=_0x3d5ac1[_0x5a5f3c(0x24d)][_0x5a5f3c(0x265)](_0x558333['gJwoN'])),_0x15f02a=testOpsHelper[_0x5a5f3c(0x204)](_0x592e8e);}if(helper[_0x5a5f3c(0x1c1)](_0x15f02a)){const _0x17f1ac={};_0x17f1ac[_0x5a5f3c(0x2a7)]=ignore,_0x17f1ac[_0x5a5f3c(0x1b3)]=extension,_0x17f1ac[_0x5a5f3c(0x22e)]=file,_0x17f1ac['recursive']=recursive,_0x17f1ac[_0x5a5f3c(0x26a)]=sort,_0x17f1ac[_0x5a5f3c(0x222)]=spec,_0x15f02a=_0x558333[_0x5a5f3c(0x213)](collectFiles,_0x17f1ac),_0x558333[_0x5a5f3c(0x23e)](nestedKeyValue,_0x15f02a,[_0x558333['NrEui']])&&(_0x15f02a=_0x15f02a[_0x5a5f3c(0x1d7)]);}helper[_0x5a5f3c(0x1b6)]();if(!helper[_0x5a5f3c(0x27e)]()){const _0x5f59c9=0x1,_0x2930e4={..._0x412081};_0x2930e4[_0x5a5f3c(0x222)]=[..._0x15f02a],_0x849615[_0x5a5f3c(0x279)]({'mochaOpts':_0x2930e4,'configuration':{'platform':os[_0x5a5f3c(0x1d1)]()}}),logger[_0x5a5f3c(0x1cb)](_0x558333[_0x5a5f3c(0x223)]),logger[_0x5a5f3c(0x1cb)](_0x558333['vwtDm']),_0x558333[_0x5a5f3c(0x23b)](parallelTestRun,_0x849615,_0x5f59c9,_0x3d5ac1)[_0x5a5f3c(0x234)](_0x1b6342=>{const _0x45cbd0=_0x5a5f3c;_0x558333[_0x45cbd0(0x23b)](printStats,_0x1b6342,_0x4937cf[_0x45cbd0(0x1c7)],_0x4937cf[_0x45cbd0(0x1c3)]||_0x4937cf[_0x558333[_0x45cbd0(0x1d8)]]);})[_0x5a5f3c(0x1ff)](()=>{const _0x478122=_0x5a5f3c;try{const {browserstackFolderPath:_0x32d8ad,tcgConfigPath:_0x1de629}=helper[_0x478122(0x20e)]();fs[_0x478122(0x2aa)](_0x1de629),fs['rmdirSync'](_0x32d8ad);}catch(_0x2f8569){logger[_0x478122(0x1e3)](_0x558333[_0x478122(0x1d4)],_0x2f8569);}try{utilities[_0x478122(0x1f8)](_0x558333[_0x478122(0x1ca)],{},_0x3d5ac1['config'],_0x3d5ac1[_0x478122(0x214)]);}catch(_0x4e2304){logger[_0x478122(0x1e3)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x4e2304);}try{helper[_0x478122(0x292)]();}catch(_0x15c3f3){logger[_0x478122(0x1e3)]('Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20'+_0x15c3f3);}testOpsHelper[_0x478122(0x1fc)]();});}else{const _0x4cbd13=helper[_0x5a5f3c(0x202)](_0x3d5ac1[_0x5a5f3c(0x237)]),_0x49e12b=helper['getHubUrl'](_0x3d5ac1[_0x5a5f3c(0x237)]);_0x354f1c=helper[_0x5a5f3c(0x2a9)](_0x3d5ac1[_0x5a5f3c(0x237)],_0x4cbd13,constants[_0x5a5f3c(0x20b)][_0x5a5f3c(0x268)]);let _0x5ef896;const _0x15cf1c=_0x3d5ac1[_0x5a5f3c(0x237)][_0x5a5f3c(0x1de)]||helper[_0x5a5f3c(0x1bb)](_0x4937cf,_0x45160b,_0x3d5ac1[_0x5a5f3c(0x237)],constants['FRAMEWORKS']['MOCHA'])||0x1;helper[_0x5a5f3c(0x2ab)](_0x3d5ac1[_0x5a5f3c(0x237)])?_0x5ef896=_0x558333['fltjF'](_0x3d5ac1[_0x5a5f3c(0x237)][_0x5a5f3c(0x2a4)][_0x5a5f3c(0x259)],_0x15cf1c):_0x5ef896=_0x15cf1c;const _0x170b5c=_0x558333[_0x5a5f3c(0x213)](getPercyOptions,_0x3d5ac1[_0x5a5f3c(0x237)]);if(_0x558333['OyKzs'](_0x3d5ac1[_0x5a5f3c(0x237)][_0x5a5f3c(0x1de)],0x1))_0x15f02a[_0x5a5f3c(0x1fa)](_0x4faf86=>{const _0x7aeae7=_0x5a5f3c,_0x5569bd=[];_0x354f1c[_0x7aeae7(0x1fa)]((_0x4fe16c,_0x1f3ab7)=>{const _0x21b061=_0x7aeae7,_0xbf6de7={};_0xbf6de7[_0x21b061(0x222)]=[_0x4faf86],_0x5569bd[_0x21b061(0x279)]({'mochaOpts':Object[_0x21b061(0x230)]({},_0x412081,_0xbf6de7),'configuration':{'server':_0x49e12b,'capability':_0x4fe16c,'proxySettings':_0x3d5ac1[_0x21b061(0x237)]['proxySettings'],'platform':helper[_0x21b061(0x228)](_0x4fe16c),'browserStackLogLevel':_0x3d5ac1['config'][_0x21b061(0x1bc)],'platformIndex':_0x1f3ab7,'browserStackPercyOptions':_0x170b5c,'platformCaps':_0x3d5ac1[_0x21b061(0x237)][_0x21b061(0x2a4)][_0x1f3ab7]}});}),_0x849615[_0x7aeae7(0x279)](..._0x5569bd);});else{const _0x3c352e=[];_0x354f1c[_0x5a5f3c(0x1fa)]((_0x2581be,_0x41fa32)=>{const _0x3c7eaf=_0x5a5f3c;let _0x1fe2fb=Object[_0x3c7eaf(0x230)]({},_0x412081);testOpsHelper['isTestObservabilitySession']()&&testOpsHelper['shouldReRunObservabilityTests']()&&(_0x1fe2fb={..._0x1fe2fb,'spec':[..._0x15f02a]}),_0x3c352e[_0x3c7eaf(0x279)]({'mochaOpts':_0x1fe2fb,'configuration':{'server':_0x49e12b,'capability':_0x2581be,'proxySettings':_0x3d5ac1[_0x3c7eaf(0x237)][_0x3c7eaf(0x23c)],'platform':helper[_0x3c7eaf(0x228)](_0x2581be),'browserStackLogLevel':_0x3d5ac1[_0x3c7eaf(0x237)][_0x3c7eaf(0x1bc)],'platformIndex':_0x41fa32,'browserStackPercyOptions':_0x170b5c,'platformCaps':_0x3d5ac1[_0x3c7eaf(0x237)][_0x3c7eaf(0x2a4)][_0x41fa32]}});}),_0x849615['push'](..._0x3c352e);}logger['info']('Running\x20your\x20mocha\x20tests\x20across\x20'+_0x3d5ac1['config'][_0x5a5f3c(0x2a4)]['length']+'\x20platforms'),logger['info'](_0x558333[_0x5a5f3c(0x22a)]);let _0x6a3fb7;_0x558333[_0x5a5f3c(0x1d3)](parallelTestRun,_0x849615,_0x5ef896,_0x3d5ac1)[_0x5a5f3c(0x234)](_0x35e136=>{const _0x504f76=_0x5a5f3c;_0x6a3fb7=_0x35e136,_0x558333['yJIXi'](printStats,_0x35e136,_0x4937cf['reporter'],_0x4937cf[_0x504f76(0x1c3)]||_0x4937cf[_0x558333[_0x504f76(0x1d8)]]);})[_0x5a5f3c(0x1ff)](async()=>{const _0x511078=_0x5a5f3c;_0x3d5ac1['errorMessage']=helper[_0x511078(0x1bd)](_0x6a3fb7,_0x558333['anCzf']),await utilities[_0x511078(0x21b)](_0x3d5ac1),testOpsHelper[_0x511078(0x1fc)]();});}}module[a28_0x51f72a(0x267)]=run;