browserstack-node-sdk 1.34.36 → 1.34.38

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
- 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
+ function a79_0x5b7d(){const _0x1614a1=['lEDAx','meta','Time\x20for\x20','dJMFK','../processHelper','nYevc','/error-report-','env','16hpoPls','toString','generateJSON','reLRO','platform','\x20for\x20all\x20processes\x20is\x20','length','browserStackCwd','4204424sGRJiX','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','HfnJT','isEnabled','LTTAN','AQrLR','getEventsFromJSON','hIAar','Error\x20stopping\x20monitoring\x20','_observer','kWGDk','ocbku','XSeSI','measure','finalizeErrors','entryType','toJSON','path','zOKvq','winstonLogger','dshgO','code','HXrZM','ywwkY','concat','../logger','appendFileSync','xjEzZ','istnN','errorFile','jsonReportDirPath','started','existsSync','XWWWQ','push','readdir','UOJOD','FKJnZ','EAfMg','success','stopMonitoring','errors','5875326OyOvex','worker','match','performance-report','parse','320lQgMQz','BROWSERSTACK_SDK_INSTRUMENTATION','Kzolk','171gwbNEz','startMonitoring','debug','mkdirSync','entryTypes','exports','11601877fMJOfB','utf-8','duration','function','writeFileSync','stringify','uCsYT','Error\x20in\x20doing\x20csv\x20operations:\x20','zIZYX','bqrEr','WWejZ','log','FGQce','stack','ebapd','230390RwEPAB','</td></tr>','mark','-end','join','getEntries','13095wHnnRP','pushPerfMeasures','HJMVV','message','start','Error\x20in\x20writing\x20html\x20','_measureEvents','<tr><td>','reduce','errorReportDirName','jsonReportFileName','18808779CzeNGI','eventsMap','unlinkSync','</td><td>','fzNVt','.json','captureError','<h1>Performance\x20Report</h1>','name','details','map','slice','/performance-report-','testName','errorReportFileName','getPerformance','-start','tpAFH','format','readFileSync','_events','fs/promises','</tbody></table></body></html>','calculateTimeFromEvents','_errorEvents','SZrZz','cgMUh','jsonReportDirName','getCleanedPerfEvents','Performance\x20report\x20is\x20at\x20','__platformCaps','SlNvd','finalizePerfMeasures','5LqkVTX','NkqHe','resolve','util','39012jTzLLD','OvZux','apply','assign','pushErrors','performance-own.html','finalize','index','cwd','forEach','disconnect','splice','generateHTMLReport','then','end','BjmrI','GLKgY','Error\x20while\x20removing\x20files:\x20','UtulX','error-report','measures'];a79_0x5b7d=function(){return _0x1614a1;};return a79_0x5b7d();}const a79_0x5de620=a79_0xa257;function a79_0xa257(_0x3cc45a,_0x489367){const _0x5b7d51=a79_0x5b7d();return a79_0xa257=function(_0xa2574f,_0x2aad75){_0xa2574f=_0xa2574f-0x164;let _0x27b041=_0x5b7d51[_0xa2574f];return _0x27b041;},a79_0xa257(_0x3cc45a,_0x489367);}(function(_0x52d404,_0x463ec6){const _0x356855=a79_0xa257,_0xba999a=_0x52d404();while(!![]){try{const _0x10dd03=parseInt(_0x356855(0x1b8))/0x1*(-parseInt(_0x356855(0x205))/0x2)+-parseInt(_0x356855(0x1e8))/0x3*(-parseInt(_0x356855(0x19a))/0x4)+-parseInt(_0x356855(0x1e4))/0x5*(-parseInt(_0x356855(0x195))/0x6)+parseInt(_0x356855(0x1a3))/0x7+-parseInt(_0x356855(0x16b))/0x8+-parseInt(_0x356855(0x19d))/0x9*(parseInt(_0x356855(0x1b2))/0xa)+-parseInt(_0x356855(0x1c3))/0xb;if(_0x10dd03===_0x463ec6)break;else _0xba999a['push'](_0xba999a['shift']());}catch(_0x115f12){_0xba999a['push'](_0xba999a['shift']());}}}(a79_0x5b7d,0xdb7c1));const fs=require('fs'),fsPromise=require(a79_0x5de620(0x1d8)),{performance,PerformanceObserver}=require('perf_hooks'),path=require(a79_0x5de620(0x17c)),util=require(a79_0x5de620(0x1e7)),logger=require(a79_0x5de620(0x184))[a79_0x5de620(0x17e)],{getProcessId,sleep,debug,getTestName}=require(a79_0x5de620(0x201));class PerformanceTester{static [a79_0x5de620(0x174)];static [a79_0x5de620(0x1d7)]=[];static ['_measureEvents']=[];static [a79_0x5de620(0x1db)]=[];static [a79_0x5de620(0x18a)]=![];static ['jsonReportDirName']=a79_0x5de620(0x198);static [a79_0x5de620(0x189)]=process[a79_0x5de620(0x204)][a79_0x5de620(0x16a)]?path[a79_0x5de620(0x1b6)](process[a79_0x5de620(0x204)][a79_0x5de620(0x16a)],this[a79_0x5de620(0x1de)]):path[a79_0x5de620(0x1b6)](process[a79_0x5de620(0x1f0)](),a79_0x5de620(0x1ae),this['jsonReportDirName']);static [a79_0x5de620(0x1c1)]=process[a79_0x5de620(0x204)][a79_0x5de620(0x16a)]?path[a79_0x5de620(0x1b6)](process[a79_0x5de620(0x204)]['browserStackCwd'],a79_0x5de620(0x1fb)):path['join'](process[a79_0x5de620(0x1f0)](),a79_0x5de620(0x1fb));static [a79_0x5de620(0x1c2)]=this[a79_0x5de620(0x189)]+a79_0x5de620(0x1cf)+getProcessId()+a79_0x5de620(0x1c8);static [a79_0x5de620(0x1d1)]=this[a79_0x5de620(0x1c1)]+a79_0x5de620(0x203)+getProcessId()+a79_0x5de620(0x1c8);static ['details']={};static [a79_0x5de620(0x1c4)]={};static[a79_0x5de620(0x19e)](_0x241ac6=this['jsonReportDirPath']+a79_0x5de620(0x1cf)+getProcessId()+'.json',_0x3020ff=this[a79_0x5de620(0x1c1)]+a79_0x5de620(0x203)+getProcessId()+a79_0x5de620(0x1c8)){const _0x2f92a1=a79_0x5de620,_0x18ac1e={};_0x18ac1e[_0x2f92a1(0x1ab)]=function(_0x415cb8,_0x54b777){return _0x415cb8===_0x54b777;},_0x18ac1e[_0x2f92a1(0x172)]=_0x2f92a1(0x178),_0x18ac1e[_0x2f92a1(0x186)]=function(_0x2d9ee0,_0x1a99ca){return _0x2d9ee0+_0x1a99ca;},_0x18ac1e[_0x2f92a1(0x181)]='Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20',_0x18ac1e[_0x2f92a1(0x1fd)]=_0x2f92a1(0x1a6);const _0x5db8bd=_0x18ac1e;try{!fs['existsSync'](this['jsonReportDirPath'])&&fs[_0x2f92a1(0x1a0)](this[_0x2f92a1(0x189)]);}catch(_0x416b15){logger[_0x2f92a1(0x19f)](_0x5db8bd[_0x2f92a1(0x186)](_0x5db8bd['HXrZM'],_0x416b15));}if(this[_0x2f92a1(0x18a)]||!this[_0x2f92a1(0x16e)]())return;this['_observer']=new PerformanceObserver(_0xcd2938=>{const _0xa7bb5f=_0x2f92a1;_0xcd2938[_0xa7bb5f(0x1b7)]()[_0xa7bb5f(0x1f1)](_0x210421=>{const _0x25a62c=_0xa7bb5f;if(_0x5db8bd[_0x25a62c(0x1ab)](_0x210421[_0x25a62c(0x17a)],_0x5db8bd['hIAar'])){let _0x26627d={};if(_0x210421[_0x25a62c(0x17b)])_0x26627d=_0x210421[_0x25a62c(0x17b)]();else for(const _0x43fa5a in _0x210421){_0x26627d[_0x43fa5a]=_0x210421[_0x43fa5a];}this['details'][_0x210421[_0x25a62c(0x1cb)]]&&(_0x26627d=Object[_0x25a62c(0x1eb)](_0x26627d,this[_0x25a62c(0x1cc)][_0x210421['name']])),delete this[_0x25a62c(0x1cc)][_0x210421[_0x25a62c(0x1cb)]],this[_0x25a62c(0x1be)][_0x25a62c(0x18d)](_0x26627d);}else this['_events'][_0x25a62c(0x18d)](_0x210421);});});const _0x47cc2f={};_0x47cc2f['buffered']=!![],_0x47cc2f[_0x2f92a1(0x1a1)]=[_0x5db8bd['lEDAx'],_0x5db8bd[_0x2f92a1(0x172)]],this[_0x2f92a1(0x174)]['observe'](_0x47cc2f),this[_0x2f92a1(0x18a)]=!![],this['jsonReportFileName']=_0x241ac6,this[_0x2f92a1(0x1d1)]=_0x3020ff;}static[a79_0x5de620(0x1d2)](){return performance;}static[a79_0x5de620(0x1da)](_0x4748e8,_0x14bcc3){const _0x4084b7=a79_0x5de620,_0x12df90={};_0x12df90[_0x4084b7(0x1e9)]=function(_0x10e27e,_0x38e1e1){return _0x10e27e+_0x38e1e1;},_0x12df90[_0x4084b7(0x18c)]=function(_0x2b58bd,_0x3dd1fc){return _0x2b58bd||_0x3dd1fc;},_0x12df90['HJMVV']=function(_0x242c22,_0x5883e6){return _0x242c22===_0x5883e6;};const _0x2b9287=_0x12df90,_0x1c0985={};if(!_0x4748e8||_0x2b9287[_0x4084b7(0x1ba)](_0x4748e8['length'],0x0))return;_0x4748e8['map'](_0x5ad094=>{const _0x2133ff=_0x4084b7;!_0x1c0985[_0x5ad094[_0x2133ff(0x1cb)]]&&(_0x1c0985[_0x5ad094[_0x2133ff(0x1cb)]]=0x0),_0x1c0985[_0x5ad094[_0x2133ff(0x1cb)]]+=_0x5ad094[_0x2133ff(0x1a5)];});const _0x24597a=_0x14bcc3[_0x4084b7(0x1c0)]((_0x49af99,_0xea6efa)=>{const _0x4f2bbc=_0x4084b7;return _0x2b9287[_0x4f2bbc(0x1e9)](_0x1c0985[_0xea6efa],_0x2b9287[_0x4f2bbc(0x18c)](_0x49af99,0x0));},0x0);return _0x24597a;}static async['calculateTimesFromMultipleFiles'](_0x2dbc3b,_0x3e9146){const _0xa23c4a=a79_0x5de620,_0x2f40f2={'LTTAN':function(_0x182c65,_0x51d400){return _0x182c65+_0x51d400;},'xvhOR':function(_0x1b1fe1,_0x5d8345){return _0x1b1fe1||_0x5d8345;},'bqrEr':function(_0x40a869,_0x269123){return _0x40a869===_0x269123;},'BjmrI':function(_0x4adf29,_0xe2a11f){return _0x4adf29(_0xe2a11f);},'NkqHe':function(_0x5a70ab,_0x3bb642){return _0x5a70ab(_0x3bb642);}};if(!_0x2dbc3b||_0x2f40f2[_0xa23c4a(0x1ac)](_0x2dbc3b[_0xa23c4a(0x169)],0x0))return 0x0;const _0x391c5b=[];for(const _0x454c9b of _0x2dbc3b){const _0x132e3f=path[_0xa23c4a(0x1b6)]('.',_0x454c9b);try{const _0x435d64=this[_0xa23c4a(0x171)](_0x132e3f);_0x435d64['map'](_0x5356f8=>{const _0x7b9d5e=_0xa23c4a;!_0x391c5b[_0x5356f8[_0x7b9d5e(0x1cb)]]&&(_0x391c5b[_0x5356f8[_0x7b9d5e(0x1cb)]]=0x0),_0x391c5b[_0x5356f8[_0x7b9d5e(0x1cb)]]+=_0x5356f8[_0x7b9d5e(0x1a5)];});}catch(_0x4b8835){_0x2f40f2[_0xa23c4a(0x1f7)](debug,_0xa23c4a(0x1aa)+_0x4b8835[_0xa23c4a(0x164)]());}}const _0x5ecc49=_0x3e9146[_0xa23c4a(0x1c0)]((_0x7e736,_0x17b1d2)=>{const _0x3c3e95=_0xa23c4a;return _0x2f40f2[_0x3c3e95(0x16f)](_0x391c5b[_0x17b1d2],_0x2f40f2['xvhOR'](_0x7e736,0x0));},0x0);return _0x2f40f2[_0xa23c4a(0x1e5)](debug,_0xa23c4a(0x1ff)+_0x3e9146+_0xa23c4a(0x168)+_0x5ecc49),_0x5ecc49;}static[a79_0x5de620(0x171)](_0x58d310){const _0x598840=a79_0x5de620;if(!fs[_0x598840(0x18b)](_0x58d310))return[];return JSON['parse'](fs[_0x598840(0x1d6)](_0x58d310)['toString']());}static async['stopAndGenerate'](_0xcaaf67=a79_0x5de620(0x1ed),_0x3cf868=null){const _0xb937a7=a79_0x5de620,_0x2acd19={'XSeSI':function(_0xd211fe,_0x70aee7){return _0xd211fe(_0x70aee7);}};if(!this[_0xb937a7(0x18a)])return;await _0x2acd19['XSeSI'](sleep,0x1e),this['_observer']['disconnect'](),this[_0xb937a7(0x18a)]=![],this[_0xb937a7(0x165)](this[_0xb937a7(0x1d7)]);const _0x14a883=this[_0xb937a7(0x1f4)](this['_events']),_0x1b52bb=path[_0xb937a7(0x1b6)](process[_0xb937a7(0x1f0)](),_0xcaaf67);fs['writeFile'](_0x1b52bb,_0x14a883,_0x4b0bda=>{const _0x2796c4=_0xb937a7;if(_0x4b0bda){_0x2acd19[_0x2796c4(0x177)](debug,_0x2796c4(0x1bd)+_0x4b0bda[_0x2796c4(0x164)]());return;}_0x2acd19[_0x2796c4(0x177)](debug,_0x2796c4(0x1e0)+_0x1b52bb);});if(_0x3cf868)return this[_0xb937a7(0x1da)](this[_0xb937a7(0x1d7)],_0x3cf868);}static[a79_0x5de620(0x1f4)](_0x2a78f7){const _0x3878db=a79_0x5de620,_0x4cba97={};_0x4cba97['UOJOD']='<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>',_0x4cba97[_0x3878db(0x1b1)]=_0x3878db(0x1ca),_0x4cba97[_0x3878db(0x202)]=_0x3878db(0x16c),_0x4cba97[_0x3878db(0x17d)]=_0x3878db(0x1d9);const _0x5f02e6=_0x4cba97;let _0x5003e9=_0x5f02e6[_0x3878db(0x18f)];return _0x5003e9+=_0x5f02e6[_0x3878db(0x1b1)],_0x5003e9+=_0x5f02e6[_0x3878db(0x202)],_0x2a78f7[_0x3878db(0x1f1)](_0x477f8c=>{const _0x3c2e9a=_0x3878db;_0x5003e9+=_0x3c2e9a(0x1bf)+_0x477f8c['name']+_0x3c2e9a(0x1c6)+_0x477f8c[_0x3c2e9a(0x1a5)]+_0x3c2e9a(0x1b3);}),_0x5003e9+=_0x5f02e6['zOKvq'],_0x5003e9;}static[a79_0x5de620(0x165)](_0x4d8ed4){const _0x3943ec=a79_0x5de620;if(!this[_0x3943ec(0x1c2)])return;const _0x47be94={};_0x4d8ed4['map'](_0x49d52b=>{const _0x1b97c7=_0x3943ec;!_0x47be94[_0x49d52b[_0x1b97c7(0x1cb)]]&&(_0x47be94[_0x49d52b[_0x1b97c7(0x1cb)]]=0x0),_0x47be94[_0x49d52b[_0x1b97c7(0x1cb)]]+=_0x49d52b[_0x1b97c7(0x1a5)];});const _0x48826c=Object['entries'](_0x47be94)[_0x3943ec(0x1cd)](([_0x376f9f,_0x19da72])=>{const _0x4ce387=_0x3943ec,_0x680873={};return _0x680873[_0x4ce387(0x1cb)]=_0x376f9f,_0x680873[_0x4ce387(0x1a5)]=_0x19da72,_0x680873;});fs[_0x3943ec(0x1a7)](this[_0x3943ec(0x1c2)],JSON[_0x3943ec(0x1a8)](_0x48826c));}static[a79_0x5de620(0x16e)](){const _0x257a8d=a79_0x5de620,_0x1151f1={};_0x1151f1['AQrLR']=function(_0x4fbd90,_0x2431ff){return _0x4fbd90===_0x2431ff;},_0x1151f1[_0x257a8d(0x1af)]='false';const _0x1b484c=_0x1151f1;return!_0x1b484c[_0x257a8d(0x170)](process['env'][_0x257a8d(0x19b)],_0x1b484c[_0x257a8d(0x1af)]);}static[a79_0x5de620(0x178)](_0x2ecb5d,_0x5e4211,_0x1239a6=null,_0x5159c1={},_0x3aeb47=null){const _0x27fca6=a79_0x5de620,_0x39be46={'SlNvd':function(_0xb63fc7,_0xe39339){return _0xb63fc7(_0xe39339);},'SYXDr':function(_0x5a4af5,_0x2c93f2){return _0x5a4af5(_0x2c93f2);},'WWejZ':function(_0x1ee2a7,_0x535333){return _0x1ee2a7 instanceof _0x535333;}};try{if(this['started']&&this[_0x27fca6(0x16e)]()){let _0x366a3d=_0x2ecb5d;_0x1239a6&&(_0x366a3d=_0x2ecb5d+'['+JSON['stringify'](_0x1239a6)+']');PerformanceTester[_0x27fca6(0x1bc)](_0x366a3d),this[_0x27fca6(0x1cc)]&&(this[_0x27fca6(0x1cc)][_0x366a3d]=_0x5159c1);try{const _0x5292bb=_0x5e4211[_0x27fca6(0x1ea)](null,_0x3aeb47);if(_0x39be46[_0x27fca6(0x1ad)](_0x5292bb,Promise))return new Promise((_0x25ec69,_0x3552c3)=>{const _0xbc81f0=_0x27fca6,_0x301c7f={'ywwkY':function(_0x2fdf49,_0x2af8f0){return _0x39be46['SYXDr'](_0x2fdf49,_0x2af8f0);}};_0x5292bb[_0xbc81f0(0x1f5)](_0x571908=>{const _0x1c37f3=_0xbc81f0;PerformanceTester[_0x1c37f3(0x1f6)](_0x366a3d),_0x39be46[_0x1c37f3(0x1e2)](_0x25ec69,_0x571908);})['catch'](_0x2eb6d5=>{const _0xec4557=_0xbc81f0;PerformanceTester[_0xec4557(0x1f6)](_0x366a3d,![],util[_0xec4557(0x1d5)](_0x2eb6d5)),_0x301c7f[_0xec4557(0x182)](_0x3552c3,_0x2eb6d5);});});;return PerformanceTester[_0x27fca6(0x1f6)](_0x366a3d),_0x5292bb;}catch(_0x16d5b1){PerformanceTester[_0x27fca6(0x1f6)](_0x366a3d,![],util[_0x27fca6(0x1d5)](_0x16d5b1));throw _0x16d5b1;}};return _0x5e4211[_0x27fca6(0x1ea)](null,_0x3aeb47);}catch(_0x17feac){return _0x5e4211['apply'](null,_0x3aeb47);}}static['measureWrapper'](_0x5be5ed,_0x571ca8,_0x417450={}){const _0x572d29=a79_0x5de620,_0x32b7c5={'kWGDk':function(_0x5c6fda){return _0x5c6fda();}},_0x255033=this;return _0x417450[_0x572d29(0x196)]=_0x32b7c5[_0x572d29(0x175)](getProcessId),_0x417450[_0x572d29(0x1d0)]=_0x32b7c5[_0x572d29(0x175)](getTestName),_0x417450[_0x572d29(0x167)]=global['__platformCaps']&&global['__platformCaps'][_0x572d29(0x1ef)],function(){const _0x57ce22=_0x572d29,_0x21b009=[_0x5be5ed,_0x571ca8,null,_0x417450]['concat'](arguments);return _0x255033[_0x57ce22(0x178)][_0x57ce22(0x1ea)](_0x255033,_0x21b009);};}static[a79_0x5de620(0x1df)](){const _0x82fbff=a79_0x5de620,_0xf1056a=/(^.*)\[(.*)\]$/,_0x2bc58e={},_0x24848c={},_0x2ffce7=[],_0x13d07f=this['_measureEvents'][_0x82fbff(0x1f3)](0x0,this['_measureEvents'][_0x82fbff(0x169)]);for(const _0x55cabd of _0x13d07f){const _0x5e0262=_0x55cabd[_0x82fbff(0x1cb)][_0x82fbff(0x197)](_0xf1056a),_0x14cce0=Object['assign']({},_0x55cabd);_0x5e0262&&(_0x14cce0[_0x82fbff(0x1cb)]=_0x5e0262[0x1],_0x14cce0[_0x82fbff(0x1fe)]=JSON[_0x82fbff(0x199)](_0x5e0262[0x2])),_0x2ffce7[_0x82fbff(0x18d)](_0x14cce0);}return _0x2ffce7;}static[a79_0x5de620(0x1b9)](){const _0x1fb1a9=a79_0x5de620,_0x150e31={};_0x150e31['reLRO']=function(_0x5b401b,_0x2168f8){return _0x5b401b+_0x2168f8;},_0x150e31[_0x1fb1a9(0x1a9)]=_0x1fb1a9(0x1f9),_0x150e31[_0x1fb1a9(0x1f8)]=function(_0x17ed60,_0x62e8a){return _0x17ed60===_0x62e8a;},_0x150e31['istnN']=function(_0x558d9d,_0x17e020){return _0x558d9d+_0x17e020;};const _0x582382=_0x150e31;try{if(fs[_0x1fb1a9(0x18b)](this[_0x1fb1a9(0x189)])){const _0x1bde8e=fs['readdirSync'](this[_0x1fb1a9(0x189)]);for(const _0x5e4bb6 of _0x1bde8e){fs[_0x1fb1a9(0x1c5)](path[_0x1fb1a9(0x1b6)](this[_0x1fb1a9(0x189)],_0x5e4bb6));}}}catch(_0x3a4dce){logger['debug'](_0x582382[_0x1fb1a9(0x166)](_0x582382[_0x1fb1a9(0x1a9)],_0x3a4dce));}if(_0x582382[_0x1fb1a9(0x1f8)](this[_0x1fb1a9(0x1be)]['length'],0x0))return;const _0x4c5f76=this[_0x1fb1a9(0x1df)](),_0x1120ff=JSON[_0x1fb1a9(0x1a8)](_0x4c5f76),_0x2a07e1=_0x582382[_0x1fb1a9(0x187)](_0x1120ff['slice'](0x1,-0x1),',');fs['appendFileSync'](this[_0x1fb1a9(0x1c2)],_0x2a07e1);}static async[a79_0x5de620(0x1e3)](){const _0x32cec6=a79_0x5de620,_0x1b2e59={};_0x1b2e59['dshgO']=function(_0x4529b2,_0x2e9d75){return _0x4529b2===_0x2e9d75;},_0x1b2e59['Kzolk']=function(_0x39ecbc,_0x3507a2){return _0x39ecbc>_0x3507a2;};const _0x581b55=_0x1b2e59;if(!this[_0x32cec6(0x18a)]||_0x581b55[_0x32cec6(0x17f)](this['_measureEvents'][_0x32cec6(0x169)],0x0))return[];if(!fs[_0x32cec6(0x18b)](this[_0x32cec6(0x189)]))return this[_0x32cec6(0x1be)];const _0x4a1f91=(await fsPromise[_0x32cec6(0x18e)](this[_0x32cec6(0x189)]))[_0x32cec6(0x1cd)](_0x2f1d6f=>path[_0x32cec6(0x1e6)](this[_0x32cec6(0x189)],_0x2f1d6f));let _0x9ed01d=(await Promise['all'](_0x4a1f91[_0x32cec6(0x1cd)](_0x3d59f0=>fsPromise['readFile'](_0x3d59f0,_0x32cec6(0x1a4)))))[_0x32cec6(0x1cd)](_0x63cfc9=>'['+_0x63cfc9[_0x32cec6(0x1ce)](0x0,-0x1)+']')[_0x32cec6(0x1cd)](_0x2415c0=>JSON['parse'](_0x2415c0))['flat']();return _0x581b55[_0x32cec6(0x19c)](this[_0x32cec6(0x1be)][_0x32cec6(0x169)],0x0)&&(_0x9ed01d=_0x9ed01d[_0x32cec6(0x183)](this[_0x32cec6(0x1df)]())),this[_0x32cec6(0x174)][_0x32cec6(0x1f2)](),_0x9ed01d;}static[a79_0x5de620(0x1ec)](){const _0x18c3b2=a79_0x5de620,_0x29f196={};_0x29f196[_0x18c3b2(0x190)]=function(_0x5da432,_0x58a13b){return _0x5da432===_0x58a13b;},_0x29f196['yubFz']=function(_0x27f4ad,_0x1429dc){return _0x27f4ad+_0x1429dc;};const _0x166e1f=_0x29f196;if(_0x166e1f[_0x18c3b2(0x190)](this[_0x18c3b2(0x1db)][_0x18c3b2(0x169)],0x0))return;const _0x3b8856=JSON[_0x18c3b2(0x1a8)](this['_errorEvents']),_0x4cd81e=_0x166e1f['yubFz'](_0x3b8856[_0x18c3b2(0x1ce)](0x1,-0x1),',');fs[_0x18c3b2(0x185)](this[_0x18c3b2(0x188)],_0x4cd81e);}static[a79_0x5de620(0x179)](){const _0x4e9f8a=a79_0x5de620,_0x16e438={};_0x16e438[_0x4e9f8a(0x1d4)]=function(_0x3a288d,_0x314389){return _0x3a288d>_0x314389;};const _0x31ca42=_0x16e438;if(!fs[_0x4e9f8a(0x18b)](this['errorReportFileName']))return this[_0x4e9f8a(0x1db)];let _0x5882dd=fs['readFileSync'](this[_0x4e9f8a(0x1d1)])[_0x4e9f8a(0x164)]();_0x5882dd='['+_0x5882dd[_0x4e9f8a(0x1ce)](0x0,-0x1)+']';let _0x122529=JSON[_0x4e9f8a(0x199)](_0x5882dd);return _0x31ca42[_0x4e9f8a(0x1d4)](this[_0x4e9f8a(0x1db)][_0x4e9f8a(0x169)],0x0)&&(_0x122529=_0x122529[_0x4e9f8a(0x183)](this['_errorEvents'])),fs[_0x4e9f8a(0x1c5)](this[_0x4e9f8a(0x1d1)]),_0x122529;}static[a79_0x5de620(0x1c9)](_0x3ddb95){const _0xd615f=a79_0x5de620;if(!this[_0xd615f(0x16e)]())return;this['_errorEvents'][_0xd615f(0x18d)]({'message':_0x3ddb95[_0xd615f(0x1bb)],'trace':_0x3ddb95[_0xd615f(0x1b0)],'code':_0x3ddb95[_0xd615f(0x180)]||null,'time':new Date()});}static[a79_0x5de620(0x193)](){const _0x2148b4=a79_0x5de620;try{if(!this[_0x2148b4(0x16e)]())return;this[_0x2148b4(0x174)]['disconnect'](),this['pushPerfMeasures'](),this['pushErrors']();}catch(_0x5b28c7){logger['debug'](_0x2148b4(0x173)+util[_0x2148b4(0x1d5)](_0x5b28c7));}}static async[a79_0x5de620(0x1ee)](){const _0x280b76=a79_0x5de620,_0x143ef7={'dJMFK':function(_0x13f60e,_0x43f5b2){return _0x13f60e(_0x43f5b2);}};await _0x143ef7[_0x280b76(0x200)](sleep,0x1e);const _0xf502ec=await this['finalizePerfMeasures'](),_0x47cfde=this[_0x280b76(0x179)]();if(!this[_0x280b76(0x16e)]()){const _0x320613={};return _0x320613[_0x280b76(0x1fc)]=[],_0x320613[_0x280b76(0x194)]=[],_0x320613;}const _0xb5accf={};return _0xb5accf['measures']=_0xf502ec,_0xb5accf[_0x280b76(0x194)]=_0x47cfde,_0xb5accf;}static[a79_0x5de620(0x1bc)](_0x4795e4){const _0x4514e5=a79_0x5de620,_0x9dbcec={};_0x9dbcec[_0x4514e5(0x1c7)]=function(_0x153045,_0x31076b){return _0x153045+_0x31076b;},_0x9dbcec[_0x4514e5(0x1dd)]=_0x4514e5(0x1d3);const _0x47fe95=_0x9dbcec,_0x5f2228=_0x47fe95[_0x4514e5(0x1c7)](_0x4795e4,_0x47fe95[_0x4514e5(0x1dd)]);if(this[_0x4514e5(0x1c4)][_0x5f2228])return;performance[_0x4514e5(0x1b4)](_0x5f2228),this[_0x4514e5(0x1c4)][_0x5f2228]=0x1;}static[a79_0x5de620(0x1f6)](_0x559912,_0x399dd7=!![],_0xac2463=null,_0x144ac5={}){const _0x5906fe=a79_0x5de620,_0x3b8f3a={'UtulX':function(_0x5b9e9e,_0x428aac){return _0x5b9e9e+_0x428aac;},'SZrZz':_0x5906fe(0x1b5),'EAfMg':'-start','ocbku':function(_0x55e611){return _0x55e611();},'HfnJT':function(_0x5a3595){return _0x5a3595();}};performance[_0x5906fe(0x1b4)](_0x3b8f3a[_0x5906fe(0x1fa)](_0x559912,_0x3b8f3a[_0x5906fe(0x1dc)])),performance[_0x5906fe(0x178)](_0x559912,_0x3b8f3a[_0x5906fe(0x1fa)](_0x559912,_0x3b8f3a[_0x5906fe(0x191)]),_0x3b8f3a[_0x5906fe(0x1fa)](_0x559912,_0x3b8f3a['SZrZz']));const _0xd9788b={};_0xd9788b[_0x5906fe(0x192)]=_0x399dd7,_0xd9788b['failure']=_0xac2463,this['details'][_0x559912]=Object['assign'](_0xd9788b,Object[_0x5906fe(0x1eb)](Object[_0x5906fe(0x1eb)]({'worker':_0x3b8f3a[_0x5906fe(0x176)](getProcessId),'platform':global[_0x5906fe(0x1e1)]&&global[_0x5906fe(0x1e1)][_0x5906fe(0x1ef)],'testName':_0x3b8f3a[_0x5906fe(0x16d)](getTestName)},_0x144ac5),this['details'][_0x559912]||{}));}}module[a79_0x5de620(0x1a2)]=PerformanceTester;
@@ -1 +1 @@
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
+ const a80_0x484bae=a80_0x1149;function a80_0x1149(_0x1af55a,_0x523cb9){const _0x52b2c1=a80_0x52b2();return a80_0x1149=function(_0x114981,_0x198080){_0x114981=_0x114981-0x133;let _0x2b2d15=_0x52b2c1[_0x114981];return _0x2b2d15;},a80_0x1149(_0x1af55a,_0x523cb9);}(function(_0x264bd9,_0x475cb3){const _0x52677a=a80_0x1149,_0x15be83=_0x264bd9();while(!![]){try{const _0x55b9f1=-parseInt(_0x52677a(0x140))/0x1+parseInt(_0x52677a(0x13a))/0x2+parseInt(_0x52677a(0x14b))/0x3+-parseInt(_0x52677a(0x14c))/0x4*(-parseInt(_0x52677a(0x13e))/0x5)+parseInt(_0x52677a(0x14d))/0x6+parseInt(_0x52677a(0x135))/0x7+parseInt(_0x52677a(0x13f))/0x8*(-parseInt(_0x52677a(0x143))/0x9);if(_0x55b9f1===_0x475cb3)break;else _0x15be83['push'](_0x15be83['shift']());}catch(_0xf7732d){_0x15be83['push'](_0x15be83['shift']());}}}(a80_0x52b2,0x6e9ac));const worker=require('worker_threads'),{fileLogger}=require(a80_0x484bae(0x13b)),{consoleHolder}=require(a80_0x484bae(0x14e)),globals=require(a80_0x484bae(0x139));exports[a80_0x484bae(0x133)]=()=>{const _0x4ad78d=a80_0x484bae;return process[_0x4ad78d(0x13c)]+'-'+worker['threadId'];},exports[a80_0x484bae(0x136)]=()=>{const _0x5c51d4=a80_0x484bae,_0x37cf12={};_0x37cf12[_0x5c51d4(0x14a)]=_0x5c51d4(0x148);const _0x1194f0=_0x37cf12;return globals[_0x5c51d4(0x144)](_0x1194f0[_0x5c51d4(0x14a)]);},exports[a80_0x484bae(0x138)]=(_0x2873a6=0x64)=>new Promise(_0x486a21=>setTimeout(_0x486a21,_0x2873a6)),exports['debug']=_0x2d73d1=>{const _0x385290=a80_0x484bae,_0x41d2c0={};_0x41d2c0['HIauZ']=function(_0x2ed3f1,_0x2c7631){return _0x2ed3f1===_0x2c7631;},_0x41d2c0[_0x385290(0x137)]=_0x385290(0x142),_0x41d2c0[_0x385290(0x146)]=function(_0x1d1250,_0x4c4981){return _0x1d1250===_0x4c4981;};const _0x3c969f=_0x41d2c0;fileLogger[_0x385290(0x13d)]('['+new Date()[_0x385290(0x134)]()+_0x385290(0x145)+_0x2d73d1),(_0x3c969f['HIauZ'](process[_0x385290(0x147)][_0x385290(0x149)],_0x3c969f[_0x385290(0x137)])||_0x3c969f[_0x385290(0x146)](process[_0x385290(0x147)][_0x385290(0x149)],'1'))&&consoleHolder[_0x385290(0x141)]('\x0a['+new Date()[_0x385290(0x134)]()+_0x385290(0x145)+_0x2d73d1+'\x0a');};function a80_0x52b2(){const _0xcbda76=['log','true','9JCWzZq','getGlobal','][\x20OBSERVABILITY\x20]\x20','wNnFO','env','browserstackTestName','BROWSERSTACK_OBSERVABILITY_DEBUG','dWjbf','529227FWzcOx','16828yIRwzZ','3737934SlFzLh','./test-observability/constants','getProcessId','toISOString','5403636acWUcb','getTestName','kzskq','sleep','./globals','1330780wKgDtK','./logger','pid','debug','630MBgsJo','15721664Csvyty','348574uAKTYv'];a80_0x52b2=function(){return _0xcbda76;};return a80_0x52b2();}
@@ -1 +1 @@
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
+ const a81_0x1bd4a3=a81_0x10b4;(function(_0x57b2c8,_0x16ef1d){const _0x3ce933=a81_0x10b4,_0x4f2ce9=_0x57b2c8();while(!![]){try{const _0x1ac229=-parseInt(_0x3ce933(0x10e))/0x1+-parseInt(_0x3ce933(0x11b))/0x2*(parseInt(_0x3ce933(0x111))/0x3)+-parseInt(_0x3ce933(0x135))/0x4*(parseInt(_0x3ce933(0x127))/0x5)+-parseInt(_0x3ce933(0x126))/0x6+parseInt(_0x3ce933(0x116))/0x7+parseInt(_0x3ce933(0x115))/0x8*(parseInt(_0x3ce933(0x13d))/0x9)+parseInt(_0x3ce933(0x129))/0xa;if(_0x1ac229===_0x16ef1d)break;else _0x4f2ce9['push'](_0x4f2ce9['shift']());}catch(_0x23da39){_0x4f2ce9['push'](_0x4f2ce9['shift']());}}}(a81_0x3212,0x56ebc));const http=require(a81_0x1bd4a3(0x13a)),https=require(a81_0x1bd4a3(0x11f)),monkeypatch=require(a81_0x1bd4a3(0x10b));function a81_0x3212(){const _0x58550c=['host','forEach','method','bDQYB','173704NpPdiC','socket','duration_ms','request','now','http','YWcEp','bKSnI','9fvSHtt','error','pathname','monkeypatch','yePIU','zbvTC','198312MebZwd','pKTgx','status_code','168XZEFob','fYdYU','hjGsE','path','1683896IPqKpa','3247636ubDgSK','fjDMk','assign','headers','BFkXd','11278uxDLxd','lkEZp','ZeOHA','removeListener','https','UGWlk','url','slice','nPcqp','object','hostname','2192868ZztrEO','80InsjHJ','gEEBT','12559830wfHMFZ','DIjny','prototype','once','yDRIE','response','jDzdW','unpatch'];a81_0x3212=function(){return _0x58550c;};return a81_0x3212();}function spy(_0x36d988){const _0x5cde4d=a81_0x1bd4a3,_0x3cf729={'UGWlk':function(_0x4e8b29,_0x36ea9a){return _0x4e8b29-_0x36ea9a;},'YWcEp':function(_0x35fc77,_0x4d01be,_0x2b9c73){return _0x35fc77(_0x4d01be,_0x2b9c73);},'zbvTC':_0x5cde4d(0x13e),'DIjny':function(_0x55e471,_0x22d8a7){return _0x55e471 instanceof _0x22d8a7;},'bKSnI':function(_0x7afd72,_0x565dc5){return _0x7afd72===_0x565dc5;},'gEEBT':_0x5cde4d(0x124),'jDzdW':function(_0x12a1ab,..._0xdc276e){return _0x12a1ab(..._0xdc276e);},'xIuKc':_0x5cde4d(0x12e),'yePIU':_0x5cde4d(0x136),'pKTgx':function(_0xad0d9c,_0x44662e,_0x2ab73c,_0x173347){return _0xad0d9c(_0x44662e,_0x2ab73c,_0x173347);},'ZeOHA':'end','yDRIE':function(_0x149289,_0x53ee8b,_0x37e563,_0x56cbb3){return _0x149289(_0x53ee8b,_0x37e563,_0x56cbb3);},'fjDMk':_0x5cde4d(0x138),'fYdYU':function(_0x3a36bc,_0x316428,_0x4036e4,_0x3e50d4){return _0x3a36bc(_0x316428,_0x4036e4,_0x3e50d4);}},_0x3a3312=function(){const _0x44d241=_0x5cde4d,_0x436bfa={'nPcqp':function(_0x29c765,_0x23bf41){const _0x5b750e=a81_0x10b4;return _0x3cf729[_0x5b750e(0x12a)](_0x29c765,_0x23bf41);},'BFkXd':function(_0x45d220,_0x2f2ac6){const _0x2ab40b=a81_0x10b4;return _0x3cf729[_0x2ab40b(0x13c)](_0x45d220,_0x2f2ac6);},'hjGsE':_0x3cf729[_0x44d241(0x128)],'bDQYB':function(_0x56fa94,_0x25c06b,_0x44a26d){const _0x3e2d2b=_0x44d241;return _0x3cf729[_0x3e2d2b(0x13b)](_0x56fa94,_0x25c06b,_0x44a26d);},'lkEZp':_0x3cf729[_0x44d241(0x10d)],'ecqlb':function(_0x262317,..._0x3f6028){const _0x11a981=_0x44d241;return _0x3cf729[_0x11a981(0x12f)](_0x262317,..._0x3f6028);}},_0xbec33f=arguments[0x0],_0x589d45=Array[_0x44d241(0x12b)][_0x44d241(0x122)]['call'](arguments,0x1),_0x41472f=_0xbec33f['apply'](this,_0x589d45);let _0x4b3561=Date[_0x44d241(0x139)](),_0xd7dd70;const _0x3348b9={};_0x589d45[_0x44d241(0x132)](_0x2b4893=>{const _0x163b48=_0x44d241;if(_0x436bfa[_0x163b48(0x123)](_0x2b4893,URL)){const _0x2cf0b6={};_0x2cf0b6['url']=_0x2b4893,Object[_0x163b48(0x118)](_0x3348b9,_0x2cf0b6);}else _0x436bfa[_0x163b48(0x11a)](typeof _0x2b4893,_0x436bfa[_0x163b48(0x113)])&&Object[_0x163b48(0x118)](_0x3348b9,_0x2b4893);});const _0x52861c=_0x7ac755=>{const _0x36da13=_0x44d241,_0x4a0c6d={};_0x4a0c6d[_0x36da13(0x131)]=_0x3348b9[_0x36da13(0x131)]||_0x3348b9[_0x36da13(0x125)]||_0x3348b9[_0x36da13(0x121)]&&(_0x3348b9[_0x36da13(0x121)][_0x36da13(0x131)]||_0x3348b9[_0x36da13(0x121)]['hostname']),_0x4a0c6d[_0x36da13(0x114)]=_0x3348b9[_0x36da13(0x114)]||_0x3348b9['url']&&_0x3348b9[_0x36da13(0x121)][_0x36da13(0x10a)],_0x4a0c6d[_0x36da13(0x133)]=_0x3348b9[_0x36da13(0x133)],_0x4a0c6d['headers']=_0x3348b9[_0x36da13(0x119)],_0x436bfa[_0x36da13(0x134)](_0x36d988,_0x7ac755,_0x4a0c6d);};return _0x41472f[_0x44d241(0x12c)](_0x3cf729['xIuKc'],_0x3e256d=>{const _0x5e89ec=_0x44d241,_0x29d38b=_0x3cf729[_0x5e89ec(0x120)](Date[_0x5e89ec(0x139)](),_0x4b3561),_0x392876={};_0x392876[_0x5e89ec(0x125)]=_0x3348b9[_0x5e89ec(0x131)]||_0x3348b9[_0x5e89ec(0x125)]||_0x3348b9[_0x5e89ec(0x121)]&&(_0x3348b9[_0x5e89ec(0x121)][_0x5e89ec(0x131)]||_0x3348b9[_0x5e89ec(0x121)]['hostname']),_0x392876[_0x5e89ec(0x114)]=_0x3348b9['path']||_0x3348b9[_0x5e89ec(0x121)]&&_0x3348b9[_0x5e89ec(0x121)][_0x5e89ec(0x10a)],_0x392876[_0x5e89ec(0x133)]=_0x3348b9[_0x5e89ec(0x133)],_0x392876[_0x5e89ec(0x119)]=_0x3348b9[_0x5e89ec(0x119)],_0x392876[_0x5e89ec(0x110)]=_0x3e256d['statusCode'],_0x392876[_0x5e89ec(0x137)]=_0x29d38b,_0x3cf729[_0x5e89ec(0x13b)](_0x36d988,null,_0x392876),_0xd7dd70[_0x5e89ec(0x11e)](_0x3cf729['zbvTC'],_0x52861c);}),_0x41472f['on'](_0x3cf729[_0x44d241(0x10c)],_0x5f2ee4=>{const _0x2e66a2=_0x44d241;_0xd7dd70=_0x5f2ee4,_0x5f2ee4[_0x2e66a2(0x12c)](_0x436bfa[_0x2e66a2(0x11c)],_0x52861c);}),_0x3cf729[_0x44d241(0x10f)](monkeypatch,_0x41472f,_0x3cf729[_0x44d241(0x11d)],(_0x28bb65,..._0x4310f2)=>{const _0x41059d=_0x44d241;_0x4b3561=Date[_0x41059d(0x139)](),_0x436bfa['ecqlb'](_0x28bb65,..._0x4310f2);}),_0x41472f;};_0x3cf729[_0x5cde4d(0x12d)](monkeypatch,http,_0x3cf729[_0x5cde4d(0x117)],_0x3a3312),_0x3cf729[_0x5cde4d(0x112)](monkeypatch,https,_0x3cf729[_0x5cde4d(0x117)],_0x3a3312);}function restore(){const _0x5c0116=a81_0x1bd4a3;http[_0x5c0116(0x138)][_0x5c0116(0x130)](),https['request'][_0x5c0116(0x130)]();}const a81_0x1c0477={};function a81_0x10b4(_0x3bfde6,_0x42183f){const _0x32121b=a81_0x3212();return a81_0x10b4=function(_0x10b432,_0xbac8c7){_0x10b432=_0x10b432-0x10a;let _0x124091=_0x32121b[_0x10b432];return _0x124091;},a81_0x10b4(_0x3bfde6,_0x42183f);}a81_0x1c0477['spy']=spy,a81_0x1c0477['restore']=restore,module['exports']=a81_0x1c0477;
@@ -1 +1 @@
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
+ const a82_0x422800=a82_0x1bad;(function(_0xd4a67,_0x5d3cfa){const _0x1649bd=a82_0x1bad,_0x2c50f0=_0xd4a67();while(!![]){try{const _0x2948a0=-parseInt(_0x1649bd(0x128))/0x1*(-parseInt(_0x1649bd(0x136))/0x2)+parseInt(_0x1649bd(0x141))/0x3+parseInt(_0x1649bd(0x13a))/0x4*(parseInt(_0x1649bd(0x12d))/0x5)+parseInt(_0x1649bd(0x12c))/0x6+parseInt(_0x1649bd(0x132))/0x7*(parseInt(_0x1649bd(0x142))/0x8)+parseInt(_0x1649bd(0x12f))/0x9*(parseInt(_0x1649bd(0x125))/0xa)+-parseInt(_0x1649bd(0x13d))/0xb;if(_0x2948a0===_0x5d3cfa)break;else _0x2c50f0['push'](_0x2c50f0['shift']());}catch(_0x21da42){_0x2c50f0['push'](_0x2c50f0['shift']());}}}(a82_0x5a60,0xd518d));function a82_0x5a60(){const _0x21fd4c=['5808130gJFRtA','mSYds','2124DsiMyu','protocol','exports','42KeKQgW','hasOwnProperty','GuHKN','Agent','7944gEDHnu','./performance/performance-tester','measureWrapper','keepAliveMsecs','4ksqCTb','pGxKt','Ofazi','74254202hNWtkm','pwaQM','https','agent','2290731qLGdza','1824952MJvgHb','MhDHR','https:','request','70110ooMKnT','call','RCxNE','314NLPLNU','mMdRA','globalAgent','keepAlive','8565036upRQtS'];a82_0x5a60=function(){return _0x21fd4c;};return a82_0x5a60();}const PerformanceTester=require(a82_0x422800(0x137)),{AUTOMATE_EVENTS:PerformanceEvents}=require('./performance/constants');function a82_0x1bad(_0x5d1ff1,_0x1f5e4b){const _0x5a607e=a82_0x5a60();return a82_0x1bad=function(_0x1badfe,_0x3279c0){_0x1badfe=_0x1badfe-0x122;let _0x1e0960=_0x5a607e[_0x1badfe];return _0x1e0960;},a82_0x1bad(_0x5d1ff1,_0x1f5e4b);}module[a82_0x422800(0x131)]=PerformanceTester[a82_0x422800(0x138)](PerformanceEvents['KEEP_ALIVE'],function(){const _0xbc604e=a82_0x422800,_0x4343d7={'mSYds':function(_0x576da8,_0x4748fe){return _0x576da8===_0x4748fe;},'jGAru':_0xbc604e(0x123),'GuHKN':_0xbc604e(0x140),'pGxKt':function(_0x56475a,_0x42bb5a,_0x33c915){return _0x56475a(_0x42bb5a,_0x33c915);},'pwaQM':function(_0x11b2bd,_0x4d60f1){return _0x11b2bd(_0x4d60f1);},'Ofazi':'http','mMdRA':_0xbc604e(0x13f),'RCxNE':function(_0x98a7de,_0x558e75){return _0x98a7de*_0x558e75;},'MhDHR':_0xbc604e(0x12b)},_0x5733d5=_0x4343d7['pwaQM'](require,_0x4343d7[_0xbc604e(0x13c)]),_0x26a925=_0x4343d7[_0xbc604e(0x13e)](require,_0x4343d7[_0xbc604e(0x129)]),_0x283a0e=_0x4343d7[_0xbc604e(0x127)](0x1e,0x3e8);if(_0x5733d5[_0xbc604e(0x12a)]&&Object['prototype'][_0xbc604e(0x133)][_0xbc604e(0x126)](_0x5733d5[_0xbc604e(0x12a)],_0x4343d7[_0xbc604e(0x122)]))_0x5733d5[_0xbc604e(0x12a)][_0xbc604e(0x12b)]=!![],_0x26a925[_0xbc604e(0x12a)][_0xbc604e(0x12b)]=!![],_0x5733d5['globalAgent'][_0xbc604e(0x139)]=_0x283a0e,_0x26a925[_0xbc604e(0x12a)][_0xbc604e(0x139)]=_0x283a0e;else{const _0x51c1b0={};_0x51c1b0['keepAlive']=!![],_0x51c1b0[_0xbc604e(0x139)]=_0x283a0e;const _0x341b03=new _0x5733d5[(_0xbc604e(0x135))](_0x51c1b0),_0x99184f={};_0x99184f[_0xbc604e(0x12b)]=!![],_0x99184f[_0xbc604e(0x139)]=_0x283a0e;const _0x486390=new _0x26a925[(_0xbc604e(0x135))](_0x99184f),_0x272088=_0x5733d5[_0xbc604e(0x124)],_0x421002=_0x26a925['request'];_0x5733d5[_0xbc604e(0x124)]=function(_0x43e928,_0x46ef00){const _0x640da2=_0xbc604e;if(_0x4343d7[_0x640da2(0x12e)](_0x43e928[_0x640da2(0x130)],_0x4343d7['jGAru']))return _0x43e928[_0x4343d7['GuHKN']]=_0x486390,_0x4343d7[_0x640da2(0x13b)](_0x421002,_0x43e928,_0x46ef00);return _0x43e928[_0x4343d7[_0x640da2(0x134)]]=_0x341b03,_0x4343d7[_0x640da2(0x13b)](_0x272088,_0x43e928,_0x46ef00);};}});
@@ -1 +1 @@
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
+ function a83_0x2938(_0x3118e4,_0x27432f){var _0x44d741=a83_0x44d7();return a83_0x2938=function(_0x293878,_0x46163c){_0x293878=_0x293878-0xa1;var _0x379df9=_0x44d741[_0x293878];return _0x379df9;},a83_0x2938(_0x3118e4,_0x27432f);}var a83_0x320ae6=a83_0x2938;(function(_0x2a6e15,_0x3abe2a){var _0x4f664a=a83_0x2938,_0x567240=_0x2a6e15();while(!![]){try{var _0x45e9bb=parseInt(_0x4f664a(0xb1))/0x1*(parseInt(_0x4f664a(0xa8))/0x2)+-parseInt(_0x4f664a(0xa4))/0x3+parseInt(_0x4f664a(0xb7))/0x4+parseInt(_0x4f664a(0xb2))/0x5*(parseInt(_0x4f664a(0xa7))/0x6)+-parseInt(_0x4f664a(0xac))/0x7*(parseInt(_0x4f664a(0xb3))/0x8)+parseInt(_0x4f664a(0xb0))/0x9*(-parseInt(_0x4f664a(0xb8))/0xa)+-parseInt(_0x4f664a(0xb5))/0xb;if(_0x45e9bb===_0x3abe2a)break;else _0x567240['push'](_0x567240['shift']());}catch(_0x131874){_0x567240['push'](_0x567240['shift']());}}}(a83_0x44d7,0x1b592));function a83_0x44d7(){var _0x3d7d89=['jest','mocha','89793vhAVGp','2111zlKswE','3395hRZMde','120040VNXITf','JEST','3941696OaRJel','CUCUMBER','669056UWOCGV','30fowMtf','https://collector-observability.browserstack.com','CODECEPT','assign','api/v1/batch','codeceptjs','exports','148731HGThAO','PLAYWRIGHT','api/v1/screenshots','1704DXfYmE','194zGJZOB','Playwright','MOCHA','cucumber','7HQmalL','.obs_test_details'];a83_0x44d7=function(){return _0x3d7d89;};return a83_0x44d7();}var a83_0x425613={};a83_0x425613[a83_0x320ae6(0xa5)]=a83_0x320ae6(0xa9),a83_0x425613[a83_0x320ae6(0xaa)]=a83_0x320ae6(0xaf),a83_0x425613[a83_0x320ae6(0xba)]=a83_0x320ae6(0xa2),a83_0x425613[a83_0x320ae6(0xb4)]=a83_0x320ae6(0xae),a83_0x425613[a83_0x320ae6(0xb6)]=a83_0x320ae6(0xab),module[a83_0x320ae6(0xa3)]={'consoleHolder':Object[a83_0x320ae6(0xbb)]({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a83_0x320ae6(0xb9),'EVENT_ENDPOINT':'api/v1/event','BATCH_ENDPOINT':a83_0x320ae6(0xa1),'SCREENSHOT_ENDPOINT':a83_0x320ae6(0xa6),'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_0x320ae6(0xad),'FRAMEWORKS':a83_0x425613};
@@ -1 +1 @@
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
+ const a84_0x512f9a=a84_0x1896;(function(_0x566ff7,_0x3b0a7d){const _0x2c3de0=a84_0x1896,_0x152688=_0x566ff7();while(!![]){try{const _0x54c742=parseInt(_0x2c3de0(0x1c9))/0x1*(parseInt(_0x2c3de0(0x166))/0x2)+parseInt(_0x2c3de0(0x1b5))/0x3*(parseInt(_0x2c3de0(0x1b9))/0x4)+-parseInt(_0x2c3de0(0x1af))/0x5+parseInt(_0x2c3de0(0x169))/0x6*(parseInt(_0x2c3de0(0x16c))/0x7)+-parseInt(_0x2c3de0(0x18e))/0x8+parseInt(_0x2c3de0(0x159))/0x9*(parseInt(_0x2c3de0(0x1b0))/0xa)+parseInt(_0x2c3de0(0x16d))/0xb;if(_0x54c742===_0x3b0a7d)break;else _0x152688['push'](_0x152688['shift']());}catch(_0x257659){_0x152688['push'](_0x152688['shift']());}}}(a84_0x2c9f,0x39cdf));function a84_0x2c9f(){const _0x41be72=['getConfig','call','cLQRJ','CREDENTIALS_FOR_CRASH_REPORTING','KvDvc','stack','keys','userConfig','function','BS_TESTOPS_BUILD_HASHED_ID','CJwFB','captureError','rpEjs','qeGvW','Finished\x20::\x20','1909680jjAKJB','BXVSO','stringify','DNKsl','gBJWV','getCredentials','application/json','object','headers','getPerformance','parse','.\x20Error\x20-\x20','POST','accessKey','setConfigDetails','sGZBL','YQlRH','onlut','IKVGC','toString','pid','setAllDetails','frameworkDetails','auth','byCrF','getOwnPropertyNames','name','o11yErrorHandler','X-BSTACK-TESTOPS','defineProperty','../helper','SxXNH','kxjhJ','1462270TAwSHa','10IQZVvo',',\x20Argument\x20-\x20','recursivelyDeletePIIKeysFromObject','length',',\x20PID\x20-\x20','1647McLmhK','Content-Type','[Crash_Report_Upload]\x20Success\x20response:\x20','JmrMS','1948viVhwh','gAfdv','cyOLP','o11yClassErrorHandler','qjcXd','password','env','hKvpF','initialize','[Crash_Report_Upload]\x20Failed\x20due\x20to\x20','Started\x20::\x20','bfTnb','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','getFramework','BROWSERSTACK_O11Y_PERF_MEASUREMENT','inspect','13310hWihlQ','depth','fwYDi','mshEX','945657FQueCd','setFrameworkDetails','kgcPc','util','username','catch','setCredentials','dCexf','key','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','\x20--\x20','includes','qzIzz','6QbhtGW','.\x20Args\x20-\x20','format','13602GYKmgq','ewYmN','constructor','889rnQTJB','744216PIEvXR','UArOY','KnxyC','prototype','frameworkVersion','true','timerify','filterPII','uploadCrashReport','USER_CONFIG_FOR_REPORTING','oxVgi','EjFgf','gLcbU','CLymU','frameworkName','then','credentials','Error\x20in\x20executing\x20'];a84_0x2c9f=function(){return _0x41be72;};return a84_0x2c9f();}const util=require(a84_0x512f9a(0x15c)),PerformanceTester=require('../performance/performance-tester'),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require('./utils'),{getAgentVersion,nestedKeyValue}=require(a84_0x512f9a(0x1ac)),o11yErrorHandler=(_0xc77be4,_0x119078='',_0x5c9cc4=[''],_0x431472=![])=>{const _0xe696bc={'IKVGC':function(_0x3a4d3f,_0x4328a1){return _0x3a4d3f(_0x4328a1);},'kgcPc':function(_0x31aaa9,_0x5c29da,_0x49abe0){return _0x31aaa9(_0x5c29da,_0x49abe0);},'dCexf':function(_0x38f6ee,_0xbfc3f){return _0x38f6ee instanceof _0xbfc3f;},'oxVgi':function(_0x442575,_0x3a0582,_0x2ddcb4,_0x57a7a5,_0x65ce14){return _0x442575(_0x3a0582,_0x2ddcb4,_0x57a7a5,_0x65ce14);}};return function(..._0x9ed958){const _0x3a6aef=a84_0x1896;try{let _0x3a1603=_0xc77be4;process[_0x3a6aef(0x1bf)][_0x3a6aef(0x1c7)]&&(_0x3a1603=PerformanceTester[_0x3a6aef(0x197)]()[_0x3a6aef(0x173)](_0x3a1603));_0x431472&&_0xe696bc[_0x3a6aef(0x1a0)](trace,_0x3a6aef(0x1c3)+_0x119078+',\x20PID\x20-\x20'+process[_0x3a6aef(0x1a2)]+_0x3a6aef(0x1b1)+_0xe696bc[_0x3a6aef(0x15b)](nestedKeyValue,arguments[0x0],_0x5c9cc4));const _0x5e1009=_0x3a1603['apply'](null,arguments);_0x431472&&_0xe696bc['IKVGC'](trace,_0x3a6aef(0x18d)+_0x119078+_0x3a6aef(0x1b4)+process[_0x3a6aef(0x1a2)]+_0x3a6aef(0x1b1)+_0xe696bc['kgcPc'](nestedKeyValue,arguments[0x0],_0x5c9cc4));if(_0xe696bc[_0x3a6aef(0x160)](_0x5e1009,Promise))return _0x5e1009[_0x3a6aef(0x15e)](_0x47dc00=>processError(_0x47dc00,_0xc77be4,_0x9ed958,_0x119078));return _0x5e1009;}catch(_0x388796){_0xe696bc[_0x3a6aef(0x177)](processError,_0x388796,_0xc77be4,_0x9ed958,_0x119078);}};},o11yClassErrorHandler=(_0x96acd1,_0x3be2c8,_0x17a02f='')=>{const _0x541b36=a84_0x512f9a,_0x3520e5={'dPEXh':function(_0x291c37,_0x20fd4a){return _0x291c37 instanceof _0x20fd4a;},'DNKsl':function(_0x5a51de,_0xff79d9,_0xa13c7e,_0x5696e5,_0x1c7320){return _0x5a51de(_0xff79d9,_0xa13c7e,_0x5696e5,_0x1c7320);},'hKvpF':function(_0x27206a,_0x5f46e3){return _0x27206a===_0x5f46e3;},'kxjhJ':_0x541b36(0x187),'EjFgf':function(_0x23749f,_0x57486e){return _0x23749f!==_0x57486e;},'ewYmN':_0x541b36(0x16b),'fwYDi':function(_0x4d9d25,_0x307d80){return _0x4d9d25<_0x307d80;}},_0x2ac3a8=_0x96acd1[_0x541b36(0x170)];if(_0x3520e5[_0x541b36(0x1cb)](Object[_0x541b36(0x1a7)](_0x2ac3a8)['length'],0x2))return _0x96acd1;return Object[_0x541b36(0x1a7)](_0x2ac3a8)['forEach'](_0x2d04d5=>{const _0x14d604=_0x541b36,_0x3b48c5={'UArOY':function(_0x36c718,_0x3a9f67){return _0x3520e5['dPEXh'](_0x36c718,_0x3a9f67);},'bfTnb':function(_0x2b7d52,_0x27325b,_0x5e7e61,_0x43f994,_0x1fe497){const _0x26cd66=a84_0x1896;return _0x3520e5[_0x26cd66(0x191)](_0x2b7d52,_0x27325b,_0x5e7e61,_0x43f994,_0x1fe497);}};if(!(_0x3be2c8&&_0x3be2c8[_0x14d604(0x164)](_0x2d04d5)))return;const _0x491fe7=_0x2ac3a8[_0x2d04d5];_0x3520e5[_0x14d604(0x1c0)](typeof _0x491fe7,_0x3520e5[_0x14d604(0x1ae)])&&_0x3520e5[_0x14d604(0x178)](_0x2d04d5,_0x3520e5[_0x14d604(0x16a)])&&Object[_0x14d604(0x1ab)](_0x2ac3a8,_0x2d04d5,{'writable':!![],'value':function(..._0x464935){const _0x250129=_0x14d604;try{const _0xbdea4c=(process[_0x250129(0x1bf)][_0x250129(0x1c7)]?PerformanceTester[_0x250129(0x197)]()[_0x250129(0x173)](_0x491fe7):_0x491fe7)[_0x250129(0x180)](this,..._0x464935);if(_0x3b48c5[_0x250129(0x16e)](_0xbdea4c,Promise))return _0xbdea4c[_0x250129(0x15e)](_0x323e08=>processError(_0x323e08,_0x491fe7,_0x464935,_0x17a02f));return _0xbdea4c;}catch(_0x271000){_0x3b48c5[_0x250129(0x1c4)](processError,_0x271000,_0x491fe7,_0x464935,_0x17a02f);}}});}),_0x96acd1;};function a84_0x1896(_0x29b3f6,_0x1bda68){const _0x2c9f02=a84_0x2c9f();return a84_0x1896=function(_0x189649,_0x5f4c44){_0x189649=_0x189649-0x159;let _0x45a415=_0x2c9f02[_0x189649];return _0x45a415;},a84_0x1896(_0x29b3f6,_0x1bda68);}function processError(_0x1d9eca,_0x455ffd,_0x3d8945,_0x22c821){const _0x112539=a84_0x512f9a,_0xeaf897={'CLymU':function(_0x2edad6,_0x421255){return _0x2edad6(_0x421255);}};_0xeaf897[_0x112539(0x17a)](debug,_0x112539(0x17e)+_0x455ffd[_0x112539(0x1a8)]+_0x112539(0x163)+_0x22c821+'.\x20Error\x20-\x20'+_0x1d9eca+_0x112539(0x167)+_0x3d8945+'.'),PerformanceTester[_0x112539(0x18a)](_0x1d9eca);let _0x49af00;try{_0x49af00=JSON[_0x112539(0x190)](_0x3d8945);}catch(_0x59f5ca){const _0x511e51={};_0x511e51[_0x112539(0x1ca)]=0x2,_0x49af00=util[_0x112539(0x1c8)](_0x3d8945,_0x511e51);}CrashReporter[_0x112539(0x175)]('Error\x20in\x20executing\x20'+_0x455ffd[_0x112539(0x1a8)]+'\x20--\x20'+_0x22c821+_0x112539(0x199)+_0x1d9eca+_0x112539(0x167)+_0x49af00+'.',_0x1d9eca&&_0x1d9eca[_0x112539(0x184)]);}class CrashReporter{static [a84_0x512f9a(0x186)]={};static [a84_0x512f9a(0x17d)];static [a84_0x512f9a(0x1a4)]={};static[a84_0x512f9a(0x1c1)](_0x35838c,_0x3fd457,_0xc1d98f=null){const _0x14486a=a84_0x512f9a,_0x59ac80={'qjcXd':function(_0x4818bf,_0xc3ff0f){return _0x4818bf(_0xc3ff0f);},'SEXeX':function(_0x41b010,_0x56d056){return _0x41b010(_0x56d056);},'BXVSO':function(_0x19d216,_0x1c27a4){return _0x19d216(_0x1c27a4);}},_0x408bea=_0x35838c['frameworkName'],_0x2ea41a=_0x35838c[_0x14486a(0x171)];!_0xc1d98f&&(_0xc1d98f=_0x59ac80[_0x14486a(0x1bd)](getBrowserStackConfig,_0x408bea));!_0x2ea41a&&_0x59ac80['SEXeX'](getFrameworkVersion,_0x408bea);const _0x3e87c3={};_0x3e87c3[_0x14486a(0x17b)]=_0x408bea,_0x3e87c3[_0x14486a(0x171)]=_0x2ea41a,this[_0x14486a(0x1a3)](_0x3e87c3,_0x3fd457,_0x59ac80[_0x14486a(0x18f)](getUserCredentials,_0xc1d98f));}static[a84_0x512f9a(0x15f)](_0x29a0dd,_0x111980){const _0x59b930=a84_0x512f9a,_0x3bd11a={};_0x3bd11a['username']=_0x29a0dd,_0x3bd11a['accessKey']=_0x111980,this[_0x59b930(0x17d)]=_0x3bd11a,process[_0x59b930(0x1bf)][_0x59b930(0x182)]=JSON[_0x59b930(0x190)](this['credentials']);}static[a84_0x512f9a(0x193)](){const _0xf2846f=a84_0x512f9a,_0x3f1cf3={'jxFuV':function(_0x422589,_0x1a0471){return _0x422589(_0x1a0471);}};if(!this[_0xf2846f(0x17d)]&&process[_0xf2846f(0x1bf)][_0xf2846f(0x182)])try{this[_0xf2846f(0x17d)]=JSON[_0xf2846f(0x198)](process[_0xf2846f(0x1bf)][_0xf2846f(0x182)]);}catch(_0x4abdbf){_0x3f1cf3['jxFuV'](debug,'Error\x20in\x20parsing\x20credentials\x20from\x20env\x20'+_0x4abdbf[_0xf2846f(0x1a1)]());}return this[_0xf2846f(0x17d)];}static['setConfigDetails'](_0x3001a6){const _0x75d429=a84_0x512f9a;this[_0x75d429(0x186)]=this[_0x75d429(0x174)](_0x3001a6),process['env'][_0x75d429(0x176)]=JSON['stringify'](this[_0x75d429(0x186)]);}static[a84_0x512f9a(0x17f)](){const _0x27b4f5=a84_0x512f9a,_0x2012cc={'CJwFB':function(_0x20e780,_0x28330e){return _0x20e780===_0x28330e;},'sGZBL':function(_0x28aab8,_0x24fe4a){return _0x28aab8(_0x24fe4a);}};if(_0x2012cc[_0x27b4f5(0x189)](Object[_0x27b4f5(0x185)](this[_0x27b4f5(0x186)])[_0x27b4f5(0x1b3)],0x0)&&process[_0x27b4f5(0x1bf)][_0x27b4f5(0x176)])try{this[_0x27b4f5(0x186)]=JSON[_0x27b4f5(0x198)](process[_0x27b4f5(0x1bf)][_0x27b4f5(0x176)]);}catch(_0x300cde){_0x2012cc[_0x27b4f5(0x19d)](debug,'Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20'+_0x300cde[_0x27b4f5(0x1a1)]()),this[_0x27b4f5(0x186)]={};}return this[_0x27b4f5(0x186)];}static[a84_0x512f9a(0x15a)](_0x3014eb){const _0x1f550e=a84_0x512f9a;this['frameworkDetails']=_0x3014eb,process[_0x1f550e(0x1bf)][_0x1f550e(0x162)]=JSON[_0x1f550e(0x190)](this[_0x1f550e(0x1a4)]);}static[a84_0x512f9a(0x1c6)](){const _0xb3b9e1=a84_0x512f9a,_0x14b0e3={'vVtTo':function(_0x462271,_0x2de511){return _0x462271===_0x2de511;},'mshEX':function(_0x286a10,_0x37813f){return _0x286a10(_0x37813f);}};if(_0x14b0e3['vVtTo'](Object['keys'](this[_0xb3b9e1(0x1a4)])['length'],0x0)&&process[_0xb3b9e1(0x1bf)][_0xb3b9e1(0x162)])try{this[_0xb3b9e1(0x1a4)]=JSON[_0xb3b9e1(0x198)](process[_0xb3b9e1(0x1bf)][_0xb3b9e1(0x162)]);}catch(_0x54f473){_0x14b0e3[_0xb3b9e1(0x1cc)](debug,_0xb3b9e1(0x1c5)+_0x54f473[_0xb3b9e1(0x1a1)]());}return this[_0xb3b9e1(0x1a4)];}static[a84_0x512f9a(0x1a3)](_0x1e705f,_0x48e4ff,_0xa27bb1){const _0x2ffd20=a84_0x512f9a;_0x1e705f&&this[_0x2ffd20(0x15a)](_0x1e705f),_0x48e4ff&&this[_0x2ffd20(0x19c)](_0x48e4ff),_0xa27bb1&&this['setCredentials'](_0xa27bb1[_0x2ffd20(0x15d)],_0xa27bb1[_0x2ffd20(0x19b)]);}static async[a84_0x512f9a(0x175)](_0x3a0d81,_0x30027f){const _0x47ef53=a84_0x512f9a,_0x30c4a2={'SxXNH':function(_0x3f5502,_0x1e608f){return _0x3f5502(_0x1e608f);},'cLQRJ':function(_0x5a75f9,_0x4eec58){return _0x5a75f9(_0x4eec58);},'gBJWV':'[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','JmrMS':function(_0x372b07){return _0x372b07();},'rpEjs':'/api/v1/analytics','qzIzz':_0x47ef53(0x194),'KnxyC':_0x47ef53(0x172),'KvDvc':function(_0x155b11,_0x153d18,_0x4ec1b8,_0x2b7880,_0x2a598e,_0x1c8632){return _0x155b11(_0x153d18,_0x4ec1b8,_0x2b7880,_0x2a598e,_0x1c8632);},'onlut':_0x47ef53(0x19a)};this[_0x47ef53(0x193)]();if(!this[_0x47ef53(0x17d)])return _0x30c4a2[_0x47ef53(0x181)](debug,_0x30c4a2[_0x47ef53(0x192)]);this['getConfig'](),this[_0x47ef53(0x1c6)]();const _0x47590a={'hashed_id':process[_0x47ef53(0x1bf)][_0x47ef53(0x188)],'observability_version':{'sdkVersion':_0x30c4a2[_0x47ef53(0x1b8)](getAgentVersion),'frameworkName':this[_0x47ef53(0x1a4)][_0x47ef53(0x17b)],'frameworkVersion':this[_0x47ef53(0x1a4)][_0x47ef53(0x171)]},'exception':{'error':_0x3a0d81['toString'](),'stackTrace':_0x30027f},'config':this[_0x47ef53(0x186)]},_0x25a018=_0x30c4a2[_0x47ef53(0x18b)],_0x4f2f1a={};_0x4f2f1a[_0x47ef53(0x15d)]=this[_0x47ef53(0x17d)][_0x47ef53(0x15d)],_0x4f2f1a[_0x47ef53(0x1be)]=this['credentials'][_0x47ef53(0x19b)];const _0x5bb325={};_0x5bb325[_0x47ef53(0x1b6)]=_0x30c4a2[_0x47ef53(0x165)],_0x5bb325[_0x47ef53(0x1aa)]=_0x30c4a2[_0x47ef53(0x16f)];const _0x4ade60={};_0x4ade60[_0x47ef53(0x1a5)]=_0x4f2f1a,_0x4ade60[_0x47ef53(0x196)]=_0x5bb325;const _0x478fc9=_0x4ade60;_0x30c4a2[_0x47ef53(0x183)](nodeRequest,_0x30c4a2[_0x47ef53(0x19f)],_0x25a018,_0x47590a,_0x478fc9,![])[_0x47ef53(0x17c)](_0x3ee734=>{const _0x4e1744=_0x47ef53;_0x30c4a2['SxXNH'](debug,_0x4e1744(0x1b7)+JSON[_0x4e1744(0x190)](_0x3ee734));})['catch'](_0x2d5ffe=>{const _0x568e32=_0x47ef53;_0x30c4a2[_0x568e32(0x1ad)](debug,_0x568e32(0x1c2)+util[_0x568e32(0x168)](_0x2d5ffe));});}static[a84_0x512f9a(0x1b2)](_0x1050d4){const _0x32fe58=a84_0x512f9a,_0x219c96={};_0x219c96[_0x32fe58(0x1bb)]='user',_0x219c96['leNZT']='username',_0x219c96[_0x32fe58(0x179)]=_0x32fe58(0x161),_0x219c96[_0x32fe58(0x18c)]='accessKey',_0x219c96[_0x32fe58(0x19e)]=_0x32fe58(0x1be),_0x219c96[_0x32fe58(0x1ba)]=function(_0x214a82,_0x8cceec){return _0x214a82===_0x8cceec;},_0x219c96[_0x32fe58(0x1a6)]=_0x32fe58(0x195);const _0x14dca5=_0x219c96;if(!_0x1050d4)return;const _0x274b67=[_0x14dca5[_0x32fe58(0x1bb)],_0x14dca5['leNZT'],_0x14dca5['gLcbU'],_0x14dca5[_0x32fe58(0x18c)],_0x14dca5[_0x32fe58(0x19e)]];for(const _0x10635f in _0x1050d4){if(_0x274b67['includes'](_0x10635f['toLowerCase']()))delete _0x1050d4[_0x10635f];else _0x14dca5[_0x32fe58(0x1ba)](typeof _0x1050d4[_0x10635f],_0x14dca5[_0x32fe58(0x1a6)])&&this['recursivelyDeletePIIKeysFromObject'](_0x1050d4[_0x10635f]);}}static[a84_0x512f9a(0x174)](_0x2fa09e){const _0x30ce72=a84_0x512f9a,_0xf4dfa7=JSON[_0x30ce72(0x198)](JSON[_0x30ce72(0x190)](_0x2fa09e));return this['recursivelyDeletePIIKeysFromObject'](_0xf4dfa7),_0xf4dfa7;}}const a84_0x41a761={};a84_0x41a761[a84_0x512f9a(0x1a9)]=o11yErrorHandler,a84_0x41a761[a84_0x512f9a(0x1bc)]=o11yClassErrorHandler,a84_0x41a761['CrashReporter']=CrashReporter,module['exports']=a84_0x41a761;
@@ -1 +1 @@
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
+ const a85_0x9d7c88=a85_0x4500;function a85_0x4500(_0x3cde84,_0x46c3cd){const _0x54b689=a85_0x54b6();return a85_0x4500=function(_0x45006f,_0x13380b){_0x45006f=_0x45006f-0x19b;let _0x3a9adc=_0x54b689[_0x45006f];return _0x3a9adc;},a85_0x4500(_0x3cde84,_0x46c3cd);}(function(_0x35fb53,_0x130320){const _0x1a66c1=a85_0x4500,_0x3f5a09=_0x35fb53();while(!![]){try{const _0x5939c3=parseInt(_0x1a66c1(0x1ad))/0x1+parseInt(_0x1a66c1(0x1bb))/0x2*(parseInt(_0x1a66c1(0x1f4))/0x3)+parseInt(_0x1a66c1(0x1ac))/0x4+-parseInt(_0x1a66c1(0x1f1))/0x5*(parseInt(_0x1a66c1(0x1c5))/0x6)+parseInt(_0x1a66c1(0x1b3))/0x7+-parseInt(_0x1a66c1(0x1ca))/0x8+-parseInt(_0x1a66c1(0x204))/0x9*(parseInt(_0x1a66c1(0x1fa))/0xa);if(_0x5939c3===_0x130320)break;else _0x3f5a09['push'](_0x3f5a09['shift']());}catch(_0x926fc){_0x3f5a09['push'](_0x3f5a09['shift']());}}}(a85_0x54b6,0x50be3));const {BATCH_SIZE,BATCH_INTERVAL,DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS}=require(a85_0x9d7c88(0x1e1)),{nodeRequest,debug,trace,sleep,getDefaultHeaders}=require(a85_0x9d7c88(0x1bf)),{nestedKeyValue}=require(a85_0x9d7c88(0x1b5)),util=require(a85_0x9d7c88(0x19e));class RequestQueueHandler{static [a85_0x9d7c88(0x1d3)];[a85_0x9d7c88(0x1e8)]=0x0;constructor(){const _0x17eac4=a85_0x9d7c88,_0x1d1fdc={};_0x1d1fdc[_0x17eac4(0x1a5)]='4|5|3|1|0|2',_0x1d1fdc[_0x17eac4(0x1e0)]=_0x17eac4(0x1ba),_0x1d1fdc[_0x17eac4(0x1ec)]=_0x17eac4(0x1b6),_0x1d1fdc['cDQcI']='TestRunFinished',_0x1d1fdc['mWvnl']=_0x17eac4(0x1a7),_0x1d1fdc[_0x17eac4(0x1fb)]='HookRunFinished',_0x1d1fdc['qhWyh']=_0x17eac4(0x1af),_0x1d1fdc['wWtCB']=_0x17eac4(0x1cf),_0x1d1fdc[_0x17eac4(0x1a4)]=_0x17eac4(0x1d5),_0x1d1fdc['svhnL']=_0x17eac4(0x1ab);const _0x32a6c9=_0x1d1fdc,_0x76947a=_0x32a6c9[_0x17eac4(0x1a5)][_0x17eac4(0x1c2)]('|');let _0x34cfb7=0x0;while(!![]){switch(_0x76947a[_0x34cfb7++]){case'0':this['BATCH_EVENT_TYPES']=[_0x32a6c9[_0x17eac4(0x1e0)],_0x32a6c9[_0x17eac4(0x1ec)],_0x32a6c9['cDQcI'],_0x32a6c9[_0x17eac4(0x1e9)],_0x32a6c9['oVjnI'],_0x32a6c9['qhWyh'],_0x32a6c9['wWtCB']];continue;case'1':this[_0x17eac4(0x1cb)]=_0x32a6c9[_0x17eac4(0x1a4)];continue;case'2':this['pollEventBatchInterval']=null;continue;case'3':this['eventUrl']=_0x32a6c9[_0x17eac4(0x1cc)];continue;case'4':this['queue']=[];continue;case'5':this[_0x17eac4(0x1de)]=![];continue;}break;}}static['getInstance'](){const _0x39fbb3=a85_0x9d7c88;return!RequestQueueHandler[_0x39fbb3(0x1d3)]&&(RequestQueueHandler['instance']=new RequestQueueHandler()),RequestQueueHandler['instance'];}[a85_0x9d7c88(0x1a8)]=()=>{const _0x27375f=a85_0x9d7c88;!this[_0x27375f(0x1de)]&&(this[_0x27375f(0x1de)]=!![],this['startEventBatchPolling']());};['add']=_0x6df3ee=>{const _0x14b0d9=a85_0x9d7c88,_0x2e0482={'oehXd':function(_0x1498fa,_0xace32a){return _0x1498fa===_0xace32a;},'XphDM':'TEST_SCREENSHOT','Rzuju':function(_0x5a008d,_0x5bc542){return _0x5a008d(_0x5bc542);},'vEuqh':'Batch\x20event\x20length\x20has\x20increased\x20maximum\x20batch\x20size.\x20Sending\x20events..'};if(this[_0x14b0d9(0x1f0)][_0x14b0d9(0x1f3)](_0x6df3ee[_0x14b0d9(0x1eb)])){if(_0x6df3ee[_0x14b0d9(0x205)]&&_0x6df3ee[_0x14b0d9(0x205)][0x0]&&_0x2e0482['oehXd'](_0x6df3ee[_0x14b0d9(0x205)][0x0][_0x14b0d9(0x1d8)],_0x2e0482[_0x14b0d9(0x200)])){const _0x40a7b5={};return _0x40a7b5[_0x14b0d9(0x1dc)]=!![],_0x40a7b5[_0x14b0d9(0x203)]=[_0x6df3ee],_0x40a7b5[_0x14b0d9(0x19f)]=this['screenshotEventUrl'],_0x40a7b5;}this['queue'][_0x14b0d9(0x1e2)](_0x6df3ee);let _0x554379=null;const _0x1ae5d7=this[_0x14b0d9(0x1dc)]();_0x1ae5d7&&(_0x2e0482['Rzuju'](trace,_0x2e0482[_0x14b0d9(0x1d4)]),_0x554379=this[_0x14b0d9(0x1d7)][_0x14b0d9(0x1e7)](0x0,BATCH_SIZE),this[_0x14b0d9(0x1d7)][_0x14b0d9(0x1f7)](0x0,BATCH_SIZE),this[_0x14b0d9(0x1d1)]());const _0x358619={};return _0x358619[_0x14b0d9(0x1dc)]=_0x1ae5d7,_0x358619[_0x14b0d9(0x203)]=_0x554379,_0x358619[_0x14b0d9(0x19f)]=this[_0x14b0d9(0x202)],_0x358619;}const _0x47b51c={};return _0x47b51c['shouldProceed']=!![],_0x47b51c;};[a85_0x9d7c88(0x1f6)]=async()=>{const _0x5eb944=a85_0x9d7c88,_0x4f11f3={'ASfoq':_0x5eb944(0x1b2),'OViyf':function(_0x5c12d6,_0x37a3f1){return _0x5c12d6>_0x37a3f1;},'bbrDX':_0x5eb944(0x19b),'LjwuR':function(_0x24eb86,_0xd6c74d){return _0x24eb86(_0xd6c74d);}};await this['uploadPending'](),this[_0x5eb944(0x1e3)](_0x4f11f3[_0x5eb944(0x1ef)]);while(_0x4f11f3[_0x5eb944(0x201)](this['queue'][_0x5eb944(0x1b7)],0x0)){const _0x49dbf3=this[_0x5eb944(0x1d7)][_0x5eb944(0x1e7)](0x0,BATCH_SIZE);this['queue'][_0x5eb944(0x1f7)](0x0,BATCH_SIZE),await this[_0x5eb944(0x1b0)](this[_0x5eb944(0x202)],_0x4f11f3['bbrDX'],_0x49dbf3);}_0x4f11f3['OViyf'](this[_0x5eb944(0x1e8)],0x0)&&_0x4f11f3['LjwuR'](debug,_0x5eb944(0x19d)+this[_0x5eb944(0x1e8)]);};[a85_0x9d7c88(0x1b0)]=async(_0xae70a0,_0x408727,_0x496e6d)=>{const _0x560109=a85_0x9d7c88,_0x3200e1={'rTQJm':function(_0xee5768,_0x3d83ab){return _0xee5768(_0x3d83ab);},'bbwkn':_0x560109(0x1ea),'xxqmU':function(_0x2af66c,_0x5d8b8a){return _0x2af66c(_0x5d8b8a);},'IjVJq':function(_0x32c38c){return _0x32c38c();},'cScnB':function(_0x52691c,_0x26c195,_0x13f6e1,_0x54272c,_0x579b13){return _0x52691c(_0x26c195,_0x13f6e1,_0x54272c,_0x579b13);},'uQkXv':_0x560109(0x1ee),'vpdMV':function(_0x225b4a,_0x1f1022){return _0x225b4a-_0x1f1022;},'SBIna':function(_0x2adcc8,_0x3c73e7){return _0x2adcc8(_0x3c73e7);},'ZVIcr':function(_0x131dcf,_0x1e4d7b){return _0x131dcf-_0x1e4d7b;}};let _0x427c47='';try{_0x427c47=_0x496e6d[_0x560109(0x1d0)](_0x40fdfb=>'\x27'+_0x40fdfb[_0x560109(0x1eb)]+'\x27:'+(nestedKeyValue(_0x40fdfb,[_0x560109(0x1ff),'uuid'])||nestedKeyValue(_0x40fdfb,[_0x560109(0x1be),_0x560109(0x1e5)])))[_0x560109(0x19c)](','),_0x3200e1[_0x560109(0x1c3)](debug,_0x560109(0x1ae)+_0x408727+'.\x20Request\x20Size\x20-\x20'+Buffer[_0x560109(0x1f9)](util[_0x560109(0x1df)]('%j',_0x496e6d),_0x3200e1[_0x560109(0x1d2)])+_0x560109(0x1a0)+_0x427c47);}catch(_0x58b306){_0x3200e1[_0x560109(0x1f2)](debug,_0x560109(0x1b1)+util[_0x560109(0x1df)](_0x58b306)+'}');}const _0x46f3ce={'headers':_0x3200e1[_0x560109(0x1ed)](getDefaultHeaders)};try{const _0x419b01=await _0x3200e1['cScnB'](nodeRequest,_0x3200e1[_0x560109(0x1c9)],_0xae70a0,_0x496e6d,_0x46f3ce);if(_0x419b01[_0x560109(0x1a6)][_0x560109(0x1cd)]){const _0x5cdab1={};_0x5cdab1['message']=_0x419b01[_0x560109(0x1a6)][_0x560109(0x1cd)];throw _0x5cdab1;}else _0x3200e1[_0x560109(0x1f2)](debug,_0x408727+'\x20event\x20successful\x20for\x20events\x20'+_0x427c47+_0x560109(0x1f5)+util['format']('%j',_0x419b01['data'])),this[_0x560109(0x1e8)]=Math['max'](0x0,_0x3200e1[_0x560109(0x1bc)](this[_0x560109(0x1e8)],_0x496e6d[_0x560109(0x1b7)]));}catch(_0x31d0b9){_0x31d0b9[_0x560109(0x1f8)]?_0x3200e1[_0x560109(0x1c3)](debug,_0x560109(0x1e6)+_0x408727+_0x560109(0x1c1)+_0x31d0b9[_0x560109(0x1f8)][_0x560109(0x1d6)]+'\x20'+_0x31d0b9['response'][_0x560109(0x1da)]+'\x20'+JSON[_0x560109(0x1fd)](_0x31d0b9[_0x560109(0x1f8)])):_0x3200e1[_0x560109(0x1c7)](debug,_0x560109(0x1e6)+_0x408727+'\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20'+(_0x31d0b9[_0x560109(0x1b9)]||_0x31d0b9)),this[_0x560109(0x1e8)]=Math['max'](0x0,_0x3200e1[_0x560109(0x1d9)](this['pendingUploads'],_0x496e6d[_0x560109(0x1b7)]));}};['startEventBatchPolling']=()=>{const _0x42df29=a85_0x9d7c88,_0x266337={'mqKXf':function(_0x2f8c02,_0x273886){return _0x2f8c02>_0x273886;},'uGLmi':function(_0x19509f,_0x42d858){return _0x19509f(_0x42d858);},'LvIpk':'Interval-Queue','bkjzx':function(_0x3be040,_0x425a31){return _0x3be040(_0x425a31);},'yZbqB':function(_0x162712,_0x5c78b7,_0x5e9332){return _0x162712(_0x5c78b7,_0x5e9332);}};this[_0x42df29(0x1c0)]=_0x266337[_0x42df29(0x1fc)](setInterval,async()=>{const _0x4fb9be=_0x42df29;if(_0x266337[_0x4fb9be(0x1aa)](this[_0x4fb9be(0x1d7)]['length'],0x0)){_0x266337['uGLmi'](trace,_0x4fb9be(0x1c6)+this[_0x4fb9be(0x1d7)][_0x4fb9be(0x1b7)]);const _0x26cbe4=this['queue'][_0x4fb9be(0x1e7)](0x0,BATCH_SIZE);this['queue']['splice'](0x0,BATCH_SIZE),await this['batchAndPostEvents'](this[_0x4fb9be(0x202)],_0x266337[_0x4fb9be(0x1b4)],_0x26cbe4),_0x266337[_0x4fb9be(0x1a2)](trace,_0x4fb9be(0x1ce)+this[_0x4fb9be(0x1d7)][_0x4fb9be(0x1b7)]);}},BATCH_INTERVAL);};[a85_0x9d7c88(0x1d1)]=()=>{const _0x41b120=a85_0x9d7c88,_0x14bf8f={};_0x14bf8f['bYiYQ']=_0x41b120(0x1b8);const _0xb87c3a=_0x14bf8f;this[_0x41b120(0x1e3)](_0xb87c3a[_0x41b120(0x1db)]),this['startEventBatchPolling']();};['removeEventBatchPolling']=_0xd0e17d=>{const _0x22aa32=a85_0x9d7c88,_0x3c5d54={'aRbfC':function(_0x44fbf2,_0x174ffc){return _0x44fbf2(_0x174ffc);},'ctTIt':function(_0x448bc2,_0x58d367){return _0x448bc2===_0x58d367;},'ZmBpI':_0x22aa32(0x1b2)};this[_0x22aa32(0x1c0)]&&(_0x3c5d54[_0x22aa32(0x1e4)](clearInterval,this['pollEventBatchInterval']),this[_0x22aa32(0x1c0)]=null,_0x3c5d54[_0x22aa32(0x1c8)](_0xd0e17d,_0x3c5d54[_0x22aa32(0x1c4)])&&(this[_0x22aa32(0x1de)]=![]));};[a85_0x9d7c88(0x1dc)]=()=>{const _0x864416=a85_0x9d7c88,_0x2943ec={};_0x2943ec[_0x864416(0x1dd)]=function(_0x583c07,_0x113b3b){return _0x583c07>=_0x113b3b;};const _0x1e2a7c=_0x2943ec;return _0x1e2a7c['fbhdy'](this[_0x864416(0x1d7)]['length'],BATCH_SIZE);};async[a85_0x9d7c88(0x1a3)](_0x2eccf0=DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,_0x1bc3bc=DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS){const _0x2a966b=a85_0x9d7c88,_0x44f402={'fEeQN':function(_0x5b86a5,_0x42447f){return _0x5b86a5<=_0x42447f;},'XvDOF':function(_0xb24780,_0xa0b49e){return _0xb24780<=_0xa0b49e;},'BkXhP':function(_0x43b427,_0x11a3e3){return _0x43b427(_0x11a3e3);},'daYAM':function(_0x5cb798,_0x2c25d){return _0x5cb798-_0x2c25d;}};if(_0x44f402[_0x2a966b(0x1a1)](this['pendingUploads'],0x0)||_0x44f402[_0x2a966b(0x1bd)](_0x2eccf0,0x0))return;return await _0x44f402[_0x2a966b(0x1a9)](sleep,_0x1bc3bc),this['uploadPending'](_0x44f402[_0x2a966b(0x1fe)](_0x2eccf0,_0x1bc3bc));}}function a85_0x54b6(){const _0x4602e1=['2TyfqmB','vpdMV','XvDOF','hook_run','./utils','pollEventBatchInterval','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20','split','rTQJm','ZmBpI','1249518aKaaad','Processing\x20events.\x20Queue\x20Length\x20-\x20','SBIna','ctTIt','uQkXv','2882360ISHzHk','screenshotEventUrl','svhnL','error','Remaining\x20Queue\x20Length\x20-\x20','HookRunStarted','map','resetEventBatchPolling','bbwkn','instance','vEuqh','api/v1/screenshots','status','queue','kind','ZVIcr','statusText','bYiYQ','shouldProceed','fbhdy','started','format','lEuiK','./constants','push','removeEventBatchPolling','aRbfC','uuid','EXCEPTION\x20IN\x20','slice','pendingUploads','mWvnl','utf8','event_type','RPMQF','IjVJq','POST','ASfoq','BATCH_EVENT_TYPES','5NpuCyF','xxqmU','includes','25797GSsosE','\x20--\x20','shutdown','splice','response','byteLength','3884550cmUnqZ','oVjnI','yZbqB','stringify','daYAM','test_run','XphDM','OViyf','eventUrl','proceedWithData','9lhAmyx','logs','Shutdown-Queue','join','Shutting\x20down\x20request\x20batcher\x20with\x20pending\x20uploads\x20still\x20in\x20queue.\x20Remaining\x20uploads\x20','util','proceedWithUrl','\x20bytes.\x20Events\x20are\x20','fEeQN','bkjzx','uploadPending','JpYHl','GZVpG','data','TestRunSkipped','start','BkXhP','mqKXf','api/v1/batch','2218572cldzJh','248019QQIcXl','Processing\x20batch\x20events\x20for\x20','TestRunStarted','batchAndPostEvents','Exception\x20in\x20logging\x20batch\x20events\x20--\x20','REMOVING','3335255jLWUDb','LvIpk','../helper','CBTSessionCreated','length','RESETTING','message','LogCreated'];a85_0x54b6=function(){return _0x4602e1;};return a85_0x54b6();}module['exports']=RequestQueueHandler;
@@ -1 +1 @@
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;
1
+ const a86_0x464d53=a86_0x4d70;(function(_0xaa7075,_0x513c07){const _0x2dd614=a86_0x4d70,_0x1db5dc=_0xaa7075();while(!![]){try{const _0x457bd1=parseInt(_0x2dd614(0x23b))/0x1+parseInt(_0x2dd614(0x1e7))/0x2*(parseInt(_0x2dd614(0x1f5))/0x3)+-parseInt(_0x2dd614(0x1c4))/0x4+parseInt(_0x2dd614(0x1d4))/0x5*(parseInt(_0x2dd614(0x239))/0x6)+-parseInt(_0x2dd614(0x25c))/0x7*(parseInt(_0x2dd614(0x22f))/0x8)+-parseInt(_0x2dd614(0x1d0))/0x9+parseInt(_0x2dd614(0x1de))/0xa;if(_0x457bd1===_0x513c07)break;else _0x1db5dc['push'](_0x1db5dc['shift']());}catch(_0x1c25d0){_0x1db5dc['push'](_0x1db5dc['shift']());}}}(a86_0x58e9,0xc60f8));function a86_0x4d70(_0x55dd63,_0x3ebfa9){const _0x58e914=a86_0x58e9();return a86_0x4d70=function(_0x4d70a5,_0x35ccc6){_0x4d70a5=_0x4d70a5-0x1bf;let _0x3c38e0=_0x58e914[_0x4d70a5];return _0x3c38e0;},a86_0x4d70(_0x55dd63,_0x3ebfa9);}const bsSetupHelper=require(a86_0x464d53(0x1f6)),path=require('path'),os=require('os'),{debug,getCustomTags,getDefaultHeaders,nodeRequest,sleep,isTestObservabilitySession,trace}=require('./utils'),{EVENT_ENDPOINT,DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS}=require(a86_0x464d53(0x24a)),RequestQueueHandler=require(a86_0x464d53(0x244)),logger=require(a86_0x464d53(0x23e))['winstonLogger'],{shouldProcessEventForTesthub,isPercyBuild,getProductMap}=require(a86_0x464d53(0x238));class SessionHandler{static ['requestQueueHandler']=RequestQueueHandler[a86_0x464d53(0x1cc)]();static async[a86_0x464d53(0x251)](_0x390a72,_0x5a4a07){const _0x3127d7=a86_0x464d53,_0x34037b={'LmKxw':function(_0x5b3d66,_0x475265){return _0x5b3d66||_0x475265;},'qEuhe':function(_0x57955d,_0x50c91b){return _0x57955d===_0x50c91b;},'tjECj':function(_0xef6e28,_0x81fabe){return _0xef6e28(_0x81fabe);},'DzwsT':_0x3127d7(0x241),'NSZad':_0x3127d7(0x22e),'KPHsJ':_0x3127d7(0x20c),'gForw':function(_0x1d97ab,_0x59d26e){return _0x1d97ab(_0x59d26e);},'cqsYj':function(_0xd70636,_0x301f46){return _0xd70636(_0x301f46);},'sVNWM':function(_0x1ddaad,_0x28fe3b,_0xe38389,_0x50acaa,_0x4f7dba){return _0x1ddaad(_0x28fe3b,_0xe38389,_0x50acaa,_0x4f7dba);},'cmjZc':_0x3127d7(0x24e),'YXZHz':_0x3127d7(0x209),'mtQrJ':_0x3127d7(0x213),'laydb':function(_0x4be5fd){return _0x4be5fd();},'feWhd':_0x3127d7(0x24d),'iDGEJ':_0x3127d7(0x253),'VfSUl':function(_0x2cd526,_0x3a9a14){return _0x2cd526(_0x3a9a14);},'LhXNl':'ERROR_INVALID_CREDENTIALS','YIbaJ':_0x3127d7(0x24c),'RyEuB':_0x3127d7(0x21c)},_0x2aca7c=bsSetupHelper['getUserName'](_0x390a72),_0x558af1=bsSetupHelper['getAccessKey'](_0x390a72),_0x5a79af=_0x34037b[_0x3127d7(0x252)](_0x2aca7c,'')+':'+_0x34037b[_0x3127d7(0x252)](_0x558af1,'');if(_0x34037b[_0x3127d7(0x22d)](_0x5a79af,':'))return _0x34037b[_0x3127d7(0x1ca)](debug,_0x34037b[_0x3127d7(0x249)]),process[_0x3127d7(0x22b)][_0x3127d7(0x203)]=_0x34037b['NSZad'],[null,null];let _0x28098f=![],_0x5de4ac=![];if(_0x390a72[_0x3127d7(0x23d)]&&_0x390a72['app'])_0x5de4ac=!![];else _0x390a72[_0x3127d7(0x23d)]&&(_0x28098f=!![]);try{const _0x2d0b10={'format':_0x34037b[_0x3127d7(0x1d8)],'project_name':_0x390a72['projectName']||'','name':_0x390a72[_0x3127d7(0x20f)]||path[_0x3127d7(0x25a)](path[_0x3127d7(0x208)](process['cwd']())),'build_identifier':_0x390a72[_0x3127d7(0x20d)],'description':_0x390a72[_0x3127d7(0x1cd)]||'','start_time':new Date()[_0x3127d7(0x24b)](),'tags':_0x34037b[_0x3127d7(0x1ef)](getCustomTags,_0x390a72),'host_info':bsSetupHelper[_0x3127d7(0x1f9)](),'ci_info':bsSetupHelper[_0x3127d7(0x1ea)](),'build_run_identifier':process[_0x3127d7(0x22b)][_0x3127d7(0x23c)],'failed_tests_rerun':process[_0x3127d7(0x22b)][_0x3127d7(0x1f4)]||![],'version_control':await bsSetupHelper[_0x3127d7(0x1e4)](),'observability_version':{'frameworkName':_0x5a4a07[_0x3127d7(0x1c2)],'frameworkVersion':_0x5a4a07[_0x3127d7(0x1fa)],'sdkVersion':bsSetupHelper[_0x3127d7(0x1ec)]()},'product_map':_0x34037b[_0x3127d7(0x227)](getProductMap,_0x390a72)},_0x52c374={};_0x52c374[_0x3127d7(0x1d6)]=_0x2aca7c,_0x52c374[_0x3127d7(0x258)]=_0x558af1;const _0x52aa9e={'auth':_0x52c374,'headers':_0x34037b[_0x3127d7(0x1ca)](getDefaultHeaders,![])},_0xe10c19=await _0x34037b[_0x3127d7(0x206)](nodeRequest,_0x34037b[_0x3127d7(0x259)],_0x34037b[_0x3127d7(0x236)],_0x2d0b10,_0x52aa9e);_0x34037b[_0x3127d7(0x1ca)](debug,_0x34037b['mtQrJ']);const _0x28af86=_0xe10c19[_0x3127d7(0x1f0)];_0x28af86[_0x3127d7(0x1ff)]&&(process['env'][_0x3127d7(0x21d)]=_0x28af86[_0x3127d7(0x1ff)]);if(_0x34037b['laydb'](isTestObservabilitySession)){process[_0x3127d7(0x22b)][_0x3127d7(0x203)]=_0x34037b[_0x3127d7(0x1eb)];if(_0x28af86[_0x3127d7(0x1d9)]){process[_0x3127d7(0x22b)][_0x3127d7(0x229)]=_0x28af86[_0x3127d7(0x1d9)];const _0x3c2eb5={};_0x3c2eb5['username']=_0x2aca7c,_0x3c2eb5[_0x3127d7(0x258)]=_0x558af1,process[_0x3127d7(0x22b)][_0x3127d7(0x20b)]=JSON[_0x3127d7(0x1e5)](_0x3c2eb5);}_0x28af86[_0x3127d7(0x1ff)]&&(process['env']['BS_TESTOPS_BUILD_HASHED_ID']=_0x28af86['build_hashed_id']),_0x28af86[_0x3127d7(0x222)]&&(process['env'][_0x3127d7(0x20a)]=_0x28af86[_0x3127d7(0x222)]['toString']());}return[_0xe10c19['data']['jwt'],_0xe10c19[_0x3127d7(0x1f0)][_0x3127d7(0x1ff)],_0xe10c19[_0x3127d7(0x1f0)][_0x3127d7(0x222)]];}catch(_0x1a84e0){process[_0x3127d7(0x22b)][_0x3127d7(0x21d)]=_0x34037b['iDGEJ'],process['env'][_0x3127d7(0x203)]=_0x34037b['NSZad'],process[_0x3127d7(0x22b)][_0x3127d7(0x229)]=_0x34037b[_0x3127d7(0x255)],process[_0x3127d7(0x22b)][_0x3127d7(0x24f)]=_0x34037b[_0x3127d7(0x255)],process['env'][_0x3127d7(0x20a)]=_0x34037b[_0x3127d7(0x255)];_0x1a84e0['response']?_0x34037b['gForw'](debug,_0x3127d7(0x216)+_0x1a84e0[_0x3127d7(0x223)][_0x3127d7(0x1ce)]+'\x20'+_0x1a84e0[_0x3127d7(0x223)][_0x3127d7(0x1ee)]+'\x20'+JSON[_0x3127d7(0x1e5)](_0x1a84e0[_0x3127d7(0x223)][_0x3127d7(0x1f0)])):_0x34037b[_0x3127d7(0x20e)](debug,'EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20'+(_0x1a84e0[_0x3127d7(0x256)]||_0x1a84e0));if(_0x1a84e0&&_0x1a84e0[_0x3127d7(0x256)]){const _0x324c6e=_0x1a84e0[_0x3127d7(0x256)];switch(_0x1a84e0[_0x3127d7(0x232)]){case _0x34037b[_0x3127d7(0x245)]:logger[_0x3127d7(0x243)](_0x324c6e);break;case _0x34037b['YIbaJ']:logger[_0x3127d7(0x221)](_0x324c6e);break;case _0x34037b[_0x3127d7(0x1d3)]:logger[_0x3127d7(0x243)](_0x324c6e);break;default:logger[_0x3127d7(0x243)](_0x324c6e);}}else console['info'](_0x3127d7(0x257)+_0x1a84e0);return[null,null,null];}}static async['waitForBuildStatus'](){const _0x32a1c4=a86_0x464d53,_0x1a35c2={'WwzSP':_0x32a1c4(0x24d),'EEOsX':_0x32a1c4(0x22e),'GIHUJ':function(_0x1667dc,_0x4c9c13){return _0x1667dc(_0x4c9c13);}},_0x208750=process['env'][_0x32a1c4(0x203)];if([_0x1a35c2['WwzSP'],_0x1a35c2[_0x32a1c4(0x1bf)]]['includes'](_0x208750))return;while([_0x1a35c2[_0x32a1c4(0x233)],_0x1a35c2[_0x32a1c4(0x1bf)]][_0x32a1c4(0x201)](_0x208750)){await _0x1a35c2[_0x32a1c4(0x250)](sleep,DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS);}}static async['uploadEventData'](_0x31484e,_0x4e7809=0x0){const _0x53a95e=a86_0x464d53,_0x2d18bf={'hapcY':function(_0x492658,_0x477e60){return _0x492658+_0x477e60;},'rZxvY':'Test_Start_Upload','pQoeC':_0x53a95e(0x1da),'ABLAA':'Test_Skipped_Upload','PBHFU':'Log_Upload','zhxgF':'Hook_Start_Upload','IkeNX':_0x53a95e(0x225),'IvaQj':_0x53a95e(0x22a),'CjQWW':function(_0x53796b,_0x497085){return _0x53796b(_0x497085);},'ZBwzk':_0x53a95e(0x1db),'kgdrB':'uuid','Dbcjy':'hook_run','KtQhp':function(_0x567d8c,_0x455b5a,_0x19c3a2){return _0x567d8c(_0x455b5a,_0x19c3a2);},'dzpey':_0x53a95e(0x1d2),'AWUzM':function(_0x3dd812,_0x24e1da){return _0x3dd812===_0x24e1da;},'JLctp':function(_0x2f9a3a,_0x246475){return _0x2f9a3a!==_0x246475;},'OwyfL':'null','GAXOD':_0x53a95e(0x24d),'RJevb':function(_0x4283ad){return _0x4283ad();},'kCfmp':function(_0x1a910a,_0x466b0c){return _0x1a910a(_0x466b0c);},'nyUYk':function(_0x5caf14,_0x498df4){return _0x5caf14-_0x498df4;},'bDact':_0x53a95e(0x243),'NVObr':_0x53a95e(0x224),'ICHHp':_0x53a95e(0x1c0),'cqHux':function(_0x17d097,_0x4847fa,_0x35830f,_0x22ac29,_0x4bd34f){return _0x17d097(_0x4847fa,_0x35830f,_0x22ac29,_0x4bd34f);},'NTuUD':_0x53a95e(0x24e),'kMGgW':function(_0x58e14b,_0x43253a){return _0x58e14b!==_0x43253a;},'aGUaA':'Batch-Queue','KdcWL':function(_0x473db0,_0x2b4eed){return _0x473db0===_0x2b4eed;},'PNlMN':_0x53a95e(0x242),'jkcez':_0x53a95e(0x1d5),'yiMmF':function(_0x5d8f94,_0x4a7328){return _0x5d8f94(_0x4a7328);},'PYNlL':function(_0x4f6e1c,_0x134d09){return _0x4f6e1c!==_0x134d09;},'HUKVY':function(_0x56b06c,_0x45f8f5){return _0x56b06c(_0x45f8f5);},'qqVEt':function(_0x22e8fb,_0x1ad810){return _0x22e8fb!==_0x1ad810;},'ZmOva':function(_0x1e843b,_0x11cf39){return _0x1e843b-_0x11cf39;},'tuwGg':function(_0x3cc685,_0x3e4669){return _0x3cc685>=_0x3e4669;},'TuyQO':function(_0x1da417,_0x374d50){return _0x1da417!==_0x374d50;},'AqfAg':_0x53a95e(0x1e9),'Jekzw':function(_0x4232d6,_0x33e779){return _0x4232d6!==_0x33e779;},'tAzwf':_0x53a95e(0x22e)},_0x3d4c75={};_0x3d4c75['TestRunStarted']=_0x2d18bf['rZxvY'],_0x3d4c75[_0x53a95e(0x21b)]=_0x2d18bf[_0x53a95e(0x1c8)],_0x3d4c75[_0x53a95e(0x1fc)]=_0x2d18bf[_0x53a95e(0x1e8)],_0x3d4c75[_0x53a95e(0x219)]=_0x2d18bf[_0x53a95e(0x204)],_0x3d4c75[_0x53a95e(0x246)]=_0x2d18bf[_0x53a95e(0x1cb)],_0x3d4c75[_0x53a95e(0x1c1)]=_0x2d18bf[_0x53a95e(0x1fe)],_0x3d4c75[_0x53a95e(0x1fb)]=_0x2d18bf['IvaQj'];const _0x43a003=_0x3d4c75[_0x31484e[_0x53a95e(0x254)]];_0x2d18bf[_0x53a95e(0x202)](trace,_0x53a95e(0x230)+_0x31484e[_0x53a95e(0x254)]+'\x27\x20'+(bsSetupHelper['nestedKeyValue'](_0x31484e,[_0x2d18bf[_0x53a95e(0x214)],_0x2d18bf[_0x53a95e(0x1c9)]])||bsSetupHelper[_0x53a95e(0x231)](_0x31484e,[_0x2d18bf[_0x53a95e(0x21e)],_0x2d18bf[_0x53a95e(0x1c9)]])));if(!_0x2d18bf[_0x53a95e(0x1c6)](shouldProcessEventForTesthub,_0x31484e[_0x53a95e(0x254)],_0x2d18bf[_0x53a95e(0x211)]))return;_0x2d18bf['AWUzM'](_0x4e7809,0x0)&&process[_0x53a95e(0x22b)]['BROWSERSTACK_TESTHUB_JWT']&&_0x2d18bf[_0x53a95e(0x1dd)](process[_0x53a95e(0x22b)][_0x53a95e(0x234)],_0x2d18bf['OwyfL'])&&(this[_0x53a95e(0x23f)][_0x53a95e(0x220)]+=0x1);if(_0x2d18bf[_0x53a95e(0x1c5)](process[_0x53a95e(0x22b)]['BS_TESTOPS_BUILD_COMPLETED'],_0x2d18bf[_0x53a95e(0x1d7)])||process[_0x53a95e(0x22b)][_0x53a95e(0x1e0)]||_0x2d18bf[_0x53a95e(0x1f2)](isPercyBuild)){if(_0x2d18bf[_0x53a95e(0x1c5)](process[_0x53a95e(0x22b)][_0x53a95e(0x234)],_0x2d18bf[_0x53a95e(0x1e3)])){_0x2d18bf['kCfmp'](debug,_0x53a95e(0x1cf)+_0x43a003+_0x53a95e(0x1f1)),this[_0x53a95e(0x23f)]['pendingUploads']=Math[_0x53a95e(0x1df)](0x0,_0x2d18bf[_0x53a95e(0x1c7)](this[_0x53a95e(0x23f)][_0x53a95e(0x220)],0x1));const _0x1a6943={};return _0x1a6943[_0x53a95e(0x1ce)]=_0x2d18bf['bDact'],_0x1a6943['message']=_0x2d18bf[_0x53a95e(0x210)],_0x1a6943;}let _0x3146d8=_0x31484e,_0x2b6d3d=EVENT_ENDPOINT;this[_0x53a95e(0x23f)][_0x53a95e(0x207)]();const {shouldProceed:_0x289d9d,proceedWithData:_0x35d6a0,proceedWithUrl:_0x72402f}=this[_0x53a95e(0x23f)][_0x53a95e(0x217)](_0x31484e);if(!_0x289d9d)return;else _0x35d6a0&&(_0x3146d8=_0x35d6a0,_0x2b6d3d=_0x72402f);const _0xb7ca36={};_0xb7ca36[_0x53a95e(0x1f7)]=_0x53a95e(0x240)+process[_0x53a95e(0x22b)][_0x53a95e(0x234)],_0xb7ca36[_0x53a95e(0x21a)]=_0x2d18bf[_0x53a95e(0x1e2)],_0xb7ca36[_0x53a95e(0x25b)]=_0x2d18bf[_0x53a95e(0x1d7)];const _0x3e85ee={};_0x3e85ee[_0x53a95e(0x1e6)]=_0xb7ca36;const _0x12c9d4=_0x3e85ee;try{const _0x27abbc=await _0x2d18bf[_0x53a95e(0x1c3)](nodeRequest,_0x2d18bf[_0x53a95e(0x237)],_0x2b6d3d,_0x3146d8,_0x12c9d4);if(_0x27abbc[_0x53a95e(0x1f0)][_0x53a95e(0x243)]){const _0x5b7335={};_0x5b7335['message']=_0x27abbc['data'][_0x53a95e(0x243)];throw _0x5b7335;}else{_0x2d18bf[_0x53a95e(0x202)](debug,(_0x2d18bf['kMGgW'](_0x2b6d3d,this[_0x53a95e(0x23f)][_0x53a95e(0x235)])?_0x43a003:_0x2d18bf[_0x53a95e(0x22c)])+'['+_0x4e7809+']\x20event\x20successful!'),this[_0x53a95e(0x23f)][_0x53a95e(0x220)]=Math[_0x53a95e(0x1df)](0x0,_0x2d18bf[_0x53a95e(0x1c7)](this[_0x53a95e(0x23f)][_0x53a95e(0x220)],_0x2d18bf[_0x53a95e(0x1f3)](_0x2b6d3d,_0x2d18bf[_0x53a95e(0x21f)])?0x1:_0x3146d8[_0x53a95e(0x226)]));const _0x514374={};return _0x514374[_0x53a95e(0x1ce)]=_0x2d18bf['jkcez'],_0x514374[_0x53a95e(0x256)]='',_0x514374;}}catch(_0x11fbf6){_0x11fbf6[_0x53a95e(0x223)]?_0x2d18bf[_0x53a95e(0x205)](debug,'EXCEPTION\x20IN\x20'+(_0x2d18bf[_0x53a95e(0x215)](_0x2b6d3d,this[_0x53a95e(0x23f)][_0x53a95e(0x235)])?_0x43a003:_0x2d18bf[_0x53a95e(0x22c)])+_0x53a95e(0x218)+_0x11fbf6[_0x53a95e(0x223)][_0x53a95e(0x1ce)]+'\x20'+_0x11fbf6[_0x53a95e(0x223)][_0x53a95e(0x1ee)]+'\x20'+JSON[_0x53a95e(0x1e5)](_0x11fbf6['response'][_0x53a95e(0x1f0)])):_0x2d18bf['HUKVY'](debug,_0x53a95e(0x1cf)+(_0x2d18bf[_0x53a95e(0x247)](_0x2b6d3d,this[_0x53a95e(0x23f)]['eventUrl'])?_0x43a003:_0x2d18bf[_0x53a95e(0x22c)])+'\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20'+(_0x11fbf6['message']||_0x11fbf6));this[_0x53a95e(0x23f)][_0x53a95e(0x220)]=Math[_0x53a95e(0x1df)](0x0,_0x2d18bf[_0x53a95e(0x200)](this[_0x53a95e(0x23f)]['pendingUploads'],_0x2d18bf[_0x53a95e(0x1f3)](_0x2b6d3d,_0x2d18bf[_0x53a95e(0x21f)])?0x1:_0x3146d8[_0x53a95e(0x226)]));const _0x454d58={};return _0x454d58['status']=_0x2d18bf['bDact'],_0x454d58[_0x53a95e(0x256)]=_0x11fbf6[_0x53a95e(0x256)]||(_0x11fbf6[_0x53a95e(0x223)]?_0x11fbf6[_0x53a95e(0x223)][_0x53a95e(0x1ce)]+':'+_0x11fbf6[_0x53a95e(0x223)][_0x53a95e(0x1ee)]:_0x11fbf6),_0x454d58;}}else{if(_0x2d18bf[_0x53a95e(0x228)](_0x4e7809,0x5)){_0x2d18bf['HUKVY'](debug,_0x53a95e(0x1cf)+_0x43a003+_0x53a95e(0x212)+_0x43a003+_0x53a95e(0x1ed));_0x2d18bf[_0x53a95e(0x1dc)](process['env'][_0x53a95e(0x234)],_0x2d18bf[_0x53a95e(0x1e3)])&&(this['requestQueueHandler']['pendingUploads']=Math[_0x53a95e(0x1df)](0x0,_0x2d18bf['nyUYk'](this[_0x53a95e(0x23f)][_0x53a95e(0x220)],0x1)));const _0x50da68={};return _0x50da68['status']=_0x2d18bf[_0x53a95e(0x1e1)],_0x50da68[_0x53a95e(0x256)]=_0x2d18bf[_0x53a95e(0x23a)],_0x50da68;}else _0x2d18bf[_0x53a95e(0x1d1)](process[_0x53a95e(0x22b)][_0x53a95e(0x203)],_0x2d18bf[_0x53a95e(0x248)])&&_0x2d18bf[_0x53a95e(0x1c6)](setTimeout,()=>{const _0x178c7d=_0x53a95e;this['uploadEventData'](_0x31484e,_0x2d18bf[_0x178c7d(0x1fd)](_0x4e7809,0x1));},0x3e8);}}}function a86_0x58e9(){const _0x5512b0=['data','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20missing\x20authentication\x20token','RJevb','KdcWL','BROWSERSTACK_RERUN','79092gUPBNz','../helper','Authorization','exports','getHostInfo','frameworkVersion','CBTSessionCreated','TestRunSkipped','hapcY','IkeNX','build_hashed_id','ZmOva','includes','CjQWW','BS_TESTOPS_BUILD_COMPLETED','PBHFU','yiMmF','sVNWM','start','resolve','api/v1/builds','BS_TESTOPS_ALLOW_SCREENSHOTS','CREDENTIALS_FOR_CRASH_REPORTING','json','buildIdentifier','VfSUl','buildName','NVObr','dzpey','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20Build\x20Start\x20is\x20not\x20completed\x20and\x20','Build\x20creation\x20successful!','ZBwzk','PYNlL','EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20','add','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20','LogCreated','Content-Type','TestRunFinished','ERROR_SDK_DEPRECATED','BROWSERSTACK_TESTHUB_UUID','Dbcjy','PNlMN','pendingUploads','info','allow_screenshots','response','Token/buildID\x20is\x20undefined,\x20build\x20creation\x20might\x20have\x20failed','Hook_End_Upload','length','cqsYj','tuwGg','BS_TESTOPS_JWT','CBT_Upload','env','aGUaA','qEuhe','false','2264TrRFnU','Processing\x20event\x20-\x20\x27','nestedKeyValue','errorType','WwzSP','BROWSERSTACK_TESTHUB_JWT','eventUrl','YXZHz','NTuUD','../../helpers/testhub/utils','1621938SqUIHO','AqfAg','83025jPgIJJ','BROWSERSTACK_BUILD_RUN_IDENTIFIER','browserstackAutomation','../logger','requestQueueHandler','Bearer\x20','EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20Missing\x20authentication\x20token','api/v1/event','error','./requestQueueHandler','LhXNl','HookRunStarted','qqVEt','tAzwf','DzwsT','./constants','toISOString','ERROR_ACCESS_DENIED','true','POST','BS_TESTOPS_BUILD_HASHED_ID','GIHUJ','launch','LmKxw','null','event_type','iDGEJ','message','Data\x20upload\x20to\x20BrowserStack\x20Test\x20Observability\x20failed\x20due\x20to\x20','password','cmjZc','basename','X-BSTACK-TESTOPS','35714EJMpLN','EEOsX','application/json','HookRunFinished','frameworkName','cqHux','4654888GJPelc','AWUzM','KtQhp','nyUYk','pQoeC','kgdrB','tjECj','zhxgF','getInstance','buildDescription','status','EXCEPTION\x20IN\x20','14162796CsNyGd','Jekzw','uploadEventData','RyEuB','5FoUDyQ','success','username','GAXOD','KPHsJ','jwt','Test_End_Upload','test_run','TuyQO','JLctp','31627560kTfHsw','max','BS_A11Y_JWT','bDact','ICHHp','OwyfL','getGitMetaData','stringify','headers','112DeaBRU','ABLAA','Retry\x20runs\x20exceeded','getCiInfo','feWhd','getAgentVersion','\x20retry\x20runs\x20exceeded','statusText','gForw'];a86_0x58e9=function(){return _0x5512b0;};return a86_0x58e9();}module[a86_0x464d53(0x1f8)]=SessionHandler;