browserstack-node-sdk 1.33.4 → 1.33.5

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 (120) 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/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  37. package/src/bin/codeceptjs/command.js +1 -1
  38. package/src/bin/codeceptjs/helper.js +1 -1
  39. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  40. package/src/bin/cucumber-js/command.js +1 -1
  41. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  43. package/src/bin/cucumber-js/test.setup.js +1 -1
  44. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  45. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  46. package/src/bin/integrations/command.js +1 -1
  47. package/src/bin/integrations/constants.js +1 -1
  48. package/src/bin/jest/command.js +1 -1
  49. package/src/bin/jest/customImplements/customCircus.js +1 -1
  50. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  51. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  52. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  53. package/src/bin/jest/jest.setup.js +1 -1
  54. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  55. package/src/bin/jest/test-observability/helper.js +1 -1
  56. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  57. package/src/bin/jest/test-observability/test-details.js +1 -1
  58. package/src/bin/jest/test_before.setup.js +1 -1
  59. package/src/bin/launcher/launcher.js +1 -1
  60. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  61. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  62. package/src/bin/mocha/command.js +1 -1
  63. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  64. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  65. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  66. package/src/bin/mocha/test.setup.js +1 -1
  67. package/src/bin/nightwatch/command.js +1 -1
  68. package/src/bin/playwright/accessibility-helper.js +1 -1
  69. package/src/bin/playwright/command.js +1 -1
  70. package/src/bin/playwright/globalSetup.js +1 -1
  71. package/src/bin/playwright/mock-process.js +1 -1
  72. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  73. package/src/bin/playwright/patches.js +1 -1
  74. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  75. package/src/bin/playwright/reporter/reporter.js +1 -1
  76. package/src/bin/playwright/reporter/test-details.js +1 -1
  77. package/src/bin/playwright/sessionDetails.js +1 -1
  78. package/src/bin/runner.js +1 -1
  79. package/src/bin/setup.js +1 -1
  80. package/src/bin/test-runner/index.js +1 -1
  81. package/src/bin/test-runner/runTest.js +1 -1
  82. package/src/bin/test-runner/testWorker.js +1 -1
  83. package/src/bin/utils/constants.js +1 -1
  84. package/src/bin/utils/log4jsAppender.js +1 -1
  85. package/src/bin/utils/logPatcher.js +1 -1
  86. package/src/bin/utils/logReportingAPI.js +1 -1
  87. package/src/bin/vanilla-js/command.js +1 -1
  88. package/src/browserStackSdk.js +1 -1
  89. package/src/helpers/BrowserStackSetup.js +1 -1
  90. package/src/helpers/accessibility-automation/constants.js +1 -1
  91. package/src/helpers/accessibility-automation/helper.js +1 -1
  92. package/src/helpers/accessibility-automation/scripts.js +1 -1
  93. package/src/helpers/ats/constants.js +1 -1
  94. package/src/helpers/ats/helper.js +1 -1
  95. package/src/helpers/capsMapping.js +1 -1
  96. package/src/helpers/globals.js +1 -1
  97. package/src/helpers/helper.js +1 -1
  98. package/src/helpers/logger.js +1 -1
  99. package/src/helpers/patchHelpers.js +1 -1
  100. package/src/helpers/percy/Percy.js +1 -1
  101. package/src/helpers/percy/PercyBinary.js +1 -1
  102. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  103. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  104. package/src/helpers/percy/PercySDK.js +1 -1
  105. package/src/helpers/percy/index.js +1 -1
  106. package/src/helpers/percy/utils.js +1 -1
  107. package/src/helpers/performance-tester.js +1 -1
  108. package/src/helpers/request-spy.js +1 -1
  109. package/src/helpers/setKeepAlive.js +1 -1
  110. package/src/helpers/test-observability/constants.js +1 -1
  111. package/src/helpers/test-observability/error-handler.js +1 -1
  112. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  113. package/src/helpers/test-observability/sessionHandler.js +1 -1
  114. package/src/helpers/test-observability/utils.js +1 -1
  115. package/src/helpers/testhub/constants.js +1 -1
  116. package/src/helpers/testhub/testhubHandler.js +1 -1
  117. package/src/helpers/testhub/utils.js +1 -1
  118. package/src/helpers/w3cMapping.js +1 -1
  119. package/src/hubAllocationMethods.js +1 -1
  120. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a32_0x1acacc=a32_0x5c87;(function(_0x2e5d49,_0x2ef7a6){const _0x485a89=a32_0x5c87,_0x30daa5=_0x2e5d49();while(!![]){try{const _0xef17ef=parseInt(_0x485a89(0x12c))/0x1+parseInt(_0x485a89(0x97))/0x2*(parseInt(_0x485a89(0xc9))/0x3)+parseInt(_0x485a89(0x75))/0x4*(-parseInt(_0x485a89(0x153))/0x5)+-parseInt(_0x485a89(0x139))/0x6+-parseInt(_0x485a89(0x68))/0x7*(-parseInt(_0x485a89(0xfc))/0x8)+-parseInt(_0x485a89(0xb9))/0x9*(-parseInt(_0x485a89(0xfb))/0xa)+parseInt(_0x485a89(0xf4))/0xb*(parseInt(_0x485a89(0x65))/0xc);if(_0xef17ef===_0x2ef7a6)break;else _0x30daa5['push'](_0x30daa5['shift']());}catch(_0x14d11d){_0x30daa5['push'](_0x30daa5['shift']());}}}(a32_0x1b0d,0xd6162));function a32_0x1b0d(){const _0x1d1665=['484SjnlNh','application/json','makeApiClient','uZVMO','jIyxj','TjVjT','VnhmC','45760AohKTD','16zCaXMD','kDpMb','ojiPt','key','oHKrF','localIdentifier','./instrumentationUtils','cloudProvider','push','filter','existsSync','YhdPi','constructor','nXoMl','UTctC','pkysl','TeOMq','NUykd','HSvKl','getCredentialsPath','ijuvR','oLvKf','ipZWd','ymZaF','geZsH','hubVersion','KubernetesObjectApi','xiITp','mUzAI','body','node','password','writeFileSync','YAAMo','PbIbE','path','clusterName','NfTPL','QzLvC','./webSocketUtils','uGCMQ','true','type','etYWy','vqQEh','GET','auugL','now','1459270gOMKQR','metadata','iHDcl','Error\x20while\x20waiting\x20for\x20deployment:','FuOVs','X-ci-environment','X-npm-version','yLnFs','SAIWU','browserstack-local','VYvZp','Hotyn','browserVersion','10316640uOrwSq','\x20is\x20ready.','X-cli-path','GYojA','getDirForConfig','base64','status','zZBkA','X-os','version','gvJwv','XtLKK','Timeout\x20waiting\x20for\x20deployment\x20','TJXbm','JyMum','Lxtwx','accessKey','WIXqw','sxXoV','KMuuG','\x20to\x20become\x20available.','iPKeN','VjBVm','X-os-version','lUwdf','readNamespacedDeployment','5582030fhpEUr','qsPFN','JTPUB','wtPLt','AWcUi','uVyzm','\x20in\x20namespace\x20','fetchOrUpdateUserConfig','tWRYQ','CNJQw','spec','hGHuC','lJUBt','ZeStd','homedir','utf-8','dBJWM','UJveg','jlIIZ','aXuYX','AsQiw','xTmCa','doCNJ','Qlmhg','ZZkiJ','instanceType','EPqFD','QDhHg','npm\x20install\x20@azure/arm-containerservice@19.8.0\x20@azure/arm-network@33.1.0\x20@azure/arm-resources@5.2.0\x20@azure/arm-storage@18.2.0\x20@azure/identity@4.0.1\x20--save','vgDDj','21888lkplMp','EiWuh','Rhjyr','2290169fyZOIy','Local','blJnE','forceLocal','maxNodes','XANJs','8|2|1|9|5|7|6|10|0|4|3','nxUmJ','join','concurrency','gIVAX','sendEventToBackend','kRJbj','4NkwIec','isRunning','YYfMI','.ats','CJIUG','SENWS','LlBhu','got','statusCode','toString','encodeBase64','HGtsQ','browserStackLocalOptions','clusterRegion','XpZRc','sZHgX','username','../config/constants','stop','from','credentials.json','coSrc','waitForDeployment','\x20to\x20be\x20ready...','availableReplicas','readFileSync','Idhhz','HDuzd','pIfHr','JkKze','split','name','updateGlobalRegistryWithConfig','OsUSO','76kIUMcc','reportToGalactusAndSendToEDS','DuWtU','vKYoN','VaKvN','Browserstack','NhYBB','s3Bucket','execSync','IYZNg','iuZJy','BZwRd','installAzurePackages','CVkbl','HZGCJ','ami','FDDRa','hDJAq','nJIQo','iQzMz','jRAGQ','fhLUl','ypzZP','replace','namespace','setLocalArgs','SwqgO','yzSvk','TfNPM','lVXSo','knGQs','lKHNo','iCbxv','UaveX','2835nIcrzF','read','jAiuF','hJjhm','4|8|9|0|10|5|3|6|7|2|1','qKxgX','kebabCase','cUuik','KAclx','jkgtX','getGridDetails','RsacP','fhmhZ','DUGxQ','RfeJE','/packages/cli/get-grid-details?gridId=','6114vJjSgz','getAuthHeader','mdAoo','JwEOa','getAccessKey','parse','EUjPw','rGIwI','isArray','gvEpj','WuVQj','CRhyM','LOG','ZIzfi','lEDRC','JjlTd','NeSws','patch','kubeApply','jexgG','customRepeaters','message','verbose','gqubU','qLxwu','custom-repeater','ats-repeater','debug','versions','X-cli-version','../config/logger','dODRw','zErBn','NVUlv','ihmhX','$1-$2','crsGq','ami-0a0b7559ee7c88dcd','stringify','jFfye','startLocalBinarySync','startSync','MszlK'];a32_0x1b0d=function(){return _0x1d1665;};return a32_0x1b0d();}function a32_0x5c87(_0x4b0c68,_0x30d4a9){const _0x1b0da1=a32_0x1b0d();return a32_0x5c87=function(_0x5c87cc,_0x8f1b3b){_0x5c87cc=_0x5c87cc-0x65;let _0x365c44=_0x1b0da1[_0x5c87cc];return _0x365c44;},a32_0x5c87(_0x4b0c68,_0x30d4a9);}const path=require('path'),os=require('os'),fs=require('fs'),cp=require('child_process'),webSocketUtils=require(a32_0x1acacc(0x123)),{sendInstrumentationEvent}=require('./instrumentationUtils'),BrowserstackLocalLauncher=require(a32_0x1acacc(0x135)),got=require(a32_0x1acacc(0x7c)),k8s=require('@kubernetes/client-node'),{logger}=require(a32_0x1acacc(0xe7)),{npm_version,_os,os_version,cli_version_and_path,ci_environment}=require(a32_0x1acacc(0x102)),{global_registry,WS_EVENTS,AG_API_URL}=require(a32_0x1acacc(0x86));exports[a32_0x1acacc(0x7f)]=_0x3bd188=>Buffer[a32_0x1acacc(0x88)](_0x3bd188)[a32_0x1acacc(0x7e)]('base64'),exports['getDirForConfig']=()=>{const _0x2d1102=a32_0x1acacc,_0x1ad787={};_0x1ad787['NfTPL']=_0x2d1102(0x78);const _0x1589ce=_0x1ad787;return path[_0x2d1102(0x70)](os[_0x2d1102(0x161)](),_0x1589ce[_0x2d1102(0x121)]);},exports[a32_0x1acacc(0x10f)]=()=>{const _0x2ed335=a32_0x1acacc,_0x2ffaed={};_0x2ffaed['vQLoY']=_0x2ed335(0x89);const _0x4dcabf=_0x2ffaed;return path[_0x2ed335(0x70)](this[_0x2ed335(0x13d)](),_0x4dcabf['vQLoY']);},exports[a32_0x1acacc(0x8b)]=async(_0x10253b,_0xf8c231,_0x52a26d,_0x5b1614)=>{const _0x48e0a3=a32_0x1acacc,_0x3996e7={};_0x3996e7[_0x48e0a3(0x134)]=_0x48e0a3(0x13b),_0x3996e7['YhdPi']=_0x48e0a3(0x16f),_0x3996e7[_0x48e0a3(0x165)]=function(_0x25cd07,_0xb530b7){return _0x25cd07>=_0xb530b7;},_0x3996e7[_0x48e0a3(0x143)]=function(_0x495f3d,_0x5ba39b){return _0x495f3d&&_0x5ba39b;},_0x3996e7[_0x48e0a3(0xbc)]='utf-8',_0x3996e7[_0x48e0a3(0xa7)]=_0x48e0a3(0xbd),_0x3996e7[_0x48e0a3(0x113)]=_0x48e0a3(0xee),_0x3996e7[_0x48e0a3(0xd3)]=function(_0x43ab8b,_0x18d0f6){return _0x43ab8b===_0x18d0f6;},_0x3996e7['ZPpuR']=_0x48e0a3(0xb7),_0x3996e7[_0x48e0a3(0xf7)]=_0x48e0a3(0xd9),_0x3996e7[_0x48e0a3(0x11e)]=function(_0x883e3a,_0xaa1275){return _0x883e3a!==_0xaa1275;},_0x3996e7[_0x48e0a3(0xc1)]=_0x48e0a3(0xb2),_0x3996e7[_0x48e0a3(0xd6)]=function(_0x40c225,_0x99fe4b){return _0x40c225>_0x99fe4b;},_0x3996e7[_0x48e0a3(0x9a)]=function(_0x528ed8,_0x49e88b){return _0x528ed8-_0x49e88b;},_0x3996e7[_0x48e0a3(0x16b)]=_0x48e0a3(0x10e),_0x3996e7[_0x48e0a3(0xa2)]='MtwSS',_0x3996e7[_0x48e0a3(0xfa)]=function(_0x5b24d7,_0xaa6a93){return _0x5b24d7>=_0xaa6a93;},_0x3996e7['zdHJA']=function(_0xd4ec16,_0x95da4a){return _0xd4ec16===_0x95da4a;},_0x3996e7[_0x48e0a3(0x127)]='LkYRz',_0x3996e7[_0x48e0a3(0x16d)]='rSnbE',_0x3996e7[_0x48e0a3(0x11d)]=function(_0x4ef046,_0xb322d7){return _0x4ef046!==_0xb322d7;},_0x3996e7[_0x48e0a3(0x146)]=_0x48e0a3(0xcc),_0x3996e7[_0x48e0a3(0x67)]=_0x48e0a3(0xfd),_0x3996e7[_0x48e0a3(0x133)]=_0x48e0a3(0x12f);const _0x4695ec=_0x3996e7;try{if(_0x4695ec['WuVQj'](_0x4695ec['ZPpuR'],_0x4695ec[_0x48e0a3(0xf7)]))_0x5e9ef8[_0x4695ec[_0x48e0a3(0x134)]]=_0x1848e2[_0x48e0a3(0x11f)];else{const _0x556edb=0x1388,_0x1969bb=Date[_0x48e0a3(0x12b)]();let _0x2fea13=![];while(!_0x2fea13){if(_0x4695ec[_0x48e0a3(0x11e)](_0x4695ec[_0x48e0a3(0xc1)],_0x4695ec['KAclx']))_0x328913[_0x48e0a3(0x9f)](_0x4695ec[_0x48e0a3(0x107)]);else{if(_0x4695ec[_0x48e0a3(0xd6)](_0x4695ec[_0x48e0a3(0x9a)](Date[_0x48e0a3(0x12b)](),_0x1969bb),_0x5b1614)){if(_0x4695ec[_0x48e0a3(0xd3)](_0x4695ec[_0x48e0a3(0x16b)],_0x4695ec[_0x48e0a3(0xa2)])){const _0x283079=_0x530a98[_0x48e0a3(0xe5)][_0x48e0a3(0x11a)];_0x4695ec['jlIIZ'](_0x283079[_0x48e0a3(0x93)]('.')[0x0],0x12)&&_0x23f69d[_0x48e0a3(0x9f)](_0x4695ec[_0x48e0a3(0x107)]);}else throw new Error(_0x48e0a3(0x145)+_0x52a26d+'\x20in\x20namespace\x20'+_0xf8c231+_0x48e0a3(0x14d));}const _0x31631f={};_0x31631f[_0x48e0a3(0x94)]=_0x52a26d,_0x31631f[_0x48e0a3(0xaf)]=_0xf8c231;const _0xaa04b5=await _0x10253b[_0x48e0a3(0x152)](_0x31631f),_0x44dddc=_0xaa04b5[_0x48e0a3(0x15d)]['replicas']||0x1,_0x7ba564=_0xaa04b5[_0x48e0a3(0x13f)][_0x48e0a3(0x8d)]||0x0;_0x2fea13=_0x4695ec[_0x48e0a3(0xfa)](_0x7ba564,_0x44dddc);if(!_0x2fea13){if(_0x4695ec['zdHJA'](_0x4695ec[_0x48e0a3(0x127)],_0x4695ec[_0x48e0a3(0x16d)])){if(_0x4695ec['gvJwv'](_0x166ae7,_0x58ef71)){const _0x4d086d={};_0x4d086d[_0x48e0a3(0x85)]=_0x5eadc3,_0x4d086d[_0x48e0a3(0x11b)]=_0x35e99f;const _0x27a809={};_0x27a809[_0x48e0a3(0x9c)]=_0x4d086d;const _0x470b3d=_0x27a809;_0x266783[_0x48e0a3(0x11c)](this[_0x48e0a3(0x10f)](),_0x43a4de['stringify'](_0x470b3d));}const _0x7957cc=_0x1463f7['parse'](_0x45bf33[_0x48e0a3(0x8e)](this[_0x48e0a3(0x10f)](),_0x4695ec['hJjhm']));return[_0x7957cc[_0x48e0a3(0x9c)]['username'],_0x7957cc[_0x48e0a3(0x9c)][_0x48e0a3(0x11b)]];}else logger[_0x48e0a3(0xe4)]('Waiting\x20for\x20deployment\x20'+_0x52a26d+_0x48e0a3(0x159)+_0xf8c231+_0x48e0a3(0x8c)),await new Promise(_0x2d8053=>setTimeout(_0x2d8053,_0x556edb));}}}logger['debug']('Deployment\x20'+_0x52a26d+'\x20in\x20namespace\x20'+_0xf8c231+_0x48e0a3(0x13a));}}catch(_0x13fb2a){if(_0x4695ec[_0x48e0a3(0x11d)](_0x4695ec['TJXbm'],_0x4695ec[_0x48e0a3(0x67)])){logger['debug'](_0x4695ec[_0x48e0a3(0x133)],_0x13fb2a);throw _0x13fb2a;}else{const _0x599f07=_0x4695ec[_0x48e0a3(0xa7)][_0x48e0a3(0x93)]('|');let _0xd03720=0x0;while(!![]){switch(_0x599f07[_0xd03720++]){case'0':_0x793d01['concurrency']=_0x176c06;continue;case'1':_0x5c524f[_0x48e0a3(0x6c)]=_0x1172f0;continue;case'2':_0x547c75['minNodes']=_0x4a102d;continue;case'3':_0x1555b8[_0x48e0a3(0xa6)]=_0x2dbe44[_0x48e0a3(0xa6)]||_0x4695ec[_0x48e0a3(0x113)];continue;case'4':_0x5c6fe6[_0x48e0a3(0x103)]=_0x3110e4;continue;case'5':_0x2f50d5[_0x48e0a3(0x9e)]=_0x5f11ae;continue;case'6':_0x28d4c9[_0x48e0a3(0x115)]=_0x1b3829;continue;case'7':_0x27309d[_0x48e0a3(0x138)]=_0x33db97;continue;case'8':_0x364ed5[_0x48e0a3(0x82)]=_0x3da919;continue;case'9':_0x3ec13b['clusterName']=_0x1a115a;continue;case'10':_0x85a3a2['instanceType']=_0x7925ae;continue;}break;}}}},exports[a32_0x1acacc(0x95)]=(_0x3e13a9,_0x28c0aa,_0x10d48f,_0x31282a,_0x4b5502,_0xb7f1d3,_0x56117d,_0x24b9bd,_0xe4d197,_0x41b054,_0x52885e)=>{const _0x2cd2f6=a32_0x1acacc,_0x545906={};_0x545906[_0x2cd2f6(0x170)]=_0x2cd2f6(0x6e),_0x545906[_0x2cd2f6(0x117)]=_0x2cd2f6(0xee);const _0x36046e=_0x545906,_0x1bf4c1=_0x36046e[_0x2cd2f6(0x170)][_0x2cd2f6(0x93)]('|');let _0x395464=0x0;while(!![]){switch(_0x1bf4c1[_0x395464++]){case'0':global_registry['browserVersion']=_0xe4d197;continue;case'1':global_registry[_0x2cd2f6(0x120)]=_0x28c0aa;continue;case'2':global_registry['clusterRegion']=_0x10d48f;continue;case'3':global_registry[_0x2cd2f6(0x6c)]=_0x52885e;continue;case'4':global_registry['minNodes']=_0x41b054;continue;case'5':global_registry[_0x2cd2f6(0x16c)]=_0x4b5502;continue;case'6':global_registry[_0x2cd2f6(0xa6)]=_0x56117d[_0x2cd2f6(0xa6)]||_0x36046e[_0x2cd2f6(0x117)];continue;case'7':global_registry['s3Bucket']=_0xb7f1d3;continue;case'8':global_registry[_0x2cd2f6(0x103)]=_0x3e13a9;continue;case'9':global_registry[_0x2cd2f6(0x71)]=_0x31282a;continue;case'10':global_registry[_0x2cd2f6(0x115)]=_0x24b9bd;continue;}break;}},exports[a32_0x1acacc(0xbf)]=_0x57b365=>_0x57b365[a32_0x1acacc(0xae)](/([a-z])([A-Z])/g,a32_0x1acacc(0xec))['replace'](/[\s_]+/g,'-')['toLowerCase'](),exports[a32_0x1acacc(0x98)]=async(_0xe909fa,_0x13f168,_0x15dc6b,_0x4ef04f,_0x36f0f9,_0x48b69b,_0x19b1d4)=>{const _0x412a64=a32_0x1acacc,_0x370b1e={'jkgtX':function(_0x524f41,_0x1ba32f,_0xebce11,_0x5bfd50,_0x29d657,_0x425161,_0x2348d1){return _0x524f41(_0x1ba32f,_0xebce11,_0x5bfd50,_0x29d657,_0x425161,_0x2348d1);}};await _0x370b1e[_0x412a64(0xc2)](sendInstrumentationEvent,_0xe909fa,_0x36f0f9,_0x4ef04f,_0x48b69b,null,_0xe909fa);const _0x26ab80={};_0x26ab80[_0x412a64(0x126)]=WS_EVENTS[_0x412a64(0xd5)],_0x26ab80[_0x412a64(0xde)]=_0x15dc6b,await webSocketUtils[_0x412a64(0x73)](_0x13f168,_0x26ab80,_0x19b1d4,!![]);},exports[a32_0x1acacc(0xcd)]=_0x94d371=>{return _0x94d371['accessKey'];},exports[a32_0x1acacc(0xb0)]=_0x46871e=>{const _0xdeb27=a32_0x1acacc,_0x21fffa={};_0x21fffa[_0xdeb27(0x164)]='X-os',_0x21fffa[_0xdeb27(0x90)]='key',_0x21fffa[_0xdeb27(0xaa)]=_0xdeb27(0xdf),_0x21fffa[_0xdeb27(0xe0)]=_0xdeb27(0x6b),_0x21fffa[_0xdeb27(0x144)]=_0xdeb27(0x125),_0x21fffa[_0xdeb27(0x16a)]=_0xdeb27(0x101),_0x21fffa[_0xdeb27(0x110)]=_0xdeb27(0xe3),_0x21fffa['dulxQ']=function(_0x4af535,_0x5e9117){return _0x4af535===_0x5e9117;},_0x21fffa[_0xdeb27(0x10b)]=_0xdeb27(0xa8),_0x21fffa[_0xdeb27(0x6d)]=_0xdeb27(0x10c),_0x21fffa[_0xdeb27(0x166)]=_0xdeb27(0xe2),_0x21fffa[_0xdeb27(0xcf)]=function(_0x3a7e10,_0x5bf00f){return _0x3a7e10===_0x5bf00f;},_0x21fffa[_0xdeb27(0x6f)]=function(_0x4ee0b2,_0x17704f){return _0x4ee0b2!==_0x17704f;},_0x21fffa[_0xdeb27(0xbb)]=_0xdeb27(0xb3);const _0x33ef18=_0x21fffa;let _0xf8a742={};_0xf8a742[_0x33ef18[_0xdeb27(0x90)]]=this[_0xdeb27(0xcd)](_0x46871e),_0xf8a742[_0x33ef18[_0xdeb27(0xaa)]]=0x3,_0xf8a742[_0x33ef18[_0xdeb27(0xe0)]]=_0x33ef18[_0xdeb27(0x144)],_0xf8a742[_0x33ef18[_0xdeb27(0x16a)]]=_0x33ef18[_0xdeb27(0x110)];_0x46871e[_0xdeb27(0xdd)]&&Array[_0xdeb27(0xd1)](_0x46871e[_0xdeb27(0xdd)])&&(_0x33ef18['dulxQ'](_0x33ef18[_0xdeb27(0x10b)],_0x33ef18[_0xdeb27(0x6d)])?_0x4e82d3[_0x33ef18[_0xdeb27(0x164)]]=_0x4ec3c6:_0xf8a742[_0x33ef18['aXuYX']]=_0x46871e[_0xdeb27(0xdd)]['join'](','));if(_0x46871e[_0xdeb27(0x81)]&&_0x33ef18[_0xdeb27(0xcf)](_0x46871e['browserStackLocalOptions'][_0xdeb27(0x108)],Object)){if(_0x33ef18[_0xdeb27(0x6f)](_0x33ef18['jAiuF'],_0x33ef18[_0xdeb27(0xbb)])){const _0x40bfa2={..._0x410aef[_0xdeb27(0x81)],..._0x1c91f0};_0x4df3fb=_0x40bfa2;}else _0xf8a742={..._0x46871e['browserStackLocalOptions'],..._0xf8a742};}return _0xf8a742;},exports[a32_0x1acacc(0xf1)]=_0x183680=>{const _0x38bc2b=a32_0x1acacc,_0x2aa595=new BrowserstackLocalLauncher[(_0x38bc2b(0x69))](),_0x3ed63b=this[_0x38bc2b(0xb0)](_0x183680),_0x517c20=_0x2aa595[_0x38bc2b(0xf2)](_0x3ed63b);if(_0x517c20)throw _0x517c20;return isLocalRunning=_0x2aa595[_0x38bc2b(0x76)](),_0x2aa595;},exports['stopLocalBinary']=async _0x4ae0b6=>{const _0x3da6ba=a32_0x1acacc,_0x2a9823={'mUzAI':function(_0x17c719,_0x271fd0){return _0x17c719!==_0x271fd0;},'QDhHg':_0x3da6ba(0x167),'TjVjT':_0x3da6ba(0x109),'RsacP':function(_0x973db4,_0x386aed){return _0x973db4===_0x386aed;},'lJUBt':_0x3da6ba(0x7b),'qsPFN':function(_0x3e19b6,_0x3244d1){return _0x3e19b6(_0x3244d1);},'lKHNo':function(_0x188300){return _0x188300();},'zZBkA':_0x3da6ba(0x132),'IYZNg':function(_0x1e4a49,_0x37fc0b){return _0x1e4a49&&_0x37fc0b;},'oLvKf':_0x3da6ba(0x162),'JjlTd':_0x3da6ba(0x112)};return new Promise((_0x42a1f2,_0x4dafe0)=>{const _0x25182a=_0x3da6ba,_0x160a2b={'NVUlv':_0x2a9823[_0x25182a(0x140)],'Hotyn':function(_0x53019b,_0x20d8a7){return _0x2a9823['IYZNg'](_0x53019b,_0x20d8a7);},'wtPLt':function(_0x242125,_0x2f0309){const _0x24da32=_0x25182a;return _0x2a9823[_0x24da32(0xa0)](_0x242125,_0x2f0309);},'kfLXf':_0x2a9823[_0x25182a(0x111)]};if(_0x2a9823[_0x25182a(0xc4)](_0x2a9823['JjlTd'],_0x2a9823[_0x25182a(0xd8)]))_0x4ae0b6&&_0x4ae0b6[_0x25182a(0x87)](_0x2114fd=>{const _0x43ca79=_0x25182a;if(_0x2a9823[_0x43ca79(0x118)](_0x2a9823[_0x43ca79(0x16e)],_0x2a9823[_0x43ca79(0xf9)])){if(_0x2114fd){if(_0x2a9823[_0x43ca79(0xc4)](_0x2a9823[_0x43ca79(0x15f)],_0x2a9823[_0x43ca79(0x15f)]))return _0x2a9823[_0x43ca79(0x154)](_0x4dafe0,_0x2114fd);else _0x3e4bc0[_0x160a2b[_0x43ca79(0xea)]]=_0x31cfc5;}_0x2a9823[_0x43ca79(0xb6)](_0x42a1f2);}else{const _0xfeb9ee=_0xf5dc1d['existsSync'](this['getCredentialsPath']());if(_0xfeb9ee||_0x160a2b[_0x43ca79(0x137)](_0x2f2d95,_0x2e260e)){if(_0x160a2b[_0x43ca79(0x156)](_0x1f1e9a,_0x30782f)){const _0x4e23e6={};_0x4e23e6[_0x43ca79(0x85)]=_0x30c397,_0x4e23e6[_0x43ca79(0x11b)]=_0x3e160c;const _0x5955f4={};_0x5955f4[_0x43ca79(0x9c)]=_0x4e23e6;const _0x1411b6=_0x5955f4;_0x2d335b[_0x43ca79(0x11c)](this[_0x43ca79(0x10f)](),_0x5c9a0e[_0x43ca79(0xef)](_0x1411b6));}const _0x2c8c69=_0x25c0d5[_0x43ca79(0xce)](_0x520ef8[_0x43ca79(0x8e)](this['getCredentialsPath'](),_0x160a2b['kfLXf']));return[_0x2c8c69['Browserstack'][_0x43ca79(0x85)],_0x2c8c69[_0x43ca79(0x9c)]['password']];}return null;}});else{const _0x5ab205={};_0x5ab205[_0x25182a(0x85)]=_0x4262db,_0x5ab205[_0x25182a(0x11b)]=_0x271eac;const _0x31b75f={};_0x31b75f[_0x25182a(0x9c)]=_0x5ab205;const _0x58f2da=_0x31b75f;_0x5f4805['writeFileSync'](this[_0x25182a(0x10f)](),_0x44846e[_0x25182a(0xef)](_0x58f2da));}});},exports[a32_0x1acacc(0x15a)]=(_0x33268a,_0x218532)=>{const _0x222d6c=a32_0x1acacc,_0x8de2d9={};_0x8de2d9[_0x222d6c(0xcb)]=_0x222d6c(0xe6),_0x8de2d9['iPKeN']=_0x222d6c(0x150),_0x8de2d9['DuWtU']=function(_0x398b25,_0x5811a6){return _0x398b25&&_0x5811a6;},_0x8de2d9[_0x222d6c(0x12e)]=function(_0x33a276,_0x551f30){return _0x33a276!==_0x551f30;},_0x8de2d9['fhLUl']=_0x222d6c(0x148),_0x8de2d9[_0x222d6c(0xd0)]=function(_0x4eff44,_0x23e23d){return _0x4eff44===_0x23e23d;},_0x8de2d9[_0x222d6c(0xc7)]='SHQOB',_0x8de2d9[_0x222d6c(0xd2)]=_0x222d6c(0x162);const _0x556fc8=_0x8de2d9,_0x597a57=fs[_0x222d6c(0x106)](this[_0x222d6c(0x10f)]());if(_0x597a57||_0x556fc8[_0x222d6c(0x99)](_0x33268a,_0x218532)){if(_0x556fc8[_0x222d6c(0x12e)](_0x556fc8['fhLUl'],_0x556fc8[_0x222d6c(0xac)]))_0x55265f[_0x556fc8[_0x222d6c(0xcb)]]=_0x4ec0be[_0x222d6c(0x142)];else{if(_0x556fc8[_0x222d6c(0x99)](_0x33268a,_0x218532)){if(_0x556fc8[_0x222d6c(0xd0)](_0x556fc8[_0x222d6c(0xc7)],_0x556fc8[_0x222d6c(0xc7)])){const _0x93ff61={};_0x93ff61[_0x222d6c(0x85)]=_0x33268a,_0x93ff61['password']=_0x218532;const _0x177d9a={};_0x177d9a[_0x222d6c(0x9c)]=_0x93ff61;const _0x523e49=_0x177d9a;fs[_0x222d6c(0x11c)](this['getCredentialsPath'](),JSON[_0x222d6c(0xef)](_0x523e49));}else _0x14b0ca[_0x556fc8[_0x222d6c(0x14e)]]=_0x4a56f6;}const _0x2ed05f=JSON[_0x222d6c(0xce)](fs[_0x222d6c(0x8e)](this[_0x222d6c(0x10f)](),_0x556fc8[_0x222d6c(0xd2)]));return[_0x2ed05f[_0x222d6c(0x9c)][_0x222d6c(0x85)],_0x2ed05f['Browserstack']['password']];}}return null;},exports[a32_0x1acacc(0xc3)]=async(_0x6ca579,_0xd853ee,_0x292b9b)=>{const _0x4ab859=a32_0x1acacc,_0x4a44ac={'CNJQw':_0x4ab859(0x131),'coSrc':_0x4ab859(0x129),'SwqgO':function(_0x352cd5,_0x1738a8,_0x38e7ea){return _0x352cd5(_0x1738a8,_0x38e7ea);},'vqQEh':function(_0x2462bf,_0x7a3a75){return _0x2462bf===_0x7a3a75;},'tWRYQ':function(_0x2cae85,_0x5aa2ba){return _0x2cae85!==_0x5aa2ba;},'WIXqw':_0x4ab859(0xc0),'EiWuh':_0x4ab859(0x155)},_0x33a814='https://'+_0x6ca579+':'+_0xd853ee+'@'+AG_API_URL+_0x4ab859(0xc8)+_0x292b9b,_0x31d5d2={'method':_0x4a44ac[_0x4ab859(0x8a)],'headers':this['getAuthHeader'](_0x6ca579,_0xd853ee),'throwHttpErrors':![]},_0x1adaa3=await _0x4a44ac[_0x4ab859(0xb1)](got,_0x33a814,_0x31d5d2);if(_0x4a44ac[_0x4ab859(0x128)](_0x1adaa3[_0x4ab859(0x7d)],0xc8)){if(_0x4a44ac[_0x4ab859(0x15b)](_0x4a44ac[_0x4ab859(0x14a)],_0x4a44ac[_0x4ab859(0x66)]))return[_0x1adaa3,JSON[_0x4ab859(0xce)](_0x1adaa3[_0x4ab859(0x119)])];else _0x4a5735[_0x4a44ac[_0x4ab859(0x15c)]]=_0x4e85e9;}return[_0x1adaa3,null];},exports[a32_0x1acacc(0xdb)]=async(_0xced504,_0x10f9d0)=>{const _0x508790=a32_0x1acacc,_0x579134={'CVkbl':_0x508790(0xff),'jJjfJ':_0x508790(0xdf),'DYNtu':_0x508790(0x6b),'FuOVs':_0x508790(0x125),'gIVAX':_0x508790(0x101),'uGCMQ':_0x508790(0xe3),'HZGCJ':_0x508790(0xe2),'kRJbj':function(_0x26495b,_0x26e5c4){return _0x26495b===_0x26e5c4;},'dODRw':function(_0x4541a3,_0x819306){return _0x4541a3(_0x819306);},'nJIQo':function(_0xf20c32,_0x28b01c){return _0xf20c32!==_0x28b01c;},'hGHuC':_0x508790(0xf0),'KMuuG':'FCDnE','sZHgX':function(_0x26032b,_0xe97456){return _0x26032b!==_0xe97456;},'ZeStd':_0x508790(0xc5),'QzLvC':_0x508790(0x158),'HGtsQ':function(_0x2d10c8,_0x306dfa){return _0x2d10c8!==_0x306dfa;},'doCNJ':_0x508790(0xf8),'pIfHr':_0x508790(0xe1)},_0x4aed30=await k8s[_0x508790(0x116)][_0x508790(0xf6)](_0x10f9d0),_0x38e9b6=_0xced504[_0x508790(0x105)](_0x1dbb55=>_0x1dbb55&&_0x1dbb55['kind']&&_0x1dbb55[_0x508790(0x12d)]),_0x51e067=[];for await(const _0x5b7ead of _0x38e9b6){if(_0x579134[_0x508790(0xa9)](_0x579134[_0x508790(0x15e)],_0x579134[_0x508790(0x14c)]))try{if(_0x579134[_0x508790(0x84)](_0x579134[_0x508790(0x160)],_0x579134[_0x508790(0x122)])){await _0x4aed30[_0x508790(0xba)](_0x5b7ead);const _0x4317b1=await _0x4aed30[_0x508790(0xda)](_0x5b7ead);_0x51e067[_0x508790(0x104)](_0x4317b1[_0x508790(0x119)]);}else{let _0x241de6={};return _0x241de6[_0x579134[_0x508790(0xa4)]]=this[_0x508790(0xcd)](_0x1a26cd),_0x241de6[_0x579134['jJjfJ']]=0x3,_0x241de6[_0x579134['DYNtu']]=_0x579134[_0x508790(0x130)],_0x241de6[_0x579134[_0x508790(0x72)]]=_0x579134[_0x508790(0x124)],_0x56c925[_0x508790(0xdd)]&&_0x525a8f['isArray'](_0x23e493[_0x508790(0xdd)])&&(_0x241de6[_0x579134[_0x508790(0xa5)]]=_0x843c0e[_0x508790(0xdd)][_0x508790(0x70)](',')),_0x264d79[_0x508790(0x81)]&&_0x579134[_0x508790(0x74)](_0x4513d2[_0x508790(0x81)][_0x508790(0x108)],_0x522779)&&(_0x241de6={..._0x42c83b[_0x508790(0x81)],..._0x241de6}),_0x241de6;}}catch(_0x5f0c02){if(_0x579134[_0x508790(0x80)](_0x579134[_0x508790(0x169)],_0x579134[_0x508790(0x91)])){const _0x19abd9=await _0x4aed30['create'](_0x5b7ead);_0x51e067[_0x508790(0x104)](_0x19abd9[_0x508790(0x119)]);}else _0x3fd769[_0x579134[_0x508790(0xa5)]]=_0x5645e9[_0x508790(0xdd)][_0x508790(0x70)](',');}else return _0x579134[_0x508790(0xe8)](_0x48d3eb,_0x32572e);}},exports[a32_0x1acacc(0xca)]=(_0xc82c17,_0x35efba)=>{const _0x3c8b2a=a32_0x1acacc,_0x5d60cc={'knGQs':'Error\x20while\x20waiting\x20for\x20deployment:','MszlK':function(_0x1dd9e3,_0x30a5f5){return _0x1dd9e3(_0x30a5f5);},'AWcUi':function(_0x5cd2d3){return _0x5cd2d3();},'qKxgX':function(_0x924480){return _0x924480();},'geZsH':_0x3c8b2a(0xf5),'sxXoV':function(_0x234f06,_0x2d8ea1){return _0x234f06+_0x2d8ea1;},'crsGq':'Basic\x20','ayVUS':_0x3c8b2a(0x13e),'OsUSO':function(_0x35c391,_0x499f98){return _0x35c391===_0x499f98;},'SENWS':_0x3c8b2a(0x9d),'blJnE':_0x3c8b2a(0xe6),'XpZRc':_0x3c8b2a(0x10d),'JkKze':'X-cli-path','lUwdf':_0x3c8b2a(0x168),'VaKvN':_0x3c8b2a(0x141),'CRhyM':function(_0x3f9254,_0x5815e5){return _0x3f9254!==_0x5815e5;},'dBJWM':_0x3c8b2a(0xfe),'iuZJy':_0x3c8b2a(0x150),'VYvZp':function(_0x440e8d,_0x1d13b1){return _0x440e8d!==_0x1d13b1;},'oHKrF':_0x3c8b2a(0xb8),'jRAGQ':'Ntltf','ihmhX':'X-npm-version','omlLa':_0x3c8b2a(0xad),'DUGxQ':_0x3c8b2a(0xdc),'ocmHc':'X-ci-environment'},_0x1d010d=_0x5d60cc[_0x3c8b2a(0x157)](cli_version_and_path),_0x5b6793=_0x5d60cc[_0x3c8b2a(0x157)](_os),_0x32a99f=_0x5d60cc[_0x3c8b2a(0x157)](os_version),_0x3b44c3=_0x5d60cc[_0x3c8b2a(0x157)](npm_version),_0x2a3c2b=_0x5d60cc[_0x3c8b2a(0xbe)](ci_environment),_0x1b05fd={'Content-Type':_0x5d60cc[_0x3c8b2a(0x114)],'Authorization':_0x5d60cc[_0x3c8b2a(0x14b)](_0x5d60cc[_0x3c8b2a(0xed)],Buffer['from'](_0xc82c17+':'+_0x35efba)[_0x3c8b2a(0x7e)](_0x5d60cc['ayVUS']))};if(_0x1d010d&&_0x1d010d[_0x3c8b2a(0x142)]){if(_0x5d60cc[_0x3c8b2a(0x96)](_0x5d60cc[_0x3c8b2a(0x7a)],_0x5d60cc[_0x3c8b2a(0x7a)]))_0x1b05fd[_0x5d60cc[_0x3c8b2a(0x6a)]]=_0x1d010d['version'];else throw new _0x19e4f2('Timeout\x20waiting\x20for\x20deployment\x20'+_0x5a59bc+_0x3c8b2a(0x159)+_0x8a3e01+_0x3c8b2a(0x14d));}if(_0x1d010d&&_0x1d010d['path']){if(_0x5d60cc['OsUSO'](_0x5d60cc[_0x3c8b2a(0x83)],_0x5d60cc[_0x3c8b2a(0x83)]))_0x1b05fd[_0x5d60cc[_0x3c8b2a(0x92)]]=_0x1d010d['path'];else{_0x13ecd0[_0x3c8b2a(0xe4)](_0x5d60cc[_0x3c8b2a(0xb5)],_0x25c70e);throw _0x5183e4;}}if(_0x5b6793){if(_0x5d60cc[_0x3c8b2a(0x96)](_0x5d60cc['lUwdf'],_0x5d60cc[_0x3c8b2a(0x151)]))_0x1b05fd[_0x5d60cc[_0x3c8b2a(0x9b)]]=_0x5b6793;else return _0x4e2953[_0x3c8b2a(0x149)];}if(_0x32a99f){if(_0x5d60cc[_0x3c8b2a(0xd4)](_0x5d60cc['dBJWM'],_0x5d60cc[_0x3c8b2a(0x163)])){const _0x46597a={'GYojA':function(_0x3664ce,_0x3723a7){const _0x37dc33=_0x3c8b2a;return _0x5d60cc[_0x37dc33(0xf3)](_0x3664ce,_0x3723a7);},'auugL':function(_0x1bab7c){return _0x5d60cc['AWcUi'](_0x1bab7c);}};_0x3351fe&&_0x2553db['stop'](_0x1d8e5f=>{const _0x2464f9=_0x3c8b2a;if(_0x1d8e5f)return _0x46597a[_0x2464f9(0x13c)](_0x27d580,_0x1d8e5f);_0x46597a[_0x2464f9(0x12a)](_0x39fb31);});}else _0x1b05fd[_0x5d60cc[_0x3c8b2a(0xa1)]]=_0x32a99f;}if(_0x3b44c3){if(_0x5d60cc[_0x3c8b2a(0x136)](_0x5d60cc[_0x3c8b2a(0x100)],_0x5d60cc[_0x3c8b2a(0xab)]))_0x1b05fd[_0x5d60cc[_0x3c8b2a(0xeb)]]=_0x3b44c3;else{if(_0x2d33a4)return _0x5d60cc['MszlK'](_0x571d2b,_0x34a3ea);_0x5d60cc['AWcUi'](_0x32fb32);}}if(_0x2a3c2b){if(_0x5d60cc['VYvZp'](_0x5d60cc['omlLa'],_0x5d60cc[_0x3c8b2a(0xc6)]))_0x1b05fd[_0x5d60cc['ocmHc']]=_0x2a3c2b;else{const _0x33f345=new _0x33c822['Local'](),_0x1eb3f3=this[_0x3c8b2a(0xb0)](_0x2df5e4),_0x2b0d82=_0x33f345['startSync'](_0x1eb3f3);if(_0x2b0d82)throw _0x2b0d82;return _0x24003c=_0x33f345[_0x3c8b2a(0x76)](),_0x33f345;}}return _0x1b05fd;},exports[a32_0x1acacc(0xa3)]=async()=>{const _0x27b45c=a32_0x1acacc,_0x54b533={'lCmJP':function(_0x1bbc58,_0x3e8c47){return _0x1bbc58(_0x3e8c47);},'zErBn':function(_0x31072f){return _0x31072f();},'JyMum':function(_0x19859a,_0x1d56d1){return _0x19859a>=_0x1d56d1;},'CJIUG':function(_0x2532db,_0x3fad89){return _0x2532db!==_0x3fad89;},'lEDRC':_0x27b45c(0xb4),'Idhhz':_0x27b45c(0x10a),'YobDM':_0x27b45c(0x16f)},_0x268edd=process[_0x27b45c(0xe5)]['node'];if(_0x54b533[_0x27b45c(0x147)](_0x268edd['split']('.')[0x0],0x12)){if(_0x54b533[_0x27b45c(0x79)](_0x54b533[_0x27b45c(0xd7)],_0x54b533[_0x27b45c(0x8f)]))cp['execSync'](_0x54b533['YobDM']);else{const _0x43b154={'YYfMI':function(_0x5d976f,_0x7cab6c){return _0x54b533['lCmJP'](_0x5d976f,_0x7cab6c);},'VjBVm':function(_0x185f95){const _0x541c70=_0x27b45c;return _0x54b533[_0x541c70(0xe9)](_0x185f95);}};return new _0x4965c2((_0x258652,_0x2dfadb)=>{_0x20abbf&&_0x364f38['stop'](_0x13a29b=>{const _0x39618c=a32_0x5c87;if(_0x13a29b)return _0x43b154[_0x39618c(0x77)](_0x2dfadb,_0x13a29b);_0x43b154[_0x39618c(0x14f)](_0x258652);});});}}};
1
+ function a32_0x5696(){const _0x30dc0f=['UnNrW','Timeout\x20waiting\x20for\x20deployment\x20','join','encodeBase64','emkGX','ncszc','availableReplicas','read','ZLqzQ','minNodes','https://','ifHdN','ZBHPn','spec','RAWdp','FrAve','instanceType','HzCpG','from','/packages/cli/get-grid-details?gridId=','path','message','fetchOrUpdateUserConfig','clusterRegion','replace','tUDCV','npm\x20install\x20@azure/arm-containerservice@19.8.0\x20@azure/arm-network@33.1.0\x20@azure/arm-resources@5.2.0\x20@azure/arm-storage@18.2.0\x20@azure/identity@4.0.1\x20--save','gLZke','startSync','kjpkc','SdBSm','gvnxQ','isArray','split','metadata','FkmoN','sxsXR','qsKiD','EeSfW','../config/logger','JUTcC','tsehb','existsSync','ats-repeater','JkByY','BTimz','DhhZj','FEDMS','ZAPEj','.ats','utf-8','37256fFZUGV','mJHay','qEwIA','OgokB','YADGC','body','updateGlobalRegistryWithConfig','@kubernetes/client-node','got','./instrumentationUtils','getDirForConfig','uoMBw','\x20in\x20namespace\x20','stop','MNTKj','lWeKb','vVBDl','DVQCb','VuNzc','meNqA','gBBxq','getAccessKey','7530732ELSFKW','gAaNp','qrvhW','NZSCk','JPzQt','5563016cdwYGW','suVWf','custom-repeater','qcspx','\x20to\x20become\x20available.','username','iIAVU','CHjgX','zAnkW','hubVersion','toString','XmdAv','YhhOP','ueNxO','mfitm','CYLXF','statusCode','\x20to\x20be\x20ready...','Tjqbr','LsKmE','LCsUM','ENZdn','AFHPQ','push','base64','AirQZ','version','alCyY','patch','execSync','yrgXD','X-os','tlIFm','clusterName','\x20is\x20ready.','dfbRB','stopLocalBinary','420411sLKouz','true','iMOEf','getAuthHeader','status','verbose','wFvBW','getGridDetails','password','parse','OSsJO','JmqSd','NTjqY','aTmfn','YZYMt','debug','replicas','application/json','forceLocal','KIpsM','jnQwr','OQjjH','../config/constants','s3Bucket','xDJxS','readFileSync','JewpR','X-cli-path','makeApiClient','qMFBo','maxNodes','fzyDP','KubernetesObjectApi','LoRyy','NbmlT','54wkwpvv','XVzVT','20xoEWdy','node','RFKtM','11710xbQvsg','liRHv','filter','SBGIZ','HySWT','JCtuR','homedir','now','kind','Browserstack','Local','ZTvMp','sTBvZ','TgIZZ','cloudProvider','igYpB','1204626SWffSx','mQmTW','concurrency','Falny','GUBgK','bUnWp','GET','localIdentifier','getCredentialsPath','BcAbO','QIVtr','./webSocketUtils','FYGag','14AsesKc','credentials.json','bMUAR','browserVersion','writeFileSync','QBVRL','zRLGz','bGKzC','UzYOK','setLocalArgs','xyzQf','$1-$2','HPIPF','xSsCA','ZqZUG','X-ci-environment','isRunning','IEFfT','browserStackLocalOptions','558cceIte','ami-0a0b7559ee7c88dcd','fgqXh','gMQkZ','vfGTm','KCvpy','waitForDeployment','kubeApply','IExbr','hUzIj','oUInV','ami','TLGJJ','jgRyd','GgEcY','599372roEOBn','LqpxY','svPqB','bMxmu','VkBiJ','vxCux','JlvCd','wkQqX','rGVMR','X-cli-version','customRepeaters','HLTdU','startLocalBinarySync','EdKHF','key','stringify','yaMMC','X-os-version','create','BQute','LqQdJ','hYCMC','jPVpk','oOuLz','YOOth'];a32_0x5696=function(){return _0x30dc0f;};return a32_0x5696();}const a32_0x4f7be9=a32_0x41fc;function a32_0x41fc(_0x1b420e,_0x162d75){const _0x569638=a32_0x5696();return a32_0x41fc=function(_0x41fce4,_0x512ab2){_0x41fce4=_0x41fce4-0x1c7;let _0x56ab8c=_0x569638[_0x41fce4];return _0x56ab8c;},a32_0x41fc(_0x1b420e,_0x162d75);}(function(_0xd629b6,_0x5a4e9e){const _0x2c50f6=a32_0x41fc,_0x4116fa=_0xd629b6();while(!![]){try{const _0x3196af=-parseInt(_0x2c50f6(0x20f))/0x1+-parseInt(_0x2c50f6(0x1cf))/0x2*(parseInt(_0x2c50f6(0x232))/0x3)+-parseInt(_0x2c50f6(0x276))/0x4*(parseInt(_0x2c50f6(0x234))/0x5)+-parseInt(_0x2c50f6(0x247))/0x6*(-parseInt(_0x2c50f6(0x254))/0x7)+parseInt(_0x2c50f6(0x1ea))/0x8+parseInt(_0x2c50f6(0x267))/0x9*(-parseInt(_0x2c50f6(0x237))/0xa)+parseInt(_0x2c50f6(0x1e5))/0xb;if(_0x3196af===_0x5a4e9e)break;else _0x4116fa['push'](_0x4116fa['shift']());}catch(_0x3978d6){_0x4116fa['push'](_0x4116fa['shift']());}}}(a32_0x5696,0x56632));const path=require(a32_0x4f7be9(0x2a3)),os=require('os'),fs=require('fs'),cp=require('child_process'),webSocketUtils=require(a32_0x4f7be9(0x252)),{sendInstrumentationEvent}=require(a32_0x4f7be9(0x1d8)),BrowserstackLocalLauncher=require('browserstack-local'),got=require(a32_0x4f7be9(0x1d7)),k8s=require(a32_0x4f7be9(0x1d6)),{logger}=require(a32_0x4f7be9(0x2b6)),{npm_version,_os,os_version,cli_version_and_path,ci_environment}=require(a32_0x4f7be9(0x1d8)),{global_registry,WS_EVENTS,AG_API_URL}=require(a32_0x4f7be9(0x225));exports[a32_0x4f7be9(0x292)]=_0x52eb9a=>Buffer[a32_0x4f7be9(0x2a1)](_0x52eb9a)[a32_0x4f7be9(0x1f4)](a32_0x4f7be9(0x202)),exports[a32_0x4f7be9(0x1d9)]=()=>{const _0x4c0a27=a32_0x4f7be9,_0x2cbd39={};_0x2cbd39[_0x4c0a27(0x219)]='.ats';const _0x5e3a2e=_0x2cbd39;return path['join'](os[_0x4c0a27(0x23d)](),_0x5e3a2e[_0x4c0a27(0x219)]);},exports['getCredentialsPath']=()=>{const _0x48eadf=a32_0x4f7be9,_0x2bdf84={};_0x2bdf84['IExbr']='credentials.json';const _0x11e554=_0x2bdf84;return path[_0x48eadf(0x291)](this['getDirForConfig'](),_0x11e554[_0x48eadf(0x26f)]);},exports[a32_0x4f7be9(0x26d)]=async(_0x5e8cf0,_0x5473a1,_0x5cf49c,_0x178df1)=>{const _0x5014f0=a32_0x4f7be9,_0x50bf67={'xDJxS':function(_0x4073e4,_0x450b6f){return _0x4073e4(_0x450b6f);},'vxCux':function(_0x3eac23){return _0x3eac23();},'ifHdN':function(_0x33dd19,_0x57be18){return _0x33dd19&&_0x57be18;},'FkmoN':_0x5014f0(0x1ce),'yaMMC':function(_0x5d3155,_0x330441){return _0x5d3155>=_0x330441;},'iIAVU':_0x5014f0(0x2a9),'ncszc':_0x5014f0(0x27f),'DeJzg':function(_0x36d0b1,_0x17d8b8){return _0x36d0b1!==_0x17d8b8;},'oOuLz':_0x5014f0(0x230),'GUBgK':function(_0xd6d0f1,_0x20e627){return _0xd6d0f1!==_0x20e627;},'OgokB':_0x5014f0(0x238),'HySWT':_0x5014f0(0x283),'DzZUv':function(_0x57526d,_0x4a0cfc){return _0x57526d>_0x4a0cfc;},'aTmfn':function(_0x414fa3,_0x5c45a8){return _0x414fa3-_0x5c45a8;},'KIpsM':'HBRgD','ZLqzQ':'idKZd','suVWf':function(_0x37a408,_0x3b782c){return _0x37a408>=_0x3b782c;},'XmdAv':function(_0x11f8cb,_0x2e9de4){return _0x11f8cb!==_0x2e9de4;},'alCyY':_0x5014f0(0x28e),'rGVMR':_0x5014f0(0x29b),'AFHPQ':_0x5014f0(0x1d1),'FEDMS':'Error\x20while\x20waiting\x20for\x20deployment:'};try{if(_0x50bf67['DeJzg'](_0x50bf67['oOuLz'],_0x50bf67[_0x5014f0(0x28d)]))return _0xa23160['accessKey'];else{const _0x2ca46b=0x1388,_0x432948=Date[_0x5014f0(0x23e)]();let _0x721638=![];while(!_0x721638){if(_0x50bf67[_0x5014f0(0x24b)](_0x50bf67[_0x5014f0(0x1d2)],_0x50bf67[_0x5014f0(0x23b)])){if(_0x50bf67['DzZUv'](_0x50bf67[_0x5014f0(0x21c)](Date[_0x5014f0(0x23e)](),_0x432948),_0x178df1)){if(_0x50bf67[_0x5014f0(0x24b)](_0x50bf67[_0x5014f0(0x222)],_0x50bf67[_0x5014f0(0x297)]))throw new Error(_0x5014f0(0x290)+_0x5cf49c+_0x5014f0(0x1db)+_0x5473a1+_0x5014f0(0x1ee));else{const _0x358c3d={'Tjqbr':function(_0x3c1713,_0x2f7dc4){const _0x56b0be=_0x5014f0;return _0x50bf67[_0x56b0be(0x227)](_0x3c1713,_0x2f7dc4);},'igYpB':function(_0x1f79d7){const _0xb3684=_0x5014f0;return _0x50bf67[_0xb3684(0x27b)](_0x1f79d7);}};return new _0x55dcb9((_0x306220,_0x3c9175)=>{_0x25cf4e&&_0x427ea5['stop'](_0x27368d=>{const _0x3790e9=a32_0x41fc;if(_0x27368d)return _0x358c3d[_0x3790e9(0x1fc)](_0x3c9175,_0x27368d);_0x358c3d[_0x3790e9(0x246)](_0x306220);});});}}const _0x79b94c={};_0x79b94c['name']=_0x5cf49c,_0x79b94c['namespace']=_0x5473a1;const _0x4d0116=await _0x5e8cf0['readNamespacedDeployment'](_0x79b94c),_0x29b8c5=_0x4d0116[_0x5014f0(0x29c)][_0x5014f0(0x21f)]||0x1,_0x1e4f18=_0x4d0116[_0x5014f0(0x213)][_0x5014f0(0x295)]||0x0;_0x721638=_0x50bf67[_0x5014f0(0x1eb)](_0x1e4f18,_0x29b8c5);if(!_0x721638){if(_0x50bf67[_0x5014f0(0x1f5)](_0x50bf67[_0x5014f0(0x205)],_0x50bf67[_0x5014f0(0x27e)]))logger['debug']('Waiting\x20for\x20deployment\x20'+_0x5cf49c+_0x5014f0(0x1db)+_0x5473a1+_0x5014f0(0x1fb)),await new Promise(_0x2e9f8e=>setTimeout(_0x2e9f8e,_0x2ca46b));else{if(_0x50bf67[_0x5014f0(0x29a)](_0x182483,_0x4b11af)){const _0x6cce6f={};_0x6cce6f[_0x5014f0(0x1ef)]=_0x3975d8,_0x6cce6f['password']=_0x3d4a5f;const _0xbf9473={};_0xbf9473[_0x5014f0(0x240)]=_0x6cce6f;const _0x4ce7c7=_0xbf9473;_0x526790['writeFileSync'](this[_0x5014f0(0x24f)](),_0x596f07[_0x5014f0(0x285)](_0x4ce7c7));}const _0x1c1f7f=_0x83903a['parse'](_0x1d5650['readFileSync'](this['getCredentialsPath'](),_0x50bf67[_0x5014f0(0x2b2)]));return[_0x1c1f7f['Browserstack']['username'],_0x1c1f7f[_0x5014f0(0x240)][_0x5014f0(0x217)]];}}}else{const _0x59e121=_0x5f349a['versions']['node'];_0x50bf67[_0x5014f0(0x286)](_0x59e121[_0x5014f0(0x2b0)]('.')[0x0],0x12)&&_0x5757fa[_0x5014f0(0x207)](_0x50bf67[_0x5014f0(0x1f0)]);}}logger[_0x5014f0(0x21e)]('Deployment\x20'+_0x5cf49c+_0x5014f0(0x1db)+_0x5473a1+_0x5014f0(0x20c));}}catch(_0xc271fc){if(_0x50bf67[_0x5014f0(0x24b)](_0x50bf67['AFHPQ'],_0x50bf67[_0x5014f0(0x200)]))_0x1d1f77[_0x50bf67[_0x5014f0(0x294)]]=_0x396513['version'];else{logger[_0x5014f0(0x21e)](_0x50bf67[_0x5014f0(0x1cb)],_0xc271fc);throw _0xc271fc;}}},exports[a32_0x4f7be9(0x1d5)]=(_0x154aa7,_0x39b9a9,_0x1fc2d0,_0x223fd4,_0x57e5a3,_0x524f75,_0x2052c3,_0x136faa,_0x51aea5,_0xc04594,_0x5cd545)=>{const _0x54d239=a32_0x4f7be9,_0x3cc17d={};_0x3cc17d[_0x54d239(0x1e7)]='1|6|7|4|9|5|0|3|2|10|8',_0x3cc17d[_0x54d239(0x1c9)]=_0x54d239(0x268);const _0x18700e=_0x3cc17d,_0x2ab6ce=_0x18700e[_0x54d239(0x1e7)]['split']('|');let _0x97c2d2=0x0;while(!![]){switch(_0x2ab6ce[_0x97c2d2++]){case'0':global_registry[_0x54d239(0x272)]=_0x2052c3['ami']||_0x18700e[_0x54d239(0x1c9)];continue;case'1':global_registry[_0x54d239(0x245)]=_0x154aa7;continue;case'2':global_registry['browserVersion']=_0x51aea5;continue;case'3':global_registry[_0x54d239(0x1f3)]=_0x136faa;continue;case'4':global_registry[_0x54d239(0x249)]=_0x223fd4;continue;case'5':global_registry['s3Bucket']=_0x524f75;continue;case'6':global_registry[_0x54d239(0x2a6)]=_0x1fc2d0;continue;case'7':global_registry[_0x54d239(0x20b)]=_0x39b9a9;continue;case'8':global_registry[_0x54d239(0x22d)]=_0x5cd545;continue;case'9':global_registry['instanceType']=_0x57e5a3;continue;case'10':global_registry[_0x54d239(0x298)]=_0xc04594;continue;}break;}},exports['kebabCase']=_0x4b8a8a=>_0x4b8a8a[a32_0x4f7be9(0x2a7)](/([a-z])([A-Z])/g,a32_0x4f7be9(0x25f))['replace'](/[\s_]+/g,'-')['toLowerCase'](),exports['reportToGalactusAndSendToEDS']=async(_0x5db2e8,_0x740a97,_0x309d9d,_0x4abd56,_0x21d277,_0x265b45,_0x1c3738)=>{const _0x4ca055=a32_0x4f7be9,_0x363b74={'vVBDl':function(_0x560f99,_0x261649,_0x1c215c,_0x905c65,_0x73c79d,_0x596b89,_0x4c8435){return _0x560f99(_0x261649,_0x1c215c,_0x905c65,_0x73c79d,_0x596b89,_0x4c8435);}};await _0x363b74[_0x4ca055(0x1df)](sendInstrumentationEvent,_0x5db2e8,_0x21d277,_0x4abd56,_0x265b45,null,_0x5db2e8);const _0x83caea={};_0x83caea['type']=WS_EVENTS['LOG'],_0x83caea[_0x4ca055(0x2a4)]=_0x309d9d,await webSocketUtils['sendEventToBackend'](_0x740a97,_0x83caea,_0x1c3738,!![]);},exports[a32_0x4f7be9(0x1e4)]=_0x28a819=>{return _0x28a819['accessKey'];},exports[a32_0x4f7be9(0x25d)]=_0x4f97c0=>{const _0x660698=a32_0x4f7be9,_0x52170e={'VkBiJ':function(_0x34deca,_0x2d81d3){return _0x34deca(_0x2d81d3);},'BcAbO':function(_0x19392b){return _0x19392b();},'LsKmE':_0x660698(0x284),'EXoBp':_0x660698(0x214),'UnNrW':_0x660698(0x221),'LqpxY':_0x660698(0x210),'Mvyfl':'localIdentifier','oUInV':_0x660698(0x1c7),'fzyDP':function(_0x5a4c88,_0xe0e6db){return _0x5a4c88!==_0xe0e6db;},'JCtuR':_0x660698(0x1e8),'GSVFH':_0x660698(0x1ec),'qsKiD':function(_0x440be8,_0x3a2f1e){return _0x440be8===_0x3a2f1e;},'ENZdn':_0x660698(0x25c)};let _0x10f82f={};_0x10f82f[_0x52170e[_0x660698(0x1fd)]]=this[_0x660698(0x1e4)](_0x4f97c0),_0x10f82f[_0x52170e['EXoBp']]=0x3,_0x10f82f[_0x52170e[_0x660698(0x28f)]]=_0x52170e[_0x660698(0x277)],_0x10f82f[_0x52170e['Mvyfl']]=_0x52170e[_0x660698(0x271)];if(_0x4f97c0[_0x660698(0x280)]&&Array[_0x660698(0x2af)](_0x4f97c0[_0x660698(0x280)])){if(_0x52170e[_0x660698(0x22e)](_0x52170e['JCtuR'],_0x52170e[_0x660698(0x23c)])){const _0x42a425={..._0x22c0b9[_0x660698(0x266)],..._0xf7acf2};_0x2cca8c=_0x42a425;}else _0x10f82f[_0x52170e['GSVFH']]=_0x4f97c0[_0x660698(0x280)][_0x660698(0x291)](',');}if(_0x4f97c0[_0x660698(0x266)]&&_0x52170e[_0x660698(0x2b4)](_0x4f97c0['browserStackLocalOptions']['constructor'],Object)){if(_0x52170e[_0x660698(0x2b4)](_0x52170e['ENZdn'],_0x52170e[_0x660698(0x1ff)]))_0x10f82f={..._0x4f97c0[_0x660698(0x266)],..._0x10f82f};else{const _0xf1fb25={'LqQdJ':function(_0x50ac4e,_0x1795f7){const _0x11a357=_0x660698;return _0x52170e[_0x11a357(0x27a)](_0x50ac4e,_0x1795f7);},'KCvpy':function(_0x12c4b4){const _0x41c82e=_0x660698;return _0x52170e[_0x41c82e(0x250)](_0x12c4b4);}};_0x206d87&&_0x3b8fdf[_0x660698(0x1dc)](_0x30cec8=>{const _0x4a0ce2=_0x660698;if(_0x30cec8)return _0xf1fb25[_0x4a0ce2(0x28a)](_0x13760b,_0x30cec8);_0xf1fb25[_0x4a0ce2(0x26c)](_0x212303);});}}return _0x10f82f;},exports[a32_0x4f7be9(0x282)]=_0x18658a=>{const _0x238ff6=a32_0x4f7be9,_0x22d4a5=new BrowserstackLocalLauncher[(_0x238ff6(0x241))](),_0x4ae84c=this['setLocalArgs'](_0x18658a),_0x4ad2b7=_0x22d4a5[_0x238ff6(0x2ab)](_0x4ae84c);if(_0x4ad2b7)throw _0x4ad2b7;return isLocalRunning=_0x22d4a5[_0x238ff6(0x264)](),_0x22d4a5;},exports[a32_0x4f7be9(0x20e)]=async _0x362147=>{const _0x24921e=a32_0x4f7be9,_0x106efc={'qMFBo':_0x24921e(0x1ec),'hYCMC':function(_0x3be3c8,_0x2babc6){return _0x3be3c8===_0x2babc6;},'ZqZUG':_0x24921e(0x224),'bMxmu':function(_0xab1370,_0x3bbc93){return _0xab1370!==_0x3bbc93;},'rvNSG':_0x24921e(0x1dd),'XVzVT':_0x24921e(0x2b5),'JmqSd':function(_0xa21d08,_0x1d98d8){return _0xa21d08(_0x1d98d8);},'TgIZZ':function(_0x5a5172){return _0x5a5172();},'zAnkW':function(_0xa1ddf7,_0x22973b){return _0xa1ddf7(_0x22973b);},'SdBSm':_0x24921e(0x273)};return new Promise((_0x135a6f,_0x2b3fef)=>{const _0x24e1b4=_0x24921e,_0x58a846={'bGKzC':function(_0x368fdd,_0x260a79){const _0x105a86=a32_0x41fc;return _0x106efc[_0x105a86(0x1f2)](_0x368fdd,_0x260a79);}};if(_0x106efc[_0x24e1b4(0x279)](_0x106efc['SdBSm'],_0x106efc[_0x24e1b4(0x2ad)]))return _0x58a846[_0x24e1b4(0x25b)](_0x1407e1,_0x526d61);else _0x362147&&_0x362147['stop'](_0x1a8c62=>{const _0x24ad8a=_0x24e1b4,_0x3a68fe={};_0x3a68fe[_0x24ad8a(0x24a)]=_0x106efc[_0x24ad8a(0x22c)];const _0x3e7f0e=_0x3a68fe;if(_0x106efc[_0x24ad8a(0x28b)](_0x106efc[_0x24ad8a(0x262)],_0x106efc[_0x24ad8a(0x262)])){if(_0x1a8c62)return _0x106efc[_0x24ad8a(0x279)](_0x106efc['rvNSG'],_0x106efc[_0x24ad8a(0x233)])?_0x106efc[_0x24ad8a(0x21a)](_0x2b3fef,_0x1a8c62):[_0x4bac89,_0x4e2203[_0x24ad8a(0x218)](_0x21c38e[_0x24ad8a(0x1d4)])];_0x106efc[_0x24ad8a(0x244)](_0x135a6f);}else _0x2c225c[_0x3e7f0e[_0x24ad8a(0x24a)]]=_0x714b78[_0x24ad8a(0x280)][_0x24ad8a(0x291)](',');});});},exports[a32_0x4f7be9(0x2a5)]=(_0x545e8e,_0x13bb93)=>{const _0x187805=a32_0x4f7be9,_0x52ea15={};_0x52ea15['vfGTm']=_0x187805(0x287),_0x52ea15[_0x187805(0x20a)]=function(_0x2507ae,_0x4de8db){return _0x2507ae&&_0x4de8db;},_0x52ea15[_0x187805(0x203)]=function(_0x394668,_0x1d5c79){return _0x394668!==_0x1d5c79;},_0x52ea15[_0x187805(0x229)]=_0x187805(0x24c),_0x52ea15[_0x187805(0x25a)]=_0x187805(0x28c),_0x52ea15['ZecMS']=function(_0x2a98d5,_0x36a361){return _0x2a98d5===_0x36a361;},_0x52ea15['FYGag']='BvOPF',_0x52ea15[_0x187805(0x243)]=_0x187805(0x1fe),_0x52ea15['rOfZy']=_0x187805(0x1ce);const _0x527f15=_0x52ea15,_0x23500b=fs['existsSync'](this[_0x187805(0x24f)]());if(_0x23500b||_0x527f15['tlIFm'](_0x545e8e,_0x13bb93)){if(_0x527f15[_0x187805(0x203)](_0x527f15[_0x187805(0x229)],_0x527f15[_0x187805(0x25a)])){if(_0x527f15[_0x187805(0x20a)](_0x545e8e,_0x13bb93)){if(_0x527f15['ZecMS'](_0x527f15[_0x187805(0x253)],_0x527f15['sTBvZ'])){const _0x5ebeca=new _0x466535['Local'](),_0x44ba1c=this[_0x187805(0x25d)](_0x1bd719),_0x5444cf=_0x5ebeca[_0x187805(0x2ab)](_0x44ba1c);if(_0x5444cf)throw _0x5444cf;return _0xbff459=_0x5ebeca['isRunning'](),_0x5ebeca;}else{const _0x5c3f6c={};_0x5c3f6c['username']=_0x545e8e,_0x5c3f6c['password']=_0x13bb93;const _0x4ee2f5={};_0x4ee2f5['Browserstack']=_0x5c3f6c;const _0x4ecbd8=_0x4ee2f5;fs['writeFileSync'](this[_0x187805(0x24f)](),JSON['stringify'](_0x4ecbd8));}}const _0x37a058=JSON[_0x187805(0x218)](fs[_0x187805(0x228)](this['getCredentialsPath'](),_0x527f15['rOfZy']));return[_0x37a058[_0x187805(0x240)]['username'],_0x37a058[_0x187805(0x240)]['password']];}else _0x566f52[_0x527f15[_0x187805(0x26b)]]=_0x14d4a7;}return null;},exports[a32_0x4f7be9(0x216)]=async(_0x32752f,_0x5c973d,_0x45b07e)=>{const _0x39e004=a32_0x4f7be9,_0x3d899f={'jnQwr':_0x39e004(0x1cd),'xyzQf':_0x39e004(0x24d),'chICh':function(_0x336dcc,_0x9fa2c,_0x3b473b){return _0x336dcc(_0x9fa2c,_0x3b473b);},'cRyPc':function(_0xe85d44,_0x22a857){return _0xe85d44===_0x22a857;},'lWeKb':function(_0x3ac710,_0x4d3262){return _0x3ac710===_0x4d3262;},'kjpkc':_0x39e004(0x274)},_0x120ff1=_0x39e004(0x299)+_0x32752f+':'+_0x5c973d+'@'+AG_API_URL+_0x39e004(0x2a2)+_0x45b07e,_0x133372={'method':_0x3d899f[_0x39e004(0x25e)],'headers':this['getAuthHeader'](_0x32752f,_0x5c973d),'throwHttpErrors':![]},_0x3c6524=await _0x3d899f['chICh'](got,_0x120ff1,_0x133372);if(_0x3d899f['cRyPc'](_0x3c6524[_0x39e004(0x1fa)],0xc8))return _0x3d899f[_0x39e004(0x1de)](_0x3d899f[_0x39e004(0x2ac)],_0x3d899f[_0x39e004(0x2ac)])?[_0x3c6524,JSON[_0x39e004(0x218)](_0x3c6524['body'])]:_0x1d1cd6['join'](_0x351884[_0x39e004(0x23d)](),_0x3d899f[_0x39e004(0x223)]);return[_0x3c6524,null];},exports[a32_0x4f7be9(0x26e)]=async(_0x229953,_0x46efd7)=>{const _0xa829f4=a32_0x4f7be9,_0x287460={};_0x287460[_0xa829f4(0x269)]=_0xa829f4(0x22a),_0x287460['emkGX']='6|8|7|1|2|3|0|5|4|9|10',_0x287460['YADGC']=_0xa829f4(0x268),_0x287460['jDHsf']=_0xa829f4(0x255),_0x287460[_0xa829f4(0x29e)]=function(_0x21a3ed,_0x5aae9b){return _0x21a3ed===_0x5aae9b;},_0x287460[_0xa829f4(0x1ed)]=_0xa829f4(0x29d),_0x287460[_0xa829f4(0x2b3)]='jwCOo',_0x287460[_0xa829f4(0x2b7)]=function(_0x1b89d6,_0x12f94d){return _0x1b89d6===_0x12f94d;},_0x287460['IEFfT']=_0xa829f4(0x1f6);const _0x20a6c1=_0x287460,_0x2d38d2=await k8s[_0xa829f4(0x22f)][_0xa829f4(0x22b)](_0x46efd7),_0x5e3f53=_0x229953[_0xa829f4(0x239)](_0x1c4599=>_0x1c4599&&_0x1c4599[_0xa829f4(0x23f)]&&_0x1c4599[_0xa829f4(0x2b1)]),_0x4299e7=[];for await(const _0x55b875 of _0x5e3f53){if(_0x20a6c1[_0xa829f4(0x29e)](_0x20a6c1[_0xa829f4(0x1ed)],_0x20a6c1[_0xa829f4(0x1ed)]))try{if(_0x20a6c1[_0xa829f4(0x29e)](_0x20a6c1[_0xa829f4(0x2b3)],_0x20a6c1[_0xa829f4(0x2b3)])){await _0x2d38d2[_0xa829f4(0x296)](_0x55b875);const _0x2e6c81=await _0x2d38d2[_0xa829f4(0x206)](_0x55b875);_0x4299e7[_0xa829f4(0x201)](_0x2e6c81[_0xa829f4(0x1d4)]);}else _0x317d8f[_0x20a6c1[_0xa829f4(0x269)]]=_0x4a03ea[_0xa829f4(0x2a3)];}catch(_0xac445c){if(_0x20a6c1[_0xa829f4(0x2b7)](_0x20a6c1[_0xa829f4(0x265)],_0x20a6c1[_0xa829f4(0x265)])){const _0x363087=await _0x2d38d2[_0xa829f4(0x288)](_0x55b875);_0x4299e7[_0xa829f4(0x201)](_0x363087[_0xa829f4(0x1d4)]);}else{const _0x5cc3b6=_0x20a6c1[_0xa829f4(0x293)][_0xa829f4(0x2b0)]('|');let _0x1bb07b=0x0;while(!![]){switch(_0x5cc3b6[_0x1bb07b++]){case'0':_0x40470f[_0xa829f4(0x272)]=_0x5910b6[_0xa829f4(0x272)]||_0x20a6c1[_0xa829f4(0x1d3)];continue;case'1':_0x32c556['concurrency']=_0x3e3119;continue;case'2':_0x5cedcf[_0xa829f4(0x29f)]=_0x222f54;continue;case'3':_0x200a8a[_0xa829f4(0x226)]=_0x596f31;continue;case'4':_0x3e5305[_0xa829f4(0x257)]=_0x469044;continue;case'5':_0x1e35b1[_0xa829f4(0x1f3)]=_0x3ddd75;continue;case'6':_0x4fb283[_0xa829f4(0x245)]=_0x4f4118;continue;case'7':_0x20a643['clusterName']=_0x495194;continue;case'8':_0x497c9f[_0xa829f4(0x2a6)]=_0x1241cc;continue;case'9':_0x3d4a22[_0xa829f4(0x298)]=_0x2c98ee;continue;case'10':_0x27492d[_0xa829f4(0x22d)]=_0x288504;continue;}break;}}}else return _0x413778['join'](this['getDirForConfig'](),_0x20a6c1['jDHsf']);}},exports[a32_0x4f7be9(0x212)]=(_0x61c188,_0x2ecb31)=>{const _0x5d48f7=a32_0x4f7be9,_0x23027c={'ymzuO':_0x5d48f7(0x2a9),'ZAPEj':'key','ZTvMp':_0x5d48f7(0x214),'JkByY':'forceLocal','SBGIZ':'true','DhhZj':_0x5d48f7(0x24e),'iMOEf':_0x5d48f7(0x1c7),'BQute':_0x5d48f7(0x1ec),'ueNxO':function(_0xb93a41,_0x5a5f4e){return _0xb93a41===_0x5a5f4e;},'xSsCA':_0x5d48f7(0x263),'svPqB':function(_0x4050a1,_0x1b57d2){return _0x4050a1&&_0x1b57d2;},'MzMvv':_0x5d48f7(0x1ce),'CYLXF':_0x5d48f7(0x209),'mQmTW':function(_0x2bc8e9){return _0x2bc8e9();},'HzCpG':function(_0x4cf89a){return _0x4cf89a();},'RFKtM':_0x5d48f7(0x220),'wkQqX':function(_0xd09427,_0x5dea5a){return _0xd09427+_0x5dea5a;},'YZYMt':'Basic\x20','JlvCd':_0x5d48f7(0x202),'tUDCV':function(_0xc1b74d,_0x1e01c4){return _0xc1b74d===_0x1e01c4;},'tikaj':_0x5d48f7(0x26a),'HLTdU':'X-cli-version','mfitm':function(_0x324ad4,_0x5bc523){return _0x324ad4!==_0x5bc523;},'gBBxq':_0x5d48f7(0x275),'HPIPF':_0x5d48f7(0x256),'NbmlT':'X-cli-path','gvnxQ':'bcubh','gLZke':function(_0x12b786,_0x273450){return _0x12b786!==_0x273450;},'yrgXD':_0x5d48f7(0x1d0),'QIVtr':_0x5d48f7(0x1e9),'NTjqY':_0x5d48f7(0x287),'AKoKW':function(_0x4731b8,_0x19668c){return _0x4731b8===_0x19668c;},'tsehb':'MFsQR','meNqA':'X-npm-version','hUzIj':_0x5d48f7(0x1e6)},_0x198fe0=_0x23027c[_0x5d48f7(0x248)](cli_version_and_path),_0x56e063=_0x23027c[_0x5d48f7(0x248)](_os),_0x25f6fa=_0x23027c[_0x5d48f7(0x248)](os_version),_0x64c818=_0x23027c[_0x5d48f7(0x248)](npm_version),_0x1b829c=_0x23027c[_0x5d48f7(0x2a0)](ci_environment),_0x58d8a2={'Content-Type':_0x23027c[_0x5d48f7(0x236)],'Authorization':_0x23027c[_0x5d48f7(0x27d)](_0x23027c[_0x5d48f7(0x21d)],Buffer[_0x5d48f7(0x2a1)](_0x61c188+':'+_0x2ecb31)['toString'](_0x23027c[_0x5d48f7(0x27c)]))};if(_0x198fe0&&_0x198fe0[_0x5d48f7(0x204)]){if(_0x23027c[_0x5d48f7(0x2a8)](_0x23027c['tikaj'],_0x23027c['tikaj']))_0x58d8a2[_0x23027c[_0x5d48f7(0x281)]]=_0x198fe0[_0x5d48f7(0x204)];else{const _0x326024={};_0x326024['username']=_0x80e947,_0x326024[_0x5d48f7(0x217)]=_0x56e30a;const _0x3c300e={};_0x3c300e[_0x5d48f7(0x240)]=_0x326024;const _0x35d917=_0x3c300e;_0x378584[_0x5d48f7(0x258)](this[_0x5d48f7(0x24f)](),_0x3103ab['stringify'](_0x35d917));}}_0x198fe0&&_0x198fe0[_0x5d48f7(0x2a3)]&&(_0x23027c[_0x5d48f7(0x1f8)](_0x23027c[_0x5d48f7(0x1e3)],_0x23027c[_0x5d48f7(0x260)])?_0x58d8a2[_0x23027c[_0x5d48f7(0x231)]]=_0x198fe0[_0x5d48f7(0x2a3)]:_0x26b214['execSync'](_0x23027c['ymzuO']));if(_0x56e063){if(_0x23027c[_0x5d48f7(0x1f8)](_0x23027c[_0x5d48f7(0x2ae)],_0x23027c['gvnxQ'])){let _0x32e796={};return _0x32e796[_0x23027c[_0x5d48f7(0x1cc)]]=this[_0x5d48f7(0x1e4)](_0x5b4108),_0x32e796[_0x23027c[_0x5d48f7(0x242)]]=0x3,_0x32e796[_0x23027c[_0x5d48f7(0x1c8)]]=_0x23027c[_0x5d48f7(0x23a)],_0x32e796[_0x23027c[_0x5d48f7(0x1ca)]]=_0x23027c[_0x5d48f7(0x211)],_0xd6a0f3[_0x5d48f7(0x280)]&&_0x342791['isArray'](_0x28416b[_0x5d48f7(0x280)])&&(_0x32e796[_0x23027c[_0x5d48f7(0x289)]]=_0x1916d4[_0x5d48f7(0x280)]['join'](',')),_0x3556a6[_0x5d48f7(0x266)]&&_0x23027c[_0x5d48f7(0x1f7)](_0x1ef0ea[_0x5d48f7(0x266)]['constructor'],_0x1d65de)&&(_0x32e796={..._0x115ae1[_0x5d48f7(0x266)],..._0x32e796}),_0x32e796;}else _0x58d8a2[_0x23027c[_0x5d48f7(0x1f9)]]=_0x56e063;}_0x25f6fa&&(_0x23027c[_0x5d48f7(0x2aa)](_0x23027c[_0x5d48f7(0x208)],_0x23027c[_0x5d48f7(0x251)])?_0x58d8a2[_0x23027c[_0x5d48f7(0x21b)]]=_0x25f6fa:_0x210c06[_0x23027c[_0x5d48f7(0x261)]]=_0x46af06);if(_0x64c818){if(_0x23027c['AKoKW'](_0x23027c[_0x5d48f7(0x2b8)],_0x23027c['tsehb']))_0x58d8a2[_0x23027c[_0x5d48f7(0x1e2)]]=_0x64c818;else{const _0xd6b330=_0x380184[_0x5d48f7(0x2b9)](this[_0x5d48f7(0x24f)]());if(_0xd6b330||_0x23027c[_0x5d48f7(0x278)](_0x1e6c83,_0x284b93)){if(_0x23027c[_0x5d48f7(0x278)](_0x322972,_0x52ccd5)){const _0x3cae95={};_0x3cae95[_0x5d48f7(0x1ef)]=_0x474ce3,_0x3cae95['password']=_0x1cce0d;const _0x40f8df={};_0x40f8df[_0x5d48f7(0x240)]=_0x3cae95;const _0x8420a9=_0x40f8df;_0x43c8d1[_0x5d48f7(0x258)](this[_0x5d48f7(0x24f)](),_0x2b1be8[_0x5d48f7(0x285)](_0x8420a9));}const _0x53b9c3=_0x13bdde[_0x5d48f7(0x218)](_0x2bf111['readFileSync'](this[_0x5d48f7(0x24f)](),_0x23027c['MzMvv']));return[_0x53b9c3[_0x5d48f7(0x240)][_0x5d48f7(0x1ef)],_0x53b9c3[_0x5d48f7(0x240)][_0x5d48f7(0x217)]];}return null;}}return _0x1b829c&&(_0x23027c['tUDCV'](_0x23027c[_0x5d48f7(0x270)],_0x23027c[_0x5d48f7(0x270)])?_0x58d8a2[_0x23027c[_0x5d48f7(0x261)]]=_0x1b829c:_0x3b6dd8[_0x23027c[_0x5d48f7(0x1f9)]]=_0x67166b),_0x58d8a2;},exports['installAzurePackages']=async()=>{const _0xe256df=a32_0x4f7be9,_0x3c1ec0={};_0x3c1ec0[_0xe256df(0x259)]='X-npm-version',_0x3c1ec0['CHjgX']=function(_0x73e435,_0x4d410c){return _0x73e435>=_0x4d410c;},_0x3c1ec0[_0xe256df(0x1e0)]=function(_0x2261ae,_0x36f2a2){return _0x2261ae!==_0x36f2a2;},_0x3c1ec0[_0xe256df(0x215)]='ojFEU',_0x3c1ec0[_0xe256df(0x20d)]=_0xe256df(0x1e1),_0x3c1ec0[_0xe256df(0x1da)]=_0xe256df(0x2a9);const _0x47a1b5=_0x3c1ec0,_0x8c94dd=process['versions'][_0xe256df(0x235)];_0x47a1b5[_0xe256df(0x1f1)](_0x8c94dd[_0xe256df(0x2b0)]('.')[0x0],0x12)&&(_0x47a1b5[_0xe256df(0x1e0)](_0x47a1b5[_0xe256df(0x215)],_0x47a1b5[_0xe256df(0x20d)])?cp['execSync'](_0x47a1b5[_0xe256df(0x1da)]):_0x46e08c[_0x47a1b5[_0xe256df(0x259)]]=_0x42de03);};
@@ -1 +1 @@
1
- const a33_0x2dfa3c=a33_0x1dcc;(function(_0x47fe4e,_0x365a6b){const _0x3644a5=a33_0x1dcc,_0x42cbff=_0x47fe4e();while(!![]){try{const _0x13d121=parseInt(_0x3644a5(0x18a))/0x1+-parseInt(_0x3644a5(0x1d5))/0x2*(parseInt(_0x3644a5(0x1bc))/0x3)+parseInt(_0x3644a5(0x1d8))/0x4*(-parseInt(_0x3644a5(0x1a5))/0x5)+parseInt(_0x3644a5(0x1da))/0x6*(-parseInt(_0x3644a5(0x1e2))/0x7)+parseInt(_0x3644a5(0x17d))/0x8*(parseInt(_0x3644a5(0x1b7))/0x9)+-parseInt(_0x3644a5(0x1a2))/0xa+-parseInt(_0x3644a5(0x17e))/0xb*(-parseInt(_0x3644a5(0x190))/0xc);if(_0x13d121===_0x365a6b)break;else _0x42cbff['push'](_0x42cbff['shift']());}catch(_0x3a955f){_0x42cbff['push'](_0x42cbff['shift']());}}}(a33_0x171d,0x272c9));const {global_registry,WS_EVENTS}=require(a33_0x2dfa3c(0x1c8)),{logger}=require('../config/logger'),{npm_version,_os,os_version,cli_version_and_path,ci_environment}=require(a33_0x2dfa3c(0x18e));function a33_0x1dcc(_0x1e7066,_0x517e58){const _0x171dbb=a33_0x171d();return a33_0x1dcc=function(_0x1dcc97,_0x483087){_0x1dcc97=_0x1dcc97-0x178;let _0x15726b=_0x171dbb[_0x1dcc97];return _0x15726b;},a33_0x1dcc(_0x1e7066,_0x517e58);}function a33_0x171d(){const _0x32819e=['QfywH','cQqLa','zDaQz','addEventListener','280196zmhycu','XsthW','eVqVQ','oOhWe','CObov','send','YFIYx','XzqFW','TIGYp','422928wLfKfE','45793YTEtrI','HySKA','ngujQ','agNpP','SjYGR','QEUVQ','requestId','data','tepnD','Socket\x20closed','version','KFVCs','76165Cqplwn','Not\x20a\x20valid\x20json\x20event;\x20data\x20=>\x20','WS_OPENED_BEFORE','ACWki','./instrumentationUtils','stringify','2292xNSext','GzECl','lGONk','aUAdc','vlPud','type','Cquws','LOG','sLIcq','gridProfileId','LKIxD','logType','NyvjE','DYvZS','Message\x20received\x20from\x20server!\x20=>\x20','info','addListeners','WVERX','448070KHvAXt','moZnF','ezszQ','170055cZXeIr','Socket\x20open','Hvdna','gVgtt','true','PqBzW','YBCGd','close','jGeZX','pZkwW','JTDYb','cfAzz','toUTCString','env','wbmXe','spfiH','rZGzX','pUfEY','27KyGnnA','aXror','SSlCP','ATkgE','KYmDX','3XByZLC',']:\x20','Socket\x20error:\x20','NeJWb','gridProfile','CtLjS','path','BBMIo','delay','iJMdF','guiph','WS_CLOSED_BEFORE','../config/constants','MBjtv','Socket\x20reconnected','TOsGN','gridName','dRean','NHIzP','sendEventToBackend','ZERih','error','KHBOT','kBYBq','message','556730dReYtL','lYQbW','zVrWu','36bIxNVJ','Grdkn','36PWdpwL','debug','mzqHw','HxQlC'];a33_0x171d=function(){return _0x32819e;};return a33_0x171d();}exports[a33_0x2dfa3c(0x1a0)]=_0x132564=>{const _0x416081=a33_0x2dfa3c,_0x57c9b0={'pZkwW':function(_0x24625d,_0x2eec56){return _0x24625d===_0x2eec56;},'NHIzP':_0x416081(0x1a9),'zDaQz':'Socket\x20reconnected','zVrWu':_0x416081(0x1a6),'aUAdc':function(_0x1a5e2e,_0x3184d1){return _0x1a5e2e===_0x3184d1;},'WOwrQ':_0x416081(0x182),'KHBOT':_0x416081(0x1ad),'HcYoN':function(_0x28a46c,_0xc000bd){return _0x28a46c===_0xc000bd;},'lGONk':_0x416081(0x181),'OAHrV':_0x416081(0x1aa),'eVqVQ':function(_0x4c3605,_0x313abf){return _0x4c3605===_0x313abf;},'CObov':_0x416081(0x17b),'Cquws':'KbkMt','cQqLa':function(_0x9887b4,_0x213d4b){return _0x9887b4===_0x213d4b;},'oOhWe':_0x416081(0x187),'HxQlC':function(_0x133071,_0x26a7f9){return _0x133071!==_0x26a7f9;},'iJMdF':'sOEaD','HySKA':function(_0x597f56,_0x2755ad){return _0x597f56!==_0x2755ad;},'LKIxD':_0x416081(0x186),'NeJWb':function(_0x1c1e83,_0x59a35d){return _0x1c1e83===_0x59a35d;},'vlPud':_0x416081(0x1ba),'agXKK':'qfewX','Hvdna':function(_0x5a6c82){return _0x5a6c82();},'CtLjS':function(_0x309578){return _0x309578();},'QEUVQ':function(_0x3dcb96,_0x4d7def){return _0x3dcb96!==_0x4d7def;},'spfiH':'lQaje','GFwQA':function(_0x29a45e,_0x20f5fb){return _0x29a45e===_0x20f5fb;},'SSlCP':_0x416081(0x1a8),'yDDVV':function(_0x52b7a3,_0x31b13d){return _0x52b7a3===_0x31b13d;},'ACWki':_0x416081(0x191),'guiph':'open','dRean':_0x416081(0x1d4),'ezszQ':_0x416081(0x1d1),'NyvjE':_0x416081(0x1ac)};_0x132564[_0x416081(0x1e1)](_0x57c9b0[_0x416081(0x1c6)],()=>{const _0x40ce00=_0x416081,_0x5f16fa={'MBjtv':function(_0x29ca8f,_0x355e0e){const _0x20a022=a33_0x1dcc;return _0x57c9b0[_0x20a022(0x1ae)](_0x29ca8f,_0x355e0e);},'KYmDX':_0x57c9b0[_0x40ce00(0x1ce)],'TIGYp':_0x57c9b0[_0x40ce00(0x1e0)],'FUicX':_0x57c9b0['zVrWu']};_0x57c9b0[_0x40ce00(0x193)](_0x57c9b0['WOwrQ'],_0x57c9b0[_0x40ce00(0x1d2)])?_0x1ed962[_0x40ce00(0x1d1)](_0x40ce00(0x18b)+_0x4d54fd[_0x40ce00(0x185)]):_0x57c9b0['HcYoN'](process['env'][_0x40ce00(0x1c7)],_0x57c9b0['NHIzP'])?_0x57c9b0['aUAdc'](_0x57c9b0[_0x40ce00(0x192)],_0x57c9b0['OAHrV'])?_0x2df743[_0x40ce00(0x199)]=_0x2e959f[_0x40ce00(0x199)]:logger[_0x40ce00(0x1db)](_0x57c9b0[_0x40ce00(0x1e0)]):_0x57c9b0[_0x40ce00(0x1e4)](_0x57c9b0[_0x40ce00(0x178)],_0x57c9b0[_0x40ce00(0x196)])?_0x5f16fa[_0x40ce00(0x1c9)](_0x2b0cf1[_0x40ce00(0x1b2)][_0x40ce00(0x1c7)],_0x5f16fa[_0x40ce00(0x1bb)])?_0x5a69b1[_0x40ce00(0x1db)](_0x5f16fa[_0x40ce00(0x17c)]):(_0x2e306b[_0x40ce00(0x1db)](_0x5f16fa['FUicX']),_0x18fe9a['env'][_0x40ce00(0x18c)]=!![]):(logger[_0x40ce00(0x1db)](_0x57c9b0['zVrWu']),process[_0x40ce00(0x1b2)]['WS_OPENED_BEFORE']=!![]);}),_0x132564[_0x416081(0x1e1)](_0x57c9b0[_0x416081(0x1cd)],async function(_0x496507){const _0x510112=_0x416081,_0x59ba1a={'aXror':function(_0x4bb515,_0x6fc6d5){const _0x215b0a=a33_0x1dcc;return _0x57c9b0[_0x215b0a(0x1df)](_0x4bb515,_0x6fc6d5);},'TOsGN':_0x57c9b0[_0x510112(0x1ce)],'BBMIo':_0x57c9b0['oOhWe']};if(_0x57c9b0[_0x510112(0x1dd)](_0x57c9b0['iJMdF'],_0x57c9b0[_0x510112(0x1c5)]))_0x59ba1a[_0x510112(0x1b8)](_0x369d29[_0x510112(0x1b2)]['WS_OPENED_BEFORE'],_0x59ba1a[_0x510112(0x1cb)])&&(_0x214745[_0x510112(0x1b2)][_0x510112(0x1c7)]=_0x59ba1a[_0x510112(0x1cb)]),_0x2d953f[_0x510112(0x1db)](_0x59ba1a[_0x510112(0x1c3)]);else{logger['debug'](_0x510112(0x19e)+_0x496507['data']);let _0x49cd18,_0x1c1ba0;try{_0x57c9b0[_0x510112(0x17f)](_0x57c9b0['LKIxD'],_0x57c9b0[_0x510112(0x19a)])?_0x33aeb7[_0x510112(0x1cc)]=_0x322462[_0x510112(0x1cc)]:(_0x1c1ba0=JSON['parse'](_0x496507[_0x510112(0x185)]),_0x49cd18=_0x1c1ba0[_0x510112(0x195)]);}catch(_0x82825){_0x57c9b0[_0x510112(0x1bf)](_0x57c9b0[_0x510112(0x194)],_0x57c9b0['agXKK'])?(_0xe359bc=_0x4a6702['parse'](_0x4042c6['data']),_0x29c4ea=_0x3a98ff[_0x510112(0x195)]):logger[_0x510112(0x1d1)](_0x510112(0x18b)+_0x496507[_0x510112(0x185)]);}}}),_0x132564[_0x416081(0x1e1)](_0x57c9b0[_0x416081(0x1a4)],function(_0x3a169){const _0x1732ee=_0x416081;if(_0x57c9b0[_0x1732ee(0x183)](_0x57c9b0[_0x1732ee(0x1b4)],_0x57c9b0[_0x1732ee(0x1b4)])){let _0x33797b=_0x57c9b0[_0x1732ee(0x1a7)](_0xa03da1);const _0x54ba33={'requestId':_0x445307[_0x1732ee(0x184)],'username':_0x4d038e['bstackUsername'],'cli_version':_0x33797b['version'],'cli_path':_0x33797b[_0x1732ee(0x1c2)],'os':_0x57c9b0[_0x1732ee(0x1a7)](_0x220ecd),'os_version':_0x57c9b0[_0x1732ee(0x1a7)](_0x16645f),'npm_version':_0x57c9b0['CtLjS'](_0x706bf6),'ci_environment':_0x57c9b0[_0x1732ee(0x1c1)](_0x47da1c)};return _0x278fb6[_0x1732ee(0x199)]&&(_0x54ba33[_0x1732ee(0x199)]=_0x202253[_0x1732ee(0x199)]),_0x5d71a8['gridProfile']&&(_0x54ba33['gridProfile']=_0x50c97b['gridProfile']),_0x12880f[_0x1732ee(0x1cc)]&&(_0x54ba33[_0x1732ee(0x1cc)]=_0x261f1f[_0x1732ee(0x1cc)]),_0x54ba33;}else logger[_0x1732ee(0x1db)](_0x1732ee(0x1be)+_0x3a169);}),_0x132564['addEventListener'](_0x57c9b0[_0x416081(0x19c)],function(){const _0x29f505=_0x416081,_0x4a8214={};_0x4a8214[_0x29f505(0x180)]=_0x57c9b0[_0x29f505(0x1d7)];const _0x22b07a=_0x4a8214;_0x57c9b0['GFwQA'](_0x57c9b0[_0x29f505(0x1b9)],_0x57c9b0['SSlCP'])?(_0x57c9b0['yDDVV'](process['env'][_0x29f505(0x18c)],_0x57c9b0[_0x29f505(0x1ce)])&&(_0x57c9b0['HySKA'](_0x57c9b0[_0x29f505(0x18d)],_0x57c9b0['ACWki'])?_0x1777c5='['+new _0x4bd030()[_0x29f505(0x1b1)]()+_0x29f505(0x1bd)+_0x5b5160[_0x29f505(0x1d4)]:process[_0x29f505(0x1b2)][_0x29f505(0x1c7)]=_0x57c9b0[_0x29f505(0x1ce)]),logger[_0x29f505(0x1db)](_0x57c9b0[_0x29f505(0x1e5)])):(_0x2e3ad2[_0x29f505(0x1db)](_0x22b07a[_0x29f505(0x180)]),_0x2df5c0[_0x29f505(0x1b2)][_0x29f505(0x18c)]=!![]);});};const getLogMetaData=()=>{const _0x12b10c=a33_0x2dfa3c,_0x26f916={'DYvZS':'true','YFIYx':function(_0x1afa56){return _0x1afa56();},'QfywH':function(_0x5be9e3){return _0x5be9e3();},'pUfEY':function(_0xaed2da){return _0xaed2da();},'XsthW':function(_0x51670d,_0x12ddf1){return _0x51670d===_0x12ddf1;},'ZtJGl':_0x12b10c(0x1b5),'BWiyo':function(_0x45ff5b,_0x1a45ca){return _0x45ff5b!==_0x1a45ca;},'lqccl':_0x12b10c(0x1a3),'YBCGd':_0x12b10c(0x1d0),'ODPgB':function(_0x378d66,_0x1f34c3){return _0x378d66!==_0x1f34c3;},'cfAzz':_0x12b10c(0x1d6)};let _0x6e87bb=_0x26f916[_0x12b10c(0x17a)](cli_version_and_path);const _0x43cc1a={'requestId':global_registry[_0x12b10c(0x184)],'username':global_registry['bstackUsername'],'cli_version':_0x6e87bb[_0x12b10c(0x188)],'cli_path':_0x6e87bb[_0x12b10c(0x1c2)],'os':_0x26f916['YFIYx'](_os),'os_version':_0x26f916['QfywH'](os_version),'npm_version':_0x26f916[_0x12b10c(0x1de)](npm_version),'ci_environment':_0x26f916[_0x12b10c(0x1b6)](ci_environment)};if(global_registry[_0x12b10c(0x199)]){if(_0x26f916[_0x12b10c(0x1e3)](_0x26f916['ZtJGl'],_0x26f916['ZtJGl']))_0x43cc1a['gridProfileId']=global_registry[_0x12b10c(0x199)];else{_0x15929f[_0x12b10c(0x1db)]('Message\x20received\x20from\x20server!\x20=>\x20'+_0x2b7cec[_0x12b10c(0x185)]);let _0x74399f,_0x1a1016;try{_0x1a1016=_0xdfefba['parse'](_0x45a6ee[_0x12b10c(0x185)]),_0x74399f=_0x1a1016[_0x12b10c(0x195)];}catch(_0x281758){_0x394696['error']('Not\x20a\x20valid\x20json\x20event;\x20data\x20=>\x20'+_0x2961ea[_0x12b10c(0x185)]);}}}return global_registry[_0x12b10c(0x1c0)]&&(_0x26f916['BWiyo'](_0x26f916['lqccl'],_0x26f916[_0x12b10c(0x1ab)])?_0x43cc1a[_0x12b10c(0x1c0)]=global_registry[_0x12b10c(0x1c0)]:_0x289b59['env']['WS_CLOSED_BEFORE']=_0x26f916[_0x12b10c(0x19d)]),global_registry[_0x12b10c(0x1cc)]&&(_0x26f916['ODPgB'](_0x26f916[_0x12b10c(0x1b0)],_0x26f916[_0x12b10c(0x1b0)])?_0x1a0b72[_0x12b10c(0x1db)]('Socket\x20error:\x20'+_0x11f7f3):_0x43cc1a[_0x12b10c(0x1cc)]=global_registry[_0x12b10c(0x1cc)]),_0x43cc1a;};exports[a33_0x2dfa3c(0x1c4)]=_0x470c57=>new Promise((_0x493775,_0x32f438)=>setTimeout(_0x493775,_0x470c57)),exports[a33_0x2dfa3c(0x1cf)]=async(_0x21b93d,_0x1ea12b,_0x3831d6=a33_0x2dfa3c(0x19f),_0x3c073f=![])=>{const _0x5c8c90=a33_0x2dfa3c,_0x5d281b={'wbmXe':_0x5c8c90(0x1ca),'EnwQc':function(_0x112368,_0xa5b18c){return _0x112368===_0xa5b18c;},'bHAwW':function(_0x50de4f,_0x27f2bf){return _0x50de4f!==_0x27f2bf;},'zgVdl':_0x5c8c90(0x1a1),'sLIcq':_0x5c8c90(0x1d3),'JTDYb':function(_0x307e53){return _0x307e53();},'mlmfx':_0x5c8c90(0x189),'mzqHw':_0x5c8c90(0x1d9)};let _0x4d0a94=_0x1ea12b[_0x5c8c90(0x1d4)];_0x5d281b['EnwQc'](_0x1ea12b[_0x5c8c90(0x195)],WS_EVENTS[_0x5c8c90(0x197)])&&(_0x5d281b['bHAwW'](_0x5d281b['zgVdl'],_0x5d281b[_0x5c8c90(0x198)])?_0x4d0a94='['+new Date()[_0x5c8c90(0x1b1)]()+']:\x20'+_0x1ea12b['message']:_0x441b7c[_0x5c8c90(0x1c0)]=_0x9456c0[_0x5c8c90(0x1c0)]);const _0x2ae1a1={};_0x2ae1a1[_0x5c8c90(0x1d4)]=_0x4d0a94,_0x2ae1a1[_0x5c8c90(0x19b)]=_0x3831d6;const _0x3fa73c={'type':_0x1ea12b['type'],..._0x5d281b[_0x5c8c90(0x1af)](getLogMetaData),'data':_0x2ae1a1};_0x21b93d[_0x5c8c90(0x179)](JSON[_0x5c8c90(0x18f)](_0x3fa73c)),_0x3c073f&&(_0x5d281b['bHAwW'](_0x5d281b['mlmfx'],_0x5d281b[_0x5c8c90(0x1dc)])?await this['delay'](0x1f4):_0x26e7a8[_0x5c8c90(0x1db)](_0x5d281b[_0x5c8c90(0x1b3)]));};
1
+ const a33_0x1dccf5=a33_0x4ca5;(function(_0x8eec1b,_0x2c8ada){const _0x269756=a33_0x4ca5,_0x2ed049=_0x8eec1b();while(!![]){try{const _0x483be5=parseInt(_0x269756(0x1b1))/0x1*(-parseInt(_0x269756(0x1aa))/0x2)+-parseInt(_0x269756(0x204))/0x3+-parseInt(_0x269756(0x1fd))/0x4*(-parseInt(_0x269756(0x1cd))/0x5)+-parseInt(_0x269756(0x1e6))/0x6+-parseInt(_0x269756(0x1bf))/0x7*(parseInt(_0x269756(0x1dd))/0x8)+-parseInt(_0x269756(0x1d4))/0x9+parseInt(_0x269756(0x1e9))/0xa;if(_0x483be5===_0x2c8ada)break;else _0x2ed049['push'](_0x2ed049['shift']());}catch(_0x407ba7){_0x2ed049['push'](_0x2ed049['shift']());}}}(a33_0x1472,0x4bd78));function a33_0x1472(){const _0x2f8711=['yzYDE','data','logType','14nGOwSY','delay','qjEvA','WPgpg','kbeZn','KcRCV','gridProfile','24365txBIvK','path','VWPDA','Message\x20received\x20from\x20server!\x20=>\x20','PZzrH','true','version','WiDKv','ShBiY','ZzBWz','Socket\x20error:\x20','NtEAk','sSHJF','ZCMcy','15540CmtRHZ','Socket\x20closed','waQOf','env','bFpuI','Socket\x20open','YJoyY','gMSwC','parse','EeFij','gridProfileId','Vypav','error','XXFVf','1248190nCwPZw','uccaP','close','unVQK','kMDEF','DveHX','addListeners','3391272JGDrgZ','Tzibf','zqPYQ','../config/logger','wrtqH','tquYI','Socket\x20reconnected','hNTkS','LOG','488KhHsjT','zApER','nvYMb','qWbKR','gANQJ','PubMd','bstackUsername','WS_CLOSED_BEFORE','DLExJ','1328358fTDYEi','CAwNo','toUTCString','12349820CgrWBA','type',']:\x20','alTRQ','message','cbCTc','txhNe','uWKAy','CqHuB','WS_OPENED_BEFORE','addEventListener','nBRzO','BKFFY','zGMGd','gridName','info','xgEwI','Not\x20a\x20valid\x20json\x20event;\x20data\x20=>\x20','../config/constants','./instrumentationUtils','8ShyKJg','requestId','MEtgn','BrNvM','xEYGm','debug','GFhMj','1558302XWhBPy','gKRsU','gUool','hHPJS','yaynW','send','MOTPA','JJVRp'];a33_0x1472=function(){return _0x2f8711;};return a33_0x1472();}const {global_registry,WS_EVENTS}=require(a33_0x1dccf5(0x1fb)),{logger}=require(a33_0x1dccf5(0x1d7)),{npm_version,_os,os_version,cli_version_and_path,ci_environment}=require(a33_0x1dccf5(0x1fc));function a33_0x4ca5(_0x79a15e,_0x55e073){const _0x1472a1=a33_0x1472();return a33_0x4ca5=function(_0x4ca5d3,_0xdc3ab8){_0x4ca5d3=_0x4ca5d3-0x1a7;let _0x863825=_0x1472a1[_0x4ca5d3];return _0x863825;},a33_0x4ca5(_0x79a15e,_0x55e073);}exports[a33_0x1dccf5(0x1d3)]=_0x2186ba=>{const _0x22478f=a33_0x1dccf5,_0x2531c5={'GFhMj':function(_0x5d510b){return _0x5d510b();},'KcRCV':function(_0x2d23bb){return _0x2d23bb();},'MEtgn':function(_0x566c87){return _0x566c87();},'JJVRp':_0x22478f(0x1c4),'zApER':function(_0x247166,_0x1d9520){return _0x247166===_0x1d9520;},'qWbKR':'Jdmbp','DLExJ':_0x22478f(0x1b6),'gANQJ':function(_0x195e8b,_0x4b6aae){return _0x195e8b!==_0x4b6aae;},'dcHEt':'lQgUW','Tzibf':_0x22478f(0x1b9),'edsBU':_0x22478f(0x1da),'BKFFY':_0x22478f(0x1b8),'wrtqH':function(_0x2419c0,_0x4a9a1b){return _0x2419c0!==_0x4a9a1b;},'PjfXZ':'Qlukn','ZCMcy':_0x22478f(0x1ae),'qjEvA':_0x22478f(0x1ca),'CAwNo':function(_0x2da479,_0x4ad244){return _0x2da479===_0x4ad244;},'bFpuI':'cdWZX','cbCTc':_0x22478f(0x1db),'hHPJS':'GtjKV','nBRzO':function(_0x584872,_0x84dd84){return _0x584872===_0x84dd84;},'sSHJF':_0x22478f(0x1c0),'kMDEF':function(_0x30325c,_0x266eab){return _0x30325c===_0x266eab;},'zGMGd':_0x22478f(0x1b5),'waQOf':_0x22478f(0x1df),'GVnZX':_0x22478f(0x1d6),'NtEAk':_0x22478f(0x1ba),'PkUnp':'open','xEYGm':'message','uccaP':_0x22478f(0x1cb),'txhNe':_0x22478f(0x1cf)};_0x2186ba[_0x22478f(0x1f3)](_0x2531c5['PkUnp'],()=>{const _0x4a9066=_0x22478f,_0x55bfb8={};_0x55bfb8['unVQK']=_0x2531c5[_0x4a9066(0x20b)];const _0x3c8c7=_0x55bfb8;if(_0x2531c5[_0x4a9066(0x1de)](_0x2531c5[_0x4a9066(0x1e0)],_0x2531c5['qWbKR']))_0x2531c5[_0x4a9066(0x1de)](process[_0x4a9066(0x1c2)][_0x4a9066(0x1e4)],_0x2531c5[_0x4a9066(0x1e5)])?_0x2531c5[_0x4a9066(0x1e1)](_0x2531c5['dcHEt'],_0x2531c5[_0x4a9066(0x1d5)])?logger[_0x4a9066(0x202)](_0x2531c5['edsBU']):(_0x1ab29d=_0x44b6d5[_0x4a9066(0x1c7)](_0x444b63[_0x4a9066(0x1a8)]),_0xc31aa1=_0x5a51ea['type']):_0x2531c5[_0x4a9066(0x1de)](_0x2531c5[_0x4a9066(0x1f5)],_0x2531c5[_0x4a9066(0x1f5)])?(logger[_0x4a9066(0x202)](_0x2531c5['JJVRp']),process[_0x4a9066(0x1c2)][_0x4a9066(0x1f2)]=!![]):(_0x3ff8b6['debug'](_0x3c8c7[_0x4a9066(0x1d0)]),_0xed0a44[_0x4a9066(0x1c2)][_0x4a9066(0x1f2)]=!![]);else{let _0x39bd00=_0x2531c5[_0x4a9066(0x203)](_0x5319db);const _0x4a6cfb={'requestId':_0x31d8b7[_0x4a9066(0x1fe)],'username':_0x1e9557[_0x4a9066(0x1e3)],'cli_version':_0x39bd00[_0x4a9066(0x1b7)],'cli_path':_0x39bd00['path'],'os':_0x2531c5[_0x4a9066(0x1af)](_0x162b7f),'os_version':_0x2531c5[_0x4a9066(0x1af)](_0x23d546),'npm_version':_0x2531c5[_0x4a9066(0x1ff)](_0x46bc69),'ci_environment':_0x2531c5['KcRCV'](_0x168ef7)};return _0x54c9bc[_0x4a9066(0x1c9)]&&(_0x4a6cfb['gridProfileId']=_0xe14b45[_0x4a9066(0x1c9)]),_0x505bb4[_0x4a9066(0x1b0)]&&(_0x4a6cfb['gridProfile']=_0x3ebd9f['gridProfile']),_0x1a6deb[_0x4a9066(0x1f7)]&&(_0x4a6cfb[_0x4a9066(0x1f7)]=_0x1af22f['gridName']),_0x4a6cfb;}}),_0x2186ba['addEventListener'](_0x2531c5[_0x22478f(0x201)],async function(_0x53d879){const _0x4fb2ae=_0x22478f;if(_0x2531c5[_0x4fb2ae(0x1d8)](_0x2531c5['PjfXZ'],_0x2531c5[_0x4fb2ae(0x1be)])){logger[_0x4fb2ae(0x202)](_0x4fb2ae(0x1b4)+_0x53d879['data']);let _0x2c2150,_0x25deb5;try{_0x2531c5[_0x4fb2ae(0x1e1)](_0x2531c5['qjEvA'],_0x2531c5[_0x4fb2ae(0x1ac)])?_0x3a3f22='['+new _0x29412a()[_0x4fb2ae(0x1e8)]()+_0x4fb2ae(0x1eb)+_0x56c01a['message']:(_0x25deb5=JSON[_0x4fb2ae(0x1c7)](_0x53d879['data']),_0x2c2150=_0x25deb5[_0x4fb2ae(0x1ea)]);}catch(_0x4e934d){_0x2531c5[_0x4fb2ae(0x1e7)](_0x2531c5[_0x4fb2ae(0x1c3)],_0x2531c5[_0x4fb2ae(0x1c3)])?logger[_0x4fb2ae(0x1cb)](_0x4fb2ae(0x1fa)+_0x53d879[_0x4fb2ae(0x1a8)]):_0x27fb34[_0x4fb2ae(0x1b0)]=_0x249712[_0x4fb2ae(0x1b0)];}}else _0x369a60[_0x4fb2ae(0x1c9)]=_0x28643b[_0x4fb2ae(0x1c9)];}),_0x2186ba['addEventListener'](_0x2531c5[_0x22478f(0x1ce)],function(_0x5263e3){const _0x31e358=_0x22478f;_0x2531c5[_0x31e358(0x1e1)](_0x2531c5[_0x31e358(0x1ee)],_0x2531c5[_0x31e358(0x207)])?logger[_0x31e358(0x202)](_0x31e358(0x1bb)+_0x5263e3):_0x57ccfe[_0x31e358(0x202)](_0x31e358(0x1bb)+_0x4bc0aa);}),_0x2186ba['addEventListener'](_0x2531c5[_0x22478f(0x1ef)],function(){const _0x55d7bf=_0x22478f;_0x2531c5[_0x55d7bf(0x1d1)](_0x2531c5[_0x55d7bf(0x1f6)],_0x2531c5[_0x55d7bf(0x1c1)])?_0x202380[_0x55d7bf(0x1f7)]=_0x48face[_0x55d7bf(0x1f7)]:(_0x2531c5[_0x55d7bf(0x1d1)](process[_0x55d7bf(0x1c2)][_0x55d7bf(0x1f2)],_0x2531c5[_0x55d7bf(0x1e5)])&&(_0x2531c5['gANQJ'](_0x2531c5['GVnZX'],_0x2531c5[_0x55d7bf(0x1bc)])?process['env']['WS_CLOSED_BEFORE']=_0x2531c5[_0x55d7bf(0x1e5)]:(_0x2531c5[_0x55d7bf(0x1f4)](_0x4ca4ab[_0x55d7bf(0x1c2)][_0x55d7bf(0x1f2)],_0x2531c5[_0x55d7bf(0x1e5)])&&(_0x40db36[_0x55d7bf(0x1c2)]['WS_CLOSED_BEFORE']=_0x2531c5[_0x55d7bf(0x1e5)]),_0xec97df[_0x55d7bf(0x202)](_0x2531c5[_0x55d7bf(0x1bd)]))),logger[_0x55d7bf(0x202)](_0x2531c5[_0x55d7bf(0x1bd)]));});};const getLogMetaData=()=>{const _0x497a92=a33_0x1dccf5,_0x43772a={'MOTPA':_0x497a92(0x1b6),'PubMd':_0x497a92(0x1da),'yzYDE':function(_0x84884a,_0x45dd0f){return _0x84884a===_0x45dd0f;},'tquYI':_0x497a92(0x1c4),'gMSwC':function(_0x5d2fc1){return _0x5d2fc1();},'gKRsU':function(_0x5ccc84){return _0x5ccc84();},'xgEwI':function(_0x11043d,_0x4666f9){return _0x11043d===_0x4666f9;},'BrNvM':_0x497a92(0x1b3),'uWKAy':_0x497a92(0x1ad),'gUool':_0x497a92(0x208)};let _0x2eeea5=_0x43772a[_0x497a92(0x1c6)](cli_version_and_path);const _0x1a93aa={'requestId':global_registry[_0x497a92(0x1fe)],'username':global_registry[_0x497a92(0x1e3)],'cli_version':_0x2eeea5[_0x497a92(0x1b7)],'cli_path':_0x2eeea5[_0x497a92(0x1b2)],'os':_0x43772a['gKRsU'](_os),'os_version':_0x43772a['gKRsU'](os_version),'npm_version':_0x43772a[_0x497a92(0x205)](npm_version),'ci_environment':_0x43772a[_0x497a92(0x1c6)](ci_environment)};return global_registry[_0x497a92(0x1c9)]&&(_0x43772a[_0x497a92(0x1f9)](_0x43772a[_0x497a92(0x200)],_0x43772a[_0x497a92(0x200)])?_0x1a93aa[_0x497a92(0x1c9)]=global_registry['gridProfileId']:_0x5b0dec['env'][_0x497a92(0x1e4)]=_0x43772a[_0x497a92(0x20a)]),global_registry[_0x497a92(0x1b0)]&&(_0x43772a[_0x497a92(0x1a7)](_0x43772a[_0x497a92(0x1f0)],_0x43772a[_0x497a92(0x1f0)])?_0x1a93aa['gridProfile']=global_registry['gridProfile']:_0x345313['debug'](_0x43772a['PubMd'])),global_registry[_0x497a92(0x1f7)]&&(_0x43772a[_0x497a92(0x1f9)](_0x43772a[_0x497a92(0x206)],_0x43772a['gUool'])?_0x1a93aa['gridName']=global_registry[_0x497a92(0x1f7)]:_0x43772a[_0x497a92(0x1a7)](_0x45736c[_0x497a92(0x1c2)][_0x497a92(0x1e4)],_0x43772a['MOTPA'])?_0x416ad9[_0x497a92(0x202)](_0x43772a[_0x497a92(0x1e2)]):(_0xd550e1[_0x497a92(0x202)](_0x43772a[_0x497a92(0x1d9)]),_0x5d2fea[_0x497a92(0x1c2)][_0x497a92(0x1f2)]=!![])),_0x1a93aa;};exports[a33_0x1dccf5(0x1ab)]=_0x373a1f=>new Promise((_0x572668,_0x2a87a8)=>setTimeout(_0x572668,_0x373a1f)),exports['sendEventToBackend']=async(_0xf8c242,_0x3a0c15,_0x4ed01c=a33_0x1dccf5(0x1f8),_0x2cb0f2=![])=>{const _0x4d720e=a33_0x1dccf5,_0x58bb85={'DveHX':function(_0x51f2ca,_0x97052d){return _0x51f2ca===_0x97052d;},'YJoyY':function(_0x298c70,_0x3aec80){return _0x298c70!==_0x3aec80;},'EeFij':'TqCyR','RxcOx':_0x4d720e(0x1cc),'GzTxh':function(_0x121f20){return _0x121f20();},'alTRQ':_0x4d720e(0x1f1)};let _0x31ac69=_0x3a0c15['message'];_0x58bb85[_0x4d720e(0x1d2)](_0x3a0c15['type'],WS_EVENTS[_0x4d720e(0x1dc)])&&(_0x58bb85[_0x4d720e(0x1c5)](_0x58bb85[_0x4d720e(0x1c8)],_0x58bb85['RxcOx'])?_0x31ac69='['+new Date()[_0x4d720e(0x1e8)]()+']:\x20'+_0x3a0c15['message']:_0x213599[_0x4d720e(0x1cb)](_0x4d720e(0x1fa)+_0x430cbd['data']));const _0x180618={};_0x180618[_0x4d720e(0x1ed)]=_0x31ac69,_0x180618[_0x4d720e(0x1a9)]=_0x4ed01c;const _0x2cf04e={'type':_0x3a0c15[_0x4d720e(0x1ea)],..._0x58bb85['GzTxh'](getLogMetaData),'data':_0x180618};_0xf8c242[_0x4d720e(0x209)](JSON['stringify'](_0x2cf04e));if(_0x2cb0f2){if(_0x58bb85[_0x4d720e(0x1d2)](_0x58bb85[_0x4d720e(0x1ec)],_0x58bb85[_0x4d720e(0x1ec)]))await this['delay'](0x1f4);else{_0x5a28f9[_0x4d720e(0x202)](_0x4d720e(0x1b4)+_0x2870c6[_0x4d720e(0x1a8)]);let _0x49d805,_0x4932f0;try{_0x4932f0=_0x1e3eb2[_0x4d720e(0x1c7)](_0x2598e4['data']),_0x49d805=_0x4932f0[_0x4d720e(0x1ea)];}catch(_0x2829b0){_0x430776['error'](_0x4d720e(0x1fa)+_0x5491d1[_0x4d720e(0x1a8)]);}}}};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "browserstack-node-sdk",
3
- "version": "1.33.4",
3
+ "version": "1.33.5",
4
4
  "private": false,
5
5
  "description": "Node SDK for browserstack selenium-webdriver tests",
6
6
  "main": "./src/index.js",
@@ -1 +1 @@
1
- const a0_0x7fc986=a0_0x3f83;function a0_0x5e61(){const _0x3eba42=['exports','passed','4175745lVonwv','fxoZP','after','Performing\x20scan\x20for\x20','TEST_RUN_SKIPPED','CPnoV','start','RSzrB','894WdeGjD','helpers','stopMonitoring','class','comment','TEST_SCREENSHOT','../../helpers/accessibility-automation/scripts','contexts','24468qRIdyo','saveTestResults','toISOString','./o11yHelper','getResultsSummary','fireEvent','NNinq','TestCafe','winstonLogger','failed','__skipSessionStatus','status','../../helpers/request-spy','bddStepFinish','DCDCt','codeceptjs/lib/index.js','forEach','Dmqqh','Emqzt','add','call','./helper.js','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','HOOK_RUN_FINISHED','cPskr','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','LLSba','TEST_RUN_FINISHED','BhPMM','executeScript','bddStep','XxAps','EHBxa','Sndrn','readFileSync','Playwright','ctx','nUmGm','bs:addLog:','mHAHj','ZmHfQ','6511312zOGBzT','initSaveScreenshot','JqZiX','../../helpers/accessibility-automation/helper','getAccessibilityResults','reason','pid','accessibilityPlatform','test','TvnJv','ENV_VAR','pvnnM','../../helpers/helper','pivOE','captureEvent','codeceptjs/lib/recorder.js','235TnZMgz','constructor','BS_TESTOPS_ALLOW_SCREENSHOTS','skipSessionName','cylKS','iYAKr','prototype','performScan','stop','dispatcher','HOOK_RUN_STARTED','slice','step','wSERl','saveScreenshot','BROWSERSTACK_TESTHUB_JWT','catch','12024UdXJEV','commandsToWrap','codeceptjs/lib/helper/WebDriver.js','Puppeteer','debug','OcvUM','enabled','startMonitoring','apply','QBftR','patchSaveScreenshot','screenshotOutputFolder','name','arguments','JpNrw','container','TEST_RUN_STARTED','event','bddStepStart','patch','emit','xPKNm','jKKPe','INFO','getResults','../../helpers/testhub/constants.js','nGTVV','eBXwg','testAnalyticsId','105940gATFEa','titlePath','UcBIN','restore','setSessionStatus','toString','jkVoF','oPhlG','env','../../bin/playwright/sessionDetails','__driver','mbGua','../../helpers/logger','browserStackExecuteDriver','jJYZV','getSyncScript','UXBcA','bstackAllyScanning','captureError','title','setSessionName','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','SAkPs','MjcBE','info','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','XMAPc','_before','SDybp','rUfnC','then','252114jiLCma','thTestRunUuid','Element','before','currentTest','shouldWrapCommand','browserContext','zWNNF','action','BROWSERSTACK_TESTHUB_UUID','find','addRequestSpy','ogqZe','base64','../../helpers/test-observability/utils','warn','browser','../../bin/playwright/accessibility-helper','hook','all','stringify','bind','23624613ZCWKUS'];a0_0x5e61=function(){return _0x3eba42;};return a0_0x5e61();}(function(_0x2b18eb,_0x32fb73){const _0xf3f461=a0_0x3f83,_0x1692a8=_0x2b18eb();while(!![]){try{const _0x5b02dc=parseInt(_0xf3f461(0x16c))/0x1+-parseInt(_0xf3f461(0x18b))/0x2+-parseInt(_0xf3f461(0x1ac))/0x3*(parseInt(_0xf3f461(0x14f))/0x4)+-parseInt(_0xf3f461(0x13e))/0x5*(-parseInt(_0xf3f461(0x105))/0x6)+-parseInt(_0xf3f461(0x1a4))/0x7+-parseInt(_0xf3f461(0x12e))/0x8+parseInt(_0xf3f461(0x1a1))/0x9;if(_0x5b02dc===_0x32fb73)break;else _0x1692a8['push'](_0x1692a8['shift']());}catch(_0x465515){_0x1692a8['push'](_0x1692a8['shift']());}}}(a0_0x5e61,0x77b1d));const fs=require('fs'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a0_0x7fc986(0x13a)),logger=require(a0_0x7fc986(0x178))[a0_0x7fc986(0x10d)],testOpsHelper=require(a0_0x7fc986(0x199)),requestSpy=require(a0_0x7fc986(0x111)),PlaywrightSessionDetails=require(a0_0x7fc986(0x175)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a0_0x7fc986(0x108)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a0_0x7fc986(0x131)),AccessibilityHelper=require(a0_0x7fc986(0x19c)),scripts=require(a0_0x7fc986(0x103)),PerformanceTester=require('../../helpers/performance-tester'),{fetchPlatformDetails,processWebDriverConfig,shouldPatchExecuteScript}=require(a0_0x7fc986(0x11a)),testHubConstants=require(a0_0x7fc986(0x168)),CodeceptJS=requireModule(a0_0x7fc986(0x114)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js'),CodeceptWebDriver=requireModule(a0_0x7fc986(0x151)),CodeceptRecorder=requireModule(a0_0x7fc986(0x13d)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js'),playwrightMarkSessionStatus=(_0x229ac6,_0x11a6dd,_0x31dbaa)=>{const _0x8421be=a0_0x7fc986,_0x538b05={'nUmGm':_0x8421be(0x170),'SDybp':function(_0x5ace6e,_0x4f56fd){return _0x5ace6e(_0x4f56fd);}},_0x2e50ef={};_0x2e50ef[_0x8421be(0x110)]=_0x11a6dd;const _0x34d933={};_0x34d933[_0x8421be(0x193)]=_0x538b05[_0x8421be(0x12a)],_0x34d933['arguments']=_0x2e50ef;const _0x19e73=_0x34d933;return!_0x538b05[_0x8421be(0x188)](isUndefined,_0x31dbaa)&&(_0x19e73[_0x8421be(0x15c)][_0x8421be(0x133)]=JSON['stringify'](_0x31dbaa)),_0x229ac6[_0x8421be(0x122)](()=>{},'browserstack_executor:\x20'+JSON[_0x8421be(0x19f)](_0x19e73));},o11ySync=async _0x54e6b9=>{const _0xe67112=a0_0x7fc986,_0x24a19f={};_0x24a19f[_0xe67112(0x13b)]=function(_0x3c51ea,_0x20969a){return _0x3c51ea===_0x20969a;},_0x24a19f['UcBIN']='Playwright';const _0x59356e=_0x24a19f;_0x59356e[_0xe67112(0x13b)](_0x54e6b9['constructor'][_0xe67112(0x15b)],_0x59356e[_0xe67112(0x16e)])?await _0x54e6b9['executeScript'](_0x4960a6=>{},testOpsHelper[_0xe67112(0x17b)]()):await _0x54e6b9[_0xe67112(0x122)](testOpsHelper[_0xe67112(0x17b)]());},markSessionName=async(_0x545d2f,_0x2b8721)=>{const _0x5a515a=a0_0x7fc986,_0x13eb0a={};_0x13eb0a[_0x5a515a(0x113)]=_0x5a515a(0x180),_0x13eb0a[_0x5a515a(0x12c)]=function(_0x1ad79f,_0x5553d7){return _0x1ad79f===_0x5553d7;},_0x13eb0a[_0x5a515a(0x165)]=_0x5a515a(0x128);const _0x512924=_0x13eb0a,_0x1e2dcc={};_0x1e2dcc[_0x5a515a(0x15b)]=_0x2b8721;const _0x3b344d={};_0x3b344d[_0x5a515a(0x193)]=_0x512924[_0x5a515a(0x113)],_0x3b344d[_0x5a515a(0x15c)]=_0x1e2dcc;const _0x542116=_0x3b344d;_0x512924[_0x5a515a(0x12c)](_0x545d2f['constructor'][_0x5a515a(0x15b)],_0x512924[_0x5a515a(0x165)])?await _0x545d2f['executeScript'](()=>{},'browserstack_executor:\x20'+JSON[_0x5a515a(0x19f)](_0x542116)):await _0x545d2f['executeScript']('browserstack_executor:\x20'+JSON[_0x5a515a(0x19f)](_0x542116));},patchSaveScreenshot=_0x2acee8=>{const _0x523ffc=a0_0x7fc986,_0x15c281={'uFOoW':_0x523ffc(0x198),'nGTVV':_0x523ffc(0x1b1),'XxAps':function(_0x2d049a){return _0x2d049a();},'SAkPs':function(_0x44460b,_0x3e91fa){return _0x44460b(_0x3e91fa);}};_0x15c281[_0x523ffc(0x182)](isTrue,process[_0x523ffc(0x174)][_0x523ffc(0x140)])&&!_0x2acee8[_0x523ffc(0x159)]&&(_0x2acee8[_0x523ffc(0x159)]=!![],_0x2acee8['initSaveScreenshot']=_0x2acee8[_0x523ffc(0x14c)],_0x2acee8['saveScreenshot']=(_0x2d9a4f,_0x26382c=![])=>{const _0x198c35=_0x523ffc,_0x12bcb9={'jkVoF':_0x15c281['uFOoW'],'oPhlG':_0x15c281[_0x198c35(0x169)],'cylKS':function(_0x153bb9){const _0x48b93e=_0x198c35;return _0x15c281[_0x48b93e(0x124)](_0x153bb9);}};return new Promise(function(_0xfd1fb8,_0x1f5844){const _0x265757=_0x198c35;_0x2acee8[_0x265757(0x12f)](_0x2d9a4f,_0x26382c)[_0x265757(0x18a)](()=>{const _0xc9e2fd=_0x265757,_0x3efeb6=CodeceptUtils[_0xc9e2fd(0x15a)](_0x2d9a4f),_0x591522=fs[_0xc9e2fd(0x127)](_0x3efeb6);process[_0xc9e2fd(0x163)](_0xc9e2fd(0x12b)+process[_0xc9e2fd(0x134)],{'timestamp':new Date()['toISOString'](),'message':_0x591522[_0xc9e2fd(0x171)](_0x12bcb9[_0xc9e2fd(0x172)]),'kind':_0x12bcb9[_0xc9e2fd(0x173)]}),_0x12bcb9[_0xc9e2fd(0x142)](_0xfd1fb8);})[_0x265757(0x14e)](()=>null);});});},patchWebDriverBefore=_0x15d2af=>{const _0xad23b3=a0_0x7fc986,_0x415f9d={'JpNrw':function(_0x4cbed4){return _0x4cbed4();},'cPskr':function(_0x3a08eb,_0x2910ba){return _0x3a08eb(_0x2910ba);},'rUfnC':function(_0x588c63,_0x2192d){return _0x588c63===_0x2192d;},'CPnoV':_0xad23b3(0x18d),'XMAPc':function(_0x4ccbe9,_0x181705){return _0x4ccbe9(_0x181705);}},_0x3f7d71=async function(_0x1cd0e3,_0x4d623a){const _0x3184db=_0xad23b3;return _0x415f9d[_0x3184db(0x15d)](isAccessibilityAutomationSession)&&!global[_0x3184db(0x17d)]&&global[_0x3184db(0x135)]&&scripts[_0x3184db(0x190)](_0x1cd0e3[_0x3184db(0x15b)])&&_0x415f9d[_0x3184db(0x11d)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],logger[_0x3184db(0x153)](_0x3184db(0x1a7)+_0x1cd0e3[_0x3184db(0x1af)]+'\x20'+_0x1cd0e3[_0x3184db(0x15b)]),await AccessibilityHelper[_0x3184db(0x179)](_0x15d2af,scripts[_0x3184db(0x145)])),global['bstackAllyScanning']=![],_0x4d623a[_0x3184db(0x157)](this,Array['prototype'][_0x3184db(0x149)][_0x3184db(0x119)](arguments,0x2));},_0x5ec7d5=CodeceptWebDriver[_0xad23b3(0x144)]['_before'];CodeceptWebDriver['prototype']['_before']=async function(){const _0x2d0023=_0xad23b3,_0x402da7={'QBftR':function(_0x3c10d7,_0x53a5c3){const _0x1be6bc=a0_0x3f83;return _0x415f9d[_0x1be6bc(0x189)](_0x3c10d7,_0x53a5c3);},'eBXwg':_0x415f9d[_0x2d0023(0x1a9)]};await _0x5ec7d5['apply'](this,arguments),scripts[_0x2d0023(0x150)]['filter'](_0x47139a=>_0x47139a[_0x2d0023(0x15b)]&&_0x47139a[_0x2d0023(0x1af)])[_0x2d0023(0x115)](_0x1256c4=>{const _0x40a0c9=_0x2d0023;this[_0x40a0c9(0x19b)]['overwriteCommand'](_0x1256c4[_0x40a0c9(0x15b)],_0x3f7d71[_0x40a0c9(0x1a0)](this,_0x1256c4),_0x402da7[_0x40a0c9(0x158)](_0x1256c4[_0x40a0c9(0x1af)],_0x402da7[_0x40a0c9(0x16a)]));}),_0x415f9d[_0x2d0023(0x186)](processWebDriverConfig,_0x15d2af);};},patchPlaywrightBefore=()=>{const _0x2bbe32=a0_0x7fc986;PlaywrightSessionDetails[_0x2bbe32(0x162)]();const _0x1d44bd=CodeceptPlaywright[_0x2bbe32(0x144)][_0x2bbe32(0x187)];CodeceptPlaywright[_0x2bbe32(0x144)][_0x2bbe32(0x187)]=async function(){const _0x34c9e5=_0x2bbe32;this[_0x34c9e5(0x191)]=await this['browser'][_0x34c9e5(0x104)]()[0x0],await _0x1d44bd[_0x34c9e5(0x157)](this,arguments);};},getCodeceptDriver=()=>{const _0x5b89c2=a0_0x7fc986,_0x4536ef={};_0x4536ef[_0x5b89c2(0x17a)]='WebDriver',_0x4536ef[_0x5b89c2(0x1ab)]=_0x5b89c2(0x128),_0x4536ef['TvnJv']=_0x5b89c2(0x152),_0x4536ef[_0x5b89c2(0x126)]=_0x5b89c2(0x10c);const _0x5a7ba9=_0x4536ef,_0x519d90=[_0x5a7ba9['jJYZV'],_0x5a7ba9['RSzrB'],_0x5a7ba9[_0x5b89c2(0x137)],_0x5a7ba9[_0x5b89c2(0x126)]],_0xe8a50=_0x519d90[_0x5b89c2(0x195)](_0x4096d1=>!!CodeceptJS[_0x5b89c2(0x15e)][_0x5b89c2(0x1ad)](_0x4096d1));if(!_0xe8a50)return null;return CodeceptJS[_0x5b89c2(0x15e)][_0x5b89c2(0x1ad)](_0xe8a50);};function a0_0x3f83(_0x51b7db,_0x581937){const _0x5e61d8=a0_0x5e61();return a0_0x3f83=function(_0x3f83b9,_0x1e4271){_0x3f83b9=_0x3f83b9-0x103;let _0x2d4026=_0x5e61d8[_0x3f83b9];return _0x2d4026;},a0_0x3f83(_0x51b7db,_0x581937);}module[a0_0x7fc986(0x1a2)]=function(_0x246c87){const _0x157ff6=a0_0x7fc986,_0x41deed={'zWNNF':_0x157ff6(0x181),'xPKNm':_0x157ff6(0x11e),'Emqzt':function(_0x142984){return _0x142984();},'MjcBE':function(_0x4b95ae,_0x2ba1c1){return _0x4b95ae(_0x2ba1c1);},'OcvUM':function(_0x471d44,_0x1cecfa,_0x55e720){return _0x471d44(_0x1cecfa,_0x55e720);},'UXBcA':function(_0x4f8a23,_0x103a95){return _0x4f8a23(_0x103a95);},'BhPMM':function(_0x38ef0d){return _0x38ef0d();},'mbGua':function(_0xfe7fbf,_0x359907,_0x2fb4c8){return _0xfe7fbf(_0x359907,_0x2fb4c8);},'QxsXX':function(_0x3fc0af){return _0x3fc0af();},'EHBxa':function(_0x48f0ce,_0x4db0a1,_0x199edc,_0x368463){return _0x48f0ce(_0x4db0a1,_0x199edc,_0x368463);},'LLSba':function(_0x1c314d,_0x5ac97a){return _0x1c314d===_0x5ac97a;},'fxoZP':'Suite','wSERl':function(_0x111cb7){return _0x111cb7();},'WHMCQ':_0x157ff6(0x11b),'Dmqqh':_0x157ff6(0x166),'GMdEx':'TEST_LOG','ZmHfQ':function(_0x1f4a22){return _0x1f4a22();},'JqZiX':'Playwright','NNinq':function(_0x27e649){return _0x27e649();},'ogqZe':function(_0x53524d,_0xa95e08){return _0x53524d(_0xa95e08);}};_0x246c87['skipSessionStatus']&&(global[_0x157ff6(0x10f)]=_0x246c87['skipSessionStatus']);PerformanceTester[_0x157ff6(0x156)]();const _0x5b2039=_0x41deed[_0x157ff6(0x12d)](getCodeceptDriver),_0x130ce4=new O11yHelper(_0x5b2039,_0x246c87),_0x454218=!!CodeceptJS[_0x157ff6(0x15e)]['helpers'](_0x41deed[_0x157ff6(0x130)]);global[_0x157ff6(0x176)]=_0x5b2039,_0x5b2039&&(_0x454218?_0x41deed[_0x157ff6(0x10b)](patchPlaywrightBefore):_0x41deed[_0x157ff6(0x197)](patchWebDriverBefore,_0x5b2039),_0x5b2039['getAccessibilityResultsSummary']=async()=>{const _0x4a118e=_0x157ff6;if(global['accessibilityPlatform'])await AccessibilityHelper[_0x4a118e(0x179)](_0x5b2039,scripts[_0x4a118e(0x145)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x5b2039,scripts[_0x4a118e(0x109)]);else return logger['warn'](_0x41deed[_0x4a118e(0x192)]),{};},_0x5b2039[_0x157ff6(0x132)]=async()=>{const _0x4fcbeb=_0x157ff6;if(global[_0x4fcbeb(0x135)])await AccessibilityHelper[_0x4fcbeb(0x179)](_0x5b2039,scripts[_0x4fcbeb(0x145)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x5b2039,scripts[_0x4fcbeb(0x167)]);else return logger[_0x4fcbeb(0x19a)](_0x41deed[_0x4fcbeb(0x164)]),{};},_0x41deed[_0x157ff6(0x17c)](patchSaveScreenshot,_0x5b2039)),CodeceptJS[_0x157ff6(0x160)][_0x157ff6(0x147)]['on'](CodeceptJS[_0x157ff6(0x160)][_0x157ff6(0x19e)][_0x157ff6(0x18e)],()=>{const _0x3e161c=_0x157ff6;try{_0x130ce4[_0x3e161c(0x1aa)](),testOpsHelper[_0x3e161c(0x196)]();}catch(_0x247401){PerformanceTester[_0x3e161c(0x17e)](_0x247401);}}),CodeceptJS[_0x157ff6(0x160)][_0x157ff6(0x147)]['on'](CodeceptJS[_0x157ff6(0x160)]['all'][_0x157ff6(0x1a6)],async()=>{const _0x3c45ac=_0x157ff6;try{requestSpy[_0x3c45ac(0x16f)](),await _0x130ce4[_0x3c45ac(0x146)]();}catch(_0x54f311){PerformanceTester[_0x3c45ac(0x17e)](_0x54f311);}finally{PerformanceTester[_0x3c45ac(0x1ae)]();}}),CodeceptJS[_0x157ff6(0x160)][_0x157ff6(0x147)]['on'](CodeceptJS[_0x157ff6(0x160)][_0x157ff6(0x19d)]['started'],_0x5c5b08=>{const _0x39883f=_0x157ff6;try{const _0x1ae4a6=_0x5c5b08[_0x39883f(0x129)][_0x39883f(0x136)],_0x10f467=_0x130ce4[_0x39883f(0x13c)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x1ae4a6);CodeceptRecorder[_0x39883f(0x118)](()=>_0x130ce4[_0x39883f(0x10a)](TEST_EVENTS[_0x39883f(0x148)],_0x10f467));}catch(_0x321dd2){PerformanceTester[_0x39883f(0x17e)](_0x321dd2);}}),CodeceptJS[_0x157ff6(0x160)][_0x157ff6(0x147)]['on'](CodeceptJS[_0x157ff6(0x160)]['hook'][_0x157ff6(0x1a3)],_0x5407db=>{const _0x431007=_0x157ff6;try{const _0x4a8786=_0x5407db[_0x431007(0x129)][_0x431007(0x136)],_0x27054e=_0x130ce4['captureEvent'](TEST_EVENTS[_0x431007(0x11c)],_0x4a8786);CodeceptRecorder[_0x431007(0x118)](()=>_0x130ce4[_0x431007(0x10a)](TEST_EVENTS[_0x431007(0x11c)],_0x27054e));}catch(_0x3273b0){PerformanceTester[_0x431007(0x17e)](_0x3273b0);}}),CodeceptJS[_0x157ff6(0x160)]['dispatcher']['on'](CodeceptJS[_0x157ff6(0x160)][_0x157ff6(0x19d)][_0x157ff6(0x10e)],async(_0x3dccb2,_0x129d5c)=>{const _0x452565=_0x157ff6;try{const _0x1d613c=_0x3dccb2[_0x452565(0x129)][_0x452565(0x136)],_0x24a8fd=_0x130ce4[_0x452565(0x13c)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x1d613c,_0x129d5c);CodeceptRecorder[_0x452565(0x118)](()=>_0x130ce4[_0x452565(0x10a)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x24a8fd));}catch(_0x4389e6){PerformanceTester['captureError'](_0x4389e6);}}),CodeceptJS[_0x157ff6(0x160)][_0x157ff6(0x147)]['on'](CodeceptJS[_0x157ff6(0x160)][_0x157ff6(0x136)][_0x157ff6(0x18e)],_0x3d8273=>{const _0x2ac6ca=_0x157ff6;try{_0x41deed[_0x2ac6ca(0x117)](isBrowserstackInfra)&&(_0x454218&&(global['__workerDetails']={'currentTest':{'name':_0x3d8273['title'],'testInfo':{'titlePath':_0x3d8273[_0x2ac6ca(0x16d)]()}}}));}catch(_0x193a70){PerformanceTester[_0x2ac6ca(0x17e)](_0x193a70);}}),CodeceptJS[_0x157ff6(0x160)]['dispatcher']['on'](CodeceptJS[_0x157ff6(0x160)]['test']['started'],_0x46e835=>{const _0x4cbe42=_0x157ff6;try{const _0x176fdc=_0x130ce4[_0x4cbe42(0x13c)](TEST_EVENTS[_0x4cbe42(0x15f)],_0x46e835);CodeceptRecorder['add'](()=>_0x130ce4[_0x4cbe42(0x10a)](TEST_EVENTS['TEST_RUN_STARTED'],_0x176fdc)),CodeceptRecorder[_0x4cbe42(0x118)](async()=>{const _0x298da1=_0x4cbe42;_0x41deed['Emqzt'](isBrowserstackInfra)&&(!_0x41deed[_0x298da1(0x183)](isTrue,_0x246c87[_0x298da1(0x141)])&&await _0x41deed[_0x298da1(0x154)](markSessionName,_0x5b2039,_0x46e835[_0x298da1(0x17f)]),_0x130ce4[_0x298da1(0x155)]&&await _0x41deed[_0x298da1(0x17c)](o11ySync,_0x5b2039));});}catch(_0x53d2c5){PerformanceTester[_0x4cbe42(0x17e)](_0x53d2c5);}}),CodeceptJS[_0x157ff6(0x160)]['dispatcher']['on'](CodeceptJS[_0x157ff6(0x160)][_0x157ff6(0x136)]['passed'],_0x470a1c=>{const _0x1bfccb=_0x157ff6,_0x5d0072={'ydivv':function(_0x830c1f){const _0xe2f068=a0_0x3f83;return _0x41deed[_0xe2f068(0x121)](_0x830c1f);},'iYAKr':function(_0x38dac8,_0x512751,_0x458fe4){return _0x41deed['OcvUM'](_0x38dac8,_0x512751,_0x458fe4);},'pvnnM':function(_0x1cf6ff,_0x116367,_0x484a84){const _0x35100e=a0_0x3f83;return _0x41deed[_0x35100e(0x177)](_0x1cf6ff,_0x116367,_0x484a84);}};try{const _0x4d8423=_0x130ce4[_0x1bfccb(0x13c)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x470a1c);CodeceptRecorder[_0x1bfccb(0x118)](()=>_0x130ce4['fireEvent'](TEST_EVENTS[_0x1bfccb(0x120)],_0x4d8423)),CodeceptRecorder[_0x1bfccb(0x118)](async()=>{const _0x89e7bb=_0x1bfccb;_0x5d0072['ydivv'](isBrowserstackInfra)&&(_0x454218?await _0x5d0072[_0x89e7bb(0x143)](playwrightMarkSessionStatus,_0x5b2039,STATE_PASSED):await _0x5d0072[_0x89e7bb(0x139)](markSessionStatus,_0x5b2039,STATE_PASSED));});}catch(_0x34514b){PerformanceTester[_0x1bfccb(0x17e)](_0x34514b);}}),CodeceptJS[_0x157ff6(0x160)]['dispatcher']['on'](CodeceptJS['event'][_0x157ff6(0x136)][_0x157ff6(0x10e)],(_0x324985,_0x5a2826)=>{const _0xa5a141=_0x157ff6;try{if(_0x41deed[_0xa5a141(0x11f)](_0x324985[_0xa5a141(0x13f)][_0xa5a141(0x15b)],_0x41deed[_0xa5a141(0x1a5)])){const _0x3b8815=_0x130ce4[_0xa5a141(0x13c)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x324985[_0xa5a141(0x129)][_0xa5a141(0x18f)]);CodeceptRecorder[_0xa5a141(0x118)](()=>_0x130ce4['fireEvent'](TEST_EVENTS[_0xa5a141(0x1a8)],_0x3b8815));}else{const _0x3e56cf=_0x130ce4[_0xa5a141(0x13c)](TEST_EVENTS[_0xa5a141(0x120)],_0x324985,_0x5a2826);CodeceptRecorder[_0xa5a141(0x118)](()=>_0x130ce4[_0xa5a141(0x10a)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x3e56cf)),CodeceptRecorder[_0xa5a141(0x118)](async()=>{const _0xcbdb7=_0xa5a141;_0x41deed['QxsXX'](isBrowserstackInfra)&&(_0x454218?await _0x41deed[_0xcbdb7(0x125)](playwrightMarkSessionStatus,_0x5b2039,STATE_FAILED,_0x5a2826):await _0x41deed[_0xcbdb7(0x125)](markSessionStatus,_0x5b2039,STATE_FAILED,_0x5a2826));});}}catch(_0x203dac){PerformanceTester[_0xa5a141(0x17e)](_0x203dac);}}),CodeceptJS[_0x157ff6(0x160)][_0x157ff6(0x147)]['on'](CodeceptJS[_0x157ff6(0x160)][_0x157ff6(0x136)]['skipped'],_0x51e16b=>{const _0x4da456=_0x157ff6;try{const _0x52f436=_0x130ce4[_0x4da456(0x13c)](TEST_EVENTS[_0x4da456(0x1a8)],_0x51e16b);CodeceptRecorder[_0x4da456(0x118)](()=>_0x130ce4[_0x4da456(0x10a)](TEST_EVENTS[_0x4da456(0x1a8)],_0x52f436));}catch(_0x1ce595){PerformanceTester[_0x4da456(0x17e)](_0x1ce595);}}),CodeceptJS['event'][_0x157ff6(0x147)]['on'](CodeceptJS['event'][_0x157ff6(0x136)][_0x157ff6(0x1a6)],async(_0x335dbe,_0x325034)=>{const _0x24c2f5=_0x157ff6;try{if(_0x41deed[_0x24c2f5(0x14b)](isBrowserstackInfra)){const _0x4c2686=_0x41deed['OcvUM'](shouldScanTestForAccessibility,_0x335dbe[_0x24c2f5(0x16d)](),!![]);if(_0x41deed[_0x24c2f5(0x14b)](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x4c2686){const _0x1aa12a={};_0x1aa12a[_0x24c2f5(0x18c)]=_0x335dbe[_0x24c2f5(0x16b)],_0x1aa12a['thBuildUuid']=process[_0x24c2f5(0x174)][testHubConstants[_0x24c2f5(0x138)][_0x24c2f5(0x194)]],_0x1aa12a['thJwtToken']=process[_0x24c2f5(0x174)][testHubConstants['ENV_VAR'][_0x24c2f5(0x14d)]];const _0x99d89b=_0x1aa12a;logger['debug'](_0x24c2f5(0x185)+JSON[_0x24c2f5(0x19f)](_0x99d89b)),CodeceptRecorder[_0x24c2f5(0x118)](async()=>{const _0x4c4b9d=_0x24c2f5;await AccessibilityHelper[_0x4c4b9d(0x179)](_0x5b2039,scripts['performScan']),await AccessibilityHelper[_0x4c4b9d(0x179)](_0x5b2039,scripts[_0x4c4b9d(0x106)],_0x99d89b);}),logger[_0x24c2f5(0x184)](_0x41deed['WHMCQ']);}}}catch(_0x2c5fd5){PerformanceTester[_0x24c2f5(0x17e)](_0x2c5fd5);}}),CodeceptJS[_0x157ff6(0x160)][_0x157ff6(0x147)]['on'](CodeceptJS[_0x157ff6(0x160)][_0x157ff6(0x14a)][_0x157ff6(0x1b0)],_0x4e5564=>{const _0x21d23f=_0x157ff6;try{process[_0x21d23f(0x163)](_0x21d23f(0x12b)+process[_0x21d23f(0x134)],{'timestamp':new Date()[_0x21d23f(0x107)](),'level':_0x41deed[_0x21d23f(0x116)],'message':_0x4e5564,'kind':_0x41deed['GMdEx'],'http_response':{}});}catch(_0x1f403c){PerformanceTester[_0x21d23f(0x17e)](_0x1f403c);}}),CodeceptJS[_0x157ff6(0x160)][_0x157ff6(0x147)]['on'](CodeceptJS[_0x157ff6(0x160)]['bddStep']['before'],_0x21e454=>{const _0x5daca8=_0x157ff6;_0x130ce4[_0x5daca8(0x161)](_0x21e454);}),CodeceptJS['event'][_0x157ff6(0x147)]['on'](CodeceptJS['event'][_0x157ff6(0x123)][_0x157ff6(0x1a6)],_0x47327f=>{const _0x197a8d=_0x157ff6;_0x130ce4[_0x197a8d(0x112)](_0x47327f);});};
1
+ function a0_0x32ed(){const _0x5b7958=['../../helpers/performance-tester','../../helpers/logger','EnjvR','rGgrW','Performing\x20scan\x20for\x20','JgyMI','all','../../bin/playwright/accessibility-helper','GQCmS','codeceptjs/lib/index.js','getAccessibilityResultsSummary','debug','addRequestSpy','then','test','TEST_SCREENSHOT','contexts','commandsToWrap','thJwtToken','AbLiU','213849GYmHXs','thBuildUuid','nKvBN','UWDnT','auNjJ','shouldWrapCommand','env','action','codeceptjs/lib/recorder.js','container','../../helpers/test-observability/utils','FMGyF','tOmJg','testAnalyticsId','title','iAIpl','startMonitoring','titlePath','arguments','lGwoQ','UIElj','Element','info','getSyncScript','gzvQs','reason','captureEvent','skipped','aeHlr','filter','../../helpers/request-spy','ErlEg','VHzWE','initSaveScreenshot','TestCafe','skipSessionName','getAccessibilityResults','executeScript','TEST_RUN_SKIPPED','TEST_RUN_FINISHED','kRECV','stopMonitoring','stringify','bddStepStart','10078sjLuOo','JuJTL','status','emit','VyyZJ','base64','patchSaveScreenshot','40dMPmDf','slice','captureError','uDdzY','1845402yiLILy','ctx','patch','../../helpers/testhub/constants.js','accessibilityPlatform','name','fireEvent','../../bin/playwright/sessionDetails','__skipSessionStatus','drAXF','catch','mUMMS','bddStep','UWeDc','ENV_VAR','prototype','after','setSessionName','TEST_LOG','../../helpers/accessibility-automation/helper','dispatcher','88rjHZIZ','../../helpers/helper','RpEPH','BROWSERSTACK_TESTHUB_JWT','exports','mHoRS','TEST_RUN_STARTED','Playwright','WjWWK','skipSessionStatus','Suite','toString','2LOxApE','find','HOOK_RUN_FINISHED','saveScreenshot','add','1420980ZihJQC','ywxRa','pid','YIvWS','performScan','MKHJJ','104634oajdrW','MOCLR','tRyLy','bstackAllyScanning','HOOK_RUN_STARTED','helpers','875049QRlfGA','class','constructor','udxBc','../../helpers/accessibility-automation/scripts','hook','bs:addLog:','browserstack_executor:\x20','stop','forEach','ftTwG','restore','getResultsSummary','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','start','bddStepFinish','dqRKg','winstonLogger','XBDCS','jIJHP','wrZRv','browser','failed','apply','12711830JfOECL','currentTest','browserStackExecuteDriver','event','rkQDh','_before','nWpMe','toISOString','oDHIx','started','XOEww','overwriteCommand','passed','step'];a0_0x32ed=function(){return _0x5b7958;};return a0_0x32ed();}const a0_0x4ac226=a0_0x42cd;function a0_0x42cd(_0x48d468,_0x259b22){const _0x32edd6=a0_0x32ed();return a0_0x42cd=function(_0x42cd39,_0x425d09){_0x42cd39=_0x42cd39-0x1b1;let _0x17ff4a=_0x32edd6[_0x42cd39];return _0x17ff4a;},a0_0x42cd(_0x48d468,_0x259b22);}(function(_0x5c3184,_0x31d3f7){const _0x1c5ed=a0_0x42cd,_0x3831f2=_0x5c3184();while(!![]){try{const _0x3d53c2=-parseInt(_0x1c5ed(0x1b5))/0x1*(parseInt(_0x1c5ed(0x22c))/0x2)+-parseInt(_0x1c5ed(0x1c0))/0x3*(parseInt(_0x1c5ed(0x233))/0x4)+-parseInt(_0x1c5ed(0x1ba))/0x5+-parseInt(_0x1c5ed(0x237))/0x6+parseInt(_0x1c5ed(0x1c6))/0x7+parseInt(_0x1c5ed(0x24c))/0x8*(-parseInt(_0x1c5ed(0x200))/0x9)+parseInt(_0x1c5ed(0x1de))/0xa;if(_0x3d53c2===_0x31d3f7)break;else _0x3831f2['push'](_0x3831f2['shift']());}catch(_0x32789e){_0x3831f2['push'](_0x3831f2['shift']());}}}(a0_0x32ed,0x2cf86));const fs=require('fs'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a0_0x4ac226(0x24d)),logger=require(a0_0x4ac226(0x1ed))[a0_0x4ac226(0x1d7)],testOpsHelper=require(a0_0x4ac226(0x20a)),requestSpy=require(a0_0x4ac226(0x21e)),PlaywrightSessionDetails=require(a0_0x4ac226(0x23e)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a0_0x4ac226(0x24a)),AccessibilityHelper=require(a0_0x4ac226(0x1f3)),scripts=require(a0_0x4ac226(0x1ca)),PerformanceTester=require(a0_0x4ac226(0x1ec)),{fetchPlatformDetails,processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),testHubConstants=require(a0_0x4ac226(0x23a)),CodeceptJS=requireModule(a0_0x4ac226(0x1f5)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js'),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js'),CodeceptRecorder=requireModule(a0_0x4ac226(0x208)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js'),playwrightMarkSessionStatus=(_0x2c25fc,_0x2e1c88,_0x248697)=>{const _0x2d9d26=a0_0x4ac226,_0x1696aa={'UZIkl':'setSessionStatus','RpEPH':function(_0x438fb2,_0x16c69c){return _0x438fb2(_0x16c69c);}},_0x2d2f3d={};_0x2d2f3d[_0x2d9d26(0x22e)]=_0x2e1c88;const _0xa91360={};_0xa91360['action']=_0x1696aa['UZIkl'],_0xa91360['arguments']=_0x2d2f3d;const _0x3e3654=_0xa91360;return!_0x1696aa[_0x2d9d26(0x24e)](isUndefined,_0x248697)&&(_0x3e3654[_0x2d9d26(0x212)][_0x2d9d26(0x219)]=JSON['stringify'](_0x248697)),_0x2c25fc[_0x2d9d26(0x225)](()=>{},_0x2d9d26(0x1cd)+JSON[_0x2d9d26(0x22a)](_0x3e3654));},o11ySync=async _0x5dab99=>{const _0x52ebb3=a0_0x4ac226,_0x8ee471={};_0x8ee471['udxBc']=function(_0x3027bf,_0x41ddcb){return _0x3027bf===_0x41ddcb;},_0x8ee471[_0x52ebb3(0x230)]=_0x52ebb3(0x253);const _0xd6c197=_0x8ee471;_0xd6c197[_0x52ebb3(0x1c9)](_0x5dab99[_0x52ebb3(0x1c8)][_0x52ebb3(0x23c)],_0xd6c197[_0x52ebb3(0x230)])?await _0x5dab99[_0x52ebb3(0x225)](_0xd587c5=>{},testOpsHelper[_0x52ebb3(0x217)]()):await _0x5dab99[_0x52ebb3(0x225)](testOpsHelper[_0x52ebb3(0x217)]());},markSessionName=async(_0x564949,_0x2592b2)=>{const _0x498c68=a0_0x4ac226,_0x2d492f={};_0x2d492f['uDdzY']=_0x498c68(0x248),_0x2d492f[_0x498c68(0x20f)]=function(_0x28ca6e,_0x2d908e){return _0x28ca6e===_0x2d908e;},_0x2d492f[_0x498c68(0x1bf)]='Playwright';const _0x1611a3=_0x2d492f,_0x5f4a15={};_0x5f4a15[_0x498c68(0x23c)]=_0x2592b2;const _0x5dfea2={};_0x5dfea2[_0x498c68(0x207)]=_0x1611a3[_0x498c68(0x236)],_0x5dfea2['arguments']=_0x5f4a15;const _0x96c98d=_0x5dfea2;_0x1611a3['iAIpl'](_0x564949[_0x498c68(0x1c8)][_0x498c68(0x23c)],_0x1611a3[_0x498c68(0x1bf)])?await _0x564949['executeScript'](()=>{},_0x498c68(0x1cd)+JSON['stringify'](_0x96c98d)):await _0x564949[_0x498c68(0x225)]('browserstack_executor:\x20'+JSON['stringify'](_0x96c98d));},patchSaveScreenshot=_0x4592cd=>{const _0x262c91=a0_0x4ac226,_0xd2b490={'zJvyW':_0x262c91(0x231),'gOeeR':_0x262c91(0x1fb),'UIElj':function(_0x766f82){return _0x766f82();},'mHoRS':function(_0x54f5c9,_0x10c167){return _0x54f5c9(_0x10c167);}};_0xd2b490[_0x262c91(0x251)](isTrue,process[_0x262c91(0x206)]['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x4592cd[_0x262c91(0x232)]&&(_0x4592cd[_0x262c91(0x232)]=!![],_0x4592cd['initSaveScreenshot']=_0x4592cd['saveScreenshot'],_0x4592cd[_0x262c91(0x1b8)]=(_0x5c7361,_0x15806e=![])=>{const _0x57dbd7={'UWeDc':_0xd2b490['zJvyW'],'EnjvR':_0xd2b490['gOeeR'],'lPLUP':function(_0x47ba99){const _0x41c795=a0_0x42cd;return _0xd2b490[_0x41c795(0x214)](_0x47ba99);}};return new Promise(function(_0x207a88,_0x2705aa){const _0x58c88f=a0_0x42cd,_0x56819a={'nKvBN':_0x57dbd7[_0x58c88f(0x244)],'tnhiA':_0x57dbd7[_0x58c88f(0x1ee)],'JuJTL':function(_0x24eb38){return _0x57dbd7['lPLUP'](_0x24eb38);}};_0x4592cd[_0x58c88f(0x221)](_0x5c7361,_0x15806e)[_0x58c88f(0x1f9)](()=>{const _0x1b93f6=_0x58c88f,_0x1f2e1a=CodeceptUtils['screenshotOutputFolder'](_0x5c7361),_0xe82b8a=fs['readFileSync'](_0x1f2e1a);process[_0x1b93f6(0x22f)]('bs:addLog:'+process[_0x1b93f6(0x1bc)],{'timestamp':new Date()[_0x1b93f6(0x1e5)](),'message':_0xe82b8a[_0x1b93f6(0x1b4)](_0x56819a[_0x1b93f6(0x202)]),'kind':_0x56819a['tnhiA']}),_0x56819a[_0x1b93f6(0x22d)](_0x207a88);})[_0x58c88f(0x241)](()=>null);});});},patchWebDriverBefore=_0x514d3d=>{const _0x231087=a0_0x4ac226,_0x178100={'UcPOz':function(_0x3d50ff){return _0x3d50ff();},'dqRKg':function(_0x4a036d,_0x24a5ea){return _0x4a036d(_0x24a5ea);},'WjWWK':function(_0x59cb97,_0x13352e){return _0x59cb97===_0x13352e;},'ezYpN':_0x231087(0x215)},_0x4afb4c=async function(_0x4e849c,_0x58dc43){const _0x3592b8=_0x231087;return _0x178100['UcPOz'](isAccessibilityAutomationSession)&&!global[_0x3592b8(0x1c3)]&&global['accessibilityPlatform']&&scripts[_0x3592b8(0x205)](_0x4e849c[_0x3592b8(0x23c)])&&_0x178100[_0x3592b8(0x1d6)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x3592b8(0x1c3)]=!![],logger[_0x3592b8(0x1f7)](_0x3592b8(0x1f0)+_0x4e849c['class']+'\x20'+_0x4e849c['name']),await AccessibilityHelper[_0x3592b8(0x1e0)](_0x514d3d,scripts[_0x3592b8(0x1be)])),global['bstackAllyScanning']=![],_0x58dc43[_0x3592b8(0x1dd)](this,Array[_0x3592b8(0x246)][_0x3592b8(0x234)]['call'](arguments,0x2));},_0x4bb7d0=CodeceptWebDriver[_0x231087(0x246)]['_before'];CodeceptWebDriver['prototype']['_before']=async function(){const _0x4bf76e=_0x231087,_0x5e26f1={'dJxKM':function(_0x337736,_0x315eee){const _0x75b9cf=a0_0x42cd;return _0x178100[_0x75b9cf(0x1b1)](_0x337736,_0x315eee);},'nWpMe':_0x178100['ezYpN']};await _0x4bb7d0['apply'](this,arguments),scripts[_0x4bf76e(0x1fd)][_0x4bf76e(0x21d)](_0x2c36b2=>_0x2c36b2['name']&&_0x2c36b2[_0x4bf76e(0x1c7)])[_0x4bf76e(0x1cf)](_0x2b9835=>{const _0x2db8f8=_0x4bf76e;this['browser'][_0x2db8f8(0x1e9)](_0x2b9835[_0x2db8f8(0x23c)],_0x4afb4c['bind'](this,_0x2b9835),_0x5e26f1['dJxKM'](_0x2b9835[_0x2db8f8(0x1c7)],_0x5e26f1[_0x2db8f8(0x1e4)]));}),_0x178100[_0x4bf76e(0x1d6)](processWebDriverConfig,_0x514d3d);};},patchPlaywrightBefore=()=>{const _0x20a669=a0_0x4ac226;PlaywrightSessionDetails[_0x20a669(0x239)]();const _0x472fe2=CodeceptPlaywright[_0x20a669(0x246)][_0x20a669(0x1e3)];CodeceptPlaywright[_0x20a669(0x246)][_0x20a669(0x1e3)]=async function(){const _0x2b2afa=_0x20a669;this['browserContext']=await this[_0x2b2afa(0x1db)][_0x2b2afa(0x1fc)]()[0x0],await _0x472fe2[_0x2b2afa(0x1dd)](this,arguments);};},getCodeceptDriver=()=>{const _0x1ba0a5=a0_0x4ac226,_0x424f3e={};_0x424f3e['tRyLy']='WebDriver',_0x424f3e[_0x1ba0a5(0x1bd)]=_0x1ba0a5(0x253),_0x424f3e['ftTwG']='Puppeteer',_0x424f3e[_0x1ba0a5(0x21c)]=_0x1ba0a5(0x222);const _0x10e003=_0x424f3e,_0x5e6cff=[_0x10e003[_0x1ba0a5(0x1c2)],_0x10e003[_0x1ba0a5(0x1bd)],_0x10e003[_0x1ba0a5(0x1d0)],_0x10e003['aeHlr']],_0x56b71b=_0x5e6cff[_0x1ba0a5(0x1b6)](_0x23ed4c=>!!CodeceptJS['container'][_0x1ba0a5(0x1c5)](_0x23ed4c));if(!_0x56b71b)return null;return CodeceptJS['container']['helpers'](_0x56b71b);};module[a0_0x4ac226(0x250)]=function(_0x28c3d0){const _0x47398e=a0_0x4ac226,_0x39b231={'UWDnT':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','AbLiU':_0x47398e(0x1d3),'gzvQs':function(_0x98c001){return _0x98c001();},'oDHIx':function(_0x55a1e4,_0x2e6723){return _0x55a1e4(_0x2e6723);},'rGgrW':function(_0x197a8a,_0x9bd844,_0x73b32a){return _0x197a8a(_0x9bd844,_0x73b32a);},'FMGyF':function(_0xdf88b8){return _0xdf88b8();},'XBDCS':function(_0x247e4f,_0xafc6b8,_0x4913c0){return _0x247e4f(_0xafc6b8,_0x4913c0);},'drAXF':function(_0x41ffce){return _0x41ffce();},'jZFpd':function(_0x49822b,_0x529055,_0x3ba225,_0x3f4787){return _0x49822b(_0x529055,_0x3ba225,_0x3f4787);},'wrZRv':function(_0x182c31,_0x17c7d8,_0x42c00c,_0x40587d){return _0x182c31(_0x17c7d8,_0x42c00c,_0x40587d);},'lGwoQ':function(_0x93f34,_0xa63bfc){return _0x93f34===_0xa63bfc;},'ErlEg':_0x47398e(0x1b3),'GQCmS':function(_0x5803a4,_0x307786,_0x1c456c){return _0x5803a4(_0x307786,_0x1c456c);},'VHzWE':function(_0x5a484b){return _0x5a484b();},'BQVGS':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','kRECV':'INFO','ywxRa':_0x47398e(0x249),'fYOok':_0x47398e(0x253),'XOEww':function(_0x5f688a){return _0x5f688a();}};_0x28c3d0[_0x47398e(0x1b2)]&&(global[_0x47398e(0x23f)]=_0x28c3d0['skipSessionStatus']);PerformanceTester[_0x47398e(0x210)]();const _0x46ec9e=_0x39b231[_0x47398e(0x240)](getCodeceptDriver),_0x43478c=new O11yHelper(_0x46ec9e,_0x28c3d0),_0x20e9a5=!!CodeceptJS[_0x47398e(0x209)]['helpers'](_0x39b231['fYOok']);global['__driver']=_0x46ec9e,_0x46ec9e&&(_0x20e9a5?_0x39b231[_0x47398e(0x1e8)](patchPlaywrightBefore):_0x39b231[_0x47398e(0x1e6)](patchWebDriverBefore,_0x46ec9e),_0x46ec9e[_0x47398e(0x1f6)]=async()=>{const _0x4fb552=_0x47398e;if(global[_0x4fb552(0x23b)])await AccessibilityHelper['browserStackExecuteDriver'](_0x46ec9e,scripts['performScan']),await AccessibilityHelper[_0x4fb552(0x1e0)](_0x46ec9e,scripts[_0x4fb552(0x1d2)]);else return logger['warn'](_0x39b231[_0x4fb552(0x203)]),{};},_0x46ec9e[_0x47398e(0x224)]=async()=>{const _0x26b4c9=_0x47398e;if(global[_0x26b4c9(0x23b)])await AccessibilityHelper['browserStackExecuteDriver'](_0x46ec9e,scripts['performScan']),await AccessibilityHelper[_0x26b4c9(0x1e0)](_0x46ec9e,scripts['getResults']);else return logger['warn'](_0x39b231[_0x26b4c9(0x1ff)]),{};},_0x39b231[_0x47398e(0x1e6)](patchSaveScreenshot,_0x46ec9e)),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x47398e(0x1e1)][_0x47398e(0x1f2)]['before'],()=>{const _0x130d63=_0x47398e;try{_0x43478c[_0x130d63(0x1d4)](),testOpsHelper[_0x130d63(0x1f8)]();}catch(_0xe59c59){PerformanceTester[_0x130d63(0x235)](_0xe59c59);}}),CodeceptJS['event'][_0x47398e(0x24b)]['on'](CodeceptJS[_0x47398e(0x1e1)][_0x47398e(0x1f2)][_0x47398e(0x247)],async()=>{const _0x1ed555=_0x47398e;try{requestSpy[_0x1ed555(0x1d1)](),await _0x43478c[_0x1ed555(0x1ce)]();}catch(_0x5cbd0d){PerformanceTester[_0x1ed555(0x235)](_0x5cbd0d);}finally{PerformanceTester[_0x1ed555(0x229)]();}}),CodeceptJS[_0x47398e(0x1e1)]['dispatcher']['on'](CodeceptJS['event'][_0x47398e(0x1cb)][_0x47398e(0x1e7)],_0x3891dd=>{const _0x56288e=_0x47398e;try{const _0x380c86=_0x3891dd[_0x56288e(0x238)][_0x56288e(0x1fa)],_0x33bed5=_0x43478c[_0x56288e(0x21a)](TEST_EVENTS[_0x56288e(0x1c4)],_0x380c86);CodeceptRecorder[_0x56288e(0x1b9)](()=>_0x43478c[_0x56288e(0x23d)](TEST_EVENTS[_0x56288e(0x1c4)],_0x33bed5));}catch(_0x3ee628){PerformanceTester[_0x56288e(0x235)](_0x3ee628);}}),CodeceptJS[_0x47398e(0x1e1)][_0x47398e(0x24b)]['on'](CodeceptJS[_0x47398e(0x1e1)]['hook'][_0x47398e(0x1ea)],_0x277c04=>{const _0x37b080=_0x47398e;try{const _0x243d53=_0x277c04[_0x37b080(0x238)][_0x37b080(0x1fa)],_0x836a6a=_0x43478c[_0x37b080(0x21a)](TEST_EVENTS[_0x37b080(0x1b7)],_0x243d53);CodeceptRecorder['add'](()=>_0x43478c[_0x37b080(0x23d)](TEST_EVENTS[_0x37b080(0x1b7)],_0x836a6a));}catch(_0x24e581){PerformanceTester[_0x37b080(0x235)](_0x24e581);}}),CodeceptJS[_0x47398e(0x1e1)][_0x47398e(0x24b)]['on'](CodeceptJS[_0x47398e(0x1e1)][_0x47398e(0x1cb)][_0x47398e(0x1dc)],async(_0xb5f7d,_0x33fb2f)=>{const _0x3d46af=_0x47398e;try{const _0x7c652e=_0xb5f7d[_0x3d46af(0x238)][_0x3d46af(0x1fa)],_0x1eba67=_0x43478c[_0x3d46af(0x21a)](TEST_EVENTS[_0x3d46af(0x1b7)],_0x7c652e,_0x33fb2f);CodeceptRecorder[_0x3d46af(0x1b9)](()=>_0x43478c[_0x3d46af(0x23d)](TEST_EVENTS[_0x3d46af(0x1b7)],_0x1eba67));}catch(_0x1e8493){PerformanceTester[_0x3d46af(0x235)](_0x1e8493);}}),CodeceptJS[_0x47398e(0x1e1)][_0x47398e(0x24b)]['on'](CodeceptJS[_0x47398e(0x1e1)][_0x47398e(0x1fa)]['before'],_0x39a1bf=>{const _0x18259e=_0x47398e;try{_0x39b231[_0x18259e(0x218)](isBrowserstackInfra)&&(_0x20e9a5&&(global['__workerDetails']={'currentTest':{'name':_0x39a1bf[_0x18259e(0x20e)],'testInfo':{'titlePath':_0x39a1bf[_0x18259e(0x211)]()}}}));}catch(_0x2d9108){PerformanceTester[_0x18259e(0x235)](_0x2d9108);}}),CodeceptJS[_0x47398e(0x1e1)][_0x47398e(0x24b)]['on'](CodeceptJS[_0x47398e(0x1e1)]['test'][_0x47398e(0x1e7)],_0x592936=>{const _0x2c4d9d=_0x47398e,_0x24ab2f={'MOCLR':function(_0x217f7f){return _0x39b231['gzvQs'](_0x217f7f);},'jIJHP':function(_0x596030,_0x12eeae){const _0x32244a=a0_0x42cd;return _0x39b231[_0x32244a(0x1e6)](_0x596030,_0x12eeae);},'tOmJg':function(_0x505de0,_0x4e02d3,_0x594635){const _0x35fb7b=a0_0x42cd;return _0x39b231[_0x35fb7b(0x1ef)](_0x505de0,_0x4e02d3,_0x594635);}};try{const _0x590728=_0x43478c[_0x2c4d9d(0x21a)](TEST_EVENTS[_0x2c4d9d(0x252)],_0x592936);CodeceptRecorder[_0x2c4d9d(0x1b9)](()=>_0x43478c[_0x2c4d9d(0x23d)](TEST_EVENTS['TEST_RUN_STARTED'],_0x590728)),CodeceptRecorder['add'](async()=>{const _0x54df2a=_0x2c4d9d;_0x24ab2f[_0x54df2a(0x1c1)](isBrowserstackInfra)&&(!_0x24ab2f[_0x54df2a(0x1d9)](isTrue,_0x28c3d0[_0x54df2a(0x223)])&&await _0x24ab2f[_0x54df2a(0x20c)](markSessionName,_0x46ec9e,_0x592936[_0x54df2a(0x20e)]),_0x43478c['enabled']&&await _0x24ab2f[_0x54df2a(0x1d9)](o11ySync,_0x46ec9e));});}catch(_0x4784b2){PerformanceTester[_0x2c4d9d(0x235)](_0x4784b2);}}),CodeceptJS[_0x47398e(0x1e1)][_0x47398e(0x24b)]['on'](CodeceptJS[_0x47398e(0x1e1)][_0x47398e(0x1fa)]['passed'],_0x4aa85a=>{const _0x22855a=_0x47398e,_0x7dd686={'JgyMI':function(_0x1e66e4){const _0x4ba169=a0_0x42cd;return _0x39b231[_0x4ba169(0x20b)](_0x1e66e4);},'TpRwf':function(_0x2f8702,_0x1c6817,_0x557f8d){const _0xdbc961=a0_0x42cd;return _0x39b231[_0xdbc961(0x1ef)](_0x2f8702,_0x1c6817,_0x557f8d);},'iwYog':function(_0x1e9126,_0x3c7af8,_0x4881b9){const _0x26fe90=a0_0x42cd;return _0x39b231[_0x26fe90(0x1d8)](_0x1e9126,_0x3c7af8,_0x4881b9);}};try{const _0x296640=_0x43478c[_0x22855a(0x21a)](TEST_EVENTS[_0x22855a(0x227)],_0x4aa85a);CodeceptRecorder[_0x22855a(0x1b9)](()=>_0x43478c[_0x22855a(0x23d)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x296640)),CodeceptRecorder[_0x22855a(0x1b9)](async()=>{const _0x143e18=_0x22855a;_0x7dd686[_0x143e18(0x1f1)](isBrowserstackInfra)&&(_0x20e9a5?await _0x7dd686['TpRwf'](playwrightMarkSessionStatus,_0x46ec9e,STATE_PASSED):await _0x7dd686['iwYog'](markSessionStatus,_0x46ec9e,STATE_PASSED));});}catch(_0x3ba1c7){PerformanceTester[_0x22855a(0x235)](_0x3ba1c7);}}),CodeceptJS[_0x47398e(0x1e1)][_0x47398e(0x24b)]['on'](CodeceptJS[_0x47398e(0x1e1)][_0x47398e(0x1fa)][_0x47398e(0x1dc)],(_0x130b25,_0x453d60)=>{const _0x251808=_0x47398e,_0x435d4f={'mUMMS':function(_0x5e7d03){const _0x3388cb=a0_0x42cd;return _0x39b231[_0x3388cb(0x240)](_0x5e7d03);},'rkQDh':function(_0x5e6d7c,_0x31df50,_0x43abe3,_0x2b3f79){return _0x39b231['jZFpd'](_0x5e6d7c,_0x31df50,_0x43abe3,_0x2b3f79);},'auNjJ':function(_0x14c77b,_0x54d287,_0xec284b,_0x4bd303){const _0x14deae=a0_0x42cd;return _0x39b231[_0x14deae(0x1da)](_0x14c77b,_0x54d287,_0xec284b,_0x4bd303);}};try{if(_0x39b231[_0x251808(0x213)](_0x130b25['constructor'][_0x251808(0x23c)],_0x39b231[_0x251808(0x21f)])){const _0x3157df=_0x43478c[_0x251808(0x21a)](TEST_EVENTS[_0x251808(0x226)],_0x130b25[_0x251808(0x238)][_0x251808(0x1df)]);CodeceptRecorder[_0x251808(0x1b9)](()=>_0x43478c[_0x251808(0x23d)](TEST_EVENTS[_0x251808(0x226)],_0x3157df));}else{const _0x4cabc0=_0x43478c['captureEvent'](TEST_EVENTS[_0x251808(0x227)],_0x130b25,_0x453d60);CodeceptRecorder[_0x251808(0x1b9)](()=>_0x43478c[_0x251808(0x23d)](TEST_EVENTS[_0x251808(0x227)],_0x4cabc0)),CodeceptRecorder['add'](async()=>{const _0x1e6468=_0x251808;_0x435d4f[_0x1e6468(0x242)](isBrowserstackInfra)&&(_0x20e9a5?await _0x435d4f[_0x1e6468(0x1e2)](playwrightMarkSessionStatus,_0x46ec9e,STATE_FAILED,_0x453d60):await _0x435d4f[_0x1e6468(0x204)](markSessionStatus,_0x46ec9e,STATE_FAILED,_0x453d60));});}}catch(_0x1a70db){PerformanceTester[_0x251808(0x235)](_0x1a70db);}}),CodeceptJS[_0x47398e(0x1e1)][_0x47398e(0x24b)]['on'](CodeceptJS['event'][_0x47398e(0x1fa)][_0x47398e(0x21b)],_0x1b9aa5=>{const _0x5c830e=_0x47398e;try{const _0x1565ef=_0x43478c['captureEvent'](TEST_EVENTS[_0x5c830e(0x226)],_0x1b9aa5);CodeceptRecorder[_0x5c830e(0x1b9)](()=>_0x43478c[_0x5c830e(0x23d)](TEST_EVENTS[_0x5c830e(0x226)],_0x1565ef));}catch(_0x5675e7){PerformanceTester[_0x5c830e(0x235)](_0x5675e7);}}),CodeceptJS[_0x47398e(0x1e1)][_0x47398e(0x24b)]['on'](CodeceptJS[_0x47398e(0x1e1)]['test'][_0x47398e(0x247)],async(_0x2f7c73,_0x7f686b)=>{const _0x1e2d11=_0x47398e;try{if(_0x39b231[_0x1e2d11(0x240)](isBrowserstackInfra)){const _0x454e95=_0x39b231[_0x1e2d11(0x1f4)](shouldScanTestForAccessibility,_0x2f7c73['titlePath'](),!![]);if(_0x39b231[_0x1e2d11(0x220)](isAccessibilityAutomationSession)&&global[_0x1e2d11(0x23b)]&&_0x454e95){const _0xd9907c={};_0xd9907c['thTestRunUuid']=_0x2f7c73[_0x1e2d11(0x20d)],_0xd9907c[_0x1e2d11(0x201)]=process[_0x1e2d11(0x206)][testHubConstants[_0x1e2d11(0x245)]['BROWSERSTACK_TESTHUB_UUID']],_0xd9907c[_0x1e2d11(0x1fe)]=process[_0x1e2d11(0x206)][testHubConstants[_0x1e2d11(0x245)][_0x1e2d11(0x24f)]];const _0x13176d=_0xd9907c;logger[_0x1e2d11(0x1f7)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON['stringify'](_0x13176d)),CodeceptRecorder[_0x1e2d11(0x1b9)](async()=>{const _0x324bb7=_0x1e2d11;await AccessibilityHelper[_0x324bb7(0x1e0)](_0x46ec9e,scripts[_0x324bb7(0x1be)]),await AccessibilityHelper[_0x324bb7(0x1e0)](_0x46ec9e,scripts['saveTestResults'],_0x13176d);}),logger[_0x1e2d11(0x216)](_0x39b231['BQVGS']);}}}catch(_0x1dfb59){PerformanceTester[_0x1e2d11(0x235)](_0x1dfb59);}}),CodeceptJS[_0x47398e(0x1e1)][_0x47398e(0x24b)]['on'](CodeceptJS[_0x47398e(0x1e1)][_0x47398e(0x1eb)]['comment'],_0xbe924e=>{const _0xf527b2=_0x47398e;try{process[_0xf527b2(0x22f)](_0xf527b2(0x1cc)+process[_0xf527b2(0x1bc)],{'timestamp':new Date()[_0xf527b2(0x1e5)](),'level':_0x39b231[_0xf527b2(0x228)],'message':_0xbe924e,'kind':_0x39b231[_0xf527b2(0x1bb)],'http_response':{}});}catch(_0x41d17f){PerformanceTester[_0xf527b2(0x235)](_0x41d17f);}}),CodeceptJS[_0x47398e(0x1e1)][_0x47398e(0x24b)]['on'](CodeceptJS[_0x47398e(0x1e1)][_0x47398e(0x243)]['before'],_0x30fa8b=>{const _0x4de700=_0x47398e;_0x43478c[_0x4de700(0x22b)](_0x30fa8b);}),CodeceptJS['event'][_0x47398e(0x24b)]['on'](CodeceptJS['event'][_0x47398e(0x243)]['after'],_0x2efb10=>{const _0x44fab0=_0x47398e;_0x43478c[_0x44fab0(0x1d5)](_0x2efb10);});};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a1_0x130bfa=a1_0x2534;(function(_0x5d39fb,_0x2941bd){const _0x5add70=a1_0x2534,_0x50a8b4=_0x5d39fb();while(!![]){try{const _0x1d684e=parseInt(_0x5add70(0x13c))/0x1*(parseInt(_0x5add70(0x11a))/0x2)+parseInt(_0x5add70(0x118))/0x3+-parseInt(_0x5add70(0xf8))/0x4+-parseInt(_0x5add70(0x123))/0x5+-parseInt(_0x5add70(0x113))/0x6+parseInt(_0x5add70(0x114))/0x7+parseInt(_0x5add70(0xd4))/0x8;if(_0x1d684e===_0x2941bd)break;else _0x50a8b4['push'](_0x50a8b4['shift']());}catch(_0x4acb23){_0x50a8b4['push'](_0x50a8b4['shift']());}}}(a1_0x1f53,0x7f3a2));function a1_0x1f53(){const _0xa4eb8a=['findIndex','ehyZV','bootstrapAll','err','198012CvVRfy','test','../../helpers/logger','playwright-firefox','chrome','-cucumber','debug','Failed\x20:\x20','FgFtO','../../helpers/testhub/utils','forEach','firefox','LtYTz','addTests','BROWSERSTACK_TEST_OBSERVABILITY_YML','log','RUmaG','all','initialize','winstonLogger','result','accessibility','testObservability','Workers','stringify','gherkin','browserStackCwd','5305278PyqxoX','5265134sraFRw','createGroupsOfSuites','false','BrowserStackPlugin','850464ORJuMh','FRAMEWORKS','1482734fVMzDZ','ueOFS','FoyPG','getPlaywrightUrl','child_process','moBXw','config','../../helpers/test-observability/sessionHandler','fVJVn','3859230yzLeoO','root','split','YcyyF','profile','mergeDeep','getPlatformName','event','qFHZz','aUXhr','enabled','info','DOApR','stop','accessibilityOptions','length','EMTgt','errorMessage','cwd','../../helpers/helper','OMijU','BBBLo','map','browser','spawn','1lhchaW','UMHYo','join','stack','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','browserName','testContextOptions','crNSW','1|2|4|0|3','nqYyE','BROWSERSTACK_TEST_ACCESSIBILITY_YML','helpers','printResults','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','BROWSERSTACK_RERUN_TESTS','existsSync','--config','../../helpers/test-observability/utils','JMGzG','dirname','plugins','parallelsPerPlatform','OBSzo','xaASf','chromium','codeceptjs/lib/index.js','path','isUndefined','process','3597336xppCbb','WebDriver','title','CODECEPT','hSluE','finalExecution','run','getUserWorkerCount','Passed\x20:\x20','codeceptjs','passed','now','Playwright','format','codecept.json','addConfig','../../helpers/BrowserStackSetup','validPlatformsPresent','../utils/constants','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','playwright-webkit','ubhaD','MTNAC','env','failed','teardownAll','eUyQe','push','isTrue','MXWLf','skipSessionName','psVzy'];a1_0x1f53=function(){return _0xa4eb8a;};return a1_0x1f53();}const fs=require('fs'),path=require(a1_0x130bfa(0xd1)),util=require('util'),{spawn}=require(a1_0x130bfa(0x11e)),process=require(a1_0x130bfa(0xd3)),logger=require(a1_0x130bfa(0xfa))[a1_0x130bfa(0x10b)],{default:BrowserStackSetup}=require(a1_0x130bfa(0xe4)),helper=require(a1_0x130bfa(0x136)),{createAccessibilityTestRun,stopAccessibilityTestRun,checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require('../../helpers/helper'),CodeceptJS=requireModule(a1_0x130bfa(0xd0)),SessionHandler=require(a1_0x130bfa(0x121)),testOpsHelper=require(a1_0x130bfa(0xc8)),{shouldProcessEventForTesthub}=require(a1_0x130bfa(0x101)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require(a1_0x130bfa(0xe6)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x331f46,_0xdf7f22)=>{const _0x28ee79=a1_0x130bfa,_0x638548={};_0x638548[_0x28ee79(0x12b)]=function(_0x5108da,_0x1ab9fe){return _0x5108da===_0x1ab9fe;},_0x638548[_0x28ee79(0xee)]='codecept.conf.js',_0x638548[_0x28ee79(0x104)]=_0x28ee79(0xe2);const _0x2b09d0=_0x638548;let _0x3e774e=null;const _0x223e83={};let _0x56d8e1=_0xdf7f22[_0x28ee79(0xf4)](_0xe74252=>_0xe74252===_0x28ee79(0xc7));_0x2b09d0[_0x28ee79(0x12b)](_0x56d8e1,-0x1)&&(_0x56d8e1=_0xdf7f22[_0x28ee79(0xf4)](_0x24a29d=>_0x24a29d==='-c'));if(!helper[_0x28ee79(0xd2)](_0x331f46['config'])&&fs[_0x28ee79(0xc6)](path[_0x28ee79(0x13e)](process[_0x28ee79(0x135)](),_0x331f46[_0x28ee79(0x120)])))_0x3e774e=path[_0x28ee79(0x13e)](process[_0x28ee79(0x135)](),_0x331f46['config']),_0xdf7f22['slice'](_0x56d8e1,0x2);else{if(!helper[_0x28ee79(0xd2)](_0x331f46['c'])&&fs[_0x28ee79(0xc6)](path[_0x28ee79(0x13e)](process[_0x28ee79(0x135)](),_0x331f46['c'])))_0x3e774e=path['join'](process['cwd'](),_0x331f46['c']),_0xdf7f22['slice'](_0x56d8e1,0x2);else{if(fs[_0x28ee79(0xc6)](path['join'](process[_0x28ee79(0x135)](),_0x2b09d0[_0x28ee79(0xee)])))_0x3e774e=path[_0x28ee79(0x13e)](process[_0x28ee79(0x135)](),_0x2b09d0[_0x28ee79(0xee)]);else fs[_0x28ee79(0xc6)](path[_0x28ee79(0x13e)](process[_0x28ee79(0x135)](),_0x2b09d0[_0x28ee79(0x104)]))&&(_0x3e774e=path[_0x28ee79(0x13e)](process['cwd'](),_0x2b09d0[_0x28ee79(0x104)]));}}return _0x3e774e;},getO11yRerunPattern=()=>{const _0x149d6b=a1_0x130bfa,_0x260092={};_0x260092['ubhaD']=function(_0x47d253,_0x373903){return _0x47d253!==_0x373903;},_0x260092['xaASf']='null';const _0x7f0be8=_0x260092,_0x2d98d7=helper[_0x149d6b(0xf0)](process[_0x149d6b(0xeb)]['BROWSERSTACK_RERUN']);if(_0x2d98d7){const _0x3e1a2b=process[_0x149d6b(0xeb)][_0x149d6b(0xc5)],_0x1c9934=[];if(_0x7f0be8[_0x149d6b(0xe9)](_0x3e1a2b,_0x7f0be8[_0x149d6b(0xce)])&&!helper[_0x149d6b(0xd2)](_0x3e1a2b)){_0x3e1a2b[_0x149d6b(0x125)](',')[_0x149d6b(0x139)](_0x4a2a73=>{const _0x1f5e66=_0x149d6b;_0x1c9934[_0x1f5e66(0xef)]('('+_0x4a2a73['trim']()+')');});const _0x51da1f='^'+_0x1c9934[_0x149d6b(0x13e)]('|')+'$';return _0x51da1f;}}return null;},a1_0x9382f1={};a1_0x9382f1[a1_0x130bfa(0xfc)]=a1_0x130bfa(0xcf),a1_0x9382f1['playwright-chromium']=a1_0x130bfa(0xcf),a1_0x9382f1[a1_0x130bfa(0xfb)]=a1_0x130bfa(0x103),a1_0x9382f1[a1_0x130bfa(0xe8)]='webkit';const pwToCodeceptBrowser=a1_0x9382f1;async function run(_0x329765,_0x5095f7){const _0x5ee2b2=a1_0x130bfa,_0x3c7f7e={'MTNAC':function(_0x24d841,_0x2dc217){return _0x24d841+_0x2dc217;},'crNSW':function(_0x4717fb,_0x3b5096){return _0x4717fb(_0x3b5096);},'DfxMD':function(_0x39faae,_0x4b0f8a){return _0x39faae+_0x4b0f8a;},'ueOFS':function(_0x2f7bb3,_0x3be827,_0x12f9a4){return _0x2f7bb3(_0x3be827,_0x12f9a4);},'MXWLf':_0x5ee2b2(0x120),'fVJVn':_0x5ee2b2(0xc1),'OBSzo':function(_0x5184af){return _0x5184af();},'aUXhr':_0x5ee2b2(0xff),'JMGzG':_0x5ee2b2(0xdc),'PQJis':'Started\x20:\x20','DOApR':_0x5ee2b2(0xbe),'BBBLo':_0x5ee2b2(0xdd),'ehyZV':function(_0x5482b8,_0x4e7b87,_0x4fe73e){return _0x5482b8(_0x4e7b87,_0x4fe73e);},'UMHYo':function(_0x4e6ece,_0x1c9bbc){return _0x4e6ece(_0x1c9bbc);},'EMTgt':_0x5ee2b2(0xc3),'psVzy':_0x5ee2b2(0xe0),'FgFtO':'WebDriver','nqYyE':function(_0x1c6cd3,_0x3d1b7e){return _0x1c6cd3!=_0x3d1b7e;},'OMijU':_0x5ee2b2(0x116),'AogtE':function(_0x38699b,_0x241d4b){return _0x38699b+_0x241d4b;},'BUPmT':_0x5ee2b2(0x111),'hSluE':_0x5ee2b2(0xfd),'JEjlq':function(_0x5bf35b,_0x34f540){return _0x5bf35b(_0x34f540);},'uJkkz':function(_0x138f0e){return _0x138f0e();},'moBXw':function(_0x375521,_0x1a5b5e){return _0x375521*_0x1a5b5e;},'RUmaG':_0x5ee2b2(0x124),'gmPlz':'BrowserStackPlugin.js','FoyPG':_0x5ee2b2(0x112),'YcyyF':function(_0xb96881){return _0xb96881();}},_0x5691e5=new BrowserStackSetup(_0x329765,_0x3c7f7e[_0x5ee2b2(0x138)]);await _0x5691e5[_0x5ee2b2(0x10a)](),await helper['handleApp'](_0x5691e5[_0x5ee2b2(0x120)]);if(!_0x5691e5[_0x5ee2b2(0x120)])return;process['profile']=_0x329765[_0x5ee2b2(0x127)];_0x329765[_0x5ee2b2(0x127)]&&(process[_0x5ee2b2(0xeb)][_0x5ee2b2(0x127)]=_0x329765[_0x5ee2b2(0x127)]);const _0x2c4d95=_0x3c7f7e[_0x5ee2b2(0xf5)](getUserCodeceptJSConfigs,_0x329765,_0x5095f7);let _0x36a951={};_0x2c4d95?(logger[_0x5ee2b2(0x12e)](_0x5ee2b2(0xc4)+_0x2c4d95),_0x36a951=_0x3c7f7e[_0x5ee2b2(0x13d)](require,_0x2c4d95)):logger[_0x5ee2b2(0x12e)](_0x3c7f7e[_0x5ee2b2(0x133)]);let _0x279f50=![];_0x3c7f7e[_0x5ee2b2(0xf5)](nestedKeyValue,_0x36a951,[_0x3c7f7e[_0x5ee2b2(0xf1)],_0x3c7f7e[_0x5ee2b2(0x122)],_0x3c7f7e[_0x5ee2b2(0xf3)]])&&(_0x279f50=!![]);const _0x11d5cb=_0x279f50?_0x3c7f7e['psVzy']:_0x3c7f7e[_0x5ee2b2(0x100)];let _0x4096d7=!_0x279f50?helper['useW3C'](_0x5691e5[_0x5ee2b2(0x120)]):![];!helper[_0x5ee2b2(0xd2)](_0x5691e5[_0x5ee2b2(0x120)][_0x5ee2b2(0x131)])&&(process[_0x5ee2b2(0xeb)][_0x5ee2b2(0xe7)]=JSON[_0x5ee2b2(0x110)](_0x5691e5['config'][_0x5ee2b2(0x131)]));let _0x2d7611=_0x5691e5['config'][_0x5ee2b2(0x10d)];_0x2d7611=_0x2d7611||_0x3c7f7e[_0x5ee2b2(0xbd)](checkAccessibilityPlatformConfig,_0x5691e5[_0x5ee2b2(0x120)]),process['env'][_0x5ee2b2(0xc0)]=_0x2d7611;_0x2d7611&&(_0x4096d7=!_0x2d7611);_0x3c7f7e[_0x5ee2b2(0xbf)](_0x5691e5[_0x5ee2b2(0x120)][_0x5ee2b2(0x10e)],null)?process[_0x5ee2b2(0xeb)][_0x5ee2b2(0x106)]=_0x5691e5[_0x5ee2b2(0x120)][_0x5ee2b2(0x10e)]:process[_0x5ee2b2(0xeb)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x3c7f7e[_0x5ee2b2(0x137)];const _0xf078c3=_0x3c7f7e['AogtE'](_0x3c7f7e[_0x5ee2b2(0x138)],_0x3c7f7e[_0x5ee2b2(0x11b)](nestedKeyValue,_0x36a951,[_0x3c7f7e[_0x5ee2b2(0xf1)],_0x3c7f7e['BUPmT']])?_0x3c7f7e[_0x5ee2b2(0xd8)]:''),_0x2f8a9d=await TestHubHandler['launchBuild'](_0xf078c3,_0x5691e5);_0x2d7611&&_0x3c7f7e['JEjlq'](setAccessibilityCapabilities,_0x5691e5[_0x5ee2b2(0x120)]);const _0x2047ce={},_0xabf4e7=[],_0x32b9a3=_0x5691e5[_0x5ee2b2(0x120)][_0x5ee2b2(0xcc)]||helper[_0x5ee2b2(0xdb)](_0x329765,_0x5095f7,_0x5691e5[_0x5ee2b2(0x120)],constants[_0x5ee2b2(0x119)]['CODECEPT'])||0x1;let _0x1b4c8c=0x1;if(_0x3c7f7e['uJkkz'](isBrowserstackInfra)){const _0x437c63=helper['prepareCapabilities'](_0x5691e5['config'],_0x4096d7,constants['FRAMEWORKS'][_0x5ee2b2(0xd7)]);helper[_0x5ee2b2(0xe5)](_0x5691e5[_0x5ee2b2(0x120)])?_0x1b4c8c=_0x3c7f7e[_0x5ee2b2(0x11f)](_0x32b9a3,_0x5691e5['config']['platforms'][_0x5ee2b2(0x132)]):_0x1b4c8c=_0x32b9a3,_0x437c63[_0x5ee2b2(0x102)](_0x5b9910=>{const _0x6de180=_0x5ee2b2,_0x678817=_0x3c7f7e['DfxMD'](helper[_0x6de180(0x129)](_0x5b9910,'_'),'_'+Date[_0x6de180(0xdf)]()),_0x7b32d6=((()=>{const _0x1005f5=_0x6de180;if(_0x279f50){const _0x1e4e88=pwToCodeceptBrowser[_0x5b9910[_0x1005f5(0x141)]]||_0x5b9910[_0x1005f5(0x141)];return{'browser':_0x1e4e88,[_0x1e4e88]:{'browserWSEndpoint':_0x3c7f7e[_0x1005f5(0xea)](helper[_0x1005f5(0x11d)](_0x5691e5[_0x1005f5(0x120)]),_0x3c7f7e['crNSW'](encodeURIComponent,JSON['stringify'](_0x5b9910)))}};}const _0x1764bb={};return _0x1764bb['desiredCapabilities']=_0x5b9910,_0x1764bb;})()),_0x52ef89=_0x3c7f7e[_0x6de180(0x11b)](nestedKeyValue,_0x36a951,[_0x3c7f7e[_0x6de180(0xf1)],_0x3c7f7e[_0x6de180(0x122)],_0x11d5cb]);_0x2047ce[_0x678817]=_0x52ef89?helper[_0x6de180(0x128)](_0x7b32d6,_0x52ef89):_0x7b32d6,!_0x279f50&&(_0x2047ce[_0x678817][_0x6de180(0x13a)]=_0x5b9910[_0x6de180(0x141)]||_0x7b32d6['browser']),_0xabf4e7[_0x6de180(0xef)](_0x678817);});}else _0x1b4c8c=0x1,_0x2047ce[_0x3c7f7e['RUmaG']]=_0x36a951[_0x5ee2b2(0x120)],_0xabf4e7[_0x5ee2b2(0xef)](_0x3c7f7e[_0x5ee2b2(0x108)]);const _0x1eccbe={};_0x1eccbe['testConfig']=_0x2c4d95;const _0x563ad2=_0x1eccbe,_0xddd0ad=path[_0x5ee2b2(0x13e)](__dirname,_0x3c7f7e['gmPlz']),_0x1b3351=process[_0x5ee2b2(0x135)]();process['env'][_0x3c7f7e[_0x5ee2b2(0x11c)]]=_0x1b3351,process['chdir'](path[_0x5ee2b2(0xca)](_0x2c4d95));const _0x389d80=new CodeceptJS[(_0x5ee2b2(0x10f))](null,_0x563ad2),_0x4a65bb=_0x389d80[_0x5ee2b2(0x115)](_0x1b4c8c),_0x3ba260=testOpsHelper['isTestObservabilitySession'](),_0x4c796c=_0xabf4e7[_0x5ee2b2(0x139)](_0x2959a7=>{const _0x308d94=_0x5ee2b2,_0x5ebb51={};_0x5ebb51[_0x308d94(0xe0)]=_0x2047ce[_0x2959a7];const _0x3de697={};_0x3de697[_0x308d94(0xd5)]=_0x2047ce[_0x2959a7];const _0x537365=_0x279f50?_0x5ebb51:_0x3de697,_0x58871d=_0x3c7f7e[_0x308d94(0xcd)](getO11yRerunPattern),_0x5c7d50={};_0x5c7d50['helpers']=_0x537365;const _0x3b9aa5={};_0x3b9aa5['require']=_0xddd0ad,_0x3b9aa5[_0x308d94(0x12d)]=!![],_0x3b9aa5[_0x308d94(0xf2)]=_0x5691e5[_0x308d94(0x120)][_0x308d94(0x142)][_0x308d94(0xf2)],_0x3b9aa5['skipSessionStatus']=_0x5691e5['config'][_0x308d94(0x142)]['skipSessionStatus'],_0x3b9aa5[_0x308d94(0x10e)]=_0x3ba260,_0x3b9aa5['frameworkName']=_0xf078c3;const _0x1fbaee={};_0x1fbaee[_0x308d94(0x117)]=_0x3b9aa5;const _0x5d97f4={};return _0x5d97f4[_0x308d94(0xcb)]=_0x1fbaee,helper[_0x308d94(0x128)]({},_0x36a951[_0x308d94(0x120)],_0x3c7f7e[_0x308d94(0xcd)](isBrowserstackInfra)?_0x5c7d50:{},_0x58871d?{'grep':_0x58871d}:{},_0x5d97f4);});for(const _0x494c71 of _0x4c796c){for(const _0x2201c5 of _0x4a65bb){const _0x55147a=_0x389d80[_0x5ee2b2(0x13b)]();_0x55147a[_0x5ee2b2(0x105)](_0x2201c5),_0x55147a[_0x5ee2b2(0xe3)](_0x494c71);}}_0x389d80['on'](CodeceptJS[_0x5ee2b2(0x12a)][_0x5ee2b2(0xf9)][_0x5ee2b2(0xec)],(_0x1e0760,_0x1c05ac)=>{const _0x122a2f=_0x5ee2b2;console[_0x122a2f(0x107)](_0x3c7f7e[_0x122a2f(0x12c)],_0x1e0760[_0x122a2f(0xd6)]);const _0x428625={[_0x1e0760[_0x122a2f(0xd6)]]:_0x1e0760[_0x122a2f(0xf7)][_0x122a2f(0x13f)]};_testErrorData[_0x122a2f(0xef)](_0x428625);}),_0x389d80['on'](CodeceptJS[_0x5ee2b2(0x12a)]['test'][_0x5ee2b2(0xde)],async _0x24c5b7=>{const _0x291237=_0x5ee2b2;console[_0x291237(0x107)](_0x3c7f7e[_0x291237(0xc9)],_0x24c5b7['title']);}),_0x389d80['on'](CodeceptJS[_0x5ee2b2(0x12a)]['test']['before'],async _0x14712e=>{const _0x5a7010=_0x5ee2b2;console[_0x5a7010(0x107)](_0x3c7f7e['PQJis'],_0x14712e[_0x5a7010(0xd6)]);}),_0x389d80['on'](CodeceptJS[_0x5ee2b2(0x12a)][_0x5ee2b2(0x109)][_0x5ee2b2(0x10c)],async()=>{const _0x5cb60e=_0x5ee2b2,_0x593603=_0x3c7f7e[_0x5cb60e(0x12f)][_0x5cb60e(0x125)]('|');let _0x38ff1=0x0;while(!![]){switch(_0x593603[_0x38ff1++]){case'0':try{await TestHubHandler[_0x5cb60e(0x130)]();}catch(_0xf46cdf){logger[_0x5cb60e(0xfe)](_0x5cb60e(0x140)+util[_0x5cb60e(0xe1)](_0xf46cdf));}continue;case'1':_0x5691e5[_0x5cb60e(0x134)]=_testErrorData;continue;case'2':testOpsHelper['printBuildLink']();continue;case'3':_0x389d80[_0x5cb60e(0xc2)]();continue;case'4':helper[_0x5cb60e(0xd9)](_0x5691e5);continue;}break;}});async function _0x409cbe(){const _0x5cb3b2=_0x5ee2b2;try{await _0x389d80[_0x5cb3b2(0xf6)](),await _0x389d80[_0x5cb3b2(0xda)]();}finally{process['chdir'](_0x1b3351),await _0x389d80[_0x5cb3b2(0xed)]();}}_0x3c7f7e[_0x5ee2b2(0x126)](_0x409cbe);}function a1_0x2534(_0x87538,_0x2129b7){const _0x1f533e=a1_0x1f53();return a1_0x2534=function(_0x2534c3,_0x171f30){_0x2534c3=_0x2534c3-0xbd;let _0xab124b=_0x1f533e[_0x2534c3];return _0xab124b;},a1_0x2534(_0x87538,_0x2129b7);}module['exports']=run;
2
+ 'use strict';const a1_0x57660e=a1_0x5864;(function(_0x14ab53,_0x101e10){const _0x2de09b=a1_0x5864,_0x22dd65=_0x14ab53();while(!![]){try{const _0x237ed7=parseInt(_0x2de09b(0x109))/0x1*(parseInt(_0x2de09b(0x149))/0x2)+parseInt(_0x2de09b(0xe8))/0x3+parseInt(_0x2de09b(0x143))/0x4+parseInt(_0x2de09b(0xe2))/0x5+-parseInt(_0x2de09b(0x12a))/0x6*(-parseInt(_0x2de09b(0xf4))/0x7)+parseInt(_0x2de09b(0x152))/0x8+-parseInt(_0x2de09b(0xf3))/0x9;if(_0x237ed7===_0x101e10)break;else _0x22dd65['push'](_0x22dd65['shift']());}catch(_0x14c430){_0x22dd65['push'](_0x22dd65['shift']());}}}(a1_0x3d6d,0x9e265));const fs=require('fs'),path=require(a1_0x57660e(0x12d)),util=require('util'),{spawn}=require('child_process'),process=require(a1_0x57660e(0x106)),logger=require(a1_0x57660e(0xf8))[a1_0x57660e(0x130)],{default:BrowserStackSetup}=require(a1_0x57660e(0xf9)),helper=require('../../helpers/helper'),{createAccessibilityTestRun,stopAccessibilityTestRun,checkAccessibilityPlatformConfig}=require(a1_0x57660e(0x111)),{setAccessibilityCapabilities}=require(a1_0x57660e(0xd4)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require('../../helpers/helper'),CodeceptJS=requireModule(a1_0x57660e(0x14a)),SessionHandler=require(a1_0x57660e(0x123)),testOpsHelper=require(a1_0x57660e(0x119)),{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),TestHubHandler=require(a1_0x57660e(0x10e)),constants=require(a1_0x57660e(0xef)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x18805d,_0x3e965e)=>{const _0x40780b=a1_0x57660e,_0x2bc92b={};_0x2bc92b[_0x40780b(0x116)]=function(_0x1b5945,_0xb60b73){return _0x1b5945===_0xb60b73;},_0x2bc92b[_0x40780b(0x118)]=_0x40780b(0xda),_0x2bc92b[_0x40780b(0x14c)]=_0x40780b(0x14e);const _0xfa46d4=_0x2bc92b;let _0x503bbb=null;const _0x203531={};let _0x37814a=_0x3e965e[_0x40780b(0x13b)](_0x436d59=>_0x436d59===_0x40780b(0x140));_0xfa46d4[_0x40780b(0x116)](_0x37814a,-0x1)&&(_0x37814a=_0x3e965e[_0x40780b(0x13b)](_0x1cf056=>_0x1cf056==='-c'));if(!helper[_0x40780b(0x159)](_0x18805d[_0x40780b(0xe0)])&&fs['existsSync'](path[_0x40780b(0x12e)](process[_0x40780b(0x134)](),_0x18805d[_0x40780b(0xe0)])))_0x503bbb=path['join'](process[_0x40780b(0x134)](),_0x18805d[_0x40780b(0xe0)]),_0x3e965e['slice'](_0x37814a,0x2);else{if(!helper['isUndefined'](_0x18805d['c'])&&fs[_0x40780b(0xf1)](path[_0x40780b(0x12e)](process[_0x40780b(0x134)](),_0x18805d['c'])))_0x503bbb=path[_0x40780b(0x12e)](process[_0x40780b(0x134)](),_0x18805d['c']),_0x3e965e['slice'](_0x37814a,0x2);else{if(fs['existsSync'](path[_0x40780b(0x12e)](process[_0x40780b(0x134)](),_0xfa46d4[_0x40780b(0x118)])))_0x503bbb=path[_0x40780b(0x12e)](process[_0x40780b(0x134)](),_0xfa46d4[_0x40780b(0x118)]);else fs[_0x40780b(0xf1)](path[_0x40780b(0x12e)](process[_0x40780b(0x134)](),_0xfa46d4[_0x40780b(0x14c)]))&&(_0x503bbb=path['join'](process['cwd'](),_0xfa46d4[_0x40780b(0x14c)]));}}return _0x503bbb;},getO11yRerunPattern=()=>{const _0x4e44de=a1_0x57660e,_0x277c5f={};_0x277c5f['zDArt']=function(_0x14c1be,_0x1055f8){return _0x14c1be!==_0x1055f8;},_0x277c5f['zSsaK']='null';const _0x1edf84=_0x277c5f,_0x4289ea=helper[_0x4e44de(0x136)](process[_0x4e44de(0x133)][_0x4e44de(0xd7)]);if(_0x4289ea){const _0xdd0abd=process[_0x4e44de(0x133)]['BROWSERSTACK_RERUN_TESTS'],_0x3b3cc0=[];if(_0x1edf84[_0x4e44de(0xea)](_0xdd0abd,_0x1edf84[_0x4e44de(0x10f)])&&!helper['isUndefined'](_0xdd0abd)){_0xdd0abd['split'](',')[_0x4e44de(0x156)](_0x2955fd=>{const _0x379fe3=_0x4e44de;_0x3b3cc0[_0x379fe3(0x14f)]('('+_0x2955fd[_0x379fe3(0xec)]()+')');});const _0x27634e='^'+_0x3b3cc0[_0x4e44de(0x12e)]('|')+'$';return _0x27634e;}}return null;},a1_0x49ee3a={};function a1_0x3d6d(){const _0x3fa581=['browserStackCwd','skipSessionName','FTymy','initialize','396042TCUSEt','getPlatformName','desiredCapabilities','path','join','result','winstonLogger','yWUjo','chrome','env','cwd','playwright-webkit','isTrue','platforms','pBgMP','zzQxH','Started\x20:\x20','findIndex','gherkin','KkEnx','fhTTj','rXDRU','--config','profile','CODECEPT','3050596txIDVn','now','accessibilityOptions','stack','title','all','3706rVIMvY','codeceptjs/lib/index.js','plugins','IAnLA','TFCtd','codecept.json','push','MEvhU','dirname','137184svfhTF','Workers','XxMBD','0|2|3|1|4','map','spawn','false','isUndefined','crvJL','playwright-firefox','testContextOptions','format','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','MOrLK','firefox','../../bin/playwright/accessibility-helper','passed','testConfig','BROWSERSTACK_RERUN','event','FRAMEWORKS','codecept.conf.js','forEach','BROWSERSTACK_TEST_OBSERVABILITY_YML','info','prepareCapabilities','UdbjQ','config','test','1745595Hdlrnd','jpfOP','root','IusEJ','errorMessage','useW3C','3400632yHCjfc','browser','zDArt','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','trim','BROWSERSTACK_TEST_ACCESSIBILITY_YML','addConfig','../utils/constants','oNEKZ','existsSync','Nalqd','28625544yctyvA','91drNmiQ','createGroupsOfSuites','launchBuild','playwright-chromium','../../helpers/logger','../../helpers/BrowserStackSetup','WebDriver','GZkLk','stringify','skipSessionStatus','fyskz','bootstrapAll','teardownAll','getPlaywrightUrl','browserName','addTests','Passed\x20:\x20','fbCVm','process','debug','chdir','382ElTRmQ','zEVcT','isTestObservabilitySession','printResults','mergeDeep','../../helpers/testhub/testhubHandler','zSsaK','before','../../helpers/accessibility-automation/helper','length','Playwright','require','Failed\x20:\x20','ImtMB','NfWSz','YhIoA','../../helpers/test-observability/utils','err','chromium','accessibility','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','-cucumber','testObservability','log','finalExecution','kaugM','../../helpers/test-observability/sessionHandler','aztKR','codeceptjs'];a1_0x3d6d=function(){return _0x3fa581;};return a1_0x3d6d();}function a1_0x5864(_0x29094e,_0x2a523b){const _0x3d6d3f=a1_0x3d6d();return a1_0x5864=function(_0x586455,_0x3d2223){_0x586455=_0x586455-0xcd;let _0x3b2e94=_0x3d6d3f[_0x586455];return _0x3b2e94;},a1_0x5864(_0x29094e,_0x2a523b);}a1_0x49ee3a[a1_0x57660e(0x132)]=a1_0x57660e(0x11b),a1_0x49ee3a[a1_0x57660e(0xf7)]='chromium',a1_0x49ee3a[a1_0x57660e(0xce)]=a1_0x57660e(0xd3),a1_0x49ee3a[a1_0x57660e(0x135)]='webkit';const pwToCodeceptBrowser=a1_0x49ee3a;async function run(_0x2fe4c0,_0x50b3e5){const _0x300cac=a1_0x57660e,_0x28ac27={'NfWSz':function(_0x57112d,_0x190641){return _0x57112d+_0x190641;},'jpfOP':function(_0x436f09,_0x43f7c3){return _0x436f09(_0x43f7c3);},'pBgMP':function(_0x134d0c,_0x23c31d,_0x44a54d){return _0x134d0c(_0x23c31d,_0x44a54d);},'kaugM':_0x300cac(0xe0),'oNEKZ':'helpers','YrKjM':function(_0x97ad93){return _0x97ad93();},'yWUjo':function(_0xf3a73f){return _0xf3a73f();},'zEVcT':_0x300cac(0x115),'MOrLK':_0x300cac(0x104),'gRvWN':_0x300cac(0x13a),'zzQxH':_0x300cac(0x155),'Nalqd':_0x300cac(0x125),'XxMBD':function(_0x16497a,_0x34e75b){return _0x16497a(_0x34e75b);},'IusEJ':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','aztKR':function(_0x467bf0,_0x3038db,_0x5f37f5){return _0x467bf0(_0x3038db,_0x5f37f5);},'GZkLk':_0x300cac(0x113),'aqWPk':_0x300cac(0xfa),'fhTTj':function(_0x48e900,_0x4cfab0){return _0x48e900!=_0x4cfab0;},'fyskz':_0x300cac(0x158),'UdbjQ':_0x300cac(0x13c),'MEvhU':_0x300cac(0x11e),'QHqnR':function(_0x84f906,_0x19b980){return _0x84f906*_0x19b980;},'KkEnx':_0x300cac(0xe4),'fbCVm':'BrowserStackPlugin.js','TFCtd':_0x300cac(0x126),'crvJL':function(_0x15684f){return _0x15684f();}},_0x5db468=new BrowserStackSetup(_0x2fe4c0,_0x28ac27[_0x300cac(0xf2)]);await _0x5db468[_0x300cac(0x129)](),await helper['handleApp'](_0x5db468[_0x300cac(0xe0)]);if(!_0x5db468[_0x300cac(0xe0)])return;process[_0x300cac(0x141)]=_0x2fe4c0[_0x300cac(0x141)];_0x2fe4c0[_0x300cac(0x141)]&&(process['env'][_0x300cac(0x141)]=_0x2fe4c0[_0x300cac(0x141)]);const _0x88f20e=_0x28ac27[_0x300cac(0x138)](getUserCodeceptJSConfigs,_0x2fe4c0,_0x50b3e5);let _0xe97986={};_0x88f20e?(logger[_0x300cac(0xdd)](_0x300cac(0x11d)+_0x88f20e),_0xe97986=_0x28ac27['XxMBD'](require,_0x88f20e)):logger['info'](_0x28ac27[_0x300cac(0xe5)]);let _0x257db3=![];_0x28ac27[_0x300cac(0x124)](nestedKeyValue,_0xe97986,[_0x28ac27[_0x300cac(0x122)],_0x28ac27[_0x300cac(0xf0)],_0x28ac27[_0x300cac(0xfb)]])&&(_0x257db3=!![]);const _0x1ee13b=_0x257db3?_0x28ac27[_0x300cac(0xfb)]:_0x28ac27['aqWPk'];let _0x41f920=!_0x257db3?helper[_0x300cac(0xe7)](_0x5db468['config']):![];!helper[_0x300cac(0x159)](_0x5db468[_0x300cac(0xe0)][_0x300cac(0x145)])&&(process[_0x300cac(0x133)][_0x300cac(0xeb)]=JSON[_0x300cac(0xfc)](_0x5db468['config']['accessibilityOptions']));let _0x40732d=_0x5db468['config'][_0x300cac(0x11c)];_0x40732d=_0x40732d||_0x28ac27[_0x300cac(0xe3)](checkAccessibilityPlatformConfig,_0x5db468['config']),process[_0x300cac(0x133)][_0x300cac(0xed)]=_0x40732d;_0x40732d&&(_0x41f920=!_0x40732d);_0x28ac27[_0x300cac(0x13e)](_0x5db468[_0x300cac(0xe0)][_0x300cac(0x11f)],null)?process[_0x300cac(0x133)][_0x300cac(0xdc)]=_0x5db468[_0x300cac(0xe0)][_0x300cac(0x11f)]:process[_0x300cac(0x133)][_0x300cac(0xdc)]=_0x28ac27[_0x300cac(0xfe)];const _0x830735=_0x28ac27['NfWSz'](_0x28ac27[_0x300cac(0xf2)],_0x28ac27[_0x300cac(0x138)](nestedKeyValue,_0xe97986,[_0x28ac27[_0x300cac(0x122)],_0x28ac27[_0x300cac(0xdf)]])?_0x28ac27[_0x300cac(0x150)]:''),_0x244ac7=await TestHubHandler[_0x300cac(0xf6)](_0x830735,_0x5db468);_0x40732d&&_0x28ac27[_0x300cac(0x154)](setAccessibilityCapabilities,_0x5db468['config']);const _0x5b4382={},_0x5dbfa9=[],_0x477831=_0x5db468['config']['parallelsPerPlatform']||helper['getUserWorkerCount'](_0x2fe4c0,_0x50b3e5,_0x5db468[_0x300cac(0xe0)],constants[_0x300cac(0xd9)][_0x300cac(0x142)])||0x1;let _0x3ef124=0x1;if(_0x28ac27['yWUjo'](isBrowserstackInfra)){const _0x52e384=helper[_0x300cac(0xde)](_0x5db468[_0x300cac(0xe0)],_0x41f920,constants[_0x300cac(0xd9)][_0x300cac(0x142)]);helper['validPlatformsPresent'](_0x5db468[_0x300cac(0xe0)])?_0x3ef124=_0x28ac27['QHqnR'](_0x477831,_0x5db468[_0x300cac(0xe0)][_0x300cac(0x137)][_0x300cac(0x112)]):_0x3ef124=_0x477831,_0x52e384[_0x300cac(0xdb)](_0x9529ba=>{const _0x1c5ec7=_0x300cac,_0x139f41={'rXDRU':function(_0x451b33,_0x5b0494){const _0x1cd3f2=a1_0x5864;return _0x28ac27[_0x1cd3f2(0x117)](_0x451b33,_0x5b0494);},'FTymy':function(_0x1719d5,_0x256014){return _0x28ac27['jpfOP'](_0x1719d5,_0x256014);}},_0x4cafae=_0x28ac27['NfWSz'](helper[_0x1c5ec7(0x12b)](_0x9529ba,'_'),'_'+Date[_0x1c5ec7(0x144)]()),_0x4daf07=((()=>{const _0x1f2f3f=_0x1c5ec7;if(_0x257db3){const _0x248988=pwToCodeceptBrowser[_0x9529ba[_0x1f2f3f(0x102)]]||_0x9529ba[_0x1f2f3f(0x102)];return{'browser':_0x248988,[_0x248988]:{'browserWSEndpoint':_0x139f41[_0x1f2f3f(0x13f)](helper[_0x1f2f3f(0x101)](_0x5db468['config']),_0x139f41[_0x1f2f3f(0x128)](encodeURIComponent,JSON[_0x1f2f3f(0xfc)](_0x9529ba)))}};}const _0x2bd42a={};return _0x2bd42a[_0x1f2f3f(0x12c)]=_0x9529ba,_0x2bd42a;})()),_0x247619=_0x28ac27['pBgMP'](nestedKeyValue,_0xe97986,[_0x28ac27[_0x1c5ec7(0x122)],_0x28ac27[_0x1c5ec7(0xf0)],_0x1ee13b]);_0x5b4382[_0x4cafae]=_0x247619?helper['mergeDeep'](_0x4daf07,_0x247619):_0x4daf07,!_0x257db3&&(_0x5b4382[_0x4cafae][_0x1c5ec7(0xe9)]=_0x9529ba[_0x1c5ec7(0x102)]||_0x4daf07[_0x1c5ec7(0xe9)]),_0x5dbfa9['push'](_0x4cafae);});}else _0x3ef124=0x1,_0x5b4382[_0x28ac27[_0x300cac(0x13d)]]=_0xe97986[_0x300cac(0xe0)],_0x5dbfa9[_0x300cac(0x14f)](_0x28ac27[_0x300cac(0x13d)]);const _0xd701b0={};_0xd701b0[_0x300cac(0xd6)]=_0x88f20e;const _0x34fac6=_0xd701b0,_0x37bb56=path[_0x300cac(0x12e)](__dirname,_0x28ac27[_0x300cac(0x105)]),_0x2f4da1=process['cwd']();process[_0x300cac(0x133)][_0x28ac27[_0x300cac(0x14d)]]=_0x2f4da1,process[_0x300cac(0x108)](path[_0x300cac(0x151)](_0x88f20e));const _0x5c099a=new CodeceptJS[(_0x300cac(0x153))](null,_0x34fac6),_0x22c366=_0x5c099a[_0x300cac(0xf5)](_0x3ef124),_0x4149db=testOpsHelper[_0x300cac(0x10b)](),_0x336cf8=_0x5dbfa9[_0x300cac(0x156)](_0x39a8f7=>{const _0x2e4188=_0x300cac,_0xb54389={};_0xb54389[_0x2e4188(0x113)]=_0x5b4382[_0x39a8f7];const _0x2b6b18={};_0x2b6b18[_0x2e4188(0xfa)]=_0x5b4382[_0x39a8f7];const _0x559113=_0x257db3?_0xb54389:_0x2b6b18,_0x18ebd4=_0x28ac27['YrKjM'](getO11yRerunPattern),_0x31131a={};_0x31131a['helpers']=_0x559113;const _0x30fed5={};_0x30fed5[_0x2e4188(0x114)]=_0x37bb56,_0x30fed5['enabled']=!![],_0x30fed5['skipSessionName']=_0x5db468[_0x2e4188(0xe0)][_0x2e4188(0xcf)][_0x2e4188(0x127)],_0x30fed5[_0x2e4188(0xfd)]=_0x5db468[_0x2e4188(0xe0)]['testContextOptions']['skipSessionStatus'],_0x30fed5[_0x2e4188(0x11f)]=_0x4149db,_0x30fed5['frameworkName']=_0x830735;const _0x375410={};_0x375410['BrowserStackPlugin']=_0x30fed5;const _0xe123e={};return _0xe123e[_0x2e4188(0x14b)]=_0x375410,helper[_0x2e4188(0x10d)]({},_0xe97986[_0x2e4188(0xe0)],_0x28ac27[_0x2e4188(0x131)](isBrowserstackInfra)?_0x31131a:{},_0x18ebd4?{'grep':_0x18ebd4}:{},_0xe123e);});for(const _0x45c57f of _0x336cf8){for(const _0x343f44 of _0x22c366){const _0x39f2b7=_0x5c099a[_0x300cac(0x157)]();_0x39f2b7[_0x300cac(0x103)](_0x343f44),_0x39f2b7[_0x300cac(0xee)](_0x45c57f);}}_0x5c099a['on'](CodeceptJS[_0x300cac(0xd8)][_0x300cac(0xe1)]['failed'],(_0x32662c,_0x192636)=>{const _0x150b06=_0x300cac;console[_0x150b06(0x120)](_0x28ac27[_0x150b06(0x10a)],_0x32662c[_0x150b06(0x147)]);const _0x4a7db5={[_0x32662c[_0x150b06(0x147)]]:_0x32662c[_0x150b06(0x11a)][_0x150b06(0x146)]};_testErrorData['push'](_0x4a7db5);}),_0x5c099a['on'](CodeceptJS['event'][_0x300cac(0xe1)][_0x300cac(0xd5)],async _0x29e5a8=>{const _0x4b7821=_0x300cac;console[_0x4b7821(0x120)](_0x28ac27[_0x4b7821(0xd2)],_0x29e5a8[_0x4b7821(0x147)]);}),_0x5c099a['on'](CodeceptJS[_0x300cac(0xd8)][_0x300cac(0xe1)][_0x300cac(0x110)],async _0x38b4fe=>{const _0x5ad9fb=_0x300cac;console[_0x5ad9fb(0x120)](_0x28ac27['gRvWN'],_0x38b4fe[_0x5ad9fb(0x147)]);}),_0x5c099a['on'](CodeceptJS[_0x300cac(0xd8)][_0x300cac(0x148)][_0x300cac(0x12f)],async()=>{const _0x174b2e=_0x300cac,_0xea69f9=_0x28ac27[_0x174b2e(0x139)]['split']('|');let _0x42c9a6=0x0;while(!![]){switch(_0xea69f9[_0x42c9a6++]){case'0':_0x5db468[_0x174b2e(0xe6)]=_testErrorData;continue;case'1':try{await TestHubHandler['stop']();}catch(_0x5733ae){logger[_0x174b2e(0x107)](_0x174b2e(0xd1)+util[_0x174b2e(0xd0)](_0x5733ae));}continue;case'2':testOpsHelper['printBuildLink']();continue;case'3':helper[_0x174b2e(0x121)](_0x5db468);continue;case'4':_0x5c099a[_0x174b2e(0x10c)]();continue;}break;}});async function _0x4686fd(){const _0x53778a=_0x300cac;try{await _0x5c099a[_0x53778a(0xff)](),await _0x5c099a['run']();}finally{process[_0x53778a(0x108)](_0x2f4da1),await _0x5c099a[_0x53778a(0x100)]();}}_0x28ac27[_0x300cac(0xcd)](_0x4686fd);}module['exports']=run;
@@ -1 +1 @@
1
- const a2_0x1645d7=a2_0x4d4b;function a2_0x4d4b(_0x47cda3,_0x47faa0){const _0x2dce31=a2_0x2dce();return a2_0x4d4b=function(_0x4d4b3b,_0x5dfe0e){_0x4d4b3b=_0x4d4b3b-0xa8;let _0x3e65a4=_0x2dce31[_0x4d4b3b];return _0x3e65a4;},a2_0x4d4b(_0x47cda3,_0x47faa0);}(function(_0x38ad1c,_0xea7db5){const _0x309bf6=a2_0x4d4b,_0x33bb37=_0x38ad1c();while(!![]){try{const _0x166482=-parseInt(_0x309bf6(0xcf))/0x1+parseInt(_0x309bf6(0xc2))/0x2+parseInt(_0x309bf6(0xd2))/0x3+-parseInt(_0x309bf6(0xdc))/0x4+-parseInt(_0x309bf6(0xe5))/0x5+parseInt(_0x309bf6(0xf7))/0x6+-parseInt(_0x309bf6(0xee))/0x7*(parseInt(_0x309bf6(0xda))/0x8);if(_0x166482===_0xea7db5)break;else _0x33bb37['push'](_0x33bb37['shift']());}catch(_0x1298ff){_0x33bb37['push'](_0x33bb37['shift']());}}}(a2_0x2dce,0xd4658));const {isUndefined,nestedKeyValue}=require(a2_0x1645d7(0xd9)),logger=require(a2_0x1645d7(0xc3))[a2_0x1645d7(0xaa)],PlaywrightSessionDetails=require(a2_0x1645d7(0xbb)),{isAccessibilityAutomationSession}=require(a2_0x1645d7(0xdb)),getOSVersionFromCaps=_0x3f4b57=>{const _0x382e74=a2_0x1645d7,_0x35b3c2={};_0x35b3c2[_0x382e74(0xf9)]=_0x382e74(0xf4),_0x35b3c2['osJzx']=_0x382e74(0xc6),_0x35b3c2[_0x382e74(0xd7)]=_0x382e74(0xd1),_0x35b3c2[_0x382e74(0xcc)]=_0x382e74(0xe3),_0x35b3c2[_0x382e74(0xb5)]=_0x382e74(0xd0);const _0x5e5c27=_0x35b3c2;if(!_0x3f4b57)return null;const _0x132a5b=_0x3f4b57[_0x5e5c27[_0x382e74(0xf9)]],_0x562a47=[_0x5e5c27[_0x382e74(0xf5)],_0x5e5c27['LvcqW'],_0x5e5c27[_0x382e74(0xcc)],_0x5e5c27['nevhE']];for(const _0x5aed1d of _0x562a47){if(_0x132a5b&&_0x132a5b[_0x5aed1d])return _0x132a5b[_0x5aed1d];else{if(_0x3f4b57[_0x5aed1d])return _0x3f4b57[_0x5aed1d];}}return null;};function a2_0x2dce(){const _0x1e6fb1=['Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','frBLD','kHojg','latest','DQCpo','ADLAE','Playwright','searchParams','160282SKtSrl','os_version','platform_version','2461539ADQLZe','includes','cmAvu','automate','constructor','LvcqW','vvCrB','../../helpers/helper','5160wODddY','../../helpers/accessibility-automation/helper','3947164cFoffl','browserVersion','UGYVC','platform','app','IhCxE','gIGjG','osVersion','platformName','4444555GDcDZK','browserName','WoAXf','NQMBf','Vypwo','sessionId','cfEec','deviceName','app-automate','6888tuCDac','accessibilityPlatform','capabilities','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','MvnZt','lnasm','bstack:options','osJzx','browserstack_executor','8844318DsRNAx','hzrBr','qRMDU','bsSessionId','caps','browserstack_accessibility_automation_script','bvYMW','WebDriver','__cloud_provider___','browserstack','winstonLogger','HwsCr','FLouB','playwright-chromium','processWebDriverConfig','shouldPatchExecuteScript','name','browser_version','jZPpE','fetchPlatformDetails','desiredCapabilities','nevhE','GcHnX','NQkOP','muFjR','DjQph','xNYkB','../../bin/playwright/sessionDetails','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','browserWSEndpoint','browser','warn','IgbCG','cpMAk','2492148ZLpqQQ','../../helpers/logger','QKeLk','unknown_grid','platformVersion'];a2_0x2dce=function(){return _0x1e6fb1;};return a2_0x2dce();}exports[a2_0x1645d7(0xb3)]=_0x143c42=>{const _0x48043a=a2_0x1645d7,_0x3129de={'lnasm':_0x48043a(0xc5),'GcHnX':function(_0x5e9aae,_0x40f4a7){return _0x5e9aae===_0x40f4a7;},'hzrBr':_0x48043a(0xfe),'frBLD':function(_0x56b422,_0x4c33e6){return _0x56b422(_0x4c33e6);},'Vypwo':function(_0xcd41a8,_0x5dd352,_0x4d7608){return _0xcd41a8(_0x5dd352,_0x4d7608);},'cfEec':'config','vvCrB':_0x48043a(0xb4),'NQkOP':_0x48043a(0xa9),'xNYkB':'appium:app','HwsCr':_0x48043a(0xe0),'QKeLk':_0x48043a(0xed),'kHojg':_0x48043a(0xd5),'muFjR':function(_0x437b2b,_0x1fc050){return _0x437b2b===_0x1fc050;},'cpMAk':_0x48043a(0xcd),'DQCpo':function(_0x2c9570,_0x532db6,_0x5f2afd){return _0x2c9570(_0x532db6,_0x5f2afd);},'DjQph':'browser','SzUyz':_0x48043a(0xbd),'IhCxE':_0x48043a(0xfb),'OJKfH':function(_0x56afa6,_0x573d4b){return _0x56afa6===_0x573d4b;}};if(!_0x143c42)return null;let _0x33e2ea=global[_0x48043a(0xa8)]||_0x3129de[_0x48043a(0xf3)];if(_0x3129de[_0x48043a(0xb6)](_0x143c42[_0x48043a(0xd6)][_0x48043a(0xb0)],_0x3129de[_0x48043a(0xf8)])){const _0x374f24=_0x143c42[_0x48043a(0xbe)];if(!_0x374f24)return null;const _0x2fc826=_0x374f24[_0x48043a(0xf0)],_0x3dbfdd=_0x3129de[_0x48043a(0xc8)](getOSVersionFromCaps,_0x3129de[_0x48043a(0xe9)](nestedKeyValue,_0x143c42,[_0x3129de[_0x48043a(0xeb)],_0x3129de[_0x48043a(0xd8)]]));return{[_0x33e2ea]:{'browser':_0x2fc826[_0x48043a(0xe6)],'browser_version':_0x2fc826[_0x48043a(0xdd)],'capabilities':_0x2fc826,'platform':_0x2fc826[_0x48043a(0xe4)],'platform_version':_0x2fc826['platformVersion']||_0x3dbfdd,'product':_0x3129de[_0x48043a(0xb6)](global[_0x48043a(0xa8)],_0x3129de[_0x48043a(0xb7)])?_0x2fc826[_0x3129de[_0x48043a(0xba)]]||_0x2fc826[_0x3129de[_0x48043a(0xab)]]?_0x3129de[_0x48043a(0xc4)]:_0x3129de['kHojg']:null,'session_id':_0x374f24[_0x48043a(0xea)]}};}else{if(_0x3129de[_0x48043a(0xb8)](_0x143c42['constructor'][_0x48043a(0xb0)],_0x3129de[_0x48043a(0xc1)])){const _0x4fcfdd=PlaywrightSessionDetails['getDetails']();_0x33e2ea=_0x4fcfdd['cloudProvider']||_0x33e2ea;const _0x345f66=_0x3129de[_0x48043a(0xcb)](nestedKeyValue,_0x143c42,[_0x3129de[_0x48043a(0xeb)],_0x3129de[_0x48043a(0xb9)],_0x3129de['SzUyz']]),_0x4e7524=_0x345f66?JSON['parse'](new URL(_0x345f66)[_0x48043a(0xce)]['get'](_0x3129de[_0x48043a(0xe1)])):{};return{[_0x33e2ea]:{'browser':_0x4fcfdd['browser']||_0x4e7524[_0x48043a(0xe6)],'browser_version':_0x4fcfdd[_0x48043a(0xb1)]||_0x4e7524['browser_version'],'capabilities':_0x4e7524,'platform':_0x4fcfdd[_0x48043a(0xdf)],'platform_version':_0x4fcfdd[_0x48043a(0xd1)],'product':_0x3129de['OJKfH'](global[_0x48043a(0xa8)],_0x3129de[_0x48043a(0xb7)])?_0x4e7524[_0x3129de[_0x48043a(0xba)]]||_0x4e7524[_0x3129de[_0x48043a(0xab)]]?_0x3129de[_0x48043a(0xc4)]:_0x3129de[_0x48043a(0xc9)]:null,'session_id':_0x4fcfdd[_0x48043a(0xfa)]}};}}},exports[a2_0x1645d7(0xae)]=_0x1fbe19=>{const _0x23ca95=a2_0x1645d7,_0x480c44={'rsUbK':function(_0x43be4a){return _0x43be4a();},'NQMBf':function(_0x395d17,_0x136f5){return _0x395d17===_0x136f5;},'dMDIN':_0x23ca95(0xca),'FLouB':function(_0x4f962c,_0x17633f){return _0x4f962c>_0x17633f;},'cmAvu':function(_0x427401,_0x1bb0d1){return _0x427401(_0x1bb0d1);},'bvYMW':_0x23ca95(0xbc),'MvnZt':function(_0x532036,_0x2753e1){return _0x532036===_0x2753e1;},'WoAXf':'chrome','HPeCY':function(_0x111797,_0x4cc89a){return _0x111797===_0x4cc89a;},'jZPpE':_0x23ca95(0xad),'IgbCG':_0x23ca95(0xf1),'PuMxs':_0x23ca95(0xc7)};if(_0x480c44['rsUbK'](isAccessibilityAutomationSession)){const _0x540a39=_0x1fbe19[_0x23ca95(0xbe)],_0x175f70=_0x540a39[_0x23ca95(0xf0)];global[_0x23ca95(0xef)]=!![],!(_0x480c44[_0x23ca95(0xe8)](_0x175f70[_0x23ca95(0xdd)],_0x480c44['dMDIN'])||_0x480c44[_0x23ca95(0xac)](_0x480c44[_0x23ca95(0xd4)](parseInt,_0x175f70[_0x23ca95(0xdd)]),0x5e))&&(logger[_0x23ca95(0xbf)](_0x480c44[_0x23ca95(0xfd)]),global[_0x23ca95(0xef)]=![]),!(_0x480c44[_0x23ca95(0xf2)](_0x175f70[_0x23ca95(0xe6)],_0x480c44[_0x23ca95(0xe7)])||_0x480c44['HPeCY'](_0x175f70[_0x23ca95(0xe6)],_0x480c44[_0x23ca95(0xb2)]))&&(logger[_0x23ca95(0xbf)](_0x480c44[_0x23ca95(0xc0)]),global[_0x23ca95(0xef)]=![]),!_0x480c44[_0x23ca95(0xd4)](isUndefined,_0x175f70[_0x23ca95(0xec)])&&(logger[_0x23ca95(0xbf)](_0x480c44['PuMxs']),global[_0x23ca95(0xef)]=![]);}},exports[a2_0x1645d7(0xaf)]=_0x222d12=>{const _0x336817=a2_0x1645d7,_0x24ecb9={};_0x24ecb9[_0x336817(0xde)]=_0x336817(0xf6),_0x24ecb9[_0x336817(0xe2)]=_0x336817(0xfc);const _0x534622=_0x24ecb9;if(!_0x222d12)return![];return!_0x222d12[_0x336817(0xd3)](_0x534622['UGYVC'])&&!_0x222d12[_0x336817(0xd3)](_0x534622[_0x336817(0xe2)]);};
1
+ function a2_0x545e(_0x3ca04f,_0x18a525){const _0xc7ba6c=a2_0xc7ba();return a2_0x545e=function(_0x545e60,_0x1c8731){_0x545e60=_0x545e60-0xe2;let _0x4e470b=_0xc7ba6c[_0x545e60];return _0x4e470b;},a2_0x545e(_0x3ca04f,_0x18a525);}const a2_0x5cc5e4=a2_0x545e;function a2_0xc7ba(){const _0x5f5bfc=['includes','UvRpr','../../helpers/accessibility-automation/helper','browserstack','../../helpers/logger','get','10268824xgLVPl','5416xdUchC','JyXJL','jZWvj','kFbUH','cDmOw','vMdIL','YKiuc','ALVhJ','Playwright','QKdyL','appium:app','browserName','playwright-chromium','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','AhYtC','constructor','XXZSr','__cloud_provider___','automate','VuBbz','browser_version','bjLyy','platform_version','shouldPatchExecuteScript','khMUc','browserVersion','warn','okqiN','browser','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','YVLQL','caps','Gsdwu','bsSessionId','1849umyBqJ','WyiAK','sessionId','platformName','getDetails','latest','chrome','config','3665ZJxgxJ','processWebDriverConfig','fmZzh','unknown_grid','1504728FuNDOj','capabilities','434SssalT','2298359zfyGdj','winstonLogger','browserstack_accessibility_automation_script','app','SctGS','searchParams','platform','1689942fllMxm','ieUGy','GhbRT','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','xOqgK','browserWSEndpoint','accessibilityPlatform','bMvqB','drbSu','app-automate','deviceName','parse','bstack:options','UTCUJ','zGRva','fetchPlatformDetails','cloudProvider','osVersion','platformVersion','2863737upJVEe'];a2_0xc7ba=function(){return _0x5f5bfc;};return a2_0xc7ba();}(function(_0x36ad75,_0x471bef){const _0x487388=a2_0x545e,_0x575097=_0x36ad75();while(!![]){try{const _0x43d3f4=-parseInt(_0x487388(0x12c))/0x1*(parseInt(_0x487388(0xe7))/0x2)+parseInt(_0x487388(0x102))/0x3+parseInt(_0x487388(0x10a))/0x4*(parseInt(_0x487388(0x134))/0x5)+parseInt(_0x487388(0xef))/0x6+parseInt(_0x487388(0xe8))/0x7+-parseInt(_0x487388(0x109))/0x8+-parseInt(_0x487388(0xe5))/0x9;if(_0x43d3f4===_0x471bef)break;else _0x575097['push'](_0x575097['shift']());}catch(_0x49c45f){_0x575097['push'](_0x575097['shift']());}}}(a2_0xc7ba,0xac203));const {isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a2_0x5cc5e4(0x107))[a2_0x5cc5e4(0xe9)],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require(a2_0x5cc5e4(0x105)),getOSVersionFromCaps=_0x433ab4=>{const _0x13a20a=a2_0x5cc5e4,_0x4750e6={};_0x4750e6[_0x13a20a(0xf7)]=_0x13a20a(0xfb),_0x4750e6[_0x13a20a(0x125)]=_0x13a20a(0x101),_0x4750e6[_0x13a20a(0x10e)]=_0x13a20a(0x120),_0x4750e6[_0x13a20a(0x10f)]=_0x13a20a(0x100),_0x4750e6[_0x13a20a(0xf0)]='os_version';const _0x3cf0b1=_0x4750e6;if(!_0x433ab4)return null;const _0x3028cd=_0x433ab4[_0x3cf0b1['drbSu']],_0x166dca=[_0x3cf0b1[_0x13a20a(0x125)],_0x3cf0b1[_0x13a20a(0x10e)],_0x3cf0b1[_0x13a20a(0x10f)],_0x3cf0b1[_0x13a20a(0xf0)]];for(const _0x4b9ea9 of _0x166dca){if(_0x3028cd&&_0x3028cd[_0x4b9ea9])return _0x3028cd[_0x4b9ea9];else{if(_0x433ab4[_0x4b9ea9])return _0x433ab4[_0x4b9ea9];}}return null;};exports[a2_0x5cc5e4(0xfe)]=_0xfa9947=>{const _0x308a0f=a2_0x5cc5e4,_0x42a45c={'khMUc':_0x308a0f(0xe4),'fmZzh':function(_0x265fea,_0x1d7842){return _0x265fea===_0x1d7842;},'SkVbT':'WebDriver','Gsdwu':function(_0x5e7ec0,_0x3c37e5){return _0x5e7ec0(_0x3c37e5);},'JyXJL':function(_0x8304f3,_0x5f14fb,_0x3d2d45){return _0x8304f3(_0x5f14fb,_0x3d2d45);},'ALVhJ':_0x308a0f(0x133),'kFbUH':'desiredCapabilities','GhbRT':_0x308a0f(0x106),'jZWvj':_0x308a0f(0x114),'YKiuc':_0x308a0f(0xeb),'Xjplt':_0x308a0f(0xf8),'xOqgK':_0x308a0f(0x11c),'XXZSr':_0x308a0f(0x112),'AhYtC':function(_0x581c54,_0x12cf0d,_0x41cee8){return _0x581c54(_0x12cf0d,_0x41cee8);},'Rwztd':_0x308a0f(0x126),'QKdyL':_0x308a0f(0xf4),'bMvqB':_0x308a0f(0x129)};if(!_0xfa9947)return null;let _0x436960=global[_0x308a0f(0x11b)]||_0x42a45c[_0x308a0f(0x122)];if(_0x42a45c[_0x308a0f(0xe3)](_0xfa9947[_0x308a0f(0x119)]['name'],_0x42a45c['SkVbT'])){const _0x4c3a03=_0xfa9947[_0x308a0f(0x126)];if(!_0x4c3a03)return null;const _0x47ef86=_0x4c3a03[_0x308a0f(0xe6)],_0x852ae2=_0x42a45c[_0x308a0f(0x12a)](getOSVersionFromCaps,_0x42a45c[_0x308a0f(0x10b)](nestedKeyValue,_0xfa9947,[_0x42a45c[_0x308a0f(0x111)],_0x42a45c[_0x308a0f(0x10d)]]));return{[_0x436960]:{'browser':_0x47ef86[_0x308a0f(0x115)],'browser_version':_0x47ef86[_0x308a0f(0x123)],'capabilities':_0x47ef86,'platform':_0x47ef86[_0x308a0f(0x12f)],'platform_version':_0x47ef86['platformVersion']||_0x852ae2,'product':_0x42a45c[_0x308a0f(0xe3)](global[_0x308a0f(0x11b)],_0x42a45c[_0x308a0f(0xf1)])?_0x47ef86[_0x42a45c[_0x308a0f(0x10c)]]||_0x47ef86[_0x42a45c[_0x308a0f(0x110)]]?_0x42a45c['Xjplt']:_0x42a45c[_0x308a0f(0xf3)]:null,'session_id':_0x4c3a03[_0x308a0f(0x12e)]}};}else{if(_0x42a45c['fmZzh'](_0xfa9947['constructor']['name'],_0x42a45c[_0x308a0f(0x11a)])){const _0x3027ab=PlaywrightSessionDetails[_0x308a0f(0x130)]();_0x436960=_0x3027ab[_0x308a0f(0xff)]||_0x436960;const _0x3e6327=_0x42a45c[_0x308a0f(0x118)](nestedKeyValue,_0xfa9947,[_0x42a45c[_0x308a0f(0x111)],_0x42a45c['Rwztd'],_0x42a45c[_0x308a0f(0x113)]]),_0x448381=_0x3e6327?JSON[_0x308a0f(0xfa)](new URL(_0x3e6327)[_0x308a0f(0xed)][_0x308a0f(0x108)](_0x42a45c[_0x308a0f(0xf6)])):{};return{[_0x436960]:{'browser':_0x3027ab[_0x308a0f(0x126)]||_0x448381[_0x308a0f(0x115)],'browser_version':_0x3027ab[_0x308a0f(0x11e)]||_0x448381[_0x308a0f(0x11e)],'capabilities':_0x448381,'platform':_0x3027ab[_0x308a0f(0xee)],'platform_version':_0x3027ab['platform_version'],'product':_0x42a45c[_0x308a0f(0xe3)](global['__cloud_provider___'],_0x42a45c[_0x308a0f(0xf1)])?_0x448381[_0x42a45c[_0x308a0f(0x10c)]]||_0x448381[_0x42a45c[_0x308a0f(0x110)]]?_0x42a45c['Xjplt']:_0x42a45c[_0x308a0f(0xf3)]:null,'session_id':_0x3027ab[_0x308a0f(0x12b)]}};}}},exports[a2_0x5cc5e4(0xe2)]=_0x5e3ab5=>{const _0x40216c=a2_0x5cc5e4,_0x1befb1={'EEhXE':function(_0x451251){return _0x451251();},'UTCUJ':function(_0x48214d,_0x1eeae1){return _0x48214d===_0x1eeae1;},'YVLQL':_0x40216c(0x131),'gdVqx':function(_0x3e1715,_0x2a9894){return _0x3e1715>_0x2a9894;},'SctGS':function(_0x4367ee,_0x1fa623){return _0x4367ee(_0x1fa623);},'VuBbz':_0x40216c(0x117),'WyiAK':_0x40216c(0x132),'zGRva':_0x40216c(0x116),'vYbnB':_0x40216c(0xf2),'KJVkc':_0x40216c(0x127)};if(_0x1befb1['EEhXE'](isAccessibilityAutomationSession)){const _0x486141=_0x5e3ab5[_0x40216c(0x126)],_0x5c41fe=_0x486141[_0x40216c(0xe6)];global[_0x40216c(0xf5)]=!![],!(_0x1befb1[_0x40216c(0xfc)](_0x5c41fe[_0x40216c(0x123)],_0x1befb1[_0x40216c(0x128)])||_0x1befb1['gdVqx'](_0x1befb1[_0x40216c(0xec)](parseInt,_0x5c41fe['browserVersion']),0x5e))&&(logger[_0x40216c(0x124)](_0x1befb1[_0x40216c(0x11d)]),global[_0x40216c(0xf5)]=![]),!(_0x1befb1[_0x40216c(0xfc)](_0x5c41fe[_0x40216c(0x115)],_0x1befb1[_0x40216c(0x12d)])||_0x1befb1['UTCUJ'](_0x5c41fe[_0x40216c(0x115)],_0x1befb1[_0x40216c(0xfd)]))&&(logger['warn'](_0x1befb1['vYbnB']),global[_0x40216c(0xf5)]=![]),!_0x1befb1[_0x40216c(0xec)](isUndefined,_0x5c41fe[_0x40216c(0xf9)])&&(logger['warn'](_0x1befb1['KJVkc']),global['accessibilityPlatform']=![]);}},exports[a2_0x5cc5e4(0x121)]=_0x2c8639=>{const _0x2c277d=a2_0x5cc5e4,_0x37ba52={};_0x37ba52[_0x2c277d(0x104)]='browserstack_executor',_0x37ba52[_0x2c277d(0x11f)]=_0x2c277d(0xea);const _0x50fc54=_0x37ba52;if(!_0x2c8639)return![];return!_0x2c8639[_0x2c277d(0x103)](_0x50fc54['UvRpr'])&&!_0x2c8639['includes'](_0x50fc54[_0x2c277d(0x11f)]);};