browserstack-node-sdk 1.40.5 → 1.40.6

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 (173) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test_before.setup.js +1 -1
  67. package/src/bin/launcher/launcher.js +1 -1
  68. package/src/bin/load/index.js +1 -1
  69. package/src/bin/load/loadUtils.js +1 -1
  70. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  71. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  72. package/src/bin/mocha/command.js +1 -1
  73. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  74. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  75. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  76. package/src/bin/mocha/test.setup.js +1 -1
  77. package/src/bin/nightwatch/command.js +1 -1
  78. package/src/bin/playwright/accessibility-helper.js +1 -1
  79. package/src/bin/playwright/command.js +1 -1
  80. package/src/bin/playwright/globalSetup.js +1 -1
  81. package/src/bin/playwright/mock-process.js +1 -1
  82. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  83. package/src/bin/playwright/patches.js +1 -1
  84. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  85. package/src/bin/playwright/reporter/reporter.js +1 -1
  86. package/src/bin/playwright/reporter/test-details.js +1 -1
  87. package/src/bin/playwright/sessionDetails.js +1 -1
  88. package/src/bin/runner.js +1 -1
  89. package/src/bin/setup.js +1 -1
  90. package/src/bin/test-runner/index.js +1 -1
  91. package/src/bin/test-runner/runTest.js +1 -1
  92. package/src/bin/test-runner/testWorker.js +1 -1
  93. package/src/bin/utils/constants.js +1 -1
  94. package/src/bin/utils/log4jsAppender.js +1 -1
  95. package/src/bin/utils/logPatcher.js +1 -1
  96. package/src/bin/utils/logReportingAPI.js +1 -1
  97. package/src/bin/v2/TestInfo.js +1 -1
  98. package/src/bin/v2/browserstackCLI.js +1 -1
  99. package/src/bin/v2/cliUtils.js +1 -1
  100. package/src/bin/v2/customTagManager.js +1 -1
  101. package/src/bin/v2/eventDispatcher.js +1 -1
  102. package/src/bin/v2/framework/automationFramework.js +1 -1
  103. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  104. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  105. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  106. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  107. package/src/bin/v2/framework/testFramework.js +1 -1
  108. package/src/bin/v2/grpcClient.js +1 -1
  109. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  110. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  111. package/src/bin/v2/instances/trackedContext.js +1 -1
  112. package/src/bin/v2/instances/trackedInstance.js +1 -1
  113. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  114. package/src/bin/v2/modules/baseModule.js +1 -1
  115. package/src/bin/v2/modules/observabilityModule.js +1 -1
  116. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  117. package/src/bin/v2/modules/testhubModule.js +1 -1
  118. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  119. package/src/bin/v2/state/hookState.js +1 -1
  120. package/src/bin/v2/state/testFrameworkState.js +1 -1
  121. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  122. package/src/bin/vanilla-js/command.js +1 -1
  123. package/src/browserStackSdk.js +1 -1
  124. package/src/helpers/BrowserStackSetup.js +1 -1
  125. package/src/helpers/accessibility-automation/constants.js +1 -1
  126. package/src/helpers/accessibility-automation/helper.js +1 -1
  127. package/src/helpers/accessibility-automation/scripts.js +1 -1
  128. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  129. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  130. package/src/helpers/ats/constants.js +1 -1
  131. package/src/helpers/ats/helper.js +1 -1
  132. package/src/helpers/capsMapping.js +1 -1
  133. package/src/helpers/central-scanner/constants.js +1 -1
  134. package/src/helpers/central-scanner/helpers.js +1 -1
  135. package/src/helpers/classLogger.js +1 -1
  136. package/src/helpers/globals.js +1 -1
  137. package/src/helpers/helper.js +1 -1
  138. package/src/helpers/logger.js +1 -1
  139. package/src/helpers/metadata.js +1 -1
  140. package/src/helpers/patchHelper.js +1 -1
  141. package/src/helpers/patchHelpers.js +1 -1
  142. package/src/helpers/percy/Percy.js +1 -1
  143. package/src/helpers/percy/PercyBinary.js +1 -1
  144. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  145. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  146. package/src/helpers/percy/PercySDK.js +1 -1
  147. package/src/helpers/percy/index.js +1 -1
  148. package/src/helpers/percy/utils.js +1 -1
  149. package/src/helpers/performance/constants.js +1 -1
  150. package/src/helpers/performance/performance-tester.js +1 -1
  151. package/src/helpers/processHelper.js +1 -1
  152. package/src/helpers/request-spy.js +1 -1
  153. package/src/helpers/setKeepAlive.js +1 -1
  154. package/src/helpers/test-observability/constants.js +1 -1
  155. package/src/helpers/test-observability/error-handler.js +1 -1
  156. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  157. package/src/helpers/test-observability/sessionHandler.js +1 -1
  158. package/src/helpers/test-observability/utils.js +1 -1
  159. package/src/helpers/test-orchestration/constants.js +1 -1
  160. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  161. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  162. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  163. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  164. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  165. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  166. package/src/helpers/testhub/constants.js +1 -1
  167. package/src/helpers/testhub/testhubHandler.js +1 -1
  168. package/src/helpers/testhub/utils.js +1 -1
  169. package/src/helpers/timeoutPromise.js +1 -1
  170. package/src/helpers/utilities.js +1 -1
  171. package/src/helpers/w3cMapping.js +1 -1
  172. package/src/hubAllocationMethods.js +1 -1
  173. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a69_0x5e62c9=a69_0x5a33;(function(_0x4b93aa,_0x284e77){const _0xcbea78=a69_0x5a33,_0x334436=_0x4b93aa();while(!![]){try{const _0x2b1cfd=-parseInt(_0xcbea78(0xff))/0x1*(-parseInt(_0xcbea78(0x106))/0x2)+-parseInt(_0xcbea78(0xfd))/0x3*(-parseInt(_0xcbea78(0x107))/0x4)+-parseInt(_0xcbea78(0x114))/0x5+-parseInt(_0xcbea78(0x10b))/0x6*(parseInt(_0xcbea78(0x113))/0x7)+parseInt(_0xcbea78(0x100))/0x8*(-parseInt(_0xcbea78(0x105))/0x9)+parseInt(_0xcbea78(0x116))/0xa+-parseInt(_0xcbea78(0x108))/0xb;if(_0x2b1cfd===_0x284e77)break;else _0x334436['push'](_0x334436['shift']());}catch(_0x4dd6bf){_0x334436['push'](_0x334436['shift']());}}}(a69_0x8663,0x84f70));function a69_0x5a33(_0x24c64a,_0x328b08){const _0x86638d=a69_0x8663();return a69_0x5a33=function(_0x5a3362,_0x2fce22){_0x5a3362=_0x5a3362-0xfa;let _0x378be3=_0x86638d[_0x5a3362];return _0x378be3;},a69_0x5a33(_0x24c64a,_0x328b08);}const {createClassLogger}=require(a69_0x5e62c9(0x10f)),logger=createClassLogger('TrackedInstance'),HookState=require('../state/hookState'),TestFrameworkState=require(a69_0x5e62c9(0x102)),TrackedContext=require(a69_0x5e62c9(0x103)),TrackedInstance=require('./trackedInstance'),now=new Date();class TestFrameworkInstance extends TrackedInstance{constructor(_0x3da6b1,_0x33467f,_0x4bcde5,_0x15b9dd,_0x47f9e4){const _0x3d125f=a69_0x5e62c9,_0x105b25={};_0x105b25[_0x3d125f(0x111)]=_0x3d125f(0x115);const _0x3298a3=_0x105b25,_0x3809fc=_0x3298a3['blRiM']['split']('|');let _0x311eab=0x0;while(!![]){switch(_0x3809fc[_0x311eab++]){case'0':this[_0x3d125f(0x109)]=_0x15b9dd;continue;case'1':this[_0x3d125f(0x10a)]=HookState['NONE'];continue;case'2':this[_0x3d125f(0x10d)]=now['toLocaleString']();continue;case'3':super(_0x3da6b1);continue;case'4':this[_0x3d125f(0x118)]=TestFrameworkState[_0x3d125f(0x101)];continue;case'5':this['testFrameworksVersions']=_0x4bcde5;continue;case'6':this[_0x3d125f(0xfc)]=_0x33467f;continue;case'7':this[_0x3d125f(0x10e)]=_0x47f9e4;continue;}break;}}['getCurrentTestState'](){const _0x4f9699=a69_0x5e62c9;return this[_0x4f9699(0x109)];}[a69_0x5e62c9(0x117)](_0x122c2a){this['setLastTestState'](this['currentTestState']),this['currentTestState']=_0x122c2a;}[a69_0x5e62c9(0x10c)](){return this['currentHookState'];}[a69_0x5e62c9(0x112)](_0x3cd62a){const _0x568d10=a69_0x5e62c9;this['setLastHookState'](this[_0x568d10(0x10e)]),this[_0x568d10(0x10e)]=_0x3cd62a;}[a69_0x5e62c9(0xfb)](){return this['lastTestState'];}['setLastTestState'](_0x3bf0d1){this['lastTestState']=_0x3bf0d1;}[a69_0x5e62c9(0x110)](){const _0x3836cf=a69_0x5e62c9;return this[_0x3836cf(0x10a)];}[a69_0x5e62c9(0xfe)](_0xb7681f){this['lastHookState']=_0xb7681f;}[a69_0x5e62c9(0x104)](){const _0x49d268=a69_0x5e62c9;return this[_0x49d268(0x10d)];}}module[a69_0x5e62c9(0xfa)]=TestFrameworkInstance;function a69_0x8663(){const _0x5bf4f3=['getLastTestState','testFrameworks','337215VyMFtG','setLastHookState','531252BGOCty','16hcXlmo','NONE','../state/testFrameworkState','./trackedContext','getCreatedAt','1372131MpCyNo','2iBSpAx','32ppsQdm','7284310dmvruw','currentTestState','lastHookState','162tsUewg','getCurrentHookState','createdAt','currentHookState','../../../helpers/classLogger','getLastHookState','blRiM','setCurrentHookState','22771gwLfaO','1291005SZuxwa','3|6|5|0|7|4|1|2','4272920PRcsmP','setCurrentTestState','lastTestState','exports'];a69_0x8663=function(){return _0x5bf4f3;};return a69_0x8663();}
1
+ const a69_0x13a706=a69_0xd7ce;function a69_0x296e(){const _0x54a880=['./trackedContext','currentHookState','12cOrakw','lastHookState','lastTestState','TrackedInstance','getCreatedAt','currentTestState','gvnuR','5yVSzHI','../state/hookState','setCurrentHookState','getLastHookState','./trackedInstance','../state/testFrameworkState','testFrameworksVersions','toLocaleString','createdAt','getCurrentHookState','NONE','13zwwXoP','1071621qROmtz','24fiIOfr','6|7|5|0|2|4|1|3','30BchSIp','6881mJRjnR','setLastHookState','getCurrentTestState','2264FgRkbK','setLastTestState','8436Huehxb','354JBQHRt','1694055eGQjGf','30573186HbXPRT','2390532NnCKkY','split','61890Crbhpb'];a69_0x296e=function(){return _0x54a880;};return a69_0x296e();}(function(_0x58edf8,_0x32e5ab){const _0x49864a=a69_0xd7ce,_0x27f0c2=_0x58edf8();while(!![]){try{const _0x5bda5c=parseInt(_0x49864a(0xd3))/0x1*(-parseInt(_0x49864a(0xd0))/0x2)+-parseInt(_0x49864a(0xcb))/0x3*(parseInt(_0x49864a(0xca))/0x4)+-parseInt(_0x49864a(0xda))/0x5*(parseInt(_0x49864a(0xce))/0x6)+parseInt(_0x49864a(0xea))/0x7*(-parseInt(_0x49864a(0xc8))/0x8)+-parseInt(_0x49864a(0xe6))/0x9*(parseInt(_0x49864a(0xe9))/0xa)+parseInt(_0x49864a(0xcc))/0xb*(-parseInt(_0x49864a(0xe7))/0xc)+-parseInt(_0x49864a(0xe5))/0xd*(-parseInt(_0x49864a(0xcd))/0xe);if(_0x5bda5c===_0x32e5ab)break;else _0x27f0c2['push'](_0x27f0c2['shift']());}catch(_0x27fd8a){_0x27f0c2['push'](_0x27f0c2['shift']());}}}(a69_0x296e,0x36249));function a69_0xd7ce(_0x427a0f,_0x3c1709){const _0x296ec5=a69_0x296e();return a69_0xd7ce=function(_0xd7ce7,_0x2d8d22){_0xd7ce7=_0xd7ce7-0xc8;let _0x4eee75=_0x296ec5[_0xd7ce7];return _0x4eee75;},a69_0xd7ce(_0x427a0f,_0x3c1709);}const {createClassLogger}=require('../../../helpers/classLogger'),logger=createClassLogger(a69_0x13a706(0xd6)),HookState=require(a69_0x13a706(0xdb)),TestFrameworkState=require(a69_0x13a706(0xdf)),TrackedContext=require(a69_0x13a706(0xd1)),TrackedInstance=require(a69_0x13a706(0xde)),now=new Date();class TestFrameworkInstance extends TrackedInstance{constructor(_0x55af6a,_0x288233,_0x3a52b2,_0x2e62e8,_0x32feb4){const _0xc38d5c=a69_0x13a706,_0x3bae73={};_0x3bae73[_0xc38d5c(0xd9)]=_0xc38d5c(0xe8);const _0x827506=_0x3bae73,_0x16db73=_0x827506[_0xc38d5c(0xd9)][_0xc38d5c(0xcf)]('|');let _0x3b3b25=0x0;while(!![]){switch(_0x16db73[_0x3b3b25++]){case'0':this[_0xc38d5c(0xd8)]=_0x2e62e8;continue;case'1':this[_0xc38d5c(0xd4)]=HookState[_0xc38d5c(0xe4)];continue;case'2':this[_0xc38d5c(0xd2)]=_0x32feb4;continue;case'3':this[_0xc38d5c(0xe2)]=now[_0xc38d5c(0xe1)]();continue;case'4':this[_0xc38d5c(0xd5)]=TestFrameworkState[_0xc38d5c(0xe4)];continue;case'5':this[_0xc38d5c(0xe0)]=_0x3a52b2;continue;case'6':super(_0x55af6a);continue;case'7':this['testFrameworks']=_0x288233;continue;}break;}}[a69_0x13a706(0xec)](){const _0x28f8e8=a69_0x13a706;return this[_0x28f8e8(0xd8)];}['setCurrentTestState'](_0x25ef23){const _0x2c3809=a69_0x13a706;this['setLastTestState'](this[_0x2c3809(0xd8)]),this[_0x2c3809(0xd8)]=_0x25ef23;}[a69_0x13a706(0xe3)](){const _0x42065f=a69_0x13a706;return this[_0x42065f(0xd2)];}[a69_0x13a706(0xdc)](_0x28cdc9){const _0x3a75b3=a69_0x13a706;this[_0x3a75b3(0xeb)](this['currentHookState']),this['currentHookState']=_0x28cdc9;}['getLastTestState'](){const _0x2fa8b0=a69_0x13a706;return this[_0x2fa8b0(0xd5)];}[a69_0x13a706(0xc9)](_0x527248){const _0x1661ff=a69_0x13a706;this[_0x1661ff(0xd5)]=_0x527248;}[a69_0x13a706(0xdd)](){const _0x255f4e=a69_0x13a706;return this[_0x255f4e(0xd4)];}[a69_0x13a706(0xeb)](_0x2e5e3b){this['lastHookState']=_0x2e5e3b;}[a69_0x13a706(0xd7)](){const _0xecc0b1=a69_0x13a706;return this[_0xecc0b1(0xe2)];}}module['exports']=TestFrameworkInstance;
@@ -1 +1 @@
1
- const a70_0x48874e=a70_0x5657;function a70_0x5657(_0x5ce0ef,_0x15dc06){const _0xd0c896=a70_0xd0c8();return a70_0x5657=function(_0x565723,_0x16fbae){_0x565723=_0x565723-0xea;let _0x3d7a37=_0xd0c896[_0x565723];return _0x3d7a37;},a70_0x5657(_0x5ce0ef,_0x15dc06);}(function(_0x1301cb,_0x5ea37f){const _0x5a7525=a70_0x5657,_0x5bc083=_0x1301cb();while(!![]){try{const _0x1be29e=-parseInt(_0x5a7525(0xf5))/0x1+-parseInt(_0x5a7525(0xf3))/0x2*(parseInt(_0x5a7525(0xf8))/0x3)+-parseInt(_0x5a7525(0xef))/0x4+-parseInt(_0x5a7525(0xed))/0x5*(-parseInt(_0x5a7525(0xea))/0x6)+parseInt(_0x5a7525(0xf0))/0x7+-parseInt(_0x5a7525(0xf4))/0x8+parseInt(_0x5a7525(0xeb))/0x9;if(_0x1be29e===_0x5ea37f)break;else _0x5bc083['push'](_0x5bc083['shift']());}catch(_0x374346){_0x5bc083['push'](_0x5bc083['shift']());}}}(a70_0xd0c8,0x53575));function a70_0xd0c8(){const _0xfdbe56=['exports','../../../helpers/classLogger','3178cfsQLR','3001976PrKYDm','508861iHvxGK','type','threadId','123jLRODp','2946RepRiM','9452691nfddxk','getThreadId','4735WDNRQY','getProcessId','1819968xDLLCQ','1612366oyArmy'];a70_0xd0c8=function(){return _0xfdbe56;};return a70_0xd0c8();}const {createClassLogger}=require(a70_0x48874e(0xf2)),logger=createClassLogger('TrackedContext');class TrackedContext{constructor(_0x2c4d5a,_0x32c39f,_0x757f6d,_0x453ba1){const _0xc87e62=a70_0x48874e;this['id']=_0x2c4d5a,this[_0xc87e62(0xf7)]=_0x32c39f,this['processId']=_0x757f6d,this['type']=_0x453ba1;}[a70_0x48874e(0xec)](){const _0x4f2cf8=a70_0x48874e;return this[_0x4f2cf8(0xf7)];}[a70_0x48874e(0xee)](){return this['processId'];}['getId'](){return this['id'];}['getType'](){const _0xc44d43=a70_0x48874e;return this[_0xc44d43(0xf6)];}}module[a70_0x48874e(0xf1)]=TrackedContext;
1
+ function a70_0x39d5(_0x5164af,_0x53c505){const _0x1afc68=a70_0x1afc();return a70_0x39d5=function(_0x39d5a1,_0x353ac0){_0x39d5a1=_0x39d5a1-0x16d;let _0x3d3beb=_0x1afc68[_0x39d5a1];return _0x3d3beb;},a70_0x39d5(_0x5164af,_0x53c505);}const a70_0x157e2a=a70_0x39d5;function a70_0x1afc(){const _0x4216db=['84375JsQgqU','847898ePxMVz','484032HBjQnc','1525535ZmdIXB','getProcessId','14FsqVhN','threadId','getThreadId','processId','855342QRlYYn','type','getType','71916CgBSEm','getId','5495672MNGuis'];a70_0x1afc=function(){return _0x4216db;};return a70_0x1afc();}(function(_0x1b9428,_0x3a4360){const _0x229534=a70_0x39d5,_0x20457f=_0x1b9428();while(!![]){try{const _0x197a4c=-parseInt(_0x229534(0x170))/0x1+-parseInt(_0x229534(0x16f))/0x2+-parseInt(_0x229534(0x16e))/0x3+-parseInt(_0x229534(0x17a))/0x4+-parseInt(_0x229534(0x171))/0x5+parseInt(_0x229534(0x177))/0x6+parseInt(_0x229534(0x173))/0x7*(parseInt(_0x229534(0x16d))/0x8);if(_0x197a4c===_0x3a4360)break;else _0x20457f['push'](_0x20457f['shift']());}catch(_0x38615c){_0x20457f['push'](_0x20457f['shift']());}}}(a70_0x1afc,0x3ed03));const {createClassLogger}=require('../../../helpers/classLogger'),logger=createClassLogger('TrackedContext');class TrackedContext{constructor(_0x30d6a4,_0x38e975,_0x2c80cc,_0x3036c8){const _0xbddb0c=a70_0x39d5;this['id']=_0x30d6a4,this[_0xbddb0c(0x174)]=_0x38e975,this[_0xbddb0c(0x176)]=_0x2c80cc,this[_0xbddb0c(0x178)]=_0x3036c8;}[a70_0x157e2a(0x175)](){const _0x19d1ad=a70_0x157e2a;return this[_0x19d1ad(0x174)];}[a70_0x157e2a(0x172)](){const _0x447c4a=a70_0x157e2a;return this[_0x447c4a(0x176)];}[a70_0x157e2a(0x17b)](){return this['id'];}[a70_0x157e2a(0x179)](){const _0x105116=a70_0x157e2a;return this[_0x105116(0x178)];}}module['exports']=TrackedContext;
@@ -1 +1 @@
1
- const a71_0x3bb63a=a71_0x2032;function a71_0x2032(_0x2d3718,_0x320101){const _0x5327c9=a71_0x5327();return a71_0x2032=function(_0x203282,_0x4d84ce){_0x203282=_0x203282-0xfb;let _0x366e51=_0x5327c9[_0x203282];return _0x366e51;},a71_0x2032(_0x2d3718,_0x320101);}(function(_0x231adf,_0x164d11){const _0xbc0467=a71_0x2032,_0x36d748=_0x231adf();while(!![]){try{const _0x2e688a=parseInt(_0xbc0467(0x10b))/0x1+parseInt(_0xbc0467(0x104))/0x2*(-parseInt(_0xbc0467(0xff))/0x3)+-parseInt(_0xbc0467(0x108))/0x4*(-parseInt(_0xbc0467(0x10f))/0x5)+parseInt(_0xbc0467(0x101))/0x6*(-parseInt(_0xbc0467(0x116))/0x7)+parseInt(_0xbc0467(0x105))/0x8+parseInt(_0xbc0467(0x110))/0x9+-parseInt(_0xbc0467(0x112))/0xa*(-parseInt(_0xbc0467(0xfe))/0xb);if(_0x2e688a===_0x164d11)break;else _0x36d748['push'](_0x36d748['shift']());}catch(_0x53c2e1){_0x36d748['push'](_0x36d748['shift']());}}}(a71_0x5327,0x86292));const TrackedContext=require(a71_0x3bb63a(0x11d)),crypto=require(a71_0x3bb63a(0x103)),{threadId}=require(a71_0x3bb63a(0x107));class TrackedInstance{static ['KEY_IS_BROWSERSTACK_AUTOMATION_SESSION']=a71_0x3bb63a(0x115);constructor(_0x24abd1){const _0x1f8ff8=a71_0x3bb63a;this[_0x1f8ff8(0x118)]=_0x24abd1,this[_0x1f8ff8(0x114)]=new Map();}['getRef'](){const _0x103308=a71_0x3bb63a;return this[_0x103308(0x118)][_0x103308(0x11a)]();}[a71_0x3bb63a(0x100)](){const _0x5d21fa=a71_0x3bb63a;return this[_0x5d21fa(0x118)];}[a71_0x3bb63a(0xfb)](){const _0x55b20a=a71_0x3bb63a;return this[_0x55b20a(0x114)];}[a71_0x3bb63a(0x117)](_0x1ec856){Object['keys'](_0x1ec856)['forEach'](_0xf49abc=>{const _0x2bd9c4=a71_0x2032;this[_0x2bd9c4(0x114)][_0x2bd9c4(0xfd)](_0xf49abc,_0x1ec856[_0xf49abc]);});}['addMultipleEntries'](_0x22ea9c){const _0x4cc8fc=a71_0x3bb63a;Object[_0x4cc8fc(0xfc)](_0x22ea9c)[_0x4cc8fc(0x11c)](([_0x2ab0e9,_0x455b87])=>{const _0x473b81=_0x4cc8fc,_0x343996=this[_0x473b81(0x114)][_0x473b81(0x102)](_0x2ab0e9)||{},_0x1c8fa8={..._0x343996,..._0x455b87},_0x452dd6=_0x1c8fa8;this[_0x473b81(0x114)][_0x473b81(0xfd)](_0x2ab0e9,_0x452dd6);});}[a71_0x3bb63a(0x10d)](_0x9813d7){const _0x236982=a71_0x3bb63a;return this[_0x236982(0x114)]['get'](_0x9813d7);}[a71_0x3bb63a(0x11b)](_0x5dec6b,_0x534ee9){this['data']['set'](_0x5dec6b,_0x534ee9);}static[a71_0x3bb63a(0x119)](_0x204941){const _0x339b80=a71_0x3bb63a,_0x29b1c0={};_0x29b1c0['LjGbr']=_0x339b80(0x111),_0x29b1c0[_0x339b80(0x10e)]='hex',_0x29b1c0['jmrUh']=function(_0x11f1b2,_0x1c2434){return _0x11f1b2||_0x1c2434;};const _0x4698c3=_0x29b1c0;return new TrackedContext(crypto[_0x339b80(0x10c)](_0x4698c3[_0x339b80(0x113)])[_0x339b80(0x10a)](_0x204941)['digest'](_0x4698c3[_0x339b80(0x10e)]),_0x4698c3[_0x339b80(0x106)](threadId,0x0),process[_0x339b80(0x109)],typeof _0x204941);}}module['exports']=TrackedInstance;function a71_0x5327(){const _0x328841=['getData','oeATa','90940xfqhCC','5801706kAFgEK','sha256','70IbcWci','LjGbr','data','isBrowserstackAutomationSession','14KFNRQz','updateMultipleEntries','context','createContext','getId','updateData','forEach','./trackedContext','getAllData','entries','set','459932BJsniz','27YTVMPR','getContext','3168978Hjqncq','get','crypto','242238oPnPzO','3281272CpPBPa','jmrUh','worker_threads','228iBAqaJ','pid','update','311726WmFTVk','createHash'];a71_0x5327=function(){return _0x328841;};return a71_0x5327();}
1
+ function a71_0x458a(_0x10bb0a,_0x9aca48){const _0x4f07c6=a71_0x4f07();return a71_0x458a=function(_0x458a30,_0x4b8dec){_0x458a30=_0x458a30-0x1f1;let _0x30c8f0=_0x4f07c6[_0x458a30];return _0x30c8f0;},a71_0x458a(_0x10bb0a,_0x9aca48);}const a71_0x2243f6=a71_0x458a;(function(_0xeaf758,_0x25ab0d){const _0x9edcbb=a71_0x458a,_0x33166f=_0xeaf758();while(!![]){try{const _0x56425e=-parseInt(_0x9edcbb(0x202))/0x1+-parseInt(_0x9edcbb(0x1fc))/0x2+-parseInt(_0x9edcbb(0x215))/0x3+-parseInt(_0x9edcbb(0x1f2))/0x4*(parseInt(_0x9edcbb(0x1fb))/0x5)+-parseInt(_0x9edcbb(0x1f9))/0x6*(-parseInt(_0x9edcbb(0x1f7))/0x7)+-parseInt(_0x9edcbb(0x1fd))/0x8*(-parseInt(_0x9edcbb(0x213))/0x9)+parseInt(_0x9edcbb(0x1f5))/0xa;if(_0x56425e===_0x25ab0d)break;else _0x33166f['push'](_0x33166f['shift']());}catch(_0x2a2969){_0x33166f['push'](_0x33166f['shift']());}}}(a71_0x4f07,0x63ded));const TrackedContext=require('./trackedContext'),crypto=require('crypto'),{threadId}=require(a71_0x2243f6(0x205));function a71_0x4f07(){const _0x268141=['createHash','digest','188BTuZxw','getAllData','gJDQb','14992220ycuMPl','forEach','1375689mfPFed','isBrowserstackAutomationSession','12llnVrW','entries','64705jxBSwQ','1396788VcyaGo','592sCacgU','tFJpt','getRef','context','keys','429325zUJBZh','getContext','set','worker_threads','addMultipleEntries','exports','get','getId','hex','zLSNw','getData','data','KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','createContext','updateMultipleEntries','updateData','update','45909yLNlwX','sha256','374205LHnDOb'];a71_0x4f07=function(){return _0x268141;};return a71_0x4f07();}class TrackedInstance{static [a71_0x2243f6(0x20e)]=a71_0x2243f6(0x1f8);constructor(_0x5210be){const _0x436961=a71_0x2243f6;this[_0x436961(0x200)]=_0x5210be,this['data']=new Map();}[a71_0x2243f6(0x1ff)](){const _0x140620=a71_0x2243f6;return this[_0x140620(0x200)][_0x140620(0x209)]();}[a71_0x2243f6(0x203)](){return this['context'];}[a71_0x2243f6(0x1f3)](){const _0x2b5d59=a71_0x2243f6;return this[_0x2b5d59(0x20d)];}[a71_0x2243f6(0x210)](_0x4ec37a){const _0x58f47b=a71_0x2243f6;Object[_0x58f47b(0x201)](_0x4ec37a)[_0x58f47b(0x1f6)](_0x3ac561=>{const _0x34e671=_0x58f47b;this[_0x34e671(0x20d)][_0x34e671(0x204)](_0x3ac561,_0x4ec37a[_0x3ac561]);});}[a71_0x2243f6(0x206)](_0x26aad6){const _0x3fdfa8=a71_0x2243f6;Object[_0x3fdfa8(0x1fa)](_0x26aad6)[_0x3fdfa8(0x1f6)](([_0x3fefba,_0x5aa6e6])=>{const _0x31ff40=_0x3fdfa8,_0x2f7496=this['data'][_0x31ff40(0x208)](_0x3fefba)||{},_0x4b6000={..._0x2f7496,..._0x5aa6e6},_0x124373=_0x4b6000;this[_0x31ff40(0x20d)][_0x31ff40(0x204)](_0x3fefba,_0x124373);});}[a71_0x2243f6(0x20c)](_0x3048fc){const _0x1cc00b=a71_0x2243f6;return this[_0x1cc00b(0x20d)]['get'](_0x3048fc);}[a71_0x2243f6(0x211)](_0x40a5c5,_0x2c118a){const _0x59542a=a71_0x2243f6;this['data'][_0x59542a(0x204)](_0x40a5c5,_0x2c118a);}static[a71_0x2243f6(0x20f)](_0x2874a0){const _0x35baaa=a71_0x2243f6,_0x212c18={};_0x212c18[_0x35baaa(0x1fe)]=_0x35baaa(0x214),_0x212c18['zLSNw']=_0x35baaa(0x20a),_0x212c18[_0x35baaa(0x1f4)]=function(_0x24b47d,_0x392408){return _0x24b47d||_0x392408;};const _0x419ead=_0x212c18;return new TrackedContext(crypto[_0x35baaa(0x216)](_0x419ead[_0x35baaa(0x1fe)])[_0x35baaa(0x212)](_0x2874a0)[_0x35baaa(0x1f1)](_0x419ead[_0x35baaa(0x20b)]),_0x419ead['gJDQb'](threadId,0x0),process['pid'],typeof _0x2874a0);}}module[a71_0x2243f6(0x207)]=TrackedInstance;
@@ -1 +1 @@
1
- const a72_0x4ab4c9=a72_0x33aa;(function(_0x2b45a5,_0x4434f3){const _0x2742f0=a72_0x33aa,_0x53039e=_0x2b45a5();while(!![]){try{const _0xf8356a=-parseInt(_0x2742f0(0x149))/0x1+parseInt(_0x2742f0(0x141))/0x2*(parseInt(_0x2742f0(0x157))/0x3)+-parseInt(_0x2742f0(0x14f))/0x4*(parseInt(_0x2742f0(0x15f))/0x5)+-parseInt(_0x2742f0(0x12c))/0x6*(parseInt(_0x2742f0(0x14d))/0x7)+-parseInt(_0x2742f0(0x154))/0x8*(-parseInt(_0x2742f0(0x13c))/0x9)+-parseInt(_0x2742f0(0x155))/0xa*(-parseInt(_0x2742f0(0x16a))/0xb)+parseInt(_0x2742f0(0x13a))/0xc;if(_0xf8356a===_0x4434f3)break;else _0x53039e['push'](_0x53039e['shift']());}catch(_0x19c112){_0x53039e['push'](_0x53039e['shift']());}}}(a72_0x3b6d,0x2edfc));function a72_0x33aa(_0x5c2a1d,_0x54ac15){const _0x3b6df6=a72_0x3b6d();return a72_0x33aa=function(_0x33aa34,_0x4fcda7){_0x33aa34=_0x33aa34-0x121;let _0x5058a4=_0x3b6df6[_0x33aa34];return _0x5058a4;},a72_0x33aa(_0x5c2a1d,_0x54ac15);}const BaseModule=require(a72_0x4ab4c9(0x16f)),{createClassLogger}=require(a72_0x4ab4c9(0x161)),CLIUtils=require(a72_0x4ab4c9(0x12d)),AutomationFramework=require(a72_0x4ab4c9(0x142)),AutomationFrameworkState=require(a72_0x4ab4c9(0x14c)),HookState=require(a72_0x4ab4c9(0x136)),GrpcClient=require(a72_0x4ab4c9(0x12b)),scripts=require('../../../helpers/accessibility-automation/scripts'),logger=createClassLogger(a72_0x4ab4c9(0x153)),PerformanceTester=require(a72_0x4ab4c9(0x162)),{EVENTS}=require(a72_0x4ab4c9(0x156));class AccessibilityModule extends BaseModule{static [a72_0x4ab4c9(0x13d)]=AccessibilityModule[a72_0x4ab4c9(0x16b)];constructor(_0x55f40a){const _0x42a3bc=a72_0x4ab4c9,_0x476cd4={};_0x476cd4['zklgu']=_0x42a3bc(0x16e);const _0x485a78=_0x476cd4,_0x49a3be=_0x485a78[_0x42a3bc(0x138)][_0x42a3bc(0x146)]('|');let _0x9690ca=0x0;while(!![]){switch(_0x49a3be[_0x9690ca++]){case'0':this[_0x42a3bc(0x140)]=!![];continue;case'1':this[_0x42a3bc(0x17a)](_0x55f40a[_0x42a3bc(0x152)]()['getCapabilitiesList']());continue;case'2':this[_0x42a3bc(0x171)]=_0x55f40a[_0x42a3bc(0x164)]();continue;case'3':this[_0x42a3bc(0x17c)]=![];continue;case'4':this[_0x42a3bc(0x15d)]=[];continue;case'5':this[_0x42a3bc(0x150)]=new Map();continue;case'6':this[_0x42a3bc(0x163)]=new Map();continue;case'7':AutomationFramework[_0x42a3bc(0x148)](AutomationFrameworkState[_0x42a3bc(0x158)],HookState[_0x42a3bc(0x128)],this[_0x42a3bc(0x121)][_0x42a3bc(0x132)](this));continue;case'8':AutomationFramework[_0x42a3bc(0x148)](AutomationFrameworkState[_0x42a3bc(0x16c)],HookState[_0x42a3bc(0x128)],this[_0x42a3bc(0x123)]['bind'](this));continue;case'9':super();continue;case'10':AutomationFramework[_0x42a3bc(0x148)](AutomationFrameworkState[_0x42a3bc(0x159)],HookState[_0x42a3bc(0x128)],this[_0x42a3bc(0x125)][_0x42a3bc(0x132)](this));continue;}break;}}[a72_0x4ab4c9(0x140)](){const _0x29fe1d=a72_0x4ab4c9;return this[_0x29fe1d(0x140)];}[a72_0x4ab4c9(0x160)](){const _0x5150c8=a72_0x4ab4c9;return AccessibilityModule[_0x5150c8(0x13d)];}['getCurrentAccessibilityStatus'](){const _0x556a26=a72_0x4ab4c9;return this[_0x556a26(0x163)][_0x556a26(0x177)](CLIUtils[_0x556a26(0x129)](),![]);}[a72_0x4ab4c9(0x15a)](){const _0x1bc79e=a72_0x4ab4c9;return this[_0x1bc79e(0x150)]['get'](CLIUtils[_0x1bc79e(0x129)](),![]);}['setLogDisabledShown'](_0x44c576){const _0x536d00=a72_0x4ab4c9;this[_0x536d00(0x150)][_0x536d00(0x127)](CLIUtils['getCurrentInstanceName'](),_0x44c576);}async[a72_0x4ab4c9(0x121)](_0x120520){const _0x5a6e95=a72_0x4ab4c9;try{PerformanceTester[_0x5a6e95(0x167)](EVENTS[_0x5a6e95(0x169)]);const _0x1a3bf7=await GrpcClient[_0x5a6e95(0x143)]()[_0x5a6e95(0x126)](_0x120520);_0x1a3bf7&&_0x1a3bf7[_0x5a6e95(0x13e)]()&&_0x1a3bf7['getAccessibility']()[_0x5a6e95(0x122)]()&&(global[_0x5a6e95(0x151)]=!![],process[_0x5a6e95(0x15b)][_0x5a6e95(0x14a)]=!![],this[_0x5a6e95(0x173)](_0x1a3bf7,_0x120520)),PerformanceTester[_0x5a6e95(0x13b)](EVENTS['SDK_ACCESSIBILITY_CONFIG']);}catch(_0x38b840){PerformanceTester['end'](EVENTS['SDK_ACCESSIBILITY_CONFIG'],![],_0x38b840['message']),logger[_0x5a6e95(0x134)]('Error\x20while\x20setting\x20accessibility\x20config:\x20'+(_0x38b840[_0x5a6e95(0x170)]||_0x38b840[_0x5a6e95(0x14b)]));}}[a72_0x4ab4c9(0x12f)](){const _0x15e89f=a72_0x4ab4c9;return this['capabilities']['find'](_0x2de9cf=>_0x2de9cf[_0x15e89f(0x15c)]()==='goog:chromeOptions')?.[_0x15e89f(0x172)]()||'';}async[a72_0x4ab4c9(0x173)](_0x5407d1,_0x3443e4){const _0xa90162=a72_0x4ab4c9,_0x47042c=_0x5407d1['getAccessibility']()['getOptions'](),_0x2bce1b=_0x47042c['getScriptsList'](),_0x595e80=_0x47042c[_0xa90162(0x174)]()?.[_0xa90162(0x17d)]();scripts[_0xa90162(0x165)](_0x2bce1b,_0x595e80),scripts[_0xa90162(0x145)]();const _0x3b4ae9=_0x47042c['getCapabilitiesList']();this[_0xa90162(0x15d)]=_0x47042c['getCapabilitiesList'](),await this[_0xa90162(0x17a)](_0x3b4ae9,_0x3443e4[_0xa90162(0x179)]);}async[a72_0x4ab4c9(0x17a)](_0x565307,_0x31df5d={}){const _0x145cb2=a72_0x4ab4c9,_0x5cde8b={};_0x5cde8b[_0x145cb2(0x131)]=function(_0x29b3f8,_0x3e512b){return _0x29b3f8===_0x3e512b;},_0x5cde8b['kVGSP']=_0x145cb2(0x168),_0x5cde8b[_0x145cb2(0x133)]=_0x145cb2(0x17b),_0x5cde8b[_0x145cb2(0x176)]=function(_0x1cc1e4,_0x37045d){return _0x1cc1e4===_0x37045d;},_0x5cde8b[_0x145cb2(0x12e)]=_0x145cb2(0x139),_0x5cde8b[_0x145cb2(0x147)]='browserstack.accessibilityOptions.wcagVersion',_0x5cde8b[_0x145cb2(0x16d)]=_0x145cb2(0x175),_0x5cde8b[_0x145cb2(0x15e)]=_0x145cb2(0x166),_0x5cde8b['QsoWo']=_0x145cb2(0x13f),_0x5cde8b['tsyMn']=_0x145cb2(0x14e);const _0x49be78=_0x5cde8b;for(const _0x53451a of _0x565307){logger[_0x145cb2(0x135)](_0x145cb2(0x144)+_0x53451a['getName']()+_0x145cb2(0x124)+_0x53451a['getValue']());if(_0x49be78['nRFtK'](_0x53451a['getName'](),_0x49be78[_0x145cb2(0x178)]))process[_0x145cb2(0x15b)]['BS_A11Y_JWT']=_0x53451a[_0x145cb2(0x172)](),_0x31df5d[_0x49be78[_0x145cb2(0x133)]]=_0x53451a[_0x145cb2(0x172)]();else{if(_0x49be78[_0x145cb2(0x176)](_0x53451a['getName'](),_0x49be78[_0x145cb2(0x12e)]))_0x31df5d[_0x49be78[_0x145cb2(0x147)]]=_0x53451a['getValue']();else{if(_0x49be78[_0x145cb2(0x131)](_0x53451a[_0x145cb2(0x15c)](),_0x49be78['bDaJH']))_0x31df5d[_0x49be78[_0x145cb2(0x15e)]]=_0x53451a[_0x145cb2(0x172)]();else _0x49be78[_0x145cb2(0x176)](_0x53451a[_0x145cb2(0x15c)](),_0x49be78[_0x145cb2(0x130)])&&(_0x31df5d[_0x49be78['tsyMn']]=_0x53451a['getValue']());}}}}['onAfterTest'](_0x339147){const _0x5248c8=a72_0x4ab4c9;logger['info'](_0x5248c8(0x137)+_0x339147);}['onBeforeExecute'](_0x5cf493){logger['info']('onBeforeExecute:\x20event='+_0x5cf493);}}function a72_0x3b6d(){const _0x37a586=['../../../helpers/classLogger','../../../helpers/performance/performance-tester.js','accessibility','toObject','parseFromProto','browserstack.accessibilityOptions.scannerVersion','start','accessibilityToken','SDK_ACCESSIBILITY_CONFIG','55Llfeac','name','QUIT','bDaJH','9|10|7|8|0|2|6|5|3|4|1','./baseModule','stack','accessibilityConfig','getValue','setAccessibilityConfig','getCommandsToWrap','scannerVersion','yYIsW','get','kVGSP','launchCaps','setAccessibilityToken','browserstack.accessibilityOptions.authToken','isAppAccessibility','getCommandsList','onBeforeTest','getSuccess','onAfterTest','\x20value=','onBeforeExecute','getAccessibilityConfig','put','PRE','getCurrentInstanceName','exports','../grpcClient','75246NKDRxi','../cliUtils','UWEMi','getGoogleChromeOptions','QsoWo','nRFtK','bind','ckghw','error','info','../state/hookState','onAfterTest:\x20event=','zklgu','wcagVersion','5116872LCGAmH','end','1590741EpVUif','MODULE_NAME','getAccessibility','scannerProcessingTimeout','isEnabled','76DXlWfw','../framework/automationFramework','getInstance','name:\x20','toJson','split','WUhEV','registerObserver','91862LPuOAA','BROWSERSTACK_TEST_ACCESSIBILITY_YML','message','../state/automationFrameworkState','49KPoHOd','browserstack.accessibilityOptions.scannerProcessingTimeout','4hValUq','LOG_DISABLED_SHOWN','accessibilityPlatform','getOptions','TrackedInstance','8UeTvbF','40630mFpYse','../../../helpers/performance/constants.js','9759TYgoIN','CREATE','EXECUTE','getLogDisabledShown','env','getName','capabilities','siPgc','1877195TPfbVF','getModuleName'];a72_0x3b6d=function(){return _0x37a586;};return a72_0x3b6d();};module[a72_0x4ab4c9(0x12a)]=AccessibilityModule;
1
+ const a72_0x51ae02=a72_0x2298;(function(_0x107f30,_0x371b71){const _0x2c5b5a=a72_0x2298,_0x1d8169=_0x107f30();while(!![]){try{const _0x160867=parseInt(_0x2c5b5a(0xdf))/0x1+-parseInt(_0x2c5b5a(0xe0))/0x2+parseInt(_0x2c5b5a(0xd8))/0x3+parseInt(_0x2c5b5a(0xc4))/0x4*(-parseInt(_0x2c5b5a(0xcc))/0x5)+-parseInt(_0x2c5b5a(0xed))/0x6*(parseInt(_0x2c5b5a(0xe5))/0x7)+-parseInt(_0x2c5b5a(0xd7))/0x8+-parseInt(_0x2c5b5a(0xb9))/0x9*(-parseInt(_0x2c5b5a(0xce))/0xa);if(_0x160867===_0x371b71)break;else _0x1d8169['push'](_0x1d8169['shift']());}catch(_0x16519f){_0x1d8169['push'](_0x1d8169['shift']());}}}(a72_0x35b6,0x79e23));const BaseModule=require(a72_0x51ae02(0xc3)),{createClassLogger}=require(a72_0x51ae02(0xab)),CLIUtils=require(a72_0x51ae02(0xca)),AutomationFramework=require(a72_0x51ae02(0xd2)),AutomationFrameworkState=require(a72_0x51ae02(0xe7)),HookState=require(a72_0x51ae02(0xe4)),GrpcClient=require(a72_0x51ae02(0xe2)),scripts=require(a72_0x51ae02(0xe9)),logger=createClassLogger(a72_0x51ae02(0xa5)),PerformanceTester=require(a72_0x51ae02(0xd3)),{EVENTS}=require(a72_0x51ae02(0xb4));class AccessibilityModule extends BaseModule{static ['MODULE_NAME']=AccessibilityModule[a72_0x51ae02(0xf9)];constructor(_0x5217dc){const _0x12168d=a72_0x51ae02,_0x4a1d0c={};_0x4a1d0c[_0x12168d(0xb2)]='10|7|6|5|3|2|1|8|9|4|0';const _0x24ca60=_0x4a1d0c,_0x4d18ab=_0x24ca60['qHHOk'][_0x12168d(0xde)]('|');let _0x2d82cd=0x0;while(!![]){switch(_0x4d18ab[_0x2d82cd++]){case'0':this['setAccessibilityToken'](_0x5217dc[_0x12168d(0xc2)]()[_0x12168d(0xf0)]());continue;case'1':this[_0x12168d(0xb7)]=new Map();continue;case'2':this[_0x12168d(0xcd)]=_0x5217dc[_0x12168d(0xe8)]();continue;case'3':this[_0x12168d(0xa4)]=!![];continue;case'4':this[_0x12168d(0xda)]=[];continue;case'5':AutomationFramework[_0x12168d(0xc5)](AutomationFrameworkState[_0x12168d(0xf1)],HookState[_0x12168d(0xdd)],this[_0x12168d(0xaa)][_0x12168d(0xc1)](this));continue;case'6':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x12168d(0xa1)],HookState[_0x12168d(0xdd)],this[_0x12168d(0xb5)][_0x12168d(0xc1)](this));continue;case'7':AutomationFramework[_0x12168d(0xc5)](AutomationFrameworkState[_0x12168d(0xee)],HookState[_0x12168d(0xdd)],this[_0x12168d(0xe3)][_0x12168d(0xc1)](this));continue;case'8':this['LOG_DISABLED_SHOWN']=new Map();continue;case'9':this['isAppAccessibility']=![];continue;case'10':super();continue;}break;}}[a72_0x51ae02(0xa4)](){return this['isEnabled'];}['getModuleName'](){const _0x3e8002=a72_0x51ae02;return AccessibilityModule[_0x3e8002(0xd9)];}['getCurrentAccessibilityStatus'](){const _0x366366=a72_0x51ae02;return this[_0x366366(0xb7)][_0x366366(0xbf)](CLIUtils[_0x366366(0xa6)](),![]);}[a72_0x51ae02(0xec)](){const _0x5663ac=a72_0x51ae02;return this[_0x5663ac(0xba)][_0x5663ac(0xbf)](CLIUtils['getCurrentInstanceName'](),![]);}[a72_0x51ae02(0xef)](_0xf9703f){const _0x415113=a72_0x51ae02;this['LOG_DISABLED_SHOWN']['put'](CLIUtils[_0x415113(0xa6)](),_0xf9703f);}async[a72_0x51ae02(0xb5)](_0x17c3c6){const _0x5677ac=a72_0x51ae02;try{PerformanceTester[_0x5677ac(0xc0)](EVENTS['SDK_ACCESSIBILITY_CONFIG']);const _0xb58a05=await GrpcClient[_0x5677ac(0xf6)]()[_0x5677ac(0xc9)](_0x17c3c6);_0xb58a05&&_0xb58a05[_0x5677ac(0xae)]()&&_0xb58a05[_0x5677ac(0xae)]()['getSuccess']()&&(global[_0x5677ac(0xb0)]=!![],process[_0x5677ac(0xf5)][_0x5677ac(0xd6)]=!![],this[_0x5677ac(0xbb)](_0xb58a05,_0x17c3c6)),PerformanceTester[_0x5677ac(0xeb)](EVENTS['SDK_ACCESSIBILITY_CONFIG']);}catch(_0x5bfe48){PerformanceTester[_0x5677ac(0xeb)](EVENTS[_0x5677ac(0xcb)],![],_0x5bfe48[_0x5677ac(0xd1)]),logger[_0x5677ac(0xd5)](_0x5677ac(0xbd)+(_0x5bfe48[_0x5677ac(0xf4)]||_0x5bfe48['message']));}}['getGoogleChromeOptions'](){const _0x19d663=a72_0x51ae02;return this[_0x19d663(0xda)][_0x19d663(0xc7)](_0x463c65=>_0x463c65[_0x19d663(0xa8)]()===_0x19d663(0xdb))?.[_0x19d663(0xbc)]()||'';}async[a72_0x51ae02(0xbb)](_0x864a8e,_0x4c7bb6){const _0x24862e=a72_0x51ae02,_0x9583d5=_0x864a8e['getAccessibility']()['getOptions'](),_0x57055e=_0x9583d5['getScriptsList'](),_0x257479=_0x9583d5[_0x24862e(0xa7)]()?.[_0x24862e(0xa9)]();scripts['parseFromProto'](_0x57055e,_0x257479),scripts['toJson']();const _0x10e45d=_0x9583d5[_0x24862e(0xf0)]();this[_0x24862e(0xda)]=_0x9583d5[_0x24862e(0xf0)](),await this[_0x24862e(0xea)](_0x10e45d,_0x4c7bb6[_0x24862e(0xb8)]);}async[a72_0x51ae02(0xea)](_0x28a75d,_0x5de916={}){const _0x87ef5c=a72_0x51ae02,_0x3ad177={};_0x3ad177[_0x87ef5c(0xad)]=function(_0x312bb4,_0x5bef66){return _0x312bb4===_0x5bef66;},_0x3ad177['XbxBE']='accessibilityToken',_0x3ad177[_0x87ef5c(0xac)]=_0x87ef5c(0xc8),_0x3ad177[_0x87ef5c(0xa2)]=_0x87ef5c(0xf8),_0x3ad177[_0x87ef5c(0xf7)]=_0x87ef5c(0xa3),_0x3ad177[_0x87ef5c(0xe6)]=function(_0xd4ad6a,_0x18ecdc){return _0xd4ad6a===_0x18ecdc;},_0x3ad177[_0x87ef5c(0xf2)]=_0x87ef5c(0xf3),_0x3ad177[_0x87ef5c(0xaf)]='browserstack.accessibilityOptions.scannerVersion',_0x3ad177[_0x87ef5c(0xd4)]=_0x87ef5c(0xd0),_0x3ad177[_0x87ef5c(0xbe)]=_0x87ef5c(0xb1);const _0x238f06=_0x3ad177;for(const _0x7f8f60 of _0x28a75d){logger['info']('name:\x20'+_0x7f8f60[_0x87ef5c(0xa8)]()+_0x87ef5c(0xdc)+_0x7f8f60['getValue']());if(_0x238f06[_0x87ef5c(0xad)](_0x7f8f60[_0x87ef5c(0xa8)](),_0x238f06[_0x87ef5c(0xb6)]))process[_0x87ef5c(0xf5)][_0x87ef5c(0xb3)]=_0x7f8f60[_0x87ef5c(0xbc)](),_0x5de916[_0x238f06[_0x87ef5c(0xac)]]=_0x7f8f60['getValue']();else{if(_0x238f06[_0x87ef5c(0xad)](_0x7f8f60[_0x87ef5c(0xa8)](),_0x238f06[_0x87ef5c(0xa2)]))_0x5de916[_0x238f06[_0x87ef5c(0xf7)]]=_0x7f8f60[_0x87ef5c(0xbc)]();else{if(_0x238f06['qCCiA'](_0x7f8f60[_0x87ef5c(0xa8)](),_0x238f06[_0x87ef5c(0xf2)]))_0x5de916[_0x238f06[_0x87ef5c(0xaf)]]=_0x7f8f60[_0x87ef5c(0xbc)]();else _0x238f06[_0x87ef5c(0xad)](_0x7f8f60[_0x87ef5c(0xa8)](),_0x238f06[_0x87ef5c(0xd4)])&&(_0x5de916[_0x238f06[_0x87ef5c(0xbe)]]=_0x7f8f60[_0x87ef5c(0xbc)]());}}}}[a72_0x51ae02(0xaa)](_0x3b5f1f){const _0x58a736=a72_0x51ae02;logger[_0x58a736(0xc6)](_0x58a736(0xcf)+_0x3b5f1f);}[a72_0x51ae02(0xe3)](_0x396127){const _0x105eb0=a72_0x51ae02;logger[_0x105eb0(0xc6)]('onBeforeExecute:\x20event='+_0x396127);}}function a72_0x2298(_0xba98e3,_0x3ed546){const _0x35b67a=a72_0x35b6();return a72_0x2298=function(_0x2298e0,_0x1de52d){_0x2298e0=_0x2298e0-0xa1;let _0x2b9358=_0x35b67a[_0x2298e0];return _0x2b9358;},a72_0x2298(_0xba98e3,_0x3ed546);};module[a72_0x51ae02(0xe1)]=AccessibilityModule;function a72_0x35b6(){const _0x37f5db=['onBeforeTest','XbxBE','accessibility','launchCaps','3198753ejUuAe','LOG_DISABLED_SHOWN','setAccessibilityConfig','getValue','Error\x20while\x20setting\x20accessibility\x20config:\x20','lpBeP','get','start','bind','getOptions','./baseModule','4ITEZrG','registerObserver','info','find','browserstack.accessibilityOptions.authToken','getAccessibilityConfig','../cliUtils','SDK_ACCESSIBILITY_CONFIG','4102585IJfHar','accessibilityConfig','50xJcfiw','onAfterTest:\x20event=','scannerProcessingTimeout','message','../framework/automationFramework','../../../helpers/performance/performance-tester.js','KDrur','error','BROWSERSTACK_TEST_ACCESSIBILITY_YML','2213240LsGVNL','2531097ukXhgr','MODULE_NAME','capabilities','goog:chromeOptions','\x20value=','PRE','split','729847cAwViS','1619716cbBxNn','exports','../grpcClient','onBeforeExecute','../state/hookState','47558fRUuBB','qCCiA','../state/automationFrameworkState','toObject','../../../helpers/accessibility-automation/scripts','setAccessibilityToken','end','getLogDisabledShown','834ITkghJ','EXECUTE','setLogDisabledShown','getCapabilitiesList','QUIT','JcqVd','scannerVersion','stack','env','getInstance','hyaEj','wcagVersion','name','CREATE','HQmhc','browserstack.accessibilityOptions.wcagVersion','isEnabled','TrackedInstance','getCurrentInstanceName','getCommandsToWrap','getName','getCommandsList','onAfterTest','../../../helpers/classLogger','hJvfW','ftHeD','getAccessibility','umrbM','accessibilityPlatform','browserstack.accessibilityOptions.scannerProcessingTimeout','qHHOk','BS_A11Y_JWT','../../../helpers/performance/constants.js'];a72_0x35b6=function(){return _0x37f5db;};return a72_0x35b6();}
@@ -1 +1 @@
1
- const a73_0x553826=a73_0x4dc2;function a73_0x4dc2(_0x5ce378,_0x108874){const _0x1a222a=a73_0x1a22();return a73_0x4dc2=function(_0x4dc2bc,_0x34c0f9){_0x4dc2bc=_0x4dc2bc-0x6d;let _0x2ddb01=_0x1a222a[_0x4dc2bc];return _0x2ddb01;},a73_0x4dc2(_0x5ce378,_0x108874);}(function(_0x5c6f9b,_0x1f5b28){const _0x361431=a73_0x4dc2,_0x42f2c5=_0x5c6f9b();while(!![]){try{const _0x3ac1c1=parseInt(_0x361431(0x70))/0x1+parseInt(_0x361431(0x77))/0x2*(parseInt(_0x361431(0x79))/0x3)+-parseInt(_0x361431(0x82))/0x4*(parseInt(_0x361431(0x76))/0x5)+-parseInt(_0x361431(0x78))/0x6*(-parseInt(_0x361431(0x85))/0x7)+parseInt(_0x361431(0x86))/0x8+-parseInt(_0x361431(0x7b))/0x9+parseInt(_0x361431(0x88))/0xa;if(_0x3ac1c1===_0x1f5b28)break;else _0x42f2c5['push'](_0x42f2c5['shift']());}catch(_0x2ba39f){_0x42f2c5['push'](_0x42f2c5['shift']());}}}(a73_0x1a22,0x97c7c));const logger=require(a73_0x553826(0x7f))[a73_0x553826(0x71)];function a73_0x1a22(){const _0x149509=['RhBsa','12maZHVv','3|0|4|1|2','sfCfy','10430nltlEj','3334688IZyMNj','name','747470iLoBmA',',\x20platformIndex=','config','4|2|0|1|3','1002853DksvbA','winstonLogger','rFpjq','jWIqO','exports','platformIndex','1953585jqIgKI','2ZxiMRO','2076OlUpND','1728861CZgrXQ','split','7131780rGTKNB','configure','\x20with\x20binSessionId=','binSessionId','../../../helpers/logger.js','getModuleName'];a73_0x1a22=function(){return _0x149509;};return a73_0x1a22();}class BaseModule{constructor(){const _0x2ff686=a73_0x553826,_0x1e3747={};_0x1e3747[_0x2ff686(0x72)]=_0x2ff686(0x83),_0x1e3747[_0x2ff686(0x81)]='BaseModule';const _0x38f29d=_0x1e3747,_0x3a0a9b=_0x38f29d[_0x2ff686(0x72)][_0x2ff686(0x7a)]('|');let _0x338cee=0x0;while(!![]){switch(_0x3a0a9b[_0x338cee++]){case'0':this[_0x2ff686(0x7e)]=null;continue;case'1':this[_0x2ff686(0x6e)]={};continue;case'2':this['client']=null;continue;case'3':this[_0x2ff686(0x87)]=_0x38f29d['RhBsa'];continue;case'4':this[_0x2ff686(0x75)]=0x0;continue;}break;}}['ensureBinSession'](){const _0x5dbfdf=a73_0x553826,_0x2e4d95={};_0x2e4d95[_0x5dbfdf(0x73)]='Missing\x20binSessionId';const _0x57db71=_0x2e4d95;if(!this[_0x5dbfdf(0x7e)])throw new Error(_0x57db71[_0x5dbfdf(0x73)]);}[a73_0x553826(0x80)](){return this['name'];}[a73_0x553826(0x7c)](_0x30b852,_0x219d2c,_0x1c1f93,_0x369df9={}){const _0x5d9670=a73_0x553826,_0x31c1fe={};_0x31c1fe[_0x5d9670(0x84)]=_0x5d9670(0x6f);const _0x407c1d=_0x31c1fe,_0x42f749=_0x407c1d[_0x5d9670(0x84)][_0x5d9670(0x7a)]('|');let _0x54e1b0=0x0;while(!![]){switch(_0x42f749[_0x54e1b0++]){case'0':this['client']=_0x1c1f93;continue;case'1':this[_0x5d9670(0x6e)]=_0x369df9;continue;case'2':this[_0x5d9670(0x75)]=_0x219d2c;continue;case'3':logger['debug']('Configured\x20module\x20'+this[_0x5d9670(0x80)]()+_0x5d9670(0x7d)+_0x30b852+_0x5d9670(0x6d)+_0x219d2c);continue;case'4':this[_0x5d9670(0x7e)]=_0x30b852;continue;}break;}}}module[a73_0x553826(0x74)]=BaseModule;
1
+ const a73_0x5dd7c2=a73_0x31ba;(function(_0xf17aa5,_0x1e2e05){const _0x5bac33=a73_0x31ba,_0x2a740e=_0xf17aa5();while(!![]){try{const _0x4112db=-parseInt(_0x5bac33(0x1ce))/0x1+-parseInt(_0x5bac33(0x1d4))/0x2+-parseInt(_0x5bac33(0x1e0))/0x3*(parseInt(_0x5bac33(0x1e1))/0x4)+parseInt(_0x5bac33(0x1df))/0x5*(-parseInt(_0x5bac33(0x1cf))/0x6)+parseInt(_0x5bac33(0x1d8))/0x7*(parseInt(_0x5bac33(0x1de))/0x8)+parseInt(_0x5bac33(0x1c9))/0x9+parseInt(_0x5bac33(0x1d2))/0xa*(parseInt(_0x5bac33(0x1db))/0xb);if(_0x4112db===_0x1e2e05)break;else _0x2a740e['push'](_0x2a740e['shift']());}catch(_0x13add0){_0x2a740e['push'](_0x2a740e['shift']());}}}(a73_0x4c7a,0x45fc9));function a73_0x31ba(_0x3b2f32,_0x12763c){const _0x4c7ab8=a73_0x4c7a();return a73_0x31ba=function(_0x31bafe,_0x48c082){_0x31bafe=_0x31bafe-0x1c9;let _0x27c209=_0x4c7ab8[_0x31bafe];return _0x27c209;},a73_0x31ba(_0x3b2f32,_0x12763c);}const logger=require(a73_0x5dd7c2(0x1cb))[a73_0x5dd7c2(0x1e6)];function a73_0x4c7a(){const _0x4fb59b=['Configured\x20module\x20','377384qwbXPo','VjFZZ','binSessionId','split','7zxHfNN','client','YILel','35827uyZgOy','VeERu','\x20with\x20binSessionId=','3057256XJZjLE','5eZfwgl','18XwgctO','257444cDSMpk','1|3|0|4|2','Missing\x20binSessionId','configure','getModuleName','winstonLogger','BaseModule','3817368yxCbKq',',\x20platformIndex=','../../../helpers/logger.js','name','pdaJe','85647aZxMjM','2691936VRhDWb','config','platformIndex','1810QradRf'];a73_0x4c7a=function(){return _0x4fb59b;};return a73_0x4c7a();}class BaseModule{constructor(){const _0x35dcf0=a73_0x5dd7c2,_0xc2c89a={};_0xc2c89a[_0x35dcf0(0x1cd)]='0|4|2|1|3',_0xc2c89a[_0x35dcf0(0x1da)]=_0x35dcf0(0x1e7);const _0x56b1ed=_0xc2c89a,_0x485963=_0x56b1ed['pdaJe']['split']('|');let _0x4798d7=0x0;while(!![]){switch(_0x485963[_0x4798d7++]){case'0':this[_0x35dcf0(0x1cc)]=_0x56b1ed['YILel'];continue;case'1':this['config']={};continue;case'2':this['platformIndex']=0x0;continue;case'3':this[_0x35dcf0(0x1d9)]=null;continue;case'4':this[_0x35dcf0(0x1d6)]=null;continue;}break;}}['ensureBinSession'](){const _0x8483b8=a73_0x5dd7c2,_0x5ece51={};_0x5ece51[_0x8483b8(0x1dc)]=_0x8483b8(0x1e3);const _0x2b3b07=_0x5ece51;if(!this[_0x8483b8(0x1d6)])throw new Error(_0x2b3b07[_0x8483b8(0x1dc)]);}[a73_0x5dd7c2(0x1e5)](){const _0x22956d=a73_0x5dd7c2;return this[_0x22956d(0x1cc)];}[a73_0x5dd7c2(0x1e4)](_0x5f37a9,_0x12a77f,_0x32c05b,_0x3beaf7={}){const _0x51926f=a73_0x5dd7c2,_0xa9dbf2={};_0xa9dbf2[_0x51926f(0x1d5)]=_0x51926f(0x1e2);const _0x3f7c4f=_0xa9dbf2,_0x15eac5=_0x3f7c4f[_0x51926f(0x1d5)][_0x51926f(0x1d7)]('|');let _0x530e4b=0x0;while(!![]){switch(_0x15eac5[_0x530e4b++]){case'0':this[_0x51926f(0x1d9)]=_0x32c05b;continue;case'1':this['binSessionId']=_0x5f37a9;continue;case'2':logger['debug'](_0x51926f(0x1d3)+this[_0x51926f(0x1e5)]()+_0x51926f(0x1dd)+_0x5f37a9+_0x51926f(0x1ca)+_0x12a77f);continue;case'3':this[_0x51926f(0x1d1)]=_0x12a77f;continue;case'4':this[_0x51926f(0x1d0)]=_0x3beaf7;continue;}break;}}}module['exports']=BaseModule;
@@ -1 +1 @@
1
- const a74_0x4d5616=a74_0x2fa8;(function(_0x3d4d95,_0x6845b0){const _0x28eabf=a74_0x2fa8,_0x42e508=_0x3d4d95();while(!![]){try{const _0xbbe6eb=parseInt(_0x28eabf(0x90))/0x1*(parseInt(_0x28eabf(0x7f))/0x2)+parseInt(_0x28eabf(0x7a))/0x3*(parseInt(_0x28eabf(0x7c))/0x4)+parseInt(_0x28eabf(0x95))/0x5+-parseInt(_0x28eabf(0x8e))/0x6+-parseInt(_0x28eabf(0x93))/0x7*(-parseInt(_0x28eabf(0x86))/0x8)+parseInt(_0x28eabf(0x88))/0x9+-parseInt(_0x28eabf(0x92))/0xa;if(_0xbbe6eb===_0x6845b0)break;else _0x42e508['push'](_0x42e508['shift']());}catch(_0x55bd39){_0x42e508['push'](_0x42e508['shift']());}}}(a74_0x5d68,0x846cd));function a74_0x5d68(){const _0x32ed6c=['dmesX','1628874qIMoer','ppXZa','info','end','logger','SYNC','5642700bSaydt','getModuleName','275ihRmtP','../../../helpers/classLogger.js','14336690wONbWl','5727939RYMMLx','exports','3529850rrYQkr','ObservabilityModule','../../../helpers/helper.js','name','qkdXz','onBeforeTest','OhnRV','fWSdI','start','bind','../../../helpers/performance/constants.js','3scFlJs','./baseModule','3409696dCXjZS','registerObserver','MODULE_NAME','2610jtkQOU','POST','observabilityConfig','debug','../framework/automationFramework.js','page','ObservabilitySync:','8pDgLTA'];a74_0x5d68=function(){return _0x32ed6c;};return a74_0x5d68();}function a74_0x2fa8(_0x598452,_0x1ca94d){const _0x5d6803=a74_0x5d68();return a74_0x2fa8=function(_0x2fa822,_0x3904a7){_0x2fa822=_0x2fa822-0x72;let _0x220df0=_0x5d6803[_0x2fa822];return _0x220df0;},a74_0x2fa8(_0x598452,_0x1ca94d);}const BaseModule=require(a74_0x4d5616(0x7b)),{createClassLogger}=require(a74_0x4d5616(0x91)),AutomationFramework=require(a74_0x4d5616(0x83)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require('../state/hookState.js'),{playwrightAnnotate}=require(a74_0x4d5616(0x97)),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),{O11y_EVENTS}=require(a74_0x4d5616(0x79));class ObservabilityModule extends BaseModule{[a74_0x4d5616(0x8c)]=createClassLogger(a74_0x4d5616(0x96));constructor(_0x201eb6){const _0xc52aea=a74_0x4d5616,_0x218fad={};_0x218fad[_0xc52aea(0x89)]=_0xc52aea(0x96);const _0x22f5c3=_0x218fad;super(),this[_0xc52aea(0x72)]=_0x22f5c3[_0xc52aea(0x89)],this[_0xc52aea(0x81)]=_0x201eb6,AutomationFramework[_0xc52aea(0x7d)](AutomationFrameworkState['CREATE'],HookState[_0xc52aea(0x80)],this[_0xc52aea(0x74)][_0xc52aea(0x78)](this));}[a74_0x4d5616(0x8f)](){const _0x563bc2=a74_0x4d5616;return ObservabilityModule[_0x563bc2(0x7e)];}async[a74_0x4d5616(0x74)](_0x36a058){const _0xa7d811=a74_0x4d5616,_0x44f8d9={'dmesX':function(_0x1bf554,_0x3b514e){return _0x1bf554+_0x3b514e;},'WEUTy':_0xa7d811(0x85),'OhnRV':function(_0x4691a0,_0x740642,_0x40879e,_0xce46d6){return _0x4691a0(_0x740642,_0x40879e,_0xce46d6);},'fWSdI':_0xa7d811(0x82),'qkdXz':'onBeforeTest:\x20Observability\x20sync\x20done','ZtTSJ':'onBeforeTest:\x20page\x20is\x20not\x20defined'};if(_0x36a058['page']){const _0x10ccde=_0x36a058[_0xa7d811(0x84)],_0x2baf79=Date['now'](),_0x25d227=_0x44f8d9[_0xa7d811(0x87)](_0x44f8d9['WEUTy'],_0x2baf79);PerformanceTester[_0xa7d811(0x77)](O11y_EVENTS[_0xa7d811(0x8d)]),await _0x44f8d9[_0xa7d811(0x75)](playwrightAnnotate,_0x10ccde,_0x25d227,_0x44f8d9[_0xa7d811(0x76)]),PerformanceTester[_0xa7d811(0x8b)](O11y_EVENTS['SYNC']),this[_0xa7d811(0x8c)][_0xa7d811(0x8a)](_0x44f8d9[_0xa7d811(0x73)]);}else this[_0xa7d811(0x8c)][_0xa7d811(0x82)](_0x44f8d9['ZtTSJ']);}}ObservabilityModule['MODULE_NAME']='ObservabilityModule',module[a74_0x4d5616(0x94)]=ObservabilityModule;
1
+ function a74_0x1b24(_0x555047,_0xfca31){const _0x2437d4=a74_0x2437();return a74_0x1b24=function(_0x1b24f8,_0x1fd7c6){_0x1b24f8=_0x1b24f8-0x118;let _0x780b90=_0x2437d4[_0x1b24f8];return _0x780b90;},a74_0x1b24(_0x555047,_0xfca31);}const a74_0x420110=a74_0x1b24;(function(_0x12bf99,_0x324333){const _0x17f451=a74_0x1b24,_0x358d07=_0x12bf99();while(!![]){try{const _0x5c02ef=-parseInt(_0x17f451(0x131))/0x1+-parseInt(_0x17f451(0x133))/0x2+-parseInt(_0x17f451(0x121))/0x3+-parseInt(_0x17f451(0x126))/0x4*(parseInt(_0x17f451(0x124))/0x5)+parseInt(_0x17f451(0x123))/0x6*(parseInt(_0x17f451(0x140))/0x7)+parseInt(_0x17f451(0x141))/0x8+parseInt(_0x17f451(0x128))/0x9;if(_0x5c02ef===_0x324333)break;else _0x358d07['push'](_0x358d07['shift']());}catch(_0x188bb9){_0x358d07['push'](_0x358d07['shift']());}}}(a74_0x2437,0x211e7));function a74_0x2437(){const _0x2e4850=['44jvUmlC','onBeforeTest:\x20Observability\x20sync\x20done','2411946vASVSh','registerObserver','MODULE_NAME','xKhzl','../state/automationFrameworkState.js','now','onBeforeTest:\x20page\x20is\x20not\x20defined','GNMer','../../../helpers/helper.js','119834QzfrQk','page','39594rJExAO','../../../helpers/performance/constants.js','rwuxO','SYNC','CREATE','logger','./baseModule','ObservabilityModule','start','ObservabilitySync:','POST','info','AYTLa','980567qLYrXE','159552xgsuKw','../../../helpers/performance/performance-tester.js','../framework/automationFramework.js','HQJSB','onBeforeTest','observabilityConfig','csXnC','name','../../../helpers/classLogger.js','bind','268911WJMdeR','EDySy','6XMznsY','28680MhEdYm','debug'];a74_0x2437=function(){return _0x2e4850;};return a74_0x2437();}const BaseModule=require(a74_0x420110(0x139)),{createClassLogger}=require(a74_0x420110(0x11f)),AutomationFramework=require(a74_0x420110(0x119)),AutomationFrameworkState=require(a74_0x420110(0x12c)),HookState=require('../state/hookState.js'),{playwrightAnnotate}=require(a74_0x420110(0x130)),PerformanceTester=require(a74_0x420110(0x118)),{O11y_EVENTS}=require(a74_0x420110(0x134));class ObservabilityModule extends BaseModule{[a74_0x420110(0x138)]=createClassLogger('ObservabilityModule');constructor(_0x30faf3){const _0x99c6dc=a74_0x420110,_0x21a8f7={};_0x21a8f7['AYTLa']=_0x99c6dc(0x13a);const _0x3f3a89=_0x21a8f7;super(),this[_0x99c6dc(0x11e)]=_0x3f3a89[_0x99c6dc(0x13f)],this[_0x99c6dc(0x11c)]=_0x30faf3,AutomationFramework[_0x99c6dc(0x129)](AutomationFrameworkState[_0x99c6dc(0x137)],HookState[_0x99c6dc(0x13d)],this[_0x99c6dc(0x11b)][_0x99c6dc(0x120)](this));}['getModuleName'](){const _0x3bd0d7=a74_0x420110;return ObservabilityModule[_0x3bd0d7(0x12a)];}async[a74_0x420110(0x11b)](_0x29599e){const _0x5f4404=a74_0x420110,_0x163f7b={'EDySy':function(_0x29a3ab,_0xbee3a){return _0x29a3ab+_0xbee3a;},'xKhzl':_0x5f4404(0x13c),'csXnC':function(_0x249b2a,_0x53a7c4,_0x329479,_0x542790){return _0x249b2a(_0x53a7c4,_0x329479,_0x542790);},'GNMer':_0x5f4404(0x125),'HQJSB':_0x5f4404(0x127),'rwuxO':_0x5f4404(0x12e)};if(_0x29599e['page']){const _0x2e7455=_0x29599e[_0x5f4404(0x132)],_0x1a5f29=Date[_0x5f4404(0x12d)](),_0x5bc820=_0x163f7b[_0x5f4404(0x122)](_0x163f7b[_0x5f4404(0x12b)],_0x1a5f29);PerformanceTester[_0x5f4404(0x13b)](O11y_EVENTS[_0x5f4404(0x136)]),await _0x163f7b[_0x5f4404(0x11d)](playwrightAnnotate,_0x2e7455,_0x5bc820,_0x163f7b[_0x5f4404(0x12f)]),PerformanceTester['end'](O11y_EVENTS['SYNC']),this[_0x5f4404(0x138)][_0x5f4404(0x13e)](_0x163f7b[_0x5f4404(0x11a)]);}else this[_0x5f4404(0x138)][_0x5f4404(0x125)](_0x163f7b[_0x5f4404(0x135)]);}}ObservabilityModule[a74_0x420110(0x12a)]=a74_0x420110(0x13a),module['exports']=ObservabilityModule;
@@ -1 +1 @@
1
- const a75_0x2684b3=a75_0x489c;(function(_0x86429a,_0x480cd2){const _0x3ac60f=a75_0x489c,_0x13db26=_0x86429a();while(!![]){try{const _0x38ec16=parseInt(_0x3ac60f(0x162))/0x1+parseInt(_0x3ac60f(0x170))/0x2*(parseInt(_0x3ac60f(0x155))/0x3)+-parseInt(_0x3ac60f(0x141))/0x4+-parseInt(_0x3ac60f(0x121))/0x5+parseInt(_0x3ac60f(0x106))/0x6+-parseInt(_0x3ac60f(0x111))/0x7+-parseInt(_0x3ac60f(0x115))/0x8*(-parseInt(_0x3ac60f(0x113))/0x9);if(_0x38ec16===_0x480cd2)break;else _0x13db26['push'](_0x13db26['shift']());}catch(_0x51f007){_0x13db26['push'](_0x13db26['shift']());}}}(a75_0x27de,0x608b7));const util=require('util'),BaseModule=require('./baseModule'),{createClassLogger}=require('../../../helpers/classLogger.js'),{getFrameworkVersion}=require(a75_0x2684b3(0x197)),{FRAMEWORKS}=require(a75_0x2684b3(0x10c)),AutomationFramework=require(a75_0x2684b3(0xfd)),AutomationFrameworkState=require(a75_0x2684b3(0x161)),HookState=require(a75_0x2684b3(0x139)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName}=require(a75_0x2684b3(0x189)),CLIUtils=require(a75_0x2684b3(0x130)),BrowserstackCLI=require('../browserstackCLI.js'),GrpcClient=require(a75_0x2684b3(0x132)),PerformanceTester=require(a75_0x2684b3(0x137)),PerformanceEvents=require(a75_0x2684b3(0x13d))[a75_0x2684b3(0x188)],TestInfo=require('../TestInfo.js'),{getPlaywrightProvider}=require(a75_0x2684b3(0x189)),TestFrameworkConstants=require(a75_0x2684b3(0x169)),TestFrameworkState=require(a75_0x2684b3(0x123));function a75_0x489c(_0x5e3ee6,_0xe268a6){const _0x27de2e=a75_0x27de();return a75_0x489c=function(_0x489c25,_0x4a0c80){_0x489c25=_0x489c25-0xf5;let _0x5c8886=_0x27de2e[_0x489c25];return _0x5c8886;},a75_0x489c(_0x5e3ee6,_0xe268a6);}function a75_0x27de(){const _0x533b54=['testFrameworkState','JHXUp','toString','parse','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','contextObject','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','pageObject','workerInfo','AUTOMATE_EVENTS','../../../helpers/helper.js','setSessionName','EEoFs','shouldSkipSessionName','__workerDetails','QCEQn','passed','owKGG','getConfig','info','KSUSJ','onDispatchExecute:\x20Playwright\x20sessionId:\x20','HWWio','KEY_HUB_URL','../../../helpers/test-observability/utils','getInstance','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','testUuid','wIkHq','bsParams','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','SESSION_STATUS','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','../framework/automationFramework.js','onAfterDriverCreate:\x20Setting\x20page\x20object','browser','CREATE','TEST','aFMRZ','onAfterDriverCreate:\x20Setting\x20browser\x20object','stringify','ESrUJ','2682744PEjzzT','getProcessId','arguments','format','TySWs','markSessionStatus','../../utils/constants','testInfo','KEY_PLATFORM_DETAILS','bXKqh','SESSION_NAME','697431IjTzUX','KEY_CONTEXT_OBJECT','1239957lAHBnx','Error\x20in\x20onBeforeDriverCreate:\x20','40WRtwtb','POST','JcjTn','McFam','getTestDetails','KEY_TEST_FRAMEWORK_NAME','VBkQy','markSessionName','UTOaQ','nLiBY','platformIndex','status','3894260HXXzPQ','exports','../state/testFrameworkState','capabilities','message','paQqt','context','base64','KEY_CAPABILITIES','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','instance','MODULE_NAME','onBeforeDriverCreate','hubUrl','qtPWO','../cliUtils.js','testId','../grpcClient.js','KEY_BROWSER_OBJECT','logger','browserName','BbQRP','../../../helpers/performance/performance-tester.js','bind','../state/hookState.js','sessionId','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','EXECUTE','../../../helpers/performance/constants.js','Playwright','getTestUUID','browserVersion','3119408VWLBqW','wwAqV','testFrameworkName','Automation\x20onAfterTest:\x20Test\x20completed','registerObserver','testSessionEvent','Error\x20in\x20onAfterDriverCreate:\x20','aEXlP','Session','Error\x20in\x20markSessionName:\x20','markSessionStatus:\x20Marking\x20session\x20status','_test','executionContext','getRef','with\x20','OXGha','error','getThreadId','Error\x20in\x20onDispatchExecute:\x20','diEMf','435pgVpWD','7|3|9|5|1|4|6|2|10|8|0','AQLIH','setState','PLAYWRIGHT','debug','PBAwe','PlaywrightDriverModule','getModuleName','KEY_TEST_ID','\x20||\x20','Aefcf','../state/automationFrameworkState.js','192940ytcTVt','onPlaywrightDispatch','KEY_PAGE_OBJECT','split','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','end','gTQpG','../framework/constants/testFrameworkConstants.js','UjKMh','reason','page','getState','automationSession','testFrameworkVersion','9998gUodBu','ixEvq','onAfterTest','KEY_PLATFORM_INDEX','from','inspect','markSessionName:\x20Skipping\x20session\x20name\x20marking','KEY_SESSION_ID','params','getContext','platformDetails','Automation\x20onAfterTest:\x20Setting\x20session\x20status\x20for\x20testId:\x20','FkCaF','lxCSS','IPNRg'];a75_0x27de=function(){return _0x533b54;};return a75_0x27de();}class PlaywrightDriverModule extends BaseModule{static ['KEY_BROWSER_OBJECT']='browserObject';static [a75_0x2684b3(0x112)]=a75_0x2684b3(0x184);static [a75_0x2684b3(0x164)]=a75_0x2684b3(0x186);static ['KEY_SESSION_ID']=a75_0x2684b3(0x13a);static [a75_0x2684b3(0x173)]=a75_0x2684b3(0x11f);static [a75_0x2684b3(0x129)]=a75_0x2684b3(0x124);static [a75_0x2684b3(0x196)]=a75_0x2684b3(0x12e);static [a75_0x2684b3(0x10e)]='platformDetails';static [a75_0x2684b3(0x15e)]=a75_0x2684b3(0x131);[a75_0x2684b3(0x134)]=createClassLogger('PlaywrightDriverModule');constructor(){const _0x428805=a75_0x2684b3,_0x2873e9={};_0x2873e9[_0x428805(0x180)]=_0x428805(0x156),_0x2873e9[_0x428805(0x17c)]=_0x428805(0x15c);const _0x146acb=_0x2873e9,_0x37ea92=_0x146acb[_0x428805(0x180)][_0x428805(0x165)]('|');let _0x39c7e4=0x0;while(!![]){switch(_0x37ea92[_0x39c7e4++]){case'0':AutomationFramework[_0x428805(0x145)](AutomationFrameworkState[_0x428805(0x13c)],HookState[_0x428805(0x116)],this['onAfterTest']['bind'](this));continue;case'1':this[_0x428805(0x140)]=null;continue;case'2':AutomationFramework['registerObserver'](AutomationFrameworkState['CREATE'],HookState['PRE'],this[_0x428805(0x12d)][_0x428805(0x138)](this));continue;case'3':this['name']=_0x146acb[_0x428805(0x17c)];continue;case'4':this['platforms']=[];continue;case'5':this[_0x428805(0x135)]=null;continue;case'6':this['testRunId']=null;continue;case'7':super();continue;case'8':AutomationFramework[_0x428805(0x145)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x428805(0x116)],this[_0x428805(0x163)][_0x428805(0x138)](this));continue;case'9':this['playwrightVersion']=null;continue;case'10':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x428805(0x100)],HookState[_0x428805(0x116)],this['onAfterDriverCreate'][_0x428805(0x138)](this));continue;}break;}}[a75_0x2684b3(0x15d)](){return PlaywrightDriverModule['MODULE_NAME'];}async['onBeforeDriverCreate'](_0x345f3a){const _0x54671c=a75_0x2684b3,_0x5947b9={};_0x5947b9[_0x54671c(0x11b)]=_0x54671c(0x12a);const _0x47d0d0=_0x5947b9;try{this[_0x54671c(0x134)]['debug'](_0x47d0d0[_0x54671c(0x11b)]);const _0x251330=_0x345f3a['launchcaps'],_0x1b97be=_0x345f3a[_0x54671c(0x12e)];AutomationFramework[_0x54671c(0x158)](_0x345f3a[_0x54671c(0x12b)],PlaywrightDriverModule[_0x54671c(0x129)],_0x251330),AutomationFramework[_0x54671c(0x158)](_0x345f3a[_0x54671c(0x12b)],PlaywrightDriverModule[_0x54671c(0x196)],_0x1b97be);}catch(_0x2a6d29){this[_0x54671c(0x134)][_0x54671c(0x151)](_0x54671c(0x114)+util[_0x54671c(0x109)](_0x2a6d29));}}async['onPlaywrightDispatch'](_0x1b2321){const _0x130e5d=a75_0x2684b3,_0x41503b={};_0x41503b['ixEvq']=function(_0x1f6f95,_0x1d9622){return _0x1f6f95||_0x1d9622;};const _0x57be63=_0x41503b;try{const _0x303e25=_0x1b2321?.[_0x130e5d(0x125)]&&_0x1b2321?.['message']?.[_0x130e5d(0x178)]&&_0x1b2321?.[_0x130e5d(0x125)]?.[_0x130e5d(0x178)]?.[_0x130e5d(0xf9)],_0x171d78=_0x1b2321?.[_0x130e5d(0x125)]&&_0x1b2321?.[_0x130e5d(0x125)]?.['bStackParams'];if(_0x57be63[_0x130e5d(0x171)](_0x303e25,_0x171d78)){this[_0x130e5d(0x134)][_0x130e5d(0x15a)](_0x130e5d(0xfc)+util[_0x130e5d(0x175)](_0x303e25)+_0x130e5d(0x15f)+util[_0x130e5d(0x175)](_0x171d78));const _0x1182a5=_0x1b2321?.[_0x130e5d(0x12b)],_0x433d39=_0x303e25?.[_0x130e5d(0x13a)]||_0x171d78?.[_0x130e5d(0x13a)],_0x56352e=_0x303e25?.[_0x130e5d(0x17a)]||_0x171d78?.['platformDetails'];_0x433d39&&(this['logger'][_0x130e5d(0x15a)](_0x130e5d(0x194)+_0x433d39),AutomationFramework[_0x130e5d(0x158)](_0x1182a5,PlaywrightDriverModule[_0x130e5d(0x177)],_0x433d39)),_0x56352e&&(this[_0x130e5d(0x134)]['debug']('onDispatchExecute:\x20Playwright\x20platform\x20details:\x20'+util[_0x130e5d(0x175)](_0x56352e)),AutomationFramework[_0x130e5d(0x158)](_0x1182a5,PlaywrightDriverModule[_0x130e5d(0x173)],_0x56352e));}}catch(_0xbd4542){this[_0x130e5d(0x134)][_0x130e5d(0x151)](_0x130e5d(0x153)+util['format'](_0xbd4542));}}async['onAfterDriverCreate'](_0x3523d5){const _0x555353=a75_0x2684b3,_0x15744a={'UTOaQ':_0x555353(0x185),'LwXpg':function(_0x114f42,_0x344264){return _0x114f42(_0x344264);},'EEoFs':_0x555353(0xfe),'aTlmQ':_0x555353(0x13b),'mNENo':'onAfterDriverCreate:\x20Setting\x20context\x20object','AQLIH':_0x555353(0x103),'UjKMh':_0x555353(0x128)};try{this[_0x555353(0x134)][_0x555353(0x15a)](_0x15744a[_0x555353(0x11d)]);const _0x2e5601=_0x3523d5[_0x555353(0x12b)];this['playwrightVersion']=_0x15744a['LwXpg'](getFrameworkVersion,FRAMEWORKS[_0x555353(0x159)]);if(_0x3523d5['page']){this[_0x555353(0x134)][_0x555353(0x15a)](_0x15744a[_0x555353(0x18b)]),AutomationFramework['setState'](_0x2e5601,PlaywrightDriverModule[_0x555353(0x164)],_0x3523d5[_0x555353(0x16c)]);if(_0x3523d5[_0x555353(0x10d)]){this[_0x555353(0x134)][_0x555353(0x15a)](_0x15744a['aTlmQ']);const _0x4b8faf=_0x3523d5[_0x555353(0x10d)]?.[_0x555353(0x14c)]?.['id']||_0x3523d5['testInfo']?.[_0x555353(0x131)];AutomationFramework[_0x555353(0x158)](_0x2e5601,PlaywrightDriverModule['KEY_TEST_ID'],_0x4b8faf),await this[_0x555353(0x11c)](_0x3523d5[_0x555353(0x10d)]);}}_0x3523d5['context']&&(this[_0x555353(0x134)][_0x555353(0x15a)](_0x15744a['mNENo']),AutomationFramework['setState'](_0x2e5601,PlaywrightDriverModule['KEY_CONTEXT_OBJECT'],_0x3523d5[_0x555353(0x127)]));if(_0x3523d5[_0x555353(0xff)]){this[_0x555353(0x134)][_0x555353(0x15a)](_0x15744a[_0x555353(0x157)]);const _0x311a0a=global[_0x555353(0x18d)][_0x555353(0x187)]['parallelIndex'];AutomationFramework[_0x555353(0x158)](_0x2e5601,PlaywrightDriverModule[_0x555353(0x133)],_0x3523d5[_0x555353(0xff)]),AutomationFramework[_0x555353(0x158)](_0x2e5601,PlaywrightDriverModule['KEY_PLATFORM_INDEX'],_0x311a0a);const _0x6be883={};_0x6be883['isPlaywright']=!![];const _0x4bc187=Buffer[_0x555353(0x174)](JSON[_0x555353(0x104)](_0x6be883)['toString'](_0x15744a[_0x555353(0x16a)])),_0x260680=await GrpcClient[_0x555353(0xf5)]()['driverInit']({'platformIndex':_0x311a0a,'ref':_0x2e5601[_0x555353(0x14e)](),'userInputParams':_0x4bc187});AutomationFramework['setState'](_0x2e5601,PlaywrightDriverModule[_0x555353(0x129)],JSON[_0x555353(0x182)](Buffer[_0x555353(0x174)](_0x260680['getCapabilities'](),_0x15744a[_0x555353(0x16a)])['toString']()));}}catch(_0x90d002){this[_0x555353(0x134)][_0x555353(0x151)](_0x555353(0x147)+util[_0x555353(0x109)](_0x90d002));}}async[a75_0x2684b3(0x172)](_0x5bda63){const _0x583f25=a75_0x2684b3,_0x14e5de={'HWWio':_0x583f25(0x144),'gTQpG':'Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','diEMf':function(_0x31d4c3,_0x460605){return _0x31d4c3(_0x460605);},'Aefcf':function(_0x308728,_0x5433ca,_0x986c4e){return _0x308728(_0x5433ca,_0x986c4e);},'YJzPt':'error','OXGha':'message','nLiBY':function(_0x2be791,_0x3f2423){return _0x2be791+_0x3f2423;},'PBAwe':'testId:\x20','SdRKQ':'testData\x20from\x20onAfterTest:\x20','aFMRZ':_0x583f25(0x13e),'cIIiR':'1.52.999','owKGG':function(_0x485cf1,_0x561e6e){return _0x485cf1(_0x561e6e);},'CacdL':'1.51.0','qtPWO':'base64','RYJUs':_0x583f25(0x183)};this[_0x583f25(0x134)][_0x583f25(0x15a)](_0x14e5de[_0x583f25(0x195)]);const _0x5f1a84=_0x5bda63[_0x583f25(0x12b)];if(!_0x5f1a84){this[_0x583f25(0x134)][_0x583f25(0x15a)](_0x14e5de[_0x583f25(0x168)]);return;}const _0x5ea789=_0x5bda63[_0x583f25(0x10d)],_0x4c3eb5=_0x5ea789['id']||_0x5bda63[_0x583f25(0x10d)]?.['_test']?.['id']||_0x5bda63[_0x583f25(0x10d)]?.[_0x583f25(0x131)],_0x5224de=_0x5ea789[_0x583f25(0x120)],_0x3e3044=_0x14e5de[_0x583f25(0x154)](getPlaywrightStatus,_0x5224de),_0x1db983=_0x14e5de[_0x583f25(0x154)](getPlaywrightSessionName,_0x5ea789),_0x28e150=_0x14e5de[_0x583f25(0x160)](nestedKeyValue,_0x5224de,[_0x14e5de['YJzPt'],_0x14e5de[_0x583f25(0x150)]]);this['logger'][_0x583f25(0x15a)]('Automation\x20onAfterTest:\x20Test\x20status:\x20'+_0x3e3044);const _0x5e6d29=TestInfo[_0x583f25(0x13f)](_0x4c3eb5),_0x21bfc3=TestInfo[_0x583f25(0x119)](_0x4c3eb5);this[_0x583f25(0x134)][_0x583f25(0x192)](_0x14e5de['nLiBY'](_0x14e5de[_0x583f25(0x15b)],_0x4c3eb5)),this[_0x583f25(0x134)]['info'](_0x14e5de[_0x583f25(0x11e)](_0x14e5de['SdRKQ'],util[_0x583f25(0x175)](_0x21bfc3)));const _0x4edf8c=AutomationFramework[_0x583f25(0x16d)](_0x5f1a84,PlaywrightDriverModule[_0x583f25(0x173)])||0x0,_0x4d372b=_0x21bfc3[TestFrameworkConstants[_0x583f25(0x11a)]]||_0x14e5de[_0x583f25(0x102)],_0x40118f=_0x21bfc3[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]||_0x14e5de['cIIiR'],_0xc37554=TestFrameworkState[_0x583f25(0x101)][_0x583f25(0x181)]()['split']('.')[0x1],_0x4c3136=HookState['POST'][_0x583f25(0x181)]()[_0x583f25(0x165)]('.')[0x1],_0x4fb13d=_0x5f1a84[_0x583f25(0x179)](),_0x120711=AutomationFramework[_0x583f25(0x16d)](_0x5f1a84,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x165580={'provider':_0x14e5de[_0x583f25(0x190)](getPlaywrightProvider,_0x120711),'frameworkName':_0x14e5de[_0x583f25(0x102)],'frameworkVersion':_0x14e5de['CacdL'],'frameworkSessionId':AutomationFramework[_0x583f25(0x16d)](_0x5f1a84,PlaywrightDriverModule[_0x583f25(0x177)],''),'ref':_0x5f1a84[_0x583f25(0x14e)](),'hubUrl':_0x120711};let _0x409e34=AutomationFramework[_0x583f25(0x16d)](_0x5f1a84,PlaywrightDriverModule[_0x583f25(0x129)],{});_0x409e34=Buffer[_0x583f25(0x174)](JSON[_0x583f25(0x104)](_0x409e34))['toString'](_0x14e5de[_0x583f25(0x12f)]);const _0x370156={'hash':_0x4fb13d['getId'](),'threadId':_0x4fb13d[_0x583f25(0x152)]()['toString'](),'processId':_0x4fb13d[_0x583f25(0x107)]()[_0x583f25(0x181)]()},_0x997ea3={};_0x997ea3[_0x583f25(0x11f)]=_0x4edf8c,_0x997ea3[_0x583f25(0x143)]=_0x4d372b,_0x997ea3[_0x583f25(0x16f)]=_0x40118f,_0x997ea3[_0x583f25(0x17f)]=_0xc37554,_0x997ea3['testHookState']=_0x4c3136,_0x997ea3[_0x583f25(0xf7)]=_0x5e6d29,_0x997ea3[_0x583f25(0x16e)]=_0x165580,_0x997ea3[_0x583f25(0x124)]=_0x409e34,_0x997ea3[_0x583f25(0x14d)]=_0x370156;const _0x559410=_0x997ea3;this[_0x583f25(0x134)][_0x583f25(0x15a)]('onAfterTest\x20CBTSession\x20payload:\x20'+util['format'](_0x559410)),GrpcClient[_0x583f25(0xf5)]()[_0x583f25(0x146)](_0x559410),this[_0x583f25(0x134)][_0x583f25(0x15a)](_0x583f25(0xfa)+_0x4c3eb5);if(!_0x3e3044){this[_0x583f25(0x134)][_0x583f25(0x15a)](_0x14e5de['RYJUs'],_0x5224de[_0x583f25(0x120)]);return;}this[_0x583f25(0x134)][_0x583f25(0x15a)](_0x583f25(0x17b)+_0x4c3eb5),await this[_0x583f25(0x10b)](_0x5f1a84,_0x1db983,_0x3e3044,_0x28e150);}async['markSessionStatus'](_0x5cbeca,_0x2097d6,_0x1419f3,_0x155de7){const _0x4c93ac=a75_0x2684b3,_0x45883a={'IPNRg':_0x4c93ac(0xf6),'wwAqV':'markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','BbQRP':_0x4c93ac(0x166),'bXKqh':'Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','McFam':_0x4c93ac(0x16b),'lxCSS':_0x4c93ac(0x149),'paQqt':function(_0x2f875d,_0xa13e44){return _0x2f875d===_0xa13e44;},'ESrUJ':_0x4c93ac(0x18f),'QnGjT':'info','aEXlP':_0x4c93ac(0x151),'anWIh':function(_0x568e1e,_0x58aa26,_0x3abf86,_0x469db0){return _0x568e1e(_0x58aa26,_0x3abf86,_0x469db0);},'QCEQn':'setSessionStatus','KSUSJ':_0x4c93ac(0x14b),'wIkHq':function(_0x432ed8,_0x335832,_0x27bee2){return _0x432ed8(_0x335832,_0x27bee2);}};if(CLIUtils['shouldSkipSessionStatus'](BrowserstackCLI['getInstance']()[_0x4c93ac(0x191)]())){this['logger'][_0x4c93ac(0x15a)](_0x45883a[_0x4c93ac(0x17e)]);return;}const _0x4fc953=_0x5cbeca;if(!_0x4fc953){this[_0x4c93ac(0x134)][_0x4c93ac(0x15a)](_0x45883a[_0x4c93ac(0x142)]);return;}const _0x1ec465=AutomationFramework[_0x4c93ac(0x16d)](_0x4fc953,PlaywrightDriverModule[_0x4c93ac(0x164)]);if(!_0x1ec465){this[_0x4c93ac(0x134)][_0x4c93ac(0x15a)](_0x45883a[_0x4c93ac(0x136)]);return;}const _0x5314e8=_0x1419f3;if(!_0x5314e8){this[_0x4c93ac(0x134)][_0x4c93ac(0x15a)](_0x45883a[_0x4c93ac(0x10f)],_0x5314e8);return;}_0x155de7&&(_0xf0474b[_0x4c93ac(0x108)][_0x45883a[_0x4c93ac(0x118)]]=_0x155de7);const _0x4b5d2d=(_0x2097d6?_0x2097d6:_0x45883a[_0x4c93ac(0x17d)])+'\x20'+_0x5314e8+'\x20'+(_0x155de7?_0x4c93ac(0x14f)+_0x155de7:''),_0x792ac9=_0x45883a[_0x4c93ac(0x126)](_0x5314e8,_0x45883a[_0x4c93ac(0x105)])?_0x45883a['QnGjT']:_0x45883a[_0x4c93ac(0x148)];await _0x45883a['anWIh'](playwrightAnnotate,_0x1ec465,_0x4b5d2d,_0x792ac9);const _0x450f59={};_0x450f59['status']=_0x5314e8;const _0x13b2db={};_0x13b2db['action']=_0x45883a[_0x4c93ac(0x18e)],_0x13b2db[_0x4c93ac(0x108)]=_0x450f59;const _0xf0474b=_0x13b2db;PerformanceTester['start'](PerformanceEvents[_0x4c93ac(0xfb)]),this[_0x4c93ac(0x134)][_0x4c93ac(0x15a)](_0x45883a[_0x4c93ac(0x193)]),await _0x45883a[_0x4c93ac(0xf8)](playwrightBstackJsExecutor,_0x1ec465,_0xf0474b),PerformanceTester[_0x4c93ac(0x167)](PerformanceEvents[_0x4c93ac(0xfb)]);}async[a75_0x2684b3(0x11c)](_0x3d0a90){const _0x390d5a=a75_0x2684b3,_0x50d344={'SazmB':_0x390d5a(0x176),'VIfQA':_0x390d5a(0x18a),'JcjTn':function(_0x2d59b5,_0x2f8cb4){return _0x2d59b5(_0x2f8cb4);},'TySWs':function(_0x55b755,_0x11a832,_0x4adc78){return _0x55b755(_0x11a832,_0x4adc78);}};try{if(CLIUtils[_0x390d5a(0x18c)](BrowserstackCLI['getInstance']()[_0x390d5a(0x191)]())){this[_0x390d5a(0x134)]['debug'](_0x50d344['SazmB']);return;}const _0x44d519=AutomationFramework[_0x390d5a(0x16d)](AutomationFramework['getTrackedInstance'](),PlaywrightDriverModule[_0x390d5a(0x164)]),_0x1f3a8a={'action':_0x50d344['VIfQA'],'arguments':{'name':_0x50d344[_0x390d5a(0x117)](getPlaywrightSessionName,_0x3d0a90)}};PerformanceTester['start'](PerformanceEvents[_0x390d5a(0x110)]),await _0x50d344[_0x390d5a(0x10a)](playwrightBstackJsExecutor,_0x44d519,_0x1f3a8a),PerformanceTester['end'](PerformanceEvents['SESSION_NAME']);}catch(_0x11ffc5){PerformanceTester['end'](PerformanceEvents[_0x390d5a(0x110)],![],util['format'](_0x11ffc5)),this[_0x390d5a(0x134)][_0x390d5a(0x151)](_0x390d5a(0x14a)+util['format'](_0x11ffc5));}}}PlaywrightDriverModule[a75_0x2684b3(0x12c)]='PlaywrightDriverModule',module[a75_0x2684b3(0x122)]=PlaywrightDriverModule;
1
+ const a75_0x25622b=a75_0x5a4e;function a75_0x5a4e(_0x3153e7,_0x4bc62b){const _0x59fde4=a75_0x59fd();return a75_0x5a4e=function(_0x5a4e0b,_0x316d1e){_0x5a4e0b=_0x5a4e0b-0x6c;let _0x9251b8=_0x59fde4[_0x5a4e0b];return _0x9251b8;},a75_0x5a4e(_0x3153e7,_0x4bc62b);}(function(_0x30261a,_0x1fb9b1){const _0x11655e=a75_0x5a4e,_0x1b1077=_0x30261a();while(!![]){try{const _0x4cbf77=parseInt(_0x11655e(0xeb))/0x1+parseInt(_0x11655e(0x74))/0x2*(-parseInt(_0x11655e(0xe7))/0x3)+parseInt(_0x11655e(0x96))/0x4+-parseInt(_0x11655e(0xa8))/0x5+-parseInt(_0x11655e(0x120))/0x6+-parseInt(_0x11655e(0x8b))/0x7*(-parseInt(_0x11655e(0xbc))/0x8)+parseInt(_0x11655e(0x88))/0x9*(parseInt(_0x11655e(0x9c))/0xa);if(_0x4cbf77===_0x1fb9b1)break;else _0x1b1077['push'](_0x1b1077['shift']());}catch(_0x342298){_0x1b1077['push'](_0x1b1077['shift']());}}}(a75_0x59fd,0x38058));const util=require('util'),BaseModule=require(a75_0x25622b(0x7f)),{createClassLogger}=require('../../../helpers/classLogger.js'),{getFrameworkVersion}=require(a75_0x25622b(0x80)),helper=require('../../../helpers/helper'),{FRAMEWORKS}=require(a75_0x25622b(0xa7)),AutomationFramework=require(a75_0x25622b(0xf0)),AutomationFrameworkState=require(a75_0x25622b(0x110)),HookState=require('../state/hookState.js'),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName}=require('../../../helpers/helper.js'),CLIUtils=require(a75_0x25622b(0xc1)),BrowserstackCLI=require(a75_0x25622b(0x11e)),GrpcClient=require(a75_0x25622b(0x9d)),PerformanceTester=require(a75_0x25622b(0xfd)),PerformanceEvents=require(a75_0x25622b(0xa0))[a75_0x25622b(0x9f)],TestInfo=require('../TestInfo.js'),{getPlaywrightProvider}=require(a75_0x25622b(0x77)),TestFrameworkConstants=require(a75_0x25622b(0xef)),TestFrameworkState=require(a75_0x25622b(0xc4));function a75_0x59fd(){const _0x4b60d2=['stringify','platformIndex','16667znKshl','QBHWC','onBeforeDriverCreate','onAfterTest\x20CBTSession\x20payload:\x20','CREATE','Error\x20in\x20onDispatchExecute:\x20','KEY_SESSION_ID','getThreadId','info','yvrCv','markSessionStatus:\x20Marking\x20session\x20status','301268cIqzgx','1.51.0','AqOKK','browserName','Automation\x20onAfterTest:\x20Test\x20status:\x20','parallelIndex','6859830bpyyDW','../grpcClient.js','logger','AUTOMATE_EVENTS','../../../helpers/performance/constants.js','tpkcl','QumxB','driverInit','testInfo','_test','debug','../../utils/constants','1750775XkNWny','format','registerObserver','capabilities','getInstance','KRBqs','EXECUTE','end','Automation\x20onAfterTest:\x20Test\x20completed','onAfterTest','onAfterDriverCreate','launchcaps','KEY_CAPABILITIES','status','testUuid','context','PRE','KEY_HUB_URL','ZCnoD','testId','1088CVFgQE','HHCpV','inspect','markSessionName:\x20Skipping\x20session\x20name\x20marking','hkRpM','../cliUtils.js','bsParams','PLAYWRIGHT','../state/testFrameworkState','workerInfo','with\x20','setSessionStatus','KEY_CONTEXT_OBJECT','POST','isPlaywright','TuFjp','Automation\x20onAfterTest:\x20Setting\x20session\x20status\x20for\x20testId:\x20','onAfterDriverCreate:\x20Setting\x20context\x20object','KEY_TEST_FRAMEWORK_VERSION','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','browserObject','testFrameworkState','KEY_TEST_FRAMEWORK_NAME','RzLRX','executionContext','RPkpI','Otvjj','zQYlY','pageObject','markSessionStatus','aTmOE','contextObject','SESSION_NAME','testFrameworkVersion','dPmSE','XMEdO','AyLeK','getRef','UJcEy','shouldSkipSessionName','action','PlaywrightDriverModule','TUKLC','32931WQfwGe','testRunId','base64','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','254878tHWwjH','\x20||\x20','split','sessionId','../framework/constants/testFrameworkConstants.js','../framework/automationFramework.js','vFmAa','lLXvv','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','onDispatchExecute:\x20Playwright\x20platform\x20details:\x20','setSessionName','QHRIF','getState','passed','SPYfr','name','Playwright','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','../../../helpers/performance/performance-tester.js','arguments','TEST','__workerDetails','playwrightVersion','markSessionName','HuXNZ','testFrameworkName','gfZqH','exports','page','message','WMwNX','oOdsT','HGCVI','instance','testId:\x20','lMvSR','KEY_TEST_ID','../state/automationFrameworkState.js','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','KEY_BROWSER_OBJECT','reason','automationSession','sqNAf','parse','Puppu','testSessionEvent','testHookState','SESSION_STATUS','from','bStackParams','IXbZu','../browserstackCLI.js','MODULE_NAME','1993632AMVWiN','error','KcEWD','kZQon','getId','isFalse','Error\x20in\x20onBeforeDriverCreate:\x20','KEY_PAGE_OBJECT','getConfig','onDispatchExecute:\x20Playwright\x20sessionId:\x20','setState','params','78umptHZ','getContext','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','../../../helpers/helper.js','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','onAfterDriverCreate:\x20Setting\x20browser\x20object','onAfterDriverCreate:\x20Setting\x20page\x20object','start','getTrackedInstance','Session','gmCrG','./baseModule','../../../helpers/test-observability/utils','onPlaywrightDispatch','KEY_PLATFORM_INDEX','platformDetails','toString','3|8|9|7|4|6|2|0|10|5|1','KEY_PLATFORM_DETAILS','bind','9ppFjKy'];a75_0x59fd=function(){return _0x4b60d2;};return a75_0x59fd();}class PlaywrightDriverModule extends BaseModule{static [a75_0x25622b(0x112)]=a75_0x25622b(0xd0);static [a75_0x25622b(0xc8)]=a75_0x25622b(0xdb);static [a75_0x25622b(0x6f)]=a75_0x25622b(0xd8);static [a75_0x25622b(0x91)]='sessionId';static [a75_0x25622b(0x82)]=a75_0x25622b(0x8a);static [a75_0x25622b(0xb4)]=a75_0x25622b(0xab);static [a75_0x25622b(0xb9)]='hubUrl';static [a75_0x25622b(0x86)]=a75_0x25622b(0x83);static [a75_0x25622b(0x10f)]=a75_0x25622b(0xbb);['logger']=createClassLogger(a75_0x25622b(0xe5));constructor(){const _0xd6a8b=a75_0x25622b,_0x32813f={};_0x32813f[_0xd6a8b(0x10e)]=_0xd6a8b(0x85),_0x32813f[_0xd6a8b(0xd5)]=_0xd6a8b(0xe5);const _0x16904f=_0x32813f,_0x165758=_0x16904f[_0xd6a8b(0x10e)]['split']('|');let _0x6bdd06=0x0;while(!![]){switch(_0x165758[_0x6bdd06++]){case'0':AutomationFramework[_0xd6a8b(0xaa)](AutomationFrameworkState[_0xd6a8b(0x8f)],HookState[_0xd6a8b(0xb8)],this[_0xd6a8b(0x8d)][_0xd6a8b(0x87)](this));continue;case'1':AutomationFramework['registerObserver'](AutomationFrameworkState[_0xd6a8b(0xae)],HookState[_0xd6a8b(0xc9)],this[_0xd6a8b(0xb1)][_0xd6a8b(0x87)](this));continue;case'2':this[_0xd6a8b(0xe8)]=null;continue;case'3':super();continue;case'4':this['browserVersion']=null;continue;case'5':AutomationFramework[_0xd6a8b(0xaa)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState['POST'],this[_0xd6a8b(0x81)][_0xd6a8b(0x87)](this));continue;case'6':this['platforms']=[];continue;case'7':this[_0xd6a8b(0x99)]=null;continue;case'8':this[_0xd6a8b(0xfa)]=_0x16904f['RPkpI'];continue;case'9':this[_0xd6a8b(0x101)]=null;continue;case'10':AutomationFramework[_0xd6a8b(0xaa)](AutomationFrameworkState['CREATE'],HookState[_0xd6a8b(0xc9)],this[_0xd6a8b(0xb2)][_0xd6a8b(0x87)](this));continue;}break;}}['getModuleName'](){const _0x3cabb9=a75_0x25622b;return PlaywrightDriverModule[_0x3cabb9(0x11f)];}async[a75_0x25622b(0x8d)](_0x3a9846){const _0x7fb827=a75_0x25622b,_0x215a2c={};_0x215a2c[_0x7fb827(0xd3)]='onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created';const _0x373401=_0x215a2c;try{this[_0x7fb827(0x9e)][_0x7fb827(0xa6)](_0x373401['RzLRX']);const _0x3d35a1=_0x3a9846[_0x7fb827(0xb3)],_0x4e36e2=_0x3a9846['hubUrl'];AutomationFramework[_0x7fb827(0x72)](_0x3a9846[_0x7fb827(0x10c)],PlaywrightDriverModule['KEY_CAPABILITIES'],_0x3d35a1),AutomationFramework[_0x7fb827(0x72)](_0x3a9846[_0x7fb827(0x10c)],PlaywrightDriverModule[_0x7fb827(0xb9)],_0x4e36e2);}catch(_0x12cd15){this[_0x7fb827(0x9e)]['error'](_0x7fb827(0x6e)+util[_0x7fb827(0xa9)](_0x12cd15));}}async['onPlaywrightDispatch'](_0x42d1c8){const _0x51a43e=a75_0x25622b,_0x31762e={};_0x31762e[_0x51a43e(0x7e)]=function(_0x3c5d02,_0xb36fc9){return _0x3c5d02||_0xb36fc9;};const _0x4f4d2e=_0x31762e;try{const _0x17ce59=_0x42d1c8?.['message']&&_0x42d1c8?.[_0x51a43e(0x108)]?.[_0x51a43e(0x73)]&&_0x42d1c8?.[_0x51a43e(0x108)]?.[_0x51a43e(0x73)]?.[_0x51a43e(0xc2)],_0x45e96c=_0x42d1c8?.[_0x51a43e(0x108)]&&_0x42d1c8?.['message']?.[_0x51a43e(0x11c)];if(_0x4f4d2e['gmCrG'](_0x17ce59,_0x45e96c)){this[_0x51a43e(0x9e)][_0x51a43e(0xa6)](_0x51a43e(0x78)+util[_0x51a43e(0xbe)](_0x17ce59)+_0x51a43e(0xec)+util[_0x51a43e(0xbe)](_0x45e96c));const _0x1f4925=_0x42d1c8?.['instance'],_0x3d1d33=_0x17ce59?.[_0x51a43e(0xee)]||_0x45e96c?.['sessionId'],_0x22034d=_0x17ce59?.[_0x51a43e(0x83)]||_0x45e96c?.[_0x51a43e(0x83)];_0x3d1d33&&(this[_0x51a43e(0x9e)]['debug'](_0x51a43e(0x71)+_0x3d1d33),AutomationFramework[_0x51a43e(0x72)](_0x1f4925,PlaywrightDriverModule[_0x51a43e(0x91)],_0x3d1d33)),_0x22034d&&(this['logger'][_0x51a43e(0xa6)](_0x51a43e(0xf4)+util[_0x51a43e(0xbe)](_0x22034d)),AutomationFramework[_0x51a43e(0x72)](_0x1f4925,PlaywrightDriverModule['KEY_PLATFORM_INDEX'],_0x22034d));}}catch(_0x415088){this[_0x51a43e(0x9e)]['error'](_0x51a43e(0x90)+util[_0x51a43e(0xa9)](_0x415088));}}async[a75_0x25622b(0xb2)](_0x37d1b7){const _0x8c3e6f=a75_0x25622b,_0x585631={'QHRIF':'onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','dPmSE':function(_0x13e3e7,_0x5888ac){return _0x13e3e7(_0x5888ac);},'XxPCC':_0x8c3e6f(0x7a),'UJcEy':_0x8c3e6f(0x111),'SPYfr':_0x8c3e6f(0xcd),'QumxB':_0x8c3e6f(0x79),'aTmOE':_0x8c3e6f(0xe9)};try{this[_0x8c3e6f(0x9e)][_0x8c3e6f(0xa6)](_0x585631[_0x8c3e6f(0xf6)]);const _0x1b674c=_0x37d1b7[_0x8c3e6f(0x10c)];this['playwrightVersion']=_0x585631[_0x8c3e6f(0xde)](getFrameworkVersion,FRAMEWORKS[_0x8c3e6f(0xc3)]);if(_0x37d1b7[_0x8c3e6f(0x107)]){this[_0x8c3e6f(0x9e)][_0x8c3e6f(0xa6)](_0x585631['XxPCC']),AutomationFramework[_0x8c3e6f(0x72)](_0x1b674c,PlaywrightDriverModule[_0x8c3e6f(0x6f)],_0x37d1b7[_0x8c3e6f(0x107)]);if(_0x37d1b7['testInfo']){this[_0x8c3e6f(0x9e)][_0x8c3e6f(0xa6)](_0x585631[_0x8c3e6f(0xe2)]);const _0x4a5c23=_0x37d1b7[_0x8c3e6f(0xa4)]?.[_0x8c3e6f(0xa5)]?.['id']||_0x37d1b7[_0x8c3e6f(0xa4)]?.[_0x8c3e6f(0xbb)];AutomationFramework[_0x8c3e6f(0x72)](_0x1b674c,PlaywrightDriverModule['KEY_TEST_ID'],_0x4a5c23),await this['markSessionName'](_0x37d1b7[_0x8c3e6f(0xa4)]);}}_0x37d1b7[_0x8c3e6f(0xb7)]&&(this[_0x8c3e6f(0x9e)][_0x8c3e6f(0xa6)](_0x585631[_0x8c3e6f(0xf9)]),AutomationFramework['setState'](_0x1b674c,PlaywrightDriverModule[_0x8c3e6f(0xc8)],_0x37d1b7[_0x8c3e6f(0xb7)]));if(_0x37d1b7['browser']){this[_0x8c3e6f(0x9e)][_0x8c3e6f(0xa6)](_0x585631[_0x8c3e6f(0xa2)]);const _0x24156d=global[_0x8c3e6f(0x100)][_0x8c3e6f(0xc5)][_0x8c3e6f(0x9b)];AutomationFramework[_0x8c3e6f(0x72)](_0x1b674c,PlaywrightDriverModule[_0x8c3e6f(0x112)],_0x37d1b7['browser']),AutomationFramework['setState'](_0x1b674c,PlaywrightDriverModule[_0x8c3e6f(0x82)],_0x24156d);const _0x1083ec={};_0x1083ec[_0x8c3e6f(0xca)]=!![];const _0x15e055=Buffer[_0x8c3e6f(0x11b)](JSON['stringify'](_0x1083ec)[_0x8c3e6f(0x84)](_0x585631[_0x8c3e6f(0xda)])),_0xebe7f3=await GrpcClient[_0x8c3e6f(0xac)]()[_0x8c3e6f(0xa3)]({'platformIndex':_0x24156d,'ref':_0x1b674c[_0x8c3e6f(0xe1)](),'userInputParams':_0x15e055});helper[_0x8c3e6f(0x6d)](helper['isBrowserstackInfra']())&&AutomationFramework[_0x8c3e6f(0x72)](_0x1b674c,PlaywrightDriverModule[_0x8c3e6f(0xb4)],JSON[_0x8c3e6f(0x116)](Buffer[_0x8c3e6f(0x11b)](_0xebe7f3['getCapabilities'](),_0x585631[_0x8c3e6f(0xda)])['toString']()));}}catch(_0xcab264){this[_0x8c3e6f(0x9e)][_0x8c3e6f(0x121)]('Error\x20in\x20onAfterDriverCreate:\x20'+util[_0x8c3e6f(0xa9)](_0xcab264));}}async[a75_0x25622b(0xb1)](_0x24fc27){const _0x5cbd32=a75_0x25622b,_0x1778fc={'KcEWD':_0x5cbd32(0xb0),'HuXNZ':_0x5cbd32(0xfc),'TuFjp':function(_0x1e70cc,_0x50c3fe){return _0x1e70cc(_0x50c3fe);},'QBHWC':function(_0xc9bce9,_0x2f5741,_0x4ae27a){return _0xc9bce9(_0x2f5741,_0x4ae27a);},'AyLeK':'error','GCVJI':_0x5cbd32(0x108),'WMwNX':function(_0xbf7f45,_0x4ab110){return _0xbf7f45+_0x4ab110;},'IXbZu':_0x5cbd32(0x10d),'HHCpV':'testData\x20from\x20onAfterTest:\x20','oOdsT':_0x5cbd32(0xfb),'awtNz':'1.52.999','ZCnoD':_0x5cbd32(0x97),'Asfbk':_0x5cbd32(0xe9),'SBzEj':_0x5cbd32(0x76)};this[_0x5cbd32(0x9e)][_0x5cbd32(0xa6)](_0x1778fc[_0x5cbd32(0x122)]);const _0x4546cc=_0x24fc27['instance'];if(!_0x4546cc){this[_0x5cbd32(0x9e)][_0x5cbd32(0xa6)](_0x1778fc[_0x5cbd32(0x103)]);return;}const _0x4293b5=_0x24fc27['testInfo'],_0x951cf4=_0x4293b5['id']||_0x24fc27[_0x5cbd32(0xa4)]?.['_test']?.['id']||_0x24fc27[_0x5cbd32(0xa4)]?.[_0x5cbd32(0xbb)],_0x176f53=_0x4293b5[_0x5cbd32(0xb5)],_0xe86014=_0x1778fc[_0x5cbd32(0xcb)](getPlaywrightStatus,_0x176f53),_0x1b50f2=_0x1778fc[_0x5cbd32(0xcb)](getPlaywrightSessionName,_0x4293b5),_0x13a2d9=_0x1778fc[_0x5cbd32(0x8c)](nestedKeyValue,_0x176f53,[_0x1778fc[_0x5cbd32(0xe0)],_0x1778fc['GCVJI']]);this[_0x5cbd32(0x9e)][_0x5cbd32(0xa6)](_0x5cbd32(0x9a)+_0xe86014);const _0x5a1af2=TestInfo['getTestUUID'](_0x951cf4),_0x24d9f1=TestInfo['getTestDetails'](_0x951cf4);this['logger'][_0x5cbd32(0x93)](_0x1778fc[_0x5cbd32(0x109)](_0x1778fc[_0x5cbd32(0x11d)],_0x951cf4)),this[_0x5cbd32(0x9e)][_0x5cbd32(0x93)](_0x1778fc[_0x5cbd32(0x109)](_0x1778fc[_0x5cbd32(0xbd)],util[_0x5cbd32(0xbe)](_0x24d9f1)));const _0x44223e=AutomationFramework[_0x5cbd32(0xf7)](_0x4546cc,PlaywrightDriverModule['KEY_PLATFORM_INDEX'])||0x0,_0xe557a5=_0x24d9f1[TestFrameworkConstants[_0x5cbd32(0xd2)]]||_0x1778fc[_0x5cbd32(0x10a)],_0x239e7c=_0x24d9f1[TestFrameworkConstants[_0x5cbd32(0xce)]]||_0x1778fc['awtNz'],_0x197c17=TestFrameworkState[_0x5cbd32(0xff)][_0x5cbd32(0x84)]()[_0x5cbd32(0xed)]('.')[0x1],_0x4406a8=HookState[_0x5cbd32(0xc9)][_0x5cbd32(0x84)]()[_0x5cbd32(0xed)]('.')[0x1],_0x320623=_0x4546cc[_0x5cbd32(0x75)](),_0x2a462d=AutomationFramework[_0x5cbd32(0xf7)](_0x4546cc,PlaywrightDriverModule[_0x5cbd32(0xb9)],''),_0x266304={'provider':_0x1778fc[_0x5cbd32(0xcb)](getPlaywrightProvider,_0x2a462d),'frameworkName':_0x1778fc['oOdsT'],'frameworkVersion':_0x1778fc[_0x5cbd32(0xba)],'frameworkSessionId':AutomationFramework['getState'](_0x4546cc,PlaywrightDriverModule['KEY_SESSION_ID'],''),'ref':_0x4546cc[_0x5cbd32(0xe1)](),'hubUrl':_0x2a462d};let _0x197d88=AutomationFramework['getState'](_0x4546cc,PlaywrightDriverModule[_0x5cbd32(0xb4)],{});_0x197d88=Buffer[_0x5cbd32(0x11b)](JSON[_0x5cbd32(0x89)](_0x197d88))[_0x5cbd32(0x84)](_0x1778fc['Asfbk']);const _0x2a3126={'hash':_0x320623[_0x5cbd32(0x6c)](),'threadId':_0x320623[_0x5cbd32(0x92)]()[_0x5cbd32(0x84)](),'processId':_0x320623['getProcessId']()[_0x5cbd32(0x84)]()},_0x30023e={};_0x30023e[_0x5cbd32(0x8a)]=_0x44223e,_0x30023e[_0x5cbd32(0x104)]=_0xe557a5,_0x30023e[_0x5cbd32(0xdd)]=_0x239e7c,_0x30023e[_0x5cbd32(0xd1)]=_0x197c17,_0x30023e[_0x5cbd32(0x119)]=_0x4406a8,_0x30023e[_0x5cbd32(0xb6)]=_0x5a1af2,_0x30023e[_0x5cbd32(0x114)]=_0x266304,_0x30023e['capabilities']=_0x197d88,_0x30023e[_0x5cbd32(0xd4)]=_0x2a3126;const _0x5d1414=_0x30023e;this[_0x5cbd32(0x9e)]['debug'](_0x5cbd32(0x8e)+util[_0x5cbd32(0xa9)](_0x5d1414)),GrpcClient[_0x5cbd32(0xac)]()[_0x5cbd32(0x118)](_0x5d1414),this[_0x5cbd32(0x9e)][_0x5cbd32(0xa6)]('onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20'+_0x951cf4);if(!_0xe86014){this[_0x5cbd32(0x9e)][_0x5cbd32(0xa6)](_0x1778fc['SBzEj'],_0x176f53['status']);return;}this[_0x5cbd32(0x9e)][_0x5cbd32(0xa6)](_0x5cbd32(0xcc)+_0x951cf4),await this[_0x5cbd32(0xd9)](_0x4546cc,_0x1b50f2,_0xe86014,_0x13a2d9);}async[a75_0x25622b(0xd9)](_0x2d976c,_0xc73608,_0x5902ed,_0x21b775){const _0x4280db=a75_0x25622b,_0x3c47f5={'AqOKK':_0x4280db(0xf3),'sqNAf':_0x4280db(0xea),'hkRpM':_0x4280db(0xcf),'kZQon':_0x4280db(0x76),'vFmAa':_0x4280db(0x113),'Otvjj':_0x4280db(0x7d),'lLXvv':function(_0x2bf7d1,_0x4dee88){return _0x2bf7d1===_0x4dee88;},'gfZqH':_0x4280db(0xf8),'CfzEc':_0x4280db(0x93),'yvrCv':_0x4280db(0x121),'zQYlY':function(_0x458e64,_0x5ac2c8,_0x2bf4db,_0x3f2e67){return _0x458e64(_0x5ac2c8,_0x2bf4db,_0x3f2e67);},'ifjLS':_0x4280db(0xc7),'Puppu':_0x4280db(0x95),'TUKLC':function(_0x450f70,_0x2f958a,_0xd39a0f){return _0x450f70(_0x2f958a,_0xd39a0f);}};if(CLIUtils['shouldSkipSessionStatus'](BrowserstackCLI[_0x4280db(0xac)]()[_0x4280db(0x70)]())){this['logger'][_0x4280db(0xa6)](_0x3c47f5[_0x4280db(0x98)]);return;}const _0x47f309=_0x2d976c;if(!_0x47f309){this['logger'][_0x4280db(0xa6)](_0x3c47f5[_0x4280db(0x115)]);return;}const _0x2517de=AutomationFramework['getState'](_0x47f309,PlaywrightDriverModule[_0x4280db(0x6f)]);if(!_0x2517de){this[_0x4280db(0x9e)][_0x4280db(0xa6)](_0x3c47f5[_0x4280db(0xc0)]);return;}const _0x4ddd2b=_0x5902ed;if(!_0x4ddd2b){this[_0x4280db(0x9e)][_0x4280db(0xa6)](_0x3c47f5[_0x4280db(0x123)],_0x4ddd2b);return;}_0x21b775&&(_0x38c011[_0x4280db(0xfe)][_0x3c47f5[_0x4280db(0xf1)]]=_0x21b775);const _0x3d9f35=(_0xc73608?_0xc73608:_0x3c47f5[_0x4280db(0xd6)])+'\x20'+_0x4ddd2b+'\x20'+(_0x21b775?_0x4280db(0xc6)+_0x21b775:''),_0x1edcd7=_0x3c47f5[_0x4280db(0xf2)](_0x4ddd2b,_0x3c47f5[_0x4280db(0x105)])?_0x3c47f5['CfzEc']:_0x3c47f5[_0x4280db(0x94)];await _0x3c47f5[_0x4280db(0xd7)](playwrightAnnotate,_0x2517de,_0x3d9f35,_0x1edcd7);const _0x5def12={};_0x5def12[_0x4280db(0xb5)]=_0x4ddd2b;const _0x129aff={};_0x129aff[_0x4280db(0xe4)]=_0x3c47f5['ifjLS'],_0x129aff[_0x4280db(0xfe)]=_0x5def12;const _0x38c011=_0x129aff;PerformanceTester['start'](PerformanceEvents['SESSION_STATUS']),this[_0x4280db(0x9e)]['debug'](_0x3c47f5[_0x4280db(0x117)]),await _0x3c47f5[_0x4280db(0xe6)](playwrightBstackJsExecutor,_0x2517de,_0x38c011),PerformanceTester[_0x4280db(0xaf)](PerformanceEvents[_0x4280db(0x11a)]);}async[a75_0x25622b(0x102)](_0x42e5e0){const _0x3c77cf=a75_0x25622b,_0x29a2d2={'KRBqs':_0x3c77cf(0xbf),'XMEdO':_0x3c77cf(0xf5),'tpkcl':function(_0x57656a,_0x5210bb){return _0x57656a(_0x5210bb);},'HGCVI':function(_0x24e4df,_0x14da4d,_0xcb7b2f){return _0x24e4df(_0x14da4d,_0xcb7b2f);}};try{if(CLIUtils[_0x3c77cf(0xe3)](BrowserstackCLI[_0x3c77cf(0xac)]()['getConfig']())){this[_0x3c77cf(0x9e)][_0x3c77cf(0xa6)](_0x29a2d2[_0x3c77cf(0xad)]);return;}const _0x5f32c2=AutomationFramework['getState'](AutomationFramework[_0x3c77cf(0x7c)](),PlaywrightDriverModule['KEY_PAGE_OBJECT']),_0x13486d={'action':_0x29a2d2[_0x3c77cf(0xdf)],'arguments':{'name':_0x29a2d2[_0x3c77cf(0xa1)](getPlaywrightSessionName,_0x42e5e0)}};PerformanceTester[_0x3c77cf(0x7b)](PerformanceEvents[_0x3c77cf(0xdc)]),await _0x29a2d2[_0x3c77cf(0x10b)](playwrightBstackJsExecutor,_0x5f32c2,_0x13486d),PerformanceTester[_0x3c77cf(0xaf)](PerformanceEvents['SESSION_NAME']);}catch(_0x439076){PerformanceTester[_0x3c77cf(0xaf)](PerformanceEvents[_0x3c77cf(0xdc)],![],util[_0x3c77cf(0xa9)](_0x439076)),this[_0x3c77cf(0x9e)][_0x3c77cf(0x121)]('Error\x20in\x20markSessionName:\x20'+util['format'](_0x439076));}}}PlaywrightDriverModule[a75_0x25622b(0x11f)]=a75_0x25622b(0xe5),module[a75_0x25622b(0x106)]=PlaywrightDriverModule;
@@ -1 +1 @@
1
- const a76_0x7ed2=a76_0x5461;function a76_0xc0bf(){const _0x1fa4da=['env','getBuildHashedId','hookState','forEach','\x20testState:\x20','onAllTestEvents','KEY_TEST_FRAMEWORK_VERSION','BROWSERSTACK_TESTHUB_UUID','KEY_TEST_STARTED_AT','test','1533ozctXl','2040168rtDodv','toString','DKBpi','testSessionEvent','getState','automationSession','../TestInfo.js','MODULE_NAME','testhubConfig','BwlBA','../grpcClient.js','base64','getInstance','__workerDetails','130818pzxdwF','getId','../state/automationFrameworkState.js','2038981BiwIhA','../cliUtils.js','testInfo','onPageCreate','TEST','1212kGkBsr','getCurrentTestState','frameworkName','debug','eventJson','testFrameworkName','sendTestFrameworkEvent\x20testId:\x20','endedAt','APRss','from','3FqgcFp','Error\x20in\x20sendTestFrameworkEvent:\x20','getAllData','sendTestFrameworkEvent\x20complete\x20for\x20testId:\x20','frameworkVersion','getModuleName','test_deferred','testUuid','testFrameworkEvent','40BxuBwY','rdixB','getCurrentHookState','error','63wdEVUm','platformIndex','../../../helpers/testhub/constants','TestHubModule','split','KEY_TEST_FRAMEWORK_NAME','stringify','onPageCreate\x20CBTSession\x20payload:\x20','BROWSERSTACK_TESTHUB_JWT','instance','../state/testFrameworkState.js','getTestUUID','240eiGPMS','642840WvOBaN','logger','KEY_HUB_URL','uuid','ineBg','name','executionContext','values','./playwrightDriverModule.js','ENV_VAR','getRef','getThreadId','page','../../../helpers/classLogger.js','testId','getProcessId','registerObserver','KEY_TEST_DEFERRED','getContext','onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20','matchHookRegex','../state/hookState.js','CREATE','KEY_CAPABILITIES','201926GvFgLT','\x20hookState:\x20','../browserstackCLI.js','parallelIndex','capabilities','util','testHookState','../../../helpers/helper.js','KEY_SESSION_ID','../framework/automationFramework.js','234610tmMkQG','exports'];a76_0xc0bf=function(){return _0x1fa4da;};return a76_0xc0bf();}(function(_0x2a71c3,_0x12c073){const _0x3461a7=a76_0x5461,_0x5c6063=_0x2a71c3();while(!![]){try{const _0x325563=-parseInt(_0x3461a7(0x1dc))/0x1*(parseInt(_0x3461a7(0x1a5))/0x2)+-parseInt(_0x3461a7(0x1bb))/0x3*(parseInt(_0x3461a7(0x1d2))/0x4)+parseInt(_0x3461a7(0x1e5))/0x5*(-parseInt(_0x3461a7(0x1ca))/0x6)+-parseInt(_0x3461a7(0x1cd))/0x7+-parseInt(_0x3461a7(0x1bc))/0x8+parseInt(_0x3461a7(0x1e9))/0x9*(parseInt(_0x3461a7(0x1af))/0xa)+parseInt(_0x3461a7(0x1f6))/0xb*(parseInt(_0x3461a7(0x1f5))/0xc);if(_0x325563===_0x12c073)break;else _0x5c6063['push'](_0x5c6063['shift']());}catch(_0x4996d5){_0x5c6063['push'](_0x5c6063['shift']());}}}(a76_0xc0bf,0x25bd1));const util=require(a76_0x7ed2(0x1aa)),BaseModule=require('./baseModule'),{createClassLogger}=require(a76_0x7ed2(0x19a)),AutomationFramework=require(a76_0x7ed2(0x1ae)),AutomationFrameworkState=require(a76_0x7ed2(0x1cc)),HookState=require(a76_0x7ed2(0x1a2)),TestFramework=require('../framework/testFramework.js'),TestFrameworkState=require(a76_0x7ed2(0x1f3)),PlaywrightDriverModule=require(a76_0x7ed2(0x1fe)),TestFrameworkConstants=require('../framework/constants/testFrameworkConstants.js'),GrpcClient=require(a76_0x7ed2(0x1c6)),CLIUtils=require(a76_0x7ed2(0x1ce)),TestInfo=require(a76_0x7ed2(0x1c2)),testHubConstants=require(a76_0x7ed2(0x1eb)),BrowserstackCLI=require(a76_0x7ed2(0x1a7)),{getPlaywrightProvider}=require(a76_0x7ed2(0x1ac));function a76_0x5461(_0x239efe,_0x17028a){const _0xc0bfad=a76_0xc0bf();return a76_0x5461=function(_0x5461c2,_0x4fe957){_0x5461c2=_0x5461c2-0x197;let _0x32f004=_0xc0bfad[_0x5461c2];return _0x32f004;},a76_0x5461(_0x239efe,_0x17028a);}class TestHubModule extends BaseModule{[a76_0x7ed2(0x1f7)]=createClassLogger(a76_0x7ed2(0x1ec));constructor(_0x5e3361){const _0x7bb734=a76_0x7ed2,_0x595638={};_0x595638[_0x7bb734(0x1da)]='2|6|0|3|4|5|1|7',_0x595638[_0x7bb734(0x1c5)]='TestHubModule';const _0x2e926d=_0x595638,_0x325ac0=_0x2e926d[_0x7bb734(0x1da)][_0x7bb734(0x1ed)]('|');let _0x54c82b=0x0;while(!![]){switch(_0x325ac0[_0x54c82b++]){case'0':this[_0x7bb734(0x1c4)]=_0x5e3361;continue;case'1':process[_0x7bb734(0x1b1)][testHubConstants[_0x7bb734(0x1ff)][_0x7bb734(0x1b8)]]=this[_0x7bb734(0x1c4)][_0x7bb734(0x1b2)]();continue;case'2':super();continue;case'3':AutomationFramework[_0x7bb734(0x19d)](AutomationFrameworkState[_0x7bb734(0x1a3)],HookState['POST'],this[_0x7bb734(0x1d0)]['bind'](this));continue;case'4':Object[_0x7bb734(0x1fd)](TestFrameworkState)[_0x7bb734(0x1b4)](_0x44dee0=>{const _0x404e50=_0x7bb734;Object[_0x404e50(0x1fd)](HookState)['forEach'](_0x30f497=>{const _0x4a1653=_0x404e50;TestFramework['registerObserver'](_0x44dee0,_0x30f497,this[_0x4a1653(0x1b6)]['bind'](this));});});continue;case'5':process[_0x7bb734(0x1b1)][testHubConstants['ENV_VAR'][_0x7bb734(0x1f1)]]=this['testhubConfig']['getJwt']();continue;case'6':this[_0x7bb734(0x1fb)]=_0x2e926d[_0x7bb734(0x1c5)];continue;case'7':BrowserstackCLI['O11yHashedID']=this['testhubConfig'][_0x7bb734(0x1b2)]();continue;}break;}}[a76_0x7ed2(0x1e1)](){const _0x4dace6=a76_0x7ed2;return TestHubModule[_0x4dace6(0x1c3)];}[a76_0x7ed2(0x1b6)](_0x276d51){const _0x1933d7=a76_0x7ed2,_0xcf0fe6={};_0xcf0fe6['ihnva']=function(_0x140d56,_0x27e81b){return _0x140d56===_0x27e81b;};const _0x420af0=_0xcf0fe6,_0x1dcc67=_0x276d51[_0x1933d7(0x1f2)],_0x31caf2=_0x1dcc67['getCurrentTestState']();(_0x420af0['ihnva'](_0x31caf2,TestFrameworkState[_0x1933d7(0x1d1)])||CLIUtils[_0x1933d7(0x1a1)](_0x31caf2[_0x1933d7(0x1bd)]()[_0x1933d7(0x1ed)]('.')[0x1]))&&this['sendTestFrameworkEvent'](_0x276d51);}async['sendTestFrameworkEvent'](_0x131af1){const _0x49247d=a76_0x7ed2,_0xf22f4={};_0xf22f4[_0x49247d(0x1be)]=_0x49247d(0x1c7);const _0x4de0dc=_0xf22f4;try{const _0x113dca=_0x131af1[_0x49247d(0x1ba)]['id'],_0x5ea0b2=_0x131af1[_0x49247d(0x1f2)],_0x4d35be=_0x5ea0b2[_0x49247d(0x19f)](),_0x5656fe=_0x5ea0b2[_0x49247d(0x1de)]()['get'](_0x113dca);this['logger'][_0x49247d(0x1d5)](_0x49247d(0x1d8)+_0x113dca);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x5c0006='',[TestFrameworkConstants[_0x49247d(0x1b7)]]:_0x2332d3='',[TestFrameworkConstants[_0x49247d(0x1b9)]]:_0x2cd5a9='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x4e0673=''}=_0x5656fe,_0x4ab22e=_0x5ea0b2[_0x49247d(0x1d3)]()[_0x49247d(0x1bd)]()[_0x49247d(0x1ed)]('.')[0x1],_0x2222f2=_0x5ea0b2[_0x49247d(0x1e7)]()[_0x49247d(0x1bd)]()[_0x49247d(0x1ed)]('.')[0x1],_0x241a08=global?.[_0x49247d(0x1c9)]?.['workerInfo']?.[_0x49247d(0x1a8)];;const _0x52d2d0=_0x5ea0b2[_0x49247d(0x197)](),_0x8e082e=Buffer[_0x49247d(0x1db)](JSON[_0x49247d(0x1ef)](_0x5656fe))[_0x49247d(0x1bd)](_0x4de0dc['DKBpi']),_0x412e8d={'hash':_0x4d35be[_0x49247d(0x1cb)](),'threadId':_0x4d35be[_0x49247d(0x198)]()[_0x49247d(0x1bd)](),'processId':_0x4d35be['getProcessId']()[_0x49247d(0x1bd)]()},_0x31f414={};_0x31f414[_0x49247d(0x1ea)]=_0x241a08,_0x31f414[_0x49247d(0x1d7)]=_0x5c0006,_0x31f414['testFrameworkVersion']=_0x2332d3,_0x31f414['testFrameworkState']=_0x4ab22e,_0x31f414[_0x49247d(0x1b3)]=_0x2222f2,_0x31f414['startedAt']=_0x2cd5a9,_0x31f414[_0x49247d(0x1d9)]=_0x4e0673,_0x31f414[_0x49247d(0x1f9)]=_0x52d2d0,_0x31f414[_0x49247d(0x1d6)]=_0x8e082e,_0x31f414[_0x49247d(0x1fc)]=_0x412e8d;const _0x5b76de=_0x31f414,_0x4909de=await GrpcClient[_0x49247d(0x1c8)]()[_0x49247d(0x1e4)](_0x5b76de);this[_0x49247d(0x1f7)][_0x49247d(0x1d5)](_0x49247d(0x1df)+_0x113dca+_0x49247d(0x1b5)+_0x4ab22e+_0x49247d(0x1a6)+_0x2222f2);}catch(_0xb98f5a){this[_0x49247d(0x1f7)][_0x49247d(0x1e8)](_0x49247d(0x1dd)+util['format'](_0xb98f5a));}}async[a76_0x7ed2(0x1d0)](_0x55f7b5){const _0x88bd0f=a76_0x7ed2,_0x4c80d5={'rdixB':function(_0x5b1542,_0xb52918){return _0x5b1542(_0xb52918);},'ineBg':_0x88bd0f(0x1c7)};try{if(_0x55f7b5[_0x88bd0f(0x199)]){const _0x3c4277=_0x55f7b5[_0x88bd0f(0x1cf)][_0x88bd0f(0x19b)];this[_0x88bd0f(0x1f7)][_0x88bd0f(0x1d5)](_0x88bd0f(0x1a0)+_0x3c4277);const _0x3180fe=TestInfo[_0x88bd0f(0x1f4)](_0x3c4277),_0x544d29=TestInfo['getTestDetails'](_0x3c4277),_0x2ff675=_0x55f7b5[_0x88bd0f(0x1f2)],_0x2855b1=AutomationFramework['getState'](_0x2ff675,PlaywrightDriverModule['KEY_PLATFORM_INDEX']),_0x2beba6=_0x544d29[TestFrameworkConstants[_0x88bd0f(0x1ee)]],_0x2a1c4c=_0x544d29[TestFrameworkConstants[_0x88bd0f(0x1b7)]],_0x4b2aa2=TestFrameworkState[_0x88bd0f(0x1d1)][_0x88bd0f(0x1bd)]()[_0x88bd0f(0x1ed)]('.')[0x1],_0x339e6b=HookState['POST'][_0x88bd0f(0x1bd)]()['split']('.')[0x1],_0x238043=_0x2ff675['getContext'](),_0x213e59=AutomationFramework['getState'](_0x2ff675,PlaywrightDriverModule[_0x88bd0f(0x1f8)],''),_0x5cfe6e={'provider':_0x4c80d5[_0x88bd0f(0x1e6)](getPlaywrightProvider,_0x213e59),'frameworkName':_0x2ff675[_0x88bd0f(0x1d4)],'frameworkVersion':_0x2ff675[_0x88bd0f(0x1e0)],'frameworkSessionId':AutomationFramework[_0x88bd0f(0x1c0)](_0x2ff675,PlaywrightDriverModule[_0x88bd0f(0x1ad)],''),'ref':_0x2ff675[_0x88bd0f(0x197)](),'hubUrl':_0x213e59};let _0xf070ad=AutomationFramework[_0x88bd0f(0x1c0)](_0x2ff675,PlaywrightDriverModule[_0x88bd0f(0x1a4)],{});_0xf070ad=Buffer[_0x88bd0f(0x1db)](JSON[_0x88bd0f(0x1ef)](_0xf070ad))[_0x88bd0f(0x1bd)](_0x4c80d5[_0x88bd0f(0x1fa)]);const _0x175dd4={'hash':_0x238043['getId'](),'threadId':_0x238043[_0x88bd0f(0x198)]()[_0x88bd0f(0x1bd)](),'processId':_0x238043[_0x88bd0f(0x19c)]()['toString']()},_0x2e6d2f={};_0x2e6d2f[_0x88bd0f(0x1ea)]=_0x2855b1,_0x2e6d2f[_0x88bd0f(0x1d7)]=_0x2beba6,_0x2e6d2f['testFrameworkVersion']=_0x2a1c4c,_0x2e6d2f['testFrameworkState']=_0x4b2aa2,_0x2e6d2f[_0x88bd0f(0x1ab)]=_0x339e6b,_0x2e6d2f[_0x88bd0f(0x1e3)]=_0x3180fe,_0x2e6d2f[_0x88bd0f(0x1c1)]=_0x5cfe6e,_0x2e6d2f[_0x88bd0f(0x1a9)]=_0xf070ad,_0x2e6d2f['executionContext']=_0x175dd4;const _0x2d2cdb=_0x2e6d2f;this[_0x88bd0f(0x1f7)][_0x88bd0f(0x1d5)](_0x88bd0f(0x1f0)+util['format'](_0x2d2cdb));const _0x39604b=await GrpcClient[_0x88bd0f(0x1c8)]()[_0x88bd0f(0x1bf)](_0x2d2cdb);this['logger'][_0x88bd0f(0x1d5)]('onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20'+_0x3c4277);}}catch(_0x4d23b3){this['logger'][_0x88bd0f(0x1e8)]('Error\x20in\x20sending\x20CBTSession:\x20'+util['format'](_0x4d23b3));}}}TestHubModule[a76_0x7ed2(0x1c3)]=a76_0x7ed2(0x1ec),TestHubModule[a76_0x7ed2(0x19e)]=a76_0x7ed2(0x1e2),module[a76_0x7ed2(0x1b0)]=TestHubModule;
1
+ const a76_0x13e219=a76_0x2041;(function(_0xeaf0d4,_0xd2a912){const _0x7dcf06=a76_0x2041,_0x201754=_0xeaf0d4();while(!![]){try{const _0x3ab98d=-parseInt(_0x7dcf06(0xd2))/0x1+parseInt(_0x7dcf06(0x108))/0x2*(-parseInt(_0x7dcf06(0xf9))/0x3)+parseInt(_0x7dcf06(0xb9))/0x4*(-parseInt(_0x7dcf06(0xc6))/0x5)+-parseInt(_0x7dcf06(0x10a))/0x6*(parseInt(_0x7dcf06(0xea))/0x7)+parseInt(_0x7dcf06(0xd1))/0x8*(-parseInt(_0x7dcf06(0xc2))/0x9)+-parseInt(_0x7dcf06(0xd9))/0xa*(-parseInt(_0x7dcf06(0xff))/0xb)+-parseInt(_0x7dcf06(0xfe))/0xc*(-parseInt(_0x7dcf06(0xe9))/0xd);if(_0x3ab98d===_0xd2a912)break;else _0x201754['push'](_0x201754['shift']());}catch(_0x3aabcb){_0x201754['push'](_0x201754['shift']());}}}(a76_0x22c7,0x9c038));const util=require(a76_0x13e219(0xcc)),BaseModule=require('./baseModule'),{createClassLogger}=require(a76_0x13e219(0xf6)),AutomationFramework=require(a76_0x13e219(0xb6)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require(a76_0x13e219(0xb4)),TestFramework=require(a76_0x13e219(0xee)),TestFrameworkState=require(a76_0x13e219(0xbf)),PlaywrightDriverModule=require('./playwrightDriverModule.js'),TestFrameworkConstants=require(a76_0x13e219(0x107)),GrpcClient=require(a76_0x13e219(0xdc)),CLIUtils=require('../cliUtils.js'),TestInfo=require(a76_0x13e219(0xde)),testHubConstants=require(a76_0x13e219(0xda)),BrowserstackCLI=require(a76_0x13e219(0xbd)),{getPlaywrightProvider}=require(a76_0x13e219(0x10d));class TestHubModule extends BaseModule{[a76_0x13e219(0x105)]=createClassLogger(a76_0x13e219(0x113));constructor(_0x4e68fa){const _0x23b429=a76_0x13e219,_0x598678={};_0x598678[_0x23b429(0xd0)]=_0x23b429(0xf1),_0x598678[_0x23b429(0xc8)]=_0x23b429(0x113);const _0x4afaff=_0x598678,_0x477f67=_0x4afaff['RmEhm'][_0x23b429(0xcd)]('|');let _0x3d3f1e=0x0;while(!![]){switch(_0x477f67[_0x3d3f1e++]){case'0':process[_0x23b429(0xb2)][testHubConstants[_0x23b429(0xb5)]['BROWSERSTACK_TESTHUB_UUID']]=this[_0x23b429(0x106)][_0x23b429(0xf4)]();continue;case'1':Object[_0x23b429(0xfd)](TestFrameworkState)['forEach'](_0x54058d=>{const _0x3f09e9=_0x23b429;Object[_0x3f09e9(0xfd)](HookState)[_0x3f09e9(0xba)](_0x525b7d=>{const _0x4820fb=_0x3f09e9;TestFramework[_0x4820fb(0xc3)](_0x54058d,_0x525b7d,this[_0x4820fb(0xf5)][_0x4820fb(0xf8)](this));});});continue;case'2':BrowserstackCLI['O11yHashedID']=this[_0x23b429(0x106)][_0x23b429(0xf4)]();continue;case'3':this[_0x23b429(0x10e)]=_0x4afaff[_0x23b429(0xc8)];continue;case'4':process[_0x23b429(0xb2)][testHubConstants[_0x23b429(0xb5)]['BROWSERSTACK_TESTHUB_JWT']]=this[_0x23b429(0x106)]['getJwt']();continue;case'5':AutomationFramework['registerObserver'](AutomationFrameworkState['CREATE'],HookState['POST'],this[_0x23b429(0xc1)]['bind'](this));continue;case'6':this[_0x23b429(0x106)]=_0x4e68fa;continue;case'7':super();continue;}break;}}[a76_0x13e219(0x101)](){return TestHubModule['MODULE_NAME'];}[a76_0x13e219(0xf5)](_0x39a6e9){const _0x4eff28=a76_0x13e219,_0x3be73a={};_0x3be73a['eBWdt']=function(_0x4baea7,_0x2b6bf5){return _0x4baea7===_0x2b6bf5;};const _0x506805=_0x3be73a,_0x395053=_0x39a6e9[_0x4eff28(0xcf)],_0x1149b8=_0x395053[_0x4eff28(0xd6)]();(_0x506805[_0x4eff28(0xe2)](_0x1149b8,TestFrameworkState[_0x4eff28(0xc4)])||CLIUtils[_0x4eff28(0xeb)](_0x1149b8['toString']()[_0x4eff28(0xcd)]('.')[0x1]))&&this[_0x4eff28(0xdd)](_0x39a6e9);}async[a76_0x13e219(0xdd)](_0x30cfe0){const _0x2f7f62=a76_0x13e219,_0xf4b372={};_0xf4b372[_0x2f7f62(0x110)]=_0x2f7f62(0xe0);const _0x592014=_0xf4b372;try{const _0x5bb76d=_0x30cfe0[_0x2f7f62(0xb3)]['id'],_0x29c4ba=_0x30cfe0['instance'],_0x475f53=_0x29c4ba['getContext'](),_0x3acb48=_0x29c4ba[_0x2f7f62(0xe1)]()[_0x2f7f62(0xe8)](_0x5bb76d);this[_0x2f7f62(0x105)][_0x2f7f62(0xdb)](_0x2f7f62(0xca)+_0x5bb76d);const {[TestFrameworkConstants[_0x2f7f62(0x10c)]]:_0x2e2a0e='',[TestFrameworkConstants[_0x2f7f62(0xc9)]]:_0x482efb='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x426695='',[TestFrameworkConstants[_0x2f7f62(0xaf)]]:_0xcfcfab=''}=_0x3acb48,_0xfea398=_0x29c4ba[_0x2f7f62(0xd6)]()[_0x2f7f62(0xc0)]()['split']('.')[0x1],_0x3039ba=_0x29c4ba['getCurrentHookState']()[_0x2f7f62(0xc0)]()[_0x2f7f62(0xcd)]('.')[0x1],_0x4c3527=global?.[_0x2f7f62(0xd8)]?.['workerInfo']?.[_0x2f7f62(0xae)];;const _0x1ee8e6=_0x29c4ba[_0x2f7f62(0xfb)](),_0x346e27=Buffer[_0x2f7f62(0xf7)](JSON[_0x2f7f62(0xb1)](_0x3acb48))['toString'](_0x592014[_0x2f7f62(0x110)]),_0x28a9fe={'hash':_0x475f53[_0x2f7f62(0x109)](),'threadId':_0x475f53[_0x2f7f62(0xb8)]()[_0x2f7f62(0xc0)](),'processId':_0x475f53['getProcessId']()[_0x2f7f62(0xc0)]()},_0x461921={};_0x461921[_0x2f7f62(0xc5)]=_0x4c3527,_0x461921[_0x2f7f62(0x10f)]=_0x2e2a0e,_0x461921['testFrameworkVersion']=_0x482efb,_0x461921[_0x2f7f62(0xec)]=_0xfea398,_0x461921[_0x2f7f62(0xf2)]=_0x3039ba,_0x461921[_0x2f7f62(0xbb)]=_0x426695,_0x461921['endedAt']=_0xcfcfab,_0x461921[_0x2f7f62(0xed)]=_0x1ee8e6,_0x461921[_0x2f7f62(0xe7)]=_0x346e27,_0x461921[_0x2f7f62(0xf3)]=_0x28a9fe;const _0xa2030d=_0x461921,_0x457227=await GrpcClient['getInstance']()[_0x2f7f62(0xd4)](_0xa2030d);this[_0x2f7f62(0x105)][_0x2f7f62(0xdb)]('sendTestFrameworkEvent\x20complete\x20for\x20testId:\x20'+_0x5bb76d+_0x2f7f62(0xe4)+_0xfea398+_0x2f7f62(0xce)+_0x3039ba);}catch(_0x1c126b){this['logger']['error'](_0x2f7f62(0xcb)+util['format'](_0x1c126b));}}async[a76_0x13e219(0xc1)](_0x52b9c0){const _0x225aaa=a76_0x13e219,_0x2c2245={'iAIRx':function(_0x1a6825,_0x45e1a7){return _0x1a6825(_0x45e1a7);},'KViEx':'base64'};try{if(_0x52b9c0[_0x225aaa(0xc7)]){const _0xbee42c=_0x52b9c0['testInfo']['testId'];this['logger'][_0x225aaa(0xdb)](_0x225aaa(0x10b)+_0xbee42c);const _0x331291=TestInfo['getTestUUID'](_0xbee42c),_0x340c44=TestInfo[_0x225aaa(0xb7)](_0xbee42c),_0x1ba3e9=_0x52b9c0[_0x225aaa(0xcf)],_0x2c1396=AutomationFramework[_0x225aaa(0xf0)](_0x1ba3e9,PlaywrightDriverModule[_0x225aaa(0x100)]),_0x4b5bc1=_0x340c44[TestFrameworkConstants[_0x225aaa(0x10c)]],_0x33a049=_0x340c44[TestFrameworkConstants[_0x225aaa(0xc9)]],_0xfa075a=TestFrameworkState[_0x225aaa(0xc4)][_0x225aaa(0xc0)]()[_0x225aaa(0xcd)]('.')[0x1],_0xf04bfa=HookState[_0x225aaa(0x104)][_0x225aaa(0xc0)]()[_0x225aaa(0xcd)]('.')[0x1],_0x5e20ad=_0x1ba3e9[_0x225aaa(0xfa)](),_0x53b013=AutomationFramework[_0x225aaa(0xf0)](_0x1ba3e9,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x539b24={'provider':_0x2c2245['iAIRx'](getPlaywrightProvider,_0x53b013),'frameworkName':_0x1ba3e9['frameworkName'],'frameworkVersion':_0x1ba3e9['frameworkVersion'],'frameworkSessionId':AutomationFramework['getState'](_0x1ba3e9,PlaywrightDriverModule[_0x225aaa(0xfc)],''),'ref':_0x1ba3e9[_0x225aaa(0xfb)](),'hubUrl':_0x53b013};let _0x37124b=AutomationFramework[_0x225aaa(0xf0)](_0x1ba3e9,PlaywrightDriverModule[_0x225aaa(0xe5)],{});_0x37124b=Buffer[_0x225aaa(0xf7)](JSON['stringify'](_0x37124b))[_0x225aaa(0xc0)](_0x2c2245[_0x225aaa(0xd7)]);const _0x29b6ca={'hash':_0x5e20ad['getId'](),'threadId':_0x5e20ad[_0x225aaa(0xb8)]()[_0x225aaa(0xc0)](),'processId':_0x5e20ad['getProcessId']()[_0x225aaa(0xc0)]()},_0x465d1c={};_0x465d1c[_0x225aaa(0xc5)]=_0x2c1396,_0x465d1c[_0x225aaa(0x10f)]=_0x4b5bc1,_0x465d1c[_0x225aaa(0x102)]=_0x33a049,_0x465d1c[_0x225aaa(0xec)]=_0xfa075a,_0x465d1c['testHookState']=_0xf04bfa,_0x465d1c[_0x225aaa(0xd5)]=_0x331291,_0x465d1c[_0x225aaa(0xbc)]=_0x539b24,_0x465d1c['capabilities']=_0x37124b,_0x465d1c[_0x225aaa(0xf3)]=_0x29b6ca;const _0xab53aa=_0x465d1c;this[_0x225aaa(0x105)][_0x225aaa(0xdb)](_0x225aaa(0x112)+util[_0x225aaa(0xe3)](_0xab53aa));const _0x1827f0=await GrpcClient[_0x225aaa(0xdf)]()[_0x225aaa(0x103)](_0xab53aa);this['logger']['debug'](_0x225aaa(0x111)+_0xbee42c);}}catch(_0x5c20ad){this[_0x225aaa(0x105)][_0x225aaa(0xef)](_0x225aaa(0xbe)+util[_0x225aaa(0xe3)](_0x5c20ad));}}}function a76_0x2041(_0x2fbf53,_0x4430fe){const _0x22c761=a76_0x22c7();return a76_0x2041=function(_0x20417b,_0x495ba4){_0x20417b=_0x20417b-0xae;let _0x32e7ef=_0x22c761[_0x20417b];return _0x32e7ef;},a76_0x2041(_0x2fbf53,_0x4430fe);}TestHubModule[a76_0x13e219(0xb0)]='TestHubModule',TestHubModule['KEY_TEST_DEFERRED']=a76_0x13e219(0xe6),module[a76_0x13e219(0xd3)]=TestHubModule;function a76_0x22c7(){const _0x1adcf0=['env','test','../state/hookState.js','ENV_VAR','../framework/automationFramework.js','getTestDetails','getThreadId','4Jdsazp','forEach','startedAt','automationSession','../browserstackCLI.js','Error\x20in\x20sending\x20CBTSession:\x20','../state/testFrameworkState.js','toString','onPageCreate','2109699GNHzBp','registerObserver','TEST','platformIndex','3055830QRmmcl','page','UGXve','KEY_TEST_FRAMEWORK_VERSION','sendTestFrameworkEvent\x20testId:\x20','Error\x20in\x20sendTestFrameworkEvent:\x20','util','split','\x20hookState:\x20','instance','RmEhm','24xVvcJO','576259rJdKZv','exports','testFrameworkEvent','testUuid','getCurrentTestState','KViEx','__workerDetails','9515020rHIirh','../../../helpers/testhub/constants','debug','../grpcClient.js','sendTestFrameworkEvent','../TestInfo.js','getInstance','base64','getAllData','eBWdt','format','\x20testState:\x20','KEY_CAPABILITIES','test_deferred','eventJson','get','39FEPRyT','7uhSTNU','matchHookRegex','testFrameworkState','uuid','../framework/testFramework.js','error','getState','7|3|6|5|1|4|0|2','hookState','executionContext','getBuildHashedId','onAllTestEvents','../../../helpers/classLogger.js','from','bind','978jQARBh','getContext','getRef','KEY_SESSION_ID','values','10517964nmBBLI','11yudyAX','KEY_PLATFORM_INDEX','getModuleName','testFrameworkVersion','testSessionEvent','POST','logger','testhubConfig','../framework/constants/testFrameworkConstants.js','6302mqiMuj','getId','144462Zlyogw','onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20','KEY_TEST_FRAMEWORK_NAME','../../../helpers/helper.js','name','testFrameworkName','AZacK','onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20','onPageCreate\x20CBTSession\x20payload:\x20','TestHubModule','parallelIndex','KEY_TEST_ENDED_AT','MODULE_NAME','stringify'];a76_0x22c7=function(){return _0x1adcf0;};return a76_0x22c7();}
@@ -1 +1 @@
1
- function a77_0x5a6d(_0x958b40,_0x3afc66){const _0x1f557e=a77_0x1f55();return a77_0x5a6d=function(_0x5a6d08,_0x3f6d76){_0x5a6d08=_0x5a6d08-0x161;let _0xce64c8=_0x1f557e[_0x5a6d08];return _0xce64c8;},a77_0x5a6d(_0x958b40,_0x3afc66);}const a77_0x1090d4=a77_0x5a6d;(function(_0x8fc882,_0xda037a){const _0x3d637c=a77_0x5a6d,_0x249967=_0x8fc882();while(!![]){try{const _0x10ed76=parseInt(_0x3d637c(0x164))/0x1*(-parseInt(_0x3d637c(0x174))/0x2)+-parseInt(_0x3d637c(0x177))/0x3+parseInt(_0x3d637c(0x173))/0x4+parseInt(_0x3d637c(0x165))/0x5+parseInt(_0x3d637c(0x16b))/0x6*(-parseInt(_0x3d637c(0x16f))/0x7)+parseInt(_0x3d637c(0x176))/0x8+-parseInt(_0x3d637c(0x170))/0x9*(parseInt(_0x3d637c(0x162))/0xa);if(_0x10ed76===_0xda037a)break;else _0x249967['push'](_0x249967['shift']());}catch(_0x25e57f){_0x249967['push'](_0x249967['shift']());}}}(a77_0x1f55,0x6edad));const {PLAYWRIGHT}=require(a77_0x1090d4(0x17a)),a77_0x4ebc3b={};a77_0x4ebc3b[a77_0x1090d4(0x161)]=0x0,a77_0x4ebc3b[a77_0x1090d4(0x166)]=function(){const _0x236199=a77_0x1090d4,_0x75620a={};_0x75620a[_0x236199(0x167)]=_0x236199(0x16c);const _0x221f38=_0x75620a;return _0x221f38[_0x236199(0x167)];};const a77_0x3740a9={};function a77_0x1f55(){const _0x301937=['exports','find','117901HdjLCO','9EQNSLX','AutomationFrameworkState.CREATE','JxBIV','2084120zrNiNG','81916PVEmEs','AutomationFrameworkState.PLAYWRIGHT_DISPATCH','4417952LDwBFU','436800lhQprv','AcJTc','twDSZ','../../utils/constants','values','value','9518010XkYFei','freeze','4YNhfJZ','4136465bvDmlq','toString','tyhGF','LPTTO','nmpYs','AutomationFrameworkState.IDLE','66uJZPGU','AutomationFrameworkState.NONE'];a77_0x1f55=function(){return _0x301937;};return a77_0x1f55();}a77_0x3740a9['value']=0x1,a77_0x3740a9[a77_0x1090d4(0x166)]=function(){const _0x32fcf5=a77_0x1090d4,_0x3cd8fd={};_0x3cd8fd['JxBIV']=_0x32fcf5(0x171);const _0x1d4316=_0x3cd8fd;return _0x1d4316[_0x32fcf5(0x172)];};const a77_0x366329={};a77_0x366329[a77_0x1090d4(0x161)]=0x2,a77_0x366329['toString']=function(){const _0x424f67=a77_0x1090d4,_0x34b231={};_0x34b231[_0x424f67(0x169)]=_0x424f67(0x175);const _0x857cc4=_0x34b231;return _0x857cc4[_0x424f67(0x169)];};const a77_0x30b54c={};a77_0x30b54c[a77_0x1090d4(0x161)]=0x3,a77_0x30b54c[a77_0x1090d4(0x166)]=function(){const _0x20d0c4=a77_0x1090d4,_0x46a66b={};_0x46a66b[_0x20d0c4(0x179)]='AutomationFrameworkState.EXECUTE';const _0xd07511=_0x46a66b;return _0xd07511[_0x20d0c4(0x179)];};const a77_0x364f51={};a77_0x364f51[a77_0x1090d4(0x161)]=0x4,a77_0x364f51[a77_0x1090d4(0x166)]=function(){const _0x2eb0d7=a77_0x1090d4,_0x869ea9={};_0x869ea9['AcJTc']=_0x2eb0d7(0x16a);const _0x1dd3af=_0x869ea9;return _0x1dd3af[_0x2eb0d7(0x178)];};const a77_0x155cb3={};a77_0x155cb3[a77_0x1090d4(0x161)]=0x5,a77_0x155cb3['toString']=function(){const _0x401d1e=a77_0x1090d4,_0x18bd59={};_0x18bd59['LPTTO']='AutomationFrameworkState.QUIT';const _0x417c4f=_0x18bd59;return _0x417c4f[_0x401d1e(0x168)];};const AutomationFrameworkState=Object[a77_0x1090d4(0x163)]({'NONE':a77_0x4ebc3b,'CREATE':a77_0x3740a9,'PLAYWRIGHT_DISPATCH':a77_0x366329,'EXECUTE':a77_0x30b54c,'IDLE':a77_0x364f51,'QUIT':a77_0x155cb3,'fromValue'(_0x36ac9e){const _0x44e524=a77_0x1090d4;return Object[_0x44e524(0x17b)](AutomationFrameworkState)[_0x44e524(0x16e)](_0x59f78e=>_0x59f78e[_0x44e524(0x161)]===_0x36ac9e);}});module[a77_0x1090d4(0x16d)]=AutomationFrameworkState;
1
+ const a77_0x27868a=a77_0x56ce;(function(_0x5ecfb6,_0x11235e){const _0x5a13f0=a77_0x56ce,_0x19b44e=_0x5ecfb6();while(!![]){try{const _0x26192d=-parseInt(_0x5a13f0(0x110))/0x1*(-parseInt(_0x5a13f0(0x10a))/0x2)+-parseInt(_0x5a13f0(0x103))/0x3+-parseInt(_0x5a13f0(0xfc))/0x4+parseInt(_0x5a13f0(0xfe))/0x5+parseInt(_0x5a13f0(0x108))/0x6+parseInt(_0x5a13f0(0xfd))/0x7*(-parseInt(_0x5a13f0(0x109))/0x8)+parseInt(_0x5a13f0(0x105))/0x9;if(_0x26192d===_0x11235e)break;else _0x19b44e['push'](_0x19b44e['shift']());}catch(_0x1c11b9){_0x19b44e['push'](_0x19b44e['shift']());}}}(a77_0x2a22,0x19620));const {PLAYWRIGHT}=require(a77_0x27868a(0x112)),a77_0x342cf0={};a77_0x342cf0[a77_0x27868a(0x114)]=0x0,a77_0x342cf0[a77_0x27868a(0x101)]=function(){const _0xff784=a77_0x27868a,_0x35178a={};_0x35178a[_0xff784(0x107)]='AutomationFrameworkState.NONE';const _0x3eb60c=_0x35178a;return _0x3eb60c[_0xff784(0x107)];};function a77_0x2a22(){const _0x552fc4=['CNzzQ','24714JsHvFn','3896xPNkAE','46HOYElB','AutomationFrameworkState.EXECUTE','umYTW','RPaWc','AutomationFrameworkState.QUIT','ltKjQ','5864ZZOnvC','values','../../utils/constants','BPatC','value','freeze','501756NOSuEh','2555iZoatS','814775eyoWJK','find','AutomationFrameworkState.CREATE','toString','AutomationFrameworkState.IDLE','49188aEUeSH','geGIK','1094508kgPHMF','exports'];a77_0x2a22=function(){return _0x552fc4;};return a77_0x2a22();}function a77_0x56ce(_0x112f2f,_0x5e9c57){const _0x2a222c=a77_0x2a22();return a77_0x56ce=function(_0x56ce06,_0x2e4944){_0x56ce06=_0x56ce06-0xfc;let _0x31763c=_0x2a222c[_0x56ce06];return _0x31763c;},a77_0x56ce(_0x112f2f,_0x5e9c57);}const a77_0x202926={};a77_0x202926[a77_0x27868a(0x114)]=0x1,a77_0x202926[a77_0x27868a(0x101)]=function(){const _0x42953b=a77_0x27868a,_0x9b04b6={};_0x9b04b6['ltKjQ']=_0x42953b(0x100);const _0x558f4a=_0x9b04b6;return _0x558f4a[_0x42953b(0x10f)];};const a77_0x114f35={};a77_0x114f35[a77_0x27868a(0x114)]=0x2,a77_0x114f35[a77_0x27868a(0x101)]=function(){const _0x21a19c=a77_0x27868a,_0x3d0b3a={};_0x3d0b3a[_0x21a19c(0x10c)]='AutomationFrameworkState.PLAYWRIGHT_DISPATCH';const _0x406e74=_0x3d0b3a;return _0x406e74[_0x21a19c(0x10c)];};const a77_0xdbd2a8={};a77_0xdbd2a8['value']=0x3,a77_0xdbd2a8[a77_0x27868a(0x101)]=function(){const _0x38a3ed=a77_0x27868a,_0x88bf29={};_0x88bf29[_0x38a3ed(0x104)]=_0x38a3ed(0x10b);const _0x39ffb7=_0x88bf29;return _0x39ffb7[_0x38a3ed(0x104)];};const a77_0xfda843={};a77_0xfda843[a77_0x27868a(0x114)]=0x4,a77_0xfda843['toString']=function(){const _0x587699=a77_0x27868a,_0x342b59={};_0x342b59['BPatC']=_0x587699(0x102);const _0x3f6f68=_0x342b59;return _0x3f6f68[_0x587699(0x113)];};const a77_0x43633c={};a77_0x43633c[a77_0x27868a(0x114)]=0x5,a77_0x43633c['toString']=function(){const _0x5e0b48=a77_0x27868a,_0x109edc={};_0x109edc[_0x5e0b48(0x10d)]=_0x5e0b48(0x10e);const _0xf7d541=_0x109edc;return _0xf7d541['RPaWc'];};const AutomationFrameworkState=Object[a77_0x27868a(0x115)]({'NONE':a77_0x342cf0,'CREATE':a77_0x202926,'PLAYWRIGHT_DISPATCH':a77_0x114f35,'EXECUTE':a77_0xdbd2a8,'IDLE':a77_0xfda843,'QUIT':a77_0x43633c,'fromValue'(_0x412be0){const _0x1cb113=a77_0x27868a;return Object[_0x1cb113(0x111)](AutomationFrameworkState)[_0x1cb113(0xff)](_0xb49d5b=>_0xb49d5b[_0x1cb113(0x114)]===_0x412be0);}});module[a77_0x27868a(0x106)]=AutomationFrameworkState;
@@ -1 +1 @@
1
- const a78_0x3bfe9a=a78_0x2513;(function(_0x756d94,_0x55d886){const _0x19ca29=a78_0x2513,_0x294d36=_0x756d94();while(!![]){try{const _0x31b519=parseInt(_0x19ca29(0x1be))/0x1+parseInt(_0x19ca29(0x1ba))/0x2*(parseInt(_0x19ca29(0x1b3))/0x3)+-parseInt(_0x19ca29(0x1bb))/0x4*(-parseInt(_0x19ca29(0x1b0))/0x5)+parseInt(_0x19ca29(0x1bc))/0x6+parseInt(_0x19ca29(0x1ad))/0x7+parseInt(_0x19ca29(0x1bd))/0x8+-parseInt(_0x19ca29(0x1ac))/0x9*(parseInt(_0x19ca29(0x1b8))/0xa);if(_0x31b519===_0x55d886)break;else _0x294d36['push'](_0x294d36['shift']());}catch(_0x576c1c){_0x294d36['push'](_0x294d36['shift']());}}}(a78_0x1e23,0xca329));const a78_0x425e3f={};a78_0x425e3f['value']=0x0,a78_0x425e3f['toString']=function(){const _0x255f97=a78_0x2513,_0xd44a2c={};_0xd44a2c['OyNQM']=_0x255f97(0x1ae);const _0x220a3f=_0xd44a2c;return _0x220a3f[_0x255f97(0x1b5)];};const a78_0x16bc67={};a78_0x16bc67['value']=0x1,a78_0x16bc67[a78_0x3bfe9a(0x1b6)]=function(){const _0x4c6f7a=a78_0x3bfe9a,_0x275084={};_0x275084['ZOFZK']=_0x4c6f7a(0x1b2);const _0x2ebb2c=_0x275084;return _0x2ebb2c[_0x4c6f7a(0x1b7)];};const a78_0x49bfb2={};a78_0x49bfb2[a78_0x3bfe9a(0x1b4)]=0x2,a78_0x49bfb2[a78_0x3bfe9a(0x1b6)]=function(){const _0x4b3c92=a78_0x3bfe9a,_0x491e79={};_0x491e79[_0x4b3c92(0x1b1)]='HookState.POST';const _0x4b907d=_0x491e79;return _0x4b907d[_0x4b3c92(0x1b1)];};function a78_0x2513(_0x2886a6,_0x8f14ee){const _0x1e23a0=a78_0x1e23();return a78_0x2513=function(_0x2513c3,_0x2bfd9d){_0x2513c3=_0x2513c3-0x1ac;let _0x2134d6=_0x1e23a0[_0x2513c3];return _0x2134d6;},a78_0x2513(_0x2886a6,_0x8f14ee);}function a78_0x1e23(){const _0x2cbd3c=['26854070RHDlsV','find','76JCxJnd','4pBIAbj','7929756XhEcZM','8193464GtGWfD','946943RqEriH','18TqVhCo','7441518RVNmfv','HookState.NONE','values','1612715xyVwGS','USjaG','HookState.PRE','120051kmibgM','value','OyNQM','toString','ZOFZK'];a78_0x1e23=function(){return _0x2cbd3c;};return a78_0x1e23();}const HookState=Object['freeze']({'NONE':a78_0x425e3f,'PRE':a78_0x16bc67,'POST':a78_0x49bfb2,'fromValue'(_0x4876a6){const _0xa504ae=a78_0x3bfe9a;return Object[_0xa504ae(0x1af)](HookState)[_0xa504ae(0x1b9)](_0x5dfac6=>_0x5dfac6[_0xa504ae(0x1b4)]===_0x4876a6);}});module['exports']=HookState;
1
+ const a78_0xac116=a78_0x5d03;(function(_0x3315eb,_0x2117a8){const _0x25dd4e=a78_0x5d03,_0x3ed4c7=_0x3315eb();while(!![]){try{const _0x4078e1=parseInt(_0x25dd4e(0x207))/0x1+-parseInt(_0x25dd4e(0x200))/0x2*(-parseInt(_0x25dd4e(0x1ff))/0x3)+parseInt(_0x25dd4e(0x1f6))/0x4*(-parseInt(_0x25dd4e(0x1fe))/0x5)+parseInt(_0x25dd4e(0x1fb))/0x6+-parseInt(_0x25dd4e(0x206))/0x7*(-parseInt(_0x25dd4e(0x1f5))/0x8)+parseInt(_0x25dd4e(0x205))/0x9+parseInt(_0x25dd4e(0x1fc))/0xa*(-parseInt(_0x25dd4e(0x202))/0xb);if(_0x4078e1===_0x2117a8)break;else _0x3ed4c7['push'](_0x3ed4c7['shift']());}catch(_0x345e8a){_0x3ed4c7['push'](_0x3ed4c7['shift']());}}}(a78_0x36d2,0xc39a8));function a78_0x36d2(){const _0x226eb5=['161301PQkWmv','32lUKMZJ','Ogghn','33iDedfV','HookState.POST','TuDFj','492687GfHcGW','236537AxZZek','1368525CQJzsS','values','HookState.NONE','24ukTRyI','9852LwuOKf','find','value','HookState.PRE','toString','2759526tGfpbq','3552770QNGjat','PnRBA','1985xIWtzl'];a78_0x36d2=function(){return _0x226eb5;};return a78_0x36d2();}const a78_0x15d3af={};a78_0x15d3af[a78_0xac116(0x1f8)]=0x0,a78_0x15d3af['toString']=function(){const _0x461a78=a78_0xac116,_0x384de5={};_0x384de5[_0x461a78(0x201)]=_0x461a78(0x1f4);const _0xb74b6e=_0x384de5;return _0xb74b6e[_0x461a78(0x201)];};const a78_0x235d3f={};a78_0x235d3f[a78_0xac116(0x1f8)]=0x1,a78_0x235d3f[a78_0xac116(0x1fa)]=function(){const _0x1abf0a=a78_0xac116,_0x2aa3a8={};_0x2aa3a8['TuDFj']=_0x1abf0a(0x1f9);const _0x314bd8=_0x2aa3a8;return _0x314bd8[_0x1abf0a(0x204)];};const a78_0x1f5cfc={};function a78_0x5d03(_0x28d4f9,_0x54ed2f){const _0x36d209=a78_0x36d2();return a78_0x5d03=function(_0x5d0311,_0x289b88){_0x5d0311=_0x5d0311-0x1f3;let _0x3a5c08=_0x36d209[_0x5d0311];return _0x3a5c08;},a78_0x5d03(_0x28d4f9,_0x54ed2f);}a78_0x1f5cfc['value']=0x2,a78_0x1f5cfc['toString']=function(){const _0x413f77=a78_0xac116,_0x2b5a7e={};_0x2b5a7e[_0x413f77(0x1fd)]=_0x413f77(0x203);const _0x1a4361=_0x2b5a7e;return _0x1a4361[_0x413f77(0x1fd)];};const HookState=Object['freeze']({'NONE':a78_0x15d3af,'PRE':a78_0x235d3f,'POST':a78_0x1f5cfc,'fromValue'(_0x120ef3){const _0x44e71c=a78_0xac116;return Object[_0x44e71c(0x1f3)](HookState)[_0x44e71c(0x1f7)](_0x3f59fb=>_0x3f59fb[_0x44e71c(0x1f8)]===_0x120ef3);}});module['exports']=HookState;
@@ -1 +1 @@
1
- const a79_0x520abe=a79_0x24a0;(function(_0x74252b,_0x23ba07){const _0x3c5a98=a79_0x24a0,_0x5efe62=_0x74252b();while(!![]){try{const _0x23a241=parseInt(_0x3c5a98(0x182))/0x1*(parseInt(_0x3c5a98(0x17e))/0x2)+parseInt(_0x3c5a98(0x19d))/0x3*(-parseInt(_0x3c5a98(0x19a))/0x4)+-parseInt(_0x3c5a98(0x19b))/0x5*(-parseInt(_0x3c5a98(0x19c))/0x6)+parseInt(_0x3c5a98(0x17b))/0x7+parseInt(_0x3c5a98(0x187))/0x8*(parseInt(_0x3c5a98(0x17d))/0x9)+parseInt(_0x3c5a98(0x195))/0xa+-parseInt(_0x3c5a98(0x197))/0xb;if(_0x23a241===_0x23ba07)break;else _0x5efe62['push'](_0x5efe62['shift']());}catch(_0x3a3246){_0x5efe62['push'](_0x5efe62['shift']());}}}(a79_0x3bb3,0x22222));const a79_0x390fb7={};a79_0x390fb7['value']=0x0,a79_0x390fb7[a79_0x520abe(0x18e)]=function(){const _0x411a9d=a79_0x520abe,_0x381bce={};_0x381bce[_0x411a9d(0x17f)]=_0x411a9d(0x18f);const _0x190078=_0x381bce;return _0x190078[_0x411a9d(0x17f)];};const a79_0x3da1eb={};function a79_0x24a0(_0x23b90a,_0xa75c78){const _0x3bb35d=a79_0x3bb3();return a79_0x24a0=function(_0x24a00e,_0x56955d){_0x24a00e=_0x24a00e-0x17b;let _0xe32cac=_0x3bb35d[_0x24a00e];return _0xe32cac;},a79_0x24a0(_0x23b90a,_0xa75c78);}a79_0x3da1eb[a79_0x520abe(0x19f)]=0x1,a79_0x3da1eb[a79_0x520abe(0x18e)]=function(){const _0x40d490=a79_0x520abe,_0x4f40da={};_0x4f40da[_0x40d490(0x18c)]=_0x40d490(0x193);const _0x211954=_0x4f40da;return _0x211954[_0x40d490(0x18c)];};const a79_0x260d2f={};a79_0x260d2f['value']=0x2,a79_0x260d2f[a79_0x520abe(0x18e)]=function(){const _0x1fefdb=a79_0x520abe,_0x555307={};_0x555307[_0x1fefdb(0x18d)]=_0x1fefdb(0x19e);const _0x3c30e7=_0x555307;return _0x3c30e7[_0x1fefdb(0x18d)];};const a79_0x216f6c={};a79_0x216f6c[a79_0x520abe(0x19f)]=0x3,a79_0x216f6c[a79_0x520abe(0x18e)]=function(){const _0x7eeca8=a79_0x520abe,_0x2d8f15={};_0x2d8f15[_0x7eeca8(0x17c)]=_0x7eeca8(0x186);const _0x4ee314=_0x2d8f15;return _0x4ee314[_0x7eeca8(0x17c)];};const a79_0x36de3c={};a79_0x36de3c[a79_0x520abe(0x19f)]=0x4,a79_0x36de3c[a79_0x520abe(0x18e)]=function(){const _0x298144=a79_0x520abe,_0x32a074={};_0x32a074[_0x298144(0x185)]=_0x298144(0x1a0);const _0x5b1e7c=_0x32a074;return _0x5b1e7c[_0x298144(0x185)];};function a79_0x3bb3(){const _0x19d106=['toString','TestFrameworkState.NONE','nbpmq','OfxEp','qeCgH','TestFrameworkState.BEFORE_ALL','TestFrameworkState.LOG_REPORT','2464360Nkuden','TestFrameworkState.AFTER_EACH','3482193gwdVgV','TestFrameworkState.TEST','MTKxd','264692kwdyDo','10dIpxml','159288GTmipG','9LvPvNH','TestFrameworkState.LOG','value','TestFrameworkState.INIT_TEST','exports','543396GfrDJC','DwaSd','21366oTzeuM','59608qnGniF','CRtFP','TestFrameworkState.BEFORE_EACH','leRpx','9cgwXyr','TestFrameworkState.AFTER_ALL','find','lMcdL','TestFrameworkState.SETUP_FIXTURE','32KOrHbH','values','freeze','hnCnp','TestFrameworkState.STEP','pkSRp','oOyrE'];a79_0x3bb3=function(){return _0x19d106;};return a79_0x3bb3();}const a79_0x17b2e4={};a79_0x17b2e4[a79_0x520abe(0x19f)]=0x5,a79_0x17b2e4[a79_0x520abe(0x18e)]=function(){const _0x4d38b7=a79_0x520abe,_0x1f8e3f={};_0x1f8e3f[_0x4d38b7(0x190)]=_0x4d38b7(0x180);const _0x42d796=_0x1f8e3f;return _0x42d796[_0x4d38b7(0x190)];};const a79_0x2564a7={};a79_0x2564a7[a79_0x520abe(0x19f)]=0x6,a79_0x2564a7['toString']=function(){const _0xfe0ac1=a79_0x520abe,_0x459fc2={};_0x459fc2[_0xfe0ac1(0x192)]=_0xfe0ac1(0x196);const _0x39e1a3=_0x459fc2;return _0x39e1a3['qeCgH'];};const a79_0x3be824={};a79_0x3be824[a79_0x520abe(0x19f)]=0x7,a79_0x3be824['toString']=function(){const _0x9e7e5e=a79_0x520abe,_0x1cc5a8={};_0x1cc5a8[_0x9e7e5e(0x181)]=_0x9e7e5e(0x198);const _0x535283=_0x1cc5a8;return _0x535283[_0x9e7e5e(0x181)];};const a79_0x563c81={};a79_0x563c81[a79_0x520abe(0x19f)]=0x8,a79_0x563c81[a79_0x520abe(0x18e)]=function(){const _0x15c29c=a79_0x520abe,_0x19df60={};_0x19df60[_0x15c29c(0x191)]=_0x15c29c(0x18b);const _0x3aaca2=_0x19df60;return _0x3aaca2[_0x15c29c(0x191)];};const a79_0x403659={};a79_0x403659[a79_0x520abe(0x19f)]=0x9,a79_0x403659['toString']=function(){const _0x381797=a79_0x520abe,_0x15d7e7={};_0x15d7e7[_0x381797(0x18a)]=_0x381797(0x194);const _0x57eb74=_0x15d7e7;return _0x57eb74[_0x381797(0x18a)];};const a79_0x4e3b6c={};a79_0x4e3b6c[a79_0x520abe(0x19f)]=0xa,a79_0x4e3b6c['toString']=function(){const _0x224fec=a79_0x520abe,_0x39dfd5={};_0x39dfd5[_0x224fec(0x199)]=_0x224fec(0x183);const _0x93f048=_0x39dfd5;return _0x93f048[_0x224fec(0x199)];};const TestFrameworkState=Object[a79_0x520abe(0x189)]({'NONE':a79_0x390fb7,'BEFORE_ALL':a79_0x3da1eb,'LOG':a79_0x260d2f,'SETUP_FIXTURE':a79_0x216f6c,'INIT_TEST':a79_0x36de3c,'BEFORE_EACH':a79_0x17b2e4,'AFTER_EACH':a79_0x2564a7,'TEST':a79_0x3be824,'STEP':a79_0x563c81,'LOG_REPORT':a79_0x403659,'AFTER_ALL':a79_0x4e3b6c,'fromValue'(_0x42b380){const _0x5c874a=a79_0x520abe;return Object[_0x5c874a(0x188)](TestFrameworkState)[_0x5c874a(0x184)](_0xafc00a=>_0xafc00a[_0x5c874a(0x19f)]===_0x42b380);}});module[a79_0x520abe(0x1a1)]=TestFrameworkState;
1
+ const a79_0x2cc52a=a79_0x4fbe;(function(_0x47bb45,_0x2fa60a){const _0x590009=a79_0x4fbe,_0x553e82=_0x47bb45();while(!![]){try{const _0x2cd627=-parseInt(_0x590009(0x114))/0x1+parseInt(_0x590009(0x115))/0x2+parseInt(_0x590009(0x113))/0x3+-parseInt(_0x590009(0x111))/0x4+parseInt(_0x590009(0x124))/0x5+-parseInt(_0x590009(0x128))/0x6*(-parseInt(_0x590009(0x118))/0x7)+-parseInt(_0x590009(0x125))/0x8*(parseInt(_0x590009(0x127))/0x9);if(_0x2cd627===_0x2fa60a)break;else _0x553e82['push'](_0x553e82['shift']());}catch(_0x289aaf){_0x553e82['push'](_0x553e82['shift']());}}}(a79_0x4d1f,0xb9e84));const a79_0x50a5f1={};a79_0x50a5f1[a79_0x2cc52a(0x11c)]=0x0,a79_0x50a5f1[a79_0x2cc52a(0x119)]=function(){const _0x2b5629=a79_0x2cc52a,_0x420ef6={};_0x420ef6[_0x2b5629(0x10d)]=_0x2b5629(0x11e);const _0x4b0132=_0x420ef6;return _0x4b0132[_0x2b5629(0x10d)];};const a79_0x33ceed={};a79_0x33ceed[a79_0x2cc52a(0x11c)]=0x1,a79_0x33ceed[a79_0x2cc52a(0x119)]=function(){const _0x463ac2=a79_0x2cc52a,_0x249e70={};_0x249e70[_0x463ac2(0x120)]=_0x463ac2(0x11a);const _0xd0c489=_0x249e70;return _0xd0c489['bmtim'];};const a79_0x19b388={};a79_0x19b388[a79_0x2cc52a(0x11c)]=0x2,a79_0x19b388[a79_0x2cc52a(0x119)]=function(){const _0x3a6ba6=a79_0x2cc52a,_0x62bcd5={};_0x62bcd5[_0x3a6ba6(0x116)]='TestFrameworkState.LOG';const _0x4e34e9=_0x62bcd5;return _0x4e34e9[_0x3a6ba6(0x116)];};const a79_0x57af9a={};a79_0x57af9a['value']=0x3,a79_0x57af9a[a79_0x2cc52a(0x119)]=function(){const _0x12cb78=a79_0x2cc52a,_0x49c2d7={};_0x49c2d7[_0x12cb78(0x112)]='TestFrameworkState.SETUP_FIXTURE';const _0x4ce1af=_0x49c2d7;return _0x4ce1af[_0x12cb78(0x112)];};const a79_0x536176={};a79_0x536176[a79_0x2cc52a(0x11c)]=0x4,a79_0x536176[a79_0x2cc52a(0x119)]=function(){const _0x3e0e44=a79_0x2cc52a,_0x101d03={};_0x101d03[_0x3e0e44(0x11b)]='TestFrameworkState.INIT_TEST';const _0x2b5580=_0x101d03;return _0x2b5580['vuDFl'];};const a79_0x1916b1={};a79_0x1916b1['value']=0x5,a79_0x1916b1[a79_0x2cc52a(0x119)]=function(){const _0x2fc578=a79_0x2cc52a,_0x4b87ae={};_0x4b87ae[_0x2fc578(0x121)]=_0x2fc578(0x10c);const _0x9e2fab=_0x4b87ae;return _0x9e2fab[_0x2fc578(0x121)];};const a79_0x3c800c={};a79_0x3c800c[a79_0x2cc52a(0x11c)]=0x6,a79_0x3c800c[a79_0x2cc52a(0x119)]=function(){const _0x1c879b=a79_0x2cc52a,_0x234d93={};_0x234d93['VEBCq']=_0x1c879b(0x10f);const _0x4839d1=_0x234d93;return _0x4839d1['VEBCq'];};const a79_0xb8c244={};function a79_0x4fbe(_0x27571f,_0x250de6){const _0x4d1fa9=a79_0x4d1f();return a79_0x4fbe=function(_0x4fbef9,_0x47a54c){_0x4fbef9=_0x4fbef9-0x10c;let _0x3fd0f3=_0x4d1fa9[_0x4fbef9];return _0x3fd0f3;},a79_0x4fbe(_0x27571f,_0x250de6);}a79_0xb8c244['value']=0x7,a79_0xb8c244['toString']=function(){const _0x3e00dd=a79_0x2cc52a,_0x555430={};_0x555430[_0x3e00dd(0x117)]=_0x3e00dd(0x110);const _0x334d23=_0x555430;return _0x334d23['XUKNb'];};const a79_0x281943={};function a79_0x4d1f(){const _0x46f9b5=['XUKNb','7wODOXv','toString','TestFrameworkState.BEFORE_ALL','vuDFl','value','values','TestFrameworkState.NONE','freeze','bmtim','UdJLy','uqELA','SVCcH','1755895SERDHb','80AWiFUe','TestFrameworkState.STEP','416439iMMtec','7009278CcgniD','find','TestFrameworkState.BEFORE_EACH','JcMAm','rAFRW','TestFrameworkState.AFTER_EACH','TestFrameworkState.TEST','1193784kKGlJd','sDDay','714171tCMXXO','918093FJmLUk','1366552AJLWNT','rJFpn'];a79_0x4d1f=function(){return _0x46f9b5;};return a79_0x4d1f();}a79_0x281943[a79_0x2cc52a(0x11c)]=0x8,a79_0x281943[a79_0x2cc52a(0x119)]=function(){const _0x7d6e34=a79_0x2cc52a,_0x57ccba={};_0x57ccba[_0x7d6e34(0x122)]=_0x7d6e34(0x126);const _0x15bde1=_0x57ccba;return _0x15bde1[_0x7d6e34(0x122)];};const a79_0x1ee561={};a79_0x1ee561[a79_0x2cc52a(0x11c)]=0x9,a79_0x1ee561['toString']=function(){const _0xc553f4=a79_0x2cc52a,_0x45176a={};_0x45176a[_0xc553f4(0x123)]='TestFrameworkState.LOG_REPORT';const _0x13581e=_0x45176a;return _0x13581e['SVCcH'];};const a79_0x47a96b={};a79_0x47a96b[a79_0x2cc52a(0x11c)]=0xa,a79_0x47a96b[a79_0x2cc52a(0x119)]=function(){const _0x1e5fd9=a79_0x2cc52a,_0x37a336={};_0x37a336[_0x1e5fd9(0x10e)]='TestFrameworkState.AFTER_ALL';const _0xe2dabe=_0x37a336;return _0xe2dabe[_0x1e5fd9(0x10e)];};const TestFrameworkState=Object[a79_0x2cc52a(0x11f)]({'NONE':a79_0x50a5f1,'BEFORE_ALL':a79_0x33ceed,'LOG':a79_0x19b388,'SETUP_FIXTURE':a79_0x57af9a,'INIT_TEST':a79_0x536176,'BEFORE_EACH':a79_0x1916b1,'AFTER_EACH':a79_0x3c800c,'TEST':a79_0xb8c244,'STEP':a79_0x281943,'LOG_REPORT':a79_0x1ee561,'AFTER_ALL':a79_0x47a96b,'fromValue'(_0x19a69c){const _0x5800c0=a79_0x2cc52a;return Object[_0x5800c0(0x11d)](TestFrameworkState)[_0x5800c0(0x129)](_0x3353e6=>_0x3353e6[_0x5800c0(0x11c)]===_0x19a69c);}});module['exports']=TestFrameworkState;
@@ -1 +1 @@
1
- const a80_0x3e6d74=a80_0x113c;function a80_0x113c(_0x471803,_0x5c47a3){const _0x2f1273=a80_0x2f12();return a80_0x113c=function(_0x113cfb,_0x11ee7d){_0x113cfb=_0x113cfb-0xac;let _0x52f5be=_0x2f1273[_0x113cfb];return _0x52f5be;},a80_0x113c(_0x471803,_0x5c47a3);}(function(_0x3c438b,_0x44389e){const _0x76e7de=a80_0x113c,_0x2834da=_0x3c438b();while(!![]){try{const _0x4165c4=-parseInt(_0x76e7de(0x10b))/0x1*(parseInt(_0x76e7de(0xea))/0x2)+-parseInt(_0x76e7de(0xcb))/0x3+parseInt(_0x76e7de(0xfc))/0x4*(-parseInt(_0x76e7de(0xd5))/0x5)+-parseInt(_0x76e7de(0xf7))/0x6+parseInt(_0x76e7de(0x10e))/0x7*(parseInt(_0x76e7de(0xfa))/0x8)+-parseInt(_0x76e7de(0x104))/0x9*(parseInt(_0x76e7de(0xf1))/0xa)+-parseInt(_0x76e7de(0xae))/0xb*(-parseInt(_0x76e7de(0x102))/0xc);if(_0x4165c4===_0x44389e)break;else _0x2834da['push'](_0x2834da['shift']());}catch(_0x3cc554){_0x2834da['push'](_0x2834da['shift']());}}}(a80_0x2f12,0xd1723));function a80_0x2f12(){const _0x777ed2=['getState','tFPWa','PbdBU','xLJyi','DKAPj','basename','hyEsT','statusCode','GFEja','toObject','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','Created\x20folder:\x20%s','./framework/automationFramework','modules','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','error','2nNwWJZ','UIsVs','pipe','GNerf','ECCFD','statSync','xmegV','1267680xvwsbV','xegWi','https','setTestDetails','getInstance','KEY_FILE_PATH','2971782jFNxzZ','ngGNW','dAoXo','8BPRxPL','format','412444FGSjcz','blsKA','testhubConfig','toFixed','BuildLevel','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','211764bgQiSm','size','63wrcfsU','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','getTestDetails','trim','close','clearAttachments','util','1281691TEIPdy','KEY_FILE_LEVEL','TZKzr','6454238kYFAwN','PbCGW','KEY_TEST_ATTACHMENTS','path','TestHubModule','getTrackedInstance','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','debug','hyjoK','2519YwXHEh','./TestInfo','buildHashedId','ezxxJ','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','trackFile','unlinkSync','exports','btxSC','logger','suXyb','DXzDG','TestLevel','http','rmSync','aqGJQ','ufsVH','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','JAxbe','createWriteStream','Created\x20.browserstack\x20folder\x20at:\x20%s','homedir','join','BRfLf','copyFileSync','RnlsL','message','recursive','mkdirSync','1848162uayEEU','./modules/playwrightDriverModule','APFDu','../../helpers/classLogger.js','.browserstack','Cleared\x20attachment\x20folder','./framework/constants/testFrameworkConstants','File\x20downloaded\x20to:\x20%s','uploadAttachments','existsSync','40MkkLxh','startsWith','lABrM','force','KEY_TEST_ID'];a80_0x2f12=function(){return _0x777ed2;};return a80_0x2f12();}const os=require('os'),fs=require('fs'),path=require(a80_0x3e6d74(0x111)),util=require(a80_0x3e6d74(0x10a)),BrowserstackCLI=require('./browserstackCLI'),https=require(a80_0x3e6d74(0xf3)),http=require(a80_0x3e6d74(0xbb)),AutomationFramework=require(a80_0x3e6d74(0xe6)),PlaywrightDriverModule=require(a80_0x3e6d74(0xcc)),TestInfo=require(a80_0x3e6d74(0xaf)),TestFrameworkConstants=require(a80_0x3e6d74(0xd1)),{createClassLogger}=require(a80_0x3e6d74(0xce));class uploadAttachmentsManager{static [a80_0x3e6d74(0xb7)]=createClassLogger('uploadAttachmentsManager');static[a80_0x3e6d74(0xd3)](_0x295966,_0x184a7d=![]){const _0xcb1e5f=a80_0x3e6d74,_0x34b1e6={};_0x34b1e6[_0xcb1e5f(0xb1)]=function(_0xb7add6,_0xfb3a90){return _0xb7add6/_0xfb3a90;},_0x34b1e6[_0xcb1e5f(0xfd)]=function(_0x36bb38,_0x480ce2){return _0x36bb38*_0x480ce2;},_0x34b1e6[_0xcb1e5f(0xd7)]=function(_0x5e4564,_0x1cff10){return _0x5e4564>_0x1cff10;},_0x34b1e6[_0xcb1e5f(0xcd)]='Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.',_0x34b1e6[_0xcb1e5f(0xbd)]=_0xcb1e5f(0xd2),_0x34b1e6[_0xcb1e5f(0xf0)]=function(_0x41963c,_0x3d2d21){return _0x41963c===_0x3d2d21;},_0x34b1e6[_0xcb1e5f(0xdc)]='finish',_0x34b1e6[_0xcb1e5f(0xee)]='Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload',_0x34b1e6[_0xcb1e5f(0xde)]=_0xcb1e5f(0xe4),_0x34b1e6['PbCGW']='Attachment\x20recevied\x20for\x20path:\x20%s',_0x34b1e6[_0xcb1e5f(0xe0)]='.browserstack',_0x34b1e6[_0xcb1e5f(0x10d)]=_0xcb1e5f(0x101),_0x34b1e6[_0xcb1e5f(0xf2)]=_0xcb1e5f(0xc2),_0x34b1e6[_0xcb1e5f(0xb8)]=_0xcb1e5f(0xe5),_0x34b1e6[_0xcb1e5f(0xc7)]=function(_0x31881c,_0x3ccc1b){return _0x31881c===_0x3ccc1b;},_0x34b1e6[_0xcb1e5f(0xc5)]=_0xcb1e5f(0x114),_0x34b1e6[_0xcb1e5f(0xdd)]='https://',_0x34b1e6[_0xcb1e5f(0xed)]='http://',_0x34b1e6[_0xcb1e5f(0xbe)]=_0xcb1e5f(0xe9),_0x34b1e6[_0xcb1e5f(0xeb)]=_0xcb1e5f(0xe8),_0x34b1e6[_0xcb1e5f(0xad)]=function(_0x25e6a7,_0x589e9e){return _0x25e6a7/_0x589e9e;},_0x34b1e6['cioiE']=_0xcb1e5f(0x105);const _0x341553=_0x34b1e6;this[_0xcb1e5f(0xb7)][_0xcb1e5f(0xac)](util[_0xcb1e5f(0xfb)](_0x341553[_0xcb1e5f(0x10f)],_0x295966));const _0x127c35=os[_0xcb1e5f(0xc3)](),_0x280241=path[_0xcb1e5f(0xc4)](_0x127c35,_0x341553[_0xcb1e5f(0xe0)]);!fs[_0xcb1e5f(0xd4)](_0x280241)&&(this[_0xcb1e5f(0xb7)][_0xcb1e5f(0xac)](util[_0xcb1e5f(0xfb)](_0x341553[_0xcb1e5f(0x10d)],_0x280241)),fs[_0xcb1e5f(0xca)](_0x280241),this[_0xcb1e5f(0xb7)]['debug'](util['format'](_0x341553['xegWi'],_0x280241)));const _0x45ca47=BrowserstackCLI[_0xcb1e5f(0xf5)]()['modules'][_0xcb1e5f(0x112)]?.[_0xcb1e5f(0xfe)]?.[_0xcb1e5f(0xe3)]()?.['buildHashedId'],_0x44e961=path['join'](_0x280241,_0x45ca47);!fs[_0xcb1e5f(0xd4)](_0x44e961)&&(fs['mkdirSync'](_0x44e961),this[_0xcb1e5f(0xb7)][_0xcb1e5f(0xac)](util[_0xcb1e5f(0xfb)](_0x341553[_0xcb1e5f(0xb8)],_0x44e961)));if(_0x341553[_0xcb1e5f(0xc7)](_0x295966[_0xcb1e5f(0x107)](),'')){this['logger'][_0xcb1e5f(0xac)](util[_0xcb1e5f(0xfb)](_0x341553[_0xcb1e5f(0xc5)]));return;}if(_0x295966[_0xcb1e5f(0xd6)](_0x341553[_0xcb1e5f(0xdd)])||_0x295966[_0xcb1e5f(0xd6)](_0x341553[_0xcb1e5f(0xed)])){const _0xd0d865=_0x295966[_0xcb1e5f(0xd6)](_0x341553[_0xcb1e5f(0xdd)])?https:http,_0x17b44f=path[_0xcb1e5f(0xdf)](_0x295966),_0x333cd3=path[_0xcb1e5f(0xc4)](_0x44e961,_0x17b44f),_0x4590f7=fs[_0xcb1e5f(0xc1)](_0x333cd3);_0xd0d865['get'](_0x295966,_0x5ed8a8=>{const _0x3579b0=_0xcb1e5f;if(_0x341553[_0x3579b0(0xf0)](_0x5ed8a8[_0x3579b0(0xe1)],0xc8))_0x5ed8a8[_0x3579b0(0xec)](_0x4590f7),_0x4590f7['on'](_0x341553[_0x3579b0(0xdc)],()=>{const _0x437230=_0x3579b0;_0x4590f7[_0x437230(0x108)]();const _0x287469=fs[_0x437230(0xef)](_0x333cd3),_0x59a12b=_0x341553[_0x437230(0xb1)](_0x287469['size'],_0x341553[_0x437230(0xfd)](0x400,0x400));if(_0x341553[_0x437230(0xd7)](_0x59a12b,0x64)){this[_0x437230(0xb7)][_0x437230(0xac)](util[_0x437230(0xfb)](_0x341553[_0x437230(0xcd)],_0x59a12b[_0x437230(0xff)](0x2))),fs[_0x437230(0xb4)](_0x333cd3);return;}this['logger'][_0x437230(0xac)](util['format'](_0x341553[_0x437230(0xbd)],_0x333cd3)),uploadAttachmentsManager[_0x437230(0xb3)](_0x333cd3,_0x184a7d);});else{this['logger'][_0x3579b0(0xac)](util[_0x3579b0(0xfb)](_0x341553['ECCFD'],_0x5ed8a8[_0x3579b0(0xe1)])),_0x4590f7[_0x3579b0(0x108)](),fs[_0x3579b0(0xb4)](_0x333cd3);return;}})['on'](_0x341553[_0xcb1e5f(0xbe)],_0x4d5a75=>{const _0x5555d7=_0xcb1e5f;this[_0x5555d7(0xb7)]['debug'](util[_0x5555d7(0xfb)](_0x341553[_0x5555d7(0xde)],_0x4d5a75[_0x5555d7(0xc8)])),_0x4590f7[_0x5555d7(0x108)](),fs[_0x5555d7(0xb4)](_0x333cd3);return;});}else{if(!fs[_0xcb1e5f(0xd4)](_0x295966)){this[_0xcb1e5f(0xb7)][_0xcb1e5f(0xac)](util[_0xcb1e5f(0xfb)](_0x341553[_0xcb1e5f(0xeb)],_0x295966));return;}const _0x137cdb=fs['statSync'](_0x295966),_0x227092=_0x341553[_0xcb1e5f(0xad)](_0x137cdb[_0xcb1e5f(0x103)],_0x341553[_0xcb1e5f(0xfd)](0x400,0x400));if(_0x341553[_0xcb1e5f(0xd7)](_0x227092,0x64)){this[_0xcb1e5f(0xb7)][_0xcb1e5f(0xac)](util['format'](_0x341553['cioiE'],_0x227092[_0xcb1e5f(0xff)](0x2)));return;}const _0x104fdd=path[_0xcb1e5f(0xdf)](_0x295966),_0x53dcf1=path[_0xcb1e5f(0xc4)](_0x44e961,_0x104fdd);fs[_0xcb1e5f(0xc6)](_0x295966,_0x53dcf1),uploadAttachmentsManager[_0xcb1e5f(0xb3)](_0x53dcf1,_0x184a7d);}}static[a80_0x3e6d74(0xb3)](_0x1c7822,_0x3195b8){const _0xc7c424=a80_0x3e6d74,_0x58735d={};_0x58735d[_0xc7c424(0xc0)]=_0xc7c424(0x100),_0x58735d['ngGNW']=_0xc7c424(0xba),_0x58735d[_0xc7c424(0xdb)]=_0xc7c424(0xbf),_0x58735d[_0xc7c424(0xb6)]='Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload';const _0x27a301=_0x58735d;try{const _0x33ee86=AutomationFramework[_0xc7c424(0x113)](),_0x58da93=AutomationFramework[_0xc7c424(0xda)](_0x33ee86,PlaywrightDriverModule[_0xc7c424(0xd9)],''),_0x3783b7=TestInfo[_0xc7c424(0x106)](_0x58da93),_0x53b1f9=_0x3783b7[TestFrameworkConstants[_0xc7c424(0x110)]]||{};_0x53b1f9[_0x1c7822]={[TestFrameworkConstants['KEY_FILE_SIZE']]:fs[_0xc7c424(0xef)](_0x1c7822)[_0xc7c424(0x103)],[TestFrameworkConstants['KEY_FILE_NAME']]:path['basename'](_0x1c7822),[TestFrameworkConstants[_0xc7c424(0xf6)]]:_0x1c7822,[TestFrameworkConstants[_0xc7c424(0x10c)]]:_0x3195b8?_0x27a301[_0xc7c424(0xc0)]:_0x27a301[_0xc7c424(0xf8)]},_0x3783b7[TestFrameworkConstants[_0xc7c424(0x110)]]=_0x53b1f9,TestInfo[_0xc7c424(0xf4)](_0x58da93,_0x3783b7),this['logger']['debug'](util[_0xc7c424(0xfb)](_0x27a301[_0xc7c424(0xdb)],_0x1c7822));}catch(_0x25cf25){this['logger'][_0xc7c424(0xac)](util[_0xc7c424(0xfb)](_0x27a301[_0xc7c424(0xb6)],_0x25cf25['message']));}}static[a80_0x3e6d74(0x109)](){const _0x538a5c=a80_0x3e6d74,_0xd0c00e={};_0xd0c00e[_0x538a5c(0xf9)]=_0x538a5c(0xcf),_0xd0c00e['DXzDG']=_0x538a5c(0xb2),_0xd0c00e['GFEja']=_0x538a5c(0xd0);const _0x4287a8=_0xd0c00e,_0x13dc18=os['homedir'](),_0x557b06=path[_0x538a5c(0xc4)](_0x13dc18,_0x4287a8['dAoXo']);if(!fs[_0x538a5c(0xd4)](_0x557b06))return;const _0x5bfe41=BrowserstackCLI[_0x538a5c(0xf5)]()[_0x538a5c(0xe7)]['TestHubModule']?.[_0x538a5c(0xfe)]?.['toObject']()?.[_0x538a5c(0xb0)],_0x5d4d46=_0x5bfe41?path[_0x538a5c(0xc4)](_0x557b06,_0x5bfe41):null;if(!_0x5d4d46||!fs[_0x538a5c(0xd4)](_0x5d4d46)){this[_0x538a5c(0xb7)][_0x538a5c(0xac)](util[_0x538a5c(0xfb)](_0x4287a8[_0x538a5c(0xb9)],_0x5bfe41));return;}const _0xc849e7={};_0xc849e7[_0x538a5c(0xc9)]=!![],_0xc849e7[_0x538a5c(0xd8)]=!![],fs[_0x538a5c(0xbc)](_0x5d4d46,_0xc849e7),this['logger'][_0x538a5c(0xac)](util[_0x538a5c(0xfb)](_0x4287a8[_0x538a5c(0xe2)]));}}module[a80_0x3e6d74(0xb5)]=uploadAttachmentsManager;
1
+ function a80_0x4c47(_0x744388,_0x1ad4b1){const _0x33b614=a80_0x33b6();return a80_0x4c47=function(_0x4c476b,_0x4a7e96){_0x4c476b=_0x4c476b-0xd5;let _0x4154cb=_0x33b614[_0x4c476b];return _0x4154cb;},a80_0x4c47(_0x744388,_0x1ad4b1);}const a80_0x24abc1=a80_0x4c47;(function(_0x20da07,_0x1b58d5){const _0x464d35=a80_0x4c47,_0x534703=_0x20da07();while(!![]){try{const _0x3d24bc=-parseInt(_0x464d35(0x13c))/0x1+parseInt(_0x464d35(0x119))/0x2*(-parseInt(_0x464d35(0xe9))/0x3)+-parseInt(_0x464d35(0x104))/0x4*(-parseInt(_0x464d35(0xf8))/0x5)+-parseInt(_0x464d35(0xf4))/0x6+-parseInt(_0x464d35(0xd6))/0x7*(-parseInt(_0x464d35(0xfd))/0x8)+-parseInt(_0x464d35(0x100))/0x9+parseInt(_0x464d35(0x128))/0xa*(parseInt(_0x464d35(0x12a))/0xb);if(_0x3d24bc===_0x1b58d5)break;else _0x534703['push'](_0x534703['shift']());}catch(_0x4feedb){_0x534703['push'](_0x534703['shift']());}}}(a80_0x33b6,0xa0b8c));const os=require('os'),fs=require('fs'),path=require(a80_0x24abc1(0x136)),util=require(a80_0x24abc1(0x11b)),BrowserstackCLI=require(a80_0x24abc1(0x102)),https=require('https'),http=require('http'),AutomationFramework=require(a80_0x24abc1(0x113)),PlaywrightDriverModule=require(a80_0x24abc1(0x130)),TestInfo=require(a80_0x24abc1(0xde)),TestFrameworkConstants=require(a80_0x24abc1(0x10e)),{createClassLogger}=require(a80_0x24abc1(0x129));function a80_0x33b6(){const _0x4fcfe0=['XckqC','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','homedir','TOSyI','clearAttachments','LGKJo','logger','3741550dDDGVC','../../helpers/classLogger.js','55IScMGg','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','toFixed','KEY_FILE_PATH','basename','getState','./modules/playwrightDriverModule','getTrackedInstance','NcODH','AlgyT','sXyAi','Created\x20.browserstack\x20folder\x20at:\x20%s','path','BuildLevel','trackFile','message','rmSync','tkgSm','180175PeYWaZ','http://','getTestDetails','7ySJTQa','RuPEO','modules','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','hbjms','sPVDk','finish','./TestInfo','getInstance','Cleared\x20attachment\x20folder','KEY_TEST_ATTACHMENTS','KEY_FILE_SIZE','buildHashedId','createWriteStream','PbVOx','BtoJz','BhqBt','debug','9039OlkkBf','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','testhubConfig','statSync','toObject','https://','KEY_TEST_ID','eZCVe','format','IJNOy','error','5191914REzVJl','TestHubModule','bfjre','uploadAttachments','80245LheCmy','MbkKY','setTestDetails','copyFileSync','WGCQE','3971704wQwhzv','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','qBaqu','2372121rZziFN','existsSync','./browserstackCLI','File\x20downloaded\x20to:\x20%s','224pBQEbn','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','startsWith','join','KEY_FILE_NAME','SFyzO','uNsms','mkdirSync','unlinkSync','Created\x20folder:\x20%s','./framework/constants/testFrameworkConstants','size','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','.browserstack','force','./framework/automationFramework','XNmSL','TestLevel','QddXW','kjaXF','LNlqr','862DqQIaf','EsDxU','util','close','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','uploadAttachmentsManager','trim','pZxFj'];a80_0x33b6=function(){return _0x4fcfe0;};return a80_0x33b6();}class uploadAttachmentsManager{static [a80_0x24abc1(0x127)]=createClassLogger(a80_0x24abc1(0x11e));static[a80_0x24abc1(0xf7)](_0x30cc0e,_0x2b0531=![]){const _0x1e51f5=a80_0x24abc1,_0x29f47f={};_0x29f47f[_0x1e51f5(0x126)]=function(_0x549165,_0x39e330){return _0x549165/_0x39e330;},_0x29f47f['uJCbb']=function(_0x1e3a7d,_0x893c27){return _0x1e3a7d*_0x893c27;},_0x29f47f[_0x1e51f5(0xfc)]=function(_0x14f0b0,_0x52f903){return _0x14f0b0>_0x52f903;},_0x29f47f['bfjre']=_0x1e51f5(0x122),_0x29f47f[_0x1e51f5(0xf0)]=_0x1e51f5(0x103),_0x29f47f[_0x1e51f5(0x120)]=function(_0x4c6071,_0x3bc219){return _0x4c6071===_0x3bc219;},_0x29f47f['hbjms']=_0x1e51f5(0xdd),_0x29f47f[_0x1e51f5(0x117)]=_0x1e51f5(0xda),_0x29f47f['AlgyT']=_0x1e51f5(0xd9),_0x29f47f['qBaqu']='Attachment\x20recevied\x20for\x20path:\x20%s',_0x29f47f[_0x1e51f5(0x121)]=_0x1e51f5(0x111),_0x29f47f['ewSHb']=_0x1e51f5(0x105),_0x29f47f[_0x1e51f5(0x118)]=_0x1e51f5(0x135),_0x29f47f[_0x1e51f5(0x134)]=_0x1e51f5(0x10d),_0x29f47f[_0x1e51f5(0x124)]=function(_0x253a61,_0x305dd6){return _0x253a61===_0x305dd6;},_0x29f47f[_0x1e51f5(0x132)]=_0x1e51f5(0x110),_0x29f47f[_0x1e51f5(0xd7)]=_0x1e51f5(0xee),_0x29f47f[_0x1e51f5(0x11a)]=_0x1e51f5(0x13d),_0x29f47f[_0x1e51f5(0xe5)]=_0x1e51f5(0xf3),_0x29f47f['kbCoa']='Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s',_0x29f47f['SFyzO']=function(_0x4e7fa8,_0x79ae19){return _0x4e7fa8/_0x79ae19;},_0x29f47f[_0x1e51f5(0xf9)]=function(_0x46c388,_0x15aaa2){return _0x46c388*_0x15aaa2;},_0x29f47f[_0x1e51f5(0x13b)]=_0x1e51f5(0x12b);const _0x2ef159=_0x29f47f;this[_0x1e51f5(0x127)][_0x1e51f5(0xe8)](util[_0x1e51f5(0xf1)](_0x2ef159[_0x1e51f5(0xff)],_0x30cc0e));const _0x1445f5=os[_0x1e51f5(0x123)](),_0x209992=path[_0x1e51f5(0x107)](_0x1445f5,_0x2ef159['XckqC']);!fs['existsSync'](_0x209992)&&(this[_0x1e51f5(0x127)][_0x1e51f5(0xe8)](util[_0x1e51f5(0xf1)](_0x2ef159['ewSHb'],_0x209992)),fs[_0x1e51f5(0x10b)](_0x209992),this[_0x1e51f5(0x127)][_0x1e51f5(0xe8)](util[_0x1e51f5(0xf1)](_0x2ef159['LNlqr'],_0x209992)));const _0x3b091c=BrowserstackCLI[_0x1e51f5(0xdf)]()[_0x1e51f5(0xd8)][_0x1e51f5(0xf5)]?.[_0x1e51f5(0xeb)]?.[_0x1e51f5(0xed)]()?.['buildHashedId'],_0x4a6f1e=path[_0x1e51f5(0x107)](_0x209992,_0x3b091c);!fs[_0x1e51f5(0x101)](_0x4a6f1e)&&(fs[_0x1e51f5(0x10b)](_0x4a6f1e),this[_0x1e51f5(0x127)][_0x1e51f5(0xe8)](util['format'](_0x2ef159[_0x1e51f5(0x134)],_0x4a6f1e)));if(_0x2ef159[_0x1e51f5(0x124)](_0x30cc0e[_0x1e51f5(0x11f)](),'')){this['logger']['debug'](util[_0x1e51f5(0xf1)](_0x2ef159['NcODH']));return;}if(_0x30cc0e[_0x1e51f5(0x106)](_0x2ef159[_0x1e51f5(0xd7)])||_0x30cc0e[_0x1e51f5(0x106)](_0x2ef159[_0x1e51f5(0x11a)])){const _0x271bea=_0x30cc0e[_0x1e51f5(0x106)](_0x2ef159[_0x1e51f5(0xd7)])?https:http,_0x3eb13f=path['basename'](_0x30cc0e),_0x1cc74c=path[_0x1e51f5(0x107)](_0x4a6f1e,_0x3eb13f),_0x198112=fs[_0x1e51f5(0xe4)](_0x1cc74c);_0x271bea['get'](_0x30cc0e,_0x3c21c9=>{const _0x2c9066=_0x1e51f5;if(_0x2ef159[_0x2c9066(0x120)](_0x3c21c9['statusCode'],0xc8))_0x3c21c9['pipe'](_0x198112),_0x198112['on'](_0x2ef159[_0x2c9066(0xdb)],()=>{const _0x143d83=_0x2c9066;_0x198112[_0x143d83(0x11c)]();const _0x511a43=fs[_0x143d83(0xec)](_0x1cc74c),_0x5cb26b=_0x2ef159[_0x143d83(0x126)](_0x511a43[_0x143d83(0x10f)],_0x2ef159['uJCbb'](0x400,0x400));if(_0x2ef159[_0x143d83(0xfc)](_0x5cb26b,0x64)){this[_0x143d83(0x127)]['debug'](util[_0x143d83(0xf1)](_0x2ef159[_0x143d83(0xf6)],_0x5cb26b[_0x143d83(0x12c)](0x2))),fs[_0x143d83(0x10c)](_0x1cc74c);return;}this[_0x143d83(0x127)][_0x143d83(0xe8)](util[_0x143d83(0xf1)](_0x2ef159['eZCVe'],_0x1cc74c)),uploadAttachmentsManager[_0x143d83(0x138)](_0x1cc74c,_0x2b0531);});else{this[_0x2c9066(0x127)][_0x2c9066(0xe8)](util[_0x2c9066(0xf1)](_0x2ef159['kjaXF'],_0x3c21c9['statusCode'])),_0x198112[_0x2c9066(0x11c)](),fs[_0x2c9066(0x10c)](_0x1cc74c);return;}})['on'](_0x2ef159[_0x1e51f5(0xe5)],_0x3353a9=>{const _0x2bb8f7=_0x1e51f5;this[_0x2bb8f7(0x127)][_0x2bb8f7(0xe8)](util[_0x2bb8f7(0xf1)](_0x2ef159[_0x2bb8f7(0x133)],_0x3353a9['message'])),_0x198112['close'](),fs[_0x2bb8f7(0x10c)](_0x1cc74c);return;});}else{if(!fs[_0x1e51f5(0x101)](_0x30cc0e)){this['logger'][_0x1e51f5(0xe8)](util['format'](_0x2ef159['kbCoa'],_0x30cc0e));return;}const _0x16d6a9=fs[_0x1e51f5(0xec)](_0x30cc0e),_0x2cbf6b=_0x2ef159[_0x1e51f5(0x109)](_0x16d6a9[_0x1e51f5(0x10f)],_0x2ef159[_0x1e51f5(0xf9)](0x400,0x400));if(_0x2ef159['WGCQE'](_0x2cbf6b,0x64)){this[_0x1e51f5(0x127)]['debug'](util[_0x1e51f5(0xf1)](_0x2ef159[_0x1e51f5(0x13b)],_0x2cbf6b[_0x1e51f5(0x12c)](0x2)));return;}const _0x1a3aee=path[_0x1e51f5(0x12e)](_0x30cc0e),_0x475ebe=path[_0x1e51f5(0x107)](_0x4a6f1e,_0x1a3aee);fs[_0x1e51f5(0xfb)](_0x30cc0e,_0x475ebe),uploadAttachmentsManager[_0x1e51f5(0x138)](_0x475ebe,_0x2b0531);}}static[a80_0x24abc1(0x138)](_0x37b3ae,_0x291170){const _0x566fe1=a80_0x24abc1,_0x9f7e1f={};_0x9f7e1f[_0x566fe1(0xdc)]=_0x566fe1(0x137),_0x9f7e1f[_0x566fe1(0x116)]=_0x566fe1(0x115),_0x9f7e1f[_0x566fe1(0xf2)]=_0x566fe1(0xea),_0x9f7e1f[_0x566fe1(0xe7)]=_0x566fe1(0xfe);const _0x1598bb=_0x9f7e1f;try{const _0x3811c7=AutomationFramework[_0x566fe1(0x131)](),_0x3196ea=AutomationFramework[_0x566fe1(0x12f)](_0x3811c7,PlaywrightDriverModule[_0x566fe1(0xef)],''),_0x120e5b=TestInfo[_0x566fe1(0xd5)](_0x3196ea),_0x44563b=_0x120e5b[TestFrameworkConstants[_0x566fe1(0xe1)]]||{};_0x44563b[_0x37b3ae]={[TestFrameworkConstants[_0x566fe1(0xe2)]]:fs[_0x566fe1(0xec)](_0x37b3ae)[_0x566fe1(0x10f)],[TestFrameworkConstants[_0x566fe1(0x108)]]:path[_0x566fe1(0x12e)](_0x37b3ae),[TestFrameworkConstants[_0x566fe1(0x12d)]]:_0x37b3ae,[TestFrameworkConstants['KEY_FILE_LEVEL']]:_0x291170?_0x1598bb[_0x566fe1(0xdc)]:_0x1598bb[_0x566fe1(0x116)]},_0x120e5b[TestFrameworkConstants[_0x566fe1(0xe1)]]=_0x44563b,TestInfo[_0x566fe1(0xfa)](_0x3196ea,_0x120e5b),this['logger'][_0x566fe1(0xe8)](util[_0x566fe1(0xf1)](_0x1598bb[_0x566fe1(0xf2)],_0x37b3ae));}catch(_0x47c9e2){this[_0x566fe1(0x127)]['debug'](util['format'](_0x1598bb['BhqBt'],_0x47c9e2[_0x566fe1(0x139)]));}}static[a80_0x24abc1(0x125)](){const _0x5f20e9=a80_0x24abc1,_0x4c8ae6={};_0x4c8ae6[_0x5f20e9(0xe6)]=_0x5f20e9(0x111),_0x4c8ae6[_0x5f20e9(0x10a)]=_0x5f20e9(0x11d),_0x4c8ae6[_0x5f20e9(0x114)]=_0x5f20e9(0xe0);const _0x9902a4=_0x4c8ae6,_0x7bca44=os[_0x5f20e9(0x123)](),_0x1e9dae=path[_0x5f20e9(0x107)](_0x7bca44,_0x9902a4[_0x5f20e9(0xe6)]);if(!fs[_0x5f20e9(0x101)](_0x1e9dae))return;const _0xb8212=BrowserstackCLI[_0x5f20e9(0xdf)]()[_0x5f20e9(0xd8)][_0x5f20e9(0xf5)]?.['testhubConfig']?.[_0x5f20e9(0xed)]()?.[_0x5f20e9(0xe3)],_0x4ff35f=_0xb8212?path[_0x5f20e9(0x107)](_0x1e9dae,_0xb8212):null;if(!_0x4ff35f||!fs[_0x5f20e9(0x101)](_0x4ff35f)){this[_0x5f20e9(0x127)][_0x5f20e9(0xe8)](util[_0x5f20e9(0xf1)](_0x9902a4['uNsms'],_0xb8212));return;}const _0x3031f4={};_0x3031f4['recursive']=!![],_0x3031f4[_0x5f20e9(0x112)]=!![],fs[_0x5f20e9(0x13a)](_0x4ff35f,_0x3031f4),this['logger'][_0x5f20e9(0xe8)](util['format'](_0x9902a4[_0x5f20e9(0x114)]));}}module['exports']=uploadAttachmentsManager;