browserstack-node-sdk 1.42.3 → 1.42.5

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 (176) 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/cucumber-sessionDetails.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  50. package/src/bin/cucumber-js/playwright-patcher.js +1 -1
  51. package/src/bin/cucumber-js/test-observability.js +1 -1
  52. package/src/bin/cucumber-js/test.setup.js +1 -1
  53. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  54. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  55. package/src/bin/integrations/command.js +1 -1
  56. package/src/bin/integrations/constants.js +1 -1
  57. package/src/bin/jest/command.js +1 -1
  58. package/src/bin/jest/customImplements/customCircus.js +1 -1
  59. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  60. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  61. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  62. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  63. package/src/bin/jest/jest.setup.js +1 -1
  64. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  65. package/src/bin/jest/test-observability/helper.js +1 -1
  66. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  67. package/src/bin/jest/test-observability/test-details.js +1 -1
  68. package/src/bin/jest/test_before.setup.js +1 -1
  69. package/src/bin/launcher/launcher.js +1 -1
  70. package/src/bin/load/index.js +1 -1
  71. package/src/bin/load/loadUtils.js +1 -1
  72. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  73. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  74. package/src/bin/mocha/command.js +1 -1
  75. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  76. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  77. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  78. package/src/bin/mocha/test.setup.js +1 -1
  79. package/src/bin/nightwatch/command.js +1 -1
  80. package/src/bin/playwright/accessibility-helper.js +1 -1
  81. package/src/bin/playwright/command.js +1 -1
  82. package/src/bin/playwright/globalSetup.js +1 -1
  83. package/src/bin/playwright/mock-process.js +1 -1
  84. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  85. package/src/bin/playwright/patches.js +1 -1
  86. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  87. package/src/bin/playwright/reporter/reporter.js +1 -1
  88. package/src/bin/playwright/reporter/test-details.js +1 -1
  89. package/src/bin/playwright/sessionDetails.js +1 -1
  90. package/src/bin/runner.js +1 -1
  91. package/src/bin/setup.js +1 -1
  92. package/src/bin/test-runner/index.js +1 -1
  93. package/src/bin/test-runner/runTest.js +1 -1
  94. package/src/bin/test-runner/testWorker.js +1 -1
  95. package/src/bin/utils/constants.js +1 -1
  96. package/src/bin/utils/log4jsAppender.js +1 -1
  97. package/src/bin/utils/logPatcher.js +1 -1
  98. package/src/bin/utils/logReportingAPI.js +1 -1
  99. package/src/bin/v2/TestInfo.js +1 -1
  100. package/src/bin/v2/browserstackCLI.js +1 -1
  101. package/src/bin/v2/cliUtils.js +1 -1
  102. package/src/bin/v2/customTagManager.js +1 -1
  103. package/src/bin/v2/eventDispatcher.js +1 -1
  104. package/src/bin/v2/framework/automationFramework.js +1 -1
  105. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  106. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  107. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  108. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  109. package/src/bin/v2/framework/testFramework.js +1 -1
  110. package/src/bin/v2/grpcClient.js +1 -1
  111. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  112. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  113. package/src/bin/v2/instances/trackedContext.js +1 -1
  114. package/src/bin/v2/instances/trackedInstance.js +1 -1
  115. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  116. package/src/bin/v2/modules/baseModule.js +1 -1
  117. package/src/bin/v2/modules/observabilityModule.js +1 -1
  118. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  119. package/src/bin/v2/modules/testhubModule.js +1 -1
  120. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  121. package/src/bin/v2/state/hookState.js +1 -1
  122. package/src/bin/v2/state/testFrameworkState.js +1 -1
  123. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  124. package/src/bin/vanilla-js/command.js +1 -1
  125. package/src/browserStackSdk.js +1 -1
  126. package/src/helpers/BrowserStackSetup.js +1 -1
  127. package/src/helpers/accessibility-automation/constants.js +1 -1
  128. package/src/helpers/accessibility-automation/helper.js +1 -1
  129. package/src/helpers/accessibility-automation/scripts.js +1 -1
  130. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  131. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  132. package/src/helpers/ats/constants.js +1 -1
  133. package/src/helpers/ats/helper.js +1 -1
  134. package/src/helpers/capsMapping.js +1 -1
  135. package/src/helpers/central-scanner/constants.js +1 -1
  136. package/src/helpers/central-scanner/helpers.js +1 -1
  137. package/src/helpers/classLogger.js +1 -1
  138. package/src/helpers/globals.js +1 -1
  139. package/src/helpers/helper.js +1 -1
  140. package/src/helpers/logger.js +1 -1
  141. package/src/helpers/metadata.js +1 -1
  142. package/src/helpers/patchHelper.js +1 -1
  143. package/src/helpers/patchHelpers.js +1 -1
  144. package/src/helpers/percy/Percy.js +1 -1
  145. package/src/helpers/percy/PercyBinary.js +1 -1
  146. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  147. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  148. package/src/helpers/percy/PercySDK.js +1 -1
  149. package/src/helpers/percy/index.js +1 -1
  150. package/src/helpers/percy/utils.js +1 -1
  151. package/src/helpers/performance/constants.js +1 -1
  152. package/src/helpers/performance/performance-tester.js +1 -1
  153. package/src/helpers/playwright-helper.js +1 -1
  154. package/src/helpers/processHelper.js +1 -1
  155. package/src/helpers/request-spy.js +1 -1
  156. package/src/helpers/setKeepAlive.js +1 -1
  157. package/src/helpers/test-observability/constants.js +1 -1
  158. package/src/helpers/test-observability/error-handler.js +1 -1
  159. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  160. package/src/helpers/test-observability/sessionHandler.js +1 -1
  161. package/src/helpers/test-observability/utils.js +1 -1
  162. package/src/helpers/test-orchestration/constants.js +1 -1
  163. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  164. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  165. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  166. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  167. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  168. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  169. package/src/helpers/testhub/constants.js +1 -1
  170. package/src/helpers/testhub/testhubHandler.js +1 -1
  171. package/src/helpers/testhub/utils.js +1 -1
  172. package/src/helpers/timeoutPromise.js +1 -1
  173. package/src/helpers/utilities.js +1 -1
  174. package/src/helpers/w3cMapping.js +1 -1
  175. package/src/hubAllocationMethods.js +1 -1
  176. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a70_0x32866c=a70_0x4116;function a70_0x4116(_0x36fecb,_0x29f62d){const _0x131c53=a70_0x131c();return a70_0x4116=function(_0x41161b,_0x39c4e0){_0x41161b=_0x41161b-0x1de;let _0x242278=_0x131c53[_0x41161b];return _0x242278;},a70_0x4116(_0x36fecb,_0x29f62d);}function a70_0x131c(){const _0x175d70=['./trackedInstance','4336684WLgewa','10113LAaFVn','9323880RIQDYG','state','split','54245aUvUmw','624xHCWQC','getFrameworkVersion','1217PSLPPg','10fNXUmB','236mkNXZb','746541YUrine','toLocaleString','getFrameworkName','4|1|0|5|2|3','542BqwmKV','setState','lastState','getState','frameworkName','114vEtacf','../state/automationFrameworkState','frameworkVersion','52577ZhMdez','ZwFOJ','13UBbeFI'];a70_0x131c=function(){return _0x175d70;};return a70_0x131c();}(function(_0x2590c5,_0x2ecfc1){const _0x3a89f8=a70_0x4116,_0xab104f=_0x2590c5();while(!![]){try{const _0x659182=-parseInt(_0x3a89f8(0x1f0))/0x1*(parseInt(_0x3a89f8(0x1f7))/0x2)+parseInt(_0x3a89f8(0x1e9))/0x3*(-parseInt(_0x3a89f8(0x1f2))/0x4)+-parseInt(_0x3a89f8(0x1ed))/0x5*(parseInt(_0x3a89f8(0x1e1))/0x6)+parseInt(_0x3a89f8(0x1e4))/0x7*(parseInt(_0x3a89f8(0x1ee))/0x8)+parseInt(_0x3a89f8(0x1f3))/0x9*(parseInt(_0x3a89f8(0x1f1))/0xa)+-parseInt(_0x3a89f8(0x1e8))/0xb+-parseInt(_0x3a89f8(0x1ea))/0xc*(-parseInt(_0x3a89f8(0x1e6))/0xd);if(_0x659182===_0x2ecfc1)break;else _0xab104f['push'](_0xab104f['shift']());}catch(_0x2900e9){_0xab104f['push'](_0xab104f['shift']());}}}(a70_0x131c,0x4d536));const AutomationFrameworkState=require(a70_0x32866c(0x1e2)),TrackedInstance=require(a70_0x32866c(0x1e7)),now=new Date();class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x2eb970,_0x542368,_0x463cd0,_0x2bd9ab){const _0x3db18c=a70_0x32866c,_0x55d26c={};_0x55d26c[_0x3db18c(0x1e5)]=_0x3db18c(0x1f6);const _0x56e6b3=_0x55d26c,_0x27f505=_0x56e6b3['ZwFOJ'][_0x3db18c(0x1ec)]('|');let _0x1c4f12=0x0;while(!![]){switch(_0x27f505[_0x1c4f12++]){case'0':this[_0x3db18c(0x1e3)]=_0x463cd0;continue;case'1':this[_0x3db18c(0x1e0)]=_0x542368;continue;case'2':this[_0x3db18c(0x1de)]=AutomationFrameworkState['NONE'];continue;case'3':this['createdAt']=now[_0x3db18c(0x1f4)]();continue;case'4':super(_0x2eb970);continue;case'5':this[_0x3db18c(0x1eb)]=_0x2bd9ab;continue;}break;}}[a70_0x32866c(0x1f5)](){const _0x436e86=a70_0x32866c;return this[_0x436e86(0x1e0)];}[a70_0x32866c(0x1ef)](){const _0x564189=a70_0x32866c;return this[_0x564189(0x1e3)];}[a70_0x32866c(0x1df)](){const _0x47d9a1=a70_0x32866c;return this[_0x47d9a1(0x1eb)];}[a70_0x32866c(0x1f8)](_0x55761e){const _0x48314e=a70_0x32866c;this[_0x48314e(0x1de)]=this['state'],this['state']=_0x55761e;}}module['exports']=AutomationFrameworkInstance;
1
+ function a70_0x378c(_0x21c883,_0x524c71){const _0x306648=a70_0x3066();return a70_0x378c=function(_0x378cc4,_0x3e6c75){_0x378cc4=_0x378cc4-0xf1;let _0x489423=_0x306648[_0x378cc4];return _0x489423;},a70_0x378c(_0x21c883,_0x524c71);}const a70_0x3c626f=a70_0x378c;(function(_0x53575d,_0x11815a){const _0x3d72b5=a70_0x378c,_0x328499=_0x53575d();while(!![]){try{const _0x275edd=parseInt(_0x3d72b5(0xfc))/0x1*(parseInt(_0x3d72b5(0xf7))/0x2)+-parseInt(_0x3d72b5(0xf5))/0x3+-parseInt(_0x3d72b5(0x109))/0x4+parseInt(_0x3d72b5(0x100))/0x5*(-parseInt(_0x3d72b5(0x104))/0x6)+parseInt(_0x3d72b5(0x101))/0x7+-parseInt(_0x3d72b5(0xfa))/0x8+parseInt(_0x3d72b5(0xf3))/0x9;if(_0x275edd===_0x11815a)break;else _0x328499['push'](_0x328499['shift']());}catch(_0x1c845a){_0x328499['push'](_0x328499['shift']());}}}(a70_0x3066,0x29899));const AutomationFrameworkState=require(a70_0x3c626f(0x106)),TrackedInstance=require(a70_0x3c626f(0xff)),now=new Date();class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x596e4a,_0x495a76,_0x524a47,_0x48dc30){const _0x2e9462=a70_0x3c626f,_0x363c41={};_0x363c41[_0x2e9462(0x103)]=_0x2e9462(0xf4);const _0x515c2b=_0x363c41,_0x3e9ee5=_0x515c2b[_0x2e9462(0x103)][_0x2e9462(0xfd)]('|');let _0x1c397a=0x0;while(!![]){switch(_0x3e9ee5[_0x1c397a++]){case'0':this[_0x2e9462(0x102)]=now[_0x2e9462(0x108)]();continue;case'1':this['frameworkName']=_0x495a76;continue;case'2':this[_0x2e9462(0xf2)]=_0x524a47;continue;case'3':this['lastState']=AutomationFrameworkState[_0x2e9462(0x10a)];continue;case'4':this[_0x2e9462(0xf9)]=_0x48dc30;continue;case'5':super(_0x596e4a);continue;}break;}}[a70_0x3c626f(0xf8)](){const _0x1feb05=a70_0x3c626f;return this[_0x1feb05(0x105)];}[a70_0x3c626f(0xfe)](){const _0x1c9a4b=a70_0x3c626f;return this[_0x1c9a4b(0xf2)];}[a70_0x3c626f(0xf6)](){return this['state'];}[a70_0x3c626f(0x107)](_0x43fe0b){const _0x3a7399=a70_0x3c626f;this[_0x3a7399(0xfb)]=this[_0x3a7399(0xf9)],this[_0x3a7399(0xf9)]=_0x43fe0b;}}module[a70_0x3c626f(0xf1)]=AutomationFrameworkInstance;function a70_0x3066(){const _0x1a0e6a=['NONE','exports','frameworkVersion','4221162aBgYrD','5|1|2|4|3|0','879501lwdlOv','getState','2jgbVMu','getFrameworkName','state','2504616YQQfPy','lastState','324631vTFNsg','split','getFrameworkVersion','./trackedInstance','183245geEYfn','1861125McZqvG','createdAt','kuYnM','30SZlvcj','frameworkName','../state/automationFrameworkState','setState','toLocaleString','399592wrHCkH'];a70_0x3066=function(){return _0x1a0e6a;};return a70_0x3066();}
@@ -1 +1 @@
1
- const a71_0x2bf088=a71_0x4ed0;(function(_0x5c1d67,_0x164289){const _0x3ba53f=a71_0x4ed0,_0x5f031f=_0x5c1d67();while(!![]){try{const _0x595636=-parseInt(_0x3ba53f(0x158))/0x1+-parseInt(_0x3ba53f(0x145))/0x2*(parseInt(_0x3ba53f(0x143))/0x3)+parseInt(_0x3ba53f(0x14b))/0x4+-parseInt(_0x3ba53f(0x153))/0x5+parseInt(_0x3ba53f(0x147))/0x6+parseInt(_0x3ba53f(0x151))/0x7+parseInt(_0x3ba53f(0x144))/0x8;if(_0x595636===_0x164289)break;else _0x5f031f['push'](_0x5f031f['shift']());}catch(_0x50dc95){_0x5f031f['push'](_0x5f031f['shift']());}}}(a71_0x3ed2,0x733f7));function a71_0x3ed2(){const _0x2037bb=['toLocaleString','currentTestState','setCurrentTestState','currentHookState','167279lCObJv','getLastHookState','3397420SUsmqC','getCurrentHookState','./trackedContext','setLastHookState','../state/testFrameworkState','35175trnlwC','0|3|7|4|5|1|6|2','../../../helpers/classLogger','setCurrentHookState','getCreatedAt','./trackedInstance','lastHookState','createdAt','getLastTestState','split','setLastTestState','testFrameworksVersions','1622853omkjGm','8063128TrcvxO','2ylHtgm','NONE','3893322iqYDwr','lastTestState','testFrameworks','tTdEV','187960yZoXnW','getCurrentTestState'];a71_0x3ed2=function(){return _0x2037bb;};return a71_0x3ed2();}const {createClassLogger}=require(a71_0x2bf088(0x15a)),logger=createClassLogger('TrackedInstance'),HookState=require('../state/hookState'),TestFrameworkState=require(a71_0x2bf088(0x157)),TrackedContext=require(a71_0x2bf088(0x155)),TrackedInstance=require(a71_0x2bf088(0x15d)),now=new Date();class TestFrameworkInstance extends TrackedInstance{constructor(_0x107de0,_0xb24f12,_0x4da83d,_0x1ae807,_0x4d2a06){const _0x43746a=a71_0x2bf088,_0x1a93c6={};_0x1a93c6[_0x43746a(0x14a)]=_0x43746a(0x159);const _0x133167=_0x1a93c6,_0x137954=_0x133167[_0x43746a(0x14a)][_0x43746a(0x161)]('|');let _0x534cea=0x0;while(!![]){switch(_0x137954[_0x534cea++]){case'0':super(_0x107de0);continue;case'1':this[_0x43746a(0x148)]=TestFrameworkState[_0x43746a(0x146)];continue;case'2':this[_0x43746a(0x15f)]=now[_0x43746a(0x14d)]();continue;case'3':this[_0x43746a(0x149)]=_0xb24f12;continue;case'4':this[_0x43746a(0x14e)]=_0x1ae807;continue;case'5':this['currentHookState']=_0x4d2a06;continue;case'6':this[_0x43746a(0x15e)]=HookState[_0x43746a(0x146)];continue;case'7':this[_0x43746a(0x142)]=_0x4da83d;continue;}break;}}[a71_0x2bf088(0x14c)](){const _0x45bb55=a71_0x2bf088;return this[_0x45bb55(0x14e)];}[a71_0x2bf088(0x14f)](_0x22bf36){const _0x57e693=a71_0x2bf088;this['setLastTestState'](this['currentTestState']),this[_0x57e693(0x14e)]=_0x22bf36;}[a71_0x2bf088(0x154)](){const _0x37f56e=a71_0x2bf088;return this[_0x37f56e(0x150)];}[a71_0x2bf088(0x15b)](_0x117146){const _0x26d809=a71_0x2bf088;this[_0x26d809(0x156)](this[_0x26d809(0x150)]),this[_0x26d809(0x150)]=_0x117146;}[a71_0x2bf088(0x160)](){return this['lastTestState'];}[a71_0x2bf088(0x162)](_0x112eb2){const _0x545d90=a71_0x2bf088;this[_0x545d90(0x148)]=_0x112eb2;}[a71_0x2bf088(0x152)](){const _0x2bf40c=a71_0x2bf088;return this[_0x2bf40c(0x15e)];}[a71_0x2bf088(0x156)](_0xd4bdf2){const _0x576039=a71_0x2bf088;this[_0x576039(0x15e)]=_0xd4bdf2;}[a71_0x2bf088(0x15c)](){const _0x3598c9=a71_0x2bf088;return this[_0x3598c9(0x15f)];}}function a71_0x4ed0(_0x78752d,_0x3bf247){const _0x3ed27f=a71_0x3ed2();return a71_0x4ed0=function(_0x4ed0b0,_0x58f3b9){_0x4ed0b0=_0x4ed0b0-0x142;let _0x2a1450=_0x3ed27f[_0x4ed0b0];return _0x2a1450;},a71_0x4ed0(_0x78752d,_0x3bf247);}module['exports']=TestFrameworkInstance;
1
+ const a71_0x1e2bad=a71_0x2e67;(function(_0x7192db,_0xb3c123){const _0x565a06=a71_0x2e67,_0x337401=_0x7192db();while(!![]){try{const _0x1c05eb=parseInt(_0x565a06(0x1ae))/0x1*(-parseInt(_0x565a06(0x1be))/0x2)+parseInt(_0x565a06(0x1c8))/0x3*(-parseInt(_0x565a06(0x1ab))/0x4)+parseInt(_0x565a06(0x1c1))/0x5+-parseInt(_0x565a06(0x1bb))/0x6+-parseInt(_0x565a06(0x1bd))/0x7+parseInt(_0x565a06(0x1b0))/0x8+-parseInt(_0x565a06(0x1af))/0x9*(-parseInt(_0x565a06(0x1bc))/0xa);if(_0x1c05eb===_0xb3c123)break;else _0x337401['push'](_0x337401['shift']());}catch(_0x19cbed){_0x337401['push'](_0x337401['shift']());}}}(a71_0x9207,0xb0aa0));function a71_0x2e67(_0x9e4659,_0x3b935c){const _0x9207aa=a71_0x9207();return a71_0x2e67=function(_0x2e6744,_0x3d7092){_0x2e6744=_0x2e6744-0x1aa;let _0x40f308=_0x9207aa[_0x2e6744];return _0x40f308;},a71_0x2e67(_0x9e4659,_0x3b935c);}const {createClassLogger}=require(a71_0x1e2bad(0x1ac)),logger=createClassLogger('TrackedInstance'),HookState=require(a71_0x1e2bad(0x1b8)),TestFrameworkState=require(a71_0x1e2bad(0x1c4)),TrackedContext=require(a71_0x1e2bad(0x1b9)),TrackedInstance=require(a71_0x1e2bad(0x1c3)),now=new Date();class TestFrameworkInstance extends TrackedInstance{constructor(_0x5172a6,_0x4f1135,_0x14ebba,_0x4c8efa,_0x3040c6){const _0x158e9b=a71_0x1e2bad,_0x106222={};_0x106222[_0x158e9b(0x1c7)]=_0x158e9b(0x1b7);const _0xc76241=_0x106222,_0x509ea8=_0xc76241[_0x158e9b(0x1c7)][_0x158e9b(0x1b5)]('|');let _0x1bcf3f=0x0;while(!![]){switch(_0x509ea8[_0x1bcf3f++]){case'0':this['currentHookState']=_0x3040c6;continue;case'1':this[_0x158e9b(0x1c5)]=TestFrameworkState['NONE'];continue;case'2':this['testFrameworksVersions']=_0x14ebba;continue;case'3':this['lastHookState']=HookState[_0x158e9b(0x1b4)];continue;case'4':super(_0x5172a6);continue;case'5':this[_0x158e9b(0x1c6)]=now[_0x158e9b(0x1b3)]();continue;case'6':this[_0x158e9b(0x1b1)]=_0x4c8efa;continue;case'7':this['testFrameworks']=_0x4f1135;continue;}break;}}['getCurrentTestState'](){const _0x93de88=a71_0x1e2bad;return this[_0x93de88(0x1b1)];}[a71_0x1e2bad(0x1c2)](_0x3219ee){const _0x24dd54=a71_0x1e2bad;this[_0x24dd54(0x1ad)](this['currentTestState']),this['currentTestState']=_0x3219ee;}['getCurrentHookState'](){const _0x39cb5f=a71_0x1e2bad;return this[_0x39cb5f(0x1aa)];}['setCurrentHookState'](_0x6a3dfa){const _0x5851fc=a71_0x1e2bad;this[_0x5851fc(0x1b6)](this[_0x5851fc(0x1aa)]),this[_0x5851fc(0x1aa)]=_0x6a3dfa;}[a71_0x1e2bad(0x1c0)](){const _0x3946a3=a71_0x1e2bad;return this[_0x3946a3(0x1c5)];}[a71_0x1e2bad(0x1ad)](_0x5497fd){const _0x4ec327=a71_0x1e2bad;this[_0x4ec327(0x1c5)]=_0x5497fd;}[a71_0x1e2bad(0x1b2)](){const _0x2cb407=a71_0x1e2bad;return this[_0x2cb407(0x1bf)];}[a71_0x1e2bad(0x1b6)](_0xbe0306){const _0x161f6e=a71_0x1e2bad;this[_0x161f6e(0x1bf)]=_0xbe0306;}['getCreatedAt'](){const _0x14a092=a71_0x1e2bad;return this[_0x14a092(0x1c6)];}}function a71_0x9207(){const _0x259ba1=['toLocaleString','NONE','split','setLastHookState','4|7|2|6|0|1|3|5','../state/hookState','./trackedContext','exports','7398228NdvERv','117830Cetmww','9276092hYsECM','358IJPURd','lastHookState','getLastTestState','6046895tzirhb','setCurrentTestState','./trackedInstance','../state/testFrameworkState','lastTestState','createdAt','fzTIy','19887VXIVso','currentHookState','200PREoqo','../../../helpers/classLogger','setLastTestState','2827kqfxhr','1881uuVoJb','3578136qKfNNp','currentTestState','getLastHookState'];a71_0x9207=function(){return _0x259ba1;};return a71_0x9207();}module[a71_0x1e2bad(0x1ba)]=TestFrameworkInstance;
@@ -1 +1 @@
1
- const a72_0x28641d=a72_0x5d43;function a72_0x5d43(_0x4bf523,_0x1bc317){const _0x2c26b0=a72_0x2c26();return a72_0x5d43=function(_0x5d43d7,_0xfca54c){_0x5d43d7=_0x5d43d7-0x1c4;let _0x46a362=_0x2c26b0[_0x5d43d7];return _0x46a362;},a72_0x5d43(_0x4bf523,_0x1bc317);}(function(_0x11e03b,_0x12cc3b){const _0x38813e=a72_0x5d43,_0x151d20=_0x11e03b();while(!![]){try{const _0x89a937=parseInt(_0x38813e(0x1d6))/0x1+parseInt(_0x38813e(0x1c7))/0x2+parseInt(_0x38813e(0x1d5))/0x3*(-parseInt(_0x38813e(0x1d3))/0x4)+parseInt(_0x38813e(0x1d2))/0x5+-parseInt(_0x38813e(0x1d0))/0x6*(parseInt(_0x38813e(0x1c9))/0x7)+-parseInt(_0x38813e(0x1d1))/0x8+parseInt(_0x38813e(0x1c4))/0x9*(parseInt(_0x38813e(0x1ca))/0xa);if(_0x89a937===_0x12cc3b)break;else _0x151d20['push'](_0x151d20['shift']());}catch(_0x3854ed){_0x151d20['push'](_0x151d20['shift']());}}}(a72_0x2c26,0xcd159));const {createClassLogger}=require(a72_0x28641d(0x1cb)),logger=createClassLogger(a72_0x28641d(0x1cf));function a72_0x2c26(){const _0x494e14=['TrackedContext','24CtysSd','6841432VxmCFp','6797510Xsclal','529812FWuVIf','getProcessId','33qiUMVp','712279EMskEn','9ePmAot','getType','processId','1690378QCIETX','threadId','2547629rhnvcS','16910050byFepi','../../../helpers/classLogger','getThreadId','getId','type'];a72_0x2c26=function(){return _0x494e14;};return a72_0x2c26();}class TrackedContext{constructor(_0x510785,_0x371f35,_0x2e3153,_0x2236d9){const _0x457e9f=a72_0x28641d;this['id']=_0x510785,this[_0x457e9f(0x1c8)]=_0x371f35,this[_0x457e9f(0x1c6)]=_0x2e3153,this['type']=_0x2236d9;}[a72_0x28641d(0x1cc)](){const _0x4ef7e5=a72_0x28641d;return this[_0x4ef7e5(0x1c8)];}[a72_0x28641d(0x1d4)](){const _0x529b98=a72_0x28641d;return this[_0x529b98(0x1c6)];}[a72_0x28641d(0x1cd)](){return this['id'];}[a72_0x28641d(0x1c5)](){const _0x546e93=a72_0x28641d;return this[_0x546e93(0x1ce)];}}module['exports']=TrackedContext;
1
+ function a72_0x5cba(_0x520ca2,_0x2be369){const _0x4ddbe1=a72_0x4ddb();return a72_0x5cba=function(_0x5cba6f,_0x297b7a){_0x5cba6f=_0x5cba6f-0xfb;let _0x4e0daf=_0x4ddbe1[_0x5cba6f];return _0x4e0daf;},a72_0x5cba(_0x520ca2,_0x2be369);}const a72_0x3ecf4a=a72_0x5cba;(function(_0xf5f92b,_0x31f962){const _0x4dc0fb=a72_0x5cba,_0x1e1da3=_0xf5f92b();while(!![]){try{const _0x2ee159=parseInt(_0x4dc0fb(0x10c))/0x1*(-parseInt(_0x4dc0fb(0xfe))/0x2)+-parseInt(_0x4dc0fb(0x10b))/0x3*(-parseInt(_0x4dc0fb(0x103))/0x4)+parseInt(_0x4dc0fb(0x106))/0x5+parseInt(_0x4dc0fb(0x100))/0x6*(-parseInt(_0x4dc0fb(0xfc))/0x7)+parseInt(_0x4dc0fb(0x101))/0x8+-parseInt(_0x4dc0fb(0xfd))/0x9*(-parseInt(_0x4dc0fb(0x102))/0xa)+-parseInt(_0x4dc0fb(0x110))/0xb*(parseInt(_0x4dc0fb(0x10a))/0xc);if(_0x2ee159===_0x31f962)break;else _0x1e1da3['push'](_0x1e1da3['shift']());}catch(_0x1ca691){_0x1e1da3['push'](_0x1e1da3['shift']());}}}(a72_0x4ddb,0x196c5));function a72_0x4ddb(){const _0xb425d2=['8FHyasK','processId','exports','682435mXOnzc','getType','getThreadId','getId','44916vWRJys','228012joVhuF','198789TTapxA','threadId','type','TrackedContext','517YetjsF','getProcessId','7qzALPG','507933sfJgKH','2WqMMLT','../../../helpers/classLogger','759234hqAWmA','1632104ePxsod','20CLhffQ'];a72_0x4ddb=function(){return _0xb425d2;};return a72_0x4ddb();}const {createClassLogger}=require(a72_0x3ecf4a(0xff)),logger=createClassLogger(a72_0x3ecf4a(0x10f));class TrackedContext{constructor(_0x319e7d,_0x3be1ac,_0x24c88d,_0x2f8ee0){const _0x376525=a72_0x3ecf4a;this['id']=_0x319e7d,this[_0x376525(0x10d)]=_0x3be1ac,this[_0x376525(0x104)]=_0x24c88d,this[_0x376525(0x10e)]=_0x2f8ee0;}[a72_0x3ecf4a(0x108)](){const _0x5cbe63=a72_0x3ecf4a;return this[_0x5cbe63(0x10d)];}[a72_0x3ecf4a(0xfb)](){const _0xf05b53=a72_0x3ecf4a;return this[_0xf05b53(0x104)];}[a72_0x3ecf4a(0x109)](){return this['id'];}[a72_0x3ecf4a(0x107)](){const _0x32f1d9=a72_0x3ecf4a;return this[_0x32f1d9(0x10e)];}}module[a72_0x3ecf4a(0x105)]=TrackedContext;
@@ -1 +1 @@
1
- const a73_0x1e3d4d=a73_0x2bfd;(function(_0xf5826d,_0x289d5f){const _0x481a01=a73_0x2bfd,_0x541416=_0xf5826d();while(!![]){try{const _0x116b0a=-parseInt(_0x481a01(0xa5))/0x1+parseInt(_0x481a01(0xaf))/0x2*(parseInt(_0x481a01(0xa3))/0x3)+-parseInt(_0x481a01(0xb2))/0x4*(-parseInt(_0x481a01(0xac))/0x5)+-parseInt(_0x481a01(0xa7))/0x6*(-parseInt(_0x481a01(0xa2))/0x7)+parseInt(_0x481a01(0x9d))/0x8+parseInt(_0x481a01(0xb1))/0x9+parseInt(_0x481a01(0xae))/0xa*(-parseInt(_0x481a01(0xb9))/0xb);if(_0x116b0a===_0x289d5f)break;else _0x541416['push'](_0x541416['shift']());}catch(_0x294533){_0x541416['push'](_0x541416['shift']());}}}(a73_0x2591,0x84ec5));function a73_0x2bfd(_0x5dff44,_0x339934){const _0x25912c=a73_0x2591();return a73_0x2bfd=function(_0x2bfd0a,_0x193459){_0x2bfd0a=_0x2bfd0a-0x9c;let _0x1215a1=_0x25912c[_0x2bfd0a];return _0x1215a1;},a73_0x2bfd(_0x5dff44,_0x339934);}const TrackedContext=require(a73_0x1e3d4d(0xab)),crypto=require(a73_0x1e3d4d(0xa9)),{threadId}=require(a73_0x1e3d4d(0xbb));function a73_0x2591(){const _0x546d7e=['createContext','564mpPaAn','set','crypto','get','./trackedContext','290tVmCqD','keys','125450ogTvUB','452SFtCle','digest','2268207gamxup','67888sqshAG','getRef','getAllData','context','createHash','getId','Tkhqq','1100EMYXgw','forEach','worker_threads','getContext','3515848cvHXgI','getData','KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','isBrowserstackAutomationSession','data','14WxBjLE','12234oaSkLq','update','798743WSUPTe'];a73_0x2591=function(){return _0x546d7e;};return a73_0x2591();}class TrackedInstance{static [a73_0x1e3d4d(0x9f)]=a73_0x1e3d4d(0xa0);constructor(_0x3aa219){const _0x54a2a1=a73_0x1e3d4d;this[_0x54a2a1(0xb5)]=_0x3aa219,this['data']=new Map();}[a73_0x1e3d4d(0xb3)](){const _0x7c7bb4=a73_0x1e3d4d;return this[_0x7c7bb4(0xb5)][_0x7c7bb4(0xb7)]();}[a73_0x1e3d4d(0x9c)](){const _0x34a8f2=a73_0x1e3d4d;return this[_0x34a8f2(0xb5)];}[a73_0x1e3d4d(0xb4)](){const _0xcbf59c=a73_0x1e3d4d;return this[_0xcbf59c(0xa1)];}['updateMultipleEntries'](_0x4e70d8){const _0xe301ca=a73_0x1e3d4d;Object[_0xe301ca(0xad)](_0x4e70d8)[_0xe301ca(0xba)](_0x146195=>{const _0x191a92=_0xe301ca;this['data'][_0x191a92(0xa8)](_0x146195,_0x4e70d8[_0x146195]);});}['addMultipleEntries'](_0x7c32f9){const _0x32e7c4=a73_0x1e3d4d;Object['entries'](_0x7c32f9)[_0x32e7c4(0xba)](([_0x4d8e19,_0x4bb9d9])=>{const _0x93971c=_0x32e7c4,_0xb61ae3=this['data'][_0x93971c(0xaa)](_0x4d8e19)||{},_0x50a64b={..._0xb61ae3,..._0x4bb9d9},_0x7deafa=_0x50a64b;this[_0x93971c(0xa1)][_0x93971c(0xa8)](_0x4d8e19,_0x7deafa);});}[a73_0x1e3d4d(0x9e)](_0x328bc6){const _0x59457a=a73_0x1e3d4d;return this[_0x59457a(0xa1)]['get'](_0x328bc6);}['updateData'](_0x149afc,_0xd1f7da){const _0x32ede4=a73_0x1e3d4d;this[_0x32ede4(0xa1)]['set'](_0x149afc,_0xd1f7da);}static[a73_0x1e3d4d(0xa6)](_0x456d62){const _0x396b68=a73_0x1e3d4d,_0x275e2e={};_0x275e2e['wBoKy']='sha256',_0x275e2e[_0x396b68(0xb8)]='hex',_0x275e2e['gGoUh']=function(_0x5d6868,_0x5c182c){return _0x5d6868||_0x5c182c;};const _0x4bfcd5=_0x275e2e;return new TrackedContext(crypto[_0x396b68(0xb6)](_0x4bfcd5['wBoKy'])[_0x396b68(0xa4)](_0x456d62)[_0x396b68(0xb0)](_0x4bfcd5['Tkhqq']),_0x4bfcd5['gGoUh'](threadId,0x0),process['pid'],typeof _0x456d62);}}module['exports']=TrackedInstance;
1
+ const a73_0x1b2998=a73_0x18d9;(function(_0x330661,_0x21a6ff){const _0x46c6b8=a73_0x18d9,_0x2e80b3=_0x330661();while(!![]){try{const _0x2aad21=-parseInt(_0x46c6b8(0x9e))/0x1*(-parseInt(_0x46c6b8(0x97))/0x2)+parseInt(_0x46c6b8(0x92))/0x3+parseInt(_0x46c6b8(0xa4))/0x4+-parseInt(_0x46c6b8(0x9a))/0x5+parseInt(_0x46c6b8(0xa2))/0x6*(parseInt(_0x46c6b8(0x99))/0x7)+-parseInt(_0x46c6b8(0xab))/0x8*(-parseInt(_0x46c6b8(0x9d))/0x9)+-parseInt(_0x46c6b8(0x96))/0xa*(parseInt(_0x46c6b8(0x8f))/0xb);if(_0x2aad21===_0x21a6ff)break;else _0x2e80b3['push'](_0x2e80b3['shift']());}catch(_0x2b09d6){_0x2e80b3['push'](_0x2e80b3['shift']());}}}(a73_0x5c06,0x36ee3));function a73_0x18d9(_0x395fa2,_0x12d547){const _0x5c0631=a73_0x5c06();return a73_0x18d9=function(_0x18d90f,_0x1b43fa){_0x18d90f=_0x18d90f-0x8d;let _0x39768e=_0x5c0631[_0x18d90f];return _0x39768e;},a73_0x18d9(_0x395fa2,_0x12d547);}const TrackedContext=require(a73_0x1b2998(0x90)),crypto=require(a73_0x1b2998(0xb0)),{threadId}=require(a73_0x1b2998(0xa6));class TrackedInstance{static [a73_0x1b2998(0xa0)]=a73_0x1b2998(0x95);constructor(_0x322c3f){const _0x310261=a73_0x1b2998;this[_0x310261(0x98)]=_0x322c3f,this[_0x310261(0x9c)]=new Map();}[a73_0x1b2998(0xa5)](){const _0x49946c=a73_0x1b2998;return this[_0x49946c(0x98)][_0x49946c(0x8d)]();}[a73_0x1b2998(0xad)](){return this['context'];}[a73_0x1b2998(0x94)](){return this['data'];}['updateMultipleEntries'](_0x4897fe){const _0x21b4a0=a73_0x1b2998;Object[_0x21b4a0(0xaf)](_0x4897fe)[_0x21b4a0(0xa7)](_0x388910=>{const _0x172098=_0x21b4a0;this['data'][_0x172098(0x8e)](_0x388910,_0x4897fe[_0x388910]);});}['addMultipleEntries'](_0x4b5dda){const _0x21ec46=a73_0x1b2998;Object['entries'](_0x4b5dda)[_0x21ec46(0xa7)](([_0x381ef9,_0xf3a42c])=>{const _0x2eef45=_0x21ec46,_0x1c6d0e=this[_0x2eef45(0x9c)]['get'](_0x381ef9)||{},_0x38d3a1={..._0x1c6d0e,..._0xf3a42c},_0x3d9139=_0x38d3a1;this[_0x2eef45(0x9c)][_0x2eef45(0x8e)](_0x381ef9,_0x3d9139);});}[a73_0x1b2998(0xaa)](_0x5ce778){const _0x141472=a73_0x1b2998;return this[_0x141472(0x9c)][_0x141472(0xb1)](_0x5ce778);}[a73_0x1b2998(0xa8)](_0x547193,_0x4f4fee){const _0x371dc5=a73_0x1b2998;this['data'][_0x371dc5(0x8e)](_0x547193,_0x4f4fee);}static[a73_0x1b2998(0xae)](_0x389222){const _0x96e46=a73_0x1b2998,_0x5845ee={};_0x5845ee['GyqUD']=_0x96e46(0xa3),_0x5845ee[_0x96e46(0x93)]=_0x96e46(0xa9),_0x5845ee[_0x96e46(0xb2)]=function(_0x32763d,_0x46cf63){return _0x32763d||_0x46cf63;};const _0x11b353=_0x5845ee;return new TrackedContext(crypto[_0x96e46(0xac)](_0x11b353[_0x96e46(0xa1)])[_0x96e46(0x9f)](_0x389222)[_0x96e46(0x91)](_0x11b353[_0x96e46(0x93)]),_0x11b353['ETRkV'](threadId,0x0),process[_0x96e46(0x9b)],typeof _0x389222);}}function a73_0x5c06(){const _0x4d72d3=['48490zsKxqx','6YedEwi','context','7JaaExD','621235DYxUVe','pid','data','225TSPjTD','64317UqNRKZ','update','KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','GyqUD','2082156APvjww','sha256','1088688KKRwsg','getRef','worker_threads','forEach','updateData','hex','getData','91184twPKmd','createHash','getContext','createContext','keys','crypto','get','ETRkV','getId','set','2112GBiWbF','./trackedContext','digest','549453PWyLmE','TcrDt','getAllData','isBrowserstackAutomationSession'];a73_0x5c06=function(){return _0x4d72d3;};return a73_0x5c06();}module['exports']=TrackedInstance;
@@ -1 +1 @@
1
- const a74_0x3d2440=a74_0x1f18;(function(_0x314db9,_0x172994){const _0x299a14=a74_0x1f18,_0x81864d=_0x314db9();while(!![]){try{const _0x511813=parseInt(_0x299a14(0x169))/0x1+-parseInt(_0x299a14(0x14a))/0x2+parseInt(_0x299a14(0x168))/0x3+-parseInt(_0x299a14(0x139))/0x4*(-parseInt(_0x299a14(0x14c))/0x5)+-parseInt(_0x299a14(0x131))/0x6+parseInt(_0x299a14(0x155))/0x7*(parseInt(_0x299a14(0x165))/0x8)+-parseInt(_0x299a14(0x156))/0x9;if(_0x511813===_0x172994)break;else _0x81864d['push'](_0x81864d['shift']());}catch(_0x379e74){_0x81864d['push'](_0x81864d['shift']());}}}(a74_0x3a69,0x5d656));const BaseModule=require('./baseModule'),{createClassLogger}=require(a74_0x3d2440(0x162)),CLIUtils=require(a74_0x3d2440(0x154)),AutomationFramework=require('../framework/automationFramework'),AutomationFrameworkState=require(a74_0x3d2440(0x178)),HookState=require(a74_0x3d2440(0x17f)),GrpcClient=require('../grpcClient'),scripts=require(a74_0x3d2440(0x13e)),logger=createClassLogger('TrackedInstance'),PerformanceTester=require(a74_0x3d2440(0x16b)),{EVENTS}=require(a74_0x3d2440(0x185));class AccessibilityModule extends BaseModule{static [a74_0x3d2440(0x17c)]=AccessibilityModule['name'];constructor(_0x1a31bc){const _0x1c7c47=a74_0x3d2440,_0x5aedd8={};_0x5aedd8['oMOiL']=_0x1c7c47(0x160);const _0x348157=_0x5aedd8,_0x497fe7=_0x348157[_0x1c7c47(0x170)][_0x1c7c47(0x157)]('|');let _0x4a81a5=0x0;while(!![]){switch(_0x497fe7[_0x4a81a5++]){case'0':this[_0x1c7c47(0x14f)]=[];continue;case'1':this[_0x1c7c47(0x17d)]=!![];continue;case'2':AutomationFramework[_0x1c7c47(0x13d)](AutomationFrameworkState[_0x1c7c47(0x148)],HookState[_0x1c7c47(0x146)],this[_0x1c7c47(0x15b)]['bind'](this));continue;case'3':this[_0x1c7c47(0x15f)](_0x1a31bc[_0x1c7c47(0x13b)]()[_0x1c7c47(0x132)]());continue;case'4':this['LOG_DISABLED_SHOWN']=new Map();continue;case'5':super();continue;case'6':this[_0x1c7c47(0x167)]=new Map();continue;case'7':this[_0x1c7c47(0x163)]=![];continue;case'8':AutomationFramework[_0x1c7c47(0x13d)](AutomationFrameworkState[_0x1c7c47(0x15e)],HookState['PRE'],this[_0x1c7c47(0x136)]['bind'](this));continue;case'9':this[_0x1c7c47(0x14e)]=_0x1a31bc[_0x1c7c47(0x16a)]();continue;case'10':AutomationFramework[_0x1c7c47(0x13d)](AutomationFrameworkState[_0x1c7c47(0x166)],HookState['PRE'],this[_0x1c7c47(0x164)][_0x1c7c47(0x15d)](this));continue;}break;}}[a74_0x3d2440(0x17d)](){return this['isEnabled'];}['getModuleName'](){return AccessibilityModule['MODULE_NAME'];}['getCurrentAccessibilityStatus'](){const _0x31983d=a74_0x3d2440;return this[_0x31983d(0x167)][_0x31983d(0x159)](CLIUtils[_0x31983d(0x149)](),![]);}[a74_0x3d2440(0x143)](){const _0x596676=a74_0x3d2440;return this['LOG_DISABLED_SHOWN'][_0x596676(0x159)](CLIUtils['getCurrentInstanceName'](),![]);}[a74_0x3d2440(0x130)](_0x43a2ff){const _0x943b74=a74_0x3d2440;this[_0x943b74(0x152)]['put'](CLIUtils[_0x943b74(0x149)](),_0x43a2ff);}async[a74_0x3d2440(0x15b)](_0x44c0a2){const _0x4187c3=a74_0x3d2440;try{PerformanceTester[_0x4187c3(0x13c)](EVENTS[_0x4187c3(0x16e)]);const _0x305417=await GrpcClient[_0x4187c3(0x181)]()[_0x4187c3(0x177)](_0x44c0a2);_0x305417&&_0x305417[_0x4187c3(0x13f)]()&&_0x305417['getAccessibility']()[_0x4187c3(0x14b)]()&&(global[_0x4187c3(0x176)]=!![],process[_0x4187c3(0x16c)][_0x4187c3(0x137)]=!![],this[_0x4187c3(0x17e)](_0x305417,_0x44c0a2)),PerformanceTester['end'](EVENTS['SDK_ACCESSIBILITY_CONFIG']);}catch(_0x16d417){PerformanceTester[_0x4187c3(0x140)](EVENTS[_0x4187c3(0x16e)],![],_0x16d417[_0x4187c3(0x15a)]),logger[_0x4187c3(0x16d)](_0x4187c3(0x172)+(_0x16d417['stack']||_0x16d417['message']));}}['getGoogleChromeOptions'](){const _0xa3eb23=a74_0x3d2440;return this[_0xa3eb23(0x14f)]['find'](_0x14a108=>_0x14a108[_0xa3eb23(0x150)]()===_0xa3eb23(0x133))?.['getValue']()||'';}async[a74_0x3d2440(0x17e)](_0x1ef864,_0x2ec328){const _0x2c2ab8=a74_0x3d2440,_0x4b8abe=_0x1ef864[_0x2c2ab8(0x13f)]()[_0x2c2ab8(0x13b)](),_0x5d4f8e=_0x4b8abe[_0x2c2ab8(0x179)](),_0x208421=_0x4b8abe['getCommandsToWrap']()?.[_0x2c2ab8(0x175)]();scripts['parseFromProto'](_0x5d4f8e,_0x208421),scripts[_0x2c2ab8(0x171)]();const _0x2443cf=_0x4b8abe[_0x2c2ab8(0x132)]();this[_0x2c2ab8(0x14f)]=_0x4b8abe[_0x2c2ab8(0x132)](),await this[_0x2c2ab8(0x15f)](_0x2443cf,_0x2ec328['launchCaps']);}async[a74_0x3d2440(0x15f)](_0x136638,_0x2d8eba={}){const _0x17b3ff=a74_0x3d2440,_0x127aa0={};_0x127aa0['SvoDj']=function(_0x899800,_0x4cf238){return _0x899800===_0x4cf238;},_0x127aa0[_0x17b3ff(0x158)]=_0x17b3ff(0x180),_0x127aa0[_0x17b3ff(0x15c)]=_0x17b3ff(0x141),_0x127aa0[_0x17b3ff(0x142)]=function(_0x1d2ccd,_0x491480){return _0x1d2ccd===_0x491480;},_0x127aa0[_0x17b3ff(0x184)]=_0x17b3ff(0x183),_0x127aa0['Ioisk']=_0x17b3ff(0x161),_0x127aa0[_0x17b3ff(0x135)]=_0x17b3ff(0x186),_0x127aa0[_0x17b3ff(0x138)]=_0x17b3ff(0x182),_0x127aa0[_0x17b3ff(0x17b)]=_0x17b3ff(0x151),_0x127aa0[_0x17b3ff(0x173)]=_0x17b3ff(0x13a);const _0x183003=_0x127aa0;for(const _0xf95049 of _0x136638){logger['info'](_0x17b3ff(0x16f)+_0xf95049[_0x17b3ff(0x150)]()+_0x17b3ff(0x147)+_0xf95049[_0x17b3ff(0x174)]());if(_0x183003[_0x17b3ff(0x14d)](_0xf95049[_0x17b3ff(0x150)](),_0x183003[_0x17b3ff(0x158)]))process[_0x17b3ff(0x16c)]['BS_A11Y_JWT']=_0xf95049['getValue'](),_0x2d8eba[_0x183003[_0x17b3ff(0x15c)]]=_0xf95049['getValue']();else{if(_0x183003[_0x17b3ff(0x142)](_0xf95049[_0x17b3ff(0x150)](),_0x183003['UbOAy']))_0x2d8eba[_0x183003[_0x17b3ff(0x144)]]=_0xf95049[_0x17b3ff(0x174)]();else{if(_0x183003[_0x17b3ff(0x14d)](_0xf95049[_0x17b3ff(0x150)](),_0x183003[_0x17b3ff(0x135)]))_0x2d8eba[_0x183003[_0x17b3ff(0x138)]]=_0xf95049[_0x17b3ff(0x174)]();else _0x183003[_0x17b3ff(0x142)](_0xf95049[_0x17b3ff(0x150)](),_0x183003[_0x17b3ff(0x17b)])&&(_0x2d8eba[_0x183003['HpfTb']]=_0xf95049[_0x17b3ff(0x174)]());}}}}[a74_0x3d2440(0x136)](_0x52da64){const _0x14eef8=a74_0x3d2440;logger[_0x14eef8(0x17a)](_0x14eef8(0x145)+_0x52da64);}[a74_0x3d2440(0x164)](_0x5340e5){const _0x44aed1=a74_0x3d2440;logger['info'](_0x44aed1(0x153)+_0x5340e5);}}function a74_0x1f18(_0xb848fc,_0x524c56){const _0x3a6976=a74_0x3a69();return a74_0x1f18=function(_0x1f18b5,_0x3441ae){_0x1f18b5=_0x1f18b5-0x130;let _0x295838=_0x3a6976[_0x1f18b5];return _0x295838;},a74_0x1f18(_0xb848fc,_0x524c56);};function a74_0x3a69(){const _0x260eb5=['32dMobXN','EXECUTE','accessibility','1612755fRSllc','398550gBqsAd','toObject','../../../helpers/performance/performance-tester.js','env','error','SDK_ACCESSIBILITY_CONFIG','name:\x20','oMOiL','toJson','Error\x20while\x20setting\x20accessibility\x20config:\x20','HpfTb','getValue','getCommandsList','accessibilityPlatform','getAccessibilityConfig','../state/automationFrameworkState','getScriptsList','info','EScQo','MODULE_NAME','isEnabled','setAccessibilityConfig','../state/hookState','accessibilityToken','getInstance','browserstack.accessibilityOptions.scannerVersion','wcagVersion','UbOAy','../../../helpers/performance/constants.js','scannerVersion','setLogDisabledShown','2310534noNZuU','getCapabilitiesList','goog:chromeOptions','exports','fCvdH','onAfterTest','BROWSERSTACK_TEST_ACCESSIBILITY_YML','PhRZj','90760yUMkRr','browserstack.accessibilityOptions.scannerProcessingTimeout','getOptions','start','registerObserver','../../../helpers/accessibility-automation/scripts','getAccessibility','end','browserstack.accessibilityOptions.authToken','CWlkV','getLogDisabledShown','Ioisk','onAfterTest:\x20event=','PRE','\x20value=','CREATE','getCurrentInstanceName','480106TSvxCh','getSuccess','10RtULnQ','SvoDj','accessibilityConfig','capabilities','getName','scannerProcessingTimeout','LOG_DISABLED_SHOWN','onBeforeExecute:\x20event=','../cliUtils','1119874lDlFZe','5523759NYKjWc','split','usWAP','get','message','onBeforeTest','qrECk','bind','QUIT','setAccessibilityToken','5|10|2|8|1|9|6|4|7|0|3','browserstack.accessibilityOptions.wcagVersion','../../../helpers/classLogger','isAppAccessibility','onBeforeExecute'];a74_0x3a69=function(){return _0x260eb5;};return a74_0x3a69();}module[a74_0x3d2440(0x134)]=AccessibilityModule;
1
+ const a74_0x1000f5=a74_0x2476;function a74_0x2476(_0x28fb12,_0x176ee9){const _0x13cf45=a74_0x13cf();return a74_0x2476=function(_0x24761a,_0xeca8e9){_0x24761a=_0x24761a-0x1a4;let _0x1a69e5=_0x13cf45[_0x24761a];return _0x1a69e5;},a74_0x2476(_0x28fb12,_0x176ee9);}(function(_0x10abce,_0x1347d2){const _0x3a85d1=a74_0x2476,_0x2a482d=_0x10abce();while(!![]){try{const _0x3397b6=parseInt(_0x3a85d1(0x1f8))/0x1*(-parseInt(_0x3a85d1(0x1ce))/0x2)+-parseInt(_0x3a85d1(0x1c9))/0x3*(-parseInt(_0x3a85d1(0x1e8))/0x4)+-parseInt(_0x3a85d1(0x1b5))/0x5+-parseInt(_0x3a85d1(0x1b3))/0x6*(-parseInt(_0x3a85d1(0x1e5))/0x7)+parseInt(_0x3a85d1(0x1fc))/0x8+-parseInt(_0x3a85d1(0x1f1))/0x9*(parseInt(_0x3a85d1(0x1ac))/0xa)+-parseInt(_0x3a85d1(0x1af))/0xb*(-parseInt(_0x3a85d1(0x1e0))/0xc);if(_0x3397b6===_0x1347d2)break;else _0x2a482d['push'](_0x2a482d['shift']());}catch(_0xb3f1f6){_0x2a482d['push'](_0x2a482d['shift']());}}}(a74_0x13cf,0xb96f6));const BaseModule=require(a74_0x1000f5(0x1a7)),{createClassLogger}=require(a74_0x1000f5(0x1ea)),CLIUtils=require(a74_0x1000f5(0x1a8)),AutomationFramework=require(a74_0x1000f5(0x1b7)),AutomationFrameworkState=require(a74_0x1000f5(0x1a5)),HookState=require(a74_0x1000f5(0x1f6)),GrpcClient=require(a74_0x1000f5(0x1dd)),scripts=require(a74_0x1000f5(0x1ef)),logger=createClassLogger(a74_0x1000f5(0x1fb)),PerformanceTester=require(a74_0x1000f5(0x1b6)),{EVENTS}=require(a74_0x1000f5(0x1d1));class AccessibilityModule extends BaseModule{static [a74_0x1000f5(0x1ca)]=AccessibilityModule[a74_0x1000f5(0x1de)];constructor(_0x4bcede){const _0x4af98a=a74_0x1000f5,_0x42af09={};_0x42af09[_0x4af98a(0x1ff)]='10|4|7|0|8|2|3|6|9|5|1';const _0x5403df=_0x42af09,_0x4f1db8=_0x5403df[_0x4af98a(0x1ff)][_0x4af98a(0x1c7)]('|');let _0xf58f1d=0x0;while(!![]){switch(_0x4f1db8[_0xf58f1d++]){case'0':AutomationFramework[_0x4af98a(0x1d2)](AutomationFrameworkState[_0x4af98a(0x1c2)],HookState[_0x4af98a(0x1b1)],this[_0x4af98a(0x1b2)][_0x4af98a(0x1c4)](this));continue;case'1':this[_0x4af98a(0x1e4)](_0x4bcede['getOptions']()['getCapabilitiesList']());continue;case'2':this['accessibilityConfig']=_0x4bcede[_0x4af98a(0x1ec)]();continue;case'3':this[_0x4af98a(0x1ed)]=new Map();continue;case'4':AutomationFramework[_0x4af98a(0x1d2)](AutomationFrameworkState[_0x4af98a(0x1e9)],HookState[_0x4af98a(0x1b1)],this[_0x4af98a(0x1ae)][_0x4af98a(0x1c4)](this));continue;case'5':this[_0x4af98a(0x1fa)]=[];continue;case'6':this[_0x4af98a(0x1e1)]=new Map();continue;case'7':AutomationFramework[_0x4af98a(0x1d2)](AutomationFrameworkState[_0x4af98a(0x1cf)],HookState[_0x4af98a(0x1b1)],this[_0x4af98a(0x1b8)][_0x4af98a(0x1c4)](this));continue;case'8':this[_0x4af98a(0x1ee)]=!![];continue;case'9':this[_0x4af98a(0x1aa)]=![];continue;case'10':super();continue;}break;}}[a74_0x1000f5(0x1ee)](){return this['isEnabled'];}[a74_0x1000f5(0x1d3)](){const _0x3def5c=a74_0x1000f5;return AccessibilityModule[_0x3def5c(0x1ca)];}['getCurrentAccessibilityStatus'](){const _0x13f65b=a74_0x1000f5;return this[_0x13f65b(0x1ed)]['get'](CLIUtils['getCurrentInstanceName'](),![]);}[a74_0x1000f5(0x1f5)](){const _0x360231=a74_0x1000f5;return this[_0x360231(0x1e1)][_0x360231(0x1d6)](CLIUtils[_0x360231(0x201)](),![]);}[a74_0x1000f5(0x1cc)](_0x5cd5f7){const _0x599a71=a74_0x1000f5;this[_0x599a71(0x1e1)][_0x599a71(0x1b4)](CLIUtils[_0x599a71(0x201)](),_0x5cd5f7);}async['onBeforeTest'](_0x128661){const _0x201baf=a74_0x1000f5;try{PerformanceTester[_0x201baf(0x1c5)](EVENTS[_0x201baf(0x1b0)]);const _0x38f70a=await GrpcClient[_0x201baf(0x1ba)]()[_0x201baf(0x1c6)](_0x128661);_0x38f70a&&_0x38f70a[_0x201baf(0x1e2)]()&&_0x38f70a['getAccessibility']()['getSuccess']()&&(global['accessibilityPlatform']=!![],process[_0x201baf(0x1dc)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=!![],this[_0x201baf(0x1bf)](_0x38f70a,_0x128661)),PerformanceTester[_0x201baf(0x1d9)](EVENTS['SDK_ACCESSIBILITY_CONFIG']);}catch(_0x59b9fa){PerformanceTester['end'](EVENTS['SDK_ACCESSIBILITY_CONFIG'],![],_0x59b9fa['message']),logger['error']('Error\x20while\x20setting\x20accessibility\x20config:\x20'+(_0x59b9fa[_0x201baf(0x200)]||_0x59b9fa['message']));}}['getGoogleChromeOptions'](){const _0x5823cd=a74_0x1000f5;return this[_0x5823cd(0x1fa)][_0x5823cd(0x1d8)](_0x225ad1=>_0x225ad1[_0x5823cd(0x1fe)]()===_0x5823cd(0x1c3))?.[_0x5823cd(0x1f0)]()||'';}async[a74_0x1000f5(0x1bf)](_0x5dec8a,_0x59ec74){const _0x2f8eed=a74_0x1000f5,_0x5c81c9=_0x5dec8a[_0x2f8eed(0x1e2)]()[_0x2f8eed(0x1e7)](),_0x3b40d2=_0x5c81c9[_0x2f8eed(0x1f7)](),_0x1a6e6e=_0x5c81c9[_0x2f8eed(0x1f4)]()?.[_0x2f8eed(0x202)]();scripts[_0x2f8eed(0x1ad)](_0x3b40d2,_0x1a6e6e),scripts[_0x2f8eed(0x1db)]();const _0xcbad=_0x5c81c9[_0x2f8eed(0x1e3)]();this[_0x2f8eed(0x1fa)]=_0x5c81c9[_0x2f8eed(0x1e3)](),await this[_0x2f8eed(0x1e4)](_0xcbad,_0x59ec74[_0x2f8eed(0x1c1)]);}async['setAccessibilityToken'](_0x15d8bf,_0x60bca1={}){const _0x5c9f2d=a74_0x1000f5,_0x5ccc38={};_0x5ccc38[_0x5c9f2d(0x1b9)]=function(_0x2f4518,_0x2d2345){return _0x2f4518===_0x2d2345;},_0x5ccc38[_0x5c9f2d(0x1da)]=_0x5c9f2d(0x1f3),_0x5ccc38[_0x5c9f2d(0x1ab)]=_0x5c9f2d(0x1f9),_0x5ccc38['dizKX']=_0x5c9f2d(0x1c8),_0x5ccc38[_0x5c9f2d(0x1be)]=_0x5c9f2d(0x1e6),_0x5ccc38['mNOiK']=function(_0x4506f2,_0x1b0939){return _0x4506f2===_0x1b0939;},_0x5ccc38['kxVyg']=_0x5c9f2d(0x1d7),_0x5ccc38[_0x5c9f2d(0x1d4)]=_0x5c9f2d(0x1bb),_0x5ccc38[_0x5c9f2d(0x1fd)]=function(_0x394607,_0x24b39a){return _0x394607===_0x24b39a;},_0x5ccc38[_0x5c9f2d(0x1cd)]=_0x5c9f2d(0x1a4),_0x5ccc38[_0x5c9f2d(0x1f2)]=_0x5c9f2d(0x1bd);const _0x4b0e61=_0x5ccc38;for(const _0x532b29 of _0x15d8bf){logger[_0x5c9f2d(0x1bc)](_0x5c9f2d(0x1a9)+_0x532b29[_0x5c9f2d(0x1fe)]()+_0x5c9f2d(0x1eb)+_0x532b29[_0x5c9f2d(0x1f0)]());if(_0x4b0e61['rsPxl'](_0x532b29[_0x5c9f2d(0x1fe)](),_0x4b0e61[_0x5c9f2d(0x1da)]))process[_0x5c9f2d(0x1dc)][_0x5c9f2d(0x1d0)]=_0x532b29['getValue'](),_0x60bca1[_0x4b0e61[_0x5c9f2d(0x1ab)]]=_0x532b29[_0x5c9f2d(0x1f0)]();else{if(_0x4b0e61[_0x5c9f2d(0x1b9)](_0x532b29[_0x5c9f2d(0x1fe)](),_0x4b0e61[_0x5c9f2d(0x1a6)]))_0x60bca1[_0x4b0e61[_0x5c9f2d(0x1be)]]=_0x532b29[_0x5c9f2d(0x1f0)]();else{if(_0x4b0e61[_0x5c9f2d(0x1d5)](_0x532b29[_0x5c9f2d(0x1fe)](),_0x4b0e61['kxVyg']))_0x60bca1[_0x4b0e61[_0x5c9f2d(0x1d4)]]=_0x532b29[_0x5c9f2d(0x1f0)]();else _0x4b0e61[_0x5c9f2d(0x1fd)](_0x532b29[_0x5c9f2d(0x1fe)](),_0x4b0e61[_0x5c9f2d(0x1cd)])&&(_0x60bca1[_0x4b0e61['nFKlS']]=_0x532b29['getValue']());}}}}[a74_0x1000f5(0x1b2)](_0x52f6a7){const _0x498c24=a74_0x1000f5;logger[_0x498c24(0x1bc)](_0x498c24(0x1cb)+_0x52f6a7);}[a74_0x1000f5(0x1ae)](_0x2a8962){const _0x13ecf4=a74_0x1000f5;logger['info'](_0x13ecf4(0x1df)+_0x2a8962);}};module[a74_0x1000f5(0x1c0)]=AccessibilityModule;function a74_0x13cf(){const _0x1e381f=['./baseModule','../cliUtils','name:\x20','isAppAccessibility','QzdUB','380940ssUNSw','parseFromProto','onBeforeExecute','4402981NkrwOu','SDK_ACCESSIBILITY_CONFIG','PRE','onAfterTest','6pmYosd','put','3778005DDcNRq','../../../helpers/performance/performance-tester.js','../framework/automationFramework','onBeforeTest','rsPxl','getInstance','browserstack.accessibilityOptions.scannerVersion','info','browserstack.accessibilityOptions.scannerProcessingTimeout','Aqzmd','setAccessibilityConfig','exports','launchCaps','QUIT','goog:chromeOptions','bind','start','getAccessibilityConfig','split','wcagVersion','4218IUYKLt','MODULE_NAME','onAfterTest:\x20event=','setLogDisabledShown','dqQen','114alECVw','CREATE','BS_A11Y_JWT','../../../helpers/performance/constants.js','registerObserver','getModuleName','cpBLk','mNOiK','get','scannerVersion','find','end','QAfrG','toJson','env','../grpcClient','name','onBeforeExecute:\x20event=','36GnTjhP','LOG_DISABLED_SHOWN','getAccessibility','getCapabilitiesList','setAccessibilityToken','6475273cgnFxx','browserstack.accessibilityOptions.wcagVersion','getOptions','8HKxSuM','EXECUTE','../../../helpers/classLogger','\x20value=','toObject','accessibility','isEnabled','../../../helpers/accessibility-automation/scripts','getValue','90bHgnph','nFKlS','accessibilityToken','getCommandsToWrap','getLogDisabledShown','../state/hookState','getScriptsList','7706GrKiDP','browserstack.accessibilityOptions.authToken','capabilities','TrackedInstance','1653288xMzecR','VbGRR','getName','WLvIs','stack','getCurrentInstanceName','getCommandsList','scannerProcessingTimeout','../state/automationFrameworkState','dizKX'];a74_0x13cf=function(){return _0x1e381f;};return a74_0x13cf();}
@@ -1 +1 @@
1
- function a75_0x52a2(_0x52a89f,_0x23b873){const _0x29ea6e=a75_0x29ea();return a75_0x52a2=function(_0x52a208,_0x2d2ae8){_0x52a208=_0x52a208-0x192;let _0xc571f4=_0x29ea6e[_0x52a208];return _0xc571f4;},a75_0x52a2(_0x52a89f,_0x23b873);}function a75_0x29ea(){const _0x338527=['configure','4iySWKf','exports','ensureBinSession','1280pLALTk','client','5284083BhAIfO','89azvxzG','\x20with\x20binSessionId=','winstonLogger','10671504eTeOic','BaseModule','NdpTd','UAEIL','config','binSessionId','Configured\x20module\x20','28110dMkVEo','getModuleName','../../../helpers/logger.js','name',',\x20platformIndex=','10439norApl','365RaicGi','debug','10378AogUEQ','1|0|2|4|3','kRBkV','650658AKsnLa','729AOVgeM','29416aNRMbG','split'];a75_0x29ea=function(){return _0x338527;};return a75_0x29ea();}const a75_0x4c1831=a75_0x52a2;(function(_0x252bbd,_0x531165){const _0x103a86=a75_0x52a2,_0x4eb0ce=_0x252bbd();while(!![]){try{const _0x59c44b=-parseInt(_0x103a86(0x1a4))/0x1*(-parseInt(_0x103a86(0x196))/0x2)+parseInt(_0x103a86(0x199))/0x3*(parseInt(_0x103a86(0x19e))/0x4)+parseInt(_0x103a86(0x194))/0x5*(parseInt(_0x103a86(0x1ae))/0x6)+parseInt(_0x103a86(0x1a3))/0x7+parseInt(_0x103a86(0x19b))/0x8*(-parseInt(_0x103a86(0x19a))/0x9)+parseInt(_0x103a86(0x1a1))/0xa*(-parseInt(_0x103a86(0x193))/0xb)+-parseInt(_0x103a86(0x1a7))/0xc;if(_0x59c44b===_0x531165)break;else _0x4eb0ce['push'](_0x4eb0ce['shift']());}catch(_0x22bc15){_0x4eb0ce['push'](_0x4eb0ce['shift']());}}}(a75_0x29ea,0x72024));const logger=require(a75_0x4c1831(0x1b0))[a75_0x4c1831(0x1a6)];class BaseModule{constructor(){const _0x318936=a75_0x4c1831,_0x3eb43e={};_0x3eb43e[_0x318936(0x198)]=_0x318936(0x197),_0x3eb43e['hHEci']=_0x318936(0x1a8);const _0x553ea0=_0x3eb43e,_0x7a0534=_0x553ea0[_0x318936(0x198)][_0x318936(0x19c)]('|');let _0x1af6d4=0x0;while(!![]){switch(_0x7a0534[_0x1af6d4++]){case'0':this[_0x318936(0x1ac)]=null;continue;case'1':this[_0x318936(0x1b1)]=_0x553ea0['hHEci'];continue;case'2':this['platformIndex']=0x0;continue;case'3':this[_0x318936(0x1a2)]=null;continue;case'4':this[_0x318936(0x1ab)]={};continue;}break;}}[a75_0x4c1831(0x1a0)](){const _0x4ff69b=a75_0x4c1831,_0x5772ff={};_0x5772ff[_0x4ff69b(0x1a9)]='Missing\x20binSessionId';const _0x23a2ab=_0x5772ff;if(!this['binSessionId'])throw new Error(_0x23a2ab[_0x4ff69b(0x1a9)]);}[a75_0x4c1831(0x1af)](){const _0x5b9336=a75_0x4c1831;return this[_0x5b9336(0x1b1)];}[a75_0x4c1831(0x19d)](_0x581b0e,_0x343921,_0x33cbc5,_0x1c4fbb={}){const _0x5e67db=a75_0x4c1831,_0x5ae890={};_0x5ae890[_0x5e67db(0x1aa)]='3|0|4|2|1';const _0x2d30f3=_0x5ae890,_0x124ac1=_0x2d30f3['UAEIL'][_0x5e67db(0x19c)]('|');let _0x4702e3=0x0;while(!![]){switch(_0x124ac1[_0x4702e3++]){case'0':this['platformIndex']=_0x343921;continue;case'1':logger[_0x5e67db(0x195)](_0x5e67db(0x1ad)+this['getModuleName']()+_0x5e67db(0x1a5)+_0x581b0e+_0x5e67db(0x192)+_0x343921);continue;case'2':this[_0x5e67db(0x1ab)]=_0x1c4fbb;continue;case'3':this[_0x5e67db(0x1ac)]=_0x581b0e;continue;case'4':this[_0x5e67db(0x1a2)]=_0x33cbc5;continue;}break;}}}module[a75_0x4c1831(0x19f)]=BaseModule;
1
+ const a75_0x5631d5=a75_0x1167;(function(_0x41a830,_0x49e7f8){const _0x34d8a2=a75_0x1167,_0x1f7d6c=_0x41a830();while(!![]){try{const _0x233600=-parseInt(_0x34d8a2(0xa0))/0x1+-parseInt(_0x34d8a2(0x9a))/0x2*(-parseInt(_0x34d8a2(0x89))/0x3)+parseInt(_0x34d8a2(0x90))/0x4*(parseInt(_0x34d8a2(0x8a))/0x5)+parseInt(_0x34d8a2(0xa7))/0x6*(parseInt(_0x34d8a2(0x8b))/0x7)+parseInt(_0x34d8a2(0xa4))/0x8+parseInt(_0x34d8a2(0x98))/0x9*(parseInt(_0x34d8a2(0xa3))/0xa)+-parseInt(_0x34d8a2(0x9b))/0xb;if(_0x233600===_0x49e7f8)break;else _0x1f7d6c['push'](_0x1f7d6c['shift']());}catch(_0xc69620){_0x1f7d6c['push'](_0x1f7d6c['shift']());}}}(a75_0x323a,0xac7b1));const logger=require(a75_0x5631d5(0x9d))[a75_0x5631d5(0x9f)];class BaseModule{constructor(){const _0x48c36b=a75_0x5631d5,_0x5058ff={};_0x5058ff['ZaGdA']=_0x48c36b(0x94),_0x5058ff[_0x48c36b(0x8f)]=_0x48c36b(0xa6);const _0x105355=_0x5058ff,_0x3f044a=_0x105355['ZaGdA']['split']('|');let _0x190c77=0x0;while(!![]){switch(_0x3f044a[_0x190c77++]){case'0':this[_0x48c36b(0x8d)]=null;continue;case'1':this['client']=null;continue;case'2':this[_0x48c36b(0x9c)]=0x0;continue;case'3':this[_0x48c36b(0x8e)]=_0x105355[_0x48c36b(0x8f)];continue;case'4':this[_0x48c36b(0x97)]={};continue;}break;}}[a75_0x5631d5(0x95)](){const _0x234463=a75_0x5631d5,_0x24aa52={};_0x24aa52[_0x234463(0x9e)]='Missing\x20binSessionId';const _0xbae395=_0x24aa52;if(!this[_0x234463(0x8d)])throw new Error(_0xbae395[_0x234463(0x9e)]);}[a75_0x5631d5(0xa1)](){const _0xf19a47=a75_0x5631d5;return this[_0xf19a47(0x8e)];}[a75_0x5631d5(0xa2)](_0x3d8f13,_0x430ef6,_0x528fd3,_0x285b95={}){const _0x3eff70=a75_0x5631d5,_0x4a239c={};_0x4a239c[_0x3eff70(0x92)]=_0x3eff70(0xa5);const _0x47b33d=_0x4a239c,_0x30da12=_0x47b33d['anHMW'][_0x3eff70(0x93)]('|');let _0x119296=0x0;while(!![]){switch(_0x30da12[_0x119296++]){case'0':this[_0x3eff70(0x97)]=_0x285b95;continue;case'1':this['platformIndex']=_0x430ef6;continue;case'2':logger['debug'](_0x3eff70(0x8c)+this[_0x3eff70(0xa1)]()+_0x3eff70(0x91)+_0x3d8f13+',\x20platformIndex='+_0x430ef6);continue;case'3':this['binSessionId']=_0x3d8f13;continue;case'4':this[_0x3eff70(0x96)]=_0x528fd3;continue;}break;}}}function a75_0x323a(){const _0xbd7925=['9287392deHrkQ','3|1|4|0|2','BaseModule','3526434kTSUZG','1773TAJGHw','1050150IlXJeI','7zEkalJ','Configured\x20module\x20','binSessionId','name','eELqx','24UUqgSH','\x20with\x20binSessionId=','anHMW','split','3|0|2|4|1','ensureBinSession','client','config','6682725dwRENN','exports','1118sAGjsD','28965200HUerkR','platformIndex','../../../helpers/logger.js','WUeeY','winstonLogger','742056XLNgsA','getModuleName','configure','10WTZcqC'];a75_0x323a=function(){return _0xbd7925;};return a75_0x323a();}function a75_0x1167(_0x4dbfbd,_0x56ba1b){const _0x323afa=a75_0x323a();return a75_0x1167=function(_0x11677c,_0xbf99f3){_0x11677c=_0x11677c-0x89;let _0xc26720=_0x323afa[_0x11677c];return _0xc26720;},a75_0x1167(_0x4dbfbd,_0x56ba1b);}module[a75_0x5631d5(0x99)]=BaseModule;
@@ -1 +1 @@
1
- const a76_0x2e2d68=a76_0x5b69;(function(_0x1575ee,_0x32339d){const _0x13594f=a76_0x5b69,_0x5738b4=_0x1575ee();while(!![]){try{const _0x5e91d6=-parseInt(_0x13594f(0x128))/0x1*(-parseInt(_0x13594f(0x103))/0x2)+parseInt(_0x13594f(0x10a))/0x3*(-parseInt(_0x13594f(0x107))/0x4)+parseInt(_0x13594f(0x11a))/0x5*(parseInt(_0x13594f(0x125))/0x6)+parseInt(_0x13594f(0x110))/0x7+parseInt(_0x13594f(0x120))/0x8*(-parseInt(_0x13594f(0x101))/0x9)+-parseInt(_0x13594f(0x124))/0xa*(parseInt(_0x13594f(0x129))/0xb)+parseInt(_0x13594f(0x10b))/0xc*(-parseInt(_0x13594f(0x11b))/0xd);if(_0x5e91d6===_0x32339d)break;else _0x5738b4['push'](_0x5738b4['shift']());}catch(_0x45796d){_0x5738b4['push'](_0x5738b4['shift']());}}}(a76_0x44cb,0xef3d9));function a76_0x5b69(_0x2b6f02,_0x3d8b1d){const _0x44cb49=a76_0x44cb();return a76_0x5b69=function(_0x5b69c4,_0x199175){_0x5b69c4=_0x5b69c4-0xff;let _0x3437a9=_0x44cb49[_0x5b69c4];return _0x3437a9;},a76_0x5b69(_0x2b6f02,_0x3d8b1d);}const BaseModule=require('./baseModule'),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFramework=require(a76_0x2e2d68(0x100)),AutomationFrameworkState=require(a76_0x2e2d68(0x11e)),HookState=require(a76_0x2e2d68(0x117)),{playwrightAnnotate}=require(a76_0x2e2d68(0x118)),PerformanceTester=require(a76_0x2e2d68(0x108)),{O11y_EVENTS}=require(a76_0x2e2d68(0x115)),constants=require(a76_0x2e2d68(0x10f));function a76_0x44cb(){const _0x3a2d31=['4905688muoHEU','TEST_REPORTING_ANALYTICS','registerObserver','nrrqz','2438180SMrgPY','1805304hDKmEw','POST','onBeforeTest:\x20','394459vRZmSV','11afMisa','observabilityConfig','../framework/automationFramework.js','9azWhoA','ObservabilitySync:','8mzRwYV','info','onBeforeTest:\x20page\x20is\x20not\x20defined','MODULE_NAME','112HSlGec','../../../helpers/performance/performance-tester.js','page','128265atWfkX','24101268haIcUY','logger','\x20sync\x20done','getModuleName','../../utils/constants.js','11615779GCeFRL','CREATE','rClNC','UWYMQ','end','../../../helpers/performance/constants.js','ObservabilityModule','../state/hookState.js','../../../helpers/helper.js','onBeforeTest','30QgsrFb','13feCmqu','bind','SYNC','../state/automationFrameworkState.js','name'];a76_0x44cb=function(){return _0x3a2d31;};return a76_0x44cb();}class ObservabilityModule extends BaseModule{[a76_0x2e2d68(0x10c)]=createClassLogger(a76_0x2e2d68(0x116));constructor(_0x491a2f){const _0x119234=a76_0x2e2d68,_0x2d2dfc={};_0x2d2dfc['rClNC']=_0x119234(0x116);const _0x1b1f5e=_0x2d2dfc;super(),this[_0x119234(0x11f)]=_0x1b1f5e[_0x119234(0x112)],this[_0x119234(0xff)]=_0x491a2f,AutomationFramework[_0x119234(0x122)](AutomationFrameworkState[_0x119234(0x111)],HookState[_0x119234(0x126)],this['onBeforeTest'][_0x119234(0x11c)](this));}[a76_0x2e2d68(0x10e)](){const _0x835e9d=a76_0x2e2d68;return ObservabilityModule[_0x835e9d(0x106)];}async[a76_0x2e2d68(0x119)](_0x9ce410){const _0x6d905b=a76_0x2e2d68,_0x53e134={'VHucZ':function(_0x71726e,_0x879b4d){return _0x71726e+_0x879b4d;},'UWYMQ':_0x6d905b(0x102),'nwJJa':function(_0x1befd9,_0x37a64f,_0x22a94a,_0x20fa6a){return _0x1befd9(_0x37a64f,_0x22a94a,_0x20fa6a);},'uHhFQ':'debug','nrrqz':_0x6d905b(0x105)};if(_0x9ce410[_0x6d905b(0x109)]){const _0xaa2497=_0x9ce410[_0x6d905b(0x109)],_0x51719f=Date['now'](),_0x5263bd=_0x53e134['VHucZ'](_0x53e134[_0x6d905b(0x113)],_0x51719f);PerformanceTester['start'](O11y_EVENTS[_0x6d905b(0x11d)]),await _0x53e134['nwJJa'](playwrightAnnotate,_0xaa2497,_0x5263bd,_0x53e134['uHhFQ']),PerformanceTester[_0x6d905b(0x114)](O11y_EVENTS[_0x6d905b(0x11d)]),this['logger'][_0x6d905b(0x104)](_0x6d905b(0x127)+constants[_0x6d905b(0x121)]+_0x6d905b(0x10d));}else this[_0x6d905b(0x10c)]['debug'](_0x53e134[_0x6d905b(0x123)]);}}ObservabilityModule['MODULE_NAME']=a76_0x2e2d68(0x116),module['exports']=ObservabilityModule;
1
+ const a76_0x23fc22=a76_0x1930;function a76_0x157a(){const _0x550b84=['TEST_REPORTING_ANALYTICS','now','CREATE','POST','eDeFs','exports','561788kVTcVu','874470oJfipI','398030iZegsg','registerObserver','ObservabilitySync:','MODULE_NAME','debug','end','vIwkf','24pdjuTG','bind','LXlSS','../../utils/constants.js','\x20sync\x20done','ObservabilityModule','1771080WdEhvL','2196927vakcAc','../../../helpers/classLogger.js','../../../helpers/performance/constants.js','vUoBk','SYNC','onBeforeTest:\x20','page','../state/automationFrameworkState.js','336540eUSlpn','./baseModule','onBeforeTest:\x20page\x20is\x20not\x20defined','logger','3938088iEtMCl','12LVsYFt','name','getModuleName','observabilityConfig','../../../helpers/performance/performance-tester.js','../../../helpers/helper.js'];a76_0x157a=function(){return _0x550b84;};return a76_0x157a();}function a76_0x1930(_0x1d7d63,_0x2f088c){const _0x157a20=a76_0x157a();return a76_0x1930=function(_0x1930d7,_0x4e465b){_0x1930d7=_0x1930d7-0x149;let _0x3c380f=_0x157a20[_0x1930d7];return _0x3c380f;},a76_0x1930(_0x1d7d63,_0x2f088c);}(function(_0x304bca,_0x108d80){const _0x41bcc3=a76_0x1930,_0x82f98d=_0x304bca();while(!![]){try{const _0x48603f=parseInt(_0x41bcc3(0x14c))/0x1+parseInt(_0x41bcc3(0x14e))/0x2+parseInt(_0x41bcc3(0x14d))/0x3+-parseInt(_0x41bcc3(0x164))/0x4+parseInt(_0x41bcc3(0x15b))/0x5*(parseInt(_0x41bcc3(0x169))/0x6)+-parseInt(_0x41bcc3(0x168))/0x7+-parseInt(_0x41bcc3(0x155))/0x8*(parseInt(_0x41bcc3(0x15c))/0x9);if(_0x48603f===_0x108d80)break;else _0x82f98d['push'](_0x82f98d['shift']());}catch(_0x170b3c){_0x82f98d['push'](_0x82f98d['shift']());}}}(a76_0x157a,0x5d301));const BaseModule=require(a76_0x23fc22(0x165)),{createClassLogger}=require(a76_0x23fc22(0x15d)),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require(a76_0x23fc22(0x163)),HookState=require('../state/hookState.js'),{playwrightAnnotate}=require(a76_0x23fc22(0x16e)),PerformanceTester=require(a76_0x23fc22(0x16d)),{O11y_EVENTS}=require(a76_0x23fc22(0x15e)),constants=require(a76_0x23fc22(0x158));class ObservabilityModule extends BaseModule{[a76_0x23fc22(0x167)]=createClassLogger(a76_0x23fc22(0x15a));constructor(_0x14829e){const _0x473424=a76_0x23fc22,_0x3dca70={};_0x3dca70[_0x473424(0x15f)]=_0x473424(0x15a);const _0x294be2=_0x3dca70;super(),this[_0x473424(0x16a)]=_0x294be2[_0x473424(0x15f)],this[_0x473424(0x16c)]=_0x14829e,AutomationFramework[_0x473424(0x14f)](AutomationFrameworkState[_0x473424(0x171)],HookState[_0x473424(0x149)],this['onBeforeTest'][_0x473424(0x156)](this));}[a76_0x23fc22(0x16b)](){const _0x3a1ab0=a76_0x23fc22;return ObservabilityModule[_0x3a1ab0(0x151)];}async['onBeforeTest'](_0x38fb17){const _0x1b09bd=a76_0x23fc22,_0x1e61ea={'npVpm':function(_0x187e02,_0x459ca2){return _0x187e02+_0x459ca2;},'LXlSS':_0x1b09bd(0x150),'vIwkf':function(_0x5e3311,_0x57afea,_0x1cfce3,_0x53e24d){return _0x5e3311(_0x57afea,_0x1cfce3,_0x53e24d);},'MLeJI':_0x1b09bd(0x152),'eDeFs':_0x1b09bd(0x166)};if(_0x38fb17[_0x1b09bd(0x162)]){const _0x4adde5=_0x38fb17[_0x1b09bd(0x162)],_0x4b4e96=Date[_0x1b09bd(0x170)](),_0x5b97f0=_0x1e61ea['npVpm'](_0x1e61ea[_0x1b09bd(0x157)],_0x4b4e96);PerformanceTester['start'](O11y_EVENTS['SYNC']),await _0x1e61ea[_0x1b09bd(0x154)](playwrightAnnotate,_0x4adde5,_0x5b97f0,_0x1e61ea['MLeJI']),PerformanceTester[_0x1b09bd(0x153)](O11y_EVENTS[_0x1b09bd(0x160)]),this['logger']['info'](_0x1b09bd(0x161)+constants[_0x1b09bd(0x16f)]+_0x1b09bd(0x159));}else this[_0x1b09bd(0x167)]['debug'](_0x1e61ea[_0x1b09bd(0x14a)]);}}ObservabilityModule[a76_0x23fc22(0x151)]='ObservabilityModule',module[a76_0x23fc22(0x14b)]=ObservabilityModule;
@@ -1 +1 @@
1
- const a77_0x4209d3=a77_0x2ce3;function a77_0x2ce3(_0x2b0b9a,_0x1f59ac){const _0x5ceac7=a77_0x5cea();return a77_0x2ce3=function(_0x2ce3b0,_0x139ad0){_0x2ce3b0=_0x2ce3b0-0xce;let _0x43b853=_0x5ceac7[_0x2ce3b0];return _0x43b853;},a77_0x2ce3(_0x2b0b9a,_0x1f59ac);}(function(_0x3891c8,_0x2ec913){const _0xe93487=a77_0x2ce3,_0x428039=_0x3891c8();while(!![]){try{const _0x2c1bf1=parseInt(_0xe93487(0x175))/0x1+-parseInt(_0xe93487(0x180))/0x2*(parseInt(_0xe93487(0x163))/0x3)+parseInt(_0xe93487(0xd7))/0x4*(parseInt(_0xe93487(0x160))/0x5)+-parseInt(_0xe93487(0x118))/0x6+-parseInt(_0xe93487(0x10e))/0x7*(-parseInt(_0xe93487(0x124))/0x8)+-parseInt(_0xe93487(0x109))/0x9+parseInt(_0xe93487(0x158))/0xa;if(_0x2c1bf1===_0x2ec913)break;else _0x428039['push'](_0x428039['shift']());}catch(_0x29315f){_0x428039['push'](_0x428039['shift']());}}}(a77_0x5cea,0x45ca1));const util=require(a77_0x4209d3(0x16f)),BaseModule=require('./baseModule'),{createClassLogger}=require(a77_0x4209d3(0x116)),{getFrameworkVersion}=require(a77_0x4209d3(0x138)),helper=require(a77_0x4209d3(0x122)),{FRAMEWORKS}=require(a77_0x4209d3(0x100)),AutomationFramework=require(a77_0x4209d3(0x108)),AutomationFrameworkState=require(a77_0x4209d3(0xee)),HookState=require(a77_0x4209d3(0x105)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a77_0x4209d3(0x115)),CLIUtils=require(a77_0x4209d3(0x153)),BrowserstackCLI=require(a77_0x4209d3(0x149)),GrpcClient=require(a77_0x4209d3(0x15d)),PerformanceTester=require(a77_0x4209d3(0x150)),PerformanceEvents=require(a77_0x4209d3(0xe1))[a77_0x4209d3(0xdc)],TestInfo=require(a77_0x4209d3(0x16d)),{getPlaywrightProvider}=require(a77_0x4209d3(0x115)),TestFrameworkConstants=require(a77_0x4209d3(0x112)),TestFrameworkState=require('../state/testFrameworkState');function a77_0x5cea(){const _0x5a4fe3=['with\x20','testHookState','capabilities','WQnKP','getCapabilities','KEY_BROWSER_OBJECT','UbiCS','params','../../../helpers/helper','Error\x20in\x20onDispatchExecute:\x20','4024360TojUwv','YAgzr','testId','KEY_HUB_URL','KOBfh','pXFcQ','KEY_PLATFORM_DETAILS','KEY_PLATFORM_INDEX','exports','KEY_TEST_ID','KEY_PAGE_OBJECT','tvStm','automationSession','markSessionStatus','getContext','ZXBQp','_test','end','Error\x20in\x20onBeforeDriverCreate:\x20','wzyES','../../../helpers/test-observability/utils','split','bsParams','MODULE_NAME','Automation\x20onAfterTest:\x20Test\x20status:\x20','length','markSessionStatus:\x20Marking\x20session\x20status','lVzWc','JnNIY','testFrameworkVersion','error','OZrSy','driverInit','action','getModuleName','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','__workerDetails','../browserstackCLI.js','gherkinDocument','uCpfM','onAfterDriverCreate:\x20Setting\x20context\x20object','name','onPlaywrightDispatch','browser','../../../helpers/performance/performance-tester.js','context','status','../cliUtils.js','playwrightVersion','testInfo','qYRGL','skhhW','97340XwDKRu','hhlwU','KEY_CONTEXT_OBJECT','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','Bifti','../grpcClient.js','VUOFY','debug','420lGjEGA','PRE','stringify','76317wZuWnm','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','format','rWVtZ','browserVersion','onBeforeDriverCreate','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','xcdVb','1.51.0','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','../TestInfo.js','pickle','util','sENPQ','setState','getConfig','testId:\x20','SESSION_NAME','25800VcFGyq','getTestIdentifierFromTestInfo','lZfsz','qafvl','onDispatchExecute:\x20Playwright\x20sessionId:\x20','setSessionStatus','workerInfo','Session','getTestDetails','DkxgL','browserObject','10xJpXXw','CREATE','EXECUTE','isPlaywright','Playwright','passed','launchcaps','arguments','testRunId','hubUrl','POST','instance','axJKz','rDjiX','getState','markSessionName','bStackParams','toString','cdrUA','MOYWI','17320IlZuDI','markSessionName:\x20Skipping\x20session\x20name\x20marking','testUuid','gDuce','base64','AUTOMATE_EVENTS','KEY_CAPABILITIES','logger','Error\x20in\x20onAfterDriverCreate:\x20','PkyQB','../../../helpers/performance/constants.js','getInstance','browserName','message','getTestUUID','RStIV','onAfterTest','registerObserver','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','pageObject','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','chyCy','getThreadId','../state/automationFrameworkState.js','inspect','start','cfvQv','onAfterDriverCreate:\x20Setting\x20page\x20object','retry','KEY_SESSION_ID','YcVwu','testData\x20from\x20onAfterTest:\x20','testFrameworkState','onAfterDriverCreate','KzTJg','JZvcX','isFalse','INCNq','onAfterTest\x20CBTSession\x20payload:\x20','info','bind','../../utils/constants','getTrackedInstance','page','PlaywrightDriverModule','1.52.999','../state/hookState.js','rvsxu','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','../framework/automationFramework.js','577566DUOfrk','peOdp','TEST','platformIndex','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','7MDMdWg','shouldSkipSessionName','parse','platformDetails','../framework/constants/testFrameworkConstants.js','KEY_TEST_FRAMEWORK_VERSION','PfNmO','../../../helpers/helper.js','../../../helpers/classLogger.js','2|3|9|6|0|10|5|1|7|4|8','2550438BqVhVa','from'];a77_0x5cea=function(){return _0x5a4fe3;};return a77_0x5cea();}class PlaywrightDriverModule extends BaseModule{static [a77_0x4209d3(0x11f)]=a77_0x4209d3(0x17f);static [a77_0x4209d3(0x15a)]='contextObject';static [a77_0x4209d3(0x12e)]=a77_0x4209d3(0xea);static ['KEY_SESSION_ID']='sessionId';static [a77_0x4209d3(0x12b)]=a77_0x4209d3(0x10c);static ['KEY_CAPABILITIES']=a77_0x4209d3(0x11c);static ['KEY_HUB_URL']=a77_0x4209d3(0x189);static [a77_0x4209d3(0x12a)]='platformDetails';static [a77_0x4209d3(0x12d)]=a77_0x4209d3(0x126);[a77_0x4209d3(0xde)]=createClassLogger(a77_0x4209d3(0x103));constructor(){const _0x3b76b2=a77_0x4209d3,_0x300093={};_0x300093['skhhW']=_0x3b76b2(0x117),_0x300093[_0x3b76b2(0x106)]=_0x3b76b2(0x103);const _0x718484=_0x300093,_0x21b103=_0x718484[_0x3b76b2(0x157)][_0x3b76b2(0x139)]('|');let _0xb79900=0x0;while(!![]){switch(_0x21b103[_0xb79900++]){case'0':this[_0x3b76b2(0x167)]=null;continue;case'1':AutomationFramework[_0x3b76b2(0xe8)](AutomationFrameworkState[_0x3b76b2(0x181)],HookState[_0x3b76b2(0x161)],this[_0x3b76b2(0x168)]['bind'](this));continue;case'2':super();continue;case'3':this[_0x3b76b2(0x14d)]=_0x718484['rvsxu'];continue;case'4':AutomationFramework[_0x3b76b2(0xe8)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x3b76b2(0x18a)],this[_0x3b76b2(0x14e)][_0x3b76b2(0xff)](this));continue;case'5':this[_0x3b76b2(0x188)]=null;continue;case'6':this[_0x3b76b2(0xe3)]=null;continue;case'7':AutomationFramework[_0x3b76b2(0xe8)](AutomationFrameworkState[_0x3b76b2(0x181)],HookState[_0x3b76b2(0x18a)],this[_0x3b76b2(0xf8)][_0x3b76b2(0xff)](this));continue;case'8':AutomationFramework[_0x3b76b2(0xe8)](AutomationFrameworkState[_0x3b76b2(0x182)],HookState[_0x3b76b2(0x18a)],this[_0x3b76b2(0xe7)]['bind'](this));continue;case'9':this[_0x3b76b2(0x154)]=null;continue;case'10':this['platforms']=[];continue;}break;}}[a77_0x4209d3(0x146)](){const _0x4f0c03=a77_0x4209d3;return PlaywrightDriverModule[_0x4f0c03(0x13b)];}async[a77_0x4209d3(0x168)](_0x1ecbfa){const _0x20acd9=a77_0x4209d3,_0x454f1e={};_0x454f1e[_0x20acd9(0xf5)]=_0x20acd9(0x169);const _0x4a5909=_0x454f1e;try{this[_0x20acd9(0xde)][_0x20acd9(0x15f)](_0x4a5909[_0x20acd9(0xf5)]);const _0x3a3d79=_0x1ecbfa[_0x20acd9(0x186)],_0x1938c9=_0x1ecbfa[_0x20acd9(0x189)];AutomationFramework[_0x20acd9(0x171)](_0x1ecbfa[_0x20acd9(0xce)],PlaywrightDriverModule[_0x20acd9(0xdd)],_0x3a3d79),AutomationFramework[_0x20acd9(0x171)](_0x1ecbfa[_0x20acd9(0xce)],PlaywrightDriverModule[_0x20acd9(0x127)],_0x1938c9);}catch(_0x1d0423){this[_0x20acd9(0xde)][_0x20acd9(0x142)](_0x20acd9(0x136)+util['format'](_0x1d0423));}}async['onPlaywrightDispatch'](_0x262803){const _0x2f7c1b=a77_0x4209d3,_0x36356d={};_0x36356d['RStIV']=function(_0xdba171,_0x6832c5){return _0xdba171||_0x6832c5;};const _0x142df5=_0x36356d;try{const _0x44497f=_0x262803?.[_0x2f7c1b(0xe4)]&&_0x262803?.[_0x2f7c1b(0xe4)]?.[_0x2f7c1b(0x121)]&&_0x262803?.[_0x2f7c1b(0xe4)]?.[_0x2f7c1b(0x121)]?.[_0x2f7c1b(0x13a)],_0x1096f1=_0x262803?.[_0x2f7c1b(0xe4)]&&_0x262803?.[_0x2f7c1b(0xe4)]?.[_0x2f7c1b(0xd3)];if(_0x142df5[_0x2f7c1b(0xe6)](_0x44497f,_0x1096f1)){this[_0x2f7c1b(0xde)][_0x2f7c1b(0x15f)](_0x2f7c1b(0x16c)+util[_0x2f7c1b(0xef)](_0x44497f)+'\x20||\x20'+util['inspect'](_0x1096f1));const _0x339475=_0x262803?.[_0x2f7c1b(0xce)],_0x4ec572=global?.['__workerDetails']?.['workerInfo']?.['parallelIndex'],_0x1aff96=_0x44497f?.['sessionId']||_0x1096f1?.['sessionId'],_0x19a32a=_0x44497f?.[_0x2f7c1b(0x111)]||_0x1096f1?.[_0x2f7c1b(0x111)];_0x1aff96&&(this[_0x2f7c1b(0xde)][_0x2f7c1b(0x15f)](_0x2f7c1b(0x179)+_0x1aff96),AutomationFramework['setState'](_0x339475,PlaywrightDriverModule[_0x2f7c1b(0xf4)],_0x1aff96)),_0x4ec572&&(this['logger'][_0x2f7c1b(0x15f)]('onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20'+util['inspect'](_0x4ec572)),AutomationFramework[_0x2f7c1b(0x171)](_0x339475,PlaywrightDriverModule['KEY_PLATFORM_INDEX'],_0x4ec572));}}catch(_0x5327e7){this[_0x2f7c1b(0xde)]['error'](_0x2f7c1b(0x123)+util[_0x2f7c1b(0x165)](_0x5327e7));}}async[a77_0x4209d3(0xf8)](_0x11d3a9){const _0x106177=a77_0x4209d3,_0x17304f={'hhlwU':'onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','rDjiX':function(_0x21ccc0,_0x3a6634){return _0x21ccc0(_0x3a6634);},'PfNmO':_0x106177(0xf2),'ZXBQp':_0x106177(0xe9),'DoHLh':_0x106177(0x14c),'peOdp':'onAfterDriverCreate:\x20Setting\x20browser\x20object','WQnKP':_0x106177(0xdb)};try{this[_0x106177(0xde)][_0x106177(0x15f)](_0x17304f[_0x106177(0x159)]);const _0x35e89f=_0x11d3a9[_0x106177(0xce)];this[_0x106177(0x154)]=_0x17304f[_0x106177(0xd0)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x11d3a9[_0x106177(0x102)]){this[_0x106177(0xde)][_0x106177(0x15f)](_0x17304f[_0x106177(0x114)]),AutomationFramework['setState'](_0x35e89f,PlaywrightDriverModule['KEY_PAGE_OBJECT'],_0x11d3a9[_0x106177(0x102)]);if(_0x11d3a9['testInfo']){this['logger'][_0x106177(0x15f)](_0x17304f[_0x106177(0x133)]);const _0x53e86f=_0x11d3a9[_0x106177(0x155)]?.[_0x106177(0x134)]?.['id']||_0x11d3a9[_0x106177(0x155)]?.[_0x106177(0x126)];AutomationFramework[_0x106177(0x171)](_0x35e89f,PlaywrightDriverModule['KEY_TEST_ID'],_0x53e86f),await this[_0x106177(0xd2)](_0x11d3a9[_0x106177(0x155)]);}}_0x11d3a9[_0x106177(0x151)]&&(this[_0x106177(0xde)]['debug'](_0x17304f['DoHLh']),AutomationFramework[_0x106177(0x171)](_0x35e89f,PlaywrightDriverModule[_0x106177(0x15a)],_0x11d3a9['context']));if(_0x11d3a9[_0x106177(0x14f)]){this['logger']['debug'](_0x17304f[_0x106177(0x10a)]);const _0x3d1db0=global?.[_0x106177(0x148)]?.[_0x106177(0x17b)]?.['parallelIndex'];AutomationFramework[_0x106177(0x171)](_0x35e89f,PlaywrightDriverModule[_0x106177(0x11f)],_0x11d3a9['browser']),AutomationFramework[_0x106177(0x171)](_0x35e89f,PlaywrightDriverModule[_0x106177(0x12b)],_0x3d1db0);const _0x54e2f8={};_0x54e2f8[_0x106177(0x183)]=!![];const _0x442cc7=Buffer[_0x106177(0x119)](JSON['stringify'](_0x54e2f8)[_0x106177(0xd4)](_0x17304f[_0x106177(0x11d)])),_0xcc8ff5=await GrpcClient[_0x106177(0xe2)]()[_0x106177(0x144)]({'platformIndex':_0x3d1db0,'ref':_0x35e89f['getRef'](),'userInputParams':_0x442cc7});helper[_0x106177(0xfb)](helper['isBrowserstackInfra']())&&AutomationFramework[_0x106177(0x171)](_0x35e89f,PlaywrightDriverModule[_0x106177(0xdd)],JSON[_0x106177(0x110)](Buffer['from'](_0xcc8ff5[_0x106177(0x11e)](),_0x17304f[_0x106177(0x11d)])[_0x106177(0xd4)]()));}}catch(_0x48a93d){this[_0x106177(0xde)][_0x106177(0x142)](_0x106177(0xdf)+util[_0x106177(0x165)](_0x48a93d));}}async[a77_0x4209d3(0xe7)](_0x588aae){const _0x216b5d=a77_0x4209d3,_0x3761ed={'NDqxT':'Automation\x20onAfterTest:\x20Test\x20completed','wzyES':_0x216b5d(0x164),'JZvcX':function(_0xad9331,_0x47b1e0){return _0xad9331(_0x47b1e0);},'gDuce':function(_0x4ff225,_0x4606cb){return _0x4ff225(_0x4606cb);},'mPnBM':function(_0x25b21a,_0x41b766,_0xecf8a8){return _0x25b21a(_0x41b766,_0xecf8a8);},'qafvl':'errors','JCXZt':function(_0x270f85,_0x1413b8){return _0x270f85>_0x1413b8;},'pXFcQ':function(_0x590676,_0xc127ba){return _0x590676+_0xc127ba;},'lZfsz':_0x216b5d(0x173),'YAgzr':_0x216b5d(0xf6),'ZiZSu':_0x216b5d(0x184),'zFihn':_0x216b5d(0x104),'INCNq':function(_0x2ba6bd,_0x15417e){return _0x2ba6bd(_0x15417e);},'PkyQB':_0x216b5d(0x16b),'sENPQ':function(_0x5b7481,_0x238275){return _0x5b7481>_0x238275;},'OZrSy':_0x216b5d(0xdb),'cfvQv':_0x216b5d(0x15b)};this['logger'][_0x216b5d(0x15f)](_0x3761ed['NDqxT']);const _0x45c3b6=_0x588aae[_0x216b5d(0xce)];if(!_0x45c3b6){this[_0x216b5d(0xde)][_0x216b5d(0x15f)](_0x3761ed[_0x216b5d(0x137)]);return;}const _0x131942=_0x588aae[_0x216b5d(0x155)],_0x55fc61=_0x131942['id']||_0x588aae[_0x216b5d(0x155)]?.['_test']?.['id']||_0x588aae[_0x216b5d(0x155)]?.[_0x216b5d(0x126)],_0x7c78a3=_0x131942['status'],_0x25295f=_0x3761ed['JZvcX'](getPlaywrightStatus,_0x7c78a3);let _0x436462;_0x131942[_0x216b5d(0x16e)]||_0x131942[_0x216b5d(0x14a)]?_0x436462=_0x3761ed[_0x216b5d(0xfa)](getCucumberSessionName,_0x131942):_0x436462=_0x3761ed[_0x216b5d(0xda)](getPlaywrightSessionName,_0x131942);const _0x5b9ce7=_0x3761ed['mPnBM'](nestedKeyValue,_0x131942,[_0x3761ed[_0x216b5d(0x178)]]);let _0x4d8f5b=null;_0x5b9ce7&&_0x3761ed['JCXZt'](_0x5b9ce7[_0x216b5d(0x13d)],0x0)&&(_0x4d8f5b=_0x5b9ce7[0x0][_0x216b5d(0xe4)]);this['logger'][_0x216b5d(0x15f)](_0x216b5d(0x13c)+_0x25295f+'\x20failure\x20reason:\x20'+_0x4d8f5b);const _0x1e4b26=TestInfo[_0x216b5d(0xe5)](TestInfo['getTestIdentifierFromTestInfo'](_0x131942,_0x131942[_0x216b5d(0xf3)])),_0x226c4e=TestInfo[_0x216b5d(0x17d)](TestInfo[_0x216b5d(0x176)](_0x131942,_0x131942[_0x216b5d(0xf3)]));this[_0x216b5d(0xde)][_0x216b5d(0xfe)](_0x3761ed[_0x216b5d(0x129)](_0x3761ed[_0x216b5d(0x177)],_0x55fc61)),this[_0x216b5d(0xde)]['info'](_0x3761ed[_0x216b5d(0x129)](_0x3761ed[_0x216b5d(0x125)],util[_0x216b5d(0xef)](_0x226c4e)));const _0x3718b5=AutomationFramework[_0x216b5d(0xd1)](_0x45c3b6,PlaywrightDriverModule['KEY_PLATFORM_INDEX'])||0x0,_0x3a8769=_0x226c4e[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]||_0x3761ed['ZiZSu'],_0x402288=_0x226c4e[TestFrameworkConstants[_0x216b5d(0x113)]]||_0x3761ed['zFihn'],_0x147161=TestFrameworkState[_0x216b5d(0x10b)][_0x216b5d(0xd4)]()[_0x216b5d(0x139)]('.')[0x1],_0xd28c37=HookState['POST'][_0x216b5d(0xd4)]()[_0x216b5d(0x139)]('.')[0x1],_0x49612a=_0x45c3b6[_0x216b5d(0x132)](),_0x37315f=AutomationFramework[_0x216b5d(0xd1)](_0x45c3b6,PlaywrightDriverModule[_0x216b5d(0x127)],''),_0x3f41a7={'provider':_0x3761ed[_0x216b5d(0xfc)](getPlaywrightProvider,_0x37315f),'frameworkName':_0x3761ed['ZiZSu'],'frameworkVersion':_0x3761ed[_0x216b5d(0xe0)],'frameworkSessionId':AutomationFramework[_0x216b5d(0xd1)](_0x45c3b6,PlaywrightDriverModule[_0x216b5d(0xf4)],''),'ref':_0x45c3b6['getRef'](),'hubUrl':_0x37315f};let _0x21ddca=AutomationFramework['getState'](_0x45c3b6,PlaywrightDriverModule[_0x216b5d(0xdd)],{});_0x21ddca&&_0x3761ed[_0x216b5d(0x170)](Object['keys'](_0x21ddca)[_0x216b5d(0x13d)],0x0)?_0x21ddca=Buffer['from'](JSON[_0x216b5d(0x162)](_0x21ddca))[_0x216b5d(0xd4)](_0x3761ed[_0x216b5d(0x143)]):_0x21ddca={};const _0x372ae7={'hash':_0x49612a['getId'](),'threadId':_0x49612a[_0x216b5d(0xed)]()[_0x216b5d(0xd4)](),'processId':_0x49612a['getProcessId']()[_0x216b5d(0xd4)]()},_0x429e24={};_0x429e24[_0x216b5d(0x10c)]=_0x3718b5,_0x429e24['testFrameworkName']=_0x3a8769,_0x429e24[_0x216b5d(0x141)]=_0x402288,_0x429e24[_0x216b5d(0xf7)]=_0x147161,_0x429e24[_0x216b5d(0x11b)]=_0xd28c37,_0x429e24[_0x216b5d(0xd9)]=_0x1e4b26,_0x429e24[_0x216b5d(0x130)]=_0x3f41a7,_0x429e24[_0x216b5d(0x11c)]=_0x21ddca,_0x429e24['executionContext']=_0x372ae7;const _0x7202b7=_0x429e24;this[_0x216b5d(0xde)][_0x216b5d(0x15f)](_0x216b5d(0xfd)+util[_0x216b5d(0x165)](_0x7202b7)),this[_0x216b5d(0xde)][_0x216b5d(0x15f)](_0x216b5d(0x147)+_0x55fc61);if(!_0x25295f){this[_0x216b5d(0xde)][_0x216b5d(0x15f)](_0x3761ed[_0x216b5d(0xf1)],_0x7c78a3[_0x216b5d(0x152)]);return;}this[_0x216b5d(0xde)][_0x216b5d(0x15f)]('Automation\x20onAfterTest:\x20Setting\x20session\x20status\x20for\x20testId:\x20'+_0x55fc61),await this[_0x216b5d(0x131)](_0x45c3b6,_0x436462,_0x25295f,_0x4d8f5b);}async[a77_0x4209d3(0x131)](_0x18177e,_0x195089,_0x16ee92,_0x1b9844){const _0x57e427=a77_0x4209d3,_0x1de8a5={'rWVtZ':_0x57e427(0x10d),'qYRGL':_0x57e427(0x107),'VUOFY':_0x57e427(0xeb),'DkxgL':_0x57e427(0x15b),'uCpfM':_0x57e427(0x17a),'MOYWI':'reason','xcdVb':_0x57e427(0x17c),'KOBfh':function(_0xd49a4b,_0x503e86){return _0xd49a4b===_0x503e86;},'JnNIY':_0x57e427(0x185),'KzTJg':_0x57e427(0xfe),'OYMRZ':_0x57e427(0x142),'tvStm':function(_0x19dc16,_0x58bd3a,_0x3178ca,_0x1f2daf){return _0x19dc16(_0x58bd3a,_0x3178ca,_0x1f2daf);},'cdrUA':_0x57e427(0x13e),'UbiCS':function(_0x2aa4bc,_0x5d91b7,_0x203e4a){return _0x2aa4bc(_0x5d91b7,_0x203e4a);}};if(CLIUtils['shouldSkipSessionStatus'](BrowserstackCLI[_0x57e427(0xe2)]()['getConfig']())){this['logger'][_0x57e427(0x15f)](_0x1de8a5[_0x57e427(0x166)]);return;}const _0xf889d6=_0x18177e;if(!_0xf889d6){this[_0x57e427(0xde)]['debug'](_0x1de8a5[_0x57e427(0x156)]);return;}const _0x5966ef=AutomationFramework[_0x57e427(0xd1)](_0xf889d6,PlaywrightDriverModule['KEY_PAGE_OBJECT']);if(!_0x5966ef){this[_0x57e427(0xde)]['debug'](_0x1de8a5[_0x57e427(0x15e)]);return;}const _0x594599=_0x16ee92;if(!_0x594599){this[_0x57e427(0xde)]['debug'](_0x1de8a5[_0x57e427(0x17e)],_0x594599);return;}const _0x44b268={};_0x44b268[_0x57e427(0x152)]=_0x594599;const _0x553646={};_0x553646[_0x57e427(0x145)]=_0x1de8a5[_0x57e427(0x14b)],_0x553646[_0x57e427(0x187)]=_0x44b268;const _0x345f64=_0x553646;_0x1b9844&&(_0x345f64[_0x57e427(0x187)][_0x1de8a5[_0x57e427(0xd6)]]=_0x1b9844);const _0x17a0a6=(_0x195089?_0x195089:_0x1de8a5[_0x57e427(0x16a)])+'\x20'+_0x594599+'\x20'+(_0x1b9844?_0x57e427(0x11a)+_0x1b9844:''),_0x3bb026=_0x1de8a5[_0x57e427(0x128)](_0x594599,_0x1de8a5[_0x57e427(0x140)])?_0x1de8a5[_0x57e427(0xf9)]:_0x1de8a5['OYMRZ'];await _0x1de8a5[_0x57e427(0x12f)](playwrightAnnotate,_0x5966ef,_0x17a0a6,_0x3bb026),PerformanceTester['start'](PerformanceEvents['SESSION_STATUS']),this[_0x57e427(0xde)]['debug'](_0x1de8a5[_0x57e427(0xd5)]),await _0x1de8a5[_0x57e427(0x120)](playwrightBstackJsExecutor,_0x5966ef,_0x345f64),PerformanceTester[_0x57e427(0x135)](PerformanceEvents['SESSION_STATUS']);}async[a77_0x4209d3(0xd2)](_0x191795){const _0x27a96e=a77_0x4209d3,_0x573370={'lVzWc':_0x27a96e(0xd8),'Bifti':function(_0x9ec706,_0x35f87c){return _0x9ec706(_0x35f87c);},'chyCy':'setSessionName','axJKz':function(_0x5c8f70,_0x569257,_0x1c3ae2){return _0x5c8f70(_0x569257,_0x1c3ae2);}};try{if(CLIUtils[_0x27a96e(0x10f)](BrowserstackCLI[_0x27a96e(0xe2)]()[_0x27a96e(0x172)]())){this[_0x27a96e(0xde)][_0x27a96e(0x15f)](_0x573370[_0x27a96e(0x13f)]);return;}const _0x5048f9=AutomationFramework[_0x27a96e(0xd1)](AutomationFramework[_0x27a96e(0x101)](),PlaywrightDriverModule[_0x27a96e(0x12e)]);let _0xaf92c5;_0x191795[_0x27a96e(0x16e)]||_0x191795['gherkinDocument']?_0xaf92c5=_0x573370['Bifti'](getCucumberSessionName,_0x191795):_0xaf92c5=_0x573370[_0x27a96e(0x15c)](getPlaywrightSessionName,_0x191795);const _0x5e4f75={};_0x5e4f75[_0x27a96e(0x14d)]=_0xaf92c5;const _0x10389c={};_0x10389c[_0x27a96e(0x145)]=_0x573370[_0x27a96e(0xec)],_0x10389c['arguments']=_0x5e4f75;const _0x29606e=_0x10389c;PerformanceTester[_0x27a96e(0xf0)](PerformanceEvents['SESSION_NAME']),await _0x573370[_0x27a96e(0xcf)](playwrightBstackJsExecutor,_0x5048f9,_0x29606e),PerformanceTester[_0x27a96e(0x135)](PerformanceEvents[_0x27a96e(0x174)]);}catch(_0x2f94de){PerformanceTester[_0x27a96e(0x135)](PerformanceEvents[_0x27a96e(0x174)],![],util['format'](_0x2f94de)),this[_0x27a96e(0xde)][_0x27a96e(0x142)]('Error\x20in\x20markSessionName:\x20'+util[_0x27a96e(0x165)](_0x2f94de));}}}PlaywrightDriverModule[a77_0x4209d3(0x13b)]=a77_0x4209d3(0x103),module[a77_0x4209d3(0x12c)]=PlaywrightDriverModule;
1
+ function a77_0x14a1(){const _0x121782=['info','../state/testFrameworkState','shouldSkipSessionStatus','end','YbZmh','getConfig','browser','qIOOD','onAfterTest','contextObject','message','getTrackedInstance','EQOJi','parse','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','PLAYWRIGHT','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','\x20||\x20','TbFwJ','gherkinDocument','format','../state/hookState.js','browserVersion','KEY_PAGE_OBJECT','olWkW','sWpAL','automationSession','browserObject','bind','__workerDetails','SYvJh','testFrameworkVersion','BAsfk','KEY_BROWSER_OBJECT','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','sessionId','action','base64','Error\x20in\x20onDispatchExecute:\x20','../framework/constants/testFrameworkConstants.js','testData\x20from\x20onAfterTest:\x20','instance','PLAYWRIGHT_DISPATCH','4|2|10|3|8|5|1|0|9|7|6','markSessionName','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','KJFIy','QrJSd','playwrightVersion','KEY_CONTEXT_OBJECT','SESSION_NAME','pageObject','502014CVXzsX','arguments','njrEJ','platforms','keys','getModuleName','../grpcClient.js','uuxSl','parallelIndex','../../../helpers/helper.js','KEY_TEST_ID','with\x20','PRE','hubUrl','../TestInfo.js','platformDetails','toString','getTestDetails','isBrowserstackInfra','OoTXM','zSdId','context','retry','../browserstackCLI.js','IuJan','onPlaywrightDispatch','Error\x20in\x20markSessionName:\x20','KEY_TEST_FRAMEWORK_NAME','pBRms','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','ztjGl','2400128KqzRSt','onAfterDriverCreate','driverInit','ucIiE','OpeEM','inspect','onAfterTest\x20CBTSession\x20payload:\x20','mbwlw','FeIFm','isPlaywright','434775RGjpIA','start','KsmFY','28350ORcduA','testHookState','KnvUL','setSessionStatus','CtEKy','PlaywrightDriverModule','params','../state/automationFrameworkState.js','CREATE','../../../helpers/classLogger.js','KEY_PLATFORM_DETAILS','markSessionStatus','split','KMVgq','LzyKt','1940zINemP','bsParams','getThreadId','markSessionStatus:\x20Marking\x20session\x20status','BOHGe','SESSION_STATUS','SFvhT','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','MODULE_NAME','errors','workerInfo','getTestIdentifierFromTestInfo','KEY_HUB_URL','testRunId','wRPaF','onAfterDriverCreate:\x20Setting\x20browser\x20object','EXECUTE','1.52.999','XwFpS','debug','testInfo','error','Session','Automation\x20onAfterTest:\x20Setting\x20session\x20status\x20for\x20testId:\x20','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','shouldSkipSessionName','\x20failure\x20reason:\x20','KEY_CAPABILITIES','testFrameworkName','../../../helpers/performance/performance-tester.js','Automation\x20onAfterTest:\x20Test\x20completed','1.51.0','testId','2527culNOq','testUuid','../framework/automationFramework.js','status','getRef','onDispatchExecute:\x20Playwright\x20sessionId:\x20','4270eIBfSw','logger','exports','isFalse','length','capabilities','setState','3978072KuzkKw','KEY_SESSION_ID','registerObserver','sAeWV','name','nHjgY','markSessionName:\x20Skipping\x20session\x20name\x20marking','../../../helpers/performance/constants.js','platformIndex','uBWpW','reason','stringify','getInstance','Error\x20in\x20onAfterDriverCreate:\x20','page','GnQyn','WHqhI','Automation\x20onAfterTest:\x20Test\x20status:\x20','pickle','XlFta','testFrameworkState','onAfterDriverCreate:\x20Setting\x20page\x20object','getState','737814ORvCAv','onAfterDriverCreate:\x20Setting\x20context\x20object','TEST','vPSLp','POST','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','getTestUUID','setSessionName','from','YqyLW','getId','Playwright','_test'];a77_0x14a1=function(){return _0x121782;};return a77_0x14a1();}const a77_0x3adf7d=a77_0x795f;(function(_0x357675,_0x48523f){const _0xc6a847=a77_0x795f,_0x5306b3=_0x357675();while(!![]){try{const _0x2ec0ef=-parseInt(_0xc6a847(0x102))/0x1+parseInt(_0xc6a847(0xd9))/0x2+-parseInt(_0xc6a847(0x159))/0x3+-parseInt(_0xc6a847(0x114))/0x4*(-parseInt(_0xc6a847(0x13b))/0x5)+parseInt(_0xc6a847(0x105))/0x6*(parseInt(_0xc6a847(0x135))/0x7)+-parseInt(_0xc6a847(0xf8))/0x8+-parseInt(_0xc6a847(0x142))/0x9;if(_0x2ec0ef===_0x48523f)break;else _0x5306b3['push'](_0x5306b3['shift']());}catch(_0x5d5483){_0x5306b3['push'](_0x5306b3['shift']());}}}(a77_0x14a1,0xe77d9));const util=require('util'),BaseModule=require('./baseModule'),{createClassLogger}=require(a77_0x3adf7d(0x10e)),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require('../../../helpers/helper'),{FRAMEWORKS}=require('../../utils/constants'),AutomationFramework=require(a77_0x3adf7d(0x137)),AutomationFrameworkState=require(a77_0x3adf7d(0x10c)),HookState=require(a77_0x3adf7d(0x17b)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a77_0x3adf7d(0xe2)),CLIUtils=require('../cliUtils.js'),BrowserstackCLI=require(a77_0x3adf7d(0xf0)),GrpcClient=require(a77_0x3adf7d(0xdf)),PerformanceTester=require(a77_0x3adf7d(0x131)),PerformanceEvents=require(a77_0x3adf7d(0x149))['AUTOMATE_EVENTS'],TestInfo=require(a77_0x3adf7d(0xe7)),{getPlaywrightProvider}=require(a77_0x3adf7d(0xe2)),TestFrameworkConstants=require(a77_0x3adf7d(0x18e)),TestFrameworkState=require(a77_0x3adf7d(0x167));function a77_0x795f(_0xc7c517,_0x12306e){const _0x14a1d3=a77_0x14a1();return a77_0x795f=function(_0x795f5e,_0x27781f){_0x795f5e=_0x795f5e-0xce;let _0x410f95=_0x14a1d3[_0x795f5e];return _0x410f95;},a77_0x795f(_0xc7c517,_0x12306e);}class PlaywrightDriverModule extends BaseModule{static ['KEY_BROWSER_OBJECT']=a77_0x3adf7d(0x181);static [a77_0x3adf7d(0xd6)]=a77_0x3adf7d(0x16f);static [a77_0x3adf7d(0x17d)]=a77_0x3adf7d(0xd8);static [a77_0x3adf7d(0x143)]=a77_0x3adf7d(0x18a);static ['KEY_PLATFORM_INDEX']=a77_0x3adf7d(0x14a);static [a77_0x3adf7d(0x12f)]='capabilities';static [a77_0x3adf7d(0x120)]=a77_0x3adf7d(0xe6);static [a77_0x3adf7d(0x10f)]=a77_0x3adf7d(0xe8);static [a77_0x3adf7d(0xe3)]='testId';[a77_0x3adf7d(0x13c)]=createClassLogger(a77_0x3adf7d(0x10a));constructor(){const _0x783227=a77_0x3adf7d,_0x7b4c69={};_0x7b4c69[_0x783227(0xf5)]=_0x783227(0xd0),_0x7b4c69[_0x783227(0xed)]='PlaywrightDriverModule';const _0x205e62=_0x7b4c69,_0x4bdd83=_0x205e62[_0x783227(0xf5)][_0x783227(0x111)]('|');let _0x1ea871=0x0;while(!![]){switch(_0x4bdd83[_0x1ea871++]){case'0':AutomationFramework[_0x783227(0x144)](AutomationFrameworkState['CREATE'],HookState[_0x783227(0xe5)],this['onBeforeDriverCreate'][_0x783227(0x182)](this));continue;case'1':this[_0x783227(0x121)]=null;continue;case'2':this[_0x783227(0x146)]=_0x205e62[_0x783227(0xed)];continue;case'3':this['browserName']=null;continue;case'4':super();continue;case'5':this[_0x783227(0xdc)]=[];continue;case'6':AutomationFramework[_0x783227(0x144)](AutomationFrameworkState[_0x783227(0x124)],HookState['POST'],this[_0x783227(0x16e)][_0x783227(0x182)](this));continue;case'7':AutomationFramework[_0x783227(0x144)](AutomationFrameworkState[_0x783227(0xcf)],HookState[_0x783227(0x15d)],this[_0x783227(0xf2)]['bind'](this));continue;case'8':this[_0x783227(0x17c)]=null;continue;case'9':AutomationFramework[_0x783227(0x144)](AutomationFrameworkState[_0x783227(0x10d)],HookState[_0x783227(0x15d)],this[_0x783227(0xf9)]['bind'](this));continue;case'10':this[_0x783227(0xd5)]=null;continue;}break;}}[a77_0x3adf7d(0xde)](){const _0x2b6b49=a77_0x3adf7d;return PlaywrightDriverModule[_0x2b6b49(0x11c)];}async['onBeforeDriverCreate'](_0x55455d){const _0x5b7ddf=a77_0x3adf7d,_0x8ba59e={};_0x8ba59e[_0x5b7ddf(0x113)]=_0x5b7ddf(0x174);const _0x15a142=_0x8ba59e;try{this[_0x5b7ddf(0x13c)]['debug'](_0x15a142[_0x5b7ddf(0x113)]);const _0x5eacd0=_0x55455d['launchcaps'],_0x3718af=_0x55455d[_0x5b7ddf(0xe6)];AutomationFramework['setState'](_0x55455d['instance'],PlaywrightDriverModule[_0x5b7ddf(0x12f)],_0x5eacd0),AutomationFramework[_0x5b7ddf(0x141)](_0x55455d[_0x5b7ddf(0xce)],PlaywrightDriverModule[_0x5b7ddf(0x120)],_0x3718af);}catch(_0x5c9599){this['logger']['error']('Error\x20in\x20onBeforeDriverCreate:\x20'+util[_0x5b7ddf(0x17a)](_0x5c9599));}}async[a77_0x3adf7d(0xf2)](_0x46e762){const _0x46a126=a77_0x3adf7d,_0x5c7027={};_0x5c7027[_0x46a126(0x147)]=function(_0xa4240f,_0x335524){return _0xa4240f||_0x335524;};const _0x1bbe81=_0x5c7027;try{const _0x32ed32=_0x46e762?.[_0x46a126(0x170)]&&_0x46e762?.[_0x46a126(0x170)]?.[_0x46a126(0x10b)]&&_0x46e762?.[_0x46a126(0x170)]?.[_0x46a126(0x10b)]?.[_0x46a126(0x115)],_0x508b73=_0x46e762?.[_0x46a126(0x170)]&&_0x46e762?.['message']?.['bStackParams'];if(_0x1bbe81[_0x46a126(0x147)](_0x32ed32,_0x508b73)){this[_0x46a126(0x13c)][_0x46a126(0x127)](_0x46a126(0x15e)+util['inspect'](_0x32ed32)+_0x46a126(0x177)+util[_0x46a126(0xfd)](_0x508b73));const _0x28c270=_0x46e762?.[_0x46a126(0xce)],_0x317e5f=global?.[_0x46a126(0x183)]?.[_0x46a126(0x11e)]?.[_0x46a126(0xe1)],_0x457684=_0x32ed32?.[_0x46a126(0x18a)]||_0x508b73?.['sessionId'],_0x16522b=_0x32ed32?.[_0x46a126(0xe8)]||_0x508b73?.['platformDetails'];_0x457684&&(this['logger'][_0x46a126(0x127)](_0x46a126(0x13a)+_0x457684),AutomationFramework[_0x46a126(0x141)](_0x28c270,PlaywrightDriverModule[_0x46a126(0x143)],_0x457684)),_0x317e5f&&(this[_0x46a126(0x13c)][_0x46a126(0x127)](_0x46a126(0xf6)+util[_0x46a126(0xfd)](_0x317e5f)),AutomationFramework[_0x46a126(0x141)](_0x28c270,PlaywrightDriverModule['KEY_PLATFORM_INDEX'],_0x317e5f));}}catch(_0x5e2f20){this['logger'][_0x46a126(0x129)](_0x46a126(0x18d)+util['format'](_0x5e2f20));}}async[a77_0x3adf7d(0xf9)](_0x148a25){const _0x530583=a77_0x3adf7d,_0x51e348={'tXwdf':_0x530583(0x189),'ztjGl':function(_0x1217be,_0x3a3eab){return _0x1217be(_0x3a3eab);},'sWpAL':_0x530583(0x157),'olWkW':'onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','XwFpS':_0x530583(0x15a),'Wnrpk':_0x530583(0x123),'OpeEM':_0x530583(0x18c)};try{this[_0x530583(0x13c)][_0x530583(0x127)](_0x51e348['tXwdf']);const _0x3e65c1=_0x148a25['instance'];this[_0x530583(0xd5)]=_0x51e348[_0x530583(0xf7)](getFrameworkVersion,FRAMEWORKS[_0x530583(0x175)]);if(_0x148a25[_0x530583(0x150)]){this[_0x530583(0x13c)][_0x530583(0x127)](_0x51e348[_0x530583(0x17f)]),AutomationFramework[_0x530583(0x141)](_0x3e65c1,PlaywrightDriverModule[_0x530583(0x17d)],_0x148a25['page']);if(_0x148a25[_0x530583(0x128)]){this[_0x530583(0x13c)][_0x530583(0x127)](_0x51e348[_0x530583(0x17e)]);const _0x4f5edf=_0x148a25['testInfo']?.[_0x530583(0x165)]?.['id']||_0x148a25['testInfo']?.[_0x530583(0x134)];AutomationFramework[_0x530583(0x141)](_0x3e65c1,PlaywrightDriverModule[_0x530583(0xe3)],_0x4f5edf),await this['markSessionName'](_0x148a25[_0x530583(0x128)]);}}_0x148a25[_0x530583(0xee)]&&(this[_0x530583(0x13c)][_0x530583(0x127)](_0x51e348[_0x530583(0x126)]),AutomationFramework[_0x530583(0x141)](_0x3e65c1,PlaywrightDriverModule[_0x530583(0xd6)],_0x148a25[_0x530583(0xee)]));if(_0x148a25[_0x530583(0x16c)]){this[_0x530583(0x13c)][_0x530583(0x127)](_0x51e348['Wnrpk']);const _0xfade4c=global?.[_0x530583(0x183)]?.[_0x530583(0x11e)]?.['parallelIndex'];AutomationFramework['setState'](_0x3e65c1,PlaywrightDriverModule[_0x530583(0x187)],_0x148a25[_0x530583(0x16c)]),AutomationFramework[_0x530583(0x141)](_0x3e65c1,PlaywrightDriverModule['KEY_PLATFORM_INDEX'],_0xfade4c);const _0x4ca68e={};_0x4ca68e[_0x530583(0x101)]=!![];const _0x28e710=Buffer[_0x530583(0x161)](JSON[_0x530583(0x14d)](_0x4ca68e)['toString'](_0x51e348[_0x530583(0xfc)])),_0xae8df1=await GrpcClient[_0x530583(0x14e)]()[_0x530583(0xfa)]({'platformIndex':_0xfade4c,'ref':_0x3e65c1[_0x530583(0x139)](),'userInputParams':_0x28e710});helper[_0x530583(0x13e)](helper[_0x530583(0xeb)]())&&AutomationFramework[_0x530583(0x141)](_0x3e65c1,PlaywrightDriverModule[_0x530583(0x12f)],JSON[_0x530583(0x173)](Buffer[_0x530583(0x161)](_0xae8df1['getCapabilities'](),_0x51e348[_0x530583(0xfc)])['toString']()));}}catch(_0x98fdb6){this['logger']['error'](_0x530583(0x14f)+util[_0x530583(0x17a)](_0x98fdb6));}}async[a77_0x3adf7d(0x16e)](_0x301651){const _0x464b11=a77_0x3adf7d,_0x3b6c30={'KMVgq':_0x464b11(0x132),'njrEJ':_0x464b11(0x12c),'sAeWV':function(_0x13180e,_0x1f2ea9){return _0x13180e(_0x1f2ea9);},'SYvJh':function(_0x430e80,_0x4d0a7e){return _0x430e80(_0x4d0a7e);},'Imtfn':function(_0x17ddd1,_0x3da93f){return _0x17ddd1(_0x3da93f);},'YqyLW':function(_0x592c3b,_0x593144,_0x464a7c){return _0x592c3b(_0x593144,_0x464a7c);},'mbwlw':_0x464b11(0x11d),'KsmFY':function(_0x450af9,_0x1c24d7){return _0x450af9>_0x1c24d7;},'YbZmh':function(_0x4c0cde,_0x33ed21){return _0x4c0cde+_0x33ed21;},'Awlqz':'testId:\x20','CtEKy':function(_0x6e1d3d,_0x18e05b){return _0x6e1d3d+_0x18e05b;},'XlFta':_0x464b11(0x18f),'KJFIy':_0x464b11(0x164),'uuxSl':_0x464b11(0x125),'ucIiE':_0x464b11(0x133),'qIOOD':function(_0x388397,_0x1ebdd3){return _0x388397>_0x1ebdd3;},'IuJan':_0x464b11(0x18c),'EQOJi':_0x464b11(0x188)};this[_0x464b11(0x13c)][_0x464b11(0x127)](_0x3b6c30[_0x464b11(0x112)]);const _0x24f816=_0x301651['instance'];if(!_0x24f816){this[_0x464b11(0x13c)][_0x464b11(0x127)](_0x3b6c30[_0x464b11(0xdb)]);return;}const _0x267f5d=_0x301651[_0x464b11(0x128)],_0x41787d=_0x267f5d['id']||_0x301651[_0x464b11(0x128)]?.[_0x464b11(0x165)]?.['id']||_0x301651[_0x464b11(0x128)]?.['testId'],_0x1d86ba=_0x267f5d[_0x464b11(0x138)],_0x73a116=_0x3b6c30[_0x464b11(0x145)](getPlaywrightStatus,_0x1d86ba);let _0x2fc187;_0x267f5d[_0x464b11(0x154)]||_0x267f5d[_0x464b11(0x179)]?_0x2fc187=_0x3b6c30[_0x464b11(0x184)](getCucumberSessionName,_0x267f5d):_0x2fc187=_0x3b6c30['Imtfn'](getPlaywrightSessionName,_0x267f5d);const _0x8c95a9=_0x3b6c30[_0x464b11(0x162)](nestedKeyValue,_0x267f5d,[_0x3b6c30[_0x464b11(0xff)]]);let _0x2b430f=null;_0x8c95a9&&_0x3b6c30[_0x464b11(0x104)](_0x8c95a9[_0x464b11(0x13f)],0x0)&&(_0x2b430f=_0x8c95a9[0x0][_0x464b11(0x170)]);this['logger'][_0x464b11(0x127)](_0x464b11(0x153)+_0x73a116+_0x464b11(0x12e)+_0x2b430f);const _0x341410=TestInfo[_0x464b11(0x15f)](TestInfo[_0x464b11(0x11f)](_0x267f5d,_0x267f5d[_0x464b11(0xef)])),_0x31c900=TestInfo[_0x464b11(0xea)](TestInfo[_0x464b11(0x11f)](_0x267f5d,_0x267f5d['retry']));this[_0x464b11(0x13c)]['info'](_0x3b6c30[_0x464b11(0x16a)](_0x3b6c30['Awlqz'],_0x41787d)),this[_0x464b11(0x13c)]['info'](_0x3b6c30[_0x464b11(0x109)](_0x3b6c30[_0x464b11(0x155)],util['inspect'](_0x31c900)));const _0x5c0fa1=AutomationFramework[_0x464b11(0x158)](_0x24f816,PlaywrightDriverModule['KEY_PLATFORM_INDEX'])||0x0,_0x27c392=_0x31c900[TestFrameworkConstants[_0x464b11(0xf4)]]||_0x3b6c30[_0x464b11(0xd3)],_0x361f08=_0x31c900[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]||_0x3b6c30[_0x464b11(0xe0)],_0x1dfd6c=TestFrameworkState[_0x464b11(0x15b)][_0x464b11(0xe9)]()[_0x464b11(0x111)]('.')[0x1],_0x5de91d=HookState['POST'][_0x464b11(0xe9)]()[_0x464b11(0x111)]('.')[0x1],_0xec9e08=_0x24f816['getContext'](),_0x2bab55=AutomationFramework[_0x464b11(0x158)](_0x24f816,PlaywrightDriverModule[_0x464b11(0x120)],''),_0x25e1ad={'provider':_0x3b6c30['SYvJh'](getPlaywrightProvider,_0x2bab55),'frameworkName':_0x3b6c30[_0x464b11(0xd3)],'frameworkVersion':_0x3b6c30[_0x464b11(0xfb)],'frameworkSessionId':AutomationFramework[_0x464b11(0x158)](_0x24f816,PlaywrightDriverModule[_0x464b11(0x143)],''),'ref':_0x24f816['getRef'](),'hubUrl':_0x2bab55};let _0x34d1a9=AutomationFramework[_0x464b11(0x158)](_0x24f816,PlaywrightDriverModule[_0x464b11(0x12f)],{});_0x34d1a9&&_0x3b6c30[_0x464b11(0x16d)](Object[_0x464b11(0xdd)](_0x34d1a9)[_0x464b11(0x13f)],0x0)?_0x34d1a9=Buffer[_0x464b11(0x161)](JSON[_0x464b11(0x14d)](_0x34d1a9))[_0x464b11(0xe9)](_0x3b6c30[_0x464b11(0xf1)]):_0x34d1a9={};const _0x43583b={'hash':_0xec9e08[_0x464b11(0x163)](),'threadId':_0xec9e08[_0x464b11(0x116)]()[_0x464b11(0xe9)](),'processId':_0xec9e08['getProcessId']()[_0x464b11(0xe9)]()},_0x1010e6={};_0x1010e6['platformIndex']=_0x5c0fa1,_0x1010e6[_0x464b11(0x130)]=_0x27c392,_0x1010e6[_0x464b11(0x185)]=_0x361f08,_0x1010e6[_0x464b11(0x156)]=_0x1dfd6c,_0x1010e6[_0x464b11(0x106)]=_0x5de91d,_0x1010e6[_0x464b11(0x136)]=_0x341410,_0x1010e6[_0x464b11(0x180)]=_0x25e1ad,_0x1010e6[_0x464b11(0x140)]=_0x34d1a9,_0x1010e6['executionContext']=_0x43583b;const _0x30b6a9=_0x1010e6;this['logger'][_0x464b11(0x127)](_0x464b11(0xfe)+util['format'](_0x30b6a9)),this[_0x464b11(0x13c)]['debug'](_0x464b11(0x176)+_0x41787d);if(!_0x73a116){this[_0x464b11(0x13c)]['debug'](_0x3b6c30[_0x464b11(0x172)],_0x1d86ba[_0x464b11(0x138)]);return;}this[_0x464b11(0x13c)][_0x464b11(0x127)](_0x464b11(0x12b)+_0x41787d),await this[_0x464b11(0x110)](_0x24f816,_0x2fc187,_0x73a116,_0x2b430f);}async[a77_0x3adf7d(0x110)](_0x5e2654,_0x47b079,_0x49e0eb,_0x18a986){const _0x392042=a77_0x3adf7d,_0x16702d={'WHqhI':_0x392042(0xd2),'BOHGe':'markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','PoBVT':_0x392042(0x11b),'Ozgtb':_0x392042(0x188),'vPSLp':_0x392042(0x108),'KnvUL':_0x392042(0x14c),'SFvhT':_0x392042(0x12a),'DQWty':function(_0x57051a,_0x19e1b3){return _0x57051a===_0x19e1b3;},'DLsTS':'passed','OoTXM':_0x392042(0x166),'FeIFm':_0x392042(0x129),'QrJSd':function(_0x660bda,_0x5b1e64,_0x1661b1,_0x37df2d){return _0x660bda(_0x5b1e64,_0x1661b1,_0x37df2d);},'BAsfk':_0x392042(0x117),'uBWpW':function(_0x143f2f,_0x115850,_0x180347){return _0x143f2f(_0x115850,_0x180347);}};if(CLIUtils[_0x392042(0x168)](BrowserstackCLI[_0x392042(0x14e)]()[_0x392042(0x16b)]())){this[_0x392042(0x13c)]['debug'](_0x16702d[_0x392042(0x152)]);return;}const _0x4df221=_0x5e2654;if(!_0x4df221){this[_0x392042(0x13c)]['debug'](_0x16702d[_0x392042(0x118)]);return;}const _0x203e69=AutomationFramework[_0x392042(0x158)](_0x4df221,PlaywrightDriverModule[_0x392042(0x17d)]);if(!_0x203e69){this[_0x392042(0x13c)]['debug'](_0x16702d['PoBVT']);return;}const _0x3013b6=_0x49e0eb;if(!_0x3013b6){this[_0x392042(0x13c)][_0x392042(0x127)](_0x16702d['Ozgtb'],_0x3013b6);return;}const _0x38bb47={};_0x38bb47[_0x392042(0x138)]=_0x3013b6;const _0x3ea493={};_0x3ea493[_0x392042(0x18b)]=_0x16702d[_0x392042(0x15c)],_0x3ea493[_0x392042(0xda)]=_0x38bb47;const _0x518996=_0x3ea493;_0x18a986&&(_0x518996['arguments'][_0x16702d[_0x392042(0x107)]]=_0x18a986);const _0x42750a=(_0x47b079?_0x47b079:_0x16702d[_0x392042(0x11a)])+'\x20'+_0x3013b6+'\x20'+(_0x18a986?_0x392042(0xe4)+_0x18a986:''),_0x568c5f=_0x16702d['DQWty'](_0x3013b6,_0x16702d['DLsTS'])?_0x16702d[_0x392042(0xec)]:_0x16702d[_0x392042(0x100)];await _0x16702d[_0x392042(0xd4)](playwrightAnnotate,_0x203e69,_0x42750a,_0x568c5f),PerformanceTester[_0x392042(0x103)](PerformanceEvents[_0x392042(0x119)]),this[_0x392042(0x13c)][_0x392042(0x127)](_0x16702d[_0x392042(0x186)]),await _0x16702d[_0x392042(0x14b)](playwrightBstackJsExecutor,_0x203e69,_0x518996),PerformanceTester[_0x392042(0x169)](PerformanceEvents['SESSION_STATUS']);}async[a77_0x3adf7d(0xd1)](_0x40c576){const _0x4130ef=a77_0x3adf7d,_0x22b351={'Zyqbf':_0x4130ef(0x148),'GnQyn':function(_0x46964a,_0x106c63){return _0x46964a(_0x106c63);},'TbFwJ':function(_0x2af5e5,_0x1ff36a){return _0x2af5e5(_0x1ff36a);},'wRPaF':_0x4130ef(0x160),'SYhRh':function(_0x234b7b,_0x2cbb1f,_0x1577c2){return _0x234b7b(_0x2cbb1f,_0x1577c2);}};try{if(CLIUtils[_0x4130ef(0x12d)](BrowserstackCLI['getInstance']()['getConfig']())){this[_0x4130ef(0x13c)][_0x4130ef(0x127)](_0x22b351['Zyqbf']);return;}const _0x4cf8b1=AutomationFramework[_0x4130ef(0x158)](AutomationFramework[_0x4130ef(0x171)](),PlaywrightDriverModule[_0x4130ef(0x17d)]);let _0x409f16;_0x40c576[_0x4130ef(0x154)]||_0x40c576[_0x4130ef(0x179)]?_0x409f16=_0x22b351[_0x4130ef(0x151)](getCucumberSessionName,_0x40c576):_0x409f16=_0x22b351[_0x4130ef(0x178)](getPlaywrightSessionName,_0x40c576);const _0x5c293e={};_0x5c293e[_0x4130ef(0x146)]=_0x409f16;const _0x6a9f43={};_0x6a9f43[_0x4130ef(0x18b)]=_0x22b351[_0x4130ef(0x122)],_0x6a9f43[_0x4130ef(0xda)]=_0x5c293e;const _0x406042=_0x6a9f43;PerformanceTester[_0x4130ef(0x103)](PerformanceEvents[_0x4130ef(0xd7)]),await _0x22b351['SYhRh'](playwrightBstackJsExecutor,_0x4cf8b1,_0x406042),PerformanceTester[_0x4130ef(0x169)](PerformanceEvents[_0x4130ef(0xd7)]);}catch(_0x156d16){PerformanceTester[_0x4130ef(0x169)](PerformanceEvents[_0x4130ef(0xd7)],![],util[_0x4130ef(0x17a)](_0x156d16)),this[_0x4130ef(0x13c)][_0x4130ef(0x129)](_0x4130ef(0xf3)+util['format'](_0x156d16));}}}PlaywrightDriverModule[a77_0x3adf7d(0x11c)]='PlaywrightDriverModule',module[a77_0x3adf7d(0x13d)]=PlaywrightDriverModule;
@@ -1 +1 @@
1
- function a78_0x3498(_0x28b293,_0x1491c5){const _0x297256=a78_0x2972();return a78_0x3498=function(_0x349807,_0x24173e){_0x349807=_0x349807-0xd5;let _0x4c4bae=_0x297256[_0x349807];return _0x4c4bae;},a78_0x3498(_0x28b293,_0x1491c5);}const a78_0x2fcff0=a78_0x3498;(function(_0x4cd734,_0x1421e6){const _0x4c88fc=a78_0x3498,_0x1b215b=_0x4cd734();while(!![]){try{const _0x2eef91=-parseInt(_0x4c88fc(0x112))/0x1+parseInt(_0x4c88fc(0x122))/0x2*(parseInt(_0x4c88fc(0x126))/0x3)+parseInt(_0x4c88fc(0x132))/0x4*(-parseInt(_0x4c88fc(0x128))/0x5)+parseInt(_0x4c88fc(0xde))/0x6+parseInt(_0x4c88fc(0xe3))/0x7+-parseInt(_0x4c88fc(0xd9))/0x8+-parseInt(_0x4c88fc(0xfd))/0x9*(-parseInt(_0x4c88fc(0x104))/0xa);if(_0x2eef91===_0x1421e6)break;else _0x1b215b['push'](_0x1b215b['shift']());}catch(_0x5345bd){_0x1b215b['push'](_0x1b215b['shift']());}}}(a78_0x2972,0x4abf0));function a78_0x2972(){const _0x1349f3=['testhubConfig','getThreadId','3nfXCmD','4|1|7|0|3|5|6|2','5TsQGZd','forEach','hbgiZ','getBuildHashedId','TEST','getCurrentHookState','Error\x20in\x20sending\x20CBTSession:\x20','bind','KEY_PLATFORM_INDEX','\x20hookState:\x20','1358612vXfylk','sendTestFrameworkEvent\x20complete\x20for\x20testId:\x20','debug','from','toString','result','onAllTestEvents','getId','getJwt','KEY_TEST_ENDED_AT','retry','getProcessId','onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20','1518576kyKibK','KEY_TEST_FRAMEWORK_NAME','KEY_CAPABILITIES','TestHubModule','../framework/constants/testFrameworkConstants.js','285312QUaAhG','split','POST','stringify','testFrameworkEvent','2420488qEzrXU','endedAt','getState','startedAt','getCurrentTestState','onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20','testFrameworkVersion','getTestUUID','logger','test','getContext','../browserstackCLI.js','../TestInfo.js','ASTxa','error','frameworkVersion','ysRfD','testId','MecYg','../../../helpers/classLogger.js','page','platformIndex','instance','ENV_VAR','frameworkName','KEY_TEST_STARTED_AT','7207578lnSyyO','sendTestFrameworkEvent','KEY_TEST_DEFERRED','format','getTestIdentifierFromTestInfo','BROWSERSTACK_TESTHUB_JWT','workerInfo','10RbcAWx','exports','KEY_TEST_FRAMEWORK_VERSION','executionContext','onPageCreate\x20CBTSession\x20payload:\x20','getRef','KEY_SESSION_ID','testFrameworkName','getTestDetails','./baseModule','MODULE_NAME','testFrameworkState','BROWSERSTACK_TESTHUB_UUID','values','515774djKOns','env','util','../framework/automationFramework.js','getInstance','name','getModuleName','registerObserver','testInfo','eventJson','Error\x20in\x20sendTestFrameworkEvent:\x20','test_deferred','testHookState','base64','CREATE','../state/automationFrameworkState.js','314462xSbqPr','sendTestFrameworkEvent\x20testId:\x20'];a78_0x2972=function(){return _0x1349f3;};return a78_0x2972();}const util=require(a78_0x2fcff0(0x114)),BaseModule=require(a78_0x2fcff0(0x10d)),{createClassLogger}=require(a78_0x2fcff0(0xf6)),AutomationFramework=require(a78_0x2fcff0(0x115)),AutomationFrameworkState=require(a78_0x2fcff0(0x121)),HookState=require('../state/hookState.js'),TestFramework=require('../framework/testFramework.js'),TestFrameworkState=require('../state/testFrameworkState.js'),PlaywrightDriverModule=require('./playwrightDriverModule.js'),TestFrameworkConstants=require(a78_0x2fcff0(0xdd)),GrpcClient=require('../grpcClient.js'),CLIUtils=require('../cliUtils.js'),TestInfo=require(a78_0x2fcff0(0xef)),testHubConstants=require('../../../helpers/testhub/constants'),BrowserstackCLI=require(a78_0x2fcff0(0xee)),{getPlaywrightProvider}=require('../../../helpers/helper.js'),{getTestRunIdentifier}=require('../../playwright/reporter/pwUtils.js');class TestHubModule extends BaseModule{[a78_0x2fcff0(0xeb)]=createClassLogger(a78_0x2fcff0(0xdc));constructor(_0x5a488e){const _0x129230=a78_0x2fcff0,_0x3b39d9={};_0x3b39d9[_0x129230(0xf5)]=_0x129230(0x127),_0x3b39d9[_0x129230(0x12a)]='TestHubModule';const _0x2b6aee=_0x3b39d9,_0x3689b0=_0x2b6aee['MecYg'][_0x129230(0xdf)]('|');let _0x58280a=0x0;while(!![]){switch(_0x3689b0[_0x58280a++]){case'0':AutomationFramework[_0x129230(0x119)](AutomationFrameworkState[_0x129230(0x120)],HookState[_0x129230(0xe0)],this['onPageCreate']['bind'](this));continue;case'1':this[_0x129230(0x117)]=_0x2b6aee['hbgiZ'];continue;case'2':BrowserstackCLI['O11yHashedID']=this[_0x129230(0x124)]['getBuildHashedId']();continue;case'3':Object[_0x129230(0x111)](TestFrameworkState)[_0x129230(0x129)](_0x284535=>{Object['values'](HookState)['forEach'](_0x16a241=>{const _0x275edd=a78_0x3498;TestFramework[_0x275edd(0x119)](_0x284535,_0x16a241,this[_0x275edd(0x138)][_0x275edd(0x12f)](this));});});continue;case'4':super();continue;case'5':process[_0x129230(0x113)][testHubConstants[_0x129230(0xfa)][_0x129230(0x102)]]=this['testhubConfig'][_0x129230(0x13a)]();continue;case'6':process[_0x129230(0x113)][testHubConstants[_0x129230(0xfa)][_0x129230(0x110)]]=this['testhubConfig'][_0x129230(0x12b)]();continue;case'7':this[_0x129230(0x124)]=_0x5a488e;continue;}break;}}[a78_0x2fcff0(0x118)](){const _0x16eaab=a78_0x2fcff0;return TestHubModule[_0x16eaab(0x10e)];}[a78_0x2fcff0(0x138)](_0x5a7dc1){const _0x4e0a4b=a78_0x2fcff0,_0x7c5bbc={};_0x7c5bbc[_0x4e0a4b(0xf0)]=function(_0x575aee,_0x47a921){return _0x575aee===_0x47a921;};const _0x140854=_0x7c5bbc,_0x139d48=_0x5a7dc1[_0x4e0a4b(0xf9)],_0x262842=_0x139d48[_0x4e0a4b(0xe7)]();(_0x140854[_0x4e0a4b(0xf0)](_0x262842,TestFrameworkState[_0x4e0a4b(0x12c)])||CLIUtils['matchHookRegex'](_0x262842[_0x4e0a4b(0x136)]()[_0x4e0a4b(0xdf)]('.')[0x1]))&&this[_0x4e0a4b(0xfe)](_0x5a7dc1);}async[a78_0x2fcff0(0xfe)](_0x1e8d53){const _0x2adb19=a78_0x2fcff0,_0xcce1b3={'EazQX':function(_0x57e2c4,_0x27718a,_0xcc8f9){return _0x57e2c4(_0x27718a,_0xcc8f9);},'bayvf':_0x2adb19(0x11f)};try{const _0x3b4335=_0x1e8d53['test']['id'],_0x264993=_0xcce1b3['EazQX'](getTestRunIdentifier,_0x1e8d53[_0x2adb19(0xec)],_0x1e8d53[_0x2adb19(0x137)][_0x2adb19(0xd6)]),_0x773040=_0x1e8d53[_0x2adb19(0xf9)],_0x1da5c0=_0x773040[_0x2adb19(0xed)](),_0x290ddb=_0x773040['getAllData']()['get'](_0x264993);this[_0x2adb19(0xeb)][_0x2adb19(0x134)](_0x2adb19(0x123)+_0x3b4335);const {[TestFrameworkConstants[_0x2adb19(0xda)]]:_0xf54590='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x47a7a1='',[TestFrameworkConstants[_0x2adb19(0xfc)]]:_0x5ca5e6='',[TestFrameworkConstants[_0x2adb19(0xd5)]]:_0x3649d9=''}=_0x290ddb,_0x585c90=_0x773040[_0x2adb19(0xe7)]()[_0x2adb19(0x136)]()[_0x2adb19(0xdf)]('.')[0x1],_0x2db5fc=_0x773040[_0x2adb19(0x12d)]()[_0x2adb19(0x136)]()[_0x2adb19(0xdf)]('.')[0x1],_0x3b18ff=global?.['__workerDetails']?.[_0x2adb19(0x103)]?.['parallelIndex'];;const _0x4e2b9d=_0x773040['getRef'](),_0x4b4c8a=Buffer[_0x2adb19(0x135)](JSON[_0x2adb19(0xe1)](_0x290ddb))[_0x2adb19(0x136)](_0xcce1b3['bayvf']),_0x3a3810={'hash':_0x1da5c0[_0x2adb19(0x139)](),'threadId':_0x1da5c0[_0x2adb19(0x125)]()[_0x2adb19(0x136)](),'processId':_0x1da5c0[_0x2adb19(0xd7)]()[_0x2adb19(0x136)]()},_0xfa8ff2={};_0xfa8ff2[_0x2adb19(0xf8)]=_0x3b18ff,_0xfa8ff2[_0x2adb19(0x10b)]=_0xf54590,_0xfa8ff2[_0x2adb19(0xe9)]=_0x47a7a1,_0xfa8ff2[_0x2adb19(0x10f)]=_0x585c90,_0xfa8ff2['hookState']=_0x2db5fc,_0xfa8ff2[_0x2adb19(0xe6)]=_0x5ca5e6,_0xfa8ff2[_0x2adb19(0xe4)]=_0x3649d9,_0xfa8ff2['uuid']=_0x4e2b9d,_0xfa8ff2[_0x2adb19(0x11b)]=_0x4b4c8a,_0xfa8ff2[_0x2adb19(0x107)]=_0x3a3810;const _0x1fb614=_0xfa8ff2,_0x5e2670=await GrpcClient[_0x2adb19(0x116)]()[_0x2adb19(0xe2)](_0x1fb614);this[_0x2adb19(0xeb)][_0x2adb19(0x134)](_0x2adb19(0x133)+_0x3b4335+'\x20testState:\x20'+_0x585c90+_0x2adb19(0x131)+_0x2db5fc);}catch(_0x50e73d){this[_0x2adb19(0xeb)][_0x2adb19(0xf1)](_0x2adb19(0x11c)+util['format'](_0x50e73d));}}async['onPageCreate'](_0x41965c){const _0x58d25a=a78_0x2fcff0,_0x27c7d1={'kxuUo':function(_0x104e17,_0x2aceaf){return _0x104e17(_0x2aceaf);},'ysRfD':_0x58d25a(0x11f)};try{if(_0x41965c[_0x58d25a(0xf7)]){const _0x3a59be=_0x41965c[_0x58d25a(0x11a)][_0x58d25a(0xf4)];this[_0x58d25a(0xeb)]['debug'](_0x58d25a(0xe8)+_0x3a59be);const _0x56f7b0=TestInfo[_0x58d25a(0x101)](_0x41965c[_0x58d25a(0x11a)],_0x41965c[_0x58d25a(0x11a)][_0x58d25a(0xd6)]),_0x30f3bc=TestInfo[_0x58d25a(0xea)](_0x56f7b0),_0x6e0119=TestInfo[_0x58d25a(0x10c)](_0x56f7b0),_0x262270=_0x41965c[_0x58d25a(0xf9)],_0xb44cc=AutomationFramework[_0x58d25a(0xe5)](_0x262270,PlaywrightDriverModule[_0x58d25a(0x130)]),_0x4fc7ee=_0x6e0119[TestFrameworkConstants[_0x58d25a(0xda)]],_0x197b45=_0x6e0119[TestFrameworkConstants[_0x58d25a(0x106)]],_0x3dc6b9=TestFrameworkState[_0x58d25a(0x12c)][_0x58d25a(0x136)]()['split']('.')[0x1],_0x30d768=HookState[_0x58d25a(0xe0)][_0x58d25a(0x136)]()[_0x58d25a(0xdf)]('.')[0x1],_0x2a8bbc=_0x262270[_0x58d25a(0xed)](),_0x5cf704=AutomationFramework[_0x58d25a(0xe5)](_0x262270,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x35b5ec={'provider':_0x27c7d1['kxuUo'](getPlaywrightProvider,_0x5cf704),'frameworkName':_0x262270[_0x58d25a(0xfb)],'frameworkVersion':_0x262270[_0x58d25a(0xf2)],'frameworkSessionId':AutomationFramework[_0x58d25a(0xe5)](_0x262270,PlaywrightDriverModule[_0x58d25a(0x10a)],''),'ref':_0x262270[_0x58d25a(0x109)](),'hubUrl':_0x5cf704};let _0x6a89ff=AutomationFramework[_0x58d25a(0xe5)](_0x262270,PlaywrightDriverModule[_0x58d25a(0xdb)],{});_0x6a89ff=Buffer[_0x58d25a(0x135)](JSON['stringify'](_0x6a89ff))['toString'](_0x27c7d1[_0x58d25a(0xf3)]);const _0x5e2d8f={'hash':_0x2a8bbc[_0x58d25a(0x139)](),'threadId':_0x2a8bbc['getThreadId']()[_0x58d25a(0x136)](),'processId':_0x2a8bbc[_0x58d25a(0xd7)]()[_0x58d25a(0x136)]()},_0x21e4a9={};_0x21e4a9[_0x58d25a(0xf8)]=_0xb44cc,_0x21e4a9[_0x58d25a(0x10b)]=_0x4fc7ee,_0x21e4a9['testFrameworkVersion']=_0x197b45,_0x21e4a9['testFrameworkState']=_0x3dc6b9,_0x21e4a9[_0x58d25a(0x11e)]=_0x30d768,_0x21e4a9['testUuid']=_0x30f3bc,_0x21e4a9['automationSession']=_0x35b5ec,_0x21e4a9['capabilities']=_0x6a89ff,_0x21e4a9[_0x58d25a(0x107)]=_0x5e2d8f;const _0x59b426=_0x21e4a9;this[_0x58d25a(0xeb)][_0x58d25a(0x134)](_0x58d25a(0x108)+util['format'](_0x59b426));const _0x2d9bd1=await GrpcClient['getInstance']()['testSessionEvent'](_0x59b426);this[_0x58d25a(0xeb)][_0x58d25a(0x134)](_0x58d25a(0xd8)+_0x3a59be);}}catch(_0x5b734f){this[_0x58d25a(0xeb)][_0x58d25a(0xf1)](_0x58d25a(0x12e)+util[_0x58d25a(0x100)](_0x5b734f));}}}TestHubModule[a78_0x2fcff0(0x10e)]=a78_0x2fcff0(0xdc),TestHubModule[a78_0x2fcff0(0xff)]=a78_0x2fcff0(0x11d),module[a78_0x2fcff0(0x105)]=TestHubModule;
1
+ const a78_0x1d1256=a78_0x1cca;(function(_0x355d5f,_0x53f10f){const _0x2c5ce0=a78_0x1cca,_0x34bf46=_0x355d5f();while(!![]){try{const _0x252cbb=parseInt(_0x2c5ce0(0x1fa))/0x1*(-parseInt(_0x2c5ce0(0x1c0))/0x2)+parseInt(_0x2c5ce0(0x1f2))/0x3*(parseInt(_0x2c5ce0(0x208))/0x4)+-parseInt(_0x2c5ce0(0x205))/0x5*(-parseInt(_0x2c5ce0(0x1c2))/0x6)+parseInt(_0x2c5ce0(0x1f0))/0x7*(parseInt(_0x2c5ce0(0x21d))/0x8)+parseInt(_0x2c5ce0(0x212))/0x9+parseInt(_0x2c5ce0(0x1e7))/0xa*(parseInt(_0x2c5ce0(0x1be))/0xb)+-parseInt(_0x2c5ce0(0x1f4))/0xc;if(_0x252cbb===_0x53f10f)break;else _0x34bf46['push'](_0x34bf46['shift']());}catch(_0x4f153a){_0x34bf46['push'](_0x34bf46['shift']());}}}(a78_0x5d75,0x5f73b));const util=require('util'),BaseModule=require(a78_0x1d1256(0x204)),{createClassLogger}=require(a78_0x1d1256(0x1bd)),AutomationFramework=require(a78_0x1d1256(0x218)),AutomationFrameworkState=require(a78_0x1d1256(0x1cb)),HookState=require(a78_0x1d1256(0x220)),TestFramework=require('../framework/testFramework.js'),TestFrameworkState=require(a78_0x1d1256(0x1f5)),PlaywrightDriverModule=require(a78_0x1d1256(0x1f9)),TestFrameworkConstants=require(a78_0x1d1256(0x20e)),GrpcClient=require(a78_0x1d1256(0x1c9)),CLIUtils=require(a78_0x1d1256(0x1d4)),TestInfo=require('../TestInfo.js'),testHubConstants=require('../../../helpers/testhub/constants'),BrowserstackCLI=require(a78_0x1d1256(0x1cc)),{getPlaywrightProvider}=require(a78_0x1d1256(0x21b)),{getTestRunIdentifier}=require(a78_0x1d1256(0x201));function a78_0x1cca(_0x36d18f,_0x989b20){const _0x5d7508=a78_0x5d75();return a78_0x1cca=function(_0x1cca6d,_0x44afad){_0x1cca6d=_0x1cca6d-0x1b8;let _0x5603d5=_0x5d7508[_0x1cca6d];return _0x5603d5;},a78_0x1cca(_0x36d18f,_0x989b20);}function a78_0x5d75(){const _0xadd2ca=['registerObserver','88PXRBgQ','getModuleName','testFrameworkName','../state/hookState.js','__workerDetails','sendTestFrameworkEvent','hookState','stringify','split','../../../helpers/classLogger.js','11mdKbrV','wJtKI','8566LCsCvp','matchHookRegex','6810OIDPlb','getThreadId','retry','name','getId','platformIndex','getTestUUID','../grpcClient.js','BROWSERSTACK_TESTHUB_JWT','../state/automationFrameworkState.js','../browserstackCLI.js','error','getContext','eventJson','capabilities','POST','BROWSERSTACK_TESTHUB_UUID','format','../cliUtils.js','onPageCreate','testFrameworkState','bind','parallelIndex','CREATE','workerInfo','getState','getCurrentTestState','TEST','env','debug','sendTestFrameworkEvent\x20testId:\x20','uuid','testSessionEvent','result','getAllData','Facle','onAllTestEvents','58510BAmdUw','get','KEY_TEST_FRAMEWORK_VERSION','Error\x20in\x20sending\x20CBTSession:\x20','getTestIdentifierFromTestInfo','tYKCX','onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20','KEY_SESSION_ID','toString','456785GBYZTk','KEY_HUB_URL','6PQZDgx','onPageCreate\x20CBTSession\x20payload:\x20','20962668wxQIOD','../state/testFrameworkState.js','dkUis','getTestDetails','KEY_PLATFORM_INDEX','./playwrightDriverModule.js','31gcqHuK','testId','onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20','testUuid','KEY_TEST_DEFERRED','endedAt','getBuildHashedId','../../playwright/reporter/pwUtils.js','TestHubModule','getProcessId','./baseModule','2535MaGgOa','instance','testInfo','830624wIIDDG','logger','frameworkName','base64','getInstance','KpqWY','../framework/constants/testFrameworkConstants.js','executionContext','hMSOg','MODULE_NAME','5005980sqRFQd','forEach','testhubConfig','ENV_VAR','KEY_TEST_STARTED_AT','values','../framework/automationFramework.js','testFrameworkVersion','test','../../../helpers/helper.js'];a78_0x5d75=function(){return _0xadd2ca;};return a78_0x5d75();}class TestHubModule extends BaseModule{[a78_0x1d1256(0x209)]=createClassLogger(a78_0x1d1256(0x202));constructor(_0x57b5c4){const _0x587956=a78_0x1d1256,_0x1b9912={};_0x1b9912[_0x587956(0x1ec)]='5|6|2|7|1|0|3|4',_0x1b9912['KpqWY']='TestHubModule';const _0x204831=_0x1b9912,_0xedac94=_0x204831['tYKCX'][_0x587956(0x1bc)]('|');let _0x87405d=0x0;while(!![]){switch(_0xedac94[_0x87405d++]){case'0':process[_0x587956(0x1de)][testHubConstants[_0x587956(0x215)][_0x587956(0x1ca)]]=this[_0x587956(0x214)]['getJwt']();continue;case'1':Object['values'](TestFrameworkState)[_0x587956(0x213)](_0x1db6ff=>{const _0x5802a9=_0x587956;Object[_0x5802a9(0x217)](HookState)[_0x5802a9(0x213)](_0x48ebc7=>{const _0x551053=_0x5802a9;TestFramework[_0x551053(0x21c)](_0x1db6ff,_0x48ebc7,this['onAllTestEvents']['bind'](this));});});continue;case'2':this[_0x587956(0x214)]=_0x57b5c4;continue;case'3':process[_0x587956(0x1de)][testHubConstants[_0x587956(0x215)][_0x587956(0x1d2)]]=this[_0x587956(0x214)][_0x587956(0x200)]();continue;case'4':BrowserstackCLI['O11yHashedID']=this[_0x587956(0x214)]['getBuildHashedId']();continue;case'5':super();continue;case'6':this[_0x587956(0x1c5)]=_0x204831[_0x587956(0x20d)];continue;case'7':AutomationFramework[_0x587956(0x21c)](AutomationFrameworkState[_0x587956(0x1d9)],HookState[_0x587956(0x1d1)],this[_0x587956(0x1d5)][_0x587956(0x1d7)](this));continue;}break;}}[a78_0x1d1256(0x21e)](){return TestHubModule['MODULE_NAME'];}[a78_0x1d1256(0x1e6)](_0x232cca){const _0x1675b7=a78_0x1d1256,_0x931432={};_0x931432[_0x1675b7(0x1e5)]=function(_0x5f5c4c,_0x3e75c1){return _0x5f5c4c===_0x3e75c1;};const _0x31e404=_0x931432,_0xabb42a=_0x232cca[_0x1675b7(0x206)],_0x58e657=_0xabb42a[_0x1675b7(0x1dc)]();(_0x31e404[_0x1675b7(0x1e5)](_0x58e657,TestFrameworkState[_0x1675b7(0x1dd)])||CLIUtils[_0x1675b7(0x1c1)](_0x58e657[_0x1675b7(0x1ef)]()[_0x1675b7(0x1bc)]('.')[0x1]))&&this[_0x1675b7(0x1b9)](_0x232cca);}async[a78_0x1d1256(0x1b9)](_0x4d437e){const _0x432914=a78_0x1d1256,_0xc5402b={'dENeg':function(_0x3a91fa,_0x4b0fad,_0x5ad1a7){return _0x3a91fa(_0x4b0fad,_0x5ad1a7);},'dkUis':_0x432914(0x20b)};try{const _0xb62e37=_0x4d437e[_0x432914(0x21a)]['id'],_0x2247cd=_0xc5402b['dENeg'](getTestRunIdentifier,_0x4d437e['test'],_0x4d437e[_0x432914(0x1e3)][_0x432914(0x1c4)]),_0x157633=_0x4d437e['instance'],_0x3b6749=_0x157633[_0x432914(0x1ce)](),_0x2ccfc0=_0x157633[_0x432914(0x1e4)]()[_0x432914(0x1e8)](_0x2247cd);this[_0x432914(0x209)][_0x432914(0x1df)](_0x432914(0x1e0)+_0xb62e37);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x1d4f20='',[TestFrameworkConstants[_0x432914(0x1e9)]]:_0x211d99='',[TestFrameworkConstants[_0x432914(0x216)]]:_0x23674f='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x53928d=''}=_0x2ccfc0,_0x486120=_0x157633[_0x432914(0x1dc)]()['toString']()['split']('.')[0x1],_0x148b8c=_0x157633['getCurrentHookState']()[_0x432914(0x1ef)]()[_0x432914(0x1bc)]('.')[0x1],_0x3b0e5c=global?.[_0x432914(0x1b8)]?.[_0x432914(0x1da)]?.[_0x432914(0x1d8)];;const _0x496f66=_0x157633['getRef'](),_0x2b73ab=Buffer['from'](JSON[_0x432914(0x1bb)](_0x2ccfc0))[_0x432914(0x1ef)](_0xc5402b[_0x432914(0x1f6)]),_0x5a8c7a={'hash':_0x3b6749['getId'](),'threadId':_0x3b6749[_0x432914(0x1c3)]()[_0x432914(0x1ef)](),'processId':_0x3b6749['getProcessId']()['toString']()},_0x32d1bf={};_0x32d1bf[_0x432914(0x1c7)]=_0x3b0e5c,_0x32d1bf[_0x432914(0x21f)]=_0x1d4f20,_0x32d1bf[_0x432914(0x219)]=_0x211d99,_0x32d1bf['testFrameworkState']=_0x486120,_0x32d1bf[_0x432914(0x1ba)]=_0x148b8c,_0x32d1bf['startedAt']=_0x23674f,_0x32d1bf[_0x432914(0x1ff)]=_0x53928d,_0x32d1bf[_0x432914(0x1e1)]=_0x496f66,_0x32d1bf[_0x432914(0x1cf)]=_0x2b73ab,_0x32d1bf[_0x432914(0x20f)]=_0x5a8c7a;const _0x58f7e3=_0x32d1bf,_0xb9ce2c=await GrpcClient['getInstance']()['testFrameworkEvent'](_0x58f7e3);this[_0x432914(0x209)]['debug']('sendTestFrameworkEvent\x20complete\x20for\x20testId:\x20'+_0xb62e37+'\x20testState:\x20'+_0x486120+'\x20hookState:\x20'+_0x148b8c);}catch(_0x3d28cd){this[_0x432914(0x209)][_0x432914(0x1cd)]('Error\x20in\x20sendTestFrameworkEvent:\x20'+util[_0x432914(0x1d3)](_0x3d28cd));}}async[a78_0x1d1256(0x1d5)](_0x1fcb49){const _0x33b4c3=a78_0x1d1256,_0x1c51b={'wJtKI':function(_0x385dbb,_0x47bb46){return _0x385dbb(_0x47bb46);},'hMSOg':_0x33b4c3(0x20b)};try{if(_0x1fcb49['page']){const _0x1960f0=_0x1fcb49[_0x33b4c3(0x207)][_0x33b4c3(0x1fb)];this[_0x33b4c3(0x209)][_0x33b4c3(0x1df)](_0x33b4c3(0x1fc)+_0x1960f0);const _0x46591e=TestInfo[_0x33b4c3(0x1eb)](_0x1fcb49['testInfo'],_0x1fcb49[_0x33b4c3(0x207)][_0x33b4c3(0x1c4)]),_0x56f306=TestInfo[_0x33b4c3(0x1c8)](_0x46591e),_0x37c453=TestInfo[_0x33b4c3(0x1f7)](_0x46591e),_0x28c96e=_0x1fcb49[_0x33b4c3(0x206)],_0x49278f=AutomationFramework['getState'](_0x28c96e,PlaywrightDriverModule[_0x33b4c3(0x1f8)]),_0x2635bf=_0x37c453[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']],_0x2282f9=_0x37c453[TestFrameworkConstants[_0x33b4c3(0x1e9)]],_0x5ba843=TestFrameworkState[_0x33b4c3(0x1dd)][_0x33b4c3(0x1ef)]()[_0x33b4c3(0x1bc)]('.')[0x1],_0x54ba91=HookState['POST'][_0x33b4c3(0x1ef)]()[_0x33b4c3(0x1bc)]('.')[0x1],_0xef5c6a=_0x28c96e[_0x33b4c3(0x1ce)](),_0x5fd274=AutomationFramework[_0x33b4c3(0x1db)](_0x28c96e,PlaywrightDriverModule[_0x33b4c3(0x1f1)],''),_0x1951bd={'provider':_0x1c51b[_0x33b4c3(0x1bf)](getPlaywrightProvider,_0x5fd274),'frameworkName':_0x28c96e[_0x33b4c3(0x20a)],'frameworkVersion':_0x28c96e['frameworkVersion'],'frameworkSessionId':AutomationFramework[_0x33b4c3(0x1db)](_0x28c96e,PlaywrightDriverModule[_0x33b4c3(0x1ee)],''),'ref':_0x28c96e['getRef'](),'hubUrl':_0x5fd274};let _0x3be942=AutomationFramework[_0x33b4c3(0x1db)](_0x28c96e,PlaywrightDriverModule['KEY_CAPABILITIES'],{});_0x3be942=Buffer['from'](JSON['stringify'](_0x3be942))[_0x33b4c3(0x1ef)](_0x1c51b[_0x33b4c3(0x210)]);const _0x569a24={'hash':_0xef5c6a[_0x33b4c3(0x1c6)](),'threadId':_0xef5c6a[_0x33b4c3(0x1c3)]()[_0x33b4c3(0x1ef)](),'processId':_0xef5c6a[_0x33b4c3(0x203)]()[_0x33b4c3(0x1ef)]()},_0x1d35f6={};_0x1d35f6[_0x33b4c3(0x1c7)]=_0x49278f,_0x1d35f6[_0x33b4c3(0x21f)]=_0x2635bf,_0x1d35f6[_0x33b4c3(0x219)]=_0x2282f9,_0x1d35f6[_0x33b4c3(0x1d6)]=_0x5ba843,_0x1d35f6['testHookState']=_0x54ba91,_0x1d35f6[_0x33b4c3(0x1fd)]=_0x56f306,_0x1d35f6['automationSession']=_0x1951bd,_0x1d35f6[_0x33b4c3(0x1d0)]=_0x3be942,_0x1d35f6[_0x33b4c3(0x20f)]=_0x569a24;const _0x225a7b=_0x1d35f6;this['logger'][_0x33b4c3(0x1df)](_0x33b4c3(0x1f3)+util[_0x33b4c3(0x1d3)](_0x225a7b));const _0x1cfe5b=await GrpcClient[_0x33b4c3(0x20c)]()[_0x33b4c3(0x1e2)](_0x225a7b);this[_0x33b4c3(0x209)]['debug'](_0x33b4c3(0x1ed)+_0x1960f0);}}catch(_0x24c6bd){this[_0x33b4c3(0x209)][_0x33b4c3(0x1cd)](_0x33b4c3(0x1ea)+util['format'](_0x24c6bd));}}}TestHubModule[a78_0x1d1256(0x211)]=a78_0x1d1256(0x202),TestHubModule[a78_0x1d1256(0x1fe)]='test_deferred',module['exports']=TestHubModule;
@@ -1 +1 @@
1
- const a79_0x390b08=a79_0x5533;(function(_0x2a2585,_0x3dfd64){const _0x460209=a79_0x5533,_0x5de791=_0x2a2585();while(!![]){try{const _0x268833=parseInt(_0x460209(0x163))/0x1+parseInt(_0x460209(0x16f))/0x2+parseInt(_0x460209(0x170))/0x3*(parseInt(_0x460209(0x169))/0x4)+parseInt(_0x460209(0x167))/0x5*(-parseInt(_0x460209(0x16c))/0x6)+parseInt(_0x460209(0x168))/0x7*(-parseInt(_0x460209(0x15f))/0x8)+parseInt(_0x460209(0x173))/0x9*(parseInt(_0x460209(0x165))/0xa)+parseInt(_0x460209(0x174))/0xb*(-parseInt(_0x460209(0x171))/0xc);if(_0x268833===_0x3dfd64)break;else _0x5de791['push'](_0x5de791['shift']());}catch(_0x168ae4){_0x5de791['push'](_0x5de791['shift']());}}}(a79_0x1bfd,0x3b9fc));function a79_0x5533(_0x503db7,_0x16e3c6){const _0x1bfdaf=a79_0x1bfd();return a79_0x5533=function(_0x553311,_0x3253e4){_0x553311=_0x553311-0x15d;let _0x57d594=_0x1bfdaf[_0x553311];return _0x57d594;},a79_0x5533(_0x503db7,_0x16e3c6);}const {PLAYWRIGHT}=require(a79_0x390b08(0x175)),a79_0x5769bd={};a79_0x5769bd[a79_0x390b08(0x16e)]=0x0,a79_0x5769bd[a79_0x390b08(0x172)]=function(){const _0x3ea060=a79_0x390b08,_0x4547eb={};_0x4547eb[_0x3ea060(0x15e)]='AutomationFrameworkState.NONE';const _0x416c1f=_0x4547eb;return _0x416c1f[_0x3ea060(0x15e)];};const a79_0x3f511f={};a79_0x3f511f[a79_0x390b08(0x16e)]=0x1,a79_0x3f511f['toString']=function(){const _0x179c63=a79_0x390b08,_0x2b831d={};_0x2b831d[_0x179c63(0x16b)]=_0x179c63(0x15d);const _0x112e3f=_0x2b831d;return _0x112e3f[_0x179c63(0x16b)];};const a79_0x27b402={};a79_0x27b402[a79_0x390b08(0x16e)]=0x2,a79_0x27b402['toString']=function(){const _0x505e2e=a79_0x390b08,_0x1f6b02={};_0x1f6b02[_0x505e2e(0x160)]=_0x505e2e(0x162);const _0x586b8d=_0x1f6b02;return _0x586b8d[_0x505e2e(0x160)];};const a79_0xae6496={};function a79_0x1bfd(){const _0xdaa4b7=['AutomationFrameworkState.EXECUTE','vhJsw','30828eVkFUZ','find','value','778716RNLnjc','42243jduxpK','12TuBCBL','toString','13410JnzXwk','7605081CeirKw','../../utils/constants','AutomationFrameworkState.CREATE','NOGqz','4792TupzSj','sQKPV','txBtG','AutomationFrameworkState.PLAYWRIGHT_DISPATCH','339597FqqNjE','KJoTQ','2350GmIUHg','ryVpH','375CNhhwZ','2275oLYmvB','124CjaCsF'];a79_0x1bfd=function(){return _0xdaa4b7;};return a79_0x1bfd();}a79_0xae6496[a79_0x390b08(0x16e)]=0x3,a79_0xae6496[a79_0x390b08(0x172)]=function(){const _0x258d1a=a79_0x390b08,_0x364b0e={};_0x364b0e[_0x258d1a(0x161)]=_0x258d1a(0x16a);const _0x4d1e66=_0x364b0e;return _0x4d1e66[_0x258d1a(0x161)];};const a79_0x49bfe0={};a79_0x49bfe0[a79_0x390b08(0x16e)]=0x4,a79_0x49bfe0['toString']=function(){const _0x4c4c62=a79_0x390b08,_0x49d6fe={};_0x49d6fe[_0x4c4c62(0x164)]='AutomationFrameworkState.IDLE';const _0x305de8=_0x49d6fe;return _0x305de8[_0x4c4c62(0x164)];};const a79_0x2ec780={};a79_0x2ec780[a79_0x390b08(0x16e)]=0x5,a79_0x2ec780[a79_0x390b08(0x172)]=function(){const _0x1e7e95=a79_0x390b08,_0x236e2e={};_0x236e2e[_0x1e7e95(0x166)]='AutomationFrameworkState.QUIT';const _0x42afc6=_0x236e2e;return _0x42afc6[_0x1e7e95(0x166)];};const AutomationFrameworkState=Object['freeze']({'NONE':a79_0x5769bd,'CREATE':a79_0x3f511f,'PLAYWRIGHT_DISPATCH':a79_0x27b402,'EXECUTE':a79_0xae6496,'IDLE':a79_0x49bfe0,'QUIT':a79_0x2ec780,'fromValue'(_0x22cedc){const _0x3e374d=a79_0x390b08;return Object['values'](AutomationFrameworkState)[_0x3e374d(0x16d)](_0x3d31ea=>_0x3d31ea['value']===_0x22cedc);}});module['exports']=AutomationFrameworkState;
1
+ const a79_0x148a95=a79_0x27bf;(function(_0x3a9a68,_0x24083f){const _0x53530a=a79_0x27bf,_0x3489a3=_0x3a9a68();while(!![]){try{const _0x1b36f4=-parseInt(_0x53530a(0xe0))/0x1*(-parseInt(_0x53530a(0xe7))/0x2)+-parseInt(_0x53530a(0xef))/0x3+parseInt(_0x53530a(0xec))/0x4+-parseInt(_0x53530a(0xe2))/0x5+parseInt(_0x53530a(0xf3))/0x6+parseInt(_0x53530a(0xeb))/0x7+-parseInt(_0x53530a(0xee))/0x8*(parseInt(_0x53530a(0xde))/0x9);if(_0x1b36f4===_0x24083f)break;else _0x3489a3['push'](_0x3489a3['shift']());}catch(_0x10a5b8){_0x3489a3['push'](_0x3489a3['shift']());}}}(a79_0x4faf,0x7fe32));const {PLAYWRIGHT}=require(a79_0x148a95(0xe3)),a79_0x5c1925={};a79_0x5c1925[a79_0x148a95(0xed)]=0x0,a79_0x5c1925[a79_0x148a95(0xf1)]=function(){const _0xdcc05a=a79_0x148a95,_0x2e785e={};_0x2e785e[_0xdcc05a(0xe8)]=_0xdcc05a(0xe1);const _0x316bdb=_0x2e785e;return _0x316bdb['fJNsL'];};const a79_0x16c540={};function a79_0x27bf(_0x3f2e46,_0x1879d2){const _0x4faf69=a79_0x4faf();return a79_0x27bf=function(_0x27bf71,_0x49cec1){_0x27bf71=_0x27bf71-0xde;let _0x5d752b=_0x4faf69[_0x27bf71];return _0x5d752b;},a79_0x27bf(_0x3f2e46,_0x1879d2);}a79_0x16c540[a79_0x148a95(0xed)]=0x1,a79_0x16c540[a79_0x148a95(0xf1)]=function(){const _0x630198=a79_0x148a95,_0x4f6853={};_0x4f6853[_0x630198(0xe6)]='AutomationFrameworkState.CREATE';const _0x5db40e=_0x4f6853;return _0x5db40e[_0x630198(0xe6)];};const a79_0x10487c={};a79_0x10487c[a79_0x148a95(0xed)]=0x2,a79_0x10487c[a79_0x148a95(0xf1)]=function(){const _0x1de73c=a79_0x148a95,_0x24ee7a={};_0x24ee7a[_0x1de73c(0xea)]='AutomationFrameworkState.PLAYWRIGHT_DISPATCH';const _0x80af79=_0x24ee7a;return _0x80af79['YEKiB'];};function a79_0x4faf(){const _0x560917=['2386ulzfqs','fJNsL','find','YEKiB','2274328MElANO','3010316gIsuFr','value','1424SVRIot','534534DDzafS','AutomationFrameworkState.IDLE','toString','AutomationFrameworkState.EXECUTE','5976864eeCqGh','69723zjsWCn','exports','85banxXC','AutomationFrameworkState.NONE','470310SocFSd','../../utils/constants','LohLY','aYJkS','NxlVr'];a79_0x4faf=function(){return _0x560917;};return a79_0x4faf();}const a79_0x40bd1d={};a79_0x40bd1d['value']=0x3,a79_0x40bd1d[a79_0x148a95(0xf1)]=function(){const _0x23b05d=a79_0x148a95,_0x1135e1={};_0x1135e1[_0x23b05d(0xe5)]=_0x23b05d(0xf2);const _0x4ae48d=_0x1135e1;return _0x4ae48d[_0x23b05d(0xe5)];};const a79_0x42c84f={};a79_0x42c84f['value']=0x4,a79_0x42c84f['toString']=function(){const _0x1cb67b=a79_0x148a95,_0x3dff85={};_0x3dff85[_0x1cb67b(0xe4)]=_0x1cb67b(0xf0);const _0x4fa388=_0x3dff85;return _0x4fa388[_0x1cb67b(0xe4)];};const a79_0x3e1bc0={};a79_0x3e1bc0['value']=0x5,a79_0x3e1bc0[a79_0x148a95(0xf1)]=function(){const _0x4229be={};_0x4229be['NnQLR']='AutomationFrameworkState.QUIT';const _0x553d88=_0x4229be;return _0x553d88['NnQLR'];};const AutomationFrameworkState=Object['freeze']({'NONE':a79_0x5c1925,'CREATE':a79_0x16c540,'PLAYWRIGHT_DISPATCH':a79_0x10487c,'EXECUTE':a79_0x40bd1d,'IDLE':a79_0x42c84f,'QUIT':a79_0x3e1bc0,'fromValue'(_0x56ec57){const _0x1a8039=a79_0x148a95;return Object['values'](AutomationFrameworkState)[_0x1a8039(0xe9)](_0x142755=>_0x142755[_0x1a8039(0xed)]===_0x56ec57);}});module[a79_0x148a95(0xdf)]=AutomationFrameworkState;
@@ -1 +1 @@
1
- const a80_0x4aa0cb=a80_0x203a;(function(_0x200ffb,_0x45bc33){const _0x372826=a80_0x203a,_0x5d152d=_0x200ffb();while(!![]){try{const _0x3b2753=parseInt(_0x372826(0x105))/0x1+-parseInt(_0x372826(0x109))/0x2*(parseInt(_0x372826(0x102))/0x3)+parseInt(_0x372826(0x112))/0x4*(parseInt(_0x372826(0x107))/0x5)+parseInt(_0x372826(0x10c))/0x6+parseInt(_0x372826(0x113))/0x7*(parseInt(_0x372826(0x103))/0x8)+-parseInt(_0x372826(0x108))/0x9+-parseInt(_0x372826(0x111))/0xa;if(_0x3b2753===_0x45bc33)break;else _0x5d152d['push'](_0x5d152d['shift']());}catch(_0x10f8e6){_0x5d152d['push'](_0x5d152d['shift']());}}}(a80_0x36ad,0x28f41));const a80_0x5b586e={};a80_0x5b586e[a80_0x4aa0cb(0x104)]=0x0,a80_0x5b586e[a80_0x4aa0cb(0x10d)]=function(){const _0x21369e=a80_0x4aa0cb,_0x3b66ce={};_0x3b66ce['CgWkb']=_0x21369e(0x110);const _0xb7b69a=_0x3b66ce;return _0xb7b69a['CgWkb'];};function a80_0x203a(_0x2ab757,_0x2afac2){const _0x36ad09=a80_0x36ad();return a80_0x203a=function(_0x203aaa,_0x53a53a){_0x203aaa=_0x203aaa-0x102;let _0x4a1897=_0x36ad09[_0x203aaa];return _0x4a1897;},a80_0x203a(_0x2ab757,_0x2afac2);}const a80_0x2ab73d={};function a80_0x36ad(){const _0x157941=['39975UhEjRc','LfqDW','10oHVCoW','2196711lDmJhD','28qlJipF','find','HookState.PRE','1954422LWMpod','toString','diZUY','exports','HookState.NONE','974760BzsFjO','36488norqnt','11081fDelTd','2313TkcNDl','688oleeGs','value'];a80_0x36ad=function(){return _0x157941;};return a80_0x36ad();}a80_0x2ab73d[a80_0x4aa0cb(0x104)]=0x1,a80_0x2ab73d[a80_0x4aa0cb(0x10d)]=function(){const _0x57a8d1=a80_0x4aa0cb,_0x54c061={};_0x54c061['diZUY']=_0x57a8d1(0x10b);const _0x2ead06=_0x54c061;return _0x2ead06[_0x57a8d1(0x10e)];};const a80_0x1b421f={};a80_0x1b421f['value']=0x2,a80_0x1b421f['toString']=function(){const _0x24fd12=a80_0x4aa0cb,_0x17e066={};_0x17e066[_0x24fd12(0x106)]='HookState.POST';const _0xf00ba7=_0x17e066;return _0xf00ba7[_0x24fd12(0x106)];};const HookState=Object['freeze']({'NONE':a80_0x5b586e,'PRE':a80_0x2ab73d,'POST':a80_0x1b421f,'fromValue'(_0x33b79a){const _0xd4750=a80_0x4aa0cb;return Object['values'](HookState)[_0xd4750(0x10a)](_0x179960=>_0x179960['value']===_0x33b79a);}});module[a80_0x4aa0cb(0x10f)]=HookState;
1
+ function a80_0x1c19(){const _0x2dc4c7=['HookState.PRE','freeze','1856156XiEVUD','HookState.POST','NScAU','3049sTnVkK','HookState.NONE','bXQpY','value','4226224NRuUYn','316BkNYsQ','toString','xLQdq','1417305zuMUvD','5039550BXTomi','find','values','3918971BtpNTP','8750730iHGVjj'];a80_0x1c19=function(){return _0x2dc4c7;};return a80_0x1c19();}const a80_0x48a22d=a80_0x192b;function a80_0x192b(_0x1c75b8,_0x27c918){const _0x1c1931=a80_0x1c19();return a80_0x192b=function(_0x192bf4,_0x56fb16){_0x192bf4=_0x192bf4-0xc0;let _0x2d4dd1=_0x1c1931[_0x192bf4];return _0x2d4dd1;},a80_0x192b(_0x1c75b8,_0x27c918);}(function(_0x5c2157,_0x4eb18b){const _0x4b8f15=a80_0x192b,_0x302cc2=_0x5c2157();while(!![]){try{const _0x4dcb5a=-parseInt(_0x4b8f15(0xc3))/0x1*(parseInt(_0x4b8f15(0xc8))/0x2)+-parseInt(_0x4b8f15(0xcb))/0x3+parseInt(_0x4b8f15(0xc0))/0x4+parseInt(_0x4b8f15(0xcc))/0x5+parseInt(_0x4b8f15(0xd0))/0x6+-parseInt(_0x4b8f15(0xcf))/0x7+-parseInt(_0x4b8f15(0xc7))/0x8;if(_0x4dcb5a===_0x4eb18b)break;else _0x302cc2['push'](_0x302cc2['shift']());}catch(_0x37252a){_0x302cc2['push'](_0x302cc2['shift']());}}}(a80_0x1c19,0xd8d20));const a80_0x2d5945={};a80_0x2d5945[a80_0x48a22d(0xc6)]=0x0,a80_0x2d5945[a80_0x48a22d(0xc9)]=function(){const _0x28c33e=a80_0x48a22d,_0x516182={};_0x516182[_0x28c33e(0xc5)]=_0x28c33e(0xc4);const _0x3da69b=_0x516182;return _0x3da69b[_0x28c33e(0xc5)];};const a80_0x2033b1={};a80_0x2033b1['value']=0x1,a80_0x2033b1[a80_0x48a22d(0xc9)]=function(){const _0x4a5b9d=a80_0x48a22d,_0x5cdbf4={};_0x5cdbf4[_0x4a5b9d(0xca)]=_0x4a5b9d(0xd1);const _0x4c7fb6=_0x5cdbf4;return _0x4c7fb6['xLQdq'];};const a80_0x4c1a6f={};a80_0x4c1a6f[a80_0x48a22d(0xc6)]=0x2,a80_0x4c1a6f[a80_0x48a22d(0xc9)]=function(){const _0x3ceb3a=a80_0x48a22d,_0x4d0d0c={};_0x4d0d0c[_0x3ceb3a(0xc2)]=_0x3ceb3a(0xc1);const _0x3e3f0c=_0x4d0d0c;return _0x3e3f0c[_0x3ceb3a(0xc2)];};const HookState=Object[a80_0x48a22d(0xd2)]({'NONE':a80_0x2d5945,'PRE':a80_0x2033b1,'POST':a80_0x4c1a6f,'fromValue'(_0x2a0438){const _0x302b18=a80_0x48a22d;return Object[_0x302b18(0xce)](HookState)[_0x302b18(0xcd)](_0x4f6688=>_0x4f6688['value']===_0x2a0438);}});module['exports']=HookState;
@@ -1 +1 @@
1
- const a81_0x2e3ed1=a81_0x2104;(function(_0x4e48c9,_0x1b33e8){const _0x378afb=a81_0x2104,_0x4f22e5=_0x4e48c9();while(!![]){try{const _0x2de829=parseInt(_0x378afb(0x1b2))/0x1*(parseInt(_0x378afb(0x1c4))/0x2)+-parseInt(_0x378afb(0x1ca))/0x3+-parseInt(_0x378afb(0x1b9))/0x4+parseInt(_0x378afb(0x1c9))/0x5*(parseInt(_0x378afb(0x1c2))/0x6)+parseInt(_0x378afb(0x1b1))/0x7*(parseInt(_0x378afb(0x1b0))/0x8)+-parseInt(_0x378afb(0x1ac))/0x9*(-parseInt(_0x378afb(0x1af))/0xa)+-parseInt(_0x378afb(0x1b5))/0xb;if(_0x2de829===_0x1b33e8)break;else _0x4f22e5['push'](_0x4f22e5['shift']());}catch(_0x3e4c54){_0x4f22e5['push'](_0x4f22e5['shift']());}}}(a81_0x15b7,0x7be36));const a81_0x4590ee={};a81_0x4590ee[a81_0x2e3ed1(0x1c0)]=0x0,a81_0x4590ee[a81_0x2e3ed1(0x1c7)]=function(){const _0x340088=a81_0x2e3ed1,_0x1d6bca={};_0x1d6bca['moQUB']=_0x340088(0x1ba);const _0x3f1174=_0x1d6bca;return _0x3f1174['moQUB'];};const a81_0x3a0994={};a81_0x3a0994['value']=0x1,a81_0x3a0994[a81_0x2e3ed1(0x1c7)]=function(){const _0x460bc6=a81_0x2e3ed1,_0x475d73={};_0x475d73[_0x460bc6(0x1c6)]=_0x460bc6(0x1ae);const _0x140748=_0x475d73;return _0x140748['AtUpI'];};const a81_0x392a8b={};a81_0x392a8b[a81_0x2e3ed1(0x1c0)]=0x2,a81_0x392a8b[a81_0x2e3ed1(0x1c7)]=function(){const _0x521d4f=a81_0x2e3ed1,_0x598e9f={};_0x598e9f['JEEWV']=_0x521d4f(0x1b6);const _0x4b8120=_0x598e9f;return _0x4b8120['JEEWV'];};const a81_0x2eca99={};a81_0x2eca99[a81_0x2e3ed1(0x1c0)]=0x3,a81_0x2eca99['toString']=function(){const _0x408374=a81_0x2e3ed1,_0x5662e6={};_0x5662e6[_0x408374(0x1aa)]=_0x408374(0x1a8);const _0x3410f4=_0x5662e6;return _0x3410f4['NusoC'];};function a81_0x2104(_0x2a8741,_0x183c95){const _0x15b7f6=a81_0x15b7();return a81_0x2104=function(_0x21049a,_0x9ebb63){_0x21049a=_0x21049a-0x1a8;let _0x594249=_0x15b7f6[_0x21049a];return _0x594249;},a81_0x2104(_0x2a8741,_0x183c95);}const a81_0x564d36={};a81_0x564d36[a81_0x2e3ed1(0x1c0)]=0x4,a81_0x564d36[a81_0x2e3ed1(0x1c7)]=function(){const _0x33890a=a81_0x2e3ed1,_0x369655={};_0x369655['nPauy']=_0x33890a(0x1b3);const _0x1441ed=_0x369655;return _0x1441ed[_0x33890a(0x1bb)];};const a81_0x2817d4={};a81_0x2817d4[a81_0x2e3ed1(0x1c0)]=0x5,a81_0x2817d4[a81_0x2e3ed1(0x1c7)]=function(){const _0x297bb1=a81_0x2e3ed1,_0xdf15a5={};_0xdf15a5[_0x297bb1(0x1be)]='TestFrameworkState.BEFORE_EACH';const _0x1e1366=_0xdf15a5;return _0x1e1366[_0x297bb1(0x1be)];};const a81_0x12aa1e={};a81_0x12aa1e[a81_0x2e3ed1(0x1c0)]=0x6,a81_0x12aa1e[a81_0x2e3ed1(0x1c7)]=function(){const _0x1ba425=a81_0x2e3ed1,_0x14708d={};_0x14708d[_0x1ba425(0x1bd)]=_0x1ba425(0x1bf);const _0x3511d2=_0x14708d;return _0x3511d2[_0x1ba425(0x1bd)];};const a81_0x13938f={};function a81_0x15b7(){const _0x4b523a=['187784cbbjWN','91FYjbdo','15896JKopxW','TestFrameworkState.INIT_TEST','OhVWx','6143027WayaQP','TestFrameworkState.LOG','TestFrameworkState.LOG_REPORT','values','3644736kqEczf','TestFrameworkState.NONE','nPauy','TestFrameworkState.TEST','XCgDa','fWOFw','TestFrameworkState.AFTER_EACH','value','NKMll','6YnvYmu','VFtuo','68IppLqS','find','AtUpI','toString','TubJT','2351045GlWWGK','753507mvVSFt','TestFrameworkState.SETUP_FIXTURE','TestFrameworkState.STEP','NusoC','jyHnY','40653rbZVwW','TestFrameworkState.AFTER_ALL','TestFrameworkState.BEFORE_ALL','2020IerfQx'];a81_0x15b7=function(){return _0x4b523a;};return a81_0x15b7();}a81_0x13938f[a81_0x2e3ed1(0x1c0)]=0x7,a81_0x13938f['toString']=function(){const _0x472cac=a81_0x2e3ed1,_0x182525={};_0x182525[_0x472cac(0x1ab)]=_0x472cac(0x1bc);const _0x464f2f=_0x182525;return _0x464f2f[_0x472cac(0x1ab)];};const a81_0x3796ea={};a81_0x3796ea['value']=0x8,a81_0x3796ea['toString']=function(){const _0xa074e1=a81_0x2e3ed1,_0x54b36e={};_0x54b36e[_0xa074e1(0x1c8)]=_0xa074e1(0x1a9);const _0x12868f=_0x54b36e;return _0x12868f[_0xa074e1(0x1c8)];};const a81_0x483339={};a81_0x483339[a81_0x2e3ed1(0x1c0)]=0x9,a81_0x483339[a81_0x2e3ed1(0x1c7)]=function(){const _0xa5f7b8=a81_0x2e3ed1,_0x50fc59={};_0x50fc59[_0xa5f7b8(0x1c1)]=_0xa5f7b8(0x1b7);const _0xecc01c=_0x50fc59;return _0xecc01c[_0xa5f7b8(0x1c1)];};const a81_0x3e4d69={};a81_0x3e4d69['value']=0xa,a81_0x3e4d69[a81_0x2e3ed1(0x1c7)]=function(){const _0x8ee385=a81_0x2e3ed1,_0x5f50f4={};_0x5f50f4[_0x8ee385(0x1b4)]=_0x8ee385(0x1ad);const _0x5908d9=_0x5f50f4;return _0x5908d9[_0x8ee385(0x1b4)];};const a81_0x1eb983={};a81_0x1eb983['value']=0xb,a81_0x1eb983[a81_0x2e3ed1(0x1c7)]=function(){const _0x2e4dc6=a81_0x2e3ed1,_0x3713df={};_0x3713df[_0x2e4dc6(0x1c3)]='TestFrameworkState.TEST_SCREENSHOT';const _0x44a85e=_0x3713df;return _0x44a85e['VFtuo'];};const TestFrameworkState=Object['freeze']({'NONE':a81_0x4590ee,'BEFORE_ALL':a81_0x3a0994,'LOG':a81_0x392a8b,'SETUP_FIXTURE':a81_0x2eca99,'INIT_TEST':a81_0x564d36,'BEFORE_EACH':a81_0x2817d4,'AFTER_EACH':a81_0x12aa1e,'TEST':a81_0x13938f,'STEP':a81_0x3796ea,'LOG_REPORT':a81_0x483339,'AFTER_ALL':a81_0x3e4d69,'TEST_SCREENSHOT':a81_0x1eb983,'fromValue'(_0x16e110){const _0x384d2b=a81_0x2e3ed1;return Object[_0x384d2b(0x1b8)](TestFrameworkState)[_0x384d2b(0x1c5)](_0x22aabe=>_0x22aabe[_0x384d2b(0x1c0)]===_0x16e110);}});module['exports']=TestFrameworkState;
1
+ const a81_0x48b48d=a81_0x57e4;(function(_0xad43d8,_0x4bcb61){const _0x5b3488=a81_0x57e4,_0x19345c=_0xad43d8();while(!![]){try{const _0x2ea6d9=-parseInt(_0x5b3488(0x92))/0x1*(-parseInt(_0x5b3488(0x9b))/0x2)+-parseInt(_0x5b3488(0x84))/0x3*(parseInt(_0x5b3488(0x8d))/0x4)+-parseInt(_0x5b3488(0xa3))/0x5+-parseInt(_0x5b3488(0x9e))/0x6+-parseInt(_0x5b3488(0xa8))/0x7+parseInt(_0x5b3488(0xa4))/0x8+-parseInt(_0x5b3488(0x93))/0x9*(-parseInt(_0x5b3488(0xa6))/0xa);if(_0x2ea6d9===_0x4bcb61)break;else _0x19345c['push'](_0x19345c['shift']());}catch(_0x1a389b){_0x19345c['push'](_0x19345c['shift']());}}}(a81_0x5db7,0x1e309));const a81_0x13b7b1={};a81_0x13b7b1[a81_0x48b48d(0x95)]=0x0,a81_0x13b7b1[a81_0x48b48d(0x9a)]=function(){const _0x5c8cca=a81_0x48b48d,_0x855251={};_0x855251[_0x5c8cca(0x89)]=_0x5c8cca(0xa1);const _0x29de8f=_0x855251;return _0x29de8f[_0x5c8cca(0x89)];};const a81_0x275c6d={};a81_0x275c6d[a81_0x48b48d(0x95)]=0x1,a81_0x275c6d[a81_0x48b48d(0x9a)]=function(){const _0x373ac7=a81_0x48b48d,_0x41bd02={};_0x41bd02[_0x373ac7(0x8b)]=_0x373ac7(0xa5);const _0x1330fe=_0x41bd02;return _0x1330fe[_0x373ac7(0x8b)];};const a81_0x4d0cce={};a81_0x4d0cce[a81_0x48b48d(0x95)]=0x2,a81_0x4d0cce[a81_0x48b48d(0x9a)]=function(){const _0x4b6a33=a81_0x48b48d,_0x1258b7={};_0x1258b7[_0x4b6a33(0x96)]='TestFrameworkState.LOG';const _0x28c1bb=_0x1258b7;return _0x28c1bb[_0x4b6a33(0x96)];};function a81_0x57e4(_0x349369,_0x290b18){const _0x5db7e6=a81_0x5db7();return a81_0x57e4=function(_0x57e489,_0x1cd1f6){_0x57e489=_0x57e489-0x84;let _0x372f63=_0x5db7e6[_0x57e489];return _0x372f63;},a81_0x57e4(_0x349369,_0x290b18);}const a81_0x5ae1f7={};a81_0x5ae1f7[a81_0x48b48d(0x95)]=0x3,a81_0x5ae1f7['toString']=function(){const _0x589484=a81_0x48b48d,_0x14edf8={};_0x14edf8[_0x589484(0x98)]=_0x589484(0xa0);const _0x10beac=_0x14edf8;return _0x10beac[_0x589484(0x98)];};const a81_0x141fec={};a81_0x141fec[a81_0x48b48d(0x95)]=0x4,a81_0x141fec['toString']=function(){const _0x453679=a81_0x48b48d,_0x3e4b53={};_0x3e4b53['lJwCt']=_0x453679(0x86);const _0x54489f=_0x3e4b53;return _0x54489f[_0x453679(0x8c)];};function a81_0x5db7(){const _0x85808f=['TestFrameworkState.TEST_SCREENSHOT','BIywt','TestFrameworkState.BEFORE_EACH','WimAj','lJwCt','104OHfvLq','EWonm','qICqP','itiwL','values','6437Cwvskk','333qkwUTV','RFvLg','value','SimIj','TestFrameworkState.AFTER_EACH','tSDpM','VqeAZ','toString','8moPNfU','hfUcm','TestFrameworkState.TEST','284622oTLAfu','find','TestFrameworkState.SETUP_FIXTURE','TestFrameworkState.NONE','TestFrameworkState.LOG_REPORT','535775MtifDd','490888oyKDuQ','TestFrameworkState.BEFORE_ALL','85070SsxoSI','kPSrW','179375SMpUAu','11307ctpFMM','TestFrameworkState.STEP','TestFrameworkState.INIT_TEST','freeze'];a81_0x5db7=function(){return _0x85808f;};return a81_0x5db7();}const a81_0x2836c2={};a81_0x2836c2['value']=0x5,a81_0x2836c2[a81_0x48b48d(0x9a)]=function(){const _0x237e21=a81_0x48b48d,_0x180483={};_0x180483[_0x237e21(0x99)]=_0x237e21(0x8a);const _0x1cc8b5=_0x180483;return _0x1cc8b5[_0x237e21(0x99)];};const a81_0x322588={};a81_0x322588['value']=0x6,a81_0x322588[a81_0x48b48d(0x9a)]=function(){const _0x1c64aa=a81_0x48b48d,_0x5b0a57={};_0x5b0a57[_0x1c64aa(0x90)]=_0x1c64aa(0x97);const _0x503f57=_0x5b0a57;return _0x503f57['itiwL'];};const a81_0x13b1a0={};a81_0x13b1a0[a81_0x48b48d(0x95)]=0x7,a81_0x13b1a0[a81_0x48b48d(0x9a)]=function(){const _0x4dc5a2=a81_0x48b48d,_0x2925cf={};_0x2925cf[_0x4dc5a2(0xa7)]=_0x4dc5a2(0x9d);const _0x39fb5b=_0x2925cf;return _0x39fb5b[_0x4dc5a2(0xa7)];};const a81_0x2c9145={};a81_0x2c9145['value']=0x8,a81_0x2c9145[a81_0x48b48d(0x9a)]=function(){const _0x22f0cb=a81_0x48b48d,_0x430e78={};_0x430e78[_0x22f0cb(0x9c)]=_0x22f0cb(0x85);const _0x5b56c2=_0x430e78;return _0x5b56c2[_0x22f0cb(0x9c)];};const a81_0x509cd5={};a81_0x509cd5[a81_0x48b48d(0x95)]=0x9,a81_0x509cd5['toString']=function(){const _0xdb9b4b=a81_0x48b48d,_0x4af29c={};_0x4af29c[_0xdb9b4b(0x8e)]=_0xdb9b4b(0xa2);const _0x45bc69=_0x4af29c;return _0x45bc69['EWonm'];};const a81_0xb3245={};a81_0xb3245[a81_0x48b48d(0x95)]=0xa,a81_0xb3245['toString']=function(){const _0x1c8b57=a81_0x48b48d,_0x5e8099={};_0x5e8099[_0x1c8b57(0x94)]='TestFrameworkState.AFTER_ALL';const _0x2a1ecd=_0x5e8099;return _0x2a1ecd[_0x1c8b57(0x94)];};const a81_0x9fb361={};a81_0x9fb361[a81_0x48b48d(0x95)]=0xb,a81_0x9fb361[a81_0x48b48d(0x9a)]=function(){const _0x62be40=a81_0x48b48d,_0x289d13={};_0x289d13[_0x62be40(0x8f)]=_0x62be40(0x88);const _0x3307d6=_0x289d13;return _0x3307d6[_0x62be40(0x8f)];};const TestFrameworkState=Object[a81_0x48b48d(0x87)]({'NONE':a81_0x13b7b1,'BEFORE_ALL':a81_0x275c6d,'LOG':a81_0x4d0cce,'SETUP_FIXTURE':a81_0x5ae1f7,'INIT_TEST':a81_0x141fec,'BEFORE_EACH':a81_0x2836c2,'AFTER_EACH':a81_0x322588,'TEST':a81_0x13b1a0,'STEP':a81_0x2c9145,'LOG_REPORT':a81_0x509cd5,'AFTER_ALL':a81_0xb3245,'TEST_SCREENSHOT':a81_0x9fb361,'fromValue'(_0x28c23a){const _0x53943f=a81_0x48b48d;return Object[_0x53943f(0x91)](TestFrameworkState)[_0x53943f(0x9f)](_0x2ea72e=>_0x2ea72e[_0x53943f(0x95)]===_0x28c23a);}});module['exports']=TestFrameworkState;
@@ -1 +1 @@
1
- function a82_0x5700(){const _0x593357=['homedir','finish','Cleared\x20attachment\x20folder','okLXl','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','2tgswzv','UpLHv','Created\x20folder:\x20%s','rmSync','lwWMa','toFixed','310613KmEZYn','startsWith','Attachment\x20recevied\x20for\x20path:\x20%s','testhubConfig','recursive','./TestInfo','debug','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','trackFile','713586KiYkmY','http://','join','size','../../helpers/classLogger.js','QxKnr','10061150azxFHV','EXWGl','./browserstackCLI','buildHashedId','PTBUF','3266784ySGTub','21DvJKDo','dZCeH','error','8235eqDeRi','faSrM','toObject','YAGHf','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','__workerDetails','iDIyG','retry','.browserstack','QQrxW','unlinkSync','close','clearAttachments','message','getTestIdentifierFromTestInfo','DdfaA','getInstance','https://','createWriteStream','https','http','get','Gukod','Djcoe','existsSync','currentTest','modules','JTdxH','qHlCp','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','File\x20downloaded\x20to:\x20%s','exports','PLZrh','KEY_FILE_PATH','133638IBaLuB','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','XhJZj','sPwao','1152tOEJAj','KEY_FILE_SIZE','HYjGY','logger','Apkga','copyFileSync','./modules/playwrightDriverModule','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','uploadAttachmentsManager','Kzdbs','WftnH','TllNy','./framework/constants/testFrameworkConstants','TuDcm','zkGEB','util','1727232UPMRug','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','format','qwzSs','KEY_FILE_LEVEL','Created\x20.browserstack\x20folder\x20at:\x20%s','path','statSync','KEY_TEST_ATTACHMENTS','zfyic','force','KEY_FILE_NAME','mkdirSync','TestLevel','BNrLk','getTestDetails','TestHubModule'];a82_0x5700=function(){return _0x593357;};return a82_0x5700();}const a82_0x5ae761=a82_0x20a9;(function(_0x4cb7e9,_0x10a581){const _0xbe0edd=a82_0x20a9,_0x168983=_0x4cb7e9();while(!![]){try{const _0x20f026=-parseInt(_0xbe0edd(0x134))/0x1+parseInt(_0xbe0edd(0x12e))/0x2*(-parseInt(_0xbe0edd(0x16e))/0x3)+-parseInt(_0xbe0edd(0x172))/0x4*(parseInt(_0xbe0edd(0x14c))/0x5)+parseInt(_0xbe0edd(0x13d))/0x6*(parseInt(_0xbe0edd(0x149))/0x7)+parseInt(_0xbe0edd(0x183))/0x8+-parseInt(_0xbe0edd(0x148))/0x9+parseInt(_0xbe0edd(0x143))/0xa;if(_0x20f026===_0x10a581)break;else _0x168983['push'](_0x168983['shift']());}catch(_0x3fcb14){_0x168983['push'](_0x168983['shift']());}}}(a82_0x5700,0x5e525));function a82_0x20a9(_0x5de27b,_0x5c7f01){const _0x570070=a82_0x5700();return a82_0x20a9=function(_0x20a9e,_0x49848f){_0x20a9e=_0x20a9e-0x11d;let _0x5ea0eb=_0x570070[_0x20a9e];return _0x5ea0eb;},a82_0x20a9(_0x5de27b,_0x5c7f01);}const os=require('os'),fs=require('fs'),path=require(a82_0x5ae761(0x11e)),util=require(a82_0x5ae761(0x182)),BrowserstackCLI=require(a82_0x5ae761(0x145)),https=require(a82_0x5ae761(0x15f)),http=require(a82_0x5ae761(0x160)),AutomationFramework=require('./framework/automationFramework'),PlaywrightDriverModule=require(a82_0x5ae761(0x178)),TestInfo=require(a82_0x5ae761(0x139)),TestFrameworkConstants=require(a82_0x5ae761(0x17f)),{createClassLogger}=require(a82_0x5ae761(0x141));class uploadAttachmentsManager{static ['logger']=createClassLogger(a82_0x5ae761(0x17b));static['uploadAttachments'](_0x24b7bf,_0x3eff2d=![]){const _0x22d4c4=a82_0x5ae761,_0x210073={};_0x210073['Gukod']=function(_0x421473,_0x49205e){return _0x421473/_0x49205e;},_0x210073['PTBUF']=function(_0x2ec5a1,_0x37509d){return _0x2ec5a1*_0x37509d;},_0x210073['WenIK']=function(_0x2b3c94,_0x36abe6){return _0x2b3c94>_0x36abe6;},_0x210073[_0x22d4c4(0x186)]='Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.',_0x210073[_0x22d4c4(0x12c)]=_0x22d4c4(0x16a),_0x210073[_0x22d4c4(0x167)]=function(_0x313faa,_0x13d58d){return _0x313faa===_0x13d58d;},_0x210073[_0x22d4c4(0x14f)]=_0x22d4c4(0x12a),_0x210073[_0x22d4c4(0x144)]=_0x22d4c4(0x150),_0x210073[_0x22d4c4(0x14d)]=_0x22d4c4(0x13b),_0x210073[_0x22d4c4(0x170)]=_0x22d4c4(0x136),_0x210073[_0x22d4c4(0x171)]=_0x22d4c4(0x154),_0x210073[_0x22d4c4(0x16c)]=_0x22d4c4(0x179),_0x210073[_0x22d4c4(0x15b)]=_0x22d4c4(0x11d),_0x210073[_0x22d4c4(0x17c)]=_0x22d4c4(0x130),_0x210073[_0x22d4c4(0x174)]=function(_0x550471,_0x150d5e){return _0x550471===_0x150d5e;},_0x210073['Djcoe']=_0x22d4c4(0x12d),_0x210073[_0x22d4c4(0x12f)]=_0x22d4c4(0x15d),_0x210073[_0x22d4c4(0x126)]=_0x22d4c4(0x13e),_0x210073[_0x22d4c4(0x132)]=_0x22d4c4(0x14b),_0x210073[_0x22d4c4(0x176)]='Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s',_0x210073[_0x22d4c4(0x17d)]=function(_0x4845dc,_0x16e457){return _0x4845dc*_0x16e457;},_0x210073[_0x22d4c4(0x155)]=function(_0x4e0d63,_0x187501){return _0x4e0d63>_0x187501;},_0x210073['iDIyG']=_0x22d4c4(0x184);const _0x2044d4=_0x210073;this['logger'][_0x22d4c4(0x13a)](util[_0x22d4c4(0x185)](_0x2044d4[_0x22d4c4(0x170)],_0x24b7bf));const _0x3e311f=os['homedir'](),_0x3a5a5d=path[_0x22d4c4(0x13f)](_0x3e311f,_0x2044d4[_0x22d4c4(0x171)]);!fs['existsSync'](_0x3a5a5d)&&(this[_0x22d4c4(0x175)][_0x22d4c4(0x13a)](util[_0x22d4c4(0x185)](_0x2044d4[_0x22d4c4(0x16c)],_0x3a5a5d)),fs['mkdirSync'](_0x3a5a5d),this['logger'][_0x22d4c4(0x13a)](util[_0x22d4c4(0x185)](_0x2044d4['DdfaA'],_0x3a5a5d)));const _0x22a093=BrowserstackCLI['getInstance']()['modules'][_0x22d4c4(0x128)]?.[_0x22d4c4(0x137)]?.[_0x22d4c4(0x14e)]()?.['buildHashedId'],_0x59d10c=path[_0x22d4c4(0x13f)](_0x3a5a5d,_0x22a093);!fs['existsSync'](_0x59d10c)&&(fs[_0x22d4c4(0x124)](_0x59d10c),this['logger'][_0x22d4c4(0x13a)](util['format'](_0x2044d4[_0x22d4c4(0x17c)],_0x59d10c)));if(_0x2044d4[_0x22d4c4(0x174)](_0x24b7bf['trim'](),'')){this['logger']['debug'](util[_0x22d4c4(0x185)](_0x2044d4[_0x22d4c4(0x163)]));return;}if(_0x24b7bf[_0x22d4c4(0x135)](_0x2044d4[_0x22d4c4(0x12f)])||_0x24b7bf['startsWith'](_0x2044d4['BNrLk'])){const _0x1b68a2=_0x24b7bf['startsWith'](_0x2044d4[_0x22d4c4(0x12f)])?https:http,_0x29d944=path['basename'](_0x24b7bf),_0x29f433=path[_0x22d4c4(0x13f)](_0x59d10c,_0x29d944),_0x582c31=fs[_0x22d4c4(0x15e)](_0x29f433);_0x1b68a2[_0x22d4c4(0x161)](_0x24b7bf,_0x1fb339=>{const _0x58ec3d=_0x22d4c4;if(_0x2044d4[_0x58ec3d(0x167)](_0x1fb339['statusCode'],0xc8))_0x1fb339['pipe'](_0x582c31),_0x582c31['on'](_0x2044d4[_0x58ec3d(0x14f)],()=>{const _0x59228e=_0x58ec3d;_0x582c31['close']();const _0x270736=fs[_0x59228e(0x11f)](_0x29f433),_0x5dc917=_0x2044d4['Gukod'](_0x270736[_0x59228e(0x140)],_0x2044d4[_0x59228e(0x147)](0x400,0x400));if(_0x2044d4['WenIK'](_0x5dc917,0x64)){this['logger'][_0x59228e(0x13a)](util[_0x59228e(0x185)](_0x2044d4[_0x59228e(0x186)],_0x5dc917[_0x59228e(0x133)](0x2))),fs[_0x59228e(0x156)](_0x29f433);return;}this['logger'][_0x59228e(0x13a)](util[_0x59228e(0x185)](_0x2044d4[_0x59228e(0x12c)],_0x29f433)),uploadAttachmentsManager['trackFile'](_0x29f433,_0x3eff2d);});else{this[_0x58ec3d(0x175)][_0x58ec3d(0x13a)](util[_0x58ec3d(0x185)](_0x2044d4[_0x58ec3d(0x144)],_0x1fb339['statusCode'])),_0x582c31[_0x58ec3d(0x157)](),fs[_0x58ec3d(0x156)](_0x29f433);return;}})['on'](_0x2044d4[_0x22d4c4(0x132)],_0x5c33a2=>{const _0x22ad3a=_0x22d4c4;this[_0x22ad3a(0x175)][_0x22ad3a(0x13a)](util[_0x22ad3a(0x185)](_0x2044d4[_0x22ad3a(0x14d)],_0x5c33a2[_0x22ad3a(0x159)])),_0x582c31[_0x22ad3a(0x157)](),fs[_0x22ad3a(0x156)](_0x29f433);return;});}else{if(!fs[_0x22d4c4(0x164)](_0x24b7bf)){this[_0x22d4c4(0x175)][_0x22d4c4(0x13a)](util['format'](_0x2044d4[_0x22d4c4(0x176)],_0x24b7bf));return;}const _0x4aed37=fs[_0x22d4c4(0x11f)](_0x24b7bf),_0xb147d9=_0x2044d4[_0x22d4c4(0x162)](_0x4aed37[_0x22d4c4(0x140)],_0x2044d4[_0x22d4c4(0x17d)](0x400,0x400));if(_0x2044d4[_0x22d4c4(0x155)](_0xb147d9,0x64)){this[_0x22d4c4(0x175)][_0x22d4c4(0x13a)](util[_0x22d4c4(0x185)](_0x2044d4[_0x22d4c4(0x152)],_0xb147d9[_0x22d4c4(0x133)](0x2)));return;}const _0x9fa1af=path['basename'](_0x24b7bf),_0x3f3103=path[_0x22d4c4(0x13f)](_0x59d10c,_0x9fa1af);fs[_0x22d4c4(0x177)](_0x24b7bf,_0x3f3103),uploadAttachmentsManager['trackFile'](_0x3f3103,_0x3eff2d);}}static[a82_0x5ae761(0x13c)](_0x440c54,_0x8b3db6){const _0x55857c=a82_0x5ae761,_0x7848ad={};_0x7848ad[_0x55857c(0x14a)]='BuildLevel',_0x7848ad[_0x55857c(0x142)]=_0x55857c(0x125),_0x7848ad['qHlCp']=_0x55857c(0x17a),_0x7848ad[_0x55857c(0x121)]=_0x55857c(0x16f);const _0x2fee1e=_0x7848ad;try{const _0x116d73=global[_0x55857c(0x151)]?.[_0x55857c(0x165)]?.['testInfo'],_0x133c1c=TestInfo[_0x55857c(0x15a)](_0x116d73,_0x116d73[_0x55857c(0x153)]),_0x332bfe=TestInfo[_0x55857c(0x127)](_0x133c1c),_0x2503cc=_0x332bfe[TestFrameworkConstants[_0x55857c(0x120)]]||{};_0x2503cc[_0x440c54]={[TestFrameworkConstants[_0x55857c(0x173)]]:fs[_0x55857c(0x11f)](_0x440c54)[_0x55857c(0x140)],[TestFrameworkConstants[_0x55857c(0x123)]]:path['basename'](_0x440c54),[TestFrameworkConstants[_0x55857c(0x16d)]]:_0x440c54,[TestFrameworkConstants[_0x55857c(0x187)]]:_0x8b3db6?_0x2fee1e['dZCeH']:_0x2fee1e[_0x55857c(0x142)]},_0x332bfe[TestFrameworkConstants[_0x55857c(0x120)]]=_0x2503cc,TestInfo['setTestDetails'](_0x133c1c,_0x332bfe),this[_0x55857c(0x175)][_0x55857c(0x13a)](util['format'](_0x2fee1e[_0x55857c(0x168)],_0x440c54));}catch(_0x447110){this[_0x55857c(0x175)][_0x55857c(0x13a)](util[_0x55857c(0x185)](_0x2fee1e['zfyic'],_0x447110['message']));}}static[a82_0x5ae761(0x158)](){const _0x858503=a82_0x5ae761,_0x50cacc={};_0x50cacc[_0x858503(0x181)]=_0x858503(0x154),_0x50cacc[_0x858503(0x17e)]=_0x858503(0x169),_0x50cacc['TuDcm']=_0x858503(0x12b);const _0x4e927a=_0x50cacc,_0x498d6f=os[_0x858503(0x129)](),_0x3c0170=path[_0x858503(0x13f)](_0x498d6f,_0x4e927a['zkGEB']);if(!fs[_0x858503(0x164)](_0x3c0170))return;const _0x93e5e4=BrowserstackCLI[_0x858503(0x15c)]()[_0x858503(0x166)][_0x858503(0x128)]?.['testhubConfig']?.['toObject']()?.[_0x858503(0x146)],_0x29d054=_0x93e5e4?path['join'](_0x3c0170,_0x93e5e4):null;if(!_0x29d054||!fs[_0x858503(0x164)](_0x29d054)){this['logger'][_0x858503(0x13a)](util[_0x858503(0x185)](_0x4e927a[_0x858503(0x17e)],_0x93e5e4));return;}const _0x55a0c8={};_0x55a0c8[_0x858503(0x138)]=!![],_0x55a0c8[_0x858503(0x122)]=!![],fs[_0x858503(0x131)](_0x29d054,_0x55a0c8),this['logger'][_0x858503(0x13a)](util[_0x858503(0x185)](_0x4e927a[_0x858503(0x180)]));}}module[a82_0x5ae761(0x16b)]=uploadAttachmentsManager;
1
+ function a82_0x5430(_0x5600f0,_0x28b17a){const _0x21f0ad=a82_0x21f0();return a82_0x5430=function(_0x543027,_0x4d68ea){_0x543027=_0x543027-0x140;let _0x22d6ae=_0x21f0ad[_0x543027];return _0x22d6ae;},a82_0x5430(_0x5600f0,_0x28b17a);}function a82_0x21f0(){const _0x2a40af=['oYmCE','./modules/playwrightDriverModule','Created\x20.browserstack\x20folder\x20at:\x20%s','.browserstack','YvpjH','Attachment\x20recevied\x20for\x20path:\x20%s','Jufil','DfwmQ','30iehgUT','createWriteStream','SaKXN','mkdirSync','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','BtTNB','97542oqazNm','TestLevel','iMIjt','modules','path','GBhMl','RZSyb','./framework/automationFramework','retry','KEY_FILE_NAME','3212297APlejW','Cleared\x20attachment\x20folder','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','7YmbVzk','JeAWf','gHINR','SEbvu','KEY_TEST_ATTACHMENTS','homedir','statSync','toFixed','jahyI','unlinkSync','size','./TestInfo','copyFileSync','join','otxpa','close','TestHubModule','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','trackFile','http://','format','hrvXZ','http','https','IzUQl','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','rdtXv','existsSync','ZqwPu','debug','getInstance','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','dcxGS','statusCode','KEY_FILE_LEVEL','wHBDa','basename','nPaOk','./browserstackCLI','uploadAttachments','shRmq','YSIRl','clearAttachments','exports','100cRcUMa','get','pipe','startsWith','File\x20downloaded\x20to:\x20%s','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','UDeVn','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','TFxtu','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','rHxgr','YycCa','__workerDetails','rmSync','BuildLevel','KEY_FILE_SIZE','https://','message','recursive','getTestIdentifierFromTestInfo','176748UhOzHe','SGSwa','logger','AIIBR','util','getTestDetails','Created\x20folder:\x20%s','lluXs','1960944tyUiWD','buildHashedId','testhubConfig','8DleQca','uploadAttachmentsManager','aadUv','78378XrHiwc','iimKM','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','SxoMk','5917528YWPlQw','toObject','1892036MsuREx'];a82_0x21f0=function(){return _0x2a40af;};return a82_0x21f0();}const a82_0x4e52f7=a82_0x5430;(function(_0x567eee,_0x3a2417){const _0x4de195=a82_0x5430,_0x4cf9e8=_0x567eee();while(!![]){try{const _0x1c60cd=parseInt(_0x4de195(0x147))/0x1*(parseInt(_0x4de195(0x144))/0x2)+parseInt(_0x4de195(0x141))/0x3+parseInt(_0x4de195(0x14d))/0x4+parseInt(_0x4de195(0x196))/0x5*(parseInt(_0x4de195(0x1aa))/0x6)+parseInt(_0x4de195(0x169))/0x7*(-parseInt(_0x4de195(0x14b))/0x8)+-parseInt(_0x4de195(0x15c))/0x9+-parseInt(_0x4de195(0x156))/0xa*(parseInt(_0x4de195(0x166))/0xb);if(_0x1c60cd===_0x3a2417)break;else _0x4cf9e8['push'](_0x4cf9e8['shift']());}catch(_0x53fc3c){_0x4cf9e8['push'](_0x4cf9e8['shift']());}}}(a82_0x21f0,0x6251f));const os=require('os'),fs=require('fs'),path=require(a82_0x4e52f7(0x160)),util=require(a82_0x4e52f7(0x1ae)),BrowserstackCLI=require(a82_0x4e52f7(0x190)),https=require(a82_0x4e52f7(0x180)),http=require(a82_0x4e52f7(0x17f)),AutomationFramework=require(a82_0x4e52f7(0x163)),PlaywrightDriverModule=require(a82_0x4e52f7(0x14f)),TestInfo=require(a82_0x4e52f7(0x174)),TestFrameworkConstants=require('./framework/constants/testFrameworkConstants'),{createClassLogger}=require('../../helpers/classLogger.js');class uploadAttachmentsManager{static [a82_0x4e52f7(0x1ac)]=createClassLogger(a82_0x4e52f7(0x145));static[a82_0x4e52f7(0x191)](_0x3d4c09,_0x59ce28=![]){const _0x26c67c=a82_0x4e52f7,_0x36847c={};_0x36847c[_0x26c67c(0x162)]=function(_0x52850e,_0x5304ba){return _0x52850e/_0x5304ba;},_0x36847c[_0x26c67c(0x185)]=function(_0xdd1f4f,_0x1333bc){return _0xdd1f4f*_0x1333bc;},_0x36847c[_0x26c67c(0x14a)]=function(_0x376098,_0x2cbaf7){return _0x376098>_0x2cbaf7;},_0x36847c[_0x26c67c(0x146)]=_0x26c67c(0x182),_0x36847c[_0x26c67c(0x148)]=_0x26c67c(0x19a),_0x36847c[_0x26c67c(0x154)]=function(_0x4ac871,_0xe85873){return _0x4ac871===_0xe85873;},_0x36847c[_0x26c67c(0x1a0)]='finish',_0x36847c[_0x26c67c(0x177)]=_0x26c67c(0x19b),_0x36847c['BtTNB']=_0x26c67c(0x189),_0x36847c[_0x26c67c(0x16c)]=_0x26c67c(0x153),_0x36847c[_0x26c67c(0x140)]=_0x26c67c(0x151),_0x36847c[_0x26c67c(0x19c)]=_0x26c67c(0x15a),_0x36847c[_0x26c67c(0x171)]=_0x26c67c(0x150),_0x36847c['DfwmQ']=_0x26c67c(0x1b0),_0x36847c[_0x26c67c(0x18d)]=function(_0x51e3a1,_0x2c3089){return _0x51e3a1===_0x2c3089;},_0x36847c[_0x26c67c(0x161)]=_0x26c67c(0x149),_0x36847c['YycCa']=_0x26c67c(0x1a6),_0x36847c['ndjyk']=_0x26c67c(0x17c),_0x36847c[_0x26c67c(0x192)]='error',_0x36847c[_0x26c67c(0x14e)]=_0x26c67c(0x168),_0x36847c['oelld']=function(_0xfb20b0,_0x234cc6){return _0xfb20b0*_0x234cc6;},_0x36847c[_0x26c67c(0x16a)]=function(_0x26ff88,_0x591e05){return _0x26ff88>_0x591e05;},_0x36847c[_0x26c67c(0x158)]=_0x26c67c(0x19f);const _0x8b68d5=_0x36847c;this[_0x26c67c(0x1ac)]['debug'](util[_0x26c67c(0x17d)](_0x8b68d5[_0x26c67c(0x16c)],_0x3d4c09));const _0x4174df=os[_0x26c67c(0x16e)](),_0x389a8a=path[_0x26c67c(0x176)](_0x4174df,_0x8b68d5[_0x26c67c(0x140)]);!fs[_0x26c67c(0x184)](_0x389a8a)&&(this[_0x26c67c(0x1ac)][_0x26c67c(0x186)](util['format'](_0x8b68d5[_0x26c67c(0x19c)],_0x389a8a)),fs[_0x26c67c(0x159)](_0x389a8a),this['logger']['debug'](util[_0x26c67c(0x17d)](_0x8b68d5[_0x26c67c(0x171)],_0x389a8a)));const _0x470093=BrowserstackCLI['getInstance']()[_0x26c67c(0x15f)][_0x26c67c(0x179)]?.[_0x26c67c(0x143)]?.['toObject']()?.[_0x26c67c(0x142)],_0x4ef934=path['join'](_0x389a8a,_0x470093);!fs[_0x26c67c(0x184)](_0x4ef934)&&(fs[_0x26c67c(0x159)](_0x4ef934),this[_0x26c67c(0x1ac)][_0x26c67c(0x186)](util['format'](_0x8b68d5[_0x26c67c(0x155)],_0x4ef934)));if(_0x8b68d5['wHBDa'](_0x3d4c09['trim'](),'')){this[_0x26c67c(0x1ac)][_0x26c67c(0x186)](util[_0x26c67c(0x17d)](_0x8b68d5[_0x26c67c(0x161)]));return;}if(_0x3d4c09[_0x26c67c(0x199)](_0x8b68d5[_0x26c67c(0x1a1)])||_0x3d4c09[_0x26c67c(0x199)](_0x8b68d5['ndjyk'])){const _0x2ada83=_0x3d4c09[_0x26c67c(0x199)](_0x8b68d5[_0x26c67c(0x1a1)])?https:http,_0x1e8b50=path[_0x26c67c(0x18e)](_0x3d4c09),_0x4a2594=path[_0x26c67c(0x176)](_0x4ef934,_0x1e8b50),_0x3118cf=fs[_0x26c67c(0x157)](_0x4a2594);_0x2ada83[_0x26c67c(0x197)](_0x3d4c09,_0x5d29d3=>{const _0x3d31c2=_0x26c67c,_0x22e8e0={'hrvXZ':function(_0x1bbb8d,_0x343956){const _0x3db613=a82_0x5430;return _0x8b68d5[_0x3db613(0x162)](_0x1bbb8d,_0x343956);},'TFxtu':function(_0x40430a,_0x47b9fb){const _0x2b09c4=a82_0x5430;return _0x8b68d5[_0x2b09c4(0x185)](_0x40430a,_0x47b9fb);},'gHINR':function(_0x43fea3,_0x19f543){const _0x188484=a82_0x5430;return _0x8b68d5[_0x188484(0x14a)](_0x43fea3,_0x19f543);},'IzUQl':_0x8b68d5[_0x3d31c2(0x146)],'rdtXv':_0x8b68d5[_0x3d31c2(0x148)]};if(_0x8b68d5[_0x3d31c2(0x154)](_0x5d29d3[_0x3d31c2(0x18b)],0xc8))_0x5d29d3[_0x3d31c2(0x198)](_0x3118cf),_0x3118cf['on'](_0x8b68d5[_0x3d31c2(0x1a0)],()=>{const _0x4cb05a=_0x3d31c2;_0x3118cf[_0x4cb05a(0x178)]();const _0x5a5a23=fs[_0x4cb05a(0x16f)](_0x4a2594),_0x1efc9b=_0x22e8e0[_0x4cb05a(0x17e)](_0x5a5a23['size'],_0x22e8e0[_0x4cb05a(0x19e)](0x400,0x400));if(_0x22e8e0[_0x4cb05a(0x16b)](_0x1efc9b,0x64)){this[_0x4cb05a(0x1ac)][_0x4cb05a(0x186)](util['format'](_0x22e8e0[_0x4cb05a(0x181)],_0x1efc9b[_0x4cb05a(0x170)](0x2))),fs[_0x4cb05a(0x172)](_0x4a2594);return;}this[_0x4cb05a(0x1ac)][_0x4cb05a(0x186)](util[_0x4cb05a(0x17d)](_0x22e8e0[_0x4cb05a(0x183)],_0x4a2594)),uploadAttachmentsManager[_0x4cb05a(0x17b)](_0x4a2594,_0x59ce28);});else{this['logger']['debug'](util[_0x3d31c2(0x17d)](_0x8b68d5[_0x3d31c2(0x177)],_0x5d29d3[_0x3d31c2(0x18b)])),_0x3118cf[_0x3d31c2(0x178)](),fs['unlinkSync'](_0x4a2594);return;}})['on'](_0x8b68d5[_0x26c67c(0x192)],_0x398d00=>{const _0x3d4407=_0x26c67c;this[_0x3d4407(0x1ac)]['debug'](util['format'](_0x8b68d5[_0x3d4407(0x15b)],_0x398d00[_0x3d4407(0x1a7)])),_0x3118cf[_0x3d4407(0x178)](),fs[_0x3d4407(0x172)](_0x4a2594);return;});}else{if(!fs[_0x26c67c(0x184)](_0x3d4c09)){this[_0x26c67c(0x1ac)][_0x26c67c(0x186)](util[_0x26c67c(0x17d)](_0x8b68d5['oYmCE'],_0x3d4c09));return;}const _0x1ee4cb=fs[_0x26c67c(0x16f)](_0x3d4c09),_0x14e87a=_0x8b68d5[_0x26c67c(0x162)](_0x1ee4cb[_0x26c67c(0x173)],_0x8b68d5['oelld'](0x400,0x400));if(_0x8b68d5['JeAWf'](_0x14e87a,0x64)){this['logger'][_0x26c67c(0x186)](util['format'](_0x8b68d5[_0x26c67c(0x158)],_0x14e87a[_0x26c67c(0x170)](0x2)));return;}const _0xa9b8e1=path['basename'](_0x3d4c09),_0x59e1e5=path['join'](_0x4ef934,_0xa9b8e1);fs[_0x26c67c(0x175)](_0x3d4c09,_0x59e1e5),uploadAttachmentsManager[_0x26c67c(0x17b)](_0x59e1e5,_0x59ce28);}}static[a82_0x4e52f7(0x17b)](_0x37f835,_0x3c8937){const _0x40f4cf=a82_0x4e52f7,_0x19febd={};_0x19febd[_0x40f4cf(0x1ab)]=_0x40f4cf(0x1a4),_0x19febd[_0x40f4cf(0x15e)]=_0x40f4cf(0x15d),_0x19febd[_0x40f4cf(0x18a)]=_0x40f4cf(0x19d),_0x19febd[_0x40f4cf(0x152)]=_0x40f4cf(0x188);const _0x576afc=_0x19febd;try{const _0x45e564=global[_0x40f4cf(0x1a2)]?.['currentTest']?.['testInfo'],_0x49100e=TestInfo[_0x40f4cf(0x1a9)](_0x45e564,_0x45e564[_0x40f4cf(0x164)]),_0x18ffd9=TestInfo[_0x40f4cf(0x1af)](_0x49100e),_0xcbb066=_0x18ffd9[TestFrameworkConstants[_0x40f4cf(0x16d)]]||{};_0xcbb066[_0x37f835]={[TestFrameworkConstants[_0x40f4cf(0x1a5)]]:fs[_0x40f4cf(0x16f)](_0x37f835)['size'],[TestFrameworkConstants[_0x40f4cf(0x165)]]:path[_0x40f4cf(0x18e)](_0x37f835),[TestFrameworkConstants['KEY_FILE_PATH']]:_0x37f835,[TestFrameworkConstants[_0x40f4cf(0x18c)]]:_0x3c8937?_0x576afc[_0x40f4cf(0x1ab)]:_0x576afc['iMIjt']},_0x18ffd9[TestFrameworkConstants[_0x40f4cf(0x16d)]]=_0xcbb066,TestInfo['setTestDetails'](_0x49100e,_0x18ffd9),this[_0x40f4cf(0x1ac)][_0x40f4cf(0x186)](util[_0x40f4cf(0x17d)](_0x576afc[_0x40f4cf(0x18a)],_0x37f835));}catch(_0x435b36){this[_0x40f4cf(0x1ac)][_0x40f4cf(0x186)](util[_0x40f4cf(0x17d)](_0x576afc[_0x40f4cf(0x152)],_0x435b36[_0x40f4cf(0x1a7)]));}}static[a82_0x4e52f7(0x194)](){const _0x379919=a82_0x4e52f7,_0x188087={};_0x188087[_0x379919(0x1ad)]='.browserstack',_0x188087['YSIRl']=_0x379919(0x17a),_0x188087[_0x379919(0x18f)]=_0x379919(0x167);const _0x286582=_0x188087,_0x23a020=os[_0x379919(0x16e)](),_0x4020ef=path[_0x379919(0x176)](_0x23a020,_0x286582['AIIBR']);if(!fs[_0x379919(0x184)](_0x4020ef))return;const _0x2a88f9=BrowserstackCLI[_0x379919(0x187)]()[_0x379919(0x15f)]['TestHubModule']?.[_0x379919(0x143)]?.[_0x379919(0x14c)]()?.['buildHashedId'],_0x1a08b5=_0x2a88f9?path['join'](_0x4020ef,_0x2a88f9):null;if(!_0x1a08b5||!fs['existsSync'](_0x1a08b5)){this[_0x379919(0x1ac)][_0x379919(0x186)](util[_0x379919(0x17d)](_0x286582[_0x379919(0x193)],_0x2a88f9));return;}const _0x58ee69={};_0x58ee69[_0x379919(0x1a8)]=!![],_0x58ee69['force']=!![],fs[_0x379919(0x1a3)](_0x1a08b5,_0x58ee69),this[_0x379919(0x1ac)][_0x379919(0x186)](util['format'](_0x286582[_0x379919(0x18f)]));}}module[a82_0x4e52f7(0x195)]=uploadAttachmentsManager;