browserstack-node-sdk 1.49.9 → 1.49.10

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 (186) 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 +5 -2
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a135_0x5304a7=a135_0x3287;function a135_0x3287(_0x4b9e08,_0x1f13d3){const _0xf4af0c=a135_0xf4af();return a135_0x3287=function(_0x3287db,_0xa6949){_0x3287db=_0x3287db-0x80;let _0x307cc0=_0xf4af0c[_0x3287db];return _0x307cc0;},a135_0x3287(_0x4b9e08,_0x1f13d3);}(function(_0x1def62,_0x133908){const _0x14f34c=a135_0x3287,_0x380a8e=_0x1def62();while(!![]){try{const _0x3be3de=parseInt(_0x14f34c(0xc0))/0x1*(parseInt(_0x14f34c(0x8a))/0x2)+-parseInt(_0x14f34c(0xcd))/0x3+-parseInt(_0x14f34c(0x8e))/0x4+-parseInt(_0x14f34c(0x8f))/0x5+parseInt(_0x14f34c(0x8b))/0x6*(parseInt(_0x14f34c(0xae))/0x7)+-parseInt(_0x14f34c(0xc4))/0x8*(parseInt(_0x14f34c(0xa5))/0x9)+parseInt(_0x14f34c(0x96))/0xa;if(_0x3be3de===_0x133908)break;else _0x380a8e['push'](_0x380a8e['shift']());}catch(_0x48fc4e){_0x380a8e['push'](_0x380a8e['shift']());}}}(a135_0xf4af,0x77d31));const https=require('https'),{URL}=require(a135_0x5304a7(0x9c)),logger=require(a135_0x5304a7(0xb4))[a135_0x5304a7(0x86)],{ORCHESTRATION_API_URL,FAILED_TESTS_ENDPOINT,SPLIT_TESTS_ENDPOINT}=require(a135_0x5304a7(0x8d)),TAG='RequestUtils';function a135_0xf4af(){const _0x39ce8b=['postSplitFiles','\x20with\x20headers:\x20','debug',']\x20Successfully\x20posted\x20split\x20files\x20to\x20',']\x20Sending\x20','url','failedTestsCount','WySMs','KaqTM','rSJKO','ZKUog','dwPyq','PUT','Bearer\x20','9HkeVvy','Missing\x20required\x20parameters:\x20buildName,\x20buildRunIdentifier,\x20projectName','OWZuN','Ykhkd','application/json','VuqAj','message','stack','headers','2688MKBFLk','MnamM','kImEH','LDXxB','TQtGV','end','../logger','GET',']\x20Failed\x20to\x20parse\x20JSON\x20response:\x20','Content-Type','qkGvz','POST','RmfhR','mZhwv','jxGWm','rEztu','uufYY','getFailedTestsCount','1vGYDKB','statusCode','vDaNl','exports','5278344VajsUf','uawFp','BFRxJ',',\x20projectName=','_request','parse','fXtkH','error',']\x20Error\x20in\x20putFailedTests:\x20','2862303zWtSqW','\x20and\x20data:\x20',']\x20Failed\x20to\x20post\x20split\x20files\x20to\x20',']\x20Request\x20failed\x20for\x20','\x20request\x20to\x20','Authorization',']\x20Error\x20in\x20getFailedTestsCount:\x20','BROWSERSTACK_TESTHUB_JWT','xguNz','Failed\x20to\x20parse\x20JSON\x20response:\x20','Test\x20added','stringify','\x20and\x20token:\x20','winstonLogger','undefined',',\x20status:\x20','body','560314QLbKxe','3804WjbwhW','?buildName=','./constants','3547620hnTGWS','468740aKDhdt','env','\x20-\x20','JIoDD','status','pSwyy',']\x20Missing\x20parameters\x20for\x20getFailedTestsCount:\x20buildName=','25617350TAPpga'];a135_0xf4af=function(){return _0x39ce8b;};return a135_0xf4af();}class RequestUtils{static async[a135_0x5304a7(0xc8)](_0x69abae,_0x4f5cce,_0x38814b=null){const _0x7b9bdc=a135_0x5304a7,_0x5449f7={'LDXxB':function(_0x459a29,_0x38c407){return _0x459a29(_0x38c407);},'OWZuN':'data','vSjnQ':_0x7b9bdc(0xb3),'uawFp':_0x7b9bdc(0xcb),'xbluh':function(_0x350052,_0x55820b){return _0x350052===_0x55820b;},'rEztu':'POST','mZhwv':function(_0x3015d4,_0x194c61){return _0x3015d4===_0x194c61;},'Ykhkd':_0x7b9bdc(0xa3),'rSJKO':_0x7b9bdc(0xa9),'CluRt':function(_0x39891c,_0x249714){return _0x39891c+_0x249714;}},_0x35bcc7=process[_0x7b9bdc(0x90)][_0x7b9bdc(0x80)]||'',_0x451ca8={};_0x451ca8[_0x7b9bdc(0xd2)]=_0x7b9bdc(0xa4)+_0x35bcc7,_0x451ca8[_0x7b9bdc(0xb7)]=_0x5449f7[_0x7b9bdc(0xa0)];const _0x52dc95=_0x451ca8,{hostname:_0x5671f0,pathname:_0x11adeb,search:_0x555075}=new URL(_0x4f5cce),_0x5eb6a8={'hostname':_0x5671f0,'path':_0x5449f7['CluRt'](_0x11adeb,_0x555075),'method':_0x69abae,'headers':_0x52dc95};return logger[_0x7b9bdc(0x99)]('['+TAG+_0x7b9bdc(0x9b)+_0x69abae+_0x7b9bdc(0xd1)+_0x4f5cce+_0x7b9bdc(0x98)+JSON[_0x7b9bdc(0x84)](_0x52dc95)+_0x7b9bdc(0xce)+JSON[_0x7b9bdc(0x84)](_0x38814b)+_0x7b9bdc(0x85)+_0x35bcc7),new Promise((_0x255455,_0x24c9fe)=>{const _0x51cccd=_0x7b9bdc,_0x200878={'WySMs':function(_0x524552,_0x37c7b5){const _0x35dbeb=a135_0x3287;return _0x5449f7[_0x35dbeb(0xb1)](_0x524552,_0x37c7b5);}},_0x39d7db=https['request'](_0x5eb6a8,_0x1d6e98=>{const _0x8472d5=a135_0x3287,_0x2e9578={'TQtGV':function(_0x35d7fd,_0x1425c3){const _0x37cc13=a135_0x3287;return _0x5449f7[_0x37cc13(0xb1)](_0x35d7fd,_0x1425c3);}};let _0x5f1779='';_0x1d6e98['on'](_0x5449f7[_0x8472d5(0xa7)],_0x385c1b=>{_0x5f1779+=_0x385c1b;}),_0x1d6e98['on'](_0x5449f7['vSjnQ'],()=>{const _0x424927=_0x8472d5;try{const _0x508e07=_0x5f1779?JSON[_0x424927(0xc9)](_0x5f1779):{},_0x15d3ab={};_0x15d3ab[_0x424927(0x93)]=_0x1d6e98[_0x424927(0xc1)],_0x15d3ab['body']=_0x508e07,_0x15d3ab['headers']=_0x1d6e98[_0x424927(0xad)],_0x2e9578['TQtGV'](_0x255455,_0x15d3ab);}catch(_0x58f5ea){logger[_0x424927(0xcb)]('['+TAG+_0x424927(0xb6)+_0x5f1779+_0x424927(0x91)+_0x58f5ea[_0x424927(0xab)]+'\x20'+_0x58f5ea['stack']),_0x2e9578[_0x424927(0xb2)](_0x24c9fe,new Error(_0x424927(0x82)+_0x58f5ea[_0x424927(0xab)]));}});});_0x39d7db['on'](_0x5449f7[_0x51cccd(0xc5)],_0x17dc07=>{const _0x166a90=_0x51cccd;logger['error']('['+TAG+_0x166a90(0xd0)+_0x69abae+'\x20'+_0x4f5cce+':\x20'+_0x17dc07[_0x166a90(0xab)]+'\x20'+_0x17dc07[_0x166a90(0xac)]),_0x200878[_0x166a90(0x9e)](_0x24c9fe,_0x17dc07);}),_0x38814b&&(_0x5449f7['xbluh'](_0x69abae,_0x5449f7[_0x51cccd(0xbd)])||_0x5449f7[_0x51cccd(0xbb)](_0x69abae,_0x5449f7[_0x51cccd(0xa8)]))&&_0x39d7db['write'](JSON['stringify'](_0x38814b)),_0x39d7db[_0x51cccd(0xb3)]();});}static async[a135_0x5304a7(0x97)](_0x3098ae){const _0x523fcc=a135_0x5304a7,_0x413fb5={};_0x413fb5[_0x523fcc(0x94)]=_0x523fcc(0xb9),_0x413fb5[_0x523fcc(0xc6)]=function(_0x2f50fa,_0x1405e5){return _0x2f50fa===_0x1405e5;};const _0x1a87cb=_0x413fb5,_0x2fc409=ORCHESTRATION_API_URL+'/'+SPLIT_TESTS_ENDPOINT;try{const _0xe381d0=await this['_request'](_0x1a87cb['pSwyy'],_0x2fc409,_0x3098ae);return _0x1a87cb[_0x523fcc(0xc6)](_0xe381d0[_0x523fcc(0x93)],0xc8)?logger[_0x523fcc(0x99)]('['+TAG+_0x523fcc(0x9a)+_0x2fc409):logger[_0x523fcc(0xcb)]('['+TAG+_0x523fcc(0xcf)+_0x2fc409+':\x20'+JSON['stringify'](_0xe381d0[_0x523fcc(0x89)])+_0x523fcc(0x88)+_0xe381d0['status']),_0xe381d0;}catch(_0x4dab60){logger[_0x523fcc(0xcb)]('['+TAG+_0x523fcc(0xcc)+_0x4dab60['message']+'\x20'+_0x4dab60[_0x523fcc(0xac)]);const _0x4aac78={};_0x4aac78[_0x523fcc(0xab)]=_0x4dab60[_0x523fcc(0xab)];const _0x1c1bc0={};return _0x1c1bc0['status']=0x1f4,_0x1c1bc0[_0x523fcc(0x89)]=_0x4aac78,_0x1c1bc0;}}static async['getSplitFiles'](_0x1aaefd){const _0x56c797=a135_0x5304a7,_0x4d3e8b={};_0x4d3e8b[_0x56c797(0xbe)]=_0x56c797(0xb5),_0x4d3e8b[_0x56c797(0xbc)]=function(_0x4c6789,_0xa8750){return _0x4c6789===_0xa8750;};const _0x3cd276=_0x4d3e8b;try{const _0x155b54=await this[_0x56c797(0xc8)](_0x3cd276[_0x56c797(0xbe)],_0x1aaefd);if(_0x3cd276[_0x56c797(0xbc)](_0x155b54[_0x56c797(0x93)],0xc8))return _0x155b54[_0x56c797(0x89)];return{};}catch(_0x58eddd){return logger[_0x56c797(0xcb)]('['+TAG+']\x20Error\x20in\x20putFailedTests:\x20'+_0x58eddd[_0x56c797(0xab)]+'\x20'+_0x58eddd[_0x56c797(0xac)]),{};}}static async['putFailedTests'](_0x35dd36){const _0x59b52d=a135_0x5304a7,_0x5ea590={};_0x5ea590[_0x59b52d(0x81)]=_0x59b52d(0xa3),_0x5ea590[_0x59b52d(0x9f)]=function(_0x189d77,_0x3e2f6a){return _0x189d77===_0x3e2f6a;},_0x5ea590[_0x59b52d(0x92)]=function(_0x5ba5ee,_0x4dd687){return _0x5ba5ee===_0x4dd687;},_0x5ea590[_0x59b52d(0xaf)]=_0x59b52d(0x83);const _0x1fd0e6=_0x5ea590,_0x30af58=ORCHESTRATION_API_URL+'/'+FAILED_TESTS_ENDPOINT;try{const _0x1902a0=await this[_0x59b52d(0xc8)](_0x1fd0e6[_0x59b52d(0x81)],_0x30af58,_0x35dd36);if(_0x1fd0e6[_0x59b52d(0x9f)](_0x1902a0[_0x59b52d(0x93)],0xc8)&&_0x1902a0['body']&&_0x1fd0e6[_0x59b52d(0x92)](_0x1902a0[_0x59b52d(0x89)][_0x59b52d(0xab)],_0x1fd0e6[_0x59b52d(0xaf)]))return!![];return![];}catch(_0x579e05){logger[_0x59b52d(0xcb)]('['+TAG+_0x59b52d(0xcc)+_0x579e05[_0x59b52d(0xab)]+'\x20'+_0x579e05['stack']);const _0x3e1415={};_0x3e1415[_0x59b52d(0xab)]=_0x579e05[_0x59b52d(0xab)];const _0x3ef6fe={};return _0x3ef6fe[_0x59b52d(0x93)]=0x1f4,_0x3ef6fe[_0x59b52d(0x89)]=_0x3e1415,_0x3ef6fe;}}static async[a135_0x5304a7(0xbf)](_0x12aab1){const _0x2aaf55=a135_0x5304a7,_0x652fd2={'ZKUog':function(_0x15f0a1,_0x1442c4){return _0x15f0a1||_0x1442c4;},'fXtkH':_0x2aaf55(0xa6),'dwPyq':function(_0x2043d7,_0x31fe97){return _0x2043d7(_0x31fe97);},'qkGvz':function(_0xe2d868,_0x468802){return _0xe2d868(_0x468802);},'VuqAj':function(_0x334ef1,_0x5653f7){return _0x334ef1(_0x5653f7);},'ThKaC':'GET','kImEH':function(_0x2465a4,_0x22f43d){return _0x2465a4===_0x22f43d;},'vDaNl':function(_0x39af1b,_0x554ad4){return _0x39af1b!==_0x554ad4;},'RmfhR':_0x2aaf55(0x87)},{buildName:_0x123f2f,buildRunIdentifier:_0x5789b2,projectName:_0x45e0c3}=_0x12aab1;if(_0x652fd2[_0x2aaf55(0xa1)](!_0x123f2f,!_0x5789b2)||!_0x45e0c3){logger[_0x2aaf55(0xcb)]('['+TAG+_0x2aaf55(0x95)+_0x123f2f+',\x20buildRunIdentifier='+_0x5789b2+_0x2aaf55(0xc7)+_0x45e0c3);const _0x137391={};_0x137391['message']=_0x652fd2[_0x2aaf55(0xca)];const _0x42a6a8={};return _0x42a6a8['status']=0x190,_0x42a6a8[_0x2aaf55(0x89)]=_0x137391,_0x42a6a8;}const _0x2665c6=_0x2aaf55(0x8c)+_0x652fd2[_0x2aaf55(0xa2)](encodeURIComponent,_0x123f2f)+'&buildRunIdentifier='+_0x652fd2[_0x2aaf55(0xb8)](encodeURIComponent,_0x5789b2)+'&projectName='+_0x652fd2[_0x2aaf55(0xaa)](encodeURIComponent,_0x45e0c3),_0x27de47=ORCHESTRATION_API_URL+'/'+FAILED_TESTS_ENDPOINT+_0x2665c6;try{logger[_0x2aaf55(0x99)]('['+TAG+']\x20Sending\x20GET\x20to\x20'+_0x27de47);let _0xb40304=0x0;const _0x4cc3fc=await this[_0x2aaf55(0xc8)](_0x652fd2['ThKaC'],_0x27de47);return _0x652fd2[_0x2aaf55(0xb0)](_0x4cc3fc[_0x2aaf55(0x93)],0xc8)&&_0x4cc3fc[_0x2aaf55(0x89)]&&_0x652fd2[_0x2aaf55(0xc2)](typeof _0x4cc3fc['body'][_0x2aaf55(0x9d)],_0x652fd2[_0x2aaf55(0xba)])&&(_0xb40304=_0x652fd2['qkGvz'](Number,_0x4cc3fc[_0x2aaf55(0x89)]['failedTestsCount'])),_0xb40304;}catch(_0x46c147){logger[_0x2aaf55(0xcb)]('['+TAG+_0x2aaf55(0xd3)+_0x46c147[_0x2aaf55(0xab)]+'\x20'+_0x46c147['stack']);const _0x5240bf={};_0x5240bf[_0x2aaf55(0xab)]=_0x46c147[_0x2aaf55(0xab)];const _0x1188e7={};return _0x1188e7[_0x2aaf55(0x93)]=0x1f4,_0x1188e7[_0x2aaf55(0x89)]=_0x5240bf,_0x1188e7;}}}module[a135_0x5304a7(0xc3)]=RequestUtils;
1
+ function a135_0x28cd(){const _0x100c6a=[']\x20Sending\x20','env','298350eyNsya',']\x20Missing\x20parameters\x20for\x20getFailedTestsCount:\x20buildName=',',\x20status:\x20','uJVlm','Bearer\x20','debug','postSplitFiles','TwxKD',']\x20Successfully\x20posted\x20split\x20files\x20to\x20','Failed\x20to\x20parse\x20JSON\x20response:\x20',',\x20buildRunIdentifier=','url','getFailedTestsCount','error','&projectName=','_request','cbEYg','440888hDIFAz','AzrST','exports','sGAIx','status','\x20and\x20token:\x20','POST','headers','gnRpW',']\x20Failed\x20to\x20parse\x20JSON\x20response:\x20','?buildName=','gHXSv','COHic','NhtTP','PUT','../logger','end','JYVrN','write','30BJRxFR','undefined','data','BaooB','getSplitFiles','88DUStYU','application/json','parse','request','stack','krHdg','htdjg','GET',',\x20projectName=','message','RequestUtils','3hjpAsK','pCnWc','8440900VqRQBE','Rzadc','GHEKV','333508QDtvkS','./constants','LJwVx',']\x20Failed\x20to\x20post\x20split\x20files\x20to\x20','stringify','790420Vsqwuz','Missing\x20required\x20parameters:\x20buildName,\x20buildRunIdentifier,\x20projectName','lVByB','NRcNu','body','Content-Type','420588aOBuSu','failedTestsCount','548565vxnjAP','winstonLogger','DFsHP','XkzUi',']\x20Error\x20in\x20putFailedTests:\x20','oiruH','Gngiz'];a135_0x28cd=function(){return _0x100c6a;};return a135_0x28cd();}const a135_0x2c920c=a135_0x335c;(function(_0x3ab957,_0x123b1d){const _0x21f65f=a135_0x335c,_0x5a3895=_0x3ab957();while(!![]){try{const _0x374fb5=parseInt(_0x21f65f(0xf3))/0x1+parseInt(_0x21f65f(0x10f))/0x2+parseInt(_0x21f65f(0xe3))/0x3*(-parseInt(_0x21f65f(0xed))/0x4)+parseInt(_0x21f65f(0xf5))/0x5*(-parseInt(_0x21f65f(0xd3))/0x6)+-parseInt(_0x21f65f(0xe8))/0x7+parseInt(_0x21f65f(0xd8))/0x8*(-parseInt(_0x21f65f(0xfe))/0x9)+parseInt(_0x21f65f(0xe5))/0xa;if(_0x374fb5===_0x123b1d)break;else _0x5a3895['push'](_0x5a3895['shift']());}catch(_0x4890bb){_0x5a3895['push'](_0x5a3895['shift']());}}}(a135_0x28cd,0x4fc02));function a135_0x335c(_0x403594,_0x2951bf){const _0x28cdc8=a135_0x28cd();return a135_0x335c=function(_0x335ccd,_0x561988){_0x335ccd=_0x335ccd-0xc9;let _0x2eeebf=_0x28cdc8[_0x335ccd];return _0x2eeebf;},a135_0x335c(_0x403594,_0x2951bf);}const https=require('https'),{URL}=require(a135_0x2c920c(0x109)),logger=require(a135_0x2c920c(0xcf))[a135_0x2c920c(0xf6)],{ORCHESTRATION_API_URL,FAILED_TESTS_ENDPOINT,SPLIT_TESTS_ENDPOINT}=require(a135_0x2c920c(0xe9)),TAG=a135_0x2c920c(0xe2);class RequestUtils{static async[a135_0x2c920c(0x10d)](_0xb21411,_0x6b654c,_0x4cc125=null){const _0x2bc49d=a135_0x2c920c,_0x244f2b={'VVAMC':function(_0x382016,_0x6392c9){return _0x382016(_0x6392c9);},'uJVlm':_0x2bc49d(0xd5),'gHXSv':_0x2bc49d(0xd0),'LJwVx':'error','eOJnA':function(_0x201e7b,_0x55ab74){return _0x201e7b===_0x55ab74;},'NRcNu':'POST','BaooB':function(_0x9d8ced,_0x5266a8){return _0x9d8ced===_0x5266a8;},'cbEYg':_0x2bc49d(0xce),'gnRpW':_0x2bc49d(0xd9),'JYVrN':function(_0x5ab6aa,_0x2b5b6f){return _0x5ab6aa+_0x2b5b6f;}},_0x42d8b3=process[_0x2bc49d(0xfd)]['BROWSERSTACK_TESTHUB_JWT']||'',_0x168a12={};_0x168a12['Authorization']=_0x2bc49d(0x102)+_0x42d8b3,_0x168a12[_0x2bc49d(0xf2)]=_0x244f2b[_0x2bc49d(0x117)];const _0x2db401=_0x168a12,{hostname:_0x521d8e,pathname:_0x470684,search:_0x5df906}=new URL(_0x6b654c),_0x575679={'hostname':_0x521d8e,'path':_0x244f2b[_0x2bc49d(0xd1)](_0x470684,_0x5df906),'method':_0xb21411,'headers':_0x2db401};return logger['debug']('['+TAG+_0x2bc49d(0xfc)+_0xb21411+'\x20request\x20to\x20'+_0x6b654c+'\x20with\x20headers:\x20'+JSON[_0x2bc49d(0xec)](_0x2db401)+'\x20and\x20data:\x20'+JSON['stringify'](_0x4cc125)+_0x2bc49d(0x114)+_0x42d8b3),new Promise((_0xe739f8,_0x22ae03)=>{const _0x120f84=_0x2bc49d,_0x570318={'AzrST':function(_0x5643aa,_0x5e5e4f){return _0x244f2b['VVAMC'](_0x5643aa,_0x5e5e4f);},'lVByB':_0x244f2b[_0x120f84(0x101)],'GHEKV':_0x244f2b[_0x120f84(0xcb)]},_0x524d71=https[_0x120f84(0xdb)](_0x575679,_0x1f39b8=>{const _0x262b81=_0x120f84,_0x578949={'sGAIx':function(_0x24eac7,_0x3c713c){return _0x570318['AzrST'](_0x24eac7,_0x3c713c);}};let _0x23e821='';_0x1f39b8['on'](_0x570318[_0x262b81(0xef)],_0x1be6d3=>{_0x23e821+=_0x1be6d3;}),_0x1f39b8['on'](_0x570318[_0x262b81(0xe7)],()=>{const _0x272fb9=_0x262b81;try{const _0x10c9b8=_0x23e821?JSON[_0x272fb9(0xda)](_0x23e821):{},_0x427bda={};_0x427bda[_0x272fb9(0x113)]=_0x1f39b8['statusCode'],_0x427bda[_0x272fb9(0xf1)]=_0x10c9b8,_0x427bda[_0x272fb9(0x116)]=_0x1f39b8[_0x272fb9(0x116)],_0x578949[_0x272fb9(0x112)](_0xe739f8,_0x427bda);}catch(_0x2b1f5f){logger[_0x272fb9(0x10b)]('['+TAG+_0x272fb9(0xc9)+_0x23e821+'\x20-\x20'+_0x2b1f5f[_0x272fb9(0xe1)]+'\x20'+_0x2b1f5f['stack']),_0x578949[_0x272fb9(0x112)](_0x22ae03,new Error(_0x272fb9(0x107)+_0x2b1f5f[_0x272fb9(0xe1)]));}});});_0x524d71['on'](_0x244f2b[_0x120f84(0xea)],_0x68cf88=>{const _0x2cd863=_0x120f84;logger[_0x2cd863(0x10b)]('['+TAG+']\x20Request\x20failed\x20for\x20'+_0xb21411+'\x20'+_0x6b654c+':\x20'+_0x68cf88[_0x2cd863(0xe1)]+'\x20'+_0x68cf88['stack']),_0x570318[_0x2cd863(0x110)](_0x22ae03,_0x68cf88);}),_0x4cc125&&(_0x244f2b['eOJnA'](_0xb21411,_0x244f2b[_0x120f84(0xf0)])||_0x244f2b[_0x120f84(0xd6)](_0xb21411,_0x244f2b[_0x120f84(0x10e)]))&&_0x524d71[_0x120f84(0xd2)](JSON[_0x120f84(0xec)](_0x4cc125)),_0x524d71[_0x120f84(0xd0)]();});}static async[a135_0x2c920c(0x104)](_0x444742){const _0x5cacaf=a135_0x2c920c,_0x18030e={};_0x18030e[_0x5cacaf(0xcc)]=_0x5cacaf(0x115),_0x18030e[_0x5cacaf(0xcd)]=function(_0x110c98,_0x11320c){return _0x110c98===_0x11320c;};const _0x2f6043=_0x18030e,_0x34dd7c=ORCHESTRATION_API_URL+'/'+SPLIT_TESTS_ENDPOINT;try{const _0x1b3016=await this['_request'](_0x2f6043[_0x5cacaf(0xcc)],_0x34dd7c,_0x444742);return _0x2f6043[_0x5cacaf(0xcd)](_0x1b3016[_0x5cacaf(0x113)],0xc8)?logger[_0x5cacaf(0x103)]('['+TAG+_0x5cacaf(0x106)+_0x34dd7c):logger[_0x5cacaf(0x10b)]('['+TAG+_0x5cacaf(0xeb)+_0x34dd7c+':\x20'+JSON[_0x5cacaf(0xec)](_0x1b3016[_0x5cacaf(0xf1)])+_0x5cacaf(0x100)+_0x1b3016[_0x5cacaf(0x113)]),_0x1b3016;}catch(_0x5ef344){logger[_0x5cacaf(0x10b)]('['+TAG+']\x20Error\x20in\x20putFailedTests:\x20'+_0x5ef344['message']+'\x20'+_0x5ef344[_0x5cacaf(0xdc)]);const _0xfd0c2b={};_0xfd0c2b[_0x5cacaf(0xe1)]=_0x5ef344[_0x5cacaf(0xe1)];const _0x4ec67d={};return _0x4ec67d[_0x5cacaf(0x113)]=0x1f4,_0x4ec67d[_0x5cacaf(0xf1)]=_0xfd0c2b,_0x4ec67d;}}static async[a135_0x2c920c(0xd7)](_0x28d1d3){const _0x56f530=a135_0x2c920c,_0x31ac6c={};_0x31ac6c['cTMUM']=_0x56f530(0xdf),_0x31ac6c[_0x56f530(0x105)]=function(_0x3364a2,_0x340720){return _0x3364a2===_0x340720;};const _0x1a1879=_0x31ac6c;try{const _0x190d74=await this[_0x56f530(0x10d)](_0x1a1879['cTMUM'],_0x28d1d3);if(_0x1a1879[_0x56f530(0x105)](_0x190d74['status'],0xc8))return _0x190d74[_0x56f530(0xf1)];return{};}catch(_0x151dcb){return logger[_0x56f530(0x10b)]('['+TAG+_0x56f530(0xf9)+_0x151dcb['message']+'\x20'+_0x151dcb[_0x56f530(0xdc)]),{};}}static async['putFailedTests'](_0xd78d65){const _0x277acb=a135_0x2c920c,_0x2dd0eb={};_0x2dd0eb[_0x277acb(0xe4)]=_0x277acb(0xce),_0x2dd0eb[_0x277acb(0xfb)]=function(_0x173079,_0x3d6068){return _0x173079===_0x3d6068;},_0x2dd0eb['vDRCO']='Test\x20added';const _0x193bcc=_0x2dd0eb,_0x4c5cb1=ORCHESTRATION_API_URL+'/'+FAILED_TESTS_ENDPOINT;try{const _0x167ea2=await this[_0x277acb(0x10d)](_0x193bcc[_0x277acb(0xe4)],_0x4c5cb1,_0xd78d65);if(_0x193bcc[_0x277acb(0xfb)](_0x167ea2[_0x277acb(0x113)],0xc8)&&_0x167ea2[_0x277acb(0xf1)]&&_0x193bcc[_0x277acb(0xfb)](_0x167ea2[_0x277acb(0xf1)][_0x277acb(0xe1)],_0x193bcc['vDRCO']))return!![];return![];}catch(_0x2184c3){logger[_0x277acb(0x10b)]('['+TAG+']\x20Error\x20in\x20putFailedTests:\x20'+_0x2184c3['message']+'\x20'+_0x2184c3[_0x277acb(0xdc)]);const _0x3dd6d0={};_0x3dd6d0[_0x277acb(0xe1)]=_0x2184c3[_0x277acb(0xe1)];const _0x3a2578={};return _0x3a2578['status']=0x1f4,_0x3a2578[_0x277acb(0xf1)]=_0x3dd6d0,_0x3a2578;}}static async[a135_0x2c920c(0x10a)](_0x372964){const _0x44181e=a135_0x2c920c,_0x1220b3={'htdjg':function(_0x535b45,_0xf23fdf){return _0x535b45||_0xf23fdf;},'Rzadc':_0x44181e(0xee),'oiruH':function(_0x21da4a,_0x27f243){return _0x21da4a(_0x27f243);},'DFsHP':function(_0x3d32cc,_0x1b3b97){return _0x3d32cc(_0x1b3b97);},'eQEeS':_0x44181e(0xdf),'krHdg':function(_0x5294ed,_0xfe44b2){return _0x5294ed===_0xfe44b2;},'XkzUi':function(_0x10f03b,_0x310a16){return _0x10f03b!==_0x310a16;},'XfUVO':_0x44181e(0xd4),'GmyyZ':function(_0x1ee42a,_0x252d9){return _0x1ee42a(_0x252d9);}},{buildName:_0x380a3f,buildRunIdentifier:_0x332ebe,projectName:_0x1d2087}=_0x372964;if(_0x1220b3[_0x44181e(0xde)](!_0x380a3f,!_0x332ebe)||!_0x1d2087){logger[_0x44181e(0x10b)]('['+TAG+_0x44181e(0xff)+_0x380a3f+_0x44181e(0x108)+_0x332ebe+_0x44181e(0xe0)+_0x1d2087);const _0x2eb999={};_0x2eb999['message']=_0x1220b3[_0x44181e(0xe6)];const _0x29d387={};return _0x29d387[_0x44181e(0x113)]=0x190,_0x29d387[_0x44181e(0xf1)]=_0x2eb999,_0x29d387;}const _0x1dec84=_0x44181e(0xca)+_0x1220b3[_0x44181e(0xfa)](encodeURIComponent,_0x380a3f)+'&buildRunIdentifier='+_0x1220b3[_0x44181e(0xfa)](encodeURIComponent,_0x332ebe)+_0x44181e(0x10c)+_0x1220b3[_0x44181e(0xf7)](encodeURIComponent,_0x1d2087),_0x29209f=ORCHESTRATION_API_URL+'/'+FAILED_TESTS_ENDPOINT+_0x1dec84;try{logger[_0x44181e(0x103)]('['+TAG+']\x20Sending\x20GET\x20to\x20'+_0x29209f);let _0x3b80d3=0x0;const _0x4cd929=await this[_0x44181e(0x10d)](_0x1220b3['eQEeS'],_0x29209f);return _0x1220b3[_0x44181e(0xdd)](_0x4cd929[_0x44181e(0x113)],0xc8)&&_0x4cd929['body']&&_0x1220b3[_0x44181e(0xf8)](typeof _0x4cd929[_0x44181e(0xf1)][_0x44181e(0xf4)],_0x1220b3['XfUVO'])&&(_0x3b80d3=_0x1220b3['GmyyZ'](Number,_0x4cd929[_0x44181e(0xf1)][_0x44181e(0xf4)])),_0x3b80d3;}catch(_0x46afa0){logger[_0x44181e(0x10b)]('['+TAG+']\x20Error\x20in\x20getFailedTestsCount:\x20'+_0x46afa0[_0x44181e(0xe1)]+'\x20'+_0x46afa0[_0x44181e(0xdc)]);const _0x1d9570={};_0x1d9570[_0x44181e(0xe1)]=_0x46afa0[_0x44181e(0xe1)];const _0x57baf4={};return _0x57baf4['status']=0x1f4,_0x57baf4[_0x44181e(0xf1)]=_0x1d9570,_0x57baf4;}}}module[a135_0x2c920c(0x111)]=RequestUtils;
@@ -1 +1 @@
1
- const a136_0x324de9=a136_0x285d;function a136_0xba8a(){const _0x30d6a0=['nWRCm','error','EOhbu','**/__tests__/**/*.[jt]s?(x)','eqleB','[reorderTestFiles]\x20Test\x20ordering\x20is\x20not\x20supported\x20or\x20enabled','sWzKR','oXPpE','relative','5|2|0|4|1|3','42642qHHXKm','yfniQ','testMatch','Error\x20finding\x20test\x20files:\x20','env','testPathIgnorePatterns','JjxEt','config','Test\x20orchestration\x20without\x20test\x20ordering','stringify','Hgrgu','testOrderingEnabled','filter','nCQoh','BROWSERSTACK_BUILD_RUN_IDENTIFIER','hKMnn','utf-8','1989968EmfwHR','splitTestsAPICallCount','isTestOrchestrationEnabled','getTestOrderingName','3QRKwsK','Filterted\x20to\x20test\x20files:\x20','331518UgqxGT','micromatch','isTestOrderingApplied','updateBuildIdentifier','BYdly','npx','Found\x20test\x20files:\x20','410bdIhPm','exports','HQZmp','350448llRYgQ','xuWwT','../helper','ALOeV','buildIdentifier','OeePH','toString','BROWSERSTACK_TOTAL_NODE_COUNT','downloadedTestFilesCount','--listTests','../logger','setTestOrderingApplied','jest','VRFne','36145bbDaPl','logTestOrderingChecks','1590WojSRB','hehPb','glob','getSplitTestsAPICallCount','jest-runner','info','length','mMWYY','stdout','_shouldLogTestOrderingChecks','nodeIndex','split','6540cXgdhD','ZukyT','testObservability','[orchestrate]\x20Setting\x20buildIdentifier\x20to\x20buildRunIdentifier:\x20','Test\x20orchestration\x20with\x20test\x20ordering\x20enabled','VrspT','xdzgS','2RROrby','aQDUv','KurAv','getOrderedTestFiles','isArray','tdvOM','./orchestrationUtils','BROWSERSTACK_NODE_INDEX','2649367pspgxx','jest-config','[reorderTestFiles]\x20Error\x20in\x20ordering\x20test\x20files:\x20','orderingInstrumentationData','ignore','reorderTestFiles','ErkUK','winstonLogger','ILoBa','jest-util','--config','path','uIcBo','orchestrationUtils','projectName','BxOrV','applied','urAFh','\x20files','child_process','debug','testOrderingServerHandler','testOrderingApplied','map','JqkKv','addToOrderingInstrumentationData','_initializeTestOrdering'];a136_0xba8a=function(){return _0x30d6a0;};return a136_0xba8a();}(function(_0x503246,_0x3c6fae){const _0x18a632=a136_0x285d,_0x1a6ce8=_0x503246();while(!![]){try{const _0x54ca41=-parseInt(_0x18a632(0x1b6))/0x1*(-parseInt(_0x18a632(0x1cb))/0x2)+parseInt(_0x18a632(0x19c))/0x3*(-parseInt(_0x18a632(0x1a8))/0x4)+parseInt(_0x18a632(0x1b8))/0x5*(-parseInt(_0x18a632(0x1c4))/0x6)+-parseInt(_0x18a632(0x162))/0x7+-parseInt(_0x18a632(0x198))/0x8+-parseInt(_0x18a632(0x187))/0x9+parseInt(_0x18a632(0x1a5))/0xa*(parseInt(_0x18a632(0x19e))/0xb);if(_0x54ca41===_0x3c6fae)break;else _0x1a6ce8['push'](_0x1a6ce8['shift']());}catch(_0x561f46){_0x1a6ce8['push'](_0x1a6ce8['shift']());}}}(a136_0xba8a,0x32326));const logger=require(a136_0x324de9(0x1b2))[a136_0x324de9(0x169)],{isUndefined,isNotUndefined,isTrueString,sanitizedFilePath}=require(a136_0x324de9(0x1aa)),TestOrderingServerHandler=require('./testOrderingServerHandler'),OrchestrationUtils=require(a136_0x324de9(0x160)),path=require(a136_0x324de9(0x16d)),{spawnSync}=require(a136_0x324de9(0x175)),micromatch=require(a136_0x324de9(0x19f)),fs=require('fs');class TestOrchestrationHandler{constructor(_0x2ca1e2){const _0x3b41a1=a136_0x324de9,_0x2ecd14={};_0x2ecd14['Cvnnl']=_0x3b41a1(0x186);const _0x179a34=_0x2ecd14,_0x3f6243=_0x179a34['Cvnnl'][_0x3b41a1(0x1c3)]('|');let _0x2cdfa7=0x0;while(!![]){switch(_0x3f6243[_0x2cdfa7++]){case'0':this[_0x3b41a1(0x178)]=![];continue;case'1':this[_0x3b41a1(0x16f)]=new OrchestrationUtils(_0x2ca1e2);continue;case'2':this[_0x3b41a1(0x165)]={};continue;case'3':this['_initializeTestOrdering']();continue;case'4':this[_0x3b41a1(0x177)]=null;continue;case'5':this[_0x3b41a1(0x18e)]=_0x2ca1e2;continue;}break;}}[a136_0x324de9(0x19a)](){const _0x966e90=a136_0x324de9,_0x2096e1={'aQDUv':function(_0x2bb5a8,_0x44992f){return _0x2bb5a8(_0x44992f);},'kHzPx':function(_0x3da929,_0x57ab01){return _0x3da929(_0x57ab01);},'JqkKv':function(_0x5611e2,_0x4cd81c){return _0x5611e2(_0x4cd81c);},'tdvOM':function(_0x3a19ab,_0x462b09){return _0x3a19ab(_0x462b09);},'urAFh':function(_0x43c4e7,_0x29a2af){return _0x43c4e7(_0x29a2af);},'HQZmp':function(_0x4feea7,_0x2e3469){return _0x4feea7&&_0x2e3469;}},_0x3f47ad=_0x2096e1[_0x966e90(0x1cc)](isNotUndefined,this[_0x966e90(0x18e)])&&(_0x2096e1['kHzPx'](isUndefined,this[_0x966e90(0x18e)][_0x966e90(0x1c6)])||_0x2096e1[_0x966e90(0x1cc)](isTrueString,this[_0x966e90(0x18e)][_0x966e90(0x1c6)])),_0x1a1c1b=this[_0x966e90(0x16f)][_0x966e90(0x192)](),_0x25b2b4=_0x2096e1[_0x966e90(0x17a)](isNotUndefined,this[_0x966e90(0x18e)])&&_0x2096e1[_0x966e90(0x15f)](isNotUndefined,this[_0x966e90(0x18e)][_0x966e90(0x170)]),_0x35072a=_0x2096e1[_0x966e90(0x1cc)](isNotUndefined,this[_0x966e90(0x18e)])&&_0x2096e1[_0x966e90(0x173)](isNotUndefined,this['config']['buildName']);return _0x2096e1[_0x966e90(0x1a7)](_0x3f47ad,_0x1a1c1b)&&_0x25b2b4&&_0x35072a;}[a136_0x324de9(0x17c)](){const _0x139520=a136_0x324de9,_0x4dc7ad={};_0x4dc7ad[_0x139520(0x188)]=_0x139520(0x1c8),_0x4dc7ad['KurAv']=_0x139520(0x18f);const _0x77c117=_0x4dc7ad;this[_0x139520(0x19a)]()?(this[_0x139520(0x177)]=new TestOrderingServerHandler(this[_0x139520(0x18e)]),logger[_0x139520(0x1bd)](_0x77c117[_0x139520(0x188)])):(logger[_0x139520(0x176)](_0x77c117[_0x139520(0x1cd)]),this[_0x139520(0x1b7)]());}['logTestOrderingChecks'](){const _0x3aae64=a136_0x324de9,_0x441a85={'eqleB':function(_0x5cf49d,_0x18f9ef){return _0x5cf49d(_0x18f9ef);},'nWRCm':function(_0x23456b,_0x517dd2){return _0x23456b(_0x517dd2);},'mMWYY':'Test\x20Reordering\x20is\x20unavailable\x20because\x20buildName\x20or\x20projectName\x20is\x20null.\x20Please\x20set\x20a\x20non-null\x20value.','ZukyT':function(_0x374388,_0x388997){return _0x374388(_0x388997);},'FQcxO':'Test\x20Reordering\x20is\x20unavailable\x20because\x20testReporting\x20is\x20disabled.\x20Please\x20enable\x20it\x20from\x20browserstack.yml\x20file.'};if(!this['_shouldLogTestOrderingChecks']())return;(!_0x441a85['eqleB'](isNotUndefined,this[_0x3aae64(0x18e)])||!_0x441a85['nWRCm'](isNotUndefined,this[_0x3aae64(0x18e)]['buildName'])||!_0x441a85[_0x3aae64(0x17d)](isNotUndefined,this['config'][_0x3aae64(0x170)]))&&logger[_0x3aae64(0x1bd)](_0x441a85[_0x3aae64(0x1bf)]),_0x441a85[_0x3aae64(0x181)](isNotUndefined,this[_0x3aae64(0x18e)])&&_0x441a85[_0x3aae64(0x17d)](isNotUndefined,this[_0x3aae64(0x18e)][_0x3aae64(0x1c6)])&&!_0x441a85[_0x3aae64(0x1c5)](isTrueString,this[_0x3aae64(0x18e)]['testObservability'])&&logger[_0x3aae64(0x1bd)](_0x441a85['FQcxO']);}[a136_0x324de9(0x1c1)](){const _0x59ce26=a136_0x324de9;return!this[_0x59ce26(0x19a)]()&&this['orchestrationUtils'][_0x59ce26(0x192)]();}[a136_0x324de9(0x1a0)](){return this['testOrderingApplied'];}[a136_0x324de9(0x1b3)](_0x1e090b){const _0x58a7c7=a136_0x324de9,_0x82889={};_0x82889[_0x58a7c7(0x1b5)]=_0x58a7c7(0x172);const _0x214d92=_0x82889;this['testOrderingApplied']=_0x1e090b,this[_0x58a7c7(0x17b)](_0x214d92[_0x58a7c7(0x1b5)],_0x1e090b);}[a136_0x324de9(0x17b)](_0x4ea9e1,_0x2a30ab){const _0x2f297b=a136_0x324de9;this[_0x2f297b(0x165)][_0x4ea9e1]=_0x2a30ab;}['getOrderingInstrumentationData'](){const _0x3e8385=a136_0x324de9;return this[_0x3e8385(0x165)];}[a136_0x324de9(0x1a1)](){const _0x2a731d=a136_0x324de9,_0x173682={'Hgrgu':function(_0x34bc1c,_0x2e5908){return _0x34bc1c(_0x2e5908);},'OeePH':function(_0xaf5a89,_0x1278e1){return _0xaf5a89>_0x1278e1;}},_0x9bd206=_0x173682[_0x2a731d(0x191)](parseInt,process[_0x2a731d(0x18b)]['BROWSERSTACK_TOTAL_NODE_COUNT']||'1'),_0x3a9b86=process[_0x2a731d(0x18b)][_0x2a731d(0x195)];_0x3a9b86&&_0x173682[_0x2a731d(0x1ad)](_0x9bd206,0x1)&&(logger[_0x2a731d(0x176)](_0x2a731d(0x1c7)+_0x3a9b86),this[_0x2a731d(0x18e)][_0x2a731d(0x1ac)]=_0x3a9b86);}async[a136_0x324de9(0x167)](_0x39f73b){const _0x1721a1=a136_0x324de9,_0x57e84d={'wBdbV':function(_0xd8062b,_0x1c1b2e){return _0xd8062b===_0x1c1b2e;},'hehPb':_0x1721a1(0x182),'EOhbu':function(_0x280df2,_0x543140){return _0x280df2===_0x543140;},'BxOrV':function(_0x4e6c13,_0x5e448c){return _0x4e6c13(_0x5e448c);},'xdzgS':'uploadedTestFilesCount','soXMf':_0x1721a1(0x1c2),'FFgNZ':'totalNodes','aUZUt':_0x1721a1(0x1b0),'ErkUK':_0x1721a1(0x199)};try{if(!_0x39f73b||!Array[_0x1721a1(0x15e)](_0x39f73b)||_0x57e84d['wBdbV'](_0x39f73b['length'],0x0))return null;if(_0x57e84d['wBdbV'](this[_0x1721a1(0x19a)](),![]))return logger[_0x1721a1(0x176)](_0x57e84d[_0x1721a1(0x1b9)]),null;let _0x50dd08=null;const _0x26fcb4=this[_0x1721a1(0x16f)][_0x1721a1(0x19b)]();if(this[_0x1721a1(0x177)]){const _0x271e1c=await this[_0x1721a1(0x177)]['splitTests'](_0x39f73b,_0x26fcb4);if(!_0x271e1c)return null;_0x50dd08=await this[_0x1721a1(0x177)][_0x1721a1(0x15d)](_0x271e1c);}if(!_0x50dd08||!Array['isArray'](_0x50dd08)||_0x57e84d[_0x1721a1(0x17f)](_0x50dd08[_0x1721a1(0x1be)],0x0))return null;const _0x298e54=_0x57e84d['BxOrV'](parseInt,process['env'][_0x1721a1(0x161)]||'0'),_0x102f72=_0x57e84d[_0x1721a1(0x171)](parseInt,process[_0x1721a1(0x18b)][_0x1721a1(0x1af)]||'1');return this[_0x1721a1(0x17b)](_0x57e84d[_0x1721a1(0x1ca)],_0x39f73b[_0x1721a1(0x1be)]),this[_0x1721a1(0x17b)](_0x57e84d['soXMf'],_0x298e54),this[_0x1721a1(0x17b)](_0x57e84d['FFgNZ'],_0x102f72),this['addToOrderingInstrumentationData'](_0x57e84d['aUZUt'],_0x50dd08[_0x1721a1(0x1be)]),this[_0x1721a1(0x17b)](_0x57e84d[_0x1721a1(0x168)],this['testOrderingServerHandler']?this[_0x1721a1(0x177)][_0x1721a1(0x1bb)]():0x0),_0x50dd08[_0x1721a1(0x179)](_0x12ff67=>sanitizedFilePath(_0x12ff67));}catch(_0x5999dc){return logger[_0x1721a1(0x176)](_0x1721a1(0x164)+(_0x5999dc['stack']||_0x5999dc[_0x1721a1(0x1ae)]())),null;}}async['findTestFiles'](_0x1340ff,_0x1e55d1,_0x3ee8a9){const _0x2031f5=a136_0x324de9,_0x388434={'ILoBa':function(_0x4a8872,_0x40b728){return _0x4a8872(_0x40b728);},'oXPpE':_0x2031f5(0x163),'BYdly':function(_0x4d2cad,_0x23c4dd){return _0x4d2cad(_0x23c4dd);},'onHKO':_0x2031f5(0x16b),'JjxEt':function(_0x5e2a6c,_0x64672e){return _0x5e2a6c(_0x64672e);},'uIcBo':_0x2031f5(0x1bc),'wHVOr':_0x2031f5(0x1ba),'iTEQb':_0x2031f5(0x180),'hKMnn':'**/?(*.)+(spec|test).[jt]s?(x)','VrspT':function(_0x351d31,_0x5931ce,_0x19bfb7,_0x4874d1){return _0x351d31(_0x5931ce,_0x19bfb7,_0x4874d1);},'sWzKR':_0x2031f5(0x1a3),'ALOeV':_0x2031f5(0x1b4),'xuWwT':_0x2031f5(0x16c),'nCQoh':_0x2031f5(0x1b1),'XbldU':_0x2031f5(0x197)};try{const {getTestPathPatterns:_0x26141b}=_0x388434[_0x2031f5(0x16a)](require,_0x388434[_0x2031f5(0x184)]),{globsToMatcher:_0x129e6b}=_0x388434['BYdly'](require,_0x388434['onHKO']),{findRelatedTests:_0x1294ea}=_0x388434[_0x2031f5(0x18d)](require,_0x388434[_0x2031f5(0x16e)]),_0x52ef94=_0x388434[_0x2031f5(0x1a2)](require,_0x388434['wHVOr']),_0x1199d9=_0x1340ff[_0x2031f5(0x189)]||[_0x388434['iTEQb'],_0x388434[_0x2031f5(0x196)]],_0x85698e=_0x1340ff[_0x2031f5(0x18c)]||[],_0x53f1d9=_0x388434[_0x2031f5(0x1c9)](spawnSync,_0x388434[_0x2031f5(0x183)],[_0x388434[_0x2031f5(0x1ab)],_0x388434[_0x2031f5(0x1a9)],_0x3ee8a9,..._0x1e55d1,_0x388434[_0x2031f5(0x194)]],{'encoding':_0x388434['XbldU']});let _0x394c6e=[];!_0x53f1d9[_0x2031f5(0x17e)]&&(_0x394c6e=_0x53f1d9[_0x2031f5(0x1c0)][_0x2031f5(0x1c3)]('\x0a')[_0x2031f5(0x193)](Boolean));logger[_0x2031f5(0x176)](_0x2031f5(0x1a4)+JSON[_0x2031f5(0x190)](_0x394c6e)+_0x2031f5(0x174));const _0x258f19={};_0x258f19['matchBase']=!![],_0x258f19[_0x2031f5(0x166)]=_0x85698e;const _0x3e0172=_0x388434[_0x2031f5(0x1c9)](micromatch,_0x394c6e,_0x1199d9,_0x258f19)['map'](_0x286446=>path[_0x2031f5(0x185)](_0x1340ff['rootDir'],_0x286446));return logger['debug'](_0x2031f5(0x19d)+JSON[_0x2031f5(0x190)](_0x3e0172)+'\x20files'),_0x3e0172;}catch(_0x4df73e){return logger[_0x2031f5(0x176)](_0x2031f5(0x18a)+_0x4df73e),[];}}}function a136_0x285d(_0x32ade9,_0x286b6d){const _0xba8a7=a136_0xba8a();return a136_0x285d=function(_0x285d35,_0x26bd3b){_0x285d35=_0x285d35-0x15d;let _0x339bbe=_0xba8a7[_0x285d35];return _0x339bbe;},a136_0x285d(_0x32ade9,_0x286b6d);}module[a136_0x324de9(0x1a6)]=TestOrchestrationHandler;
1
+ const a136_0xff1406=a136_0x2362;(function(_0x1ce588,_0x295879){const _0x580bfe=a136_0x2362,_0x140f79=_0x1ce588();while(!![]){try{const _0x9e2b4a=-parseInt(_0x580bfe(0xe9))/0x1*(-parseInt(_0x580bfe(0xe1))/0x2)+parseInt(_0x580bfe(0x10d))/0x3*(parseInt(_0x580bfe(0xbc))/0x4)+parseInt(_0x580bfe(0xe6))/0x5*(parseInt(_0x580bfe(0xff))/0x6)+parseInt(_0x580bfe(0xc2))/0x7+-parseInt(_0x580bfe(0xcf))/0x8+-parseInt(_0x580bfe(0x119))/0x9+-parseInt(_0x580bfe(0xb7))/0xa;if(_0x9e2b4a===_0x295879)break;else _0x140f79['push'](_0x140f79['shift']());}catch(_0x520284){_0x140f79['push'](_0x140f79['shift']());}}}(a136_0xead2,0x5ef7b));function a136_0x2362(_0x277833,_0x4228b7){const _0xead265=a136_0xead2();return a136_0x2362=function(_0x2362af,_0x1354f4){_0x2362af=_0x2362af-0xb0;let _0x16edfb=_0xead265[_0x2362af];return _0x16edfb;},a136_0x2362(_0x277833,_0x4228b7);}const logger=require(a136_0xff1406(0xef))[a136_0xff1406(0xed)],{isUndefined,isNotUndefined,isTrueString,sanitizedFilePath}=require(a136_0xff1406(0x10f)),TestOrderingServerHandler=require(a136_0xff1406(0x100)),OrchestrationUtils=require(a136_0xff1406(0x111)),path=require(a136_0xff1406(0xc1)),{spawnSync}=require(a136_0xff1406(0xe4)),micromatch=require('micromatch'),fs=require('fs');function a136_0xead2(){const _0x4c18bb=['testOrderingServerHandler','dFoMK','FiZaf','BROWSERSTACK_NODE_INDEX','ignore','pzZWV','stack','getTestOrderingName','addToOrderingInstrumentationData','filter','3822488JWboTc','debug','FwZdW','--listTests','OaDQJ','glob','rootDir','orderingInstrumentationData','stringify','buildName','nodeIndex','kSXEW','tVQYv','Error\x20finding\x20test\x20files:\x20','buildIdentifier','projectName','Found\x20test\x20files:\x20','ibAbO','22YYYkHY','Test\x20orchestration\x20without\x20test\x20ordering','testOrderingEnabled','child_process','--config','5uYtKcI','LehLG','relative','59417iLVbYP','getOrderedTestFiles','esmSx','dAXgu','winstonLogger','uploadedTestFilesCount','../logger','wVdsa','isArray','_shouldLogTestOrderingChecks','KDGgG','isTestOrchestrationEnabled','MVjXm','matchBase','[reorderTestFiles]\x20Error\x20in\x20ordering\x20test\x20files:\x20','lekCj','info','findTestFiles','PYoqi','WcLzO','ZkNHz','jest','1929462fgNIVk','./testOrderingServerHandler','stdout','applied','testObservability','bdrld','_initializeTestOrdering','env','updateBuildIdentifier','reorderTestFiles','Filterted\x20to\x20test\x20files:\x20','jest-util','[orchestrate]\x20Setting\x20buildIdentifier\x20to\x20buildRunIdentifier:\x20','mqbZq','3lbTCOv','length','../helper','totalNodes','./orchestrationUtils','jest-runner','[reorderTestFiles]\x20Test\x20ordering\x20is\x20not\x20supported\x20or\x20enabled','split','logTestOrderingChecks','KUFFx','testMatch','BROWSERSTACK_BUILD_RUN_IDENTIFIER','106218WJVZwE','\x20files','splitTests','npx','config','downloadedTestFilesCount','BROWSERSTACK_TOTAL_NODE_COUNT','Test\x20Reordering\x20is\x20unavailable\x20because\x20testReporting\x20is\x20disabled.\x20Please\x20enable\x20it\x20from\x20browserstack.yml\x20file.','map','isTestOrderingApplied','exports','ASHCP','**/?(*.)+(spec|test).[jt]s?(x)','TAnCL','testOrderingApplied','SdbMS','splitTestsAPICallCount','2539230ysFBYr','BevqD','OInlJ','utf-8','Test\x20orchestration\x20with\x20test\x20ordering\x20enabled','74764MpkJfG','ZuCSK','orchestrationUtils','tIjfG','OnzOF','path','970676kVtZTB','NBmaR','getSplitTestsAPICallCount'];a136_0xead2=function(){return _0x4c18bb;};return a136_0xead2();}class TestOrchestrationHandler{constructor(_0x3f7f05){const _0x47f22a=a136_0xff1406,_0x306a2a={};_0x306a2a[_0x47f22a(0xc7)]='2|0|3|1|5|4';const _0x314305=_0x306a2a,_0x5dc703=_0x314305['FiZaf'][_0x47f22a(0x114)]('|');let _0x431cfc=0x0;while(!![]){switch(_0x5dc703[_0x431cfc++]){case'0':this[_0x47f22a(0xd6)]={};continue;case'1':this[_0x47f22a(0xc5)]=null;continue;case'2':this[_0x47f22a(0x11d)]=_0x3f7f05;continue;case'3':this[_0x47f22a(0xb4)]=![];continue;case'4':this[_0x47f22a(0x105)]();continue;case'5':this['orchestrationUtils']=new OrchestrationUtils(_0x3f7f05);continue;}break;}}[a136_0xff1406(0xf4)](){const _0x5a29ec=a136_0xff1406,_0x50977a={'fRZFP':function(_0x482a8b,_0x171e4f){return _0x482a8b(_0x171e4f);},'NBmaR':function(_0x266657,_0x533ef8){return _0x266657(_0x533ef8);},'SdbMS':function(_0x1e2f5a,_0x19ca34){return _0x1e2f5a(_0x19ca34);},'ZuCSK':function(_0x5f376d,_0x4b5742){return _0x5f376d(_0x4b5742);},'Cgqfi':function(_0x1a5d50,_0x522117){return _0x1a5d50&&_0x522117;}},_0x528002=_0x50977a['fRZFP'](isNotUndefined,this[_0x5a29ec(0x11d)])&&(_0x50977a[_0x5a29ec(0xc3)](isUndefined,this[_0x5a29ec(0x11d)][_0x5a29ec(0x103)])||_0x50977a['SdbMS'](isTrueString,this[_0x5a29ec(0x11d)][_0x5a29ec(0x103)])),_0x1be500=this[_0x5a29ec(0xbe)][_0x5a29ec(0xe3)](),_0x522f49=_0x50977a[_0x5a29ec(0xb5)](isNotUndefined,this[_0x5a29ec(0x11d)])&&_0x50977a['fRZFP'](isNotUndefined,this[_0x5a29ec(0x11d)][_0x5a29ec(0xde)]),_0x1765cc=_0x50977a[_0x5a29ec(0xc3)](isNotUndefined,this[_0x5a29ec(0x11d)])&&_0x50977a[_0x5a29ec(0xbd)](isNotUndefined,this['config'][_0x5a29ec(0xd8)]);return _0x50977a['Cgqfi'](_0x528002,_0x1be500)&&_0x522f49&&_0x1765cc;}['_initializeTestOrdering'](){const _0x49db68=a136_0xff1406,_0x37415a={};_0x37415a[_0x49db68(0x116)]=_0x49db68(0xbb),_0x37415a[_0x49db68(0xda)]=_0x49db68(0xe2);const _0x1118f3=_0x37415a;this[_0x49db68(0xf4)]()?(this[_0x49db68(0xc5)]=new TestOrderingServerHandler(this['config']),logger[_0x49db68(0xf9)](_0x1118f3[_0x49db68(0x116)])):(logger[_0x49db68(0xd0)](_0x1118f3[_0x49db68(0xda)]),this[_0x49db68(0x115)]());}['logTestOrderingChecks'](){const _0x18a806=a136_0xff1406,_0x1906c5={'dFoMK':function(_0x256389,_0x1d279b){return _0x256389(_0x1d279b);},'dZzwm':'Test\x20Reordering\x20is\x20unavailable\x20because\x20buildName\x20or\x20projectName\x20is\x20null.\x20Please\x20set\x20a\x20non-null\x20value.','mqbZq':function(_0x1aacce,_0x28c36a){return _0x1aacce(_0x28c36a);},'LehLG':_0x18a806(0x120)};if(!this[_0x18a806(0xf2)]())return;(!_0x1906c5[_0x18a806(0xc6)](isNotUndefined,this[_0x18a806(0x11d)])||!_0x1906c5[_0x18a806(0xc6)](isNotUndefined,this[_0x18a806(0x11d)]['buildName'])||!_0x1906c5[_0x18a806(0xc6)](isNotUndefined,this[_0x18a806(0x11d)][_0x18a806(0xde)]))&&logger[_0x18a806(0xf9)](_0x1906c5['dZzwm']),_0x1906c5[_0x18a806(0xc6)](isNotUndefined,this['config'])&&_0x1906c5['dFoMK'](isNotUndefined,this['config']['testObservability'])&&!_0x1906c5[_0x18a806(0x10c)](isTrueString,this[_0x18a806(0x11d)][_0x18a806(0x103)])&&logger[_0x18a806(0xf9)](_0x1906c5[_0x18a806(0xe7)]);}[a136_0xff1406(0xf2)](){const _0xd5dfd=a136_0xff1406;return!this[_0xd5dfd(0xf4)]()&&this[_0xd5dfd(0xbe)][_0xd5dfd(0xe3)]();}[a136_0xff1406(0x122)](){const _0x2c4c9b=a136_0xff1406;return this[_0x2c4c9b(0xb4)];}['setTestOrderingApplied'](_0x532747){const _0x2289ae=a136_0xff1406,_0x447f77={};_0x447f77[_0x2289ae(0x104)]=_0x2289ae(0x102);const _0x5bafb1=_0x447f77;this[_0x2289ae(0xb4)]=_0x532747,this['addToOrderingInstrumentationData'](_0x5bafb1[_0x2289ae(0x104)],_0x532747);}[a136_0xff1406(0xcd)](_0x3018ce,_0x21829b){const _0x205884=a136_0xff1406;this[_0x205884(0xd6)][_0x3018ce]=_0x21829b;}['getOrderingInstrumentationData'](){const _0x3e5426=a136_0xff1406;return this[_0x3e5426(0xd6)];}[a136_0xff1406(0x107)](){const _0x4efc09=a136_0xff1406,_0x4cab0a={'ORBZP':function(_0x3178d4,_0x5f2368){return _0x3178d4(_0x5f2368);},'zRtvr':function(_0x2852f2,_0x26a591){return _0x2852f2>_0x26a591;}},_0x131369=_0x4cab0a['ORBZP'](parseInt,process[_0x4efc09(0x106)][_0x4efc09(0x11f)]||'1'),_0x3dc9ea=process[_0x4efc09(0x106)][_0x4efc09(0x118)];_0x3dc9ea&&_0x4cab0a['zRtvr'](_0x131369,0x1)&&(logger[_0x4efc09(0xd0)](_0x4efc09(0x10b)+_0x3dc9ea),this[_0x4efc09(0x11d)][_0x4efc09(0xdd)]=_0x3dc9ea);}async[a136_0xff1406(0x108)](_0x280d87){const _0x5c0bce=a136_0xff1406,_0x338fd2={'wVdsa':function(_0x4b1449,_0x49bff9){return _0x4b1449===_0x49bff9;},'lekCj':_0x5c0bce(0x113),'BevqD':function(_0x382b10,_0x2446a7){return _0x382b10(_0x2446a7);},'OInlJ':_0x5c0bce(0xee),'tIjfG':_0x5c0bce(0xd9),'OaDQJ':_0x5c0bce(0x110),'OnzOF':_0x5c0bce(0x11e),'KDGgG':_0x5c0bce(0xb6)};try{if(!_0x280d87||!Array[_0x5c0bce(0xf1)](_0x280d87)||_0x338fd2['wVdsa'](_0x280d87[_0x5c0bce(0x10e)],0x0))return null;if(_0x338fd2[_0x5c0bce(0xf0)](this['isTestOrchestrationEnabled'](),![]))return logger[_0x5c0bce(0xd0)](_0x338fd2[_0x5c0bce(0xf8)]),null;let _0x5ba734=null;const _0x1b767f=this[_0x5c0bce(0xbe)][_0x5c0bce(0xcc)]();if(this[_0x5c0bce(0xc5)]){const _0x1586f3=await this[_0x5c0bce(0xc5)][_0x5c0bce(0x11b)](_0x280d87,_0x1b767f);if(!_0x1586f3)return null;_0x5ba734=await this[_0x5c0bce(0xc5)][_0x5c0bce(0xea)](_0x1586f3);}if(!_0x5ba734||!Array[_0x5c0bce(0xf1)](_0x5ba734)||_0x338fd2['wVdsa'](_0x5ba734[_0x5c0bce(0x10e)],0x0))return null;const _0x52ddeb=_0x338fd2[_0x5c0bce(0xb8)](parseInt,process['env'][_0x5c0bce(0xc8)]||'0'),_0x4714fc=_0x338fd2[_0x5c0bce(0xb8)](parseInt,process['env'][_0x5c0bce(0x11f)]||'1');return this[_0x5c0bce(0xcd)](_0x338fd2[_0x5c0bce(0xb9)],_0x280d87[_0x5c0bce(0x10e)]),this[_0x5c0bce(0xcd)](_0x338fd2[_0x5c0bce(0xbf)],_0x52ddeb),this[_0x5c0bce(0xcd)](_0x338fd2[_0x5c0bce(0xd3)],_0x4714fc),this['addToOrderingInstrumentationData'](_0x338fd2[_0x5c0bce(0xc0)],_0x5ba734[_0x5c0bce(0x10e)]),this[_0x5c0bce(0xcd)](_0x338fd2[_0x5c0bce(0xf3)],this[_0x5c0bce(0xc5)]?this[_0x5c0bce(0xc5)][_0x5c0bce(0xc4)]():0x0),_0x5ba734[_0x5c0bce(0x121)](_0x296642=>sanitizedFilePath(_0x296642));}catch(_0x14f7f8){return logger[_0x5c0bce(0xd0)](_0x5c0bce(0xf7)+(_0x14f7f8[_0x5c0bce(0xcb)]||_0x14f7f8['toString']())),null;}}async[a136_0xff1406(0xfa)](_0x30b9f3,_0x107e55,_0x1d91f1){const _0x9f307b=a136_0xff1406,_0x22aa5c={'WcLzO':function(_0x304ff5,_0x1941db){return _0x304ff5(_0x1941db);},'UGzPg':'jest-config','tVQYv':function(_0x3ac678,_0x2dbab5){return _0x3ac678(_0x2dbab5);},'MVjXm':_0x9f307b(0x10a),'ZkNHz':function(_0x519ff0,_0x4caaae){return _0x519ff0(_0x4caaae);},'RIsMI':_0x9f307b(0x112),'esmSx':function(_0x2510b9,_0x306d2f){return _0x2510b9(_0x306d2f);},'PYoqi':_0x9f307b(0xd4),'FwZdW':'**/__tests__/**/*.[jt]s?(x)','dAXgu':_0x9f307b(0xb2),'pzZWV':function(_0x3dda97,_0x353bdd,_0x3633ea,_0x4597a2){return _0x3dda97(_0x353bdd,_0x3633ea,_0x4597a2);},'fMcsd':_0x9f307b(0x11c),'ASHCP':_0x9f307b(0xfe),'ibAbO':_0x9f307b(0xe5),'TAnCL':_0x9f307b(0xd2),'gFNUS':_0x9f307b(0xba),'YfqzL':function(_0x1b2413,_0x477dff,_0x18cf76,_0x19914d){return _0x1b2413(_0x477dff,_0x18cf76,_0x19914d);}};try{const {getTestPathPatterns:_0x1bdf19}=_0x22aa5c[_0x9f307b(0xfc)](require,_0x22aa5c['UGzPg']),{globsToMatcher:_0x552d52}=_0x22aa5c[_0x9f307b(0xdb)](require,_0x22aa5c[_0x9f307b(0xf5)]),{findRelatedTests:_0x2db782}=_0x22aa5c[_0x9f307b(0xfd)](require,_0x22aa5c['RIsMI']),_0x193481=_0x22aa5c[_0x9f307b(0xeb)](require,_0x22aa5c[_0x9f307b(0xfb)]),_0x3a8ee0=_0x30b9f3[_0x9f307b(0x117)]||[_0x22aa5c[_0x9f307b(0xd1)],_0x22aa5c[_0x9f307b(0xec)]],_0x5f4691=_0x30b9f3['testPathIgnorePatterns']||[],_0x32f2e5=_0x22aa5c[_0x9f307b(0xca)](spawnSync,_0x22aa5c['fMcsd'],[_0x22aa5c[_0x9f307b(0xb1)],_0x22aa5c[_0x9f307b(0xe0)],_0x1d91f1,..._0x107e55,_0x22aa5c[_0x9f307b(0xb3)]],{'encoding':_0x22aa5c['gFNUS']});let _0x51ae23=[];!_0x32f2e5['error']&&(_0x51ae23=_0x32f2e5[_0x9f307b(0x101)][_0x9f307b(0x114)]('\x0a')[_0x9f307b(0xce)](Boolean));logger['debug'](_0x9f307b(0xdf)+JSON[_0x9f307b(0xd7)](_0x51ae23)+_0x9f307b(0x11a));const _0x196816={};_0x196816[_0x9f307b(0xf6)]=!![],_0x196816[_0x9f307b(0xc9)]=_0x5f4691;const _0x441307=_0x22aa5c['YfqzL'](micromatch,_0x51ae23,_0x3a8ee0,_0x196816)[_0x9f307b(0x121)](_0x4e1dd8=>path[_0x9f307b(0xe8)](_0x30b9f3[_0x9f307b(0xd5)],_0x4e1dd8));return logger[_0x9f307b(0xd0)](_0x9f307b(0x109)+JSON[_0x9f307b(0xd7)](_0x441307)+_0x9f307b(0x11a)),_0x441307;}catch(_0x3e5f53){return logger[_0x9f307b(0xd0)](_0x9f307b(0xdc)+_0x3e5f53),[];}}}module[a136_0xff1406(0xb0)]=TestOrchestrationHandler;
@@ -1 +1 @@
1
- function a137_0x1bc6(_0x152720,_0x381c2c){const _0x2deaf1=a137_0x2dea();return a137_0x1bc6=function(_0x1bc6dd,_0x44cb10){_0x1bc6dd=_0x1bc6dd-0x1e0;let _0x531a6a=_0x2deaf1[_0x1bc6dd];return _0x531a6a;},a137_0x1bc6(_0x152720,_0x381c2c);}const a137_0x159afc=a137_0x1bc6;(function(_0x3d9497,_0x29d4fc){const _0x16b246=a137_0x1bc6,_0x373b3c=_0x3d9497();while(!![]){try{const _0x1e969d=parseInt(_0x16b246(0x21f))/0x1*(parseInt(_0x16b246(0x1f9))/0x2)+-parseInt(_0x16b246(0x204))/0x3+-parseInt(_0x16b246(0x20f))/0x4*(-parseInt(_0x16b246(0x218))/0x5)+parseInt(_0x16b246(0x1f8))/0x6*(-parseInt(_0x16b246(0x1ea))/0x7)+-parseInt(_0x16b246(0x214))/0x8*(-parseInt(_0x16b246(0x1ff))/0x9)+-parseInt(_0x16b246(0x216))/0xa+parseInt(_0x16b246(0x1f3))/0xb;if(_0x1e969d===_0x29d4fc)break;else _0x373b3c['push'](_0x373b3c['shift']());}catch(_0x38bd75){_0x373b3c['push'](_0x373b3c['shift']());}}}(a137_0x2dea,0x9bc58));const logger=require(a137_0x159afc(0x20e))['winstonLogger'],RequestUtils=require(a137_0x159afc(0x210));class TestOrderingServerHandler{constructor(_0x5b30f3){const _0x4604dc=a137_0x159afc;this[_0x4604dc(0x207)]=_0x5b30f3,this['splitTestsAPICallCount']=0x0,this['defaultTimeout']=0x3c,this[_0x4604dc(0x1e8)]=0x5;}[a137_0x159afc(0x1ec)](){const _0x2514c7=a137_0x159afc;return this[_0x2514c7(0x1f7)];}['processSplitTestsResponse'](_0xc54ae1){const _0x11c141=a137_0x159afc,_0x3a0d58={};_0x3a0d58['siCea']='[processSplitTestsResponse]\x20Received\x20null\x20value(s)\x20for\x20some\x20attributes\x20in\x20split\x20tests\x20API\x20response';const _0x13a25f=_0x3a0d58;if(!_0xc54ae1)return null;const _0x33bf7a={};return _0x33bf7a['timeout']=_0xc54ae1['timeout']||this[_0x11c141(0x1ef)],_0x33bf7a[_0x11c141(0x1f1)]=_0xc54ae1[_0x11c141(0x1f1)]||this[_0x11c141(0x1e8)],_0x33bf7a['resultUrl']=_0xc54ae1['resultUrl'],_0x33bf7a['timeoutUrl']=_0xc54ae1[_0x11c141(0x21b)],logger[_0x11c141(0x1fe)](_0x11c141(0x1e7)+JSON[_0x11c141(0x1e2)](_0xc54ae1)),logger['debug'](_0x11c141(0x21c)+_0xc54ae1[_0x11c141(0x1ed)]+_0x11c141(0x21a)+_0xc54ae1[_0x11c141(0x1f1)]+_0x11c141(0x1e5)+_0xc54ae1[_0x11c141(0x21d)]+_0x11c141(0x21e)+_0xc54ae1['timeoutUrl']),(!_0xc54ae1[_0x11c141(0x1ed)]||!_0xc54ae1[_0x11c141(0x1f1)]||!_0xc54ae1[_0x11c141(0x21b)]||!_0xc54ae1[_0x11c141(0x21d)])&&logger['debug'](_0x13a25f[_0x11c141(0x221)]),_0x33bf7a;}async[a137_0x159afc(0x1e4)](_0x13edad,_0x3b0892){const _0x14318a=a137_0x159afc,_0x18f2ab={'QlycU':function(_0x4036eb,_0x1f8a2b){return _0x4036eb(_0x1f8a2b);}};try{const _0x493176=_0x18f2ab[_0x14318a(0x20c)](parseInt,process[_0x14318a(0x20a)][_0x14318a(0x200)]||'0'),_0x2fb11a=_0x18f2ab[_0x14318a(0x20c)](parseInt,process[_0x14318a(0x20a)][_0x14318a(0x220)]||'1'),_0x54beb9=process['env']['BROWSERSTACK_BUILD_RUN_IDENTIFIER'],_0x5094fd={'nodeIndex':_0x493176,'totalNodes':_0x2fb11a,'projectName':this['config']['projectName'],'buildName':this[_0x14318a(0x207)][_0x14318a(0x1f5)],'buildRunIdentifier':_0x54beb9,'orchestrationStrategy':_0x3b0892,'hostInfo':this[_0x14318a(0x206)](),'tests':_0x13edad[_0x14318a(0x1e9)](_0x33dfec=>({'filePath':_0x33dfec}))},_0x35ad28=await RequestUtils[_0x14318a(0x1e0)](_0x5094fd);return logger[_0x14318a(0x1fe)](_0x14318a(0x203)+JSON['stringify'](_0x35ad28)),this['splitTestsAPICallCount']+=0x1,this['processSplitTestsResponse'](_0x35ad28[_0x14318a(0x222)]||{});}catch(_0x200627){return logger[_0x14318a(0x1fe)]('[splitTests]\x20Exception\x20in\x20sending\x20test\x20files:\x20'+(_0x200627[_0x14318a(0x1fd)]||_0x200627[_0x14318a(0x1f6)]())),null;}}async[a137_0x159afc(0x20d)](_0x48542d){const _0x39f9eb=a137_0x159afc,_0x336d91={};_0x336d91['kdXDi']=_0x39f9eb(0x208),_0x336d91[_0x39f9eb(0x1e1)]=function(_0x6520b9,_0x1b485b){return _0x6520b9*_0x1b485b;},_0x336d91[_0x39f9eb(0x213)]=function(_0x128ffe,_0x594c00){return _0x128ffe&&_0x594c00;},_0x336d91[_0x39f9eb(0x212)]=function(_0x903f4d,_0x29aed7){return _0x903f4d<_0x29aed7;},_0x336d91[_0x39f9eb(0x1e3)]=function(_0x501cf9,_0x1949b9){return _0x501cf9-_0x1949b9;},_0x336d91[_0x39f9eb(0x1ee)]=_0x39f9eb(0x205),_0x336d91[_0x39f9eb(0x1f0)]=function(_0x59a4c2,_0x51cc95){return _0x59a4c2>_0x51cc95;};const _0x57fadf=_0x336d91;if(!_0x48542d)return null;try{logger['debug'](_0x57fadf[_0x39f9eb(0x20b)]);const _0x23186d=_0x48542d[_0x39f9eb(0x1f1)]||this[_0x39f9eb(0x1e8)],_0xe16fde=_0x57fadf[_0x39f9eb(0x1e1)](_0x48542d[_0x39f9eb(0x1ed)]||this[_0x39f9eb(0x1ef)],0x3e8),_0x572401=_0x48542d[_0x39f9eb(0x21b)],_0x7342ba=_0x48542d[_0x39f9eb(0x21d)];if(_0x57fadf[_0x39f9eb(0x213)](!_0x7342ba,!_0x572401))return null;let _0x2f0cc5=null;const _0x37ee5f=Date[_0x39f9eb(0x1f4)]();while(_0x7342ba&&_0x57fadf[_0x39f9eb(0x212)](_0x57fadf[_0x39f9eb(0x1e3)](Date[_0x39f9eb(0x1f4)](),_0x37ee5f),_0xe16fde)){logger[_0x39f9eb(0x1fe)](_0x39f9eb(0x219)+_0x7342ba);const _0x3ecc62=await RequestUtils['getSplitFiles'](_0x7342ba);logger[_0x39f9eb(0x1fe)]('[getOrderedTestFiles]\x20Response\x20from\x20result\x20URL:\x20'+JSON[_0x39f9eb(0x1e2)](_0x3ecc62)),this[_0x39f9eb(0x1f7)]+=0x1;if(_0x3ecc62&&_0x3ecc62[_0x39f9eb(0x217)]){_0x2f0cc5=_0x3ecc62[_0x39f9eb(0x217)];break;}await new Promise(_0x16a926=>setTimeout(_0x16a926,_0x23186d*0x3e8)),logger['debug'](_0x39f9eb(0x1fb)+_0x23186d+_0x39f9eb(0x215));}if(_0x57fadf[_0x39f9eb(0x213)](!_0x2f0cc5,_0x572401)){logger[_0x39f9eb(0x1fe)](_0x57fadf['lLKCf']);const _0x52c00a=await RequestUtils[_0x39f9eb(0x1fa)](_0x572401);_0x52c00a&&_0x52c00a[_0x39f9eb(0x217)]&&(_0x2f0cc5=_0x52c00a[_0x39f9eb(0x217)]);}if(_0x2f0cc5&&_0x57fadf[_0x39f9eb(0x1f0)](_0x2f0cc5[_0x39f9eb(0x1f2)],0x0))return _0x2f0cc5[_0x39f9eb(0x1e9)](_0x1cf18e=>_0x1cf18e[_0x39f9eb(0x1eb)]);return null;}catch(_0x2af7ff){return logger[_0x39f9eb(0x1fe)](_0x39f9eb(0x211)+(_0x2af7ff[_0x39f9eb(0x1fd)]||_0x2af7ff[_0x39f9eb(0x1f6)]())),null;}}[a137_0x159afc(0x206)](){const _0x5b7116=a137_0x159afc,_0x516b81={'MkvDS':function(_0x26f33b,_0x29be14){return _0x26f33b(_0x29be14);}},_0x484ca4=_0x516b81[_0x5b7116(0x201)](require,'os');try{return{'hostname':_0x484ca4[_0x5b7116(0x202)](),'platform':_0x484ca4['platform'](),'release':_0x484ca4['release'](),'arch':_0x484ca4['arch'](),'totalmem':_0x484ca4[_0x5b7116(0x1fc)](),'freemem':_0x484ca4[_0x5b7116(0x1e6)]()};}catch(_0x52e9ef){return{};}}}function a137_0x2dea(){const _0x29787e=['458486KAgyhM','filePath','getSplitTestsAPICallCount','timeout','lLKCf','defaultTimeout','kjbLS','timeoutInterval','length','2795232HyeOba','now','buildName','toString','splitTestsAPICallCount','36nhHGwp','4974lwNrAJ','getSplitFiles','[getOrderedTestFiles]\x20Fetching\x20ordered\x20tests\x20from\x20result\x20URL\x20after\x20waiting\x20for\x20','totalmem','stack','debug','9DiOzYd','BROWSERSTACK_NODE_INDEX','MkvDS','hostname','[splitTests]\x20Response\x20from\x20split\x20tests\x20API:\x20','917517WSGdqT','[getOrderedTestFiles]\x20Fetching\x20ordered\x20tests\x20from\x20timeout\x20URL','_getHostInfo','config','[getOrderedTestFiles]\x20Fetching\x20ordered\x20test\x20files','exports','env','kdXDi','QlycU','getOrderedTestFiles','../logger','5336MJkpec','./requestUtils','[getOrderedTestFiles]\x20Exception\x20in\x20fetching\x20ordered\x20test\x20files:\x20','mJNPA','dGeJc','5917616HQGMSu','\x20seconds.','11311300berUJa','tests','3745zmtZWM','[getOrderedTestFiles]\x20Fetching\x20ordered\x20tests\x20from\x20result\x20URL:\x20',',\x20timeoutInterval:\x20','timeoutUrl','[processSplitTestsResponse]\x20timeout:\x20','resultUrl',',\x20timeoutUrl:\x20','191sMmUzc','BROWSERSTACK_TOTAL_NODE_COUNT','siCea','body','postSplitFiles','yOBdU','stringify','gFRiG','splitTests',',\x20resultUrl:\x20','freemem','[processSplitTestsResponse]\x20Processing\x20response:\x20','defaultTimeoutInterval','map'];a137_0x2dea=function(){return _0x29787e;};return a137_0x2dea();}module[a137_0x159afc(0x209)]=TestOrderingServerHandler;
1
+ const a137_0x5831f7=a137_0x1ac6;(function(_0x1e8372,_0xbe17a5){const _0x4203bf=a137_0x1ac6,_0x57d099=_0x1e8372();while(!![]){try{const _0x5cc50f=parseInt(_0x4203bf(0x19f))/0x1+parseInt(_0x4203bf(0x193))/0x2+parseInt(_0x4203bf(0x1b5))/0x3+-parseInt(_0x4203bf(0x1b9))/0x4*(-parseInt(_0x4203bf(0x189))/0x5)+parseInt(_0x4203bf(0x1ad))/0x6+parseInt(_0x4203bf(0x1a5))/0x7+-parseInt(_0x4203bf(0x18a))/0x8*(parseInt(_0x4203bf(0x194))/0x9);if(_0x5cc50f===_0xbe17a5)break;else _0x57d099['push'](_0x57d099['shift']());}catch(_0x4c60b1){_0x57d099['push'](_0x57d099['shift']());}}}(a137_0xce40,0xe6c6b));const logger=require('../logger')[a137_0x5831f7(0x19e)],RequestUtils=require(a137_0x5831f7(0x18c));class TestOrderingServerHandler{constructor(_0x48da44){const _0x549291=a137_0x5831f7;this['config']=_0x48da44,this[_0x549291(0x192)]=0x0,this[_0x549291(0x18d)]=0x3c,this['defaultTimeoutInterval']=0x5;}[a137_0x5831f7(0x18e)](){const _0x2d25a8=a137_0x5831f7;return this[_0x2d25a8(0x192)];}['processSplitTestsResponse'](_0x5a6cc3){const _0x3e59af=a137_0x5831f7,_0x474181={};_0x474181[_0x3e59af(0x17f)]=_0x3e59af(0x1a2);const _0x84a36c=_0x474181;if(!_0x5a6cc3)return null;const _0x1ccbd6={};return _0x1ccbd6['timeout']=_0x5a6cc3['timeout']||this[_0x3e59af(0x18d)],_0x1ccbd6['timeoutInterval']=_0x5a6cc3[_0x3e59af(0x1b0)]||this['defaultTimeoutInterval'],_0x1ccbd6[_0x3e59af(0x1a8)]=_0x5a6cc3['resultUrl'],_0x1ccbd6[_0x3e59af(0x1a7)]=_0x5a6cc3[_0x3e59af(0x1a7)],logger[_0x3e59af(0x1a3)]('[processSplitTestsResponse]\x20Processing\x20response:\x20'+JSON[_0x3e59af(0x1ab)](_0x5a6cc3)),logger[_0x3e59af(0x1a3)](_0x3e59af(0x182)+_0x5a6cc3[_0x3e59af(0x187)]+_0x3e59af(0x190)+_0x5a6cc3[_0x3e59af(0x1b0)]+',\x20resultUrl:\x20'+_0x5a6cc3[_0x3e59af(0x1a8)]+_0x3e59af(0x196)+_0x5a6cc3['timeoutUrl']),(!_0x5a6cc3[_0x3e59af(0x187)]||!_0x5a6cc3['timeoutInterval']||!_0x5a6cc3['timeoutUrl']||!_0x5a6cc3[_0x3e59af(0x1a8)])&&logger[_0x3e59af(0x1a3)](_0x84a36c['gnbtI']),_0x1ccbd6;}async['splitTests'](_0x46a966,_0x1cb115){const _0x24970c=a137_0x5831f7,_0x350e7a={'aoziS':function(_0x313afb,_0x5ed3e9){return _0x313afb(_0x5ed3e9);},'FWdKu':function(_0x235305,_0x3c3028){return _0x235305(_0x3c3028);}};try{const _0x5a4126=_0x350e7a[_0x24970c(0x17e)](parseInt,process['env'][_0x24970c(0x1a4)]||'0'),_0x16f140=_0x350e7a[_0x24970c(0x186)](parseInt,process[_0x24970c(0x181)][_0x24970c(0x1b6)]||'1'),_0x280c20=process[_0x24970c(0x181)]['BROWSERSTACK_BUILD_RUN_IDENTIFIER'],_0x1608e6={'nodeIndex':_0x5a4126,'totalNodes':_0x16f140,'projectName':this[_0x24970c(0x18f)][_0x24970c(0x1a6)],'buildName':this[_0x24970c(0x18f)]['buildName'],'buildRunIdentifier':_0x280c20,'orchestrationStrategy':_0x1cb115,'hostInfo':this[_0x24970c(0x1b7)](),'tests':_0x46a966[_0x24970c(0x1bc)](_0x375e2d=>({'filePath':_0x375e2d}))},_0x275b10=await RequestUtils[_0x24970c(0x1af)](_0x1608e6);return logger[_0x24970c(0x1a3)](_0x24970c(0x1b1)+JSON[_0x24970c(0x1ab)](_0x275b10)),this[_0x24970c(0x192)]+=0x1,this['processSplitTestsResponse'](_0x275b10['body']||{});}catch(_0x553a08){return logger[_0x24970c(0x1a3)](_0x24970c(0x19c)+(_0x553a08[_0x24970c(0x191)]||_0x553a08['toString']())),null;}}async[a137_0x5831f7(0x184)](_0x151104){const _0x362c6c=a137_0x5831f7,_0x53f522={};_0x53f522[_0x362c6c(0x199)]=_0x362c6c(0x198),_0x53f522[_0x362c6c(0x185)]=function(_0x3c505a,_0x116ed1){return _0x3c505a*_0x116ed1;},_0x53f522[_0x362c6c(0x1ac)]=function(_0x50be0e,_0x201d64){return _0x50be0e&&_0x201d64;},_0x53f522['jdbSi']=function(_0x5b570f,_0xb03b7f){return _0x5b570f<_0xb03b7f;},_0x53f522[_0x362c6c(0x195)]=function(_0x1acac0,_0x2dbc63){return _0x1acac0-_0x2dbc63;},_0x53f522[_0x362c6c(0x197)]=function(_0xed1018,_0x427e8a){return _0xed1018&&_0x427e8a;},_0x53f522[_0x362c6c(0x1a1)]=_0x362c6c(0x188),_0x53f522[_0x362c6c(0x1a9)]=function(_0x3caab1,_0x2a5516){return _0x3caab1>_0x2a5516;};const _0x14a250=_0x53f522;if(!_0x151104)return null;try{logger[_0x362c6c(0x1a3)](_0x14a250[_0x362c6c(0x199)]);const _0x4d0fbb=_0x151104[_0x362c6c(0x1b0)]||this['defaultTimeoutInterval'],_0x4909ce=_0x14a250[_0x362c6c(0x185)](_0x151104['timeout']||this[_0x362c6c(0x18d)],0x3e8),_0x486db5=_0x151104[_0x362c6c(0x1a7)],_0x4c731a=_0x151104[_0x362c6c(0x1a8)];if(_0x14a250[_0x362c6c(0x1ac)](!_0x4c731a,!_0x486db5))return null;let _0x39a0fc=null;const _0x379034=Date['now']();while(_0x4c731a&&_0x14a250[_0x362c6c(0x180)](_0x14a250[_0x362c6c(0x195)](Date[_0x362c6c(0x1a0)](),_0x379034),_0x4909ce)){logger[_0x362c6c(0x1a3)]('[getOrderedTestFiles]\x20Fetching\x20ordered\x20tests\x20from\x20result\x20URL:\x20'+_0x4c731a);const _0x2eb9c0=await RequestUtils['getSplitFiles'](_0x4c731a);logger[_0x362c6c(0x1a3)](_0x362c6c(0x18b)+JSON[_0x362c6c(0x1ab)](_0x2eb9c0)),this['splitTestsAPICallCount']+=0x1;if(_0x2eb9c0&&_0x2eb9c0[_0x362c6c(0x1b3)]){_0x39a0fc=_0x2eb9c0[_0x362c6c(0x1b3)];break;}await new Promise(_0x16153f=>setTimeout(_0x16153f,_0x4d0fbb*0x3e8)),logger[_0x362c6c(0x1a3)](_0x362c6c(0x1bb)+_0x4d0fbb+_0x362c6c(0x1aa));}if(_0x14a250['IdVsL'](!_0x39a0fc,_0x486db5)){logger[_0x362c6c(0x1a3)](_0x14a250[_0x362c6c(0x1a1)]);const _0x4d28c6=await RequestUtils['getSplitFiles'](_0x486db5);_0x4d28c6&&_0x4d28c6[_0x362c6c(0x1b3)]&&(_0x39a0fc=_0x4d28c6[_0x362c6c(0x1b3)]);}if(_0x39a0fc&&_0x14a250[_0x362c6c(0x1a9)](_0x39a0fc[_0x362c6c(0x19a)],0x0))return _0x39a0fc['map'](_0x2b19e9=>_0x2b19e9[_0x362c6c(0x1b8)]);return null;}catch(_0x498b37){return logger['debug']('[getOrderedTestFiles]\x20Exception\x20in\x20fetching\x20ordered\x20test\x20files:\x20'+(_0x498b37[_0x362c6c(0x191)]||_0x498b37['toString']())),null;}}['_getHostInfo'](){const _0xe29b98=a137_0x5831f7,_0x2b3e30={'LFYSL':function(_0x16fc7b,_0x23f3af){return _0x16fc7b(_0x23f3af);}},_0x222b5f=_0x2b3e30['LFYSL'](require,'os');try{return{'hostname':_0x222b5f[_0xe29b98(0x19d)](),'platform':_0x222b5f[_0xe29b98(0x19b)](),'release':_0x222b5f[_0xe29b98(0x1ba)](),'arch':_0x222b5f[_0xe29b98(0x1b4)](),'totalmem':_0x222b5f[_0xe29b98(0x183)](),'freemem':_0x222b5f[_0xe29b98(0x1ae)]()};}catch(_0x494c53){return{};}}}function a137_0x1ac6(_0x3fb1e9,_0x5771c3){const _0xce4023=a137_0xce40();return a137_0x1ac6=function(_0x1ac676,_0x3d462d){_0x1ac676=_0x1ac676-0x17e;let _0x963f6=_0xce4023[_0x1ac676];return _0x963f6;},a137_0x1ac6(_0x3fb1e9,_0x5771c3);}module[a137_0x5831f7(0x1b2)]=TestOrderingServerHandler;function a137_0xce40(){const _0x2fbef2=['getSplitTestsAPICallCount','config',',\x20timeoutInterval:\x20','stack','splitTestsAPICallCount','1842454zEuYPh','68814VPvpld','raRQC',',\x20timeoutUrl:\x20','IdVsL','[getOrderedTestFiles]\x20Fetching\x20ordered\x20test\x20files','mpoYN','length','platform','[splitTests]\x20Exception\x20in\x20sending\x20test\x20files:\x20','hostname','winstonLogger','1737777ZTKTDQ','now','GjTQn','[processSplitTestsResponse]\x20Received\x20null\x20value(s)\x20for\x20some\x20attributes\x20in\x20split\x20tests\x20API\x20response','debug','BROWSERSTACK_NODE_INDEX','8404060nEmuOE','projectName','timeoutUrl','resultUrl','ejcGU','\x20seconds.','stringify','xefOF','11204220syZsAQ','freemem','postSplitFiles','timeoutInterval','[splitTests]\x20Response\x20from\x20split\x20tests\x20API:\x20','exports','tests','arch','5146146FwEPqe','BROWSERSTACK_TOTAL_NODE_COUNT','_getHostInfo','filePath','4sedNRr','release','[getOrderedTestFiles]\x20Fetching\x20ordered\x20tests\x20from\x20result\x20URL\x20after\x20waiting\x20for\x20','map','aoziS','gnbtI','jdbSi','env','[processSplitTestsResponse]\x20timeout:\x20','totalmem','getOrderedTestFiles','lMerw','FWdKu','timeout','[getOrderedTestFiles]\x20Fetching\x20ordered\x20tests\x20from\x20timeout\x20URL','6470985FQpCbr','8152uvhKfR','[getOrderedTestFiles]\x20Response\x20from\x20result\x20URL:\x20','./requestUtils','defaultTimeout'];a137_0xce40=function(){return _0x2fbef2;};return a137_0xce40();}
@@ -1 +1 @@
1
- function a138_0x31ee(_0x1d078b,_0x381c76){var _0xedb3b4=a138_0xedb3();return a138_0x31ee=function(_0x31ee79,_0xd0edc0){_0x31ee79=_0x31ee79-0x161;var _0x23e4ea=_0xedb3b4[_0x31ee79];return _0x23e4ea;},a138_0x31ee(_0x1d078b,_0x381c76);}var a138_0x28559f=a138_0x31ee;(function(_0x162934,_0x4641a3){var _0x3af832=a138_0x31ee,_0x14ffa9=_0x162934();while(!![]){try{var _0x3927d6=parseInt(_0x3af832(0x175))/0x1*(parseInt(_0x3af832(0x174))/0x2)+-parseInt(_0x3af832(0x168))/0x3*(parseInt(_0x3af832(0x17a))/0x4)+-parseInt(_0x3af832(0x167))/0x5+parseInt(_0x3af832(0x173))/0x6*(-parseInt(_0x3af832(0x170))/0x7)+parseInt(_0x3af832(0x178))/0x8+parseInt(_0x3af832(0x169))/0x9+parseInt(_0x3af832(0x163))/0xa;if(_0x3927d6===_0x4641a3)break;else _0x14ffa9['push'](_0x14ffa9['shift']());}catch(_0x2d4d5a){_0x14ffa9['push'](_0x14ffa9['shift']());}}}(a138_0xedb3,0x81737));var a138_0x3d3eb1={};a138_0x3d3eb1[a138_0x28559f(0x16e)]=a138_0x28559f(0x172),a138_0x3d3eb1[a138_0x28559f(0x16c)]=a138_0x28559f(0x17d),a138_0x3d3eb1[a138_0x28559f(0x177)]=a138_0x28559f(0x16f);var a138_0x3bf061={};function a138_0xedb3(){var _0x2c644e=['17992LHrDGl','TestRunSkipped','ENV_VAR','ERROR_SDK_DEPRECATED','HookFinished','HookRunStarted','TestRunFinished','observability','531020rbogNl','TestRunStarted','TESTHUB_BUILD_API','ACCESSIBILITY','5277055aWzikp','429DMYIqU','9336708WYdoik','TestFinished','BROWSERSTACK_TESTHUB_UUID','DEPRECATED','BROWSERSTACK_TESTHUB_JWT','INVALID_CREDENTIALS','ERROR_ACCESS_DENIED','91YtUyQq','LogCreated','ERROR_INVALID_CREDENTIALS','43848WqcxJk','2qlFUbx','565715jElEDI','api/v2/builds','ACCESS_DENIED','5341048PeoNtO','CBTSessionCreated'];a138_0xedb3=function(){return _0x2c644e;};return a138_0xedb3();}a138_0x3bf061['TestStarted']=a138_0x28559f(0x164),a138_0x3bf061[a138_0x28559f(0x16a)]=a138_0x28559f(0x161),a138_0x3bf061['TestSkipped']=a138_0x28559f(0x17b),a138_0x3bf061['LogCreated']=a138_0x28559f(0x171),a138_0x3bf061['HookStarted']=a138_0x28559f(0x17f),a138_0x3bf061[a138_0x28559f(0x17e)]='HookRunFinished',a138_0x3bf061['CBTSessionCreated']=a138_0x28559f(0x179);var a138_0x102972={};a138_0x102972[a138_0x28559f(0x16b)]=a138_0x28559f(0x16b),a138_0x102972[a138_0x28559f(0x16d)]=a138_0x28559f(0x16d);var a138_0x34127a={};a138_0x34127a[a138_0x28559f(0x165)]=a138_0x28559f(0x176),a138_0x34127a[a138_0x28559f(0x166)]='accessibility',a138_0x34127a['OBSERVABILITY']=a138_0x28559f(0x162),a138_0x34127a['ERROR']=a138_0x3d3eb1,a138_0x34127a['EVENT']=a138_0x3bf061,a138_0x34127a[a138_0x28559f(0x17c)]=a138_0x102972,module['exports']=a138_0x34127a;
1
+ var a138_0x4c7361=a138_0xf626;(function(_0x4c195e,_0xa74de){var _0x272716=a138_0xf626,_0x1a7408=_0x4c195e();while(!![]){try{var _0x2860b8=parseInt(_0x272716(0x118))/0x1+-parseInt(_0x272716(0x11a))/0x2+-parseInt(_0x272716(0x125))/0x3*(parseInt(_0x272716(0x10e))/0x4)+-parseInt(_0x272716(0x116))/0x5*(-parseInt(_0x272716(0x108))/0x6)+-parseInt(_0x272716(0x120))/0x7+-parseInt(_0x272716(0x104))/0x8*(parseInt(_0x272716(0x119))/0x9)+parseInt(_0x272716(0x11f))/0xa*(parseInt(_0x272716(0x10c))/0xb);if(_0x2860b8===_0xa74de)break;else _0x1a7408['push'](_0x1a7408['shift']());}catch(_0x1048a9){_0x1a7408['push'](_0x1a7408['shift']());}}}(a138_0x3fb2,0x4d522));var a138_0x37da69={};a138_0x37da69['INVALID_CREDENTIALS']='ERROR_INVALID_CREDENTIALS',a138_0x37da69[a138_0x4c7361(0x10b)]=a138_0x4c7361(0x10d),a138_0x37da69[a138_0x4c7361(0x112)]='ERROR_ACCESS_DENIED';var a138_0x4df8e5={};a138_0x4df8e5['TestStarted']=a138_0x4c7361(0x115),a138_0x4df8e5[a138_0x4c7361(0x111)]=a138_0x4c7361(0x103),a138_0x4df8e5[a138_0x4c7361(0x124)]=a138_0x4c7361(0x109),a138_0x4df8e5[a138_0x4c7361(0x121)]=a138_0x4c7361(0x121),a138_0x4df8e5[a138_0x4c7361(0x110)]=a138_0x4c7361(0x123),a138_0x4df8e5[a138_0x4c7361(0x10a)]='HookRunFinished',a138_0x4df8e5['CBTSessionCreated']=a138_0x4c7361(0x106);var a138_0x3ca116={};a138_0x3ca116[a138_0x4c7361(0x114)]=a138_0x4c7361(0x114),a138_0x3ca116['BROWSERSTACK_TESTHUB_JWT']=a138_0x4c7361(0x10f);var a138_0x3f42e1={};function a138_0x3fb2(){var _0x4221a0=['ERROR_SDK_DEPRECATED','60hRqjUm','BROWSERSTACK_TESTHUB_JWT','HookStarted','TestFinished','ACCESS_DENIED','EVENT','BROWSERSTACK_TESTHUB_UUID','TestRunStarted','2888305avQuvv','TESTHUB_BUILD_API','257286anMexk','314946DZtbMs','1258138PjMAhK','accessibility','observability','exports','OBSERVABILITY','2790XQKOGL','3942911QLSGhp','LogCreated','ENV_VAR','HookRunStarted','TestSkipped','32556zGoUZZ','api/v2/builds','TestRunFinished','8yzQMlL','ERROR','CBTSessionCreated','ACCESSIBILITY','6IrOVRn','TestRunSkipped','HookFinished','DEPRECATED','34375SSBbst'];a138_0x3fb2=function(){return _0x4221a0;};return a138_0x3fb2();}function a138_0xf626(_0x38d826,_0x1c6041){var _0x3fb232=a138_0x3fb2();return a138_0xf626=function(_0xf626c6,_0x389761){_0xf626c6=_0xf626c6-0x103;var _0x2ee8ab=_0x3fb232[_0xf626c6];return _0x2ee8ab;},a138_0xf626(_0x38d826,_0x1c6041);}a138_0x3f42e1[a138_0x4c7361(0x117)]=a138_0x4c7361(0x126),a138_0x3f42e1[a138_0x4c7361(0x107)]=a138_0x4c7361(0x11b),a138_0x3f42e1[a138_0x4c7361(0x11e)]=a138_0x4c7361(0x11c),a138_0x3f42e1[a138_0x4c7361(0x105)]=a138_0x37da69,a138_0x3f42e1[a138_0x4c7361(0x113)]=a138_0x4df8e5,a138_0x3f42e1[a138_0x4c7361(0x122)]=a138_0x3ca116,module[a138_0x4c7361(0x11d)]=a138_0x3f42e1;
@@ -1 +1 @@
1
- const a139_0x5a2819=a139_0x45fc;(function(_0x27a022,_0x2b7b87){const _0x2b9f97=a139_0x45fc,_0xb0e8ee=_0x27a022();while(!![]){try{const _0x1ed075=parseInt(_0x2b9f97(0x194))/0x1*(parseInt(_0x2b9f97(0x184))/0x2)+-parseInt(_0x2b9f97(0x185))/0x3*(parseInt(_0x2b9f97(0x176))/0x4)+parseInt(_0x2b9f97(0x14a))/0x5*(parseInt(_0x2b9f97(0x156))/0x6)+-parseInt(_0x2b9f97(0x155))/0x7+-parseInt(_0x2b9f97(0x17d))/0x8+-parseInt(_0x2b9f97(0x157))/0x9*(-parseInt(_0x2b9f97(0x192))/0xa)+parseInt(_0x2b9f97(0x14d))/0xb;if(_0x1ed075===_0x2b7b87)break;else _0xb0e8ee['push'](_0xb0e8ee['shift']());}catch(_0x21c829){_0xb0e8ee['push'](_0xb0e8ee['shift']());}}}(a139_0x3259,0x6c61f));const bsSetupHelper=require(a139_0x5a2819(0x126)),path=require('path'),util=require(a139_0x5a2819(0x195)),{getCustomTags,isTestObservabilitySession,getDefaultHeaders,nodeRequest}=require('../test-observability/utils'),testhubUtils=require(a139_0x5a2819(0x174)),testHubConstants=require(a139_0x5a2819(0x130)),constants=require(a139_0x5a2819(0x19c)),RequestQueueHandler=require(a139_0x5a2819(0x186)),logger=require(a139_0x5a2819(0x164))[a139_0x5a2819(0x18a)],SessionHandler=require(a139_0x5a2819(0x169)),PerformanceTester=require(a139_0x5a2819(0x15f)),{TESTHUB_EVENTS:PerformanceEvents}=require(a139_0x5a2819(0x14c)),TestDetails=require(a139_0x5a2819(0x1a1)),{uploadTraceZip}=require(a139_0x5a2819(0x14b)),{isTurboScaleSession}=require('../helper.js'),BrowserstackCLI=require(a139_0x5a2819(0x17e)),OngoingEvents=new Set();let processedTraceZips=![];const addEvent=_0x30f35a=>{const _0x113c40=a139_0x5a2819;OngoingEvents[_0x113c40(0x121)](_0x30f35a);},awaitAllEvents=async()=>{const _0x2df56f=a139_0x5a2819;return Promise[_0x2df56f(0x198)](OngoingEvents);};class TestHubHandler{static ['buildStopSent']=![];static async[a139_0x5a2819(0x160)](_0x2d1dbd,_0x21f387){const _0xb05541=a139_0x5a2819,_0x2f9839={'VcHEi':function(_0x12b5ce,_0x162f91){return _0x12b5ce||_0x162f91;},'mlIvf':function(_0xbac845,_0x176c41){return _0xbac845===_0x176c41;},'xivCg':function(_0x408452){return _0x408452();},'TEqyS':'EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20Missing\x20authentication\x20token','wQKMH':_0xb05541(0x165),'DhGkn':_0xb05541(0x162),'fPYFK':function(_0x1eebb9,_0x38c794,_0x1688e2,_0x4cda4e,_0x4d0bba){return _0x1eebb9(_0x38c794,_0x1688e2,_0x4cda4e,_0x4d0bba);},'PeqGt':_0xb05541(0x182),'nGcIT':function(_0x2dd295,_0x441677){return _0x2dd295===_0x441677;},'dIOfK':'accessibility','heafy':'true','bxlIn':_0xb05541(0x189)};await PerformanceTester[_0xb05541(0x196)](PerformanceEvents[_0xb05541(0x177)],async()=>{const _0x4bd563=_0xb05541,_0x5db0b3=Object[_0x4bd563(0x1ab)]({},_0x21f387['config'],{'root_dir_path':'','framework':_0x21f387[_0x4bd563(0x122)]}),_0x255493=bsSetupHelper[_0x4bd563(0x18f)](_0x5db0b3),_0x427a46=bsSetupHelper[_0x4bd563(0x149)](_0x5db0b3),_0x1de493=_0x2f9839[_0x4bd563(0x147)](_0x255493,'')+':'+_0x2f9839['VcHEi'](_0x427a46,'');if(_0x2f9839[_0x4bd563(0x12b)](_0x1de493,':'))return _0x2f9839[_0x4bd563(0x132)](isTestObservabilitySession)&&(logger[_0x4bd563(0x19d)](_0x2f9839[_0x4bd563(0x18b)]),process['env'][_0x4bd563(0x13f)]=_0x2f9839['wQKMH']),testhubUtils[_0x4bd563(0x193)](_0x5db0b3)&&logger[_0x4bd563(0x19d)](_0x2f9839[_0x4bd563(0x179)]),[null,null];try{const _0x642684=await this['generateBuildUpstreamData'](_0x5db0b3,_0x2d1dbd),_0x7af62b=this[_0x4bd563(0x1a4)](_0x255493,_0x427a46),_0x4eaf43=await _0x2f9839[_0x4bd563(0x175)](nodeRequest,_0x2f9839[_0x4bd563(0x13e)],testHubConstants[_0x4bd563(0x19f)],_0x642684,_0x7af62b),_0x409594=this[_0x4bd563(0x1ac)](_0x5db0b3,_0x4eaf43,_0x7af62b);await this[_0x4bd563(0x16a)](_0x21f387,_0x2d1dbd);const _0x49941d=testhubUtils['getProductMap'](_0x5db0b3);process[_0x4bd563(0x1a2)]['BROWSERSTACK_PRODUCT_MAP']=JSON['stringify'](_0x49941d);if(_0x2f9839[_0x4bd563(0x12a)](testhubUtils[_0x4bd563(0x124)](_0x21f387['config']),null)){const _0x357d78=_0x409594[_0x2f9839['dIOfK']];_0x357d78&&_0x357d78[_0x4bd563(0x173)]&&_0x357d78[_0x4bd563(0x15d)]&&(_0x21f387['config'][_0x4bd563(0x167)]=!![],process[_0x4bd563(0x1a2)][_0x4bd563(0x145)]=_0x2f9839['heafy']);}return _0x409594&&_0x409594[_0x2f9839['dIOfK']]&&_0x409594[_0x2f9839['dIOfK']][_0x2f9839['bxlIn']]&&(process[_0x4bd563(0x1a2)][_0x4bd563(0x180)]=_0x409594[_0x2f9839['dIOfK']][_0x2f9839[_0x4bd563(0x183)]]),_0x409594;}catch(_0xfa24b2){if(_0x2f9839[_0x4bd563(0x12b)](_0xfa24b2['success'],![])){testhubUtils[_0x4bd563(0x18e)](_0xfa24b2);return;}}})();}static async[a139_0x5a2819(0x15b)](){const _0x1d3156=a139_0x5a2819,_0x21a921={'jcWtv':function(_0x52f4e6,_0x478a7f,_0x4f5b14){return _0x52f4e6(_0x478a7f,_0x4f5b14);},'iUmfG':function(_0x2084cb,_0x570065){return _0x2084cb(_0x570065);},'pSbOe':function(_0x21ca72){return _0x21ca72();},'xOeIi':_0x1d3156(0x14f)};if(processedTraceZips)return;const _0x560c95=TestDetails[_0x1d3156(0x1b2)]();_0x560c95['forEach'](({testUId:_0x5b8bee,filePath:_0x5dbcbd})=>{const _0x3a5a1e=_0x1d3156;var _0x5d6bf2=_0x21a921[_0x3a5a1e(0x12d)](uploadTraceZip,_0x5dbcbd,_0x5b8bee);_0x21a921[_0x3a5a1e(0x159)](addEvent,_0x5d6bf2);});try{await _0x21a921[_0x1d3156(0x12f)](awaitAllEvents),logger['debug'](_0x21a921[_0x1d3156(0x181)]),processedTraceZips=!![];}catch(_0x49b6a7){logger['error']('Error\x20while\x20waiting\x20for\x20events:\x20'+util[_0x1d3156(0x150)](_0x49b6a7));}}static async[a139_0x5a2819(0x16a)](_0x100ec3,_0x5d1d77){const _0x34361d=a139_0x5a2819;if(constants['PERCY_SUPPORTED_FRAMEWORKS'][_0x34361d(0x1a0)](_0x5d1d77)){await _0x100ec3[_0x34361d(0x1ae)]();return;}_0x100ec3[_0x34361d(0x1a9)][_0x34361d(0x171)]&&logger[_0x34361d(0x19d)]('Percy\x20is\x20not\x20supported\x20for\x20'+_0x5d1d77+'\x20framework');}static[a139_0x5a2819(0x16b)](_0x3f761b){const _0x4a07a3=a139_0x5a2819,_0x4d5d32={'JhVak':function(_0x67e90e,_0x21104c){return _0x67e90e(_0x21104c);},'hpugA':_0x4a07a3(0x1b3)};let _0x5ae1bd;if(_0x3f761b[_0x4a07a3(0x188)]){const _0x496000={};_0x496000[_0x4a07a3(0x129)]=_0x3f761b[_0x4a07a3(0x188)],_0x5ae1bd=_0x496000;}else{const _0x239295={};_0x239295[_0x4a07a3(0x129)]={},_0x5ae1bd=_0x239295;}if((!bsSetupHelper['isBrowserstackInfra']()||_0x4d5d32['JhVak'](isTurboScaleSession,_0x3f761b))&&testhubUtils[_0x4a07a3(0x193)](_0x3f761b)){const _0x2da525={};_0x2da525[_0x4a07a3(0x1a5)]=_0x4d5d32[_0x4a07a3(0x139)],Object[_0x4a07a3(0x1ab)](_0x5ae1bd[_0x4a07a3(0x129)],_0x2da525);}return _0x5ae1bd;}static[a139_0x5a2819(0x1a4)](_0x39d78c,_0xf5a26e){const _0x139c87=a139_0x5a2819,_0x44f815={'QyvWf':function(_0x332c37,_0x3b9686){return _0x332c37(_0x3b9686);}},_0x173463={};return _0x173463[_0x139c87(0x197)]=_0x39d78c,_0x173463[_0x139c87(0x13d)]=_0xf5a26e,{'auth':_0x173463,'headers':_0x44f815['QyvWf'](getDefaultHeaders,![])};}static async[a139_0x5a2819(0x13a)](_0x1d5cf8,_0x1f9dc8){const _0x3bd6e6=a139_0x5a2819,_0x24f7e4={'mlPFE':'Generating\x20build\x20upstream\x20data\x20for\x20TestHub','LToBJ':function(_0x1d804e,_0x4e1c9c){return _0x1d804e(_0x4e1c9c);}};logger[_0x3bd6e6(0x19d)](_0x24f7e4[_0x3bd6e6(0x1aa)]);const _0x12d13d={'project_name':_0x1d5cf8['projectName']||'','name':_0x1d5cf8[_0x3bd6e6(0x1a7)]||path['basename'](path[_0x3bd6e6(0x19b)](process['cwd']())),'build_identifier':_0x1d5cf8[_0x3bd6e6(0x146)],'description':_0x1d5cf8['buildDescription']||'','started_at':new Date()['toISOString'](),'tags':_0x24f7e4[_0x3bd6e6(0x1a6)](getCustomTags,_0x1d5cf8),'host_info':bsSetupHelper[_0x3bd6e6(0x18c)](),'ci_info':bsSetupHelper['getCiInfo'](),'build_run_identifier':process[_0x3bd6e6(0x1a2)][_0x3bd6e6(0x152)],'failed_tests_rerun':process[_0x3bd6e6(0x1a2)][_0x3bd6e6(0x136)]||![],'linked_build_uuid':process[_0x3bd6e6(0x1a2)][_0x3bd6e6(0x187)]||'','version_control':await bsSetupHelper[_0x3bd6e6(0x16d)](),'accessibility':this[_0x3bd6e6(0x16b)](_0x1d5cf8),'framework_details':testhubUtils['getFrameworkDetails'](_0x1d5cf8,_0x1f9dc8),'product_map':testhubUtils[_0x3bd6e6(0x141)](_0x1d5cf8),'browserstackAutomation':bsSetupHelper['isBrowserstackInfra'](),'grouping_identifier':process[_0x3bd6e6(0x1a2)][_0x3bd6e6(0x191)],'test_orchestration':testhubUtils[_0x3bd6e6(0x19e)](_0x1d5cf8)};if(bsSetupHelper['getCentralUser']()[_0x3bd6e6(0x142)]||bsSetupHelper['getCentralUser']()[_0x3bd6e6(0x168)]){const _0x235fc1={};_0x235fc1[_0x3bd6e6(0x12c)]=process['env'][_0x3bd6e6(0x15e)],_0x235fc1['token']=process[_0x3bd6e6(0x1a2)][_0x3bd6e6(0x127)],_0x12d13d['central_scanner']=_0x235fc1;}return _0x12d13d;}static[a139_0x5a2819(0x1ac)](_0x537ac2,_0x33557a,_0xe27b60){const _0x389792=a139_0x5a2819,_0x5bf5d9={'klEDE':function(_0x5263c4){return _0x5263c4();},'dvcRE':function(_0x35f05b,_0x1efef6){return _0x35f05b&&_0x1efef6;},'HMnEq':_0x389792(0x1b3),'PEkKO':'false','yGNwa':function(_0x480a3c,_0x34852f){return _0x480a3c&&_0x34852f;}},_0x30f094={};if(_0x5bf5d9[_0x389792(0x1a8)](isTestObservabilitySession)){const [_0x1730f8,_0x4ac4f3,_0x39fee1]=testhubUtils[_0x389792(0x16c)](_0x33557a[_0x389792(0x1b0)],_0xe27b60['auth']);if(_0x5bf5d9[_0x389792(0x133)](_0x1730f8,_0x4ac4f3)){const _0x12be82={};_0x12be82['jwt']=_0x1730f8,_0x12be82['buildHashedId']=_0x4ac4f3,_0x12be82[_0x389792(0x13b)]=_0x39fee1,_0x30f094[testHubConstants[_0x389792(0x15a)]]=_0x12be82,process[_0x389792(0x1a2)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x5bf5d9[_0x389792(0x190)];}else _0x30f094[testHubConstants[_0x389792(0x15a)]]={},process[_0x389792(0x1a2)][_0x389792(0x144)]=_0x5bf5d9['PEkKO'];}else process[_0x389792(0x1a2)][_0x389792(0x144)]=_0x5bf5d9['PEkKO'];const [_0x467309,_0xd6d833,_0x161f4c]=testhubUtils[_0x389792(0x1b1)](_0x33557a[_0x389792(0x1b0)]);if(_0x5bf5d9[_0x389792(0x1b5)](_0x467309,_0xd6d833)){const _0x44227a={};_0x44227a[_0x389792(0x173)]=_0x467309,_0x44227a['buildHashedId']=_0xd6d833,_0x44227a[_0x389792(0x189)]=_0x161f4c,_0x30f094[testHubConstants['ACCESSIBILITY']]=_0x44227a,process['env'][_0x389792(0x199)]=_0x5bf5d9[_0x389792(0x190)];}else _0x30f094[testHubConstants['ACCESSIBILITY']]={},process[_0x389792(0x1a2)][_0x389792(0x199)]=_0x5bf5d9[_0x389792(0x166)];return testhubUtils['setTestHubCommonMetaInfo'](_0x33557a[_0x389792(0x1b0)]),logger[_0x389792(0x153)](_0x389792(0x170)+process[_0x389792(0x1a2)][_0x389792(0x143)]),_0x30f094;}static async[a139_0x5a2819(0x17f)](_0x278afa){const _0x1501ea=a139_0x5a2819,_0x536125={'GsGLx':function(_0x55b066,_0x31fae3){return _0x55b066===_0x31fae3;},'XCVUZ':_0x1501ea(0x165),'TDrvt':function(_0x91a0bb,_0x354807){return _0x91a0bb===_0x354807;},'THXQQ':_0x1501ea(0x178),'eHlqj':function(_0x394235,_0x1e3e28){return _0x394235===_0x1e3e28;},'TBPBh':_0x1501ea(0x1af),'TvbzF':_0x1501ea(0x14e),'RugGA':_0x1501ea(0x13c),'khsUp':_0x1501ea(0x16e),'Ttrpb':'user_killed','OZoWQ':function(_0x8b53d4){return _0x8b53d4();},'tufCp':function(_0xab0f25,_0x542316,_0x22b4fe,_0x5a11ab,_0x8de2b6,_0x232a32){return _0xab0f25(_0x542316,_0x22b4fe,_0x5a11ab,_0x8de2b6,_0x232a32);},'FUkXU':'PUT','tJMqI':'stopBuildUpstream\x20event\x20successful!','nHYal':_0x1501ea(0x158)};await PerformanceTester['measureWrapper'](PerformanceEvents[_0x1501ea(0x1b4)],async()=>{const _0x38afc9=_0x1501ea;if(_0x536125['GsGLx'](process[_0x38afc9(0x1a2)][_0x38afc9(0x13f)],_0x536125[_0x38afc9(0x1a3)])||TestHubHandler[_0x38afc9(0x17c)]||bsSetupHelper[_0x38afc9(0x172)](process[_0x38afc9(0x1a2)][testHubConstants[_0x38afc9(0x161)]['BROWSERSTACK_TESTHUB_JWT']]))return;TestHubHandler[_0x38afc9(0x17c)]=!![];if(BrowserstackCLI['getInstance']()['isRunning']())return;await this[_0x38afc9(0x15b)](),await RequestQueueHandler[_0x38afc9(0x148)]()[_0x38afc9(0x137)](),await SessionHandler[_0x38afc9(0x17b)]();if(_0x536125[_0x38afc9(0x17a)](process['env'][testHubConstants[_0x38afc9(0x161)][_0x38afc9(0x15c)]],_0x536125[_0x38afc9(0x19a)])||_0x536125[_0x38afc9(0x128)](process['env'][testHubConstants[_0x38afc9(0x161)][_0x38afc9(0x143)]],_0x536125[_0x38afc9(0x19a)])){logger[_0x38afc9(0x19d)](_0x536125['TBPBh']);const _0x30bc56={};return _0x30bc56[_0x38afc9(0x1ad)]=_0x536125['TvbzF'],_0x30bc56[_0x38afc9(0x1b6)]=_0x536125['RugGA'],_0x30bc56;}const _0x484a6e={'finished_at':new Date()['toISOString'](),'finished_metadata':[]};!!_0x278afa&&_0x484a6e[_0x536125[_0x38afc9(0x140)]]['push']({'reason':_0x536125[_0x38afc9(0x12e)],'signal':_0x278afa,'failure_data':''});const _0x25d19a={'headers':_0x536125[_0x38afc9(0x131)](getDefaultHeaders)};try{const _0x50f26d=await _0x536125[_0x38afc9(0x154)](nodeRequest,_0x536125[_0x38afc9(0x18d)],_0x38afc9(0x163)+process[_0x38afc9(0x1a2)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']]+'/stop',_0x484a6e,_0x25d19a,![]);if(_0x50f26d[_0x38afc9(0x1b0)]&&_0x50f26d[_0x38afc9(0x1b0)]['error']){const _0x1aabef={};_0x1aabef[_0x38afc9(0x1b6)]=_0x50f26d[_0x38afc9(0x1b0)][_0x38afc9(0x14e)];throw _0x1aabef;}else{logger[_0x38afc9(0x19d)](_0x536125[_0x38afc9(0x125)]);const _0x3812d5={};return _0x3812d5[_0x38afc9(0x1ad)]=_0x536125['nHYal'],_0x3812d5[_0x38afc9(0x1b6)]='',_0x3812d5;}}catch(_0x1fc858){_0x1fc858[_0x38afc9(0x138)]?logger['debug'](_0x38afc9(0x134)+_0x1fc858[_0x38afc9(0x138)][_0x38afc9(0x1ad)]+'\x20'+_0x1fc858[_0x38afc9(0x138)][_0x38afc9(0x151)]+'\x20'+JSON[_0x38afc9(0x16f)](_0x1fc858[_0x38afc9(0x138)][_0x38afc9(0x1b0)])):logger[_0x38afc9(0x19d)](_0x38afc9(0x134)+(_0x1fc858['message']||_0x1fc858));const _0x2c470e={};return _0x2c470e[_0x38afc9(0x1ad)]=_0x536125[_0x38afc9(0x123)],_0x2c470e[_0x38afc9(0x1b6)]=_0x1fc858[_0x38afc9(0x1b6)]||_0x1fc858[_0x38afc9(0x138)]?_0x1fc858['response'][_0x38afc9(0x1ad)]+':'+_0x1fc858[_0x38afc9(0x138)]['statusText']:_0x1fc858,_0x2c470e;}})();}}module[a139_0x5a2819(0x135)]=TestHubHandler;function a139_0x45fc(_0x2cf69c,_0x4a4679){const _0x32592d=a139_0x3259();return a139_0x45fc=function(_0x45fc6f,_0x5d8090){_0x45fc6f=_0x45fc6f-0x121;let _0x81ea7c=_0x32592d[_0x45fc6f];return _0x81ea7c;},a139_0x45fc(_0x2cf69c,_0x4a4679);}function a139_0x3259(){const _0xd84add=['includes','../../bin/playwright/reporter/test-details.js','env','XCVUZ','getConfig','includeEncodedExtension','LToBJ','buildName','klEDE','config','mlPFE','assign','extractDataFromResponse','status','setupPercy','EXCEPTION\x20IN\x20stopBuildUpstream\x20REQUEST\x20TO\x20TESTHUB\x20:\x20Missing\x20authentication\x20token','data','setAccessibilityVariables','getTraceFilePaths','true','STOP','yGNwa','message','add','framework','TvbzF','getAccessibilityValueFromYml','tJMqI','../helper','BROWSERSTACK_CENTRAL_SCANNER_JWT','eHlqj','settings','nGcIT','mlIvf','job_id','jcWtv','Ttrpb','pSbOe','./constants.js','OZoWQ','xivCg','dvcRE','EXCEPTION\x20IN\x20stopBuildUpstream\x20REQUEST\x20TO\x20TESTHUB\x20:\x20','exports','BROWSERSTACK_RERUN','uploadPending','response','hpugA','generateBuildUpstreamData','allowScreenshot','Token/buildID\x20is\x20undefined,\x20build\x20creation\x20might\x20have\x20failed','password','PeqGt','BS_TESTOPS_BUILD_COMPLETED','khsUp','getProductMapForBuildStartCall','central_scanner','BROWSERSTACK_TESTHUB_UUID','BROWSERSTACK_TEST_OBSERVABILITY','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','buildIdentifier','VcHEi','getInstance','getAccessKey','5umTviI','../../bin/playwright/reporter/pwUtils.js','../performance/constants','7156259NsWaeF','error','All\x20trace\x20zip\x20send\x20events\x20complete','format','statusText','BROWSERSTACK_BUILD_RUN_IDENTIFIER','info','tufCp','2098453ZjZeoQ','1257030LlaFbc','1400697xXJSwu','success','iUmfG','OBSERVABILITY','processTraceZips','BROWSERSTACK_TESTHUB_JWT','buildHashedId','BROWSERSTACK_CENTRAL_SCANNER_JOBID','../performance/performance-tester.js','launchBuild','ENV_VAR','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','api/v1/builds/','../logger','false','PEkKO','accessibility','lcnc','../test-observability/sessionHandler.js','checkAndSetupPercy','getAccessibilityOptions','setTestObservabilityVariables','getGitMetaData','finished_metadata','stringify','Testhub\x20started\x20with\x20id:\x20','percy','isUndefined','authToken','./utils.js','fPYFK','1636XrrNDP','START','null','DhGkn','TDrvt','waitForBuildStatus','buildStopSent','3809072rIuuLN','../../bin/v2/browserstackCLI','stop','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','xOeIi','POST','bxlIn','1856AuePSY','3981NZczDH','../test-observability/requestQueueHandler.js','BROWSERSTACK_LINKED_BUILD_UUID','accessibilityOptions','scannerProcessingTimeout','winstonLogger','TEqyS','getHostInfo','FUkXU','logBuildError','getUserName','HMnEq','BROWSERSTACK_BUILD_GROUPING_IDENTIFIER','50CkXOIr','isAccessibilityEnabled','134mspadg','util','measureWrapper','username','allSettled','BROWSERSTACK_ACCESSIBILITY','THXQQ','resolve','../../bin/utils/constants.js','debug','getTestOrchestrationBuildStartData','TESTHUB_BUILD_API'];a139_0x3259=function(){return _0xd84add;};return a139_0x3259();}
1
+ const a139_0x52af41=a139_0x18d0;function a139_0x1b6b(){const _0x548363=['user_killed','env','getAccessKey','DwUYP','fiVUi','Testhub\x20started\x20with\x20id:\x20','path','MkbHN','job_id','allowScreenshot','../test-observability/sessionHandler.js','getGitMetaData','accessibilityOptions','BROWSERSTACK_BUILD_GROUPING_IDENTIFIER','error','central_scanner','getTraceFilePaths','isRunning','oslEd','getConfig','YAsGi','message','null','FoBWu','qRLeR','setTestHubCommonMetaInfo','ACCESSIBILITY','Token/buildID\x20is\x20undefined,\x20build\x20creation\x20might\x20have\x20failed','scannerProcessingTimeout','BROWSERSTACK_TESTHUB_UUID','UwjWi','setAccessibilityVariables','DjBwt','abVpC','assign','BROWSERSTACK_CENTRAL_SCANNER_JOBID','ewuZF','uploadPending','3095764AOyuWv','getProductMapForBuildStartCall','lcnc','getProductMap','stopBuildUpstream\x20event\x20successful!','STOP','1845234aPFxsr','framework','getAccessibilityOptions','statusText','487306RzrePA','toISOString','checkAndSetupPercy','getCentralUser','winstonLogger','ENV_VAR','kcBVy','ZUjHz','includes','Percy\x20is\x20not\x20supported\x20for\x20','status','../../bin/playwright/reporter/test-details.js','FBiCS','debug','\x20framework','467775ickVGv','BROWSERSTACK_TEST_OBSERVABILITY','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','api/v1/builds/','1465374uxYnor','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','isBrowserstackInfra','Error\x20while\x20waiting\x20for\x20events:\x20','PUT','BROWSERSTACK_CENTRAL_SCANNER_JWT','measureWrapper','extractDataFromResponse','/stop','../performance/constants','EXCEPTION\x20IN\x20stopBuildUpstream\x20REQUEST\x20TO\x20TESTHUB\x20:\x20Missing\x20authentication\x20token','token','authToken','gAPpL','VVpvK','exports','YqRqK','processTraceZips','All\x20trace\x20zip\x20send\x20events\x20complete','buildDescription','getUserName','buildName','stringify','getInstance','BROWSERSTACK_PRODUCT_MAP','../logger','650072LvsCEi','isUndefined','RMyPH','BROWSERSTACK_RERUN','START','jwt','../../bin/playwright/reporter/pwUtils.js','fRYse','Generating\x20build\x20upstream\x20data\x20for\x20TestHub','data','sbIsu','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','EXCEPTION\x20IN\x20stopBuildUpstream\x20REQUEST\x20TO\x20TESTHUB\x20:\x20','resolve','percy','success','xMnne','VLCSH','bFOEZ','add','HyTju','BROWSERSTACK_TESTHUB_JWT','username','cwd','includeEncodedExtension','3250850PyMhkh','settings','hgKxe','EexUf','logBuildError','XHqQM','response','IaMJo','../performance/performance-tester.js','isAccessibilityEnabled','waitForBuildStatus','basename','./utils.js','PERCY_SUPPORTED_FRAMEWORKS','projectName','accessibility','HEGwv','TRdKK','TESTHUB_BUILD_API','config','getHostInfo','SjBKt','UoZNI','XEpxz','util','../../bin/v2/browserstackCLI','setupPercy','getCiInfo','qGuwj','buildStopSent','OBSERVABILITY','getAccessibilityValueFromYml','buildHashedId','EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20Missing\x20authentication\x20token','auth'];a139_0x1b6b=function(){return _0x548363;};return a139_0x1b6b();}(function(_0x19acab,_0xd1f238){const _0x29b540=a139_0x18d0,_0x10c760=_0x19acab();while(!![]){try{const _0x220a4f=parseInt(_0x29b540(0xec))/0x1+parseInt(_0x29b540(0xbf))/0x2+-parseInt(_0x29b540(0xbb))/0x3+-parseInt(_0x29b540(0xb5))/0x4+parseInt(_0x29b540(0x6c))/0x5+parseInt(_0x29b540(0xd2))/0x6+parseInt(_0x29b540(0xce))/0x7;if(_0x220a4f===_0xd1f238)break;else _0x10c760['push'](_0x10c760['shift']());}catch(_0x5e0f23){_0x10c760['push'](_0x10c760['shift']());}}}(a139_0x1b6b,0x71c0a));const bsSetupHelper=require('../helper'),path=require(a139_0x52af41(0x95)),util=require(a139_0x52af41(0x84)),{getCustomTags,isTestObservabilitySession,getDefaultHeaders,nodeRequest}=require('../test-observability/utils'),testhubUtils=require(a139_0x52af41(0x78)),testHubConstants=require('./constants.js'),constants=require('../../bin/utils/constants.js'),RequestQueueHandler=require('../test-observability/requestQueueHandler.js'),logger=require(a139_0x52af41(0xeb))[a139_0x52af41(0xc3)],SessionHandler=require(a139_0x52af41(0x99)),PerformanceTester=require(a139_0x52af41(0x74)),{TESTHUB_EVENTS:PerformanceEvents}=require(a139_0x52af41(0xdb)),TestDetails=require(a139_0x52af41(0xca)),{uploadTraceZip}=require(a139_0x52af41(0xf2)),{isTurboScaleSession}=require('../helper.js'),BrowserstackCLI=require(a139_0x52af41(0x85)),OngoingEvents=new Set();function a139_0x18d0(_0x115e56,_0x3bb7e5){const _0x1b6bcd=a139_0x1b6b();return a139_0x18d0=function(_0x18d013,_0x22b117){_0x18d013=_0x18d013-0x6a;let _0xf5248d=_0x1b6bcd[_0x18d013];return _0xf5248d;},a139_0x18d0(_0x115e56,_0x3bb7e5);}let processedTraceZips=![];const addEvent=_0x4e3c7b=>{const _0x23ae8b=a139_0x52af41;OngoingEvents[_0x23ae8b(0xff)](_0x4e3c7b);},awaitAllEvents=async()=>{return Promise['allSettled'](OngoingEvents);};class TestHubHandler{static [a139_0x52af41(0x89)]=![];static async['launchBuild'](_0x290753,_0x314d90){const _0xb2b258=a139_0x52af41,_0x1cac86={'fiVUi':function(_0x1c2d96,_0xf821c6){return _0x1c2d96||_0xf821c6;},'dPETP':function(_0x1cbbd1,_0x3d4d4e){return _0x1cbbd1===_0x3d4d4e;},'fRYse':function(_0xfe8e70){return _0xfe8e70();},'TRdKK':_0xb2b258(0x8d),'kcBVy':'false','JsSNy':_0xb2b258(0xf7),'XHqQM':function(_0x45386f,_0x59830a,_0x962f7b,_0x16cd47,_0x535764){return _0x45386f(_0x59830a,_0x962f7b,_0x16cd47,_0x535764);},'DjBwt':'POST','jwMCh':function(_0x535eee,_0x54bac2){return _0x535eee===_0x54bac2;},'VLCSH':'accessibility','UwjWi':'true','HyTju':_0xb2b258(0xab),'EexUf':function(_0x1fa5ff,_0x300d17){return _0x1fa5ff===_0x300d17;}};await PerformanceTester['measureWrapper'](PerformanceEvents[_0xb2b258(0xf0)],async()=>{const _0x4ccfec=_0xb2b258,_0x4d4e07=Object[_0x4ccfec(0xb1)]({},_0x314d90[_0x4ccfec(0x7f)],{'root_dir_path':'','framework':_0x314d90[_0x4ccfec(0xbc)]}),_0x37f82d=bsSetupHelper[_0x4ccfec(0xe6)](_0x4d4e07),_0x1eac0d=bsSetupHelper[_0x4ccfec(0x91)](_0x4d4e07),_0x371bef=_0x1cac86[_0x4ccfec(0x93)](_0x37f82d,'')+':'+_0x1cac86[_0x4ccfec(0x93)](_0x1eac0d,'');if(_0x1cac86['dPETP'](_0x371bef,':'))return _0x1cac86[_0x4ccfec(0xf3)](isTestObservabilitySession)&&(logger['debug'](_0x1cac86[_0x4ccfec(0x7d)]),process[_0x4ccfec(0x90)]['BS_TESTOPS_BUILD_COMPLETED']=_0x1cac86[_0x4ccfec(0xc5)]),testhubUtils[_0x4ccfec(0x75)](_0x4d4e07)&&logger[_0x4ccfec(0xcc)](_0x1cac86['JsSNy']),[null,null];try{const _0x3cdb77=await this['generateBuildUpstreamData'](_0x4d4e07,_0x290753),_0x42caac=this['getConfig'](_0x37f82d,_0x1eac0d),_0x3c50f7=await _0x1cac86[_0x4ccfec(0x71)](nodeRequest,_0x1cac86[_0x4ccfec(0xaf)],testHubConstants[_0x4ccfec(0x7e)],_0x3cdb77,_0x42caac),_0x27b5ec=this['extractDataFromResponse'](_0x4d4e07,_0x3c50f7,_0x42caac);await this[_0x4ccfec(0xc1)](_0x314d90,_0x290753);const _0x3143f7=testhubUtils[_0x4ccfec(0xb8)](_0x4d4e07);process['env'][_0x4ccfec(0xea)]=JSON[_0x4ccfec(0xe8)](_0x3143f7);if(_0x1cac86['jwMCh'](testhubUtils[_0x4ccfec(0x8b)](_0x314d90['config']),null)){const _0x50b6c6=_0x27b5ec[_0x1cac86[_0x4ccfec(0xfd)]];_0x50b6c6&&_0x50b6c6[_0x4ccfec(0xde)]&&_0x50b6c6[_0x4ccfec(0x8c)]&&(_0x314d90[_0x4ccfec(0x7f)][_0x4ccfec(0x7b)]=!![],process[_0x4ccfec(0x90)][_0x4ccfec(0xd3)]=_0x1cac86[_0x4ccfec(0xad)]);}return _0x27b5ec&&_0x27b5ec[_0x1cac86[_0x4ccfec(0xfd)]]&&_0x27b5ec[_0x1cac86['VLCSH']][_0x1cac86[_0x4ccfec(0x100)]]&&(process['env'][_0x4ccfec(0xd0)]=_0x27b5ec[_0x1cac86[_0x4ccfec(0xfd)]][_0x1cac86[_0x4ccfec(0x100)]]),_0x27b5ec;}catch(_0x2850b2){if(_0x1cac86[_0x4ccfec(0x6f)](_0x2850b2[_0x4ccfec(0xfb)],![])){testhubUtils[_0x4ccfec(0x70)](_0x2850b2);return;}}})();}static async[a139_0x52af41(0xe3)](){const _0x3c14d6=a139_0x52af41,_0x3af320={'bFOEZ':function(_0x2c547e,_0x37be76,_0x289e29){return _0x2c547e(_0x37be76,_0x289e29);},'DwUYP':function(_0xd18e3d,_0x346f7d){return _0xd18e3d(_0x346f7d);},'IaMJo':function(_0x1d0ef9){return _0x1d0ef9();},'RMyPH':_0x3c14d6(0xe4)};if(processedTraceZips)return;const _0x59fc7b=TestDetails[_0x3c14d6(0x9f)]();_0x59fc7b['forEach'](({testUId:_0x4f70b7,filePath:_0x1c729e})=>{const _0x198d94=_0x3c14d6;var _0x5353f6=_0x3af320[_0x198d94(0xfe)](uploadTraceZip,_0x1c729e,_0x4f70b7);_0x3af320[_0x198d94(0x92)](addEvent,_0x5353f6);});try{await _0x3af320[_0x3c14d6(0x73)](awaitAllEvents),logger[_0x3c14d6(0xcc)](_0x3af320[_0x3c14d6(0xee)]),processedTraceZips=!![];}catch(_0x4f5540){logger[_0x3c14d6(0x9d)](_0x3c14d6(0xd5)+util['format'](_0x4f5540));}}static async[a139_0x52af41(0xc1)](_0x472d28,_0xfef351){const _0x216bbd=a139_0x52af41;if(constants[_0x216bbd(0x79)][_0x216bbd(0xc7)](_0xfef351)){await _0x472d28[_0x216bbd(0x86)]();return;}_0x472d28[_0x216bbd(0x7f)][_0x216bbd(0xfa)]&&logger[_0x216bbd(0xcc)](_0x216bbd(0xc8)+_0xfef351+_0x216bbd(0xcd));}static[a139_0x52af41(0xbd)](_0x49f685){const _0x2540a8=a139_0x52af41,_0x53389a={'SjBKt':function(_0x459226,_0x2a3659){return _0x459226(_0x2a3659);},'qRLeR':'true'};let _0x32a839;if(_0x49f685[_0x2540a8(0x9b)]){const _0x3d4644={};_0x3d4644[_0x2540a8(0x6d)]=_0x49f685[_0x2540a8(0x9b)],_0x32a839=_0x3d4644;}else{const _0xa2d39={};_0xa2d39[_0x2540a8(0x6d)]={},_0x32a839=_0xa2d39;}if((!bsSetupHelper[_0x2540a8(0xd4)]()||_0x53389a[_0x2540a8(0x81)](isTurboScaleSession,_0x49f685))&&testhubUtils['isAccessibilityEnabled'](_0x49f685)){const _0x47b8fd={};_0x47b8fd[_0x2540a8(0x6b)]=_0x53389a[_0x2540a8(0xa7)],Object[_0x2540a8(0xb1)](_0x32a839['settings'],_0x47b8fd);}return _0x32a839;}static[a139_0x52af41(0xa2)](_0x599153,_0x3433b7){const _0xeec6c2=a139_0x52af41,_0x102581={'zhaXU':function(_0x2d932a,_0x2d59e6){return _0x2d932a(_0x2d59e6);}},_0x170b1d={};return _0x170b1d[_0xeec6c2(0x102)]=_0x599153,_0x170b1d['password']=_0x3433b7,{'auth':_0x170b1d,'headers':_0x102581['zhaXU'](getDefaultHeaders,![])};}static async['generateBuildUpstreamData'](_0x954e02,_0x312bef){const _0x244e23=a139_0x52af41,_0x35c7f2={'ElQhR':_0x244e23(0xf4),'XEpxz':function(_0x2e01be,_0x2b8079){return _0x2e01be(_0x2b8079);}};logger[_0x244e23(0xcc)](_0x35c7f2['ElQhR']);const _0x298144={'project_name':_0x954e02[_0x244e23(0x7a)]||'','name':_0x954e02[_0x244e23(0xe7)]||path[_0x244e23(0x77)](path[_0x244e23(0xf9)](process[_0x244e23(0x6a)]())),'build_identifier':_0x954e02['buildIdentifier'],'description':_0x954e02[_0x244e23(0xe5)]||'','started_at':new Date()[_0x244e23(0xc0)](),'tags':_0x35c7f2[_0x244e23(0x83)](getCustomTags,_0x954e02),'host_info':bsSetupHelper[_0x244e23(0x80)](),'ci_info':bsSetupHelper[_0x244e23(0x87)](),'build_run_identifier':process[_0x244e23(0x90)]['BROWSERSTACK_BUILD_RUN_IDENTIFIER'],'failed_tests_rerun':process[_0x244e23(0x90)][_0x244e23(0xef)]||![],'linked_build_uuid':process[_0x244e23(0x90)]['BROWSERSTACK_LINKED_BUILD_UUID']||'','version_control':await bsSetupHelper[_0x244e23(0x9a)](),'accessibility':this['getAccessibilityOptions'](_0x954e02),'framework_details':testhubUtils['getFrameworkDetails'](_0x954e02,_0x312bef),'product_map':testhubUtils[_0x244e23(0xb6)](_0x954e02),'browserstackAutomation':bsSetupHelper[_0x244e23(0xd4)](),'grouping_identifier':process[_0x244e23(0x90)][_0x244e23(0x9c)],'test_orchestration':testhubUtils['getTestOrchestrationBuildStartData'](_0x954e02)};if(bsSetupHelper['getCentralUser']()[_0x244e23(0x9e)]||bsSetupHelper[_0x244e23(0xc2)]()[_0x244e23(0xb7)]){const _0xd30d5={};_0xd30d5[_0x244e23(0x97)]=process[_0x244e23(0x90)][_0x244e23(0xb2)],_0xd30d5[_0x244e23(0xdd)]=process[_0x244e23(0x90)][_0x244e23(0xd7)],_0x298144['central_scanner']=_0xd30d5;}return _0x298144;}static[a139_0x52af41(0xd9)](_0x19e8db,_0x5c2e16,_0x1ad34b){const _0x13e207=a139_0x52af41,_0x361692={'HEGwv':function(_0x4473e9){return _0x4473e9();},'VVpvK':function(_0xeb1875,_0x5c7574){return _0xeb1875&&_0x5c7574;},'MkbHN':'true','gAPpL':'false'},_0x2bbc1b={};if(_0x361692[_0x13e207(0x7c)](isTestObservabilitySession)){const [_0x34fc9a,_0x52e848,_0x65a6d5]=testhubUtils['setTestObservabilityVariables'](_0x5c2e16[_0x13e207(0xf5)],_0x1ad34b[_0x13e207(0x8e)]);if(_0x361692[_0x13e207(0xe0)](_0x34fc9a,_0x52e848)){const _0x33880f={};_0x33880f[_0x13e207(0xf1)]=_0x34fc9a,_0x33880f['buildHashedId']=_0x52e848,_0x33880f[_0x13e207(0x98)]=_0x65a6d5,_0x2bbc1b[testHubConstants[_0x13e207(0x8a)]]=_0x33880f,process['env'][_0x13e207(0xcf)]=_0x361692[_0x13e207(0x96)];}else _0x2bbc1b[testHubConstants['OBSERVABILITY']]={},process[_0x13e207(0x90)][_0x13e207(0xcf)]=_0x361692[_0x13e207(0xdf)];}else process[_0x13e207(0x90)][_0x13e207(0xcf)]=_0x361692['gAPpL'];const [_0x4ea662,_0x22a562,_0x97b03c]=testhubUtils[_0x13e207(0xae)](_0x5c2e16[_0x13e207(0xf5)]);if(_0x361692[_0x13e207(0xe0)](_0x4ea662,_0x22a562)){const _0x1ac6da={};_0x1ac6da[_0x13e207(0xde)]=_0x4ea662,_0x1ac6da['buildHashedId']=_0x22a562,_0x1ac6da['scannerProcessingTimeout']=_0x97b03c,_0x2bbc1b[testHubConstants['ACCESSIBILITY']]=_0x1ac6da,process[_0x13e207(0x90)]['BROWSERSTACK_ACCESSIBILITY']=_0x361692[_0x13e207(0x96)];}else _0x2bbc1b[testHubConstants[_0x13e207(0xa9)]]={},process[_0x13e207(0x90)]['BROWSERSTACK_ACCESSIBILITY']=_0x361692[_0x13e207(0xdf)];return testhubUtils[_0x13e207(0xa8)](_0x5c2e16[_0x13e207(0xf5)]),logger['info'](_0x13e207(0x94)+process['env'][_0x13e207(0xac)]),_0x2bbc1b;}static async['stop'](_0xbe0b6e){const _0x200635=a139_0x52af41,_0x3216b3={'xMnne':function(_0x5f3ef1,_0x38dff9){return _0x5f3ef1===_0x38dff9;},'oslEd':'false','abVpC':function(_0x26c567,_0x2c9e0c){return _0x26c567===_0x2c9e0c;},'YqRqK':_0x200635(0xa5),'ewuZF':_0x200635(0xdc),'YAsGi':_0x200635(0x9d),'XyTHH':_0x200635(0xaa),'UoZNI':'finished_metadata','ZUjHz':_0x200635(0x8f),'sbIsu':function(_0x5a0185){return _0x5a0185();},'hgKxe':function(_0x594aef,_0x25c9fd,_0x33c51c,_0x37a9fb,_0xb39949,_0x52bc21){return _0x594aef(_0x25c9fd,_0x33c51c,_0x37a9fb,_0xb39949,_0x52bc21);},'FoBWu':_0x200635(0xd6),'qGuwj':_0x200635(0xb9),'FBiCS':_0x200635(0xfb)};await PerformanceTester[_0x200635(0xd8)](PerformanceEvents[_0x200635(0xba)],async()=>{const _0x15625a=_0x200635;if(_0x3216b3[_0x15625a(0xfc)](process[_0x15625a(0x90)]['BS_TESTOPS_BUILD_COMPLETED'],_0x3216b3[_0x15625a(0xa1)])||TestHubHandler[_0x15625a(0x89)]||bsSetupHelper[_0x15625a(0xed)](process[_0x15625a(0x90)][testHubConstants[_0x15625a(0xc4)][_0x15625a(0x101)]]))return;TestHubHandler[_0x15625a(0x89)]=!![];if(BrowserstackCLI[_0x15625a(0xe9)]()[_0x15625a(0xa0)]())return;await this[_0x15625a(0xe3)](),await RequestQueueHandler[_0x15625a(0xe9)]()[_0x15625a(0xb4)](),await SessionHandler[_0x15625a(0x76)]();if(_0x3216b3[_0x15625a(0xb0)](process[_0x15625a(0x90)][testHubConstants[_0x15625a(0xc4)][_0x15625a(0x101)]],_0x3216b3['YqRqK'])||_0x3216b3[_0x15625a(0xfc)](process[_0x15625a(0x90)][testHubConstants[_0x15625a(0xc4)][_0x15625a(0xac)]],_0x3216b3[_0x15625a(0xe2)])){logger['debug'](_0x3216b3[_0x15625a(0xb3)]);const _0x6991a0={};return _0x6991a0['status']=_0x3216b3['YAsGi'],_0x6991a0[_0x15625a(0xa4)]=_0x3216b3['XyTHH'],_0x6991a0;}const _0x186a79={'finished_at':new Date()[_0x15625a(0xc0)](),'finished_metadata':[]};!!_0xbe0b6e&&_0x186a79[_0x3216b3[_0x15625a(0x82)]]['push']({'reason':_0x3216b3[_0x15625a(0xc6)],'signal':_0xbe0b6e,'failure_data':''});const _0x4c3640={'headers':_0x3216b3[_0x15625a(0xf6)](getDefaultHeaders)};try{const _0x370fee=await _0x3216b3[_0x15625a(0x6e)](nodeRequest,_0x3216b3[_0x15625a(0xa6)],_0x15625a(0xd1)+process[_0x15625a(0x90)][testHubConstants[_0x15625a(0xc4)][_0x15625a(0xac)]]+_0x15625a(0xda),_0x186a79,_0x4c3640,![]);if(_0x370fee[_0x15625a(0xf5)]&&_0x370fee[_0x15625a(0xf5)][_0x15625a(0x9d)]){const _0x12dd22={};_0x12dd22[_0x15625a(0xa4)]=_0x370fee[_0x15625a(0xf5)][_0x15625a(0x9d)];throw _0x12dd22;}else{logger[_0x15625a(0xcc)](_0x3216b3[_0x15625a(0x88)]);const _0x4a3b02={};return _0x4a3b02[_0x15625a(0xc9)]=_0x3216b3[_0x15625a(0xcb)],_0x4a3b02['message']='',_0x4a3b02;}}catch(_0x440403){_0x440403[_0x15625a(0x72)]?logger[_0x15625a(0xcc)](_0x15625a(0xf8)+_0x440403[_0x15625a(0x72)][_0x15625a(0xc9)]+'\x20'+_0x440403[_0x15625a(0x72)]['statusText']+'\x20'+JSON[_0x15625a(0xe8)](_0x440403['response'][_0x15625a(0xf5)])):logger['debug'](_0x15625a(0xf8)+(_0x440403[_0x15625a(0xa4)]||_0x440403));const _0x4eba63={};return _0x4eba63[_0x15625a(0xc9)]=_0x3216b3[_0x15625a(0xa3)],_0x4eba63[_0x15625a(0xa4)]=_0x440403['message']||_0x440403[_0x15625a(0x72)]?_0x440403[_0x15625a(0x72)][_0x15625a(0xc9)]+':'+_0x440403[_0x15625a(0x72)][_0x15625a(0xbe)]:_0x440403,_0x4eba63;}})();}}module[a139_0x52af41(0xe1)]=TestHubHandler;
@@ -1 +1 @@
1
- function a140_0x3e8b(_0x1467f7,_0x4d3e05){const _0x14a55c=a140_0x14a5();return a140_0x3e8b=function(_0x3e8be4,_0x1cc168){_0x3e8be4=_0x3e8be4-0x114;let _0x506c5d=_0x14a55c[_0x3e8be4];return _0x506c5d;},a140_0x3e8b(_0x1467f7,_0x4d3e05);}function a140_0x14a5(){const _0x510050=['nSWLj','isUndefined','setTestObservabilityVariables','getProductMap','QgqQP','../accessibility-automation/helper','hdFIU','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','dCioy','ICOQN','ioSBK','TestRunStarted','../test-observability/constants.js','cipTz','214432bWYIUy','BROWSERSTACK_ACCESSIBILITY','length','BROWSERSTACK_TESTHUB_UUID','name','HookRunStarted','../helper.js','tYdzR','options','CUCUMBER','getTestFrameworkDetails','username','../../bin/utils/constants.js','../test-orchestration/orchestrationUtils.js','ACCESSIBILITY','EMruZ','HhWWH','accessibilityPlatform','NHBEB','bwFqU','toUpperCase','SmGsj','tags','commandsToWrap','isPercyBuild','OHLZi','titlePath','../globals.js','yJoVw','handleErrorForObservability','OHRve','../helper','javascript','test_run','getCentralUser','scopes','winstonLogger','Jales','../accessibility-automation/scripts.js','\x20Build\x20creation\x20failed','getCurrentTestData','parseFromJson','JEST','./constants.js','xgyaj','ZuVMn','jwt','1847585TPeDph','taKuv','HFSki','pdpQS','debug','zuIUp','7454952MxotyJ','../test-observability/utils','nonBStackInfraA11yChromeOptions','isBrowserstackInfra','719970PkoICE','isTrue','qKvwm','commands','true','XBTXa','HQJdA','errors','ppTUa','PFvGZ','cLWZC','uploadEventData','false','eNoYx','getBuildStartData','getTestData','pAdeq','env','getAccessibilityPlatformValidation','observability','ACCESS_DENIED','qpphd','BROWSERSTACK_TEST_ACCESSIBILITY_YML','ghCiM','dRheE','accessibility','BS_TESTOPS_JWT','DLnSW','uuid','PiIMC','LogCreated','getAgentVersion','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','MGGLp','3|2|5|0|1|4','getProductMapForBuildStartCall','BS_A11Y_JWT','logBuildError','isLTSSession','../../bin/jest/test-observability/test-details.js','checkAccessibilityPlatformConfig','capabilities','22CtvGfo','info','Ywsng','setCurrentTestData','1222564iKhQqy','ERROR','percy','HookRunFinished','getGlobal','error','handleErrorForAccessibility','assign','cAomH','BS_TESTOPS_BUILD_HASHED_ID','BS_TESTOPS_BUILD_COMPLETED','Rblvg','6Kqanqf','command','app','rHRUV','BS_TESTOPS_ALLOW_SCREENSHOTS','4|6|1|0|2|3|5','appendTesthubParams','shouldScanTestForAccessibility','19960XBEomK',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','split','includes','isTurboScaleSession','WHzqD','BROWSERSTACK_TESTHUB_UUID:\x20','goog:chromeOptions','isRunning','getTestOrchestrationBuildStartData','oPZQB','keys','success','scannerVersion','setTestHubCommonMetaInfo','OBSERVABILITY','isAccessibilityEnabled','BROWSERSTACK_TESTHUB_JWT','build_hashed_id','CaDYm','OzgGI','platforms','allow_screenshots','setTestData','NySce','10grHVmA','getAccessibilityValueFromYml','DCwIt','bstackA11yShouldScan','119140ZJejAJ','../ats/helper','getFrameworkDetails','rIGjI','kkZOT','stringify','FEAfc','setPercyFlag','BROWSERSTACK_PERCY','FRAMEWORK_DETAILS','IUCHz','join','null','DTfNM','dYukd'];a140_0x14a5=function(){return _0x510050;};return a140_0x14a5();}const a140_0x11e280=a140_0x3e8b;(function(_0x90d861,_0x492909){const _0xea68e5=a140_0x3e8b,_0x2c4d0b=_0x90d861();while(!![]){try{const _0x5a3c11=-parseInt(_0xea68e5(0x1b7))/0x1*(parseInt(_0xea68e5(0x119))/0x2)+parseInt(_0xea68e5(0x1c7))/0x3*(-parseInt(_0xea68e5(0x136))/0x4)+-parseInt(_0xea68e5(0x182))/0x5+-parseInt(_0xea68e5(0x18c))/0x6+parseInt(_0xea68e5(0x1bb))/0x7+-parseInt(_0xea68e5(0x153))/0x8+-parseInt(_0xea68e5(0x188))/0x9*(-parseInt(_0xea68e5(0x132))/0xa);if(_0x5a3c11===_0x492909)break;else _0x2c4d0b['push'](_0x2c4d0b['shift']());}catch(_0xf858b0){_0x2c4d0b['push'](_0x2c4d0b['shift']());}}}(a140_0x14a5,0x32aae));const bsSetupHelper=require(a140_0x11e280(0x172)),LoadTestModule=require('../../bin/v2/modules/loadTestModule'),{isTestObservabilitySession,getFrameworkVersion}=require(a140_0x11e280(0x189)),accessibilityHelper=require(a140_0x11e280(0x14a)),logger=require('../logger')[a140_0x11e280(0x177)],{nestedKeyValue}=require(a140_0x11e280(0x159)),scripts=require(a140_0x11e280(0x179)),globals=require(a140_0x11e280(0x16e)),testHubConstants=require(a140_0x11e280(0x17e)),PWTestDetails=require('../../bin/playwright/reporter/test-details.js'),JestTestDetails=require(a140_0x11e280(0x1b4)),{FRAMEWORKS}=require(a140_0x11e280(0x151)),{isTurboScaleSession}=require(a140_0x11e280(0x137)),OrchestrationUtils=require(a140_0x11e280(0x160)),constants=require(a140_0x11e280(0x15f));let testData={};exports[a140_0x11e280(0x148)]=_0x47bb62=>{const _0x4763ca=a140_0x11e280,_0x3fa615={'lGGqC':function(_0x21a2bb){return _0x21a2bb();}};let _0x2d55d0=![],_0x17fa30=![];if(bsSetupHelper['isBrowserstackInfra']()&&_0x47bb62[_0x4763ca(0x1c9)])_0x17fa30=!![];else bsSetupHelper[_0x4763ca(0x18b)]()&&(_0x2d55d0=!![]);return Object[_0x4763ca(0x1c2)]({'observability':_0x3fa615['lGGqC'](isTestObservabilitySession),'accessibility':exports[_0x4763ca(0x129)](_0x47bb62),'percy':_0x47bb62[_0x4763ca(0x1bd)]||![],'automate':_0x2d55d0,'app_automate':_0x17fa30,'turboscale':bsSetupHelper[_0x4763ca(0x11d)](_0x47bb62),'lts':LoadTestModule['isLTSSession'](_0x47bb62)},bsSetupHelper[_0x4763ca(0x175)]());},exports[a140_0x11e280(0x138)]=(_0x29d4fd,_0x3162e9)=>{const _0x29ea93=a140_0x11e280,_0x3b9ff5={'ioSBK':function(_0x5d9b79,_0x1fd26e){return _0x5d9b79(_0x1fd26e);},'yJoVw':_0x29ea93(0x173)},_0x4a1862={'frameworkName':_0x3162e9,'frameworkVersion':_0x3b9ff5[_0x29ea93(0x14f)](getFrameworkVersion,_0x3162e9),'sdkVersion':bsSetupHelper[_0x29ea93(0x1ab)](),'language':_0x3b9ff5[_0x29ea93(0x16f)],'testFramework':bsSetupHelper[_0x29ea93(0x15d)](_0x29d4fd,_0x3162e9)};return process[_0x29ea93(0x19d)][_0x29ea93(0x13f)]=JSON[_0x29ea93(0x13b)](_0x4a1862),_0x4a1862;},exports[a140_0x11e280(0x13d)]=_0x97771d=>{const _0x2fa6b3=a140_0x11e280,_0x570548={};_0x570548[_0x2fa6b3(0x18e)]=_0x2fa6b3(0x198),_0x570548[_0x2fa6b3(0x196)]=_0x2fa6b3(0x190);const _0x5b76f0=_0x570548;process[_0x2fa6b3(0x19d)]['BROWSERSTACK_PERCY']=_0x5b76f0[_0x2fa6b3(0x18e)],bsSetupHelper['isTrue'](_0x97771d['config']['percy'])&&(!_0x97771d[_0x2fa6b3(0x1bd)]||!_0x97771d[_0x2fa6b3(0x1bd)][_0x2fa6b3(0x121)]())&&(process['env'][_0x2fa6b3(0x13e)]=_0x5b76f0['cLWZC']);},exports[a140_0x11e280(0x16b)]=()=>{const _0x12bb1e=a140_0x11e280;return bsSetupHelper[_0x12bb1e(0x18d)](process[_0x12bb1e(0x19d)][_0x12bb1e(0x13e)]);},exports['isAccessibilityEnabled']=(_0x567673={})=>{const _0x40852f=a140_0x11e280,_0x19de6f={};_0x19de6f['LCyKt']=function(_0x3b0ce4,_0x18778f){return _0x3b0ce4!==_0x18778f;},_0x19de6f[_0x40852f(0x183)]=function(_0x3c96a0,_0x28a039){return _0x3c96a0===_0x28a039;},_0x19de6f[_0x40852f(0x163)]=_0x40852f(0x190),_0x19de6f['NySce']=function(_0x3f2d38,_0xea4bb2){return _0x3f2d38>_0xea4bb2;};const _0x4ec5ac=_0x19de6f;if(_0x4ec5ac['LCyKt'](process[_0x40852f(0x19d)][_0x40852f(0x154)],undefined))return bsSetupHelper[_0x40852f(0x18d)](process[_0x40852f(0x19d)]['BROWSERSTACK_ACCESSIBILITY']);let _0x1ab3da=_0x4ec5ac['taKuv'](process[_0x40852f(0x19d)][_0x40852f(0x1a2)],_0x4ec5ac['HhWWH']);return _0x4ec5ac[_0x40852f(0x131)](Object[_0x40852f(0x124)](_0x567673)[_0x40852f(0x155)],0x0)&&(process[_0x40852f(0x19d)][_0x40852f(0x14c)]=accessibilityHelper[_0x40852f(0x1b5)](_0x567673)),_0x1ab3da=_0x1ab3da||_0x4ec5ac[_0x40852f(0x183)](process['env'][_0x40852f(0x14c)],_0x4ec5ac['HhWWH']),_0x1ab3da;},exports[a140_0x11e280(0x147)]=(_0x45f3ae,_0x12d82f)=>{const _0xd21331=a140_0x11e280,_0x14acf8={'dCioy':function(_0x5e1fa8){return _0x5e1fa8();},'bxHZN':_0xd21331(0x1af),'ghCiM':function(_0x5a76cd,_0x45ab51,_0x1eaff2){return _0x5a76cd(_0x45ab51,_0x1eaff2);},'qpphd':_0xd21331(0x19f),'OknAh':_0xd21331(0x15b),'HQJdA':_0xd21331(0x190)};if(!_0x45f3ae||!_0x45f3ae[_0xd21331(0x19f)])return exports['handleErrorForObservability'](),[null,null,null];if(!_0x45f3ae[_0xd21331(0x19f)][_0xd21331(0x125)])return exports[_0xd21331(0x170)](_0x45f3ae[_0xd21331(0x19f)]),[null,null,null];if(_0x14acf8[_0xd21331(0x14d)](isTestObservabilitySession)){const _0xfbf800=_0x14acf8['bxHZN'][_0xd21331(0x11b)]('|');let _0x1ccf1b=0x0;while(!![]){switch(_0xfbf800[_0x1ccf1b++]){case'0':_0x14acf8[_0xd21331(0x1a3)](nestedKeyValue,_0x45f3ae,[_0x14acf8[_0xd21331(0x1a1)],_0x14acf8['OknAh']])&&(process[_0xd21331(0x19d)]['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x45f3ae[_0xd21331(0x19f)]['options'][_0xd21331(0x12f)]['toString']());continue;case'1':logger[_0xd21331(0x186)]('['+constants['TEST_REPORTING_ANALYTICS']+_0xd21331(0x11a)+_0x45f3ae[_0xd21331(0x12b)]);continue;case'2':if(_0x45f3ae[_0xd21331(0x181)]){process[_0xd21331(0x19d)]['BS_TESTOPS_JWT']=_0x45f3ae[_0xd21331(0x181)];const _0xada3f5={};_0xada3f5[_0xd21331(0x15e)]=_0x12d82f[_0xd21331(0x15e)],_0xada3f5['password']=_0x12d82f['password'],process['env']['CREDENTIALS_FOR_CRASH_REPORTING']=JSON[_0xd21331(0x13b)](_0xada3f5);}continue;case'3':process[_0xd21331(0x19d)][_0xd21331(0x1c5)]=_0x14acf8[_0xd21331(0x192)];continue;case'4':return[_0x45f3ae['jwt'],_0x45f3ae[_0xd21331(0x12b)],process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS']];case'5':_0x45f3ae['build_hashed_id']&&(process[_0xd21331(0x19d)][_0xd21331(0x1c4)]=_0x45f3ae[_0xd21331(0x12b)]);continue;}break;}}return[null,null,null];},exports['setAccessibilityVariables']=_0x25894e=>{const _0x4faa5b=a140_0x11e280,_0x456d12={'pdpQS':function(_0x13f60d,_0x2a31e1,_0x1e38ea){return _0x13f60d(_0x2a31e1,_0x1e38ea);},'rIGjI':'accessibility','Rblvg':_0x4faa5b(0x15b),'OzgGI':function(_0x4e9b6e,_0x4e2136,_0x38098d,_0x452139){return _0x4e9b6e(_0x4e2136,_0x38098d,_0x452139);},'NHBEB':_0x4faa5b(0x157),'ICOQN':'value','PiIMC':_0x4faa5b(0x1c8),'xgyaj':'commands','eNoYx':_0x4faa5b(0x18a),'dRheE':_0x4faa5b(0x120)};if(!_0x25894e[_0x4faa5b(0x1a5)])return exports[_0x4faa5b(0x1c1)](),[null,null];if(!_0x25894e[_0x4faa5b(0x1a5)][_0x4faa5b(0x125)])return exports[_0x4faa5b(0x1c1)](_0x25894e[_0x4faa5b(0x1a5)]),[null,null];if(_0x456d12[_0x4faa5b(0x185)](nestedKeyValue,_0x25894e,[_0x456d12[_0x4faa5b(0x139)],_0x456d12[_0x4faa5b(0x1c6)]])){const {accessibilityToken:_0x266e9f,scannerVersion:_0x5a15c9,scannerProcessingTimeout:_0x20f86a}=_0x456d12['OzgGI'](jsonifyAccessibilityArray,_0x25894e[_0x4faa5b(0x1a5)][_0x4faa5b(0x15b)][_0x4faa5b(0x1b6)],_0x456d12[_0x4faa5b(0x165)],_0x456d12[_0x4faa5b(0x14e)]),_0x5d76d6={'scripts':_0x456d12[_0x4faa5b(0x12d)](jsonifyAccessibilityArray,_0x25894e['accessibility']['options']['scripts'],_0x456d12[_0x4faa5b(0x165)],_0x456d12[_0x4faa5b(0x1a9)])};_0x5d76d6[_0x456d12[_0x4faa5b(0x17f)]]=_0x25894e[_0x4faa5b(0x1a5)][_0x4faa5b(0x15b)][_0x4faa5b(0x16a)][_0x4faa5b(0x18f)];const _0x399156=_0x456d12['OzgGI'](jsonifyAccessibilityArray,_0x25894e['accessibility'][_0x4faa5b(0x15b)]['capabilities'],_0x456d12[_0x4faa5b(0x165)],_0x456d12[_0x4faa5b(0x14e)]);_0x5d76d6[_0x456d12[_0x4faa5b(0x199)]]=_0x399156[_0x456d12[_0x4faa5b(0x1a4)]],scripts[_0x4faa5b(0x17c)](_0x5d76d6),scripts['toJson']();let _0x580085=process[_0x4faa5b(0x19d)][_0x4faa5b(0x1ac)];return _0x580085=!!_0x580085?JSON['parse'](_0x580085):{},_0x580085[_0x4faa5b(0x126)]=_0x5a15c9,process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x4faa5b(0x13b)](_0x580085),process[_0x4faa5b(0x19d)][_0x4faa5b(0x1b1)]=_0x266e9f,logger[_0x4faa5b(0x186)](_0x4faa5b(0x1ad)+_0x25894e[_0x4faa5b(0x12b)]),[_0x266e9f,_0x25894e['build_hashed_id'],_0x20f86a];}return[null,null];},exports[a140_0x11e280(0x170)]=_0x1463a1=>{const _0x2861f4=a140_0x11e280,_0x567d87={};_0x567d87['cipTz']=_0x2861f4(0x116),_0x567d87['oPZQB']=_0x2861f4(0x142),_0x567d87[_0x2861f4(0x191)]=_0x2861f4(0x198);const _0x4dd22b=_0x567d87,_0x1720ea=_0x4dd22b[_0x2861f4(0x152)][_0x2861f4(0x11b)]('|');let _0x4cb196=0x0;while(!![]){switch(_0x1720ea[_0x4cb196++]){case'0':process['env'][_0x2861f4(0x1a6)]=_0x4dd22b['oPZQB'];continue;case'1':process[_0x2861f4(0x19d)]['BS_TESTOPS_BUILD_COMPLETED']=_0x4dd22b[_0x2861f4(0x191)];continue;case'2':process[_0x2861f4(0x19d)][_0x2861f4(0x1c4)]=_0x4dd22b['oPZQB'];continue;case'3':process[_0x2861f4(0x19d)][_0x2861f4(0x115)]=_0x4dd22b[_0x2861f4(0x123)];continue;case'4':process['env'][_0x2861f4(0x156)]=_0x4dd22b[_0x2861f4(0x123)];continue;case'5':exports[_0x2861f4(0x1b2)](_0x1463a1,testHubConstants[_0x2861f4(0x128)]);continue;case'6':process[_0x2861f4(0x19d)][_0x2861f4(0x12a)]=_0x4dd22b[_0x2861f4(0x123)];continue;}break;}},exports[a140_0x11e280(0x1c1)]=_0x125eb3=>{const _0x13a9c5=a140_0x11e280,_0x669fdb={};_0x669fdb[_0x13a9c5(0x15a)]='0|2|4|3|1',_0x669fdb[_0x13a9c5(0x194)]=_0x13a9c5(0x142),_0x669fdb['hdFIU']=_0x13a9c5(0x198);const _0x39124c=_0x669fdb,_0x328feb=_0x39124c['tYdzR'][_0x13a9c5(0x11b)]('|');let _0x279cab=0x0;while(!![]){switch(_0x328feb[_0x279cab++]){case'0':process[_0x13a9c5(0x19d)][_0x13a9c5(0x156)]=_0x39124c[_0x13a9c5(0x194)];continue;case'1':exports[_0x13a9c5(0x1b2)](_0x125eb3,testHubConstants[_0x13a9c5(0x161)]);continue;case'2':process[_0x13a9c5(0x19d)][_0x13a9c5(0x12a)]=_0x39124c[_0x13a9c5(0x194)];continue;case'3':process[_0x13a9c5(0x19d)][_0x13a9c5(0x14c)]=_0x39124c[_0x13a9c5(0x14b)];continue;case'4':process['env'][_0x13a9c5(0x1a2)]=_0x39124c['hdFIU'];continue;}break;}},exports['logBuildError']=(_0x3630f9,_0x599e75='')=>{const _0x190c3a=a140_0x11e280,_0x776132={};_0x776132[_0x190c3a(0x171)]=function(_0x29ca04,_0x2417c3){return _0x29ca04===_0x2417c3;};const _0x51498d=_0x776132;if(_0x51498d[_0x190c3a(0x171)](_0x3630f9,undefined)){logger[_0x190c3a(0x1c0)](_0x599e75[_0x190c3a(0x167)]()+_0x190c3a(0x17a));return;}for(const _0x3c6d93 of _0x3630f9[_0x190c3a(0x193)]){const _0x205c57=_0x3c6d93['key'],_0x146bb0=_0x3c6d93['message'];if(_0x146bb0)switch(_0x205c57){case testHubConstants[_0x190c3a(0x1bc)]['INVALID_CREDENTIALS']:logger[_0x190c3a(0x1c0)](_0x146bb0);break;case testHubConstants[_0x190c3a(0x1bc)][_0x190c3a(0x1a0)]:logger[_0x190c3a(0x1b8)](_0x146bb0);break;case testHubConstants[_0x190c3a(0x1bc)]['DEPRECATED']:logger[_0x190c3a(0x1c0)](_0x146bb0);break;default:logger[_0x190c3a(0x1c0)](_0x146bb0);}}};const jsonifyAccessibilityArray=(_0x538e63,_0x2f3129,_0x688176)=>{const _0x452234={};return _0x538e63['forEach'](_0x4672ca=>{_0x452234[_0x4672ca[_0x2f3129]]=_0x4672ca[_0x688176];}),_0x452234;};exports[a140_0x11e280(0x127)]=_0x3ea2bf=>{const _0x366d8a=a140_0x11e280;_0x3ea2bf['jwt']&&(process[_0x366d8a(0x19d)][_0x366d8a(0x12a)]=_0x3ea2bf['jwt']);_0x3ea2bf[_0x366d8a(0x12b)]&&(process[_0x366d8a(0x19d)][_0x366d8a(0x156)]=_0x3ea2bf[_0x366d8a(0x12b)],logger[_0x366d8a(0x186)](_0x366d8a(0x11f)+_0x3ea2bf[_0x366d8a(0x12b)]));;},exports['shouldProcessEventForTesthub']=(_0x17b6a1='',_0x5a0ba1='')=>{const _0x2d4b97=a140_0x11e280,_0x4a9251={'DLnSW':function(_0x387152){return _0x387152();},'OHLZi':function(_0xa0d6f1,_0x31cde5){return _0xa0d6f1===_0x31cde5;},'akucP':_0x2d4b97(0x197),'bwFqU':_0x2d4b97(0x1aa),'WHzqD':'CBTSessionCreated','nSWLj':function(_0x2f5236){return _0x2f5236();},'ZuVMn':_0x2d4b97(0x158),'Ywsng':_0x2d4b97(0x1be),'QgqQP':function(_0x11e5e4){return _0x11e5e4();}};if(exports[_0x2d4b97(0x16b)]()&&!exports[_0x2d4b97(0x129)]()&&!_0x4a9251[_0x2d4b97(0x1a7)](isTestObservabilitySession)){if(_0x4a9251[_0x2d4b97(0x16c)](_0x5a0ba1,_0x4a9251['akucP']))return![];if([_0x4a9251[_0x2d4b97(0x166)],_0x4a9251[_0x2d4b97(0x11e)]][_0x2d4b97(0x11c)](_0x17b6a1))return![];return!![];}if(exports[_0x2d4b97(0x129)]()&&!_0x4a9251[_0x2d4b97(0x145)](isTestObservabilitySession)){if([_0x4a9251[_0x2d4b97(0x180)],_0x4a9251[_0x2d4b97(0x1b9)],_0x4a9251[_0x2d4b97(0x166)]][_0x2d4b97(0x11c)](_0x17b6a1))return![];return!![];}return exports[_0x2d4b97(0x129)]()||_0x4a9251[_0x2d4b97(0x149)](isTestObservabilitySession)||exports['isPercyBuild']();},exports[a140_0x11e280(0x117)]=(_0x2f3e4c,_0x538365,_0x366016='',_0x456fd1)=>{const _0x55344b=a140_0x11e280,_0x461771={};_0x461771['kkZOT']=_0x55344b(0x158),_0x461771['MGGLp']=_0x55344b(0x1be),_0x461771[_0x55344b(0x178)]=function(_0x39de0d,_0xa82688){return _0x39de0d===_0xa82688;},_0x461771[_0x55344b(0x1c3)]=_0x55344b(0x135),_0x461771[_0x55344b(0x140)]='isAccessibilityPlatform',_0x461771[_0x55344b(0x195)]=_0x55344b(0x1a5),_0x461771[_0x55344b(0x162)]=function(_0x2b4bd4,_0x59caa6){return _0x2b4bd4&&_0x59caa6;},_0x461771[_0x55344b(0x168)]=function(_0x45525f,_0x3a463f){return _0x45525f+_0x3a463f;},_0x461771[_0x55344b(0x144)]=function(_0x15ff44,_0x3d9978){return _0x15ff44&&_0x3d9978;},_0x461771[_0x55344b(0x134)]=function(_0x2ef5dd,_0x5c0403){return _0x2ef5dd===_0x5c0403;},_0x461771[_0x55344b(0x187)]=function(_0xa3c190,_0x1a2bdc){return _0xa3c190===_0x1a2bdc;},_0x461771[_0x55344b(0x13c)]=_0x55344b(0x150),_0x461771[_0x55344b(0x19c)]='product_map';const _0x41907c=_0x461771;if(![_0x41907c[_0x55344b(0x13a)],_0x41907c[_0x55344b(0x1ae)]]['includes'](_0x538365)&&exports['isAccessibilityEnabled']()){const _0x507563={};if(_0x41907c['Jales'](_0x456fd1,FRAMEWORKS['MOCHA'])){const _0x2eb2a1=globals[_0x55344b(0x1bf)](_0x41907c[_0x55344b(0x1c3)])||accessibilityHelper[_0x55344b(0x118)](_0x366016[_0x55344b(0x16d)](),!![]),_0x4d5cac=globals['getGlobal'](_0x41907c['IUCHz']);_0x507563[_0x41907c['PFvGZ']]=_0x41907c[_0x55344b(0x162)](_0x4d5cac,_0x2eb2a1);}if(_0x41907c['Jales'](_0x456fd1,FRAMEWORKS[_0x55344b(0x17d)])){const _0x14df41=_0x41907c[_0x55344b(0x168)](_0x41907c[_0x55344b(0x168)](_0x2f3e4c[_0x55344b(0x176)][_0x55344b(0x141)]('\x20'),'\x20'),_0x366016['name']),_0x39f722=globals[_0x55344b(0x1bf)](_0x41907c[_0x55344b(0x1c3)])||accessibilityHelper[_0x55344b(0x118)](_0x14df41,![]),_0x296146=browserStackGlobals['isAccessibilityPlatform'];_0x507563[_0x41907c['PFvGZ']]=_0x41907c['dYukd'](_0x296146,_0x39f722);}if(_0x41907c['DCwIt'](_0x456fd1,FRAMEWORKS['PLAYWRIGHT'])){if(_0x41907c[_0x55344b(0x187)](_0x538365,_0x41907c['FEAfc']))return;_0x507563[_0x41907c[_0x55344b(0x195)]]=PWTestDetails[_0x55344b(0x19e)](_0x2f3e4c[_0x55344b(0x1a8)]);}if(_0x41907c['Jales'](_0x456fd1,FRAMEWORKS['CODECEPT'])){const _0x590b8f=accessibilityHelper[_0x55344b(0x118)](_0x366016['titlePath'](),!![]),_0x404f81=global[_0x55344b(0x164)];_0x507563[_0x41907c[_0x55344b(0x195)]]=_0x41907c[_0x55344b(0x144)](_0x404f81,_0x590b8f);}if(_0x41907c['zuIUp'](_0x456fd1,FRAMEWORKS[_0x55344b(0x15c)])){const _0x1c4c44=accessibilityHelper['shouldScanTestForAccessibility'](null,![],_0x2f3e4c[_0x55344b(0x169)]),_0x3ac582=globals[_0x55344b(0x1bf)](_0x41907c[_0x55344b(0x140)]);_0x507563[_0x41907c[_0x55344b(0x195)]]=_0x41907c[_0x55344b(0x162)](_0x3ac582,_0x1c4c44);}_0x2f3e4c[_0x41907c[_0x55344b(0x19c)]]=_0x507563;}},exports[a140_0x11e280(0x17b)]=_0xc85cfc=>{const _0x5f1864=a140_0x11e280,_0x1b57e6={};_0x1b57e6['CaDYm']=function(_0x495700,_0x5a16cb){return _0x495700>_0x5a16cb;};const _0x178b98=_0x1b57e6;let _0x509357={};if(_0x178b98[_0x5f1864(0x12c)](Object[_0x5f1864(0x124)](testData)['length'],0x0))return testData;_0x509357=JestTestDetails[_0x5f1864(0x19b)]();if(_0x178b98['CaDYm'](Object[_0x5f1864(0x124)](_0x509357)[_0x5f1864(0x155)],0x0))return _0x509357;return _0x509357;},exports[a140_0x11e280(0x1ba)]=(_0x2ba90c,_0x3078df={})=>{const _0x2f421c=a140_0x11e280;if(bsSetupHelper[_0x2f421c(0x146)](_0x3078df[_0x2f421c(0x174)]))return;switch(_0x2ba90c){case FRAMEWORKS['MOCHA']:testData=_0x3078df['test_run'];break;case FRAMEWORKS['JEST']:JestTestDetails[_0x2f421c(0x130)](_0x3078df[_0x2f421c(0x174)]);break;default:break;}},exports[a140_0x11e280(0x133)]=_0x1b7ca8=>{const _0x3d837e=a140_0x11e280,_0x1eee80={};_0x1eee80[_0x3d837e(0x114)]=function(_0x14a013,_0xfb13cb){return _0x14a013!==_0xfb13cb;},_0x1eee80[_0x3d837e(0x143)]=function(_0x5934ad,_0x162977){return _0x5934ad!==_0x162977;};const _0x147300=_0x1eee80;if(_0x147300['rHRUV'](_0x1b7ca8[_0x3d837e(0x1a5)],null)&&_0x147300[_0x3d837e(0x114)](_0x1b7ca8['accessibility'],undefined))return _0x1b7ca8[_0x3d837e(0x1a5)];let _0x3d8dfa=![],_0x1aa145=![];if(_0x1b7ca8[_0x3d837e(0x12e)])for(const _0x154a6e of _0x1b7ca8[_0x3d837e(0x12e)]){_0x147300['rHRUV'](_0x154a6e[_0x3d837e(0x1a5)],null)&&_0x147300['DTfNM'](_0x154a6e[_0x3d837e(0x1a5)],undefined)&&(_0x3d8dfa=_0x3d8dfa||bsSetupHelper[_0x3d837e(0x18d)](_0x154a6e[_0x3d837e(0x1a5)]),_0x1aa145=!![]);}if(_0x1aa145)return _0x3d8dfa;return null;},exports[a140_0x11e280(0x122)]=_0x539aac=>{const _0xb78927=a140_0x11e280,_0x338e6f=new OrchestrationUtils(_0x539aac);return _0x338e6f[_0xb78927(0x19a)]();},exports[a140_0x11e280(0x1b0)]=_0x4f12a3=>{const _0x4d18d8=a140_0x11e280,_0x306139={'HFSki':function(_0x314dcb){return _0x314dcb();}};let _0x324ca4=![],_0x24e3a2=![];if(bsSetupHelper['isBrowserstackInfra']()&&_0x4f12a3[_0x4d18d8(0x1c9)])_0x24e3a2=!![];else bsSetupHelper['isBrowserstackInfra']()&&(_0x324ca4=!![]);return Object[_0x4d18d8(0x1c2)]({'observability':_0x306139[_0x4d18d8(0x184)](isTestObservabilitySession),'accessibility':exports[_0x4d18d8(0x133)](_0x4f12a3),'percy':_0x4f12a3[_0x4d18d8(0x1bd)]||![],'automate':_0x324ca4,'app_automate':_0x24e3a2,'turboscale':bsSetupHelper[_0x4d18d8(0x11d)](_0x4f12a3),'lts':LoadTestModule[_0x4d18d8(0x1b3)](_0x4f12a3)},bsSetupHelper[_0x4d18d8(0x175)]());};
1
+ function a140_0x7a8a(){const _0x270a39=['HookRunStarted','MOCHA','../../bin/v2/modules/loadTestModule','93289wyJtUA','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','test_run','2|1|4|3|0','bAAhx','765253lzCzJl','BS_TESTOPS_JWT','YCsYz','2187284xVOKIO','ACCESSIBILITY','../../bin/utils/constants.js','QoJHo','isLTSSession','commands','hxXYb','message','../../bin/jest/test-observability/test-details.js','KcROk','setTestHubCommonMetaInfo','lKQGR','error','CBTSessionCreated','value','JUKaJ','isPercyBuild','90266IznyQl','pLCgH','IzEfJ','ydCgd','winstonLogger','LogCreated','138bRwuEG','5ZqgvFF','NVdQp','scannerVersion','4345122ayTbLH','lcnER','TEST_REPORTING_ANALYTICS','config','ZcPZf','scripts','setTestObservabilityVariables','WveCp','PLAYWRIGHT','jwt','OvlHX','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','keys','username','ERROR','nfeEe','BROWSERSTACK_TESTHUB_JWT','tags','stringify','BS_TESTOPS_BUILD_COMPLETED','../test-orchestration/orchestrationUtils.js','crxuv','qBbtD','setPercyFlag','BS_TESTOPS_BUILD_HASHED_ID','getProductMapForBuildStartCall','DvxpJ','TOKHE','wQaUa','isAccessibilityEnabled','yIVyT','scopes','YyqAV','1|4|2|0|6|3|5','getCentralUser','info','false','observability','product_map','uBYwS','accessibilityPlatform','../logger','appendTesthubParams','DPfnj','length','YugKe','iCKsv','../test-observability/utils','toString','getAgentVersion','QFVBW','getProductMap','FbJIt','uiCAO','build_hashed_id','8PJXTMP','Ootvk','pflZP','CUCUMBER','parseFromJson','../globals.js','VNGny','JZzSD','debug','handleErrorForObservability','getTestData','setTestData','toUpperCase','../test-observability/constants.js','BROWSERSTACK_ACCESSIBILITY','RIbtG','env','setAccessibilityVariables','getAccessibilityValueFromYml','ojRhl','BROWSERSTACK_PERCY','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','uuid','FRAMEWORK_DETAILS','getFrameworkDetails','ufPIf','checkAccessibilityPlatformConfig','DNhcf','dnUvQ','BS_TESTOPS_ALLOW_SCREENSHOTS','key','name','CREDENTIALS_FOR_CRASH_REPORTING','taHBb','null','DEPRECATED','aJGAx','accessibility','330374QbycfV','isRunning','TestRunStarted','setCurrentTestData','shouldScanTestForAccessibility','success','../helper.js','isUndefined','YMcmc','Ovddd','NEuVH','BROWSERSTACK_TESTHUB_UUID','percy','isAccessibilityPlatform','isTrue','VwHnC','platforms','errors','password','../accessibility-automation/scripts.js','11735190ddAGdg','CODECEPT','./constants.js','javascript','getAccessibilityPlatformValidation','1180vpGwSn','app','isBrowserstackInfra','assign','JEST','split','titlePath','BROWSERSTACK_TEST_ACCESSIBILITY_YML','commandsToWrap','true','AYSNq','getGlobal','forEach','bstackA11yShouldScan','options','toJson','HookRunFinished','HdsGL','cnGTe','BS_A11Y_JWT','handleErrorForAccessibility','getBuildStartData','txLaR','getTestOrchestrationBuildStartData','isTurboScaleSession','rVvKP','umbrp'];a140_0x7a8a=function(){return _0x270a39;};return a140_0x7a8a();}const a140_0xf9525d=a140_0x4242;(function(_0x184648,_0x52ba88){const _0x400436=a140_0x4242,_0x52e2c0=_0x184648();while(!![]){try{const _0x204396=-parseInt(_0x400436(0x145))/0x1+-parseInt(_0x400436(0x109))/0x2+-parseInt(_0x400436(0xac))/0x3+-parseInt(_0x400436(0x148))/0x4*(-parseInt(_0x400436(0xa9))/0x5)+-parseInt(_0x400436(0xa8))/0x6*(-parseInt(_0x400436(0x140))/0x7)+-parseInt(_0x400436(0xe3))/0x8*(-parseInt(_0x400436(0x11d))/0x9)+-parseInt(_0x400436(0x122))/0xa*(-parseInt(_0x400436(0xa2))/0xb);if(_0x204396===_0x52ba88)break;else _0x52e2c0['push'](_0x52e2c0['shift']());}catch(_0x1c2bd0){_0x52e2c0['push'](_0x52e2c0['shift']());}}}(a140_0x7a8a,0xb64fa));function a140_0x4242(_0x38d163,_0xdd20b4){const _0x7a8a2c=a140_0x7a8a();return a140_0x4242=function(_0x4242cf,_0x4afaf5){_0x4242cf=_0x4242cf-0x92;let _0x303b75=_0x7a8a2c[_0x4242cf];return _0x303b75;},a140_0x4242(_0x38d163,_0xdd20b4);}const bsSetupHelper=require('../helper'),LoadTestModule=require(a140_0xf9525d(0x13f)),{isTestObservabilitySession,getFrameworkVersion}=require(a140_0xf9525d(0xdb)),accessibilityHelper=require('../accessibility-automation/helper'),logger=require(a140_0xf9525d(0xd5))[a140_0xf9525d(0xa6)],{nestedKeyValue}=require(a140_0xf9525d(0x10f)),scripts=require(a140_0xf9525d(0x11c)),globals=require(a140_0xf9525d(0xe8)),testHubConstants=require(a140_0xf9525d(0x11f)),PWTestDetails=require('../../bin/playwright/reporter/test-details.js'),JestTestDetails=require(a140_0xf9525d(0x99)),{FRAMEWORKS}=require(a140_0xf9525d(0xf0)),{isTurboScaleSession}=require('../ats/helper'),OrchestrationUtils=require(a140_0xf9525d(0xc0)),constants=require(a140_0xf9525d(0x93));let testData={};exports[a140_0xf9525d(0xdf)]=_0x3c3874=>{const _0x42923a=a140_0xf9525d,_0x25a2ef={'AYSNq':function(_0x3b1362){return _0x3b1362();}};let _0x4304a4=![],_0x322801=![];if(bsSetupHelper[_0x42923a(0x124)]()&&_0x3c3874[_0x42923a(0x123)])_0x322801=!![];else bsSetupHelper[_0x42923a(0x124)]()&&(_0x4304a4=!![]);return Object['assign']({'observability':_0x25a2ef[_0x42923a(0x12c)](isTestObservabilitySession),'accessibility':exports[_0x42923a(0xc9)](_0x3c3874),'percy':_0x3c3874['percy']||![],'automate':_0x4304a4,'app_automate':_0x322801,'turboscale':bsSetupHelper[_0x42923a(0x13a)](_0x3c3874),'lts':LoadTestModule['isLTSSession'](_0x3c3874)},bsSetupHelper['getCentralUser']());},exports[a140_0xf9525d(0xfb)]=(_0x4d7549,_0xcf8fee)=>{const _0xd2151e=a140_0xf9525d,_0x3d49c3={'pflZP':function(_0x37ef91,_0x3a48c9){return _0x37ef91(_0x3a48c9);},'OvlHX':_0xd2151e(0x120)},_0x3c8b81={'frameworkName':_0xcf8fee,'frameworkVersion':_0x3d49c3[_0xd2151e(0xe5)](getFrameworkVersion,_0xcf8fee),'sdkVersion':bsSetupHelper[_0xd2151e(0xdd)](),'language':_0x3d49c3[_0xd2151e(0xb6)],'testFramework':bsSetupHelper['getTestFrameworkDetails'](_0x4d7549,_0xcf8fee)};return process[_0xd2151e(0xf3)][_0xd2151e(0xfa)]=JSON['stringify'](_0x3c8b81),_0x3c8b81;},exports[a140_0xf9525d(0xc3)]=_0x4fbfca=>{const _0x3d0bee=a140_0xf9525d,_0x128a93={};_0x128a93['JZzSD']='false',_0x128a93[_0x3d0bee(0x111)]='true';const _0x943ffc=_0x128a93;process[_0x3d0bee(0xf3)][_0x3d0bee(0xf7)]=_0x943ffc[_0x3d0bee(0xea)],bsSetupHelper[_0x3d0bee(0x117)](_0x4fbfca[_0x3d0bee(0xaf)]['percy'])&&(!_0x4fbfca[_0x3d0bee(0x115)]||!_0x4fbfca['percy'][_0x3d0bee(0x10a)]())&&(process[_0x3d0bee(0xf3)][_0x3d0bee(0xf7)]=_0x943ffc[_0x3d0bee(0x111)]);},exports[a140_0xf9525d(0xa1)]=()=>{const _0x62c47d=a140_0xf9525d;return bsSetupHelper['isTrue'](process[_0x62c47d(0xf3)][_0x62c47d(0xf7)]);},exports['isAccessibilityEnabled']=(_0x53f4b0={})=>{const _0x2dfa63=a140_0xf9525d,_0x2abf9c={};_0x2abf9c[_0x2dfa63(0x112)]=function(_0x184f83,_0x41ff09){return _0x184f83!==_0x41ff09;},_0x2abf9c[_0x2dfa63(0xfc)]=function(_0x29a113,_0x3c30c5){return _0x29a113===_0x3c30c5;},_0x2abf9c['KGtOa']=_0x2dfa63(0x12b),_0x2abf9c[_0x2dfa63(0x107)]=function(_0x3c1075,_0x38909e){return _0x3c1075>_0x38909e;},_0x2abf9c[_0x2dfa63(0xc2)]=function(_0x1e4d37,_0x29dea0){return _0x1e4d37===_0x29dea0;};const _0x18e014=_0x2abf9c;if(_0x18e014[_0x2dfa63(0x112)](process[_0x2dfa63(0xf3)]['BROWSERSTACK_ACCESSIBILITY'],undefined))return bsSetupHelper['isTrue'](process[_0x2dfa63(0xf3)][_0x2dfa63(0xf1)]);let _0x336c3e=_0x18e014[_0x2dfa63(0xfc)](process[_0x2dfa63(0xf3)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x18e014['KGtOa']);return _0x18e014['aJGAx'](Object[_0x2dfa63(0xb8)](_0x53f4b0)['length'],0x0)&&(process[_0x2dfa63(0xf3)][_0x2dfa63(0x141)]=accessibilityHelper[_0x2dfa63(0xfd)](_0x53f4b0)),_0x336c3e=_0x336c3e||_0x18e014[_0x2dfa63(0xc2)](process[_0x2dfa63(0xf3)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM'],_0x18e014['KGtOa']),_0x336c3e;},exports[a140_0xf9525d(0xb2)]=(_0x5719a3,_0x2e929e)=>{const _0x364303=a140_0xf9525d,_0x252494={'nfeEe':function(_0x5d26f8){return _0x5d26f8();},'VwHnC':'3|0|5|4|1|2','IzEfJ':'true','DPfnj':function(_0xd6d757,_0x5165bf,_0x546c90){return _0xd6d757(_0x5165bf,_0x546c90);},'lcnER':_0x364303(0xd1),'umbrp':_0x364303(0x130)};if(!_0x5719a3||!_0x5719a3[_0x364303(0xd1)])return exports[_0x364303(0xec)](),[null,null,null];if(!_0x5719a3['observability'][_0x364303(0x10e)])return exports[_0x364303(0xec)](_0x5719a3['observability']),[null,null,null];if(_0x252494[_0x364303(0xbb)](isTestObservabilitySession)){const _0x3e6640=_0x252494[_0x364303(0x118)]['split']('|');let _0x1aee4a=0x0;while(!![]){switch(_0x3e6640[_0x1aee4a++]){case'0':if(_0x5719a3[_0x364303(0xb5)]){process[_0x364303(0xf3)][_0x364303(0x146)]=_0x5719a3['jwt'];const _0x1e2379={};_0x1e2379[_0x364303(0xb9)]=_0x2e929e['username'],_0x1e2379[_0x364303(0x11b)]=_0x2e929e[_0x364303(0x11b)],process[_0x364303(0xf3)][_0x364303(0x103)]=JSON[_0x364303(0xbe)](_0x1e2379);}continue;case'1':logger[_0x364303(0xeb)]('['+constants[_0x364303(0xae)]+']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20'+_0x5719a3[_0x364303(0xe2)]);continue;case'2':return[_0x5719a3[_0x364303(0xb5)],_0x5719a3[_0x364303(0xe2)],process[_0x364303(0xf3)][_0x364303(0x100)]];case'3':process[_0x364303(0xf3)][_0x364303(0xbf)]=_0x252494[_0x364303(0xa4)];continue;case'4':_0x252494[_0x364303(0xd7)](nestedKeyValue,_0x5719a3,[_0x252494[_0x364303(0xad)],_0x252494[_0x364303(0x13c)]])&&(process['env'][_0x364303(0x100)]=_0x5719a3[_0x364303(0xd1)]['options']['allow_screenshots'][_0x364303(0xdc)]());continue;case'5':_0x5719a3[_0x364303(0xe2)]&&(process['env']['BS_TESTOPS_BUILD_HASHED_ID']=_0x5719a3[_0x364303(0xe2)]);continue;}break;}}return[null,null,null];},exports[a140_0xf9525d(0xf4)]=_0x2642de=>{const _0x2dfc91=a140_0xf9525d,_0x5c0f01={'DNhcf':function(_0xf8339a,_0x3cc698,_0x159b12){return _0xf8339a(_0x3cc698,_0x159b12);},'ESzTa':_0x2dfc91(0x108),'jeHuW':'options','AgFHW':function(_0x58c098,_0x3c6b40,_0x236456,_0x1e980d){return _0x58c098(_0x3c6b40,_0x236456,_0x1e980d);},'QoJHo':_0x2dfc91(0x102),'QFVBW':_0x2dfc91(0x9f),'uaTOd':function(_0x1702aa,_0x1d1959,_0x1f272d,_0x34a76a){return _0x1702aa(_0x1d1959,_0x1f272d,_0x34a76a);},'TOKHE':'command','DvxpJ':_0x2dfc91(0x96),'bAAhx':function(_0x31727d,_0x2e3e1f,_0x3734f4,_0x216f83){return _0x31727d(_0x2e3e1f,_0x3734f4,_0x216f83);},'bFetW':'nonBStackInfraA11yChromeOptions','Ootvk':'goog:chromeOptions'};if(!_0x2642de[_0x2dfc91(0x108)])return exports[_0x2dfc91(0x136)](),[null,null];if(!_0x2642de[_0x2dfc91(0x108)][_0x2dfc91(0x10e)])return exports[_0x2dfc91(0x136)](_0x2642de['accessibility']),[null,null];if(_0x5c0f01[_0x2dfc91(0xfe)](nestedKeyValue,_0x2642de,[_0x5c0f01['ESzTa'],_0x5c0f01['jeHuW']])){const {accessibilityToken:_0x229c19,scannerVersion:_0x498841,scannerProcessingTimeout:_0x204642}=_0x5c0f01['AgFHW'](jsonifyAccessibilityArray,_0x2642de[_0x2dfc91(0x108)]['options']['capabilities'],_0x5c0f01[_0x2dfc91(0x94)],_0x5c0f01[_0x2dfc91(0xde)]),_0x682966={'scripts':_0x5c0f01['uaTOd'](jsonifyAccessibilityArray,_0x2642de[_0x2dfc91(0x108)][_0x2dfc91(0x130)][_0x2dfc91(0xb1)],_0x5c0f01[_0x2dfc91(0x94)],_0x5c0f01[_0x2dfc91(0xc7)])};_0x682966[_0x5c0f01[_0x2dfc91(0xc6)]]=_0x2642de[_0x2dfc91(0x108)][_0x2dfc91(0x130)][_0x2dfc91(0x12a)][_0x2dfc91(0x96)];const _0x49b9d6=_0x5c0f01[_0x2dfc91(0x144)](jsonifyAccessibilityArray,_0x2642de[_0x2dfc91(0x108)][_0x2dfc91(0x130)]['capabilities'],_0x5c0f01['QoJHo'],_0x5c0f01[_0x2dfc91(0xde)]);_0x682966[_0x5c0f01['bFetW']]=_0x49b9d6[_0x5c0f01[_0x2dfc91(0xe4)]],scripts[_0x2dfc91(0xe7)](_0x682966),scripts[_0x2dfc91(0x131)]();let _0x782bf=process[_0x2dfc91(0xf3)][_0x2dfc91(0xb7)];return _0x782bf=!!_0x782bf?JSON['parse'](_0x782bf):{},_0x782bf[_0x2dfc91(0xab)]=_0x498841,process[_0x2dfc91(0xf3)][_0x2dfc91(0xb7)]=JSON[_0x2dfc91(0xbe)](_0x782bf),process[_0x2dfc91(0xf3)][_0x2dfc91(0x135)]=_0x229c19,logger[_0x2dfc91(0xeb)](_0x2dfc91(0xf8)+_0x2642de[_0x2dfc91(0xe2)]),[_0x229c19,_0x2642de[_0x2dfc91(0xe2)],_0x204642];}return[null,null];},exports['handleErrorForObservability']=_0x228f77=>{const _0x4f4024=a140_0xf9525d,_0x1f3f22={};_0x1f3f22[_0x4f4024(0xe1)]=_0x4f4024(0xcd),_0x1f3f22['VNGny']=_0x4f4024(0x105),_0x1f3f22[_0x4f4024(0xc1)]='false';const _0x273150=_0x1f3f22,_0x33644f=_0x273150[_0x4f4024(0xe1)]['split']('|');let _0x4025ae=0x0;while(!![]){switch(_0x33644f[_0x4025ae++]){case'0':process[_0x4f4024(0xf3)]['BS_TESTOPS_JWT']=_0x273150['VNGny'];continue;case'1':process['env'][_0x4f4024(0x114)]=_0x273150['VNGny'];continue;case'2':process[_0x4f4024(0xf3)]['BS_TESTOPS_BUILD_COMPLETED']=_0x273150[_0x4f4024(0xc1)];continue;case'3':process[_0x4f4024(0xf3)][_0x4f4024(0x100)]=_0x273150[_0x4f4024(0xe9)];continue;case'4':process['env']['BROWSERSTACK_TESTHUB_JWT']=_0x273150[_0x4f4024(0xe9)];continue;case'5':exports['logBuildError'](_0x228f77,testHubConstants['OBSERVABILITY']);continue;case'6':process[_0x4f4024(0xf3)][_0x4f4024(0xc4)]=_0x273150[_0x4f4024(0xe9)];continue;}break;}},exports['handleErrorForAccessibility']=_0x1e5ec2=>{const _0x4d02bc=a140_0xf9525d,_0x31170d={};_0x31170d[_0x4d02bc(0x138)]=_0x4d02bc(0x143),_0x31170d[_0x4d02bc(0x13b)]=_0x4d02bc(0x105),_0x31170d['kmNJE']=_0x4d02bc(0xd0);const _0x5d8629=_0x31170d,_0x541f56=_0x5d8629[_0x4d02bc(0x138)][_0x4d02bc(0x127)]('|');let _0xeaa605=0x0;while(!![]){switch(_0x541f56[_0xeaa605++]){case'0':exports['logBuildError'](_0x1e5ec2,testHubConstants[_0x4d02bc(0x92)]);continue;case'1':process[_0x4d02bc(0xf3)][_0x4d02bc(0xbc)]=_0x5d8629[_0x4d02bc(0x13b)];continue;case'2':process[_0x4d02bc(0xf3)]['BROWSERSTACK_TESTHUB_UUID']=_0x5d8629[_0x4d02bc(0x13b)];continue;case'3':process[_0x4d02bc(0xf3)][_0x4d02bc(0x141)]=_0x5d8629['kmNJE'];continue;case'4':process['env'][_0x4d02bc(0x129)]=_0x5d8629['kmNJE'];continue;}break;}},exports['logBuildError']=(_0x4b319a,_0x770738='')=>{const _0x5e0ac2=a140_0xf9525d,_0x4cab49={};_0x4cab49[_0x5e0ac2(0xf6)]=function(_0x528840,_0x541ed3){return _0x528840===_0x541ed3;};const _0x3c977a=_0x4cab49;if(_0x3c977a[_0x5e0ac2(0xf6)](_0x4b319a,undefined)){logger[_0x5e0ac2(0x9d)](_0x770738[_0x5e0ac2(0xef)]()+'\x20Build\x20creation\x20failed');return;}for(const _0x36b6f3 of _0x4b319a[_0x5e0ac2(0x11a)]){const _0x3f65a4=_0x36b6f3[_0x5e0ac2(0x101)],_0x476cf5=_0x36b6f3[_0x5e0ac2(0x98)];if(_0x476cf5)switch(_0x3f65a4){case testHubConstants[_0x5e0ac2(0xba)]['INVALID_CREDENTIALS']:logger[_0x5e0ac2(0x9d)](_0x476cf5);break;case testHubConstants[_0x5e0ac2(0xba)]['ACCESS_DENIED']:logger[_0x5e0ac2(0xcf)](_0x476cf5);break;case testHubConstants[_0x5e0ac2(0xba)][_0x5e0ac2(0x106)]:logger[_0x5e0ac2(0x9d)](_0x476cf5);break;default:logger['error'](_0x476cf5);}}};const jsonifyAccessibilityArray=(_0x1fcc33,_0x6f3725,_0x14b08b)=>{const _0x354cb3=a140_0xf9525d,_0xbfe8ba={};return _0x1fcc33[_0x354cb3(0x12e)](_0x37ed21=>{_0xbfe8ba[_0x37ed21[_0x6f3725]]=_0x37ed21[_0x14b08b];}),_0xbfe8ba;};exports[a140_0xf9525d(0x9b)]=_0x2352a6=>{const _0x52a804=a140_0xf9525d;_0x2352a6[_0x52a804(0xb5)]&&(process[_0x52a804(0xf3)][_0x52a804(0xbc)]=_0x2352a6[_0x52a804(0xb5)]);_0x2352a6[_0x52a804(0xe2)]&&(process['env'][_0x52a804(0x114)]=_0x2352a6[_0x52a804(0xe2)],logger[_0x52a804(0xeb)]('BROWSERSTACK_TESTHUB_UUID:\x20'+_0x2352a6['build_hashed_id']));;},exports['shouldProcessEventForTesthub']=(_0x3630d1='',_0x40999e='')=>{const _0x399b49=a140_0xf9525d,_0x1670c={'uBYwS':function(_0x1f1c74){return _0x1f1c74();},'wQaUa':function(_0x99da01,_0x17c80b){return _0x99da01===_0x17c80b;},'SFnfS':'uploadEventData','dnUvQ':_0x399b49(0xa7),'taHBb':_0x399b49(0x9e),'XvFnW':_0x399b49(0x13d),'FCHuK':_0x399b49(0x132)};if(exports[_0x399b49(0xa1)]()&&!exports['isAccessibilityEnabled']()&&!_0x1670c[_0x399b49(0xd3)](isTestObservabilitySession)){if(_0x1670c[_0x399b49(0xc8)](_0x40999e,_0x1670c['SFnfS']))return![];if([_0x1670c[_0x399b49(0xff)],_0x1670c[_0x399b49(0x104)]]['includes'](_0x3630d1))return![];return!![];}if(exports[_0x399b49(0xc9)]()&&!_0x1670c[_0x399b49(0xd3)](isTestObservabilitySession)){if([_0x1670c['XvFnW'],_0x1670c['FCHuK'],_0x1670c[_0x399b49(0xff)]]['includes'](_0x3630d1))return![];return!![];}return exports[_0x399b49(0xc9)]()||_0x1670c['uBYwS'](isTestObservabilitySession)||exports['isPercyBuild']();},exports[a140_0xf9525d(0xd6)]=(_0x124616,_0x36d36c,_0x5176ab='',_0x5b2683)=>{const _0x3988f1=a140_0xf9525d,_0x3dd98f={};_0x3dd98f[_0x3988f1(0x97)]=_0x3988f1(0x13d),_0x3dd98f['FbJIt']=_0x3988f1(0x132),_0x3dd98f[_0x3988f1(0xda)]=function(_0x849764,_0x4141e1){return _0x849764===_0x4141e1;},_0x3dd98f[_0x3988f1(0xb0)]=_0x3988f1(0x12f),_0x3dd98f[_0x3988f1(0x133)]=_0x3988f1(0x116),_0x3dd98f['WveCp']=_0x3988f1(0x108),_0x3dd98f['YCsYz']=function(_0x56eb74,_0x5d670b){return _0x56eb74&&_0x5d670b;},_0x3dd98f[_0x3988f1(0x113)]=function(_0x457994,_0x9ccc09){return _0x457994+_0x9ccc09;},_0x3dd98f[_0x3988f1(0xf2)]=function(_0x14704c,_0x2c6150){return _0x14704c&&_0x2c6150;},_0x3dd98f[_0x3988f1(0xa3)]=function(_0x1b680e,_0x11e93a){return _0x1b680e===_0x11e93a;},_0x3dd98f[_0x3988f1(0xcc)]=function(_0x4fe862,_0x339080){return _0x4fe862===_0x339080;},_0x3dd98f[_0x3988f1(0xa0)]=_0x3988f1(0x10b),_0x3dd98f[_0x3988f1(0x134)]=function(_0xc1b41d,_0x23af2e){return _0xc1b41d===_0x23af2e;},_0x3dd98f[_0x3988f1(0xd9)]=function(_0x4c13ad,_0x2cbf4a){return _0x4c13ad&&_0x2cbf4a;},_0x3dd98f[_0x3988f1(0xca)]=function(_0xbb6633,_0x26e3aa){return _0xbb6633&&_0x26e3aa;},_0x3dd98f[_0x3988f1(0xa5)]=_0x3988f1(0xd2);const _0x39e068=_0x3dd98f;if(![_0x39e068[_0x3988f1(0x97)],_0x39e068[_0x3988f1(0xe0)]]['includes'](_0x36d36c)&&exports[_0x3988f1(0xc9)]()){const _0x1c966f={};if(_0x39e068[_0x3988f1(0xda)](_0x5b2683,FRAMEWORKS['MOCHA'])){const _0x5f58b5=globals[_0x3988f1(0x12d)](_0x39e068[_0x3988f1(0xb0)])||accessibilityHelper[_0x3988f1(0x10d)](_0x5176ab[_0x3988f1(0x128)](),!![]),_0x77b5b5=globals[_0x3988f1(0x12d)](_0x39e068[_0x3988f1(0x133)]);_0x1c966f[_0x39e068[_0x3988f1(0xb3)]]=_0x39e068[_0x3988f1(0x147)](_0x77b5b5,_0x5f58b5);}if(_0x39e068[_0x3988f1(0xda)](_0x5b2683,FRAMEWORKS[_0x3988f1(0x126)])){const _0x44b07a=_0x39e068[_0x3988f1(0x113)](_0x39e068[_0x3988f1(0x113)](_0x124616[_0x3988f1(0xcb)]['join']('\x20'),'\x20'),_0x5176ab[_0x3988f1(0x102)]),_0x59935b=globals[_0x3988f1(0x12d)](_0x39e068['ZcPZf'])||accessibilityHelper[_0x3988f1(0x10d)](_0x44b07a,![]),_0x1e7deb=browserStackGlobals[_0x3988f1(0x116)];_0x1c966f[_0x39e068[_0x3988f1(0xb3)]]=_0x39e068[_0x3988f1(0xf2)](_0x1e7deb,_0x59935b);}if(_0x39e068[_0x3988f1(0xa3)](_0x5b2683,FRAMEWORKS[_0x3988f1(0xb4)])){if(_0x39e068[_0x3988f1(0xcc)](_0x36d36c,_0x39e068[_0x3988f1(0xa0)]))return;_0x1c966f[_0x39e068[_0x3988f1(0xb3)]]=PWTestDetails[_0x3988f1(0x121)](_0x124616[_0x3988f1(0xf9)]);}if(_0x39e068[_0x3988f1(0x134)](_0x5b2683,FRAMEWORKS[_0x3988f1(0x11e)])){const _0x54a9d5=accessibilityHelper[_0x3988f1(0x10d)](_0x5176ab['titlePath'](),!![]),_0x45e605=global[_0x3988f1(0xd4)];_0x1c966f[_0x39e068['WveCp']]=_0x39e068['YugKe'](_0x45e605,_0x54a9d5);}if(_0x39e068[_0x3988f1(0xcc)](_0x5b2683,FRAMEWORKS[_0x3988f1(0xe6)])){const _0x5cefc1=accessibilityHelper['shouldScanTestForAccessibility'](null,![],_0x124616[_0x3988f1(0xbd)]),_0x488d73=globals[_0x3988f1(0x12d)](_0x39e068[_0x3988f1(0x133)]);_0x1c966f[_0x39e068[_0x3988f1(0xb3)]]=_0x39e068[_0x3988f1(0xca)](_0x488d73,_0x5cefc1);}_0x124616[_0x39e068[_0x3988f1(0xa5)]]=_0x1c966f;}},exports['getCurrentTestData']=_0x19f8fe=>{const _0x26def8=a140_0xf9525d,_0xd1e0bc={};_0xd1e0bc[_0x26def8(0x9c)]=function(_0x3e99e9,_0x537058){return _0x3e99e9>_0x537058;};const _0x466a42=_0xd1e0bc;let _0x4f74cd={};if(_0x466a42['lKQGR'](Object[_0x26def8(0xb8)](testData)['length'],0x0))return testData;_0x4f74cd=JestTestDetails[_0x26def8(0xed)]();if(_0x466a42[_0x26def8(0x9c)](Object[_0x26def8(0xb8)](_0x4f74cd)[_0x26def8(0xd8)],0x0))return _0x4f74cd;return _0x4f74cd;},exports[a140_0xf9525d(0x10c)]=(_0x520e35,_0x1c155f={})=>{const _0x544687=a140_0xf9525d;if(bsSetupHelper[_0x544687(0x110)](_0x1c155f[_0x544687(0x142)]))return;switch(_0x520e35){case FRAMEWORKS[_0x544687(0x13e)]:testData=_0x1c155f[_0x544687(0x142)];break;case FRAMEWORKS['JEST']:JestTestDetails[_0x544687(0xee)](_0x1c155f['test_run']);break;default:break;}},exports['getAccessibilityValueFromYml']=_0x386156=>{const _0x343d57=a140_0xf9525d,_0x169bf2={};_0x169bf2[_0x343d57(0x9a)]=function(_0x5c41c9,_0x427645){return _0x5c41c9!==_0x427645;};const _0x1ec176=_0x169bf2;if(_0x1ec176[_0x343d57(0x9a)](_0x386156[_0x343d57(0x108)],null)&&_0x1ec176['KcROk'](_0x386156[_0x343d57(0x108)],undefined))return _0x386156[_0x343d57(0x108)];let _0x155e47=![],_0x4c4057=![];if(_0x386156[_0x343d57(0x119)])for(const _0x4010c9 of _0x386156[_0x343d57(0x119)]){_0x1ec176[_0x343d57(0x9a)](_0x4010c9[_0x343d57(0x108)],null)&&_0x1ec176['KcROk'](_0x4010c9['accessibility'],undefined)&&(_0x155e47=_0x155e47||bsSetupHelper[_0x343d57(0x117)](_0x4010c9[_0x343d57(0x108)]),_0x4c4057=!![]);}if(_0x4c4057)return _0x155e47;return null;},exports[a140_0xf9525d(0x139)]=_0x585b99=>{const _0x360006=a140_0xf9525d,_0x34f0f4=new OrchestrationUtils(_0x585b99);return _0x34f0f4[_0x360006(0x137)]();},exports[a140_0xf9525d(0xc5)]=_0x3a756a=>{const _0x2b7580=a140_0xf9525d,_0x2fac12={'NVdQp':function(_0x5160d2){return _0x5160d2();}};let _0x794397=![],_0x2f9df5=![];if(bsSetupHelper[_0x2b7580(0x124)]()&&_0x3a756a[_0x2b7580(0x123)])_0x2f9df5=!![];else bsSetupHelper['isBrowserstackInfra']()&&(_0x794397=!![]);return Object[_0x2b7580(0x125)]({'observability':_0x2fac12[_0x2b7580(0xaa)](isTestObservabilitySession),'accessibility':exports[_0x2b7580(0xf5)](_0x3a756a),'percy':_0x3a756a[_0x2b7580(0x115)]||![],'automate':_0x794397,'app_automate':_0x2f9df5,'turboscale':bsSetupHelper[_0x2b7580(0x13a)](_0x3a756a),'lts':LoadTestModule[_0x2b7580(0x95)](_0x3a756a)},bsSetupHelper[_0x2b7580(0xce)]());};
@@ -1 +1 @@
1
- const a141_0x4388ed=a141_0x13c9;(function(_0x2b0c04,_0x1a4f3f){const _0x5abfd9=a141_0x13c9,_0x407a7f=_0x2b0c04();while(!![]){try{const _0x45d625=parseInt(_0x5abfd9(0x123))/0x1*(-parseInt(_0x5abfd9(0x122))/0x2)+parseInt(_0x5abfd9(0x12c))/0x3+-parseInt(_0x5abfd9(0x126))/0x4*(parseInt(_0x5abfd9(0x12a))/0x5)+-parseInt(_0x5abfd9(0x127))/0x6*(-parseInt(_0x5abfd9(0x12d))/0x7)+-parseInt(_0x5abfd9(0x129))/0x8*(parseInt(_0x5abfd9(0x128))/0x9)+-parseInt(_0x5abfd9(0x130))/0xa*(-parseInt(_0x5abfd9(0x12f))/0xb)+-parseInt(_0x5abfd9(0x124))/0xc*(-parseInt(_0x5abfd9(0x125))/0xd);if(_0x45d625===_0x1a4f3f)break;else _0x407a7f['push'](_0x407a7f['shift']());}catch(_0x2fb648){_0x407a7f['push'](_0x407a7f['shift']());}}}(a141_0x42a8,0x21b5e));const utilities=require(a141_0x4388ed(0x12b));function a141_0x13c9(_0x21d98a,_0x41df66){const _0x42a8c5=a141_0x42a8();return a141_0x13c9=function(_0x13c932,_0xee3e5e){_0x13c932=_0x13c932-0x121;let _0x8d4aeb=_0x42a8c5[_0x13c932];return _0x8d4aeb;},a141_0x13c9(_0x21d98a,_0x41df66);}function a141_0x42a8(){const _0x5c9e05=['10yZNEOI','fireFunnelTestEvent','cancel','2eYwnaZ','211481OOfxdw','4153596aJMlzs','13sQEWMY','496VAdnOb','54nJnoVX','9UHTlmg','1501336ugtFfX','6820kDgWdb','./utilities','801489sFkICR','53739mBtrrz','kIhld','263703TCTydx'];a141_0x42a8=function(){return _0x5c9e05;};return a141_0x42a8();}module['exports']=(_0x20fd77,_0x719e59,_0x37f2b3,_0x19100b,_0x4d45c4,_0x50da6b)=>{const _0x195a79=a141_0x4388ed,_0x52d09c={'uMRxa':function(_0x1e85b2,_0x1a8e6c){return _0x1e85b2-_0x1a8e6c;},'kIhld':function(_0x274972,_0x560d46){return _0x274972(_0x560d46);},'Peolc':function(_0x5183ac,_0x220b62,_0x200f66){return _0x5183ac(_0x220b62,_0x200f66);}};let _0x85f69e,_0x17c285=![];const _0x43484c=new Promise((_0x2c9325,_0x5cff05)=>{_0x85f69e=_0x52d09c['Peolc'](setTimeout,()=>{const _0x3b37e3=a141_0x13c9;if(!_0x17c285){const _0x22a32e={'status':''+_0x719e59,'timeTaken':_0x52d09c['uMRxa'](new Date(),_0x19100b)};utilities[_0x3b37e3(0x131)](_0x37f2b3,_0x22a32e,_0x4d45c4,_0x50da6b),_0x52d09c['kIhld'](_0x5cff05,new Error(_0x719e59));}},_0x20fd77);});return _0x43484c[_0x195a79(0x121)]=()=>{const _0xf1732e=_0x195a79;_0x17c285=!![],_0x52d09c[_0xf1732e(0x12e)](clearTimeout,_0x85f69e);},_0x43484c;};
1
+ const a141_0x5ec666=a141_0x4267;(function(_0x8c1b64,_0x4172ac){const _0x28acdb=a141_0x4267,_0x5c5d3e=_0x8c1b64();while(!![]){try{const _0x593b10=parseInt(_0x28acdb(0x12f))/0x1+parseInt(_0x28acdb(0x13e))/0x2*(-parseInt(_0x28acdb(0x13d))/0x3)+parseInt(_0x28acdb(0x134))/0x4+-parseInt(_0x28acdb(0x137))/0x5+parseInt(_0x28acdb(0x13a))/0x6+-parseInt(_0x28acdb(0x140))/0x7*(-parseInt(_0x28acdb(0x13f))/0x8)+parseInt(_0x28acdb(0x136))/0x9*(-parseInt(_0x28acdb(0x138))/0xa);if(_0x593b10===_0x4172ac)break;else _0x5c5d3e['push'](_0x5c5d3e['shift']());}catch(_0x2e2c77){_0x5c5d3e['push'](_0x5c5d3e['shift']());}}}(a141_0x40c1,0x948c5));function a141_0x40c1(){const _0x1b2538=['cancel','63ZXzVMM','14882tFzUrN','4248872qnsWai','7vNSFIr','400800vEwsUt','WBCHy','JPwhz','fireFunnelTestEvent','./utilities','4048572KWojUI','EvUMQ','18MpXKEI','1560635BiNgTN','7508030EEoofa','sgzZM','3806370ICRUpt','lgNGX'];a141_0x40c1=function(){return _0x1b2538;};return a141_0x40c1();}function a141_0x4267(_0xd62419,_0x3cbfbd){const _0x40c111=a141_0x40c1();return a141_0x4267=function(_0x4267eb,_0x33c634){_0x4267eb=_0x4267eb-0x12f;let _0x1722b3=_0x40c111[_0x4267eb];return _0x1722b3;},a141_0x4267(_0xd62419,_0x3cbfbd);}const utilities=require(a141_0x5ec666(0x133));module['exports']=(_0x15ca21,_0x1afcf0,_0x26fe7e,_0x3e638b,_0x4262ae,_0x576ea8)=>{const _0x2a2acb=a141_0x5ec666,_0x31681c={'JPwhz':function(_0x298abc,_0x3b135b){return _0x298abc-_0x3b135b;},'sgzZM':function(_0x4a9eb3,_0x2f2578){return _0x4a9eb3(_0x2f2578);},'EvUMQ':function(_0x5aa625,_0x8939af,_0x4c3ec1){return _0x5aa625(_0x8939af,_0x4c3ec1);}};let _0xe4700b,_0xa23257=![];const _0xbbe55c=new Promise((_0x5632c7,_0x137d3a)=>{const _0x697f03=a141_0x4267,_0x5bda56={'lgNGX':function(_0x6ada2d,_0x23663a){const _0x52709e=a141_0x4267;return _0x31681c[_0x52709e(0x131)](_0x6ada2d,_0x23663a);},'WBCHy':function(_0x2a9a0c,_0x4816e9){return _0x31681c['sgzZM'](_0x2a9a0c,_0x4816e9);}};_0xe4700b=_0x31681c[_0x697f03(0x135)](setTimeout,()=>{const _0x2e2ef2=_0x697f03;if(!_0xa23257){const _0x1913f8={'status':''+_0x1afcf0,'timeTaken':_0x5bda56[_0x2e2ef2(0x13b)](new Date(),_0x3e638b)};utilities[_0x2e2ef2(0x132)](_0x26fe7e,_0x1913f8,_0x4262ae,_0x576ea8),_0x5bda56[_0x2e2ef2(0x130)](_0x137d3a,new Error(_0x1afcf0));}},_0x15ca21);});return _0xbbe55c[_0x2a2acb(0x13c)]=()=>{const _0x4d677a=_0x2a2acb;_0xa23257=!![],_0x31681c[_0x4d677a(0x139)](clearTimeout,_0xe4700b);},_0xbbe55c;};
@@ -1 +1 @@
1
- const a142_0x5aa07c=a142_0x4bb9;(function(_0x4271c9,_0x25f30e){const _0x19bfc5=a142_0x4bb9,_0xe66bee=_0x4271c9();while(!![]){try{const _0xd5e5ed=parseInt(_0x19bfc5(0xe2))/0x1+parseInt(_0x19bfc5(0x128))/0x2*(-parseInt(_0x19bfc5(0x121))/0x3)+-parseInt(_0x19bfc5(0xe6))/0x4*(parseInt(_0x19bfc5(0x119))/0x5)+-parseInt(_0x19bfc5(0x104))/0x6+parseInt(_0x19bfc5(0x120))/0x7+-parseInt(_0x19bfc5(0xec))/0x8*(parseInt(_0x19bfc5(0x137))/0x9)+-parseInt(_0x19bfc5(0xee))/0xa*(-parseInt(_0x19bfc5(0xcc))/0xb);if(_0xd5e5ed===_0x25f30e)break;else _0xe66bee['push'](_0xe66bee['shift']());}catch(_0x39f7e2){_0xe66bee['push'](_0xe66bee['shift']());}}}(a142_0x246f,0xe223a));const os=require('os'),util=require(a142_0x5aa07c(0xce)),fs=require('fs'),{getProductMap}=require(a142_0x5aa07c(0xf7)),logger=require(a142_0x5aa07c(0x126))['winstonLogger'],constants=require(a142_0x5aa07c(0x10d)),testHubConstants=require('../helpers/testhub/constants'),{getTransformPath}=require(a142_0x5aa07c(0x11e)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a142_0x5aa07c(0x10d)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a142_0x5aa07c(0xd1)),PerformanceTester=require(a142_0x5aa07c(0xd2)),globals=require(a142_0x5aa07c(0x132)),helper=require(a142_0x5aa07c(0xd1)),{isTestObservabilitySession}=require(a142_0x5aa07c(0x112));let unhandledErrors='';exports[a142_0x5aa07c(0x14a)]=async(_0x25d245,_0x307d36={},_0x19561b,_0x38fe34)=>{const _0xc089fa=a142_0x5aa07c,_0x14cf97={'uonbW':function(_0x47af8b,_0x417624){return _0x47af8b===_0x417624;},'hjeyF':_0xc089fa(0x10c),'fLlyv':function(_0x52dd6a,_0x3e816c){return _0x52dd6a>_0x3e816c;},'kYxge':_0xc089fa(0x144),'LyXVY':function(_0x2ec1fb){return _0x2ec1fb();},'rIdqc':function(_0x46cbff){return _0x46cbff();},'nLMlU':function(_0x325717,_0x29b796){return _0x325717==_0x29b796;},'oIaCv':'null','IECZP':'undefined','yUwEa':function(_0xe0807f,_0x193c6a){return _0xe0807f===_0x193c6a;},'HSxgM':_0xc089fa(0x13c),'yBXkz':function(_0x48d49e,_0x592769){return _0x48d49e!==_0x592769;},'RpACL':_0xc089fa(0x118),'VHLOY':function(_0xcef0f8,_0x22b79c){return _0xcef0f8===_0x22b79c;},'EZDyY':_0xc089fa(0x130),'YfzXl':function(_0x2782af,_0x1d3ace){return _0x2782af+_0x1d3ace;},'UcITS':_0xc089fa(0xf0),'uhBrd':'_buildHashedId','Ojdwd':function(_0x580801,_0x5bc29e){return _0x580801(_0x5bc29e);},'Zpwhd':function(_0x35c483,_0x19199){return _0x35c483(_0x19199);},'ifHjZ':_0xc089fa(0x14e),'jPMDO':_0xc089fa(0xff),'SURyr':function(_0x2a407a,_0x19981c){return _0x2a407a===_0x19981c;},'rBffE':_0xc089fa(0x113),'fWFkZ':function(_0x3a7e72,_0x260a89){return _0x3a7e72===_0x260a89;},'LJwuq':_0xc089fa(0x12b),'doQXL':_0xc089fa(0x138),'UYRJC':'[REDACTED]','iFlDq':_0xc089fa(0xc7)};let _0x2fae89=[];if(helper[_0xc089fa(0xe8)]()&&_0x14cf97[_0xc089fa(0xf1)](isTestObservabilitySession))_0x2fae89=_0x19561b[_0xc089fa(0x13b)]?constants[_0xc089fa(0x14f)]:constants[_0xc089fa(0x122)];else{if(_0x14cf97[_0xc089fa(0xed)](isTestObservabilitySession))_0x2fae89=constants['PRODUCT_IF_NOT_BROWSERSTACK_INFRA'];else helper[_0xc089fa(0xe8)]()&&(_0x2fae89=_0x19561b[_0xc089fa(0x13b)]?constants['APP_AUTOMATE']:constants[_0xc089fa(0x135)]);}let _0x3dc38b=_0x19561b['buildIdentifier'];if(_0x14cf97[_0xc089fa(0xca)](_0x3dc38b,null))_0x3dc38b=_0x14cf97['oIaCv'];else _0x14cf97[_0xc089fa(0x12f)](_0x3dc38b,undefined)&&(_0x3dc38b=_0x14cf97[_0xc089fa(0x10e)]);unhandledErrors&&_0x14cf97[_0xc089fa(0xfd)](unhandledErrors[_0xc089fa(0x114)],0x0)&&(_0x307d36[_0xc089fa(0xf8)]=unhandledErrors);global[_0xc089fa(0xc8)]&&(_0x307d36['sdkRunId']=global[_0xc089fa(0xc8)]);try{if(_0x307d36[_0xc089fa(0x130)]){if(_0x14cf97[_0xc089fa(0x106)](_0x38fe34,_0x14cf97[_0xc089fa(0x105)])&&_0x14cf97[_0xc089fa(0xfd)](_0x307d36['error']['length'],0x0)){const _0x225d27={};_0x225d27['os']='',_0x225d27[_0xc089fa(0x110)]='',_0x225d27['browser']='',_0x225d27[_0xc089fa(0xe7)]='';const _0x2bd15c=_0x225d27;let _0x55e75b={};const _0x5623b4=_0x307d36[_0xc089fa(0x130)];_0x55e75b=_0x5623b4[_0xc089fa(0x13a)]((_0x30004d,_0x5eae17)=>{for(const _0xcb9f17 in _0x5eae17){_0x30004d[_0xcb9f17]=_0x5eae17[_0xcb9f17];}return _0x30004d;},{});const _0x5d00af={};_0x5d00af[_0xc089fa(0x144)]=_0x55e75b,_0x307d36['error']=[Object[_0xc089fa(0x129)]({},_0x2bd15c,_0x5d00af)];}else{let _0x32420e=0x0;const _0xf13426=_0x14cf97['yBXkz'](_0x38fe34,_0x14cf97[_0xc089fa(0x10f)])?JSON[_0xc089fa(0xc9)](_0x307d36[_0xc089fa(0x130)]):_0x307d36[_0xc089fa(0x130)],_0x565308=Object['values'](_0xf13426);_0x565308[_0xc089fa(0xf4)](_0x3d9b12=>{const _0x32b571=_0xc089fa;if(_0x14cf97[_0x32b571(0x12f)](typeof _0x3d9b12,_0x14cf97[_0x32b571(0x153)])){const _0x5bb660=Object[_0x32b571(0x141)](_0x3d9b12);!_0x5bb660['every'](_0x3c4d41=>_0x3c4d41===null||_0x3c4d41===undefined||_0x3c4d41==='')&&(_0x32420e+=0x1);}});if(_0x14cf97[_0xc089fa(0x115)](_0x32420e,0x0))delete _0x307d36[_0x14cf97[_0xc089fa(0x107)]];else{const _0x4f3a1d=[];Object['keys'](_0xf13426)[_0xc089fa(0xf4)](_0x13c504=>{const _0x3aaf02=_0xc089fa,_0xd8488d={'hAxqG':function(_0x2db799,_0x491f1c){const _0x4921b9=a142_0x4bb9;return _0x14cf97[_0x4921b9(0xfd)](_0x2db799,_0x491f1c);}},[_0x6844bd,_0xc3cb2a,_0x43a68a,_0x227693]=_0x13c504[_0x3aaf02(0x131)](',\x20');let _0xc8786d={};if(!_0x227693){const _0x29639e={};_0x29639e[_0x3aaf02(0xdf)]=_0x6844bd,_0x29639e['osVersion']=_0xc3cb2a,_0x29639e['browser']=_0x43a68a,_0xc8786d=_0x29639e;}else{const _0x3e4a3d={};_0x3e4a3d['os']=_0x6844bd,_0x3e4a3d[_0x3aaf02(0x110)]=_0xc3cb2a,_0x3e4a3d[_0x3aaf02(0xfe)]=_0x43a68a,_0x3e4a3d[_0x3aaf02(0xe7)]=_0x227693,_0xc8786d=_0x3e4a3d;}const _0x2d713d={},_0x89b76b=_0xf13426[_0x13c504];Object[_0x3aaf02(0xfa)](_0x89b76b)['forEach'](_0x3f6a3b=>{const _0x5c55cc=_0x3aaf02;_0xd8488d[_0x5c55cc(0x134)](_0x89b76b[_0x3f6a3b][_0x5c55cc(0x114)],0x0)&&(_0x2d713d[_0x3f6a3b]=_0x89b76b[_0x3f6a3b]);}),_0x14cf97[_0x3aaf02(0xfd)](Object[_0x3aaf02(0xfa)](_0x2d713d)[_0x3aaf02(0x114)],0x0)&&(_0xc8786d[_0x14cf97[_0x3aaf02(0x143)]]=_0x2d713d,_0x4f3a1d[_0x3aaf02(0xeb)](_0xc8786d));}),_0x14cf97[_0xc089fa(0xfd)](_0x4f3a1d[_0xc089fa(0x114)],0x0)?_0x307d36[_0xc089fa(0x130)]=_0x4f3a1d:delete _0x307d36[_0x14cf97[_0xc089fa(0x107)]];}}}}catch(_0x1ab9fd){delete _0x307d36[_0x14cf97[_0xc089fa(0x107)]],logger[_0xc089fa(0x14b)](_0x14cf97[_0xc089fa(0x14c)](_0x14cf97[_0xc089fa(0x14d)],_0x1ab9fd));}const _0x1928d3=helper[_0xc089fa(0x11f)](_0x19561b,_0x19561b['framework']),_0xa02c98={'userName':helper[_0xc089fa(0xc1)](_0x19561b),'accessKey':helper['getAccessKey'](_0x19561b),'event_type':_0x25d245,'detectedFramework':_0x38fe34,'buildHashedId':globals[_0xc089fa(0x103)](_0x14cf97[_0xc089fa(0x12e)]),'optimalHubUrl':helper[_0xc089fa(0x146)](),'event_properties':{'testhub_uuid':process[_0xc089fa(0x101)][testHubConstants['ENV_VAR'][_0xc089fa(0x147)]]||'','sdkRunId':global['sdkRunId'],'product_map':_0x14cf97[_0xc089fa(0x108)](getProductMap,_0x19561b),'productMap':_0x14cf97[_0xc089fa(0xcd)](getProductMap,_0x19561b),'language_framework':_0x19561b[_0xc089fa(0xfc)]||_0x14cf97['ifHjZ'],'referrer':helper[_0xc089fa(0xc6)](_0x38fe34),'framework':_0x19561b[_0xc089fa(0xf6)],'frameworkVersion':helper[_0xc089fa(0xd6)](_0x38fe34),'automationFramework':_0x1928d3[_0xc089fa(0xef)],'automationFrameworkVersion':_0x1928d3[_0xc089fa(0xd5)],'language':_0x14cf97[_0xc089fa(0xd0)],'languageVersion':process[_0xc089fa(0xd5)],'product':_0x2fae89,'buildName':_0x19561b[_0xc089fa(0x148)]||_0x14cf97[_0xc089fa(0x10e)],'buildIdentifier':_0x3dc38b,'os':os[_0xc089fa(0x109)]()||_0x14cf97[_0xc089fa(0xf3)],'hostname':os[_0xc089fa(0x11d)]()||_0x14cf97[_0xc089fa(0xf3)],..._0x307d36}};try{_0x14cf97[_0xc089fa(0x123)](_0x25d245,_0x14cf97[_0xc089fa(0xf9)])&&(_0xa02c98[_0xc089fa(0x149)][_0xc089fa(0xcb)]=helper[_0xc089fa(0xe5)](_0x19561b)),_0x14cf97['fWFkZ'](_0x38fe34,_0x14cf97[_0xc089fa(0x10f)])?_0xa02c98[_0xc089fa(0x149)][_0xc089fa(0x124)]=helper[_0xc089fa(0x150)]['apply'](null,_0x14cf97[_0xc089fa(0xf1)](getTransformPath),!![]):_0xa02c98['event_properties'][_0xc089fa(0xd4)]=helper['getPackageVersion'](_0x14cf97['LJwuq']);}catch(_0x57e027){logger['debug'](_0xc089fa(0xc2)+_0x57e027);}const _0xddcf75={};_0xddcf75[_0xc089fa(0xc0)]=_0x14cf97[_0xc089fa(0x102)];const _0x14d19a={'headers':_0xddcf75,'body':_0xa02c98,'auth':{'user':helper[_0xc089fa(0xc1)](_0x19561b),'pass':helper['getAccessKey'](_0x19561b)},'json':!![]};logger[_0xc089fa(0x14b)](_0xc089fa(0x136)+JSON[_0xc089fa(0x140)](_0x14d19a['body'])[_0xc089fa(0x127)](new RegExp(helper[_0xc089fa(0xc1)](_0x19561b),'g'),_0x14cf97[_0xc089fa(0xd7)])[_0xc089fa(0x127)](new RegExp(helper[_0xc089fa(0x12a)](_0x19561b),'g'),_0x14cf97[_0xc089fa(0xd7)]));try{const _0xf53de0=await helper[_0xc089fa(0x11a)](_0x14cf97[_0xc089fa(0x133)],FUNNEL_INSTRUMENTATION_API_URL,_0x14d19a,_0x19561b);logger[_0xc089fa(0x14b)](_0xc089fa(0xdd)+_0x25d245+'\x20response\x20-\x20'+util[_0xc089fa(0xc4)]('%j',_0xf53de0));}catch(_0x5b2977){logger[_0xc089fa(0x14b)]('Error\x20in\x20firing\x20request\x20to\x20'+FUNNEL_INSTRUMENTATION_API_URL+_0xc089fa(0xe4)+util['format'](_0x5b2977));}},exports['finalExecution']=async _0x59f4f9=>{const _0xac45b6=a142_0x5aa07c,_0x5ac6c1={'gredO':function(_0x2e2dea){return _0x2e2dea();},'pcYEV':_0xac45b6(0xda),'nLwCU':_0xac45b6(0x12c),'dzyRD':'SDKTestSuccessful','ljQGM':function(_0x1680ce,_0x5a98fc,_0x5631fa){return _0x1680ce(_0x5a98fc,_0x5631fa);},'vuPPt':function(_0x424ea8,_0x1af806){return _0x424ea8+_0x1af806;},'yBzLy':_0xac45b6(0xf2)};try{await _0x59f4f9['stopPercy'](),_0x5ac6c1['gredO'](printNudgeLocalNotSetError);const _0x4521c3={};_0x4521c3[_0xac45b6(0x130)]=_0x59f4f9[_0xac45b6(0xbf)]?_0x59f4f9[_0xac45b6(0xbf)]:'{}';const _0x3d666c=_0x4521c3,_0x3d2f7a=Object['assign']({},_0x3d666c);!!_0x59f4f9[_0xac45b6(0xd9)]&&(_0x3d2f7a[_0x5ac6c1[_0xac45b6(0xd8)]]={'reason':_0x5ac6c1[_0xac45b6(0xd3)],'signal':_0x59f4f9['killSignal']});unhandledErrors=_0x59f4f9[_0xac45b6(0xdc)]['join']('\x0a');let _0x3192f9,_0xe383e4,_0x535230;helper[_0xac45b6(0x117)](_0x59f4f9['config'])?([_0x3192f9,_0xe383e4]=await helper[_0xac45b6(0x10b)](_0x59f4f9['config']),[_0x535230]=await Promise[_0xac45b6(0x116)]([helper[_0xac45b6(0x12d)](_0x3192f9,_0x59f4f9[_0xac45b6(0x13d)]),exports[_0xac45b6(0x14a)](_0x5ac6c1[_0xac45b6(0xe9)],_0x3d2f7a,_0x59f4f9[_0xac45b6(0x13d)],_0x59f4f9[_0xac45b6(0xf6)])])):([_0x3192f9,_0xe383e4]=await helper[_0xac45b6(0xe0)](_0x59f4f9['config']),[_0x535230]=await Promise[_0xac45b6(0x116)]([helper[_0xac45b6(0x142)](_0x3192f9,_0x59f4f9[_0xac45b6(0x13d)]),exports[_0xac45b6(0x14a)](_0x5ac6c1[_0xac45b6(0xe9)],_0x3d2f7a,_0x59f4f9[_0xac45b6(0x13d)],_0x59f4f9[_0xac45b6(0xf6)])])),_0x535230&&await _0x5ac6c1[_0xac45b6(0x152)](generateCIArtifacts,_0x535230,_0xe383e4),logger[_0xac45b6(0x111)](_0xac45b6(0x145)+_0x59f4f9[_0xac45b6(0xc8)]+_0xac45b6(0x13e)+process[_0xac45b6(0x101)][_0xac45b6(0x147)]),await helper[_0xac45b6(0xc3)](_0x59f4f9[_0xac45b6(0x13d)]);}catch(_0xc60a38){logger['debug'](_0x5ac6c1[_0xac45b6(0xc5)](_0x5ac6c1['yBzLy'],_0xc60a38));}helper[_0xac45b6(0xcf)]();},exports[a142_0x5aa07c(0x11b)]=_0x1f4d03=>{const _0x4ed722=a142_0x5aa07c,_0x3fd04b={'OhIGC':function(_0x589156,_0x2d11f5){return _0x589156 instanceof _0x2d11f5;},'QEpZc':function(_0x1fd9a8,_0x2f7653){return _0x1fd9a8(_0x2f7653);}};try{if(_0x3fd04b['OhIGC'](_0x1f4d03,Error))return _0x1f4d03[_0x4ed722(0xe3)]||_0x1f4d03[_0x4ed722(0x10a)]();return _0x3fd04b[_0x4ed722(0xf5)](String,_0x1f4d03);}catch(_0x4336d0){return _0x1f4d03?_0x1f4d03['toString']():'';}},exports[a142_0x5aa07c(0x100)]=_0x272fbc=>{const _0x454eea=a142_0x5aa07c,_0x55201c={};_0x55201c['eHmbw']=function(_0x488fd5,_0x10fd40){return _0x488fd5===_0x10fd40;};const _0x37d2f2=_0x55201c;return!_0x272fbc||_0x37d2f2[_0x454eea(0xea)](_0x272fbc[_0x454eea(0xfb)](),'');},exports[a142_0x5aa07c(0xde)]=_0x5620ad=>{const _0x5c8561=a142_0x5aa07c,_0x17b1e9={};_0x17b1e9[_0x5c8561(0x151)]=function(_0x105204,_0x3ab491){return _0x105204|_0x3ab491;};const _0x5f0bfc=_0x17b1e9;try{return fs['accessSync'](_0x5620ad,_0x5f0bfc[_0x5c8561(0x151)](fs[_0x5c8561(0x11c)][_0x5c8561(0x125)],fs['constants'][_0x5c8561(0xe1)])),!![];}catch(_0x15a0a5){return![];}},exports[a142_0x5aa07c(0x139)]=_0x477090=>{const _0x3d9b1d=a142_0x5aa07c;try{fs['chmodSync'](_0x477090,0x1ff),logger[_0x3d9b1d(0x14b)](_0x3d9b1d(0x13f)+_0x477090+'\x20has\x20now\x20read/write/execute\x20permissions.');}catch(_0x4a53fa){logger[_0x3d9b1d(0x130)](_0x3d9b1d(0xdb)+exports[_0x3d9b1d(0x11b)](_0x4a53fa));}};function a142_0x4bb9(_0x3a8da1,_0x2b7cc6){const _0x246f53=a142_0x246f();return a142_0x4bb9=function(_0x4bb9ca,_0x1d5574){_0x4bb9ca=_0x4bb9ca-0xbf;let _0x5cc712=_0x246f53[_0x4bb9ca];return _0x5cc712;},a142_0x4bb9(_0x3a8da1,_0x2b7cc6);}function a142_0x246f(){const _0x56ea5a=['env','doQXL','getGlobal','2220894VmYOli','HSxgM','yUwEa','EZDyY','Ojdwd','type','toString','getTurboScaleBuildLink','object','../bin/utils/constants','IECZP','RpACL','osVersion','info','./test-observability/utils','SDKTestSuccessful','length','VHLOY','all','isTurboScaleSession','Playwright','5okhzDj','nodeRequest','getStackTraceAsString','constants','hostname','../bin/playwright/reporter/pwUtils','getTestFrameworkDetails','2667042CviGga','11133XAFNeA','AUTOMATE_PRODUCTS','SURyr','playwrightVersion','W_OK','./logger','replace','554Gqtjuz','assign','getAccessKey','selenium-webdriver','user_killed','getTurboScaleSessionsList','uhBrd','uonbW','error','split','./globals','iFlDq','hAxqG','AUTOMATE','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','13674807bVpQtn','application/json','setReadWriteExecuteAccess','reduce','app','codeceptjs','config',',\x20testhub\x20id:\x20','Directory\x20','stringify','values','getSessionsList','kYxge','tests','SDK\x20run\x20ended\x20for\x20id:\x20','getOptimalHubUrl','BROWSERSTACK_TESTHUB_UUID','buildName','event_properties','fireFunnelTestEvent','debug','YfzXl','UcITS','unknown','APP_AUTOMATE_PRODUCTS','requirePWModule','kwchi','ljQGM','hjeyF','errorMessage','content-type','getUserName','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','sendLogs','format','vuPPt','getNodeAgent','POST','sdkRunId','parse','nLMlU','browserStackConfig','177573cYuJwI','Zpwhd','util','notifyUpdate','jPMDO','./helper','./performance/performance-tester','nLwCU','seleniumVersion','version','getFrameworkVersion','UYRJC','pcYEV','killSignal','finishedMetadata','Failed\x20to\x20set\x20directory\x20access:\x20','unhandledErrors','API\x20Event\x20','isModifiable','deviceName','getBuildLink','X_OK','684515bitsqd','stack','\x20:\x20','sanitizeBrowserStackConfig','1672200cymBbc','browserVersion','isBrowserstackInfra','dzyRD','eHmbw','push','8HwDkLG','rIdqc','1980BrfKSV','name','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','LyXVY','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','ifHjZ','forEach','QEpZc','framework','./testhub/utils','globalException','rBffE','keys','trim','source','fLlyv','browser','nodejs','isNullOrEmpty'];a142_0x246f=function(){return _0x56ea5a;};return a142_0x246f();}
1
+ const a142_0x574bbf=a142_0x542d;(function(_0x2a168b,_0x16902f){const _0x392d7a=a142_0x542d,_0x50c93a=_0x2a168b();while(!![]){try{const _0xafb835=parseInt(_0x392d7a(0x145))/0x1*(parseInt(_0x392d7a(0x170))/0x2)+-parseInt(_0x392d7a(0x19b))/0x3*(-parseInt(_0x392d7a(0x1b2))/0x4)+parseInt(_0x392d7a(0x17d))/0x5+parseInt(_0x392d7a(0x154))/0x6*(-parseInt(_0x392d7a(0x13f))/0x7)+-parseInt(_0x392d7a(0x146))/0x8+parseInt(_0x392d7a(0x190))/0x9*(-parseInt(_0x392d7a(0x1c2))/0xa)+parseInt(_0x392d7a(0x1aa))/0xb;if(_0xafb835===_0x16902f)break;else _0x50c93a['push'](_0x50c93a['shift']());}catch(_0x5b9a1f){_0x50c93a['push'](_0x50c93a['shift']());}}}(a142_0x47a2,0x2e2c2));const os=require('os'),util=require(a142_0x574bbf(0x1b0)),fs=require('fs'),{getProductMap}=require('./testhub/utils'),logger=require(a142_0x574bbf(0x148))[a142_0x574bbf(0x1a6)],constants=require(a142_0x574bbf(0x1a5)),testHubConstants=require(a142_0x574bbf(0x13d)),{getTransformPath}=require(a142_0x574bbf(0x13e)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a142_0x574bbf(0x1a5)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a142_0x574bbf(0x16b)),PerformanceTester=require('./performance/performance-tester'),globals=require(a142_0x574bbf(0x15e)),helper=require('./helper'),{isTestObservabilitySession}=require(a142_0x574bbf(0x149));let unhandledErrors='';exports[a142_0x574bbf(0x143)]=async(_0xd60ac8,_0xc19403={},_0x2968bb,_0x3e0e01)=>{const _0x512ad0=a142_0x574bbf,_0x2959fc={'lqZfL':function(_0x4cecef,_0x1663f6){return _0x4cecef===_0x1663f6;},'PMfsc':_0x512ad0(0x185),'fPDnW':function(_0x2bb400,_0x15f6e4){return _0x2bb400>_0x15f6e4;},'HTGpM':function(_0x2d1474,_0x90b70f){return _0x2d1474>_0x90b70f;},'hoyKw':_0x512ad0(0x17c),'OzhPr':function(_0x2f8dce){return _0x2f8dce();},'fUoCr':function(_0x28d539,_0xfb42c9){return _0x28d539==_0xfb42c9;},'RSnvB':_0x512ad0(0x171),'DdoGX':function(_0xb040f1,_0x49266c){return _0xb040f1===_0x49266c;},'rTcin':_0x512ad0(0x169),'LWkEL':function(_0x5d40b4,_0x12c870){return _0x5d40b4===_0x12c870;},'XNjXc':_0x512ad0(0x1c6),'yoFDa':function(_0x31aeb2,_0x15d129){return _0x31aeb2!==_0x15d129;},'XHPzV':_0x512ad0(0x153),'hbJVj':function(_0x34a69b,_0x30c15e){return _0x34a69b===_0x30c15e;},'PuQFt':_0x512ad0(0x1bd),'WvoAN':function(_0x1c445f,_0x3c8a7b){return _0x1c445f+_0x3c8a7b;},'glpXW':'Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','bNPsl':_0x512ad0(0x158),'gVfoR':function(_0x490f59,_0x17901f){return _0x490f59(_0x17901f);},'FFoKC':function(_0x3df916,_0xe2c97e){return _0x3df916(_0xe2c97e);},'wLnjM':_0x512ad0(0x14b),'oNASj':_0x512ad0(0x15c),'CbMqc':function(_0x2ecc91,_0x51fd75){return _0x2ecc91===_0x51fd75;},'OPPoz':'SDKTestSuccessful','MzyQH':function(_0x2fd6dd,_0x1112b7){return _0x2fd6dd===_0x1112b7;},'VseMG':function(_0x22d5bc){return _0x22d5bc();},'OiIQl':_0x512ad0(0x168),'gVCHf':_0x512ad0(0x14c),'zshtP':'[REDACTED]','SPWai':'POST'};let _0x1070d8=[];if(helper[_0x512ad0(0x1b3)]()&&_0x2959fc['OzhPr'](isTestObservabilitySession))_0x1070d8=_0x2968bb['app']?constants[_0x512ad0(0x13b)]:constants[_0x512ad0(0x19a)];else{if(_0x2959fc[_0x512ad0(0x163)](isTestObservabilitySession))_0x1070d8=constants[_0x512ad0(0x15a)];else helper[_0x512ad0(0x1b3)]()&&(_0x1070d8=_0x2968bb['app']?constants[_0x512ad0(0x175)]:constants[_0x512ad0(0x1c7)]);}let _0x30466a=_0x2968bb[_0x512ad0(0x166)];if(_0x2959fc[_0x512ad0(0x178)](_0x30466a,null))_0x30466a=_0x2959fc[_0x512ad0(0x196)];else _0x2959fc[_0x512ad0(0x1bb)](_0x30466a,undefined)&&(_0x30466a=_0x2959fc['rTcin']);unhandledErrors&&_0x2959fc['HTGpM'](unhandledErrors[_0x512ad0(0x18c)],0x0)&&(_0xc19403[_0x512ad0(0x1b4)]=unhandledErrors);global[_0x512ad0(0x1ae)]&&(_0xc19403['sdkRunId']=global[_0x512ad0(0x1ae)]);try{if(_0xc19403['error']){if(_0x2959fc[_0x512ad0(0x17e)](_0x3e0e01,_0x2959fc[_0x512ad0(0x1b6)])&&_0x2959fc[_0x512ad0(0x198)](_0xc19403[_0x512ad0(0x1bd)][_0x512ad0(0x18c)],0x0)){const _0x2e9adc={};_0x2e9adc['os']='',_0x2e9adc[_0x512ad0(0x194)]='',_0x2e9adc[_0x512ad0(0x1c1)]='',_0x2e9adc[_0x512ad0(0x164)]='';const _0x177193=_0x2e9adc;let _0xe8e2be={};const _0x119eb5=_0xc19403[_0x512ad0(0x1bd)];_0xe8e2be=_0x119eb5[_0x512ad0(0x15b)]((_0xdb5ebc,_0x1f1643)=>{for(const _0x5767f4 in _0x1f1643){_0xdb5ebc[_0x5767f4]=_0x1f1643[_0x5767f4];}return _0xdb5ebc;},{});const _0x458670={};_0x458670['tests']=_0xe8e2be,_0xc19403[_0x512ad0(0x1bd)]=[Object[_0x512ad0(0x17a)]({},_0x177193,_0x458670)];}else{let _0x35c1ab=0x0;const _0x398452=_0x2959fc[_0x512ad0(0x141)](_0x3e0e01,_0x2959fc['XHPzV'])?JSON[_0x512ad0(0x181)](_0xc19403[_0x512ad0(0x1bd)]):_0xc19403['error'],_0x494ac9=Object[_0x512ad0(0x19d)](_0x398452);_0x494ac9[_0x512ad0(0x147)](_0x4b5232=>{const _0x2a822c=_0x512ad0;if(_0x2959fc[_0x2a822c(0x192)](typeof _0x4b5232,_0x2959fc[_0x2a822c(0x1bc)])){const _0x555f99=Object[_0x2a822c(0x19d)](_0x4b5232);!_0x555f99[_0x2a822c(0x1ab)](_0x6cb990=>_0x6cb990===null||_0x6cb990===undefined||_0x6cb990==='')&&(_0x35c1ab+=0x1);}});if(_0x2959fc[_0x512ad0(0x1b9)](_0x35c1ab,0x0))delete _0xc19403[_0x2959fc[_0x512ad0(0x19f)]];else{const _0x55c4a5=[];Object['keys'](_0x398452)['forEach'](_0x1843a5=>{const _0x4986c6=_0x512ad0,[_0x569a4a,_0x375875,_0x2b821d,_0x4fe3d7]=_0x1843a5['split'](',\x20');let _0x8a822c={};if(!_0x4fe3d7){const _0x89fad6={};_0x89fad6['deviceName']=_0x569a4a,_0x89fad6[_0x4986c6(0x194)]=_0x375875,_0x89fad6[_0x4986c6(0x1c1)]=_0x2b821d,_0x8a822c=_0x89fad6;}else{const _0x440f1e={};_0x440f1e['os']=_0x569a4a,_0x440f1e[_0x4986c6(0x194)]=_0x375875,_0x440f1e[_0x4986c6(0x1c1)]=_0x2b821d,_0x440f1e['browserVersion']=_0x4fe3d7,_0x8a822c=_0x440f1e;}const _0x15926b={},_0x2ad180=_0x398452[_0x1843a5];Object['keys'](_0x2ad180)[_0x4986c6(0x147)](_0x33dcc7=>{const _0x520053=_0x4986c6;_0x2959fc[_0x520053(0x198)](_0x2ad180[_0x33dcc7][_0x520053(0x18c)],0x0)&&(_0x15926b[_0x33dcc7]=_0x2ad180[_0x33dcc7]);}),_0x2959fc['HTGpM'](Object[_0x4986c6(0x182)](_0x15926b)[_0x4986c6(0x18c)],0x0)&&(_0x8a822c[_0x2959fc[_0x4986c6(0x155)]]=_0x15926b,_0x55c4a5[_0x4986c6(0x162)](_0x8a822c));}),_0x2959fc['HTGpM'](_0x55c4a5[_0x512ad0(0x18c)],0x0)?_0xc19403[_0x512ad0(0x1bd)]=_0x55c4a5:delete _0xc19403[_0x2959fc['PuQFt']];}}}}catch(_0x119663){delete _0xc19403[_0x2959fc['PuQFt']],logger[_0x512ad0(0x1b1)](_0x2959fc['WvoAN'](_0x2959fc[_0x512ad0(0x1c0)],_0x119663));}const _0x257704=helper[_0x512ad0(0x165)](_0x2968bb,_0x2968bb[_0x512ad0(0x1a9)]),_0x4b37cb={'userName':helper[_0x512ad0(0x16f)](_0x2968bb),'accessKey':helper['getAccessKey'](_0x2968bb),'event_type':_0xd60ac8,'detectedFramework':_0x3e0e01,'buildHashedId':globals['getGlobal'](_0x2959fc['bNPsl']),'optimalHubUrl':helper[_0x512ad0(0x19e)](),'event_properties':{'testhub_uuid':process[_0x512ad0(0x17b)][testHubConstants[_0x512ad0(0x19c)][_0x512ad0(0x184)]]||'','sdkRunId':global[_0x512ad0(0x1ae)],'product_map':_0x2959fc['gVfoR'](getProductMap,_0x2968bb),'productMap':_0x2959fc['FFoKC'](getProductMap,_0x2968bb),'language_framework':_0x2968bb['source']||_0x2959fc['wLnjM'],'referrer':helper[_0x512ad0(0x13a)](_0x3e0e01),'framework':_0x2968bb[_0x512ad0(0x1a9)],'frameworkVersion':helper[_0x512ad0(0x1ac)](_0x3e0e01),'automationFramework':_0x257704[_0x512ad0(0x1a2)],'automationFrameworkVersion':_0x257704[_0x512ad0(0x195)],'language':_0x2959fc[_0x512ad0(0x174)],'languageVersion':process['version'],'product':_0x1070d8,'buildName':_0x2968bb['buildName']||_0x2959fc[_0x512ad0(0x14f)],'buildIdentifier':_0x30466a,'os':os[_0x512ad0(0x18f)]()||_0x2959fc[_0x512ad0(0x15d)],'hostname':os[_0x512ad0(0x180)]()||_0x2959fc['wLnjM'],..._0xc19403}};try{_0x2959fc[_0x512ad0(0x197)](_0xd60ac8,_0x2959fc[_0x512ad0(0x183)])&&(_0x4b37cb[_0x512ad0(0x1a0)]['browserStackConfig']=helper['sanitizeBrowserStackConfig'](_0x2968bb)),_0x2959fc['MzyQH'](_0x3e0e01,_0x2959fc[_0x512ad0(0x156)])?_0x4b37cb[_0x512ad0(0x1a0)][_0x512ad0(0x157)]=helper[_0x512ad0(0x1c5)]['apply'](null,_0x2959fc[_0x512ad0(0x193)](getTransformPath),!![]):_0x4b37cb['event_properties'][_0x512ad0(0x144)]=helper[_0x512ad0(0x17f)](_0x2959fc[_0x512ad0(0x1a1)]);}catch(_0x478311){logger[_0x512ad0(0x1b1)](_0x512ad0(0x161)+_0x478311);}const _0x538563={};_0x538563['content-type']=_0x2959fc[_0x512ad0(0x18a)];const _0x60c934={'headers':_0x538563,'body':_0x4b37cb,'auth':{'user':helper['getUserName'](_0x2968bb),'pass':helper['getAccessKey'](_0x2968bb)},'json':!![]};logger[_0x512ad0(0x1b1)](_0x512ad0(0x14a)+JSON['stringify'](_0x60c934[_0x512ad0(0x18b)])['replace'](new RegExp(helper[_0x512ad0(0x16f)](_0x2968bb),'g'),_0x2959fc['zshtP'])['replace'](new RegExp(helper['getAccessKey'](_0x2968bb),'g'),_0x2959fc['zshtP']));try{const _0x530ee1=await helper[_0x512ad0(0x172)](_0x2959fc[_0x512ad0(0x160)],FUNNEL_INSTRUMENTATION_API_URL,_0x60c934,_0x2968bb);logger[_0x512ad0(0x1b1)]('API\x20Event\x20'+_0xd60ac8+_0x512ad0(0x1c4)+util[_0x512ad0(0x18d)]('%j',_0x530ee1));}catch(_0x3edaf3){logger['debug'](_0x512ad0(0x187)+FUNNEL_INSTRUMENTATION_API_URL+_0x512ad0(0x1bf)+util[_0x512ad0(0x18d)](_0x3edaf3));}},exports[a142_0x574bbf(0x1b8)]=async _0x2ebaae=>{const _0x584954=a142_0x574bbf,_0x38096b={'tmLGB':function(_0x5de196){return _0x5de196();},'oZziY':_0x584954(0x142),'cTotU':'user_killed','rjssQ':'SDKTestSuccessful','nuwEY':function(_0x32532b,_0x386204,_0x259056){return _0x32532b(_0x386204,_0x259056);},'JYKLx':function(_0x564c7a,_0x2e25bf){return _0x564c7a+_0x2e25bf;},'DGMER':_0x584954(0x18e)};try{await _0x2ebaae[_0x584954(0x16e)](),_0x38096b[_0x584954(0x1a3)](printNudgeLocalNotSetError);const _0x333065={};_0x333065[_0x584954(0x1bd)]=_0x2ebaae[_0x584954(0x14e)]?_0x2ebaae[_0x584954(0x14e)]:'{}';const _0x15d6b9=_0x333065,_0x79f024=Object[_0x584954(0x17a)]({},_0x15d6b9);!!_0x2ebaae[_0x584954(0x199)]&&(_0x79f024[_0x38096b[_0x584954(0x140)]]={'reason':_0x38096b[_0x584954(0x167)],'signal':_0x2ebaae[_0x584954(0x199)]});unhandledErrors=_0x2ebaae[_0x584954(0x189)][_0x584954(0x16c)]('\x0a');let _0x4733d0,_0x80a10a,_0x1beec1;helper[_0x584954(0x1ba)](_0x2ebaae['config'])?([_0x4733d0,_0x80a10a]=await helper['getTurboScaleBuildLink'](_0x2ebaae[_0x584954(0x1a8)]),[_0x1beec1]=await Promise['all']([helper['getTurboScaleSessionsList'](_0x4733d0,_0x2ebaae[_0x584954(0x1a8)]),exports['fireFunnelTestEvent'](_0x38096b[_0x584954(0x176)],_0x79f024,_0x2ebaae['config'],_0x2ebaae[_0x584954(0x1a9)])])):([_0x4733d0,_0x80a10a]=await helper[_0x584954(0x13c)](_0x2ebaae[_0x584954(0x1a8)]),[_0x1beec1]=await Promise[_0x584954(0x159)]([helper[_0x584954(0x150)](_0x4733d0,_0x2ebaae[_0x584954(0x1a8)]),exports[_0x584954(0x143)](_0x38096b[_0x584954(0x176)],_0x79f024,_0x2ebaae[_0x584954(0x1a8)],_0x2ebaae[_0x584954(0x1a9)])])),_0x1beec1&&await _0x38096b[_0x584954(0x188)](generateCIArtifacts,_0x1beec1,_0x80a10a),logger[_0x584954(0x1b7)]('SDK\x20run\x20ended\x20for\x20id:\x20'+_0x2ebaae['sdkRunId']+_0x584954(0x186)+process[_0x584954(0x17b)][_0x584954(0x184)]),await helper[_0x584954(0x1a7)](_0x2ebaae[_0x584954(0x1a8)]);}catch(_0x360c88){logger['debug'](_0x38096b['JYKLx'](_0x38096b[_0x584954(0x16d)],_0x360c88));}helper[_0x584954(0x15f)]();},exports['getStackTraceAsString']=_0x579bb0=>{const _0x129298=a142_0x574bbf,_0x4c9542={'CAGWk':function(_0x37e96d,_0x2730d3){return _0x37e96d instanceof _0x2730d3;},'nErfJ':function(_0x5eec4d,_0x50d17b){return _0x5eec4d(_0x50d17b);}};try{if(_0x4c9542[_0x129298(0x1af)](_0x579bb0,Error))return _0x579bb0[_0x129298(0x191)]||_0x579bb0[_0x129298(0x1b5)]();return _0x4c9542[_0x129298(0x1ad)](String,_0x579bb0);}catch(_0x4ecd4f){return _0x579bb0?_0x579bb0[_0x129298(0x1b5)]():'';}},exports[a142_0x574bbf(0x151)]=_0x53c5f8=>{const _0x3e4126=a142_0x574bbf,_0x5c410d={};_0x5c410d[_0x3e4126(0x1a4)]=function(_0x5861be,_0x78cbc0){return _0x5861be===_0x78cbc0;};const _0xe9478=_0x5c410d;return!_0x53c5f8||_0xe9478[_0x3e4126(0x1a4)](_0x53c5f8['trim'](),'');},exports[a142_0x574bbf(0x173)]=_0x2c9359=>{const _0x1b7e4f=a142_0x574bbf,_0x4499f6={};_0x4499f6[_0x1b7e4f(0x16a)]=function(_0x424e03,_0x3583c8){return _0x424e03|_0x3583c8;};const _0x5bb940=_0x4499f6;try{return fs['accessSync'](_0x2c9359,_0x5bb940[_0x1b7e4f(0x16a)](fs[_0x1b7e4f(0x179)][_0x1b7e4f(0x1be)],fs[_0x1b7e4f(0x179)][_0x1b7e4f(0x152)])),!![];}catch(_0x5026d9){return![];}},exports['setReadWriteExecuteAccess']=_0x2a2b49=>{const _0x20e6d2=a142_0x574bbf;try{fs['chmodSync'](_0x2a2b49,0x1ff),logger['debug'](_0x20e6d2(0x177)+_0x2a2b49+'\x20has\x20now\x20read/write/execute\x20permissions.');}catch(_0x1e1d35){logger[_0x20e6d2(0x1bd)](_0x20e6d2(0x1c3)+exports[_0x20e6d2(0x14d)](_0x1e1d35));}};function a142_0x542d(_0x4b5878,_0x1f8659){const _0x47a210=a142_0x47a2();return a142_0x542d=function(_0x542d04,_0x52ae9f){_0x542d04=_0x542d04-0x13a;let _0x1c8837=_0x47a210[_0x542d04];return _0x1c8837;},a142_0x542d(_0x4b5878,_0x1f8659);}function a142_0x47a2(){const _0x4d3dd1=['fireFunnelTestEvent','seleniumVersion','257221DJwhiL','2493080pgOPtr','forEach','./logger','./test-observability/utils','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','unknown','application/json','getStackTraceAsString','errorMessage','rTcin','getSessionsList','isNullOrEmpty','X_OK','Playwright','9174BILnUR','hoyKw','XHPzV','playwrightVersion','_buildHashedId','all','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','reduce','nodejs','wLnjM','./globals','notifyUpdate','SPWai','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','push','OzhPr','browserVersion','getTestFrameworkDetails','buildIdentifier','cTotU','selenium-webdriver','undefined','zyzjb','./helper','join','DGMER','stopPercy','getUserName','2wEwLSh','null','nodeRequest','isModifiable','oNASj','APP_AUTOMATE','rjssQ','Directory\x20','fUoCr','constants','assign','env','tests','365280YXcEFy','LWkEL','getPackageVersion','hostname','parse','keys','OPPoz','BROWSERSTACK_TESTHUB_UUID','object',',\x20testhub\x20id:\x20','Error\x20in\x20firing\x20request\x20to\x20','nuwEY','unhandledErrors','gVCHf','body','length','format','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','type','9CCaeKf','stack','lqZfL','VseMG','osVersion','version','RSnvB','CbMqc','fPDnW','killSignal','AUTOMATE_PRODUCTS','339SCdXFP','ENV_VAR','values','getOptimalHubUrl','PuQFt','event_properties','OiIQl','name','tmLGB','CSSNg','../bin/utils/constants','winstonLogger','sendLogs','config','framework','858869BRgwdy','every','getFrameworkVersion','nErfJ','sdkRunId','CAGWk','util','debug','5836olPqms','isBrowserstackInfra','globalException','toString','XNjXc','info','finalExecution','hbJVj','isTurboScaleSession','DdoGX','PMfsc','error','W_OK','\x20:\x20','glpXW','browser','617630ZBBtBz','Failed\x20to\x20set\x20directory\x20access:\x20','\x20response\x20-\x20','requirePWModule','codeceptjs','AUTOMATE','getNodeAgent','APP_AUTOMATE_PRODUCTS','getBuildLink','../helpers/testhub/constants','../bin/playwright/reporter/pwUtils','49gELekK','oZziY','yoFDa','finishedMetadata'];a142_0x47a2=function(){return _0x4d3dd1;};return a142_0x47a2();}