browserstack-node-sdk 1.34.15 → 1.34.16

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 (127) 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/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/globals.js +1 -1
  101. package/src/helpers/helper.js +1 -1
  102. package/src/helpers/logger.js +1 -1
  103. package/src/helpers/patchHelper.js +1 -1
  104. package/src/helpers/patchHelpers.js +1 -1
  105. package/src/helpers/percy/Percy.js +1 -1
  106. package/src/helpers/percy/PercyBinary.js +1 -1
  107. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  108. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  109. package/src/helpers/percy/PercySDK.js +1 -1
  110. package/src/helpers/percy/index.js +1 -1
  111. package/src/helpers/percy/utils.js +1 -1
  112. package/src/helpers/performance-tester.js +1 -1
  113. package/src/helpers/request-spy.js +1 -1
  114. package/src/helpers/setKeepAlive.js +1 -1
  115. package/src/helpers/test-observability/constants.js +1 -1
  116. package/src/helpers/test-observability/error-handler.js +1 -1
  117. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  118. package/src/helpers/test-observability/sessionHandler.js +1 -1
  119. package/src/helpers/test-observability/utils.js +1 -1
  120. package/src/helpers/testhub/constants.js +1 -1
  121. package/src/helpers/testhub/testhubHandler.js +1 -1
  122. package/src/helpers/testhub/utils.js +1 -1
  123. package/src/helpers/timeoutPromise.js +1 -1
  124. package/src/helpers/utilities.js +1 -1
  125. package/src/helpers/w3cMapping.js +1 -1
  126. package/src/hubAllocationMethods.js +1 -1
  127. package/src/index.js +1 -1
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a14_0x4c6648=a14_0x5809;(function(_0x3b11b1,_0x163862){const _0x52c794=a14_0x5809,_0x3cc44b=_0x3b11b1();while(!![]){try{const _0x2c4dbe=parseInt(_0x52c794(0x241))/0x1*(-parseInt(_0x52c794(0x1f4))/0x2)+parseInt(_0x52c794(0x1fa))/0x3*(parseInt(_0x52c794(0x1f7))/0x4)+-parseInt(_0x52c794(0x1ef))/0x5+-parseInt(_0x52c794(0x1f8))/0x6+-parseInt(_0x52c794(0x242))/0x7*(parseInt(_0x52c794(0x260))/0x8)+-parseInt(_0x52c794(0x211))/0x9+parseInt(_0x52c794(0x206))/0xa;if(_0x2c4dbe===_0x163862)break;else _0x3cc44b['push'](_0x3cc44b['shift']());}catch(_0x238090){_0x3cc44b['push'](_0x3cc44b['shift']());}}}(a14_0x351b,0xaba3a));const fs=require('fs'),path=require(a14_0x4c6648(0x21f)),util=require(a14_0x4c6648(0x22e)),{spawn}=require(a14_0x4c6648(0x23e)),logger=require(a14_0x4c6648(0x23f))[a14_0x4c6648(0x200)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a14_0x4c6648(0x251)),constants=require('../utils/constants'),accessibilityHelper=require(a14_0x4c6648(0x205)),{updateTestRerunConfig}=require('./test-observability/helper'),testOpsHelper=require(a14_0x4c6648(0x228)),{debug}=require(a14_0x4c6648(0x228)),TestDetails=require(a14_0x4c6648(0x1e5)),{getPercyOptions}=require('../../helpers/percy/utils'),TestHubHandler=require(a14_0x4c6648(0x21b)),testhubUtils=require('../../helpers/testhub/utils'),{FRAMEWORKS}=require(a14_0x4c6648(0x1df)),getUserJestConfigs=(_0x4e3cb7,_0x4214cd)=>{const _0x481471=a14_0x4c6648,_0x48fa3a={'riNqL':function(_0x30d00b,_0x292d26){return _0x30d00b(_0x292d26);},'gYDAH':function(_0x561b83,_0x1e547e){return _0x561b83||_0x1e547e;},'QFTMC':function(_0x9799b7,_0x4dd1ff){return _0x9799b7(_0x4dd1ff);},'ekVed':_0x481471(0x23d),'tNlBB':'Getting\x20your\x20jest\x20configs\x20from\x20package.json','uYAIY':_0x481471(0x1db),'tJoEt':'cjs','EKRbp':_0x481471(0x1e0),'YdqcH':function(_0x1e86d1,_0x48f1fd){return _0x1e86d1(_0x48f1fd);}},_0x5cce6b=_0x4214cd[_0x481471(0x20d)](_0x310ffb=>_0x310ffb===_0x481471(0x1e8));if(!helper[_0x481471(0x225)](_0x4e3cb7[_0x481471(0x1ec)])){logger[_0x481471(0x259)](_0x481471(0x258)+_0x4e3cb7[_0x481471(0x1ec)]);const _0x3b7cf1=_0x48fa3a[_0x481471(0x1fb)](require,path[_0x481471(0x1e7)](_0x4e3cb7['config']));return _0x4214cd['splice'](_0x5cce6b,0x2),_0x48fa3a[_0x481471(0x1ff)](_0x3b7cf1,{});}const _0x1fddd4=_0x48fa3a[_0x481471(0x1d3)](require,path[_0x481471(0x254)](process[_0x481471(0x1dd)](),_0x48fa3a['ekVed']));if(_0x1fddd4[_0x481471(0x236)])return logger[_0x481471(0x259)](_0x48fa3a['tNlBB']),_0x1fddd4[_0x481471(0x236)];const _0xcf5deb=['js',_0x48fa3a[_0x481471(0x1cf)],_0x48fa3a['tJoEt'],_0x48fa3a[_0x481471(0x210)],'ts'];for(const _0x2cedc3 of _0xcf5deb){const _0x21e121=path[_0x481471(0x254)](process['cwd'](),'jest.config.'+_0x2cedc3);if(fs['existsSync'](_0x21e121))return _0x48fa3a[_0x481471(0x1d7)](require,_0x21e121);}return{};},getSerial=(_0x1f90fe,_0x40a72a)=>{const _0x599d99=a14_0x4c6648,_0x5fb5a4={};_0x5fb5a4['oxbSM']=_0x599d99(0x250),_0x5fb5a4[_0x599d99(0x245)]=function(_0x1c4f39,_0x6a927c){return _0x1c4f39>_0x6a927c;},_0x5fb5a4[_0x599d99(0x243)]=function(_0x3da82c,_0x3a56b9){return _0x3da82c>_0x3a56b9;},_0x5fb5a4[_0x599d99(0x230)]='false';const _0x5cf84a=_0x5fb5a4;let _0x502059=_0x5cf84a[_0x599d99(0x203)];return _0x5cf84a[_0x599d99(0x245)](_0x1f90fe[_0x599d99(0x22f)],0x1)&&(!_0x40a72a['runInBand']&&(helper['isUndefined'](_0x40a72a[_0x599d99(0x257)])||_0x5cf84a[_0x599d99(0x243)](_0x40a72a[_0x599d99(0x257)],0x1)))&&(_0x502059=_0x5cf84a[_0x599d99(0x230)]),_0x502059;},getMaxWorkers=(_0x8831ef,_0x3a2ab9,_0x462c32)=>{const _0x48d9a5=a14_0x4c6648,_0x1efe88={'IxKPR':function(_0x3b5c56,_0x280559){return _0x3b5c56(_0x280559);}};let _0x1037d4=0x1;if(!helper[_0x48d9a5(0x225)](_0x3a2ab9['parallelsPerPlatform']))_0x1037d4=_0x1efe88[_0x48d9a5(0x238)](parseInt,_0x3a2ab9['parallelsPerPlatform']);else{if(!helper[_0x48d9a5(0x225)](_0x8831ef['maxWorkers']))_0x1037d4=_0x8831ef[_0x48d9a5(0x257)];else!helper['isUndefined'](_0x462c32['maxWorkers'])&&(_0x1037d4=_0x462c32['maxWorkers']);}return _0x1037d4;};function a14_0x351b(){const _0x4d7267=['hCGez','setupFilesAfterEnv','log','exitCode','setupFiles','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','NYSSg','BROWSERSTACK_TEST_OBSERVABILITY_YML','\x20with\x20browserstack\x20jest\x20configs','QGIyl','dgEeR','true','../../helpers/utilities','requireModule','useW3C','join','/customImplements/customEnvironment.js','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','maxWorkers','Getting\x20your\x20jest\x20configs\x20from\x20','info','getHubUrl','proxySettings','env','rYfYH','prepareCapabilities','capabilities','240ZOlZjl','existsSync','/customImplements/customTestRunnerTemplate.js','skipSessionName','testTimeout','BrMQB','requireSeleniumWebdriver','format','uYAIY','push','logLevel','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','QFTMC','debug','\x0a\x20\x20\x20\x20','platformCaps','YdqcH','FRAMEWORKS','testEnvironmentOptions','customImplements','mjs','serial__','cwd','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','../../helpers/test-observability/constants','json','KHewm','Unable\x20to\x20find\x20jest-circus,\x20','browserStackPercyOptions','rmdirSync','./test-observability/test-details','NYoXe','resolve','--config','/customImplements/customCircus.js','jest_browserstack.config.cjs','accessibilityOptions','config','KKuiv','getErrorMessageFromResults','6438760AFynpw','GzwME','TttZQ','testContextOptions','readFileSync','253676yhKyYE','writeFileSync','stop','4FinFOu','926958QylhQo','testObservability','3538923WuzHJg','riNqL','errorMessage','JEST','wtYLN','gYDAH','winstonLogger','jest_browserstack_results.json','Error\x20while\x20parsing\x20','oxbSM',';\x0a\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20','../../helpers/accessibility-automation/helper','36151940NcXFmh','shouldProcessEventForTesthub','npx','setupTCGAuth','error\x20removing\x20tcg\x20config\x20file','EkNlh','BWyVH','findIndex','QQKfO','stringify','EKRbp','5394096YyxjdC','unlinkSync','markSDKSetupComplete','YHdnP','HtOUP','BROWSERSTACK_TEST_ACCESSIBILITY_YML','isBrowserstackInfra','child\x20process\x20exited\x20with\x20code\x20','BSTACK_JEST_TEST_ENV','jest_browserstack.config.js','../../helpers/testhub/testhubHandler','timeout__','platforms','handleApp','path','finalExecution','setup','checkAccessibilityPlatformConfig','runner','\x20:\x20','isUndefined','FeyIU','filterBrowserstackArgs','../../helpers/test-observability/utils','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','skipSessionStatus','MODULE','printBuildLink','parallels__','util','length','AqxSf','getPackageType','exports','default','ShDqp','turboScaleUrl','jest','testEnvironment','IxKPR','win32','lWOvW','assign','browserStackLogLevel','package.json','child_process','../../helpers/logger','slice','9hspAkl','212023YNaqmF','EOYbi','pRofP'];a14_0x351b=function(){return _0x4d7267;};return a14_0x351b();}async function run(_0x302b2c,_0x52edc2){const _0x207cc0=a14_0x4c6648,_0x256d84={'RTTJZ':_0x207cc0(0x20a),'TttZQ':'jest','NYSSg':function(_0x1d0350,_0x1caed9){return _0x1d0350(_0x1caed9);},'rYfYH':function(_0x436c0f,_0x307bd5){return _0x436c0f!=_0x307bd5;},'lWOvW':_0x207cc0(0x250),'KHewm':function(_0x46cb4a,_0x2e02d8,_0x2620f0){return _0x46cb4a(_0x2e02d8,_0x2620f0);},'pRofP':_0x207cc0(0x1de),'Yzqta':function(_0x12f36b,_0x21d87e){return _0x12f36b(_0x21d87e);},'YHdnP':function(_0x4bef72,_0xbd120,_0x18d7f5,_0x384014){return _0x4bef72(_0xbd120,_0x18d7f5,_0x384014);},'NYoXe':function(_0x5eb524,_0x37e5bc){return _0x5eb524*_0x37e5bc;},'ShDqp':function(_0x313dd6,_0x15fbab){return _0x313dd6===_0x15fbab;},'cgUYo':_0x207cc0(0x1ea),'QQKfO':_0x207cc0(0x21a),'ZzuQl':_0x207cc0(0x1da),'EkNlh':_0x207cc0(0x201),'BrMQB':_0x207cc0(0x229),'QGIyl':'skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','ZeUxi':_0x207cc0(0x233),'dgEeR':function(_0x1f1f60,_0x551b58,_0x52fcea){return _0x1f1f60(_0x551b58,_0x52fcea);},'HqnAQ':_0x207cc0(0x24a),'FeyIU':_0x207cc0(0x208),'HtOUP':_0x207cc0(0x1e8),'BWyVH':function(_0x2fb261,_0x504b2a){return _0x2fb261===_0x504b2a;},'wtYLN':_0x207cc0(0x239),'KKuiv':'inherit','GzwME':'close'},_0x1ef68f=new BrowserStackSetup(_0x302b2c,_0x256d84[_0x207cc0(0x1f1)]);helper[_0x207cc0(0x217)]()?(await _0x1ef68f['initialize'](),await helper[_0x207cc0(0x21e)](_0x1ef68f[_0x207cc0(0x1ec)])):await _0x1ef68f[_0x207cc0(0x209)]();if(!_0x1ef68f[_0x207cc0(0x1ec)])return;_0x256d84[_0x207cc0(0x25d)](_0x1ef68f['config']['testObservability'],null)?process['env'][_0x207cc0(0x24c)]=_0x1ef68f[_0x207cc0(0x1ec)][_0x207cc0(0x1f9)]:process['env'][_0x207cc0(0x24c)]=_0x256d84[_0x207cc0(0x23a)];const _0x5b313c=_0x256d84[_0x207cc0(0x1e1)](getUserJestConfigs,_0x302b2c,_0x52edc2);logger[_0x207cc0(0x259)](_0x256d84[_0x207cc0(0x244)]);const _0x47b880=Object[_0x207cc0(0x23b)]({},_0x5b313c);_0x47b880[_0x207cc0(0x1d9)]=Object[_0x207cc0(0x23b)]({},_0x47b880[_0x207cc0(0x1d9)],{'server':helper[_0x207cc0(0x25a)](_0x1ef68f[_0x207cc0(0x1ec)]),'environment':_0x5b313c[_0x207cc0(0x237)]}),_0x47b880[_0x207cc0(0x1d9)][_0x207cc0(0x1e3)]=_0x256d84['Yzqta'](getPercyOptions,_0x1ef68f['config']);const _0x4bedcd=helper[_0x207cc0(0x253)](_0x1ef68f['config']),_0x52b528=helper[_0x207cc0(0x25e)](_0x1ef68f[_0x207cc0(0x1ec)],_0x4bedcd,constants[_0x207cc0(0x1d8)][_0x207cc0(0x1fd)]);!helper[_0x207cc0(0x225)](_0x1ef68f['config'][_0x207cc0(0x1eb)])&&(process[_0x207cc0(0x25c)][_0x207cc0(0x256)]=JSON['stringify'](_0x1ef68f['config'][_0x207cc0(0x1eb)]));let _0x3ea295=_0x1ef68f[_0x207cc0(0x1ec)]['accessibility'];_0x3ea295=_0x3ea295||accessibilityHelper[_0x207cc0(0x222)](_0x1ef68f[_0x207cc0(0x1ec)]),process[_0x207cc0(0x25c)][_0x207cc0(0x216)]=_0x3ea295,_0x47b880[_0x207cc0(0x1d9)][_0x207cc0(0x25f)]=_0x52b528,_0x47b880[_0x207cc0(0x1d9)][_0x207cc0(0x1dc)]=_0x256d84[_0x207cc0(0x1e1)](getSerial,_0x52b528,_0x302b2c),_0x47b880[_0x207cc0(0x1d9)][_0x207cc0(0x22d)]=_0x256d84[_0x207cc0(0x214)](getMaxWorkers,_0x302b2c,_0x1ef68f[_0x207cc0(0x1ec)],_0x5b313c),_0x47b880[_0x207cc0(0x1d9)][_0x207cc0(0x25b)]=_0x1ef68f['config'][_0x207cc0(0x25b)],_0x47b880['testEnvironmentOptions'][_0x207cc0(0x21c)]=_0x256d84[_0x207cc0(0x1e6)](_0x302b2c[_0x207cc0(0x1cb)],0x1)||0x1388,_0x47b880['testEnvironmentOptions'][_0x207cc0(0x263)]=_0x1ef68f[_0x207cc0(0x1ec)][_0x207cc0(0x1f2)]['skipSessionName'],_0x47b880[_0x207cc0(0x1d9)][_0x207cc0(0x22a)]=_0x1ef68f['config'][_0x207cc0(0x1f2)][_0x207cc0(0x22a)],_0x47b880[_0x207cc0(0x1d9)][_0x207cc0(0x23c)]=_0x1ef68f[_0x207cc0(0x1ec)][_0x207cc0(0x1d1)],_0x47b880[_0x207cc0(0x1d9)][_0x207cc0(0x235)]=_0x1ef68f[_0x207cc0(0x1ec)][_0x207cc0(0x235)],_0x47b880['testEnvironmentOptions'][_0x207cc0(0x1d6)]=_0x1ef68f[_0x207cc0(0x1ec)]['platforms'];let _0x450ae3='';_0x256d84[_0x207cc0(0x234)](helper[_0x207cc0(0x231)](),constants['PACKAGE_TYPE'][_0x207cc0(0x22b)])?_0x450ae3=_0x256d84['cgUYo']:_0x450ae3=_0x256d84[_0x207cc0(0x20e)];const _0x3bb38f=_0x450ae3,_0x311dcf=path[_0x207cc0(0x254)](__dirname,_0x256d84['ZzuQl'],_0x256d84[_0x207cc0(0x20b)]),_0x3362a7=__dirname+'/customImplements/customTestRunner.js',_0x3f8572=__dirname+_0x207cc0(0x262);_0x47b880[_0x207cc0(0x237)]&&(process[_0x207cc0(0x25c)][_0x207cc0(0x219)]=_0x47b880['testEnvironment']);_0x47b880[_0x207cc0(0x237)]=__dirname+_0x207cc0(0x255),_0x47b880[_0x207cc0(0x223)]=_0x3362a7,_0x47b880[_0x207cc0(0x246)]=_0x47b880['setupFilesAfterEnv']||[],_0x47b880['setupFilesAfterEnv'][_0x207cc0(0x1d0)](__dirname+'/jest.setup.js');if(testhubUtils[_0x207cc0(0x207)]()){let _0x1510e1=null;try{_0x1510e1=helper[_0x207cc0(0x252)](_0x256d84[_0x207cc0(0x1cc)]);}catch(_0x5703a0){_0x256d84[_0x207cc0(0x24b)](debug,_0x207cc0(0x1e2)+_0x5703a0);}_0x1510e1&&(_0x47b880[_0x207cc0(0x246)][_0x207cc0(0x1d0)](__dirname+'/test-observability/data-hooks.js'),_0x47b880['testRunner']=__dirname+_0x207cc0(0x1e9));}_0x47b880['setupFiles']=_0x47b880[_0x207cc0(0x249)]||[];try{helper[_0x207cc0(0x1cd)](),_0x47b880[_0x207cc0(0x249)]['push'](__dirname+'/test_before.setup.js');}catch{logger[_0x207cc0(0x1d4)](_0x256d84[_0x207cc0(0x24e)]);}_0x47b880['reporters']=_0x47b880['reporters']||[_0x256d84['ZeUxi']],_0x256d84[_0x207cc0(0x24f)](updateTestRerunConfig,_0x47b880,_0x1ef68f);const _0x39d6fd=fs[_0x207cc0(0x1f3)](_0x3f8572);fs[_0x207cc0(0x1f5)](_0x47b880[_0x207cc0(0x223)],_0x207cc0(0x1d5)+_0x39d6fd+'\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20'+_0x1ef68f[_0x207cc0(0x1ec)][_0x207cc0(0x21d)][_0x207cc0(0x22f)]+_0x207cc0(0x204)),logger[_0x207cc0(0x259)]('Creating\x20'+_0x3bb38f+_0x207cc0(0x24d)),fs['writeFileSync'](_0x3bb38f,'const\x20config='+JSON[_0x207cc0(0x20f)](_0x47b880)+'\x0amodule.exports\x20=\x20config;'),logger[_0x207cc0(0x259)](_0x256d84['HqnAQ']);const _0x376a91=await TestHubHandler['launchBuild'](FRAMEWORKS[_0x207cc0(0x1fd)],_0x1ef68f);testhubUtils[_0x207cc0(0x207)]()&&TestDetails[_0x207cc0(0x221)]();helper[_0x207cc0(0x227)]({},_0x52edc2),helper[_0x207cc0(0x213)]();const _0x14f21c=_0x256d84[_0x207cc0(0x214)](spawn,_0x256d84[_0x207cc0(0x226)],[_0x256d84[_0x207cc0(0x1f1)],_0x256d84[_0x207cc0(0x215)],_0x3bb38f,..._0x52edc2[_0x207cc0(0x240)](0x1)],{'shell':_0x256d84[_0x207cc0(0x20c)](process['platform'],_0x256d84[_0x207cc0(0x1fe)]),'stdio':_0x256d84[_0x207cc0(0x1ed)],'env':Object['assign']({},process[_0x207cc0(0x25c)])});_0x14f21c['on'](_0x256d84[_0x207cc0(0x1f0)],async _0x2820b1=>{const _0xb0e5b4=_0x207cc0;try{const {browserstackFolderPath:_0x1368ea,tcgConfigPath:_0x4d7805}=helper['getTCGConfigFilePaths']();fs['unlinkSync'](_0x4d7805),fs[_0xb0e5b4(0x1e4)](_0x1368ea);}catch(_0x33882e){logger[_0xb0e5b4(0x1d4)](_0x256d84['RTTJZ'],_0x33882e);}process[_0xb0e5b4(0x248)]=_0x2820b1,logger[_0xb0e5b4(0x1d4)](_0xb0e5b4(0x218)+_0x2820b1),logger[_0xb0e5b4(0x259)]('Deleting\x20'+_0x3bb38f);let _0x3b94a1=null;if(fs[_0xb0e5b4(0x261)](_0x311dcf)){_0x3b94a1=fs['readFileSync'](_0x311dcf);try{_0x3b94a1=JSON['parse'](_0x3b94a1);}catch(_0x544ee9){logger['debug'](_0xb0e5b4(0x202)+_0x311dcf+',\x20'+_0x3b94a1+_0xb0e5b4(0x224)+_0x544ee9);}fs[_0xb0e5b4(0x212)](_0x311dcf);}fs[_0xb0e5b4(0x212)](_0x3bb38f),fs[_0xb0e5b4(0x212)](_0x3362a7),_0x3b94a1&&(_0x1ef68f[_0xb0e5b4(0x1fc)]=helper[_0xb0e5b4(0x1ee)](_0x3b94a1,_0x256d84[_0xb0e5b4(0x1f1)],_0x1ef68f));try{await TestHubHandler[_0xb0e5b4(0x1f6)]();}catch(_0x1f224b){console[_0xb0e5b4(0x247)](_0x1f224b),_0x256d84[_0xb0e5b4(0x24b)](debug,_0xb0e5b4(0x1d2)+util[_0xb0e5b4(0x1ce)](_0x1f224b));}testOpsHelper[_0xb0e5b4(0x22c)](),TestDetails['shutdown'](),await utilities[_0xb0e5b4(0x220)](_0x1ef68f);});}function a14_0x5809(_0x958885,_0x5c63f1){const _0x351b71=a14_0x351b();return a14_0x5809=function(_0x58096d,_0x5e16c9){_0x58096d=_0x58096d-0x1cb;let _0xe98c1c=_0x351b71[_0x58096d];return _0xe98c1c;},a14_0x5809(_0x958885,_0x5c63f1);}module[a14_0x4c6648(0x232)]=run;
2
+ 'use strict';const a14_0xecb4e4=a14_0x2596;function a14_0x2596(_0x3454e7,_0x5e4792){const _0x3b1098=a14_0x3b10();return a14_0x2596=function(_0x25966c,_0x2a2c4b){_0x25966c=_0x25966c-0x118;let _0x101f1b=_0x3b1098[_0x25966c];return _0x101f1b;},a14_0x2596(_0x3454e7,_0x5e4792);}(function(_0x25e470,_0x5687f5){const _0x569785=a14_0x2596,_0x4c8d25=_0x25e470();while(!![]){try{const _0x30b3de=-parseInt(_0x569785(0x175))/0x1+-parseInt(_0x569785(0x17c))/0x2*(parseInt(_0x569785(0x198))/0x3)+-parseInt(_0x569785(0x15c))/0x4+parseInt(_0x569785(0x134))/0x5+-parseInt(_0x569785(0x14e))/0x6+-parseInt(_0x569785(0x182))/0x7+-parseInt(_0x569785(0x11b))/0x8*(-parseInt(_0x569785(0x194))/0x9);if(_0x30b3de===_0x5687f5)break;else _0x4c8d25['push'](_0x4c8d25['shift']());}catch(_0x3e6192){_0x4c8d25['push'](_0x4c8d25['shift']());}}}(a14_0x3b10,0xbff52));const fs=require('fs'),path=require(a14_0xecb4e4(0x13e)),util=require('util'),{spawn}=require(a14_0xecb4e4(0x17b)),logger=require(a14_0xecb4e4(0x161))[a14_0xecb4e4(0x158)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a14_0xecb4e4(0x15e)),utilities=require(a14_0xecb4e4(0x17d)),constants=require('../utils/constants'),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require(a14_0xecb4e4(0x190)),testOpsHelper=require(a14_0xecb4e4(0x154)),{debug}=require(a14_0xecb4e4(0x154)),TestDetails=require('./test-observability/test-details'),{getPercyOptions}=require('../../helpers/percy/utils'),TestHubHandler=require(a14_0xecb4e4(0x13a)),testhubUtils=require(a14_0xecb4e4(0x18f)),{FRAMEWORKS}=require(a14_0xecb4e4(0x14f)),getUserJestConfigs=(_0x264e74,_0x474ffc)=>{const _0xd0777=a14_0xecb4e4,_0x479b2b={'jLJGg':function(_0x3c73a4,_0x49300e){return _0x3c73a4(_0x49300e);},'DEqWk':function(_0xadea28,_0x55cde4){return _0xadea28||_0x55cde4;},'czRoR':function(_0x50644b,_0x37d7f9){return _0x50644b(_0x37d7f9);},'rLDjf':'package.json','oYuQk':_0xd0777(0x143),'oKAbD':_0xd0777(0x173),'lwHKM':_0xd0777(0x19e),'nyshf':_0xd0777(0x15f)},_0x31dac3=_0x474ffc[_0xd0777(0x144)](_0x2f5b19=>_0x2f5b19==='--config');if(!helper[_0xd0777(0x199)](_0x264e74[_0xd0777(0x147)])){logger[_0xd0777(0x179)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x264e74['config']);const _0xc9e88b=_0x479b2b[_0xd0777(0x156)](require,path[_0xd0777(0x18e)](_0x264e74['config']));return _0x474ffc[_0xd0777(0x17e)](_0x31dac3,0x2),_0x479b2b[_0xd0777(0x141)](_0xc9e88b,{});}const _0x13465c=_0x479b2b[_0xd0777(0x1b3)](require,path[_0xd0777(0x157)](process['cwd'](),_0x479b2b[_0xd0777(0x176)]));if(_0x13465c[_0xd0777(0x130)])return logger[_0xd0777(0x179)](_0x479b2b[_0xd0777(0x14d)]),_0x13465c['jest'];const _0x166289=['js',_0x479b2b['oKAbD'],_0x479b2b[_0xd0777(0x191)],_0x479b2b[_0xd0777(0x11c)],'ts'];for(const _0x45006d of _0x166289){const _0x4c440e=path[_0xd0777(0x157)](process['cwd'](),_0xd0777(0x1aa)+_0x45006d);if(fs[_0xd0777(0x1af)](_0x4c440e))return _0x479b2b[_0xd0777(0x156)](require,_0x4c440e);}return{};},getSerial=(_0x307bcf,_0x2247ff)=>{const _0x328d3e=a14_0xecb4e4,_0x364542={};_0x364542[_0x328d3e(0x150)]=_0x328d3e(0x118),_0x364542[_0x328d3e(0x15a)]=function(_0x2101ea,_0x224bfe){return _0x2101ea>_0x224bfe;},_0x364542[_0x328d3e(0x165)]=function(_0x1468c5,_0x42b1b1){return _0x1468c5>_0x42b1b1;},_0x364542[_0x328d3e(0x16d)]=_0x328d3e(0x195);const _0x1f570c=_0x364542;let _0x45259f=_0x1f570c['HCOIl'];return _0x1f570c[_0x328d3e(0x15a)](_0x307bcf[_0x328d3e(0x13f)],0x1)&&(!_0x2247ff[_0x328d3e(0x153)]&&(helper[_0x328d3e(0x199)](_0x2247ff[_0x328d3e(0x128)])||_0x1f570c[_0x328d3e(0x165)](_0x2247ff[_0x328d3e(0x128)],0x1)))&&(_0x45259f=_0x1f570c[_0x328d3e(0x16d)]),_0x45259f;},getMaxWorkers=(_0x161961,_0x5bcdc5,_0x436b41)=>{const _0x173050=a14_0xecb4e4,_0x4ac730={'OYbpD':function(_0x59fd55,_0x44bbc3){return _0x59fd55(_0x44bbc3);}};let _0x37bc7d=0x1;if(!helper[_0x173050(0x199)](_0x5bcdc5[_0x173050(0x12e)]))_0x37bc7d=_0x4ac730[_0x173050(0x167)](parseInt,_0x5bcdc5[_0x173050(0x12e)]);else{if(!helper[_0x173050(0x199)](_0x161961[_0x173050(0x128)]))_0x37bc7d=_0x161961['maxWorkers'];else!helper[_0x173050(0x199)](_0x436b41[_0x173050(0x128)])&&(_0x37bc7d=_0x436b41[_0x173050(0x128)]);}return _0x37bc7d;};async function run(_0x3f71b0,_0x16e67c){const _0x4cfb92=a14_0xecb4e4,_0x1d4bae={'XLBKH':_0x4cfb92(0x168),'WZRXv':_0x4cfb92(0x130),'jcMAS':function(_0x168276,_0x4ef0e5){return _0x168276(_0x4ef0e5);},'HdaGG':function(_0x194679,_0x433848){return _0x194679!=_0x433848;},'WTvJm':_0x4cfb92(0x118),'ycirb':function(_0x5e0283,_0x5ec1c3,_0x3d1ad2){return _0x5e0283(_0x5ec1c3,_0x3d1ad2);},'icSnP':_0x4cfb92(0x197),'ikTbK':function(_0x529d66,_0x2583b2,_0x30ac58,_0x4f26cd){return _0x529d66(_0x2583b2,_0x30ac58,_0x4f26cd);},'TmNpw':function(_0x15e50e,_0xc6717b){return _0x15e50e*_0xc6717b;},'EPvYM':function(_0x177162,_0x296d85){return _0x177162===_0x296d85;},'uzmfV':_0x4cfb92(0x14c),'BqAoN':'jest_browserstack.config.js','PsObM':_0x4cfb92(0x11a),'HzuPk':_0x4cfb92(0x18c),'gmrKS':_0x4cfb92(0x1b1),'qbDew':'skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','IXRHV':_0x4cfb92(0x1a2),'gTRlk':_0x4cfb92(0x1a9),'yExPw':_0x4cfb92(0x1b2),'vhITA':_0x4cfb92(0x170),'AWzBU':function(_0x3e5ff1,_0x41d63d){return _0x3e5ff1===_0x41d63d;},'oYbtU':'win32','iJxzP':'inherit','GGJyx':_0x4cfb92(0x184)},_0xa621d8=new BrowserStackSetup(_0x3f71b0,_0x1d4bae[_0x4cfb92(0x1a3)]);helper[_0x4cfb92(0x12d)]()?(await _0xa621d8[_0x4cfb92(0x120)](),await helper[_0x4cfb92(0x1ac)](_0xa621d8['config'])):await _0xa621d8[_0x4cfb92(0x171)]();if(!_0xa621d8[_0x4cfb92(0x147)])return;_0x1d4bae[_0x4cfb92(0x132)](_0xa621d8['config']['testObservability'],null)?process[_0x4cfb92(0x123)][_0x4cfb92(0x119)]=_0xa621d8[_0x4cfb92(0x147)][_0x4cfb92(0x18d)]:process[_0x4cfb92(0x123)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x1d4bae['WTvJm'];const _0x56fb01=_0x1d4bae[_0x4cfb92(0x14a)](getUserJestConfigs,_0x3f71b0,_0x16e67c);logger['info'](_0x1d4bae[_0x4cfb92(0x16b)]);const _0x345327=Object[_0x4cfb92(0x1a8)]({},_0x56fb01);_0x345327[_0x4cfb92(0x129)]=Object[_0x4cfb92(0x1a8)]({},_0x345327[_0x4cfb92(0x129)],{'server':helper[_0x4cfb92(0x19a)](_0xa621d8[_0x4cfb92(0x147)]),'environment':_0x56fb01[_0x4cfb92(0x1a7)]}),_0x345327[_0x4cfb92(0x129)]['browserStackPercyOptions']=_0x1d4bae[_0x4cfb92(0x183)](getPercyOptions,_0xa621d8[_0x4cfb92(0x147)]);const _0x523885=helper[_0x4cfb92(0x148)](_0xa621d8[_0x4cfb92(0x147)]),_0x5947fa=helper[_0x4cfb92(0x127)](_0xa621d8[_0x4cfb92(0x147)],_0x523885,constants[_0x4cfb92(0x164)]['JEST']);!helper[_0x4cfb92(0x199)](_0xa621d8[_0x4cfb92(0x147)][_0x4cfb92(0x155)])&&(process[_0x4cfb92(0x123)][_0x4cfb92(0x13b)]=JSON['stringify'](_0xa621d8[_0x4cfb92(0x147)][_0x4cfb92(0x155)]));let _0x250571=_0xa621d8[_0x4cfb92(0x147)]['accessibility'];_0x250571=_0x250571||accessibilityHelper['checkAccessibilityPlatformConfig'](_0xa621d8['config']),process[_0x4cfb92(0x123)][_0x4cfb92(0x187)]=_0x250571,_0x345327[_0x4cfb92(0x129)][_0x4cfb92(0x11f)]=_0x5947fa,_0x345327[_0x4cfb92(0x129)][_0x4cfb92(0x196)]=_0x1d4bae[_0x4cfb92(0x14a)](getSerial,_0x5947fa,_0x3f71b0),_0x345327[_0x4cfb92(0x129)][_0x4cfb92(0x12a)]=_0x1d4bae[_0x4cfb92(0x125)](getMaxWorkers,_0x3f71b0,_0xa621d8[_0x4cfb92(0x147)],_0x56fb01),_0x345327['testEnvironmentOptions']['proxySettings']=_0xa621d8['config']['proxySettings'],_0x345327[_0x4cfb92(0x129)][_0x4cfb92(0x131)]=_0x1d4bae[_0x4cfb92(0x16c)](_0x3f71b0[_0x4cfb92(0x122)],0x1)||0x1388,_0x345327['testEnvironmentOptions'][_0x4cfb92(0x17a)]=_0xa621d8[_0x4cfb92(0x147)]['testContextOptions'][_0x4cfb92(0x17a)],_0x345327[_0x4cfb92(0x129)][_0x4cfb92(0x19b)]=_0xa621d8[_0x4cfb92(0x147)][_0x4cfb92(0x137)]['skipSessionStatus'],_0x345327[_0x4cfb92(0x129)][_0x4cfb92(0x1a4)]=_0xa621d8[_0x4cfb92(0x147)][_0x4cfb92(0x18b)],_0x345327[_0x4cfb92(0x129)][_0x4cfb92(0x15b)]=_0xa621d8[_0x4cfb92(0x147)]['turboScaleUrl'],_0x345327[_0x4cfb92(0x129)][_0x4cfb92(0x180)]=_0xa621d8[_0x4cfb92(0x147)]['platforms'];let _0x476681='';_0x1d4bae['EPvYM'](helper[_0x4cfb92(0x136)](),constants[_0x4cfb92(0x1b4)][_0x4cfb92(0x1a0)])?_0x476681=_0x1d4bae[_0x4cfb92(0x160)]:_0x476681=_0x1d4bae['BqAoN'];const _0x3f5bc9=_0x476681,_0x3e3908=path[_0x4cfb92(0x157)](__dirname,_0x1d4bae[_0x4cfb92(0x133)],_0x1d4bae[_0x4cfb92(0x181)]),_0xb1c9f=__dirname+_0x4cfb92(0x126),_0x14c4f7=__dirname+'/customImplements/customTestRunnerTemplate.js';_0x345327[_0x4cfb92(0x1a7)]&&(process['env'][_0x4cfb92(0x18a)]=_0x345327[_0x4cfb92(0x1a7)]);_0x345327[_0x4cfb92(0x1a7)]=__dirname+_0x4cfb92(0x152),_0x345327['runner']=_0xb1c9f,_0x345327[_0x4cfb92(0x172)]=_0x345327[_0x4cfb92(0x172)]||[],_0x345327['setupFilesAfterEnv'][_0x4cfb92(0x11d)](__dirname+'/jest.setup.js');if(testhubUtils[_0x4cfb92(0x162)]()){let _0x59b5b1=null;try{_0x59b5b1=helper[_0x4cfb92(0x1ab)](_0x1d4bae[_0x4cfb92(0x12c)]);}catch(_0x374bc5){_0x1d4bae[_0x4cfb92(0x183)](debug,_0x4cfb92(0x121)+_0x374bc5);}_0x59b5b1&&(_0x345327[_0x4cfb92(0x172)]['push'](__dirname+_0x4cfb92(0x159)),_0x345327['testRunner']=__dirname+'/customImplements/customCircus.js');}_0x345327[_0x4cfb92(0x192)]=_0x345327['setupFiles']||[];try{helper[_0x4cfb92(0x169)](),_0x345327['setupFiles'][_0x4cfb92(0x11d)](__dirname+_0x4cfb92(0x166));}catch{logger['debug'](_0x1d4bae[_0x4cfb92(0x13d)]);}_0x345327[_0x4cfb92(0x124)]=_0x345327[_0x4cfb92(0x124)]||[_0x1d4bae['IXRHV']],_0x1d4bae[_0x4cfb92(0x14a)](updateTestRerunConfig,_0x345327,_0xa621d8);const _0x37fd44=fs['readFileSync'](_0x14c4f7);fs[_0x4cfb92(0x145)](_0x345327['runner'],'\x0a\x20\x20\x20\x20'+_0x37fd44+'\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20'+_0xa621d8[_0x4cfb92(0x147)][_0x4cfb92(0x1b0)][_0x4cfb92(0x13f)]+';\x0a\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20'),logger[_0x4cfb92(0x179)](_0x4cfb92(0x142)+_0x3f5bc9+'\x20with\x20browserstack\x20jest\x20configs'),fs[_0x4cfb92(0x145)](_0x3f5bc9,_0x4cfb92(0x186)+JSON['stringify'](_0x345327)+_0x4cfb92(0x177)),logger[_0x4cfb92(0x179)](_0x1d4bae[_0x4cfb92(0x15d)]);const _0x2b9070=await TestHubHandler[_0x4cfb92(0x19f)](FRAMEWORKS[_0x4cfb92(0x1a5)],_0xa621d8);testhubUtils[_0x4cfb92(0x162)]()&&TestDetails[_0x4cfb92(0x1ae)]();helper['filterBrowserstackArgs']({},_0x16e67c),helper[_0x4cfb92(0x12f)]();const _0x2db08b=_0x1d4bae[_0x4cfb92(0x125)](spawn,_0x1d4bae['yExPw'],[_0x1d4bae[_0x4cfb92(0x1a3)],_0x1d4bae[_0x4cfb92(0x138)],_0x3f5bc9,..._0x16e67c['slice'](0x1)],{'shell':_0x1d4bae[_0x4cfb92(0x12b)](process[_0x4cfb92(0x135)],_0x1d4bae[_0x4cfb92(0x151)]),'stdio':_0x1d4bae[_0x4cfb92(0x139)],'env':Object['assign']({},process[_0x4cfb92(0x123)])});_0x2db08b['on'](_0x1d4bae[_0x4cfb92(0x1a6)],async _0x3c7522=>{const _0x598127=_0x4cfb92;try{const {browserstackFolderPath:_0xdaed85,tcgConfigPath:_0xaae986}=helper[_0x598127(0x16a)]();fs['unlinkSync'](_0xaae986),fs[_0x598127(0x188)](_0xdaed85);}catch(_0x430f51){logger[_0x598127(0x146)](_0x1d4bae[_0x598127(0x16f)],_0x430f51);}process[_0x598127(0x11e)]=_0x3c7522,logger[_0x598127(0x146)](_0x598127(0x14b)+_0x3c7522),logger['info'](_0x598127(0x19d)+_0x3f5bc9);let _0x19be76=null;if(fs[_0x598127(0x1af)](_0x3e3908)){_0x19be76=fs[_0x598127(0x174)](_0x3e3908);try{_0x19be76=JSON[_0x598127(0x13c)](_0x19be76);}catch(_0x426f6e){logger['debug'](_0x598127(0x19c)+_0x3e3908+',\x20'+_0x19be76+_0x598127(0x193)+_0x426f6e);}fs[_0x598127(0x17f)](_0x3e3908);}fs[_0x598127(0x17f)](_0x3f5bc9),fs[_0x598127(0x17f)](_0xb1c9f),_0x19be76&&(_0xa621d8[_0x598127(0x189)]=helper[_0x598127(0x16e)](_0x19be76,_0x1d4bae[_0x598127(0x1a3)],_0xa621d8));try{await TestHubHandler[_0x598127(0x1ad)]();}catch(_0x20047a){console[_0x598127(0x178)](_0x20047a),_0x1d4bae['jcMAS'](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x598127(0x149)](_0x20047a));}testOpsHelper[_0x598127(0x163)](),TestDetails[_0x598127(0x185)](),await utilities[_0x598127(0x140)](_0xa621d8);});}function a14_0x3b10(){const _0x107593=['platform','getPackageType','testContextOptions','vhITA','iJxzP','../../helpers/testhub/testhubHandler','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','parse','qbDew','path','length','finalExecution','DEqWk','Creating\x20','Getting\x20your\x20jest\x20configs\x20from\x20package.json','findIndex','writeFileSync','debug','config','useW3C','format','ycirb','child\x20process\x20exited\x20with\x20code\x20','jest_browserstack.config.cjs','oYuQk','7891266DwVNkV','../../helpers/test-observability/constants','HCOIl','oYbtU','/customImplements/customEnvironment.js','runInBand','../../helpers/test-observability/utils','accessibilityOptions','jLJGg','join','winstonLogger','/test-observability/data-hooks.js','qryst','turboScaleUrl','1463608QlmVvu','gTRlk','../../helpers/helper','json','uzmfV','../../helpers/logger','shouldProcessEventForTesthub','printBuildLink','FRAMEWORKS','GXpTf','/test_before.setup.js','OYbpD','error\x20removing\x20tcg\x20config\x20file','requireSeleniumWebdriver','getTCGConfigFilePaths','icSnP','TmNpw','PbGYk','getErrorMessageFromResults','XLBKH','--config','setupTCGAuth','setupFilesAfterEnv','mjs','readFileSync','1130991JvOGXp','rLDjf','\x0amodule.exports\x20=\x20config;','log','info','skipSessionName','child_process','8ePVjZA','../../helpers/utilities','splice','unlinkSync','platformCaps','HzuPk','5336527hrKzpb','jcMAS','close','shutdown','const\x20config=','BROWSERSTACK_TEST_ACCESSIBILITY_YML','rmdirSync','errorMessage','BSTACK_JEST_TEST_ENV','logLevel','jest_browserstack_results.json','testObservability','resolve','../../helpers/testhub/utils','./test-observability/helper','lwHKM','setupFiles','\x20:\x20','9FBpbzJ','false','serial__','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','624381fFRUHo','isUndefined','getHubUrl','skipSessionStatus','Error\x20while\x20parsing\x20','Deleting\x20','cjs','launchBuild','MODULE','exports','default','WZRXv','browserStackLogLevel','JEST','GGJyx','testEnvironment','assign','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','jest.config.','requireModule','handleApp','stop','setup','existsSync','platforms','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','npx','czRoR','PACKAGE_TYPE','true','BROWSERSTACK_TEST_OBSERVABILITY_YML','customImplements','40765072hKAwVd','nyshf','push','exitCode','capabilities','initialize','Unable\x20to\x20find\x20jest-circus,\x20','testTimeout','env','reporters','ikTbK','/customImplements/customTestRunner.js','prepareCapabilities','maxWorkers','testEnvironmentOptions','parallels__','AWzBU','gmrKS','isBrowserstackInfra','parallelsPerPlatform','markSDKSetupComplete','jest','timeout__','HdaGG','PsObM','487985eOmmjw'];a14_0x3b10=function(){return _0x107593;};return a14_0x3b10();}module[a14_0xecb4e4(0x1a1)]=run;
@@ -1 +1 @@
1
- const a15_0x2b4e1e=a15_0x4e6d;(function(_0x57fc80,_0x561ed2){const _0x3266cf=a15_0x4e6d,_0x1d16df=_0x57fc80();while(!![]){try{const _0x3a212b=parseInt(_0x3266cf(0x10b))/0x1+parseInt(_0x3266cf(0x10c))/0x2+-parseInt(_0x3266cf(0x10f))/0x3*(parseInt(_0x3266cf(0x10e))/0x4)+parseInt(_0x3266cf(0x109))/0x5+-parseInt(_0x3266cf(0x10d))/0x6+parseInt(_0x3266cf(0x115))/0x7*(parseInt(_0x3266cf(0x118))/0x8)+-parseInt(_0x3266cf(0x116))/0x9;if(_0x3a212b===_0x561ed2)break;else _0x1d16df['push'](_0x1d16df['shift']());}catch(_0x226af4){_0x1d16df['push'](_0x1d16df['shift']());}}}(a15_0x5ef0,0x998c2));const path=require('path'),{requireModule}=require('../../../helpers/helper');let initJestAdapter=requireModule(a15_0x2b4e1e(0x114));initJestAdapter=typeof initJestAdapter==='function'?initJestAdapter:initJestAdapter[a15_0x2b4e1e(0x110)];function a15_0x5ef0(){const _0x29dd39=['9248076CDcEBJ','sayOG','3352GcNGOK','initRequireModule','exports','rIePL','4499720cnXpYb','join','984178XuDJPX','1986940BKsMOg','3697152iUKUeQ','916zUzDEr','7941VdIZTB','default','./customJestAdapterInit.js','requireInternalModule','/jestAdapterInit','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','21ZMALZo'];a15_0x5ef0=function(){return _0x29dd39;};return a15_0x5ef0();}const FRAMEWORK_INITIALIZER=path[a15_0x2b4e1e(0x10a)](__dirname,a15_0x2b4e1e(0x111));function a15_0x4e6d(_0x4e9298,_0x27abbb){const _0x5ef0d8=a15_0x5ef0();return a15_0x4e6d=function(_0x4e6d84,_0x433a19){_0x4e6d84=_0x4e6d84-0x106;let _0xdb57b3=_0x5ef0d8[_0x4e6d84];return _0xdb57b3;},a15_0x4e6d(_0x4e9298,_0x27abbb);}module[a15_0x2b4e1e(0x107)]=(..._0x13679a)=>{const _0xb36ad7=a15_0x2b4e1e,_0x1db122={'gTaok':_0xb36ad7(0x113),'rIePL':function(_0xbb61aa,_0x3da009){return _0xbb61aa===_0x3da009;},'sayOG':function(_0x2ba60d,..._0x5493a7){return _0x2ba60d(..._0x5493a7);}};return _0x13679a[0x3][_0xb36ad7(0x106)]=_0x13679a[0x3][_0xb36ad7(0x112)],_0x13679a[0x3]['requireInternalModule']=(..._0x312bf7)=>{const _0x4a96b3=_0xb36ad7;if(_0x312bf7[0x0]&&_0x312bf7[0x0]['includes'](_0x1db122['gTaok'])&&_0x1db122[_0x4a96b3(0x108)](_0x312bf7[0x1],undefined))return _0x13679a[0x3][_0x4a96b3(0x106)](FRAMEWORK_INITIALIZER);return _0x13679a[0x3][_0x4a96b3(0x106)](..._0x312bf7);},_0x1db122[_0xb36ad7(0x117)](initJestAdapter,..._0x13679a);};
1
+ const a15_0x47a787=a15_0x1a36;(function(_0x33f356,_0x51416f){const _0x3dc232=a15_0x1a36,_0x5c4dc8=_0x33f356();while(!![]){try{const _0x514ad1=parseInt(_0x3dc232(0x110))/0x1*(-parseInt(_0x3dc232(0x10b))/0x2)+-parseInt(_0x3dc232(0xff))/0x3+-parseInt(_0x3dc232(0x109))/0x4*(parseInt(_0x3dc232(0xfc))/0x5)+-parseInt(_0x3dc232(0x103))/0x6*(-parseInt(_0x3dc232(0x108))/0x7)+parseInt(_0x3dc232(0xfe))/0x8+parseInt(_0x3dc232(0x100))/0x9*(-parseInt(_0x3dc232(0x10f))/0xa)+parseInt(_0x3dc232(0x10e))/0xb;if(_0x514ad1===_0x51416f)break;else _0x5c4dc8['push'](_0x5c4dc8['shift']());}catch(_0x5e0378){_0x5c4dc8['push'](_0x5c4dc8['shift']());}}}(a15_0x5a7a,0xbe791));function a15_0x1a36(_0x155f51,_0x17d9ba){const _0x5a7a0b=a15_0x5a7a();return a15_0x1a36=function(_0x1a3615,_0x2f0bd4){_0x1a3615=_0x1a3615-0xfb;let _0x401738=_0x5a7a0b[_0x1a3615];return _0x401738;},a15_0x1a36(_0x155f51,_0x17d9ba);}const path=require(a15_0x47a787(0x104)),{requireModule}=require(a15_0x47a787(0xfd));let initJestAdapter=requireModule(a15_0x47a787(0x111));initJestAdapter=typeof initJestAdapter==='function'?initJestAdapter:initJestAdapter[a15_0x47a787(0x10d)];function a15_0x5a7a(){const _0x3454fe=['requireInternalModule','join','1212YHGXVE','path','exports','includes','/jestAdapterInit','4396QbvFBS','57740QOiYeT','./customJestAdapterInit.js','2mjUCvD','initRequireModule','default','34254913uJywfg','883980aiUguV','1284485muKMgC','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','RvSlw','35JNthXt','../../../helpers/helper','648584iJqIZw','21393pbvRbX','117QFcDQw'];a15_0x5a7a=function(){return _0x3454fe;};return a15_0x5a7a();}const FRAMEWORK_INITIALIZER=path[a15_0x47a787(0x102)](__dirname,a15_0x47a787(0x10a));module[a15_0x47a787(0x105)]=(..._0x34b4ea)=>{const _0x1abe41=a15_0x47a787,_0x4d798e={'hOMxF':_0x1abe41(0x107),'uoSFE':function(_0x2d0827,_0x2a7d70){return _0x2d0827===_0x2a7d70;},'RvSlw':function(_0x3936ac,..._0x44aa34){return _0x3936ac(..._0x44aa34);}};return _0x34b4ea[0x3][_0x1abe41(0x10c)]=_0x34b4ea[0x3][_0x1abe41(0x101)],_0x34b4ea[0x3]['requireInternalModule']=(..._0x2c1892)=>{const _0x4a830f=_0x1abe41;if(_0x2c1892[0x0]&&_0x2c1892[0x0][_0x4a830f(0x106)](_0x4d798e['hOMxF'])&&_0x4d798e['uoSFE'](_0x2c1892[0x1],undefined))return _0x34b4ea[0x3]['initRequireModule'](FRAMEWORK_INITIALIZER);return _0x34b4ea[0x3][_0x4a830f(0x10c)](..._0x2c1892);},_0x4d798e[_0x1abe41(0xfb)](initJestAdapter,..._0x34b4ea);};
@@ -1 +1 @@
1
- function a16_0x6bd9(){const _0x5c465c=['__driversArray','projectConfig','NMDPp','cleanup','cwd','driver','getInstance','DAKJe','gxbMu','../../utils/constants','requireModule','4926012UDeDbT','QqAgv','../../../helpers/helper','54EkIRUc','BSTACK_JEST_TEST_ENV','../../../helpers/test-observability/requestQueueHandler','vOvAT','default','__webdriver','__platformCaps','shouldProcessEventForTesthub','skipSessionName','test_start','modifyCommand','FRAMEWORKS','browserStackGlobals','21820mZuhoN','pubHO','../../../helpers/test-observability/utils','38AQTavk','requireSeleniumWebdriver','percy','jest-resolve','__timeout','cleanupDrivers','framework','isBrowserstackInfra','teardown','isTrue','skipSessionStatus','9479bNvXnO','xKpGD','node','zkBhx','1691437WeprQv','duEtJ','8RunVJW','BSTACK_DELTA','tbLSj','shutdown','762139zEyntp','Builder','nSmog','getTestEnvironment','../test-observability/obsReporter','timeout__','BXYvP','browserstackPlatformIndex','handleTestEvent','exports','GWsSw','resolveTestEnvironment','capability','ZDNSV','1178210Vqpvnr','browserstackPercyBestPlatform','registerListeners','../../../helpers/testhub/utils','percyCaptureMode','setup','configuration','__esModule','9gSoNUe','platformCaps','ykbSB','nestedKeyValue','PQVrA','testContext','split','jrBfk','sessionNameProvided','__drivers','193176lyNIVa','quit','testEnvironmentOptions','global','browserstackAgentV2','40HlHVFg','ZgiCe'];a16_0x6bd9=function(){return _0x5c465c;};return a16_0x6bd9();}const a16_0x812177=a16_0x2a96;(function(_0x2aa34e,_0x4bed28){const _0x1b3a06=a16_0x2a96,_0x33673b=_0x2aa34e();while(!![]){try{const _0x4697f0=parseInt(_0x1b3a06(0x19e))/0x1*(-parseInt(_0x1b3a06(0x193))/0x2)+parseInt(_0x1b3a06(0x183))/0x3*(parseInt(_0x1b3a06(0x190))/0x4)+parseInt(_0x1b3a06(0x173))/0x5*(parseInt(_0x1b3a06(0x16e))/0x6)+-parseInt(_0x1b3a06(0x14e))/0x7*(parseInt(_0x1b3a06(0x14a))/0x8)+-parseInt(_0x1b3a06(0x164))/0x9*(parseInt(_0x1b3a06(0x15c))/0xa)+-parseInt(_0x1b3a06(0x148))/0xb+parseInt(_0x1b3a06(0x180))/0xc;if(_0x4697f0===_0x4bed28)break;else _0x33673b['push'](_0x33673b['shift']());}catch(_0x3ec030){_0x33673b['push'](_0x33673b['shift']());}}}(a16_0x6bd9,0x3237d));const helper=require(a16_0x812177(0x182)),constants=require(a16_0x812177(0x17e)),{isTestObservabilitySession}=require(a16_0x812177(0x192)),RequestQueueHandler=require(a16_0x812177(0x185)),ObservabilityReporter=require(a16_0x812177(0x152)),testhubUtils=require(a16_0x812177(0x15f)),getTestEnvironment=((()=>{const _0x453f02=a16_0x812177,_0x11ff74={};_0x11ff74[_0x453f02(0x15b)]=_0x453f02(0x196),_0x11ff74[_0x453f02(0x158)]='jest-config';const _0x870a82=_0x11ff74;try{const _0x26aefb=helper['requireModule'](_0x870a82[_0x453f02(0x15b)]);if(_0x26aefb[_0x453f02(0x159)])return _0x26aefb['resolveTestEnvironment'];const _0x133723=helper[_0x453f02(0x17f)](_0x870a82[_0x453f02(0x158)]);if(_0x133723[_0x453f02(0x151)])return _0x133723[_0x453f02(0x151)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x3dbdac=a16_0x812177,_0x185d3d={'vOvAT':function(_0xad9805,_0x37c502){return _0xad9805(_0x37c502);},'jrBfk':_0x3dbdac(0x1a0),'PQVrA':'jest-environment-node'},_0x57846e=_0x185d3d[_0x3dbdac(0x186)](getTestEnvironment,{'rootDir':process[_0x3dbdac(0x179)](),'testEnvironment':process['env'][_0x3dbdac(0x184)]||_0x185d3d[_0x3dbdac(0x16b)]});if(!_0x57846e)return _0x185d3d[_0x3dbdac(0x186)](_interopRequireDefault,helper[_0x3dbdac(0x17f)](_0x185d3d[_0x3dbdac(0x168)]));return _0x185d3d[_0x3dbdac(0x186)](_interopRequireDefault,helper[_0x3dbdac(0x17f)](_0x57846e));})()),_seleniumWebdriver2=((()=>{const _0x98c918=a16_0x812177,_0x3e01fd={'DAKJe':function(_0x213f8c,_0x131e29){return _0x213f8c(_0x131e29);}};try{const _0x213023=helper[_0x98c918(0x194)]();return helper[_0x98c918(0x18d)](),_0x3e01fd[_0x98c918(0x17c)](_interopRequireDefault,_0x213023);}catch{return null;}})());function a16_0x2a96(_0x22d833,_0x10d3ab){const _0x6bd94a=a16_0x6bd9();return a16_0x2a96=function(_0x2a96b0,_0x25a351){_0x2a96b0=_0x2a96b0-0x148;let _0x246d15=_0x6bd94a[_0x2a96b0];return _0x246d15;},a16_0x2a96(_0x22d833,_0x10d3ab);}function _interopRequireDefault(_0x29577a){const _0x367b72=a16_0x812177;return _0x29577a&&_0x29577a[_0x367b72(0x163)]?_0x29577a:{'default':_0x29577a};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0x812177(0x187)][a16_0x812177(0x14f)]:null;class CustomEnvironment extends _jestUserEnvironment[a16_0x812177(0x187)]{constructor(_0x4230f3){const _0x30f453=a16_0x812177,_0x4c85ed={'NMDPp':'quit','zkBhx':'0|1|2|4|3','gxbMu':function(_0x2e099d,_0x26d3ea){return _0x2e099d+_0x26d3ea;},'duEtJ':'7|5|8|1|2|4|6|3|9|0','ykbSB':_0x30f453(0x170),'BXYvP':'browserStackPercyOptions','fyMsL':_0x30f453(0x15d),'tbLSj':_0x30f453(0x195),'nSmog':_0x30f453(0x160),'pubHO':function(_0x3680d4,_0x30727b){return _0x3680d4(_0x30727b);},'xKpGD':'../../../index','ZgiCe':_0x30f453(0x165)};super(_0x4230f3),this[_0x30f453(0x171)][_0x30f453(0x197)]=0x0,this[_0x30f453(0x162)]={};!_0x4230f3[_0x30f453(0x170)]&&(_0x4230f3['testEnvironmentOptions']={});if(helper[_0x30f453(0x19a)]()){const _0x30d999=_0x4c85ed[_0x30f453(0x1a1)][_0x30f453(0x16a)]('|');let _0x917ec=0x0;while(!![]){switch(_0x30d999[_0x917ec++]){case'0':_0x4230f3[_0x30f453(0x170)]=_0x4230f3[_0x30f453(0x176)]?_0x4230f3['projectConfig'][_0x30f453(0x170)]:_0x4230f3[_0x30f453(0x170)];continue;case'1':this['builder']=new _seleniumWebdriver2['default'][(_0x30f453(0x14f))]();continue;case'2':this[_0x30f453(0x162)]=_0x4230f3[_0x30f453(0x170)];continue;case'3':this[_0x30f453(0x171)]['__timeout']=_0x4c85ed[_0x30f453(0x17d)](this['configuration'][_0x30f453(0x153)],constants[_0x30f453(0x14b)]);continue;case'4':this['capability']=_0x4230f3[_0x30f453(0x176)]?_0x4230f3[_0x30f453(0x176)][_0x30f453(0x15a)]:_0x4230f3[_0x30f453(0x15a)];continue;}break;}}if(testhubUtils[_0x30f453(0x18a)]()){const _0x2b2ec2=new ObservabilityReporter();_0x2b2ec2[_0x30f453(0x15e)]();}this[_0x30f453(0x171)][_0x30f453(0x18f)]={},this[_0x30f453(0x162)][_0x30f453(0x199)]=constants[_0x30f453(0x18e)]['JEST'];if(_seleniumWebdriver2){const _0x4f64da=_0x4c85ed[_0x30f453(0x149)][_0x30f453(0x16a)]('|');let _0x296683=0x0;while(!![]){switch(_0x4f64da[_0x296683++]){case'0':this[_0x30f453(0x171)][_0x30f453(0x178)]=async()=>{const _0x2ed267=_0x30f453;await this[_0x2ed267(0x171)][_0x2ed267(0x17a)][_0x2ed267(0x16f)](_0x4c85ed[_0x2ed267(0x177)]);};continue;case'1':this[_0x30f453(0x171)]['browserstackPercyBestPlatform']=helper[_0x30f453(0x167)](_0x4230f3,[_0x4c85ed[_0x30f453(0x166)],_0x4c85ed[_0x30f453(0x154)],_0x4c85ed['fyMsL']]);continue;case'2':this[_0x30f453(0x171)][_0x30f453(0x195)]=helper[_0x30f453(0x167)](_0x4230f3,[_0x4c85ed[_0x30f453(0x166)],_0x4c85ed[_0x30f453(0x154)],_0x4c85ed[_0x30f453(0x14c)]]);continue;case'3':helper[_0x30f453(0x19c)](this['configuration'][_0x30f453(0x18b)])?this[_0x30f453(0x171)]['sessionNameProvided']=!![]:this['global'][_0x30f453(0x16c)]=![];continue;case'4':this[_0x30f453(0x171)]['percyCaptureMode']=helper['nestedKeyValue'](_0x4230f3,[_0x4c85ed[_0x30f453(0x166)],_0x4c85ed[_0x30f453(0x154)],_0x4c85ed[_0x30f453(0x150)]]);continue;case'5':this[_0x30f453(0x171)][_0x30f453(0x188)]=_0x4c85ed[_0x30f453(0x191)](require,_0x4c85ed[_0x30f453(0x19f)])[_0x30f453(0x172)]({...this[_0x30f453(0x162)],'capability':this['capability']||{}},this,testhubUtils['shouldProcessEventForTesthub']());continue;case'6':this['global'][_0x30f453(0x189)]=helper[_0x30f453(0x167)](this[_0x30f453(0x162)],[_0x4c85ed[_0x30f453(0x174)],this['global'][_0x30f453(0x155)]])||{};continue;case'7':this['global'][_0x30f453(0x16d)]=[];continue;case'8':this[_0x30f453(0x171)][_0x30f453(0x155)]=(_0x4230f3['projectConfig']?_0x4230f3[_0x30f453(0x176)][_0x30f453(0x155)]:_0x4230f3['browserstackPlatformIndex'])||0x0;continue;case'9':this[_0x30f453(0x171)]['__skipSessionStatus']=helper[_0x30f453(0x19c)](this[_0x30f453(0x162)][_0x30f453(0x19d)]);continue;}break;}}}async[a16_0x812177(0x19b)](){const _0xb65179=a16_0x812177;_seleniumWebdriver2&&(await helper[_0xb65179(0x198)](this[_0xb65179(0x171)][_0xb65179(0x175)]),this[_0xb65179(0x171)][_0xb65179(0x188)][_0xb65179(0x14f)]=originalBuilder),await RequestQueueHandler[_0xb65179(0x17b)]()[_0xb65179(0x14d)]();}async[a16_0x812177(0x161)](){}async[a16_0x812177(0x156)](_0x498aaa,_0x35e35f){const _0x2ca551=a16_0x812177,_0x4e65d9={};_0x4e65d9[_0x2ca551(0x181)]=function(_0x187f6b,_0x420988){return _0x187f6b===_0x420988;},_0x4e65d9['ZWMrK']=_0x2ca551(0x18c);const _0x2e02d8=_0x4e65d9,{name:_0x23017d}=_0x498aaa;_0x2e02d8[_0x2ca551(0x181)](_0x23017d,_0x2e02d8['ZWMrK'])&&(this[_0x2ca551(0x171)][_0x2ca551(0x169)]=_0x498aaa['test']);}}module[a16_0x812177(0x157)]=CustomEnvironment;
1
+ const a16_0x311445=a16_0x548f;function a16_0x548f(_0x110650,_0x3b6aec){const _0x77f11d=a16_0x77f1();return a16_0x548f=function(_0x548f36,_0x12ed89){_0x548f36=_0x548f36-0xbc;let _0x2fd048=_0x77f11d[_0x548f36];return _0x2fd048;},a16_0x548f(_0x110650,_0x3b6aec);}(function(_0x3b2c6f,_0x5366fc){const _0x3bfef6=a16_0x548f,_0x1ef112=_0x3b2c6f();while(!![]){try{const _0x380b30=-parseInt(_0x3bfef6(0xdc))/0x1+-parseInt(_0x3bfef6(0xf4))/0x2+-parseInt(_0x3bfef6(0xe1))/0x3+parseInt(_0x3bfef6(0xff))/0x4*(-parseInt(_0x3bfef6(0xf1))/0x5)+-parseInt(_0x3bfef6(0xdf))/0x6*(-parseInt(_0x3bfef6(0xce))/0x7)+-parseInt(_0x3bfef6(0x108))/0x8*(-parseInt(_0x3bfef6(0x103))/0x9)+parseInt(_0x3bfef6(0x106))/0xa;if(_0x380b30===_0x5366fc)break;else _0x1ef112['push'](_0x1ef112['shift']());}catch(_0x30926b){_0x1ef112['push'](_0x1ef112['shift']());}}}(a16_0x77f1,0x7892a));function a16_0x77f1(){const _0x1d9e82=['3033PikWos','FRAMEWORKS','__platformCaps','7066800EvPvSv','test_start','19808vglJpn','timeout__','node','YVngA','__timeout','getTestEnvironment','registerListeners','default','browserStackPercyOptions','shutdown','percy','pUdYg','../../../helpers/testhub/utils','test','jQBoH','capability','cleanup','global','split','browserstackPercyBestPlatform','skipSessionName','cwd','6|1|3|5|0|9|4|7|8|2','framework','372820VGdnYU','../../../helpers/helper','nskPk','quit','platformCaps','builder','VELPD','env','BSTACK_JEST_TEST_ENV','jest-resolve','testEnvironmentOptions','isTrue','resolveTestEnvironment','projectConfig','416255Iizbuw','../test-observability/obsReporter','modifyCommand','78MjXUPJ','testContext','343749qoIdno','yvaau','NVxqG','NbTlw','vTPVx','getInstance','__esModule','__drivers','../../../helpers/test-observability/requestQueueHandler','../../utils/constants','bvAnB','../../../helpers/test-observability/utils','RefuC','jest-environment-node','Pexoj','handleTestEvent','1155PRrgPo','shouldProcessEventForTesthub','requireModule','1889932eapnhT','elcUN','browserstackPlatformIndex','browserstackAgentV2','percyCaptureMode','driver','../../../index','Builder','browserStackGlobals','ESARW','xwswI','4568ylCkhg','nestedKeyValue','configuration','__webdriver'];a16_0x77f1=function(){return _0x1d9e82;};return a16_0x77f1();}const helper=require(a16_0x311445(0xcf)),constants=require(a16_0x311445(0xea)),{isTestObservabilitySession}=require(a16_0x311445(0xec)),RequestQueueHandler=require(a16_0x311445(0xe9)),ObservabilityReporter=require(a16_0x311445(0xdd)),testhubUtils=require(a16_0x311445(0xc2)),getTestEnvironment=((()=>{const _0x4f5ccc=a16_0x311445,_0x5646c8={};_0x5646c8[_0x4f5ccc(0xe4)]=_0x4f5ccc(0xd7),_0x5646c8['vTPVx']='jest-config';const _0x2f8a8f=_0x5646c8;try{const _0x31bccf=helper[_0x4f5ccc(0xf3)](_0x2f8a8f[_0x4f5ccc(0xe4)]);if(_0x31bccf[_0x4f5ccc(0xda)])return _0x31bccf['resolveTestEnvironment'];const _0x3bdbc0=helper['requireModule'](_0x2f8a8f[_0x4f5ccc(0xe5)]);if(_0x3bdbc0['getTestEnvironment'])return _0x3bdbc0[_0x4f5ccc(0x10d)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x347404=a16_0x311445,_0x3a6a50={'gIiuo':function(_0x4adec6,_0x11b71d){return _0x4adec6(_0x11b71d);},'nskPk':_0x347404(0x10a),'VELPD':function(_0x64a6ee,_0x26803d){return _0x64a6ee(_0x26803d);},'bvAnB':_0x347404(0xee),'eMoBP':function(_0x26e6c3,_0x5ca3c8){return _0x26e6c3(_0x5ca3c8);}},_0x5946ce=_0x3a6a50['gIiuo'](getTestEnvironment,{'rootDir':process[_0x347404(0xcb)](),'testEnvironment':process[_0x347404(0xd5)][_0x347404(0xd6)]||_0x3a6a50[_0x347404(0xd0)]});if(!_0x5946ce)return _0x3a6a50[_0x347404(0xd4)](_interopRequireDefault,helper['requireModule'](_0x3a6a50[_0x347404(0xeb)]));return _0x3a6a50['eMoBP'](_interopRequireDefault,helper[_0x347404(0xf3)](_0x5946ce));})()),_seleniumWebdriver2=((()=>{const _0x5a7635=a16_0x311445,_0x3b1895={'otFlQ':function(_0x4ea8ad,_0x55edf7){return _0x4ea8ad(_0x55edf7);}};try{const _0x5c7585=helper['requireSeleniumWebdriver']();return helper[_0x5a7635(0xde)](),_0x3b1895['otFlQ'](_interopRequireDefault,_0x5c7585);}catch{return null;}})());function _interopRequireDefault(_0x4c65df){const _0x50e351=a16_0x311445;return _0x4c65df&&_0x4c65df[_0x50e351(0xe7)]?_0x4c65df:{'default':_0x4c65df};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0x311445(0xbd)][a16_0x311445(0xfb)]:null;class CustomEnvironment extends _jestUserEnvironment[a16_0x311445(0xbd)]{constructor(_0x3c60f5){const _0x4e5d44=a16_0x311445,_0x309bf2={'kvqgL':_0x4e5d44(0xd1),'rAzFX':'4|3|2|1|0','DXhkj':function(_0x183bcb,_0x4f572f){return _0x183bcb+_0x4f572f;},'jQBoH':_0x4e5d44(0xcc),'yvaau':_0x4e5d44(0xd8),'pUdYg':_0x4e5d44(0xbe),'NVxqG':'percy','Pexoj':function(_0x41e0f1,_0x208226){return _0x41e0f1(_0x208226);},'ESARW':_0x4e5d44(0xfa),'xwswI':_0x4e5d44(0xd2),'RefuC':_0x4e5d44(0xc9),'YMIek':_0x4e5d44(0xf8)};super(_0x3c60f5),this['global'][_0x4e5d44(0x10c)]=0x0,this[_0x4e5d44(0x101)]={};!_0x3c60f5[_0x4e5d44(0xd8)]&&(_0x3c60f5['testEnvironmentOptions']={});if(helper['isBrowserstackInfra']()){const _0x5348d0=_0x309bf2['rAzFX'][_0x4e5d44(0xc8)]('|');let _0x39614d=0x0;while(!![]){switch(_0x5348d0[_0x39614d++]){case'0':this[_0x4e5d44(0xc7)][_0x4e5d44(0x10c)]=_0x309bf2['DXhkj'](this[_0x4e5d44(0x101)][_0x4e5d44(0x109)],constants['BSTACK_DELTA']);continue;case'1':this[_0x4e5d44(0xc5)]=_0x3c60f5[_0x4e5d44(0xdb)]?_0x3c60f5[_0x4e5d44(0xdb)][_0x4e5d44(0xc5)]:_0x3c60f5['capability'];continue;case'2':this[_0x4e5d44(0x101)]=_0x3c60f5[_0x4e5d44(0xd8)];continue;case'3':this[_0x4e5d44(0xd3)]=new _seleniumWebdriver2['default'][(_0x4e5d44(0xfb))]();continue;case'4':_0x3c60f5[_0x4e5d44(0xd8)]=_0x3c60f5[_0x4e5d44(0xdb)]?_0x3c60f5[_0x4e5d44(0xdb)][_0x4e5d44(0xd8)]:_0x3c60f5[_0x4e5d44(0xd8)];continue;}break;}}if(testhubUtils[_0x4e5d44(0xf2)]()){const _0x1f6200=new ObservabilityReporter();_0x1f6200[_0x4e5d44(0xbc)]();}this[_0x4e5d44(0xc7)][_0x4e5d44(0xfc)]={},this[_0x4e5d44(0x101)][_0x4e5d44(0xcd)]=constants[_0x4e5d44(0x104)]['JEST'];if(_seleniumWebdriver2){const _0x27dabd=_0x309bf2[_0x4e5d44(0xc4)][_0x4e5d44(0xc8)]('|');let _0x35f503=0x0;while(!![]){switch(_0x27dabd[_0x35f503++]){case'0':this['global'][_0x4e5d44(0xc0)]=helper[_0x4e5d44(0x100)](_0x3c60f5,[_0x309bf2[_0x4e5d44(0xe2)],_0x309bf2[_0x4e5d44(0xc1)],_0x309bf2[_0x4e5d44(0xe3)]]);continue;case'1':this[_0x4e5d44(0xc7)][_0x4e5d44(0x102)]=_0x309bf2[_0x4e5d44(0xef)](require,_0x309bf2[_0x4e5d44(0xfd)])[_0x4e5d44(0xf7)]({...this[_0x4e5d44(0x101)],'capability':this[_0x4e5d44(0xc5)]||{}},this,testhubUtils[_0x4e5d44(0xf2)]());continue;case'2':this[_0x4e5d44(0xc7)][_0x4e5d44(0xc6)]=async()=>{const _0x11fe26=_0x4e5d44;await this['global'][_0x11fe26(0xf9)][_0x11fe26(0xd1)](_0x309bf2['kvqgL']);};continue;case'3':this['global'][_0x4e5d44(0xf6)]=(_0x3c60f5['projectConfig']?_0x3c60f5[_0x4e5d44(0xdb)][_0x4e5d44(0xf6)]:_0x3c60f5['browserstackPlatformIndex'])||0x0;continue;case'4':this['global'][_0x4e5d44(0x105)]=helper[_0x4e5d44(0x100)](this[_0x4e5d44(0x101)],[_0x309bf2[_0x4e5d44(0xfe)],this[_0x4e5d44(0xc7)][_0x4e5d44(0xf6)]])||{};continue;case'5':this['global'][_0x4e5d44(0xc9)]=helper[_0x4e5d44(0x100)](_0x3c60f5,[_0x309bf2['yvaau'],_0x309bf2[_0x4e5d44(0xc1)],_0x309bf2[_0x4e5d44(0xed)]]);continue;case'6':this['global'][_0x4e5d44(0xe8)]=[];continue;case'7':helper[_0x4e5d44(0xd9)](this[_0x4e5d44(0x101)][_0x4e5d44(0xca)])?this['global']['sessionNameProvided']=!![]:this['global']['sessionNameProvided']=![];continue;case'8':this['global']['__skipSessionStatus']=helper[_0x4e5d44(0xd9)](this[_0x4e5d44(0x101)]['skipSessionStatus']);continue;case'9':this[_0x4e5d44(0xc7)][_0x4e5d44(0xf8)]=helper[_0x4e5d44(0x100)](_0x3c60f5,[_0x309bf2['yvaau'],_0x309bf2['pUdYg'],_0x309bf2['YMIek']]);continue;}break;}}}async['teardown'](){const _0x17a290=a16_0x311445;_seleniumWebdriver2&&(await helper['cleanupDrivers'](this[_0x17a290(0xc7)]['__driversArray']),this[_0x17a290(0xc7)][_0x17a290(0x102)][_0x17a290(0xfb)]=originalBuilder),await RequestQueueHandler[_0x17a290(0xe6)]()[_0x17a290(0xbf)]();}async['setup'](){}async[a16_0x311445(0xf0)](_0x127003,_0x55880d){const _0x358a6b=a16_0x311445,_0x51df6d={};_0x51df6d['YVngA']=function(_0x2211bc,_0x558b32){return _0x2211bc===_0x558b32;},_0x51df6d[_0x358a6b(0xf5)]=_0x358a6b(0x107);const _0x4d484f=_0x51df6d,{name:_0x330249}=_0x127003;_0x4d484f[_0x358a6b(0x10b)](_0x330249,_0x4d484f[_0x358a6b(0xf5)])&&(this['global'][_0x358a6b(0xe0)]=_0x127003[_0x358a6b(0xc3)]);}}module['exports']=CustomEnvironment;
@@ -1 +1 @@
1
- function a17_0x3d78(_0x32a735,_0x214bfd){const _0x50ffb6=a17_0x50ff();return a17_0x3d78=function(_0x3d78d2,_0x909e79){_0x3d78d2=_0x3d78d2-0x136;let _0xeff455=_0x50ffb6[_0x3d78d2];return _0xeff455;},a17_0x3d78(_0x32a735,_0x214bfd);}const a17_0x2ef438=a17_0x3d78;(function(_0x58da82,_0x40bb6c){const _0x28e726=a17_0x3d78,_0x3fcde5=_0x58da82();while(!![]){try{const _0x326ef4=parseInt(_0x28e726(0x13d))/0x1+-parseInt(_0x28e726(0x188))/0x2*(parseInt(_0x28e726(0x16d))/0x3)+parseInt(_0x28e726(0x136))/0x4+-parseInt(_0x28e726(0x139))/0x5+-parseInt(_0x28e726(0x146))/0x6*(parseInt(_0x28e726(0x170))/0x7)+parseInt(_0x28e726(0x187))/0x8*(parseInt(_0x28e726(0x137))/0x9)+parseInt(_0x28e726(0x180))/0xa;if(_0x326ef4===_0x40bb6c)break;else _0x3fcde5['push'](_0x3fcde5['shift']());}catch(_0x123915){_0x3fcde5['push'](_0x3fcde5['shift']());}}}(a17_0x50ff,0xd97b5));const {requireModule}=require(a17_0x2ef438(0x172)),ObservabilityReporter=require(a17_0x2ef438(0x144)),RequestQueueHandler=require(a17_0x2ef438(0x13c)),TestDetails=require(a17_0x2ef438(0x13b)),{patchConsoleLogger,debug}=require(a17_0x2ef438(0x16e)),{o11yErrorHandler}=require(a17_0x2ef438(0x15c)),{shouldProcessEventForTesthub}=require(a17_0x2ef438(0x185)),testHubConstants=require(a17_0x2ef438(0x182)),exportsI=requireModule(a17_0x2ef438(0x143)),initInitialize=exportsI['initialize'];function a17_0x50ff(){const _0x2deaca=['../../../helpers/test-observability/utils','toISOString','124677HaoafH','addEventHandler','../../../helpers/helper','hook_start','TestRunSkipped','beforeEach','YyvyI','testStarted','tIunI','beforeAll','removeAllListeners','unhandledErrors','fzctk','qpfIY','gYFon','JKYbP','23766050EYkNSj','makeSingleTestResult','../../../helpers/testhub/constants','HookRunStarted','setTestUUID','../../../helpers/testhub/utils',':hookAnalyticsId','93944eQCuGV','148onIhaU','bZKzy','ZdKbe','5438512LIYgzc','252xbNHZz','HookRunFinished','6272670ShSIAM','registerListeners','../test-observability/test-details','../../../helpers/test-observability/requestQueueHandler','604351EoNWAs','run_describe_finish','afterEach','fZzcE','test_start','VvYgq','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','../test-observability/obsReporter','test','294yDktwk','markedStatus','rEbiE','started_at','hookAnalyticsId','dqlSu','ANJCC','HookFinished','uHPBm','teardown','zCqPE','HookStarted','sendTestRunEvent','removeTestUUID','shutdown','includes','EVENT','getInstance','fiGaD','GNeGl','AGdef','test_skip','../../../helpers/test-observability/error-handler','hook_failure','HDAAo','initialize','wXjZX','jest-circus/build/state.js','GXFdE','hook','vKlNt','type','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','EIoYh','name','xjtIQ','length','pid','TfyVk','66945hFjKWl'];a17_0x50ff=function(){return _0x2deaca;};return a17_0x50ff();}exportsI[a17_0x2ef438(0x15f)]=(..._0xe6883c)=>{const _0x13ff1e=a17_0x2ef438,_0x20b3c6={'fZzcE':function(_0x31017d,_0x14b302){return _0x31017d(_0x14b302);},'tIunI':'jest-circus/build/utils.js','LbRrC':_0x13ff1e(0x173),'xjtIQ':_0x13ff1e(0x183),'cklvk':'hook_success','toqGc':function(_0x41fbd9,_0x709e47){return _0x41fbd9(_0x709e47);},'zCqPE':_0x13ff1e(0x138),'VvYgq':'hook_failure','rEbiE':_0x13ff1e(0x179),'TfyVk':_0x13ff1e(0x175),'JKYbP':_0x13ff1e(0x13f),'GXFdE':function(_0x337463,_0x1a72fa){return _0x337463>_0x1a72fa;},'fzctk':_0x13ff1e(0x141),'YyvyI':function(_0x1ab21e){return _0x1ab21e();},'HDAAo':'test_done','GZQgl':function(_0x2fa7f5,_0x26ae83){return _0x2fa7f5(_0x26ae83);},'JEkdI':function(_0x2bf842){return _0x2bf842();},'EIoYh':_0x13ff1e(0x15b),'pmVFr':function(_0x1fdf26,_0x468e36){return _0x1fdf26(_0x468e36);},'uHPBm':function(_0x2a6047){return _0x2a6047();},'GNeGl':_0x13ff1e(0x174),'vKlNt':_0x13ff1e(0x13e),'gYFon':_0x13ff1e(0x14f),'dqlSu':function(_0x195341){return _0x195341();},'RwBUU':function(_0x20e41e){return _0x20e41e();},'ZdKbe':function(_0x1b15f1){return _0x1b15f1();},'wXjZX':function(_0x1a28eb,_0x3c576b){return _0x1a28eb(_0x3c576b);},'ANJCC':_0x13ff1e(0x161),'AGdef':function(_0x5346b5,_0x1635ba,_0x3b78ef){return _0x5346b5(_0x1635ba,_0x3b78ef);},'qpfIY':'EventHandler','fiGaD':function(_0x922254,_0x56acbb){return _0x922254(_0x56acbb);},'bZKzy':function(_0x15dfde,..._0x11b9dc){return _0x15dfde(..._0x11b9dc);}};try{const _0x40dc31=new ObservabilityReporter();_0x20b3c6[_0x13ff1e(0x14b)](shouldProcessEventForTesthub)&&(_0x20b3c6['RwBUU'](patchConsoleLogger),_0x40dc31[_0x13ff1e(0x13a)]()),_0x20b3c6[_0x13ff1e(0x18a)](shouldProcessEventForTesthub)&&_0x20b3c6[_0x13ff1e(0x160)](requireModule,_0x20b3c6[_0x13ff1e(0x14c)])[_0x13ff1e(0x171)](_0x20b3c6[_0x13ff1e(0x15a)](o11yErrorHandler,async(_0x2fc95b,_0x1c1544)=>{const _0x53e8fd=_0x13ff1e,_0x5f0852=_0x20b3c6[_0x53e8fd(0x140)](requireModule,_0x20b3c6[_0x53e8fd(0x178)])[_0x53e8fd(0x181)];switch(_0x2fc95b[_0x53e8fd(0x168)]){case _0x20b3c6['LbRrC']:if(_0x20b3c6[_0x53e8fd(0x140)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x53e8fd(0x151)])){if(!_0x2fc95b[_0x53e8fd(0x163)][_0x53e8fd(0x14a)]){const _0x5b18f3=TestDetails[_0x53e8fd(0x184)](process[_0x53e8fd(0x16b)]+':hookAnalyticsId');_0x2fc95b[_0x53e8fd(0x163)][_0x53e8fd(0x14a)]=_0x5b18f3;}else _0x2fc95b[_0x53e8fd(0x163)]['markedStatus']&&(_0x2fc95b[_0x53e8fd(0x163)][_0x53e8fd(0x14a)]=TestDetails[_0x53e8fd(0x184)](process['pid']+':hookAnalyticsId'),delete _0x2fc95b['hook'][_0x53e8fd(0x147)]);_0x2fc95b[_0x53e8fd(0x163)][_0x53e8fd(0x149)]=new Date()[_0x53e8fd(0x16f)](),await _0x40dc31[_0x53e8fd(0x152)](_0x2fc95b[_0x53e8fd(0x163)],undefined,![],_0x20b3c6[_0x53e8fd(0x169)]);}break;case _0x20b3c6['cklvk']:_0x20b3c6['toqGc'](shouldProcessEventForTesthub,testHubConstants[_0x53e8fd(0x156)][_0x53e8fd(0x14d)])&&(await _0x40dc31[_0x53e8fd(0x152)](_0x2fc95b[_0x53e8fd(0x163)],undefined,![],_0x20b3c6[_0x53e8fd(0x150)]),TestDetails[_0x53e8fd(0x153)](process[_0x53e8fd(0x16b)]+_0x53e8fd(0x186)));break;case _0x20b3c6[_0x53e8fd(0x142)]:[_0x20b3c6[_0x53e8fd(0x148)],_0x20b3c6[_0x53e8fd(0x16c)],_0x20b3c6[_0x53e8fd(0x17f)]][_0x53e8fd(0x155)](_0x2fc95b[_0x53e8fd(0x163)][_0x53e8fd(0x165)])&&(_0x40dc31[_0x53e8fd(0x15d)]=_0x2fc95b[_0x53e8fd(0x163)][_0x53e8fd(0x165)]),_0x1c1544[_0x53e8fd(0x17b)]&&_0x20b3c6[_0x53e8fd(0x162)](_0x1c1544[_0x53e8fd(0x17b)][_0x53e8fd(0x16a)],0x0)&&(_0x2fc95b[_0x53e8fd(0x163)]['errorsDetailed']=[_0x1c1544[_0x53e8fd(0x17b)][0x0][0x0]]);_0x20b3c6['toqGc'](shouldProcessEventForTesthub,testHubConstants[_0x53e8fd(0x156)][_0x53e8fd(0x14d)])&&(await _0x40dc31[_0x53e8fd(0x152)](_0x2fc95b[_0x53e8fd(0x163)],undefined,![],_0x20b3c6['zCqPE']),TestDetails[_0x53e8fd(0x153)](process['pid']+_0x53e8fd(0x186)));break;case _0x20b3c6[_0x53e8fd(0x17c)]:_0x20b3c6[_0x53e8fd(0x176)](shouldProcessEventForTesthub)&&await _0x40dc31[_0x53e8fd(0x177)](_0x2fc95b[_0x53e8fd(0x145)]);break;case _0x20b3c6[_0x53e8fd(0x15e)]:_0x2fc95b[_0x53e8fd(0x145)]={..._0x20b3c6['GZQgl'](_0x5f0852,_0x2fc95b[_0x53e8fd(0x145)]),..._0x2fc95b[_0x53e8fd(0x145)]};_0x20b3c6['JEkdI'](shouldProcessEventForTesthub)&&(!_0x2fc95b['test']['markedStatus']&&(_0x2fc95b[_0x53e8fd(0x145)][_0x53e8fd(0x147)]=!![],await _0x40dc31[_0x53e8fd(0x152)](_0x2fc95b[_0x53e8fd(0x145)])));break;case _0x20b3c6[_0x53e8fd(0x167)]:_0x2fc95b[_0x53e8fd(0x145)]={..._0x20b3c6['pmVFr'](_0x5f0852,_0x2fc95b[_0x53e8fd(0x145)]),..._0x2fc95b[_0x53e8fd(0x145)]};_0x20b3c6[_0x53e8fd(0x14e)](shouldProcessEventForTesthub)&&(!_0x2fc95b['test']['markedStatus']&&(_0x2fc95b['test'][_0x53e8fd(0x147)]=!![],await _0x40dc31[_0x53e8fd(0x152)](_0x2fc95b[_0x53e8fd(0x145)],undefined,![],_0x20b3c6[_0x53e8fd(0x159)])));break;case _0x20b3c6[_0x53e8fd(0x164)]:_0x40dc31[_0x53e8fd(0x15d)]=null;break;case _0x20b3c6[_0x53e8fd(0x17e)]:await RequestQueueHandler[_0x53e8fd(0x157)]()[_0x53e8fd(0x154)](),process[_0x53e8fd(0x17a)]();break;default:}},_0x20b3c6[_0x13ff1e(0x17d)]));}catch(_0x3942ba){_0x20b3c6[_0x13ff1e(0x158)](debug,_0x13ff1e(0x166)+_0x3942ba);}return _0x20b3c6[_0x13ff1e(0x189)](initInitialize,..._0xe6883c);};try{Object['keys'](exportsI)['forEach'](_0x4d4fa9=>{try{exports&&(exports[_0x4d4fa9]=exportsI[_0x4d4fa9]);}catch{}});}catch{}
1
+ const a17_0x5e93c8=a17_0x563b;function a17_0x3e2f(){const _0x598f2c=['setTestUUID','../../../helpers/testhub/utils','3yqQmDk','registerListeners','EVENT','keys',':hookAnalyticsId','nEfrA','HookFinished','teardown','CuKxM','../../../helpers/test-observability/requestQueueHandler','397134XGoubh','test_done','jkxFu','HookRunStarted','unhandledErrors','1627126RkJGxZ','cTXlw','235lORhoh','YZKfj','pCqBt','CLipV','jest-circus/build/utils.js','YgtnS','TestRunSkipped','17136jyFHkW','makeSingleTestResult','CDvpV','EventHandler','../test-observability/obsReporter','hook_failure','started_at','errorsDetailed','beforeEach','HsMFd','GzoxZ','run_describe_finish','../../../helpers/helper','9002iIdSZn','test','pLtuR','hookAnalyticsId','9352800LEmILr','name','jest-circus/build/state.js','../../../helpers/test-observability/utils','SAjKK','6414oqJWQf','test_start','../../../helpers/testhub/constants','224iBcKQu','initialize','addEventHandler','removeAllListeners','hook','type','pid','12MGLLuM','getInstance','PjJnC','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','suAsf','QMHIq','afterEach','removeTestUUID','qaCBo','sendTestRunEvent','351273DQQKro','cIRir','testStarted','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','bujKf','14015969Mhnbdg','toISOString','markedStatus','hook_start','hook_success','../../../helpers/test-observability/error-handler'];a17_0x3e2f=function(){return _0x598f2c;};return a17_0x3e2f();}function a17_0x563b(_0x13c28a,_0x4f7f24){const _0x3e2f1b=a17_0x3e2f();return a17_0x563b=function(_0x563b48,_0x3a3627){_0x563b48=_0x563b48-0xb7;let _0x8bbbb0=_0x3e2f1b[_0x563b48];return _0x8bbbb0;},a17_0x563b(_0x13c28a,_0x4f7f24);}(function(_0x3b43fb,_0xe73bbd){const _0x1cec90=a17_0x563b,_0x433ed=_0x3b43fb();while(!![]){try{const _0xa8aa1b=-parseInt(_0x1cec90(0x105))/0x1+parseInt(_0x1cec90(0xd2))/0x2*(-parseInt(_0x1cec90(0xc3))/0x3)+-parseInt(_0x1cec90(0xdb))/0x4*(parseInt(_0x1cec90(0xd4))/0x5)+parseInt(_0x1cec90(0xf1))/0x6*(-parseInt(_0x1cec90(0xe8))/0x7)+-parseInt(_0x1cec90(0xf4))/0x8*(-parseInt(_0x1cec90(0xcd))/0x9)+parseInt(_0x1cec90(0xec))/0xa+-parseInt(_0x1cec90(0xbb))/0xb*(-parseInt(_0x1cec90(0xfb))/0xc);if(_0xa8aa1b===_0xe73bbd)break;else _0x433ed['push'](_0x433ed['shift']());}catch(_0x10bf01){_0x433ed['push'](_0x433ed['shift']());}}}(a17_0x3e2f,0xabe45));const {requireModule}=require(a17_0x5e93c8(0xe7)),ObservabilityReporter=require(a17_0x5e93c8(0xdf)),RequestQueueHandler=require(a17_0x5e93c8(0xcc)),TestDetails=require('../test-observability/test-details'),{patchConsoleLogger,debug}=require(a17_0x5e93c8(0xef)),{o11yErrorHandler}=require(a17_0x5e93c8(0xc0)),{shouldProcessEventForTesthub}=require(a17_0x5e93c8(0xc2)),testHubConstants=require(a17_0x5e93c8(0xf3)),exportsI=requireModule(a17_0x5e93c8(0xb9)),initInitialize=exportsI['initialize'];exportsI[a17_0x5e93c8(0xf5)]=(..._0x1c5f72)=>{const _0x3a49a0=a17_0x5e93c8,_0x34bec3={'jkxFu':function(_0x4c128e,_0x40d6f4){return _0x4c128e(_0x40d6f4);},'SAjKK':_0x3a49a0(0xd8),'CDvpV':_0x3a49a0(0xbe),'CuKxM':function(_0x482869,_0x20b88e){return _0x482869(_0x20b88e);},'qaCBo':_0x3a49a0(0xd0),'PjJnC':_0x3a49a0(0xbf),'bujKf':'HookRunFinished','pLtuR':_0x3a49a0(0xe0),'pCqBt':'beforeAll','CLipV':_0x3a49a0(0xe3),'JjXBu':_0x3a49a0(0x101),'YgtnS':function(_0x45b70c,_0x555a5f){return _0x45b70c>_0x555a5f;},'RPgZM':_0x3a49a0(0xf2),'YZKfj':function(_0x40188f){return _0x40188f();},'UtQNy':_0x3a49a0(0xce),'cIRir':function(_0x33a3a6){return _0x33a3a6();},'HsMFd':'test_skip','nmTcy':_0x3a49a0(0xda),'FYHQL':_0x3a49a0(0xe6),'cTXlw':_0x3a49a0(0xca),'GzoxZ':function(_0x49b679){return _0x49b679();},'YmioH':function(_0x1d5df9){return _0x1d5df9();},'QMHIq':function(_0x42319f){return _0x42319f();},'mAunP':_0x3a49a0(0xee),'suAsf':function(_0x572367,_0x433a5b,_0xe12013){return _0x572367(_0x433a5b,_0xe12013);},'nEfrA':_0x3a49a0(0xde),'EOqmL':function(_0x54a494,..._0x3ab9af){return _0x54a494(..._0x3ab9af);}};try{const _0x57f818=new ObservabilityReporter();_0x34bec3[_0x3a49a0(0xe5)](shouldProcessEventForTesthub)&&(_0x34bec3['YmioH'](patchConsoleLogger),_0x57f818[_0x3a49a0(0xc4)]()),_0x34bec3[_0x3a49a0(0x100)](shouldProcessEventForTesthub)&&_0x34bec3[_0x3a49a0(0xcb)](requireModule,_0x34bec3['mAunP'])[_0x3a49a0(0xf6)](_0x34bec3[_0x3a49a0(0xff)](o11yErrorHandler,async(_0x416dcf,_0x5261a4)=>{const _0x57c753=_0x3a49a0,_0x147ae4=_0x34bec3[_0x57c753(0xcf)](requireModule,_0x34bec3[_0x57c753(0xf0)])[_0x57c753(0xdc)];switch(_0x416dcf[_0x57c753(0xed)]){case _0x34bec3[_0x57c753(0xdd)]:if(_0x34bec3['CuKxM'](shouldProcessEventForTesthub,testHubConstants[_0x57c753(0xc5)]['HookStarted'])){if(!_0x416dcf[_0x57c753(0xf8)]['hookAnalyticsId']){const _0x25b54e=TestDetails[_0x57c753(0xc1)](process[_0x57c753(0xfa)]+_0x57c753(0xc7));_0x416dcf[_0x57c753(0xf8)][_0x57c753(0xeb)]=_0x25b54e;}else _0x416dcf[_0x57c753(0xf8)][_0x57c753(0xbd)]&&(_0x416dcf[_0x57c753(0xf8)][_0x57c753(0xeb)]=TestDetails[_0x57c753(0xc1)](process[_0x57c753(0xfa)]+_0x57c753(0xc7)),delete _0x416dcf[_0x57c753(0xf8)][_0x57c753(0xbd)]);_0x416dcf[_0x57c753(0xf8)][_0x57c753(0xe1)]=new Date()[_0x57c753(0xbc)](),await _0x57f818[_0x57c753(0x104)](_0x416dcf[_0x57c753(0xf8)],undefined,![],_0x34bec3[_0x57c753(0x103)]);}break;case _0x34bec3[_0x57c753(0xfd)]:_0x34bec3[_0x57c753(0xcb)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x57c753(0xc9)])&&(await _0x57f818[_0x57c753(0x104)](_0x416dcf['hook'],undefined,![],_0x34bec3[_0x57c753(0xba)]),TestDetails[_0x57c753(0x102)](process['pid']+_0x57c753(0xc7)));break;case _0x34bec3[_0x57c753(0xea)]:[_0x34bec3[_0x57c753(0xd6)],_0x34bec3[_0x57c753(0xd7)],_0x34bec3['JjXBu']]['includes'](_0x416dcf['hook'][_0x57c753(0xf9)])&&(_0x57f818[_0x57c753(0xe0)]=_0x416dcf[_0x57c753(0xf8)][_0x57c753(0xf9)]),_0x5261a4['unhandledErrors']&&_0x34bec3[_0x57c753(0xd9)](_0x5261a4['unhandledErrors']['length'],0x0)&&(_0x416dcf[_0x57c753(0xf8)][_0x57c753(0xe2)]=[_0x5261a4[_0x57c753(0xd1)][0x0][0x0]]);_0x34bec3['jkxFu'](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x57c753(0xc9)])&&(await _0x57f818['sendTestRunEvent'](_0x416dcf[_0x57c753(0xf8)],undefined,![],_0x34bec3[_0x57c753(0xba)]),TestDetails['removeTestUUID'](process[_0x57c753(0xfa)]+_0x57c753(0xc7)));break;case _0x34bec3['RPgZM']:_0x34bec3[_0x57c753(0xd5)](shouldProcessEventForTesthub)&&await _0x57f818[_0x57c753(0xb8)](_0x416dcf[_0x57c753(0xe9)]);break;case _0x34bec3['UtQNy']:_0x416dcf['test']={..._0x34bec3[_0x57c753(0xcb)](_0x147ae4,_0x416dcf[_0x57c753(0xe9)]),..._0x416dcf['test']};_0x34bec3[_0x57c753(0xb7)](shouldProcessEventForTesthub)&&(!_0x416dcf['test'][_0x57c753(0xbd)]&&(_0x416dcf[_0x57c753(0xe9)][_0x57c753(0xbd)]=!![],await _0x57f818[_0x57c753(0x104)](_0x416dcf['test'])));break;case _0x34bec3[_0x57c753(0xe4)]:_0x416dcf[_0x57c753(0xe9)]={..._0x34bec3[_0x57c753(0xcf)](_0x147ae4,_0x416dcf[_0x57c753(0xe9)]),..._0x416dcf[_0x57c753(0xe9)]};_0x34bec3[_0x57c753(0xb7)](shouldProcessEventForTesthub)&&(!_0x416dcf['test'][_0x57c753(0xbd)]&&(_0x416dcf[_0x57c753(0xe9)][_0x57c753(0xbd)]=!![],await _0x57f818['sendTestRunEvent'](_0x416dcf[_0x57c753(0xe9)],undefined,![],_0x34bec3['nmTcy'])));break;case _0x34bec3['FYHQL']:_0x57f818[_0x57c753(0xe0)]=null;break;case _0x34bec3[_0x57c753(0xd3)]:await RequestQueueHandler[_0x57c753(0xfc)]()['shutdown'](),process[_0x57c753(0xf7)]();break;default:}},_0x34bec3[_0x3a49a0(0xc8)]));}catch(_0x4dd205){_0x34bec3[_0x3a49a0(0xcf)](debug,_0x3a49a0(0xfe)+_0x4dd205);}return _0x34bec3['EOqmL'](initInitialize,..._0x1c5f72);};try{Object[a17_0x5e93c8(0xc6)](exportsI)['forEach'](_0x57478f=>{try{exports&&(exports[_0x57478f]=exportsI[_0x57478f]);}catch{}});}catch{}
@@ -1 +1 @@
1
- 'use strict';function a18_0x25d1(_0xf53540,_0x2bbb55){const _0x5bb7f8=a18_0x5bb7();return a18_0x25d1=function(_0x25d117,_0x10ab77){_0x25d117=_0x25d117-0x181;let _0x4e2ee3=_0x5bb7f8[_0x25d117];return _0x4e2ee3;},a18_0x25d1(_0xf53540,_0x2bbb55);}const a18_0x126461=a18_0x25d1;(function(_0x2089af,_0x1e8eba){const _0x29cc68=a18_0x25d1,_0x3d2ed9=_0x2089af();while(!![]){try{const _0x4f3437=-parseInt(_0x29cc68(0x181))/0x1+-parseInt(_0x29cc68(0x194))/0x2*(parseInt(_0x29cc68(0x187))/0x3)+parseInt(_0x29cc68(0x186))/0x4*(parseInt(_0x29cc68(0x184))/0x5)+parseInt(_0x29cc68(0x191))/0x6*(-parseInt(_0x29cc68(0x19d))/0x7)+parseInt(_0x29cc68(0x19f))/0x8+parseInt(_0x29cc68(0x19b))/0x9+parseInt(_0x29cc68(0x192))/0xa*(parseInt(_0x29cc68(0x185))/0xb);if(_0x4f3437===_0x1e8eba)break;else _0x3d2ed9['push'](_0x3d2ed9['shift']());}catch(_0x28d342){_0x3d2ed9['push'](_0x3d2ed9['shift']());}}}(a18_0x5bb7,0xed681));const {requireModule,isBrowserstackInfra}=require(a18_0x126461(0x195)),a18_0x4e0724={};a18_0x4e0724[a18_0x126461(0x182)]=!![],Object[a18_0x126461(0x193)](exports,a18_0x126461(0x1a2),a18_0x4e0724),exports[a18_0x126461(0x198)]=void 0x0;function _interopRequireDefault(_0x609631){const _0x575a3b=a18_0x126461;return _0x609631&&_0x609631[_0x575a3b(0x1a2)]?_0x609631:{'default':_0x609631};}const JestRunner=_interopRequireDefault(requireModule('jest-runner'))[a18_0x126461(0x198)];class TestRunner extends JestRunner{constructor(..._0x50d80d){super(..._0x50d80d);}[a18_0x126461(0x19c)](..._0x336cab){const _0x5bb162=a18_0x126461,_0x10f1d7={'OysPJ':function(_0xeb58df){return _0xeb58df();},'iuqGU':function(_0x3a6e3f,_0x25f56e){return _0x3a6e3f-_0x25f56e;},'BjKFK':function(_0x57272b,_0x3f05c6){return _0x57272b*_0x3f05c6;},'zDzOA':function(_0x3487b5,_0x17be9d){return _0x3487b5===_0x17be9d;},'OufqT':_0x5bb162(0x18c),'RgqYK':function(_0xaea82c,_0x205286){return _0xaea82c<_0x205286;}};if(!_0x10f1d7[_0x5bb162(0x190)](isBrowserstackInfra))return super[_0x5bb162(0x19c)](..._0x336cab);const _0x1d3520=_0x336cab[0x0],_0xdb677f=_0x336cab[_0x10f1d7[_0x5bb162(0x19e)](_0x336cab['length'],0x1)],_0x4a2f78=_0x1d3520[0x0][_0x5bb162(0x18b)]['config']['testEnvironmentOptions']['capabilities'],_0x320321=_0x1d3520[0x0][_0x5bb162(0x18b)][_0x5bb162(0x1a0)][_0x5bb162(0x18d)][_0x5bb162(0x196)];_0x320321&&(this[_0x5bb162(0x18a)]=Object[_0x5bb162(0x19a)]({...this[_0x5bb162(0x18a)],'maxWorkers':_0x10f1d7['BjKFK'](_0x320321,_0x4a2f78['length'])}));_0x10f1d7[_0x5bb162(0x18f)](_0x1d3520[0x0]['context'][_0x5bb162(0x1a0)][_0x5bb162(0x18d)][_0x5bb162(0x183)],_0x10f1d7[_0x5bb162(0x197)])&&(_0xdb677f&&(_0xdb677f[_0x5bb162(0x188)]=![]));const _0x5f02fe=[];for(let _0x22a8d0=0x0;_0x10f1d7['RgqYK'](_0x22a8d0,_0x1d3520[_0x5bb162(0x18e)]);_0x22a8d0++){const _0x1ee3c8=[];_0x4a2f78[_0x5bb162(0x1a1)]((_0x423617,_0x4d6d94)=>{const _0x4ca5ba=_0x5bb162,_0x5bb13b={..._0x1d3520[_0x22a8d0]},_0x1c9359=_0x5bb13b;_0x1c9359['context']=Object['freeze']({..._0x1c9359[_0x4ca5ba(0x18b)],'config':{..._0x1c9359[_0x4ca5ba(0x18b)][_0x4ca5ba(0x1a0)],'capability':_0x423617,'browserstackPlatformIndex':_0x4d6d94}}),_0x1ee3c8['push'](_0x1c9359);}),_0x5f02fe['push'](..._0x1ee3c8);}return super['runTests'](_0x5f02fe,..._0x336cab[_0x5bb162(0x199)](0x1));}}function a18_0x5bb7(){const _0x10fb6d=['2788011VOihRH','runTests','3131317hzaGQD','iuqGU','14392664qZzove','config','forEach','__esModule','461682ynllue','value','serial__','9415960oHZdLY','4198667tdWZxu','4YdgYxE','21WCUjYN','serial','exports','_globalConfig','context','false','testEnvironmentOptions','length','zDzOA','OysPJ','18YzUEZI','10kjEVyl','defineProperty','456474IRHJfS','../../../helpers/helper','parallels__','OufqT','default','slice','freeze'];a18_0x5bb7=function(){return _0x10fb6d;};return a18_0x5bb7();}module[a18_0x126461(0x189)]=TestRunner;
1
+ 'use strict';const a18_0x5023d7=a18_0x286c;(function(_0x1d2ed8,_0x401862){const _0x57d09a=a18_0x286c,_0x4baca5=_0x1d2ed8();while(!![]){try{const _0x4d5e9b=-parseInt(_0x57d09a(0x186))/0x1*(parseInt(_0x57d09a(0x18a))/0x2)+parseInt(_0x57d09a(0x18b))/0x3+-parseInt(_0x57d09a(0x18d))/0x4+parseInt(_0x57d09a(0x18e))/0x5+-parseInt(_0x57d09a(0x192))/0x6+-parseInt(_0x57d09a(0x177))/0x7+-parseInt(_0x57d09a(0x190))/0x8;if(_0x4d5e9b===_0x401862)break;else _0x4baca5['push'](_0x4baca5['shift']());}catch(_0x1d4744){_0x4baca5['push'](_0x4baca5['shift']());}}}(a18_0x281a,0x7c6fd));const {requireModule,isBrowserstackInfra}=require(a18_0x5023d7(0x189)),a18_0x362030={};a18_0x362030['value']=!![],Object['defineProperty'](exports,'__esModule',a18_0x362030),exports[a18_0x5023d7(0x185)]=void 0x0;function _interopRequireDefault(_0x2a2b22){const _0x57a706=a18_0x5023d7;return _0x2a2b22&&_0x2a2b22[_0x57a706(0x17f)]?_0x2a2b22:{'default':_0x2a2b22};}function a18_0x286c(_0x3a78da,_0x147dc4){const _0x281abf=a18_0x281a();return a18_0x286c=function(_0x286cdc,_0x38c47e){_0x286cdc=_0x286cdc-0x177;let _0xcfd543=_0x281abf[_0x286cdc];return _0xcfd543;},a18_0x286c(_0x3a78da,_0x147dc4);}const JestRunner=_interopRequireDefault(requireModule(a18_0x5023d7(0x179)))[a18_0x5023d7(0x185)];class TestRunner extends JestRunner{constructor(..._0x2e9c34){super(..._0x2e9c34);}[a18_0x5023d7(0x18c)](..._0x33b084){const _0x3ad053=a18_0x5023d7,_0x59e2ec={'yyydB':function(_0x1db6c0){return _0x1db6c0();},'NBzrN':function(_0x52732d,_0x5cb147){return _0x52732d-_0x5cb147;},'zGFxc':function(_0x5efa58,_0x158450){return _0x5efa58*_0x158450;},'hJvux':function(_0xe47158,_0x12646d){return _0xe47158===_0x12646d;},'VgzyF':_0x3ad053(0x17a),'wSKRL':function(_0xd320c2,_0x1b3b91){return _0xd320c2<_0x1b3b91;}};if(!_0x59e2ec[_0x3ad053(0x188)](isBrowserstackInfra))return super[_0x3ad053(0x18c)](..._0x33b084);const _0x5b9d0b=_0x33b084[0x0],_0x2d85aa=_0x33b084[_0x59e2ec['NBzrN'](_0x33b084[_0x3ad053(0x17e)],0x1)],_0x54be62=_0x5b9d0b[0x0][_0x3ad053(0x194)][_0x3ad053(0x17c)][_0x3ad053(0x181)][_0x3ad053(0x18f)],_0x2ed5a3=_0x5b9d0b[0x0][_0x3ad053(0x194)][_0x3ad053(0x17c)][_0x3ad053(0x181)]['parallels__'];_0x2ed5a3&&(this[_0x3ad053(0x180)]=Object['freeze']({...this[_0x3ad053(0x180)],'maxWorkers':_0x59e2ec['zGFxc'](_0x2ed5a3,_0x54be62[_0x3ad053(0x17e)])}));_0x59e2ec['hJvux'](_0x5b9d0b[0x0][_0x3ad053(0x194)][_0x3ad053(0x17c)][_0x3ad053(0x181)][_0x3ad053(0x17d)],_0x59e2ec[_0x3ad053(0x183)])&&(_0x2d85aa&&(_0x2d85aa[_0x3ad053(0x178)]=![]));const _0x35d098=[];for(let _0x486198=0x0;_0x59e2ec[_0x3ad053(0x187)](_0x486198,_0x5b9d0b[_0x3ad053(0x17e)]);_0x486198++){const _0x4bb929=[];_0x54be62[_0x3ad053(0x17b)]((_0x487a6f,_0x4f5b16)=>{const _0x5a61c3=_0x3ad053,_0x3f7ed0={..._0x5b9d0b[_0x486198]},_0x14f4d3=_0x3f7ed0;_0x14f4d3[_0x5a61c3(0x194)]=Object[_0x5a61c3(0x193)]({..._0x14f4d3[_0x5a61c3(0x194)],'config':{..._0x14f4d3[_0x5a61c3(0x194)][_0x5a61c3(0x17c)],'capability':_0x487a6f,'browserstackPlatformIndex':_0x4f5b16}}),_0x4bb929[_0x5a61c3(0x184)](_0x14f4d3);}),_0x35d098[_0x3ad053(0x184)](..._0x4bb929);}return super[_0x3ad053(0x18c)](_0x35d098,..._0x33b084[_0x3ad053(0x182)](0x1));}}function a18_0x281a(){const _0x3fac75=['1105304EjcWgw','3172190VFtixN','capabilities','1210384AQlNGy','exports','2271678fmQyOk','freeze','context','769811EtrvmX','serial','jest-runner','false','forEach','config','serial__','length','__esModule','_globalConfig','testEnvironmentOptions','slice','VgzyF','push','default','1765RPWNnR','wSKRL','yyydB','../../../helpers/helper','188mkHCXM','2872125IFkkvM','runTests'];a18_0x281a=function(){return _0x3fac75;};return a18_0x281a();}module[a18_0x5023d7(0x191)]=TestRunner;
@@ -1 +1 @@
1
- function a19_0x4ad2(_0x190cf7,_0x59a1e2){const _0x38c764=a19_0x38c7();return a19_0x4ad2=function(_0x4ad237,_0x5c177c){_0x4ad237=_0x4ad237-0x19d;let _0x4a00b5=_0x38c764[_0x4ad237];return _0x4a00b5;},a19_0x4ad2(_0x190cf7,_0x59a1e2);}const a19_0x35b63a=a19_0x4ad2;(function(_0x2ee366,_0x5cbae9){const _0x2404fa=a19_0x4ad2,_0x48dfc4=_0x2ee366();while(!![]){try{const _0x2e51dc=parseInt(_0x2404fa(0x1c4))/0x1+parseInt(_0x2404fa(0x1c5))/0x2+parseInt(_0x2404fa(0x21c))/0x3+-parseInt(_0x2404fa(0x1f9))/0x4*(-parseInt(_0x2404fa(0x1d8))/0x5)+parseInt(_0x2404fa(0x1c8))/0x6+parseInt(_0x2404fa(0x1a1))/0x7+parseInt(_0x2404fa(0x1bb))/0x8*(-parseInt(_0x2404fa(0x201))/0x9);if(_0x2e51dc===_0x5cbae9)break;else _0x48dfc4['push'](_0x48dfc4['shift']());}catch(_0x3669f6){_0x48dfc4['push'](_0x48dfc4['shift']());}}}(a19_0x38c7,0xd5533));const util=require(a19_0x35b63a(0x21e)),{sendPlatformDetails}=require(a19_0x35b63a(0x1ee)),{isBrowserstackInfra,markSessionStatus}=require(a19_0x35b63a(0x1b5));let __error_messages__=[];const RequestQueueHandler=require(a19_0x35b63a(0x1b2));function a19_0x38c7(){const _0x543304=['replace','currentTest','../../helpers/test-observability/requestQueueHandler','setGlobal','../../helpers/testhub/utils','../../helpers/helper','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','LRMQv','app','sfeZZ','oUgVq','313840eIKQCK','length','removeAllListeners','appium:app','DXcBh','bCBZc','XfmNI','push','WwcHq','1342298QdFUAS','2088922cXvwyb','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','failed','806376xntzud','capabilities','executeAsyncScript','zqnHB','WYfUB','getState','FuyTJ','log','\x22,\x22level\x22:\x20\x22info\x22}}','Kjgld','PkAjJ','../../helpers/globals','SfQQa','join','winstonLogger','name','5wmUVnm','lpysc','addReporter','../../helpers/accessibility-automation/helper','message','session_','FpLFF','../../helpers/percy/utils','ZTIiS','isArray',',\x22level\x22:\x20\x22','../../helpers/logger','errors','passed','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','browserStackGlobals','error','percyCaptureMode','axYSr','yKWei','http:','uzuKW','../../helpers/test-observability/utils','../../helpers/accessibility-automation/scripts','../../helpers/testhub/constants','\x22}}','getCurrentUrl','pid','RnVMH','NAAme','nrnhh','executeScript','IZiHu','2532244HHvDru','BROWSERSTACK_TESTHUB_JWT','zQovz','https:','getTestUUID','OIgAc','OELeq','vnZQJ','747RDkdUK','env','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','shift','KlqQy','LLXQW','hGWZF','wexIX','tXwuE','performScan','omjVi',':testAnalyticsId','info','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','cUuKv','testcase','PtMDf','quitCount_','debug','slice','XqdKi','currentTestName','bstackA11yShouldScan','__drivers','EGfXW','percy','Vkmps','22656VcrAPk','rGtQW','util','stringify','Performing\x20scan\x20before\x20saving\x20results','\x22,\x22level\x22:\x20\x22error\x22}}','browserstackSessionName','ENV_VAR','getGlobal','ObservabilitySync:','GeBhb','Failed\x20to\x20store\x20session\x20name:\x20','isAccessibilityPlatform','setTimeout','uzWqp','6776707rObyLI','TQZbc','protocol','format','Kvwqc','bClii','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Passed\x20-\x20','saveTestResults','failedExpectations','BROWSERSTACK_TESTHUB_UUID','kAKIb','description','undefined','UlJqe','YIKUs'];a19_0x38c7=function(){return _0x543304;};return a19_0x38c7();}jest[a19_0x35b63a(0x19f)](__timeout);const {isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a19_0x35b63a(0x1db)),{percyAutoCapture}=require(a19_0x35b63a(0x1df)),logger=require(a19_0x35b63a(0x1e3))[a19_0x35b63a(0x1d6)],TestDetails=require('./test-observability/test-details'),PerformanceTester=require('../../helpers/performance-tester'),scripts=require(a19_0x35b63a(0x1ef)),globals=require(a19_0x35b63a(0x1d3)),{shouldProcessEventForTesthub}=require(a19_0x35b63a(0x1b4)),testHubConstants=require(a19_0x35b63a(0x1f0));globals[a19_0x35b63a(0x1e7)]=browserStackGlobals;function stripUnicode(_0x4870ee){const _0x29cf62=a19_0x35b63a;return _0x4870ee[_0x29cf62(0x1b0)](/\\u001b\[.*?m/g,'')[_0x29cf62(0x214)](0x1,-0x1);}async function setContext(){const _0x28652b=a19_0x35b63a,_0xe55e15={'yKWei':function(_0x442369){return _0x442369();},'UlJqe':function(_0x20cce5,_0x3d6a41){return _0x20cce5!==_0x3d6a41;},'kAKIb':_0x28652b(0x1ad),'axYSr':function(_0x273948,_0x42d000){return _0x273948>_0x42d000;},'ctTil':function(_0x43c4a8,_0xd2d474){return _0x43c4a8(_0xd2d474);},'ZTIiS':function(_0x1eb099,_0xab7a6c){return _0x1eb099(_0xab7a6c);},'zqnHB':function(_0x1a3cfa,_0x1d0bdd){return _0x1a3cfa(_0x1d0bdd);}};if(!_0xe55e15[_0x28652b(0x1eb)](isBrowserstackInfra))return;if(!sessionNameProvided){const _0x147550=expect[_0x28652b(0x1cd)]()[_0x28652b(0x216)];await __drivers[0x0]['executeScript'](_0x28652b(0x203)+_0x147550+_0x28652b(0x1f1));}let _0x506534=null,_0x373551=![];_0xe55e15[_0x28652b(0x1ae)](typeof jasmine,_0xe55e15[_0x28652b(0x1ab)])?jasmine[_0x28652b(0x1b1)][_0x28652b(0x1a9)]&&_0xe55e15[_0x28652b(0x1ea)](jasmine[_0x28652b(0x1b1)][_0x28652b(0x1a9)][_0x28652b(0x1bc)],0x0)?(_0x373551=!![],_0x506534=_0xe55e15['ctTil'](stripUnicode,JSON[_0x28652b(0x21f)](jasmine[_0x28652b(0x1b1)][_0x28652b(0x1a9)][0x0]['message']))):_0x506534=_0xe55e15['ctTil'](stripUnicode,JSON[_0x28652b(0x21f)](jasmine[_0x28652b(0x1b1)][_0x28652b(0x1ac)])):testContext['errors']&&_0xe55e15[_0x28652b(0x1ea)](testContext[_0x28652b(0x1e4)][_0x28652b(0x1bc)],0x0)?(_0x373551=!![],_0x506534=_0xe55e15[_0x28652b(0x1e0)](stripUnicode,JSON[_0x28652b(0x21f)](testContext['errors'][0x0][0x0][_0x28652b(0x1dc)]||testContext[_0x28652b(0x1e4)][0x0][0x0]))):_0x506534=_0xe55e15[_0x28652b(0x1cb)](stripUnicode,JSON[_0x28652b(0x21f)](testContext[_0x28652b(0x1d7)])),_0x373551?(__error_messages__[_0x28652b(0x1c2)](_0x506534),await __drivers[0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Failed\x20-\x20'+_0x506534+_0x28652b(0x221))):await __drivers[0x0][_0x28652b(0x1f7)](_0x28652b(0x1a7)+_0x506534+_0x28652b(0x1d0));}const executeAnnotate=async(_0x441b84,_0x3bfcbc)=>{const _0x41302e=a19_0x35b63a;await global['__drivers'][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x441b84+_0x41302e(0x1e2)+_0x3bfcbc+_0x41302e(0x1f1));};async function driverCleanup(){const _0x5b81ff=a19_0x35b63a,_0xba8fb7={'LRMQv':function(_0x623c8e){return _0x623c8e();},'YCAfT':function(_0x210064,_0x5af175){return _0x210064>_0x5af175;},'cUuKv':function(_0x2a01af,_0x5ce149,_0x4304c0,_0x15cfc9){return _0x2a01af(_0x5ce149,_0x4304c0,_0x15cfc9);},'vnZQJ':_0x5b81ff(0x1c7),'DXcBh':'\x20|\x20','rGtQW':function(_0x2235e3,_0x405102,_0x3780cc){return _0x2235e3(_0x405102,_0x3780cc);},'SfQQa':_0x5b81ff(0x1e5)};if(!_0xba8fb7[_0x5b81ff(0x1b7)](isBrowserstackInfra))return;let _0x30ccd2=![];try{await __drivers[0x0][_0x5b81ff(0x1dd)],_0x30ccd2=!![],_0xba8fb7['YCAfT'](__error_messages__[_0x5b81ff(0x1bc)],0x0)?await _0xba8fb7[_0x5b81ff(0x20f)](markSessionStatus,__drivers[0x0],_0xba8fb7[_0x5b81ff(0x200)],__error_messages__[_0x5b81ff(0x1d5)](_0xba8fb7[_0x5b81ff(0x1bf)])):await _0xba8fb7[_0x5b81ff(0x21d)](markSessionStatus,__drivers[0x0],_0xba8fb7[_0x5b81ff(0x1d4)]);}catch(_0x1d1f58){console[_0x5b81ff(0x1cf)](_0x1d1f58);}__error_messages__=[];if(_0x30ccd2)try{await __drivers[0x0]['initQuit']();}catch(_0x1469eb){console[_0x5b81ff(0x1cf)](_0x1469eb);}}beforeAll(async()=>{const _0x53241c=a19_0x35b63a,_0x276a73={'Kvwqc':function(_0x1efc01,_0x16b3ae){return _0x1efc01!==_0x16b3ae;},'hGWZF':_0x53241c(0x1ad),'NAAme':function(_0x5a800f){return _0x5a800f();},'KHTBo':function(_0xd420ea,_0x36a43f,_0x130bd5){return _0xd420ea(_0x36a43f,_0x130bd5);}};PerformanceTester['startMonitoring']();const _0x25274f='browserstack internal helper hook';_0x276a73[_0x53241c(0x1a5)](typeof jasmine,_0x276a73[_0x53241c(0x207)])&&jasmine['getEnv']()[_0x53241c(0x1da)]({'specStarted':_0x4ce30e=>{const _0x56716f=_0x53241c;jasmine[_0x56716f(0x1b1)]=_0x4ce30e;}});let _0x3fec38=![];try{await __drivers[0x0][_0x53241c(0x1dd)],_0x3fec38=!![];}catch(_0x48041d){}if(_0x3fec38)try{try{_0x276a73[_0x53241c(0x1f5)](shouldProcessEventForTesthub)&&(global[_0x53241c(0x218)][0x0]&&await _0x276a73['KHTBo'](sendPlatformDetails,global[_0x53241c(0x218)][0x0],TestDetails[_0x53241c(0x1fd)](process['pid']+':testAnalyticsId')));}catch{}}catch(_0x293c9f){}}),beforeEach(async()=>{const _0x59c651=a19_0x35b63a,_0x5a7343={'oUgVq':function(_0x3bcc7a,_0x432028){return _0x3bcc7a>_0x432028;},'uzuKW':function(_0x118410){return _0x118410();},'XfmNI':function(_0x185421,_0x4e1fa3){return _0x185421>_0x4e1fa3;},'PtMDf':function(_0xa99f03){return _0xa99f03();},'uzWqp':function(_0x172933,_0x67a8c5,_0x4fa1ba){return _0x172933(_0x67a8c5,_0x4fa1ba);},'OIgAc':_0x59c651(0x217),'tXwuE':function(_0x452b85){return _0x452b85();},'Kjgld':_0x59c651(0x19e),'lpysc':function(_0x1db178,_0x2db7d3){return _0x1db178===_0x2db7d3;},'wexIX':_0x59c651(0x1ec),'zQovz':function(_0x228d3d,_0x399a71){return _0x228d3d===_0x399a71;},'FpLFF':_0x59c651(0x1fc),'RnVMH':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','OELeq':function(_0x53d2b9){return _0x53d2b9();}},_0x31e160='browserstack internal helper hook';try{_0x5a7343[_0x59c651(0x1ba)](__drivers[_0x59c651(0x1bc)],0x1)&&(await _0x5a7343[_0x59c651(0x1ed)](driverCleanup),__drivers[_0x59c651(0x204)]());const _0x591e92=expect[_0x59c651(0x1cd)]()['currentTestName'];try{Array[_0x59c651(0x1e1)](__drivers)&&__drivers[0x0]&&(__drivers[0x0][_0x59c651(0x222)]=_0x591e92),global[_0x59c651(0x222)]=_0x591e92;}catch(_0xc14b21){logger[_0x59c651(0x213)](_0x59c651(0x19d)+_0xc14b21);}__drivers[0x0][_0x59c651(0x222)]=_0x591e92;_0x5a7343['XfmNI'](__drivers[0x0][_0x59c651(0x212)],0x0)&&await _0x5a7343[_0x59c651(0x211)](driverCleanup);const _0x17cc03=_0x5a7343[_0x59c651(0x1a0)](shouldScanTestForAccessibility,_0x591e92,![]);__drivers[0x0][_0x59c651(0x217)]=_0x17cc03,globals[_0x59c651(0x1b3)](_0x5a7343[_0x59c651(0x1fe)],_0x17cc03);if(_0x5a7343[_0x59c651(0x209)](isAccessibilityAutomationSession)&&globals[_0x59c651(0x224)](_0x5a7343[_0x59c651(0x1d1)]))try{const _0x444aec=await __drivers[0x0][_0x59c651(0x1dd)];if(_0x444aec){let _0x23f147=!![];const _0x35e4f7=await __drivers[0x0][_0x59c651(0x1f2)]();let _0xf1f32b;try{_0xf1f32b=new URL(_0x35e4f7);}catch(_0x579bcb){_0x23f147=![];}_0x23f147=_0x5a7343[_0x59c651(0x1d9)](_0xf1f32b[_0x59c651(0x1a3)],_0x5a7343[_0x59c651(0x208)])||_0x5a7343[_0x59c651(0x1fb)](_0xf1f32b['protocol'],_0x5a7343[_0x59c651(0x1de)]),_0x23f147&&(_0x17cc03&&logger['info'](_0x5a7343[_0x59c651(0x1f4)]));}}catch(_0x38b7cb){logger[_0x59c651(0x1e8)](_0x59c651(0x1b6)+_0x38b7cb);}_0x5a7343[_0x59c651(0x1c1)](__drivers[0x0][_0x59c651(0x212)],0x0)&&await _0x5a7343[_0x59c651(0x1ff)](driverCleanup);}catch{}}),afterEach(async()=>{const _0x221c4a=a19_0x35b63a,_0x398d77={'YIKUs':function(_0x558385,_0x249996){return _0x558385>_0x249996;},'XqdKi':function(_0x306fbc){return _0x306fbc();},'LLXQW':function(_0x585efd,_0xb5d1d2){return _0x585efd===_0xb5d1d2;},'nrnhh':_0x221c4a(0x210),'bClii':_0x221c4a(0x1be),'WYfUB':function(_0x30a8d5,_0x617558,_0x25bee5,_0x15bb22){return _0x30a8d5(_0x617558,_0x25bee5,_0x15bb22);},'KlqQy':function(_0x2b59a9,_0x1adc42,_0x261cae){return _0x2b59a9(_0x1adc42,_0x261cae);},'TQZbc':function(_0x9cff6d){return _0x9cff6d();},'EGfXW':'isAccessibilityPlatform','Vkmps':_0x221c4a(0x217),'GeBhb':_0x221c4a(0x1c6),'FuyTJ':_0x221c4a(0x220),'WwcHq':_0x221c4a(0x1e6),'PkAjJ':function(_0x5e10d3){return _0x5e10d3();},'bCBZc':function(_0x110b7f,_0x5e6bac,_0x1687b7){return _0x110b7f(_0x5e6bac,_0x1687b7);},'IZiHu':'debug'},_0x314e5b='browserstack internal helper hook';try{_0x398d77['YIKUs'](__drivers[_0x221c4a(0x1bc)],0x1)&&(await _0x398d77[_0x221c4a(0x215)](driverCleanup),__drivers[_0x221c4a(0x204)]());try{if(global[_0x221c4a(0x21a)]&&_0x398d77[_0x221c4a(0x206)](global[_0x221c4a(0x1e9)],_0x398d77[_0x221c4a(0x1f6)])&&__drivers[0x0]){const _0x572109=_0x398d77[_0x221c4a(0x1af)](global[_0x221c4a(0x1c9)]['length'],0x0)?!!global[_0x221c4a(0x1c9)][0x0][_0x221c4a(0x1b8)]||!!global[_0x221c4a(0x1c9)][0x0][_0x398d77[_0x221c4a(0x1a6)]]:![],_0x447e23={};_0x447e23[_0x221c4a(0x1b8)]=_0x572109,await _0x398d77[_0x221c4a(0x1cc)](percyAutoCapture,__drivers[0x0],_0x398d77[_0x221c4a(0x1f6)],_0x447e23);}}catch(_0x47f4e9){}const _0x1cd8a8=_0x398d77[_0x221c4a(0x205)](shouldScanTestForAccessibility,expect['getState']()[_0x221c4a(0x216)],![]);try{if(_0x398d77[_0x221c4a(0x1a2)](isAccessibilityAutomationSession)&&globals['getGlobal'](_0x398d77[_0x221c4a(0x219)])&&globals[_0x221c4a(0x224)](_0x398d77[_0x221c4a(0x21b)])){logger['info'](_0x398d77[_0x221c4a(0x226)]);const _0xf34c0b={'thTestRunUuid':TestDetails[_0x221c4a(0x1fd)](process[_0x221c4a(0x1f3)]+_0x221c4a(0x20c)),'thBuildUuid':process[_0x221c4a(0x202)][testHubConstants[_0x221c4a(0x223)][_0x221c4a(0x1aa)]],'thJwtToken':process[_0x221c4a(0x202)][testHubConstants[_0x221c4a(0x223)][_0x221c4a(0x1fa)]]};logger[_0x221c4a(0x213)](_0x221c4a(0x20e)+JSON[_0x221c4a(0x21f)](_0xf34c0b)),logger[_0x221c4a(0x213)](_0x398d77[_0x221c4a(0x1ce)]),logger['debug'](util[_0x221c4a(0x1a4)](await __drivers[0x0][_0x221c4a(0x1ca)](scripts[_0x221c4a(0x20a)],{'method':expect[_0x221c4a(0x1cd)]()[_0x221c4a(0x216)]}))),await __drivers[0x0]['executeAsyncScript'](scripts[_0x221c4a(0x1a8)],_0xf34c0b),logger[_0x221c4a(0x20d)](_0x398d77[_0x221c4a(0x1c3)]);}}catch(_0x75f907){logger[_0x221c4a(0x1e8)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+expect['getState']()[_0x221c4a(0x216)]+'.\x20Error\x20:',_0x75f907);}await _0x398d77[_0x221c4a(0x1d2)](setContext);try{if(_0x398d77[_0x221c4a(0x215)](shouldProcessEventForTesthub)){global[_0x221c4a(0x218)][0x0]&&await _0x398d77[_0x221c4a(0x1c0)](sendPlatformDetails,global[_0x221c4a(0x218)][0x0],TestDetails[_0x221c4a(0x1fd)](process[_0x221c4a(0x1f3)]+_0x221c4a(0x20c)));if(_0x398d77[_0x221c4a(0x1a2)](isBrowserstackInfra)){const _0x12630c=_0x221c4a(0x225)+Date['now']();await _0x398d77[_0x221c4a(0x1c0)](executeAnnotate,JSON[_0x221c4a(0x21f)](_0x12630c),_0x398d77[_0x221c4a(0x1f8)]);}}}catch(_0x3e37bb){}_0x398d77[_0x221c4a(0x1af)](__drivers[0x0]['quitCount_'],0x0)&&await _0x398d77[_0x221c4a(0x1d2)](driverCleanup);}catch{}},0x186a0),afterAll(async()=>{const _0x43cbe3=a19_0x35b63a,_0x3ca6e4={'sfeZZ':function(_0x1f9a90,_0x43477a){return _0x1f9a90<=_0x43477a;},'SZQrM':function(_0x31f84f,_0x25b406){return _0x31f84f(_0x25b406);},'omjVi':function(_0x5bcb63){return _0x5bcb63();},'VDmMC':function(_0x134cfe,_0x263f2c,_0x3ddc6e){return _0x134cfe(_0x263f2c,_0x3ddc6e);}};jest[_0x43cbe3(0x19f)](0x186a0),PerformanceTester['pushPerfMeasures']();const _0x54daf2='browserstack internal helper hook';await new Promise(_0x572973=>{const _0x3f662d=_0x3ca6e4['VDmMC'](setInterval,async()=>{const _0x463d27=a19_0x4ad2;_0x3ca6e4[_0x463d27(0x1b9)](RequestQueueHandler['getInstance']()['pendingUploads'],0x0)&&(_0x3ca6e4['SZQrM'](clearInterval,_0x3f662d),_0x3ca6e4['omjVi'](_0x572973));},0x3e8);});try{await _0x3ca6e4[_0x43cbe3(0x20b)](driverCleanup);}catch(_0x781581){}process[_0x43cbe3(0x1bd)]();},0x2710);
1
+ function a19_0x1fdc(_0x4d726f,_0x1b0f12){const _0xbb328=a19_0xbb32();return a19_0x1fdc=function(_0x1fdcee,_0x34cec3){_0x1fdcee=_0x1fdcee-0xfa;let _0x10ab71=_0xbb328[_0x1fdcee];return _0x10ab71;},a19_0x1fdc(_0x4d726f,_0x1b0f12);}const a19_0x419476=a19_0x1fdc;(function(_0x44d5f5,_0x5dba55){const _0x5b3a7e=a19_0x1fdc,_0x5604a7=_0x44d5f5();while(!![]){try{const _0x425a1e=parseInt(_0x5b3a7e(0x13a))/0x1*(parseInt(_0x5b3a7e(0x15b))/0x2)+parseInt(_0x5b3a7e(0x117))/0x3+-parseInt(_0x5b3a7e(0x128))/0x4+parseInt(_0x5b3a7e(0x168))/0x5*(parseInt(_0x5b3a7e(0x175))/0x6)+-parseInt(_0x5b3a7e(0x10f))/0x7+-parseInt(_0x5b3a7e(0x16e))/0x8*(parseInt(_0x5b3a7e(0x134))/0x9)+parseInt(_0x5b3a7e(0x173))/0xa;if(_0x425a1e===_0x5dba55)break;else _0x5604a7['push'](_0x5604a7['shift']());}catch(_0x5a6248){_0x5604a7['push'](_0x5604a7['shift']());}}}(a19_0xbb32,0xb79aa));const util=require('util'),{sendPlatformDetails}=require(a19_0x419476(0x12c)),{isBrowserstackInfra,markSessionStatus}=require(a19_0x419476(0x15f));let __error_messages__=[];const RequestQueueHandler=require(a19_0x419476(0x131));jest[a19_0x419476(0x17f)](__timeout);function a19_0xbb32(){const _0x4ae9dd=['sTpZG','env','../../helpers/test-observability/utils','testcase','ULWbR','stringify','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','../../helpers/test-observability/requestQueueHandler','../../helpers/testhub/constants','iXodR','4794597zFvGSM','\x22,\x22level\x22:\x20\x22info\x22}}','../../helpers/logger','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','ObservabilitySync:','currentTestName','24mpTHft',':testAnalyticsId','executeAsyncScript','length','quitCount_','yHqDs','join','getTestUUID','isArray','veVhn','getCurrentUrl','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Failed\x20-\x20','protocol','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','description','eAmjy','DbJGu','isAccessibilityPlatform','failed','currentTest','capabilities','\x22,\x22level\x22:\x20\x22error\x22}}','PYIqL','getGlobal','slice','OBdLT','SJGHk','../../helpers/testhub/utils','startMonitoring','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Passed\x20-\x20','percy','performScan','97414cBiKCx','__drivers','lllRv','Qfgdv','../../helpers/helper','ThswQ','http:','hbgAv','JFgld','errors','\x20|\x20','../../helpers/percy/utils','jCgiw','102050AJLOXe','bstackA11yShouldScan','Failed\x20to\x20store\x20session\x20name:\x20','addReporter','UIHPz','passed','8BXbPys','MtyuO','browserStackGlobals','dFGKC','../../helpers/performance-tester','3756890ceFVah','ENV_VAR','36wYENPq','Performing\x20scan\x20before\x20saving\x20results','now','yRrLq','../../helpers/accessibility-automation/scripts','ObdRA','jhEtW','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','XWosM','DBpNS','setTimeout','initQuit','Hnkpi','app','pushPerfMeasures','shift','dZvEI','FyXRp','GlnWF','iDLlk','log','debug','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','XxNCC','error','message',',\x22level\x22:\x20\x22','replace','getInstance','failedExpectations','\x22}}','pid','WSnnX','1313060rzYMjB','GgSwH','ruPxl','browserstackSessionName','ZQAZp','getState','session_','PZvan','1270530jNaKBO','jSILu','push','BROWSERSTACK_TESTHUB_UUID','CrJGh','uIDbX','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','appium:app','TOfHN','BROWSERSTACK_TESTHUB_JWT','wOrLm','../../helpers/globals','executeScript','winstonLogger','undefined','URgkf','oiCeV','2473088vSEsFH','info'];a19_0xbb32=function(){return _0x4ae9dd;};return a19_0xbb32();}const {isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require(a19_0x419476(0x166)),logger=require(a19_0x419476(0x136))[a19_0x419476(0x124)],TestDetails=require('./test-observability/test-details'),PerformanceTester=require(a19_0x419476(0x172)),scripts=require(a19_0x419476(0x179)),globals=require(a19_0x419476(0x122)),{shouldProcessEventForTesthub}=require(a19_0x419476(0x156)),testHubConstants=require(a19_0x419476(0x132));globals[a19_0x419476(0x170)]=browserStackGlobals;function stripUnicode(_0x3de37f){const _0xa835c3=a19_0x419476;return _0x3de37f[_0xa835c3(0x109)](/\\u001b\[.*?m/g,'')[_0xa835c3(0x153)](0x1,-0x1);}async function setContext(){const _0x30dc12=a19_0x419476,_0x395091={'ZQAZp':function(_0x251e7f){return _0x251e7f();},'UIHPz':function(_0x2c83fa,_0x45143f){return _0x2c83fa!==_0x45143f;},'wOrLm':_0x30dc12(0x125),'MtyuO':function(_0x36203a,_0x3bd2cf){return _0x36203a>_0x3bd2cf;},'TOfHN':function(_0x5be242,_0x192172){return _0x5be242(_0x192172);},'zHhqD':function(_0x596918,_0x394643){return _0x596918(_0x394643);}};if(!_0x395091[_0x30dc12(0x113)](isBrowserstackInfra))return;if(!sessionNameProvided){const _0x865b40=expect[_0x30dc12(0x114)]()['currentTestName'];await __drivers[0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0x865b40+_0x30dc12(0x10c));}let _0x18c298=null,_0xffff71=![];_0x395091[_0x30dc12(0x16c)](typeof jasmine,_0x395091[_0x30dc12(0x121)])?jasmine[_0x30dc12(0x14e)][_0x30dc12(0x10b)]&&_0x395091[_0x30dc12(0x16f)](jasmine[_0x30dc12(0x14e)][_0x30dc12(0x10b)][_0x30dc12(0x13d)],0x0)?(_0xffff71=!![],_0x18c298=_0x395091[_0x30dc12(0x11f)](stripUnicode,JSON['stringify'](jasmine[_0x30dc12(0x14e)]['failedExpectations'][0x0]['message']))):_0x18c298=_0x395091['TOfHN'](stripUnicode,JSON['stringify'](jasmine[_0x30dc12(0x14e)][_0x30dc12(0x149)])):testContext['errors']&&_0x395091[_0x30dc12(0x16f)](testContext[_0x30dc12(0x164)][_0x30dc12(0x13d)],0x0)?(_0xffff71=!![],_0x18c298=_0x395091[_0x30dc12(0x11f)](stripUnicode,JSON[_0x30dc12(0x12f)](testContext[_0x30dc12(0x164)][0x0][0x0][_0x30dc12(0x107)]||testContext['errors'][0x0][0x0]))):_0x18c298=_0x395091['zHhqD'](stripUnicode,JSON[_0x30dc12(0x12f)](testContext['name'])),_0xffff71?(__error_messages__[_0x30dc12(0x119)](_0x18c298),await __drivers[0x0][_0x30dc12(0x123)](_0x30dc12(0x145)+_0x18c298+_0x30dc12(0x150))):await __drivers[0x0][_0x30dc12(0x123)](_0x30dc12(0x158)+_0x18c298+_0x30dc12(0x135));}const executeAnnotate=async(_0x31b56a,_0x3ee08a)=>{const _0x4b5d8c=a19_0x419476;await global['__drivers'][0x0][_0x4b5d8c(0x123)](_0x4b5d8c(0x147)+_0x31b56a+_0x4b5d8c(0x108)+_0x3ee08a+_0x4b5d8c(0x10c));};async function driverCleanup(){const _0x1b27d8=a19_0x419476,_0x5ab35a={'IZVCt':function(_0x4f1b88){return _0x4f1b88();},'jSILu':function(_0x23d9a6,_0xb9f54a){return _0x23d9a6>_0xb9f54a;},'rcSFw':function(_0x3ac066,_0x5e734c,_0xd58d3c,_0x5d6352){return _0x3ac066(_0x5e734c,_0xd58d3c,_0x5d6352);},'qgWWD':_0x1b27d8(0x14d),'lllRv':_0x1b27d8(0x165),'yRrLq':function(_0x331249,_0x59a5ef,_0xbd1d6){return _0x331249(_0x59a5ef,_0xbd1d6);},'SJGHk':_0x1b27d8(0x16d)};if(!_0x5ab35a['IZVCt'](isBrowserstackInfra))return;let _0x494c9a=![];try{await __drivers[0x0][_0x1b27d8(0x115)],_0x494c9a=!![],_0x5ab35a[_0x1b27d8(0x118)](__error_messages__[_0x1b27d8(0x13d)],0x0)?await _0x5ab35a['rcSFw'](markSessionStatus,__drivers[0x0],_0x5ab35a['qgWWD'],__error_messages__[_0x1b27d8(0x140)](_0x5ab35a[_0x1b27d8(0x15d)])):await _0x5ab35a[_0x1b27d8(0x178)](markSessionStatus,__drivers[0x0],_0x5ab35a[_0x1b27d8(0x155)]);}catch(_0x1accb4){console[_0x1b27d8(0x102)](_0x1accb4);}__error_messages__=[];if(_0x494c9a)try{await __drivers[0x0][_0x1b27d8(0x180)]();}catch(_0x28e5b2){console['log'](_0x28e5b2);}}beforeAll(async()=>{const _0xc0dc3f=a19_0x419476,_0x3f01b7={'zocvw':function(_0x2de400,_0x5ea1bb){return _0x2de400!==_0x5ea1bb;},'WSnnX':_0xc0dc3f(0x125),'KZHXK':function(_0xcd7b1){return _0xcd7b1();},'JFgld':function(_0x366b98,_0xc12ae3,_0x301ccd){return _0x366b98(_0xc12ae3,_0x301ccd);}};PerformanceTester[_0xc0dc3f(0x157)]();const _0x1d381e='browserstack internal helper hook';_0x3f01b7['zocvw'](typeof jasmine,_0x3f01b7[_0xc0dc3f(0x10e)])&&jasmine['getEnv']()[_0xc0dc3f(0x16b)]({'specStarted':_0x457ebc=>{const _0x59d5a2=_0xc0dc3f;jasmine[_0x59d5a2(0x14e)]=_0x457ebc;}});let _0x465cc0=![];try{await __drivers[0x0][_0xc0dc3f(0x115)],_0x465cc0=!![];}catch(_0x1f4981){}if(_0x465cc0)try{try{_0x3f01b7['KZHXK'](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0x3f01b7[_0xc0dc3f(0x163)](sendPlatformDetails,global[_0xc0dc3f(0x15c)][0x0],TestDetails[_0xc0dc3f(0x141)](process[_0xc0dc3f(0x10d)]+_0xc0dc3f(0x13b))));}catch{}}catch(_0x5680a6){}}),beforeEach(async()=>{const _0x175a9b=a19_0x419476,_0xfe92bb={'UyYEW':function(_0xbec4f8,_0x555949){return _0xbec4f8>_0x555949;},'PYIqL':function(_0xab9b1d){return _0xab9b1d();},'GgSwH':function(_0xddb336,_0x17dfeb){return _0xddb336>_0x17dfeb;},'OBdLT':function(_0x3a58d7){return _0x3a58d7();},'DbJGu':function(_0x145bfa,_0x2fd944,_0x2214db){return _0x145bfa(_0x2fd944,_0x2214db);},'PZvan':_0x175a9b(0x169),'ThswQ':function(_0x39cfc3){return _0x39cfc3();},'GlnWF':_0x175a9b(0x14c),'uSwuS':function(_0x4cdb95,_0x1c933a){return _0x4cdb95===_0x1c933a;},'dFGKC':_0x175a9b(0x161),'ObdRA':function(_0x12c205,_0x158e06){return _0x12c205===_0x158e06;},'ULWbR':'https:','Qfgdv':_0x175a9b(0x11d),'DfTpe':function(_0x1d22c6,_0x29059d){return _0x1d22c6>_0x29059d;},'hbgAv':function(_0x2f598b){return _0x2f598b();}},_0x12f596='browserstack internal helper hook';try{_0xfe92bb['UyYEW'](__drivers[_0x175a9b(0x13d)],0x1)&&(await _0xfe92bb[_0x175a9b(0x151)](driverCleanup),__drivers[_0x175a9b(0xfd)]());const _0x2c8dd7=expect[_0x175a9b(0x114)]()[_0x175a9b(0x139)];try{Array[_0x175a9b(0x142)](__drivers)&&__drivers[0x0]&&(__drivers[0x0][_0x175a9b(0x112)]=_0x2c8dd7),global['browserstackSessionName']=_0x2c8dd7;}catch(_0x46bb1a){logger[_0x175a9b(0x103)](_0x175a9b(0x16a)+_0x46bb1a);}__drivers[0x0][_0x175a9b(0x112)]=_0x2c8dd7;_0xfe92bb[_0x175a9b(0x110)](__drivers[0x0][_0x175a9b(0x13e)],0x0)&&await _0xfe92bb[_0x175a9b(0x154)](driverCleanup);const _0x28fe68=_0xfe92bb[_0x175a9b(0x14b)](shouldScanTestForAccessibility,_0x2c8dd7,![]);__drivers[0x0][_0x175a9b(0x169)]=_0x28fe68,globals['setGlobal'](_0xfe92bb[_0x175a9b(0x116)],_0x28fe68);if(_0xfe92bb[_0x175a9b(0x160)](isAccessibilityAutomationSession)&&globals[_0x175a9b(0x152)](_0xfe92bb[_0x175a9b(0x100)]))try{const _0x413d96=await __drivers[0x0]['session_'];if(_0x413d96){let _0x1fa0ed=!![];const _0x349350=await __drivers[0x0][_0x175a9b(0x144)]();let _0x4ae09b;try{_0x4ae09b=new URL(_0x349350);}catch(_0x4315e0){_0x1fa0ed=![];}_0x1fa0ed=_0xfe92bb['uSwuS'](_0x4ae09b['protocol'],_0xfe92bb[_0x175a9b(0x171)])||_0xfe92bb[_0x175a9b(0x17a)](_0x4ae09b[_0x175a9b(0x146)],_0xfe92bb[_0x175a9b(0x12e)]),_0x1fa0ed&&(_0x28fe68&&logger[_0x175a9b(0x129)](_0xfe92bb[_0x175a9b(0x15e)]));}}catch(_0x3e3168){logger[_0x175a9b(0x106)](_0x175a9b(0x104)+_0x3e3168);}_0xfe92bb['DfTpe'](__drivers[0x0][_0x175a9b(0x13e)],0x0)&&await _0xfe92bb[_0x175a9b(0x162)](driverCleanup);}catch{}}),afterEach(async()=>{const _0x5f04c3=a19_0x419476,_0x5eabd0={'dZvEI':function(_0x59fc62,_0x136056){return _0x59fc62>_0x136056;},'oiCeV':function(_0x5c7583){return _0x5c7583();},'XWosM':function(_0x36f723,_0x4a7d7a){return _0x36f723===_0x4a7d7a;},'iXodR':_0x5f04c3(0x12d),'jhEtW':_0x5f04c3(0x11e),'gQrPB':function(_0x2ae549,_0x1c8ef7,_0x51d3de,_0x5851ee){return _0x2ae549(_0x1c8ef7,_0x51d3de,_0x5851ee);},'veVhn':function(_0x2d0429,_0x51ae20,_0x22b054){return _0x2d0429(_0x51ae20,_0x22b054);},'RlTpR':function(_0x5ca12d){return _0x5ca12d();},'FyXRp':_0x5f04c3(0x14c),'jCgiw':_0x5f04c3(0x169),'yHqDs':_0x5f04c3(0x137),'ruPxl':_0x5f04c3(0x176),'iDLlk':_0x5f04c3(0x148),'Hnkpi':function(_0x5466b6){return _0x5466b6();},'CrJGh':_0x5f04c3(0x103),'eAmjy':function(_0x8e382d){return _0x8e382d();}},_0x4a6246='browserstack internal helper hook';try{_0x5eabd0['dZvEI'](__drivers[_0x5f04c3(0x13d)],0x1)&&(await _0x5eabd0['oiCeV'](driverCleanup),__drivers[_0x5f04c3(0xfd)]());try{if(global[_0x5f04c3(0x159)]&&_0x5eabd0[_0x5f04c3(0x17d)](global['percyCaptureMode'],_0x5eabd0['iXodR'])&&__drivers[0x0]){const _0x5c39d6=_0x5eabd0[_0x5f04c3(0xfe)](global[_0x5f04c3(0x14f)]['length'],0x0)?!!global[_0x5f04c3(0x14f)][0x0][_0x5f04c3(0xfb)]||!!global['capabilities'][0x0][_0x5eabd0[_0x5f04c3(0x17b)]]:![],_0x4cdcd0={};_0x4cdcd0[_0x5f04c3(0xfb)]=_0x5c39d6,await _0x5eabd0['gQrPB'](percyAutoCapture,__drivers[0x0],_0x5eabd0[_0x5f04c3(0x133)],_0x4cdcd0);}}catch(_0x189266){}const _0x306865=_0x5eabd0['veVhn'](shouldScanTestForAccessibility,expect['getState']()['currentTestName'],![]);try{if(_0x5eabd0['RlTpR'](isAccessibilityAutomationSession)&&globals['getGlobal'](_0x5eabd0[_0x5f04c3(0xff)])&&globals[_0x5f04c3(0x152)](_0x5eabd0[_0x5f04c3(0x167)])){logger[_0x5f04c3(0x129)](_0x5eabd0[_0x5f04c3(0x13f)]);const _0x5de368={'thTestRunUuid':TestDetails[_0x5f04c3(0x141)](process[_0x5f04c3(0x10d)]+_0x5f04c3(0x13b)),'thBuildUuid':process[_0x5f04c3(0x12b)][testHubConstants['ENV_VAR'][_0x5f04c3(0x11a)]],'thJwtToken':process[_0x5f04c3(0x12b)][testHubConstants[_0x5f04c3(0x174)][_0x5f04c3(0x120)]]};logger[_0x5f04c3(0x103)](_0x5f04c3(0x130)+JSON[_0x5f04c3(0x12f)](_0x5de368)),logger[_0x5f04c3(0x103)](_0x5eabd0[_0x5f04c3(0x111)]),logger[_0x5f04c3(0x103)](util['format'](await __drivers[0x0]['executeAsyncScript'](scripts[_0x5f04c3(0x15a)],{'method':expect[_0x5f04c3(0x114)]()[_0x5f04c3(0x139)]}))),await __drivers[0x0][_0x5f04c3(0x13c)](scripts['saveTestResults'],_0x5de368),logger[_0x5f04c3(0x129)](_0x5eabd0[_0x5f04c3(0x101)]);}}catch(_0x347422){logger[_0x5f04c3(0x106)](_0x5f04c3(0x17c)+expect[_0x5f04c3(0x114)]()[_0x5f04c3(0x139)]+'.\x20Error\x20:',_0x347422);}await _0x5eabd0[_0x5f04c3(0xfa)](setContext);try{if(_0x5eabd0[_0x5f04c3(0x127)](shouldProcessEventForTesthub)){global[_0x5f04c3(0x15c)][0x0]&&await _0x5eabd0['veVhn'](sendPlatformDetails,global['__drivers'][0x0],TestDetails[_0x5f04c3(0x141)](process[_0x5f04c3(0x10d)]+_0x5f04c3(0x13b)));if(_0x5eabd0[_0x5f04c3(0xfa)](isBrowserstackInfra)){const _0x1b6862=_0x5f04c3(0x138)+Date[_0x5f04c3(0x177)]();await _0x5eabd0[_0x5f04c3(0x143)](executeAnnotate,JSON[_0x5f04c3(0x12f)](_0x1b6862),_0x5eabd0[_0x5f04c3(0x11b)]);}}}catch(_0x47f13a){}_0x5eabd0[_0x5f04c3(0xfe)](__drivers[0x0]['quitCount_'],0x0)&&await _0x5eabd0[_0x5f04c3(0x14a)](driverCleanup);}catch{}},0x186a0),afterAll(async()=>{const _0x1d8ed5=a19_0x419476,_0x569c19={'sTpZG':function(_0x10f63d,_0x2e3674){return _0x10f63d<=_0x2e3674;},'DBpNS':function(_0x67e0ee,_0x4e7105){return _0x67e0ee(_0x4e7105);},'uIDbX':function(_0x21488c){return _0x21488c();},'XxNCC':function(_0x1d44ae,_0x3e00ab,_0x1f5611){return _0x1d44ae(_0x3e00ab,_0x1f5611);},'URgkf':function(_0x5247fa){return _0x5247fa();}};jest[_0x1d8ed5(0x17f)](0x186a0),PerformanceTester[_0x1d8ed5(0xfc)]();const _0x2ea023='browserstack internal helper hook';await new Promise(_0x6cd481=>{const _0x4c62c0=_0x1d8ed5,_0x72c270=_0x569c19[_0x4c62c0(0x105)](setInterval,async()=>{const _0x4a197b=_0x4c62c0;_0x569c19[_0x4a197b(0x12a)](RequestQueueHandler[_0x4a197b(0x10a)]()['pendingUploads'],0x0)&&(_0x569c19[_0x4a197b(0x17e)](clearInterval,_0x72c270),_0x569c19[_0x4a197b(0x11c)](_0x6cd481));},0x3e8);});try{await _0x569c19[_0x1d8ed5(0x126)](driverCleanup);}catch(_0x5c25a5){}process['removeAllListeners']();},0x2710);
@@ -1 +1 @@
1
- const a20_0x22240d=a20_0x25b5;(function(_0x32d308,_0x2e65e1){const _0x4a4e76=a20_0x25b5,_0x4da92e=_0x32d308();while(!![]){try{const _0x54d082=-parseInt(_0x4a4e76(0x151))/0x1*(-parseInt(_0x4a4e76(0x15c))/0x2)+-parseInt(_0x4a4e76(0x155))/0x3*(-parseInt(_0x4a4e76(0x157))/0x4)+parseInt(_0x4a4e76(0x156))/0x5*(-parseInt(_0x4a4e76(0x159))/0x6)+parseInt(_0x4a4e76(0x15a))/0x7+parseInt(_0x4a4e76(0x152))/0x8*(parseInt(_0x4a4e76(0x15f))/0x9)+-parseInt(_0x4a4e76(0x154))/0xa*(parseInt(_0x4a4e76(0x15e))/0xb)+parseInt(_0x4a4e76(0x153))/0xc;if(_0x54d082===_0x2e65e1)break;else _0x4da92e['push'](_0x4da92e['shift']());}catch(_0x1520ce){_0x4da92e['push'](_0x4da92e['shift']());}}}(a20_0x5e6e,0x87e3b));function a20_0x5e6e(){const _0x46e2dd=['../../../helpers/request-spy','11Dzvnmq','18cgLKwD','restore','110371sNRVZh','501744gMcUgP','895872ubLLiX','6998910ulVuUa','6UjqvQG','4214335RcNDhk','1741108PDzTut','YjJml','6hmvshz','4883214FotAsU','../../../helpers/test-observability/utils','6xKocqp'];a20_0x5e6e=function(){return _0x46e2dd;};return a20_0x5e6e();}function a20_0x25b5(_0x32c25e,_0x497d9b){const _0x5e6efd=a20_0x5e6e();return a20_0x25b5=function(_0x25b5bd,_0x4cd320){_0x25b5bd=_0x25b5bd-0x151;let _0x12a722=_0x5e6efd[_0x25b5bd];return _0x12a722;},a20_0x25b5(_0x32c25e,_0x497d9b);}const requestSpy=require(a20_0x22240d(0x15d)),{addRequestSpy}=require(a20_0x22240d(0x15b));beforeAll(()=>{const _0x522f50=a20_0x22240d,_0x5b9c64={'YjJml':function(_0x5ded6b){return _0x5ded6b();}},_0x39e3fd='browserstack internal helper hook';_0x5b9c64[_0x522f50(0x158)](addRequestSpy);}),afterAll(async()=>{const _0x26bbcb=a20_0x22240d,_0x33063b='browserstack internal helper hook';jest['setTimeout'](0xea60),requestSpy[_0x26bbcb(0x160)]();});
1
+ function a20_0x4c67(){const _0x3541c4=['BhSSd','27deKkxE','1642816tFOpAE','5BUeiqN','../../../helpers/request-spy','1148807IjAtlb','1153377QqeklK','86792JPIQHv','1875986lZukko','8yUNCDG','../../../helpers/test-observability/utils','40HUjmYO','68278TrchNE','setTimeout','1756602HLlIxC'];a20_0x4c67=function(){return _0x3541c4;};return a20_0x4c67();}const a20_0x20b94f=a20_0x38df;(function(_0x2877ad,_0x27be3d){const _0x4c94cb=a20_0x38df,_0x399a5c=_0x2877ad();while(!![]){try{const _0x3db391=parseInt(_0x4c94cb(0x19a))/0x1*(-parseInt(_0x4c94cb(0x197))/0x2)+-parseInt(_0x4c94cb(0x18f))/0x3*(parseInt(_0x4c94cb(0x195))/0x4)+-parseInt(_0x4c94cb(0x191))/0x5*(-parseInt(_0x4c94cb(0x18d))/0x6)+parseInt(_0x4c94cb(0x196))/0x7+-parseInt(_0x4c94cb(0x190))/0x8+-parseInt(_0x4c94cb(0x194))/0x9+-parseInt(_0x4c94cb(0x199))/0xa*(-parseInt(_0x4c94cb(0x193))/0xb);if(_0x3db391===_0x27be3d)break;else _0x399a5c['push'](_0x399a5c['shift']());}catch(_0x519b84){_0x399a5c['push'](_0x399a5c['shift']());}}}(a20_0x4c67,0x2b1e6));function a20_0x38df(_0x3ec683,_0x4de0a9){const _0x4c67f0=a20_0x4c67();return a20_0x38df=function(_0x38df23,_0xe43742){_0x38df23=_0x38df23-0x18d;let _0x48bbea=_0x4c67f0[_0x38df23];return _0x48bbea;},a20_0x38df(_0x3ec683,_0x4de0a9);}const requestSpy=require(a20_0x20b94f(0x192)),{addRequestSpy}=require(a20_0x20b94f(0x198));beforeAll(()=>{const _0x4f3be8=a20_0x20b94f,_0x369ed6={'BhSSd':function(_0x132ed2){return _0x132ed2();}},_0x4086df='browserstack internal helper hook';_0x369ed6[_0x4f3be8(0x18e)](addRequestSpy);}),afterAll(async()=>{const _0x3018af=a20_0x20b94f,_0x2dc8d8='browserstack internal helper hook';jest[_0x3018af(0x19b)](0xea60),requestSpy['restore']();});
@@ -1 +1 @@
1
- const a21_0x436bf5=a21_0x8a9d;function a21_0x173f(){const _0x546de3=['22dgOLqI','rerunTests','testMatch','30226NEyduY','../../../helpers/test-observability/utils','YKaiF','EgGNz','123000pmyETy','isUndefined','12IYYras','../../../helpers/helper','updateTestRerunConfig','map','7pDUxot','281836cZZAtg','1965ERJYry','3ABTxjx','ZRPBM','has','trim','push','1916456rUpQOD','length','1342458KZfpea','BROWSERSTACK_RERUN_TESTS','MDQNu','3111468sRoIUY','342ovyNGK','testRegex','cliConfig','YfgZL'];a21_0x173f=function(){return _0x546de3;};return a21_0x173f();}(function(_0x32af4f,_0x4fb41e){const _0x37cabd=a21_0x8a9d,_0x32db51=_0x32af4f();while(!![]){try{const _0x27576f=parseInt(_0x37cabd(0x189))/0x1*(-parseInt(_0x37cabd(0x1a2))/0x2)+parseInt(_0x37cabd(0x190))/0x3*(-parseInt(_0x37cabd(0x18e))/0x4)+-parseInt(_0x37cabd(0x18f))/0x5*(parseInt(_0x37cabd(0x19b))/0x6)+-parseInt(_0x37cabd(0x18d))/0x7*(parseInt(_0x37cabd(0x195))/0x8)+parseInt(_0x37cabd(0x197))/0x9+-parseInt(_0x37cabd(0x187))/0xa+parseInt(_0x37cabd(0x19f))/0xb*(parseInt(_0x37cabd(0x19a))/0xc);if(_0x27576f===_0x4fb41e)break;else _0x32db51['push'](_0x32db51['shift']());}catch(_0x269e65){_0x32db51['push'](_0x32db51['shift']());}}}(a21_0x173f,0x22963));function a21_0x8a9d(_0x16e0a0,_0x1c3a69){const _0x173f3d=a21_0x173f();return a21_0x8a9d=function(_0x8a9dd4,_0x34be2c){_0x8a9dd4=_0x8a9dd4-0x184;let _0x41d1b0=_0x173f3d[_0x8a9dd4];return _0x41d1b0;},a21_0x8a9d(_0x16e0a0,_0x1c3a69);}const testOpsHelper=require(a21_0x436bf5(0x184)),helper=require(a21_0x436bf5(0x18a));exports[a21_0x436bf5(0x18b)]=(_0x53da34,_0x13ee6d)=>{const _0x374f91=a21_0x436bf5,_0x3b7e48={};_0x3b7e48[_0x374f91(0x185)]=_0x374f91(0x1a0),_0x3b7e48[_0x374f91(0x191)]=function(_0x2f3ac0,_0x4065b0){return _0x2f3ac0!==_0x4065b0;},_0x3b7e48[_0x374f91(0x19e)]='null',_0x3b7e48[_0x374f91(0x186)]=function(_0x44b8f8,_0x981cd9){return _0x44b8f8!==_0x981cd9;},_0x3b7e48[_0x374f91(0x199)]=function(_0x257ff3,_0x45778d){return _0x257ff3>_0x45778d;};const _0x1891b3=_0x3b7e48;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x36d6ce=process['env'][_0x374f91(0x198)];!helper[_0x374f91(0x188)](_0x13ee6d['cliConfig'])&&_0x13ee6d[_0x374f91(0x19d)][_0x374f91(0x192)](_0x1891b3[_0x374f91(0x185)])&&(_0x36d6ce=_0x13ee6d['cliConfig']['get'](_0x1891b3[_0x374f91(0x185)]));const _0x34473e=[];_0x1891b3[_0x374f91(0x191)](_0x36d6ce,_0x1891b3[_0x374f91(0x19e)])&&_0x1891b3[_0x374f91(0x186)](_0x36d6ce,null)&&_0x36d6ce['split'](',')[_0x374f91(0x18c)](_0x3fcd19=>{const _0x4c13ca=_0x374f91;_0x34473e[_0x4c13ca(0x194)](''+_0x3fcd19[_0x4c13ca(0x193)]());}),_0x1891b3['MDQNu'](_0x34473e[_0x374f91(0x196)],0x0)&&(_0x53da34[_0x374f91(0x19c)]=_0x34473e,delete _0x53da34[_0x374f91(0x1a1)]);}};
1
+ function a21_0x5415(){const _0x25dfef=['has','testRegex','../../../helpers/test-observability/utils','22GlxeDW','4894uIvicf','trim','346145lZhnrn','1258222plzjRn','push','updateTestRerunConfig','63TiuWgW','length','aqSNt','33fZBUxt','cliConfig','HBdhr','map','qJVDq','WnOUH','125264iiOUUy','154721zHcIYA','isTestObservabilitySession','2290430kzQACX','18xmxwNg','789380pIPcWr','LjwkK','rerunTests','BROWSERSTACK_RERUN_TESTS'];a21_0x5415=function(){return _0x25dfef;};return a21_0x5415();}const a21_0x52f383=a21_0x16a8;(function(_0x1c0a65,_0x37c643){const _0x50ca9e=a21_0x16a8,_0x3a6fc3=_0x1c0a65();while(!![]){try{const _0x33c180=parseInt(_0x50ca9e(0x96))/0x1+parseInt(_0x50ca9e(0x86))/0x2*(-parseInt(_0x50ca9e(0x8f))/0x3)+-parseInt(_0x50ca9e(0x7e))/0x4+-parseInt(_0x50ca9e(0x88))/0x5*(parseInt(_0x50ca9e(0x7d))/0x6)+-parseInt(_0x50ca9e(0x89))/0x7+parseInt(_0x50ca9e(0x95))/0x8*(parseInt(_0x50ca9e(0x8c))/0x9)+-parseInt(_0x50ca9e(0x98))/0xa*(-parseInt(_0x50ca9e(0x85))/0xb);if(_0x33c180===_0x37c643)break;else _0x3a6fc3['push'](_0x3a6fc3['shift']());}catch(_0x29a329){_0x3a6fc3['push'](_0x3a6fc3['shift']());}}}(a21_0x5415,0x1b07e));const testOpsHelper=require(a21_0x52f383(0x84)),helper=require('../../../helpers/helper');function a21_0x16a8(_0x428b6c,_0xb94778){const _0x54153f=a21_0x5415();return a21_0x16a8=function(_0x16a8da,_0x592c17){_0x16a8da=_0x16a8da-0x7d;let _0xfd53d1=_0x54153f[_0x16a8da];return _0xfd53d1;},a21_0x16a8(_0x428b6c,_0xb94778);}exports[a21_0x52f383(0x8b)]=(_0x17fa26,_0x43ce0d)=>{const _0x450a7c=a21_0x52f383,_0x496f25={};_0x496f25[_0x450a7c(0x93)]=_0x450a7c(0x80),_0x496f25[_0x450a7c(0x91)]=function(_0x1bcd82,_0x37a319){return _0x1bcd82!==_0x37a319;},_0x496f25[_0x450a7c(0x8e)]='null',_0x496f25[_0x450a7c(0x94)]=function(_0x4c63f6,_0x777f09){return _0x4c63f6!==_0x777f09;},_0x496f25[_0x450a7c(0x7f)]=function(_0x8b14d5,_0x176086){return _0x8b14d5>_0x176086;};const _0x44078a=_0x496f25;if(testOpsHelper[_0x450a7c(0x97)]()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x24bd1d=process['env'][_0x450a7c(0x81)];!helper['isUndefined'](_0x43ce0d[_0x450a7c(0x90)])&&_0x43ce0d[_0x450a7c(0x90)][_0x450a7c(0x82)](_0x44078a[_0x450a7c(0x93)])&&(_0x24bd1d=_0x43ce0d[_0x450a7c(0x90)]['get'](_0x44078a[_0x450a7c(0x93)]));const _0x4a2fec=[];_0x44078a[_0x450a7c(0x91)](_0x24bd1d,_0x44078a[_0x450a7c(0x8e)])&&_0x44078a[_0x450a7c(0x94)](_0x24bd1d,null)&&_0x24bd1d['split'](',')[_0x450a7c(0x92)](_0x4fa599=>{const _0x11d6eb=_0x450a7c;_0x4a2fec[_0x11d6eb(0x8a)](''+_0x4fa599[_0x11d6eb(0x87)]());}),_0x44078a['LjwkK'](_0x4a2fec[_0x450a7c(0x8d)],0x0)&&(_0x17fa26[_0x450a7c(0x83)]=_0x4a2fec,delete _0x17fa26['testMatch']);}};
@@ -1 +1 @@
1
- const a22_0xac20d8=a22_0x562c;(function(_0x3b462d,_0x56ed52){const _0x1f26c6=a22_0x562c,_0x57a879=_0x3b462d();while(!![]){try{const _0x46bc40=-parseInt(_0x1f26c6(0x1d7))/0x1+parseInt(_0x1f26c6(0x1be))/0x2*(parseInt(_0x1f26c6(0x1bf))/0x3)+-parseInt(_0x1f26c6(0x17b))/0x4*(parseInt(_0x1f26c6(0x19e))/0x5)+-parseInt(_0x1f26c6(0x1e1))/0x6*(-parseInt(_0x1f26c6(0x168))/0x7)+parseInt(_0x1f26c6(0x1dc))/0x8+parseInt(_0x1f26c6(0x192))/0x9+-parseInt(_0x1f26c6(0x1bd))/0xa;if(_0x46bc40===_0x56ed52)break;else _0x57a879['push'](_0x57a879['shift']());}catch(_0x269185){_0x57a879['push'](_0x57a879['shift']());}}}(a22_0x1980,0x331b6));const {isTestObservabilitySession,PathHelper,debug,failureData,getFailureType,isInternalHook}=require('../../../helpers/test-observability/utils'),SessionHandler=require(a22_0xac20d8(0x1fa)),{v4:uuidv4}=require('uuid'),{name,version}=require(a22_0xac20d8(0x164)),stackTrace=require(a22_0xac20d8(0x1c1)),path=require(a22_0xac20d8(0x1ca)),fs=require('fs'),TestDetails=require(a22_0xac20d8(0x1b1)),{FRAMEWORKS}=require(a22_0xac20d8(0x216)),{o11yClassErrorHandler}=require(a22_0xac20d8(0x21a)),{getGitMetaData}=require(a22_0xac20d8(0x223)),{appendTesthubParams,setCurrentTestData}=require(a22_0xac20d8(0x1f5)),a22_0x294fc1={};function a22_0x562c(_0x4a86fe,_0x42a546){const _0x1980ad=a22_0x1980();return a22_0x562c=function(_0x562c60,_0x2a6a3e){_0x562c60=_0x562c60-0x161;let _0x525b7d=_0x1980ad[_0x562c60];return _0x525b7d;},a22_0x562c(_0x4a86fe,_0x42a546);}a22_0x294fc1['STATE_PASSED']='passed',a22_0x294fc1[a22_0xac20d8(0x191)]=a22_0xac20d8(0x1fe),a22_0x294fc1[a22_0xac20d8(0x1b0)]='pending';const {STATE_PASSED,STATE_PENDING,STATE_FAILED}=a22_0x294fc1,a22_0x1fd667={};a22_0x1fd667[a22_0xac20d8(0x1e8)]=a22_0xac20d8(0x16b),a22_0x1fd667['afterAll']=a22_0xac20d8(0x1f1),a22_0x1fd667[a22_0xac20d8(0x1e7)]='BEFORE_EACH',a22_0x1fd667[a22_0xac20d8(0x169)]='AFTER_EACH';const HOOK_TYPES_MAP=a22_0x1fd667;module[a22_0xac20d8(0x202)]=o11yClassErrorHandler(class ObservabilityReporter{constructor(){const _0x2672ff=a22_0xac20d8,_0x21d4d7={'mrBGR':_0x2672ff(0x19a),'maEuU':function(_0x49d16e){return _0x49d16e();}},_0x4b103b=_0x21d4d7[_0x2672ff(0x204)][_0x2672ff(0x1f4)]('|');let _0x1162d6=0x0;while(!![]){switch(_0x4b103b[_0x1162d6++]){case'0':this[_0x2672ff(0x1ef)]=this[_0x2672ff(0x179)]();continue;case'1':this[_0x2672ff(0x1ad)]=new PathHelper({'cwd':process[_0x2672ff(0x1bc)]()},this[_0x2672ff(0x1ef)][_0x2672ff(0x1cd)]);continue;case'2':this[_0x2672ff(0x1aa)]=[];continue;case'3':this[_0x2672ff(0x219)]=[];continue;case'4':this[_0x2672ff(0x17d)]=null;continue;case'5':this[_0x2672ff(0x172)]=_0x21d4d7['maEuU'](isTestObservabilitySession);continue;case'6':this['_gitConfigured']=![];continue;}break;}}['getTestEnv']=()=>{const _0x37b809=a22_0xac20d8,_0x5cee7d={'qHcRd':_0x37b809(0x1ed),'KmTaG':function(_0x705d10){return _0x705d10();}};return{'ci':_0x5cee7d[_0x37b809(0x184)],'key':_0x5cee7d['KmTaG'](uuidv4),'version':version,'collector':'js-'+name};};[a22_0xac20d8(0x1fc)](){const _0x549590=a22_0xac20d8;process[_0x549590(0x206)](_0x549590(0x1da)+process[_0x549590(0x1f9)]),process['on'](_0x549590(0x1da)+process[_0x549590(0x1f9)],this['appendTestItemLog'][_0x549590(0x18f)](this)),process[_0x549590(0x206)](_0x549590(0x196)+process['pid']),process['on'](_0x549590(0x196)+process['pid'],this[_0x549590(0x21e)]['bind'](this));}['testStarted']=async _0x11698a=>{const _0x27afa8=a22_0xac20d8,_0x498171={'ZCedQ':function(_0x521f6a,_0x4a2a50){return _0x521f6a>_0x4a2a50;},'UwXiP':function(_0x565971,_0x37bf46){return _0x565971===_0x37bf46;},'cFmsC':'TestRunStarted','HuAnJ':function(_0x4b0b28,_0x7349ce){return _0x4b0b28(_0x7349ce);}};try{const _0x61a815=this[_0x27afa8(0x1f8)];this[_0x27afa8(0x1f8)]=_0x11698a,_0x11698a[_0x27afa8(0x16c)]=null,_0x11698a[_0x27afa8(0x1c5)]=TestDetails[_0x27afa8(0x1f7)](process[_0x27afa8(0x1f9)]+_0x27afa8(0x18a)),_0x11698a[_0x27afa8(0x1e6)]=new Date()[_0x27afa8(0x1d2)](),_0x498171[_0x27afa8(0x1a2)](_0x11698a[_0x27afa8(0x1a0)],0x0)&&_0x61a815&&_0x498171[_0x27afa8(0x205)](_0x61a815['title'],_0x11698a[_0x27afa8(0x1d1)])?(_0x11698a[_0x27afa8(0x16c)]=_0x61a815[_0x27afa8(0x1c5)],await this[_0x27afa8(0x185)](_0x11698a,undefined,![],_0x498171[_0x27afa8(0x19d)]),_0x61a815[_0x27afa8(0x176)]=STATE_FAILED,await this[_0x27afa8(0x185)](_0x61a815,undefined,!![])):await this['sendTestRunEvent'](_0x11698a,undefined,![],_0x498171[_0x27afa8(0x19d)]);}catch(_0x462691){_0x498171['HuAnJ'](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20'+_0x462691);}};[a22_0xac20d8(0x1b9)](_0x5319dc){const _0x12d387=a22_0xac20d8,_0x30e42f={};_0x30e42f[_0x12d387(0x177)]=function(_0x5ef437,_0x378521){return _0x5ef437!==_0x378521;},_0x30e42f[_0x12d387(0x1ab)]=_0x12d387(0x16e);const _0x4c12c1=_0x30e42f;if(_0x4c12c1['GNGvI'](_0x5319dc[_0x12d387(0x1d6)],_0x4c12c1[_0x12d387(0x1ab)]))return'\x22'+_0x5319dc[_0x12d387(0x1d6)]+_0x12d387(0x1e4)+(_0x5319dc[_0x12d387(0x1de)]&&_0x5319dc[_0x12d387(0x1de)][_0x12d387(0x1ae)])+'\x22';return _0x5319dc['name'];}[a22_0xac20d8(0x185)]=async(_0x5cd9ec,_0xa700d8=undefined,_0x5f4248=![],_0x4a64ab=a22_0xac20d8(0x167))=>{const _0x47d82b=a22_0xac20d8,_0x26518e={'DCLhY':_0x47d82b(0x186),'zDQZp':'hook_run','VUELS':_0x47d82b(0x1ea),'bMyKE':_0x47d82b(0x1cf),'qbHWw':'failure_type','NVUHp':_0x47d82b(0x1c6),'qVAFe':_0x47d82b(0x212),'aDdTV':function(_0x291417,_0x32458){return _0x291417(_0x32458);},'fIUaE':_0x47d82b(0x20c),'MsFuf':function(_0x2200ed,_0x3a9b7c){return _0x2200ed(_0x3a9b7c);},'yDCTe':_0x47d82b(0x193),'GVtKX':function(_0x3606b4,_0x49cb3d){return _0x3606b4!==_0x49cb3d;},'NlZFd':_0x47d82b(0x16e),'fmZMq':function(_0x5073bf,_0x472db8){return _0x5073bf!==_0x472db8;},'bWvgX':_0x47d82b(0x188),'Jwcpf':function(_0x2236ed,_0xc27f65){return _0x2236ed!==_0xc27f65;},'tNFMU':_0x47d82b(0x225),'ardkR':_0x47d82b(0x1f3),'NjYCX':function(_0x580013,_0x2e8adc){return _0x580013===_0x2e8adc;},'skHuy':'TestRunSkipped','Sabyu':_0x47d82b(0x222),'AYFgN':function(_0x20734a,_0x4b2786){return _0x20734a>_0x4b2786;},'fnTXN':_0x47d82b(0x1fe),'UYjUR':'passed','AoPLL':function(_0x57810e,_0x29699a){return _0x57810e-_0x29699a;},'mAaDp':function(_0x4ccde0,_0x435e3d,_0x2fe148,_0xb1d950,_0x3b7f26){return _0x4ccde0(_0x435e3d,_0x2fe148,_0xb1d950,_0x3b7f26);},'nTsdg':function(_0x524d28,_0x22bf88){return _0x524d28===_0x22bf88;},'siOwI':'started_at','STpsF':_0x47d82b(0x20e),'LnRhC':function(_0x47a62f,_0x3c7474){return _0x47a62f===_0x3c7474;},'fXHDe':'HookRunFinished','bxaMM':'failure_backtrace','UFiKI':'backtrace','OtDoa':_0x47d82b(0x201),'TUSGo':_0x47d82b(0x1c8),'digFw':_0x47d82b(0x167),'mKlmL':function(_0x2a8dc9,_0x5e2d0f){return _0x2a8dc9===_0x5e2d0f;},'FvKRT':_0x47d82b(0x1b8),'VFEEc':_0x47d82b(0x1e8),'QsRAE':function(_0x133a8a,_0x478b5a,_0x4b5e86){return _0x133a8a(_0x478b5a,_0x4b5e86);},'wjuJL':function(_0x138bbb,_0x9202e4){return _0x138bbb(_0x9202e4);}};try{if(_0x5cd9ec['fn']&&_0x5cd9ec['fn'][_0x47d82b(0x1a3)]()[_0x47d82b(0x170)](/browserstack internal helper hook/))return;await this[_0x47d82b(0x17a)]();let _0x3867f5;try{_0x3867f5=this[_0x47d82b(0x21d)](_0x5cd9ec);}catch(_0x1889ca){_0x26518e['aDdTV'](debug,_0x47d82b(0x1db)+_0x1889ca),_0x3867f5=null;}if(_0x3867f5[_0x47d82b(0x1a9)](_0x26518e[_0x47d82b(0x18d)]))return;const _0x494420=_0x26518e[_0x47d82b(0x175)](require,_0x26518e['yDCTe']);let _0x14c6bb=[];if(_0x26518e[_0x47d82b(0x1ee)](_0x5cd9ec[_0x47d82b(0x180)],undefined))_0x14c6bb=[_0x5cd9ec[_0x47d82b(0x180)],_0x26518e[_0x47d82b(0x183)]];else _0x26518e[_0x47d82b(0x1c2)](_0xa700d8,undefined)?_0x14c6bb=[_0xa700d8,_0x26518e['bWvgX']]:_0x14c6bb=[];const _0x22941e=_0x26518e[_0x47d82b(0x1ee)](_0x5cd9ec[_0x47d82b(0x180)],undefined)?_0x494420[_0x47d82b(0x1ba)](_0x5cd9ec[_0x47d82b(0x180)][0x0]):_0x26518e[_0x47d82b(0x1e9)](_0xa700d8,undefined)?_0xa700d8[_0x47d82b(0x1a3)]():undefined,_0x3189cd=_0x3867f5?this[_0x47d82b(0x1ad)][_0x47d82b(0x1b4)](this[_0x47d82b(0x21d)](_0x5cd9ec)):_0x26518e['tNFMU'],_0x52f695={'framework':FRAMEWORKS[_0x47d82b(0x190)],'uuid':_0x5cd9ec[_0x47d82b(0x1c5)]||_0x5cd9ec[_0x47d82b(0x1b2)],'name':this['getName'](_0x5cd9ec),'body':{'lang':_0x26518e[_0x47d82b(0x1e3)],'code':_0x5cd9ec['fn'][_0x47d82b(0x1a3)]()},'scopes':this['getHierarchy'](_0x5cd9ec),'file_name':_0x3189cd,'vc_filepath':this[_0x47d82b(0x17d)]&&_0x3867f5?path[_0x47d82b(0x200)](this[_0x47d82b(0x17d)],_0x3867f5):null,'location':_0x3189cd,'result':_0x26518e[_0x47d82b(0x16a)](_0x4a64ab,_0x26518e[_0x47d82b(0x217)])?_0x26518e[_0x47d82b(0x203)]:this['analyticsResult'](_0x5cd9ec[_0x47d82b(0x180)]&&_0x26518e['AYFgN'](_0x5cd9ec[_0x47d82b(0x180)]['length'],0x0)?_0x26518e[_0x47d82b(0x215)]:_0x26518e[_0x47d82b(0x1b7)]),'failure_reason':_0x22941e,'duration_in_ms':_0x5cd9ec[_0x47d82b(0x1a4)]||(_0x4a64ab[_0x47d82b(0x170)](/Finished/)||_0x4a64ab[_0x47d82b(0x170)](/Skipped/)?_0x26518e[_0x47d82b(0x224)](Date['now'](),new Date(_0x5cd9ec['started_at'])[_0x47d82b(0x171)]()):null),'started_at':_0x5cd9ec['started_at'],'finished_at':_0x4a64ab[_0x47d82b(0x170)](/Finished/)||_0x4a64ab[_0x47d82b(0x170)](/Skipped/)?new Date()['toISOString']():null,'failure':failureData['apply'](null,_0x14c6bb),'failure_type':!_0x22941e?null:_0x26518e[_0x47d82b(0x1dd)](getFailureType,_0x22941e),'retry_of':_0x5cd9ec['retryOf']};_0x26518e[_0x47d82b(0x1c9)](appendTesthubParams,_0x52f695,_0x4a64ab,_0x5cd9ec,FRAMEWORKS['JEST']);_0x26518e['nTsdg'](_0x4a64ab,_0x26518e['skHuy'])&&!_0x52f695[_0x26518e[_0x47d82b(0x1d3)]]&&(_0x52f695[_0x26518e[_0x47d82b(0x1d3)]]=_0x52f695[_0x26518e[_0x47d82b(0x19b)]]);if(_0x4a64ab[_0x47d82b(0x170)](/HookRun/))[_0x52f695['hook_type'],_0x52f695[_0x47d82b(0x1ae)]]=[_0x5cd9ec[_0x47d82b(0x1d6)],this['getName'](_0x5cd9ec)],_0x26518e[_0x47d82b(0x21f)](_0x4a64ab,_0x26518e[_0x47d82b(0x1d4)])&&(_0x26518e['GVtKX'](_0x52f695['result'],_0x26518e[_0x47d82b(0x215)])&&(_0x52f695[_0x47d82b(0x212)]=_0x26518e['UYjUR']));else _0x4a64ab['match'](/TestRun/)&&this[_0x47d82b(0x181)](_0x5cd9ec);const _0x340807=_0x52f695[_0x26518e['NVUHp']][0x0];_0x340807&&(_0x52f695[_0x26518e[_0x47d82b(0x1f6)]]=_0x340807[_0x26518e[_0x47d82b(0x194)]],_0x52f695[_0x26518e['OtDoa']]=_0x340807[_0x26518e[_0x47d82b(0x218)]]);[_0x26518e['digFw'],_0x26518e[_0x47d82b(0x217)]]['includes'](_0x4a64ab)&&(this[_0x47d82b(0x1aa)][_0x47d82b(0x1d0)](_0x52f695),_0x52f695['hooks']=this['getHooksForTest'](_0x5cd9ec),this[_0x47d82b(0x1c7)](_0x5cd9ec));const _0x5a0049={'event_type':_0x26518e[_0x47d82b(0x1ff)](_0x4a64ab,_0x26518e[_0x47d82b(0x217)])?_0x26518e[_0x47d82b(0x1e0)]:_0x4a64ab};_0x4a64ab['match'](/HookRun/)?(_0x52f695[_0x26518e[_0x47d82b(0x1a7)]]=HOOK_TYPES_MAP[_0x52f695[_0x26518e[_0x47d82b(0x1a7)]]],_0x5a0049[_0x26518e['zDQZp']]=_0x52f695):_0x5a0049[_0x26518e[_0x47d82b(0x165)]]=_0x52f695;_0x26518e[_0x47d82b(0x1c4)](this[_0x47d82b(0x219)][_0x47d82b(0x163)],0x0)&&[_0x26518e[_0x47d82b(0x1e0)],_0x26518e[_0x47d82b(0x217)]]['includes'](_0x4a64ab)&&(this[_0x47d82b(0x219)][_0x47d82b(0x16d)](async _0x9ad85d=>{const _0x21940d=_0x47d82b,_0x1eaf48=_0x26518e['DCLhY'][_0x21940d(0x1f4)]('|');let _0x283618=0x0;while(!![]){switch(_0x1eaf48[_0x283618++]){case'0':await SessionHandler['uploadEventData'](_0x9ad85d);continue;case'1':_0x9ad85d[_0x26518e['zDQZp']][_0x26518e[_0x21940d(0x1ce)]]=_0x5a0049[_0x26518e['bMyKE']][_0x26518e[_0x21940d(0x1ce)]];continue;case'2':_0x9ad85d[_0x26518e['zDQZp']][_0x26518e[_0x21940d(0x210)]]=_0x5a0049[_0x26518e[_0x21940d(0x165)]][_0x26518e['qbHWw']];continue;case'3':_0x9ad85d[_0x26518e['zDQZp']][_0x26518e[_0x21940d(0x221)]]=_0x5a0049[_0x26518e[_0x21940d(0x165)]][_0x26518e[_0x21940d(0x221)]];continue;case'4':_0x9ad85d[_0x26518e[_0x21940d(0x199)]][_0x26518e['qVAFe']]=_0x5a0049[_0x26518e[_0x21940d(0x165)]][_0x26518e[_0x21940d(0x20a)]];continue;}break;}}),this[_0x47d82b(0x219)]=[]);if(_0x26518e[_0x47d82b(0x16a)](this[_0x47d82b(0x18e)],_0x5cd9ec[_0x47d82b(0x1d6)])){this[_0x47d82b(0x219)][_0x47d82b(0x1d0)](_0x5a0049);return;}_0x26518e['LnRhC'](this[_0x47d82b(0x18e)],_0x26518e['VFEEc'])&&_0x5a0049[_0x26518e[_0x47d82b(0x165)]]&&(_0x5a0049[_0x26518e[_0x47d82b(0x165)]][_0x26518e[_0x47d82b(0x20a)]]=_0x26518e['Sabyu'],_0x5a0049[_0x26518e['bMyKE']][_0x26518e[_0x47d82b(0x221)]]=null,_0x5a0049[_0x26518e[_0x47d82b(0x165)]][_0x26518e[_0x47d82b(0x210)]]=null),_0x26518e[_0x47d82b(0x20f)](setCurrentTestData,FRAMEWORKS[_0x47d82b(0x190)],_0x5a0049),await SessionHandler[_0x47d82b(0x208)](_0x5a0049);}catch(_0x5e89e9){_0x26518e[_0x47d82b(0x1f0)](debug,_0x47d82b(0x1fd)+_0x4a64ab+_0x47d82b(0x174)+_0x5e89e9);}};[a22_0xac20d8(0x214)](_0x1eb537){const _0x4bccc7=a22_0xac20d8,_0x5c316f={};_0x5c316f[_0x4bccc7(0x1bb)]=function(_0x45d915,_0x44eb47){return _0x45d915==_0x44eb47;},_0x5c316f[_0x4bccc7(0x18c)]=function(_0x4c6954,_0x272cba){return _0x4c6954===_0x272cba;},_0x5c316f[_0x4bccc7(0x21b)]=function(_0x56aa06,_0x467640){return _0x56aa06===_0x467640;},_0x5c316f[_0x4bccc7(0x1c3)]=_0x4bccc7(0x1d8),_0x5c316f[_0x4bccc7(0x1cb)]=_0x4bccc7(0x1d5);const _0x49d27c=_0x5c316f,_0x57844c=path[_0x4bccc7(0x1c0)];if(_0x49d27c['WKyYv'](_0x1eb537,null)||_0x49d27c[_0x4bccc7(0x18c)](_0x1eb537,'')||_0x49d27c[_0x4bccc7(0x21b)](_0x1eb537,_0x57844c)||_0x49d27c[_0x4bccc7(0x21b)](_0x1eb537,path['dirname'](_0x1eb537)))return null;try{return fs[_0x4bccc7(0x166)](path[_0x4bccc7(0x220)](_0x1eb537,_0x49d27c[_0x4bccc7(0x1c3)],_0x49d27c[_0x4bccc7(0x1cb)])),_0x1eb537;}catch(_0x3e95e2){const _0xf03896=path[_0x4bccc7(0x1eb)](_0x1eb537);return this['findGitConfig'](_0xf03896);}}['appendTestItemLog']=async _0x361be6=>{const _0xd96085=a22_0xac20d8,_0x3ed6aa={'FSVeH':'LogCreated','DbpPB':function(_0x5390d0,_0x28243e){return _0x5390d0(_0x28243e);}},_0x15755d=TestDetails['getTestUUID'](process['pid']+_0xd96085(0x19f)),_0x3937a7=TestDetails[_0xd96085(0x178)](process['pid']+_0xd96085(0x18a));try{(_0x15755d||this[_0xd96085(0x21c)]&&!this[_0xd96085(0x21c)]['markedStatus'])&&(_0x361be6[_0xd96085(0x1e2)]=_0x15755d);!_0x361be6[_0xd96085(0x1e2)]&&_0x3937a7&&(_0x361be6[_0xd96085(0x162)]=_0x3937a7);if(_0x361be6['hook_run_uuid']||_0x361be6[_0xd96085(0x162)]){const _0x1b9bf7={};_0x1b9bf7[_0xd96085(0x1a1)]=_0x3ed6aa[_0xd96085(0x19c)],_0x1b9bf7[_0xd96085(0x20b)]=[_0x361be6],await SessionHandler[_0xd96085(0x208)](_0x1b9bf7);}}catch(_0x269a6c){_0x3ed6aa[_0xd96085(0x1f2)](debug,_0xd96085(0x182)+_0x269a6c);}};[a22_0xac20d8(0x21e)]=async _0x2fd61d=>{const _0x4e44bf=a22_0xac20d8,_0x7ba76e={'QKpHR':_0x4e44bf(0x1df),'GevJO':_0x4e44bf(0x161),'hqKPX':function(_0x4bbd71,_0x68622a){return _0x4bbd71(_0x68622a);}};try{const _0x2eaf1c={'uuid':_0x2fd61d[_0x4e44bf(0x16f)]||TestDetails[_0x4e44bf(0x178)](process[_0x4e44bf(0x1f9)]+_0x4e44bf(0x18a)),'integrations':_0x2fd61d[_0x7ba76e['QKpHR']]},_0x5143b7={};_0x5143b7['event_type']=_0x7ba76e[_0x4e44bf(0x17f)],_0x5143b7[_0x4e44bf(0x1cf)]=_0x2eaf1c,await SessionHandler[_0x4e44bf(0x208)](_0x5143b7);}catch(_0x12d349){_0x7ba76e[_0x4e44bf(0x1b3)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x12d349);}};async[a22_0xac20d8(0x17a)](){const _0x1989e7=a22_0xac20d8,_0x5cb140={'kDhUp':function(_0x38ae59){return _0x38ae59();}};if(this[_0x1989e7(0x211)])return this[_0x1989e7(0x17d)];const _0x255e54=await _0x5cb140[_0x1989e7(0x198)](getGitMetaData);_0x255e54&&(this[_0x1989e7(0x17d)]=_0x255e54['root']),this[_0x1989e7(0x211)]=!![];}['analyticsResult'](_0x3b57a6){const _0x3f35d6=a22_0xac20d8,_0x4bea26={};_0x4bea26['fDmII']='passed',_0x4bea26[_0x3f35d6(0x17e)]=_0x3f35d6(0x1a6),_0x4bea26[_0x3f35d6(0x1a8)]='failed';const _0x240cb0=_0x4bea26,_0x58f06b={};return _0x58f06b[STATE_PASSED]=_0x240cb0[_0x3f35d6(0x195)],_0x58f06b[STATE_PENDING]=_0x240cb0[_0x3f35d6(0x17e)],_0x58f06b[STATE_FAILED]=_0x240cb0[_0x3f35d6(0x1a8)],_0x58f06b[_0x3b57a6];}['getHierarchy'](_0x402e54){const _0x45acb5=a22_0xac20d8,_0x22cd09={};_0x22cd09[_0x45acb5(0x1e5)]=function(_0x4729f5,_0x911ac8){return _0x4729f5!==_0x911ac8;},_0x22cd09[_0x45acb5(0x1ec)]=function(_0x193c00,_0x3adf54){return _0x193c00!==_0x3adf54;},_0x22cd09[_0x45acb5(0x18b)]='ROOT_DESCRIBE_BLOCK';const _0x2e9c24=_0x22cd09,_0x577d87=[];if(_0x402e54&&_0x402e54[_0x45acb5(0x1de)]){let _0x2eb691=_0x402e54['parent'];while(_0x2eb691&&_0x2e9c24[_0x45acb5(0x1e5)](_0x2eb691[_0x45acb5(0x1ae)],'')&&_0x2e9c24['ABvTe'](_0x2eb691[_0x45acb5(0x1ae)],_0x2e9c24[_0x45acb5(0x18b)])){_0x577d87[_0x45acb5(0x1d0)](_0x2eb691['name']),_0x2eb691=_0x2eb691[_0x45acb5(0x1de)];}}return _0x577d87[_0x45acb5(0x173)](),_0x577d87;}[a22_0xac20d8(0x21d)]=_0x522fb1=>{const _0x4be740=a22_0xac20d8;if(_0x522fb1[_0x4be740(0x20d)]){const _0x1cf20f=stackTrace[_0x4be740(0x189)]['call'](stackTrace,_0x522fb1[_0x4be740(0x20d)]);return _0x1cf20f[0x0][_0x4be740(0x1cc)]();}if(_0x522fb1[_0x4be740(0x197)])return _0x522fb1[_0x4be740(0x197)];return null;};[a22_0xac20d8(0x181)]=_0xe478b7=>{const _0x2ea2d6=a22_0xac20d8;if(!_0xe478b7||!_0xe478b7[_0x2ea2d6(0x1de)])return;_0xe478b7[_0x2ea2d6(0x1de)]['hooks']['forEach'](_0x469b17=>{const _0x1a7bcf=_0x2ea2d6;!_0x469b17['hookAnalyticsId']&&(_0x469b17['hookAnalyticsId']=TestDetails[_0x1a7bcf(0x1f7)](process[_0x1a7bcf(0x1f9)]+_0x1a7bcf(0x19f)));}),this[_0x2ea2d6(0x181)](_0xe478b7['parent']);};[a22_0xac20d8(0x1c7)]=_0x3c3f24=>{const _0x3a1d13=a22_0xac20d8,_0x438a79={};_0x438a79[_0x3a1d13(0x17c)]=_0x3a1d13(0x1e7),_0x438a79['WMkJL']=_0x3a1d13(0x169);const _0x105f15=_0x438a79;if(!_0x3c3f24||!_0x3c3f24[_0x3a1d13(0x1de)])return;_0x3c3f24[_0x3a1d13(0x1de)][_0x3a1d13(0x1b5)][_0x3a1d13(0x16d)](_0x1d6f3b=>{const _0xaa7d7a=_0x3a1d13;[_0x105f15['uZFiJ'],_0x105f15[_0xaa7d7a(0x209)]][_0xaa7d7a(0x1a9)](_0x1d6f3b[_0xaa7d7a(0x1d6)])&&_0x1d6f3b[_0xaa7d7a(0x1b2)]&&(_0x1d6f3b['hookAnalyticsId']=null);}),this[_0x3a1d13(0x181)](_0x3c3f24[_0x3a1d13(0x1de)]);};['isJestInternalHook'](_0x35ef4a){const _0x1f1d7c=a22_0xac20d8,_0x42c2bb={'JcOqy':'jest-circus','jwwdj':function(_0x5abccf,_0x127eab){return _0x5abccf(_0x127eab);},'aEyTf':function(_0xbeaf47,_0x523980){return _0xbeaf47+_0x523980;},'nakUX':'Exception\x20in\x20getting\x20file\x20for\x20hook\x20'};try{const _0xdbc24b=this['getRootParentFile'](_0x35ef4a);return _0xdbc24b[_0x1f1d7c(0x1a9)](_0x42c2bb[_0x1f1d7c(0x1b6)]);}catch(_0x3d024e){_0x42c2bb[_0x1f1d7c(0x213)](debug,_0x42c2bb['aEyTf'](_0x42c2bb['nakUX'],_0x3d024e));}return![];}[a22_0xac20d8(0x207)]=_0x3ff06c=>{const _0x59b7d2=a22_0xac20d8,_0x3e26a0={'cLlYm':function(_0x30c8e2,_0x1bbf97){return _0x30c8e2(_0x1bbf97);}};if(!_0x3ff06c||!_0x3ff06c[_0x59b7d2(0x1de)])return[];const _0x2651c7=[];return _0x3ff06c[_0x59b7d2(0x1de)][_0x59b7d2(0x1b5)][_0x59b7d2(0x16d)](_0x5b7153=>{const _0x5a9658=_0x59b7d2;_0x5b7153[_0x5a9658(0x1b2)]&&!_0x3e26a0[_0x5a9658(0x1d9)](isInternalHook,_0x5b7153['fn'])&&!this[_0x5a9658(0x1af)](_0x5b7153)&&_0x2651c7['push'](_0x5b7153[_0x5a9658(0x1b2)]);}),[..._0x2651c7,...this['getHooksForTest'](_0x3ff06c[_0x59b7d2(0x1de)])];};},[a22_0xac20d8(0x179),'registerListeners','testStarted','getName','sendTestRunEvent',a22_0xac20d8(0x214),a22_0xac20d8(0x1fb),a22_0xac20d8(0x21e),a22_0xac20d8(0x187),a22_0xac20d8(0x1ac),a22_0xac20d8(0x21d),a22_0xac20d8(0x181),'resetTestHooks','getHooksForTest',a22_0xac20d8(0x17a)],a22_0xac20d8(0x1a5));function a22_0x1980(){const _0x530cbb=['AtLCq','GevJO','errorsDetailed','mapTestHooks','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','NlZFd','qHcRd','sendTestRunEvent','3|2|4|1|0','analyticsResult','err','parse',':testAnalyticsId','BVVnj','xZRHj','fIUaE','hook_failure','bind','JEST','STATE_FAILED','3706371qtyJRR','util','UFiKI','fDmII','bs:addPlatformDetails:','file','kDhUp','zDQZp','5|2|0|1|3|6|4','STpsF','FSVeH','cFmsC','345210VIFdEr',':hookAnalyticsId','_currentRetry','event_type','ZCedQ','toString','duration','ObservabilityReporter','pending','FvKRT','mltLb','includes','_testResults','nHMGF','getHierarchy','_paths','name','isJestInternalHook','STATE_PENDING','./test-details','hookAnalyticsId','hqKPX','prefixTestPath','hooks','JcOqy','UYjUR','hook_type','getName','inspect','WKyYv','cwd','3069210Trweja','2lYpTMv','650631KdvHtU','sep','stack-trace','fmZMq','eyFEM','AYFgN','testAnalyticsId','failure','resetTestHooks','expanded','mAaDp','path','Miptv','getFileName','location_prefix','VUELS','test_run','push','title','toISOString','siOwI','fXHDe','config','type','345041bxJohh','.git','cLlYm','bs:addLog:','failed\x20to\x20get\x20root\x20parent\x20file\x20','2101728CNvxny','aDdTV','parent','http_response','digFw','116778IQZgLM','hook_run_uuid','ardkR','\x22\x20hook\x20for\x20\x22','nBLdt','started_at','beforeEach','beforeAll','Jwcpf','failure_reason','dirname','ABvTe','generic','GVtKX','_testEnv','wjuJL','AFTER_ALL','DbpPB','javascript','split','../../../helpers/testhub/utils','bxaMM','setTestUUID','current_test','pid','../../../helpers/test-observability/sessionHandler','appendTestItemLog','registerListeners','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','failed','mKlmL','relative','failure_reason_expanded','exports','Sabyu','mrBGR','UwXiP','removeAllListeners','getHooksForTest','uploadEventData','WMkJL','qVAFe','logs','jest-circus','asyncError','finished_at','QsRAE','qbHWw','_gitConfigured','result','jwwdj','findGitConfig','fnTXN','../../utils/constants','skHuy','TUSGo','hook_data','../../../helpers/test-observability/error-handler','gAdXs','current_hook','getRootParentFile','appendTestPlatform','LnRhC','join','NVUHp','skipped','../../../helpers/helper','AoPLL','File\x20path\x20could\x20not\x20be\x20found','CBTSessionCreated','test_run_uuid','length','../../../../package.json','bMyKE','statSync','TestRunFinished','14wWvbdd','afterEach','NjYCX','BEFORE_ALL','retryOf','forEach','test','uuid','match','getTime','testObservability','reverse','\x20with\x20error\x20:\x20','MsFuf','state','GNGvI','getTestUUID','getTestEnv','configureGit','4cTQWII','uZFiJ','_gitConfigPath'];a22_0x1980=function(){return _0x530cbb;};return a22_0x1980();}
1
+ const a22_0x273607=a22_0x4021;(function(_0x3ee75f,_0x1b3cd0){const _0x27d196=a22_0x4021,_0x33e132=_0x3ee75f();while(!![]){try{const _0xc74e62=-parseInt(_0x27d196(0x255))/0x1+parseInt(_0x27d196(0x1f7))/0x2*(parseInt(_0x27d196(0x1aa))/0x3)+parseInt(_0x27d196(0x23d))/0x4+-parseInt(_0x27d196(0x1b2))/0x5*(parseInt(_0x27d196(0x219))/0x6)+parseInt(_0x27d196(0x220))/0x7*(-parseInt(_0x27d196(0x1c3))/0x8)+-parseInt(_0x27d196(0x254))/0x9*(-parseInt(_0x27d196(0x24b))/0xa)+parseInt(_0x27d196(0x256))/0xb*(-parseInt(_0x27d196(0x23f))/0xc);if(_0xc74e62===_0x1b3cd0)break;else _0x33e132['push'](_0x33e132['shift']());}catch(_0x597f78){_0x33e132['push'](_0x33e132['shift']());}}}(a22_0x3389,0xb5cf0));function a22_0x4021(_0x5a03e8,_0x1aac4f){const _0x3389c3=a22_0x3389();return a22_0x4021=function(_0x402172,_0x1d03e1){_0x402172=_0x402172-0x195;let _0x45e90b=_0x3389c3[_0x402172];return _0x45e90b;},a22_0x4021(_0x5a03e8,_0x1aac4f);}const {isTestObservabilitySession,PathHelper,debug,failureData,getFailureType,isInternalHook}=require(a22_0x273607(0x240)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{v4:uuidv4}=require(a22_0x273607(0x223)),{name,version}=require(a22_0x273607(0x199)),stackTrace=require(a22_0x273607(0x205)),path=require('path'),fs=require('fs'),TestDetails=require(a22_0x273607(0x246)),{FRAMEWORKS}=require(a22_0x273607(0x25d)),{o11yClassErrorHandler}=require(a22_0x273607(0x259)),{getGitMetaData}=require('../../../helpers/helper'),{appendTesthubParams,setCurrentTestData}=require(a22_0x273607(0x1bc)),a22_0xff72ae={};a22_0xff72ae['STATE_PASSED']=a22_0x273607(0x1a1),a22_0xff72ae[a22_0x273607(0x1dd)]=a22_0x273607(0x1f5),a22_0xff72ae[a22_0x273607(0x1b9)]=a22_0x273607(0x1ad);const {STATE_PASSED,STATE_PENDING,STATE_FAILED}=a22_0xff72ae,a22_0x52c522={};function a22_0x3389(){const _0x1d33cb=['failure','state','stack-trace','eLqcs','TAuuR','vgSqh','config','finished_at','analyticsResult','resetTestHooks','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','getTestEnv','sendTestRunEvent','ZawJf','pid','skipped','WgDxO','dirname','call','yNALF','getHierarchy','MRCik','582iOgnXG','uploadEventData','_paths','nNQIt','iVdOi','hook_failure','title','35JcvhPh','configureGit','util','uuid','QqhTF','MUOoM','appendTestPlatform','XHgok','fslop','type','location_prefix','backtrace','failed\x20to\x20get\x20root\x20parent\x20file\x20','root','VDKgL','gJonT','oJnXJ','WpfYB','push','parse','jest-circus','cYskV','JEST','TestRunFinished','expanded','bNVfY','duration','apply','exports','5872372gffKep','test','12zzArYz','../../../helpers/test-observability/utils','_gitConfigured','duCus','length','HSeTd','bs:addLog:','./test-details','AzjiU','IZCou','hmYGB','removeAllListeners','6609580Zgtsqd','File\x20path\x20could\x20not\x20be\x20found','HshDB','UWDUa','forEach','dLEmg','asyncError','AFTER_ALL','_testEnv','18pVWbqL','802249LAQXkh','10075175AYlwad','yRDjc','toISOString','../../../helpers/test-observability/error-handler','js-','\x22\x20hook\x20for\x20\x22','failure_type','../../utils/constants','uKjaP','wcUAi','errorsDetailed','test_run_uuid','appendTestItemLog','../../../../package.json','voSmR','JrFEK','jPvwj','kLkxx','MhLck','failure_reason','Exception\x20in\x20getting\x20file\x20for\x20hook\x20','passed','QbmXz','file','getRootParentFile','markedStatus','bind','getFileName','hook_type','cIngA','197967ZeRlbL','pyqAf','statSync','pending','CbLzN','LogCreated','setTestUUID','ObservabilityReporter','27575GVWJsp','qcwGw','uNrxr','getHooksForTest','parent','KdUVr','current_test','STATE_PENDING','findGitConfig','AWOXz','../../../helpers/testhub/utils','beforeEach','err','HookRunFinished','match','QMSsG','reverse','1462408lXakXo','beIrr','mapTestHooks','failure_reason_expanded','eAtzc','ByKBG','testStarted','hCQxN','CBTSessionCreated','started_at','BjOJZ','MAJAr','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','beforeAll','afterEach','nXTvl','name','hooks','VaBKL','3|0|4|2|1','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','TestRunStarted','getName','opbbu','\x20with\x20error\x20:\x20','toString','STATE_FAILED','Sahsd','afterAll','_gitConfigPath','ROOT_DESCRIBE_BLOCK','test_run','retryOf','result','BEFORE_EACH','hook_run_uuid','_currentRetry','includes','0|6|2|1|5|3|4','_testResults','tyDtg','now','TestRunSkipped','inspect','hook_data','registerListeners',':hookAnalyticsId','djlRQ','dkYCK','hookAnalyticsId','failed','testAnalyticsId','34bhttEG','join','isJestInternalHook','pOTve',':testAnalyticsId','slKsD','bs:addPlatformDetails:','split','QNXWR','Ldmlt','kaVTX','getTestUUID'];a22_0x3389=function(){return _0x1d33cb;};return a22_0x3389();}a22_0x52c522['beforeAll']='BEFORE_ALL',a22_0x52c522[a22_0x273607(0x1df)]=a22_0x273607(0x252),a22_0x52c522[a22_0x273607(0x1bd)]=a22_0x273607(0x1e5),a22_0x52c522[a22_0x273607(0x1d1)]='AFTER_EACH';const HOOK_TYPES_MAP=a22_0x52c522;module[a22_0x273607(0x23c)]=o11yClassErrorHandler(class ObservabilityReporter{constructor(){const _0x43e7e9=a22_0x273607,_0x1c0bca={'VDKgL':_0x43e7e9(0x1e9),'cIngA':function(_0x94ae26){return _0x94ae26();}},_0x58d62c=_0x1c0bca[_0x43e7e9(0x22e)][_0x43e7e9(0x1fe)]('|');let _0x51d0cf=0x0;while(!![]){switch(_0x58d62c[_0x51d0cf++]){case'0':this['testObservability']=_0x1c0bca[_0x43e7e9(0x1a9)](isTestObservabilitySession);continue;case'1':this[_0x43e7e9(0x21b)]=new PathHelper({'cwd':process['cwd']()},this[_0x43e7e9(0x253)][_0x43e7e9(0x22a)]);continue;case'2':this[_0x43e7e9(0x253)]=this[_0x43e7e9(0x20e)]();continue;case'3':this[_0x43e7e9(0x241)]=![];continue;case'4':this[_0x43e7e9(0x1e0)]=null;continue;case'5':this[_0x43e7e9(0x1ef)]=[];continue;case'6':this['_testResults']=[];continue;}break;}}['getTestEnv']=()=>{const _0x1c6594=a22_0x273607,_0x5726e8={'MAJAr':'generic','UWDUa':function(_0x3d5377){return _0x3d5377();}};return{'ci':_0x5726e8[_0x1c6594(0x1ce)],'key':_0x5726e8[_0x1c6594(0x24e)](uuidv4),'version':version,'collector':_0x1c6594(0x25a)+name};};[a22_0x273607(0x1f0)](){const _0x4164e0=a22_0x273607;process['removeAllListeners'](_0x4164e0(0x245)+process[_0x4164e0(0x211)]),process['on'](_0x4164e0(0x245)+process[_0x4164e0(0x211)],this[_0x4164e0(0x198)][_0x4164e0(0x1a6)](this)),process[_0x4164e0(0x24a)](_0x4164e0(0x1fd)+process[_0x4164e0(0x211)]),process['on'](_0x4164e0(0x1fd)+process[_0x4164e0(0x211)],this['appendTestPlatform'][_0x4164e0(0x1a6)](this));}[a22_0x273607(0x1c9)]=async _0x55d99d=>{const _0x2543ee=a22_0x273607,_0x40a37c={'opbbu':function(_0x3d5e24,_0x3942ce){return _0x3d5e24>_0x3942ce;},'duCus':function(_0x1bc479,_0xc784d0){return _0x1bc479===_0xc784d0;},'uNrxr':_0x2543ee(0x1d8),'eAtzc':function(_0x59bc09,_0xd85d47){return _0x59bc09(_0xd85d47);}};try{const _0xacc22a=this[_0x2543ee(0x1b8)];this['current_test']=_0x55d99d,_0x55d99d[_0x2543ee(0x1e3)]=null,_0x55d99d['testAnalyticsId']=TestDetails[_0x2543ee(0x1b0)](process['pid']+_0x2543ee(0x1fb)),_0x55d99d[_0x2543ee(0x1cc)]=new Date()[_0x2543ee(0x258)](),_0x40a37c[_0x2543ee(0x1da)](_0x55d99d[_0x2543ee(0x1e7)],0x0)&&_0xacc22a&&_0x40a37c[_0x2543ee(0x242)](_0xacc22a[_0x2543ee(0x21f)],_0x55d99d[_0x2543ee(0x21f)])?(_0x55d99d[_0x2543ee(0x1e3)]=_0xacc22a[_0x2543ee(0x1f6)],await this[_0x2543ee(0x20f)](_0x55d99d,undefined,![],_0x40a37c[_0x2543ee(0x1b4)]),_0xacc22a[_0x2543ee(0x204)]=STATE_FAILED,await this[_0x2543ee(0x20f)](_0xacc22a,undefined,!![])):await this['sendTestRunEvent'](_0x55d99d,undefined,![],_0x40a37c[_0x2543ee(0x1b4)]);}catch(_0x1a8d1e){_0x40a37c[_0x2543ee(0x1c7)](debug,_0x2543ee(0x1d7)+_0x1a8d1e);}};[a22_0x273607(0x1d9)](_0x3e4210){const _0x12f74e=a22_0x273607,_0x2a3bea={};_0x2a3bea[_0x12f74e(0x1f3)]=function(_0x624aa1,_0x2ebc48){return _0x624aa1!==_0x2ebc48;},_0x2a3bea[_0x12f74e(0x208)]=_0x12f74e(0x23e);const _0x4c148d=_0x2a3bea;if(_0x4c148d[_0x12f74e(0x1f3)](_0x3e4210[_0x12f74e(0x229)],_0x4c148d['vgSqh']))return'\x22'+_0x3e4210[_0x12f74e(0x229)]+_0x12f74e(0x25b)+(_0x3e4210[_0x12f74e(0x1b6)]&&_0x3e4210['parent']['name'])+'\x22';return _0x3e4210['name'];}[a22_0x273607(0x20f)]=async(_0x48f2b1,_0x4a6d62=undefined,_0x27cb34=![],_0x190b64=a22_0x273607(0x237))=>{const _0x39fd85=a22_0x273607,_0x567204={'eLqcs':_0x39fd85(0x1d6),'slKsD':'hook_run','XHgok':_0x39fd85(0x25c),'wcUAi':_0x39fd85(0x1e2),'JrFEK':_0x39fd85(0x19f),'iVdOi':_0x39fd85(0x203),'CbLzN':_0x39fd85(0x1e4),'lLvme':function(_0x3252bc,_0x99e1f6){return _0x3252bc(_0x99e1f6);},'cYskV':'jest-circus','AzjiU':function(_0x4ab4a2,_0x37d8cc){return _0x4ab4a2(_0x37d8cc);},'KdUVr':_0x39fd85(0x222),'pyqAf':function(_0x5be720,_0x36fe4d){return _0x5be720!==_0x36fe4d;},'HshDB':_0x39fd85(0x23e),'qcwGw':function(_0x4a9fc3,_0x3dbfca){return _0x4a9fc3!==_0x3dbfca;},'bNVfY':_0x39fd85(0x1be),'QbmXz':_0x39fd85(0x24c),'CQorT':'javascript','ByKBG':function(_0x26da9d,_0x1ef556){return _0x26da9d===_0x1ef556;},'TAuuR':_0x39fd85(0x1ed),'yNALF':_0x39fd85(0x212),'VaBKL':function(_0x4dc509,_0x548d3e){return _0x4dc509>_0x548d3e;},'jPvwj':_0x39fd85(0x1f5),'nNQIt':'passed','Ldmlt':function(_0x3f376f,_0x3eea87){return _0x3f376f-_0x3eea87;},'beIrr':function(_0x130373,_0x285f82){return _0x130373(_0x285f82);},'wUFYX':function(_0x141305,_0x47ea24,_0x48b39b,_0x4506c9,_0x24d73e){return _0x141305(_0x47ea24,_0x48b39b,_0x4506c9,_0x24d73e);},'IuBMW':_0x39fd85(0x1cc),'ZawJf':_0x39fd85(0x20a),'tyDtg':function(_0x4b2722,_0x46025e){return _0x4b2722===_0x46025e;},'MUOoM':_0x39fd85(0x1bf),'QqhTF':function(_0x4b7f04,_0x1466b7){return _0x4b7f04!==_0x1466b7;},'kLkxx':'failure_backtrace','AbprD':_0x39fd85(0x22b),'vWJET':_0x39fd85(0x1c6),'QNXWR':_0x39fd85(0x238),'uKjaP':_0x39fd85(0x237),'voSmR':function(_0x3d33fb,_0x308d11){return _0x3d33fb===_0x308d11;},'QMSsG':_0x39fd85(0x1a8),'zVxeZ':function(_0x473b82,_0x400c4c){return _0x473b82===_0x400c4c;},'WpfYB':_0x39fd85(0x1d0),'yRDjc':function(_0x4e8f90,_0x5c0c5f,_0x17c70a){return _0x4e8f90(_0x5c0c5f,_0x17c70a);}};try{if(_0x48f2b1['fn']&&_0x48f2b1['fn']['toString']()[_0x39fd85(0x1c0)](/browserstack internal helper hook/))return;await this['configureGit']();let _0x137bf8;try{_0x137bf8=this[_0x39fd85(0x1a4)](_0x48f2b1);}catch(_0xe7a0fd){_0x567204['lLvme'](debug,_0x39fd85(0x22c)+_0xe7a0fd),_0x137bf8=null;}if(_0x137bf8[_0x39fd85(0x1e8)](_0x567204[_0x39fd85(0x235)]))return;const _0xe9130b=_0x567204[_0x39fd85(0x247)](require,_0x567204[_0x39fd85(0x1b7)]);let _0x537bc6=[];if(_0x567204[_0x39fd85(0x1ab)](_0x48f2b1[_0x39fd85(0x196)],undefined))_0x537bc6=[_0x48f2b1[_0x39fd85(0x196)],_0x567204[_0x39fd85(0x24d)]];else _0x567204[_0x39fd85(0x1b3)](_0x4a6d62,undefined)?_0x537bc6=[_0x4a6d62,_0x567204[_0x39fd85(0x239)]]:_0x537bc6=[];const _0x2c2944=_0x567204[_0x39fd85(0x1b3)](_0x48f2b1[_0x39fd85(0x196)],undefined)?_0xe9130b[_0x39fd85(0x1ee)](_0x48f2b1['errorsDetailed'][0x0]):_0x567204[_0x39fd85(0x1ab)](_0x4a6d62,undefined)?_0x4a6d62['toString']():undefined,_0x4a6a51=_0x137bf8?this[_0x39fd85(0x21b)]['prefixTestPath'](this[_0x39fd85(0x1a4)](_0x48f2b1)):_0x567204[_0x39fd85(0x1a2)],_0x1f4f8c={'framework':FRAMEWORKS[_0x39fd85(0x236)],'uuid':_0x48f2b1[_0x39fd85(0x1f6)]||_0x48f2b1['hookAnalyticsId'],'name':this['getName'](_0x48f2b1),'body':{'lang':_0x567204['CQorT'],'code':_0x48f2b1['fn'][_0x39fd85(0x1dc)]()},'scopes':this[_0x39fd85(0x217)](_0x48f2b1),'file_name':_0x4a6a51,'vc_filepath':this[_0x39fd85(0x1e0)]&&_0x137bf8?path['relative'](this[_0x39fd85(0x1e0)],_0x137bf8):null,'location':_0x4a6a51,'result':_0x567204[_0x39fd85(0x1c8)](_0x190b64,_0x567204[_0x39fd85(0x207)])?_0x567204[_0x39fd85(0x216)]:this[_0x39fd85(0x20b)](_0x48f2b1[_0x39fd85(0x196)]&&_0x567204[_0x39fd85(0x1d5)](_0x48f2b1[_0x39fd85(0x196)][_0x39fd85(0x243)],0x0)?_0x567204[_0x39fd85(0x19c)]:_0x567204[_0x39fd85(0x21c)]),'failure_reason':_0x2c2944,'duration_in_ms':_0x48f2b1[_0x39fd85(0x23a)]||(_0x190b64[_0x39fd85(0x1c0)](/Finished/)||_0x190b64[_0x39fd85(0x1c0)](/Skipped/)?_0x567204[_0x39fd85(0x200)](Date[_0x39fd85(0x1ec)](),new Date(_0x48f2b1[_0x39fd85(0x1cc)])['getTime']()):null),'started_at':_0x48f2b1[_0x39fd85(0x1cc)],'finished_at':_0x190b64[_0x39fd85(0x1c0)](/Finished/)||_0x190b64['match'](/Skipped/)?new Date()[_0x39fd85(0x258)]():null,'failure':failureData[_0x39fd85(0x23b)](null,_0x537bc6),'failure_type':!_0x2c2944?null:_0x567204[_0x39fd85(0x1c4)](getFailureType,_0x2c2944),'retry_of':_0x48f2b1[_0x39fd85(0x1e3)]};_0x567204['wUFYX'](appendTesthubParams,_0x1f4f8c,_0x190b64,_0x48f2b1,FRAMEWORKS['JEST']);_0x567204[_0x39fd85(0x1c8)](_0x190b64,_0x567204['TAuuR'])&&!_0x1f4f8c[_0x567204['IuBMW']]&&(_0x1f4f8c[_0x567204['IuBMW']]=_0x1f4f8c[_0x567204[_0x39fd85(0x210)]]);if(_0x190b64[_0x39fd85(0x1c0)](/HookRun/))[_0x1f4f8c[_0x39fd85(0x1a8)],_0x1f4f8c[_0x39fd85(0x1d3)]]=[_0x48f2b1[_0x39fd85(0x229)],this[_0x39fd85(0x1d9)](_0x48f2b1)],_0x567204[_0x39fd85(0x1eb)](_0x190b64,_0x567204[_0x39fd85(0x225)])&&(_0x567204[_0x39fd85(0x224)](_0x1f4f8c[_0x39fd85(0x1e4)],_0x567204['jPvwj'])&&(_0x1f4f8c['result']=_0x567204['nNQIt']));else _0x190b64[_0x39fd85(0x1c0)](/TestRun/)&&this[_0x39fd85(0x1c5)](_0x48f2b1);const _0x25adf1=_0x1f4f8c[_0x567204['iVdOi']][0x0];_0x25adf1&&(_0x1f4f8c[_0x567204[_0x39fd85(0x19d)]]=_0x25adf1[_0x567204['AbprD']],_0x1f4f8c[_0x567204['vWJET']]=_0x25adf1[_0x567204[_0x39fd85(0x1ff)]]);[_0x567204[_0x39fd85(0x25e)],_0x567204[_0x39fd85(0x207)]][_0x39fd85(0x1e8)](_0x190b64)&&(this[_0x39fd85(0x1ea)][_0x39fd85(0x232)](_0x1f4f8c),_0x1f4f8c[_0x39fd85(0x1d4)]=this['getHooksForTest'](_0x48f2b1),this[_0x39fd85(0x20c)](_0x48f2b1));const _0x4fc640={'event_type':_0x567204[_0x39fd85(0x19a)](_0x190b64,_0x567204[_0x39fd85(0x207)])?_0x567204[_0x39fd85(0x25e)]:_0x190b64};_0x190b64['match'](/HookRun/)?(_0x1f4f8c[_0x567204[_0x39fd85(0x1c1)]]=HOOK_TYPES_MAP[_0x1f4f8c[_0x567204['QMSsG']]],_0x4fc640[_0x567204['slKsD']]=_0x1f4f8c):_0x4fc640[_0x567204[_0x39fd85(0x195)]]=_0x1f4f8c;_0x567204[_0x39fd85(0x1d5)](this[_0x39fd85(0x1ef)][_0x39fd85(0x243)],0x0)&&[_0x567204[_0x39fd85(0x25e)],_0x567204['TAuuR']][_0x39fd85(0x1e8)](_0x190b64)&&(this[_0x39fd85(0x1ef)][_0x39fd85(0x24f)](async _0x4a5eb3=>{const _0x2967a8=_0x39fd85,_0x28786d=_0x567204[_0x2967a8(0x206)][_0x2967a8(0x1fe)]('|');let _0xd65803=0x0;while(!![]){switch(_0x28786d[_0xd65803++]){case'0':_0x4a5eb3[_0x567204[_0x2967a8(0x1fc)]][_0x567204['XHgok']]=_0x4fc640[_0x567204[_0x2967a8(0x195)]][_0x567204[_0x2967a8(0x227)]];continue;case'1':await SessionHandler['uploadEventData'](_0x4a5eb3);continue;case'2':_0x4a5eb3[_0x567204['slKsD']][_0x567204[_0x2967a8(0x19b)]]=_0x4fc640[_0x567204['wcUAi']][_0x567204['JrFEK']];continue;case'3':_0x4a5eb3[_0x567204['slKsD']][_0x567204[_0x2967a8(0x21d)]]=_0x4fc640[_0x567204['wcUAi']][_0x567204[_0x2967a8(0x21d)]];continue;case'4':_0x4a5eb3[_0x567204[_0x2967a8(0x1fc)]][_0x567204[_0x2967a8(0x1ae)]]=_0x4fc640[_0x567204[_0x2967a8(0x195)]][_0x567204[_0x2967a8(0x1ae)]];continue;}break;}}),this[_0x39fd85(0x1ef)]=[]);if(_0x567204[_0x39fd85(0x1c8)](this['hook_failure'],_0x48f2b1['type'])){this[_0x39fd85(0x1ef)]['push'](_0x4fc640);return;}_0x567204['zVxeZ'](this[_0x39fd85(0x21e)],_0x567204[_0x39fd85(0x231)])&&_0x4fc640[_0x567204[_0x39fd85(0x195)]]&&(_0x4fc640[_0x567204[_0x39fd85(0x195)]][_0x567204[_0x39fd85(0x1ae)]]=_0x567204[_0x39fd85(0x216)],_0x4fc640[_0x567204[_0x39fd85(0x195)]][_0x567204['iVdOi']]=null,_0x4fc640[_0x567204[_0x39fd85(0x195)]][_0x567204[_0x39fd85(0x227)]]=null),_0x567204[_0x39fd85(0x257)](setCurrentTestData,FRAMEWORKS[_0x39fd85(0x236)],_0x4fc640),await SessionHandler[_0x39fd85(0x21a)](_0x4fc640);}catch(_0x366224){_0x567204['AzjiU'](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x190b64+_0x39fd85(0x1db)+_0x366224);}};['findGitConfig'](_0x155264){const _0x3b2365=a22_0x273607,_0x3f0c00={};_0x3f0c00[_0x3b2365(0x250)]=function(_0x3df99b,_0xacf065){return _0x3df99b==_0xacf065;},_0x3f0c00[_0x3b2365(0x249)]=function(_0x3701a6,_0x53b521){return _0x3701a6===_0x53b521;},_0x3f0c00[_0x3b2365(0x230)]=function(_0x4e9737,_0x58f9fe){return _0x4e9737===_0x58f9fe;},_0x3f0c00['kVKZI']='.git',_0x3f0c00[_0x3b2365(0x201)]=_0x3b2365(0x209);const _0x11e31e=_0x3f0c00,_0x349760=path['sep'];if(_0x11e31e[_0x3b2365(0x250)](_0x155264,null)||_0x11e31e[_0x3b2365(0x249)](_0x155264,'')||_0x11e31e[_0x3b2365(0x249)](_0x155264,_0x349760)||_0x11e31e[_0x3b2365(0x230)](_0x155264,path[_0x3b2365(0x214)](_0x155264)))return null;try{return fs[_0x3b2365(0x1ac)](path[_0x3b2365(0x1f8)](_0x155264,_0x11e31e['kVKZI'],_0x11e31e[_0x3b2365(0x201)])),_0x155264;}catch(_0x3977e7){const _0x42fb14=path[_0x3b2365(0x214)](_0x155264);return this[_0x3b2365(0x1ba)](_0x42fb14);}}['appendTestItemLog']=async _0x218dff=>{const _0x4ae56c=a22_0x273607,_0x28d5f5={'MhLck':_0x4ae56c(0x1af),'pOTve':function(_0x1581e6,_0x30b8f0){return _0x1581e6(_0x30b8f0);}},_0x53e79b=TestDetails[_0x4ae56c(0x202)](process[_0x4ae56c(0x211)]+_0x4ae56c(0x1f1)),_0x5c1ffc=TestDetails[_0x4ae56c(0x202)](process['pid']+_0x4ae56c(0x1fb));try{(_0x53e79b||this['current_hook']&&!this['current_hook'][_0x4ae56c(0x1a5)])&&(_0x218dff[_0x4ae56c(0x1e6)]=_0x53e79b);!_0x218dff['hook_run_uuid']&&_0x5c1ffc&&(_0x218dff[_0x4ae56c(0x197)]=_0x5c1ffc);if(_0x218dff[_0x4ae56c(0x1e6)]||_0x218dff['test_run_uuid']){const _0x3d2d51={};_0x3d2d51['event_type']=_0x28d5f5[_0x4ae56c(0x19e)],_0x3d2d51['logs']=[_0x218dff],await SessionHandler[_0x4ae56c(0x21a)](_0x3d2d51);}}catch(_0x25ebe8){_0x28d5f5[_0x4ae56c(0x1fa)](debug,_0x4ae56c(0x1cf)+_0x25ebe8);}};[a22_0x273607(0x226)]=async _0x80acca=>{const _0x1fff0c=a22_0x273607,_0x2a5af2={'HSeTd':'http_response','djlRQ':_0x1fff0c(0x1cb),'BjOJZ':function(_0x26395c,_0xd12982){return _0x26395c(_0xd12982);}};try{const _0x5e12be={'uuid':_0x80acca['uuid']||TestDetails[_0x1fff0c(0x202)](process['pid']+_0x1fff0c(0x1fb)),'integrations':_0x80acca[_0x2a5af2[_0x1fff0c(0x244)]]},_0x479621={};_0x479621['event_type']=_0x2a5af2[_0x1fff0c(0x1f2)],_0x479621[_0x1fff0c(0x1e2)]=_0x5e12be,await SessionHandler['uploadEventData'](_0x479621);}catch(_0x359ec8){_0x2a5af2[_0x1fff0c(0x1cd)](debug,_0x1fff0c(0x20d)+_0x359ec8);}};async[a22_0x273607(0x221)](){const _0x44e1b8=a22_0x273607,_0x51636a={'ykEJw':function(_0x1a53c6){return _0x1a53c6();}};if(this[_0x44e1b8(0x241)])return this[_0x44e1b8(0x1e0)];const _0x4676f1=await _0x51636a['ykEJw'](getGitMetaData);_0x4676f1&&(this['_gitConfigPath']=_0x4676f1[_0x44e1b8(0x22d)]),this[_0x44e1b8(0x241)]=!![];}[a22_0x273607(0x20b)](_0x5e518f){const _0x4b0070=a22_0x273607,_0x1eac5a={};_0x1eac5a['Pxjfg']=_0x4b0070(0x1a1),_0x1eac5a[_0x4b0070(0x218)]=_0x4b0070(0x1ad),_0x1eac5a[_0x4b0070(0x248)]='failed';const _0x2eb7ba=_0x1eac5a,_0x88bce8={};return _0x88bce8[STATE_PASSED]=_0x2eb7ba['Pxjfg'],_0x88bce8[STATE_PENDING]=_0x2eb7ba[_0x4b0070(0x218)],_0x88bce8[STATE_FAILED]=_0x2eb7ba['IZCou'],_0x88bce8[_0x5e518f];}['getHierarchy'](_0x132574){const _0x106d92=a22_0x273607,_0x4d3b58={};_0x4d3b58[_0x106d92(0x1bb)]=function(_0x3b69ba,_0x69a1d9){return _0x3b69ba!==_0x69a1d9;},_0x4d3b58['xkRMB']=function(_0x484ca2,_0x464de5){return _0x484ca2!==_0x464de5;},_0x4d3b58['jGoZD']=_0x106d92(0x1e1);const _0x2f6bf7=_0x4d3b58,_0x4db74c=[];if(_0x132574&&_0x132574[_0x106d92(0x1b6)]){let _0x2c5466=_0x132574[_0x106d92(0x1b6)];while(_0x2c5466&&_0x2f6bf7['AWOXz'](_0x2c5466['name'],'')&&_0x2f6bf7['xkRMB'](_0x2c5466[_0x106d92(0x1d3)],_0x2f6bf7['jGoZD'])){_0x4db74c[_0x106d92(0x232)](_0x2c5466['name']),_0x2c5466=_0x2c5466[_0x106d92(0x1b6)];}}return _0x4db74c[_0x106d92(0x1c2)](),_0x4db74c;}[a22_0x273607(0x1a4)]=_0x20f6f4=>{const _0x4fa5ae=a22_0x273607;if(_0x20f6f4[_0x4fa5ae(0x251)]){const _0x2c4da4=stackTrace[_0x4fa5ae(0x233)][_0x4fa5ae(0x215)](stackTrace,_0x20f6f4[_0x4fa5ae(0x251)]);return _0x2c4da4[0x0][_0x4fa5ae(0x1a7)]();}if(_0x20f6f4[_0x4fa5ae(0x1a3)])return _0x20f6f4['file'];return null;};['mapTestHooks']=_0x4f51d2=>{const _0xa4da5=a22_0x273607;if(!_0x4f51d2||!_0x4f51d2[_0xa4da5(0x1b6)])return;_0x4f51d2[_0xa4da5(0x1b6)]['hooks'][_0xa4da5(0x24f)](_0x238ccc=>{const _0x52e69f=_0xa4da5;!_0x238ccc[_0x52e69f(0x1f4)]&&(_0x238ccc[_0x52e69f(0x1f4)]=TestDetails[_0x52e69f(0x1b0)](process[_0x52e69f(0x211)]+_0x52e69f(0x1f1)));}),this[_0xa4da5(0x1c5)](_0x4f51d2[_0xa4da5(0x1b6)]);};['resetTestHooks']=_0x2c5d1b=>{const _0x4bc9c4=a22_0x273607,_0x1cd695={};_0x1cd695[_0x4bc9c4(0x1d2)]=_0x4bc9c4(0x1bd),_0x1cd695[_0x4bc9c4(0x1de)]=_0x4bc9c4(0x1d1);const _0x4102f9=_0x1cd695;if(!_0x2c5d1b||!_0x2c5d1b[_0x4bc9c4(0x1b6)])return;_0x2c5d1b[_0x4bc9c4(0x1b6)][_0x4bc9c4(0x1d4)]['forEach'](_0x17513c=>{const _0x53bf22=_0x4bc9c4;[_0x4102f9['nXTvl'],_0x4102f9[_0x53bf22(0x1de)]][_0x53bf22(0x1e8)](_0x17513c[_0x53bf22(0x229)])&&_0x17513c[_0x53bf22(0x1f4)]&&(_0x17513c[_0x53bf22(0x1f4)]=null);}),this[_0x4bc9c4(0x1c5)](_0x2c5d1b['parent']);};[a22_0x273607(0x1f9)](_0x151676){const _0x56ff51=a22_0x273607,_0x3ac147={'hCQxN':_0x56ff51(0x234),'gJonT':function(_0x4a23ce,_0x1a2352){return _0x4a23ce(_0x1a2352);},'fslop':function(_0x1c220f,_0x46dbbf){return _0x1c220f+_0x46dbbf;},'WgDxO':_0x56ff51(0x1a0)};try{const _0x49d993=this[_0x56ff51(0x1a4)](_0x151676);return _0x49d993[_0x56ff51(0x1e8)](_0x3ac147[_0x56ff51(0x1ca)]);}catch(_0x19209e){_0x3ac147[_0x56ff51(0x22f)](debug,_0x3ac147[_0x56ff51(0x228)](_0x3ac147[_0x56ff51(0x213)],_0x19209e));}return![];}[a22_0x273607(0x1b5)]=_0x2ab89f=>{const _0x57086d=a22_0x273607,_0x1a0c06={'yZFoR':function(_0x14aacf,_0x22748b){return _0x14aacf(_0x22748b);}};if(!_0x2ab89f||!_0x2ab89f['parent'])return[];const _0x27a79f=[];return _0x2ab89f[_0x57086d(0x1b6)][_0x57086d(0x1d4)][_0x57086d(0x24f)](_0x4cc44c=>{const _0x2c9c2b=_0x57086d;_0x4cc44c[_0x2c9c2b(0x1f4)]&&!_0x1a0c06['yZFoR'](isInternalHook,_0x4cc44c['fn'])&&!this[_0x2c9c2b(0x1f9)](_0x4cc44c)&&_0x27a79f['push'](_0x4cc44c[_0x2c9c2b(0x1f4)]);}),[..._0x27a79f,...this[_0x57086d(0x1b5)](_0x2ab89f['parent'])];};},[a22_0x273607(0x20e),a22_0x273607(0x1f0),'testStarted',a22_0x273607(0x1d9),'sendTestRunEvent',a22_0x273607(0x1ba),a22_0x273607(0x198),a22_0x273607(0x226),a22_0x273607(0x20b),a22_0x273607(0x217),a22_0x273607(0x1a4),'mapTestHooks',a22_0x273607(0x20c),a22_0x273607(0x1b5),a22_0x273607(0x221)],a22_0x273607(0x1b1));