browserstack-node-sdk 1.34.34 → 1.34.36

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 (131) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/central-scanner/constants.js +1 -1
  101. package/src/helpers/central-scanner/helpers.js +1 -1
  102. package/src/helpers/globals.js +1 -1
  103. package/src/helpers/helper.js +1 -1
  104. package/src/helpers/logger.js +1 -1
  105. package/src/helpers/patchHelper.js +1 -1
  106. package/src/helpers/patchHelpers.js +1 -1
  107. package/src/helpers/percy/Percy.js +1 -1
  108. package/src/helpers/percy/PercyBinary.js +1 -1
  109. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  110. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  111. package/src/helpers/percy/PercySDK.js +1 -1
  112. package/src/helpers/percy/index.js +1 -1
  113. package/src/helpers/percy/utils.js +1 -1
  114. package/src/helpers/performance/constants.js +1 -1
  115. package/src/helpers/performance/performance-tester.js +1 -1
  116. package/src/helpers/processHelper.js +1 -1
  117. package/src/helpers/request-spy.js +1 -1
  118. package/src/helpers/setKeepAlive.js +1 -1
  119. package/src/helpers/test-observability/constants.js +1 -1
  120. package/src/helpers/test-observability/error-handler.js +1 -1
  121. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  122. package/src/helpers/test-observability/sessionHandler.js +1 -1
  123. package/src/helpers/test-observability/utils.js +1 -1
  124. package/src/helpers/testhub/constants.js +1 -1
  125. package/src/helpers/testhub/testhubHandler.js +1 -1
  126. package/src/helpers/testhub/utils.js +1 -1
  127. package/src/helpers/timeoutPromise.js +1 -1
  128. package/src/helpers/utilities.js +1 -1
  129. package/src/helpers/w3cMapping.js +1 -1
  130. package/src/hubAllocationMethods.js +1 -1
  131. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a79_0x927b18=a79_0x5abc;(function(_0x265b0d,_0x20ddba){const _0x6260b9=a79_0x5abc,_0x388c5d=_0x265b0d();while(!![]){try{const _0x4cf5ec=parseInt(_0x6260b9(0x14c))/0x1+parseInt(_0x6260b9(0xef))/0x2*(-parseInt(_0x6260b9(0x11d))/0x3)+parseInt(_0x6260b9(0x10b))/0x4+parseInt(_0x6260b9(0xd8))/0x5*(-parseInt(_0x6260b9(0x128))/0x6)+-parseInt(_0x6260b9(0xe6))/0x7*(parseInt(_0x6260b9(0xe7))/0x8)+-parseInt(_0x6260b9(0x134))/0x9*(parseInt(_0x6260b9(0x125))/0xa)+parseInt(_0x6260b9(0xcc))/0xb;if(_0x4cf5ec===_0x20ddba)break;else _0x388c5d['push'](_0x388c5d['shift']());}catch(_0x3351cb){_0x388c5d['push'](_0x388c5d['shift']());}}}(a79_0x1b95,0x8821d));function a79_0x5abc(_0x1b2a1d,_0x42954a){const _0x1b9561=a79_0x1b95();return a79_0x5abc=function(_0x5abc8e,_0x5e0346){_0x5abc8e=_0x5abc8e-0xbd;let _0xbca17=_0x1b9561[_0x5abc8e];return _0xbca17;},a79_0x5abc(_0x1b2a1d,_0x42954a);}const fs=require('fs'),fsPromise=require(a79_0x927b18(0x141)),{performance,PerformanceObserver}=require(a79_0x927b18(0x122)),path=require(a79_0x927b18(0x12d)),util=require(a79_0x927b18(0x154)),logger=require('../logger')['winstonLogger'],{getProcessId,sleep,debug,getTestName}=require(a79_0x927b18(0x142));function a79_0x1b95(){const _0x595af3=['getPerformance','soYSx','UNUIP','mVppc','getEventsFromJSON','then','pushPerfMeasures','yCwkH','bsqSc','finalizeErrors','-start','measures','tfvXb','174meNKmM','Error\x20while\x20removing\x20files:\x20','join','__platformCaps','_errorEvents','perf_hooks','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','dQhml','6770JlKVWJ','RKoaM','code','12cBVEys','browserStackCwd','meta','.json','toJSON','path','</tbody></table></body></html>','mark','/error-report-','calculateTimesFromMultipleFiles','calculateTimeFromEvents','hxSCj','8127FbzYvS','parse','performance-own.html','resolve','kQPPZ','getEntries','oMJCc','UsrhI','Error\x20stopping\x20monitoring\x20','QxLXn','length','IAqsO','stopMonitoring','fs/promises','../processHelper','</td></tr>','zXgLn','measure','pushErrors','yYgvW','platform','stopAndGenerate','fNupR','duration','1049734dqJIRT','finalizePerfMeasures','getCleanedPerfEvents','PIHRG','testName','end','FruHF','UOzBC','util','captureError','QVMBw','errors','performance-report','jsonReportDirPath','started','errorReportDirName','-end','writeFile','wgOjr','EbloV','observe','ppXre','exports','UZTJt','env','slice','errorReportFileName','false','function','YqSpU','details','22326315ExgDkK','XLAuG','mkdirSync','debug','eIGBw','push','cwd','_events','FhQkn','Bxrll','_measureEvents','rwYWH','1436255qpgDMk','assign','utf-8','concat','mfjlu','<h1>Performance\x20Report</h1>','name','reduce','\x20for\x20all\x20processes\x20is\x20','appendFileSync','readFileSync','jbSgD','generateHTMLReport','jsonReportDirName','14cQPmKO','3834552zMRPul','start','message','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','forEach','existsSync','log','agYwd','30350BttlKl','jrKzi','WCaPA','entryTypes','<tr><td>','unlinkSync','stringify','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','index','Performance\x20report\x20is\x20at\x20','_observer','BROWSERSTACK_SDK_INSTRUMENTATION','EiPKW','apply','RkBSD','jsonReportFileName','startMonitoring','disconnect','writeFileSync','generateJSON','format','/performance-report-','map','</td><td>','entries','Time\x20for\x20','toString','splice','2011276StbCVH','eventsMap','isEnabled','wRwpJ','all'];a79_0x1b95=function(){return _0x595af3;};return a79_0x1b95();}class PerformanceTester{static [a79_0x927b18(0xf9)];static [a79_0x927b18(0xd3)]=[];static ['_measureEvents']=[];static [a79_0x927b18(0x121)]=[];static [a79_0x927b18(0x15a)]=![];static [a79_0x927b18(0xe5)]=a79_0x927b18(0x158);static [a79_0x927b18(0x159)]=process[a79_0x927b18(0xc5)][a79_0x927b18(0x129)]?path[a79_0x927b18(0x11f)](process[a79_0x927b18(0xc5)][a79_0x927b18(0x129)],this[a79_0x927b18(0xe5)]):path[a79_0x927b18(0x11f)](process['cwd'](),a79_0x927b18(0xed),this[a79_0x927b18(0xe5)]);static [a79_0x927b18(0x15b)]=process[a79_0x927b18(0xc5)]['browserStackCwd']?path[a79_0x927b18(0x11f)](process[a79_0x927b18(0xc5)]['browserStackCwd'],'error-report'):path['join'](process[a79_0x927b18(0xd2)](),'error-report');static [a79_0x927b18(0xfe)]=this[a79_0x927b18(0x159)]+a79_0x927b18(0x104)+getProcessId()+a79_0x927b18(0x12b);static [a79_0x927b18(0xc7)]=this[a79_0x927b18(0x15b)]+a79_0x927b18(0x130)+getProcessId()+a79_0x927b18(0x12b);static [a79_0x927b18(0xcb)]={};static [a79_0x927b18(0x10c)]={};static[a79_0x927b18(0xff)](_0x566546=this[a79_0x927b18(0x159)]+a79_0x927b18(0x104)+getProcessId()+'.json',_0x1f8b9c=this[a79_0x927b18(0x15b)]+a79_0x927b18(0x130)+getProcessId()+a79_0x927b18(0x12b)){const _0x1b450f=a79_0x927b18,_0x5ed58f={};_0x5ed58f[_0x1b450f(0x14f)]=function(_0x407e52,_0x28640c){return _0x407e52===_0x28640c;},_0x5ed58f[_0x1b450f(0x126)]=_0x1b450f(0x145),_0x5ed58f[_0x1b450f(0xe3)]=function(_0x57cb04,_0x132e78){return _0x57cb04+_0x132e78;},_0x5ed58f[_0x1b450f(0xf0)]=_0x1b450f(0x123),_0x5ed58f[_0x1b450f(0xd4)]=_0x1b450f(0xc9);const _0x88a2db=_0x5ed58f;try{!fs[_0x1b450f(0xec)](this[_0x1b450f(0x159)])&&fs[_0x1b450f(0xce)](this['jsonReportDirPath']);}catch(_0x2702f1){logger[_0x1b450f(0xcf)](_0x88a2db['jbSgD'](_0x88a2db['jrKzi'],_0x2702f1));}if(this[_0x1b450f(0x15a)]||!this[_0x1b450f(0x10d)]())return;this[_0x1b450f(0xf9)]=new PerformanceObserver(_0xe58c3e=>{const _0xd18809=_0x1b450f,_0x27532a={'OfJgO':function(_0x5c63a2,_0x225713){const _0x4addea=a79_0x5abc;return _0x88a2db[_0x4addea(0x14f)](_0x5c63a2,_0x225713);},'GcBhT':_0x88a2db[_0xd18809(0x126)]};_0xe58c3e[_0xd18809(0x139)]()[_0xd18809(0xeb)](_0x4f2bef=>{const _0x5dcfd2=_0xd18809;if(_0x27532a['OfJgO'](_0x4f2bef['entryType'],_0x27532a['GcBhT'])){let _0x1b190c={};if(_0x4f2bef[_0x5dcfd2(0x12c)])_0x1b190c=_0x4f2bef['toJSON']();else for(const _0x4b4022 in _0x4f2bef){_0x1b190c[_0x4b4022]=_0x4f2bef[_0x4b4022];}this[_0x5dcfd2(0xcb)][_0x4f2bef[_0x5dcfd2(0xde)]]&&(_0x1b190c=Object[_0x5dcfd2(0xd9)](_0x1b190c,this[_0x5dcfd2(0xcb)][_0x4f2bef[_0x5dcfd2(0xde)]])),delete this[_0x5dcfd2(0xcb)][_0x4f2bef[_0x5dcfd2(0xde)]],this[_0x5dcfd2(0xd6)][_0x5dcfd2(0xd1)](_0x1b190c);}else this[_0x5dcfd2(0xd3)][_0x5dcfd2(0xd1)](_0x4f2bef);});});const _0x502771={};_0x502771['buffered']=!![],_0x502771[_0x1b450f(0xf2)]=[_0x88a2db[_0x1b450f(0xd4)],_0x88a2db[_0x1b450f(0x126)]],this[_0x1b450f(0xf9)][_0x1b450f(0xc1)](_0x502771),this['started']=!![],this[_0x1b450f(0xfe)]=_0x566546,this['errorReportFileName']=_0x1f8b9c;}static[a79_0x927b18(0x110)](){return performance;}static[a79_0x927b18(0x132)](_0x37bd38,_0x3088f0){const _0x120c74=a79_0x927b18,_0x173a40={};_0x173a40[_0x120c74(0x13f)]=function(_0x3cf77f,_0x2bdcda){return _0x3cf77f+_0x2bdcda;},_0x173a40[_0x120c74(0x14a)]=function(_0x3abdfc,_0x18f0da){return _0x3abdfc||_0x18f0da;},_0x173a40[_0x120c74(0x112)]=function(_0xebb65e,_0xf45a3){return _0xebb65e===_0xf45a3;};const _0x90a24e=_0x173a40,_0x102f90={};if(!_0x37bd38||_0x90a24e['UNUIP'](_0x37bd38[_0x120c74(0x13e)],0x0))return;_0x37bd38[_0x120c74(0x105)](_0x551770=>{const _0x5ee50c=_0x120c74;!_0x102f90[_0x551770['name']]&&(_0x102f90[_0x551770[_0x5ee50c(0xde)]]=0x0),_0x102f90[_0x551770[_0x5ee50c(0xde)]]+=_0x551770[_0x5ee50c(0x14b)];});const _0x34ad49=_0x3088f0[_0x120c74(0xdf)]((_0x122628,_0xab62d3)=>{const _0x4c966f=_0x120c74;return _0x90a24e[_0x4c966f(0x13f)](_0x102f90[_0xab62d3],_0x90a24e[_0x4c966f(0x14a)](_0x122628,0x0));},0x0);return _0x34ad49;}static async[a79_0x927b18(0x131)](_0x28b643,_0x4e04af){const _0x2c32a4=a79_0x927b18,_0x3e9f83={'hxSCj':function(_0x1cfaf8,_0x2a9b57){return _0x1cfaf8+_0x2a9b57;},'wRwpJ':function(_0x44f454,_0x565246){return _0x44f454||_0x565246;},'mjJAP':function(_0x1f0eac,_0x2a31cd){return _0x1f0eac===_0x2a31cd;},'eIGBw':function(_0x5962e1,_0xe12455){return _0x5962e1(_0xe12455);},'zXgLn':function(_0x5cfa9f,_0x18b24f){return _0x5cfa9f(_0x18b24f);}};if(!_0x28b643||_0x3e9f83['mjJAP'](_0x28b643['length'],0x0))return 0x0;const _0x5cac56=[];for(const _0x4723c5 of _0x28b643){const _0x2b6e1c=path[_0x2c32a4(0x11f)]('.',_0x4723c5);try{const _0x554026=this[_0x2c32a4(0x114)](_0x2b6e1c);_0x554026[_0x2c32a4(0x105)](_0x32cfec=>{const _0x16d3f4=_0x2c32a4;!_0x5cac56[_0x32cfec[_0x16d3f4(0xde)]]&&(_0x5cac56[_0x32cfec[_0x16d3f4(0xde)]]=0x0),_0x5cac56[_0x32cfec[_0x16d3f4(0xde)]]+=_0x32cfec[_0x16d3f4(0x14b)];});}catch(_0x281d68){_0x3e9f83[_0x2c32a4(0xd0)](debug,'Error\x20in\x20doing\x20csv\x20operations:\x20'+_0x281d68[_0x2c32a4(0x109)]());}}const _0x3abf01=_0x4e04af['reduce']((_0x3d2688,_0x27da6f)=>{const _0x4e952e=_0x2c32a4;return _0x3e9f83[_0x4e952e(0x133)](_0x5cac56[_0x27da6f],_0x3e9f83[_0x4e952e(0x10e)](_0x3d2688,0x0));},0x0);return _0x3e9f83[_0x2c32a4(0x144)](debug,_0x2c32a4(0x108)+_0x4e04af+_0x2c32a4(0xe0)+_0x3abf01),_0x3abf01;}static[a79_0x927b18(0x114)](_0x355f53){const _0x4a5330=a79_0x927b18;if(!fs[_0x4a5330(0xec)](_0x355f53))return[];return JSON['parse'](fs[_0x4a5330(0xe2)](_0x355f53)[_0x4a5330(0x109)]());}static async[a79_0x927b18(0x149)](_0x4fe003=a79_0x927b18(0x136),_0x5d68f6=null){const _0x487acb=a79_0x927b18,_0x1d54d1={'ppXre':function(_0x51085d,_0x212632){return _0x51085d(_0x212632);},'yCwkH':function(_0x1d2868,_0x2ba01e){return _0x1d2868(_0x2ba01e);}};if(!this[_0x487acb(0x15a)])return;await _0x1d54d1[_0x487acb(0x117)](sleep,0x1e),this['_observer']['disconnect'](),this['started']=![],this['generateJSON'](this[_0x487acb(0xd3)]);const _0x8a4bec=this[_0x487acb(0xe4)](this[_0x487acb(0xd3)]),_0x3226b5=path[_0x487acb(0x11f)](process['cwd'](),_0x4fe003);fs[_0x487acb(0xbe)](_0x3226b5,_0x8a4bec,_0x58cb8e=>{const _0x55e158=_0x487acb;if(_0x58cb8e){_0x1d54d1[_0x55e158(0xc2)](debug,'Error\x20in\x20writing\x20html\x20'+_0x58cb8e[_0x55e158(0x109)]());return;}_0x1d54d1[_0x55e158(0xc2)](debug,_0x55e158(0xf8)+_0x3226b5);});if(_0x5d68f6)return this['calculateTimeFromEvents'](this['_events'],_0x5d68f6);}static[a79_0x927b18(0xe4)](_0x528321){const _0x3d61de=a79_0x927b18,_0x210d65={};_0x210d65['EiPKW']=_0x3d61de(0xea),_0x210d65[_0x3d61de(0x13b)]=_0x3d61de(0xdd),_0x210d65[_0x3d61de(0xdc)]=_0x3d61de(0xf6),_0x210d65['bsqSc']=_0x3d61de(0x12e);const _0x4b584e=_0x210d65;let _0x1e18e0=_0x4b584e[_0x3d61de(0xfb)];return _0x1e18e0+=_0x4b584e[_0x3d61de(0x13b)],_0x1e18e0+=_0x4b584e[_0x3d61de(0xdc)],_0x528321[_0x3d61de(0xeb)](_0x5d1ac3=>{const _0x1f16a9=_0x3d61de;_0x1e18e0+=_0x1f16a9(0xf3)+_0x5d1ac3[_0x1f16a9(0xde)]+_0x1f16a9(0x106)+_0x5d1ac3['duration']+_0x1f16a9(0x143);}),_0x1e18e0+=_0x4b584e[_0x3d61de(0x118)],_0x1e18e0;}static[a79_0x927b18(0x102)](_0x419b84){const _0x4bc4b5=a79_0x927b18;if(!this[_0x4bc4b5(0xfe)])return;const _0x2b1d18={};_0x419b84[_0x4bc4b5(0x105)](_0x1fddb5=>{const _0x58befa=_0x4bc4b5;!_0x2b1d18[_0x1fddb5['name']]&&(_0x2b1d18[_0x1fddb5['name']]=0x0),_0x2b1d18[_0x1fddb5['name']]+=_0x1fddb5[_0x58befa(0x14b)];});const _0x572ca3=Object[_0x4bc4b5(0x107)](_0x2b1d18)['map'](([_0x43459e,_0x4e0fa3])=>{const _0x6d93f3=_0x4bc4b5,_0x44bee={};return _0x44bee[_0x6d93f3(0xde)]=_0x43459e,_0x44bee[_0x6d93f3(0x14b)]=_0x4e0fa3,_0x44bee;});fs[_0x4bc4b5(0x101)](this['jsonReportFileName'],JSON[_0x4bc4b5(0xf5)](_0x572ca3));}static[a79_0x927b18(0x10d)](){const _0x5bcc8f=a79_0x927b18,_0x62bfbe={};_0x62bfbe[_0x5bcc8f(0x113)]=function(_0x1b9128,_0x7b744d){return _0x1b9128===_0x7b744d;},_0x62bfbe[_0x5bcc8f(0xf1)]=_0x5bcc8f(0xc8);const _0x2268ff=_0x62bfbe;return!_0x2268ff[_0x5bcc8f(0x113)](process[_0x5bcc8f(0xc5)][_0x5bcc8f(0xfa)],_0x2268ff[_0x5bcc8f(0xf1)]);}static[a79_0x927b18(0x145)](_0x257caf,_0x2ba50a,_0x518947=null,_0xc72c9f={},_0x4369cb=null){const _0x160b63=a79_0x927b18,_0x59ec8d={'rwYWH':function(_0x22bd5e,_0x5098a4){return _0x22bd5e(_0x5098a4);},'QxLXn':function(_0x1adb58,_0x3646ed){return _0x1adb58 instanceof _0x3646ed;}};try{if(this[_0x160b63(0x15a)]&&this[_0x160b63(0x10d)]()){let _0x2ff0e1=_0x257caf;_0x518947&&(_0x2ff0e1=_0x257caf+'['+JSON[_0x160b63(0xf5)](_0x518947)+']');PerformanceTester[_0x160b63(0xe8)](_0x2ff0e1),this['details']&&(this[_0x160b63(0xcb)][_0x2ff0e1]=_0xc72c9f);try{const _0x2cf5c4=_0x2ba50a[_0x160b63(0xfc)](null,_0x4369cb);if(_0x59ec8d[_0x160b63(0x13d)](_0x2cf5c4,Promise))return new Promise((_0x3bb8e3,_0x38a66a)=>{const _0x415889=_0x160b63;_0x2cf5c4[_0x415889(0x115)](_0x1b72cc=>{const _0x22aee8=_0x415889;PerformanceTester[_0x22aee8(0x151)](_0x2ff0e1),_0x59ec8d[_0x22aee8(0xd7)](_0x3bb8e3,_0x1b72cc);})['catch'](_0x46de20=>{const _0xf98728=_0x415889;PerformanceTester[_0xf98728(0x151)](_0x2ff0e1,![],util['format'](_0x46de20)),_0x59ec8d['rwYWH'](_0x38a66a,_0x46de20);});});;return PerformanceTester[_0x160b63(0x151)](_0x2ff0e1),_0x2cf5c4;}catch(_0x562871){PerformanceTester[_0x160b63(0x151)](_0x2ff0e1,![],util[_0x160b63(0x103)](_0x562871));throw _0x562871;}};return _0x2ba50a[_0x160b63(0xfc)](null,_0x4369cb);}catch(_0x77c7fd){return _0x2ba50a['apply'](null,_0x4369cb);}}static['measureWrapper'](_0x2c72a7,_0x1ab9d4,_0x5d935a={}){const _0x326b71=a79_0x927b18,_0x275ce2={'FruHF':function(_0x3d3a99){return _0x3d3a99();},'cEGHD':function(_0x2e697d){return _0x2e697d();}},_0x48fffa=this;return _0x5d935a['worker']=_0x275ce2[_0x326b71(0x152)](getProcessId),_0x5d935a[_0x326b71(0x150)]=_0x275ce2['cEGHD'](getTestName),_0x5d935a[_0x326b71(0x148)]=global[_0x326b71(0x120)]&&global[_0x326b71(0x120)][_0x326b71(0xf7)],function(){const _0x225d2a=_0x326b71,_0x5f5a0f=[_0x2c72a7,_0x1ab9d4,null,_0x5d935a]['concat'](arguments);return _0x48fffa[_0x225d2a(0x145)][_0x225d2a(0xfc)](_0x48fffa,_0x5f5a0f);};}static['getCleanedPerfEvents'](){const _0x56b492=a79_0x927b18,_0x2bf5b1=/(^.*)\[(.*)\]$/,_0x1e1774={},_0x3d385f={},_0x49f709=[],_0x4de77b=this[_0x56b492(0xd6)][_0x56b492(0x10a)](0x0,this[_0x56b492(0xd6)][_0x56b492(0x13e)]);for(const _0x1b28ef of _0x4de77b){const _0x115dbb=_0x1b28ef[_0x56b492(0xde)]['match'](_0x2bf5b1),_0x4a1dd4=Object[_0x56b492(0xd9)]({},_0x1b28ef);_0x115dbb&&(_0x4a1dd4[_0x56b492(0xde)]=_0x115dbb[0x1],_0x4a1dd4[_0x56b492(0x12a)]=JSON['parse'](_0x115dbb[0x2])),_0x49f709[_0x56b492(0xd1)](_0x4a1dd4);}return _0x49f709;}static[a79_0x927b18(0x116)](){const _0x431f3a=a79_0x927b18,_0x4be8aa={};_0x4be8aa[_0x431f3a(0x138)]=function(_0x7863b5,_0x184e65){return _0x7863b5+_0x184e65;},_0x4be8aa[_0x431f3a(0x13a)]=_0x431f3a(0x11e),_0x4be8aa[_0x431f3a(0xc4)]=function(_0x188e99,_0x3b421c){return _0x188e99===_0x3b421c;};const _0x338206=_0x4be8aa;try{if(fs[_0x431f3a(0xec)](this[_0x431f3a(0x159)])){const _0x50f41a=fs['readdirSync'](this[_0x431f3a(0x159)]);for(const _0x47b3c9 of _0x50f41a){fs[_0x431f3a(0xf4)](path['join'](this['jsonReportDirPath'],_0x47b3c9));}}}catch(_0x3ee233){logger[_0x431f3a(0xcf)](_0x338206[_0x431f3a(0x138)](_0x338206[_0x431f3a(0x13a)],_0x3ee233));}if(_0x338206['UZTJt'](this[_0x431f3a(0xd6)][_0x431f3a(0x13e)],0x0))return;const _0x3a4929=this['getCleanedPerfEvents'](),_0x38d4b4=JSON[_0x431f3a(0xf5)](_0x3a4929),_0x4b6318=_0x338206[_0x431f3a(0x138)](_0x38d4b4[_0x431f3a(0xc6)](0x1,-0x1),',');fs['appendFileSync'](this[_0x431f3a(0xfe)],_0x4b6318);}static async[a79_0x927b18(0x14d)](){const _0x2bc0f6=a79_0x927b18,_0x245ffc={};_0x245ffc[_0x2bc0f6(0xca)]=function(_0x11dec8,_0x46a98a){return _0x11dec8===_0x46a98a;},_0x245ffc[_0x2bc0f6(0x153)]=function(_0x253793,_0x77038d){return _0x253793>_0x77038d;};const _0x16e1a9=_0x245ffc;if(!this[_0x2bc0f6(0x15a)]||_0x16e1a9['YqSpU'](this[_0x2bc0f6(0xd6)][_0x2bc0f6(0x13e)],0x0))return[];if(!fs['existsSync'](this[_0x2bc0f6(0x159)]))return this[_0x2bc0f6(0xd6)];const _0x17b458=(await fsPromise['readdir'](this['jsonReportDirPath']))[_0x2bc0f6(0x105)](_0x41e9ae=>path[_0x2bc0f6(0x137)](this['jsonReportDirPath'],_0x41e9ae));let _0x46dc2c=(await Promise[_0x2bc0f6(0x10f)](_0x17b458[_0x2bc0f6(0x105)](_0x4797cf=>fsPromise['readFile'](_0x4797cf,_0x2bc0f6(0xda)))))[_0x2bc0f6(0x105)](_0x147d23=>'['+_0x147d23['slice'](0x0,-0x1)+']')[_0x2bc0f6(0x105)](_0x39eccf=>JSON[_0x2bc0f6(0x135)](_0x39eccf))['flat']();return _0x16e1a9['UOzBC'](this['_measureEvents'][_0x2bc0f6(0x13e)],0x0)&&(_0x46dc2c=_0x46dc2c[_0x2bc0f6(0xdb)](this[_0x2bc0f6(0x14e)]())),this[_0x2bc0f6(0xf9)][_0x2bc0f6(0x100)](),_0x46dc2c;}static[a79_0x927b18(0x146)](){const _0x9dc814=a79_0x927b18,_0x3d5555={};_0x3d5555['dQhml']=function(_0xa44ac0,_0x215078){return _0xa44ac0===_0x215078;},_0x3d5555[_0x9dc814(0xfd)]=function(_0x116f50,_0x18e84c){return _0x116f50+_0x18e84c;};const _0x36040e=_0x3d5555;if(_0x36040e[_0x9dc814(0x124)](this[_0x9dc814(0x121)][_0x9dc814(0x13e)],0x0))return;const _0x565372=JSON[_0x9dc814(0xf5)](this['_errorEvents']),_0xa1ad6a=_0x36040e[_0x9dc814(0xfd)](_0x565372[_0x9dc814(0xc6)](0x1,-0x1),',');fs[_0x9dc814(0xe1)](this['errorFile'],_0xa1ad6a);}static['finalizeErrors'](){const _0x17bdf7=a79_0x927b18,_0x1bc0ab={};_0x1bc0ab['agYwd']=function(_0x498a4f,_0x23d02a){return _0x498a4f>_0x23d02a;};const _0x4faa61=_0x1bc0ab;if(!fs['existsSync'](this['errorReportFileName']))return this[_0x17bdf7(0x121)];let _0x388059=fs[_0x17bdf7(0xe2)](this[_0x17bdf7(0xc7)])['toString']();_0x388059='['+_0x388059[_0x17bdf7(0xc6)](0x0,-0x1)+']';let _0x4a4910=JSON[_0x17bdf7(0x135)](_0x388059);return _0x4faa61[_0x17bdf7(0xee)](this[_0x17bdf7(0x121)]['length'],0x0)&&(_0x4a4910=_0x4a4910[_0x17bdf7(0xdb)](this[_0x17bdf7(0x121)])),fs[_0x17bdf7(0xf4)](this[_0x17bdf7(0xc7)]),_0x4a4910;}static[a79_0x927b18(0x155)](_0x561499){const _0x241bd9=a79_0x927b18;if(!this[_0x241bd9(0x10d)]())return;this['_errorEvents']['push']({'message':_0x561499[_0x241bd9(0xe9)],'trace':_0x561499['stack'],'code':_0x561499[_0x241bd9(0x127)]||null,'time':new Date()});}static[a79_0x927b18(0x140)](){const _0xdb2f95=a79_0x927b18;try{if(!this['isEnabled']())return;this[_0xdb2f95(0xf9)]['disconnect'](),this['pushPerfMeasures'](),this[_0xdb2f95(0x146)]();}catch(_0x378f57){logger['debug'](_0xdb2f95(0x13c)+util[_0xdb2f95(0x103)](_0x378f57));}}static async['finalize'](){const _0x4d65b1=a79_0x927b18,_0x418897={'Bxrll':function(_0x1f9ad3,_0x22c3de){return _0x1f9ad3(_0x22c3de);}};await _0x418897[_0x4d65b1(0xd5)](sleep,0x1e);const _0x1c24c4=await this[_0x4d65b1(0x14d)](),_0x4db850=this[_0x4d65b1(0x119)]();if(!this['isEnabled']()){const _0x391b59={};return _0x391b59[_0x4d65b1(0x11b)]=[],_0x391b59['errors']=[],_0x391b59;}const _0x2c8a63={};return _0x2c8a63[_0x4d65b1(0x11b)]=_0x1c24c4,_0x2c8a63[_0x4d65b1(0x157)]=_0x4db850,_0x2c8a63;}static[a79_0x927b18(0xe8)](_0x3e718a){const _0x1219c6=a79_0x927b18,_0xc40dad={};_0xc40dad[_0x1219c6(0x111)]=function(_0x598632,_0x511c8c){return _0x598632+_0x511c8c;},_0xc40dad[_0x1219c6(0xbf)]=_0x1219c6(0x11a);const _0x3d68a2=_0xc40dad,_0x252ec1=_0x3d68a2['soYSx'](_0x3e718a,_0x3d68a2['wgOjr']);if(this[_0x1219c6(0x10c)][_0x252ec1])return;performance[_0x1219c6(0x12f)](_0x252ec1),this['eventsMap'][_0x252ec1]=0x1;}static['end'](_0x9b0925,_0x9ca3d3=!![],_0x17cd9f=null,_0x31e8d2={}){const _0x17f80e=a79_0x927b18,_0x3587bb={'XLAuG':function(_0x59beaa,_0x34cedd){return _0x59beaa+_0x34cedd;},'tfvXb':_0x17f80e(0xbd),'EbloV':function(_0x5a8510,_0x569f72){return _0x5a8510+_0x569f72;},'QVMBw':_0x17f80e(0x11a),'yYgvW':function(_0x1a4119){return _0x1a4119();}};performance[_0x17f80e(0x12f)](_0x3587bb[_0x17f80e(0xcd)](_0x9b0925,_0x3587bb[_0x17f80e(0x11c)])),performance[_0x17f80e(0x145)](_0x9b0925,_0x3587bb['EbloV'](_0x9b0925,_0x3587bb[_0x17f80e(0x156)]),_0x3587bb[_0x17f80e(0xc0)](_0x9b0925,_0x3587bb[_0x17f80e(0x11c)]));const _0x3007d6={};_0x3007d6['success']=_0x9ca3d3,_0x3007d6['failure']=_0x17cd9f,this[_0x17f80e(0xcb)][_0x9b0925]=Object['assign'](_0x3007d6,Object[_0x17f80e(0xd9)](Object[_0x17f80e(0xd9)]({'worker':_0x3587bb[_0x17f80e(0x147)](getProcessId),'platform':global[_0x17f80e(0x120)]&&global[_0x17f80e(0x120)][_0x17f80e(0xf7)],'testName':_0x3587bb[_0x17f80e(0x147)](getTestName)},_0x31e8d2),this[_0x17f80e(0xcb)][_0x9b0925]||{}));}}module[a79_0x927b18(0xc3)]=PerformanceTester;
1
+ function a79_0x778e(_0x48bd1a,_0x3b353e){const _0x5a6e58=a79_0x5a6e();return a79_0x778e=function(_0x778ec1,_0x4d1f00){_0x778ec1=_0x778ec1-0x142;let _0x390d72=_0x5a6e58[_0x778ec1];return _0x390d72;},a79_0x778e(_0x48bd1a,_0x3b353e);}const a79_0x4a8470=a79_0x778e;(function(_0x56b7dc,_0x3726c8){const _0x2a4f3c=a79_0x778e,_0xf43480=_0x56b7dc();while(!![]){try{const _0x43d140=-parseInt(_0x2a4f3c(0x1ba))/0x1+parseInt(_0x2a4f3c(0x191))/0x2*(parseInt(_0x2a4f3c(0x183))/0x3)+parseInt(_0x2a4f3c(0x1ca))/0x4*(-parseInt(_0x2a4f3c(0x176))/0x5)+-parseInt(_0x2a4f3c(0x150))/0x6*(parseInt(_0x2a4f3c(0x153))/0x7)+parseInt(_0x2a4f3c(0x154))/0x8*(parseInt(_0x2a4f3c(0x158))/0x9)+-parseInt(_0x2a4f3c(0x1af))/0xa+parseInt(_0x2a4f3c(0x1bb))/0xb;if(_0x43d140===_0x3726c8)break;else _0xf43480['push'](_0xf43480['shift']());}catch(_0x1ca7b6){_0xf43480['push'](_0xf43480['shift']());}}}(a79_0x5a6e,0x9a34b));function a79_0x5a6e(){const _0x353cc8=['buffered','resolve','</td></tr>','entryTypes','OCYsP','<h1>Performance\x20Report</h1>','MSCRq','map','performance-own.html','duration','BROWSERSTACK_SDK_INSTRUMENTATION','cwd','Sfsfy','/performance-report-','captureError','env','stringify','mkdirSync','parse','hipbj','ZxxJz','ueOTs','BpzdI','start','apply','perf_hooks','btSbE','xAoyH','Performance\x20report\x20is\x20at\x20','jsonReportFileName','winstonLogger','WbnDm','format','fs/promises','6614286XuuZuF','assign','jFbNT','7LttLKY','3344736NxagYn','cNoVi','qsYSz','MeqCo','18PHXNBd','toJSON','false','measures','testName','debug','success','readFileSync','gupvG','mark','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','-start','details','gIBWH','ajcGc','performance-report','errorFile','gXYQO','worker','eventsMap','../processHelper','index','forEach','pushPerfMeasures','push','all','stack','EKCRb','calculateTimesFromMultipleFiles','cjYjF','253355PfEjkT','started','getPerformance','/error-report-','BRnFU','jsonReportDirName','errorReportFileName','reduce','finalizeErrors','IzUJx','stopMonitoring','disconnect','length','13791DrWOVo','hwIEz','toString','unlinkSync','getEntries','appendFileSync','utf-8','entries','end','measureWrapper','slice','_events','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','isEnabled','26jyKpyp','VvePB','_measureEvents','getEventsFromJSON','jZeDU','calculateTimeFromEvents','writeFileSync','concat','Error\x20stopping\x20monitoring\x20','RKNaa','errorReportDirName','startMonitoring','existsSync','function','writeFile','getCleanedPerfEvents','mwhFy','vCawS','LGANQ','generateJSON','finalizePerfMeasures','-end','readdir','svkLI','message','Error\x20in\x20doing\x20csv\x20operations:\x20','pushErrors','error-report','pKyXX','generateHTMLReport','10571870iTwgDu','then','errors','azqJQ','_errorEvents','splice','gtkiu','jsonReportDirPath','ZeVQB','code','lWEVw','921393lvaFKQ','33212597SoBsNA','meta','join','measure','__platformCaps','_observer','readFile','Error\x20while\x20removing\x20files:\x20','.json','ECQzO','name','browserStackCwd','util','LHVTf','finalize','16hamfup','</td><td>'];a79_0x5a6e=function(){return _0x353cc8;};return a79_0x5a6e();}const fs=require('fs'),fsPromise=require(a79_0x4a8470(0x14f)),{performance,PerformanceObserver}=require(a79_0x4a8470(0x147)),path=require('path'),util=require(a79_0x4a8470(0x1c7)),logger=require('../logger')[a79_0x4a8470(0x14c)],{getProcessId,sleep,debug,getTestName}=require(a79_0x4a8470(0x16c));class PerformanceTester{static [a79_0x4a8470(0x1c0)];static [a79_0x4a8470(0x18e)]=[];static [a79_0x4a8470(0x193)]=[];static ['_errorEvents']=[];static ['started']=![];static [a79_0x4a8470(0x17b)]=a79_0x4a8470(0x167);static [a79_0x4a8470(0x1b6)]=process[a79_0x4a8470(0x1db)][a79_0x4a8470(0x1c6)]?path['join'](process['env']['browserStackCwd'],this[a79_0x4a8470(0x17b)]):path[a79_0x4a8470(0x1bd)](process[a79_0x4a8470(0x1d7)](),'log',this[a79_0x4a8470(0x17b)]);static [a79_0x4a8470(0x19b)]=process['env'][a79_0x4a8470(0x1c6)]?path['join'](process[a79_0x4a8470(0x1db)][a79_0x4a8470(0x1c6)],a79_0x4a8470(0x1ac)):path[a79_0x4a8470(0x1bd)](process['cwd'](),a79_0x4a8470(0x1ac));static ['jsonReportFileName']=this[a79_0x4a8470(0x1b6)]+a79_0x4a8470(0x1d9)+getProcessId()+'.json';static [a79_0x4a8470(0x17c)]=this['errorReportDirName']+a79_0x4a8470(0x179)+getProcessId()+a79_0x4a8470(0x1c3);static ['details']={};static [a79_0x4a8470(0x16b)]={};static[a79_0x4a8470(0x19c)](_0x1ca7e1=this[a79_0x4a8470(0x1b6)]+a79_0x4a8470(0x1d9)+getProcessId()+a79_0x4a8470(0x1c3),_0x5c6845=this['errorReportDirName']+a79_0x4a8470(0x179)+getProcessId()+a79_0x4a8470(0x1c3)){const _0x3bb9c8=a79_0x4a8470,_0xc00094={};_0xc00094[_0x3bb9c8(0x1a1)]=function(_0x3f0b20,_0x4ed62c){return _0x3f0b20===_0x4ed62c;},_0xc00094[_0x3bb9c8(0x1c4)]='measure',_0xc00094['qbHnc']=function(_0x10f598,_0xbc16cf){return _0x10f598+_0xbc16cf;},_0xc00094[_0x3bb9c8(0x1b9)]=_0x3bb9c8(0x18f),_0xc00094['azqJQ']=_0x3bb9c8(0x19e);const _0x3e2e56=_0xc00094;try{!fs[_0x3bb9c8(0x19d)](this['jsonReportDirPath'])&&fs[_0x3bb9c8(0x1dd)](this[_0x3bb9c8(0x1b6)]);}catch(_0x147b1d){logger['debug'](_0x3e2e56['qbHnc'](_0x3e2e56[_0x3bb9c8(0x1b9)],_0x147b1d));}if(this[_0x3bb9c8(0x177)]||!this[_0x3bb9c8(0x190)]())return;this['_observer']=new PerformanceObserver(_0xd28330=>{const _0x61007=_0x3bb9c8;_0xd28330[_0x61007(0x187)]()[_0x61007(0x16e)](_0x4ecf95=>{const _0x1fcf9b=_0x61007;if(_0x3e2e56[_0x1fcf9b(0x1a1)](_0x4ecf95['entryType'],_0x3e2e56[_0x1fcf9b(0x1c4)])){let _0x3ff4f8={};if(_0x4ecf95[_0x1fcf9b(0x159)])_0x3ff4f8=_0x4ecf95[_0x1fcf9b(0x159)]();else for(const _0x1096da in _0x4ecf95){_0x3ff4f8[_0x1096da]=_0x4ecf95[_0x1096da];}this[_0x1fcf9b(0x164)][_0x4ecf95[_0x1fcf9b(0x1c5)]]&&(_0x3ff4f8=Object[_0x1fcf9b(0x151)](_0x3ff4f8,this[_0x1fcf9b(0x164)][_0x4ecf95[_0x1fcf9b(0x1c5)]])),delete this['details'][_0x4ecf95[_0x1fcf9b(0x1c5)]],this[_0x1fcf9b(0x193)]['push'](_0x3ff4f8);}else this[_0x1fcf9b(0x18e)]['push'](_0x4ecf95);});});const _0x4b6bac={};_0x4b6bac[_0x3bb9c8(0x1cc)]=!![],_0x4b6bac[_0x3bb9c8(0x1cf)]=[_0x3e2e56[_0x3bb9c8(0x1b2)],_0x3e2e56[_0x3bb9c8(0x1c4)]],this['_observer']['observe'](_0x4b6bac),this[_0x3bb9c8(0x177)]=!![],this['jsonReportFileName']=_0x1ca7e1,this['errorReportFileName']=_0x5c6845;}static[a79_0x4a8470(0x178)](){return performance;}static[a79_0x4a8470(0x196)](_0x53dce9,_0x4d4d9a){const _0x3d481c=a79_0x4a8470,_0x204dc1={};_0x204dc1[_0x3d481c(0x152)]=function(_0x407a18,_0x262626){return _0x407a18+_0x262626;},_0x204dc1[_0x3d481c(0x166)]=function(_0x194b77,_0x4abcc2){return _0x194b77||_0x4abcc2;},_0x204dc1[_0x3d481c(0x175)]=function(_0x136fe8,_0xa45d57){return _0x136fe8===_0xa45d57;};const _0x376522=_0x204dc1,_0x45d6b2={};if(!_0x53dce9||_0x376522[_0x3d481c(0x175)](_0x53dce9[_0x3d481c(0x182)],0x0))return;_0x53dce9['map'](_0x1a2ac7=>{const _0x122d37=_0x3d481c;!_0x45d6b2[_0x1a2ac7['name']]&&(_0x45d6b2[_0x1a2ac7[_0x122d37(0x1c5)]]=0x0),_0x45d6b2[_0x1a2ac7[_0x122d37(0x1c5)]]+=_0x1a2ac7[_0x122d37(0x1d5)];});const _0x5550fe=_0x4d4d9a[_0x3d481c(0x17d)]((_0x4c85e8,_0x54bdfe)=>{const _0x4821f6=_0x3d481c;return _0x376522[_0x4821f6(0x152)](_0x45d6b2[_0x54bdfe],_0x376522[_0x4821f6(0x166)](_0x4c85e8,0x0));},0x0);return _0x5550fe;}static async[a79_0x4a8470(0x174)](_0x9867c5,_0x285a6c){const _0x12bc57=a79_0x4a8470,_0x12d5ab={'btSbE':function(_0x2b75db,_0x343ebe){return _0x2b75db+_0x343ebe;},'xAoyH':function(_0x430eb4,_0x2f857d){return _0x430eb4||_0x2f857d;},'LHVTf':function(_0x185a15,_0x5e4eda){return _0x185a15===_0x5e4eda;},'ZeVQB':function(_0x2d7217,_0xfdfe04){return _0x2d7217(_0xfdfe04);}};if(!_0x9867c5||_0x12d5ab[_0x12bc57(0x1c8)](_0x9867c5[_0x12bc57(0x182)],0x0))return 0x0;const _0x3f64e4=[];for(const _0x45e9f3 of _0x9867c5){const _0x4b5412=path[_0x12bc57(0x1bd)]('.',_0x45e9f3);try{const _0x2a8e2c=this[_0x12bc57(0x194)](_0x4b5412);_0x2a8e2c[_0x12bc57(0x1d3)](_0x37cdca=>{const _0x255d15=_0x12bc57;!_0x3f64e4[_0x37cdca[_0x255d15(0x1c5)]]&&(_0x3f64e4[_0x37cdca[_0x255d15(0x1c5)]]=0x0),_0x3f64e4[_0x37cdca[_0x255d15(0x1c5)]]+=_0x37cdca['duration'];});}catch(_0x341ee9){_0x12d5ab[_0x12bc57(0x1b7)](debug,_0x12bc57(0x1aa)+_0x341ee9['toString']());}}const _0x463231=_0x285a6c[_0x12bc57(0x17d)]((_0x1a59fa,_0x256d92)=>{const _0x14b8ad=_0x12bc57;return _0x12d5ab[_0x14b8ad(0x148)](_0x3f64e4[_0x256d92],_0x12d5ab[_0x14b8ad(0x149)](_0x1a59fa,0x0));},0x0);return _0x12d5ab['ZeVQB'](debug,'Time\x20for\x20'+_0x285a6c+'\x20for\x20all\x20processes\x20is\x20'+_0x463231),_0x463231;}static[a79_0x4a8470(0x194)](_0x28ca90){const _0x5512e6=a79_0x4a8470;if(!fs[_0x5512e6(0x19d)](_0x28ca90))return[];return JSON[_0x5512e6(0x1de)](fs[_0x5512e6(0x15f)](_0x28ca90)[_0x5512e6(0x185)]());}static async['stopAndGenerate'](_0x355bf7=a79_0x4a8470(0x1d4),_0x53b975=null){const _0x50a34e=a79_0x4a8470,_0x3ef8a3={'dhcOl':function(_0x2398c0,_0x5e0231){return _0x2398c0(_0x5e0231);},'hipbj':function(_0x7fa75c,_0x4d8fdc){return _0x7fa75c(_0x4d8fdc);},'cNoVi':function(_0x52ce1b,_0x713f47){return _0x52ce1b(_0x713f47);}};if(!this['started'])return;await _0x3ef8a3[_0x50a34e(0x155)](sleep,0x1e),this[_0x50a34e(0x1c0)][_0x50a34e(0x181)](),this[_0x50a34e(0x177)]=![],this['generateJSON'](this['_events']);const _0x278229=this[_0x50a34e(0x1ae)](this[_0x50a34e(0x18e)]),_0x413f8e=path[_0x50a34e(0x1bd)](process['cwd'](),_0x355bf7);fs[_0x50a34e(0x19f)](_0x413f8e,_0x278229,_0x197b75=>{const _0x48c530=_0x50a34e;if(_0x197b75){_0x3ef8a3['dhcOl'](debug,'Error\x20in\x20writing\x20html\x20'+_0x197b75['toString']());return;}_0x3ef8a3[_0x48c530(0x1df)](debug,_0x48c530(0x14a)+_0x413f8e);});if(_0x53b975)return this[_0x50a34e(0x196)](this[_0x50a34e(0x18e)],_0x53b975);}static['generateHTMLReport'](_0x1d82dd){const _0x1f51ff=a79_0x4a8470,_0x5722d4={};_0x5722d4[_0x1f51ff(0x143)]='<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>',_0x5722d4[_0x1f51ff(0x17f)]=_0x1f51ff(0x1d1),_0x5722d4['OCYsP']=_0x1f51ff(0x162),_0x5722d4[_0x1f51ff(0x173)]='</tbody></table></body></html>';const _0x220279=_0x5722d4;let _0x1c22bd=_0x220279['ueOTs'];return _0x1c22bd+=_0x220279['IzUJx'],_0x1c22bd+=_0x220279[_0x1f51ff(0x1d0)],_0x1d82dd['forEach'](_0x3a28c1=>{const _0x417e23=_0x1f51ff;_0x1c22bd+='<tr><td>'+_0x3a28c1[_0x417e23(0x1c5)]+_0x417e23(0x1cb)+_0x3a28c1[_0x417e23(0x1d5)]+_0x417e23(0x1ce);}),_0x1c22bd+=_0x220279[_0x1f51ff(0x173)],_0x1c22bd;}static[a79_0x4a8470(0x1a4)](_0x3d22d1){const _0x4b8112=a79_0x4a8470;if(!this[_0x4b8112(0x14b)])return;const _0x2c0a0c={};_0x3d22d1['map'](_0x10dec4=>{const _0x10a9ea=_0x4b8112;!_0x2c0a0c[_0x10dec4[_0x10a9ea(0x1c5)]]&&(_0x2c0a0c[_0x10dec4[_0x10a9ea(0x1c5)]]=0x0),_0x2c0a0c[_0x10dec4[_0x10a9ea(0x1c5)]]+=_0x10dec4[_0x10a9ea(0x1d5)];});const _0x342061=Object[_0x4b8112(0x18a)](_0x2c0a0c)[_0x4b8112(0x1d3)](([_0x4a431c,_0x278f9d])=>{const _0x4c8929=_0x4b8112,_0x1a0895={};return _0x1a0895[_0x4c8929(0x1c5)]=_0x4a431c,_0x1a0895[_0x4c8929(0x1d5)]=_0x278f9d,_0x1a0895;});fs[_0x4b8112(0x197)](this[_0x4b8112(0x14b)],JSON['stringify'](_0x342061));}static[a79_0x4a8470(0x190)](){const _0x5c89ec=a79_0x4a8470,_0x4e0966={};_0x4e0966[_0x5c89ec(0x192)]=function(_0x463205,_0x21869a){return _0x463205===_0x21869a;},_0x4e0966[_0x5c89ec(0x165)]=_0x5c89ec(0x15a);const _0x337f96=_0x4e0966;return!_0x337f96[_0x5c89ec(0x192)](process[_0x5c89ec(0x1db)][_0x5c89ec(0x1d6)],_0x337f96[_0x5c89ec(0x165)]);}static[a79_0x4a8470(0x1be)](_0x1af058,_0x177c3f,_0x409efa=null,_0x21d034={},_0x361bb9=null){const _0x43f3c0=a79_0x4a8470,_0xd26e52={'gtkiu':function(_0x551e66,_0x3bd382){return _0x551e66(_0x3bd382);},'WCJiF':function(_0x4aeec8,_0x5b8693){return _0x4aeec8 instanceof _0x5b8693;}};try{if(this['started']&&this[_0x43f3c0(0x190)]()){let _0x2cb2de=_0x1af058;_0x409efa&&(_0x2cb2de=_0x1af058+'['+JSON[_0x43f3c0(0x1dc)](_0x409efa)+']');PerformanceTester[_0x43f3c0(0x145)](_0x2cb2de),this[_0x43f3c0(0x164)]&&(this[_0x43f3c0(0x164)][_0x2cb2de]=_0x21d034);try{const _0x1967fd=_0x177c3f[_0x43f3c0(0x146)](null,_0x361bb9);if(_0xd26e52['WCJiF'](_0x1967fd,Promise))return new Promise((_0x4c5b3f,_0x1aa16a)=>{const _0x32aeda=_0x43f3c0;_0x1967fd[_0x32aeda(0x1b0)](_0x2d8f5b=>{const _0x1ef756=_0x32aeda;PerformanceTester['end'](_0x2cb2de),_0xd26e52[_0x1ef756(0x1b5)](_0x4c5b3f,_0x2d8f5b);})['catch'](_0xd10cd0=>{const _0x1344a4=_0x32aeda;PerformanceTester[_0x1344a4(0x18b)](_0x2cb2de,![],util[_0x1344a4(0x14e)](_0xd10cd0)),_0xd26e52[_0x1344a4(0x1b5)](_0x1aa16a,_0xd10cd0);});});;return PerformanceTester['end'](_0x2cb2de),_0x1967fd;}catch(_0x561730){PerformanceTester[_0x43f3c0(0x18b)](_0x2cb2de,![],util[_0x43f3c0(0x14e)](_0x561730));throw _0x561730;}};return _0x177c3f['apply'](null,_0x361bb9);}catch(_0x4a6202){return _0x177c3f['apply'](null,_0x361bb9);}}static[a79_0x4a8470(0x18c)](_0x45a152,_0x4ac276,_0xc1470={}){const _0x5d1817=a79_0x4a8470,_0x1d5576={'luHUZ':function(_0xcb5092){return _0xcb5092();},'LGANQ':function(_0x1aab71){return _0x1aab71();}},_0x2ccaed=this;return _0xc1470[_0x5d1817(0x16a)]=_0x1d5576['luHUZ'](getProcessId),_0xc1470[_0x5d1817(0x15c)]=_0x1d5576[_0x5d1817(0x1a3)](getTestName),_0xc1470['platform']=global[_0x5d1817(0x1bf)]&&global[_0x5d1817(0x1bf)][_0x5d1817(0x16d)],function(){const _0x46a35b=_0x5d1817,_0x1cc2bc=[_0x45a152,_0x4ac276,null,_0xc1470][_0x46a35b(0x198)](arguments);return _0x2ccaed['measure'][_0x46a35b(0x146)](_0x2ccaed,_0x1cc2bc);};}static[a79_0x4a8470(0x1a0)](){const _0x4774fe=a79_0x4a8470,_0x5603db=/(^.*)\[(.*)\]$/,_0x566083={},_0x8c7a2={},_0xc6a34b=[],_0x5297a7=this[_0x4774fe(0x193)][_0x4774fe(0x1b4)](0x0,this[_0x4774fe(0x193)][_0x4774fe(0x182)]);for(const _0x10c063 of _0x5297a7){const _0x23dc2d=_0x10c063['name']['match'](_0x5603db),_0x55d09d=Object[_0x4774fe(0x151)]({},_0x10c063);_0x23dc2d&&(_0x55d09d[_0x4774fe(0x1c5)]=_0x23dc2d[0x1],_0x55d09d[_0x4774fe(0x1bc)]=JSON[_0x4774fe(0x1de)](_0x23dc2d[0x2])),_0xc6a34b[_0x4774fe(0x170)](_0x55d09d);}return _0xc6a34b;}static[a79_0x4a8470(0x16f)](){const _0x4a61e3=a79_0x4a8470,_0x294053={};_0x294053[_0x4a61e3(0x17a)]=function(_0x3c6d9e,_0x3fe75c){return _0x3c6d9e+_0x3fe75c;},_0x294053[_0x4a61e3(0x160)]=_0x4a61e3(0x1c2),_0x294053[_0x4a61e3(0x1ad)]=function(_0x19cd43,_0x2f676e){return _0x19cd43===_0x2f676e;},_0x294053['LCLpZ']=function(_0x4521be,_0x54812a){return _0x4521be+_0x54812a;};const _0x546361=_0x294053;try{if(fs[_0x4a61e3(0x19d)](this['jsonReportDirPath'])){const _0x3d96ad=fs['readdirSync'](this[_0x4a61e3(0x1b6)]);for(const _0x187fde of _0x3d96ad){fs[_0x4a61e3(0x186)](path[_0x4a61e3(0x1bd)](this[_0x4a61e3(0x1b6)],_0x187fde));}}}catch(_0xb315ce){logger[_0x4a61e3(0x15d)](_0x546361[_0x4a61e3(0x17a)](_0x546361[_0x4a61e3(0x160)],_0xb315ce));}if(_0x546361['pKyXX'](this['_measureEvents'][_0x4a61e3(0x182)],0x0))return;const _0x1071e0=this[_0x4a61e3(0x1a0)](),_0x2cb1a4=JSON[_0x4a61e3(0x1dc)](_0x1071e0),_0x3d2381=_0x546361['LCLpZ'](_0x2cb1a4[_0x4a61e3(0x18d)](0x1,-0x1),',');fs[_0x4a61e3(0x188)](this[_0x4a61e3(0x14b)],_0x3d2381);}static async[a79_0x4a8470(0x1a5)](){const _0xfc81aa=a79_0x4a8470,_0x503756={};_0x503756[_0xfc81aa(0x1d8)]=function(_0x1e77ed,_0x21c2de){return _0x1e77ed===_0x21c2de;},_0x503756[_0xfc81aa(0x157)]=function(_0x545ffe,_0x38c84b){return _0x545ffe>_0x38c84b;};const _0x2f4c6f=_0x503756;if(!this['started']||_0x2f4c6f['Sfsfy'](this[_0xfc81aa(0x193)][_0xfc81aa(0x182)],0x0))return[];if(!fs['existsSync'](this[_0xfc81aa(0x1b6)]))return this['_measureEvents'];const _0x2d49c5=(await fsPromise[_0xfc81aa(0x1a7)](this['jsonReportDirPath']))[_0xfc81aa(0x1d3)](_0x184ef7=>path[_0xfc81aa(0x1cd)](this['jsonReportDirPath'],_0x184ef7));let _0x1043f7=(await Promise[_0xfc81aa(0x171)](_0x2d49c5[_0xfc81aa(0x1d3)](_0x3994e7=>fsPromise[_0xfc81aa(0x1c1)](_0x3994e7,_0xfc81aa(0x189)))))['map'](_0x106d67=>'['+_0x106d67[_0xfc81aa(0x18d)](0x0,-0x1)+']')[_0xfc81aa(0x1d3)](_0x32b9f8=>JSON[_0xfc81aa(0x1de)](_0x32b9f8))['flat']();return _0x2f4c6f[_0xfc81aa(0x157)](this['_measureEvents'][_0xfc81aa(0x182)],0x0)&&(_0x1043f7=_0x1043f7[_0xfc81aa(0x198)](this['getCleanedPerfEvents']())),this[_0xfc81aa(0x1c0)][_0xfc81aa(0x181)](),_0x1043f7;}static[a79_0x4a8470(0x1ab)](){const _0x4695f1=a79_0x4a8470,_0x18e7f1={};_0x18e7f1[_0x4695f1(0x169)]=function(_0x3b1b37,_0x4635f1){return _0x3b1b37===_0x4635f1;},_0x18e7f1[_0x4695f1(0x1d2)]=function(_0x3d41f6,_0x2e57a1){return _0x3d41f6+_0x2e57a1;};const _0x585c1d=_0x18e7f1;if(_0x585c1d[_0x4695f1(0x169)](this[_0x4695f1(0x1b3)][_0x4695f1(0x182)],0x0))return;const _0x1cd80f=JSON[_0x4695f1(0x1dc)](this['_errorEvents']),_0x5ed8e5=_0x585c1d[_0x4695f1(0x1d2)](_0x1cd80f[_0x4695f1(0x18d)](0x1,-0x1),',');fs[_0x4695f1(0x188)](this[_0x4695f1(0x168)],_0x5ed8e5);}static['finalizeErrors'](){const _0x156c1e=a79_0x4a8470,_0x34c62d={};_0x34c62d[_0x156c1e(0x1a2)]=function(_0x2c84b4,_0x5aab8b){return _0x2c84b4>_0x5aab8b;};const _0x3cb95b=_0x34c62d;if(!fs[_0x156c1e(0x19d)](this[_0x156c1e(0x17c)]))return this[_0x156c1e(0x1b3)];let _0x589d05=fs[_0x156c1e(0x15f)](this[_0x156c1e(0x17c)])[_0x156c1e(0x185)]();_0x589d05='['+_0x589d05['slice'](0x0,-0x1)+']';let _0x2ba848=JSON[_0x156c1e(0x1de)](_0x589d05);return _0x3cb95b[_0x156c1e(0x1a2)](this[_0x156c1e(0x1b3)][_0x156c1e(0x182)],0x0)&&(_0x2ba848=_0x2ba848[_0x156c1e(0x198)](this[_0x156c1e(0x1b3)])),fs[_0x156c1e(0x186)](this[_0x156c1e(0x17c)]),_0x2ba848;}static[a79_0x4a8470(0x1da)](_0xab6608){const _0x2f8c34=a79_0x4a8470;if(!this[_0x2f8c34(0x190)]())return;this[_0x2f8c34(0x1b3)][_0x2f8c34(0x170)]({'message':_0xab6608[_0x2f8c34(0x1a9)],'trace':_0xab6608[_0x2f8c34(0x172)],'code':_0xab6608[_0x2f8c34(0x1b8)]||null,'time':new Date()});}static[a79_0x4a8470(0x180)](){const _0x4540b2=a79_0x4a8470;try{if(!this['isEnabled']())return;this[_0x4540b2(0x1c0)]['disconnect'](),this[_0x4540b2(0x16f)](),this[_0x4540b2(0x1ab)]();}catch(_0x1419e2){logger['debug'](_0x4540b2(0x199)+util[_0x4540b2(0x14e)](_0x1419e2));}}static async[a79_0x4a8470(0x1c9)](){const _0x175cb4=a79_0x4a8470,_0x39ccf0={'BpzdI':function(_0x7e1eca,_0x2b8a87){return _0x7e1eca(_0x2b8a87);}};await _0x39ccf0[_0x175cb4(0x144)](sleep,0x1e);const _0x5164a6=await this[_0x175cb4(0x1a5)](),_0x2b9e7b=this[_0x175cb4(0x17e)]();if(!this[_0x175cb4(0x190)]()){const _0x1ed540={};return _0x1ed540[_0x175cb4(0x15b)]=[],_0x1ed540[_0x175cb4(0x1b1)]=[],_0x1ed540;}const _0x257905={};return _0x257905['measures']=_0x5164a6,_0x257905[_0x175cb4(0x1b1)]=_0x2b9e7b,_0x257905;}static[a79_0x4a8470(0x145)](_0x2622b8){const _0x3fced8=a79_0x4a8470,_0x282f55={};_0x282f55[_0x3fced8(0x19a)]=function(_0x41b7cd,_0x4d2b8a){return _0x41b7cd+_0x4d2b8a;},_0x282f55[_0x3fced8(0x156)]='-start';const _0x20339b=_0x282f55,_0x131118=_0x20339b[_0x3fced8(0x19a)](_0x2622b8,_0x20339b[_0x3fced8(0x156)]);if(this['eventsMap'][_0x131118])return;performance[_0x3fced8(0x161)](_0x131118),this[_0x3fced8(0x16b)][_0x131118]=0x1;}static[a79_0x4a8470(0x18b)](_0x38c6e5,_0x2b3d12=!![],_0x1c638e=null,_0x52f998={}){const _0x73c058=a79_0x4a8470,_0x4a2061={'svkLI':function(_0x4ae9d9,_0x349f24){return _0x4ae9d9+_0x349f24;},'ZxxJz':_0x73c058(0x1a6),'jZeDU':function(_0x582caf,_0x3a91fd){return _0x582caf+_0x3a91fd;},'WbnDm':_0x73c058(0x163),'hwIEz':function(_0x578085){return _0x578085();},'bObew':function(_0x2e1d20){return _0x2e1d20();}};performance['mark'](_0x4a2061['svkLI'](_0x38c6e5,_0x4a2061[_0x73c058(0x142)])),performance['measure'](_0x38c6e5,_0x4a2061[_0x73c058(0x195)](_0x38c6e5,_0x4a2061[_0x73c058(0x14d)]),_0x4a2061[_0x73c058(0x1a8)](_0x38c6e5,_0x4a2061['ZxxJz']));const _0x5ca7c6={};_0x5ca7c6[_0x73c058(0x15e)]=_0x2b3d12,_0x5ca7c6['failure']=_0x1c638e,this[_0x73c058(0x164)][_0x38c6e5]=Object['assign'](_0x5ca7c6,Object['assign'](Object['assign']({'worker':_0x4a2061[_0x73c058(0x184)](getProcessId),'platform':global['__platformCaps']&&global[_0x73c058(0x1bf)][_0x73c058(0x16d)],'testName':_0x4a2061['bObew'](getTestName)},_0x52f998),this['details'][_0x38c6e5]||{}));}}module['exports']=PerformanceTester;
@@ -1 +1 @@
1
- const a80_0x4362aa=a80_0x2713;function a80_0x2713(_0x187369,_0x29dacc){const _0x1626d7=a80_0x1626();return a80_0x2713=function(_0x2713a4,_0x1b9860){_0x2713a4=_0x2713a4-0x16c;let _0x4d5c9c=_0x1626d7[_0x2713a4];return _0x4d5c9c;},a80_0x2713(_0x187369,_0x29dacc);}(function(_0x6fbf25,_0x3e2b46){const _0x28dccb=a80_0x2713,_0x4d678e=_0x6fbf25();while(!![]){try{const _0x17b5b8=-parseInt(_0x28dccb(0x170))/0x1*(parseInt(_0x28dccb(0x183))/0x2)+parseInt(_0x28dccb(0x175))/0x3*(-parseInt(_0x28dccb(0x172))/0x4)+-parseInt(_0x28dccb(0x16f))/0x5+parseInt(_0x28dccb(0x189))/0x6+parseInt(_0x28dccb(0x188))/0x7*(parseInt(_0x28dccb(0x17b))/0x8)+parseInt(_0x28dccb(0x18a))/0x9*(parseInt(_0x28dccb(0x173))/0xa)+parseInt(_0x28dccb(0x182))/0xb;if(_0x17b5b8===_0x3e2b46)break;else _0x4d678e['push'](_0x4d678e['shift']());}catch(_0x5edbd3){_0x4d678e['push'](_0x4d678e['shift']());}}}(a80_0x1626,0xecd4f));const worker=require(a80_0x4362aa(0x178)),{fileLogger}=require(a80_0x4362aa(0x171)),{consoleHolder}=require(a80_0x4362aa(0x185)),globals=require('./globals');exports[a80_0x4362aa(0x181)]=()=>{const _0x2989a5=a80_0x4362aa;return process[_0x2989a5(0x186)]+'-'+worker[_0x2989a5(0x16d)];},exports[a80_0x4362aa(0x17f)]=()=>{const _0x3459f9=a80_0x4362aa,_0x3931f7={};_0x3931f7[_0x3459f9(0x184)]=_0x3459f9(0x17a);const _0x9137ca=_0x3931f7;return globals[_0x3459f9(0x16c)](_0x9137ca[_0x3459f9(0x184)]);},exports[a80_0x4362aa(0x17e)]=(_0x49bffc=0x64)=>new Promise(_0xb249c1=>setTimeout(_0xb249c1,_0x49bffc)),exports[a80_0x4362aa(0x176)]=_0x496f12=>{const _0x1dfe29=a80_0x4362aa,_0xfaa817={};_0xfaa817[_0x1dfe29(0x174)]=function(_0x4842df,_0x4d3ecf){return _0x4842df===_0x4d3ecf;},_0xfaa817[_0x1dfe29(0x16e)]=_0x1dfe29(0x187);const _0x34eb75=_0xfaa817;fileLogger[_0x1dfe29(0x176)]('['+new Date()[_0x1dfe29(0x177)]()+_0x1dfe29(0x179)+_0x496f12),(_0x34eb75[_0x1dfe29(0x174)](process[_0x1dfe29(0x180)][_0x1dfe29(0x17d)],_0x34eb75[_0x1dfe29(0x16e)])||_0x34eb75['cvoSd'](process['env'][_0x1dfe29(0x17d)],'1'))&&consoleHolder[_0x1dfe29(0x17c)]('\x0a['+new Date()[_0x1dfe29(0x177)]()+_0x1dfe29(0x179)+_0x496f12+'\x0a');};function a80_0x1626(){const _0x83a8a=['sleep','getTestName','env','getProcessId','25886003KuRxWt','3118qtEtrc','dRPjr','./test-observability/constants','pid','true','1834LYySKS','7522692uMDBbF','72wFjkwI','getGlobal','threadId','ZmNkz','5195610kRTUGR','1217KHZlcF','./logger','8796nEYpAf','461470TewBIu','cvoSd','963qKmUCc','debug','toISOString','worker_threads','][\x20OBSERVABILITY\x20]\x20','browserstackTestName','19424qINXnl','log','BROWSERSTACK_OBSERVABILITY_DEBUG'];a80_0x1626=function(){return _0x83a8a;};return a80_0x1626();}
1
+ const a80_0x5c1e63=a80_0x5346;(function(_0x168579,_0x3f76de){const _0x5361c0=a80_0x5346,_0x3f7bcf=_0x168579();while(!![]){try{const _0x6bbf45=parseInt(_0x5361c0(0x171))/0x1+parseInt(_0x5361c0(0x169))/0x2+-parseInt(_0x5361c0(0x178))/0x3+parseInt(_0x5361c0(0x17b))/0x4*(parseInt(_0x5361c0(0x17d))/0x5)+parseInt(_0x5361c0(0x17a))/0x6*(parseInt(_0x5361c0(0x16d))/0x7)+parseInt(_0x5361c0(0x165))/0x8+-parseInt(_0x5361c0(0x170))/0x9;if(_0x6bbf45===_0x3f76de)break;else _0x3f7bcf['push'](_0x3f7bcf['shift']());}catch(_0x1b8912){_0x3f7bcf['push'](_0x3f7bcf['shift']());}}}(a80_0x1c15,0xefb76));const worker=require(a80_0x5c1e63(0x16a)),{fileLogger}=require('./logger'),{consoleHolder}=require(a80_0x5c1e63(0x168)),globals=require(a80_0x5c1e63(0x177));function a80_0x5346(_0x345e2a,_0xe62a8b){const _0x1c15a3=a80_0x1c15();return a80_0x5346=function(_0x534618,_0x14d5ee){_0x534618=_0x534618-0x164;let _0x344088=_0x1c15a3[_0x534618];return _0x344088;},a80_0x5346(_0x345e2a,_0xe62a8b);}function a80_0x1c15(){const _0x51bc18=['24099993JdkWSe','1081061VpnotG','sleep','][\x20OBSERVABILITY\x20]\x20','browserstackTestName','env','getGlobal','./globals','3246867EBWNlS','true','4026VzbiLr','474764sXvByy','BROWSERSTACK_OBSERVABILITY_DEBUG','10uGDMbr','getTestName','log','pqXcQ','debug','13473168fOfArP','hJSNz','ApWOb','./test-observability/constants','985274hPNdCy','worker_threads','UXtCk','getProcessId','13006CPpmvT','threadId','toISOString'];a80_0x1c15=function(){return _0x51bc18;};return a80_0x1c15();}exports[a80_0x5c1e63(0x16c)]=()=>{const _0x5754b8=a80_0x5c1e63;return process['pid']+'-'+worker[_0x5754b8(0x16e)];},exports[a80_0x5c1e63(0x17e)]=()=>{const _0xc19920=a80_0x5c1e63,_0x16b99a={};_0x16b99a[_0xc19920(0x166)]=_0xc19920(0x174);const _0x29617a=_0x16b99a;return globals[_0xc19920(0x176)](_0x29617a[_0xc19920(0x166)]);},exports[a80_0x5c1e63(0x172)]=(_0x5d77bb=0x64)=>new Promise(_0x7c4259=>setTimeout(_0x7c4259,_0x5d77bb)),exports[a80_0x5c1e63(0x164)]=_0x358ee1=>{const _0x3b22f5=a80_0x5c1e63,_0x459243={};_0x459243['pqXcQ']=function(_0x457006,_0x12e674){return _0x457006===_0x12e674;},_0x459243[_0x3b22f5(0x16b)]=_0x3b22f5(0x179),_0x459243['ApWOb']=function(_0x2695ef,_0x4adfcc){return _0x2695ef===_0x4adfcc;};const _0x189fc7=_0x459243;fileLogger['debug']('['+new Date()[_0x3b22f5(0x16f)]()+_0x3b22f5(0x173)+_0x358ee1),(_0x189fc7[_0x3b22f5(0x180)](process[_0x3b22f5(0x175)][_0x3b22f5(0x17c)],_0x189fc7[_0x3b22f5(0x16b)])||_0x189fc7[_0x3b22f5(0x167)](process[_0x3b22f5(0x175)]['BROWSERSTACK_OBSERVABILITY_DEBUG'],'1'))&&consoleHolder[_0x3b22f5(0x17f)]('\x0a['+new Date()['toISOString']()+_0x3b22f5(0x173)+_0x358ee1+'\x0a');};
@@ -1 +1 @@
1
- const a81_0x42df45=a81_0x4e74;(function(_0x2b9bd9,_0x57b361){const _0x5bd35d=a81_0x4e74,_0x2bf38b=_0x2b9bd9();while(!![]){try{const _0x56bc79=-parseInt(_0x5bd35d(0x1c4))/0x1*(parseInt(_0x5bd35d(0x1e7))/0x2)+parseInt(_0x5bd35d(0x1d0))/0x3*(-parseInt(_0x5bd35d(0x1e9))/0x4)+-parseInt(_0x5bd35d(0x1ee))/0x5*(parseInt(_0x5bd35d(0x1d9))/0x6)+-parseInt(_0x5bd35d(0x1db))/0x7*(-parseInt(_0x5bd35d(0x1cd))/0x8)+parseInt(_0x5bd35d(0x1c9))/0x9+-parseInt(_0x5bd35d(0x1cb))/0xa*(parseInt(_0x5bd35d(0x1e2))/0xb)+parseInt(_0x5bd35d(0x1ca))/0xc;if(_0x56bc79===_0x57b361)break;else _0x2bf38b['push'](_0x2bf38b['shift']());}catch(_0x58a4c8){_0x2bf38b['push'](_0x2bf38b['shift']());}}}(a81_0x2b7d,0xa5ef0));const http=require(a81_0x42df45(0x1c7)),https=require(a81_0x42df45(0x1dc)),monkeypatch=require('monkeypatch');function a81_0x2b7d(){const _0x2f5acc=['pathname','http','rKjOs','2747682FYXOYG','26795172rQCsWR','11655530lLtdDQ','error','8HlZLrj','prototype','IZMAl','3PDTuEJ','host','TdGid','request','gLbBg','FEGMg','EOgUT','gsnvL','object','750ivWFFn','bgtug','4609262vSdndD','https','duration_ms','WrDrL','now','path','SrLVl','11mrSZmF','VHeaP','unpatch','assign','end','2DutSXr','response','1311388yQvXfh','uiOzO','hostname','url','IEfwF','17750SuHHco','gxsIb','headers','status_code','TujVs','call','method','forEach','once','579881IEWhof','statusCode'];a81_0x2b7d=function(){return _0x2f5acc;};return a81_0x2b7d();}function spy(_0x3eb731){const _0x2eb772=a81_0x42df45,_0x1500f5={'ijHmk':function(_0x191b77,_0x3427ea){return _0x191b77 instanceof _0x3427ea;},'gsnvL':function(_0x940ba3,_0x304865){return _0x940ba3===_0x304865;},'WrDrL':_0x2eb772(0x1d8),'rKjOs':function(_0x59e530,..._0x5d3040){return _0x59e530(..._0x5d3040);},'TujVs':function(_0x112c7f,_0x4f87dd,_0x188a0a){return _0x112c7f(_0x4f87dd,_0x188a0a);},'gLbBg':function(_0xa2839d,_0x5dee4a){return _0xa2839d-_0x5dee4a;},'TdGid':_0x2eb772(0x1cc),'gxsIb':_0x2eb772(0x1e8),'SrLVl':'socket','EOgUT':function(_0x198a76,_0x3d69b7,_0x1a0bb8,_0x20be58){return _0x198a76(_0x3d69b7,_0x1a0bb8,_0x20be58);},'IZMAl':_0x2eb772(0x1e6),'IEfwF':'request'},_0x16f1bc=function(){const _0x22d24c=_0x2eb772,_0x3519a8={'uiOzO':function(_0x33900d,_0x22c288,_0x3883cb){const _0x2bd312=a81_0x4e74;return _0x1500f5[_0x2bd312(0x1bf)](_0x33900d,_0x22c288,_0x3883cb);},'FEGMg':function(_0x271a3d,_0x2a0a7b){const _0x5df26d=a81_0x4e74;return _0x1500f5[_0x5df26d(0x1d4)](_0x271a3d,_0x2a0a7b);},'VHeaP':function(_0x3b2687,_0x419bbc,_0xe512db){const _0x4fa371=a81_0x4e74;return _0x1500f5[_0x4fa371(0x1bf)](_0x3b2687,_0x419bbc,_0xe512db);},'bgtug':_0x1500f5[_0x22d24c(0x1d2)]},_0x4e3742=arguments[0x0],_0x4bde7a=Array[_0x22d24c(0x1ce)]['slice'][_0x22d24c(0x1c0)](arguments,0x1),_0x5e9158=_0x4e3742['apply'](this,_0x4bde7a);let _0x538f77=Date['now'](),_0x515761;const _0x8e4f4d={};_0x4bde7a[_0x22d24c(0x1c2)](_0x1207b1=>{const _0x1fea22=_0x22d24c;if(_0x1500f5['ijHmk'](_0x1207b1,URL)){const _0x1c4c34={};_0x1c4c34[_0x1fea22(0x1ec)]=_0x1207b1,Object['assign'](_0x8e4f4d,_0x1c4c34);}else _0x1500f5[_0x1fea22(0x1d7)](typeof _0x1207b1,_0x1500f5[_0x1fea22(0x1de)])&&Object[_0x1fea22(0x1e5)](_0x8e4f4d,_0x1207b1);});const _0x3d14dc=_0x327c25=>{const _0x442b84=_0x22d24c,_0x4009aa={};_0x4009aa['host']=_0x8e4f4d[_0x442b84(0x1d1)]||_0x8e4f4d[_0x442b84(0x1eb)]||_0x8e4f4d[_0x442b84(0x1ec)]&&(_0x8e4f4d['url'][_0x442b84(0x1d1)]||_0x8e4f4d[_0x442b84(0x1ec)]['hostname']),_0x4009aa[_0x442b84(0x1e0)]=_0x8e4f4d[_0x442b84(0x1e0)]||_0x8e4f4d[_0x442b84(0x1ec)]&&_0x8e4f4d[_0x442b84(0x1ec)][_0x442b84(0x1c6)],_0x4009aa[_0x442b84(0x1c1)]=_0x8e4f4d[_0x442b84(0x1c1)],_0x4009aa[_0x442b84(0x1bd)]=_0x8e4f4d[_0x442b84(0x1bd)],_0x3519a8[_0x442b84(0x1ea)](_0x3eb731,_0x327c25,_0x4009aa);};return _0x5e9158[_0x22d24c(0x1c3)](_0x1500f5[_0x22d24c(0x1bc)],_0x2a9c5d=>{const _0x216aab=_0x22d24c,_0x1d38da=_0x3519a8[_0x216aab(0x1d5)](Date[_0x216aab(0x1df)](),_0x538f77),_0x4ac7c5={};_0x4ac7c5[_0x216aab(0x1eb)]=_0x8e4f4d[_0x216aab(0x1d1)]||_0x8e4f4d[_0x216aab(0x1eb)]||_0x8e4f4d[_0x216aab(0x1ec)]&&(_0x8e4f4d[_0x216aab(0x1ec)]['host']||_0x8e4f4d[_0x216aab(0x1ec)]['hostname']),_0x4ac7c5[_0x216aab(0x1e0)]=_0x8e4f4d['path']||_0x8e4f4d[_0x216aab(0x1ec)]&&_0x8e4f4d[_0x216aab(0x1ec)]['pathname'],_0x4ac7c5['method']=_0x8e4f4d['method'],_0x4ac7c5[_0x216aab(0x1bd)]=_0x8e4f4d[_0x216aab(0x1bd)],_0x4ac7c5[_0x216aab(0x1be)]=_0x2a9c5d[_0x216aab(0x1c5)],_0x4ac7c5[_0x216aab(0x1dd)]=_0x1d38da,_0x3519a8[_0x216aab(0x1e3)](_0x3eb731,null,_0x4ac7c5),_0x515761['removeListener'](_0x3519a8[_0x216aab(0x1da)],_0x3d14dc);}),_0x5e9158['on'](_0x1500f5[_0x22d24c(0x1e1)],_0x1490ea=>{const _0x565e05=_0x22d24c;_0x515761=_0x1490ea,_0x1490ea[_0x565e05(0x1c3)](_0x3519a8[_0x565e05(0x1da)],_0x3d14dc);}),_0x1500f5[_0x22d24c(0x1d6)](monkeypatch,_0x5e9158,_0x1500f5[_0x22d24c(0x1cf)],(_0x48cc3f,..._0x4b6836)=>{const _0xa3b58c=_0x22d24c;_0x538f77=Date[_0xa3b58c(0x1df)](),_0x1500f5[_0xa3b58c(0x1c8)](_0x48cc3f,..._0x4b6836);}),_0x5e9158;};_0x1500f5['EOgUT'](monkeypatch,http,_0x1500f5[_0x2eb772(0x1ed)],_0x16f1bc),_0x1500f5[_0x2eb772(0x1d6)](monkeypatch,https,_0x1500f5[_0x2eb772(0x1ed)],_0x16f1bc);}function restore(){const _0x4bd82e=a81_0x42df45;http[_0x4bd82e(0x1d3)][_0x4bd82e(0x1e4)](),https[_0x4bd82e(0x1d3)]['unpatch']();}function a81_0x4e74(_0x514d0c,_0x353670){const _0x2b7dbf=a81_0x2b7d();return a81_0x4e74=function(_0x4e74ee,_0x1b01f8){_0x4e74ee=_0x4e74ee-0x1bc;let _0xfade10=_0x2b7dbf[_0x4e74ee];return _0xfade10;},a81_0x4e74(_0x514d0c,_0x353670);}const a81_0x2396af={};a81_0x2396af['spy']=spy,a81_0x2396af['restore']=restore,module['exports']=a81_0x2396af;
1
+ function a81_0x4c3d(_0x459027,_0x536002){const _0x22b82d=a81_0x22b8();return a81_0x4c3d=function(_0x4c3d10,_0x4580f8){_0x4c3d10=_0x4c3d10-0xa7;let _0x1eebcf=_0x22b82d[_0x4c3d10];return _0x1eebcf;},a81_0x4c3d(_0x459027,_0x536002);}const a81_0xd9fe01=a81_0x4c3d;(function(_0x397551,_0xa851c9){const _0x2bec00=a81_0x4c3d,_0x2376dc=_0x397551();while(!![]){try{const _0x153dc1=parseInt(_0x2bec00(0xa8))/0x1+parseInt(_0x2bec00(0xad))/0x2+-parseInt(_0x2bec00(0xcd))/0x3+-parseInt(_0x2bec00(0xd8))/0x4*(-parseInt(_0x2bec00(0xd1))/0x5)+parseInt(_0x2bec00(0xb1))/0x6*(-parseInt(_0x2bec00(0xd4))/0x7)+parseInt(_0x2bec00(0xc6))/0x8+parseInt(_0x2bec00(0xc8))/0x9*(-parseInt(_0x2bec00(0xb7))/0xa);if(_0x153dc1===_0xa851c9)break;else _0x2376dc['push'](_0x2376dc['shift']());}catch(_0x1aa528){_0x2376dc['push'](_0x2376dc['shift']());}}}(a81_0x22b8,0x43622));function a81_0x22b8(){const _0x225ae0=['QWEwt','duration_ms','932904ZbZfsm','host','pathname','end','2489055hPtFds','spy','slice','223923GwdtFY','restore','pzPiW','exports','4CMYupZ','LVpYj','51476cUbKbP','JPNMP','forEach','headers','url','1012170sBCYqw','monkeypatch','hostname','object','6TAexxM','statusCode','apply','now','socket','YLKxi','20VyAOXm','kswgV','http','method','HZxdI','response','IODkU','removeListener','once','unpatch','error','path','assign','xsdnD','SGqlO','1426744yVFzBi','https','2766402uxjXov','prototype','request'];a81_0x22b8=function(){return _0x225ae0;};return a81_0x22b8();}const http=require(a81_0xd9fe01(0xb9)),https=require(a81_0xd9fe01(0xc7)),monkeypatch=require(a81_0xd9fe01(0xae));function spy(_0x412a8f){const _0x438df6=a81_0xd9fe01,_0x43c748={'YLKxi':function(_0x26f6a6,_0x5d00b){return _0x26f6a6 instanceof _0x5d00b;},'kswgV':function(_0x19c482,_0x867450){return _0x19c482===_0x867450;},'NhVVt':_0x438df6(0xb0),'xsdnD':function(_0x6cb4c7,_0x1f8747,_0x48b151){return _0x6cb4c7(_0x1f8747,_0x48b151);},'pzPiW':function(_0xcb6ff,_0x11420e){return _0xcb6ff-_0x11420e;},'bhbKm':function(_0x3a95e1,_0xab05b9,_0x2e82ed){return _0x3a95e1(_0xab05b9,_0x2e82ed);},'LVpYj':_0x438df6(0xc1),'TXiqT':function(_0x5c2b83,..._0x3779cf){return _0x5c2b83(..._0x3779cf);},'PmoHJ':_0x438df6(0xbc),'SGqlO':_0x438df6(0xb5),'HZxdI':function(_0x41158b,_0x55e07d,_0x198929,_0x591967){return _0x41158b(_0x55e07d,_0x198929,_0x591967);},'QWEwt':_0x438df6(0xd0),'JPNMP':function(_0x2206b3,_0x2b17c3,_0x1e3954,_0x3ecea4){return _0x2206b3(_0x2b17c3,_0x1e3954,_0x3ecea4);},'IODkU':_0x438df6(0xca)},_0x32a8a8=function(){const _0x3fc894=_0x438df6,_0x1e2238=arguments[0x0],_0x1a89aa=Array[_0x3fc894(0xc9)][_0x3fc894(0xd3)]['call'](arguments,0x1),_0x7f9cf1=_0x1e2238[_0x3fc894(0xb3)](this,_0x1a89aa);let _0x3320b9=Date[_0x3fc894(0xb4)](),_0x57131a;const _0x175ee5={};_0x1a89aa[_0x3fc894(0xaa)](_0x359fa0=>{const _0x2b9c47=_0x3fc894;if(_0x43c748[_0x2b9c47(0xb6)](_0x359fa0,URL)){const _0x425fb3={};_0x425fb3[_0x2b9c47(0xac)]=_0x359fa0,Object[_0x2b9c47(0xc3)](_0x175ee5,_0x425fb3);}else _0x43c748[_0x2b9c47(0xb8)](typeof _0x359fa0,_0x43c748['NhVVt'])&&Object[_0x2b9c47(0xc3)](_0x175ee5,_0x359fa0);});const _0x26ce16=_0x39920b=>{const _0x503947=_0x3fc894,_0x14bfc9={};_0x14bfc9[_0x503947(0xce)]=_0x175ee5[_0x503947(0xce)]||_0x175ee5['hostname']||_0x175ee5['url']&&(_0x175ee5['url']['host']||_0x175ee5[_0x503947(0xac)][_0x503947(0xaf)]),_0x14bfc9['path']=_0x175ee5[_0x503947(0xc2)]||_0x175ee5[_0x503947(0xac)]&&_0x175ee5['url']['pathname'],_0x14bfc9[_0x503947(0xba)]=_0x175ee5[_0x503947(0xba)],_0x14bfc9[_0x503947(0xab)]=_0x175ee5[_0x503947(0xab)],_0x43c748[_0x503947(0xc4)](_0x412a8f,_0x39920b,_0x14bfc9);};return _0x7f9cf1[_0x3fc894(0xbf)](_0x43c748['PmoHJ'],_0x3363d5=>{const _0x490b72=_0x3fc894,_0x4d5f24=_0x43c748[_0x490b72(0xd6)](Date['now'](),_0x3320b9),_0x414988={};_0x414988['hostname']=_0x175ee5[_0x490b72(0xce)]||_0x175ee5[_0x490b72(0xaf)]||_0x175ee5[_0x490b72(0xac)]&&(_0x175ee5['url']['host']||_0x175ee5[_0x490b72(0xac)]['hostname']),_0x414988[_0x490b72(0xc2)]=_0x175ee5[_0x490b72(0xc2)]||_0x175ee5[_0x490b72(0xac)]&&_0x175ee5[_0x490b72(0xac)][_0x490b72(0xcf)],_0x414988[_0x490b72(0xba)]=_0x175ee5['method'],_0x414988[_0x490b72(0xab)]=_0x175ee5[_0x490b72(0xab)],_0x414988['status_code']=_0x3363d5[_0x490b72(0xb2)],_0x414988[_0x490b72(0xcc)]=_0x4d5f24,_0x43c748['bhbKm'](_0x412a8f,null,_0x414988),_0x57131a[_0x490b72(0xbe)](_0x43c748[_0x490b72(0xa7)],_0x26ce16);}),_0x7f9cf1['on'](_0x43c748[_0x3fc894(0xc5)],_0x14a2b9=>{_0x57131a=_0x14a2b9,_0x14a2b9['once'](_0x43c748['LVpYj'],_0x26ce16);}),_0x43c748[_0x3fc894(0xbb)](monkeypatch,_0x7f9cf1,_0x43c748[_0x3fc894(0xcb)],(_0x1a3bc2,..._0xe855d)=>{_0x3320b9=Date['now'](),_0x43c748['TXiqT'](_0x1a3bc2,..._0xe855d);}),_0x7f9cf1;};_0x43c748[_0x438df6(0xa9)](monkeypatch,http,_0x43c748[_0x438df6(0xbd)],_0x32a8a8),_0x43c748[_0x438df6(0xa9)](monkeypatch,https,_0x43c748[_0x438df6(0xbd)],_0x32a8a8);}function restore(){const _0x31477b=a81_0xd9fe01;http['request'][_0x31477b(0xc0)](),https[_0x31477b(0xca)]['unpatch']();}const a81_0x29ee56={};a81_0x29ee56[a81_0xd9fe01(0xd2)]=spy,a81_0x29ee56[a81_0xd9fe01(0xd5)]=restore,module[a81_0xd9fe01(0xd7)]=a81_0x29ee56;
@@ -1 +1 @@
1
- const a82_0x5c99d6=a82_0x47c1;function a82_0x47c1(_0x44202d,_0xc9939c){const _0x4addda=a82_0x4add();return a82_0x47c1=function(_0x47c1e3,_0x12bdae){_0x47c1e3=_0x47c1e3-0x1e3;let _0x466607=_0x4addda[_0x47c1e3];return _0x466607;},a82_0x47c1(_0x44202d,_0xc9939c);}(function(_0x21f5a5,_0x311eea){const _0x33265f=a82_0x47c1,_0x2121ea=_0x21f5a5();while(!![]){try{const _0xc2955a=parseInt(_0x33265f(0x203))/0x1*(parseInt(_0x33265f(0x1f1))/0x2)+parseInt(_0x33265f(0x1f9))/0x3+-parseInt(_0x33265f(0x1ee))/0x4*(parseInt(_0x33265f(0x1fd))/0x5)+parseInt(_0x33265f(0x1fc))/0x6+parseInt(_0x33265f(0x1f0))/0x7+parseInt(_0x33265f(0x1f2))/0x8*(parseInt(_0x33265f(0x1e6))/0x9)+parseInt(_0x33265f(0x1ef))/0xa*(-parseInt(_0x33265f(0x1ec))/0xb);if(_0xc2955a===_0x311eea)break;else _0x2121ea['push'](_0x2121ea['shift']());}catch(_0x177af4){_0x2121ea['push'](_0x2121ea['shift']());}}}(a82_0x4add,0x3b077));const PerformanceTester=require(a82_0x5c99d6(0x1ea)),{AUTOMATE_EVENTS:PerformanceEvents}=require(a82_0x5c99d6(0x202));module[a82_0x5c99d6(0x1e9)]=PerformanceTester[a82_0x5c99d6(0x1f5)](PerformanceEvents['KEEP_ALIVE'],function(){const _0x2dc13f=a82_0x5c99d6,_0x304f93={'LWwyk':function(_0x7c344b,_0x2418d0){return _0x7c344b===_0x2418d0;},'wMKMg':_0x2dc13f(0x204),'SygLl':'agent','hJYdk':function(_0x34a431,_0x2706b4,_0x789cd){return _0x34a431(_0x2706b4,_0x789cd);},'CMAFo':function(_0xf6514a,_0x5596a5,_0x24cd04){return _0xf6514a(_0x5596a5,_0x24cd04);},'eaBIp':function(_0x29d24e,_0x56e0f9){return _0x29d24e(_0x56e0f9);},'ZKCrX':_0x2dc13f(0x1f7),'iMvGL':function(_0x563b19,_0x38e4f1){return _0x563b19(_0x38e4f1);},'DAjhd':_0x2dc13f(0x1f4),'jeawN':function(_0x387384,_0x3e3515){return _0x387384*_0x3e3515;},'Cwbxz':_0x2dc13f(0x1eb)},_0x7e12cf=_0x304f93[_0x2dc13f(0x1f8)](require,_0x304f93['ZKCrX']),_0x17cac4=_0x304f93[_0x2dc13f(0x200)](require,_0x304f93[_0x2dc13f(0x1fe)]),_0x5ae1e2=_0x304f93['jeawN'](0x1e,0x3e8);if(_0x7e12cf[_0x2dc13f(0x201)]&&Object[_0x2dc13f(0x1fb)][_0x2dc13f(0x1e3)][_0x2dc13f(0x1e7)](_0x7e12cf['globalAgent'],_0x304f93[_0x2dc13f(0x206)]))_0x7e12cf['globalAgent'][_0x2dc13f(0x1eb)]=!![],_0x17cac4['globalAgent'][_0x2dc13f(0x1eb)]=!![],_0x7e12cf[_0x2dc13f(0x201)][_0x2dc13f(0x1e8)]=_0x5ae1e2,_0x17cac4[_0x2dc13f(0x201)][_0x2dc13f(0x1e8)]=_0x5ae1e2;else{const _0x594a3d={};_0x594a3d[_0x2dc13f(0x1eb)]=!![],_0x594a3d[_0x2dc13f(0x1e8)]=_0x5ae1e2;const _0x103175=new _0x7e12cf[(_0x2dc13f(0x1ff))](_0x594a3d),_0x3547a1={};_0x3547a1[_0x2dc13f(0x1eb)]=!![],_0x3547a1['keepAliveMsecs']=_0x5ae1e2;const _0x13aec1=new _0x17cac4[(_0x2dc13f(0x1ff))](_0x3547a1),_0x1ba210=_0x7e12cf['request'],_0x25d688=_0x17cac4[_0x2dc13f(0x1ed)];_0x7e12cf[_0x2dc13f(0x1ed)]=function(_0x24e0a7,_0x10e167){const _0x3e4499=_0x2dc13f;if(_0x304f93[_0x3e4499(0x1fa)](_0x24e0a7[_0x3e4499(0x205)],_0x304f93[_0x3e4499(0x1e5)]))return _0x24e0a7[_0x304f93[_0x3e4499(0x1f3)]]=_0x13aec1,_0x304f93[_0x3e4499(0x1f6)](_0x25d688,_0x24e0a7,_0x10e167);return _0x24e0a7[_0x304f93[_0x3e4499(0x1f3)]]=_0x103175,_0x304f93[_0x3e4499(0x1e4)](_0x1ba210,_0x24e0a7,_0x10e167);};}});function a82_0x4add(){const _0x3466e7=['999033xyxOod','LWwyk','prototype','2050134BxIWFP','5tiaEvL','DAjhd','Agent','iMvGL','globalAgent','./performance/constants','1693gAieQw','https:','protocol','Cwbxz','hasOwnProperty','CMAFo','wMKMg','1413BZthqZ','call','keepAliveMsecs','exports','./performance/performance-tester','keepAlive','4154469tceEXk','request','1094368yGNqzI','20VNupiM','1653092pDBGDO','192kbQgFs','10056dKsqPz','SygLl','https','measureWrapper','hJYdk','http','eaBIp'];a82_0x4add=function(){return _0x3466e7;};return a82_0x4add();}
1
+ const a82_0x5ed170=a82_0x1d5d;(function(_0x1fe332,_0x1026f8){const _0x4a6ec6=a82_0x1d5d,_0x354b60=_0x1fe332();while(!![]){try{const _0x55809c=-parseInt(_0x4a6ec6(0x204))/0x1+-parseInt(_0x4a6ec6(0x203))/0x2+parseInt(_0x4a6ec6(0x1ec))/0x3+-parseInt(_0x4a6ec6(0x1f2))/0x4+-parseInt(_0x4a6ec6(0x1f6))/0x5*(-parseInt(_0x4a6ec6(0x1f4))/0x6)+-parseInt(_0x4a6ec6(0x1fd))/0x7*(parseInt(_0x4a6ec6(0x20e))/0x8)+parseInt(_0x4a6ec6(0x20d))/0x9;if(_0x55809c===_0x1026f8)break;else _0x354b60['push'](_0x354b60['shift']());}catch(_0x58ca8d){_0x354b60['push'](_0x354b60['shift']());}}}(a82_0x5865,0x8c2b2));function a82_0x1d5d(_0x4dd78a,_0x17883e){const _0x586552=a82_0x5865();return a82_0x1d5d=function(_0x1d5dd3,_0x39b6c7){_0x1d5dd3=_0x1d5dd3-0x1ec;let _0x57ecf4=_0x586552[_0x1d5dd3];return _0x57ecf4;},a82_0x1d5d(_0x4dd78a,_0x17883e);}function a82_0x5865(){const _0x3af24b=['http','4985jyOzjy','./performance/constants','agent','https:','measureWrapper','SVjlo','globalAgent','396641uETise','KEEP_ALIVE','request','yoBSn','Agent','https','310702UGgenO','974620WrJBOS','cjjLR','protocol','prototype','keepAliveMsecs','lzfJV','QlMMc','CJFtQ','TWlTX','11225466TNLWlj','24REENDZ','234285mQkjqJ','exports','WjzlG','call','uEuIq','./performance/performance-tester','2255724eQElul','keepAlive','6696XWmAhn'];a82_0x5865=function(){return _0x3af24b;};return a82_0x5865();}const PerformanceTester=require(a82_0x5ed170(0x1f1)),{AUTOMATE_EVENTS:PerformanceEvents}=require(a82_0x5ed170(0x1f7));module[a82_0x5ed170(0x1ed)]=PerformanceTester[a82_0x5ed170(0x1fa)](PerformanceEvents[a82_0x5ed170(0x1fe)],function(){const _0x1b5405=a82_0x5ed170,_0x33ca0c={'QlMMc':function(_0x4c05bd,_0x243bfe){return _0x4c05bd===_0x243bfe;},'CJFtQ':_0x1b5405(0x1f9),'uEuIq':_0x1b5405(0x1f8),'TWlTX':function(_0x15c40a,_0x47e3dd,_0x46eb3f){return _0x15c40a(_0x47e3dd,_0x46eb3f);},'yoBSn':function(_0x34137e,_0x3e6eaf){return _0x34137e(_0x3e6eaf);},'cjjLR':_0x1b5405(0x1f5),'SVjlo':function(_0x890cea,_0x5c3a08){return _0x890cea(_0x5c3a08);},'GMvMj':_0x1b5405(0x202),'lzfJV':function(_0x24c5f8,_0x3c8702){return _0x24c5f8*_0x3c8702;},'WjzlG':_0x1b5405(0x1f3)},_0x23368c=_0x33ca0c[_0x1b5405(0x200)](require,_0x33ca0c[_0x1b5405(0x205)]),_0x50ca3f=_0x33ca0c[_0x1b5405(0x1fb)](require,_0x33ca0c['GMvMj']),_0x23bfb0=_0x33ca0c[_0x1b5405(0x209)](0x1e,0x3e8);if(_0x23368c[_0x1b5405(0x1fc)]&&Object[_0x1b5405(0x207)]['hasOwnProperty'][_0x1b5405(0x1ef)](_0x23368c['globalAgent'],_0x33ca0c[_0x1b5405(0x1ee)]))_0x23368c[_0x1b5405(0x1fc)][_0x1b5405(0x1f3)]=!![],_0x50ca3f[_0x1b5405(0x1fc)][_0x1b5405(0x1f3)]=!![],_0x23368c[_0x1b5405(0x1fc)]['keepAliveMsecs']=_0x23bfb0,_0x50ca3f[_0x1b5405(0x1fc)][_0x1b5405(0x208)]=_0x23bfb0;else{const _0x551240={};_0x551240[_0x1b5405(0x1f3)]=!![],_0x551240[_0x1b5405(0x208)]=_0x23bfb0;const _0x1886b7=new _0x23368c[(_0x1b5405(0x201))](_0x551240),_0x25c5ee={};_0x25c5ee[_0x1b5405(0x1f3)]=!![],_0x25c5ee[_0x1b5405(0x208)]=_0x23bfb0;const _0xe90198=new _0x50ca3f['Agent'](_0x25c5ee),_0x19dcea=_0x23368c[_0x1b5405(0x1ff)],_0x39cb30=_0x50ca3f[_0x1b5405(0x1ff)];_0x23368c[_0x1b5405(0x1ff)]=function(_0x1e2ead,_0x2c67bd){const _0x141152=_0x1b5405;if(_0x33ca0c[_0x141152(0x20a)](_0x1e2ead[_0x141152(0x206)],_0x33ca0c[_0x141152(0x20b)]))return _0x1e2ead[_0x33ca0c[_0x141152(0x1f0)]]=_0xe90198,_0x33ca0c['TWlTX'](_0x39cb30,_0x1e2ead,_0x2c67bd);return _0x1e2ead[_0x33ca0c['uEuIq']]=_0x1886b7,_0x33ca0c[_0x141152(0x20c)](_0x19dcea,_0x1e2ead,_0x2c67bd);};}});
@@ -1 +1 @@
1
- var a83_0x3bf832=a83_0x1134;function a83_0x5ec3(){var _0x5cb8f7=['1232190maPlaj','MOCHA','cucumber','CUCUMBER','api/v1/screenshots','.obs_test_details','jest','91sAjBQq','Playwright','mocha','4469448LWqLtr','api/v1/event','exports','JEST','3307430kADGLK','249642SumiLi','584BAKEwm','https://collector-observability.browserstack.com','CODECEPT','19701dIwScJ','1186862fbFuhu','125784GvLyyM','api/v1/batch'];a83_0x5ec3=function(){return _0x5cb8f7;};return a83_0x5ec3();}function a83_0x1134(_0x2338f7,_0x2c3906){var _0x5ec39d=a83_0x5ec3();return a83_0x1134=function(_0x11343a,_0x30001f){_0x11343a=_0x11343a-0x14c;var _0x49a7c7=_0x5ec39d[_0x11343a];return _0x49a7c7;},a83_0x1134(_0x2338f7,_0x2c3906);}(function(_0x48d480,_0x19a712){var _0x474f90=a83_0x1134,_0x555686=_0x48d480();while(!![]){try{var _0x2fccbb=parseInt(_0x474f90(0x159))/0x1+-parseInt(_0x474f90(0x154))/0x2+-parseInt(_0x474f90(0x15c))/0x3+-parseInt(_0x474f90(0x14f))/0x4+parseInt(_0x474f90(0x153))/0x5+parseInt(_0x474f90(0x15a))/0x6*(parseInt(_0x474f90(0x14c))/0x7)+parseInt(_0x474f90(0x155))/0x8*(parseInt(_0x474f90(0x158))/0x9);if(_0x2fccbb===_0x19a712)break;else _0x555686['push'](_0x555686['shift']());}catch(_0x217260){_0x555686['push'](_0x555686['shift']());}}}(a83_0x5ec3,0x99434));var a83_0x32f1dd={};a83_0x32f1dd['PLAYWRIGHT']=a83_0x3bf832(0x14d),a83_0x32f1dd[a83_0x3bf832(0x15d)]=a83_0x3bf832(0x14e),a83_0x32f1dd[a83_0x3bf832(0x157)]='codeceptjs',a83_0x32f1dd[a83_0x3bf832(0x152)]=a83_0x3bf832(0x162),a83_0x32f1dd[a83_0x3bf832(0x15f)]=a83_0x3bf832(0x15e),module[a83_0x3bf832(0x151)]={'consoleHolder':Object['assign']({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a83_0x3bf832(0x156),'EVENT_ENDPOINT':a83_0x3bf832(0x150),'BATCH_ENDPOINT':a83_0x3bf832(0x15b),'SCREENSHOT_ENDPOINT':a83_0x3bf832(0x160),'DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS':0xea60,'DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS':0x64,'DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS':0x1f4,'TEMP_STORE_DIR_NAME':a83_0x3bf832(0x161),'FRAMEWORKS':a83_0x32f1dd};
1
+ function a83_0x4db1(_0x530faa,_0x3b1b0c){var _0x48943a=a83_0x4894();return a83_0x4db1=function(_0x4db19c,_0x3d7b8b){_0x4db19c=_0x4db19c-0x18b;var _0x2e4c37=_0x48943a[_0x4db19c];return _0x2e4c37;},a83_0x4db1(_0x530faa,_0x3b1b0c);}var a83_0x5b7489=a83_0x4db1;function a83_0x4894(){var _0x5b50d6=['cucumber','PLAYWRIGHT','.obs_test_details','codeceptjs','17WbNPyk','1714455NExMsE','CUCUMBER','Playwright','api/v1/screenshots','8222490OahXtr','exports','api/v1/batch','546012HcCFjm','jest','2092sWeFrU','7cLqNcL','2406mGRQwr','4677750qoUvDu','11tiODfm','23740JMTrbq','JEST','311392sRIzHo','mocha'];a83_0x4894=function(){return _0x5b50d6;};return a83_0x4894();}(function(_0x576140,_0x334f4b){var _0x3cd3b7=a83_0x4db1,_0x139fbb=_0x576140();while(!![]){try{var _0xff771=parseInt(_0x3cd3b7(0x199))/0x1*(-parseInt(_0x3cd3b7(0x191))/0x2)+parseInt(_0x3cd3b7(0x18e))/0x3*(parseInt(_0x3cd3b7(0x18c))/0x4)+-parseInt(_0x3cd3b7(0x19a))/0x5+parseInt(_0x3cd3b7(0x1a1))/0x6+parseInt(_0x3cd3b7(0x18d))/0x7*(parseInt(_0x3cd3b7(0x193))/0x8)+-parseInt(_0x3cd3b7(0x18f))/0x9+-parseInt(_0x3cd3b7(0x19e))/0xa*(-parseInt(_0x3cd3b7(0x190))/0xb);if(_0xff771===_0x334f4b)break;else _0x139fbb['push'](_0x139fbb['shift']());}catch(_0x57bc13){_0x139fbb['push'](_0x139fbb['shift']());}}}(a83_0x4894,0x4aff6));var a83_0x2a16cb={};a83_0x2a16cb[a83_0x5b7489(0x196)]=a83_0x5b7489(0x19c),a83_0x2a16cb['MOCHA']=a83_0x5b7489(0x194),a83_0x2a16cb['CODECEPT']=a83_0x5b7489(0x198),a83_0x2a16cb[a83_0x5b7489(0x192)]=a83_0x5b7489(0x18b),a83_0x2a16cb[a83_0x5b7489(0x19b)]=a83_0x5b7489(0x195),module[a83_0x5b7489(0x19f)]={'consoleHolder':Object['assign']({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':'https://collector-observability.browserstack.com','EVENT_ENDPOINT':'api/v1/event','BATCH_ENDPOINT':a83_0x5b7489(0x1a0),'SCREENSHOT_ENDPOINT':a83_0x5b7489(0x19d),'DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS':0xea60,'DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS':0x64,'DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS':0x1f4,'TEMP_STORE_DIR_NAME':a83_0x5b7489(0x197),'FRAMEWORKS':a83_0x2a16cb};
@@ -1 +1 @@
1
- function a84_0x4ace(_0x55c52a,_0x42c153){const _0x224307=a84_0x2243();return a84_0x4ace=function(_0x4ace60,_0x53ac72){_0x4ace60=_0x4ace60-0x1ca;let _0x2cc6f1=_0x224307[_0x4ace60];return _0x2cc6f1;},a84_0x4ace(_0x55c52a,_0x42c153);}const a84_0x2d5fe8=a84_0x4ace;(function(_0x401625,_0x2fdb4c){const _0x2481ec=a84_0x4ace,_0x573c54=_0x401625();while(!![]){try{const _0x15af05=parseInt(_0x2481ec(0x1ec))/0x1+-parseInt(_0x2481ec(0x1e1))/0x2*(parseInt(_0x2481ec(0x1e0))/0x3)+parseInt(_0x2481ec(0x225))/0x4*(parseInt(_0x2481ec(0x1e9))/0x5)+parseInt(_0x2481ec(0x20a))/0x6+parseInt(_0x2481ec(0x1fa))/0x7*(-parseInt(_0x2481ec(0x206))/0x8)+-parseInt(_0x2481ec(0x22c))/0x9*(-parseInt(_0x2481ec(0x22a))/0xa)+-parseInt(_0x2481ec(0x219))/0xb*(parseInt(_0x2481ec(0x1dd))/0xc);if(_0x15af05===_0x2fdb4c)break;else _0x573c54['push'](_0x573c54['shift']());}catch(_0x210f69){_0x573c54['push'](_0x573c54['shift']());}}}(a84_0x2243,0x50e14));const util=require(a84_0x2d5fe8(0x1eb)),PerformanceTester=require(a84_0x2d5fe8(0x1e2)),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require(a84_0x2d5fe8(0x221)),{getAgentVersion,nestedKeyValue}=require(a84_0x2d5fe8(0x1ff)),o11yErrorHandler=(_0x59e8ab,_0x149c55='',_0x99eaf=[''],_0x31f9b7=![])=>{const _0x185c26={'iwqkz':function(_0x1d92da,_0x53d613){return _0x1d92da(_0x53d613);},'iDWxO':function(_0x265ba1,_0x3ec0de,_0x5dcef8){return _0x265ba1(_0x3ec0de,_0x5dcef8);},'fzYHe':function(_0x2fd694,_0x2763d6,_0x1a8532){return _0x2fd694(_0x2763d6,_0x1a8532);},'BSxaL':function(_0x1933b4,_0x58ce14){return _0x1933b4 instanceof _0x58ce14;},'ujqYd':function(_0x1fbeef,_0x58c8a5,_0x2cded8,_0x101b7f,_0x3f536f){return _0x1fbeef(_0x58c8a5,_0x2cded8,_0x101b7f,_0x3f536f);}};return function(..._0x56f5b5){const _0x251415=a84_0x4ace;try{let _0x2a6767=_0x59e8ab;process[_0x251415(0x227)][_0x251415(0x1d9)]&&(_0x2a6767=PerformanceTester[_0x251415(0x20f)]()[_0x251415(0x1d8)](_0x2a6767));_0x31f9b7&&_0x185c26[_0x251415(0x1e8)](trace,_0x251415(0x1cd)+_0x149c55+_0x251415(0x1fe)+process[_0x251415(0x1d6)]+_0x251415(0x1f5)+_0x185c26[_0x251415(0x22b)](nestedKeyValue,arguments[0x0],_0x99eaf));const _0x3c4a40=_0x2a6767[_0x251415(0x1da)](null,arguments);_0x31f9b7&&_0x185c26['iwqkz'](trace,_0x251415(0x226)+_0x149c55+',\x20PID\x20-\x20'+process['pid']+',\x20Argument\x20-\x20'+_0x185c26[_0x251415(0x237)](nestedKeyValue,arguments[0x0],_0x99eaf));if(_0x185c26[_0x251415(0x1ca)](_0x3c4a40,Promise))return _0x3c4a40[_0x251415(0x200)](_0x5ebfa1=>processError(_0x5ebfa1,_0x59e8ab,_0x56f5b5,_0x149c55));return _0x3c4a40;}catch(_0x345301){_0x185c26['ujqYd'](processError,_0x345301,_0x59e8ab,_0x56f5b5,_0x149c55);}};},o11yClassErrorHandler=(_0x3f8962,_0x2fe580,_0xd0108='')=>{const _0x4e251f=a84_0x2d5fe8,_0xe9bd01={'OlHpb':function(_0x5c12dd,_0x11c485){return _0x5c12dd instanceof _0x11c485;},'fOGqI':function(_0x379550,_0x1c5fc4,_0x47da12,_0x1c6982,_0x4d330e){return _0x379550(_0x1c5fc4,_0x47da12,_0x1c6982,_0x4d330e);},'ziVGc':function(_0x4031cd,_0x47b626){return _0x4031cd===_0x47b626;},'dUSfc':'function','OOerj':function(_0x30cc15,_0x559359){return _0x30cc15!==_0x559359;},'TWqix':_0x4e251f(0x231),'xuiKt':function(_0x544b42,_0x468f89){return _0x544b42<_0x468f89;}},_0x1e87f3=_0x3f8962[_0x4e251f(0x239)];if(_0xe9bd01[_0x4e251f(0x1d5)](Object['getOwnPropertyNames'](_0x1e87f3)[_0x4e251f(0x238)],0x2))return _0x3f8962;return Object[_0x4e251f(0x1ce)](_0x1e87f3)[_0x4e251f(0x22d)](_0x3909e7=>{const _0x19e6c7=_0x4e251f,_0x237d8a={'PSZVb':function(_0x3b6ee9,_0x2a1c92){const _0x264cbb=a84_0x4ace;return _0xe9bd01[_0x264cbb(0x211)](_0x3b6ee9,_0x2a1c92);},'jhCzq':function(_0x2eeed0,_0x4004e4,_0x8acaeb,_0x54c533,_0x220c4b){const _0x11c808=a84_0x4ace;return _0xe9bd01[_0x11c808(0x232)](_0x2eeed0,_0x4004e4,_0x8acaeb,_0x54c533,_0x220c4b);}};if(!(_0x2fe580&&_0x2fe580[_0x19e6c7(0x233)](_0x3909e7)))return;const _0x38765c=_0x1e87f3[_0x3909e7];_0xe9bd01['ziVGc'](typeof _0x38765c,_0xe9bd01[_0x19e6c7(0x20c)])&&_0xe9bd01[_0x19e6c7(0x1ed)](_0x3909e7,_0xe9bd01[_0x19e6c7(0x236)])&&Object[_0x19e6c7(0x218)](_0x1e87f3,_0x3909e7,{'writable':!![],'value':function(..._0x59ddc9){const _0x389406=_0x19e6c7;try{const _0x12aa84=(process[_0x389406(0x227)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']?PerformanceTester[_0x389406(0x20f)]()[_0x389406(0x1d8)](_0x38765c):_0x38765c)[_0x389406(0x213)](this,..._0x59ddc9);if(_0x237d8a[_0x389406(0x1e6)](_0x12aa84,Promise))return _0x12aa84[_0x389406(0x200)](_0x415318=>processError(_0x415318,_0x38765c,_0x59ddc9,_0xd0108));return _0x12aa84;}catch(_0x519ed5){_0x237d8a[_0x389406(0x20b)](processError,_0x519ed5,_0x38765c,_0x59ddc9,_0xd0108);}}});}),_0x3f8962;};function processError(_0x13f4d7,_0x232e1f,_0x2a357b,_0x18006c){const _0x1e7bdf=a84_0x2d5fe8,_0x1d7acb={'jKqjA':function(_0x114df6,_0x3f93eb){return _0x114df6(_0x3f93eb);}};_0x1d7acb[_0x1e7bdf(0x1db)](debug,_0x1e7bdf(0x1f8)+_0x232e1f[_0x1e7bdf(0x1d3)]+'\x20--\x20'+_0x18006c+_0x1e7bdf(0x20e)+_0x13f4d7+_0x1e7bdf(0x212)+_0x2a357b+'.'),PerformanceTester[_0x1e7bdf(0x1f6)](_0x13f4d7);let _0x13e4ff;try{_0x13e4ff=JSON['stringify'](_0x2a357b);}catch(_0x1865b0){const _0x5b96c0={};_0x5b96c0[_0x1e7bdf(0x228)]=0x2,_0x13e4ff=util[_0x1e7bdf(0x20d)](_0x2a357b,_0x5b96c0);}CrashReporter['uploadCrashReport']('Error\x20in\x20executing\x20'+_0x232e1f['name']+_0x1e7bdf(0x1ea)+_0x18006c+_0x1e7bdf(0x20e)+_0x13f4d7+_0x1e7bdf(0x212)+_0x13e4ff+'.',_0x13f4d7&&_0x13f4d7[_0x1e7bdf(0x1cb)]);}class CrashReporter{static [a84_0x2d5fe8(0x1f1)]={};static [a84_0x2d5fe8(0x1e7)];static [a84_0x2d5fe8(0x201)]={};static['initialize'](_0x33f4b8,_0x514993,_0x3b45ab=null){const _0x275ec1=a84_0x2d5fe8,_0x5ba947={'oyKQX':function(_0x309c68,_0x2d4efe){return _0x309c68(_0x2d4efe);},'qiqpP':function(_0x402dc1,_0x225e65){return _0x402dc1(_0x225e65);},'wgFxi':function(_0x1b577d,_0x1dfd24){return _0x1b577d(_0x1dfd24);}},_0x915311=_0x33f4b8[_0x275ec1(0x21f)],_0x2284d1=_0x33f4b8['frameworkVersion'];!_0x3b45ab&&(_0x3b45ab=_0x5ba947[_0x275ec1(0x21a)](getBrowserStackConfig,_0x915311));!_0x2284d1&&_0x5ba947[_0x275ec1(0x1f9)](getFrameworkVersion,_0x915311);const _0x3ab7e1={};_0x3ab7e1[_0x275ec1(0x21f)]=_0x915311,_0x3ab7e1[_0x275ec1(0x230)]=_0x2284d1,this[_0x275ec1(0x235)](_0x3ab7e1,_0x514993,_0x5ba947['wgFxi'](getUserCredentials,_0x3b45ab));}static[a84_0x2d5fe8(0x1d1)](_0x408ced,_0x2ba0f1){const _0x56e31d=a84_0x2d5fe8,_0x3f2a6d={};_0x3f2a6d[_0x56e31d(0x208)]=_0x408ced,_0x3f2a6d[_0x56e31d(0x22f)]=_0x2ba0f1,this[_0x56e31d(0x1e7)]=_0x3f2a6d,process[_0x56e31d(0x227)][_0x56e31d(0x1d2)]=JSON[_0x56e31d(0x234)](this[_0x56e31d(0x1e7)]);}static[a84_0x2d5fe8(0x1ee)](){const _0x4b8242=a84_0x2d5fe8,_0x1036cc={'YqDmX':function(_0x1e331e,_0x2db48c){return _0x1e331e(_0x2db48c);}};if(!this['credentials']&&process[_0x4b8242(0x227)][_0x4b8242(0x1d2)])try{this[_0x4b8242(0x1e7)]=JSON[_0x4b8242(0x21d)](process['env'][_0x4b8242(0x1d2)]);}catch(_0x2f7aae){_0x1036cc[_0x4b8242(0x1cf)](debug,_0x4b8242(0x1e4)+_0x2f7aae[_0x4b8242(0x217)]());}return this[_0x4b8242(0x1e7)];}static[a84_0x2d5fe8(0x216)](_0x4629b7){const _0x506322=a84_0x2d5fe8;this[_0x506322(0x1f1)]=this['filterPII'](_0x4629b7),process[_0x506322(0x227)]['USER_CONFIG_FOR_REPORTING']=JSON[_0x506322(0x234)](this[_0x506322(0x1f1)]);}static['getConfig'](){const _0x5c8a8a=a84_0x2d5fe8,_0x4a0da0={'ibnlr':function(_0x27ddab,_0x798c0e){return _0x27ddab===_0x798c0e;},'rDrle':function(_0x135dc5,_0x305484){return _0x135dc5(_0x305484);}};if(_0x4a0da0['ibnlr'](Object['keys'](this['userConfig'])[_0x5c8a8a(0x238)],0x0)&&process['env'][_0x5c8a8a(0x223)])try{this['userConfig']=JSON[_0x5c8a8a(0x21d)](process['env']['USER_CONFIG_FOR_REPORTING']);}catch(_0x1d8db0){_0x4a0da0[_0x5c8a8a(0x21c)](debug,'Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20'+_0x1d8db0['toString']()),this[_0x5c8a8a(0x1f1)]={};}return this[_0x5c8a8a(0x1f1)];}static[a84_0x2d5fe8(0x203)](_0x3c01d8){const _0x29763c=a84_0x2d5fe8;this['frameworkDetails']=_0x3c01d8,process[_0x29763c(0x227)][_0x29763c(0x204)]=JSON['stringify'](this[_0x29763c(0x201)]);}static[a84_0x2d5fe8(0x205)](){const _0x14ae24=a84_0x2d5fe8,_0x488c81={'ljSdW':function(_0x5d7870,_0x182ced){return _0x5d7870===_0x182ced;},'BZuWF':function(_0x1eb1e7,_0x440931){return _0x1eb1e7(_0x440931);}};if(_0x488c81['ljSdW'](Object[_0x14ae24(0x1fb)](this[_0x14ae24(0x201)])[_0x14ae24(0x238)],0x0)&&process[_0x14ae24(0x227)]['BROWSERSTACK_O11Y_FRAMEWORK_DETAILS'])try{this[_0x14ae24(0x201)]=JSON[_0x14ae24(0x21d)](process[_0x14ae24(0x227)][_0x14ae24(0x204)]);}catch(_0x3d5e4d){_0x488c81['BZuWF'](debug,_0x14ae24(0x1e4)+_0x3d5e4d[_0x14ae24(0x217)]());}return this[_0x14ae24(0x201)];}static[a84_0x2d5fe8(0x235)](_0x3af8b6,_0x30d564,_0x6343d2){const _0x4fd293=a84_0x2d5fe8;_0x3af8b6&&this[_0x4fd293(0x203)](_0x3af8b6),_0x30d564&&this['setConfigDetails'](_0x30d564),_0x6343d2&&this[_0x4fd293(0x1d1)](_0x6343d2[_0x4fd293(0x208)],_0x6343d2[_0x4fd293(0x22f)]);}static async[a84_0x2d5fe8(0x224)](_0x23de7a,_0x1b8db8){const _0x51e737=a84_0x2d5fe8,_0x33c570={'RIXdN':function(_0x462a39,_0x1d2387){return _0x462a39(_0x1d2387);},'yPcmr':function(_0x1400d2,_0x213545){return _0x1400d2(_0x213545);},'zJzHN':_0x51e737(0x21b),'pytNW':function(_0x16cc43){return _0x16cc43();},'dqkZT':'/api/v1/analytics','qHLaq':_0x51e737(0x1e5),'blpjk':_0x51e737(0x214),'JlKzq':function(_0x2cf026,_0x28da5c,_0x2750e1,_0xa3af44,_0xa761da,_0x458211){return _0x2cf026(_0x28da5c,_0x2750e1,_0xa3af44,_0xa761da,_0x458211);},'LEgBw':_0x51e737(0x222)};this['getCredentials']();if(!this[_0x51e737(0x1e7)])return _0x33c570[_0x51e737(0x207)](debug,_0x33c570['zJzHN']);this['getConfig'](),this['getFramework']();const _0x357aba={'hashed_id':process['env'][_0x51e737(0x202)],'observability_version':{'sdkVersion':_0x33c570['pytNW'](getAgentVersion),'frameworkName':this[_0x51e737(0x201)][_0x51e737(0x21f)],'frameworkVersion':this['frameworkDetails']['frameworkVersion']},'exception':{'error':_0x23de7a[_0x51e737(0x217)](),'stackTrace':_0x1b8db8},'config':this[_0x51e737(0x1f1)]},_0x45161f=_0x33c570[_0x51e737(0x22e)],_0x8992be={};_0x8992be[_0x51e737(0x208)]=this[_0x51e737(0x1e7)][_0x51e737(0x208)],_0x8992be[_0x51e737(0x1d0)]=this[_0x51e737(0x1e7)][_0x51e737(0x22f)];const _0x22a5db={};_0x22a5db[_0x51e737(0x1f0)]=_0x33c570['qHLaq'],_0x22a5db[_0x51e737(0x1de)]=_0x33c570[_0x51e737(0x21e)];const _0xd8826a={};_0xd8826a['auth']=_0x8992be,_0xd8826a[_0x51e737(0x1d7)]=_0x22a5db;const _0x3efc6e=_0xd8826a;_0x33c570[_0x51e737(0x210)](nodeRequest,_0x33c570['LEgBw'],_0x45161f,_0x357aba,_0x3efc6e,![])['then'](_0x2aaa34=>{const _0x55d314=_0x51e737;_0x33c570[_0x55d314(0x1fd)](debug,_0x55d314(0x229)+JSON['stringify'](_0x2aaa34));})[_0x51e737(0x200)](_0x10eec5=>{const _0x5e9e05=_0x51e737;_0x33c570[_0x5e9e05(0x1fd)](debug,'[Crash_Report_Upload]\x20Failed\x20due\x20to\x20'+util['format'](_0x10eec5));});}static[a84_0x2d5fe8(0x215)](_0x4d62e9){const _0x3a6340=a84_0x2d5fe8,_0x29eecb={};_0x29eecb[_0x3a6340(0x1f3)]=_0x3a6340(0x1f2),_0x29eecb['cgaFI']=_0x3a6340(0x208),_0x29eecb[_0x3a6340(0x1cc)]=_0x3a6340(0x1e3),_0x29eecb[_0x3a6340(0x209)]='accessKey',_0x29eecb['nKWVW']=_0x3a6340(0x1d0),_0x29eecb['VxCPc']=function(_0x381a47,_0x288934){return _0x381a47===_0x288934;},_0x29eecb['FJCIA']=_0x3a6340(0x220);const _0x2cbcf7=_0x29eecb;if(!_0x4d62e9)return;const _0x85ef23=[_0x2cbcf7[_0x3a6340(0x1f3)],_0x2cbcf7['cgaFI'],_0x2cbcf7['hJEop'],_0x2cbcf7[_0x3a6340(0x209)],_0x2cbcf7[_0x3a6340(0x1ef)]];for(const _0x5e53e8 in _0x4d62e9){if(_0x85ef23[_0x3a6340(0x233)](_0x5e53e8[_0x3a6340(0x1f7)]()))delete _0x4d62e9[_0x5e53e8];else _0x2cbcf7[_0x3a6340(0x1dc)](typeof _0x4d62e9[_0x5e53e8],_0x2cbcf7['FJCIA'])&&this['recursivelyDeletePIIKeysFromObject'](_0x4d62e9[_0x5e53e8]);}}static[a84_0x2d5fe8(0x1df)](_0x30edc6){const _0x1dab91=a84_0x2d5fe8,_0x587cf9=JSON[_0x1dab91(0x21d)](JSON[_0x1dab91(0x234)](_0x30edc6));return this[_0x1dab91(0x215)](_0x587cf9),_0x587cf9;}}const a84_0x5e46b1={};a84_0x5e46b1['o11yErrorHandler']=o11yErrorHandler,a84_0x5e46b1[a84_0x2d5fe8(0x1fc)]=o11yClassErrorHandler,a84_0x5e46b1[a84_0x2d5fe8(0x1d4)]=CrashReporter,module[a84_0x2d5fe8(0x1f4)]=a84_0x5e46b1;function a84_0x2243(){const _0x205b0c=['Content-Type','userConfig','user','ShRXA','exports',',\x20Argument\x20-\x20','captureError','toLowerCase','Error\x20in\x20executing\x20','qiqpP','3018995PpwsvW','keys','o11yClassErrorHandler','RIXdN',',\x20PID\x20-\x20','../helper','catch','frameworkDetails','BS_TESTOPS_BUILD_HASHED_ID','setFrameworkDetails','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','getFramework','8EpIxqp','yPcmr','username','FEeSO','2930976TwtVKX','jhCzq','dUSfc','inspect','.\x20Error\x20-\x20','getPerformance','JlKzq','OlHpb','.\x20Args\x20-\x20','call','true','recursivelyDeletePIIKeysFromObject','setConfigDetails','toString','defineProperty','44AMJXrQ','oyKQX','[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','rDrle','parse','blpjk','frameworkName','object','./utils','POST','USER_CONFIG_FOR_REPORTING','uploadCrashReport','3180UFjjkm','Finished\x20::\x20','env','depth','[Crash_Report_Upload]\x20Success\x20response:\x20','957150HMDtdx','iDWxO','9NCLfjc','forEach','dqkZT','accessKey','frameworkVersion','constructor','fOGqI','includes','stringify','setAllDetails','TWqix','fzYHe','length','prototype','BSxaL','stack','hJEop','Started\x20::\x20','getOwnPropertyNames','YqDmX','password','setCredentials','CREDENTIALS_FOR_CRASH_REPORTING','name','CrashReporter','xuiKt','pid','headers','timerify','BROWSERSTACK_O11Y_PERF_MEASUREMENT','apply','jKqjA','VxCPc','1122516jZOcnD','X-BSTACK-TESTOPS','filterPII','384PvVgVu','7064LIbzOq','../performance/performance-tester','key','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','application/json','PSZVb','credentials','iwqkz','2855kzykFB','\x20--\x20','util','550681DqJfQL','OOerj','getCredentials','nKWVW'];a84_0x2243=function(){return _0x205b0c;};return a84_0x2243();}
1
+ const a84_0x1e496c=a84_0x3c7b;(function(_0x120e16,_0x52cf56){const _0x20a9c1=a84_0x3c7b,_0x262224=_0x120e16();while(!![]){try{const _0x19cb9c=-parseInt(_0x20a9c1(0x153))/0x1*(-parseInt(_0x20a9c1(0x12f))/0x2)+-parseInt(_0x20a9c1(0x129))/0x3*(-parseInt(_0x20a9c1(0x136))/0x4)+-parseInt(_0x20a9c1(0x15d))/0x5+parseInt(_0x20a9c1(0x15c))/0x6+-parseInt(_0x20a9c1(0x166))/0x7*(-parseInt(_0x20a9c1(0x13a))/0x8)+parseInt(_0x20a9c1(0x133))/0x9+-parseInt(_0x20a9c1(0x147))/0xa;if(_0x19cb9c===_0x52cf56)break;else _0x262224['push'](_0x262224['shift']());}catch(_0x4791b1){_0x262224['push'](_0x262224['shift']());}}}(a84_0x32e3,0x93157));const util=require(a84_0x1e496c(0x114)),PerformanceTester=require(a84_0x1e496c(0x160)),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require('./utils'),{getAgentVersion,nestedKeyValue}=require('../helper'),o11yErrorHandler=(_0x4531c9,_0x2f1d03='',_0x41cd00=[''],_0x5d3205=![])=>{const _0x15cf82={'mLIhR':function(_0x52e00c,_0x561257){return _0x52e00c(_0x561257);},'hyHYw':function(_0x1a56e3,_0x5c1402,_0x5a6967){return _0x1a56e3(_0x5c1402,_0x5a6967);},'YRsok':function(_0x1f37f5,_0x325af2){return _0x1f37f5(_0x325af2);},'mEXdz':function(_0x325701,_0x42be97,_0x4a72de){return _0x325701(_0x42be97,_0x4a72de);},'CfnVu':function(_0x39de5c,_0x33b452){return _0x39de5c instanceof _0x33b452;},'iLNOG':function(_0x14b204,_0x518982,_0x32fc0d,_0x375cc9,_0x4e4659){return _0x14b204(_0x518982,_0x32fc0d,_0x375cc9,_0x4e4659);}};return function(..._0x63eb5a){const _0x4701ce=a84_0x3c7b;try{let _0xc722ba=_0x4531c9;process['env'][_0x4701ce(0x151)]&&(_0xc722ba=PerformanceTester['getPerformance']()[_0x4701ce(0x107)](_0xc722ba));_0x5d3205&&_0x15cf82['mLIhR'](trace,_0x4701ce(0x168)+_0x2f1d03+_0x4701ce(0x16c)+process[_0x4701ce(0x11a)]+_0x4701ce(0x144)+_0x15cf82[_0x4701ce(0x12e)](nestedKeyValue,arguments[0x0],_0x41cd00));const _0x587946=_0xc722ba['apply'](null,arguments);_0x5d3205&&_0x15cf82[_0x4701ce(0x105)](trace,_0x4701ce(0x142)+_0x2f1d03+_0x4701ce(0x16c)+process[_0x4701ce(0x11a)]+',\x20Argument\x20-\x20'+_0x15cf82[_0x4701ce(0x12b)](nestedKeyValue,arguments[0x0],_0x41cd00));if(_0x15cf82[_0x4701ce(0x123)](_0x587946,Promise))return _0x587946['catch'](_0x5bf331=>processError(_0x5bf331,_0x4531c9,_0x63eb5a,_0x2f1d03));return _0x587946;}catch(_0x3ecc99){_0x15cf82[_0x4701ce(0x10f)](processError,_0x3ecc99,_0x4531c9,_0x63eb5a,_0x2f1d03);}};},o11yClassErrorHandler=(_0xb218d5,_0x50e4d9,_0x5dc82a='')=>{const _0x5e0f77=a84_0x1e496c,_0x568777={'iOceN':function(_0x3cc6bc,_0x310300){return _0x3cc6bc instanceof _0x310300;},'mzmfp':function(_0x255f96,_0x572e9e,_0x26fe2c,_0x21694b,_0xce33fb){return _0x255f96(_0x572e9e,_0x26fe2c,_0x21694b,_0xce33fb);},'JhaOP':function(_0xaa2995,_0x1e70cf){return _0xaa2995===_0x1e70cf;},'zHQCy':'function','druds':function(_0x5995fe,_0x4e1e3d){return _0x5995fe!==_0x4e1e3d;},'vEUbu':_0x5e0f77(0x165),'lGbqZ':function(_0x4fa646,_0x2a544e){return _0x4fa646<_0x2a544e;}},_0x3e7bec=_0xb218d5[_0x5e0f77(0x16f)];if(_0x568777['lGbqZ'](Object[_0x5e0f77(0x130)](_0x3e7bec)[_0x5e0f77(0x15e)],0x2))return _0xb218d5;return Object[_0x5e0f77(0x130)](_0x3e7bec)[_0x5e0f77(0x115)](_0x14e034=>{const _0x366d2d=_0x5e0f77,_0x44508f={'QRPmG':function(_0xcbc548,_0x136494){const _0x1b1289=a84_0x3c7b;return _0x568777[_0x1b1289(0x10d)](_0xcbc548,_0x136494);},'QFksC':function(_0x263b10,_0x4ff24b,_0x507da5,_0xe04a3f,_0x24aacd){const _0x84e384=a84_0x3c7b;return _0x568777[_0x84e384(0x154)](_0x263b10,_0x4ff24b,_0x507da5,_0xe04a3f,_0x24aacd);}};if(!(_0x50e4d9&&_0x50e4d9[_0x366d2d(0x119)](_0x14e034)))return;const _0x227099=_0x3e7bec[_0x14e034];_0x568777[_0x366d2d(0x161)](typeof _0x227099,_0x568777['zHQCy'])&&_0x568777[_0x366d2d(0x157)](_0x14e034,_0x568777['vEUbu'])&&Object['defineProperty'](_0x3e7bec,_0x14e034,{'writable':!![],'value':function(..._0x3aead3){const _0x59ff6a=_0x366d2d;try{const _0x1d8d9b=(process[_0x59ff6a(0x164)][_0x59ff6a(0x151)]?PerformanceTester[_0x59ff6a(0x16b)]()['timerify'](_0x227099):_0x227099)[_0x59ff6a(0x155)](this,..._0x3aead3);if(_0x44508f['QRPmG'](_0x1d8d9b,Promise))return _0x1d8d9b['catch'](_0x1bb036=>processError(_0x1bb036,_0x227099,_0x3aead3,_0x5dc82a));return _0x1d8d9b;}catch(_0x3532c2){_0x44508f[_0x59ff6a(0x14d)](processError,_0x3532c2,_0x227099,_0x3aead3,_0x5dc82a);}}});}),_0xb218d5;};function a84_0x3c7b(_0x45f1a5,_0x21e5e9){const _0x32e351=a84_0x32e3();return a84_0x3c7b=function(_0x3c7b23,_0x6cb486){_0x3c7b23=_0x3c7b23-0x105;let _0x42c41f=_0x32e351[_0x3c7b23];return _0x42c41f;},a84_0x3c7b(_0x45f1a5,_0x21e5e9);}function a84_0x32e3(){const _0x306469=['KEWhH','ZZaDz','YRsok','setCredentials','timerify','LvHRM','stringify','frameworkVersion','setConfigDetails','ItcJc','iOceN','auth','iLNOG','then','exports','setAllDetails','BahFr','util','forEach','frameworkName','.\x20Args\x20-\x20','tywDP','includes','pid','HamZR','Content-Type','true','setFrameworkDetails','Error\x20in\x20executing\x20','accessKey','depth','uploadCrashReport','CfnVu','o11yErrorHandler','CREDENTIALS_FOR_CRASH_REPORTING','key','parse','credentials','10137IUyHBo','JGxwp','mEXdz','cVYXu','filterPII','hyHYw','54284HvWuck','getOwnPropertyNames','headers','X-BSTACK-TESTOPS','7933347cuxsrr','stack','AOIMI','724odpuGo','toString','tlrKV','format','9141376JGBRLi','POST','getConfig','frameworkDetails','pJILA','[Crash_Report_Upload]\x20Success\x20response:\x20','captureError','RWXmI','Finished\x20::\x20','oELSW',',\x20Argument\x20-\x20','username','[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','27276920hGpoXO','myGaP','getFramework','fORXG','QEDYb','recursivelyDeletePIIKeysFromObject','QFksC','userConfig','getCredentials','DDEiO','BROWSERSTACK_O11Y_PERF_MEASUREMENT','user','34VwqlVu','mzmfp','call','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','druds','name','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','initialize','bhSUJ','5515200ClCYIp','5738175rXpGjD','length','CrashReporter','../performance/performance-tester','JhaOP','.\x20Error\x20-\x20','password','env','constructor','7WfKDax','catch','Started\x20::\x20','iEAte','/api/v1/analytics','getPerformance',',\x20PID\x20-\x20','keys','USER_CONFIG_FOR_REPORTING','prototype','\x20--\x20','pVXbC','o11yClassErrorHandler'];a84_0x32e3=function(){return _0x306469;};return a84_0x32e3();}function processError(_0x45d055,_0x55621f,_0x68b5ba,_0x4f9a74){const _0x1c7bd7=a84_0x1e496c,_0xf07326={'BahFr':function(_0x231401,_0xeeb950){return _0x231401(_0xeeb950);}};_0xf07326[_0x1c7bd7(0x113)](debug,_0x1c7bd7(0x11f)+_0x55621f[_0x1c7bd7(0x158)]+_0x1c7bd7(0x170)+_0x4f9a74+'.\x20Error\x20-\x20'+_0x45d055+_0x1c7bd7(0x117)+_0x68b5ba+'.'),PerformanceTester[_0x1c7bd7(0x140)](_0x45d055);let _0x637959;try{_0x637959=JSON[_0x1c7bd7(0x109)](_0x68b5ba);}catch(_0x19249f){const _0x492c38={};_0x492c38[_0x1c7bd7(0x121)]=0x2,_0x637959=util['inspect'](_0x68b5ba,_0x492c38);}CrashReporter[_0x1c7bd7(0x122)](_0x1c7bd7(0x11f)+_0x55621f[_0x1c7bd7(0x158)]+'\x20--\x20'+_0x4f9a74+_0x1c7bd7(0x162)+_0x45d055+'.\x20Args\x20-\x20'+_0x637959+'.',_0x45d055&&_0x45d055[_0x1c7bd7(0x134)]);}class CrashReporter{static [a84_0x1e496c(0x14e)]={};static ['credentials'];static [a84_0x1e496c(0x13d)]={};static[a84_0x1e496c(0x15a)](_0x5bb5af,_0xf56691,_0xb146e1=null){const _0x2dd488=a84_0x1e496c,_0x351b96={'bhSUJ':function(_0x5b51c5,_0x35c837){return _0x5b51c5(_0x35c837);},'uVOcn':function(_0x3f5410,_0x26310c){return _0x3f5410(_0x26310c);},'tlrKV':function(_0x23b27a,_0x3f66f2){return _0x23b27a(_0x3f66f2);}},_0x3a3232=_0x5bb5af[_0x2dd488(0x116)],_0x147feb=_0x5bb5af[_0x2dd488(0x10a)];!_0xb146e1&&(_0xb146e1=_0x351b96[_0x2dd488(0x15b)](getBrowserStackConfig,_0x3a3232));!_0x147feb&&_0x351b96['uVOcn'](getFrameworkVersion,_0x3a3232);const _0x3e8d61={};_0x3e8d61[_0x2dd488(0x116)]=_0x3a3232,_0x3e8d61[_0x2dd488(0x10a)]=_0x147feb,this[_0x2dd488(0x112)](_0x3e8d61,_0xf56691,_0x351b96[_0x2dd488(0x138)](getUserCredentials,_0xb146e1));}static[a84_0x1e496c(0x106)](_0x3938ed,_0xcf9ef7){const _0x5c8614=a84_0x1e496c,_0x192d0d={};_0x192d0d[_0x5c8614(0x145)]=_0x3938ed,_0x192d0d['accessKey']=_0xcf9ef7,this[_0x5c8614(0x128)]=_0x192d0d,process[_0x5c8614(0x164)][_0x5c8614(0x125)]=JSON[_0x5c8614(0x109)](this[_0x5c8614(0x128)]);}static[a84_0x1e496c(0x14f)](){const _0x3c24b8=a84_0x1e496c,_0x34323d={'KEWhH':function(_0x2eb2f9,_0x3f489e){return _0x2eb2f9(_0x3f489e);}};if(!this[_0x3c24b8(0x128)]&&process[_0x3c24b8(0x164)][_0x3c24b8(0x125)])try{this[_0x3c24b8(0x128)]=JSON['parse'](process[_0x3c24b8(0x164)]['CREDENTIALS_FOR_CRASH_REPORTING']);}catch(_0x13a7da){_0x34323d[_0x3c24b8(0x173)](debug,'Error\x20in\x20parsing\x20credentials\x20from\x20env\x20'+_0x13a7da[_0x3c24b8(0x137)]());}return this['credentials'];}static[a84_0x1e496c(0x10b)](_0x198323){const _0x947d42=a84_0x1e496c;this[_0x947d42(0x14e)]=this[_0x947d42(0x12d)](_0x198323),process[_0x947d42(0x164)][_0x947d42(0x16e)]=JSON[_0x947d42(0x109)](this[_0x947d42(0x14e)]);}static[a84_0x1e496c(0x13c)](){const _0x2ce453=a84_0x1e496c,_0x4711a3={'RWXmI':function(_0x18ebb8,_0x46ce61){return _0x18ebb8===_0x46ce61;},'HamZR':function(_0x1c75d0,_0x1f0268){return _0x1c75d0(_0x1f0268);}};if(_0x4711a3[_0x2ce453(0x141)](Object['keys'](this[_0x2ce453(0x14e)])[_0x2ce453(0x15e)],0x0)&&process['env']['USER_CONFIG_FOR_REPORTING'])try{this[_0x2ce453(0x14e)]=JSON[_0x2ce453(0x127)](process[_0x2ce453(0x164)][_0x2ce453(0x16e)]);}catch(_0x3118b4){_0x4711a3[_0x2ce453(0x11b)](debug,'Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20'+_0x3118b4[_0x2ce453(0x137)]()),this['userConfig']={};}return this[_0x2ce453(0x14e)];}static[a84_0x1e496c(0x11e)](_0x40286f){const _0x3dc557=a84_0x1e496c;this['frameworkDetails']=_0x40286f,process[_0x3dc557(0x164)][_0x3dc557(0x156)]=JSON['stringify'](this[_0x3dc557(0x13d)]);}static[a84_0x1e496c(0x149)](){const _0x3a9bcf=a84_0x1e496c,_0x56e0ed={'xfECt':function(_0x5888bd,_0x4f687a){return _0x5888bd===_0x4f687a;},'QEDYb':function(_0x4f60c0,_0x21a033){return _0x4f60c0(_0x21a033);}};if(_0x56e0ed['xfECt'](Object[_0x3a9bcf(0x16d)](this[_0x3a9bcf(0x13d)])['length'],0x0)&&process['env'][_0x3a9bcf(0x156)])try{this[_0x3a9bcf(0x13d)]=JSON['parse'](process[_0x3a9bcf(0x164)][_0x3a9bcf(0x156)]);}catch(_0x37f60d){_0x56e0ed[_0x3a9bcf(0x14b)](debug,_0x3a9bcf(0x159)+_0x37f60d['toString']());}return this[_0x3a9bcf(0x13d)];}static[a84_0x1e496c(0x112)](_0x1a6f2d,_0x4c9292,_0x5740f9){const _0x2b0cb4=a84_0x1e496c;_0x1a6f2d&&this[_0x2b0cb4(0x11e)](_0x1a6f2d),_0x4c9292&&this['setConfigDetails'](_0x4c9292),_0x5740f9&&this['setCredentials'](_0x5740f9[_0x2b0cb4(0x145)],_0x5740f9[_0x2b0cb4(0x120)]);}static async[a84_0x1e496c(0x122)](_0x501029,_0x4f2e7c){const _0x41419f=a84_0x1e496c,_0x23aeff={'DDEiO':function(_0xeb05fa,_0x2e71c6){return _0xeb05fa(_0x2e71c6);},'myGaP':function(_0x5adc0c,_0x58d8ed){return _0x5adc0c(_0x58d8ed);},'ZZaDz':_0x41419f(0x146),'AOIMI':function(_0x57fe4d){return _0x57fe4d();},'fORXG':_0x41419f(0x16a),'LvHRM':'application/json','CyNPK':_0x41419f(0x11d),'pRGVW':function(_0x1d5647,_0x2aa4e3,_0x571e0e,_0x19ef43,_0x2c2b5b,_0x49dca9){return _0x1d5647(_0x2aa4e3,_0x571e0e,_0x19ef43,_0x2c2b5b,_0x49dca9);},'tywDP':_0x41419f(0x13b)};this['getCredentials']();if(!this[_0x41419f(0x128)])return _0x23aeff['myGaP'](debug,_0x23aeff[_0x41419f(0x174)]);this['getConfig'](),this['getFramework']();const _0x24b83c={'hashed_id':process[_0x41419f(0x164)]['BS_TESTOPS_BUILD_HASHED_ID'],'observability_version':{'sdkVersion':_0x23aeff[_0x41419f(0x135)](getAgentVersion),'frameworkName':this[_0x41419f(0x13d)]['frameworkName'],'frameworkVersion':this['frameworkDetails'][_0x41419f(0x10a)]},'exception':{'error':_0x501029[_0x41419f(0x137)](),'stackTrace':_0x4f2e7c},'config':this[_0x41419f(0x14e)]},_0x7256d4=_0x23aeff[_0x41419f(0x14a)],_0x20531a={};_0x20531a[_0x41419f(0x145)]=this[_0x41419f(0x128)][_0x41419f(0x145)],_0x20531a[_0x41419f(0x163)]=this[_0x41419f(0x128)]['accessKey'];const _0x7e4a98={};_0x7e4a98[_0x41419f(0x11c)]=_0x23aeff[_0x41419f(0x108)],_0x7e4a98[_0x41419f(0x132)]=_0x23aeff['CyNPK'];const _0xcfa4a8={};_0xcfa4a8[_0x41419f(0x10e)]=_0x20531a,_0xcfa4a8[_0x41419f(0x131)]=_0x7e4a98;const _0x3e08bb=_0xcfa4a8;_0x23aeff['pRGVW'](nodeRequest,_0x23aeff[_0x41419f(0x118)],_0x7256d4,_0x24b83c,_0x3e08bb,![])[_0x41419f(0x110)](_0x1af4ad=>{const _0x45080f=_0x41419f;_0x23aeff[_0x45080f(0x150)](debug,_0x45080f(0x13f)+JSON[_0x45080f(0x109)](_0x1af4ad));})[_0x41419f(0x167)](_0x4d79f1=>{const _0x80dcd2=_0x41419f;_0x23aeff[_0x80dcd2(0x148)](debug,'[Crash_Report_Upload]\x20Failed\x20due\x20to\x20'+util[_0x80dcd2(0x139)](_0x4d79f1));});}static[a84_0x1e496c(0x14c)](_0x2cfae9){const _0x1183f2=a84_0x1e496c,_0x3d0c13={};_0x3d0c13[_0x1183f2(0x12c)]=_0x1183f2(0x152),_0x3d0c13['oELSW']=_0x1183f2(0x145),_0x3d0c13[_0x1183f2(0x13e)]=_0x1183f2(0x126),_0x3d0c13[_0x1183f2(0x169)]=_0x1183f2(0x120),_0x3d0c13[_0x1183f2(0x12a)]=_0x1183f2(0x163),_0x3d0c13[_0x1183f2(0x10c)]=function(_0x4d3d81,_0x17e603){return _0x4d3d81===_0x17e603;},_0x3d0c13[_0x1183f2(0x171)]='object';const _0x66db16=_0x3d0c13;if(!_0x2cfae9)return;const _0xf16a71=[_0x66db16[_0x1183f2(0x12c)],_0x66db16[_0x1183f2(0x143)],_0x66db16[_0x1183f2(0x13e)],_0x66db16[_0x1183f2(0x169)],_0x66db16[_0x1183f2(0x12a)]];for(const _0x5221be in _0x2cfae9){if(_0xf16a71[_0x1183f2(0x119)](_0x5221be['toLowerCase']()))delete _0x2cfae9[_0x5221be];else _0x66db16['ItcJc'](typeof _0x2cfae9[_0x5221be],_0x66db16[_0x1183f2(0x171)])&&this[_0x1183f2(0x14c)](_0x2cfae9[_0x5221be]);}}static['filterPII'](_0x10e4e6){const _0x15e444=a84_0x1e496c,_0x23bed0=JSON[_0x15e444(0x127)](JSON[_0x15e444(0x109)](_0x10e4e6));return this['recursivelyDeletePIIKeysFromObject'](_0x23bed0),_0x23bed0;}}const a84_0x151ea4={};a84_0x151ea4[a84_0x1e496c(0x124)]=o11yErrorHandler,a84_0x151ea4[a84_0x1e496c(0x172)]=o11yClassErrorHandler,a84_0x151ea4[a84_0x1e496c(0x15f)]=CrashReporter,module[a84_0x1e496c(0x111)]=a84_0x151ea4;
@@ -1 +1 @@
1
- const a85_0x223272=a85_0x3adb;function a85_0x3adb(_0x2653c2,_0x5d511a){const _0x1d6650=a85_0x1d66();return a85_0x3adb=function(_0x3adb6c,_0x2d5c54){_0x3adb6c=_0x3adb6c-0x182;let _0x4415b0=_0x1d6650[_0x3adb6c];return _0x4415b0;},a85_0x3adb(_0x2653c2,_0x5d511a);}(function(_0x525e82,_0x3a16fb){const _0xc6da13=a85_0x3adb,_0x46100e=_0x525e82();while(!![]){try{const _0x319f38=parseInt(_0xc6da13(0x1e9))/0x1*(-parseInt(_0xc6da13(0x1d1))/0x2)+parseInt(_0xc6da13(0x1d8))/0x3+-parseInt(_0xc6da13(0x1db))/0x4*(-parseInt(_0xc6da13(0x1be))/0x5)+-parseInt(_0xc6da13(0x1e6))/0x6*(parseInt(_0xc6da13(0x1b2))/0x7)+parseInt(_0xc6da13(0x1ea))/0x8+-parseInt(_0xc6da13(0x1d2))/0x9*(parseInt(_0xc6da13(0x18e))/0xa)+parseInt(_0xc6da13(0x1a3))/0xb*(-parseInt(_0xc6da13(0x182))/0xc);if(_0x319f38===_0x3a16fb)break;else _0x46100e['push'](_0x46100e['shift']());}catch(_0x2d715a){_0x46100e['push'](_0x46100e['shift']());}}}(a85_0x1d66,0x1db7f));function a85_0x1d66(){const _0x4f312e=['AZpao','zQtpB','Batch\x20event\x20length\x20has\x20increased\x20maximum\x20batch\x20size.\x20Sending\x20events..','Ipwfs','api/v1/batch','slice','TEST_SCREENSHOT','stringify','1630WTSRfP','mNvag','uploadPending','splice','EnHvp','Processing\x20batch\x20events\x20for\x20','shutdown','hiJFt','Shutting\x20down\x20request\x20batcher\x20with\x20pending\x20uploads\x20still\x20in\x20queue.\x20Remaining\x20uploads\x20','hgwqU','message','DGTgv','wtUuv','LogCreated','error','dhThx','oPIwH','NOWZV','DvZkD','max','yyOeS','33DGypeo','EXCEPTION\x20IN\x20','HookRunStarted','test_run','rviTx','includes','proceedWithUrl','CBTSessionCreated','aSeJI','Interval-Queue','../helper','GXiMr','logs','Gijyk','Processing\x20events.\x20Queue\x20Length\x20-\x20','462MUkmtO','queue','batchAndPostEvents','eventUrl','TestRunSkipped','rekDx','add','\x20--\x20','started','GqcaC','map','iKccZ','5bDXsyK','data','ZkOdX','shouldProceed','DfnlP','status','length','pendingUploads','api/v1/screenshots','removeEventBatchPolling','iRKjg','start','\x20bytes.\x20Events\x20are\x20','qEaSF','format','screenshotEventUrl','3|4|5|0|1|2','CScPw','BATCH_EVENT_TYPES','4514HNcYKw','4167lgSQCz','resetEventBatchPolling','uuid','instance','Shutdown-Queue','Exception\x20in\x20logging\x20batch\x20events\x20--\x20','570267LmGAXX','yLIMm','split','405404WAXlvg','byteLength','response','MXbfj','CSbcZ','RESETTING','iOOOG','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20','YSRJA','POST','pollEventBatchInterval','1158veQowh','event_type','startEventBatchPolling','6uvpItm','1803176XoEEQa','hook_run','join','./constants','REMOVING','proceedWithData','pUBhw','1173444HKlulN','mTcjT','util','YJIBw'];a85_0x1d66=function(){return _0x4f312e;};return a85_0x1d66();}const {BATCH_SIZE,BATCH_INTERVAL,DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS}=require(a85_0x223272(0x1ed)),{nodeRequest,debug,trace,sleep,getDefaultHeaders}=require('./utils'),{nestedKeyValue}=require(a85_0x223272(0x1ad)),util=require(a85_0x223272(0x184));class RequestQueueHandler{static [a85_0x223272(0x1d5)];[a85_0x223272(0x1c5)]=0x0;constructor(){const _0x2bfea1=a85_0x223272,_0x4487cb={};_0x4487cb[_0x2bfea1(0x1c8)]=_0x2bfea1(0x1ce),_0x4487cb[_0x2bfea1(0x1e1)]=_0x2bfea1(0x1c6),_0x4487cb[_0x2bfea1(0x183)]=_0x2bfea1(0x19b),_0x4487cb[_0x2bfea1(0x1de)]=_0x2bfea1(0x1aa),_0x4487cb['AZpao']='TestRunFinished',_0x4487cb[_0x2bfea1(0x1a7)]=_0x2bfea1(0x1b6),_0x4487cb[_0x2bfea1(0x189)]='HookRunFinished',_0x4487cb[_0x2bfea1(0x1bb)]='TestRunStarted',_0x4487cb['YSRJA']=_0x2bfea1(0x1a5),_0x4487cb['NOWZV']=_0x2bfea1(0x18a);const _0x39822a=_0x4487cb,_0x1bdd28=_0x39822a['iRKjg'][_0x2bfea1(0x1da)]('|');let _0x4b77b8=0x0;while(!![]){switch(_0x1bdd28[_0x4b77b8++]){case'0':this[_0x2bfea1(0x1cd)]=_0x39822a[_0x2bfea1(0x1e1)];continue;case'1':this[_0x2bfea1(0x1d0)]=[_0x39822a['mTcjT'],_0x39822a[_0x2bfea1(0x1de)],_0x39822a[_0x2bfea1(0x186)],_0x39822a[_0x2bfea1(0x1a7)],_0x39822a['Ipwfs'],_0x39822a['GqcaC'],_0x39822a[_0x2bfea1(0x1e3)]];continue;case'2':this[_0x2bfea1(0x1e5)]=null;continue;case'3':this[_0x2bfea1(0x1b3)]=[];continue;case'4':this[_0x2bfea1(0x1ba)]=![];continue;case'5':this['eventUrl']=_0x39822a[_0x2bfea1(0x19f)];continue;}break;}}static['getInstance'](){const _0x188346=a85_0x223272;return!RequestQueueHandler[_0x188346(0x1d5)]&&(RequestQueueHandler[_0x188346(0x1d5)]=new RequestQueueHandler()),RequestQueueHandler[_0x188346(0x1d5)];}[a85_0x223272(0x1c9)]=()=>{const _0x5c8453=a85_0x223272;!this[_0x5c8453(0x1ba)]&&(this['started']=!![],this[_0x5c8453(0x1e8)]());};[a85_0x223272(0x1b8)]=_0x391fe7=>{const _0x12a77d=a85_0x223272,_0x5eb6da={'zQtpB':function(_0x44e4a0,_0x5edfb2){return _0x44e4a0===_0x5edfb2;},'EJqdP':_0x12a77d(0x18c),'oPIwH':function(_0x255d21,_0x37b8e6){return _0x255d21(_0x37b8e6);},'yyOeS':_0x12a77d(0x188)};if(this[_0x12a77d(0x1d0)][_0x12a77d(0x1a8)](_0x391fe7[_0x12a77d(0x1e7)])){if(_0x391fe7['logs']&&_0x391fe7[_0x12a77d(0x1af)][0x0]&&_0x5eb6da[_0x12a77d(0x187)](_0x391fe7[_0x12a77d(0x1af)][0x0]['kind'],_0x5eb6da['EJqdP'])){const _0x5a0fc0={};return _0x5a0fc0[_0x12a77d(0x1c1)]=!![],_0x5a0fc0[_0x12a77d(0x1ef)]=[_0x391fe7],_0x5a0fc0[_0x12a77d(0x1a9)]=this[_0x12a77d(0x1cd)],_0x5a0fc0;}this[_0x12a77d(0x1b3)]['push'](_0x391fe7);let _0x468a3d=null;const _0x37b5d4=this['shouldProceed']();_0x37b5d4&&(_0x5eb6da[_0x12a77d(0x19e)](trace,_0x5eb6da[_0x12a77d(0x1a2)]),_0x468a3d=this['queue'][_0x12a77d(0x18b)](0x0,BATCH_SIZE),this[_0x12a77d(0x1b3)][_0x12a77d(0x191)](0x0,BATCH_SIZE),this[_0x12a77d(0x1d3)]());const _0x1cb251={};return _0x1cb251[_0x12a77d(0x1c1)]=_0x37b5d4,_0x1cb251['proceedWithData']=_0x468a3d,_0x1cb251[_0x12a77d(0x1a9)]=this['eventUrl'],_0x1cb251;}const _0x1975fc={};return _0x1975fc[_0x12a77d(0x1c1)]=!![],_0x1975fc;};[a85_0x223272(0x194)]=async()=>{const _0x8e3569=a85_0x223272,_0x165661={'ctuZP':_0x8e3569(0x1ee),'ZkOdX':function(_0x5253e5,_0x2b3caf){return _0x5253e5>_0x2b3caf;},'hgwqU':_0x8e3569(0x1d6),'Gijyk':function(_0x28a659,_0x127ea6){return _0x28a659(_0x127ea6);}};await this[_0x8e3569(0x190)](),this[_0x8e3569(0x1c7)](_0x165661['ctuZP']);while(_0x165661['ZkOdX'](this['queue'][_0x8e3569(0x1c4)],0x0)){const _0x55b376=this['queue'][_0x8e3569(0x18b)](0x0,BATCH_SIZE);this[_0x8e3569(0x1b3)][_0x8e3569(0x191)](0x0,BATCH_SIZE),await this[_0x8e3569(0x1b4)](this[_0x8e3569(0x1b5)],_0x165661[_0x8e3569(0x197)],_0x55b376);}_0x165661[_0x8e3569(0x1c0)](this[_0x8e3569(0x1c5)],0x0)&&_0x165661[_0x8e3569(0x1b0)](debug,_0x8e3569(0x196)+this[_0x8e3569(0x1c5)]);};['batchAndPostEvents']=async(_0x408ffa,_0x3249c8,_0x38e59f)=>{const _0xadc61d=a85_0x223272,_0x808868={'sbBRy':function(_0x23b947,_0xb34cfc){return _0x23b947(_0xb34cfc);},'DfnlP':'utf8','iKccZ':function(_0x170f63,_0x5430bf){return _0x170f63(_0x5430bf);},'EnHvp':function(_0x4afad0){return _0x4afad0();},'DvZkD':function(_0x36f9b7,_0x403d5d,_0x5d33fa,_0x2760ac,_0x36b190){return _0x36f9b7(_0x403d5d,_0x5d33fa,_0x2760ac,_0x36b190);},'HFVvc':_0xadc61d(0x1e4),'pUBhw':function(_0x79eaac,_0x1f3d81){return _0x79eaac-_0x1f3d81;},'hiJFt':function(_0x4db459,_0x1e9dda){return _0x4db459(_0x1e9dda);},'wtUuv':function(_0x430a80,_0x202767){return _0x430a80-_0x202767;}};let _0x4cff2e='';try{_0x4cff2e=_0x38e59f[_0xadc61d(0x1bc)](_0x3e8963=>'\x27'+_0x3e8963[_0xadc61d(0x1e7)]+'\x27:'+(nestedKeyValue(_0x3e8963,[_0xadc61d(0x1a6),_0xadc61d(0x1d4)])||nestedKeyValue(_0x3e8963,[_0xadc61d(0x1eb),_0xadc61d(0x1d4)])))[_0xadc61d(0x1ec)](','),_0x808868['sbBRy'](debug,_0xadc61d(0x193)+_0x3249c8+'.\x20Request\x20Size\x20-\x20'+Buffer[_0xadc61d(0x1dc)](util[_0xadc61d(0x1cc)]('%j',_0x38e59f),_0x808868[_0xadc61d(0x1c2)])+_0xadc61d(0x1ca)+_0x4cff2e);}catch(_0x3b68c1){_0x808868[_0xadc61d(0x1bd)](debug,_0xadc61d(0x1d7)+util[_0xadc61d(0x1cc)](_0x3b68c1)+'}');}const _0x35c759={'headers':_0x808868[_0xadc61d(0x192)](getDefaultHeaders)};try{const _0x2a4e8c=await _0x808868[_0xadc61d(0x1a0)](nodeRequest,_0x808868['HFVvc'],_0x408ffa,_0x38e59f,_0x35c759);if(_0x2a4e8c['data'][_0xadc61d(0x19c)]){const _0x467546={};_0x467546[_0xadc61d(0x198)]=_0x2a4e8c['data']['error'];throw _0x467546;}else _0x808868['iKccZ'](debug,_0x3249c8+'\x20event\x20successful\x20for\x20events\x20'+_0x4cff2e+_0xadc61d(0x1b9)+util['format']('%j',_0x2a4e8c[_0xadc61d(0x1bf)])),this[_0xadc61d(0x1c5)]=Math[_0xadc61d(0x1a1)](0x0,_0x808868[_0xadc61d(0x1f0)](this[_0xadc61d(0x1c5)],_0x38e59f['length']));}catch(_0x23e3ac){_0x23e3ac[_0xadc61d(0x1dd)]?_0x808868[_0xadc61d(0x1bd)](debug,_0xadc61d(0x1a4)+_0x3249c8+'\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20'+_0x23e3ac['response'][_0xadc61d(0x1c3)]+'\x20'+_0x23e3ac['response']['statusText']+'\x20'+JSON[_0xadc61d(0x18d)](_0x23e3ac['response'])):_0x808868[_0xadc61d(0x195)](debug,_0xadc61d(0x1a4)+_0x3249c8+_0xadc61d(0x1e2)+(_0x23e3ac[_0xadc61d(0x198)]||_0x23e3ac)),this['pendingUploads']=Math[_0xadc61d(0x1a1)](0x0,_0x808868[_0xadc61d(0x19a)](this[_0xadc61d(0x1c5)],_0x38e59f[_0xadc61d(0x1c4)]));}};[a85_0x223272(0x1e8)]=()=>{const _0xec9a09=a85_0x223272,_0x1edb12={'CSbcZ':function(_0x47637b,_0x3131fe){return _0x47637b>_0x3131fe;},'dhThx':function(_0x3e0f4e,_0x2f3e92){return _0x3e0f4e(_0x2f3e92);},'CScPw':_0xec9a09(0x1ac),'mNvag':function(_0x2b6d63,_0x820f31,_0x3828bc){return _0x2b6d63(_0x820f31,_0x3828bc);}};this[_0xec9a09(0x1e5)]=_0x1edb12[_0xec9a09(0x18f)](setInterval,async()=>{const _0x3251f1=_0xec9a09;if(_0x1edb12[_0x3251f1(0x1df)](this['queue']['length'],0x0)){_0x1edb12['dhThx'](trace,_0x3251f1(0x1b1)+this['queue'][_0x3251f1(0x1c4)]);const _0x5e6fc2=this[_0x3251f1(0x1b3)]['slice'](0x0,BATCH_SIZE);this['queue'][_0x3251f1(0x191)](0x0,BATCH_SIZE),await this['batchAndPostEvents'](this[_0x3251f1(0x1b5)],_0x1edb12[_0x3251f1(0x1cf)],_0x5e6fc2),_0x1edb12[_0x3251f1(0x19d)](trace,'Remaining\x20Queue\x20Length\x20-\x20'+this[_0x3251f1(0x1b3)][_0x3251f1(0x1c4)]);}},BATCH_INTERVAL);};[a85_0x223272(0x1d3)]=()=>{const _0x5e1a21=a85_0x223272,_0x1e5d52={};_0x1e5d52[_0x5e1a21(0x1cb)]=_0x5e1a21(0x1e0);const _0x269745=_0x1e5d52;this[_0x5e1a21(0x1c7)](_0x269745[_0x5e1a21(0x1cb)]),this['startEventBatchPolling']();};[a85_0x223272(0x1c7)]=_0x1f0ddc=>{const _0x8feafa=a85_0x223272,_0x1d23ee={'YJIBw':function(_0x2dd873,_0x28fc5b){return _0x2dd873(_0x28fc5b);},'GXiMr':function(_0x5816f9,_0x38d675){return _0x5816f9===_0x38d675;},'DGTgv':_0x8feafa(0x1ee)};this[_0x8feafa(0x1e5)]&&(_0x1d23ee[_0x8feafa(0x185)](clearInterval,this[_0x8feafa(0x1e5)]),this[_0x8feafa(0x1e5)]=null,_0x1d23ee[_0x8feafa(0x1ae)](_0x1f0ddc,_0x1d23ee[_0x8feafa(0x199)])&&(this['started']=![]));};[a85_0x223272(0x1c1)]=()=>{const _0x1ae8a2=a85_0x223272,_0x473d8e={};_0x473d8e['ohNmf']=function(_0x116b85,_0x2487b0){return _0x116b85>=_0x2487b0;};const _0x122a5b=_0x473d8e;return _0x122a5b['ohNmf'](this[_0x1ae8a2(0x1b3)][_0x1ae8a2(0x1c4)],BATCH_SIZE);};async['uploadPending'](_0x1f3b26=DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,_0x135889=DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS){const _0x1c44d9=a85_0x223272,_0x3e7bc4={'rekDx':function(_0xc6db62,_0x417b0b){return _0xc6db62<=_0x417b0b;},'uoaua':function(_0x33070a,_0x1393a7){return _0x33070a<=_0x1393a7;},'aSeJI':function(_0x3b1cb3,_0x28ede9){return _0x3b1cb3(_0x28ede9);},'yLIMm':function(_0x3fd520,_0x44e523){return _0x3fd520-_0x44e523;}};if(_0x3e7bc4[_0x1c44d9(0x1b7)](this[_0x1c44d9(0x1c5)],0x0)||_0x3e7bc4['uoaua'](_0x1f3b26,0x0))return;return await _0x3e7bc4[_0x1c44d9(0x1ab)](sleep,_0x135889),this['uploadPending'](_0x3e7bc4[_0x1c44d9(0x1d9)](_0x1f3b26,_0x135889));}}module['exports']=RequestQueueHandler;
1
+ const a85_0x8b56c9=a85_0x4a20;(function(_0x37d962,_0x49dcdf){const _0xc9ee96=a85_0x4a20,_0x2d2a30=_0x37d962();while(!![]){try{const _0x1ab9bf=parseInt(_0xc9ee96(0x106))/0x1+parseInt(_0xc9ee96(0xbb))/0x2*(parseInt(_0xc9ee96(0xaf))/0x3)+-parseInt(_0xc9ee96(0xdb))/0x4*(parseInt(_0xc9ee96(0x9e))/0x5)+-parseInt(_0xc9ee96(0xb2))/0x6+-parseInt(_0xc9ee96(0xb0))/0x7*(parseInt(_0xc9ee96(0x102))/0x8)+-parseInt(_0xc9ee96(0xfb))/0x9*(parseInt(_0xc9ee96(0xaa))/0xa)+parseInt(_0xc9ee96(0xb7))/0xb;if(_0x1ab9bf===_0x49dcdf)break;else _0x2d2a30['push'](_0x2d2a30['shift']());}catch(_0x2aee8d){_0x2d2a30['push'](_0x2d2a30['shift']());}}}(a85_0x53c5,0xeafc4));const {BATCH_SIZE,BATCH_INTERVAL,DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS}=require(a85_0x8b56c9(0x103)),{nodeRequest,debug,trace,sleep,getDefaultHeaders}=require(a85_0x8b56c9(0xdd)),{nestedKeyValue}=require(a85_0x8b56c9(0xd7)),util=require(a85_0x8b56c9(0xff));class RequestQueueHandler{static [a85_0x8b56c9(0xa4)];[a85_0x8b56c9(0x9b)]=0x0;constructor(){const _0x433152=a85_0x8b56c9,_0x1f210e={};_0x1f210e[_0x433152(0xe9)]='2|4|0|1|5|3',_0x1f210e[_0x433152(0xd1)]=_0x433152(0x101),_0x1f210e[_0x433152(0x98)]='api/v1/screenshots',_0x1f210e[_0x433152(0xcc)]=_0x433152(0xb8),_0x1f210e[_0x433152(0x9d)]=_0x433152(0xdc),_0x1f210e[_0x433152(0xa0)]=_0x433152(0xd3),_0x1f210e[_0x433152(0x104)]=_0x433152(0xd6),_0x1f210e[_0x433152(0xba)]=_0x433152(0x9f),_0x1f210e[_0x433152(0xc0)]='TestRunStarted',_0x1f210e['gloSR']=_0x433152(0xd9);const _0x16c008=_0x1f210e,_0x3c8cce=_0x16c008[_0x433152(0xe9)]['split']('|');let _0x4f7f61=0x0;while(!![]){switch(_0x3c8cce[_0x4f7f61++]){case'0':this[_0x433152(0x99)]=_0x16c008[_0x433152(0xd1)];continue;case'1':this[_0x433152(0xe3)]=_0x16c008['MBiJW'];continue;case'2':this[_0x433152(0xef)]=[];continue;case'3':this[_0x433152(0xf2)]=null;continue;case'4':this['started']=![];continue;case'5':this['BATCH_EVENT_TYPES']=[_0x16c008[_0x433152(0xcc)],_0x16c008['DsjpY'],_0x16c008[_0x433152(0xa0)],_0x16c008[_0x433152(0x104)],_0x16c008[_0x433152(0xba)],_0x16c008['BQOfD'],_0x16c008[_0x433152(0xc1)]];continue;}break;}}static[a85_0x8b56c9(0xbc)](){const _0x1b338b=a85_0x8b56c9;return!RequestQueueHandler[_0x1b338b(0xa4)]&&(RequestQueueHandler[_0x1b338b(0xa4)]=new RequestQueueHandler()),RequestQueueHandler[_0x1b338b(0xa4)];}['start']=()=>{const _0x305c41=a85_0x8b56c9;!this[_0x305c41(0xfd)]&&(this[_0x305c41(0xfd)]=!![],this[_0x305c41(0xe6)]());};[a85_0x8b56c9(0xa5)]=_0x327df7=>{const _0x1889d2=a85_0x8b56c9,_0x19e623={'jTImY':function(_0x3ee95d,_0x12ffc5){return _0x3ee95d===_0x12ffc5;},'pxaTn':_0x1889d2(0xf4),'TNCrO':function(_0x3eff26,_0x2f4c3b){return _0x3eff26(_0x2f4c3b);},'XUDFG':_0x1889d2(0xcd)};if(this['BATCH_EVENT_TYPES'][_0x1889d2(0xb4)](_0x327df7[_0x1889d2(0xec)])){if(_0x327df7['logs']&&_0x327df7[_0x1889d2(0xd0)][0x0]&&_0x19e623[_0x1889d2(0xe2)](_0x327df7[_0x1889d2(0xd0)][0x0]['kind'],_0x19e623[_0x1889d2(0xf9)])){const _0x2af5c5={};return _0x2af5c5[_0x1889d2(0xce)]=!![],_0x2af5c5[_0x1889d2(0xcf)]=[_0x327df7],_0x2af5c5[_0x1889d2(0xa2)]=this['screenshotEventUrl'],_0x2af5c5;}this[_0x1889d2(0xef)][_0x1889d2(0xa9)](_0x327df7);let _0x217837=null;const _0x3bdd72=this[_0x1889d2(0xce)]();_0x3bdd72&&(_0x19e623[_0x1889d2(0xf3)](trace,_0x19e623[_0x1889d2(0xca)]),_0x217837=this[_0x1889d2(0xef)][_0x1889d2(0xde)](0x0,BATCH_SIZE),this['queue'][_0x1889d2(0xd2)](0x0,BATCH_SIZE),this['resetEventBatchPolling']());const _0x45161a={};return _0x45161a[_0x1889d2(0xce)]=_0x3bdd72,_0x45161a['proceedWithData']=_0x217837,_0x45161a[_0x1889d2(0xa2)]=this[_0x1889d2(0x99)],_0x45161a;}const _0x25fb37={};return _0x25fb37[_0x1889d2(0xce)]=!![],_0x25fb37;};[a85_0x8b56c9(0xc6)]=async()=>{const _0xc4e242=a85_0x8b56c9,_0x5a355c={'bnrXE':_0xc4e242(0xeb),'BcmIC':function(_0x1d6c2c,_0x24d620){return _0x1d6c2c>_0x24d620;},'VkWTQ':'Shutdown-Queue','vpjJV':function(_0x12c56d,_0x17a7af){return _0x12c56d(_0x17a7af);}};await this[_0xc4e242(0x97)](),this[_0xc4e242(0xbd)](_0x5a355c['bnrXE']);while(_0x5a355c[_0xc4e242(0xac)](this[_0xc4e242(0xef)][_0xc4e242(0x9a)],0x0)){const _0x4a0c41=this[_0xc4e242(0xef)][_0xc4e242(0xde)](0x0,BATCH_SIZE);this[_0xc4e242(0xef)][_0xc4e242(0xd2)](0x0,BATCH_SIZE),await this[_0xc4e242(0x9c)](this[_0xc4e242(0x99)],_0x5a355c['VkWTQ'],_0x4a0c41);}_0x5a355c[_0xc4e242(0xac)](this[_0xc4e242(0x9b)],0x0)&&_0x5a355c['vpjJV'](debug,_0xc4e242(0xc9)+this[_0xc4e242(0x9b)]);};['batchAndPostEvents']=async(_0x396db2,_0x469126,_0x60e64c)=>{const _0x549c2d=a85_0x8b56c9,_0xc3ce={'agBMg':function(_0x15e8d7,_0xfdf3c7){return _0x15e8d7(_0xfdf3c7);},'GGVEK':_0x549c2d(0xa3),'JKUIN':function(_0x402405,_0x433703){return _0x402405(_0x433703);},'IpsVS':function(_0x2dbc06){return _0x2dbc06();},'jkvsG':function(_0x5ca566,_0x4457e6,_0x2eef92,_0x53414e,_0x38d352){return _0x5ca566(_0x4457e6,_0x2eef92,_0x53414e,_0x38d352);},'OwUhT':_0x549c2d(0xf8),'AkUQr':function(_0x2ddc43,_0x4c575a){return _0x2ddc43(_0x4c575a);},'DhEUr':function(_0x59fdaf,_0x18003d){return _0x59fdaf-_0x18003d;},'nipCz':function(_0xb75737,_0x4693bf){return _0xb75737(_0x4693bf);},'aWwZh':function(_0x507bf8,_0x38b707){return _0x507bf8(_0x38b707);},'VVaVm':function(_0xb072e5,_0x49d9cb){return _0xb072e5-_0x49d9cb;}};let _0x5769f2='';try{_0x5769f2=_0x60e64c['map'](_0x2ce78f=>'\x27'+_0x2ce78f[_0x549c2d(0xec)]+'\x27:'+(nestedKeyValue(_0x2ce78f,[_0x549c2d(0xa7),_0x549c2d(0xcb)])||nestedKeyValue(_0x2ce78f,[_0x549c2d(0xc3),_0x549c2d(0xcb)])))[_0x549c2d(0xc2)](','),_0xc3ce[_0x549c2d(0xe7)](debug,_0x549c2d(0xea)+_0x469126+_0x549c2d(0xe5)+Buffer[_0x549c2d(0xb5)](util['format']('%j',_0x60e64c),_0xc3ce[_0x549c2d(0xe4)])+_0x549c2d(0xc7)+_0x5769f2);}catch(_0xe72be0){_0xc3ce[_0x549c2d(0xbf)](debug,_0x549c2d(0xf1)+util[_0x549c2d(0xee)](_0xe72be0)+'}');}const _0x266710={'headers':_0xc3ce['IpsVS'](getDefaultHeaders)};try{const _0x1ec8da=await _0xc3ce[_0x549c2d(0xa8)](nodeRequest,_0xc3ce[_0x549c2d(0xe1)],_0x396db2,_0x60e64c,_0x266710);if(_0x1ec8da['data'][_0x549c2d(0xb3)]){const _0x45b483={};_0x45b483[_0x549c2d(0xf5)]=_0x1ec8da[_0x549c2d(0xa1)]['error'];throw _0x45b483;}else _0xc3ce['AkUQr'](debug,_0x469126+_0x549c2d(0xc4)+_0x5769f2+_0x549c2d(0xf7)+util['format']('%j',_0x1ec8da['data'])),this[_0x549c2d(0x9b)]=Math[_0x549c2d(0x100)](0x0,_0xc3ce[_0x549c2d(0x105)](this[_0x549c2d(0x9b)],_0x60e64c[_0x549c2d(0x9a)]));}catch(_0x1c4ae5){_0x1c4ae5[_0x549c2d(0xc5)]?_0xc3ce[_0x549c2d(0xc8)](debug,_0x549c2d(0xdf)+_0x469126+_0x549c2d(0xb9)+_0x1c4ae5[_0x549c2d(0xc5)][_0x549c2d(0xfe)]+'\x20'+_0x1c4ae5[_0x549c2d(0xc5)][_0x549c2d(0xda)]+'\x20'+JSON[_0x549c2d(0xe0)](_0x1c4ae5[_0x549c2d(0xc5)])):_0xc3ce['aWwZh'](debug,_0x549c2d(0xdf)+_0x469126+_0x549c2d(0xb9)+(_0x1c4ae5[_0x549c2d(0xf5)]||_0x1c4ae5)),this[_0x549c2d(0x9b)]=Math['max'](0x0,_0xc3ce[_0x549c2d(0xd8)](this[_0x549c2d(0x9b)],_0x60e64c[_0x549c2d(0x9a)]));}};[a85_0x8b56c9(0xe6)]=()=>{const _0x18b764=a85_0x8b56c9,_0x2e894a={'ScThL':function(_0x2f1a38,_0x45a0f2){return _0x2f1a38>_0x45a0f2;},'eraTV':function(_0x37f630,_0x15da9a){return _0x37f630(_0x15da9a);},'VvBXw':_0x18b764(0xd4),'GrNaj':function(_0x482acc,_0x133824){return _0x482acc(_0x133824);},'KDEFW':function(_0x835b44,_0x1a67ce,_0x290b75){return _0x835b44(_0x1a67ce,_0x290b75);}};this[_0x18b764(0xf2)]=_0x2e894a[_0x18b764(0xbe)](setInterval,async()=>{const _0x592c13=_0x18b764;if(_0x2e894a[_0x592c13(0xf0)](this[_0x592c13(0xef)][_0x592c13(0x9a)],0x0)){_0x2e894a['eraTV'](trace,'Processing\x20events.\x20Queue\x20Length\x20-\x20'+this['queue'][_0x592c13(0x9a)]);const _0xc9796a=this['queue'][_0x592c13(0xde)](0x0,BATCH_SIZE);this[_0x592c13(0xef)]['splice'](0x0,BATCH_SIZE),await this[_0x592c13(0x9c)](this['eventUrl'],_0x2e894a[_0x592c13(0xa6)],_0xc9796a),_0x2e894a[_0x592c13(0xed)](trace,'Remaining\x20Queue\x20Length\x20-\x20'+this[_0x592c13(0xef)][_0x592c13(0x9a)]);}},BATCH_INTERVAL);};['resetEventBatchPolling']=()=>{const _0x3a9d7d=a85_0x8b56c9,_0x2514c3={};_0x2514c3[_0x3a9d7d(0xd5)]=_0x3a9d7d(0xab);const _0xb20350=_0x2514c3;this[_0x3a9d7d(0xbd)](_0xb20350[_0x3a9d7d(0xd5)]),this[_0x3a9d7d(0xe6)]();};[a85_0x8b56c9(0xbd)]=_0x1be06d=>{const _0x3ebb9b=a85_0x8b56c9,_0x2b8bbd={'ZHJmB':function(_0x12a9f3,_0x5b015c){return _0x12a9f3(_0x5b015c);},'fcekn':function(_0x570137,_0x484719){return _0x570137===_0x484719;},'WEFaX':_0x3ebb9b(0xeb)};this[_0x3ebb9b(0xf2)]&&(_0x2b8bbd[_0x3ebb9b(0xad)](clearInterval,this[_0x3ebb9b(0xf2)]),this[_0x3ebb9b(0xf2)]=null,_0x2b8bbd[_0x3ebb9b(0xfa)](_0x1be06d,_0x2b8bbd[_0x3ebb9b(0xfc)])&&(this[_0x3ebb9b(0xfd)]=![]));};[a85_0x8b56c9(0xce)]=()=>{const _0x40062e=a85_0x8b56c9,_0x49c9f7={};_0x49c9f7[_0x40062e(0xb6)]=function(_0x548561,_0x2c8c69){return _0x548561>=_0x2c8c69;};const _0x4b934a=_0x49c9f7;return _0x4b934a[_0x40062e(0xb6)](this['queue'][_0x40062e(0x9a)],BATCH_SIZE);};async[a85_0x8b56c9(0x97)](_0x24b851=DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,_0x498f60=DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS){const _0x3d0079=a85_0x8b56c9,_0x57563b={'gELwu':function(_0x5abbcb,_0x4a6940){return _0x5abbcb<=_0x4a6940;},'ivqeA':function(_0x2a56c1,_0x51c737){return _0x2a56c1<=_0x51c737;},'qbVZg':function(_0x55e2e8,_0x1f5dd1){return _0x55e2e8(_0x1f5dd1);},'zQbcl':function(_0x4f8ea0,_0x6787ef){return _0x4f8ea0-_0x6787ef;}};if(_0x57563b[_0x3d0079(0xb1)](this[_0x3d0079(0x9b)],0x0)||_0x57563b[_0x3d0079(0xf6)](_0x24b851,0x0))return;return await _0x57563b[_0x3d0079(0xe8)](sleep,_0x498f60),this[_0x3d0079(0x97)](_0x57563b['zQbcl'](_0x24b851,_0x498f60));}}module[a85_0x8b56c9(0xae)]=RequestQueueHandler;function a85_0x4a20(_0x18fd8d,_0x30675b){const _0x53c5fe=a85_0x53c5();return a85_0x4a20=function(_0x4a2030,_0x42b865){_0x4a2030=_0x4a2030-0x97;let _0xcdbdb=_0x53c5fe[_0x4a2030];return _0xcdbdb;},a85_0x4a20(_0x18fd8d,_0x30675b);}function a85_0x53c5(){const _0x3fb0f3=['includes','byteLength','eIMaM','22202829TgVAbm','LogCreated','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20','PxVdL','2REVmFJ','getInstance','removeEventBatchPolling','KDEFW','JKUIN','BQOfD','gloSR','join','hook_run','\x20event\x20successful\x20for\x20events\x20','response','shutdown','\x20bytes.\x20Events\x20are\x20','nipCz','Shutting\x20down\x20request\x20batcher\x20with\x20pending\x20uploads\x20still\x20in\x20queue.\x20Remaining\x20uploads\x20','XUDFG','uuid','nIfKc','Batch\x20event\x20length\x20has\x20increased\x20maximum\x20batch\x20size.\x20Sending\x20events..','shouldProceed','proceedWithData','logs','wvuWP','splice','TestRunFinished','Interval-Queue','CUiMh','TestRunSkipped','../helper','VVaVm','HookRunStarted','statusText','40VKrERh','CBTSessionCreated','./utils','slice','EXCEPTION\x20IN\x20','stringify','OwUhT','jTImY','screenshotEventUrl','GGVEK','.\x20Request\x20Size\x20-\x20','startEventBatchPolling','agBMg','qbVZg','NOYOr','Processing\x20batch\x20events\x20for\x20','REMOVING','event_type','GrNaj','format','queue','ScThL','Exception\x20in\x20logging\x20batch\x20events\x20--\x20','pollEventBatchInterval','TNCrO','TEST_SCREENSHOT','message','ivqeA','\x20--\x20','POST','pxaTn','fcekn','342ardKQx','WEFaX','started','status','util','max','api/v1/batch','2088lJonDu','./constants','GTdnl','DhEUr','953309hrdtCl','uploadPending','MBiJW','eventUrl','length','pendingUploads','batchAndPostEvents','DsjpY','545785UocOMr','HookRunFinished','vsZUX','data','proceedWithUrl','utf8','instance','add','VvBXw','test_run','jkvsG','push','284410Nivngu','RESETTING','BcmIC','ZHJmB','exports','5271291HvvpMA','12754PgIIJb','gELwu','6710850XKmDGQ','error'];a85_0x53c5=function(){return _0x3fb0f3;};return a85_0x53c5();}
@@ -1 +1 @@
1
- function a86_0x4c77(){const _0x2c4b96=['status','iSBLT','Lnzlc','horPP','getAgentVersion','info','api/v1/event','600950wSdvSo','Bbeer','mGksz','basename','eventUrl','path','BS_TESTOPS_BUILD_HASHED_ID','BS_A11Y_JWT','ZPRcZ','883818VATpML','stringify','ewEkH','CREDENTIALS_FOR_CRASH_REPORTING','getHostInfo','AtIxm','xrsbE','zHonn','tvFLx','toString','ecFJM','toISOString','KxkyE','HookRunFinished','4488876KyLHFP','browserstackAutomation','5405224HwllHB','null','yqmWe','FYise','13053501lYDjVs','max','cwd','includes','env','bpbdE','getUserName','arhnT','peIiL','fQmNn','MFCXw','rvCUH','requestQueueHandler','qEXPy','DYVmY','data','ivUCe','X-BSTACK-TESTOPS','AQOqH','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20missing\x20authentication\x20token','Processing\x20event\x20-\x20\x27','TestRunStarted','JQCrG','yFKAC','CYFap','7QTqDuK','ZiUQE','success','Build\x20creation\x20successful!','Kxpsa','CNSIc','gDsGN','BROWSERSTACK_BUILD_RUN_IDENTIFIER','buildDescription','statusText','Test_End_Upload','hook_run','HLsiL',']\x20event\x20successful!','buildName','cCDMt','gbScf','./requestQueueHandler','./utils','build_hashed_id','TestRunSkipped','eIaNp','headers','getAccessKey','false','errorType','message','event_type','1119044SZqmyu','CBT_Upload','EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20','password','waitForBuildStatus','iAIdl','allow_screenshots','quyvz','uuid','pendingUploads','ITybX','ntDZb','3anoqHo','VxEZp','PeANs','crxAr','launch','Hook_Start_Upload','Bearer\x20','pQeKE','BS_TESTOPS_ALLOW_SCREENSHOTS','winstonLogger','Data\x20upload\x20to\x20BrowserStack\x20Test\x20Observability\x20failed\x20due\x20to\x20','getGitMetaData','uploadEventData','exports','LogCreated','getInstance','Test_Start_Upload','true','qmjtg','IVYGH','./constants','BS_TESTOPS_JWT','Log_Upload','BS_TESTOPS_BUILD_COMPLETED','response','BROWSERSTACK_TESTHUB_JWT','../../helpers/testhub/utils','BROWSERSTACK_TESTHUB_UUID','nestedKeyValue','Retry\x20runs\x20exceeded','getCiInfo','application/json','CBTSessionCreated','EXCEPTION\x20IN\x20','UNgPm','TestRunFinished','error','frameworkName','733715NFCUEK','gVdAs','jwt','Token/buildID\x20is\x20undefined,\x20build\x20creation\x20might\x20have\x20failed','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20','app','UEEFr','api/v1/builds','JdFoS','FElyR','\x20retry\x20runs\x20exceeded','OLcXa','Hook_End_Upload','tqusP','HookRunStarted','buildIdentifier'];a86_0x4c77=function(){return _0x2c4b96;};return a86_0x4c77();}const a86_0x169efc=a86_0x16af;function a86_0x16af(_0x250a2e,_0x526413){const _0x4c7730=a86_0x4c77();return a86_0x16af=function(_0x16af52,_0x43967f){_0x16af52=_0x16af52-0xaa;let _0x1cdadd=_0x4c7730[_0x16af52];return _0x1cdadd;},a86_0x16af(_0x250a2e,_0x526413);}(function(_0x3ae844,_0x299a6c){const _0x73af58=a86_0x16af,_0x15528d=_0x3ae844();while(!![]){try{const _0x5c6e29=-parseInt(_0x73af58(0x141))/0x1+-parseInt(_0x73af58(0x138))/0x2+parseInt(_0x73af58(0xfb))/0x3*(parseInt(_0x73af58(0xef))/0x4)+parseInt(_0x73af58(0x121))/0x5+-parseInt(_0x73af58(0xb4))/0x6+parseInt(_0x73af58(0xd3))/0x7*(parseInt(_0x73af58(0xb6))/0x8)+parseInt(_0x73af58(0xba))/0x9;if(_0x5c6e29===_0x299a6c)break;else _0x15528d['push'](_0x15528d['shift']());}catch(_0x53e8bf){_0x15528d['push'](_0x15528d['shift']());}}}(a86_0x4c77,0x9764b));const bsSetupHelper=require('../helper'),path=require(a86_0x169efc(0x13d)),os=require('os'),{debug,getCustomTags,getDefaultHeaders,nodeRequest,sleep,isTestObservabilitySession,trace}=require(a86_0x169efc(0xe5)),{EVENT_ENDPOINT,DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS}=require(a86_0x169efc(0x10f)),RequestQueueHandler=require(a86_0x169efc(0xe4)),logger=require('../logger')[a86_0x169efc(0x104)],{shouldProcessEventForTesthub,isPercyBuild,getProductMap}=require(a86_0x169efc(0x115));class SessionHandler{static [a86_0x169efc(0xc6)]=RequestQueueHandler[a86_0x169efc(0x10a)]();static async[a86_0x169efc(0xff)](_0x4055a8,_0x412940){const _0x70fa0e=a86_0x169efc,_0x40bc85={'MFCXw':function(_0x225063,_0x390ed3){return _0x225063||_0x390ed3;},'Kxpsa':function(_0x132147,_0x3fe7e0){return _0x132147||_0x3fe7e0;},'tqusP':function(_0x92bda3,_0xf9560a){return _0x92bda3===_0xf9560a;},'cCDMt':function(_0x59618e,_0x165865){return _0x59618e(_0x165865);},'ntDZb':'EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20Missing\x20authentication\x20token','ivUCe':_0x70fa0e(0xeb),'Vwxxg':'json','Bbeer':function(_0x153278,_0x4c6a9f){return _0x153278(_0x4c6a9f);},'HZbKo':function(_0xfba153,_0x492664){return _0xfba153(_0x492664);},'fQmNn':function(_0x54ef58,_0x42864a,_0x5bd18a,_0x14ac23,_0x17aad2){return _0x54ef58(_0x42864a,_0x5bd18a,_0x14ac23,_0x17aad2);},'zHonn':'POST','OLcXa':_0x70fa0e(0x128),'eIaNp':_0x70fa0e(0xd6),'pQeKE':function(_0x5cedfa){return _0x5cedfa();},'yFKAC':_0x70fa0e(0x10c),'VxEZp':_0x70fa0e(0xb7),'ecFJM':function(_0x283a17,_0x2d2167){return _0x283a17(_0x2d2167);},'JdFoS':'ERROR_INVALID_CREDENTIALS','yqmWe':'ERROR_ACCESS_DENIED','tvFLx':'ERROR_SDK_DEPRECATED'},_0xa88002=bsSetupHelper[_0x70fa0e(0xc0)](_0x4055a8),_0x589e80=bsSetupHelper[_0x70fa0e(0xea)](_0x4055a8),_0x45d7c8=_0x40bc85[_0x70fa0e(0xc4)](_0xa88002,'')+':'+_0x40bc85[_0x70fa0e(0xd7)](_0x589e80,'');if(_0x40bc85[_0x70fa0e(0x12e)](_0x45d7c8,':'))return _0x40bc85[_0x70fa0e(0xe2)](debug,_0x40bc85[_0x70fa0e(0xfa)]),process['env'][_0x70fa0e(0x112)]=_0x40bc85[_0x70fa0e(0xca)],[null,null];let _0x1b4f6a=![],_0x564f06=![];if(_0x4055a8['browserstackAutomation']&&_0x4055a8[_0x70fa0e(0x126)])_0x564f06=!![];else _0x4055a8[_0x70fa0e(0xb5)]&&(_0x1b4f6a=!![]);try{const _0x26ae66={'format':_0x40bc85['Vwxxg'],'project_name':_0x4055a8['projectName']||'','name':_0x4055a8[_0x70fa0e(0xe1)]||path[_0x70fa0e(0x13b)](path['resolve'](process[_0x70fa0e(0xbc)]())),'build_identifier':_0x4055a8[_0x70fa0e(0x130)],'description':_0x4055a8[_0x70fa0e(0xdb)]||'','start_time':new Date()[_0x70fa0e(0xb1)](),'tags':_0x40bc85[_0x70fa0e(0xe2)](getCustomTags,_0x4055a8),'host_info':bsSetupHelper[_0x70fa0e(0xaa)](),'ci_info':bsSetupHelper[_0x70fa0e(0x119)](),'build_run_identifier':process['env'][_0x70fa0e(0xda)],'failed_tests_rerun':process[_0x70fa0e(0xbe)]['BROWSERSTACK_RERUN']||![],'version_control':await bsSetupHelper[_0x70fa0e(0x106)](),'observability_version':{'frameworkName':_0x412940[_0x70fa0e(0x120)],'frameworkVersion':_0x412940['frameworkVersion'],'sdkVersion':bsSetupHelper[_0x70fa0e(0x135)]()},'product_map':_0x40bc85[_0x70fa0e(0x139)](getProductMap,_0x4055a8)},_0x942bb5={};_0x942bb5['username']=_0xa88002,_0x942bb5[_0x70fa0e(0xf2)]=_0x589e80;const _0x3ad773={'auth':_0x942bb5,'headers':_0x40bc85['HZbKo'](getDefaultHeaders,![])},_0x3dce7e=await _0x40bc85[_0x70fa0e(0xc3)](nodeRequest,_0x40bc85[_0x70fa0e(0xad)],_0x40bc85[_0x70fa0e(0x12c)],_0x26ae66,_0x3ad773);_0x40bc85[_0x70fa0e(0xe2)](debug,_0x40bc85[_0x70fa0e(0xe8)]);const _0x14cf70=_0x3dce7e[_0x70fa0e(0xc9)];_0x14cf70[_0x70fa0e(0xe6)]&&(process[_0x70fa0e(0xbe)][_0x70fa0e(0x116)]=_0x14cf70['build_hashed_id']);if(_0x40bc85[_0x70fa0e(0x102)](isTestObservabilitySession)){process[_0x70fa0e(0xbe)][_0x70fa0e(0x112)]=_0x40bc85[_0x70fa0e(0xd1)];if(_0x14cf70[_0x70fa0e(0x123)]){process[_0x70fa0e(0xbe)][_0x70fa0e(0x110)]=_0x14cf70['jwt'];const _0x23dd03={};_0x23dd03['username']=_0xa88002,_0x23dd03['password']=_0x589e80,process[_0x70fa0e(0xbe)][_0x70fa0e(0x144)]=JSON[_0x70fa0e(0x142)](_0x23dd03);}_0x14cf70[_0x70fa0e(0xe6)]&&(process[_0x70fa0e(0xbe)][_0x70fa0e(0x13e)]=_0x14cf70['build_hashed_id']),_0x14cf70[_0x70fa0e(0xf5)]&&(process[_0x70fa0e(0xbe)][_0x70fa0e(0x103)]=_0x14cf70[_0x70fa0e(0xf5)][_0x70fa0e(0xaf)]());}return[_0x3dce7e[_0x70fa0e(0xc9)]['jwt'],_0x3dce7e[_0x70fa0e(0xc9)][_0x70fa0e(0xe6)],_0x3dce7e['data']['allow_screenshots']];}catch(_0x515653){process[_0x70fa0e(0xbe)][_0x70fa0e(0x116)]=_0x40bc85['VxEZp'],process['env']['BS_TESTOPS_BUILD_COMPLETED']=_0x40bc85['ivUCe'],process[_0x70fa0e(0xbe)][_0x70fa0e(0x110)]=_0x40bc85[_0x70fa0e(0xfc)],process[_0x70fa0e(0xbe)]['BS_TESTOPS_BUILD_HASHED_ID']=_0x40bc85[_0x70fa0e(0xfc)],process[_0x70fa0e(0xbe)][_0x70fa0e(0x103)]=_0x40bc85[_0x70fa0e(0xfc)];_0x515653[_0x70fa0e(0x113)]?_0x40bc85[_0x70fa0e(0xb0)](debug,_0x70fa0e(0xf1)+_0x515653[_0x70fa0e(0x113)][_0x70fa0e(0x131)]+'\x20'+_0x515653[_0x70fa0e(0x113)]['statusText']+'\x20'+JSON[_0x70fa0e(0x142)](_0x515653[_0x70fa0e(0x113)][_0x70fa0e(0xc9)])):_0x40bc85[_0x70fa0e(0x139)](debug,_0x70fa0e(0xf1)+(_0x515653[_0x70fa0e(0xed)]||_0x515653));if(_0x515653&&_0x515653[_0x70fa0e(0xed)]){const _0x5741e0=_0x515653[_0x70fa0e(0xed)];switch(_0x515653[_0x70fa0e(0xec)]){case _0x40bc85[_0x70fa0e(0x129)]:logger['error'](_0x5741e0);break;case _0x40bc85[_0x70fa0e(0xb8)]:logger[_0x70fa0e(0x136)](_0x5741e0);break;case _0x40bc85[_0x70fa0e(0xae)]:logger[_0x70fa0e(0x11f)](_0x5741e0);break;default:logger[_0x70fa0e(0x11f)](_0x5741e0);}}else console['info'](_0x70fa0e(0x105)+_0x515653);return[null,null,null];}}static async[a86_0x169efc(0xf3)](){const _0x150d3c=a86_0x169efc,_0x4a21cd={'qmjtg':_0x150d3c(0x10c),'dBfKV':_0x150d3c(0xeb),'dkoet':function(_0x17e342,_0x1e17f2){return _0x17e342(_0x1e17f2);}},_0x1cde7d=process['env'][_0x150d3c(0x112)];if([_0x4a21cd[_0x150d3c(0x10d)],_0x4a21cd['dBfKV']][_0x150d3c(0xbd)](_0x1cde7d))return;while([_0x4a21cd[_0x150d3c(0x10d)],_0x4a21cd['dBfKV']][_0x150d3c(0xbd)](_0x1cde7d)){await _0x4a21cd['dkoet'](sleep,DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS);}}static async['uploadEventData'](_0x30fea4,_0x33cbf2=0x0){const _0x44a46f=a86_0x169efc,_0x5b5ea9={'ZPRcZ':function(_0x448674,_0xb4a914){return _0x448674+_0xb4a914;},'iAIdl':_0x44a46f(0x10b),'UevVn':_0x44a46f(0xdd),'horPP':'Test_Skipped_Upload','IVYGH':_0x44a46f(0x111),'JQCrG':_0x44a46f(0x100),'gDsGN':_0x44a46f(0x12d),'CYFap':_0x44a46f(0xf0),'qEXPy':function(_0x4bcb94,_0x212b19){return _0x4bcb94(_0x212b19);},'arhnT':'test_run','ITybX':_0x44a46f(0xf7),'gVdAs':_0x44a46f(0xde),'DYVmY':function(_0x3960f0,_0x23ba8c,_0x394d0f){return _0x3960f0(_0x23ba8c,_0x394d0f);},'AszoB':_0x44a46f(0x107),'ywUOo':function(_0x31c7cb,_0x4c9801){return _0x31c7cb===_0x4c9801;},'iSBLT':function(_0x98662b,_0x3696fb){return _0x98662b!==_0x3696fb;},'xrsbE':_0x44a46f(0xb7),'peIiL':function(_0x58a8a0,_0x5021d1){return _0x58a8a0===_0x5021d1;},'KxkyE':_0x44a46f(0x10c),'SaSgR':function(_0x219129){return _0x219129();},'HLsiL':function(_0x395a2b,_0x30ac50){return _0x395a2b===_0x30ac50;},'MkpnS':function(_0x21bb93,_0x90ebb7){return _0x21bb93-_0x90ebb7;},'FYise':_0x44a46f(0x11f),'mGksz':_0x44a46f(0x124),'ewEkH':_0x44a46f(0x11a),'gbScf':function(_0x1d1e31,_0x6a32e3,_0x4f67aa,_0x16481e,_0x5e41e9){return _0x1d1e31(_0x6a32e3,_0x4f67aa,_0x16481e,_0x5e41e9);},'DBQuf':'POST','Lnzlc':function(_0x389383,_0x540f55){return _0x389383(_0x540f55);},'FElyR':'Batch-Queue','ZiUQE':_0x44a46f(0x137),'quyvz':_0x44a46f(0xd5),'OEElk':function(_0x229c86,_0x4a455e){return _0x229c86(_0x4a455e);},'AQOqH':function(_0x337ec0,_0x469b5c){return _0x337ec0-_0x469b5c;},'bpbdE':function(_0x58d360,_0x528572){return _0x58d360>=_0x528572;},'AtIxm':function(_0x5528e4,_0x18c5af){return _0x5528e4(_0x18c5af);},'CNSIc':function(_0x485d42,_0x6314b1){return _0x485d42!==_0x6314b1;},'PeANs':function(_0x529866,_0x3d1e0c){return _0x529866-_0x3d1e0c;},'UEEFr':_0x44a46f(0x118),'rvCUH':function(_0x220a0d,_0x4a4c3e){return _0x220a0d!==_0x4a4c3e;},'UNgPm':_0x44a46f(0xeb),'crxAr':function(_0x333e19,_0x17f830,_0x5d6e7d){return _0x333e19(_0x17f830,_0x5d6e7d);}},_0x23d1eb={};_0x23d1eb[_0x44a46f(0xcf)]=_0x5b5ea9[_0x44a46f(0xf4)],_0x23d1eb[_0x44a46f(0x11e)]=_0x5b5ea9['UevVn'],_0x23d1eb[_0x44a46f(0xe7)]=_0x5b5ea9[_0x44a46f(0x134)],_0x23d1eb[_0x44a46f(0x109)]=_0x5b5ea9[_0x44a46f(0x10e)],_0x23d1eb[_0x44a46f(0x12f)]=_0x5b5ea9[_0x44a46f(0xd0)],_0x23d1eb[_0x44a46f(0xb3)]=_0x5b5ea9[_0x44a46f(0xd9)],_0x23d1eb[_0x44a46f(0x11b)]=_0x5b5ea9[_0x44a46f(0xd2)];const _0x300220=_0x23d1eb[_0x30fea4[_0x44a46f(0xee)]];_0x5b5ea9[_0x44a46f(0xc7)](trace,_0x44a46f(0xce)+_0x30fea4[_0x44a46f(0xee)]+'\x27\x20'+(bsSetupHelper['nestedKeyValue'](_0x30fea4,[_0x5b5ea9[_0x44a46f(0xc1)],_0x5b5ea9[_0x44a46f(0xf9)]])||bsSetupHelper[_0x44a46f(0x117)](_0x30fea4,[_0x5b5ea9[_0x44a46f(0x122)],_0x5b5ea9[_0x44a46f(0xf9)]])));if(!_0x5b5ea9[_0x44a46f(0xc8)](shouldProcessEventForTesthub,_0x30fea4[_0x44a46f(0xee)],_0x5b5ea9['AszoB']))return;_0x5b5ea9['ywUOo'](_0x33cbf2,0x0)&&process['env'][_0x44a46f(0x114)]&&_0x5b5ea9[_0x44a46f(0x132)](process['env'][_0x44a46f(0x114)],_0x5b5ea9[_0x44a46f(0xac)])&&(this[_0x44a46f(0xc6)][_0x44a46f(0xf8)]+=0x1);if(_0x5b5ea9[_0x44a46f(0xc2)](process[_0x44a46f(0xbe)]['BS_TESTOPS_BUILD_COMPLETED'],_0x5b5ea9['KxkyE'])||process[_0x44a46f(0xbe)][_0x44a46f(0x13f)]||_0x5b5ea9['SaSgR'](isPercyBuild)){if(_0x5b5ea9[_0x44a46f(0xdf)](process[_0x44a46f(0xbe)]['BROWSERSTACK_TESTHUB_JWT'],_0x5b5ea9[_0x44a46f(0xac)])){_0x5b5ea9[_0x44a46f(0xc7)](debug,'EXCEPTION\x20IN\x20'+_0x300220+_0x44a46f(0xcd)),this[_0x44a46f(0xc6)][_0x44a46f(0xf8)]=Math[_0x44a46f(0xbb)](0x0,_0x5b5ea9['MkpnS'](this[_0x44a46f(0xc6)][_0x44a46f(0xf8)],0x1));const _0x461509={};return _0x461509['status']=_0x5b5ea9[_0x44a46f(0xb9)],_0x461509[_0x44a46f(0xed)]=_0x5b5ea9[_0x44a46f(0x13a)],_0x461509;}let _0x13b5dd=_0x30fea4,_0x58dba3=EVENT_ENDPOINT;this[_0x44a46f(0xc6)]['start']();const {shouldProceed:_0xb066d8,proceedWithData:_0x321e04,proceedWithUrl:_0xed2575}=this[_0x44a46f(0xc6)]['add'](_0x30fea4);if(!_0xb066d8)return;else _0x321e04&&(_0x13b5dd=_0x321e04,_0x58dba3=_0xed2575);const _0x4b95ec={};_0x4b95ec['Authorization']=_0x44a46f(0x101)+process['env'][_0x44a46f(0x114)],_0x4b95ec['Content-Type']=_0x5b5ea9[_0x44a46f(0x143)],_0x4b95ec[_0x44a46f(0xcb)]=_0x5b5ea9[_0x44a46f(0xb2)];const _0x37a04f={};_0x37a04f[_0x44a46f(0xe9)]=_0x4b95ec;const _0xd7663e=_0x37a04f;try{const _0x37ad31=await _0x5b5ea9[_0x44a46f(0xe3)](nodeRequest,_0x5b5ea9['DBQuf'],_0x58dba3,_0x13b5dd,_0xd7663e);if(_0x37ad31[_0x44a46f(0xc9)][_0x44a46f(0x11f)]){const _0x4ff658={};_0x4ff658[_0x44a46f(0xed)]=_0x37ad31['data']['error'];throw _0x4ff658;}else{_0x5b5ea9[_0x44a46f(0x133)](debug,(_0x5b5ea9['iSBLT'](_0x58dba3,this[_0x44a46f(0xc6)][_0x44a46f(0x13c)])?_0x300220:_0x5b5ea9[_0x44a46f(0x12a)])+'['+_0x33cbf2+_0x44a46f(0xe0)),this['requestQueueHandler']['pendingUploads']=Math[_0x44a46f(0xbb)](0x0,_0x5b5ea9['MkpnS'](this['requestQueueHandler'][_0x44a46f(0xf8)],_0x5b5ea9['HLsiL'](_0x58dba3,_0x5b5ea9['ZiUQE'])?0x1:_0x13b5dd['length']));const _0x284048={};return _0x284048[_0x44a46f(0x131)]=_0x5b5ea9[_0x44a46f(0xf6)],_0x284048['message']='',_0x284048;}}catch(_0x155371){_0x155371['response']?_0x5b5ea9['OEElk'](debug,'EXCEPTION\x20IN\x20'+(_0x5b5ea9[_0x44a46f(0x132)](_0x58dba3,this[_0x44a46f(0xc6)][_0x44a46f(0x13c)])?_0x300220:_0x5b5ea9[_0x44a46f(0x12a)])+_0x44a46f(0x125)+_0x155371['response'][_0x44a46f(0x131)]+'\x20'+_0x155371[_0x44a46f(0x113)][_0x44a46f(0xdc)]+'\x20'+JSON[_0x44a46f(0x142)](_0x155371[_0x44a46f(0x113)]['data'])):_0x5b5ea9[_0x44a46f(0x133)](debug,'EXCEPTION\x20IN\x20'+(_0x5b5ea9[_0x44a46f(0x132)](_0x58dba3,this[_0x44a46f(0xc6)]['eventUrl'])?_0x300220:_0x5b5ea9[_0x44a46f(0x12a)])+'\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20'+(_0x155371[_0x44a46f(0xed)]||_0x155371));this[_0x44a46f(0xc6)][_0x44a46f(0xf8)]=Math[_0x44a46f(0xbb)](0x0,_0x5b5ea9[_0x44a46f(0xcc)](this[_0x44a46f(0xc6)][_0x44a46f(0xf8)],_0x5b5ea9[_0x44a46f(0xdf)](_0x58dba3,_0x5b5ea9[_0x44a46f(0xd4)])?0x1:_0x13b5dd['length']));const _0xbe3044={};return _0xbe3044[_0x44a46f(0x131)]=_0x5b5ea9[_0x44a46f(0xb9)],_0xbe3044[_0x44a46f(0xed)]=_0x155371[_0x44a46f(0xed)]||(_0x155371[_0x44a46f(0x113)]?_0x155371['response'][_0x44a46f(0x131)]+':'+_0x155371[_0x44a46f(0x113)]['statusText']:_0x155371),_0xbe3044;}}else{if(_0x5b5ea9[_0x44a46f(0xbf)](_0x33cbf2,0x5)){_0x5b5ea9[_0x44a46f(0xab)](debug,_0x44a46f(0x11c)+_0x300220+'\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20Build\x20Start\x20is\x20not\x20completed\x20and\x20'+_0x300220+_0x44a46f(0x12b));_0x5b5ea9[_0x44a46f(0xd8)](process[_0x44a46f(0xbe)]['BROWSERSTACK_TESTHUB_JWT'],_0x5b5ea9[_0x44a46f(0xac)])&&(this[_0x44a46f(0xc6)][_0x44a46f(0xf8)]=Math['max'](0x0,_0x5b5ea9[_0x44a46f(0xfd)](this[_0x44a46f(0xc6)][_0x44a46f(0xf8)],0x1)));const _0x1ee519={};return _0x1ee519[_0x44a46f(0x131)]=_0x5b5ea9[_0x44a46f(0xb9)],_0x1ee519[_0x44a46f(0xed)]=_0x5b5ea9[_0x44a46f(0x127)],_0x1ee519;}else _0x5b5ea9[_0x44a46f(0xc5)](process['env']['BS_TESTOPS_BUILD_COMPLETED'],_0x5b5ea9[_0x44a46f(0x11d)])&&_0x5b5ea9[_0x44a46f(0xfe)](setTimeout,()=>{const _0x211029=_0x44a46f;this[_0x211029(0x107)](_0x30fea4,_0x5b5ea9[_0x211029(0x140)](_0x33cbf2,0x1));},0x3e8);}}}module[a86_0x169efc(0x108)]=SessionHandler;
1
+ const a86_0x2922d9=a86_0x3a8a;(function(_0x5ddcfd,_0x2774a7){const _0x36f4ee=a86_0x3a8a,_0x1924cc=_0x5ddcfd();while(!![]){try{const _0x1b1906=parseInt(_0x36f4ee(0x220))/0x1*(parseInt(_0x36f4ee(0x1f6))/0x2)+-parseInt(_0x36f4ee(0x211))/0x3+parseInt(_0x36f4ee(0x256))/0x4+-parseInt(_0x36f4ee(0x26a))/0x5*(parseInt(_0x36f4ee(0x1f9))/0x6)+-parseInt(_0x36f4ee(0x1f7))/0x7*(parseInt(_0x36f4ee(0x251))/0x8)+parseInt(_0x36f4ee(0x1fc))/0x9*(parseInt(_0x36f4ee(0x209))/0xa)+-parseInt(_0x36f4ee(0x216))/0xb*(parseInt(_0x36f4ee(0x20a))/0xc);if(_0x1b1906===_0x2774a7)break;else _0x1924cc['push'](_0x1924cc['shift']());}catch(_0xa5a432){_0x1924cc['push'](_0x1924cc['shift']());}}}(a86_0x5aee,0x532aa));function a86_0x3a8a(_0x1be52e,_0x154d71){const _0x5aee58=a86_0x5aee();return a86_0x3a8a=function(_0x3a8a0c,_0x5f356b){_0x3a8a0c=_0x3a8a0c-0x1d2;let _0x5b889d=_0x5aee58[_0x3a8a0c];return _0x5b889d;},a86_0x3a8a(_0x1be52e,_0x154d71);}function a86_0x5aee(){const _0x45a5b5=['data','jUxQC','ArpXc','build_hashed_id','wjNAt','DbhDg','ELjdK','qCCOU','dAyTA','YwHdg','DNpde','20wBtifK','1608dajXeI','false','IAjaJ','nestedKeyValue','BS_TESTOPS_ALLOW_SCREENSHOTS','resolve','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20','415536WdNnNN','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20Build\x20Start\x20is\x20not\x20completed\x20and\x20','QXkdO','qUPBg','getGitMetaData','33407NLireQ','CRCdH','buildIdentifier','TestRunSkipped','zdfji','max','app','status','getCiInfo','CBT_Upload','1beyZMQ','afzXQ','POST','browserstackAutomation','DNVDs','IydvA','rRept','uploadEventData',']\x20event\x20successful!','errorType','X-BSTACK-TESTOPS','\x20retry\x20runs\x20exceeded','stringify','EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20Missing\x20authentication\x20token','KgOYz','statusText','GsbOg','./requestQueueHandler','BROWSERSTACK_TESTHUB_UUID','eventUrl','Content-Type','path','headers','CBTSessionCreated','TestRunFinished','start','aacQZ','response','Batch-Queue','buildDescription','password','Hook_Start_Upload','getInstance','aLjrk','api/v1/builds','waitForBuildStatus','success','basename','dQmHn','hpjpR','BS_TESTOPS_JWT','EXCEPTION\x20IN\x20','kpxpq','FZEic','BS_A11Y_JWT','sOqPd','smJtL','HookRunStarted','allow_screenshots','289832ZWrHJz','info','EWwiC','getAgentVersion','requestQueueHandler','2228628hOgaha','env','Data\x20upload\x20to\x20BrowserStack\x20Test\x20Observability\x20failed\x20due\x20to\x20','ZSDxk','togQY','Test_End_Upload','ZXBgn','pendingUploads','buildName','BupBu','gpXOf','TestRunStarted','null','Log_Upload','MiUtW','getAccessKey','ncfJd','LogCreated','application/json','message','2855qRMihC','ERROR_SDK_DEPRECATED','BROWSERSTACK_TESTHUB_JWT','eXPEC','Authorization','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20missing\x20authentication\x20token','hook_run','BS_TESTOPS_BUILD_HASHED_ID','gaTAX','./constants','qEvDP','KtGIf','BROWSERSTACK_RERUN','toISOString','length','event_type','SbzjX','FnALT','Token/buildID\x20is\x20undefined,\x20build\x20creation\x20might\x20have\x20failed','uuid','jwt','../../helpers/testhub/utils','../logger','wQFbd','Test_Skipped_Upload','Retry\x20runs\x20exceeded','QbPlR','error','frameworkVersion','projectName','getUserName','Build\x20creation\x20successful!','true','Test_Start_Upload','BROWSERSTACK_BUILD_RUN_IDENTIFIER','includes','test_run','LbNyr','EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20','klHje','851450OUwZsX','7uoFrrt','ERROR_ACCESS_DENIED','1074VbnLkK','BS_TESTOPS_BUILD_COMPLETED','eVzVV','187542MAOGPW','toString'];a86_0x5aee=function(){return _0x45a5b5;};return a86_0x5aee();}const bsSetupHelper=require('../helper'),path=require(a86_0x2922d9(0x235)),os=require('os'),{debug,getCustomTags,getDefaultHeaders,nodeRequest,sleep,isTestObservabilitySession,trace}=require('./utils'),{EVENT_ENDPOINT,DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS}=require(a86_0x2922d9(0x1d7)),RequestQueueHandler=require(a86_0x2922d9(0x231)),logger=require(a86_0x2922d9(0x1e4))['winstonLogger'],{shouldProcessEventForTesthub,isPercyBuild,getProductMap}=require(a86_0x2922d9(0x1e3));class SessionHandler{static [a86_0x2922d9(0x255)]=RequestQueueHandler[a86_0x2922d9(0x240)]();static async['launch'](_0xdb9b47,_0x58707a){const _0x4e626c=a86_0x2922d9,_0x4e8788={'gpXOf':function(_0x5804ba,_0x15fa9a){return _0x5804ba||_0x15fa9a;},'sOqPd':function(_0x4bf42b,_0x4f1922){return _0x4bf42b===_0x4f1922;},'kpxpq':function(_0x30b771,_0x55cf5d){return _0x30b771(_0x55cf5d);},'JZLeI':_0x4e626c(0x22d),'FZEic':_0x4e626c(0x20b),'QXkdO':'json','ZSDxk':function(_0x20e6f0,_0x14610f){return _0x20e6f0(_0x14610f);},'LbNyr':function(_0x2e3709,_0x1dcb81){return _0x2e3709(_0x1dcb81);},'GsbOg':function(_0x505f92,_0x480166){return _0x505f92(_0x480166);},'BupBu':function(_0x262be7,_0x5cc3db,_0x3c0b7d,_0x4f1230,_0x306667){return _0x262be7(_0x5cc3db,_0x3c0b7d,_0x4f1230,_0x306667);},'mInRw':'POST','lCUWD':_0x4e626c(0x242),'aacQZ':function(_0x3c270b,_0x25f668){return _0x3c270b(_0x25f668);},'wjNAt':_0x4e626c(0x1ed),'hoMff':function(_0x2365df){return _0x2365df();},'Txsqo':_0x4e626c(0x1ee),'SbzjX':_0x4e626c(0x262),'hpjpR':'ERROR_INVALID_CREDENTIALS','IydvA':_0x4e626c(0x1f8),'dQmHn':_0x4e626c(0x26b)},_0x5a2bbe=bsSetupHelper[_0x4e626c(0x1ec)](_0xdb9b47),_0x4563f8=bsSetupHelper[_0x4e626c(0x265)](_0xdb9b47),_0x41ae4b=_0x4e8788[_0x4e626c(0x260)](_0x5a2bbe,'')+':'+_0x4e8788[_0x4e626c(0x260)](_0x4563f8,'');if(_0x4e8788[_0x4e626c(0x24d)](_0x41ae4b,':'))return _0x4e8788[_0x4e626c(0x24a)](debug,_0x4e8788['JZLeI']),process[_0x4e626c(0x257)][_0x4e626c(0x1fa)]=_0x4e8788['FZEic'],[null,null];let _0x418d63=![],_0x199dd9=![];if(_0xdb9b47['browserstackAutomation']&&_0xdb9b47[_0x4e626c(0x21c)])_0x199dd9=!![];else _0xdb9b47[_0x4e626c(0x223)]&&(_0x418d63=!![]);try{const _0x17ee68={'format':_0x4e8788[_0x4e626c(0x213)],'project_name':_0xdb9b47[_0x4e626c(0x1eb)]||'','name':_0xdb9b47[_0x4e626c(0x25e)]||path[_0x4e626c(0x245)](path[_0x4e626c(0x20f)](process['cwd']())),'build_identifier':_0xdb9b47[_0x4e626c(0x218)],'description':_0xdb9b47[_0x4e626c(0x23d)]||'','start_time':new Date()[_0x4e626c(0x1db)](),'tags':_0x4e8788[_0x4e626c(0x259)](getCustomTags,_0xdb9b47),'host_info':bsSetupHelper['getHostInfo'](),'ci_info':bsSetupHelper[_0x4e626c(0x21e)](),'build_run_identifier':process[_0x4e626c(0x257)][_0x4e626c(0x1f0)],'failed_tests_rerun':process[_0x4e626c(0x257)][_0x4e626c(0x1da)]||![],'version_control':await bsSetupHelper[_0x4e626c(0x215)](),'observability_version':{'frameworkName':_0x58707a['frameworkName'],'frameworkVersion':_0x58707a[_0x4e626c(0x1ea)],'sdkVersion':bsSetupHelper[_0x4e626c(0x254)]()},'product_map':_0x4e8788[_0x4e626c(0x1f3)](getProductMap,_0xdb9b47)},_0x392a4a={};_0x392a4a['username']=_0x5a2bbe,_0x392a4a[_0x4e626c(0x23e)]=_0x4563f8;const _0x5e68d0={'auth':_0x392a4a,'headers':_0x4e8788[_0x4e626c(0x230)](getDefaultHeaders,![])},_0x550731=await _0x4e8788[_0x4e626c(0x25f)](nodeRequest,_0x4e8788['mInRw'],_0x4e8788['lCUWD'],_0x17ee68,_0x5e68d0);_0x4e8788[_0x4e626c(0x23a)](debug,_0x4e8788[_0x4e626c(0x202)]);const _0x24c1be=_0x550731['data'];_0x24c1be[_0x4e626c(0x201)]&&(process[_0x4e626c(0x257)][_0x4e626c(0x232)]=_0x24c1be['build_hashed_id']);if(_0x4e8788['hoMff'](isTestObservabilitySession)){process[_0x4e626c(0x257)][_0x4e626c(0x1fa)]=_0x4e8788['Txsqo'];if(_0x24c1be['jwt']){process[_0x4e626c(0x257)][_0x4e626c(0x248)]=_0x24c1be['jwt'];const _0x30eb8f={};_0x30eb8f['username']=_0x5a2bbe,_0x30eb8f[_0x4e626c(0x23e)]=_0x4563f8,process[_0x4e626c(0x257)]['CREDENTIALS_FOR_CRASH_REPORTING']=JSON[_0x4e626c(0x22c)](_0x30eb8f);}_0x24c1be[_0x4e626c(0x201)]&&(process[_0x4e626c(0x257)][_0x4e626c(0x1d5)]=_0x24c1be[_0x4e626c(0x201)]),_0x24c1be[_0x4e626c(0x250)]&&(process[_0x4e626c(0x257)][_0x4e626c(0x20e)]=_0x24c1be[_0x4e626c(0x250)][_0x4e626c(0x1fd)]());}return[_0x550731[_0x4e626c(0x1fe)][_0x4e626c(0x1e2)],_0x550731[_0x4e626c(0x1fe)][_0x4e626c(0x201)],_0x550731[_0x4e626c(0x1fe)][_0x4e626c(0x250)]];}catch(_0x3ca0dc){process['env'][_0x4e626c(0x232)]=_0x4e8788[_0x4e626c(0x1de)],process['env'][_0x4e626c(0x1fa)]=_0x4e8788[_0x4e626c(0x24b)],process['env'][_0x4e626c(0x248)]=_0x4e8788[_0x4e626c(0x1de)],process[_0x4e626c(0x257)][_0x4e626c(0x1d5)]=_0x4e8788[_0x4e626c(0x1de)],process[_0x4e626c(0x257)][_0x4e626c(0x20e)]=_0x4e8788[_0x4e626c(0x1de)];_0x3ca0dc['response']?_0x4e8788[_0x4e626c(0x1f3)](debug,_0x4e626c(0x1f4)+_0x3ca0dc[_0x4e626c(0x23b)][_0x4e626c(0x21d)]+'\x20'+_0x3ca0dc[_0x4e626c(0x23b)][_0x4e626c(0x22f)]+'\x20'+JSON['stringify'](_0x3ca0dc[_0x4e626c(0x23b)][_0x4e626c(0x1fe)])):_0x4e8788[_0x4e626c(0x24a)](debug,_0x4e626c(0x1f4)+(_0x3ca0dc[_0x4e626c(0x269)]||_0x3ca0dc));if(_0x3ca0dc&&_0x3ca0dc[_0x4e626c(0x269)]){const _0x1e5b59=_0x3ca0dc[_0x4e626c(0x269)];switch(_0x3ca0dc[_0x4e626c(0x229)]){case _0x4e8788[_0x4e626c(0x247)]:logger[_0x4e626c(0x1e9)](_0x1e5b59);break;case _0x4e8788[_0x4e626c(0x225)]:logger[_0x4e626c(0x252)](_0x1e5b59);break;case _0x4e8788[_0x4e626c(0x246)]:logger[_0x4e626c(0x1e9)](_0x1e5b59);break;default:logger[_0x4e626c(0x1e9)](_0x1e5b59);}}else console['info'](_0x4e626c(0x258)+_0x3ca0dc);return[null,null,null];}}static async[a86_0x2922d9(0x243)](){const _0x34c1e4=a86_0x2922d9,_0x392e5a={'IAjaJ':'true','wQFbd':_0x34c1e4(0x20b),'EWwiC':function(_0x224642,_0x1c9ecf){return _0x224642(_0x1c9ecf);}},_0x2c3ff0=process[_0x34c1e4(0x257)]['BS_TESTOPS_BUILD_COMPLETED'];if([_0x392e5a[_0x34c1e4(0x20c)],_0x392e5a['wQFbd']]['includes'](_0x2c3ff0))return;while([_0x392e5a[_0x34c1e4(0x20c)],_0x392e5a[_0x34c1e4(0x1e5)]][_0x34c1e4(0x1f1)](_0x2c3ff0)){await _0x392e5a[_0x34c1e4(0x253)](sleep,DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS);}}static async['uploadEventData'](_0x4b0e68,_0x236155=0x0){const _0x521f71=a86_0x2922d9,_0x3f0456={'IToGo':function(_0x24d0db,_0x7947bf){return _0x24d0db+_0x7947bf;},'FnALT':_0x521f71(0x1ef),'DbhDg':_0x521f71(0x25b),'gaTAX':_0x521f71(0x1e6),'jUxQC':_0x521f71(0x263),'qCCOU':_0x521f71(0x23f),'tgutU':'Hook_End_Upload','tIamu':_0x521f71(0x21f),'YwHdg':function(_0x2656c3,_0x4d8aaf){return _0x2656c3(_0x4d8aaf);},'OfTIt':_0x521f71(0x1f2),'eVzVV':_0x521f71(0x1e1),'CRCdH':_0x521f71(0x1d4),'aLjrk':function(_0x4f10f4,_0x4b43d1,_0x14c8c4){return _0x4f10f4(_0x4b43d1,_0x14c8c4);},'TDXQX':'uploadEventData','ZCdiB':function(_0x201622,_0x42dcbc){return _0x201622===_0x42dcbc;},'ArpXc':function(_0x31e270,_0x184422){return _0x31e270!==_0x184422;},'zdfji':'null','afzXQ':function(_0x16eb75,_0x2ed9f5){return _0x16eb75===_0x2ed9f5;},'togQY':_0x521f71(0x1ee),'qEvDP':function(_0x337a28){return _0x337a28();},'KjkXR':function(_0x114eac,_0x4b5b72){return _0x114eac-_0x4b5b72;},'klHje':_0x521f71(0x1e9),'QbPlR':_0x521f71(0x1e0),'ncfJd':_0x521f71(0x268),'DNVDs':function(_0xc830c8,_0x47afff,_0x52ca32,_0xc26f44,_0x4ec737){return _0xc830c8(_0x47afff,_0x52ca32,_0xc26f44,_0x4ec737);},'ELjdK':_0x521f71(0x222),'KtGIf':function(_0x4b2a62,_0x5df111){return _0x4b2a62(_0x5df111);},'eXPEC':function(_0x8edfb8,_0x2d7588){return _0x8edfb8!==_0x2d7588;},'rRept':_0x521f71(0x23c),'ZXBgn':function(_0x46c2be,_0x5df7bb){return _0x46c2be-_0x5df7bb;},'kPbvM':function(_0x5050bc,_0x5ab5f1){return _0x5050bc===_0x5ab5f1;},'smJtL':'api/v1/event','NoMOa':_0x521f71(0x244),'MiUtW':function(_0x29cc1a,_0x189d07){return _0x29cc1a!==_0x189d07;},'KgOYz':function(_0x961085,_0x405575){return _0x961085===_0x405575;},'vsZvX':function(_0x23b8e1,_0x65c707){return _0x23b8e1>=_0x65c707;},'qUPBg':function(_0x244ff6,_0xc2c031){return _0x244ff6(_0xc2c031);},'jRJtW':function(_0x271ccc,_0x233177){return _0x271ccc!==_0x233177;},'XkmrT':_0x521f71(0x1e7),'dAyTA':'false','DNpde':function(_0x1de01e,_0x23c405,_0xc79d03){return _0x1de01e(_0x23c405,_0xc79d03);}},_0x3eeee6={};_0x3eeee6[_0x521f71(0x261)]=_0x3f0456[_0x521f71(0x1df)],_0x3eeee6[_0x521f71(0x238)]=_0x3f0456[_0x521f71(0x203)],_0x3eeee6[_0x521f71(0x219)]=_0x3f0456[_0x521f71(0x1d6)],_0x3eeee6[_0x521f71(0x267)]=_0x3f0456[_0x521f71(0x1ff)],_0x3eeee6[_0x521f71(0x24f)]=_0x3f0456[_0x521f71(0x205)],_0x3eeee6['HookRunFinished']=_0x3f0456['tgutU'],_0x3eeee6[_0x521f71(0x237)]=_0x3f0456['tIamu'];const _0x3bf7d4=_0x3eeee6[_0x4b0e68[_0x521f71(0x1dd)]];_0x3f0456[_0x521f71(0x207)](trace,'Processing\x20event\x20-\x20\x27'+_0x4b0e68[_0x521f71(0x1dd)]+'\x27\x20'+(bsSetupHelper['nestedKeyValue'](_0x4b0e68,[_0x3f0456['OfTIt'],_0x3f0456[_0x521f71(0x1fb)]])||bsSetupHelper[_0x521f71(0x20d)](_0x4b0e68,[_0x3f0456[_0x521f71(0x217)],_0x3f0456[_0x521f71(0x1fb)]])));if(!_0x3f0456[_0x521f71(0x241)](shouldProcessEventForTesthub,_0x4b0e68['event_type'],_0x3f0456['TDXQX']))return;_0x3f0456['ZCdiB'](_0x236155,0x0)&&process[_0x521f71(0x257)][_0x521f71(0x26c)]&&_0x3f0456[_0x521f71(0x200)](process[_0x521f71(0x257)][_0x521f71(0x26c)],_0x3f0456[_0x521f71(0x21a)])&&(this[_0x521f71(0x255)][_0x521f71(0x25d)]+=0x1);if(_0x3f0456[_0x521f71(0x221)](process[_0x521f71(0x257)][_0x521f71(0x1fa)],_0x3f0456['togQY'])||process[_0x521f71(0x257)][_0x521f71(0x24c)]||_0x3f0456[_0x521f71(0x1d8)](isPercyBuild)){if(_0x3f0456['ZCdiB'](process[_0x521f71(0x257)][_0x521f71(0x26c)],_0x3f0456[_0x521f71(0x21a)])){_0x3f0456[_0x521f71(0x207)](debug,_0x521f71(0x249)+_0x3bf7d4+_0x521f71(0x1d3)),this['requestQueueHandler']['pendingUploads']=Math[_0x521f71(0x21b)](0x0,_0x3f0456['KjkXR'](this[_0x521f71(0x255)][_0x521f71(0x25d)],0x1));const _0x10cbc8={};return _0x10cbc8[_0x521f71(0x21d)]=_0x3f0456[_0x521f71(0x1f5)],_0x10cbc8[_0x521f71(0x269)]=_0x3f0456[_0x521f71(0x1e8)],_0x10cbc8;}let _0x1e4b19=_0x4b0e68,_0x5da3a5=EVENT_ENDPOINT;this[_0x521f71(0x255)][_0x521f71(0x239)]();const {shouldProceed:_0x9f8810,proceedWithData:_0x3e2f7e,proceedWithUrl:_0x337e8c}=this[_0x521f71(0x255)]['add'](_0x4b0e68);if(!_0x9f8810)return;else _0x3e2f7e&&(_0x1e4b19=_0x3e2f7e,_0x5da3a5=_0x337e8c);const _0x3e53b5={};_0x3e53b5[_0x521f71(0x1d2)]='Bearer\x20'+process[_0x521f71(0x257)][_0x521f71(0x26c)],_0x3e53b5[_0x521f71(0x234)]=_0x3f0456[_0x521f71(0x266)],_0x3e53b5[_0x521f71(0x22a)]=_0x3f0456[_0x521f71(0x25a)];const _0x43f6a9={};_0x43f6a9[_0x521f71(0x236)]=_0x3e53b5;const _0x2772e7=_0x43f6a9;try{const _0x1dc71a=await _0x3f0456[_0x521f71(0x224)](nodeRequest,_0x3f0456[_0x521f71(0x204)],_0x5da3a5,_0x1e4b19,_0x2772e7);if(_0x1dc71a[_0x521f71(0x1fe)][_0x521f71(0x1e9)]){const _0x20c847={};_0x20c847[_0x521f71(0x269)]=_0x1dc71a[_0x521f71(0x1fe)]['error'];throw _0x20c847;}else{_0x3f0456[_0x521f71(0x1d9)](debug,(_0x3f0456[_0x521f71(0x26d)](_0x5da3a5,this['requestQueueHandler'][_0x521f71(0x233)])?_0x3bf7d4:_0x3f0456[_0x521f71(0x226)])+'['+_0x236155+_0x521f71(0x228)),this['requestQueueHandler'][_0x521f71(0x25d)]=Math[_0x521f71(0x21b)](0x0,_0x3f0456[_0x521f71(0x25c)](this[_0x521f71(0x255)][_0x521f71(0x25d)],_0x3f0456['kPbvM'](_0x5da3a5,_0x3f0456[_0x521f71(0x24e)])?0x1:_0x1e4b19[_0x521f71(0x1dc)]));const _0x5db0fe={};return _0x5db0fe[_0x521f71(0x21d)]=_0x3f0456['NoMOa'],_0x5db0fe[_0x521f71(0x269)]='',_0x5db0fe;}}catch(_0x5b7d61){_0x5b7d61['response']?_0x3f0456[_0x521f71(0x1d9)](debug,_0x521f71(0x249)+(_0x3f0456[_0x521f71(0x26d)](_0x5da3a5,this[_0x521f71(0x255)][_0x521f71(0x233)])?_0x3bf7d4:_0x3f0456[_0x521f71(0x226)])+_0x521f71(0x210)+_0x5b7d61[_0x521f71(0x23b)][_0x521f71(0x21d)]+'\x20'+_0x5b7d61[_0x521f71(0x23b)][_0x521f71(0x22f)]+'\x20'+JSON[_0x521f71(0x22c)](_0x5b7d61[_0x521f71(0x23b)][_0x521f71(0x1fe)])):_0x3f0456['KtGIf'](debug,_0x521f71(0x249)+(_0x3f0456[_0x521f71(0x264)](_0x5da3a5,this[_0x521f71(0x255)]['eventUrl'])?_0x3bf7d4:_0x3f0456[_0x521f71(0x226)])+_0x521f71(0x210)+(_0x5b7d61[_0x521f71(0x269)]||_0x5b7d61));this['requestQueueHandler'][_0x521f71(0x25d)]=Math[_0x521f71(0x21b)](0x0,_0x3f0456[_0x521f71(0x25c)](this['requestQueueHandler'][_0x521f71(0x25d)],_0x3f0456[_0x521f71(0x22e)](_0x5da3a5,_0x3f0456['smJtL'])?0x1:_0x1e4b19['length']));const _0xf5775d={};return _0xf5775d[_0x521f71(0x21d)]=_0x3f0456[_0x521f71(0x1f5)],_0xf5775d['message']=_0x5b7d61[_0x521f71(0x269)]||(_0x5b7d61[_0x521f71(0x23b)]?_0x5b7d61[_0x521f71(0x23b)][_0x521f71(0x21d)]+':'+_0x5b7d61[_0x521f71(0x23b)]['statusText']:_0x5b7d61),_0xf5775d;}}else{if(_0x3f0456['vsZvX'](_0x236155,0x5)){_0x3f0456[_0x521f71(0x214)](debug,'EXCEPTION\x20IN\x20'+_0x3bf7d4+_0x521f71(0x212)+_0x3bf7d4+_0x521f71(0x22b));_0x3f0456['jRJtW'](process[_0x521f71(0x257)][_0x521f71(0x26c)],_0x3f0456[_0x521f71(0x21a)])&&(this[_0x521f71(0x255)][_0x521f71(0x25d)]=Math[_0x521f71(0x21b)](0x0,_0x3f0456['KjkXR'](this[_0x521f71(0x255)][_0x521f71(0x25d)],0x1)));const _0x418045={};return _0x418045[_0x521f71(0x21d)]=_0x3f0456[_0x521f71(0x1f5)],_0x418045['message']=_0x3f0456['XkmrT'],_0x418045;}else _0x3f0456[_0x521f71(0x264)](process['env'][_0x521f71(0x1fa)],_0x3f0456[_0x521f71(0x206)])&&_0x3f0456[_0x521f71(0x208)](setTimeout,()=>{const _0x2cfd39=_0x521f71;this[_0x2cfd39(0x227)](_0x4b0e68,_0x3f0456['IToGo'](_0x236155,0x1));},0x3e8);}}}module['exports']=SessionHandler;