browserstack-node-sdk 1.42.3 → 1.42.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (176) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/cucumber-sessionDetails.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  50. package/src/bin/cucumber-js/playwright-patcher.js +1 -1
  51. package/src/bin/cucumber-js/test-observability.js +1 -1
  52. package/src/bin/cucumber-js/test.setup.js +1 -1
  53. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  54. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  55. package/src/bin/integrations/command.js +1 -1
  56. package/src/bin/integrations/constants.js +1 -1
  57. package/src/bin/jest/command.js +1 -1
  58. package/src/bin/jest/customImplements/customCircus.js +1 -1
  59. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  60. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  61. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  62. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  63. package/src/bin/jest/jest.setup.js +1 -1
  64. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  65. package/src/bin/jest/test-observability/helper.js +1 -1
  66. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  67. package/src/bin/jest/test-observability/test-details.js +1 -1
  68. package/src/bin/jest/test_before.setup.js +1 -1
  69. package/src/bin/launcher/launcher.js +1 -1
  70. package/src/bin/load/index.js +1 -1
  71. package/src/bin/load/loadUtils.js +1 -1
  72. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  73. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  74. package/src/bin/mocha/command.js +1 -1
  75. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  76. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  77. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  78. package/src/bin/mocha/test.setup.js +1 -1
  79. package/src/bin/nightwatch/command.js +1 -1
  80. package/src/bin/playwright/accessibility-helper.js +1 -1
  81. package/src/bin/playwright/command.js +1 -1
  82. package/src/bin/playwright/globalSetup.js +1 -1
  83. package/src/bin/playwright/mock-process.js +1 -1
  84. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  85. package/src/bin/playwright/patches.js +1 -1
  86. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  87. package/src/bin/playwright/reporter/reporter.js +1 -1
  88. package/src/bin/playwright/reporter/test-details.js +1 -1
  89. package/src/bin/playwright/sessionDetails.js +1 -1
  90. package/src/bin/runner.js +1 -1
  91. package/src/bin/setup.js +1 -1
  92. package/src/bin/test-runner/index.js +1 -1
  93. package/src/bin/test-runner/runTest.js +1 -1
  94. package/src/bin/test-runner/testWorker.js +1 -1
  95. package/src/bin/utils/constants.js +1 -1
  96. package/src/bin/utils/log4jsAppender.js +1 -1
  97. package/src/bin/utils/logPatcher.js +1 -1
  98. package/src/bin/utils/logReportingAPI.js +1 -1
  99. package/src/bin/v2/TestInfo.js +1 -1
  100. package/src/bin/v2/browserstackCLI.js +1 -1
  101. package/src/bin/v2/cliUtils.js +1 -1
  102. package/src/bin/v2/customTagManager.js +1 -1
  103. package/src/bin/v2/eventDispatcher.js +1 -1
  104. package/src/bin/v2/framework/automationFramework.js +1 -1
  105. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  106. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  107. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  108. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  109. package/src/bin/v2/framework/testFramework.js +1 -1
  110. package/src/bin/v2/grpcClient.js +1 -1
  111. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  112. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  113. package/src/bin/v2/instances/trackedContext.js +1 -1
  114. package/src/bin/v2/instances/trackedInstance.js +1 -1
  115. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  116. package/src/bin/v2/modules/baseModule.js +1 -1
  117. package/src/bin/v2/modules/observabilityModule.js +1 -1
  118. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  119. package/src/bin/v2/modules/testhubModule.js +1 -1
  120. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  121. package/src/bin/v2/state/hookState.js +1 -1
  122. package/src/bin/v2/state/testFrameworkState.js +1 -1
  123. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  124. package/src/bin/vanilla-js/command.js +1 -1
  125. package/src/browserStackSdk.js +1 -1
  126. package/src/helpers/BrowserStackSetup.js +1 -1
  127. package/src/helpers/accessibility-automation/constants.js +1 -1
  128. package/src/helpers/accessibility-automation/helper.js +1 -1
  129. package/src/helpers/accessibility-automation/scripts.js +1 -1
  130. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  131. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  132. package/src/helpers/ats/constants.js +1 -1
  133. package/src/helpers/ats/helper.js +1 -1
  134. package/src/helpers/capsMapping.js +1 -1
  135. package/src/helpers/central-scanner/constants.js +1 -1
  136. package/src/helpers/central-scanner/helpers.js +1 -1
  137. package/src/helpers/classLogger.js +1 -1
  138. package/src/helpers/globals.js +1 -1
  139. package/src/helpers/helper.js +1 -1
  140. package/src/helpers/logger.js +1 -1
  141. package/src/helpers/metadata.js +1 -1
  142. package/src/helpers/patchHelper.js +1 -1
  143. package/src/helpers/patchHelpers.js +1 -1
  144. package/src/helpers/percy/Percy.js +1 -1
  145. package/src/helpers/percy/PercyBinary.js +1 -1
  146. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  147. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  148. package/src/helpers/percy/PercySDK.js +1 -1
  149. package/src/helpers/percy/index.js +1 -1
  150. package/src/helpers/percy/utils.js +1 -1
  151. package/src/helpers/performance/constants.js +1 -1
  152. package/src/helpers/performance/performance-tester.js +1 -1
  153. package/src/helpers/playwright-helper.js +1 -1
  154. package/src/helpers/processHelper.js +1 -1
  155. package/src/helpers/request-spy.js +1 -1
  156. package/src/helpers/setKeepAlive.js +1 -1
  157. package/src/helpers/test-observability/constants.js +1 -1
  158. package/src/helpers/test-observability/error-handler.js +1 -1
  159. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  160. package/src/helpers/test-observability/sessionHandler.js +1 -1
  161. package/src/helpers/test-observability/utils.js +1 -1
  162. package/src/helpers/test-orchestration/constants.js +1 -1
  163. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  164. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  165. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  166. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  167. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  168. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  169. package/src/helpers/testhub/constants.js +1 -1
  170. package/src/helpers/testhub/testhubHandler.js +1 -1
  171. package/src/helpers/testhub/utils.js +1 -1
  172. package/src/helpers/timeoutPromise.js +1 -1
  173. package/src/helpers/utilities.js +1 -1
  174. package/src/helpers/w3cMapping.js +1 -1
  175. package/src/hubAllocationMethods.js +1 -1
  176. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a70_0x32866c=a70_0x4116;function a70_0x4116(_0x36fecb,_0x29f62d){const _0x131c53=a70_0x131c();return a70_0x4116=function(_0x41161b,_0x39c4e0){_0x41161b=_0x41161b-0x1de;let _0x242278=_0x131c53[_0x41161b];return _0x242278;},a70_0x4116(_0x36fecb,_0x29f62d);}function a70_0x131c(){const _0x175d70=['./trackedInstance','4336684WLgewa','10113LAaFVn','9323880RIQDYG','state','split','54245aUvUmw','624xHCWQC','getFrameworkVersion','1217PSLPPg','10fNXUmB','236mkNXZb','746541YUrine','toLocaleString','getFrameworkName','4|1|0|5|2|3','542BqwmKV','setState','lastState','getState','frameworkName','114vEtacf','../state/automationFrameworkState','frameworkVersion','52577ZhMdez','ZwFOJ','13UBbeFI'];a70_0x131c=function(){return _0x175d70;};return a70_0x131c();}(function(_0x2590c5,_0x2ecfc1){const _0x3a89f8=a70_0x4116,_0xab104f=_0x2590c5();while(!![]){try{const _0x659182=-parseInt(_0x3a89f8(0x1f0))/0x1*(parseInt(_0x3a89f8(0x1f7))/0x2)+parseInt(_0x3a89f8(0x1e9))/0x3*(-parseInt(_0x3a89f8(0x1f2))/0x4)+-parseInt(_0x3a89f8(0x1ed))/0x5*(parseInt(_0x3a89f8(0x1e1))/0x6)+parseInt(_0x3a89f8(0x1e4))/0x7*(parseInt(_0x3a89f8(0x1ee))/0x8)+parseInt(_0x3a89f8(0x1f3))/0x9*(parseInt(_0x3a89f8(0x1f1))/0xa)+-parseInt(_0x3a89f8(0x1e8))/0xb+-parseInt(_0x3a89f8(0x1ea))/0xc*(-parseInt(_0x3a89f8(0x1e6))/0xd);if(_0x659182===_0x2ecfc1)break;else _0xab104f['push'](_0xab104f['shift']());}catch(_0x2900e9){_0xab104f['push'](_0xab104f['shift']());}}}(a70_0x131c,0x4d536));const AutomationFrameworkState=require(a70_0x32866c(0x1e2)),TrackedInstance=require(a70_0x32866c(0x1e7)),now=new Date();class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x2eb970,_0x542368,_0x463cd0,_0x2bd9ab){const _0x3db18c=a70_0x32866c,_0x55d26c={};_0x55d26c[_0x3db18c(0x1e5)]=_0x3db18c(0x1f6);const _0x56e6b3=_0x55d26c,_0x27f505=_0x56e6b3['ZwFOJ'][_0x3db18c(0x1ec)]('|');let _0x1c4f12=0x0;while(!![]){switch(_0x27f505[_0x1c4f12++]){case'0':this[_0x3db18c(0x1e3)]=_0x463cd0;continue;case'1':this[_0x3db18c(0x1e0)]=_0x542368;continue;case'2':this[_0x3db18c(0x1de)]=AutomationFrameworkState['NONE'];continue;case'3':this['createdAt']=now[_0x3db18c(0x1f4)]();continue;case'4':super(_0x2eb970);continue;case'5':this[_0x3db18c(0x1eb)]=_0x2bd9ab;continue;}break;}}[a70_0x32866c(0x1f5)](){const _0x436e86=a70_0x32866c;return this[_0x436e86(0x1e0)];}[a70_0x32866c(0x1ef)](){const _0x564189=a70_0x32866c;return this[_0x564189(0x1e3)];}[a70_0x32866c(0x1df)](){const _0x47d9a1=a70_0x32866c;return this[_0x47d9a1(0x1eb)];}[a70_0x32866c(0x1f8)](_0x55761e){const _0x48314e=a70_0x32866c;this[_0x48314e(0x1de)]=this['state'],this['state']=_0x55761e;}}module['exports']=AutomationFrameworkInstance;
1
+ function a70_0x33b2(){const _0x581de4=['getFrameworkName','696130PLWnrz','frameworkName','2307976uzwOAG','toLocaleString','../state/automationFrameworkState','iGviy','setState','5|4|3|1|2|0','347293RbxMmf','frameworkVersion','exports','168xmdwWk','getState','7WmaSMt','2178452dbSiux','createdAt','split','state','13619754tqhzHg','2771562cUlxUJ','5367EGwVnL','./trackedInstance','lastState'];a70_0x33b2=function(){return _0x581de4;};return a70_0x33b2();}const a70_0x5bea04=a70_0x28bb;function a70_0x28bb(_0x13f0c6,_0x4aa2f6){const _0x33b263=a70_0x33b2();return a70_0x28bb=function(_0x28bb14,_0x57ba2f){_0x28bb14=_0x28bb14-0xff;let _0x1f70b9=_0x33b263[_0x28bb14];return _0x1f70b9;},a70_0x28bb(_0x13f0c6,_0x4aa2f6);}(function(_0x2cdbdd,_0x27a122){const _0x2cf2cb=a70_0x28bb,_0x3405c6=_0x2cdbdd();while(!![]){try{const _0xddb1dc=parseInt(_0x2cf2cb(0x103))/0x1+parseInt(_0x2cf2cb(0x106))/0x2*(-parseInt(_0x2cf2cb(0x10f))/0x3)+-parseInt(_0x2cf2cb(0x109))/0x4+-parseInt(_0x2cf2cb(0x113))/0x5+parseInt(_0x2cf2cb(0x10e))/0x6*(-parseInt(_0x2cf2cb(0x108))/0x7)+-parseInt(_0x2cf2cb(0x115))/0x8+parseInt(_0x2cf2cb(0x10d))/0x9;if(_0xddb1dc===_0x27a122)break;else _0x3405c6['push'](_0x3405c6['shift']());}catch(_0x44d94b){_0x3405c6['push'](_0x3405c6['shift']());}}}(a70_0x33b2,0x4365c));const AutomationFrameworkState=require(a70_0x5bea04(0xff)),TrackedInstance=require(a70_0x5bea04(0x110)),now=new Date();class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x11ae5a,_0x1fd483,_0x3004c2,_0x4e2c93){const _0x29182e=a70_0x5bea04,_0xc173c8={};_0xc173c8['iGviy']=_0x29182e(0x102);const _0x695404=_0xc173c8,_0x49029d=_0x695404[_0x29182e(0x100)][_0x29182e(0x10b)]('|');let _0x38cfce=0x0;while(!![]){switch(_0x49029d[_0x38cfce++]){case'0':this[_0x29182e(0x10a)]=now[_0x29182e(0x116)]();continue;case'1':this[_0x29182e(0x10c)]=_0x4e2c93;continue;case'2':this[_0x29182e(0x111)]=AutomationFrameworkState['NONE'];continue;case'3':this['frameworkVersion']=_0x3004c2;continue;case'4':this[_0x29182e(0x114)]=_0x1fd483;continue;case'5':super(_0x11ae5a);continue;}break;}}[a70_0x5bea04(0x112)](){const _0x11e825=a70_0x5bea04;return this[_0x11e825(0x114)];}['getFrameworkVersion'](){const _0x6da8fa=a70_0x5bea04;return this[_0x6da8fa(0x104)];}[a70_0x5bea04(0x107)](){const _0x4ea1d5=a70_0x5bea04;return this[_0x4ea1d5(0x10c)];}[a70_0x5bea04(0x101)](_0x5d31cc){const _0x93e698=a70_0x5bea04;this[_0x93e698(0x111)]=this['state'],this[_0x93e698(0x10c)]=_0x5d31cc;}}module[a70_0x5bea04(0x105)]=AutomationFrameworkInstance;
@@ -1 +1 @@
1
- const a71_0x2bf088=a71_0x4ed0;(function(_0x5c1d67,_0x164289){const _0x3ba53f=a71_0x4ed0,_0x5f031f=_0x5c1d67();while(!![]){try{const _0x595636=-parseInt(_0x3ba53f(0x158))/0x1+-parseInt(_0x3ba53f(0x145))/0x2*(parseInt(_0x3ba53f(0x143))/0x3)+parseInt(_0x3ba53f(0x14b))/0x4+-parseInt(_0x3ba53f(0x153))/0x5+parseInt(_0x3ba53f(0x147))/0x6+parseInt(_0x3ba53f(0x151))/0x7+parseInt(_0x3ba53f(0x144))/0x8;if(_0x595636===_0x164289)break;else _0x5f031f['push'](_0x5f031f['shift']());}catch(_0x50dc95){_0x5f031f['push'](_0x5f031f['shift']());}}}(a71_0x3ed2,0x733f7));function a71_0x3ed2(){const _0x2037bb=['toLocaleString','currentTestState','setCurrentTestState','currentHookState','167279lCObJv','getLastHookState','3397420SUsmqC','getCurrentHookState','./trackedContext','setLastHookState','../state/testFrameworkState','35175trnlwC','0|3|7|4|5|1|6|2','../../../helpers/classLogger','setCurrentHookState','getCreatedAt','./trackedInstance','lastHookState','createdAt','getLastTestState','split','setLastTestState','testFrameworksVersions','1622853omkjGm','8063128TrcvxO','2ylHtgm','NONE','3893322iqYDwr','lastTestState','testFrameworks','tTdEV','187960yZoXnW','getCurrentTestState'];a71_0x3ed2=function(){return _0x2037bb;};return a71_0x3ed2();}const {createClassLogger}=require(a71_0x2bf088(0x15a)),logger=createClassLogger('TrackedInstance'),HookState=require('../state/hookState'),TestFrameworkState=require(a71_0x2bf088(0x157)),TrackedContext=require(a71_0x2bf088(0x155)),TrackedInstance=require(a71_0x2bf088(0x15d)),now=new Date();class TestFrameworkInstance extends TrackedInstance{constructor(_0x107de0,_0xb24f12,_0x4da83d,_0x1ae807,_0x4d2a06){const _0x43746a=a71_0x2bf088,_0x1a93c6={};_0x1a93c6[_0x43746a(0x14a)]=_0x43746a(0x159);const _0x133167=_0x1a93c6,_0x137954=_0x133167[_0x43746a(0x14a)][_0x43746a(0x161)]('|');let _0x534cea=0x0;while(!![]){switch(_0x137954[_0x534cea++]){case'0':super(_0x107de0);continue;case'1':this[_0x43746a(0x148)]=TestFrameworkState[_0x43746a(0x146)];continue;case'2':this[_0x43746a(0x15f)]=now[_0x43746a(0x14d)]();continue;case'3':this[_0x43746a(0x149)]=_0xb24f12;continue;case'4':this[_0x43746a(0x14e)]=_0x1ae807;continue;case'5':this['currentHookState']=_0x4d2a06;continue;case'6':this[_0x43746a(0x15e)]=HookState[_0x43746a(0x146)];continue;case'7':this[_0x43746a(0x142)]=_0x4da83d;continue;}break;}}[a71_0x2bf088(0x14c)](){const _0x45bb55=a71_0x2bf088;return this[_0x45bb55(0x14e)];}[a71_0x2bf088(0x14f)](_0x22bf36){const _0x57e693=a71_0x2bf088;this['setLastTestState'](this['currentTestState']),this[_0x57e693(0x14e)]=_0x22bf36;}[a71_0x2bf088(0x154)](){const _0x37f56e=a71_0x2bf088;return this[_0x37f56e(0x150)];}[a71_0x2bf088(0x15b)](_0x117146){const _0x26d809=a71_0x2bf088;this[_0x26d809(0x156)](this[_0x26d809(0x150)]),this[_0x26d809(0x150)]=_0x117146;}[a71_0x2bf088(0x160)](){return this['lastTestState'];}[a71_0x2bf088(0x162)](_0x112eb2){const _0x545d90=a71_0x2bf088;this[_0x545d90(0x148)]=_0x112eb2;}[a71_0x2bf088(0x152)](){const _0x2bf40c=a71_0x2bf088;return this[_0x2bf40c(0x15e)];}[a71_0x2bf088(0x156)](_0xd4bdf2){const _0x576039=a71_0x2bf088;this[_0x576039(0x15e)]=_0xd4bdf2;}[a71_0x2bf088(0x15c)](){const _0x3598c9=a71_0x2bf088;return this[_0x3598c9(0x15f)];}}function a71_0x4ed0(_0x78752d,_0x3bf247){const _0x3ed27f=a71_0x3ed2();return a71_0x4ed0=function(_0x4ed0b0,_0x58f3b9){_0x4ed0b0=_0x4ed0b0-0x142;let _0x2a1450=_0x3ed27f[_0x4ed0b0];return _0x2a1450;},a71_0x4ed0(_0x78752d,_0x3bf247);}module['exports']=TestFrameworkInstance;
1
+ const a71_0x4a6554=a71_0x3e9a;function a71_0x3e9a(_0x188ce1,_0x2dad9c){const _0x33dd43=a71_0x33dd();return a71_0x3e9a=function(_0x3e9a24,_0x255fac){_0x3e9a24=_0x3e9a24-0x82;let _0x355420=_0x33dd43[_0x3e9a24];return _0x355420;},a71_0x3e9a(_0x188ce1,_0x2dad9c);}(function(_0x4fb3ff,_0x406842){const _0x153756=a71_0x3e9a,_0x3a8d6c=_0x4fb3ff();while(!![]){try{const _0x3f45bf=-parseInt(_0x153756(0x99))/0x1*(-parseInt(_0x153756(0xa1))/0x2)+parseInt(_0x153756(0x94))/0x3+-parseInt(_0x153756(0xa2))/0x4+-parseInt(_0x153756(0x87))/0x5+parseInt(_0x153756(0x98))/0x6*(parseInt(_0x153756(0x8c))/0x7)+parseInt(_0x153756(0x92))/0x8*(parseInt(_0x153756(0x91))/0x9)+-parseInt(_0x153756(0x8a))/0xa;if(_0x3f45bf===_0x406842)break;else _0x3a8d6c['push'](_0x3a8d6c['shift']());}catch(_0x45fde8){_0x3a8d6c['push'](_0x3a8d6c['shift']());}}}(a71_0x33dd,0xda7a1));function a71_0x33dd(){const _0x4b51e8=['gHPhr','getCreatedAt','setLastTestState','5238MbTUGx','5043320LZfzJK','lastTestState','lastHookState','5|6|4|1|2|3|7|0','./trackedContext','../state/testFrameworkState','split','8826355JUXjPm','TrackedInstance','../state/hookState','4448230XwfVCP','../../../helpers/classLogger','79303poECQB','./trackedInstance','getCurrentHookState','testFrameworks','getLastHookState','1107RnKcpx','54904MLMvdg','currentHookState','4871844qpLPlw','testFrameworksVersions','currentTestState','NONE','582LdzBnh','305GBxkdC','toLocaleString','createdAt','setCurrentTestState','setLastHookState'];a71_0x33dd=function(){return _0x4b51e8;};return a71_0x33dd();}const {createClassLogger}=require(a71_0x4a6554(0x8b)),logger=createClassLogger(a71_0x4a6554(0x88)),HookState=require(a71_0x4a6554(0x89)),TestFrameworkState=require(a71_0x4a6554(0x85)),TrackedContext=require(a71_0x4a6554(0x84)),TrackedInstance=require(a71_0x4a6554(0x8d)),now=new Date();class TestFrameworkInstance extends TrackedInstance{constructor(_0x52cdea,_0x44c550,_0x36d1ca,_0x2557cc,_0x4449f2){const _0x17b5ad=a71_0x4a6554,_0x1515f2={};_0x1515f2['gHPhr']=_0x17b5ad(0x83);const _0x21c63d=_0x1515f2,_0x4c6454=_0x21c63d[_0x17b5ad(0x9e)][_0x17b5ad(0x86)]('|');let _0x247389=0x0;while(!![]){switch(_0x4c6454[_0x247389++]){case'0':this[_0x17b5ad(0x9b)]=now[_0x17b5ad(0x9a)]();continue;case'1':this[_0x17b5ad(0x96)]=_0x2557cc;continue;case'2':this[_0x17b5ad(0x93)]=_0x4449f2;continue;case'3':this['lastTestState']=TestFrameworkState[_0x17b5ad(0x97)];continue;case'4':this[_0x17b5ad(0x95)]=_0x36d1ca;continue;case'5':super(_0x52cdea);continue;case'6':this[_0x17b5ad(0x8f)]=_0x44c550;continue;case'7':this[_0x17b5ad(0x82)]=HookState[_0x17b5ad(0x97)];continue;}break;}}['getCurrentTestState'](){const _0x10cfaa=a71_0x4a6554;return this[_0x10cfaa(0x96)];}[a71_0x4a6554(0x9c)](_0x2ca29c){const _0x3c177e=a71_0x4a6554;this[_0x3c177e(0xa0)](this[_0x3c177e(0x96)]),this[_0x3c177e(0x96)]=_0x2ca29c;}[a71_0x4a6554(0x8e)](){const _0x45f12a=a71_0x4a6554;return this[_0x45f12a(0x93)];}['setCurrentHookState'](_0x2e6aa2){const _0x1fda5b=a71_0x4a6554;this['setLastHookState'](this[_0x1fda5b(0x93)]),this[_0x1fda5b(0x93)]=_0x2e6aa2;}['getLastTestState'](){return this['lastTestState'];}['setLastTestState'](_0x243cf6){const _0x46254b=a71_0x4a6554;this[_0x46254b(0xa3)]=_0x243cf6;}[a71_0x4a6554(0x90)](){return this['lastHookState'];}[a71_0x4a6554(0x9d)](_0x51147c){this['lastHookState']=_0x51147c;}[a71_0x4a6554(0x9f)](){const _0x327f79=a71_0x4a6554;return this[_0x327f79(0x9b)];}}module['exports']=TestFrameworkInstance;
@@ -1 +1 @@
1
- const a72_0x28641d=a72_0x5d43;function a72_0x5d43(_0x4bf523,_0x1bc317){const _0x2c26b0=a72_0x2c26();return a72_0x5d43=function(_0x5d43d7,_0xfca54c){_0x5d43d7=_0x5d43d7-0x1c4;let _0x46a362=_0x2c26b0[_0x5d43d7];return _0x46a362;},a72_0x5d43(_0x4bf523,_0x1bc317);}(function(_0x11e03b,_0x12cc3b){const _0x38813e=a72_0x5d43,_0x151d20=_0x11e03b();while(!![]){try{const _0x89a937=parseInt(_0x38813e(0x1d6))/0x1+parseInt(_0x38813e(0x1c7))/0x2+parseInt(_0x38813e(0x1d5))/0x3*(-parseInt(_0x38813e(0x1d3))/0x4)+parseInt(_0x38813e(0x1d2))/0x5+-parseInt(_0x38813e(0x1d0))/0x6*(parseInt(_0x38813e(0x1c9))/0x7)+-parseInt(_0x38813e(0x1d1))/0x8+parseInt(_0x38813e(0x1c4))/0x9*(parseInt(_0x38813e(0x1ca))/0xa);if(_0x89a937===_0x12cc3b)break;else _0x151d20['push'](_0x151d20['shift']());}catch(_0x3854ed){_0x151d20['push'](_0x151d20['shift']());}}}(a72_0x2c26,0xcd159));const {createClassLogger}=require(a72_0x28641d(0x1cb)),logger=createClassLogger(a72_0x28641d(0x1cf));function a72_0x2c26(){const _0x494e14=['TrackedContext','24CtysSd','6841432VxmCFp','6797510Xsclal','529812FWuVIf','getProcessId','33qiUMVp','712279EMskEn','9ePmAot','getType','processId','1690378QCIETX','threadId','2547629rhnvcS','16910050byFepi','../../../helpers/classLogger','getThreadId','getId','type'];a72_0x2c26=function(){return _0x494e14;};return a72_0x2c26();}class TrackedContext{constructor(_0x510785,_0x371f35,_0x2e3153,_0x2236d9){const _0x457e9f=a72_0x28641d;this['id']=_0x510785,this[_0x457e9f(0x1c8)]=_0x371f35,this[_0x457e9f(0x1c6)]=_0x2e3153,this['type']=_0x2236d9;}[a72_0x28641d(0x1cc)](){const _0x4ef7e5=a72_0x28641d;return this[_0x4ef7e5(0x1c8)];}[a72_0x28641d(0x1d4)](){const _0x529b98=a72_0x28641d;return this[_0x529b98(0x1c6)];}[a72_0x28641d(0x1cd)](){return this['id'];}[a72_0x28641d(0x1c5)](){const _0x546e93=a72_0x28641d;return this[_0x546e93(0x1ce)];}}module['exports']=TrackedContext;
1
+ function a72_0xe67d(_0x4bcd17,_0x2c153b){const _0x237f27=a72_0x237f();return a72_0xe67d=function(_0xe67d18,_0x4f4fba){_0xe67d18=_0xe67d18-0xa3;let _0x3afdb2=_0x237f27[_0xe67d18];return _0x3afdb2;},a72_0xe67d(_0x4bcd17,_0x2c153b);}const a72_0x5e5456=a72_0xe67d;(function(_0x48a0ce,_0x496380){const _0x27e2be=a72_0xe67d,_0x1eeea0=_0x48a0ce();while(!![]){try{const _0x439222=-parseInt(_0x27e2be(0xab))/0x1*(parseInt(_0x27e2be(0xb2))/0x2)+parseInt(_0x27e2be(0xb1))/0x3*(parseInt(_0x27e2be(0xa7))/0x4)+parseInt(_0x27e2be(0xaa))/0x5*(parseInt(_0x27e2be(0xa6))/0x6)+-parseInt(_0x27e2be(0xac))/0x7*(parseInt(_0x27e2be(0xae))/0x8)+parseInt(_0x27e2be(0xaf))/0x9+parseInt(_0x27e2be(0xb5))/0xa*(parseInt(_0x27e2be(0xb3))/0xb)+-parseInt(_0x27e2be(0xad))/0xc;if(_0x439222===_0x496380)break;else _0x1eeea0['push'](_0x1eeea0['shift']());}catch(_0x338fbe){_0x1eeea0['push'](_0x1eeea0['shift']());}}}(a72_0x237f,0x7f041));const {createClassLogger}=require('../../../helpers/classLogger'),logger=createClassLogger('TrackedContext');function a72_0x237f(){const _0x40a577=['215090rlPnaV','11imLkwm','processId','9111980ciZzvJ','exports','getProcessId','type','6NKPprR','216BfyLVn','getType','threadId','2160310RuyzPR','7VSLqlZ','14YYOxNv','10021056Pgtasb','282712BdxIFe','5678748ggzeLo','getThreadId','11367HAzjTd'];a72_0x237f=function(){return _0x40a577;};return a72_0x237f();}class TrackedContext{constructor(_0x304646,_0x49ee52,_0x167313,_0x562fbd){const _0x1fc55d=a72_0xe67d;this['id']=_0x304646,this[_0x1fc55d(0xa9)]=_0x49ee52,this[_0x1fc55d(0xb4)]=_0x167313,this[_0x1fc55d(0xa5)]=_0x562fbd;}[a72_0x5e5456(0xb0)](){const _0x48215b=a72_0x5e5456;return this[_0x48215b(0xa9)];}[a72_0x5e5456(0xa4)](){const _0x5568b3=a72_0x5e5456;return this[_0x5568b3(0xb4)];}['getId'](){return this['id'];}[a72_0x5e5456(0xa8)](){const _0x5a4b37=a72_0x5e5456;return this[_0x5a4b37(0xa5)];}}module[a72_0x5e5456(0xa3)]=TrackedContext;
@@ -1 +1 @@
1
- const a73_0x1e3d4d=a73_0x2bfd;(function(_0xf5826d,_0x289d5f){const _0x481a01=a73_0x2bfd,_0x541416=_0xf5826d();while(!![]){try{const _0x116b0a=-parseInt(_0x481a01(0xa5))/0x1+parseInt(_0x481a01(0xaf))/0x2*(parseInt(_0x481a01(0xa3))/0x3)+-parseInt(_0x481a01(0xb2))/0x4*(-parseInt(_0x481a01(0xac))/0x5)+-parseInt(_0x481a01(0xa7))/0x6*(-parseInt(_0x481a01(0xa2))/0x7)+parseInt(_0x481a01(0x9d))/0x8+parseInt(_0x481a01(0xb1))/0x9+parseInt(_0x481a01(0xae))/0xa*(-parseInt(_0x481a01(0xb9))/0xb);if(_0x116b0a===_0x289d5f)break;else _0x541416['push'](_0x541416['shift']());}catch(_0x294533){_0x541416['push'](_0x541416['shift']());}}}(a73_0x2591,0x84ec5));function a73_0x2bfd(_0x5dff44,_0x339934){const _0x25912c=a73_0x2591();return a73_0x2bfd=function(_0x2bfd0a,_0x193459){_0x2bfd0a=_0x2bfd0a-0x9c;let _0x1215a1=_0x25912c[_0x2bfd0a];return _0x1215a1;},a73_0x2bfd(_0x5dff44,_0x339934);}const TrackedContext=require(a73_0x1e3d4d(0xab)),crypto=require(a73_0x1e3d4d(0xa9)),{threadId}=require(a73_0x1e3d4d(0xbb));function a73_0x2591(){const _0x546d7e=['createContext','564mpPaAn','set','crypto','get','./trackedContext','290tVmCqD','keys','125450ogTvUB','452SFtCle','digest','2268207gamxup','67888sqshAG','getRef','getAllData','context','createHash','getId','Tkhqq','1100EMYXgw','forEach','worker_threads','getContext','3515848cvHXgI','getData','KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','isBrowserstackAutomationSession','data','14WxBjLE','12234oaSkLq','update','798743WSUPTe'];a73_0x2591=function(){return _0x546d7e;};return a73_0x2591();}class TrackedInstance{static [a73_0x1e3d4d(0x9f)]=a73_0x1e3d4d(0xa0);constructor(_0x3aa219){const _0x54a2a1=a73_0x1e3d4d;this[_0x54a2a1(0xb5)]=_0x3aa219,this['data']=new Map();}[a73_0x1e3d4d(0xb3)](){const _0x7c7bb4=a73_0x1e3d4d;return this[_0x7c7bb4(0xb5)][_0x7c7bb4(0xb7)]();}[a73_0x1e3d4d(0x9c)](){const _0x34a8f2=a73_0x1e3d4d;return this[_0x34a8f2(0xb5)];}[a73_0x1e3d4d(0xb4)](){const _0xcbf59c=a73_0x1e3d4d;return this[_0xcbf59c(0xa1)];}['updateMultipleEntries'](_0x4e70d8){const _0xe301ca=a73_0x1e3d4d;Object[_0xe301ca(0xad)](_0x4e70d8)[_0xe301ca(0xba)](_0x146195=>{const _0x191a92=_0xe301ca;this['data'][_0x191a92(0xa8)](_0x146195,_0x4e70d8[_0x146195]);});}['addMultipleEntries'](_0x7c32f9){const _0x32e7c4=a73_0x1e3d4d;Object['entries'](_0x7c32f9)[_0x32e7c4(0xba)](([_0x4d8e19,_0x4bb9d9])=>{const _0x93971c=_0x32e7c4,_0xb61ae3=this['data'][_0x93971c(0xaa)](_0x4d8e19)||{},_0x50a64b={..._0xb61ae3,..._0x4bb9d9},_0x7deafa=_0x50a64b;this[_0x93971c(0xa1)][_0x93971c(0xa8)](_0x4d8e19,_0x7deafa);});}[a73_0x1e3d4d(0x9e)](_0x328bc6){const _0x59457a=a73_0x1e3d4d;return this[_0x59457a(0xa1)]['get'](_0x328bc6);}['updateData'](_0x149afc,_0xd1f7da){const _0x32ede4=a73_0x1e3d4d;this[_0x32ede4(0xa1)]['set'](_0x149afc,_0xd1f7da);}static[a73_0x1e3d4d(0xa6)](_0x456d62){const _0x396b68=a73_0x1e3d4d,_0x275e2e={};_0x275e2e['wBoKy']='sha256',_0x275e2e[_0x396b68(0xb8)]='hex',_0x275e2e['gGoUh']=function(_0x5d6868,_0x5c182c){return _0x5d6868||_0x5c182c;};const _0x4bfcd5=_0x275e2e;return new TrackedContext(crypto[_0x396b68(0xb6)](_0x4bfcd5['wBoKy'])[_0x396b68(0xa4)](_0x456d62)[_0x396b68(0xb0)](_0x4bfcd5['Tkhqq']),_0x4bfcd5['gGoUh'](threadId,0x0),process['pid'],typeof _0x456d62);}}module['exports']=TrackedInstance;
1
+ const a73_0x22879e=a73_0x586a;(function(_0x3dbc54,_0x57eb8f){const _0x912b9b=a73_0x586a,_0x4aa16d=_0x3dbc54();while(!![]){try{const _0x4c9333=parseInt(_0x912b9b(0x138))/0x1*(-parseInt(_0x912b9b(0x12e))/0x2)+parseInt(_0x912b9b(0x122))/0x3+parseInt(_0x912b9b(0x133))/0x4*(parseInt(_0x912b9b(0x131))/0x5)+-parseInt(_0x912b9b(0x13b))/0x6+parseInt(_0x912b9b(0x123))/0x7+-parseInt(_0x912b9b(0x121))/0x8*(-parseInt(_0x912b9b(0x135))/0x9)+-parseInt(_0x912b9b(0x11e))/0xa;if(_0x4c9333===_0x57eb8f)break;else _0x4aa16d['push'](_0x4aa16d['shift']());}catch(_0x77e4c7){_0x4aa16d['push'](_0x4aa16d['shift']());}}}(a73_0x158f,0x2bb1c));function a73_0x158f(){const _0x23e779=['KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','exports','227823vxrGYX','addMultipleEntries','./trackedContext','1332186CxKZTF','getData','data','createHash','crypto','PSgMS','get','updateMultipleEntries','1448700CRMDyc','NccGI','keys','8EywkLj','180408xHyOlT','2139900zEmsRr','xmTBD','forEach','getContext','sha256','updateData','getId','context','isBrowserstackAutomationSession','set','entries','2yeYRmB','worker_threads','update','5jTYcrc','hex','1148196xEDQWS','pid','1087299iLKvGB'];a73_0x158f=function(){return _0x23e779;};return a73_0x158f();}const TrackedContext=require(a73_0x22879e(0x13a)),crypto=require(a73_0x22879e(0x11a)),{threadId}=require(a73_0x22879e(0x12f));function a73_0x586a(_0x1243b1,_0x51f7a7){const _0x158ffd=a73_0x158f();return a73_0x586a=function(_0x586a45,_0x5474e4){_0x586a45=_0x586a45-0x117;let _0xeb743e=_0x158ffd[_0x586a45];return _0xeb743e;},a73_0x586a(_0x1243b1,_0x51f7a7);}class TrackedInstance{static [a73_0x22879e(0x136)]=a73_0x22879e(0x12b);constructor(_0x5ba714){const _0x1ed03b=a73_0x22879e;this[_0x1ed03b(0x12a)]=_0x5ba714,this[_0x1ed03b(0x118)]=new Map();}['getRef'](){const _0x3ac7b8=a73_0x22879e;return this[_0x3ac7b8(0x12a)][_0x3ac7b8(0x129)]();}[a73_0x22879e(0x126)](){const _0x928ba9=a73_0x22879e;return this[_0x928ba9(0x12a)];}['getAllData'](){return this['data'];}[a73_0x22879e(0x11d)](_0x4395ef){const _0x42fb52=a73_0x22879e;Object[_0x42fb52(0x120)](_0x4395ef)[_0x42fb52(0x125)](_0x307bd5=>{const _0x1ede15=_0x42fb52;this[_0x1ede15(0x118)][_0x1ede15(0x12c)](_0x307bd5,_0x4395ef[_0x307bd5]);});}[a73_0x22879e(0x139)](_0x41668b){const _0x1bef30=a73_0x22879e;Object[_0x1bef30(0x12d)](_0x41668b)[_0x1bef30(0x125)](([_0x49244f,_0xbcd4ad])=>{const _0x42d620=_0x1bef30,_0x41d86a=this['data'][_0x42d620(0x11c)](_0x49244f)||{},_0x2ee972={..._0x41d86a,..._0xbcd4ad},_0x4374f4=_0x2ee972;this['data'][_0x42d620(0x12c)](_0x49244f,_0x4374f4);});}[a73_0x22879e(0x117)](_0x5d2de3){return this['data']['get'](_0x5d2de3);}[a73_0x22879e(0x128)](_0x4d9186,_0x34563b){const _0x3e631d=a73_0x22879e;this[_0x3e631d(0x118)][_0x3e631d(0x12c)](_0x4d9186,_0x34563b);}static['createContext'](_0x547cb0){const _0x14a1ef=a73_0x22879e,_0x2db1d8={};_0x2db1d8['NccGI']=_0x14a1ef(0x127),_0x2db1d8[_0x14a1ef(0x124)]=_0x14a1ef(0x132),_0x2db1d8[_0x14a1ef(0x11b)]=function(_0x3a7b22,_0x3b8947){return _0x3a7b22||_0x3b8947;};const _0xbbdb85=_0x2db1d8;return new TrackedContext(crypto[_0x14a1ef(0x119)](_0xbbdb85[_0x14a1ef(0x11f)])[_0x14a1ef(0x130)](_0x547cb0)['digest'](_0xbbdb85[_0x14a1ef(0x124)]),_0xbbdb85['PSgMS'](threadId,0x0),process[_0x14a1ef(0x134)],typeof _0x547cb0);}}module[a73_0x22879e(0x137)]=TrackedInstance;
@@ -1 +1 @@
1
- const a74_0x3d2440=a74_0x1f18;(function(_0x314db9,_0x172994){const _0x299a14=a74_0x1f18,_0x81864d=_0x314db9();while(!![]){try{const _0x511813=parseInt(_0x299a14(0x169))/0x1+-parseInt(_0x299a14(0x14a))/0x2+parseInt(_0x299a14(0x168))/0x3+-parseInt(_0x299a14(0x139))/0x4*(-parseInt(_0x299a14(0x14c))/0x5)+-parseInt(_0x299a14(0x131))/0x6+parseInt(_0x299a14(0x155))/0x7*(parseInt(_0x299a14(0x165))/0x8)+-parseInt(_0x299a14(0x156))/0x9;if(_0x511813===_0x172994)break;else _0x81864d['push'](_0x81864d['shift']());}catch(_0x379e74){_0x81864d['push'](_0x81864d['shift']());}}}(a74_0x3a69,0x5d656));const BaseModule=require('./baseModule'),{createClassLogger}=require(a74_0x3d2440(0x162)),CLIUtils=require(a74_0x3d2440(0x154)),AutomationFramework=require('../framework/automationFramework'),AutomationFrameworkState=require(a74_0x3d2440(0x178)),HookState=require(a74_0x3d2440(0x17f)),GrpcClient=require('../grpcClient'),scripts=require(a74_0x3d2440(0x13e)),logger=createClassLogger('TrackedInstance'),PerformanceTester=require(a74_0x3d2440(0x16b)),{EVENTS}=require(a74_0x3d2440(0x185));class AccessibilityModule extends BaseModule{static [a74_0x3d2440(0x17c)]=AccessibilityModule['name'];constructor(_0x1a31bc){const _0x1c7c47=a74_0x3d2440,_0x5aedd8={};_0x5aedd8['oMOiL']=_0x1c7c47(0x160);const _0x348157=_0x5aedd8,_0x497fe7=_0x348157[_0x1c7c47(0x170)][_0x1c7c47(0x157)]('|');let _0x4a81a5=0x0;while(!![]){switch(_0x497fe7[_0x4a81a5++]){case'0':this[_0x1c7c47(0x14f)]=[];continue;case'1':this[_0x1c7c47(0x17d)]=!![];continue;case'2':AutomationFramework[_0x1c7c47(0x13d)](AutomationFrameworkState[_0x1c7c47(0x148)],HookState[_0x1c7c47(0x146)],this[_0x1c7c47(0x15b)]['bind'](this));continue;case'3':this[_0x1c7c47(0x15f)](_0x1a31bc[_0x1c7c47(0x13b)]()[_0x1c7c47(0x132)]());continue;case'4':this['LOG_DISABLED_SHOWN']=new Map();continue;case'5':super();continue;case'6':this[_0x1c7c47(0x167)]=new Map();continue;case'7':this[_0x1c7c47(0x163)]=![];continue;case'8':AutomationFramework[_0x1c7c47(0x13d)](AutomationFrameworkState[_0x1c7c47(0x15e)],HookState['PRE'],this[_0x1c7c47(0x136)]['bind'](this));continue;case'9':this[_0x1c7c47(0x14e)]=_0x1a31bc[_0x1c7c47(0x16a)]();continue;case'10':AutomationFramework[_0x1c7c47(0x13d)](AutomationFrameworkState[_0x1c7c47(0x166)],HookState['PRE'],this[_0x1c7c47(0x164)][_0x1c7c47(0x15d)](this));continue;}break;}}[a74_0x3d2440(0x17d)](){return this['isEnabled'];}['getModuleName'](){return AccessibilityModule['MODULE_NAME'];}['getCurrentAccessibilityStatus'](){const _0x31983d=a74_0x3d2440;return this[_0x31983d(0x167)][_0x31983d(0x159)](CLIUtils[_0x31983d(0x149)](),![]);}[a74_0x3d2440(0x143)](){const _0x596676=a74_0x3d2440;return this['LOG_DISABLED_SHOWN'][_0x596676(0x159)](CLIUtils['getCurrentInstanceName'](),![]);}[a74_0x3d2440(0x130)](_0x43a2ff){const _0x943b74=a74_0x3d2440;this[_0x943b74(0x152)]['put'](CLIUtils[_0x943b74(0x149)](),_0x43a2ff);}async[a74_0x3d2440(0x15b)](_0x44c0a2){const _0x4187c3=a74_0x3d2440;try{PerformanceTester[_0x4187c3(0x13c)](EVENTS[_0x4187c3(0x16e)]);const _0x305417=await GrpcClient[_0x4187c3(0x181)]()[_0x4187c3(0x177)](_0x44c0a2);_0x305417&&_0x305417[_0x4187c3(0x13f)]()&&_0x305417['getAccessibility']()[_0x4187c3(0x14b)]()&&(global[_0x4187c3(0x176)]=!![],process[_0x4187c3(0x16c)][_0x4187c3(0x137)]=!![],this[_0x4187c3(0x17e)](_0x305417,_0x44c0a2)),PerformanceTester['end'](EVENTS['SDK_ACCESSIBILITY_CONFIG']);}catch(_0x16d417){PerformanceTester[_0x4187c3(0x140)](EVENTS[_0x4187c3(0x16e)],![],_0x16d417[_0x4187c3(0x15a)]),logger[_0x4187c3(0x16d)](_0x4187c3(0x172)+(_0x16d417['stack']||_0x16d417['message']));}}['getGoogleChromeOptions'](){const _0xa3eb23=a74_0x3d2440;return this[_0xa3eb23(0x14f)]['find'](_0x14a108=>_0x14a108[_0xa3eb23(0x150)]()===_0xa3eb23(0x133))?.['getValue']()||'';}async[a74_0x3d2440(0x17e)](_0x1ef864,_0x2ec328){const _0x2c2ab8=a74_0x3d2440,_0x4b8abe=_0x1ef864[_0x2c2ab8(0x13f)]()[_0x2c2ab8(0x13b)](),_0x5d4f8e=_0x4b8abe[_0x2c2ab8(0x179)](),_0x208421=_0x4b8abe['getCommandsToWrap']()?.[_0x2c2ab8(0x175)]();scripts['parseFromProto'](_0x5d4f8e,_0x208421),scripts[_0x2c2ab8(0x171)]();const _0x2443cf=_0x4b8abe[_0x2c2ab8(0x132)]();this[_0x2c2ab8(0x14f)]=_0x4b8abe[_0x2c2ab8(0x132)](),await this[_0x2c2ab8(0x15f)](_0x2443cf,_0x2ec328['launchCaps']);}async[a74_0x3d2440(0x15f)](_0x136638,_0x2d8eba={}){const _0x17b3ff=a74_0x3d2440,_0x127aa0={};_0x127aa0['SvoDj']=function(_0x899800,_0x4cf238){return _0x899800===_0x4cf238;},_0x127aa0[_0x17b3ff(0x158)]=_0x17b3ff(0x180),_0x127aa0[_0x17b3ff(0x15c)]=_0x17b3ff(0x141),_0x127aa0[_0x17b3ff(0x142)]=function(_0x1d2ccd,_0x491480){return _0x1d2ccd===_0x491480;},_0x127aa0[_0x17b3ff(0x184)]=_0x17b3ff(0x183),_0x127aa0['Ioisk']=_0x17b3ff(0x161),_0x127aa0[_0x17b3ff(0x135)]=_0x17b3ff(0x186),_0x127aa0[_0x17b3ff(0x138)]=_0x17b3ff(0x182),_0x127aa0[_0x17b3ff(0x17b)]=_0x17b3ff(0x151),_0x127aa0[_0x17b3ff(0x173)]=_0x17b3ff(0x13a);const _0x183003=_0x127aa0;for(const _0xf95049 of _0x136638){logger['info'](_0x17b3ff(0x16f)+_0xf95049[_0x17b3ff(0x150)]()+_0x17b3ff(0x147)+_0xf95049[_0x17b3ff(0x174)]());if(_0x183003[_0x17b3ff(0x14d)](_0xf95049[_0x17b3ff(0x150)](),_0x183003[_0x17b3ff(0x158)]))process[_0x17b3ff(0x16c)]['BS_A11Y_JWT']=_0xf95049['getValue'](),_0x2d8eba[_0x183003[_0x17b3ff(0x15c)]]=_0xf95049['getValue']();else{if(_0x183003[_0x17b3ff(0x142)](_0xf95049[_0x17b3ff(0x150)](),_0x183003['UbOAy']))_0x2d8eba[_0x183003[_0x17b3ff(0x144)]]=_0xf95049[_0x17b3ff(0x174)]();else{if(_0x183003[_0x17b3ff(0x14d)](_0xf95049[_0x17b3ff(0x150)](),_0x183003[_0x17b3ff(0x135)]))_0x2d8eba[_0x183003[_0x17b3ff(0x138)]]=_0xf95049[_0x17b3ff(0x174)]();else _0x183003[_0x17b3ff(0x142)](_0xf95049[_0x17b3ff(0x150)](),_0x183003[_0x17b3ff(0x17b)])&&(_0x2d8eba[_0x183003['HpfTb']]=_0xf95049[_0x17b3ff(0x174)]());}}}}[a74_0x3d2440(0x136)](_0x52da64){const _0x14eef8=a74_0x3d2440;logger[_0x14eef8(0x17a)](_0x14eef8(0x145)+_0x52da64);}[a74_0x3d2440(0x164)](_0x5340e5){const _0x44aed1=a74_0x3d2440;logger['info'](_0x44aed1(0x153)+_0x5340e5);}}function a74_0x1f18(_0xb848fc,_0x524c56){const _0x3a6976=a74_0x3a69();return a74_0x1f18=function(_0x1f18b5,_0x3441ae){_0x1f18b5=_0x1f18b5-0x130;let _0x295838=_0x3a6976[_0x1f18b5];return _0x295838;},a74_0x1f18(_0xb848fc,_0x524c56);};function a74_0x3a69(){const _0x260eb5=['32dMobXN','EXECUTE','accessibility','1612755fRSllc','398550gBqsAd','toObject','../../../helpers/performance/performance-tester.js','env','error','SDK_ACCESSIBILITY_CONFIG','name:\x20','oMOiL','toJson','Error\x20while\x20setting\x20accessibility\x20config:\x20','HpfTb','getValue','getCommandsList','accessibilityPlatform','getAccessibilityConfig','../state/automationFrameworkState','getScriptsList','info','EScQo','MODULE_NAME','isEnabled','setAccessibilityConfig','../state/hookState','accessibilityToken','getInstance','browserstack.accessibilityOptions.scannerVersion','wcagVersion','UbOAy','../../../helpers/performance/constants.js','scannerVersion','setLogDisabledShown','2310534noNZuU','getCapabilitiesList','goog:chromeOptions','exports','fCvdH','onAfterTest','BROWSERSTACK_TEST_ACCESSIBILITY_YML','PhRZj','90760yUMkRr','browserstack.accessibilityOptions.scannerProcessingTimeout','getOptions','start','registerObserver','../../../helpers/accessibility-automation/scripts','getAccessibility','end','browserstack.accessibilityOptions.authToken','CWlkV','getLogDisabledShown','Ioisk','onAfterTest:\x20event=','PRE','\x20value=','CREATE','getCurrentInstanceName','480106TSvxCh','getSuccess','10RtULnQ','SvoDj','accessibilityConfig','capabilities','getName','scannerProcessingTimeout','LOG_DISABLED_SHOWN','onBeforeExecute:\x20event=','../cliUtils','1119874lDlFZe','5523759NYKjWc','split','usWAP','get','message','onBeforeTest','qrECk','bind','QUIT','setAccessibilityToken','5|10|2|8|1|9|6|4|7|0|3','browserstack.accessibilityOptions.wcagVersion','../../../helpers/classLogger','isAppAccessibility','onBeforeExecute'];a74_0x3a69=function(){return _0x260eb5;};return a74_0x3a69();}module[a74_0x3d2440(0x134)]=AccessibilityModule;
1
+ const a74_0x4a73dc=a74_0x3e21;(function(_0x435fbf,_0x524eba){const _0x29b85b=a74_0x3e21,_0x598f19=_0x435fbf();while(!![]){try{const _0x34b3bf=parseInt(_0x29b85b(0x204))/0x1*(-parseInt(_0x29b85b(0x1c4))/0x2)+parseInt(_0x29b85b(0x1ed))/0x3+parseInt(_0x29b85b(0x1cb))/0x4*(-parseInt(_0x29b85b(0x1c1))/0x5)+parseInt(_0x29b85b(0x1f0))/0x6*(-parseInt(_0x29b85b(0x20c))/0x7)+-parseInt(_0x29b85b(0x1fb))/0x8*(-parseInt(_0x29b85b(0x1e2))/0x9)+parseInt(_0x29b85b(0x1e6))/0xa+parseInt(_0x29b85b(0x20f))/0xb*(-parseInt(_0x29b85b(0x1d3))/0xc);if(_0x34b3bf===_0x524eba)break;else _0x598f19['push'](_0x598f19['shift']());}catch(_0xff6e11){_0x598f19['push'](_0x598f19['shift']());}}}(a74_0x5869,0x4b3e7));const BaseModule=require(a74_0x4a73dc(0x205)),{createClassLogger}=require(a74_0x4a73dc(0x1f5)),CLIUtils=require('../cliUtils'),AutomationFramework=require(a74_0x4a73dc(0x1c7)),AutomationFrameworkState=require('../state/automationFrameworkState'),HookState=require(a74_0x4a73dc(0x1c3)),GrpcClient=require(a74_0x4a73dc(0x1d1)),scripts=require(a74_0x4a73dc(0x1d8)),logger=createClassLogger(a74_0x4a73dc(0x1d9)),PerformanceTester=require(a74_0x4a73dc(0x20e)),{EVENTS}=require(a74_0x4a73dc(0x21a));class AccessibilityModule extends BaseModule{static [a74_0x4a73dc(0x202)]=AccessibilityModule[a74_0x4a73dc(0x1df)];constructor(_0xb7f78b){const _0x5cafa6=a74_0x4a73dc,_0x541831={};_0x541831[_0x5cafa6(0x1f2)]=_0x5cafa6(0x1d0);const _0x2fe4f1=_0x541831,_0x2ba33f=_0x2fe4f1[_0x5cafa6(0x1f2)]['split']('|');let _0x52222c=0x0;while(!![]){switch(_0x2ba33f[_0x52222c++]){case'0':this[_0x5cafa6(0x1d5)]=new Map();continue;case'1':this[_0x5cafa6(0x1f1)]=new Map();continue;case'2':AutomationFramework[_0x5cafa6(0x217)](AutomationFrameworkState[_0x5cafa6(0x20b)],HookState[_0x5cafa6(0x212)],this[_0x5cafa6(0x1c2)]['bind'](this));continue;case'3':super();continue;case'4':AutomationFramework[_0x5cafa6(0x217)](AutomationFrameworkState[_0x5cafa6(0x1c8)],HookState[_0x5cafa6(0x212)],this[_0x5cafa6(0x1d6)][_0x5cafa6(0x20a)](this));continue;case'5':this['setAccessibilityToken'](_0xb7f78b[_0x5cafa6(0x1d7)]()[_0x5cafa6(0x1e0)]());continue;case'6':this[_0x5cafa6(0x1d4)]=![];continue;case'7':this[_0x5cafa6(0x1f8)]=[];continue;case'8':AutomationFramework[_0x5cafa6(0x217)](AutomationFrameworkState[_0x5cafa6(0x1cd)],HookState[_0x5cafa6(0x212)],this[_0x5cafa6(0x216)][_0x5cafa6(0x20a)](this));continue;case'9':this['isEnabled']=!![];continue;case'10':this[_0x5cafa6(0x211)]=_0xb7f78b[_0x5cafa6(0x213)]();continue;}break;}}['isEnabled'](){return this['isEnabled'];}['getModuleName'](){const _0x1a9ed8=a74_0x4a73dc;return AccessibilityModule[_0x1a9ed8(0x202)];}[a74_0x4a73dc(0x21b)](){const _0x9b7605=a74_0x4a73dc;return this[_0x9b7605(0x1f1)][_0x9b7605(0x1e5)](CLIUtils[_0x9b7605(0x208)](),![]);}[a74_0x4a73dc(0x1e8)](){const _0x1803a9=a74_0x4a73dc;return this[_0x1803a9(0x1d5)]['get'](CLIUtils[_0x1803a9(0x208)](),![]);}[a74_0x4a73dc(0x1f4)](_0x20a1a4){const _0x2fa991=a74_0x4a73dc;this['LOG_DISABLED_SHOWN'][_0x2fa991(0x1ee)](CLIUtils[_0x2fa991(0x208)](),_0x20a1a4);}async[a74_0x4a73dc(0x216)](_0x179695){const _0x570fee=a74_0x4a73dc;try{PerformanceTester[_0x570fee(0x1c6)](EVENTS[_0x570fee(0x1e4)]);const _0x409f40=await GrpcClient[_0x570fee(0x1da)]()['getAccessibilityConfig'](_0x179695);_0x409f40&&_0x409f40[_0x570fee(0x1ca)]()&&_0x409f40[_0x570fee(0x1ca)]()[_0x570fee(0x1dc)]()&&(global[_0x570fee(0x1f9)]=!![],process[_0x570fee(0x1ff)][_0x570fee(0x218)]=!![],this[_0x570fee(0x1f3)](_0x409f40,_0x179695)),PerformanceTester[_0x570fee(0x206)](EVENTS[_0x570fee(0x1e4)]);}catch(_0x28db35){PerformanceTester[_0x570fee(0x206)](EVENTS[_0x570fee(0x1e4)],![],_0x28db35[_0x570fee(0x1e1)]),logger[_0x570fee(0x207)](_0x570fee(0x1fa)+(_0x28db35[_0x570fee(0x200)]||_0x28db35[_0x570fee(0x1e1)]));}}[a74_0x4a73dc(0x1c5)](){const _0x2c43ea=a74_0x4a73dc;return this[_0x2c43ea(0x1f8)][_0x2c43ea(0x1e7)](_0x2171c1=>_0x2171c1[_0x2c43ea(0x1f7)]()==='goog:chromeOptions')?.[_0x2c43ea(0x209)]()||'';}async[a74_0x4a73dc(0x1f3)](_0x45315d,_0x4dd65f){const _0x36dcea=a74_0x4a73dc,_0x3f1444=_0x45315d['getAccessibility']()[_0x36dcea(0x1d7)](),_0x198fc8=_0x3f1444['getScriptsList'](),_0x2a1c17=_0x3f1444[_0x36dcea(0x203)]()?.['getCommandsList']();scripts[_0x36dcea(0x1ec)](_0x198fc8,_0x2a1c17),scripts[_0x36dcea(0x1fc)]();const _0x2eb0f1=_0x3f1444[_0x36dcea(0x1e0)]();this[_0x36dcea(0x1f8)]=_0x3f1444['getCapabilitiesList'](),await this[_0x36dcea(0x1e3)](_0x2eb0f1,_0x4dd65f[_0x36dcea(0x1f6)]);}async[a74_0x4a73dc(0x1e3)](_0x272391,_0x4169ca={}){const _0x118ad6=a74_0x4a73dc,_0x1f4fd3={};_0x1f4fd3[_0x118ad6(0x1db)]=function(_0x2e5770,_0x3587dc){return _0x2e5770===_0x3587dc;},_0x1f4fd3['zJHSw']=_0x118ad6(0x1ce),_0x1f4fd3[_0x118ad6(0x219)]=_0x118ad6(0x1e9),_0x1f4fd3[_0x118ad6(0x1de)]=function(_0x2392b0,_0x1d333d){return _0x2392b0===_0x1d333d;},_0x1f4fd3['OsReW']=_0x118ad6(0x1d2),_0x1f4fd3[_0x118ad6(0x215)]='browserstack.accessibilityOptions.wcagVersion',_0x1f4fd3[_0x118ad6(0x1dd)]=_0x118ad6(0x1eb),_0x1f4fd3[_0x118ad6(0x1c9)]=_0x118ad6(0x201),_0x1f4fd3[_0x118ad6(0x1cf)]=function(_0x360b76,_0x109aad){return _0x360b76===_0x109aad;},_0x1f4fd3[_0x118ad6(0x1ea)]='scannerProcessingTimeout',_0x1f4fd3[_0x118ad6(0x20d)]=_0x118ad6(0x210);const _0x36da47=_0x1f4fd3;for(const _0x32960f of _0x272391){logger[_0x118ad6(0x1cc)](_0x118ad6(0x214)+_0x32960f['getName']()+_0x118ad6(0x1ef)+_0x32960f[_0x118ad6(0x209)]());if(_0x36da47[_0x118ad6(0x1db)](_0x32960f[_0x118ad6(0x1f7)](),_0x36da47[_0x118ad6(0x1fe)]))process[_0x118ad6(0x1ff)]['BS_A11Y_JWT']=_0x32960f[_0x118ad6(0x209)](),_0x4169ca[_0x36da47[_0x118ad6(0x219)]]=_0x32960f['getValue']();else{if(_0x36da47[_0x118ad6(0x1de)](_0x32960f['getName'](),_0x36da47['OsReW']))_0x4169ca[_0x36da47[_0x118ad6(0x215)]]=_0x32960f['getValue']();else{if(_0x36da47[_0x118ad6(0x1db)](_0x32960f['getName'](),_0x36da47[_0x118ad6(0x1dd)]))_0x4169ca[_0x36da47[_0x118ad6(0x1c9)]]=_0x32960f[_0x118ad6(0x209)]();else _0x36da47[_0x118ad6(0x1cf)](_0x32960f['getName'](),_0x36da47['EwBnh'])&&(_0x4169ca[_0x36da47[_0x118ad6(0x20d)]]=_0x32960f[_0x118ad6(0x209)]());}}}}[a74_0x4a73dc(0x1c2)](_0x59bda4){const _0x351c26=a74_0x4a73dc;logger[_0x351c26(0x1cc)](_0x351c26(0x1fd)+_0x59bda4);}[a74_0x4a73dc(0x1d6)](_0x3c03a6){const _0x3d07a8=a74_0x4a73dc;logger[_0x3d07a8(0x1cc)]('onBeforeExecute:\x20event='+_0x3c03a6);}}function a74_0x5869(){const _0x264baa=['getCurrentInstanceName','getValue','bind','QUIT','2569lYPpsj','doYjU','../../../helpers/performance/performance-tester.js','7535prLQkM','browserstack.accessibilityOptions.scannerProcessingTimeout','accessibilityConfig','PRE','toObject','name:\x20','HMXAc','onBeforeTest','registerObserver','BROWSERSTACK_TEST_ACCESSIBILITY_YML','cMegR','../../../helpers/performance/constants.js','getCurrentAccessibilityStatus','259125bdKJjN','onAfterTest','../state/hookState','8Lxjdzd','getGoogleChromeOptions','start','../framework/automationFramework','EXECUTE','PGNUa','getAccessibility','4pRlfSi','info','CREATE','accessibilityToken','eAxPc','3|4|8|2|9|10|1|0|6|7|5','../grpcClient','wcagVersion','2568agJeCR','isAppAccessibility','LOG_DISABLED_SHOWN','onBeforeExecute','getOptions','../../../helpers/accessibility-automation/scripts','TrackedInstance','getInstance','fKuNg','getSuccess','boiJS','MhUHv','name','getCapabilitiesList','message','3501EoUTNj','setAccessibilityToken','SDK_ACCESSIBILITY_CONFIG','get','5986820HHqhDU','find','getLogDisabledShown','browserstack.accessibilityOptions.authToken','EwBnh','scannerVersion','parseFromProto','940035njBiMo','put','\x20value=','6924FvHrpP','accessibility','uvDbC','setAccessibilityConfig','setLogDisabledShown','../../../helpers/classLogger','launchCaps','getName','capabilities','accessibilityPlatform','Error\x20while\x20setting\x20accessibility\x20config:\x20','7432SUvJVs','toJson','onAfterTest:\x20event=','zJHSw','env','stack','browserstack.accessibilityOptions.scannerVersion','MODULE_NAME','getCommandsToWrap','85819UDHUVR','./baseModule','end','error'];a74_0x5869=function(){return _0x264baa;};return a74_0x5869();};function a74_0x3e21(_0x4d8582,_0x148889){const _0x586982=a74_0x5869();return a74_0x3e21=function(_0x3e216a,_0x774f0c){_0x3e216a=_0x3e216a-0x1c1;let _0xe9ce6=_0x586982[_0x3e216a];return _0xe9ce6;},a74_0x3e21(_0x4d8582,_0x148889);}module['exports']=AccessibilityModule;
@@ -1 +1 @@
1
- function a75_0x52a2(_0x52a89f,_0x23b873){const _0x29ea6e=a75_0x29ea();return a75_0x52a2=function(_0x52a208,_0x2d2ae8){_0x52a208=_0x52a208-0x192;let _0xc571f4=_0x29ea6e[_0x52a208];return _0xc571f4;},a75_0x52a2(_0x52a89f,_0x23b873);}function a75_0x29ea(){const _0x338527=['configure','4iySWKf','exports','ensureBinSession','1280pLALTk','client','5284083BhAIfO','89azvxzG','\x20with\x20binSessionId=','winstonLogger','10671504eTeOic','BaseModule','NdpTd','UAEIL','config','binSessionId','Configured\x20module\x20','28110dMkVEo','getModuleName','../../../helpers/logger.js','name',',\x20platformIndex=','10439norApl','365RaicGi','debug','10378AogUEQ','1|0|2|4|3','kRBkV','650658AKsnLa','729AOVgeM','29416aNRMbG','split'];a75_0x29ea=function(){return _0x338527;};return a75_0x29ea();}const a75_0x4c1831=a75_0x52a2;(function(_0x252bbd,_0x531165){const _0x103a86=a75_0x52a2,_0x4eb0ce=_0x252bbd();while(!![]){try{const _0x59c44b=-parseInt(_0x103a86(0x1a4))/0x1*(-parseInt(_0x103a86(0x196))/0x2)+parseInt(_0x103a86(0x199))/0x3*(parseInt(_0x103a86(0x19e))/0x4)+parseInt(_0x103a86(0x194))/0x5*(parseInt(_0x103a86(0x1ae))/0x6)+parseInt(_0x103a86(0x1a3))/0x7+parseInt(_0x103a86(0x19b))/0x8*(-parseInt(_0x103a86(0x19a))/0x9)+parseInt(_0x103a86(0x1a1))/0xa*(-parseInt(_0x103a86(0x193))/0xb)+-parseInt(_0x103a86(0x1a7))/0xc;if(_0x59c44b===_0x531165)break;else _0x4eb0ce['push'](_0x4eb0ce['shift']());}catch(_0x22bc15){_0x4eb0ce['push'](_0x4eb0ce['shift']());}}}(a75_0x29ea,0x72024));const logger=require(a75_0x4c1831(0x1b0))[a75_0x4c1831(0x1a6)];class BaseModule{constructor(){const _0x318936=a75_0x4c1831,_0x3eb43e={};_0x3eb43e[_0x318936(0x198)]=_0x318936(0x197),_0x3eb43e['hHEci']=_0x318936(0x1a8);const _0x553ea0=_0x3eb43e,_0x7a0534=_0x553ea0[_0x318936(0x198)][_0x318936(0x19c)]('|');let _0x1af6d4=0x0;while(!![]){switch(_0x7a0534[_0x1af6d4++]){case'0':this[_0x318936(0x1ac)]=null;continue;case'1':this[_0x318936(0x1b1)]=_0x553ea0['hHEci'];continue;case'2':this['platformIndex']=0x0;continue;case'3':this[_0x318936(0x1a2)]=null;continue;case'4':this[_0x318936(0x1ab)]={};continue;}break;}}[a75_0x4c1831(0x1a0)](){const _0x4ff69b=a75_0x4c1831,_0x5772ff={};_0x5772ff[_0x4ff69b(0x1a9)]='Missing\x20binSessionId';const _0x23a2ab=_0x5772ff;if(!this['binSessionId'])throw new Error(_0x23a2ab[_0x4ff69b(0x1a9)]);}[a75_0x4c1831(0x1af)](){const _0x5b9336=a75_0x4c1831;return this[_0x5b9336(0x1b1)];}[a75_0x4c1831(0x19d)](_0x581b0e,_0x343921,_0x33cbc5,_0x1c4fbb={}){const _0x5e67db=a75_0x4c1831,_0x5ae890={};_0x5ae890[_0x5e67db(0x1aa)]='3|0|4|2|1';const _0x2d30f3=_0x5ae890,_0x124ac1=_0x2d30f3['UAEIL'][_0x5e67db(0x19c)]('|');let _0x4702e3=0x0;while(!![]){switch(_0x124ac1[_0x4702e3++]){case'0':this['platformIndex']=_0x343921;continue;case'1':logger[_0x5e67db(0x195)](_0x5e67db(0x1ad)+this['getModuleName']()+_0x5e67db(0x1a5)+_0x581b0e+_0x5e67db(0x192)+_0x343921);continue;case'2':this[_0x5e67db(0x1ab)]=_0x1c4fbb;continue;case'3':this[_0x5e67db(0x1ac)]=_0x581b0e;continue;case'4':this[_0x5e67db(0x1a2)]=_0x33cbc5;continue;}break;}}}module[a75_0x4c1831(0x19f)]=BaseModule;
1
+ function a75_0x4dd7(_0x783cad,_0x4809cd){const _0x80909c=a75_0x8090();return a75_0x4dd7=function(_0x4dd70c,_0x524db7){_0x4dd70c=_0x4dd70c-0x12c;let _0x2d2416=_0x80909c[_0x4dd70c];return _0x2d2416;},a75_0x4dd7(_0x783cad,_0x4809cd);}const a75_0x2a5443=a75_0x4dd7;(function(_0x3bc553,_0x7656c4){const _0x50cd6d=a75_0x4dd7,_0x1bb179=_0x3bc553();while(!![]){try{const _0x5a6101=-parseInt(_0x50cd6d(0x134))/0x1+parseInt(_0x50cd6d(0x136))/0x2+parseInt(_0x50cd6d(0x12f))/0x3*(parseInt(_0x50cd6d(0x130))/0x4)+-parseInt(_0x50cd6d(0x141))/0x5+-parseInt(_0x50cd6d(0x137))/0x6*(-parseInt(_0x50cd6d(0x144))/0x7)+parseInt(_0x50cd6d(0x13b))/0x8*(parseInt(_0x50cd6d(0x14a))/0x9)+parseInt(_0x50cd6d(0x12c))/0xa*(-parseInt(_0x50cd6d(0x13e))/0xb);if(_0x5a6101===_0x7656c4)break;else _0x1bb179['push'](_0x1bb179['shift']());}catch(_0x55d4d9){_0x1bb179['push'](_0x1bb179['shift']());}}}(a75_0x8090,0x8f40c));function a75_0x8090(){const _0x54123c=['579931SMmRFr','../../../helpers/logger.js','1423844QqDGaj','6cYECSP','Configured\x20module\x20','debug','binSessionId','10648QWKFTW','platformIndex','split','33mdkkPR','getModuleName','1|3|0|2|4','3608345WmLGSQ','gUHmy','wnUti','5512969xYdqoD','configure','client','winstonLogger','\x20with\x20binSessionId=','YBECj','7029QETgVz','4309470eGECPI',',\x20platformIndex=','config','87yKOAkW','88580jmRbis','ensureBinSession','BafxT','name'];a75_0x8090=function(){return _0x54123c;};return a75_0x8090();}const logger=require(a75_0x2a5443(0x135))[a75_0x2a5443(0x147)];class BaseModule{constructor(){const _0x347023=a75_0x2a5443,_0x1b0d42={};_0x1b0d42['YBECj']=_0x347023(0x140),_0x1b0d42[_0x347023(0x132)]='BaseModule';const _0x8c9a8d=_0x1b0d42,_0x3fe965=_0x8c9a8d[_0x347023(0x149)][_0x347023(0x13d)]('|');let _0x4a3362=0x0;while(!![]){switch(_0x3fe965[_0x4a3362++]){case'0':this[_0x347023(0x13c)]=0x0;continue;case'1':this[_0x347023(0x133)]=_0x8c9a8d[_0x347023(0x132)];continue;case'2':this[_0x347023(0x12e)]={};continue;case'3':this[_0x347023(0x13a)]=null;continue;case'4':this[_0x347023(0x146)]=null;continue;}break;}}[a75_0x2a5443(0x131)](){const _0x37d6d8=a75_0x2a5443,_0x55600c={};_0x55600c['gUHmy']='Missing\x20binSessionId';const _0x4acc77=_0x55600c;if(!this['binSessionId'])throw new Error(_0x4acc77[_0x37d6d8(0x142)]);}[a75_0x2a5443(0x13f)](){const _0x4b1284=a75_0x2a5443;return this[_0x4b1284(0x133)];}[a75_0x2a5443(0x145)](_0x4d0cfe,_0xe50846,_0x20c012,_0x5c398d={}){const _0x125ff1=a75_0x2a5443,_0xb7f97b={};_0xb7f97b[_0x125ff1(0x143)]='0|1|2|3|4';const _0x29ea24=_0xb7f97b,_0x27f295=_0x29ea24[_0x125ff1(0x143)]['split']('|');let _0x2a337f=0x0;while(!![]){switch(_0x27f295[_0x2a337f++]){case'0':this[_0x125ff1(0x13a)]=_0x4d0cfe;continue;case'1':this[_0x125ff1(0x13c)]=_0xe50846;continue;case'2':this[_0x125ff1(0x146)]=_0x20c012;continue;case'3':this['config']=_0x5c398d;continue;case'4':logger[_0x125ff1(0x139)](_0x125ff1(0x138)+this['getModuleName']()+_0x125ff1(0x148)+_0x4d0cfe+_0x125ff1(0x12d)+_0xe50846);continue;}break;}}}module['exports']=BaseModule;
@@ -1 +1 @@
1
- const a76_0x2e2d68=a76_0x5b69;(function(_0x1575ee,_0x32339d){const _0x13594f=a76_0x5b69,_0x5738b4=_0x1575ee();while(!![]){try{const _0x5e91d6=-parseInt(_0x13594f(0x128))/0x1*(-parseInt(_0x13594f(0x103))/0x2)+parseInt(_0x13594f(0x10a))/0x3*(-parseInt(_0x13594f(0x107))/0x4)+parseInt(_0x13594f(0x11a))/0x5*(parseInt(_0x13594f(0x125))/0x6)+parseInt(_0x13594f(0x110))/0x7+parseInt(_0x13594f(0x120))/0x8*(-parseInt(_0x13594f(0x101))/0x9)+-parseInt(_0x13594f(0x124))/0xa*(parseInt(_0x13594f(0x129))/0xb)+parseInt(_0x13594f(0x10b))/0xc*(-parseInt(_0x13594f(0x11b))/0xd);if(_0x5e91d6===_0x32339d)break;else _0x5738b4['push'](_0x5738b4['shift']());}catch(_0x45796d){_0x5738b4['push'](_0x5738b4['shift']());}}}(a76_0x44cb,0xef3d9));function a76_0x5b69(_0x2b6f02,_0x3d8b1d){const _0x44cb49=a76_0x44cb();return a76_0x5b69=function(_0x5b69c4,_0x199175){_0x5b69c4=_0x5b69c4-0xff;let _0x3437a9=_0x44cb49[_0x5b69c4];return _0x3437a9;},a76_0x5b69(_0x2b6f02,_0x3d8b1d);}const BaseModule=require('./baseModule'),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFramework=require(a76_0x2e2d68(0x100)),AutomationFrameworkState=require(a76_0x2e2d68(0x11e)),HookState=require(a76_0x2e2d68(0x117)),{playwrightAnnotate}=require(a76_0x2e2d68(0x118)),PerformanceTester=require(a76_0x2e2d68(0x108)),{O11y_EVENTS}=require(a76_0x2e2d68(0x115)),constants=require(a76_0x2e2d68(0x10f));function a76_0x44cb(){const _0x3a2d31=['4905688muoHEU','TEST_REPORTING_ANALYTICS','registerObserver','nrrqz','2438180SMrgPY','1805304hDKmEw','POST','onBeforeTest:\x20','394459vRZmSV','11afMisa','observabilityConfig','../framework/automationFramework.js','9azWhoA','ObservabilitySync:','8mzRwYV','info','onBeforeTest:\x20page\x20is\x20not\x20defined','MODULE_NAME','112HSlGec','../../../helpers/performance/performance-tester.js','page','128265atWfkX','24101268haIcUY','logger','\x20sync\x20done','getModuleName','../../utils/constants.js','11615779GCeFRL','CREATE','rClNC','UWYMQ','end','../../../helpers/performance/constants.js','ObservabilityModule','../state/hookState.js','../../../helpers/helper.js','onBeforeTest','30QgsrFb','13feCmqu','bind','SYNC','../state/automationFrameworkState.js','name'];a76_0x44cb=function(){return _0x3a2d31;};return a76_0x44cb();}class ObservabilityModule extends BaseModule{[a76_0x2e2d68(0x10c)]=createClassLogger(a76_0x2e2d68(0x116));constructor(_0x491a2f){const _0x119234=a76_0x2e2d68,_0x2d2dfc={};_0x2d2dfc['rClNC']=_0x119234(0x116);const _0x1b1f5e=_0x2d2dfc;super(),this[_0x119234(0x11f)]=_0x1b1f5e[_0x119234(0x112)],this[_0x119234(0xff)]=_0x491a2f,AutomationFramework[_0x119234(0x122)](AutomationFrameworkState[_0x119234(0x111)],HookState[_0x119234(0x126)],this['onBeforeTest'][_0x119234(0x11c)](this));}[a76_0x2e2d68(0x10e)](){const _0x835e9d=a76_0x2e2d68;return ObservabilityModule[_0x835e9d(0x106)];}async[a76_0x2e2d68(0x119)](_0x9ce410){const _0x6d905b=a76_0x2e2d68,_0x53e134={'VHucZ':function(_0x71726e,_0x879b4d){return _0x71726e+_0x879b4d;},'UWYMQ':_0x6d905b(0x102),'nwJJa':function(_0x1befd9,_0x37a64f,_0x22a94a,_0x20fa6a){return _0x1befd9(_0x37a64f,_0x22a94a,_0x20fa6a);},'uHhFQ':'debug','nrrqz':_0x6d905b(0x105)};if(_0x9ce410[_0x6d905b(0x109)]){const _0xaa2497=_0x9ce410[_0x6d905b(0x109)],_0x51719f=Date['now'](),_0x5263bd=_0x53e134['VHucZ'](_0x53e134[_0x6d905b(0x113)],_0x51719f);PerformanceTester['start'](O11y_EVENTS[_0x6d905b(0x11d)]),await _0x53e134['nwJJa'](playwrightAnnotate,_0xaa2497,_0x5263bd,_0x53e134['uHhFQ']),PerformanceTester[_0x6d905b(0x114)](O11y_EVENTS[_0x6d905b(0x11d)]),this['logger'][_0x6d905b(0x104)](_0x6d905b(0x127)+constants[_0x6d905b(0x121)]+_0x6d905b(0x10d));}else this[_0x6d905b(0x10c)]['debug'](_0x53e134[_0x6d905b(0x123)]);}}ObservabilityModule['MODULE_NAME']=a76_0x2e2d68(0x116),module['exports']=ObservabilityModule;
1
+ function a76_0xab2e(){const _0x48af31=['page','../framework/automationFramework.js','TEST_REPORTING_ANALYTICS','./baseModule','../state/hookState.js','../../../helpers/classLogger.js','\x20sync\x20done','MODULE_NAME','3886497Phyiub','onBeforeTest:\x20page\x20is\x20not\x20defined','POST','7387566ckfhPI','../state/automationFrameworkState.js','name','7445160YiDtiU','NKSco','LTgYE','492IFQrQd','jFTCD','registerObserver','3880IPolYf','468593daDwUn','onBeforeTest:\x20','info','observabilityConfig','14932700zXGKNp','getModuleName','CREATE','debug','4HOeIDp','32LFmsVK','SYNC','onBeforeTest','logger','bind','22AWvhTT','12924548EPiePw','CTJAZ','ObservabilityModule','start'];a76_0xab2e=function(){return _0x48af31;};return a76_0xab2e();}const a76_0x5e0c29=a76_0x3ec0;(function(_0x1d3019,_0x42c745){const _0x582e02=a76_0x3ec0,_0x38cc17=_0x1d3019();while(!![]){try{const _0x1991d7=-parseInt(_0x582e02(0xf4))/0x1*(-parseInt(_0x582e02(0xfc))/0x2)+-parseInt(_0x582e02(0xf0))/0x3*(parseInt(_0x582e02(0xf3))/0x4)+-parseInt(_0x582e02(0xed))/0x5+-parseInt(_0x582e02(0xea))/0x6+-parseInt(_0x582e02(0x103))/0x7+-parseInt(_0x582e02(0xfd))/0x8*(-parseInt(_0x582e02(0x10f))/0x9)+parseInt(_0x582e02(0xf8))/0xa*(parseInt(_0x582e02(0x102))/0xb);if(_0x1991d7===_0x42c745)break;else _0x38cc17['push'](_0x38cc17['shift']());}catch(_0x46d225){_0x38cc17['push'](_0x38cc17['shift']());}}}(a76_0xab2e,0xe1e89));function a76_0x3ec0(_0xaa26c2,_0xc3cae6){const _0xab2e91=a76_0xab2e();return a76_0x3ec0=function(_0x3ec0b9,_0x27ba76){_0x3ec0b9=_0x3ec0b9-0xe8;let _0x58c778=_0xab2e91[_0x3ec0b9];return _0x58c778;},a76_0x3ec0(_0xaa26c2,_0xc3cae6);}const BaseModule=require(a76_0x5e0c29(0x10a)),{createClassLogger}=require(a76_0x5e0c29(0x10c)),AutomationFramework=require(a76_0x5e0c29(0x108)),AutomationFrameworkState=require(a76_0x5e0c29(0xeb)),HookState=require(a76_0x5e0c29(0x10b)),{playwrightAnnotate}=require('../../../helpers/helper.js'),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),{O11y_EVENTS}=require('../../../helpers/performance/constants.js'),constants=require('../../utils/constants.js');class ObservabilityModule extends BaseModule{[a76_0x5e0c29(0x100)]=createClassLogger('ObservabilityModule');constructor(_0x5a497a){const _0x3a6ce1=a76_0x5e0c29,_0x54f4c4={};_0x54f4c4['NKSco']=_0x3a6ce1(0x105);const _0x46b6a2=_0x54f4c4;super(),this[_0x3a6ce1(0xec)]=_0x46b6a2[_0x3a6ce1(0xee)],this[_0x3a6ce1(0xf7)]=_0x5a497a,AutomationFramework[_0x3a6ce1(0xf2)](AutomationFrameworkState[_0x3a6ce1(0xfa)],HookState[_0x3a6ce1(0xe9)],this[_0x3a6ce1(0xff)][_0x3a6ce1(0x101)](this));}[a76_0x5e0c29(0xf9)](){const _0x1c7c6e=a76_0x5e0c29;return ObservabilityModule[_0x1c7c6e(0x10e)];}async[a76_0x5e0c29(0xff)](_0x2b5fe8){const _0x5bef1a=a76_0x5e0c29,_0x1ae6c0={'CTJAZ':function(_0x3bad03,_0xc58540){return _0x3bad03+_0xc58540;},'PPdtM':'ObservabilitySync:','LTgYE':function(_0xd142b7,_0xa18a4f,_0x3432b1,_0x3e9e46){return _0xd142b7(_0xa18a4f,_0x3432b1,_0x3e9e46);},'PBJXV':'debug','jFTCD':_0x5bef1a(0xe8)};if(_0x2b5fe8[_0x5bef1a(0x107)]){const _0x543be1=_0x2b5fe8[_0x5bef1a(0x107)],_0x140271=Date['now'](),_0x2b63e6=_0x1ae6c0[_0x5bef1a(0x104)](_0x1ae6c0['PPdtM'],_0x140271);PerformanceTester[_0x5bef1a(0x106)](O11y_EVENTS[_0x5bef1a(0xfe)]),await _0x1ae6c0[_0x5bef1a(0xef)](playwrightAnnotate,_0x543be1,_0x2b63e6,_0x1ae6c0['PBJXV']),PerformanceTester['end'](O11y_EVENTS[_0x5bef1a(0xfe)]),this[_0x5bef1a(0x100)][_0x5bef1a(0xf6)](_0x5bef1a(0xf5)+constants[_0x5bef1a(0x109)]+_0x5bef1a(0x10d));}else this['logger'][_0x5bef1a(0xfb)](_0x1ae6c0[_0x5bef1a(0xf1)]);}}ObservabilityModule[a76_0x5e0c29(0x10e)]=a76_0x5e0c29(0x105),module['exports']=ObservabilityModule;
@@ -1 +1 @@
1
- const a77_0x4209d3=a77_0x2ce3;function a77_0x2ce3(_0x2b0b9a,_0x1f59ac){const _0x5ceac7=a77_0x5cea();return a77_0x2ce3=function(_0x2ce3b0,_0x139ad0){_0x2ce3b0=_0x2ce3b0-0xce;let _0x43b853=_0x5ceac7[_0x2ce3b0];return _0x43b853;},a77_0x2ce3(_0x2b0b9a,_0x1f59ac);}(function(_0x3891c8,_0x2ec913){const _0xe93487=a77_0x2ce3,_0x428039=_0x3891c8();while(!![]){try{const _0x2c1bf1=parseInt(_0xe93487(0x175))/0x1+-parseInt(_0xe93487(0x180))/0x2*(parseInt(_0xe93487(0x163))/0x3)+parseInt(_0xe93487(0xd7))/0x4*(parseInt(_0xe93487(0x160))/0x5)+-parseInt(_0xe93487(0x118))/0x6+-parseInt(_0xe93487(0x10e))/0x7*(-parseInt(_0xe93487(0x124))/0x8)+-parseInt(_0xe93487(0x109))/0x9+parseInt(_0xe93487(0x158))/0xa;if(_0x2c1bf1===_0x2ec913)break;else _0x428039['push'](_0x428039['shift']());}catch(_0x29315f){_0x428039['push'](_0x428039['shift']());}}}(a77_0x5cea,0x45ca1));const util=require(a77_0x4209d3(0x16f)),BaseModule=require('./baseModule'),{createClassLogger}=require(a77_0x4209d3(0x116)),{getFrameworkVersion}=require(a77_0x4209d3(0x138)),helper=require(a77_0x4209d3(0x122)),{FRAMEWORKS}=require(a77_0x4209d3(0x100)),AutomationFramework=require(a77_0x4209d3(0x108)),AutomationFrameworkState=require(a77_0x4209d3(0xee)),HookState=require(a77_0x4209d3(0x105)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a77_0x4209d3(0x115)),CLIUtils=require(a77_0x4209d3(0x153)),BrowserstackCLI=require(a77_0x4209d3(0x149)),GrpcClient=require(a77_0x4209d3(0x15d)),PerformanceTester=require(a77_0x4209d3(0x150)),PerformanceEvents=require(a77_0x4209d3(0xe1))[a77_0x4209d3(0xdc)],TestInfo=require(a77_0x4209d3(0x16d)),{getPlaywrightProvider}=require(a77_0x4209d3(0x115)),TestFrameworkConstants=require(a77_0x4209d3(0x112)),TestFrameworkState=require('../state/testFrameworkState');function a77_0x5cea(){const _0x5a4fe3=['with\x20','testHookState','capabilities','WQnKP','getCapabilities','KEY_BROWSER_OBJECT','UbiCS','params','../../../helpers/helper','Error\x20in\x20onDispatchExecute:\x20','4024360TojUwv','YAgzr','testId','KEY_HUB_URL','KOBfh','pXFcQ','KEY_PLATFORM_DETAILS','KEY_PLATFORM_INDEX','exports','KEY_TEST_ID','KEY_PAGE_OBJECT','tvStm','automationSession','markSessionStatus','getContext','ZXBQp','_test','end','Error\x20in\x20onBeforeDriverCreate:\x20','wzyES','../../../helpers/test-observability/utils','split','bsParams','MODULE_NAME','Automation\x20onAfterTest:\x20Test\x20status:\x20','length','markSessionStatus:\x20Marking\x20session\x20status','lVzWc','JnNIY','testFrameworkVersion','error','OZrSy','driverInit','action','getModuleName','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','__workerDetails','../browserstackCLI.js','gherkinDocument','uCpfM','onAfterDriverCreate:\x20Setting\x20context\x20object','name','onPlaywrightDispatch','browser','../../../helpers/performance/performance-tester.js','context','status','../cliUtils.js','playwrightVersion','testInfo','qYRGL','skhhW','97340XwDKRu','hhlwU','KEY_CONTEXT_OBJECT','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','Bifti','../grpcClient.js','VUOFY','debug','420lGjEGA','PRE','stringify','76317wZuWnm','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','format','rWVtZ','browserVersion','onBeforeDriverCreate','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','xcdVb','1.51.0','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','../TestInfo.js','pickle','util','sENPQ','setState','getConfig','testId:\x20','SESSION_NAME','25800VcFGyq','getTestIdentifierFromTestInfo','lZfsz','qafvl','onDispatchExecute:\x20Playwright\x20sessionId:\x20','setSessionStatus','workerInfo','Session','getTestDetails','DkxgL','browserObject','10xJpXXw','CREATE','EXECUTE','isPlaywright','Playwright','passed','launchcaps','arguments','testRunId','hubUrl','POST','instance','axJKz','rDjiX','getState','markSessionName','bStackParams','toString','cdrUA','MOYWI','17320IlZuDI','markSessionName:\x20Skipping\x20session\x20name\x20marking','testUuid','gDuce','base64','AUTOMATE_EVENTS','KEY_CAPABILITIES','logger','Error\x20in\x20onAfterDriverCreate:\x20','PkyQB','../../../helpers/performance/constants.js','getInstance','browserName','message','getTestUUID','RStIV','onAfterTest','registerObserver','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','pageObject','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','chyCy','getThreadId','../state/automationFrameworkState.js','inspect','start','cfvQv','onAfterDriverCreate:\x20Setting\x20page\x20object','retry','KEY_SESSION_ID','YcVwu','testData\x20from\x20onAfterTest:\x20','testFrameworkState','onAfterDriverCreate','KzTJg','JZvcX','isFalse','INCNq','onAfterTest\x20CBTSession\x20payload:\x20','info','bind','../../utils/constants','getTrackedInstance','page','PlaywrightDriverModule','1.52.999','../state/hookState.js','rvsxu','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','../framework/automationFramework.js','577566DUOfrk','peOdp','TEST','platformIndex','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','7MDMdWg','shouldSkipSessionName','parse','platformDetails','../framework/constants/testFrameworkConstants.js','KEY_TEST_FRAMEWORK_VERSION','PfNmO','../../../helpers/helper.js','../../../helpers/classLogger.js','2|3|9|6|0|10|5|1|7|4|8','2550438BqVhVa','from'];a77_0x5cea=function(){return _0x5a4fe3;};return a77_0x5cea();}class PlaywrightDriverModule extends BaseModule{static [a77_0x4209d3(0x11f)]=a77_0x4209d3(0x17f);static [a77_0x4209d3(0x15a)]='contextObject';static [a77_0x4209d3(0x12e)]=a77_0x4209d3(0xea);static ['KEY_SESSION_ID']='sessionId';static [a77_0x4209d3(0x12b)]=a77_0x4209d3(0x10c);static ['KEY_CAPABILITIES']=a77_0x4209d3(0x11c);static ['KEY_HUB_URL']=a77_0x4209d3(0x189);static [a77_0x4209d3(0x12a)]='platformDetails';static [a77_0x4209d3(0x12d)]=a77_0x4209d3(0x126);[a77_0x4209d3(0xde)]=createClassLogger(a77_0x4209d3(0x103));constructor(){const _0x3b76b2=a77_0x4209d3,_0x300093={};_0x300093['skhhW']=_0x3b76b2(0x117),_0x300093[_0x3b76b2(0x106)]=_0x3b76b2(0x103);const _0x718484=_0x300093,_0x21b103=_0x718484[_0x3b76b2(0x157)][_0x3b76b2(0x139)]('|');let _0xb79900=0x0;while(!![]){switch(_0x21b103[_0xb79900++]){case'0':this[_0x3b76b2(0x167)]=null;continue;case'1':AutomationFramework[_0x3b76b2(0xe8)](AutomationFrameworkState[_0x3b76b2(0x181)],HookState[_0x3b76b2(0x161)],this[_0x3b76b2(0x168)]['bind'](this));continue;case'2':super();continue;case'3':this[_0x3b76b2(0x14d)]=_0x718484['rvsxu'];continue;case'4':AutomationFramework[_0x3b76b2(0xe8)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x3b76b2(0x18a)],this[_0x3b76b2(0x14e)][_0x3b76b2(0xff)](this));continue;case'5':this[_0x3b76b2(0x188)]=null;continue;case'6':this[_0x3b76b2(0xe3)]=null;continue;case'7':AutomationFramework[_0x3b76b2(0xe8)](AutomationFrameworkState[_0x3b76b2(0x181)],HookState[_0x3b76b2(0x18a)],this[_0x3b76b2(0xf8)][_0x3b76b2(0xff)](this));continue;case'8':AutomationFramework[_0x3b76b2(0xe8)](AutomationFrameworkState[_0x3b76b2(0x182)],HookState[_0x3b76b2(0x18a)],this[_0x3b76b2(0xe7)]['bind'](this));continue;case'9':this[_0x3b76b2(0x154)]=null;continue;case'10':this['platforms']=[];continue;}break;}}[a77_0x4209d3(0x146)](){const _0x4f0c03=a77_0x4209d3;return PlaywrightDriverModule[_0x4f0c03(0x13b)];}async[a77_0x4209d3(0x168)](_0x1ecbfa){const _0x20acd9=a77_0x4209d3,_0x454f1e={};_0x454f1e[_0x20acd9(0xf5)]=_0x20acd9(0x169);const _0x4a5909=_0x454f1e;try{this[_0x20acd9(0xde)][_0x20acd9(0x15f)](_0x4a5909[_0x20acd9(0xf5)]);const _0x3a3d79=_0x1ecbfa[_0x20acd9(0x186)],_0x1938c9=_0x1ecbfa[_0x20acd9(0x189)];AutomationFramework[_0x20acd9(0x171)](_0x1ecbfa[_0x20acd9(0xce)],PlaywrightDriverModule[_0x20acd9(0xdd)],_0x3a3d79),AutomationFramework[_0x20acd9(0x171)](_0x1ecbfa[_0x20acd9(0xce)],PlaywrightDriverModule[_0x20acd9(0x127)],_0x1938c9);}catch(_0x1d0423){this[_0x20acd9(0xde)][_0x20acd9(0x142)](_0x20acd9(0x136)+util['format'](_0x1d0423));}}async['onPlaywrightDispatch'](_0x262803){const _0x2f7c1b=a77_0x4209d3,_0x36356d={};_0x36356d['RStIV']=function(_0xdba171,_0x6832c5){return _0xdba171||_0x6832c5;};const _0x142df5=_0x36356d;try{const _0x44497f=_0x262803?.[_0x2f7c1b(0xe4)]&&_0x262803?.[_0x2f7c1b(0xe4)]?.[_0x2f7c1b(0x121)]&&_0x262803?.[_0x2f7c1b(0xe4)]?.[_0x2f7c1b(0x121)]?.[_0x2f7c1b(0x13a)],_0x1096f1=_0x262803?.[_0x2f7c1b(0xe4)]&&_0x262803?.[_0x2f7c1b(0xe4)]?.[_0x2f7c1b(0xd3)];if(_0x142df5[_0x2f7c1b(0xe6)](_0x44497f,_0x1096f1)){this[_0x2f7c1b(0xde)][_0x2f7c1b(0x15f)](_0x2f7c1b(0x16c)+util[_0x2f7c1b(0xef)](_0x44497f)+'\x20||\x20'+util['inspect'](_0x1096f1));const _0x339475=_0x262803?.[_0x2f7c1b(0xce)],_0x4ec572=global?.['__workerDetails']?.['workerInfo']?.['parallelIndex'],_0x1aff96=_0x44497f?.['sessionId']||_0x1096f1?.['sessionId'],_0x19a32a=_0x44497f?.[_0x2f7c1b(0x111)]||_0x1096f1?.[_0x2f7c1b(0x111)];_0x1aff96&&(this[_0x2f7c1b(0xde)][_0x2f7c1b(0x15f)](_0x2f7c1b(0x179)+_0x1aff96),AutomationFramework['setState'](_0x339475,PlaywrightDriverModule[_0x2f7c1b(0xf4)],_0x1aff96)),_0x4ec572&&(this['logger'][_0x2f7c1b(0x15f)]('onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20'+util['inspect'](_0x4ec572)),AutomationFramework[_0x2f7c1b(0x171)](_0x339475,PlaywrightDriverModule['KEY_PLATFORM_INDEX'],_0x4ec572));}}catch(_0x5327e7){this[_0x2f7c1b(0xde)]['error'](_0x2f7c1b(0x123)+util[_0x2f7c1b(0x165)](_0x5327e7));}}async[a77_0x4209d3(0xf8)](_0x11d3a9){const _0x106177=a77_0x4209d3,_0x17304f={'hhlwU':'onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','rDjiX':function(_0x21ccc0,_0x3a6634){return _0x21ccc0(_0x3a6634);},'PfNmO':_0x106177(0xf2),'ZXBQp':_0x106177(0xe9),'DoHLh':_0x106177(0x14c),'peOdp':'onAfterDriverCreate:\x20Setting\x20browser\x20object','WQnKP':_0x106177(0xdb)};try{this[_0x106177(0xde)][_0x106177(0x15f)](_0x17304f[_0x106177(0x159)]);const _0x35e89f=_0x11d3a9[_0x106177(0xce)];this[_0x106177(0x154)]=_0x17304f[_0x106177(0xd0)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x11d3a9[_0x106177(0x102)]){this[_0x106177(0xde)][_0x106177(0x15f)](_0x17304f[_0x106177(0x114)]),AutomationFramework['setState'](_0x35e89f,PlaywrightDriverModule['KEY_PAGE_OBJECT'],_0x11d3a9[_0x106177(0x102)]);if(_0x11d3a9['testInfo']){this['logger'][_0x106177(0x15f)](_0x17304f[_0x106177(0x133)]);const _0x53e86f=_0x11d3a9[_0x106177(0x155)]?.[_0x106177(0x134)]?.['id']||_0x11d3a9[_0x106177(0x155)]?.[_0x106177(0x126)];AutomationFramework[_0x106177(0x171)](_0x35e89f,PlaywrightDriverModule['KEY_TEST_ID'],_0x53e86f),await this[_0x106177(0xd2)](_0x11d3a9[_0x106177(0x155)]);}}_0x11d3a9[_0x106177(0x151)]&&(this[_0x106177(0xde)]['debug'](_0x17304f['DoHLh']),AutomationFramework[_0x106177(0x171)](_0x35e89f,PlaywrightDriverModule[_0x106177(0x15a)],_0x11d3a9['context']));if(_0x11d3a9[_0x106177(0x14f)]){this['logger']['debug'](_0x17304f[_0x106177(0x10a)]);const _0x3d1db0=global?.[_0x106177(0x148)]?.[_0x106177(0x17b)]?.['parallelIndex'];AutomationFramework[_0x106177(0x171)](_0x35e89f,PlaywrightDriverModule[_0x106177(0x11f)],_0x11d3a9['browser']),AutomationFramework[_0x106177(0x171)](_0x35e89f,PlaywrightDriverModule[_0x106177(0x12b)],_0x3d1db0);const _0x54e2f8={};_0x54e2f8[_0x106177(0x183)]=!![];const _0x442cc7=Buffer[_0x106177(0x119)](JSON['stringify'](_0x54e2f8)[_0x106177(0xd4)](_0x17304f[_0x106177(0x11d)])),_0xcc8ff5=await GrpcClient[_0x106177(0xe2)]()[_0x106177(0x144)]({'platformIndex':_0x3d1db0,'ref':_0x35e89f['getRef'](),'userInputParams':_0x442cc7});helper[_0x106177(0xfb)](helper['isBrowserstackInfra']())&&AutomationFramework[_0x106177(0x171)](_0x35e89f,PlaywrightDriverModule[_0x106177(0xdd)],JSON[_0x106177(0x110)](Buffer['from'](_0xcc8ff5[_0x106177(0x11e)](),_0x17304f[_0x106177(0x11d)])[_0x106177(0xd4)]()));}}catch(_0x48a93d){this[_0x106177(0xde)][_0x106177(0x142)](_0x106177(0xdf)+util[_0x106177(0x165)](_0x48a93d));}}async[a77_0x4209d3(0xe7)](_0x588aae){const _0x216b5d=a77_0x4209d3,_0x3761ed={'NDqxT':'Automation\x20onAfterTest:\x20Test\x20completed','wzyES':_0x216b5d(0x164),'JZvcX':function(_0xad9331,_0x47b1e0){return _0xad9331(_0x47b1e0);},'gDuce':function(_0x4ff225,_0x4606cb){return _0x4ff225(_0x4606cb);},'mPnBM':function(_0x25b21a,_0x41b766,_0xecf8a8){return _0x25b21a(_0x41b766,_0xecf8a8);},'qafvl':'errors','JCXZt':function(_0x270f85,_0x1413b8){return _0x270f85>_0x1413b8;},'pXFcQ':function(_0x590676,_0xc127ba){return _0x590676+_0xc127ba;},'lZfsz':_0x216b5d(0x173),'YAgzr':_0x216b5d(0xf6),'ZiZSu':_0x216b5d(0x184),'zFihn':_0x216b5d(0x104),'INCNq':function(_0x2ba6bd,_0x15417e){return _0x2ba6bd(_0x15417e);},'PkyQB':_0x216b5d(0x16b),'sENPQ':function(_0x5b7481,_0x238275){return _0x5b7481>_0x238275;},'OZrSy':_0x216b5d(0xdb),'cfvQv':_0x216b5d(0x15b)};this['logger'][_0x216b5d(0x15f)](_0x3761ed['NDqxT']);const _0x45c3b6=_0x588aae[_0x216b5d(0xce)];if(!_0x45c3b6){this[_0x216b5d(0xde)][_0x216b5d(0x15f)](_0x3761ed[_0x216b5d(0x137)]);return;}const _0x131942=_0x588aae[_0x216b5d(0x155)],_0x55fc61=_0x131942['id']||_0x588aae[_0x216b5d(0x155)]?.['_test']?.['id']||_0x588aae[_0x216b5d(0x155)]?.[_0x216b5d(0x126)],_0x7c78a3=_0x131942['status'],_0x25295f=_0x3761ed['JZvcX'](getPlaywrightStatus,_0x7c78a3);let _0x436462;_0x131942[_0x216b5d(0x16e)]||_0x131942[_0x216b5d(0x14a)]?_0x436462=_0x3761ed[_0x216b5d(0xfa)](getCucumberSessionName,_0x131942):_0x436462=_0x3761ed[_0x216b5d(0xda)](getPlaywrightSessionName,_0x131942);const _0x5b9ce7=_0x3761ed['mPnBM'](nestedKeyValue,_0x131942,[_0x3761ed[_0x216b5d(0x178)]]);let _0x4d8f5b=null;_0x5b9ce7&&_0x3761ed['JCXZt'](_0x5b9ce7[_0x216b5d(0x13d)],0x0)&&(_0x4d8f5b=_0x5b9ce7[0x0][_0x216b5d(0xe4)]);this['logger'][_0x216b5d(0x15f)](_0x216b5d(0x13c)+_0x25295f+'\x20failure\x20reason:\x20'+_0x4d8f5b);const _0x1e4b26=TestInfo[_0x216b5d(0xe5)](TestInfo['getTestIdentifierFromTestInfo'](_0x131942,_0x131942[_0x216b5d(0xf3)])),_0x226c4e=TestInfo[_0x216b5d(0x17d)](TestInfo[_0x216b5d(0x176)](_0x131942,_0x131942[_0x216b5d(0xf3)]));this[_0x216b5d(0xde)][_0x216b5d(0xfe)](_0x3761ed[_0x216b5d(0x129)](_0x3761ed[_0x216b5d(0x177)],_0x55fc61)),this[_0x216b5d(0xde)]['info'](_0x3761ed[_0x216b5d(0x129)](_0x3761ed[_0x216b5d(0x125)],util[_0x216b5d(0xef)](_0x226c4e)));const _0x3718b5=AutomationFramework[_0x216b5d(0xd1)](_0x45c3b6,PlaywrightDriverModule['KEY_PLATFORM_INDEX'])||0x0,_0x3a8769=_0x226c4e[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]||_0x3761ed['ZiZSu'],_0x402288=_0x226c4e[TestFrameworkConstants[_0x216b5d(0x113)]]||_0x3761ed['zFihn'],_0x147161=TestFrameworkState[_0x216b5d(0x10b)][_0x216b5d(0xd4)]()[_0x216b5d(0x139)]('.')[0x1],_0xd28c37=HookState['POST'][_0x216b5d(0xd4)]()[_0x216b5d(0x139)]('.')[0x1],_0x49612a=_0x45c3b6[_0x216b5d(0x132)](),_0x37315f=AutomationFramework[_0x216b5d(0xd1)](_0x45c3b6,PlaywrightDriverModule[_0x216b5d(0x127)],''),_0x3f41a7={'provider':_0x3761ed[_0x216b5d(0xfc)](getPlaywrightProvider,_0x37315f),'frameworkName':_0x3761ed['ZiZSu'],'frameworkVersion':_0x3761ed[_0x216b5d(0xe0)],'frameworkSessionId':AutomationFramework[_0x216b5d(0xd1)](_0x45c3b6,PlaywrightDriverModule[_0x216b5d(0xf4)],''),'ref':_0x45c3b6['getRef'](),'hubUrl':_0x37315f};let _0x21ddca=AutomationFramework['getState'](_0x45c3b6,PlaywrightDriverModule[_0x216b5d(0xdd)],{});_0x21ddca&&_0x3761ed[_0x216b5d(0x170)](Object['keys'](_0x21ddca)[_0x216b5d(0x13d)],0x0)?_0x21ddca=Buffer['from'](JSON[_0x216b5d(0x162)](_0x21ddca))[_0x216b5d(0xd4)](_0x3761ed[_0x216b5d(0x143)]):_0x21ddca={};const _0x372ae7={'hash':_0x49612a['getId'](),'threadId':_0x49612a[_0x216b5d(0xed)]()[_0x216b5d(0xd4)](),'processId':_0x49612a['getProcessId']()[_0x216b5d(0xd4)]()},_0x429e24={};_0x429e24[_0x216b5d(0x10c)]=_0x3718b5,_0x429e24['testFrameworkName']=_0x3a8769,_0x429e24[_0x216b5d(0x141)]=_0x402288,_0x429e24[_0x216b5d(0xf7)]=_0x147161,_0x429e24[_0x216b5d(0x11b)]=_0xd28c37,_0x429e24[_0x216b5d(0xd9)]=_0x1e4b26,_0x429e24[_0x216b5d(0x130)]=_0x3f41a7,_0x429e24[_0x216b5d(0x11c)]=_0x21ddca,_0x429e24['executionContext']=_0x372ae7;const _0x7202b7=_0x429e24;this[_0x216b5d(0xde)][_0x216b5d(0x15f)](_0x216b5d(0xfd)+util[_0x216b5d(0x165)](_0x7202b7)),this[_0x216b5d(0xde)][_0x216b5d(0x15f)](_0x216b5d(0x147)+_0x55fc61);if(!_0x25295f){this[_0x216b5d(0xde)][_0x216b5d(0x15f)](_0x3761ed[_0x216b5d(0xf1)],_0x7c78a3[_0x216b5d(0x152)]);return;}this[_0x216b5d(0xde)][_0x216b5d(0x15f)]('Automation\x20onAfterTest:\x20Setting\x20session\x20status\x20for\x20testId:\x20'+_0x55fc61),await this[_0x216b5d(0x131)](_0x45c3b6,_0x436462,_0x25295f,_0x4d8f5b);}async[a77_0x4209d3(0x131)](_0x18177e,_0x195089,_0x16ee92,_0x1b9844){const _0x57e427=a77_0x4209d3,_0x1de8a5={'rWVtZ':_0x57e427(0x10d),'qYRGL':_0x57e427(0x107),'VUOFY':_0x57e427(0xeb),'DkxgL':_0x57e427(0x15b),'uCpfM':_0x57e427(0x17a),'MOYWI':'reason','xcdVb':_0x57e427(0x17c),'KOBfh':function(_0xd49a4b,_0x503e86){return _0xd49a4b===_0x503e86;},'JnNIY':_0x57e427(0x185),'KzTJg':_0x57e427(0xfe),'OYMRZ':_0x57e427(0x142),'tvStm':function(_0x19dc16,_0x58bd3a,_0x3178ca,_0x1f2daf){return _0x19dc16(_0x58bd3a,_0x3178ca,_0x1f2daf);},'cdrUA':_0x57e427(0x13e),'UbiCS':function(_0x2aa4bc,_0x5d91b7,_0x203e4a){return _0x2aa4bc(_0x5d91b7,_0x203e4a);}};if(CLIUtils['shouldSkipSessionStatus'](BrowserstackCLI[_0x57e427(0xe2)]()['getConfig']())){this['logger'][_0x57e427(0x15f)](_0x1de8a5[_0x57e427(0x166)]);return;}const _0xf889d6=_0x18177e;if(!_0xf889d6){this[_0x57e427(0xde)]['debug'](_0x1de8a5[_0x57e427(0x156)]);return;}const _0x5966ef=AutomationFramework[_0x57e427(0xd1)](_0xf889d6,PlaywrightDriverModule['KEY_PAGE_OBJECT']);if(!_0x5966ef){this[_0x57e427(0xde)]['debug'](_0x1de8a5[_0x57e427(0x15e)]);return;}const _0x594599=_0x16ee92;if(!_0x594599){this[_0x57e427(0xde)]['debug'](_0x1de8a5[_0x57e427(0x17e)],_0x594599);return;}const _0x44b268={};_0x44b268[_0x57e427(0x152)]=_0x594599;const _0x553646={};_0x553646[_0x57e427(0x145)]=_0x1de8a5[_0x57e427(0x14b)],_0x553646[_0x57e427(0x187)]=_0x44b268;const _0x345f64=_0x553646;_0x1b9844&&(_0x345f64[_0x57e427(0x187)][_0x1de8a5[_0x57e427(0xd6)]]=_0x1b9844);const _0x17a0a6=(_0x195089?_0x195089:_0x1de8a5[_0x57e427(0x16a)])+'\x20'+_0x594599+'\x20'+(_0x1b9844?_0x57e427(0x11a)+_0x1b9844:''),_0x3bb026=_0x1de8a5[_0x57e427(0x128)](_0x594599,_0x1de8a5[_0x57e427(0x140)])?_0x1de8a5[_0x57e427(0xf9)]:_0x1de8a5['OYMRZ'];await _0x1de8a5[_0x57e427(0x12f)](playwrightAnnotate,_0x5966ef,_0x17a0a6,_0x3bb026),PerformanceTester['start'](PerformanceEvents['SESSION_STATUS']),this[_0x57e427(0xde)]['debug'](_0x1de8a5[_0x57e427(0xd5)]),await _0x1de8a5[_0x57e427(0x120)](playwrightBstackJsExecutor,_0x5966ef,_0x345f64),PerformanceTester[_0x57e427(0x135)](PerformanceEvents['SESSION_STATUS']);}async[a77_0x4209d3(0xd2)](_0x191795){const _0x27a96e=a77_0x4209d3,_0x573370={'lVzWc':_0x27a96e(0xd8),'Bifti':function(_0x9ec706,_0x35f87c){return _0x9ec706(_0x35f87c);},'chyCy':'setSessionName','axJKz':function(_0x5c8f70,_0x569257,_0x1c3ae2){return _0x5c8f70(_0x569257,_0x1c3ae2);}};try{if(CLIUtils[_0x27a96e(0x10f)](BrowserstackCLI[_0x27a96e(0xe2)]()[_0x27a96e(0x172)]())){this[_0x27a96e(0xde)][_0x27a96e(0x15f)](_0x573370[_0x27a96e(0x13f)]);return;}const _0x5048f9=AutomationFramework[_0x27a96e(0xd1)](AutomationFramework[_0x27a96e(0x101)](),PlaywrightDriverModule[_0x27a96e(0x12e)]);let _0xaf92c5;_0x191795[_0x27a96e(0x16e)]||_0x191795['gherkinDocument']?_0xaf92c5=_0x573370['Bifti'](getCucumberSessionName,_0x191795):_0xaf92c5=_0x573370[_0x27a96e(0x15c)](getPlaywrightSessionName,_0x191795);const _0x5e4f75={};_0x5e4f75[_0x27a96e(0x14d)]=_0xaf92c5;const _0x10389c={};_0x10389c[_0x27a96e(0x145)]=_0x573370[_0x27a96e(0xec)],_0x10389c['arguments']=_0x5e4f75;const _0x29606e=_0x10389c;PerformanceTester[_0x27a96e(0xf0)](PerformanceEvents['SESSION_NAME']),await _0x573370[_0x27a96e(0xcf)](playwrightBstackJsExecutor,_0x5048f9,_0x29606e),PerformanceTester[_0x27a96e(0x135)](PerformanceEvents[_0x27a96e(0x174)]);}catch(_0x2f94de){PerformanceTester[_0x27a96e(0x135)](PerformanceEvents[_0x27a96e(0x174)],![],util['format'](_0x2f94de)),this[_0x27a96e(0xde)][_0x27a96e(0x142)]('Error\x20in\x20markSessionName:\x20'+util[_0x27a96e(0x165)](_0x2f94de));}}}PlaywrightDriverModule[a77_0x4209d3(0x13b)]=a77_0x4209d3(0x103),module[a77_0x4209d3(0x12c)]=PlaywrightDriverModule;
1
+ const a77_0x352db8=a77_0x15ce;(function(_0x1c7e86,_0x5a7f53){const _0x5180b0=a77_0x15ce,_0x4723c9=_0x1c7e86();while(!![]){try{const _0x2827ee=-parseInt(_0x5180b0(0x1bd))/0x1+-parseInt(_0x5180b0(0x190))/0x2+-parseInt(_0x5180b0(0x19a))/0x3+parseInt(_0x5180b0(0x1db))/0x4+parseInt(_0x5180b0(0x15f))/0x5*(-parseInt(_0x5180b0(0x1cf))/0x6)+-parseInt(_0x5180b0(0x1c3))/0x7+parseInt(_0x5180b0(0x14e))/0x8;if(_0x2827ee===_0x5a7f53)break;else _0x4723c9['push'](_0x4723c9['shift']());}catch(_0xf99659){_0x4723c9['push'](_0x4723c9['shift']());}}}(a77_0x2f75,0xb547d));function a77_0x2f75(){const _0x5b1d5c=['debug','markSessionName','onAfterDriverCreate:\x20Setting\x20context\x20object','error','../cliUtils.js','_test','LvYGQ','base64','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','onAfterDriverCreate','Error\x20in\x20markSessionName:\x20','QAOmH','util','RgzFF','exports','2524636FVNTdr','testInfo','getRef','Playwright','getContext','automationSession','yorar','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','SESSION_STATUS','action','1911228XUFiMx','capabilities','status','KEY_CONTEXT_OBJECT','EXECUTE','platformDetails','YfvfM','driverInit','caCmk','../state/testFrameworkState','markSessionStatus:\x20Marking\x20session\x20status','pickle','KEY_BROWSER_OBJECT','nMDlf','rPOmy','POST','Error\x20in\x20onBeforeDriverCreate:\x20','bStackParams','RQwqo','testUuid','FZhKf','platforms','euesw','PRE','XZujx','onDispatchExecute:\x20Playwright\x20sessionId:\x20','MRywE','TuOSq','instance','testId','KEY_TEST_ID','\x20failure\x20reason:\x20','browser','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','bind','1456695phpdMm','markSessionStatus','launchcaps','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','KEY_PAGE_OBJECT','hubUrl','2312660KfYpSk','SESSION_NAME','ZdUme','workerInfo','name','onPlaywrightDispatch','getTrackedInstance','rCafC','KEY_SESSION_ID','parallelIndex','sessionId','browserVersion','24oUFvUb','CREATE','testData\x20from\x20onAfterTest:\x20','sflIf','format','retry','errors','isFalse','gherkinDocument','onAfterTest\x20CBTSession\x20payload:\x20','Error\x20in\x20onDispatchExecute:\x20','xxsBP','1031028bCjHup','context','isPlaywright','gqJKV','MODULE_NAME','page','XRzpR','getInstance','end','arguments','nnyEb','testFrameworkName','onBeforeDriverCreate','OrgxM','pageObject','../framework/constants/testFrameworkConstants.js','../TestInfo.js','logger','../../../helpers/performance/constants.js','browserObject','../../../helpers/helper.js','browserName','1.51.0','vANzH','getTestUUID','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','mVsCi','getCapabilities','YtiRH','Error\x20in\x20onAfterDriverCreate:\x20','1.52.999','onAfterTest','../../../helpers/classLogger.js','message','isBrowserstackInfra','getThreadId','PPoSI','38586024kgUgqf','inspect','contextObject','markSessionName:\x20Skipping\x20session\x20name\x20marking','info','../../../helpers/helper','KEY_PLATFORM_INDEX','testRunId','with\x20','length','split','start','getTestIdentifierFromTestInfo','shouldSkipSessionName','./baseModule','PlaywrightDriverModule','registerObserver','815020IVOhfY','KnhHR','getState','setSessionStatus','iTmYC','vbKGs','getConfig','getTestDetails','Automation\x20onAfterTest:\x20Test\x20status:\x20','bsParams','cYUCT','FSQkp','QGnjy','vQyph','getProcessId','from','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','Vvyqh','getId','CnHSB','8|9|6|5|4|7|3|2|0|10|1','../browserstackCLI.js','../state/automationFrameworkState.js','playwrightVersion','stringify','__workerDetails','WVkWs','toString','setState','getModuleName','KEY_TEST_FRAMEWORK_NAME','smgmy','KEY_CAPABILITIES','vNLpi'];a77_0x2f75=function(){return _0x5b1d5c;};return a77_0x2f75();}const util=require(a77_0x352db8(0x18d)),BaseModule=require(a77_0x352db8(0x15c)),{createClassLogger}=require(a77_0x352db8(0x149)),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require(a77_0x352db8(0x153)),{FRAMEWORKS}=require('../../utils/constants'),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require(a77_0x352db8(0x175)),HookState=require('../state/hookState.js'),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require('../../../helpers/helper.js'),CLIUtils=require(a77_0x352db8(0x185)),BrowserstackCLI=require(a77_0x352db8(0x174)),GrpcClient=require('../grpcClient.js'),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),PerformanceEvents=require(a77_0x352db8(0x1ed))['AUTOMATE_EVENTS'],TestInfo=require(a77_0x352db8(0x1eb)),{getPlaywrightProvider}=require(a77_0x352db8(0x1ef)),TestFrameworkConstants=require(a77_0x352db8(0x1ea)),TestFrameworkState=require(a77_0x352db8(0x1a3));function a77_0x15ce(_0x59761b,_0x3e0ac4){const _0x2f7592=a77_0x2f75();return a77_0x15ce=function(_0x15cea4,_0x515d7e){_0x15cea4=_0x15cea4-0x146;let _0x34f727=_0x2f7592[_0x15cea4];return _0x34f727;},a77_0x15ce(_0x59761b,_0x3e0ac4);}class PlaywrightDriverModule extends BaseModule{static [a77_0x352db8(0x1a6)]=a77_0x352db8(0x1ee);static [a77_0x352db8(0x19d)]=a77_0x352db8(0x150);static ['KEY_PAGE_OBJECT']=a77_0x352db8(0x1e9);static [a77_0x352db8(0x1cb)]=a77_0x352db8(0x1cd);static [a77_0x352db8(0x154)]='platformIndex';static [a77_0x352db8(0x17f)]=a77_0x352db8(0x19b);static ['KEY_HUB_URL']=a77_0x352db8(0x1c2);static ['KEY_PLATFORM_DETAILS']='platformDetails';static [a77_0x352db8(0x1b8)]='testId';[a77_0x352db8(0x1ec)]=createClassLogger(a77_0x352db8(0x15d));constructor(){const _0x53c1a4=a77_0x352db8,_0x515f37={};_0x515f37['WVkWs']=_0x53c1a4(0x173),_0x515f37[_0x53c1a4(0x1da)]=_0x53c1a4(0x15d);const _0xe50572=_0x515f37,_0x244c4c=_0xe50572[_0x53c1a4(0x179)][_0x53c1a4(0x158)]('|');let _0x25e6ea=0x0;while(!![]){switch(_0x244c4c[_0x25e6ea++]){case'0':AutomationFramework[_0x53c1a4(0x15e)](AutomationFrameworkState['CREATE'],HookState[_0x53c1a4(0x1a9)],this['onAfterDriverCreate'][_0x53c1a4(0x1bc)](this));continue;case'1':AutomationFramework[_0x53c1a4(0x15e)](AutomationFrameworkState[_0x53c1a4(0x19e)],HookState[_0x53c1a4(0x1a9)],this[_0x53c1a4(0x148)][_0x53c1a4(0x1bc)](this));continue;case'2':AutomationFramework[_0x53c1a4(0x15e)](AutomationFrameworkState[_0x53c1a4(0x1d0)],HookState[_0x53c1a4(0x1b1)],this[_0x53c1a4(0x1e7)][_0x53c1a4(0x1bc)](this));continue;case'3':this[_0x53c1a4(0x155)]=null;continue;case'4':this[_0x53c1a4(0x1ce)]=null;continue;case'5':this[_0x53c1a4(0x1f0)]=null;continue;case'6':this['playwrightVersion']=null;continue;case'7':this[_0x53c1a4(0x1af)]=[];continue;case'8':super();continue;case'9':this[_0x53c1a4(0x1c7)]=_0xe50572[_0x53c1a4(0x1da)];continue;case'10':AutomationFramework[_0x53c1a4(0x15e)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x53c1a4(0x1a9)],this[_0x53c1a4(0x1c8)][_0x53c1a4(0x1bc)](this));continue;}break;}}[a77_0x352db8(0x17c)](){const _0x523bcc=a77_0x352db8;return PlaywrightDriverModule[_0x523bcc(0x1df)];}async[a77_0x352db8(0x1e7)](_0x10fe0d){const _0xfcaabf=a77_0x352db8,_0x32d758={};_0x32d758['rPOmy']=_0xfcaabf(0x189);const _0x490d74=_0x32d758;try{this[_0xfcaabf(0x1ec)][_0xfcaabf(0x181)](_0x490d74[_0xfcaabf(0x1a8)]);const _0x17cf44=_0x10fe0d[_0xfcaabf(0x1bf)],_0x47e2a6=_0x10fe0d[_0xfcaabf(0x1c2)];AutomationFramework[_0xfcaabf(0x17b)](_0x10fe0d['instance'],PlaywrightDriverModule[_0xfcaabf(0x17f)],_0x17cf44),AutomationFramework[_0xfcaabf(0x17b)](_0x10fe0d['instance'],PlaywrightDriverModule['KEY_HUB_URL'],_0x47e2a6);}catch(_0x48e9a3){this['logger']['error'](_0xfcaabf(0x1aa)+util[_0xfcaabf(0x1d3)](_0x48e9a3));}}async[a77_0x352db8(0x1c8)](_0x466dcf){const _0x1345fb=a77_0x352db8,_0x480425={};_0x480425[_0x1345fb(0x17e)]=function(_0x361dfc,_0x54daea){return _0x361dfc||_0x54daea;};const _0x52d3cb=_0x480425;try{const _0x4d34bf=_0x466dcf?.[_0x1345fb(0x14a)]&&_0x466dcf?.['message']?.['params']&&_0x466dcf?.[_0x1345fb(0x14a)]?.['params']?.[_0x1345fb(0x168)],_0x115c09=_0x466dcf?.[_0x1345fb(0x14a)]&&_0x466dcf?.[_0x1345fb(0x14a)]?.[_0x1345fb(0x1ab)];if(_0x52d3cb[_0x1345fb(0x17e)](_0x4d34bf,_0x115c09)){this[_0x1345fb(0x1ec)][_0x1345fb(0x181)]('onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20'+util['inspect'](_0x4d34bf)+'\x20||\x20'+util[_0x1345fb(0x14f)](_0x115c09));const _0x558338=_0x466dcf?.[_0x1345fb(0x1b6)],_0x5b7299=global?.['__workerDetails']?.[_0x1345fb(0x1c6)]?.[_0x1345fb(0x1cc)],_0x572be3=_0x4d34bf?.['sessionId']||_0x115c09?.[_0x1345fb(0x1cd)],_0x3f3816=_0x4d34bf?.[_0x1345fb(0x19f)]||_0x115c09?.[_0x1345fb(0x19f)];_0x572be3&&(this['logger'][_0x1345fb(0x181)](_0x1345fb(0x1b3)+_0x572be3),AutomationFramework[_0x1345fb(0x17b)](_0x558338,PlaywrightDriverModule['KEY_SESSION_ID'],_0x572be3)),_0x5b7299&&(this[_0x1345fb(0x1ec)]['debug']('onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20'+util[_0x1345fb(0x14f)](_0x5b7299)),AutomationFramework[_0x1345fb(0x17b)](_0x558338,PlaywrightDriverModule[_0x1345fb(0x154)],_0x5b7299));}}catch(_0x125960){this[_0x1345fb(0x1ec)][_0x1345fb(0x184)](_0x1345fb(0x1d9)+util['format'](_0x125960));}}async[a77_0x352db8(0x18a)](_0x467382){const _0x812ccd=a77_0x352db8,_0x1a38eb={'yorar':_0x812ccd(0x1bb),'OrgxM':function(_0x4a3a21,_0x29e68d){return _0x4a3a21(_0x29e68d);},'caCmk':'onAfterDriverCreate:\x20Setting\x20page\x20object','mqpro':'onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','TuOSq':_0x812ccd(0x183),'Vvyqh':'onAfterDriverCreate:\x20Setting\x20browser\x20object','RQwqo':_0x812ccd(0x188)};try{this['logger'][_0x812ccd(0x181)](_0x1a38eb[_0x812ccd(0x196)]);const _0xb4e189=_0x467382[_0x812ccd(0x1b6)];this[_0x812ccd(0x176)]=_0x1a38eb[_0x812ccd(0x1e8)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x467382[_0x812ccd(0x1e0)]){this[_0x812ccd(0x1ec)]['debug'](_0x1a38eb[_0x812ccd(0x1a2)]),AutomationFramework['setState'](_0xb4e189,PlaywrightDriverModule[_0x812ccd(0x1c1)],_0x467382[_0x812ccd(0x1e0)]);if(_0x467382[_0x812ccd(0x191)]){this[_0x812ccd(0x1ec)][_0x812ccd(0x181)](_0x1a38eb['mqpro']);const _0x27288a=_0x467382['testInfo']?.[_0x812ccd(0x186)]?.['id']||_0x467382[_0x812ccd(0x191)]?.[_0x812ccd(0x1b7)];AutomationFramework[_0x812ccd(0x17b)](_0xb4e189,PlaywrightDriverModule[_0x812ccd(0x1b8)],_0x27288a),await this[_0x812ccd(0x182)](_0x467382[_0x812ccd(0x191)]);}}_0x467382[_0x812ccd(0x1dc)]&&(this[_0x812ccd(0x1ec)][_0x812ccd(0x181)](_0x1a38eb[_0x812ccd(0x1b5)]),AutomationFramework[_0x812ccd(0x17b)](_0xb4e189,PlaywrightDriverModule[_0x812ccd(0x19d)],_0x467382[_0x812ccd(0x1dc)]));if(_0x467382[_0x812ccd(0x1ba)]){this[_0x812ccd(0x1ec)][_0x812ccd(0x181)](_0x1a38eb[_0x812ccd(0x170)]);const _0x17fd9b=global?.[_0x812ccd(0x178)]?.[_0x812ccd(0x1c6)]?.[_0x812ccd(0x1cc)];AutomationFramework[_0x812ccd(0x17b)](_0xb4e189,PlaywrightDriverModule[_0x812ccd(0x1a6)],_0x467382['browser']),AutomationFramework[_0x812ccd(0x17b)](_0xb4e189,PlaywrightDriverModule[_0x812ccd(0x154)],_0x17fd9b);const _0x2eb31f={};_0x2eb31f[_0x812ccd(0x1dd)]=!![];const _0x1a08e9=Buffer[_0x812ccd(0x16e)](JSON['stringify'](_0x2eb31f)[_0x812ccd(0x17a)](_0x1a38eb[_0x812ccd(0x1ac)])),_0x47974a=await GrpcClient[_0x812ccd(0x1e2)]()[_0x812ccd(0x1a1)]({'platformIndex':_0x17fd9b,'ref':_0xb4e189['getRef'](),'userInputParams':_0x1a08e9});helper[_0x812ccd(0x1d6)](helper[_0x812ccd(0x14b)]())&&AutomationFramework[_0x812ccd(0x17b)](_0xb4e189,PlaywrightDriverModule[_0x812ccd(0x17f)],JSON['parse'](Buffer[_0x812ccd(0x16e)](_0x47974a[_0x812ccd(0x1f6)](),_0x1a38eb[_0x812ccd(0x1ac)])[_0x812ccd(0x17a)]()));}}catch(_0x6661b){this['logger'][_0x812ccd(0x184)](_0x812ccd(0x146)+util[_0x812ccd(0x1d3)](_0x6661b));}}async[a77_0x352db8(0x148)](_0x1ec125){const _0x37c935=a77_0x352db8,_0x417026={'cYUCT':'Automation\x20onAfterTest:\x20Test\x20completed','FZhKf':_0x37c935(0x1f4),'LvYGQ':function(_0x34f803,_0x10af4b){return _0x34f803(_0x10af4b);},'zLQSL':function(_0x131b82,_0x290f9f){return _0x131b82(_0x290f9f);},'iTmYC':function(_0x41d0f3,_0x2e88c4,_0x2fef84){return _0x41d0f3(_0x2e88c4,_0x2fef84);},'CnHSB':_0x37c935(0x1d5),'FSQkp':function(_0x115ad4,_0x284a11){return _0x115ad4>_0x284a11;},'nnyEb':function(_0x2b62f7,_0x4ed90b){return _0x2b62f7+_0x4ed90b;},'GBDvx':'testId:\x20','vbKGs':_0x37c935(0x1d1),'euesw':_0x37c935(0x193),'vNLpi':_0x37c935(0x147),'YfvfM':function(_0x54c380,_0x5b7243){return _0x54c380(_0x5b7243);},'vQyph':_0x37c935(0x1f1),'gqJKV':function(_0x443d23,_0x1d5b3f){return _0x443d23>_0x1d5b3f;},'kfGLp':_0x37c935(0x188),'sflIf':_0x37c935(0x197)};this[_0x37c935(0x1ec)][_0x37c935(0x181)](_0x417026[_0x37c935(0x169)]);const _0x3e4d80=_0x1ec125[_0x37c935(0x1b6)];if(!_0x3e4d80){this[_0x37c935(0x1ec)][_0x37c935(0x181)](_0x417026[_0x37c935(0x1ae)]);return;}const _0x2ac6b9=_0x1ec125[_0x37c935(0x191)],_0x3da09c=_0x2ac6b9['id']||_0x1ec125['testInfo']?.[_0x37c935(0x186)]?.['id']||_0x1ec125[_0x37c935(0x191)]?.[_0x37c935(0x1b7)],_0x3b11f5=_0x2ac6b9['status'],_0x1aad48=_0x417026[_0x37c935(0x187)](getPlaywrightStatus,_0x3b11f5);let _0x1f094e;_0x2ac6b9[_0x37c935(0x1a5)]||_0x2ac6b9[_0x37c935(0x1d7)]?_0x1f094e=_0x417026[_0x37c935(0x187)](getCucumberSessionName,_0x2ac6b9):_0x1f094e=_0x417026['zLQSL'](getPlaywrightSessionName,_0x2ac6b9);const _0x3f150a=_0x417026[_0x37c935(0x163)](nestedKeyValue,_0x2ac6b9,[_0x417026[_0x37c935(0x172)]]);let _0x7b4247=null;_0x3f150a&&_0x417026[_0x37c935(0x16a)](_0x3f150a['length'],0x0)&&(_0x7b4247=_0x3f150a[0x0][_0x37c935(0x14a)]);this[_0x37c935(0x1ec)][_0x37c935(0x181)](_0x37c935(0x167)+_0x1aad48+_0x37c935(0x1b9)+_0x7b4247);const _0x29bd46=TestInfo[_0x37c935(0x1f3)](TestInfo[_0x37c935(0x15a)](_0x2ac6b9,_0x2ac6b9[_0x37c935(0x1d4)])),_0x1da8de=TestInfo[_0x37c935(0x166)](TestInfo['getTestIdentifierFromTestInfo'](_0x2ac6b9,_0x2ac6b9['retry']));this['logger']['info'](_0x417026[_0x37c935(0x1e5)](_0x417026['GBDvx'],_0x3da09c)),this[_0x37c935(0x1ec)][_0x37c935(0x152)](_0x417026['nnyEb'](_0x417026[_0x37c935(0x164)],util[_0x37c935(0x14f)](_0x1da8de)));const _0x4c85ee=AutomationFramework[_0x37c935(0x161)](_0x3e4d80,PlaywrightDriverModule[_0x37c935(0x154)])||0x0,_0x1518c3=_0x1da8de[TestFrameworkConstants[_0x37c935(0x17d)]]||_0x417026[_0x37c935(0x1b0)],_0x2ae4a8=_0x1da8de[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]||_0x417026[_0x37c935(0x180)],_0x3b2113=TestFrameworkState['TEST'][_0x37c935(0x17a)]()['split']('.')[0x1],_0x3e6534=HookState['POST'][_0x37c935(0x17a)]()[_0x37c935(0x158)]('.')[0x1],_0x426dc5=_0x3e4d80[_0x37c935(0x194)](),_0x3bf342=AutomationFramework[_0x37c935(0x161)](_0x3e4d80,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x4e7542={'provider':_0x417026[_0x37c935(0x1a0)](getPlaywrightProvider,_0x3bf342),'frameworkName':_0x417026[_0x37c935(0x1b0)],'frameworkVersion':_0x417026[_0x37c935(0x16c)],'frameworkSessionId':AutomationFramework['getState'](_0x3e4d80,PlaywrightDriverModule[_0x37c935(0x1cb)],''),'ref':_0x3e4d80[_0x37c935(0x192)](),'hubUrl':_0x3bf342};let _0x3dd7f3=AutomationFramework[_0x37c935(0x161)](_0x3e4d80,PlaywrightDriverModule[_0x37c935(0x17f)],{});_0x3dd7f3&&_0x417026[_0x37c935(0x1de)](Object['keys'](_0x3dd7f3)[_0x37c935(0x157)],0x0)?_0x3dd7f3=Buffer[_0x37c935(0x16e)](JSON[_0x37c935(0x177)](_0x3dd7f3))[_0x37c935(0x17a)](_0x417026['kfGLp']):_0x3dd7f3={};const _0x3b8e47={'hash':_0x426dc5[_0x37c935(0x171)](),'threadId':_0x426dc5[_0x37c935(0x14c)]()[_0x37c935(0x17a)](),'processId':_0x426dc5[_0x37c935(0x16d)]()[_0x37c935(0x17a)]()},_0x1d77da={};_0x1d77da['platformIndex']=_0x4c85ee,_0x1d77da[_0x37c935(0x1e6)]=_0x1518c3,_0x1d77da['testFrameworkVersion']=_0x2ae4a8,_0x1d77da['testFrameworkState']=_0x3b2113,_0x1d77da['testHookState']=_0x3e6534,_0x1d77da[_0x37c935(0x1ad)]=_0x29bd46,_0x1d77da[_0x37c935(0x195)]=_0x4e7542,_0x1d77da[_0x37c935(0x19b)]=_0x3dd7f3,_0x1d77da['executionContext']=_0x3b8e47;const _0xa91c3f=_0x1d77da;this['logger'][_0x37c935(0x181)](_0x37c935(0x1d8)+util['format'](_0xa91c3f)),this[_0x37c935(0x1ec)]['debug']('onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20'+_0x3da09c);if(!_0x1aad48){this['logger']['debug'](_0x417026[_0x37c935(0x1d2)],_0x3b11f5[_0x37c935(0x19c)]);return;}this[_0x37c935(0x1ec)]['debug']('Automation\x20onAfterTest:\x20Setting\x20session\x20status\x20for\x20testId:\x20'+_0x3da09c),await this[_0x37c935(0x1be)](_0x3e4d80,_0x1f094e,_0x1aad48,_0x7b4247);}async[a77_0x352db8(0x1be)](_0x54d436,_0x43a067,_0x1bfd88,_0x176040){const _0x26d0f7=a77_0x352db8,_0x255d61={'mVsCi':'markSessionStatus:\x20Skipping\x20session\x20status\x20marking','QAOmH':_0x26d0f7(0x16f),'FfuhG':_0x26d0f7(0x1c0),'XZujx':_0x26d0f7(0x197),'RgzFF':_0x26d0f7(0x162),'MRywE':'reason','rCafC':'Session','QGnjy':function(_0x500331,_0x244dad){return _0x500331===_0x244dad;},'ZdUme':'passed','KnhHR':_0x26d0f7(0x152),'YtiRH':'error','SOmSI':function(_0x40db95,_0x54f7e5,_0x227e2b,_0x2ff9a8){return _0x40db95(_0x54f7e5,_0x227e2b,_0x2ff9a8);},'XRzpR':_0x26d0f7(0x1a4),'STUdt':function(_0x18efa6,_0x169092,_0x173b45){return _0x18efa6(_0x169092,_0x173b45);}};if(CLIUtils['shouldSkipSessionStatus'](BrowserstackCLI[_0x26d0f7(0x1e2)]()['getConfig']())){this[_0x26d0f7(0x1ec)][_0x26d0f7(0x181)](_0x255d61[_0x26d0f7(0x1f5)]);return;}const _0x3afbb8=_0x54d436;if(!_0x3afbb8){this[_0x26d0f7(0x1ec)][_0x26d0f7(0x181)](_0x255d61[_0x26d0f7(0x18c)]);return;}const _0x40cf2d=AutomationFramework[_0x26d0f7(0x161)](_0x3afbb8,PlaywrightDriverModule[_0x26d0f7(0x1c1)]);if(!_0x40cf2d){this[_0x26d0f7(0x1ec)][_0x26d0f7(0x181)](_0x255d61['FfuhG']);return;}const _0x2c471e=_0x1bfd88;if(!_0x2c471e){this[_0x26d0f7(0x1ec)][_0x26d0f7(0x181)](_0x255d61[_0x26d0f7(0x1b2)],_0x2c471e);return;}const _0x511c61={};_0x511c61['status']=_0x2c471e;const _0x481773={};_0x481773[_0x26d0f7(0x199)]=_0x255d61[_0x26d0f7(0x18e)],_0x481773[_0x26d0f7(0x1e4)]=_0x511c61;const _0x27648d=_0x481773;_0x176040&&(_0x27648d['arguments'][_0x255d61[_0x26d0f7(0x1b4)]]=_0x176040);const _0x5d1693=(_0x43a067?_0x43a067:_0x255d61[_0x26d0f7(0x1ca)])+'\x20'+_0x2c471e+'\x20'+(_0x176040?_0x26d0f7(0x156)+_0x176040:''),_0xa24fc3=_0x255d61[_0x26d0f7(0x16b)](_0x2c471e,_0x255d61[_0x26d0f7(0x1c5)])?_0x255d61[_0x26d0f7(0x160)]:_0x255d61[_0x26d0f7(0x1f7)];await _0x255d61['SOmSI'](playwrightAnnotate,_0x40cf2d,_0x5d1693,_0xa24fc3),PerformanceTester['start'](PerformanceEvents['SESSION_STATUS']),this[_0x26d0f7(0x1ec)][_0x26d0f7(0x181)](_0x255d61[_0x26d0f7(0x1e1)]),await _0x255d61['STUdt'](playwrightBstackJsExecutor,_0x40cf2d,_0x27648d),PerformanceTester[_0x26d0f7(0x1e3)](PerformanceEvents[_0x26d0f7(0x198)]);}async[a77_0x352db8(0x182)](_0x134a01){const _0x4f2ece=a77_0x352db8,_0x3383ee={'nMDlf':_0x4f2ece(0x151),'PPoSI':function(_0x5ec3f2,_0x3402ac){return _0x5ec3f2(_0x3402ac);},'vANzH':'setSessionName','tMnKM':function(_0x5b8b69,_0x2eb7f1,_0x21c8d1){return _0x5b8b69(_0x2eb7f1,_0x21c8d1);}};try{if(CLIUtils[_0x4f2ece(0x15b)](BrowserstackCLI['getInstance']()[_0x4f2ece(0x165)]())){this['logger'][_0x4f2ece(0x181)](_0x3383ee[_0x4f2ece(0x1a7)]);return;}const _0xc33288=AutomationFramework[_0x4f2ece(0x161)](AutomationFramework[_0x4f2ece(0x1c9)](),PlaywrightDriverModule[_0x4f2ece(0x1c1)]);let _0x27c762;_0x134a01['pickle']||_0x134a01[_0x4f2ece(0x1d7)]?_0x27c762=_0x3383ee[_0x4f2ece(0x14d)](getCucumberSessionName,_0x134a01):_0x27c762=_0x3383ee[_0x4f2ece(0x14d)](getPlaywrightSessionName,_0x134a01);const _0x45d34f={};_0x45d34f[_0x4f2ece(0x1c7)]=_0x27c762;const _0x44f816={};_0x44f816['action']=_0x3383ee[_0x4f2ece(0x1f2)],_0x44f816['arguments']=_0x45d34f;const _0x521aca=_0x44f816;PerformanceTester[_0x4f2ece(0x159)](PerformanceEvents[_0x4f2ece(0x1c4)]),await _0x3383ee['tMnKM'](playwrightBstackJsExecutor,_0xc33288,_0x521aca),PerformanceTester[_0x4f2ece(0x1e3)](PerformanceEvents[_0x4f2ece(0x1c4)]);}catch(_0x4a5d31){PerformanceTester[_0x4f2ece(0x1e3)](PerformanceEvents[_0x4f2ece(0x1c4)],![],util[_0x4f2ece(0x1d3)](_0x4a5d31)),this['logger'][_0x4f2ece(0x184)](_0x4f2ece(0x18b)+util[_0x4f2ece(0x1d3)](_0x4a5d31));}}}PlaywrightDriverModule[a77_0x352db8(0x1df)]=a77_0x352db8(0x15d),module[a77_0x352db8(0x18f)]=PlaywrightDriverModule;
@@ -1 +1 @@
1
- function a78_0x3498(_0x28b293,_0x1491c5){const _0x297256=a78_0x2972();return a78_0x3498=function(_0x349807,_0x24173e){_0x349807=_0x349807-0xd5;let _0x4c4bae=_0x297256[_0x349807];return _0x4c4bae;},a78_0x3498(_0x28b293,_0x1491c5);}const a78_0x2fcff0=a78_0x3498;(function(_0x4cd734,_0x1421e6){const _0x4c88fc=a78_0x3498,_0x1b215b=_0x4cd734();while(!![]){try{const _0x2eef91=-parseInt(_0x4c88fc(0x112))/0x1+parseInt(_0x4c88fc(0x122))/0x2*(parseInt(_0x4c88fc(0x126))/0x3)+parseInt(_0x4c88fc(0x132))/0x4*(-parseInt(_0x4c88fc(0x128))/0x5)+parseInt(_0x4c88fc(0xde))/0x6+parseInt(_0x4c88fc(0xe3))/0x7+-parseInt(_0x4c88fc(0xd9))/0x8+-parseInt(_0x4c88fc(0xfd))/0x9*(-parseInt(_0x4c88fc(0x104))/0xa);if(_0x2eef91===_0x1421e6)break;else _0x1b215b['push'](_0x1b215b['shift']());}catch(_0x5345bd){_0x1b215b['push'](_0x1b215b['shift']());}}}(a78_0x2972,0x4abf0));function a78_0x2972(){const _0x1349f3=['testhubConfig','getThreadId','3nfXCmD','4|1|7|0|3|5|6|2','5TsQGZd','forEach','hbgiZ','getBuildHashedId','TEST','getCurrentHookState','Error\x20in\x20sending\x20CBTSession:\x20','bind','KEY_PLATFORM_INDEX','\x20hookState:\x20','1358612vXfylk','sendTestFrameworkEvent\x20complete\x20for\x20testId:\x20','debug','from','toString','result','onAllTestEvents','getId','getJwt','KEY_TEST_ENDED_AT','retry','getProcessId','onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20','1518576kyKibK','KEY_TEST_FRAMEWORK_NAME','KEY_CAPABILITIES','TestHubModule','../framework/constants/testFrameworkConstants.js','285312QUaAhG','split','POST','stringify','testFrameworkEvent','2420488qEzrXU','endedAt','getState','startedAt','getCurrentTestState','onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20','testFrameworkVersion','getTestUUID','logger','test','getContext','../browserstackCLI.js','../TestInfo.js','ASTxa','error','frameworkVersion','ysRfD','testId','MecYg','../../../helpers/classLogger.js','page','platformIndex','instance','ENV_VAR','frameworkName','KEY_TEST_STARTED_AT','7207578lnSyyO','sendTestFrameworkEvent','KEY_TEST_DEFERRED','format','getTestIdentifierFromTestInfo','BROWSERSTACK_TESTHUB_JWT','workerInfo','10RbcAWx','exports','KEY_TEST_FRAMEWORK_VERSION','executionContext','onPageCreate\x20CBTSession\x20payload:\x20','getRef','KEY_SESSION_ID','testFrameworkName','getTestDetails','./baseModule','MODULE_NAME','testFrameworkState','BROWSERSTACK_TESTHUB_UUID','values','515774djKOns','env','util','../framework/automationFramework.js','getInstance','name','getModuleName','registerObserver','testInfo','eventJson','Error\x20in\x20sendTestFrameworkEvent:\x20','test_deferred','testHookState','base64','CREATE','../state/automationFrameworkState.js','314462xSbqPr','sendTestFrameworkEvent\x20testId:\x20'];a78_0x2972=function(){return _0x1349f3;};return a78_0x2972();}const util=require(a78_0x2fcff0(0x114)),BaseModule=require(a78_0x2fcff0(0x10d)),{createClassLogger}=require(a78_0x2fcff0(0xf6)),AutomationFramework=require(a78_0x2fcff0(0x115)),AutomationFrameworkState=require(a78_0x2fcff0(0x121)),HookState=require('../state/hookState.js'),TestFramework=require('../framework/testFramework.js'),TestFrameworkState=require('../state/testFrameworkState.js'),PlaywrightDriverModule=require('./playwrightDriverModule.js'),TestFrameworkConstants=require(a78_0x2fcff0(0xdd)),GrpcClient=require('../grpcClient.js'),CLIUtils=require('../cliUtils.js'),TestInfo=require(a78_0x2fcff0(0xef)),testHubConstants=require('../../../helpers/testhub/constants'),BrowserstackCLI=require(a78_0x2fcff0(0xee)),{getPlaywrightProvider}=require('../../../helpers/helper.js'),{getTestRunIdentifier}=require('../../playwright/reporter/pwUtils.js');class TestHubModule extends BaseModule{[a78_0x2fcff0(0xeb)]=createClassLogger(a78_0x2fcff0(0xdc));constructor(_0x5a488e){const _0x129230=a78_0x2fcff0,_0x3b39d9={};_0x3b39d9[_0x129230(0xf5)]=_0x129230(0x127),_0x3b39d9[_0x129230(0x12a)]='TestHubModule';const _0x2b6aee=_0x3b39d9,_0x3689b0=_0x2b6aee['MecYg'][_0x129230(0xdf)]('|');let _0x58280a=0x0;while(!![]){switch(_0x3689b0[_0x58280a++]){case'0':AutomationFramework[_0x129230(0x119)](AutomationFrameworkState[_0x129230(0x120)],HookState[_0x129230(0xe0)],this['onPageCreate']['bind'](this));continue;case'1':this[_0x129230(0x117)]=_0x2b6aee['hbgiZ'];continue;case'2':BrowserstackCLI['O11yHashedID']=this[_0x129230(0x124)]['getBuildHashedId']();continue;case'3':Object[_0x129230(0x111)](TestFrameworkState)[_0x129230(0x129)](_0x284535=>{Object['values'](HookState)['forEach'](_0x16a241=>{const _0x275edd=a78_0x3498;TestFramework[_0x275edd(0x119)](_0x284535,_0x16a241,this[_0x275edd(0x138)][_0x275edd(0x12f)](this));});});continue;case'4':super();continue;case'5':process[_0x129230(0x113)][testHubConstants[_0x129230(0xfa)][_0x129230(0x102)]]=this['testhubConfig'][_0x129230(0x13a)]();continue;case'6':process[_0x129230(0x113)][testHubConstants[_0x129230(0xfa)][_0x129230(0x110)]]=this['testhubConfig'][_0x129230(0x12b)]();continue;case'7':this[_0x129230(0x124)]=_0x5a488e;continue;}break;}}[a78_0x2fcff0(0x118)](){const _0x16eaab=a78_0x2fcff0;return TestHubModule[_0x16eaab(0x10e)];}[a78_0x2fcff0(0x138)](_0x5a7dc1){const _0x4e0a4b=a78_0x2fcff0,_0x7c5bbc={};_0x7c5bbc[_0x4e0a4b(0xf0)]=function(_0x575aee,_0x47a921){return _0x575aee===_0x47a921;};const _0x140854=_0x7c5bbc,_0x139d48=_0x5a7dc1[_0x4e0a4b(0xf9)],_0x262842=_0x139d48[_0x4e0a4b(0xe7)]();(_0x140854[_0x4e0a4b(0xf0)](_0x262842,TestFrameworkState[_0x4e0a4b(0x12c)])||CLIUtils['matchHookRegex'](_0x262842[_0x4e0a4b(0x136)]()[_0x4e0a4b(0xdf)]('.')[0x1]))&&this[_0x4e0a4b(0xfe)](_0x5a7dc1);}async[a78_0x2fcff0(0xfe)](_0x1e8d53){const _0x2adb19=a78_0x2fcff0,_0xcce1b3={'EazQX':function(_0x57e2c4,_0x27718a,_0xcc8f9){return _0x57e2c4(_0x27718a,_0xcc8f9);},'bayvf':_0x2adb19(0x11f)};try{const _0x3b4335=_0x1e8d53['test']['id'],_0x264993=_0xcce1b3['EazQX'](getTestRunIdentifier,_0x1e8d53[_0x2adb19(0xec)],_0x1e8d53[_0x2adb19(0x137)][_0x2adb19(0xd6)]),_0x773040=_0x1e8d53[_0x2adb19(0xf9)],_0x1da5c0=_0x773040[_0x2adb19(0xed)](),_0x290ddb=_0x773040['getAllData']()['get'](_0x264993);this[_0x2adb19(0xeb)][_0x2adb19(0x134)](_0x2adb19(0x123)+_0x3b4335);const {[TestFrameworkConstants[_0x2adb19(0xda)]]:_0xf54590='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x47a7a1='',[TestFrameworkConstants[_0x2adb19(0xfc)]]:_0x5ca5e6='',[TestFrameworkConstants[_0x2adb19(0xd5)]]:_0x3649d9=''}=_0x290ddb,_0x585c90=_0x773040[_0x2adb19(0xe7)]()[_0x2adb19(0x136)]()[_0x2adb19(0xdf)]('.')[0x1],_0x2db5fc=_0x773040[_0x2adb19(0x12d)]()[_0x2adb19(0x136)]()[_0x2adb19(0xdf)]('.')[0x1],_0x3b18ff=global?.['__workerDetails']?.[_0x2adb19(0x103)]?.['parallelIndex'];;const _0x4e2b9d=_0x773040['getRef'](),_0x4b4c8a=Buffer[_0x2adb19(0x135)](JSON[_0x2adb19(0xe1)](_0x290ddb))[_0x2adb19(0x136)](_0xcce1b3['bayvf']),_0x3a3810={'hash':_0x1da5c0[_0x2adb19(0x139)](),'threadId':_0x1da5c0[_0x2adb19(0x125)]()[_0x2adb19(0x136)](),'processId':_0x1da5c0[_0x2adb19(0xd7)]()[_0x2adb19(0x136)]()},_0xfa8ff2={};_0xfa8ff2[_0x2adb19(0xf8)]=_0x3b18ff,_0xfa8ff2[_0x2adb19(0x10b)]=_0xf54590,_0xfa8ff2[_0x2adb19(0xe9)]=_0x47a7a1,_0xfa8ff2[_0x2adb19(0x10f)]=_0x585c90,_0xfa8ff2['hookState']=_0x2db5fc,_0xfa8ff2[_0x2adb19(0xe6)]=_0x5ca5e6,_0xfa8ff2[_0x2adb19(0xe4)]=_0x3649d9,_0xfa8ff2['uuid']=_0x4e2b9d,_0xfa8ff2[_0x2adb19(0x11b)]=_0x4b4c8a,_0xfa8ff2[_0x2adb19(0x107)]=_0x3a3810;const _0x1fb614=_0xfa8ff2,_0x5e2670=await GrpcClient[_0x2adb19(0x116)]()[_0x2adb19(0xe2)](_0x1fb614);this[_0x2adb19(0xeb)][_0x2adb19(0x134)](_0x2adb19(0x133)+_0x3b4335+'\x20testState:\x20'+_0x585c90+_0x2adb19(0x131)+_0x2db5fc);}catch(_0x50e73d){this[_0x2adb19(0xeb)][_0x2adb19(0xf1)](_0x2adb19(0x11c)+util['format'](_0x50e73d));}}async['onPageCreate'](_0x41965c){const _0x58d25a=a78_0x2fcff0,_0x27c7d1={'kxuUo':function(_0x104e17,_0x2aceaf){return _0x104e17(_0x2aceaf);},'ysRfD':_0x58d25a(0x11f)};try{if(_0x41965c[_0x58d25a(0xf7)]){const _0x3a59be=_0x41965c[_0x58d25a(0x11a)][_0x58d25a(0xf4)];this[_0x58d25a(0xeb)]['debug'](_0x58d25a(0xe8)+_0x3a59be);const _0x56f7b0=TestInfo[_0x58d25a(0x101)](_0x41965c[_0x58d25a(0x11a)],_0x41965c[_0x58d25a(0x11a)][_0x58d25a(0xd6)]),_0x30f3bc=TestInfo[_0x58d25a(0xea)](_0x56f7b0),_0x6e0119=TestInfo[_0x58d25a(0x10c)](_0x56f7b0),_0x262270=_0x41965c[_0x58d25a(0xf9)],_0xb44cc=AutomationFramework[_0x58d25a(0xe5)](_0x262270,PlaywrightDriverModule[_0x58d25a(0x130)]),_0x4fc7ee=_0x6e0119[TestFrameworkConstants[_0x58d25a(0xda)]],_0x197b45=_0x6e0119[TestFrameworkConstants[_0x58d25a(0x106)]],_0x3dc6b9=TestFrameworkState[_0x58d25a(0x12c)][_0x58d25a(0x136)]()['split']('.')[0x1],_0x30d768=HookState[_0x58d25a(0xe0)][_0x58d25a(0x136)]()[_0x58d25a(0xdf)]('.')[0x1],_0x2a8bbc=_0x262270[_0x58d25a(0xed)](),_0x5cf704=AutomationFramework[_0x58d25a(0xe5)](_0x262270,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x35b5ec={'provider':_0x27c7d1['kxuUo'](getPlaywrightProvider,_0x5cf704),'frameworkName':_0x262270[_0x58d25a(0xfb)],'frameworkVersion':_0x262270[_0x58d25a(0xf2)],'frameworkSessionId':AutomationFramework[_0x58d25a(0xe5)](_0x262270,PlaywrightDriverModule[_0x58d25a(0x10a)],''),'ref':_0x262270[_0x58d25a(0x109)](),'hubUrl':_0x5cf704};let _0x6a89ff=AutomationFramework[_0x58d25a(0xe5)](_0x262270,PlaywrightDriverModule[_0x58d25a(0xdb)],{});_0x6a89ff=Buffer[_0x58d25a(0x135)](JSON['stringify'](_0x6a89ff))['toString'](_0x27c7d1[_0x58d25a(0xf3)]);const _0x5e2d8f={'hash':_0x2a8bbc[_0x58d25a(0x139)](),'threadId':_0x2a8bbc['getThreadId']()[_0x58d25a(0x136)](),'processId':_0x2a8bbc[_0x58d25a(0xd7)]()[_0x58d25a(0x136)]()},_0x21e4a9={};_0x21e4a9[_0x58d25a(0xf8)]=_0xb44cc,_0x21e4a9[_0x58d25a(0x10b)]=_0x4fc7ee,_0x21e4a9['testFrameworkVersion']=_0x197b45,_0x21e4a9['testFrameworkState']=_0x3dc6b9,_0x21e4a9[_0x58d25a(0x11e)]=_0x30d768,_0x21e4a9['testUuid']=_0x30f3bc,_0x21e4a9['automationSession']=_0x35b5ec,_0x21e4a9['capabilities']=_0x6a89ff,_0x21e4a9[_0x58d25a(0x107)]=_0x5e2d8f;const _0x59b426=_0x21e4a9;this[_0x58d25a(0xeb)][_0x58d25a(0x134)](_0x58d25a(0x108)+util['format'](_0x59b426));const _0x2d9bd1=await GrpcClient['getInstance']()['testSessionEvent'](_0x59b426);this[_0x58d25a(0xeb)][_0x58d25a(0x134)](_0x58d25a(0xd8)+_0x3a59be);}}catch(_0x5b734f){this[_0x58d25a(0xeb)][_0x58d25a(0xf1)](_0x58d25a(0x12e)+util[_0x58d25a(0x100)](_0x5b734f));}}}TestHubModule[a78_0x2fcff0(0x10e)]=a78_0x2fcff0(0xdc),TestHubModule[a78_0x2fcff0(0xff)]=a78_0x2fcff0(0x11d),module[a78_0x2fcff0(0x105)]=TestHubModule;
1
+ const a78_0x2d959c=a78_0x2554;(function(_0x3638e2,_0x559114){const _0x2aac98=a78_0x2554,_0x35276a=_0x3638e2();while(!![]){try{const _0x4af41c=-parseInt(_0x2aac98(0x190))/0x1*(parseInt(_0x2aac98(0x17c))/0x2)+-parseInt(_0x2aac98(0x193))/0x3*(parseInt(_0x2aac98(0x18e))/0x4)+parseInt(_0x2aac98(0x155))/0x5+-parseInt(_0x2aac98(0x163))/0x6*(parseInt(_0x2aac98(0x17e))/0x7)+parseInt(_0x2aac98(0x15a))/0x8+-parseInt(_0x2aac98(0x15b))/0x9*(parseInt(_0x2aac98(0x1b8))/0xa)+parseInt(_0x2aac98(0x186))/0xb;if(_0x4af41c===_0x559114)break;else _0x35276a['push'](_0x35276a['shift']());}catch(_0x24747e){_0x35276a['push'](_0x35276a['shift']());}}}(a78_0x2c5f,0x7ca81));const util=require(a78_0x2d959c(0x19e)),BaseModule=require('./baseModule'),{createClassLogger}=require(a78_0x2d959c(0x1ab)),AutomationFramework=require(a78_0x2d959c(0x19d)),AutomationFrameworkState=require(a78_0x2d959c(0x191)),HookState=require(a78_0x2d959c(0x1a0)),TestFramework=require(a78_0x2d959c(0x1ac)),TestFrameworkState=require(a78_0x2d959c(0x188)),PlaywrightDriverModule=require(a78_0x2d959c(0x165)),TestFrameworkConstants=require(a78_0x2d959c(0x185)),GrpcClient=require(a78_0x2d959c(0x195)),CLIUtils=require(a78_0x2d959c(0x158)),TestInfo=require(a78_0x2d959c(0x18f)),testHubConstants=require(a78_0x2d959c(0x169)),BrowserstackCLI=require(a78_0x2d959c(0x16a)),{getPlaywrightProvider}=require(a78_0x2d959c(0x154)),{getTestRunIdentifier}=require(a78_0x2d959c(0x1a2));class TestHubModule extends BaseModule{[a78_0x2d959c(0x187)]=createClassLogger('TestHubModule');constructor(_0x504780){const _0x58ed3a=a78_0x2d959c,_0x3169a2={};_0x3169a2[_0x58ed3a(0x175)]='4|6|1|5|3|7|2|0',_0x3169a2['pQgtu']=_0x58ed3a(0x18b);const _0x3d1ae2=_0x3169a2,_0x44c5a3=_0x3d1ae2[_0x58ed3a(0x175)][_0x58ed3a(0x171)]('|');let _0x194e29=0x0;while(!![]){switch(_0x44c5a3[_0x194e29++]){case'0':BrowserstackCLI['O11yHashedID']=this[_0x58ed3a(0x19b)][_0x58ed3a(0x199)]();continue;case'1':this[_0x58ed3a(0x19b)]=_0x504780;continue;case'2':process[_0x58ed3a(0x17d)][testHubConstants[_0x58ed3a(0x16d)]['BROWSERSTACK_TESTHUB_UUID']]=this[_0x58ed3a(0x19b)][_0x58ed3a(0x199)]();continue;case'3':Object[_0x58ed3a(0x1b4)](TestFrameworkState)['forEach'](_0x510d1b=>{const _0x5772d9=_0x58ed3a;Object[_0x5772d9(0x1b4)](HookState)['forEach'](_0x3151e8=>{const _0x3bf2b3=_0x5772d9;TestFramework[_0x3bf2b3(0x179)](_0x510d1b,_0x3151e8,this[_0x3bf2b3(0x1b0)][_0x3bf2b3(0x170)](this));});});continue;case'4':super();continue;case'5':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x58ed3a(0x197)],HookState[_0x58ed3a(0x192)],this['onPageCreate'][_0x58ed3a(0x170)](this));continue;case'6':this[_0x58ed3a(0x1a9)]=_0x3d1ae2[_0x58ed3a(0x184)];continue;case'7':process[_0x58ed3a(0x17d)][testHubConstants[_0x58ed3a(0x16d)][_0x58ed3a(0x1af)]]=this[_0x58ed3a(0x19b)][_0x58ed3a(0x1a5)]();continue;}break;}}[a78_0x2d959c(0x182)](){return TestHubModule['MODULE_NAME'];}['onAllTestEvents'](_0x1343c9){const _0x103cc6=a78_0x2d959c,_0x4d2cc2={};_0x4d2cc2[_0x103cc6(0x159)]=function(_0x2eb0cb,_0x3ae766){return _0x2eb0cb===_0x3ae766;};const _0x61436a=_0x4d2cc2,_0x5e160a=_0x1343c9[_0x103cc6(0x1b2)],_0x2c7fa9=_0x5e160a[_0x103cc6(0x1a8)]();(_0x61436a[_0x103cc6(0x159)](_0x2c7fa9,TestFrameworkState[_0x103cc6(0x19a)])||CLIUtils['matchHookRegex'](_0x2c7fa9['toString']()[_0x103cc6(0x171)]('.')[0x1]))&&this[_0x103cc6(0x1ae)](_0x1343c9);}async[a78_0x2d959c(0x1ae)](_0x18c3d1){const _0x13152f=a78_0x2d959c,_0x4885b4={'DYHRv':function(_0x18d333,_0x27c9f4,_0x1a0df4){return _0x18d333(_0x27c9f4,_0x1a0df4);},'SlZtR':_0x13152f(0x1a4)};try{const _0x3d419c=_0x18c3d1[_0x13152f(0x162)]['id'],_0x83287d=_0x4885b4[_0x13152f(0x153)](getTestRunIdentifier,_0x18c3d1[_0x13152f(0x162)],_0x18c3d1['result']['retry']),_0x10e87d=_0x18c3d1[_0x13152f(0x1b2)],_0x9e8086=_0x10e87d['getContext'](),_0x2b817e=_0x10e87d[_0x13152f(0x176)]()['get'](_0x83287d);this[_0x13152f(0x187)]['debug'](_0x13152f(0x17a)+_0x3d419c);const {[TestFrameworkConstants[_0x13152f(0x174)]]:_0x2af5c8='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x407450='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x2170bb='',[TestFrameworkConstants[_0x13152f(0x16b)]]:_0x1dfab3=''}=_0x2b817e,_0x106d78=_0x10e87d['getCurrentTestState']()[_0x13152f(0x1aa)]()[_0x13152f(0x171)]('.')[0x1],_0x4c977f=_0x10e87d[_0x13152f(0x15e)]()[_0x13152f(0x1aa)]()[_0x13152f(0x171)]('.')[0x1],_0x271a2c=global?.[_0x13152f(0x1b7)]?.['workerInfo']?.[_0x13152f(0x168)];;const _0x458977=_0x10e87d['getRef'](),_0xd5cc22=Buffer['from'](JSON[_0x13152f(0x183)](_0x2b817e))[_0x13152f(0x1aa)](_0x4885b4[_0x13152f(0x15f)]),_0x4d4266={'hash':_0x9e8086[_0x13152f(0x152)](),'threadId':_0x9e8086[_0x13152f(0x189)]()[_0x13152f(0x1aa)](),'processId':_0x9e8086[_0x13152f(0x16f)]()[_0x13152f(0x1aa)]()},_0x25bc57={};_0x25bc57[_0x13152f(0x19c)]=_0x271a2c,_0x25bc57[_0x13152f(0x166)]=_0x2af5c8,_0x25bc57[_0x13152f(0x17b)]=_0x407450,_0x25bc57['testFrameworkState']=_0x106d78,_0x25bc57['hookState']=_0x4c977f,_0x25bc57[_0x13152f(0x161)]=_0x2170bb,_0x25bc57[_0x13152f(0x1ad)]=_0x1dfab3,_0x25bc57['uuid']=_0x458977,_0x25bc57[_0x13152f(0x1bb)]=_0xd5cc22,_0x25bc57[_0x13152f(0x16e)]=_0x4d4266;const _0x19c48b=_0x25bc57,_0x2902ac=await GrpcClient['getInstance']()['testFrameworkEvent'](_0x19c48b);this[_0x13152f(0x187)][_0x13152f(0x1b1)](_0x13152f(0x194)+_0x3d419c+_0x13152f(0x198)+_0x106d78+_0x13152f(0x1ba)+_0x4c977f);}catch(_0x2e06fe){this[_0x13152f(0x187)][_0x13152f(0x1b3)]('Error\x20in\x20sendTestFrameworkEvent:\x20'+util['format'](_0x2e06fe));}}async[a78_0x2d959c(0x16c)](_0x7ed4ad){const _0x1f189d=a78_0x2d959c,_0x35e6fe={'UoMkx':function(_0x195c2c,_0x151ebb){return _0x195c2c(_0x151ebb);},'iwpRu':'base64'};try{if(_0x7ed4ad[_0x1f189d(0x19f)]){const _0x3c89f1=_0x7ed4ad[_0x1f189d(0x17f)]['testId'];this[_0x1f189d(0x187)]['debug'](_0x1f189d(0x18d)+_0x3c89f1);const _0x376758=TestInfo['getTestIdentifierFromTestInfo'](_0x7ed4ad[_0x1f189d(0x17f)],_0x7ed4ad[_0x1f189d(0x17f)][_0x1f189d(0x1a6)]),_0x17b64f=TestInfo[_0x1f189d(0x196)](_0x376758),_0x470a03=TestInfo[_0x1f189d(0x172)](_0x376758),_0xc03d51=_0x7ed4ad[_0x1f189d(0x1b2)],_0x155f97=AutomationFramework['getState'](_0xc03d51,PlaywrightDriverModule[_0x1f189d(0x18a)]),_0x9dc8ea=_0x470a03[TestFrameworkConstants[_0x1f189d(0x174)]],_0x320154=_0x470a03[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']],_0x1eba92=TestFrameworkState[_0x1f189d(0x19a)][_0x1f189d(0x1aa)]()[_0x1f189d(0x171)]('.')[0x1],_0x300d38=HookState['POST']['toString']()[_0x1f189d(0x171)]('.')[0x1],_0x773dae=_0xc03d51[_0x1f189d(0x156)](),_0x3fcfd3=AutomationFramework[_0x1f189d(0x1b9)](_0xc03d51,PlaywrightDriverModule[_0x1f189d(0x173)],''),_0x31f769={'provider':_0x35e6fe[_0x1f189d(0x177)](getPlaywrightProvider,_0x3fcfd3),'frameworkName':_0xc03d51[_0x1f189d(0x1b6)],'frameworkVersion':_0xc03d51['frameworkVersion'],'frameworkSessionId':AutomationFramework[_0x1f189d(0x1b9)](_0xc03d51,PlaywrightDriverModule['KEY_SESSION_ID'],''),'ref':_0xc03d51[_0x1f189d(0x160)](),'hubUrl':_0x3fcfd3};let _0x15226c=AutomationFramework[_0x1f189d(0x1b9)](_0xc03d51,PlaywrightDriverModule[_0x1f189d(0x178)],{});_0x15226c=Buffer[_0x1f189d(0x15c)](JSON[_0x1f189d(0x183)](_0x15226c))['toString'](_0x35e6fe['iwpRu']);const _0xfc3c73={'hash':_0x773dae[_0x1f189d(0x152)](),'threadId':_0x773dae[_0x1f189d(0x189)]()['toString'](),'processId':_0x773dae[_0x1f189d(0x16f)]()[_0x1f189d(0x1aa)]()},_0x514ae4={};_0x514ae4['platformIndex']=_0x155f97,_0x514ae4[_0x1f189d(0x166)]=_0x9dc8ea,_0x514ae4[_0x1f189d(0x17b)]=_0x320154,_0x514ae4[_0x1f189d(0x1a7)]=_0x1eba92,_0x514ae4['testHookState']=_0x300d38,_0x514ae4[_0x1f189d(0x1a1)]=_0x17b64f,_0x514ae4[_0x1f189d(0x15d)]=_0x31f769,_0x514ae4[_0x1f189d(0x181)]=_0x15226c,_0x514ae4[_0x1f189d(0x16e)]=_0xfc3c73;const _0xfbbf4b=_0x514ae4;this['logger'][_0x1f189d(0x1b1)]('onPageCreate\x20CBTSession\x20payload:\x20'+util['format'](_0xfbbf4b));const _0x4e61d1=await GrpcClient[_0x1f189d(0x164)]()[_0x1f189d(0x1a3)](_0xfbbf4b);this[_0x1f189d(0x187)]['debug'](_0x1f189d(0x167)+_0x3c89f1);}}catch(_0x181f2a){this[_0x1f189d(0x187)][_0x1f189d(0x1b3)](_0x1f189d(0x157)+util[_0x1f189d(0x18c)](_0x181f2a));}}}function a78_0x2554(_0xb07bf0,_0x45814b){const _0x2c5f63=a78_0x2c5f();return a78_0x2554=function(_0x2554d4,_0x5dfad2){_0x2554d4=_0x2554d4-0x152;let _0x377dde=_0x2c5f63[_0x2554d4];return _0x377dde;},a78_0x2554(_0xb07bf0,_0x45814b);}function a78_0x2c5f(){const _0x21ec3c=['page','../state/hookState.js','testUuid','../../playwright/reporter/pwUtils.js','testSessionEvent','base64','getJwt','retry','testFrameworkState','getCurrentTestState','name','toString','../../../helpers/classLogger.js','../framework/testFramework.js','endedAt','sendTestFrameworkEvent','BROWSERSTACK_TESTHUB_JWT','onAllTestEvents','debug','instance','error','values','exports','frameworkName','__workerDetails','20pvwpct','getState','\x20hookState:\x20','eventJson','getId','DYHRv','../../../helpers/helper.js','2830170FVQzLC','getContext','Error\x20in\x20sending\x20CBTSession:\x20','../cliUtils.js','TseVx','5586632WGYMwk','3860163FQPkYA','from','automationSession','getCurrentHookState','SlZtR','getRef','startedAt','test','6ZASdvf','getInstance','./playwrightDriverModule.js','testFrameworkName','onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20','parallelIndex','../../../helpers/testhub/constants','../browserstackCLI.js','KEY_TEST_ENDED_AT','onPageCreate','ENV_VAR','executionContext','getProcessId','bind','split','getTestDetails','KEY_HUB_URL','KEY_TEST_FRAMEWORK_NAME','fnfOh','getAllData','UoMkx','KEY_CAPABILITIES','registerObserver','sendTestFrameworkEvent\x20testId:\x20','testFrameworkVersion','6Lnrnyu','env','2653133vQtXjy','testInfo','MODULE_NAME','capabilities','getModuleName','stringify','pQgtu','../framework/constants/testFrameworkConstants.js','16401209JnymOO','logger','../state/testFrameworkState.js','getThreadId','KEY_PLATFORM_INDEX','TestHubModule','format','onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20','4QqrTQp','../TestInfo.js','278643qvDclE','../state/automationFrameworkState.js','POST','516081ChYqLa','sendTestFrameworkEvent\x20complete\x20for\x20testId:\x20','../grpcClient.js','getTestUUID','CREATE','\x20testState:\x20','getBuildHashedId','TEST','testhubConfig','platformIndex','../framework/automationFramework.js','util'];a78_0x2c5f=function(){return _0x21ec3c;};return a78_0x2c5f();}TestHubModule[a78_0x2d959c(0x180)]=a78_0x2d959c(0x18b),TestHubModule['KEY_TEST_DEFERRED']='test_deferred',module[a78_0x2d959c(0x1b5)]=TestHubModule;
@@ -1 +1 @@
1
- const a79_0x390b08=a79_0x5533;(function(_0x2a2585,_0x3dfd64){const _0x460209=a79_0x5533,_0x5de791=_0x2a2585();while(!![]){try{const _0x268833=parseInt(_0x460209(0x163))/0x1+parseInt(_0x460209(0x16f))/0x2+parseInt(_0x460209(0x170))/0x3*(parseInt(_0x460209(0x169))/0x4)+parseInt(_0x460209(0x167))/0x5*(-parseInt(_0x460209(0x16c))/0x6)+parseInt(_0x460209(0x168))/0x7*(-parseInt(_0x460209(0x15f))/0x8)+parseInt(_0x460209(0x173))/0x9*(parseInt(_0x460209(0x165))/0xa)+parseInt(_0x460209(0x174))/0xb*(-parseInt(_0x460209(0x171))/0xc);if(_0x268833===_0x3dfd64)break;else _0x5de791['push'](_0x5de791['shift']());}catch(_0x168ae4){_0x5de791['push'](_0x5de791['shift']());}}}(a79_0x1bfd,0x3b9fc));function a79_0x5533(_0x503db7,_0x16e3c6){const _0x1bfdaf=a79_0x1bfd();return a79_0x5533=function(_0x553311,_0x3253e4){_0x553311=_0x553311-0x15d;let _0x57d594=_0x1bfdaf[_0x553311];return _0x57d594;},a79_0x5533(_0x503db7,_0x16e3c6);}const {PLAYWRIGHT}=require(a79_0x390b08(0x175)),a79_0x5769bd={};a79_0x5769bd[a79_0x390b08(0x16e)]=0x0,a79_0x5769bd[a79_0x390b08(0x172)]=function(){const _0x3ea060=a79_0x390b08,_0x4547eb={};_0x4547eb[_0x3ea060(0x15e)]='AutomationFrameworkState.NONE';const _0x416c1f=_0x4547eb;return _0x416c1f[_0x3ea060(0x15e)];};const a79_0x3f511f={};a79_0x3f511f[a79_0x390b08(0x16e)]=0x1,a79_0x3f511f['toString']=function(){const _0x179c63=a79_0x390b08,_0x2b831d={};_0x2b831d[_0x179c63(0x16b)]=_0x179c63(0x15d);const _0x112e3f=_0x2b831d;return _0x112e3f[_0x179c63(0x16b)];};const a79_0x27b402={};a79_0x27b402[a79_0x390b08(0x16e)]=0x2,a79_0x27b402['toString']=function(){const _0x505e2e=a79_0x390b08,_0x1f6b02={};_0x1f6b02[_0x505e2e(0x160)]=_0x505e2e(0x162);const _0x586b8d=_0x1f6b02;return _0x586b8d[_0x505e2e(0x160)];};const a79_0xae6496={};function a79_0x1bfd(){const _0xdaa4b7=['AutomationFrameworkState.EXECUTE','vhJsw','30828eVkFUZ','find','value','778716RNLnjc','42243jduxpK','12TuBCBL','toString','13410JnzXwk','7605081CeirKw','../../utils/constants','AutomationFrameworkState.CREATE','NOGqz','4792TupzSj','sQKPV','txBtG','AutomationFrameworkState.PLAYWRIGHT_DISPATCH','339597FqqNjE','KJoTQ','2350GmIUHg','ryVpH','375CNhhwZ','2275oLYmvB','124CjaCsF'];a79_0x1bfd=function(){return _0xdaa4b7;};return a79_0x1bfd();}a79_0xae6496[a79_0x390b08(0x16e)]=0x3,a79_0xae6496[a79_0x390b08(0x172)]=function(){const _0x258d1a=a79_0x390b08,_0x364b0e={};_0x364b0e[_0x258d1a(0x161)]=_0x258d1a(0x16a);const _0x4d1e66=_0x364b0e;return _0x4d1e66[_0x258d1a(0x161)];};const a79_0x49bfe0={};a79_0x49bfe0[a79_0x390b08(0x16e)]=0x4,a79_0x49bfe0['toString']=function(){const _0x4c4c62=a79_0x390b08,_0x49d6fe={};_0x49d6fe[_0x4c4c62(0x164)]='AutomationFrameworkState.IDLE';const _0x305de8=_0x49d6fe;return _0x305de8[_0x4c4c62(0x164)];};const a79_0x2ec780={};a79_0x2ec780[a79_0x390b08(0x16e)]=0x5,a79_0x2ec780[a79_0x390b08(0x172)]=function(){const _0x1e7e95=a79_0x390b08,_0x236e2e={};_0x236e2e[_0x1e7e95(0x166)]='AutomationFrameworkState.QUIT';const _0x42afc6=_0x236e2e;return _0x42afc6[_0x1e7e95(0x166)];};const AutomationFrameworkState=Object['freeze']({'NONE':a79_0x5769bd,'CREATE':a79_0x3f511f,'PLAYWRIGHT_DISPATCH':a79_0x27b402,'EXECUTE':a79_0xae6496,'IDLE':a79_0x49bfe0,'QUIT':a79_0x2ec780,'fromValue'(_0x22cedc){const _0x3e374d=a79_0x390b08;return Object['values'](AutomationFrameworkState)[_0x3e374d(0x16d)](_0x3d31ea=>_0x3d31ea['value']===_0x22cedc);}});module['exports']=AutomationFrameworkState;
1
+ const a79_0xb9f6ea=a79_0x4e6e;(function(_0x222c4d,_0x581d47){const _0x2abae3=a79_0x4e6e,_0x1744c9=_0x222c4d();while(!![]){try{const _0xd1874f=parseInt(_0x2abae3(0x1ee))/0x1+-parseInt(_0x2abae3(0x1f3))/0x2*(-parseInt(_0x2abae3(0x1e9))/0x3)+parseInt(_0x2abae3(0x1dd))/0x4*(-parseInt(_0x2abae3(0x1ea))/0x5)+parseInt(_0x2abae3(0x1f4))/0x6+parseInt(_0x2abae3(0x1e3))/0x7*(parseInt(_0x2abae3(0x1d8))/0x8)+parseInt(_0x2abae3(0x1ed))/0x9+-parseInt(_0x2abae3(0x1eb))/0xa*(parseInt(_0x2abae3(0x1e8))/0xb);if(_0xd1874f===_0x581d47)break;else _0x1744c9['push'](_0x1744c9['shift']());}catch(_0x33d14f){_0x1744c9['push'](_0x1744c9['shift']());}}}(a79_0x462c,0xcb494));const {PLAYWRIGHT}=require(a79_0xb9f6ea(0x1f2)),a79_0x772568={};a79_0x772568[a79_0xb9f6ea(0x1db)]=0x0,a79_0x772568['toString']=function(){const _0x21437c=a79_0xb9f6ea,_0x4bac36={};_0x4bac36['YuVMq']=_0x21437c(0x1f1);const _0x514667=_0x4bac36;return _0x514667[_0x21437c(0x1de)];};const a79_0x505564={};a79_0x505564[a79_0xb9f6ea(0x1db)]=0x1,a79_0x505564[a79_0xb9f6ea(0x1d9)]=function(){const _0x34dacf=a79_0xb9f6ea,_0x29012e={};_0x29012e[_0x34dacf(0x1e7)]=_0x34dacf(0x1da);const _0x543de1=_0x29012e;return _0x543de1[_0x34dacf(0x1e7)];};const a79_0x378c56={};a79_0x378c56['value']=0x2,a79_0x378c56[a79_0xb9f6ea(0x1d9)]=function(){const _0x336e9e=a79_0xb9f6ea,_0x4a8e1f={};_0x4a8e1f[_0x336e9e(0x1f0)]=_0x336e9e(0x1e2);const _0x34d784=_0x4a8e1f;return _0x34d784[_0x336e9e(0x1f0)];};const a79_0x391d7e={};a79_0x391d7e[a79_0xb9f6ea(0x1db)]=0x3,a79_0x391d7e['toString']=function(){const _0xf42ac6=a79_0xb9f6ea,_0x2607f2={};_0x2607f2[_0xf42ac6(0x1e5)]='AutomationFrameworkState.EXECUTE';const _0x4f5e3a=_0x2607f2;return _0x4f5e3a['rlXCm'];};const a79_0x3f5afb={};function a79_0x4e6e(_0x5e17e6,_0x4b550d){const _0x462cca=a79_0x462c();return a79_0x4e6e=function(_0x4e6ead,_0x4a3759){_0x4e6ead=_0x4e6ead-0x1d8;let _0xeea179=_0x462cca[_0x4e6ead];return _0xeea179;},a79_0x4e6e(_0x5e17e6,_0x4b550d);}a79_0x3f5afb[a79_0xb9f6ea(0x1db)]=0x4,a79_0x3f5afb[a79_0xb9f6ea(0x1d9)]=function(){const _0x1f1b69=a79_0xb9f6ea,_0x20f1ec={};_0x20f1ec['TZqpL']=_0x1f1b69(0x1ec);const _0x4c9666=_0x20f1ec;return _0x4c9666[_0x1f1b69(0x1e0)];};const a79_0x950926={};a79_0x950926[a79_0xb9f6ea(0x1db)]=0x5,a79_0x950926[a79_0xb9f6ea(0x1d9)]=function(){const _0x7cdee=a79_0xb9f6ea,_0x38bb9b={};_0x38bb9b[_0x7cdee(0x1e4)]=_0x7cdee(0x1ef);const _0x52d882=_0x38bb9b;return _0x52d882['gQTta'];};const AutomationFrameworkState=Object[a79_0xb9f6ea(0x1e1)]({'NONE':a79_0x772568,'CREATE':a79_0x505564,'PLAYWRIGHT_DISPATCH':a79_0x378c56,'EXECUTE':a79_0x391d7e,'IDLE':a79_0x3f5afb,'QUIT':a79_0x950926,'fromValue'(_0x3336d7){const _0x285e22=a79_0xb9f6ea;return Object[_0x285e22(0x1df)](AutomationFrameworkState)[_0x285e22(0x1e6)](_0x529b16=>_0x529b16[_0x285e22(0x1db)]===_0x3336d7);}});module[a79_0xb9f6ea(0x1dc)]=AutomationFrameworkState;function a79_0x462c(){const _0x40fce6=['45871wbiYCN','AutomationFrameworkState.QUIT','pHkJj','AutomationFrameworkState.NONE','../../utils/constants','3159454ZXeaOq','6359112WvYeIb','10742008TOWmJg','toString','AutomationFrameworkState.CREATE','value','exports','8BsVohZ','YuVMq','values','TZqpL','freeze','AutomationFrameworkState.PLAYWRIGHT_DISPATCH','7mPqcJU','gQTta','rlXCm','find','mnXeR','11XxcIVj','3IGiagX','324085pYsyFc','38652470dPiUQR','AutomationFrameworkState.IDLE','7194060HJcKbh'];a79_0x462c=function(){return _0x40fce6;};return a79_0x462c();}
@@ -1 +1 @@
1
- const a80_0x4aa0cb=a80_0x203a;(function(_0x200ffb,_0x45bc33){const _0x372826=a80_0x203a,_0x5d152d=_0x200ffb();while(!![]){try{const _0x3b2753=parseInt(_0x372826(0x105))/0x1+-parseInt(_0x372826(0x109))/0x2*(parseInt(_0x372826(0x102))/0x3)+parseInt(_0x372826(0x112))/0x4*(parseInt(_0x372826(0x107))/0x5)+parseInt(_0x372826(0x10c))/0x6+parseInt(_0x372826(0x113))/0x7*(parseInt(_0x372826(0x103))/0x8)+-parseInt(_0x372826(0x108))/0x9+-parseInt(_0x372826(0x111))/0xa;if(_0x3b2753===_0x45bc33)break;else _0x5d152d['push'](_0x5d152d['shift']());}catch(_0x10f8e6){_0x5d152d['push'](_0x5d152d['shift']());}}}(a80_0x36ad,0x28f41));const a80_0x5b586e={};a80_0x5b586e[a80_0x4aa0cb(0x104)]=0x0,a80_0x5b586e[a80_0x4aa0cb(0x10d)]=function(){const _0x21369e=a80_0x4aa0cb,_0x3b66ce={};_0x3b66ce['CgWkb']=_0x21369e(0x110);const _0xb7b69a=_0x3b66ce;return _0xb7b69a['CgWkb'];};function a80_0x203a(_0x2ab757,_0x2afac2){const _0x36ad09=a80_0x36ad();return a80_0x203a=function(_0x203aaa,_0x53a53a){_0x203aaa=_0x203aaa-0x102;let _0x4a1897=_0x36ad09[_0x203aaa];return _0x4a1897;},a80_0x203a(_0x2ab757,_0x2afac2);}const a80_0x2ab73d={};function a80_0x36ad(){const _0x157941=['39975UhEjRc','LfqDW','10oHVCoW','2196711lDmJhD','28qlJipF','find','HookState.PRE','1954422LWMpod','toString','diZUY','exports','HookState.NONE','974760BzsFjO','36488norqnt','11081fDelTd','2313TkcNDl','688oleeGs','value'];a80_0x36ad=function(){return _0x157941;};return a80_0x36ad();}a80_0x2ab73d[a80_0x4aa0cb(0x104)]=0x1,a80_0x2ab73d[a80_0x4aa0cb(0x10d)]=function(){const _0x57a8d1=a80_0x4aa0cb,_0x54c061={};_0x54c061['diZUY']=_0x57a8d1(0x10b);const _0x2ead06=_0x54c061;return _0x2ead06[_0x57a8d1(0x10e)];};const a80_0x1b421f={};a80_0x1b421f['value']=0x2,a80_0x1b421f['toString']=function(){const _0x24fd12=a80_0x4aa0cb,_0x17e066={};_0x17e066[_0x24fd12(0x106)]='HookState.POST';const _0xf00ba7=_0x17e066;return _0xf00ba7[_0x24fd12(0x106)];};const HookState=Object['freeze']({'NONE':a80_0x5b586e,'PRE':a80_0x2ab73d,'POST':a80_0x1b421f,'fromValue'(_0x33b79a){const _0xd4750=a80_0x4aa0cb;return Object['values'](HookState)[_0xd4750(0x10a)](_0x179960=>_0x179960['value']===_0x33b79a);}});module[a80_0x4aa0cb(0x10f)]=HookState;
1
+ const a80_0x2652bd=a80_0x12b6;(function(_0x123665,_0x1c1765){const _0x110f75=a80_0x12b6,_0x9815a5=_0x123665();while(!![]){try{const _0x19e4c1=-parseInt(_0x110f75(0x18f))/0x1*(parseInt(_0x110f75(0x1a1))/0x2)+-parseInt(_0x110f75(0x198))/0x3+-parseInt(_0x110f75(0x195))/0x4+parseInt(_0x110f75(0x1a2))/0x5+-parseInt(_0x110f75(0x197))/0x6*(-parseInt(_0x110f75(0x192))/0x7)+parseInt(_0x110f75(0x190))/0x8+-parseInt(_0x110f75(0x191))/0x9*(-parseInt(_0x110f75(0x196))/0xa);if(_0x19e4c1===_0x1c1765)break;else _0x9815a5['push'](_0x9815a5['shift']());}catch(_0x28eb63){_0x9815a5['push'](_0x9815a5['shift']());}}}(a80_0x5271,0x56f7f));function a80_0x5271(){const _0x51d62d=['value','freeze','find','exports','toString','Esxfu','888SFzetT','3338560xNsJDm','1310kcSVru','2637528kSAMBD','934326ZhnMFE','392LrKBNQ','FfMrW','HookState.NONE','1194384vuVorx','50EAIgUH','10554opkhHb','1135554AfUsjw','HookState.PRE','jQOgQ'];a80_0x5271=function(){return _0x51d62d;};return a80_0x5271();}const a80_0x46e429={};a80_0x46e429[a80_0x2652bd(0x19b)]=0x0,a80_0x46e429['toString']=function(){const _0x50cedd=a80_0x2652bd,_0x270ce9={};_0x270ce9[_0x50cedd(0x1a0)]=_0x50cedd(0x194);const _0x8f76b4=_0x270ce9;return _0x8f76b4[_0x50cedd(0x1a0)];};const a80_0xaaa24={};a80_0xaaa24[a80_0x2652bd(0x19b)]=0x1,a80_0xaaa24[a80_0x2652bd(0x19f)]=function(){const _0xe9d2a3=a80_0x2652bd,_0x42d35c={};_0x42d35c['FfMrW']=_0xe9d2a3(0x199);const _0x297971=_0x42d35c;return _0x297971[_0xe9d2a3(0x193)];};const a80_0x1456b2={};a80_0x1456b2[a80_0x2652bd(0x19b)]=0x2,a80_0x1456b2[a80_0x2652bd(0x19f)]=function(){const _0x18281e=a80_0x2652bd,_0x1c896b={};_0x1c896b[_0x18281e(0x19a)]='HookState.POST';const _0x20734f=_0x1c896b;return _0x20734f[_0x18281e(0x19a)];};function a80_0x12b6(_0x3cd9b1,_0x2d28a9){const _0x5271ce=a80_0x5271();return a80_0x12b6=function(_0x12b628,_0x45c9fc){_0x12b628=_0x12b628-0x18f;let _0x53cd19=_0x5271ce[_0x12b628];return _0x53cd19;},a80_0x12b6(_0x3cd9b1,_0x2d28a9);}const HookState=Object[a80_0x2652bd(0x19c)]({'NONE':a80_0x46e429,'PRE':a80_0xaaa24,'POST':a80_0x1456b2,'fromValue'(_0x27b529){const _0x25aca5=a80_0x2652bd;return Object['values'](HookState)[_0x25aca5(0x19d)](_0x8e79fe=>_0x8e79fe[_0x25aca5(0x19b)]===_0x27b529);}});module[a80_0x2652bd(0x19e)]=HookState;
@@ -1 +1 @@
1
- const a81_0x2e3ed1=a81_0x2104;(function(_0x4e48c9,_0x1b33e8){const _0x378afb=a81_0x2104,_0x4f22e5=_0x4e48c9();while(!![]){try{const _0x2de829=parseInt(_0x378afb(0x1b2))/0x1*(parseInt(_0x378afb(0x1c4))/0x2)+-parseInt(_0x378afb(0x1ca))/0x3+-parseInt(_0x378afb(0x1b9))/0x4+parseInt(_0x378afb(0x1c9))/0x5*(parseInt(_0x378afb(0x1c2))/0x6)+parseInt(_0x378afb(0x1b1))/0x7*(parseInt(_0x378afb(0x1b0))/0x8)+-parseInt(_0x378afb(0x1ac))/0x9*(-parseInt(_0x378afb(0x1af))/0xa)+-parseInt(_0x378afb(0x1b5))/0xb;if(_0x2de829===_0x1b33e8)break;else _0x4f22e5['push'](_0x4f22e5['shift']());}catch(_0x3e4c54){_0x4f22e5['push'](_0x4f22e5['shift']());}}}(a81_0x15b7,0x7be36));const a81_0x4590ee={};a81_0x4590ee[a81_0x2e3ed1(0x1c0)]=0x0,a81_0x4590ee[a81_0x2e3ed1(0x1c7)]=function(){const _0x340088=a81_0x2e3ed1,_0x1d6bca={};_0x1d6bca['moQUB']=_0x340088(0x1ba);const _0x3f1174=_0x1d6bca;return _0x3f1174['moQUB'];};const a81_0x3a0994={};a81_0x3a0994['value']=0x1,a81_0x3a0994[a81_0x2e3ed1(0x1c7)]=function(){const _0x460bc6=a81_0x2e3ed1,_0x475d73={};_0x475d73[_0x460bc6(0x1c6)]=_0x460bc6(0x1ae);const _0x140748=_0x475d73;return _0x140748['AtUpI'];};const a81_0x392a8b={};a81_0x392a8b[a81_0x2e3ed1(0x1c0)]=0x2,a81_0x392a8b[a81_0x2e3ed1(0x1c7)]=function(){const _0x521d4f=a81_0x2e3ed1,_0x598e9f={};_0x598e9f['JEEWV']=_0x521d4f(0x1b6);const _0x4b8120=_0x598e9f;return _0x4b8120['JEEWV'];};const a81_0x2eca99={};a81_0x2eca99[a81_0x2e3ed1(0x1c0)]=0x3,a81_0x2eca99['toString']=function(){const _0x408374=a81_0x2e3ed1,_0x5662e6={};_0x5662e6[_0x408374(0x1aa)]=_0x408374(0x1a8);const _0x3410f4=_0x5662e6;return _0x3410f4['NusoC'];};function a81_0x2104(_0x2a8741,_0x183c95){const _0x15b7f6=a81_0x15b7();return a81_0x2104=function(_0x21049a,_0x9ebb63){_0x21049a=_0x21049a-0x1a8;let _0x594249=_0x15b7f6[_0x21049a];return _0x594249;},a81_0x2104(_0x2a8741,_0x183c95);}const a81_0x564d36={};a81_0x564d36[a81_0x2e3ed1(0x1c0)]=0x4,a81_0x564d36[a81_0x2e3ed1(0x1c7)]=function(){const _0x33890a=a81_0x2e3ed1,_0x369655={};_0x369655['nPauy']=_0x33890a(0x1b3);const _0x1441ed=_0x369655;return _0x1441ed[_0x33890a(0x1bb)];};const a81_0x2817d4={};a81_0x2817d4[a81_0x2e3ed1(0x1c0)]=0x5,a81_0x2817d4[a81_0x2e3ed1(0x1c7)]=function(){const _0x297bb1=a81_0x2e3ed1,_0xdf15a5={};_0xdf15a5[_0x297bb1(0x1be)]='TestFrameworkState.BEFORE_EACH';const _0x1e1366=_0xdf15a5;return _0x1e1366[_0x297bb1(0x1be)];};const a81_0x12aa1e={};a81_0x12aa1e[a81_0x2e3ed1(0x1c0)]=0x6,a81_0x12aa1e[a81_0x2e3ed1(0x1c7)]=function(){const _0x1ba425=a81_0x2e3ed1,_0x14708d={};_0x14708d[_0x1ba425(0x1bd)]=_0x1ba425(0x1bf);const _0x3511d2=_0x14708d;return _0x3511d2[_0x1ba425(0x1bd)];};const a81_0x13938f={};function a81_0x15b7(){const _0x4b523a=['187784cbbjWN','91FYjbdo','15896JKopxW','TestFrameworkState.INIT_TEST','OhVWx','6143027WayaQP','TestFrameworkState.LOG','TestFrameworkState.LOG_REPORT','values','3644736kqEczf','TestFrameworkState.NONE','nPauy','TestFrameworkState.TEST','XCgDa','fWOFw','TestFrameworkState.AFTER_EACH','value','NKMll','6YnvYmu','VFtuo','68IppLqS','find','AtUpI','toString','TubJT','2351045GlWWGK','753507mvVSFt','TestFrameworkState.SETUP_FIXTURE','TestFrameworkState.STEP','NusoC','jyHnY','40653rbZVwW','TestFrameworkState.AFTER_ALL','TestFrameworkState.BEFORE_ALL','2020IerfQx'];a81_0x15b7=function(){return _0x4b523a;};return a81_0x15b7();}a81_0x13938f[a81_0x2e3ed1(0x1c0)]=0x7,a81_0x13938f['toString']=function(){const _0x472cac=a81_0x2e3ed1,_0x182525={};_0x182525[_0x472cac(0x1ab)]=_0x472cac(0x1bc);const _0x464f2f=_0x182525;return _0x464f2f[_0x472cac(0x1ab)];};const a81_0x3796ea={};a81_0x3796ea['value']=0x8,a81_0x3796ea['toString']=function(){const _0xa074e1=a81_0x2e3ed1,_0x54b36e={};_0x54b36e[_0xa074e1(0x1c8)]=_0xa074e1(0x1a9);const _0x12868f=_0x54b36e;return _0x12868f[_0xa074e1(0x1c8)];};const a81_0x483339={};a81_0x483339[a81_0x2e3ed1(0x1c0)]=0x9,a81_0x483339[a81_0x2e3ed1(0x1c7)]=function(){const _0xa5f7b8=a81_0x2e3ed1,_0x50fc59={};_0x50fc59[_0xa5f7b8(0x1c1)]=_0xa5f7b8(0x1b7);const _0xecc01c=_0x50fc59;return _0xecc01c[_0xa5f7b8(0x1c1)];};const a81_0x3e4d69={};a81_0x3e4d69['value']=0xa,a81_0x3e4d69[a81_0x2e3ed1(0x1c7)]=function(){const _0x8ee385=a81_0x2e3ed1,_0x5f50f4={};_0x5f50f4[_0x8ee385(0x1b4)]=_0x8ee385(0x1ad);const _0x5908d9=_0x5f50f4;return _0x5908d9[_0x8ee385(0x1b4)];};const a81_0x1eb983={};a81_0x1eb983['value']=0xb,a81_0x1eb983[a81_0x2e3ed1(0x1c7)]=function(){const _0x2e4dc6=a81_0x2e3ed1,_0x3713df={};_0x3713df[_0x2e4dc6(0x1c3)]='TestFrameworkState.TEST_SCREENSHOT';const _0x44a85e=_0x3713df;return _0x44a85e['VFtuo'];};const TestFrameworkState=Object['freeze']({'NONE':a81_0x4590ee,'BEFORE_ALL':a81_0x3a0994,'LOG':a81_0x392a8b,'SETUP_FIXTURE':a81_0x2eca99,'INIT_TEST':a81_0x564d36,'BEFORE_EACH':a81_0x2817d4,'AFTER_EACH':a81_0x12aa1e,'TEST':a81_0x13938f,'STEP':a81_0x3796ea,'LOG_REPORT':a81_0x483339,'AFTER_ALL':a81_0x3e4d69,'TEST_SCREENSHOT':a81_0x1eb983,'fromValue'(_0x16e110){const _0x384d2b=a81_0x2e3ed1;return Object[_0x384d2b(0x1b8)](TestFrameworkState)[_0x384d2b(0x1c5)](_0x22aabe=>_0x22aabe[_0x384d2b(0x1c0)]===_0x16e110);}});module['exports']=TestFrameworkState;
1
+ const a81_0x589474=a81_0x4043;(function(_0xcd9040,_0x19c77e){const _0x2e486e=a81_0x4043,_0x177567=_0xcd9040();while(!![]){try{const _0x164e24=-parseInt(_0x2e486e(0x75))/0x1+-parseInt(_0x2e486e(0x6f))/0x2*(-parseInt(_0x2e486e(0x7d))/0x3)+parseInt(_0x2e486e(0x6d))/0x4*(-parseInt(_0x2e486e(0x7e))/0x5)+parseInt(_0x2e486e(0x74))/0x6+-parseInt(_0x2e486e(0x87))/0x7+parseInt(_0x2e486e(0x79))/0x8+-parseInt(_0x2e486e(0x78))/0x9;if(_0x164e24===_0x19c77e)break;else _0x177567['push'](_0x177567['shift']());}catch(_0x2c0259){_0x177567['push'](_0x177567['shift']());}}}(a81_0x274f,0x4128d));const a81_0x44f677={};a81_0x44f677[a81_0x589474(0x66)]=0x0,a81_0x44f677[a81_0x589474(0x6b)]=function(){const _0x267e8=a81_0x589474,_0x376196={};_0x376196[_0x267e8(0x71)]=_0x267e8(0x68);const _0x2269fb=_0x376196;return _0x2269fb[_0x267e8(0x71)];};const a81_0x59a653={};a81_0x59a653[a81_0x589474(0x66)]=0x1,a81_0x59a653[a81_0x589474(0x6b)]=function(){const _0x41d9ab=a81_0x589474,_0x3909cb={};_0x3909cb[_0x41d9ab(0x80)]=_0x41d9ab(0x77);const _0x1c35ac=_0x3909cb;return _0x1c35ac['KCMpu'];};const a81_0x3643ff={};a81_0x3643ff[a81_0x589474(0x66)]=0x2,a81_0x3643ff[a81_0x589474(0x6b)]=function(){const _0x473ce7=a81_0x589474,_0x373a1b={};_0x373a1b['JCWMa']=_0x473ce7(0x81);const _0x521941=_0x373a1b;return _0x521941['JCWMa'];};const a81_0x1845c3={};a81_0x1845c3[a81_0x589474(0x66)]=0x3,a81_0x1845c3[a81_0x589474(0x6b)]=function(){const _0x4b2932=a81_0x589474,_0x5325c1={};_0x5325c1[_0x4b2932(0x7f)]=_0x4b2932(0x72);const _0xef4844=_0x5325c1;return _0xef4844[_0x4b2932(0x7f)];};function a81_0x274f(){const _0x102fc5=['80jaGFXP','xsTHt','KCMpu','TestFrameworkState.LOG','syZbi','WTzHC','find','TestFrameworkState.INIT_TEST','TestFrameworkState.TEST_SCREENSHOT','1068459WTKVoJ','exports','value','vXDwE','TestFrameworkState.NONE','AKwjF','TestFrameworkState.TEST','toString','TestFrameworkState.AFTER_ALL','38524PXrgBX','TestFrameworkState.BEFORE_EACH','375210tOgyOj','EDAFC','oKyem','TestFrameworkState.SETUP_FIXTURE','values','2329032BJRePa','360373MpCubE','TestFrameworkState.LOG_REPORT','TestFrameworkState.BEFORE_ALL','502011PyDMgB','3312008fsnUUQ','ufIqb','JHxnt','TestFrameworkState.AFTER_EACH','3krGjxG'];a81_0x274f=function(){return _0x102fc5;};return a81_0x274f();}const a81_0x378a34={};a81_0x378a34[a81_0x589474(0x66)]=0x4,a81_0x378a34[a81_0x589474(0x6b)]=function(){const _0x3e245d=a81_0x589474,_0x1ad5ac={};_0x1ad5ac[_0x3e245d(0x67)]=_0x3e245d(0x85);const _0x58556b=_0x1ad5ac;return _0x58556b[_0x3e245d(0x67)];};function a81_0x4043(_0x1b6a73,_0x529a54){const _0x274ffb=a81_0x274f();return a81_0x4043=function(_0x404374,_0x5f5821){_0x404374=_0x404374-0x65;let _0x5369f7=_0x274ffb[_0x404374];return _0x5369f7;},a81_0x4043(_0x1b6a73,_0x529a54);}const a81_0x593ef7={};a81_0x593ef7[a81_0x589474(0x66)]=0x5,a81_0x593ef7[a81_0x589474(0x6b)]=function(){const _0x5723b5=a81_0x589474,_0x33447e={};_0x33447e['sLRYe']=_0x5723b5(0x6e);const _0x39a645=_0x33447e;return _0x39a645['sLRYe'];};const a81_0x4a64d0={};a81_0x4a64d0[a81_0x589474(0x66)]=0x6,a81_0x4a64d0[a81_0x589474(0x6b)]=function(){const _0x5024d9=a81_0x589474,_0x275763={};_0x275763[_0x5024d9(0x69)]=_0x5024d9(0x7c);const _0x49d881=_0x275763;return _0x49d881[_0x5024d9(0x69)];};const a81_0x53e8c0={};a81_0x53e8c0[a81_0x589474(0x66)]=0x7,a81_0x53e8c0[a81_0x589474(0x6b)]=function(){const _0x2b897a=a81_0x589474,_0x50aa50={};_0x50aa50['EDAFC']=_0x2b897a(0x6a);const _0x1adcc0=_0x50aa50;return _0x1adcc0[_0x2b897a(0x70)];};const a81_0x216c1d={};a81_0x216c1d[a81_0x589474(0x66)]=0x8,a81_0x216c1d[a81_0x589474(0x6b)]=function(){const _0x5cc25b=a81_0x589474,_0x48bcea={};_0x48bcea['ufIqb']='TestFrameworkState.STEP';const _0x19082f=_0x48bcea;return _0x19082f[_0x5cc25b(0x7a)];};const a81_0x1ff21f={};a81_0x1ff21f[a81_0x589474(0x66)]=0x9,a81_0x1ff21f[a81_0x589474(0x6b)]=function(){const _0x450e2b=a81_0x589474,_0x2d5994={};_0x2d5994[_0x450e2b(0x82)]=_0x450e2b(0x76);const _0x5b1817=_0x2d5994;return _0x5b1817[_0x450e2b(0x82)];};const a81_0x9fad3a={};a81_0x9fad3a['value']=0xa,a81_0x9fad3a['toString']=function(){const _0x2ae15d=a81_0x589474,_0x33074b={};_0x33074b[_0x2ae15d(0x83)]=_0x2ae15d(0x6c);const _0x5b8ba6=_0x33074b;return _0x5b8ba6[_0x2ae15d(0x83)];};const a81_0x2803de={};a81_0x2803de[a81_0x589474(0x66)]=0xb,a81_0x2803de['toString']=function(){const _0x43f1a2=a81_0x589474,_0x10d7eb={};_0x10d7eb['JHxnt']=_0x43f1a2(0x86);const _0x2cbdc1=_0x10d7eb;return _0x2cbdc1[_0x43f1a2(0x7b)];};const TestFrameworkState=Object['freeze']({'NONE':a81_0x44f677,'BEFORE_ALL':a81_0x59a653,'LOG':a81_0x3643ff,'SETUP_FIXTURE':a81_0x1845c3,'INIT_TEST':a81_0x378a34,'BEFORE_EACH':a81_0x593ef7,'AFTER_EACH':a81_0x4a64d0,'TEST':a81_0x53e8c0,'STEP':a81_0x216c1d,'LOG_REPORT':a81_0x1ff21f,'AFTER_ALL':a81_0x9fad3a,'TEST_SCREENSHOT':a81_0x2803de,'fromValue'(_0x2a7f61){const _0x501891=a81_0x589474;return Object[_0x501891(0x73)](TestFrameworkState)[_0x501891(0x84)](_0x53c3ae=>_0x53c3ae['value']===_0x2a7f61);}});module[a81_0x589474(0x65)]=TestFrameworkState;
@@ -1 +1 @@
1
- function a82_0x5700(){const _0x593357=['homedir','finish','Cleared\x20attachment\x20folder','okLXl','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','2tgswzv','UpLHv','Created\x20folder:\x20%s','rmSync','lwWMa','toFixed','310613KmEZYn','startsWith','Attachment\x20recevied\x20for\x20path:\x20%s','testhubConfig','recursive','./TestInfo','debug','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','trackFile','713586KiYkmY','http://','join','size','../../helpers/classLogger.js','QxKnr','10061150azxFHV','EXWGl','./browserstackCLI','buildHashedId','PTBUF','3266784ySGTub','21DvJKDo','dZCeH','error','8235eqDeRi','faSrM','toObject','YAGHf','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','__workerDetails','iDIyG','retry','.browserstack','QQrxW','unlinkSync','close','clearAttachments','message','getTestIdentifierFromTestInfo','DdfaA','getInstance','https://','createWriteStream','https','http','get','Gukod','Djcoe','existsSync','currentTest','modules','JTdxH','qHlCp','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','File\x20downloaded\x20to:\x20%s','exports','PLZrh','KEY_FILE_PATH','133638IBaLuB','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','XhJZj','sPwao','1152tOEJAj','KEY_FILE_SIZE','HYjGY','logger','Apkga','copyFileSync','./modules/playwrightDriverModule','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','uploadAttachmentsManager','Kzdbs','WftnH','TllNy','./framework/constants/testFrameworkConstants','TuDcm','zkGEB','util','1727232UPMRug','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','format','qwzSs','KEY_FILE_LEVEL','Created\x20.browserstack\x20folder\x20at:\x20%s','path','statSync','KEY_TEST_ATTACHMENTS','zfyic','force','KEY_FILE_NAME','mkdirSync','TestLevel','BNrLk','getTestDetails','TestHubModule'];a82_0x5700=function(){return _0x593357;};return a82_0x5700();}const a82_0x5ae761=a82_0x20a9;(function(_0x4cb7e9,_0x10a581){const _0xbe0edd=a82_0x20a9,_0x168983=_0x4cb7e9();while(!![]){try{const _0x20f026=-parseInt(_0xbe0edd(0x134))/0x1+parseInt(_0xbe0edd(0x12e))/0x2*(-parseInt(_0xbe0edd(0x16e))/0x3)+-parseInt(_0xbe0edd(0x172))/0x4*(parseInt(_0xbe0edd(0x14c))/0x5)+parseInt(_0xbe0edd(0x13d))/0x6*(parseInt(_0xbe0edd(0x149))/0x7)+parseInt(_0xbe0edd(0x183))/0x8+-parseInt(_0xbe0edd(0x148))/0x9+parseInt(_0xbe0edd(0x143))/0xa;if(_0x20f026===_0x10a581)break;else _0x168983['push'](_0x168983['shift']());}catch(_0x3fcb14){_0x168983['push'](_0x168983['shift']());}}}(a82_0x5700,0x5e525));function a82_0x20a9(_0x5de27b,_0x5c7f01){const _0x570070=a82_0x5700();return a82_0x20a9=function(_0x20a9e,_0x49848f){_0x20a9e=_0x20a9e-0x11d;let _0x5ea0eb=_0x570070[_0x20a9e];return _0x5ea0eb;},a82_0x20a9(_0x5de27b,_0x5c7f01);}const os=require('os'),fs=require('fs'),path=require(a82_0x5ae761(0x11e)),util=require(a82_0x5ae761(0x182)),BrowserstackCLI=require(a82_0x5ae761(0x145)),https=require(a82_0x5ae761(0x15f)),http=require(a82_0x5ae761(0x160)),AutomationFramework=require('./framework/automationFramework'),PlaywrightDriverModule=require(a82_0x5ae761(0x178)),TestInfo=require(a82_0x5ae761(0x139)),TestFrameworkConstants=require(a82_0x5ae761(0x17f)),{createClassLogger}=require(a82_0x5ae761(0x141));class uploadAttachmentsManager{static ['logger']=createClassLogger(a82_0x5ae761(0x17b));static['uploadAttachments'](_0x24b7bf,_0x3eff2d=![]){const _0x22d4c4=a82_0x5ae761,_0x210073={};_0x210073['Gukod']=function(_0x421473,_0x49205e){return _0x421473/_0x49205e;},_0x210073['PTBUF']=function(_0x2ec5a1,_0x37509d){return _0x2ec5a1*_0x37509d;},_0x210073['WenIK']=function(_0x2b3c94,_0x36abe6){return _0x2b3c94>_0x36abe6;},_0x210073[_0x22d4c4(0x186)]='Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.',_0x210073[_0x22d4c4(0x12c)]=_0x22d4c4(0x16a),_0x210073[_0x22d4c4(0x167)]=function(_0x313faa,_0x13d58d){return _0x313faa===_0x13d58d;},_0x210073[_0x22d4c4(0x14f)]=_0x22d4c4(0x12a),_0x210073[_0x22d4c4(0x144)]=_0x22d4c4(0x150),_0x210073[_0x22d4c4(0x14d)]=_0x22d4c4(0x13b),_0x210073[_0x22d4c4(0x170)]=_0x22d4c4(0x136),_0x210073[_0x22d4c4(0x171)]=_0x22d4c4(0x154),_0x210073[_0x22d4c4(0x16c)]=_0x22d4c4(0x179),_0x210073[_0x22d4c4(0x15b)]=_0x22d4c4(0x11d),_0x210073[_0x22d4c4(0x17c)]=_0x22d4c4(0x130),_0x210073[_0x22d4c4(0x174)]=function(_0x550471,_0x150d5e){return _0x550471===_0x150d5e;},_0x210073['Djcoe']=_0x22d4c4(0x12d),_0x210073[_0x22d4c4(0x12f)]=_0x22d4c4(0x15d),_0x210073[_0x22d4c4(0x126)]=_0x22d4c4(0x13e),_0x210073[_0x22d4c4(0x132)]=_0x22d4c4(0x14b),_0x210073[_0x22d4c4(0x176)]='Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s',_0x210073[_0x22d4c4(0x17d)]=function(_0x4845dc,_0x16e457){return _0x4845dc*_0x16e457;},_0x210073[_0x22d4c4(0x155)]=function(_0x4e0d63,_0x187501){return _0x4e0d63>_0x187501;},_0x210073['iDIyG']=_0x22d4c4(0x184);const _0x2044d4=_0x210073;this['logger'][_0x22d4c4(0x13a)](util[_0x22d4c4(0x185)](_0x2044d4[_0x22d4c4(0x170)],_0x24b7bf));const _0x3e311f=os['homedir'](),_0x3a5a5d=path[_0x22d4c4(0x13f)](_0x3e311f,_0x2044d4[_0x22d4c4(0x171)]);!fs['existsSync'](_0x3a5a5d)&&(this[_0x22d4c4(0x175)][_0x22d4c4(0x13a)](util[_0x22d4c4(0x185)](_0x2044d4[_0x22d4c4(0x16c)],_0x3a5a5d)),fs['mkdirSync'](_0x3a5a5d),this['logger'][_0x22d4c4(0x13a)](util[_0x22d4c4(0x185)](_0x2044d4['DdfaA'],_0x3a5a5d)));const _0x22a093=BrowserstackCLI['getInstance']()['modules'][_0x22d4c4(0x128)]?.[_0x22d4c4(0x137)]?.[_0x22d4c4(0x14e)]()?.['buildHashedId'],_0x59d10c=path[_0x22d4c4(0x13f)](_0x3a5a5d,_0x22a093);!fs['existsSync'](_0x59d10c)&&(fs[_0x22d4c4(0x124)](_0x59d10c),this['logger'][_0x22d4c4(0x13a)](util['format'](_0x2044d4[_0x22d4c4(0x17c)],_0x59d10c)));if(_0x2044d4[_0x22d4c4(0x174)](_0x24b7bf['trim'](),'')){this['logger']['debug'](util[_0x22d4c4(0x185)](_0x2044d4[_0x22d4c4(0x163)]));return;}if(_0x24b7bf[_0x22d4c4(0x135)](_0x2044d4[_0x22d4c4(0x12f)])||_0x24b7bf['startsWith'](_0x2044d4['BNrLk'])){const _0x1b68a2=_0x24b7bf['startsWith'](_0x2044d4[_0x22d4c4(0x12f)])?https:http,_0x29d944=path['basename'](_0x24b7bf),_0x29f433=path[_0x22d4c4(0x13f)](_0x59d10c,_0x29d944),_0x582c31=fs[_0x22d4c4(0x15e)](_0x29f433);_0x1b68a2[_0x22d4c4(0x161)](_0x24b7bf,_0x1fb339=>{const _0x58ec3d=_0x22d4c4;if(_0x2044d4[_0x58ec3d(0x167)](_0x1fb339['statusCode'],0xc8))_0x1fb339['pipe'](_0x582c31),_0x582c31['on'](_0x2044d4[_0x58ec3d(0x14f)],()=>{const _0x59228e=_0x58ec3d;_0x582c31['close']();const _0x270736=fs[_0x59228e(0x11f)](_0x29f433),_0x5dc917=_0x2044d4['Gukod'](_0x270736[_0x59228e(0x140)],_0x2044d4[_0x59228e(0x147)](0x400,0x400));if(_0x2044d4['WenIK'](_0x5dc917,0x64)){this['logger'][_0x59228e(0x13a)](util[_0x59228e(0x185)](_0x2044d4[_0x59228e(0x186)],_0x5dc917[_0x59228e(0x133)](0x2))),fs[_0x59228e(0x156)](_0x29f433);return;}this['logger'][_0x59228e(0x13a)](util[_0x59228e(0x185)](_0x2044d4[_0x59228e(0x12c)],_0x29f433)),uploadAttachmentsManager['trackFile'](_0x29f433,_0x3eff2d);});else{this[_0x58ec3d(0x175)][_0x58ec3d(0x13a)](util[_0x58ec3d(0x185)](_0x2044d4[_0x58ec3d(0x144)],_0x1fb339['statusCode'])),_0x582c31[_0x58ec3d(0x157)](),fs[_0x58ec3d(0x156)](_0x29f433);return;}})['on'](_0x2044d4[_0x22d4c4(0x132)],_0x5c33a2=>{const _0x22ad3a=_0x22d4c4;this[_0x22ad3a(0x175)][_0x22ad3a(0x13a)](util[_0x22ad3a(0x185)](_0x2044d4[_0x22ad3a(0x14d)],_0x5c33a2[_0x22ad3a(0x159)])),_0x582c31[_0x22ad3a(0x157)](),fs[_0x22ad3a(0x156)](_0x29f433);return;});}else{if(!fs[_0x22d4c4(0x164)](_0x24b7bf)){this[_0x22d4c4(0x175)][_0x22d4c4(0x13a)](util['format'](_0x2044d4[_0x22d4c4(0x176)],_0x24b7bf));return;}const _0x4aed37=fs[_0x22d4c4(0x11f)](_0x24b7bf),_0xb147d9=_0x2044d4[_0x22d4c4(0x162)](_0x4aed37[_0x22d4c4(0x140)],_0x2044d4[_0x22d4c4(0x17d)](0x400,0x400));if(_0x2044d4[_0x22d4c4(0x155)](_0xb147d9,0x64)){this[_0x22d4c4(0x175)][_0x22d4c4(0x13a)](util[_0x22d4c4(0x185)](_0x2044d4[_0x22d4c4(0x152)],_0xb147d9[_0x22d4c4(0x133)](0x2)));return;}const _0x9fa1af=path['basename'](_0x24b7bf),_0x3f3103=path[_0x22d4c4(0x13f)](_0x59d10c,_0x9fa1af);fs[_0x22d4c4(0x177)](_0x24b7bf,_0x3f3103),uploadAttachmentsManager['trackFile'](_0x3f3103,_0x3eff2d);}}static[a82_0x5ae761(0x13c)](_0x440c54,_0x8b3db6){const _0x55857c=a82_0x5ae761,_0x7848ad={};_0x7848ad[_0x55857c(0x14a)]='BuildLevel',_0x7848ad[_0x55857c(0x142)]=_0x55857c(0x125),_0x7848ad['qHlCp']=_0x55857c(0x17a),_0x7848ad[_0x55857c(0x121)]=_0x55857c(0x16f);const _0x2fee1e=_0x7848ad;try{const _0x116d73=global[_0x55857c(0x151)]?.[_0x55857c(0x165)]?.['testInfo'],_0x133c1c=TestInfo[_0x55857c(0x15a)](_0x116d73,_0x116d73[_0x55857c(0x153)]),_0x332bfe=TestInfo[_0x55857c(0x127)](_0x133c1c),_0x2503cc=_0x332bfe[TestFrameworkConstants[_0x55857c(0x120)]]||{};_0x2503cc[_0x440c54]={[TestFrameworkConstants[_0x55857c(0x173)]]:fs[_0x55857c(0x11f)](_0x440c54)[_0x55857c(0x140)],[TestFrameworkConstants[_0x55857c(0x123)]]:path['basename'](_0x440c54),[TestFrameworkConstants[_0x55857c(0x16d)]]:_0x440c54,[TestFrameworkConstants[_0x55857c(0x187)]]:_0x8b3db6?_0x2fee1e['dZCeH']:_0x2fee1e[_0x55857c(0x142)]},_0x332bfe[TestFrameworkConstants[_0x55857c(0x120)]]=_0x2503cc,TestInfo['setTestDetails'](_0x133c1c,_0x332bfe),this[_0x55857c(0x175)][_0x55857c(0x13a)](util['format'](_0x2fee1e[_0x55857c(0x168)],_0x440c54));}catch(_0x447110){this[_0x55857c(0x175)][_0x55857c(0x13a)](util[_0x55857c(0x185)](_0x2fee1e['zfyic'],_0x447110['message']));}}static[a82_0x5ae761(0x158)](){const _0x858503=a82_0x5ae761,_0x50cacc={};_0x50cacc[_0x858503(0x181)]=_0x858503(0x154),_0x50cacc[_0x858503(0x17e)]=_0x858503(0x169),_0x50cacc['TuDcm']=_0x858503(0x12b);const _0x4e927a=_0x50cacc,_0x498d6f=os[_0x858503(0x129)](),_0x3c0170=path[_0x858503(0x13f)](_0x498d6f,_0x4e927a['zkGEB']);if(!fs[_0x858503(0x164)](_0x3c0170))return;const _0x93e5e4=BrowserstackCLI[_0x858503(0x15c)]()[_0x858503(0x166)][_0x858503(0x128)]?.['testhubConfig']?.['toObject']()?.[_0x858503(0x146)],_0x29d054=_0x93e5e4?path['join'](_0x3c0170,_0x93e5e4):null;if(!_0x29d054||!fs[_0x858503(0x164)](_0x29d054)){this['logger'][_0x858503(0x13a)](util[_0x858503(0x185)](_0x4e927a[_0x858503(0x17e)],_0x93e5e4));return;}const _0x55a0c8={};_0x55a0c8[_0x858503(0x138)]=!![],_0x55a0c8[_0x858503(0x122)]=!![],fs[_0x858503(0x131)](_0x29d054,_0x55a0c8),this['logger'][_0x858503(0x13a)](util[_0x858503(0x185)](_0x4e927a[_0x858503(0x180)]));}}module[a82_0x5ae761(0x16b)]=uploadAttachmentsManager;
1
+ function a82_0x32da(_0xbe4d3c,_0x3e5152){const _0x1ae926=a82_0x1ae9();return a82_0x32da=function(_0x32dac1,_0x52ddf5){_0x32dac1=_0x32dac1-0x16b;let _0x57ebf3=_0x1ae926[_0x32dac1];return _0x57ebf3;},a82_0x32da(_0xbe4d3c,_0x3e5152);}const a82_0x245c45=a82_0x32da;(function(_0x300a81,_0x550ced){const _0x55aa4a=a82_0x32da,_0x4aa2a3=_0x300a81();while(!![]){try{const _0x15079b=parseInt(_0x55aa4a(0x18d))/0x1+parseInt(_0x55aa4a(0x19c))/0x2*(-parseInt(_0x55aa4a(0x18e))/0x3)+parseInt(_0x55aa4a(0x185))/0x4+-parseInt(_0x55aa4a(0x1a1))/0x5*(parseInt(_0x55aa4a(0x1bc))/0x6)+parseInt(_0x55aa4a(0x19d))/0x7*(-parseInt(_0x55aa4a(0x194))/0x8)+parseInt(_0x55aa4a(0x1ae))/0x9*(parseInt(_0x55aa4a(0x175))/0xa)+-parseInt(_0x55aa4a(0x1af))/0xb;if(_0x15079b===_0x550ced)break;else _0x4aa2a3['push'](_0x4aa2a3['shift']());}catch(_0x274319){_0x4aa2a3['push'](_0x4aa2a3['shift']());}}}(a82_0x1ae9,0x52a87));function a82_0x1ae9(){const _0x1f0357=['https','statusCode','statSync','./browserstackCLI','bMFie','getTestDetails','../../helpers/classLogger.js','tubeB','AkQvV','2348720lDhJzC','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','basename','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','exports','dXVfh','KdkLp','KEY_TEST_ATTACHMENTS','636358CIBajt','2718cnFpqY','uploadAttachments','unlinkSync','QTmLr','blqWr','toFixed','20312mmphfA','jkOrA','getInstance','force','uploadAttachmentsManager','DGban','./modules/playwrightDriverModule','debug','572VaiQdN','959wKqXig','toObject','testhubConfig','nhsLH','205fHFIqL','error','PydOe','rmSync','getTestIdentifierFromTestInfo','TestLevel','currentTest','Cleared\x20attachment\x20folder','pipe','Umgtz','http://','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','./framework/automationFramework','57141kelZbI','3456442VekZjY','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','hNzJr','rRQop','FJNCO','retry','.browserstack','copyFileSync','TSZjs','startsWith','TVERG','message','format','25362QRlEVt','tRuOg','createWriteStream','homedir','DVPFV','MSQKK','KEY_FILE_SIZE','trim','trackFile','mtbuF','vktGF','existsSync','idslN','MLtos','modules','https://','testInfo','./TestInfo','close','nhPVe','size','__workerDetails','FLbvB','XNvLv','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','get','path','fEcPh','finish','buildHashedId','join','util','330FHpjsn','logger','setTestDetails','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','TestHubModule','mihtz'];a82_0x1ae9=function(){return _0x1f0357;};return a82_0x1ae9();}const os=require('os'),fs=require('fs'),path=require(a82_0x245c45(0x16f)),util=require(a82_0x245c45(0x174)),BrowserstackCLI=require(a82_0x245c45(0x17f)),https=require(a82_0x245c45(0x17c)),http=require('http'),AutomationFramework=require(a82_0x245c45(0x1ad)),PlaywrightDriverModule=require(a82_0x245c45(0x19a)),TestInfo=require(a82_0x245c45(0x1cd)),TestFrameworkConstants=require('./framework/constants/testFrameworkConstants'),{createClassLogger}=require(a82_0x245c45(0x182));class uploadAttachmentsManager{static ['logger']=createClassLogger(a82_0x245c45(0x198));static[a82_0x245c45(0x18f)](_0x47df2a,_0xdb6158=![]){const _0x155593=a82_0x245c45,_0x588699={};_0x588699[_0x155593(0x1a0)]=function(_0x5a9e67,_0x1c7bb2){return _0x5a9e67/_0x1c7bb2;},_0x588699[_0x155593(0x183)]=function(_0x5b0731,_0x4e8b4e){return _0x5b0731*_0x4e8b4e;},_0x588699[_0x155593(0x184)]=function(_0x3ef41a,_0x3d73ba){return _0x3ef41a>_0x3d73ba;},_0x588699['DVPFV']='Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.',_0x588699[_0x155593(0x180)]='File\x20downloaded\x20to:\x20%s',_0x588699['Umgtz']=function(_0x31382e,_0x56d291){return _0x31382e===_0x56d291;},_0x588699['blqWr']=_0x155593(0x171),_0x588699[_0x155593(0x18a)]=_0x155593(0x1ac),_0x588699[_0x155593(0x191)]=_0x155593(0x188),_0x588699['fEcPh']='Attachment\x20recevied\x20for\x20path:\x20%s',_0x588699[_0x155593(0x16c)]=_0x155593(0x1b5),_0x588699[_0x155593(0x1b2)]=_0x155593(0x16d),_0x588699['hNzJr']='Created\x20.browserstack\x20folder\x20at:\x20%s',_0x588699[_0x155593(0x1c6)]='Created\x20folder:\x20%s',_0x588699[_0x155593(0x1c5)]=function(_0x3f2bfe,_0xf3ad94){return _0x3f2bfe===_0xf3ad94;},_0x588699[_0x155593(0x16b)]=_0x155593(0x1b0),_0x588699[_0x155593(0x1c8)]=_0x155593(0x1cb),_0x588699[_0x155593(0x199)]=_0x155593(0x1ab),_0x588699['KdkLp']=_0x155593(0x1a2),_0x588699[_0x155593(0x1a3)]=_0x155593(0x179),_0x588699['TVERG']=function(_0x3a6b4d,_0x59b321){return _0x3a6b4d*_0x59b321;},_0x588699['MLtos']=function(_0x1b0f81,_0x519487){return _0x1b0f81>_0x519487;},_0x588699[_0x155593(0x1b7)]=_0x155593(0x178);const _0x4b9b6a=_0x588699;this[_0x155593(0x176)]['debug'](util[_0x155593(0x1bb)](_0x4b9b6a[_0x155593(0x170)],_0x47df2a));const _0x53dad1=os[_0x155593(0x1bf)](),_0x1362e0=path[_0x155593(0x173)](_0x53dad1,_0x4b9b6a[_0x155593(0x16c)]);!fs[_0x155593(0x1c7)](_0x1362e0)&&(this[_0x155593(0x176)][_0x155593(0x19b)](util[_0x155593(0x1bb)](_0x4b9b6a[_0x155593(0x1b2)],_0x1362e0)),fs['mkdirSync'](_0x1362e0),this[_0x155593(0x176)]['debug'](util[_0x155593(0x1bb)](_0x4b9b6a[_0x155593(0x1b1)],_0x1362e0)));const _0x16060=BrowserstackCLI[_0x155593(0x196)]()[_0x155593(0x1ca)][_0x155593(0x17a)]?.[_0x155593(0x19f)]?.[_0x155593(0x19e)]()?.[_0x155593(0x172)],_0x5b5a22=path['join'](_0x1362e0,_0x16060);!fs[_0x155593(0x1c7)](_0x5b5a22)&&(fs['mkdirSync'](_0x5b5a22),this[_0x155593(0x176)][_0x155593(0x19b)](util[_0x155593(0x1bb)](_0x4b9b6a[_0x155593(0x1c6)],_0x5b5a22)));if(_0x4b9b6a['mtbuF'](_0x47df2a[_0x155593(0x1c3)](),'')){this['logger'][_0x155593(0x19b)](util['format'](_0x4b9b6a[_0x155593(0x16b)]));return;}if(_0x47df2a[_0x155593(0x1b8)](_0x4b9b6a[_0x155593(0x1c8)])||_0x47df2a[_0x155593(0x1b8)](_0x4b9b6a[_0x155593(0x199)])){const _0x5d5fe2=_0x47df2a[_0x155593(0x1b8)](_0x4b9b6a[_0x155593(0x1c8)])?https:http,_0x5e2d41=path[_0x155593(0x187)](_0x47df2a),_0x25645f=path[_0x155593(0x173)](_0x5b5a22,_0x5e2d41),_0x5a31f2=fs[_0x155593(0x1be)](_0x25645f);_0x5d5fe2[_0x155593(0x16e)](_0x47df2a,_0x36d450=>{const _0x29f349=_0x155593;if(_0x4b9b6a[_0x29f349(0x1aa)](_0x36d450['statusCode'],0xc8))_0x36d450[_0x29f349(0x1a9)](_0x5a31f2),_0x5a31f2['on'](_0x4b9b6a[_0x29f349(0x192)],()=>{const _0x545d22=_0x29f349;_0x5a31f2['close']();const _0x4efaf4=fs[_0x545d22(0x17e)](_0x25645f),_0x409761=_0x4b9b6a[_0x545d22(0x1a0)](_0x4efaf4['size'],_0x4b9b6a[_0x545d22(0x183)](0x400,0x400));if(_0x4b9b6a[_0x545d22(0x184)](_0x409761,0x64)){this[_0x545d22(0x176)][_0x545d22(0x19b)](util['format'](_0x4b9b6a[_0x545d22(0x1c0)],_0x409761[_0x545d22(0x193)](0x2))),fs[_0x545d22(0x190)](_0x25645f);return;}this['logger'][_0x545d22(0x19b)](util[_0x545d22(0x1bb)](_0x4b9b6a[_0x545d22(0x180)],_0x25645f)),uploadAttachmentsManager[_0x545d22(0x1c4)](_0x25645f,_0xdb6158);});else{this[_0x29f349(0x176)]['debug'](util[_0x29f349(0x1bb)](_0x4b9b6a[_0x29f349(0x18a)],_0x36d450[_0x29f349(0x17d)])),_0x5a31f2[_0x29f349(0x1ce)](),fs[_0x29f349(0x190)](_0x25645f);return;}})['on'](_0x4b9b6a[_0x155593(0x18b)],_0xc8f9c5=>{const _0x230ec2=_0x155593;this[_0x230ec2(0x176)][_0x230ec2(0x19b)](util[_0x230ec2(0x1bb)](_0x4b9b6a['QTmLr'],_0xc8f9c5[_0x230ec2(0x1ba)])),_0x5a31f2[_0x230ec2(0x1ce)](),fs['unlinkSync'](_0x25645f);return;});}else{if(!fs[_0x155593(0x1c7)](_0x47df2a)){this[_0x155593(0x176)]['debug'](util[_0x155593(0x1bb)](_0x4b9b6a[_0x155593(0x1a3)],_0x47df2a));return;}const _0x332366=fs[_0x155593(0x17e)](_0x47df2a),_0x312ee6=_0x4b9b6a[_0x155593(0x1a0)](_0x332366[_0x155593(0x1d0)],_0x4b9b6a[_0x155593(0x1b9)](0x400,0x400));if(_0x4b9b6a[_0x155593(0x1c9)](_0x312ee6,0x64)){this['logger'][_0x155593(0x19b)](util[_0x155593(0x1bb)](_0x4b9b6a[_0x155593(0x1b7)],_0x312ee6['toFixed'](0x2)));return;}const _0x4441d8=path[_0x155593(0x187)](_0x47df2a),_0xadf48d=path['join'](_0x5b5a22,_0x4441d8);fs[_0x155593(0x1b6)](_0x47df2a,_0xadf48d),uploadAttachmentsManager['trackFile'](_0xadf48d,_0xdb6158);}}static[a82_0x245c45(0x1c4)](_0xf0ef84,_0x39d4c8){const _0x506c65=a82_0x245c45,_0x1da6ea={};_0x1da6ea[_0x506c65(0x1b3)]='BuildLevel',_0x1da6ea[_0x506c65(0x17b)]=_0x506c65(0x1a6),_0x1da6ea[_0x506c65(0x1bd)]='Attachment\x20file\x20tracked\x20for\x20upload:\x20%s',_0x1da6ea['DQcet']=_0x506c65(0x186);const _0x2af405=_0x1da6ea;try{const _0xb4abb0=global[_0x506c65(0x1d1)]?.[_0x506c65(0x1a7)]?.[_0x506c65(0x1cc)],_0xdfc473=TestInfo[_0x506c65(0x1a5)](_0xb4abb0,_0xb4abb0[_0x506c65(0x1b4)]),_0x37cb4c=TestInfo[_0x506c65(0x181)](_0xdfc473),_0xee9948=_0x37cb4c[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{};_0xee9948[_0xf0ef84]={[TestFrameworkConstants[_0x506c65(0x1c2)]]:fs[_0x506c65(0x17e)](_0xf0ef84)['size'],[TestFrameworkConstants['KEY_FILE_NAME']]:path['basename'](_0xf0ef84),[TestFrameworkConstants['KEY_FILE_PATH']]:_0xf0ef84,[TestFrameworkConstants['KEY_FILE_LEVEL']]:_0x39d4c8?_0x2af405['FJNCO']:_0x2af405[_0x506c65(0x17b)]},_0x37cb4c[TestFrameworkConstants[_0x506c65(0x18c)]]=_0xee9948,TestInfo[_0x506c65(0x177)](_0xdfc473,_0x37cb4c),this[_0x506c65(0x176)][_0x506c65(0x19b)](util[_0x506c65(0x1bb)](_0x2af405[_0x506c65(0x1bd)],_0xf0ef84));}catch(_0xbe921f){this['logger'][_0x506c65(0x19b)](util[_0x506c65(0x1bb)](_0x2af405['DQcet'],_0xbe921f[_0x506c65(0x1ba)]));}}static['clearAttachments'](){const _0x31f374=a82_0x245c45,_0x135d2f={};_0x135d2f[_0x31f374(0x1c1)]=_0x31f374(0x1b5),_0x135d2f[_0x31f374(0x1cf)]='No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s',_0x135d2f[_0x31f374(0x195)]=_0x31f374(0x1a8);const _0x1c2917=_0x135d2f,_0xdec452=os[_0x31f374(0x1bf)](),_0x1beb68=path[_0x31f374(0x173)](_0xdec452,_0x1c2917[_0x31f374(0x1c1)]);if(!fs[_0x31f374(0x1c7)](_0x1beb68))return;const _0x492781=BrowserstackCLI[_0x31f374(0x196)]()[_0x31f374(0x1ca)][_0x31f374(0x17a)]?.[_0x31f374(0x19f)]?.['toObject']()?.['buildHashedId'],_0x5735fe=_0x492781?path[_0x31f374(0x173)](_0x1beb68,_0x492781):null;if(!_0x5735fe||!fs[_0x31f374(0x1c7)](_0x5735fe)){this[_0x31f374(0x176)][_0x31f374(0x19b)](util[_0x31f374(0x1bb)](_0x1c2917[_0x31f374(0x1cf)],_0x492781));return;}const _0xc6100c={};_0xc6100c['recursive']=!![],_0xc6100c[_0x31f374(0x197)]=!![],fs[_0x31f374(0x1a4)](_0x5735fe,_0xc6100c),this[_0x31f374(0x176)][_0x31f374(0x19b)](util[_0x31f374(0x1bb)](_0x1c2917[_0x31f374(0x195)]));}}module[a82_0x245c45(0x189)]=uploadAttachmentsManager;