browserstack-node-sdk 1.35.0 → 1.35.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  60. package/src/bin/jest/jest.setup.js +1 -1
  61. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  62. package/src/bin/jest/test-observability/helper.js +1 -1
  63. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  64. package/src/bin/jest/test-observability/test-details.js +1 -1
  65. package/src/bin/jest/test_before.setup.js +1 -1
  66. package/src/bin/launcher/launcher.js +1 -1
  67. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  68. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  69. package/src/bin/mocha/command.js +1 -1
  70. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  71. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  72. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  73. package/src/bin/mocha/test.setup.js +1 -1
  74. package/src/bin/nightwatch/command.js +1 -1
  75. package/src/bin/playwright/accessibility-helper.js +1 -1
  76. package/src/bin/playwright/command.js +1 -1
  77. package/src/bin/playwright/globalSetup.js +1 -1
  78. package/src/bin/playwright/mock-process.js +1 -1
  79. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  80. package/src/bin/playwright/patches.js +1 -1
  81. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  82. package/src/bin/playwright/reporter/reporter.js +1 -1
  83. package/src/bin/playwright/reporter/test-details.js +1 -1
  84. package/src/bin/playwright/sessionDetails.js +1 -1
  85. package/src/bin/runner.js +1 -1
  86. package/src/bin/setup.js +1 -1
  87. package/src/bin/test-runner/index.js +1 -1
  88. package/src/bin/test-runner/runTest.js +1 -1
  89. package/src/bin/test-runner/testWorker.js +1 -1
  90. package/src/bin/utils/constants.js +1 -1
  91. package/src/bin/utils/log4jsAppender.js +1 -1
  92. package/src/bin/utils/logPatcher.js +1 -1
  93. package/src/bin/utils/logReportingAPI.js +1 -1
  94. package/src/bin/vanilla-js/command.js +1 -1
  95. package/src/browserStackSdk.js +1 -1
  96. package/src/helpers/BrowserStackSetup.js +1 -1
  97. package/src/helpers/accessibility-automation/constants.js +1 -1
  98. package/src/helpers/accessibility-automation/helper.js +1 -1
  99. package/src/helpers/accessibility-automation/scripts.js +1 -1
  100. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  101. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  102. package/src/helpers/ats/constants.js +1 -1
  103. package/src/helpers/ats/helper.js +1 -1
  104. package/src/helpers/capsMapping.js +1 -1
  105. package/src/helpers/central-scanner/constants.js +1 -1
  106. package/src/helpers/central-scanner/helpers.js +1 -1
  107. package/src/helpers/globals.js +1 -1
  108. package/src/helpers/helper.js +1 -1
  109. package/src/helpers/logger.js +1 -1
  110. package/src/helpers/metadata.js +1 -1
  111. package/src/helpers/patchHelper.js +1 -1
  112. package/src/helpers/patchHelpers.js +1 -1
  113. package/src/helpers/percy/Percy.js +1 -1
  114. package/src/helpers/percy/PercyBinary.js +1 -1
  115. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  116. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  117. package/src/helpers/percy/PercySDK.js +1 -1
  118. package/src/helpers/percy/index.js +1 -1
  119. package/src/helpers/percy/utils.js +1 -1
  120. package/src/helpers/performance/constants.js +1 -1
  121. package/src/helpers/performance/performance-tester.js +1 -1
  122. package/src/helpers/processHelper.js +1 -1
  123. package/src/helpers/request-spy.js +1 -1
  124. package/src/helpers/setKeepAlive.js +1 -1
  125. package/src/helpers/test-observability/constants.js +1 -1
  126. package/src/helpers/test-observability/error-handler.js +1 -1
  127. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  128. package/src/helpers/test-observability/sessionHandler.js +1 -1
  129. package/src/helpers/test-observability/utils.js +1 -1
  130. package/src/helpers/testhub/constants.js +1 -1
  131. package/src/helpers/testhub/testhubHandler.js +1 -1
  132. package/src/helpers/testhub/utils.js +1 -1
  133. package/src/helpers/timeoutPromise.js +1 -1
  134. package/src/helpers/utilities.js +1 -1
  135. package/src/helpers/w3cMapping.js +1 -1
  136. package/src/hubAllocationMethods.js +1 -1
  137. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a39_0x3fd1(){const _0x101b34=['256tCClKn','3514182IYefbh','_isWorkerRedundant','prototype','ylOtf','MZWnB','wzWFo','1501700JHHirP','bfTwW','3Oyqdns','Exception\x20while\x20mocking\x20IsWorkerRedundant:\x20','WwuiS','join','__workerDetails','evaluate','YfGAE','getAccessibilityResultsSummary','8lQvPci','Dispatcher','8233zsuCmu','MNpWh','runner/dispatcher.js','ZocDe','DtgwR','apply','Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20','fByqp','../../helpers/logger','2133228oyAHmD','410hnSnSJ','BROWSERSTACK_TEST_OBSERVABILITY','client','ZwROK','debug','getAccessibilityResults','aBnQm','EltDm','pwPage','format','../../helpers/performance/constants','annotate','8456841QANisq','util','../../helpers/performance/performance-tester','oiXgT','now','env','browserstack_executor:\x20','XbGtK','mockIsWorkerRedundant','YXFTf','146036FIRcys','../../helpers/helper','1195972oBIWZt','newPage','ENbkZ','BrowserContext','Lfguu','Unable\x20to\x20import\x20context\x20for\x20page','doo11ySync','o11ySyncDone'];a39_0x3fd1=function(){return _0x101b34;};return a39_0x3fd1();}const a39_0x961e5b=a39_0x5814;(function(_0x502e3d,_0x345b53){const _0x131ec7=a39_0x5814,_0x5f0f49=_0x502e3d();while(!![]){try{const _0x37ecc7=parseInt(_0x131ec7(0xb3))/0x1*(-parseInt(_0x131ec7(0xdd))/0x2)+parseInt(_0x131ec7(0xa9))/0x3*(parseInt(_0x131ec7(0xd5))/0x4)+-parseInt(_0x131ec7(0xa7))/0x5+-parseInt(_0x131ec7(0xbc))/0x6+parseInt(_0x131ec7(0xde))/0x7+parseInt(_0x131ec7(0xb1))/0x8*(parseInt(_0x131ec7(0xc9))/0x9)+-parseInt(_0x131ec7(0xbd))/0xa*(-parseInt(_0x131ec7(0xd3))/0xb);if(_0x37ecc7===_0x345b53)break;else _0x5f0f49['push'](_0x5f0f49['shift']());}catch(_0x3fa362){_0x5f0f49['push'](_0x5f0f49['shift']());}}}(a39_0x3fd1,0x8c732));const path=require('path'),util=require(a39_0x961e5b(0xca)),logger=require(a39_0x961e5b(0xbb)),{importFileFromPWCore,nestedKeyValue,isFalse,requirePWModule,getPlaywrightLibPath}=require(a39_0x961e5b(0xd4)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),AccessibilityHelper=require('./accessibility-helper'),PerformanceTester=require(a39_0x961e5b(0xcb)),{O11y_EVENTS:PerformanceO11yEvents}=require(a39_0x961e5b(0xc7)),doo11ySync=PerformanceTester['measureWrapper'](PerformanceO11yEvents['SYNC'],o11yErrorHandler(async function doo11ySync(_0x5e1ef5){const _0x224d92=a39_0x961e5b,_0xcdff50={'WwuiS':function(_0x5e5a51,_0x5a9ef9,_0x568099){return _0x5e5a51(_0x5a9ef9,_0x568099);},'XbGtK':_0x224d92(0xad),'ENbkZ':_0x224d92(0xdc),'oiXgT':_0x224d92(0xc8),'MNpWh':_0x224d92(0xc1)};if(_0xcdff50[_0x224d92(0xab)](nestedKeyValue,global,[_0xcdff50[_0x224d92(0xd0)],_0xcdff50[_0x224d92(0xd7)]]))return;await _0x5e1ef5[_0x224d92(0xae)](_0x39e7ab=>{},_0x224d92(0xcf)+JSON['stringify']({'action':_0xcdff50[_0x224d92(0xcc)],'arguments':{'data':'ObservabilitySync:'+Date[_0x224d92(0xcd)](),'level':_0xcdff50[_0x224d92(0xb4)]}})),global[_0x224d92(0xad)][_0x224d92(0xdc)]=!![];},a39_0x961e5b(0xdb)));function a39_0x5814(_0x581401,_0x2a05c8){const _0x3fd1fa=a39_0x3fd1();return a39_0x5814=function(_0x581429,_0x519a93){_0x581429=_0x581429-0xa7;let _0x1c733b=_0x3fd1fa[_0x581429];return _0x1c733b;},a39_0x5814(_0x581401,_0x2a05c8);}exports['mockContextNewPage']=()=>{const _0x408bf7=a39_0x961e5b,_0x56a8ff={'aBnQm':function(_0x48802c,_0x4fab0e){return _0x48802c(_0x4fab0e);},'ZocDe':function(_0x2dc9e4,_0x425666){return _0x2dc9e4(_0x425666);},'YfGAE':function(_0x5acbfc,_0x2c331a){return _0x5acbfc(_0x2c331a);},'Lfguu':function(_0x4a7e7a,_0x27def6,_0x23e335){return _0x4a7e7a(_0x27def6,_0x23e335);},'EltDm':_0x408bf7(0xad),'ZwROK':'lib','MZWnB':_0x408bf7(0xbf),'VKdBu':'browserContext.js','bfTwW':_0x408bf7(0xda),'fByqp':_0x408bf7(0xd6)},_0xdfc920=path[_0x408bf7(0xac)](_0x56a8ff[_0x408bf7(0xc0)],_0x56a8ff[_0x408bf7(0xe2)],_0x56a8ff['VKdBu']),_0x19ad39=_0x56a8ff[_0x408bf7(0xc3)](importFileFromPWCore,_0xdfc920);if(!_0x19ad39){logger['debug'](_0x56a8ff[_0x408bf7(0xa8)]);return;}const _0xbffda1=_0x19ad39[_0x408bf7(0xd8)],_0x3feabc=_0xbffda1[_0x408bf7(0xe0)],_0x21cb35=_0x3feabc[_0x408bf7(0xd6)];Object['defineProperty'](_0x3feabc,_0x56a8ff[_0x408bf7(0xba)],{'get':function(){return async function _0x2710a5(){const _0x20fe20=a39_0x5814,_0xa77c9e=await _0x21cb35[_0x20fe20(0xb8)](this,arguments);try{!_0x56a8ff[_0x20fe20(0xc3)](isFalse,process[_0x20fe20(0xce)][_0x20fe20(0xbe)])&&await _0x56a8ff[_0x20fe20(0xb6)](doo11ySync,_0xa77c9e),!_0x56a8ff[_0x20fe20(0xaf)](isFalse,process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])&&(_0xa77c9e[_0x20fe20(0xc2)]=async()=>{return await AccessibilityHelper['getAccessibilityResults'](_0xa77c9e);},_0xa77c9e['getAccessibilityResultsSummary']=async()=>{const _0x165c31=_0x20fe20;return await AccessibilityHelper[_0x165c31(0xb0)](_0xa77c9e);},_0xa77c9e['performScan']=async()=>{return await AccessibilityHelper['performScan'](_0xa77c9e);});}catch(_0x1532a7){logger[_0x20fe20(0xc1)](_0x20fe20(0xb9)+util[_0x20fe20(0xc6)](_0x1532a7));}return _0x56a8ff[_0x20fe20(0xd9)](nestedKeyValue,global,[_0x56a8ff[_0x20fe20(0xc4)]])&&(global[_0x20fe20(0xad)][_0x20fe20(0xc5)]=_0xa77c9e),_0xa77c9e;};}});},exports[a39_0x961e5b(0xd1)]=()=>{const _0x19039a=a39_0x961e5b,_0x3e5452={'ylOtf':function(_0x175161,_0x35f3e6){return _0x175161(_0x35f3e6);},'YXFTf':_0x19039a(0xb5),'wzWFo':'Unable\x20to\x20import\x20dispatcher\x20for\x20_isWorkerRedundant','DtgwR':_0x19039a(0xdf)};try{const _0x4d33c7=requirePWModule[_0x19039a(0xb8)](null,_0x3e5452[_0x19039a(0xe1)](getPlaywrightLibPath,_0x3e5452[_0x19039a(0xd2)]));if(!_0x4d33c7){logger['debug'](_0x3e5452[_0x19039a(0xe3)]);return;}const _0x3342f3=_0x4d33c7[_0x19039a(0xb2)],_0x5b5a44=_0x3342f3['prototype'],_0x64a4b0=_0x5b5a44[_0x19039a(0xdf)];Object['defineProperty'](_0x5b5a44,_0x3e5452[_0x19039a(0xb7)],{'get':function(){return function _0x4a0c96(){const _0x26a62d=a39_0x5814;return _0x64a4b0[_0x26a62d(0xb8)](this,arguments),!![];};}});}catch(_0x32a18c){logger[_0x19039a(0xc1)](_0x19039a(0xaa)+util[_0x19039a(0xc6)](_0x32a18c));}};
1
+ function a39_0x3b38(_0x467358,_0x52c5b6){const _0x1d7d3c=a39_0x1d7d();return a39_0x3b38=function(_0x3b38ff,_0x3be759){_0x3b38ff=_0x3b38ff-0x1b5;let _0x4d25b9=_0x1d7d3c[_0x3b38ff];return _0x4d25b9;},a39_0x3b38(_0x467358,_0x52c5b6);}function a39_0x1d7d(){const _0x332fba=['lib','BJQMN','defineProperty','now','o11ySyncDone','performScan','euSJJ','env','BROWSERSTACK_TEST_ACCESSIBILITY_YML','apply','gdevd','stringify','2476iJrbHg','annotate','prototype','_isWorkerRedundant','NMVgZ','Fyqcg','path','OvCoK','Dispatcher','BrowserContext','measureWrapper','../../helpers/performance/constants','browserContext.js','BROWSERSTACK_TEST_OBSERVABILITY','387WGBcHf','dqxhv','70koSxAv','tQRAN','evaluate','pwPage','Unable\x20to\x20import\x20dispatcher\x20for\x20_isWorkerRedundant','bwqRu','1621553vDsdxf','10752480UaLyBA','Unable\x20to\x20import\x20context\x20for\x20page','mockContextNewPage','jvJBE','KfsxY','46956LjhRGT','format','tjUyj','debug','SYNC','getAccessibilityResults','join','newPage','adTle','aLJYI','../../helpers/performance/performance-tester','browserstack_executor:\x20','935403mefIQq','vynjt','./accessibility-helper','wEYHA','nXGGY','giMzK','getAccessibilityResultsSummary','298562yfJuRZ','ObservabilitySync:','client','2521755PhZkfm','mockIsWorkerRedundant','485iihanG','__workerDetails'];a39_0x1d7d=function(){return _0x332fba;};return a39_0x1d7d();}const a39_0x4a5601=a39_0x3b38;(function(_0x4760fa,_0x28f5f2){const _0x220720=a39_0x3b38,_0x205820=_0x4760fa();while(!![]){try{const _0x116902=-parseInt(_0x220720(0x1d4))/0x1+parseInt(_0x220720(0x1ed))/0x2+-parseInt(_0x220720(0x1cc))/0x3*(parseInt(_0x220720(0x1be))/0x4)+-parseInt(_0x220720(0x1f2))/0x5*(parseInt(_0x220720(0x1da))/0x6)+-parseInt(_0x220720(0x1e6))/0x7+parseInt(_0x220720(0x1d5))/0x8+parseInt(_0x220720(0x1f0))/0x9*(parseInt(_0x220720(0x1ce))/0xa);if(_0x116902===_0x28f5f2)break;else _0x205820['push'](_0x205820['shift']());}catch(_0x24cc80){_0x205820['push'](_0x205820['shift']());}}}(a39_0x1d7d,0xd2187));const path=require(a39_0x4a5601(0x1c4)),util=require('util'),logger=require('../../helpers/logger'),{importFileFromPWCore,nestedKeyValue,isFalse,requirePWModule,getPlaywrightLibPath}=require('../../helpers/helper'),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),AccessibilityHelper=require(a39_0x4a5601(0x1e8)),PerformanceTester=require(a39_0x4a5601(0x1e4)),{O11y_EVENTS:PerformanceO11yEvents}=require(a39_0x4a5601(0x1c9)),doo11ySync=PerformanceTester[a39_0x4a5601(0x1c8)](PerformanceO11yEvents[a39_0x4a5601(0x1de)],o11yErrorHandler(async function doo11ySync(_0x4886ac){const _0x1fc49a=a39_0x4a5601,_0x4b98cc={'Fyqcg':function(_0x51a58b,_0x1318b7,_0x26de11){return _0x51a58b(_0x1318b7,_0x26de11);},'orqYk':_0x1fc49a(0x1f3),'tQRAN':_0x1fc49a(0x1b6),'dqxhv':_0x1fc49a(0x1bf),'NMVgZ':_0x1fc49a(0x1dd)};if(_0x4b98cc[_0x1fc49a(0x1c3)](nestedKeyValue,global,[_0x4b98cc['orqYk'],_0x4b98cc[_0x1fc49a(0x1cf)]]))return;await _0x4886ac[_0x1fc49a(0x1d0)](_0x55a463=>{},_0x1fc49a(0x1e5)+JSON[_0x1fc49a(0x1bd)]({'action':_0x4b98cc[_0x1fc49a(0x1cd)],'arguments':{'data':_0x1fc49a(0x1ee)+Date[_0x1fc49a(0x1b5)](),'level':_0x4b98cc[_0x1fc49a(0x1c2)]}})),global['__workerDetails'][_0x1fc49a(0x1b6)]=!![];},'doo11ySync'));exports[a39_0x4a5601(0x1d7)]=()=>{const _0x36d0e6=a39_0x4a5601,_0x3f0261={'wEYHA':function(_0x25f2da,_0x237204){return _0x25f2da(_0x237204);},'gdevd':function(_0x507519,_0x14b649,_0x4cc945){return _0x507519(_0x14b649,_0x4cc945);},'mNupt':_0x36d0e6(0x1f3),'giMzK':_0x36d0e6(0x1f4),'tjUyj':_0x36d0e6(0x1ef),'nHYOh':_0x36d0e6(0x1ca),'vynjt':function(_0xcbb963,_0x38d1ed){return _0xcbb963(_0x38d1ed);},'BJQMN':_0x36d0e6(0x1d6),'nXGGY':_0x36d0e6(0x1e1)},_0x2ad400=path[_0x36d0e6(0x1e0)](_0x3f0261[_0x36d0e6(0x1eb)],_0x3f0261[_0x36d0e6(0x1dc)],_0x3f0261['nHYOh']),_0x398065=_0x3f0261[_0x36d0e6(0x1e7)](importFileFromPWCore,_0x2ad400);if(!_0x398065){logger[_0x36d0e6(0x1dd)](_0x3f0261[_0x36d0e6(0x1f5)]);return;}const _0x1ad955=_0x398065[_0x36d0e6(0x1c7)],_0x42ad5b=_0x1ad955[_0x36d0e6(0x1c0)],_0x24b466=_0x42ad5b[_0x36d0e6(0x1e1)];Object['defineProperty'](_0x42ad5b,_0x3f0261[_0x36d0e6(0x1ea)],{'get':function(){const _0x160143={'euSJJ':function(_0x2c2abe,_0x2784f7){const _0x4cbbf6=a39_0x3b38;return _0x3f0261[_0x4cbbf6(0x1e9)](_0x2c2abe,_0x2784f7);},'XjxCn':function(_0x1a635f,_0x3e6885){return _0x3f0261['wEYHA'](_0x1a635f,_0x3e6885);},'OvCoK':function(_0x8cf13c,_0x560bd9,_0x5ade3d){const _0x92e126=a39_0x3b38;return _0x3f0261[_0x92e126(0x1bc)](_0x8cf13c,_0x560bd9,_0x5ade3d);},'aLJYI':_0x3f0261['mNupt']};return async function _0x4a6fc7(){const _0x5e975d=a39_0x3b38,_0x5b865f=await _0x24b466[_0x5e975d(0x1bb)](this,arguments);try{!_0x160143[_0x5e975d(0x1b8)](isFalse,process[_0x5e975d(0x1b9)][_0x5e975d(0x1cb)])&&await _0x160143['XjxCn'](doo11ySync,_0x5b865f),!_0x160143[_0x5e975d(0x1b8)](isFalse,process[_0x5e975d(0x1b9)][_0x5e975d(0x1ba)])&&(_0x5b865f[_0x5e975d(0x1df)]=async()=>{return await AccessibilityHelper['getAccessibilityResults'](_0x5b865f);},_0x5b865f[_0x5e975d(0x1ec)]=async()=>{return await AccessibilityHelper['getAccessibilityResultsSummary'](_0x5b865f);},_0x5b865f[_0x5e975d(0x1b7)]=async()=>{const _0x3c2fc5=_0x5e975d;return await AccessibilityHelper[_0x3c2fc5(0x1b7)](_0x5b865f);});}catch(_0x335cb8){logger[_0x5e975d(0x1dd)]('Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20'+util[_0x5e975d(0x1db)](_0x335cb8));}return _0x160143[_0x5e975d(0x1c5)](nestedKeyValue,global,[_0x160143[_0x5e975d(0x1e3)]])&&(global['__workerDetails'][_0x5e975d(0x1d1)]=_0x5b865f),_0x5b865f;};}});},exports[a39_0x4a5601(0x1f1)]=()=>{const _0x256e61=a39_0x4a5601,_0x428b4d={'KfsxY':function(_0x296962,_0x3283d7){return _0x296962(_0x3283d7);},'bwqRu':'runner/dispatcher.js','adTle':_0x256e61(0x1d2),'jvJBE':_0x256e61(0x1c1)};try{const _0x53e5bd=requirePWModule[_0x256e61(0x1bb)](null,_0x428b4d[_0x256e61(0x1d9)](getPlaywrightLibPath,_0x428b4d[_0x256e61(0x1d3)]));if(!_0x53e5bd){logger[_0x256e61(0x1dd)](_0x428b4d[_0x256e61(0x1e2)]);return;}const _0x724f3=_0x53e5bd[_0x256e61(0x1c6)],_0x2c47ef=_0x724f3[_0x256e61(0x1c0)],_0x187e20=_0x2c47ef[_0x256e61(0x1c1)];Object[_0x256e61(0x1f6)](_0x2c47ef,_0x428b4d[_0x256e61(0x1d8)],{'get':function(){return function _0x8ae9cf(){return _0x187e20['apply'](this,arguments),!![];};}});}catch(_0xdb21a3){logger[_0x256e61(0x1dd)]('Exception\x20while\x20mocking\x20IsWorkerRedundant:\x20'+util[_0x256e61(0x1db)](_0xdb21a3));}};
@@ -1 +1 @@
1
- const a40_0x450b24=a40_0x132c;(function(_0x49f023,_0x20aedc){const _0x500cb8=a40_0x132c,_0xbbca95=_0x49f023();while(!![]){try{const _0xba479a=-parseInt(_0x500cb8(0x1e9))/0x1*(parseInt(_0x500cb8(0x213))/0x2)+parseInt(_0x500cb8(0x24a))/0x3*(parseInt(_0x500cb8(0x1f9))/0x4)+parseInt(_0x500cb8(0x1c4))/0x5+parseInt(_0x500cb8(0x1cd))/0x6+-parseInt(_0x500cb8(0x1d0))/0x7*(parseInt(_0x500cb8(0x1f3))/0x8)+-parseInt(_0x500cb8(0x265))/0x9+parseInt(_0x500cb8(0x247))/0xa;if(_0xba479a===_0x20aedc)break;else _0xbbca95['push'](_0xbbca95['shift']());}catch(_0x4a509a){_0xbbca95['push'](_0xbbca95['shift']());}}}(a40_0x4208,0x9fb25));function a40_0x4208(){const _0x128492=['1.35.0','hVBKS','extname','IxASi','NDLGW','NNWWi','requestSpyCallback','toString','ZHsKd','1.38.0','TEST_LOG','includes','match','oZGjI','debug','performance-report-worker-','HeWID','slice','KGIcG','getTime','laqiv','compareVersions','34lrCznO','Trace\x20file\x20size\x20exceeds\x20100MB:\x20','CnZvg','umCNF','basename','sendSessionDetails','sendTestLog','stack','IFsAd','format','13672QDqXIK','oaeqj','../../../helpers/logger','wXToX','xLIwV','calculatePerformance','4747076tuhOBE','test','getForkProcessPath','winstonLogger','processPageScreenshot','./test-details','Searching\x20for\x20key:\x20','ehxXe','KAxUc','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','IoaRj','getFailureData','tags','length','rQMLF','ArKVF','playwright','onBegin','onTestBegin','yAmxb','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','jdWte','../../../helpers/test-observability/constants','onTestEnd','\x20bytes','Total\x20duration\x20for\x20whole\x20build\x20is\x20','9852jfoMYt','getTestTags','filter','XwStB','OcYMO','path','cXhZO','performance-reporter.html','uploadTraceZip','Error\x20in\x20sending\x20trace\x20file:\x20%s','toLowerCase','mbymm','YCwaP','attachments','sendTraceZip','vqBop','getTransformPath','DRuCM','findNestedKey','message','TEST_ATTACHMENT','@playwright/test/lib/transform/transform.js','GDJWr','env','DKOLC','YcEqR','kBuZz','orGxz','gbRqK','lib','afterTestHook','afterWorkerHook','getProjectUtilsPath','createReadStream','statSync','xHZVQ','name','gDggh','PLAYWRIGHT','ktpPO','XAxCC','existsSync','map','trace','pkyLx','onStepBegin','beforeWorkerHook','addTraceFilePath','getPlaywrightLibPath','Hehxp','beforeTestHook','getConfigLoaderPath','5557040XlJobl','setupBrowserDetails','vHFoh','3yFAeiC','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','size','../../../helpers/helper','FFAAS','idjsq','ApiNT','Arguments','PfRXU','ecFay','sendEventData','AybSw','error','FoVXB','GMwKs','testUId','runner/loadUtils.js','mfUJU','getLoadUtilsPath','dnKHQ','find','@playwright/test','filePath','bUOVb','../../../helpers/test-observability/utils','process.js','../../../helpers/test-observability/sessionHandler','8664057hqgZCn','LogCreated','playwright/lib/transform/transform.js','2294580FhRdNv','calculateTimesFromMultipleFiles','call','yOqTO','substr','ERROR','\x20in\x20attachments','readdirSync','AWxXQ','2491008KiJtqq','hFBAz','Test\x20timeout\x20of','3409wqHNEj','START_TIME','startsWith'];a40_0x4208=function(){return _0x128492;};return a40_0x4208();}const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require(a40_0x450b24(0x262)),PerformanceTester=require('../../../helpers/performance/performance-tester'),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a40_0x450b24(0x20f)),helper=require(a40_0x450b24(0x24d)),path=require('path'),logger=require(a40_0x450b24(0x1f5))[a40_0x450b24(0x1fc)],SessionHandler=require(a40_0x450b24(0x264)),TestDetails=require(a40_0x450b24(0x1fe)),util=require('util'),getTagsFromTitle=_0x386476=>{const _0x53a83b=a40_0x450b24;return _0x386476[_0x53a83b(0x1df)](/@(\w+)/g)?.[_0x53a83b(0x23d)](_0xb70998=>_0xb70998[_0x53a83b(0x1e4)](0x1))||[];};function a40_0x132c(_0x480961,_0x308551){const _0x4208d1=a40_0x4208();return a40_0x132c=function(_0x132cce,_0x5d6722){_0x132cce=_0x132cce-0x1c3;let _0x37de50=_0x4208d1[_0x132cce];return _0x37de50;},a40_0x132c(_0x480961,_0x308551);}exports[a40_0x450b24(0x214)]=_0x5adf9d=>{const _0x5d1e59=a40_0x450b24,_0x115df2={'CnZvg':function(_0x142131,_0x307539){return _0x142131(_0x307539);}};if(_0x5adf9d[_0x5d1e59(0x205)])return _0x5adf9d[_0x5d1e59(0x205)][_0x5d1e59(0x23d)](_0x8cdbf3=>_0x8cdbf3[_0x5d1e59(0x1d2)]('@')?_0x8cdbf3[_0x5d1e59(0x1c8)](0x1):_0x8cdbf3);return _0x115df2[_0x5d1e59(0x1eb)](getTagsFromTitle,_0x5adf9d['title']);},exports[a40_0x450b24(0x1f8)]=async()=>{const _0x1c3b2e=a40_0x450b24,_0xf26e49={'ZATls':function(_0x44d89f,_0x1802e3){return _0x44d89f-_0x1802e3;},'jPggB':_0x1c3b2e(0x21a),'IxASi':_0x1c3b2e(0x20a),'fxbnl':'endSession','laqiv':_0x1c3b2e(0x20b),'PfRXU':_0x1c3b2e(0x210),'xLIwV':_0x1c3b2e(0x240),'uyzWK':'onStepEnd','DKOLC':_0x1c3b2e(0x241),'HeWID':_0x1c3b2e(0x232),'mfUJU':_0x1c3b2e(0x245),'OcNrx':_0x1c3b2e(0x231),'GDJWr':'doo11ySync','ecFay':_0x1c3b2e(0x1fd),'dnKHQ':_0x1c3b2e(0x1ee),'YcEqR':_0x1c3b2e(0x248),'nBsHE':_0x1c3b2e(0x1d9),'ptkbP':_0x1c3b2e(0x1ef),'ehxXe':function(_0x38c5d1,_0x14a1a1){return _0x38c5d1(_0x14a1a1);},'ApiNT':function(_0x2acfa6,_0x4a73b3){return _0x2acfa6/_0x4a73b3;},'ZHsKd':function(_0x56886d,_0x367271){return _0x56886d+_0x367271;},'NDLGW':function(_0x1a6581,_0x26d24d){return _0x1a6581(_0x26d24d);},'ArKVF':function(_0x47a7a5,_0x2aa503){return _0x47a7a5*_0x2aa503;},'YCwaP':function(_0x120213,_0x13cf53){return _0x120213+_0x13cf53;}};if(!process[_0x1c3b2e(0x22a)][_0x1c3b2e(0x1d1)])return;const _0x1cc02f=_0xf26e49['ZATls'](new Date()[_0x1c3b2e(0x1e6)](),new Date(process[_0x1c3b2e(0x22a)][_0x1c3b2e(0x1d1)])['getTime']()),_0x9dffe0=await PerformanceTester['stopAndGenerate'](_0xf26e49['jPggB'],[_0xf26e49[_0x1c3b2e(0x1d6)],_0xf26e49['fxbnl'],_0xf26e49[_0x1c3b2e(0x1e7)],_0xf26e49[_0x1c3b2e(0x252)],_0xf26e49[_0x1c3b2e(0x1f7)],_0xf26e49['uyzWK']]),_0x16bd72=fs[_0x1c3b2e(0x1cb)]('.'),_0x2815a9=_0x16bd72[_0x1c3b2e(0x215)](_0x2815eb=>_0x2815eb['startsWith'](_0x1c3b2e(0x1e2))&&_0x2815eb['endsWith']('.json')),_0x279bde=await PerformanceTester[_0x1c3b2e(0x1c5)](_0x2815a9,[_0xf26e49[_0x1c3b2e(0x22b)],_0xf26e49[_0x1c3b2e(0x1e3)],_0xf26e49[_0x1c3b2e(0x25b)],_0xf26e49['OcNrx'],_0xf26e49[_0x1c3b2e(0x229)],_0xf26e49[_0x1c3b2e(0x253)],_0xf26e49[_0x1c3b2e(0x25d)],_0xf26e49[_0x1c3b2e(0x22c)],_0xf26e49['nBsHE'],_0xf26e49['ptkbP']]);_0xf26e49[_0x1c3b2e(0x200)](debug,_0x1c3b2e(0x212)+_0xf26e49[_0x1c3b2e(0x250)](_0x1cc02f,0x3e8)+'\x20s'),_0xf26e49[_0x1c3b2e(0x200)](debug,_0x1c3b2e(0x24b)+_0xf26e49[_0x1c3b2e(0x1db)](_0x279bde,_0x9dffe0)),_0xf26e49[_0x1c3b2e(0x1d7)](debug,'Percentage\x20of\x20increased\x20time\x20is\x20'+_0xf26e49[_0x1c3b2e(0x208)](_0xf26e49[_0x1c3b2e(0x250)](_0xf26e49[_0x1c3b2e(0x21f)](_0x279bde,_0x9dffe0),_0x1cc02f),0x64));},exports[a40_0x450b24(0x223)]=()=>{const _0x270813=a40_0x450b24,_0x3a9b3e={'AWxXQ':function(_0x2e541d,_0x33e1ae){return _0x2e541d(_0x33e1ae);},'cXhZO':function(_0x452e58,_0x55f017){return _0x452e58>=_0x55f017;},'IFsAd':_0x270813(0x1dc),'pyhvS':_0x270813(0x1c3),'XwStB':_0x270813(0x209),'FoVXB':function(_0x4c9043,_0x1ed2d8){return _0x4c9043>=_0x1ed2d8;},'GMwKs':_0x270813(0x1d3),'FFAAS':_0x270813(0x228),'gbRqK':_0x270813(0x25f),'OcYMO':'@playwright/test/lib/common/transform.js'},_0x402c63=_0x3a9b3e[_0x270813(0x1cc)](getFrameworkVersion,FRAMEWORKS[_0x270813(0x239)]);if(_0x3a9b3e[_0x270813(0x219)](helper[_0x270813(0x1e8)](_0x402c63,_0x3a9b3e[_0x270813(0x1f1)]),0x0))return[_0x3a9b3e['pyhvS'],_0x3a9b3e[_0x270813(0x216)]];if(_0x3a9b3e[_0x270813(0x257)](helper[_0x270813(0x1e8)](_0x402c63,_0x3a9b3e[_0x270813(0x258)]),0x0))return[_0x3a9b3e[_0x270813(0x24e)],_0x3a9b3e[_0x270813(0x22f)]];return[_0x3a9b3e[_0x270813(0x217)],_0x3a9b3e[_0x270813(0x22f)]];},exports[a40_0x450b24(0x246)]=()=>{const _0x3a7c86=a40_0x450b24,_0x4236ab={'vHFoh':function(_0x27c146,_0x173b65){return _0x27c146(_0x173b65);},'Hehxp':function(_0x4ab1fe,_0x440fbd){return _0x4ab1fe>=_0x440fbd;},'umCNF':_0x3a7c86(0x1dc),'txZWs':'playwright/lib/common/configLoader.js','orGxz':'playwright','hVBKS':'@playwright/test/lib/common/configLoader.js','AybSw':_0x3a7c86(0x25f)},_0x24a304=_0x4236ab[_0x3a7c86(0x249)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x4236ab[_0x3a7c86(0x244)](helper['compareVersions'](_0x24a304,_0x4236ab[_0x3a7c86(0x1ec)]),0x0))return[_0x4236ab['txZWs'],_0x4236ab[_0x3a7c86(0x22e)]];return[_0x4236ab[_0x3a7c86(0x1d4)],_0x4236ab[_0x3a7c86(0x255)]];},exports[a40_0x450b24(0x25c)]=()=>{const _0x20eaf9=a40_0x450b24,_0x1674f9={};_0x1674f9[_0x20eaf9(0x1ce)]=_0x20eaf9(0x25a);const _0x12689a=_0x1674f9;return helper['getPlaywrightLibPath'](_0x12689a[_0x20eaf9(0x1ce)]);},exports[a40_0x450b24(0x233)]=()=>{const _0x3e48d4=a40_0x450b24,_0xd146de={};_0xd146de[_0x3e48d4(0x20c)]='runner/projectUtils.js';const _0x160734=_0xd146de;return helper[_0x3e48d4(0x243)](_0x160734[_0x3e48d4(0x20c)]);},exports[a40_0x450b24(0x1fb)]=()=>{const _0x64173c=a40_0x450b24,_0x175c52={'BKIdh':function(_0x56da0a,_0x5e457e){return _0x56da0a(_0x5e457e);},'fffEp':function(_0x70bf3c,_0x4ceff9){return _0x70bf3c>=_0x4ceff9;},'jdWte':_0x64173c(0x1dc),'oaeqj':_0x64173c(0x230),'oZGjI':'common','gDggh':_0x64173c(0x263),'rHXNF':_0x64173c(0x1fa)},_0x848b9d=_0x175c52['BKIdh'](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x175c52['fffEp'](helper[_0x64173c(0x1e8)](_0x848b9d,_0x175c52[_0x64173c(0x20e)]),0x0))return path['join'](_0x175c52[_0x64173c(0x1f4)],_0x175c52['oZGjI'],_0x175c52[_0x64173c(0x238)]);return path['join'](_0x175c52['rHXNF'],_0x175c52[_0x64173c(0x1f4)],_0x175c52[_0x64173c(0x1e0)],_0x175c52[_0x64173c(0x238)]);},exports[a40_0x450b24(0x204)]=(_0x28814c,{test_run_uuid:_0x367281})=>{const _0x4e22d2=a40_0x450b24,_0x396bcd={'pynIg':_0x4e22d2(0x1c9),'OuXxd':_0x4e22d2(0x1dd),'yOqTO':function(_0x418490,_0x2fc53e){return _0x418490<=_0x2fc53e;},'rQMLF':function(_0x3fdcc1,_0x37c093){return _0x3fdcc1(_0x37c093);},'DRuCM':_0x4e22d2(0x1cf),'kBuZz':function(_0x50940f,_0x113fbb){return _0x50940f>=_0x113fbb;},'pkyLx':'1.42.0','ETQNN':function(_0x3a19dc,_0x537712){return _0x3a19dc>_0x537712;},'mbymm':function(_0x3d24df,_0x2a17a1,_0x8f4625){return _0x3d24df(_0x2a17a1,_0x8f4625);},'qfLAA':_0x4e22d2(0x1fa)};if(!_0x28814c||_0x396bcd[_0x4e22d2(0x1c7)](_0x28814c[_0x4e22d2(0x206)],0x0))return[];const _0x41db45=_0x396bcd[_0x4e22d2(0x207)](removeAnsiColors,_0x28814c[0x0]['message']);if(_0x41db45['startsWith'](_0x396bcd[_0x4e22d2(0x224)])){const _0x1597ca=_0x28814c[0x0],_0xf6afda=_0x396bcd['rQMLF'](getFrameworkVersion,FRAMEWORKS[_0x4e22d2(0x239)]);if((!_0x1597ca[_0x4e22d2(0x1f0)]||_0x396bcd[_0x4e22d2(0x22d)](_0xf6afda,_0x396bcd[_0x4e22d2(0x23f)]))&&_0x396bcd['ETQNN'](_0x28814c[_0x4e22d2(0x206)],0x1))return{'failureData':[{'backtrace':[_0x41db45,_0x396bcd[_0x4e22d2(0x207)](removeAnsiColors,_0x28814c[0x1][_0x4e22d2(0x1f0)])]}],'logs':_0x28814c[_0x4e22d2(0x1e4)](0x2)['map'](_0xa00ef5=>{const _0x1706b7=_0x4e22d2;return{'timestamp':new Date()['toISOString'](),'level':_0x396bcd['pynIg'],'message':''+_0xa00ef5[_0x1706b7(0x226)],'kind':_0x396bcd['OuXxd'],'http_response':{},'test_run_uuid':_0x367281};})};}return{'failureData':_0x396bcd[_0x4e22d2(0x21e)](failureData,_0x28814c,_0x396bcd['qfLAA']),'logs':[]};},exports['validateFilePath']=_0x4de6e7=>{const _0x37444d=a40_0x450b24,_0x13b440={};_0x13b440[_0x37444d(0x236)]=function(_0x2795ce,_0x2acd61){return _0x2795ce!==_0x2acd61;},_0x13b440[_0x37444d(0x24f)]='.zip',_0x13b440['IoaRj']=function(_0x5bac2d,_0x5d1f9e){return _0x5bac2d>_0x5d1f9e;};const _0x3d1f65=_0x13b440;if(_0x4de6e7&&fs[_0x37444d(0x23c)](_0x4de6e7)){if(_0x3d1f65[_0x37444d(0x236)](path[_0x37444d(0x1d5)](_0x4de6e7)[_0x37444d(0x21d)](),_0x3d1f65[_0x37444d(0x24f)]))return logger[_0x37444d(0x256)](_0x37444d(0x20d)+_0x4de6e7),![];const _0x3dd9eb=fs[_0x37444d(0x235)](_0x4de6e7)[_0x37444d(0x24c)];if(_0x3d1f65[_0x37444d(0x203)](_0x3dd9eb,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x37444d(0x256)](_0x37444d(0x1ea)+_0x3dd9eb+_0x37444d(0x211)),![];return!![];}return![];},exports['findNestedKey']=(_0x3af3af,_0x2e1a44)=>{const _0x4f9f0c=a40_0x450b24,_0x6bbc3a={};_0x6bbc3a[_0x4f9f0c(0x23a)]=_0x4f9f0c(0x251);const _0x4fe0d6=_0x6bbc3a;logger[_0x4f9f0c(0x1e1)](_0x4f9f0c(0x1ff)+_0x2e1a44);if(_0x3af3af[_0x4f9f0c(0x220)]){const _0x48a028=_0x3af3af[_0x4f9f0c(0x220)][_0x4f9f0c(0x25e)](_0x403320=>_0x403320[_0x4f9f0c(0x237)]===_0x4f9f0c(0x23e));if(_0x48a028)return logger[_0x4f9f0c(0x1e1)]('Found\x20key:\x20'+_0x2e1a44+_0x4f9f0c(0x1ca)),_0x48a028[_0x2e1a44];}else{if(Object['prototype'][_0x4f9f0c(0x1da)][_0x4f9f0c(0x1c6)](_0x3af3af)[_0x4f9f0c(0x1de)](_0x4fe0d6[_0x4f9f0c(0x23a)]))for(const _0x301761 of _0x3af3af){if(_0x301761[_0x2e1a44])return logger['debug']('Found\x20key:\x20'+_0x2e1a44+'\x20in\x20arguments'),_0x301761[_0x2e1a44];}}return'';},exports[a40_0x450b24(0x21b)]=async(_0x1b32d7,_0x51ce57)=>{const _0x74f45e=a40_0x450b24,_0x18a2fb={};_0x18a2fb['KAxUc']=_0x74f45e(0x266),_0x18a2fb[_0x74f45e(0x1e5)]=_0x74f45e(0x227),_0x18a2fb[_0x74f45e(0x261)]=_0x74f45e(0x221),_0x18a2fb[_0x74f45e(0x222)]='Error\x20in\x20sending\x20trace\x20file:\x20%s';const _0xc5c5b5=_0x18a2fb;try{const _0x2270db={'event_type':_0xc5c5b5[_0x74f45e(0x201)],'logs':[{'data':_0x1b32d7?fs[_0x74f45e(0x234)](_0x1b32d7):'','test_run_uuid':_0x51ce57,'kind':_0xc5c5b5[_0x74f45e(0x1e5)],'fileName':_0x1b32d7?path[_0x74f45e(0x1ed)](_0x1b32d7):''}]};return await SessionHandler[_0x74f45e(0x254)](_0x2270db,0x0,_0xc5c5b5[_0x74f45e(0x261)]);}catch(_0x7bddf8){logger[_0x74f45e(0x256)](util[_0x74f45e(0x1f2)](_0xc5c5b5['vqBop'],_0x7bddf8));}},exports[a40_0x450b24(0x221)]=async(_0x3ba7c7,_0x1a3514)=>{const _0x48c500=a40_0x450b24,_0x3fc422={};_0x3fc422[_0x48c500(0x1d8)]=_0x48c500(0x218),_0x3fc422[_0x48c500(0x23b)]='Trace\x20enabled',_0x3fc422['wXToX']=_0x48c500(0x21c);const _0x24f1b8=_0x3fc422;try{logger[_0x48c500(0x1e1)](_0x48c500(0x202)+_0x1a3514);const _0x5f4e07=await exports[_0x48c500(0x225)](_0x3ba7c7,_0x24f1b8[_0x48c500(0x1d8)]);if(exports['validateFilePath'](_0x5f4e07)){logger['debug'](_0x24f1b8['XAxCC']);const _0x46ea71={};_0x46ea71[_0x48c500(0x259)]=_0x1a3514,_0x46ea71[_0x48c500(0x260)]=_0x5f4e07;const _0x4c15d8=_0x46ea71;TestDetails[_0x48c500(0x242)](_0x4c15d8);};}catch(_0x10ebf5){logger[_0x48c500(0x256)](util[_0x48c500(0x1f2)](_0x24f1b8[_0x48c500(0x1f6)],_0x10ebf5));}};
1
+ const a40_0x5291b1=a40_0x49d6;(function(_0x5b47d7,_0x1b7173){const _0x2c8661=a40_0x49d6,_0x236a47=_0x5b47d7();while(!![]){try{const _0x467a42=-parseInt(_0x2c8661(0x107))/0x1+parseInt(_0x2c8661(0xf4))/0x2*(parseInt(_0x2c8661(0xd3))/0x3)+-parseInt(_0x2c8661(0x10c))/0x4*(parseInt(_0x2c8661(0x139))/0x5)+-parseInt(_0x2c8661(0x137))/0x6*(parseInt(_0x2c8661(0x110))/0x7)+-parseInt(_0x2c8661(0xf8))/0x8+parseInt(_0x2c8661(0x13b))/0x9+parseInt(_0x2c8661(0x140))/0xa*(parseInt(_0x2c8661(0x148))/0xb);if(_0x467a42===_0x1b7173)break;else _0x236a47['push'](_0x236a47['shift']());}catch(_0x36fdb7){_0x236a47['push'](_0x236a47['shift']());}}}(a40_0x51c7,0xa7a3f));function a40_0x51c7(){const _0x245915=['validateFilePath','1.35.0','beforeTestHook','ZxwLY','stack','64qrfEKk','HrPIG','JoNhx','match','36232xCJLcX','DXOYI','LgzqY','calculateTimesFromMultipleFiles','../../../helpers/test-observability/constants','filePath','tags','playwright/lib/common/configLoader.js','winstonLogger','getLoadUtilsPath','onBegin','onStepBegin','getConfigLoaderPath','sendEventData','getProjectUtilsPath','597779gZJLBD','Eczvo','getTime','START_TIME','basename','4KSlJEh','Trace\x20enabled','ZtaHA','substr','35eYvCqC','HmsTt','aNYPr','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','readdirSync','rHJEz','AMizh','@playwright/test/lib/common/configLoader.js','Searching\x20for\x20key:\x20','debug','path','FufTl','Test\x20timeout\x20of','Xdpjq','playwright/lib/transform/transform.js','sYlRB','lkPSy','Arguments','WXabA','existsSync','DGHiM','runner/loadUtils.js','performance-reporter.html','statSync','ReXbq','FPgUh','prototype','WgMLH','LogCreated','beforeWorkerHook','call','common','endsWith','startsWith','DHghh','endSession','size','SmYia','WYvcy','1565166EtuwLJ','CaSio','882995ffEkOG','SFpHc','373563uSZuiX','hUpCZ','uyZSd','EgHbf','kFhFI','40yVlfGa','OWYCG','map','findNestedKey','YmDMy','trace','error','aJmgW','4245582EIAilF','process.js','env','processPageScreenshot','@playwright/test','@playwright/test/lib/common/transform.js','.json','util','afterTestHook','\x20in\x20arguments','getForkProcessPath','PLAYWRIGHT','getTestTags','qPgXs','setupBrowserDetails','stopAndGenerate','OBuTm','attachments','TEST_LOG','find','FGvqj','Found\x20key:\x20','sendTraceZip','createReadStream','ogWsV','ERROR','includes','requestSpyCallback','length','playwright','1.38.0','../../../helpers/logger','XEWNi','.zip','onStepEnd','TEST_ATTACHMENT','getPlaywrightLibPath','ZslMb','whsKt','join','dAjkK','OSDYW','KYjcj','testUId','111048zIGtCt','ZnRXD','TvAPo','onTestBegin','performance-report-worker-','VGvMl','lib','slice','eaLxN','filter','mgMzT','1.42.0','afterWorkerHook','LHuAW','CfbDq','CGtDp','mRzyd','message','ZLvIK','getFailureData','\x20in\x20attachments','BQAVe','compareVersions','./test-details','doo11ySync','Error\x20in\x20sending\x20trace\x20file:\x20%s','toLowerCase','QMvQm'];a40_0x51c7=function(){return _0x245915;};return a40_0x51c7();}function a40_0x49d6(_0x373c2b,_0x1c0381){const _0x51c789=a40_0x51c7();return a40_0x49d6=function(_0x49d698,_0x49bef2){_0x49d698=_0x49d698-0xbd;let _0x786fc8=_0x51c789[_0x49d698];return _0x786fc8;},a40_0x49d6(_0x373c2b,_0x1c0381);}const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require('../../../helpers/test-observability/utils'),PerformanceTester=require('../../../helpers/performance/performance-tester'),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a40_0x5291b1(0xfc)),helper=require('../../../helpers/helper'),path=require('path'),logger=require(a40_0x5291b1(0xc6))[a40_0x5291b1(0x100)],SessionHandler=require('../../../helpers/test-observability/sessionHandler'),TestDetails=require(a40_0x5291b1(0xea)),util=require(a40_0x5291b1(0x14f)),getTagsFromTitle=_0x4db112=>{const _0x2edd0f=a40_0x5291b1;return _0x4db112[_0x2edd0f(0xf7)](/@(\w+)/g)?.[_0x2edd0f(0x142)](_0x450113=>_0x450113[_0x2edd0f(0xda)](0x1))||[];};exports[a40_0x5291b1(0x154)]=_0x3b0dc5=>{const _0x217cf7=a40_0x5291b1,_0x45cc1c={'OWYCG':function(_0xd4e9fb,_0xa1596c){return _0xd4e9fb(_0xa1596c);}};if(_0x3b0dc5[_0x217cf7(0xfe)])return _0x3b0dc5[_0x217cf7(0xfe)][_0x217cf7(0x142)](_0x4f6b89=>_0x4f6b89[_0x217cf7(0x131)]('@')?_0x4f6b89[_0x217cf7(0x10f)](0x1):_0x4f6b89);return _0x45cc1c[_0x217cf7(0x141)](getTagsFromTitle,_0x3b0dc5['title']);},exports['calculatePerformance']=async()=>{const _0x45af97=a40_0x5291b1,_0x33b175={'dAjkK':function(_0x136946,_0x174c65){return _0x136946-_0x174c65;},'WmDjV':_0x45af97(0x126),'mRzyd':_0x45af97(0x102),'CfbDq':_0x45af97(0x133),'OSDYW':_0x45af97(0xd6),'fwLQA':'onTestEnd','qecSD':_0x45af97(0x103),'ZtaHA':_0x45af97(0xc9),'pDYRU':_0x45af97(0x12d),'fGhha':_0x45af97(0xdf),'KYjcj':_0x45af97(0xf1),'HrPIG':_0x45af97(0x150),'ZxDcG':_0x45af97(0xeb),'nQvTY':_0x45af97(0x14b),'hUpCZ':'sendSessionDetails','mgMzT':_0x45af97(0x156),'iwuSb':_0x45af97(0xc2),'SFpHc':'sendTestLog','JoNhx':function(_0x2e0945,_0x49116f){return _0x2e0945(_0x49116f);},'WYvcy':function(_0x10a9af,_0x3ed785){return _0x10a9af/_0x3ed785;},'ogWsV':function(_0x3f737e,_0x933124){return _0x3f737e+_0x933124;},'ZbJjM':function(_0x5af570,_0xe9c2bb){return _0x5af570*_0xe9c2bb;},'XEWNi':function(_0x2d6fc7,_0x3593ce){return _0x2d6fc7+_0x3593ce;}};if(!process[_0x45af97(0x14a)][_0x45af97(0x10a)])return;const _0x560244=_0x33b175[_0x45af97(0xcf)](new Date()[_0x45af97(0x109)](),new Date(process[_0x45af97(0x14a)][_0x45af97(0x10a)])[_0x45af97(0x109)]()),_0xa7c400=await PerformanceTester[_0x45af97(0x157)](_0x33b175['WmDjV'],[_0x33b175[_0x45af97(0xe3)],_0x33b175[_0x45af97(0xe1)],_0x33b175[_0x45af97(0xd0)],_0x33b175['fwLQA'],_0x33b175['qecSD'],_0x33b175[_0x45af97(0x10e)]]),_0x2e9cac=fs[_0x45af97(0x114)]('.'),_0x484872=_0x2e9cac[_0x45af97(0xdc)](_0x4b1829=>_0x4b1829[_0x45af97(0x131)](_0x45af97(0xd7))&&_0x4b1829[_0x45af97(0x130)](_0x45af97(0x14e))),_0x55c56d=await PerformanceTester[_0x45af97(0xfb)](_0x484872,[_0x33b175['pDYRU'],_0x33b175['fGhha'],_0x33b175[_0x45af97(0xd1)],_0x33b175[_0x45af97(0xf5)],_0x33b175['ZxDcG'],_0x33b175['nQvTY'],_0x33b175[_0x45af97(0x13c)],_0x33b175[_0x45af97(0xdd)],_0x33b175['iwuSb'],_0x33b175[_0x45af97(0x13a)]]);_0x33b175['JoNhx'](debug,'Total\x20duration\x20for\x20whole\x20build\x20is\x20'+_0x33b175[_0x45af97(0x136)](_0x560244,0x3e8)+'\x20s'),_0x33b175[_0x45af97(0xf6)](debug,'Total\x20time\x20taken\x20by\x20O11y\x20is\x20'+_0x33b175[_0x45af97(0xbf)](_0x55c56d,_0xa7c400)),_0x33b175['JoNhx'](debug,'Percentage\x20of\x20increased\x20time\x20is\x20'+_0x33b175['ZbJjM'](_0x33b175[_0x45af97(0x136)](_0x33b175[_0x45af97(0xc7)](_0x55c56d,_0xa7c400),_0x560244),0x64));},exports['getTransformPath']=()=>{const _0x509870=a40_0x5291b1,_0x4ced17={'EgHbf':function(_0xf7e336,_0x40e7ef){return _0xf7e336(_0x40e7ef);},'uyZSd':function(_0x3a4f01,_0x472115){return _0x3a4f01>=_0x472115;},'WXabA':_0x509870(0xc5),'SmYia':_0x509870(0x11e),'eaLxN':_0x509870(0xc4),'sOEtL':function(_0xcfc9bd,_0x102e43){return _0xcfc9bd>=_0x102e43;},'MZKqF':_0x509870(0xf0),'DHghh':'@playwright/test/lib/transform/transform.js','TvAPo':_0x509870(0x14c),'BQAVe':_0x509870(0x14d)},_0x435d1d=_0x4ced17[_0x509870(0x13e)](getFrameworkVersion,FRAMEWORKS[_0x509870(0x153)]);if(_0x4ced17[_0x509870(0x13d)](helper[_0x509870(0xe9)](_0x435d1d,_0x4ced17[_0x509870(0x122)]),0x0))return[_0x4ced17[_0x509870(0x135)],_0x4ced17[_0x509870(0xdb)]];if(_0x4ced17['sOEtL'](helper[_0x509870(0xe9)](_0x435d1d,_0x4ced17['MZKqF']),0x0))return[_0x4ced17[_0x509870(0x132)],_0x4ced17[_0x509870(0xd5)]];return[_0x4ced17[_0x509870(0xe8)],_0x4ced17['TvAPo']];},exports[a40_0x5291b1(0x104)]=()=>{const _0x567f1c=a40_0x5291b1,_0x39fc7f={'ZxwLY':function(_0x4bb0f6,_0x2a4cd8){return _0x4bb0f6(_0x2a4cd8);},'YmDMy':function(_0x1460fc,_0x4f77c8){return _0x1460fc>=_0x4f77c8;},'rhUxY':_0x567f1c(0xc5),'LHuAW':_0x567f1c(0xff),'DGHiM':_0x567f1c(0xc4),'ooFzf':_0x567f1c(0x117),'xJFvi':_0x567f1c(0x14c)},_0x3e8dcf=_0x39fc7f[_0x567f1c(0xf2)](getFrameworkVersion,FRAMEWORKS[_0x567f1c(0x153)]);if(_0x39fc7f[_0x567f1c(0x144)](helper[_0x567f1c(0xe9)](_0x3e8dcf,_0x39fc7f['rhUxY']),0x0))return[_0x39fc7f[_0x567f1c(0xe0)],_0x39fc7f[_0x567f1c(0x124)]];return[_0x39fc7f['ooFzf'],_0x39fc7f['xJFvi']];},exports[a40_0x5291b1(0x101)]=()=>{const _0x48cbbc=a40_0x5291b1,_0x549b5e={};_0x549b5e[_0x48cbbc(0x138)]=_0x48cbbc(0x125);const _0x42ae72=_0x549b5e;return helper['getPlaywrightLibPath'](_0x42ae72['CaSio']);},exports[a40_0x5291b1(0x106)]=()=>{const _0x435114=a40_0x5291b1,_0x563abb={};_0x563abb[_0x435114(0x111)]='runner/projectUtils.js';const _0xd6bcd8=_0x563abb;return helper[_0x435114(0xcb)](_0xd6bcd8[_0x435114(0x111)]);},exports[a40_0x5291b1(0x152)]=()=>{const _0x42d64f=a40_0x5291b1,_0x51b2e6={'LgzqY':function(_0x9980ed,_0x1a3bb1){return _0x9980ed(_0x1a3bb1);},'FufTl':function(_0x178ace,_0x342d6d){return _0x178ace>=_0x342d6d;},'ZLvIK':'1.38.0','aNYPr':_0x42d64f(0xd9),'TJGpa':_0x42d64f(0x12f),'qPgXs':_0x42d64f(0x149),'VGvMl':'test'},_0x3aab4c=_0x51b2e6[_0x42d64f(0xfa)](getFrameworkVersion,FRAMEWORKS[_0x42d64f(0x153)]);if(_0x51b2e6[_0x42d64f(0x11b)](helper[_0x42d64f(0xe9)](_0x3aab4c,_0x51b2e6[_0x42d64f(0xe5)]),0x0))return path[_0x42d64f(0xce)](_0x51b2e6['aNYPr'],_0x51b2e6['TJGpa'],_0x51b2e6[_0x42d64f(0x155)]);return path[_0x42d64f(0xce)](_0x51b2e6[_0x42d64f(0xd8)],_0x51b2e6[_0x42d64f(0x112)],_0x51b2e6['TJGpa'],_0x51b2e6[_0x42d64f(0x155)]);},exports[a40_0x5291b1(0xe6)]=(_0x3514f7,{test_run_uuid:_0x246fae})=>{const _0x31cd9f=a40_0x5291b1,_0x863ace={'ZslMb':_0x31cd9f(0xc0),'whsKt':_0x31cd9f(0x15a),'cagjC':function(_0x19f69c,_0x16dc5f){return _0x19f69c<=_0x16dc5f;},'WgMLH':function(_0x240cbf,_0x17545f){return _0x240cbf(_0x17545f);},'FGvqj':_0x31cd9f(0x11c),'lkPSy':function(_0x191793,_0x504818){return _0x191793>=_0x504818;},'CGtDp':_0x31cd9f(0xde),'FPgUh':function(_0x10b352,_0x4aeee4){return _0x10b352>_0x4aeee4;},'QMvQm':function(_0x541378,_0x39161e){return _0x541378(_0x39161e);},'rHJEz':function(_0x180caf,_0x42deb0,_0x2b4ac7){return _0x180caf(_0x42deb0,_0x2b4ac7);},'aJmgW':'test'};if(!_0x3514f7||_0x863ace['cagjC'](_0x3514f7[_0x31cd9f(0xc3)],0x0))return[];const _0x2e4cea=_0x863ace['WgMLH'](removeAnsiColors,_0x3514f7[0x0][_0x31cd9f(0xe4)]);if(_0x2e4cea[_0x31cd9f(0x131)](_0x863ace[_0x31cd9f(0x15c)])){const _0xbc49e0=_0x3514f7[0x0],_0x310db6=_0x863ace[_0x31cd9f(0x12b)](getFrameworkVersion,FRAMEWORKS[_0x31cd9f(0x153)]);if((!_0xbc49e0[_0x31cd9f(0xf3)]||_0x863ace[_0x31cd9f(0x120)](_0x310db6,_0x863ace[_0x31cd9f(0xe2)]))&&_0x863ace[_0x31cd9f(0x129)](_0x3514f7[_0x31cd9f(0xc3)],0x1))return{'failureData':[{'backtrace':[_0x2e4cea,_0x863ace[_0x31cd9f(0xee)](removeAnsiColors,_0x3514f7[0x1][_0x31cd9f(0xf3)])]}],'logs':_0x3514f7[_0x31cd9f(0xda)](0x2)[_0x31cd9f(0x142)](_0x4a245c=>{const _0x5ff6ac=_0x31cd9f;return{'timestamp':new Date()['toISOString'](),'level':_0x863ace[_0x5ff6ac(0xcc)],'message':''+_0x4a245c[_0x5ff6ac(0xe4)],'kind':_0x863ace[_0x5ff6ac(0xcd)],'http_response':{},'test_run_uuid':_0x246fae};})};}return{'failureData':_0x863ace[_0x31cd9f(0x115)](failureData,_0x3514f7,_0x863ace[_0x31cd9f(0x147)]),'logs':[]};},exports[a40_0x5291b1(0xef)]=_0x37984b=>{const _0x49d52d=a40_0x5291b1,_0x1417f7={};_0x1417f7[_0x49d52d(0x11d)]=function(_0x56408e,_0x3d67d7){return _0x56408e!==_0x3d67d7;},_0x1417f7['Eczvo']=_0x49d52d(0xc8),_0x1417f7['aFzjh']=function(_0x3a9589,_0xa7b8f8){return _0x3a9589>_0xa7b8f8;};const _0x3e1bea=_0x1417f7;if(_0x37984b&&fs[_0x49d52d(0x123)](_0x37984b)){if(_0x3e1bea['Xdpjq'](path['extname'](_0x37984b)[_0x49d52d(0xed)](),_0x3e1bea[_0x49d52d(0x108)]))return logger['error'](_0x49d52d(0x113)+_0x37984b),![];const _0x2ed1a1=fs[_0x49d52d(0x127)](_0x37984b)[_0x49d52d(0x134)];if(_0x3e1bea['aFzjh'](_0x2ed1a1,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x49d52d(0x146)]('Trace\x20file\x20size\x20exceeds\x20100MB:\x20'+_0x2ed1a1+'\x20bytes'),![];return!![];}return![];},exports[a40_0x5291b1(0x143)]=(_0x3a7442,_0x251b16)=>{const _0x3ae673=a40_0x5291b1,_0x2d95cf={};_0x2d95cf[_0x3ae673(0xf9)]=_0x3ae673(0x121);const _0x92dafb=_0x2d95cf;logger[_0x3ae673(0x119)](_0x3ae673(0x118)+_0x251b16);if(_0x3a7442[_0x3ae673(0x159)]){const _0x3eb713=_0x3a7442[_0x3ae673(0x159)][_0x3ae673(0x15b)](_0x4c7390=>_0x4c7390['name']===_0x3ae673(0x145));if(_0x3eb713)return logger[_0x3ae673(0x119)](_0x3ae673(0x15d)+_0x251b16+_0x3ae673(0xe7)),_0x3eb713[_0x251b16];}else{if(Object[_0x3ae673(0x12a)]['toString'][_0x3ae673(0x12e)](_0x3a7442)[_0x3ae673(0xc1)](_0x92dafb['DXOYI']))for(const _0x1452ff of _0x3a7442){if(_0x1452ff[_0x251b16])return logger[_0x3ae673(0x119)](_0x3ae673(0x15d)+_0x251b16+_0x3ae673(0x151)),_0x1452ff[_0x251b16];}}return'';},exports['uploadTraceZip']=async(_0x4d96ff,_0x3aa9e1)=>{const _0x1be4ea=a40_0x5291b1,_0x53c44c={};_0x53c44c[_0x1be4ea(0x13f)]=_0x1be4ea(0x12c),_0x53c44c[_0x1be4ea(0xd4)]=_0x1be4ea(0xca),_0x53c44c[_0x1be4ea(0x158)]=_0x1be4ea(0xbd),_0x53c44c[_0x1be4ea(0x128)]='Error\x20in\x20sending\x20trace\x20file:\x20%s';const _0x3b9b96=_0x53c44c;try{const _0x250d40={'event_type':_0x3b9b96[_0x1be4ea(0x13f)],'logs':[{'data':_0x4d96ff?fs[_0x1be4ea(0xbe)](_0x4d96ff):'','test_run_uuid':_0x3aa9e1,'kind':_0x3b9b96[_0x1be4ea(0xd4)],'fileName':_0x4d96ff?path[_0x1be4ea(0x10b)](_0x4d96ff):''}]};return await SessionHandler[_0x1be4ea(0x105)](_0x250d40,0x0,_0x3b9b96[_0x1be4ea(0x158)]);}catch(_0x128add){logger[_0x1be4ea(0x146)](util['format'](_0x3b9b96['ReXbq'],_0x128add));}},exports[a40_0x5291b1(0xbd)]=async(_0x4b2369,_0x2af7e5)=>{const _0x1173c9=a40_0x5291b1,_0x378b3e={};_0x378b3e[_0x1173c9(0x116)]=_0x1173c9(0x11a),_0x378b3e[_0x1173c9(0x11f)]=_0x1173c9(0x10d),_0x378b3e['WpljA']=_0x1173c9(0xec);const _0x37717e=_0x378b3e;try{logger[_0x1173c9(0x119)]('Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20'+_0x2af7e5);const _0x376d2d=await exports['findNestedKey'](_0x4b2369,_0x37717e[_0x1173c9(0x116)]);if(exports[_0x1173c9(0xef)](_0x376d2d)){logger[_0x1173c9(0x119)](_0x37717e[_0x1173c9(0x11f)]);const _0x51a136={};_0x51a136[_0x1173c9(0xd2)]=_0x2af7e5,_0x51a136[_0x1173c9(0xfd)]=_0x376d2d;const _0x533eef=_0x51a136;TestDetails['addTraceFilePath'](_0x533eef);};}catch(_0x3b7317){logger['error'](util['format'](_0x37717e['WpljA'],_0x3b7317));}};
@@ -1 +1 @@
1
- const a41_0x59b999=a41_0x4c30;function a41_0x4c30(_0x2c2818,_0x557bd7){const _0x110314=a41_0x1103();return a41_0x4c30=function(_0x4c30f9,_0x54fc95){_0x4c30f9=_0x4c30f9-0xcd;let _0x836d7d=_0x110314[_0x4c30f9];return _0x836d7d;},a41_0x4c30(_0x2c2818,_0x557bd7);}(function(_0x53541e,_0x39766a){const _0x6f1463=a41_0x4c30,_0x40677c=_0x53541e();while(!![]){try{const _0x357aea=-parseInt(_0x6f1463(0x15c))/0x1*(-parseInt(_0x6f1463(0x12b))/0x2)+-parseInt(_0x6f1463(0x19b))/0x3*(parseInt(_0x6f1463(0x11a))/0x4)+-parseInt(_0x6f1463(0x146))/0x5+-parseInt(_0x6f1463(0x111))/0x6*(-parseInt(_0x6f1463(0x176))/0x7)+-parseInt(_0x6f1463(0xee))/0x8+parseInt(_0x6f1463(0x104))/0x9*(-parseInt(_0x6f1463(0x123))/0xa)+parseInt(_0x6f1463(0x1bf))/0xb;if(_0x357aea===_0x39766a)break;else _0x40677c['push'](_0x40677c['shift']());}catch(_0x2be567){_0x40677c['push'](_0x40677c['shift']());}}}(a41_0x1103,0xd1046));const RequestQueueHandler=require(a41_0x59b999(0x197)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath}=require('./pwUtils'),{v4:uuidv4}=require(a41_0x59b999(0x1cb)),path=require(a41_0x59b999(0x1c6)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a41_0x59b999(0x18d)),{getGitMetaData,setLogLevel}=require(a41_0x59b999(0xd0)),TestDetails=require('./test-details'),fs=require('fs'),util=require(a41_0x59b999(0xe5)),{o11yClassErrorHandler}=require(a41_0x59b999(0x188)),PerformanceTester=require(a41_0x59b999(0xd9)),{FRAMEWORKS}=require(a41_0x59b999(0x1a7)),SessionHandler=require(a41_0x59b999(0x128)),{appendTesthubParams}=require('../../../helpers/testhub/utils'),TestHubHandler=require(a41_0x59b999(0x17c)),helper=require(a41_0x59b999(0xd0));class MyReporter{constructor(_0x40a107){const _0x3a5cbd=a41_0x59b999,_0x5f3a05={'bbZjJ':_0x3a5cbd(0x12c),'orpIZ':function(_0xf160e7,_0x467e44,_0x58b800,_0x1dceba){return _0xf160e7(_0x467e44,_0x58b800,_0x1dceba);},'zFHsB':_0x3a5cbd(0xf8)},_0x332057=_0x5f3a05['bbZjJ']['split']('|');let _0x2bf58b=0x0;while(!![]){switch(_0x332057[_0x2bf58b++]){case'0':const _0xc415df={};_0xc415df[_0x3a5cbd(0x16f)]=process['env'][_0x3a5cbd(0x17b)],_0x5f3a05['orpIZ'](setLogLevel,_0xc415df,new Map(),new Map());continue;case'1':this[_0x3a5cbd(0x143)]={};continue;case'2':process[_0x3a5cbd(0x19e)][_0x3a5cbd(0x10b)]&&(PerformanceTester['startMonitoring'](_0x5f3a05[_0x3a5cbd(0x106)]),process['env'][_0x3a5cbd(0x1c0)]=new Date()[_0x3a5cbd(0x164)]());continue;case'3':this[_0x3a5cbd(0x115)]=null;continue;case'4':this['_gitConfigured']=![];continue;case'5':this[_0x3a5cbd(0x13e)]=_0x40a107;continue;case'6':this[_0x3a5cbd(0x192)]={};continue;}break;}}async[a41_0x59b999(0x107)](){const _0x19629c=a41_0x59b999;TestDetails['setup'](),await this[_0x19629c(0x121)]();}async[a41_0x59b999(0x14d)](_0x4bc691,_0x3bcb4b){const _0x42271d=a41_0x59b999,_0x1f4646={'qfsty':function(_0x3c4a37,_0x510dbf){return _0x3c4a37(_0x510dbf);},'FrRsv':_0x42271d(0xf0)},_0x3f7638=this[_0x42271d(0x181)](_0x4bc691),_0x101012=TestDetails[_0x42271d(0x141)](this['getTestRunIdentifier'](_0x4bc691,_0x3bcb4b['retry']));process['env'][_0x42271d(0x174)]=_0x101012;const _0x5e94d7={};_0x5e94d7['uuid']=_0x101012,_0x5e94d7['startedAt']=_0x3bcb4b['startTime'],this[_0x42271d(0x192)][_0x3f7638]=_0x5e94d7,_0x1f4646[_0x42271d(0x14b)](trace,_0x42271d(0x15b)+_0x3f7638),await this[_0x42271d(0x139)](_0x4bc691,_0x1f4646['FrRsv'],_0x3bcb4b);}async[a41_0x59b999(0x180)](_0x44a9cb,_0x2d8bde,_0x4f1473){const _0x124d2e=a41_0x59b999,_0x1e7029={'AohDJ':function(_0x246bc9,_0x14a281){return _0x246bc9(_0x14a281);},'GJmHz':'HookRunStarted'};if(!this['needToReportStep'](_0x4f1473,_0x44a9cb))return;const _0x1fe8fc=this[_0x124d2e(0x1cd)](_0x44a9cb,_0x4f1473);this[_0x124d2e(0x192)][_0x1fe8fc]={'uuid':TestDetails[_0x124d2e(0x141)](_0x1fe8fc),'startedAt':_0x4f1473['startTime'][_0x124d2e(0x164)]()};const _0x8328d6=this['getTestRunIdentifier'](_0x44a9cb,_0x2d8bde[_0x124d2e(0x1ce)]);!this['_testHooksMap'][_0x8328d6]&&(this[_0x124d2e(0x143)][_0x8328d6]=[]),this[_0x124d2e(0x143)][_0x8328d6][_0x124d2e(0x1d2)](this[_0x124d2e(0x192)][_0x1fe8fc][_0x124d2e(0x1cb)]),_0x1e7029[_0x124d2e(0xf6)](trace,_0x124d2e(0x1a6)+_0x1fe8fc+_0x124d2e(0x1a5)+_0x8328d6),await this[_0x124d2e(0x12e)](_0x44a9cb,_0x4f1473,_0x1e7029[_0x124d2e(0xdd)],_0x2d8bde);}async['onStepEnd'](_0x507be4,_0x2eed78,_0x316112){const _0x34f9c0=a41_0x59b999,_0x4abb73={'OwLpM':function(_0x40f14b,_0x5dd96c){return _0x40f14b+_0x5dd96c;},'oTtxH':function(_0x4e3054,_0x1b9fbb){return _0x4e3054(_0x1b9fbb);},'gxnzf':_0x34f9c0(0x142)};if(!this['needToReportStep'](_0x316112,_0x507be4))return;const _0x177cbc=this[_0x34f9c0(0xd7)](_0x507be4,_0x316112);this[_0x34f9c0(0x192)][_0x177cbc]={...this[_0x34f9c0(0x192)][_0x177cbc]||{},'finishedAt':new Date(_0x4abb73[_0x34f9c0(0x18a)](_0x316112[_0x34f9c0(0x157)]['getTime'](),_0x316112['duration']))},_0x4abb73['oTtxH'](trace,_0x34f9c0(0x1b3)+_0x177cbc+_0x34f9c0(0x1b9)),await this[_0x34f9c0(0x12e)](_0x507be4,_0x316112,_0x4abb73[_0x34f9c0(0x166)],_0x2eed78);}async['onTestEnd'](_0x4ff29c,_0x4d38cc){const _0x6a2902=a41_0x59b999,_0x2096fd={'Hivno':function(_0x26ccb9,_0x404fe3){return _0x26ccb9===_0x404fe3;},'ztMvq':_0x6a2902(0xf3),'KkGna':'TEST_SCREENSHOT','YPfFS':_0x6a2902(0xfc),'VaJRa':function(_0x197d23,_0x37eeaa){return _0x197d23(_0x37eeaa);},'bXppL':'TestRunFinished','lEXoN':function(_0x55f0ab,_0x15faf2){return _0x55f0ab(_0x15faf2);},'TIEHI':'Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','DBZiJ':function(_0x2dfff4,_0x36a395,_0x24cb85){return _0x2dfff4(_0x36a395,_0x24cb85);},'bOSyz':_0x6a2902(0x187),'dmYqh':function(_0x5c07cb,_0x449737){return _0x5c07cb>_0x449737;}},_0x4b1b9c=this['getTestIdentifier'](_0x4ff29c),_0x4b0caa=TestDetails[_0x6a2902(0x141)](this['getTestRunIdentifier'](_0x4ff29c,_0x4d38cc['retry']));this[_0x6a2902(0x192)][_0x4b1b9c]={...this['_tests'][_0x4b1b9c]||{},'finishedAt':new Date()['toISOString']()},_0x2096fd['VaJRa'](trace,_0x6a2902(0x122)+_0x4b1b9c);try{await this[_0x6a2902(0x139)](_0x4ff29c,_0x2096fd[_0x6a2902(0x15e)],_0x4d38cc);}catch(_0x1023a7){_0x2096fd[_0x6a2902(0x11c)](debug,util[_0x6a2902(0x129)](_0x2096fd[_0x6a2902(0x167)],_0x1023a7[_0x6a2902(0x124)]()));}try{_0x2096fd[_0x6a2902(0xe3)](debug,_0x6a2902(0x19c)+_0x4b0caa),await _0x2096fd['DBZiJ'](sendTraceZip,_0x4d38cc,_0x4b0caa);}catch(_0x1774d0){_0x2096fd['lEXoN'](debug,util[_0x6a2902(0x129)](_0x2096fd['bOSyz'],_0x1774d0[_0x6a2902(0x124)]()));}const _0x22f86e=[];_0x4d38cc[_0x6a2902(0x17e)]&&_0x4d38cc[_0x6a2902(0x17e)]['map'](_0x28adc1=>{const _0x556551=_0x6a2902;if(_0x2096fd[_0x556551(0x127)](_0x28adc1['name'],_0x2096fd[_0x556551(0x1ab)])){if(!_0x28adc1[_0x556551(0x1c6)]||!fs['existsSync'](_0x28adc1['path']))return;_0x22f86e[_0x556551(0x1d2)]({'test_run_uuid':_0x4b0caa,'timestamp':fs[_0x556551(0x1af)](_0x28adc1['path'])[_0x556551(0x18f)],'kind':_0x2096fd[_0x556551(0xed)],'message':fs['readFileSync'](_0x28adc1['path'],{'encoding':_0x2096fd['YPfFS']})});}}),_0x2096fd[_0x6a2902(0x170)](_0x22f86e[_0x6a2902(0x169)],0x0)&&await MyReporter[_0x6a2902(0x160)](_0x22f86e);}async[a41_0x59b999(0x149)](){const _0x4e8e10=a41_0x59b999;await RequestQueueHandler[_0x4e8e10(0x1bb)]()[_0x4e8e10(0x1b4)]();}async['onEnd'](_0x47db14){const _0x2730e0=a41_0x59b999,_0x329c24={'dfeek':function(_0x24ce77){return _0x24ce77();},'QuFwr':function(_0x2f3989,_0x11d3fd){return _0x2f3989(_0x11d3fd);}};await this[_0x2730e0(0x149)]();try{process[_0x2730e0(0x19e)][_0x2730e0(0x10b)]&&await _0x329c24[_0x2730e0(0x1c5)](calculatePerformance);}catch(_0x9e428d){_0x329c24[_0x2730e0(0xfa)](debug,_0x2730e0(0x14c)+_0x9e428d[_0x2730e0(0x124)]());}}static async[a41_0x59b999(0x161)](_0x342a47,_0xa11da2){const _0x496192=a41_0x59b999;_0xa11da2['test_run_uuid']=TestDetails['getTestUUID'](_0x342a47),await this[_0x496192(0x160)]([_0xa11da2]);}static async[a41_0x59b999(0x160)](_0x438070){const _0x301a51=a41_0x59b999,_0x59d92f={};_0x59d92f['tRPoA']='LogCreated';const _0x41b2d1=_0x59d92f,_0x306712={};_0x306712[_0x301a51(0x19f)]=_0x41b2d1[_0x301a51(0xf4)],_0x306712['logs']=_0x438070,await SessionHandler[_0x301a51(0x12f)](_0x306712);}async[a41_0x59b999(0x12e)](_0x295583,_0x586b9d,_0xf89832,_0x52172d){const _0x54834b=a41_0x59b999,_0x3bbf55={'OAqeP':'hook','AIIzo':'javascript','KQlCS':_0x54834b(0x1c1),'BZpNu':function(_0x25465d,_0x294a7f){return _0x25465d>=_0x294a7f;},'wQIgh':function(_0x225250,_0x2f7839){return _0x225250===_0x2f7839;},'TEqTy':'HookRunFinished','LDqIA':function(_0x3405e8,_0x45bd26){return _0x3405e8>_0x45bd26;},'fZACj':_0x54834b(0x199),'TfwMl':function(_0x56f107,_0x400473){return _0x56f107(_0x400473);},'gtufU':function(_0x4801ef,_0x16d986,_0x225fdb){return _0x4801ef(_0x16d986,_0x225fdb);},'KbnGD':'err','UiDtK':'passed'},_0x5a20ff=this[_0x54834b(0xd7)](_0x295583,_0x586b9d),_0xef2224=this[_0x54834b(0x192)][_0x5a20ff],_0x184cfb={'uuid':_0xef2224[_0x54834b(0x1cb)],'type':_0x3bbf55[_0x54834b(0x132)],'hook_type':this['getHookType'](_0x586b9d[_0x54834b(0xeb)]),'name':_0x586b9d['title'],'scope':this['getScope'](_0x586b9d),'scopes':this[_0x54834b(0xf1)](_0x295583),'body':{'lang':_0x3bbf55[_0x54834b(0x137)],'code':null},'identifier':_0x5a20ff,'file_name':path[_0x54834b(0x133)](process[_0x54834b(0x109)](),_0x295583[_0x54834b(0x14a)]['file']),'location':path[_0x54834b(0x133)](process[_0x54834b(0x109)](),_0x295583['location'][_0x54834b(0xd2)]),'result':_0x3bbf55[_0x54834b(0x1b0)],'duration_in_ms':_0x3bbf55['BZpNu'](_0x586b9d[_0x54834b(0x147)],0x0)?_0x586b9d[_0x54834b(0x147)]:undefined,'vc_filepath':this[_0x54834b(0x115)]&&_0x295583[_0x54834b(0x14a)][_0x54834b(0xd2)]?path[_0x54834b(0x133)](this[_0x54834b(0x115)],_0x295583['location'][_0x54834b(0xd2)]):undefined,'started_at':_0xef2224[_0x54834b(0x1ad)],'finished_at':_0xef2224[_0x54834b(0x17d)],'framework':FRAMEWORKS[_0x54834b(0xcd)]};if(_0x3bbf55['wQIgh'](_0xf89832,_0x3bbf55[_0x54834b(0x14f)])){const {steps:_0x451f4c,logs:_0xc1c3c6}=this['getStepsAndLogs'](_0x586b9d[_0x54834b(0x1b7)],_0xef2224[_0x54834b(0x1cb)],_0x3bbf55['OAqeP']);_0xc1c3c6&&_0x3bbf55['LDqIA'](_0xc1c3c6[_0x54834b(0x169)],0x0)&&await MyReporter[_0x54834b(0x160)](_0xc1c3c6);const _0x1f86af={};_0x1f86af[_0x54834b(0x1b7)]=_0x451f4c,_0x184cfb['meta']=_0x1f86af;if(_0x586b9d[_0x54834b(0x112)]){_0x184cfb[_0x54834b(0xf7)]=_0x3bbf55[_0x54834b(0x108)],_0x184cfb[_0x54834b(0xe4)]=_0x3bbf55[_0x54834b(0x195)](removeAnsiColors,_0x586b9d[_0x54834b(0x112)][_0x54834b(0x19a)]),_0x184cfb['failure_type']=_0x3bbf55['TfwMl'](getFailureType,_0x586b9d['error'][_0x54834b(0x19a)]);const _0xf07e6e=_0x3bbf55[_0x54834b(0x1ac)](failureData,_0x586b9d[_0x54834b(0x112)],_0x3bbf55[_0x54834b(0x13b)]);if(_0xf07e6e&&_0x3bbf55[_0x54834b(0x11f)](_0xf07e6e['length'],0x0)){const _0x36cbba={};_0x36cbba[_0x54834b(0xd5)]=[_0x184cfb[_0x54834b(0xe4)]],_0x36cbba['expanded']=[],_0xf07e6e[_0x54834b(0x1d2)](_0x36cbba);}_0x184cfb[_0x54834b(0x18e)]=_0xf07e6e;}else _0x184cfb[_0x54834b(0xf7)]=_0x3bbf55[_0x54834b(0x198)];}const _0x4c8e17={};_0x4c8e17['event_type']=_0xf89832,_0x4c8e17[_0x54834b(0x191)]=_0x184cfb;const _0x16eee8=_0x4c8e17;await SessionHandler[_0x54834b(0x12f)](_0x16eee8);}[a41_0x59b999(0xdb)](_0x431e8a,_0x5f2526,_0xb6087){const _0x401f48=a41_0x59b999,_0x1946ac={'gaWfL':function(_0x1fb22d,_0x1e0052){return _0x1fb22d===_0x1e0052;},'ihZcD':_0x401f48(0x183),'oHMUK':'After\x20Hooks','MoMJX':_0x401f48(0x10a),'wPSGj':function(_0x3a3f74,_0x3f0f8b){return _0x3a3f74===_0x3f0f8b;},'aqVYE':_0x401f48(0xde),'HymZY':_0x401f48(0x1bc),'eqPtq':_0x401f48(0x119),'nMGkx':'TEST_STEP','gMfZG':_0x401f48(0x199),'cpKJI':_0x401f48(0x153),'zyepd':function(_0x20ca1d,_0x556824){return _0x20ca1d(_0x556824);},'YCVeN':function(_0x5e4c9b,_0x1d2c5c){return _0x5e4c9b(_0x1d2c5c);},'AfFCz':function(_0x23b53d){return _0x23b53d();},'Cgjyq':function(_0x409705,_0x31263f){return _0x409705(_0x31263f);},'DnRhy':function(_0x427e9f,_0x87d7e6,_0x167be8){return _0x427e9f(_0x87d7e6,_0x167be8);},'BcyJt':function(_0x38dded,_0x4aa58a,_0x13eb99){return _0x38dded(_0x4aa58a,_0x13eb99);}},_0x2a6a18=[],_0xea39e8=[],_0x3e48f7=_0x431e8a[_0x401f48(0xd8)](_0x2f28bf=>{const _0x435ea1=_0x401f48;if(_0x1946ac[_0x435ea1(0x12a)](_0x2f28bf['category'],_0x1946ac[_0x435ea1(0x10e)])&&(_0x1946ac['gaWfL'](_0x2f28bf[_0x435ea1(0xeb)],_0x1946ac['oHMUK'])||_0x1946ac[_0x435ea1(0x12a)](_0x2f28bf['title'],_0x1946ac[_0x435ea1(0x16a)])))return![];return!![];}),_0x443dfe=(_0x1daa63,_0xe9a6c2=![])=>{const _0x1b4d89=_0x401f48;if(_0x1946ac[_0x1b4d89(0xd6)](_0x1daa63[_0x1b4d89(0x1b7)][_0x1b4d89(0x169)],0x0)){const _0x231a79=_0x1946ac['wPSGj'](_0xb6087,_0x1946ac[_0x1b4d89(0x15d)])?_0x1946ac[_0x1b4d89(0x134)]:_0x1946ac[_0x1b4d89(0x1c8)];_0xea39e8['push']({'kind':_0x1946ac[_0x1b4d89(0x1a9)],[_0x231a79]:_0x5f2526,'message':_0x1daa63[_0x1b4d89(0xeb)],'timestamp':_0x1daa63[_0x1b4d89(0x157)]['toISOString'](),'level':_0x1daa63[_0x1b4d89(0x112)]?_0x1946ac[_0x1b4d89(0x11d)]:_0x1946ac[_0x1b4d89(0x148)],'duration':_0x1daa63['duration'],'failure':_0x1daa63[_0x1b4d89(0x112)]&&_0x1daa63[_0x1b4d89(0x112)][_0x1b4d89(0x19a)]&&_0x1946ac['zyepd'](removeAnsiColors,_0x1daa63[_0x1b4d89(0x112)][_0x1b4d89(0x19a)]),'failure_type':_0x1946ac['YCVeN'](getFailureType,_0x1daa63['error']&&_0x1daa63[_0x1b4d89(0x112)][_0x1b4d89(0x19a)])});}else{!_0xe9a6c2&&_0x2a6a18[_0x1b4d89(0x1d2)]({'id':_0x1946ac[_0x1b4d89(0x140)](uuidv4),'text':_0x1daa63['title'],'keyword':undefined,'started_at':_0x1daa63[_0x1b4d89(0x157)][_0x1b4d89(0x164)](),'duration':_0x1daa63['duration'],'result':_0x1daa63['error']?_0x1946ac[_0x1b4d89(0x11d)]:_0x1946ac[_0x1b4d89(0x148)],'failure':_0x1daa63[_0x1b4d89(0x112)]&&_0x1daa63[_0x1b4d89(0x112)][_0x1b4d89(0x19a)]&&_0x1946ac[_0x1b4d89(0x1c3)](removeAnsiColors,_0x1daa63[_0x1b4d89(0x112)][_0x1b4d89(0x19a)]),'failure_type':_0x1946ac[_0x1b4d89(0x13a)](getFailureType,_0x1daa63[_0x1b4d89(0x112)]&&_0x1daa63[_0x1b4d89(0x112)][_0x1b4d89(0x19a)])});for(const _0x28d78c of _0x1daa63[_0x1b4d89(0x1b7)]){_0x1946ac[_0x1b4d89(0x1bd)](_0x443dfe,_0x28d78c,!![]);}}};for(const _0xbde360 of _0x3e48f7){_0x1946ac[_0x401f48(0x1aa)](_0x443dfe,_0xbde360,![]);}const _0x2e2131={};return _0x2e2131['steps']=_0x2a6a18,_0x2e2131[_0x401f48(0x136)]=_0xea39e8,_0x2e2131;}async[a41_0x59b999(0x139)](_0x458046,_0x45812a,_0x4ab801){const _0x34be72=a41_0x59b999,_0x3d32a7={'BhlMh':function(_0x1d1b31,_0x5866e4){return _0x1d1b31(_0x5866e4);},'kpcYu':_0x34be72(0xec),'LAJaS':_0x34be72(0xf5),'jsHyP':_0x34be72(0xde),'SXJCO':_0x34be72(0x116),'zHRNX':_0x34be72(0x1c1),'RwJQb':function(_0x2f8a68,_0x35cfda){return _0x2f8a68(_0x35cfda);},'vhUkG':function(_0xae2191,_0x4fe2d5,_0x15d80b,_0x453ff8,_0x50be75){return _0xae2191(_0x4fe2d5,_0x15d80b,_0x453ff8,_0x50be75);},'eOGVG':function(_0x509160,_0x124cfe){return _0x509160>_0x124cfe;},'DGfPY':function(_0x56733a,_0x4b6209){return _0x56733a-_0x4b6209;},'gIimj':function(_0x2b87d2,_0x199970){return _0x2b87d2===_0x199970;},'KyTpr':_0x34be72(0xd4),'RukNw':function(_0x1bf68f,_0x47f432){return _0x1bf68f===_0x47f432;},'AYgPW':function(_0x69dfe0,_0x55f645){return _0x69dfe0===_0x55f645;},'NoyoP':_0x34be72(0x13c),'wEcpq':_0x34be72(0x153),'gTpyc':function(_0x1fa9f4,_0xc589ab){return _0x1fa9f4===_0xc589ab;},'vrkMM':function(_0x4fbd06,_0x3c1b41){return _0x4fbd06===_0x3c1b41;},'GrQBl':_0x34be72(0x199),'ThMLV':function(_0x106f39,_0x13cecc){return _0x106f39===_0x13cecc;},'EDICw':_0x34be72(0x131),'qgXRO':function(_0x535899,_0x394951){return _0x535899===_0x394951;},'CfgAM':function(_0x303ed1,_0x4a8cfb){return _0x303ed1===_0x4a8cfb;},'yrDZD':_0x34be72(0x126),'WNbUJ':function(_0x5ca1ab,_0x53d39b){return _0x5ca1ab(_0x53d39b);},'mYAed':function(_0x3719af,_0x43e6f1,_0x8cbae2){return _0x3719af(_0x43e6f1,_0x8cbae2);},'zKwtx':function(_0x3be1a6,_0x313c87){return _0x3be1a6===_0x313c87;},'jrEET':_0x34be72(0x1c6),'nhfEV':function(_0x52670,_0x1b2a26){return _0x52670(_0x1b2a26);},'CPpDx':function(_0x2e9fd9,_0xaad3e1){return _0x2e9fd9(_0xaad3e1);},'eIGNS':_0x34be72(0x194),'TVRpO':_0x34be72(0xe9),'oQPWj':function(_0x5b7b85,_0x40590e){return _0x5b7b85!==_0x40590e;},'BPVMZ':function(_0x5a6cb0,_0x4d31fb){return _0x5a6cb0===_0x4d31fb;}},_0x4be231=this[_0x34be72(0x181)](_0x458046),_0x304825=this[_0x34be72(0x19d)](_0x458046),_0x4d73b8=this[_0x34be72(0x192)][_0x4be231],_0x2ac986=path[_0x34be72(0x133)](process[_0x34be72(0x109)](),_0x458046['location'][_0x34be72(0xd2)]);await this[_0x34be72(0x121)]();const _0x25d78d={'uuid':_0x4d73b8[_0x34be72(0x1cb)],'type':_0x3d32a7[_0x34be72(0x163)],'name':_0x458046[_0x34be72(0xeb)],'body':{'lang':_0x3d32a7['SXJCO'],'code':_0x458046['fn']['toString']()},'scope':_0x304825,'scopes':this['getHierarchy'](_0x458046),'identifier':_0x4be231,'file_name':_0x2ac986,'location':_0x2ac986,'result':_0x3d32a7[_0x34be72(0x1b2)],'duration_in_ms':_0x4ab801&&_0x4ab801[_0x34be72(0x147)]?_0x4ab801[_0x34be72(0x147)]:null,'vc_filepath':this[_0x34be72(0x115)]&&_0x458046[_0x34be72(0x14a)]['file']?path[_0x34be72(0x133)](this[_0x34be72(0x115)],_0x458046[_0x34be72(0x14a)][_0x34be72(0xd2)]):undefined,'started_at':_0x4d73b8[_0x34be72(0x1ad)],'finished_at':_0x4d73b8[_0x34be72(0x17d)],'framework':FRAMEWORKS[_0x34be72(0xcd)],'customRerunParam':{'rerun_name':this[_0x34be72(0x1b8)](_0x458046)},'tags':_0x3d32a7[_0x34be72(0x12d)](getTestTags,_0x458046)};_0x3d32a7[_0x34be72(0x152)](appendTesthubParams,_0x25d78d,_0x45812a,_0x458046,FRAMEWORKS[_0x34be72(0xcd)]);_0x4ab801&&_0x3d32a7['eOGVG'](_0x4ab801[_0x34be72(0x1ce)],0x0)&&(_0x25d78d[_0x34be72(0x1b5)]=TestDetails['getTestUUID'](this[_0x34be72(0x155)](_0x458046,_0x3d32a7['DGfPY'](_0x4ab801[_0x34be72(0x1ce)],0x1))));if(_0x3d32a7[_0x34be72(0x14e)](_0x45812a,_0x3d32a7[_0x34be72(0x1be)])){_0x25d78d['result']=_0x4ab801['status'];if(_0x3d32a7[_0x34be72(0xf2)](_0x4ab801[_0x34be72(0x159)],_0x458046[_0x34be72(0x193)]))_0x25d78d[_0x34be72(0xf7)]=_0x3d32a7[_0x34be72(0xe7)](_0x4ab801[_0x34be72(0x159)],_0x3d32a7[_0x34be72(0x1c4)])?_0x3d32a7[_0x34be72(0x1c4)]:_0x3d32a7[_0x34be72(0x196)];else{(_0x3d32a7['gTpyc'](_0x25d78d['result'],_0x3d32a7['wEcpq'])||_0x3d32a7[_0x34be72(0xda)](_0x25d78d[_0x34be72(0xf7)],_0x3d32a7[_0x34be72(0x105)])||_0x3d32a7[_0x34be72(0x13f)](_0x25d78d[_0x34be72(0xf7)],_0x3d32a7[_0x34be72(0x1b6)]))&&(_0x25d78d[_0x34be72(0xf7)]=_0x3d32a7['GrQBl']);if(_0x3d32a7['qgXRO'](_0x4ab801[_0x34be72(0x159)],_0x3d32a7['wEcpq'])&&_0x3d32a7['CfgAM'](_0x458046[_0x34be72(0x193)],_0x3d32a7['GrQBl'])){const _0x2e2a04={};_0x2e2a04['message']=_0x3d32a7[_0x34be72(0x100)],_0x2e2a04['stack']=_0x3d32a7['yrDZD'],_0x4ab801[_0x34be72(0x112)]=_0x2e2a04,_0x4ab801[_0x34be72(0x1a8)]=[_0x4ab801[_0x34be72(0x112)]];}}const _0x2fb89=this[_0x34be72(0x155)](_0x458046,_0x4ab801[_0x34be72(0x1ce)]);_0x25d78d[_0x34be72(0xfb)]=this[_0x34be72(0x143)][_0x2fb89];const {steps:_0x197d1d,logs:_0x5de15f}=this['getStepsAndLogs'](_0x4ab801[_0x34be72(0x1b7)],_0x4d73b8[_0x34be72(0x1cb)],_0x3d32a7[_0x34be72(0x163)]);await MyReporter['reportLogs'](_0x5de15f);const _0x2bc75f={};_0x2bc75f[_0x34be72(0x1b7)]=_0x197d1d,_0x25d78d['meta']=_0x2bc75f;if(_0x4ab801[_0x34be72(0x112)]){_0x25d78d['failure_reason']=_0x3d32a7['BhlMh'](removeAnsiColors,_0x4ab801[_0x34be72(0x112)]['message']),_0x25d78d[_0x34be72(0x150)]=_0x3d32a7[_0x34be72(0xea)](getFailureType,_0x4ab801[_0x34be72(0x112)][_0x34be72(0x19a)]);const _0x342fca={};_0x342fca[_0x34be72(0x1bc)]=_0x4d73b8[_0x34be72(0x1cb)];const {failureData:_0x956241,logs:_0x1a411b}=_0x3d32a7[_0x34be72(0x1d0)](getFailureData,_0x4ab801[_0x34be72(0x1a8)],_0x342fca);if(_0x956241&&_0x3d32a7[_0x34be72(0x15f)](_0x956241[_0x34be72(0x169)],0x0)){const _0xa28ae3={};_0xa28ae3['backtrace']=[_0x25d78d['failure_reason']],_0xa28ae3[_0x34be72(0x113)]=[],_0x956241['push'](_0xa28ae3);}_0x25d78d[_0x34be72(0x18e)]=_0x956241,_0x1a411b&&_0x3d32a7[_0x34be72(0xdc)](_0x1a411b[_0x34be72(0x169)],0x0)&&await MyReporter[_0x34be72(0x160)](_0x1a411b);}}let _0x4160a2=_0x3d32a7[_0x34be72(0x1d0)](findNestedKey,_0x4ab801,_0x3d32a7[_0x34be72(0xf9)]);if(_0x4160a2&&_0x3d32a7['nhfEV'](validateFilePath,_0x4160a2))_0x3d32a7['CPpDx'](debug,'Trace\x20file\x20found\x20for\x20test:\x20'+_0x4d73b8['uuid']+'\x20at\x20'+_0x4160a2);else{const _0x5e7bfb=path[_0x34be72(0x182)](helper['homedir'](),_0x3d32a7['eIGNS']);!fs[_0x34be72(0x11e)](_0x5e7bfb)&&fs[_0x34be72(0x173)](_0x5e7bfb),fs[_0x34be72(0x11e)](path[_0x34be72(0x182)](_0x5e7bfb,'trace_'+_0x4d73b8[_0x34be72(0x1cb)]+'.txt'))&&(_0x4160a2=fs[_0x34be72(0x154)](path[_0x34be72(0x182)](_0x5e7bfb,_0x34be72(0xdf)+_0x4d73b8['uuid']+_0x34be72(0x16d)),_0x3d32a7[_0x34be72(0x145)]),_0x3d32a7[_0x34be72(0x1cc)](debug,'Trace\x20file\x20found\x20for\x20test:\x20'+_0x4d73b8['uuid']+_0x34be72(0x17a)+_0x4160a2));}const _0x4721b8={};_0x4721b8['event_type']=_0x45812a,_0x4721b8[_0x34be72(0x138)]=_0x25d78d;const _0x2328bd=_0x4721b8;_0x4160a2&&_0x3d32a7[_0x34be72(0x10f)](_0x4160a2,'')&&_0x3d32a7[_0x34be72(0x162)](_0x45812a,_0x3d32a7['KyTpr'])&&(!_0x2328bd[_0x34be72(0x136)]&&(_0x2328bd[_0x34be72(0x136)]=[]),_0x4160a2['split']('\x0a')['forEach'](_0x5d0c56=>{const _0xd0b874=_0x34be72;_0x5d0c56&&_0x3d32a7['BhlMh'](validateFilePath,_0x5d0c56)&&_0x2328bd[_0xd0b874(0x136)][_0xd0b874(0x1d2)]({'kind':_0x3d32a7[_0xd0b874(0x172)],'timestamp':new Date()[_0xd0b874(0x164)](),'test_run_uuid':_0x4d73b8['uuid'],'file_name':path[_0xd0b874(0x1b1)](_0x5d0c56),'file_size':fs[_0xd0b874(0x1af)](_0x5d0c56)[_0xd0b874(0x1a1)],'attachment_type':_0x3d32a7[_0xd0b874(0xcf)]});})),await SessionHandler[_0x34be72(0x12f)](_0x2328bd);}[a41_0x59b999(0x1b8)](_0x2b779e){const _0x19e05d=a41_0x59b999,_0x213482={};_0x213482[_0x19e05d(0x178)]=function(_0x31c3b6,_0x2e56ac){return _0x31c3b6===_0x2e56ac;},_0x213482['dUHds']=function(_0x3fb625,_0x4e89ab){return _0x3fb625>_0x4e89ab;},_0x213482['jRmLK']=function(_0x441047,_0x595f7d){return _0x441047+_0x595f7d;},_0x213482[_0x19e05d(0x16c)]=function(_0x34a942,_0x386023){return _0x34a942+_0x386023;},_0x213482[_0x19e05d(0x17f)]=function(_0x15382b,_0x1bb094){return _0x15382b>_0x1bb094;},_0x213482['txAdn']=function(_0x54ee82,_0xe38300){return _0x54ee82+_0xe38300;},_0x213482[_0x19e05d(0x1a2)]=function(_0x5eed05,_0x127ff7){return _0x5eed05+_0x127ff7;};const _0x16a970=_0x213482,_0x2ca59e=_0x2b779e[_0x19e05d(0x16b)]()[_0x19e05d(0x10d)](_0x1dd040=>{const _0x437d65=_0x19e05d;if(_0x2b779e[_0x437d65(0x125)]&&_0x16a970[_0x437d65(0x178)](_0x1dd040,_0x2b779e[_0x437d65(0x125)][_0x437d65(0xeb)])&&_0x2b779e[_0x437d65(0x125)][_0x437d65(0xe2)]&&_0x16a970[_0x437d65(0x18b)](_0x2b779e[_0x437d65(0x125)][_0x437d65(0xe2)]['length'],0x0))return _0x16a970[_0x437d65(0x177)](_0x16a970[_0x437d65(0x16c)](_0x1dd040,'\x20'),_0x2b779e[_0x437d65(0x125)][_0x437d65(0xe2)]['join']('\x20'));if(_0x16a970[_0x437d65(0x178)](_0x1dd040,_0x2b779e['title'])&&_0x2b779e['_tags']&&_0x16a970[_0x437d65(0x17f)](_0x2b779e[_0x437d65(0xe2)][_0x437d65(0x169)],0x0))return _0x16a970[_0x437d65(0x168)](_0x16a970[_0x437d65(0x1a2)](_0x1dd040,'\x20'),_0x2b779e[_0x437d65(0xe2)][_0x437d65(0x182)]('\x20'));return _0x1dd040;})[_0x19e05d(0x182)]('\x20');return _0x2ca59e;}static async['sendSessionDetails'](_0x55024c,_0xcb8fc2){const _0x5aad4d=a41_0x59b999,_0x594fac={'eOkQX':function(_0x1ede5c,_0x42eed3){return _0x1ede5c(_0x42eed3);},'HrAfV':'CBTSessionCreated'},_0x251db7={'uuid':TestDetails['getTestUUID'](_0x55024c),'integrations':_0xcb8fc2},_0x25a621={};_0x25a621['depth']=null,_0x594fac[_0x5aad4d(0x1ba)](debug,_0x5aad4d(0xff)+_0x55024c+',\x20'+util['inspect'](_0xcb8fc2,_0x25a621));const _0x59b0f2={};_0x59b0f2[_0x5aad4d(0x19f)]=_0x594fac['HrAfV'],_0x59b0f2[_0x5aad4d(0x138)]=_0x251db7,await SessionHandler['uploadEventData'](_0x59b0f2);}async['configureGit'](){const _0x3dfe58=a41_0x59b999,_0x43bf21={'diYTN':function(_0x3ed722){return _0x3ed722();}};if(this[_0x3dfe58(0x18c)])return;const _0x53eefb=await _0x43bf21[_0x3dfe58(0x1ca)](getGitMetaData);_0x53eefb&&(this['_gitConfigPath']=_0x53eefb[_0x3dfe58(0x15a)]),this[_0x3dfe58(0x18c)]=!![];}[a41_0x59b999(0xf1)](_0x443c0c){const _0x380f35=a41_0x59b999,_0x2f3710={};_0x2f3710[_0x380f35(0x117)]=function(_0x2997ca,_0x3216ff){return _0x2997ca!==_0x3216ff;};const _0x444a2c=_0x2f3710,_0x35591e=[];if(_0x443c0c&&_0x443c0c[_0x380f35(0x125)]){let _0x3bedde=_0x443c0c[_0x380f35(0x125)];while(_0x3bedde&&_0x444a2c[_0x380f35(0x117)](_0x3bedde[_0x380f35(0xeb)],'')){_0x35591e[_0x380f35(0x1d2)](_0x3bedde[_0x380f35(0xeb)]),_0x3bedde=_0x3bedde[_0x380f35(0x125)];}}return _0x35591e['reverse']()[_0x380f35(0xe6)](0x0,0x2),_0x35591e;}['needToReportStep'](_0x293650){const _0x365a2=a41_0x59b999,_0x3d7ed9={};_0x3d7ed9[_0x365a2(0xfd)]=function(_0x4e0cf9,_0x7bb913){return _0x4e0cf9!==_0x7bb913;},_0x3d7ed9[_0x365a2(0x1c2)]=_0x365a2(0x183),_0x3d7ed9[_0x365a2(0x101)]=function(_0x41681c,_0x36f6ba){return _0x41681c===_0x36f6ba;},_0x3d7ed9[_0x365a2(0xe1)]=_0x365a2(0x151),_0x3d7ed9[_0x365a2(0xe0)]=_0x365a2(0x120),_0x3d7ed9[_0x365a2(0x135)]=_0x365a2(0x102),_0x3d7ed9[_0x365a2(0x189)]=_0x365a2(0x1ae);const _0x2cb9d5=_0x3d7ed9;if(_0x2cb9d5[_0x365a2(0xfd)](_0x293650[_0x365a2(0x1a4)],_0x2cb9d5[_0x365a2(0x1c2)]))return![];if(_0x2cb9d5[_0x365a2(0x101)]([_0x2cb9d5['LOSuQ'],_0x2cb9d5[_0x365a2(0xe0)],_0x2cb9d5[_0x365a2(0x135)],_0x2cb9d5[_0x365a2(0x189)]]['indexOf'](_0x293650[_0x365a2(0xeb)]),-0x1))return![];return!![];}[a41_0x59b999(0xd7)](_0x1e1c8f,_0x4f6074){const _0x11e380=a41_0x59b999,_0x39478b=_0x4f6074['_bs_hookIdentifier'];if(_0x39478b)return _0x39478b;return _0x4f6074['title']+_0x11e380(0x118)+this[_0x11e380(0x181)](_0x1e1c8f);}[a41_0x59b999(0x1cd)](_0x55e22b,_0x277ea4){const _0x441ff7=a41_0x59b999,_0x30507f={'uCYpz':function(_0x320b0a){return _0x320b0a();}};let _0x35f4a4=_0x277ea4['title']+_0x441ff7(0x118)+this['getTestIdentifier'](_0x55e22b);return this[_0x441ff7(0x192)][_0x35f4a4]&&(_0x35f4a4=_0x35f4a4+_0x441ff7(0x11b)+_0x30507f[_0x441ff7(0x144)](uuidv4)),_0x277ea4['_bs_hookIdentifier']=_0x35f4a4,_0x35f4a4;}[a41_0x59b999(0x181)]=_0x55143f=>{const _0x17f39d=a41_0x59b999,_0x51e89a={};_0x51e89a[_0x17f39d(0x10c)]=function(_0x18abd3,_0x5f0970){return _0x18abd3+_0x5f0970;},_0x51e89a[_0x17f39d(0x158)]=function(_0x4aaea8,_0xea826f){return _0x4aaea8+_0xea826f;};const _0x1ac486=_0x51e89a;return _0x1ac486['kNcsI'](_0x1ac486['dafLB'](_0x55143f[_0x17f39d(0x13d)],'-'),_0x55143f['id']);};[a41_0x59b999(0x155)]=(_0xc9b246,_0x57323e)=>{const _0x5c8230=a41_0x59b999,_0x1a786c={};_0x1a786c[_0x5c8230(0x114)]=function(_0x19f3c8,_0x41b9db){return _0x19f3c8+_0x41b9db;},_0x1a786c[_0x5c8230(0x16e)]=function(_0x251fa4,_0xaf6ff7){return _0x251fa4+_0xaf6ff7;};const _0x1756c9=_0x1a786c;return _0x1756c9['bEKxw'](_0x1756c9[_0x5c8230(0x16e)](this['getTestIdentifier'](_0xc9b246),'-'),_0x57323e);};[a41_0x59b999(0x165)]=_0x172a59=>{const _0x2f3cb3=a41_0x59b999,_0x3c0e55={};_0x3c0e55['MedPZ']=_0x2f3cb3(0x151),_0x3c0e55[_0x2f3cb3(0xef)]=_0x2f3cb3(0xfe),_0x3c0e55['wEolS']='beforeAll\x20hook',_0x3c0e55[_0x2f3cb3(0xd1)]=_0x2f3cb3(0xd3),_0x3c0e55[_0x2f3cb3(0x186)]='afterEach\x20hook',_0x3c0e55[_0x2f3cb3(0xce)]=_0x2f3cb3(0x171),_0x3c0e55['ObbAl']=_0x2f3cb3(0x102),_0x3c0e55[_0x2f3cb3(0x156)]=_0x2f3cb3(0xe8),_0x3c0e55[_0x2f3cb3(0x130)]=_0x2f3cb3(0x185);const _0x3febf2=_0x3c0e55;if(_0x172a59['startsWith'](_0x3febf2[_0x2f3cb3(0x1c7)]))return _0x3febf2[_0x2f3cb3(0xef)];else{if(_0x172a59[_0x2f3cb3(0x103)](_0x3febf2[_0x2f3cb3(0x1c9)]))return _0x3febf2[_0x2f3cb3(0xd1)];else{if(_0x172a59[_0x2f3cb3(0x103)](_0x3febf2[_0x2f3cb3(0x186)]))return _0x3febf2[_0x2f3cb3(0xce)];else{if(_0x172a59['startsWith'](_0x3febf2[_0x2f3cb3(0x1a0)]))return _0x3febf2[_0x2f3cb3(0x156)];}}}return _0x3febf2[_0x2f3cb3(0x130)];};[a41_0x59b999(0x19d)]=_0x370273=>{const _0x4fc539=a41_0x59b999,_0x5f5c78={};_0x5f5c78[_0x4fc539(0x1a3)]=function(_0x10922e,_0x291ca2){return _0x10922e===_0x291ca2;},_0x5f5c78[_0x4fc539(0x175)]=_0x4fc539(0x190);const _0x3e5224=_0x5f5c78;let _0x16bd2c=_0x370273[_0x4fc539(0x125)];return _0x3e5224[_0x4fc539(0x1a3)](typeof _0x370273[_0x4fc539(0x125)],_0x3e5224[_0x4fc539(0x175)])&&(_0x16bd2c=_0x16bd2c[_0x4fc539(0xeb)]),_0x16bd2c+_0x4fc539(0x11b)+_0x370273[_0x4fc539(0xeb)];};[a41_0x59b999(0x1d1)](){return![];}}module[a41_0x59b999(0x110)]=o11yClassErrorHandler(MyReporter,[a41_0x59b999(0x107),a41_0x59b999(0x149),a41_0x59b999(0x14d),a41_0x59b999(0x1cf),a41_0x59b999(0x180),'onStepEnd',a41_0x59b999(0x179)],a41_0x59b999(0x184));function a41_0x1103(){const _0x167041=['gxnzf','TIEHI','txAdn','length','MoMJX','titlePath','OgjIR','.txt','XmKnv','logLevel','dmYqh','AFTER_EACH','kpcYu','mkdirSync','BROWSERSTACK_TEST_RUN_ID','PMudB','1561rnwfNU','jRmLK','Kyvxn','sendSessionDetails','\x20at\x20','BROWSERSTACK_LOG_LEVEL','../../../helpers/testhub/testhubHandler','finishedAt','attachments','XyOtH','onStepBegin','getTestIdentifier','join','hook','MyReporter','unknown','AAwbr','Error\x20in\x20sending\x20trace\x20zip:\x20%s','../../../helpers/test-observability/error-handler','LDWEc','OwLpM','dUHds','_gitConfigured','../../../helpers/test-observability/utils','failure','mtime','object','hook_run','_tests','expectedStatus','.browserstack','TfwMl','wEcpq','../../../helpers/test-observability/requestQueueHandler','UiDtK','failed','message','223287FSQwWZ','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','getScope','env','event_type','ObbAl','size','uKiLy','LxFdC','category','\x20is\x20triggered\x20for\x20test\x20','Hook\x20Started\x20with\x20unique\x20id\x20','../../../helpers/test-observability/constants','errors','nMGkx','BcyJt','ztMvq','gtufU','startedAt','afterEach\x20hook','statSync','KQlCS','basename','zHRNX','Hook\x20Finished\x20with\x20unique\x20id\x20','shutdown','retry_of','EDICw','steps','getCustomRerunParam','\x20is\x20triggered','eOkQX','getInstance','test_run_uuid','DnRhy','KyTpr','17581685LUIbkc','START_TIME','pending','fErZL','YCVeN','NoyoP','dfeek','path','MedPZ','eqPtq','wEolS','diYTN','uuid','CPpDx','setStepIdentifier','retry','onTestEnd','mYAed','printsToStdio','push','PLAYWRIGHT','FwoIN','LAJaS','../../../helpers/helper','gpNQh','file','BEFORE_ALL','TestRunFinished','backtrace','wPSGj','getStepIdentifier','filter','../../../helpers/performance/performance-tester','vrkMM','getStepsAndLogs','eOGVG','GJmHz','test','trace_','lzITA','LOSuQ','_tags','VaJRa','failure_reason','util','splice','AYgPW','AFTER_ALL','utf8','WNbUJ','title','TEST_ATTACHMENT','KkGna','10515224JJlBJn','qUxws','TestRunStarted','getHierarchy','RukNw','screenshot','tRPoA','PLAYWRIGHT_TRACE_LOGS','AohDJ','result','performance-report-reporter.json','jrEET','QuFwr','hooks','base64','oSAqY','BEFORE_EACH','Sending\x20session\x20details\x20for\x20','yrDZD','YAlqs','afterAll\x20hook','startsWith','3651138ZRhKRT','GrQBl','zFHsB','onBegin','fZACj','cwd','Before\x20Hooks','BROWSERSTACK_O11Y_PERF_MEASUREMENT','kNcsI','map','ihZcD','oQPWj','exports','40512RAjtZo','error','expanded','bEKxw','_gitConfigPath','javascript','faAMl','\x20for\x20','hook_run_uuid','8bCqBwV','\x20-\x20','lEXoN','gMfZG','existsSync','wQIgh','beforeAll\x20hook','configureGit','Test\x20Finished\x20with\x20unique\x20id\x20','30dyGfbQ','toString','parent','Expected\x20to\x20fail,\x20but\x20passed.','Hivno','../../../helpers/test-observability/sessionHandler','format','gaWfL','58ATyTgj','0|2|6|1|5|4|3','RwJQb','sendHookRunEvent','uploadEventData','lnzwE','timedOut','OAqeP','relative','HymZY','DnLJr','logs','AIIzo','test_run','sendTestRunEvent','Cgjyq','KbnGD','skipped','_projectId','options','ThMLV','AfFCz','getTestUUID','HookRunFinished','_testHooksMap','uCYpz','TVRpO','1100740qINDVD','duration','cpKJI','endSession','location','qfsty','Error\x20in\x20calculating\x20performance:\x20','onTestBegin','gIimj','TEqTy','failure_type','beforeEach\x20hook','vhUkG','passed','readFileSync','getTestRunIdentifier','Pxdhu','startTime','dafLB','status','root','Test\x20Started\x20with\x20unique\x20id\x20','22502Mjnykl','aqVYE','bXppL','zKwtx','reportLogs','addTestUIDAndReportLog','BPVMZ','jsHyP','toISOString','getHookType'];a41_0x1103=function(){return _0x167041;};return a41_0x1103();}
1
+ const a41_0x4634ac=a41_0x452c;(function(_0x21e9c9,_0xe36223){const _0x45bd15=a41_0x452c,_0x174b3e=_0x21e9c9();while(!![]){try{const _0x566933=parseInt(_0x45bd15(0x1f2))/0x1+-parseInt(_0x45bd15(0x1a3))/0x2*(parseInt(_0x45bd15(0x263))/0x3)+-parseInt(_0x45bd15(0x240))/0x4+parseInt(_0x45bd15(0x1cd))/0x5+-parseInt(_0x45bd15(0x1d7))/0x6+-parseInt(_0x45bd15(0x1fe))/0x7+parseInt(_0x45bd15(0x184))/0x8;if(_0x566933===_0xe36223)break;else _0x174b3e['push'](_0x174b3e['shift']());}catch(_0x2bc9da){_0x174b3e['push'](_0x174b3e['shift']());}}}(a41_0x4d42,0xc924d));const RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath}=require(a41_0x4634ac(0x212)),{v4:uuidv4}=require('uuid'),path=require('path'),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a41_0x4634ac(0x242)),{getGitMetaData,setLogLevel}=require('../../../helpers/helper'),TestDetails=require(a41_0x4634ac(0x1d0)),fs=require('fs'),util=require('util'),{o11yClassErrorHandler}=require(a41_0x4634ac(0x258)),PerformanceTester=require(a41_0x4634ac(0x1e2)),{FRAMEWORKS}=require(a41_0x4634ac(0x191)),SessionHandler=require(a41_0x4634ac(0x1eb)),{appendTesthubParams}=require('../../../helpers/testhub/utils'),TestHubHandler=require(a41_0x4634ac(0x267)),helper=require(a41_0x4634ac(0x1a8));class MyReporter{constructor(_0x4ec4ac){const _0x1095e9=a41_0x4634ac,_0x3c1fc4={'vHQoD':_0x1095e9(0x1b6),'aryau':_0x1095e9(0x1f1),'ZgyiY':function(_0x2a1c2d,_0x5d74a5,_0x432a48,_0x515260){return _0x2a1c2d(_0x5d74a5,_0x432a48,_0x515260);}},_0x1ae0cf=_0x3c1fc4['vHQoD']['split']('|');let _0x215870=0x0;while(!![]){switch(_0x1ae0cf[_0x215870++]){case'0':this[_0x1095e9(0x1e9)]=_0x4ec4ac;continue;case'1':this[_0x1095e9(0x181)]={};continue;case'2':this[_0x1095e9(0x21e)]={};continue;case'3':this[_0x1095e9(0x1f9)]=![];continue;case'4':process[_0x1095e9(0x1d8)][_0x1095e9(0x1ea)]&&(PerformanceTester[_0x1095e9(0x247)](_0x3c1fc4['aryau']),process[_0x1095e9(0x1d8)][_0x1095e9(0x244)]=new Date()['toISOString']());continue;case'5':this[_0x1095e9(0x22b)]=null;continue;case'6':const _0x1ad3c5={};_0x1ad3c5[_0x1095e9(0x1e0)]=process[_0x1095e9(0x1d8)][_0x1095e9(0x252)],_0x3c1fc4[_0x1095e9(0x1a2)](setLogLevel,_0x1ad3c5,new Map(),new Map());continue;}break;}}async[a41_0x4634ac(0x1a9)](){const _0x19c75f=a41_0x4634ac;TestDetails[_0x19c75f(0x17f)](),await this['configureGit']();}async[a41_0x4634ac(0x276)](_0x5ce77b,_0x237100){const _0x4b8c7c=a41_0x4634ac,_0x4f3e3d={'JLAuE':function(_0x3e7e0c,_0x23b3de){return _0x3e7e0c(_0x23b3de);},'swQSG':_0x4b8c7c(0x237)},_0x43c968=this[_0x4b8c7c(0x227)](_0x5ce77b),_0x18ee14=TestDetails[_0x4b8c7c(0x18d)](this[_0x4b8c7c(0x17b)](_0x5ce77b,_0x237100[_0x4b8c7c(0x19c)]));process[_0x4b8c7c(0x1d8)][_0x4b8c7c(0x1b7)]=_0x18ee14;const _0x53659a={};_0x53659a[_0x4b8c7c(0x21d)]=_0x18ee14,_0x53659a['startedAt']=_0x237100[_0x4b8c7c(0x1bc)],this[_0x4b8c7c(0x21e)][_0x43c968]=_0x53659a,_0x4f3e3d[_0x4b8c7c(0x20c)](trace,_0x4b8c7c(0x238)+_0x43c968),await this[_0x4b8c7c(0x1ce)](_0x5ce77b,_0x4f3e3d[_0x4b8c7c(0x1ec)],_0x237100);}async[a41_0x4634ac(0x1a0)](_0x1e516f,_0x43bd60,_0x431699){const _0x1b84b9=a41_0x4634ac,_0x21acf9={'wPVbv':function(_0x2e7e42,_0x922103){return _0x2e7e42(_0x922103);},'nNlYO':_0x1b84b9(0x1a4)};if(!this[_0x1b84b9(0x255)](_0x431699,_0x1e516f))return;const _0xf26bc6=this[_0x1b84b9(0x25c)](_0x1e516f,_0x431699);this[_0x1b84b9(0x21e)][_0xf26bc6]={'uuid':TestDetails[_0x1b84b9(0x18d)](_0xf26bc6),'startedAt':_0x431699[_0x1b84b9(0x1bc)][_0x1b84b9(0x22c)]()};const _0x675812=this[_0x1b84b9(0x17b)](_0x1e516f,_0x43bd60[_0x1b84b9(0x19c)]);!this[_0x1b84b9(0x181)][_0x675812]&&(this[_0x1b84b9(0x181)][_0x675812]=[]),this['_testHooksMap'][_0x675812][_0x1b84b9(0x19e)](this[_0x1b84b9(0x21e)][_0xf26bc6]['uuid']),_0x21acf9['wPVbv'](trace,_0x1b84b9(0x1c9)+_0xf26bc6+_0x1b84b9(0x26f)+_0x675812),await this['sendHookRunEvent'](_0x1e516f,_0x431699,_0x21acf9[_0x1b84b9(0x1d1)],_0x43bd60);}async[a41_0x4634ac(0x273)](_0x45400f,_0x4d0446,_0x36c952){const _0x54a044=a41_0x4634ac,_0x2e1de3={'yYTaL':function(_0x4e7755,_0x4f3512){return _0x4e7755+_0x4f3512;},'GpaDV':function(_0x31d3c9,_0xb57848){return _0x31d3c9(_0xb57848);},'KvyRc':_0x54a044(0x1d3)};if(!this[_0x54a044(0x255)](_0x36c952,_0x45400f))return;const _0x21d8af=this[_0x54a044(0x20a)](_0x45400f,_0x36c952);this['_tests'][_0x21d8af]={...this['_tests'][_0x21d8af]||{},'finishedAt':new Date(_0x2e1de3[_0x54a044(0x234)](_0x36c952[_0x54a044(0x1bc)][_0x54a044(0x18e)](),_0x36c952[_0x54a044(0x1aa)]))},_0x2e1de3[_0x54a044(0x269)](trace,'Hook\x20Finished\x20with\x20unique\x20id\x20'+_0x21d8af+_0x54a044(0x1cc)),await this[_0x54a044(0x210)](_0x45400f,_0x36c952,_0x2e1de3[_0x54a044(0x1bb)],_0x4d0446);}async[a41_0x4634ac(0x1bd)](_0x459552,_0x349738){const _0x268956=a41_0x4634ac,_0x31c506={'WmjbS':function(_0x28aa8d,_0x311c09){return _0x28aa8d===_0x311c09;},'nLQCe':_0x268956(0x262),'GVuEp':_0x268956(0x214),'FaVbh':_0x268956(0x1e5),'hnUPw':function(_0x2a7a2c,_0x4f7d4c){return _0x2a7a2c(_0x4f7d4c);},'JzAbb':'TestRunFinished','ttWkJ':'Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','RMEKD':function(_0x503ef3,_0x20e40f,_0x5b959d){return _0x503ef3(_0x20e40f,_0x5b959d);},'CYzKO':function(_0x36371c,_0x512bf6){return _0x36371c(_0x512bf6);},'VICux':'Error\x20in\x20sending\x20trace\x20zip:\x20%s','SAxRj':function(_0x4d561e,_0x37848c){return _0x4d561e>_0x37848c;}},_0x1ba3dd=this[_0x268956(0x227)](_0x459552),_0x1713d7=TestDetails[_0x268956(0x18d)](this['getTestRunIdentifier'](_0x459552,_0x349738[_0x268956(0x19c)]));this[_0x268956(0x21e)][_0x1ba3dd]={...this[_0x268956(0x21e)][_0x1ba3dd]||{},'finishedAt':new Date()[_0x268956(0x22c)]()},_0x31c506[_0x268956(0x271)](trace,_0x268956(0x1ba)+_0x1ba3dd);try{await this[_0x268956(0x1ce)](_0x459552,_0x31c506[_0x268956(0x1bf)],_0x349738);}catch(_0x505e2b){_0x31c506[_0x268956(0x271)](debug,util[_0x268956(0x1b2)](_0x31c506['ttWkJ'],_0x505e2b[_0x268956(0x21f)]()));}try{_0x31c506[_0x268956(0x271)](debug,_0x268956(0x192)+_0x1713d7),await _0x31c506[_0x268956(0x25e)](sendTraceZip,_0x349738,_0x1713d7);}catch(_0x22bd4d){_0x31c506[_0x268956(0x18b)](debug,util['format'](_0x31c506['VICux'],_0x22bd4d['toString']()));}const _0xa6baf5=[];_0x349738[_0x268956(0x17c)]&&_0x349738['attachments'][_0x268956(0x1b4)](_0x4fa37d=>{const _0x486e77=_0x268956;if(_0x31c506['WmjbS'](_0x4fa37d[_0x486e77(0x1dd)],_0x31c506[_0x486e77(0x20f)])){if(!_0x4fa37d[_0x486e77(0x1c7)]||!fs[_0x486e77(0x231)](_0x4fa37d[_0x486e77(0x1c7)]))return;_0xa6baf5[_0x486e77(0x19e)]({'test_run_uuid':_0x1713d7,'timestamp':fs['statSync'](_0x4fa37d[_0x486e77(0x1c7)])[_0x486e77(0x1f5)],'kind':_0x31c506[_0x486e77(0x1db)],'message':fs[_0x486e77(0x22e)](_0x4fa37d['path'],{'encoding':_0x31c506['FaVbh']})});}}),_0x31c506[_0x268956(0x204)](_0xa6baf5[_0x268956(0x1e3)],0x0)&&await MyReporter['reportLogs'](_0xa6baf5);}async[a41_0x4634ac(0x265)](){const _0x5ea7c6=a41_0x4634ac;await RequestQueueHandler[_0x5ea7c6(0x21b)]()[_0x5ea7c6(0x219)]();}async[a41_0x4634ac(0x1a6)](_0x385153){const _0x50b613=a41_0x4634ac,_0x486be9={'KFOzZ':function(_0x5056c8){return _0x5056c8();},'JbneY':function(_0x2ae6ef,_0x399cf0){return _0x2ae6ef(_0x399cf0);}};await this[_0x50b613(0x265)]();try{process[_0x50b613(0x1d8)][_0x50b613(0x1ea)]&&await _0x486be9[_0x50b613(0x264)](calculatePerformance);}catch(_0x3f6b17){_0x486be9[_0x50b613(0x1b5)](debug,_0x50b613(0x195)+_0x3f6b17[_0x50b613(0x21f)]());}}static async['addTestUIDAndReportLog'](_0x3c090c,_0x5a7db7){const _0x1f0ca5=a41_0x4634ac;_0x5a7db7[_0x1f0ca5(0x1be)]=TestDetails[_0x1f0ca5(0x18d)](_0x3c090c),await this[_0x1f0ca5(0x205)]([_0x5a7db7]);}static async[a41_0x4634ac(0x205)](_0xdc1167){const _0x45c290=a41_0x4634ac,_0x281ad5={};_0x281ad5[_0x45c290(0x23a)]=_0x45c290(0x257);const _0x76c5ed=_0x281ad5,_0x2163c7={};_0x2163c7[_0x45c290(0x1e8)]=_0x76c5ed[_0x45c290(0x23a)],_0x2163c7[_0x45c290(0x254)]=_0xdc1167,await SessionHandler[_0x45c290(0x1b1)](_0x2163c7);}async['sendHookRunEvent'](_0x4e62d2,_0x426dd7,_0x49af00,_0x308e6c){const _0x51427f=a41_0x4634ac,_0x1a5fcc={'Toofo':_0x51427f(0x236),'tLZgI':_0x51427f(0x183),'RLhbs':'pending','cmCDJ':function(_0x33091f,_0x1b2e30){return _0x33091f>=_0x1b2e30;},'wdGyR':function(_0x40cd2e,_0xcf2883){return _0x40cd2e===_0xcf2883;},'uAeJI':_0x51427f(0x1d3),'SckwI':function(_0x263ef5,_0x39a505){return _0x263ef5>_0x39a505;},'qdUip':_0x51427f(0x241),'iLUOF':function(_0x10cd7f,_0xb39bbd){return _0x10cd7f(_0xb39bbd);},'Jhccg':function(_0x7c7c1,_0x57e2a4){return _0x7c7c1(_0x57e2a4);},'XDaHS':function(_0x1e4465,_0x3b5d5a,_0x189d21){return _0x1e4465(_0x3b5d5a,_0x189d21);},'ylpgK':_0x51427f(0x213),'doTSy':_0x51427f(0x1c6)},_0x2308c0=this[_0x51427f(0x20a)](_0x4e62d2,_0x426dd7),_0x11bc1d=this[_0x51427f(0x21e)][_0x2308c0],_0x306605={'uuid':_0x11bc1d[_0x51427f(0x21d)],'type':_0x1a5fcc[_0x51427f(0x1e1)],'hook_type':this[_0x51427f(0x203)](_0x426dd7[_0x51427f(0x194)]),'name':_0x426dd7['title'],'scope':this['getScope'](_0x426dd7),'scopes':this[_0x51427f(0x19d)](_0x4e62d2),'body':{'lang':_0x1a5fcc[_0x51427f(0x1df)],'code':null},'identifier':_0x2308c0,'file_name':path['relative'](process['cwd'](),_0x4e62d2['location'][_0x51427f(0x220)]),'location':path[_0x51427f(0x19b)](process['cwd'](),_0x4e62d2['location']['file']),'result':_0x1a5fcc[_0x51427f(0x211)],'duration_in_ms':_0x1a5fcc['cmCDJ'](_0x426dd7['duration'],0x0)?_0x426dd7['duration']:undefined,'vc_filepath':this['_gitConfigPath']&&_0x4e62d2['location']['file']?path[_0x51427f(0x19b)](this[_0x51427f(0x22b)],_0x4e62d2['location']['file']):undefined,'started_at':_0x11bc1d[_0x51427f(0x249)],'finished_at':_0x11bc1d[_0x51427f(0x17e)],'framework':FRAMEWORKS[_0x51427f(0x1c4)]};if(_0x1a5fcc[_0x51427f(0x1c3)](_0x49af00,_0x1a5fcc['uAeJI'])){const {steps:_0x3fab5b,logs:_0x276f83}=this['getStepsAndLogs'](_0x426dd7[_0x51427f(0x180)],_0x11bc1d['uuid'],_0x1a5fcc[_0x51427f(0x1e1)]);_0x276f83&&_0x1a5fcc[_0x51427f(0x1ef)](_0x276f83['length'],0x0)&&await MyReporter[_0x51427f(0x205)](_0x276f83);const _0x4390e8={};_0x4390e8[_0x51427f(0x180)]=_0x3fab5b,_0x306605[_0x51427f(0x1fb)]=_0x4390e8;if(_0x426dd7[_0x51427f(0x243)]){_0x306605[_0x51427f(0x1ed)]=_0x1a5fcc['qdUip'],_0x306605[_0x51427f(0x197)]=_0x1a5fcc[_0x51427f(0x19f)](removeAnsiColors,_0x426dd7[_0x51427f(0x243)][_0x51427f(0x24c)]),_0x306605[_0x51427f(0x235)]=_0x1a5fcc[_0x51427f(0x256)](getFailureType,_0x426dd7[_0x51427f(0x243)][_0x51427f(0x24c)]);const _0xf49c4=_0x1a5fcc[_0x51427f(0x202)](failureData,_0x426dd7[_0x51427f(0x243)],_0x1a5fcc[_0x51427f(0x196)]);if(_0xf49c4&&_0x1a5fcc[_0x51427f(0x1c3)](_0xf49c4['length'],0x0)){const _0x2c0494={};_0x2c0494[_0x51427f(0x222)]=[_0x306605[_0x51427f(0x197)]],_0x2c0494['expanded']=[],_0xf49c4[_0x51427f(0x19e)](_0x2c0494);}_0x306605[_0x51427f(0x187)]=_0xf49c4;}else _0x306605['result']=_0x1a5fcc[_0x51427f(0x225)];}const _0x2344c6={};_0x2344c6[_0x51427f(0x1e8)]=_0x49af00,_0x2344c6[_0x51427f(0x1b8)]=_0x306605;const _0x40b50f=_0x2344c6;await SessionHandler[_0x51427f(0x1b1)](_0x40b50f);}[a41_0x4634ac(0x1c1)](_0x101383,_0x39c3b1,_0x3d3fe3){const _0x221cea=a41_0x4634ac,_0x476a45={'FuUga':function(_0x3c018a,_0x16dd27){return _0x3c018a===_0x16dd27;},'qpNCA':_0x221cea(0x236),'bCvXV':function(_0x204c37,_0x46af8f){return _0x204c37===_0x46af8f;},'rZAZx':_0x221cea(0x179),'oYdrS':_0x221cea(0x21c),'nKBKd':_0x221cea(0x20b),'wuDbp':_0x221cea(0x1be),'EsFis':_0x221cea(0x1e4),'AFnuC':'TEST_STEP','RrFfS':'failed','HhpLJ':_0x221cea(0x1c6),'TSCyo':function(_0x5cdba1,_0x53cb75){return _0x5cdba1(_0x53cb75);},'CEfgt':function(_0x43ae2b){return _0x43ae2b();},'QuAXP':function(_0x25e68e,_0xd2a215){return _0x25e68e(_0xd2a215);},'fvNNt':function(_0x208ddb,_0x2cd5f3,_0xa47523){return _0x208ddb(_0x2cd5f3,_0xa47523);},'niiRL':function(_0x4ee3dc,_0x48a624,_0x453977){return _0x4ee3dc(_0x48a624,_0x453977);}},_0x468518=[],_0x1ad694=[],_0x3da56d=_0x101383['filter'](_0x15269e=>{const _0x97e40b=_0x221cea;if(_0x476a45[_0x97e40b(0x1d4)](_0x15269e['category'],_0x476a45[_0x97e40b(0x198)])&&(_0x476a45[_0x97e40b(0x275)](_0x15269e[_0x97e40b(0x194)],_0x476a45[_0x97e40b(0x1f8)])||_0x476a45[_0x97e40b(0x1d4)](_0x15269e['title'],_0x476a45[_0x97e40b(0x1a1)])))return![];return!![];}),_0x499dad=(_0x4c49c9,_0x2df083=![])=>{const _0x239b0d=_0x221cea;if(_0x476a45[_0x239b0d(0x1d4)](_0x4c49c9[_0x239b0d(0x180)][_0x239b0d(0x1e3)],0x0)){const _0x586f35=_0x476a45[_0x239b0d(0x1d4)](_0x3d3fe3,_0x476a45['nKBKd'])?_0x476a45[_0x239b0d(0x1c2)]:_0x476a45['EsFis'];_0x1ad694[_0x239b0d(0x19e)]({'kind':_0x476a45[_0x239b0d(0x1d9)],[_0x586f35]:_0x39c3b1,'message':_0x4c49c9['title'],'timestamp':_0x4c49c9[_0x239b0d(0x1bc)][_0x239b0d(0x22c)](),'level':_0x4c49c9[_0x239b0d(0x243)]?_0x476a45[_0x239b0d(0x24f)]:_0x476a45[_0x239b0d(0x230)],'duration':_0x4c49c9[_0x239b0d(0x1aa)],'failure':_0x4c49c9[_0x239b0d(0x243)]&&_0x4c49c9[_0x239b0d(0x243)][_0x239b0d(0x24c)]&&_0x476a45['TSCyo'](removeAnsiColors,_0x4c49c9[_0x239b0d(0x243)][_0x239b0d(0x24c)]),'failure_type':_0x476a45[_0x239b0d(0x25f)](getFailureType,_0x4c49c9['error']&&_0x4c49c9[_0x239b0d(0x243)]['message'])});}else{!_0x2df083&&_0x468518[_0x239b0d(0x19e)]({'id':_0x476a45['CEfgt'](uuidv4),'text':_0x4c49c9[_0x239b0d(0x194)],'keyword':undefined,'started_at':_0x4c49c9[_0x239b0d(0x1bc)]['toISOString'](),'duration':_0x4c49c9[_0x239b0d(0x1aa)],'result':_0x4c49c9[_0x239b0d(0x243)]?_0x476a45[_0x239b0d(0x24f)]:_0x476a45['HhpLJ'],'failure':_0x4c49c9[_0x239b0d(0x243)]&&_0x4c49c9['error'][_0x239b0d(0x24c)]&&_0x476a45['QuAXP'](removeAnsiColors,_0x4c49c9[_0x239b0d(0x243)]['message']),'failure_type':_0x476a45[_0x239b0d(0x216)](getFailureType,_0x4c49c9[_0x239b0d(0x243)]&&_0x4c49c9[_0x239b0d(0x243)]['message'])});for(const _0x1e1e02 of _0x4c49c9[_0x239b0d(0x180)]){_0x476a45[_0x239b0d(0x1f3)](_0x499dad,_0x1e1e02,!![]);}}};for(const _0xccf685 of _0x3da56d){_0x476a45[_0x221cea(0x1ca)](_0x499dad,_0xccf685,![]);}const _0x57f9f8={};return _0x57f9f8['steps']=_0x468518,_0x57f9f8[_0x221cea(0x254)]=_0x1ad694,_0x57f9f8;}async[a41_0x4634ac(0x1ce)](_0x4bfd4e,_0x50380c,_0x60cd5d){const _0x7df349=a41_0x4634ac,_0x54ea25={'pRrOw':function(_0x31ff0e,_0x2927eb){return _0x31ff0e(_0x2927eb);},'tLzgD':'TEST_ATTACHMENT','zYwnw':_0x7df349(0x209),'alnOT':_0x7df349(0x20b),'ueJdj':_0x7df349(0x183),'uVzdx':'pending','smphE':function(_0x32c707,_0x4d22f2){return _0x32c707(_0x4d22f2);},'nMLAo':function(_0x4020b3,_0x9b26cd,_0x470853,_0x2d2b3c,_0x4ad8b5){return _0x4020b3(_0x9b26cd,_0x470853,_0x2d2b3c,_0x4ad8b5);},'XAeXK':function(_0x425d41,_0x4d067b){return _0x425d41>_0x4d067b;},'Sydbh':function(_0x516bba,_0x2047a9){return _0x516bba-_0x2047a9;},'rBRMy':function(_0x5c4094,_0x15054b){return _0x5c4094===_0x15054b;},'auFtQ':_0x7df349(0x223),'urecu':function(_0x28052f,_0x162efc){return _0x28052f===_0x162efc;},'CsOul':_0x7df349(0x206),'HSsuo':_0x7df349(0x1c6),'XJDZY':function(_0x2e2024,_0x4f75ad){return _0x2e2024===_0x4f75ad;},'ZslCf':_0x7df349(0x241),'VmUUt':function(_0x3a8342,_0x3fc838){return _0x3a8342===_0x3fc838;},'MEtTK':'timedOut','YDvrt':function(_0x3c6266,_0x230557){return _0x3c6266===_0x230557;},'qNNGJ':function(_0x650434,_0x44afec){return _0x650434===_0x44afec;},'PvyLD':_0x7df349(0x1a5),'HgRIS':function(_0x1bffb6,_0x9748d7,_0x3436c0){return _0x1bffb6(_0x9748d7,_0x3436c0);},'IiSzD':'path','bRFEI':function(_0x4b677f,_0x4e8e5a){return _0x4b677f(_0x4e8e5a);},'bcNAm':_0x7df349(0x1ad),'vpmuw':_0x7df349(0x1d2),'oGfrv':function(_0xdf1c0c,_0x2cd628){return _0xdf1c0c(_0x2cd628);},'qUcLg':function(_0x27ba36,_0x5229f8){return _0x27ba36!==_0x5229f8;}},_0x17dbbe=this[_0x7df349(0x227)](_0x4bfd4e),_0x2328bd=this[_0x7df349(0x20d)](_0x4bfd4e),_0x3c760f=this['_tests'][_0x17dbbe],_0x59e32e=path['relative'](process[_0x7df349(0x1b3)](),_0x4bfd4e[_0x7df349(0x218)]['file']);await this[_0x7df349(0x1ac)]();const _0x4c6f7a={'uuid':_0x3c760f['uuid'],'type':_0x54ea25[_0x7df349(0x226)],'name':_0x4bfd4e[_0x7df349(0x194)],'body':{'lang':_0x54ea25[_0x7df349(0x1b9)],'code':_0x4bfd4e['fn']['toString']()},'scope':_0x2328bd,'scopes':this[_0x7df349(0x19d)](_0x4bfd4e),'identifier':_0x17dbbe,'file_name':_0x59e32e,'location':_0x59e32e,'result':_0x54ea25[_0x7df349(0x178)],'duration_in_ms':_0x60cd5d&&_0x60cd5d[_0x7df349(0x1aa)]?_0x60cd5d[_0x7df349(0x1aa)]:null,'vc_filepath':this[_0x7df349(0x22b)]&&_0x4bfd4e[_0x7df349(0x218)][_0x7df349(0x220)]?path[_0x7df349(0x19b)](this[_0x7df349(0x22b)],_0x4bfd4e[_0x7df349(0x218)]['file']):undefined,'started_at':_0x3c760f[_0x7df349(0x249)],'finished_at':_0x3c760f['finishedAt'],'framework':FRAMEWORKS[_0x7df349(0x1c4)],'customRerunParam':{'rerun_name':this[_0x7df349(0x232)](_0x4bfd4e)},'tags':_0x54ea25[_0x7df349(0x22a)](getTestTags,_0x4bfd4e)};_0x54ea25[_0x7df349(0x246)](appendTesthubParams,_0x4c6f7a,_0x50380c,_0x4bfd4e,FRAMEWORKS[_0x7df349(0x1c4)]);_0x60cd5d&&_0x54ea25[_0x7df349(0x23f)](_0x60cd5d[_0x7df349(0x19c)],0x0)&&(_0x4c6f7a[_0x7df349(0x186)]=TestDetails[_0x7df349(0x18d)](this[_0x7df349(0x17b)](_0x4bfd4e,_0x54ea25['Sydbh'](_0x60cd5d[_0x7df349(0x19c)],0x1))));if(_0x54ea25[_0x7df349(0x24d)](_0x50380c,_0x54ea25[_0x7df349(0x1ae)])){_0x4c6f7a[_0x7df349(0x1ed)]=_0x60cd5d[_0x7df349(0x245)];if(_0x54ea25[_0x7df349(0x19a)](_0x60cd5d[_0x7df349(0x245)],_0x4bfd4e[_0x7df349(0x253)]))_0x4c6f7a[_0x7df349(0x1ed)]=_0x54ea25[_0x7df349(0x24d)](_0x60cd5d[_0x7df349(0x245)],_0x54ea25['CsOul'])?_0x54ea25['CsOul']:_0x54ea25['HSsuo'];else{(_0x54ea25['urecu'](_0x4c6f7a['result'],_0x54ea25[_0x7df349(0x24e)])||_0x54ea25[_0x7df349(0x1d6)](_0x4c6f7a['result'],_0x54ea25['ZslCf'])||_0x54ea25[_0x7df349(0x217)](_0x4c6f7a[_0x7df349(0x1ed)],_0x54ea25[_0x7df349(0x1af)]))&&(_0x4c6f7a[_0x7df349(0x1ed)]=_0x54ea25[_0x7df349(0x22f)]);if(_0x54ea25['YDvrt'](_0x60cd5d[_0x7df349(0x245)],_0x54ea25[_0x7df349(0x24e)])&&_0x54ea25[_0x7df349(0x24a)](_0x4bfd4e[_0x7df349(0x253)],_0x54ea25[_0x7df349(0x22f)])){const _0x20377d={};_0x20377d[_0x7df349(0x24c)]=_0x54ea25[_0x7df349(0x274)],_0x20377d[_0x7df349(0x259)]=_0x54ea25[_0x7df349(0x274)],_0x60cd5d[_0x7df349(0x243)]=_0x20377d,_0x60cd5d[_0x7df349(0x23c)]=[_0x60cd5d[_0x7df349(0x243)]];}}const _0x59e309=this[_0x7df349(0x17b)](_0x4bfd4e,_0x60cd5d[_0x7df349(0x19c)]);_0x4c6f7a['hooks']=this[_0x7df349(0x181)][_0x59e309];const {steps:_0x2775e1,logs:_0x35a4b5}=this['getStepsAndLogs'](_0x60cd5d[_0x7df349(0x180)],_0x3c760f[_0x7df349(0x21d)],_0x54ea25[_0x7df349(0x226)]);await MyReporter[_0x7df349(0x205)](_0x35a4b5);const _0x1745e8={};_0x1745e8[_0x7df349(0x180)]=_0x2775e1,_0x4c6f7a[_0x7df349(0x1fb)]=_0x1745e8;if(_0x60cd5d[_0x7df349(0x243)]){_0x4c6f7a[_0x7df349(0x197)]=_0x54ea25[_0x7df349(0x22a)](removeAnsiColors,_0x60cd5d[_0x7df349(0x243)][_0x7df349(0x24c)]),_0x4c6f7a[_0x7df349(0x235)]=_0x54ea25[_0x7df349(0x22a)](getFailureType,_0x60cd5d['error'][_0x7df349(0x24c)]);const _0x1d4007={};_0x1d4007[_0x7df349(0x1be)]=_0x3c760f['uuid'];const {failureData:_0x342f29,logs:_0x43e37b}=_0x54ea25[_0x7df349(0x228)](getFailureData,_0x60cd5d[_0x7df349(0x23c)],_0x1d4007);if(_0x342f29&&_0x54ea25[_0x7df349(0x24a)](_0x342f29[_0x7df349(0x1e3)],0x0)){const _0x491c45={};_0x491c45[_0x7df349(0x222)]=[_0x4c6f7a[_0x7df349(0x197)]],_0x491c45[_0x7df349(0x215)]=[],_0x342f29[_0x7df349(0x19e)](_0x491c45);}_0x4c6f7a['failure']=_0x342f29,_0x43e37b&&_0x54ea25[_0x7df349(0x23f)](_0x43e37b[_0x7df349(0x1e3)],0x0)&&await MyReporter[_0x7df349(0x205)](_0x43e37b);}}let _0x49ae5e=_0x54ea25[_0x7df349(0x228)](findNestedKey,_0x60cd5d,_0x54ea25[_0x7df349(0x1f0)]);if(_0x49ae5e&&_0x54ea25[_0x7df349(0x250)](validateFilePath,_0x49ae5e))_0x54ea25['pRrOw'](debug,_0x7df349(0x1ff)+_0x3c760f['uuid']+_0x7df349(0x24b)+_0x49ae5e);else{const _0x3bce80=path[_0x7df349(0x26d)](helper['homedir'](),_0x54ea25[_0x7df349(0x182)]);!fs[_0x7df349(0x231)](_0x3bce80)&&fs['mkdirSync'](_0x3bce80),fs[_0x7df349(0x231)](path[_0x7df349(0x26d)](_0x3bce80,_0x7df349(0x177)+_0x3c760f[_0x7df349(0x21d)]+_0x7df349(0x270)))&&(_0x49ae5e=fs[_0x7df349(0x22e)](path[_0x7df349(0x26d)](_0x3bce80,'trace_'+_0x3c760f['uuid']+_0x7df349(0x270)),_0x54ea25[_0x7df349(0x23b)]),_0x54ea25[_0x7df349(0x248)](debug,_0x7df349(0x1ff)+_0x3c760f[_0x7df349(0x21d)]+_0x7df349(0x24b)+_0x49ae5e));}const _0x55c6ea={};_0x55c6ea['event_type']=_0x50380c,_0x55c6ea['test_run']=_0x4c6f7a;const _0x5e1fe9=_0x55c6ea;_0x49ae5e&&_0x54ea25[_0x7df349(0x224)](_0x49ae5e,'')&&_0x54ea25[_0x7df349(0x19a)](_0x50380c,_0x54ea25['auFtQ'])&&(!_0x5e1fe9[_0x7df349(0x254)]&&(_0x5e1fe9[_0x7df349(0x254)]=[]),_0x49ae5e[_0x7df349(0x1fa)]('\x0a')[_0x7df349(0x1f7)](_0x1d3d24=>{const _0x3ad6bd=_0x7df349;_0x1d3d24&&_0x54ea25[_0x3ad6bd(0x193)](validateFilePath,_0x1d3d24)&&_0x5e1fe9[_0x3ad6bd(0x254)][_0x3ad6bd(0x19e)]({'kind':_0x54ea25[_0x3ad6bd(0x1ee)],'timestamp':new Date()[_0x3ad6bd(0x22c)](),'test_run_uuid':_0x3c760f[_0x3ad6bd(0x21d)],'file_name':path[_0x3ad6bd(0x18f)](_0x1d3d24),'file_size':fs[_0x3ad6bd(0x20e)](_0x1d3d24)[_0x3ad6bd(0x26b)],'attachment_type':_0x54ea25['zYwnw']});})),await SessionHandler[_0x7df349(0x1b1)](_0x5e1fe9);}['getCustomRerunParam'](_0x2417a3){const _0x246446=a41_0x4634ac,_0x31eb0f={};_0x31eb0f[_0x246446(0x188)]=function(_0x401163,_0x5288c6){return _0x401163===_0x5288c6;},_0x31eb0f[_0x246446(0x207)]=function(_0x4e49a3,_0x526290){return _0x4e49a3>_0x526290;},_0x31eb0f[_0x246446(0x18c)]=function(_0x1605a5,_0x51e44a){return _0x1605a5+_0x51e44a;},_0x31eb0f[_0x246446(0x25d)]=function(_0xef0192,_0x5bddd8){return _0xef0192+_0x5bddd8;},_0x31eb0f['fkcHh']=function(_0x348b3c,_0x229d56){return _0x348b3c>_0x229d56;},_0x31eb0f[_0x246446(0x22d)]=function(_0x3fbd74,_0x2a4085){return _0x3fbd74+_0x2a4085;},_0x31eb0f[_0x246446(0x23e)]=function(_0x46d03d,_0xa73185){return _0x46d03d+_0xa73185;};const _0x22d734=_0x31eb0f,_0x132e5e=_0x2417a3[_0x246446(0x1ab)]()[_0x246446(0x1b4)](_0x41714e=>{const _0x452b9f=_0x246446;if(_0x2417a3[_0x452b9f(0x1d5)]&&_0x22d734[_0x452b9f(0x188)](_0x41714e,_0x2417a3[_0x452b9f(0x1d5)][_0x452b9f(0x194)])&&_0x2417a3[_0x452b9f(0x1d5)][_0x452b9f(0x1a7)]&&_0x22d734[_0x452b9f(0x207)](_0x2417a3['parent']['_tags'][_0x452b9f(0x1e3)],0x0))return _0x22d734[_0x452b9f(0x18c)](_0x22d734[_0x452b9f(0x25d)](_0x41714e,'\x20'),_0x2417a3[_0x452b9f(0x1d5)][_0x452b9f(0x1a7)]['join']('\x20'));if(_0x22d734[_0x452b9f(0x188)](_0x41714e,_0x2417a3[_0x452b9f(0x194)])&&_0x2417a3[_0x452b9f(0x1a7)]&&_0x22d734[_0x452b9f(0x261)](_0x2417a3[_0x452b9f(0x1a7)][_0x452b9f(0x1e3)],0x0))return _0x22d734['ippxV'](_0x22d734[_0x452b9f(0x23e)](_0x41714e,'\x20'),_0x2417a3[_0x452b9f(0x1a7)][_0x452b9f(0x26d)]('\x20'));return _0x41714e;})['join']('\x20');return _0x132e5e;}static async[a41_0x4634ac(0x1cf)](_0x1f1132,_0x507e12){const _0x137509=a41_0x4634ac,_0x1605b9={'WCsxs':function(_0x5a7571,_0x3385e0){return _0x5a7571(_0x3385e0);},'slbiA':'CBTSessionCreated'},_0x542038={'uuid':TestDetails[_0x137509(0x18d)](_0x1f1132),'integrations':_0x507e12},_0x1275f7={};_0x1275f7['depth']=null,_0x1605b9['WCsxs'](debug,_0x137509(0x201)+_0x1f1132+',\x20'+util['inspect'](_0x507e12,_0x1275f7));const _0x51b0d1={};_0x51b0d1['event_type']=_0x1605b9['slbiA'],_0x51b0d1[_0x137509(0x185)]=_0x542038,await SessionHandler[_0x137509(0x1b1)](_0x51b0d1);}async[a41_0x4634ac(0x1ac)](){const _0x4fdc06=a41_0x4634ac,_0xb7f109={'PraGX':function(_0x2b463f){return _0x2b463f();}};if(this['_gitConfigured'])return;const _0x247ee6=await _0xb7f109['PraGX'](getGitMetaData);_0x247ee6&&(this[_0x4fdc06(0x22b)]=_0x247ee6['root']),this[_0x4fdc06(0x1f9)]=!![];}[a41_0x4634ac(0x19d)](_0x38565d){const _0x4f1169=a41_0x4634ac,_0x41b00d={};_0x41b00d[_0x4f1169(0x1c5)]=function(_0x34b77,_0x4dddbe){return _0x34b77!==_0x4dddbe;};const _0x425a21=_0x41b00d,_0x4e34c1=[];if(_0x38565d&&_0x38565d[_0x4f1169(0x1d5)]){let _0x5ec117=_0x38565d[_0x4f1169(0x1d5)];while(_0x5ec117&&_0x425a21[_0x4f1169(0x1c5)](_0x5ec117[_0x4f1169(0x194)],'')){_0x4e34c1[_0x4f1169(0x19e)](_0x5ec117[_0x4f1169(0x194)]),_0x5ec117=_0x5ec117['parent'];}}return _0x4e34c1[_0x4f1169(0x239)]()[_0x4f1169(0x208)](0x0,0x2),_0x4e34c1;}[a41_0x4634ac(0x255)](_0x2a9c9f){const _0x3f2d8a=a41_0x4634ac,_0x182822={};_0x182822['ieCpl']=function(_0x37e88c,_0x4e7e0f){return _0x37e88c!==_0x4e7e0f;},_0x182822['OsJds']=_0x3f2d8a(0x236),_0x182822[_0x3f2d8a(0x189)]=function(_0x53d72e,_0x5a1fb3){return _0x53d72e===_0x5a1fb3;},_0x182822[_0x3f2d8a(0x23d)]=_0x3f2d8a(0x190),_0x182822['wTrXd']=_0x3f2d8a(0x1f4),_0x182822[_0x3f2d8a(0x1fd)]=_0x3f2d8a(0x26c),_0x182822['dMrCq']=_0x3f2d8a(0x233);const _0x47304b=_0x182822;if(_0x47304b[_0x3f2d8a(0x25a)](_0x2a9c9f[_0x3f2d8a(0x1c8)],_0x47304b[_0x3f2d8a(0x268)]))return![];if(_0x47304b[_0x3f2d8a(0x189)]([_0x47304b[_0x3f2d8a(0x23d)],_0x47304b[_0x3f2d8a(0x21a)],_0x47304b[_0x3f2d8a(0x1fd)],_0x47304b['dMrCq']][_0x3f2d8a(0x272)](_0x2a9c9f[_0x3f2d8a(0x194)]),-0x1))return![];return!![];}[a41_0x4634ac(0x20a)](_0x12dede,_0x2407a9){const _0x3b1283=a41_0x4634ac,_0x31dd49=_0x2407a9['_bs_hookIdentifier'];if(_0x31dd49)return _0x31dd49;return _0x2407a9[_0x3b1283(0x194)]+_0x3b1283(0x199)+this[_0x3b1283(0x227)](_0x12dede);}[a41_0x4634ac(0x25c)](_0x23676f,_0x115738){const _0x1383c5=a41_0x4634ac,_0x279664={'ocPQG':function(_0x4161e9){return _0x4161e9();}};let _0x4b00db=_0x115738['title']+_0x1383c5(0x199)+this[_0x1383c5(0x227)](_0x23676f);return this[_0x1383c5(0x21e)][_0x4b00db]&&(_0x4b00db=_0x4b00db+_0x1383c5(0x1de)+_0x279664['ocPQG'](uuidv4)),_0x115738['_bs_hookIdentifier']=_0x4b00db,_0x4b00db;}[a41_0x4634ac(0x227)]=_0x55bf4c=>{const _0x37ecdd=a41_0x4634ac,_0x3d952c={};_0x3d952c[_0x37ecdd(0x1cb)]=function(_0x1d7f59,_0x57c334){return _0x1d7f59+_0x57c334;},_0x3d952c['SJstf']=function(_0x1a0135,_0x2728b6){return _0x1a0135+_0x2728b6;};const _0x4b20bc=_0x3d952c;return _0x4b20bc[_0x37ecdd(0x1cb)](_0x4b20bc[_0x37ecdd(0x200)](_0x55bf4c[_0x37ecdd(0x260)],'-'),_0x55bf4c['id']);};['getTestRunIdentifier']=(_0x1c4249,_0x20227a)=>{const _0x4a190e=a41_0x4634ac,_0x47601e={};_0x47601e[_0x4a190e(0x1fc)]=function(_0x19ff40,_0xe2b604){return _0x19ff40+_0xe2b604;},_0x47601e[_0x4a190e(0x17a)]=function(_0x2d6f2d,_0xfa2dbf){return _0x2d6f2d+_0xfa2dbf;};const _0x481910=_0x47601e;return _0x481910[_0x4a190e(0x1fc)](_0x481910[_0x4a190e(0x17a)](this[_0x4a190e(0x227)](_0x1c4249),'-'),_0x20227a);};[a41_0x4634ac(0x203)]=_0x4fca14=>{const _0x8d513=a41_0x4634ac,_0x409510={};_0x409510['WIXHX']=_0x8d513(0x190),_0x409510[_0x8d513(0x1e7)]='BEFORE_EACH',_0x409510['uiTZb']='beforeAll\x20hook',_0x409510[_0x8d513(0x266)]=_0x8d513(0x1b0),_0x409510[_0x8d513(0x26e)]='afterEach\x20hook',_0x409510[_0x8d513(0x229)]=_0x8d513(0x1e6),_0x409510[_0x8d513(0x25b)]=_0x8d513(0x26c),_0x409510[_0x8d513(0x18a)]=_0x8d513(0x1dc),_0x409510['gCSHC']=_0x8d513(0x17d);const _0x1a099c=_0x409510;if(_0x4fca14[_0x8d513(0x1da)](_0x1a099c['WIXHX']))return _0x1a099c[_0x8d513(0x1e7)];else{if(_0x4fca14[_0x8d513(0x1da)](_0x1a099c[_0x8d513(0x251)]))return _0x1a099c[_0x8d513(0x266)];else{if(_0x4fca14[_0x8d513(0x1da)](_0x1a099c[_0x8d513(0x26e)]))return _0x1a099c[_0x8d513(0x229)];else{if(_0x4fca14['startsWith'](_0x1a099c['LGSSH']))return _0x1a099c[_0x8d513(0x18a)];}}}return _0x1a099c[_0x8d513(0x1f6)];};['getScope']=_0x43bb22=>{const _0x48f053=a41_0x4634ac,_0x22ce60={};_0x22ce60['gtbml']=function(_0x2d9863,_0x38f4c2){return _0x2d9863===_0x38f4c2;},_0x22ce60[_0x48f053(0x1c0)]=_0x48f053(0x221);const _0x4c81c9=_0x22ce60;let _0x290289=_0x43bb22[_0x48f053(0x1d5)];return _0x4c81c9['gtbml'](typeof _0x43bb22[_0x48f053(0x1d5)],_0x4c81c9[_0x48f053(0x1c0)])&&(_0x290289=_0x290289[_0x48f053(0x194)]),_0x290289+_0x48f053(0x1de)+_0x43bb22[_0x48f053(0x194)];};['printsToStdio'](){return![];}}function a41_0x452c(_0x4b9015,_0x14e9ae){const _0x4d4232=a41_0x4d42();return a41_0x452c=function(_0x452c33,_0x3ef04b){_0x452c33=_0x452c33-0x177;let _0x4d9028=_0x4d4232[_0x452c33];return _0x4d9028;},a41_0x452c(_0x4b9015,_0x14e9ae);}function a41_0x4d42(){const _0x5dbf3c=['\x20-\x20','tLZgI','logLevel','Toofo','../../../helpers/performance/performance-tester','length','hook_run_uuid','base64','AFTER_EACH','NRlEM','event_type','options','BROWSERSTACK_O11Y_PERF_MEASUREMENT','../../../helpers/test-observability/sessionHandler','swQSG','result','tLzgD','SckwI','IiSzD','performance-report-reporter.json','1200884RHjfwy','fvNNt','beforeAll\x20hook','mtime','gCSHC','forEach','rZAZx','_gitConfigured','split','meta','UiZeu','OaRLB','6503217kKOSNH','Trace\x20file\x20found\x20for\x20test:\x20','SJstf','Sending\x20session\x20details\x20for\x20','XDaHS','getHookType','SAxRj','reportLogs','skipped','AFZGL','splice','PLAYWRIGHT_TRACE_LOGS','getStepIdentifier','test','JLAuE','getScope','statSync','nLQCe','sendHookRunEvent','RLhbs','./pwUtils','err','TEST_SCREENSHOT','expanded','QuAXP','VmUUt','location','shutdown','wTrXd','getInstance','Before\x20Hooks','uuid','_tests','toString','file','object','backtrace','TestRunFinished','qUcLg','doTSy','alnOT','getTestIdentifier','HgRIS','XZctd','smphE','_gitConfigPath','toISOString','ippxV','readFileSync','ZslCf','HhpLJ','existsSync','getCustomRerunParam','afterEach\x20hook','yYTaL','failure_type','hook','TestRunStarted','Test\x20Started\x20with\x20unique\x20id\x20','reverse','hckYx','vpmuw','errors','AsNtT','HfdNK','XAeXK','5376172ifeKNb','failed','../../../helpers/test-observability/utils','error','START_TIME','status','nMLAo','startMonitoring','oGfrv','startedAt','qNNGJ','\x20at\x20','message','rBRMy','HSsuo','RrFfS','bRFEI','uiTZb','BROWSERSTACK_LOG_LEVEL','expectedStatus','logs','needToReportStep','Jhccg','LogCreated','../../../helpers/test-observability/error-handler','stack','ieCpl','LGSSH','setStepIdentifier','rhCJg','RMEKD','TSCyo','_projectId','fkcHh','screenshot','2839509fKcPLZ','KFOzZ','endSession','uFDXl','../../../helpers/testhub/testhubHandler','OsJds','GpaDV','MyReporter','size','afterAll\x20hook','join','oQlID','\x20is\x20triggered\x20for\x20test\x20','.txt','hnUPw','indexOf','onStepEnd','PvyLD','bCvXV','onTestBegin','trace_','uVzdx','After\x20Hooks','HLBUP','getTestRunIdentifier','attachments','unknown','finishedAt','setup','steps','_testHooksMap','bcNAm','javascript','23096664mqkSJb','test_run','retry_of','failure','JZscC','ayuSi','hkvtE','CYzKO','DWDxc','getTestUUID','getTime','basename','beforeEach\x20hook','../../../helpers/test-observability/constants','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','pRrOw','title','Error\x20in\x20calculating\x20performance:\x20','ylpgK','failure_reason','qpNCA','\x20for\x20','urecu','relative','retry','getHierarchy','push','iLUOF','onStepBegin','oYdrS','ZgyiY','2KfEohK','HookRunStarted','Expected\x20to\x20fail,\x20but\x20passed.','onEnd','_tags','../../../helpers/helper','onBegin','duration','titlePath','configureGit','.browserstack','auFtQ','MEtTK','BEFORE_ALL','uploadEventData','format','cwd','map','JbneY','6|4|2|1|0|3|5','BROWSERSTACK_TEST_RUN_ID','hook_run','ueJdj','Test\x20Finished\x20with\x20unique\x20id\x20','KvyRc','startTime','onTestEnd','test_run_uuid','JzAbb','nEtcE','getStepsAndLogs','wuDbp','wdGyR','PLAYWRIGHT','kBLOF','passed','path','category','Hook\x20Started\x20with\x20unique\x20id\x20','niiRL','bKYgQ','\x20is\x20triggered','3507990ajlqGz','sendTestRunEvent','sendSessionDetails','./test-details','nNlYO','utf8','HookRunFinished','FuUga','parent','XJDZY','4476618fVwMJu','env','AFnuC','startsWith','GVuEp','AFTER_ALL','name'];a41_0x4d42=function(){return _0x5dbf3c;};return a41_0x4d42();}module['exports']=o11yClassErrorHandler(MyReporter,[a41_0x4634ac(0x1a9),'endSession',a41_0x4634ac(0x276),a41_0x4634ac(0x1bd),a41_0x4634ac(0x1a0),a41_0x4634ac(0x273),a41_0x4634ac(0x1cf)],a41_0x4634ac(0x26a));
@@ -1 +1 @@
1
- const a42_0x2f9e61=a42_0x5cbb;(function(_0x498c3f,_0x29fdde){const _0x2dacbd=a42_0x5cbb,_0x2aa95f=_0x498c3f();while(!![]){try{const _0x35b4b0=parseInt(_0x2dacbd(0x8b))/0x1+-parseInt(_0x2dacbd(0x87))/0x2+-parseInt(_0x2dacbd(0xb3))/0x3+parseInt(_0x2dacbd(0xa8))/0x4+parseInt(_0x2dacbd(0xdb))/0x5+-parseInt(_0x2dacbd(0x9f))/0x6+parseInt(_0x2dacbd(0xbd))/0x7;if(_0x35b4b0===_0x29fdde)break;else _0x2aa95f['push'](_0x2aa95f['shift']());}catch(_0x2b8222){_0x2aa95f['push'](_0x2aa95f['shift']());}}}(a42_0x15bc,0x5599c));function a42_0x5cbb(_0x2456c1,_0x136c5a){const _0x15bcfd=a42_0x15bc();return a42_0x5cbb=function(_0x5cbbfb,_0x52563d){_0x5cbbfb=_0x5cbbfb-0x86;let _0x4f68db=_0x15bcfd[_0x5cbbfb];return _0x4f68db;},a42_0x5cbb(_0x2456c1,_0x136c5a);}function a42_0x15bc(){const _0x2cefd0=['getProjectIdFromTestInfo','pkpXs','SoKFh','setup','_projectId','RsMMg','testId','trace_','appendToTracePaths','setAccessibilityPlatformValidation','.txt','qKpDU','RLqNa','../../../helpers/helper','_test','getStoreDirName','recursive','BTark','existsSync','dirPath','atRhr','tests','2475680IqaxSa','NPHTn','fbyVV','.browserstack','HxIMV','path','Error\x20reading\x20trace\x20file\x20paths:\x20%s','getTestUUID','../../../helpers/logger','util','setTestDetails','pid','lvuCA','eItmT','message','782760NTwOTx','join','_platformDetails.json','traceZipPaths','166627MDSwVv','split','getAccessibilityPlatformValidation','uwMHW','uuid','some','format','traceZipDir','getTestDetails','filePath','retry','values','pjoJN','cwd','stringify','forEach','vgnwD','getTraceFilePaths','getStoreDirPath','parse','944424qSqTZC','exports','KZgLY','winstonLogger','shutdown','.json','xBwiZ','vQsrm','_traceZipPaths.json','2503288amirKl','readFileSync','mkdirSync','endsWith','toString','dBkha','BgtoH','BS_TESTOPS_BUILD_HASHED_ID','__projectId','getTestIdFromTestInfo','getTestRunIdFromTestInfo','1891188wfczFf','axxWK','addTraceFilePath','writeFileSync','push','env','default','error','GGvvr','sErui','1695505DBtPnS','getTraceZipDir','rmSync','3|2|0|1|4','force','Error\x20writing\x20trace\x20file:\x20','getFilePath','../../../helpers/test-observability/constants'];a42_0x15bc=function(){return _0x2cefd0;};return a42_0x15bc();}const fs=require('fs'),path=require(a42_0x2f9e61(0xe0)),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require(a42_0x2f9e61(0xc4)),{nestedKeyValue}=require(a42_0x2f9e61(0xd2)),logger=require(a42_0x2f9e61(0xe3))[a42_0x2f9e61(0xa2)],util=require(a42_0x2f9e61(0xe4)),helper=require(a42_0x2f9e61(0xd2));class TestDetails{static [a42_0x2f9e61(0xda)]={};static [a42_0x2f9e61(0xd8)]=path[a42_0x2f9e61(0x88)](process[a42_0x2f9e61(0x98)](),TestDetails[a42_0x2f9e61(0xd4)]());static [a42_0x2f9e61(0x92)]=path[a42_0x2f9e61(0x88)](TestDetails['dirPath'],'traceZipPaths');static[a42_0x2f9e61(0xc8)](){const _0x150498=a42_0x2f9e61,_0x4b7961={};_0x4b7961[_0x150498(0xa1)]=_0x150498(0xc0),_0x4b7961[_0x150498(0x8e)]='traceZipPaths';const _0x316cc7=_0x4b7961,_0x4ac4a8=_0x316cc7['KZgLY'][_0x150498(0x8c)]('|');let _0x20ce40=0x0;while(!![]){switch(_0x4ac4a8[_0x20ce40++]){case'0':this[_0x150498(0xa3)]();continue;case'1':const _0x2ad19c={};_0x2ad19c[_0x150498(0xd5)]=!![],fs[_0x150498(0xaa)](this[_0x150498(0xd8)],_0x2ad19c);continue;case'2':this[_0x150498(0x92)]=path[_0x150498(0x88)](this['dirPath'],_0x316cc7['uwMHW']);continue;case'3':this[_0x150498(0xd8)]=path[_0x150498(0x88)](process[_0x150498(0x98)](),TestDetails['getStoreDirName']());continue;case'4':const _0x409216={};_0x409216[_0x150498(0xd5)]=!![],fs[_0x150498(0xaa)](this[_0x150498(0x92)],_0x409216);continue;}break;}}static[a42_0x2f9e61(0xd4)](){const _0x4c524c=a42_0x2f9e61,_0x15c7c4={};_0x15c7c4[_0x4c524c(0xdd)]=function(_0x139c2b,_0x381632){return _0x139c2b+_0x381632;},_0x15c7c4['lvuCA']=function(_0x445aa8,_0x3835f6){return _0x445aa8+_0x3835f6;};const _0x231f18=_0x15c7c4;return _0x231f18['fbyVV'](_0x231f18[_0x4c524c(0xe7)](TEMP_STORE_DIR_NAME,'-'),process['env'][_0x4c524c(0xaf)]);}static[a42_0x2f9e61(0x9d)](){const _0x4d3133=a42_0x2f9e61,_0x1f4ba4={};_0x1f4ba4[_0x4d3133(0xdf)]=function(_0x5eafa8,_0x2bda24){return _0x5eafa8+_0x2bda24;},_0x1f4ba4[_0x4d3133(0xbb)]=function(_0xf1c880,_0x96d531){return _0xf1c880+_0x96d531;},_0x1f4ba4['ZzyqR']=_0x4d3133(0xb9);const _0x19ac52=_0x1f4ba4;return path[_0x4d3133(0x88)](process[_0x4d3133(0x98)](),_0x19ac52[_0x4d3133(0xdf)](_0x19ac52[_0x4d3133(0xbb)](TEMP_STORE_DIR_NAME,'-'),process[_0x4d3133(0xb8)]['BS_TESTOPS_BUILD_HASHED_ID']||_0x19ac52['ZzyqR']));}static['getTraceZipDir'](){const _0x58a204=a42_0x2f9e61,_0x4702a6={};_0x4702a6['eItmT']=_0x58a204(0x8a);const _0xee39fb=_0x4702a6;return path['join'](this[_0x58a204(0x9d)](),_0xee39fb[_0x58a204(0xe8)]);}static[a42_0x2f9e61(0xc3)](_0xf30d41){const _0x4caf71=a42_0x2f9e61,_0x40d229={};_0x40d229[_0x4caf71(0xd6)]=function(_0x304d89,_0x3d74a9){return _0x304d89+_0x3d74a9;},_0x40d229['pkpXs']=_0x4caf71(0xa4);const _0x4bf0ce=_0x40d229;return path[_0x4caf71(0x88)](this[_0x4caf71(0xd8)],_0x4bf0ce['BTark'](_0xf30d41,_0x4bf0ce[_0x4caf71(0xc6)]));}static[a42_0x2f9e61(0xb2)](_0x14b9c8){const _0xcd7297=a42_0x2f9e61,_0x2b0b49={};_0x2b0b49['sErui']=function(_0x110e41,_0x524e85){return _0x110e41+_0x524e85;};const _0x1907c3=_0x2b0b49;return _0x1907c3[_0xcd7297(0xbc)](_0x1907c3[_0xcd7297(0xbc)](_0x1907c3['sErui'](_0x1907c3[_0xcd7297(0xbc)](this[_0xcd7297(0xc5)](_0x14b9c8),'-'),this[_0xcd7297(0xb1)](_0x14b9c8)),'-'),_0x14b9c8[_0xcd7297(0x95)]);}static['getProjectIdFromTestInfo'](_0x52531b){const _0x4bb612=a42_0x2f9e61,_0x53fe4a={'Wotqp':function(_0x2db2db,_0x1352d1,_0xc8cbe8){return _0x2db2db(_0x1352d1,_0xc8cbe8);},'BgtoH':'_test','SoKFh':_0x4bb612(0xc9),'xBwiZ':'project','vgnwD':_0x4bb612(0xb0)};return _0x53fe4a['Wotqp'](nestedKeyValue,_0x52531b,[_0x53fe4a[_0x4bb612(0xae)],_0x53fe4a[_0x4bb612(0xc7)]])||_0x53fe4a['Wotqp'](nestedKeyValue,_0x52531b,[_0x53fe4a[_0x4bb612(0xa5)],_0x53fe4a[_0x4bb612(0x9b)]]);}static[a42_0x2f9e61(0xb1)](_0x1052ba){const _0x2a7043=a42_0x2f9e61,_0x8b443e={'qKpDU':function(_0x322a6c,_0x167890,_0x15ec28){return _0x322a6c(_0x167890,_0x15ec28);},'RLqNa':_0x2a7043(0xd3)};return _0x8b443e[_0x2a7043(0xd0)](nestedKeyValue,_0x1052ba,[_0x8b443e[_0x2a7043(0xd1)],'id'])||_0x1052ba[_0x2a7043(0xcb)];}static[a42_0x2f9e61(0xe2)](_0x40611d){const _0x29258f=a42_0x2f9e61,_0x532ca5={'axxWK':function(_0x3e7431,_0xa378d2){return _0x3e7431===_0xa378d2;},'AjEWd':'string','dBkha':function(_0x40f031){return _0x40f031();}};if(this[_0x29258f(0xda)][_0x40611d]&&_0x532ca5[_0x29258f(0xb4)](typeof this[_0x29258f(0xda)][_0x40611d][_0x29258f(0x8f)],_0x532ca5['AjEWd']))return this[_0x29258f(0xda)][_0x40611d]['uuid'];const _0x47b9d4=this[_0x29258f(0xc3)](_0x40611d);if(_0x47b9d4&&fs[_0x29258f(0xd7)](_0x47b9d4)){const _0x225e2c=JSON[_0x29258f(0x9e)](fs[_0x29258f(0xa9)](_0x47b9d4)['toString']());return this[_0x29258f(0xda)][_0x40611d]=_0x225e2c,this['tests'][_0x40611d][_0x29258f(0x8f)];}return this[_0x29258f(0xda)][_0x40611d]={'uuid':_0x532ca5[_0x29258f(0xad)](uuidv4)},fs[_0x29258f(0xb6)](_0x47b9d4,JSON[_0x29258f(0x99)](this[_0x29258f(0xda)][_0x40611d])),this[_0x29258f(0xda)][_0x40611d][_0x29258f(0x8f)];}static[a42_0x2f9e61(0x8d)](_0x462c13){const _0x35bacc=a42_0x2f9e61,_0x2ccc6d=path[_0x35bacc(0x88)](this[_0x35bacc(0xd8)],_0x462c13+'_platformDetails.json');if(_0x2ccc6d&&fs['existsSync'](_0x2ccc6d))return fs[_0x35bacc(0xa9)](_0x2ccc6d)[_0x35bacc(0xac)]();}static[a42_0x2f9e61(0xce)](_0x272279,_0x3aa997){const _0x196419=a42_0x2f9e61,_0x557107=path[_0x196419(0x88)](this['dirPath'],_0x3aa997+_0x196419(0x89));fs[_0x196419(0xb6)](_0x557107,_0x272279[_0x196419(0xac)]());}static[a42_0x2f9e61(0xa3)](){const _0x28fc1b=a42_0x2f9e61,_0x10d01d={};_0x10d01d[_0x28fc1b(0xd5)]=!![],_0x10d01d[_0x28fc1b(0xc1)]=!![],fs[_0x28fc1b(0xbf)](this[_0x28fc1b(0xd8)],_0x10d01d);}static[a42_0x2f9e61(0x93)](_0x5e58f8){const _0x28ad0b=a42_0x2f9e61;if(this[_0x28ad0b(0xda)][_0x5e58f8])return this[_0x28ad0b(0xda)][_0x5e58f8];const _0x16b887=this['getFilePath'](_0x5e58f8);if(_0x16b887&&fs[_0x28ad0b(0xd7)](_0x16b887)){const _0x12150b=JSON[_0x28ad0b(0x9e)](fs['readFileSync'](_0x16b887)[_0x28ad0b(0xac)]());return this['tests'][_0x5e58f8]=_0x12150b,_0x12150b;}return{};}static[a42_0x2f9e61(0xe5)](_0x4018de,_0x23f3cc){const _0x5773e2=a42_0x2f9e61,_0x28b2c8=this[_0x5773e2(0xc3)](_0x4018de);if(_0x28b2c8&&fs[_0x5773e2(0xd7)](_0x28b2c8)){const _0xa85f3e=JSON[_0x5773e2(0x9e)](fs[_0x5773e2(0xa9)](_0x28b2c8)[_0x5773e2(0xac)]()),_0x4a1c4c={..._0xa85f3e,..._0x23f3cc};this[_0x5773e2(0xda)][_0x4018de]=_0x4a1c4c;}else this['tests'][_0x4018de]=_0x23f3cc;fs[_0x5773e2(0xb6)](_0x28b2c8,this[_0x5773e2(0xda)][_0x4018de]);}static[a42_0x2f9e61(0xb5)](_0x541e34){const _0x4d7470=a42_0x2f9e61,_0x3ac404={};_0x3ac404[_0x4d7470(0xca)]='Error\x20handling\x20trace\x20file\x20paths:\x20';const _0x5bbf18=_0x3ac404;try{const _0x1c52b3=process[_0x4d7470(0xe6)],_0x4c71ac=path[_0x4d7470(0x88)](TestDetails[_0x4d7470(0xbe)](),_0x1c52b3+_0x4d7470(0xa7));let _0x4623ad=[];_0x4c71ac&&fs['existsSync'](_0x4c71ac)&&(_0x4623ad=JSON[_0x4d7470(0x9e)](fs['readFileSync'](_0x4c71ac)[_0x4d7470(0xac)]())),!_0x4623ad[_0x4d7470(0x90)](_0x4c8617=>_0x4c8617[_0x4d7470(0x94)]===_0x541e34[_0x4d7470(0x94)])&&(_0x4623ad['push'](_0x541e34),fs['writeFileSync'](_0x4c71ac,JSON[_0x4d7470(0x99)](_0x4623ad)));}catch(_0x598797){logger[_0x4d7470(0xba)](_0x5bbf18[_0x4d7470(0xca)],_0x598797);}}static[a42_0x2f9e61(0x9c)](){const _0x52f6b5=a42_0x2f9e61,_0x2d5b70={};_0x2d5b70[_0x52f6b5(0xa6)]='_traceZipPaths.json',_0x2d5b70[_0x52f6b5(0x97)]=_0x52f6b5(0xe1);const _0x39d278=_0x2d5b70,_0x4fb302=[];try{const _0x139887=TestDetails[_0x52f6b5(0xbe)]();if(_0x139887&&!fs[_0x52f6b5(0xd7)](_0x139887))return _0x4fb302;const _0x1639b8=fs['readdirSync'](_0x139887);_0x1639b8[_0x52f6b5(0x9a)](_0x1a0ed4=>{const _0x554fc4=_0x52f6b5;if(_0x1a0ed4&&_0x1a0ed4[_0x554fc4(0xab)](_0x39d278[_0x554fc4(0xa6)])){const _0x2d4d8e=JSON[_0x554fc4(0x9e)](fs['readFileSync'](path[_0x554fc4(0x88)](_0x139887,_0x1a0ed4))[_0x554fc4(0xac)]());_0x4fb302[_0x554fc4(0xb7)](..._0x2d4d8e);}});}catch(_0x5057bb){logger[_0x52f6b5(0xba)](util[_0x52f6b5(0x91)](_0x39d278[_0x52f6b5(0x97)],_0x5057bb));}const _0x5ba11a={};return _0x4fb302[_0x52f6b5(0x9a)](_0x51ab8c=>{const _0x50784b=_0x52f6b5;_0x5ba11a[_0x51ab8c[_0x50784b(0x94)]]=_0x51ab8c;}),Object[_0x52f6b5(0x96)](_0x5ba11a);}static[a42_0x2f9e61(0xcd)](_0x2108b3,_0x34d519){const _0x4337b4=a42_0x2f9e61,_0x10b099={};_0x10b099[_0x4337b4(0xdc)]=_0x4337b4(0xde),_0x10b099['atRhr']='utf8';const _0x3bebf1=_0x10b099;try{const _0x44d42e=path[_0x4337b4(0x88)](helper['homedir'](),_0x3bebf1[_0x4337b4(0xdc)]);if(!fs[_0x4337b4(0xd7)](_0x44d42e)){const _0xb3f450={};_0xb3f450['recursive']=!![],fs['mkdirSync'](_0x44d42e,_0xb3f450);}fs['appendFileSync'](path[_0x4337b4(0x88)](_0x44d42e,_0x4337b4(0xcc)+_0x34d519+_0x4337b4(0xcf)),_0x2108b3+'\x0a',_0x3bebf1[_0x4337b4(0xd9)]);}catch(_0x2ada49){console[_0x4337b4(0xba)](_0x4337b4(0xc2)+_0x2ada49[_0x4337b4(0x86)]);}}}module[a42_0x2f9e61(0xa0)]=TestDetails;
1
+ function a42_0x2fcb(){const _0x3db3c6=['getStoreDirName','bBbwO','setTestDetails','../../../helpers/helper','564FCRkJi','_test','traceZipPaths','dirPath','BS_TESTOPS_BUILD_HASHED_ID','setup','szLMe','existsSync','BDywf','join','91121VnWIrj','296714Tzhyoe','Error\x20reading\x20trace\x20file\x20paths:\x20%s','ThcfW','608646OkjhcA','MKkKU','homedir','string','PWXVb','__projectId','error','addTraceFilePath','cVLwy','4397016XdYUeU','_traceZipPaths.json','CGzeA','uuid','../../../helpers/logger','pMQzr','getTestUUID','path','16429lAnvXi','Ewykq','rmSync','traceZipDir','retry','mkdirSync','getTraceZipDir','fHyEb','getTestIdFromTestInfo','4|3|0|2|1','appendToTracePaths','stringify','pid','appendFileSync','getProjectIdFromTestInfo','winstonLogger','cVUhJ','toString','_projectId','shutdown','getFilePath','writeFileSync','759650CwmoLf','.browserstack','../../../helpers/test-observability/constants','sIRao','split','Error\x20writing\x20trace\x20file:\x20','675264HdVAjZ','zFmkg','tests','kdSDV','yWlBo','pzVwK','LsXRj','jAQpV','testId','getAccessibilityPlatformValidation','format','env','setAccessibilityPlatformValidation','getStoreDirPath','.json','filePath','cwd','readFileSync','pxJxv','message','forEach','_platformDetails.json','lRHKi','recursive','getTraceFilePaths','some','parse','push','EviQx','DCKSx','getTestDetails','getTestRunIdFromTestInfo','UIOlR'];a42_0x2fcb=function(){return _0x3db3c6;};return a42_0x2fcb();}const a42_0x597fd4=a42_0x327a;(function(_0x33ce93,_0x417b33){const _0x21a770=a42_0x327a,_0x297b3a=_0x33ce93();while(!![]){try{const _0x5c0f89=parseInt(_0x21a770(0x17d))/0x1+parseInt(_0x21a770(0x17e))/0x2+parseInt(_0x21a770(0x181))/0x3+parseInt(_0x21a770(0x14e))/0x4+-parseInt(_0x21a770(0x148))/0x5+parseInt(_0x21a770(0x173))/0x6*(parseInt(_0x21a770(0x192))/0x7)+-parseInt(_0x21a770(0x18a))/0x8;if(_0x5c0f89===_0x417b33)break;else _0x297b3a['push'](_0x297b3a['shift']());}catch(_0x11966b){_0x297b3a['push'](_0x297b3a['shift']());}}}(a42_0x2fcb,0x1fcbd));const fs=require('fs'),path=require(a42_0x597fd4(0x191)),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require(a42_0x597fd4(0x14a)),{nestedKeyValue}=require('../../../helpers/helper'),logger=require(a42_0x597fd4(0x18e))[a42_0x597fd4(0x141)],util=require('util'),helper=require(a42_0x597fd4(0x172));function a42_0x327a(_0x5b17e6,_0x60f19a){const _0x2fcb1d=a42_0x2fcb();return a42_0x327a=function(_0x327af4,_0x37b8ac){_0x327af4=_0x327af4-0x13a;let _0x253bd5=_0x2fcb1d[_0x327af4];return _0x253bd5;},a42_0x327a(_0x5b17e6,_0x60f19a);}class TestDetails{static [a42_0x597fd4(0x150)]={};static [a42_0x597fd4(0x176)]=path[a42_0x597fd4(0x17c)](process[a42_0x597fd4(0x15e)](),TestDetails[a42_0x597fd4(0x16f)]());static [a42_0x597fd4(0x195)]=path[a42_0x597fd4(0x17c)](TestDetails[a42_0x597fd4(0x176)],a42_0x597fd4(0x175));static[a42_0x597fd4(0x178)](){const _0x5e2aa9=a42_0x597fd4,_0x2947ef={};_0x2947ef[_0x5e2aa9(0x182)]=_0x5e2aa9(0x13b),_0x2947ef[_0x5e2aa9(0x154)]=_0x5e2aa9(0x175);const _0x21f4fe=_0x2947ef,_0xe0b8d5=_0x21f4fe[_0x5e2aa9(0x182)][_0x5e2aa9(0x14c)]('|');let _0x513092=0x0;while(!![]){switch(_0xe0b8d5[_0x513092++]){case'0':this[_0x5e2aa9(0x145)]();continue;case'1':const _0x3244f8={};_0x3244f8[_0x5e2aa9(0x165)]=!![],fs[_0x5e2aa9(0x197)](this[_0x5e2aa9(0x195)],_0x3244f8);continue;case'2':const _0x44b1d9={};_0x44b1d9[_0x5e2aa9(0x165)]=!![],fs[_0x5e2aa9(0x197)](this[_0x5e2aa9(0x176)],_0x44b1d9);continue;case'3':this[_0x5e2aa9(0x195)]=path[_0x5e2aa9(0x17c)](this['dirPath'],_0x21f4fe[_0x5e2aa9(0x154)]);continue;case'4':this[_0x5e2aa9(0x176)]=path['join'](process[_0x5e2aa9(0x15e)](),TestDetails[_0x5e2aa9(0x16f)]());continue;}break;}}static[a42_0x597fd4(0x16f)](){const _0x3052a4=a42_0x597fd4,_0x1b17fa={};_0x1b17fa['pxJxv']=function(_0x20b7e8,_0x27e02d){return _0x20b7e8+_0x27e02d;};const _0x211b07=_0x1b17fa;return _0x211b07[_0x3052a4(0x160)](_0x211b07[_0x3052a4(0x160)](TEMP_STORE_DIR_NAME,'-'),process['env'][_0x3052a4(0x177)]);}static[a42_0x597fd4(0x15b)](){const _0x1f9a24=a42_0x597fd4,_0x510162={};_0x510162['EviQx']=function(_0x172ddc,_0xd1b2f7){return _0x172ddc+_0xd1b2f7;},_0x510162[_0x1f9a24(0x164)]='default';const _0x2f8a05=_0x510162;return path['join'](process[_0x1f9a24(0x15e)](),_0x2f8a05['EviQx'](_0x2f8a05[_0x1f9a24(0x16a)](TEMP_STORE_DIR_NAME,'-'),process[_0x1f9a24(0x159)][_0x1f9a24(0x177)]||_0x2f8a05[_0x1f9a24(0x164)]));}static[a42_0x597fd4(0x198)](){const _0x77740c=a42_0x597fd4,_0x1aafa={};_0x1aafa[_0x77740c(0x155)]=_0x77740c(0x175);const _0xb0a3bd=_0x1aafa;return path['join'](this['getStoreDirPath'](),_0xb0a3bd[_0x77740c(0x155)]);}static[a42_0x597fd4(0x146)](_0x1b696e){const _0x238aa5=a42_0x597fd4,_0x434412={};_0x434412[_0x238aa5(0x16b)]=function(_0x4a481e,_0x1c675d){return _0x4a481e+_0x1c675d;},_0x434412[_0x238aa5(0x142)]=_0x238aa5(0x15c);const _0x32bf49=_0x434412;return path[_0x238aa5(0x17c)](this['dirPath'],_0x32bf49[_0x238aa5(0x16b)](_0x1b696e,_0x32bf49['cVUhJ']));}static[a42_0x597fd4(0x16d)](_0x46b4ea){const _0x2bb4fa=a42_0x597fd4,_0x439145={};_0x439145['kdSDV']=function(_0x3d0887,_0x42d7e9){return _0x3d0887+_0x42d7e9;},_0x439145[_0x2bb4fa(0x153)]=function(_0x404e9f,_0x4be3b6){return _0x404e9f+_0x4be3b6;};const _0x344816=_0x439145;return _0x344816['kdSDV'](_0x344816[_0x2bb4fa(0x151)](_0x344816[_0x2bb4fa(0x151)](_0x344816[_0x2bb4fa(0x153)](this['getProjectIdFromTestInfo'](_0x46b4ea),'-'),this[_0x2bb4fa(0x13a)](_0x46b4ea)),'-'),_0x46b4ea[_0x2bb4fa(0x196)]);}static[a42_0x597fd4(0x140)](_0x3ce7ea){const _0x20a32a=a42_0x597fd4,_0x30cc3b={'ByEdq':function(_0x2a76b9,_0x12df37,_0x54ae26){return _0x2a76b9(_0x12df37,_0x54ae26);},'fHyEb':_0x20a32a(0x174),'pMQzr':_0x20a32a(0x144),'cVLwy':function(_0x211424,_0x4a9353,_0x3aac59){return _0x211424(_0x4a9353,_0x3aac59);},'HfNcP':'project','ThcfW':_0x20a32a(0x186)};return _0x30cc3b['ByEdq'](nestedKeyValue,_0x3ce7ea,[_0x30cc3b[_0x20a32a(0x199)],_0x30cc3b[_0x20a32a(0x18f)]])||_0x30cc3b[_0x20a32a(0x189)](nestedKeyValue,_0x3ce7ea,[_0x30cc3b['HfNcP'],_0x30cc3b[_0x20a32a(0x180)]]);}static['getTestIdFromTestInfo'](_0x34b1fd){const _0x29c9ab=a42_0x597fd4,_0x24b1ce={'zFmkg':function(_0x341448,_0x5d2733,_0xd6e24c){return _0x341448(_0x5d2733,_0xd6e24c);},'CGzeA':_0x29c9ab(0x174)};return _0x24b1ce[_0x29c9ab(0x14f)](nestedKeyValue,_0x34b1fd,[_0x24b1ce[_0x29c9ab(0x18c)],'id'])||_0x34b1fd[_0x29c9ab(0x156)];}static[a42_0x597fd4(0x190)](_0x50be52){const _0x23acd7=a42_0x597fd4,_0xadf9e7={'bBbwO':function(_0x36710a,_0x43fc2c){return _0x36710a===_0x43fc2c;},'UIOlR':_0x23acd7(0x184),'sIRao':function(_0x2e87d8){return _0x2e87d8();}};if(this[_0x23acd7(0x150)][_0x50be52]&&_0xadf9e7[_0x23acd7(0x170)](typeof this[_0x23acd7(0x150)][_0x50be52][_0x23acd7(0x18d)],_0xadf9e7[_0x23acd7(0x16e)]))return this[_0x23acd7(0x150)][_0x50be52][_0x23acd7(0x18d)];const _0x12a9c8=this['getFilePath'](_0x50be52);if(_0x12a9c8&&fs[_0x23acd7(0x17a)](_0x12a9c8)){const _0x44c54=JSON[_0x23acd7(0x168)](fs[_0x23acd7(0x15f)](_0x12a9c8)[_0x23acd7(0x143)]());return this[_0x23acd7(0x150)][_0x50be52]=_0x44c54,this['tests'][_0x50be52]['uuid'];}return this[_0x23acd7(0x150)][_0x50be52]={'uuid':_0xadf9e7[_0x23acd7(0x14b)](uuidv4)},fs[_0x23acd7(0x147)](_0x12a9c8,JSON[_0x23acd7(0x13d)](this[_0x23acd7(0x150)][_0x50be52])),this['tests'][_0x50be52][_0x23acd7(0x18d)];}static[a42_0x597fd4(0x157)](_0x153382){const _0x34b337=a42_0x597fd4,_0x1ebb7f=path[_0x34b337(0x17c)](this['dirPath'],_0x153382+'_platformDetails.json');if(_0x1ebb7f&&fs[_0x34b337(0x17a)](_0x1ebb7f))return fs[_0x34b337(0x15f)](_0x1ebb7f)[_0x34b337(0x143)]();}static[a42_0x597fd4(0x15a)](_0x39f824,_0x3fe260){const _0x584246=a42_0x597fd4,_0xf4a07d=path[_0x584246(0x17c)](this[_0x584246(0x176)],_0x3fe260+_0x584246(0x163));fs['writeFileSync'](_0xf4a07d,_0x39f824['toString']());}static[a42_0x597fd4(0x145)](){const _0x59f111=a42_0x597fd4,_0x1c9bbe={};_0x1c9bbe['recursive']=!![],_0x1c9bbe['force']=!![],fs[_0x59f111(0x194)](this[_0x59f111(0x176)],_0x1c9bbe);}static[a42_0x597fd4(0x16c)](_0x315e9f){const _0x1e0d6c=a42_0x597fd4;if(this['tests'][_0x315e9f])return this[_0x1e0d6c(0x150)][_0x315e9f];const _0x1f36e0=this['getFilePath'](_0x315e9f);if(_0x1f36e0&&fs[_0x1e0d6c(0x17a)](_0x1f36e0)){const _0x314ef4=JSON[_0x1e0d6c(0x168)](fs[_0x1e0d6c(0x15f)](_0x1f36e0)[_0x1e0d6c(0x143)]());return this[_0x1e0d6c(0x150)][_0x315e9f]=_0x314ef4,_0x314ef4;}return{};}static[a42_0x597fd4(0x171)](_0x2ab456,_0x192208){const _0x3c4a7f=a42_0x597fd4,_0x4261ae=this['getFilePath'](_0x2ab456);if(_0x4261ae&&fs[_0x3c4a7f(0x17a)](_0x4261ae)){const _0x1cd81b=JSON[_0x3c4a7f(0x168)](fs['readFileSync'](_0x4261ae)['toString']()),_0x423246={..._0x1cd81b,..._0x192208};this[_0x3c4a7f(0x150)][_0x2ab456]=_0x423246;}else this[_0x3c4a7f(0x150)][_0x2ab456]=_0x192208;fs[_0x3c4a7f(0x147)](_0x4261ae,this[_0x3c4a7f(0x150)][_0x2ab456]);}static[a42_0x597fd4(0x188)](_0x144103){const _0x551451=a42_0x597fd4,_0xe85d17={};_0xe85d17['Ewykq']='Error\x20handling\x20trace\x20file\x20paths:\x20';const _0x35316f=_0xe85d17;try{const _0x2ffa2e=process[_0x551451(0x13e)],_0x2511fd=path[_0x551451(0x17c)](TestDetails['getTraceZipDir'](),_0x2ffa2e+_0x551451(0x18b));let _0x1db522=[];_0x2511fd&&fs[_0x551451(0x17a)](_0x2511fd)&&(_0x1db522=JSON[_0x551451(0x168)](fs['readFileSync'](_0x2511fd)[_0x551451(0x143)]())),!_0x1db522[_0x551451(0x167)](_0x474fa9=>_0x474fa9[_0x551451(0x15d)]===_0x144103[_0x551451(0x15d)])&&(_0x1db522[_0x551451(0x169)](_0x144103),fs['writeFileSync'](_0x2511fd,JSON[_0x551451(0x13d)](_0x1db522)));}catch(_0x25d29b){logger[_0x551451(0x187)](_0x35316f[_0x551451(0x193)],_0x25d29b);}}static[a42_0x597fd4(0x166)](){const _0x12d386=a42_0x597fd4,_0x7e5519={};_0x7e5519[_0x12d386(0x185)]=_0x12d386(0x18b),_0x7e5519[_0x12d386(0x17b)]=_0x12d386(0x17f);const _0x9355fb=_0x7e5519,_0xd183e6=[];try{const _0x529529=TestDetails[_0x12d386(0x198)]();if(_0x529529&&!fs[_0x12d386(0x17a)](_0x529529))return _0xd183e6;const _0x233042=fs['readdirSync'](_0x529529);_0x233042['forEach'](_0x199b97=>{const _0x220520=_0x12d386;if(_0x199b97&&_0x199b97['endsWith'](_0x9355fb[_0x220520(0x185)])){const _0x13ed5f=JSON[_0x220520(0x168)](fs['readFileSync'](path[_0x220520(0x17c)](_0x529529,_0x199b97))[_0x220520(0x143)]());_0xd183e6[_0x220520(0x169)](..._0x13ed5f);}});}catch(_0x460a44){logger[_0x12d386(0x187)](util[_0x12d386(0x158)](_0x9355fb[_0x12d386(0x17b)],_0x460a44));}const _0x4a9977={};return _0xd183e6[_0x12d386(0x162)](_0x5de22b=>{const _0x338f5b=_0x12d386;_0x4a9977[_0x5de22b[_0x338f5b(0x15d)]]=_0x5de22b;}),Object['values'](_0x4a9977);}static[a42_0x597fd4(0x13c)](_0x30c432,_0x4d3714){const _0x16d742=a42_0x597fd4,_0x5ec5eb={};_0x5ec5eb[_0x16d742(0x152)]=_0x16d742(0x149),_0x5ec5eb[_0x16d742(0x179)]='utf8';const _0xf7be03=_0x5ec5eb;try{const _0x417c6e=path[_0x16d742(0x17c)](helper[_0x16d742(0x183)](),_0xf7be03[_0x16d742(0x152)]);if(!fs[_0x16d742(0x17a)](_0x417c6e)){const _0x55c354={};_0x55c354[_0x16d742(0x165)]=!![],fs['mkdirSync'](_0x417c6e,_0x55c354);}fs[_0x16d742(0x13f)](path[_0x16d742(0x17c)](_0x417c6e,'trace_'+_0x4d3714+'.txt'),_0x30c432+'\x0a',_0xf7be03[_0x16d742(0x179)]);}catch(_0x3d33be){console[_0x16d742(0x187)](_0x16d742(0x14d)+_0x3d33be[_0x16d742(0x161)]);}}}module['exports']=TestDetails;
@@ -1 +1 @@
1
- const a43_0x273b47=a43_0x2e67;function a43_0x2e67(_0x5e3fb7,_0x2ddfa1){const _0x4031c8=a43_0x4031();return a43_0x2e67=function(_0x2e6741,_0x542c56){_0x2e6741=_0x2e6741-0x10a;let _0x1356e1=_0x4031c8[_0x2e6741];return _0x1356e1;},a43_0x2e67(_0x5e3fb7,_0x2ddfa1);}(function(_0x2fbcac,_0x1cf04d){const _0x91f069=a43_0x2e67,_0x44bcfb=_0x2fbcac();while(!![]){try{const _0xc43397=-parseInt(_0x91f069(0x11c))/0x1+-parseInt(_0x91f069(0x16a))/0x2*(-parseInt(_0x91f069(0x132))/0x3)+-parseInt(_0x91f069(0x17b))/0x4+parseInt(_0x91f069(0x164))/0x5+-parseInt(_0x91f069(0x174))/0x6*(-parseInt(_0x91f069(0x1ac))/0x7)+-parseInt(_0x91f069(0x167))/0x8*(parseInt(_0x91f069(0x12b))/0x9)+parseInt(_0x91f069(0x195))/0xa*(-parseInt(_0x91f069(0x154))/0xb);if(_0xc43397===_0x1cf04d)break;else _0x44bcfb['push'](_0x44bcfb['shift']());}catch(_0xf309fa){_0x44bcfb['push'](_0x44bcfb['shift']());}}}(a43_0x4031,0xb9ca4));const path=require(a43_0x273b47(0x113)),url=require('url'),util=require(a43_0x273b47(0x137)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a43_0x273b47(0x13f)),{o11yErrorHandler}=require(a43_0x273b47(0x1a7)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),logger=require(a43_0x273b47(0x110))['winstonLogger'],scripts=require('../../helpers/accessibility-automation/scripts'),{browserStackExecuteDriver}=require(a43_0x273b47(0x138)),AccessibilityHelper=require(a43_0x273b47(0x18e)),constants=require(a43_0x273b47(0x194)),getBrowserNameFromChannel=_0x4c0bfc=>{const _0x8d2e50=a43_0x273b47,_0x3d2f9b={};_0x3d2f9b[_0x8d2e50(0x11e)]=_0x8d2e50(0x18d),_0x3d2f9b[_0x8d2e50(0x1a9)]=_0x8d2e50(0x131),_0x3d2f9b['CkunT']='firefox',_0x3d2f9b['yryji']=_0x8d2e50(0x121);const _0x470b8e=_0x3d2f9b;if(_0x4c0bfc['includes'](_0x470b8e[_0x8d2e50(0x11e)]))return _0x470b8e[_0x8d2e50(0x11e)];if(_0x4c0bfc[_0x8d2e50(0x189)](_0x470b8e['PcMPO']))return _0x470b8e['PcMPO'];if(_0x4c0bfc[_0x8d2e50(0x189)](_0x470b8e[_0x8d2e50(0x146)]))return _0x470b8e[_0x8d2e50(0x146)];if(_0x4c0bfc[_0x8d2e50(0x189)](_0x470b8e[_0x8d2e50(0x161)]))return _0x470b8e[_0x8d2e50(0x161)];},getBrowserFromWSEndpoint=_0xbdb1c3=>{const _0x502f00=a43_0x273b47,_0x28c0ed={'ACnqC':_0x502f00(0x18d),'XbeuY':function(_0x41fd14,_0x52553b){return _0x41fd14(_0x52553b);}};try{const _0x33c3d6=url[_0x502f00(0x10a)](_0xbdb1c3),_0x38c85e=new URLSearchParams(_0x33c3d6[_0x502f00(0x185)]),_0x19acac=Object[_0x502f00(0x172)](_0x38c85e[_0x502f00(0x170)]()),_0x366e55=JSON['parse'](_0x19acac[_0x502f00(0x16b)]);if(_0x366e55&&(_0x366e55[_0x502f00(0x143)]||_0x366e55[_0x502f00(0x168)]))return _0x366e55['browser']||_0x366e55[_0x502f00(0x168)];return _0x28c0ed['ACnqC'];}catch(_0x49b340){_0x28c0ed[_0x502f00(0x12e)](debug,_0x502f00(0x13b)+_0x49b340['toString']());}},getCloudProviderFromWsEndpoint=_0x27b340=>{const _0x194ddf=a43_0x273b47,_0x3665bb={};_0x3665bb[_0x194ddf(0x190)]=_0x194ddf(0x15b),_0x3665bb[_0x194ddf(0x16f)]=_0x194ddf(0x136),_0x3665bb[_0x194ddf(0x14e)]=_0x194ddf(0x17c),_0x3665bb[_0x194ddf(0x151)]=_0x194ddf(0x16c);const _0x5cf643=_0x3665bb;if(_0x27b340[_0x194ddf(0x189)](_0x5cf643[_0x194ddf(0x190)])||_0x27b340[_0x194ddf(0x189)](_0x5cf643[_0x194ddf(0x16f)]))return _0x5cf643['zbLuU'];return _0x5cf643[_0x194ddf(0x151)];},a43_0xe34b74={};a43_0xe34b74[a43_0x273b47(0x173)]=undefined,a43_0xe34b74[a43_0x273b47(0x191)]=undefined,a43_0xe34b74['browser']=undefined,a43_0xe34b74[a43_0x273b47(0x1ae)]=undefined,a43_0xe34b74[a43_0x273b47(0x133)]=undefined,a43_0xe34b74[a43_0x273b47(0x156)]=undefined,a43_0xe34b74['product']=undefined,a43_0xe34b74[a43_0x273b47(0x17e)]={};class PlaywrightSessionDetails{static [a43_0x273b47(0x169)]=a43_0xe34b74;constructor(){const _0x47027c=a43_0x273b47,_0x29e4d0={};_0x29e4d0[_0x47027c(0x18b)]=_0x47027c(0x152);const _0x43b94b=_0x29e4d0;throw new Error(_0x43b94b[_0x47027c(0x18b)]);}static ['sessionError']=null;static[a43_0x273b47(0x120)](_0x17bb81,_0x3dd758,_0x2b4c8e=null){const _0x2a69be=a43_0x273b47,_0x4a687c={'XpDgN':function(_0x1b832f,_0xe1117f){return _0x1b832f===_0xe1117f;},'PgdMW':_0x2a69be(0x183),'JfnQI':_0x2a69be(0x17f),'sqMfe':_0x2a69be(0x175),'sNWDt':_0x2a69be(0x1a0),'anVbQ':function(_0x335edc,_0x12a5a0,_0x389a10){return _0x335edc(_0x12a5a0,_0x389a10);},'FWsTc':'_browserType','zFviW':_0x2a69be(0x157),'TSbBv':function(_0x3063b8,_0x176917,_0x172fdb){return _0x3063b8(_0x176917,_0x172fdb);},'kVKUu':_0x2a69be(0x159),'ketVf':_0x2a69be(0x162),'bnEqS':_0x2a69be(0x148),'irvsG':function(_0x10ae1a,_0x4dc862){return _0x10ae1a(_0x4dc862);},'CEJPl':_0x2a69be(0x17c),'relFA':_0x2a69be(0x14f),'HLTAH':_0x2a69be(0x123),'nXDXy':function(_0x3a13c6,_0x49f93c){return _0x3a13c6(_0x49f93c);},'xUhTV':function(_0x31e7d7,_0x32a7ff){return _0x31e7d7(_0x32a7ff);},'AsLJp':function(_0x1edc66,_0x1ded77){return _0x1edc66+_0x1ded77;},'yPSWV':'playwright-','tAacl':function(_0xb40e4b){return _0xb40e4b();},'TeFBb':'setupBrowserDetails'},_0x310dc9=this;return _0x4a687c[_0x2a69be(0x153)](o11yErrorHandler,async function _0xb6f63e(_0x3e6958,_0x22bf67,_0x91d040=null){const _0x40166a=_0x2a69be;let _0x57cfdb=_0x3e6958[_0x40166a(0x124)],_0x11c561=null;_0x3e6958&&_0x4a687c['XpDgN'](typeof _0x3e6958[_0x40166a(0x126)],_0x4a687c['PgdMW'])?_0x11c561=_0x3e6958['version']():logger[_0x40166a(0x145)](_0x4a687c[_0x40166a(0x119)]);let _0x188075=null;_0x3e6958&&_0x4a687c[_0x40166a(0x149)](typeof _0x3e6958[_0x40166a(0x176)],_0x4a687c[_0x40166a(0x11b)])?_0x188075=_0x3e6958[_0x40166a(0x176)]():logger[_0x40166a(0x145)](_0x4a687c[_0x40166a(0x187)]);let _0xb34cb7=null,_0x57c609=null,_0xe26225=null,_0x2611cc=_0x4a687c[_0x40166a(0x141)];if(_0x3e6958[_0x40166a(0x116)][_0x40166a(0x1a8)]()||global[_0x40166a(0x1ad)]){let _0x14247d=null;_0x4a687c[_0x40166a(0x153)](nestedKeyValue,_0x3e6958,[_0x4a687c[_0x40166a(0x15e)],_0x4a687c[_0x40166a(0x118)]])?_0x14247d=_0x3e6958[_0x40166a(0x19c)][_0x40166a(0x157)]:_0x14247d=_0x4a687c[_0x40166a(0x178)](nestedKeyValue,_0x22bf67,[_0x4a687c[_0x40166a(0x18f)],_0x4a687c[_0x40166a(0x114)],_0x4a687c[_0x40166a(0x180)]]);const _0x385882=_0x91d040||_0x14247d&&_0x14247d[_0x40166a(0x11d)];_0x385882&&(_0x2611cc=_0x4a687c[_0x40166a(0x19d)](getCloudProviderFromWsEndpoint,_0x385882),_0x4a687c[_0x40166a(0x149)](_0x2611cc,_0x4a687c[_0x40166a(0x117)])&&(_0xe26225=constants[_0x40166a(0x163)]['test'](_0x385882)?_0x4a687c[_0x40166a(0x1b0)]:_0x4a687c[_0x40166a(0x1b1)],_0x57cfdb=_0x4a687c['nXDXy'](getBrowserFromWSEndpoint,_0x385882)||_0x57cfdb,_0xb34cb7=_0x310dc9['currentSessionDetails'][_0x40166a(0x133)],_0x57c609=_0x310dc9[_0x40166a(0x169)][_0x40166a(0x156)]));}else{_0x22bf67&&_0x22bf67[_0x40166a(0x159)]['use'][_0x40166a(0x196)]?_0x57cfdb=_0x4a687c[_0x40166a(0x199)](getBrowserNameFromChannel,_0x22bf67[_0x40166a(0x159)][_0x40166a(0x162)][_0x40166a(0x196)]):_0x57cfdb=_0x4a687c[_0x40166a(0x14c)](_0x4a687c['yPSWV'],_0x57cfdb[_0x40166a(0x18a)]());const _0x43ab6f=await _0x4a687c[_0x40166a(0x144)](getPlatformDetails);_0xb34cb7=_0x43ab6f['platformName'],_0x57c609=_0x43ab6f['platformVersion'];}const _0x460eae={};_0x460eae[_0x40166a(0x143)]=_0x57cfdb,_0x460eae[_0x40166a(0x1ae)]=_0x11c561,_0x460eae['capabilities']={},_0x460eae['platform']=_0xb34cb7,_0x460eae[_0x40166a(0x156)]=_0x57c609,_0x460eae['product']=_0xe26225;const _0x1166ce=_0x460eae;_0x188075&&(_0x1166ce[_0x40166a(0x17e)][_0x40166a(0x166)]=_0x188075);const _0x21212f={};_0x21212f[_0x40166a(0x173)]=_0x2611cc,_0x310dc9[_0x40166a(0x169)]=Object['assign']({},_0x310dc9[_0x40166a(0x169)],_0x21212f,_0x1166ce);},_0x4a687c[_0x2a69be(0x115)])(_0x17bb81,_0x3dd758,_0x2b4c8e);}static[a43_0x273b47(0x19a)](){const _0x3c81d6=a43_0x273b47;this[_0x3c81d6(0x140)](),this[_0x3c81d6(0x15f)]();}static[a43_0x273b47(0x140)](){const _0x459b94=a43_0x273b47,_0x47d931={'Rwbgh':function(_0x4820c2,_0x9657a0,_0x4f119a){return _0x4820c2(_0x9657a0,_0x4f119a);},'BiOio':_0x459b94(0x160),'hfevp':'testInfo','FmMcb':_0x459b94(0x182),'LpZKZ':function(_0x51fd99,_0x4c9a33,_0x12a671){return _0x51fd99(_0x4c9a33,_0x12a671);},'RtbBJ':_0x459b94(0x112),'dMOCW':'pwPage','yoGwf':function(_0x544171,_0x260056){return _0x544171===_0x260056;},'AJMqW':_0x459b94(0x15c),'OlwrW':function(_0x13b8a8,_0x3f7161,_0x254a88,_0x2e9245){return _0x13b8a8(_0x3f7161,_0x254a88,_0x2e9245);},'AQCrf':function(_0x5a5360,_0x44390f){return _0x5a5360(_0x44390f);},'zQrxv':function(_0x494b60,_0x5b7bbc){return _0x494b60(_0x5b7bbc);},'jqxep':_0x459b94(0x10e),'FUZiC':_0x459b94(0x14b),'nsbaO':'connection.js','FkXap':function(_0x2426e2,_0x362641){return _0x2426e2(_0x362641);},'MvngX':_0x459b94(0x142),'uaOBu':function(_0x2ee350,_0x466dd1){return _0x2ee350!=_0x466dd1;},'muZko':function(_0x1aab5c){return _0x1aab5c();},'kPJRS':_0x459b94(0x147),'amUbP':function(_0x2c1fa2,_0x33ff21){return _0x2c1fa2(_0x33ff21);},'qyydL':_0x459b94(0x111),'WhLMO':function(_0xc58039,_0x4c35ef){return _0xc58039(_0x4c35ef);}},_0xe64f7=this;if(!this['Connection'])try{const _0x20af0a=path[_0x459b94(0x10b)](_0x47d931[_0x459b94(0x11a)],_0x47d931['FUZiC'],_0x47d931[_0x459b94(0x1a3)]),_0x282bc4=_0x47d931[_0x459b94(0x135)](importFileFromPWCore,_0x20af0a);!_0x282bc4?_0x47d931[_0x459b94(0x135)](debug,_0x47d931['MvngX']):this['Connection']=_0x282bc4['Connection'];}catch(_0x2e9ad3){_0x47d931[_0x459b94(0x19b)](debug,_0x459b94(0x188)+_0x2e9ad3[_0x459b94(0x14d)]());}const _0x5bf768=this[_0x459b94(0x128)];try{if(_0x47d931[_0x459b94(0x129)](_0x5bf768,null)){const _0x42a444=_0x5bf768[_0x459b94(0x158)]['dispatch'],_0xc98541=_0x5bf768[_0x459b94(0x158)]['sendMessageToServer'];_0x47d931[_0x459b94(0x1a1)](isAccessibilityAutomationSession)&&Object['defineProperty'](_0x5bf768[_0x459b94(0x158)],_0x47d931[_0x459b94(0x12a)],{'get':function(){return async function(){const _0x26d281=a43_0x2e67;try{if(!global[_0x26d281(0x197)]&&global[_0x26d281(0x1ad)]&&_0x47d931[_0x26d281(0x150)](nestedKeyValue,global[_0x26d281(0x112)],[_0x47d931['BiOio'],_0x47d931[_0x26d281(0x17d)],_0x47d931[_0x26d281(0x1a4)]])&&_0x47d931[_0x26d281(0x15a)](shouldScanTestForAccessibility,global[_0x26d281(0x112)][_0x26d281(0x160)]['testInfo']['titlePath'],!![])&&scripts['shouldWrapCommand'](arguments[0x1])){logger[_0x26d281(0x145)]('Performing\x20scan\x20for\x20'+arguments[0x1]),global['bstackPerformA11yScan']=!![];const _0x55ddc1=_0x47d931[_0x26d281(0x150)](nestedKeyValue,global,[_0x47d931[_0x26d281(0x198)],_0x47d931[_0x26d281(0x16d)]]),_0x2bbbe2={};_0x2bbbe2['method']=arguments[0x1],_0x55ddc1&&logger['debug'](util['format'](await AccessibilityHelper['performScan'](_0x55ddc1,_0x2bbbe2)));if(_0x47d931[_0x26d281(0x186)](arguments[0x0][_0x26d281(0x193)],_0x47d931['AJMqW'])&&global[_0x26d281(0x16e)]){const _0x322a8e={};_0x322a8e[_0x26d281(0x1aa)]=arguments[0x1],await _0x47d931['OlwrW'](browserStackExecuteDriver,global[_0x26d281(0x16e)],scripts[_0x26d281(0x139)],_0x322a8e);}}}catch(_0x58226e){logger[_0x26d281(0x145)](_0x26d281(0x192)+util[_0x26d281(0x165)](_0x58226e));}return global[_0x26d281(0x197)]=![],_0xc98541['apply'](this,arguments);};}}),!_0x47d931[_0x459b94(0x171)](isFalse,process[_0x459b94(0x10c)][_0x459b94(0x19f)])&&Object[_0x459b94(0x179)](_0x5bf768[_0x459b94(0x158)],_0x47d931[_0x459b94(0x15d)],{'get':function(){return function _0xda9d71(_0x112460){const _0x260a39=a43_0x2e67,_0x49812a=_0x112460&&_0x112460['params']&&_0x112460[_0x260a39(0x12f)][_0x260a39(0x127)];if(_0x49812a){const _0x4423c0=_0x49812a[_0x260a39(0x1b5)],_0x495320=_0x49812a[_0x260a39(0x12c)];_0x495320&&(_0x47d931[_0x260a39(0x1b2)](debug,_0x260a39(0x13c)+_0x495320[_0x260a39(0x14d)]()),_0xe64f7[_0x260a39(0x169)][_0x260a39(0x133)]=_0x495320[_0x260a39(0x14a)],_0xe64f7['currentSessionDetails'][_0x260a39(0x156)]=_0x495320['platformVersion']),_0x4423c0&&(_0x47d931[_0x260a39(0x19b)](debug,_0x260a39(0x13a)+_0x4423c0),_0xe64f7[_0x260a39(0x169)][_0x260a39(0x191)]=_0x4423c0);}return _0x42a444[_0x260a39(0x1a5)](this,arguments);};}});}}catch(_0x28ac53){_0x47d931[_0x459b94(0x1b4)](debug,_0x459b94(0x13e)+_0x28ac53),_0xe64f7[_0x459b94(0x1b3)]=_0x28ac53[_0x459b94(0x14d)]();}}static[a43_0x273b47(0x15f)](){const _0x3be22e=a43_0x273b47,_0x44b065={'MLPbZ':function(_0x4f50f5,_0x59cdcd){return _0x4f50f5(_0x59cdcd);},'BAQwh':function(_0x129fb2,_0x247dfa){return _0x129fb2(_0x247dfa);},'tYFrh':function(_0x4e1607){return _0x4e1607();},'ZPwti':_0x3be22e(0x10e),'DOARh':_0x3be22e(0x181),'JlGoc':_0x3be22e(0x10f),'CLnnf':_0x3be22e(0x1b6),'JkVID':_0x3be22e(0x13d),'vujjN':function(_0x5ee198,_0x54676e){return _0x5ee198(_0x54676e);},'XvXZN':_0x3be22e(0x130),'PeVdI':function(_0x2d0d30,_0x356d5b){return _0x2d0d30!=_0x356d5b;},'Dszgk':_0x3be22e(0x177)},_0x564e1d=this;if(_0x44b065['tYFrh'](isAccessibilityAutomationSession)){let _0x4e6f05=null;try{const _0x7123bd=path[_0x3be22e(0x10b)](_0x44b065[_0x3be22e(0x125)],_0x44b065[_0x3be22e(0x1af)],_0x44b065['JlGoc'],_0x44b065[_0x3be22e(0x184)]),_0x31e884=_0x44b065['MLPbZ'](importFileFromPWCore,_0x7123bd);!_0x31e884?_0x44b065[_0x3be22e(0x1ab)](debug,_0x44b065[_0x3be22e(0x122)]):_0x4e6f05=_0x31e884[_0x3be22e(0x10d)];}catch(_0x130ae3){_0x44b065[_0x3be22e(0x1a2)](debug,_0x44b065['XvXZN']);}try{if(_0x44b065[_0x3be22e(0x155)](_0x4e6f05,null)){const _0x281688=_0x4e6f05[_0x3be22e(0x158)][_0x3be22e(0x177)];Object[_0x3be22e(0x179)](_0x4e6f05[_0x3be22e(0x158)],_0x44b065['Dszgk'],{'get':function(){return function _0x796afd(_0x13a625){const _0x2804f8=a43_0x2e67;try{const _0x408ad1=_0x13a625[_0x2804f8(0x19e)];if(_0x408ad1){delete _0x13a625[_0x2804f8(0x19e)];const _0x478ca2=_0x408ad1[_0x2804f8(0x1b5)],_0x59a084=_0x408ad1['platformDetails'];_0x59a084&&(_0x44b065[_0x2804f8(0x134)](debug,_0x2804f8(0x17a)+_0x59a084[_0x2804f8(0x14d)]()),_0x564e1d['currentSessionDetails'][_0x2804f8(0x133)]=_0x59a084[_0x2804f8(0x14a)],_0x564e1d[_0x2804f8(0x169)][_0x2804f8(0x156)]=_0x59a084[_0x2804f8(0x11f)]),_0x478ca2&&(_0x44b065[_0x2804f8(0x134)](debug,_0x2804f8(0x18c)+_0x478ca2),_0x564e1d[_0x2804f8(0x169)]['bsSessionId']=_0x478ca2);}}catch(_0x5d65e2){_0x44b065[_0x2804f8(0x1ab)](debug,_0x2804f8(0x1a6)+_0x5d65e2[_0x2804f8(0x14d)]());}return _0x281688[_0x2804f8(0x1a5)](this,arguments);};}});}}catch(_0x1141c7){_0x44b065['vujjN'](debug,'Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20'+_0x1141c7),_0x564e1d[_0x3be22e(0x1b3)]=_0x1141c7[_0x3be22e(0x14d)]();}}}static['getDetails'](){const _0x45b067=a43_0x273b47;return this[_0x45b067(0x169)];}}function a43_0x4031(){const _0x5a0da8=['uaOBu','kPJRS','477FFGyhQ','platformDetails','exports','XbeuY','params','Error\x20in\x20importing\x20crConnection','edge','285912TJRdkD','platform','MLPbZ','FkXap','browserstack-ats.com','util','../../bin/playwright/accessibility-helper','performScan','Setting\x20session\x20id\x20received\x20from\x20BS\x20','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','Not\x20able\x20to\x20import\x20crConnection','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','../../helpers/helper','patchConnection','sNWDt','Not\x20able\x20to\x20import\x20Connection','browser','tAacl','debug','CkunT','sendMessageToServer','connectOptions','XpDgN','platformName','client','AsLJp','toString','zbLuU','turboscale','Rwbgh','QWtFx','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','anVbQ','121rdDbLA','PeVdI','platform_version','_defaultConnectOptions','prototype','project','LpZKZ','browserstack.com','Page','qyydL','FWsTc','patchCRConnection','currentTest','yryji','use','ATS_WSS_URL_REGEX','6034935ZzcsMy','format','deviceModel','10968bqUhuu','browserName','currentSessionDetails','30oglqgQ','caps','unknown_grid','dMOCW','__driver','NWMrU','entries','amUbP','fromEntries','cloudProvider','822skeqWt','Device\x20Model\x20is\x20not\x20available','model','_onMessage','TSbBv','defineProperty','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','1669496zCauuh','browserstack','hfevp','capabilities','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','bnEqS','server','titlePath','function','CLnnf','query','yoGwf','sqMfe','Error\x20in\x20importing\x20connection\x20','includes','toLowerCase','zgHUT','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','chrome','./accessibility-helper','kVKUu','CTWOp','bsSessionId','Failed\x20to\x20perform\x20scan\x20','_type','../utils/constants','784120Lljdjr','channel','bstackPerformA11yScan','RtbBJ','xUhTV','patch','zQrxv','_browserType','irvsG','bStackParams','BROWSERSTACK_TEST_OBSERVABILITY','local_grid','muZko','vujjN','nsbaO','FmMcb','apply','Error\x20in\x20finding\x20platform\x20details\x20','../../helpers/test-observability/error-handler','isRemote','PcMPO','method','BAQwh','48069KgpsYe','accessibilityPlatform','browser_version','DOARh','relFA','HLTAH','AQCrf','sessionError','WhLMO','sessionId','crConnection.js','parse','join','env','CRConnection','lib','chromium','../../helpers/logger','dispatch','__workerDetails','path','ketVf','TeFBb','_connection','CEJPl','zFviW','JfnQI','jqxep','PgdMW','1463761EWwnsb','wsEndpoint','XPuDi','platformVersion','setupBrowserDetails','safari','JkVID','automate','_name','ZPwti','version','bsParams','Connection'];a43_0x4031=function(){return _0x5a0da8;};return a43_0x4031();}module[a43_0x273b47(0x12d)]=PlaywrightSessionDetails;
1
+ const a43_0x10cd38=a43_0x3ece;(function(_0x35a579,_0x25361d){const _0x556cdd=a43_0x3ece,_0x34809c=_0x35a579();while(!![]){try{const _0x2aad03=parseInt(_0x556cdd(0x178))/0x1*(-parseInt(_0x556cdd(0x211))/0x2)+-parseInt(_0x556cdd(0x1cd))/0x3+parseInt(_0x556cdd(0x209))/0x4*(parseInt(_0x556cdd(0x1da))/0x5)+parseInt(_0x556cdd(0x19e))/0x6*(-parseInt(_0x556cdd(0x1d1))/0x7)+-parseInt(_0x556cdd(0x202))/0x8*(-parseInt(_0x556cdd(0x207))/0x9)+-parseInt(_0x556cdd(0x19f))/0xa+parseInt(_0x556cdd(0x1b5))/0xb;if(_0x2aad03===_0x25361d)break;else _0x34809c['push'](_0x34809c['shift']());}catch(_0x3fa901){_0x34809c['push'](_0x34809c['shift']());}}}(a43_0x1c30,0x53092));const path=require(a43_0x10cd38(0x1e3)),url=require(a43_0x10cd38(0x1c3)),util=require(a43_0x10cd38(0x200)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require('../../helpers/helper'),{o11yErrorHandler}=require(a43_0x10cd38(0x1ae)),{debug,getPlatformDetails}=require(a43_0x10cd38(0x190)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a43_0x10cd38(0x1a5)),logger=require('../../helpers/logger')[a43_0x10cd38(0x1c8)],scripts=require(a43_0x10cd38(0x1af)),{browserStackExecuteDriver}=require(a43_0x10cd38(0x19a)),AccessibilityHelper=require('./accessibility-helper'),constants=require(a43_0x10cd38(0x1fd)),getBrowserNameFromChannel=_0x2cca30=>{const _0x740c8f=a43_0x10cd38,_0x199325={};_0x199325[_0x740c8f(0x1c9)]=_0x740c8f(0x1ac),_0x199325[_0x740c8f(0x197)]=_0x740c8f(0x1a9),_0x199325[_0x740c8f(0x1bb)]='firefox',_0x199325[_0x740c8f(0x175)]=_0x740c8f(0x199);const _0x52063c=_0x199325;if(_0x2cca30['includes'](_0x52063c[_0x740c8f(0x1c9)]))return _0x52063c['FUFxP'];if(_0x2cca30[_0x740c8f(0x1e7)](_0x52063c[_0x740c8f(0x197)]))return _0x52063c['Ixzxp'];if(_0x2cca30[_0x740c8f(0x1e7)](_0x52063c['nHcNn']))return _0x52063c[_0x740c8f(0x1bb)];if(_0x2cca30[_0x740c8f(0x1e7)](_0x52063c[_0x740c8f(0x175)]))return _0x52063c[_0x740c8f(0x175)];},getBrowserFromWSEndpoint=_0x3245d2=>{const _0x375acb=a43_0x10cd38,_0x1d6730={'cATlj':'chrome','yaVDu':function(_0xfbfc05,_0x33f7f7){return _0xfbfc05(_0x33f7f7);}};try{const _0x50cfbf=url['parse'](_0x3245d2),_0x58490c=new URLSearchParams(_0x50cfbf['query']),_0x3dd08e=Object['fromEntries'](_0x58490c[_0x375acb(0x181)]()),_0x1b76f4=JSON[_0x375acb(0x1b3)](_0x3dd08e[_0x375acb(0x1b7)]);if(_0x1b76f4&&(_0x1b76f4[_0x375acb(0x195)]||_0x1b76f4[_0x375acb(0x1f2)]))return _0x1b76f4['browser']||_0x1b76f4[_0x375acb(0x1f2)];return _0x1d6730[_0x375acb(0x1f9)];}catch(_0x32c9d4){_0x1d6730[_0x375acb(0x1cf)](debug,_0x375acb(0x20b)+_0x32c9d4[_0x375acb(0x1c1)]());}},getCloudProviderFromWsEndpoint=_0x428d6b=>{const _0x13e783=a43_0x10cd38,_0x4a9f93={};_0x4a9f93['SGcWG']=_0x13e783(0x1bf),_0x4a9f93[_0x13e783(0x1a3)]=_0x13e783(0x20a),_0x4a9f93['fEzks']='browserstack',_0x4a9f93[_0x13e783(0x1b4)]='unknown_grid';const _0x4b8c3d=_0x4a9f93;if(_0x428d6b[_0x13e783(0x1e7)](_0x4b8c3d[_0x13e783(0x20f)])||_0x428d6b[_0x13e783(0x1e7)](_0x4b8c3d['kXGGH']))return _0x4b8c3d[_0x13e783(0x1e0)];return _0x4b8c3d[_0x13e783(0x1b4)];},a43_0x101cf6={};a43_0x101cf6['cloudProvider']=undefined,a43_0x101cf6[a43_0x10cd38(0x215)]=undefined,a43_0x101cf6[a43_0x10cd38(0x195)]=undefined,a43_0x101cf6[a43_0x10cd38(0x18a)]=undefined,a43_0x101cf6[a43_0x10cd38(0x1fa)]=undefined,a43_0x101cf6[a43_0x10cd38(0x1a0)]=undefined,a43_0x101cf6[a43_0x10cd38(0x17b)]=undefined,a43_0x101cf6[a43_0x10cd38(0x208)]={};class PlaywrightSessionDetails{static [a43_0x10cd38(0x205)]=a43_0x101cf6;constructor(){const _0x3c7b30=a43_0x10cd38,_0x104f44={};_0x104f44[_0x3c7b30(0x191)]=_0x3c7b30(0x19c);const _0x388e62=_0x104f44;throw new Error(_0x388e62[_0x3c7b30(0x191)]);}static ['sessionError']=null;static[a43_0x10cd38(0x1c2)](_0x33586b,_0x528012,_0x4c7dc4=null){const _0x52d708=a43_0x10cd38,_0x9ebc0b={'SIsCW':function(_0x27ac36,_0x3d5b1c){return _0x27ac36===_0x3d5b1c;},'qiPfS':_0x52d708(0x1df),'ZUxiV':_0x52d708(0x1bc),'Dbozf':'Device\x20Model\x20is\x20not\x20available','kAVpz':_0x52d708(0x189),'hUQok':function(_0x51ab78,_0x3e2c37,_0xa01b48){return _0x51ab78(_0x3e2c37,_0xa01b48);},'Rhgjt':_0x52d708(0x1c4),'AZdgI':_0x52d708(0x1ab),'nqdWX':function(_0x1b753e,_0x4f5359,_0x414946){return _0x1b753e(_0x4f5359,_0x414946);},'SnWNe':_0x52d708(0x1eb),'TrUiG':_0x52d708(0x1e9),'XAGxI':'connectOptions','afHiF':function(_0x592eb,_0x2284e5){return _0x592eb(_0x2284e5);},'cOrBX':function(_0x2a2507,_0x342f0e){return _0x2a2507===_0x342f0e;},'ZBfIU':_0x52d708(0x1d6),'FZbku':_0x52d708(0x1e2),'eJChZ':_0x52d708(0x210),'lcrrI':function(_0x354dc8,_0x6b026f){return _0x354dc8(_0x6b026f);},'ufysZ':function(_0x3230a9,_0x16aa5f){return _0x3230a9+_0x16aa5f;},'CdnXo':_0x52d708(0x1d2),'unhin':function(_0x5020dd){return _0x5020dd();},'nxaDZ':function(_0x2081c9,_0x254588,_0x32af3e){return _0x2081c9(_0x254588,_0x32af3e);},'PuCcd':_0x52d708(0x1c2)},_0x4d3c24=this;return _0x9ebc0b[_0x52d708(0x177)](o11yErrorHandler,async function _0x47c284(_0x4ed4c0,_0x36e273,_0x453eb2=null){const _0x46e362=_0x52d708;let _0x2eb97b=_0x4ed4c0[_0x46e362(0x1ad)],_0x1456c3=null;_0x4ed4c0&&_0x9ebc0b['SIsCW'](typeof _0x4ed4c0['version'],_0x9ebc0b[_0x46e362(0x1c7)])?_0x1456c3=_0x4ed4c0[_0x46e362(0x1b2)]():logger[_0x46e362(0x182)](_0x9ebc0b[_0x46e362(0x184)]);let _0x45ffeb=null;_0x4ed4c0&&_0x9ebc0b[_0x46e362(0x1e5)](typeof _0x4ed4c0[_0x46e362(0x1e8)],_0x9ebc0b[_0x46e362(0x1c7)])?_0x45ffeb=_0x4ed4c0['model']():logger[_0x46e362(0x182)](_0x9ebc0b[_0x46e362(0x1d3)]);let _0x1976f1=null,_0x6c81ea=null,_0x24e23a=null,_0x28b6ad=_0x9ebc0b[_0x46e362(0x214)];if(_0x4ed4c0[_0x46e362(0x1c0)]['isRemote']()||global['accessibilityPlatform']){let _0x2134da=null;_0x9ebc0b['hUQok'](nestedKeyValue,_0x4ed4c0,[_0x9ebc0b[_0x46e362(0x174)],_0x9ebc0b[_0x46e362(0x1f3)]])?_0x2134da=_0x4ed4c0[_0x46e362(0x1c4)][_0x46e362(0x1ab)]:_0x2134da=_0x9ebc0b['nqdWX'](nestedKeyValue,_0x36e273,[_0x9ebc0b[_0x46e362(0x1bd)],_0x9ebc0b[_0x46e362(0x1fe)],_0x9ebc0b[_0x46e362(0x1fc)]]);const _0x4d0f62=_0x453eb2||_0x2134da&&_0x2134da[_0x46e362(0x1a2)];_0x4d0f62&&(_0x28b6ad=_0x9ebc0b[_0x46e362(0x179)](getCloudProviderFromWsEndpoint,_0x4d0f62),_0x9ebc0b[_0x46e362(0x1dd)](_0x28b6ad,_0x9ebc0b['ZBfIU'])&&(_0x24e23a=constants[_0x46e362(0x201)][_0x46e362(0x1d9)](_0x4d0f62)?_0x9ebc0b[_0x46e362(0x1f5)]:_0x9ebc0b['eJChZ'],_0x2eb97b=_0x9ebc0b[_0x46e362(0x179)](getBrowserFromWSEndpoint,_0x4d0f62)||_0x2eb97b,_0x1976f1=_0x4d3c24['currentSessionDetails']['platform'],_0x6c81ea=_0x4d3c24[_0x46e362(0x205)][_0x46e362(0x1a0)]));}else{_0x36e273&&_0x36e273[_0x46e362(0x1eb)]['use'][_0x46e362(0x1d7)]?_0x2eb97b=_0x9ebc0b[_0x46e362(0x1f1)](getBrowserNameFromChannel,_0x36e273[_0x46e362(0x1eb)][_0x46e362(0x1e9)][_0x46e362(0x1d7)]):_0x2eb97b=_0x9ebc0b['ufysZ'](_0x9ebc0b[_0x46e362(0x1f8)],_0x2eb97b['toLowerCase']());const _0x25d1cf=await _0x9ebc0b[_0x46e362(0x198)](getPlatformDetails);_0x1976f1=_0x25d1cf[_0x46e362(0x1d0)],_0x6c81ea=_0x25d1cf[_0x46e362(0x1c6)];}const _0x56c8a5={};_0x56c8a5['browser']=_0x2eb97b,_0x56c8a5[_0x46e362(0x18a)]=_0x1456c3,_0x56c8a5[_0x46e362(0x208)]={},_0x56c8a5['platform']=_0x1976f1,_0x56c8a5[_0x46e362(0x1a0)]=_0x6c81ea,_0x56c8a5[_0x46e362(0x17b)]=_0x24e23a;const _0x27bc34=_0x56c8a5;_0x45ffeb&&(_0x27bc34['capabilities'][_0x46e362(0x1a4)]=_0x45ffeb);const _0x2009e5={};_0x2009e5['cloudProvider']=_0x28b6ad,_0x4d3c24[_0x46e362(0x205)]=Object[_0x46e362(0x1d4)]({},_0x4d3c24[_0x46e362(0x205)],_0x2009e5,_0x27bc34);},_0x9ebc0b['PuCcd'])(_0x33586b,_0x528012,_0x4c7dc4);}static[a43_0x10cd38(0x173)](){const _0x38d12d=a43_0x10cd38;this[_0x38d12d(0x1ff)](),this[_0x38d12d(0x1a1)]();}static[a43_0x10cd38(0x1ff)](){const _0x4b4e62=a43_0x10cd38,_0x414c1d={'lREct':function(_0xdb8d3e,_0x4f3cce,_0x299d4a){return _0xdb8d3e(_0x4f3cce,_0x299d4a);},'tiFOd':_0x4b4e62(0x20c),'uYNfg':_0x4b4e62(0x1d8),'rCSng':_0x4b4e62(0x1ce),'BVkCb':'__workerDetails','pSpJn':_0x4b4e62(0x185),'KGZtm':function(_0x502271,_0x4c6d02){return _0x502271===_0x4c6d02;},'wwraF':'Page','nKzYr':function(_0x635cdf,_0x452b5f,_0x516f85,_0x59968c){return _0x635cdf(_0x452b5f,_0x516f85,_0x59968c);},'HuhQn':function(_0x4fdaf3,_0x13a0bb){return _0x4fdaf3(_0x13a0bb);},'JSVpa':function(_0x32544f,_0x5e6c22){return _0x32544f(_0x5e6c22);},'GPdiJ':_0x4b4e62(0x188),'DIemV':_0x4b4e62(0x1ea),'vqyhj':'connection.js','ubthV':function(_0x5c46e3,_0x394596){return _0x5c46e3(_0x394596);},'GNeLt':'Not\x20able\x20to\x20import\x20Connection','ujKHG':function(_0x337c9c,_0x33c10e){return _0x337c9c!=_0x33c10e;},'DAXdh':function(_0x285dd0){return _0x285dd0();},'TxZHu':_0x4b4e62(0x1fb),'jxFHq':_0x4b4e62(0x1ef),'HNfaU':function(_0x56c9ac,_0x240ce2){return _0x56c9ac(_0x240ce2);}},_0x2abda6=this;if(!this[_0x4b4e62(0x1e6)])try{const _0x98248a=path[_0x4b4e62(0x1b8)](_0x414c1d[_0x4b4e62(0x1f0)],_0x414c1d[_0x4b4e62(0x1b6)],_0x414c1d[_0x4b4e62(0x18d)]),_0x48099c=_0x414c1d[_0x4b4e62(0x1cb)](importFileFromPWCore,_0x98248a);!_0x48099c?_0x414c1d[_0x4b4e62(0x18e)](debug,_0x414c1d['GNeLt']):this[_0x4b4e62(0x1e6)]=_0x48099c[_0x4b4e62(0x1e6)];}catch(_0x222a5c){_0x414c1d['HuhQn'](debug,'Error\x20in\x20importing\x20connection\x20'+_0x222a5c['toString']());}const _0x246d09=this[_0x4b4e62(0x1e6)];try{if(_0x414c1d[_0x4b4e62(0x1a8)](_0x246d09,null)){const _0x15d67c=_0x246d09[_0x4b4e62(0x1e4)][_0x4b4e62(0x1ef)],_0x39ea00=_0x246d09[_0x4b4e62(0x1e4)][_0x4b4e62(0x1fb)];_0x414c1d['DAXdh'](isAccessibilityAutomationSession)&&Object[_0x4b4e62(0x19d)](_0x246d09[_0x4b4e62(0x1e4)],_0x414c1d[_0x4b4e62(0x1c5)],{'get':function(){return async function(){const _0x1889ab=a43_0x3ece;try{if(!global[_0x1889ab(0x17a)]&&global['accessibilityPlatform']&&_0x414c1d['lREct'](nestedKeyValue,global['__workerDetails'],[_0x414c1d[_0x1889ab(0x1a6)],_0x414c1d['uYNfg'],_0x414c1d[_0x1889ab(0x192)]])&&_0x414c1d['lREct'](shouldScanTestForAccessibility,global[_0x1889ab(0x1db)]['currentTest'][_0x1889ab(0x1d8)][_0x1889ab(0x1ce)],!![])&&scripts['shouldWrapCommand'](arguments[0x1])){logger['debug']('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0x1889ab(0x17a)]=!![];const _0x550c54=_0x414c1d[_0x1889ab(0x176)](nestedKeyValue,global,[_0x414c1d[_0x1889ab(0x212)],_0x414c1d['pSpJn']]),_0x46bfdc={};_0x46bfdc[_0x1889ab(0x1b0)]=arguments[0x1],_0x550c54&&logger[_0x1889ab(0x182)](util[_0x1889ab(0x216)](await AccessibilityHelper[_0x1889ab(0x17c)](_0x550c54,_0x46bfdc)));if(_0x414c1d[_0x1889ab(0x18c)](arguments[0x0][_0x1889ab(0x204)],_0x414c1d[_0x1889ab(0x1ba)])&&global['__driver']){const _0x3c7fa4={};_0x3c7fa4[_0x1889ab(0x1b0)]=arguments[0x1],await _0x414c1d[_0x1889ab(0x193)](browserStackExecuteDriver,global[_0x1889ab(0x1ee)],scripts[_0x1889ab(0x17c)],_0x3c7fa4);}}}catch(_0x432465){logger[_0x1889ab(0x182)](_0x1889ab(0x1ec)+util[_0x1889ab(0x216)](_0x432465));}return global[_0x1889ab(0x17a)]=![],_0x39ea00[_0x1889ab(0x1dc)](this,arguments);};}}),!_0x414c1d[_0x4b4e62(0x180)](isFalse,process[_0x4b4e62(0x17d)][_0x4b4e62(0x20d)])&&Object[_0x4b4e62(0x19d)](_0x246d09[_0x4b4e62(0x1e4)],_0x414c1d[_0x4b4e62(0x213)],{'get':function(){return function _0x5148e8(_0x1de238){const _0x9d9bd8=a43_0x3ece,_0xa43f15=_0x1de238&&_0x1de238['params']&&_0x1de238['params']['bsParams'];if(_0xa43f15){const _0xcce78f=_0xa43f15[_0x9d9bd8(0x1f6)],_0x51b21b=_0xa43f15[_0x9d9bd8(0x20e)];_0x51b21b&&(_0x414c1d[_0x9d9bd8(0x18e)](debug,_0x9d9bd8(0x1f4)+_0x51b21b[_0x9d9bd8(0x1c1)]()),_0x2abda6[_0x9d9bd8(0x205)][_0x9d9bd8(0x1fa)]=_0x51b21b[_0x9d9bd8(0x1d0)],_0x2abda6['currentSessionDetails'][_0x9d9bd8(0x1a0)]=_0x51b21b[_0x9d9bd8(0x1c6)]),_0xcce78f&&(_0x414c1d[_0x9d9bd8(0x180)](debug,_0x9d9bd8(0x206)+_0xcce78f),_0x2abda6[_0x9d9bd8(0x205)][_0x9d9bd8(0x215)]=_0xcce78f);}return _0x15d67c[_0x9d9bd8(0x1dc)](this,arguments);};}});}}catch(_0x14dee5){_0x414c1d[_0x4b4e62(0x17f)](debug,_0x4b4e62(0x1b9)+_0x14dee5),_0x2abda6[_0x4b4e62(0x1d5)]=_0x14dee5[_0x4b4e62(0x1c1)]();}}static['patchCRConnection'](){const _0x4d5228=a43_0x10cd38,_0x2c5ae8={'tahyg':function(_0x176108,_0x6cc304){return _0x176108(_0x6cc304);},'vwAzW':function(_0x318141){return _0x318141();},'HllAJ':_0x4d5228(0x188),'ZWvwo':_0x4d5228(0x18f),'wIiQp':'chromium','yGLIG':_0x4d5228(0x194),'OQGmH':function(_0x12e869,_0x2bf3d8){return _0x12e869(_0x2bf3d8);},'IUZtg':_0x4d5228(0x1a7),'Frwmb':_0x4d5228(0x1e1),'rxSjH':function(_0x589cd8,_0x3a4994){return _0x589cd8!=_0x3a4994;},'xyFbO':_0x4d5228(0x17e),'qEAwQ':function(_0x1672a2,_0x41365b){return _0x1672a2(_0x41365b);}},_0x27b048=this;if(_0x2c5ae8[_0x4d5228(0x1b1)](isAccessibilityAutomationSession)){let _0x5be5b4=null;try{const _0x4fe28c=path[_0x4d5228(0x1b8)](_0x2c5ae8[_0x4d5228(0x1ed)],_0x2c5ae8['ZWvwo'],_0x2c5ae8[_0x4d5228(0x186)],_0x2c5ae8[_0x4d5228(0x196)]),_0x19521b=_0x2c5ae8['tahyg'](importFileFromPWCore,_0x4fe28c);!_0x19521b?_0x2c5ae8[_0x4d5228(0x1aa)](debug,_0x2c5ae8[_0x4d5228(0x1be)]):_0x5be5b4=_0x19521b[_0x4d5228(0x187)];}catch(_0x264303){_0x2c5ae8[_0x4d5228(0x1cc)](debug,_0x2c5ae8['Frwmb']);}try{if(_0x2c5ae8['rxSjH'](_0x5be5b4,null)){const _0x418071=_0x5be5b4[_0x4d5228(0x1e4)][_0x4d5228(0x17e)];Object[_0x4d5228(0x19d)](_0x5be5b4[_0x4d5228(0x1e4)],_0x2c5ae8[_0x4d5228(0x1de)],{'get':function(){const _0x5d9922={'amVkJ':function(_0x7734be,_0x322140){const _0x84caa5=a43_0x3ece;return _0x2c5ae8[_0x84caa5(0x1cc)](_0x7734be,_0x322140);},'EHZbO':function(_0x535b07,_0x382166){return _0x2c5ae8['tahyg'](_0x535b07,_0x382166);}};return function _0x41cfe2(_0x28db01){const _0x27b2a2=a43_0x3ece;try{const _0x23f3d2=_0x28db01[_0x27b2a2(0x18b)];if(_0x23f3d2){delete _0x28db01[_0x27b2a2(0x18b)];const _0x5d473e=_0x23f3d2[_0x27b2a2(0x1f6)],_0x5aa76c=_0x23f3d2[_0x27b2a2(0x20e)];_0x5aa76c&&(_0x5d9922['amVkJ'](debug,'Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20'+_0x5aa76c['toString']()),_0x27b048[_0x27b2a2(0x205)][_0x27b2a2(0x1fa)]=_0x5aa76c['platformName'],_0x27b048[_0x27b2a2(0x205)][_0x27b2a2(0x1a0)]=_0x5aa76c[_0x27b2a2(0x1c6)]),_0x5d473e&&(_0x5d9922[_0x27b2a2(0x1ca)](debug,_0x27b2a2(0x1f7)+_0x5d473e),_0x27b048[_0x27b2a2(0x205)][_0x27b2a2(0x215)]=_0x5d473e);}}catch(_0x4cb215){_0x5d9922['EHZbO'](debug,'Error\x20in\x20finding\x20platform\x20details\x20'+_0x4cb215[_0x27b2a2(0x1c1)]());}return _0x418071['apply'](this,arguments);};}});}}catch(_0x394d28){_0x2c5ae8[_0x4d5228(0x19b)](debug,_0x4d5228(0x183)+_0x394d28),_0x27b048['sessionError']=_0x394d28[_0x4d5228(0x1c1)]();}}}static[a43_0x10cd38(0x203)](){const _0x260312=a43_0x10cd38;return this[_0x260312(0x205)];}}function a43_0x1c30(){const _0x2ca03e=['function','fEzks','Error\x20in\x20importing\x20crConnection','turboscale','path','prototype','SIsCW','Connection','includes','model','use','client','project','Failed\x20to\x20perform\x20scan\x20','HllAJ','__driver','dispatch','GPdiJ','lcrrI','browserName','AZdgI','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','FZbku','sessionId','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','CdnXo','cATlj','platform','sendMessageToServer','XAGxI','../utils/constants','TrUiG','patchConnection','util','ATS_WSS_URL_REGEX','149176QQbSvq','getDetails','_type','currentSessionDetails','Setting\x20session\x20id\x20received\x20from\x20BS\x20','117PzVQrV','capabilities','4aJFHGu','browserstack-ats.com','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','currentTest','BROWSERSTACK_TEST_OBSERVABILITY','platformDetails','SGcWG','automate','2VSUdNH','BVkCb','jxFHq','kAVpz','bsSessionId','format','patch','Rhgjt','ICJpm','lREct','nxaDZ','372457wBptxV','afHiF','bstackPerformA11yScan','product','performScan','env','_onMessage','HNfaU','JSVpa','entries','debug','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','ZUxiV','pwPage','wIiQp','CRConnection','lib','local_grid','browser_version','bStackParams','KGZtm','vqyhj','HuhQn','server','../../helpers/test-observability/utils','SPfPj','rCSng','nKzYr','crConnection.js','browser','yGLIG','Ixzxp','unhin','safari','../../bin/playwright/accessibility-helper','qEAwQ','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','defineProperty','150tkNHAD','6780530rpSsJZ','platform_version','patchCRConnection','wsEndpoint','kXGGH','deviceModel','../../helpers/accessibility-automation/helper','tiFOd','Not\x20able\x20to\x20import\x20crConnection','ujKHG','edge','OQGmH','_defaultConnectOptions','chrome','_name','../../helpers/test-observability/error-handler','../../helpers/accessibility-automation/scripts','method','vwAzW','version','parse','olNyN','20806335VDEGDU','DIemV','caps','join','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','wwraF','nHcNn','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','SnWNe','IUZtg','browserstack.com','_connection','toString','setupBrowserDetails','url','_browserType','TxZHu','platformVersion','qiPfS','winstonLogger','FUFxP','EHZbO','ubthV','tahyg','1299924VfGGdw','titlePath','yaVDu','platformName','163555wBEnEg','playwright-','Dbozf','assign','sessionError','browserstack','channel','testInfo','test','1370805IhAjTO','__workerDetails','apply','cOrBX','xyFbO'];a43_0x1c30=function(){return _0x2ca03e;};return a43_0x1c30();}function a43_0x3ece(_0x4c3f88,_0x374a28){const _0x1c30f9=a43_0x1c30();return a43_0x3ece=function(_0x3ecef8,_0x418587){_0x3ecef8=_0x3ecef8-0x173;let _0x18d830=_0x1c30f9[_0x3ecef8];return _0x18d830;},a43_0x3ece(_0x4c3f88,_0x374a28);}module['exports']=PlaywrightSessionDetails;
package/src/bin/runner.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a44_0x2a922f=a44_0x3d61;(function(_0x5667ee,_0x44d579){const _0x1e5bee=a44_0x3d61,_0x5bc679=_0x5667ee();while(!![]){try{const _0x3227a7=-parseInt(_0x1e5bee(0xf7))/0x1+-parseInt(_0x1e5bee(0xeb))/0x2*(parseInt(_0x1e5bee(0xf5))/0x3)+-parseInt(_0x1e5bee(0xe0))/0x4+-parseInt(_0x1e5bee(0xb6))/0x5+parseInt(_0x1e5bee(0xaf))/0x6*(-parseInt(_0x1e5bee(0xa6))/0x7)+-parseInt(_0x1e5bee(0xcd))/0x8*(-parseInt(_0x1e5bee(0x92))/0x9)+parseInt(_0x1e5bee(0xca))/0xa;if(_0x3227a7===_0x44d579)break;else _0x5bc679['push'](_0x5bc679['shift']());}catch(_0x5c204f){_0x5bc679['push'](_0x5bc679['shift']());}}}(a44_0x48ef,0xd022a));const fs=require('fs'),path=require(a44_0x2a922f(0xb3)),util=require(a44_0x2a922f(0xbb)),{requireModule}=require(a44_0x2a922f(0xb0)),PerformanceTester=require('../helpers/performance/performance-tester'),PerformanceEvents=require(a44_0x2a922f(0xdf))[a44_0x2a922f(0x94)],helper=require('../helpers/helper'),utilities=require('../helpers/utilities'),runIntegrations=require(a44_0x2a922f(0xf4)),yargs=require(a44_0x2a922f(0xe3)),Constants=require(a44_0x2a922f(0xbc)),logger=require('../helpers/logger')[a44_0x2a922f(0xd5)],origArgs=Object['assign']([],process['argv']),captureError=async(_0x22f066,_0x2b1fc7,_0x5e74b4=null)=>{const _0x444502=a44_0x2a922f,_0x5369ef={'UmpZq':function(_0x4e30ac,_0x15d770,_0x58989b){return _0x4e30ac(_0x15d770,_0x58989b);},'QAnnZ':'SDKTestSuccessful'};try{logger['info'](_0x444502(0xb7)+origArgs[_0x444502(0xd2)]('\x20')),await _0x5369ef['UmpZq'](_0x22f066,_0x2b1fc7,_0x5e74b4);}catch(_0x23ce64){process[_0x444502(0xc2)]=0x1,logger[_0x444502(0xda)](util[_0x444502(0xf2)](_0x23ce64));const _0x3cd934={};_0x3cd934[_0x444502(0xab)]=_0x23ce64[_0x444502(0x9b)];const _0x36b571=_0x3cd934;PerformanceTester[_0x444502(0xf6)](PerformanceEvents[_0x444502(0xbf)],![],util[_0x444502(0xf2)](_0x23ce64));if(helper[_0x444502(0xff)](global['config'])&&helper[_0x444502(0xff)](global[_0x444502(0xdc)]))return;try{utilities[_0x444502(0x93)](_0x5369ef['QAnnZ'],_0x36b571,global['config'],global[_0x444502(0xdc)]);}catch(_0x18ce1b){logger[_0x444502(0xfb)](_0x444502(0xb2)+_0x18ce1b[_0x444502(0x99)]);}PerformanceTester[_0x444502(0xf6)](PerformanceEvents['SDK_SETUP'],![],util[_0x444502(0xf2)](_0x23ce64));}finally{PerformanceTester[_0x444502(0xf8)](PerformanceEvents[_0x444502(0xf0)]);}};function a44_0x3d61(_0x40aebb,_0x355973){const _0x48efdb=a44_0x48ef();return a44_0x3d61=function(_0x3d61e4,_0x3755be){_0x3d61e4=_0x3d61e4-0x90;let _0x3b56a0=_0x48efdb[_0x3d61e4];return _0x3b56a0;},a44_0x3d61(_0x40aebb,_0x355973);}try{const browserstackFolderPath=path[a44_0x2a922f(0xd2)](helper[a44_0x2a922f(0xf1)](),a44_0x2a922f(0xac));if(fs[a44_0x2a922f(0xec)](browserstackFolderPath)){const filePath=path['join'](browserstackFolderPath,a44_0x2a922f(0x98));fs[a44_0x2a922f(0xec)](filePath)&&fs[a44_0x2a922f(0xa3)](filePath);}}catch(a44_0x181c55){logger['debug']('Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20'+a44_0x181c55[a44_0x2a922f(0x9b)]);}process[a44_0x2a922f(0x95)][a44_0x2a922f(0xdb)](a44_0x2a922f(0xb9))&&(!process[a44_0x2a922f(0x95)]['includes'](a44_0x2a922f(0xa2))&&process['argv']['push'](a44_0x2a922f(0xc3)),!process[a44_0x2a922f(0x95)][a44_0x2a922f(0xfc)](_0x501246=>_0x501246[a44_0x2a922f(0xdb)](a44_0x2a922f(0xb1)))&&process[a44_0x2a922f(0x95)][a44_0x2a922f(0x97)](a44_0x2a922f(0xe4)),!process[a44_0x2a922f(0x95)][a44_0x2a922f(0xdb)](a44_0x2a922f(0xf3))&&process[a44_0x2a922f(0x95)]['push']('--no-package'),helper[a44_0x2a922f(0xe7)](process[a44_0x2a922f(0x95)],a44_0x2a922f(0x9f),a44_0x2a922f(0xe2)));PerformanceTester['startMonitoring'](),PerformanceTester[a44_0x2a922f(0xf8)](PerformanceEvents['SDK_SETUP']);const a44_0x271ef5={};a44_0x271ef5['dot-notation']=![];const argv=yargs[a44_0x2a922f(0xd3)](a44_0x271ef5)[a44_0x2a922f(0xc7)](a44_0x2a922f(0xa7))[a44_0x2a922f(0xbe)]('v',a44_0x2a922f(0xae))['describe']('v')[a44_0x2a922f(0xbe)]('h',a44_0x2a922f(0xc5))['help'](a44_0x2a922f(0xc5))[a44_0x2a922f(0xe9)](!![],Constants['VERSION'][a44_0x2a922f(0xf9)])[a44_0x2a922f(0xb4)]('jest',Constants[a44_0x2a922f(0x9e)][a44_0x2a922f(0xa5)],function(_0xb27d8f){const _0x4763d4=a44_0x2a922f,_0x4b4734={'nREdQ':function(_0x286c3e,_0x1598e0,_0x23e182,_0x2bd400){return _0x286c3e(_0x1598e0,_0x23e182,_0x2bd400);},'kiiwJ':function(_0x4a52d3,_0x1638cd){return _0x4a52d3(_0x1638cd);},'gtWyp':'./jest/command'};helper[_0x4763d4(0xfd)](),helper['setBrowserStackAutomationDisable']();const _0x2a7e64=process[_0x4763d4(0x95)]['slice'](0x2);return _0x4b4734['nREdQ'](captureError,_0x4b4734[_0x4763d4(0xad)](require,_0x4b4734[_0x4763d4(0xd1)]),_0xb27d8f['argv'],_0x2a7e64);})['command']('mocha',Constants[a44_0x2a922f(0xe6)][a44_0x2a922f(0xa5)],_0x52697c=>{const _0x2f68bd=a44_0x2a922f,_0xf0b04d={'HOrNf':function(_0x3160e9,_0x4a0695,_0x571b5c){return _0x3160e9(_0x4a0695,_0x571b5c);},'ZGfoV':function(_0x27187c,_0x46c68b){return _0x27187c(_0x46c68b);},'XCHVC':_0x2f68bd(0x100),'Kazeo':'Parsing\x20command\x20line\x20arguements','dCZYf':function(_0x489bfd,_0x1c4db7,_0x242d47){return _0x489bfd(_0x1c4db7,_0x242d47);},'DZUNO':'mocha/lib/cli/run.js','nJScY':_0x2f68bd(0xb9),'BZDyb':_0x2f68bd(0xc8),'lLuud':'mocha/lib/cli/cli.js','UmUXG':function(_0xa9606d){return _0xa9606d();}};logger[_0x2f68bd(0xfb)](_0xf0b04d[_0x2f68bd(0xe8)]);const _0x1e167a=_0xf0b04d[_0x2f68bd(0x90)](requireModule,_0xf0b04d[_0x2f68bd(0xa4)],_0xf0b04d[_0x2f68bd(0xd9)]),_0x4c6602=_0xf0b04d[_0x2f68bd(0x90)](requireModule,_0xf0b04d['BZDyb'],_0xf0b04d[_0x2f68bd(0xd9)]);process['argv']=process[_0x2f68bd(0x95)][_0x2f68bd(0x9c)](0x1),delete _0x1e167a['handler'],_0x1e167a['handler']=function(_0x483e35){const _0x2d9c27=_0x2f68bd;return _0xf0b04d[_0x2d9c27(0xba)](captureError,_0xf0b04d[_0x2d9c27(0x91)](require,_0xf0b04d['XCHVC']),_0x483e35);},_0x4c6602[_0x2f68bd(0xd6)]=_0x1e167a;const {main:_0x1de259}=_0xf0b04d['HOrNf'](requireModule,_0xf0b04d[_0x2f68bd(0xc6)],_0xf0b04d[_0x2f68bd(0xd9)]);_0xf0b04d['UmUXG'](_0x1de259);})[a44_0x2a922f(0xb4)](a44_0x2a922f(0xe5),Constants[a44_0x2a922f(0xb5)]['INFO'],function(_0x184c52){const _0x1230dd=a44_0x2a922f,_0x595f90={'KlYro':function(_0x422b63,_0x2c5428,_0x4b879a,_0x10c82f){return _0x422b63(_0x2c5428,_0x4b879a,_0x10c82f);},'VgKID':function(_0x34fc91,_0x3fcf46){return _0x34fc91(_0x3fcf46);},'YTcGQ':_0x1230dd(0xa8)},_0x3265a0=process['argv']['slice'](0x2);return _0x595f90[_0x1230dd(0xde)](captureError,_0x595f90['VgKID'](require,_0x595f90[_0x1230dd(0xd0)]),_0x184c52[_0x1230dd(0x95)],_0x3265a0);})[a44_0x2a922f(0xb4)](a44_0x2a922f(0xc0),Constants[a44_0x2a922f(0xc4)][a44_0x2a922f(0xa5)],function(_0x35ca4a){const _0x328edf=a44_0x2a922f,_0xdafbb9={'ZOQHu':function(_0x54a8ee,_0x256717,_0x3fcea5,_0x4ede61){return _0x54a8ee(_0x256717,_0x3fcea5,_0x4ede61);},'QLgxb':function(_0x47fbab,_0x446b5e){return _0x47fbab(_0x446b5e);},'MEFko':_0x328edf(0xfe)},_0x74b519=process[_0x328edf(0x95)][_0x328edf(0x9c)](0x2);return _0xdafbb9[_0x328edf(0xcb)](captureError,_0xdafbb9[_0x328edf(0xd7)](require,_0xdafbb9[_0x328edf(0xcf)]),_0x35ca4a['argv'],_0x74b519);})[a44_0x2a922f(0xb4)]('nightwatch',Constants[a44_0x2a922f(0xa9)]['INFO'],function(_0x4c44c8){const _0x2ca86f=a44_0x2a922f,_0x129e72={'DVUob':function(_0xc38340,_0x3f5a93,_0x261902,_0x1d2977){return _0xc38340(_0x3f5a93,_0x261902,_0x1d2977);},'Frjkg':function(_0x1d2177,_0x387e10){return _0x1d2177(_0x387e10);},'gcUQi':_0x2ca86f(0xe1)},_0x1046c4=process[_0x2ca86f(0x95)][_0x2ca86f(0x9c)](0x2);return _0x129e72[_0x2ca86f(0xa0)](captureError,_0x129e72[_0x2ca86f(0xd8)](require,_0x129e72[_0x2ca86f(0xee)]),_0x4c44c8[_0x2ca86f(0x95)],_0x1046c4);})[a44_0x2a922f(0xb4)]('codeceptjs',Constants[a44_0x2a922f(0xdd)][a44_0x2a922f(0xa5)],function(_0x9b00a4){const _0x5f266d=a44_0x2a922f,_0x45fca0={'rcdPq':function(_0x102a19,_0x1a41f9,_0x776003,_0x519c05){return _0x102a19(_0x1a41f9,_0x776003,_0x519c05);},'yDJqG':function(_0x254ed0,_0x2b90ff){return _0x254ed0(_0x2b90ff);},'dRYtO':'./codeceptjs/command'},_0x192298=process[_0x5f266d(0x95)]['slice'](0x2);return _0x45fca0[_0x5f266d(0xc1)](captureError,_0x45fca0[_0x5f266d(0xcc)](require,_0x45fca0[_0x5f266d(0x9a)]),_0x9b00a4[_0x5f266d(0x95)],_0x192298);})['command']('ats',Constants['HST']['INFO'],function(_0x3bcf0c){const _0x2e0901=a44_0x2a922f,_0x3a9ccb={'klepT':function(_0x12c1ca,_0x41140b,_0x15a7d4){return _0x12c1ca(_0x41140b,_0x15a7d4);},'dDyNi':function(_0x27cad3,_0x3df5dd){return _0x27cad3(_0x3df5dd);},'RDpnz':_0x2e0901(0xed)},_0x3d223e=process[_0x2e0901(0x95)][_0x2e0901(0x9c)](0x2);return _0x3a9ccb[_0x2e0901(0xce)](captureError,_0x3a9ccb[_0x2e0901(0xbd)](require,_0x3a9ccb['RDpnz']),_0x3bcf0c);})[a44_0x2a922f(0xb4)](a44_0x2a922f(0xc9),Constants['INTEGRATIONS']['INFO'],function(_0x37cd6f){const _0x21a27e=a44_0x2a922f,_0x687235={'keFYx':function(_0x3fe7e2,_0x43478c){return _0x3fe7e2(_0x43478c);}};return _0x687235[_0x21a27e(0xa1)](runIntegrations,_0x37cd6f);})[a44_0x2a922f(0xb4)]('playwright',Constants[a44_0x2a922f(0xef)][a44_0x2a922f(0xa5)],function(_0x592a48){const _0x10a572=a44_0x2a922f,_0x457fa7={'UzmXr':function(_0x28731d,_0x487412,_0x29d28c,_0x13f563){return _0x28731d(_0x487412,_0x29d28c,_0x13f563);},'aAdaA':function(_0xb9c041,_0x2ed64b){return _0xb9c041(_0x2ed64b);},'gFnar':_0x10a572(0xfa)},_0x2a91a7=process[_0x10a572(0x95)][_0x10a572(0x9c)](0x2);return _0x457fa7[_0x10a572(0x9d)](captureError,_0x457fa7[_0x10a572(0x101)](require,_0x457fa7[_0x10a572(0xea)]),_0x592a48[_0x10a572(0x95)],_0x2a91a7);})[a44_0x2a922f(0xb8)](0x1,a44_0x2a922f(0x96))[a44_0x2a922f(0xd4)](null)[a44_0x2a922f(0x95)];!helper[a44_0x2a922f(0xff)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!=='ats'&&console[a44_0x2a922f(0xda)](a44_0x2a922f(0xaa));function a44_0x48ef(){const _0x262f9c=['start','HELP','./playwright/command','debug','find','setTestObservabilityDisable','./vanilla-js/command','isUndefined','./mocha/command','aAdaA','dCZYf','ZGfoV','5571jyRWWO','fireFunnelTestEvent','EVENTS','argv','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','push','.local-not-set.json','stack','dRYtO','message','slice','UzmXr','JEST','--require','DVUob','keFYx','--opts','unlinkSync','DZUNO','INFO','5175646yCokIx','usage:\x20$0\x20<command>\x20[args]','./cucumber-js/command','NIGHTWATCH','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','globalException','.browserstack','kiiwJ','version','12wjooNe','../helpers/helper','--config','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','path','command','CUCUMBER','7633350cZSqMk','Running\x20SDK\x20with\x20args\x20','demandCommand','mocha','HOrNf','util','./utils/constants','dDyNi','alias','SDK_SETUP','node','rcdPq','exitCode','--no-opts','VANILLA','help','lLuud','usage','mocha/lib/cli/commands.js','integrations','59429170phDZlC','ZOQHu','yDJqG','3256OLycSz','klepT','MEFko','YTcGQ','gtWyp','join','parserConfiguration','wrap','winstonLogger','run','QLgxb','Frjkg','nJScY','error','includes','framework','CODECEPTJS','KlYro','../helpers/performance/constants','4372748KycrYS','./nightwatch/command','--mochaRequire','yargs','--no-config','cucumber-js','MOCHA','findAndReplace','Kazeo','showHelpOnFail','gFnar','22wyYtoK','existsSync','../../ats/src/index','gcUQi','PLAYWRIGHT','SDK_CLEANUP','homedir','format','--package','./integrations/command','210801woRqna','end','470778YGEJgR'];a44_0x48ef=function(){return _0x262f9c;};return a44_0x48ef();}
2
+ 'use strict';function a44_0x1dc8(){const _0x5b5ade=['../helpers/helper','PLAYWRIGHT','format','avLjL','NIGHTWATCH','./mocha/command','run','message','PWhKT','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','mrvpP','UvKuw','info','findAndReplace','pFgBM','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','CODECEPTJS','GQYaQ','.browserstack','422409mnbAle','ORkMj','command','integrations','JEST','./vanilla-js/command','unlinkSync','Running\x20SDK\x20with\x20args\x20','96zxrmCV','INFO','hdpHa','--opts','WgvxL','path','lqxrW','framework','describe','SDKTestSuccessful','util','ats','usage:\x20$0\x20<command>\x20[args]','RzjUb','push','startMonitoring','QgDKF','SDK_CLEANUP','HST','vgAjF','join','alias','argv','valEJ','handler','nightwatch','setBrowserStackAutomationDisable','mocha/lib/cli/run.js','end','../helpers/logger','231028hHfbnp','EVENTS','--no-package','uozBW','includes','nFqxj','codeceptjs','Parsing\x20command\x20line\x20arguements','2948040vtqzXo','idxIv','node','mkvbb','8LUShWz','start','assign','setTestObservabilityDisable','ixFSr','existsSync','../helpers/performance/constants','NOIzV','./nightwatch/command','dot-notation','../helpers/utilities','isUndefined','jest','./cucumber-js/command','usage','xzZAL','error','./integrations/command','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','116175CQwlcV','slice','gHkrU','homedir','3026KlRXRL','VANILLA','fireFunnelTestEvent','./codeceptjs/command','202LhhWoN','mocha/lib/cli/commands.js','find','demandCommand','winstonLogger','parserConfiguration','debug','--require','wrap','config','gYoVU','exitCode','889791YakwBs','VLHXy','./utils/constants','SDK_SETUP','mocha','help','playwright','INTEGRATIONS','.local-not-set.json','mIZzz','dLtcd','MOCHA','VsZOb','VERSION','3778330nsXhkL'];a44_0x1dc8=function(){return _0x5b5ade;};return a44_0x1dc8();}const a44_0x284b6e=a44_0x5595;(function(_0x5051a3,_0x3a379b){const _0x534a39=a44_0x5595,_0x55add4=_0x5051a3();while(!![]){try{const _0x291cd8=-parseInt(_0x534a39(0x1fe))/0x1*(parseInt(_0x534a39(0x1fa))/0x2)+-parseInt(_0x534a39(0x1b1))/0x3+-parseInt(_0x534a39(0x1d7))/0x4+-parseInt(_0x534a39(0x1f6))/0x5*(-parseInt(_0x534a39(0x1b9))/0x6)+-parseInt(_0x534a39(0x20a))/0x7*(parseInt(_0x534a39(0x1e3))/0x8)+parseInt(_0x534a39(0x1df))/0x9+parseInt(_0x534a39(0x218))/0xa;if(_0x291cd8===_0x3a379b)break;else _0x55add4['push'](_0x55add4['shift']());}catch(_0x16b12b){_0x55add4['push'](_0x55add4['shift']());}}}(a44_0x1dc8,0x6cd9e));const fs=require('fs'),path=require(a44_0x284b6e(0x1be)),util=require(a44_0x284b6e(0x1c3)),{requireModule}=require('../helpers/helper'),PerformanceTester=require('../helpers/performance/performance-tester'),PerformanceEvents=require(a44_0x284b6e(0x1e9))[a44_0x284b6e(0x1d8)],helper=require(a44_0x284b6e(0x219)),utilities=require(a44_0x284b6e(0x1ed)),runIntegrations=require(a44_0x284b6e(0x1f4)),yargs=require('yargs'),Constants=require(a44_0x284b6e(0x20c)),logger=require(a44_0x284b6e(0x1d6))[a44_0x284b6e(0x202)],origArgs=Object[a44_0x284b6e(0x1e5)]([],process[a44_0x284b6e(0x1cf)]),captureError=async(_0xe5acc6,_0x33840c,_0x556f2a=null)=>{const _0x3a7a45=a44_0x284b6e,_0x290364={'WgvxL':function(_0x4e4b5b,_0x3057cb,_0x3c698b){return _0x4e4b5b(_0x3057cb,_0x3c698b);},'idxIv':_0x3a7a45(0x1c2)};try{logger[_0x3a7a45(0x225)](_0x3a7a45(0x1b8)+origArgs['join']('\x20')),await _0x290364[_0x3a7a45(0x1bd)](_0xe5acc6,_0x33840c,_0x556f2a);}catch(_0x598dcb){process[_0x3a7a45(0x209)]=0x1,logger['error'](util[_0x3a7a45(0x21b)](_0x598dcb));const _0x252014={};_0x252014['globalException']=_0x598dcb[_0x3a7a45(0x220)];const _0xb85ca5=_0x252014;PerformanceTester[_0x3a7a45(0x1d5)](PerformanceEvents[_0x3a7a45(0x20d)],![],util['format'](_0x598dcb));if(helper['isUndefined'](global[_0x3a7a45(0x207)])&&helper[_0x3a7a45(0x1ee)](global[_0x3a7a45(0x1c0)]))return;try{utilities[_0x3a7a45(0x1fc)](_0x290364[_0x3a7a45(0x1e0)],_0xb85ca5,global[_0x3a7a45(0x207)],global[_0x3a7a45(0x1c0)]);}catch(_0x3ab98c){logger[_0x3a7a45(0x204)](_0x3a7a45(0x222)+_0x3ab98c['stack']);}PerformanceTester['end'](PerformanceEvents[_0x3a7a45(0x20d)],![],util[_0x3a7a45(0x21b)](_0x598dcb));}finally{PerformanceTester[_0x3a7a45(0x1e4)](PerformanceEvents[_0x3a7a45(0x1ca)]);}};try{const browserstackFolderPath=path[a44_0x284b6e(0x1cd)](helper[a44_0x284b6e(0x1f9)](),a44_0x284b6e(0x1b0));if(fs[a44_0x284b6e(0x1e8)](browserstackFolderPath)){const filePath=path[a44_0x284b6e(0x1cd)](browserstackFolderPath,a44_0x284b6e(0x212));fs[a44_0x284b6e(0x1e8)](filePath)&&fs[a44_0x284b6e(0x1b7)](filePath);}}catch(a44_0x2fa533){logger[a44_0x284b6e(0x204)](a44_0x284b6e(0x1f5)+a44_0x2fa533['message']);}process['argv'][a44_0x284b6e(0x1db)]('mocha')&&(!process[a44_0x284b6e(0x1cf)][a44_0x284b6e(0x1db)](a44_0x284b6e(0x1bc))&&process['argv'][a44_0x284b6e(0x1c7)]('--no-opts'),!process[a44_0x284b6e(0x1cf)][a44_0x284b6e(0x200)](_0x2de876=>_0x2de876['includes']('--config'))&&process['argv'][a44_0x284b6e(0x1c7)]('--no-config'),!process['argv'][a44_0x284b6e(0x1db)]('--package')&&process[a44_0x284b6e(0x1cf)][a44_0x284b6e(0x1c7)](a44_0x284b6e(0x1d9)),helper[a44_0x284b6e(0x226)](process[a44_0x284b6e(0x1cf)],a44_0x284b6e(0x205),'--mochaRequire'));PerformanceTester[a44_0x284b6e(0x1c8)](),PerformanceTester[a44_0x284b6e(0x1e4)](PerformanceEvents[a44_0x284b6e(0x20d)]);const a44_0xe0373e={};a44_0xe0373e[a44_0x284b6e(0x1ec)]=![];const argv=yargs[a44_0x284b6e(0x203)](a44_0xe0373e)[a44_0x284b6e(0x1f1)](a44_0x284b6e(0x1c5))[a44_0x284b6e(0x1ce)]('v','version')[a44_0x284b6e(0x1c1)]('v')[a44_0x284b6e(0x1ce)]('h',a44_0x284b6e(0x20f))[a44_0x284b6e(0x20f)](a44_0x284b6e(0x20f))['showHelpOnFail'](!![],Constants[a44_0x284b6e(0x217)]['HELP'])[a44_0x284b6e(0x1b3)](a44_0x284b6e(0x1ef),Constants[a44_0x284b6e(0x1b5)][a44_0x284b6e(0x1ba)],function(_0x2b5c0b){const _0x88a908=a44_0x284b6e,_0x4ff357={'uozBW':function(_0x12fae9,_0x4ab98b,_0x40369c,_0xe2b979){return _0x12fae9(_0x4ab98b,_0x40369c,_0xe2b979);},'eCWiH':function(_0x30f3d7,_0x1781be){return _0x30f3d7(_0x1781be);},'NOIzV':'./jest/command'};helper[_0x88a908(0x1e6)](),helper[_0x88a908(0x1d3)]();const _0x441982=process[_0x88a908(0x1cf)]['slice'](0x2);return _0x4ff357[_0x88a908(0x1da)](captureError,_0x4ff357['eCWiH'](require,_0x4ff357[_0x88a908(0x1ea)]),_0x2b5c0b[_0x88a908(0x1cf)],_0x441982);})[a44_0x284b6e(0x1b3)](a44_0x284b6e(0x20e),Constants[a44_0x284b6e(0x215)][a44_0x284b6e(0x1ba)],_0x92db45=>{const _0x65a167=a44_0x284b6e,_0x96728f={'ixFSr':function(_0x25c4fb,_0x2907f7,_0x147ac4){return _0x25c4fb(_0x2907f7,_0x147ac4);},'depbB':function(_0x4229f0,_0x4c883f){return _0x4229f0(_0x4c883f);},'mkvbb':_0x65a167(0x21e),'ORkMj':_0x65a167(0x1de),'nFqxj':_0x65a167(0x1d4),'dLtcd':_0x65a167(0x20e),'mrvpP':_0x65a167(0x1ff),'xzZAL':'mocha/lib/cli/cli.js','gYoVU':function(_0x2fe41b){return _0x2fe41b();}};logger[_0x65a167(0x204)](_0x96728f[_0x65a167(0x1b2)]);const _0x4b015d=_0x96728f['ixFSr'](requireModule,_0x96728f[_0x65a167(0x1dc)],_0x96728f[_0x65a167(0x214)]),_0x24f898=_0x96728f['ixFSr'](requireModule,_0x96728f[_0x65a167(0x223)],_0x96728f[_0x65a167(0x214)]);process[_0x65a167(0x1cf)]=process['argv'][_0x65a167(0x1f7)](0x1),delete _0x4b015d[_0x65a167(0x1d1)],_0x4b015d[_0x65a167(0x1d1)]=function(_0x1027b4){const _0x17b0ce=_0x65a167;return _0x96728f[_0x17b0ce(0x1e7)](captureError,_0x96728f['depbB'](require,_0x96728f[_0x17b0ce(0x1e2)]),_0x1027b4);},_0x24f898[_0x65a167(0x21f)]=_0x4b015d;const {main:_0x215a07}=_0x96728f['ixFSr'](requireModule,_0x96728f[_0x65a167(0x1f2)],_0x96728f[_0x65a167(0x214)]);_0x96728f[_0x65a167(0x208)](_0x215a07);})[a44_0x284b6e(0x1b3)]('cucumber-js',Constants['CUCUMBER'][a44_0x284b6e(0x1ba)],function(_0x23adce){const _0x4f097d=a44_0x284b6e,_0x368597={'vgAjF':function(_0x1d5c2f,_0x1636f8,_0x12ef77,_0x582f09){return _0x1d5c2f(_0x1636f8,_0x12ef77,_0x582f09);},'kAwLm':function(_0x24fc78,_0x2b9cca){return _0x24fc78(_0x2b9cca);},'pFgBM':_0x4f097d(0x1f0)},_0x28b5e6=process['argv'][_0x4f097d(0x1f7)](0x2);return _0x368597[_0x4f097d(0x1cc)](captureError,_0x368597['kAwLm'](require,_0x368597[_0x4f097d(0x227)]),_0x23adce['argv'],_0x28b5e6);})[a44_0x284b6e(0x1b3)](a44_0x284b6e(0x1e1),Constants[a44_0x284b6e(0x1fb)][a44_0x284b6e(0x1ba)],function(_0x47da88){const _0x5d46e1=a44_0x284b6e,_0x3d339f={'lqxrW':function(_0x4d5cdc,_0x4a2751,_0x2e90af,_0x3cfee5){return _0x4d5cdc(_0x4a2751,_0x2e90af,_0x3cfee5);},'ZITMN':function(_0x3e8c7b,_0x131db8){return _0x3e8c7b(_0x131db8);},'gHkrU':_0x5d46e1(0x1b6)},_0x3582f1=process[_0x5d46e1(0x1cf)][_0x5d46e1(0x1f7)](0x2);return _0x3d339f[_0x5d46e1(0x1bf)](captureError,_0x3d339f['ZITMN'](require,_0x3d339f[_0x5d46e1(0x1f8)]),_0x47da88['argv'],_0x3582f1);})[a44_0x284b6e(0x1b3)](a44_0x284b6e(0x1d2),Constants[a44_0x284b6e(0x21d)][a44_0x284b6e(0x1ba)],function(_0x4e4da9){const _0x13be59=a44_0x284b6e,_0x28bdb8={'avLjL':function(_0x54e0aa,_0xa90382,_0x112c6f,_0x11a692){return _0x54e0aa(_0xa90382,_0x112c6f,_0x11a692);},'UvKuw':function(_0x265694,_0x44d88f){return _0x265694(_0x44d88f);},'UVpQS':_0x13be59(0x1eb)},_0x4f0f25=process[_0x13be59(0x1cf)]['slice'](0x2);return _0x28bdb8[_0x13be59(0x21c)](captureError,_0x28bdb8[_0x13be59(0x224)](require,_0x28bdb8['UVpQS']),_0x4e4da9[_0x13be59(0x1cf)],_0x4f0f25);})['command'](a44_0x284b6e(0x1dd),Constants[a44_0x284b6e(0x229)][a44_0x284b6e(0x1ba)],function(_0xdb85b1){const _0x4efe1b=a44_0x284b6e,_0x273b50={'GQYaQ':function(_0x3bb8ed,_0x4fff92,_0x3f3049,_0xb0e73a){return _0x3bb8ed(_0x4fff92,_0x3f3049,_0xb0e73a);},'ZjScI':function(_0x3094da,_0x550729){return _0x3094da(_0x550729);},'QgDKF':_0x4efe1b(0x1fd)},_0x42fbeb=process[_0x4efe1b(0x1cf)][_0x4efe1b(0x1f7)](0x2);return _0x273b50[_0x4efe1b(0x22a)](captureError,_0x273b50['ZjScI'](require,_0x273b50[_0x4efe1b(0x1c9)]),_0xdb85b1['argv'],_0x42fbeb);})[a44_0x284b6e(0x1b3)](a44_0x284b6e(0x1c4),Constants[a44_0x284b6e(0x1cb)]['INFO'],function(_0x2bc38e){const _0x188cba=a44_0x284b6e,_0x7ee1a9={'RzjUb':function(_0x358bd8,_0xeeaf14,_0x259d9f){return _0x358bd8(_0xeeaf14,_0x259d9f);},'hdpHa':function(_0x756768,_0x1787c5){return _0x756768(_0x1787c5);},'VLHXy':'../../ats/src/index'},_0x47d4b3=process[_0x188cba(0x1cf)][_0x188cba(0x1f7)](0x2);return _0x7ee1a9[_0x188cba(0x1c6)](captureError,_0x7ee1a9[_0x188cba(0x1bb)](require,_0x7ee1a9[_0x188cba(0x20b)]),_0x2bc38e);})[a44_0x284b6e(0x1b3)](a44_0x284b6e(0x1b4),Constants[a44_0x284b6e(0x211)][a44_0x284b6e(0x1ba)],function(_0x5c214a){const _0x2cec9a=a44_0x284b6e,_0x1efd11={'valEJ':function(_0x482b74,_0x33cbc5){return _0x482b74(_0x33cbc5);}};return _0x1efd11[_0x2cec9a(0x1d0)](runIntegrations,_0x5c214a);})[a44_0x284b6e(0x1b3)](a44_0x284b6e(0x210),Constants[a44_0x284b6e(0x21a)]['INFO'],function(_0x556af7){const _0x21f242=a44_0x284b6e,_0x5554be={'PWhKT':function(_0x58ca17,_0x49b5d3,_0x504671,_0x36629b){return _0x58ca17(_0x49b5d3,_0x504671,_0x36629b);},'mIZzz':function(_0x7e02bf,_0x2e4248){return _0x7e02bf(_0x2e4248);},'VsZOb':'./playwright/command'},_0x49221b=process[_0x21f242(0x1cf)][_0x21f242(0x1f7)](0x2);return _0x5554be[_0x21f242(0x221)](captureError,_0x5554be[_0x21f242(0x213)](require,_0x5554be[_0x21f242(0x216)]),_0x556af7[_0x21f242(0x1cf)],_0x49221b);})[a44_0x284b6e(0x201)](0x1,a44_0x284b6e(0x228))[a44_0x284b6e(0x206)](null)[a44_0x284b6e(0x1cf)];function a44_0x5595(_0x14a871,_0x37bb4c){const _0x1dc8d2=a44_0x1dc8();return a44_0x5595=function(_0x5595ae,_0x540672){_0x5595ae=_0x5595ae-0x1b0;let _0x470119=_0x1dc8d2[_0x5595ae];return _0x470119;},a44_0x5595(_0x14a871,_0x37bb4c);}!helper['isUndefined'](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a44_0x284b6e(0x1c4)&&console[a44_0x284b6e(0x1f3)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');