browserstack-node-sdk 1.34.41 → 1.34.42

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 (134) 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/createHubHaStack.js +1 -1
  28. package/ats/src/utils/createk8sClient.js +1 -1
  29. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  30. package/ats/src/utils/deleteStack.js +1 -1
  31. package/ats/src/utils/describeStack.js +1 -1
  32. package/ats/src/utils/gridComponents.js +1 -1
  33. package/ats/src/utils/hstUtils.js +1 -1
  34. package/ats/src/utils/instrumentationUtils.js +1 -1
  35. package/ats/src/utils/userInput.js +1 -1
  36. package/ats/src/utils/utilityMethods.js +1 -1
  37. package/ats/src/utils/webSocketUtils.js +1 -1
  38. package/package.json +1 -1
  39. package/src/ai-sdk-node/bundle.js +1 -1
  40. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  41. package/src/bin/codeceptjs/command.js +1 -1
  42. package/src/bin/codeceptjs/helper.js +1 -1
  43. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  44. package/src/bin/cucumber-js/command.js +1 -1
  45. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  46. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  47. package/src/bin/cucumber-js/test-observability.js +1 -1
  48. package/src/bin/cucumber-js/test.setup.js +1 -1
  49. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  50. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  51. package/src/bin/integrations/command.js +1 -1
  52. package/src/bin/integrations/constants.js +1 -1
  53. package/src/bin/jest/command.js +1 -1
  54. package/src/bin/jest/customImplements/customCircus.js +1 -1
  55. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  56. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  57. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  58. package/src/bin/jest/jest.setup.js +1 -1
  59. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  60. package/src/bin/jest/test-observability/helper.js +1 -1
  61. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  62. package/src/bin/jest/test-observability/test-details.js +1 -1
  63. package/src/bin/jest/test_before.setup.js +1 -1
  64. package/src/bin/launcher/launcher.js +1 -1
  65. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  66. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  67. package/src/bin/mocha/command.js +1 -1
  68. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  69. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  70. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  71. package/src/bin/mocha/test.setup.js +1 -1
  72. package/src/bin/nightwatch/command.js +1 -1
  73. package/src/bin/playwright/accessibility-helper.js +1 -1
  74. package/src/bin/playwright/command.js +1 -1
  75. package/src/bin/playwright/globalSetup.js +1 -1
  76. package/src/bin/playwright/mock-process.js +1 -1
  77. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  78. package/src/bin/playwright/patches.js +1 -1
  79. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  80. package/src/bin/playwright/reporter/reporter.js +1 -1
  81. package/src/bin/playwright/reporter/test-details.js +1 -1
  82. package/src/bin/playwright/sessionDetails.js +1 -1
  83. package/src/bin/runner.js +1 -1
  84. package/src/bin/setup.js +1 -1
  85. package/src/bin/test-runner/index.js +1 -1
  86. package/src/bin/test-runner/runTest.js +1 -1
  87. package/src/bin/test-runner/testWorker.js +1 -1
  88. package/src/bin/utils/constants.js +1 -1
  89. package/src/bin/utils/log4jsAppender.js +1 -1
  90. package/src/bin/utils/logPatcher.js +1 -1
  91. package/src/bin/utils/logReportingAPI.js +1 -1
  92. package/src/bin/vanilla-js/command.js +1 -1
  93. package/src/browserStackSdk.js +1 -1
  94. package/src/helpers/BrowserStackSetup.js +1 -1
  95. package/src/helpers/accessibility-automation/constants.js +1 -1
  96. package/src/helpers/accessibility-automation/helper.js +1 -1
  97. package/src/helpers/accessibility-automation/scripts.js +1 -1
  98. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  99. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  100. package/src/helpers/ats/constants.js +1 -1
  101. package/src/helpers/ats/helper.js +1 -1
  102. package/src/helpers/capsMapping.js +1 -1
  103. package/src/helpers/central-scanner/constants.js +1 -1
  104. package/src/helpers/central-scanner/helpers.js +1 -1
  105. package/src/helpers/globals.js +1 -1
  106. package/src/helpers/helper.js +1 -1
  107. package/src/helpers/logger.js +1 -1
  108. package/src/helpers/patchHelper.js +1 -1
  109. package/src/helpers/patchHelpers.js +1 -1
  110. package/src/helpers/percy/Percy.js +1 -1
  111. package/src/helpers/percy/PercyBinary.js +1 -1
  112. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  113. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  114. package/src/helpers/percy/PercySDK.js +1 -1
  115. package/src/helpers/percy/index.js +1 -1
  116. package/src/helpers/percy/utils.js +1 -1
  117. package/src/helpers/performance/constants.js +1 -1
  118. package/src/helpers/performance/performance-tester.js +1 -1
  119. package/src/helpers/processHelper.js +1 -1
  120. package/src/helpers/request-spy.js +1 -1
  121. package/src/helpers/setKeepAlive.js +1 -1
  122. package/src/helpers/test-observability/constants.js +1 -1
  123. package/src/helpers/test-observability/error-handler.js +1 -1
  124. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  125. package/src/helpers/test-observability/sessionHandler.js +1 -1
  126. package/src/helpers/test-observability/utils.js +1 -1
  127. package/src/helpers/testhub/constants.js +1 -1
  128. package/src/helpers/testhub/testhubHandler.js +1 -1
  129. package/src/helpers/testhub/utils.js +1 -1
  130. package/src/helpers/timeoutPromise.js +1 -1
  131. package/src/helpers/utilities.js +1 -1
  132. package/src/helpers/w3cMapping.js +1 -1
  133. package/src/hubAllocationMethods.js +1 -1
  134. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a79_0xbdbeda=a79_0x5768;(function(_0x651d61,_0x26951e){const _0x29cf11=a79_0x5768,_0x460974=_0x651d61();while(!![]){try{const _0x5b0c8b=-parseInt(_0x29cf11(0x252))/0x1*(parseInt(_0x29cf11(0x202))/0x2)+parseInt(_0x29cf11(0x1f1))/0x3*(-parseInt(_0x29cf11(0x215))/0x4)+-parseInt(_0x29cf11(0x228))/0x5*(-parseInt(_0x29cf11(0x222))/0x6)+parseInt(_0x29cf11(0x1e6))/0x7*(parseInt(_0x29cf11(0x1c1))/0x8)+parseInt(_0x29cf11(0x1cd))/0x9+-parseInt(_0x29cf11(0x211))/0xa*(-parseInt(_0x29cf11(0x1eb))/0xb)+-parseInt(_0x29cf11(0x1f7))/0xc;if(_0x5b0c8b===_0x26951e)break;else _0x460974['push'](_0x460974['shift']());}catch(_0x1b4c63){_0x460974['push'](_0x460974['shift']());}}}(a79_0xb1b2,0x60c5e));function a79_0xb1b2(){const _0x3da30a=['91zALGQP','lPXPe','Error\x20in\x20doing\x20csv\x20operations:\x20','Ooufx','format','33XrangO','cJbhe','pushPerfMeasures','getEntries','\x20for\x20all\x20processes\x20is\x20','errorReportDirName','43971VMFtgw','utf-8','slice','entryType','unlinkSync','vroWW','6446544rrvhYu','started','Error\x20stopping\x20monitoring\x20','success','browserStackCwd','stopAndGenerate','performance-report','errorReportFileName','entryTypes','zezyD','join','124594RpktMm','_events','_observer','KNZvf','vSUaA','assign','jmpBn','ayQke','Performance\x20report\x20is\x20at\x20','NXQMN','env','zhBXU','worker','eventsMap','writeFileSync','1765370xEQFwQ','forEach','finalize','measureWrapper','4hSKcHb','MMeSa','path','opcTL','exports','stopMonitoring','false','BweWU','<h1>Performance\x20Report</h1>','testName','end','zYmWo','error-report','12fIFKBW','Error\x20while\x20removing\x20files:\x20','psjbp','index','message','jsonReportDirName','132920GRvpCS','uHIjz','jChBF','resolve','mark','ZMRta','winstonLogger','generateHTMLReport','aShrk','details','_measureEvents','appendFileSync','code','util','LjmCq','mkdirSync','readdir','getCleanedPerfEvents','/performance-report-','-end','finalizePerfMeasures','errors','mlYlk','calculateTimeFromEvents','WKGGQ','existsSync','qOScO','Error\x20in\x20writing\x20html\x20','isEnabled','readdirSync','readFileSync','_errorEvents','HWkfj','OwjuB','BROWSERSTACK_SDK_INSTRUMENTATION','platform','Time\x20for\x20','log','length','__platformCaps','FWzin','push','1yswrqm','name','.json','disconnect','calculateTimesFromMultipleFiles','cnILU','mmnQA','toJSON','reduce','TFjVo','jsonReportDirPath','all','</td><td>','173944xeBlGm','parse','then','vsOzp','HSAiB','cwd','function','generateJSON','readFile','finalizeErrors','stringify','pSnep','1305990uGBAYQ','buffered','catch','pushErrors','apply','jsonReportFileName','duration','tbxbl','toString','MLAJS','measure','</tbody></table></body></html>','</td></tr>','/error-report-','concat','../logger','fs/promises','EZEZn','entries','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','match','map','perf_hooks','measures','getEventsFromJSON'];a79_0xb1b2=function(){return _0x3da30a;};return a79_0xb1b2();}const fs=require('fs'),fsPromise=require(a79_0xbdbeda(0x1dd)),{performance,PerformanceObserver}=require(a79_0xbdbeda(0x1e3)),path=require(a79_0xbdbeda(0x217)),util=require(a79_0xbdbeda(0x235)),logger=require(a79_0xbdbeda(0x1dc))[a79_0xbdbeda(0x22e)],{getProcessId,sleep,debug,getTestName}=require('../processHelper');function a79_0x5768(_0x424031,_0x55c1a4){const _0xb1b2c=a79_0xb1b2();return a79_0x5768=function(_0x576807,_0x459534){_0x576807=_0x576807-0x1b5;let _0x4c9d21=_0xb1b2c[_0x576807];return _0x4c9d21;},a79_0x5768(_0x424031,_0x55c1a4);}class PerformanceTester{static ['_observer'];static ['_events']=[];static [a79_0xbdbeda(0x232)]=[];static [a79_0xbdbeda(0x247)]=[];static ['started']=![];static [a79_0xbdbeda(0x227)]=a79_0xbdbeda(0x1fd);static [a79_0xbdbeda(0x1be)]=process[a79_0xbdbeda(0x20c)][a79_0xbdbeda(0x1fb)]?path[a79_0xbdbeda(0x201)](process[a79_0xbdbeda(0x20c)][a79_0xbdbeda(0x1fb)],this[a79_0xbdbeda(0x227)]):path[a79_0xbdbeda(0x201)](process['cwd'](),a79_0xbdbeda(0x24d),this[a79_0xbdbeda(0x227)]);static [a79_0xbdbeda(0x1f0)]=process[a79_0xbdbeda(0x20c)][a79_0xbdbeda(0x1fb)]?path[a79_0xbdbeda(0x201)](process[a79_0xbdbeda(0x20c)][a79_0xbdbeda(0x1fb)],a79_0xbdbeda(0x221)):path[a79_0xbdbeda(0x201)](process['cwd'](),a79_0xbdbeda(0x221));static [a79_0xbdbeda(0x1d2)]=this[a79_0xbdbeda(0x1be)]+a79_0xbdbeda(0x23a)+getProcessId()+a79_0xbdbeda(0x1b6);static [a79_0xbdbeda(0x1fe)]=this[a79_0xbdbeda(0x1f0)]+'/error-report-'+getProcessId()+'.json';static [a79_0xbdbeda(0x231)]={};static [a79_0xbdbeda(0x20f)]={};static['startMonitoring'](_0x228d21=this[a79_0xbdbeda(0x1be)]+'/performance-report-'+getProcessId()+a79_0xbdbeda(0x1b6),_0x1d1a76=this[a79_0xbdbeda(0x1f0)]+a79_0xbdbeda(0x1da)+getProcessId()+a79_0xbdbeda(0x1b6)){const _0x5063a4=a79_0xbdbeda,_0x840c20={};_0x840c20[_0x5063a4(0x22d)]=function(_0x58a6c0,_0x3664ca){return _0x58a6c0===_0x3664ca;},_0x840c20[_0x5063a4(0x20b)]=_0x5063a4(0x1d7),_0x840c20[_0x5063a4(0x205)]=function(_0x3c14aa,_0x4270b6){return _0x3c14aa+_0x4270b6;},_0x840c20[_0x5063a4(0x229)]='Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20',_0x840c20['OvTWF']=_0x5063a4(0x1c7);const _0x111227=_0x840c20;try{!fs[_0x5063a4(0x241)](this['jsonReportDirPath'])&&fs[_0x5063a4(0x237)](this[_0x5063a4(0x1be)]);}catch(_0x11b5a9){logger['debug'](_0x111227[_0x5063a4(0x205)](_0x111227[_0x5063a4(0x229)],_0x11b5a9));}if(this[_0x5063a4(0x1f8)]||!this[_0x5063a4(0x244)]())return;this[_0x5063a4(0x204)]=new PerformanceObserver(_0x15a17a=>{const _0x3a6172=_0x5063a4;_0x15a17a[_0x3a6172(0x1ee)]()[_0x3a6172(0x212)](_0x51c286=>{const _0x20d42e=_0x3a6172;if(_0x111227['ZMRta'](_0x51c286[_0x20d42e(0x1f4)],_0x111227['NXQMN'])){let _0x1178e5={};if(_0x51c286[_0x20d42e(0x1bb)])_0x1178e5=_0x51c286[_0x20d42e(0x1bb)]();else for(const _0x2bf040 in _0x51c286){_0x1178e5[_0x2bf040]=_0x51c286[_0x2bf040];}this['details'][_0x51c286['name']]&&(_0x1178e5=Object[_0x20d42e(0x207)](_0x1178e5,this[_0x20d42e(0x231)][_0x51c286[_0x20d42e(0x1b5)]])),delete this[_0x20d42e(0x231)][_0x51c286[_0x20d42e(0x1b5)]],this[_0x20d42e(0x232)][_0x20d42e(0x251)](_0x1178e5);}else this[_0x20d42e(0x203)]['push'](_0x51c286);});});const _0x607d80={};_0x607d80[_0x5063a4(0x1ce)]=!![],_0x607d80[_0x5063a4(0x1ff)]=[_0x111227['OvTWF'],_0x111227[_0x5063a4(0x20b)]],this['_observer']['observe'](_0x607d80),this['started']=!![],this['jsonReportFileName']=_0x228d21,this[_0x5063a4(0x1fe)]=_0x1d1a76;}static['getPerformance'](){return performance;}static[a79_0xbdbeda(0x23f)](_0x4db0c2,_0xb0db26){const _0x1ed0a6=a79_0xbdbeda,_0x3412c2={};_0x3412c2[_0x1ed0a6(0x1e7)]=function(_0x323e43,_0x119947){return _0x323e43+_0x119947;},_0x3412c2['mlYlk']=function(_0x311a0c,_0x4ade88){return _0x311a0c||_0x4ade88;},_0x3412c2['ZNwcB']=function(_0x6c0236,_0x48d4fe){return _0x6c0236===_0x48d4fe;};const _0x20d171=_0x3412c2,_0x30edb2={};if(!_0x4db0c2||_0x20d171['ZNwcB'](_0x4db0c2[_0x1ed0a6(0x24e)],0x0))return;_0x4db0c2[_0x1ed0a6(0x1e2)](_0x56c472=>{const _0x7ee3bd=_0x1ed0a6;!_0x30edb2[_0x56c472[_0x7ee3bd(0x1b5)]]&&(_0x30edb2[_0x56c472[_0x7ee3bd(0x1b5)]]=0x0),_0x30edb2[_0x56c472['name']]+=_0x56c472[_0x7ee3bd(0x1d3)];});const _0x1764f6=_0xb0db26['reduce']((_0x9a43a9,_0x220268)=>{const _0x287daf=_0x1ed0a6;return _0x20d171[_0x287daf(0x1e7)](_0x30edb2[_0x220268],_0x20d171[_0x287daf(0x23e)](_0x9a43a9,0x0));},0x0);return _0x1764f6;}static async[a79_0xbdbeda(0x1b8)](_0x25d250,_0x573a7e){const _0x4e2ba0=a79_0xbdbeda,_0x36e13c={'mmnQA':function(_0x1fb2ab,_0x26438e){return _0x1fb2ab+_0x26438e;},'vroWW':function(_0x3464a8,_0x57de06){return _0x3464a8||_0x57de06;},'jChBF':function(_0x2b1be3,_0x471609){return _0x2b1be3===_0x471609;},'jmpBn':function(_0x30cd61,_0x4ff8af){return _0x30cd61(_0x4ff8af);},'BweWU':function(_0x55ff65,_0x2c0d22){return _0x55ff65(_0x2c0d22);}};if(!_0x25d250||_0x36e13c[_0x4e2ba0(0x22a)](_0x25d250[_0x4e2ba0(0x24e)],0x0))return 0x0;const _0x100e1b=[];for(const _0x4de2fd of _0x25d250){const _0x5c7356=path['join']('.',_0x4de2fd);try{const _0x3d6d74=this[_0x4e2ba0(0x1e5)](_0x5c7356);_0x3d6d74[_0x4e2ba0(0x1e2)](_0x591661=>{const _0x3d644d=_0x4e2ba0;!_0x100e1b[_0x591661[_0x3d644d(0x1b5)]]&&(_0x100e1b[_0x591661['name']]=0x0),_0x100e1b[_0x591661[_0x3d644d(0x1b5)]]+=_0x591661[_0x3d644d(0x1d3)];});}catch(_0x4b13c5){_0x36e13c[_0x4e2ba0(0x208)](debug,_0x4e2ba0(0x1e8)+_0x4b13c5[_0x4e2ba0(0x1d5)]());}}const _0x4b6004=_0x573a7e[_0x4e2ba0(0x1bc)]((_0x3e889d,_0x18fb9a)=>{const _0x5e5653=_0x4e2ba0;return _0x36e13c[_0x5e5653(0x1ba)](_0x100e1b[_0x18fb9a],_0x36e13c[_0x5e5653(0x1f6)](_0x3e889d,0x0));},0x0);return _0x36e13c[_0x4e2ba0(0x21c)](debug,_0x4e2ba0(0x24c)+_0x573a7e+_0x4e2ba0(0x1ef)+_0x4b6004),_0x4b6004;}static[a79_0xbdbeda(0x1e5)](_0x312678){const _0x3d62c5=a79_0xbdbeda;if(!fs[_0x3d62c5(0x241)](_0x312678))return[];return JSON[_0x3d62c5(0x1c2)](fs[_0x3d62c5(0x246)](_0x312678)[_0x3d62c5(0x1d5)]());}static async[a79_0xbdbeda(0x1fc)](_0x45d421='performance-own.html',_0x4df4e9=null){const _0x45a3e9=a79_0xbdbeda,_0x334f72={'HSAiB':function(_0x1a3e16,_0x2ec681){return _0x1a3e16(_0x2ec681);},'tbxbl':function(_0x41028b,_0x80abb9){return _0x41028b(_0x80abb9);}};if(!this[_0x45a3e9(0x1f8)])return;await _0x334f72[_0x45a3e9(0x1d4)](sleep,0x1e),this[_0x45a3e9(0x204)][_0x45a3e9(0x1b7)](),this[_0x45a3e9(0x1f8)]=![],this[_0x45a3e9(0x1c8)](this[_0x45a3e9(0x203)]);const _0xffb2d3=this[_0x45a3e9(0x22f)](this['_events']),_0x4c19b2=path['join'](process[_0x45a3e9(0x1c6)](),_0x45d421);fs['writeFile'](_0x4c19b2,_0xffb2d3,_0x36e98d=>{const _0x17ac10=_0x45a3e9;if(_0x36e98d){_0x334f72[_0x17ac10(0x1c5)](debug,_0x17ac10(0x243)+_0x36e98d[_0x17ac10(0x1d5)]());return;}_0x334f72[_0x17ac10(0x1c5)](debug,_0x17ac10(0x20a)+_0x4c19b2);});if(_0x4df4e9)return this['calculateTimeFromEvents'](this['_events'],_0x4df4e9);}static[a79_0xbdbeda(0x22f)](_0x43159a){const _0x1dacd0=a79_0xbdbeda,_0x395ba4={};_0x395ba4[_0x1dacd0(0x209)]='<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>',_0x395ba4[_0x1dacd0(0x1e9)]=_0x1dacd0(0x21d),_0x395ba4['zezyD']=_0x1dacd0(0x1e0),_0x395ba4[_0x1dacd0(0x240)]=_0x1dacd0(0x1d8);const _0x1af416=_0x395ba4;let _0x54eb6c=_0x1af416[_0x1dacd0(0x209)];return _0x54eb6c+=_0x1af416[_0x1dacd0(0x1e9)],_0x54eb6c+=_0x1af416[_0x1dacd0(0x200)],_0x43159a['forEach'](_0x4dd094=>{const _0x175eef=_0x1dacd0;_0x54eb6c+='<tr><td>'+_0x4dd094[_0x175eef(0x1b5)]+_0x175eef(0x1c0)+_0x4dd094['duration']+_0x175eef(0x1d9);}),_0x54eb6c+=_0x1af416['WKGGQ'],_0x54eb6c;}static[a79_0xbdbeda(0x1c8)](_0x5c67ca){const _0x1623e0=a79_0xbdbeda;if(!this[_0x1623e0(0x1d2)])return;const _0x2da919={};_0x5c67ca[_0x1623e0(0x1e2)](_0x20cb90=>{const _0x1eb67d=_0x1623e0;!_0x2da919[_0x20cb90[_0x1eb67d(0x1b5)]]&&(_0x2da919[_0x20cb90[_0x1eb67d(0x1b5)]]=0x0),_0x2da919[_0x20cb90[_0x1eb67d(0x1b5)]]+=_0x20cb90['duration'];});const _0xa7e5e6=Object[_0x1623e0(0x1df)](_0x2da919)[_0x1623e0(0x1e2)](([_0x52b1d0,_0x2e4eec])=>{const _0x54f19d=_0x1623e0,_0x221d85={};return _0x221d85[_0x54f19d(0x1b5)]=_0x52b1d0,_0x221d85[_0x54f19d(0x1d3)]=_0x2e4eec,_0x221d85;});fs[_0x1623e0(0x210)](this['jsonReportFileName'],JSON[_0x1623e0(0x1cb)](_0xa7e5e6));}static['isEnabled'](){const _0x3bb0d8=a79_0xbdbeda,_0x11ab54={};_0x11ab54[_0x3bb0d8(0x224)]=function(_0x51c2ce,_0x123020){return _0x51c2ce===_0x123020;},_0x11ab54[_0x3bb0d8(0x1c4)]=_0x3bb0d8(0x21b);const _0xef3599=_0x11ab54;return!_0xef3599[_0x3bb0d8(0x224)](process[_0x3bb0d8(0x20c)][_0x3bb0d8(0x24a)],_0xef3599['vsOzp']);}static[a79_0xbdbeda(0x1d7)](_0xe2d685,_0xbf0cd1,_0x680af7=null,_0x1d3584={},_0x2230f2=null){const _0x3baf5f=a79_0xbdbeda,_0x481427={'TFjVo':function(_0x5a5158,_0x525481){return _0x5a5158(_0x525481);},'YsqfB':function(_0x350efe,_0x234126){return _0x350efe(_0x234126);},'MLAJS':function(_0x5f1970,_0x392f86){return _0x5f1970 instanceof _0x392f86;}};try{if(this[_0x3baf5f(0x1f8)]&&this[_0x3baf5f(0x244)]()){let _0x2707ea=_0xe2d685;_0x680af7&&(_0x2707ea=_0xe2d685+'['+JSON[_0x3baf5f(0x1cb)](_0x680af7)+']');PerformanceTester['start'](_0x2707ea),this[_0x3baf5f(0x231)]&&(this[_0x3baf5f(0x231)][_0x2707ea]=_0x1d3584);try{const _0x128e1b=_0xbf0cd1[_0x3baf5f(0x1d1)](null,_0x2230f2);if(_0x481427[_0x3baf5f(0x1d6)](_0x128e1b,Promise))return new Promise((_0xc35150,_0x335577)=>{const _0x2d94c7=_0x3baf5f,_0x44377c={'zYmWo':function(_0x59c437,_0x358cc5){return _0x481427['YsqfB'](_0x59c437,_0x358cc5);}};_0x128e1b[_0x2d94c7(0x1c3)](_0x461793=>{const _0x4bace5=_0x2d94c7;PerformanceTester[_0x4bace5(0x21f)](_0x2707ea),_0x44377c[_0x4bace5(0x220)](_0xc35150,_0x461793);})[_0x2d94c7(0x1cf)](_0x9b8bc4=>{const _0x59d60c=_0x2d94c7;PerformanceTester[_0x59d60c(0x21f)](_0x2707ea,![],util[_0x59d60c(0x1ea)](_0x9b8bc4)),_0x481427[_0x59d60c(0x1bd)](_0x335577,_0x9b8bc4);});});;return PerformanceTester[_0x3baf5f(0x21f)](_0x2707ea),_0x128e1b;}catch(_0x390af5){PerformanceTester[_0x3baf5f(0x21f)](_0x2707ea,![],util['format'](_0x390af5));throw _0x390af5;}};return _0xbf0cd1[_0x3baf5f(0x1d1)](null,_0x2230f2);}catch(_0x4a0c2f){return _0xbf0cd1[_0x3baf5f(0x1d1)](null,_0x2230f2);}}static[a79_0xbdbeda(0x214)](_0x10a6e5,_0x28071e,_0xaeed17={}){const _0x15ed98=a79_0xbdbeda,_0x5a5328={'MMeSa':function(_0x21e1cd){return _0x21e1cd();}},_0x28032f=this;return _0xaeed17[_0x15ed98(0x20e)]=_0x5a5328['MMeSa'](getProcessId),_0xaeed17[_0x15ed98(0x21e)]=_0x5a5328[_0x15ed98(0x216)](getTestName),_0xaeed17[_0x15ed98(0x24b)]=global[_0x15ed98(0x24f)]&&global[_0x15ed98(0x24f)][_0x15ed98(0x225)],function(){const _0x2b608d=_0x15ed98,_0x46f9de=[_0x10a6e5,_0x28071e,null,_0xaeed17][_0x2b608d(0x1db)](arguments);return _0x28032f[_0x2b608d(0x1d7)]['apply'](_0x28032f,_0x46f9de);};}static[a79_0xbdbeda(0x239)](){const _0x482840=a79_0xbdbeda,_0x11150d=/(^.*)\[(.*)\]$/,_0x417309={},_0x50208d={},_0x73b13b=[],_0x456570=this[_0x482840(0x232)]['splice'](0x0,this[_0x482840(0x232)][_0x482840(0x24e)]);for(const _0x279490 of _0x456570){const _0x42f3d6=_0x279490[_0x482840(0x1b5)][_0x482840(0x1e1)](_0x11150d),_0x245054=Object[_0x482840(0x207)]({},_0x279490);_0x42f3d6&&(_0x245054[_0x482840(0x1b5)]=_0x42f3d6[0x1],_0x245054['meta']=JSON[_0x482840(0x1c2)](_0x42f3d6[0x2])),_0x73b13b['push'](_0x245054);}return _0x73b13b;}static[a79_0xbdbeda(0x1ed)](){const _0x306286=a79_0xbdbeda,_0x28deaa={};_0x28deaa[_0x306286(0x218)]=function(_0x231324,_0x2f5ac5){return _0x231324+_0x2f5ac5;},_0x28deaa[_0x306286(0x249)]=_0x306286(0x223),_0x28deaa[_0x306286(0x1b9)]=function(_0x4a56a6,_0x403090){return _0x4a56a6===_0x403090;},_0x28deaa[_0x306286(0x250)]=function(_0x3dd97e,_0x1ae28f){return _0x3dd97e+_0x1ae28f;};const _0x384150=_0x28deaa;try{if(fs[_0x306286(0x241)](this[_0x306286(0x1be)])){const _0x198bb6=fs[_0x306286(0x245)](this[_0x306286(0x1be)]);for(const _0x13a421 of _0x198bb6){fs['unlinkSync'](path[_0x306286(0x201)](this['jsonReportDirPath'],_0x13a421));}}}catch(_0xe6af20){logger['debug'](_0x384150[_0x306286(0x218)](_0x384150['OwjuB'],_0xe6af20));}if(_0x384150['cnILU'](this[_0x306286(0x232)][_0x306286(0x24e)],0x0))return;const _0x5be8a9=this['getCleanedPerfEvents'](),_0x532253=JSON[_0x306286(0x1cb)](_0x5be8a9),_0x28570a=_0x384150[_0x306286(0x250)](_0x532253[_0x306286(0x1f3)](0x1,-0x1),',');fs[_0x306286(0x233)](this[_0x306286(0x1d2)],_0x28570a);}static async[a79_0xbdbeda(0x23c)](){const _0x2e603e=a79_0xbdbeda,_0xcebcc={};_0xcebcc[_0x2e603e(0x236)]=function(_0x37487c,_0x447740){return _0x37487c===_0x447740;},_0xcebcc[_0x2e603e(0x1ec)]=function(_0x4c3cbd,_0x1c5ce9){return _0x4c3cbd>_0x1c5ce9;};const _0x322346=_0xcebcc;if(!this['started']||_0x322346['LjmCq'](this[_0x2e603e(0x232)][_0x2e603e(0x24e)],0x0))return[];if(!fs['existsSync'](this['jsonReportDirPath']))return this[_0x2e603e(0x232)];const _0xc0519a=(await fsPromise[_0x2e603e(0x238)](this[_0x2e603e(0x1be)]))[_0x2e603e(0x1e2)](_0x2d683e=>path[_0x2e603e(0x22b)](this[_0x2e603e(0x1be)],_0x2d683e));let _0x5b7a11=(await Promise[_0x2e603e(0x1bf)](_0xc0519a[_0x2e603e(0x1e2)](_0xc1265d=>fsPromise[_0x2e603e(0x1c9)](_0xc1265d,_0x2e603e(0x1f2)))))[_0x2e603e(0x1e2)](_0x3b05b2=>'['+_0x3b05b2[_0x2e603e(0x1f3)](0x0,-0x1)+']')[_0x2e603e(0x1e2)](_0x754ac=>JSON[_0x2e603e(0x1c2)](_0x754ac))['flat']();return _0x322346['cJbhe'](this['_measureEvents'][_0x2e603e(0x24e)],0x0)&&(_0x5b7a11=_0x5b7a11['concat'](this[_0x2e603e(0x239)]())),this[_0x2e603e(0x204)][_0x2e603e(0x1b7)](),_0x5b7a11;}static[a79_0xbdbeda(0x1d0)](){const _0x3e926b=a79_0xbdbeda,_0x5ab31e={};_0x5ab31e[_0x3e926b(0x248)]=function(_0x5bea01,_0x254fe1){return _0x5bea01===_0x254fe1;},_0x5ab31e[_0x3e926b(0x1de)]=function(_0x30653a,_0x50dec5){return _0x30653a+_0x50dec5;};const _0x486163=_0x5ab31e;if(_0x486163[_0x3e926b(0x248)](this[_0x3e926b(0x247)][_0x3e926b(0x24e)],0x0))return;const _0x5c0440=JSON[_0x3e926b(0x1cb)](this['_errorEvents']),_0x23c759=_0x486163[_0x3e926b(0x1de)](_0x5c0440['slice'](0x1,-0x1),',');fs[_0x3e926b(0x233)](this['errorFile'],_0x23c759);}static['finalizeErrors'](){const _0x4ee4bc=a79_0xbdbeda,_0x9139d5={};_0x9139d5[_0x4ee4bc(0x20d)]=function(_0x503c08,_0x206d29){return _0x503c08>_0x206d29;};const _0x1d5f04=_0x9139d5;if(!fs[_0x4ee4bc(0x241)](this[_0x4ee4bc(0x1fe)]))return this['_errorEvents'];let _0x4768a6=fs[_0x4ee4bc(0x246)](this[_0x4ee4bc(0x1fe)])['toString']();_0x4768a6='['+_0x4768a6[_0x4ee4bc(0x1f3)](0x0,-0x1)+']';let _0xc4b303=JSON['parse'](_0x4768a6);return _0x1d5f04['zhBXU'](this[_0x4ee4bc(0x247)][_0x4ee4bc(0x24e)],0x0)&&(_0xc4b303=_0xc4b303['concat'](this['_errorEvents'])),fs[_0x4ee4bc(0x1f5)](this[_0x4ee4bc(0x1fe)]),_0xc4b303;}static['captureError'](_0x5cb1cf){const _0x5de572=a79_0xbdbeda;if(!this['isEnabled']())return;this['_errorEvents'][_0x5de572(0x251)]({'message':_0x5cb1cf[_0x5de572(0x226)],'trace':_0x5cb1cf['stack'],'code':_0x5cb1cf[_0x5de572(0x234)]||null,'time':new Date()});}static[a79_0xbdbeda(0x21a)](){const _0x3a382c=a79_0xbdbeda;try{if(!this['isEnabled']())return;this[_0x3a382c(0x204)][_0x3a382c(0x1b7)](),this['pushPerfMeasures'](),this[_0x3a382c(0x1d0)]();}catch(_0x556842){logger['debug'](_0x3a382c(0x1f9)+util[_0x3a382c(0x1ea)](_0x556842));}}static async[a79_0xbdbeda(0x213)](){const _0x571bb5=a79_0xbdbeda,_0x1d9a93={'vSUaA':function(_0x3a8924,_0x2ba816){return _0x3a8924(_0x2ba816);}};await _0x1d9a93[_0x571bb5(0x206)](sleep,0x1e);const _0x4b199c=await this['finalizePerfMeasures'](),_0x50da3e=this[_0x571bb5(0x1ca)]();if(!this[_0x571bb5(0x244)]()){const _0x2dcaa9={};return _0x2dcaa9[_0x571bb5(0x1e4)]=[],_0x2dcaa9[_0x571bb5(0x23d)]=[],_0x2dcaa9;}const _0x4df276={};return _0x4df276['measures']=_0x4b199c,_0x4df276[_0x571bb5(0x23d)]=_0x50da3e,_0x4df276;}static['start'](_0x3f9b1e){const _0x45d898=a79_0xbdbeda,_0x28f7c0={};_0x28f7c0['rFupV']=function(_0x5ae765,_0xdab5b6){return _0x5ae765+_0xdab5b6;},_0x28f7c0['pSnep']='-start';const _0x16db80=_0x28f7c0,_0x4314b2=_0x16db80['rFupV'](_0x3f9b1e,_0x16db80[_0x45d898(0x1cc)]);if(this['eventsMap'][_0x4314b2])return;performance[_0x45d898(0x22c)](_0x4314b2),this[_0x45d898(0x20f)][_0x4314b2]=0x1;}static[a79_0xbdbeda(0x21f)](_0xab9dfe,_0x4882aa=!![],_0x255201=null,_0x4f3c87={}){const _0x2ba2cd=a79_0xbdbeda,_0x353f58={'GawBQ':function(_0x4fc6f7,_0x549982){return _0x4fc6f7+_0x549982;},'aShrk':_0x2ba2cd(0x23b),'qOScO':function(_0xed74ab,_0x479e58){return _0xed74ab+_0x479e58;},'weUJn':'-start','iUwra':function(_0x3793ae,_0x4f853f){return _0x3793ae+_0x4f853f;},'tRlca':function(_0x271384){return _0x271384();},'mNDgH':function(_0x1a4a8b){return _0x1a4a8b();}};performance[_0x2ba2cd(0x22c)](_0x353f58['GawBQ'](_0xab9dfe,_0x353f58['aShrk'])),performance['measure'](_0xab9dfe,_0x353f58[_0x2ba2cd(0x242)](_0xab9dfe,_0x353f58['weUJn']),_0x353f58['iUwra'](_0xab9dfe,_0x353f58[_0x2ba2cd(0x230)]));const _0x200987={};_0x200987[_0x2ba2cd(0x1fa)]=_0x4882aa,_0x200987['failure']=_0x255201,this['details'][_0xab9dfe]=Object[_0x2ba2cd(0x207)](_0x200987,Object[_0x2ba2cd(0x207)](Object[_0x2ba2cd(0x207)]({'worker':_0x353f58['tRlca'](getProcessId),'platform':global[_0x2ba2cd(0x24f)]&&global[_0x2ba2cd(0x24f)][_0x2ba2cd(0x225)],'testName':_0x353f58['mNDgH'](getTestName)},_0x4f3c87),this[_0x2ba2cd(0x231)][_0xab9dfe]||{}));}}module[a79_0xbdbeda(0x219)]=PerformanceTester;
1
+ const a79_0x140779=a79_0x478f;function a79_0x2f27(){const _0x50156a=['599599nSyHgs','worker','captureError','SANTG','vGKeU','jsonReportDirPath','browserStackCwd','duration','lSHYF','flat','concat','unlinkSync','getEntries','oAlPe','map','readdirSync','</tbody></table></body></html>','message','IztaO','readdir','\x20for\x20all\x20processes\x20is\x20','CDYJw','toString','pDcyh','ItIde','6XYhrwZ','grtlH','start','</td></tr>','NNaVn','match','entryTypes','join','_errorEvents','OVPay','Time\x20for\x20','bacCj','env','OTAHx','PKqPr','performance-own.html','resolve','errors','debug','details','HJeCQ','oEFCx','splice','readFileSync','calculateTimesFromMultipleFiles','Error\x20in\x20writing\x20html\x20','NWesr','1799190evgNVT','performance-report','appendFileSync','stringify','</td><td>','-end','existsSync','eventsMap','DrvOp','mkdirSync','_events','Error\x20while\x20removing\x20files:\x20','jsonReportDirName','assign','platform','__platformCaps','stopMonitoring','apply','isEnabled','ELIEw','measureWrapper','push','jFrUI','1516TrsvQP','fs/promises','getPerformance','generateJSON','_measureEvents','OyFsJ','7041AevDLB','../processHelper','lIgmP','calculateTimeFromEvents','measures','iPqUW','pushErrors','winstonLogger','path','name','finalizeErrors','.json','jsonReportFileName','eaHlD','index','pFLFF','false','HTvcb','FKIbb','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','pushPerfMeasures','buffered','eDNaA','buLmG','parse','DLoUD','forEach','376DgMrAx','measure','disconnect','errorReportDirName','started','observe','util','code','mark','_observer','1218995uLAsHp','OHXHI','slice','getEventsFromJSON','ljgVG','pFJMR','GuczZ','length','errorReportFileName','../logger','EWURl','lTNtw','XMVpF','2282632sZsjlg','Performance\x20report\x20is\x20at\x20','IbQaV','/performance-report-','ufmiX','cwd','reduce','QuskW','/error-report-','error-report','utf-8','format','log','all','lzREq','stack','meta','15YqnDjI','finalizePerfMeasures','-start','errorFile','getCleanedPerfEvents','generateHTMLReport','xhhfO','writeFileSync','1463310GAGDOT','end','function','startMonitoring','writeFile','toJSON','then','nLhFp'];a79_0x2f27=function(){return _0x50156a;};return a79_0x2f27();}(function(_0x46336f,_0x23db41){const _0x41e7b9=a79_0x478f,_0x9bd82e=_0x46336f();while(!![]){try{const _0x392e21=-parseInt(_0x41e7b9(0x120))/0x1*(-parseInt(_0x41e7b9(0xd7))/0x2)+parseInt(_0x41e7b9(0xdd))/0x3*(-parseInt(_0x41e7b9(0xf8))/0x4)+parseInt(_0x41e7b9(0x102))/0x5+-parseInt(_0x41e7b9(0xa5))/0x6*(-parseInt(_0x41e7b9(0x8c))/0x7)+-parseInt(_0x41e7b9(0x10f))/0x8+parseInt(_0x41e7b9(0x84))/0x9+parseInt(_0x41e7b9(0xc0))/0xa;if(_0x392e21===_0x23db41)break;else _0x9bd82e['push'](_0x9bd82e['shift']());}catch(_0x36127b){_0x9bd82e['push'](_0x9bd82e['shift']());}}}(a79_0x2f27,0x2b4ec));const fs=require('fs'),fsPromise=require(a79_0x140779(0xd8)),{performance,PerformanceObserver}=require('perf_hooks'),path=require(a79_0x140779(0xe5)),util=require(a79_0x140779(0xfe)),logger=require(a79_0x140779(0x10b))[a79_0x140779(0xe4)],{getProcessId,sleep,debug,getTestName}=require(a79_0x140779(0xde));class PerformanceTester{static [a79_0x140779(0x101)];static [a79_0x140779(0xca)]=[];static [a79_0x140779(0xdb)]=[];static [a79_0x140779(0xad)]=[];static [a79_0x140779(0xfc)]=![];static ['jsonReportDirName']=a79_0x140779(0xc1);static [a79_0x140779(0x91)]=process[a79_0x140779(0xb1)][a79_0x140779(0x92)]?path[a79_0x140779(0xac)](process[a79_0x140779(0xb1)][a79_0x140779(0x92)],this[a79_0x140779(0xcc)]):path[a79_0x140779(0xac)](process['cwd'](),a79_0x140779(0x11b),this[a79_0x140779(0xcc)]);static [a79_0x140779(0xfb)]=process[a79_0x140779(0xb1)][a79_0x140779(0x92)]?path[a79_0x140779(0xac)](process[a79_0x140779(0xb1)]['browserStackCwd'],a79_0x140779(0x118)):path['join'](process[a79_0x140779(0x114)](),a79_0x140779(0x118));static [a79_0x140779(0xe9)]=this[a79_0x140779(0x91)]+a79_0x140779(0x112)+getProcessId()+a79_0x140779(0xe8);static [a79_0x140779(0x10a)]=this[a79_0x140779(0xfb)]+'/error-report-'+getProcessId()+a79_0x140779(0xe8);static [a79_0x140779(0xb8)]={};static [a79_0x140779(0xc7)]={};static[a79_0x140779(0x87)](_0x1e3624=this['jsonReportDirPath']+a79_0x140779(0x112)+getProcessId()+'.json',_0xd9d5a9=this[a79_0x140779(0xfb)]+a79_0x140779(0x117)+getProcessId()+a79_0x140779(0xe8)){const _0x2276bc=a79_0x140779,_0x1d455c={};_0x1d455c[_0x2276bc(0x99)]=function(_0x570a31,_0x4c7427){return _0x570a31===_0x4c7427;},_0x1d455c[_0x2276bc(0x10d)]=_0x2276bc(0xf9),_0x1d455c[_0x2276bc(0x111)]=function(_0x2eccfc,_0x43575a){return _0x2eccfc+_0x43575a;},_0x1d455c['OVPay']=_0x2276bc(0xf0),_0x1d455c[_0x2276bc(0xba)]=_0x2276bc(0x86);const _0x10acde=_0x1d455c;try{!fs[_0x2276bc(0xc6)](this[_0x2276bc(0x91)])&&fs[_0x2276bc(0xc9)](this[_0x2276bc(0x91)]);}catch(_0x4c3ce3){logger['debug'](_0x10acde['IbQaV'](_0x10acde[_0x2276bc(0xae)],_0x4c3ce3));}if(this[_0x2276bc(0xfc)]||!this[_0x2276bc(0xd2)]())return;this[_0x2276bc(0x101)]=new PerformanceObserver(_0x4856fe=>{const _0x2e921c=_0x2276bc;_0x4856fe[_0x2e921c(0x98)]()['forEach'](_0x50b7b5=>{const _0x45b26a=_0x2e921c;if(_0x10acde[_0x45b26a(0x99)](_0x50b7b5['entryType'],_0x10acde[_0x45b26a(0x10d)])){let _0x4f8d76={};if(_0x50b7b5[_0x45b26a(0x89)])_0x4f8d76=_0x50b7b5[_0x45b26a(0x89)]();else for(const _0x2d2539 in _0x50b7b5){_0x4f8d76[_0x2d2539]=_0x50b7b5[_0x2d2539];}this[_0x45b26a(0xb8)][_0x50b7b5['name']]&&(_0x4f8d76=Object[_0x45b26a(0xcd)](_0x4f8d76,this['details'][_0x50b7b5['name']])),delete this[_0x45b26a(0xb8)][_0x50b7b5[_0x45b26a(0xe6)]],this[_0x45b26a(0xdb)][_0x45b26a(0xd5)](_0x4f8d76);}else this[_0x45b26a(0xca)][_0x45b26a(0xd5)](_0x50b7b5);});});const _0x3a909b={};_0x3a909b[_0x2276bc(0xf2)]=!![],_0x3a909b[_0x2276bc(0xab)]=[_0x10acde[_0x2276bc(0xba)],_0x10acde[_0x2276bc(0x10d)]],this[_0x2276bc(0x101)][_0x2276bc(0xfd)](_0x3a909b),this[_0x2276bc(0xfc)]=!![],this['jsonReportFileName']=_0x1e3624,this[_0x2276bc(0x10a)]=_0xd9d5a9;}static[a79_0x140779(0xd9)](){return performance;}static[a79_0x140779(0xe0)](_0x320e59,_0x13bb21){const _0x336e7f=a79_0x140779,_0x2b24cf={};_0x2b24cf['NNaVn']=function(_0x403cb4,_0x2caf2f){return _0x403cb4+_0x2caf2f;},_0x2b24cf['HJeCQ']=function(_0x26de10,_0x27bf21){return _0x26de10||_0x27bf21;},_0x2b24cf[_0x336e7f(0xc8)]=function(_0x27c755,_0x424eb6){return _0x27c755===_0x424eb6;};const _0x131b1f=_0x2b24cf,_0x48c543={};if(!_0x320e59||_0x131b1f[_0x336e7f(0xc8)](_0x320e59['length'],0x0))return;_0x320e59['map'](_0x259124=>{const _0x52ddaa=_0x336e7f;!_0x48c543[_0x259124[_0x52ddaa(0xe6)]]&&(_0x48c543[_0x259124[_0x52ddaa(0xe6)]]=0x0),_0x48c543[_0x259124[_0x52ddaa(0xe6)]]+=_0x259124[_0x52ddaa(0x93)];});const _0x369f5a=_0x13bb21['reduce']((_0x264e4e,_0x1b947f)=>{const _0x41fcc9=_0x336e7f;return _0x131b1f[_0x41fcc9(0xa9)](_0x48c543[_0x1b947f],_0x131b1f[_0x41fcc9(0xb9)](_0x264e4e,0x0));},0x0);return _0x369f5a;}static async[a79_0x140779(0xbd)](_0x225fb5,_0x20c5f6){const _0x42540e=a79_0x140779,_0x2f2eab={'grtlH':function(_0xe62004,_0x399fd7){return _0xe62004+_0x399fd7;},'QuskW':function(_0x6a31e8,_0x418b9e){return _0x6a31e8||_0x418b9e;},'DLoUD':function(_0x4f72ae,_0x56ecdc){return _0x4f72ae===_0x56ecdc;},'OyFsJ':function(_0x42e7d5,_0x5efce9){return _0x42e7d5(_0x5efce9);}};if(!_0x225fb5||_0x2f2eab[_0x42540e(0xf6)](_0x225fb5['length'],0x0))return 0x0;const _0x16e7ed=[];for(const _0x2a2235 of _0x225fb5){const _0x514583=path['join']('.',_0x2a2235);try{const _0x5e1e75=this[_0x42540e(0x105)](_0x514583);_0x5e1e75['map'](_0x163e82=>{const _0x8a32f4=_0x42540e;!_0x16e7ed[_0x163e82[_0x8a32f4(0xe6)]]&&(_0x16e7ed[_0x163e82[_0x8a32f4(0xe6)]]=0x0),_0x16e7ed[_0x163e82['name']]+=_0x163e82[_0x8a32f4(0x93)];});}catch(_0x212c07){_0x2f2eab[_0x42540e(0xdc)](debug,'Error\x20in\x20doing\x20csv\x20operations:\x20'+_0x212c07['toString']());}}const _0x203b5c=_0x20c5f6[_0x42540e(0x115)]((_0x1279d3,_0x3e2bf2)=>{const _0x541790=_0x42540e;return _0x2f2eab[_0x541790(0xa6)](_0x16e7ed[_0x3e2bf2],_0x2f2eab[_0x541790(0x116)](_0x1279d3,0x0));},0x0);return _0x2f2eab['OyFsJ'](debug,_0x42540e(0xaf)+_0x20c5f6+_0x42540e(0xa0)+_0x203b5c),_0x203b5c;}static[a79_0x140779(0x105)](_0x51828e){const _0x1938f9=a79_0x140779;if(!fs[_0x1938f9(0xc6)](_0x51828e))return[];return JSON['parse'](fs[_0x1938f9(0xbc)](_0x51828e)[_0x1938f9(0xa2)]());}static async['stopAndGenerate'](_0x33165a=a79_0x140779(0xb4),_0x3f6723=null){const _0x169a49=a79_0x140779,_0x57cd46={'PKqPr':function(_0x40c353,_0x4d2007){return _0x40c353(_0x4d2007);},'vGKeU':function(_0x4276c4,_0x2944b7){return _0x4276c4(_0x2944b7);},'XMVpF':function(_0x5e1ac3,_0xe5eb4c){return _0x5e1ac3(_0xe5eb4c);}};if(!this[_0x169a49(0xfc)])return;await _0x57cd46[_0x169a49(0x10e)](sleep,0x1e),this[_0x169a49(0x101)][_0x169a49(0xfa)](),this['started']=![],this['generateJSON'](this[_0x169a49(0xca)]);const _0x245c49=this[_0x169a49(0x125)](this[_0x169a49(0xca)]),_0x48e7c4=path[_0x169a49(0xac)](process[_0x169a49(0x114)](),_0x33165a);fs[_0x169a49(0x88)](_0x48e7c4,_0x245c49,_0x1d04fd=>{const _0x5be4ce=_0x169a49;if(_0x1d04fd){_0x57cd46[_0x5be4ce(0xb3)](debug,_0x5be4ce(0xbe)+_0x1d04fd[_0x5be4ce(0xa2)]());return;}_0x57cd46[_0x5be4ce(0x90)](debug,_0x5be4ce(0x110)+_0x48e7c4);});if(_0x3f6723)return this['calculateTimeFromEvents'](this[_0x169a49(0xca)],_0x3f6723);}static[a79_0x140779(0x125)](_0x64091d){const _0x4882ea=a79_0x140779,_0xfdab9d={};_0xfdab9d[_0x4882ea(0x94)]='<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>',_0xfdab9d['xhhfO']='<h1>Performance\x20Report</h1>',_0xfdab9d[_0x4882ea(0x113)]='<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>',_0xfdab9d[_0x4882ea(0xa4)]=_0x4882ea(0x9c);const _0x523d03=_0xfdab9d;let _0x4b77f7=_0x523d03[_0x4882ea(0x94)];return _0x4b77f7+=_0x523d03[_0x4882ea(0x126)],_0x4b77f7+=_0x523d03[_0x4882ea(0x113)],_0x64091d[_0x4882ea(0xf7)](_0x5d7c26=>{const _0x38a2b5=_0x4882ea;_0x4b77f7+='<tr><td>'+_0x5d7c26[_0x38a2b5(0xe6)]+_0x38a2b5(0xc4)+_0x5d7c26[_0x38a2b5(0x93)]+_0x38a2b5(0xa8);}),_0x4b77f7+=_0x523d03[_0x4882ea(0xa4)],_0x4b77f7;}static[a79_0x140779(0xda)](_0xbf1449){const _0xa46ba3=a79_0x140779;if(!this[_0xa46ba3(0xe9)])return;const _0x33e6aa={};_0xbf1449['map'](_0x53d0eb=>{const _0xb12306=_0xa46ba3;!_0x33e6aa[_0x53d0eb['name']]&&(_0x33e6aa[_0x53d0eb[_0xb12306(0xe6)]]=0x0),_0x33e6aa[_0x53d0eb[_0xb12306(0xe6)]]+=_0x53d0eb[_0xb12306(0x93)];});const _0x94e8f8=Object['entries'](_0x33e6aa)[_0xa46ba3(0x9a)](([_0x326ba6,_0x1aa9ee])=>{const _0x2d839c=_0xa46ba3,_0x1d82e1={};return _0x1d82e1[_0x2d839c(0xe6)]=_0x326ba6,_0x1d82e1[_0x2d839c(0x93)]=_0x1aa9ee,_0x1d82e1;});fs[_0xa46ba3(0x83)](this['jsonReportFileName'],JSON['stringify'](_0x94e8f8));}static['isEnabled'](){const _0x474e1f=a79_0x140779,_0xaf3278={};_0xaf3278[_0x474e1f(0x9e)]=function(_0x53cabf,_0x4ad010){return _0x53cabf===_0x4ad010;},_0xaf3278[_0x474e1f(0xdf)]=_0x474e1f(0xed);const _0x2d71f0=_0xaf3278;return!_0x2d71f0[_0x474e1f(0x9e)](process[_0x474e1f(0xb1)]['BROWSERSTACK_SDK_INSTRUMENTATION'],_0x2d71f0[_0x474e1f(0xdf)]);}static[a79_0x140779(0xf9)](_0x3ae7ae,_0x1302b4,_0x57cf2e=null,_0x5bfd74={},_0x59d7d4=null){const _0x22db19=a79_0x140779,_0x3d48f0={'pFLFF':function(_0x16fae8,_0x3648bf){return _0x16fae8(_0x3648bf);},'pDcyh':function(_0x54604e,_0x4f21ae){return _0x54604e instanceof _0x4f21ae;}};try{if(this[_0x22db19(0xfc)]&&this['isEnabled']()){let _0x27599c=_0x3ae7ae;_0x57cf2e&&(_0x27599c=_0x3ae7ae+'['+JSON[_0x22db19(0xc3)](_0x57cf2e)+']');PerformanceTester[_0x22db19(0xa7)](_0x27599c),this['details']&&(this[_0x22db19(0xb8)][_0x27599c]=_0x5bfd74);try{const _0x2a7bde=_0x1302b4[_0x22db19(0xd1)](null,_0x59d7d4);if(_0x3d48f0[_0x22db19(0xa3)](_0x2a7bde,Promise))return new Promise((_0x4b99ce,_0x20b9e6)=>{const _0x53eace=_0x22db19,_0x5d1665={'bacCj':function(_0x46c692,_0x40a422){const _0x111a6e=a79_0x478f;return _0x3d48f0[_0x111a6e(0xec)](_0x46c692,_0x40a422);}};_0x2a7bde[_0x53eace(0x8a)](_0x6931c2=>{const _0x1670d4=_0x53eace;PerformanceTester[_0x1670d4(0x85)](_0x27599c),_0x5d1665[_0x1670d4(0xb0)](_0x4b99ce,_0x6931c2);})['catch'](_0xf7d211=>{const _0x5acb7d=_0x53eace;PerformanceTester[_0x5acb7d(0x85)](_0x27599c,![],util[_0x5acb7d(0x11a)](_0xf7d211)),_0x5d1665[_0x5acb7d(0xb0)](_0x20b9e6,_0xf7d211);});});;return PerformanceTester[_0x22db19(0x85)](_0x27599c),_0x2a7bde;}catch(_0x3abc2f){PerformanceTester[_0x22db19(0x85)](_0x27599c,![],util['format'](_0x3abc2f));throw _0x3abc2f;}};return _0x1302b4['apply'](null,_0x59d7d4);}catch(_0x50f256){return _0x1302b4[_0x22db19(0xd1)](null,_0x59d7d4);}}static[a79_0x140779(0xd4)](_0x489199,_0x3de061,_0x4b8c51={}){const _0x5ead4d=a79_0x140779,_0x20bfa9={'CDYJw':function(_0x18f57d){return _0x18f57d();}},_0x385bf7=this;return _0x4b8c51[_0x5ead4d(0x8d)]=_0x20bfa9[_0x5ead4d(0xa1)](getProcessId),_0x4b8c51['testName']=_0x20bfa9[_0x5ead4d(0xa1)](getTestName),_0x4b8c51[_0x5ead4d(0xce)]=global[_0x5ead4d(0xcf)]&&global[_0x5ead4d(0xcf)][_0x5ead4d(0xeb)],function(){const _0x334e69=_0x5ead4d,_0x4cff8b=[_0x489199,_0x3de061,null,_0x4b8c51]['concat'](arguments);return _0x385bf7[_0x334e69(0xf9)][_0x334e69(0xd1)](_0x385bf7,_0x4cff8b);};}static['getCleanedPerfEvents'](){const _0x4d7380=a79_0x140779,_0x35fada=/(^.*)\[(.*)\]$/,_0x4b4ae0={},_0x5e5e26={},_0x4feabd=[],_0x4e21bf=this[_0x4d7380(0xdb)][_0x4d7380(0xbb)](0x0,this[_0x4d7380(0xdb)][_0x4d7380(0x109)]);for(const _0x5956fe of _0x4e21bf){const _0x4f90f2=_0x5956fe[_0x4d7380(0xe6)][_0x4d7380(0xaa)](_0x35fada),_0xfc01a6=Object[_0x4d7380(0xcd)]({},_0x5956fe);_0x4f90f2&&(_0xfc01a6['name']=_0x4f90f2[0x1],_0xfc01a6[_0x4d7380(0x11f)]=JSON[_0x4d7380(0xf5)](_0x4f90f2[0x2])),_0x4feabd[_0x4d7380(0xd5)](_0xfc01a6);}return _0x4feabd;}static[a79_0x140779(0xf1)](){const _0x30a052=a79_0x140779,_0x2fae4a={};_0x2fae4a['NWesr']=function(_0x5840df,_0x498994){return _0x5840df+_0x498994;},_0x2fae4a['eDNaA']=_0x30a052(0xcb),_0x2fae4a[_0x30a052(0xd3)]=function(_0x4a3bee,_0x2d7d73){return _0x4a3bee===_0x2d7d73;},_0x2fae4a[_0x30a052(0x8b)]=function(_0x45b977,_0xbe5c09){return _0x45b977+_0xbe5c09;};const _0x361a1b=_0x2fae4a;try{if(fs[_0x30a052(0xc6)](this[_0x30a052(0x91)])){const _0x5cf26b=fs[_0x30a052(0x9b)](this['jsonReportDirPath']);for(const _0x299d28 of _0x5cf26b){fs[_0x30a052(0x97)](path[_0x30a052(0xac)](this[_0x30a052(0x91)],_0x299d28));}}}catch(_0x4b784a){logger[_0x30a052(0xb7)](_0x361a1b[_0x30a052(0xbf)](_0x361a1b[_0x30a052(0xf3)],_0x4b784a));}if(_0x361a1b[_0x30a052(0xd3)](this[_0x30a052(0xdb)][_0x30a052(0x109)],0x0))return;const _0x266c4d=this[_0x30a052(0x124)](),_0x58284f=JSON['stringify'](_0x266c4d),_0x1676ca=_0x361a1b['nLhFp'](_0x58284f[_0x30a052(0x104)](0x1,-0x1),',');fs[_0x30a052(0xc2)](this[_0x30a052(0xe9)],_0x1676ca);}static async[a79_0x140779(0x121)](){const _0x35f098=a79_0x140779,_0x1f5b44={};_0x1f5b44[_0x35f098(0xea)]=function(_0x478007,_0x56ca71){return _0x478007===_0x56ca71;},_0x1f5b44['FKIbb']=function(_0x482281,_0x863f4e){return _0x482281>_0x863f4e;};const _0x555c82=_0x1f5b44;if(!this[_0x35f098(0xfc)]||_0x555c82[_0x35f098(0xea)](this['_measureEvents'][_0x35f098(0x109)],0x0))return[];if(!fs[_0x35f098(0xc6)](this[_0x35f098(0x91)]))return this[_0x35f098(0xdb)];const _0x4b457e=(await fsPromise[_0x35f098(0x9f)](this['jsonReportDirPath']))[_0x35f098(0x9a)](_0x1406e7=>path[_0x35f098(0xb5)](this[_0x35f098(0x91)],_0x1406e7));let _0x422426=(await Promise[_0x35f098(0x11c)](_0x4b457e[_0x35f098(0x9a)](_0x44d9d1=>fsPromise['readFile'](_0x44d9d1,_0x35f098(0x119)))))[_0x35f098(0x9a)](_0x1dc29d=>'['+_0x1dc29d['slice'](0x0,-0x1)+']')[_0x35f098(0x9a)](_0x48ed84=>JSON[_0x35f098(0xf5)](_0x48ed84))[_0x35f098(0x95)]();return _0x555c82[_0x35f098(0xef)](this[_0x35f098(0xdb)][_0x35f098(0x109)],0x0)&&(_0x422426=_0x422426[_0x35f098(0x96)](this[_0x35f098(0x124)]())),this['_observer'][_0x35f098(0xfa)](),_0x422426;}static[a79_0x140779(0xe3)](){const _0x30e9ff=a79_0x140779,_0x454790={};_0x454790[_0x30e9ff(0x8f)]=function(_0x228f7c,_0x636468){return _0x228f7c===_0x636468;},_0x454790[_0x30e9ff(0xee)]=function(_0x5d0b8f,_0x931a6d){return _0x5d0b8f+_0x931a6d;};const _0x1b6faa=_0x454790;if(_0x1b6faa[_0x30e9ff(0x8f)](this['_errorEvents'][_0x30e9ff(0x109)],0x0))return;const _0x577319=JSON[_0x30e9ff(0xc3)](this['_errorEvents']),_0x4bf8af=_0x1b6faa[_0x30e9ff(0xee)](_0x577319[_0x30e9ff(0x104)](0x1,-0x1),',');fs[_0x30e9ff(0xc2)](this[_0x30e9ff(0x123)],_0x4bf8af);}static[a79_0x140779(0xe7)](){const _0x229a7e=a79_0x140779,_0x5a8808={};_0x5a8808[_0x229a7e(0x108)]=function(_0x2b7f58,_0x841f8d){return _0x2b7f58>_0x841f8d;};const _0x5cb30e=_0x5a8808;if(!fs[_0x229a7e(0xc6)](this[_0x229a7e(0x10a)]))return this['_errorEvents'];let _0x35e110=fs[_0x229a7e(0xbc)](this[_0x229a7e(0x10a)])[_0x229a7e(0xa2)]();_0x35e110='['+_0x35e110[_0x229a7e(0x104)](0x0,-0x1)+']';let _0x66f82d=JSON[_0x229a7e(0xf5)](_0x35e110);return _0x5cb30e[_0x229a7e(0x108)](this[_0x229a7e(0xad)][_0x229a7e(0x109)],0x0)&&(_0x66f82d=_0x66f82d[_0x229a7e(0x96)](this['_errorEvents'])),fs['unlinkSync'](this['errorReportFileName']),_0x66f82d;}static[a79_0x140779(0x8e)](_0x4016fb){const _0x240b31=a79_0x140779;if(!this['isEnabled']())return;this[_0x240b31(0xad)][_0x240b31(0xd5)]({'message':_0x4016fb[_0x240b31(0x9d)],'trace':_0x4016fb[_0x240b31(0x11e)],'code':_0x4016fb[_0x240b31(0xff)]||null,'time':new Date()});}static[a79_0x140779(0xd0)](){const _0x1d7ee8=a79_0x140779;try{if(!this[_0x1d7ee8(0xd2)]())return;this[_0x1d7ee8(0x101)][_0x1d7ee8(0xfa)](),this[_0x1d7ee8(0xf1)](),this[_0x1d7ee8(0xe3)]();}catch(_0x50b1ad){logger[_0x1d7ee8(0xb7)]('Error\x20stopping\x20monitoring\x20'+util['format'](_0x50b1ad));}}static async['finalize'](){const _0x4f9e24=a79_0x140779,_0x5ef30c={'ljgVG':function(_0x36f1a2,_0x1f4619){return _0x36f1a2(_0x1f4619);}};await _0x5ef30c[_0x4f9e24(0x106)](sleep,0x1e);const _0x32beed=await this['finalizePerfMeasures'](),_0x17a99f=this[_0x4f9e24(0xe7)]();if(!this[_0x4f9e24(0xd2)]()){const _0x48084b={};return _0x48084b[_0x4f9e24(0xe1)]=[],_0x48084b['errors']=[],_0x48084b;}const _0x15a09a={};return _0x15a09a[_0x4f9e24(0xe1)]=_0x32beed,_0x15a09a[_0x4f9e24(0xb6)]=_0x17a99f,_0x15a09a;}static[a79_0x140779(0xa7)](_0x58289a){const _0x40a833=a79_0x140779,_0x3c8e1f={};_0x3c8e1f[_0x40a833(0x103)]=function(_0x325557,_0x3b7939){return _0x325557+_0x3b7939;},_0x3c8e1f['iPqUW']=_0x40a833(0x122);const _0x4c1822=_0x3c8e1f,_0x5e0a63=_0x4c1822[_0x40a833(0x103)](_0x58289a,_0x4c1822[_0x40a833(0xe2)]);if(this[_0x40a833(0xc7)][_0x5e0a63])return;performance[_0x40a833(0x100)](_0x5e0a63),this[_0x40a833(0xc7)][_0x5e0a63]=0x1;}static[a79_0x140779(0x85)](_0x572774,_0x4df9f9=!![],_0x1a8d45=null,_0x56b42e={}){const _0x3af97e=a79_0x140779,_0x46814f={'eUzkq':function(_0x363aa3,_0x1e4e64){return _0x363aa3+_0x1e4e64;},'buLmG':_0x3af97e(0xc5),'jFrUI':function(_0x30d52e,_0x4c2614){return _0x30d52e+_0x4c2614;},'EWURl':_0x3af97e(0x122),'OTAHx':function(_0x3f7827,_0x22e48a){return _0x3f7827+_0x22e48a;},'lzREq':function(_0xdb3cbf){return _0xdb3cbf();},'pFJMR':function(_0x4da597){return _0x4da597();}};performance[_0x3af97e(0x100)](_0x46814f['eUzkq'](_0x572774,_0x46814f[_0x3af97e(0xf4)])),performance['measure'](_0x572774,_0x46814f[_0x3af97e(0xd6)](_0x572774,_0x46814f[_0x3af97e(0x10c)]),_0x46814f[_0x3af97e(0xb2)](_0x572774,_0x46814f['buLmG']));const _0x236a2b={};_0x236a2b['success']=_0x4df9f9,_0x236a2b['failure']=_0x1a8d45,this['details'][_0x572774]=Object[_0x3af97e(0xcd)](_0x236a2b,Object[_0x3af97e(0xcd)](Object[_0x3af97e(0xcd)]({'worker':_0x46814f[_0x3af97e(0x11d)](getProcessId),'platform':global[_0x3af97e(0xcf)]&&global[_0x3af97e(0xcf)][_0x3af97e(0xeb)],'testName':_0x46814f[_0x3af97e(0x107)](getTestName)},_0x56b42e),this[_0x3af97e(0xb8)][_0x572774]||{}));}}function a79_0x478f(_0xb22c18,_0x26af0b){const _0x2f27f2=a79_0x2f27();return a79_0x478f=function(_0x478fd2,_0x59174d){_0x478fd2=_0x478fd2-0x83;let _0x4c8539=_0x2f27f2[_0x478fd2];return _0x4c8539;},a79_0x478f(_0xb22c18,_0x26af0b);}module['exports']=PerformanceTester;
@@ -1 +1 @@
1
- const a80_0x3f737b=a80_0x236c;(function(_0x4a0ec8,_0x2cd429){const _0x4bfcb2=a80_0x236c,_0x4c6b93=_0x4a0ec8();while(!![]){try{const _0x6ff794=parseInt(_0x4bfcb2(0x1a0))/0x1*(-parseInt(_0x4bfcb2(0x1a5))/0x2)+-parseInt(_0x4bfcb2(0x19a))/0x3+-parseInt(_0x4bfcb2(0x1a8))/0x4+parseInt(_0x4bfcb2(0x19b))/0x5*(-parseInt(_0x4bfcb2(0x1a6))/0x6)+parseInt(_0x4bfcb2(0x198))/0x7+-parseInt(_0x4bfcb2(0x1a1))/0x8*(parseInt(_0x4bfcb2(0x193))/0x9)+parseInt(_0x4bfcb2(0x195))/0xa;if(_0x6ff794===_0x2cd429)break;else _0x4c6b93['push'](_0x4c6b93['shift']());}catch(_0x3e84b4){_0x4c6b93['push'](_0x4c6b93['shift']());}}}(a80_0x481e,0x4bc7d));const worker=require('worker_threads'),{fileLogger}=require(a80_0x3f737b(0x19c)),{consoleHolder}=require('./test-observability/constants'),globals=require(a80_0x3f737b(0x1a4));function a80_0x236c(_0x405426,_0x4f7a0b){const _0x481e39=a80_0x481e();return a80_0x236c=function(_0x236c07,_0x29de07){_0x236c07=_0x236c07-0x18f;let _0x48cb5=_0x481e39[_0x236c07];return _0x48cb5;},a80_0x236c(_0x405426,_0x4f7a0b);}function a80_0x481e(){const _0x19b06d=['5eGknYB','./logger','xCKXC','BROWSERSTACK_OBSERVABILITY_DEBUG','toISOString','1NrNCPH','7432PQmLiJ','env','threadId','./globals','574754ArqSRC','2100642HeuOeK','teEJT','756104rgzBky','][\x20OBSERVABILITY\x20]\x20','pid','getGlobal','log','3609BPqQoh','debug','14675310EkvwjX','WtPwt','sleep','757085fGSQOs','AvQxK','198750vEfMol'];a80_0x481e=function(){return _0x19b06d;};return a80_0x481e();}exports['getProcessId']=()=>{const _0x55bec3=a80_0x3f737b;return process[_0x55bec3(0x190)]+'-'+worker[_0x55bec3(0x1a3)];},exports['getTestName']=()=>{const _0x23fd90=a80_0x3f737b,_0x132da0={};_0x132da0[_0x23fd90(0x196)]='browserstackTestName';const _0x3e3595=_0x132da0;return globals[_0x23fd90(0x191)](_0x3e3595[_0x23fd90(0x196)]);},exports[a80_0x3f737b(0x197)]=(_0x252017=0x64)=>new Promise(_0x3ff6c9=>setTimeout(_0x3ff6c9,_0x252017)),exports['debug']=_0x41c56b=>{const _0x465e2a=a80_0x3f737b,_0x31aaa6={};_0x31aaa6['AvQxK']=function(_0x5d25f3,_0x54d178){return _0x5d25f3===_0x54d178;},_0x31aaa6['xCKXC']='true',_0x31aaa6['teEJT']=function(_0x555d24,_0x3340e3){return _0x555d24===_0x3340e3;};const _0xde34ff=_0x31aaa6;fileLogger[_0x465e2a(0x194)]('['+new Date()[_0x465e2a(0x19f)]()+'][\x20OBSERVABILITY\x20]\x20'+_0x41c56b),(_0xde34ff[_0x465e2a(0x199)](process[_0x465e2a(0x1a2)][_0x465e2a(0x19e)],_0xde34ff[_0x465e2a(0x19d)])||_0xde34ff[_0x465e2a(0x1a7)](process[_0x465e2a(0x1a2)][_0x465e2a(0x19e)],'1'))&&consoleHolder[_0x465e2a(0x192)]('\x0a['+new Date()[_0x465e2a(0x19f)]()+_0x465e2a(0x18f)+_0x41c56b+'\x0a');};
1
+ function a80_0x1458(_0x3fef1b,_0x551196){const _0x25f821=a80_0x25f8();return a80_0x1458=function(_0x1458d1,_0x313026){_0x1458d1=_0x1458d1-0xc9;let _0x1a016b=_0x25f821[_0x1458d1];return _0x1a016b;},a80_0x1458(_0x3fef1b,_0x551196);}function a80_0x25f8(){const _0x339f14=['sleep','tVJVG','pid','log','2114680Nuxkvc','22LiyRUz','true','env','MCDtH','BROWSERSTACK_OBSERVABILITY_DEBUG','toISOString','./test-observability/constants','][\x20OBSERVABILITY\x20]\x20','526548fLZCkR','threadId','143QtzZkW','getTestName','1107456nNvXDr','1Pfghfw','debug','301Zwguia','4ijxAdM','734216ivwwIf','FcYzF','994310sMsPBO','CQMVm','./globals','getGlobal','38064ARZBCZ','340310KnBVrT','9orhYUc','./logger','worker_threads','getProcessId'];a80_0x25f8=function(){return _0x339f14;};return a80_0x25f8();}const a80_0x57e540=a80_0x1458;(function(_0xbcf2ce,_0x2f3189){const _0x16adc7=a80_0x1458,_0x558a7d=_0xbcf2ce();while(!![]){try{const _0x14eea6=-parseInt(_0x16adc7(0xcf))/0x1*(-parseInt(_0x16adc7(0xd5))/0x2)+parseInt(_0x16adc7(0xce))/0x3+parseInt(_0x16adc7(0xd2))/0x4*(parseInt(_0x16adc7(0xe3))/0x5)+parseInt(_0x16adc7(0xd9))/0x6*(-parseInt(_0x16adc7(0xd1))/0x7)+-parseInt(_0x16adc7(0xd3))/0x8*(parseInt(_0x16adc7(0xdb))/0x9)+-parseInt(_0x16adc7(0xda))/0xa*(parseInt(_0x16adc7(0xe4))/0xb)+parseInt(_0x16adc7(0xca))/0xc*(-parseInt(_0x16adc7(0xcc))/0xd);if(_0x14eea6===_0x2f3189)break;else _0x558a7d['push'](_0x558a7d['shift']());}catch(_0x57d5a3){_0x558a7d['push'](_0x558a7d['shift']());}}}(a80_0x25f8,0x5b4b7));const worker=require(a80_0x57e540(0xdd)),{fileLogger}=require(a80_0x57e540(0xdc)),{consoleHolder}=require(a80_0x57e540(0xea)),globals=require(a80_0x57e540(0xd7));exports[a80_0x57e540(0xde)]=()=>{const _0x32296f=a80_0x57e540;return process[_0x32296f(0xe1)]+'-'+worker[_0x32296f(0xcb)];},exports[a80_0x57e540(0xcd)]=()=>{const _0x2a0a44=a80_0x57e540,_0x4a1370={};_0x4a1370['FcYzF']='browserstackTestName';const _0x3bd060=_0x4a1370;return globals[_0x2a0a44(0xd8)](_0x3bd060[_0x2a0a44(0xd4)]);},exports[a80_0x57e540(0xdf)]=(_0x7b9d82=0x64)=>new Promise(_0xb59dc=>setTimeout(_0xb59dc,_0x7b9d82)),exports[a80_0x57e540(0xd0)]=_0x66bfdd=>{const _0x5a7316=a80_0x57e540,_0x2edbb2={};_0x2edbb2[_0x5a7316(0xe0)]=function(_0x26d7e6,_0x1594c8){return _0x26d7e6===_0x1594c8;},_0x2edbb2[_0x5a7316(0xd6)]=_0x5a7316(0xe5),_0x2edbb2[_0x5a7316(0xe7)]=function(_0x78950e,_0x3ae851){return _0x78950e===_0x3ae851;};const _0x3f6e31=_0x2edbb2;fileLogger[_0x5a7316(0xd0)]('['+new Date()[_0x5a7316(0xe9)]()+_0x5a7316(0xc9)+_0x66bfdd),(_0x3f6e31[_0x5a7316(0xe0)](process[_0x5a7316(0xe6)]['BROWSERSTACK_OBSERVABILITY_DEBUG'],_0x3f6e31['CQMVm'])||_0x3f6e31['MCDtH'](process[_0x5a7316(0xe6)][_0x5a7316(0xe8)],'1'))&&consoleHolder[_0x5a7316(0xe2)]('\x0a['+new Date()[_0x5a7316(0xe9)]()+_0x5a7316(0xc9)+_0x66bfdd+'\x0a');};
@@ -1 +1 @@
1
- const a81_0x6658d1=a81_0x4e8f;function a81_0x4e8f(_0x31b46a,_0x172c73){const _0x28402b=a81_0x2840();return a81_0x4e8f=function(_0x4e8f90,_0xc2089){_0x4e8f90=_0x4e8f90-0x151;let _0x41804f=_0x28402b[_0x4e8f90];return _0x41804f;},a81_0x4e8f(_0x31b46a,_0x172c73);}(function(_0xc6476c,_0x5284f9){const _0x43e9ae=a81_0x4e8f,_0x5f0671=_0xc6476c();while(!![]){try{const _0x275772=-parseInt(_0x43e9ae(0x179))/0x1*(-parseInt(_0x43e9ae(0x15e))/0x2)+-parseInt(_0x43e9ae(0x16f))/0x3*(-parseInt(_0x43e9ae(0x16e))/0x4)+-parseInt(_0x43e9ae(0x168))/0x5+parseInt(_0x43e9ae(0x16a))/0x6*(-parseInt(_0x43e9ae(0x17a))/0x7)+parseInt(_0x43e9ae(0x158))/0x8*(-parseInt(_0x43e9ae(0x164))/0x9)+parseInt(_0x43e9ae(0x161))/0xa+parseInt(_0x43e9ae(0x156))/0xb*(parseInt(_0x43e9ae(0x163))/0xc);if(_0x275772===_0x5284f9)break;else _0x5f0671['push'](_0x5f0671['shift']());}catch(_0x23e3be){_0x5f0671['push'](_0x5f0671['shift']());}}}(a81_0x2840,0x23dfb));const http=require(a81_0x6658d1(0x151)),https=require(a81_0x6658d1(0x183)),monkeypatch=require(a81_0x6658d1(0x159));function spy(_0x328e7d){const _0x47c112=a81_0x6658d1,_0x2fe2db={'miGfi':function(_0x536685,_0xea87f4){return _0x536685-_0xea87f4;},'LhKmo':function(_0x1db91f,_0x95519a,_0x534d25){return _0x1db91f(_0x95519a,_0x534d25);},'WhzeU':_0x47c112(0x181),'cRNpM':function(_0xfcf02b,_0x4152ae){return _0xfcf02b instanceof _0x4152ae;},'QKRTC':function(_0x4ddd06,_0x40a891){return _0x4ddd06===_0x40a891;},'uAOXQ':_0x47c112(0x15b),'zjmzJ':function(_0x520e18,_0x5cccad,_0xc83e31){return _0x520e18(_0x5cccad,_0xc83e31);},'snfxy':function(_0x5ee737,..._0x4c5f7b){return _0x5ee737(..._0x4c5f7b);},'Kbdhe':_0x47c112(0x186),'FBVRu':'socket','RElwe':function(_0x92ed8d,_0x152263,_0x4783e7,_0x3fa424){return _0x92ed8d(_0x152263,_0x4783e7,_0x3fa424);},'HxvMA':_0x47c112(0x169),'LnsGX':_0x47c112(0x171)},_0x56fc19=function(){const _0x1f2076=_0x47c112,_0x4b40da={'vaZvL':function(_0x483a94,_0x34e692){return _0x2fe2db['cRNpM'](_0x483a94,_0x34e692);},'bPqrE':function(_0x55da34,_0x7e58e3){const _0x2a557c=a81_0x4e8f;return _0x2fe2db[_0x2a557c(0x17b)](_0x55da34,_0x7e58e3);},'Zypkv':_0x2fe2db[_0x1f2076(0x178)],'eGQeu':function(_0x35e521,_0x49278e,_0x5c2c5a){const _0x55d4d4=_0x1f2076;return _0x2fe2db[_0x55d4d4(0x154)](_0x35e521,_0x49278e,_0x5c2c5a);},'WWLXX':function(_0x49e509,..._0x2062bc){const _0x687428=_0x1f2076;return _0x2fe2db[_0x687428(0x177)](_0x49e509,..._0x2062bc);}},_0x589e38=arguments[0x0],_0x39eafe=Array[_0x1f2076(0x184)][_0x1f2076(0x170)]['call'](arguments,0x1),_0x4b63a7=_0x589e38[_0x1f2076(0x16c)](this,_0x39eafe);let _0x13a2be=Date[_0x1f2076(0x155)](),_0x38a158;const _0x38544b={};_0x39eafe['forEach'](_0xdfce0a=>{const _0x3ebab2=_0x1f2076;if(_0x4b40da[_0x3ebab2(0x174)](_0xdfce0a,URL)){const _0x40afab={};_0x40afab[_0x3ebab2(0x17c)]=_0xdfce0a,Object[_0x3ebab2(0x185)](_0x38544b,_0x40afab);}else _0x4b40da['bPqrE'](typeof _0xdfce0a,_0x4b40da['Zypkv'])&&Object[_0x3ebab2(0x185)](_0x38544b,_0xdfce0a);});const _0x2fccb4=_0x2a59ff=>{const _0x34437b=_0x1f2076,_0x2956e4={};_0x2956e4[_0x34437b(0x180)]=_0x38544b['host']||_0x38544b['hostname']||_0x38544b[_0x34437b(0x17c)]&&(_0x38544b['url'][_0x34437b(0x180)]||_0x38544b[_0x34437b(0x17c)]['hostname']),_0x2956e4[_0x34437b(0x15f)]=_0x38544b[_0x34437b(0x15f)]||_0x38544b[_0x34437b(0x17c)]&&_0x38544b[_0x34437b(0x17c)][_0x34437b(0x182)],_0x2956e4[_0x34437b(0x153)]=_0x38544b[_0x34437b(0x153)],_0x2956e4[_0x34437b(0x15d)]=_0x38544b[_0x34437b(0x15d)],_0x4b40da[_0x34437b(0x16b)](_0x328e7d,_0x2a59ff,_0x2956e4);};return _0x4b63a7[_0x1f2076(0x17f)](_0x2fe2db[_0x1f2076(0x16d)],_0x436b2d=>{const _0x1b0c3e=_0x1f2076,_0x48a05d=_0x2fe2db[_0x1b0c3e(0x157)](Date[_0x1b0c3e(0x155)](),_0x13a2be),_0x1050b5={};_0x1050b5[_0x1b0c3e(0x166)]=_0x38544b['host']||_0x38544b[_0x1b0c3e(0x166)]||_0x38544b[_0x1b0c3e(0x17c)]&&(_0x38544b['url'][_0x1b0c3e(0x180)]||_0x38544b[_0x1b0c3e(0x17c)][_0x1b0c3e(0x166)]),_0x1050b5['path']=_0x38544b[_0x1b0c3e(0x15f)]||_0x38544b['url']&&_0x38544b['url']['pathname'],_0x1050b5['method']=_0x38544b['method'],_0x1050b5['headers']=_0x38544b[_0x1b0c3e(0x15d)],_0x1050b5['status_code']=_0x436b2d[_0x1b0c3e(0x15c)],_0x1050b5[_0x1b0c3e(0x176)]=_0x48a05d,_0x2fe2db[_0x1b0c3e(0x167)](_0x328e7d,null,_0x1050b5),_0x38a158[_0x1b0c3e(0x172)](_0x2fe2db[_0x1b0c3e(0x162)],_0x2fccb4);}),_0x4b63a7['on'](_0x2fe2db['FBVRu'],_0x5ceb54=>{_0x38a158=_0x5ceb54,_0x5ceb54['once'](_0x2fe2db['WhzeU'],_0x2fccb4);}),_0x2fe2db[_0x1f2076(0x17d)](monkeypatch,_0x4b63a7,_0x2fe2db[_0x1f2076(0x173)],(_0xa74083,..._0xa6b10e)=>{const _0xf5bbf3=_0x1f2076;_0x13a2be=Date[_0xf5bbf3(0x155)](),_0x4b40da[_0xf5bbf3(0x175)](_0xa74083,..._0xa6b10e);}),_0x4b63a7;};_0x2fe2db[_0x47c112(0x17d)](monkeypatch,http,_0x2fe2db[_0x47c112(0x15a)],_0x56fc19),_0x2fe2db[_0x47c112(0x17d)](monkeypatch,https,_0x2fe2db[_0x47c112(0x15a)],_0x56fc19);}function restore(){const _0x5cbb4c=a81_0x6658d1;http[_0x5cbb4c(0x171)][_0x5cbb4c(0x165)](),https[_0x5cbb4c(0x171)]['unpatch']();}const a81_0x4708fb={};a81_0x4708fb[a81_0x6658d1(0x152)]=spy,a81_0x4708fb[a81_0x6658d1(0x17e)]=restore,module[a81_0x6658d1(0x160)]=a81_0x4708fb;function a81_0x2840(){const _0x5b18af=['WWLXX','duration_ms','snfxy','uAOXQ','2AEAjFp','844970SQfoAy','QKRTC','url','RElwe','restore','once','host','error','pathname','https','prototype','assign','response','http','spy','method','zjmzJ','now','473eYDfwZ','miGfi','8QBDasJ','monkeypatch','LnsGX','object','statusCode','headers','185090bTSQLM','path','exports','502580lgchAB','WhzeU','145272TwQrvK','2384703saKepB','unpatch','hostname','LhKmo','1039890LMfxbI','end','12qbFepi','eGQeu','apply','Kbdhe','8EiNzDe','158097MuHofh','slice','request','removeListener','HxvMA','vaZvL'];a81_0x2840=function(){return _0x5b18af;};return a81_0x2840();}
1
+ const a81_0x477c8f=a81_0x2efa;(function(_0x7ac4c7,_0x5c54ef){const _0x5f46e8=a81_0x2efa,_0x36dbb5=_0x7ac4c7();while(!![]){try{const _0x2ae239=-parseInt(_0x5f46e8(0x16d))/0x1+parseInt(_0x5f46e8(0x161))/0x2+parseInt(_0x5f46e8(0x15b))/0x3*(-parseInt(_0x5f46e8(0x15a))/0x4)+parseInt(_0x5f46e8(0x166))/0x5*(-parseInt(_0x5f46e8(0x16f))/0x6)+parseInt(_0x5f46e8(0x14b))/0x7+-parseInt(_0x5f46e8(0x146))/0x8+parseInt(_0x5f46e8(0x162))/0x9;if(_0x2ae239===_0x5c54ef)break;else _0x36dbb5['push'](_0x36dbb5['shift']());}catch(_0xddc6dc){_0x36dbb5['push'](_0x36dbb5['shift']());}}}(a81_0x477e,0x89654));function a81_0x2efa(_0x449332,_0x546989){const _0x477e15=a81_0x477e();return a81_0x2efa=function(_0x2efa5c,_0xc836f){_0x2efa5c=_0x2efa5c-0x146;let _0x5514d0=_0x477e15[_0x2efa5c];return _0x5514d0;},a81_0x2efa(_0x449332,_0x546989);}const http=require('http'),https=require(a81_0x477c8f(0x171)),monkeypatch=require(a81_0x477c8f(0x158));function spy(_0x88508f){const _0xd4de9f=a81_0x477c8f,_0x29cc16={'YDgUX':function(_0x1d2a3e,_0x5a37c0,_0x2acb70){return _0x1d2a3e(_0x5a37c0,_0x2acb70);},'fEBnn':function(_0x2d592a,_0x2a892a){return _0x2d592a-_0x2a892a;},'dgwee':'error','vqtjs':function(_0xc628a0,_0x3b8f26){return _0xc628a0 instanceof _0x3b8f26;},'svvGt':function(_0x4fc37f,_0x234e60){return _0x4fc37f===_0x234e60;},'XxKfM':_0xd4de9f(0x15c),'ZtyGN':function(_0x55bcfd,..._0x426924){return _0x55bcfd(..._0x426924);},'PrwXV':_0xd4de9f(0x14d),'bnbdK':_0xd4de9f(0x15e),'DCocP':function(_0x20f9ca,_0x334a6e,_0x4cbdcd,_0x3abd3c){return _0x20f9ca(_0x334a6e,_0x4cbdcd,_0x3abd3c);},'qvgge':'end','JuXpN':_0xd4de9f(0x149)},_0x1ca006=function(){const _0x59cbcf=_0xd4de9f,_0x2ffa3e={'DWebt':function(_0x120649,_0xb250c3){const _0xc16a84=a81_0x2efa;return _0x29cc16[_0xc16a84(0x16e)](_0x120649,_0xb250c3);},'NvdNf':function(_0x2ee603,_0x5e681d){return _0x29cc16['svvGt'](_0x2ee603,_0x5e681d);},'LdYDr':_0x29cc16[_0x59cbcf(0x167)],'BVTKh':function(_0x44917f,..._0x581202){const _0x396832=_0x59cbcf;return _0x29cc16[_0x396832(0x16b)](_0x44917f,..._0x581202);}},_0x10c1f0=arguments[0x0],_0x4ddc95=Array[_0x59cbcf(0x151)][_0x59cbcf(0x148)][_0x59cbcf(0x157)](arguments,0x1),_0x2e40be=_0x10c1f0[_0x59cbcf(0x173)](this,_0x4ddc95);let _0x4e4a1b=Date[_0x59cbcf(0x176)](),_0xe5ce8c;const _0x72be1={};_0x4ddc95[_0x59cbcf(0x170)](_0x49f42e=>{const _0x28f6cd=_0x59cbcf;if(_0x2ffa3e['DWebt'](_0x49f42e,URL)){const _0x341216={};_0x341216[_0x28f6cd(0x153)]=_0x49f42e,Object[_0x28f6cd(0x174)](_0x72be1,_0x341216);}else _0x2ffa3e[_0x28f6cd(0x16c)](typeof _0x49f42e,_0x2ffa3e[_0x28f6cd(0x14f)])&&Object[_0x28f6cd(0x174)](_0x72be1,_0x49f42e);});const _0x22efd6=_0x33b08f=>{const _0x69b6bd=_0x59cbcf,_0x47e0c9={};_0x47e0c9[_0x69b6bd(0x150)]=_0x72be1[_0x69b6bd(0x150)]||_0x72be1[_0x69b6bd(0x156)]||_0x72be1[_0x69b6bd(0x153)]&&(_0x72be1[_0x69b6bd(0x153)]['host']||_0x72be1[_0x69b6bd(0x153)][_0x69b6bd(0x156)]),_0x47e0c9['path']=_0x72be1[_0x69b6bd(0x14c)]||_0x72be1[_0x69b6bd(0x153)]&&_0x72be1[_0x69b6bd(0x153)]['pathname'],_0x47e0c9['method']=_0x72be1[_0x69b6bd(0x154)],_0x47e0c9[_0x69b6bd(0x159)]=_0x72be1[_0x69b6bd(0x159)],_0x29cc16['YDgUX'](_0x88508f,_0x33b08f,_0x47e0c9);};return _0x2e40be['once'](_0x29cc16[_0x59cbcf(0x147)],_0x58cf00=>{const _0x2d6b3b=_0x59cbcf,_0x70074c=_0x29cc16[_0x2d6b3b(0x15f)](Date[_0x2d6b3b(0x176)](),_0x4e4a1b),_0x58a880={};_0x58a880[_0x2d6b3b(0x156)]=_0x72be1[_0x2d6b3b(0x150)]||_0x72be1[_0x2d6b3b(0x156)]||_0x72be1[_0x2d6b3b(0x153)]&&(_0x72be1[_0x2d6b3b(0x153)]['host']||_0x72be1[_0x2d6b3b(0x153)][_0x2d6b3b(0x156)]),_0x58a880['path']=_0x72be1[_0x2d6b3b(0x14c)]||_0x72be1[_0x2d6b3b(0x153)]&&_0x72be1['url'][_0x2d6b3b(0x169)],_0x58a880[_0x2d6b3b(0x154)]=_0x72be1[_0x2d6b3b(0x154)],_0x58a880[_0x2d6b3b(0x159)]=_0x72be1[_0x2d6b3b(0x159)],_0x58a880[_0x2d6b3b(0x14a)]=_0x58cf00[_0x2d6b3b(0x160)],_0x58a880[_0x2d6b3b(0x164)]=_0x70074c,_0x29cc16[_0x2d6b3b(0x14e)](_0x88508f,null,_0x58a880),_0xe5ce8c[_0x2d6b3b(0x155)](_0x29cc16[_0x2d6b3b(0x16a)],_0x22efd6);}),_0x2e40be['on'](_0x29cc16['bnbdK'],_0x1a16fd=>{const _0x2e3e2c=_0x59cbcf;_0xe5ce8c=_0x1a16fd,_0x1a16fd[_0x2e3e2c(0x175)](_0x29cc16['dgwee'],_0x22efd6);}),_0x29cc16[_0x59cbcf(0x172)](monkeypatch,_0x2e40be,_0x29cc16[_0x59cbcf(0x163)],(_0x1d342b,..._0x1730e8)=>{const _0x4aeeec=_0x59cbcf;_0x4e4a1b=Date[_0x4aeeec(0x176)](),_0x2ffa3e[_0x4aeeec(0x15d)](_0x1d342b,..._0x1730e8);}),_0x2e40be;};_0x29cc16['DCocP'](monkeypatch,http,_0x29cc16[_0xd4de9f(0x165)],_0x1ca006),_0x29cc16['DCocP'](monkeypatch,https,_0x29cc16[_0xd4de9f(0x165)],_0x1ca006);}function restore(){const _0x33c240=a81_0x477c8f;http['request']['unpatch'](),https['request'][_0x33c240(0x168)]();}const a81_0x2a0261={};function a81_0x477e(){const _0x509950=['qvgge','duration_ms','JuXpN','1268960PIuSBR','XxKfM','unpatch','pathname','dgwee','ZtyGN','NvdNf','502273cvwXvO','vqtjs','12MLEKnU','forEach','https','DCocP','apply','assign','once','now','3258336LrOpPO','PrwXV','slice','request','status_code','386316ICKXJd','path','response','YDgUX','LdYDr','host','prototype','exports','url','method','removeListener','hostname','call','monkeypatch','headers','4amxvQT','3300714XpfzTk','object','BVTKh','socket','fEBnn','statusCode','2062286kJjsfd','17944452ewtEvv'];a81_0x477e=function(){return _0x509950;};return a81_0x477e();}a81_0x2a0261['spy']=spy,a81_0x2a0261['restore']=restore,module[a81_0x477c8f(0x152)]=a81_0x2a0261;
@@ -1 +1 @@
1
- function a82_0x5aa5(){const _0x41a914=['./performance/constants','Agent','qYLeD','call','request','http','40DEtcAY','202170lpXqAO','163250djOXLQ','135WBNwGP','agent','KEEP_ALIVE','globalAgent','uSlFv','18HdwWRz','kmXUE','121915krnJan','prototype','hasOwnProperty','394416HAOHgQ','EgSnV','https','1372180Cyebef','jjtqs','keepAliveMsecs','32417kWDQvY','keepAlive','https:','measureWrapper','HsYds','protocol','XvTSu','JzcZj','302316LqFNvF','rVNAC'];a82_0x5aa5=function(){return _0x41a914;};return a82_0x5aa5();}const a82_0x4488ce=a82_0xccb9;(function(_0x44f62b,_0x23dbef){const _0x34b276=a82_0xccb9,_0x1041ea=_0x44f62b();while(!![]){try{const _0x58cc6d=parseInt(_0x34b276(0xdd))/0x1+parseInt(_0x34b276(0xf6))/0x2+-parseInt(_0x34b276(0xe8))/0x3+parseInt(_0x34b276(0xeb))/0x4+-parseInt(_0x34b276(0xe5))/0x5*(parseInt(_0x34b276(0xe3))/0x6)+-parseInt(_0x34b276(0xee))/0x7*(-parseInt(_0x34b276(0xdb))/0x8)+parseInt(_0x34b276(0xde))/0x9*(-parseInt(_0x34b276(0xdc))/0xa);if(_0x58cc6d===_0x23dbef)break;else _0x1041ea['push'](_0x1041ea['shift']());}catch(_0x3300ff){_0x1041ea['push'](_0x1041ea['shift']());}}}(a82_0x5aa5,0x2a2bc));function a82_0xccb9(_0x1ee1ef,_0x26c5ad){const _0x5aa547=a82_0x5aa5();return a82_0xccb9=function(_0xccb9ef,_0x3c6a6e){_0xccb9ef=_0xccb9ef-0xd9;let _0x4cc2e3=_0x5aa547[_0xccb9ef];return _0x4cc2e3;},a82_0xccb9(_0x1ee1ef,_0x26c5ad);}const PerformanceTester=require('./performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceEvents}=require(a82_0x4488ce(0xf8));module['exports']=PerformanceTester[a82_0x4488ce(0xf1)](PerformanceEvents[a82_0x4488ce(0xe0)],function(){const _0x4bf7e0=a82_0x4488ce,_0x344d9f={'kmXUE':function(_0x4e380d,_0x54a66c){return _0x4e380d===_0x54a66c;},'jjtqs':_0x4bf7e0(0xf0),'qYLeD':_0x4bf7e0(0xdf),'JzcZj':function(_0x4320ea,_0x1fed99,_0x482a4e){return _0x4320ea(_0x1fed99,_0x482a4e);},'XvTSu':function(_0x6a37fc,_0xe601be,_0x391568){return _0x6a37fc(_0xe601be,_0x391568);},'uSlFv':function(_0x33ea85,_0x131a7d){return _0x33ea85(_0x131a7d);},'RGPyB':_0x4bf7e0(0xda),'cRaBJ':function(_0x437d35,_0x5943c1){return _0x437d35(_0x5943c1);},'rVNAC':_0x4bf7e0(0xea),'EgSnV':function(_0x8036ea,_0x1488a6){return _0x8036ea*_0x1488a6;},'HsYds':_0x4bf7e0(0xef)},_0x2c765d=_0x344d9f[_0x4bf7e0(0xe2)](require,_0x344d9f['RGPyB']),_0xbff6a3=_0x344d9f['cRaBJ'](require,_0x344d9f[_0x4bf7e0(0xf7)]),_0x4c3f8f=_0x344d9f[_0x4bf7e0(0xe9)](0x1e,0x3e8);if(_0x2c765d[_0x4bf7e0(0xe1)]&&Object[_0x4bf7e0(0xe6)][_0x4bf7e0(0xe7)][_0x4bf7e0(0xfb)](_0x2c765d[_0x4bf7e0(0xe1)],_0x344d9f[_0x4bf7e0(0xf2)]))_0x2c765d[_0x4bf7e0(0xe1)][_0x4bf7e0(0xef)]=!![],_0xbff6a3['globalAgent'][_0x4bf7e0(0xef)]=!![],_0x2c765d[_0x4bf7e0(0xe1)][_0x4bf7e0(0xed)]=_0x4c3f8f,_0xbff6a3[_0x4bf7e0(0xe1)][_0x4bf7e0(0xed)]=_0x4c3f8f;else{const _0x2cca57={};_0x2cca57[_0x4bf7e0(0xef)]=!![],_0x2cca57[_0x4bf7e0(0xed)]=_0x4c3f8f;const _0x5d36e8=new _0x2c765d[(_0x4bf7e0(0xf9))](_0x2cca57),_0x961e20={};_0x961e20[_0x4bf7e0(0xef)]=!![],_0x961e20['keepAliveMsecs']=_0x4c3f8f;const _0x44fffb=new _0xbff6a3[(_0x4bf7e0(0xf9))](_0x961e20),_0x1dcf6b=_0x2c765d[_0x4bf7e0(0xd9)],_0x5a1c5b=_0xbff6a3['request'];_0x2c765d[_0x4bf7e0(0xd9)]=function(_0x464746,_0x1deb1c){const _0x42e145=_0x4bf7e0;if(_0x344d9f[_0x42e145(0xe4)](_0x464746[_0x42e145(0xf3)],_0x344d9f[_0x42e145(0xec)]))return _0x464746[_0x344d9f[_0x42e145(0xfa)]]=_0x44fffb,_0x344d9f[_0x42e145(0xf5)](_0x5a1c5b,_0x464746,_0x1deb1c);return _0x464746[_0x344d9f[_0x42e145(0xfa)]]=_0x5d36e8,_0x344d9f[_0x42e145(0xf4)](_0x1dcf6b,_0x464746,_0x1deb1c);};}});
1
+ const a82_0x5a50dd=a82_0x523b;(function(_0x13625c,_0x4ea8c7){const _0x132391=a82_0x523b,_0x4ff4e2=_0x13625c();while(!![]){try{const _0x17e16b=parseInt(_0x132391(0xdd))/0x1*(parseInt(_0x132391(0xdf))/0x2)+parseInt(_0x132391(0xf9))/0x3*(-parseInt(_0x132391(0xe1))/0x4)+parseInt(_0x132391(0xe2))/0x5+-parseInt(_0x132391(0xe6))/0x6+parseInt(_0x132391(0xef))/0x7*(-parseInt(_0x132391(0xeb))/0x8)+parseInt(_0x132391(0xf3))/0x9+parseInt(_0x132391(0xee))/0xa;if(_0x17e16b===_0x4ea8c7)break;else _0x4ff4e2['push'](_0x4ff4e2['shift']());}catch(_0x46f077){_0x4ff4e2['push'](_0x4ff4e2['shift']());}}}(a82_0x21d1,0xd0d31));function a82_0x523b(_0x1427d2,_0x5f2979){const _0x21d136=a82_0x21d1();return a82_0x523b=function(_0x523ba8,_0x4d7168){_0x523ba8=_0x523ba8-0xdd;let _0xad10d9=_0x21d136[_0x523ba8];return _0xad10d9;},a82_0x523b(_0x1427d2,_0x5f2979);}const PerformanceTester=require(a82_0x5a50dd(0xfb)),{AUTOMATE_EVENTS:PerformanceEvents}=require('./performance/constants');function a82_0x21d1(){const _0x113c09=['4fdRWwP','5252590vOFUjM','request','EUVkX','KoeOF','3687888qzJhsi','zzium','keepAliveMsecs','fEEPl','https:','16BFUyBe','keepAlive','https','19061110PWnZvT','5599111ElKgcC','APFuE','protocol','globalAgent','2466153fQVyhi','zFTFg','KEEP_ALIVE','exports','measureWrapper','uBCix','3251823ktJmhh','hasOwnProperty','./performance/performance-tester','KQSTp','2LVYSJZ','call','923034BgWHMt','tVJZT'];a82_0x21d1=function(){return _0x113c09;};return a82_0x21d1();}module[a82_0x5a50dd(0xf6)]=PerformanceTester[a82_0x5a50dd(0xf7)](PerformanceEvents[a82_0x5a50dd(0xf5)],function(){const _0x2a7c2b=a82_0x5a50dd,_0x227264={'zzium':function(_0x1fde3d,_0x4841c5){return _0x1fde3d===_0x4841c5;},'APFuE':_0x2a7c2b(0xea),'EUVkX':'agent','KoeOF':function(_0x4a71b4,_0x1aea62,_0x17fae2){return _0x4a71b4(_0x1aea62,_0x17fae2);},'fEEPl':function(_0x191f87,_0xbf8849,_0x222631){return _0x191f87(_0xbf8849,_0x222631);},'tVJZT':function(_0x503d20,_0x2e871f){return _0x503d20(_0x2e871f);},'uBCix':'http','KQSTp':_0x2a7c2b(0xed),'YbzfT':function(_0x241d5d,_0x14418d){return _0x241d5d*_0x14418d;},'zFTFg':'keepAlive'},_0x5db67a=_0x227264[_0x2a7c2b(0xe0)](require,_0x227264[_0x2a7c2b(0xf8)]),_0x51bc96=_0x227264['tVJZT'](require,_0x227264[_0x2a7c2b(0xfc)]),_0x2e85f4=_0x227264['YbzfT'](0x1e,0x3e8);if(_0x5db67a[_0x2a7c2b(0xf2)]&&Object['prototype'][_0x2a7c2b(0xfa)][_0x2a7c2b(0xde)](_0x5db67a[_0x2a7c2b(0xf2)],_0x227264[_0x2a7c2b(0xf4)]))_0x5db67a['globalAgent'][_0x2a7c2b(0xec)]=!![],_0x51bc96['globalAgent'][_0x2a7c2b(0xec)]=!![],_0x5db67a[_0x2a7c2b(0xf2)]['keepAliveMsecs']=_0x2e85f4,_0x51bc96[_0x2a7c2b(0xf2)][_0x2a7c2b(0xe8)]=_0x2e85f4;else{const _0x596a07={};_0x596a07[_0x2a7c2b(0xec)]=!![],_0x596a07[_0x2a7c2b(0xe8)]=_0x2e85f4;const _0x5f3d4f=new _0x5db67a['Agent'](_0x596a07),_0x502aba={};_0x502aba[_0x2a7c2b(0xec)]=!![],_0x502aba[_0x2a7c2b(0xe8)]=_0x2e85f4;const _0x33c9c9=new _0x51bc96['Agent'](_0x502aba),_0x14755a=_0x5db67a[_0x2a7c2b(0xe3)],_0x10691c=_0x51bc96[_0x2a7c2b(0xe3)];_0x5db67a['request']=function(_0x3f0c1a,_0x4e4a61){const _0x167652=_0x2a7c2b;if(_0x227264[_0x167652(0xe7)](_0x3f0c1a[_0x167652(0xf1)],_0x227264[_0x167652(0xf0)]))return _0x3f0c1a[_0x227264[_0x167652(0xe4)]]=_0x33c9c9,_0x227264[_0x167652(0xe5)](_0x10691c,_0x3f0c1a,_0x4e4a61);return _0x3f0c1a[_0x227264['EUVkX']]=_0x5f3d4f,_0x227264[_0x167652(0xe9)](_0x14755a,_0x3f0c1a,_0x4e4a61);};}});
@@ -1 +1 @@
1
- var a83_0x522207=a83_0x4df4;(function(_0x9ada66,_0xe4ea89){var _0x4714b1=a83_0x4df4,_0x3025a0=_0x9ada66();while(!![]){try{var _0x2012db=-parseInt(_0x4714b1(0xfe))/0x1+parseInt(_0x4714b1(0xfc))/0x2+-parseInt(_0x4714b1(0xf8))/0x3*(-parseInt(_0x4714b1(0xef))/0x4)+-parseInt(_0x4714b1(0xf0))/0x5*(-parseInt(_0x4714b1(0xf2))/0x6)+-parseInt(_0x4714b1(0xfd))/0x7+parseInt(_0x4714b1(0xf4))/0x8+-parseInt(_0x4714b1(0x103))/0x9*(parseInt(_0x4714b1(0xff))/0xa);if(_0x2012db===_0xe4ea89)break;else _0x3025a0['push'](_0x3025a0['shift']());}catch(_0x1d535f){_0x3025a0['push'](_0x3025a0['shift']());}}}(a83_0x232e,0x252d3));var a83_0x5b430d={};function a83_0x232e(){var _0x4778f7=['api/v1/batch','375282JxSzVG','1390214xtDRvj','86496iYBcNE','5210pszHAr','mocha','PLAYWRIGHT','MOCHA','3420mQmYyC','exports','JEST','16syCdqb','108795KRtpir','CUCUMBER','66jbUtqH','https://collector-observability.browserstack.com','928024gutWbe','.obs_test_details','assign','cucumber','69270ITkiHt','Playwright','jest'];a83_0x232e=function(){return _0x4778f7;};return a83_0x232e();}function a83_0x4df4(_0x157450,_0x5c8b1e){var _0x232e3a=a83_0x232e();return a83_0x4df4=function(_0x4df424,_0x4c9424){_0x4df424=_0x4df424-0xee;var _0x1952e1=_0x232e3a[_0x4df424];return _0x1952e1;},a83_0x4df4(_0x157450,_0x5c8b1e);}a83_0x5b430d[a83_0x522207(0x101)]=a83_0x522207(0xf9),a83_0x5b430d[a83_0x522207(0x102)]=a83_0x522207(0x100),a83_0x5b430d['CODECEPT']='codeceptjs',a83_0x5b430d[a83_0x522207(0xee)]=a83_0x522207(0xfa),a83_0x5b430d[a83_0x522207(0xf1)]=a83_0x522207(0xf7),module[a83_0x522207(0x104)]={'consoleHolder':Object[a83_0x522207(0xf6)]({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a83_0x522207(0xf3),'EVENT_ENDPOINT':'api/v1/event','BATCH_ENDPOINT':a83_0x522207(0xfb),'SCREENSHOT_ENDPOINT':'api/v1/screenshots','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_0x522207(0xf5),'FRAMEWORKS':a83_0x5b430d};
1
+ var a83_0x1222f3=a83_0x16cb;(function(_0x38cdc9,_0x49577c){var _0x3bc235=a83_0x16cb,_0x1135d1=_0x38cdc9();while(!![]){try{var _0x4bc178=parseInt(_0x3bc235(0x1ac))/0x1+-parseInt(_0x3bc235(0x1a4))/0x2*(-parseInt(_0x3bc235(0x198))/0x3)+-parseInt(_0x3bc235(0x19f))/0x4+-parseInt(_0x3bc235(0x1a7))/0x5+-parseInt(_0x3bc235(0x196))/0x6*(parseInt(_0x3bc235(0x1a6))/0x7)+-parseInt(_0x3bc235(0x19c))/0x8+parseInt(_0x3bc235(0x1a3))/0x9;if(_0x4bc178===_0x49577c)break;else _0x1135d1['push'](_0x1135d1['shift']());}catch(_0x94921d){_0x1135d1['push'](_0x1135d1['shift']());}}}(a83_0x42a4,0xc78aa));function a83_0x16cb(_0x1a999a,_0x3a0e5e){var _0x42a44e=a83_0x42a4();return a83_0x16cb=function(_0x16cb69,_0x164e19){_0x16cb69=_0x16cb69-0x196;var _0x57cd50=_0x42a44e[_0x16cb69];return _0x57cd50;},a83_0x16cb(_0x1a999a,_0x3a0e5e);}var a83_0x50b201={};a83_0x50b201[a83_0x1222f3(0x1a1)]=a83_0x1222f3(0x19a),a83_0x50b201[a83_0x1222f3(0x19d)]=a83_0x1222f3(0x19e),a83_0x50b201[a83_0x1222f3(0x1a2)]='codeceptjs',a83_0x50b201[a83_0x1222f3(0x199)]=a83_0x1222f3(0x197),a83_0x50b201[a83_0x1222f3(0x19b)]=a83_0x1222f3(0x1a0),module[a83_0x1222f3(0x1a5)]={'consoleHolder':Object['assign']({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a83_0x1222f3(0x1a8),'EVENT_ENDPOINT':a83_0x1222f3(0x1a9),'BATCH_ENDPOINT':a83_0x1222f3(0x1ab),'SCREENSHOT_ENDPOINT':a83_0x1222f3(0x1aa),'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':'.obs_test_details','FRAMEWORKS':a83_0x50b201};function a83_0x42a4(){var _0x5eec0c=['1248930vgoRvU','1512696DGmPhX','jest','10344PdFbVu','JEST','Playwright','CUCUMBER','2434272AENRDW','MOCHA','mocha','848780LxgXmp','cucumber','PLAYWRIGHT','CODECEPT','13569705VgfoII','172zzvdMn','exports','14GFPANs','6075850MiWNIT','https://collector-observability.browserstack.com','api/v1/event','api/v1/screenshots','api/v1/batch'];a83_0x42a4=function(){return _0x5eec0c;};return a83_0x42a4();}
@@ -1 +1 @@
1
- function a84_0x2726(){const _0x57f0a1=['POST','keys','Hjyxj','setAllDetails','[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','credentials','TkPfl','CrashReporter','stringify','kDCUB','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','HiFrO','defineProperty','UqGeV',',\x20PID\x20-\x20','1269929TFSzRn','BROWSERSTACK_O11Y_PERF_MEASUREMENT','IHOUd','frameworkVersion','constructor','GnYul','Finished\x20::\x20','KvdqS','esNpa','getCredentials','format','GsWcs','nbEHs','getOwnPropertyNames','tkjJN','.\x20Error\x20-\x20','name','object','CREDENTIALS_FOR_CRASH_REPORTING','recursivelyDeletePIIKeysFromObject','getConfig','uploadCrashReport','nNfLr','setFrameworkDetails','setCredentials','tUrNU','VIxls','parse','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','getPerformance','catch','env','\x20--\x20','MzNkk','byRyM','YnpoM','lOEGK','QeJgv','timerify','frameworkName','userConfig','getFramework','true','USER_CONFIG_FOR_REPORTING','function','MfJoG','key','qOiPT','6stPnTr','apply','X-BSTACK-TESTOPS','stack','Started\x20::\x20','../performance/performance-tester','PNyLJ','cScwr','BS_TESTOPS_BUILD_HASHED_ID','./utils','util','accessKey','password','initialize','3EoQdCG','FZUHF','application/json','user','toString','captureError','[Crash_Report_Upload]\x20Success\x20response:\x20','o11yErrorHandler','rKkRC','Content-Type','length','SEwXu','[Crash_Report_Upload]\x20Failed\x20due\x20to\x20','prototype','o11yClassErrorHandler','MDPqP','zlLgz','Error\x20in\x20executing\x20','3037522jAoPkj','38998224glkQyh','pid','SYIya','lsrdK','../helper','Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20','exports','EDCum','filterPII','ZZWBY','8582238MpLvlv','719784lrRxPf','VZihP','11895792qEBeDz','inspect','/api/v1/analytics','1359190yYyBPK','frameworkDetails','MEZAG','headers',',\x20Argument\x20-\x20','setConfigDetails','.\x20Args\x20-\x20','username','KawGR'];a84_0x2726=function(){return _0x57f0a1;};return a84_0x2726();}function a84_0x1961(_0x11d876,_0x1d4845){const _0x272615=a84_0x2726();return a84_0x1961=function(_0x1961f0,_0x38ac1f){_0x1961f0=_0x1961f0-0x123;let _0x2e5063=_0x272615[_0x1961f0];return _0x2e5063;},a84_0x1961(_0x11d876,_0x1d4845);}const a84_0x51a09e=a84_0x1961;(function(_0xbefb6e,_0x46e38a){const _0x44a624=a84_0x1961,_0x48d9fa=_0xbefb6e();while(!![]){try{const _0xb0c250=-parseInt(_0x44a624(0x166))/0x1+-parseInt(_0x44a624(0x13d))/0x2+parseInt(_0x44a624(0x12b))/0x3*(-parseInt(_0x44a624(0x149))/0x4)+parseInt(_0x44a624(0x14e))/0x5*(-parseInt(_0x44a624(0x196))/0x6)+parseInt(_0x44a624(0x148))/0x7+-parseInt(_0x44a624(0x14b))/0x8+parseInt(_0x44a624(0x13e))/0x9;if(_0xb0c250===_0x46e38a)break;else _0x48d9fa['push'](_0x48d9fa['shift']());}catch(_0x159fdf){_0x48d9fa['push'](_0x48d9fa['shift']());}}}(a84_0x2726,0xcb0ea));const util=require(a84_0x51a09e(0x127)),PerformanceTester=require(a84_0x51a09e(0x19b)),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require(a84_0x51a09e(0x126)),{getAgentVersion,nestedKeyValue}=require(a84_0x51a09e(0x142)),o11yErrorHandler=(_0x24d49d,_0x1ee0be='',_0x27cdc9=[''],_0x4b02c5=![])=>{const _0x31dd63={'esNpa':function(_0x143f66,_0x372c3b){return _0x143f66(_0x372c3b);},'MDPqP':function(_0xb250fc,_0x52af14,_0x3ca7ce){return _0xb250fc(_0x52af14,_0x3ca7ce);},'fvmzm':function(_0x38a5ce,_0x17aa5e){return _0x38a5ce(_0x17aa5e);},'kyxeg':function(_0x7b37ee,_0x335461,_0x2171be){return _0x7b37ee(_0x335461,_0x2171be);},'GnYul':function(_0x40d2a5,_0x10e34d){return _0x40d2a5 instanceof _0x10e34d;},'rKkRC':function(_0x43d89d,_0x19d11d,_0x49bf90,_0x3a393f,_0x4702cc){return _0x43d89d(_0x19d11d,_0x49bf90,_0x3a393f,_0x4702cc);}};return function(..._0xed8556){const _0x17b51d=a84_0x1961;try{let _0x431e6c=_0x24d49d;process[_0x17b51d(0x185)][_0x17b51d(0x167)]&&(_0x431e6c=PerformanceTester[_0x17b51d(0x183)]()[_0x17b51d(0x18c)](_0x431e6c));_0x4b02c5&&_0x31dd63[_0x17b51d(0x16e)](trace,_0x17b51d(0x19a)+_0x1ee0be+_0x17b51d(0x165)+process[_0x17b51d(0x13f)]+_0x17b51d(0x152)+_0x31dd63[_0x17b51d(0x13a)](nestedKeyValue,arguments[0x0],_0x27cdc9));const _0xd90cfd=_0x431e6c[_0x17b51d(0x197)](null,arguments);_0x4b02c5&&_0x31dd63['fvmzm'](trace,_0x17b51d(0x16c)+_0x1ee0be+_0x17b51d(0x165)+process[_0x17b51d(0x13f)]+',\x20Argument\x20-\x20'+_0x31dd63['kyxeg'](nestedKeyValue,arguments[0x0],_0x27cdc9));if(_0x31dd63[_0x17b51d(0x16b)](_0xd90cfd,Promise))return _0xd90cfd[_0x17b51d(0x184)](_0x5757aa=>processError(_0x5757aa,_0x24d49d,_0xed8556,_0x1ee0be));return _0xd90cfd;}catch(_0x2bc389){_0x31dd63[_0x17b51d(0x133)](processError,_0x2bc389,_0x24d49d,_0xed8556,_0x1ee0be);}};},o11yClassErrorHandler=(_0x46d135,_0x5e5c13,_0x305d02='')=>{const _0x343b2d=a84_0x51a09e,_0x1d270a={'qOiPT':function(_0x1a7edf,_0x4b6506){return _0x1a7edf instanceof _0x4b6506;},'MfJoG':function(_0x30a186,_0xa98595,_0x46418f,_0x24937b,_0x3be7ce){return _0x30a186(_0xa98595,_0x46418f,_0x24937b,_0x3be7ce);},'VIxls':function(_0x1812c2,_0x8ec3c6){return _0x1812c2===_0x8ec3c6;},'GsWcs':_0x343b2d(0x192),'nbEHs':function(_0x2f8dd1,_0x169a59){return _0x2f8dd1!==_0x169a59;},'GNUkR':_0x343b2d(0x16a),'ZZWBY':function(_0x1951a7,_0x16fa77){return _0x1951a7<_0x16fa77;}},_0x1dd9cc=_0x46d135[_0x343b2d(0x138)];if(_0x1d270a[_0x343b2d(0x147)](Object[_0x343b2d(0x173)](_0x1dd9cc)[_0x343b2d(0x135)],0x2))return _0x46d135;return Object[_0x343b2d(0x173)](_0x1dd9cc)['forEach'](_0x2583b3=>{const _0x39bc24=_0x343b2d,_0x2b1d5c={'FZUHF':function(_0x3251a0,_0x307594){const _0x3dde9e=a84_0x1961;return _0x1d270a[_0x3dde9e(0x195)](_0x3251a0,_0x307594);},'HiFrO':function(_0x1e7187,_0x23d8d9,_0x9361de,_0x463253,_0x5edfde){const _0x4f50e1=a84_0x1961;return _0x1d270a[_0x4f50e1(0x193)](_0x1e7187,_0x23d8d9,_0x9361de,_0x463253,_0x5edfde);}};if(!(_0x5e5c13&&_0x5e5c13['includes'](_0x2583b3)))return;const _0x4ce131=_0x1dd9cc[_0x2583b3];_0x1d270a[_0x39bc24(0x180)](typeof _0x4ce131,_0x1d270a[_0x39bc24(0x171)])&&_0x1d270a[_0x39bc24(0x172)](_0x2583b3,_0x1d270a['GNUkR'])&&Object[_0x39bc24(0x163)](_0x1dd9cc,_0x2583b3,{'writable':!![],'value':function(..._0x46c2bf){const _0x512dd9=_0x39bc24;try{const _0x29c6e5=(process[_0x512dd9(0x185)][_0x512dd9(0x167)]?PerformanceTester['getPerformance']()[_0x512dd9(0x18c)](_0x4ce131):_0x4ce131)['call'](this,..._0x46c2bf);if(_0x2b1d5c[_0x512dd9(0x12c)](_0x29c6e5,Promise))return _0x29c6e5[_0x512dd9(0x184)](_0x18ec48=>processError(_0x18ec48,_0x4ce131,_0x46c2bf,_0x305d02));return _0x29c6e5;}catch(_0x43727b){_0x2b1d5c[_0x512dd9(0x162)](processError,_0x43727b,_0x4ce131,_0x46c2bf,_0x305d02);}}});}),_0x46d135;};function processError(_0x4d6406,_0x12eeee,_0x168939,_0x134edb){const _0x3c752c=a84_0x51a09e,_0x4ecb56={'cScwr':function(_0x3b7563,_0x5c8b96){return _0x3b7563(_0x5c8b96);}};_0x4ecb56[_0x3c752c(0x124)](debug,_0x3c752c(0x13c)+_0x12eeee[_0x3c752c(0x176)]+_0x3c752c(0x186)+_0x134edb+_0x3c752c(0x175)+_0x4d6406+_0x3c752c(0x154)+_0x168939+'.'),PerformanceTester[_0x3c752c(0x130)](_0x4d6406);let _0x8c7b4e;try{_0x8c7b4e=JSON['stringify'](_0x168939);}catch(_0x22495a){const _0x2041ca={};_0x2041ca['depth']=0x2,_0x8c7b4e=util[_0x3c752c(0x14c)](_0x168939,_0x2041ca);}CrashReporter[_0x3c752c(0x17b)]('Error\x20in\x20executing\x20'+_0x12eeee[_0x3c752c(0x176)]+_0x3c752c(0x186)+_0x134edb+_0x3c752c(0x175)+_0x4d6406+_0x3c752c(0x154)+_0x8c7b4e+'.',_0x4d6406&&_0x4d6406[_0x3c752c(0x199)]);}class CrashReporter{static [a84_0x51a09e(0x18e)]={};static [a84_0x51a09e(0x15c)];static [a84_0x51a09e(0x14f)]={};static[a84_0x51a09e(0x12a)](_0x2ec1d9,_0x75b533,_0xb6ca15=null){const _0x4a5038=a84_0x51a09e,_0x57809d={'kDCUB':function(_0x15cfcb,_0x382ac9){return _0x15cfcb(_0x382ac9);},'IHOUd':function(_0x3a3e17,_0x4df9f5){return _0x3a3e17(_0x4df9f5);},'VZihP':function(_0x4e0be1,_0x2fd362){return _0x4e0be1(_0x2fd362);}},_0xa0b1ed=_0x2ec1d9[_0x4a5038(0x18d)],_0x26ad58=_0x2ec1d9[_0x4a5038(0x169)];!_0xb6ca15&&(_0xb6ca15=_0x57809d[_0x4a5038(0x160)](getBrowserStackConfig,_0xa0b1ed));!_0x26ad58&&_0x57809d[_0x4a5038(0x168)](getFrameworkVersion,_0xa0b1ed);const _0x52d2b4={};_0x52d2b4[_0x4a5038(0x18d)]=_0xa0b1ed,_0x52d2b4['frameworkVersion']=_0x26ad58,this[_0x4a5038(0x15a)](_0x52d2b4,_0x75b533,_0x57809d[_0x4a5038(0x14a)](getUserCredentials,_0xb6ca15));}static[a84_0x51a09e(0x17e)](_0x5714bd,_0x28c506){const _0x1c7e20=a84_0x51a09e,_0x215fa1={};_0x215fa1[_0x1c7e20(0x155)]=_0x5714bd,_0x215fa1[_0x1c7e20(0x128)]=_0x28c506,this[_0x1c7e20(0x15c)]=_0x215fa1,process[_0x1c7e20(0x185)][_0x1c7e20(0x178)]=JSON['stringify'](this[_0x1c7e20(0x15c)]);}static[a84_0x51a09e(0x16f)](){const _0x1d2912=a84_0x51a09e,_0x3aee74={'UqGeV':function(_0x1cf8e5,_0x115b4f){return _0x1cf8e5(_0x115b4f);}};if(!this[_0x1d2912(0x15c)]&&process[_0x1d2912(0x185)]['CREDENTIALS_FOR_CRASH_REPORTING'])try{this[_0x1d2912(0x15c)]=JSON['parse'](process[_0x1d2912(0x185)][_0x1d2912(0x178)]);}catch(_0x2ec768){_0x3aee74[_0x1d2912(0x164)](debug,_0x1d2912(0x182)+_0x2ec768[_0x1d2912(0x12f)]());}return this[_0x1d2912(0x15c)];}static['setConfigDetails'](_0x3aa90e){const _0x53dabb=a84_0x51a09e;this['userConfig']=this[_0x53dabb(0x146)](_0x3aa90e),process[_0x53dabb(0x185)][_0x53dabb(0x191)]=JSON[_0x53dabb(0x15f)](this[_0x53dabb(0x18e)]);}static[a84_0x51a09e(0x17a)](){const _0xdad6ef=a84_0x51a09e,_0x3488e0={'NnFma':function(_0x1a5445,_0x2f7eab){return _0x1a5445===_0x2f7eab;},'SEwXu':function(_0x1f1279,_0x52c48a){return _0x1f1279(_0x52c48a);}};if(_0x3488e0['NnFma'](Object[_0xdad6ef(0x158)](this[_0xdad6ef(0x18e)])[_0xdad6ef(0x135)],0x0)&&process[_0xdad6ef(0x185)][_0xdad6ef(0x191)])try{this['userConfig']=JSON[_0xdad6ef(0x181)](process[_0xdad6ef(0x185)][_0xdad6ef(0x191)]);}catch(_0x5b7204){_0x3488e0[_0xdad6ef(0x136)](debug,_0xdad6ef(0x143)+_0x5b7204[_0xdad6ef(0x12f)]()),this[_0xdad6ef(0x18e)]={};}return this['userConfig'];}static[a84_0x51a09e(0x17d)](_0x3c39cf){const _0x5206ac=a84_0x51a09e;this[_0x5206ac(0x14f)]=_0x3c39cf,process['env'][_0x5206ac(0x161)]=JSON['stringify'](this[_0x5206ac(0x14f)]);}static['getFramework'](){const _0x30f8b8=a84_0x51a09e,_0x5356fb={'MEZAG':function(_0x5d7bab,_0x5bb401){return _0x5d7bab===_0x5bb401;},'lOEGK':function(_0x544586,_0x52da91){return _0x544586(_0x52da91);}};if(_0x5356fb[_0x30f8b8(0x150)](Object['keys'](this[_0x30f8b8(0x14f)])[_0x30f8b8(0x135)],0x0)&&process[_0x30f8b8(0x185)]['BROWSERSTACK_O11Y_FRAMEWORK_DETAILS'])try{this[_0x30f8b8(0x14f)]=JSON[_0x30f8b8(0x181)](process[_0x30f8b8(0x185)]['BROWSERSTACK_O11Y_FRAMEWORK_DETAILS']);}catch(_0x51dbe8){_0x5356fb[_0x30f8b8(0x18a)](debug,_0x30f8b8(0x182)+_0x51dbe8[_0x30f8b8(0x12f)]());}return this[_0x30f8b8(0x14f)];}static[a84_0x51a09e(0x15a)](_0x1f5c41,_0x343ece,_0x325ede){const _0x4d4487=a84_0x51a09e;_0x1f5c41&&this[_0x4d4487(0x17d)](_0x1f5c41),_0x343ece&&this[_0x4d4487(0x153)](_0x343ece),_0x325ede&&this[_0x4d4487(0x17e)](_0x325ede[_0x4d4487(0x155)],_0x325ede[_0x4d4487(0x128)]);}static async[a84_0x51a09e(0x17b)](_0x13ab56,_0x20a61d){const _0x32b08f=a84_0x51a09e,_0x4d6e7a={'QeJgv':function(_0x1de3cc,_0x1b9d72){return _0x1de3cc(_0x1b9d72);},'byRyM':function(_0x1ece16,_0x459dfe){return _0x1ece16(_0x459dfe);},'MzNkk':function(_0x48c282,_0x1987ca){return _0x48c282(_0x1987ca);},'Hjyxj':_0x32b08f(0x15b),'PNyLJ':function(_0x3619f2){return _0x3619f2();},'KvdqS':_0x32b08f(0x14d),'TkPfl':_0x32b08f(0x12d),'KawGR':_0x32b08f(0x190),'YnpoM':function(_0x49d40f,_0x1f92f5,_0xdfcd67,_0x19cbfc,_0x4638dc,_0x92178b){return _0x49d40f(_0x1f92f5,_0xdfcd67,_0x19cbfc,_0x4638dc,_0x92178b);},'GgQex':_0x32b08f(0x157)};this[_0x32b08f(0x16f)]();if(!this[_0x32b08f(0x15c)])return _0x4d6e7a[_0x32b08f(0x187)](debug,_0x4d6e7a[_0x32b08f(0x159)]);this[_0x32b08f(0x17a)](),this[_0x32b08f(0x18f)]();const _0x55edeb={'hashed_id':process[_0x32b08f(0x185)][_0x32b08f(0x125)],'observability_version':{'sdkVersion':_0x4d6e7a[_0x32b08f(0x123)](getAgentVersion),'frameworkName':this['frameworkDetails'][_0x32b08f(0x18d)],'frameworkVersion':this[_0x32b08f(0x14f)]['frameworkVersion']},'exception':{'error':_0x13ab56[_0x32b08f(0x12f)](),'stackTrace':_0x20a61d},'config':this[_0x32b08f(0x18e)]},_0x56c2c7=_0x4d6e7a[_0x32b08f(0x16d)],_0x481de7={};_0x481de7[_0x32b08f(0x155)]=this['credentials'][_0x32b08f(0x155)],_0x481de7[_0x32b08f(0x129)]=this['credentials']['accessKey'];const _0x296477={};_0x296477[_0x32b08f(0x134)]=_0x4d6e7a[_0x32b08f(0x15d)],_0x296477[_0x32b08f(0x198)]=_0x4d6e7a[_0x32b08f(0x156)];const _0x21c1f4={};_0x21c1f4['auth']=_0x481de7,_0x21c1f4[_0x32b08f(0x151)]=_0x296477;const _0x58c8ff=_0x21c1f4;_0x4d6e7a[_0x32b08f(0x189)](nodeRequest,_0x4d6e7a['GgQex'],_0x56c2c7,_0x55edeb,_0x58c8ff,![])['then'](_0x20bbc2=>{const _0x3ffdda=_0x32b08f;_0x4d6e7a[_0x3ffdda(0x18b)](debug,_0x3ffdda(0x131)+JSON[_0x3ffdda(0x15f)](_0x20bbc2));})['catch'](_0x4a53c1=>{const _0x564c8c=_0x32b08f;_0x4d6e7a[_0x564c8c(0x188)](debug,_0x564c8c(0x137)+util[_0x564c8c(0x170)](_0x4a53c1));});}static[a84_0x51a09e(0x179)](_0x35deb4){const _0x480cb5=a84_0x51a09e,_0x2a4f0f={};_0x2a4f0f[_0x480cb5(0x145)]=_0x480cb5(0x12e),_0x2a4f0f[_0x480cb5(0x174)]=_0x480cb5(0x155),_0x2a4f0f[_0x480cb5(0x17c)]=_0x480cb5(0x194),_0x2a4f0f[_0x480cb5(0x140)]=_0x480cb5(0x128),_0x2a4f0f[_0x480cb5(0x13b)]=_0x480cb5(0x129),_0x2a4f0f[_0x480cb5(0x17f)]=function(_0xea9499,_0x167996){return _0xea9499===_0x167996;},_0x2a4f0f[_0x480cb5(0x141)]=_0x480cb5(0x177);const _0x42ed60=_0x2a4f0f;if(!_0x35deb4)return;const _0x1179d5=[_0x42ed60['EDCum'],_0x42ed60[_0x480cb5(0x174)],_0x42ed60['nNfLr'],_0x42ed60['SYIya'],_0x42ed60[_0x480cb5(0x13b)]];for(const _0x3852e9 in _0x35deb4){if(_0x1179d5['includes'](_0x3852e9['toLowerCase']()))delete _0x35deb4[_0x3852e9];else _0x42ed60[_0x480cb5(0x17f)](typeof _0x35deb4[_0x3852e9],_0x42ed60['lsrdK'])&&this['recursivelyDeletePIIKeysFromObject'](_0x35deb4[_0x3852e9]);}}static[a84_0x51a09e(0x146)](_0x2de621){const _0x13c3ac=a84_0x51a09e,_0x202279=JSON[_0x13c3ac(0x181)](JSON[_0x13c3ac(0x15f)](_0x2de621));return this[_0x13c3ac(0x179)](_0x202279),_0x202279;}}const a84_0x17630f={};a84_0x17630f[a84_0x51a09e(0x132)]=o11yErrorHandler,a84_0x17630f[a84_0x51a09e(0x139)]=o11yClassErrorHandler,a84_0x17630f[a84_0x51a09e(0x15e)]=CrashReporter,module[a84_0x51a09e(0x144)]=a84_0x17630f;
1
+ const a84_0x458a11=a84_0x26a7;(function(_0x2a97f8,_0x3d54ad){const _0x16f409=a84_0x26a7,_0x111507=_0x2a97f8();while(!![]){try{const _0x4fcf36=-parseInt(_0x16f409(0x127))/0x1*(parseInt(_0x16f409(0x123))/0x2)+-parseInt(_0x16f409(0xda))/0x3+-parseInt(_0x16f409(0x11c))/0x4*(parseInt(_0x16f409(0xfc))/0x5)+parseInt(_0x16f409(0xcb))/0x6+-parseInt(_0x16f409(0xff))/0x7*(-parseInt(_0x16f409(0xef))/0x8)+parseInt(_0x16f409(0xed))/0x9*(parseInt(_0x16f409(0x107))/0xa)+-parseInt(_0x16f409(0x11e))/0xb;if(_0x4fcf36===_0x3d54ad)break;else _0x111507['push'](_0x111507['shift']());}catch(_0x5ca123){_0x111507['push'](_0x111507['shift']());}}}(a84_0x471f,0xb7407));const util=require('util'),PerformanceTester=require('../performance/performance-tester'),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require(a84_0x458a11(0xfb)),{getAgentVersion,nestedKeyValue}=require(a84_0x458a11(0x113)),o11yErrorHandler=(_0x5afa9c,_0x3f3f0f='',_0x1adac9=[''],_0x52a0ee=![])=>{const _0x39c094={'Mcefb':function(_0x550570,_0x33ff6a){return _0x550570(_0x33ff6a);},'khScy':function(_0x1a0b99,_0x165e44,_0x4d1ce5){return _0x1a0b99(_0x165e44,_0x4d1ce5);},'CQBdj':function(_0x5bdda4,_0x1a4829,_0xf6ea71){return _0x5bdda4(_0x1a4829,_0xf6ea71);},'ZELpB':function(_0x3052bb,_0x24d03b){return _0x3052bb instanceof _0x24d03b;},'pzKXe':function(_0x17ad4f,_0x1d812c,_0x4be709,_0x448ac1,_0x4224d9){return _0x17ad4f(_0x1d812c,_0x4be709,_0x448ac1,_0x4224d9);}};return function(..._0x3e8984){const _0x3457bf=a84_0x26a7;try{let _0x289787=_0x5afa9c;process['env'][_0x3457bf(0x110)]&&(_0x289787=PerformanceTester[_0x3457bf(0xf7)]()[_0x3457bf(0xd2)](_0x289787));_0x52a0ee&&_0x39c094[_0x3457bf(0x128)](trace,_0x3457bf(0xd5)+_0x3f3f0f+_0x3457bf(0xe4)+process[_0x3457bf(0xca)]+_0x3457bf(0x10e)+_0x39c094[_0x3457bf(0xe9)](nestedKeyValue,arguments[0x0],_0x1adac9));const _0x1d5112=_0x289787[_0x3457bf(0xdc)](null,arguments);_0x52a0ee&&_0x39c094['Mcefb'](trace,_0x3457bf(0x10c)+_0x3f3f0f+',\x20PID\x20-\x20'+process[_0x3457bf(0xca)]+_0x3457bf(0x10e)+_0x39c094['CQBdj'](nestedKeyValue,arguments[0x0],_0x1adac9));if(_0x39c094['ZELpB'](_0x1d5112,Promise))return _0x1d5112[_0x3457bf(0xe3)](_0x35b146=>processError(_0x35b146,_0x5afa9c,_0x3e8984,_0x3f3f0f));return _0x1d5112;}catch(_0x57848f){_0x39c094['pzKXe'](processError,_0x57848f,_0x5afa9c,_0x3e8984,_0x3f3f0f);}};},o11yClassErrorHandler=(_0x22c2c2,_0x13444e,_0x457350='')=>{const _0x47314c=a84_0x458a11,_0x4519d2={'Wqzlk':function(_0x2e3fb0,_0x493d31){return _0x2e3fb0 instanceof _0x493d31;},'obIim':function(_0x483c6e,_0x3df1a9,_0x385af7,_0x24bc1a,_0x33a053){return _0x483c6e(_0x3df1a9,_0x385af7,_0x24bc1a,_0x33a053);},'gWxrr':function(_0x18e575,_0x305478){return _0x18e575===_0x305478;},'LDRwc':_0x47314c(0xd9),'mhQCw':function(_0x4fc83b,_0x3addd4){return _0x4fc83b!==_0x3addd4;},'oSzaA':'constructor','EDBOV':function(_0x3080a8,_0x513f66){return _0x3080a8<_0x513f66;}},_0x3bd42e=_0x22c2c2[_0x47314c(0xe6)];if(_0x4519d2[_0x47314c(0xd8)](Object[_0x47314c(0xc5)](_0x3bd42e)['length'],0x2))return _0x22c2c2;return Object['getOwnPropertyNames'](_0x3bd42e)[_0x47314c(0x12f)](_0x224ec0=>{const _0x3b3105=_0x47314c;if(!(_0x13444e&&_0x13444e[_0x3b3105(0xdd)](_0x224ec0)))return;const _0x13767f=_0x3bd42e[_0x224ec0];_0x4519d2['gWxrr'](typeof _0x13767f,_0x4519d2['LDRwc'])&&_0x4519d2[_0x3b3105(0x129)](_0x224ec0,_0x4519d2[_0x3b3105(0xe1)])&&Object[_0x3b3105(0xc6)](_0x3bd42e,_0x224ec0,{'writable':!![],'value':function(..._0x5435f3){const _0x137b58=_0x3b3105;try{const _0x25278c=(process['env'][_0x137b58(0x110)]?PerformanceTester[_0x137b58(0xf7)]()[_0x137b58(0xd2)](_0x13767f):_0x13767f)[_0x137b58(0x112)](this,..._0x5435f3);if(_0x4519d2[_0x137b58(0xfd)](_0x25278c,Promise))return _0x25278c[_0x137b58(0xe3)](_0x5ff2ba=>processError(_0x5ff2ba,_0x13767f,_0x5435f3,_0x457350));return _0x25278c;}catch(_0x499338){_0x4519d2[_0x137b58(0xfa)](processError,_0x499338,_0x13767f,_0x5435f3,_0x457350);}}});}),_0x22c2c2;};function processError(_0xdb2a5c,_0x3d5dad,_0x175b8a,_0x5e4c1c){const _0x433d49=a84_0x458a11,_0x5e46d7={'UHioB':function(_0x59f77b,_0x4bb7f4){return _0x59f77b(_0x4bb7f4);}};_0x5e46d7[_0x433d49(0xfe)](debug,'Error\x20in\x20executing\x20'+_0x3d5dad[_0x433d49(0x105)]+'\x20--\x20'+_0x5e4c1c+_0x433d49(0x12a)+_0xdb2a5c+_0x433d49(0x11f)+_0x175b8a+'.'),PerformanceTester['captureError'](_0xdb2a5c);let _0x40d898;try{_0x40d898=JSON[_0x433d49(0xd7)](_0x175b8a);}catch(_0x2fd4c9){const _0x32eef0={};_0x32eef0[_0x433d49(0x103)]=0x2,_0x40d898=util[_0x433d49(0xec)](_0x175b8a,_0x32eef0);}CrashReporter[_0x433d49(0x101)]('Error\x20in\x20executing\x20'+_0x3d5dad[_0x433d49(0x105)]+_0x433d49(0xf8)+_0x5e4c1c+_0x433d49(0x12a)+_0xdb2a5c+_0x433d49(0x11f)+_0x40d898+'.',_0xdb2a5c&&_0xdb2a5c['stack']);}class CrashReporter{static ['userConfig']={};static [a84_0x458a11(0xd0)];static [a84_0x458a11(0x100)]={};static[a84_0x458a11(0xcc)](_0x54ed84,_0x4f0f16,_0x1ac89b=null){const _0x36ea50=a84_0x458a11,_0x56a670={'DJBhS':function(_0x3fb533,_0x34ae35){return _0x3fb533(_0x34ae35);},'MjUvU':function(_0x4a8bc9,_0x364b44){return _0x4a8bc9(_0x364b44);}},_0x104c55=_0x54ed84[_0x36ea50(0x10a)],_0x530f8c=_0x54ed84[_0x36ea50(0xd4)];!_0x1ac89b&&(_0x1ac89b=_0x56a670[_0x36ea50(0x116)](getBrowserStackConfig,_0x104c55));!_0x530f8c&&_0x56a670[_0x36ea50(0x116)](getFrameworkVersion,_0x104c55);const _0x264a69={};_0x264a69[_0x36ea50(0x10a)]=_0x104c55,_0x264a69[_0x36ea50(0xd4)]=_0x530f8c,this['setAllDetails'](_0x264a69,_0x4f0f16,_0x56a670[_0x36ea50(0x117)](getUserCredentials,_0x1ac89b));}static[a84_0x458a11(0xdf)](_0x5b5801,_0x22e6b7){const _0x40c8f4=a84_0x458a11,_0x1c51a2={};_0x1c51a2[_0x40c8f4(0x11a)]=_0x5b5801,_0x1c51a2[_0x40c8f4(0x111)]=_0x22e6b7,this[_0x40c8f4(0xd0)]=_0x1c51a2,process[_0x40c8f4(0xdb)]['CREDENTIALS_FOR_CRASH_REPORTING']=JSON[_0x40c8f4(0xd7)](this[_0x40c8f4(0xd0)]);}static['getCredentials'](){const _0x3275a3=a84_0x458a11,_0x35d6f2={'mcWVy':function(_0x268f85,_0x5126c4){return _0x268f85(_0x5126c4);}};if(!this[_0x3275a3(0xd0)]&&process[_0x3275a3(0xdb)][_0x3275a3(0x130)])try{this[_0x3275a3(0xd0)]=JSON['parse'](process['env'][_0x3275a3(0x130)]);}catch(_0xfd4928){_0x35d6f2[_0x3275a3(0x122)](debug,'Error\x20in\x20parsing\x20credentials\x20from\x20env\x20'+_0xfd4928[_0x3275a3(0xc9)]());}return this[_0x3275a3(0xd0)];}static[a84_0x458a11(0xf2)](_0x228f85){const _0x495854=a84_0x458a11;this[_0x495854(0x12d)]=this[_0x495854(0xe7)](_0x228f85),process[_0x495854(0xdb)]['USER_CONFIG_FOR_REPORTING']=JSON[_0x495854(0xd7)](this[_0x495854(0x12d)]);}static[a84_0x458a11(0xce)](){const _0x4eb601=a84_0x458a11,_0x11bca1={'yCdCA':function(_0x15b9e3,_0x9d1efe){return _0x15b9e3===_0x9d1efe;},'aOKIX':function(_0x335394,_0x147e7d){return _0x335394(_0x147e7d);}};if(_0x11bca1[_0x4eb601(0xf6)](Object[_0x4eb601(0x115)](this[_0x4eb601(0x12d)])[_0x4eb601(0x106)],0x0)&&process[_0x4eb601(0xdb)]['USER_CONFIG_FOR_REPORTING'])try{this[_0x4eb601(0x12d)]=JSON[_0x4eb601(0xf9)](process[_0x4eb601(0xdb)][_0x4eb601(0xde)]);}catch(_0x4f7915){_0x11bca1[_0x4eb601(0xea)](debug,_0x4eb601(0xe8)+_0x4f7915[_0x4eb601(0xc9)]()),this[_0x4eb601(0x12d)]={};}return this['userConfig'];}static[a84_0x458a11(0x12c)](_0x4b1e97){const _0x244b73=a84_0x458a11;this[_0x244b73(0x100)]=_0x4b1e97,process[_0x244b73(0xdb)]['BROWSERSTACK_O11Y_FRAMEWORK_DETAILS']=JSON[_0x244b73(0xd7)](this[_0x244b73(0x100)]);}static[a84_0x458a11(0xd3)](){const _0x10d428=a84_0x458a11,_0x277701={'EasBf':function(_0x26f8a2,_0x12061a){return _0x26f8a2===_0x12061a;},'zXYWR':function(_0x43d0f3,_0x7bc3f5){return _0x43d0f3(_0x7bc3f5);}};if(_0x277701[_0x10d428(0xc8)](Object[_0x10d428(0x115)](this[_0x10d428(0x100)])[_0x10d428(0x106)],0x0)&&process[_0x10d428(0xdb)][_0x10d428(0xf0)])try{this[_0x10d428(0x100)]=JSON[_0x10d428(0xf9)](process[_0x10d428(0xdb)][_0x10d428(0xf0)]);}catch(_0x4a6040){_0x277701['zXYWR'](debug,_0x10d428(0x119)+_0x4a6040[_0x10d428(0xc9)]());}return this[_0x10d428(0x100)];}static[a84_0x458a11(0x108)](_0xc1ca02,_0x202401,_0x2a906f){const _0x3f84d2=a84_0x458a11;_0xc1ca02&&this[_0x3f84d2(0x12c)](_0xc1ca02),_0x202401&&this['setConfigDetails'](_0x202401),_0x2a906f&&this[_0x3f84d2(0xdf)](_0x2a906f['username'],_0x2a906f[_0x3f84d2(0x111)]);}static async[a84_0x458a11(0x101)](_0x26717a,_0x5ee3a5){const _0xfa9f6b=a84_0x458a11,_0x518141={'nArfE':function(_0x2be22a,_0x4e97c6){return _0x2be22a(_0x4e97c6);},'tZETD':function(_0x76233a,_0x51b1e4){return _0x76233a(_0x51b1e4);},'ajhVH':function(_0x4fa306,_0x2b64cd){return _0x4fa306(_0x2b64cd);},'BFzfi':_0xfa9f6b(0x12b),'WNLEy':function(_0x33fa00){return _0x33fa00();},'ZwmUP':_0xfa9f6b(0x109),'ZhGQK':_0xfa9f6b(0x124),'QuaQB':_0xfa9f6b(0x114),'fDuzx':function(_0xe31fb5,_0x39028a,_0x323b3c,_0x20fc05,_0x33db1a,_0x136fb6){return _0xe31fb5(_0x39028a,_0x323b3c,_0x20fc05,_0x33db1a,_0x136fb6);},'uHyLb':_0xfa9f6b(0xe2)};this[_0xfa9f6b(0x11d)]();if(!this['credentials'])return _0x518141['ajhVH'](debug,_0x518141['BFzfi']);this[_0xfa9f6b(0xce)](),this[_0xfa9f6b(0xd3)]();const _0x2f08c5={'hashed_id':process[_0xfa9f6b(0xdb)][_0xfa9f6b(0xe0)],'observability_version':{'sdkVersion':_0x518141[_0xfa9f6b(0xf4)](getAgentVersion),'frameworkName':this['frameworkDetails'][_0xfa9f6b(0x10a)],'frameworkVersion':this[_0xfa9f6b(0x100)]['frameworkVersion']},'exception':{'error':_0x26717a[_0xfa9f6b(0xc9)](),'stackTrace':_0x5ee3a5},'config':this[_0xfa9f6b(0x12d)]},_0x14ec63=_0x518141['ZwmUP'],_0x54ab69={};_0x54ab69[_0xfa9f6b(0x11a)]=this[_0xfa9f6b(0xd0)]['username'],_0x54ab69[_0xfa9f6b(0x10d)]=this[_0xfa9f6b(0xd0)][_0xfa9f6b(0x111)];const _0x549862={};_0x549862['Content-Type']=_0x518141['ZhGQK'],_0x549862[_0xfa9f6b(0xcd)]=_0x518141[_0xfa9f6b(0xee)];const _0x44bdb3={};_0x44bdb3[_0xfa9f6b(0x121)]=_0x54ab69,_0x44bdb3['headers']=_0x549862;const _0x4901fe=_0x44bdb3;_0x518141[_0xfa9f6b(0xf5)](nodeRequest,_0x518141['uHyLb'],_0x14ec63,_0x2f08c5,_0x4901fe,![])[_0xfa9f6b(0x12e)](_0x159dba=>{const _0x26a33c=_0xfa9f6b;_0x518141['nArfE'](debug,_0x26a33c(0x102)+JSON[_0x26a33c(0xd7)](_0x159dba));})[_0xfa9f6b(0xe3)](_0x36367a=>{const _0x2fda4c=_0xfa9f6b;_0x518141[_0x2fda4c(0x125)](debug,_0x2fda4c(0xf1)+util[_0x2fda4c(0xeb)](_0x36367a));});}static['recursivelyDeletePIIKeysFromObject'](_0x5385cc){const _0x5f4f2a=a84_0x458a11,_0x4700e3={};_0x4700e3['hCNad']='user',_0x4700e3[_0x5f4f2a(0xcf)]=_0x5f4f2a(0x11a),_0x4700e3[_0x5f4f2a(0x118)]=_0x5f4f2a(0x11b),_0x4700e3[_0x5f4f2a(0x10f)]=_0x5f4f2a(0x111),_0x4700e3[_0x5f4f2a(0x10b)]=_0x5f4f2a(0x10d),_0x4700e3['dbBIG']=function(_0x246bfd,_0x55aa7c){return _0x246bfd===_0x55aa7c;},_0x4700e3[_0x5f4f2a(0xc7)]=_0x5f4f2a(0xd6);const _0x1e70a5=_0x4700e3;if(!_0x5385cc)return;const _0x46ac0c=[_0x1e70a5['hCNad'],_0x1e70a5[_0x5f4f2a(0xcf)],_0x1e70a5[_0x5f4f2a(0x118)],_0x1e70a5['hbZtg'],_0x1e70a5[_0x5f4f2a(0x10b)]];for(const _0x73d1e7 in _0x5385cc){if(_0x46ac0c[_0x5f4f2a(0xdd)](_0x73d1e7['toLowerCase']()))delete _0x5385cc[_0x73d1e7];else _0x1e70a5[_0x5f4f2a(0x120)](typeof _0x5385cc[_0x73d1e7],_0x1e70a5[_0x5f4f2a(0xc7)])&&this['recursivelyDeletePIIKeysFromObject'](_0x5385cc[_0x73d1e7]);}}static[a84_0x458a11(0xe7)](_0x30a6bb){const _0x491c1b=a84_0x458a11,_0x29d01e=JSON[_0x491c1b(0xf9)](JSON[_0x491c1b(0xd7)](_0x30a6bb));return this[_0x491c1b(0x104)](_0x29d01e),_0x29d01e;}}function a84_0x471f(){const _0x2ffe33=['yCdCA','getPerformance','\x20--\x20','parse','obIim','./utils','6305rgRWcu','Wqzlk','UHioB','7UDvjED','frameworkDetails','uploadCrashReport','[Crash_Report_Upload]\x20Success\x20response:\x20','depth','recursivelyDeletePIIKeysFromObject','name','length','13558730oQpNzK','setAllDetails','/api/v1/analytics','frameworkName','Zeaca','Finished\x20::\x20','password',',\x20Argument\x20-\x20','hbZtg','BROWSERSTACK_O11Y_PERF_MEASUREMENT','accessKey','call','../helper','true','keys','DJBhS','MjUvU','IyrdQ','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','username','key','472sezLnt','getCredentials','7361442GfgLap','.\x20Args\x20-\x20','dbBIG','auth','mcWVy','86838MsonYJ','application/json','tZETD','CrashReporter','11sXmTAh','Mcefb','mhQCw','.\x20Error\x20-\x20','[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','setFrameworkDetails','userConfig','then','forEach','CREDENTIALS_FOR_CRASH_REPORTING','getOwnPropertyNames','defineProperty','Myyyu','EasBf','toString','pid','8840004ZCURwo','initialize','X-BSTACK-TESTOPS','getConfig','uofgM','credentials','o11yClassErrorHandler','timerify','getFramework','frameworkVersion','Started\x20::\x20','object','stringify','EDBOV','function','3036639jzrHgw','env','apply','includes','USER_CONFIG_FOR_REPORTING','setCredentials','BS_TESTOPS_BUILD_HASHED_ID','oSzaA','POST','catch',',\x20PID\x20-\x20','exports','prototype','filterPII','Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20','khScy','aOKIX','format','inspect','9VcAZyK','QuaQB','1833872QeVrxS','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','[Crash_Report_Upload]\x20Failed\x20due\x20to\x20','setConfigDetails','o11yErrorHandler','WNLEy','fDuzx'];a84_0x471f=function(){return _0x2ffe33;};return a84_0x471f();}function a84_0x26a7(_0x1bb33d,_0x4301fd){const _0x471f6d=a84_0x471f();return a84_0x26a7=function(_0x26a7bb,_0x3c16f3){_0x26a7bb=_0x26a7bb-0xc5;let _0x465905=_0x471f6d[_0x26a7bb];return _0x465905;},a84_0x26a7(_0x1bb33d,_0x4301fd);}const a84_0x2656d3={};a84_0x2656d3[a84_0x458a11(0xf3)]=o11yErrorHandler,a84_0x2656d3[a84_0x458a11(0xd1)]=o11yClassErrorHandler,a84_0x2656d3[a84_0x458a11(0x126)]=CrashReporter,module[a84_0x458a11(0xe5)]=a84_0x2656d3;
@@ -1 +1 @@
1
- const a85_0x566d1f=a85_0x476c;(function(_0x2cc0e8,_0x5143fe){const _0x1fc5c2=a85_0x476c,_0x4a9042=_0x2cc0e8();while(!![]){try{const _0x4aa8fc=parseInt(_0x1fc5c2(0x105))/0x1+-parseInt(_0x1fc5c2(0x106))/0x2*(parseInt(_0x1fc5c2(0x107))/0x3)+-parseInt(_0x1fc5c2(0xc3))/0x4*(parseInt(_0x1fc5c2(0xf9))/0x5)+-parseInt(_0x1fc5c2(0x12c))/0x6+parseInt(_0x1fc5c2(0xd7))/0x7+-parseInt(_0x1fc5c2(0x12d))/0x8+parseInt(_0x1fc5c2(0xfd))/0x9;if(_0x4aa8fc===_0x5143fe)break;else _0x4a9042['push'](_0x4a9042['shift']());}catch(_0x236126){_0x4a9042['push'](_0x4a9042['shift']());}}}(a85_0x4386,0x3fc93));function a85_0x476c(_0x252da8,_0x20adcd){const _0x438635=a85_0x4386();return a85_0x476c=function(_0x476cfc,_0x2dd03c){_0x476cfc=_0x476cfc-0xbf;let _0x56c953=_0x438635[_0x476cfc];return _0x56c953;},a85_0x476c(_0x252da8,_0x20adcd);}const {BATCH_SIZE,BATCH_INTERVAL,DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS}=require(a85_0x566d1f(0xd0)),{nodeRequest,debug,trace,sleep,getDefaultHeaders}=require('./utils'),{nestedKeyValue}=require(a85_0x566d1f(0x12e)),util=require('util');class RequestQueueHandler{static [a85_0x566d1f(0xdf)];[a85_0x566d1f(0xe3)]=0x0;constructor(){const _0x8dad06=a85_0x566d1f,_0x4d3bc5={};_0x4d3bc5[_0x8dad06(0x103)]='1|5|0|3|2|4',_0x4d3bc5[_0x8dad06(0xd2)]='api/v1/batch',_0x4d3bc5[_0x8dad06(0x109)]=_0x8dad06(0xd6),_0x4d3bc5['Qntaw']='CBTSessionCreated',_0x4d3bc5[_0x8dad06(0x127)]=_0x8dad06(0xc1),_0x4d3bc5[_0x8dad06(0xd8)]=_0x8dad06(0xcb),_0x4d3bc5[_0x8dad06(0x116)]='HookRunFinished',_0x4d3bc5['TAeCU']=_0x8dad06(0xc5),_0x4d3bc5['sHDDk']=_0x8dad06(0xc0),_0x4d3bc5['SBeag']=_0x8dad06(0x120);const _0x8a80af=_0x4d3bc5,_0x4efbf3=_0x8a80af['ErXpN'][_0x8dad06(0x10f)]('|');let _0x1e5e9d=0x0;while(!![]){switch(_0x4efbf3[_0x1e5e9d++]){case'0':this[_0x8dad06(0xeb)]=_0x8a80af[_0x8dad06(0xd2)];continue;case'1':this[_0x8dad06(0xc6)]=[];continue;case'2':this[_0x8dad06(0x11b)]=[_0x8a80af['fWulv'],_0x8a80af[_0x8dad06(0xcf)],_0x8a80af[_0x8dad06(0x127)],_0x8a80af['EQQFw'],_0x8a80af[_0x8dad06(0x116)],_0x8a80af[_0x8dad06(0xfe)],_0x8a80af[_0x8dad06(0x10d)]];continue;case'3':this[_0x8dad06(0x123)]=_0x8a80af[_0x8dad06(0xf1)];continue;case'4':this[_0x8dad06(0xe2)]=null;continue;case'5':this['started']=![];continue;}break;}}static[a85_0x566d1f(0xf0)](){const _0x324125=a85_0x566d1f;return!RequestQueueHandler[_0x324125(0xdf)]&&(RequestQueueHandler['instance']=new RequestQueueHandler()),RequestQueueHandler['instance'];}[a85_0x566d1f(0xf2)]=()=>{const _0x1bf603=a85_0x566d1f;!this[_0x1bf603(0xe9)]&&(this[_0x1bf603(0xe9)]=!![],this[_0x1bf603(0xd9)]());};[a85_0x566d1f(0x12b)]=_0x4d0c61=>{const _0x2412a6=a85_0x566d1f,_0x460d6f={'kEmTT':function(_0x30aa9f,_0x504389){return _0x30aa9f===_0x504389;},'RfQHs':_0x2412a6(0x11d),'TsqQu':function(_0x260b8f,_0x557cb2){return _0x260b8f(_0x557cb2);},'wtoOw':_0x2412a6(0x108)};if(this[_0x2412a6(0x11b)][_0x2412a6(0x124)](_0x4d0c61[_0x2412a6(0xc4)])){if(_0x4d0c61[_0x2412a6(0xe7)]&&_0x4d0c61[_0x2412a6(0xe7)][0x0]&&_0x460d6f[_0x2412a6(0xee)](_0x4d0c61[_0x2412a6(0xe7)][0x0][_0x2412a6(0xbf)],_0x460d6f[_0x2412a6(0xed)])){const _0x540323={};return _0x540323[_0x2412a6(0x125)]=!![],_0x540323[_0x2412a6(0xda)]=[_0x4d0c61],_0x540323[_0x2412a6(0x113)]=this[_0x2412a6(0x123)],_0x540323;}this['queue'][_0x2412a6(0x117)](_0x4d0c61);let _0x4c5253=null;const _0x421f93=this[_0x2412a6(0x125)]();_0x421f93&&(_0x460d6f[_0x2412a6(0x10e)](trace,_0x460d6f['wtoOw']),_0x4c5253=this['queue'][_0x2412a6(0xc8)](0x0,BATCH_SIZE),this[_0x2412a6(0xc6)]['splice'](0x0,BATCH_SIZE),this[_0x2412a6(0xe8)]());const _0x67932e={};return _0x67932e[_0x2412a6(0x125)]=_0x421f93,_0x67932e[_0x2412a6(0xda)]=_0x4c5253,_0x67932e[_0x2412a6(0x113)]=this['eventUrl'],_0x67932e;}const _0x56b243={};return _0x56b243[_0x2412a6(0x125)]=!![],_0x56b243;};[a85_0x566d1f(0xd3)]=async()=>{const _0x3d0e3c=a85_0x566d1f,_0x27e4ad={'UTitj':_0x3d0e3c(0xc7),'anJPe':function(_0x269dd8,_0x1365b3){return _0x269dd8>_0x1365b3;},'ktmvs':_0x3d0e3c(0x126),'OuhpQ':function(_0x259f3a,_0x388aec){return _0x259f3a>_0x388aec;},'sUOfO':function(_0x57f4c0,_0x29b7d6){return _0x57f4c0(_0x29b7d6);}};await this[_0x3d0e3c(0xf3)](),this['removeEventBatchPolling'](_0x27e4ad['UTitj']);while(_0x27e4ad[_0x3d0e3c(0xef)](this[_0x3d0e3c(0xc6)]['length'],0x0)){const _0x2ce0fa=this[_0x3d0e3c(0xc6)][_0x3d0e3c(0xc8)](0x0,BATCH_SIZE);this['queue'][_0x3d0e3c(0xe5)](0x0,BATCH_SIZE),await this[_0x3d0e3c(0x12f)](this[_0x3d0e3c(0xeb)],_0x27e4ad[_0x3d0e3c(0x111)],_0x2ce0fa);}_0x27e4ad[_0x3d0e3c(0xea)](this['pendingUploads'],0x0)&&_0x27e4ad[_0x3d0e3c(0xff)](debug,'Shutting\x20down\x20request\x20batcher\x20with\x20pending\x20uploads\x20still\x20in\x20queue.\x20Remaining\x20uploads\x20'+this[_0x3d0e3c(0xe3)]);};[a85_0x566d1f(0x12f)]=async(_0x7b5c31,_0x4f10fe,_0x297e98)=>{const _0x28372a=a85_0x566d1f,_0x55d368={'HSyta':function(_0x2533ea,_0x37f9db){return _0x2533ea(_0x37f9db);},'NwAgB':_0x28372a(0xdd),'rIUoM':function(_0xd66551){return _0xd66551();},'pKjNC':function(_0x14dd66,_0x55dbd5,_0x1c9046,_0x7e0799,_0x4ae35b){return _0x14dd66(_0x55dbd5,_0x1c9046,_0x7e0799,_0x4ae35b);},'HVvgK':'POST','dMnAy':function(_0xdee380,_0x55409f){return _0xdee380(_0x55409f);},'QwIcu':function(_0x286b39,_0x410a56){return _0x286b39-_0x410a56;},'WXNky':function(_0x302229,_0x500ead){return _0x302229(_0x500ead);},'YQKUI':function(_0x5c04f5,_0x49f245){return _0x5c04f5(_0x49f245);}};let _0x7cfa88='';try{_0x7cfa88=_0x297e98['map'](_0x48e269=>'\x27'+_0x48e269[_0x28372a(0xc4)]+'\x27:'+(nestedKeyValue(_0x48e269,[_0x28372a(0x11c),'uuid'])||nestedKeyValue(_0x48e269,[_0x28372a(0x100),_0x28372a(0xfc)])))[_0x28372a(0xf4)](','),_0x55d368[_0x28372a(0xca)](debug,_0x28372a(0x12a)+_0x4f10fe+_0x28372a(0xcd)+Buffer[_0x28372a(0x10b)](util['format']('%j',_0x297e98),_0x55d368[_0x28372a(0xcc)])+_0x28372a(0x129)+_0x7cfa88);}catch(_0x50f4f2){_0x55d368[_0x28372a(0xca)](debug,_0x28372a(0x118)+util[_0x28372a(0x10a)](_0x50f4f2)+'}');}const _0x4e175e={'headers':_0x55d368[_0x28372a(0xe6)](getDefaultHeaders)};try{const _0x510813=await _0x55d368[_0x28372a(0xd5)](nodeRequest,_0x55d368[_0x28372a(0xc9)],_0x7b5c31,_0x297e98,_0x4e175e);if(_0x510813['data'][_0x28372a(0xf7)]){const _0x5eccaa={};_0x5eccaa['message']=_0x510813['data'][_0x28372a(0xf7)];throw _0x5eccaa;}else _0x55d368[_0x28372a(0x119)](debug,_0x4f10fe+_0x28372a(0xd1)+_0x7cfa88+_0x28372a(0xfb)+util[_0x28372a(0x10a)]('%j',_0x510813['data'])),this[_0x28372a(0xe3)]=Math[_0x28372a(0x102)](0x0,_0x55d368[_0x28372a(0xdb)](this[_0x28372a(0xe3)],_0x297e98['length']));}catch(_0x4a717c){_0x4a717c[_0x28372a(0x115)]?_0x55d368[_0x28372a(0xde)](debug,_0x28372a(0x11a)+_0x4f10fe+'\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20'+_0x4a717c[_0x28372a(0x115)][_0x28372a(0xd4)]+'\x20'+_0x4a717c[_0x28372a(0x115)][_0x28372a(0x101)]+'\x20'+JSON['stringify'](_0x4a717c[_0x28372a(0x115)])):_0x55d368[_0x28372a(0xf5)](debug,_0x28372a(0x11a)+_0x4f10fe+_0x28372a(0xe1)+(_0x4a717c[_0x28372a(0x114)]||_0x4a717c)),this['pendingUploads']=Math['max'](0x0,_0x55d368[_0x28372a(0xdb)](this[_0x28372a(0xe3)],_0x297e98[_0x28372a(0xfa)]));}};['startEventBatchPolling']=()=>{const _0x29a874=a85_0x566d1f,_0x4eb725={'DUDgD':function(_0x23fbe1,_0x5cbbaf){return _0x23fbe1>_0x5cbbaf;},'kCSKq':function(_0x53316e,_0x4dd93c){return _0x53316e(_0x4dd93c);},'ScQQE':'Interval-Queue','UoMkh':function(_0x5ec415,_0x2f6a75){return _0x5ec415(_0x2f6a75);},'qMFcJ':function(_0x2e4839,_0x22223c,_0x529aa8){return _0x2e4839(_0x22223c,_0x529aa8);}};this['pollEventBatchInterval']=_0x4eb725[_0x29a874(0x11e)](setInterval,async()=>{const _0x4ea32d=_0x29a874;if(_0x4eb725[_0x4ea32d(0xce)](this[_0x4ea32d(0xc6)][_0x4ea32d(0xfa)],0x0)){_0x4eb725[_0x4ea32d(0xe0)](trace,_0x4ea32d(0xf8)+this['queue'][_0x4ea32d(0xfa)]);const _0x1c3513=this[_0x4ea32d(0xc6)][_0x4ea32d(0xc8)](0x0,BATCH_SIZE);this['queue'][_0x4ea32d(0xe5)](0x0,BATCH_SIZE),await this[_0x4ea32d(0x12f)](this[_0x4ea32d(0xeb)],_0x4eb725[_0x4ea32d(0x11f)],_0x1c3513),_0x4eb725[_0x4ea32d(0xdc)](trace,_0x4ea32d(0xf6)+this['queue'][_0x4ea32d(0xfa)]);}},BATCH_INTERVAL);};['resetEventBatchPolling']=()=>{const _0x410985=a85_0x566d1f,_0x351553={};_0x351553[_0x410985(0xe4)]=_0x410985(0x122);const _0x407a29=_0x351553;this['removeEventBatchPolling'](_0x407a29[_0x410985(0xe4)]),this[_0x410985(0xd9)]();};[a85_0x566d1f(0x121)]=_0x3b1567=>{const _0x37f207=a85_0x566d1f,_0x17a69a={'vXhvn':function(_0x517156,_0x30f4bc){return _0x517156(_0x30f4bc);},'oYgyw':function(_0x5d0944,_0x11dc71){return _0x5d0944===_0x11dc71;},'bgpHQ':_0x37f207(0xc7)};this[_0x37f207(0xe2)]&&(_0x17a69a[_0x37f207(0xc2)](clearInterval,this[_0x37f207(0xe2)]),this[_0x37f207(0xe2)]=null,_0x17a69a[_0x37f207(0x128)](_0x3b1567,_0x17a69a[_0x37f207(0xec)])&&(this[_0x37f207(0xe9)]=![]));};['shouldProceed']=()=>{const _0x5d5c77=a85_0x566d1f,_0x2bd005={};_0x2bd005[_0x5d5c77(0x112)]=function(_0x4df357,_0x5c6dbe){return _0x4df357>=_0x5c6dbe;};const _0xd960a5=_0x2bd005;return _0xd960a5[_0x5d5c77(0x112)](this[_0x5d5c77(0xc6)][_0x5d5c77(0xfa)],BATCH_SIZE);};async['uploadPending'](_0x5f1bac=DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,_0x106e08=DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS){const _0x4ad79d=a85_0x566d1f,_0x377052={'DURoE':function(_0x2eab85,_0x133d30){return _0x2eab85<=_0x133d30;},'zCntR':function(_0x23b5b5,_0x2b9318){return _0x23b5b5<=_0x2b9318;},'qkNcB':function(_0x35ff0a,_0x571451){return _0x35ff0a(_0x571451);},'Hnaww':function(_0x39f67d,_0x2510a5){return _0x39f67d-_0x2510a5;}};if(_0x377052['DURoE'](this[_0x4ad79d(0xe3)],0x0)||_0x377052['zCntR'](_0x5f1bac,0x0))return;return await _0x377052[_0x4ad79d(0x110)](sleep,_0x106e08),this[_0x4ad79d(0xf3)](_0x377052[_0x4ad79d(0x104)](_0x5f1bac,_0x106e08));}}module[a85_0x566d1f(0x10c)]=RequestQueueHandler;function a85_0x4386(){const _0x19067e=['utf8','WXNky','instance','kCSKq','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20','pollEventBatchInterval','pendingUploads','LYOkT','splice','rIUoM','logs','resetEventBatchPolling','started','OuhpQ','eventUrl','bgpHQ','RfQHs','kEmTT','anJPe','getInstance','SBeag','start','uploadPending','join','YQKUI','Remaining\x20Queue\x20Length\x20-\x20','error','Processing\x20events.\x20Queue\x20Length\x20-\x20','4180cdAjlR','length','\x20--\x20','uuid','11919132fWOyiT','TAeCU','sUOfO','hook_run','statusText','max','ErXpN','Hnaww','34339DcOysP','32138wltlwH','45MBmjIv','Batch\x20event\x20length\x20has\x20increased\x20maximum\x20batch\x20size.\x20Sending\x20events..','fWulv','format','byteLength','exports','sHDDk','TsqQu','split','qkNcB','ktmvs','kKfJQ','proceedWithUrl','message','response','GyZFT','push','Exception\x20in\x20logging\x20batch\x20events\x20--\x20','dMnAy','EXCEPTION\x20IN\x20','BATCH_EVENT_TYPES','test_run','TEST_SCREENSHOT','qMFcJ','ScQQE','api/v1/screenshots','removeEventBatchPolling','RESETTING','screenshotEventUrl','includes','shouldProceed','Shutdown-Queue','piJDh','oYgyw','\x20bytes.\x20Events\x20are\x20','Processing\x20batch\x20events\x20for\x20','add','2605296gEPXag','1935672CJcYLh','../helper','batchAndPostEvents','kind','HookRunStarted','TestRunFinished','vXhvn','1124jpMrWU','event_type','TestRunStarted','queue','REMOVING','slice','HVvgK','HSyta','TestRunSkipped','NwAgB','.\x20Request\x20Size\x20-\x20','DUDgD','Qntaw','./constants','\x20event\x20successful\x20for\x20events\x20','LVcQj','shutdown','status','pKjNC','LogCreated','382942joekXf','EQQFw','startEventBatchPolling','proceedWithData','QwIcu','UoMkh'];a85_0x4386=function(){return _0x19067e;};return a85_0x4386();}
1
+ function a85_0xefcc(){const _0x5d4898=['HookRunFinished','ssTBA','pollEventBatchInterval','slice','TestRunStarted','event_type','TestRunFinished','../helper','FPNtC','1684107lHMWsR','REMOVING','XCuHB','4246845rNcGBv','api/v1/screenshots','eventUrl','screenshotEventUrl','started','hook_run','lwVhM','message','kind','TestRunSkipped','RESETTING','HookRunStarted','format','getInstance','./constants','kjobO','add','split','43212OZrcrQ','ktMhh','5141708fjMfuL','data','486793kQbzuM','324KTpLZe','logs','138dhrNId','test_run','response','vDvWh','QPXTq','19080110iBVOvg','length','CzgBu','proceedWithUrl','queue','AULvo','56msibmI','mQUxG','MkvVY','MDJZN','Shutting\x20down\x20request\x20batcher\x20with\x20pending\x20uploads\x20still\x20in\x20queue.\x20Remaining\x20uploads\x20','uuid','JnNcP','fznMl','zKxvM','KKeVQ','BEAYu','uploadPending','TEST_SCREENSHOT','LogCreated','proceedWithData','shouldProceed','api/v1/batch','pendingUploads','Exception\x20in\x20logging\x20batch\x20events\x20--\x20','tdWST','Processing\x20batch\x20events\x20for\x20','qlegC','MYkmZ','ldMHe','HoAfK','plzcV','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20','instance','error','jhocn','batchAndPostEvents','startEventBatchPolling','removeEventBatchPolling','byteLength','BATCH_EVENT_TYPES','BxcZo','shutdown','qqMgL','exports','2|0|4|5|3|1','bySNV','resetEventBatchPolling','max','LHTvG','ZDkvc','69643MTfbVf','map','splice','EXCEPTION\x20IN\x20','bbauO','Remaining\x20Queue\x20Length\x20-\x20','statusText','gpaOX','NIWaI'];a85_0xefcc=function(){return _0x5d4898;};return a85_0xefcc();}const a85_0x15c3c3=a85_0x491f;(function(_0x2eeb35,_0x53ed94){const _0x18ee78=a85_0x491f,_0x44a856=_0x2eeb35();while(!![]){try{const _0x1ca0f1=-parseInt(_0x18ee78(0x1f0))/0x1+parseInt(_0x18ee78(0x1ec))/0x2*(-parseInt(_0x18ee78(0x1f3))/0x3)+-parseInt(_0x18ee78(0x1ee))/0x4+parseInt(_0x18ee78(0x1da))/0x5+-parseInt(_0x18ee78(0x1f1))/0x6*(parseInt(_0x18ee78(0x1c5))/0x7)+parseInt(_0x18ee78(0x1fe))/0x8*(parseInt(_0x18ee78(0x1d7))/0x9)+parseInt(_0x18ee78(0x1f8))/0xa;if(_0x1ca0f1===_0x53ed94)break;else _0x44a856['push'](_0x44a856['shift']());}catch(_0x1fff05){_0x44a856['push'](_0x44a856['shift']());}}}(a85_0xefcc,0xba7fb));const {BATCH_SIZE,BATCH_INTERVAL,DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS}=require(a85_0x15c3c3(0x1e8)),{nodeRequest,debug,trace,sleep,getDefaultHeaders}=require('./utils'),{nestedKeyValue}=require(a85_0x15c3c3(0x1d5)),util=require('util');class RequestQueueHandler{static [a85_0x15c3c3(0x1b3)];[a85_0x15c3c3(0x20f)]=0x0;constructor(){const _0x58ab40=a85_0x15c3c3,_0x3c7007={};_0x3c7007[_0x58ab40(0x1ed)]=_0x58ab40(0x1bf),_0x3c7007[_0x58ab40(0x1c9)]=_0x58ab40(0x20b),_0x3c7007[_0x58ab40(0x215)]='CBTSessionCreated',_0x3c7007['gSAWh']=_0x58ab40(0x1d4),_0x3c7007[_0x58ab40(0x1c4)]=_0x58ab40(0x1e3),_0x3c7007[_0x58ab40(0x204)]=_0x58ab40(0x1ce),_0x3c7007[_0x58ab40(0x1f7)]=_0x58ab40(0x1d2),_0x3c7007[_0x58ab40(0x208)]=_0x58ab40(0x1e5),_0x3c7007['XCuHB']=_0x58ab40(0x20e),_0x3c7007[_0x58ab40(0x200)]=_0x58ab40(0x1db);const _0x371615=_0x3c7007,_0x4beb2b=_0x371615['ktMhh'][_0x58ab40(0x1eb)]('|');let _0x1072fc=0x0;while(!![]){switch(_0x4beb2b[_0x1072fc++]){case'0':this[_0x58ab40(0x1de)]=![];continue;case'1':this['pollEventBatchInterval']=null;continue;case'2':this[_0x58ab40(0x1fc)]=[];continue;case'3':this[_0x58ab40(0x1ba)]=[_0x371615[_0x58ab40(0x1c9)],_0x371615[_0x58ab40(0x215)],_0x371615['gSAWh'],_0x371615['ZDkvc'],_0x371615[_0x58ab40(0x204)],_0x371615['QPXTq'],_0x371615['BEAYu']];continue;case'4':this[_0x58ab40(0x1dc)]=_0x371615[_0x58ab40(0x1d9)];continue;case'5':this[_0x58ab40(0x1dd)]=_0x371615[_0x58ab40(0x200)];continue;}break;}}static[a85_0x15c3c3(0x1e7)](){const _0x4d0d29=a85_0x15c3c3;return!RequestQueueHandler['instance']&&(RequestQueueHandler[_0x4d0d29(0x1b3)]=new RequestQueueHandler()),RequestQueueHandler[_0x4d0d29(0x1b3)];}['start']=()=>{const _0x8d666=a85_0x15c3c3;!this['started']&&(this[_0x8d666(0x1de)]=!![],this[_0x8d666(0x1b7)]());};[a85_0x15c3c3(0x1ea)]=_0x3a7e76=>{const _0x1140ca=a85_0x15c3c3,_0x53531f={'MYkmZ':function(_0x19d937,_0x25b834){return _0x19d937===_0x25b834;},'NIWaI':_0x1140ca(0x20a),'FPNtC':function(_0x3cd609,_0x12afc9){return _0x3cd609(_0x12afc9);},'CzgBu':'Batch\x20event\x20length\x20has\x20increased\x20maximum\x20batch\x20size.\x20Sending\x20events..'};if(this[_0x1140ca(0x1ba)]['includes'](_0x3a7e76[_0x1140ca(0x1d3)])){if(_0x3a7e76[_0x1140ca(0x1f2)]&&_0x3a7e76[_0x1140ca(0x1f2)][0x0]&&_0x53531f[_0x1140ca(0x214)](_0x3a7e76[_0x1140ca(0x1f2)][0x0][_0x1140ca(0x1e2)],_0x53531f[_0x1140ca(0x1cd)])){const _0x5a5912={};return _0x5a5912[_0x1140ca(0x20d)]=!![],_0x5a5912[_0x1140ca(0x20c)]=[_0x3a7e76],_0x5a5912[_0x1140ca(0x1fb)]=this[_0x1140ca(0x1dd)],_0x5a5912;}this[_0x1140ca(0x1fc)]['push'](_0x3a7e76);let _0x1606d9=null;const _0x2a0933=this[_0x1140ca(0x20d)]();_0x2a0933&&(_0x53531f[_0x1140ca(0x1d6)](trace,_0x53531f[_0x1140ca(0x1fa)]),_0x1606d9=this['queue'][_0x1140ca(0x1d1)](0x0,BATCH_SIZE),this[_0x1140ca(0x1fc)][_0x1140ca(0x1c7)](0x0,BATCH_SIZE),this[_0x1140ca(0x1c1)]());const _0x4a143e={};return _0x4a143e['shouldProceed']=_0x2a0933,_0x4a143e['proceedWithData']=_0x1606d9,_0x4a143e['proceedWithUrl']=this['eventUrl'],_0x4a143e;}const _0x415aab={};return _0x415aab[_0x1140ca(0x20d)]=!![],_0x415aab;};[a85_0x15c3c3(0x1bc)]=async()=>{const _0x362f3d=a85_0x15c3c3,_0x47c7f5={'tdWST':_0x362f3d(0x1d8),'LHTvG':function(_0x5325fd,_0x24ac40){return _0x5325fd>_0x24ac40;},'lwVhM':'Shutdown-Queue','pIokA':function(_0x232d15,_0x4d9e63){return _0x232d15>_0x4d9e63;},'kjobO':function(_0x2ba39f,_0x3b0897){return _0x2ba39f(_0x3b0897);}};await this['uploadPending'](),this[_0x362f3d(0x1b8)](_0x47c7f5[_0x362f3d(0x211)]);while(_0x47c7f5[_0x362f3d(0x1c3)](this[_0x362f3d(0x1fc)][_0x362f3d(0x1f9)],0x0)){const _0x488c47=this['queue'][_0x362f3d(0x1d1)](0x0,BATCH_SIZE);this[_0x362f3d(0x1fc)]['splice'](0x0,BATCH_SIZE),await this[_0x362f3d(0x1b6)](this[_0x362f3d(0x1dc)],_0x47c7f5[_0x362f3d(0x1e0)],_0x488c47);}_0x47c7f5['pIokA'](this[_0x362f3d(0x20f)],0x0)&&_0x47c7f5[_0x362f3d(0x1e9)](debug,_0x362f3d(0x202)+this['pendingUploads']);};[a85_0x15c3c3(0x1b6)]=async(_0x41c462,_0x55cf02,_0x3120cf)=>{const _0x185aeb=a85_0x15c3c3,_0x5779fe={'qqMgL':function(_0x3eae8b,_0x2731b9){return _0x3eae8b(_0x2731b9);},'plzcV':'utf8','ZtpFK':function(_0x234d31){return _0x234d31();},'KKeVQ':function(_0x3687f3,_0x1a9bfb,_0x13568d,_0x131eb8,_0x425964){return _0x3687f3(_0x1a9bfb,_0x13568d,_0x131eb8,_0x425964);},'HoAfK':'POST','jhocn':function(_0x4cc5f2,_0x1fe749){return _0x4cc5f2-_0x1fe749;}};let _0x1a1691='';try{_0x1a1691=_0x3120cf[_0x185aeb(0x1c6)](_0x536c2c=>'\x27'+_0x536c2c['event_type']+'\x27:'+(nestedKeyValue(_0x536c2c,[_0x185aeb(0x1f4),_0x185aeb(0x203)])||nestedKeyValue(_0x536c2c,[_0x185aeb(0x1df),'uuid'])))['join'](','),_0x5779fe[_0x185aeb(0x1bd)](debug,_0x185aeb(0x212)+_0x55cf02+'.\x20Request\x20Size\x20-\x20'+Buffer[_0x185aeb(0x1b9)](util[_0x185aeb(0x1e6)]('%j',_0x3120cf),_0x5779fe[_0x185aeb(0x217)])+'\x20bytes.\x20Events\x20are\x20'+_0x1a1691);}catch(_0x6a4884){_0x5779fe[_0x185aeb(0x1bd)](debug,_0x185aeb(0x210)+util[_0x185aeb(0x1e6)](_0x6a4884)+'}');}const _0xc14ea0={'headers':_0x5779fe['ZtpFK'](getDefaultHeaders)};try{const _0x1634bd=await _0x5779fe[_0x185aeb(0x207)](nodeRequest,_0x5779fe[_0x185aeb(0x216)],_0x41c462,_0x3120cf,_0xc14ea0);if(_0x1634bd[_0x185aeb(0x1ef)]['error']){const _0x37440c={};_0x37440c['message']=_0x1634bd[_0x185aeb(0x1ef)][_0x185aeb(0x1b4)];throw _0x37440c;}else _0x5779fe[_0x185aeb(0x1bd)](debug,_0x55cf02+'\x20event\x20successful\x20for\x20events\x20'+_0x1a1691+'\x20--\x20'+util[_0x185aeb(0x1e6)]('%j',_0x1634bd[_0x185aeb(0x1ef)])),this[_0x185aeb(0x20f)]=Math[_0x185aeb(0x1c2)](0x0,_0x5779fe[_0x185aeb(0x1b5)](this['pendingUploads'],_0x3120cf[_0x185aeb(0x1f9)]));}catch(_0x19edc5){_0x19edc5[_0x185aeb(0x1f5)]?_0x5779fe[_0x185aeb(0x1bd)](debug,_0x185aeb(0x1c8)+_0x55cf02+_0x185aeb(0x1b2)+_0x19edc5[_0x185aeb(0x1f5)]['status']+'\x20'+_0x19edc5['response'][_0x185aeb(0x1cb)]+'\x20'+util['format']('%j',_0x19edc5[_0x185aeb(0x1f5)])):_0x5779fe[_0x185aeb(0x1bd)](debug,_0x185aeb(0x1c8)+_0x55cf02+_0x185aeb(0x1b2)+(_0x19edc5[_0x185aeb(0x1e1)]||_0x19edc5)),this[_0x185aeb(0x20f)]=Math[_0x185aeb(0x1c2)](0x0,_0x5779fe[_0x185aeb(0x1b5)](this[_0x185aeb(0x20f)],_0x3120cf[_0x185aeb(0x1f9)]));}};[a85_0x15c3c3(0x1b7)]=()=>{const _0x3ef64f=a85_0x15c3c3,_0x2aaa64={'AULvo':function(_0x2ed2b6,_0x16dab2){return _0x2ed2b6>_0x16dab2;},'qlegC':function(_0x3ecb96,_0x532901){return _0x3ecb96(_0x532901);},'bySNV':'Interval-Queue','gpaOX':function(_0x522571,_0x3b5af5,_0x2f1700){return _0x522571(_0x3b5af5,_0x2f1700);}};this[_0x3ef64f(0x1d0)]=_0x2aaa64[_0x3ef64f(0x1cc)](setInterval,async()=>{const _0x5d71df=_0x3ef64f;if(_0x2aaa64[_0x5d71df(0x1fd)](this['queue'][_0x5d71df(0x1f9)],0x0)){_0x2aaa64[_0x5d71df(0x213)](trace,'Processing\x20events.\x20Queue\x20Length\x20-\x20'+this[_0x5d71df(0x1fc)][_0x5d71df(0x1f9)]);const _0x1c57b0=this[_0x5d71df(0x1fc)][_0x5d71df(0x1d1)](0x0,BATCH_SIZE);this[_0x5d71df(0x1fc)]['splice'](0x0,BATCH_SIZE),await this[_0x5d71df(0x1b6)](this[_0x5d71df(0x1dc)],_0x2aaa64[_0x5d71df(0x1c0)],_0x1c57b0),_0x2aaa64[_0x5d71df(0x213)](trace,_0x5d71df(0x1ca)+this[_0x5d71df(0x1fc)]['length']);}},BATCH_INTERVAL);};['resetEventBatchPolling']=()=>{const _0x485cba=a85_0x15c3c3,_0x372f71={};_0x372f71['klZLb']=_0x485cba(0x1e4);const _0x383d08=_0x372f71;this['removeEventBatchPolling'](_0x383d08['klZLb']),this[_0x485cba(0x1b7)]();};['removeEventBatchPolling']=_0x8e3b83=>{const _0x5c7808=a85_0x15c3c3,_0x33d5bf={'vDvWh':function(_0x204b5d,_0x2c71cb){return _0x204b5d(_0x2c71cb);},'ssTBA':function(_0xdd92e3,_0x30a52d){return _0xdd92e3===_0x30a52d;},'mQUxG':'REMOVING'};this[_0x5c7808(0x1d0)]&&(_0x33d5bf[_0x5c7808(0x1f6)](clearInterval,this[_0x5c7808(0x1d0)]),this['pollEventBatchInterval']=null,_0x33d5bf[_0x5c7808(0x1cf)](_0x8e3b83,_0x33d5bf[_0x5c7808(0x1ff)])&&(this[_0x5c7808(0x1de)]=![]));};[a85_0x15c3c3(0x20d)]=()=>{const _0x23d1f0=a85_0x15c3c3,_0x572a69={};_0x572a69[_0x23d1f0(0x201)]=function(_0xe7f6ce,_0x3f7f10){return _0xe7f6ce>=_0x3f7f10;};const _0x10827e=_0x572a69;return _0x10827e[_0x23d1f0(0x201)](this[_0x23d1f0(0x1fc)][_0x23d1f0(0x1f9)],BATCH_SIZE);};async['uploadPending'](_0x20b697=DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,_0x2f62b8=DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS){const _0x26ed00=a85_0x15c3c3,_0x5cf08a={'fznMl':function(_0x587222,_0x40d51e){return _0x587222<=_0x40d51e;},'BxcZo':function(_0x113dfa,_0xbaec1b){return _0x113dfa<=_0xbaec1b;},'azgfY':function(_0x8f15d0,_0x47c432){return _0x8f15d0(_0x47c432);},'zKxvM':function(_0x1b15ed,_0x3e55a9){return _0x1b15ed-_0x3e55a9;}};if(_0x5cf08a[_0x26ed00(0x205)](this['pendingUploads'],0x0)||_0x5cf08a[_0x26ed00(0x1bb)](_0x20b697,0x0))return;return await _0x5cf08a['azgfY'](sleep,_0x2f62b8),this[_0x26ed00(0x209)](_0x5cf08a[_0x26ed00(0x206)](_0x20b697,_0x2f62b8));}}function a85_0x491f(_0x4d904f,_0x537f10){const _0xefcc63=a85_0xefcc();return a85_0x491f=function(_0x491f40,_0x4aa16b){_0x491f40=_0x491f40-0x1b2;let _0x2f16bd=_0xefcc63[_0x491f40];return _0x2f16bd;},a85_0x491f(_0x4d904f,_0x537f10);}module[a85_0x15c3c3(0x1be)]=RequestQueueHandler;
@@ -1 +1 @@
1
- function a86_0x230f(_0x336134,_0x2025ca){const _0x17c6c8=a86_0x17c6();return a86_0x230f=function(_0x230f3f,_0x531a93){_0x230f3f=_0x230f3f-0x105;let _0x550a08=_0x17c6c8[_0x230f3f];return _0x550a08;},a86_0x230f(_0x336134,_0x2025ca);}function a86_0x17c6(){const _0x5c1514=['response','toString','64tpLkjD','290hFBMsV','CypPn','requestQueueHandler','basename','jwt','boKtf','SLeKO','EPGpc','test_run','cwd','app','eKQAF','\x20retry\x20runs\x20exceeded','bOfhO','Hook_End_Upload','Bearer\x20','HookRunFinished','event_type','eventUrl','Build\x20creation\x20successful!','message','TestRunFinished','../../helpers/testhub/utils','HookRunStarted','BirEg','ERROR_INVALID_CREDENTIALS','aRJdb','ORVbc','BS_TESTOPS_BUILD_HASHED_ID','Log_Upload','JgsVP','rExBl','GYLOb','LybbZ','max','clMjt','ERROR_SDK_DEPRECATED','BS_TESTOPS_BUILD_COMPLETED','./utils','RRidw','add','ZhpHg','hook_run','EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20','sfiBC','tfAyc','YjLLZ','rjCMA','username','getGitMetaData','zyVRh','BROWSERSTACK_TESTHUB_JWT','GwfMZ','bASBi','uuid','AFICA','ucrDj','BROWSERSTACK_TESTHUB_UUID','gcTPk','DTMQp','buildName','BS_TESTOPS_ALLOW_SCREENSHOTS','SXkXH','azNSa','Test_Start_Upload','BROWSERSTACK_RERUN','gIOne','error','getUserName','api/v1/builds','1499192OgXviK','1098384aeCJBM','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20missing\x20authentication\x20token','pendingUploads','true','application/json','exports','mzRAi','3938592uGjtNI','CBT_Upload','winstonLogger','opJon','projectName','getInstance','NniCs','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20Build\x20Start\x20is\x20not\x20completed\x20and\x20','yMEJM','KWwDe','OLhxi','null','eVjaZ','password','TestRunSkipped','Retry\x20runs\x20exceeded','pPYvt','LogCreated','json','EXCEPTION\x20IN\x20','CKwso','../logger','includes','path','CAxaL','CBTSessionCreated','NGeMK','sBruB','BROWSERSTACK_BUILD_RUN_IDENTIFIER','headers','env','300590dXdLNx','vYMKZ','getHostInfo','oSJQq','info','getAgentVersion','allow_screenshots','nIaVB','2214iAQijs','DogXZ','buildIdentifier','jYYyz','frameworkVersion','BS_TESTOPS_JWT','nestedKeyValue','POST','uploadEventData','IaUNy','buildDescription','FMNsq','RmkEN','Test_End_Upload','./constants','fwBXQ','Authorization','data','1412739OXCGWm','pvEFW','X-BSTACK-TESTOPS','errorType','nkArQ','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20','GRbtC','EQtea','status','stringify','statusText','TestRunStarted','browserstackAutomation','../helper','IuVMa','uNBcl','start','aZaWv','2042103TvhKyg','Processing\x20event\x20-\x20\x27','Test_Skipped_Upload','api/v1/event','kpAxl','false','frameworkName','build_hashed_id','Token/buildID\x20is\x20undefined,\x20build\x20creation\x20might\x20have\x20failed'];a86_0x17c6=function(){return _0x5c1514;};return a86_0x17c6();}const a86_0x3f48a2=a86_0x230f;(function(_0x19f170,_0x81ffb8){const _0x3bc7fb=a86_0x230f,_0x2252b0=_0x19f170();while(!![]){try{const _0x26425c=parseInt(_0x3bc7fb(0x144))/0x1*(parseInt(_0x3bc7fb(0x114))/0x2)+-parseInt(_0x3bc7fb(0x138))/0x3+parseInt(_0x3bc7fb(0x18a))/0x4+-parseInt(_0x3bc7fb(0x10c))/0x5+-parseInt(_0x3bc7fb(0x192))/0x6+-parseInt(_0x3bc7fb(0x18b))/0x7+-parseInt(_0x3bc7fb(0x143))/0x8*(-parseInt(_0x3bc7fb(0x126))/0x9);if(_0x26425c===_0x81ffb8)break;else _0x2252b0['push'](_0x2252b0['shift']());}catch(_0x1ebbcc){_0x2252b0['push'](_0x2252b0['shift']());}}}(a86_0x17c6,0x61079));const bsSetupHelper=require(a86_0x3f48a2(0x133)),path=require(a86_0x3f48a2(0x1a9)),os=require('os'),{debug,getCustomTags,getDefaultHeaders,nodeRequest,sleep,isTestObservabilitySession,trace}=require(a86_0x3f48a2(0x16a)),{EVENT_ENDPOINT,DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS}=require(a86_0x3f48a2(0x122)),RequestQueueHandler=require('./requestQueueHandler'),logger=require(a86_0x3f48a2(0x1a7))[a86_0x3f48a2(0x194)],{shouldProcessEventForTesthub,isPercyBuild,getProductMap}=require(a86_0x3f48a2(0x15a));class SessionHandler{static ['requestQueueHandler']=RequestQueueHandler[a86_0x3f48a2(0x197)]();static async['launch'](_0xfc1860,_0x43426a){const _0x238c4e=a86_0x3f48a2,_0x206680={'rjCMA':function(_0x4440c2,_0x4c26b4){return _0x4440c2||_0x4c26b4;},'eVjaZ':function(_0x2f5d27,_0x982629){return _0x2f5d27===_0x982629;},'JgsVP':function(_0x564fde,_0x2b0cda){return _0x564fde(_0x2b0cda);},'mzRAi':'EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20Missing\x20authentication\x20token','GRbtC':'false','jndOZ':_0x238c4e(0x1a4),'OLhxi':function(_0x5b1fc5,_0x8c99d2){return _0x5b1fc5(_0x8c99d2);},'zyVRh':function(_0x5082f5,_0x15a095){return _0x5082f5(_0x15a095);},'PhkuU':function(_0x4fe99d,_0x56f80f,_0x11c033,_0x29aae4,_0x42fc26){return _0x4fe99d(_0x56f80f,_0x11c033,_0x29aae4,_0x42fc26);},'CypPn':'POST','yMEJM':_0x238c4e(0x189),'fwBXQ':_0x238c4e(0x157),'FMNsq':function(_0x4c77f9){return _0x4c77f9();},'vYMKZ':_0x238c4e(0x18e),'ucrDj':'null','pvEFW':function(_0x41163d,_0x36d3cb){return _0x41163d(_0x36d3cb);},'IaUNy':_0x238c4e(0x15d),'ORVbc':'ERROR_ACCESS_DENIED','LybbZ':_0x238c4e(0x168)},_0x16a14c=bsSetupHelper[_0x238c4e(0x188)](_0xfc1860),_0x500d1b=bsSetupHelper['getAccessKey'](_0xfc1860),_0x559589=_0x206680[_0x238c4e(0x173)](_0x16a14c,'')+':'+_0x206680['rjCMA'](_0x500d1b,'');if(_0x206680[_0x238c4e(0x19e)](_0x559589,':'))return _0x206680[_0x238c4e(0x162)](debug,_0x206680[_0x238c4e(0x191)]),process['env'][_0x238c4e(0x169)]=_0x206680[_0x238c4e(0x12c)],[null,null];let _0x313892=![],_0x5755dd=![];if(_0xfc1860['browserstackAutomation']&&_0xfc1860[_0x238c4e(0x14e)])_0x5755dd=!![];else _0xfc1860[_0x238c4e(0x132)]&&(_0x313892=!![]);try{const _0x3875a7={'format':_0x206680['jndOZ'],'project_name':_0xfc1860[_0x238c4e(0x196)]||'','name':_0xfc1860[_0x238c4e(0x180)]||path[_0x238c4e(0x147)](path['resolve'](process[_0x238c4e(0x14d)]())),'build_identifier':_0xfc1860[_0x238c4e(0x116)],'description':_0xfc1860[_0x238c4e(0x11e)]||'','start_time':new Date()['toISOString'](),'tags':_0x206680[_0x238c4e(0x19c)](getCustomTags,_0xfc1860),'host_info':bsSetupHelper[_0x238c4e(0x10e)](),'ci_info':bsSetupHelper['getCiInfo'](),'build_run_identifier':process[_0x238c4e(0x10b)][_0x238c4e(0x109)],'failed_tests_rerun':process[_0x238c4e(0x10b)][_0x238c4e(0x185)]||![],'version_control':await bsSetupHelper[_0x238c4e(0x175)](),'observability_version':{'frameworkName':_0x43426a[_0x238c4e(0x13e)],'frameworkVersion':_0x43426a[_0x238c4e(0x118)],'sdkVersion':bsSetupHelper[_0x238c4e(0x111)]()},'product_map':_0x206680[_0x238c4e(0x162)](getProductMap,_0xfc1860)},_0x382c89={};_0x382c89[_0x238c4e(0x174)]=_0x16a14c,_0x382c89[_0x238c4e(0x19f)]=_0x500d1b;const _0x50f12f={'auth':_0x382c89,'headers':_0x206680[_0x238c4e(0x176)](getDefaultHeaders,![])},_0x2989f5=await _0x206680['PhkuU'](nodeRequest,_0x206680[_0x238c4e(0x145)],_0x206680[_0x238c4e(0x19a)],_0x3875a7,_0x50f12f);_0x206680[_0x238c4e(0x176)](debug,_0x206680[_0x238c4e(0x123)]);const _0xcb33b3=_0x2989f5[_0x238c4e(0x125)];_0xcb33b3[_0x238c4e(0x13f)]&&(process[_0x238c4e(0x10b)][_0x238c4e(0x17d)]=_0xcb33b3[_0x238c4e(0x13f)]);if(_0x206680[_0x238c4e(0x11f)](isTestObservabilitySession)){process['env'][_0x238c4e(0x169)]=_0x206680[_0x238c4e(0x10d)];if(_0xcb33b3[_0x238c4e(0x148)]){process[_0x238c4e(0x10b)][_0x238c4e(0x119)]=_0xcb33b3['jwt'];const _0x280450={};_0x280450[_0x238c4e(0x174)]=_0x16a14c,_0x280450[_0x238c4e(0x19f)]=_0x500d1b,process['env']['CREDENTIALS_FOR_CRASH_REPORTING']=JSON[_0x238c4e(0x12f)](_0x280450);}_0xcb33b3[_0x238c4e(0x13f)]&&(process[_0x238c4e(0x10b)]['BS_TESTOPS_BUILD_HASHED_ID']=_0xcb33b3[_0x238c4e(0x13f)]),_0xcb33b3[_0x238c4e(0x112)]&&(process[_0x238c4e(0x10b)][_0x238c4e(0x181)]=_0xcb33b3[_0x238c4e(0x112)][_0x238c4e(0x142)]());}return[_0x2989f5[_0x238c4e(0x125)][_0x238c4e(0x148)],_0x2989f5[_0x238c4e(0x125)]['build_hashed_id'],_0x2989f5[_0x238c4e(0x125)][_0x238c4e(0x112)]];}catch(_0x3e002b){process['env'][_0x238c4e(0x17d)]=_0x206680[_0x238c4e(0x17c)],process[_0x238c4e(0x10b)][_0x238c4e(0x169)]=_0x206680[_0x238c4e(0x12c)],process[_0x238c4e(0x10b)][_0x238c4e(0x119)]=_0x206680[_0x238c4e(0x17c)],process[_0x238c4e(0x10b)][_0x238c4e(0x160)]=_0x206680[_0x238c4e(0x17c)],process[_0x238c4e(0x10b)][_0x238c4e(0x181)]=_0x206680[_0x238c4e(0x17c)];_0x3e002b['response']?_0x206680[_0x238c4e(0x127)](debug,_0x238c4e(0x16f)+_0x3e002b[_0x238c4e(0x141)]['status']+'\x20'+_0x3e002b[_0x238c4e(0x141)]['statusText']+'\x20'+JSON[_0x238c4e(0x12f)](_0x3e002b[_0x238c4e(0x141)]['data'])):_0x206680[_0x238c4e(0x162)](debug,_0x238c4e(0x16f)+(_0x3e002b[_0x238c4e(0x158)]||_0x3e002b));if(_0x3e002b&&_0x3e002b['message']){const _0x108ccb=_0x3e002b['message'];switch(_0x3e002b[_0x238c4e(0x129)]){case _0x206680[_0x238c4e(0x11d)]:logger[_0x238c4e(0x187)](_0x108ccb);break;case _0x206680[_0x238c4e(0x15f)]:logger[_0x238c4e(0x110)](_0x108ccb);break;case _0x206680[_0x238c4e(0x165)]:logger['error'](_0x108ccb);break;default:logger[_0x238c4e(0x187)](_0x108ccb);}}else console[_0x238c4e(0x110)]('Data\x20upload\x20to\x20BrowserStack\x20Test\x20Observability\x20failed\x20due\x20to\x20'+_0x3e002b);return[null,null,null];}}static async['waitForBuildStatus'](){const _0x1a273a=a86_0x3f48a2,_0x36aa05={'oSJQq':_0x1a273a(0x18e),'BirEg':_0x1a273a(0x13d),'SXkXH':function(_0x3f3aca,_0x36661c){return _0x3f3aca(_0x36661c);}},_0x6af207=process[_0x1a273a(0x10b)][_0x1a273a(0x169)];if([_0x36aa05[_0x1a273a(0x10f)],_0x36aa05[_0x1a273a(0x15c)]][_0x1a273a(0x1a8)](_0x6af207))return;while([_0x36aa05[_0x1a273a(0x10f)],_0x36aa05['BirEg']]['includes'](_0x6af207)){await _0x36aa05[_0x1a273a(0x182)](sleep,DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS);}}static async[a86_0x3f48a2(0x11c)](_0x20fe53,_0x1dad62=0x0){const _0x2f68ac=a86_0x3f48a2,_0x146084={'opJon':function(_0x50c8b4,_0x1f4ee2){return _0x50c8b4+_0x1f4ee2;},'NGeMK':_0x2f68ac(0x184),'bOfhO':_0x2f68ac(0x121),'AFICA':_0x2f68ac(0x13a),'RmkEN':_0x2f68ac(0x161),'EQtea':'Hook_Start_Upload','boKtf':_0x2f68ac(0x152),'sBruB':_0x2f68ac(0x193),'GYLOb':function(_0x527f63,_0x572592){return _0x527f63(_0x572592);},'ZhpHg':_0x2f68ac(0x14c),'RRidw':_0x2f68ac(0x17a),'CAxaL':_0x2f68ac(0x16e),'kpAxl':function(_0x444f40,_0x4acce0,_0x4ff7a0){return _0x444f40(_0x4acce0,_0x4ff7a0);},'NniCs':_0x2f68ac(0x11c),'gIOne':function(_0x2f8a0b,_0x4d3feb){return _0x2f8a0b===_0x4d3feb;},'gcTPk':function(_0x9ed2b8,_0x51ba3d){return _0x9ed2b8!==_0x51ba3d;},'sfiBC':_0x2f68ac(0x19d),'IuVMa':function(_0x3b239a,_0x943b02){return _0x3b239a===_0x943b02;},'aRJdb':_0x2f68ac(0x18e),'ktiIX':function(_0x1ff960){return _0x1ff960();},'aZaWv':function(_0x249d27,_0x1476b7){return _0x249d27(_0x1476b7);},'pPYvt':function(_0x5eaf8d,_0x54b4d8){return _0x5eaf8d-_0x54b4d8;},'DTMQp':_0x2f68ac(0x187),'bASBi':_0x2f68ac(0x140),'eKQAF':_0x2f68ac(0x18f),'kdhZj':function(_0x24d2b6,_0x5b726a,_0x20b049,_0x1cb631,_0x3563c1){return _0x24d2b6(_0x5b726a,_0x20b049,_0x1cb631,_0x3563c1);},'KWwDe':_0x2f68ac(0x11b),'clMjt':function(_0x32e9dd,_0xc4715b){return _0x32e9dd(_0xc4715b);},'CKwso':function(_0x296418,_0x1298bf){return _0x296418!==_0x1298bf;},'rExBl':'Batch-Queue','uNBcl':_0x2f68ac(0x13b),'EPGpc':'success','tfAyc':function(_0x42c88d,_0x423930){return _0x42c88d(_0x423930);},'YjLLZ':function(_0x37f3f1,_0x59a5ba){return _0x37f3f1!==_0x59a5ba;},'jYYyz':function(_0x45bf98,_0x168091){return _0x45bf98!==_0x168091;},'nkArQ':function(_0x23ef34,_0x26fd4c){return _0x23ef34-_0x26fd4c;},'azNSa':function(_0x5bdd2b,_0x4b8541){return _0x5bdd2b>=_0x4b8541;},'DogXZ':function(_0x1f9cc1,_0x214f9c){return _0x1f9cc1-_0x214f9c;},'GAbcb':_0x2f68ac(0x1a1),'SLeKO':function(_0x4de217,_0x46342e){return _0x4de217!==_0x46342e;},'nIaVB':_0x2f68ac(0x13d),'GwfMZ':function(_0x204aa4,_0x4265d0,_0x1fe26f){return _0x204aa4(_0x4265d0,_0x1fe26f);}},_0x4bbc17={};_0x4bbc17[_0x2f68ac(0x131)]=_0x146084[_0x2f68ac(0x107)],_0x4bbc17[_0x2f68ac(0x159)]=_0x146084[_0x2f68ac(0x151)],_0x4bbc17[_0x2f68ac(0x1a0)]=_0x146084[_0x2f68ac(0x17b)],_0x4bbc17[_0x2f68ac(0x1a3)]=_0x146084[_0x2f68ac(0x120)],_0x4bbc17[_0x2f68ac(0x15b)]=_0x146084[_0x2f68ac(0x12d)],_0x4bbc17[_0x2f68ac(0x154)]=_0x146084[_0x2f68ac(0x149)],_0x4bbc17[_0x2f68ac(0x106)]=_0x146084[_0x2f68ac(0x108)];const _0x3ce030=_0x4bbc17[_0x20fe53['event_type']];_0x146084[_0x2f68ac(0x164)](trace,_0x2f68ac(0x139)+_0x20fe53[_0x2f68ac(0x155)]+'\x27\x20'+(bsSetupHelper['nestedKeyValue'](_0x20fe53,[_0x146084[_0x2f68ac(0x16d)],_0x146084['RRidw']])||bsSetupHelper[_0x2f68ac(0x11a)](_0x20fe53,[_0x146084[_0x2f68ac(0x105)],_0x146084[_0x2f68ac(0x16b)]])));if(!_0x146084[_0x2f68ac(0x13c)](shouldProcessEventForTesthub,_0x20fe53[_0x2f68ac(0x155)],_0x146084[_0x2f68ac(0x198)]))return;_0x146084[_0x2f68ac(0x186)](_0x1dad62,0x0)&&process[_0x2f68ac(0x10b)][_0x2f68ac(0x177)]&&_0x146084[_0x2f68ac(0x17e)](process[_0x2f68ac(0x10b)][_0x2f68ac(0x177)],_0x146084[_0x2f68ac(0x170)])&&(this['requestQueueHandler'][_0x2f68ac(0x18d)]+=0x1);if(_0x146084[_0x2f68ac(0x134)](process[_0x2f68ac(0x10b)][_0x2f68ac(0x169)],_0x146084[_0x2f68ac(0x15e)])||process[_0x2f68ac(0x10b)]['BS_A11Y_JWT']||_0x146084['ktiIX'](isPercyBuild)){if(_0x146084['gIOne'](process['env'][_0x2f68ac(0x177)],_0x146084[_0x2f68ac(0x170)])){_0x146084[_0x2f68ac(0x137)](debug,_0x2f68ac(0x1a5)+_0x3ce030+_0x2f68ac(0x18c)),this[_0x2f68ac(0x146)]['pendingUploads']=Math['max'](0x0,_0x146084['pPYvt'](this['requestQueueHandler'][_0x2f68ac(0x18d)],0x1));const _0x2c18a1={};return _0x2c18a1['status']=_0x146084['DTMQp'],_0x2c18a1[_0x2f68ac(0x158)]=_0x146084[_0x2f68ac(0x179)],_0x2c18a1;}let _0x42c08b=_0x20fe53,_0x24b1b8=EVENT_ENDPOINT;this['requestQueueHandler'][_0x2f68ac(0x136)]();const {shouldProceed:_0x3aae59,proceedWithData:_0x122b97,proceedWithUrl:_0x2af66}=this[_0x2f68ac(0x146)][_0x2f68ac(0x16c)](_0x20fe53);if(!_0x3aae59)return;else _0x122b97&&(_0x42c08b=_0x122b97,_0x24b1b8=_0x2af66);const _0xdb6a24={};_0xdb6a24[_0x2f68ac(0x124)]=_0x2f68ac(0x153)+process[_0x2f68ac(0x10b)][_0x2f68ac(0x177)],_0xdb6a24['Content-Type']=_0x146084[_0x2f68ac(0x14f)],_0xdb6a24[_0x2f68ac(0x128)]=_0x146084[_0x2f68ac(0x15e)];const _0x559bfc={};_0x559bfc[_0x2f68ac(0x10a)]=_0xdb6a24;const _0x220f87=_0x559bfc;try{const _0x51053c=await _0x146084['kdhZj'](nodeRequest,_0x146084[_0x2f68ac(0x19b)],_0x24b1b8,_0x42c08b,_0x220f87);if(_0x51053c[_0x2f68ac(0x125)][_0x2f68ac(0x187)]){const _0x39d922={};_0x39d922[_0x2f68ac(0x158)]=_0x51053c[_0x2f68ac(0x125)][_0x2f68ac(0x187)];throw _0x39d922;}else{_0x146084[_0x2f68ac(0x167)](debug,(_0x146084[_0x2f68ac(0x1a6)](_0x24b1b8,this[_0x2f68ac(0x146)][_0x2f68ac(0x156)])?_0x3ce030:_0x146084[_0x2f68ac(0x163)])+'['+_0x1dad62+']\x20event\x20successful!'),this[_0x2f68ac(0x146)][_0x2f68ac(0x18d)]=Math[_0x2f68ac(0x166)](0x0,_0x146084[_0x2f68ac(0x1a2)](this[_0x2f68ac(0x146)]['pendingUploads'],_0x146084['IuVMa'](_0x24b1b8,_0x146084[_0x2f68ac(0x135)])?0x1:_0x42c08b['length']));const _0x1f485d={};return _0x1f485d[_0x2f68ac(0x12e)]=_0x146084[_0x2f68ac(0x14b)],_0x1f485d[_0x2f68ac(0x158)]='',_0x1f485d;}}catch(_0x4714e1){_0x4714e1[_0x2f68ac(0x141)]?_0x146084[_0x2f68ac(0x171)](debug,_0x2f68ac(0x1a5)+(_0x146084[_0x2f68ac(0x172)](_0x24b1b8,this[_0x2f68ac(0x146)]['eventUrl'])?_0x3ce030:_0x146084[_0x2f68ac(0x163)])+_0x2f68ac(0x12b)+_0x4714e1['response']['status']+'\x20'+_0x4714e1[_0x2f68ac(0x141)][_0x2f68ac(0x130)]+'\x20'+JSON[_0x2f68ac(0x12f)](_0x4714e1[_0x2f68ac(0x141)][_0x2f68ac(0x125)])):_0x146084[_0x2f68ac(0x167)](debug,'EXCEPTION\x20IN\x20'+(_0x146084[_0x2f68ac(0x117)](_0x24b1b8,this[_0x2f68ac(0x146)][_0x2f68ac(0x156)])?_0x3ce030:_0x146084['rExBl'])+_0x2f68ac(0x12b)+(_0x4714e1[_0x2f68ac(0x158)]||_0x4714e1));this['requestQueueHandler'][_0x2f68ac(0x18d)]=Math['max'](0x0,_0x146084[_0x2f68ac(0x12a)](this[_0x2f68ac(0x146)][_0x2f68ac(0x18d)],_0x146084[_0x2f68ac(0x134)](_0x24b1b8,_0x146084[_0x2f68ac(0x135)])?0x1:_0x42c08b['length']));const _0x7b5e14={};return _0x7b5e14[_0x2f68ac(0x12e)]=_0x146084[_0x2f68ac(0x17f)],_0x7b5e14[_0x2f68ac(0x158)]=_0x4714e1['message']||(_0x4714e1[_0x2f68ac(0x141)]?_0x4714e1['response'][_0x2f68ac(0x12e)]+':'+_0x4714e1[_0x2f68ac(0x141)]['statusText']:_0x4714e1),_0x7b5e14;}}else{if(_0x146084[_0x2f68ac(0x183)](_0x1dad62,0x5)){_0x146084[_0x2f68ac(0x164)](debug,_0x2f68ac(0x1a5)+_0x3ce030+_0x2f68ac(0x199)+_0x3ce030+_0x2f68ac(0x150));_0x146084['jYYyz'](process[_0x2f68ac(0x10b)][_0x2f68ac(0x177)],_0x146084['sfiBC'])&&(this[_0x2f68ac(0x146)][_0x2f68ac(0x18d)]=Math[_0x2f68ac(0x166)](0x0,_0x146084[_0x2f68ac(0x115)](this['requestQueueHandler'][_0x2f68ac(0x18d)],0x1)));const _0x314215={};return _0x314215[_0x2f68ac(0x12e)]=_0x146084['DTMQp'],_0x314215[_0x2f68ac(0x158)]=_0x146084['GAbcb'],_0x314215;}else _0x146084[_0x2f68ac(0x14a)](process[_0x2f68ac(0x10b)][_0x2f68ac(0x169)],_0x146084[_0x2f68ac(0x113)])&&_0x146084[_0x2f68ac(0x178)](setTimeout,()=>{const _0x109434=_0x2f68ac;this[_0x109434(0x11c)](_0x20fe53,_0x146084[_0x109434(0x195)](_0x1dad62,0x1));},0x3e8);}}}module[a86_0x3f48a2(0x190)]=SessionHandler;
1
+ const a86_0x397126=a86_0x2577;(function(_0x1fe0f6,_0x1a7704){const _0x399d91=a86_0x2577,_0x3548bd=_0x1fe0f6();while(!![]){try{const _0x242f7f=parseInt(_0x399d91(0x136))/0x1*(-parseInt(_0x399d91(0x194))/0x2)+parseInt(_0x399d91(0x144))/0x3*(-parseInt(_0x399d91(0x146))/0x4)+parseInt(_0x399d91(0x174))/0x5+parseInt(_0x399d91(0x139))/0x6+-parseInt(_0x399d91(0x1b7))/0x7+-parseInt(_0x399d91(0x173))/0x8+parseInt(_0x399d91(0x152))/0x9*(parseInt(_0x399d91(0x147))/0xa);if(_0x242f7f===_0x1a7704)break;else _0x3548bd['push'](_0x3548bd['shift']());}catch(_0x4f0af2){_0x3548bd['push'](_0x3548bd['shift']());}}}(a86_0xefad,0xabbc6));function a86_0xefad(){const _0x5c3983=['NPQnK','HaAYV','1789518CSJJuw','jKxnh','BzshZ','BS_TESTOPS_ALLOW_SCREENSHOTS','ERROR_ACCESS_DENIED','toISOString','BROWSERSTACK_TESTHUB_JWT','VIWyy','statusText','XskjJ','xfnOC','3JfBVjA','jVCeH','3229396dqbBxG','23828570UnpFgq','Log_Upload','iRnwY','BS_TESTOPS_JWT','getCiInfo','application/json','includes','SqFBT','bFMRl','response','wnOUe','9QOxalz','basename','mluvW','hQZTB','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20','Bearer\x20','getAgentVersion','Test_Skipped_Upload','GTtQx','eAmok','dCPGG','./utils','projectName','NjNpf','YKjIc','Uuvou','waitForBuildStatus','start','./requestQueueHandler','success','POST','LJyWj','getInstance','tGDET','ZGmSv','getGitMetaData','nestedKeyValue','TestRunSkipped','BS_A11Y_JWT','BIhZU','length','qprjd','OSuNa','8326760librGR','6482915EHKZjU','zRZTl','ZHWxG','api/v1/event','max','Batch-Queue','pendingUploads','Hook_Start_Upload','headers','qdpUw','sftXx','SLFKP','frameworkVersion','event_type','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20missing\x20authentication\x20token','CBT_Upload','password','../../helpers/testhub/utils','AiREG','nfSXY','message','oYuIs','build_hashed_id','browserstackAutomation','eventUrl','CBskO','BS_TESTOPS_BUILD_COMPLETED','BROWSERSTACK_BUILD_RUN_IDENTIFIER','Processing\x20event\x20-\x20\x27','HookRunStarted','LSTrB','qOtwO','100022iRmErw','bNWJw','idglv','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20Build\x20Start\x20is\x20not\x20completed\x20and\x20',']\x20event\x20successful!','neqhj','env','info','true','RGNXK','json','uuid','buildName','buildDescription','EXCEPTION\x20IN\x20','EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20Missing\x20authentication\x20token','data','test_run','Embmj','TestRunStarted','TestRunFinished','Data\x20upload\x20to\x20BrowserStack\x20Test\x20Observability\x20failed\x20due\x20to\x20','X-BSTACK-TESTOPS','allow_screenshots','frameworkName','fJXWm','launch','Content-Type','stringify','BROWSERSTACK_TESTHUB_UUID','Test_End_Upload','AWuVv','CREDENTIALS_FOR_CRASH_REPORTING','add','api/v1/builds','8582175UwFyPx','requestQueueHandler','app','uploadEventData','getAccessKey','jwt','BS_TESTOPS_BUILD_HASHED_ID','EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20','status','false','sJPJF','username','WxkyY','../logger','error','toString','HhpcN','ERROR_INVALID_CREDENTIALS','cwd','4eZYzmw'];a86_0xefad=function(){return _0x5c3983;};return a86_0xefad();}function a86_0x2577(_0x1e424f,_0x5294ac){const _0xefade7=a86_0xefad();return a86_0x2577=function(_0x25774f,_0x3d127e){_0x25774f=_0x25774f-0x131;let _0x110ff8=_0xefade7[_0x25774f];return _0x110ff8;},a86_0x2577(_0x1e424f,_0x5294ac);}const bsSetupHelper=require('../helper'),path=require('path'),os=require('os'),{debug,getCustomTags,getDefaultHeaders,nodeRequest,sleep,isTestObservabilitySession,trace}=require(a86_0x397126(0x15d)),{EVENT_ENDPOINT,DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS}=require('./constants'),RequestQueueHandler=require(a86_0x397126(0x164)),logger=require(a86_0x397126(0x1c4))['winstonLogger'],{shouldProcessEventForTesthub,isPercyBuild,getProductMap}=require(a86_0x397126(0x185));class SessionHandler{static ['requestQueueHandler']=RequestQueueHandler[a86_0x397126(0x168)]();static async[a86_0x397126(0x1ae)](_0x181006,_0x5383ce){const _0x487469=a86_0x397126,_0x23f32c={'wnOUe':function(_0x4f84d4,_0x47cb3b){return _0x4f84d4||_0x47cb3b;},'sJPJF':function(_0x238a29,_0x480aa4){return _0x238a29||_0x480aa4;},'RGNXK':function(_0x506d39,_0x556da1){return _0x506d39===_0x556da1;},'HhpcN':function(_0x85e2c5,_0x2649dc){return _0x85e2c5(_0x2649dc);},'ZUIpX':_0x487469(0x1a3),'qdpUw':'false','hQZTB':_0x487469(0x19e),'tGDET':function(_0x322489,_0x4cc115){return _0x322489(_0x4cc115);},'oanxQ':function(_0x4acad9,_0x20f6ad,_0x573487,_0x5b6ac1,_0x1310fb){return _0x4acad9(_0x20f6ad,_0x573487,_0x5b6ac1,_0x1310fb);},'dCPGG':_0x487469(0x166),'WFeES':_0x487469(0x1b6),'NBdOr':'Build\x20creation\x20successful!','xKFFE':function(_0x83de9c){return _0x83de9c();},'LJyWj':_0x487469(0x19c),'YKjIc':'null','eAmok':function(_0x29363f,_0x39b32a){return _0x29363f(_0x39b32a);},'CBskO':_0x487469(0x134),'HaAYV':_0x487469(0x13d),'hGjLD':'ERROR_SDK_DEPRECATED'},_0x42c6b2=bsSetupHelper['getUserName'](_0x181006),_0x3fa0ef=bsSetupHelper[_0x487469(0x1bb)](_0x181006),_0x257425=_0x23f32c[_0x487469(0x151)](_0x42c6b2,'')+':'+_0x23f32c[_0x487469(0x1c1)](_0x3fa0ef,'');if(_0x23f32c[_0x487469(0x19d)](_0x257425,':'))return _0x23f32c['HhpcN'](debug,_0x23f32c['ZUIpX']),process[_0x487469(0x19a)]['BS_TESTOPS_BUILD_COMPLETED']=_0x23f32c['qdpUw'],[null,null];let _0x2be04c=![],_0x31566f=![];if(_0x181006[_0x487469(0x18b)]&&_0x181006[_0x487469(0x1b9)])_0x31566f=!![];else _0x181006[_0x487469(0x18b)]&&(_0x2be04c=!![]);try{const _0x485390={'format':_0x23f32c[_0x487469(0x155)],'project_name':_0x181006[_0x487469(0x15e)]||'','name':_0x181006[_0x487469(0x1a0)]||path[_0x487469(0x153)](path['resolve'](process[_0x487469(0x135)]())),'build_identifier':_0x181006['buildIdentifier'],'description':_0x181006[_0x487469(0x1a1)]||'','start_time':new Date()[_0x487469(0x13e)](),'tags':_0x23f32c[_0x487469(0x169)](getCustomTags,_0x181006),'host_info':bsSetupHelper['getHostInfo'](),'ci_info':bsSetupHelper[_0x487469(0x14b)](),'build_run_identifier':process[_0x487469(0x19a)][_0x487469(0x18f)],'failed_tests_rerun':process[_0x487469(0x19a)]['BROWSERSTACK_RERUN']||![],'version_control':await bsSetupHelper[_0x487469(0x16b)](),'observability_version':{'frameworkName':_0x5383ce[_0x487469(0x1ac)],'frameworkVersion':_0x5383ce[_0x487469(0x180)],'sdkVersion':bsSetupHelper[_0x487469(0x158)]()},'product_map':_0x23f32c[_0x487469(0x133)](getProductMap,_0x181006)},_0x4c65d6={};_0x4c65d6[_0x487469(0x1c2)]=_0x42c6b2,_0x4c65d6[_0x487469(0x184)]=_0x3fa0ef;const _0x5b7e5a={'auth':_0x4c65d6,'headers':_0x23f32c[_0x487469(0x169)](getDefaultHeaders,![])},_0x1db06e=await _0x23f32c['oanxQ'](nodeRequest,_0x23f32c[_0x487469(0x15c)],_0x23f32c['WFeES'],_0x485390,_0x5b7e5a);_0x23f32c['tGDET'](debug,_0x23f32c['NBdOr']);const _0x30fdf9=_0x1db06e[_0x487469(0x1a4)];_0x30fdf9['build_hashed_id']&&(process[_0x487469(0x19a)]['BROWSERSTACK_TESTHUB_UUID']=_0x30fdf9['build_hashed_id']);if(_0x23f32c['xKFFE'](isTestObservabilitySession)){process[_0x487469(0x19a)]['BS_TESTOPS_BUILD_COMPLETED']=_0x23f32c[_0x487469(0x167)];if(_0x30fdf9[_0x487469(0x1bc)]){process['env'][_0x487469(0x14a)]=_0x30fdf9[_0x487469(0x1bc)];const _0x23f690={};_0x23f690[_0x487469(0x1c2)]=_0x42c6b2,_0x23f690[_0x487469(0x184)]=_0x3fa0ef,process[_0x487469(0x19a)][_0x487469(0x1b4)]=JSON[_0x487469(0x1b0)](_0x23f690);}_0x30fdf9[_0x487469(0x18a)]&&(process[_0x487469(0x19a)][_0x487469(0x1bd)]=_0x30fdf9[_0x487469(0x18a)]),_0x30fdf9[_0x487469(0x1ab)]&&(process[_0x487469(0x19a)][_0x487469(0x13c)]=_0x30fdf9[_0x487469(0x1ab)][_0x487469(0x132)]());}return[_0x1db06e['data'][_0x487469(0x1bc)],_0x1db06e['data'][_0x487469(0x18a)],_0x1db06e[_0x487469(0x1a4)][_0x487469(0x1ab)]];}catch(_0x59efd3){process[_0x487469(0x19a)][_0x487469(0x1b1)]=_0x23f32c[_0x487469(0x160)],process[_0x487469(0x19a)][_0x487469(0x18e)]=_0x23f32c[_0x487469(0x17d)],process['env']['BS_TESTOPS_JWT']=_0x23f32c[_0x487469(0x160)],process[_0x487469(0x19a)][_0x487469(0x1bd)]=_0x23f32c[_0x487469(0x160)],process[_0x487469(0x19a)][_0x487469(0x13c)]=_0x23f32c[_0x487469(0x160)];_0x59efd3[_0x487469(0x150)]?_0x23f32c['HhpcN'](debug,_0x487469(0x1be)+_0x59efd3[_0x487469(0x150)][_0x487469(0x1bf)]+'\x20'+_0x59efd3[_0x487469(0x150)][_0x487469(0x141)]+'\x20'+JSON[_0x487469(0x1b0)](_0x59efd3[_0x487469(0x150)][_0x487469(0x1a4)])):_0x23f32c[_0x487469(0x15b)](debug,_0x487469(0x1be)+(_0x59efd3[_0x487469(0x188)]||_0x59efd3));if(_0x59efd3&&_0x59efd3[_0x487469(0x188)]){const _0x110cec=_0x59efd3[_0x487469(0x188)];switch(_0x59efd3['errorType']){case _0x23f32c[_0x487469(0x18d)]:logger[_0x487469(0x131)](_0x110cec);break;case _0x23f32c[_0x487469(0x138)]:logger['info'](_0x110cec);break;case _0x23f32c['hGjLD']:logger[_0x487469(0x131)](_0x110cec);break;default:logger[_0x487469(0x131)](_0x110cec);}}else console[_0x487469(0x19b)](_0x487469(0x1a9)+_0x59efd3);return[null,null,null];}}static async[a86_0x397126(0x162)](){const _0x25a0d0=a86_0x397126,_0x9f448d={'OSuNa':_0x25a0d0(0x19c),'qOtwO':'false','BIhZU':function(_0x372553,_0x2a4bcc){return _0x372553(_0x2a4bcc);}},_0x18a676=process[_0x25a0d0(0x19a)][_0x25a0d0(0x18e)];if([_0x9f448d[_0x25a0d0(0x172)],_0x9f448d[_0x25a0d0(0x193)]]['includes'](_0x18a676))return;while([_0x9f448d['OSuNa'],_0x9f448d[_0x25a0d0(0x193)]][_0x25a0d0(0x14d)](_0x18a676)){await _0x9f448d[_0x25a0d0(0x16f)](sleep,DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS);}}static async[a86_0x397126(0x1ba)](_0x1967df,_0x4bff08=0x0){const _0x488d6c=a86_0x397126,_0x2566b0={'jVCeH':function(_0x42ab6,_0x3e50eb){return _0x42ab6+_0x3e50eb;},'SstME':'Test_Start_Upload','XskjJ':_0x488d6c(0x1b2),'NjIKo':_0x488d6c(0x159),'Uuvou':_0x488d6c(0x148),'fJXWm':_0x488d6c(0x17b),'aJOIO':'Hook_End_Upload','iRnwY':_0x488d6c(0x183),'zRZTl':function(_0x510ee5,_0x49d5b0){return _0x510ee5(_0x49d5b0);},'neqhj':_0x488d6c(0x1a5),'xfnOC':_0x488d6c(0x19f),'eUxaE':'hook_run','SqFBT':function(_0x3217f4,_0x4d31b3,_0x42a0f2){return _0x3217f4(_0x4d31b3,_0x42a0f2);},'iptDv':'uploadEventData','sftXx':function(_0x3cd39a,_0x3de505){return _0x3cd39a===_0x3de505;},'ZGmSv':function(_0x3d040e,_0xe1aca3){return _0x3d040e!==_0xe1aca3;},'jKxnh':'null','bFMRl':'true','bNWJw':function(_0x2d0413){return _0x2d0413();},'SLFKP':function(_0x50ae7d,_0x3e5f96){return _0x50ae7d===_0x3e5f96;},'oYuIs':function(_0x1ac71a,_0x16e3c0){return _0x1ac71a-_0x16e3c0;},'Embmj':_0x488d6c(0x131),'GTtQx':'Token/buildID\x20is\x20undefined,\x20build\x20creation\x20might\x20have\x20failed','AiREG':_0x488d6c(0x14c),'NPQnK':function(_0x12300c,_0x3593b4,_0x388286,_0x5805f0,_0x2961a7){return _0x12300c(_0x3593b4,_0x388286,_0x5805f0,_0x2961a7);},'jmmgK':_0x488d6c(0x166),'LSTrB':function(_0x266f56,_0x3cc45b){return _0x266f56!==_0x3cc45b;},'ZHWxG':_0x488d6c(0x179),'idglv':function(_0x38b952,_0x13ccc1){return _0x38b952-_0x13ccc1;},'nfSXY':function(_0x45bd80,_0x2c76b3){return _0x45bd80===_0x2c76b3;},'WxkyY':_0x488d6c(0x177),'qprjd':_0x488d6c(0x165),'AWuVv':function(_0x326209,_0x24d5e7){return _0x326209(_0x24d5e7);},'JRLPe':function(_0x5e8032,_0x3ab3e6){return _0x5e8032!==_0x3ab3e6;},'yPOGZ':function(_0x2f3944,_0xd38589){return _0x2f3944-_0xd38589;},'hTzdc':function(_0x300ef8,_0x4e133a){return _0x300ef8===_0x4e133a;},'kYWly':function(_0x4d4fdc,_0x4644a4){return _0x4d4fdc>=_0x4644a4;},'BzshZ':function(_0x5e1a2c,_0x4d9a77){return _0x5e1a2c(_0x4d9a77);},'VIWyy':function(_0x13b0b3,_0x832fc2){return _0x13b0b3!==_0x832fc2;},'Fzsgc':function(_0x1ab23e,_0x1e1147){return _0x1ab23e-_0x1e1147;},'NjNpf':'Retry\x20runs\x20exceeded','mluvW':_0x488d6c(0x1c0)},_0x523e15={};_0x523e15[_0x488d6c(0x1a7)]=_0x2566b0['SstME'],_0x523e15[_0x488d6c(0x1a8)]=_0x2566b0[_0x488d6c(0x142)],_0x523e15[_0x488d6c(0x16d)]=_0x2566b0['NjIKo'],_0x523e15['LogCreated']=_0x2566b0[_0x488d6c(0x161)],_0x523e15[_0x488d6c(0x191)]=_0x2566b0[_0x488d6c(0x1ad)],_0x523e15['HookRunFinished']=_0x2566b0['aJOIO'],_0x523e15['CBTSessionCreated']=_0x2566b0[_0x488d6c(0x149)];const _0x3cc8b8=_0x523e15[_0x1967df['event_type']];_0x2566b0[_0x488d6c(0x175)](trace,_0x488d6c(0x190)+_0x1967df[_0x488d6c(0x181)]+'\x27\x20'+(bsSetupHelper[_0x488d6c(0x16c)](_0x1967df,[_0x2566b0[_0x488d6c(0x199)],_0x2566b0['xfnOC']])||bsSetupHelper[_0x488d6c(0x16c)](_0x1967df,[_0x2566b0['eUxaE'],_0x2566b0[_0x488d6c(0x143)]])));if(!_0x2566b0[_0x488d6c(0x14e)](shouldProcessEventForTesthub,_0x1967df[_0x488d6c(0x181)],_0x2566b0['iptDv']))return;_0x2566b0[_0x488d6c(0x17e)](_0x4bff08,0x0)&&process['env']['BROWSERSTACK_TESTHUB_JWT']&&_0x2566b0[_0x488d6c(0x16a)](process[_0x488d6c(0x19a)]['BROWSERSTACK_TESTHUB_JWT'],_0x2566b0[_0x488d6c(0x13a)])&&(this[_0x488d6c(0x1b8)][_0x488d6c(0x17a)]+=0x1);if(_0x2566b0[_0x488d6c(0x17e)](process[_0x488d6c(0x19a)][_0x488d6c(0x18e)],_0x2566b0[_0x488d6c(0x14f)])||process[_0x488d6c(0x19a)][_0x488d6c(0x16e)]||_0x2566b0[_0x488d6c(0x195)](isPercyBuild)){if(_0x2566b0[_0x488d6c(0x17f)](process[_0x488d6c(0x19a)][_0x488d6c(0x13f)],_0x2566b0[_0x488d6c(0x13a)])){_0x2566b0[_0x488d6c(0x175)](debug,_0x488d6c(0x1a2)+_0x3cc8b8+_0x488d6c(0x182)),this[_0x488d6c(0x1b8)]['pendingUploads']=Math[_0x488d6c(0x178)](0x0,_0x2566b0[_0x488d6c(0x189)](this[_0x488d6c(0x1b8)][_0x488d6c(0x17a)],0x1));const _0x2efd12={};return _0x2efd12[_0x488d6c(0x1bf)]=_0x2566b0[_0x488d6c(0x1a6)],_0x2efd12[_0x488d6c(0x188)]=_0x2566b0[_0x488d6c(0x15a)],_0x2efd12;}let _0xa0fd21=_0x1967df,_0x4da9ec=EVENT_ENDPOINT;this[_0x488d6c(0x1b8)][_0x488d6c(0x163)]();const {shouldProceed:_0x3dd154,proceedWithData:_0x73d31b,proceedWithUrl:_0x392e1f}=this['requestQueueHandler'][_0x488d6c(0x1b5)](_0x1967df);if(!_0x3dd154)return;else _0x73d31b&&(_0xa0fd21=_0x73d31b,_0x4da9ec=_0x392e1f);const _0xe69411={};_0xe69411['Authorization']=_0x488d6c(0x157)+process['env'][_0x488d6c(0x13f)],_0xe69411[_0x488d6c(0x1af)]=_0x2566b0[_0x488d6c(0x186)],_0xe69411[_0x488d6c(0x1aa)]=_0x2566b0['bFMRl'];const _0x143ac9={};_0x143ac9[_0x488d6c(0x17c)]=_0xe69411;const _0x33d865=_0x143ac9;try{const _0x10d750=await _0x2566b0[_0x488d6c(0x137)](nodeRequest,_0x2566b0['jmmgK'],_0x4da9ec,_0xa0fd21,_0x33d865);if(_0x10d750[_0x488d6c(0x1a4)][_0x488d6c(0x131)]){const _0x53d43e={};_0x53d43e[_0x488d6c(0x188)]=_0x10d750[_0x488d6c(0x1a4)][_0x488d6c(0x131)];throw _0x53d43e;}else{_0x2566b0['zRZTl'](debug,(_0x2566b0[_0x488d6c(0x192)](_0x4da9ec,this[_0x488d6c(0x1b8)]['eventUrl'])?_0x3cc8b8:_0x2566b0['ZHWxG'])+'['+_0x4bff08+_0x488d6c(0x198)),this[_0x488d6c(0x1b8)][_0x488d6c(0x17a)]=Math[_0x488d6c(0x178)](0x0,_0x2566b0[_0x488d6c(0x196)](this['requestQueueHandler'][_0x488d6c(0x17a)],_0x2566b0[_0x488d6c(0x187)](_0x4da9ec,_0x2566b0[_0x488d6c(0x1c3)])?0x1:_0xa0fd21[_0x488d6c(0x170)]));const _0x3f1443={};return _0x3f1443[_0x488d6c(0x1bf)]=_0x2566b0[_0x488d6c(0x171)],_0x3f1443[_0x488d6c(0x188)]='',_0x3f1443;}}catch(_0x45e022){_0x45e022['response']?_0x2566b0[_0x488d6c(0x1b3)](debug,_0x488d6c(0x1a2)+(_0x2566b0['JRLPe'](_0x4da9ec,this['requestQueueHandler'][_0x488d6c(0x18c)])?_0x3cc8b8:_0x2566b0[_0x488d6c(0x176)])+_0x488d6c(0x156)+_0x45e022[_0x488d6c(0x150)][_0x488d6c(0x1bf)]+'\x20'+_0x45e022[_0x488d6c(0x150)]['statusText']+'\x20'+JSON[_0x488d6c(0x1b0)](_0x45e022[_0x488d6c(0x150)][_0x488d6c(0x1a4)])):_0x2566b0['zRZTl'](debug,_0x488d6c(0x1a2)+(_0x2566b0['ZGmSv'](_0x4da9ec,this[_0x488d6c(0x1b8)][_0x488d6c(0x18c)])?_0x3cc8b8:_0x2566b0['ZHWxG'])+'\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20'+(_0x45e022[_0x488d6c(0x188)]||_0x45e022));this[_0x488d6c(0x1b8)][_0x488d6c(0x17a)]=Math['max'](0x0,_0x2566b0['yPOGZ'](this[_0x488d6c(0x1b8)]['pendingUploads'],_0x2566b0['hTzdc'](_0x4da9ec,_0x2566b0[_0x488d6c(0x1c3)])?0x1:_0xa0fd21['length']));const _0x22153e={};return _0x22153e[_0x488d6c(0x1bf)]=_0x2566b0[_0x488d6c(0x1a6)],_0x22153e[_0x488d6c(0x188)]=_0x45e022[_0x488d6c(0x188)]||(_0x45e022[_0x488d6c(0x150)]?_0x45e022['response']['status']+':'+_0x45e022['response'][_0x488d6c(0x141)]:_0x45e022),_0x22153e;}}else{if(_0x2566b0['kYWly'](_0x4bff08,0x5)){_0x2566b0[_0x488d6c(0x13b)](debug,_0x488d6c(0x1a2)+_0x3cc8b8+_0x488d6c(0x197)+_0x3cc8b8+'\x20retry\x20runs\x20exceeded');_0x2566b0['VIWyy'](process[_0x488d6c(0x19a)][_0x488d6c(0x13f)],_0x2566b0[_0x488d6c(0x13a)])&&(this['requestQueueHandler'][_0x488d6c(0x17a)]=Math[_0x488d6c(0x178)](0x0,_0x2566b0['Fzsgc'](this[_0x488d6c(0x1b8)][_0x488d6c(0x17a)],0x1)));const _0x4c339e={};return _0x4c339e[_0x488d6c(0x1bf)]=_0x2566b0[_0x488d6c(0x1a6)],_0x4c339e[_0x488d6c(0x188)]=_0x2566b0[_0x488d6c(0x15f)],_0x4c339e;}else _0x2566b0[_0x488d6c(0x140)](process['env']['BS_TESTOPS_BUILD_COMPLETED'],_0x2566b0[_0x488d6c(0x154)])&&_0x2566b0[_0x488d6c(0x14e)](setTimeout,()=>{const _0x339c7c=_0x488d6c;this[_0x339c7c(0x1ba)](_0x1967df,_0x2566b0[_0x339c7c(0x145)](_0x4bff08,0x1));},0x3e8);}}}module['exports']=SessionHandler;