browserstack-node-sdk 1.34.33 → 1.34.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/central-scanner/constants.js +1 -1
  101. package/src/helpers/central-scanner/helpers.js +1 -1
  102. package/src/helpers/globals.js +1 -1
  103. package/src/helpers/helper.js +1 -1
  104. package/src/helpers/logger.js +1 -1
  105. package/src/helpers/patchHelper.js +1 -1
  106. package/src/helpers/patchHelpers.js +1 -1
  107. package/src/helpers/percy/Percy.js +1 -1
  108. package/src/helpers/percy/PercyBinary.js +1 -1
  109. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  110. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  111. package/src/helpers/percy/PercySDK.js +1 -1
  112. package/src/helpers/percy/index.js +1 -1
  113. package/src/helpers/percy/utils.js +1 -1
  114. package/src/helpers/performance/constants.js +1 -1
  115. package/src/helpers/performance/performance-tester.js +1 -1
  116. package/src/helpers/processHelper.js +1 -1
  117. package/src/helpers/request-spy.js +1 -1
  118. package/src/helpers/setKeepAlive.js +1 -1
  119. package/src/helpers/test-observability/constants.js +1 -1
  120. package/src/helpers/test-observability/error-handler.js +1 -1
  121. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  122. package/src/helpers/test-observability/sessionHandler.js +1 -1
  123. package/src/helpers/test-observability/utils.js +1 -1
  124. package/src/helpers/testhub/constants.js +1 -1
  125. package/src/helpers/testhub/testhubHandler.js +1 -1
  126. package/src/helpers/testhub/utils.js +1 -1
  127. package/src/helpers/timeoutPromise.js +1 -1
  128. package/src/helpers/utilities.js +1 -1
  129. package/src/helpers/w3cMapping.js +1 -1
  130. package/src/hubAllocationMethods.js +1 -1
  131. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a79_0x2171e5=a79_0x4e7a;(function(_0x3d5e6c,_0x5d64db){const _0x4dc9c9=a79_0x4e7a,_0x51b4ae=_0x3d5e6c();while(!![]){try{const _0x5d2cd6=parseInt(_0x4dc9c9(0x169))/0x1*(-parseInt(_0x4dc9c9(0x17a))/0x2)+parseInt(_0x4dc9c9(0x193))/0x3+-parseInt(_0x4dc9c9(0x147))/0x4+parseInt(_0x4dc9c9(0x110))/0x5*(-parseInt(_0x4dc9c9(0x150))/0x6)+parseInt(_0x4dc9c9(0x160))/0x7*(parseInt(_0x4dc9c9(0x175))/0x8)+-parseInt(_0x4dc9c9(0xfd))/0x9+-parseInt(_0x4dc9c9(0x10f))/0xa*(-parseInt(_0x4dc9c9(0x176))/0xb);if(_0x5d2cd6===_0x5d64db)break;else _0x51b4ae['push'](_0x51b4ae['shift']());}catch(_0x34359f){_0x51b4ae['push'](_0x51b4ae['shift']());}}}(a79_0x4d08,0xcb10e));const fs=require('fs'),fsPromise=require(a79_0x2171e5(0x183)),{performance,PerformanceObserver}=require(a79_0x2171e5(0x143)),path=require(a79_0x2171e5(0x180)),util=require(a79_0x2171e5(0x10d)),logger=require(a79_0x2171e5(0x116))[a79_0x2171e5(0x129)],{getProcessId,sleep,debug,getTestName}=require(a79_0x2171e5(0x179));function a79_0x4e7a(_0x261ea1,_0x1e17db){const _0x4d0879=a79_0x4d08();return a79_0x4e7a=function(_0x4e7a03,_0x2abf16){_0x4e7a03=_0x4e7a03-0xfd;let _0x374a15=_0x4d0879[_0x4e7a03];return _0x374a15;},a79_0x4e7a(_0x261ea1,_0x1e17db);}class PerformanceTester{static ['_observer'];static [a79_0x2171e5(0x178)]=[];static [a79_0x2171e5(0x12b)]=[];static [a79_0x2171e5(0x16b)]=[];static [a79_0x2171e5(0xff)]=![];static [a79_0x2171e5(0x149)]=a79_0x2171e5(0x170);static [a79_0x2171e5(0x18d)]=process['env']['browserStackCwd']?path['join'](process['env'][a79_0x2171e5(0x130)],this[a79_0x2171e5(0x149)]):path['join'](process[a79_0x2171e5(0x148)](),a79_0x2171e5(0x114),this[a79_0x2171e5(0x149)]);static [a79_0x2171e5(0x152)]=process[a79_0x2171e5(0x11f)][a79_0x2171e5(0x130)]?path[a79_0x2171e5(0x133)](process[a79_0x2171e5(0x11f)][a79_0x2171e5(0x130)],a79_0x2171e5(0x105)):path[a79_0x2171e5(0x133)](process[a79_0x2171e5(0x148)](),a79_0x2171e5(0x105));static [a79_0x2171e5(0x142)]=this[a79_0x2171e5(0x18d)]+'/performance-report-'+getProcessId()+a79_0x2171e5(0x144);static [a79_0x2171e5(0x163)]=this[a79_0x2171e5(0x152)]+a79_0x2171e5(0x196)+getProcessId()+a79_0x2171e5(0x144);static ['details']={};static [a79_0x2171e5(0x135)]={};static[a79_0x2171e5(0x13a)](_0x5637f2=this[a79_0x2171e5(0x18d)]+a79_0x2171e5(0x155)+getProcessId()+a79_0x2171e5(0x144),_0x56de31=this[a79_0x2171e5(0x152)]+a79_0x2171e5(0x196)+getProcessId()+a79_0x2171e5(0x144)){const _0x41a626=a79_0x2171e5,_0x2b248b={};_0x2b248b['rMRKb']=function(_0x407be3,_0x45a1cd){return _0x407be3===_0x45a1cd;},_0x2b248b[_0x41a626(0x119)]=_0x41a626(0x15b),_0x2b248b['vxwUs']=function(_0x41cb63,_0x1d6c5a){return _0x41cb63+_0x1d6c5a;},_0x2b248b[_0x41a626(0x128)]=_0x41a626(0x108),_0x2b248b[_0x41a626(0x19d)]='function';const _0xa0e7d5=_0x2b248b;try{!fs['existsSync'](this[_0x41a626(0x18d)])&&fs[_0x41a626(0x18a)](this['jsonReportDirPath']);}catch(_0x3db683){logger[_0x41a626(0x192)](_0xa0e7d5[_0x41a626(0x112)](_0xa0e7d5[_0x41a626(0x128)],_0x3db683));}if(this[_0x41a626(0xff)]||!this[_0x41a626(0x199)]())return;this['_observer']=new PerformanceObserver(_0x2f2d43=>{const _0x370be5=_0x41a626,_0x5bfe3d={'rZxRL':function(_0x41569c,_0x2681d2){const _0x2b89d7=a79_0x4e7a;return _0xa0e7d5[_0x2b89d7(0x14c)](_0x41569c,_0x2681d2);},'MxNMI':_0xa0e7d5[_0x370be5(0x119)]};_0x2f2d43[_0x370be5(0x195)]()[_0x370be5(0x16e)](_0x478750=>{const _0x2e0d48=_0x370be5;if(_0x5bfe3d['rZxRL'](_0x478750[_0x2e0d48(0x197)],_0x5bfe3d[_0x2e0d48(0x194)])){let _0x2f313c={};if(_0x478750[_0x2e0d48(0x13c)])_0x2f313c=_0x478750[_0x2e0d48(0x13c)]();else for(const _0x3e319a in _0x478750){_0x2f313c[_0x3e319a]=_0x478750[_0x3e319a];}this[_0x2e0d48(0x109)][_0x478750[_0x2e0d48(0x127)]]&&(_0x2f313c=Object[_0x2e0d48(0x191)](_0x2f313c,this['details'][_0x478750[_0x2e0d48(0x127)]])),delete this[_0x2e0d48(0x109)][_0x478750[_0x2e0d48(0x127)]],this[_0x2e0d48(0x12b)][_0x2e0d48(0x140)](_0x2f313c);}else this[_0x2e0d48(0x178)]['push'](_0x478750);});});const _0x2b0514={};_0x2b0514['buffered']=!![],_0x2b0514['entryTypes']=[_0xa0e7d5[_0x41a626(0x19d)],_0xa0e7d5[_0x41a626(0x119)]],this[_0x41a626(0x145)][_0x41a626(0x137)](_0x2b0514),this[_0x41a626(0xff)]=!![],this['jsonReportFileName']=_0x5637f2,this[_0x41a626(0x163)]=_0x56de31;}static[a79_0x2171e5(0x153)](){return performance;}static[a79_0x2171e5(0x13b)](_0x26f8ab,_0x2332c1){const _0x508db3=a79_0x2171e5,_0x25a6c5={};_0x25a6c5[_0x508db3(0x113)]=function(_0x983d24,_0x4a9644){return _0x983d24+_0x4a9644;},_0x25a6c5[_0x508db3(0x16d)]=function(_0x544619,_0x48ca02){return _0x544619||_0x48ca02;},_0x25a6c5[_0x508db3(0x151)]=function(_0x13d1d7,_0x59cbda){return _0x13d1d7===_0x59cbda;};const _0x418f5b=_0x25a6c5,_0x4732bf={};if(!_0x26f8ab||_0x418f5b[_0x508db3(0x151)](_0x26f8ab[_0x508db3(0x166)],0x0))return;_0x26f8ab[_0x508db3(0x126)](_0x434375=>{const _0x548d73=_0x508db3;!_0x4732bf[_0x434375[_0x548d73(0x127)]]&&(_0x4732bf[_0x434375[_0x548d73(0x127)]]=0x0),_0x4732bf[_0x434375['name']]+=_0x434375['duration'];});const _0x2a30b9=_0x2332c1[_0x508db3(0x12d)]((_0x27f6c9,_0x46a85c)=>{const _0x360121=_0x508db3;return _0x418f5b['jkjcK'](_0x4732bf[_0x46a85c],_0x418f5b[_0x360121(0x16d)](_0x27f6c9,0x0));},0x0);return _0x2a30b9;}static async[a79_0x2171e5(0x16c)](_0x3ad14c,_0x359434){const _0x3e16a8=a79_0x2171e5,_0x1d21e7={'cXkuQ':function(_0x2a4c09,_0x207546){return _0x2a4c09+_0x207546;},'NCRFq':function(_0x45865c,_0x3e70ba){return _0x45865c||_0x3e70ba;},'jwRwm':function(_0x245ce8,_0x5811f6){return _0x245ce8===_0x5811f6;},'aPEKr':function(_0x48ff4b,_0x55f92a){return _0x48ff4b(_0x55f92a);},'wYbpI':function(_0x46b316,_0x3d5579){return _0x46b316(_0x3d5579);}};if(!_0x3ad14c||_0x1d21e7[_0x3e16a8(0x162)](_0x3ad14c[_0x3e16a8(0x166)],0x0))return 0x0;const _0x143039=[];for(const _0x1bf139 of _0x3ad14c){const _0x2f6874=path[_0x3e16a8(0x133)]('.',_0x1bf139);try{const _0x4498b9=this['getEventsFromJSON'](_0x2f6874);_0x4498b9[_0x3e16a8(0x126)](_0x49f6b5=>{const _0xcc57bb=_0x3e16a8;!_0x143039[_0x49f6b5['name']]&&(_0x143039[_0x49f6b5[_0xcc57bb(0x127)]]=0x0),_0x143039[_0x49f6b5[_0xcc57bb(0x127)]]+=_0x49f6b5[_0xcc57bb(0x12e)];});}catch(_0x405408){_0x1d21e7['aPEKr'](debug,_0x3e16a8(0x17c)+_0x405408[_0x3e16a8(0x15e)]());}}const _0x13b02f=_0x359434[_0x3e16a8(0x12d)]((_0x52fe2e,_0x5bcc22)=>{const _0x2220bb=_0x3e16a8;return _0x1d21e7[_0x2220bb(0x181)](_0x143039[_0x5bcc22],_0x1d21e7[_0x2220bb(0x171)](_0x52fe2e,0x0));},0x0);return _0x1d21e7[_0x3e16a8(0x106)](debug,_0x3e16a8(0x132)+_0x359434+_0x3e16a8(0x189)+_0x13b02f),_0x13b02f;}static[a79_0x2171e5(0x185)](_0x2f3918){const _0x773a70=a79_0x2171e5;if(!fs[_0x773a70(0x12a)](_0x2f3918))return[];return JSON[_0x773a70(0x182)](fs[_0x773a70(0x136)](_0x2f3918)['toString']());}static async['stopAndGenerate'](_0x3fb6bc=a79_0x2171e5(0x184),_0x5c9a4c=null){const _0x2ef31f=a79_0x2171e5,_0xfe25d1={'oDLMY':function(_0x4ad5dc,_0x46414f){return _0x4ad5dc(_0x46414f);}};if(!this[_0x2ef31f(0xff)])return;await _0xfe25d1[_0x2ef31f(0x15d)](sleep,0x1e),this[_0x2ef31f(0x145)][_0x2ef31f(0x159)](),this[_0x2ef31f(0xff)]=![],this[_0x2ef31f(0x141)](this[_0x2ef31f(0x178)]);const _0x5b097a=this[_0x2ef31f(0x134)](this[_0x2ef31f(0x178)]),_0x59163f=path[_0x2ef31f(0x133)](process['cwd'](),_0x3fb6bc);fs[_0x2ef31f(0x11d)](_0x59163f,_0x5b097a,_0x26516c=>{const _0x159da3=_0x2ef31f;if(_0x26516c){_0xfe25d1[_0x159da3(0x15d)](debug,'Error\x20in\x20writing\x20html\x20'+_0x26516c['toString']());return;}_0xfe25d1['oDLMY'](debug,'Performance\x20report\x20is\x20at\x20'+_0x59163f);});if(_0x5c9a4c)return this[_0x2ef31f(0x13b)](this[_0x2ef31f(0x178)],_0x5c9a4c);}static[a79_0x2171e5(0x134)](_0x4dde81){const _0x4d364f=a79_0x2171e5,_0x1b53fa={};_0x1b53fa['qzdYX']=_0x4d364f(0x12f),_0x1b53fa['zPqfA']=_0x4d364f(0x15a),_0x1b53fa[_0x4d364f(0x14e)]='<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>',_0x1b53fa[_0x4d364f(0x107)]=_0x4d364f(0x11b);const _0x20472c=_0x1b53fa;let _0x22bac2=_0x20472c[_0x4d364f(0x17b)];return _0x22bac2+=_0x20472c[_0x4d364f(0x18c)],_0x22bac2+=_0x20472c[_0x4d364f(0x14e)],_0x4dde81[_0x4d364f(0x16e)](_0xe85055=>{const _0x2a53a2=_0x4d364f;_0x22bac2+=_0x2a53a2(0x18e)+_0xe85055[_0x2a53a2(0x127)]+'</td><td>'+_0xe85055[_0x2a53a2(0x12e)]+_0x2a53a2(0x14f);}),_0x22bac2+=_0x20472c[_0x4d364f(0x107)],_0x22bac2;}static[a79_0x2171e5(0x141)](_0x188f4b){const _0x1b3797=a79_0x2171e5;if(!this['jsonReportFileName'])return;const _0x249706={};_0x188f4b[_0x1b3797(0x126)](_0x1a62ea=>{const _0x5ab293=_0x1b3797;!_0x249706[_0x1a62ea[_0x5ab293(0x127)]]&&(_0x249706[_0x1a62ea[_0x5ab293(0x127)]]=0x0),_0x249706[_0x1a62ea['name']]+=_0x1a62ea[_0x5ab293(0x12e)];});const _0x15f8bc=Object['entries'](_0x249706)['map'](([_0x24cb94,_0x227c45])=>{const _0x5bde1e=_0x1b3797,_0x5879ad={};return _0x5879ad[_0x5bde1e(0x127)]=_0x24cb94,_0x5879ad[_0x5bde1e(0x12e)]=_0x227c45,_0x5879ad;});fs[_0x1b3797(0x104)](this[_0x1b3797(0x142)],JSON[_0x1b3797(0x139)](_0x15f8bc));}static[a79_0x2171e5(0x199)](){const _0x4bb649=a79_0x2171e5,_0xeb773d={};_0xeb773d[_0x4bb649(0x10c)]=function(_0xd4a358,_0x2c6caf){return _0xd4a358===_0x2c6caf;},_0xeb773d[_0x4bb649(0x177)]=_0x4bb649(0x118);const _0x4345c3=_0xeb773d;return!_0x4345c3[_0x4bb649(0x10c)](process[_0x4bb649(0x11f)][_0x4bb649(0x186)],_0x4345c3[_0x4bb649(0x177)]);}static[a79_0x2171e5(0x15b)](_0xdfd67a,_0x64bdf8,_0x21f11c=null,_0x95817a={},_0x34ce92=null){const _0x1dfe4c=a79_0x2171e5,_0x390e72={'XpwHG':function(_0x3601e0,_0x2d877a){return _0x3601e0(_0x2d877a);},'CWdkl':function(_0x3fa66b,_0x5f37ee){return _0x3fa66b(_0x5f37ee);},'sUuIa':function(_0x1971a5,_0x2a8a07){return _0x1971a5 instanceof _0x2a8a07;}};try{if(this[_0x1dfe4c(0xff)]&&this[_0x1dfe4c(0x199)]()){let _0x108cac=_0xdfd67a;_0x21f11c&&(_0x108cac=_0xdfd67a+'['+JSON['stringify'](_0x21f11c)+']');PerformanceTester[_0x1dfe4c(0x11a)](_0x108cac),this[_0x1dfe4c(0x109)]&&(this['details'][_0x108cac]=_0x95817a);try{const _0x300665=_0x64bdf8['apply'](null,_0x34ce92);if(_0x390e72['sUuIa'](_0x300665,Promise))return new Promise((_0x33e009,_0xcb631)=>{const _0x276ebd=_0x1dfe4c,_0x591486={'chiKv':function(_0x537a69,_0x369c6a){const _0x1da94a=a79_0x4e7a;return _0x390e72[_0x1da94a(0x19a)](_0x537a69,_0x369c6a);},'FEdnW':function(_0x10ae3f,_0x38076c){const _0x2548a9=a79_0x4e7a;return _0x390e72[_0x2548a9(0x131)](_0x10ae3f,_0x38076c);}};_0x300665[_0x276ebd(0x188)](_0x9a89b=>{const _0x490e8b=_0x276ebd;PerformanceTester['end'](_0x108cac),_0x591486[_0x490e8b(0x12c)](_0x33e009,_0x9a89b);})[_0x276ebd(0x111)](_0x488bd8=>{const _0xd0be38=_0x276ebd;PerformanceTester[_0xd0be38(0x10a)](_0x108cac,![],util[_0xd0be38(0x146)](_0x488bd8)),_0x591486['FEdnW'](_0xcb631,_0x488bd8);});});;return PerformanceTester['end'](_0x108cac),_0x300665;}catch(_0x26337c){PerformanceTester[_0x1dfe4c(0x10a)](_0x108cac,![],util[_0x1dfe4c(0x146)](_0x26337c));throw _0x26337c;}};return _0x64bdf8[_0x1dfe4c(0x167)](null,_0x34ce92);}catch(_0x4baa12){return _0x64bdf8['apply'](null,_0x34ce92);}}static[a79_0x2171e5(0x168)](_0xf803df,_0x3aedf4,_0x25b12b={}){const _0x3efca8=a79_0x2171e5,_0x2ba7d2={'pfLoH':function(_0x461bb8){return _0x461bb8();}},_0xbc1ca9=this;return _0x25b12b['worker']=_0x2ba7d2[_0x3efca8(0x16f)](getProcessId),_0x25b12b[_0x3efca8(0x17f)]=_0x2ba7d2['pfLoH'](getTestName),_0x25b12b[_0x3efca8(0x122)]=global['__platformCaps']&&global[_0x3efca8(0x101)][_0x3efca8(0x125)],function(){const _0xd9cbe1=_0x3efca8,_0x12f874=[_0xf803df,_0x3aedf4,null,_0x25b12b][_0xd9cbe1(0x10b)](arguments);return _0xbc1ca9[_0xd9cbe1(0x15b)]['apply'](_0xbc1ca9,_0x12f874);};}static[a79_0x2171e5(0x10e)](){const _0x327fca=a79_0x2171e5,_0x460f03=/(^.*)\[(.*)\]$/,_0x15f5dc={},_0x457e76={},_0x5502c1=[],_0x46e17e=this['_measureEvents']['splice'](0x0,this['_measureEvents'][_0x327fca(0x166)]);for(const _0x40f629 of _0x46e17e){const _0x26dddd=_0x40f629['name'][_0x327fca(0x16a)](_0x460f03),_0x520e3c=Object[_0x327fca(0x191)]({},_0x40f629);_0x26dddd&&(_0x520e3c[_0x327fca(0x127)]=_0x26dddd[0x1],_0x520e3c[_0x327fca(0x187)]=JSON[_0x327fca(0x182)](_0x26dddd[0x2])),_0x5502c1[_0x327fca(0x140)](_0x520e3c);}return _0x5502c1;}static[a79_0x2171e5(0x156)](){const _0xf4f57c=a79_0x2171e5,_0x2855e9={};_0x2855e9[_0xf4f57c(0x154)]=function(_0x4023e6,_0x4ce3d1){return _0x4023e6+_0x4ce3d1;},_0x2855e9[_0xf4f57c(0x100)]=_0xf4f57c(0x102),_0x2855e9[_0xf4f57c(0x18b)]=function(_0x546d80,_0x30011e){return _0x546d80===_0x30011e;};const _0x5ef60b=_0x2855e9;try{if(fs[_0xf4f57c(0x12a)](this[_0xf4f57c(0x18d)])){const _0x35951a=fs[_0xf4f57c(0x158)](this[_0xf4f57c(0x18d)]);for(const _0x1bfcfe of _0x35951a){fs[_0xf4f57c(0x15f)](path[_0xf4f57c(0x133)](this[_0xf4f57c(0x18d)],_0x1bfcfe));}}}catch(_0x4a6696){logger[_0xf4f57c(0x192)](_0x5ef60b['sBzgD'](_0x5ef60b[_0xf4f57c(0x100)],_0x4a6696));}if(_0x5ef60b[_0xf4f57c(0x18b)](this[_0xf4f57c(0x12b)][_0xf4f57c(0x166)],0x0))return;const _0x806cc5=this[_0xf4f57c(0x10e)](),_0x68e705=JSON[_0xf4f57c(0x139)](_0x806cc5),_0x3f00b3=_0x5ef60b[_0xf4f57c(0x154)](_0x68e705[_0xf4f57c(0x19b)](0x1,-0x1),',');fs[_0xf4f57c(0x11c)](this['jsonReportFileName'],_0x3f00b3);}static async[a79_0x2171e5(0x138)](){const _0x2443b9=a79_0x2171e5,_0x3736c9={};_0x3736c9[_0x2443b9(0x115)]=function(_0x1ceea5,_0x1b740c){return _0x1ceea5===_0x1b740c;},_0x3736c9[_0x2443b9(0x124)]=function(_0x551c62,_0x51afd9){return _0x551c62>_0x51afd9;};const _0x2e822c=_0x3736c9;if(!this[_0x2443b9(0xff)]||_0x2e822c[_0x2443b9(0x115)](this[_0x2443b9(0x12b)]['length'],0x0))return[];if(!fs[_0x2443b9(0x12a)](this[_0x2443b9(0x18d)]))return this[_0x2443b9(0x12b)];const _0x550839=(await fsPromise['readdir'](this[_0x2443b9(0x18d)]))[_0x2443b9(0x126)](_0x9cd69=>path[_0x2443b9(0x14a)](this[_0x2443b9(0x18d)],_0x9cd69));let _0xe165c=(await Promise[_0x2443b9(0x123)](_0x550839[_0x2443b9(0x126)](_0x23f8bb=>fsPromise[_0x2443b9(0x198)](_0x23f8bb,_0x2443b9(0x117)))))['map'](_0x579a81=>'['+_0x579a81[_0x2443b9(0x19b)](0x0,-0x1)+']')['map'](_0x25bacc=>JSON[_0x2443b9(0x182)](_0x25bacc))['flat']();return _0x2e822c[_0x2443b9(0x124)](this[_0x2443b9(0x12b)][_0x2443b9(0x166)],0x0)&&(_0xe165c=_0xe165c[_0x2443b9(0x10b)](this['getCleanedPerfEvents']())),this[_0x2443b9(0x145)][_0x2443b9(0x159)](),_0xe165c;}static[a79_0x2171e5(0x121)](){const _0x183923=a79_0x2171e5,_0x3a708a={};_0x3a708a[_0x183923(0x190)]=function(_0x531e77,_0x4c2fe4){return _0x531e77===_0x4c2fe4;},_0x3a708a['RUEFn']=function(_0x2eda9e,_0x21b2ac){return _0x2eda9e+_0x21b2ac;};const _0x38dcec=_0x3a708a;if(_0x38dcec[_0x183923(0x190)](this[_0x183923(0x16b)]['length'],0x0))return;const _0x47e57d=JSON['stringify'](this[_0x183923(0x16b)]),_0x12a052=_0x38dcec['RUEFn'](_0x47e57d['slice'](0x1,-0x1),',');fs['appendFileSync'](this[_0x183923(0x174)],_0x12a052);}static[a79_0x2171e5(0x11e)](){const _0x10cba7=a79_0x2171e5,_0x55f7de={};_0x55f7de['mapNG']=function(_0xac1368,_0x12de17){return _0xac1368>_0x12de17;};const _0x1c653e=_0x55f7de;if(!fs[_0x10cba7(0x12a)](this[_0x10cba7(0x163)]))return this[_0x10cba7(0x16b)];let _0x2e4111=fs[_0x10cba7(0x136)](this['errorReportFileName'])[_0x10cba7(0x15e)]();_0x2e4111='['+_0x2e4111[_0x10cba7(0x19b)](0x0,-0x1)+']';let _0x30b962=JSON[_0x10cba7(0x182)](_0x2e4111);return _0x1c653e[_0x10cba7(0x172)](this[_0x10cba7(0x16b)][_0x10cba7(0x166)],0x0)&&(_0x30b962=_0x30b962[_0x10cba7(0x10b)](this[_0x10cba7(0x16b)])),fs['unlinkSync'](this['errorReportFileName']),_0x30b962;}static[a79_0x2171e5(0x14b)](_0x1a0469){const _0xafba72=a79_0x2171e5;if(!this['isEnabled']())return;this[_0xafba72(0x16b)][_0xafba72(0x140)]({'message':_0x1a0469[_0xafba72(0x14d)],'trace':_0x1a0469['stack'],'code':_0x1a0469[_0xafba72(0x17e)]||null,'time':new Date()});}static[a79_0x2171e5(0x13e)](){const _0x3f93a7=a79_0x2171e5;try{if(!this[_0x3f93a7(0x199)]())return;this[_0x3f93a7(0x145)][_0x3f93a7(0x159)](),this[_0x3f93a7(0x156)](),this[_0x3f93a7(0x121)]();}catch(_0x19bb15){logger[_0x3f93a7(0x192)](_0x3f93a7(0x164)+util[_0x3f93a7(0x146)](_0x19bb15));}}static async['finalize'](){const _0x1e9c3c=a79_0x2171e5,_0x1a8635={'OgKoR':function(_0x4197b3,_0x1538ca){return _0x4197b3(_0x1538ca);}};await _0x1a8635[_0x1e9c3c(0x13d)](sleep,0x1e);const _0x3b338e=await this[_0x1e9c3c(0x138)](),_0x3ac6bb=this[_0x1e9c3c(0x11e)]();if(!this[_0x1e9c3c(0x199)]()){const _0x436ea8={};return _0x436ea8[_0x1e9c3c(0x173)]=[],_0x436ea8[_0x1e9c3c(0xfe)]=[],_0x436ea8;}const _0x2c5f05={};return _0x2c5f05[_0x1e9c3c(0x173)]=_0x3b338e,_0x2c5f05['errors']=_0x3ac6bb,_0x2c5f05;}static[a79_0x2171e5(0x11a)](_0x201010){const _0x4255f9=a79_0x2171e5,_0x4d8b18={};_0x4d8b18[_0x4255f9(0x165)]=function(_0x5b1afc,_0x4aaeca){return _0x5b1afc+_0x4aaeca;},_0x4d8b18['hDARE']=_0x4255f9(0x161);const _0x146b19=_0x4d8b18,_0x42eeb8=_0x146b19[_0x4255f9(0x165)](_0x201010,_0x146b19[_0x4255f9(0x17d)]);if(this[_0x4255f9(0x135)][_0x42eeb8])return;performance[_0x4255f9(0x19c)](_0x42eeb8),this[_0x4255f9(0x135)][_0x42eeb8]=0x1;}static[a79_0x2171e5(0x10a)](_0x1f3b60,_0x2cab66=!![],_0x17c773=null,_0x215614={}){const _0x11327d=a79_0x2171e5,_0x244bcb={'ItqOc':function(_0x5e825a,_0xb94c0d){return _0x5e825a+_0xb94c0d;},'pICxN':_0x11327d(0x157),'GKhAg':function(_0x49eac0,_0x17d45d){return _0x49eac0+_0x17d45d;},'SBkMk':'-start','oKOaM':function(_0x49159d){return _0x49159d();}};performance[_0x11327d(0x19c)](_0x244bcb['ItqOc'](_0x1f3b60,_0x244bcb[_0x11327d(0x18f)])),performance[_0x11327d(0x15b)](_0x1f3b60,_0x244bcb[_0x11327d(0x15c)](_0x1f3b60,_0x244bcb[_0x11327d(0x103)]),_0x244bcb[_0x11327d(0x15c)](_0x1f3b60,_0x244bcb[_0x11327d(0x18f)]));const _0x3bd1e2={};_0x3bd1e2['success']=_0x2cab66,_0x3bd1e2['failure']=_0x17c773,this[_0x11327d(0x109)][_0x1f3b60]=Object['assign'](_0x3bd1e2,Object[_0x11327d(0x191)](Object[_0x11327d(0x191)]({'worker':_0x244bcb[_0x11327d(0x13f)](getProcessId),'platform':global[_0x11327d(0x101)]&&global['__platformCaps'][_0x11327d(0x125)],'testName':_0x244bcb['oKOaM'](getTestName)},_0x215614),this[_0x11327d(0x109)][_0x1f3b60]||{}));}}module[a79_0x2171e5(0x120)]=PerformanceTester;function a79_0x4d08(){const _0x34dc2c=['resolve','captureError','rMRKb','message','sRwRJ','</td></tr>','5208vrRiJd','buzGZ','errorReportDirName','getPerformance','sBzgD','/performance-report-','pushPerfMeasures','-end','readdirSync','disconnect','<h1>Performance\x20Report</h1>','measure','GKhAg','oDLMY','toString','unlinkSync','80598nRtJEd','-start','jwRwm','errorReportFileName','Error\x20stopping\x20monitoring\x20','yQULi','length','apply','measureWrapper','5QFzBne','match','_errorEvents','calculateTimesFromMultipleFiles','nduaH','forEach','pfLoH','performance-report','NCRFq','mapNG','measures','errorFile','656AevnVv','46412707jKBWfI','sekVd','_events','../processHelper','560530WfuxLP','qzdYX','Error\x20in\x20doing\x20csv\x20operations:\x20','hDARE','code','testName','path','cXkuQ','parse','fs/promises','performance-own.html','getEventsFromJSON','BROWSERSTACK_SDK_INSTRUMENTATION','meta','then','\x20for\x20all\x20processes\x20is\x20','mkdirSync','pPuTw','zPqfA','jsonReportDirPath','<tr><td>','pICxN','nNGrF','assign','debug','782643DKCFMG','MxNMI','getEntries','/error-report-','entryType','readFile','isEnabled','XpwHG','slice','mark','kePeo','9733257VivGcn','errors','started','OUzgE','__platformCaps','Error\x20while\x20removing\x20files:\x20','SBkMk','writeFileSync','error-report','wYbpI','attmK','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','details','end','concat','Gtfvk','util','getCleanedPerfEvents','10tfnvRV','4985mRettU','catch','vxwUs','jkjcK','log','Xzxpt','../logger','utf-8','false','rmUCh','start','</tbody></table></body></html>','appendFileSync','writeFile','finalizeErrors','env','exports','pushErrors','platform','all','hwBVX','index','map','name','mEVJw','winstonLogger','existsSync','_measureEvents','chiKv','reduce','duration','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','browserStackCwd','CWdkl','Time\x20for\x20','join','generateHTMLReport','eventsMap','readFileSync','observe','finalizePerfMeasures','stringify','startMonitoring','calculateTimeFromEvents','toJSON','OgKoR','stopMonitoring','oKOaM','push','generateJSON','jsonReportFileName','perf_hooks','.json','_observer','format','4977656aiBUlZ','cwd','jsonReportDirName'];a79_0x4d08=function(){return _0x34dc2c;};return a79_0x4d08();}
1
+ const a79_0x927b18=a79_0x5abc;(function(_0x265b0d,_0x20ddba){const _0x6260b9=a79_0x5abc,_0x388c5d=_0x265b0d();while(!![]){try{const _0x4cf5ec=parseInt(_0x6260b9(0x14c))/0x1+parseInt(_0x6260b9(0xef))/0x2*(-parseInt(_0x6260b9(0x11d))/0x3)+parseInt(_0x6260b9(0x10b))/0x4+parseInt(_0x6260b9(0xd8))/0x5*(-parseInt(_0x6260b9(0x128))/0x6)+-parseInt(_0x6260b9(0xe6))/0x7*(parseInt(_0x6260b9(0xe7))/0x8)+-parseInt(_0x6260b9(0x134))/0x9*(parseInt(_0x6260b9(0x125))/0xa)+parseInt(_0x6260b9(0xcc))/0xb;if(_0x4cf5ec===_0x20ddba)break;else _0x388c5d['push'](_0x388c5d['shift']());}catch(_0x3351cb){_0x388c5d['push'](_0x388c5d['shift']());}}}(a79_0x1b95,0x8821d));function a79_0x5abc(_0x1b2a1d,_0x42954a){const _0x1b9561=a79_0x1b95();return a79_0x5abc=function(_0x5abc8e,_0x5e0346){_0x5abc8e=_0x5abc8e-0xbd;let _0xbca17=_0x1b9561[_0x5abc8e];return _0xbca17;},a79_0x5abc(_0x1b2a1d,_0x42954a);}const fs=require('fs'),fsPromise=require(a79_0x927b18(0x141)),{performance,PerformanceObserver}=require(a79_0x927b18(0x122)),path=require(a79_0x927b18(0x12d)),util=require(a79_0x927b18(0x154)),logger=require('../logger')['winstonLogger'],{getProcessId,sleep,debug,getTestName}=require(a79_0x927b18(0x142));function a79_0x1b95(){const _0x595af3=['getPerformance','soYSx','UNUIP','mVppc','getEventsFromJSON','then','pushPerfMeasures','yCwkH','bsqSc','finalizeErrors','-start','measures','tfvXb','174meNKmM','Error\x20while\x20removing\x20files:\x20','join','__platformCaps','_errorEvents','perf_hooks','Error\x20in\x20creating\x20performance\x20reports\x20directory:\x20','dQhml','6770JlKVWJ','RKoaM','code','12cBVEys','browserStackCwd','meta','.json','toJSON','path','</tbody></table></body></html>','mark','/error-report-','calculateTimesFromMultipleFiles','calculateTimeFromEvents','hxSCj','8127FbzYvS','parse','performance-own.html','resolve','kQPPZ','getEntries','oMJCc','UsrhI','Error\x20stopping\x20monitoring\x20','QxLXn','length','IAqsO','stopMonitoring','fs/promises','../processHelper','</td></tr>','zXgLn','measure','pushErrors','yYgvW','platform','stopAndGenerate','fNupR','duration','1049734dqJIRT','finalizePerfMeasures','getCleanedPerfEvents','PIHRG','testName','end','FruHF','UOzBC','util','captureError','QVMBw','errors','performance-report','jsonReportDirPath','started','errorReportDirName','-end','writeFile','wgOjr','EbloV','observe','ppXre','exports','UZTJt','env','slice','errorReportFileName','false','function','YqSpU','details','22326315ExgDkK','XLAuG','mkdirSync','debug','eIGBw','push','cwd','_events','FhQkn','Bxrll','_measureEvents','rwYWH','1436255qpgDMk','assign','utf-8','concat','mfjlu','<h1>Performance\x20Report</h1>','name','reduce','\x20for\x20all\x20processes\x20is\x20','appendFileSync','readFileSync','jbSgD','generateHTMLReport','jsonReportDirName','14cQPmKO','3834552zMRPul','start','message','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','forEach','existsSync','log','agYwd','30350BttlKl','jrKzi','WCaPA','entryTypes','<tr><td>','unlinkSync','stringify','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','index','Performance\x20report\x20is\x20at\x20','_observer','BROWSERSTACK_SDK_INSTRUMENTATION','EiPKW','apply','RkBSD','jsonReportFileName','startMonitoring','disconnect','writeFileSync','generateJSON','format','/performance-report-','map','</td><td>','entries','Time\x20for\x20','toString','splice','2011276StbCVH','eventsMap','isEnabled','wRwpJ','all'];a79_0x1b95=function(){return _0x595af3;};return a79_0x1b95();}class PerformanceTester{static [a79_0x927b18(0xf9)];static [a79_0x927b18(0xd3)]=[];static ['_measureEvents']=[];static [a79_0x927b18(0x121)]=[];static [a79_0x927b18(0x15a)]=![];static [a79_0x927b18(0xe5)]=a79_0x927b18(0x158);static [a79_0x927b18(0x159)]=process[a79_0x927b18(0xc5)][a79_0x927b18(0x129)]?path[a79_0x927b18(0x11f)](process[a79_0x927b18(0xc5)][a79_0x927b18(0x129)],this[a79_0x927b18(0xe5)]):path[a79_0x927b18(0x11f)](process['cwd'](),a79_0x927b18(0xed),this[a79_0x927b18(0xe5)]);static [a79_0x927b18(0x15b)]=process[a79_0x927b18(0xc5)]['browserStackCwd']?path[a79_0x927b18(0x11f)](process[a79_0x927b18(0xc5)]['browserStackCwd'],'error-report'):path['join'](process[a79_0x927b18(0xd2)](),'error-report');static [a79_0x927b18(0xfe)]=this[a79_0x927b18(0x159)]+a79_0x927b18(0x104)+getProcessId()+a79_0x927b18(0x12b);static [a79_0x927b18(0xc7)]=this[a79_0x927b18(0x15b)]+a79_0x927b18(0x130)+getProcessId()+a79_0x927b18(0x12b);static [a79_0x927b18(0xcb)]={};static [a79_0x927b18(0x10c)]={};static[a79_0x927b18(0xff)](_0x566546=this[a79_0x927b18(0x159)]+a79_0x927b18(0x104)+getProcessId()+'.json',_0x1f8b9c=this[a79_0x927b18(0x15b)]+a79_0x927b18(0x130)+getProcessId()+a79_0x927b18(0x12b)){const _0x1b450f=a79_0x927b18,_0x5ed58f={};_0x5ed58f[_0x1b450f(0x14f)]=function(_0x407e52,_0x28640c){return _0x407e52===_0x28640c;},_0x5ed58f[_0x1b450f(0x126)]=_0x1b450f(0x145),_0x5ed58f[_0x1b450f(0xe3)]=function(_0x57cb04,_0x132e78){return _0x57cb04+_0x132e78;},_0x5ed58f[_0x1b450f(0xf0)]=_0x1b450f(0x123),_0x5ed58f[_0x1b450f(0xd4)]=_0x1b450f(0xc9);const _0x88a2db=_0x5ed58f;try{!fs[_0x1b450f(0xec)](this[_0x1b450f(0x159)])&&fs[_0x1b450f(0xce)](this['jsonReportDirPath']);}catch(_0x2702f1){logger[_0x1b450f(0xcf)](_0x88a2db['jbSgD'](_0x88a2db['jrKzi'],_0x2702f1));}if(this[_0x1b450f(0x15a)]||!this[_0x1b450f(0x10d)]())return;this[_0x1b450f(0xf9)]=new PerformanceObserver(_0xe58c3e=>{const _0xd18809=_0x1b450f,_0x27532a={'OfJgO':function(_0x5c63a2,_0x225713){const _0x4addea=a79_0x5abc;return _0x88a2db[_0x4addea(0x14f)](_0x5c63a2,_0x225713);},'GcBhT':_0x88a2db[_0xd18809(0x126)]};_0xe58c3e[_0xd18809(0x139)]()[_0xd18809(0xeb)](_0x4f2bef=>{const _0x5dcfd2=_0xd18809;if(_0x27532a['OfJgO'](_0x4f2bef['entryType'],_0x27532a['GcBhT'])){let _0x1b190c={};if(_0x4f2bef[_0x5dcfd2(0x12c)])_0x1b190c=_0x4f2bef['toJSON']();else for(const _0x4b4022 in _0x4f2bef){_0x1b190c[_0x4b4022]=_0x4f2bef[_0x4b4022];}this[_0x5dcfd2(0xcb)][_0x4f2bef[_0x5dcfd2(0xde)]]&&(_0x1b190c=Object[_0x5dcfd2(0xd9)](_0x1b190c,this[_0x5dcfd2(0xcb)][_0x4f2bef[_0x5dcfd2(0xde)]])),delete this[_0x5dcfd2(0xcb)][_0x4f2bef[_0x5dcfd2(0xde)]],this[_0x5dcfd2(0xd6)][_0x5dcfd2(0xd1)](_0x1b190c);}else this[_0x5dcfd2(0xd3)][_0x5dcfd2(0xd1)](_0x4f2bef);});});const _0x502771={};_0x502771['buffered']=!![],_0x502771[_0x1b450f(0xf2)]=[_0x88a2db[_0x1b450f(0xd4)],_0x88a2db[_0x1b450f(0x126)]],this[_0x1b450f(0xf9)][_0x1b450f(0xc1)](_0x502771),this['started']=!![],this[_0x1b450f(0xfe)]=_0x566546,this['errorReportFileName']=_0x1f8b9c;}static[a79_0x927b18(0x110)](){return performance;}static[a79_0x927b18(0x132)](_0x37bd38,_0x3088f0){const _0x120c74=a79_0x927b18,_0x173a40={};_0x173a40[_0x120c74(0x13f)]=function(_0x3cf77f,_0x2bdcda){return _0x3cf77f+_0x2bdcda;},_0x173a40[_0x120c74(0x14a)]=function(_0x3abdfc,_0x18f0da){return _0x3abdfc||_0x18f0da;},_0x173a40[_0x120c74(0x112)]=function(_0xebb65e,_0xf45a3){return _0xebb65e===_0xf45a3;};const _0x90a24e=_0x173a40,_0x102f90={};if(!_0x37bd38||_0x90a24e['UNUIP'](_0x37bd38[_0x120c74(0x13e)],0x0))return;_0x37bd38[_0x120c74(0x105)](_0x551770=>{const _0x5ee50c=_0x120c74;!_0x102f90[_0x551770['name']]&&(_0x102f90[_0x551770[_0x5ee50c(0xde)]]=0x0),_0x102f90[_0x551770[_0x5ee50c(0xde)]]+=_0x551770[_0x5ee50c(0x14b)];});const _0x34ad49=_0x3088f0[_0x120c74(0xdf)]((_0x122628,_0xab62d3)=>{const _0x4c966f=_0x120c74;return _0x90a24e[_0x4c966f(0x13f)](_0x102f90[_0xab62d3],_0x90a24e[_0x4c966f(0x14a)](_0x122628,0x0));},0x0);return _0x34ad49;}static async[a79_0x927b18(0x131)](_0x28b643,_0x4e04af){const _0x2c32a4=a79_0x927b18,_0x3e9f83={'hxSCj':function(_0x1cfaf8,_0x2a9b57){return _0x1cfaf8+_0x2a9b57;},'wRwpJ':function(_0x44f454,_0x565246){return _0x44f454||_0x565246;},'mjJAP':function(_0x1f0eac,_0x2a31cd){return _0x1f0eac===_0x2a31cd;},'eIGBw':function(_0x5962e1,_0xe12455){return _0x5962e1(_0xe12455);},'zXgLn':function(_0x5cfa9f,_0x18b24f){return _0x5cfa9f(_0x18b24f);}};if(!_0x28b643||_0x3e9f83['mjJAP'](_0x28b643['length'],0x0))return 0x0;const _0x5cac56=[];for(const _0x4723c5 of _0x28b643){const _0x2b6e1c=path[_0x2c32a4(0x11f)]('.',_0x4723c5);try{const _0x554026=this[_0x2c32a4(0x114)](_0x2b6e1c);_0x554026[_0x2c32a4(0x105)](_0x32cfec=>{const _0x16d3f4=_0x2c32a4;!_0x5cac56[_0x32cfec[_0x16d3f4(0xde)]]&&(_0x5cac56[_0x32cfec[_0x16d3f4(0xde)]]=0x0),_0x5cac56[_0x32cfec[_0x16d3f4(0xde)]]+=_0x32cfec[_0x16d3f4(0x14b)];});}catch(_0x281d68){_0x3e9f83[_0x2c32a4(0xd0)](debug,'Error\x20in\x20doing\x20csv\x20operations:\x20'+_0x281d68[_0x2c32a4(0x109)]());}}const _0x3abf01=_0x4e04af['reduce']((_0x3d2688,_0x27da6f)=>{const _0x4e952e=_0x2c32a4;return _0x3e9f83[_0x4e952e(0x133)](_0x5cac56[_0x27da6f],_0x3e9f83[_0x4e952e(0x10e)](_0x3d2688,0x0));},0x0);return _0x3e9f83[_0x2c32a4(0x144)](debug,_0x2c32a4(0x108)+_0x4e04af+_0x2c32a4(0xe0)+_0x3abf01),_0x3abf01;}static[a79_0x927b18(0x114)](_0x355f53){const _0x4a5330=a79_0x927b18;if(!fs[_0x4a5330(0xec)](_0x355f53))return[];return JSON['parse'](fs[_0x4a5330(0xe2)](_0x355f53)[_0x4a5330(0x109)]());}static async[a79_0x927b18(0x149)](_0x4fe003=a79_0x927b18(0x136),_0x5d68f6=null){const _0x487acb=a79_0x927b18,_0x1d54d1={'ppXre':function(_0x51085d,_0x212632){return _0x51085d(_0x212632);},'yCwkH':function(_0x1d2868,_0x2ba01e){return _0x1d2868(_0x2ba01e);}};if(!this[_0x487acb(0x15a)])return;await _0x1d54d1[_0x487acb(0x117)](sleep,0x1e),this['_observer']['disconnect'](),this['started']=![],this['generateJSON'](this[_0x487acb(0xd3)]);const _0x8a4bec=this[_0x487acb(0xe4)](this[_0x487acb(0xd3)]),_0x3226b5=path[_0x487acb(0x11f)](process['cwd'](),_0x4fe003);fs[_0x487acb(0xbe)](_0x3226b5,_0x8a4bec,_0x58cb8e=>{const _0x55e158=_0x487acb;if(_0x58cb8e){_0x1d54d1[_0x55e158(0xc2)](debug,'Error\x20in\x20writing\x20html\x20'+_0x58cb8e[_0x55e158(0x109)]());return;}_0x1d54d1[_0x55e158(0xc2)](debug,_0x55e158(0xf8)+_0x3226b5);});if(_0x5d68f6)return this['calculateTimeFromEvents'](this['_events'],_0x5d68f6);}static[a79_0x927b18(0xe4)](_0x528321){const _0x3d61de=a79_0x927b18,_0x210d65={};_0x210d65['EiPKW']=_0x3d61de(0xea),_0x210d65[_0x3d61de(0x13b)]=_0x3d61de(0xdd),_0x210d65[_0x3d61de(0xdc)]=_0x3d61de(0xf6),_0x210d65['bsqSc']=_0x3d61de(0x12e);const _0x4b584e=_0x210d65;let _0x1e18e0=_0x4b584e[_0x3d61de(0xfb)];return _0x1e18e0+=_0x4b584e[_0x3d61de(0x13b)],_0x1e18e0+=_0x4b584e[_0x3d61de(0xdc)],_0x528321[_0x3d61de(0xeb)](_0x5d1ac3=>{const _0x1f16a9=_0x3d61de;_0x1e18e0+=_0x1f16a9(0xf3)+_0x5d1ac3[_0x1f16a9(0xde)]+_0x1f16a9(0x106)+_0x5d1ac3['duration']+_0x1f16a9(0x143);}),_0x1e18e0+=_0x4b584e[_0x3d61de(0x118)],_0x1e18e0;}static[a79_0x927b18(0x102)](_0x419b84){const _0x4bc4b5=a79_0x927b18;if(!this[_0x4bc4b5(0xfe)])return;const _0x2b1d18={};_0x419b84[_0x4bc4b5(0x105)](_0x1fddb5=>{const _0x58befa=_0x4bc4b5;!_0x2b1d18[_0x1fddb5['name']]&&(_0x2b1d18[_0x1fddb5['name']]=0x0),_0x2b1d18[_0x1fddb5['name']]+=_0x1fddb5[_0x58befa(0x14b)];});const _0x572ca3=Object[_0x4bc4b5(0x107)](_0x2b1d18)['map'](([_0x43459e,_0x4e0fa3])=>{const _0x6d93f3=_0x4bc4b5,_0x44bee={};return _0x44bee[_0x6d93f3(0xde)]=_0x43459e,_0x44bee[_0x6d93f3(0x14b)]=_0x4e0fa3,_0x44bee;});fs[_0x4bc4b5(0x101)](this['jsonReportFileName'],JSON[_0x4bc4b5(0xf5)](_0x572ca3));}static[a79_0x927b18(0x10d)](){const _0x5bcc8f=a79_0x927b18,_0x62bfbe={};_0x62bfbe[_0x5bcc8f(0x113)]=function(_0x1b9128,_0x7b744d){return _0x1b9128===_0x7b744d;},_0x62bfbe[_0x5bcc8f(0xf1)]=_0x5bcc8f(0xc8);const _0x2268ff=_0x62bfbe;return!_0x2268ff[_0x5bcc8f(0x113)](process[_0x5bcc8f(0xc5)][_0x5bcc8f(0xfa)],_0x2268ff[_0x5bcc8f(0xf1)]);}static[a79_0x927b18(0x145)](_0x257caf,_0x2ba50a,_0x518947=null,_0xc72c9f={},_0x4369cb=null){const _0x160b63=a79_0x927b18,_0x59ec8d={'rwYWH':function(_0x22bd5e,_0x5098a4){return _0x22bd5e(_0x5098a4);},'QxLXn':function(_0x1adb58,_0x3646ed){return _0x1adb58 instanceof _0x3646ed;}};try{if(this[_0x160b63(0x15a)]&&this[_0x160b63(0x10d)]()){let _0x2ff0e1=_0x257caf;_0x518947&&(_0x2ff0e1=_0x257caf+'['+JSON[_0x160b63(0xf5)](_0x518947)+']');PerformanceTester[_0x160b63(0xe8)](_0x2ff0e1),this['details']&&(this[_0x160b63(0xcb)][_0x2ff0e1]=_0xc72c9f);try{const _0x2cf5c4=_0x2ba50a[_0x160b63(0xfc)](null,_0x4369cb);if(_0x59ec8d[_0x160b63(0x13d)](_0x2cf5c4,Promise))return new Promise((_0x3bb8e3,_0x38a66a)=>{const _0x415889=_0x160b63;_0x2cf5c4[_0x415889(0x115)](_0x1b72cc=>{const _0x22aee8=_0x415889;PerformanceTester[_0x22aee8(0x151)](_0x2ff0e1),_0x59ec8d[_0x22aee8(0xd7)](_0x3bb8e3,_0x1b72cc);})['catch'](_0x46de20=>{const _0xf98728=_0x415889;PerformanceTester[_0xf98728(0x151)](_0x2ff0e1,![],util['format'](_0x46de20)),_0x59ec8d['rwYWH'](_0x38a66a,_0x46de20);});});;return PerformanceTester[_0x160b63(0x151)](_0x2ff0e1),_0x2cf5c4;}catch(_0x562871){PerformanceTester[_0x160b63(0x151)](_0x2ff0e1,![],util[_0x160b63(0x103)](_0x562871));throw _0x562871;}};return _0x2ba50a[_0x160b63(0xfc)](null,_0x4369cb);}catch(_0x77c7fd){return _0x2ba50a['apply'](null,_0x4369cb);}}static['measureWrapper'](_0x2c72a7,_0x1ab9d4,_0x5d935a={}){const _0x326b71=a79_0x927b18,_0x275ce2={'FruHF':function(_0x3d3a99){return _0x3d3a99();},'cEGHD':function(_0x2e697d){return _0x2e697d();}},_0x48fffa=this;return _0x5d935a['worker']=_0x275ce2[_0x326b71(0x152)](getProcessId),_0x5d935a[_0x326b71(0x150)]=_0x275ce2['cEGHD'](getTestName),_0x5d935a[_0x326b71(0x148)]=global[_0x326b71(0x120)]&&global[_0x326b71(0x120)][_0x326b71(0xf7)],function(){const _0x225d2a=_0x326b71,_0x5f5a0f=[_0x2c72a7,_0x1ab9d4,null,_0x5d935a]['concat'](arguments);return _0x48fffa[_0x225d2a(0x145)][_0x225d2a(0xfc)](_0x48fffa,_0x5f5a0f);};}static['getCleanedPerfEvents'](){const _0x56b492=a79_0x927b18,_0x2bf5b1=/(^.*)\[(.*)\]$/,_0x1e1774={},_0x3d385f={},_0x49f709=[],_0x4de77b=this[_0x56b492(0xd6)][_0x56b492(0x10a)](0x0,this[_0x56b492(0xd6)][_0x56b492(0x13e)]);for(const _0x1b28ef of _0x4de77b){const _0x115dbb=_0x1b28ef[_0x56b492(0xde)]['match'](_0x2bf5b1),_0x4a1dd4=Object[_0x56b492(0xd9)]({},_0x1b28ef);_0x115dbb&&(_0x4a1dd4[_0x56b492(0xde)]=_0x115dbb[0x1],_0x4a1dd4[_0x56b492(0x12a)]=JSON['parse'](_0x115dbb[0x2])),_0x49f709[_0x56b492(0xd1)](_0x4a1dd4);}return _0x49f709;}static[a79_0x927b18(0x116)](){const _0x431f3a=a79_0x927b18,_0x4be8aa={};_0x4be8aa[_0x431f3a(0x138)]=function(_0x7863b5,_0x184e65){return _0x7863b5+_0x184e65;},_0x4be8aa[_0x431f3a(0x13a)]=_0x431f3a(0x11e),_0x4be8aa[_0x431f3a(0xc4)]=function(_0x188e99,_0x3b421c){return _0x188e99===_0x3b421c;};const _0x338206=_0x4be8aa;try{if(fs[_0x431f3a(0xec)](this[_0x431f3a(0x159)])){const _0x50f41a=fs['readdirSync'](this[_0x431f3a(0x159)]);for(const _0x47b3c9 of _0x50f41a){fs[_0x431f3a(0xf4)](path['join'](this['jsonReportDirPath'],_0x47b3c9));}}}catch(_0x3ee233){logger[_0x431f3a(0xcf)](_0x338206[_0x431f3a(0x138)](_0x338206[_0x431f3a(0x13a)],_0x3ee233));}if(_0x338206['UZTJt'](this[_0x431f3a(0xd6)][_0x431f3a(0x13e)],0x0))return;const _0x3a4929=this['getCleanedPerfEvents'](),_0x38d4b4=JSON[_0x431f3a(0xf5)](_0x3a4929),_0x4b6318=_0x338206[_0x431f3a(0x138)](_0x38d4b4[_0x431f3a(0xc6)](0x1,-0x1),',');fs['appendFileSync'](this[_0x431f3a(0xfe)],_0x4b6318);}static async[a79_0x927b18(0x14d)](){const _0x2bc0f6=a79_0x927b18,_0x245ffc={};_0x245ffc[_0x2bc0f6(0xca)]=function(_0x11dec8,_0x46a98a){return _0x11dec8===_0x46a98a;},_0x245ffc[_0x2bc0f6(0x153)]=function(_0x253793,_0x77038d){return _0x253793>_0x77038d;};const _0x16e1a9=_0x245ffc;if(!this[_0x2bc0f6(0x15a)]||_0x16e1a9['YqSpU'](this[_0x2bc0f6(0xd6)][_0x2bc0f6(0x13e)],0x0))return[];if(!fs['existsSync'](this[_0x2bc0f6(0x159)]))return this[_0x2bc0f6(0xd6)];const _0x17b458=(await fsPromise['readdir'](this['jsonReportDirPath']))[_0x2bc0f6(0x105)](_0x41e9ae=>path[_0x2bc0f6(0x137)](this['jsonReportDirPath'],_0x41e9ae));let _0x46dc2c=(await Promise[_0x2bc0f6(0x10f)](_0x17b458[_0x2bc0f6(0x105)](_0x4797cf=>fsPromise['readFile'](_0x4797cf,_0x2bc0f6(0xda)))))[_0x2bc0f6(0x105)](_0x147d23=>'['+_0x147d23['slice'](0x0,-0x1)+']')[_0x2bc0f6(0x105)](_0x39eccf=>JSON[_0x2bc0f6(0x135)](_0x39eccf))['flat']();return _0x16e1a9['UOzBC'](this['_measureEvents'][_0x2bc0f6(0x13e)],0x0)&&(_0x46dc2c=_0x46dc2c[_0x2bc0f6(0xdb)](this[_0x2bc0f6(0x14e)]())),this[_0x2bc0f6(0xf9)][_0x2bc0f6(0x100)](),_0x46dc2c;}static[a79_0x927b18(0x146)](){const _0x9dc814=a79_0x927b18,_0x3d5555={};_0x3d5555['dQhml']=function(_0xa44ac0,_0x215078){return _0xa44ac0===_0x215078;},_0x3d5555[_0x9dc814(0xfd)]=function(_0x116f50,_0x18e84c){return _0x116f50+_0x18e84c;};const _0x36040e=_0x3d5555;if(_0x36040e[_0x9dc814(0x124)](this[_0x9dc814(0x121)][_0x9dc814(0x13e)],0x0))return;const _0x565372=JSON[_0x9dc814(0xf5)](this['_errorEvents']),_0xa1ad6a=_0x36040e[_0x9dc814(0xfd)](_0x565372[_0x9dc814(0xc6)](0x1,-0x1),',');fs[_0x9dc814(0xe1)](this['errorFile'],_0xa1ad6a);}static['finalizeErrors'](){const _0x17bdf7=a79_0x927b18,_0x1bc0ab={};_0x1bc0ab['agYwd']=function(_0x498a4f,_0x23d02a){return _0x498a4f>_0x23d02a;};const _0x4faa61=_0x1bc0ab;if(!fs['existsSync'](this['errorReportFileName']))return this[_0x17bdf7(0x121)];let _0x388059=fs[_0x17bdf7(0xe2)](this[_0x17bdf7(0xc7)])['toString']();_0x388059='['+_0x388059[_0x17bdf7(0xc6)](0x0,-0x1)+']';let _0x4a4910=JSON[_0x17bdf7(0x135)](_0x388059);return _0x4faa61[_0x17bdf7(0xee)](this[_0x17bdf7(0x121)]['length'],0x0)&&(_0x4a4910=_0x4a4910[_0x17bdf7(0xdb)](this[_0x17bdf7(0x121)])),fs[_0x17bdf7(0xf4)](this[_0x17bdf7(0xc7)]),_0x4a4910;}static[a79_0x927b18(0x155)](_0x561499){const _0x241bd9=a79_0x927b18;if(!this[_0x241bd9(0x10d)]())return;this['_errorEvents']['push']({'message':_0x561499[_0x241bd9(0xe9)],'trace':_0x561499['stack'],'code':_0x561499[_0x241bd9(0x127)]||null,'time':new Date()});}static[a79_0x927b18(0x140)](){const _0xdb2f95=a79_0x927b18;try{if(!this['isEnabled']())return;this[_0xdb2f95(0xf9)]['disconnect'](),this['pushPerfMeasures'](),this[_0xdb2f95(0x146)]();}catch(_0x378f57){logger['debug'](_0xdb2f95(0x13c)+util[_0xdb2f95(0x103)](_0x378f57));}}static async['finalize'](){const _0x4d65b1=a79_0x927b18,_0x418897={'Bxrll':function(_0x1f9ad3,_0x22c3de){return _0x1f9ad3(_0x22c3de);}};await _0x418897[_0x4d65b1(0xd5)](sleep,0x1e);const _0x1c24c4=await this[_0x4d65b1(0x14d)](),_0x4db850=this[_0x4d65b1(0x119)]();if(!this['isEnabled']()){const _0x391b59={};return _0x391b59[_0x4d65b1(0x11b)]=[],_0x391b59['errors']=[],_0x391b59;}const _0x2c8a63={};return _0x2c8a63[_0x4d65b1(0x11b)]=_0x1c24c4,_0x2c8a63[_0x4d65b1(0x157)]=_0x4db850,_0x2c8a63;}static[a79_0x927b18(0xe8)](_0x3e718a){const _0x1219c6=a79_0x927b18,_0xc40dad={};_0xc40dad[_0x1219c6(0x111)]=function(_0x598632,_0x511c8c){return _0x598632+_0x511c8c;},_0xc40dad[_0x1219c6(0xbf)]=_0x1219c6(0x11a);const _0x3d68a2=_0xc40dad,_0x252ec1=_0x3d68a2['soYSx'](_0x3e718a,_0x3d68a2['wgOjr']);if(this[_0x1219c6(0x10c)][_0x252ec1])return;performance[_0x1219c6(0x12f)](_0x252ec1),this['eventsMap'][_0x252ec1]=0x1;}static['end'](_0x9b0925,_0x9ca3d3=!![],_0x17cd9f=null,_0x31e8d2={}){const _0x17f80e=a79_0x927b18,_0x3587bb={'XLAuG':function(_0x59beaa,_0x34cedd){return _0x59beaa+_0x34cedd;},'tfvXb':_0x17f80e(0xbd),'EbloV':function(_0x5a8510,_0x569f72){return _0x5a8510+_0x569f72;},'QVMBw':_0x17f80e(0x11a),'yYgvW':function(_0x1a4119){return _0x1a4119();}};performance[_0x17f80e(0x12f)](_0x3587bb[_0x17f80e(0xcd)](_0x9b0925,_0x3587bb[_0x17f80e(0x11c)])),performance[_0x17f80e(0x145)](_0x9b0925,_0x3587bb['EbloV'](_0x9b0925,_0x3587bb[_0x17f80e(0x156)]),_0x3587bb[_0x17f80e(0xc0)](_0x9b0925,_0x3587bb[_0x17f80e(0x11c)]));const _0x3007d6={};_0x3007d6['success']=_0x9ca3d3,_0x3007d6['failure']=_0x17cd9f,this[_0x17f80e(0xcb)][_0x9b0925]=Object['assign'](_0x3007d6,Object[_0x17f80e(0xd9)](Object[_0x17f80e(0xd9)]({'worker':_0x3587bb[_0x17f80e(0x147)](getProcessId),'platform':global[_0x17f80e(0x120)]&&global[_0x17f80e(0x120)][_0x17f80e(0xf7)],'testName':_0x3587bb[_0x17f80e(0x147)](getTestName)},_0x31e8d2),this[_0x17f80e(0xcb)][_0x9b0925]||{}));}}module[a79_0x927b18(0xc3)]=PerformanceTester;
@@ -1 +1 @@
1
- const a80_0x1a04ae=a80_0x78a7;(function(_0xe76749,_0x559fa7){const _0x4cd3e3=a80_0x78a7,_0x2699f0=_0xe76749();while(!![]){try{const _0x3abcb5=parseInt(_0x4cd3e3(0x6e))/0x1*(-parseInt(_0x4cd3e3(0x6a))/0x2)+-parseInt(_0x4cd3e3(0x73))/0x3*(-parseInt(_0x4cd3e3(0x83))/0x4)+parseInt(_0x4cd3e3(0x6c))/0x5+parseInt(_0x4cd3e3(0x7d))/0x6+parseInt(_0x4cd3e3(0x6d))/0x7+parseInt(_0x4cd3e3(0x82))/0x8+-parseInt(_0x4cd3e3(0x7b))/0x9*(parseInt(_0x4cd3e3(0x71))/0xa);if(_0x3abcb5===_0x559fa7)break;else _0x2699f0['push'](_0x2699f0['shift']());}catch(_0x48ab5a){_0x2699f0['push'](_0x2699f0['shift']());}}}(a80_0x243d,0x6bde2));function a80_0x78a7(_0x4c17fe,_0x160751){const _0x243de8=a80_0x243d();return a80_0x78a7=function(_0x78a7e5,_0x33e8fd){_0x78a7e5=_0x78a7e5-0x6a;let _0x39e41e=_0x243de8[_0x78a7e5];return _0x39e41e;},a80_0x78a7(_0x4c17fe,_0x160751);}const worker=require(a80_0x1a04ae(0x6b)),{fileLogger}=require(a80_0x1a04ae(0x88)),{consoleHolder}=require(a80_0x1a04ae(0x79)),globals=require(a80_0x1a04ae(0x7f));exports[a80_0x1a04ae(0x7c)]=()=>{const _0xcd9b50=a80_0x1a04ae;return process[_0xcd9b50(0x7a)]+'-'+worker['threadId'];},exports[a80_0x1a04ae(0x86)]=()=>{const _0x2d4ad3=a80_0x1a04ae,_0x12ffc0={};_0x12ffc0[_0x2d4ad3(0x70)]=_0x2d4ad3(0x77);const _0x39487b=_0x12ffc0;return globals[_0x2d4ad3(0x78)](_0x39487b['AiBMU']);},exports[a80_0x1a04ae(0x6f)]=(_0x514444=0x64)=>new Promise(_0x3f3ba1=>setTimeout(_0x3f3ba1,_0x514444)),exports[a80_0x1a04ae(0x81)]=_0x2ef348=>{const _0x440c2f=a80_0x1a04ae,_0x2dabdb={};_0x2dabdb[_0x440c2f(0x87)]=function(_0x93946,_0xbbf002){return _0x93946===_0xbbf002;},_0x2dabdb[_0x440c2f(0x75)]=_0x440c2f(0x85),_0x2dabdb['FBrtp']=function(_0x44adba,_0x51c4c1){return _0x44adba===_0x51c4c1;};const _0x2bc7a6=_0x2dabdb;fileLogger[_0x440c2f(0x81)]('['+new Date()[_0x440c2f(0x7e)]()+_0x440c2f(0x76)+_0x2ef348),(_0x2bc7a6['MZQeH'](process[_0x440c2f(0x74)][_0x440c2f(0x84)],_0x2bc7a6['yhlKD'])||_0x2bc7a6[_0x440c2f(0x80)](process[_0x440c2f(0x74)]['BROWSERSTACK_OBSERVABILITY_DEBUG'],'1'))&&consoleHolder[_0x440c2f(0x72)]('\x0a['+new Date()[_0x440c2f(0x7e)]()+_0x440c2f(0x76)+_0x2ef348+'\x0a');};function a80_0x243d(){const _0x2b2219=['43755DzDwsH','env','yhlKD','][\x20OBSERVABILITY\x20]\x20','browserstackTestName','getGlobal','./test-observability/constants','pid','245772qymDNC','getProcessId','2561856jaqinJ','toISOString','./globals','FBrtp','debug','3588216DPmjzm','188hbxTpg','BROWSERSTACK_OBSERVABILITY_DEBUG','true','getTestName','MZQeH','./logger','58eIbchR','worker_threads','58560SzYcON','6118931ATToUm','2281gfwpcJ','sleep','AiBMU','710Sflyil','log'];a80_0x243d=function(){return _0x2b2219;};return a80_0x243d();}
1
+ const a80_0x4362aa=a80_0x2713;function a80_0x2713(_0x187369,_0x29dacc){const _0x1626d7=a80_0x1626();return a80_0x2713=function(_0x2713a4,_0x1b9860){_0x2713a4=_0x2713a4-0x16c;let _0x4d5c9c=_0x1626d7[_0x2713a4];return _0x4d5c9c;},a80_0x2713(_0x187369,_0x29dacc);}(function(_0x6fbf25,_0x3e2b46){const _0x28dccb=a80_0x2713,_0x4d678e=_0x6fbf25();while(!![]){try{const _0x17b5b8=-parseInt(_0x28dccb(0x170))/0x1*(parseInt(_0x28dccb(0x183))/0x2)+parseInt(_0x28dccb(0x175))/0x3*(-parseInt(_0x28dccb(0x172))/0x4)+-parseInt(_0x28dccb(0x16f))/0x5+parseInt(_0x28dccb(0x189))/0x6+parseInt(_0x28dccb(0x188))/0x7*(parseInt(_0x28dccb(0x17b))/0x8)+parseInt(_0x28dccb(0x18a))/0x9*(parseInt(_0x28dccb(0x173))/0xa)+parseInt(_0x28dccb(0x182))/0xb;if(_0x17b5b8===_0x3e2b46)break;else _0x4d678e['push'](_0x4d678e['shift']());}catch(_0x5edbd3){_0x4d678e['push'](_0x4d678e['shift']());}}}(a80_0x1626,0xecd4f));const worker=require(a80_0x4362aa(0x178)),{fileLogger}=require(a80_0x4362aa(0x171)),{consoleHolder}=require(a80_0x4362aa(0x185)),globals=require('./globals');exports[a80_0x4362aa(0x181)]=()=>{const _0x2989a5=a80_0x4362aa;return process[_0x2989a5(0x186)]+'-'+worker[_0x2989a5(0x16d)];},exports[a80_0x4362aa(0x17f)]=()=>{const _0x3459f9=a80_0x4362aa,_0x3931f7={};_0x3931f7[_0x3459f9(0x184)]=_0x3459f9(0x17a);const _0x9137ca=_0x3931f7;return globals[_0x3459f9(0x16c)](_0x9137ca[_0x3459f9(0x184)]);},exports[a80_0x4362aa(0x17e)]=(_0x49bffc=0x64)=>new Promise(_0xb249c1=>setTimeout(_0xb249c1,_0x49bffc)),exports[a80_0x4362aa(0x176)]=_0x496f12=>{const _0x1dfe29=a80_0x4362aa,_0xfaa817={};_0xfaa817[_0x1dfe29(0x174)]=function(_0x4842df,_0x4d3ecf){return _0x4842df===_0x4d3ecf;},_0xfaa817[_0x1dfe29(0x16e)]=_0x1dfe29(0x187);const _0x34eb75=_0xfaa817;fileLogger[_0x1dfe29(0x176)]('['+new Date()[_0x1dfe29(0x177)]()+_0x1dfe29(0x179)+_0x496f12),(_0x34eb75[_0x1dfe29(0x174)](process[_0x1dfe29(0x180)][_0x1dfe29(0x17d)],_0x34eb75[_0x1dfe29(0x16e)])||_0x34eb75['cvoSd'](process['env'][_0x1dfe29(0x17d)],'1'))&&consoleHolder[_0x1dfe29(0x17c)]('\x0a['+new Date()[_0x1dfe29(0x177)]()+_0x1dfe29(0x179)+_0x496f12+'\x0a');};function a80_0x1626(){const _0x83a8a=['sleep','getTestName','env','getProcessId','25886003KuRxWt','3118qtEtrc','dRPjr','./test-observability/constants','pid','true','1834LYySKS','7522692uMDBbF','72wFjkwI','getGlobal','threadId','ZmNkz','5195610kRTUGR','1217KHZlcF','./logger','8796nEYpAf','461470TewBIu','cvoSd','963qKmUCc','debug','toISOString','worker_threads','][\x20OBSERVABILITY\x20]\x20','browserstackTestName','19424qINXnl','log','BROWSERSTACK_OBSERVABILITY_DEBUG'];a80_0x1626=function(){return _0x83a8a;};return a80_0x1626();}
@@ -1 +1 @@
1
- const a81_0x157f1c=a81_0x5f4b;function a81_0x5f4b(_0x21c7f5,_0x17ba18){const _0x370c26=a81_0x370c();return a81_0x5f4b=function(_0x5f4b4c,_0x4c6dba){_0x5f4b4c=_0x5f4b4c-0x11e;let _0x5d2994=_0x370c26[_0x5f4b4c];return _0x5d2994;},a81_0x5f4b(_0x21c7f5,_0x17ba18);}(function(_0x1cfa33,_0x576347){const _0x54cf0a=a81_0x5f4b,_0x46d588=_0x1cfa33();while(!![]){try{const _0x38dc41=-parseInt(_0x54cf0a(0x133))/0x1+parseInt(_0x54cf0a(0x152))/0x2+-parseInt(_0x54cf0a(0x11e))/0x3+parseInt(_0x54cf0a(0x12b))/0x4*(-parseInt(_0x54cf0a(0x139))/0x5)+-parseInt(_0x54cf0a(0x14a))/0x6*(-parseInt(_0x54cf0a(0x14e))/0x7)+parseInt(_0x54cf0a(0x14b))/0x8+parseInt(_0x54cf0a(0x13e))/0x9*(parseInt(_0x54cf0a(0x125))/0xa);if(_0x38dc41===_0x576347)break;else _0x46d588['push'](_0x46d588['shift']());}catch(_0x5b1fa6){_0x46d588['push'](_0x46d588['shift']());}}}(a81_0x370c,0x1ab13));const http=require(a81_0x157f1c(0x12e)),https=require(a81_0x157f1c(0x137)),monkeypatch=require(a81_0x157f1c(0x13a));function spy(_0x5a5b1e){const _0x47e4c1=a81_0x157f1c,_0x4337fc={'RPXcE':function(_0xa196f7,_0x29ee9d){return _0xa196f7 instanceof _0x29ee9d;},'jLtPi':function(_0x10fefe,_0x3f34cf){return _0x10fefe===_0x3f34cf;},'qhQyN':_0x47e4c1(0x129),'fQhkq':function(_0x26b50b,_0x2677cb,_0x5c2d41){return _0x26b50b(_0x2677cb,_0x5c2d41);},'BgsvY':function(_0x12cd86,_0x41ad14){return _0x12cd86-_0x41ad14;},'XfEhO':function(_0x1610f1,_0x25da92,_0x4feb06){return _0x1610f1(_0x25da92,_0x4feb06);},'nalzX':_0x47e4c1(0x138),'edwDZ':function(_0x6436bd,..._0x4dd29d){return _0x6436bd(..._0x4dd29d);},'qHpYy':_0x47e4c1(0x13d),'FJEGK':_0x47e4c1(0x143),'jFbkF':function(_0x231bdb,_0x5abe76,_0xd5c960,_0x1bfc1c){return _0x231bdb(_0x5abe76,_0xd5c960,_0x1bfc1c);},'eakOY':_0x47e4c1(0x132),'CBXYF':'request'},_0x22fa60=function(){const _0x4d873a=_0x47e4c1,_0x346920={'WfNmx':function(_0x3cba47,_0x42a615){const _0x2a1306=a81_0x5f4b;return _0x4337fc[_0x2a1306(0x135)](_0x3cba47,_0x42a615);},'OHyox':function(_0x275ea0,_0x347d48,_0x35bc0e){const _0x49253f=a81_0x5f4b;return _0x4337fc[_0x49253f(0x121)](_0x275ea0,_0x347d48,_0x35bc0e);},'DAzio':_0x4337fc[_0x4d873a(0x150)],'Nisyz':function(_0x27eddd,..._0x4cb9cc){const _0x80bf93=_0x4d873a;return _0x4337fc[_0x80bf93(0x128)](_0x27eddd,..._0x4cb9cc);}},_0x48a00d=arguments[0x0],_0x28e153=Array[_0x4d873a(0x141)][_0x4d873a(0x14c)][_0x4d873a(0x11f)](arguments,0x1),_0x3bc204=_0x48a00d['apply'](this,_0x28e153);let _0x29ea72=Date[_0x4d873a(0x14f)](),_0x41b7e7;const _0x41ac3e={};_0x28e153['forEach'](_0x5353e2=>{const _0x2a4e5a=_0x4d873a;if(_0x4337fc[_0x2a4e5a(0x148)](_0x5353e2,URL)){const _0x3345e9={};_0x3345e9['url']=_0x5353e2,Object['assign'](_0x41ac3e,_0x3345e9);}else _0x4337fc[_0x2a4e5a(0x140)](typeof _0x5353e2,_0x4337fc[_0x2a4e5a(0x12d)])&&Object[_0x2a4e5a(0x130)](_0x41ac3e,_0x5353e2);});const _0x4abd7c=_0x24f9c6=>{const _0x31385c=_0x4d873a,_0x1b311f={};_0x1b311f[_0x31385c(0x131)]=_0x41ac3e[_0x31385c(0x131)]||_0x41ac3e[_0x31385c(0x151)]||_0x41ac3e['url']&&(_0x41ac3e[_0x31385c(0x12f)][_0x31385c(0x131)]||_0x41ac3e[_0x31385c(0x12f)][_0x31385c(0x151)]),_0x1b311f[_0x31385c(0x122)]=_0x41ac3e[_0x31385c(0x122)]||_0x41ac3e[_0x31385c(0x12f)]&&_0x41ac3e[_0x31385c(0x12f)]['pathname'],_0x1b311f[_0x31385c(0x124)]=_0x41ac3e[_0x31385c(0x124)],_0x1b311f[_0x31385c(0x127)]=_0x41ac3e[_0x31385c(0x127)],_0x4337fc['fQhkq'](_0x5a5b1e,_0x24f9c6,_0x1b311f);};return _0x3bc204['once'](_0x4337fc[_0x4d873a(0x146)],_0x2a8d18=>{const _0x24d8b6=_0x4d873a,_0xf1dfe9=_0x346920[_0x24d8b6(0x13f)](Date[_0x24d8b6(0x14f)](),_0x29ea72),_0x2ca3aa={};_0x2ca3aa['hostname']=_0x41ac3e[_0x24d8b6(0x131)]||_0x41ac3e[_0x24d8b6(0x151)]||_0x41ac3e[_0x24d8b6(0x12f)]&&(_0x41ac3e[_0x24d8b6(0x12f)]['host']||_0x41ac3e[_0x24d8b6(0x12f)][_0x24d8b6(0x151)]),_0x2ca3aa[_0x24d8b6(0x122)]=_0x41ac3e[_0x24d8b6(0x122)]||_0x41ac3e[_0x24d8b6(0x12f)]&&_0x41ac3e['url']['pathname'],_0x2ca3aa[_0x24d8b6(0x124)]=_0x41ac3e['method'],_0x2ca3aa[_0x24d8b6(0x127)]=_0x41ac3e[_0x24d8b6(0x127)],_0x2ca3aa[_0x24d8b6(0x123)]=_0x2a8d18[_0x24d8b6(0x13c)],_0x2ca3aa['duration_ms']=_0xf1dfe9,_0x346920[_0x24d8b6(0x145)](_0x5a5b1e,null,_0x2ca3aa),_0x41b7e7[_0x24d8b6(0x12c)](_0x346920[_0x24d8b6(0x142)],_0x4abd7c);}),_0x3bc204['on'](_0x4337fc[_0x4d873a(0x120)],_0x5e233=>{const _0x3b9cc8=_0x4d873a;_0x41b7e7=_0x5e233,_0x5e233[_0x3b9cc8(0x147)](_0x346920[_0x3b9cc8(0x142)],_0x4abd7c);}),_0x4337fc[_0x4d873a(0x144)](monkeypatch,_0x3bc204,_0x4337fc[_0x4d873a(0x126)],(_0x3cd6ce,..._0x56b1f2)=>{const _0x364548=_0x4d873a;_0x29ea72=Date[_0x364548(0x14f)](),_0x346920[_0x364548(0x12a)](_0x3cd6ce,..._0x56b1f2);}),_0x3bc204;};_0x4337fc[_0x47e4c1(0x144)](monkeypatch,http,_0x4337fc[_0x47e4c1(0x13b)],_0x22fa60),_0x4337fc[_0x47e4c1(0x144)](monkeypatch,https,_0x4337fc[_0x47e4c1(0x13b)],_0x22fa60);}function a81_0x370c(){const _0x44e330=['eakOY','headers','edwDZ','object','Nisyz','4rNkQcu','removeListener','qhQyN','http','url','assign','host','end','211823dffHzI','request','BgsvY','spy','https','error','705315PQzTgu','monkeypatch','CBXYF','statusCode','response','1813275phKphO','WfNmx','jLtPi','prototype','DAzio','socket','jFbkF','OHyox','qHpYy','once','RPXcE','restore','186twNtXY','1146240FvWjEj','slice','unpatch','4256UYFKJu','now','nalzX','hostname','241258PZUgyS','66045LomuuL','call','FJEGK','XfEhO','path','status_code','method','10NMZzGX'];a81_0x370c=function(){return _0x44e330;};return a81_0x370c();}function restore(){const _0x137c5d=a81_0x157f1c;http[_0x137c5d(0x134)][_0x137c5d(0x14d)](),https['request'][_0x137c5d(0x14d)]();}const a81_0x3de105={};a81_0x3de105[a81_0x157f1c(0x136)]=spy,a81_0x3de105[a81_0x157f1c(0x149)]=restore,module['exports']=a81_0x3de105;
1
+ const a81_0x42df45=a81_0x4e74;(function(_0x2b9bd9,_0x57b361){const _0x5bd35d=a81_0x4e74,_0x2bf38b=_0x2b9bd9();while(!![]){try{const _0x56bc79=-parseInt(_0x5bd35d(0x1c4))/0x1*(parseInt(_0x5bd35d(0x1e7))/0x2)+parseInt(_0x5bd35d(0x1d0))/0x3*(-parseInt(_0x5bd35d(0x1e9))/0x4)+-parseInt(_0x5bd35d(0x1ee))/0x5*(parseInt(_0x5bd35d(0x1d9))/0x6)+-parseInt(_0x5bd35d(0x1db))/0x7*(-parseInt(_0x5bd35d(0x1cd))/0x8)+parseInt(_0x5bd35d(0x1c9))/0x9+-parseInt(_0x5bd35d(0x1cb))/0xa*(parseInt(_0x5bd35d(0x1e2))/0xb)+parseInt(_0x5bd35d(0x1ca))/0xc;if(_0x56bc79===_0x57b361)break;else _0x2bf38b['push'](_0x2bf38b['shift']());}catch(_0x58a4c8){_0x2bf38b['push'](_0x2bf38b['shift']());}}}(a81_0x2b7d,0xa5ef0));const http=require(a81_0x42df45(0x1c7)),https=require(a81_0x42df45(0x1dc)),monkeypatch=require('monkeypatch');function a81_0x2b7d(){const _0x2f5acc=['pathname','http','rKjOs','2747682FYXOYG','26795172rQCsWR','11655530lLtdDQ','error','8HlZLrj','prototype','IZMAl','3PDTuEJ','host','TdGid','request','gLbBg','FEGMg','EOgUT','gsnvL','object','750ivWFFn','bgtug','4609262vSdndD','https','duration_ms','WrDrL','now','path','SrLVl','11mrSZmF','VHeaP','unpatch','assign','end','2DutSXr','response','1311388yQvXfh','uiOzO','hostname','url','IEfwF','17750SuHHco','gxsIb','headers','status_code','TujVs','call','method','forEach','once','579881IEWhof','statusCode'];a81_0x2b7d=function(){return _0x2f5acc;};return a81_0x2b7d();}function spy(_0x3eb731){const _0x2eb772=a81_0x42df45,_0x1500f5={'ijHmk':function(_0x191b77,_0x3427ea){return _0x191b77 instanceof _0x3427ea;},'gsnvL':function(_0x940ba3,_0x304865){return _0x940ba3===_0x304865;},'WrDrL':_0x2eb772(0x1d8),'rKjOs':function(_0x59e530,..._0x5d3040){return _0x59e530(..._0x5d3040);},'TujVs':function(_0x112c7f,_0x4f87dd,_0x188a0a){return _0x112c7f(_0x4f87dd,_0x188a0a);},'gLbBg':function(_0xa2839d,_0x5dee4a){return _0xa2839d-_0x5dee4a;},'TdGid':_0x2eb772(0x1cc),'gxsIb':_0x2eb772(0x1e8),'SrLVl':'socket','EOgUT':function(_0x198a76,_0x3d69b7,_0x1a0bb8,_0x20be58){return _0x198a76(_0x3d69b7,_0x1a0bb8,_0x20be58);},'IZMAl':_0x2eb772(0x1e6),'IEfwF':'request'},_0x16f1bc=function(){const _0x22d24c=_0x2eb772,_0x3519a8={'uiOzO':function(_0x33900d,_0x22c288,_0x3883cb){const _0x2bd312=a81_0x4e74;return _0x1500f5[_0x2bd312(0x1bf)](_0x33900d,_0x22c288,_0x3883cb);},'FEGMg':function(_0x271a3d,_0x2a0a7b){const _0x5df26d=a81_0x4e74;return _0x1500f5[_0x5df26d(0x1d4)](_0x271a3d,_0x2a0a7b);},'VHeaP':function(_0x3b2687,_0x419bbc,_0xe512db){const _0x4fa371=a81_0x4e74;return _0x1500f5[_0x4fa371(0x1bf)](_0x3b2687,_0x419bbc,_0xe512db);},'bgtug':_0x1500f5[_0x22d24c(0x1d2)]},_0x4e3742=arguments[0x0],_0x4bde7a=Array[_0x22d24c(0x1ce)]['slice'][_0x22d24c(0x1c0)](arguments,0x1),_0x5e9158=_0x4e3742['apply'](this,_0x4bde7a);let _0x538f77=Date['now'](),_0x515761;const _0x8e4f4d={};_0x4bde7a[_0x22d24c(0x1c2)](_0x1207b1=>{const _0x1fea22=_0x22d24c;if(_0x1500f5['ijHmk'](_0x1207b1,URL)){const _0x1c4c34={};_0x1c4c34[_0x1fea22(0x1ec)]=_0x1207b1,Object['assign'](_0x8e4f4d,_0x1c4c34);}else _0x1500f5[_0x1fea22(0x1d7)](typeof _0x1207b1,_0x1500f5[_0x1fea22(0x1de)])&&Object[_0x1fea22(0x1e5)](_0x8e4f4d,_0x1207b1);});const _0x3d14dc=_0x327c25=>{const _0x442b84=_0x22d24c,_0x4009aa={};_0x4009aa['host']=_0x8e4f4d[_0x442b84(0x1d1)]||_0x8e4f4d[_0x442b84(0x1eb)]||_0x8e4f4d[_0x442b84(0x1ec)]&&(_0x8e4f4d['url'][_0x442b84(0x1d1)]||_0x8e4f4d[_0x442b84(0x1ec)]['hostname']),_0x4009aa[_0x442b84(0x1e0)]=_0x8e4f4d[_0x442b84(0x1e0)]||_0x8e4f4d[_0x442b84(0x1ec)]&&_0x8e4f4d[_0x442b84(0x1ec)][_0x442b84(0x1c6)],_0x4009aa[_0x442b84(0x1c1)]=_0x8e4f4d[_0x442b84(0x1c1)],_0x4009aa[_0x442b84(0x1bd)]=_0x8e4f4d[_0x442b84(0x1bd)],_0x3519a8[_0x442b84(0x1ea)](_0x3eb731,_0x327c25,_0x4009aa);};return _0x5e9158[_0x22d24c(0x1c3)](_0x1500f5[_0x22d24c(0x1bc)],_0x2a9c5d=>{const _0x216aab=_0x22d24c,_0x1d38da=_0x3519a8[_0x216aab(0x1d5)](Date[_0x216aab(0x1df)](),_0x538f77),_0x4ac7c5={};_0x4ac7c5[_0x216aab(0x1eb)]=_0x8e4f4d[_0x216aab(0x1d1)]||_0x8e4f4d[_0x216aab(0x1eb)]||_0x8e4f4d[_0x216aab(0x1ec)]&&(_0x8e4f4d[_0x216aab(0x1ec)]['host']||_0x8e4f4d[_0x216aab(0x1ec)]['hostname']),_0x4ac7c5[_0x216aab(0x1e0)]=_0x8e4f4d['path']||_0x8e4f4d[_0x216aab(0x1ec)]&&_0x8e4f4d[_0x216aab(0x1ec)]['pathname'],_0x4ac7c5['method']=_0x8e4f4d['method'],_0x4ac7c5[_0x216aab(0x1bd)]=_0x8e4f4d[_0x216aab(0x1bd)],_0x4ac7c5[_0x216aab(0x1be)]=_0x2a9c5d[_0x216aab(0x1c5)],_0x4ac7c5[_0x216aab(0x1dd)]=_0x1d38da,_0x3519a8[_0x216aab(0x1e3)](_0x3eb731,null,_0x4ac7c5),_0x515761['removeListener'](_0x3519a8[_0x216aab(0x1da)],_0x3d14dc);}),_0x5e9158['on'](_0x1500f5[_0x22d24c(0x1e1)],_0x1490ea=>{const _0x565e05=_0x22d24c;_0x515761=_0x1490ea,_0x1490ea[_0x565e05(0x1c3)](_0x3519a8[_0x565e05(0x1da)],_0x3d14dc);}),_0x1500f5[_0x22d24c(0x1d6)](monkeypatch,_0x5e9158,_0x1500f5[_0x22d24c(0x1cf)],(_0x48cc3f,..._0x4b6836)=>{const _0xa3b58c=_0x22d24c;_0x538f77=Date[_0xa3b58c(0x1df)](),_0x1500f5[_0xa3b58c(0x1c8)](_0x48cc3f,..._0x4b6836);}),_0x5e9158;};_0x1500f5['EOgUT'](monkeypatch,http,_0x1500f5[_0x2eb772(0x1ed)],_0x16f1bc),_0x1500f5[_0x2eb772(0x1d6)](monkeypatch,https,_0x1500f5[_0x2eb772(0x1ed)],_0x16f1bc);}function restore(){const _0x4bd82e=a81_0x42df45;http[_0x4bd82e(0x1d3)][_0x4bd82e(0x1e4)](),https[_0x4bd82e(0x1d3)]['unpatch']();}function a81_0x4e74(_0x514d0c,_0x353670){const _0x2b7dbf=a81_0x2b7d();return a81_0x4e74=function(_0x4e74ee,_0x1b01f8){_0x4e74ee=_0x4e74ee-0x1bc;let _0xfade10=_0x2b7dbf[_0x4e74ee];return _0xfade10;},a81_0x4e74(_0x514d0c,_0x353670);}const a81_0x2396af={};a81_0x2396af['spy']=spy,a81_0x2396af['restore']=restore,module['exports']=a81_0x2396af;
@@ -1 +1 @@
1
- const a82_0x662bf7=a82_0x55a7;function a82_0x55a7(_0x440a6f,_0xcf7e3b){const _0x50e559=a82_0x50e5();return a82_0x55a7=function(_0x55a7ac,_0x3a9b79){_0x55a7ac=_0x55a7ac-0x135;let _0x12ee6a=_0x50e559[_0x55a7ac];return _0x12ee6a;},a82_0x55a7(_0x440a6f,_0xcf7e3b);}(function(_0x543dd8,_0x217ce9){const _0x4fe7b7=a82_0x55a7,_0x353db6=_0x543dd8();while(!![]){try{const _0x6502b4=-parseInt(_0x4fe7b7(0x13d))/0x1*(parseInt(_0x4fe7b7(0x136))/0x2)+parseInt(_0x4fe7b7(0x153))/0x3+-parseInt(_0x4fe7b7(0x143))/0x4+parseInt(_0x4fe7b7(0x13e))/0x5*(parseInt(_0x4fe7b7(0x13a))/0x6)+parseInt(_0x4fe7b7(0x146))/0x7*(-parseInt(_0x4fe7b7(0x13b))/0x8)+-parseInt(_0x4fe7b7(0x152))/0x9*(-parseInt(_0x4fe7b7(0x139))/0xa)+-parseInt(_0x4fe7b7(0x155))/0xb*(parseInt(_0x4fe7b7(0x135))/0xc);if(_0x6502b4===_0x217ce9)break;else _0x353db6['push'](_0x353db6['shift']());}catch(_0x5602ee){_0x353db6['push'](_0x353db6['shift']());}}}(a82_0x50e5,0xc126f));const PerformanceTester=require(a82_0x662bf7(0x140)),{AUTOMATE_EVENTS:PerformanceEvents}=require(a82_0x662bf7(0x14d));module[a82_0x662bf7(0x142)]=PerformanceTester[a82_0x662bf7(0x137)](PerformanceEvents[a82_0x662bf7(0x145)],function(){const _0x527f7b=a82_0x662bf7,_0x5f2242={'UcndZ':function(_0x2281f8,_0x515506){return _0x2281f8===_0x515506;},'kCKfX':_0x527f7b(0x14a),'gyIQO':_0x527f7b(0x13c),'OekXa':function(_0x15d43f,_0x27e5f4,_0x61e5ac){return _0x15d43f(_0x27e5f4,_0x61e5ac);},'dftfr':function(_0x4c22f8,_0x32623a,_0x2ebde5){return _0x4c22f8(_0x32623a,_0x2ebde5);},'ETMYm':function(_0xf6d931,_0x1abfd0){return _0xf6d931(_0x1abfd0);},'prNeI':'http','xANqp':_0x527f7b(0x154),'VZtTa':function(_0xdc4490,_0x5df414){return _0xdc4490*_0x5df414;},'KLnpi':_0x527f7b(0x14c)},_0x351bcd=_0x5f2242['ETMYm'](require,_0x5f2242[_0x527f7b(0x156)]),_0x17ac9b=_0x5f2242[_0x527f7b(0x141)](require,_0x5f2242['xANqp']),_0x926ff2=_0x5f2242[_0x527f7b(0x138)](0x1e,0x3e8);if(_0x351bcd['globalAgent']&&Object[_0x527f7b(0x14f)][_0x527f7b(0x14e)]['call'](_0x351bcd[_0x527f7b(0x148)],_0x5f2242['KLnpi']))_0x351bcd['globalAgent'][_0x527f7b(0x14c)]=!![],_0x17ac9b['globalAgent']['keepAlive']=!![],_0x351bcd['globalAgent'][_0x527f7b(0x151)]=_0x926ff2,_0x17ac9b['globalAgent']['keepAliveMsecs']=_0x926ff2;else{const _0x26047d={};_0x26047d[_0x527f7b(0x14c)]=!![],_0x26047d['keepAliveMsecs']=_0x926ff2;const _0x173855=new _0x351bcd[(_0x527f7b(0x144))](_0x26047d),_0x19089b={};_0x19089b[_0x527f7b(0x14c)]=!![],_0x19089b['keepAliveMsecs']=_0x926ff2;const _0x57a7ad=new _0x17ac9b[(_0x527f7b(0x144))](_0x19089b),_0x162d40=_0x351bcd[_0x527f7b(0x14b)],_0x3b915b=_0x17ac9b['request'];_0x351bcd[_0x527f7b(0x14b)]=function(_0xc82186,_0xfcb9f4){const _0x1c3f38=_0x527f7b;if(_0x5f2242[_0x1c3f38(0x147)](_0xc82186['protocol'],_0x5f2242[_0x1c3f38(0x13f)]))return _0xc82186[_0x5f2242[_0x1c3f38(0x150)]]=_0x57a7ad,_0x5f2242[_0x1c3f38(0x149)](_0x3b915b,_0xc82186,_0xfcb9f4);return _0xc82186[_0x5f2242[_0x1c3f38(0x150)]]=_0x173855,_0x5f2242['dftfr'](_0x162d40,_0xc82186,_0xfcb9f4);};}});function a82_0x50e5(){const _0x2df183=['measureWrapper','VZtTa','70TYxtRt','6nbLxuF','12688ytqpnY','agent','107RdKinr','7741495xCLBOn','kCKfX','./performance/performance-tester','ETMYm','exports','5061380QVNLSh','Agent','KEEP_ALIVE','707dBqFdg','UcndZ','globalAgent','OekXa','https:','request','keepAlive','./performance/constants','hasOwnProperty','prototype','gyIQO','keepAliveMsecs','95625ITUShI','3584691zXCkaJ','https','360866vlqpSF','prNeI','96rkwCbk','6326lKdQtJ'];a82_0x50e5=function(){return _0x2df183;};return a82_0x50e5();}
1
+ const a82_0x5c99d6=a82_0x47c1;function a82_0x47c1(_0x44202d,_0xc9939c){const _0x4addda=a82_0x4add();return a82_0x47c1=function(_0x47c1e3,_0x12bdae){_0x47c1e3=_0x47c1e3-0x1e3;let _0x466607=_0x4addda[_0x47c1e3];return _0x466607;},a82_0x47c1(_0x44202d,_0xc9939c);}(function(_0x21f5a5,_0x311eea){const _0x33265f=a82_0x47c1,_0x2121ea=_0x21f5a5();while(!![]){try{const _0xc2955a=parseInt(_0x33265f(0x203))/0x1*(parseInt(_0x33265f(0x1f1))/0x2)+parseInt(_0x33265f(0x1f9))/0x3+-parseInt(_0x33265f(0x1ee))/0x4*(parseInt(_0x33265f(0x1fd))/0x5)+parseInt(_0x33265f(0x1fc))/0x6+parseInt(_0x33265f(0x1f0))/0x7+parseInt(_0x33265f(0x1f2))/0x8*(parseInt(_0x33265f(0x1e6))/0x9)+parseInt(_0x33265f(0x1ef))/0xa*(-parseInt(_0x33265f(0x1ec))/0xb);if(_0xc2955a===_0x311eea)break;else _0x2121ea['push'](_0x2121ea['shift']());}catch(_0x177af4){_0x2121ea['push'](_0x2121ea['shift']());}}}(a82_0x4add,0x3b077));const PerformanceTester=require(a82_0x5c99d6(0x1ea)),{AUTOMATE_EVENTS:PerformanceEvents}=require(a82_0x5c99d6(0x202));module[a82_0x5c99d6(0x1e9)]=PerformanceTester[a82_0x5c99d6(0x1f5)](PerformanceEvents['KEEP_ALIVE'],function(){const _0x2dc13f=a82_0x5c99d6,_0x304f93={'LWwyk':function(_0x7c344b,_0x2418d0){return _0x7c344b===_0x2418d0;},'wMKMg':_0x2dc13f(0x204),'SygLl':'agent','hJYdk':function(_0x34a431,_0x2706b4,_0x789cd){return _0x34a431(_0x2706b4,_0x789cd);},'CMAFo':function(_0xf6514a,_0x5596a5,_0x24cd04){return _0xf6514a(_0x5596a5,_0x24cd04);},'eaBIp':function(_0x29d24e,_0x56e0f9){return _0x29d24e(_0x56e0f9);},'ZKCrX':_0x2dc13f(0x1f7),'iMvGL':function(_0x563b19,_0x38e4f1){return _0x563b19(_0x38e4f1);},'DAjhd':_0x2dc13f(0x1f4),'jeawN':function(_0x387384,_0x3e3515){return _0x387384*_0x3e3515;},'Cwbxz':_0x2dc13f(0x1eb)},_0x7e12cf=_0x304f93[_0x2dc13f(0x1f8)](require,_0x304f93['ZKCrX']),_0x17cac4=_0x304f93[_0x2dc13f(0x200)](require,_0x304f93[_0x2dc13f(0x1fe)]),_0x5ae1e2=_0x304f93['jeawN'](0x1e,0x3e8);if(_0x7e12cf[_0x2dc13f(0x201)]&&Object[_0x2dc13f(0x1fb)][_0x2dc13f(0x1e3)][_0x2dc13f(0x1e7)](_0x7e12cf['globalAgent'],_0x304f93[_0x2dc13f(0x206)]))_0x7e12cf['globalAgent'][_0x2dc13f(0x1eb)]=!![],_0x17cac4['globalAgent'][_0x2dc13f(0x1eb)]=!![],_0x7e12cf[_0x2dc13f(0x201)][_0x2dc13f(0x1e8)]=_0x5ae1e2,_0x17cac4[_0x2dc13f(0x201)][_0x2dc13f(0x1e8)]=_0x5ae1e2;else{const _0x594a3d={};_0x594a3d[_0x2dc13f(0x1eb)]=!![],_0x594a3d[_0x2dc13f(0x1e8)]=_0x5ae1e2;const _0x103175=new _0x7e12cf[(_0x2dc13f(0x1ff))](_0x594a3d),_0x3547a1={};_0x3547a1[_0x2dc13f(0x1eb)]=!![],_0x3547a1['keepAliveMsecs']=_0x5ae1e2;const _0x13aec1=new _0x17cac4[(_0x2dc13f(0x1ff))](_0x3547a1),_0x1ba210=_0x7e12cf['request'],_0x25d688=_0x17cac4[_0x2dc13f(0x1ed)];_0x7e12cf[_0x2dc13f(0x1ed)]=function(_0x24e0a7,_0x10e167){const _0x3e4499=_0x2dc13f;if(_0x304f93[_0x3e4499(0x1fa)](_0x24e0a7[_0x3e4499(0x205)],_0x304f93[_0x3e4499(0x1e5)]))return _0x24e0a7[_0x304f93[_0x3e4499(0x1f3)]]=_0x13aec1,_0x304f93[_0x3e4499(0x1f6)](_0x25d688,_0x24e0a7,_0x10e167);return _0x24e0a7[_0x304f93[_0x3e4499(0x1f3)]]=_0x103175,_0x304f93[_0x3e4499(0x1e4)](_0x1ba210,_0x24e0a7,_0x10e167);};}});function a82_0x4add(){const _0x3466e7=['999033xyxOod','LWwyk','prototype','2050134BxIWFP','5tiaEvL','DAjhd','Agent','iMvGL','globalAgent','./performance/constants','1693gAieQw','https:','protocol','Cwbxz','hasOwnProperty','CMAFo','wMKMg','1413BZthqZ','call','keepAliveMsecs','exports','./performance/performance-tester','keepAlive','4154469tceEXk','request','1094368yGNqzI','20VNupiM','1653092pDBGDO','192kbQgFs','10056dKsqPz','SygLl','https','measureWrapper','hJYdk','http','eaBIp'];a82_0x4add=function(){return _0x3466e7;};return a82_0x4add();}
@@ -1 +1 @@
1
- function a83_0x247a(_0x284d8f,_0x51b690){var _0x5eca0a=a83_0x5eca();return a83_0x247a=function(_0x247aec,_0x5db48e){_0x247aec=_0x247aec-0x85;var _0x18042e=_0x5eca0a[_0x247aec];return _0x18042e;},a83_0x247a(_0x284d8f,_0x51b690);}var a83_0x4ad21d=a83_0x247a;(function(_0x32bb77,_0x2aa0a1){var _0x12cc51=a83_0x247a,_0x1db0b9=_0x32bb77();while(!![]){try{var _0x3ba6c7=-parseInt(_0x12cc51(0x90))/0x1*(-parseInt(_0x12cc51(0x97))/0x2)+-parseInt(_0x12cc51(0x92))/0x3*(parseInt(_0x12cc51(0x86))/0x4)+-parseInt(_0x12cc51(0x99))/0x5*(-parseInt(_0x12cc51(0x8d))/0x6)+parseInt(_0x12cc51(0x95))/0x7*(parseInt(_0x12cc51(0x8a))/0x8)+-parseInt(_0x12cc51(0x98))/0x9+-parseInt(_0x12cc51(0x96))/0xa+parseInt(_0x12cc51(0x88))/0xb;if(_0x3ba6c7===_0x2aa0a1)break;else _0x1db0b9['push'](_0x1db0b9['shift']());}catch(_0x4ad437){_0x1db0b9['push'](_0x1db0b9['shift']());}}}(a83_0x5eca,0xaf1c4));function a83_0x5eca(){var _0x16f700=['2FMWYYO','jest','57RFdoQw','assign','.obs_test_details','43078IOvRQd','1043990IqzIKd','1304220cVVzfJ','2525841fposqV','30bOAsSs','api/v1/screenshots','Playwright','api/v1/event','exports','api/v1/batch','287588AlPQLw','PLAYWRIGHT','4883945tMLbCs','mocha','568zMVoqf','codeceptjs','JEST','283194PCDBGs','MOCHA','https://collector-observability.browserstack.com'];a83_0x5eca=function(){return _0x16f700;};return a83_0x5eca();}var a83_0x4aa4cf={};a83_0x4aa4cf[a83_0x4ad21d(0x87)]=a83_0x4ad21d(0x9b),a83_0x4aa4cf[a83_0x4ad21d(0x8e)]=a83_0x4ad21d(0x89),a83_0x4aa4cf['CODECEPT']=a83_0x4ad21d(0x8b),a83_0x4aa4cf[a83_0x4ad21d(0x8c)]=a83_0x4ad21d(0x91),a83_0x4aa4cf['CUCUMBER']='cucumber',module[a83_0x4ad21d(0x9d)]={'consoleHolder':Object[a83_0x4ad21d(0x93)]({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a83_0x4ad21d(0x8f),'EVENT_ENDPOINT':a83_0x4ad21d(0x9c),'BATCH_ENDPOINT':a83_0x4ad21d(0x85),'SCREENSHOT_ENDPOINT':a83_0x4ad21d(0x9a),'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_0x4ad21d(0x94),'FRAMEWORKS':a83_0x4aa4cf};
1
+ var a83_0x3bf832=a83_0x1134;function a83_0x5ec3(){var _0x5cb8f7=['1232190maPlaj','MOCHA','cucumber','CUCUMBER','api/v1/screenshots','.obs_test_details','jest','91sAjBQq','Playwright','mocha','4469448LWqLtr','api/v1/event','exports','JEST','3307430kADGLK','249642SumiLi','584BAKEwm','https://collector-observability.browserstack.com','CODECEPT','19701dIwScJ','1186862fbFuhu','125784GvLyyM','api/v1/batch'];a83_0x5ec3=function(){return _0x5cb8f7;};return a83_0x5ec3();}function a83_0x1134(_0x2338f7,_0x2c3906){var _0x5ec39d=a83_0x5ec3();return a83_0x1134=function(_0x11343a,_0x30001f){_0x11343a=_0x11343a-0x14c;var _0x49a7c7=_0x5ec39d[_0x11343a];return _0x49a7c7;},a83_0x1134(_0x2338f7,_0x2c3906);}(function(_0x48d480,_0x19a712){var _0x474f90=a83_0x1134,_0x555686=_0x48d480();while(!![]){try{var _0x2fccbb=parseInt(_0x474f90(0x159))/0x1+-parseInt(_0x474f90(0x154))/0x2+-parseInt(_0x474f90(0x15c))/0x3+-parseInt(_0x474f90(0x14f))/0x4+parseInt(_0x474f90(0x153))/0x5+parseInt(_0x474f90(0x15a))/0x6*(parseInt(_0x474f90(0x14c))/0x7)+parseInt(_0x474f90(0x155))/0x8*(parseInt(_0x474f90(0x158))/0x9);if(_0x2fccbb===_0x19a712)break;else _0x555686['push'](_0x555686['shift']());}catch(_0x217260){_0x555686['push'](_0x555686['shift']());}}}(a83_0x5ec3,0x99434));var a83_0x32f1dd={};a83_0x32f1dd['PLAYWRIGHT']=a83_0x3bf832(0x14d),a83_0x32f1dd[a83_0x3bf832(0x15d)]=a83_0x3bf832(0x14e),a83_0x32f1dd[a83_0x3bf832(0x157)]='codeceptjs',a83_0x32f1dd[a83_0x3bf832(0x152)]=a83_0x3bf832(0x162),a83_0x32f1dd[a83_0x3bf832(0x15f)]=a83_0x3bf832(0x15e),module[a83_0x3bf832(0x151)]={'consoleHolder':Object['assign']({},console),'BATCH_SIZE':0x3e8,'BATCH_INTERVAL':0x7d0,'API_URL':a83_0x3bf832(0x156),'EVENT_ENDPOINT':a83_0x3bf832(0x150),'BATCH_ENDPOINT':a83_0x3bf832(0x15b),'SCREENSHOT_ENDPOINT':a83_0x3bf832(0x160),'DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS':0xea60,'DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS':0x64,'DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS':0x1f4,'TEMP_STORE_DIR_NAME':a83_0x3bf832(0x161),'FRAMEWORKS':a83_0x32f1dd};
@@ -1 +1 @@
1
- const a84_0xc4892f=a84_0x13b6;function a84_0x1f43(){const _0x73dd1d=['yLUDB','\x20--\x20','KnPDv','object','toString','name','then','env','UYAho','captureError','GmFUQ','MLqpF','.\x20Args\x20-\x20','CREDENTIALS_FOR_CRASH_REPORTING','getFramework','TkpDN','JrnQr','.\x20Error\x20-\x20','format','filterPII','auth','PKJFg','6403485GOCrHF','forEach','mvqAJ','4070ILmHru','setConfigDetails','o11yErrorHandler','stringify','constructor','apply','./utils','parse','RTypf','true','mIhGG','length','25143ySzIuA','../helper','22KhjbWc','VeqSW','15264eNcCrh','840310ehWRXU','userConfig','includes','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','XLpZZ','application/json','../performance/performance-tester','rBwzr','headers','Finished\x20::\x20','o11yClassErrorHandler','frameworkVersion','8kryyBh','credentials','username','TnJRA','getPerformance','GZJoX','[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','setAllDetails','cUDgF','initialize','password','inspect','toLowerCase','depth','prototype','QNHMT','RJLqq','199293GwhGPi','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','function','pid','user','POST','accessKey','setCredentials','NpeqA','Error\x20in\x20executing\x20','uploadCrashReport','12NmZBQt','Started\x20::\x20','ITGiZ','77833HTYMXX',',\x20Argument\x20-\x20','frameworkDetails','getOwnPropertyNames','getCredentials','frameworkName','keys',',\x20PID\x20-\x20','QzmQW','catch','stack','setFrameworkDetails','[Crash_Report_Upload]\x20Success\x20response:\x20','call','9FlDJSZ','78iRlgzW','recursivelyDeletePIIKeysFromObject','UBErg','USER_CONFIG_FOR_REPORTING','Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20','yybTA'];a84_0x1f43=function(){return _0x73dd1d;};return a84_0x1f43();}(function(_0x468f7a,_0x33fec0){const _0x250d0f=a84_0x13b6,_0x5da327=_0x468f7a();while(!![]){try{const _0x5de236=-parseInt(_0x250d0f(0x1e4))/0x1+-parseInt(_0x250d0f(0x1c4))/0x2*(parseInt(_0x250d0f(0x1c2))/0x3)+-parseInt(_0x250d0f(0x1c6))/0x4+-parseInt(_0x250d0f(0x1b6))/0x5*(parseInt(_0x250d0f(0x201))/0x6)+parseInt(_0x250d0f(0x1f2))/0x7*(-parseInt(_0x250d0f(0x1d3))/0x8)+parseInt(_0x250d0f(0x200))/0x9*(-parseInt(_0x250d0f(0x1c7))/0xa)+-parseInt(_0x250d0f(0x1b3))/0xb*(-parseInt(_0x250d0f(0x1ef))/0xc);if(_0x5de236===_0x33fec0)break;else _0x5da327['push'](_0x5da327['shift']());}catch(_0x27781d){_0x5da327['push'](_0x5da327['shift']());}}}(a84_0x1f43,0x2c36f));const util=require('util'),PerformanceTester=require(a84_0xc4892f(0x1cd)),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require(a84_0xc4892f(0x1bc)),{getAgentVersion,nestedKeyValue}=require(a84_0xc4892f(0x1c3)),o11yErrorHandler=(_0x4adb44,_0x33b7ad='',_0x181803=[''],_0x3b44c1=![])=>{const _0x368fa5={'rBwzr':function(_0x1bd3fe,_0x3cef3e){return _0x1bd3fe(_0x3cef3e);},'UBErg':function(_0x23eb5d,_0x392f5d,_0xf9e5a8){return _0x23eb5d(_0x392f5d,_0xf9e5a8);},'JrnQr':function(_0x27aa59,_0x192cb3,_0x39b473){return _0x27aa59(_0x192cb3,_0x39b473);},'MLqpF':function(_0x11895d,_0x5a7767){return _0x11895d instanceof _0x5a7767;},'ITGiZ':function(_0x41e650,_0x326b2c,_0x228729,_0x407d87,_0x3aa25c){return _0x41e650(_0x326b2c,_0x228729,_0x407d87,_0x3aa25c);}};return function(..._0x1d5db4){const _0x5e29f4=a84_0x13b6;try{let _0x6bf7a6=_0x4adb44;process['env']['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&(_0x6bf7a6=PerformanceTester[_0x5e29f4(0x1d7)]()['timerify'](_0x6bf7a6));_0x3b44c1&&_0x368fa5[_0x5e29f4(0x1ce)](trace,_0x5e29f4(0x1f0)+_0x33b7ad+_0x5e29f4(0x1f9)+process[_0x5e29f4(0x1e7)]+',\x20Argument\x20-\x20'+_0x368fa5[_0x5e29f4(0x203)](nestedKeyValue,arguments[0x0],_0x181803));const _0x4c5485=_0x6bf7a6[_0x5e29f4(0x1bb)](null,arguments);_0x3b44c1&&_0x368fa5[_0x5e29f4(0x1ce)](trace,_0x5e29f4(0x1d0)+_0x33b7ad+_0x5e29f4(0x1f9)+process[_0x5e29f4(0x1e7)]+_0x5e29f4(0x1f3)+_0x368fa5[_0x5e29f4(0x1ad)](nestedKeyValue,arguments[0x0],_0x181803));if(_0x368fa5[_0x5e29f4(0x1a8)](_0x4c5485,Promise))return _0x4c5485[_0x5e29f4(0x1fb)](_0x1ebd2d=>processError(_0x1ebd2d,_0x4adb44,_0x1d5db4,_0x33b7ad));return _0x4c5485;}catch(_0x52ed26){_0x368fa5[_0x5e29f4(0x1f1)](processError,_0x52ed26,_0x4adb44,_0x1d5db4,_0x33b7ad);}};},o11yClassErrorHandler=(_0x2901bc,_0x285d5b,_0x5048c3='')=>{const _0x2293d7=a84_0xc4892f,_0x27a4c0={'QmktY':function(_0x5e90e1,_0x5aff1f){return _0x5e90e1 instanceof _0x5aff1f;},'RUukS':function(_0x51dc54,_0x18dd88,_0x3c1ad8,_0xa810a7,_0x3ef105){return _0x51dc54(_0x18dd88,_0x3c1ad8,_0xa810a7,_0x3ef105);},'XLpZZ':function(_0x4050ec,_0x3070cf){return _0x4050ec===_0x3070cf;},'DCAkr':_0x2293d7(0x1e6),'CvBpw':function(_0xa42d6f,_0x251965){return _0xa42d6f!==_0x251965;},'yLUDB':_0x2293d7(0x1ba),'cMPgi':function(_0x290c93,_0x4a5df6){return _0x290c93<_0x4a5df6;}},_0x2c7b2b=_0x2901bc[_0x2293d7(0x1e1)];if(_0x27a4c0['cMPgi'](Object[_0x2293d7(0x1f5)](_0x2c7b2b)['length'],0x2))return _0x2901bc;return Object[_0x2293d7(0x1f5)](_0x2c7b2b)[_0x2293d7(0x1b4)](_0x556870=>{const _0x43952e=_0x2293d7;if(!(_0x285d5b&&_0x285d5b[_0x43952e(0x1c9)](_0x556870)))return;const _0x40d2e1=_0x2c7b2b[_0x556870];_0x27a4c0[_0x43952e(0x1cb)](typeof _0x40d2e1,_0x27a4c0['DCAkr'])&&_0x27a4c0['CvBpw'](_0x556870,_0x27a4c0[_0x43952e(0x207)])&&Object['defineProperty'](_0x2c7b2b,_0x556870,{'writable':!![],'value':function(..._0x5e2fcd){const _0xd132e4=_0x43952e;try{const _0x45335c=(process[_0xd132e4(0x1a4)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']?PerformanceTester[_0xd132e4(0x1d7)]()['timerify'](_0x40d2e1):_0x40d2e1)[_0xd132e4(0x1ff)](this,..._0x5e2fcd);if(_0x27a4c0['QmktY'](_0x45335c,Promise))return _0x45335c[_0xd132e4(0x1fb)](_0x1a7ccd=>processError(_0x1a7ccd,_0x40d2e1,_0x5e2fcd,_0x5048c3));return _0x45335c;}catch(_0x52c0d2){_0x27a4c0['RUukS'](processError,_0x52c0d2,_0x40d2e1,_0x5e2fcd,_0x5048c3);}}});}),_0x2901bc;};function processError(_0x18ee40,_0x1d6a9e,_0x3cfee8,_0x17a368){const _0x4ecb3b=a84_0xc4892f,_0x4538e={'RJLqq':function(_0x5c3856,_0x457db6){return _0x5c3856(_0x457db6);}};_0x4538e[_0x4ecb3b(0x1e3)](debug,_0x4ecb3b(0x1ed)+_0x1d6a9e[_0x4ecb3b(0x20c)]+'\x20--\x20'+_0x17a368+'.\x20Error\x20-\x20'+_0x18ee40+_0x4ecb3b(0x1a9)+_0x3cfee8+'.'),PerformanceTester[_0x4ecb3b(0x1a6)](_0x18ee40);let _0x3188c2;try{_0x3188c2=JSON['stringify'](_0x3cfee8);}catch(_0x1d3513){const _0x394b0a={};_0x394b0a[_0x4ecb3b(0x1e0)]=0x2,_0x3188c2=util[_0x4ecb3b(0x1de)](_0x3cfee8,_0x394b0a);}CrashReporter['uploadCrashReport'](_0x4ecb3b(0x1ed)+_0x1d6a9e[_0x4ecb3b(0x20c)]+_0x4ecb3b(0x208)+_0x17a368+_0x4ecb3b(0x1ae)+_0x18ee40+_0x4ecb3b(0x1a9)+_0x3188c2+'.',_0x18ee40&&_0x18ee40[_0x4ecb3b(0x1fc)]);}class CrashReporter{static [a84_0xc4892f(0x1c8)]={};static ['credentials'];static [a84_0xc4892f(0x1f4)]={};static[a84_0xc4892f(0x1dc)](_0x24f642,_0x57bf2c,_0x187d22=null){const _0x1c465e=a84_0xc4892f,_0x671764={'UYAho':function(_0xb57682,_0x1c9dab){return _0xb57682(_0x1c9dab);},'Aoeau':function(_0x4e40a1,_0x57a80d){return _0x4e40a1(_0x57a80d);}},_0xfc4a38=_0x24f642['frameworkName'],_0x3eb53a=_0x24f642[_0x1c465e(0x1d2)];!_0x187d22&&(_0x187d22=_0x671764[_0x1c465e(0x1a5)](getBrowserStackConfig,_0xfc4a38));!_0x3eb53a&&_0x671764['UYAho'](getFrameworkVersion,_0xfc4a38);const _0x29ff38={};_0x29ff38[_0x1c465e(0x1f7)]=_0xfc4a38,_0x29ff38[_0x1c465e(0x1d2)]=_0x3eb53a,this['setAllDetails'](_0x29ff38,_0x57bf2c,_0x671764['Aoeau'](getUserCredentials,_0x187d22));}static[a84_0xc4892f(0x1eb)](_0x37ac39,_0x10d661){const _0x33d40d=a84_0xc4892f,_0x18e0c9={};_0x18e0c9['username']=_0x37ac39,_0x18e0c9[_0x33d40d(0x1ea)]=_0x10d661,this[_0x33d40d(0x1d4)]=_0x18e0c9,process['env'][_0x33d40d(0x1aa)]=JSON[_0x33d40d(0x1b9)](this[_0x33d40d(0x1d4)]);}static[a84_0xc4892f(0x1f6)](){const _0x3f02c1=a84_0xc4892f,_0x198b5a={'mIhGG':function(_0x4a6a6e,_0x234ec0){return _0x4a6a6e(_0x234ec0);}};if(!this['credentials']&&process[_0x3f02c1(0x1a4)]['CREDENTIALS_FOR_CRASH_REPORTING'])try{this[_0x3f02c1(0x1d4)]=JSON[_0x3f02c1(0x1bd)](process[_0x3f02c1(0x1a4)][_0x3f02c1(0x1aa)]);}catch(_0x5d10f5){_0x198b5a[_0x3f02c1(0x1c0)](debug,_0x3f02c1(0x1e5)+_0x5d10f5[_0x3f02c1(0x20b)]());}return this[_0x3f02c1(0x1d4)];}static[a84_0xc4892f(0x1b7)](_0x10dc4a){const _0xd3a2b1=a84_0xc4892f;this[_0xd3a2b1(0x1c8)]=this['filterPII'](_0x10dc4a),process[_0xd3a2b1(0x1a4)][_0xd3a2b1(0x204)]=JSON[_0xd3a2b1(0x1b9)](this[_0xd3a2b1(0x1c8)]);}static['getConfig'](){const _0x109197=a84_0xc4892f,_0x2d703b={'PKJFg':function(_0x30c5ec,_0x3ef912){return _0x30c5ec===_0x3ef912;},'Gnkfw':function(_0x24a91c,_0x1ba403){return _0x24a91c(_0x1ba403);}};if(_0x2d703b[_0x109197(0x1b2)](Object[_0x109197(0x1f8)](this[_0x109197(0x1c8)])[_0x109197(0x1c1)],0x0)&&process['env'][_0x109197(0x204)])try{this[_0x109197(0x1c8)]=JSON['parse'](process['env'][_0x109197(0x204)]);}catch(_0x24a869){_0x2d703b['Gnkfw'](debug,_0x109197(0x205)+_0x24a869[_0x109197(0x20b)]()),this[_0x109197(0x1c8)]={};}return this[_0x109197(0x1c8)];}static[a84_0xc4892f(0x1fd)](_0x543b7e){const _0x3273eb=a84_0xc4892f;this[_0x3273eb(0x1f4)]=_0x543b7e,process[_0x3273eb(0x1a4)][_0x3273eb(0x1ca)]=JSON['stringify'](this[_0x3273eb(0x1f4)]);}static[a84_0xc4892f(0x1ab)](){const _0x26d613=a84_0xc4892f,_0x1ecdd0={'VeqSW':function(_0x4405e9,_0x1f1170){return _0x4405e9===_0x1f1170;},'JntrF':function(_0x3bc1e1,_0x44255a){return _0x3bc1e1(_0x44255a);}};if(_0x1ecdd0[_0x26d613(0x1c5)](Object['keys'](this[_0x26d613(0x1f4)])[_0x26d613(0x1c1)],0x0)&&process[_0x26d613(0x1a4)]['BROWSERSTACK_O11Y_FRAMEWORK_DETAILS'])try{this[_0x26d613(0x1f4)]=JSON['parse'](process[_0x26d613(0x1a4)][_0x26d613(0x1ca)]);}catch(_0x90522d){_0x1ecdd0['JntrF'](debug,_0x26d613(0x1e5)+_0x90522d[_0x26d613(0x20b)]());}return this[_0x26d613(0x1f4)];}static[a84_0xc4892f(0x1da)](_0x5ed613,_0x5c59b3,_0x725d3b){const _0x3fdd1f=a84_0xc4892f;_0x5ed613&&this['setFrameworkDetails'](_0x5ed613),_0x5c59b3&&this[_0x3fdd1f(0x1b7)](_0x5c59b3),_0x725d3b&&this[_0x3fdd1f(0x1eb)](_0x725d3b['username'],_0x725d3b[_0x3fdd1f(0x1ea)]);}static async[a84_0xc4892f(0x1ee)](_0x10a3ba,_0x301307){const _0x2612e4=a84_0xc4892f,_0x79cc4a={'cmzTk':function(_0x5aaf9a,_0x43d4ff){return _0x5aaf9a(_0x43d4ff);},'KnPDv':function(_0x48144c,_0x3232ed){return _0x48144c(_0x3232ed);},'TkpDN':_0x2612e4(0x1d9),'YtoaQ':function(_0x442c84){return _0x442c84();},'BaIwW':'/api/v1/analytics','QzmQW':_0x2612e4(0x1cc),'QNHMT':_0x2612e4(0x1bf),'GmFUQ':function(_0x19c4de,_0x5621c2,_0x5740fc,_0x45002f,_0x5a5d37,_0x287bc0){return _0x19c4de(_0x5621c2,_0x5740fc,_0x45002f,_0x5a5d37,_0x287bc0);},'yybTA':_0x2612e4(0x1e9)};this[_0x2612e4(0x1f6)]();if(!this[_0x2612e4(0x1d4)])return _0x79cc4a[_0x2612e4(0x209)](debug,_0x79cc4a[_0x2612e4(0x1ac)]);this['getConfig'](),this[_0x2612e4(0x1ab)]();const _0x24b077={'hashed_id':process[_0x2612e4(0x1a4)]['BS_TESTOPS_BUILD_HASHED_ID'],'observability_version':{'sdkVersion':_0x79cc4a['YtoaQ'](getAgentVersion),'frameworkName':this['frameworkDetails'][_0x2612e4(0x1f7)],'frameworkVersion':this[_0x2612e4(0x1f4)][_0x2612e4(0x1d2)]},'exception':{'error':_0x10a3ba[_0x2612e4(0x20b)](),'stackTrace':_0x301307},'config':this[_0x2612e4(0x1c8)]},_0x5562cb=_0x79cc4a['BaIwW'],_0x3a6efa={};_0x3a6efa[_0x2612e4(0x1d5)]=this[_0x2612e4(0x1d4)]['username'],_0x3a6efa[_0x2612e4(0x1dd)]=this[_0x2612e4(0x1d4)][_0x2612e4(0x1ea)];const _0x57b36a={};_0x57b36a['Content-Type']=_0x79cc4a[_0x2612e4(0x1fa)],_0x57b36a['X-BSTACK-TESTOPS']=_0x79cc4a[_0x2612e4(0x1e2)];const _0x3f2b01={};_0x3f2b01[_0x2612e4(0x1b1)]=_0x3a6efa,_0x3f2b01[_0x2612e4(0x1cf)]=_0x57b36a;const _0x21f76c=_0x3f2b01;_0x79cc4a[_0x2612e4(0x1a7)](nodeRequest,_0x79cc4a[_0x2612e4(0x206)],_0x5562cb,_0x24b077,_0x21f76c,![])[_0x2612e4(0x20d)](_0x37a50a=>{const _0x85946e=_0x2612e4;_0x79cc4a['cmzTk'](debug,_0x85946e(0x1fe)+JSON['stringify'](_0x37a50a));})[_0x2612e4(0x1fb)](_0x262d03=>{const _0x3d93cd=_0x2612e4;_0x79cc4a[_0x3d93cd(0x209)](debug,'[Crash_Report_Upload]\x20Failed\x20due\x20to\x20'+util[_0x3d93cd(0x1af)](_0x262d03));});}static['recursivelyDeletePIIKeysFromObject'](_0x148eaa){const _0x5d764b=a84_0xc4892f,_0x53f8eb={};_0x53f8eb[_0x5d764b(0x1d6)]=_0x5d764b(0x1e8),_0x53f8eb[_0x5d764b(0x1db)]=_0x5d764b(0x1d5),_0x53f8eb[_0x5d764b(0x1ec)]='key',_0x53f8eb[_0x5d764b(0x1be)]=_0x5d764b(0x1ea),_0x53f8eb[_0x5d764b(0x1d8)]=_0x5d764b(0x1dd),_0x53f8eb['udEJw']=function(_0x54fe15,_0x5bb232){return _0x54fe15===_0x5bb232;},_0x53f8eb[_0x5d764b(0x1b5)]=_0x5d764b(0x20a);const _0xd7959d=_0x53f8eb;if(!_0x148eaa)return;const _0xb63e30=[_0xd7959d['TnJRA'],_0xd7959d[_0x5d764b(0x1db)],_0xd7959d[_0x5d764b(0x1ec)],_0xd7959d[_0x5d764b(0x1be)],_0xd7959d[_0x5d764b(0x1d8)]];for(const _0xfd9d26 in _0x148eaa){if(_0xb63e30[_0x5d764b(0x1c9)](_0xfd9d26[_0x5d764b(0x1df)]()))delete _0x148eaa[_0xfd9d26];else _0xd7959d['udEJw'](typeof _0x148eaa[_0xfd9d26],_0xd7959d[_0x5d764b(0x1b5)])&&this[_0x5d764b(0x202)](_0x148eaa[_0xfd9d26]);}}static[a84_0xc4892f(0x1b0)](_0x36da68){const _0x5f87af=a84_0xc4892f,_0x18a787=JSON[_0x5f87af(0x1bd)](JSON[_0x5f87af(0x1b9)](_0x36da68));return this['recursivelyDeletePIIKeysFromObject'](_0x18a787),_0x18a787;}}const a84_0x2eb5d0={};function a84_0x13b6(_0x1397ca,_0x2988be){const _0x1f4372=a84_0x1f43();return a84_0x13b6=function(_0x13b658,_0x119470){_0x13b658=_0x13b658-0x1a4;let _0x533cd8=_0x1f4372[_0x13b658];return _0x533cd8;},a84_0x13b6(_0x1397ca,_0x2988be);}a84_0x2eb5d0[a84_0xc4892f(0x1b8)]=o11yErrorHandler,a84_0x2eb5d0[a84_0xc4892f(0x1d1)]=o11yClassErrorHandler,a84_0x2eb5d0['CrashReporter']=CrashReporter,module['exports']=a84_0x2eb5d0;
1
+ function a84_0x4ace(_0x55c52a,_0x42c153){const _0x224307=a84_0x2243();return a84_0x4ace=function(_0x4ace60,_0x53ac72){_0x4ace60=_0x4ace60-0x1ca;let _0x2cc6f1=_0x224307[_0x4ace60];return _0x2cc6f1;},a84_0x4ace(_0x55c52a,_0x42c153);}const a84_0x2d5fe8=a84_0x4ace;(function(_0x401625,_0x2fdb4c){const _0x2481ec=a84_0x4ace,_0x573c54=_0x401625();while(!![]){try{const _0x15af05=parseInt(_0x2481ec(0x1ec))/0x1+-parseInt(_0x2481ec(0x1e1))/0x2*(parseInt(_0x2481ec(0x1e0))/0x3)+parseInt(_0x2481ec(0x225))/0x4*(parseInt(_0x2481ec(0x1e9))/0x5)+parseInt(_0x2481ec(0x20a))/0x6+parseInt(_0x2481ec(0x1fa))/0x7*(-parseInt(_0x2481ec(0x206))/0x8)+-parseInt(_0x2481ec(0x22c))/0x9*(-parseInt(_0x2481ec(0x22a))/0xa)+-parseInt(_0x2481ec(0x219))/0xb*(parseInt(_0x2481ec(0x1dd))/0xc);if(_0x15af05===_0x2fdb4c)break;else _0x573c54['push'](_0x573c54['shift']());}catch(_0x210f69){_0x573c54['push'](_0x573c54['shift']());}}}(a84_0x2243,0x50e14));const util=require(a84_0x2d5fe8(0x1eb)),PerformanceTester=require(a84_0x2d5fe8(0x1e2)),{trace,debug,nodeRequest,getBrowserStackConfig,getUserCredentials,getFrameworkVersion}=require(a84_0x2d5fe8(0x221)),{getAgentVersion,nestedKeyValue}=require(a84_0x2d5fe8(0x1ff)),o11yErrorHandler=(_0x59e8ab,_0x149c55='',_0x99eaf=[''],_0x31f9b7=![])=>{const _0x185c26={'iwqkz':function(_0x1d92da,_0x53d613){return _0x1d92da(_0x53d613);},'iDWxO':function(_0x265ba1,_0x3ec0de,_0x5dcef8){return _0x265ba1(_0x3ec0de,_0x5dcef8);},'fzYHe':function(_0x2fd694,_0x2763d6,_0x1a8532){return _0x2fd694(_0x2763d6,_0x1a8532);},'BSxaL':function(_0x1933b4,_0x58ce14){return _0x1933b4 instanceof _0x58ce14;},'ujqYd':function(_0x1fbeef,_0x58c8a5,_0x2cded8,_0x101b7f,_0x3f536f){return _0x1fbeef(_0x58c8a5,_0x2cded8,_0x101b7f,_0x3f536f);}};return function(..._0x56f5b5){const _0x251415=a84_0x4ace;try{let _0x2a6767=_0x59e8ab;process[_0x251415(0x227)][_0x251415(0x1d9)]&&(_0x2a6767=PerformanceTester[_0x251415(0x20f)]()[_0x251415(0x1d8)](_0x2a6767));_0x31f9b7&&_0x185c26[_0x251415(0x1e8)](trace,_0x251415(0x1cd)+_0x149c55+_0x251415(0x1fe)+process[_0x251415(0x1d6)]+_0x251415(0x1f5)+_0x185c26[_0x251415(0x22b)](nestedKeyValue,arguments[0x0],_0x99eaf));const _0x3c4a40=_0x2a6767[_0x251415(0x1da)](null,arguments);_0x31f9b7&&_0x185c26['iwqkz'](trace,_0x251415(0x226)+_0x149c55+',\x20PID\x20-\x20'+process['pid']+',\x20Argument\x20-\x20'+_0x185c26[_0x251415(0x237)](nestedKeyValue,arguments[0x0],_0x99eaf));if(_0x185c26[_0x251415(0x1ca)](_0x3c4a40,Promise))return _0x3c4a40[_0x251415(0x200)](_0x5ebfa1=>processError(_0x5ebfa1,_0x59e8ab,_0x56f5b5,_0x149c55));return _0x3c4a40;}catch(_0x345301){_0x185c26['ujqYd'](processError,_0x345301,_0x59e8ab,_0x56f5b5,_0x149c55);}};},o11yClassErrorHandler=(_0x3f8962,_0x2fe580,_0xd0108='')=>{const _0x4e251f=a84_0x2d5fe8,_0xe9bd01={'OlHpb':function(_0x5c12dd,_0x11c485){return _0x5c12dd instanceof _0x11c485;},'fOGqI':function(_0x379550,_0x1c5fc4,_0x47da12,_0x1c6982,_0x4d330e){return _0x379550(_0x1c5fc4,_0x47da12,_0x1c6982,_0x4d330e);},'ziVGc':function(_0x4031cd,_0x47b626){return _0x4031cd===_0x47b626;},'dUSfc':'function','OOerj':function(_0x30cc15,_0x559359){return _0x30cc15!==_0x559359;},'TWqix':_0x4e251f(0x231),'xuiKt':function(_0x544b42,_0x468f89){return _0x544b42<_0x468f89;}},_0x1e87f3=_0x3f8962[_0x4e251f(0x239)];if(_0xe9bd01[_0x4e251f(0x1d5)](Object['getOwnPropertyNames'](_0x1e87f3)[_0x4e251f(0x238)],0x2))return _0x3f8962;return Object[_0x4e251f(0x1ce)](_0x1e87f3)[_0x4e251f(0x22d)](_0x3909e7=>{const _0x19e6c7=_0x4e251f,_0x237d8a={'PSZVb':function(_0x3b6ee9,_0x2a1c92){const _0x264cbb=a84_0x4ace;return _0xe9bd01[_0x264cbb(0x211)](_0x3b6ee9,_0x2a1c92);},'jhCzq':function(_0x2eeed0,_0x4004e4,_0x8acaeb,_0x54c533,_0x220c4b){const _0x11c808=a84_0x4ace;return _0xe9bd01[_0x11c808(0x232)](_0x2eeed0,_0x4004e4,_0x8acaeb,_0x54c533,_0x220c4b);}};if(!(_0x2fe580&&_0x2fe580[_0x19e6c7(0x233)](_0x3909e7)))return;const _0x38765c=_0x1e87f3[_0x3909e7];_0xe9bd01['ziVGc'](typeof _0x38765c,_0xe9bd01[_0x19e6c7(0x20c)])&&_0xe9bd01[_0x19e6c7(0x1ed)](_0x3909e7,_0xe9bd01[_0x19e6c7(0x236)])&&Object[_0x19e6c7(0x218)](_0x1e87f3,_0x3909e7,{'writable':!![],'value':function(..._0x59ddc9){const _0x389406=_0x19e6c7;try{const _0x12aa84=(process[_0x389406(0x227)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']?PerformanceTester[_0x389406(0x20f)]()[_0x389406(0x1d8)](_0x38765c):_0x38765c)[_0x389406(0x213)](this,..._0x59ddc9);if(_0x237d8a[_0x389406(0x1e6)](_0x12aa84,Promise))return _0x12aa84[_0x389406(0x200)](_0x415318=>processError(_0x415318,_0x38765c,_0x59ddc9,_0xd0108));return _0x12aa84;}catch(_0x519ed5){_0x237d8a[_0x389406(0x20b)](processError,_0x519ed5,_0x38765c,_0x59ddc9,_0xd0108);}}});}),_0x3f8962;};function processError(_0x13f4d7,_0x232e1f,_0x2a357b,_0x18006c){const _0x1e7bdf=a84_0x2d5fe8,_0x1d7acb={'jKqjA':function(_0x114df6,_0x3f93eb){return _0x114df6(_0x3f93eb);}};_0x1d7acb[_0x1e7bdf(0x1db)](debug,_0x1e7bdf(0x1f8)+_0x232e1f[_0x1e7bdf(0x1d3)]+'\x20--\x20'+_0x18006c+_0x1e7bdf(0x20e)+_0x13f4d7+_0x1e7bdf(0x212)+_0x2a357b+'.'),PerformanceTester[_0x1e7bdf(0x1f6)](_0x13f4d7);let _0x13e4ff;try{_0x13e4ff=JSON['stringify'](_0x2a357b);}catch(_0x1865b0){const _0x5b96c0={};_0x5b96c0[_0x1e7bdf(0x228)]=0x2,_0x13e4ff=util[_0x1e7bdf(0x20d)](_0x2a357b,_0x5b96c0);}CrashReporter['uploadCrashReport']('Error\x20in\x20executing\x20'+_0x232e1f['name']+_0x1e7bdf(0x1ea)+_0x18006c+_0x1e7bdf(0x20e)+_0x13f4d7+_0x1e7bdf(0x212)+_0x13e4ff+'.',_0x13f4d7&&_0x13f4d7[_0x1e7bdf(0x1cb)]);}class CrashReporter{static [a84_0x2d5fe8(0x1f1)]={};static [a84_0x2d5fe8(0x1e7)];static [a84_0x2d5fe8(0x201)]={};static['initialize'](_0x33f4b8,_0x514993,_0x3b45ab=null){const _0x275ec1=a84_0x2d5fe8,_0x5ba947={'oyKQX':function(_0x309c68,_0x2d4efe){return _0x309c68(_0x2d4efe);},'qiqpP':function(_0x402dc1,_0x225e65){return _0x402dc1(_0x225e65);},'wgFxi':function(_0x1b577d,_0x1dfd24){return _0x1b577d(_0x1dfd24);}},_0x915311=_0x33f4b8[_0x275ec1(0x21f)],_0x2284d1=_0x33f4b8['frameworkVersion'];!_0x3b45ab&&(_0x3b45ab=_0x5ba947[_0x275ec1(0x21a)](getBrowserStackConfig,_0x915311));!_0x2284d1&&_0x5ba947[_0x275ec1(0x1f9)](getFrameworkVersion,_0x915311);const _0x3ab7e1={};_0x3ab7e1[_0x275ec1(0x21f)]=_0x915311,_0x3ab7e1[_0x275ec1(0x230)]=_0x2284d1,this[_0x275ec1(0x235)](_0x3ab7e1,_0x514993,_0x5ba947['wgFxi'](getUserCredentials,_0x3b45ab));}static[a84_0x2d5fe8(0x1d1)](_0x408ced,_0x2ba0f1){const _0x56e31d=a84_0x2d5fe8,_0x3f2a6d={};_0x3f2a6d[_0x56e31d(0x208)]=_0x408ced,_0x3f2a6d[_0x56e31d(0x22f)]=_0x2ba0f1,this[_0x56e31d(0x1e7)]=_0x3f2a6d,process[_0x56e31d(0x227)][_0x56e31d(0x1d2)]=JSON[_0x56e31d(0x234)](this[_0x56e31d(0x1e7)]);}static[a84_0x2d5fe8(0x1ee)](){const _0x4b8242=a84_0x2d5fe8,_0x1036cc={'YqDmX':function(_0x1e331e,_0x2db48c){return _0x1e331e(_0x2db48c);}};if(!this['credentials']&&process[_0x4b8242(0x227)][_0x4b8242(0x1d2)])try{this[_0x4b8242(0x1e7)]=JSON[_0x4b8242(0x21d)](process['env'][_0x4b8242(0x1d2)]);}catch(_0x2f7aae){_0x1036cc[_0x4b8242(0x1cf)](debug,_0x4b8242(0x1e4)+_0x2f7aae[_0x4b8242(0x217)]());}return this[_0x4b8242(0x1e7)];}static[a84_0x2d5fe8(0x216)](_0x4629b7){const _0x506322=a84_0x2d5fe8;this[_0x506322(0x1f1)]=this['filterPII'](_0x4629b7),process[_0x506322(0x227)]['USER_CONFIG_FOR_REPORTING']=JSON[_0x506322(0x234)](this[_0x506322(0x1f1)]);}static['getConfig'](){const _0x5c8a8a=a84_0x2d5fe8,_0x4a0da0={'ibnlr':function(_0x27ddab,_0x798c0e){return _0x27ddab===_0x798c0e;},'rDrle':function(_0x135dc5,_0x305484){return _0x135dc5(_0x305484);}};if(_0x4a0da0['ibnlr'](Object['keys'](this['userConfig'])[_0x5c8a8a(0x238)],0x0)&&process['env'][_0x5c8a8a(0x223)])try{this['userConfig']=JSON[_0x5c8a8a(0x21d)](process['env']['USER_CONFIG_FOR_REPORTING']);}catch(_0x1d8db0){_0x4a0da0[_0x5c8a8a(0x21c)](debug,'Error\x20in\x20parsing\x20user\x20config\x20from\x20env\x20'+_0x1d8db0['toString']()),this[_0x5c8a8a(0x1f1)]={};}return this[_0x5c8a8a(0x1f1)];}static[a84_0x2d5fe8(0x203)](_0x3c01d8){const _0x29763c=a84_0x2d5fe8;this['frameworkDetails']=_0x3c01d8,process[_0x29763c(0x227)][_0x29763c(0x204)]=JSON['stringify'](this[_0x29763c(0x201)]);}static[a84_0x2d5fe8(0x205)](){const _0x14ae24=a84_0x2d5fe8,_0x488c81={'ljSdW':function(_0x5d7870,_0x182ced){return _0x5d7870===_0x182ced;},'BZuWF':function(_0x1eb1e7,_0x440931){return _0x1eb1e7(_0x440931);}};if(_0x488c81['ljSdW'](Object[_0x14ae24(0x1fb)](this[_0x14ae24(0x201)])[_0x14ae24(0x238)],0x0)&&process[_0x14ae24(0x227)]['BROWSERSTACK_O11Y_FRAMEWORK_DETAILS'])try{this[_0x14ae24(0x201)]=JSON[_0x14ae24(0x21d)](process[_0x14ae24(0x227)][_0x14ae24(0x204)]);}catch(_0x3d5e4d){_0x488c81['BZuWF'](debug,_0x14ae24(0x1e4)+_0x3d5e4d[_0x14ae24(0x217)]());}return this[_0x14ae24(0x201)];}static[a84_0x2d5fe8(0x235)](_0x3af8b6,_0x30d564,_0x6343d2){const _0x4fd293=a84_0x2d5fe8;_0x3af8b6&&this[_0x4fd293(0x203)](_0x3af8b6),_0x30d564&&this['setConfigDetails'](_0x30d564),_0x6343d2&&this[_0x4fd293(0x1d1)](_0x6343d2[_0x4fd293(0x208)],_0x6343d2[_0x4fd293(0x22f)]);}static async[a84_0x2d5fe8(0x224)](_0x23de7a,_0x1b8db8){const _0x51e737=a84_0x2d5fe8,_0x33c570={'RIXdN':function(_0x462a39,_0x1d2387){return _0x462a39(_0x1d2387);},'yPcmr':function(_0x1400d2,_0x213545){return _0x1400d2(_0x213545);},'zJzHN':_0x51e737(0x21b),'pytNW':function(_0x16cc43){return _0x16cc43();},'dqkZT':'/api/v1/analytics','qHLaq':_0x51e737(0x1e5),'blpjk':_0x51e737(0x214),'JlKzq':function(_0x2cf026,_0x28da5c,_0x2750e1,_0xa3af44,_0xa761da,_0x458211){return _0x2cf026(_0x28da5c,_0x2750e1,_0xa3af44,_0xa761da,_0x458211);},'LEgBw':_0x51e737(0x222)};this['getCredentials']();if(!this[_0x51e737(0x1e7)])return _0x33c570[_0x51e737(0x207)](debug,_0x33c570['zJzHN']);this['getConfig'](),this['getFramework']();const _0x357aba={'hashed_id':process['env'][_0x51e737(0x202)],'observability_version':{'sdkVersion':_0x33c570['pytNW'](getAgentVersion),'frameworkName':this[_0x51e737(0x201)][_0x51e737(0x21f)],'frameworkVersion':this['frameworkDetails']['frameworkVersion']},'exception':{'error':_0x23de7a[_0x51e737(0x217)](),'stackTrace':_0x1b8db8},'config':this[_0x51e737(0x1f1)]},_0x45161f=_0x33c570[_0x51e737(0x22e)],_0x8992be={};_0x8992be[_0x51e737(0x208)]=this[_0x51e737(0x1e7)][_0x51e737(0x208)],_0x8992be[_0x51e737(0x1d0)]=this[_0x51e737(0x1e7)][_0x51e737(0x22f)];const _0x22a5db={};_0x22a5db[_0x51e737(0x1f0)]=_0x33c570['qHLaq'],_0x22a5db[_0x51e737(0x1de)]=_0x33c570[_0x51e737(0x21e)];const _0xd8826a={};_0xd8826a['auth']=_0x8992be,_0xd8826a[_0x51e737(0x1d7)]=_0x22a5db;const _0x3efc6e=_0xd8826a;_0x33c570[_0x51e737(0x210)](nodeRequest,_0x33c570['LEgBw'],_0x45161f,_0x357aba,_0x3efc6e,![])['then'](_0x2aaa34=>{const _0x55d314=_0x51e737;_0x33c570[_0x55d314(0x1fd)](debug,_0x55d314(0x229)+JSON['stringify'](_0x2aaa34));})[_0x51e737(0x200)](_0x10eec5=>{const _0x5e9e05=_0x51e737;_0x33c570[_0x5e9e05(0x1fd)](debug,'[Crash_Report_Upload]\x20Failed\x20due\x20to\x20'+util['format'](_0x10eec5));});}static[a84_0x2d5fe8(0x215)](_0x4d62e9){const _0x3a6340=a84_0x2d5fe8,_0x29eecb={};_0x29eecb[_0x3a6340(0x1f3)]=_0x3a6340(0x1f2),_0x29eecb['cgaFI']=_0x3a6340(0x208),_0x29eecb[_0x3a6340(0x1cc)]=_0x3a6340(0x1e3),_0x29eecb[_0x3a6340(0x209)]='accessKey',_0x29eecb['nKWVW']=_0x3a6340(0x1d0),_0x29eecb['VxCPc']=function(_0x381a47,_0x288934){return _0x381a47===_0x288934;},_0x29eecb['FJCIA']=_0x3a6340(0x220);const _0x2cbcf7=_0x29eecb;if(!_0x4d62e9)return;const _0x85ef23=[_0x2cbcf7[_0x3a6340(0x1f3)],_0x2cbcf7['cgaFI'],_0x2cbcf7['hJEop'],_0x2cbcf7[_0x3a6340(0x209)],_0x2cbcf7[_0x3a6340(0x1ef)]];for(const _0x5e53e8 in _0x4d62e9){if(_0x85ef23[_0x3a6340(0x233)](_0x5e53e8[_0x3a6340(0x1f7)]()))delete _0x4d62e9[_0x5e53e8];else _0x2cbcf7[_0x3a6340(0x1dc)](typeof _0x4d62e9[_0x5e53e8],_0x2cbcf7['FJCIA'])&&this['recursivelyDeletePIIKeysFromObject'](_0x4d62e9[_0x5e53e8]);}}static[a84_0x2d5fe8(0x1df)](_0x30edc6){const _0x1dab91=a84_0x2d5fe8,_0x587cf9=JSON[_0x1dab91(0x21d)](JSON[_0x1dab91(0x234)](_0x30edc6));return this[_0x1dab91(0x215)](_0x587cf9),_0x587cf9;}}const a84_0x5e46b1={};a84_0x5e46b1['o11yErrorHandler']=o11yErrorHandler,a84_0x5e46b1[a84_0x2d5fe8(0x1fc)]=o11yClassErrorHandler,a84_0x5e46b1[a84_0x2d5fe8(0x1d4)]=CrashReporter,module[a84_0x2d5fe8(0x1f4)]=a84_0x5e46b1;function a84_0x2243(){const _0x205b0c=['Content-Type','userConfig','user','ShRXA','exports',',\x20Argument\x20-\x20','captureError','toLowerCase','Error\x20in\x20executing\x20','qiqpP','3018995PpwsvW','keys','o11yClassErrorHandler','RIXdN',',\x20PID\x20-\x20','../helper','catch','frameworkDetails','BS_TESTOPS_BUILD_HASHED_ID','setFrameworkDetails','BROWSERSTACK_O11Y_FRAMEWORK_DETAILS','getFramework','8EpIxqp','yPcmr','username','FEeSO','2930976TwtVKX','jhCzq','dUSfc','inspect','.\x20Error\x20-\x20','getPerformance','JlKzq','OlHpb','.\x20Args\x20-\x20','call','true','recursivelyDeletePIIKeysFromObject','setConfigDetails','toString','defineProperty','44AMJXrQ','oyKQX','[Crash_Report_Upload]\x20Failed\x20to\x20parse\x20user\x20credentials\x20while\x20reporting\x20crash','rDrle','parse','blpjk','frameworkName','object','./utils','POST','USER_CONFIG_FOR_REPORTING','uploadCrashReport','3180UFjjkm','Finished\x20::\x20','env','depth','[Crash_Report_Upload]\x20Success\x20response:\x20','957150HMDtdx','iDWxO','9NCLfjc','forEach','dqkZT','accessKey','frameworkVersion','constructor','fOGqI','includes','stringify','setAllDetails','TWqix','fzYHe','length','prototype','BSxaL','stack','hJEop','Started\x20::\x20','getOwnPropertyNames','YqDmX','password','setCredentials','CREDENTIALS_FOR_CRASH_REPORTING','name','CrashReporter','xuiKt','pid','headers','timerify','BROWSERSTACK_O11Y_PERF_MEASUREMENT','apply','jKqjA','VxCPc','1122516jZOcnD','X-BSTACK-TESTOPS','filterPII','384PvVgVu','7064LIbzOq','../performance/performance-tester','key','Error\x20in\x20parsing\x20credentials\x20from\x20env\x20','application/json','PSZVb','credentials','iwqkz','2855kzykFB','\x20--\x20','util','550681DqJfQL','OOerj','getCredentials','nKWVW'];a84_0x2243=function(){return _0x205b0c;};return a84_0x2243();}
@@ -1 +1 @@
1
- const a85_0x2bf13d=a85_0x2670;(function(_0x480a96,_0x40320d){const _0x4f5238=a85_0x2670,_0x42fcd1=_0x480a96();while(!![]){try{const _0x219f67=-parseInt(_0x4f5238(0x6c))/0x1*(parseInt(_0x4f5238(0x6e))/0x2)+parseInt(_0x4f5238(0x9d))/0x3+parseInt(_0x4f5238(0x69))/0x4+parseInt(_0x4f5238(0x96))/0x5*(parseInt(_0x4f5238(0xbb))/0x6)+-parseInt(_0x4f5238(0x97))/0x7*(-parseInt(_0x4f5238(0x6a))/0x8)+parseInt(_0x4f5238(0x88))/0x9+parseInt(_0x4f5238(0xc1))/0xa*(-parseInt(_0x4f5238(0x90))/0xb);if(_0x219f67===_0x40320d)break;else _0x42fcd1['push'](_0x42fcd1['shift']());}catch(_0x48ac9d){_0x42fcd1['push'](_0x42fcd1['shift']());}}}(a85_0x1748,0x87983));function a85_0x2670(_0x531364,_0x574575){const _0x17488e=a85_0x1748();return a85_0x2670=function(_0x26709d,_0x44c163){_0x26709d=_0x26709d-0x67;let _0x434a6e=_0x17488e[_0x26709d];return _0x434a6e;},a85_0x2670(_0x531364,_0x574575);}const {BATCH_SIZE,BATCH_INTERVAL,DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS}=require(a85_0x2bf13d(0x9c)),{nodeRequest,debug,trace,sleep,getDefaultHeaders}=require(a85_0x2bf13d(0x7b)),{nestedKeyValue}=require(a85_0x2bf13d(0xae)),util=require(a85_0x2bf13d(0xb4));class RequestQueueHandler{static ['instance'];[a85_0x2bf13d(0xbd)]=0x0;constructor(){const _0x152788=a85_0x2bf13d,_0x54a764={};_0x54a764['KeCQQ']='5|1|3|2|4|0',_0x54a764[_0x152788(0x73)]=_0x152788(0x87),_0x54a764['OUDlu']='api/v1/batch',_0x54a764[_0x152788(0x83)]=_0x152788(0xca),_0x54a764[_0x152788(0x9e)]=_0x152788(0x70),_0x54a764[_0x152788(0x9a)]=_0x152788(0xac),_0x54a764[_0x152788(0xaf)]=_0x152788(0xb2),_0x54a764[_0x152788(0xc8)]=_0x152788(0xc7),_0x54a764[_0x152788(0xc9)]=_0x152788(0x89),_0x54a764['qvjrp']=_0x152788(0x9b);const _0x4854be=_0x54a764,_0x358e9b=_0x4854be[_0x152788(0x8c)][_0x152788(0x6b)]('|');let _0x195712=0x0;while(!![]){switch(_0x358e9b[_0x195712++]){case'0':this[_0x152788(0x9f)]=null;continue;case'1':this[_0x152788(0xce)]=![];continue;case'2':this['screenshotEventUrl']=_0x4854be[_0x152788(0x73)];continue;case'3':this['eventUrl']=_0x4854be[_0x152788(0xc6)];continue;case'4':this[_0x152788(0xad)]=[_0x4854be[_0x152788(0x83)],_0x4854be[_0x152788(0x9e)],_0x4854be['Ytwfz'],_0x4854be[_0x152788(0xaf)],_0x4854be[_0x152788(0xc8)],_0x4854be[_0x152788(0xc9)],_0x4854be[_0x152788(0x8f)]];continue;case'5':this['queue']=[];continue;}break;}}static[a85_0x2bf13d(0x80)](){const _0x2c1d92=a85_0x2bf13d;return!RequestQueueHandler[_0x2c1d92(0x81)]&&(RequestQueueHandler['instance']=new RequestQueueHandler()),RequestQueueHandler['instance'];}[a85_0x2bf13d(0xa6)]=()=>{const _0x1d1d08=a85_0x2bf13d;!this[_0x1d1d08(0xce)]&&(this['started']=!![],this['startEventBatchPolling']());};[a85_0x2bf13d(0xcf)]=_0x3fd311=>{const _0x3167c8=a85_0x2bf13d,_0x51de73={'WebCZ':function(_0x31faab,_0x355bd4){return _0x31faab===_0x355bd4;},'HWbAQ':'TEST_SCREENSHOT','RdVXu':function(_0x542c16,_0x57b1d8){return _0x542c16(_0x57b1d8);},'gtzlC':_0x3167c8(0xbc)};if(this[_0x3167c8(0xad)][_0x3167c8(0x7a)](_0x3fd311[_0x3167c8(0x6f)])){if(_0x3fd311[_0x3167c8(0xc5)]&&_0x3fd311[_0x3167c8(0xc5)][0x0]&&_0x51de73[_0x3167c8(0xb6)](_0x3fd311['logs'][0x0][_0x3167c8(0x94)],_0x51de73[_0x3167c8(0xba)])){const _0x556a11={};return _0x556a11[_0x3167c8(0x74)]=!![],_0x556a11['proceedWithData']=[_0x3fd311],_0x556a11[_0x3167c8(0xcb)]=this['screenshotEventUrl'],_0x556a11;}this[_0x3167c8(0xcc)]['push'](_0x3fd311);let _0x3aad08=null;const _0x508213=this['shouldProceed']();_0x508213&&(_0x51de73[_0x3167c8(0xb1)](trace,_0x51de73[_0x3167c8(0x8a)]),_0x3aad08=this['queue']['slice'](0x0,BATCH_SIZE),this[_0x3167c8(0xcc)][_0x3167c8(0x75)](0x0,BATCH_SIZE),this[_0x3167c8(0x92)]());const _0x202709={};return _0x202709[_0x3167c8(0x74)]=_0x508213,_0x202709['proceedWithData']=_0x3aad08,_0x202709[_0x3167c8(0xcb)]=this[_0x3167c8(0xb7)],_0x202709;}const _0x24b01b={};return _0x24b01b['shouldProceed']=!![],_0x24b01b;};['shutdown']=async()=>{const _0x2ae6f5=a85_0x2bf13d,_0x5bd43b={'akwGc':_0x2ae6f5(0xc0),'YGiPN':function(_0xcdb58f,_0x5df5bc){return _0xcdb58f>_0x5df5bc;},'bUyFZ':_0x2ae6f5(0x91),'tMqaC':function(_0x266a4d,_0x3c0ec2){return _0x266a4d(_0x3c0ec2);}};await this[_0x2ae6f5(0xc2)](),this[_0x2ae6f5(0xb9)](_0x5bd43b[_0x2ae6f5(0x7f)]);while(_0x5bd43b[_0x2ae6f5(0xb8)](this['queue'][_0x2ae6f5(0x86)],0x0)){const _0x2ff1fa=this['queue']['slice'](0x0,BATCH_SIZE);this[_0x2ae6f5(0xcc)][_0x2ae6f5(0x75)](0x0,BATCH_SIZE),await this[_0x2ae6f5(0xcd)](this[_0x2ae6f5(0xb7)],_0x5bd43b['bUyFZ'],_0x2ff1fa);}_0x5bd43b[_0x2ae6f5(0xb8)](this[_0x2ae6f5(0xbd)],0x0)&&_0x5bd43b[_0x2ae6f5(0x85)](debug,_0x2ae6f5(0xa2)+this['pendingUploads']);};['batchAndPostEvents']=async(_0x212ed2,_0x546bcb,_0x1c52c5)=>{const _0x215996=a85_0x2bf13d,_0x5a1f5a={'hfVga':function(_0x1d78cf,_0x188545){return _0x1d78cf(_0x188545);},'WEcSe':_0x215996(0xb5),'AhxRV':function(_0x21e6ea,_0x3f8e3c){return _0x21e6ea(_0x3f8e3c);},'LqGjU':function(_0x3ee68b){return _0x3ee68b();},'OVnTr':function(_0x3d03f5,_0x260122,_0x30b485,_0x1e5ae7,_0x983fde){return _0x3d03f5(_0x260122,_0x30b485,_0x1e5ae7,_0x983fde);},'nVCWN':_0x215996(0xb0),'xVbtF':function(_0x4d6954,_0x4810b6){return _0x4d6954-_0x4810b6;},'ffGuO':function(_0x33d517,_0xf67b7f){return _0x33d517-_0xf67b7f;}};let _0x5afe06='';try{_0x5afe06=_0x1c52c5[_0x215996(0x8d)](_0x1f31e8=>'\x27'+_0x1f31e8['event_type']+'\x27:'+(nestedKeyValue(_0x1f31e8,[_0x215996(0x67),'uuid'])||nestedKeyValue(_0x1f31e8,[_0x215996(0x68),'uuid'])))[_0x215996(0xab)](','),_0x5a1f5a['hfVga'](debug,_0x215996(0xc4)+_0x546bcb+'.\x20Request\x20Size\x20-\x20'+Buffer[_0x215996(0x93)](util[_0x215996(0xa7)]('%j',_0x1c52c5),_0x5a1f5a['WEcSe'])+_0x215996(0x7d)+_0x5afe06);}catch(_0x453b28){_0x5a1f5a[_0x215996(0x78)](debug,_0x215996(0xc3)+util[_0x215996(0xa7)](_0x453b28)+'}');}const _0x501f0e={'headers':_0x5a1f5a['LqGjU'](getDefaultHeaders)};try{const _0x3fcc74=await _0x5a1f5a[_0x215996(0xbf)](nodeRequest,_0x5a1f5a[_0x215996(0xbe)],_0x212ed2,_0x1c52c5,_0x501f0e);if(_0x3fcc74[_0x215996(0x82)]['error']){const _0x14d11e={};_0x14d11e[_0x215996(0xa3)]=_0x3fcc74[_0x215996(0x82)]['error'];throw _0x14d11e;}else _0x5a1f5a['AhxRV'](debug,_0x546bcb+_0x215996(0x79)+_0x5afe06+_0x215996(0x7e)+util[_0x215996(0xa7)]('%j',_0x3fcc74['data'])),this['pendingUploads']=Math[_0x215996(0x72)](0x0,_0x5a1f5a[_0x215996(0x77)](this[_0x215996(0xbd)],_0x1c52c5[_0x215996(0x86)]));}catch(_0x9b0b96){_0x9b0b96[_0x215996(0xa8)]?_0x5a1f5a[_0x215996(0x78)](debug,_0x215996(0x6d)+_0x546bcb+_0x215996(0xa4)+_0x9b0b96[_0x215996(0xa8)][_0x215996(0x98)]+'\x20'+_0x9b0b96[_0x215996(0xa8)]['statusText']+'\x20'+JSON['stringify'](_0x9b0b96['response'])):_0x5a1f5a[_0x215996(0x78)](debug,_0x215996(0x6d)+_0x546bcb+_0x215996(0xa4)+(_0x9b0b96[_0x215996(0xa3)]||_0x9b0b96)),this[_0x215996(0xbd)]=Math['max'](0x0,_0x5a1f5a['ffGuO'](this[_0x215996(0xbd)],_0x1c52c5[_0x215996(0x86)]));}};[a85_0x2bf13d(0x76)]=()=>{const _0x2328df=a85_0x2bf13d,_0x219681={'wGtuO':function(_0x36f843,_0x1461b4){return _0x36f843>_0x1461b4;},'QEgis':function(_0x2c4d22,_0xe4a27d){return _0x2c4d22(_0xe4a27d);},'vifNV':'Interval-Queue','jHPge':function(_0x216a1a,_0x56377a,_0x4935e0){return _0x216a1a(_0x56377a,_0x4935e0);}};this[_0x2328df(0x9f)]=_0x219681[_0x2328df(0xb3)](setInterval,async()=>{const _0x4c39d3=_0x2328df;if(_0x219681['wGtuO'](this[_0x4c39d3(0xcc)]['length'],0x0)){_0x219681[_0x4c39d3(0x84)](trace,_0x4c39d3(0x95)+this[_0x4c39d3(0xcc)][_0x4c39d3(0x86)]);const _0x326842=this[_0x4c39d3(0xcc)]['slice'](0x0,BATCH_SIZE);this['queue'][_0x4c39d3(0x75)](0x0,BATCH_SIZE),await this[_0x4c39d3(0xcd)](this[_0x4c39d3(0xb7)],_0x219681[_0x4c39d3(0x99)],_0x326842),_0x219681[_0x4c39d3(0x84)](trace,'Remaining\x20Queue\x20Length\x20-\x20'+this[_0x4c39d3(0xcc)][_0x4c39d3(0x86)]);}},BATCH_INTERVAL);};['resetEventBatchPolling']=()=>{const _0x260dab=a85_0x2bf13d,_0x414100={};_0x414100[_0x260dab(0xa0)]=_0x260dab(0x8b);const _0x26c8db=_0x414100;this[_0x260dab(0xb9)](_0x26c8db[_0x260dab(0xa0)]),this[_0x260dab(0x76)]();};[a85_0x2bf13d(0xb9)]=_0x27243c=>{const _0xa33944=a85_0x2bf13d,_0x2a4e97={'wohjB':function(_0x1cffd1,_0x256dcb){return _0x1cffd1(_0x256dcb);},'bKqUZ':function(_0x1f2b94,_0x40967b){return _0x1f2b94===_0x40967b;},'jWPVy':'REMOVING'};this[_0xa33944(0x9f)]&&(_0x2a4e97[_0xa33944(0xa9)](clearInterval,this[_0xa33944(0x9f)]),this[_0xa33944(0x9f)]=null,_0x2a4e97[_0xa33944(0xa5)](_0x27243c,_0x2a4e97[_0xa33944(0x8e)])&&(this[_0xa33944(0xce)]=![]));};[a85_0x2bf13d(0x74)]=()=>{const _0x525bef=a85_0x2bf13d,_0x4e890={};_0x4e890[_0x525bef(0x7c)]=function(_0xac0801,_0x18c4de){return _0xac0801>=_0x18c4de;};const _0x227b1e=_0x4e890;return _0x227b1e[_0x525bef(0x7c)](this[_0x525bef(0xcc)][_0x525bef(0x86)],BATCH_SIZE);};async[a85_0x2bf13d(0xc2)](_0x23d187=DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,_0x26380d=DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS){const _0x5c7eb0=a85_0x2bf13d,_0x537b7a={'WHILX':function(_0x1cd849,_0x45bb69){return _0x1cd849<=_0x45bb69;},'LLUCj':function(_0x2fb6a3,_0x5be6cb){return _0x2fb6a3<=_0x5be6cb;},'DsSoA':function(_0x45d143,_0x921ffe){return _0x45d143(_0x921ffe);},'oobQF':function(_0x6a33c4,_0x1242e2){return _0x6a33c4-_0x1242e2;}};if(_0x537b7a[_0x5c7eb0(0x71)](this[_0x5c7eb0(0xbd)],0x0)||_0x537b7a['LLUCj'](_0x23d187,0x0))return;return await _0x537b7a[_0x5c7eb0(0xaa)](sleep,_0x26380d),this['uploadPending'](_0x537b7a[_0x5c7eb0(0xa1)](_0x23d187,_0x26380d));}}function a85_0x1748(){const _0x471f10=['LogCreated','proceedWithUrl','queue','batchAndPostEvents','started','add','test_run','hook_run','2581780eQfDCz','8nBTtWv','split','1969QcamgD','EXCEPTION\x20IN\x20','130MhmfyS','event_type','CBTSessionCreated','WHILX','max','ZPjTf','shouldProceed','splice','startEventBatchPolling','xVbtF','AhxRV','\x20event\x20successful\x20for\x20events\x20','includes','./utils','aeCSn','\x20bytes.\x20Events\x20are\x20','\x20--\x20','akwGc','getInstance','instance','data','FnBAP','QEgis','tMqaC','length','api/v1/screenshots','6306408FFjcbF','TestRunStarted','gtzlC','RESETTING','KeCQQ','map','jWPVy','qvjrp','22MGEpdJ','Shutdown-Queue','resetEventBatchPolling','byteLength','kind','Processing\x20events.\x20Queue\x20Length\x20-\x20','3439510OJjGnD','5319349eHeVGR','status','vifNV','Ytwfz','HookRunStarted','./constants','1595286UVZsDb','TVaPo','pollEventBatchInterval','ikZpc','oobQF','Shutting\x20down\x20request\x20batcher\x20with\x20pending\x20uploads\x20still\x20in\x20queue.\x20Remaining\x20uploads\x20','message','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20','bKqUZ','start','format','response','wohjB','DsSoA','join','TestRunFinished','BATCH_EVENT_TYPES','../helper','mxvyu','POST','RdVXu','TestRunSkipped','jHPge','util','utf8','WebCZ','eventUrl','YGiPN','removeEventBatchPolling','HWbAQ','6FRAfTi','Batch\x20event\x20length\x20has\x20increased\x20maximum\x20batch\x20size.\x20Sending\x20events..','pendingUploads','nVCWN','OVnTr','REMOVING','13211740vaGoPP','uploadPending','Exception\x20in\x20logging\x20batch\x20events\x20--\x20','Processing\x20batch\x20events\x20for\x20','logs','OUDlu','HookRunFinished','Ttgky','YZcxh'];a85_0x1748=function(){return _0x471f10;};return a85_0x1748();}module['exports']=RequestQueueHandler;
1
+ const a85_0x223272=a85_0x3adb;function a85_0x3adb(_0x2653c2,_0x5d511a){const _0x1d6650=a85_0x1d66();return a85_0x3adb=function(_0x3adb6c,_0x2d5c54){_0x3adb6c=_0x3adb6c-0x182;let _0x4415b0=_0x1d6650[_0x3adb6c];return _0x4415b0;},a85_0x3adb(_0x2653c2,_0x5d511a);}(function(_0x525e82,_0x3a16fb){const _0xc6da13=a85_0x3adb,_0x46100e=_0x525e82();while(!![]){try{const _0x319f38=parseInt(_0xc6da13(0x1e9))/0x1*(-parseInt(_0xc6da13(0x1d1))/0x2)+parseInt(_0xc6da13(0x1d8))/0x3+-parseInt(_0xc6da13(0x1db))/0x4*(-parseInt(_0xc6da13(0x1be))/0x5)+-parseInt(_0xc6da13(0x1e6))/0x6*(parseInt(_0xc6da13(0x1b2))/0x7)+parseInt(_0xc6da13(0x1ea))/0x8+-parseInt(_0xc6da13(0x1d2))/0x9*(parseInt(_0xc6da13(0x18e))/0xa)+parseInt(_0xc6da13(0x1a3))/0xb*(-parseInt(_0xc6da13(0x182))/0xc);if(_0x319f38===_0x3a16fb)break;else _0x46100e['push'](_0x46100e['shift']());}catch(_0x2d715a){_0x46100e['push'](_0x46100e['shift']());}}}(a85_0x1d66,0x1db7f));function a85_0x1d66(){const _0x4f312e=['AZpao','zQtpB','Batch\x20event\x20length\x20has\x20increased\x20maximum\x20batch\x20size.\x20Sending\x20events..','Ipwfs','api/v1/batch','slice','TEST_SCREENSHOT','stringify','1630WTSRfP','mNvag','uploadPending','splice','EnHvp','Processing\x20batch\x20events\x20for\x20','shutdown','hiJFt','Shutting\x20down\x20request\x20batcher\x20with\x20pending\x20uploads\x20still\x20in\x20queue.\x20Remaining\x20uploads\x20','hgwqU','message','DGTgv','wtUuv','LogCreated','error','dhThx','oPIwH','NOWZV','DvZkD','max','yyOeS','33DGypeo','EXCEPTION\x20IN\x20','HookRunStarted','test_run','rviTx','includes','proceedWithUrl','CBTSessionCreated','aSeJI','Interval-Queue','../helper','GXiMr','logs','Gijyk','Processing\x20events.\x20Queue\x20Length\x20-\x20','462MUkmtO','queue','batchAndPostEvents','eventUrl','TestRunSkipped','rekDx','add','\x20--\x20','started','GqcaC','map','iKccZ','5bDXsyK','data','ZkOdX','shouldProceed','DfnlP','status','length','pendingUploads','api/v1/screenshots','removeEventBatchPolling','iRKjg','start','\x20bytes.\x20Events\x20are\x20','qEaSF','format','screenshotEventUrl','3|4|5|0|1|2','CScPw','BATCH_EVENT_TYPES','4514HNcYKw','4167lgSQCz','resetEventBatchPolling','uuid','instance','Shutdown-Queue','Exception\x20in\x20logging\x20batch\x20events\x20--\x20','570267LmGAXX','yLIMm','split','405404WAXlvg','byteLength','response','MXbfj','CSbcZ','RESETTING','iOOOG','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20','YSRJA','POST','pollEventBatchInterval','1158veQowh','event_type','startEventBatchPolling','6uvpItm','1803176XoEEQa','hook_run','join','./constants','REMOVING','proceedWithData','pUBhw','1173444HKlulN','mTcjT','util','YJIBw'];a85_0x1d66=function(){return _0x4f312e;};return a85_0x1d66();}const {BATCH_SIZE,BATCH_INTERVAL,DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS}=require(a85_0x223272(0x1ed)),{nodeRequest,debug,trace,sleep,getDefaultHeaders}=require('./utils'),{nestedKeyValue}=require(a85_0x223272(0x1ad)),util=require(a85_0x223272(0x184));class RequestQueueHandler{static [a85_0x223272(0x1d5)];[a85_0x223272(0x1c5)]=0x0;constructor(){const _0x2bfea1=a85_0x223272,_0x4487cb={};_0x4487cb[_0x2bfea1(0x1c8)]=_0x2bfea1(0x1ce),_0x4487cb[_0x2bfea1(0x1e1)]=_0x2bfea1(0x1c6),_0x4487cb[_0x2bfea1(0x183)]=_0x2bfea1(0x19b),_0x4487cb[_0x2bfea1(0x1de)]=_0x2bfea1(0x1aa),_0x4487cb['AZpao']='TestRunFinished',_0x4487cb[_0x2bfea1(0x1a7)]=_0x2bfea1(0x1b6),_0x4487cb[_0x2bfea1(0x189)]='HookRunFinished',_0x4487cb[_0x2bfea1(0x1bb)]='TestRunStarted',_0x4487cb['YSRJA']=_0x2bfea1(0x1a5),_0x4487cb['NOWZV']=_0x2bfea1(0x18a);const _0x39822a=_0x4487cb,_0x1bdd28=_0x39822a['iRKjg'][_0x2bfea1(0x1da)]('|');let _0x4b77b8=0x0;while(!![]){switch(_0x1bdd28[_0x4b77b8++]){case'0':this[_0x2bfea1(0x1cd)]=_0x39822a[_0x2bfea1(0x1e1)];continue;case'1':this[_0x2bfea1(0x1d0)]=[_0x39822a['mTcjT'],_0x39822a[_0x2bfea1(0x1de)],_0x39822a[_0x2bfea1(0x186)],_0x39822a[_0x2bfea1(0x1a7)],_0x39822a['Ipwfs'],_0x39822a['GqcaC'],_0x39822a[_0x2bfea1(0x1e3)]];continue;case'2':this[_0x2bfea1(0x1e5)]=null;continue;case'3':this[_0x2bfea1(0x1b3)]=[];continue;case'4':this[_0x2bfea1(0x1ba)]=![];continue;case'5':this['eventUrl']=_0x39822a[_0x2bfea1(0x19f)];continue;}break;}}static['getInstance'](){const _0x188346=a85_0x223272;return!RequestQueueHandler[_0x188346(0x1d5)]&&(RequestQueueHandler[_0x188346(0x1d5)]=new RequestQueueHandler()),RequestQueueHandler[_0x188346(0x1d5)];}[a85_0x223272(0x1c9)]=()=>{const _0x5c8453=a85_0x223272;!this[_0x5c8453(0x1ba)]&&(this['started']=!![],this[_0x5c8453(0x1e8)]());};[a85_0x223272(0x1b8)]=_0x391fe7=>{const _0x12a77d=a85_0x223272,_0x5eb6da={'zQtpB':function(_0x44e4a0,_0x5edfb2){return _0x44e4a0===_0x5edfb2;},'EJqdP':_0x12a77d(0x18c),'oPIwH':function(_0x255d21,_0x37b8e6){return _0x255d21(_0x37b8e6);},'yyOeS':_0x12a77d(0x188)};if(this[_0x12a77d(0x1d0)][_0x12a77d(0x1a8)](_0x391fe7[_0x12a77d(0x1e7)])){if(_0x391fe7['logs']&&_0x391fe7[_0x12a77d(0x1af)][0x0]&&_0x5eb6da[_0x12a77d(0x187)](_0x391fe7[_0x12a77d(0x1af)][0x0]['kind'],_0x5eb6da['EJqdP'])){const _0x5a0fc0={};return _0x5a0fc0[_0x12a77d(0x1c1)]=!![],_0x5a0fc0[_0x12a77d(0x1ef)]=[_0x391fe7],_0x5a0fc0[_0x12a77d(0x1a9)]=this[_0x12a77d(0x1cd)],_0x5a0fc0;}this[_0x12a77d(0x1b3)]['push'](_0x391fe7);let _0x468a3d=null;const _0x37b5d4=this['shouldProceed']();_0x37b5d4&&(_0x5eb6da[_0x12a77d(0x19e)](trace,_0x5eb6da[_0x12a77d(0x1a2)]),_0x468a3d=this['queue'][_0x12a77d(0x18b)](0x0,BATCH_SIZE),this[_0x12a77d(0x1b3)][_0x12a77d(0x191)](0x0,BATCH_SIZE),this[_0x12a77d(0x1d3)]());const _0x1cb251={};return _0x1cb251[_0x12a77d(0x1c1)]=_0x37b5d4,_0x1cb251['proceedWithData']=_0x468a3d,_0x1cb251[_0x12a77d(0x1a9)]=this['eventUrl'],_0x1cb251;}const _0x1975fc={};return _0x1975fc[_0x12a77d(0x1c1)]=!![],_0x1975fc;};[a85_0x223272(0x194)]=async()=>{const _0x8e3569=a85_0x223272,_0x165661={'ctuZP':_0x8e3569(0x1ee),'ZkOdX':function(_0x5253e5,_0x2b3caf){return _0x5253e5>_0x2b3caf;},'hgwqU':_0x8e3569(0x1d6),'Gijyk':function(_0x28a659,_0x127ea6){return _0x28a659(_0x127ea6);}};await this[_0x8e3569(0x190)](),this[_0x8e3569(0x1c7)](_0x165661['ctuZP']);while(_0x165661['ZkOdX'](this['queue'][_0x8e3569(0x1c4)],0x0)){const _0x55b376=this['queue'][_0x8e3569(0x18b)](0x0,BATCH_SIZE);this[_0x8e3569(0x1b3)][_0x8e3569(0x191)](0x0,BATCH_SIZE),await this[_0x8e3569(0x1b4)](this[_0x8e3569(0x1b5)],_0x165661[_0x8e3569(0x197)],_0x55b376);}_0x165661[_0x8e3569(0x1c0)](this[_0x8e3569(0x1c5)],0x0)&&_0x165661[_0x8e3569(0x1b0)](debug,_0x8e3569(0x196)+this[_0x8e3569(0x1c5)]);};['batchAndPostEvents']=async(_0x408ffa,_0x3249c8,_0x38e59f)=>{const _0xadc61d=a85_0x223272,_0x808868={'sbBRy':function(_0x23b947,_0xb34cfc){return _0x23b947(_0xb34cfc);},'DfnlP':'utf8','iKccZ':function(_0x170f63,_0x5430bf){return _0x170f63(_0x5430bf);},'EnHvp':function(_0x4afad0){return _0x4afad0();},'DvZkD':function(_0x36f9b7,_0x403d5d,_0x5d33fa,_0x2760ac,_0x36b190){return _0x36f9b7(_0x403d5d,_0x5d33fa,_0x2760ac,_0x36b190);},'HFVvc':_0xadc61d(0x1e4),'pUBhw':function(_0x79eaac,_0x1f3d81){return _0x79eaac-_0x1f3d81;},'hiJFt':function(_0x4db459,_0x1e9dda){return _0x4db459(_0x1e9dda);},'wtUuv':function(_0x430a80,_0x202767){return _0x430a80-_0x202767;}};let _0x4cff2e='';try{_0x4cff2e=_0x38e59f[_0xadc61d(0x1bc)](_0x3e8963=>'\x27'+_0x3e8963[_0xadc61d(0x1e7)]+'\x27:'+(nestedKeyValue(_0x3e8963,[_0xadc61d(0x1a6),_0xadc61d(0x1d4)])||nestedKeyValue(_0x3e8963,[_0xadc61d(0x1eb),_0xadc61d(0x1d4)])))[_0xadc61d(0x1ec)](','),_0x808868['sbBRy'](debug,_0xadc61d(0x193)+_0x3249c8+'.\x20Request\x20Size\x20-\x20'+Buffer[_0xadc61d(0x1dc)](util[_0xadc61d(0x1cc)]('%j',_0x38e59f),_0x808868[_0xadc61d(0x1c2)])+_0xadc61d(0x1ca)+_0x4cff2e);}catch(_0x3b68c1){_0x808868[_0xadc61d(0x1bd)](debug,_0xadc61d(0x1d7)+util[_0xadc61d(0x1cc)](_0x3b68c1)+'}');}const _0x35c759={'headers':_0x808868[_0xadc61d(0x192)](getDefaultHeaders)};try{const _0x2a4e8c=await _0x808868[_0xadc61d(0x1a0)](nodeRequest,_0x808868['HFVvc'],_0x408ffa,_0x38e59f,_0x35c759);if(_0x2a4e8c['data'][_0xadc61d(0x19c)]){const _0x467546={};_0x467546[_0xadc61d(0x198)]=_0x2a4e8c['data']['error'];throw _0x467546;}else _0x808868['iKccZ'](debug,_0x3249c8+'\x20event\x20successful\x20for\x20events\x20'+_0x4cff2e+_0xadc61d(0x1b9)+util['format']('%j',_0x2a4e8c[_0xadc61d(0x1bf)])),this[_0xadc61d(0x1c5)]=Math[_0xadc61d(0x1a1)](0x0,_0x808868[_0xadc61d(0x1f0)](this[_0xadc61d(0x1c5)],_0x38e59f['length']));}catch(_0x23e3ac){_0x23e3ac[_0xadc61d(0x1dd)]?_0x808868[_0xadc61d(0x1bd)](debug,_0xadc61d(0x1a4)+_0x3249c8+'\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20'+_0x23e3ac['response'][_0xadc61d(0x1c3)]+'\x20'+_0x23e3ac['response']['statusText']+'\x20'+JSON[_0xadc61d(0x18d)](_0x23e3ac['response'])):_0x808868[_0xadc61d(0x195)](debug,_0xadc61d(0x1a4)+_0x3249c8+_0xadc61d(0x1e2)+(_0x23e3ac[_0xadc61d(0x198)]||_0x23e3ac)),this['pendingUploads']=Math[_0xadc61d(0x1a1)](0x0,_0x808868[_0xadc61d(0x19a)](this[_0xadc61d(0x1c5)],_0x38e59f[_0xadc61d(0x1c4)]));}};[a85_0x223272(0x1e8)]=()=>{const _0xec9a09=a85_0x223272,_0x1edb12={'CSbcZ':function(_0x47637b,_0x3131fe){return _0x47637b>_0x3131fe;},'dhThx':function(_0x3e0f4e,_0x2f3e92){return _0x3e0f4e(_0x2f3e92);},'CScPw':_0xec9a09(0x1ac),'mNvag':function(_0x2b6d63,_0x820f31,_0x3828bc){return _0x2b6d63(_0x820f31,_0x3828bc);}};this[_0xec9a09(0x1e5)]=_0x1edb12[_0xec9a09(0x18f)](setInterval,async()=>{const _0x3251f1=_0xec9a09;if(_0x1edb12[_0x3251f1(0x1df)](this['queue']['length'],0x0)){_0x1edb12['dhThx'](trace,_0x3251f1(0x1b1)+this['queue'][_0x3251f1(0x1c4)]);const _0x5e6fc2=this[_0x3251f1(0x1b3)]['slice'](0x0,BATCH_SIZE);this['queue'][_0x3251f1(0x191)](0x0,BATCH_SIZE),await this['batchAndPostEvents'](this[_0x3251f1(0x1b5)],_0x1edb12[_0x3251f1(0x1cf)],_0x5e6fc2),_0x1edb12[_0x3251f1(0x19d)](trace,'Remaining\x20Queue\x20Length\x20-\x20'+this[_0x3251f1(0x1b3)][_0x3251f1(0x1c4)]);}},BATCH_INTERVAL);};[a85_0x223272(0x1d3)]=()=>{const _0x5e1a21=a85_0x223272,_0x1e5d52={};_0x1e5d52[_0x5e1a21(0x1cb)]=_0x5e1a21(0x1e0);const _0x269745=_0x1e5d52;this[_0x5e1a21(0x1c7)](_0x269745[_0x5e1a21(0x1cb)]),this['startEventBatchPolling']();};[a85_0x223272(0x1c7)]=_0x1f0ddc=>{const _0x8feafa=a85_0x223272,_0x1d23ee={'YJIBw':function(_0x2dd873,_0x28fc5b){return _0x2dd873(_0x28fc5b);},'GXiMr':function(_0x5816f9,_0x38d675){return _0x5816f9===_0x38d675;},'DGTgv':_0x8feafa(0x1ee)};this[_0x8feafa(0x1e5)]&&(_0x1d23ee[_0x8feafa(0x185)](clearInterval,this[_0x8feafa(0x1e5)]),this[_0x8feafa(0x1e5)]=null,_0x1d23ee[_0x8feafa(0x1ae)](_0x1f0ddc,_0x1d23ee[_0x8feafa(0x199)])&&(this['started']=![]));};[a85_0x223272(0x1c1)]=()=>{const _0x1ae8a2=a85_0x223272,_0x473d8e={};_0x473d8e['ohNmf']=function(_0x116b85,_0x2487b0){return _0x116b85>=_0x2487b0;};const _0x122a5b=_0x473d8e;return _0x122a5b['ohNmf'](this[_0x1ae8a2(0x1b3)][_0x1ae8a2(0x1c4)],BATCH_SIZE);};async['uploadPending'](_0x1f3b26=DEFAULT_WAIT_TIMEOUT_FOR_PENDING_UPLOADS,_0x135889=DEFAULT_WAIT_INTERVAL_FOR_PENDING_UPLOADS){const _0x1c44d9=a85_0x223272,_0x3e7bc4={'rekDx':function(_0xc6db62,_0x417b0b){return _0xc6db62<=_0x417b0b;},'uoaua':function(_0x33070a,_0x1393a7){return _0x33070a<=_0x1393a7;},'aSeJI':function(_0x3b1cb3,_0x28ede9){return _0x3b1cb3(_0x28ede9);},'yLIMm':function(_0x3fd520,_0x44e523){return _0x3fd520-_0x44e523;}};if(_0x3e7bc4[_0x1c44d9(0x1b7)](this[_0x1c44d9(0x1c5)],0x0)||_0x3e7bc4['uoaua'](_0x1f3b26,0x0))return;return await _0x3e7bc4[_0x1c44d9(0x1ab)](sleep,_0x135889),this['uploadPending'](_0x3e7bc4[_0x1c44d9(0x1d9)](_0x1f3b26,_0x135889));}}module['exports']=RequestQueueHandler;
@@ -1 +1 @@
1
- function a86_0x1cb8(){const _0x548ef=['NLVnZ','jwt','eventUrl','getGitMetaData','Test_Skipped_Upload','ALuFn','mIlPL','basename','allow_screenshots','70nCEcTW','headers','cwd','BJFVS','15953094qiyvof','toString','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20Build\x20Start\x20is\x20not\x20completed\x20and\x20','X-BSTACK-TESTOPS','1749IXzcrO','OHSAz','rUGhy','POST','requestQueueHandler','BS_TESTOPS_BUILD_HASHED_ID','buildDescription','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20','Processing\x20event\x20-\x20\x27','\x20retry\x20runs\x20exceeded','message','231340JKWGkG','lxWoj','KTcQN','Data\x20upload\x20to\x20BrowserStack\x20Test\x20Observability\x20failed\x20due\x20to\x20','waitForBuildStatus','LogCreated','tGtDr','adKnm','bkNIu','../helper','YNwng','Token/buildID\x20is\x20undefined,\x20build\x20creation\x20might\x20have\x20failed','api/v1/event','TestRunFinished','json','nestedKeyValue','Hook_End_Upload','../logger','dHmxV','BROWSERSTACK_TESTHUB_UUID','data','KQdNi','EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20','TestRunStarted','Ddjhc','null','resolve','jtLVw','CqKNy','qvAAL','CBT_Upload','xWreE','frameworkName','Retry\x20runs\x20exceeded','password','CREDENTIALS_FOR_CRASH_REPORTING','lhDwI','build_hashed_id','getAccessKey','uploadEventData','false','Hook_Start_Upload','error','includes','AnIyE','4807940kZDisJ','BS_TESTOPS_ALLOW_SCREENSHOTS','Bearer\x20','BROWSERSTACK_TESTHUB_JWT','status','gieXM','LGkHF','Build\x20creation\x20successful!','Test_Start_Upload','env','gimVf','pendingUploads','projectName','ERROR_ACCESS_DENIED','eRpzR','aDgcQ','BROWSERSTACK_BUILD_RUN_IDENTIFIER','uuid','zUUdK','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20missing\x20authentication\x20token','app','event_type','stringify','jAZhb','shbYl','OtWpW','statusText','KzfCQ','getUserName','rxDIW','otcdV','info','start','EXCEPTION\x20IN\x20','getAgentVersion','vqCBK','./utils','VbywR','api/v1/builds','BROWSERSTACK_RERUN','launch','2KMDAKS','BS_TESTOPS_BUILD_COMPLETED','BS_TESTOPS_JWT','path','LhXEe','JcWee','true','ERROR_INVALID_CREDENTIALS','exports','5445561xzyqXA','length','Test_End_Upload','1606902ZgeCMq','VwHso','YOylw','FyUUe','username','eMKoK','response','JSsFu',']\x20event\x20successful!','CNanC','10001208otIxhu','xNniq','HookRunFinished','browserstackAutomation','RrVjq','UpoCG','HookRunStarted','eyOjZ','1336864gOIDRr','Authorization','./constants','jmfwP','max','5SUvYcj','buildIdentifier','bidPu','TestRunSkipped','PZJbg','CBTSessionCreated'];a86_0x1cb8=function(){return _0x548ef;};return a86_0x1cb8();}const a86_0x566e5f=a86_0x563c;(function(_0x2d6553,_0x546e1a){const _0x25e7ce=a86_0x563c,_0x495974=_0x2d6553();while(!![]){try{const _0x3379f9=-parseInt(_0x25e7ce(0xbb))/0x1+-parseInt(_0x25e7ce(0xaf))/0x2*(-parseInt(_0x25e7ce(0xb8))/0x3)+parseInt(_0x25e7ce(0x121))/0x4*(-parseInt(_0x25e7ce(0xd2))/0x5)+-parseInt(_0x25e7ce(0xc5))/0x6+-parseInt(_0x25e7ce(0xe1))/0x7*(-parseInt(_0x25e7ce(0xcd))/0x8)+-parseInt(_0x25e7ce(0xe5))/0x9+parseInt(_0x25e7ce(0xf4))/0xa*(parseInt(_0x25e7ce(0xe9))/0xb);if(_0x3379f9===_0x546e1a)break;else _0x495974['push'](_0x495974['shift']());}catch(_0x1bd60b){_0x495974['push'](_0x495974['shift']());}}}(a86_0x1cb8,0xdfb1c));const bsSetupHelper=require(a86_0x566e5f(0xfd)),path=require(a86_0x566e5f(0xb2)),os=require('os'),{debug,getCustomTags,getDefaultHeaders,nodeRequest,sleep,isTestObservabilitySession,trace}=require(a86_0x566e5f(0x145)),{EVENT_ENDPOINT,DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS}=require(a86_0x566e5f(0xcf)),RequestQueueHandler=require('./requestQueueHandler'),logger=require(a86_0x566e5f(0x105))['winstonLogger'],{shouldProcessEventForTesthub,isPercyBuild,getProductMap}=require('../../helpers/testhub/utils');function a86_0x563c(_0x1d1078,_0x32a57d){const _0x1cb8c8=a86_0x1cb8();return a86_0x563c=function(_0x563c1c,_0x34e73f){_0x563c1c=_0x563c1c-0xaf;let _0x42fc54=_0x1cb8c8[_0x563c1c];return _0x42fc54;},a86_0x563c(_0x1d1078,_0x32a57d);}class SessionHandler{static [a86_0x566e5f(0xed)]=RequestQueueHandler['getInstance']();static async[a86_0x566e5f(0x149)](_0x4d1602,_0x1d2bf1){const _0x533c5d=a86_0x566e5f,_0x2094bc={'qgZxY':function(_0x40110b,_0x1a5ac9){return _0x40110b||_0x1a5ac9;},'NLVnZ':function(_0x2b6c52,_0x3f9cca){return _0x2b6c52||_0x3f9cca;},'KTcQN':function(_0x5b17b7,_0x4c9319){return _0x5b17b7===_0x4c9319;},'xWreE':function(_0x3ba643,_0x3172d4){return _0x3ba643(_0x3172d4);},'bidPu':'EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20Missing\x20authentication\x20token','VwHso':'false','LhXEe':_0x533c5d(0x102),'adKnm':function(_0x3cafd4,_0x308e6a){return _0x3cafd4(_0x308e6a);},'NIlDv':function(_0x1d728c,_0x4b7b4d,_0x54cd30,_0x9c6a5a,_0x164d41){return _0x1d728c(_0x4b7b4d,_0x54cd30,_0x9c6a5a,_0x164d41);},'JSsFu':'POST','Ddjhc':_0x533c5d(0x147),'JcWee':function(_0x45e3d7,_0x1e6ed6){return _0x45e3d7(_0x1e6ed6);},'OtWpW':_0x533c5d(0x128),'RrVjq':function(_0x4d82f1){return _0x4d82f1();},'lhDwI':'true','rxDIW':'null','VbywR':_0x533c5d(0xb6),'BJFVS':_0x533c5d(0x12e),'YmgOW':'ERROR_SDK_DEPRECATED'},_0x2b5069=bsSetupHelper[_0x533c5d(0x13d)](_0x4d1602),_0x647cc6=bsSetupHelper[_0x533c5d(0x11a)](_0x4d1602),_0x2b903c=_0x2094bc['qgZxY'](_0x2b5069,'')+':'+_0x2094bc[_0x533c5d(0xd8)](_0x647cc6,'');if(_0x2094bc[_0x533c5d(0xf6)](_0x2b903c,':'))return _0x2094bc[_0x533c5d(0x113)](debug,_0x2094bc[_0x533c5d(0xd4)]),process[_0x533c5d(0x12a)][_0x533c5d(0xb0)]=_0x2094bc[_0x533c5d(0xbc)],[null,null];let _0xf8700c=![],_0x5a6b05=![];if(_0x4d1602[_0x533c5d(0xc8)]&&_0x4d1602[_0x533c5d(0x135)])_0x5a6b05=!![];else _0x4d1602[_0x533c5d(0xc8)]&&(_0xf8700c=!![]);try{const _0x391865={'format':_0x2094bc[_0x533c5d(0xb3)],'project_name':_0x4d1602[_0x533c5d(0x12d)]||'','name':_0x4d1602['buildName']||path[_0x533c5d(0xdf)](path[_0x533c5d(0x10e)](process[_0x533c5d(0xe3)]())),'build_identifier':_0x4d1602[_0x533c5d(0xd3)],'description':_0x4d1602[_0x533c5d(0xef)]||'','start_time':new Date()['toISOString'](),'tags':_0x2094bc[_0x533c5d(0x113)](getCustomTags,_0x4d1602),'host_info':bsSetupHelper['getHostInfo'](),'ci_info':bsSetupHelper['getCiInfo'](),'build_run_identifier':process['env'][_0x533c5d(0x131)],'failed_tests_rerun':process[_0x533c5d(0x12a)][_0x533c5d(0x148)]||![],'version_control':await bsSetupHelper[_0x533c5d(0xdb)](),'observability_version':{'frameworkName':_0x1d2bf1[_0x533c5d(0x114)],'frameworkVersion':_0x1d2bf1['frameworkVersion'],'sdkVersion':bsSetupHelper[_0x533c5d(0x143)]()},'product_map':_0x2094bc[_0x533c5d(0xfb)](getProductMap,_0x4d1602)},_0x168e77={};_0x168e77[_0x533c5d(0xbf)]=_0x2b5069,_0x168e77[_0x533c5d(0x116)]=_0x647cc6;const _0x57f819={'auth':_0x168e77,'headers':_0x2094bc[_0x533c5d(0xfb)](getDefaultHeaders,![])},_0x216d6a=await _0x2094bc['NIlDv'](nodeRequest,_0x2094bc[_0x533c5d(0xc2)],_0x2094bc[_0x533c5d(0x10c)],_0x391865,_0x57f819);_0x2094bc[_0x533c5d(0xb4)](debug,_0x2094bc[_0x533c5d(0x13a)]);const _0x1b1c40=_0x216d6a['data'];_0x1b1c40['build_hashed_id']&&(process[_0x533c5d(0x12a)][_0x533c5d(0x107)]=_0x1b1c40['build_hashed_id']);if(_0x2094bc[_0x533c5d(0xc9)](isTestObservabilitySession)){process[_0x533c5d(0x12a)][_0x533c5d(0xb0)]=_0x2094bc[_0x533c5d(0x118)];if(_0x1b1c40[_0x533c5d(0xd9)]){process[_0x533c5d(0x12a)][_0x533c5d(0xb1)]=_0x1b1c40[_0x533c5d(0xd9)];const _0x361a0a={};_0x361a0a[_0x533c5d(0xbf)]=_0x2b5069,_0x361a0a[_0x533c5d(0x116)]=_0x647cc6,process['env'][_0x533c5d(0x117)]=JSON[_0x533c5d(0x137)](_0x361a0a);}_0x1b1c40[_0x533c5d(0x119)]&&(process[_0x533c5d(0x12a)][_0x533c5d(0xee)]=_0x1b1c40['build_hashed_id']),_0x1b1c40['allow_screenshots']&&(process[_0x533c5d(0x12a)][_0x533c5d(0x122)]=_0x1b1c40['allow_screenshots'][_0x533c5d(0xe6)]());}return[_0x216d6a[_0x533c5d(0x108)][_0x533c5d(0xd9)],_0x216d6a[_0x533c5d(0x108)][_0x533c5d(0x119)],_0x216d6a[_0x533c5d(0x108)][_0x533c5d(0xe0)]];}catch(_0x4d30f8){process[_0x533c5d(0x12a)][_0x533c5d(0x107)]=_0x2094bc['rxDIW'],process[_0x533c5d(0x12a)][_0x533c5d(0xb0)]=_0x2094bc['VwHso'],process[_0x533c5d(0x12a)][_0x533c5d(0xb1)]=_0x2094bc[_0x533c5d(0x13e)],process[_0x533c5d(0x12a)][_0x533c5d(0xee)]=_0x2094bc[_0x533c5d(0x13e)],process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x2094bc['rxDIW'];_0x4d30f8[_0x533c5d(0xc1)]?_0x2094bc[_0x533c5d(0x113)](debug,_0x533c5d(0x10a)+_0x4d30f8[_0x533c5d(0xc1)][_0x533c5d(0x125)]+'\x20'+_0x4d30f8['response'][_0x533c5d(0x13b)]+'\x20'+JSON[_0x533c5d(0x137)](_0x4d30f8['response']['data'])):_0x2094bc[_0x533c5d(0xb4)](debug,_0x533c5d(0x10a)+(_0x4d30f8['message']||_0x4d30f8));if(_0x4d30f8&&_0x4d30f8[_0x533c5d(0xf3)]){const _0x37923d=_0x4d30f8[_0x533c5d(0xf3)];switch(_0x4d30f8['errorType']){case _0x2094bc[_0x533c5d(0x146)]:logger[_0x533c5d(0x11e)](_0x37923d);break;case _0x2094bc[_0x533c5d(0xe4)]:logger[_0x533c5d(0x140)](_0x37923d);break;case _0x2094bc['YmgOW']:logger['error'](_0x37923d);break;default:logger[_0x533c5d(0x11e)](_0x37923d);}}else console[_0x533c5d(0x140)](_0x533c5d(0xf7)+_0x4d30f8);return[null,null,null];}}static async[a86_0x566e5f(0xf8)](){const _0x2237af=a86_0x566e5f,_0x1d4ff8={'aDgcQ':_0x2237af(0xb5),'zUUdK':_0x2237af(0x11c),'CNanC':function(_0x117d32,_0x31f5cf){return _0x117d32(_0x31f5cf);}},_0x596756=process[_0x2237af(0x12a)][_0x2237af(0xb0)];if([_0x1d4ff8[_0x2237af(0x130)],_0x1d4ff8[_0x2237af(0x133)]][_0x2237af(0x11f)](_0x596756))return;while([_0x1d4ff8[_0x2237af(0x130)],_0x1d4ff8['zUUdK']][_0x2237af(0x11f)](_0x596756)){await _0x1d4ff8[_0x2237af(0xc4)](sleep,DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS);}}static async[a86_0x566e5f(0x11b)](_0xe8101c,_0x4fb6d5=0x0){const _0x56c7ea=a86_0x566e5f,_0x1b425f={'PZJbg':function(_0x6c996c,_0x54c141){return _0x6c996c+_0x54c141;},'kZuhy':_0x56c7ea(0x129),'xNsME':_0x56c7ea(0xba),'bkNIu':_0x56c7ea(0xdc),'jsFJn':'Log_Upload','eyOjZ':_0x56c7ea(0x11d),'oGBgn':_0x56c7ea(0x104),'mIlPL':_0x56c7ea(0x112),'FyUUe':function(_0x3370d1,_0x523ddc){return _0x3370d1(_0x523ddc);},'pIvRf':'test_run','KQdNi':_0x56c7ea(0x132),'tGtDr':'hook_run','ujWZJ':function(_0x172b5a,_0x2cfa1f,_0x68320d){return _0x172b5a(_0x2cfa1f,_0x68320d);},'DEfqO':_0x56c7ea(0x11b),'AnIyE':function(_0x2a0b9d,_0x16a1a5){return _0x2a0b9d===_0x16a1a5;},'jAZhb':function(_0x2b5e85,_0x33de0e){return _0x2b5e85!==_0x33de0e;},'CqKNy':_0x56c7ea(0x10d),'LGkHF':function(_0x2a5637,_0x2da97a){return _0x2a5637===_0x2da97a;},'qvAAL':_0x56c7ea(0xb5),'MFfww':function(_0x5efd87){return _0x5efd87();},'PowGK':function(_0xd3b6eb,_0x5038c3){return _0xd3b6eb-_0x5038c3;},'gCZWy':_0x56c7ea(0x11e),'eRpzR':_0x56c7ea(0xff),'vqCBK':'application/json','KzfCQ':function(_0x31d2d5,_0x53599b,_0x363bf5,_0x3bdad1,_0xdb9963){return _0x31d2d5(_0x53599b,_0x363bf5,_0x3bdad1,_0xdb9963);},'YOylw':_0x56c7ea(0xec),'luzIS':function(_0x20b85b,_0x11e696){return _0x20b85b(_0x11e696);},'jtLVw':function(_0x532fe4,_0x4d39de){return _0x532fe4!==_0x4d39de;},'lxWoj':'Batch-Queue','otcdV':function(_0x56b95f,_0x114051){return _0x56b95f-_0x114051;},'gieXM':_0x56c7ea(0x100),'ALuFn':'success','gimVf':function(_0xca5294,_0x2f7212){return _0xca5294(_0x2f7212);},'OHSAz':function(_0x35f97d,_0x27208e){return _0x35f97d!==_0x27208e;},'rUGhy':function(_0x5a362e,_0x118b5f){return _0x5a362e===_0x118b5f;},'eMKoK':function(_0x36eec2,_0xe47b){return _0x36eec2>=_0xe47b;},'jmfwP':function(_0x4840e1,_0x737166){return _0x4840e1(_0x737166);},'UpoCG':function(_0xac70a8,_0x5c3d79){return _0xac70a8!==_0x5c3d79;},'YNwng':function(_0x42a975,_0x20b1ab){return _0x42a975-_0x20b1ab;},'shbYl':_0x56c7ea(0x115),'xNniq':_0x56c7ea(0x11c),'dHmxV':function(_0x1feb3b,_0x59b480,_0x29b294){return _0x1feb3b(_0x59b480,_0x29b294);}},_0x586777={};_0x586777[_0x56c7ea(0x10b)]=_0x1b425f['kZuhy'],_0x586777[_0x56c7ea(0x101)]=_0x1b425f['xNsME'],_0x586777[_0x56c7ea(0xd5)]=_0x1b425f[_0x56c7ea(0xfc)],_0x586777[_0x56c7ea(0xf9)]=_0x1b425f['jsFJn'],_0x586777[_0x56c7ea(0xcb)]=_0x1b425f[_0x56c7ea(0xcc)],_0x586777[_0x56c7ea(0xc7)]=_0x1b425f['oGBgn'],_0x586777[_0x56c7ea(0xd7)]=_0x1b425f[_0x56c7ea(0xde)];const _0x53e6dc=_0x586777[_0xe8101c[_0x56c7ea(0x136)]];_0x1b425f[_0x56c7ea(0xbe)](trace,_0x56c7ea(0xf1)+_0xe8101c[_0x56c7ea(0x136)]+'\x27\x20'+(bsSetupHelper[_0x56c7ea(0x103)](_0xe8101c,[_0x1b425f['pIvRf'],_0x1b425f[_0x56c7ea(0x109)]])||bsSetupHelper[_0x56c7ea(0x103)](_0xe8101c,[_0x1b425f[_0x56c7ea(0xfa)],_0x1b425f[_0x56c7ea(0x109)]])));if(!_0x1b425f['ujWZJ'](shouldProcessEventForTesthub,_0xe8101c[_0x56c7ea(0x136)],_0x1b425f['DEfqO']))return;_0x1b425f[_0x56c7ea(0x120)](_0x4fb6d5,0x0)&&process[_0x56c7ea(0x12a)]['BROWSERSTACK_TESTHUB_JWT']&&_0x1b425f[_0x56c7ea(0x138)](process['env']['BROWSERSTACK_TESTHUB_JWT'],_0x1b425f[_0x56c7ea(0x110)])&&(this[_0x56c7ea(0xed)]['pendingUploads']+=0x1);if(_0x1b425f[_0x56c7ea(0x127)](process[_0x56c7ea(0x12a)][_0x56c7ea(0xb0)],_0x1b425f[_0x56c7ea(0x111)])||process[_0x56c7ea(0x12a)]['BS_A11Y_JWT']||_0x1b425f['MFfww'](isPercyBuild)){if(_0x1b425f[_0x56c7ea(0x127)](process['env'][_0x56c7ea(0x124)],_0x1b425f[_0x56c7ea(0x110)])){_0x1b425f[_0x56c7ea(0xbe)](debug,'EXCEPTION\x20IN\x20'+_0x53e6dc+_0x56c7ea(0x134)),this[_0x56c7ea(0xed)]['pendingUploads']=Math[_0x56c7ea(0xd1)](0x0,_0x1b425f['PowGK'](this[_0x56c7ea(0xed)]['pendingUploads'],0x1));const _0x1d6be5={};return _0x1d6be5[_0x56c7ea(0x125)]=_0x1b425f['gCZWy'],_0x1d6be5[_0x56c7ea(0xf3)]=_0x1b425f[_0x56c7ea(0x12f)],_0x1d6be5;}let _0x59440e=_0xe8101c,_0x277731=EVENT_ENDPOINT;this[_0x56c7ea(0xed)][_0x56c7ea(0x141)]();const {shouldProceed:_0x6650d,proceedWithData:_0x4629ea,proceedWithUrl:_0xc156ab}=this['requestQueueHandler']['add'](_0xe8101c);if(!_0x6650d)return;else _0x4629ea&&(_0x59440e=_0x4629ea,_0x277731=_0xc156ab);const _0x52ca0={};_0x52ca0[_0x56c7ea(0xce)]=_0x56c7ea(0x123)+process['env']['BROWSERSTACK_TESTHUB_JWT'],_0x52ca0['Content-Type']=_0x1b425f[_0x56c7ea(0x144)],_0x52ca0[_0x56c7ea(0xe8)]=_0x1b425f[_0x56c7ea(0x111)];const _0x25215b={};_0x25215b[_0x56c7ea(0xe2)]=_0x52ca0;const _0x3110e0=_0x25215b;try{const _0x589308=await _0x1b425f[_0x56c7ea(0x13c)](nodeRequest,_0x1b425f[_0x56c7ea(0xbd)],_0x277731,_0x59440e,_0x3110e0);if(_0x589308[_0x56c7ea(0x108)]['error']){const _0x19b725={};_0x19b725[_0x56c7ea(0xf3)]=_0x589308[_0x56c7ea(0x108)][_0x56c7ea(0x11e)];throw _0x19b725;}else{_0x1b425f['luzIS'](debug,(_0x1b425f[_0x56c7ea(0x10f)](_0x277731,this[_0x56c7ea(0xed)][_0x56c7ea(0xda)])?_0x53e6dc:_0x1b425f['lxWoj'])+'['+_0x4fb6d5+_0x56c7ea(0xc3)),this[_0x56c7ea(0xed)]['pendingUploads']=Math[_0x56c7ea(0xd1)](0x0,_0x1b425f[_0x56c7ea(0x13f)](this[_0x56c7ea(0xed)][_0x56c7ea(0x12c)],_0x1b425f['AnIyE'](_0x277731,_0x1b425f['gieXM'])?0x1:_0x59440e[_0x56c7ea(0xb9)]));const _0x4e2bc6={};return _0x4e2bc6[_0x56c7ea(0x125)]=_0x1b425f[_0x56c7ea(0xdd)],_0x4e2bc6[_0x56c7ea(0xf3)]='',_0x4e2bc6;}}catch(_0x2a3842){_0x2a3842[_0x56c7ea(0xc1)]?_0x1b425f[_0x56c7ea(0x12b)](debug,'EXCEPTION\x20IN\x20'+(_0x1b425f[_0x56c7ea(0x10f)](_0x277731,this[_0x56c7ea(0xed)]['eventUrl'])?_0x53e6dc:_0x1b425f[_0x56c7ea(0xf5)])+_0x56c7ea(0xf0)+_0x2a3842['response'][_0x56c7ea(0x125)]+'\x20'+_0x2a3842['response'][_0x56c7ea(0x13b)]+'\x20'+JSON[_0x56c7ea(0x137)](_0x2a3842['response'][_0x56c7ea(0x108)])):_0x1b425f[_0x56c7ea(0xbe)](debug,_0x56c7ea(0x142)+(_0x1b425f[_0x56c7ea(0xea)](_0x277731,this[_0x56c7ea(0xed)][_0x56c7ea(0xda)])?_0x53e6dc:_0x1b425f['lxWoj'])+_0x56c7ea(0xf0)+(_0x2a3842[_0x56c7ea(0xf3)]||_0x2a3842));this[_0x56c7ea(0xed)][_0x56c7ea(0x12c)]=Math[_0x56c7ea(0xd1)](0x0,_0x1b425f['otcdV'](this[_0x56c7ea(0xed)][_0x56c7ea(0x12c)],_0x1b425f[_0x56c7ea(0xeb)](_0x277731,_0x1b425f[_0x56c7ea(0x126)])?0x1:_0x59440e[_0x56c7ea(0xb9)]));const _0x5213c3={};return _0x5213c3[_0x56c7ea(0x125)]=_0x1b425f['gCZWy'],_0x5213c3[_0x56c7ea(0xf3)]=_0x2a3842[_0x56c7ea(0xf3)]||(_0x2a3842['response']?_0x2a3842[_0x56c7ea(0xc1)]['status']+':'+_0x2a3842[_0x56c7ea(0xc1)][_0x56c7ea(0x13b)]:_0x2a3842),_0x5213c3;}}else{if(_0x1b425f[_0x56c7ea(0xc0)](_0x4fb6d5,0x5)){_0x1b425f[_0x56c7ea(0xd0)](debug,_0x56c7ea(0x142)+_0x53e6dc+_0x56c7ea(0xe7)+_0x53e6dc+_0x56c7ea(0xf2));_0x1b425f[_0x56c7ea(0xca)](process[_0x56c7ea(0x12a)]['BROWSERSTACK_TESTHUB_JWT'],_0x1b425f[_0x56c7ea(0x110)])&&(this[_0x56c7ea(0xed)][_0x56c7ea(0x12c)]=Math[_0x56c7ea(0xd1)](0x0,_0x1b425f[_0x56c7ea(0xfe)](this[_0x56c7ea(0xed)]['pendingUploads'],0x1)));const _0x4b3826={};return _0x4b3826[_0x56c7ea(0x125)]=_0x1b425f['gCZWy'],_0x4b3826[_0x56c7ea(0xf3)]=_0x1b425f[_0x56c7ea(0x139)],_0x4b3826;}else _0x1b425f[_0x56c7ea(0xea)](process[_0x56c7ea(0x12a)][_0x56c7ea(0xb0)],_0x1b425f[_0x56c7ea(0xc6)])&&_0x1b425f[_0x56c7ea(0x106)](setTimeout,()=>{const _0x4a95d2=_0x56c7ea;this[_0x4a95d2(0x11b)](_0xe8101c,_0x1b425f[_0x4a95d2(0xd6)](_0x4fb6d5,0x1));},0x3e8);}}}module[a86_0x566e5f(0xb7)]=SessionHandler;
1
+ function a86_0x4c77(){const _0x2c4b96=['status','iSBLT','Lnzlc','horPP','getAgentVersion','info','api/v1/event','600950wSdvSo','Bbeer','mGksz','basename','eventUrl','path','BS_TESTOPS_BUILD_HASHED_ID','BS_A11Y_JWT','ZPRcZ','883818VATpML','stringify','ewEkH','CREDENTIALS_FOR_CRASH_REPORTING','getHostInfo','AtIxm','xrsbE','zHonn','tvFLx','toString','ecFJM','toISOString','KxkyE','HookRunFinished','4488876KyLHFP','browserstackAutomation','5405224HwllHB','null','yqmWe','FYise','13053501lYDjVs','max','cwd','includes','env','bpbdE','getUserName','arhnT','peIiL','fQmNn','MFCXw','rvCUH','requestQueueHandler','qEXPy','DYVmY','data','ivUCe','X-BSTACK-TESTOPS','AQOqH','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20missing\x20authentication\x20token','Processing\x20event\x20-\x20\x27','TestRunStarted','JQCrG','yFKAC','CYFap','7QTqDuK','ZiUQE','success','Build\x20creation\x20successful!','Kxpsa','CNSIc','gDsGN','BROWSERSTACK_BUILD_RUN_IDENTIFIER','buildDescription','statusText','Test_End_Upload','hook_run','HLsiL',']\x20event\x20successful!','buildName','cCDMt','gbScf','./requestQueueHandler','./utils','build_hashed_id','TestRunSkipped','eIaNp','headers','getAccessKey','false','errorType','message','event_type','1119044SZqmyu','CBT_Upload','EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20','password','waitForBuildStatus','iAIdl','allow_screenshots','quyvz','uuid','pendingUploads','ITybX','ntDZb','3anoqHo','VxEZp','PeANs','crxAr','launch','Hook_Start_Upload','Bearer\x20','pQeKE','BS_TESTOPS_ALLOW_SCREENSHOTS','winstonLogger','Data\x20upload\x20to\x20BrowserStack\x20Test\x20Observability\x20failed\x20due\x20to\x20','getGitMetaData','uploadEventData','exports','LogCreated','getInstance','Test_Start_Upload','true','qmjtg','IVYGH','./constants','BS_TESTOPS_JWT','Log_Upload','BS_TESTOPS_BUILD_COMPLETED','response','BROWSERSTACK_TESTHUB_JWT','../../helpers/testhub/utils','BROWSERSTACK_TESTHUB_UUID','nestedKeyValue','Retry\x20runs\x20exceeded','getCiInfo','application/json','CBTSessionCreated','EXCEPTION\x20IN\x20','UNgPm','TestRunFinished','error','frameworkName','733715NFCUEK','gVdAs','jwt','Token/buildID\x20is\x20undefined,\x20build\x20creation\x20might\x20have\x20failed','\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20','app','UEEFr','api/v1/builds','JdFoS','FElyR','\x20retry\x20runs\x20exceeded','OLcXa','Hook_End_Upload','tqusP','HookRunStarted','buildIdentifier'];a86_0x4c77=function(){return _0x2c4b96;};return a86_0x4c77();}const a86_0x169efc=a86_0x16af;function a86_0x16af(_0x250a2e,_0x526413){const _0x4c7730=a86_0x4c77();return a86_0x16af=function(_0x16af52,_0x43967f){_0x16af52=_0x16af52-0xaa;let _0x1cdadd=_0x4c7730[_0x16af52];return _0x1cdadd;},a86_0x16af(_0x250a2e,_0x526413);}(function(_0x3ae844,_0x299a6c){const _0x73af58=a86_0x16af,_0x15528d=_0x3ae844();while(!![]){try{const _0x5c6e29=-parseInt(_0x73af58(0x141))/0x1+-parseInt(_0x73af58(0x138))/0x2+parseInt(_0x73af58(0xfb))/0x3*(parseInt(_0x73af58(0xef))/0x4)+parseInt(_0x73af58(0x121))/0x5+-parseInt(_0x73af58(0xb4))/0x6+parseInt(_0x73af58(0xd3))/0x7*(parseInt(_0x73af58(0xb6))/0x8)+parseInt(_0x73af58(0xba))/0x9;if(_0x5c6e29===_0x299a6c)break;else _0x15528d['push'](_0x15528d['shift']());}catch(_0x53e8bf){_0x15528d['push'](_0x15528d['shift']());}}}(a86_0x4c77,0x9764b));const bsSetupHelper=require('../helper'),path=require(a86_0x169efc(0x13d)),os=require('os'),{debug,getCustomTags,getDefaultHeaders,nodeRequest,sleep,isTestObservabilitySession,trace}=require(a86_0x169efc(0xe5)),{EVENT_ENDPOINT,DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS}=require(a86_0x169efc(0x10f)),RequestQueueHandler=require(a86_0x169efc(0xe4)),logger=require('../logger')[a86_0x169efc(0x104)],{shouldProcessEventForTesthub,isPercyBuild,getProductMap}=require(a86_0x169efc(0x115));class SessionHandler{static [a86_0x169efc(0xc6)]=RequestQueueHandler[a86_0x169efc(0x10a)]();static async[a86_0x169efc(0xff)](_0x4055a8,_0x412940){const _0x70fa0e=a86_0x169efc,_0x40bc85={'MFCXw':function(_0x225063,_0x390ed3){return _0x225063||_0x390ed3;},'Kxpsa':function(_0x132147,_0x3fe7e0){return _0x132147||_0x3fe7e0;},'tqusP':function(_0x92bda3,_0xf9560a){return _0x92bda3===_0xf9560a;},'cCDMt':function(_0x59618e,_0x165865){return _0x59618e(_0x165865);},'ntDZb':'EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20Missing\x20authentication\x20token','ivUCe':_0x70fa0e(0xeb),'Vwxxg':'json','Bbeer':function(_0x153278,_0x4c6a9f){return _0x153278(_0x4c6a9f);},'HZbKo':function(_0xfba153,_0x492664){return _0xfba153(_0x492664);},'fQmNn':function(_0x54ef58,_0x42864a,_0x5bd18a,_0x14ac23,_0x17aad2){return _0x54ef58(_0x42864a,_0x5bd18a,_0x14ac23,_0x17aad2);},'zHonn':'POST','OLcXa':_0x70fa0e(0x128),'eIaNp':_0x70fa0e(0xd6),'pQeKE':function(_0x5cedfa){return _0x5cedfa();},'yFKAC':_0x70fa0e(0x10c),'VxEZp':_0x70fa0e(0xb7),'ecFJM':function(_0x283a17,_0x2d2167){return _0x283a17(_0x2d2167);},'JdFoS':'ERROR_INVALID_CREDENTIALS','yqmWe':'ERROR_ACCESS_DENIED','tvFLx':'ERROR_SDK_DEPRECATED'},_0xa88002=bsSetupHelper[_0x70fa0e(0xc0)](_0x4055a8),_0x589e80=bsSetupHelper[_0x70fa0e(0xea)](_0x4055a8),_0x45d7c8=_0x40bc85[_0x70fa0e(0xc4)](_0xa88002,'')+':'+_0x40bc85[_0x70fa0e(0xd7)](_0x589e80,'');if(_0x40bc85[_0x70fa0e(0x12e)](_0x45d7c8,':'))return _0x40bc85[_0x70fa0e(0xe2)](debug,_0x40bc85[_0x70fa0e(0xfa)]),process['env'][_0x70fa0e(0x112)]=_0x40bc85[_0x70fa0e(0xca)],[null,null];let _0x1b4f6a=![],_0x564f06=![];if(_0x4055a8['browserstackAutomation']&&_0x4055a8[_0x70fa0e(0x126)])_0x564f06=!![];else _0x4055a8[_0x70fa0e(0xb5)]&&(_0x1b4f6a=!![]);try{const _0x26ae66={'format':_0x40bc85['Vwxxg'],'project_name':_0x4055a8['projectName']||'','name':_0x4055a8[_0x70fa0e(0xe1)]||path[_0x70fa0e(0x13b)](path['resolve'](process[_0x70fa0e(0xbc)]())),'build_identifier':_0x4055a8[_0x70fa0e(0x130)],'description':_0x4055a8[_0x70fa0e(0xdb)]||'','start_time':new Date()[_0x70fa0e(0xb1)](),'tags':_0x40bc85[_0x70fa0e(0xe2)](getCustomTags,_0x4055a8),'host_info':bsSetupHelper[_0x70fa0e(0xaa)](),'ci_info':bsSetupHelper[_0x70fa0e(0x119)](),'build_run_identifier':process['env'][_0x70fa0e(0xda)],'failed_tests_rerun':process[_0x70fa0e(0xbe)]['BROWSERSTACK_RERUN']||![],'version_control':await bsSetupHelper[_0x70fa0e(0x106)](),'observability_version':{'frameworkName':_0x412940[_0x70fa0e(0x120)],'frameworkVersion':_0x412940['frameworkVersion'],'sdkVersion':bsSetupHelper[_0x70fa0e(0x135)]()},'product_map':_0x40bc85[_0x70fa0e(0x139)](getProductMap,_0x4055a8)},_0x942bb5={};_0x942bb5['username']=_0xa88002,_0x942bb5[_0x70fa0e(0xf2)]=_0x589e80;const _0x3ad773={'auth':_0x942bb5,'headers':_0x40bc85['HZbKo'](getDefaultHeaders,![])},_0x3dce7e=await _0x40bc85[_0x70fa0e(0xc3)](nodeRequest,_0x40bc85[_0x70fa0e(0xad)],_0x40bc85[_0x70fa0e(0x12c)],_0x26ae66,_0x3ad773);_0x40bc85[_0x70fa0e(0xe2)](debug,_0x40bc85[_0x70fa0e(0xe8)]);const _0x14cf70=_0x3dce7e[_0x70fa0e(0xc9)];_0x14cf70[_0x70fa0e(0xe6)]&&(process[_0x70fa0e(0xbe)][_0x70fa0e(0x116)]=_0x14cf70['build_hashed_id']);if(_0x40bc85[_0x70fa0e(0x102)](isTestObservabilitySession)){process[_0x70fa0e(0xbe)][_0x70fa0e(0x112)]=_0x40bc85[_0x70fa0e(0xd1)];if(_0x14cf70[_0x70fa0e(0x123)]){process[_0x70fa0e(0xbe)][_0x70fa0e(0x110)]=_0x14cf70['jwt'];const _0x23dd03={};_0x23dd03['username']=_0xa88002,_0x23dd03['password']=_0x589e80,process[_0x70fa0e(0xbe)][_0x70fa0e(0x144)]=JSON[_0x70fa0e(0x142)](_0x23dd03);}_0x14cf70[_0x70fa0e(0xe6)]&&(process[_0x70fa0e(0xbe)][_0x70fa0e(0x13e)]=_0x14cf70['build_hashed_id']),_0x14cf70[_0x70fa0e(0xf5)]&&(process[_0x70fa0e(0xbe)][_0x70fa0e(0x103)]=_0x14cf70[_0x70fa0e(0xf5)][_0x70fa0e(0xaf)]());}return[_0x3dce7e[_0x70fa0e(0xc9)]['jwt'],_0x3dce7e[_0x70fa0e(0xc9)][_0x70fa0e(0xe6)],_0x3dce7e['data']['allow_screenshots']];}catch(_0x515653){process[_0x70fa0e(0xbe)][_0x70fa0e(0x116)]=_0x40bc85['VxEZp'],process['env']['BS_TESTOPS_BUILD_COMPLETED']=_0x40bc85['ivUCe'],process[_0x70fa0e(0xbe)][_0x70fa0e(0x110)]=_0x40bc85[_0x70fa0e(0xfc)],process[_0x70fa0e(0xbe)]['BS_TESTOPS_BUILD_HASHED_ID']=_0x40bc85[_0x70fa0e(0xfc)],process[_0x70fa0e(0xbe)][_0x70fa0e(0x103)]=_0x40bc85[_0x70fa0e(0xfc)];_0x515653[_0x70fa0e(0x113)]?_0x40bc85[_0x70fa0e(0xb0)](debug,_0x70fa0e(0xf1)+_0x515653[_0x70fa0e(0x113)][_0x70fa0e(0x131)]+'\x20'+_0x515653[_0x70fa0e(0x113)]['statusText']+'\x20'+JSON[_0x70fa0e(0x142)](_0x515653[_0x70fa0e(0x113)][_0x70fa0e(0xc9)])):_0x40bc85[_0x70fa0e(0x139)](debug,_0x70fa0e(0xf1)+(_0x515653[_0x70fa0e(0xed)]||_0x515653));if(_0x515653&&_0x515653[_0x70fa0e(0xed)]){const _0x5741e0=_0x515653[_0x70fa0e(0xed)];switch(_0x515653[_0x70fa0e(0xec)]){case _0x40bc85[_0x70fa0e(0x129)]:logger['error'](_0x5741e0);break;case _0x40bc85[_0x70fa0e(0xb8)]:logger[_0x70fa0e(0x136)](_0x5741e0);break;case _0x40bc85[_0x70fa0e(0xae)]:logger[_0x70fa0e(0x11f)](_0x5741e0);break;default:logger[_0x70fa0e(0x11f)](_0x5741e0);}}else console['info'](_0x70fa0e(0x105)+_0x515653);return[null,null,null];}}static async[a86_0x169efc(0xf3)](){const _0x150d3c=a86_0x169efc,_0x4a21cd={'qmjtg':_0x150d3c(0x10c),'dBfKV':_0x150d3c(0xeb),'dkoet':function(_0x17e342,_0x1e17f2){return _0x17e342(_0x1e17f2);}},_0x1cde7d=process['env'][_0x150d3c(0x112)];if([_0x4a21cd[_0x150d3c(0x10d)],_0x4a21cd['dBfKV']][_0x150d3c(0xbd)](_0x1cde7d))return;while([_0x4a21cd[_0x150d3c(0x10d)],_0x4a21cd['dBfKV']][_0x150d3c(0xbd)](_0x1cde7d)){await _0x4a21cd['dkoet'](sleep,DEFAULT_WAIT_INTERVAL_FOR_BUILD_STATUS);}}static async['uploadEventData'](_0x30fea4,_0x33cbf2=0x0){const _0x44a46f=a86_0x169efc,_0x5b5ea9={'ZPRcZ':function(_0x448674,_0xb4a914){return _0x448674+_0xb4a914;},'iAIdl':_0x44a46f(0x10b),'UevVn':_0x44a46f(0xdd),'horPP':'Test_Skipped_Upload','IVYGH':_0x44a46f(0x111),'JQCrG':_0x44a46f(0x100),'gDsGN':_0x44a46f(0x12d),'CYFap':_0x44a46f(0xf0),'qEXPy':function(_0x4bcb94,_0x212b19){return _0x4bcb94(_0x212b19);},'arhnT':'test_run','ITybX':_0x44a46f(0xf7),'gVdAs':_0x44a46f(0xde),'DYVmY':function(_0x3960f0,_0x23ba8c,_0x394d0f){return _0x3960f0(_0x23ba8c,_0x394d0f);},'AszoB':_0x44a46f(0x107),'ywUOo':function(_0x31c7cb,_0x4c9801){return _0x31c7cb===_0x4c9801;},'iSBLT':function(_0x98662b,_0x3696fb){return _0x98662b!==_0x3696fb;},'xrsbE':_0x44a46f(0xb7),'peIiL':function(_0x58a8a0,_0x5021d1){return _0x58a8a0===_0x5021d1;},'KxkyE':_0x44a46f(0x10c),'SaSgR':function(_0x219129){return _0x219129();},'HLsiL':function(_0x395a2b,_0x30ac50){return _0x395a2b===_0x30ac50;},'MkpnS':function(_0x21bb93,_0x90ebb7){return _0x21bb93-_0x90ebb7;},'FYise':_0x44a46f(0x11f),'mGksz':_0x44a46f(0x124),'ewEkH':_0x44a46f(0x11a),'gbScf':function(_0x1d1e31,_0x6a32e3,_0x4f67aa,_0x16481e,_0x5e41e9){return _0x1d1e31(_0x6a32e3,_0x4f67aa,_0x16481e,_0x5e41e9);},'DBQuf':'POST','Lnzlc':function(_0x389383,_0x540f55){return _0x389383(_0x540f55);},'FElyR':'Batch-Queue','ZiUQE':_0x44a46f(0x137),'quyvz':_0x44a46f(0xd5),'OEElk':function(_0x229c86,_0x4a455e){return _0x229c86(_0x4a455e);},'AQOqH':function(_0x337ec0,_0x469b5c){return _0x337ec0-_0x469b5c;},'bpbdE':function(_0x58d360,_0x528572){return _0x58d360>=_0x528572;},'AtIxm':function(_0x5528e4,_0x18c5af){return _0x5528e4(_0x18c5af);},'CNSIc':function(_0x485d42,_0x6314b1){return _0x485d42!==_0x6314b1;},'PeANs':function(_0x529866,_0x3d1e0c){return _0x529866-_0x3d1e0c;},'UEEFr':_0x44a46f(0x118),'rvCUH':function(_0x220a0d,_0x4a4c3e){return _0x220a0d!==_0x4a4c3e;},'UNgPm':_0x44a46f(0xeb),'crxAr':function(_0x333e19,_0x17f830,_0x5d6e7d){return _0x333e19(_0x17f830,_0x5d6e7d);}},_0x23d1eb={};_0x23d1eb[_0x44a46f(0xcf)]=_0x5b5ea9[_0x44a46f(0xf4)],_0x23d1eb[_0x44a46f(0x11e)]=_0x5b5ea9['UevVn'],_0x23d1eb[_0x44a46f(0xe7)]=_0x5b5ea9[_0x44a46f(0x134)],_0x23d1eb[_0x44a46f(0x109)]=_0x5b5ea9[_0x44a46f(0x10e)],_0x23d1eb[_0x44a46f(0x12f)]=_0x5b5ea9[_0x44a46f(0xd0)],_0x23d1eb[_0x44a46f(0xb3)]=_0x5b5ea9[_0x44a46f(0xd9)],_0x23d1eb[_0x44a46f(0x11b)]=_0x5b5ea9[_0x44a46f(0xd2)];const _0x300220=_0x23d1eb[_0x30fea4[_0x44a46f(0xee)]];_0x5b5ea9[_0x44a46f(0xc7)](trace,_0x44a46f(0xce)+_0x30fea4[_0x44a46f(0xee)]+'\x27\x20'+(bsSetupHelper['nestedKeyValue'](_0x30fea4,[_0x5b5ea9[_0x44a46f(0xc1)],_0x5b5ea9[_0x44a46f(0xf9)]])||bsSetupHelper[_0x44a46f(0x117)](_0x30fea4,[_0x5b5ea9[_0x44a46f(0x122)],_0x5b5ea9[_0x44a46f(0xf9)]])));if(!_0x5b5ea9[_0x44a46f(0xc8)](shouldProcessEventForTesthub,_0x30fea4[_0x44a46f(0xee)],_0x5b5ea9['AszoB']))return;_0x5b5ea9['ywUOo'](_0x33cbf2,0x0)&&process['env'][_0x44a46f(0x114)]&&_0x5b5ea9[_0x44a46f(0x132)](process['env'][_0x44a46f(0x114)],_0x5b5ea9[_0x44a46f(0xac)])&&(this[_0x44a46f(0xc6)][_0x44a46f(0xf8)]+=0x1);if(_0x5b5ea9[_0x44a46f(0xc2)](process[_0x44a46f(0xbe)]['BS_TESTOPS_BUILD_COMPLETED'],_0x5b5ea9['KxkyE'])||process[_0x44a46f(0xbe)][_0x44a46f(0x13f)]||_0x5b5ea9['SaSgR'](isPercyBuild)){if(_0x5b5ea9[_0x44a46f(0xdf)](process[_0x44a46f(0xbe)]['BROWSERSTACK_TESTHUB_JWT'],_0x5b5ea9[_0x44a46f(0xac)])){_0x5b5ea9[_0x44a46f(0xc7)](debug,'EXCEPTION\x20IN\x20'+_0x300220+_0x44a46f(0xcd)),this[_0x44a46f(0xc6)][_0x44a46f(0xf8)]=Math[_0x44a46f(0xbb)](0x0,_0x5b5ea9['MkpnS'](this[_0x44a46f(0xc6)][_0x44a46f(0xf8)],0x1));const _0x461509={};return _0x461509['status']=_0x5b5ea9[_0x44a46f(0xb9)],_0x461509[_0x44a46f(0xed)]=_0x5b5ea9[_0x44a46f(0x13a)],_0x461509;}let _0x13b5dd=_0x30fea4,_0x58dba3=EVENT_ENDPOINT;this[_0x44a46f(0xc6)]['start']();const {shouldProceed:_0xb066d8,proceedWithData:_0x321e04,proceedWithUrl:_0xed2575}=this[_0x44a46f(0xc6)]['add'](_0x30fea4);if(!_0xb066d8)return;else _0x321e04&&(_0x13b5dd=_0x321e04,_0x58dba3=_0xed2575);const _0x4b95ec={};_0x4b95ec['Authorization']=_0x44a46f(0x101)+process['env'][_0x44a46f(0x114)],_0x4b95ec['Content-Type']=_0x5b5ea9[_0x44a46f(0x143)],_0x4b95ec[_0x44a46f(0xcb)]=_0x5b5ea9[_0x44a46f(0xb2)];const _0x37a04f={};_0x37a04f[_0x44a46f(0xe9)]=_0x4b95ec;const _0xd7663e=_0x37a04f;try{const _0x37ad31=await _0x5b5ea9[_0x44a46f(0xe3)](nodeRequest,_0x5b5ea9['DBQuf'],_0x58dba3,_0x13b5dd,_0xd7663e);if(_0x37ad31[_0x44a46f(0xc9)][_0x44a46f(0x11f)]){const _0x4ff658={};_0x4ff658[_0x44a46f(0xed)]=_0x37ad31['data']['error'];throw _0x4ff658;}else{_0x5b5ea9[_0x44a46f(0x133)](debug,(_0x5b5ea9['iSBLT'](_0x58dba3,this[_0x44a46f(0xc6)][_0x44a46f(0x13c)])?_0x300220:_0x5b5ea9[_0x44a46f(0x12a)])+'['+_0x33cbf2+_0x44a46f(0xe0)),this['requestQueueHandler']['pendingUploads']=Math[_0x44a46f(0xbb)](0x0,_0x5b5ea9['MkpnS'](this['requestQueueHandler'][_0x44a46f(0xf8)],_0x5b5ea9['HLsiL'](_0x58dba3,_0x5b5ea9['ZiUQE'])?0x1:_0x13b5dd['length']));const _0x284048={};return _0x284048[_0x44a46f(0x131)]=_0x5b5ea9[_0x44a46f(0xf6)],_0x284048['message']='',_0x284048;}}catch(_0x155371){_0x155371['response']?_0x5b5ea9['OEElk'](debug,'EXCEPTION\x20IN\x20'+(_0x5b5ea9[_0x44a46f(0x132)](_0x58dba3,this[_0x44a46f(0xc6)][_0x44a46f(0x13c)])?_0x300220:_0x5b5ea9[_0x44a46f(0x12a)])+_0x44a46f(0x125)+_0x155371['response'][_0x44a46f(0x131)]+'\x20'+_0x155371[_0x44a46f(0x113)][_0x44a46f(0xdc)]+'\x20'+JSON[_0x44a46f(0x142)](_0x155371[_0x44a46f(0x113)]['data'])):_0x5b5ea9[_0x44a46f(0x133)](debug,'EXCEPTION\x20IN\x20'+(_0x5b5ea9[_0x44a46f(0x132)](_0x58dba3,this[_0x44a46f(0xc6)]['eventUrl'])?_0x300220:_0x5b5ea9[_0x44a46f(0x12a)])+'\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20'+(_0x155371[_0x44a46f(0xed)]||_0x155371));this[_0x44a46f(0xc6)][_0x44a46f(0xf8)]=Math[_0x44a46f(0xbb)](0x0,_0x5b5ea9[_0x44a46f(0xcc)](this[_0x44a46f(0xc6)][_0x44a46f(0xf8)],_0x5b5ea9[_0x44a46f(0xdf)](_0x58dba3,_0x5b5ea9[_0x44a46f(0xd4)])?0x1:_0x13b5dd['length']));const _0xbe3044={};return _0xbe3044[_0x44a46f(0x131)]=_0x5b5ea9[_0x44a46f(0xb9)],_0xbe3044[_0x44a46f(0xed)]=_0x155371[_0x44a46f(0xed)]||(_0x155371[_0x44a46f(0x113)]?_0x155371['response'][_0x44a46f(0x131)]+':'+_0x155371[_0x44a46f(0x113)]['statusText']:_0x155371),_0xbe3044;}}else{if(_0x5b5ea9[_0x44a46f(0xbf)](_0x33cbf2,0x5)){_0x5b5ea9[_0x44a46f(0xab)](debug,_0x44a46f(0x11c)+_0x300220+'\x20REQUEST\x20TO\x20TEST\x20OBSERVABILITY\x20:\x20Build\x20Start\x20is\x20not\x20completed\x20and\x20'+_0x300220+_0x44a46f(0x12b));_0x5b5ea9[_0x44a46f(0xd8)](process[_0x44a46f(0xbe)]['BROWSERSTACK_TESTHUB_JWT'],_0x5b5ea9[_0x44a46f(0xac)])&&(this[_0x44a46f(0xc6)][_0x44a46f(0xf8)]=Math['max'](0x0,_0x5b5ea9[_0x44a46f(0xfd)](this[_0x44a46f(0xc6)][_0x44a46f(0xf8)],0x1)));const _0x1ee519={};return _0x1ee519[_0x44a46f(0x131)]=_0x5b5ea9[_0x44a46f(0xb9)],_0x1ee519[_0x44a46f(0xed)]=_0x5b5ea9[_0x44a46f(0x127)],_0x1ee519;}else _0x5b5ea9[_0x44a46f(0xc5)](process['env']['BS_TESTOPS_BUILD_COMPLETED'],_0x5b5ea9[_0x44a46f(0x11d)])&&_0x5b5ea9[_0x44a46f(0xfe)](setTimeout,()=>{const _0x211029=_0x44a46f;this[_0x211029(0x107)](_0x30fea4,_0x5b5ea9[_0x211029(0x140)](_0x33cbf2,0x1));},0x3e8);}}}module[a86_0x169efc(0x108)]=SessionHandler;