browserstack-node-sdk 1.34.16 → 1.34.17

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 +1 @@
1
- function a1_0x5380(_0x468ffe,_0x569c2c){const _0x28580a=a1_0x2858();return a1_0x5380=function(_0x53803f,_0xc38004){_0x53803f=_0x53803f-0x19d;let _0xc292cd=_0x28580a[_0x53803f];return _0xc292cd;},a1_0x5380(_0x468ffe,_0x569c2c);}const a1_0x492002=a1_0x5380;(function(_0x3dfbcb,_0x575dbe){const _0x4ed80d=a1_0x5380,_0x339d1f=_0x3dfbcb();while(!![]){try{const _0x530d61=parseInt(_0x4ed80d(0x1f0))/0x1*(parseInt(_0x4ed80d(0x235))/0x2)+-parseInt(_0x4ed80d(0x207))/0x3*(-parseInt(_0x4ed80d(0x1a1))/0x4)+parseInt(_0x4ed80d(0x1cf))/0x5+-parseInt(_0x4ed80d(0x1f8))/0x6+parseInt(_0x4ed80d(0x23c))/0x7+parseInt(_0x4ed80d(0x230))/0x8*(-parseInt(_0x4ed80d(0x1c4))/0x9)+parseInt(_0x4ed80d(0x1dc))/0xa;if(_0x530d61===_0x575dbe)break;else _0x339d1f['push'](_0x339d1f['shift']());}catch(_0x2c206b){_0x339d1f['push'](_0x339d1f['shift']());}}}(a1_0x2858,0xc22c3));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x492002(0x203)),logger=require('../../helpers/logger')[a1_0x492002(0x22c)],testOpsHelper=require(a1_0x492002(0x1ce)),requestSpy=require(a1_0x492002(0x228)),PlaywrightSessionDetails=require(a1_0x492002(0x1fc)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x492002(0x1fe)),AccessibilityHelper=require('../../bin/playwright/accessibility-helper'),scripts=require(a1_0x492002(0x209)),PerformanceTester=require('../../helpers/performance-tester'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x492002(0x234)),testHubConstants=require(a1_0x492002(0x226)),CodeceptJS=requireModule('codeceptjs/lib/index.js'),CodeceptUtils=requireModule(a1_0x492002(0x1cc)),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js'),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js'),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js'),playwrightMarkSessionStatus=(_0x1f6455,_0xeae2cf,_0x5b2596)=>{const _0x3490d5=a1_0x492002,_0x352c67={'bZHxT':_0x3490d5(0x1bf),'lGlUm':function(_0x4872ab,_0x40fda0){return _0x4872ab(_0x40fda0);}},_0x1502a8={};_0x1502a8[_0x3490d5(0x1f5)]=_0xeae2cf;const _0x540636={};_0x540636[_0x3490d5(0x1b6)]=_0x352c67[_0x3490d5(0x1c3)],_0x540636[_0x3490d5(0x1af)]=_0x1502a8;const _0x56f899=_0x540636;return!_0x352c67['lGlUm'](isUndefined,_0x5b2596)&&(_0x56f899[_0x3490d5(0x1af)][_0x3490d5(0x1ef)]=JSON[_0x3490d5(0x22e)](_0x5b2596)),_0x1f6455[_0x3490d5(0x1a3)](()=>{},_0x3490d5(0x1c6)+JSON[_0x3490d5(0x22e)](_0x56f899));},o11ySync=async _0x14b6b9=>{const _0x554095=a1_0x492002,_0x548f1d={};_0x548f1d[_0x554095(0x1e2)]=function(_0x4e13b2,_0x45e64d){return _0x4e13b2===_0x45e64d;},_0x548f1d[_0x554095(0x1b2)]='Playwright';const _0x51ff82=_0x548f1d;_0x51ff82[_0x554095(0x1e2)](_0x14b6b9[_0x554095(0x1ba)][_0x554095(0x1d8)],_0x51ff82[_0x554095(0x1b2)])?await _0x14b6b9[_0x554095(0x1a3)](_0x24be03=>{},testOpsHelper[_0x554095(0x213)]()):await _0x14b6b9[_0x554095(0x1a3)](testOpsHelper[_0x554095(0x213)]());},markSessionName=async(_0x5012dc,_0x3f07d3)=>{const _0x3019e2=a1_0x492002,_0x3db36f={};_0x3db36f[_0x3019e2(0x1e5)]=_0x3019e2(0x21d),_0x3db36f[_0x3019e2(0x1a7)]=function(_0x4e4ec8,_0x17e68b){return _0x4e4ec8===_0x17e68b;},_0x3db36f[_0x3019e2(0x1ac)]=_0x3019e2(0x1e4);const _0x50d674=_0x3db36f,_0x8b44c7={};_0x8b44c7['name']=_0x3f07d3;const _0x350f82={};_0x350f82['action']=_0x50d674[_0x3019e2(0x1e5)],_0x350f82[_0x3019e2(0x1af)]=_0x8b44c7;const _0x51183d=_0x350f82;_0x50d674[_0x3019e2(0x1a7)](_0x5012dc[_0x3019e2(0x1ba)]['name'],_0x50d674[_0x3019e2(0x1ac)])?await _0x5012dc[_0x3019e2(0x1a3)](()=>{},_0x3019e2(0x1c6)+JSON[_0x3019e2(0x22e)](_0x51183d)):await _0x5012dc[_0x3019e2(0x1a3)]('browserstack_executor:\x20'+JSON[_0x3019e2(0x22e)](_0x51183d));},patchSaveScreenshot=_0x2389e2=>{const _0x468d67=a1_0x492002,_0x5efa15={'yjAMp':_0x468d67(0x21b),'WOYJi':_0x468d67(0x205),'MgpFz':function(_0x46654f){return _0x46654f();},'Bmmkm':function(_0x16272d,_0x2dc658){return _0x16272d(_0x2dc658);}};_0x5efa15[_0x468d67(0x22b)](isTrue,process[_0x468d67(0x1e9)][_0x468d67(0x1f7)])&&!_0x2389e2['patchSaveScreenshot']&&(_0x2389e2[_0x468d67(0x222)]=!![],_0x2389e2[_0x468d67(0x21a)]=_0x2389e2[_0x468d67(0x210)],_0x2389e2[_0x468d67(0x210)]=(_0x4023be,_0x5cc702=![])=>{const _0x1e61ad=_0x468d67,_0x2095b9={'qUYiD':_0x5efa15['yjAMp'],'aCAZe':_0x5efa15[_0x1e61ad(0x208)],'thpRD':function(_0x36574a){const _0x7a12cd=_0x1e61ad;return _0x5efa15[_0x7a12cd(0x1d2)](_0x36574a);}};return new Promise(function(_0x601714,_0x250a15){const _0x3918e3=_0x1e61ad;_0x2389e2['initSaveScreenshot'](_0x4023be,_0x5cc702)[_0x3918e3(0x1ea)](()=>{const _0x379ada=_0x3918e3,_0x51554e=CodeceptUtils[_0x379ada(0x233)](_0x4023be),_0x2911ff=fs[_0x379ada(0x1b1)](_0x51554e);process[_0x379ada(0x237)](_0x379ada(0x1a8)+process[_0x379ada(0x23a)],{'timestamp':new Date()['toISOString'](),'message':_0x2911ff[_0x379ada(0x23b)](_0x2095b9[_0x379ada(0x1d6)]),'kind':_0x2095b9[_0x379ada(0x19d)]}),_0x2095b9[_0x379ada(0x1b3)](_0x601714);})['catch'](()=>null);});});},patchWebDriverBefore=_0x1eb442=>{const _0x3b18d2=a1_0x492002,_0xc3d6ec={'wsYUO':function(_0x1e3390){return _0x1e3390();},'JtXfc':function(_0x213b4c,_0x5e0b70){return _0x213b4c(_0x5e0b70);},'mWzgY':function(_0x21fb7f,_0x2c289d){return _0x21fb7f===_0x2c289d;},'ozVVJ':_0x3b18d2(0x1d7)},_0x162576=async function(_0x4381fb,_0x47f26d){const _0x2c8d18=_0x3b18d2;return _0xc3d6ec['wsYUO'](isAccessibilityAutomationSession)&&!global[_0x2c8d18(0x1b4)]&&global[_0x2c8d18(0x1f6)]&&scripts[_0x2c8d18(0x1a2)](_0x4381fb['name'])&&_0xc3d6ec[_0x2c8d18(0x225)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x2c8d18(0x1b4)]=!![],logger[_0x2c8d18(0x204)](_0x2c8d18(0x1dd)+_0x4381fb['class']+'\x20'+_0x4381fb['name']),await AccessibilityHelper[_0x2c8d18(0x1de)](_0x1eb442,scripts['performScan'])),global[_0x2c8d18(0x1b4)]=![],_0x47f26d[_0x2c8d18(0x231)](this,Array['prototype'][_0x2c8d18(0x1fb)][_0x2c8d18(0x238)](arguments,0x2));},_0x49404a=CodeceptWebDriver[_0x3b18d2(0x202)][_0x3b18d2(0x20c)];CodeceptWebDriver[_0x3b18d2(0x202)][_0x3b18d2(0x20c)]=async function(){const _0x12e755=_0x3b18d2,_0x387197={'teXKN':function(_0x1e47a9,_0x4e4b41){const _0xb27a1c=a1_0x5380;return _0xc3d6ec[_0xb27a1c(0x1cd)](_0x1e47a9,_0x4e4b41);},'LctTz':_0xc3d6ec[_0x12e755(0x1ff)]};await _0x49404a[_0x12e755(0x231)](this,arguments),scripts[_0x12e755(0x1bc)][_0x12e755(0x1c0)](_0x55a271=>_0x55a271[_0x12e755(0x1d8)]&&_0x55a271[_0x12e755(0x1d9)])[_0x12e755(0x1fd)](_0x571395=>{const _0x58fa3e=_0x12e755;this[_0x58fa3e(0x1eb)][_0x58fa3e(0x1ed)](_0x571395[_0x58fa3e(0x1d8)],_0x162576[_0x58fa3e(0x239)](this,_0x571395),_0x387197['teXKN'](_0x571395[_0x58fa3e(0x1d9)],_0x387197[_0x58fa3e(0x1e3)]));}),_0xc3d6ec[_0x12e755(0x225)](processWebDriverConfig,_0x1eb442);};},patchPlaywrightBefore=()=>{const _0x3f58bc=a1_0x492002;PlaywrightSessionDetails['patch']();const _0x4f0a2d=CodeceptPlaywright['prototype']['_before'];CodeceptPlaywright['prototype'][_0x3f58bc(0x20c)]=async function(){const _0x2fb253=_0x3f58bc;this[_0x2fb253(0x1b0)]=await this[_0x2fb253(0x1eb)][_0x2fb253(0x20d)]()[0x0],await _0x4f0a2d[_0x2fb253(0x231)](this,arguments);};},getCodeceptDriver=()=>{const _0xe4f7b1=a1_0x492002,_0x4befdf={};_0x4befdf[_0xe4f7b1(0x20e)]=_0xe4f7b1(0x22a),_0x4befdf['oIyEB']=_0xe4f7b1(0x1e4),_0x4befdf[_0xe4f7b1(0x221)]='Puppeteer',_0x4befdf[_0xe4f7b1(0x1ee)]='TestCafe';const _0x41d68a=_0x4befdf,_0x5a7c05=[_0x41d68a[_0xe4f7b1(0x20e)],_0x41d68a[_0xe4f7b1(0x1e0)],_0x41d68a['pZioW'],_0x41d68a[_0xe4f7b1(0x1ee)]],_0x3b0fc7=_0x5a7c05[_0xe4f7b1(0x1a6)](_0x8fff6=>!!CodeceptJS[_0xe4f7b1(0x1c5)][_0xe4f7b1(0x1d0)](_0x8fff6));if(!_0x3b0fc7)return null;return CodeceptJS['container']['helpers'](_0x3b0fc7);};function a1_0x2858(){const _0x31a339=['format','qUYiD','Element','name','class','bddStepFinish','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','2737380wNjiBI','Performing\x20scan\x20for\x20','browserStackExecuteDriver','HOOK_RUN_STARTED','oIyEB','khsMM','GwYeF','LctTz','Playwright','dBqzW','passed','captureError','TEST_RUN_FINISHED','env','then','browser','RfPhY','overwriteCommand','uKIHq','reason','191YvNEjL','performScan','stop','start','exports','status','accessibilityPlatform','BS_TESTOPS_ALLOW_SCREENSHOTS','8681664nluGPw','tFZDJ','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','slice','../../bin/playwright/sessionDetails','forEach','../../helpers/accessibility-automation/helper','ozVVJ','ENV_VAR','EQOAV','prototype','../../helpers/helper','debug','TEST_SCREENSHOT','HOOK_RUN_FINISHED','3630852UmCYNG','WOYJi','../../helpers/accessibility-automation/scripts','event','__driver','_before','contexts','zsOPr','ctx','saveScreenshot','dispatcher','TEST_RUN_STARTED','getSyncScript','bddStep','all','__skipSessionStatus','xtUXx','Suite','skipSessionName','initSaveScreenshot','base64','TEST_LOG','setSessionName','TEST_RUN_SKIPPED','hook','skipSessionStatus','pZioW','patchSaveScreenshot','ymxGO','toISOString','JtXfc','../../helpers/testhub/constants.js','bddStepStart','../../helpers/request-spy','started','WebDriver','Bmmkm','winstonLogger','title','stringify','fireEvent','12027424MraNrs','apply','step','screenshotOutputFolder','./helper.js','12898OFztrf','before','emit','call','bind','pid','toString','84301ImDFNu','info','aCAZe','hTxHn','captureEvent','saveTestResults','4tIIidY','shouldWrapCommand','executeScript','uyEKt','stopMonitoring','find','eWTxQ','bs:addLog:','warn','add','startMonitoring','jzKqO','lECFB','BIgRB','arguments','browserContext','readFileSync','lYdmZ','thpRD','bstackAllyScanning','thBuildUuid','action','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','failed','after','constructor','restore','commandsToWrap','skipped','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','setSessionStatus','filter','hGhce','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','bZHxT','9NuNIYX','container','browserstack_executor:\x20','PJaDI','test','XoKyd','getResults','YjxXr','codeceptjs/lib/utils.js','mWzgY','../../helpers/test-observability/utils','5089395JfEzFk','helpers','__workerDetails','MgpFz','addRequestSpy','BROWSERSTACK_TESTHUB_UUID'];a1_0x2858=function(){return _0x31a339;};return a1_0x2858();}module[a1_0x492002(0x1f4)]=function(_0x22fce7){const _0x7c1b76=a1_0x492002,_0x2c40ac={'XoKyd':_0x7c1b76(0x1fa),'BIgRB':_0x7c1b76(0x1b7),'lECFB':function(_0x3140af){return _0x3140af();},'tFZDJ':function(_0x72b543){return _0x72b543();},'xtUXx':function(_0x33edc2,_0x11151c){return _0x33edc2(_0x11151c);},'khsMM':function(_0x3c7141,_0x4b4fb0,_0x58912c){return _0x3c7141(_0x4b4fb0,_0x58912c);},'hGhce':function(_0x350507,_0x38a713,_0x3a9f77){return _0x350507(_0x38a713,_0x3a9f77);},'Pvacn':function(_0x3e3778,_0x43248e,_0x45c7fb){return _0x3e3778(_0x43248e,_0x45c7fb);},'uyEKt':function(_0x1d2670){return _0x1d2670();},'RfPhY':function(_0x20038f,_0x494192,_0x2b5ce6,_0x50f250){return _0x20038f(_0x494192,_0x2b5ce6,_0x50f250);},'FSXRz':function(_0x32cf95,_0xed4fc3,_0x5b4fc6,_0x4ba69a){return _0x32cf95(_0xed4fc3,_0x5b4fc6,_0x4ba69a);},'fhVHS':function(_0x561eec,_0x5140f4){return _0x561eec===_0x5140f4;},'tvuDf':_0x7c1b76(0x218),'YjxXr':function(_0x3e8199,_0x5275c3,_0x4e4134){return _0x3e8199(_0x5275c3,_0x4e4134);},'PJaDI':function(_0x42afb8){return _0x42afb8();},'ymxGO':_0x7c1b76(0x1db),'hTxHn':'INFO','EQOAV':_0x7c1b76(0x21c),'amiSY':'Playwright'};_0x22fce7[_0x7c1b76(0x220)]&&(global[_0x7c1b76(0x216)]=_0x22fce7[_0x7c1b76(0x220)]);PerformanceTester[_0x7c1b76(0x1ab)]();const _0x5af180=_0x2c40ac[_0x7c1b76(0x1a4)](getCodeceptDriver),_0x13e929=new O11yHelper(_0x5af180,_0x22fce7),_0x1ee6c8=!!CodeceptJS[_0x7c1b76(0x1c5)][_0x7c1b76(0x1d0)](_0x2c40ac['amiSY']);global[_0x7c1b76(0x20b)]=_0x5af180,_0x5af180&&(_0x1ee6c8?_0x2c40ac[_0x7c1b76(0x1a4)](patchPlaywrightBefore):_0x2c40ac[_0x7c1b76(0x217)](patchWebDriverBefore,_0x5af180),_0x5af180['getAccessibilityResultsSummary']=async()=>{const _0x4fbc1c=_0x7c1b76;if(global[_0x4fbc1c(0x1f6)])await AccessibilityHelper[_0x4fbc1c(0x1de)](_0x5af180,scripts[_0x4fbc1c(0x1f1)]),await AccessibilityHelper[_0x4fbc1c(0x1de)](_0x5af180,scripts['getResultsSummary']);else return logger[_0x4fbc1c(0x1a9)](_0x2c40ac[_0x4fbc1c(0x1c9)]),{};},_0x5af180['getAccessibilityResults']=async()=>{const _0x28a008=_0x7c1b76;if(global[_0x28a008(0x1f6)])await AccessibilityHelper[_0x28a008(0x1de)](_0x5af180,scripts[_0x28a008(0x1f1)]),await AccessibilityHelper[_0x28a008(0x1de)](_0x5af180,scripts[_0x28a008(0x1ca)]);else return logger[_0x28a008(0x1a9)](_0x2c40ac[_0x28a008(0x1ae)]),{};},_0x2c40ac[_0x7c1b76(0x217)](patchSaveScreenshot,_0x5af180)),CodeceptJS['event'][_0x7c1b76(0x211)]['on'](CodeceptJS[_0x7c1b76(0x20a)][_0x7c1b76(0x215)][_0x7c1b76(0x236)],()=>{const _0x365ad4=_0x7c1b76;try{_0x13e929[_0x365ad4(0x1f3)](),testOpsHelper[_0x365ad4(0x1d3)]();}catch(_0x1390bb){PerformanceTester[_0x365ad4(0x1e7)](_0x1390bb);}}),CodeceptJS[_0x7c1b76(0x20a)][_0x7c1b76(0x211)]['on'](CodeceptJS[_0x7c1b76(0x20a)][_0x7c1b76(0x215)][_0x7c1b76(0x1b9)],async()=>{const _0xfe60=_0x7c1b76;try{requestSpy[_0xfe60(0x1bb)](),await _0x13e929[_0xfe60(0x1f2)]();}catch(_0x4b17f5){PerformanceTester[_0xfe60(0x1e7)](_0x4b17f5);}finally{PerformanceTester[_0xfe60(0x1a5)]();}}),CodeceptJS[_0x7c1b76(0x20a)][_0x7c1b76(0x211)]['on'](CodeceptJS['event']['hook'][_0x7c1b76(0x229)],_0x4c2e72=>{const _0x1ad5eb=_0x7c1b76;try{const _0x348bb3=_0x4c2e72[_0x1ad5eb(0x20f)]['test'],_0x30541b=_0x13e929[_0x1ad5eb(0x19f)](TEST_EVENTS[_0x1ad5eb(0x1df)],_0x348bb3);CodeceptRecorder[_0x1ad5eb(0x1aa)](()=>_0x13e929[_0x1ad5eb(0x22f)](TEST_EVENTS[_0x1ad5eb(0x1df)],_0x30541b));}catch(_0x145627){PerformanceTester[_0x1ad5eb(0x1e7)](_0x145627);}}),CodeceptJS[_0x7c1b76(0x20a)]['dispatcher']['on'](CodeceptJS[_0x7c1b76(0x20a)][_0x7c1b76(0x21f)]['passed'],_0x3d2584=>{const _0x237852=_0x7c1b76;try{const _0x20a6a4=_0x3d2584[_0x237852(0x20f)][_0x237852(0x1c8)],_0x4e40ed=_0x13e929[_0x237852(0x19f)](TEST_EVENTS[_0x237852(0x206)],_0x20a6a4);CodeceptRecorder[_0x237852(0x1aa)](()=>_0x13e929[_0x237852(0x22f)](TEST_EVENTS[_0x237852(0x206)],_0x4e40ed));}catch(_0x6d1a3){PerformanceTester[_0x237852(0x1e7)](_0x6d1a3);}}),CodeceptJS['event'][_0x7c1b76(0x211)]['on'](CodeceptJS[_0x7c1b76(0x20a)][_0x7c1b76(0x21f)]['failed'],async(_0x5b8477,_0x35efaf)=>{const _0x544780=_0x7c1b76;try{const _0x2b838e=_0x5b8477['ctx'][_0x544780(0x1c8)],_0x389125=_0x13e929[_0x544780(0x19f)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x2b838e,_0x35efaf);CodeceptRecorder[_0x544780(0x1aa)](()=>_0x13e929['fireEvent'](TEST_EVENTS[_0x544780(0x206)],_0x389125));}catch(_0x19849f){PerformanceTester[_0x544780(0x1e7)](_0x19849f);}}),CodeceptJS[_0x7c1b76(0x20a)]['dispatcher']['on'](CodeceptJS[_0x7c1b76(0x20a)][_0x7c1b76(0x1c8)][_0x7c1b76(0x236)],_0x2a6323=>{const _0x59509a=_0x7c1b76;try{_0x2c40ac[_0x59509a(0x1ad)](isBrowserstackInfra)&&(_0x1ee6c8&&(global[_0x59509a(0x1d1)]={'currentTest':{'name':_0x2a6323['title'],'testInfo':{'titlePath':_0x2a6323['titlePath']()}}}));}catch(_0x2b4d89){PerformanceTester['captureError'](_0x2b4d89);}}),CodeceptJS[_0x7c1b76(0x20a)][_0x7c1b76(0x211)]['on'](CodeceptJS[_0x7c1b76(0x20a)][_0x7c1b76(0x1c8)][_0x7c1b76(0x229)],_0x3609bb=>{const _0x39dd1c=_0x7c1b76;try{const _0x38ff7d=_0x13e929['captureEvent'](TEST_EVENTS[_0x39dd1c(0x212)],_0x3609bb);CodeceptRecorder[_0x39dd1c(0x1aa)](()=>_0x13e929['fireEvent'](TEST_EVENTS[_0x39dd1c(0x212)],_0x38ff7d)),CodeceptRecorder['add'](async()=>{const _0x4d629c=_0x39dd1c;_0x2c40ac[_0x4d629c(0x1f9)](isBrowserstackInfra)&&(!_0x2c40ac[_0x4d629c(0x217)](isTrue,_0x22fce7[_0x4d629c(0x219)])&&await _0x2c40ac[_0x4d629c(0x1e1)](markSessionName,_0x5af180,_0x3609bb[_0x4d629c(0x22d)]),_0x13e929['enabled']&&await _0x2c40ac[_0x4d629c(0x217)](o11ySync,_0x5af180));});}catch(_0x5f2624){PerformanceTester['captureError'](_0x5f2624);}}),CodeceptJS['event'][_0x7c1b76(0x211)]['on'](CodeceptJS[_0x7c1b76(0x20a)][_0x7c1b76(0x1c8)][_0x7c1b76(0x1e6)],_0x53e2b8=>{const _0x2f4bb2=_0x7c1b76;try{const _0xa2c218=_0x13e929[_0x2f4bb2(0x19f)](TEST_EVENTS[_0x2f4bb2(0x1e8)],_0x53e2b8);CodeceptRecorder[_0x2f4bb2(0x1aa)](()=>_0x13e929[_0x2f4bb2(0x22f)](TEST_EVENTS[_0x2f4bb2(0x1e8)],_0xa2c218)),CodeceptRecorder['add'](async()=>{const _0x2bbab2=_0x2f4bb2;_0x2c40ac['lECFB'](isBrowserstackInfra)&&(_0x1ee6c8?await _0x2c40ac[_0x2bbab2(0x1c1)](playwrightMarkSessionStatus,_0x5af180,STATE_PASSED):await _0x2c40ac['Pvacn'](markSessionStatus,_0x5af180,STATE_PASSED));});}catch(_0x5c4a80){PerformanceTester[_0x2f4bb2(0x1e7)](_0x5c4a80);}}),CodeceptJS[_0x7c1b76(0x20a)][_0x7c1b76(0x211)]['on'](CodeceptJS[_0x7c1b76(0x20a)][_0x7c1b76(0x1c8)][_0x7c1b76(0x1b8)],(_0x3b6c7d,_0x349781)=>{const _0xf573c=_0x7c1b76;try{if(_0x2c40ac['fhVHS'](_0x3b6c7d['constructor'][_0xf573c(0x1d8)],_0x2c40ac['tvuDf'])){const _0x1aa393=_0x13e929['captureEvent'](TEST_EVENTS[_0xf573c(0x21e)],_0x3b6c7d[_0xf573c(0x20f)]['currentTest']);CodeceptRecorder['add'](()=>_0x13e929[_0xf573c(0x22f)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x1aa393));}else{const _0x5a48ce=_0x13e929[_0xf573c(0x19f)](TEST_EVENTS[_0xf573c(0x1e8)],_0x3b6c7d,_0x349781);CodeceptRecorder[_0xf573c(0x1aa)](()=>{const _0x55a745=_0xf573c;try{_0x13e929['fireEvent'](TEST_EVENTS[_0x55a745(0x1e8)],_0x5a48ce);}catch(_0x5ccd12){logger[_0x55a745(0x204)]('Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20'+util['format'](_0x5ccd12));}}),CodeceptRecorder[_0xf573c(0x1aa)](async()=>{const _0x3b5100=_0xf573c;try{_0x2c40ac[_0x3b5100(0x1a4)](isBrowserstackInfra)&&(_0x1ee6c8?await _0x2c40ac[_0x3b5100(0x1ec)](playwrightMarkSessionStatus,_0x5af180,STATE_FAILED,_0x349781):await _0x2c40ac['FSXRz'](markSessionStatus,_0x5af180,STATE_FAILED,_0x349781));}catch(_0x4ad344){logger[_0x3b5100(0x204)](_0x3b5100(0x1c2)+util[_0x3b5100(0x1d5)](_0x4ad344));}});}}catch(_0x529d69){PerformanceTester[_0xf573c(0x1e7)](_0x529d69);}}),CodeceptJS[_0x7c1b76(0x20a)][_0x7c1b76(0x211)]['on'](CodeceptJS['event'][_0x7c1b76(0x1c8)][_0x7c1b76(0x1bd)],_0x551f43=>{const _0x3b84b3=_0x7c1b76;try{const _0x303f7a=_0x13e929[_0x3b84b3(0x19f)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x551f43);CodeceptRecorder['add'](()=>_0x13e929[_0x3b84b3(0x22f)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x303f7a));}catch(_0x35823e){PerformanceTester[_0x3b84b3(0x1e7)](_0x35823e);}}),CodeceptJS[_0x7c1b76(0x20a)][_0x7c1b76(0x211)]['on'](CodeceptJS[_0x7c1b76(0x20a)][_0x7c1b76(0x1c8)][_0x7c1b76(0x1b9)],async(_0x41d4d6,_0xcc5603)=>{const _0x46ea51=_0x7c1b76;try{if(_0x2c40ac['uyEKt'](isBrowserstackInfra)){const _0x465d25=_0x2c40ac[_0x46ea51(0x1cb)](shouldScanTestForAccessibility,_0x41d4d6['titlePath'](),!![]);if(_0x2c40ac[_0x46ea51(0x1c7)](isAccessibilityAutomationSession)&&global[_0x46ea51(0x1f6)]&&_0x465d25){const _0x48d2f0={};_0x48d2f0['thTestRunUuid']=_0x41d4d6['testAnalyticsId'],_0x48d2f0[_0x46ea51(0x1b5)]=process[_0x46ea51(0x1e9)][testHubConstants[_0x46ea51(0x200)][_0x46ea51(0x1d4)]],_0x48d2f0['thJwtToken']=process[_0x46ea51(0x1e9)][testHubConstants[_0x46ea51(0x200)]['BROWSERSTACK_TESTHUB_JWT']];const _0x53ecb8=_0x48d2f0;logger['debug'](_0x46ea51(0x1be)+JSON[_0x46ea51(0x22e)](_0x53ecb8)),CodeceptRecorder[_0x46ea51(0x1aa)](async()=>{const _0x247ee5=_0x46ea51;await AccessibilityHelper[_0x247ee5(0x1de)](_0x5af180,scripts[_0x247ee5(0x1f1)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x5af180,scripts[_0x247ee5(0x1a0)],_0x53ecb8);}),logger[_0x46ea51(0x23d)](_0x2c40ac[_0x46ea51(0x223)]);}}}catch(_0x44f1f9){PerformanceTester[_0x46ea51(0x1e7)](_0x44f1f9);}}),CodeceptJS[_0x7c1b76(0x20a)][_0x7c1b76(0x211)]['on'](CodeceptJS[_0x7c1b76(0x20a)][_0x7c1b76(0x232)]['comment'],_0x4d04c3=>{const _0x1f50b4=_0x7c1b76;try{process[_0x1f50b4(0x237)](_0x1f50b4(0x1a8)+process[_0x1f50b4(0x23a)],{'timestamp':new Date()[_0x1f50b4(0x224)](),'level':_0x2c40ac[_0x1f50b4(0x19e)],'message':_0x4d04c3,'kind':_0x2c40ac[_0x1f50b4(0x201)],'http_response':{}});}catch(_0x5b8847){PerformanceTester['captureError'](_0x5b8847);}}),CodeceptJS[_0x7c1b76(0x20a)][_0x7c1b76(0x211)]['on'](CodeceptJS[_0x7c1b76(0x20a)][_0x7c1b76(0x214)][_0x7c1b76(0x236)],_0xda2767=>{const _0xa3306=_0x7c1b76;_0x13e929[_0xa3306(0x227)](_0xda2767);}),CodeceptJS[_0x7c1b76(0x20a)][_0x7c1b76(0x211)]['on'](CodeceptJS['event'][_0x7c1b76(0x214)][_0x7c1b76(0x1b9)],_0x7a3eee=>{const _0x1e769b=_0x7c1b76;_0x13e929[_0x1e769b(0x1da)](_0x7a3eee);});};
1
+ const a1_0x268709=a1_0x3324;function a1_0x3324(_0x2f7730,_0x3c53da){const _0x3bc47a=a1_0x3bc4();return a1_0x3324=function(_0x33244,_0xdf536c){_0x33244=_0x33244-0x125;let _0x1b106b=_0x3bc47a[_0x33244];return _0x1b106b;},a1_0x3324(_0x2f7730,_0x3c53da);}(function(_0x299113,_0x1dae15){const _0x2edaac=a1_0x3324,_0xeb2f54=_0x299113();while(!![]){try{const _0x3d575b=parseInt(_0x2edaac(0x1b0))/0x1*(parseInt(_0x2edaac(0x199))/0x2)+-parseInt(_0x2edaac(0x192))/0x3+parseInt(_0x2edaac(0x146))/0x4*(-parseInt(_0x2edaac(0x186))/0x5)+parseInt(_0x2edaac(0x184))/0x6+-parseInt(_0x2edaac(0x1bc))/0x7+parseInt(_0x2edaac(0x128))/0x8*(parseInt(_0x2edaac(0x17c))/0x9)+-parseInt(_0x2edaac(0x1a2))/0xa*(-parseInt(_0x2edaac(0x18d))/0xb);if(_0x3d575b===_0x1dae15)break;else _0xeb2f54['push'](_0xeb2f54['shift']());}catch(_0x68f1f){_0xeb2f54['push'](_0xeb2f54['shift']());}}}(a1_0x3bc4,0x8b412));const fs=require('fs'),util=require(a1_0x268709(0x1b2)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x268709(0x18e)),logger=require(a1_0x268709(0x1a3))['winstonLogger'],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require(a1_0x268709(0x1be)),PlaywrightSessionDetails=require(a1_0x268709(0x195)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x268709(0x125)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x268709(0x15c)),AccessibilityHelper=require('../../bin/playwright/accessibility-helper'),scripts=require(a1_0x268709(0x12f)),PerformanceTester=require('../../helpers/performance-tester'),{processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),testHubConstants=require(a1_0x268709(0x191)),CodeceptJS=requireModule('codeceptjs/lib/index.js'),CodeceptUtils=requireModule(a1_0x268709(0x18b)),CodeceptWebDriver=requireModule(a1_0x268709(0x182)),CodeceptRecorder=requireModule(a1_0x268709(0x129)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js'),playwrightMarkSessionStatus=(_0x1d324c,_0x16c934,_0x26ed97)=>{const _0x265d1e=a1_0x268709,_0xf5896d={'GvEwl':_0x265d1e(0x1b9),'islkH':function(_0x2d792b,_0x5066ae){return _0x2d792b(_0x5066ae);}},_0x918473={};_0x918473[_0x265d1e(0x163)]=_0x16c934;const _0xb7c755={};_0xb7c755[_0x265d1e(0x143)]=_0xf5896d['GvEwl'],_0xb7c755[_0x265d1e(0x132)]=_0x918473;const _0x5da98f=_0xb7c755;return!_0xf5896d[_0x265d1e(0x133)](isUndefined,_0x26ed97)&&(_0x5da98f['arguments']['reason']=JSON[_0x265d1e(0x13b)](_0x26ed97)),_0x1d324c[_0x265d1e(0x19f)](()=>{},'browserstack_executor:\x20'+JSON['stringify'](_0x5da98f));},o11ySync=async _0x2fbba0=>{const _0x57137c=a1_0x268709,_0x3ecf17={};_0x3ecf17[_0x57137c(0x1bd)]=function(_0x24bf7b,_0x75d1dd){return _0x24bf7b===_0x75d1dd;},_0x3ecf17[_0x57137c(0x1ad)]='Playwright';const _0x578fc5=_0x3ecf17;_0x578fc5['WTpue'](_0x2fbba0[_0x57137c(0x162)][_0x57137c(0x19a)],_0x578fc5[_0x57137c(0x1ad)])?await _0x2fbba0['executeScript'](_0x13b5f7=>{},testOpsHelper[_0x57137c(0x194)]()):await _0x2fbba0[_0x57137c(0x19f)](testOpsHelper[_0x57137c(0x194)]());},markSessionName=async(_0x18c38f,_0x132f14)=>{const _0x5433ee=a1_0x268709,_0x12cdb8={};_0x12cdb8[_0x5433ee(0x183)]=_0x5433ee(0x160),_0x12cdb8['XyvNR']=function(_0x1baff6,_0xffd80){return _0x1baff6===_0xffd80;},_0x12cdb8[_0x5433ee(0x141)]=_0x5433ee(0x17e);const _0x6a0081=_0x12cdb8,_0x36f5eb={};_0x36f5eb[_0x5433ee(0x19a)]=_0x132f14;const _0x2012ef={};_0x2012ef['action']=_0x6a0081[_0x5433ee(0x183)],_0x2012ef[_0x5433ee(0x132)]=_0x36f5eb;const _0x308ce6=_0x2012ef;_0x6a0081['XyvNR'](_0x18c38f[_0x5433ee(0x162)][_0x5433ee(0x19a)],_0x6a0081[_0x5433ee(0x141)])?await _0x18c38f[_0x5433ee(0x19f)](()=>{},_0x5433ee(0x14e)+JSON[_0x5433ee(0x13b)](_0x308ce6)):await _0x18c38f[_0x5433ee(0x19f)](_0x5433ee(0x14e)+JSON[_0x5433ee(0x13b)](_0x308ce6));},patchSaveScreenshot=_0x89eba0=>{const _0x529c56=a1_0x268709,_0x30c28f={'SjTmz':_0x529c56(0x198),'TgFUv':'TEST_SCREENSHOT','AQJmP':function(_0x3c216c){return _0x3c216c();},'vRRDw':function(_0x73f454,_0x73201b){return _0x73f454(_0x73201b);}};_0x30c28f['vRRDw'](isTrue,process[_0x529c56(0x155)]['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x89eba0[_0x529c56(0x13d)]&&(_0x89eba0[_0x529c56(0x13d)]=!![],_0x89eba0[_0x529c56(0x197)]=_0x89eba0[_0x529c56(0x18a)],_0x89eba0[_0x529c56(0x18a)]=(_0x7e0647,_0x335b6a=![])=>{const _0x4c6da4=_0x529c56,_0x1ea7b8={'fSNWb':_0x30c28f[_0x4c6da4(0x161)],'EjbhZ':_0x30c28f[_0x4c6da4(0x150)],'EEbwE':function(_0x553c0b){const _0x164e04=_0x4c6da4;return _0x30c28f[_0x164e04(0x176)](_0x553c0b);}};return new Promise(function(_0x5a46f6,_0xc7e9c6){const _0x150438=_0x4c6da4;_0x89eba0[_0x150438(0x197)](_0x7e0647,_0x335b6a)[_0x150438(0x1c3)](()=>{const _0x528629=_0x150438,_0x104767=CodeceptUtils[_0x528629(0x1a8)](_0x7e0647),_0xf819fb=fs['readFileSync'](_0x104767);process[_0x528629(0x158)](_0x528629(0x1ab)+process['pid'],{'timestamp':new Date()[_0x528629(0x185)](),'message':_0xf819fb[_0x528629(0x140)](_0x1ea7b8[_0x528629(0x135)]),'kind':_0x1ea7b8[_0x528629(0x1c0)]}),_0x1ea7b8[_0x528629(0x17b)](_0x5a46f6);})[_0x150438(0x127)](()=>null);});});},patchWebDriverBefore=_0x252209=>{const _0x44eb91=a1_0x268709,_0x5e4ee4={'VKPnN':function(_0x4bdf08){return _0x4bdf08();},'ujWZa':function(_0x2d0241,_0x1cf506){return _0x2d0241(_0x1cf506);},'gYDjD':function(_0x3f3245,_0x494171){return _0x3f3245===_0x494171;},'xXPgX':'Element'},_0x59ba70=async function(_0x173df5,_0x1a85fd){const _0x322a19=a1_0x3324;return _0x5e4ee4[_0x322a19(0x1b4)](isAccessibilityAutomationSession)&&!global[_0x322a19(0x17a)]&&global[_0x322a19(0x19d)]&&scripts[_0x322a19(0x1a4)](_0x173df5[_0x322a19(0x19a)])&&_0x5e4ee4[_0x322a19(0x131)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x322a19(0x17a)]=!![],logger[_0x322a19(0x14c)](_0x322a19(0x1ae)+_0x173df5[_0x322a19(0x16a)]+'\x20'+_0x173df5[_0x322a19(0x19a)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x252209,scripts[_0x322a19(0x151)])),global[_0x322a19(0x17a)]=![],_0x1a85fd[_0x322a19(0x16d)](this,Array[_0x322a19(0x1b1)][_0x322a19(0x19b)][_0x322a19(0x1a6)](arguments,0x2));},_0x3d5848=CodeceptWebDriver[_0x44eb91(0x1b1)]['_before'];CodeceptWebDriver['prototype'][_0x44eb91(0x190)]=async function(){const _0x4ce1e1=_0x44eb91,_0x59f500={'pCNgZ':function(_0x2231cf,_0x382564){return _0x5e4ee4['gYDjD'](_0x2231cf,_0x382564);},'HhfMK':_0x5e4ee4[_0x4ce1e1(0x144)]};await _0x3d5848['apply'](this,arguments),scripts[_0x4ce1e1(0x152)][_0x4ce1e1(0x134)](_0x5abf32=>_0x5abf32[_0x4ce1e1(0x19a)]&&_0x5abf32[_0x4ce1e1(0x16a)])[_0x4ce1e1(0x159)](_0x2ad965=>{const _0x43785=_0x4ce1e1;this[_0x43785(0x13c)]['overwriteCommand'](_0x2ad965[_0x43785(0x19a)],_0x59ba70['bind'](this,_0x2ad965),_0x59f500[_0x43785(0x145)](_0x2ad965[_0x43785(0x16a)],_0x59f500[_0x43785(0x12e)]));}),_0x5e4ee4['ujWZa'](processWebDriverConfig,_0x252209);};},patchPlaywrightBefore=()=>{const _0x5093d2=a1_0x268709;PlaywrightSessionDetails[_0x5093d2(0x1b5)]();const _0x292250=CodeceptPlaywright['prototype'][_0x5093d2(0x190)];CodeceptPlaywright[_0x5093d2(0x1b1)][_0x5093d2(0x190)]=async function(){const _0x322dcb=_0x5093d2;this[_0x322dcb(0x1bb)]=await this['browser'][_0x322dcb(0x179)]()[0x0],await _0x292250['apply'](this,arguments);};},getCodeceptDriver=()=>{const _0x3aba4b=a1_0x268709,_0x2ceb82={};_0x2ceb82[_0x3aba4b(0x15d)]=_0x3aba4b(0x174),_0x2ceb82[_0x3aba4b(0x1a7)]=_0x3aba4b(0x17e),_0x2ceb82[_0x3aba4b(0x1bf)]='Puppeteer',_0x2ceb82[_0x3aba4b(0x156)]=_0x3aba4b(0x14f);const _0x53031e=_0x2ceb82,_0x3a8a8a=[_0x53031e[_0x3aba4b(0x15d)],_0x53031e['mydzL'],_0x53031e[_0x3aba4b(0x1bf)],_0x53031e[_0x3aba4b(0x156)]],_0xc571a4=_0x3a8a8a[_0x3aba4b(0x1af)](_0x2d0a68=>!!CodeceptJS['container'][_0x3aba4b(0x12b)](_0x2d0a68));if(!_0xc571a4)return null;return CodeceptJS[_0x3aba4b(0x148)]['helpers'](_0xc571a4);};module[a1_0x268709(0x17f)]=function(_0x13d5a2){const _0x2937a1=a1_0x268709,_0x9951be={'MbarH':_0x2937a1(0x1c4),'drTVS':_0x2937a1(0x1b8),'qYkEG':function(_0x1217c7){return _0x1217c7();},'fotOm':function(_0x105e78,_0x38c00e){return _0x105e78(_0x38c00e);},'jXqWu':function(_0x3bb780,_0x5db82f,_0x2ded14){return _0x3bb780(_0x5db82f,_0x2ded14);},'jtUkr':function(_0x206b94){return _0x206b94();},'hKCPz':function(_0x1a6785,_0x33a973,_0x310149,_0x20e705){return _0x1a6785(_0x33a973,_0x310149,_0x20e705);},'mgXKa':function(_0x279b2e,_0x45f0ac){return _0x279b2e===_0x45f0ac;},'iyUcj':_0x2937a1(0x18f),'ubFpe':function(_0x8c15ab){return _0x8c15ab();},'vfcgN':function(_0x5691db,_0x516c6a,_0x31b01d){return _0x5691db(_0x516c6a,_0x31b01d);},'btcdb':_0x2937a1(0x15e),'gvGTk':'INFO','CXxXN':_0x2937a1(0x14b),'PnuIV':function(_0x4c7e82){return _0x4c7e82();},'BpbHQ':'Playwright','pKkeH':function(_0x2c0710,_0x4cecc2){return _0x2c0710(_0x4cecc2);}};_0x13d5a2[_0x2937a1(0x139)]&&(global[_0x2937a1(0x166)]=_0x13d5a2[_0x2937a1(0x139)]);PerformanceTester[_0x2937a1(0x1a0)]();const _0x2fd52a=_0x9951be[_0x2937a1(0x13f)](getCodeceptDriver),_0xe0e34d=new O11yHelper(_0x2fd52a,_0x13d5a2),_0x54d911=!!CodeceptJS[_0x2937a1(0x148)][_0x2937a1(0x12b)](_0x9951be['BpbHQ']);global[_0x2937a1(0x12d)]=_0x2fd52a,_0x2fd52a&&(_0x54d911?_0x9951be[_0x2937a1(0x13f)](patchPlaywrightBefore):_0x9951be[_0x2937a1(0x137)](patchWebDriverBefore,_0x2fd52a),_0x2fd52a[_0x2937a1(0x19e)]=async()=>{const _0x11b322=_0x2937a1;if(global[_0x11b322(0x19d)])await AccessibilityHelper['browserStackExecuteDriver'](_0x2fd52a,scripts[_0x11b322(0x151)]),await AccessibilityHelper[_0x11b322(0x1a9)](_0x2fd52a,scripts[_0x11b322(0x149)]);else return logger[_0x11b322(0x193)](_0x9951be[_0x11b322(0x16b)]),{};},_0x2fd52a[_0x2937a1(0x175)]=async()=>{const _0x349b70=_0x2937a1;if(global[_0x349b70(0x19d)])await AccessibilityHelper[_0x349b70(0x1a9)](_0x2fd52a,scripts['performScan']),await AccessibilityHelper['browserStackExecuteDriver'](_0x2fd52a,scripts[_0x349b70(0x171)]);else return logger[_0x349b70(0x193)](_0x9951be['drTVS']),{};},_0x9951be[_0x2937a1(0x147)](patchSaveScreenshot,_0x2fd52a)),CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x15f)]['on'](CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x196)][_0x2937a1(0x15b)],()=>{const _0xf45c0b=_0x2937a1;try{_0xe0e34d[_0xf45c0b(0x16f)](),testOpsHelper[_0xf45c0b(0x172)]();}catch(_0x5e794d){PerformanceTester[_0xf45c0b(0x188)](_0x5e794d);}}),CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x15f)]['on'](CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x196)]['after'],async()=>{const _0xf9ffaf=_0x2937a1;try{requestSpy[_0xf9ffaf(0x142)](),await _0xe0e34d[_0xf9ffaf(0x1b3)]();}catch(_0x302ee3){PerformanceTester[_0xf9ffaf(0x188)](_0x302ee3);}finally{PerformanceTester[_0xf9ffaf(0x13e)]();}}),CodeceptJS['event'][_0x2937a1(0x15f)]['on'](CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x1a5)][_0x2937a1(0x12a)],_0x675025=>{const _0x49a659=_0x2937a1;try{const _0x1c59d3=_0x675025[_0x49a659(0x17d)]['test'],_0xb96402=_0xe0e34d['captureEvent'](TEST_EVENTS[_0x49a659(0x1aa)],_0x1c59d3);CodeceptRecorder['add'](()=>_0xe0e34d[_0x49a659(0x173)](TEST_EVENTS[_0x49a659(0x1aa)],_0xb96402));}catch(_0x455742){PerformanceTester[_0x49a659(0x188)](_0x455742);}}),CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x15f)]['on'](CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x1a5)][_0x2937a1(0x138)],_0x4c35c7=>{const _0x341603=_0x2937a1;try{const _0x74d8c1=_0x4c35c7[_0x341603(0x17d)][_0x341603(0x1c5)],_0x5d23bc=_0xe0e34d['captureEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x74d8c1);CodeceptRecorder[_0x341603(0x168)](()=>_0xe0e34d['fireEvent'](TEST_EVENTS[_0x341603(0x19c)],_0x5d23bc));}catch(_0x4db7a6){PerformanceTester[_0x341603(0x188)](_0x4db7a6);}}),CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x15f)]['on'](CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x1a5)][_0x2937a1(0x13a)],async(_0x5b47e2,_0x161237)=>{const _0x129885=_0x2937a1;try{const _0x5264bd=_0x5b47e2[_0x129885(0x17d)]['test'],_0x2800e6=_0xe0e34d['captureEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x5264bd,_0x161237);CodeceptRecorder['add'](()=>_0xe0e34d[_0x129885(0x173)](TEST_EVENTS[_0x129885(0x19c)],_0x2800e6));}catch(_0x35047d){PerformanceTester[_0x129885(0x188)](_0x35047d);}}),CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x15f)]['on'](CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x1c5)][_0x2937a1(0x15b)],_0x5a64b3=>{const _0x44901a=_0x2937a1;try{_0x9951be[_0x44901a(0x12c)](isBrowserstackInfra)&&(_0x54d911&&(global['__workerDetails']={'currentTest':{'name':_0x5a64b3['title'],'testInfo':{'titlePath':_0x5a64b3[_0x44901a(0x164)]()}}}));}catch(_0x1ee2cd){PerformanceTester[_0x44901a(0x188)](_0x1ee2cd);}}),CodeceptJS[_0x2937a1(0x178)]['dispatcher']['on'](CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x1c5)][_0x2937a1(0x12a)],_0x33014a=>{const _0x356d09=_0x2937a1;try{const _0x4ca194=_0xe0e34d[_0x356d09(0x15a)](TEST_EVENTS[_0x356d09(0x18c)],_0x33014a);CodeceptRecorder[_0x356d09(0x168)](()=>_0xe0e34d[_0x356d09(0x173)](TEST_EVENTS[_0x356d09(0x18c)],_0x4ca194)),CodeceptRecorder['add'](async()=>{const _0x5bb125=_0x356d09;_0x9951be['qYkEG'](isBrowserstackInfra)&&(!_0x9951be[_0x5bb125(0x137)](isTrue,_0x13d5a2[_0x5bb125(0x165)])&&await _0x9951be[_0x5bb125(0x1b6)](markSessionName,_0x2fd52a,_0x33014a['title']),_0xe0e34d[_0x5bb125(0x1c2)]&&await _0x9951be[_0x5bb125(0x137)](o11ySync,_0x2fd52a));});}catch(_0x4bdcb9){PerformanceTester[_0x356d09(0x188)](_0x4bdcb9);}}),CodeceptJS['event'][_0x2937a1(0x15f)]['on'](CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x1c5)][_0x2937a1(0x138)],_0x5762d6=>{const _0x42833c=_0x2937a1;try{const _0x31ed82=_0xe0e34d[_0x42833c(0x15a)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x5762d6);CodeceptRecorder[_0x42833c(0x168)](()=>_0xe0e34d[_0x42833c(0x173)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x31ed82)),CodeceptRecorder[_0x42833c(0x168)](async()=>{const _0x308be8=_0x42833c;_0x9951be[_0x308be8(0x1a1)](isBrowserstackInfra)&&(_0x54d911?await _0x9951be['jXqWu'](playwrightMarkSessionStatus,_0x2fd52a,STATE_PASSED):await _0x9951be[_0x308be8(0x1b6)](markSessionStatus,_0x2fd52a,STATE_PASSED));});}catch(_0x290dcf){PerformanceTester[_0x42833c(0x188)](_0x290dcf);}}),CodeceptJS[_0x2937a1(0x178)]['dispatcher']['on'](CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x1c5)][_0x2937a1(0x13a)],(_0x543a77,_0x47c726)=>{const _0x14368b=_0x2937a1,_0x15fb3c={'zhFlJ':function(_0x5b533d){const _0x23d800=a1_0x3324;return _0x9951be[_0x23d800(0x1a1)](_0x5b533d);},'MPIbG':function(_0x27e54a,_0x3c0a22,_0x5a9ad7,_0x305a37){const _0x1b3243=a1_0x3324;return _0x9951be[_0x1b3243(0x130)](_0x27e54a,_0x3c0a22,_0x5a9ad7,_0x305a37);},'MdpJr':function(_0x3ba051,_0x3bf7fd,_0x357c07,_0x57e9de){const _0x5954f0=a1_0x3324;return _0x9951be[_0x5954f0(0x130)](_0x3ba051,_0x3bf7fd,_0x357c07,_0x57e9de);}};try{if(_0x9951be[_0x14368b(0x1c1)](_0x543a77[_0x14368b(0x162)][_0x14368b(0x19a)],_0x9951be[_0x14368b(0x14a)])){const _0x175839=_0xe0e34d[_0x14368b(0x15a)](TEST_EVENTS[_0x14368b(0x1ba)],_0x543a77['ctx']['currentTest']);CodeceptRecorder[_0x14368b(0x168)](()=>_0xe0e34d['fireEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x175839));}else{const _0x81e9df=_0xe0e34d['captureEvent'](TEST_EVENTS[_0x14368b(0x136)],_0x543a77,_0x47c726);CodeceptRecorder[_0x14368b(0x168)](()=>{const _0x3ba660=_0x14368b;try{_0xe0e34d[_0x3ba660(0x173)](TEST_EVENTS[_0x3ba660(0x136)],_0x81e9df);}catch(_0x4982dc){logger['debug'](_0x3ba660(0x153)+util[_0x3ba660(0x170)](_0x4982dc));}}),CodeceptRecorder['add'](async()=>{const _0x370ec0=_0x14368b;try{_0x15fb3c[_0x370ec0(0x1c6)](isBrowserstackInfra)&&(_0x54d911?await _0x15fb3c['MPIbG'](playwrightMarkSessionStatus,_0x2fd52a,STATE_FAILED,_0x47c726):await _0x15fb3c[_0x370ec0(0x1b7)](markSessionStatus,_0x2fd52a,STATE_FAILED,_0x47c726));}catch(_0x2e3c94){logger[_0x370ec0(0x14c)](_0x370ec0(0x169)+util[_0x370ec0(0x170)](_0x2e3c94));}});}}catch(_0x391087){PerformanceTester[_0x14368b(0x188)](_0x391087);}}),CodeceptJS[_0x2937a1(0x178)]['dispatcher']['on'](CodeceptJS['event'][_0x2937a1(0x1c5)]['skipped'],_0x29a698=>{const _0x3e71ec=_0x2937a1;try{const _0x264057=_0xe0e34d[_0x3e71ec(0x15a)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x29a698);CodeceptRecorder['add'](()=>_0xe0e34d[_0x3e71ec(0x173)](TEST_EVENTS[_0x3e71ec(0x1ba)],_0x264057));}catch(_0x3e3cd0){PerformanceTester[_0x3e71ec(0x188)](_0x3e3cd0);}}),CodeceptJS[_0x2937a1(0x178)]['dispatcher']['on'](CodeceptJS['event'][_0x2937a1(0x1c5)][_0x2937a1(0x180)],async(_0x523774,_0x309985)=>{const _0x4e940e=_0x2937a1;try{if(_0x9951be[_0x4e940e(0x14d)](isBrowserstackInfra)){const _0x51cd7a=_0x9951be['vfcgN'](shouldScanTestForAccessibility,_0x523774[_0x4e940e(0x164)](),!![]);if(_0x9951be['jtUkr'](isAccessibilityAutomationSession)&&global[_0x4e940e(0x19d)]&&_0x51cd7a){const _0x391cec={};_0x391cec[_0x4e940e(0x181)]=_0x523774['testAnalyticsId'],_0x391cec['thBuildUuid']=process[_0x4e940e(0x155)][testHubConstants['ENV_VAR'][_0x4e940e(0x16e)]],_0x391cec['thJwtToken']=process['env'][testHubConstants[_0x4e940e(0x189)]['BROWSERSTACK_TESTHUB_JWT']];const _0x8d9b8=_0x391cec;logger[_0x4e940e(0x14c)](_0x4e940e(0x157)+JSON[_0x4e940e(0x13b)](_0x8d9b8)),CodeceptRecorder[_0x4e940e(0x168)](async()=>{const _0x391664=_0x4e940e;await AccessibilityHelper[_0x391664(0x1a9)](_0x2fd52a,scripts[_0x391664(0x151)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x2fd52a,scripts['saveTestResults'],_0x8d9b8);}),logger[_0x4e940e(0x154)](_0x9951be['btcdb']);}}}catch(_0x22a9b2){PerformanceTester[_0x4e940e(0x188)](_0x22a9b2);}}),CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x15f)]['on'](CodeceptJS[_0x2937a1(0x178)]['step'][_0x2937a1(0x187)],_0x43812c=>{const _0x10eb6d=_0x2937a1;try{process['emit']('bs:addLog:'+process[_0x10eb6d(0x177)],{'timestamp':new Date()[_0x10eb6d(0x185)](),'level':_0x9951be[_0x10eb6d(0x16c)],'message':_0x43812c,'kind':_0x9951be[_0x10eb6d(0x126)],'http_response':{}});}catch(_0x11cfd7){PerformanceTester[_0x10eb6d(0x188)](_0x11cfd7);}}),CodeceptJS[_0x2937a1(0x178)][_0x2937a1(0x15f)]['on'](CodeceptJS[_0x2937a1(0x178)]['bddStep'][_0x2937a1(0x15b)],_0x5edc7a=>{_0xe0e34d['bddStepStart'](_0x5edc7a);}),CodeceptJS['event'][_0x2937a1(0x15f)]['on'](CodeceptJS['event'][_0x2937a1(0x167)][_0x2937a1(0x180)],_0x363e0d=>{const _0x32564b=_0x2937a1;_0xe0e34d[_0x32564b(0x1ac)](_0x363e0d);});};function a1_0x3bc4(){const _0x5322d6=['test','zhFlJ','./o11yHelper','CXxXN','catch','184RBxuVq','codeceptjs/lib/recorder.js','started','helpers','qYkEG','__driver','HhfMK','../../helpers/accessibility-automation/scripts','hKCPz','ujWZa','arguments','islkH','filter','fSNWb','TEST_RUN_FINISHED','fotOm','passed','skipSessionStatus','failed','stringify','browser','patchSaveScreenshot','stopMonitoring','PnuIV','toString','QmZvT','restore','action','xXPgX','pCNgZ','8oXwBqK','pKkeH','container','getResultsSummary','iyUcj','TEST_LOG','debug','ubFpe','browserstack_executor:\x20','TestCafe','TgFUv','performScan','commandsToWrap','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','info','env','EdHdN','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','emit','forEach','captureEvent','before','../../helpers/accessibility-automation/helper','NKgQz','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','dispatcher','setSessionName','SjTmz','constructor','status','titlePath','skipSessionName','__skipSessionStatus','bddStep','add','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','class','MbarH','gvGTk','apply','BROWSERSTACK_TESTHUB_UUID','start','format','getResults','addRequestSpy','fireEvent','WebDriver','getAccessibilityResults','AQJmP','pid','event','contexts','bstackAllyScanning','EEbwE','285633VeSxIh','ctx','Playwright','exports','after','thTestRunUuid','codeceptjs/lib/helper/WebDriver.js','syYev','976530JNNCws','toISOString','308190oJTmTW','comment','captureError','ENV_VAR','saveScreenshot','codeceptjs/lib/utils.js','TEST_RUN_STARTED','213741PeHfLI','../../helpers/helper','Suite','_before','../../helpers/testhub/constants.js','2753382gnAhay','warn','getSyncScript','../../bin/playwright/sessionDetails','all','initSaveScreenshot','base64','33344GBJVZR','name','slice','HOOK_RUN_FINISHED','accessibilityPlatform','getAccessibilityResultsSummary','executeScript','startMonitoring','jtUkr','130tmQYAJ','../../helpers/logger','shouldWrapCommand','hook','call','mydzL','screenshotOutputFolder','browserStackExecuteDriver','HOOK_RUN_STARTED','bs:addLog:','bddStepFinish','CtYTI','Performing\x20scan\x20for\x20','find','37iDLFyQ','prototype','util','stop','VKPnN','patch','jXqWu','MdpJr','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','setSessionStatus','TEST_RUN_SKIPPED','browserContext','1055019BleeoD','WTpue','../../helpers/request-spy','WqiSE','EjbhZ','mgXKa','enabled','then','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.'];a1_0x3bc4=function(){return _0x5322d6;};return a1_0x3bc4();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a2_0x14ec48=a2_0x1f94;(function(_0x2eab83,_0x404e58){const _0x418d60=a2_0x1f94,_0x5c4f97=_0x2eab83();while(!![]){try{const _0x25f31f=parseInt(_0x418d60(0x100))/0x1*(parseInt(_0x418d60(0x113))/0x2)+-parseInt(_0x418d60(0x11a))/0x3*(parseInt(_0x418d60(0x123))/0x4)+-parseInt(_0x418d60(0x129))/0x5*(parseInt(_0x418d60(0x103))/0x6)+parseInt(_0x418d60(0xfc))/0x7+parseInt(_0x418d60(0x106))/0x8+parseInt(_0x418d60(0xc0))/0x9*(-parseInt(_0x418d60(0x119))/0xa)+parseInt(_0x418d60(0x122))/0xb;if(_0x25f31f===_0x404e58)break;else _0x5c4f97['push'](_0x5c4f97['shift']());}catch(_0x4c19a8){_0x5c4f97['push'](_0x5c4f97['shift']());}}}(a2_0x1786,0x5db69));function a2_0x1786(){const _0x11e82d=['stack','config','codeceptjs','1392410jWkhbq','stop','cwd','skipSessionName','slice','TYVbj','950bcRhwx','213mPKmjJ','browserWSEndpoint','finalExecution','EUtje','CAkUu','root','toLowerCase','webkit','1110230DSrDEe','42052NkAXcf','../../helpers/BrowserStackSetup','spawn','../../helpers/logger','mergeDeep','ZhlkZ','23050hXkAwj','Thbgr','Failed\x20:\x20','FRAMEWORKS','playwright-webkit','debug','../../helpers/testhub/testhubHandler','pHBMI','findIndex','BrowserStackPlugin','map','join','false','log','SFGPy','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','run','--config','test','addConfig','uTfGH','createGroupsOfSuites','info','codecept.json','BrowserStackPlugin.js','bTvfJ','../../helpers/utilities','tKtFl','QOadk','rURnS','getPlaywrightUrl','testContextOptions','printBuildLink','UTHTB','nXzVs','handleApp','glMKH','initialize','process','13509GHJPok','split','irSTX','ekUQJ','testObservability','winstonLogger','accessibility','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','err','gherkin','frameworkName','Passed\x20:\x20','codeceptjs/lib/index.js','accessibilityOptions','CODECEPT','bootstrapAll','browser','prepareCapabilities','kBsGd','BROWSERSTACK_RERUN_TESTS','browserName','event','Ybzsm','PQOOy','result','getPlatformName','plugins','uwzEY','title','isUndefined','BROWSERSTACK_RERUN','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','chromium','isTrue','all','fvUJk','desiredCapabilities','existsSync','skipSessionStatus','null','gmTao','firefox','failed','stringify','WebDriver','JfkVX','Playwright','validPlatformsPresent','EvlPj','IueCI','trim','fhapB','teardownAll','push','printResults','wfupn','chdir','useW3C','parallelsPerPlatform','helpers','2053583iGKfOf','isTestObservabilitySession','SRbga','../../helpers/helper','1wOBxXj','length','Workers','402eKHMqy','enabled','QJhah','3929864drMpan','testConfig','REiuG','oBFKH','GbdqF','profile','platforms','playwright-chromium','BROWSERSTACK_TEST_OBSERVABILITY_YML','env'];a2_0x1786=function(){return _0x11e82d;};return a2_0x1786();}const fs=require('fs'),path=require('path'),util=require('util'),process=require(a2_0x14ec48(0xbf)),logger=require(a2_0x14ec48(0x126))[a2_0x14ec48(0xc5)],{default:BrowserStackSetup}=require(a2_0x14ec48(0x124)),helper=require('../../helpers/helper'),utilities=require(a2_0x14ec48(0xb3)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x14ec48(0xff)),CodeceptJS=requireModule(a2_0x14ec48(0xcc)),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require(a2_0x14ec48(0x9f)),constants=require('../utils/constants'),_testErrorData=[],getUserCodeceptJSConfigs=(_0x36bcd2,_0x541d6f)=>{const _0x1b1e3c=a2_0x14ec48,_0x3da54f={};_0x3da54f[_0x1b1e3c(0x105)]=function(_0x12a099,_0x36dd1c){return _0x12a099===_0x36dd1c;},_0x3da54f['bTvfJ']='codecept.conf.js',_0x3da54f['PQOOy']=_0x1b1e3c(0xb0);const _0x63520d=_0x3da54f;let _0x60a78d=null;const _0x39c4d0={};let _0x365e56=_0x541d6f[_0x1b1e3c(0xa1)](_0x1d8e52=>_0x1d8e52===_0x1b1e3c(0xaa));_0x63520d[_0x1b1e3c(0x105)](_0x365e56,-0x1)&&(_0x365e56=_0x541d6f[_0x1b1e3c(0xa1)](_0x253bcb=>_0x253bcb==='-c'));if(!helper[_0x1b1e3c(0xdd)](_0x36bcd2[_0x1b1e3c(0x111)])&&fs[_0x1b1e3c(0xe5)](path[_0x1b1e3c(0xa4)](process[_0x1b1e3c(0x115)](),_0x36bcd2[_0x1b1e3c(0x111)])))_0x60a78d=path[_0x1b1e3c(0xa4)](process[_0x1b1e3c(0x115)](),_0x36bcd2[_0x1b1e3c(0x111)]),_0x541d6f[_0x1b1e3c(0x117)](_0x365e56,0x2);else{if(!helper['isUndefined'](_0x36bcd2['c'])&&fs[_0x1b1e3c(0xe5)](path['join'](process['cwd'](),_0x36bcd2['c'])))_0x60a78d=path['join'](process[_0x1b1e3c(0x115)](),_0x36bcd2['c']),_0x541d6f[_0x1b1e3c(0x117)](_0x365e56,0x2);else{if(fs[_0x1b1e3c(0xe5)](path[_0x1b1e3c(0xa4)](process[_0x1b1e3c(0x115)](),_0x63520d[_0x1b1e3c(0xb2)])))_0x60a78d=path[_0x1b1e3c(0xa4)](process[_0x1b1e3c(0x115)](),_0x63520d[_0x1b1e3c(0xb2)]);else fs[_0x1b1e3c(0xe5)](path['join'](process['cwd'](),_0x63520d[_0x1b1e3c(0xd7)]))&&(_0x60a78d=path[_0x1b1e3c(0xa4)](process[_0x1b1e3c(0x115)](),_0x63520d[_0x1b1e3c(0xd7)]));}}return _0x60a78d;},getO11yRerunPattern=()=>{const _0x5658cb=a2_0x14ec48,_0x4b24ac={};_0x4b24ac[_0x5658cb(0x10a)]=function(_0x1ecc4b,_0x44fba2){return _0x1ecc4b!==_0x44fba2;},_0x4b24ac[_0x5658cb(0xf0)]=_0x5658cb(0xe7);const _0x73cf61=_0x4b24ac,_0x332f71=helper[_0x5658cb(0xe1)](process[_0x5658cb(0x10f)][_0x5658cb(0xde)]);if(_0x332f71){const _0x17221f=process['env'][_0x5658cb(0xd3)],_0x58e57d=[];if(_0x73cf61[_0x5658cb(0x10a)](_0x17221f,_0x73cf61[_0x5658cb(0xf0)])&&!helper[_0x5658cb(0xdd)](_0x17221f)){_0x17221f[_0x5658cb(0xc1)](',')[_0x5658cb(0xa3)](_0x7d92b2=>{const _0x5c8b48=_0x5658cb;_0x58e57d[_0x5c8b48(0xf5)]('('+_0x7d92b2[_0x5c8b48(0xf2)]()+')');});const _0x404912='^'+_0x58e57d[_0x5658cb(0xa4)]('|')+'$';return _0x404912;}}return null;},a2_0x174bfe={};a2_0x174bfe['chrome']=a2_0x14ec48(0xe0),a2_0x174bfe[a2_0x14ec48(0x10d)]=a2_0x14ec48(0xe0),a2_0x174bfe['playwright-firefox']=a2_0x14ec48(0xe9),a2_0x174bfe[a2_0x14ec48(0x9d)]=a2_0x14ec48(0x121);const pwToCodeceptBrowser=a2_0x174bfe;async function run(_0x2157b8,_0x1b4bd1){const _0x3a585a=a2_0x14ec48,_0x377478={'tKtFl':function(_0x4eead0,_0x1d5548){return _0x4eead0+_0x1d5548;},'pHBMI':function(_0x18dacf,_0x3ca62a){return _0x18dacf(_0x3ca62a);},'irSTX':function(_0x54f027,_0x24fbf0,_0x389d7e){return _0x54f027(_0x24fbf0,_0x389d7e);},'uwzEY':_0x3a585a(0x111),'oBFKH':'helpers','uTfGH':function(_0x10a31f){return _0x10a31f();},'glMKH':function(_0x53c897){return _0x53c897();},'IueCI':_0x3a585a(0x9b),'UTHTB':_0x3a585a(0xcb),'Ybzsm':'Started\x20:\x20','JqIWg':'2|4|1|0|3','EUtje':_0x3a585a(0x112),'fvUJk':function(_0x49ff3c,_0x39b6e9,_0x5ac644){return _0x49ff3c(_0x39b6e9,_0x5ac644);},'fhapB':function(_0x486f54,_0x35aecb){return _0x486f54(_0x35aecb);},'Thbgr':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','SRbga':_0x3a585a(0xee),'REiuG':_0x3a585a(0xec),'ekUQJ':function(_0x829785,_0x1a651b){return _0x829785(_0x1a651b);},'ZhlkZ':function(_0xc9b7b3,_0x5b50f1){return _0xc9b7b3!=_0x5b50f1;},'nXzVs':_0x3a585a(0xa5),'kBsGd':function(_0x1b7729,_0x43058f,_0x257ea8){return _0x1b7729(_0x43058f,_0x257ea8);},'TYVbj':_0x3a585a(0xc9),'gmTao':'-cucumber','QOadk':function(_0x5c38b8,_0x301a73){return _0x5c38b8*_0x301a73;},'JfkVX':function(_0x420c03,_0xe61f47,_0xa9993c){return _0x420c03(_0xe61f47,_0xa9993c);},'CAkUu':_0x3a585a(0xd0),'SFGPy':_0x3a585a(0xe4),'rURnS':_0x3a585a(0x11f),'wfupn':_0x3a585a(0xb1),'BZFHN':'browserStackCwd'},_0x2a3afb=new BrowserStackSetup(_0x2157b8,_0x377478[_0x3a585a(0x11d)]);await _0x2a3afb[_0x3a585a(0xbe)](),await helper[_0x3a585a(0xbc)](_0x2a3afb[_0x3a585a(0x111)]);if(!_0x2a3afb[_0x3a585a(0x111)])return;process[_0x3a585a(0x10b)]=_0x2157b8[_0x3a585a(0x10b)];_0x2157b8[_0x3a585a(0x10b)]&&(process[_0x3a585a(0x10f)][_0x3a585a(0x10b)]=_0x2157b8['profile']);const _0x13fc8a=_0x377478[_0x3a585a(0xe3)](getUserCodeceptJSConfigs,_0x2157b8,_0x1b4bd1);let _0x849c90={};_0x13fc8a?(logger[_0x3a585a(0xaf)](_0x3a585a(0xdf)+_0x13fc8a),_0x849c90=_0x377478[_0x3a585a(0xf3)](require,_0x13fc8a)):logger[_0x3a585a(0xaf)](_0x377478[_0x3a585a(0x9a)]);let _0x38893c=![];_0x377478['irSTX'](nestedKeyValue,_0x849c90,[_0x377478[_0x3a585a(0xdb)],_0x377478[_0x3a585a(0x109)],_0x377478['SRbga']])&&(_0x38893c=!![]);const _0x566d5f=_0x38893c?_0x377478[_0x3a585a(0xfe)]:_0x377478[_0x3a585a(0x108)];let _0x1d6f66=!_0x38893c?helper[_0x3a585a(0xf9)](_0x2a3afb['config']):![];!helper[_0x3a585a(0xdd)](_0x2a3afb['config'][_0x3a585a(0xcd)])&&(process[_0x3a585a(0x10f)][_0x3a585a(0xa8)]=JSON[_0x3a585a(0xeb)](_0x2a3afb[_0x3a585a(0x111)][_0x3a585a(0xcd)]));let _0x5ec811=_0x2a3afb[_0x3a585a(0x111)][_0x3a585a(0xc6)];_0x5ec811=_0x5ec811||_0x377478[_0x3a585a(0xc3)](checkAccessibilityPlatformConfig,_0x2a3afb['config']),process[_0x3a585a(0x10f)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x5ec811;_0x5ec811&&(_0x1d6f66=!_0x5ec811);_0x377478[_0x3a585a(0x128)](_0x2a3afb[_0x3a585a(0x111)][_0x3a585a(0xc4)],null)?process[_0x3a585a(0x10f)][_0x3a585a(0x10e)]=_0x2a3afb[_0x3a585a(0x111)][_0x3a585a(0xc4)]:process[_0x3a585a(0x10f)][_0x3a585a(0x10e)]=_0x377478[_0x3a585a(0xbb)];const _0x4c37ca=_0x377478[_0x3a585a(0xb4)](_0x377478[_0x3a585a(0x11d)],_0x377478[_0x3a585a(0xd2)](nestedKeyValue,_0x849c90,[_0x377478[_0x3a585a(0xdb)],_0x377478[_0x3a585a(0x118)]])?_0x377478[_0x3a585a(0xe8)]:''),_0x5a43c2=await TestHubHandler['launchBuild'](_0x4c37ca,_0x2a3afb);_0x5ec811&&_0x377478[_0x3a585a(0xc3)](setAccessibilityCapabilities,_0x2a3afb['config']);const _0x43555b={},_0x4a3749=[],_0x14fbf6=_0x2a3afb[_0x3a585a(0x111)][_0x3a585a(0xfa)]||helper['getUserWorkerCount'](_0x2157b8,_0x1b4bd1,_0x2a3afb[_0x3a585a(0x111)],constants[_0x3a585a(0x9c)][_0x3a585a(0xce)])||0x1;let _0x4ee95a=0x1;if(_0x377478[_0x3a585a(0xad)](isBrowserstackInfra)){const _0x3c66d6=helper[_0x3a585a(0xd1)](_0x2a3afb['config'],_0x1d6f66,constants[_0x3a585a(0x9c)]['CODECEPT']);helper[_0x3a585a(0xef)](_0x2a3afb[_0x3a585a(0x111)])?_0x4ee95a=_0x377478[_0x3a585a(0xb5)](_0x14fbf6,_0x2a3afb['config'][_0x3a585a(0x10c)][_0x3a585a(0x101)]):_0x4ee95a=_0x14fbf6,_0x3c66d6['forEach'](_0x4005c5=>{const _0x1c2124=_0x3a585a,_0x1ef320=_0x377478['tKtFl'](helper[_0x1c2124(0xd9)](_0x4005c5,'_'),'_'+Date['now']()),_0x4ed598=((()=>{const _0x3f9c0c=_0x1c2124;if(_0x38893c){const _0x229ee6=pwToCodeceptBrowser[_0x4005c5[_0x3f9c0c(0xd4)]]||_0x4005c5[_0x3f9c0c(0xd4)];return{'browser':_0x229ee6,[_0x229ee6]:{'browserWSEndpoint':_0x377478['tKtFl'](helper[_0x3f9c0c(0xb7)](_0x2a3afb['config']),_0x377478[_0x3f9c0c(0xa0)](encodeURIComponent,JSON['stringify'](_0x4005c5)))}};}const _0x5f4749={};return _0x5f4749[_0x3f9c0c(0xe4)]=_0x4005c5,_0x5f4749;})()),_0x2bd312=_0x377478[_0x1c2124(0xc2)](nestedKeyValue,_0x849c90,[_0x377478[_0x1c2124(0xdb)],_0x377478[_0x1c2124(0x109)],_0x566d5f]);_0x43555b[_0x1ef320]=_0x2bd312?helper['mergeDeep'](_0x4ed598,_0x2bd312):_0x4ed598,!_0x38893c&&(_0x43555b[_0x1ef320][_0x1c2124(0xd0)]=_0x4005c5[_0x1c2124(0xd4)]||_0x4ed598[_0x1c2124(0xd0)]),_0x4a3749[_0x1c2124(0xf5)](_0x1ef320);});}else{_0x4ee95a=0x1;if(_0x38893c){const _0x3a88e4=_0x377478[_0x3a585a(0xed)](nestedKeyValue,_0x849c90,[_0x377478['uwzEY'],_0x377478[_0x3a585a(0x109)],_0x566d5f,_0x377478[_0x3a585a(0x11e)]]),_0x53d138=_0x377478[_0x3a585a(0xc2)](nestedKeyValue,_0x849c90,[_0x377478[_0x3a585a(0xdb)],_0x377478[_0x3a585a(0x109)],_0x566d5f,_0x3a88e4]);_0x53d138&&_0x53d138[_0x3a585a(0x11b)]&&(_0x53d138[_0x3a585a(0x11b)]=helper[_0x3a585a(0xd1)](null,null,_0x4c37ca[_0x3a585a(0x120)](),null,null,_0x53d138[_0x3a585a(0x11b)]));}else _0x849c90[_0x3a585a(0x111)][_0x377478[_0x3a585a(0x109)]][_0x566d5f][_0x377478[_0x3a585a(0xa7)]]=helper['prepareCapabilities'](null,null,_0x4c37ca[_0x3a585a(0x120)](),_0x377478[_0x3a585a(0xed)](nestedKeyValue,_0x849c90,[_0x377478['uwzEY'],_0x377478[_0x3a585a(0x109)],_0x566d5f,_0x377478[_0x3a585a(0xa7)]]),null,null);_0x43555b[_0x377478[_0x3a585a(0xb6)]]=_0x849c90[_0x3a585a(0x111)],_0x4a3749['push'](_0x377478[_0x3a585a(0xb6)]);}const _0x588c4c={};_0x588c4c[_0x3a585a(0x107)]=_0x13fc8a;const _0x567a3d=_0x588c4c,_0x3f3635=path[_0x3a585a(0xa4)](__dirname,_0x377478[_0x3a585a(0xf7)]),_0x4ee276=process[_0x3a585a(0x115)]();process[_0x3a585a(0x10f)][_0x377478['BZFHN']]=_0x4ee276,process[_0x3a585a(0xf8)](path['dirname'](_0x13fc8a));const _0xf212b3=new CodeceptJS[(_0x3a585a(0x102))](null,_0x567a3d),_0x390b86=_0xf212b3[_0x3a585a(0xae)](_0x4ee95a),_0x560878=testOpsHelper[_0x3a585a(0xfd)](),_0x5bdb95=_0x4a3749[_0x3a585a(0xa3)](_0x2745b5=>{const _0x21d625=_0x3a585a,_0x33908b={};_0x33908b[_0x21d625(0xee)]=_0x43555b[_0x2745b5];const _0x4de173={};_0x4de173['WebDriver']=_0x43555b[_0x2745b5];const _0xd966f8=_0x38893c?_0x33908b:_0x4de173,_0xc38695=_0x377478[_0x21d625(0xad)](getO11yRerunPattern),_0x179885={};_0x179885[_0x21d625(0xfb)]=_0xd966f8;const _0x28ba36={};_0x28ba36['require']=_0x3f3635,_0x28ba36[_0x21d625(0x104)]=!![],_0x28ba36[_0x21d625(0x116)]=_0x2a3afb['config']['testContextOptions']['skipSessionName'],_0x28ba36[_0x21d625(0xe6)]=_0x2a3afb['config'][_0x21d625(0xb8)][_0x21d625(0xe6)],_0x28ba36[_0x21d625(0xc4)]=_0x560878,_0x28ba36[_0x21d625(0xca)]=_0x4c37ca;const _0x280fc7={};_0x280fc7[_0x21d625(0xa2)]=_0x28ba36;const _0x4d2e71={};return _0x4d2e71[_0x21d625(0xda)]=_0x280fc7,helper[_0x21d625(0x127)]({},_0x849c90[_0x21d625(0x111)],_0x377478[_0x21d625(0xbd)](isBrowserstackInfra)?_0x179885:{},_0xc38695?{'grep':_0xc38695}:{},_0x4d2e71);});for(const _0x660688 of _0x5bdb95){for(const _0x164c86 of _0x390b86){const _0x13c6f3=_0xf212b3[_0x3a585a(0x125)]();_0x13c6f3['addTests'](_0x164c86),_0x13c6f3[_0x3a585a(0xac)](_0x660688);}}_0xf212b3['on'](CodeceptJS[_0x3a585a(0xd5)][_0x3a585a(0xab)][_0x3a585a(0xea)],(_0x351f9a,_0x46bffb)=>{const _0x4b5425=_0x3a585a;console[_0x4b5425(0xa6)](_0x377478[_0x4b5425(0xf1)],_0x351f9a[_0x4b5425(0xdc)]);const _0x2ea88d={[_0x351f9a[_0x4b5425(0xdc)]]:_0x351f9a[_0x4b5425(0xc8)][_0x4b5425(0x110)]};_testErrorData['push'](_0x2ea88d);}),_0xf212b3['on'](CodeceptJS['event'][_0x3a585a(0xab)]['passed'],async _0x17e746=>{const _0x37b19f=_0x3a585a;console[_0x37b19f(0xa6)](_0x377478[_0x37b19f(0xba)],_0x17e746['title']);}),_0xf212b3['on'](CodeceptJS[_0x3a585a(0xd5)][_0x3a585a(0xab)]['before'],async _0x80197e=>{const _0xd1158c=_0x3a585a;console[_0xd1158c(0xa6)](_0x377478[_0xd1158c(0xd6)],_0x80197e[_0xd1158c(0xdc)]);}),_0xf212b3['on'](CodeceptJS[_0x3a585a(0xd5)][_0x3a585a(0xe2)][_0x3a585a(0xd8)],async()=>{const _0x2de488=_0x3a585a,_0x18d3e5=_0x377478['JqIWg'][_0x2de488(0xc1)]('|');let _0x56dd3d=0x0;while(!![]){switch(_0x18d3e5[_0x56dd3d++]){case'0':try{await TestHubHandler[_0x2de488(0x114)]();}catch(_0x5bfade){logger[_0x2de488(0x9e)](_0x2de488(0xc7)+util['format'](_0x5bfade));}continue;case'1':utilities[_0x2de488(0x11c)](_0x2a3afb);continue;case'2':_0x2a3afb['errorMessage']=_testErrorData;continue;case'3':_0xf212b3[_0x2de488(0xf6)]();continue;case'4':testOpsHelper[_0x2de488(0xb9)]();continue;}break;}});async function _0x460586(){const _0x109953=_0x3a585a;try{await _0xf212b3[_0x109953(0xcf)](),await _0xf212b3[_0x109953(0xa9)]();}finally{process[_0x109953(0xf8)](_0x4ee276),await _0xf212b3[_0x109953(0xf4)]();}}_0x377478['uTfGH'](_0x460586);}function a2_0x1f94(_0x194c09,_0x400f22){const _0x178696=a2_0x1786();return a2_0x1f94=function(_0x1f9450,_0x3e9de3){_0x1f9450=_0x1f9450-0x9a;let _0x20b087=_0x178696[_0x1f9450];return _0x20b087;},a2_0x1f94(_0x194c09,_0x400f22);}module['exports']=run;
2
+ 'use strict';function a2_0x2614(){const _0x1c01c2=['split','createGroupsOfSuites','952268PCaThn','result','codeceptjs','../utils/constants','mdEGu','1823124tQFGEX','skipSessionStatus','useW3C','cwd','firefox','skipSessionName','189576QBeJIe','event','cbcYI','run','../../helpers/logger','ZPiWR','validPlatformsPresent','dirname','length','MUbav','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','indKV','accessibilityOptions','require','addConfig','launchBuild','Workers','--config','rXBjZ','GHdtw','ASyJz','TFXsm','debug','config','1638150MRfGsi','VZgCF','browserStackCwd','uhFqy','before','util','join','getUserWorkerCount','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','CZepk','chromium','getPlatformName','CODECEPT','bootstrapAll','all','path','printResults','Started\x20:\x20','stack','playwright-chromium','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','KaYSR','mHOnJ','initialize','root','log','now','map','info','isTestObservabilitySession','yjMvk','Failed\x20:\x20','playwright-firefox','KFCJr','existsSync','97256avmQVA','addTests','exports','isTrue','BROWSERSTACK_RERUN_TESTS','err','desiredCapabilities','10iKsrBP','mALDG','../../helpers/BrowserStackSetup','frameworkName','push','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','bIDrs','BrowserStackPlugin.js','webkit','RSrYn','BROWSERSTACK_RERUN','platforms','293251QlqiAc','mBcRm','null','isUndefined','RvwJV','Playwright','trim','WlYvc','prepareCapabilities','helpers','../../helpers/testhub/testhubHandler','accessibility','Passed\x20:\x20','env','vZpFB','browser','JbiQJ','../../helpers/test-observability/utils','Rdsnp','344fSjVUe','parallelsPerPlatform','profile','printBuildLink','BROWSERSTACK_TEST_OBSERVABILITY_YML','Gjdcx','passed','getPlaywrightUrl','mergeDeep','title','testContextOptions','BrowserStackPlugin','errorMessage','format','test','toLowerCase','16tOrXHe','stop','plugins','../../helpers/utilities','1968942SJiYjZ','testObservability','JuEgq','zcowR','enabled','WebDriver','../../helpers/accessibility-automation/helper','finalExecution','findIndex','browserWSEndpoint','-cucumber','playwright-webkit','browserName','gherkin','stringify','ZSwCO','winstonLogger','chrome','przcK','dhDXr','failed','YSzOb','../../helpers/helper'];a2_0x2614=function(){return _0x1c01c2;};return a2_0x2614();}const a2_0x57a7f6=a2_0x2a34;function a2_0x2a34(_0x3d48cb,_0x5632c7){const _0x2614ce=a2_0x2614();return a2_0x2a34=function(_0x2a3498,_0x4fb97f){_0x2a3498=_0x2a3498-0x1de;let _0x84813a=_0x2614ce[_0x2a3498];return _0x84813a;},a2_0x2a34(_0x3d48cb,_0x5632c7);}(function(_0x4fc32c,_0x248bd7){const _0x4051f6=a2_0x2a34,_0x70b91a=_0x4fc32c();while(!![]){try{const _0x2e2fbc=-parseInt(_0x4051f6(0x218))/0x1*(parseInt(_0x4051f6(0x1e2))/0x2)+parseInt(_0x4051f6(0x23a))/0x3+parseInt(_0x4051f6(0x235))/0x4*(parseInt(_0x4051f6(0x1e9))/0x5)+-parseInt(_0x4051f6(0x21c))/0x6+parseInt(_0x4051f6(0x1f5))/0x7+-parseInt(_0x4051f6(0x208))/0x8*(-parseInt(_0x4051f6(0x240))/0x9)+-parseInt(_0x4051f6(0x258))/0xa;if(_0x2e2fbc===_0x248bd7)break;else _0x70b91a['push'](_0x70b91a['shift']());}catch(_0x5e2057){_0x70b91a['push'](_0x70b91a['shift']());}}}(a2_0x2614,0xb9e7b));const fs=require('fs'),path=require(a2_0x57a7f6(0x267)),util=require(a2_0x57a7f6(0x25d)),process=require('process'),logger=require(a2_0x57a7f6(0x244))[a2_0x57a7f6(0x22c)],{default:BrowserStackSetup}=require(a2_0x57a7f6(0x1eb)),helper=require(a2_0x57a7f6(0x232)),utilities=require(a2_0x57a7f6(0x21b)),{checkAccessibilityPlatformConfig}=require(a2_0x57a7f6(0x222)),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require('../../helpers/helper'),CodeceptJS=requireModule('codeceptjs/lib/index.js'),testOpsHelper=require(a2_0x57a7f6(0x206)),TestHubHandler=require(a2_0x57a7f6(0x1ff)),constants=require(a2_0x57a7f6(0x238)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x39ef4e,_0x4058fd)=>{const _0xac8f52=a2_0x57a7f6,_0x16a749={};_0x16a749[_0xac8f52(0x254)]=function(_0x63902f,_0x22eed8){return _0x63902f===_0x22eed8;},_0x16a749['JbiQJ']='codecept.conf.js',_0x16a749[_0xac8f52(0x1ef)]='codecept.json';const _0x2f883e=_0x16a749;let _0x46ca0a=null;const _0x56801a={};let _0x3b69c4=_0x4058fd[_0xac8f52(0x224)](_0x3b3447=>_0x3b3447===_0xac8f52(0x251));_0x2f883e[_0xac8f52(0x254)](_0x3b69c4,-0x1)&&(_0x3b69c4=_0x4058fd[_0xac8f52(0x224)](_0x440367=>_0x440367==='-c'));if(!helper[_0xac8f52(0x1f8)](_0x39ef4e[_0xac8f52(0x257)])&&fs['existsSync'](path[_0xac8f52(0x25e)](process[_0xac8f52(0x23d)](),_0x39ef4e[_0xac8f52(0x257)])))_0x46ca0a=path[_0xac8f52(0x25e)](process['cwd'](),_0x39ef4e[_0xac8f52(0x257)]),_0x4058fd['slice'](_0x3b69c4,0x2);else{if(!helper[_0xac8f52(0x1f8)](_0x39ef4e['c'])&&fs[_0xac8f52(0x1e1)](path[_0xac8f52(0x25e)](process[_0xac8f52(0x23d)](),_0x39ef4e['c'])))_0x46ca0a=path[_0xac8f52(0x25e)](process[_0xac8f52(0x23d)](),_0x39ef4e['c']),_0x4058fd['slice'](_0x3b69c4,0x2);else{if(fs[_0xac8f52(0x1e1)](path[_0xac8f52(0x25e)](process['cwd'](),_0x2f883e[_0xac8f52(0x205)])))_0x46ca0a=path[_0xac8f52(0x25e)](process[_0xac8f52(0x23d)](),_0x2f883e[_0xac8f52(0x205)]);else fs['existsSync'](path[_0xac8f52(0x25e)](process[_0xac8f52(0x23d)](),_0x2f883e['bIDrs']))&&(_0x46ca0a=path[_0xac8f52(0x25e)](process[_0xac8f52(0x23d)](),_0x2f883e[_0xac8f52(0x1ef)]));}}return _0x46ca0a;},getO11yRerunPattern=()=>{const _0x5705d4=a2_0x57a7f6,_0x45a424={};_0x45a424['TFXsm']=function(_0x38a25e,_0x296d3c){return _0x38a25e!==_0x296d3c;},_0x45a424[_0x5705d4(0x239)]=_0x5705d4(0x1f7);const _0x1c05d7=_0x45a424,_0x59860f=helper[_0x5705d4(0x1e5)](process['env'][_0x5705d4(0x1f3)]);if(_0x59860f){const _0x425b33=process[_0x5705d4(0x202)][_0x5705d4(0x1e6)],_0x403b1e=[];if(_0x1c05d7[_0x5705d4(0x255)](_0x425b33,_0x1c05d7[_0x5705d4(0x239)])&&!helper[_0x5705d4(0x1f8)](_0x425b33)){_0x425b33[_0x5705d4(0x233)](',')[_0x5705d4(0x273)](_0x185c46=>{const _0x345b1b=_0x5705d4;_0x403b1e[_0x345b1b(0x1ed)]('('+_0x185c46[_0x345b1b(0x1fb)]()+')');});const _0x319eae='^'+_0x403b1e['join']('|')+'$';return _0x319eae;}}return null;},a2_0x33a6da={};a2_0x33a6da[a2_0x57a7f6(0x22d)]=a2_0x57a7f6(0x262),a2_0x33a6da[a2_0x57a7f6(0x26b)]=a2_0x57a7f6(0x262),a2_0x33a6da[a2_0x57a7f6(0x1df)]=a2_0x57a7f6(0x23e),a2_0x33a6da[a2_0x57a7f6(0x227)]=a2_0x57a7f6(0x1f1);const pwToCodeceptBrowser=a2_0x33a6da;async function run(_0x4af880,_0x39ce53){const _0x39c71d=a2_0x57a7f6,_0x36cccc={'WlYvc':function(_0x214302,_0x58fae1){return _0x214302+_0x58fae1;},'ZPiWR':function(_0x15c437,_0x18aac9){return _0x15c437(_0x18aac9);},'ZSwCO':function(_0x37df01,_0xe92bea,_0x20851a){return _0x37df01(_0xe92bea,_0x20851a);},'Rdsnp':'config','KaYSR':_0x39c71d(0x1fe),'YSzOb':function(_0x32b8c2){return _0x32b8c2();},'yjMvk':function(_0x11d3b1){return _0x11d3b1();},'GHdtw':_0x39c71d(0x1de),'Gjdcx':_0x39c71d(0x201),'cbcYI':_0x39c71d(0x269),'MUbav':'4|0|3|1|2','CZepk':_0x39c71d(0x237),'uhFqy':_0x39c71d(0x26c),'zcowR':function(_0x2db820,_0x3b26cb,_0x50fb10){return _0x2db820(_0x3b26cb,_0x50fb10);},'przcK':_0x39c71d(0x1fa),'mBcRm':_0x39c71d(0x221),'mALDG':function(_0x2949c0,_0xedfb63){return _0x2949c0!=_0xedfb63;},'LcmTU':'false','RvwJV':function(_0x3b4ab2,_0x48c40e){return _0x3b4ab2+_0x48c40e;},'wOrDR':_0x39c71d(0x229),'vZpFB':_0x39c71d(0x226),'RSrYn':function(_0x2808f7,_0x17aaaa){return _0x2808f7*_0x17aaaa;},'indKV':function(_0x323916,_0x72c4d2,_0x208ebc){return _0x323916(_0x72c4d2,_0x208ebc);},'mHOnJ':_0x39c71d(0x204),'dhDXr':'desiredCapabilities','KFCJr':function(_0x334007,_0x1ea824,_0x3a6d64){return _0x334007(_0x1ea824,_0x3a6d64);},'VZgCF':_0x39c71d(0x270),'MtNzf':_0x39c71d(0x1f0),'rXBjZ':_0x39c71d(0x25a),'JuEgq':function(_0x581b49){return _0x581b49();}},_0x9dbaa3=new BrowserStackSetup(_0x4af880,_0x36cccc[_0x39c71d(0x261)]);await _0x9dbaa3[_0x39c71d(0x26f)](),await helper['handleApp'](_0x9dbaa3[_0x39c71d(0x257)]);if(!_0x9dbaa3['config'])return;process[_0x39c71d(0x20a)]=_0x4af880['profile'];_0x4af880[_0x39c71d(0x20a)]&&(process[_0x39c71d(0x202)]['profile']=_0x4af880['profile']);const _0x370bef=_0x36cccc[_0x39c71d(0x22b)](getUserCodeceptJSConfigs,_0x4af880,_0x39ce53);let _0x1af668={};_0x370bef?(logger['info'](_0x39c71d(0x260)+_0x370bef),_0x1af668=_0x36cccc['ZPiWR'](require,_0x370bef)):logger[_0x39c71d(0x274)](_0x36cccc[_0x39c71d(0x25b)]);let _0x180949=![];_0x36cccc[_0x39c71d(0x21f)](nestedKeyValue,_0x1af668,[_0x36cccc['Rdsnp'],_0x36cccc['KaYSR'],_0x36cccc[_0x39c71d(0x22e)]])&&(_0x180949=!![]);const _0x56ca31=_0x180949?_0x36cccc[_0x39c71d(0x22e)]:_0x36cccc[_0x39c71d(0x1f6)];let _0x180221=!_0x180949?helper[_0x39c71d(0x23c)](_0x9dbaa3[_0x39c71d(0x257)]):![];!helper['isUndefined'](_0x9dbaa3[_0x39c71d(0x257)][_0x39c71d(0x24c)])&&(process['env'][_0x39c71d(0x1ee)]=JSON[_0x39c71d(0x22a)](_0x9dbaa3['config']['accessibilityOptions']));let _0x50ca78=_0x9dbaa3[_0x39c71d(0x257)][_0x39c71d(0x200)];_0x50ca78=_0x50ca78||_0x36cccc[_0x39c71d(0x245)](checkAccessibilityPlatformConfig,_0x9dbaa3['config']),process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x50ca78;_0x50ca78&&(_0x180221=!_0x50ca78);_0x36cccc[_0x39c71d(0x1ea)](_0x9dbaa3[_0x39c71d(0x257)]['testObservability'],null)?process[_0x39c71d(0x202)][_0x39c71d(0x20c)]=_0x9dbaa3['config'][_0x39c71d(0x21d)]:process[_0x39c71d(0x202)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x36cccc['LcmTU'];const _0x359318=_0x36cccc[_0x39c71d(0x1f9)](_0x36cccc[_0x39c71d(0x261)],_0x36cccc[_0x39c71d(0x22b)](nestedKeyValue,_0x1af668,[_0x36cccc[_0x39c71d(0x207)],_0x36cccc['wOrDR']])?_0x36cccc[_0x39c71d(0x203)]:''),_0x399dc4=await TestHubHandler[_0x39c71d(0x24f)](_0x359318,_0x9dbaa3);_0x50ca78&&_0x36cccc[_0x39c71d(0x245)](setAccessibilityCapabilities,_0x9dbaa3[_0x39c71d(0x257)]);const _0x5138a2={},_0x1044d1=[],_0x34355a=_0x9dbaa3[_0x39c71d(0x257)][_0x39c71d(0x209)]||helper[_0x39c71d(0x25f)](_0x4af880,_0x39ce53,_0x9dbaa3[_0x39c71d(0x257)],constants['FRAMEWORKS'][_0x39c71d(0x264)])||0x1;let _0x5be7f6=0x1;if(_0x36cccc[_0x39c71d(0x231)](isBrowserstackInfra)){const _0x520403=helper[_0x39c71d(0x1fd)](_0x9dbaa3[_0x39c71d(0x257)],_0x180221,constants['FRAMEWORKS'][_0x39c71d(0x264)]);helper[_0x39c71d(0x246)](_0x9dbaa3[_0x39c71d(0x257)])?_0x5be7f6=_0x36cccc[_0x39c71d(0x1f2)](_0x34355a,_0x9dbaa3[_0x39c71d(0x257)][_0x39c71d(0x1f4)][_0x39c71d(0x248)]):_0x5be7f6=_0x34355a,_0x520403['forEach'](_0x5e7e0a=>{const _0x4bd248=_0x39c71d,_0x57f4ef={'WFLgc':function(_0x2d3161,_0x3f2f33){const _0xcf51cf=a2_0x2a34;return _0x36cccc[_0xcf51cf(0x1fc)](_0x2d3161,_0x3f2f33);},'OGBlr':function(_0x1c8d38,_0x245a3c){const _0x3ea956=a2_0x2a34;return _0x36cccc[_0x3ea956(0x245)](_0x1c8d38,_0x245a3c);}},_0x38c5ab=_0x36cccc[_0x4bd248(0x1fc)](helper[_0x4bd248(0x263)](_0x5e7e0a,'_'),'_'+Date[_0x4bd248(0x272)]()),_0xf4821f=((()=>{const _0x4b4aa3=_0x4bd248;if(_0x180949){const _0x130a4c=pwToCodeceptBrowser[_0x5e7e0a[_0x4b4aa3(0x228)]]||_0x5e7e0a[_0x4b4aa3(0x228)];return{'browser':_0x130a4c,[_0x130a4c]:{'browserWSEndpoint':_0x57f4ef['WFLgc'](helper[_0x4b4aa3(0x20f)](_0x9dbaa3[_0x4b4aa3(0x257)]),_0x57f4ef['OGBlr'](encodeURIComponent,JSON[_0x4b4aa3(0x22a)](_0x5e7e0a)))}};}const _0x564a07={};return _0x564a07[_0x4b4aa3(0x1e8)]=_0x5e7e0a,_0x564a07;})()),_0x357e23=_0x36cccc[_0x4bd248(0x22b)](nestedKeyValue,_0x1af668,[_0x36cccc[_0x4bd248(0x207)],_0x36cccc[_0x4bd248(0x26d)],_0x56ca31]);_0x5138a2[_0x38c5ab]=_0x357e23?helper['mergeDeep'](_0xf4821f,_0x357e23):_0xf4821f,!_0x180949&&(_0x5138a2[_0x38c5ab][_0x4bd248(0x204)]=_0x5e7e0a['browserName']||_0xf4821f[_0x4bd248(0x204)]),_0x1044d1[_0x4bd248(0x1ed)](_0x38c5ab);});}else{_0x5be7f6=0x1;if(_0x180949){const _0x45f86a=_0x36cccc[_0x39c71d(0x24b)](nestedKeyValue,_0x1af668,[_0x36cccc['Rdsnp'],_0x36cccc[_0x39c71d(0x26d)],_0x56ca31,_0x36cccc[_0x39c71d(0x26e)]]),_0x4b36cb=_0x36cccc[_0x39c71d(0x21f)](nestedKeyValue,_0x1af668,[_0x36cccc['Rdsnp'],_0x36cccc[_0x39c71d(0x26d)],_0x56ca31,_0x45f86a]);_0x4b36cb&&_0x4b36cb[_0x39c71d(0x225)]&&(_0x4b36cb[_0x39c71d(0x225)]=helper['prepareCapabilities'](null,null,_0x359318['toLowerCase'](),null,null,_0x4b36cb[_0x39c71d(0x225)]));}else _0x1af668['config'][_0x36cccc[_0x39c71d(0x26d)]][_0x56ca31][_0x36cccc['dhDXr']]=helper['prepareCapabilities'](null,null,_0x359318[_0x39c71d(0x217)](),_0x36cccc[_0x39c71d(0x1e0)](nestedKeyValue,_0x1af668,[_0x36cccc[_0x39c71d(0x207)],_0x36cccc['KaYSR'],_0x56ca31,_0x36cccc[_0x39c71d(0x22f)]]),null,null);_0x5138a2[_0x36cccc[_0x39c71d(0x259)]]=_0x1af668[_0x39c71d(0x257)],_0x1044d1[_0x39c71d(0x1ed)](_0x36cccc['VZgCF']);}const _0x346243={};_0x346243['testConfig']=_0x370bef;const _0x517afd=_0x346243,_0x185656=path['join'](__dirname,_0x36cccc['MtNzf']),_0x1d0c9d=process[_0x39c71d(0x23d)]();process[_0x39c71d(0x202)][_0x36cccc[_0x39c71d(0x252)]]=_0x1d0c9d,process['chdir'](path[_0x39c71d(0x247)](_0x370bef));const _0x4ca2f3=new CodeceptJS[(_0x39c71d(0x250))](null,_0x517afd),_0x5ab995=_0x4ca2f3[_0x39c71d(0x234)](_0x5be7f6),_0x3ba027=testOpsHelper[_0x39c71d(0x275)](),_0x350924=_0x1044d1['map'](_0xd64b0a=>{const _0x17500b=_0x39c71d,_0x56a55a={};_0x56a55a['Playwright']=_0x5138a2[_0xd64b0a];const _0x13f6da={};_0x13f6da[_0x17500b(0x221)]=_0x5138a2[_0xd64b0a];const _0x22c9f4=_0x180949?_0x56a55a:_0x13f6da,_0x4d9a6a=_0x36cccc[_0x17500b(0x231)](getO11yRerunPattern),_0x4171be={};_0x4171be[_0x17500b(0x1fe)]=_0x22c9f4;const _0x35842d={};_0x35842d[_0x17500b(0x24d)]=_0x185656,_0x35842d[_0x17500b(0x220)]=!![],_0x35842d[_0x17500b(0x23f)]=_0x9dbaa3[_0x17500b(0x257)][_0x17500b(0x212)][_0x17500b(0x23f)],_0x35842d[_0x17500b(0x23b)]=_0x9dbaa3[_0x17500b(0x257)][_0x17500b(0x212)]['skipSessionStatus'],_0x35842d[_0x17500b(0x21d)]=_0x3ba027,_0x35842d[_0x17500b(0x1ec)]=_0x359318;const _0x1f60cb={};_0x1f60cb[_0x17500b(0x213)]=_0x35842d;const _0x581f8d={};return _0x581f8d[_0x17500b(0x21a)]=_0x1f60cb,helper[_0x17500b(0x210)]({},_0x1af668[_0x17500b(0x257)],_0x36cccc[_0x17500b(0x276)](isBrowserstackInfra)?_0x4171be:{},_0x4d9a6a?{'grep':_0x4d9a6a}:{},_0x581f8d);});for(const _0x423e40 of _0x350924){for(const _0xd6b1f4 of _0x5ab995){const _0x57b8a8=_0x4ca2f3['spawn']();_0x57b8a8[_0x39c71d(0x1e3)](_0xd6b1f4),_0x57b8a8[_0x39c71d(0x24e)](_0x423e40);}}_0x4ca2f3['on'](CodeceptJS[_0x39c71d(0x241)][_0x39c71d(0x216)][_0x39c71d(0x230)],(_0x42971a,_0x3a4bdf)=>{const _0x459614=_0x39c71d;console[_0x459614(0x271)](_0x36cccc[_0x459614(0x253)],_0x42971a[_0x459614(0x211)]);const _0x399a2a={[_0x42971a[_0x459614(0x211)]]:_0x42971a[_0x459614(0x1e7)][_0x459614(0x26a)]};_testErrorData['push'](_0x399a2a);}),_0x4ca2f3['on'](CodeceptJS[_0x39c71d(0x241)]['test'][_0x39c71d(0x20e)],async _0x592673=>{const _0x223b11=_0x39c71d;console[_0x223b11(0x271)](_0x36cccc[_0x223b11(0x20d)],_0x592673['title']);}),_0x4ca2f3['on'](CodeceptJS['event']['test'][_0x39c71d(0x25c)],async _0x4551bf=>{const _0x54a36d=_0x39c71d;console[_0x54a36d(0x271)](_0x36cccc[_0x54a36d(0x242)],_0x4551bf[_0x54a36d(0x211)]);}),_0x4ca2f3['on'](CodeceptJS['event'][_0x39c71d(0x266)][_0x39c71d(0x236)],async()=>{const _0x565972=_0x39c71d,_0x270a35=_0x36cccc[_0x565972(0x249)][_0x565972(0x233)]('|');let _0x4f832f=0x0;while(!![]){switch(_0x270a35[_0x4f832f++]){case'0':testOpsHelper[_0x565972(0x20b)]();continue;case'1':try{await TestHubHandler[_0x565972(0x219)]();}catch(_0x49cde3){logger[_0x565972(0x256)](_0x565972(0x24a)+util[_0x565972(0x215)](_0x49cde3));}continue;case'2':_0x4ca2f3[_0x565972(0x268)]();continue;case'3':utilities[_0x565972(0x223)](_0x9dbaa3);continue;case'4':_0x9dbaa3[_0x565972(0x214)]=_testErrorData;continue;}break;}});async function _0x9bc44a(){const _0x5db69e=_0x39c71d;try{await _0x4ca2f3[_0x5db69e(0x265)](),await _0x4ca2f3[_0x5db69e(0x243)]();}finally{process['chdir'](_0x1d0c9d),await _0x4ca2f3['teardownAll']();}}_0x36cccc[_0x39c71d(0x21e)](_0x9bc44a);}module[a2_0x57a7f6(0x1e4)]=run;
@@ -1 +1 @@
1
- function a3_0x58b0(_0x26d7f4,_0x5a373d){const _0x46c4b9=a3_0x46c4();return a3_0x58b0=function(_0x58b04c,_0x5c0c07){_0x58b04c=_0x58b04c-0x150;let _0x59fb74=_0x46c4b9[_0x58b04c];return _0x59fb74;},a3_0x58b0(_0x26d7f4,_0x5a373d);}const a3_0x8eedbd=a3_0x58b0;(function(_0x1bc1f3,_0x5335f0){const _0x14ed1c=a3_0x58b0,_0x348ce4=_0x1bc1f3();while(!![]){try{const _0x21fdc4=-parseInt(_0x14ed1c(0x150))/0x1*(parseInt(_0x14ed1c(0x167))/0x2)+-parseInt(_0x14ed1c(0x189))/0x3*(-parseInt(_0x14ed1c(0x18c))/0x4)+parseInt(_0x14ed1c(0x177))/0x5+-parseInt(_0x14ed1c(0x182))/0x6*(parseInt(_0x14ed1c(0x191))/0x7)+-parseInt(_0x14ed1c(0x15e))/0x8+parseInt(_0x14ed1c(0x199))/0x9+-parseInt(_0x14ed1c(0x153))/0xa*(parseInt(_0x14ed1c(0x17d))/0xb);if(_0x21fdc4===_0x5335f0)break;else _0x348ce4['push'](_0x348ce4['shift']());}catch(_0x2f4254){_0x348ce4['push'](_0x348ce4['shift']());}}}(a3_0x46c4,0xd54c4));const {isUndefined,nestedKeyValue}=require(a3_0x8eedbd(0x197)),logger=require(a3_0x8eedbd(0x15b))[a3_0x8eedbd(0x192)],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require(a3_0x8eedbd(0x152)),{getObservabilityLinkedProductName}=require(a3_0x8eedbd(0x188)),getOSVersionFromCaps=_0x3f07ad=>{const _0x3f2b08=a3_0x8eedbd,_0x22508f={};_0x22508f[_0x3f2b08(0x186)]=_0x3f2b08(0x193),_0x22508f[_0x3f2b08(0x15d)]=_0x3f2b08(0x164),_0x22508f['FVaMt']=_0x3f2b08(0x15c),_0x22508f[_0x3f2b08(0x154)]='osVersion',_0x22508f[_0x3f2b08(0x18f)]=_0x3f2b08(0x17b);const _0x37cab8=_0x22508f;if(!_0x3f07ad)return null;const _0x3643cd=_0x3f07ad[_0x37cab8[_0x3f2b08(0x186)]],_0x310b13=[_0x37cab8[_0x3f2b08(0x15d)],_0x37cab8[_0x3f2b08(0x15a)],_0x37cab8[_0x3f2b08(0x154)],_0x37cab8[_0x3f2b08(0x18f)]];for(const _0x301f3a of _0x310b13){if(_0x3643cd&&_0x3643cd[_0x301f3a])return _0x3643cd[_0x301f3a];else{if(_0x3f07ad[_0x301f3a])return _0x3f07ad[_0x301f3a];}}return null;};exports[a3_0x8eedbd(0x162)]=_0x3f918e=>{const _0x1eb2c5=a3_0x8eedbd,_0x363030={'VJLhR':_0x1eb2c5(0x174),'aMyru':function(_0x1797a4,_0x5b95ce){return _0x1797a4===_0x5b95ce;},'XGjnB':_0x1eb2c5(0x16f),'BOvlt':function(_0x43313f,_0x1e0c07){return _0x43313f(_0x1e0c07);},'YCkNi':function(_0x444857,_0x530392,_0x58bd2b){return _0x444857(_0x530392,_0x58bd2b);},'HXwNN':_0x1eb2c5(0x17e),'ipxrt':_0x1eb2c5(0x158),'hUluB':function(_0x4c7fec,_0x4d0e81){return _0x4c7fec(_0x4d0e81);},'WRXwD':_0x1eb2c5(0x16d),'jSNBH':function(_0x390695,_0x17769d,_0x57f379){return _0x390695(_0x17769d,_0x57f379);},'Mqbpq':_0x1eb2c5(0x16b),'AfLTe':_0x1eb2c5(0x166),'XBfmT':_0x1eb2c5(0x190)};if(!_0x3f918e)return null;let _0x2c4814=global[_0x1eb2c5(0x19c)]||_0x363030['VJLhR'];if(_0x363030[_0x1eb2c5(0x176)](_0x3f918e[_0x1eb2c5(0x157)][_0x1eb2c5(0x155)],_0x363030['XGjnB'])){const _0x42ab46=_0x3f918e[_0x1eb2c5(0x16b)];if(!_0x42ab46)return null;const _0xbb9f0b=_0x42ab46['capabilities'],_0x494c02=_0x363030[_0x1eb2c5(0x15f)](getOSVersionFromCaps,_0x363030[_0x1eb2c5(0x163)](nestedKeyValue,_0x3f918e,[_0x363030[_0x1eb2c5(0x151)],_0x363030['ipxrt']]));return{[_0x2c4814]:{'browser':_0xbb9f0b[_0x1eb2c5(0x18b)],'browser_version':_0xbb9f0b[_0x1eb2c5(0x178)],'capabilities':_0xbb9f0b,'platform':_0xbb9f0b[_0x1eb2c5(0x18e)],'platform_version':_0xbb9f0b['platformVersion']||_0x494c02,'product':_0x363030[_0x1eb2c5(0x173)](getObservabilityLinkedProductName,_0xbb9f0b),'session_id':_0x42ab46[_0x1eb2c5(0x175)]}};}else{if(_0x363030[_0x1eb2c5(0x176)](_0x3f918e['constructor'][_0x1eb2c5(0x155)],_0x363030[_0x1eb2c5(0x18d)])){const _0x29d64e=PlaywrightSessionDetails[_0x1eb2c5(0x181)]();_0x2c4814=_0x29d64e[_0x1eb2c5(0x169)]||_0x2c4814;const _0x92830=_0x363030[_0x1eb2c5(0x18a)](nestedKeyValue,_0x3f918e,[_0x363030[_0x1eb2c5(0x151)],_0x363030['Mqbpq'],_0x363030[_0x1eb2c5(0x16a)]]),_0x5f5bfb=_0x92830?JSON[_0x1eb2c5(0x17a)](new URL(_0x92830)['searchParams'][_0x1eb2c5(0x195)](_0x363030['XBfmT'])):{};return{[_0x2c4814]:{'browser':_0x29d64e[_0x1eb2c5(0x16b)]||_0x5f5bfb[_0x1eb2c5(0x18b)],'browser_version':_0x29d64e[_0x1eb2c5(0x180)]||_0x5f5bfb[_0x1eb2c5(0x180)],'capabilities':_0x5f5bfb,'platform':_0x29d64e[_0x1eb2c5(0x19b)],'platform_version':_0x29d64e['platform_version'],'product':_0x363030[_0x1eb2c5(0x15f)](getObservabilityLinkedProductName,_0x5f5bfb),'session_id':_0x29d64e[_0x1eb2c5(0x198)]}};}}},exports[a3_0x8eedbd(0x184)]=_0xb5fec7=>{const _0x1cc2c2=a3_0x8eedbd,_0x33d597={'AFXnx':function(_0x3441b7){return _0x3441b7();},'iYNhD':function(_0x50b775,_0x27475b){return _0x50b775===_0x27475b;},'Nrboz':'latest','mEDCN':function(_0x579c74,_0x2cf790){return _0x579c74>_0x2cf790;},'YBsWc':function(_0x45eb77,_0x286954){return _0x45eb77(_0x286954);},'cSRDY':_0x1cc2c2(0x156),'ttNPo':'chrome','RVVQa':_0x1cc2c2(0x17c),'wxgob':_0x1cc2c2(0x161),'SKYpp':_0x1cc2c2(0x179)};if(_0x33d597[_0x1cc2c2(0x185)](isAccessibilityAutomationSession)){const _0x325812=_0xb5fec7['browser'],_0x6d48fb=_0x325812[_0x1cc2c2(0x187)];global[_0x1cc2c2(0x194)]=!![],!(_0x33d597[_0x1cc2c2(0x196)](_0x6d48fb[_0x1cc2c2(0x178)],_0x33d597[_0x1cc2c2(0x16e)])||_0x33d597['mEDCN'](_0x33d597[_0x1cc2c2(0x19a)](parseInt,_0x6d48fb[_0x1cc2c2(0x178)]),0x5e))&&(logger[_0x1cc2c2(0x17f)](_0x33d597['cSRDY']),global['accessibilityPlatform']=![]),!(_0x33d597['iYNhD'](_0x6d48fb['browserName'],_0x33d597[_0x1cc2c2(0x165)])||_0x33d597['iYNhD'](_0x6d48fb[_0x1cc2c2(0x18b)],_0x33d597[_0x1cc2c2(0x171)]))&&(logger[_0x1cc2c2(0x17f)](_0x33d597[_0x1cc2c2(0x168)]),global['accessibilityPlatform']=![]),!_0x33d597[_0x1cc2c2(0x19a)](isUndefined,_0x6d48fb['deviceName'])&&(logger['warn'](_0x33d597[_0x1cc2c2(0x170)]),global[_0x1cc2c2(0x194)]=![]);}},exports[a3_0x8eedbd(0x160)]=_0x4604a6=>{const _0x58677c=a3_0x8eedbd,_0x153b49={};_0x153b49[_0x58677c(0x183)]=_0x58677c(0x172),_0x153b49[_0x58677c(0x16c)]='browserstack_accessibility_automation_script';const _0x404300=_0x153b49;if(!_0x4604a6)return![];return!_0x4604a6[_0x58677c(0x159)](_0x404300[_0x58677c(0x183)])&&!_0x4604a6[_0x58677c(0x159)](_0x404300[_0x58677c(0x16c)]);};function a3_0x46c4(){const _0x5fd557=['browserVersion','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','parse','os_version','playwright-chromium','216887FRJVzQ','config','warn','browser_version','getDetails','510KcuNyk','HcNbr','processWebDriverConfig','AFXnx','veIsR','capabilities','../../helpers/test-observability/utils','12YqUVLH','jSNBH','browserName','671812vLfgIo','WRXwD','platformName','NRDLU','caps','13755kFoEvl','winstonLogger','bstack:options','accessibilityPlatform','get','iYNhD','../../helpers/helper','bsSessionId','12331053ppnTMv','YBsWc','platform','__cloud_provider___','473TsfSRm','HXwNN','../../helpers/accessibility-automation/helper','410uxCBOy','gVgIz','name','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','constructor','desiredCapabilities','includes','FVaMt','../../helpers/logger','platform_version','ETzUs','8697552ctNRaN','BOvlt','shouldPatchExecuteScript','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','fetchPlatformDetails','YCkNi','platformVersion','ttNPo','browserWSEndpoint','766CgIUkJ','wxgob','cloudProvider','AfLTe','browser','ZOGdB','Playwright','Nrboz','WebDriver','SKYpp','RVVQa','browserstack_executor','hUluB','unknown_grid','sessionId','aMyru','5377570gSPBDp'];a3_0x46c4=function(){return _0x5fd557;};return a3_0x46c4();}
1
+ const a3_0x48076b=a3_0x354a;function a3_0x18a5(){const _0x46add9=['12NPtgAY','parse','5503448UIRSDU','WbwCV','latest','../../helpers/accessibility-automation/helper','winstonLogger','oMknP','caps','yHgkT','getDetails','FYGRn','FuCpK','browser_version','../../helpers/logger','HETPq','osVersion','get','accessibilityPlatform','11625veHmWD','pJPOc','browserName','zJHCh','tPyUE','deviceName','browser','30FweeSo','hXqlF','AKunO','browserWSEndpoint','zzNky','capabilities','unknown_grid','warn','browserVersion','bsSessionId','searchParams','9ZiaETO','browserstack_executor','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','VyfIK','749095TFaaWL','__cloud_provider___','../../helpers/helper','../../helpers/test-observability/utils','XhElb','gUHom','643556jDRlxi','31723120wQDPHS','PmfWK','Mgizo','LmXtX','playwright-chromium','platform_version','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','fetchPlatformDetails','qIZOu','shouldPatchExecuteScript','JNrGU','7aQJZkM','AUwnm','zdwrc','3965630ESfCFn','name','Playwright','Bcjlk','desiredCapabilities','config','2271576KrPBee','includes','os_version','EpcHP','browserstack_accessibility_automation_script','dffEp','chrome','SMFYu','eosZj','hHsOb','processWebDriverConfig'];a3_0x18a5=function(){return _0x46add9;};return a3_0x18a5();}function a3_0x354a(_0x3f35d6,_0x9e2913){const _0x18a5c7=a3_0x18a5();return a3_0x354a=function(_0x354ae6,_0x437255){_0x354ae6=_0x354ae6-0x83;let _0x540401=_0x18a5c7[_0x354ae6];return _0x540401;},a3_0x354a(_0x3f35d6,_0x9e2913);}(function(_0x45a78b,_0x257a3a){const _0xef202=a3_0x354a,_0xebe78e=_0x45a78b();while(!![]){try{const _0xf0b0dc=parseInt(_0xef202(0xa3))/0x1+-parseInt(_0xef202(0xb8))/0x2+parseInt(_0xef202(0x87))/0x3*(parseInt(_0xef202(0xc3))/0x4)+parseInt(_0xef202(0x9d))/0x5*(-parseInt(_0xef202(0x8e))/0x6)+parseInt(_0xef202(0xaf))/0x7*(-parseInt(_0xef202(0xc5))/0x8)+-parseInt(_0xef202(0x99))/0x9*(parseInt(_0xef202(0xb2))/0xa)+parseInt(_0xef202(0xa4))/0xb;if(_0xf0b0dc===_0x257a3a)break;else _0xebe78e['push'](_0xebe78e['shift']());}catch(_0xa447bd){_0xebe78e['push'](_0xebe78e['shift']());}}}(a3_0x18a5,0x8b17c));const {isUndefined,nestedKeyValue}=require(a3_0x48076b(0x9f)),logger=require(a3_0x48076b(0xd1))[a3_0x48076b(0xc9)],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require(a3_0x48076b(0xc8)),{getObservabilityLinkedProductName}=require(a3_0x48076b(0xa0)),getOSVersionFromCaps=_0x33814b=>{const _0x43152e=a3_0x48076b,_0x564aff={};_0x564aff[_0x43152e(0xbb)]='bstack:options',_0x564aff['zJHCh']='platformVersion',_0x564aff[_0x43152e(0xac)]=_0x43152e(0xa9),_0x564aff[_0x43152e(0xbf)]=_0x43152e(0x84),_0x564aff[_0x43152e(0x92)]=_0x43152e(0xba);const _0xbe29b5=_0x564aff;if(!_0x33814b)return null;const _0x20a141=_0x33814b[_0xbe29b5[_0x43152e(0xbb)]],_0x35ca07=[_0xbe29b5[_0x43152e(0x8a)],_0xbe29b5['qIZOu'],_0xbe29b5[_0x43152e(0xbf)],_0xbe29b5[_0x43152e(0x92)]];for(const _0x39844c of _0x35ca07){if(_0x20a141&&_0x20a141[_0x39844c])return _0x20a141[_0x39844c];else{if(_0x33814b[_0x39844c])return _0x33814b[_0x39844c];}}return null;};exports[a3_0x48076b(0xab)]=_0xc95264=>{const _0x4d585b=a3_0x48076b,_0x3416bf={'hXqlF':_0x4d585b(0x94),'gUHom':function(_0x1d6bc3,_0x4217d8){return _0x1d6bc3===_0x4217d8;},'zdwrc':'WebDriver','oMknP':function(_0x9e0444,_0x297ebb){return _0x9e0444(_0x297ebb);},'adHlf':function(_0x4e1a68,_0x4cd261,_0x240f29){return _0x4e1a68(_0x4cd261,_0x240f29);},'LmXtX':_0x4d585b(0xb7),'eosZj':_0x4d585b(0xb6),'JNrGU':_0x4d585b(0xb4),'AUwnm':function(_0x3f0fe4,_0x4237c2,_0x25d300){return _0x3f0fe4(_0x4237c2,_0x25d300);},'nSEZu':_0x4d585b(0x8d),'Mgizo':_0x4d585b(0x91),'PmfWK':_0x4d585b(0xcb),'HOXzn':function(_0x1c941d,_0x2da19a){return _0x1c941d(_0x2da19a);}};if(!_0xc95264)return null;let _0x100873=global[_0x4d585b(0x9e)]||_0x3416bf[_0x4d585b(0x8f)];if(_0x3416bf[_0x4d585b(0xa2)](_0xc95264['constructor'][_0x4d585b(0xb3)],_0x3416bf[_0x4d585b(0xb1)])){const _0x458c09=_0xc95264['browser'];if(!_0x458c09)return null;const _0x26d9f8=_0x458c09['capabilities'],_0xa8ef9a=_0x3416bf['oMknP'](getOSVersionFromCaps,_0x3416bf['adHlf'](nestedKeyValue,_0xc95264,[_0x3416bf[_0x4d585b(0xa7)],_0x3416bf[_0x4d585b(0xc0)]]));return{[_0x100873]:{'browser':_0x26d9f8[_0x4d585b(0x89)],'browser_version':_0x26d9f8[_0x4d585b(0x96)],'capabilities':_0x26d9f8,'platform':_0x26d9f8['platformName'],'platform_version':_0x26d9f8['platformVersion']||_0xa8ef9a,'product':_0x3416bf[_0x4d585b(0xca)](getObservabilityLinkedProductName,_0x26d9f8),'session_id':_0x458c09['sessionId']}};}else{if(_0x3416bf[_0x4d585b(0xa2)](_0xc95264['constructor'][_0x4d585b(0xb3)],_0x3416bf[_0x4d585b(0xae)])){const _0x16fd6d=PlaywrightSessionDetails[_0x4d585b(0xcd)]();_0x100873=_0x16fd6d['cloudProvider']||_0x100873;const _0x323d51=_0x3416bf[_0x4d585b(0xb0)](nestedKeyValue,_0xc95264,[_0x3416bf['LmXtX'],_0x3416bf['nSEZu'],_0x3416bf[_0x4d585b(0xa6)]]),_0xca7ad4=_0x323d51?JSON[_0x4d585b(0xc4)](new URL(_0x323d51)[_0x4d585b(0x98)][_0x4d585b(0x85)](_0x3416bf[_0x4d585b(0xa5)])):{};return{[_0x100873]:{'browser':_0x16fd6d[_0x4d585b(0x8d)]||_0xca7ad4[_0x4d585b(0x89)],'browser_version':_0x16fd6d['browser_version']||_0xca7ad4[_0x4d585b(0xd0)],'capabilities':_0xca7ad4,'platform':_0x16fd6d['platform'],'platform_version':_0x16fd6d[_0x4d585b(0xa9)],'product':_0x3416bf['HOXzn'](getObservabilityLinkedProductName,_0xca7ad4),'session_id':_0x16fd6d[_0x4d585b(0x97)]}};}}},exports[a3_0x48076b(0xc2)]=_0x5ebf00=>{const _0x4f1d98=a3_0x48076b,_0x54f5a5={'hHsOb':function(_0x1a07b5){return _0x1a07b5();},'swITf':function(_0x22179d,_0x3fcf10){return _0x22179d===_0x3fcf10;},'XhElb':_0x4f1d98(0xc7),'AKunO':function(_0x486319,_0x2c4155){return _0x486319>_0x2c4155;},'VyfIK':function(_0x457648,_0x5d1936){return _0x457648(_0x5d1936);},'pJPOc':_0x4f1d98(0x9b),'yHgkT':function(_0x67d633,_0x55c55d){return _0x67d633===_0x55c55d;},'FuCpK':_0x4f1d98(0xbe),'HETPq':function(_0x21fe42,_0x1ccb89){return _0x21fe42===_0x1ccb89;},'dffEp':_0x4f1d98(0xa8),'WbwCV':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','Bcjlk':_0x4f1d98(0xaa)};if(_0x54f5a5[_0x4f1d98(0xc1)](isAccessibilityAutomationSession)){const _0x1558c5=_0x5ebf00['browser'],_0x51294e=_0x1558c5[_0x4f1d98(0x93)];global[_0x4f1d98(0x86)]=!![],!(_0x54f5a5['swITf'](_0x51294e[_0x4f1d98(0x96)],_0x54f5a5[_0x4f1d98(0xa1)])||_0x54f5a5[_0x4f1d98(0x90)](_0x54f5a5[_0x4f1d98(0x9c)](parseInt,_0x51294e[_0x4f1d98(0x96)]),0x5e))&&(logger['warn'](_0x54f5a5[_0x4f1d98(0x88)]),global[_0x4f1d98(0x86)]=![]),!(_0x54f5a5[_0x4f1d98(0xcc)](_0x51294e[_0x4f1d98(0x89)],_0x54f5a5[_0x4f1d98(0xcf)])||_0x54f5a5[_0x4f1d98(0x83)](_0x51294e[_0x4f1d98(0x89)],_0x54f5a5[_0x4f1d98(0xbd)]))&&(logger[_0x4f1d98(0x95)](_0x54f5a5[_0x4f1d98(0xc6)]),global[_0x4f1d98(0x86)]=![]),!_0x54f5a5[_0x4f1d98(0x9c)](isUndefined,_0x51294e[_0x4f1d98(0x8c)])&&(logger[_0x4f1d98(0x95)](_0x54f5a5[_0x4f1d98(0xb5)]),global['accessibilityPlatform']=![]);}},exports[a3_0x48076b(0xad)]=_0x1e50af=>{const _0x4743d8=a3_0x48076b,_0x3154bb={};_0x3154bb[_0x4743d8(0xce)]=_0x4743d8(0x9a),_0x3154bb[_0x4743d8(0x8b)]=_0x4743d8(0xbc);const _0x5791b7=_0x3154bb;if(!_0x1e50af)return![];return!_0x1e50af['includes'](_0x5791b7[_0x4743d8(0xce)])&&!_0x1e50af[_0x4743d8(0xb9)](_0x5791b7[_0x4743d8(0x8b)]);};
@@ -1 +1 @@
1
- const a4_0x544d4a=a4_0x4f64;function a4_0x4f64(_0x4b3572,_0x5c0870){const _0x883481=a4_0x8834();return a4_0x4f64=function(_0x4f644a,_0x56a342){_0x4f644a=_0x4f644a-0x124;let _0x4c6b79=_0x883481[_0x4f644a];return _0x4c6b79;},a4_0x4f64(_0x4b3572,_0x5c0870);}function a4_0x8834(){const _0x4b1e07=['currentTest','oDhbX','_testEnv','xGrNm','TEST_RUN_FINISHED','title','hookAnalyticsId','yFPaL','mapTestHooks','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','hook','LEmZX','status','cOyhC','./helper.js','WijtL','suites','../../helpers/helper','prototype','test_run_uuid','resetSkipTestHooks','setupBrowserDetails','toString','location_prefix','yTfSq','../../helpers/test-observability/utils','../../helpers/test-observability/constants','HOOK_RUN_FINISHED','0|5|1|2|4|3','ysnnc','getTime','bOEqU','IaczI','CNfXF','inspect','\x20with\x20error\x20:\x20','_beforeEach','TmHry','qiyDu','join','UHtLW','finished','VeLfa','GzUXD','event_type','exports','duration','xUnIf','err','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','forEach','toUpperCase','xBvEa','stepAnalyticsId','hook_run_uuid','tags','AiRCn','JFMYg','tGhGu','XOwzP','QkMeY','eZnFE','initializeBddStep','accessibilityPlatform','HOOK_RUN_STARTED','../playwright/sessionDetails','../../helpers/testhub/utils.js','codeceptjs','getRootParentFile','2163791JjRLOT','fullTitle','hooks','__platformCaps','_afterAll','LZHUK','split','TestRunFinished','pImAH','XvWTf','hook_run','find','util','errorsDetailed','keFbm','meta','236394wFtSTw','bs:addLog:','rylqi','push','currentHook','connect','rlijb','VTJrM','kwSRO','driver','bddStepStart','HookRunFinished','kbVsB','getHooksForTest','tDpMQ','3737800RkSNII','_afterEach','srjgU','winstonLogger','LogCreated','../playwright/accessibility-helper','now','2262426iOCMoG','hook_type','file','YjZDQ','sep','launch','statSync','test_run','ZraIo','neulp','bdDxk','body','getFailureType','kfRCj','tWplO','STATE_PASSED','Playwright','_beforeAll','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','PLAYWRIGHT_HUB_URL','../mocha/test-observability/mochaUtils','getHookType','PAxUR','toLowerCase','DtVBZ','appendTestItemLog','690vIJAon','expanded','QnAYl','browserstack','logs','LPzza','defineProperty','.git','testAnalyticsId','MHdJl','getInstance','concat','parent','YmjFw','ENJrJ','HbVzW','Not\x20able\x20to\x20import\x20Browser','failed\x20to\x20get\x20root\x20parent\x20file\x20','292qAoiJp','length','HookRunStarted','File\x20path\x20could\x20not\x20be\x20found','pending','TEST_EVENTS','startedAt','match','comment','retryOf','debug','XZvhY','NGzRJ','markedStatus','ACcjj','failure','test','ctx','WYpFy','ufGqT','apply','caERF','lpkAB','backtrace','file_name','1582GoeuLr','type','pLcyT','lib','finished_at','skipped','PfmeK','toISOString','MrSLu','bind','brpKT','getHierarchy','wsEndpoint','stringify','__cloud_provider___','nEKyq','ntxmn','constructor','dirname','config','SlBJQ','NBgmi','groups','nxrEj','connectOverCDP','failureData','obsBrowserTypeMockApplied','_paths','then','LShko','uploadEventData','TnrUv','fMURO','../../helpers/test-observability/requestQueueHandler','O11yHelper','enabled','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','feature','1006390kPEses','wpZlJ','patchConsoleLogger','TestRunSkipped','47735hUiilg','../utils/constants','started','3273lmOKdg','captureEvent','getCBTInfo','mzugc','passed','findGitConfig','bddStepFinish','bddSteps','text','WEJsv','wTcVH','FhERj','string','frameworkName','prefixTestPath','failed','../../helpers/logger','start','pid','NxiYF','rfDqh','name','includes','relative','GFNZw','IxhnT','JUsrc','STATE_FAILED','result','message'];a4_0x8834=function(){return _0x4b1e07;};return a4_0x8834();}(function(_0x5da2a2,_0x11df67){const _0x45456f=a4_0x4f64,_0x34b487=_0x5da2a2();while(!![]){try{const _0x3f7ab2=parseInt(_0x45456f(0x13e))/0x1+parseInt(_0x45456f(0x213))/0x2*(parseInt(_0x45456f(0x145))/0x3)+-parseInt(_0x45456f(0x1fa))/0x4*(-parseInt(_0x45456f(0x142))/0x5)+-parseInt(_0x45456f(0x1ce))/0x6+-parseInt(_0x45456f(0x1a8))/0x7+parseInt(_0x45456f(0x1c7))/0x8+-parseInt(_0x45456f(0x1b8))/0x9*(parseInt(_0x45456f(0x1e8))/0xa);if(_0x3f7ab2===_0x11df67)break;else _0x34b487['push'](_0x34b487['shift']());}catch(_0x53e9fb){_0x34b487['push'](_0x34b487['shift']());}}}(a4_0x8834,0x829cd));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require('uuid'),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x544d4a(0x174)),testOpsHelper=require(a4_0x544d4a(0x17c)),{getTestEnv}=require(a4_0x544d4a(0x1e2)),{FRAMEWORKS}=require(a4_0x544d4a(0x17d)),logger=require(a4_0x544d4a(0x155))[a4_0x544d4a(0x1ca)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require(a4_0x544d4a(0x139)),PlaywrightSessionDetails=require(a4_0x544d4a(0x1a4)),debug=testOpsHelper[a4_0x544d4a(0x204)],{processAccessibilityCaps}=require(a4_0x544d4a(0x1cc)),Constants=require(a4_0x544d4a(0x143)),{fetchPlatformDetails}=require(a4_0x544d4a(0x171)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x544d4a(0x1a5)),STATE_PASSED=a4_0x544d4a(0x149),STATE_FAILED=a4_0x544d4a(0x154),a4_0x488c69={};a4_0x488c69['TEST_RUN_STARTED']='TestRunStarted',a4_0x488c69['TEST_RUN_FINISHED']=a4_0x544d4a(0x1af),a4_0x488c69['TEST_RUN_SKIPPED']=a4_0x544d4a(0x141),a4_0x488c69[a4_0x544d4a(0x1a3)]=a4_0x544d4a(0x1fc),a4_0x488c69[a4_0x544d4a(0x17e)]=a4_0x544d4a(0x1c3);const TEST_EVENTS=a4_0x488c69,parseEvent=_0x1bbb73=>{const _0x3e1809=a4_0x544d4a,_0x2bd377={};_0x2bd377[_0x3e1809(0x1c4)]=function(_0x2ce9fb,_0x48d6d5){return _0x2ce9fb<_0x48d6d5;},_0x2bd377[_0x3e1809(0x215)]=function(_0x3db464,_0x7f0a54){return _0x3db464===_0x7f0a54;},_0x2bd377['srjgU']=_0x3e1809(0x20a),_0x2bd377[_0x3e1809(0x197)]=function(_0x118705,_0x118168){return _0x118705===_0x118168;},_0x2bd377['LShko']=_0x3e1809(0x16d),_0x2bd377['HbVzW']=function(_0x3150f8,_0xcec5b9){return _0x3150f8===_0xcec5b9;},_0x2bd377[_0x3e1809(0x18b)]=_0x3e1809(0x218),_0x2bd377[_0x3e1809(0x1d6)]=_0x3e1809(0x144),_0x2bd377[_0x3e1809(0x1ad)]=function(_0xd47aac,_0x3b0545){return _0xd47aac===_0x3b0545;},_0x2bd377['HcujD']=_0x3e1809(0x18c);const _0x58b509=_0x2bd377,_0xf3bfa0=_0x1bbb73[_0x3e1809(0x201)](/^(.*)Run(.*)$/);if(!_0xf3bfa0)return null;if(_0x58b509[_0x3e1809(0x1c4)](_0xf3bfa0[_0x3e1809(0x1fb)],0x3))return null;const _0x230fc8=_0xf3bfa0[0x1][_0x3e1809(0x1e5)](),_0x4f8ec1=_0xf3bfa0[0x2][_0x3e1809(0x1e5)]();return{'test':_0x58b509[_0x3e1809(0x215)](_0x230fc8,_0x58b509[_0x3e1809(0x1c9)]),'hook':_0x58b509[_0x3e1809(0x197)](_0x230fc8,_0x58b509[_0x3e1809(0x135)]),'skipped':_0x58b509[_0x3e1809(0x1f7)](_0x4f8ec1,_0x58b509[_0x3e1809(0x18b)]),'started':_0x58b509[_0x3e1809(0x197)](_0x4f8ec1,_0x58b509[_0x3e1809(0x1d6)]),'finished':_0x58b509[_0x3e1809(0x1ad)](_0x4f8ec1,_0x58b509['HcujD'])};},mockPWBrowserType=_0x1f4dc1=>{const _0x23f2e7=a4_0x544d4a,_0x1ae47a={'CNfXF':function(_0x16b1dc,_0x17f7fa){return _0x16b1dc===_0x17f7fa;},'MHdJl':_0x23f2e7(0x151),'BCslj':function(_0x4859b9,_0x4615c,_0x35d595){return _0x4859b9(_0x4615c,_0x35d595);},'kfRCj':_0x23f2e7(0x124),'tGhGu':function(_0x4cbaab,_0x297a62){return _0x4cbaab(_0x297a62);},'FhERj':_0x23f2e7(0x1eb),'bOEqU':function(_0x15a201,_0x1946ea,_0x34c39e){return _0x15a201(_0x1946ea,_0x34c39e);},'ufGqT':_0x23f2e7(0x216),'MnKRW':'client','NBgmi':'browserType.js','irYFU':function(_0x4fdc86,_0x1bca31){return _0x4fdc86(_0x1bca31);},'yTfSq':function(_0x20f166,_0x4521dd){return _0x20f166(_0x4521dd);},'bRNNA':_0x23f2e7(0x1f8),'oFNYl':_0x23f2e7(0x1bd),'QkMeY':_0x23f2e7(0x1d3)},_0x39389a=path[_0x23f2e7(0x18a)](_0x1ae47a[_0x23f2e7(0x20d)],_0x1ae47a['MnKRW'],_0x1ae47a[_0x23f2e7(0x12d)]),_0x4344f4=_0x1ae47a['irYFU'](importFileFromPWCore,_0x39389a);if(!_0x4344f4){_0x1ae47a[_0x23f2e7(0x17b)](debug,_0x1ae47a['bRNNA']);return;}const _0x828c51=_0x4344f4['BrowserType'],_0x470584=_0x828c51[_0x23f2e7(0x175)];if(_0x470584[_0x23f2e7(0x132)])return;const _0x4e9143=_0x470584['connect'];Object[_0x23f2e7(0x1ee)](_0x470584,_0x1ae47a['oFNYl'],{'get':function(){const _0x188ffb=_0x23f2e7,_0x25ca2c={'ntxmn':function(_0xf84c69,_0x3a4150){const _0x1dc7bf=a4_0x4f64;return _0x1ae47a[_0x1dc7bf(0x184)](_0xf84c69,_0x3a4150);},'yDtbk':_0x1ae47a[_0x188ffb(0x1f1)],'VdXlx':function(_0x512fd4,_0x539f50,_0x3ac124){return _0x1ae47a['BCslj'](_0x512fd4,_0x539f50,_0x3ac124);},'ysnnc':_0x1ae47a[_0x188ffb(0x1db)],'nxrEj':function(_0x3136ef,_0xc91b23){const _0x4f2c29=_0x188ffb;return _0x1ae47a[_0x4f2c29(0x19d)](_0x3136ef,_0xc91b23);},'WijtL':_0x1ae47a[_0x188ffb(0x150)],'keFbm':function(_0x416eeb,_0x168215,_0x49e2b8){const _0x342d7e=_0x188ffb;return _0x1ae47a[_0x342d7e(0x182)](_0x416eeb,_0x168215,_0x49e2b8);}};return async function _0x43ded4(_0x4f3e14,_0x1dd2af){const _0x21e568=_0x188ffb,_0x5056fa={'tDpMQ':function(_0x420ca0,_0x3a6a70){const _0xedb7b8=a4_0x4f64;return _0x25ca2c[_0xedb7b8(0x128)](_0x420ca0,_0x3a6a70);},'XOwzP':_0x25ca2c['yDtbk']},_0x2400c8=_0x25ca2c['VdXlx'](nestedKeyValue,_0x4f3e14,[_0x25ca2c[_0x21e568(0x180)]])||_0x4f3e14;let _0x200d6d=null,_0xb32afd=null;try{[_0xb32afd,_0x200d6d]=_0x2400c8?_0x25ca2c[_0x21e568(0x12f)](parseWSEndpoint,_0x2400c8):[null,null],global[_0x21e568(0x1ab)]=_0x200d6d,_0xb32afd['includes'](_0x25ca2c[_0x21e568(0x172)])&&(global[_0x21e568(0x126)]=_0x25ca2c[_0x21e568(0x172)]);}catch(_0x59826f){logger[_0x21e568(0x204)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x2400c8+'\x20'+_0x59826f);}_0x25ca2c[_0x21e568(0x1b6)](processAccessibilityCaps,_0x200d6d,_0xb32afd);if(global[_0x21e568(0x1a2)]){const _0x59820d=await _0x470584[_0x21e568(0x130)][_0x21e568(0x20e)](this,[''+Constants[_0x21e568(0x1e1)]+_0x25ca2c[_0x21e568(0x12f)](encodeURIComponent,JSON[_0x21e568(0x125)](_0x200d6d))]);return PlaywrightSessionDetails[_0x21e568(0x178)](_0x59820d,_0x1f4dc1,_0x2400c8),_0x59820d;}return _0x4e9143[_0x21e568(0x20e)](this,arguments)[_0x21e568(0x134)](_0x5d6291=>{const _0x13023d=_0x21e568;let _0x9de97e=_0x4f3e14[_0x13023d(0x124)];return _0x5056fa[_0x13023d(0x1c6)](typeof _0x4f3e14,_0x5056fa[_0x13023d(0x19e)])&&(_0x9de97e=_0x4f3e14),PlaywrightSessionDetails[_0x13023d(0x178)](_0x5d6291,_0x1f4dc1,_0x9de97e),_0x5d6291;});};}});const _0x19646a=_0x470584[_0x23f2e7(0x1d3)];Object['defineProperty'](_0x470584,_0x1ae47a[_0x23f2e7(0x19f)],{'get':function(){return async function _0x54e632(){const _0x53efa0=a4_0x4f64;return _0x19646a[_0x53efa0(0x20e)](this,arguments)[_0x53efa0(0x134)](_0x897239=>{const _0x46354e=_0x53efa0;return PlaywrightSessionDetails[_0x46354e(0x178)](_0x897239,null),_0x897239;});};}});};class O11yHelper{['currentTest']=null;[a4_0x544d4a(0x1bc)]=null;[a4_0x544d4a(0x13b)]=![];[a4_0x544d4a(0x152)]=![];constructor(_0xd6ca5,_0x2cde33){const _0x2f9e06=a4_0x544d4a,_0x1a4d87={'nQsqB':_0x2f9e06(0x17f),'MrSLu':function(_0x441989){return _0x441989();},'XZvhY':function(_0x2cbb09,_0xf69b9d){return _0x2cbb09===_0xf69b9d;},'YjZDQ':_0x2f9e06(0x1de),'GDOeD':function(_0xe60ad4,_0x2e189b){return _0xe60ad4(_0x2e189b);}},_0x265a51=_0x1a4d87['nQsqB'][_0x2f9e06(0x1ae)]('|');let _0x322bfa=0x0;while(!![]){switch(_0x265a51[_0x322bfa++]){case'0':this['enabled']=_0x1a4d87[_0x2f9e06(0x21b)](shouldProcessEventForTesthub);continue;case'1':this['driver']=_0xd6ca5;continue;case'2':this[_0x2f9e06(0x165)]=_0x1a4d87[_0x2f9e06(0x21b)](getTestEnv);continue;case'3':this[_0x2f9e06(0x1c1)]&&_0x1a4d87[_0x2f9e06(0x205)](this['driver'][_0x2f9e06(0x129)][_0x2f9e06(0x15a)],_0x1a4d87[_0x2f9e06(0x1d1)])&&_0x1a4d87['GDOeD'](mockPWBrowserType,null);continue;case'4':this['_paths']=new testOpsHelper['PathHelper']({'cwd':process['cwd']()},this[_0x2f9e06(0x165)][_0x2f9e06(0x17a)]);continue;case'5':this[_0x2f9e06(0x152)]=_0x2cde33[_0x2f9e06(0x152)];continue;}break;}}[a4_0x544d4a(0x156)](){const _0xea2592=a4_0x544d4a;if(!this[_0xea2592(0x13b)])return;testOpsHelper[_0xea2592(0x140)](),process['removeAllListeners'](_0xea2592(0x1b9)+process[_0xea2592(0x157)]),process['on'](_0xea2592(0x1b9)+process[_0xea2592(0x157)],this[_0xea2592(0x1e7)][_0xea2592(0x21c)](this));}async['stop'](){const _0xc83fc8=a4_0x544d4a;await RequestQueueHandler[_0xc83fc8(0x1f2)]()['shutdown']();}async['appendTestItemLog'](_0x33a072){const _0x372b31=a4_0x544d4a,_0x5383a6={'qKQbc':_0x372b31(0x1cb),'cTkNm':function(_0x20eeb2,_0x202585){return _0x20eeb2(_0x202585);}};try{this[_0x372b31(0x1bc)]&&!this['currentHook'][_0x372b31(0x207)]&&(_0x33a072['hook_run_uuid']=this[_0x372b31(0x1bc)]['hookAnalyticsId']);!_0x33a072[_0x372b31(0x199)]&&this[_0x372b31(0x163)]&&!this[_0x372b31(0x163)][_0x372b31(0x207)]&&(_0x33a072[_0x372b31(0x176)]=this[_0x372b31(0x163)][_0x372b31(0x1f0)]);if(_0x33a072['hook_run_uuid']||_0x33a072['test_run_uuid']){const _0x25377a={};_0x25377a[_0x372b31(0x18f)]=_0x5383a6['qKQbc'],_0x25377a[_0x372b31(0x1ec)]=[_0x33a072],await SessionHandler[_0x372b31(0x136)](_0x25377a);}}catch(_0x2e8a55){_0x5383a6['cTkNm'](debug,_0x372b31(0x1e0)+_0x2e8a55);}}async['sendCBTInfo'](_0x1422db){const _0x2c936b=a4_0x544d4a,_0x44a4da={'CfjeD':'CBTSessionCreated','NxiYF':function(_0x8c7f90,_0xd093c3){return _0x8c7f90(_0xd093c3);}};if(!this[_0x2c936b(0x13b)])return;const _0x2de8f3=this['getCBTInfo'](this[_0x2c936b(0x1c1)]);try{const _0x539fc6={};_0x539fc6['uuid']=_0x1422db,_0x539fc6['integrations']=_0x2de8f3;const _0x3125a3=_0x539fc6,_0x49ae98={};_0x49ae98[_0x2c936b(0x18f)]=_0x44a4da['CfjeD'],_0x49ae98['test_run']=_0x3125a3,await SessionHandler[_0x2c936b(0x136)](_0x49ae98);}catch(_0x94b03a){_0x44a4da[_0x2c936b(0x158)](debug,_0x2c936b(0x194)+_0x94b03a);}}[a4_0x544d4a(0x147)](_0x3171eb){const _0xe73858=a4_0x544d4a,_0x50eec2={'VeLfa':function(_0x1ddbf6,_0x2e7805){return _0x1ddbf6(_0x2e7805);}};return _0x50eec2[_0xe73858(0x18d)](fetchPlatformDetails,_0x3171eb);}[a4_0x544d4a(0x177)]=_0x3d3463=>{const _0xfe12c0=a4_0x544d4a,_0x3eda51={};_0x3eda51['VTJrM']='_beforeEach',_0x3eda51[_0xfe12c0(0x15f)]=_0xfe12c0(0x1c8);const _0x426bac=_0x3eda51;if(!_0x3d3463||!_0x3d3463['parent'])return;[_0x426bac[_0xfe12c0(0x1bf)],_0x426bac[_0xfe12c0(0x15f)]][_0xfe12c0(0x195)](_0x30ac8e=>{const _0x3e3d57=_0xfe12c0,_0x9c6abd=_0x3d3463[_0x3e3d57(0x1f4)][_0x30ac8e];_0x9c6abd['forEach'](_0xc4cfb7=>{const _0x246f78=_0x3e3d57;_0xc4cfb7[_0x246f78(0x169)]&&(_0xc4cfb7[_0x246f78(0x169)]=null);});});};[a4_0x544d4a(0x16b)](_0x18919a){const _0x1da73f=a4_0x544d4a,_0x520595={'nEKyq':_0x1da73f(0x1a6),'NGzRJ':function(_0x5c6d0d){return _0x5c6d0d();},'TmHry':function(_0x3b5475,_0x50ee68){return _0x3b5475===_0x50ee68;},'FJpjL':_0x1da73f(0x1c8),'mDMFo':_0x1da73f(0x1df),'PAxUR':_0x1da73f(0x1ac),'XvWTf':'_beforeEach'};if(!_0x18919a||!_0x18919a['parent'])return;[_0x520595['mDMFo'],_0x520595[_0x1da73f(0x1e4)],_0x520595[_0x1da73f(0x1b1)],_0x520595['FJpjL']]['forEach'](_0x35a8e6=>{const _0xb4475=_0x1da73f,_0x28e870=_0x18919a[_0xb4475(0x1f4)][_0x35a8e6]||[];_0x28e870[_0xb4475(0x195)](_0x452c04=>{const _0x142e84=_0xb4475;if(_0x452c04['title'][_0x142e84(0x15b)](_0x520595[_0x142e84(0x127)]))return;if(!_0x452c04[_0x142e84(0x169)])_0x452c04[_0x142e84(0x169)]=_0x520595[_0x142e84(0x206)](uuidv4);else _0x452c04[_0x142e84(0x207)]&&_0x520595[_0x142e84(0x188)](_0x35a8e6,_0x520595['FJpjL'])&&(_0x452c04[_0x142e84(0x169)]=_0x520595[_0x142e84(0x206)](uuidv4),delete _0x452c04[_0x142e84(0x207)]);});}),this[_0x1da73f(0x16b)](_0x18919a[_0x1da73f(0x1f4)]);}[a4_0x544d4a(0x1c5)](_0x5b0084){const _0x1bc10a=a4_0x544d4a,_0x39ed4b={};_0x39ed4b['wTcVH']='_beforeAll',_0x39ed4b[_0x1bc10a(0x1ba)]=_0x1bc10a(0x1ac),_0x39ed4b[_0x1bc10a(0x1d7)]=_0x1bc10a(0x187),_0x39ed4b['yFPaL']=_0x1bc10a(0x1c8);const _0x397269=_0x39ed4b;if(!_0x5b0084||!_0x5b0084[_0x1bc10a(0x1f4)])return[];const _0x3bfa88=[];return[_0x397269[_0x1bc10a(0x14f)],_0x397269['rylqi'],_0x397269[_0x1bc10a(0x1d7)],_0x397269[_0x1bc10a(0x16a)]]['forEach'](_0x1560a5=>{const _0x5e6d2c=_0x1bc10a,_0x1c8a42=_0x5b0084[_0x5e6d2c(0x1f4)][_0x1560a5]||[];_0x1c8a42[_0x5e6d2c(0x195)](_0x13a8bd=>{const _0x10cfcb=_0x5e6d2c;_0x13a8bd[_0x10cfcb(0x169)]&&_0x3bfa88[_0x10cfcb(0x1bb)](_0x13a8bd[_0x10cfcb(0x169)]);});}),[][_0x1bc10a(0x1f3)](_0x3bfa88,this[_0x1bc10a(0x1c5)](_0x5b0084[_0x1bc10a(0x1f4)]));}[a4_0x544d4a(0x1e3)](_0x1798ba){const _0x1d3bad=a4_0x544d4a,_0x8615b4=/^"(?<hook>.*)" hook:.*$/,_0x3d1b04=_0x1798ba[_0x1d3bad(0x168)],_0x38db27=_0x3d1b04['match'](_0x8615b4);if(_0x38db27&&_0x38db27[_0x1d3bad(0x12e)])return _0x38db27[_0x1d3bad(0x12e)][_0x1d3bad(0x16d)][_0x1d3bad(0x196)]()['replace']('\x20','_');return null;}[a4_0x544d4a(0x14a)](_0x18ff97){const _0x10a64f=a4_0x544d4a,_0x2fc8d7={};_0x2fc8d7[_0x10a64f(0x1b0)]=function(_0x5bf2a5,_0x5871b6){return _0x5bf2a5===_0x5871b6;},_0x2fc8d7[_0x10a64f(0x1dc)]=function(_0x128fce,_0x2ac8fb){return _0x128fce===_0x2ac8fb;},_0x2fc8d7[_0x10a64f(0x208)]=function(_0x236fb6,_0x4ecd64){return _0x236fb6===_0x4ecd64;},_0x2fc8d7[_0x10a64f(0x19b)]=function(_0x1de0a,_0x5e1b3a){return _0x1de0a===_0x5e1b3a;},_0x2fc8d7[_0x10a64f(0x210)]=_0x10a64f(0x1ef),_0x2fc8d7[_0x10a64f(0x1f6)]=_0x10a64f(0x12b);const _0x27301a=_0x2fc8d7,_0x3e9bf4=path[_0x10a64f(0x1d2)];if(_0x27301a[_0x10a64f(0x1b0)](_0x18ff97,null)||_0x27301a[_0x10a64f(0x1dc)](_0x18ff97,'')||_0x27301a[_0x10a64f(0x208)](_0x18ff97,_0x3e9bf4)||_0x27301a['AiRCn'](_0x18ff97,path[_0x10a64f(0x12a)](_0x18ff97)))return null;try{return fs[_0x10a64f(0x1d4)](path[_0x10a64f(0x18a)](_0x18ff97,_0x27301a[_0x10a64f(0x210)],_0x27301a['ENJrJ'])),_0x18ff97;}catch(_0x31bdd8){const _0x3b50f0=path[_0x10a64f(0x12a)](_0x18ff97);return this[_0x10a64f(0x14a)](_0x3b50f0);}}[a4_0x544d4a(0x1a7)](_0x323625){const _0x4afa2d=a4_0x544d4a,_0xcd6442={};_0xcd6442[_0x4afa2d(0x192)]=function(_0x27793f,_0x3145ff){return _0x27793f>_0x3145ff;};const _0xc3f3a=_0xcd6442;if(_0x323625[_0x4afa2d(0x1d0)])return _0x323625['file'];if(_0x323625[_0x4afa2d(0x20b)]){const _0x5da0c4=_0x323625[_0x4afa2d(0x20b)][_0x4afa2d(0x163)]?this[_0x4afa2d(0x1a7)](_0x323625[_0x4afa2d(0x20b)]['currentTest']):null;if(_0x5da0c4)return _0x5da0c4;}if(_0x323625['parent']){const _0x2883f1=this['getRootParentFile'](_0x323625[_0x4afa2d(0x1f4)])||(_0x323625[_0x4afa2d(0x1f4)][_0x4afa2d(0x20b)]&&_0x323625[_0x4afa2d(0x1f4)][_0x4afa2d(0x20b)][_0x4afa2d(0x163)]?this[_0x4afa2d(0x1a7)](_0x323625['parent'][_0x4afa2d(0x20b)][_0x4afa2d(0x163)]):null);if(_0x2883f1)return _0x2883f1;_0x323625['parent'][_0x4afa2d(0x173)]&&_0xc3f3a['xUnIf'](_0x323625[_0x4afa2d(0x1f4)][_0x4afa2d(0x173)][_0x4afa2d(0x1fb)],0x0)&&_0x323625[_0x4afa2d(0x1f4)]['suites'][_0x4afa2d(0x195)](_0x1f0ea7=>{const _0x44d7d5=_0x4afa2d,_0x488343=_0x1f0ea7['ctx']?this[_0x44d7d5(0x1a7)](_0x1f0ea7[_0x44d7d5(0x20b)]):null;if(_0x488343)return _0x488343;});}return null;}[a4_0x544d4a(0x21e)](_0x34f9d9){const _0x344be7=a4_0x544d4a,_0x1f02e7={};_0x1f02e7[_0x344be7(0x1f5)]=function(_0x57689c,_0x180ae7){return _0x57689c!==_0x180ae7;};const _0x1f2ea6=_0x1f02e7,_0x46b1a2=[];if(_0x34f9d9&&_0x34f9d9[_0x344be7(0x1f4)]){let _0x104b49=_0x34f9d9[_0x344be7(0x1f4)];while(_0x104b49&&_0x1f2ea6[_0x344be7(0x1f5)](_0x104b49[_0x344be7(0x168)],'')){_0x46b1a2[_0x344be7(0x1bb)](_0x104b49['title']),_0x104b49=_0x104b49['parent'];}}return _0x46b1a2;}[a4_0x544d4a(0x146)](_0x43c1bd,_0x53a362,_0x4afddf=undefined){const _0xf128d4=a4_0x544d4a,_0x1cb0ba={'cOyhC':function(_0x55325a,_0x25cadc){return _0x55325a(_0x25cadc);},'qiyDu':function(_0x5f40e3){return _0x5f40e3();},'xPBhy':function(_0x57439d){return _0x57439d();},'bdDxk':function(_0x25e859){return _0x25e859();},'brpKT':function(_0x8eb471,_0x57a9a1){return _0x8eb471(_0x57a9a1);},'kwSRO':_0xf128d4(0x1b4),'GFNZw':_0xf128d4(0x193),'DtVBZ':function(_0x3e19ac,_0x58ede3){return _0x3e19ac!==_0x58ede3;},'IaczI':function(_0x38df6d,_0x28f8c9){return _0x38df6d!==_0x28f8c9;},'PfmeK':_0xf128d4(0x1fd),'QnAYl':_0xf128d4(0x1fe),'JFMYg':'failed','caERF':_0xf128d4(0x149),'rfDqh':_0xf128d4(0x218),'WEJsv':'javascript','WYpFy':function(_0x1b7143,_0x35ff31){return _0x1b7143-_0x35ff31;},'eZnFE':function(_0x112648,_0x48c167,_0x47ae4f,_0x717c8,_0x130b0d){return _0x112648(_0x48c167,_0x47ae4f,_0x717c8,_0x130b0d);},'AYmrg':function(_0x4bb970,_0x148e84){return _0x4bb970!==_0x148e84;},'oDhbX':'integrations','LPzza':_0xf128d4(0x1b7),'LEmZX':_0xf128d4(0x209),'NyxFC':'failure_backtrace','wpZlJ':_0xf128d4(0x211),'SlBJQ':'failure_reason_expanded','lTFyK':_0xf128d4(0x1e9),'mzugc':function(_0x291af4,_0x22c1d4){return _0x291af4===_0x22c1d4;},'TnrUv':_0xf128d4(0x1b2),'UOBPt':_0xf128d4(0x1d5)};if(!this[_0xf128d4(0x13b)])return;try{if(_0x53a362['fn']&&_0x53a362['fn'][_0xf128d4(0x179)]()[_0xf128d4(0x201)](/browserstack internal helper hook/))return;const _0x374baf=_0x1cb0ba[_0xf128d4(0x170)](parseEvent,_0x43c1bd);if(!_0x374baf)return;if(_0x374baf['test']){this[_0xf128d4(0x163)]=_0x53a362,this['currentHook']=null;if(_0x374baf['started']||_0x374baf[_0xf128d4(0x218)]){_0x53a362[_0xf128d4(0x200)]=new Date(),_0x53a362[_0xf128d4(0x207)]=![];if(!_0x53a362[_0xf128d4(0x1f0)])_0x53a362[_0xf128d4(0x1f0)]=_0x1cb0ba[_0xf128d4(0x189)](uuidv4);else _0x53a362[_0xf128d4(0x207)]&&(!_0x53a362[_0xf128d4(0x203)]&&(_0x53a362['retryOf']=_0x53a362[_0xf128d4(0x1f0)]),_0x53a362[_0xf128d4(0x1f0)]=_0x1cb0ba['xPBhy'](uuidv4));}}else{if(_0x374baf[_0xf128d4(0x16d)]){this[_0xf128d4(0x1bc)]=_0x53a362;if(_0x374baf['started']){_0x53a362['startedAt']=new Date(),_0x53a362['markedStatus']=![];if(!_0x53a362[_0xf128d4(0x169)])_0x53a362[_0xf128d4(0x169)]=_0x1cb0ba[_0xf128d4(0x1d8)](uuidv4);else _0x53a362[_0xf128d4(0x169)]&&_0x53a362[_0xf128d4(0x207)]&&(_0x53a362[_0xf128d4(0x169)]=_0x1cb0ba['qiyDu'](uuidv4));}}}if(_0x374baf[_0xf128d4(0x18c)]&&_0x53a362[_0xf128d4(0x207)])return;let _0x2d1dc6;try{_0x2d1dc6=this[_0xf128d4(0x1a7)](_0x53a362);}catch(_0x53c2d6){logger[_0xf128d4(0x204)](_0xf128d4(0x1f9)+_0x53c2d6),_0x2d1dc6=null;}const _0x22e601=_0x1cb0ba[_0xf128d4(0x21d)](require,_0x1cb0ba[_0xf128d4(0x1c0)]);let _0x1742d9=[];_0x4afddf&&(_0x1742d9=[_0x4afddf,_0x1cb0ba[_0xf128d4(0x15d)]]);const _0x27bde1=_0x1cb0ba[_0xf128d4(0x1e6)](_0x53a362['errorsDetailed'],undefined)?_0x22e601[_0xf128d4(0x185)](_0x53a362[_0xf128d4(0x1b5)][0x0]):_0x1cb0ba[_0xf128d4(0x183)](_0x4afddf,undefined)?_0x4afddf[_0xf128d4(0x179)]():undefined,_0x459d88=_0x2d1dc6?this[_0xf128d4(0x14a)](_0x2d1dc6):null,_0x28aefa=_0x2d1dc6?this[_0xf128d4(0x133)][_0xf128d4(0x153)](this[_0xf128d4(0x1a7)](_0x53a362)):_0x1cb0ba[_0xf128d4(0x219)];let _0x5eaba5=_0x1cb0ba['QnAYl'];const _0x58592a=!_0x374baf[_0xf128d4(0x144)]?new Date()[_0xf128d4(0x21a)]():null;if(_0x374baf[_0xf128d4(0x18c)])_0x5eaba5=_0x4afddf?_0x1cb0ba[_0xf128d4(0x19c)]:_0x1cb0ba[_0xf128d4(0x20f)],_0x53a362[_0xf128d4(0x207)]=!![];else _0x374baf[_0xf128d4(0x218)]&&(_0x5eaba5=_0x1cb0ba[_0xf128d4(0x159)],_0x53a362[_0xf128d4(0x207)]=!![]);const _0x4022fc={'framework':this['frameworkName'],'uuid':_0x53a362[_0xf128d4(0x1f0)]||_0x53a362['hookAnalyticsId'],'name':_0x53a362[_0xf128d4(0x168)],'body':{'lang':_0x1cb0ba[_0xf128d4(0x14e)],'code':_0x53a362['body'][_0xf128d4(0x179)]()},'type':_0x53a362[_0xf128d4(0x214)],'scope':_0x53a362[_0xf128d4(0x1a9)](),'scopes':this[_0xf128d4(0x21e)](_0x53a362),'file_name':_0x28aefa,'vc_filepath':_0x459d88?path[_0xf128d4(0x15c)](_0x459d88,_0x2d1dc6):null,'location':_0x28aefa,'result':_0x5eaba5,'failure_reason':_0x27bde1,'duration_in_ms':_0x53a362[_0xf128d4(0x191)]||(_0x374baf[_0xf128d4(0x18c)]||_0x374baf[_0xf128d4(0x218)])?_0x1cb0ba[_0xf128d4(0x20c)](Date[_0xf128d4(0x1cd)](),new Date(_0x53a362[_0xf128d4(0x200)])['getTime']()):null,'started_at':new Date(_0x53a362[_0xf128d4(0x200)])[_0xf128d4(0x21a)](),'finished_at':_0x58592a,'failure':testOpsHelper[_0xf128d4(0x131)]['apply'](null,_0x1742d9),'failure_type':!_0x27bde1?null:testOpsHelper[_0xf128d4(0x1da)](_0x27bde1),'retry_of':_0x53a362[_0xf128d4(0x203)]||null,'tags':_0x53a362[_0xf128d4(0x19a)]||[],'customRerunParam':{'rerun_name':_0x53a362[_0xf128d4(0x1a9)]()}};_0x1cb0ba[_0xf128d4(0x1a0)](appendTesthubParams,_0x4022fc,_0x43c1bd,_0x53a362,FRAMEWORKS['CODECEPT']);if(_0x374baf[_0xf128d4(0x16d)])[_0x4022fc[_0xf128d4(0x1cf)],_0x4022fc['name']]=[this[_0xf128d4(0x1e3)](_0x53a362),_0x53a362[_0xf128d4(0x20b)][_0xf128d4(0x20a)]['title']],_0x374baf[_0xf128d4(0x18c)]?_0x1cb0ba['AYmrg'](_0x4022fc[_0xf128d4(0x161)],_0x1cb0ba[_0xf128d4(0x19c)])&&(_0x4022fc['result']=_0x1cb0ba[_0xf128d4(0x20f)]):_0x4022fc[_0xf128d4(0x1d9)]={};else _0x374baf[_0xf128d4(0x20a)]&&(this[_0xf128d4(0x16b)](_0x53a362),_0x374baf[_0xf128d4(0x218)]&&this[_0xf128d4(0x177)](_0x53a362),(_0x374baf['finished']||_0x374baf[_0xf128d4(0x218)])&&(_0x4022fc[_0xf128d4(0x1aa)]=this['getHooksForTest'](_0x53a362)));this[_0xf128d4(0x1c1)]&&(_0x374baf[_0xf128d4(0x144)]||_0x374baf[_0xf128d4(0x218)])&&(_0x4022fc[_0x1cb0ba[_0xf128d4(0x164)]]=this[_0xf128d4(0x147)](this['driver']));_0x374baf['test']&&_0x374baf[_0xf128d4(0x18c)]&&_0x53a362['bddSteps']&&(_0x4022fc[_0x1cb0ba[_0xf128d4(0x1ed)]]={'feature':{'name':_0x53a362['parent'][_0xf128d4(0x13d)][_0xf128d4(0x15a)],'path':_0x4022fc[_0xf128d4(0x212)],'description':_0x53a362['parent'][_0xf128d4(0x202)]},'scenario':{'name':_0x53a362[_0xf128d4(0x168)]},'steps':_0x53a362[_0xf128d4(0x14c)]});const _0x5e6825=_0x4022fc[_0x1cb0ba[_0xf128d4(0x16e)]][0x0];_0x5e6825&&(_0x4022fc[_0x1cb0ba['NyxFC']]=_0x5e6825[_0x1cb0ba[_0xf128d4(0x13f)]],_0x4022fc[_0x1cb0ba[_0xf128d4(0x12c)]]=_0x5e6825[_0x1cb0ba['lTFyK']]);if(_0x53a362[_0xf128d4(0x14c)])for(const _0x16bd41 of _0x53a362['bddSteps']){!_0x16bd41['finished_at']&&(_0x16bd41['finished_at']=new Date()[_0xf128d4(0x21a)](),_0x1cb0ba[_0xf128d4(0x148)](_0x16bd41['result'],_0x1cb0ba[_0xf128d4(0x1ea)])&&(_0x5e6825?(_0x16bd41[_0xf128d4(0x161)]=_0x1cb0ba[_0xf128d4(0x19c)],_0x16bd41[_0xf128d4(0x209)]=_0x5e6825[_0x1cb0ba['wpZlJ']][0x0]):_0x16bd41['result']=_0x1cb0ba['caERF']));}const _0x183226={};_0x183226[_0xf128d4(0x18f)]=_0x374baf['skipped']?TEST_EVENTS[_0xf128d4(0x167)]:_0x43c1bd;const _0x18fca0=_0x183226;return _0x374baf[_0xf128d4(0x16d)]?_0x18fca0[_0x1cb0ba[_0xf128d4(0x137)]]=_0x4022fc:_0x18fca0[_0x1cb0ba['UOBPt']]=_0x4022fc,_0x18fca0;}catch(_0x22e9b0){logger[_0xf128d4(0x204)](_0xf128d4(0x16c)+_0x43c1bd+_0xf128d4(0x186)+_0x22e9b0);}}async['fireEvent'](_0x469bdc,_0x39f374){const _0x362899=a4_0x544d4a;if(!this[_0x362899(0x13b)]||!_0x39f374||!_0x469bdc)return![];try{return await SessionHandler[_0x362899(0x136)](_0x39f374);}catch(_0x52bf81){logger[_0x362899(0x204)](_0x362899(0x13c)+_0x469bdc+_0x362899(0x186)+_0x52bf81);}}[a4_0x544d4a(0x1a1)](_0x5d30bb){const _0x742a9e=a4_0x544d4a,_0xf1a649={};_0xf1a649[_0x742a9e(0x18e)]=_0x742a9e(0x1fe);const _0x18f30e=_0xf1a649;return{'id':_0x5d30bb['stepAnalyticsId'],'text':_0x5d30bb[_0x742a9e(0x14d)],'keyword':_0x5d30bb['keyword'],'started_at':_0x5d30bb[_0x742a9e(0x200)][_0x742a9e(0x21a)](),'result':_0x18f30e[_0x742a9e(0x18e)]};}[a4_0x544d4a(0x1c2)](_0x21fd4d){const _0x35d279=a4_0x544d4a,_0x298f7e={'xGrNm':function(_0xd2e823){return _0xd2e823();}};!this[_0x35d279(0x163)][_0x35d279(0x14c)]&&(this['currentTest'][_0x35d279(0x14c)]=[]),!_0x21fd4d['stepAnalyticsId']&&(_0x21fd4d[_0x35d279(0x198)]=_0x298f7e[_0x35d279(0x166)](uuidv4),_0x21fd4d[_0x35d279(0x200)]=new Date(),this['currentTest']['bddSteps']['push'](this['initializeBddStep'](_0x21fd4d)));}[a4_0x544d4a(0x14b)](_0x57678a){const _0xa20a59=a4_0x544d4a,_0x3470b0={'QzNVP':function(_0x116bd2,_0x41f2f0){return _0x116bd2(_0x41f2f0);},'rlijb':'success','IxhnT':_0xa20a59(0x1fe),'Srrcu':'passed','fMURO':function(_0x4969f4,_0x5b93b9){return _0x4969f4-_0x5b93b9;}};let _0x2d5e44=this[_0xa20a59(0x163)][_0xa20a59(0x14c)][_0xa20a59(0x1b3)](_0x47617f=>_0x47617f['id']===_0x57678a['stepAnalyticsId']);_0x3470b0['QzNVP'](isUndefined,_0x2d5e44)&&(_0x2d5e44=this['initializeBddStep'](_0x57678a)),_0x2d5e44[_0xa20a59(0x161)]=[_0x3470b0[_0xa20a59(0x1be)],_0x3470b0[_0xa20a59(0x15e)]]['includes'](_0x57678a[_0xa20a59(0x16f)])?_0x3470b0['Srrcu']:_0x57678a[_0xa20a59(0x16f)],_0x2d5e44[_0xa20a59(0x217)]=new Date()[_0xa20a59(0x21a)](),_0x2d5e44[_0xa20a59(0x191)]=_0x3470b0[_0xa20a59(0x138)](Date['now'](),_0x57678a['startedAt'][_0xa20a59(0x181)]()),_0x2d5e44[_0xa20a59(0x209)]=_0x57678a[_0xa20a59(0x193)]?_0x57678a['err'][_0xa20a59(0x162)]:null;}}const a4_0x2f4e46={};a4_0x2f4e46[a4_0x544d4a(0x13a)]=O11yHelper,a4_0x2f4e46[a4_0x544d4a(0x1dd)]=STATE_PASSED,a4_0x2f4e46[a4_0x544d4a(0x160)]=STATE_FAILED,a4_0x2f4e46[a4_0x544d4a(0x1ff)]=TEST_EVENTS,module[a4_0x544d4a(0x190)]=a4_0x2f4e46;
1
+ const a4_0x1a3b76=a4_0x204b;(function(_0x24cdda,_0x480216){const _0x3bd006=a4_0x204b,_0x2b8b45=_0x24cdda();while(!![]){try{const _0x4cb28b=-parseInt(_0x3bd006(0x13e))/0x1+-parseInt(_0x3bd006(0xd7))/0x2*(-parseInt(_0x3bd006(0x1b3))/0x3)+parseInt(_0x3bd006(0x119))/0x4+parseInt(_0x3bd006(0x155))/0x5+parseInt(_0x3bd006(0xf2))/0x6+parseInt(_0x3bd006(0x117))/0x7+-parseInt(_0x3bd006(0xe8))/0x8*(parseInt(_0x3bd006(0x169))/0x9);if(_0x4cb28b===_0x480216)break;else _0x2b8b45['push'](_0x2b8b45['shift']());}catch(_0x367aed){_0x2b8b45['push'](_0x2b8b45['shift']());}}}(a4_0xd6bb,0xed8a8));const path=require(a4_0x1a3b76(0x181)),fs=require('fs'),{v4:uuidv4}=require(a4_0x1a3b76(0x16c)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x1a3b76(0x170)),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require('../../helpers/logger')[a4_0x1a3b76(0x147)],SessionHandler=require(a4_0x1a3b76(0x1bf)),RequestQueueHandler=require(a4_0x1a3b76(0x1a7)),PlaywrightSessionDetails=require(a4_0x1a3b76(0x1ac)),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require(a4_0x1a3b76(0x198)),Constants=require(a4_0x1a3b76(0x15a)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x1a3b76(0x183)),STATE_PASSED=a4_0x1a3b76(0x14c),STATE_FAILED=a4_0x1a3b76(0x13f),a4_0x507802={};function a4_0x204b(_0x320f65,_0x4b452e){const _0xd6bb92=a4_0xd6bb();return a4_0x204b=function(_0x204b7c,_0x390c36){_0x204b7c=_0x204b7c-0xd5;let _0x2bca5b=_0xd6bb92[_0x204b7c];return _0x2bca5b;},a4_0x204b(_0x320f65,_0x4b452e);}a4_0x507802[a4_0x1a3b76(0xeb)]=a4_0x1a3b76(0x1a5),a4_0x507802['TEST_RUN_FINISHED']='TestRunFinished',a4_0x507802['TEST_RUN_SKIPPED']=a4_0x1a3b76(0x17e),a4_0x507802[a4_0x1a3b76(0x1b6)]=a4_0x1a3b76(0x101),a4_0x507802[a4_0x1a3b76(0x1ae)]=a4_0x1a3b76(0x11e);function a4_0xd6bb(){const _0x53b934=['parent','rmzsK','skipped','body','_testEnv','errorsDetailed','currentTest','nFlAo','BrowserType','title','9kocyYR','XHUaT','patchConsoleLogger','uuid','sep','prototype','ZqmhK','../../helpers/helper','resetSkipTestHooks','pid','hook','PathHelper','result','groups','finished_at','dYbEb','stringify','BnsoV','RRbHC','initializeBddStep','cwd','TestRunSkipped','find','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','path','mvZiC','../../helpers/testhub/utils.js','MPWTM','IQvOz','currentHook','cZJUW','message','fOOhH','_beforeEach','mYNFI','replace','cNdQl','UMpts','file_name','uploadEventData','mvBYT','uklvI','config','file','text','fGVoq','failureData','../playwright/accessibility-helper','apply','CSDGX','duration','wXjuU','_afterEach','start','accessibilityPlatform','feature','STATE_FAILED','HIgLi','name','_afterAll','TestRunStarted','connectOverCDP','../../helpers/test-observability/requestQueueHandler','WDgen','event_type','FVlBd','test','../playwright/sessionDetails','join','HOOK_RUN_FINISHED','UlWwM','keyword','getCBTInfo','failure_reason_expanded','12qZQUzd','getHookType','JIxhj','HOOK_RUN_STARTED','comment','frameworkName','forEach','yTqMj','hook_type','File\x20path\x20could\x20not\x20be\x20found','bind','TPDln','../../helpers/test-observability/sessionHandler','VcxWg','length','_beforeAll','Not\x20able\x20to\x20import\x20Browser','TEST_RUN_FINISHED','752306iqYEmo','PLAYWRIGHT_HUB_URL','launch','location_prefix','captureEvent','QILhk','startedAt','lDahD','uIBFV','findGitConfig','enabled','toLowerCase','mapTestHooks','RJvjr','.git','retryOf','hookAnalyticsId','31833688guWcGC','constructor','push','TEST_RUN_STARTED','DAoIz','fullTitle','ganSa','_paths','kfaIR','CODECEPT','9383574tEfZSS','setupBrowserDetails','EIyeO','NiBYK','O11yHelper','suites','statSync','toISOString','CBTSessionCreated','fCnzs','lBFpE','test_run','hooks','hook_run','finished','HookRunStarted','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','aOsQh','relative','concat','WVZtf','ZOFyH','__platformCaps','split','toString','uRhLe','debug','sendCBTInfo','expanded','lib','pending','nKYag','match','\x20with\x20error\x20:\x20','pTYMs','tjHDh','DbxDK','4423839UeXBjo','connect','6783608oWBUeX','bs:addLog:','ZTIvs','testAnalyticsId','bddStepFinish','HookRunFinished','FgAND','test_run_uuid','markedStatus','BdRXN','failure_backtrace','failure','Failed\x20to\x20parse\x20wsendpoint\x20','then','now','meta','stop','integrations','ctx','started','toUpperCase','type','__cloud_provider___','IOSgH','dUtbT','lyXzD','driver','gesrT','GDtPB','err','defineProperty','dirname','sajpw','getRootParentFile','browserType.js','dcGzQ','hdGiH','655529fxywjR','failed','stepAnalyticsId','dNJKL','includes','JQbQK','2|1|0|5|4|3','success','TEST_EVENTS','winstonLogger','hook_run_uuid','shutdown','getHierarchy','MTFqH','passed','Playwright','getHooksForTest','browserstack','qoAUC','srVjt','hVnFg','status','bddSteps','1056440emcPZK','string','appendTestItemLog','FHkdH','logs','../utils/constants','bddStepStart','epejD','rKKwM','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'];a4_0xd6bb=function(){return _0x53b934;};return a4_0xd6bb();}const TEST_EVENTS=a4_0x507802,parseEvent=_0x102980=>{const _0x35a5f5=a4_0x1a3b76,_0x492d10={};_0x492d10[_0x35a5f5(0x111)]=function(_0x4400c5,_0x3d4e5a){return _0x4400c5<_0x3d4e5a;},_0x492d10[_0x35a5f5(0x191)]=function(_0x548658,_0x4b1f0c){return _0x548658===_0x4b1f0c;},_0x492d10[_0x35a5f5(0x122)]='test',_0x492d10[_0x35a5f5(0xdf)]='hook',_0x492d10[_0x35a5f5(0x17a)]=function(_0x2e6794,_0x4b0f5a){return _0x2e6794===_0x4b0f5a;},_0x492d10['fCnzs']=_0x35a5f5(0x161),_0x492d10[_0x35a5f5(0x134)]=function(_0x20c63f,_0x4a6195){return _0x20c63f===_0x4a6195;},_0x492d10[_0x35a5f5(0x178)]='started',_0x492d10['hdGiH']=function(_0x5a327d,_0x3d61c1){return _0x5a327d===_0x3d61c1;},_0x492d10[_0x35a5f5(0x10b)]='finished';const _0x4ca031=_0x492d10,_0x24e67a=_0x102980[_0x35a5f5(0x112)](/^(.*)Run(.*)$/);if(!_0x24e67a)return null;if(_0x4ca031['nKYag'](_0x24e67a['length'],0x3))return null;const _0x52a9c6=_0x24e67a[0x1][_0x35a5f5(0xe2)](),_0xfec649=_0x24e67a[0x2][_0x35a5f5(0xe2)]();return{'test':_0x4ca031[_0x35a5f5(0x191)](_0x52a9c6,_0x4ca031[_0x35a5f5(0x122)]),'hook':_0x4ca031[_0x35a5f5(0x191)](_0x52a9c6,_0x4ca031[_0x35a5f5(0xdf)]),'skipped':_0x4ca031['BnsoV'](_0xfec649,_0x4ca031[_0x35a5f5(0xfb)]),'started':_0x4ca031[_0x35a5f5(0x134)](_0xfec649,_0x4ca031[_0x35a5f5(0x178)]),'finished':_0x4ca031[_0x35a5f5(0x13d)](_0xfec649,_0x4ca031[_0x35a5f5(0x10b)])};},mockPWBrowserType=_0x4d734c=>{const _0x1475bc=a4_0x1a3b76,_0x24eddc={'lBFpE':function(_0x33aa58,_0x1798e4,_0x45de21){return _0x33aa58(_0x1798e4,_0x45de21);},'TPDln':'wsEndpoint','HIgLi':function(_0x63d06e,_0x1e8267){return _0x63d06e(_0x1e8267);},'lDahD':_0x1475bc(0x14f),'hVnFg':function(_0xf266e7,_0x2a9627){return _0xf266e7(_0x2a9627);},'UMpts':function(_0x12d53a,_0x478005){return _0x12d53a===_0x478005;},'ZOFyH':_0x1475bc(0x156),'DbxDK':_0x1475bc(0x10f),'jwmNw':'client','EWrPA':_0x1475bc(0x13b),'FgAND':function(_0x315ad8,_0x5641bc){return _0x315ad8(_0x5641bc);},'aOsQh':_0x1475bc(0xd5),'aBdPn':_0x1475bc(0x118),'DAoIz':_0x1475bc(0xd9)},_0x251497=path[_0x1475bc(0x1ad)](_0x24eddc[_0x1475bc(0x116)],_0x24eddc['jwmNw'],_0x24eddc['EWrPA']),_0x20de7f=_0x24eddc[_0x1475bc(0x11f)](importFileFromPWCore,_0x251497);if(!_0x20de7f){_0x24eddc[_0x1475bc(0x11f)](debug,_0x24eddc[_0x1475bc(0x103)]);return;}const _0x190bf5=_0x20de7f[_0x1475bc(0x167)],_0x557db5=_0x190bf5[_0x1475bc(0x16e)];if(_0x557db5['obsBrowserTypeMockApplied'])return;const _0x5da82a=_0x557db5[_0x1475bc(0x118)];Object[_0x1475bc(0x137)](_0x557db5,_0x24eddc['aBdPn'],{'get':function(){const _0x130eb0=_0x1475bc,_0x23af34={'MTFqH':function(_0x186e7e,_0x5ceb50){const _0x496727=a4_0x204b;return _0x24eddc[_0x496727(0x18e)](_0x186e7e,_0x5ceb50);},'sajpw':_0x24eddc[_0x130eb0(0x107)]};return async function _0x284b06(_0x3857d4,_0x17f11f){const _0x68ff54=_0x130eb0,_0x2a7555=_0x24eddc[_0x68ff54(0xfc)](nestedKeyValue,_0x3857d4,[_0x24eddc[_0x68ff54(0x1be)]])||_0x3857d4;let _0x5134b9=null,_0x4fcf48=null;try{[_0x4fcf48,_0x5134b9]=_0x2a7555?_0x24eddc[_0x68ff54(0x1a2)](parseWSEndpoint,_0x2a7555):[null,null],global[_0x68ff54(0x108)]=_0x5134b9,_0x4fcf48[_0x68ff54(0x142)](_0x24eddc[_0x68ff54(0xde)])&&(global[_0x68ff54(0x12f)]=_0x24eddc[_0x68ff54(0xde)]);}catch(_0x53dc93){logger[_0x68ff54(0x10c)](_0x68ff54(0x125)+_0x2a7555+'\x20'+_0x53dc93);}_0x24eddc[_0x68ff54(0xfc)](processAccessibilityCaps,_0x5134b9,_0x4fcf48);if(global[_0x68ff54(0x19f)]){const _0x510c80=await _0x557db5[_0x68ff54(0x1a6)]['apply'](this,[''+Constants[_0x68ff54(0xd8)]+_0x24eddc[_0x68ff54(0x152)](encodeURIComponent,JSON[_0x68ff54(0x179)](_0x5134b9))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0x510c80,_0x4d734c,_0x2a7555),_0x510c80;}return _0x5da82a[_0x68ff54(0x199)](this,arguments)['then'](_0x14664f=>{const _0x400d1a=_0x68ff54;let _0x3b0db8=_0x3857d4['wsEndpoint'];return _0x23af34[_0x400d1a(0x14b)](typeof _0x3857d4,_0x23af34[_0x400d1a(0x139)])&&(_0x3b0db8=_0x3857d4),PlaywrightSessionDetails[_0x400d1a(0xf3)](_0x14664f,_0x4d734c,_0x3b0db8),_0x14664f;});};}});const _0x3d6d50=_0x557db5[_0x1475bc(0xd9)];Object[_0x1475bc(0x137)](_0x557db5,_0x24eddc[_0x1475bc(0xec)],{'get':function(){return async function _0x2c8803(){const _0x4db606=a4_0x204b;return _0x3d6d50[_0x4db606(0x199)](this,arguments)[_0x4db606(0x126)](_0x2af58a=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0x2af58a,null),_0x2af58a;});};}});};class O11yHelper{[a4_0x1a3b76(0x165)]=null;['currentHook']=null;[a4_0x1a3b76(0xe1)]=![];['frameworkName']=![];constructor(_0x45c4dd,_0x272b29){const _0x4580db=a4_0x1a3b76,_0x3a0982={'MPWTM':_0x4580db(0x144),'JQbQK':function(_0x594829){return _0x594829();},'FHkdH':function(_0x47d319,_0xdcd41f){return _0x47d319===_0xdcd41f;},'lyXzD':_0x4580db(0x14d),'cNdQl':function(_0x37a719,_0x295761){return _0x37a719(_0x295761);}},_0x486d08=_0x3a0982[_0x4580db(0x184)][_0x4580db(0x109)]('|');let _0x3cd24c=0x0;while(!![]){switch(_0x486d08[_0x3cd24c++]){case'0':this[_0x4580db(0x133)]=_0x45c4dd;continue;case'1':this[_0x4580db(0x1b8)]=_0x272b29['frameworkName'];continue;case'2':this['enabled']=_0x3a0982[_0x4580db(0x143)](shouldProcessEventForTesthub);continue;case'3':this[_0x4580db(0x133)]&&_0x3a0982[_0x4580db(0x158)](this[_0x4580db(0x133)][_0x4580db(0xe9)][_0x4580db(0x1a3)],_0x3a0982[_0x4580db(0x132)])&&_0x3a0982[_0x4580db(0x18d)](mockPWBrowserType,null);continue;case'4':this[_0x4580db(0xef)]=new testOpsHelper[(_0x4580db(0x174))]({'cwd':process[_0x4580db(0x17d)]()},this[_0x4580db(0x163)][_0x4580db(0xda)]);continue;case'5':this['_testEnv']=_0x3a0982['JQbQK'](getTestEnv);continue;}break;}}[a4_0x1a3b76(0x19e)](){const _0x360585=a4_0x1a3b76;if(!this['enabled'])return;testOpsHelper[_0x360585(0x16b)](),process['removeAllListeners'](_0x360585(0x11a)+process['pid']),process['on'](_0x360585(0x11a)+process[_0x360585(0x172)],this['appendTestItemLog'][_0x360585(0x1bd)](this));}async[a4_0x1a3b76(0x129)](){const _0x237de4=a4_0x1a3b76;await RequestQueueHandler['getInstance']()[_0x237de4(0x149)]();}async[a4_0x1a3b76(0x157)](_0xf47bf){const _0x599429=a4_0x1a3b76,_0x4d53e1={'dUtbT':'LogCreated','uoDAI':function(_0x370b16,_0x42555d){return _0x370b16(_0x42555d);}};try{this[_0x599429(0x186)]&&!this['currentHook'][_0x599429(0x121)]&&(_0xf47bf[_0x599429(0x148)]=this[_0x599429(0x186)][_0x599429(0xe7)]);!_0xf47bf['hook_run_uuid']&&this['currentTest']&&!this['currentTest'][_0x599429(0x121)]&&(_0xf47bf[_0x599429(0x120)]=this[_0x599429(0x165)]['testAnalyticsId']);if(_0xf47bf[_0x599429(0x148)]||_0xf47bf[_0x599429(0x120)]){const _0x14bb1b={};_0x14bb1b[_0x599429(0x1a9)]=_0x4d53e1[_0x599429(0x131)],_0x14bb1b[_0x599429(0x159)]=[_0xf47bf],await SessionHandler['uploadEventData'](_0x14bb1b);}}catch(_0x105ee0){_0x4d53e1['uoDAI'](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x105ee0);}}async[a4_0x1a3b76(0x10d)](_0x31edcb){const _0xad4a66=a4_0x1a3b76,_0xf967fb={'WVZtf':_0xad4a66(0xfa),'mvZiC':function(_0xc2ba3e,_0x3ce04f){return _0xc2ba3e(_0x3ce04f);}};if(!this[_0xad4a66(0xe1)])return;const _0x368617=this['getCBTInfo'](this[_0xad4a66(0x133)]);try{const _0x39c293={};_0x39c293[_0xad4a66(0x16c)]=_0x31edcb,_0x39c293[_0xad4a66(0x12a)]=_0x368617;const _0x532fce=_0x39c293,_0x59c120={};_0x59c120[_0xad4a66(0x1a9)]=_0xf967fb[_0xad4a66(0x106)],_0x59c120['test_run']=_0x532fce,await SessionHandler[_0xad4a66(0x190)](_0x59c120);}catch(_0x4a7e26){_0xf967fb[_0xad4a66(0x182)](debug,_0xad4a66(0x15e)+_0x4a7e26);}}[a4_0x1a3b76(0x1b1)](_0x5b00a3){const _0x214f8a=a4_0x1a3b76,_0x4a8455={'JIxhj':function(_0x2fb227,_0x3708f1){return _0x2fb227(_0x3708f1);}};return _0x4a8455[_0x214f8a(0x1b5)](fetchPlatformDetails,_0x5b00a3);}[a4_0x1a3b76(0x171)]=_0x51cfa3=>{const _0x17b19e=a4_0x1a3b76,_0x56255a={};_0x56255a['YhrQi']=_0x17b19e(0x18a),_0x56255a[_0x17b19e(0xe4)]=_0x17b19e(0x19d);const _0x4d3785=_0x56255a;if(!_0x51cfa3||!_0x51cfa3[_0x17b19e(0x15f)])return;[_0x4d3785['YhrQi'],_0x4d3785[_0x17b19e(0xe4)]][_0x17b19e(0x1b9)](_0x35d698=>{const _0xcd3535=_0x17b19e,_0x4220a3=_0x51cfa3[_0xcd3535(0x15f)][_0x35d698];_0x4220a3['forEach'](_0x209f8c=>{const _0x40eab9=_0xcd3535;_0x209f8c['hookAnalyticsId']&&(_0x209f8c[_0x40eab9(0xe7)]=null);});});};['mapTestHooks'](_0x5174a0){const _0x2d5307=a4_0x1a3b76,_0x2ce210={'kfaIR':'codeceptjs','CSDGX':function(_0x2254a3){return _0x2254a3();},'FUlNq':function(_0x425875,_0x4c61e2){return _0x425875===_0x4c61e2;},'fGVoq':'_afterEach','wXjuU':_0x2d5307(0x1c2),'KkuLB':_0x2d5307(0x1a4),'UlWwM':'_beforeEach'};if(!_0x5174a0||!_0x5174a0['parent'])return;[_0x2ce210[_0x2d5307(0x19c)],_0x2ce210['KkuLB'],_0x2ce210[_0x2d5307(0x1af)],_0x2ce210[_0x2d5307(0x196)]]['forEach'](_0x416aa9=>{const _0x267c43=_0x2d5307,_0x506a8e=_0x5174a0[_0x267c43(0x15f)][_0x416aa9]||[];_0x506a8e['forEach'](_0x2ae9af=>{const _0x425b20=_0x267c43;if(_0x2ae9af['title']['includes'](_0x2ce210[_0x425b20(0xf0)]))return;if(!_0x2ae9af[_0x425b20(0xe7)])_0x2ae9af[_0x425b20(0xe7)]=_0x2ce210[_0x425b20(0x19a)](uuidv4);else _0x2ae9af['markedStatus']&&_0x2ce210['FUlNq'](_0x416aa9,_0x2ce210[_0x425b20(0x196)])&&(_0x2ae9af[_0x425b20(0xe7)]=_0x2ce210[_0x425b20(0x19a)](uuidv4),delete _0x2ae9af[_0x425b20(0x121)]);});}),this[_0x2d5307(0xe3)](_0x5174a0[_0x2d5307(0x15f)]);}['getHooksForTest'](_0x3f8b68){const _0x39f4d7=a4_0x1a3b76,_0x395368={};_0x395368[_0x39f4d7(0x185)]=_0x39f4d7(0x1c2),_0x395368['rKKwM']='_afterAll',_0x395368[_0x39f4d7(0x192)]=_0x39f4d7(0x18a),_0x395368['Dmulc']=_0x39f4d7(0x19d);const _0x2feec6=_0x395368;if(!_0x3f8b68||!_0x3f8b68[_0x39f4d7(0x15f)])return[];const _0x4df4b2=[];return[_0x2feec6['IQvOz'],_0x2feec6[_0x39f4d7(0x15d)],_0x2feec6[_0x39f4d7(0x192)],_0x2feec6['Dmulc']][_0x39f4d7(0x1b9)](_0x52f570=>{const _0x81193b=_0x39f4d7,_0x11e0aa=_0x3f8b68['parent'][_0x52f570]||[];_0x11e0aa[_0x81193b(0x1b9)](_0x5a23e8=>{const _0x84ed94=_0x81193b;_0x5a23e8[_0x84ed94(0xe7)]&&_0x4df4b2[_0x84ed94(0xea)](_0x5a23e8[_0x84ed94(0xe7)]);});}),[][_0x39f4d7(0x105)](_0x4df4b2,this['getHooksForTest'](_0x3f8b68[_0x39f4d7(0x15f)]));}[a4_0x1a3b76(0x1b4)](_0x2937f1){const _0x18c97f=a4_0x1a3b76,_0xeb96b1=/^"(?<hook>.*)" hook:.*$/,_0x38015a=_0x2937f1[_0x18c97f(0x168)],_0x40603f=_0x38015a[_0x18c97f(0x112)](_0xeb96b1);if(_0x40603f&&_0x40603f[_0x18c97f(0x176)])return _0x40603f['groups']['hook'][_0x18c97f(0x12d)]()[_0x18c97f(0x18c)]('\x20','_');return null;}[a4_0x1a3b76(0xe0)](_0x7e0881){const _0x282e47=a4_0x1a3b76,_0x51eaa8={};_0x51eaa8[_0x282e47(0x16f)]=function(_0x4155a1,_0x1e1742){return _0x4155a1===_0x1e1742;},_0x51eaa8[_0x282e47(0x160)]=function(_0x475bf4,_0x43bae5){return _0x475bf4===_0x43bae5;},_0x51eaa8[_0x282e47(0x13c)]=_0x282e47(0xe5),_0x51eaa8[_0x282e47(0x141)]=_0x282e47(0x193);const _0x5d16fe=_0x51eaa8,_0x499333=path[_0x282e47(0x16d)];if(_0x5d16fe[_0x282e47(0x16f)](_0x7e0881,null)||_0x5d16fe[_0x282e47(0x16f)](_0x7e0881,'')||_0x5d16fe[_0x282e47(0x160)](_0x7e0881,_0x499333)||_0x5d16fe[_0x282e47(0x160)](_0x7e0881,path[_0x282e47(0x138)](_0x7e0881)))return null;try{return fs[_0x282e47(0xf8)](path[_0x282e47(0x1ad)](_0x7e0881,_0x5d16fe[_0x282e47(0x13c)],_0x5d16fe['dNJKL'])),_0x7e0881;}catch(_0x37ba7f){const _0x4de7a4=path['dirname'](_0x7e0881);return this[_0x282e47(0xe0)](_0x4de7a4);}}[a4_0x1a3b76(0x13a)](_0x386a31){const _0x4cba3c=a4_0x1a3b76,_0x44876e={};_0x44876e[_0x4cba3c(0x115)]=function(_0x5354c2,_0x1fd526){return _0x5354c2>_0x1fd526;};const _0x5f55bf=_0x44876e;if(_0x386a31[_0x4cba3c(0x194)])return _0x386a31['file'];if(_0x386a31[_0x4cba3c(0x12b)]){const _0x363f61=_0x386a31[_0x4cba3c(0x12b)][_0x4cba3c(0x165)]?this[_0x4cba3c(0x13a)](_0x386a31[_0x4cba3c(0x12b)][_0x4cba3c(0x165)]):null;if(_0x363f61)return _0x363f61;}if(_0x386a31['parent']){const _0xd02f77=this[_0x4cba3c(0x13a)](_0x386a31[_0x4cba3c(0x15f)])||(_0x386a31[_0x4cba3c(0x15f)][_0x4cba3c(0x12b)]&&_0x386a31[_0x4cba3c(0x15f)]['ctx'][_0x4cba3c(0x165)]?this[_0x4cba3c(0x13a)](_0x386a31[_0x4cba3c(0x15f)][_0x4cba3c(0x12b)][_0x4cba3c(0x165)]):null);if(_0xd02f77)return _0xd02f77;_0x386a31[_0x4cba3c(0x15f)][_0x4cba3c(0xf7)]&&_0x5f55bf[_0x4cba3c(0x115)](_0x386a31[_0x4cba3c(0x15f)]['suites'][_0x4cba3c(0x1c1)],0x0)&&_0x386a31[_0x4cba3c(0x15f)][_0x4cba3c(0xf7)]['forEach'](_0x281fc9=>{const _0x3b5360=_0x4cba3c,_0x237891=_0x281fc9[_0x3b5360(0x12b)]?this[_0x3b5360(0x13a)](_0x281fc9[_0x3b5360(0x12b)]):null;if(_0x237891)return _0x237891;});}return null;}[a4_0x1a3b76(0x14a)](_0x4491a3){const _0x5bc974=a4_0x1a3b76,_0x7e86db={};_0x7e86db[_0x5bc974(0x1a8)]=function(_0xd57aaf,_0x4ce41c){return _0xd57aaf!==_0x4ce41c;};const _0x15d145=_0x7e86db,_0x57e7b0=[];if(_0x4491a3&&_0x4491a3[_0x5bc974(0x15f)]){let _0x5883b9=_0x4491a3['parent'];while(_0x5883b9&&_0x15d145[_0x5bc974(0x1a8)](_0x5883b9[_0x5bc974(0x168)],'')){_0x57e7b0[_0x5bc974(0xea)](_0x5883b9[_0x5bc974(0x168)]),_0x5883b9=_0x5883b9[_0x5bc974(0x15f)];}}return _0x57e7b0;}[a4_0x1a3b76(0xdb)](_0x41c2e2,_0x28df9a,_0x1f180f=undefined){const _0x56a999=a4_0x1a3b76,_0xa2cca2={'OxVow':function(_0x470227,_0x1f90c9){return _0x470227(_0x1f90c9);},'NiBYK':function(_0x33a8e3){return _0x33a8e3();},'LbhWO':function(_0x71dbfa){return _0x71dbfa();},'ganSa':function(_0x3bff05){return _0x3bff05();},'RRbHC':function(_0x4650f8){return _0x4650f8();},'epejD':function(_0xeeff44,_0x1163c0){return _0xeeff44(_0x1163c0);},'HkKYX':'util','uBEnn':_0x56a999(0x136),'srVjt':function(_0x3efee8,_0x34a351){return _0x3efee8!==_0x34a351;},'smPNK':_0x56a999(0x1bc),'VcxWg':_0x56a999(0x110),'QILhk':_0x56a999(0x13f),'XHUaT':_0x56a999(0x14c),'WTqZR':_0x56a999(0x161),'mYNFI':'javascript','qoAUC':function(_0x57733a,_0x20cefc){return _0x57733a-_0x20cefc;},'pJnNo':function(_0x4c4472,_0x47f35e,_0x53b1fb,_0x3ce8d3,_0x4f66f9){return _0x4c4472(_0x47f35e,_0x53b1fb,_0x3ce8d3,_0x4f66f9);},'IHfWD':_0x56a999(0x12a),'DIArx':_0x56a999(0x128),'fOOhH':_0x56a999(0x124),'PGFrD':_0x56a999(0x123),'yTqMj':'backtrace','SFlFI':_0x56a999(0x1b2),'pTYMs':_0x56a999(0x10e),'nFlAo':function(_0x2abbf6,_0x1734b5){return _0x2abbf6===_0x1734b5;},'EIyeO':_0x56a999(0xff),'ZaAYu':_0x56a999(0xfd)};if(!this['enabled'])return;try{if(_0x28df9a['fn']&&_0x28df9a['fn'][_0x56a999(0x10a)]()[_0x56a999(0x112)](/browserstack internal helper hook/))return;const _0x671e7a=_0xa2cca2['OxVow'](parseEvent,_0x41c2e2);if(!_0x671e7a)return;if(_0x671e7a[_0x56a999(0x1ab)]){this[_0x56a999(0x165)]=_0x28df9a,this[_0x56a999(0x186)]=null;if(_0x671e7a[_0x56a999(0x12c)]||_0x671e7a[_0x56a999(0x161)]){_0x28df9a[_0x56a999(0xdd)]=new Date(),_0x28df9a[_0x56a999(0x121)]=![];if(!_0x28df9a['testAnalyticsId'])_0x28df9a['testAnalyticsId']=_0xa2cca2[_0x56a999(0xf5)](uuidv4);else _0x28df9a[_0x56a999(0x121)]&&(!_0x28df9a[_0x56a999(0xe6)]&&(_0x28df9a[_0x56a999(0xe6)]=_0x28df9a[_0x56a999(0x11c)]),_0x28df9a['testAnalyticsId']=_0xa2cca2['LbhWO'](uuidv4));}}else{if(_0x671e7a[_0x56a999(0x173)]){this[_0x56a999(0x186)]=_0x28df9a;if(_0x671e7a[_0x56a999(0x12c)]){_0x28df9a[_0x56a999(0xdd)]=new Date(),_0x28df9a[_0x56a999(0x121)]=![];if(!_0x28df9a['hookAnalyticsId'])_0x28df9a[_0x56a999(0xe7)]=_0xa2cca2[_0x56a999(0xee)](uuidv4);else _0x28df9a['hookAnalyticsId']&&_0x28df9a['markedStatus']&&(_0x28df9a[_0x56a999(0xe7)]=_0xa2cca2[_0x56a999(0x17b)](uuidv4));}}}if(_0x671e7a[_0x56a999(0x100)]&&_0x28df9a[_0x56a999(0x121)])return;let _0x4ba426;try{_0x4ba426=this[_0x56a999(0x13a)](_0x28df9a);}catch(_0x1c0fda){logger[_0x56a999(0x10c)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x1c0fda),_0x4ba426=null;}const _0x3a846f=_0xa2cca2[_0x56a999(0x15c)](require,_0xa2cca2['HkKYX']);let _0x749f05=[];_0x1f180f&&(_0x749f05=[_0x1f180f,_0xa2cca2['uBEnn']]);const _0x38f37a=_0xa2cca2['srVjt'](_0x28df9a[_0x56a999(0x164)],undefined)?_0x3a846f['inspect'](_0x28df9a[_0x56a999(0x164)][0x0]):_0xa2cca2[_0x56a999(0x151)](_0x1f180f,undefined)?_0x1f180f[_0x56a999(0x10a)]():undefined,_0x39c94f=_0x4ba426?this[_0x56a999(0xe0)](_0x4ba426):null,_0x1da501=_0x4ba426?this['_paths']['prefixTestPath'](this[_0x56a999(0x13a)](_0x28df9a)):_0xa2cca2['smPNK'];let _0x51c747=_0xa2cca2['VcxWg'];const _0x3e0ee4=!_0x671e7a[_0x56a999(0x12c)]?new Date()[_0x56a999(0xf9)]():null;if(_0x671e7a[_0x56a999(0x100)])_0x51c747=_0x1f180f?_0xa2cca2[_0x56a999(0xdc)]:_0xa2cca2[_0x56a999(0x16a)],_0x28df9a['markedStatus']=!![];else _0x671e7a[_0x56a999(0x161)]&&(_0x51c747=_0xa2cca2['WTqZR'],_0x28df9a['markedStatus']=!![]);const _0x569b00={'framework':this[_0x56a999(0x1b8)],'uuid':_0x28df9a[_0x56a999(0x11c)]||_0x28df9a[_0x56a999(0xe7)],'name':_0x28df9a[_0x56a999(0x168)],'body':{'lang':_0xa2cca2[_0x56a999(0x18b)],'code':_0x28df9a[_0x56a999(0x162)][_0x56a999(0x10a)]()},'type':_0x28df9a[_0x56a999(0x12e)],'scope':_0x28df9a[_0x56a999(0xed)](),'scopes':this['getHierarchy'](_0x28df9a),'file_name':_0x1da501,'vc_filepath':_0x39c94f?path[_0x56a999(0x104)](_0x39c94f,_0x4ba426):null,'location':_0x1da501,'result':_0x51c747,'failure_reason':_0x38f37a,'duration_in_ms':_0x28df9a['duration']||(_0x671e7a['finished']||_0x671e7a[_0x56a999(0x161)])?_0xa2cca2[_0x56a999(0x150)](Date[_0x56a999(0x127)](),new Date(_0x28df9a[_0x56a999(0xdd)])['getTime']()):null,'started_at':new Date(_0x28df9a[_0x56a999(0xdd)])['toISOString'](),'finished_at':_0x3e0ee4,'failure':testOpsHelper[_0x56a999(0x197)][_0x56a999(0x199)](null,_0x749f05),'failure_type':!_0x38f37a?null:testOpsHelper['getFailureType'](_0x38f37a),'retry_of':_0x28df9a[_0x56a999(0xe6)]||null,'tags':_0x28df9a['tags']||[],'customRerunParam':{'rerun_name':_0x28df9a['fullTitle']()}};_0xa2cca2['pJnNo'](appendTesthubParams,_0x569b00,_0x41c2e2,_0x28df9a,FRAMEWORKS[_0x56a999(0xf1)]);if(_0x671e7a[_0x56a999(0x173)])[_0x569b00[_0x56a999(0x1bb)],_0x569b00[_0x56a999(0x1a3)]]=[this['getHookType'](_0x28df9a),_0x28df9a['ctx'][_0x56a999(0x1ab)][_0x56a999(0x168)]],_0x671e7a[_0x56a999(0x100)]?_0xa2cca2[_0x56a999(0x151)](_0x569b00[_0x56a999(0x175)],_0xa2cca2[_0x56a999(0xdc)])&&(_0x569b00[_0x56a999(0x175)]=_0xa2cca2[_0x56a999(0x16a)]):_0x569b00[_0x56a999(0x162)]={};else _0x671e7a[_0x56a999(0x1ab)]&&(this[_0x56a999(0xe3)](_0x28df9a),_0x671e7a['skipped']&&this[_0x56a999(0x171)](_0x28df9a),(_0x671e7a[_0x56a999(0x100)]||_0x671e7a[_0x56a999(0x161)])&&(_0x569b00[_0x56a999(0xfe)]=this[_0x56a999(0x14e)](_0x28df9a)));this[_0x56a999(0x133)]&&(_0x671e7a[_0x56a999(0x12c)]||_0x671e7a[_0x56a999(0x161)])&&(_0x569b00[_0xa2cca2['IHfWD']]=this['getCBTInfo'](this[_0x56a999(0x133)]));_0x671e7a[_0x56a999(0x1ab)]&&_0x671e7a[_0x56a999(0x100)]&&_0x28df9a[_0x56a999(0x154)]&&(_0x569b00[_0xa2cca2['DIArx']]={'feature':{'name':_0x28df9a['parent'][_0x56a999(0x1a0)]['name'],'path':_0x569b00[_0x56a999(0x18f)],'description':_0x28df9a[_0x56a999(0x15f)][_0x56a999(0x1b7)]},'scenario':{'name':_0x28df9a['title']},'steps':_0x28df9a[_0x56a999(0x154)]});const _0x1fe8f2=_0x569b00[_0xa2cca2[_0x56a999(0x189)]][0x0];_0x1fe8f2&&(_0x569b00[_0xa2cca2['PGFrD']]=_0x1fe8f2[_0xa2cca2[_0x56a999(0x1ba)]],_0x569b00[_0xa2cca2['SFlFI']]=_0x1fe8f2[_0xa2cca2[_0x56a999(0x114)]]);if(_0x28df9a[_0x56a999(0x154)])for(const _0x9cfd2 of _0x28df9a['bddSteps']){!_0x9cfd2[_0x56a999(0x177)]&&(_0x9cfd2[_0x56a999(0x177)]=new Date()[_0x56a999(0xf9)](),_0xa2cca2[_0x56a999(0x166)](_0x9cfd2[_0x56a999(0x175)],_0xa2cca2[_0x56a999(0x1c0)])&&(_0x1fe8f2?(_0x9cfd2['result']=_0xa2cca2['QILhk'],_0x9cfd2['failure']=_0x1fe8f2[_0xa2cca2['yTqMj']][0x0]):_0x9cfd2[_0x56a999(0x175)]=_0xa2cca2[_0x56a999(0x16a)]));}const _0x59e827={};_0x59e827[_0x56a999(0x1a9)]=_0x671e7a['skipped']?TEST_EVENTS[_0x56a999(0xd6)]:_0x41c2e2;const _0x5835ae=_0x59e827;return _0x671e7a[_0x56a999(0x173)]?_0x5835ae[_0xa2cca2[_0x56a999(0xf4)]]=_0x569b00:_0x5835ae[_0xa2cca2['ZaAYu']]=_0x569b00,_0x5835ae;}catch(_0x43a47c){logger['debug'](_0x56a999(0x102)+_0x41c2e2+_0x56a999(0x113)+_0x43a47c);}}async['fireEvent'](_0x18b526,_0x3451bb){const _0x30ea39=a4_0x1a3b76;if(!this[_0x30ea39(0xe1)]||!_0x3451bb||!_0x18b526)return![];try{return await SessionHandler[_0x30ea39(0x190)](_0x3451bb);}catch(_0x327ae4){logger[_0x30ea39(0x10c)](_0x30ea39(0x180)+_0x18b526+_0x30ea39(0x113)+_0x327ae4);}}['initializeBddStep'](_0x32d01c){const _0x445a46=a4_0x1a3b76,_0x4e3c3a={};_0x4e3c3a[_0x445a46(0x130)]='pending';const _0x16d914=_0x4e3c3a;return{'id':_0x32d01c[_0x445a46(0x140)],'text':_0x32d01c[_0x445a46(0x195)],'keyword':_0x32d01c[_0x445a46(0x1b0)],'started_at':_0x32d01c['startedAt'][_0x445a46(0xf9)](),'result':_0x16d914[_0x445a46(0x130)]};}[a4_0x1a3b76(0x15b)](_0x25c6dc){const _0x55c2d7=a4_0x1a3b76,_0x47922b={'KTWTl':function(_0x4b46b4){return _0x4b46b4();}};!this[_0x55c2d7(0x165)]['bddSteps']&&(this[_0x55c2d7(0x165)][_0x55c2d7(0x154)]=[]),!_0x25c6dc[_0x55c2d7(0x140)]&&(_0x25c6dc['stepAnalyticsId']=_0x47922b['KTWTl'](uuidv4),_0x25c6dc['startedAt']=new Date(),this[_0x55c2d7(0x165)]['bddSteps'][_0x55c2d7(0xea)](this[_0x55c2d7(0x17c)](_0x25c6dc)));}[a4_0x1a3b76(0x11d)](_0x52fa4b){const _0x26ec66=a4_0x1a3b76,_0xae2c8e={'YwxRP':function(_0x39310f,_0x4b4cf7){return _0x39310f(_0x4b4cf7);},'GDtPB':_0x26ec66(0x145),'cZJUW':_0x26ec66(0x110),'FVlBd':_0x26ec66(0x14c),'ZTIvs':function(_0x227feb,_0x11faa2){return _0x227feb-_0x11faa2;}};let _0x4e7b83=this[_0x26ec66(0x165)][_0x26ec66(0x154)][_0x26ec66(0x17f)](_0xf0ce4=>_0xf0ce4['id']===_0x52fa4b['stepAnalyticsId']);_0xae2c8e['YwxRP'](isUndefined,_0x4e7b83)&&(_0x4e7b83=this[_0x26ec66(0x17c)](_0x52fa4b)),_0x4e7b83['result']=[_0xae2c8e[_0x26ec66(0x135)],_0xae2c8e[_0x26ec66(0x187)]][_0x26ec66(0x142)](_0x52fa4b[_0x26ec66(0x153)])?_0xae2c8e[_0x26ec66(0x1aa)]:_0x52fa4b[_0x26ec66(0x153)],_0x4e7b83['finished_at']=new Date()[_0x26ec66(0xf9)](),_0x4e7b83[_0x26ec66(0x19b)]=_0xae2c8e[_0x26ec66(0x11b)](Date[_0x26ec66(0x127)](),_0x52fa4b[_0x26ec66(0xdd)]['getTime']()),_0x4e7b83[_0x26ec66(0x124)]=_0x52fa4b[_0x26ec66(0x136)]?_0x52fa4b[_0x26ec66(0x136)][_0x26ec66(0x188)]:null;}}const a4_0x4bcab2={};a4_0x4bcab2[a4_0x1a3b76(0xf6)]=O11yHelper,a4_0x4bcab2['STATE_PASSED']=STATE_PASSED,a4_0x4bcab2[a4_0x1a3b76(0x1a1)]=STATE_FAILED,a4_0x4bcab2[a4_0x1a3b76(0x146)]=TEST_EVENTS,module['exports']=a4_0x4bcab2;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a5_0x32a6a8=a5_0x199f;(function(_0x476a1a,_0x2d6f31){const _0x3507c4=a5_0x199f,_0x191837=_0x476a1a();while(!![]){try{const _0x34365e=-parseInt(_0x3507c4(0x1d3))/0x1*(-parseInt(_0x3507c4(0x187))/0x2)+-parseInt(_0x3507c4(0x1ca))/0x3+-parseInt(_0x3507c4(0x183))/0x4+parseInt(_0x3507c4(0x176))/0x5*(-parseInt(_0x3507c4(0x1b7))/0x6)+parseInt(_0x3507c4(0x1bc))/0x7+-parseInt(_0x3507c4(0x1c6))/0x8+-parseInt(_0x3507c4(0x1c7))/0x9*(-parseInt(_0x3507c4(0x171))/0xa);if(_0x34365e===_0x2d6f31)break;else _0x191837['push'](_0x191837['shift']());}catch(_0x1ff35e){_0x191837['push'](_0x191837['shift']());}}}(a5_0x5467,0x64cea));const fs=require('fs'),path=require('path'),util=require(a5_0x32a6a8(0x1b4)),logger=require(a5_0x32a6a8(0x1a6))[a5_0x32a6a8(0x17d)],{default:BrowserStackSetup}=require(a5_0x32a6a8(0x1dd)),helper=require(a5_0x32a6a8(0x1d2)),utilities=require('../../helpers/utilities'),constants=require(a5_0x32a6a8(0x192)),{parallelCucumberRun}=require(a5_0x32a6a8(0x1e1)),TestHubHandler=require(a5_0x32a6a8(0x1d9)),testOpsHelper=require(a5_0x32a6a8(0x193)),chalk=require(a5_0x32a6a8(0x17e));function a5_0x199f(_0x1bc95a,_0x52183d){const _0x5467bf=a5_0x5467();return a5_0x199f=function(_0x199f9c,_0x1907d3){_0x199f9c=_0x199f9c-0x16f;let _0x50d483=_0x5467bf[_0x199f9c];return _0x50d483;},a5_0x199f(_0x1bc95a,_0x52183d);}function printCucumberStats(_0x5ce08f){const _0x4ea036=a5_0x32a6a8,_0x2dd896={};_0x2dd896[_0x4ea036(0x19e)]=function(_0x37d70f,_0x59f1fa){return _0x37d70f>_0x59f1fa;},_0x2dd896[_0x4ea036(0x196)]=function(_0x41de3b,_0x154821){return _0x41de3b-_0x154821;},_0x2dd896[_0x4ea036(0x197)]=function(_0x5d2f28,_0x2dcdaa){return _0x5d2f28>_0x2dcdaa;},_0x2dd896['LupQk']=function(_0x2fa466,_0x538875){return _0x2fa466>_0x538875;},_0x2dd896[_0x4ea036(0x1aa)]=function(_0x540274,_0xe1b0e0){return _0x540274>_0xe1b0e0;},_0x2dd896[_0x4ea036(0x17a)]=function(_0xa2f354,_0x5e7b65){return _0xa2f354>_0x5e7b65;},_0x2dd896[_0x4ea036(0x1a1)]=function(_0x4de34b,_0x5c4366){return _0x4de34b>_0x5c4366;},_0x2dd896['WHJUy']=function(_0x1ce123,_0x153ded){return _0x1ce123>_0x153ded;},_0x2dd896[_0x4ea036(0x186)]=function(_0x1b0978,_0x1b2b59){return _0x1b0978>_0x1b2b59;},_0x2dd896[_0x4ea036(0x17c)]=function(_0x240dc7,_0x23c4ed){return _0x240dc7+_0x23c4ed;},_0x2dd896['UGezs']=function(_0x37c2d8,_0x28b771){return _0x37c2d8+_0x28b771;},_0x2dd896[_0x4ea036(0x1a8)]=function(_0x52a445,_0x4c0b72){return _0x52a445+_0x4c0b72;},_0x2dd896['wgJXk']=function(_0x30ec72,_0x418109){return _0x30ec72+_0x418109;},_0x2dd896[_0x4ea036(0x1ab)]=function(_0x1186c4,_0x47ce01){return _0x1186c4+_0x47ce01;},_0x2dd896[_0x4ea036(0x1d4)]=function(_0x14f6aa,_0x4c6910){return _0x14f6aa===_0x4c6910;},_0x2dd896['rncuY']=_0x4ea036(0x1a9);const _0x35a813=_0x2dd896;let _0x31b944=0x0;if(_0x35a813[_0x4ea036(0x1d4)](_0x5ce08f[_0x4ea036(0x181)],0x0))return _0x31b944;return console[_0x4ea036(0x19b)](chalk[_0x4ea036(0x1b3)][_0x4ea036(0x1af)](_0x35a813[_0x4ea036(0x195)])),_0x5ce08f[_0x4ea036(0x1d5)](_0x35a38e=>{const _0x1a6f4c=_0x4ea036,_0x4ee831=_0x35a38e[0x0],_0x1b2e17=_0x35a38e[0x1];console['log']('\x0a'+chalk[_0x1a6f4c(0x1b3)][_0x1a6f4c(0x1de)](''+helper[_0x1a6f4c(0x194)](_0x4ee831)));const _0x1280ac=_0x1b2e17[_0x1a6f4c(0x1c0)],_0xc575e8=_0x1b2e17['steps'],_0x170ce2=_0x1b2e17[_0x1a6f4c(0x189)],_0x4674b4=_0x1b2e17[_0x1a6f4c(0x185)],_0x1a4991=_0x1b2e17[_0x1a6f4c(0x175)],_0x30d2d1=_0x1b2e17[_0x1a6f4c(0x1ac)],_0x5077f5=_0x1b2e17[_0x1a6f4c(0x1c9)],_0x2cccbd=_0x1b2e17[_0x1a6f4c(0x1da)],_0x3c449d=_0x1b2e17['stepsUnknown'],_0x546c23=_0x1b2e17[_0x1a6f4c(0x180)],_0x3fc0ea=_0x1b2e17[_0x1a6f4c(0x1ae)];let _0x34098c=_0x1280ac+_0x1a6f4c(0x19d);const _0x7f3d9f=_0x35a813[_0x1a6f4c(0x19e)](_0x35a813[_0x1a6f4c(0x196)](_0x1280ac,_0x170ce2),0x0)?_0x35a813[_0x1a6f4c(0x196)](_0x1280ac,_0x170ce2):0x0;if(_0x35a813['PHSTF'](_0x170ce2,0x0)&&_0x35a813[_0x1a6f4c(0x1e3)](_0x7f3d9f,0x0))_0x34098c+='\x20('+chalk['bold'][_0x1a6f4c(0x1c1)](_0x170ce2+_0x1a6f4c(0x198))+',\x20'+chalk[_0x1a6f4c(0x1b3)][_0x1a6f4c(0x1d0)](_0x7f3d9f+_0x1a6f4c(0x179))+')';else(_0x35a813[_0x1a6f4c(0x1aa)](_0x170ce2,0x0)||_0x35a813[_0x1a6f4c(0x1e3)](_0x7f3d9f,0x0))&&(_0x34098c+=_0x35a813[_0x1a6f4c(0x17a)](_0x170ce2,0x0)?'\x20('+chalk['bold']['red'](_0x170ce2+_0x1a6f4c(0x198))+')':'\x20('+chalk[_0x1a6f4c(0x1b3)][_0x1a6f4c(0x1d0)](_0x7f3d9f+_0x1a6f4c(0x179))+')');const _0x24642f=_0xc575e8+_0x1a6f4c(0x172),_0xe1c337=[];_0x35a813[_0x1a6f4c(0x1e3)](_0x546c23,0x0)&&_0xe1c337[_0x1a6f4c(0x1c8)](''+chalk['bold'][_0x1a6f4c(0x1c1)](_0x546c23+'\x20ambiguous'));_0x35a813[_0x1a6f4c(0x1a1)](_0x4674b4,0x0)&&_0xe1c337[_0x1a6f4c(0x1c8)](''+chalk[_0x1a6f4c(0x1b3)][_0x1a6f4c(0x1c1)](_0x4674b4+'\x20failed'));_0x35a813['WHJUy'](_0x1a4991,0x0)&&_0xe1c337[_0x1a6f4c(0x1c8)](''+chalk[_0x1a6f4c(0x1b3)][_0x1a6f4c(0x1d0)](_0x1a4991+_0x1a6f4c(0x179)));_0x35a813[_0x1a6f4c(0x19a)](_0x5077f5,0x0)&&_0xe1c337['push'](''+chalk[_0x1a6f4c(0x1b3)]['yellow'](_0x5077f5+'\x20pending'));_0x35a813[_0x1a6f4c(0x186)](_0x30d2d1,0x0)&&_0xe1c337[_0x1a6f4c(0x1c8)](''+chalk[_0x1a6f4c(0x1b3)]['cyan'](_0x30d2d1+_0x1a6f4c(0x1d8)));_0x35a813[_0x1a6f4c(0x1a1)](_0x2cccbd,0x0)&&_0xe1c337[_0x1a6f4c(0x1c8)](''+chalk[_0x1a6f4c(0x1b3)][_0x1a6f4c(0x1de)](_0x2cccbd+_0x1a6f4c(0x18c)));_0x35a813[_0x1a6f4c(0x19e)](_0x3c449d,0x0)&&_0xe1c337[_0x1a6f4c(0x1c8)](''+chalk[_0x1a6f4c(0x1b3)]['yellow'](_0x3c449d+_0x1a6f4c(0x1d8)));const _0x18e46b=_0x35a813[_0x1a6f4c(0x17c)](_0x35a813[_0x1a6f4c(0x1a5)](_0x35a813['KHigi'](_0x24642f,'('),_0xe1c337[_0x1a6f4c(0x1e0)](',\x20')),')');console[_0x1a6f4c(0x19b)](_0x35a813[_0x1a6f4c(0x17c)](_0x35a813[_0x1a6f4c(0x17c)](_0x35a813[_0x1a6f4c(0x1ad)](_0x35a813['sqFXn']('\x0a',_0x34098c),'\x0a'),_0x18e46b),'\x0a')),_0x35a813[_0x1a6f4c(0x1d4)](_0x3fc0ea,![])&&(_0x31b944=0x1);}),_0x31b944;}async function run(_0x4c8e8c,_0x15e67a){const _0x4ac10a=a5_0x32a6a8,_0x53edbf={'JmtEY':function(_0x40bd77,_0x5ef8f8){return _0x40bd77(_0x5ef8f8);},'FcKxz':function(_0x190acc,_0x2265bc){return _0x190acc>_0x2265bc;},'mywLi':_0x4ac10a(0x1b9),'vLsUe':_0x4ac10a(0x1ba),'PxfzI':_0x4ac10a(0x173),'rZQOi':'error\x20removing\x20tcg\x20config\x20file','RqVZs':'cucumber-js','QXRUY':'tmp','LlNfp':function(_0x31b622,_0x114e6c){return _0x31b622-_0x114e6c;},'niEbI':function(_0xd83df,_0x1ad4c0){return _0xd83df>=_0x1ad4c0;},'oSlUH':function(_0x5d96ce,_0x5341d1){return _0x5d96ce!=_0x5341d1;},'UxnDn':'false','nFJTq':function(_0x220a02,_0x3280a2,_0x35a2df,_0x2e997f,_0x430529,_0x140459){return _0x220a02(_0x3280a2,_0x35a2df,_0x2e997f,_0x430529,_0x140459);}},_0x387dfc=new BrowserStackSetup(_0x4c8e8c,_0x53edbf[_0x4ac10a(0x1bd)]);await _0x387dfc[_0x4ac10a(0x184)]();!helper['isBrowserstackInfra']()&&await _0x387dfc[_0x4ac10a(0x1c4)]();await helper[_0x4ac10a(0x199)](_0x387dfc[_0x4ac10a(0x1a3)]);const _0x536c01=helper[_0x4ac10a(0x18d)](_0x387dfc[_0x4ac10a(0x1a3)]),_0x3b38df=helper[_0x4ac10a(0x17b)](_0x387dfc[_0x4ac10a(0x1a3)],_0x536c01,constants[_0x4ac10a(0x1d1)]['CUCUMBER']);if(!_0x387dfc[_0x4ac10a(0x1a3)])return;const _0xa6abb6=_0x387dfc[_0x4ac10a(0x1a3)][_0x4ac10a(0x1c2)]||helper['getUserWorkerCount'](_0x4c8e8c,_0x15e67a,_0x387dfc[_0x4ac10a(0x1a3)],constants[_0x4ac10a(0x1d1)][_0x4ac10a(0x1db)])||0x1,_0x45588f={'server':helper[_0x4ac10a(0x191)](_0x387dfc[_0x4ac10a(0x1a3)]),'proxySettings':_0x387dfc[_0x4ac10a(0x1a3)][_0x4ac10a(0x18b)],'maxWorkers':_0xa6abb6,'browserStackLogLevel':_0x387dfc[_0x4ac10a(0x1a3)][_0x4ac10a(0x1cc)],'skipSessionName':_0x387dfc[_0x4ac10a(0x1a3)][_0x4ac10a(0x190)]['skipSessionName'],'skipSessionStatus':_0x387dfc['config'][_0x4ac10a(0x190)]['skipSessionStatus'],'turboScaleUrl':_0x387dfc[_0x4ac10a(0x1a3)][_0x4ac10a(0x1cd)]},_0x1a5585=process['argv'],[_0x437e96,_0x1f7d1f]=helper[_0x4ac10a(0x1df)](_0x1a5585),_0x3deb5e=path[_0x4ac10a(0x1e0)](process[_0x4ac10a(0x17f)](),_0x53edbf[_0x4ac10a(0x1b5)]);if(_0x53edbf[_0x4ac10a(0x1bf)](_0x1f7d1f[_0x4ac10a(0x181)],0x0)){helper[_0x4ac10a(0x188)](_0x3deb5e);for(let _0x40c92e=_0x53edbf[_0x4ac10a(0x1be)](_0x437e96[_0x4ac10a(0x181)],0x1);_0x53edbf[_0x4ac10a(0x1d7)](_0x40c92e,0x0);_0x40c92e--){_0x1a5585[_0x4ac10a(0x1ce)](_0x437e96[_0x40c92e],0x2);}}!helper[_0x4ac10a(0x170)](_0x387dfc['config'][_0x4ac10a(0x1e2)])&&(process['env'][_0x4ac10a(0x1b6)]=JSON['stringify'](_0x387dfc[_0x4ac10a(0x1a3)]['accessibilityOptions']));_0x53edbf[_0x4ac10a(0x1b1)](_0x387dfc[_0x4ac10a(0x1a3)][_0x4ac10a(0x1cf)],null)?process[_0x4ac10a(0x1c5)][_0x4ac10a(0x174)]=_0x387dfc['config'][_0x4ac10a(0x1cf)]:process[_0x4ac10a(0x1c5)][_0x4ac10a(0x174)]=_0x53edbf[_0x4ac10a(0x1dc)];const _0x1e6ead=await TestHubHandler[_0x4ac10a(0x1b2)](constants[_0x4ac10a(0x1d1)][_0x4ac10a(0x1db)],_0x387dfc);helper[_0x4ac10a(0x16f)]();let _0x58eb31;_0x53edbf[_0x4ac10a(0x178)](parallelCucumberRun,_0x3b38df,_0x45588f,_0x387dfc[_0x4ac10a(0x1a3)],_0x1a5585,_0x1f7d1f)[_0x4ac10a(0x18f)](async _0x50d3fa=>{const _0x220fc5=_0x4ac10a;_0x58eb31=_0x50d3fa;const _0x1cd590=_0x53edbf[_0x220fc5(0x1d6)](printCucumberStats,_0x50d3fa);process[_0x220fc5(0x1b0)]=_0x1cd590,_0x53edbf[_0x220fc5(0x1bf)](_0x1f7d1f[_0x220fc5(0x181)],0x0)&&(logger['debug'](_0x53edbf['mywLi']),helper[_0x220fc5(0x1c3)](_0x3deb5e,_0x1f7d1f),logger[_0x220fc5(0x19f)](_0x53edbf[_0x220fc5(0x1cb)]),helper[_0x220fc5(0x1bb)](_0x3deb5e));})['finally'](async()=>{const _0x4ee8a3=_0x4ac10a;_0x387dfc[_0x4ee8a3(0x1a7)]=helper[_0x4ee8a3(0x18e)](_0x58eb31,_0x53edbf['PxfzI']),testOpsHelper[_0x4ee8a3(0x1a4)]();try{await TestHubHandler[_0x4ee8a3(0x177)]();}catch(_0x3bca12){logger[_0x4ee8a3(0x19f)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util['format'](_0x3bca12));}try{const {browserstackFolderPath:_0x190c49,tcgConfigPath:_0x27b34f}=helper[_0x4ee8a3(0x1a2)]();fs[_0x4ee8a3(0x182)](_0x27b34f),fs[_0x4ee8a3(0x1a0)](_0x190c49);}catch(_0x288bb7){logger[_0x4ee8a3(0x19f)](_0x53edbf[_0x4ee8a3(0x1b8)],_0x288bb7);}await utilities[_0x4ee8a3(0x19c)](_0x387dfc);});}module[a5_0x32a6a8(0x18a)]=run;function a5_0x5467(){const _0x5e8515=['red','parallelsPerPlatform','mergeOutputFiles','setupTCGAuth','env','176304ksTDpg','72xVotbh','push','stepsPending','1541928hbcQch','vLsUe','logLevel','turboScaleUrl','splice','testObservability','green','FRAMEWORKS','../../helpers/helper','2ciAGLl','CYHQl','forEach','JmtEY','niEbI','\x20skipped','../../helpers/testhub/testhubHandler','stepsUndefined','CUCUMBER','UxnDn','../../helpers/BrowserStackSetup','yellow','parseFormatters','join','../test-runner','accessibilityOptions','LupQk','markSDKSetupComplete','isUndefined','1105820yuULEG','\x20steps','cucumber','BROWSERSTACK_TEST_OBSERVABILITY_YML','stepsPassed','40kweirS','stop','nFJTq','\x20passed','lRYUZ','prepareCapabilities','WSrxd','winstonLogger','chalk','cwd','stepsAmbiguous','length','unlinkSync','1390212jhaNhZ','initialize','stepsFailed','EKTAM','270482dMlDNB','createDir','scenariosFailed','exports','proxySettings','\x20undefined','useW3C','getErrorMessageFromResults','then','testContextOptions','getHubUrl','../utils/constants','../../helpers/test-observability/utils','getPlatformName','rncuY','SNcCA','PHSTF','\x20failed','handleApp','WHJUy','log','finalExecution','\x20scenarios','gGsiC','debug','rmdirSync','axLkh','getTCGConfigFilePaths','config','printBuildLink','UGezs','../../helpers/logger','errorMessage','KHigi','****\x20RESULTS\x20****','AONXQ','sqFXn','stepsSkipped','wgJXk','processSuccess','bgWhite','exitCode','oSlUH','launchBuild','bold','util','QXRUY','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','370326CVmIsp','rZQOi','Generating\x20consolidated\x20report...','Removing\x20tmp\x20directory\x20created\x20for\x20reports','removeDir','4445721cQFppR','RqVZs','LlNfp','FcKxz','scenarios'];a5_0x5467=function(){return _0x5e8515;};return a5_0x5467();}
2
+ 'use strict';function a5_0x34e6(_0x3b7a6e,_0x2d037a){const _0x10d4da=a5_0x10d4();return a5_0x34e6=function(_0x34e694,_0x1577d2){_0x34e694=_0x34e694-0x1bb;let _0x782dfd=_0x10d4da[_0x34e694];return _0x782dfd;},a5_0x34e6(_0x3b7a6e,_0x2d037a);}const a5_0x400e78=a5_0x34e6;(function(_0x2f8598,_0x3182d4){const _0x424b41=a5_0x34e6,_0x448222=_0x2f8598();while(!![]){try{const _0x47416a=parseInt(_0x424b41(0x1c7))/0x1*(-parseInt(_0x424b41(0x1d6))/0x2)+-parseInt(_0x424b41(0x1d3))/0x3*(parseInt(_0x424b41(0x1c9))/0x4)+parseInt(_0x424b41(0x209))/0x5+-parseInt(_0x424b41(0x22a))/0x6*(-parseInt(_0x424b41(0x1e0))/0x7)+-parseInt(_0x424b41(0x1d8))/0x8+-parseInt(_0x424b41(0x215))/0x9*(-parseInt(_0x424b41(0x1c2))/0xa)+-parseInt(_0x424b41(0x1e2))/0xb*(-parseInt(_0x424b41(0x1f2))/0xc);if(_0x47416a===_0x3182d4)break;else _0x448222['push'](_0x448222['shift']());}catch(_0x1513f1){_0x448222['push'](_0x448222['shift']());}}}(a5_0x10d4,0xcf4ca));function a5_0x10d4(){const _0x167c8a=['7191835rRJgKh','exitCode','stop','setupTCGAuth','launchBuild','then','BROWSERSTACK_TEST_OBSERVABILITY_YML','\x20ambiguous','aLnzI','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','kQSGI','vtMrI','18LHYtYA','rcWfq','env','useW3C','****\x20RESULTS\x20****','\x20failed','createDir','\x20steps','\x20skipped','testContextOptions','PVeyz','green','jMvjA','stepsUnknown','mWmNm','FRAMEWORKS','finalExecution','scenarios','Generating\x20consolidated\x20report...','Removing\x20tmp\x20directory\x20created\x20for\x20reports','../../helpers/test-observability/utils','1222134NaiEDf','errorMessage','\x20passed','getUserWorkerCount','winstonLogger','lbCet','stepsPending','../../helpers/utilities','getTCGConfigFilePaths','getPlatformName','initialize','join','eQCoa','CovpI','\x20pending','bOzyi','3262250eSKooe','ndhPx','error\x20removing\x20tcg\x20config\x20file','EJMFQ','bold','286882sHUcrk','testObservability','4BsDRJM','splice','accessibilityOptions','stepsSkipped','cwd','util','VFAhW','xsNpn','XvAKB','xITit','3390747obuEau','CyMea','skipSessionName','10ZRqruu','stepsAmbiguous','8912800EvdcKZ','MHIsw','../../helpers/logger','rmdirSync','red','zimHf','osxIK','parseFormatters','28xnVQHi','removeDir','22gVIlVW','\x20undefined','getErrorMessageFromResults','cyan','cucumber','../../helpers/testhub/testhubHandler','forEach','CUCUMBER','../../helpers/helper','log','\x20scenarios','yellow','scenariosFailed','debug','OaVdX','false','9733704UKFkMN','unlinkSync','skipSessionStatus','../../helpers/BrowserStackSetup','mergeOutputFiles','config','printBuildLink','finally','parallelsPerPlatform','length','isUndefined','hVCwK','../test-runner','push','../utils/constants','turboScaleUrl','getHubUrl','wPDPP','vSlqF','markSDKSetupComplete','ULHgk','cqWst','logLevel'];a5_0x10d4=function(){return _0x167c8a;};return a5_0x10d4();}const fs=require('fs'),path=require('path'),util=require(a5_0x400e78(0x1ce)),logger=require(a5_0x400e78(0x1da))[a5_0x400e78(0x22e)],{default:BrowserStackSetup}=require(a5_0x400e78(0x1f5)),helper=require(a5_0x400e78(0x1ea)),utilities=require(a5_0x400e78(0x231)),constants=require(a5_0x400e78(0x200)),{parallelCucumberRun}=require(a5_0x400e78(0x1fe)),TestHubHandler=require(a5_0x400e78(0x1e7)),testOpsHelper=require(a5_0x400e78(0x229)),chalk=require('chalk');function printCucumberStats(_0xf64156){const _0x21550a=a5_0x400e78,_0x56a1ea={};_0x56a1ea[_0x21550a(0x206)]=function(_0x28e375,_0x3b5eaf){return _0x28e375>_0x3b5eaf;},_0x56a1ea['vSlqF']=function(_0x3e8157,_0x44dd58){return _0x3e8157-_0x44dd58;},_0x56a1ea[_0x21550a(0x1c5)]=function(_0x4c9972,_0x7c8cd){return _0x4c9972-_0x7c8cd;},_0x56a1ea[_0x21550a(0x1cf)]=function(_0x668705,_0x2ab18f){return _0x668705>_0x2ab18f;},_0x56a1ea[_0x21550a(0x22f)]=function(_0x13649f,_0x775e20){return _0x13649f>_0x775e20;},_0x56a1ea[_0x21550a(0x1d2)]=function(_0x41c7f2,_0x546e91){return _0x41c7f2>_0x546e91;},_0x56a1ea[_0x21550a(0x211)]=function(_0x540ac5,_0x375e9b){return _0x540ac5>_0x375e9b;},_0x56a1ea[_0x21550a(0x1dd)]=function(_0xd6215d,_0x3f69f3){return _0xd6215d>_0x3f69f3;},_0x56a1ea[_0x21550a(0x223)]=function(_0x1190ba,_0x59dfc3){return _0x1190ba>_0x59dfc3;},_0x56a1ea[_0x21550a(0x214)]=function(_0x4db711,_0x4e538d){return _0x4db711>_0x4e538d;},_0x56a1ea[_0x21550a(0x221)]=function(_0x466462,_0x10e6f3){return _0x466462>_0x10e6f3;},_0x56a1ea['OaVdX']=function(_0xf1e6d0,_0x1617aa){return _0xf1e6d0+_0x1617aa;},_0x56a1ea[_0x21550a(0x1d9)]=function(_0x48300d,_0x3ad467){return _0x48300d+_0x3ad467;},_0x56a1ea[_0x21550a(0x1c3)]=function(_0x31dcad,_0x1da9d2){return _0x31dcad+_0x1da9d2;},_0x56a1ea[_0x21550a(0x21f)]=function(_0xf3f553,_0x4015e5){return _0xf3f553+_0x4015e5;},_0x56a1ea['osxIK']=function(_0x5746df,_0x647caf){return _0x5746df===_0x647caf;},_0x56a1ea['CyMea']=_0x21550a(0x219);const _0x3af936=_0x56a1ea;let _0x3e3cd8=0x0;if(_0x3af936[_0x21550a(0x1de)](_0xf64156[_0x21550a(0x1fb)],0x0))return _0x3e3cd8;return console['log'](chalk['bold']['bgWhite'](_0x3af936[_0x21550a(0x1d4)])),_0xf64156[_0x21550a(0x1e8)](_0x1f2f13=>{const _0x385961=_0x21550a,_0xcbbd23=_0x1f2f13[0x0],_0x11409a=_0x1f2f13[0x1];console[_0x385961(0x1eb)]('\x0a'+chalk[_0x385961(0x1c6)][_0x385961(0x1ed)](''+helper[_0x385961(0x1bb)](_0xcbbd23)));const _0x961097=_0x11409a[_0x385961(0x226)],_0x330114=_0x11409a['steps'],_0x5dd514=_0x11409a[_0x385961(0x1ee)],_0x2aff2d=_0x11409a['stepsFailed'],_0x3aa800=_0x11409a['stepsPassed'],_0xe543de=_0x11409a[_0x385961(0x1cc)],_0x34c3c2=_0x11409a[_0x385961(0x230)],_0x220f71=_0x11409a['stepsUndefined'],_0x390968=_0x11409a[_0x385961(0x222)],_0x1bd2a6=_0x11409a[_0x385961(0x1d7)],_0x237635=_0x11409a['processSuccess'];let _0xa86f39=_0x961097+_0x385961(0x1ec);const _0x535754=_0x3af936[_0x385961(0x206)](_0x3af936[_0x385961(0x204)](_0x961097,_0x5dd514),0x0)?_0x3af936[_0x385961(0x1c5)](_0x961097,_0x5dd514):0x0;if(_0x3af936[_0x385961(0x1cf)](_0x5dd514,0x0)&&_0x3af936[_0x385961(0x22f)](_0x535754,0x0))_0xa86f39+='\x20('+chalk['bold']['red'](_0x5dd514+_0x385961(0x21a))+',\x20'+chalk['bold'][_0x385961(0x220)](_0x535754+_0x385961(0x22c))+')';else(_0x3af936[_0x385961(0x1d2)](_0x5dd514,0x0)||_0x3af936[_0x385961(0x211)](_0x535754,0x0))&&(_0xa86f39+=_0x3af936[_0x385961(0x1dd)](_0x5dd514,0x0)?'\x20('+chalk[_0x385961(0x1c6)][_0x385961(0x1dc)](_0x5dd514+'\x20failed')+')':'\x20('+chalk[_0x385961(0x1c6)][_0x385961(0x220)](_0x535754+_0x385961(0x22c))+')');const _0x42685b=_0x330114+_0x385961(0x21c),_0x2795f1=[];_0x3af936[_0x385961(0x22f)](_0x1bd2a6,0x0)&&_0x2795f1['push'](''+chalk['bold'][_0x385961(0x1dc)](_0x1bd2a6+_0x385961(0x210)));_0x3af936[_0x385961(0x223)](_0x2aff2d,0x0)&&_0x2795f1['push'](''+chalk[_0x385961(0x1c6)][_0x385961(0x1dc)](_0x2aff2d+_0x385961(0x21a)));_0x3af936[_0x385961(0x211)](_0x3aa800,0x0)&&_0x2795f1[_0x385961(0x1ff)](''+chalk[_0x385961(0x1c6)][_0x385961(0x220)](_0x3aa800+_0x385961(0x22c)));_0x3af936[_0x385961(0x1d2)](_0x34c3c2,0x0)&&_0x2795f1[_0x385961(0x1ff)](''+chalk['bold']['yellow'](_0x34c3c2+_0x385961(0x1c0)));_0x3af936['ULHgk'](_0xe543de,0x0)&&_0x2795f1[_0x385961(0x1ff)](''+chalk[_0x385961(0x1c6)][_0x385961(0x1e5)](_0xe543de+_0x385961(0x21d)));_0x3af936['vtMrI'](_0x220f71,0x0)&&_0x2795f1[_0x385961(0x1ff)](''+chalk['bold'][_0x385961(0x1ed)](_0x220f71+_0x385961(0x1e3)));_0x3af936[_0x385961(0x221)](_0x390968,0x0)&&_0x2795f1['push'](''+chalk[_0x385961(0x1c6)][_0x385961(0x1ed)](_0x390968+'\x20skipped'));const _0x1b8c3a=_0x3af936[_0x385961(0x1f0)](_0x3af936[_0x385961(0x1f0)](_0x3af936[_0x385961(0x1f0)](_0x42685b,'('),_0x2795f1['join'](',\x20')),')');console[_0x385961(0x1eb)](_0x3af936[_0x385961(0x1f0)](_0x3af936[_0x385961(0x1d9)](_0x3af936['ndhPx'](_0x3af936['PVeyz']('\x0a',_0xa86f39),'\x0a'),_0x1b8c3a),'\x0a')),_0x3af936[_0x385961(0x1de)](_0x237635,![])&&(_0x3e3cd8=0x1);}),_0x3e3cd8;}async function run(_0x286b9b,_0x33d800){const _0x380a1e=a5_0x400e78,_0x48b66a={'cqWst':function(_0x440fb3,_0x2be5b7){return _0x440fb3(_0x2be5b7);},'bOzyi':function(_0x29b09e,_0x462e1e){return _0x29b09e>_0x462e1e;},'ipROl':_0x380a1e(0x227),'rcWfq':_0x380a1e(0x228),'eQCoa':_0x380a1e(0x1e6),'hVCwK':_0x380a1e(0x1c4),'ivmFL':'cucumber-js','kQSGI':'tmp','wPDPP':function(_0x516c93,_0x383d0f){return _0x516c93>_0x383d0f;},'XvAKB':function(_0x585adf,_0x26316d){return _0x585adf-_0x26316d;},'xsNpn':function(_0x34e8b7,_0x4d73fc){return _0x34e8b7>=_0x4d73fc;},'fDtvc':function(_0x215f26,_0x4b2e1b){return _0x215f26!=_0x4b2e1b;},'ViuSn':_0x380a1e(0x1f1),'CovpI':function(_0x54b12d,_0x5388a0,_0x19a8de,_0x3724f9,_0x2e6b1d,_0x41e576){return _0x54b12d(_0x5388a0,_0x19a8de,_0x3724f9,_0x2e6b1d,_0x41e576);}},_0x290973=new BrowserStackSetup(_0x286b9b,_0x48b66a['ivmFL']);await _0x290973[_0x380a1e(0x1bc)]();!helper['isBrowserstackInfra']()&&await _0x290973[_0x380a1e(0x20c)]();await helper['handleApp'](_0x290973['config']);const _0x423dc4=helper[_0x380a1e(0x218)](_0x290973['config']),_0x226a32=helper['prepareCapabilities'](_0x290973[_0x380a1e(0x1f7)],_0x423dc4,constants[_0x380a1e(0x224)]['CUCUMBER']);if(!_0x290973['config'])return;const _0x5d40ef=_0x290973[_0x380a1e(0x1f7)][_0x380a1e(0x1fa)]||helper[_0x380a1e(0x22d)](_0x286b9b,_0x33d800,_0x290973['config'],constants[_0x380a1e(0x224)]['CUCUMBER'])||0x1,_0x464cc8={'server':helper[_0x380a1e(0x202)](_0x290973['config']),'proxySettings':_0x290973['config']['proxySettings'],'maxWorkers':_0x5d40ef,'browserStackLogLevel':_0x290973[_0x380a1e(0x1f7)][_0x380a1e(0x208)],'skipSessionName':_0x290973['config']['testContextOptions'][_0x380a1e(0x1d5)],'skipSessionStatus':_0x290973[_0x380a1e(0x1f7)][_0x380a1e(0x21e)][_0x380a1e(0x1f4)],'turboScaleUrl':_0x290973['config'][_0x380a1e(0x201)]},_0x39608a=process['argv'],[_0x1990aa,_0x32585d]=helper[_0x380a1e(0x1df)](_0x39608a),_0x16007a=path[_0x380a1e(0x1bd)](process[_0x380a1e(0x1cd)](),_0x48b66a[_0x380a1e(0x213)]);if(_0x48b66a[_0x380a1e(0x203)](_0x32585d['length'],0x0)){helper[_0x380a1e(0x21b)](_0x16007a);for(let _0x37a0a2=_0x48b66a[_0x380a1e(0x1d1)](_0x1990aa[_0x380a1e(0x1fb)],0x1);_0x48b66a[_0x380a1e(0x1d0)](_0x37a0a2,0x0);_0x37a0a2--){_0x39608a[_0x380a1e(0x1ca)](_0x1990aa[_0x37a0a2],0x2);}}!helper[_0x380a1e(0x1fc)](_0x290973[_0x380a1e(0x1f7)][_0x380a1e(0x1cb)])&&(process[_0x380a1e(0x217)][_0x380a1e(0x212)]=JSON['stringify'](_0x290973[_0x380a1e(0x1f7)][_0x380a1e(0x1cb)]));_0x48b66a['fDtvc'](_0x290973[_0x380a1e(0x1f7)][_0x380a1e(0x1c8)],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x290973[_0x380a1e(0x1f7)]['testObservability']:process[_0x380a1e(0x217)][_0x380a1e(0x20f)]=_0x48b66a['ViuSn'];const _0xb18c65=await TestHubHandler[_0x380a1e(0x20d)](constants[_0x380a1e(0x224)][_0x380a1e(0x1e9)],_0x290973);helper[_0x380a1e(0x205)]();let _0x3418b3;_0x48b66a[_0x380a1e(0x1bf)](parallelCucumberRun,_0x226a32,_0x464cc8,_0x290973['config'],_0x39608a,_0x32585d)[_0x380a1e(0x20e)](async _0x5118b0=>{const _0x39312c=_0x380a1e;_0x3418b3=_0x5118b0;const _0x636bc0=_0x48b66a[_0x39312c(0x207)](printCucumberStats,_0x5118b0);process[_0x39312c(0x20a)]=_0x636bc0,_0x48b66a[_0x39312c(0x1c1)](_0x32585d[_0x39312c(0x1fb)],0x0)&&(logger['debug'](_0x48b66a['ipROl']),helper[_0x39312c(0x1f6)](_0x16007a,_0x32585d),logger[_0x39312c(0x1ef)](_0x48b66a[_0x39312c(0x216)]),helper[_0x39312c(0x1e1)](_0x16007a));})[_0x380a1e(0x1f9)](async()=>{const _0x4547a8=_0x380a1e;_0x290973[_0x4547a8(0x22b)]=helper[_0x4547a8(0x1e4)](_0x3418b3,_0x48b66a[_0x4547a8(0x1be)]),testOpsHelper[_0x4547a8(0x1f8)]();try{await TestHubHandler[_0x4547a8(0x20b)]();}catch(_0x502fee){logger[_0x4547a8(0x1ef)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util['format'](_0x502fee));}try{const {browserstackFolderPath:_0x1e3bf7,tcgConfigPath:_0x58e8f3}=helper[_0x4547a8(0x232)]();fs[_0x4547a8(0x1f3)](_0x58e8f3),fs[_0x4547a8(0x1db)](_0x1e3bf7);}catch(_0x5d7d64){logger[_0x4547a8(0x1ef)](_0x48b66a[_0x4547a8(0x1fd)],_0x5d7d64);}await utilities[_0x4547a8(0x225)](_0x290973);});}module['exports']=run;