browserstack-node-sdk 1.34.55 → 1.34.57

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 (137) 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/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  60. package/src/bin/jest/jest.setup.js +1 -1
  61. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  62. package/src/bin/jest/test-observability/helper.js +1 -1
  63. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  64. package/src/bin/jest/test-observability/test-details.js +1 -1
  65. package/src/bin/jest/test_before.setup.js +1 -1
  66. package/src/bin/launcher/launcher.js +1 -1
  67. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  68. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  69. package/src/bin/mocha/command.js +1 -1
  70. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  71. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  72. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  73. package/src/bin/mocha/test.setup.js +1 -1
  74. package/src/bin/nightwatch/command.js +1 -1
  75. package/src/bin/playwright/accessibility-helper.js +1 -1
  76. package/src/bin/playwright/command.js +1 -1
  77. package/src/bin/playwright/globalSetup.js +1 -1
  78. package/src/bin/playwright/mock-process.js +1 -1
  79. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  80. package/src/bin/playwright/patches.js +1 -1
  81. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  82. package/src/bin/playwright/reporter/reporter.js +1 -1
  83. package/src/bin/playwright/reporter/test-details.js +1 -1
  84. package/src/bin/playwright/sessionDetails.js +1 -1
  85. package/src/bin/runner.js +1 -1
  86. package/src/bin/setup.js +1 -1
  87. package/src/bin/test-runner/index.js +1 -1
  88. package/src/bin/test-runner/runTest.js +1 -1
  89. package/src/bin/test-runner/testWorker.js +1 -1
  90. package/src/bin/utils/constants.js +1 -1
  91. package/src/bin/utils/log4jsAppender.js +1 -1
  92. package/src/bin/utils/logPatcher.js +1 -1
  93. package/src/bin/utils/logReportingAPI.js +1 -1
  94. package/src/bin/vanilla-js/command.js +1 -1
  95. package/src/browserStackSdk.js +1 -1
  96. package/src/helpers/BrowserStackSetup.js +1 -1
  97. package/src/helpers/accessibility-automation/constants.js +1 -1
  98. package/src/helpers/accessibility-automation/helper.js +1 -1
  99. package/src/helpers/accessibility-automation/scripts.js +1 -1
  100. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  101. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  102. package/src/helpers/ats/constants.js +1 -1
  103. package/src/helpers/ats/helper.js +1 -1
  104. package/src/helpers/capsMapping.js +1 -1
  105. package/src/helpers/central-scanner/constants.js +1 -1
  106. package/src/helpers/central-scanner/helpers.js +1 -1
  107. package/src/helpers/globals.js +1 -1
  108. package/src/helpers/helper.js +1 -1
  109. package/src/helpers/logger.js +1 -1
  110. package/src/helpers/metadata.js +1 -1
  111. package/src/helpers/patchHelper.js +1 -1
  112. package/src/helpers/patchHelpers.js +1 -1
  113. package/src/helpers/percy/Percy.js +1 -1
  114. package/src/helpers/percy/PercyBinary.js +1 -1
  115. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  116. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  117. package/src/helpers/percy/PercySDK.js +1 -1
  118. package/src/helpers/percy/index.js +1 -1
  119. package/src/helpers/percy/utils.js +1 -1
  120. package/src/helpers/performance/constants.js +1 -1
  121. package/src/helpers/performance/performance-tester.js +1 -1
  122. package/src/helpers/processHelper.js +1 -1
  123. package/src/helpers/request-spy.js +1 -1
  124. package/src/helpers/setKeepAlive.js +1 -1
  125. package/src/helpers/test-observability/constants.js +1 -1
  126. package/src/helpers/test-observability/error-handler.js +1 -1
  127. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  128. package/src/helpers/test-observability/sessionHandler.js +1 -1
  129. package/src/helpers/test-observability/utils.js +1 -1
  130. package/src/helpers/testhub/constants.js +1 -1
  131. package/src/helpers/testhub/testhubHandler.js +1 -1
  132. package/src/helpers/testhub/utils.js +1 -1
  133. package/src/helpers/timeoutPromise.js +1 -1
  134. package/src/helpers/utilities.js +1 -1
  135. package/src/helpers/w3cMapping.js +1 -1
  136. package/src/hubAllocationMethods.js +1 -1
  137. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a23_0x4740f0=a23_0x4ba8;(function(_0xc7278a,_0xfccf1d){const _0x78f3e6=a23_0x4ba8,_0x17ec70=_0xc7278a();while(!![]){try{const _0x38e58c=-parseInt(_0x78f3e6(0x1ce))/0x1*(-parseInt(_0x78f3e6(0x1a3))/0x2)+-parseInt(_0x78f3e6(0x1a0))/0x3*(-parseInt(_0x78f3e6(0x1aa))/0x4)+parseInt(_0x78f3e6(0x1bf))/0x5+parseInt(_0x78f3e6(0x1ab))/0x6*(parseInt(_0x78f3e6(0x1b2))/0x7)+-parseInt(_0x78f3e6(0x19e))/0x8*(parseInt(_0x78f3e6(0x1bb))/0x9)+-parseInt(_0x78f3e6(0x1af))/0xa+parseInt(_0x78f3e6(0x1ca))/0xb;if(_0x38e58c===_0xfccf1d)break;else _0x17ec70['push'](_0x17ec70['shift']());}catch(_0x5d09f2){_0x17ec70['push'](_0x17ec70['shift']());}}}(a23_0x1ebf,0x6b5c9));function a23_0x4ba8(_0x397076,_0x7ea2b9){const _0x1ebf3f=a23_0x1ebf();return a23_0x4ba8=function(_0x4ba8c0,_0x3110b5){_0x4ba8c0=_0x4ba8c0-0x197;let _0x11804f=_0x1ebf3f[_0x4ba8c0];return _0x11804f;},a23_0x4ba8(_0x397076,_0x7ea2b9);}const fs=require('fs'),path=require(a23_0x4740f0(0x197)),{v4:uuidv4}=require(a23_0x4740f0(0x1ba)),helper=require(a23_0x4740f0(0x1b3)),testHubConstants=require(a23_0x4740f0(0x1cb));class TestDetails{static [a23_0x4740f0(0x1a4)]={};static [a23_0x4740f0(0x1b6)]=path[a23_0x4740f0(0x1bc)](helper[a23_0x4740f0(0x1b0)](),a23_0x4740f0(0x1c6),'jest-o11y-'+process[a23_0x4740f0(0x1a2)][testHubConstants[a23_0x4740f0(0x1a6)][a23_0x4740f0(0x199)]]);static[a23_0x4740f0(0x1c0)](){const _0x5208fd=a23_0x4740f0,_0x278a24={};_0x278a24[_0x5208fd(0x1c8)]=_0x5208fd(0x1c6);const _0x31d0ba=_0x278a24;this[_0x5208fd(0x1b6)]=path[_0x5208fd(0x1bc)](helper[_0x5208fd(0x1b0)](),_0x31d0ba[_0x5208fd(0x1c8)],_0x5208fd(0x1c3)+process[_0x5208fd(0x1a2)][testHubConstants[_0x5208fd(0x1a6)][_0x5208fd(0x199)]]),this[_0x5208fd(0x1ac)]();const _0x2f28ac={};_0x2f28ac[_0x5208fd(0x1cc)]=!![],fs[_0x5208fd(0x19a)](this['dirPath'],_0x2f28ac);}static[a23_0x4740f0(0x1bd)](_0x3b1ddd){const _0x44b743=a23_0x4740f0,_0xc8633f={};_0xc8633f['Ttvbb']=function(_0x1a4a6c,_0xfc8963){return _0x1a4a6c+_0xfc8963;},_0xc8633f[_0x44b743(0x19b)]=_0x44b743(0x1a8);const _0x35accb=_0xc8633f;return path['join'](this['dirPath'],_0x35accb[_0x44b743(0x1cf)](_0x3b1ddd,_0x35accb[_0x44b743(0x19b)]));}static[a23_0x4740f0(0x19d)](_0xac107f){const _0x33c2b9=a23_0x4740f0,_0x1f515f={};_0x1f515f['uoVlh']=function(_0x2d81bb,_0x48a166){return _0x2d81bb+_0x48a166;},_0x1f515f['hcHJL']=function(_0x2acdc5,_0x1c3eec){return _0x2acdc5+_0x1c3eec;},_0x1f515f[_0x33c2b9(0x1b9)]=function(_0x44404d,_0x1623ee){return _0x44404d+_0x1623ee;};const _0x27bf43=_0x1f515f;return _0x27bf43['uoVlh'](_0x27bf43[_0x33c2b9(0x19c)](_0x27bf43['hcHJL'](_0x27bf43[_0x33c2b9(0x1b9)](_0xac107f['_test'][_0x33c2b9(0x1c1)],'-'),_0xac107f[_0x33c2b9(0x1ad)]['id']),'-'),_0xac107f[_0x33c2b9(0x1c9)]);}static[a23_0x4740f0(0x1b5)](_0x18fd7a){const _0x4a3151=a23_0x4740f0,_0xf6a129=this[_0x4a3151(0x1bd)](_0x18fd7a);if(fs[_0x4a3151(0x1be)](_0xf6a129)){const _0x26b5fb=JSON[_0x4a3151(0x1c2)](fs[_0x4a3151(0x1c4)](_0xf6a129)[_0x4a3151(0x1b8)]());return this[_0x4a3151(0x1a4)][_0x18fd7a]=_0x26b5fb,this[_0x4a3151(0x1a4)][_0x18fd7a][_0x4a3151(0x1ba)];}}static[a23_0x4740f0(0x1ae)](_0x4b2215){const _0x30eacc=a23_0x4740f0,_0x364694={};_0x364694[_0x30eacc(0x198)]='testData.json';const _0x462524=_0x364694,_0x3f8924=path[_0x30eacc(0x1bc)](this[_0x30eacc(0x1b6)],_0x462524[_0x30eacc(0x198)]);fs[_0x30eacc(0x1c7)](_0x3f8924,JSON[_0x30eacc(0x1a1)](_0x4b2215));}static[a23_0x4740f0(0x1b7)](){const _0x1a7335=a23_0x4740f0,_0x89b9fe={};_0x89b9fe['EyRsd']=_0x1a7335(0x1c5);const _0x4f6f44=_0x89b9fe,_0x45d7e6=path[_0x1a7335(0x1bc)](this[_0x1a7335(0x1b6)],_0x4f6f44[_0x1a7335(0x1a9)]);let _0x181b17={};try{return _0x45d7e6&&fs[_0x1a7335(0x1be)](_0x45d7e6)&&(_0x181b17=JSON[_0x1a7335(0x1c2)](fs[_0x1a7335(0x1c4)](_0x45d7e6)[_0x1a7335(0x1b8)]())),_0x181b17;}catch(_0x7aa795){return _0x181b17;}}static[a23_0x4740f0(0x19f)](_0x436f3f){const _0x56178c=a23_0x4740f0,_0x23a894={'LQqCq':function(_0x15e548){return _0x15e548();}},_0x51b193=this['getFilePath'](_0x436f3f);return this[_0x56178c(0x1a4)][_0x436f3f]={'uuid':_0x23a894['LQqCq'](uuidv4)},fs['writeFileSync'](_0x51b193,JSON[_0x56178c(0x1a1)](this[_0x56178c(0x1a4)][_0x436f3f])),this[_0x56178c(0x1a4)][_0x436f3f][_0x56178c(0x1ba)];}static[a23_0x4740f0(0x1b1)](_0x42c1e6){const _0x2a2545=a23_0x4740f0,_0xfaf40b=this['getFilePath'](_0x42c1e6);_0xfaf40b&&(fs['existsSync'](_0xfaf40b)&&fs[_0x2a2545(0x1b4)](_0xfaf40b));}static[a23_0x4740f0(0x1ac)](){const _0x2658e1=a23_0x4740f0,_0x1bcfda={};_0x1bcfda['recursive']=!![],_0x1bcfda[_0x2658e1(0x1cd)]=!![],fs[_0x2658e1(0x1a7)](this[_0x2658e1(0x1b6)],_0x1bcfda);}}module[a23_0x4740f0(0x1a5)]=TestDetails;function a23_0x1ebf(){const _0x197b81=['mkdirSync','VoYbX','uoVlh','getTestRunIdFromTestInfo','16XtCKhV','setTestUUID','19485CbAzbg','stringify','env','378920DqETAd','tests','exports','ENV_VAR','rmSync','.json','EyRsd','124eTYEoi','12RYnuDb','shutdown','_test','setTestData','4838730hfDJso','homedir','removeTestUUID','153937oBJNMU','../../../helpers/helper','unlinkSync','getTestUUID','dirPath','getTestData','toString','nkzJE','uuid','3887622QAdjNs','join','getFilePath','existsSync','1021935dBNwoV','setup','_projectId','parse','jest-o11y-','readFileSync','testData.json','.browserstack','writeFileSync','txHxn','retry','12632048VGqSoA','../../../helpers/testhub/constants','recursive','force','1ihzDNZ','Ttvbb','path','ziEkt','BROWSERSTACK_TESTHUB_UUID'];a23_0x1ebf=function(){return _0x197b81;};return a23_0x1ebf();}
1
+ function a23_0xe32b(_0x4831b0,_0x393be1){const _0x5da208=a23_0x5da2();return a23_0xe32b=function(_0xe32b13,_0x3184cd){_0xe32b13=_0xe32b13-0x1a2;let _0x4416fd=_0x5da208[_0xe32b13];return _0x4416fd;},a23_0xe32b(_0x4831b0,_0x393be1);}const a23_0x558448=a23_0xe32b;(function(_0x5afaad,_0x195528){const _0x4eee1d=a23_0xe32b,_0x20f49b=_0x5afaad();while(!![]){try{const _0x58db88=-parseInt(_0x4eee1d(0x1bd))/0x1+parseInt(_0x4eee1d(0x1c9))/0x2*(-parseInt(_0x4eee1d(0x1b5))/0x3)+-parseInt(_0x4eee1d(0x1d4))/0x4+-parseInt(_0x4eee1d(0x1bb))/0x5+parseInt(_0x4eee1d(0x1cd))/0x6*(parseInt(_0x4eee1d(0x1c3))/0x7)+parseInt(_0x4eee1d(0x1ad))/0x8*(parseInt(_0x4eee1d(0x1c8))/0x9)+parseInt(_0x4eee1d(0x1d5))/0xa*(parseInt(_0x4eee1d(0x1cc))/0xb);if(_0x58db88===_0x195528)break;else _0x20f49b['push'](_0x20f49b['shift']());}catch(_0x240920){_0x20f49b['push'](_0x20f49b['shift']());}}}(a23_0x5da2,0x65dd4));const fs=require('fs'),path=require('path'),{v4:uuidv4}=require(a23_0x558448(0x1d0)),helper=require(a23_0x558448(0x1c6)),testHubConstants=require(a23_0x558448(0x1d6));class TestDetails{static [a23_0x558448(0x1b7)]={};static [a23_0x558448(0x1b4)]=path[a23_0x558448(0x1a8)](helper[a23_0x558448(0x1d1)](),a23_0x558448(0x1d3),a23_0x558448(0x1ab)+process[a23_0x558448(0x1c5)][testHubConstants[a23_0x558448(0x1ce)]['BROWSERSTACK_TESTHUB_UUID']]);static[a23_0x558448(0x1b3)](){const _0x284bcc=a23_0x558448,_0xf07642={};_0xf07642[_0x284bcc(0x1cb)]=_0x284bcc(0x1d3);const _0x42220d=_0xf07642;this['dirPath']=path[_0x284bcc(0x1a8)](helper[_0x284bcc(0x1d1)](),_0x42220d[_0x284bcc(0x1cb)],'jest-o11y-'+process[_0x284bcc(0x1c5)][testHubConstants[_0x284bcc(0x1ce)][_0x284bcc(0x1a7)]]),this[_0x284bcc(0x1a6)]();const _0x496ac7={};_0x496ac7[_0x284bcc(0x1c1)]=!![],fs[_0x284bcc(0x1c7)](this[_0x284bcc(0x1b4)],_0x496ac7);}static[a23_0x558448(0x1c2)](_0x36b208){const _0x55a9b9=a23_0x558448,_0x2fc5a6={};_0x2fc5a6[_0x55a9b9(0x1b0)]=function(_0x1c1200,_0x385fd5){return _0x1c1200+_0x385fd5;},_0x2fc5a6[_0x55a9b9(0x1a5)]=_0x55a9b9(0x1d2);const _0x50471c=_0x2fc5a6;return path[_0x55a9b9(0x1a8)](this[_0x55a9b9(0x1b4)],_0x50471c[_0x55a9b9(0x1b0)](_0x36b208,_0x50471c[_0x55a9b9(0x1a5)]));}static['getTestRunIdFromTestInfo'](_0x56637c){const _0x3290f8=a23_0x558448,_0x341b1f={};_0x341b1f[_0x3290f8(0x1c0)]=function(_0x1473de,_0x2a5fbc){return _0x1473de+_0x2a5fbc;},_0x341b1f[_0x3290f8(0x1ac)]=function(_0x9a2d1a,_0x20cb20){return _0x9a2d1a+_0x20cb20;},_0x341b1f[_0x3290f8(0x1bf)]=function(_0x2182cd,_0x46171e){return _0x2182cd+_0x46171e;};const _0x398d43=_0x341b1f;return _0x398d43[_0x3290f8(0x1c0)](_0x398d43[_0x3290f8(0x1ac)](_0x398d43[_0x3290f8(0x1ac)](_0x398d43[_0x3290f8(0x1bf)](_0x56637c[_0x3290f8(0x1c4)][_0x3290f8(0x1af)],'-'),_0x56637c[_0x3290f8(0x1c4)]['id']),'-'),_0x56637c['retry']);}static[a23_0x558448(0x1b1)](_0x1ab0cc){const _0x22fa99=a23_0x558448,_0x487b17=this['getFilePath'](_0x1ab0cc);if(fs[_0x22fa99(0x1a9)](_0x487b17)){const _0x2212f2=JSON[_0x22fa99(0x1a4)](fs['readFileSync'](_0x487b17)[_0x22fa99(0x1ca)]());return this[_0x22fa99(0x1b7)][_0x1ab0cc]=_0x2212f2,this[_0x22fa99(0x1b7)][_0x1ab0cc][_0x22fa99(0x1d0)];}}static[a23_0x558448(0x1b2)](_0x15f01e){const _0x65d620=a23_0x558448,_0x5071a0={};_0x5071a0[_0x65d620(0x1a2)]='testData.json';const _0x1474cb=_0x5071a0,_0x250848=path[_0x65d620(0x1a8)](this[_0x65d620(0x1b4)],_0x1474cb[_0x65d620(0x1a2)]);fs[_0x65d620(0x1ba)](_0x250848,JSON['stringify'](_0x15f01e));}static[a23_0x558448(0x1ae)](){const _0x3f935f=a23_0x558448,_0x4f7cc9={};_0x4f7cc9[_0x3f935f(0x1b9)]=_0x3f935f(0x1bc);const _0x5011c3=_0x4f7cc9,_0xd167eb=path['join'](this[_0x3f935f(0x1b4)],_0x5011c3[_0x3f935f(0x1b9)]);let _0x2cc59d={};try{return _0xd167eb&&fs[_0x3f935f(0x1a9)](_0xd167eb)&&(_0x2cc59d=JSON[_0x3f935f(0x1a4)](fs['readFileSync'](_0xd167eb)['toString']())),_0x2cc59d;}catch(_0xa42437){return _0x2cc59d;}}static[a23_0x558448(0x1cf)](_0x1dd730){const _0x31ca65=a23_0x558448,_0x1af6d7={'mYbGM':function(_0x2a59d8){return _0x2a59d8();}},_0x26dace=this[_0x31ca65(0x1c2)](_0x1dd730);return this[_0x31ca65(0x1b7)][_0x1dd730]={'uuid':_0x1af6d7[_0x31ca65(0x1a3)](uuidv4)},fs[_0x31ca65(0x1ba)](_0x26dace,JSON[_0x31ca65(0x1aa)](this[_0x31ca65(0x1b7)][_0x1dd730])),this[_0x31ca65(0x1b7)][_0x1dd730][_0x31ca65(0x1d0)];}static[a23_0x558448(0x1b6)](_0x32885c){const _0x18e157=a23_0x558448,_0x56f598=this[_0x18e157(0x1c2)](_0x32885c);_0x56f598&&(fs['existsSync'](_0x56f598)&&fs['unlinkSync'](_0x56f598));}static['shutdown'](){const _0x2aaa3c=a23_0x558448,_0x363971={};_0x363971[_0x2aaa3c(0x1c1)]=!![],_0x363971[_0x2aaa3c(0x1b8)]=!![],fs[_0x2aaa3c(0x1be)](this[_0x2aaa3c(0x1b4)],_0x363971);}}function a23_0x5da2(){const _0x54790f=['recursive','getFilePath','18613PbBfxw','_test','env','../../../helpers/helper','mkdirSync','576szeWoD','26gagvxF','toString','txVld','11OWVuTB','1590nbqOmK','ENV_VAR','setTestUUID','uuid','homedir','.json','.browserstack','1471608qJksLo','6063100ONJDnP','../../../helpers/testhub/constants','jIOOW','mYbGM','parse','nMDid','shutdown','BROWSERSTACK_TESTHUB_UUID','join','existsSync','stringify','jest-o11y-','XKGhe','39152dLvWfI','getTestData','_projectId','XgvlN','getTestUUID','setTestData','setup','dirPath','14565MFeaJy','removeTestUUID','tests','force','fxPCf','writeFileSync','3868280JCPoJS','testData.json','2252AdAgrd','rmSync','FIAtk','LTbJB'];a23_0x5da2=function(){return _0x54790f;};return a23_0x5da2();}module['exports']=TestDetails;
@@ -1 +1 @@
1
- function a24_0x2525(_0x44042f,_0x5ef077){const _0x2ca8c2=a24_0x2ca8();return a24_0x2525=function(_0x2525bd,_0x462e95){_0x2525bd=_0x2525bd-0x76;let _0x3c68d5=_0x2ca8c2[_0x2525bd];return _0x3c68d5;},a24_0x2525(_0x44042f,_0x5ef077);}const a24_0xcc8273=a24_0x2525;(function(_0x37e4e3,_0x49b8e9){const _0x726348=a24_0x2525,_0x248104=_0x37e4e3();while(!![]){try{const _0x68cda0=-parseInt(_0x726348(0x7a))/0x1*(parseInt(_0x726348(0x79))/0x2)+-parseInt(_0x726348(0x7b))/0x3*(-parseInt(_0x726348(0x81))/0x4)+-parseInt(_0x726348(0x78))/0x5*(-parseInt(_0x726348(0x7d))/0x6)+-parseInt(_0x726348(0x80))/0x7*(-parseInt(_0x726348(0x83))/0x8)+-parseInt(_0x726348(0x7e))/0x9*(-parseInt(_0x726348(0x76))/0xa)+-parseInt(_0x726348(0x84))/0xb+-parseInt(_0x726348(0x77))/0xc;if(_0x68cda0===_0x49b8e9)break;else _0x248104['push'](_0x248104['shift']());}catch(_0x30a487){_0x248104['push'](_0x248104['shift']());}}}(a24_0x2ca8,0x76f36));const {requireModule}=require(a24_0xcc8273(0x82));function a24_0x2ca8(){const _0x4675ab=['1711674QiLVbl','2953890ZtUWnc','../../helpers/setKeepAlive','1057VlNwrl','1793228uGAhYx','../../helpers/helper','35016zMpkFK','1778931zmXYzD','20WoJfph','9228624NLrsxa','5WohyjM','4lONGzR','316469MuCCko','3oHSHkd','__webdriver'];a24_0x2ca8=function(){return _0x4675ab;};return a24_0x2ca8();}require(a24_0xcc8273(0x7f))();const __wd__=requireModule('selenium-webdriver');for(const key of Object['keys'](global[a24_0xcc8273(0x7c)])){__wd__[key]=global[a24_0xcc8273(0x7c)][key];}
1
+ const a24_0x2a554f=a24_0x1eb2;function a24_0x73a0(){const _0x28e4a0=['9354499bhAQXf','../../helpers/setKeepAlive','30JiVHyZ','9941748LfSsTZ','700VdrywQ','685095xEMZXh','keys','1652huBUyq','48104MunBis','selenium-webdriver','88532HjHmLB','8361mIdXEr','10vjuFdF','../../helpers/helper','__webdriver','8sOaPwK','3338721KPMaiS'];a24_0x73a0=function(){return _0x28e4a0;};return a24_0x73a0();}function a24_0x1eb2(_0xb27662,_0x32061e){const _0x73a020=a24_0x73a0();return a24_0x1eb2=function(_0x1eb23b,_0x1253dc){_0x1eb23b=_0x1eb23b-0x102;let _0x4c4282=_0x73a020[_0x1eb23b];return _0x4c4282;},a24_0x1eb2(_0xb27662,_0x32061e);}(function(_0x226136,_0x1d08c7){const _0x507986=a24_0x1eb2,_0x1fb858=_0x226136();while(!![]){try{const _0x165757=parseInt(_0x507986(0x105))/0x1*(parseInt(_0x507986(0x111))/0x2)+-parseInt(_0x507986(0x112))/0x3*(-parseInt(_0x507986(0x10e))/0x4)+parseInt(_0x507986(0x10c))/0x5*(-parseInt(_0x507986(0x109))/0x6)+-parseInt(_0x507986(0x10b))/0x7*(parseInt(_0x507986(0x10f))/0x8)+-parseInt(_0x507986(0x106))/0x9*(-parseInt(_0x507986(0x102))/0xa)+parseInt(_0x507986(0x107))/0xb+-parseInt(_0x507986(0x10a))/0xc;if(_0x165757===_0x1d08c7)break;else _0x1fb858['push'](_0x1fb858['shift']());}catch(_0x23e5cb){_0x1fb858['push'](_0x1fb858['shift']());}}}(a24_0x73a0,0x9554f));const {requireModule}=require(a24_0x2a554f(0x103));require(a24_0x2a554f(0x108))();const __wd__=requireModule(a24_0x2a554f(0x110));for(const key of Object[a24_0x2a554f(0x10d)](global['__webdriver'])){__wd__[key]=global[a24_0x2a554f(0x104)][key];}
@@ -1 +1 @@
1
- const a25_0x169102=a25_0x4b0c;function a25_0x4b0c(_0x40cbe2,_0x166531){const _0x213ca0=a25_0x213c();return a25_0x4b0c=function(_0x4b0c8e,_0x147e42){_0x4b0c8e=_0x4b0c8e-0x181;let _0xf6572e=_0x213ca0[_0x4b0c8e];return _0xf6572e;},a25_0x4b0c(_0x40cbe2,_0x166531);}(function(_0x2b9cea,_0x436ba6){const _0x36f218=a25_0x4b0c,_0x1facf0=_0x2b9cea();while(!![]){try{const _0x49cbe5=-parseInt(_0x36f218(0x198))/0x1+parseInt(_0x36f218(0x1a7))/0x2+parseInt(_0x36f218(0x187))/0x3+parseInt(_0x36f218(0x19d))/0x4+-parseInt(_0x36f218(0x192))/0x5+parseInt(_0x36f218(0x1aa))/0x6*(-parseInt(_0x36f218(0x195))/0x7)+parseInt(_0x36f218(0x1a0))/0x8;if(_0x49cbe5===_0x436ba6)break;else _0x1facf0['push'](_0x1facf0['shift']());}catch(_0xd9e766){_0x1facf0['push'](_0x1facf0['shift']());}}}(a25_0x213c,0x9294a));const path=require('path'),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x169102(0x1a3)),constants=require(a25_0x169102(0x1a9)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),RequestQueueHandler=require(a25_0x169102(0x1a8)),{isTestObservabilitySession}=require('../../helpers/test-observability/utils'),helper=require('../../helpers/helper'),PerformanceTester=require(a25_0x169102(0x199)),PerformanceEvents=require('../../helpers/performance/constants')[a25_0x169102(0x1a4)],{commandRepository}=require(a25_0x169102(0x197));class Launcher{constructor(_0x387b61,_0x165455,_0x36e3c9,_0x2fbdee=[]){const _0x584c6a=a25_0x169102,_0x136825={'edDjn':_0x584c6a(0x1ab),'NBAej':function(_0x196083){return _0x196083();},'QneRQ':function(_0x5a181e){return _0x5a181e();}},_0x1a01d9=_0x136825[_0x584c6a(0x19e)][_0x584c6a(0x1ac)]('|');let _0x41c7e2=0x0;while(!![]){switch(_0x1a01d9[_0x41c7e2++]){case'0':this[_0x584c6a(0x188)]=_0x165455[_0x584c6a(0x1a1)]||{};continue;case'1':global[_0x584c6a(0x196)]=0x0;continue;case'2':this[_0x584c6a(0x193)]=_0x165455[_0x584c6a(0x184)];continue;case'3':global['testsUnknown']=0x0;continue;case'4':global[_0x584c6a(0x189)]={};continue;case'5':global[_0x584c6a(0x1a2)]=0x0;continue;case'6':this[_0x584c6a(0x186)]=_0x36e3c9;continue;case'7':this[_0x584c6a(0x182)]=_0x136825[_0x584c6a(0x183)](isAccessibilityAutomationSession);continue;case'8':global['testsPending']=0x0;continue;case'9':global['testsPassed']=0x0;continue;case'10':global[_0x584c6a(0x1a6)]=0x0;continue;case'11':global['__platform__']=this[_0x584c6a(0x188)]['platform'];continue;case'12':this['_formatter']=_0x165455['formatter'];continue;case'13':this[_0x584c6a(0x188)]['framework']=_0x387b61;continue;case'14':global[_0x584c6a(0x190)]=0x0;continue;case'15':this[_0x584c6a(0x194)]=this[_0x584c6a(0x188)][_0x584c6a(0x18c)];continue;case'16':!constants[_0x584c6a(0x18b)][_0x584c6a(0x1a5)](_0x387b61)&&(commandRepository[_0x584c6a(0x19a)](_0x36e3c9),commandRepository[_0x584c6a(0x19b)](_0x387b61));continue;case'17':global[_0x584c6a(0x18d)]=0x0;continue;case'18':global[_0x584c6a(0x18a)]=this['_configuration'][_0x584c6a(0x18e)]||{};continue;case'19':global[_0x584c6a(0x181)]=0x0;continue;case'20':this['_framework']=_0x387b61;continue;case'21':this[_0x584c6a(0x19c)]=_0x136825['QneRQ'](isTestObservabilitySession);continue;case'22':this[_0x584c6a(0x185)]=_0x2fbdee;continue;case'23':global[_0x584c6a(0x18f)]=0x0;continue;}break;}}[a25_0x169102(0x191)](_0x22d949,_0xa7eae4,_0x29d9a3){const _0x49daf9=a25_0x169102,_0x307772=_0x22d949[_0x49daf9(0x19f)];_0x22d949.resolvePaths=async function(){const pathResults=await _0x307772.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x29d9a3));return pathResults;},_0xa7eae4.push('--format'),_0xa7eae4.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{PerformanceTester.start(PerformanceEvents.SDK_PRE_TEST);require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js','mocha');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;if(!helper.isUndefined(this._mochaOpts.mochaRequire)){this._mochaOpts.require=this._mochaOpts.mochaRequire;const plugins=await mochaRunHelper.handleRequires([this._mochaOpts.require]);Object.assign(this._mochaOpts,plugins);}const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={};Object.assign(mochaOpts,this._mochaOpts);const reporterOption={};Object.assign(reporterOption,this._mochaOpts.reporterOptions);Object.assign(reporterOption,{type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig});mochaOpts.reporterOption=reporterOption;Object.assign(mochaOpts,{reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout});global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}PerformanceTester.end(PerformanceEvents.SDK_PRE_TEST);const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;global.capabilities=[this._capability];try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js','@cucumber/cucumber');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js','cucumber');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js','@cucumber/cucumber');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js','@cucumber/cucumber');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js','@cucumber/cucumber').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js','cucumber').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);process.env.BSTACK_CONFIG=JSON.stringify(this._bsConfig);cucumber.run().then(async output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};await RequestQueueHandler.getInstance().shutdown();resolve(_results);}).catch(async er=>{await RequestQueueHandler.getInstance().shutdown();reject(er);});}else if(this._framework==='vanilla'){global.capabilities=[this._capability];process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}function a25_0x213c(){const _0x3837ca=['1979512nDHdJH','../../helpers/test-observability/requestQueueHandler','../utils/constants','6OuBrso','20|0|13|2|12|15|11|22|6|21|7|18|23|1|9|10|8|17|14|5|3|19|4|16','split','testsAmbiguous','_accessibilityAutomation','NBAej','mochaOpts','_argv','_bsConfig','2757798tVlTgb','_configuration','testsErrorMessage','__platformCaps','AI_ENABLED_FRAMEWORK','capability','testsSkipped','platformCaps','testSuites','testSuitesFailed','setupCucumber','2514850uwKdUa','_mochaOpts','_capability','967148GKMsAa','totalTests','../../helpers/ai-sdk/autoHealHelper','1153156eIDrKM','../../helpers/performance/performance-tester','setConfig','setFramework','_testObservability','886952mTgHNd','edDjn','resolvePaths','2111392dqMZqD','configuration','testsUndefined','../../helpers/helper','EVENTS','includes','testsFailed'];a25_0x213c=function(){return _0x3837ca;};return a25_0x213c();}module.exports=Launcher;
1
+ const a25_0x29afe0=a25_0x136f;(function(_0x1cc852,_0x26fcb4){const _0x211f58=a25_0x136f,_0x3ee5e2=_0x1cc852();while(!![]){try{const _0x1aa884=parseInt(_0x211f58(0x96))/0x1+-parseInt(_0x211f58(0x83))/0x2+parseInt(_0x211f58(0xa3))/0x3*(-parseInt(_0x211f58(0x97))/0x4)+parseInt(_0x211f58(0x9c))/0x5*(parseInt(_0x211f58(0xaf))/0x6)+-parseInt(_0x211f58(0xa4))/0x7*(-parseInt(_0x211f58(0xa8))/0x8)+-parseInt(_0x211f58(0xb2))/0x9+parseInt(_0x211f58(0xaa))/0xa;if(_0x1aa884===_0x26fcb4)break;else _0x3ee5e2['push'](_0x3ee5e2['shift']());}catch(_0x14d228){_0x3ee5e2['push'](_0x3ee5e2['shift']());}}}(a25_0x339b,0x93c2c));function a25_0x339b(){const _0xd65fb6=['testsErrorMessage','0|18|23|6|16|17|19|5|13|12|20|21|7|11|4|8|2|22|9|3|14|1|15|10','AI_ENABLED_FRAMEWORK','mochaOpts','resolvePaths','_bsConfig','691975iNneWZ','229996YPUzWb','EVENTS','../../helpers/helper','framework','_argv','15SxkTrC','setFramework','OoINQ','setConfig','_framework','testSuitesFailed','testsPassed','57pyjkyw','4466721CZlRgN','raTMD','_configuration','../../helpers/performance/performance-tester','8tlOWwE','_accessibilityAutomation','17954840zVVmmT','totalTests','../utils/constants','UvPvN','../../helpers/test-observability/requestQueueHandler','78042NWRZPK','__platformCaps','_capability','5491674bDmUqr','configuration','../../helpers/ai-sdk/autoHealHelper','../../helpers/performance/constants','1713376AVPfYQ','testsUndefined','../../helpers/accessibility-automation/helper','formatter','__platform__','split','testsAmbiguous','_mochaOpts','platformCaps','_formatter','setupCucumber','testsPending','testsUnknown'];a25_0x339b=function(){return _0xd65fb6;};return a25_0x339b();}function a25_0x136f(_0x275ae9,_0x515e34){const _0x339b2b=a25_0x339b();return a25_0x136f=function(_0x136f71,_0x4b0049){_0x136f71=_0x136f71-0x83;let _0xa4b920=_0x339b2b[_0x136f71];return _0xa4b920;},a25_0x136f(_0x275ae9,_0x515e34);}const path=require('path'),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x29afe0(0x99)),constants=require(a25_0x29afe0(0xac)),{isAccessibilityAutomationSession}=require(a25_0x29afe0(0x85)),RequestQueueHandler=require(a25_0x29afe0(0xae)),{isTestObservabilitySession}=require('../../helpers/test-observability/utils'),helper=require(a25_0x29afe0(0x99)),PerformanceTester=require(a25_0x29afe0(0xa7)),PerformanceEvents=require(a25_0x29afe0(0xb5))[a25_0x29afe0(0x98)],{commandRepository}=require(a25_0x29afe0(0xb4));class Launcher{constructor(_0x3103c9,_0x17149b,_0x290bbc,_0x3ff7e6=[]){const _0x15de69=a25_0x29afe0,_0xb2a101={'UvPvN':_0x15de69(0x91),'raTMD':function(_0x59ee25){return _0x59ee25();},'OoINQ':function(_0x2252a5){return _0x2252a5();}},_0x18c494=_0xb2a101[_0x15de69(0xad)][_0x15de69(0x88)]('|');let _0x587274=0x0;while(!![]){switch(_0x18c494[_0x587274++]){case'0':this[_0x15de69(0xa0)]=_0x3103c9;continue;case'1':global[_0x15de69(0x89)]=0x0;continue;case'2':global[_0x15de69(0x8e)]=0x0;continue;case'3':global[_0x15de69(0x84)]=0x0;continue;case'4':global[_0x15de69(0xa2)]=0x0;continue;case'5':this[_0x15de69(0x9b)]=_0x3ff7e6;continue;case'6':this[_0x15de69(0x8a)]=_0x17149b[_0x15de69(0x93)];continue;case'7':global['testSuites']=0x0;continue;case'8':global['testsFailed']=0x0;continue;case'9':global[_0x15de69(0xa1)]=0x0;continue;case'10':!constants[_0x15de69(0x92)]['includes'](_0x3103c9)&&(commandRepository[_0x15de69(0x9f)](_0x290bbc),commandRepository[_0x15de69(0x9d)](_0x3103c9));continue;case'11':global[_0x15de69(0xab)]=0x0;continue;case'12':this['_testObservability']=_0xb2a101[_0x15de69(0xa5)](isTestObservabilitySession);continue;case'13':this[_0x15de69(0x95)]=_0x290bbc;continue;case'14':global[_0x15de69(0x8f)]=0x0;continue;case'15':global[_0x15de69(0x90)]={};continue;case'16':this[_0x15de69(0x8c)]=_0x17149b[_0x15de69(0x86)];continue;case'17':this[_0x15de69(0xb1)]=this[_0x15de69(0xa6)]['capability'];continue;case'18':this[_0x15de69(0xa6)]=_0x17149b[_0x15de69(0xb3)]||{};continue;case'19':global[_0x15de69(0x87)]=this[_0x15de69(0xa6)]['platform'];continue;case'20':this[_0x15de69(0xa9)]=_0xb2a101[_0x15de69(0x9e)](isAccessibilityAutomationSession);continue;case'21':global[_0x15de69(0xb0)]=this[_0x15de69(0xa6)][_0x15de69(0x8b)]||{};continue;case'22':global['testsSkipped']=0x0;continue;case'23':this[_0x15de69(0xa6)][_0x15de69(0x9a)]=_0x3103c9;continue;}break;}}[a25_0x29afe0(0x8d)](_0x4251e0,_0x901ce1,_0x48067e){const _0xad74b8=a25_0x29afe0,_0x22e4d9=_0x4251e0[_0xad74b8(0x94)];_0x4251e0.resolvePaths=async function(){const pathResults=await _0x22e4d9.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x48067e));return pathResults;},_0x901ce1.push('--format'),_0x901ce1.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{PerformanceTester.start(PerformanceEvents.SDK_PRE_TEST);require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js','mocha');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;if(!helper.isUndefined(this._mochaOpts.mochaRequire)){this._mochaOpts.require=this._mochaOpts.mochaRequire;const plugins=await mochaRunHelper.handleRequires([this._mochaOpts.require]);Object.assign(this._mochaOpts,plugins);}const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={};Object.assign(mochaOpts,this._mochaOpts);const reporterOption={};Object.assign(reporterOption,this._mochaOpts.reporterOptions);Object.assign(reporterOption,{type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig});mochaOpts.reporterOption=reporterOption;Object.assign(mochaOpts,{reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout});global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}PerformanceTester.end(PerformanceEvents.SDK_PRE_TEST);const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;global.capabilities=[this._capability];try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js','@cucumber/cucumber');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js','cucumber');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js','@cucumber/cucumber');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js','@cucumber/cucumber');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js','@cucumber/cucumber').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js','cucumber').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);process.env.BSTACK_CONFIG=JSON.stringify(this._bsConfig);cucumber.run().then(async output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};await RequestQueueHandler.getInstance().shutdown();resolve(_results);}).catch(async er=>{await RequestQueueHandler.getInstance().shutdown();reject(er);});}else if(this._framework==='vanilla'){global.capabilities=[this._capability];process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}module.exports=Launcher;
@@ -1 +1 @@
1
- const a26_0x3135b8=a26_0x5410;(function(_0x468f50,_0x18c755){const _0x29794d=a26_0x5410,_0x2b5c11=_0x468f50();while(!![]){try{const _0x2aae33=-parseInt(_0x29794d(0x12c))/0x1+-parseInt(_0x29794d(0x15a))/0x2+-parseInt(_0x29794d(0x118))/0x3*(parseInt(_0x29794d(0x11e))/0x4)+parseInt(_0x29794d(0x123))/0x5*(parseInt(_0x29794d(0x138))/0x6)+-parseInt(_0x29794d(0x168))/0x7+-parseInt(_0x29794d(0x131))/0x8*(-parseInt(_0x29794d(0x148))/0x9)+-parseInt(_0x29794d(0x11a))/0xa*(-parseInt(_0x29794d(0x132))/0xb);if(_0x2aae33===_0x18c755)break;else _0x2b5c11['push'](_0x2b5c11['shift']());}catch(_0x59d306){_0x2b5c11['push'](_0x2b5c11['shift']());}}}(a26_0x4535,0xabeb1));const path=require('path'),os=require('os'),util=require('util'),bsSetupHelper=require(a26_0x3135b8(0x154)),globals=require('../../../helpers/globals'),logger=require(a26_0x3135b8(0x122))[a26_0x3135b8(0x15f)];function a26_0x4535(){const _0x58d110=['deviceName','8oHOQTz','11EXmXiI','browserstack.accessibilityOptions','latest','setGlobal','bstack:options','requireModule','6ppvtuD','sQmoC','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','ksBxo','wUpsO','fJAAq','nestedKeyValue','env','setExtension','toLowerCase','pUtHm','selenium-webdriver','browserName','includes','browserstack','BS_A11Y_JWT','3977001vXGuYf','zWktf','getPlatformVersion','debug','format','accessibilityOptions','DrWMY','__cloud_provider___','oSznh','WLuZt','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','getBrowserVersion','../../../helpers/helper','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','vuNbD','chromeOptions_','Options','KLTSz','1235388cMiMis','FIJsV','--headless','amtjs','HhJVc','winstonLogger','fetchPlatformDetails','accessibility','authToken','chromeOptions','parse','isAccessibilityPlatform','aAsAH','device','2633491NqfmTV','args','UUhCX','363TLPGSe','scannerVersion','24796270ucrRqE','wsjiR','capability','CWWkh','20824FnjVIP','RbetG','browser_version','selenium-webdriver/chrome.js','../../../helpers/logger','2222745mEhFod','getBrowserName','getCapabilities','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','warn','EofGx','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','capabilities_','1038055qIlAlJ','Exception\x20in\x20setExtension\x20Error:\x20','qHVjk','xFJkx'];a26_0x4535=function(){return _0x58d110;};return a26_0x4535();}function a26_0x5410(_0x5c2995,_0x5da6c6){const _0x4535c1=a26_0x4535();return a26_0x5410=function(_0x54102c,_0x3d145e){_0x54102c=_0x54102c-0x117;let _0x334762=_0x4535c1[_0x54102c];return _0x334762;},a26_0x5410(_0x5c2995,_0x5da6c6);}exports['setAccessibilityCapabilities']=_0x31be92=>{const _0x76bf4=a26_0x3135b8,_0x5a1545={};_0x5a1545[_0x76bf4(0x14e)]=_0x76bf4(0x136),_0x5a1545['sQmoC']='browserstack.accessibility',_0x5a1545[_0x76bf4(0x128)]=_0x76bf4(0x165),_0x5a1545['zWktf']=_0x76bf4(0x133);const _0x5f9010=_0x5a1545;try{const _0x2c16d2=_0x31be92[_0x76bf4(0x11c)]||{};if(_0x2c16d2[_0x5f9010[_0x76bf4(0x14e)]]&&_0x2c16d2[_0x5f9010[_0x76bf4(0x14e)]][_0x76bf4(0x161)]||_0x31be92[_0x76bf4(0x11c)][_0x5f9010[_0x76bf4(0x139)]]){globals[_0x76bf4(0x135)](_0x5f9010[_0x76bf4(0x128)],!![]);if(_0x2c16d2[_0x5f9010[_0x76bf4(0x14e)]]){if(_0x2c16d2[_0x5f9010['DrWMY']][_0x76bf4(0x14d)])_0x2c16d2[_0x5f9010[_0x76bf4(0x14e)]]['accessibilityOptions']['authToken']=process[_0x76bf4(0x13f)][_0x76bf4(0x147)];else{const _0x1e4ee2={};_0x1e4ee2['authToken']=process[_0x76bf4(0x13f)][_0x76bf4(0x147)],_0x2c16d2[_0x5f9010[_0x76bf4(0x14e)]][_0x76bf4(0x14d)]=_0x1e4ee2;}_0x2c16d2[_0x5f9010[_0x76bf4(0x14e)]][_0x76bf4(0x14d)][_0x76bf4(0x119)]=JSON['parse'](process[_0x76bf4(0x13f)][_0x76bf4(0x155)])[_0x76bf4(0x119)];}else{if(_0x31be92[_0x76bf4(0x11c)][_0x5f9010[_0x76bf4(0x139)]]){if(_0x2c16d2[_0x5f9010[_0x76bf4(0x149)]])_0x2c16d2[_0x5f9010[_0x76bf4(0x149)]][_0x76bf4(0x162)]=process['env']['BS_A11Y_JWT'];else{const _0x20bf96={};_0x20bf96[_0x76bf4(0x162)]=process[_0x76bf4(0x13f)][_0x76bf4(0x147)],_0x2c16d2[_0x5f9010[_0x76bf4(0x149)]]=_0x20bf96;}_0x2c16d2[_0x5f9010[_0x76bf4(0x149)]]['scannerVersion']=JSON[_0x76bf4(0x164)](process[_0x76bf4(0x13f)][_0x76bf4(0x155)])[_0x76bf4(0x119)];}}}}catch(_0x4bc519){logger['debug'](_0x76bf4(0x12a)+_0x4bc519);}},exports[a26_0x3135b8(0x140)]=(_0x3db575,_0x3fa9a0)=>{const _0x4d2516=a26_0x3135b8,_0x3c3199={};_0x3c3199[_0x4d2516(0x159)]=_0x4d2516(0x136),_0x3c3199[_0x4d2516(0x11d)]=function(_0x5baa40,_0x56fcc7){return _0x5baa40!==_0x56fcc7;},_0x3c3199[_0x4d2516(0x13c)]=_0x4d2516(0x152),_0x3c3199['amtjs']=function(_0x21e0b2,_0x43999d){return _0x21e0b2!==_0x43999d;},_0x3c3199['aAsAH']='chrome',_0x3c3199[_0x4d2516(0x12e)]=_0x4d2516(0x126),_0x3c3199[_0x4d2516(0x142)]=function(_0x14ed38,_0x32a545){return _0x14ed38===_0x32a545;},_0x3c3199[_0x4d2516(0x12f)]=_0x4d2516(0x134),_0x3c3199[_0x4d2516(0x15b)]=function(_0x4ab2c9,_0x497304){return _0x4ab2c9>_0x497304;},_0x3c3199[_0x4d2516(0x11b)]=_0x4d2516(0x13a),_0x3c3199[_0x4d2516(0x13b)]=_0x4d2516(0x121),_0x3c3199[_0x4d2516(0x150)]=_0x4d2516(0x143),_0x3c3199['HhJVc']='options_',_0x3c3199[_0x4d2516(0x117)]=_0x4d2516(0x169),_0x3c3199[_0x4d2516(0x11f)]=_0x4d2516(0x163),_0x3c3199[_0x4d2516(0x151)]=_0x4d2516(0x15c),_0x3c3199[_0x4d2516(0x156)]='Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.';const _0x497420=_0x3c3199;try{const _0x40adea=_0x3fa9a0[_0x4d2516(0x11c)]||{},_0x28f63c=(_0x40adea[_0x497420[_0x4d2516(0x159)]]?_0x40adea[_0x497420[_0x4d2516(0x159)]][_0x4d2516(0x130)]:_0x40adea[_0x4d2516(0x167)])||'';if(_0x497420[_0x4d2516(0x11d)](_0x28f63c,''))return logger[_0x4d2516(0x127)](_0x497420[_0x4d2516(0x13c)]),![];const _0x44a94d=_0x40adea[_0x4d2516(0x144)]||_0x3db575[_0x4d2516(0x12b)][_0x4d2516(0x124)]();if(_0x497420[_0x4d2516(0x15d)](_0x44a94d[_0x4d2516(0x141)](),_0x497420[_0x4d2516(0x166)]))return logger[_0x4d2516(0x127)](_0x497420[_0x4d2516(0x12e)]),![];const _0x4c6717=_0x40adea['browserVersion']||_0x40adea[_0x4d2516(0x120)]||_0x3db575[_0x4d2516(0x12b)][_0x4d2516(0x153)]();if(!bsSetupHelper['isUndefined'](_0x4c6717)&&!(_0x497420[_0x4d2516(0x142)](_0x4c6717,_0x497420[_0x4d2516(0x12f)])||_0x497420[_0x4d2516(0x15b)](_0x4c6717,0x5e)))return logger[_0x4d2516(0x127)](_0x497420[_0x4d2516(0x11b)]),![];let _0x36ece2;try{_0x36ece2=bsSetupHelper[_0x4d2516(0x137)](_0x497420['ksBxo'],_0x497420[_0x4d2516(0x150)]);}catch(_0x534cd7){return![];}const _0x3419f4=new _0x36ece2[(_0x4d2516(0x158))](_0x3db575[_0x4d2516(0x157)]),_0x48e59b=bsSetupHelper[_0x4d2516(0x13e)](_0x3419f4,[_0x497420[_0x4d2516(0x15e)],_0x497420[_0x4d2516(0x117)]])||bsSetupHelper[_0x4d2516(0x13e)](_0x3db575[_0x4d2516(0x12b)]['get'](_0x497420[_0x4d2516(0x159)]),[_0x497420[_0x4d2516(0x11f)],_0x497420[_0x4d2516(0x117)]])||bsSetupHelper[_0x4d2516(0x13e)](_0x3db575[_0x4d2516(0x12b)]['get'](_0x497420[_0x4d2516(0x11f)]),[_0x497420[_0x4d2516(0x117)]])||[];if(_0x48e59b[_0x4d2516(0x145)](_0x497420[_0x4d2516(0x151)]))return logger['warn'](_0x497420[_0x4d2516(0x156)]),![];return!![];}catch(_0x2f49ba){logger[_0x4d2516(0x14b)](_0x4d2516(0x12d)+util[_0x4d2516(0x14c)](_0x2f49ba));}return![];},exports[a26_0x3135b8(0x160)]=async _0x4f28db=>{const _0x325c90=a26_0x3135b8,_0x4487b8={};_0x4487b8[_0x325c90(0x13d)]=function(_0x402577,_0x44040a){return _0x402577===_0x44040a;},_0x4487b8['fErUX']=_0x325c90(0x146);const _0x778f1=_0x4487b8;let _0x40cda2={};try{const _0x247008=await _0x4f28db[_0x325c90(0x125)]();_0x40cda2={'os_name':_0x247008['getPlatform'](),'os_version':bsSetupHelper[_0x325c90(0x14a)](_0x778f1[_0x325c90(0x13d)](global[_0x325c90(0x14f)],_0x778f1['fErUX'])),'browser_name':_0x247008['getBrowserName'](),'browser_version':_0x247008[_0x325c90(0x153)]()};}catch(_0x2e8dcc){logger['debug'](_0x325c90(0x129)+_0x2e8dcc);}return _0x40cda2;};
1
+ const a26_0x1be0bc=a26_0x1b83;function a26_0x1b83(_0x60a9e1,_0x8294d5){const _0xe5360a=a26_0xe536();return a26_0x1b83=function(_0x1b83a5,_0x57fb9f){_0x1b83a5=_0x1b83a5-0xaf;let _0x14b301=_0xe5360a[_0x1b83a5];return _0x14b301;},a26_0x1b83(_0x60a9e1,_0x8294d5);}function a26_0xe536(){const _0x309030=['chromeOptions_','JXKIb','isAccessibilityPlatform','../../../helpers/logger','pGzGN','capability','EApYr','5026241YOpqLS','10344KyzciU','scannerVersion','accessibility','browserstack','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','selenium-webdriver','setAccessibilityCapabilities','35xKPTRB','parse','jGZLx','SXTLW','XhGIK','util','latest','ojcmn','setGlobal','hqtdd','BS_A11Y_JWT','OPbfu','GhuYz','debug','2ZGzisA','NytbJ','ObYbR','iipJI','requireModule','__cloud_provider___','getPlatform','NDzVC','483946rLkgfK','KGrLS','oMoRz','format','1509363mSMzru','Options','browserstack.accessibility','args','includes','20GHauyF','dXLxd','options_','browser_version','247348BqglBb','bstack:options','fetchPlatformDetails','toLowerCase','accessibilityOptions','fgDFL','device','QVqlg','capabilities_','browserVersion','chromeOptions','KacxN','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','authToken','getPlatformVersion','3035490zEvfiT','../../../helpers/globals','2883726aOhVtz','env','nestedKeyValue','--headless','getBrowserVersion','kfeVJ','ByfCO','get','2716TdWyiU','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Exception\x20in\x20setExtension\x20Error:\x20','browserstack.accessibilityOptions','warn'];a26_0xe536=function(){return _0x309030;};return a26_0xe536();}(function(_0x52c02d,_0x2f1622){const _0x903dee=a26_0x1b83,_0x332b1f=_0x52c02d();while(!![]){try{const _0x533ecb=parseInt(_0x903dee(0xcc))/0x1*(parseInt(_0x903dee(0xc4))/0x2)+parseInt(_0x903dee(0xd0))/0x3+parseInt(_0x903dee(0xd9))/0x4*(parseInt(_0x903dee(0xb6))/0x5)+parseInt(_0x903dee(0xe8))/0x6+parseInt(_0x903dee(0xf2))/0x7*(-parseInt(_0x903dee(0xaf))/0x8)+-parseInt(_0x903dee(0xea))/0x9*(parseInt(_0x903dee(0xd5))/0xa)+-parseInt(_0x903dee(0xff))/0xb;if(_0x533ecb===_0x2f1622)break;else _0x332b1f['push'](_0x332b1f['shift']());}catch(_0x5a996b){_0x332b1f['push'](_0x332b1f['shift']());}}}(a26_0xe536,0x4fafe));const path=require('path'),os=require('os'),util=require(a26_0x1be0bc(0xbb)),bsSetupHelper=require('../../../helpers/helper'),globals=require(a26_0x1be0bc(0xe9)),logger=require(a26_0x1be0bc(0xfb))['winstonLogger'];exports[a26_0x1be0bc(0xb5)]=_0x252131=>{const _0x223332=a26_0x1be0bc,_0x451a32={};_0x451a32[_0x223332(0xba)]=_0x223332(0xda),_0x451a32[_0x223332(0xfe)]=_0x223332(0xd2),_0x451a32[_0x223332(0xf9)]=_0x223332(0xfa),_0x451a32[_0x223332(0xc1)]=_0x223332(0xf6);const _0x4b8534=_0x451a32;try{const _0x247fa6=_0x252131['capability']||{};if(_0x247fa6[_0x4b8534[_0x223332(0xba)]]&&_0x247fa6[_0x4b8534[_0x223332(0xba)]][_0x223332(0xb1)]||_0x252131['capability'][_0x4b8534[_0x223332(0xfe)]]){globals[_0x223332(0xbe)](_0x4b8534[_0x223332(0xf9)],!![]);if(_0x247fa6[_0x4b8534[_0x223332(0xba)]]){if(_0x247fa6[_0x4b8534[_0x223332(0xba)]][_0x223332(0xdd)])_0x247fa6[_0x4b8534[_0x223332(0xba)]]['accessibilityOptions'][_0x223332(0xe6)]=process[_0x223332(0xeb)][_0x223332(0xc0)];else{const _0x32dffe={};_0x32dffe[_0x223332(0xe6)]=process['env'][_0x223332(0xc0)],_0x247fa6[_0x4b8534[_0x223332(0xba)]][_0x223332(0xdd)]=_0x32dffe;}_0x247fa6[_0x4b8534[_0x223332(0xba)]]['accessibilityOptions'][_0x223332(0xb0)]=JSON[_0x223332(0xb7)](process[_0x223332(0xeb)][_0x223332(0xb3)])[_0x223332(0xb0)];}else{if(_0x252131[_0x223332(0xfd)][_0x4b8534[_0x223332(0xfe)]]){if(_0x247fa6[_0x4b8534['OPbfu']])_0x247fa6[_0x4b8534[_0x223332(0xc1)]]['authToken']=process[_0x223332(0xeb)][_0x223332(0xc0)];else{const _0x18c30e={};_0x18c30e['authToken']=process[_0x223332(0xeb)][_0x223332(0xc0)],_0x247fa6[_0x4b8534[_0x223332(0xc1)]]=_0x18c30e;}_0x247fa6[_0x4b8534[_0x223332(0xc1)]][_0x223332(0xb0)]=JSON[_0x223332(0xb7)](process[_0x223332(0xeb)][_0x223332(0xb3)])['scannerVersion'];}}}}catch(_0x119521){logger[_0x223332(0xc3)]('Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20'+_0x119521);}},exports['setExtension']=(_0x1e02e0,_0xa0f9c4)=>{const _0x47d8d1=a26_0x1be0bc,_0x15dae2={};_0x15dae2[_0x47d8d1(0xf0)]=_0x47d8d1(0xda),_0x15dae2[_0x47d8d1(0xde)]=function(_0x59d8ab,_0x3597dc){return _0x59d8ab!==_0x3597dc;},_0x15dae2[_0x47d8d1(0xcb)]=_0x47d8d1(0xf4),_0x15dae2[_0x47d8d1(0xc6)]=function(_0x5445fe,_0x448b33){return _0x5445fe!==_0x448b33;},_0x15dae2['KacxN']='chrome',_0x15dae2['rrzrd']='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.',_0x15dae2[_0x47d8d1(0xb8)]=function(_0x3bc69a,_0x49eecb){return _0x3bc69a===_0x49eecb;},_0x15dae2[_0x47d8d1(0xc7)]=_0x47d8d1(0xbc),_0x15dae2[_0x47d8d1(0xbd)]=function(_0x4ae8e0,_0x2128e7){return _0x4ae8e0>_0x2128e7;},_0x15dae2[_0x47d8d1(0xce)]=_0x47d8d1(0xf3),_0x15dae2[_0x47d8d1(0xfc)]='selenium-webdriver/chrome.js',_0x15dae2['GhuYz']=_0x47d8d1(0xb4),_0x15dae2[_0x47d8d1(0xbf)]=_0x47d8d1(0xd7),_0x15dae2[_0x47d8d1(0xd6)]=_0x47d8d1(0xd3),_0x15dae2[_0x47d8d1(0xef)]=_0x47d8d1(0xe3),_0x15dae2[_0x47d8d1(0xc5)]=_0x47d8d1(0xed),_0x15dae2['KGrLS']=_0x47d8d1(0xe5);const _0x1fb1b7=_0x15dae2;try{const _0x2e35a0=_0xa0f9c4[_0x47d8d1(0xfd)]||{},_0x227fff=(_0x2e35a0[_0x1fb1b7[_0x47d8d1(0xf0)]]?_0x2e35a0[_0x1fb1b7[_0x47d8d1(0xf0)]]['deviceName']:_0x2e35a0[_0x47d8d1(0xdf)])||'';if(_0x1fb1b7[_0x47d8d1(0xde)](_0x227fff,''))return logger[_0x47d8d1(0xf7)](_0x1fb1b7[_0x47d8d1(0xcb)]),![];const _0x464713=_0x2e35a0['browserName']||_0x1e02e0['capabilities_']['getBrowserName']();if(_0x1fb1b7[_0x47d8d1(0xc6)](_0x464713[_0x47d8d1(0xdc)](),_0x1fb1b7[_0x47d8d1(0xe4)]))return logger['warn'](_0x1fb1b7['rrzrd']),![];const _0x516432=_0x2e35a0[_0x47d8d1(0xe2)]||_0x2e35a0[_0x47d8d1(0xd8)]||_0x1e02e0[_0x47d8d1(0xe1)]['getBrowserVersion']();if(!bsSetupHelper['isUndefined'](_0x516432)&&!(_0x1fb1b7[_0x47d8d1(0xb8)](_0x516432,_0x1fb1b7[_0x47d8d1(0xc7)])||_0x1fb1b7[_0x47d8d1(0xbd)](_0x516432,0x5e)))return logger[_0x47d8d1(0xf7)](_0x1fb1b7[_0x47d8d1(0xce)]),![];let _0x8f0d78;try{_0x8f0d78=bsSetupHelper[_0x47d8d1(0xc8)](_0x1fb1b7[_0x47d8d1(0xfc)],_0x1fb1b7[_0x47d8d1(0xc2)]);}catch(_0x36cd1f){return![];}const _0x3b512f=new _0x8f0d78[(_0x47d8d1(0xd1))](_0x1e02e0[_0x47d8d1(0xf8)]),_0x523e9a=bsSetupHelper[_0x47d8d1(0xec)](_0x3b512f,[_0x1fb1b7['hqtdd'],_0x1fb1b7[_0x47d8d1(0xd6)]])||bsSetupHelper[_0x47d8d1(0xec)](_0x1e02e0['capabilities_']['get'](_0x1fb1b7[_0x47d8d1(0xf0)]),[_0x1fb1b7[_0x47d8d1(0xef)],_0x1fb1b7[_0x47d8d1(0xd6)]])||bsSetupHelper[_0x47d8d1(0xec)](_0x1e02e0['capabilities_'][_0x47d8d1(0xf1)](_0x1fb1b7[_0x47d8d1(0xef)]),[_0x1fb1b7[_0x47d8d1(0xd6)]])||[];if(_0x523e9a[_0x47d8d1(0xd4)](_0x1fb1b7['NytbJ']))return logger['warn'](_0x1fb1b7[_0x47d8d1(0xcd)]),![];return!![];}catch(_0x1d8fbe){logger[_0x47d8d1(0xc3)](_0x47d8d1(0xf5)+util[_0x47d8d1(0xcf)](_0x1d8fbe));}return![];},exports[a26_0x1be0bc(0xdb)]=async _0x18cffb=>{const _0x2620c5=a26_0x1be0bc,_0x1a1c71={};_0x1a1c71[_0x2620c5(0xb9)]=function(_0x224dd4,_0x5126f8){return _0x224dd4===_0x5126f8;},_0x1a1c71[_0x2620c5(0xe0)]=_0x2620c5(0xb2);const _0x19a758=_0x1a1c71;let _0x5e967d={};try{const _0x15a069=await _0x18cffb['getCapabilities']();_0x5e967d={'os_name':_0x15a069[_0x2620c5(0xca)](),'os_version':bsSetupHelper[_0x2620c5(0xe7)](_0x19a758[_0x2620c5(0xb9)](global[_0x2620c5(0xc9)],_0x19a758[_0x2620c5(0xe0)])),'browser_name':_0x15a069['getBrowserName'](),'browser_version':_0x15a069[_0x2620c5(0xee)]()};}catch(_0x3fb9ab){logger[_0x2620c5(0xc3)]('Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20'+_0x3fb9ab);}return _0x5e967d;};
@@ -1 +1 @@
1
- 'use strict';const a27_0x27f883=a27_0x43f6;(function(_0xb5b743,_0x18828f){const _0x2925e4=a27_0x43f6,_0x12a849=_0xb5b743();while(!![]){try{const _0x484820=-parseInt(_0x2925e4(0x1f5))/0x1+-parseInt(_0x2925e4(0x25e))/0x2*(parseInt(_0x2925e4(0x2c1))/0x3)+-parseInt(_0x2925e4(0x262))/0x4+parseInt(_0x2925e4(0x298))/0x5+-parseInt(_0x2925e4(0x264))/0x6*(-parseInt(_0x2925e4(0x21b))/0x7)+-parseInt(_0x2925e4(0x1c3))/0x8*(-parseInt(_0x2925e4(0x2c8))/0x9)+parseInt(_0x2925e4(0x2d1))/0xa*(parseInt(_0x2925e4(0x1f0))/0xb);if(_0x484820===_0x18828f)break;else _0x12a849['push'](_0x12a849['shift']());}catch(_0x291ef3){_0x12a849['push'](_0x12a849['shift']());}}}(a27_0x1515,0xe9628));const util=require(a27_0x27f883(0x293)),fs=require('fs'),path=require(a27_0x27f883(0x2fa)),{requireModule,getCentralUser}=require(a27_0x27f883(0x1d3)),Base=requireModule(a27_0x27f883(0x209),a27_0x27f883(0x22c)),utils=requireModule(a27_0x27f883(0x1f6),a27_0x27f883(0x22c)),color=Base[a27_0x27f883(0x256)],Mocha=requireModule(a27_0x27f883(0x22c)),Runnable=requireModule(a27_0x27f883(0x22f),'mocha'),{v4:uuidv4}=require(a27_0x27f883(0x1da)),bsSetupHelper=require(a27_0x27f883(0x1d3)),testhubUtils=require('../../../helpers/testhub/utils'),centralScannerUtils=require(a27_0x27f883(0x22d)),testHubConstants=require(a27_0x27f883(0x2d7)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),globals=require(a27_0x27f883(0x247)),logger=require(a27_0x27f883(0x2c2))[a27_0x27f883(0x24f)],TestMetadata=require(a27_0x27f883(0x203)),a27_0x1c5158={};function a27_0x1515(){const _0x152d42=['kCzuM','statSync','get','VvcLh','_indents','EOeNQ','\x20\x20<dt>','DfUEW','zxZOZ','xpYfK','Exception\x20in\x20browserstack\x20custome\x20reporter\x20with\x20error:\x20','after\x20each','VEXDw','redirectUrl','ioHlX','AFTER_ALL','\x20with\x20error\x20:\x20','File\x20path\x20could\x20not\x20be\x20found','\x20(%dms)','uwAGN','PqEFg','bLhXX','config','hook_type','EKqpY','util','\x20%s','dot','TtMqS','AVRGE','5557585OkjCrm','</section>','bright\x20yellow','Phjds','VEPDZ','failureCount','testAnalyticsId','EVENT','relative','increaseIndent','split','once','../../../helpers/test-observability/utils','Huade','prefixTestPath','testanalyticsid','hookAnalyticsId','qgwkx','<h1>','axFNI','JfxYe','AFTER_EACH','xpulq','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','started_at','suites','hook_run','light','XspvX','symbols','tedHW','BINnL','pass','UOdGS','multiple','duration','fast','MOCHA','Vaxyd','YaKxo','HookRunStarted','225yiECfU','../../../helpers/logger','RUNNING','DMVsp','sRBEq','ktkSG','AssertionError','11987046zTDmpp','write','UMHeI','rrAGo','length','suiteCount','</dd>','currentTest','_testResults','9444310HgtOYm','getTime','constants','parent','TxUbj','hNLgd','../../../helpers/testhub/constants','slice','efKsm','nGtOR','</code></pre></dd>','doc','stdout','toISOString','currentRetry','QknxL','\x20\x20<dt\x20class=\x22error\x22>','oqmWP','hooks','BEFORE_EACH','checkmark','rnwEa','</h1>','EhnED','TestRunFinished','finalResults','shlxq','dJDJu','results','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','expanded','OHlRs','rATie','rMVOS','skipped','ceYdr','__platform__','exports','scopes','PDUrL','\x20\x20<dd\x20class=\x22error\x22><pre><code>','path','Mocha','UNNpW','nBaTc','RqFTA','.js','_paths','vAfUM','peNkU','8SXSXEk','type','responseCode','Reporter','lwqJH','NZvdT','escape','registerListeners','after\x20all','</dl>','XQJwM','zwnbT','result','sendTestRunEvent','pid','_upstreamConfig','../../../helpers/helper','name','cwd','HookStarted','failCount','<section\x20class=\x22suite\x22>','state','uuid','http_response','AbFEF','setCentralScannerData','YopbJ','KFJvU','fOKOJ','removeAllListeners','xPjGK','test_run_uuid','../../../helpers/test-observability/constants','err','HookRunFinished','1|0|2|3|4','match','MWugb','oWJZG','_testEnv','NeBrw','runner','ViCXa','green','11FKynfR','slow','qAoSZ','includes','COMPLETED','1329322MyqacA','mocha/lib/utils.js','xunit','appendTestItemLog','../test-observability/mochaUtils','YuAUi','\x20-\x20','FYork','backtrace','event_type','ZUmwM','pending','xZJOc','assign','../../../helpers/metadata','getRootParentFile','Vesge','failure_reason_expanded','Dnidv','scope','mocha/lib/reporters/base.js','passed','vCfkY','</dt>','NrNjK','KEBpm','Runner','test_run','mocha/lib/reporters/','fail','prototype','dirname','BEFORE_ALL','\x20\x20<dd\x20class=\x22error\x22>','push','zzadY','titlePath','HmpuK','679SrSOBO','fullTitle','test','finished_at','sewiP','MFXPM','__indents','LogCreated','forEach','IDmuA','fWrVW','speed','iEWHL','boYXz','hook_run_uuid','inspect','gyYEZ','mocha','../../../helpers/central-scanner/helpers','UnhandledError','mocha/lib/runnable.js','WeDYU','error','current_test','failed','xlImY','WfZTB','bs:addLog:','ILOZy','TestRunSkipped','tvtxh','bs:addPlatformDetails:','ZjsFF','BskFB','SHZNQ','TestRunStarted','Rolhs','apply','\x20\x20%d)\x20%s','eEvdH','findGitConfig','AvOIW','current_hook','DarLQ','../../../helpers/globals','bind','shouldProcessEventForTesthub','logs','HookFinished','toString','failure_backtrace','reporterOption','winstonLogger','qwlKv','uploadEventData','ctx','pVqEo','CBTSessionCreated','file','color','%s\x20-\x20%s','EGyGN','WcSti','appendTestPlatform','\x20\x20<dd><pre><code>','originalTitle','unagW','746SFFElB','docHtml','before\x20each','../../../helpers/test-observability/sessionHandler','6949608otKoay','retryOf','40998RLBwqK','NuCSa','testStarted','%s\x20','CndpB','eMmHu','markedStatus','join','suite','consoleLog','trim','title','indent','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','lcnc','analyticsResult','Failed\x20to\x20load\x20reporter\x20','_currentRetry','body','docAppend','clean','now'];a27_0x1515=function(){return _0x152d42;};return a27_0x1515();}a27_0x1c5158['before\x20all']=a27_0x27f883(0x215),a27_0x1c5158[a27_0x27f883(0x1cb)]=a27_0x27f883(0x289),a27_0x1c5158['before\x20each']=a27_0x27f883(0x2e4),a27_0x1c5158[a27_0x27f883(0x285)]=a27_0x27f883(0x2ad);const HOOK_TYPES_MAP=a27_0x1c5158,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha[a27_0x27f883(0x20f)][a27_0x27f883(0x2d3)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0x27f883(0x2d3)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a27_0x27f883(0x1f9)),{consoleHolder}=require(a27_0x27f883(0x1e4)),SessionHandler=require(a27_0x27f883(0x261)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a27_0x27f883(0x2a4)),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),requestQueueHandler=RequestQueueHandler['getInstance']();class MyReporter{constructor(_0x2f3473,_0xf9792b){const _0x8f40ad=a27_0x27f883,_0x4babf7={'qwlKv':function(_0x28f81c,_0x1ceee6){return _0x28f81c===_0x1ceee6;},'rnwEa':'spec','AVRGE':function(_0x5c9e5e,_0x3d9f00){return _0x5c9e5e===_0x3d9f00;},'PqEFg':function(_0x4dc4bf,_0x3360db){return _0x4dc4bf+_0x3360db;},'uwAGN':function(_0x19c69f,_0x277f5f,_0x3c20b6){return _0x19c69f(_0x277f5f,_0x3c20b6);},'ApxNd':_0x8f40ad(0x1ef),'nGtOR':_0x8f40ad(0x267),'IDmuA':function(_0xc8bda8,_0x16df0f,_0x31cf6c){return _0xc8bda8(_0x16df0f,_0x31cf6c);},'qgwkx':_0x8f40ad(0x2b3),'dJDJu':_0x8f40ad(0x257),'zwnbT':_0x8f40ad(0x2c3),'NrNjK':function(_0x25767c,_0x37dc05){return _0x25767c===_0x37dc05;},'AbFEF':_0x8f40ad(0x2dc),'kCzuM':function(_0x32f2bf,_0x36cf5d){return _0x32f2bf===_0x36cf5d;},'oWJZG':function(_0x2a536f){return _0x2a536f();},'ZjsFF':function(_0x5a7a42){return _0x5a7a42();},'sRBEq':_0x8f40ad(0x2c0),'NuCSa':'HookRunFinished','xZJOc':function(_0x36bbba,_0x3091ca){return _0x36bbba===_0x3091ca;},'Vaxyd':_0x8f40ad(0x20a),'JfxYe':_0x8f40ad(0x2bc),'Vesge':function(_0x54c4b5,_0x4301f5){return _0x54c4b5+_0x4301f5;},'VEXDw':function(_0x43bc2f,_0x5ed249,_0x2d2477){return _0x43bc2f(_0x5ed249,_0x2d2477);},'peNkU':_0x8f40ad(0x2e5),'rMVOS':function(_0x2b7216,_0x89d83a){return _0x2b7216+_0x89d83a;},'Huade':_0x8f40ad(0x2b8),'znRcC':_0x8f40ad(0x294),'ILOZy':function(_0x39944e,_0x35ded9){return _0x39944e+_0x35ded9;},'eMmHu':_0x8f40ad(0x28c),'pVqEo':_0x8f40ad(0x212),'xPjGK':_0x8f40ad(0x241),'boYXz':_0x8f40ad(0x29a),'MWugb':_0x8f40ad(0x1f4),'VvcLh':_0x8f40ad(0x295),'NeBrw':function(_0xf1c8a9,_0x546898){return _0xf1c8a9===_0x546898;},'Rygqi':_0x8f40ad(0x1f1),'Pefdx':_0x8f40ad(0x1e7),'GXFQU':function(_0x4c57f4,_0x310057){return _0x4c57f4===_0x310057;},'MFXPM':function(_0x57200b,_0xfb8261){return _0x57200b===_0xfb8261;},'OHlRs':_0x8f40ad(0x200),'axFNI':function(_0x16dfe2,_0x444615){return _0x16dfe2===_0x444615;},'KFJvU':_0x8f40ad(0x238),'MASnE':function(_0x3957cb,_0x1103b1){return _0x3957cb===_0x1103b1;},'EOeNQ':function(_0x3e84a0,_0x5f5b25){return _0x3e84a0===_0x5f5b25;},'HmpuK':function(_0x153b84,_0x4b90f6){return _0x153b84(_0x4b90f6);},'bfBTV':function(_0x27c184){return _0x27c184();},'SXxDt':function(_0x478da5,_0x14cccc){return _0x478da5===_0x14cccc;},'MfDLs':_0x8f40ad(0x1f7),'shlxq':_0x8f40ad(0x22c),'WdfLJ':function(_0x3efc45,_0x6f7e25){return _0x3efc45(_0x6f7e25);},'xpYfK':function(_0x57e979,_0x56d4c0){return _0x57e979===_0x56d4c0;},'JmYKE':function(_0x2840a8,_0x5618f8){return _0x2840a8(_0x5618f8);},'RqFTA':function(_0x8d8d6c,_0x1dea50){return _0x8d8d6c!==_0x1dea50;}};this[_0x8f40ad(0x1c4)]=_0xf9792b[_0x8f40ad(0x24e)][_0x8f40ad(0x1c4)],this['testObservability']=_0x4babf7['bfBTV'](isTestObservabilitySession),Base['call'](this,_0x2f3473,_0xf9792b),this[_0x8f40ad(0x27e)]=0x0,this['failCount']=0x0,this['results']=[],this[_0x8f40ad(0x2ea)]=[],this[_0x8f40ad(0x2cd)]=0x0,this['_buildCreated']=![],this[_0x8f40ad(0x2d0)]=[],this[_0x8f40ad(0x1eb)]=_0x4babf7['oWJZG'](getTestEnv),this[_0x8f40ad(0x1c0)]=new PathHelper({'cwd':process[_0x8f40ad(0x1d5)]()},this[_0x8f40ad(0x1eb)]['location_prefix']),this[_0x8f40ad(0x1d2)]=_0xf9792b[_0x8f40ad(0x24e)]['bsConfig'],this[_0x8f40ad(0x1ca)]();_0x4babf7['SXxDt'](this['type'],_0x4babf7[_0x8f40ad(0x1dc)])&&(this[_0x8f40ad(0x25f)]='',this[_0x8f40ad(0x221)]=0x2);_0x2f3473['once'](EVENT_RUN_BEGIN,async()=>{const _0x4f4c62=_0x8f40ad;_0x4babf7[_0x4f4c62(0x250)](this['type'],_0x4babf7[_0x4f4c62(0x2e6)])&&Base['consoleLog']();})['on'](EVENT_SUITE_BEGIN,_0x240125=>{const _0x58477d=_0x8f40ad;if(_0x240125['root'])return;if(_0x4babf7['AVRGE'](this[_0x58477d(0x1c4)],_0x4babf7[_0x58477d(0x2e6)]))this['increaseIndent'](),Base['consoleLog'](_0x4babf7[_0x58477d(0x28e)](_0x4babf7[_0x58477d(0x28e)](this[_0x58477d(0x270)](),_0x4babf7[_0x58477d(0x28d)](color,_0x4babf7['ApxNd'],_0x4babf7[_0x58477d(0x2da)])),_0x4babf7['IDmuA'](color,_0x4babf7[_0x58477d(0x2a9)],_0x4babf7[_0x58477d(0x2ec)])),_0x4babf7[_0x58477d(0x1ce)],_0x240125[_0x58477d(0x26f)],global['__platform__']);else _0x4babf7[_0x58477d(0x20d)](this[_0x58477d(0x1c4)],_0x4babf7[_0x58477d(0x1dc)])&&(this[_0x58477d(0x277)](this['indent']()+_0x58477d(0x1d8)),++this['__indents'],this[_0x58477d(0x277)](this[_0x58477d(0x270)]()+_0x58477d(0x2aa)+utils[_0x58477d(0x1c9)](_0x240125[_0x58477d(0x26f)]+_0x58477d(0x1fb)+global[_0x58477d(0x2f5)])+_0x58477d(0x2e7)),this['docAppend'](this[_0x58477d(0x270)]()+'<dl>'));})['on'](EVENT_HOOK_BEGIN,async _0xe0c9f5=>{const _0x2c3f6f=_0x8f40ad;if(_0x4babf7['kCzuM'](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0x2c3f6f(0x29f)][_0x2c3f6f(0x1d6)]),!![])){if(!_0xe0c9f5['hookAnalyticsId'])_0xe0c9f5[_0x2c3f6f(0x2a8)]=_0x4babf7[_0x2c3f6f(0x1ea)](uuidv4);else _0xe0c9f5[_0x2c3f6f(0x26a)]&&(_0xe0c9f5[_0x2c3f6f(0x2a8)]=_0x4babf7['ZjsFF'](uuidv4),delete _0xe0c9f5[_0x2c3f6f(0x26a)]);_0xe0c9f5[_0x2c3f6f(0x2b0)]=new Date()['toISOString'](),this[_0x2c3f6f(0x245)]=_0xe0c9f5,await this['sendTestRunEvent'](_0xe0c9f5,undefined,![],_0x4babf7[_0x2c3f6f(0x2c5)]);}})['on'](EVENT_HOOK_END,async _0x12c1e6=>{const _0x59557b=_0x8f40ad;_0x4babf7['AVRGE'](testhubUtils[_0x59557b(0x249)](testHubConstants[_0x59557b(0x29f)][_0x59557b(0x24b)]),!![])&&(!_0x12c1e6['markedStatus']&&(_0x12c1e6[_0x59557b(0x26a)]=!![],await this[_0x59557b(0x1d0)](_0x12c1e6,undefined,![],_0x4babf7[_0x59557b(0x265)])));})['on'](EVENT_SUITE_END,_0x5eeb46=>{const _0x376e52=_0x8f40ad,_0x1f8000={'YuAUi':function(_0x15a0a4,_0x49fbca){const _0x447813=a27_0x43f6;return _0x4babf7[_0x447813(0x201)](_0x15a0a4,_0x49fbca);},'DarLQ':_0x4babf7[_0x376e52(0x2be)],'TtMqS':_0x4babf7[_0x376e52(0x2ac)],'CndpB':function(_0x45320c,_0x38fe25){const _0x1baa27=_0x376e52;return _0x4babf7[_0x1baa27(0x205)](_0x45320c,_0x38fe25);},'oqmWP':function(_0x53c273,_0x46156d,_0x5d9737){return _0x4babf7['VEXDw'](_0x53c273,_0x46156d,_0x5d9737);},'lwqJH':_0x4babf7[_0x376e52(0x1c2)],'DMVsp':function(_0x496d94,_0x4cf714){const _0x113335=_0x376e52;return _0x4babf7[_0x113335(0x2f2)](_0x496d94,_0x4cf714);},'lpcMg':_0x4babf7[_0x376e52(0x2a5)],'Dnidv':_0x4babf7['znRcC'],'SHZNQ':function(_0x41290c,_0x13b497){const _0x503415=_0x376e52;return _0x4babf7[_0x503415(0x237)](_0x41290c,_0x13b497);},'xlImY':function(_0x1f7612,_0x2b5d2e,_0x1e126c){const _0x490a11=_0x376e52;return _0x4babf7[_0x490a11(0x286)](_0x1f7612,_0x2b5d2e,_0x1e126c);},'bwkpM':function(_0x1df147,_0x181b4e){const _0x8a3ae7=_0x376e52;return _0x4babf7[_0x8a3ae7(0x2f2)](_0x1df147,_0x181b4e);},'fWrVW':function(_0x4bd08e,_0x133069,_0x30c402){const _0x314181=_0x376e52;return _0x4babf7[_0x314181(0x224)](_0x4bd08e,_0x133069,_0x30c402);},'DzcWg':_0x4babf7[_0x376e52(0x269)],'UNNpW':function(_0x392cf4,_0x55f8ad){return _0x4babf7['PqEFg'](_0x392cf4,_0x55f8ad);},'DwVxu':_0x4babf7[_0x376e52(0x253)],'tedHW':_0x4babf7[_0x376e52(0x1e2)]};if(_0x5eeb46['root'])return;if(_0x4babf7[_0x376e52(0x297)](this['type'],_0x4babf7[_0x376e52(0x2e6)]))Base[_0x376e52(0x26d)](),Base['consoleLog'](_0x4babf7['ILOZy'](_0x4babf7['rMVOS'](this[_0x376e52(0x270)](),_0x4babf7[_0x376e52(0x286)](color,_0x4babf7[_0x376e52(0x228)],_0x4babf7[_0x376e52(0x2da)])),_0x4babf7[_0x376e52(0x28d)](color,_0x4babf7[_0x376e52(0x2a9)],_0x4babf7['dJDJu'])),_0x4babf7[_0x376e52(0x1e9)],_0x5eeb46[_0x376e52(0x26f)],global[_0x376e52(0x2f5)]),this[_0x376e52(0x2ed)][_0x376e52(0x223)](_0x4fce86=>{const _0x58acc8=_0x376e52;if(_0x1f8000[_0x58acc8(0x1fa)](_0x4fce86[_0x58acc8(0x1d9)],_0x1f8000[_0x58acc8(0x246)])){var _0x145294;_0x1f8000[_0x58acc8(0x1fa)](_0x4fce86[_0x58acc8(0x226)],_0x1f8000[_0x58acc8(0x296)])?(_0x145294=_0x1f8000[_0x58acc8(0x268)](_0x1f8000[_0x58acc8(0x268)](this['indent'](),_0x1f8000[_0x58acc8(0x2e2)](color,_0x1f8000[_0x58acc8(0x1c7)],_0x1f8000[_0x58acc8(0x2c4)]('\x20\x20',Base[_0x58acc8(0x2b5)]['ok']))),_0x1f8000['oqmWP'](color,_0x1f8000['lpcMg'],_0x1f8000[_0x58acc8(0x207)])),Base[_0x58acc8(0x26d)](_0x145294,_0x4fce86['title'])):(_0x145294=_0x1f8000[_0x58acc8(0x268)](_0x1f8000[_0x58acc8(0x2c4)](_0x1f8000[_0x58acc8(0x23d)](this[_0x58acc8(0x270)](),_0x1f8000[_0x58acc8(0x234)](color,_0x1f8000[_0x58acc8(0x1c7)],_0x1f8000['bwkpM']('\x20\x20',Base['symbols']['ok']))),_0x1f8000[_0x58acc8(0x2e2)](color,_0x1f8000['lpcMg'],_0x1f8000[_0x58acc8(0x207)])),_0x1f8000[_0x58acc8(0x225)](color,_0x4fce86[_0x58acc8(0x226)],_0x1f8000['DzcWg'])),Base[_0x58acc8(0x26d)](_0x145294,_0x4fce86[_0x58acc8(0x26f)],_0x4fce86[_0x58acc8(0x2bb)]));}else Base[_0x58acc8(0x26d)](_0x1f8000[_0x58acc8(0x1bc)](this[_0x58acc8(0x270)](),_0x1f8000['oqmWP'](color,_0x1f8000['DwVxu'],_0x1f8000[_0x58acc8(0x2b6)])),++this[_0x58acc8(0x1d7)],_0x4fce86[_0x58acc8(0x26f)]);}),this['decreaseIndent']();else _0x4babf7[_0x376e52(0x297)](this[_0x376e52(0x1c4)],_0x4babf7[_0x376e52(0x1dc)])&&(this[_0x376e52(0x277)](this[_0x376e52(0x270)]()+_0x376e52(0x1cc)),--this['__indents'],this['docAppend'](this[_0x376e52(0x270)]()+_0x376e52(0x299)),--this['__indents']);Array[_0x376e52(0x213)][_0x376e52(0x217)][_0x376e52(0x240)](this[_0x376e52(0x2ea)],this[_0x376e52(0x2ed)]),this[_0x376e52(0x2ed)]=[];})['on'](EVENT_TEST_PASS,async _0x16f1a0=>{const _0x4bff80=_0x8f40ad;this[_0x4bff80(0x2ed)][_0x4bff80(0x217)]({'speed':_0x16f1a0[_0x4bff80(0x226)],'suite':_0x16f1a0['parent'][_0x4bff80(0x26f)],'title':_0x16f1a0[_0x4bff80(0x26f)],'fullTitle':_0x16f1a0[_0x4bff80(0x21c)](),'duration':_0x16f1a0['duration'],'state':_0x16f1a0[_0x4bff80(0x1d9)],'err':{},'currentRetry':_0x16f1a0[_0x4bff80(0x2df)](),'titlePathV':_0x16f1a0[_0x4bff80(0x219)](),'isPending':_0x16f1a0['isPending']()});if(_0x4babf7[_0x4bff80(0x27a)](this[_0x4bff80(0x1c4)],_0x4babf7['VvcLh']))_0x4babf7[_0x4bff80(0x1ec)](_0x16f1a0[_0x4bff80(0x226)],_0x4babf7['Rygqi'])?process[_0x4bff80(0x2dd)][_0x4bff80(0x2c9)](Base[_0x4bff80(0x256)](_0x4babf7[_0x4bff80(0x228)],Base[_0x4bff80(0x2b5)]['dot'])):process[_0x4bff80(0x2dd)]['write'](Base[_0x4bff80(0x256)](_0x16f1a0[_0x4bff80(0x226)],Base[_0x4bff80(0x2b5)][_0x4bff80(0x295)]));else{if(_0x4babf7[_0x4bff80(0x297)](this[_0x4bff80(0x1c4)],_0x4babf7[_0x4bff80(0x1dc)])){this['docAppend'](this['indent']()+'\x20\x20<dt>'+utils[_0x4bff80(0x1c9)](_0x16f1a0[_0x4bff80(0x26f)])+'</dt>'),this[_0x4bff80(0x277)](this['indent']()+_0x4bff80(0x280)+utils[_0x4bff80(0x1c9)](_0x16f1a0[_0x4bff80(0x255)])+'</dt>');var _0x362864=utils['escape'](utils[_0x4bff80(0x278)](_0x16f1a0[_0x4bff80(0x276)]));this[_0x4bff80(0x277)](this[_0x4bff80(0x270)]()+_0x4bff80(0x25b)+_0x362864+_0x4bff80(0x2db));}}_0x4babf7['NrNjK'](testhubUtils[_0x4bff80(0x249)](),!![])&&(!_0x16f1a0[_0x4bff80(0x26a)]&&(_0x16f1a0[_0x4bff80(0x26a)]=!![],await this[_0x4bff80(0x1d0)](_0x16f1a0)));})['on'](EVENT_TEST_FAIL,async(_0x1c5141,_0x33b7e0)=>{const _0x36062d=_0x8f40ad;this[_0x36062d(0x2ed)]['push']({'title':_0x1c5141[_0x36062d(0x26f)],'suite':_0x1c5141[_0x36062d(0x2d4)][_0x36062d(0x26f)],'state':_0x1c5141[_0x36062d(0x1d9)],'err':{'message':util[_0x36062d(0x22a)](_0x33b7e0)},'fullTitle':_0x1c5141['fullTitle'](),'speed':_0x1c5141[_0x36062d(0x226)],'currentRetry':_0x1c5141['currentRetry'](),'titlePathV':_0x1c5141[_0x36062d(0x219)]()});if(_0x4babf7[_0x36062d(0x297)](this[_0x36062d(0x1c4)],_0x4babf7[_0x36062d(0x27d)]))process['stdout']['write'](Base[_0x36062d(0x256)](_0x4babf7['pVqEo'],Base['symbols']['bang']));else{if(_0x4babf7['AVRGE'](this[_0x36062d(0x1c4)],_0x4babf7[_0x36062d(0x1dc)])){const _0x145902=_0x4babf7['Pefdx'][_0x36062d(0x2a2)]('|');let _0x55fdd1=0x0;while(!![]){switch(_0x145902[_0x55fdd1++]){case'0':this[_0x36062d(0x277)](this['indent']()+_0x36062d(0x2e1)+utils[_0x36062d(0x1c9)](_0x1c5141[_0x36062d(0x255)])+_0x36062d(0x20c));continue;case'1':this[_0x36062d(0x277)](this[_0x36062d(0x270)]()+_0x36062d(0x2e1)+utils[_0x36062d(0x1c9)](_0x1c5141[_0x36062d(0x26f)])+_0x36062d(0x20c));continue;case'2':var _0x221c92=utils[_0x36062d(0x1c9)](utils['clean'](_0x1c5141[_0x36062d(0x276)]));continue;case'3':this[_0x36062d(0x277)](this[_0x36062d(0x270)]()+_0x36062d(0x2f9)+_0x221c92+_0x36062d(0x2db));continue;case'4':this[_0x36062d(0x277)](this[_0x36062d(0x270)]()+_0x36062d(0x216)+utils[_0x36062d(0x1c9)](_0x1c5141['err'])+_0x36062d(0x2ce));continue;}break;}}}if(_0x4babf7['GXFQU'](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0x36062d(0x29f)][_0x36062d(0x24b)]),!![])){if(!_0x1c5141['markedStatus']){_0x1c5141[_0x36062d(0x26a)]=!![];if(_0x1c5141[_0x36062d(0x29e)])await this[_0x36062d(0x1d0)](_0x1c5141,_0x33b7e0);else _0x1c5141[_0x36062d(0x2a8)]&&await this[_0x36062d(0x1d0)](_0x1c5141,_0x33b7e0,![],_0x4babf7[_0x36062d(0x265)]);}}})['on'](EVENT_TEST_PENDING,async _0x2413b0=>{const _0x4365e8=_0x8f40ad;this[_0x4365e8(0x2ed)][_0x4365e8(0x217)]({'title':_0x2413b0[_0x4365e8(0x26f)],'suite':_0x2413b0['parent']['title'],'state':_0x2413b0[_0x4365e8(0x1d9)],'err':{},'fullTitle':_0x2413b0['fullTitle'](),'speed':_0x2413b0[_0x4365e8(0x226)],'currentRetry':_0x2413b0[_0x4365e8(0x2df)](),'titlePathV':_0x2413b0[_0x4365e8(0x219)]()}),_0x4babf7[_0x4365e8(0x220)](this['type'],_0x4babf7[_0x4365e8(0x27d)])&&process[_0x4365e8(0x2dd)][_0x4365e8(0x2c9)](Base[_0x4365e8(0x256)](_0x4babf7[_0x4365e8(0x2f0)],Base[_0x4365e8(0x2b5)]['comma'])),_0x4babf7[_0x4365e8(0x2ab)](testhubUtils[_0x4365e8(0x249)](),!![])&&(!_0x2413b0[_0x4365e8(0x29e)]&&(_0x2413b0[_0x4365e8(0x29e)]=_0x4babf7[_0x4365e8(0x1ea)](uuidv4)),!_0x2413b0['markedStatus']&&(_0x2413b0[_0x4365e8(0x26a)]=!![],await this[_0x4365e8(0x1d0)](_0x2413b0,undefined,![],_0x4babf7[_0x4365e8(0x1df)])));})['on'](EVENT_TEST_BEGIN,async _0x1b46aa=>{const _0x3157a9=_0x8f40ad;_0x4babf7['MASnE'](testhubUtils[_0x3157a9(0x249)](),!![])&&await this[_0x3157a9(0x266)](_0x1b46aa);})['on'](EVENT_TEST_END,async _0x5ed835=>{const _0x4c92f5=_0x8f40ad;_0x4babf7[_0x4c92f5(0x2ab)](testhubUtils[_0x4c92f5(0x249)](),!![])&&(!_0x5ed835[_0x4c92f5(0x26a)]&&(_0x5ed835['markedStatus']=!![],await this[_0x4c92f5(0x1d0)](_0x5ed835)));})[_0x8f40ad(0x2a3)](EVENT_RUN_END,async()=>{const _0x397dfe=_0x8f40ad;try{if(_0x4babf7[_0x397dfe(0x27f)](testhubUtils[_0x397dfe(0x249)](),!![])){const _0xee7809=_0x4babf7['HmpuK'](getHookSkippedTests,this[_0x397dfe(0x1ed)][_0x397dfe(0x26c)]);for(const _0x1270ab of _0xee7809){!_0x1270ab[_0x397dfe(0x29e)]&&(_0x1270ab[_0x397dfe(0x29e)]=_0x4babf7[_0x397dfe(0x23b)](uuidv4)),await this[_0x397dfe(0x1d0)](_0x1270ab,undefined,![],_0x4babf7[_0x397dfe(0x1df)]);}}}catch(_0x58388f){_0x4babf7[_0x397dfe(0x21a)](debug,_0x397dfe(0x271)+_0x58388f);}await requestQueueHandler['shutdown'](),_0x4babf7[_0x397dfe(0x297)](this[_0x397dfe(0x1c4)],_0x4babf7[_0x397dfe(0x1dc)])&&Base[_0x397dfe(0x26d)](this[_0x397dfe(0x25f)]);});if(this[_0x8f40ad(0x1c4)]&&![_0x4babf7[_0x8f40ad(0x1dc)],_0x4babf7['MfDLs'],_0x4babf7[_0x8f40ad(0x2e6)],_0x4babf7[_0x8f40ad(0x27d)]][_0x8f40ad(0x1f3)](this[_0x8f40ad(0x1c4)])){const _0x3e9459=this['type'][_0x8f40ad(0x26e)]();this[_0x8f40ad(0x1c6)]=null;try{this['Reporter']=_0x4babf7[_0x8f40ad(0x224)](requireModule,_0x8f40ad(0x211)+_0x3e9459+_0x8f40ad(0x1bf),_0x4babf7[_0x8f40ad(0x2eb)]);}catch(_0x15e6f6){_0x4babf7['WdfLJ'](debug,_0x8f40ad(0x284)+_0x15e6f6);}if(_0x4babf7[_0x8f40ad(0x283)](this['Reporter'],null))try{this[_0x8f40ad(0x1c6)]=_0x4babf7['JmYKE'](require,_0x3e9459);}catch(_0x1d4870){console[_0x8f40ad(0x231)](_0x8f40ad(0x274)+_0x3e9459);}if(_0x4babf7[_0x8f40ad(0x1be)](this[_0x8f40ad(0x1c6)],null)){const _0x178881={};_0x178881['reporterOptions']=_0xf9792b[_0x8f40ad(0x24e)],this[_0x8f40ad(0x1c6)]=new this[(_0x8f40ad(0x1c6))](_0x2f3473,_0x178881);}}}['indent'](){const _0x201064=a27_0x27f883,_0x382b36={'XspvX':function(_0xdf36b2,_0x3fb610){return _0xdf36b2(_0x3fb610);}};return _0x382b36[_0x201064(0x2b4)](Array,this['_indents'])[_0x201064(0x26b)]('\x20\x20');}[a27_0x27f883(0x2a1)](){const _0xe1a283=a27_0x27f883;this[_0xe1a283(0x27e)]++;}['decreaseIndent'](){this['_indents']--;}[a27_0x27f883(0x277)](_0x158178){const _0x3014ae=a27_0x27f883;this[_0x3014ae(0x25f)]+=_0x158178;}['done'](_0x5198ca,_0x188957){const _0xe9bd0d=a27_0x27f883,_0x312227={'sewiP':function(_0x1baa25,_0x4ae3d2){return _0x1baa25(_0x4ae3d2);}},_0x2e70ba={};_0x2e70ba[_0xe9bd0d(0x29d)]=_0x5198ca,_0x2e70ba[_0xe9bd0d(0x2ed)]=this[_0xe9bd0d(0x2ea)],_0x312227[_0xe9bd0d(0x21f)](_0x188957,_0x2e70ba);}[a27_0x27f883(0x1ca)](){const _0x46cbff=a27_0x27f883;process[_0x46cbff(0x1e1)](_0x46cbff(0x236)+process[_0x46cbff(0x1d1)]),process['on']('bs:addLog:'+process[_0x46cbff(0x1d1)],this[_0x46cbff(0x1f8)][_0x46cbff(0x248)](this)),process['removeAllListeners'](_0x46cbff(0x23a)+process[_0x46cbff(0x1d1)]),process['on'](_0x46cbff(0x23a)+process[_0x46cbff(0x1d1)],this[_0x46cbff(0x25a)][_0x46cbff(0x248)](this));}[a27_0x27f883(0x266)]=async _0x4a329e=>{const _0x36b40d=a27_0x27f883,_0x3d6478={'eEvdH':function(_0x54814e){return _0x54814e();},'FYork':'testRunUUID','ZcqBq':function(_0x13466d,_0xd044e7){return _0x13466d>_0xd044e7;},'PDUrL':function(_0xcdc4ea,_0x5af6d6){return _0xcdc4ea===_0x5af6d6;},'UMHeI':_0x36b40d(0x23e),'HtKlH':function(_0x2fb411,_0x59e2a8){return _0x2fb411(_0x59e2a8);}};try{const _0x28e068=this[_0x36b40d(0x232)];this[_0x36b40d(0x232)]=_0x4a329e,_0x4a329e[_0x36b40d(0x263)]=null,_0x4a329e[_0x36b40d(0x29e)]=_0x3d6478[_0x36b40d(0x242)](uuidv4),globals['setGlobal'](_0x3d6478[_0x36b40d(0x1fc)],_0x4a329e[_0x36b40d(0x29e)]),_0x4a329e[_0x36b40d(0x2b0)]=new Date()[_0x36b40d(0x2de)](),_0x3d6478['ZcqBq'](_0x4a329e[_0x36b40d(0x275)],0x0)&&_0x28e068&&_0x3d6478[_0x36b40d(0x2f8)](_0x28e068[_0x36b40d(0x26f)],_0x4a329e[_0x36b40d(0x26f)])?(_0x4a329e[_0x36b40d(0x263)]=_0x28e068[_0x36b40d(0x29e)],await this[_0x36b40d(0x1d0)](_0x4a329e,undefined,![],_0x3d6478['UMHeI']),_0x28e068[_0x36b40d(0x1d9)]=STATE_FAILED,await this[_0x36b40d(0x1d0)](_0x28e068,undefined,!![])):await this[_0x36b40d(0x1d0)](_0x4a329e,undefined,![],_0x3d6478[_0x36b40d(0x2ca)]);}catch(_0x13f3c0){_0x3d6478['HtKlH'](debug,_0x36b40d(0x2ee)+_0x13f3c0);}};[a27_0x27f883(0x1d0)]=async(_0x260d0a,_0x1f7038=undefined,_0x3e45c7=![],_0x573506='TestRunFinished')=>{const _0x15f2bb=a27_0x27f883,_0xe5cea4={'zzadY':function(_0x19b21c,_0x4cf1d1){return _0x19b21c===_0x4cf1d1;},'efKsm':function(_0x476af2,_0x272e0d){return _0x476af2!==_0x272e0d;},'XQJwM':_0x15f2bb(0x21d),'BskFB':_0x15f2bb(0x1e5),'Rolhs':function(_0x3993df,_0x5c00db){return _0x3993df!==_0x5c00db;},'YaKxo':function(_0x50217f,_0x34702f){return _0x50217f!==_0x34702f;},'bLhXX':_0x15f2bb(0x28b),'hNLgd':_0x15f2bb(0x1bb),'KLnud':'javascript','WfZTB':'TestRunSkipped','TxUbj':_0x15f2bb(0x2f3),'iEWHL':function(_0x11904b,_0x4a0107){return _0x11904b-_0x4a0107;},'BINnL':_0x15f2bb(0x2c7),'gTRnU':_0x15f2bb(0x22e),'unagW':_0x15f2bb(0x2e9),'WeDYU':'TestRunStarted','AcuFv':function(_0x18d902){return _0x18d902();},'xpulq':_0x15f2bb(0x2b0),'WcSti':_0x15f2bb(0x21e),'nlTUo':function(_0x10f2fa,_0x449e2e){return _0x10f2fa(_0x449e2e);},'EGyGN':_0x15f2bb(0x1e6),'Phjds':_0x15f2bb(0x233),'nBaTc':_0x15f2bb(0x20a),'zxZOZ':_0x15f2bb(0x260),'vAfUM':function(_0x7ce4f2,_0x1311c9){return _0x7ce4f2===_0x1311c9;},'qAoSZ':function(_0x971764,_0x11d85e){return _0x971764(_0x11d85e);},'drtIJ':'failure','ceYdr':_0x15f2bb(0x24d),'rATie':_0x15f2bb(0x1fd),'rrAGo':_0x15f2bb(0x206),'ViCXa':_0x15f2bb(0x2ef),'tvtxh':function(_0x4d8778,_0xc6a391){return _0x4d8778(_0xc6a391);},'ioHlX':'hook_type','NZvdT':_0x15f2bb(0x2b2),'CLjdN':_0x15f2bb(0x210),'KeAVZ':function(_0x3c9692,_0x3a17f6){return _0x3c9692(_0x3a17f6);}};try{if(_0x260d0a[_0x15f2bb(0x276)]&&_0x260d0a[_0x15f2bb(0x276)][_0x15f2bb(0x1e8)](/browserstack internal helper hook/))return;let _0x47a69e=[];if(_0xe5cea4['zzadY'](_0x260d0a[_0x15f2bb(0x1d9)],STATE_FAILED)){if(_0xe5cea4[_0x15f2bb(0x2d9)](_0x260d0a['err'],undefined))_0x47a69e=_0x260d0a[_0x15f2bb(0x1e5)][_0x15f2bb(0x2ba)]?[_0x260d0a['err'][_0x15f2bb(0x2ba)],_0xe5cea4[_0x15f2bb(0x1cd)]]:[_0x260d0a[_0x15f2bb(0x1e5)],_0xe5cea4[_0x15f2bb(0x23c)]];else _0xe5cea4[_0x15f2bb(0x2d9)](_0x1f7038,undefined)?_0x47a69e=[_0x1f7038,_0xe5cea4[_0x15f2bb(0x23c)]]:_0x47a69e=[];}const _0x65669f=_0xe5cea4[_0x15f2bb(0x23f)](_0x260d0a['err'],undefined)?_0x260d0a[_0x15f2bb(0x1e5)][_0x15f2bb(0x24c)]():_0xe5cea4[_0x15f2bb(0x2bf)](_0x1f7038,undefined)?_0x1f7038[_0x15f2bb(0x24c)]():undefined;let _0x46931f;try{_0x46931f=this[_0x15f2bb(0x204)](_0x260d0a);}catch(_0x13c90d){_0x46931f=null;}const _0x51f4c8=_0x46931f?this[_0x15f2bb(0x243)](_0x46931f):null,_0x18dad7=_0x46931f?this[_0x15f2bb(0x1c0)][_0x15f2bb(0x2a6)](this[_0x15f2bb(0x204)](_0x260d0a)):_0xe5cea4[_0x15f2bb(0x28f)],_0x123e0f={'framework':_0xe5cea4[_0x15f2bb(0x2d6)],'uuid':_0x260d0a[_0x15f2bb(0x29e)]||_0x260d0a['hookAnalyticsId'],'name':_0x260d0a[_0x15f2bb(0x26f)],'body':{'lang':_0xe5cea4['KLnud'],'code':_0x260d0a[_0x15f2bb(0x276)]},'scope':this[_0x15f2bb(0x208)](_0x260d0a),'scopes':this['scopes'](_0x260d0a),'identifier':_0x260d0a[_0x15f2bb(0x21c)](),'file_name':_0x18dad7,'vc_filepath':_0x51f4c8?path[_0x15f2bb(0x2a0)](_0x51f4c8,_0x46931f):null,'location':_0x18dad7,'result':_0xe5cea4[_0x15f2bb(0x218)](_0x573506,_0xe5cea4['WfZTB'])?_0xe5cea4[_0x15f2bb(0x2d5)]:this['analyticsResult'](_0x260d0a['state']),'failure_reason':_0x65669f,'duration_in_ms':_0x260d0a[_0x15f2bb(0x2bb)]||(_0x573506['match'](/Finished/)||_0x573506[_0x15f2bb(0x1e8)](/Skipped/)?_0xe5cea4[_0x15f2bb(0x227)](Date[_0x15f2bb(0x279)](),new Date(_0x260d0a['started_at'])[_0x15f2bb(0x2d2)]()):null),'started_at':_0x260d0a[_0x15f2bb(0x2b0)],'finished_at':_0x573506[_0x15f2bb(0x1e8)](/Finished/)||_0x573506[_0x15f2bb(0x1e8)](/Skipped/)?new Date()['toISOString']():null,'failure':failureData['apply'](null,_0x47a69e),'failure_type':!_0x65669f?null:_0x65669f[_0x15f2bb(0x1e8)](/AssertionError/)?_0xe5cea4[_0x15f2bb(0x2b7)]:_0xe5cea4['gTRnU'],'retry_of':_0x260d0a[_0x15f2bb(0x263)]};if([_0xe5cea4[_0x15f2bb(0x235)],_0xe5cea4[_0x15f2bb(0x25d)],_0xe5cea4[_0x15f2bb(0x230)]][_0x15f2bb(0x1f3)](_0x573506)){if(_0xe5cea4['AcuFv'](getCentralUser)[_0x15f2bb(0x272)]){const _0x56f95f=TestMetadata[_0x15f2bb(0x27c)](_0x260d0a[_0x15f2bb(0x2a7)]);if(_0x56f95f){const _0x50144f={};_0x50144f[_0x15f2bb(0x272)]=_0x56f95f,Object[_0x15f2bb(0x202)](_0x123e0f,_0x50144f);}}}testhubUtils['appendTesthubParams'](_0x123e0f,_0x573506,_0x260d0a,FRAMEWORKS[_0x15f2bb(0x2bd)]);(_0x260d0a[_0x15f2bb(0x1c5)]||_0x260d0a[_0x15f2bb(0x287)])&&centralScannerUtils[_0x15f2bb(0x1dd)](_0x123e0f,_0x260d0a['responseCode'],_0x260d0a[_0x15f2bb(0x287)]);_0xe5cea4[_0x15f2bb(0x218)](_0x573506,_0xe5cea4['WfZTB'])&&!_0x123e0f[_0xe5cea4[_0x15f2bb(0x2ae)]]&&(_0x123e0f[_0xe5cea4[_0x15f2bb(0x2ae)]]=_0x123e0f[_0xe5cea4[_0x15f2bb(0x259)]]);if(_0x573506[_0x15f2bb(0x1e8)](/HookRun/))[_0x123e0f[_0x15f2bb(0x291)],_0x123e0f[_0x15f2bb(0x1d4)]]=_0xe5cea4['nlTUo'](getHookDetails,_0x260d0a[_0x15f2bb(0x21c)]()||_0x260d0a[_0x15f2bb(0x25c)]||_0x260d0a[_0x15f2bb(0x26f)]),_0xe5cea4[_0x15f2bb(0x218)](_0x573506,_0xe5cea4[_0x15f2bb(0x258)])&&(_0xe5cea4['efKsm'](_0x123e0f[_0x15f2bb(0x1cf)],_0xe5cea4['Phjds'])&&(_0x123e0f[_0x15f2bb(0x1cf)]=_0xe5cea4[_0x15f2bb(0x1bd)]),_0xe5cea4[_0x15f2bb(0x218)](_0x123e0f[_0x15f2bb(0x291)],_0xe5cea4[_0x15f2bb(0x282)])&&_0xe5cea4[_0x15f2bb(0x1c1)](_0x123e0f['result'],_0xe5cea4[_0x15f2bb(0x29b)])&&!_0x260d0a[_0x15f2bb(0x252)][_0x15f2bb(0x2cf)][_0x15f2bb(0x26a)]&&(_0x260d0a['ctx'][_0x15f2bb(0x2cf)]['markedStatus']=!![],_0x260d0a['ctx'][_0x15f2bb(0x2cf)][_0x15f2bb(0x1d9)]=STATE_FAILED,await this[_0x15f2bb(0x1d0)](_0x260d0a[_0x15f2bb(0x252)][_0x15f2bb(0x2cf)],undefined,!![])));else _0x573506['match'](/TestRun/)&&_0xe5cea4[_0x15f2bb(0x1f2)](mapTestHooks,_0x260d0a);const _0x3708cd=_0x123e0f[_0xe5cea4['drtIJ']][0x0];_0x3708cd&&(_0x123e0f[_0xe5cea4[_0x15f2bb(0x2f4)]]=_0x3708cd[_0xe5cea4[_0x15f2bb(0x2f1)]],_0x123e0f[_0xe5cea4[_0x15f2bb(0x2cb)]]=_0x3708cd[_0xe5cea4[_0x15f2bb(0x1ee)]]);[_0xe5cea4['unagW'],_0xe5cea4[_0x15f2bb(0x235)]]['includes'](_0x573506)&&(this[_0x15f2bb(0x2d0)]['push'](_0x123e0f),_0x123e0f[_0x15f2bb(0x2e3)]=_0xe5cea4[_0x15f2bb(0x239)](getHooksForTest,_0x260d0a));const _0x3e8a2a={'event_type':_0xe5cea4[_0x15f2bb(0x1c1)](_0x573506,_0xe5cea4[_0x15f2bb(0x235)])?_0xe5cea4[_0x15f2bb(0x25d)]:_0x573506};_0x573506[_0x15f2bb(0x1e8)](/HookRun/)?(_0x123e0f[_0xe5cea4[_0x15f2bb(0x288)]]=HOOK_TYPES_MAP[_0x123e0f[_0xe5cea4['ioHlX']]],_0x3e8a2a[_0xe5cea4[_0x15f2bb(0x1c8)]]=_0x123e0f):_0x3e8a2a[_0xe5cea4['CLjdN']]=_0x123e0f,testhubUtils['setCurrentTestData'](FRAMEWORKS[_0x15f2bb(0x2bd)],_0x3e8a2a),await SessionHandler[_0x15f2bb(0x251)](_0x3e8a2a);}catch(_0x51d3a4){_0xe5cea4['KeAVZ'](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x573506+_0x15f2bb(0x28a)+_0x51d3a4);}};['findGitConfig'](_0x2cc152){const _0x347cc2=a27_0x27f883,_0x2658b8={};_0x2658b8[_0x347cc2(0x2c6)]=function(_0x27e9df,_0x132f8a){return _0x27e9df===_0x132f8a;},_0x2658b8['fOKOJ']=function(_0x42bb02,_0x354cb){return _0x42bb02===_0x354cb;},_0x2658b8['ZUmwM']='.git',_0x2658b8[_0x347cc2(0x29c)]=_0x347cc2(0x290);const _0x1e2af3=_0x2658b8,_0x5aae48=path['sep'];if(_0x1e2af3[_0x347cc2(0x2c6)](_0x2cc152,null)||_0x1e2af3['ktkSG'](_0x2cc152,'')||_0x1e2af3[_0x347cc2(0x2c6)](_0x2cc152,_0x5aae48)||_0x1e2af3[_0x347cc2(0x1e0)](_0x2cc152,path[_0x347cc2(0x214)](_0x2cc152)))return null;try{return fs[_0x347cc2(0x27b)](path[_0x347cc2(0x26b)](_0x2cc152,_0x1e2af3[_0x347cc2(0x1ff)],_0x1e2af3[_0x347cc2(0x29c)])),_0x2cc152;}catch(_0x23cb3f){const _0x19e06e=path[_0x347cc2(0x214)](_0x2cc152);return this['findGitConfig'](_0x19e06e);}}['appendTestItemLog']=async _0x13fd63=>{const _0x21795e=a27_0x27f883,_0x287ec2={'EKqpY':_0x21795e(0x222),'YopbJ':function(_0x485114,_0xc83d9f){return _0x485114(_0xc83d9f);}};try{this['current_hook']&&!this[_0x21795e(0x245)]['markedStatus']&&(_0x13fd63[_0x21795e(0x229)]=this[_0x21795e(0x245)][_0x21795e(0x2a8)]);!_0x13fd63[_0x21795e(0x229)]&&this['current_test']&&!this[_0x21795e(0x232)]['markedStatus']&&(_0x13fd63[_0x21795e(0x1e3)]=this[_0x21795e(0x232)][_0x21795e(0x29e)]);if(_0x13fd63[_0x21795e(0x229)]||_0x13fd63[_0x21795e(0x1e3)]){const _0xef9fcf={};_0xef9fcf[_0x21795e(0x1fe)]=_0x287ec2[_0x21795e(0x292)],_0xef9fcf[_0x21795e(0x24a)]=[_0x13fd63],await SessionHandler[_0x21795e(0x251)](_0xef9fcf);}}catch(_0x56920d){_0x287ec2[_0x21795e(0x1de)](debug,_0x21795e(0x2af)+_0x56920d);}};[a27_0x27f883(0x25a)]=async _0x2435df=>{const _0x1d9e3d=a27_0x27f883,_0xcbd625={'vCfkY':_0x1d9e3d(0x1db),'MKcxR':_0x1d9e3d(0x254),'AvOIW':function(_0x573b59,_0x23497b){return _0x573b59(_0x23497b);}};try{const _0x41660f={};_0x41660f[_0x1d9e3d(0x1da)]=_0x2435df[_0x1d9e3d(0x1da)]||this[_0x1d9e3d(0x232)][_0x1d9e3d(0x29e)],_0x41660f['integrations']=_0x2435df[_0xcbd625[_0x1d9e3d(0x20b)]];const _0x56b231=_0x41660f,_0x33d71b={};_0x33d71b[_0x1d9e3d(0x1fe)]=_0xcbd625['MKcxR'],_0x33d71b['test_run']=_0x56b231,await SessionHandler['uploadEventData'](_0x33d71b);}catch(_0x365e92){_0xcbd625[_0x1d9e3d(0x244)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x365e92);}};[a27_0x27f883(0x273)](_0x33de12){const _0x2b4b79=a27_0x27f883,_0x3cdedb={};_0x3cdedb[_0x2b4b79(0x20e)]=_0x2b4b79(0x20a),_0x3cdedb[_0x2b4b79(0x22b)]=_0x2b4b79(0x200),_0x3cdedb[_0x2b4b79(0x2e8)]='failed';const _0x367c0b=_0x3cdedb,_0x5e4aa3={};return _0x5e4aa3[STATE_PASSED]=_0x367c0b[_0x2b4b79(0x20e)],_0x5e4aa3[STATE_PENDING]=_0x367c0b[_0x2b4b79(0x22b)],_0x5e4aa3[STATE_FAILED]=_0x367c0b['EhnED'],_0x5e4aa3[_0x33de12];}[a27_0x27f883(0x208)](_0x2c635d){const _0x2ccb54=a27_0x27f883,_0x58b0c6={};_0x58b0c6[_0x2ccb54(0x281)]=function(_0x422de7,_0x1e7414){return _0x422de7-_0x1e7414;};const _0x3657f7=_0x58b0c6,_0x3c353d=_0x2c635d['titlePath']();return _0x3c353d[_0x2ccb54(0x2d8)](0x0,_0x3657f7['DfUEW'](_0x3c353d[_0x2ccb54(0x2cc)],0x1))[_0x2ccb54(0x26b)]('\x20');}[a27_0x27f883(0x2f7)](_0x22d5d1){const _0x45c8d3=a27_0x27f883,_0x2e9201={};_0x2e9201[_0x45c8d3(0x2b9)]=function(_0x58f215,_0x43cf78){return _0x58f215-_0x43cf78;};const _0x578e26=_0x2e9201,_0x4d002f=_0x22d5d1['titlePath']();return _0x4d002f[_0x45c8d3(0x2d8)](0x0,_0x578e26['UOdGS'](_0x4d002f[_0x45c8d3(0x2cc)],0x1));}[a27_0x27f883(0x204)](_0x5aaba0){const _0x2b695c=a27_0x27f883,_0x16237a={};_0x16237a[_0x2b695c(0x2e0)]=function(_0x294a49,_0xaa51a4){return _0x294a49>_0xaa51a4;};const _0x13dac1=_0x16237a;if(_0x5aaba0[_0x2b695c(0x255)])return _0x5aaba0['file'];if(_0x5aaba0[_0x2b695c(0x252)]){const _0x2adb4c=_0x5aaba0[_0x2b695c(0x252)][_0x2b695c(0x2cf)]?this[_0x2b695c(0x204)](_0x5aaba0[_0x2b695c(0x252)][_0x2b695c(0x2cf)]):null;if(_0x2adb4c)return _0x2adb4c;}if(_0x5aaba0['parent']){const _0xab8870=this['getRootParentFile'](_0x5aaba0['parent'])||(_0x5aaba0['parent'][_0x2b695c(0x252)]&&_0x5aaba0[_0x2b695c(0x2d4)]['ctx']['currentTest']?this[_0x2b695c(0x204)](_0x5aaba0[_0x2b695c(0x2d4)][_0x2b695c(0x252)][_0x2b695c(0x2cf)]):null);if(_0xab8870)return _0xab8870;_0x5aaba0[_0x2b695c(0x2d4)]['suites']&&_0x13dac1[_0x2b695c(0x2e0)](_0x5aaba0['parent']['suites'][_0x2b695c(0x2cc)],0x0)&&_0x5aaba0[_0x2b695c(0x2d4)][_0x2b695c(0x2b1)][_0x2b695c(0x223)](_0x4648bd=>{const _0x53bf62=_0x2b695c,_0x2a698e=_0x4648bd[_0x53bf62(0x252)]?this['getRootParentFile'](_0x4648bd[_0x53bf62(0x252)]):null;if(_0x2a698e)return _0x2a698e;});}return null;}}function a27_0x43f6(_0x29142d,_0x2e21d4){const _0x1515fc=a27_0x1515();return a27_0x43f6=function(_0x43f64d,_0x1a0211){_0x43f64d=_0x43f64d-0x1bb;let _0x1ecf3b=_0x1515fc[_0x43f64d];return _0x1ecf3b;},a27_0x43f6(_0x29142d,_0x2e21d4);}module[a27_0x27f883(0x2f6)]=MyReporter;
1
+ 'use strict';const a27_0x5ed7f0=a27_0x2882;function a27_0x1753(){const _0x4cf6a9=['light','KFLCs','epdWr','hook_run','ZREGo','%s\x20','kxyvs','Failed\x20to\x20load\x20reporter\x20','javascript','UnhandledError','prefixTestPath','multiple','result','../../../helpers/test-observability/sessionHandler','after\x20all','eiSyw','_currentRetry','XEpkW','suiteCount','HookRunFinished','test','hook_run_uuid','aENgJ','_upstreamConfig','symbols','includes','Ordqw','</dl>','HVGdL','2SoLdER','assign','escape','\x20\x20<dt\x20class=\x22error\x22>','iDUBe','8550780XZrooR','wdAWl','join','STlWs','hwgkR','uuid','CBTSessionCreated','EVENT','push','Rdiil','testAnalyticsId','test_run','xunit','%s\x20-\x20%s','suite','bang','__platform__','UJMHa','FOjbL','docAppend','wGocm','consoleLog','clean','KObaO','\x20\x20%d)\x20%s','constants','write','HjxxS','tZuLC','path','gLucT','increaseIndent','suites','cxzHr','current_hook','OXPwO','speed','eQAvQ','../../../helpers/globals','title','EtEZf','appendTestItemLog','comma','results','before\x20each','wBMrq','reporterOptions','retryOf','_testEnv','mocha/lib/reporters/','\x20(%dms)','5234905ngqIRX','hiFWy','currentTest','1688DzFBTM','testRunUUID','originalTitle','match','bs:addPlatformDetails:','zmGmT','mocha/lib/reporters/base.js','err','3610197bVGsSi','</code></pre></dd>','pending','EmhUg','luGuN','<h1>','http_response','\x20\x20<dt>','mocha/lib/runnable.js','finished_at','failed','KIDRa','ZiaWO','sPUPp','RUNNING','_testResults','scope','OMXwY','fast','ypgyM','test_run_uuid','MNLBi','PdKGr','now','integrations','yuzyM','../../../helpers/testhub/utils','bzHTC','4|1|2|3|0','EbgOI','File\x20path\x20could\x20not\x20be\x20found','indent','FOtPt','JQblx','dKVxZ','call','shutdown','NdbDz','analyticsResult','AcvfI','root','slow','../../../helpers/logger','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','bsConfig','shouldProcessEventForTesthub','MOCHA','FClaL','zMSmr','URQxZ','nlwJv','RiXpB','VZZkz','TestRunSkipped','setGlobal','Vkovm','Mocha','_buildCreated','\x20\x20<dd\x20class=\x22error\x22>','split','stdout','\x20%s','WAvZi','Reporter','ZjgTP','exports','started_at','nPbUw','HookRunStarted','inspect','config','seZRu','CCxbC','error','qStEE','apply','markedStatus','state','LogCreated','getTime','scopes','testObservability','../../../helpers/test-observability/requestQueueHandler','decreaseIndent','WZvNA','event_type','HyjFF','toISOString','reporterOption','getRootParentFile','TestRunStarted','QBACL','length','docHtml','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','failure_backtrace','once','KuSgi','parent','.git','failCount','dot','<dl>','getInstance','rRnpr','VeWdQ','slice','648339deHaEl','get','wexFx','HookFinished','skipped','finalResults','3918362CKchFx','prototype','fullTitle','titlePath','../../../helpers/testhub/constants','bkHVm','failureCount','body','spec','setCurrentTestData','uGUqC','fail','../../../helpers/test-observability/constants','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','../../../helpers/helper','nKmWF','BEFORE_EACH','QTFso','Qssri','DxJUf','JiEvh','lcnc','bs:addLog:','currentRetry','8626112vOvCoA','toString','HookStarted','gPSem','VPPAN','uxehJ','qhZTt','yCopr','winstonLogger','eenCI','bind','LdUBe','name','_paths','wIZvl','hook_type','4971IHHYEu','passed','kSQvo','redirectUrl','<section\x20class=\x22suite\x22>','dirname','TestRunFinished','</dt>','Uautq','gfsCt','aHQZj','done','dHMlh','sendTestRunEvent','GdUcv','fpGwE','registerListeners','findGitConfig','appendTestPlatform','\x20-\x20','BhHMv','relative','expanded','failure_reason_expanded','checkmark','6BmxwHv','jyIzS','pid','ctx','forEach','hookAnalyticsId','qHNdq','COMPLETED','bright\x20yellow','uploadEventData','qDkPO','JbwGv','location_prefix','type','</section>','logs','duration','statSync','uvGdP','HaNkr','PBzpJ','nimkf','mocha','before\x20all','NXqju','xXnLH','setCentralScannerData','KyZCO','_indents','Ucbdj','../../../helpers/central-scanner/helpers','testStarted','aLwNB','pass','XHXvO','fdWol','NHKLf','wYGdw','NgBkK','../../../helpers/metadata','file','removeAllListeners','__indents','wZBGC','BEFORE_ALL','current_test','RuCco'];a27_0x1753=function(){return _0x4cf6a9;};return a27_0x1753();}function a27_0x2882(_0x2f1499,_0x4666bd){const _0x1753c7=a27_0x1753();return a27_0x2882=function(_0x288226,_0x217617){_0x288226=_0x288226-0x89;let _0x1bb34f=_0x1753c7[_0x288226];return _0x1bb34f;},a27_0x2882(_0x2f1499,_0x4666bd);}(function(_0x333813,_0x5b9381){const _0x77e3c0=a27_0x2882,_0x3396b2=_0x333813();while(!![]){try{const _0x5f4f94=-parseInt(_0x77e3c0(0x178))/0x1*(-parseInt(_0x77e3c0(0xca))/0x2)+-parseInt(_0x77e3c0(0x1a6))/0x3*(-parseInt(_0x77e3c0(0x105))/0x4)+-parseInt(_0x77e3c0(0x102))/0x5+parseInt(_0x77e3c0(0x1bf))/0x6*(parseInt(_0x77e3c0(0x17e))/0x7)+parseInt(_0x77e3c0(0x196))/0x8+-parseInt(_0x77e3c0(0x10d))/0x9+-parseInt(_0x77e3c0(0xcf))/0xa;if(_0x5f4f94===_0x5b9381)break;else _0x3396b2['push'](_0x3396b2['shift']());}catch(_0x92ac29){_0x3396b2['push'](_0x3396b2['shift']());}}}(a27_0x1753,0xa69bf));const util=require('util'),fs=require('fs'),path=require(a27_0x5ed7f0(0xec)),{requireModule,getCentralUser}=require('../../../helpers/helper'),Base=requireModule(a27_0x5ed7f0(0x10b),'mocha'),utils=requireModule('mocha/lib/utils.js',a27_0x5ed7f0(0x94)),color=Base['color'],Mocha=requireModule('mocha'),Runnable=requireModule(a27_0x5ed7f0(0x115),a27_0x5ed7f0(0x94)),{v4:uuidv4}=require(a27_0x5ed7f0(0xd4)),bsSetupHelper=require(a27_0x5ed7f0(0x18c)),testhubUtils=require(a27_0x5ed7f0(0x127)),centralScannerUtils=require(a27_0x5ed7f0(0x9c)),testHubConstants=require(a27_0x5ed7f0(0x182)),{FRAMEWORKS}=require(a27_0x5ed7f0(0x18a)),globals=require(a27_0x5ed7f0(0xf5)),logger=require(a27_0x5ed7f0(0x137))[a27_0x5ed7f0(0x19e)],TestMetadata=require(a27_0x5ed7f0(0xa5)),a27_0x2b8b8a={};a27_0x2b8b8a[a27_0x5ed7f0(0x95)]=a27_0x5ed7f0(0xaa),a27_0x2b8b8a[a27_0x5ed7f0(0xbb)]='AFTER_ALL',a27_0x2b8b8a[a27_0x5ed7f0(0xfb)]=a27_0x5ed7f0(0x18e),a27_0x2b8b8a['after\x20each']='AFTER_EACH';const HOOK_TYPES_MAP=a27_0x2b8b8a,{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_0x5ed7f0(0xe8)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable['constants'],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require('../test-observability/mochaUtils'),{consoleHolder}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a27_0x5ed7f0(0xba)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a27_0x5ed7f0(0x15f)),requestQueueHandler=RequestQueueHandler[a27_0x5ed7f0(0x174)]();class MyReporter{constructor(_0x4f17f6,_0x29e819){const _0x3718f1=a27_0x5ed7f0,_0x5bf010={'HyjFF':function(_0x207fd0,_0x74e60c){return _0x207fd0===_0x74e60c;},'hiFWy':_0x3718f1(0x186),'gLucT':function(_0x340342,_0x402986){return _0x340342+_0x402986;},'NgBkK':function(_0x114fea,_0x45df6b,_0x193479){return _0x114fea(_0x45df6b,_0x193479);},'RYWUF':'green','KyZCO':_0x3718f1(0xb2),'gPSem':function(_0x5f1f68,_0x3e8196,_0x2ee0c9){return _0x5f1f68(_0x3e8196,_0x2ee0c9);},'jyIzS':_0x3718f1(0xad),'dHMlh':_0x3718f1(0xdc),'EbgOI':_0x3718f1(0x11b),'kxyvs':'doc','wBMrq':function(_0x25564e,_0x1fcc92){return _0x25564e===_0x1fcc92;},'XHXvO':function(_0x450851){return _0x450851();},'nimkf':function(_0x358f57){return _0x358f57();},'EtEZf':_0x3718f1(0x151),'seZRu':function(_0x332e3d,_0x18a727){return _0x332e3d===_0x18a727;},'Vkovm':'HookRunFinished','Ordqw':_0x3718f1(0x1a7),'nlwJv':function(_0x1cfa4b,_0x31aa87){return _0x1cfa4b===_0x31aa87;},'HjxxS':_0x3718f1(0x11f),'AcvfI':function(_0x1a0ec2,_0x2f090a){return _0x1a0ec2+_0x2f090a;},'eenCI':_0x3718f1(0x1be),'OXPwO':_0x3718f1(0x9f),'CCxbC':_0x3718f1(0x14a),'COdAx':function(_0x2fa047,_0x1aa649,_0x42b616){return _0x2fa047(_0x1aa649,_0x42b616);},'hwgkR':_0x3718f1(0x101),'nKmWF':_0x3718f1(0x189),'KIDRa':_0x3718f1(0xe7),'aLwNB':function(_0x3192aa,_0x59c81b){return _0x3192aa+_0x59c81b;},'wIZvl':_0x3718f1(0x1c7),'zmGmT':_0x3718f1(0x1c6),'KFLCs':_0x3718f1(0x172),'HVGdL':function(_0x2c149f,_0x2687ae){return _0x2c149f===_0x2687ae;},'Rdiil':_0x3718f1(0x136),'wexFx':function(_0x383797,_0x5c54ab){return _0x383797===_0x5c54ab;},'fdWol':_0x3718f1(0x129),'NdbDz':_0x3718f1(0x10f),'WAvZi':function(_0xd0b0db,_0x5e5b99){return _0xd0b0db===_0x5e5b99;},'qHNdq':_0x3718f1(0x142),'qhZTt':function(_0xf1b317,_0x56b567){return _0xf1b317===_0x56b567;},'KuSgi':function(_0x32ce04,_0x92ccd7){return _0x32ce04(_0x92ccd7);},'XEpkW':function(_0x4c9bea,_0x1494d3){return _0x4c9bea(_0x1494d3);},'vEIMp':function(_0x1f217e,_0x50d259){return _0x1f217e===_0x50d259;},'tZuLC':_0x3718f1(0xdb),'wblOC':function(_0x4edf25,_0x576a81,_0x1b1869){return _0x4edf25(_0x576a81,_0x1b1869);},'epdWr':_0x3718f1(0x94),'ZREGo':function(_0x18661e,_0x3c38a8){return _0x18661e===_0x3c38a8;},'GXLcn':function(_0x70ae18,_0x114c2f){return _0x70ae18(_0x114c2f);},'bzHTC':function(_0x2d46b1,_0x97c407){return _0x2d46b1!==_0x97c407;}};this[_0x3718f1(0x8b)]=_0x29e819[_0x3718f1(0x165)][_0x3718f1(0x8b)],this[_0x3718f1(0x15e)]=_0x5bf010[_0x3718f1(0x93)](isTestObservabilitySession),Base[_0x3718f1(0x130)](this,_0x4f17f6,_0x29e819),this[_0x3718f1(0x9a)]=0x0,this['failCount']=0x0,this[_0x3718f1(0xfa)]=[],this[_0x3718f1(0x17d)]=[],this[_0x3718f1(0xbf)]=0x0,this[_0x3718f1(0x146)]=![],this[_0x3718f1(0x11c)]=[],this[_0x3718f1(0xff)]=_0x5bf010[_0x3718f1(0x93)](getTestEnv),this[_0x3718f1(0x1a3)]=new PathHelper({'cwd':process['cwd']()},this['_testEnv'][_0x3718f1(0x8a)]),this[_0x3718f1(0xc4)]=_0x29e819[_0x3718f1(0x165)][_0x3718f1(0x139)],this['registerListeners']();_0x5bf010[_0x3718f1(0x163)](this['type'],_0x5bf010[_0x3718f1(0xb3)])&&(this[_0x3718f1(0x16a)]='',this[_0x3718f1(0xa8)]=0x2);_0x4f17f6[_0x3718f1(0x16d)](EVENT_RUN_BEGIN,async()=>{const _0x16d27b=_0x3718f1;_0x5bf010[_0x16d27b(0x163)](this['type'],_0x5bf010[_0x16d27b(0x103)])&&Base[_0x16d27b(0xe4)]();})['on'](EVENT_SUITE_BEGIN,_0x35a07b=>{const _0x19876f=_0x3718f1;if(_0x35a07b[_0x19876f(0x135)])return;if(_0x5bf010[_0x19876f(0x163)](this['type'],_0x5bf010[_0x19876f(0x103)]))this[_0x19876f(0xee)](),Base[_0x19876f(0xe4)](_0x5bf010[_0x19876f(0xed)](_0x5bf010[_0x19876f(0xed)](this[_0x19876f(0x12c)](),_0x5bf010[_0x19876f(0xa4)](color,_0x5bf010['RYWUF'],_0x5bf010[_0x19876f(0x99)])),_0x5bf010[_0x19876f(0x199)](color,_0x5bf010[_0x19876f(0x1c0)],_0x5bf010[_0x19876f(0x1b2)])),_0x5bf010[_0x19876f(0x12a)],_0x35a07b[_0x19876f(0xf6)],global[_0x19876f(0xdf)]);else _0x5bf010[_0x19876f(0x163)](this[_0x19876f(0x8b)],_0x5bf010[_0x19876f(0xb3)])&&(this['docAppend'](this['indent']()+_0x19876f(0x1aa)),++this[_0x19876f(0xa8)],this[_0x19876f(0xe2)](this[_0x19876f(0x12c)]()+_0x19876f(0x112)+utils[_0x19876f(0xcc)](_0x35a07b[_0x19876f(0xf6)]+_0x19876f(0x1b9)+global['__platform__'])+'</h1>'),this[_0x19876f(0xe2)](this[_0x19876f(0x12c)]()+_0x19876f(0x173)));})['on'](EVENT_HOOK_BEGIN,async _0x1f8d39=>{const _0x5e41a9=_0x3718f1;if(_0x5bf010[_0x5e41a9(0xfc)](testhubUtils[_0x5e41a9(0x13a)](testHubConstants[_0x5e41a9(0xd6)][_0x5e41a9(0x198)]),!![])){if(!_0x1f8d39[_0x5e41a9(0x1c4)])_0x1f8d39[_0x5e41a9(0x1c4)]=_0x5bf010[_0x5e41a9(0xa0)](uuidv4);else _0x1f8d39[_0x5e41a9(0x159)]&&(_0x1f8d39['hookAnalyticsId']=_0x5bf010[_0x5e41a9(0x93)](uuidv4),delete _0x1f8d39[_0x5e41a9(0x159)]);_0x1f8d39[_0x5e41a9(0x14f)]=new Date()[_0x5e41a9(0x164)](),this[_0x5e41a9(0xf1)]=_0x1f8d39,await this[_0x5e41a9(0x1b3)](_0x1f8d39,undefined,![],_0x5bf010[_0x5e41a9(0xf7)]);}})['on'](EVENT_HOOK_END,async _0xdbe6b=>{const _0x293a3c=_0x3718f1;_0x5bf010[_0x293a3c(0x154)](testhubUtils[_0x293a3c(0x13a)](testHubConstants['EVENT'][_0x293a3c(0x17b)]),!![])&&(!_0xdbe6b[_0x293a3c(0x159)]&&(_0xdbe6b[_0x293a3c(0x159)]=!![],await this[_0x293a3c(0x1b3)](_0xdbe6b,undefined,![],_0x5bf010['Vkovm'])));})['on'](EVENT_SUITE_END,_0x80e206=>{const _0x4c0a7e=_0x3718f1,_0x372839={'sPUPp':function(_0x4d21c6,_0x1908c9){const _0x2a0d3a=a27_0x2882;return _0x5bf010[_0x2a0d3a(0x154)](_0x4d21c6,_0x1908c9);},'FKnSf':_0x5bf010[_0x4c0a7e(0xc7)],'GdUcv':function(_0x4c40db,_0x52b202){const _0x180aca=_0x4c0a7e;return _0x5bf010[_0x180aca(0x13f)](_0x4c40db,_0x52b202);},'MNIuD':_0x5bf010[_0x4c0a7e(0xea)],'KObaO':function(_0x1ff88b,_0x12ce35){const _0x307f45=_0x4c0a7e;return _0x5bf010[_0x307f45(0xed)](_0x1ff88b,_0x12ce35);},'xXnLH':function(_0x31e4f4,_0x514615){const _0x469f85=_0x4c0a7e;return _0x5bf010[_0x469f85(0x134)](_0x31e4f4,_0x514615);},'QBACL':function(_0xb5bd2a,_0x4b8f7c,_0x54a0c5){const _0x2c14aa=_0x4c0a7e;return _0x5bf010[_0x2c14aa(0xa4)](_0xb5bd2a,_0x4b8f7c,_0x54a0c5);},'ppDiQ':_0x5bf010[_0x4c0a7e(0x19f)],'wdAWl':function(_0xc72c11,_0x141a6d,_0x55a0e5){const _0x1ca462=_0x4c0a7e;return _0x5bf010[_0x1ca462(0x199)](_0xc72c11,_0x141a6d,_0x55a0e5);},'PBzpJ':_0x5bf010[_0x4c0a7e(0xf2)],'Ucbdj':_0x5bf010[_0x4c0a7e(0x155)],'BhHMv':function(_0x49091e,_0x1d840a){return _0x5bf010['gLucT'](_0x49091e,_0x1d840a);},'EmhUg':function(_0x38886d,_0x40635b,_0x3f5e9d){return _0x5bf010['COdAx'](_0x38886d,_0x40635b,_0x3f5e9d);},'JQblx':_0x5bf010[_0x4c0a7e(0xd3)],'FOjbL':function(_0xbeff61,_0x1107c8){const _0x511c6d=_0x4c0a7e;return _0x5bf010[_0x511c6d(0xed)](_0xbeff61,_0x1107c8);},'ewqCU':function(_0x5e06b0,_0x3cc10f,_0x13c7cf){const _0x3e4ce5=_0x4c0a7e;return _0x5bf010[_0x3e4ce5(0xa4)](_0x5e06b0,_0x3cc10f,_0x13c7cf);},'yCopr':_0x5bf010['nKmWF'],'yuzyM':_0x5bf010[_0x4c0a7e(0x118)]};if(_0x80e206[_0x4c0a7e(0x135)])return;if(_0x5bf010[_0x4c0a7e(0x13f)](this[_0x4c0a7e(0x8b)],_0x5bf010[_0x4c0a7e(0x103)]))Base[_0x4c0a7e(0xe4)](),Base[_0x4c0a7e(0xe4)](_0x5bf010[_0x4c0a7e(0x134)](_0x5bf010[_0x4c0a7e(0x9e)](this['indent'](),_0x5bf010[_0x4c0a7e(0x199)](color,_0x5bf010[_0x4c0a7e(0x1a4)],_0x5bf010[_0x4c0a7e(0x99)])),_0x5bf010[_0x4c0a7e(0x199)](color,_0x5bf010[_0x4c0a7e(0x1c0)],_0x5bf010[_0x4c0a7e(0x1b2)])),_0x5bf010[_0x4c0a7e(0x10a)],_0x80e206[_0x4c0a7e(0xf6)],global[_0x4c0a7e(0xdf)]),this[_0x4c0a7e(0xfa)][_0x4c0a7e(0x1c3)](_0x33464b=>{const _0x4a3f7d=_0x4c0a7e;if(_0x372839[_0x4a3f7d(0x11a)](_0x33464b[_0x4a3f7d(0x15a)],_0x372839['FKnSf'])){var _0x52aa32;_0x372839[_0x4a3f7d(0x1b4)](_0x33464b[_0x4a3f7d(0xf3)],_0x372839['MNIuD'])?(_0x52aa32=_0x372839['KObaO'](_0x372839['xXnLH'](this[_0x4a3f7d(0x12c)](),_0x372839[_0x4a3f7d(0x168)](color,_0x372839['ppDiQ'],_0x372839[_0x4a3f7d(0x97)]('\x20\x20',Base['symbols']['ok']))),_0x372839[_0x4a3f7d(0xd0)](color,_0x372839[_0x4a3f7d(0x92)],_0x372839[_0x4a3f7d(0x9b)])),Base['consoleLog'](_0x52aa32,_0x33464b[_0x4a3f7d(0xf6)])):(_0x52aa32=_0x372839[_0x4a3f7d(0x97)](_0x372839[_0x4a3f7d(0xe6)](_0x372839[_0x4a3f7d(0x1ba)](this[_0x4a3f7d(0x12c)](),_0x372839[_0x4a3f7d(0xd0)](color,_0x372839['ppDiQ'],_0x372839[_0x4a3f7d(0x97)]('\x20\x20',Base[_0x4a3f7d(0xc5)]['ok']))),_0x372839[_0x4a3f7d(0x110)](color,_0x372839['PBzpJ'],_0x372839[_0x4a3f7d(0x9b)])),_0x372839[_0x4a3f7d(0xd0)](color,_0x33464b['speed'],_0x372839[_0x4a3f7d(0x12e)])),Base['consoleLog'](_0x52aa32,_0x33464b['title'],_0x33464b[_0x4a3f7d(0x8e)]));}else Base[_0x4a3f7d(0xe4)](_0x372839[_0x4a3f7d(0xe1)](this[_0x4a3f7d(0x12c)](),_0x372839['ewqCU'](color,_0x372839[_0x4a3f7d(0x19d)],_0x372839[_0x4a3f7d(0x126)])),++this[_0x4a3f7d(0x171)],_0x33464b['title']);}),this[_0x4c0a7e(0x160)]();else _0x5bf010[_0x4c0a7e(0x154)](this[_0x4c0a7e(0x8b)],_0x5bf010['kxyvs'])&&(this[_0x4c0a7e(0xe2)](this['indent']()+_0x4c0a7e(0xc8)),--this[_0x4c0a7e(0xa8)],this[_0x4c0a7e(0xe2)](this[_0x4c0a7e(0x12c)]()+_0x4c0a7e(0x8c)),--this[_0x4c0a7e(0xa8)]);Array[_0x4c0a7e(0x17f)][_0x4c0a7e(0xd7)][_0x4c0a7e(0x158)](this['finalResults'],this['results']),this[_0x4c0a7e(0xfa)]=[];})['on'](EVENT_TEST_PASS,async _0x4e62ea=>{const _0x51af1c=_0x3718f1;this[_0x51af1c(0xfa)][_0x51af1c(0xd7)]({'speed':_0x4e62ea['speed'],'suite':_0x4e62ea[_0x51af1c(0x16f)][_0x51af1c(0xf6)],'title':_0x4e62ea[_0x51af1c(0xf6)],'fullTitle':_0x4e62ea[_0x51af1c(0x180)](),'duration':_0x4e62ea['duration'],'state':_0x4e62ea['state'],'err':{},'currentRetry':_0x4e62ea[_0x51af1c(0x195)](),'titlePathV':_0x4e62ea[_0x51af1c(0x181)](),'isPending':_0x4e62ea['isPending']()});if(_0x5bf010['HyjFF'](this[_0x51af1c(0x8b)],_0x5bf010['KFLCs']))_0x5bf010[_0x51af1c(0xc9)](_0x4e62ea[_0x51af1c(0xf3)],_0x5bf010[_0x51af1c(0xd8)])?process[_0x51af1c(0x149)][_0x51af1c(0xe9)](Base['color'](_0x5bf010[_0x51af1c(0x1a4)],Base[_0x51af1c(0xc5)][_0x51af1c(0x172)])):process[_0x51af1c(0x149)][_0x51af1c(0xe9)](Base['color'](_0x4e62ea[_0x51af1c(0xf3)],Base[_0x51af1c(0xc5)][_0x51af1c(0x172)]));else{if(_0x5bf010['nlwJv'](this[_0x51af1c(0x8b)],_0x5bf010[_0x51af1c(0xb3)])){this[_0x51af1c(0xe2)](this['indent']()+_0x51af1c(0x114)+utils['escape'](_0x4e62ea['title'])+_0x51af1c(0x1ad)),this[_0x51af1c(0xe2)](this['indent']()+_0x51af1c(0x114)+utils[_0x51af1c(0xcc)](_0x4e62ea['file'])+_0x51af1c(0x1ad));var _0x4c4978=utils[_0x51af1c(0xcc)](utils[_0x51af1c(0xe5)](_0x4e62ea[_0x51af1c(0x185)]));this[_0x51af1c(0xe2)](this[_0x51af1c(0x12c)]()+'\x20\x20<dd><pre><code>'+_0x4c4978+'</code></pre></dd>');}}_0x5bf010['HyjFF'](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x4e62ea['markedStatus']&&(_0x4e62ea[_0x51af1c(0x159)]=!![],await this[_0x51af1c(0x1b3)](_0x4e62ea)));})['on'](EVENT_TEST_FAIL,async(_0x48f587,_0x206f23)=>{const _0x1cc411=_0x3718f1;this['results']['push']({'title':_0x48f587[_0x1cc411(0xf6)],'suite':_0x48f587[_0x1cc411(0x16f)][_0x1cc411(0xf6)],'state':_0x48f587[_0x1cc411(0x15a)],'err':{'message':util[_0x1cc411(0x152)](_0x206f23)},'fullTitle':_0x48f587['fullTitle'](),'speed':_0x48f587[_0x1cc411(0xf3)],'currentRetry':_0x48f587[_0x1cc411(0x195)](),'titlePathV':_0x48f587['titlePath']()});if(_0x5bf010[_0x1cc411(0x17a)](this[_0x1cc411(0x8b)],_0x5bf010[_0x1cc411(0xae)]))process['stdout'][_0x1cc411(0xe9)](Base['color'](_0x5bf010[_0x1cc411(0x18d)],Base[_0x1cc411(0xc5)][_0x1cc411(0xde)]));else{if(_0x5bf010['wBMrq'](this[_0x1cc411(0x8b)],_0x5bf010[_0x1cc411(0xb3)])){const _0x50475f=_0x5bf010[_0x1cc411(0xa1)][_0x1cc411(0x148)]('|');let _0x3ba8d9=0x0;while(!![]){switch(_0x50475f[_0x3ba8d9++]){case'0':this[_0x1cc411(0xe2)](this['indent']()+_0x1cc411(0x147)+utils[_0x1cc411(0xcc)](_0x48f587[_0x1cc411(0x10c)])+'</dd>');continue;case'1':this[_0x1cc411(0xe2)](this[_0x1cc411(0x12c)]()+_0x1cc411(0xcd)+utils['escape'](_0x48f587[_0x1cc411(0xa6)])+_0x1cc411(0x1ad));continue;case'2':var _0x5436df=utils[_0x1cc411(0xcc)](utils[_0x1cc411(0xe5)](_0x48f587[_0x1cc411(0x185)]));continue;case'3':this['docAppend'](this[_0x1cc411(0x12c)]()+'\x20\x20<dd\x20class=\x22error\x22><pre><code>'+_0x5436df+_0x1cc411(0x10e));continue;case'4':this[_0x1cc411(0xe2)](this[_0x1cc411(0x12c)]()+_0x1cc411(0xcd)+utils['escape'](_0x48f587[_0x1cc411(0xf6)])+_0x1cc411(0x1ad));continue;}break;}}}if(_0x5bf010['nlwJv'](testhubUtils[_0x1cc411(0x13a)](testHubConstants[_0x1cc411(0xd6)][_0x1cc411(0x17b)]),!![])){if(!_0x48f587[_0x1cc411(0x159)]){_0x48f587['markedStatus']=!![];if(_0x48f587[_0x1cc411(0xd9)])await this['sendTestRunEvent'](_0x48f587,_0x206f23);else _0x48f587[_0x1cc411(0x1c4)]&&await this[_0x1cc411(0x1b3)](_0x48f587,_0x206f23,![],_0x5bf010[_0x1cc411(0x144)]);}}})['on'](EVENT_TEST_PENDING,async _0x2f735c=>{const _0x436d70=_0x3718f1;this[_0x436d70(0xfa)][_0x436d70(0xd7)]({'title':_0x2f735c[_0x436d70(0xf6)],'suite':_0x2f735c[_0x436d70(0x16f)]['title'],'state':_0x2f735c['state'],'err':{},'fullTitle':_0x2f735c[_0x436d70(0x180)](),'speed':_0x2f735c['speed'],'currentRetry':_0x2f735c['currentRetry'](),'titlePathV':_0x2f735c['titlePath']()}),_0x5bf010['seZRu'](this['type'],_0x5bf010[_0x436d70(0xae)])&&process[_0x436d70(0x149)][_0x436d70(0xe9)](Base['color'](_0x5bf010[_0x436d70(0x132)],Base[_0x436d70(0xc5)][_0x436d70(0xf9)])),_0x5bf010[_0x436d70(0x14b)](testhubUtils[_0x436d70(0x13a)](),!![])&&(!_0x2f735c[_0x436d70(0xd9)]&&(_0x2f735c['testAnalyticsId']=_0x5bf010[_0x436d70(0xa0)](uuidv4)),!_0x2f735c['markedStatus']&&(_0x2f735c[_0x436d70(0x159)]=!![],await this[_0x436d70(0x1b3)](_0x2f735c,undefined,![],_0x5bf010[_0x436d70(0x1c5)])));})['on'](EVENT_TEST_BEGIN,async _0x31c5c4=>{const _0x59787e=_0x3718f1;_0x5bf010[_0x59787e(0x17a)](testhubUtils[_0x59787e(0x13a)](),!![])&&await this['testStarted'](_0x31c5c4);})['on'](EVENT_TEST_END,async _0x57f2e0=>{const _0x279d01=_0x3718f1;_0x5bf010[_0x279d01(0x19c)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x57f2e0['markedStatus']&&(_0x57f2e0[_0x279d01(0x159)]=!![],await this[_0x279d01(0x1b3)](_0x57f2e0)));})[_0x3718f1(0x16d)](EVENT_RUN_END,async()=>{const _0x3096bf=_0x3718f1;try{if(_0x5bf010[_0x3096bf(0x19c)](testhubUtils['shouldProcessEventForTesthub'](),!![])){const _0x2c92b7=_0x5bf010[_0x3096bf(0x16e)](getHookSkippedTests,this['runner'][_0x3096bf(0xdd)]);for(const _0x4992a8 of _0x2c92b7){!_0x4992a8[_0x3096bf(0xd9)]&&(_0x4992a8[_0x3096bf(0xd9)]=_0x5bf010[_0x3096bf(0xa0)](uuidv4)),await this['sendTestRunEvent'](_0x4992a8,undefined,![],_0x5bf010[_0x3096bf(0x1c5)]);}}}catch(_0x512175){_0x5bf010[_0x3096bf(0xbe)](debug,_0x3096bf(0x18b)+_0x512175);}await requestQueueHandler[_0x3096bf(0x131)](),_0x5bf010['vEIMp'](this[_0x3096bf(0x8b)],_0x5bf010[_0x3096bf(0xb3)])&&Base[_0x3096bf(0xe4)](this['docHtml']);});if(this[_0x3718f1(0x8b)]&&![_0x5bf010[_0x3718f1(0xb3)],_0x5bf010[_0x3718f1(0xeb)],_0x5bf010[_0x3718f1(0x103)],_0x5bf010[_0x3718f1(0xae)]][_0x3718f1(0xc6)](this['type'])){const _0x372380=this[_0x3718f1(0x8b)]['trim']();this['Reporter']=null;try{this[_0x3718f1(0x14c)]=_0x5bf010['wblOC'](requireModule,_0x3718f1(0x100)+_0x372380+'.js',_0x5bf010[_0x3718f1(0xaf)]);}catch(_0x4e975f){_0x5bf010[_0x3718f1(0x16e)](debug,'Exception\x20in\x20browserstack\x20custome\x20reporter\x20with\x20error:\x20'+_0x4e975f);}if(_0x5bf010[_0x3718f1(0xb1)](this[_0x3718f1(0x14c)],null))try{this['Reporter']=_0x5bf010['GXLcn'](require,_0x372380);}catch(_0x263b91){console[_0x3718f1(0x156)](_0x3718f1(0xb4)+_0x372380);}if(_0x5bf010[_0x3718f1(0x128)](this['Reporter'],null)){const _0x3fdc0a={};_0x3fdc0a[_0x3718f1(0xfd)]=_0x29e819[_0x3718f1(0x165)],this[_0x3718f1(0x14c)]=new this[(_0x3718f1(0x14c))](_0x4f17f6,_0x3fdc0a);}}}['indent'](){const _0x582a08=a27_0x5ed7f0,_0x4f80c8={'kSQvo':function(_0x29726a,_0x3a94f2){return _0x29726a(_0x3a94f2);}};return _0x4f80c8[_0x582a08(0x1a8)](Array,this['_indents'])['join']('\x20\x20');}['increaseIndent'](){const _0x35a82e=a27_0x5ed7f0;this[_0x35a82e(0x9a)]++;}[a27_0x5ed7f0(0x160)](){const _0x29dfac=a27_0x5ed7f0;this[_0x29dfac(0x9a)]--;}[a27_0x5ed7f0(0xe2)](_0x54111e){const _0x576174=a27_0x5ed7f0;this[_0x576174(0x16a)]+=_0x54111e;}[a27_0x5ed7f0(0x1b1)](_0x4f2cf1,_0x5e4ec3){const _0x547b97=a27_0x5ed7f0,_0x2b81eb={'gfsCt':function(_0x30ca14,_0x1ec061){return _0x30ca14(_0x1ec061);}},_0x11cb24={};_0x11cb24[_0x547b97(0x184)]=_0x4f2cf1,_0x11cb24[_0x547b97(0xfa)]=this[_0x547b97(0x17d)],_0x2b81eb[_0x547b97(0x1af)](_0x5e4ec3,_0x11cb24);}[a27_0x5ed7f0(0x1b6)](){const _0x50b9ae=a27_0x5ed7f0;process[_0x50b9ae(0xa7)]('bs:addLog:'+process[_0x50b9ae(0x1c1)]),process['on'](_0x50b9ae(0x194)+process['pid'],this[_0x50b9ae(0xf8)][_0x50b9ae(0x1a0)](this)),process[_0x50b9ae(0xa7)](_0x50b9ae(0x109)+process[_0x50b9ae(0x1c1)]),process['on'](_0x50b9ae(0x109)+process[_0x50b9ae(0x1c1)],this[_0x50b9ae(0x1b8)][_0x50b9ae(0x1a0)](this));}[a27_0x5ed7f0(0x9d)]=async _0x4e86cd=>{const _0x5b2e25=a27_0x5ed7f0,_0x56524c={'SdOvI':function(_0x3c474f){return _0x3c474f();},'DxJUf':_0x5b2e25(0x106),'iDUBe':function(_0x31cf2b,_0x59ffd0){return _0x31cf2b>_0x59ffd0;},'NXqju':function(_0x36b75f,_0x3b71d8){return _0x36b75f===_0x3b71d8;},'FOtPt':_0x5b2e25(0x167),'gDcXn':function(_0x51c204,_0x6addc){return _0x51c204(_0x6addc);}};try{const _0x402ee9=this[_0x5b2e25(0xab)];this[_0x5b2e25(0xab)]=_0x4e86cd,_0x4e86cd[_0x5b2e25(0xfe)]=null,_0x4e86cd['testAnalyticsId']=_0x56524c['SdOvI'](uuidv4),globals[_0x5b2e25(0x143)](_0x56524c[_0x5b2e25(0x191)],_0x4e86cd[_0x5b2e25(0xd9)]),_0x4e86cd[_0x5b2e25(0x14f)]=new Date()['toISOString'](),_0x56524c[_0x5b2e25(0xce)](_0x4e86cd[_0x5b2e25(0xbd)],0x0)&&_0x402ee9&&_0x56524c[_0x5b2e25(0x96)](_0x402ee9[_0x5b2e25(0xf6)],_0x4e86cd[_0x5b2e25(0xf6)])?(_0x4e86cd[_0x5b2e25(0xfe)]=_0x402ee9['testAnalyticsId'],await this[_0x5b2e25(0x1b3)](_0x4e86cd,undefined,![],_0x56524c[_0x5b2e25(0x12d)]),_0x402ee9[_0x5b2e25(0x15a)]=STATE_FAILED,await this['sendTestRunEvent'](_0x402ee9,undefined,!![])):await this[_0x5b2e25(0x1b3)](_0x4e86cd,undefined,![],_0x56524c['FOtPt']);}catch(_0x3ccd4d){_0x56524c['gDcXn'](debug,_0x5b2e25(0x138)+_0x3ccd4d);}};['sendTestRunEvent']=async(_0x57b65c,_0x512324=undefined,_0x447b65=![],_0x71b73f=a27_0x5ed7f0(0x1ac))=>{const _0x4335ef=a27_0x5ed7f0,_0x2796af={'aHQZj':function(_0x3c5e5e,_0x5e2bd1){return _0x3c5e5e===_0x5e2bd1;},'wYGdw':function(_0x4e5d00,_0x3470c2){return _0x4e5d00!==_0x3470c2;},'STlWs':_0x4335ef(0xc1),'eQAvQ':_0x4335ef(0x10c),'rRnpr':function(_0x32aac9,_0xcf983){return _0x32aac9!==_0xcf983;},'wZBGC':function(_0x20c99b,_0x1d3a73){return _0x20c99b!==_0x1d3a73;},'XJOwG':_0x4335ef(0x12b),'eiSyw':_0x4335ef(0x145),'uvGdP':_0x4335ef(0xb5),'ypgyM':_0x4335ef(0x142),'dTmOf':_0x4335ef(0x17c),'Ffzrh':function(_0x1dd148,_0x8580f4){return _0x1dd148-_0x8580f4;},'fpGwE':'AssertionError','HaNkr':_0x4335ef(0xb6),'RiXpB':_0x4335ef(0x1ac),'uxehJ':_0x4335ef(0x167),'FClaL':function(_0x553146){return _0x553146();},'WZvNA':_0x4335ef(0x14f),'dKVxZ':_0x4335ef(0x116),'IlPKv':function(_0x4f7eb2,_0x27ddea){return _0x4f7eb2(_0x27ddea);},'qStEE':_0x4335ef(0xc0),'RuCco':_0x4335ef(0x117),'PdKGr':'passed','OMXwY':_0x4335ef(0xfb),'rRTHp':function(_0x44ffd2,_0x3b5d50){return _0x44ffd2===_0x3b5d50;},'NHKLf':function(_0x1f0aea,_0xd5aa00){return _0x1f0aea(_0xd5aa00);},'nPbUw':'failure','ZjgTP':_0x4335ef(0x16c),'uGUqC':'backtrace','aENgJ':_0x4335ef(0x1bd),'VeWdQ':_0x4335ef(0x1bc),'JbwGv':function(_0x4f0107,_0x124555){return _0x4f0107(_0x124555);},'QTFso':_0x4335ef(0x1a5),'YyCvt':_0x4335ef(0xb0),'VZZkz':_0x4335ef(0xda)};try{if(_0x57b65c[_0x4335ef(0x185)]&&_0x57b65c[_0x4335ef(0x185)]['match'](/browserstack internal helper hook/))return;let _0x21745a=[];if(_0x2796af[_0x4335ef(0x1b0)](_0x57b65c[_0x4335ef(0x15a)],STATE_FAILED)){if(_0x2796af[_0x4335ef(0xa3)](_0x57b65c[_0x4335ef(0x10c)],undefined))_0x21745a=_0x57b65c['err']['multiple']?[_0x57b65c[_0x4335ef(0x10c)][_0x4335ef(0xb8)],_0x2796af[_0x4335ef(0xd2)]]:[_0x57b65c[_0x4335ef(0x10c)],_0x2796af[_0x4335ef(0xf4)]];else _0x2796af[_0x4335ef(0x175)](_0x512324,undefined)?_0x21745a=[_0x512324,_0x2796af[_0x4335ef(0xf4)]]:_0x21745a=[];}const _0xebfe31=_0x2796af[_0x4335ef(0xa9)](_0x57b65c[_0x4335ef(0x10c)],undefined)?_0x57b65c[_0x4335ef(0x10c)][_0x4335ef(0x197)]():_0x2796af[_0x4335ef(0x175)](_0x512324,undefined)?_0x512324[_0x4335ef(0x197)]():undefined;let _0x1a6d9b;try{_0x1a6d9b=this[_0x4335ef(0x166)](_0x57b65c);}catch(_0x36d356){_0x1a6d9b=null;}const _0x29cc86=_0x1a6d9b?this['findGitConfig'](_0x1a6d9b):null,_0x3282da=_0x1a6d9b?this[_0x4335ef(0x1a3)][_0x4335ef(0xb7)](this[_0x4335ef(0x166)](_0x57b65c)):_0x2796af['XJOwG'],_0x169d57={'framework':_0x2796af[_0x4335ef(0xbc)],'uuid':_0x57b65c[_0x4335ef(0xd9)]||_0x57b65c[_0x4335ef(0x1c4)],'name':_0x57b65c[_0x4335ef(0xf6)],'body':{'lang':_0x2796af[_0x4335ef(0x90)],'code':_0x57b65c[_0x4335ef(0x185)]},'scope':this[_0x4335ef(0x11d)](_0x57b65c),'scopes':this[_0x4335ef(0x15d)](_0x57b65c),'identifier':_0x57b65c['fullTitle'](),'file_name':_0x3282da,'vc_filepath':_0x29cc86?path[_0x4335ef(0x1bb)](_0x29cc86,_0x1a6d9b):null,'location':_0x3282da,'result':_0x2796af['aHQZj'](_0x71b73f,_0x2796af['ypgyM'])?_0x2796af['dTmOf']:this[_0x4335ef(0x133)](_0x57b65c['state']),'failure_reason':_0xebfe31,'duration_in_ms':_0x57b65c[_0x4335ef(0x8e)]||(_0x71b73f['match'](/Finished/)||_0x71b73f[_0x4335ef(0x108)](/Skipped/)?_0x2796af['Ffzrh'](Date[_0x4335ef(0x124)](),new Date(_0x57b65c[_0x4335ef(0x14f)])[_0x4335ef(0x15c)]()):null),'started_at':_0x57b65c[_0x4335ef(0x14f)],'finished_at':_0x71b73f[_0x4335ef(0x108)](/Finished/)||_0x71b73f[_0x4335ef(0x108)](/Skipped/)?new Date()[_0x4335ef(0x164)]():null,'failure':failureData[_0x4335ef(0x158)](null,_0x21745a),'failure_type':!_0xebfe31?null:_0xebfe31['match'](/AssertionError/)?_0x2796af[_0x4335ef(0x1b5)]:_0x2796af[_0x4335ef(0x91)],'retry_of':_0x57b65c['retryOf']};if([_0x2796af['ypgyM'],_0x2796af['RiXpB'],_0x2796af[_0x4335ef(0x19b)]][_0x4335ef(0xc6)](_0x71b73f)){if(_0x2796af[_0x4335ef(0x13c)](getCentralUser)['lcnc']){const _0x3a190d=TestMetadata[_0x4335ef(0x179)](_0x57b65c[_0x4335ef(0xd9)]);if(_0x3a190d){const _0x59304e={};_0x59304e[_0x4335ef(0x193)]=_0x3a190d,Object[_0x4335ef(0xcb)](_0x169d57,_0x59304e);}}}testhubUtils['appendTesthubParams'](_0x169d57,_0x71b73f,_0x57b65c,FRAMEWORKS['MOCHA']);(_0x57b65c['responseCode']||_0x57b65c[_0x4335ef(0x1a9)])&&centralScannerUtils[_0x4335ef(0x98)](_0x169d57,_0x57b65c['responseCode'],_0x57b65c[_0x4335ef(0x1a9)]);_0x2796af[_0x4335ef(0x1b0)](_0x71b73f,_0x2796af[_0x4335ef(0x120)])&&!_0x169d57[_0x2796af[_0x4335ef(0x161)]]&&(_0x169d57[_0x2796af['WZvNA']]=_0x169d57[_0x2796af[_0x4335ef(0x12f)]]);if(_0x71b73f['match'](/HookRun/))[_0x169d57['hook_type'],_0x169d57[_0x4335ef(0x1a2)]]=_0x2796af['IlPKv'](getHookDetails,_0x57b65c['fullTitle']()||_0x57b65c[_0x4335ef(0x107)]||_0x57b65c[_0x4335ef(0xf6)]),_0x2796af[_0x4335ef(0x1b0)](_0x71b73f,_0x2796af[_0x4335ef(0x157)])&&(_0x2796af['wZBGC'](_0x169d57[_0x4335ef(0xb9)],_0x2796af[_0x4335ef(0xac)])&&(_0x169d57[_0x4335ef(0xb9)]=_0x2796af[_0x4335ef(0x123)]),_0x2796af[_0x4335ef(0x1b0)](_0x169d57['hook_type'],_0x2796af[_0x4335ef(0x11e)])&&_0x2796af['rRTHp'](_0x169d57[_0x4335ef(0xb9)],_0x2796af['RuCco'])&&!_0x57b65c['ctx'][_0x4335ef(0x104)][_0x4335ef(0x159)]&&(_0x57b65c['ctx']['currentTest'][_0x4335ef(0x159)]=!![],_0x57b65c[_0x4335ef(0x1c2)][_0x4335ef(0x104)][_0x4335ef(0x15a)]=STATE_FAILED,await this[_0x4335ef(0x1b3)](_0x57b65c[_0x4335ef(0x1c2)][_0x4335ef(0x104)],undefined,!![])));else _0x71b73f[_0x4335ef(0x108)](/TestRun/)&&_0x2796af[_0x4335ef(0xa2)](mapTestHooks,_0x57b65c);const _0xe83f55=_0x169d57[_0x2796af[_0x4335ef(0x150)]][0x0];_0xe83f55&&(_0x169d57[_0x2796af[_0x4335ef(0x14d)]]=_0xe83f55[_0x2796af[_0x4335ef(0x188)]],_0x169d57[_0x2796af[_0x4335ef(0xc3)]]=_0xe83f55[_0x2796af[_0x4335ef(0x176)]]);[_0x2796af[_0x4335ef(0x140)],_0x2796af[_0x4335ef(0x120)]][_0x4335ef(0xc6)](_0x71b73f)&&(this[_0x4335ef(0x11c)][_0x4335ef(0xd7)](_0x169d57),_0x169d57['hooks']=_0x2796af['JbwGv'](getHooksForTest,_0x57b65c));const _0x1cbb2c={'event_type':_0x2796af['rRTHp'](_0x71b73f,_0x2796af[_0x4335ef(0x120)])?_0x2796af[_0x4335ef(0x140)]:_0x71b73f};_0x71b73f[_0x4335ef(0x108)](/HookRun/)?(_0x169d57[_0x2796af['QTFso']]=HOOK_TYPES_MAP[_0x169d57[_0x2796af[_0x4335ef(0x18f)]]],_0x1cbb2c[_0x2796af['YyCvt']]=_0x169d57):_0x1cbb2c[_0x2796af[_0x4335ef(0x141)]]=_0x169d57,testhubUtils[_0x4335ef(0x187)](FRAMEWORKS[_0x4335ef(0x13b)],_0x1cbb2c),await SessionHandler[_0x4335ef(0x1c8)](_0x1cbb2c);}catch(_0x10fdd4){_0x2796af[_0x4335ef(0x89)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x71b73f+'\x20with\x20error\x20:\x20'+_0x10fdd4);}};[a27_0x5ed7f0(0x1b7)](_0x3f618d){const _0x12b1b5=a27_0x5ed7f0,_0x535c02={};_0x535c02['bkHVm']=function(_0x32b2f6,_0x54abfe){return _0x32b2f6===_0x54abfe;},_0x535c02[_0x12b1b5(0x13e)]=function(_0x11189e,_0x17b9ba){return _0x11189e===_0x17b9ba;},_0x535c02[_0x12b1b5(0x1ae)]=function(_0x4c2886,_0x3d2ed4){return _0x4c2886===_0x3d2ed4;},_0x535c02[_0x12b1b5(0x122)]=_0x12b1b5(0x170),_0x535c02['VPPAN']=_0x12b1b5(0x153);const _0x1ae646=_0x535c02,_0x386cc7=path['sep'];if(_0x1ae646[_0x12b1b5(0x183)](_0x3f618d,null)||_0x1ae646[_0x12b1b5(0x183)](_0x3f618d,'')||_0x1ae646[_0x12b1b5(0x13e)](_0x3f618d,_0x386cc7)||_0x1ae646[_0x12b1b5(0x1ae)](_0x3f618d,path[_0x12b1b5(0x1ab)](_0x3f618d)))return null;try{return fs[_0x12b1b5(0x8f)](path[_0x12b1b5(0xd1)](_0x3f618d,_0x1ae646[_0x12b1b5(0x122)],_0x1ae646[_0x12b1b5(0x19a)])),_0x3f618d;}catch(_0x27be56){const _0x36518c=path[_0x12b1b5(0x1ab)](_0x3f618d);return this[_0x12b1b5(0x1b7)](_0x36518c);}}[a27_0x5ed7f0(0xf8)]=async _0x3b813c=>{const _0x2dafb9=a27_0x5ed7f0,_0x3ac5fa={'ZiaWO':_0x2dafb9(0x15b),'LdUBe':function(_0x56d359,_0x19eab9){return _0x56d359(_0x19eab9);}};try{this[_0x2dafb9(0xf1)]&&!this[_0x2dafb9(0xf1)]['markedStatus']&&(_0x3b813c['hook_run_uuid']=this[_0x2dafb9(0xf1)][_0x2dafb9(0x1c4)]);!_0x3b813c[_0x2dafb9(0xc2)]&&this[_0x2dafb9(0xab)]&&!this[_0x2dafb9(0xab)]['markedStatus']&&(_0x3b813c[_0x2dafb9(0x121)]=this[_0x2dafb9(0xab)]['testAnalyticsId']);if(_0x3b813c[_0x2dafb9(0xc2)]||_0x3b813c['test_run_uuid']){const _0x3b000e={};_0x3b000e[_0x2dafb9(0x162)]=_0x3ac5fa[_0x2dafb9(0x119)],_0x3b000e[_0x2dafb9(0x8d)]=[_0x3b813c],await SessionHandler['uploadEventData'](_0x3b000e);}}catch(_0x401629){_0x3ac5fa[_0x2dafb9(0x1a1)](debug,_0x2dafb9(0x16b)+_0x401629);}};[a27_0x5ed7f0(0x1b8)]=async _0x497c55=>{const _0x350801=a27_0x5ed7f0,_0x54a8a5={'qDkPO':_0x350801(0x113),'cxzHr':_0x350801(0xd5),'UJMHa':function(_0x3285b3,_0x4237fa){return _0x3285b3(_0x4237fa);}};try{const _0x541290={};_0x541290[_0x350801(0xd4)]=_0x497c55[_0x350801(0xd4)]||this[_0x350801(0xab)][_0x350801(0xd9)],_0x541290[_0x350801(0x125)]=_0x497c55[_0x54a8a5[_0x350801(0x1c9)]];const _0x2c1c17=_0x541290,_0x44d7d3={};_0x44d7d3[_0x350801(0x162)]=_0x54a8a5[_0x350801(0xf0)],_0x44d7d3['test_run']=_0x2c1c17,await SessionHandler[_0x350801(0x1c8)](_0x44d7d3);}catch(_0xc4416c){_0x54a8a5[_0x350801(0xe0)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0xc4416c);}};[a27_0x5ed7f0(0x133)](_0xa960f7){const _0x25fadb=a27_0x5ed7f0,_0x6474c9={};_0x6474c9[_0x25fadb(0xe3)]='passed',_0x6474c9[_0x25fadb(0x190)]=_0x25fadb(0x10f),_0x6474c9[_0x25fadb(0x192)]=_0x25fadb(0x117);const _0x46cd72=_0x6474c9,_0x5bf62d={};return _0x5bf62d[STATE_PASSED]=_0x46cd72[_0x25fadb(0xe3)],_0x5bf62d[STATE_PENDING]=_0x46cd72[_0x25fadb(0x190)],_0x5bf62d[STATE_FAILED]=_0x46cd72[_0x25fadb(0x192)],_0x5bf62d[_0xa960f7];}[a27_0x5ed7f0(0x11d)](_0x322383){const _0x47be7d=a27_0x5ed7f0,_0x43abc5={};_0x43abc5[_0x47be7d(0x13d)]=function(_0x2ca9f5,_0x5ae864){return _0x2ca9f5-_0x5ae864;};const _0xb8a6a3=_0x43abc5,_0x3cefb7=_0x322383[_0x47be7d(0x181)]();return _0x3cefb7[_0x47be7d(0x177)](0x0,_0xb8a6a3[_0x47be7d(0x13d)](_0x3cefb7['length'],0x1))[_0x47be7d(0xd1)]('\x20');}[a27_0x5ed7f0(0x15d)](_0x928dfd){const _0x554def=a27_0x5ed7f0,_0x7f4ac2={};_0x7f4ac2['luGuN']=function(_0x49d947,_0x19060f){return _0x49d947-_0x19060f;};const _0x12d560=_0x7f4ac2,_0x9092c8=_0x928dfd[_0x554def(0x181)]();return _0x9092c8[_0x554def(0x177)](0x0,_0x12d560[_0x554def(0x111)](_0x9092c8[_0x554def(0x169)],0x1));}[a27_0x5ed7f0(0x166)](_0x40bf61){const _0x3434f3=a27_0x5ed7f0,_0x149021={};_0x149021['eSVVA']=function(_0x3a507d,_0x1a62dd){return _0x3a507d>_0x1a62dd;};const _0x90f87c=_0x149021;if(_0x40bf61[_0x3434f3(0xa6)])return _0x40bf61[_0x3434f3(0xa6)];if(_0x40bf61[_0x3434f3(0x1c2)]){const _0x14a065=_0x40bf61[_0x3434f3(0x1c2)][_0x3434f3(0x104)]?this['getRootParentFile'](_0x40bf61['ctx'][_0x3434f3(0x104)]):null;if(_0x14a065)return _0x14a065;}if(_0x40bf61['parent']){const _0x605130=this[_0x3434f3(0x166)](_0x40bf61[_0x3434f3(0x16f)])||(_0x40bf61['parent'][_0x3434f3(0x1c2)]&&_0x40bf61[_0x3434f3(0x16f)][_0x3434f3(0x1c2)][_0x3434f3(0x104)]?this[_0x3434f3(0x166)](_0x40bf61[_0x3434f3(0x16f)][_0x3434f3(0x1c2)][_0x3434f3(0x104)]):null);if(_0x605130)return _0x605130;_0x40bf61[_0x3434f3(0x16f)][_0x3434f3(0xef)]&&_0x90f87c['eSVVA'](_0x40bf61[_0x3434f3(0x16f)][_0x3434f3(0xef)]['length'],0x0)&&_0x40bf61[_0x3434f3(0x16f)][_0x3434f3(0xef)]['forEach'](_0x5df092=>{const _0x182112=_0x3434f3,_0x2038f9=_0x5df092['ctx']?this[_0x182112(0x166)](_0x5df092['ctx']):null;if(_0x2038f9)return _0x2038f9;});}return null;}}module[a27_0x5ed7f0(0x14e)]=MyReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a28_0x2addf4=a28_0x2b67;(function(_0x2f80fc,_0x41b491){const _0xfa72df=a28_0x2b67,_0x1350f1=_0x2f80fc();while(!![]){try{const _0x197085=-parseInt(_0xfa72df(0x166))/0x1+-parseInt(_0xfa72df(0x173))/0x2+parseInt(_0xfa72df(0x1e1))/0x3+-parseInt(_0xfa72df(0x163))/0x4+parseInt(_0xfa72df(0x115))/0x5+parseInt(_0xfa72df(0x146))/0x6+parseInt(_0xfa72df(0x1d6))/0x7*(parseInt(_0xfa72df(0x139))/0x8);if(_0x197085===_0x41b491)break;else _0x1350f1['push'](_0x1350f1['shift']());}catch(_0x1d0d3f){_0x1350f1['push'](_0x1350f1['shift']());}}}(a28_0x3033,0x7bed8));const chalk=require(a28_0x2addf4(0x1ed)),logger=require(a28_0x2addf4(0x1a6))[a28_0x2addf4(0x148)],{default:BrowserStackSetup}=require(a28_0x2addf4(0x1aa)),helper=require(a28_0x2addf4(0x11e)),utilities=require('../../helpers/utilities'),testOpsHelper=require(a28_0x2addf4(0x187)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x2addf4(0x10b)),{requireModule,nestedKeyValue}=require('../../helpers/helper'),{getPercyOptions}=require(a28_0x2addf4(0x1bf)),Base=requireModule(a28_0x2addf4(0x19a),a28_0x2addf4(0x1db)),collectFiles=requireModule(a28_0x2addf4(0x152),a28_0x2addf4(0x1db)),constants=require(a28_0x2addf4(0x1bc)),PerformanceTester=require(a28_0x2addf4(0x13d)),PerformanceEvents=require(a28_0x2addf4(0x123))[a28_0x2addf4(0x1cf)],centralScannerConstants=require(a28_0x2addf4(0x195));function tag(_0x38e62b,_0x435b33,_0xa7139c,_0x8f3ca8){const _0x3b8ac4=a28_0x2addf4,_0x5c41f6={'AZOKa':function(_0x30d634,_0xc976df){return _0x30d634+_0xc976df;},'dpMjL':function(_0x3a7841,_0x3db1b6){return _0x3a7841+_0x3db1b6;},'ZgraS':function(_0x48135e,_0xeaa1a4){return _0x48135e+_0xeaa1a4;},'qVDOr':function(_0x2a70eb,_0x45713e){return _0x2a70eb(_0x45713e);},'dIZfb':function(_0x495a1a,_0x8db6d){return _0x495a1a+_0x8db6d;},'UvZgo':function(_0x385ab1,_0x4074cd){return _0x385ab1+_0x4074cd;},'JvGUM':function(_0x4810a3,_0x2553e3){return _0x4810a3+_0x2553e3;},'yKzZv':function(_0x2f90df,_0x2beba5){return _0x2f90df+_0x2beba5;}},_0x537afd=_0xa7139c?'/>':'>',_0x1e9c8b=[];let _0x58154d;for(const _0x13e8df in _0x435b33){Object[_0x3b8ac4(0x1a3)]['hasOwnProperty'][_0x3b8ac4(0x1b6)](_0x435b33,_0x13e8df)&&_0x1e9c8b[_0x3b8ac4(0x1d9)](_0x5c41f6['AZOKa'](_0x5c41f6[_0x3b8ac4(0x126)](_0x5c41f6['ZgraS'](_0x13e8df,'=\x22'),_0x5c41f6[_0x3b8ac4(0x1b0)](escape,_0x435b33[_0x13e8df])),'\x22'));}return _0x58154d=_0x5c41f6[_0x3b8ac4(0x126)](_0x5c41f6[_0x3b8ac4(0x126)](_0x5c41f6[_0x3b8ac4(0x200)]('<',_0x38e62b),_0x1e9c8b[_0x3b8ac4(0x1cc)]?_0x5c41f6[_0x3b8ac4(0x1e5)]('\x20',_0x1e9c8b[_0x3b8ac4(0x188)]('\x20')):''),_0x537afd),_0x8f3ca8&&(_0x58154d+=_0x5c41f6[_0x3b8ac4(0x140)](_0x5c41f6[_0x3b8ac4(0x16f)](_0x5c41f6['yKzZv'](_0x8f3ca8,'</'),_0x38e62b),_0x537afd)),_0x58154d;}let xunitContent='';function a28_0x3033(){const _0x4870fe=['add','ZoBBo','title','length','WVrHU','ZtaLB','EVENTS','object','Couldn\x27t\x20write\x20xunit\x20result\x20to','LcKPr','fireFunnelTestEvent','extension','get','1351zDpDWj','stats','UtkCk','push','\x20failed','mocha','LwFfP','PtOzg','file','tRhfY','rootHooks','240426gBNSYU','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','Running\x20your\x20mocha\x20tests','info','ZgraS','totalTests','testsPending','state','yGXXT','yellow','forEach','FRAMEWORKS','chalk','xunit','sBTdU','mdlaj','stack','tKRsV','platforms','exitCode','start','Gjukj','ApTNy','proxySettings','stringify','Hqsds','lYYDL','eHOzY','Printing\x20stats\x20of\x20tests','log','XBqAn','dIZfb','UVMOl','argv','testSuites','XVOjM','ValrV','sort','\x20platforms','VkmOV','kOJtc','suiteName','icfcn','QqrHZ','UbmWL','Tests:\x20\x20\x20\x20\x20\x20\x20','../test-runner','writeFileSync','jKrMb','parseFileNames','tBEMT','SHUVL','Cnosk','rmdirSync','useW3C','isUndefined','511850EajXum','passes','BROWSERSTACK_AUTOMATION','error\x20removing\x20tcg\x20config\x20file','cjs','getErrorMessageFromResults','\x20skipped','fJTbf','eFiUD','../../helpers/helper','GlNRz','UdLQC','SDKTestSuccessful','****\x20FAILURES\x20****','../../helpers/performance/constants','shouldReRunObservabilityTests','txoxi','dpMjL','testsuite','printBuildLink','VmXdE','cliConfig','rOuET','--disable-test-observability','qRlfs','nClFI','BROWSERSTACK_GRR_US_HUB_URL','indexOf','toUTCString','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','pNOuc','orEcD','failures','WpmgP','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','doc','14008KUmOVX','Setting\x20non\x20exit\x20code\x20for\x20failures','BROWSERSTACK_TEST_ACCESSIBILITY_YML','red','../../helpers/performance/performance-tester','bgRedBright','showDiff','UvZgo','fullTitle','assign','hQvWA','EnBIv','iNGko','4432314eLQvsJ','KQkbl','winstonLogger','debug','Yigdk','setUserConfigPath','size','PHUpK','rtFOJ','aOZym','pending','SDK_CLEANUP','mocha/lib/cli/collect-files.js','dhkIg','iEqmR','min','logLevel','err','includes','consoleLog','lToib','egkWm','IVjYP','qYgoU','useColors','\x20passed','bold','dBVpu','errorMessage','737368rMgWTx','wMNdP','StmCc','562750SMcEQf','error','validPlatformsPresent','reporterOptions','isPending','RPMrR','isBrowserstackInfra','qwGPX','unlinkSync','JvGUM','exports','Running\x20your\x20mocha\x20tests\x20across\x20','Total\x20Suites:\x20','8948iXiADr','KtQIH','testsPassed','wyctb','results','JLmBE','getOwnPropertyNames','yLgpM','CvDBQ','JePSq','accessibilityOptions','ZHcoD','failed','failure','\x0a\x0a\x0a','generateDiff','UGCOg','finally','passed','hTmln','../../helpers/test-observability/utils','join','QcHFU','dWeMq','getPlatformName','iNAHj','sQgNw','reporter','getTCGConfigFilePaths','ignore','notifyUpdate','then','BROWSERSTACK_RERUN_TESTS','preHB','../../helpers/central-scanner/constants','axgJw','output','env','titlePath','mocha/lib/reporters/base.js','IVJkR','gQqXO','djySQ','parallelsPerPlatform','recursive','rerunTests','Listing\x20all\x20the\x20failures','duration','prototype','Total\x20Platforms:\x20','VEmzE','../../helpers/logger','TTycr','accessibility','blpMV','../../helpers/BrowserStackSetup','iUrbj','zvlNg','ElCeQ','</testsuite>','XTUkN','qVDOr','qrlRK','fTxhB','suite','testObservability','nXWqk','call','getHubUrl','fCnKL','finalExecution','uWZPo','parse','../utils/constants','config','skipped','../../helpers/percy/utils','testcase','has','actual','testsFailed','lykep','ZjWWO','spec','--disable-browserstack-automation','framework'];a28_0x3033=function(){return _0x4870fe;};return a28_0x3033();}function xunitWrite(_0x58c643){xunitContent+=_0x58c643;}function xunitTest(_0x5ad6d7,_0x67fbd8){const _0x35494b=a28_0x2addf4,_0x11bb8c={'iNAHj':function(_0x1b75de,_0x55e7bb){return _0x1b75de/_0x55e7bb;},'LwFfP':function(_0x2404a1,_0x56ad81){return _0x2404a1===_0x56ad81;},'StmCc':'failed','UGCOg':function(_0x49f5bd,_0x11f5dd){return _0x49f5bd+_0x11f5dd;},'tKRsV':function(_0x181ec1,_0x1fa62d){return _0x181ec1(_0x1fa62d);},'PtOzg':function(_0x27998b,_0x2b1c30,_0x5c7f9d,_0x4fad92,_0x361964){return _0x27998b(_0x2b1c30,_0x5c7f9d,_0x4fad92,_0x361964);},'dWeMq':_0x35494b(0x1c0),'egkWm':_0x35494b(0x180),'UbmWL':function(_0x4cba44,_0x53af6b){return _0x4cba44+_0x53af6b;},'SHUVL':function(_0x28279a,_0xe01b1c){return _0x28279a(_0xe01b1c);},'lykep':function(_0x1cbb7d,_0x6fa3aa){return _0x1cbb7d(_0x6fa3aa);},'SsruZ':function(_0x3faacf,_0x5aa61f,_0x355f58,_0x4326c9,_0x3737c5){return _0x3faacf(_0x5aa61f,_0x355f58,_0x4326c9,_0x3737c5);},'qYgoU':function(_0x3a4aa9,_0x429c3f,_0x7449a6,_0x1bd906){return _0x3a4aa9(_0x429c3f,_0x7449a6,_0x1bd906);},'UdLQC':_0x35494b(0x1be)};Base[_0x35494b(0x15e)]=![];var _0x5014d3={'classname':_0x5ad6d7[_0x35494b(0x141)],'name':_0x5ad6d7['title'],'time':_0x11bb8c[_0x35494b(0x18c)](_0x5ad6d7[_0x35494b(0x1a2)],0x3e8)||0x0,'platform':_0x67fbd8};if(_0x11bb8c[_0x35494b(0x1dc)](_0x5ad6d7['state'],_0x11bb8c[_0x35494b(0x165)])){var _0x44c8cb=_0x5ad6d7[_0x35494b(0x157)],_0x2a0fbd=!Base['hideDiff']&&Base[_0x35494b(0x13f)](_0x44c8cb)?_0x11bb8c['UGCOg']('\x0a',Base[_0x35494b(0x182)](_0x44c8cb[_0x35494b(0x1c2)],_0x44c8cb['expected'])):'';_0x11bb8c[_0x35494b(0x1f2)](xunitWrite,_0x11bb8c[_0x35494b(0x1dd)](tag,_0x11bb8c[_0x35494b(0x18a)],_0x5014d3,![],_0x11bb8c[_0x35494b(0x1dd)](tag,_0x11bb8c[_0x35494b(0x15b)],{},![],_0x11bb8c[_0x35494b(0x183)](_0x11bb8c[_0x35494b(0x183)](_0x11bb8c[_0x35494b(0x109)](_0x11bb8c[_0x35494b(0x110)](escape,_0x44c8cb['message']),_0x11bb8c[_0x35494b(0x1f2)](escape,_0x2a0fbd)),'\x0a'),_0x11bb8c[_0x35494b(0x1c4)](escape,_0x44c8cb['stack'])))));}else _0x5ad6d7[_0x35494b(0x16a)]?_0x11bb8c[_0x35494b(0x1c4)](xunitWrite,_0x11bb8c['SsruZ'](tag,_0x11bb8c[_0x35494b(0x18a)],_0x5014d3,![],_0x11bb8c[_0x35494b(0x15d)](tag,_0x11bb8c[_0x35494b(0x120)],{},!![]))):_0x11bb8c[_0x35494b(0x1f2)](xunitWrite,_0x11bb8c[_0x35494b(0x15d)](tag,_0x11bb8c[_0x35494b(0x18a)],_0x5014d3,!![]));};function getStats(_0x1f16b1){const _0x470906=a28_0x2addf4,_0x2d4f14={};_0x2d4f14[_0x470906(0x205)]=_0x470906(0x1b3),_0x2d4f14[_0x470906(0x194)]=_0x470906(0x185),_0x2d4f14[_0x470906(0x18d)]='failed',_0x2d4f14[_0x470906(0x1ba)]=_0x470906(0x177);const _0x245f16=_0x2d4f14,_0x313f4f=Object['keys'](_0x1f16b1);let _0x1a85e9=0x0,_0x359616=0x0,_0x5bf722=0x0,_0x1a6f2c=0x0;const _0x2a4903=new Set();_0x313f4f[_0x470906(0x1eb)](_0x766f2a=>{const _0x2e7b3f=_0x470906;_0x1f16b1[_0x766f2a][_0x245f16['uWZPo']][_0x2e7b3f(0x1eb)](_0x122060=>{const _0x417dd0=_0x2e7b3f;_0x2a4903[_0x417dd0(0x1c9)](_0x122060[_0x245f16[_0x417dd0(0x205)]]),_0x1a85e9++;switch(_0x122060[_0x417dd0(0x1e8)]){case _0x245f16[_0x417dd0(0x194)]:_0x5bf722++;break;case _0x245f16[_0x417dd0(0x18d)]:_0x359616++;break;default:_0x1a6f2c++;}});});const _0x34117d={};return _0x34117d[_0x470906(0x203)]=_0x2a4903[_0x470906(0x14c)],_0x34117d[_0x470906(0x1f3)]=_0x313f4f,_0x34117d[_0x470906(0x1e6)]=_0x1a85e9,_0x34117d[_0x470906(0x1c3)]=_0x359616,_0x34117d[_0x470906(0x175)]=_0x5bf722,_0x34117d['testsPending']=_0x1a6f2c,_0x34117d;}function a28_0x2b67(_0x313934,_0x424173){const _0x303390=a28_0x3033();return a28_0x2b67=function(_0x2b6769,_0x201686){_0x2b6769=_0x2b6769-0x107;let _0xeb81d4=_0x303390[_0x2b6769];return _0xeb81d4;},a28_0x2b67(_0x313934,_0x424173);}function errorJSON(_0x27606b){const _0xcd2f67=a28_0x2addf4;var _0x5a5406={};return Object[_0xcd2f67(0x179)](_0x27606b)[_0xcd2f67(0x1eb)](function(_0x3bda59){_0x5a5406[_0x3bda59]=_0x27606b[_0x3bda59];},_0x27606b),_0x5a5406;}function cleanCycles(_0x279346){const _0x2e4c74=a28_0x2addf4,_0x1a3352={};_0x1a3352[_0x2e4c74(0x19c)]=function(_0x29c7e8,_0x2d9a8b){return _0x29c7e8===_0x2d9a8b;},_0x1a3352[_0x2e4c74(0x14a)]=_0x2e4c74(0x1d0),_0x1a3352[_0x2e4c74(0x1fa)]=function(_0x4f1b83,_0x3ff929){return _0x4f1b83!==_0x3ff929;},_0x1a3352['axgJw']=function(_0xf3efb6,_0x1f68f1){return _0xf3efb6!==_0x1f68f1;},_0x1a3352[_0x2e4c74(0x11f)]=function(_0x1ed8c9,_0x14d1a2){return _0x1ed8c9+_0x14d1a2;};const _0x40757=_0x1a3352;var _0x2812c8=[];return JSON[_0x2e4c74(0x1bb)](JSON[_0x2e4c74(0x1f9)](_0x279346,function(_0x281cd3,_0x586521){const _0x21cdc8=_0x2e4c74;if(_0x40757[_0x21cdc8(0x19c)](typeof _0x586521,_0x40757[_0x21cdc8(0x14a)])&&_0x40757[_0x21cdc8(0x1fa)](_0x586521,null)){if(_0x40757[_0x21cdc8(0x196)](_0x2812c8[_0x21cdc8(0x130)](_0x586521),-0x1))return _0x40757[_0x21cdc8(0x11f)]('',_0x586521);_0x2812c8[_0x21cdc8(0x1d9)](_0x586521);}return _0x586521;}));}function clean(_0x531c01){const _0x5ce192=a28_0x2addf4,_0x89b20e={'WpmgP':function(_0x29dc95,_0x257100){return _0x29dc95 instanceof _0x257100;},'PHUpK':function(_0x5e9c37,_0x34da83){return _0x5e9c37(_0x34da83);}};var _0x34e817=_0x531c01[_0x5ce192(0x157)]||{};return _0x89b20e[_0x5ce192(0x136)](_0x34e817,Error)&&(_0x34e817=_0x89b20e[_0x5ce192(0x14d)](errorJSON,_0x34e817)),{'title':_0x531c01[_0x5ce192(0x1cb)],'fullTitle':_0x531c01[_0x5ce192(0x141)],'file':_0x531c01['file'],'duration':_0x531c01[_0x5ce192(0x1a2)],'currentRetry':_0x531c01['currentRetry'],'speed':_0x531c01['speed'],'err':_0x89b20e[_0x5ce192(0x14d)](cleanCycles,_0x34e817)};}function printStats(_0x343254,_0xcb319c='spec',_0x46cf57={}){const _0x49c224=a28_0x2addf4,_0x401614={'jKrMb':function(_0x497be4,_0x551d04){return _0x497be4(_0x551d04);},'WVrHU':function(_0xa23a53,_0x358b69){return _0xa23a53===_0x358b69;},'UVMOl':_0x49c224(0x185),'pNOuc':_0x49c224(0x116),'yGXXT':function(_0x595afa,_0x2b4a55){return _0x595afa(_0x2b4a55);},'dBVpu':_0x49c224(0x17f),'Fgzlj':_0x49c224(0x135),'XTUkN':_0x49c224(0x150),'djySQ':function(_0x3a0b61,_0x5733ed){return _0x3a0b61(_0x5733ed);},'KQkbl':_0x49c224(0x177),'nXWqk':function(_0x3a1a8c,_0x1b8c9f){return _0x3a1a8c===_0x1b8c9f;},'JePSq':function(_0x4d6a24,_0x2b8d60){return _0x4d6a24===_0x2b8d60;},'EEPoD':function(_0x28e488,_0x4bcdd4){return _0x28e488*_0x4bcdd4;},'ApTNy':function(_0x497c40,_0x2935b6,_0x32e79b){return _0x497c40(_0x2935b6,_0x32e79b);},'wMNdP':function(_0x1019ef,_0xae0702){return _0x1019ef===_0xae0702;},'aOZym':function(_0x177043,_0x20716d){return _0x177043>_0x20716d;},'sBTdU':function(_0x302b4f){return _0x302b4f();},'aTeOE':_0x49c224(0x138),'iEqmR':_0x49c224(0x13a),'beVcw':_0x49c224(0x1fd),'qwGPX':function(_0x2ebbdb,_0x16745d){return _0x2ebbdb+_0x16745d;},'KtQIH':_0x49c224(0x1a4),'iUrbj':function(_0x5b4135,_0x2bc3d2){return _0x5b4135+_0x2bc3d2;},'blpMV':_0x49c224(0x172),'ZtaLB':function(_0x327448,_0x4725f3){return _0x327448+_0x4725f3;},'TTycr':_0x49c224(0x10a),'EnBIv':function(_0x3df359,_0x387e47){return _0x3df359>_0x387e47;},'iNGko':function(_0x109cd1,_0x1c9a71){return _0x109cd1>_0x1c9a71;},'sqSHf':function(_0x3d395a,_0x446578){return _0x3d395a>_0x446578;},'Cnosk':function(_0x4f72da,_0x316082){return _0x4f72da+_0x316082;},'mdlaj':function(_0x1ae3a7,_0x46e359){return _0x1ae3a7+_0x46e359;},'ElCeQ':function(_0x5546dd,_0x455173){return _0x5546dd+_0x455173;},'XVOjM':_0x49c224(0x181),'zvlNg':function(_0x15977a,_0x44d759){return _0x15977a===_0x44d759;},'fJTbf':'json','XBqAn':'Writing\x20json\x20result\x20to\x20file','IVjYP':'Couldn\x27t\x20write\x20json\x20result\x20to','VEmzE':'No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','qrlRK':_0x49c224(0x1ee),'zkkZQ':'Mocha\x20Tests','tRhfY':function(_0x491ad1,_0x2e8a1f){return _0x491ad1||_0x2e8a1f;},'liHjy':function(_0x3be536,_0x4ac730,_0xb23348,_0x1613c0){return _0x3be536(_0x4ac730,_0xb23348,_0x1613c0);},'yLgpM':_0x49c224(0x127),'hQvWA':function(_0x524dd3,_0x24ac74){return _0x524dd3-_0x24ac74;},'AzDDQ':function(_0x1478d1,_0x5ed972){return _0x1478d1-_0x5ed972;},'qRlfs':function(_0x38de1e,_0x375d65){return _0x38de1e/_0x375d65;},'ZjWWO':_0x49c224(0x1ae),'nClFI':'Writing\x20xunit\x20result\x20to\x20file','RPMrR':_0x49c224(0x1d1),'trUhT':'No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','eHOzY':_0x49c224(0x1a1),'QcHFU':_0x49c224(0x122)};if(_0x401614[_0x49c224(0x1b5)](_0xcb319c,_0x401614['aTeOE']))return;const _0x4672f4=0x0,_0x4dbb1=()=>{const _0x1d6ca5=_0x49c224;return _0x401614['jKrMb'](Array,_0x4672f4)[_0x1d6ca5(0x188)]('\x20\x20');},{testSuites:_0x27410d,platforms:_0xa015d8,totalTests:_0xd58cc2,testsFailed:_0x344728,testsPassed:_0x5ca24d,testsPending:_0x10ddd9}=_0x401614[_0x49c224(0x10d)](getStats,_0x343254);_0x401614[_0x49c224(0x14f)](_0x344728,0x0)&&(logger[_0x49c224(0x149)](_0x401614[_0x49c224(0x154)]),process[_0x49c224(0x1f4)]=Math[_0x49c224(0x155)](_0x344728,0xff));logger['debug'](_0x401614['beVcw']);const _0x56e0b7=''+_0x401614[_0x49c224(0x16d)](chalk[_0x49c224(0x160)](_0x401614[_0x49c224(0x174)]),_0xa015d8['length']),_0x435fbc=''+_0x401614[_0x49c224(0x1ab)](chalk[_0x49c224(0x160)](_0x401614[_0x49c224(0x1a9)]),_0x27410d),_0x209ce6=''+_0x401614['ZtaLB'](_0x401614['qwGPX'](_0x401614[_0x49c224(0x1ce)](chalk['bold'](_0x401614[_0x49c224(0x1a7)]),_0x401614[_0x49c224(0x144)](_0x344728,0x0)?chalk[_0x49c224(0x160)][_0x49c224(0x13c)](_0x344728+_0x49c224(0x1da))+',\x20':''),_0x401614[_0x49c224(0x145)](_0x10ddd9,0x0)?chalk['bold'][_0x49c224(0x1ea)](_0x10ddd9+_0x49c224(0x11b))+',\x20':''),_0x401614['sqSHf'](_0x5ca24d,0x0)?chalk[_0x49c224(0x160)]['green'](_0x5ca24d+_0x49c224(0x15f))+',\x20':'')+_0xd58cc2+'\x20total';console[_0x49c224(0x1fe)](_0x401614[_0x49c224(0x111)](_0x401614['Cnosk'](_0x401614[_0x49c224(0x1f0)](_0x401614[_0x49c224(0x1ad)](_0x401614[_0x49c224(0x111)](_0x401614[_0x49c224(0x204)],_0x56e0b7),'\x0a'),_0x435fbc),'\x0a'),_0x209ce6));if(_0x401614[_0x49c224(0x1ac)](_0xcb319c,_0x401614[_0x49c224(0x11c)])){const _0x2bc618={},_0x25f0c6={};_0x25f0c6[_0x49c224(0x203)]=_0x27410d,_0x25f0c6[_0x49c224(0x1f3)]=_0xa015d8,_0x25f0c6[_0x49c224(0x1c3)]=_0x344728,_0x25f0c6[_0x49c224(0x175)]=_0x5ca24d,_0x25f0c6[_0x49c224(0x1e7)]=_0x10ddd9,_0x2bc618[_0x49c224(0x1d7)]=_0x25f0c6,_0xa015d8[_0x49c224(0x1eb)](_0x3fdfa7=>{const _0x364f89=_0x49c224,_0x16888c={'dhkIg':function(_0x2d4125,_0x25103c){const _0x23d790=a28_0x2b67;return _0x401614[_0x23d790(0x1cd)](_0x2d4125,_0x25103c);},'lYYDL':_0x401614[_0x364f89(0x201)],'IVJkR':_0x401614[_0x364f89(0x133)],'VkmOV':function(_0x4b1f46,_0x11b736){const _0x49f899=_0x364f89;return _0x401614[_0x49f899(0x1e9)](_0x4b1f46,_0x11b736);},'rOuET':_0x401614[_0x364f89(0x161)],'rtFOJ':_0x401614['Fgzlj'],'ZoBBo':_0x401614[_0x364f89(0x1af)],'fCnKL':function(_0x4592ed,_0x462805){const _0x36625c=_0x364f89;return _0x401614[_0x36625c(0x19d)](_0x4592ed,_0x462805);}};_0x2bc618[_0x3fdfa7]={'pending':[],'failures':[],'passes':[],'tests':_0x343254[_0x3fdfa7][_0x401614[_0x364f89(0x147)]]['map'](clean)},_0x343254[_0x3fdfa7][_0x401614[_0x364f89(0x147)]]['forEach'](_0x5d4bf9=>{const _0x584712=_0x364f89;if(_0x16888c[_0x584712(0x153)](_0x5d4bf9['state'],_0x16888c[_0x584712(0x1fb)]))_0x2bc618[_0x3fdfa7][_0x16888c[_0x584712(0x19b)]][_0x584712(0x1d9)](_0x16888c['VkmOV'](clean,_0x5d4bf9));else _0x16888c['dhkIg'](_0x5d4bf9[_0x584712(0x1e8)],_0x16888c[_0x584712(0x12b)])?_0x2bc618[_0x3fdfa7][_0x16888c[_0x584712(0x14e)]][_0x584712(0x1d9)](_0x16888c[_0x584712(0x208)](clean,_0x5d4bf9)):_0x2bc618[_0x3fdfa7][_0x16888c[_0x584712(0x1ca)]][_0x584712(0x1d9)](_0x16888c[_0x584712(0x1b8)](clean,_0x5d4bf9));});});if(_0x46cf57[_0x49c224(0x197)])try{logger[_0x49c224(0x149)](_0x401614[_0x49c224(0x1ff)],_0x46cf57[_0x49c224(0x197)]),fs[_0x49c224(0x10c)](_0x46cf57[_0x49c224(0x197)],JSON[_0x49c224(0x1f9)](_0x2bc618,null,0x3));}catch(_0x399345){logger[_0x49c224(0x167)](_0x401614[_0x49c224(0x15c)],_0x46cf57[_0x49c224(0x197)]),logger['debug'](_0x399345);}else logger[_0x49c224(0x149)](_0x401614[_0x49c224(0x1a5)]),console['log'](JSON['stringify'](_0x2bc618,null,0x3));}else{if(_0x401614[_0x49c224(0x164)](_0xcb319c,_0x401614[_0x49c224(0x1b1)])){let _0xec4a7d;const _0x2a32bf=_0x401614['zkkZQ'];_0x46cf57&&(_0xec4a7d=_0x46cf57[_0x49c224(0x20a)]);_0xec4a7d=_0x401614[_0x49c224(0x1df)](_0xec4a7d,_0x2a32bf);let _0x44ed0d=0x0,_0x250454=0x0,_0x434609=0x0,_0x5b0780=0x0;_0xa015d8[_0x49c224(0x1eb)](_0x1c1ce=>{const _0x38180c=_0x49c224;_0x343254[_0x1c1ce][_0x401614[_0x38180c(0x147)]]['forEach'](_0x37097a=>{const _0x14e766=_0x38180c;if(_0x401614['nXWqk'](_0x37097a[_0x14e766(0x1e8)],_0x401614['UVMOl']))_0x44ed0d++;else _0x401614[_0x14e766(0x17c)](_0x37097a[_0x14e766(0x1e8)],_0x401614['dBVpu'])&&_0x250454++;_0x434609++,_0x5b0780+=_0x401614['EEPoD'](_0x37097a['duration'],0x1);});}),_0x401614[_0x49c224(0x1e9)](xunitWrite,_0x401614['liHjy'](tag,_0x401614[_0x49c224(0x17a)],{'name':_0xec4a7d,'tests':_0x434609,'failures':0x0,'errors':_0x250454,'skipped':_0x401614[_0x49c224(0x143)](_0x401614['AzDDQ'](_0x434609,_0x250454),_0x44ed0d),'timestamp':new Date()[_0x49c224(0x131)](),'time':_0x401614[_0x49c224(0x12d)](_0x5b0780,0x3e8)||0x0},![])),_0xa015d8[_0x49c224(0x1eb)](_0x32d751=>{const _0x5e7f9f=_0x49c224,_0x2877c3={'JLmBE':function(_0x49ac87,_0x53bd60,_0x32aca8){const _0x707b7c=a28_0x2b67;return _0x401614[_0x707b7c(0x1f7)](_0x49ac87,_0x53bd60,_0x32aca8);}};_0x343254[_0x32d751][_0x401614['KQkbl']][_0x5e7f9f(0x1eb)](_0x407d50=>{const _0x45a9fd=_0x5e7f9f;_0x2877c3[_0x45a9fd(0x178)](xunitTest,_0x407d50,_0x32d751);});}),_0x401614[_0x49c224(0x10d)](xunitWrite,_0x401614[_0x49c224(0x1c5)]);if(_0x46cf57[_0x49c224(0x197)])try{logger['debug'](_0x401614[_0x49c224(0x12e)],_0x46cf57[_0x49c224(0x197)]),fs[_0x49c224(0x10c)](_0x46cf57['output'],xunitContent);}catch(_0x43984c){logger[_0x49c224(0x167)](_0x401614[_0x49c224(0x16b)],_0x46cf57[_0x49c224(0x197)]),logger[_0x49c224(0x149)](_0x43984c);}else logger[_0x49c224(0x149)](_0x401614['trUhT']),console['log'](xunitContent);}else{if(_0x401614['zvlNg'](_0x344728,0x0))return;console[_0x49c224(0x1fe)](),logger[_0x49c224(0x149)](_0x401614[_0x49c224(0x1fc)]),console[_0x49c224(0x1fe)](chalk['bold'][_0x49c224(0x13e)](_0x401614[_0x49c224(0x189)])),_0xa015d8[_0x49c224(0x1eb)](_0x4fd07c=>{const _0x39bb9b=_0x49c224,_0x1cec5b=[];_0x343254[_0x4fd07c][_0x401614['KQkbl']][_0x39bb9b(0x1eb)](_0x44a019=>{const _0x32ccf3=_0x39bb9b;_0x401614['wMNdP'](_0x44a019[_0x32ccf3(0x1e8)],_0x401614[_0x32ccf3(0x161)])&&(_0x44a019[_0x32ccf3(0x199)]=()=>_0x44a019['titlePathV'],_0x1cec5b[_0x32ccf3(0x1d9)](_0x44a019));}),_0x401614[_0x39bb9b(0x14f)](_0x1cec5b[_0x39bb9b(0x1cc)],0x0)&&(Base[_0x39bb9b(0x159)](),Base[_0x39bb9b(0x159)](_0x401614[_0x39bb9b(0x1ef)](_0x4dbb1),chalk[_0x39bb9b(0x160)]['bgBlueBright'](_0x4fd07c)),Base['list'](_0x1cec5b));});}}}async function run(_0x3257f9,_0x245669){const _0x220798=a28_0x2addf4,_0x2dbac7={'icfcn':function(_0x468618,_0x1de5bc,_0x28f337,_0x432b34){return _0x468618(_0x1de5bc,_0x28f337,_0x432b34);},'ZHcoD':'reporter-option','ZRUXc':_0x220798(0x118),'txoxi':_0x220798(0x121),'wyctb':function(_0x5c5798,_0x54d2bd,_0x599906,_0x3e32dc){return _0x5c5798(_0x54d2bd,_0x599906,_0x3e32dc);},'QqrHZ':_0x220798(0x1db),'Gjukj':_0x220798(0x12c),'lToib':_0x220798(0x1c7),'cRkmb':function(_0x50e213,_0x257d27){return _0x50e213!=_0x257d27;},'VZlbu':_0x220798(0x119),'CvDBQ':'mjs','kOJtc':'test','VmXdE':_0x220798(0x1a0),'orEcD':function(_0x157389,_0x4fdc43){return _0x157389(_0x4fdc43);},'tBEMT':function(_0x4f4cd9,_0x49646d,_0x128c73){return _0x4f4cd9(_0x49646d,_0x128c73);},'hTmln':'files','eFiUD':_0x220798(0x1e3),'fTxhB':'Now,\x20showing\x20logs\x20from\x20mocha','UtkCk':function(_0x37a562,_0x48ad92){return _0x37a562*_0x48ad92;},'uipiS':function(_0x1d06db,_0x127d8e){return _0x1d06db(_0x127d8e);},'LcKPr':function(_0x3518c8,_0x5ed893){return _0x3518c8!==_0x5ed893;}};process[_0x220798(0x202)][_0x220798(0x158)](_0x2dbac7[_0x220798(0x1f6)])&&(process[_0x220798(0x198)]['BROWSERSTACK_TEST_OBSERVABILITY']=![]);process['argv'][_0x220798(0x158)](_0x2dbac7[_0x220798(0x15a)])&&(process[_0x220798(0x198)][_0x220798(0x117)]=![]);const _0x4b1b92=new BrowserStackSetup(_0x3257f9,_0x2dbac7[_0x220798(0x108)]);helper[_0x220798(0x14b)](_0x4b1b92[_0x220798(0x1c8)],_0x3257f9);helper[_0x220798(0x16c)]()?(await _0x4b1b92['initialize'](),await helper['handleApp'](_0x4b1b92['config'])):await _0x4b1b92['setupTCGAuth']();const _0x1b287c=[];let _0x1ecf31=[];if(!_0x4b1b92[_0x220798(0x1bd)])return;_0x2dbac7['cRkmb'](_0x4b1b92[_0x220798(0x1bd)][_0x220798(0x1b4)],null)&&(process[_0x220798(0x198)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x4b1b92[_0x220798(0x1bd)]['testObservability']);!helper['isUndefined'](_0x4b1b92['config'][_0x220798(0x1a8)])&&(process[_0x220798(0x198)][_0x220798(0x13b)]=_0x4b1b92[_0x220798(0x1bd)]['accessibility']);!helper['isUndefined'](_0x4b1b92[_0x220798(0x1bd)][_0x220798(0x17d)])&&(process[_0x220798(0x198)][_0x220798(0x137)]=JSON['stringify'](_0x4b1b92[_0x220798(0x1bd)][_0x220798(0x17d)]));const {extension:extension=['js',_0x2dbac7['VZlbu'],_0x2dbac7[_0x220798(0x17b)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x2dbac7[_0x220798(0x209)]]}=_0x3257f9,_0x9c3353={..._0x3257f9};_0x9c3353[_0x220798(0x1e0)]=null;const _0x2e3c96=_0x9c3353;let _0xf551ef;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x3c3f4f=process[_0x220798(0x198)][_0x220798(0x193)];!helper[_0x220798(0x114)](_0x4b1b92[_0x220798(0x12a)])&&_0x4b1b92['cliConfig'][_0x220798(0x1c1)](_0x2dbac7[_0x220798(0x129)])&&(_0x3c3f4f=_0x4b1b92[_0x220798(0x12a)][_0x220798(0x1d5)](_0x2dbac7['VmXdE'])),_0xf551ef=testOpsHelper[_0x220798(0x10e)](_0x3c3f4f);}if(helper[_0x220798(0x114)](_0xf551ef)){const _0x53fca6={};_0x53fca6[_0x220798(0x190)]=ignore,_0x53fca6[_0x220798(0x1d4)]=extension,_0x53fca6[_0x220798(0x1de)]=file,_0x53fca6[_0x220798(0x19f)]=recursive,_0x53fca6[_0x220798(0x206)]=sort,_0x53fca6[_0x220798(0x1c6)]=spec,_0xf551ef=_0x2dbac7[_0x220798(0x134)](collectFiles,_0x53fca6),_0x2dbac7[_0x220798(0x10f)](nestedKeyValue,_0xf551ef,[_0x2dbac7[_0x220798(0x186)]])&&(_0xf551ef=_0xf551ef['files']);}if(!helper[_0x220798(0x16c)]()){const _0x51126f=0x1,_0x46da17={..._0x2e3c96};_0x46da17[_0x220798(0x1c6)]=[..._0xf551ef],_0x1b287c[_0x220798(0x1d9)]({'mochaOpts':_0x46da17,'configuration':{'platform':os['platform']()}}),logger[_0x220798(0x1e4)](_0x2dbac7[_0x220798(0x11d)]),logger[_0x220798(0x1e4)](_0x2dbac7[_0x220798(0x1b2)]),_0x2dbac7[_0x220798(0x176)](parallelTestRun,_0x1b287c,_0x51126f,_0x4b1b92)['then'](_0x3b5f59=>{const _0x4e7526=_0x220798;PerformanceTester[_0x4e7526(0x1f5)](PerformanceEvents[_0x4e7526(0x151)]),_0x2dbac7[_0x4e7526(0x107)](printStats,_0x3b5f59,_0x3257f9['reporter'],_0x3257f9['reporterOptions']||_0x3257f9[_0x2dbac7['ZHcoD']]);})[_0x220798(0x184)](()=>{const _0x3a7e1e=_0x220798;PerformanceTester['start'](PerformanceEvents[_0x3a7e1e(0x151)]);try{const {browserstackFolderPath:_0x53159b,tcgConfigPath:_0x2ec224}=helper[_0x3a7e1e(0x18f)]();fs[_0x3a7e1e(0x16e)](_0x2ec224),fs[_0x3a7e1e(0x112)](_0x53159b);}catch(_0xc3cf7b){logger[_0x3a7e1e(0x149)](_0x2dbac7['ZRUXc'],_0xc3cf7b);}try{utilities[_0x3a7e1e(0x1d3)](_0x2dbac7[_0x3a7e1e(0x125)],{},_0x4b1b92['config'],_0x4b1b92[_0x3a7e1e(0x1c8)]);}catch(_0x3aaf39){logger[_0x3a7e1e(0x149)](_0x3a7e1e(0x132)+_0x3aaf39[_0x3a7e1e(0x1f1)]);}try{helper[_0x3a7e1e(0x191)]();}catch(_0xcd17c0){logger['debug'](_0x3a7e1e(0x1e2)+_0xcd17c0);}testOpsHelper[_0x3a7e1e(0x128)]();});}else{const _0x50efbe=helper[_0x220798(0x113)](_0x4b1b92[_0x220798(0x1bd)]);let _0x37cd59=helper[_0x220798(0x1b7)](_0x4b1b92[_0x220798(0x1bd)]);_0x1ecf31=helper['prepareCapabilities'](_0x4b1b92[_0x220798(0x1bd)],_0x50efbe,constants[_0x220798(0x1ec)]['MOCHA']);helper['getCentralUser']()['central_scanner']&&(_0x37cd59=centralScannerConstants[_0x220798(0x12f)]);let _0x217330;const _0x371061=_0x4b1b92[_0x220798(0x1bd)]['parallelsPerPlatform']||helper['getUserWorkerCount'](_0x3257f9,_0x245669,_0x4b1b92[_0x220798(0x1bd)],constants[_0x220798(0x1ec)]['MOCHA'])||0x1;helper[_0x220798(0x168)](_0x4b1b92[_0x220798(0x1bd)])?_0x217330=_0x2dbac7[_0x220798(0x1d8)](_0x4b1b92[_0x220798(0x1bd)][_0x220798(0x1f3)][_0x220798(0x1cc)],_0x371061):_0x217330=_0x371061;const _0x7a9a10=_0x2dbac7['uipiS'](getPercyOptions,_0x4b1b92[_0x220798(0x1bd)]);if(_0x2dbac7[_0x220798(0x1d2)](_0x4b1b92['config'][_0x220798(0x19e)],0x1))_0xf551ef[_0x220798(0x1eb)](_0x462b71=>{const _0x48c106=_0x220798,_0x26e9c1=[];_0x1ecf31['forEach']((_0xe5e2fa,_0x13613d)=>{const _0xce7831=a28_0x2b67,_0x2d7b58={};_0x2d7b58[_0xce7831(0x1c6)]=[_0x462b71],_0x26e9c1[_0xce7831(0x1d9)]({'mochaOpts':Object[_0xce7831(0x142)]({},_0x2e3c96,_0x2d7b58),'configuration':{'server':_0x37cd59,'capability':_0xe5e2fa,'proxySettings':_0x4b1b92[_0xce7831(0x1bd)][_0xce7831(0x1f8)],'platform':helper['getPlatformName'](_0xe5e2fa),'browserStackLogLevel':_0x4b1b92['config']['logLevel'],'platformIndex':_0x13613d,'browserStackPercyOptions':_0x7a9a10,'platformCaps':Object['assign']({'index':_0x13613d},_0x4b1b92[_0xce7831(0x1bd)][_0xce7831(0x1f3)][_0x13613d])}});}),_0x1b287c[_0x48c106(0x1d9)](..._0x26e9c1);});else{const _0x44abb6=[];_0x1ecf31[_0x220798(0x1eb)]((_0x3bb939,_0x2c4b96)=>{const _0x7a4b57=_0x220798;let _0x35565e=Object[_0x7a4b57(0x142)]({},_0x2e3c96);testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x7a4b57(0x124)]()&&(_0x35565e={..._0x35565e,'spec':[..._0xf551ef]}),_0x44abb6[_0x7a4b57(0x1d9)]({'mochaOpts':_0x35565e,'configuration':{'server':_0x37cd59,'capability':_0x3bb939,'proxySettings':_0x4b1b92[_0x7a4b57(0x1bd)][_0x7a4b57(0x1f8)],'platform':helper[_0x7a4b57(0x18b)](_0x3bb939),'browserStackLogLevel':_0x4b1b92[_0x7a4b57(0x1bd)][_0x7a4b57(0x156)],'platformIndex':_0x2c4b96,'browserStackPercyOptions':_0x7a9a10,'platformCaps':Object[_0x7a4b57(0x142)]({'index':_0x2c4b96},_0x4b1b92['config'][_0x7a4b57(0x1f3)][_0x2c4b96])}});}),_0x1b287c['push'](..._0x44abb6);}logger[_0x220798(0x1e4)](_0x220798(0x171)+_0x4b1b92[_0x220798(0x1bd)][_0x220798(0x1f3)][_0x220798(0x1cc)]+_0x220798(0x207)),logger['info'](_0x2dbac7[_0x220798(0x1b2)]);let _0x434bf3;_0x2dbac7[_0x220798(0x176)](parallelTestRun,_0x1b287c,_0x217330,_0x4b1b92)[_0x220798(0x192)](_0x4f1192=>{const _0x4d527c=_0x220798;PerformanceTester[_0x4d527c(0x1f5)](PerformanceEvents['SDK_CLEANUP']),_0x434bf3=_0x4f1192,_0x2dbac7['wyctb'](printStats,_0x4f1192,_0x3257f9[_0x4d527c(0x18e)],_0x3257f9[_0x4d527c(0x169)]||_0x3257f9[_0x2dbac7[_0x4d527c(0x17e)]]);})[_0x220798(0x184)](async()=>{const _0x5a9449=_0x220798;PerformanceTester[_0x5a9449(0x1f5)](PerformanceEvents[_0x5a9449(0x151)]),_0x4b1b92[_0x5a9449(0x162)]=helper[_0x5a9449(0x11a)](_0x434bf3,_0x2dbac7['QqrHZ']),await utilities[_0x5a9449(0x1b9)](_0x4b1b92),testOpsHelper[_0x5a9449(0x128)]();});}}module[a28_0x2addf4(0x170)]=run;
2
+ 'use strict';const a28_0x588a7c=a28_0x58d4;(function(_0x5697fb,_0x2d07a0){const _0x29aa24=a28_0x58d4,_0x438c2b=_0x5697fb();while(!![]){try{const _0x13c2c4=parseInt(_0x29aa24(0x22c))/0x1+-parseInt(_0x29aa24(0x1de))/0x2+-parseInt(_0x29aa24(0x24c))/0x3+parseInt(_0x29aa24(0x25f))/0x4*(-parseInt(_0x29aa24(0x25c))/0x5)+parseInt(_0x29aa24(0x23a))/0x6+-parseInt(_0x29aa24(0x25d))/0x7+parseInt(_0x29aa24(0x267))/0x8;if(_0x13c2c4===_0x2d07a0)break;else _0x438c2b['push'](_0x438c2b['shift']());}catch(_0x2917b2){_0x438c2b['push'](_0x438c2b['shift']());}}}(a28_0x2f42,0x21ad2));function a28_0x2f42(){const _0x125a5e=['testsPending','Setting\x20non\x20exit\x20code\x20for\x20failures','getPlatformName','BmVbd','platform','isUndefined','hasOwnProperty','errorMessage','hCoZw','okEwN','XcfMk','testcase','prototype','Writing\x20xunit\x20result\x20to\x20file','../../helpers/test-observability/utils','\x0a\x0a\x0a','failure','hideDiff','../../helpers/central-scanner/constants','../../helpers/performance/constants','JKrYg','red','MOCHA','actual','Running\x20your\x20mocha\x20tests','TfOlH','map','vgHAv','reporter-option','YDfEF','Listing\x20all\x20the\x20failures','has','LmxSa','err','\x20skipped','list','RMuKL','validPlatformsPresent','CqOtV','UMKLr','getOwnPropertyNames','DNDzx','duration','config','unlinkSync','GrrNH','nOrpc','187524EROrrE','OfElb','skipped','BROWSERSTACK_TEST_ACCESSIBILITY_YML','mocha/lib/cli/collect-files.js','MtSfj','isTestObservabilitySession','ulmBm','getCentralUser','min','iibsV','finalExecution','OCAYP','cspFy','framework','info','fireFunnelTestEvent','wsWTh','push','OoNYQ','\x20passed','../../helpers/BrowserStackSetup','UmWki','jxVWM','generateDiff','hNRsr','rootHooks','OsWNa','kcuHu','testSuites','setupTCGAuth','getErrorMessageFromResults','printBuildLink','SmLco','Writing\x20json\x20result\x20to\x20file','bgRedBright','testObservability','reporterOptions','stats','KYDsd','platforms','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','debug','passed','rmdirSync','TZULA','Total\x20Suites:\x20','TQBwo','Running\x20your\x20mocha\x20tests\x20across\x20','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','object','reporter','voaCX','Printing\x20stats\x20of\x20tests','files','xELtT','pending','accessibility','prepareCapabilities','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','gKdkb','argv','BROWSERSTACK_TEST_OBSERVABILITY','testsFailed','parseFileNames','FRAMEWORKS','BxZRa','assign','kDWKa','bgBlueBright','setUserConfigPath','passes','--disable-browserstack-automation','failures','JJTwL','results','wIdfq','spec','36339FfQEUP','SDK_CLEANUP','indexOf','SFlaB','XKyEa','</testsuite>','title','HfQxz','wiDsJ','vvbXB','TmfKU','getHubUrl','parallelsPerPlatform','isBrowserstackInfra','547632JNnmud','stack','BROWSERSTACK_RERUN_TESTS','../../helpers/logger','xKKal','consoleLog','ryFYM','EVENTS','start','currentRetry','BROWSERSTACK_AUTOMATION','MFiPc','HQyLR','rerunTests','winstonLogger','sXLay','--disable-test-observability','useW3C','185496BbbtDQ','crtAy','log','file','GVged','UJcwZ','AqChj','QAGzE','Couldn\x27t\x20write\x20json\x20result\x20to','titlePath','handleApp','mocha','state','kPhkH','LxiYO','****\x20FAILURES\x20****','5keAhGL','1583736FdaqEl','jEloC','984388Rinpdw','qGQFu','failed','SxIOV','dqiwa','tmIKK','forEach','EAZZa','5106128EEaaia','GnBcw','yQZWC','then','speed','exitCode','length','kjSKl','yellow','showDiff','pcXkU','Now,\x20showing\x20logs\x20from\x20mocha','bold','faMDU','../test-runner','Couldn\x27t\x20write\x20xunit\x20result\x20to','join','BROWSERSTACK_GRR_US_HUB_URL','message','add','getUserWorkerCount','KFjuK','getTCGConfigFilePaths','test','SSvhl','env','LIWgQ','oshVO','../../helpers/utilities','BRUCY','../../helpers/helper','zcRJy','recursive','includes','doc','eobjN','ppsvy','MrGDN','jkUCi','stringify','../../helpers/percy/utils','oNnTM','qabHL','Mocha\x20Tests','output','call','xunit','writeFileSync','initialize','RmzpD','EmhkC','sort','finally','accessibilityOptions','parse','cliConfig','BQZgb','sTQYz'];a28_0x2f42=function(){return _0x125a5e;};return a28_0x2f42();}const chalk=require('chalk'),logger=require(a28_0x588a7c(0x23d))[a28_0x588a7c(0x248)],{default:BrowserStackSetup}=require(a28_0x588a7c(0x1f3)),helper=require(a28_0x588a7c(0x285)),utilities=require(a28_0x588a7c(0x283)),testOpsHelper=require(a28_0x588a7c(0x1bd)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x588a7c(0x275)),{requireModule,nestedKeyValue}=require(a28_0x588a7c(0x285)),{getPercyOptions}=require(a28_0x588a7c(0x28f)),Base=requireModule('mocha/lib/reporters/base.js',a28_0x588a7c(0x257)),collectFiles=requireModule(a28_0x588a7c(0x1e2),a28_0x588a7c(0x257)),constants=require('../utils/constants'),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a28_0x588a7c(0x1c2))[a28_0x588a7c(0x241)],centralScannerConstants=require(a28_0x588a7c(0x1c1));function tag(_0x1fc9f7,_0x5ea508,_0x88900,_0x498164){const _0x420f0d=a28_0x588a7c,_0x5a2271={'XcfMk':function(_0x59ccd1,_0x553692){return _0x59ccd1+_0x553692;},'gKdkb':function(_0x324fd7,_0x564cf0){return _0x324fd7+_0x564cf0;},'KFjuK':function(_0xb8d54e,_0xd06446){return _0xb8d54e(_0xd06446);},'GnBcw':function(_0x1a0aea,_0x4f682b){return _0x1a0aea+_0x4f682b;},'UJcwZ':function(_0x22f1f5,_0x24c46c){return _0x22f1f5+_0x24c46c;},'vvbXB':function(_0x31c588,_0x5c3721){return _0x31c588+_0x5c3721;},'QKbnG':function(_0x160864,_0xcf6311){return _0x160864+_0xcf6311;},'OsWNa':function(_0x3e04d6,_0x4f470d){return _0x3e04d6+_0x4f470d;},'hCoZw':function(_0x3cfabe,_0x5f9b70){return _0x3cfabe+_0x5f9b70;}},_0x15af94=_0x88900?'/>':'>',_0x19df83=[];let _0x5ca4a0;for(const _0x4f2363 in _0x5ea508){Object[_0x420f0d(0x1bb)][_0x420f0d(0x2a7)][_0x420f0d(0x294)](_0x5ea508,_0x4f2363)&&_0x19df83[_0x420f0d(0x1f0)](_0x5a2271[_0x420f0d(0x1b9)](_0x5a2271[_0x420f0d(0x1b9)](_0x5a2271[_0x420f0d(0x21a)](_0x4f2363,'=\x22'),_0x5a2271[_0x420f0d(0x27c)](escape,_0x5ea508[_0x4f2363])),'\x22'));}return _0x5ca4a0=_0x5a2271[_0x420f0d(0x268)](_0x5a2271[_0x420f0d(0x251)](_0x5a2271[_0x420f0d(0x235)]('<',_0x1fc9f7),_0x19df83[_0x420f0d(0x26d)]?_0x5a2271['QKbnG']('\x20',_0x19df83[_0x420f0d(0x277)]('\x20')):''),_0x15af94),_0x498164&&(_0x5ca4a0+=_0x5a2271[_0x420f0d(0x1f9)](_0x5a2271[_0x420f0d(0x2a9)](_0x5a2271[_0x420f0d(0x1f9)](_0x498164,'</'),_0x1fc9f7),_0x15af94)),_0x5ca4a0;}function a28_0x58d4(_0x2699fa,_0x304c02){const _0x2f4231=a28_0x2f42();return a28_0x58d4=function(_0x58d4fe,_0x3cdc07){_0x58d4fe=_0x58d4fe-0x1b8;let _0x812ad0=_0x2f4231[_0x58d4fe];return _0x812ad0;},a28_0x58d4(_0x2699fa,_0x304c02);}let xunitContent='';function xunitWrite(_0x568cf0){xunitContent+=_0x568cf0;}function xunitTest(_0x319079,_0x569349){const _0x32accf=a28_0x588a7c,_0xcf9f27={'SmLco':function(_0x8e7009,_0x378f0d){return _0x8e7009/_0x378f0d;},'kjSKl':function(_0x5cec59,_0x52153e){return _0x5cec59===_0x52153e;},'jxVWM':_0x32accf(0x261),'xELtT':function(_0x493b1b,_0x2765a0){return _0x493b1b+_0x2765a0;},'GrrNH':function(_0x86278f,_0xda9253){return _0x86278f(_0xda9253);},'eobjN':function(_0x507773,_0x1b1c6e,_0x2ca991,_0x281cfb,_0xe9327c){return _0x507773(_0x1b1c6e,_0x2ca991,_0x281cfb,_0xe9327c);},'KYDsd':_0x32accf(0x1ba),'sTQYz':function(_0x2ba2e6,_0x584975,_0x25682b,_0x59efdb,_0x5b6dbd){return _0x2ba2e6(_0x584975,_0x25682b,_0x59efdb,_0x5b6dbd);},'QyxWl':_0x32accf(0x1bf),'faMDU':function(_0xc4c905,_0x2bd253){return _0xc4c905+_0x2bd253;},'UmWki':function(_0x322a6d,_0x1a173a){return _0x322a6d(_0x1a173a);},'AqChj':function(_0x12d48e,_0x31820a,_0x2fac95,_0x1bae7c){return _0x12d48e(_0x31820a,_0x2fac95,_0x1bae7c);},'ryFYM':_0x32accf(0x1e0)};Base['useColors']=![];var _0x150f8d={'classname':_0x319079['fullTitle'],'name':_0x319079[_0x32accf(0x232)],'time':_0xcf9f27[_0x32accf(0x1ff)](_0x319079[_0x32accf(0x1d9)],0x3e8)||0x0,'platform':_0x569349};if(_0xcf9f27[_0x32accf(0x26e)](_0x319079[_0x32accf(0x258)],_0xcf9f27[_0x32accf(0x1f5)])){var _0x52143e=_0x319079[_0x32accf(0x1d0)],_0x2b7401=!Base[_0x32accf(0x1c0)]&&Base[_0x32accf(0x270)](_0x52143e)?_0xcf9f27[_0x32accf(0x215)]('\x0a',Base[_0x32accf(0x1f6)](_0x52143e[_0x32accf(0x1c6)],_0x52143e['expected'])):'';_0xcf9f27[_0x32accf(0x1dc)](xunitWrite,_0xcf9f27[_0x32accf(0x28a)](tag,_0xcf9f27[_0x32accf(0x205)],_0x150f8d,![],_0xcf9f27[_0x32accf(0x2a0)](tag,_0xcf9f27['QyxWl'],{},![],_0xcf9f27['xELtT'](_0xcf9f27[_0x32accf(0x215)](_0xcf9f27[_0x32accf(0x274)](_0xcf9f27[_0x32accf(0x1f4)](escape,_0x52143e[_0x32accf(0x279)]),_0xcf9f27[_0x32accf(0x1dc)](escape,_0x2b7401)),'\x0a'),_0xcf9f27['UmWki'](escape,_0x52143e[_0x32accf(0x23b)])))));}else _0x319079['isPending']?_0xcf9f27['GrrNH'](xunitWrite,_0xcf9f27['sTQYz'](tag,_0xcf9f27[_0x32accf(0x205)],_0x150f8d,![],_0xcf9f27[_0x32accf(0x252)](tag,_0xcf9f27[_0x32accf(0x240)],{},!![]))):_0xcf9f27[_0x32accf(0x1f4)](xunitWrite,_0xcf9f27[_0x32accf(0x252)](tag,_0xcf9f27[_0x32accf(0x205)],_0x150f8d,!![]));};function getStats(_0x504910){const _0x4175af=a28_0x588a7c,_0x2a8558={};_0x2a8558[_0x4175af(0x2a4)]='suite',_0x2a8558['fFgxl']=_0x4175af(0x209),_0x2a8558[_0x4175af(0x28d)]=_0x4175af(0x261),_0x2a8558[_0x4175af(0x23e)]='results';const _0x50ef8e=_0x2a8558,_0x4d2c38=Object['keys'](_0x504910);let _0x599b5f=0x0,_0x5888c2=0x0,_0x1c2c03=0x0,_0x14e125=0x0;const _0x93a3c5=new Set();_0x4d2c38[_0x4175af(0x265)](_0x99ad45=>{const _0x112c63=_0x4175af;_0x504910[_0x99ad45][_0x50ef8e[_0x112c63(0x23e)]]['forEach'](_0x444a80=>{const _0x37223e=_0x112c63;_0x93a3c5[_0x37223e(0x27a)](_0x444a80[_0x50ef8e[_0x37223e(0x2a4)]]),_0x599b5f++;switch(_0x444a80[_0x37223e(0x258)]){case _0x50ef8e['fFgxl']:_0x1c2c03++;break;case _0x50ef8e[_0x37223e(0x28d)]:_0x5888c2++;break;default:_0x14e125++;}});});const _0x56b752={};return _0x56b752[_0x4175af(0x1fb)]=_0x93a3c5['size'],_0x56b752[_0x4175af(0x206)]=_0x4d2c38,_0x56b752['totalTests']=_0x599b5f,_0x56b752['testsFailed']=_0x5888c2,_0x56b752['testsPassed']=_0x1c2c03,_0x56b752[_0x4175af(0x2a1)]=_0x14e125,_0x56b752;}function errorJSON(_0x20b56d){const _0x3bf8fe=a28_0x588a7c;var _0xbb6d4={};return Object[_0x3bf8fe(0x1d7)](_0x20b56d)['forEach'](function(_0x56e0e8){_0xbb6d4[_0x56e0e8]=_0x20b56d[_0x56e0e8];},_0x20b56d),_0xbb6d4;}function cleanCycles(_0x3705af){const _0x329354=a28_0x588a7c,_0x503dee={};_0x503dee[_0x329354(0x1c3)]=function(_0x397d84,_0x51dfc6){return _0x397d84===_0x51dfc6;},_0x503dee[_0x329354(0x1eb)]=_0x329354(0x210),_0x503dee['GVged']=function(_0x564230,_0x4a58ed){return _0x564230!==_0x4a58ed;},_0x503dee[_0x329354(0x1ea)]=function(_0x12ee2b,_0x53663f){return _0x12ee2b!==_0x53663f;},_0x503dee[_0x329354(0x222)]=function(_0x17c9d3,_0x15d871){return _0x17c9d3+_0x15d871;};const _0xaa8331=_0x503dee;var _0x341598=[];return JSON[_0x329354(0x29d)](JSON[_0x329354(0x28e)](_0x3705af,function(_0x1072fa,_0x1383a1){const _0x4479b0=_0x329354;if(_0xaa8331[_0x4479b0(0x1c3)](typeof _0x1383a1,_0xaa8331[_0x4479b0(0x1eb)])&&_0xaa8331[_0x4479b0(0x250)](_0x1383a1,null)){if(_0xaa8331[_0x4479b0(0x1ea)](_0x341598[_0x4479b0(0x22e)](_0x1383a1),-0x1))return _0xaa8331[_0x4479b0(0x222)]('',_0x1383a1);_0x341598[_0x4479b0(0x1f0)](_0x1383a1);}return _0x1383a1;}));}function clean(_0x439af7){const _0x2e052b=a28_0x588a7c,_0x5175cd={'EpxaT':function(_0xce4bd2,_0x1991a4){return _0xce4bd2 instanceof _0x1991a4;},'sZEhf':function(_0x4eb426,_0x54b16f){return _0x4eb426(_0x54b16f);},'MrGDN':function(_0x30198c,_0x22e006){return _0x30198c(_0x22e006);}};var _0x6c6e9f=_0x439af7[_0x2e052b(0x1d0)]||{};return _0x5175cd['EpxaT'](_0x6c6e9f,Error)&&(_0x6c6e9f=_0x5175cd['sZEhf'](errorJSON,_0x6c6e9f)),{'title':_0x439af7[_0x2e052b(0x232)],'fullTitle':_0x439af7['fullTitle'],'file':_0x439af7['file'],'duration':_0x439af7[_0x2e052b(0x1d9)],'currentRetry':_0x439af7[_0x2e052b(0x243)],'speed':_0x439af7[_0x2e052b(0x26b)],'err':_0x5175cd[_0x2e052b(0x28c)](cleanCycles,_0x6c6e9f)};}function printStats(_0x552274,_0x373a37=a28_0x588a7c(0x22b),_0x45de72={}){const _0x3337fd=a28_0x588a7c,_0x1e5f4f={'oshVO':function(_0x824b6f,_0x10b252){return _0x824b6f(_0x10b252);},'qabHL':function(_0x4e633b,_0xda1b67){return _0x4e633b===_0xda1b67;},'LmxSa':_0x3337fd(0x209),'dqiwa':_0x3337fd(0x225),'sXLay':function(_0x45c91a,_0xea1f70){return _0x45c91a(_0xea1f70);},'YDfEF':_0x3337fd(0x261),'oNnTM':_0x3337fd(0x227),'wiDsJ':_0x3337fd(0x216),'ulmBm':_0x3337fd(0x229),'EmhkC':function(_0x1b835b,_0x5e2a3d){return _0x1b835b===_0x5e2a3d;},'TZULA':function(_0x2f5df7,_0x348fdb){return _0x2f5df7===_0x348fdb;},'QAGzE':function(_0x299233,_0x2469d8){return _0x299233*_0x2469d8;},'HfQxz':function(_0x42cb5b,_0x2e1038,_0x31a538){return _0x42cb5b(_0x2e1038,_0x31a538);},'OoNYQ':function(_0x1e0cb8,_0x3e1ff0){return _0x1e0cb8===_0x3e1ff0;},'EAZZa':function(_0x461b9b,_0x12667e){return _0x461b9b>_0x12667e;},'kcuHu':function(_0x3680ba){return _0x3680ba();},'RMuKL':function(_0xc00e56,_0x1c21ab){return _0xc00e56===_0x1c21ab;},'rGepM':_0x3337fd(0x289),'iibsV':function(_0x3150ac,_0x35c3be){return _0x3150ac(_0x35c3be);},'BRUCY':function(_0x8831d1,_0x20cb50){return _0x8831d1>_0x20cb50;},'DNDzx':_0x3337fd(0x2a2),'UMKLr':_0x3337fd(0x213),'XKyEa':function(_0xdf0ba0,_0x3366b9){return _0xdf0ba0+_0x3366b9;},'sANGA':'Total\x20Platforms:\x20','okEwN':function(_0x3f7397,_0x49f2c1){return _0x3f7397+_0x49f2c1;},'BxZRa':_0x3337fd(0x20c),'PrvLW':function(_0x4c65bd,_0x35e134){return _0x4c65bd+_0x35e134;},'xvsPK':'Tests:\x20\x20\x20\x20\x20\x20\x20','JJTwL':function(_0x5d1e31,_0x24cd4a){return _0x5d1e31>_0x24cd4a;},'pruFS':function(_0x5ee81d,_0x29fb47){return _0x5ee81d>_0x29fb47;},'yQZWC':_0x3337fd(0x1be),'aRNej':function(_0x1015e2,_0x2c2c20){return _0x1015e2===_0x2c2c20;},'SFlaB':'json','LIWgQ':_0x3337fd(0x200),'TmfKU':_0x3337fd(0x254),'vgHAv':'No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','wIdfq':_0x3337fd(0x295),'ZxyiN':_0x3337fd(0x292),'hNRsr':function(_0x30cdec,_0x1c3916){return _0x30cdec||_0x1c3916;},'TfOlH':function(_0x26eae5,_0x80281,_0x443bec,_0x56f7f3){return _0x26eae5(_0x80281,_0x443bec,_0x56f7f3);},'TQBwo':'testsuite','qGQFu':function(_0x274282,_0x5ced4b){return _0x274282-_0x5ced4b;},'RmzpD':function(_0x6a1cc4,_0x1ce081){return _0x6a1cc4-_0x1ce081;},'SSvhl':function(_0xb5ceaa,_0x152da2){return _0xb5ceaa/_0x152da2;},'HQyLR':function(_0x5898f7,_0x3b0265){return _0x5898f7(_0x3b0265);},'ZnWVd':_0x3337fd(0x231),'tmIKK':_0x3337fd(0x1bc),'kPhkH':_0x3337fd(0x276),'SoNrd':'No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','CqOtV':function(_0x193af1,_0x11bcae){return _0x193af1===_0x11bcae;},'yllVq':_0x3337fd(0x1cd),'BQZgb':_0x3337fd(0x25b)};if(_0x1e5f4f[_0x3337fd(0x1d3)](_0x373a37,_0x1e5f4f['rGepM']))return;const _0x1e8225=0x0,_0x14147e=()=>{const _0x5a2259=_0x3337fd;return _0x1e5f4f[_0x5a2259(0x282)](Array,_0x1e8225)[_0x5a2259(0x277)]('\x20\x20');},{testSuites:_0x2b9257,platforms:_0x5615b3,totalTests:_0xa37ed9,testsFailed:_0x31535a,testsPassed:_0x5ba146,testsPending:_0x16a177}=_0x1e5f4f[_0x3337fd(0x1e8)](getStats,_0x552274);_0x1e5f4f[_0x3337fd(0x284)](_0x31535a,0x0)&&(logger['debug'](_0x1e5f4f[_0x3337fd(0x1d8)]),process[_0x3337fd(0x26c)]=Math[_0x3337fd(0x1e7)](_0x31535a,0xff));logger[_0x3337fd(0x208)](_0x1e5f4f[_0x3337fd(0x1d6)]);const _0x3b3aca=''+_0x1e5f4f[_0x3337fd(0x230)](chalk['bold'](_0x1e5f4f['sANGA']),_0x5615b3[_0x3337fd(0x26d)]),_0x3176b0=''+_0x1e5f4f[_0x3337fd(0x1b8)](chalk[_0x3337fd(0x273)](_0x1e5f4f[_0x3337fd(0x220)]),_0x2b9257),_0x1cd443=''+_0x1e5f4f['PrvLW'](_0x1e5f4f[_0x3337fd(0x230)](_0x1e5f4f[_0x3337fd(0x1b8)](chalk['bold'](_0x1e5f4f['xvsPK']),_0x1e5f4f['JJTwL'](_0x31535a,0x0)?chalk[_0x3337fd(0x273)][_0x3337fd(0x1c4)](_0x31535a+'\x20failed')+',\x20':''),_0x1e5f4f[_0x3337fd(0x228)](_0x16a177,0x0)?chalk[_0x3337fd(0x273)][_0x3337fd(0x26f)](_0x16a177+_0x3337fd(0x1d1))+',\x20':''),_0x1e5f4f['pruFS'](_0x5ba146,0x0)?chalk[_0x3337fd(0x273)]['green'](_0x5ba146+_0x3337fd(0x1f2))+',\x20':'')+_0xa37ed9+'\x20total';console[_0x3337fd(0x24e)](_0x1e5f4f[_0x3337fd(0x230)](_0x1e5f4f[_0x3337fd(0x230)](_0x1e5f4f[_0x3337fd(0x1b8)](_0x1e5f4f[_0x3337fd(0x230)](_0x1e5f4f['okEwN'](_0x1e5f4f[_0x3337fd(0x269)],_0x3b3aca),'\x0a'),_0x3176b0),'\x0a'),_0x1cd443));if(_0x1e5f4f['aRNej'](_0x373a37,_0x1e5f4f[_0x3337fd(0x22f)])){const _0x3fb2ae={},_0x46d432={};_0x46d432[_0x3337fd(0x1fb)]=_0x2b9257,_0x46d432[_0x3337fd(0x206)]=_0x5615b3,_0x46d432[_0x3337fd(0x21d)]=_0x31535a,_0x46d432['testsPassed']=_0x5ba146,_0x46d432['testsPending']=_0x16a177,_0x3fb2ae[_0x3337fd(0x204)]=_0x46d432,_0x5615b3['forEach'](_0x4c6b36=>{const _0xff44af=_0x3337fd;_0x3fb2ae[_0x4c6b36]={'pending':[],'failures':[],'passes':[],'tests':_0x552274[_0x4c6b36][_0x1e5f4f[_0xff44af(0x1e5)]][_0xff44af(0x1c9)](clean)},_0x552274[_0x4c6b36][_0x1e5f4f[_0xff44af(0x1e5)]][_0xff44af(0x265)](_0x2de220=>{const _0xd14a6d=_0xff44af;if(_0x1e5f4f[_0xd14a6d(0x291)](_0x2de220[_0xd14a6d(0x258)],_0x1e5f4f[_0xd14a6d(0x1cf)]))_0x3fb2ae[_0x4c6b36][_0x1e5f4f[_0xd14a6d(0x263)]]['push'](_0x1e5f4f[_0xd14a6d(0x249)](clean,_0x2de220));else _0x1e5f4f[_0xd14a6d(0x291)](_0x2de220[_0xd14a6d(0x258)],_0x1e5f4f['YDfEF'])?_0x3fb2ae[_0x4c6b36][_0x1e5f4f[_0xd14a6d(0x290)]][_0xd14a6d(0x1f0)](_0x1e5f4f[_0xd14a6d(0x249)](clean,_0x2de220)):_0x3fb2ae[_0x4c6b36][_0x1e5f4f[_0xd14a6d(0x234)]][_0xd14a6d(0x1f0)](_0x1e5f4f[_0xd14a6d(0x282)](clean,_0x2de220));});});if(_0x45de72['output'])try{logger[_0x3337fd(0x208)](_0x1e5f4f[_0x3337fd(0x281)],_0x45de72[_0x3337fd(0x293)]),fs['writeFileSync'](_0x45de72['output'],JSON[_0x3337fd(0x28e)](_0x3fb2ae,null,0x3));}catch(_0x58731e){logger['error'](_0x1e5f4f[_0x3337fd(0x236)],_0x45de72[_0x3337fd(0x293)]),logger[_0x3337fd(0x208)](_0x58731e);}else logger[_0x3337fd(0x208)](_0x1e5f4f[_0x3337fd(0x1ca)]),console[_0x3337fd(0x24e)](JSON[_0x3337fd(0x28e)](_0x3fb2ae,null,0x3));}else{if(_0x1e5f4f[_0x3337fd(0x299)](_0x373a37,_0x1e5f4f[_0x3337fd(0x22a)])){let _0xf3beec;const _0x51a264=_0x1e5f4f['ZxyiN'];_0x45de72&&(_0xf3beec=_0x45de72['suiteName']);_0xf3beec=_0x1e5f4f[_0x3337fd(0x1f7)](_0xf3beec,_0x51a264);let _0x3c26f5=0x0,_0x193c21=0x0,_0x5b2944=0x0,_0x345fcb=0x0;_0x5615b3[_0x3337fd(0x265)](_0x2b4369=>{const _0x9bac14=_0x3337fd;_0x552274[_0x2b4369][_0x1e5f4f[_0x9bac14(0x1e5)]]['forEach'](_0x47ef96=>{const _0x38d44a=_0x9bac14;if(_0x1e5f4f[_0x38d44a(0x299)](_0x47ef96[_0x38d44a(0x258)],_0x1e5f4f[_0x38d44a(0x1cf)]))_0x3c26f5++;else _0x1e5f4f[_0x38d44a(0x20b)](_0x47ef96[_0x38d44a(0x258)],_0x1e5f4f[_0x38d44a(0x1cc)])&&_0x193c21++;_0x5b2944++,_0x345fcb+=_0x1e5f4f[_0x38d44a(0x253)](_0x47ef96['duration'],0x1);});}),_0x1e5f4f[_0x3337fd(0x282)](xunitWrite,_0x1e5f4f[_0x3337fd(0x1c8)](tag,_0x1e5f4f[_0x3337fd(0x20d)],{'name':_0xf3beec,'tests':_0x5b2944,'failures':0x0,'errors':_0x193c21,'skipped':_0x1e5f4f[_0x3337fd(0x260)](_0x1e5f4f[_0x3337fd(0x298)](_0x5b2944,_0x193c21),_0x3c26f5),'timestamp':new Date()['toUTCString'](),'time':_0x1e5f4f[_0x3337fd(0x27f)](_0x345fcb,0x3e8)||0x0},![])),_0x5615b3[_0x3337fd(0x265)](_0x4ecf61=>{const _0x4453c7=_0x3337fd,_0x332cef={'zcRJy':function(_0x398438,_0x377040,_0x2e890d){const _0x1e3664=a28_0x58d4;return _0x1e5f4f[_0x1e3664(0x233)](_0x398438,_0x377040,_0x2e890d);}};_0x552274[_0x4ecf61][_0x1e5f4f[_0x4453c7(0x1e5)]][_0x4453c7(0x265)](_0x3b933a=>{const _0x6cb692=_0x4453c7;_0x332cef[_0x6cb692(0x286)](xunitTest,_0x3b933a,_0x4ecf61);});}),_0x1e5f4f[_0x3337fd(0x246)](xunitWrite,_0x1e5f4f['ZnWVd']);if(_0x45de72[_0x3337fd(0x293)])try{logger['debug'](_0x1e5f4f[_0x3337fd(0x264)],_0x45de72[_0x3337fd(0x293)]),fs[_0x3337fd(0x296)](_0x45de72[_0x3337fd(0x293)],xunitContent);}catch(_0x3744c7){logger['error'](_0x1e5f4f[_0x3337fd(0x259)],_0x45de72[_0x3337fd(0x293)]),logger[_0x3337fd(0x208)](_0x3744c7);}else logger[_0x3337fd(0x208)](_0x1e5f4f['SoNrd']),console[_0x3337fd(0x24e)](xunitContent);}else{if(_0x1e5f4f[_0x3337fd(0x1d5)](_0x31535a,0x0))return;console[_0x3337fd(0x24e)](),logger[_0x3337fd(0x208)](_0x1e5f4f['yllVq']),console['log'](chalk['bold'][_0x3337fd(0x201)](_0x1e5f4f[_0x3337fd(0x29f)])),_0x5615b3['forEach'](_0x4de7d9=>{const _0x429d59=_0x3337fd,_0x27355a=[];_0x552274[_0x4de7d9][_0x1e5f4f['ulmBm']][_0x429d59(0x265)](_0x300380=>{const _0x392e01=_0x429d59;_0x1e5f4f[_0x392e01(0x1f1)](_0x300380[_0x392e01(0x258)],_0x1e5f4f[_0x392e01(0x1cc)])&&(_0x300380[_0x392e01(0x255)]=()=>_0x300380['titlePathV'],_0x27355a['push'](_0x300380));}),_0x1e5f4f[_0x429d59(0x266)](_0x27355a[_0x429d59(0x26d)],0x0)&&(Base['consoleLog'](),Base[_0x429d59(0x23f)](_0x1e5f4f[_0x429d59(0x1fa)](_0x14147e),chalk[_0x429d59(0x273)][_0x429d59(0x223)](_0x4de7d9)),Base[_0x429d59(0x1d2)](_0x27355a));});}}}async function run(_0x2e4081,_0x1ce64b){const _0x5034e2=a28_0x588a7c,_0x58e29b={'MFiPc':function(_0x254602,_0x182830,_0x211e3b,_0x3bf346){return _0x254602(_0x182830,_0x211e3b,_0x3bf346);},'wsWTh':_0x5034e2(0x1cb),'nOrpc':'error\x20removing\x20tcg\x20config\x20file','pcXkU':'SDKTestSuccessful','SxIOV':_0x5034e2(0x257),'YbABd':_0x5034e2(0x24a),'jEloC':_0x5034e2(0x226),'KjotY':function(_0x53bee7,_0x30e646){return _0x53bee7!=_0x30e646;},'oFPKm':'cjs','CwZpj':'mjs','XqNEw':_0x5034e2(0x27e),'ppsvy':_0x5034e2(0x247),'jQtuv':function(_0x4dc7ae,_0x5e0443){return _0x4dc7ae(_0x5e0443);},'NERwD':function(_0x466894,_0x29e861,_0x5c8447){return _0x466894(_0x29e861,_0x5c8447);},'crtAy':_0x5034e2(0x214),'LxiYO':_0x5034e2(0x1c7),'OfElb':_0x5034e2(0x272),'voaCX':function(_0x36d0f6,_0x1ec1ac){return _0x36d0f6*_0x1ec1ac;},'DvIZJ':function(_0x16bc0e,_0x2fd766){return _0x16bc0e(_0x2fd766);},'MtSfj':function(_0xc4cf72,_0xe83e29){return _0xc4cf72!==_0xe83e29;}};process[_0x5034e2(0x21b)][_0x5034e2(0x288)](_0x58e29b['YbABd'])&&(process[_0x5034e2(0x280)][_0x5034e2(0x21c)]=![]);process[_0x5034e2(0x21b)][_0x5034e2(0x288)](_0x58e29b[_0x5034e2(0x25e)])&&(process[_0x5034e2(0x280)][_0x5034e2(0x244)]=![]);const _0xe4caa1=new BrowserStackSetup(_0x2e4081,_0x58e29b[_0x5034e2(0x262)]);helper[_0x5034e2(0x224)](_0xe4caa1[_0x5034e2(0x1ec)],_0x2e4081);helper[_0x5034e2(0x239)]()?(await _0xe4caa1[_0x5034e2(0x297)](),await helper[_0x5034e2(0x256)](_0xe4caa1[_0x5034e2(0x1da)])):await _0xe4caa1[_0x5034e2(0x1fc)]();const _0x5d3a3=[];let _0x531b8d=[];if(!_0xe4caa1[_0x5034e2(0x1da)])return;_0x58e29b['KjotY'](_0xe4caa1[_0x5034e2(0x1da)][_0x5034e2(0x202)],null)&&(process[_0x5034e2(0x280)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0xe4caa1[_0x5034e2(0x1da)]['testObservability']);!helper[_0x5034e2(0x2a6)](_0xe4caa1[_0x5034e2(0x1da)][_0x5034e2(0x217)])&&(process[_0x5034e2(0x280)][_0x5034e2(0x1e1)]=_0xe4caa1[_0x5034e2(0x1da)][_0x5034e2(0x217)]);!helper['isUndefined'](_0xe4caa1['config'][_0x5034e2(0x29c)])&&(process[_0x5034e2(0x280)][_0x5034e2(0x207)]=JSON[_0x5034e2(0x28e)](_0xe4caa1['config'][_0x5034e2(0x29c)]));const {extension:extension=['js',_0x58e29b['oFPKm'],_0x58e29b['CwZpj']],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x58e29b['XqNEw']]}=_0x2e4081,_0x4a6bbc={..._0x2e4081};_0x4a6bbc[_0x5034e2(0x1f8)]=null;const _0xb47838=_0x4a6bbc;let _0x5cdc2c;if(testOpsHelper[_0x5034e2(0x1e4)]()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x3c0707=process['env'][_0x5034e2(0x23c)];!helper[_0x5034e2(0x2a6)](_0xe4caa1[_0x5034e2(0x29e)])&&_0xe4caa1[_0x5034e2(0x29e)][_0x5034e2(0x1ce)](_0x58e29b[_0x5034e2(0x28b)])&&(_0x3c0707=_0xe4caa1[_0x5034e2(0x29e)]['get'](_0x58e29b[_0x5034e2(0x28b)])),_0x5cdc2c=testOpsHelper[_0x5034e2(0x21e)](_0x3c0707);}if(helper['isUndefined'](_0x5cdc2c)){const _0x56c5c1={};_0x56c5c1['ignore']=ignore,_0x56c5c1['extension']=extension,_0x56c5c1[_0x5034e2(0x24f)]=file,_0x56c5c1[_0x5034e2(0x287)]=recursive,_0x56c5c1[_0x5034e2(0x29a)]=sort,_0x56c5c1[_0x5034e2(0x22b)]=spec,_0x5cdc2c=_0x58e29b['jQtuv'](collectFiles,_0x56c5c1),_0x58e29b['NERwD'](nestedKeyValue,_0x5cdc2c,[_0x58e29b[_0x5034e2(0x24d)]])&&(_0x5cdc2c=_0x5cdc2c[_0x5034e2(0x214)]);}if(!helper[_0x5034e2(0x239)]()){const _0x4fc538=0x1,_0x5b382e={..._0xb47838};_0x5b382e[_0x5034e2(0x22b)]=[..._0x5cdc2c],_0x5d3a3[_0x5034e2(0x1f0)]({'mochaOpts':_0x5b382e,'configuration':{'platform':os[_0x5034e2(0x2a5)]()}}),logger[_0x5034e2(0x1ed)](_0x58e29b[_0x5034e2(0x25a)]),logger[_0x5034e2(0x1ed)](_0x58e29b[_0x5034e2(0x1df)]),_0x58e29b[_0x5034e2(0x245)](parallelTestRun,_0x5d3a3,_0x4fc538,_0xe4caa1)[_0x5034e2(0x26a)](_0x5802b6=>{const _0x4fad53=_0x5034e2;PerformanceTester[_0x4fad53(0x242)](PerformanceEvents[_0x4fad53(0x22d)]),_0x58e29b[_0x4fad53(0x245)](printStats,_0x5802b6,_0x2e4081[_0x4fad53(0x211)],_0x2e4081[_0x4fad53(0x203)]||_0x2e4081[_0x58e29b[_0x4fad53(0x1ef)]]);})[_0x5034e2(0x29b)](()=>{const _0x4dc786=_0x5034e2;PerformanceTester[_0x4dc786(0x242)](PerformanceEvents[_0x4dc786(0x22d)]);try{const {browserstackFolderPath:_0x5b9c60,tcgConfigPath:_0x357bfc}=helper[_0x4dc786(0x27d)]();fs[_0x4dc786(0x1db)](_0x357bfc),fs[_0x4dc786(0x20a)](_0x5b9c60);}catch(_0x35c251){logger[_0x4dc786(0x208)](_0x58e29b[_0x4dc786(0x1dd)],_0x35c251);}try{utilities[_0x4dc786(0x1ee)](_0x58e29b[_0x4dc786(0x271)],{},_0xe4caa1['config'],_0xe4caa1[_0x4dc786(0x1ec)]);}catch(_0x3285bc){logger['debug'](_0x4dc786(0x219)+_0x3285bc[_0x4dc786(0x23b)]);}try{helper['notifyUpdate']();}catch(_0x5df922){logger[_0x4dc786(0x208)](_0x4dc786(0x20f)+_0x5df922);}testOpsHelper[_0x4dc786(0x1fe)]();});}else{const _0x17f481=helper[_0x5034e2(0x24b)](_0xe4caa1[_0x5034e2(0x1da)]);let _0x513f9d=helper[_0x5034e2(0x237)](_0xe4caa1[_0x5034e2(0x1da)]);_0x531b8d=helper[_0x5034e2(0x218)](_0xe4caa1[_0x5034e2(0x1da)],_0x17f481,constants[_0x5034e2(0x21f)][_0x5034e2(0x1c5)]);helper[_0x5034e2(0x1e6)]()['central_scanner']&&(_0x513f9d=centralScannerConstants[_0x5034e2(0x278)]);let _0x84a21b;const _0x21d3a1=_0xe4caa1[_0x5034e2(0x1da)][_0x5034e2(0x238)]||helper[_0x5034e2(0x27b)](_0x2e4081,_0x1ce64b,_0xe4caa1[_0x5034e2(0x1da)],constants[_0x5034e2(0x21f)][_0x5034e2(0x1c5)])||0x1;helper[_0x5034e2(0x1d4)](_0xe4caa1['config'])?_0x84a21b=_0x58e29b[_0x5034e2(0x212)](_0xe4caa1[_0x5034e2(0x1da)][_0x5034e2(0x206)]['length'],_0x21d3a1):_0x84a21b=_0x21d3a1;const _0x3658da=_0x58e29b['DvIZJ'](getPercyOptions,_0xe4caa1[_0x5034e2(0x1da)]);if(_0x58e29b[_0x5034e2(0x1e3)](_0xe4caa1[_0x5034e2(0x1da)][_0x5034e2(0x238)],0x1))_0x5cdc2c[_0x5034e2(0x265)](_0x786787=>{const _0xbe31cf=_0x5034e2,_0x1cffda=[];_0x531b8d[_0xbe31cf(0x265)]((_0x747b6f,_0x5e6235)=>{const _0x18f0bc=_0xbe31cf,_0x28eba0={};_0x28eba0[_0x18f0bc(0x22b)]=[_0x786787],_0x1cffda[_0x18f0bc(0x1f0)]({'mochaOpts':Object['assign']({},_0xb47838,_0x28eba0),'configuration':{'server':_0x513f9d,'capability':_0x747b6f,'proxySettings':_0xe4caa1['config']['proxySettings'],'platform':helper[_0x18f0bc(0x2a3)](_0x747b6f),'browserStackLogLevel':_0xe4caa1[_0x18f0bc(0x1da)]['logLevel'],'platformIndex':_0x5e6235,'browserStackPercyOptions':_0x3658da,'platformCaps':Object[_0x18f0bc(0x221)]({'index':_0x5e6235},_0xe4caa1[_0x18f0bc(0x1da)][_0x18f0bc(0x206)][_0x5e6235])}});}),_0x5d3a3[_0xbe31cf(0x1f0)](..._0x1cffda);});else{const _0x5a163f=[];_0x531b8d[_0x5034e2(0x265)]((_0x4ac183,_0xe166a8)=>{const _0x74cc88=_0x5034e2;let _0x4dda2e=Object[_0x74cc88(0x221)]({},_0xb47838);testOpsHelper[_0x74cc88(0x1e4)]()&&testOpsHelper['shouldReRunObservabilityTests']()&&(_0x4dda2e={..._0x4dda2e,'spec':[..._0x5cdc2c]}),_0x5a163f[_0x74cc88(0x1f0)]({'mochaOpts':_0x4dda2e,'configuration':{'server':_0x513f9d,'capability':_0x4ac183,'proxySettings':_0xe4caa1[_0x74cc88(0x1da)]['proxySettings'],'platform':helper['getPlatformName'](_0x4ac183),'browserStackLogLevel':_0xe4caa1['config']['logLevel'],'platformIndex':_0xe166a8,'browserStackPercyOptions':_0x3658da,'platformCaps':Object[_0x74cc88(0x221)]({'index':_0xe166a8},_0xe4caa1[_0x74cc88(0x1da)]['platforms'][_0xe166a8])}});}),_0x5d3a3[_0x5034e2(0x1f0)](..._0x5a163f);}logger[_0x5034e2(0x1ed)](_0x5034e2(0x20e)+_0xe4caa1[_0x5034e2(0x1da)][_0x5034e2(0x206)]['length']+'\x20platforms'),logger[_0x5034e2(0x1ed)](_0x58e29b[_0x5034e2(0x1df)]);let _0x4f9de7;_0x58e29b[_0x5034e2(0x245)](parallelTestRun,_0x5d3a3,_0x84a21b,_0xe4caa1)[_0x5034e2(0x26a)](_0x2680a2=>{const _0x5e472c=_0x5034e2;PerformanceTester[_0x5e472c(0x242)](PerformanceEvents['SDK_CLEANUP']),_0x4f9de7=_0x2680a2,_0x58e29b[_0x5e472c(0x245)](printStats,_0x2680a2,_0x2e4081[_0x5e472c(0x211)],_0x2e4081[_0x5e472c(0x203)]||_0x2e4081[_0x58e29b['wsWTh']]);})['finally'](async()=>{const _0x795af6=_0x5034e2;PerformanceTester['start'](PerformanceEvents[_0x795af6(0x22d)]),_0xe4caa1[_0x795af6(0x2a8)]=helper[_0x795af6(0x1fd)](_0x4f9de7,_0x58e29b[_0x795af6(0x262)]),await utilities[_0x795af6(0x1e9)](_0xe4caa1),testOpsHelper[_0x795af6(0x1fe)]();});}}module['exports']=run;