browserstack-node-sdk 1.42.1 → 1.42.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (176) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/cucumber-sessionDetails.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  50. package/src/bin/cucumber-js/playwright-patcher.js +1 -1
  51. package/src/bin/cucumber-js/test-observability.js +1 -1
  52. package/src/bin/cucumber-js/test.setup.js +1 -1
  53. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  54. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  55. package/src/bin/integrations/command.js +1 -1
  56. package/src/bin/integrations/constants.js +1 -1
  57. package/src/bin/jest/command.js +1 -1
  58. package/src/bin/jest/customImplements/customCircus.js +1 -1
  59. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  60. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  61. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  62. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  63. package/src/bin/jest/jest.setup.js +1 -1
  64. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  65. package/src/bin/jest/test-observability/helper.js +1 -1
  66. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  67. package/src/bin/jest/test-observability/test-details.js +1 -1
  68. package/src/bin/jest/test_before.setup.js +1 -1
  69. package/src/bin/launcher/launcher.js +1 -1
  70. package/src/bin/load/index.js +1 -1
  71. package/src/bin/load/loadUtils.js +1 -1
  72. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  73. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  74. package/src/bin/mocha/command.js +1 -1
  75. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  76. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  77. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  78. package/src/bin/mocha/test.setup.js +1 -1
  79. package/src/bin/nightwatch/command.js +1 -1
  80. package/src/bin/playwright/accessibility-helper.js +1 -1
  81. package/src/bin/playwright/command.js +1 -1
  82. package/src/bin/playwright/globalSetup.js +1 -1
  83. package/src/bin/playwright/mock-process.js +1 -1
  84. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  85. package/src/bin/playwright/patches.js +1 -1
  86. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  87. package/src/bin/playwright/reporter/reporter.js +1 -1
  88. package/src/bin/playwright/reporter/test-details.js +1 -1
  89. package/src/bin/playwright/sessionDetails.js +1 -1
  90. package/src/bin/runner.js +1 -1
  91. package/src/bin/setup.js +1 -1
  92. package/src/bin/test-runner/index.js +1 -1
  93. package/src/bin/test-runner/runTest.js +1 -1
  94. package/src/bin/test-runner/testWorker.js +1 -1
  95. package/src/bin/utils/constants.js +1 -1
  96. package/src/bin/utils/log4jsAppender.js +1 -1
  97. package/src/bin/utils/logPatcher.js +1 -1
  98. package/src/bin/utils/logReportingAPI.js +1 -1
  99. package/src/bin/v2/TestInfo.js +1 -1
  100. package/src/bin/v2/browserstackCLI.js +1 -1
  101. package/src/bin/v2/cliUtils.js +1 -1
  102. package/src/bin/v2/customTagManager.js +1 -1
  103. package/src/bin/v2/eventDispatcher.js +1 -1
  104. package/src/bin/v2/framework/automationFramework.js +1 -1
  105. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  106. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  107. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  108. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  109. package/src/bin/v2/framework/testFramework.js +1 -1
  110. package/src/bin/v2/grpcClient.js +1 -1
  111. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  112. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  113. package/src/bin/v2/instances/trackedContext.js +1 -1
  114. package/src/bin/v2/instances/trackedInstance.js +1 -1
  115. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  116. package/src/bin/v2/modules/baseModule.js +1 -1
  117. package/src/bin/v2/modules/observabilityModule.js +1 -1
  118. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  119. package/src/bin/v2/modules/testhubModule.js +1 -1
  120. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  121. package/src/bin/v2/state/hookState.js +1 -1
  122. package/src/bin/v2/state/testFrameworkState.js +1 -1
  123. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  124. package/src/bin/vanilla-js/command.js +1 -1
  125. package/src/browserStackSdk.js +1 -1
  126. package/src/helpers/BrowserStackSetup.js +1 -1
  127. package/src/helpers/accessibility-automation/constants.js +1 -1
  128. package/src/helpers/accessibility-automation/helper.js +1 -1
  129. package/src/helpers/accessibility-automation/scripts.js +1 -1
  130. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  131. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  132. package/src/helpers/ats/constants.js +1 -1
  133. package/src/helpers/ats/helper.js +1 -1
  134. package/src/helpers/capsMapping.js +1 -1
  135. package/src/helpers/central-scanner/constants.js +1 -1
  136. package/src/helpers/central-scanner/helpers.js +1 -1
  137. package/src/helpers/classLogger.js +1 -1
  138. package/src/helpers/globals.js +1 -1
  139. package/src/helpers/helper.js +1 -1
  140. package/src/helpers/logger.js +1 -1
  141. package/src/helpers/metadata.js +1 -1
  142. package/src/helpers/patchHelper.js +1 -1
  143. package/src/helpers/patchHelpers.js +1 -1
  144. package/src/helpers/percy/Percy.js +1 -1
  145. package/src/helpers/percy/PercyBinary.js +1 -1
  146. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  147. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  148. package/src/helpers/percy/PercySDK.js +1 -1
  149. package/src/helpers/percy/index.js +1 -1
  150. package/src/helpers/percy/utils.js +1 -1
  151. package/src/helpers/performance/constants.js +1 -1
  152. package/src/helpers/performance/performance-tester.js +1 -1
  153. package/src/helpers/playwright-helper.js +1 -1
  154. package/src/helpers/processHelper.js +1 -1
  155. package/src/helpers/request-spy.js +1 -1
  156. package/src/helpers/setKeepAlive.js +1 -1
  157. package/src/helpers/test-observability/constants.js +1 -1
  158. package/src/helpers/test-observability/error-handler.js +1 -1
  159. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  160. package/src/helpers/test-observability/sessionHandler.js +1 -1
  161. package/src/helpers/test-observability/utils.js +1 -1
  162. package/src/helpers/test-orchestration/constants.js +1 -1
  163. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  164. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  165. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  166. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  167. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  168. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  169. package/src/helpers/testhub/constants.js +1 -1
  170. package/src/helpers/testhub/testhubHandler.js +1 -1
  171. package/src/helpers/testhub/utils.js +1 -1
  172. package/src/helpers/timeoutPromise.js +1 -1
  173. package/src/helpers/utilities.js +1 -1
  174. package/src/helpers/w3cMapping.js +1 -1
  175. package/src/hubAllocationMethods.js +1 -1
  176. package/src/index.js +1 -1
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a33_0x4fa9dc=a33_0x5d29;(function(_0x567c65,_0x5a5e60){const _0x396e0f=a33_0x5d29,_0x36c5ab=_0x567c65();while(!![]){try{const _0x11283e=-parseInt(_0x396e0f(0x150))/0x1*(-parseInt(_0x396e0f(0xee))/0x2)+parseInt(_0x396e0f(0xdb))/0x3+-parseInt(_0x396e0f(0xf6))/0x4+parseInt(_0x396e0f(0x145))/0x5*(-parseInt(_0x396e0f(0x155))/0x6)+-parseInt(_0x396e0f(0x16a))/0x7*(parseInt(_0x396e0f(0x178))/0x8)+parseInt(_0x396e0f(0xdf))/0x9*(parseInt(_0x396e0f(0xd9))/0xa)+parseInt(_0x396e0f(0xde))/0xb;if(_0x11283e===_0x5a5e60)break;else _0x36c5ab['push'](_0x36c5ab['shift']());}catch(_0x4c6932){_0x36c5ab['push'](_0x36c5ab['shift']());}}}(a33_0x2e26,0x23142));const chalk=require(a33_0x4fa9dc(0xda)),logger=require(a33_0x4fa9dc(0xf5))[a33_0x4fa9dc(0x140)],helper=require(a33_0x4fa9dc(0x158)),utilities=require('../../helpers/utilities'),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require('../test-runner'),{requireModule,nestedKeyValue}=require(a33_0x4fa9dc(0x158)),{getPercyOptions}=require(a33_0x4fa9dc(0x96)),Base=requireModule(a33_0x4fa9dc(0x89),a33_0x4fa9dc(0x172)),collectFiles=requireModule(a33_0x4fa9dc(0x18e),a33_0x4fa9dc(0x172)),constants=require(a33_0x4fa9dc(0xcc)),PerformanceTester=require(a33_0x4fa9dc(0x112)),PerformanceEvents=require(a33_0x4fa9dc(0xbc))[a33_0x4fa9dc(0x114)],centralScannerConstants=require(a33_0x4fa9dc(0x9b)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),TestHubHandler=require(a33_0x4fa9dc(0x12a));function a33_0x2e26(){const _0x37cdc3=['passes','Phozy','testSuites','failure','exitCode','join','513358WpjyrS','LkcuG','isBrowserstackInfra','tGkjh','useColors','excludeTagsInTestingScope','pGUFQ','../../helpers/logger','1123000yJprue','duration','MlgPx','cliConfig','forEach','jiTUQ','eEHxI','finalExecution','HlpVG','JINea','hideDiff','failed','CKyIN','GaITs','reporter-option','state','parse','getPlatformName','passed','LnLKb','mjs','MMlph','BROWSERSTACK_TEST_ACCESSIBILITY_YML','iGOZs','tgBFD','map','FRAMEWORKS','hasOwnProperty','../../helpers/performance/performance-tester','isEmpty','EVENTS','VjXZb','SDKTestSuccessful','Now,\x20showing\x20logs\x20from\x20mocha','iCCOZ','totalTests','pending','gasoY','finally','doc','results','jNMfP','add','foNVR','isNotUndefined','framework','aEwsF','actual','JZufY','oWgJA','KRnco','BDfHs','../../helpers/testhub/testhubHandler','config','yKLuR','lhPBr','goGjY','cAIgh','PcEfN','MOCHA','rSYSP','recursive','rWMwi','error','spec','GWhEZ','xEIhM','cjs','title','keys','speed','AOgOu','proxySettings','object','winstonLogger','DGPRz','setupTCGAuth','accessibilityOptions','wfFFn','1010IfxsUv','stack','IDryL','bXXUG','getUserWorkerCount','Couldn\x27t\x20write\x20json\x20result\x20to','VVEmI','yyGTD','pUUwH','getTCGConfigFilePaths','ocYRx','1HkCBry','IAvAZ','testObservability','SuTJD','wuFPP','6432ciQYBM','jLXdt','isUndefined','../../helpers/helper','bold','testsPending','message','retries','jmawM','UgQhG','amYkR','initialize','Writing\x20xunit\x20result\x20to\x20file','BpsKg','\x20total','writeFileSync','vhdWo','testsuite','prepareCapabilities','SDK_CLEANUP','xunit','896BsxXKN','BioEb','FjQln','XNTvr','BROWSERSTACK_GRR_US_HUB_URL','yellow','BROWSERSTACK_TEST_OBSERVABILITY_YML','error\x20removing\x20tcg\x20config\x20file','mocha','fullTitle','BQPWh','indexOf','parseTestOrchestrationOptions','platform','6184sGdyAM','getOwnPropertyNames','XjlYR','start','hItWF','validPlatformsPresent','bgRedBright','JfRhx','consoleLog','GIDWe','suiteName','retryTestsOnFailure','err','generateDiff','assign','shouldReRunObservabilityTests','stats','stringify','PYGEk','isPending','call','aivrP','mocha/lib/cli/collect-files.js','green','kWICV','env','mocha/lib/reporters/base.js','getHubUrl','rerunTests','uXjZp','fLEcT','has','rmdirSync','SGSrR','\x0a\x0a\x0a','HSbJo','\x20skipped','eOdvB','zjHWo','../../helpers/percy/utils','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','length','useW3C','VYRqc','../../helpers/central-scanner/constants','toUTCString','fsgwJ','testcase','hkEgZ','log','testsFailed','pUrai','hKUQF','accessibility','expected','bstack:options','failures','debug','lpmxn','pMuMR','push','XpwjT','odUCJ','Mocha\x20Tests','</testsuite>','parseFileNames','platforms','notifyUpdate','configuration','rGPqO','info','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','yZZmn','getCentralUser','file','extension','iJhng','../../helpers/performance/constants','txSxe','Running\x20your\x20mocha\x20tests','unlinkSync','HrdSm','TGrwO','reporterOptions','ignore','json','red','Writing\x20json\x20result\x20to\x20file','Total\x20Suites:\x20','errorMessage','includeTagsInTestingScope','****\x20FAILURES\x20****','WgbzG','../utils/constants','DqtoG','files','NewxV','parallelsPerPlatform','VhDfi','launchBuild','Listing\x20all\x20the\x20failures','hRYlN','exports','central_scanner','AKHAP','printBuildLink','1670mjsSYK','chalk','544398uXhKaL','output','tkEwV','3049486bKLXyA','1323KiCRtr','setUserConfigPath','size','Running\x20your\x20mocha\x20tests\x20across\x20','VWift','ZkVJi','EfJjP','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','FjCIJ'];a33_0x2e26=function(){return _0x37cdc3;};return a33_0x2e26();}function tag(_0x28a3f6,_0x4cfb02,_0x596eae,_0x2f24b3){const _0x181022=a33_0x4fa9dc,_0x835da6={'lhPBr':function(_0xe9174c,_0x33b562){return _0xe9174c+_0x33b562;},'LnLKb':function(_0x35e609,_0x59fdd7){return _0x35e609+_0x59fdd7;},'iJhng':function(_0x3def9b,_0x4a9920){return _0x3def9b(_0x4a9920);},'Phozy':function(_0x41b999,_0x1f30df){return _0x41b999+_0x1f30df;},'aEwsF':function(_0x253273,_0x1d6296){return _0x253273+_0x1d6296;},'FjQln':function(_0x373a03,_0x59a6de){return _0x373a03+_0x59a6de;}},_0x27e5f1=_0x596eae?'/>':'>',_0x6e865=[];let _0x169e96;for(const _0x10e075 in _0x4cfb02){Object['prototype'][_0x181022(0x111)][_0x181022(0x18c)](_0x4cfb02,_0x10e075)&&_0x6e865['push'](_0x835da6[_0x181022(0x12d)](_0x835da6['lhPBr'](_0x835da6[_0x181022(0x109)](_0x10e075,'=\x22'),_0x835da6[_0x181022(0xbb)](escape,_0x4cfb02[_0x10e075])),'\x22'));}return _0x169e96=_0x835da6['LnLKb'](_0x835da6[_0x181022(0xe9)](_0x835da6['aEwsF']('<',_0x28a3f6),_0x6e865[_0x181022(0x98)]?_0x835da6[_0x181022(0x124)]('\x20',_0x6e865[_0x181022(0xed)]('\x20')):''),_0x27e5f1),_0x2f24b3&&(_0x169e96+=_0x835da6[_0x181022(0x16c)](_0x835da6[_0x181022(0x12d)](_0x835da6[_0x181022(0x109)](_0x2f24b3,'</'),_0x28a3f6),_0x27e5f1)),_0x169e96;}let xunitContent='';function xunitWrite(_0x4a7056){xunitContent+=_0x4a7056;}function xunitTest(_0x1d01fc,_0x969bf7){const _0x2dc2fa=a33_0x4fa9dc,_0x12ed85={'ipGOF':function(_0x16029c,_0x30656e){return _0x16029c/_0x30656e;},'yKLuR':function(_0x3dd811,_0x364a42){return _0x3dd811===_0x364a42;},'hkEgZ':_0x2dc2fa(0x101),'hKUQF':function(_0x1ac046,_0x218402){return _0x1ac046+_0x218402;},'GWAoO':function(_0x128bea,_0x44667d){return _0x128bea(_0x44667d);},'PYGEk':function(_0xb897d5,_0x236fff,_0x3e6ae5,_0x4ef822,_0x16ad8c){return _0xb897d5(_0x236fff,_0x3e6ae5,_0x4ef822,_0x16ad8c);},'BDfHs':_0x2dc2fa(0x9e),'eOdvB':function(_0x3c6999,_0xc3128f,_0xdc1ad9,_0x38c401,_0xbe2ba1){return _0x3c6999(_0xc3128f,_0xdc1ad9,_0x38c401,_0xbe2ba1);},'WgbzG':_0x2dc2fa(0xeb),'gasoY':function(_0x283bd0,_0x5c3b98){return _0x283bd0(_0x5c3b98);},'hRYlN':function(_0x248791,_0x25a49c){return _0x248791(_0x25a49c);},'diPgZ':function(_0x1b39c6,_0x5b1752,_0x58a6b2,_0x1c3173,_0x3984e8){return _0x1b39c6(_0x5b1752,_0x58a6b2,_0x1c3173,_0x3984e8);},'DGPRz':function(_0x2f641c,_0x477785,_0x3eb5c5,_0x1bc15d){return _0x2f641c(_0x477785,_0x3eb5c5,_0x1bc15d);},'wfFFn':'skipped','jmawM':function(_0x183790,_0x427e19,_0xeadd7c,_0x48a331){return _0x183790(_0x427e19,_0xeadd7c,_0x48a331);}};Base[_0x2dc2fa(0xf2)]=![];var _0x53844e={'classname':_0x1d01fc['fullTitle'],'name':_0x1d01fc[_0x2dc2fa(0x13a)],'time':_0x12ed85['ipGOF'](_0x1d01fc[_0x2dc2fa(0xf7)],0x3e8)||0x0,'platform':_0x969bf7};if(_0x12ed85[_0x2dc2fa(0x12c)](_0x1d01fc[_0x2dc2fa(0x105)],_0x12ed85[_0x2dc2fa(0x9f)])){var _0x4734cc=_0x1d01fc[_0x2dc2fa(0x184)],_0x2c83bb=!Base[_0x2dc2fa(0x100)]&&Base['showDiff'](_0x4734cc)?_0x12ed85[_0x2dc2fa(0xa3)]('\x0a',Base[_0x2dc2fa(0x185)](_0x4734cc[_0x2dc2fa(0x125)],_0x4734cc[_0x2dc2fa(0xa5)])):'';_0x12ed85['GWAoO'](xunitWrite,_0x12ed85[_0x2dc2fa(0x18a)](tag,_0x12ed85[_0x2dc2fa(0x129)],_0x53844e,![],_0x12ed85[_0x2dc2fa(0x94)](tag,_0x12ed85[_0x2dc2fa(0xcb)],{},![],_0x12ed85[_0x2dc2fa(0xa3)](_0x12ed85['hKUQF'](_0x12ed85[_0x2dc2fa(0xa3)](_0x12ed85[_0x2dc2fa(0x11b)](escape,_0x4734cc[_0x2dc2fa(0x15b)]),_0x12ed85[_0x2dc2fa(0xd4)](escape,_0x2c83bb)),'\x0a'),_0x12ed85['GWAoO'](escape,_0x4734cc['stack'])))));}else _0x1d01fc[_0x2dc2fa(0x18b)]?_0x12ed85['hRYlN'](xunitWrite,_0x12ed85['diPgZ'](tag,_0x12ed85[_0x2dc2fa(0x129)],_0x53844e,![],_0x12ed85[_0x2dc2fa(0x141)](tag,_0x12ed85[_0x2dc2fa(0x144)],{},!![]))):_0x12ed85[_0x2dc2fa(0x11b)](xunitWrite,_0x12ed85[_0x2dc2fa(0x15d)](tag,_0x12ed85[_0x2dc2fa(0x129)],_0x53844e,!![]));};function a33_0x5d29(_0x2fd3b4,_0x3e8fe6){const _0x2e26b9=a33_0x2e26();return a33_0x5d29=function(_0x5d29fd,_0x358051){_0x5d29fd=_0x5d29fd-0x88;let _0x44aa94=_0x2e26b9[_0x5d29fd];return _0x44aa94;},a33_0x5d29(_0x2fd3b4,_0x3e8fe6);}function getStats(_0x5004f3){const _0x147c1e=a33_0x4fa9dc,_0x967c31={};_0x967c31['ZkVJi']='suite',_0x967c31[_0x147c1e(0xa9)]=_0x147c1e(0x108),_0x967c31[_0x147c1e(0x16d)]=_0x147c1e(0x101),_0x967c31[_0x147c1e(0xdd)]=_0x147c1e(0x11e);const _0x43a03c=_0x967c31,_0x30ebdf=Object[_0x147c1e(0x13b)](_0x5004f3);let _0x251fc8=0x0,_0xf69d74=0x0,_0x3aefb6=0x0,_0x3c10b0=0x0;const _0x38259f=new Set();_0x30ebdf[_0x147c1e(0xfa)](_0x44f9c0=>{const _0x5e080b=_0x147c1e;_0x5004f3[_0x44f9c0][_0x43a03c[_0x5e080b(0xdd)]][_0x5e080b(0xfa)](_0x3670ac=>{const _0x46cbd0=_0x5e080b;_0x38259f[_0x46cbd0(0x120)](_0x3670ac[_0x43a03c[_0x46cbd0(0xe4)]]),_0x251fc8++;switch(_0x3670ac[_0x46cbd0(0x105)]){case _0x43a03c[_0x46cbd0(0xa9)]:_0x3aefb6++;break;case _0x43a03c['XNTvr']:_0xf69d74++;break;default:_0x3c10b0++;}});});const _0x188ca4={};return _0x188ca4[_0x147c1e(0xea)]=_0x38259f[_0x147c1e(0xe1)],_0x188ca4[_0x147c1e(0xb1)]=_0x30ebdf,_0x188ca4[_0x147c1e(0x119)]=_0x251fc8,_0x188ca4[_0x147c1e(0xa1)]=_0xf69d74,_0x188ca4['testsPassed']=_0x3aefb6,_0x188ca4[_0x147c1e(0x15a)]=_0x3c10b0,_0x188ca4;}function errorJSON(_0x289685){const _0x47983c=a33_0x4fa9dc;var _0xd0bb0d={};return Object[_0x47983c(0x179)](_0x289685)['forEach'](function(_0x2c8bba){_0xd0bb0d[_0x2c8bba]=_0x289685[_0x2c8bba];},_0x289685),_0xd0bb0d;}function cleanCycles(_0x41b9a3){const _0x795389=a33_0x4fa9dc,_0x2cb640={};_0x2cb640[_0x795389(0x13d)]=function(_0x2ab8a3,_0x46b45b){return _0x2ab8a3===_0x46b45b;},_0x2cb640[_0x795389(0x10d)]=_0x795389(0x13f),_0x2cb640['amYkR']=function(_0x5a007a,_0x2dcb0a){return _0x5a007a!==_0x2dcb0a;},_0x2cb640['HSbJo']=function(_0x2312a2,_0x5905f1){return _0x2312a2!==_0x5905f1;},_0x2cb640[_0x795389(0x12f)]=function(_0x3e66b9,_0x2b595a){return _0x3e66b9+_0x2b595a;};const _0xea9c9b=_0x2cb640;var _0x2df08e=[];return JSON[_0x795389(0x106)](JSON[_0x795389(0x189)](_0x41b9a3,function(_0x5d5d7f,_0x4eb789){const _0x5c12d3=_0x795389;if(_0xea9c9b[_0x5c12d3(0x13d)](typeof _0x4eb789,_0xea9c9b[_0x5c12d3(0x10d)])&&_0xea9c9b[_0x5c12d3(0x15f)](_0x4eb789,null)){if(_0xea9c9b[_0x5c12d3(0x92)](_0x2df08e[_0x5c12d3(0x175)](_0x4eb789),-0x1))return _0xea9c9b['cAIgh']('',_0x4eb789);_0x2df08e[_0x5c12d3(0xab)](_0x4eb789);}return _0x4eb789;}));}function clean(_0x5d004e){const _0x542983=a33_0x4fa9dc,_0x192cd3={'Fxoqx':function(_0x2fef75,_0x4f07af){return _0x2fef75 instanceof _0x4f07af;},'HlpVG':function(_0x3b6dc8,_0x59df93){return _0x3b6dc8(_0x59df93);},'txSxe':function(_0x4a036f,_0x1d3cee){return _0x4a036f(_0x1d3cee);}};var _0x5ef92e=_0x5d004e[_0x542983(0x184)]||{};return _0x192cd3['Fxoqx'](_0x5ef92e,Error)&&(_0x5ef92e=_0x192cd3[_0x542983(0xfe)](errorJSON,_0x5ef92e)),{'title':_0x5d004e[_0x542983(0x13a)],'fullTitle':_0x5d004e[_0x542983(0x173)],'file':_0x5d004e[_0x542983(0xb9)],'duration':_0x5d004e[_0x542983(0xf7)],'currentRetry':_0x5d004e['currentRetry'],'speed':_0x5d004e[_0x542983(0x13c)],'err':_0x192cd3[_0x542983(0xbd)](cleanCycles,_0x5ef92e)};}function printStats(_0x2751bd,_0x45ce40=a33_0x4fa9dc(0x136),_0x1d4b98={}){const _0xf679f0=a33_0x4fa9dc,_0xe8ba6d={'VhDfi':function(_0x27427e,_0x5f54fe){return _0x27427e(_0x5f54fe);},'LkcuG':function(_0x5d2807,_0x24a89e){return _0x5d2807===_0x24a89e;},'GIDWe':_0xf679f0(0x108),'hItWF':_0xf679f0(0xe8),'FjCIJ':_0xf679f0(0x101),'ltFVS':_0xf679f0(0xa7),'VWift':_0xf679f0(0x11a),'tgBFD':_0xf679f0(0x11e),'odUCJ':function(_0x393038,_0xcc0f28){return _0x393038===_0xcc0f28;},'TGrwO':function(_0x4b4a22,_0x1dfaf3){return _0x4b4a22*_0x1dfaf3;},'BQPWh':function(_0x135ace,_0x2081a9,_0x567cdc){return _0x135ace(_0x2081a9,_0x567cdc);},'JfRhx':function(_0x252834,_0x5d89e9){return _0x252834>_0x5d89e9;},'GaITs':function(_0x3793e3){return _0x3793e3();},'IDryL':_0xf679f0(0x11d),'bXXUG':function(_0x4f6e3,_0x2220fc){return _0x4f6e3>_0x2220fc;},'yyGTD':'Setting\x20non\x20exit\x20code\x20for\x20failures','KRnco':'Printing\x20stats\x20of\x20tests','pUUwH':function(_0x184a57,_0x76cb54){return _0x184a57+_0x76cb54;},'uKIZA':'Total\x20Platforms:\x20','YFLWI':function(_0x23273e,_0x17e300){return _0x23273e+_0x17e300;},'JZufY':_0xf679f0(0xc7),'MlgPx':function(_0x521460,_0x1c47a1){return _0x521460+_0x1c47a1;},'MMlph':function(_0x163611,_0x36ea5d){return _0x163611+_0x36ea5d;},'yZZmn':function(_0x3041d7,_0x4a7af1){return _0x3041d7+_0x4a7af1;},'vhdWo':'Tests:\x20\x20\x20\x20\x20\x20\x20','pUrai':function(_0x2d7bd6,_0x2e4467){return _0x2d7bd6+_0x2e4467;},'zspzi':function(_0x5a1254,_0x460e15){return _0x5a1254+_0x460e15;},'jiTUQ':function(_0x13d4e3,_0x129f26){return _0x13d4e3+_0x129f26;},'GMbGE':_0xf679f0(0x91),'JINea':function(_0x4ee259,_0x4c3102){return _0x4ee259===_0x4c3102;},'ocYRx':_0xf679f0(0xc4),'Ovxos':_0xf679f0(0xc6),'AKHAP':_0xf679f0(0x14a),'XpwjT':'No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','fsgwJ':_0xf679f0(0x169),'BioEb':_0xf679f0(0xae),'VjXZb':function(_0x40f017,_0x52aee8){return _0x40f017||_0x52aee8;},'NewxV':function(_0x48677d,_0x5df113,_0x47b3f8,_0x301fd0){return _0x48677d(_0x5df113,_0x47b3f8,_0x301fd0);},'DqtoG':_0xf679f0(0x166),'jLXdt':function(_0x2be761,_0x860bff){return _0x2be761-_0x860bff;},'kWICV':function(_0x4720f8,_0x55eae5){return _0x4720f8/_0x55eae5;},'pGUFQ':_0xf679f0(0xaf),'dBWON':_0xf679f0(0x161),'VVEmI':'Couldn\x27t\x20write\x20xunit\x20result\x20to','rWMwi':_0xf679f0(0x97),'OQdgn':function(_0x12f08a,_0x385acb){return _0x12f08a===_0x385acb;},'IAvAZ':_0xf679f0(0xd3),'eEHxI':_0xf679f0(0xca)};if(_0xe8ba6d[_0xf679f0(0xef)](_0x45ce40,_0xe8ba6d[_0xf679f0(0x147)]))return;const _0x319e92=0x0,_0x7518a4=()=>{const _0x2d56dd=_0xf679f0;return _0xe8ba6d[_0x2d56dd(0xd1)](Array,_0x319e92)[_0x2d56dd(0xed)]('\x20\x20');},{testSuites:_0x25fd28,platforms:_0x1b978a,totalTests:_0x490f89,testsFailed:_0x4e3e8d,testsPassed:_0x1d98c1,testsPending:_0x2aaa35}=_0xe8ba6d[_0xf679f0(0xd1)](getStats,_0x2751bd);_0xe8ba6d[_0xf679f0(0x148)](_0x4e3e8d,0x0)&&(logger[_0xf679f0(0xa8)](_0xe8ba6d[_0xf679f0(0x14c)]),process[_0xf679f0(0xec)]=Math['min'](_0x4e3e8d,0xff));logger[_0xf679f0(0xa8)](_0xe8ba6d[_0xf679f0(0x128)]);const _0x2a1d0c=''+_0xe8ba6d[_0xf679f0(0x14d)](chalk[_0xf679f0(0x159)](_0xe8ba6d['uKIZA']),_0x1b978a[_0xf679f0(0x98)]),_0x54db69=''+_0xe8ba6d['YFLWI'](chalk[_0xf679f0(0x159)](_0xe8ba6d[_0xf679f0(0x126)]),_0x25fd28),_0x235f6c=''+_0xe8ba6d[_0xf679f0(0xf8)](_0xe8ba6d[_0xf679f0(0x10b)](_0xe8ba6d[_0xf679f0(0xb7)](chalk['bold'](_0xe8ba6d[_0xf679f0(0x165)]),_0xe8ba6d[_0xf679f0(0x17f)](_0x4e3e8d,0x0)?chalk[_0xf679f0(0x159)][_0xf679f0(0xc5)](_0x4e3e8d+'\x20failed')+',\x20':''),_0xe8ba6d['bXXUG'](_0x2aaa35,0x0)?chalk[_0xf679f0(0x159)][_0xf679f0(0x16f)](_0x2aaa35+_0xf679f0(0x93))+',\x20':''),_0xe8ba6d[_0xf679f0(0x17f)](_0x1d98c1,0x0)?chalk[_0xf679f0(0x159)][_0xf679f0(0x18f)](_0x1d98c1+'\x20passed')+',\x20':'')+_0x490f89+_0xf679f0(0x163);console[_0xf679f0(0xa0)](_0xe8ba6d['pUrai'](_0xe8ba6d[_0xf679f0(0xb7)](_0xe8ba6d['zspzi'](_0xe8ba6d[_0xf679f0(0xfb)](_0xe8ba6d[_0xf679f0(0xa2)](_0xe8ba6d['GMbGE'],_0x2a1d0c),'\x0a'),_0x54db69),'\x0a'),_0x235f6c));if(_0xe8ba6d[_0xf679f0(0xff)](_0x45ce40,_0xe8ba6d[_0xf679f0(0x14f)])){const _0x1f90a5={},_0x48aa49={};_0x48aa49['testSuites']=_0x25fd28,_0x48aa49[_0xf679f0(0xb1)]=_0x1b978a,_0x48aa49['testsFailed']=_0x4e3e8d,_0x48aa49['testsPassed']=_0x1d98c1,_0x48aa49['testsPending']=_0x2aaa35,_0x1f90a5[_0xf679f0(0x188)]=_0x48aa49,_0x1b978a[_0xf679f0(0xfa)](_0x9352c5=>{const _0x430edf=_0xf679f0,_0x4a1fa0={'DCeSn':function(_0x2b3aa7,_0x150bf6){const _0x52cba9=a33_0x5d29;return _0xe8ba6d[_0x52cba9(0xef)](_0x2b3aa7,_0x150bf6);},'BpsKg':_0xe8ba6d[_0x430edf(0x181)],'SGSrR':_0xe8ba6d[_0x430edf(0x17c)],'IzGXN':function(_0x5d10c2,_0x17728b){return _0xe8ba6d['VhDfi'](_0x5d10c2,_0x17728b);},'oWgJA':function(_0x1a46af,_0x138714){const _0x31bd36=_0x430edf;return _0xe8ba6d[_0x31bd36(0xef)](_0x1a46af,_0x138714);},'wuFPP':_0xe8ba6d[_0x430edf(0xe7)],'EfJjP':_0xe8ba6d['ltFVS'],'QYqWa':function(_0xf8d7c9,_0x3f9e1d){const _0x5bf36e=_0x430edf;return _0xe8ba6d[_0x5bf36e(0xd1)](_0xf8d7c9,_0x3f9e1d);},'zjHWo':_0xe8ba6d[_0x430edf(0xe3)],'tGkjh':function(_0x4409a6,_0x218092){const _0x4befee=_0x430edf;return _0xe8ba6d[_0x4befee(0xd1)](_0x4409a6,_0x218092);}};_0x1f90a5[_0x9352c5]={'pending':[],'failures':[],'passes':[],'tests':_0x2751bd[_0x9352c5][_0xe8ba6d[_0x430edf(0x10e)]][_0x430edf(0x10f)](clean)},_0x2751bd[_0x9352c5][_0xe8ba6d[_0x430edf(0x10e)]]['forEach'](_0x4089d1=>{const _0x1c8986=_0x430edf;if(_0x4a1fa0['DCeSn'](_0x4089d1[_0x1c8986(0x105)],_0x4a1fa0[_0x1c8986(0x162)]))_0x1f90a5[_0x9352c5][_0x4a1fa0[_0x1c8986(0x90)]][_0x1c8986(0xab)](_0x4a1fa0['IzGXN'](clean,_0x4089d1));else _0x4a1fa0[_0x1c8986(0x127)](_0x4089d1['state'],_0x4a1fa0[_0x1c8986(0x154)])?_0x1f90a5[_0x9352c5][_0x4a1fa0[_0x1c8986(0xe5)]]['push'](_0x4a1fa0['QYqWa'](clean,_0x4089d1)):_0x1f90a5[_0x9352c5][_0x4a1fa0[_0x1c8986(0x95)]]['push'](_0x4a1fa0[_0x1c8986(0xf1)](clean,_0x4089d1));});});if(_0x1d4b98[_0xf679f0(0xdc)])try{logger[_0xf679f0(0xa8)](_0xe8ba6d['Ovxos'],_0x1d4b98[_0xf679f0(0xdc)]),fs[_0xf679f0(0x164)](_0x1d4b98[_0xf679f0(0xdc)],JSON[_0xf679f0(0x189)](_0x1f90a5,null,0x3));}catch(_0x45f092){logger[_0xf679f0(0x135)](_0xe8ba6d[_0xf679f0(0xd7)],_0x1d4b98[_0xf679f0(0xdc)]),logger[_0xf679f0(0xa8)](_0x45f092);}else logger[_0xf679f0(0xa8)](_0xe8ba6d[_0xf679f0(0xac)]),console[_0xf679f0(0xa0)](JSON[_0xf679f0(0x189)](_0x1f90a5,null,0x3));}else{if(_0xe8ba6d[_0xf679f0(0xad)](_0x45ce40,_0xe8ba6d[_0xf679f0(0x9d)])){let _0x31393b;const _0x38bca3=_0xe8ba6d[_0xf679f0(0x16b)];_0x1d4b98&&(_0x31393b=_0x1d4b98[_0xf679f0(0x182)]);_0x31393b=_0xe8ba6d[_0xf679f0(0x115)](_0x31393b,_0x38bca3);let _0x1a3713=0x0,_0x39e3aa=0x0,_0x2210df=0x0,_0x483275=0x0;_0x1b978a[_0xf679f0(0xfa)](_0x22abff=>{const _0x517593=_0xf679f0;_0x2751bd[_0x22abff][_0xe8ba6d[_0x517593(0x10e)]]['forEach'](_0xd1ea42=>{const _0x269b49=_0x517593;if(_0xe8ba6d[_0x269b49(0xef)](_0xd1ea42['state'],_0xe8ba6d['GIDWe']))_0x1a3713++;else _0xe8ba6d['odUCJ'](_0xd1ea42[_0x269b49(0x105)],_0xe8ba6d['FjCIJ'])&&_0x39e3aa++;_0x2210df++,_0x483275+=_0xe8ba6d[_0x269b49(0xc1)](_0xd1ea42[_0x269b49(0xf7)],0x1);});}),_0xe8ba6d[_0xf679f0(0xd1)](xunitWrite,_0xe8ba6d[_0xf679f0(0xcf)](tag,_0xe8ba6d[_0xf679f0(0xcd)],{'name':_0x31393b,'tests':_0x2210df,'failures':0x0,'errors':_0x39e3aa,'skipped':_0xe8ba6d['jLXdt'](_0xe8ba6d[_0xf679f0(0x156)](_0x2210df,_0x39e3aa),_0x1a3713),'timestamp':new Date()[_0xf679f0(0x9c)](),'time':_0xe8ba6d[_0xf679f0(0x190)](_0x483275,0x3e8)||0x0},![])),_0x1b978a[_0xf679f0(0xfa)](_0x821b82=>{const _0x101569=_0xf679f0;_0x2751bd[_0x821b82][_0xe8ba6d['tgBFD']][_0x101569(0xfa)](_0x2c6b56=>{const _0x4497e5=_0x101569;_0xe8ba6d[_0x4497e5(0x174)](xunitTest,_0x2c6b56,_0x821b82);});}),_0xe8ba6d[_0xf679f0(0xd1)](xunitWrite,_0xe8ba6d[_0xf679f0(0xf4)]);if(_0x1d4b98[_0xf679f0(0xdc)])try{logger[_0xf679f0(0xa8)](_0xe8ba6d['dBWON'],_0x1d4b98['output']),fs['writeFileSync'](_0x1d4b98['output'],xunitContent);}catch(_0x2754b6){logger['error'](_0xe8ba6d[_0xf679f0(0x14b)],_0x1d4b98[_0xf679f0(0xdc)]),logger[_0xf679f0(0xa8)](_0x2754b6);}else logger[_0xf679f0(0xa8)](_0xe8ba6d[_0xf679f0(0x134)]),console[_0xf679f0(0xa0)](xunitContent);}else{if(_0xe8ba6d['OQdgn'](_0x4e3e8d,0x0))return;console['log'](),logger[_0xf679f0(0xa8)](_0xe8ba6d[_0xf679f0(0x151)]),console[_0xf679f0(0xa0)](chalk[_0xf679f0(0x159)][_0xf679f0(0x17e)](_0xe8ba6d[_0xf679f0(0xfc)])),_0x1b978a[_0xf679f0(0xfa)](_0x275bd1=>{const _0xe5af80=_0xf679f0,_0xfd15f5={'xdFTr':function(_0x213b85,_0x2658e3){return _0xe8ba6d['odUCJ'](_0x213b85,_0x2658e3);},'pMuMR':_0xe8ba6d[_0xe5af80(0xe7)]},_0x4a63b5=[];_0x2751bd[_0x275bd1][_0xe8ba6d[_0xe5af80(0x10e)]][_0xe5af80(0xfa)](_0x271ff4=>{const _0x116b65=_0xe5af80;_0xfd15f5['xdFTr'](_0x271ff4[_0x116b65(0x105)],_0xfd15f5[_0x116b65(0xaa)])&&(_0x271ff4['titlePath']=()=>_0x271ff4['titlePathV'],_0x4a63b5['push'](_0x271ff4));}),_0xe8ba6d[_0xe5af80(0x17f)](_0x4a63b5[_0xe5af80(0x98)],0x0)&&(Base[_0xe5af80(0x180)](),Base['consoleLog'](_0xe8ba6d[_0xe5af80(0x103)](_0x7518a4),chalk[_0xe5af80(0x159)]['bgBlueBright'](_0x275bd1)),Base['list'](_0x4a63b5));});}}}async function run(_0x3ec089,_0x26f5f9,_0x55f7e1){const _0x2b6979=a33_0x4fa9dc,_0x4f9bec={'uXjZp':function(_0x4e8a7a,_0x1cd877,_0x4c014b,_0x5d02a8){return _0x4e8a7a(_0x1cd877,_0x4c014b,_0x5d02a8);},'iCCOZ':_0x2b6979(0x104),'foNVR':_0x2b6979(0x171),'jNMfP':_0x2b6979(0x116),'aivrP':'mocha','SuTJD':function(_0x241c18,_0x4a8520){return _0x241c18!=_0x4a8520;},'UgQhG':_0x2b6979(0x139),'eSvbn':_0x2b6979(0x10a),'goGjY':'test','rGPqO':_0x2b6979(0x8b),'fLEcT':function(_0x2b1b27,_0x306601){return _0x2b1b27(_0x306601);},'rSYSP':function(_0x320196,_0x21ab51,_0x4b06b9){return _0x320196(_0x21ab51,_0x4b06b9);},'utkWw':_0x2b6979(0xce),'PcEfN':_0x2b6979(0xc9),'GWhEZ':_0x2b6979(0xf3),'HrdSm':'includeEncodedExtension','CKyIN':_0x2b6979(0xbe),'XjlYR':_0x2b6979(0x117),'VYRqc':function(_0x49c99d,_0x226898){return _0x49c99d*_0x226898;},'xEIhM':function(_0x57ea5f,_0x272066){return _0x57ea5f!==_0x272066;}};helper[_0x2b6979(0xe0)](_0x55f7e1[_0x2b6979(0x123)],_0x3ec089),await _0x55f7e1[_0x2b6979(0x160)](_0x3ec089);helper[_0x2b6979(0xf0)]()?await helper['handleApp'](_0x55f7e1[_0x2b6979(0x12b)]):await _0x55f7e1[_0x2b6979(0x142)]();const _0x546c2a=[];let _0x29cb10=[];if(!_0x55f7e1[_0x2b6979(0x12b)])return;!helper['isUndefined'](_0x55f7e1[_0x2b6979(0x12b)][_0x2b6979(0x143)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x2b6979(0x189)](_0x55f7e1[_0x2b6979(0x12b)][_0x2b6979(0x143)]));const _0x4d2f0f=await TestHubHandler[_0x2b6979(0xd2)](FRAMEWORKS[_0x2b6979(0x131)],_0x55f7e1);_0x4f9bec[_0x2b6979(0x153)](_0x55f7e1[_0x2b6979(0x12b)][_0x2b6979(0x152)],null)&&(process[_0x2b6979(0x88)][_0x2b6979(0x170)]=_0x55f7e1[_0x2b6979(0x12b)]['testObservability']);!helper[_0x2b6979(0x157)](_0x55f7e1[_0x2b6979(0x12b)]['accessibility'])&&(process[_0x2b6979(0x88)][_0x2b6979(0x10c)]=_0x55f7e1[_0x2b6979(0x12b)][_0x2b6979(0xa4)]);const {extension:extension=['js',_0x4f9bec[_0x2b6979(0x15e)],_0x4f9bec['eSvbn']],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x4f9bec[_0x2b6979(0x12e)]]}=_0x3ec089,_0x255561={..._0x3ec089};_0x255561['rootHooks']=null;const _0x15b910=_0x255561;let _0x166c35;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x22c643=process[_0x2b6979(0x88)]['BROWSERSTACK_RERUN_TESTS'];!helper[_0x2b6979(0x157)](_0x55f7e1[_0x2b6979(0xf9)])&&_0x55f7e1[_0x2b6979(0xf9)][_0x2b6979(0x8e)](_0x4f9bec[_0x2b6979(0xb4)])&&(_0x22c643=_0x55f7e1[_0x2b6979(0xf9)]['get'](_0x4f9bec[_0x2b6979(0xb4)])),_0x166c35=testOpsHelper[_0x2b6979(0xb0)](_0x22c643);}if(helper[_0x2b6979(0x157)](_0x166c35)){const _0x931ddc={};_0x931ddc[_0x2b6979(0xc3)]=ignore,_0x931ddc[_0x2b6979(0xba)]=extension,_0x931ddc[_0x2b6979(0xb9)]=file,_0x931ddc[_0x2b6979(0x133)]=recursive,_0x931ddc['sort']=sort,_0x931ddc['spec']=spec,_0x166c35=_0x4f9bec[_0x2b6979(0x8d)](collectFiles,_0x931ddc),_0x4f9bec[_0x2b6979(0x132)](nestedKeyValue,_0x166c35,[_0x4f9bec['utkWw']])&&(_0x166c35=_0x166c35[_0x2b6979(0xce)]);}const _0x1502c9=helper[_0x2b6979(0x176)](_0x55f7e1[_0x2b6979(0x12b)]);!helper[_0x2b6979(0x113)](_0x1502c9)&&helper[_0x2b6979(0x122)](_0x1502c9[_0x2b6979(0x183)])&&(_0x15b910[_0x2b6979(0x15c)]=_0x1502c9[_0x2b6979(0x183)]['maxRetries']);if(!helper[_0x2b6979(0xf0)]()){const _0x187f6f=0x1,_0x490174={..._0x15b910};_0x490174['spec']=[..._0x166c35],_0x546c2a[_0x2b6979(0xab)]({'mochaOpts':_0x490174,'configuration':{'platform':os[_0x2b6979(0x177)]()}});if(_0x55f7e1[_0x2b6979(0x12b)][_0x2b6979(0xa4)]){const _0x59964d={};_0x59964d['accessibility']=!![];const _0x437ba0=_0x59964d;_0x4f9bec[_0x2b6979(0x153)](_0x55f7e1[_0x2b6979(0x12b)][_0x2b6979(0x143)],null)&&(_0x437ba0['accessibilityOptions']=_0x55f7e1[_0x2b6979(0x12b)][_0x2b6979(0x143)],delete _0x437ba0[_0x2b6979(0x143)][_0x4f9bec[_0x2b6979(0x130)]],delete _0x437ba0[_0x2b6979(0x143)][_0x4f9bec[_0x2b6979(0x137)]],delete _0x437ba0['accessibilityOptions'][_0x4f9bec[_0x2b6979(0xc0)]]);const _0x2abcf9={};_0x2abcf9[_0x2b6979(0xa6)]=_0x437ba0,_0x546c2a[0x0][_0x2b6979(0xb3)]['capability']=_0x2abcf9;}logger[_0x2b6979(0xb5)](_0x4f9bec[_0x2b6979(0x102)]),logger['info'](_0x4f9bec[_0x2b6979(0x17a)]),_0x4f9bec[_0x2b6979(0x8c)](parallelTestRun,_0x546c2a,_0x187f6f,_0x55f7e1)['then'](_0x19ea00=>{const _0x2f2083=_0x2b6979;PerformanceTester['start'](PerformanceEvents[_0x2f2083(0x168)]),_0x4f9bec[_0x2f2083(0x8c)](printStats,_0x19ea00,_0x3ec089['reporter'],_0x3ec089[_0x2f2083(0xc2)]||_0x3ec089[_0x4f9bec[_0x2f2083(0x118)]]);})[_0x2b6979(0x11c)](()=>{const _0x200c3f=_0x2b6979;PerformanceTester[_0x200c3f(0x17b)](PerformanceEvents[_0x200c3f(0x168)]);try{const {browserstackFolderPath:_0x261d56,tcgConfigPath:_0x3f408c}=helper[_0x200c3f(0x14e)]();fs[_0x200c3f(0xbf)](_0x3f408c),fs[_0x200c3f(0x8f)](_0x261d56);}catch(_0x50358b){logger['debug'](_0x4f9bec[_0x200c3f(0x121)],_0x50358b);}try{utilities['fireFunnelTestEvent'](_0x4f9bec[_0x200c3f(0x11f)],{},_0x55f7e1['config'],_0x55f7e1[_0x200c3f(0x123)]);}catch(_0xdef6a4){logger['debug'](_0x200c3f(0xb6)+_0xdef6a4[_0x200c3f(0x146)]);}try{helper[_0x200c3f(0xb2)]();}catch(_0x8f0266){logger[_0x200c3f(0xa8)](_0x200c3f(0xe6)+_0x8f0266);}testOpsHelper[_0x200c3f(0xd8)]();});}else{const _0x4a8c89=helper[_0x2b6979(0x99)](_0x55f7e1[_0x2b6979(0x12b)]);let _0x3836b3=helper[_0x2b6979(0x8a)](_0x55f7e1['config']);_0x29cb10=helper[_0x2b6979(0x167)](_0x55f7e1['config'],_0x4a8c89,constants[_0x2b6979(0x110)][_0x2b6979(0x131)]);helper[_0x2b6979(0xb8)]()[_0x2b6979(0xd6)]&&(_0x3836b3=centralScannerConstants[_0x2b6979(0x16e)]);let _0x56914c;const _0x337e59=_0x55f7e1[_0x2b6979(0x12b)]['parallelsPerPlatform']||helper[_0x2b6979(0x149)](_0x3ec089,_0x26f5f9,_0x55f7e1['config'],constants[_0x2b6979(0x110)][_0x2b6979(0x131)])||0x1;helper[_0x2b6979(0x17d)](_0x55f7e1['config'])?_0x56914c=_0x4f9bec[_0x2b6979(0x9a)](_0x55f7e1['config']['platforms']['length'],_0x337e59):_0x56914c=_0x337e59;const _0x487d98=_0x4f9bec[_0x2b6979(0x8d)](getPercyOptions,_0x55f7e1[_0x2b6979(0x12b)]);if(_0x4f9bec[_0x2b6979(0x138)](_0x55f7e1[_0x2b6979(0x12b)][_0x2b6979(0xd0)],0x1))_0x166c35[_0x2b6979(0xfa)](_0x2fd523=>{const _0x55fb61=_0x2b6979,_0x409bdc=[];_0x29cb10[_0x55fb61(0xfa)]((_0x20c732,_0x3a0880)=>{const _0x5cfa85=_0x55fb61,_0x353e85={};_0x353e85[_0x5cfa85(0x136)]=[_0x2fd523],_0x409bdc[_0x5cfa85(0xab)]({'mochaOpts':Object[_0x5cfa85(0x186)]({},_0x15b910,_0x353e85),'configuration':{'server':_0x3836b3,'capability':_0x20c732,'proxySettings':_0x55f7e1['config'][_0x5cfa85(0x13e)],'platform':helper[_0x5cfa85(0x107)](_0x20c732),'browserStackLogLevel':_0x55f7e1[_0x5cfa85(0x12b)]['logLevel'],'platformIndex':_0x3a0880,'browserStackPercyOptions':_0x487d98,'platformCaps':Object[_0x5cfa85(0x186)]({'index':_0x3a0880},_0x55f7e1[_0x5cfa85(0x12b)][_0x5cfa85(0xb1)][_0x3a0880])}});}),_0x546c2a[_0x55fb61(0xab)](..._0x409bdc);});else{const _0x42aea2=[];_0x29cb10[_0x2b6979(0xfa)]((_0x128655,_0x4b5a5d)=>{const _0x1b59a0=_0x2b6979;let _0x4169b5=Object[_0x1b59a0(0x186)]({},_0x15b910);testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x1b59a0(0x187)]()&&(_0x4169b5={..._0x4169b5,'spec':[..._0x166c35]}),_0x42aea2[_0x1b59a0(0xab)]({'mochaOpts':_0x4169b5,'configuration':{'server':_0x3836b3,'capability':_0x128655,'proxySettings':_0x55f7e1[_0x1b59a0(0x12b)][_0x1b59a0(0x13e)],'platform':helper[_0x1b59a0(0x107)](_0x128655),'browserStackLogLevel':_0x55f7e1[_0x1b59a0(0x12b)]['logLevel'],'platformIndex':_0x4b5a5d,'browserStackPercyOptions':_0x487d98,'platformCaps':Object['assign']({'index':_0x4b5a5d},_0x55f7e1[_0x1b59a0(0x12b)][_0x1b59a0(0xb1)][_0x4b5a5d])}});}),_0x546c2a['push'](..._0x42aea2);}logger[_0x2b6979(0xb5)](_0x2b6979(0xe2)+_0x55f7e1[_0x2b6979(0x12b)][_0x2b6979(0xb1)][_0x2b6979(0x98)]+'\x20platforms'),logger['info'](_0x4f9bec[_0x2b6979(0x17a)]);let _0x35fed7;_0x4f9bec[_0x2b6979(0x8c)](parallelTestRun,_0x546c2a,_0x56914c,_0x55f7e1)['then'](_0x48c35a=>{const _0x407ee2=_0x2b6979;PerformanceTester[_0x407ee2(0x17b)](PerformanceEvents['SDK_CLEANUP']),_0x35fed7=_0x48c35a,_0x4f9bec['uXjZp'](printStats,_0x48c35a,_0x3ec089['reporter'],_0x3ec089[_0x407ee2(0xc2)]||_0x3ec089[_0x4f9bec[_0x407ee2(0x118)]]);})[_0x2b6979(0x11c)](async()=>{const _0x2be29b=_0x2b6979;PerformanceTester[_0x2be29b(0x17b)](PerformanceEvents[_0x2be29b(0x168)]),_0x55f7e1[_0x2be29b(0xc8)]=helper['getErrorMessageFromResults'](_0x35fed7,_0x4f9bec[_0x2be29b(0x18d)]),await utilities[_0x2be29b(0xfd)](_0x55f7e1),testOpsHelper[_0x2be29b(0xd8)]();});}}module[a33_0x4fa9dc(0xd5)]=run;
2
+ 'use strict';const a33_0x2bf374=a33_0x57c2;function a33_0x2e8a(){const _0x146fad=['getHubUrl','1246350AzPHYJ','jwzkz','oWBql','mocha','BROWSERSTACK_RERUN_TESTS','fNrnl','rEQzc','mkVuZ','../../helpers/utilities','isTestObservabilitySession','has','testcase','reporter-option','kLlyk','reporter','TCAGu','TFebg','isUndefined','Running\x20your\x20mocha\x20tests','consoleLog','jenlX','wGfLL','336thqjUT','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','mocha/lib/cli/collect-files.js','../../helpers/central-scanner/constants','UNoJd','setUserConfigPath','jaKJS','parse','forEach','LDqQX','generateDiff','Wtxyi','toUTCString','unlinkSync','Couldn\x27t\x20write\x20xunit\x20result\x20to','NnvYi','prepareCapabilities','FRAMEWORKS','LWePN','Pfklj','currentRetry','bstack:options','suiteName','MOCHA','proxySettings','\x20failed','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','</testsuite>','rmdirSync','cliConfig','zOPQo','debug','test','MvojZ','getPlatformName','rdeTn','7780XcQWLf','Mraza','WOoUy','json','testsPassed','log','\x20passed','SYTCr','stats','sGeVa','Running\x20your\x20mocha\x20tests\x20across\x20','printBuildLink','fullTitle','expected','isBrowserstackInfra','BROWSERSTACK_TEST_OBSERVABILITY_YML','pending','testsuite','error\x20removing\x20tcg\x20config\x20file','titlePath','../utils/constants','duration','eQzdu','reporterOptions','kMvNB','rootHooks','yqfdo','IexhK','711jfMtjp','logLevel','kSmXF','ZNZBb','title','Writing\x20json\x20result\x20to\x20file','initialize','recursive','message','testsPending','KjVoZ','error','Printing\x20stats\x20of\x20tests','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','testObservability','config','oopzm','dfREi','IPHRU','UTSeq','sort','ZQbVh','YOOFo','HHbiW','actual','32186352QduKRP','platform','finally','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','xunit','spec','state','get','mMzBF','shouldReRunObservabilityTests','add','Writing\x20xunit\x20result\x20to\x20file','MRzzR','assign','pEchq','hPgbg','RPUfl','file','yellow','maxRetries','AunUD','bold','IBIUE','TkTaN','AHXQc','BROWSERSTACK_GRR_US_HUB_URL','lgaIF','notifyUpdate','voojb','ioBcl','parseFileNames','validPlatformsPresent','useColors','framework','bgRedBright','showDiff','isBvH','TEgeA','pySVy','getOwnPropertyNames','../../helpers/testhub/testhubHandler','VQKcT','finalExecution','HfIwr','BrmWN','doc','rerunTests','files','../../helpers/logger','Mocha\x20Tests','YctqJ','getErrorMessageFromResults','env','4400845siYpKV','length','cjs','getUserWorkerCount','EmOhj','11LPPgvk','configuration','kYeuP','start','eVboa','iXvmz','NPiwA','xgmNt','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','tGghi','red','prototype','passes','testsFailed','parallelsPerPlatform','mgVsF','35RtKpTt','Qwnsd','DeCLB','hjgVk','kmbtZ','hasOwnProperty','min','exitCode','setupTCGAuth','****\x20FAILURES\x20****','object','exports','accessibilityOptions','writeFileSync','VpQjq','YablO','suite','EVENTS','hMdny','Setting\x20non\x20exit\x20code\x20for\x20failures','info','ignore','output','ptOvN','titlePathV','excludeTagsInTestingScope','\x0a\x0a\x0a','wSZxq','hlZGG','zoiiF','map','UemSz','RBvJh','QNYmZ','stringify','gLhbE','YbWpw','ZYsiH','bgBlueBright','twQaD','269901nbeFAk','57121qCnocA','handleApp','2IdaMzm','../../helpers/helper','testSuites','indexOf','XLrut','accessibility','FPozC','SDK_CLEANUP','QLQfT','RGdij','wXXfJ','isPending','failed','parseTestOrchestrationOptions','NkvrT','bBrlM','../../helpers/performance/constants','HGMVI','GubiF','tBsqw','getTCGConfigFilePaths','Now,\x20showing\x20logs\x20from\x20mocha','xAgOK','fuvEc','stack','8617670xNfcRe','size','retries','getCentralUser','results','platforms','list','SDKTestSuccessful','\x20skipped','IOYII','includeTagsInTestingScope','retryTestsOnFailure','passed','CPrmP','phdVc','join','bPHUf','capability','push'];a33_0x2e8a=function(){return _0x146fad;};return a33_0x2e8a();}(function(_0x227b52,_0x169863){const _0x4e4578=a33_0x57c2,_0x4bde22=_0x227b52();while(!![]){try{const _0x2c7075=-parseInt(_0x4e4578(0x1a7))/0x1*(parseInt(_0x4e4578(0x1a9))/0x2)+-parseInt(_0x4e4578(0x11b))/0x3*(parseInt(_0x4e4578(0xff))/0x4)+parseInt(_0x4e4578(0x169))/0x5+-parseInt(_0x4e4578(0x1d6))/0x6*(-parseInt(_0x4e4578(0x17e))/0x7)+-parseInt(_0x4e4578(0x1ec))/0x8*(-parseInt(_0x4e4578(0x1a6))/0x9)+parseInt(_0x4e4578(0x1c2))/0xa*(parseInt(_0x4e4578(0x16e))/0xb)+-parseInt(_0x4e4578(0x134))/0xc;if(_0x2c7075===_0x169863)break;else _0x4bde22['push'](_0x4bde22['shift']());}catch(_0x5c162c){_0x4bde22['push'](_0x4bde22['shift']());}}}(a33_0x2e8a,0xcd089));const chalk=require('chalk'),logger=require(a33_0x2bf374(0x164))['winstonLogger'],helper=require(a33_0x2bf374(0x1aa)),utilities=require(a33_0x2bf374(0x1de)),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require('../test-runner'),{requireModule,nestedKeyValue}=require(a33_0x2bf374(0x1aa)),{getPercyOptions}=require('../../helpers/percy/utils'),Base=requireModule('mocha/lib/reporters/base.js',a33_0x2bf374(0x1d9)),collectFiles=requireModule(a33_0x2bf374(0xdd),'mocha'),constants=require(a33_0x2bf374(0x113)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a33_0x2bf374(0x1b9))[a33_0x2bf374(0x18f)],centralScannerConstants=require(a33_0x2bf374(0xde)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),TestHubHandler=require(a33_0x2bf374(0x15c));function tag(_0x560641,_0x46c1f8,_0xf00df9,_0x43ed46){const _0x36088f=a33_0x2bf374,_0x28fc69={'kYeuP':function(_0x535301,_0xcef3f1){return _0x535301+_0xcef3f1;},'dNSSO':function(_0x559afe,_0x22386b){return _0x559afe+_0x22386b;},'KjVoZ':function(_0x26f2df,_0x28048e){return _0x26f2df(_0x28048e);},'hPgbg':function(_0x1ef2ea,_0x1b812c){return _0x1ef2ea+_0x1b812c;},'twQaD':function(_0x381525,_0x3fa15){return _0x381525+_0x3fa15;}},_0xe05b70=_0xf00df9?'/>':'>',_0x263209=[];let _0x42ff06;for(const _0x55cd01 in _0x46c1f8){Object[_0x36088f(0x179)][_0x36088f(0x183)]['call'](_0x46c1f8,_0x55cd01)&&_0x263209[_0x36088f(0x1d4)](_0x28fc69[_0x36088f(0x170)](_0x28fc69['dNSSO'](_0x28fc69[_0x36088f(0x170)](_0x55cd01,'=\x22'),_0x28fc69[_0x36088f(0x125)](escape,_0x46c1f8[_0x55cd01])),'\x22'));}return _0x42ff06=_0x28fc69[_0x36088f(0x170)](_0x28fc69['kYeuP'](_0x28fc69[_0x36088f(0x143)]('<',_0x560641),_0x263209[_0x36088f(0x16a)]?_0x28fc69['hPgbg']('\x20',_0x263209[_0x36088f(0x1d1)]('\x20')):''),_0xe05b70),_0x43ed46&&(_0x42ff06+=_0x28fc69[_0x36088f(0x170)](_0x28fc69[_0x36088f(0x1a5)](_0x28fc69[_0x36088f(0x170)](_0x43ed46,'</'),_0x560641),_0xe05b70)),_0x42ff06;}let xunitContent='';function a33_0x57c2(_0x3d3a2b,_0x414918){const _0x2e8a6c=a33_0x2e8a();return a33_0x57c2=function(_0x57c2cb,_0x2528df){_0x57c2cb=_0x57c2cb-0xdd;let _0xeb052e=_0x2e8a6c[_0x57c2cb];return _0xeb052e;},a33_0x57c2(_0x3d3a2b,_0x414918);}function xunitWrite(_0x21100f){xunitContent+=_0x21100f;}function xunitTest(_0x52fd10,_0x127e9e){const _0x2fdba2=a33_0x2bf374,_0x572605={'HGMVI':function(_0x38d741,_0x12fb19){return _0x38d741/_0x12fb19;},'Mraza':function(_0x368adf,_0xf9cf45){return _0x368adf===_0xf9cf45;},'QNYmZ':'failed','iXvmz':function(_0x1daa8c,_0x18f9b3){return _0x1daa8c+_0x18f9b3;},'sGeVa':function(_0x17c421,_0x36aedc){return _0x17c421(_0x36aedc);},'ZYsiH':function(_0x16e47b,_0x576610,_0x253a47,_0x373fc9,_0x4377b5){return _0x16e47b(_0x576610,_0x253a47,_0x373fc9,_0x4377b5);},'zoiiF':_0x2fdba2(0x1e1),'AHXQc':'failure','dfREi':function(_0x3a7224,_0x5b4bf1){return _0x3a7224+_0x5b4bf1;},'TdSSk':function(_0x2cfa94,_0x1db47e){return _0x2cfa94+_0x1db47e;},'rdeTn':function(_0x2a1e06,_0x11630b){return _0x2a1e06(_0x11630b);},'phdVc':function(_0x2e05d2,_0x5bf694){return _0x2e05d2(_0x5bf694);},'KKCqb':function(_0xb892a5,_0x39981b){return _0xb892a5(_0x39981b);},'rEQzc':function(_0x28a7ce,_0x360077,_0x1a554a,_0x1976ff){return _0x28a7ce(_0x360077,_0x1a554a,_0x1976ff);},'kMvNB':'skipped'};Base[_0x2fdba2(0x154)]=![];var _0x13b334={'classname':_0x52fd10[_0x2fdba2(0x10b)],'name':_0x52fd10[_0x2fdba2(0x11f)],'time':_0x572605[_0x2fdba2(0x1ba)](_0x52fd10[_0x2fdba2(0x114)],0x3e8)||0x0,'platform':_0x127e9e};if(_0x572605[_0x2fdba2(0x100)](_0x52fd10['state'],_0x572605[_0x2fdba2(0x19f)])){var _0x231c0a=_0x52fd10['err'],_0x5b0f00=!Base['hideDiff']&&Base[_0x2fdba2(0x157)](_0x231c0a)?_0x572605[_0x2fdba2(0x173)]('\x0a',Base[_0x2fdba2(0xe5)](_0x231c0a[_0x2fdba2(0x133)],_0x231c0a[_0x2fdba2(0x10c)])):'';_0x572605[_0x2fdba2(0x108)](xunitWrite,_0x572605[_0x2fdba2(0x1a3)](tag,_0x572605['zoiiF'],_0x13b334,![],_0x572605[_0x2fdba2(0x1a3)](tag,_0x572605[_0x2fdba2(0x14c)],{},![],_0x572605[_0x2fdba2(0x173)](_0x572605[_0x2fdba2(0x12c)](_0x572605['TdSSk'](_0x572605[_0x2fdba2(0x108)](escape,_0x231c0a[_0x2fdba2(0x123)]),_0x572605[_0x2fdba2(0xfe)](escape,_0x5b0f00)),'\x0a'),_0x572605[_0x2fdba2(0x1d0)](escape,_0x231c0a[_0x2fdba2(0x1c1)])))));}else _0x52fd10[_0x2fdba2(0x1b4)]?_0x572605['KKCqb'](xunitWrite,_0x572605[_0x2fdba2(0x1a3)](tag,_0x572605[_0x2fdba2(0x19b)],_0x13b334,![],_0x572605[_0x2fdba2(0x1dc)](tag,_0x572605[_0x2fdba2(0x117)],{},!![]))):_0x572605[_0x2fdba2(0xfe)](xunitWrite,_0x572605[_0x2fdba2(0x1dc)](tag,_0x572605[_0x2fdba2(0x19b)],_0x13b334,!![]));};function getStats(_0x497425){const _0x47349f=a33_0x2bf374,_0x5a2915={};_0x5a2915[_0x47349f(0x19e)]=_0x47349f(0x18e),_0x5a2915[_0x47349f(0x199)]=_0x47349f(0x1ce),_0x5a2915[_0x47349f(0x182)]=_0x47349f(0x1b5),_0x5a2915[_0x47349f(0x106)]='results';const _0x4ab8d6=_0x5a2915,_0xf71613=Object['keys'](_0x497425);let _0x340be9=0x0,_0x4564f9=0x0,_0x1b236a=0x0,_0x7c99b5=0x0;const _0x52bf8e=new Set();_0xf71613['forEach'](_0x2f0d80=>{const _0x591fc1=_0x47349f;_0x497425[_0x2f0d80][_0x4ab8d6[_0x591fc1(0x106)]][_0x591fc1(0xe3)](_0x506cb4=>{const _0x422dcb=_0x591fc1;_0x52bf8e[_0x422dcb(0x13e)](_0x506cb4[_0x4ab8d6[_0x422dcb(0x19e)]]),_0x340be9++;switch(_0x506cb4['state']){case _0x4ab8d6['wSZxq']:_0x1b236a++;break;case _0x4ab8d6[_0x422dcb(0x182)]:_0x4564f9++;break;default:_0x7c99b5++;}});});const _0x11208a={};return _0x11208a[_0x47349f(0x1ab)]=_0x52bf8e[_0x47349f(0x1c3)],_0x11208a['platforms']=_0xf71613,_0x11208a['totalTests']=_0x340be9,_0x11208a[_0x47349f(0x17b)]=_0x4564f9,_0x11208a[_0x47349f(0x103)]=_0x1b236a,_0x11208a[_0x47349f(0x124)]=_0x7c99b5,_0x11208a;}function errorJSON(_0x2b0c57){const _0x5c8b74=a33_0x2bf374;var _0x4ba471={};return Object[_0x5c8b74(0x15b)](_0x2b0c57)[_0x5c8b74(0xe3)](function(_0x3e852a){_0x4ba471[_0x3e852a]=_0x2b0c57[_0x3e852a];},_0x2b0c57),_0x4ba471;}function cleanCycles(_0x320bef){const _0x550d63=a33_0x2bf374,_0x1cfcef={};_0x1cfcef[_0x550d63(0x15d)]=function(_0x1da6c8,_0xf1ec69){return _0x1da6c8===_0xf1ec69;},_0x1cfcef['TCAGu']=_0x550d63(0x188),_0x1cfcef[_0x550d63(0x14b)]=function(_0x21d049,_0x1031c9){return _0x21d049!==_0x1031c9;},_0x1cfcef[_0x550d63(0x1e6)]=function(_0x3f3377,_0x2b6105){return _0x3f3377!==_0x2b6105;},_0x1cfcef[_0x550d63(0x12e)]=function(_0x806970,_0x58d549){return _0x806970+_0x58d549;};const _0x596fc5=_0x1cfcef;var _0xd25e2b=[];return JSON[_0x550d63(0xe2)](JSON[_0x550d63(0x1a0)](_0x320bef,function(_0x1b823c,_0xe2371c){const _0xf6e5a8=_0x550d63;if(_0x596fc5[_0xf6e5a8(0x15d)](typeof _0xe2371c,_0x596fc5[_0xf6e5a8(0x1e5)])&&_0x596fc5[_0xf6e5a8(0x14b)](_0xe2371c,null)){if(_0x596fc5[_0xf6e5a8(0x1e6)](_0xd25e2b[_0xf6e5a8(0x1ac)](_0xe2371c),-0x1))return _0x596fc5[_0xf6e5a8(0x12e)]('',_0xe2371c);_0xd25e2b[_0xf6e5a8(0x1d4)](_0xe2371c);}return _0xe2371c;}));}function clean(_0x401356){const _0x32d182=a33_0x2bf374,_0x4f2a17={'yqfdo':function(_0xed0dc0,_0x210427){return _0xed0dc0 instanceof _0x210427;},'voojb':function(_0x4e2684,_0x3e9af5){return _0x4e2684(_0x3e9af5);}};var _0x30731b=_0x401356['err']||{};return _0x4f2a17[_0x32d182(0x119)](_0x30731b,Error)&&(_0x30731b=_0x4f2a17['voojb'](errorJSON,_0x30731b)),{'title':_0x401356['title'],'fullTitle':_0x401356[_0x32d182(0x10b)],'file':_0x401356['file'],'duration':_0x401356[_0x32d182(0x114)],'currentRetry':_0x401356[_0x32d182(0xef)],'speed':_0x401356['speed'],'err':_0x4f2a17[_0x32d182(0x150)](cleanCycles,_0x30731b)};}function printStats(_0xe058ca,_0x310e18=a33_0x2bf374(0x139),_0x4f33fa={}){const _0x33bd5e=a33_0x2bf374,_0x521415={'YOOFo':function(_0x25a84b,_0x1c204e){return _0x25a84b(_0x1c204e);},'wXXfJ':function(_0x1194bc,_0x54c20a){return _0x1194bc===_0x54c20a;},'ioBcl':_0x33bd5e(0x1ce),'bBrlM':_0x33bd5e(0x17a),'FPozC':function(_0x8532f2,_0x47201d){return _0x8532f2(_0x47201d);},'NnvYi':function(_0x5ac00c,_0x5be0d9){return _0x5ac00c===_0x5be0d9;},'MRzzR':'failed','eXKCh':'failures','Ercqd':function(_0x111847,_0x245d77){return _0x111847(_0x245d77);},'aTNEW':_0x33bd5e(0x10f),'pEchq':_0x33bd5e(0x1c6),'LuoVH':function(_0x388818,_0x40f60d){return _0x388818===_0x40f60d;},'trKAG':function(_0x170954,_0x426af7){return _0x170954*_0x426af7;},'VpQjq':function(_0x5ccc85,_0x415487,_0x4d1701){return _0x5ccc85(_0x415487,_0x4d1701);},'LWePN':function(_0x1ea067,_0x1abe43){return _0x1ea067===_0x1abe43;},'tBsqw':function(_0x4e9da7,_0x323325){return _0x4e9da7>_0x323325;},'Wtxyi':function(_0x760a0b){return _0x760a0b();},'hMdny':_0x33bd5e(0x161),'EmOhj':function(_0xef41a,_0x366375){return _0xef41a>_0x366375;},'oWBql':_0x33bd5e(0x191),'YctqJ':_0x33bd5e(0x127),'Qwnsd':function(_0x288430,_0x4ea71e){return _0x288430+_0x4ea71e;},'Pfklj':'Total\x20Platforms:\x20','ptOvN':function(_0x351a47,_0x5a3855){return _0x351a47+_0x5a3855;},'kLlyk':'Total\x20Suites:\x20','BrmWN':function(_0x1937d6,_0x59c4b5){return _0x1937d6+_0x59c4b5;},'IPHRU':'Tests:\x20\x20\x20\x20\x20\x20\x20','IOYII':function(_0x9f225c,_0x5ae360){return _0x9f225c>_0x5ae360;},'IexhK':function(_0x327c61,_0x4187f4){return _0x327c61+_0x4187f4;},'ZQbVh':function(_0x4d953e,_0xce99bb){return _0x4d953e+_0xce99bb;},'DeCLB':function(_0x3dc3b1,_0x3cad57){return _0x3dc3b1+_0x3cad57;},'gjgnf':_0x33bd5e(0x198),'jenlX':function(_0x2eecb9,_0x2335f1){return _0x2eecb9===_0x2335f1;},'bPHUf':_0x33bd5e(0x102),'fNrnl':_0x33bd5e(0x120),'pySVy':'Couldn\x27t\x20write\x20json\x20result\x20to','dPHRs':_0x33bd5e(0x1ed),'lNGyB':_0x33bd5e(0x138),'HfIwr':_0x33bd5e(0x165),'IBIUE':function(_0x14cb04,_0x2d8fe6){return _0x14cb04||_0x2d8fe6;},'xAgOK':function(_0x3e7462,_0x1a7ba7,_0xf7fcbb,_0x30b566){return _0x3e7462(_0x1a7ba7,_0xf7fcbb,_0x30b566);},'WOoUy':_0x33bd5e(0x110),'QLQfT':function(_0x289870,_0x36aeae){return _0x289870-_0x36aeae;},'EYHSh':function(_0x1faa3d,_0x403f74){return _0x1faa3d-_0x403f74;},'lgaIF':function(_0x15fdeb,_0x3ea639){return _0x15fdeb/_0x3ea639;},'oopzm':function(_0x388279,_0x4cf51f){return _0x388279(_0x4cf51f);},'StmOW':_0x33bd5e(0xf6),'xgmNt':_0x33bd5e(0x13f),'YablO':_0x33bd5e(0xe9),'fuvEc':_0x33bd5e(0xf5),'MvojZ':function(_0x58fbfb,_0xaf015a){return _0x58fbfb===_0xaf015a;},'skUxP':'Listing\x20all\x20the\x20failures','JHvMs':_0x33bd5e(0x187)};if(_0x521415[_0x33bd5e(0xea)](_0x310e18,_0x521415[_0x33bd5e(0x190)]))return;const _0x5efef4=0x0,_0x61a5e9=()=>{const _0x2d64a2=_0x33bd5e;return _0x521415['YOOFo'](Array,_0x5efef4)[_0x2d64a2(0x1d1)]('\x20\x20');},{testSuites:_0x220d33,platforms:_0x724a4b,totalTests:_0x41665e,testsFailed:_0xabcbaa,testsPassed:_0x2215ea,testsPending:_0x1586cf}=_0x521415[_0x33bd5e(0x1af)](getStats,_0xe058ca);_0x521415[_0x33bd5e(0x16d)](_0xabcbaa,0x0)&&(logger['debug'](_0x521415[_0x33bd5e(0x1d8)]),process[_0x33bd5e(0x185)]=Math[_0x33bd5e(0x184)](_0xabcbaa,0xff));logger[_0x33bd5e(0xfa)](_0x521415[_0x33bd5e(0x166)]);const _0x3e7f79=''+_0x521415[_0x33bd5e(0x17f)](chalk[_0x33bd5e(0x149)](_0x521415[_0x33bd5e(0xee)]),_0x724a4b[_0x33bd5e(0x16a)]),_0xfcd599=''+_0x521415[_0x33bd5e(0x195)](chalk[_0x33bd5e(0x149)](_0x521415[_0x33bd5e(0x1e3)]),_0x220d33),_0xaf05dc=''+_0x521415[_0x33bd5e(0x160)](_0x521415[_0x33bd5e(0x160)](_0x521415['ptOvN'](chalk[_0x33bd5e(0x149)](_0x521415[_0x33bd5e(0x12d)]),_0x521415[_0x33bd5e(0x16d)](_0xabcbaa,0x0)?chalk[_0x33bd5e(0x149)][_0x33bd5e(0x178)](_0xabcbaa+_0x33bd5e(0xf4))+',\x20':''),_0x521415[_0x33bd5e(0x1cb)](_0x1586cf,0x0)?chalk[_0x33bd5e(0x149)][_0x33bd5e(0x146)](_0x1586cf+_0x33bd5e(0x1ca))+',\x20':''),_0x521415['tBsqw'](_0x2215ea,0x0)?chalk[_0x33bd5e(0x149)]['green'](_0x2215ea+_0x33bd5e(0x105))+',\x20':'')+_0x41665e+'\x20total';console[_0x33bd5e(0x104)](_0x521415[_0x33bd5e(0x11a)](_0x521415[_0x33bd5e(0x130)](_0x521415[_0x33bd5e(0x180)](_0x521415[_0x33bd5e(0x17f)](_0x521415[_0x33bd5e(0x11a)](_0x521415['gjgnf'],_0x3e7f79),'\x0a'),_0xfcd599),'\x0a'),_0xaf05dc));if(_0x521415[_0x33bd5e(0x1ea)](_0x310e18,_0x521415[_0x33bd5e(0x1d2)])){const _0x264159={},_0x402e90={};_0x402e90[_0x33bd5e(0x1ab)]=_0x220d33,_0x402e90['platforms']=_0x724a4b,_0x402e90[_0x33bd5e(0x17b)]=_0xabcbaa,_0x402e90[_0x33bd5e(0x103)]=_0x2215ea,_0x402e90[_0x33bd5e(0x124)]=_0x1586cf,_0x264159[_0x33bd5e(0x107)]=_0x402e90,_0x724a4b[_0x33bd5e(0xe3)](_0x1062e0=>{const _0x47a5b5=_0x33bd5e,_0xbab823={'GubiF':function(_0x58ae43,_0x375162){const _0xca4852=a33_0x57c2;return _0x521415[_0xca4852(0x1b3)](_0x58ae43,_0x375162);},'NPiwA':_0x521415[_0x47a5b5(0x151)],'isBvH':_0x521415[_0x47a5b5(0x1b8)],'wGfLL':function(_0x2f2821,_0x5100f8){const _0x434518=_0x47a5b5;return _0x521415[_0x434518(0x1af)](_0x2f2821,_0x5100f8);},'UemSz':function(_0x1a32b1,_0x1a838a){const _0x500791=_0x47a5b5;return _0x521415[_0x500791(0xea)](_0x1a32b1,_0x1a838a);},'zOPQo':_0x521415[_0x47a5b5(0x140)],'qocLB':_0x521415['eXKCh'],'jwzkz':function(_0x47712b,_0x2509e7){return _0x521415['Ercqd'](_0x47712b,_0x2509e7);},'YbWpw':_0x521415['aTNEW']};_0x264159[_0x1062e0]={'pending':[],'failures':[],'passes':[],'tests':_0xe058ca[_0x1062e0][_0x521415['pEchq']][_0x47a5b5(0x19c)](clean)},_0xe058ca[_0x1062e0][_0x521415[_0x47a5b5(0x142)]][_0x47a5b5(0xe3)](_0x45d750=>{const _0x3b98c1=_0x47a5b5;if(_0xbab823[_0x3b98c1(0x1bb)](_0x45d750[_0x3b98c1(0x13a)],_0xbab823[_0x3b98c1(0x174)]))_0x264159[_0x1062e0][_0xbab823[_0x3b98c1(0x158)]][_0x3b98c1(0x1d4)](_0xbab823[_0x3b98c1(0x1eb)](clean,_0x45d750));else _0xbab823[_0x3b98c1(0x19d)](_0x45d750[_0x3b98c1(0x13a)],_0xbab823[_0x3b98c1(0xf9)])?_0x264159[_0x1062e0][_0xbab823['qocLB']][_0x3b98c1(0x1d4)](_0xbab823[_0x3b98c1(0x1d7)](clean,_0x45d750)):_0x264159[_0x1062e0][_0xbab823[_0x3b98c1(0x1a2)]][_0x3b98c1(0x1d4)](_0xbab823['jwzkz'](clean,_0x45d750));});});if(_0x4f33fa['output'])try{logger[_0x33bd5e(0xfa)](_0x521415[_0x33bd5e(0x1db)],_0x4f33fa[_0x33bd5e(0x194)]),fs[_0x33bd5e(0x18b)](_0x4f33fa['output'],JSON['stringify'](_0x264159,null,0x3));}catch(_0x4ed47f){logger[_0x33bd5e(0x126)](_0x521415[_0x33bd5e(0x15a)],_0x4f33fa['output']),logger[_0x33bd5e(0xfa)](_0x4ed47f);}else logger[_0x33bd5e(0xfa)](_0x521415['dPHRs']),console['log'](JSON[_0x33bd5e(0x1a0)](_0x264159,null,0x3));}else{if(_0x521415[_0x33bd5e(0x1b3)](_0x310e18,_0x521415['lNGyB'])){let _0x20951b;const _0x10d96f=_0x521415[_0x33bd5e(0x15f)];_0x4f33fa&&(_0x20951b=_0x4f33fa[_0x33bd5e(0xf1)]);_0x20951b=_0x521415[_0x33bd5e(0x14a)](_0x20951b,_0x10d96f);let _0x16ae8c=0x0,_0x4ec7e=0x0,_0x385738=0x0,_0xc9cf0=0x0;_0x724a4b[_0x33bd5e(0xe3)](_0x209a99=>{const _0x222d38=_0x33bd5e,_0x274447={'XLrut':function(_0x64c056,_0x187d14){return _0x521415['LuoVH'](_0x64c056,_0x187d14);},'jaKJS':_0x521415['ioBcl'],'tGghi':function(_0x3ea159,_0x3b61db){const _0x162505=a33_0x57c2;return _0x521415[_0x162505(0x1b3)](_0x3ea159,_0x3b61db);},'LbFdH':_0x521415[_0x222d38(0x140)],'gLhbE':function(_0x250b9c,_0x57d44a){return _0x521415['trKAG'](_0x250b9c,_0x57d44a);}};_0xe058ca[_0x209a99][_0x521415[_0x222d38(0x142)]][_0x222d38(0xe3)](_0x10866b=>{const _0x2b77d2=_0x222d38;if(_0x274447[_0x2b77d2(0x1ad)](_0x10866b[_0x2b77d2(0x13a)],_0x274447[_0x2b77d2(0xe1)]))_0x16ae8c++;else _0x274447[_0x2b77d2(0x177)](_0x10866b[_0x2b77d2(0x13a)],_0x274447['LbFdH'])&&_0x4ec7e++;_0x385738++,_0xc9cf0+=_0x274447[_0x2b77d2(0x1a1)](_0x10866b[_0x2b77d2(0x114)],0x1);});}),_0x521415[_0x33bd5e(0x131)](xunitWrite,_0x521415[_0x33bd5e(0x1bf)](tag,_0x521415[_0x33bd5e(0x101)],{'name':_0x20951b,'tests':_0x385738,'failures':0x0,'errors':_0x4ec7e,'skipped':_0x521415[_0x33bd5e(0x1b1)](_0x521415['EYHSh'](_0x385738,_0x4ec7e),_0x16ae8c),'timestamp':new Date()[_0x33bd5e(0xe7)](),'time':_0x521415[_0x33bd5e(0x14e)](_0xc9cf0,0x3e8)||0x0},![])),_0x724a4b[_0x33bd5e(0xe3)](_0xfe0b79=>{const _0x5ac4d7=_0x33bd5e;_0xe058ca[_0xfe0b79][_0x521415[_0x5ac4d7(0x142)]]['forEach'](_0x571e1c=>{const _0x6e1843=_0x5ac4d7;_0x521415[_0x6e1843(0x18c)](xunitTest,_0x571e1c,_0xfe0b79);});}),_0x521415[_0x33bd5e(0x12b)](xunitWrite,_0x521415['StmOW']);if(_0x4f33fa[_0x33bd5e(0x194)])try{logger[_0x33bd5e(0xfa)](_0x521415[_0x33bd5e(0x175)],_0x4f33fa['output']),fs[_0x33bd5e(0x18b)](_0x4f33fa[_0x33bd5e(0x194)],xunitContent);}catch(_0x46b348){logger[_0x33bd5e(0x126)](_0x521415[_0x33bd5e(0x18d)],_0x4f33fa['output']),logger[_0x33bd5e(0xfa)](_0x46b348);}else logger['debug'](_0x521415[_0x33bd5e(0x1c0)]),console['log'](xunitContent);}else{if(_0x521415[_0x33bd5e(0xfc)](_0xabcbaa,0x0))return;console[_0x33bd5e(0x104)](),logger[_0x33bd5e(0xfa)](_0x521415['skUxP']),console[_0x33bd5e(0x104)](chalk['bold'][_0x33bd5e(0x156)](_0x521415['JHvMs'])),_0x724a4b['forEach'](_0x5797b5=>{const _0x387c04=_0x33bd5e,_0xbb473b={'OtkuB':function(_0x8652a,_0x1969a3){const _0x16c512=a33_0x57c2;return _0x521415[_0x16c512(0xed)](_0x8652a,_0x1969a3);},'RPUfl':_0x521415[_0x387c04(0x140)]},_0x389df2=[];_0xe058ca[_0x5797b5][_0x521415[_0x387c04(0x142)]][_0x387c04(0xe3)](_0x596a7b=>{const _0x1b0a0d=_0x387c04;_0xbb473b['OtkuB'](_0x596a7b['state'],_0xbb473b[_0x1b0a0d(0x144)])&&(_0x596a7b[_0x1b0a0d(0x112)]=()=>_0x596a7b[_0x1b0a0d(0x196)],_0x389df2[_0x1b0a0d(0x1d4)](_0x596a7b));}),_0x521415[_0x387c04(0x1bc)](_0x389df2['length'],0x0)&&(Base['consoleLog'](),Base[_0x387c04(0x1e9)](_0x521415[_0x387c04(0xe6)](_0x61a5e9),chalk[_0x387c04(0x149)][_0x387c04(0x1a4)](_0x5797b5)),Base[_0x387c04(0x1c8)](_0x389df2));});}}}async function run(_0x1a6923,_0x2834e9,_0x3a63e4){const _0x34c754=a33_0x2bf374,_0x96a79e={'rqkSm':function(_0x336dad,_0x4ce745,_0x478411,_0x15b640){return _0x336dad(_0x4ce745,_0x478411,_0x15b640);},'HHbiW':_0x34c754(0x1e2),'ZNZBb':_0x34c754(0x111),'NkvrT':_0x34c754(0x1c9),'LDqQX':function(_0x6fb98a,_0x9de89c,_0x4d803e,_0x326613){return _0x6fb98a(_0x9de89c,_0x4d803e,_0x326613);},'NErKl':_0x34c754(0x1d9),'eQzdu':function(_0x464670,_0x137ebd){return _0x464670!=_0x137ebd;},'mgVsF':_0x34c754(0x16b),'ILwMj':'mjs','TEgeA':_0x34c754(0xfb),'hjgVk':_0x34c754(0x162),'mkVuZ':function(_0x277881,_0x57192e){return _0x277881(_0x57192e);},'hlZGG':function(_0x3622ba,_0x2970bb,_0x55b1a2){return _0x3622ba(_0x2970bb,_0x55b1a2);},'wHWoI':_0x34c754(0x163),'AunUD':_0x34c754(0x1cc),'PNylR':_0x34c754(0x197),'xwzwP':'includeEncodedExtension','RGdij':_0x34c754(0x1e8),'CPrmP':_0x34c754(0x1be),'KyyNZ':function(_0x428f10,_0x1a24a9,_0x228b0e,_0x285f96){return _0x428f10(_0x1a24a9,_0x228b0e,_0x285f96);},'kSmXF':function(_0x2a68fb,_0x42a4c1){return _0x2a68fb*_0x42a4c1;},'eVboa':function(_0x16909a,_0x59ec80){return _0x16909a(_0x59ec80);},'mMzBF':function(_0xa8eef9,_0x5d41ce){return _0xa8eef9!==_0x5d41ce;},'UNoJd':function(_0x83cc87,_0x54d7a7,_0x40de97,_0x2161a2){return _0x83cc87(_0x54d7a7,_0x40de97,_0x2161a2);}};helper[_0x34c754(0xe0)](_0x3a63e4[_0x34c754(0x155)],_0x1a6923),await _0x3a63e4[_0x34c754(0x121)](_0x1a6923);helper[_0x34c754(0x10d)]()?await helper[_0x34c754(0x1a8)](_0x3a63e4[_0x34c754(0x12a)]):await _0x3a63e4[_0x34c754(0x186)]();const _0x2f6df5=[];let _0x30afd9=[];if(!_0x3a63e4[_0x34c754(0x12a)])return;!helper[_0x34c754(0x1e7)](_0x3a63e4[_0x34c754(0x12a)][_0x34c754(0x18a)])&&(process[_0x34c754(0x168)][_0x34c754(0x176)]=JSON[_0x34c754(0x1a0)](_0x3a63e4[_0x34c754(0x12a)]['accessibilityOptions']));const _0x56ac98=await TestHubHandler['launchBuild'](FRAMEWORKS['MOCHA'],_0x3a63e4);_0x96a79e[_0x34c754(0x115)](_0x3a63e4[_0x34c754(0x12a)][_0x34c754(0x129)],null)&&(process[_0x34c754(0x168)][_0x34c754(0x10e)]=_0x3a63e4[_0x34c754(0x12a)][_0x34c754(0x129)]);!helper[_0x34c754(0x1e7)](_0x3a63e4[_0x34c754(0x12a)][_0x34c754(0x1ae)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x3a63e4['config'][_0x34c754(0x1ae)]);const {extension:extension=['js',_0x96a79e[_0x34c754(0x17d)],_0x96a79e['ILwMj']],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x96a79e[_0x34c754(0x159)]]}=_0x1a6923,_0xb17c6={..._0x1a6923};_0xb17c6[_0x34c754(0x118)]=null;const _0x5b86ee=_0xb17c6;let _0x264937;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0xf7005f=process[_0x34c754(0x168)][_0x34c754(0x1da)];!helper['isUndefined'](_0x3a63e4['cliConfig'])&&_0x3a63e4[_0x34c754(0xf8)][_0x34c754(0x1e0)](_0x96a79e[_0x34c754(0x181)])&&(_0xf7005f=_0x3a63e4[_0x34c754(0xf8)][_0x34c754(0x13b)](_0x96a79e['hjgVk'])),_0x264937=testOpsHelper[_0x34c754(0x152)](_0xf7005f);}if(helper[_0x34c754(0x1e7)](_0x264937)){const _0x5e20b3={};_0x5e20b3[_0x34c754(0x193)]=ignore,_0x5e20b3['extension']=extension,_0x5e20b3[_0x34c754(0x145)]=file,_0x5e20b3[_0x34c754(0x122)]=recursive,_0x5e20b3[_0x34c754(0x12f)]=sort,_0x5e20b3[_0x34c754(0x139)]=spec,_0x264937=_0x96a79e[_0x34c754(0x1dd)](collectFiles,_0x5e20b3),_0x96a79e[_0x34c754(0x19a)](nestedKeyValue,_0x264937,[_0x96a79e['wHWoI']])&&(_0x264937=_0x264937['files']);}const _0x131831=helper[_0x34c754(0x1b6)](_0x3a63e4[_0x34c754(0x12a)]);!helper['isEmpty'](_0x131831)&&helper['isNotUndefined'](_0x131831[_0x34c754(0x1cd)])&&(_0x5b86ee[_0x34c754(0x1c4)]=_0x131831[_0x34c754(0x1cd)][_0x34c754(0x147)]);if(!helper[_0x34c754(0x10d)]()){const _0x17b986=0x1,_0x4f9286={..._0x5b86ee};_0x4f9286[_0x34c754(0x139)]=[..._0x264937],_0x2f6df5[_0x34c754(0x1d4)]({'mochaOpts':_0x4f9286,'configuration':{'platform':os[_0x34c754(0x135)]()}});if(_0x3a63e4[_0x34c754(0x12a)][_0x34c754(0x1ae)]){const _0x29b68e={};_0x29b68e['accessibility']=!![];const _0x49370e=_0x29b68e;_0x96a79e['eQzdu'](_0x3a63e4[_0x34c754(0x12a)]['accessibilityOptions'],null)&&(_0x49370e[_0x34c754(0x18a)]=_0x3a63e4[_0x34c754(0x12a)][_0x34c754(0x18a)],delete _0x49370e['accessibilityOptions'][_0x96a79e[_0x34c754(0x148)]],delete _0x49370e[_0x34c754(0x18a)][_0x96a79e['PNylR']],delete _0x49370e[_0x34c754(0x18a)][_0x96a79e['xwzwP']]);const _0x372ee5={};_0x372ee5[_0x34c754(0xf0)]=_0x49370e,_0x2f6df5[0x0][_0x34c754(0x16f)][_0x34c754(0x1d3)]=_0x372ee5;}logger[_0x34c754(0x192)](_0x96a79e[_0x34c754(0x1b2)]),logger[_0x34c754(0x192)](_0x96a79e[_0x34c754(0x1cf)]),_0x96a79e['KyyNZ'](parallelTestRun,_0x2f6df5,_0x17b986,_0x3a63e4)['then'](_0x137cc9=>{const _0x56c29a=_0x34c754;PerformanceTester['start'](PerformanceEvents[_0x56c29a(0x1b0)]),_0x96a79e['rqkSm'](printStats,_0x137cc9,_0x1a6923[_0x56c29a(0x1e4)],_0x1a6923['reporterOptions']||_0x1a6923[_0x96a79e['HHbiW']]);})[_0x34c754(0x136)](()=>{const _0x41a96f=_0x34c754;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0x3cb75c,tcgConfigPath:_0x2eab5c}=helper[_0x41a96f(0x1bd)]();fs[_0x41a96f(0xe8)](_0x2eab5c),fs[_0x41a96f(0xf7)](_0x3cb75c);}catch(_0x5487ba){logger[_0x41a96f(0xfa)](_0x96a79e[_0x41a96f(0x11e)],_0x5487ba);}try{utilities['fireFunnelTestEvent'](_0x96a79e[_0x41a96f(0x1b7)],{},_0x3a63e4[_0x41a96f(0x12a)],_0x3a63e4[_0x41a96f(0x155)]);}catch(_0x46044e){logger['debug'](_0x41a96f(0x137)+_0x46044e[_0x41a96f(0x1c1)]);}try{helper[_0x41a96f(0x14f)]();}catch(_0xe1dcb){logger[_0x41a96f(0xfa)](_0x41a96f(0x128)+_0xe1dcb);}testOpsHelper[_0x41a96f(0x10a)]();});}else{const _0x3fd4b6=helper['useW3C'](_0x3a63e4[_0x34c754(0x12a)]);let _0x215726=helper[_0x34c754(0x1d5)](_0x3a63e4['config']);_0x30afd9=helper[_0x34c754(0xeb)](_0x3a63e4[_0x34c754(0x12a)],_0x3fd4b6,constants[_0x34c754(0xec)][_0x34c754(0xf2)]);helper[_0x34c754(0x1c5)]()['central_scanner']&&(_0x215726=centralScannerConstants[_0x34c754(0x14d)]);let _0xfc5f68;const _0x1e155f=_0x3a63e4[_0x34c754(0x12a)][_0x34c754(0x17c)]||helper[_0x34c754(0x16c)](_0x1a6923,_0x2834e9,_0x3a63e4[_0x34c754(0x12a)],constants[_0x34c754(0xec)][_0x34c754(0xf2)])||0x1;helper[_0x34c754(0x153)](_0x3a63e4['config'])?_0xfc5f68=_0x96a79e[_0x34c754(0x11d)](_0x3a63e4['config'][_0x34c754(0x1c7)]['length'],_0x1e155f):_0xfc5f68=_0x1e155f;const _0x8eec30=_0x96a79e[_0x34c754(0x172)](getPercyOptions,_0x3a63e4[_0x34c754(0x12a)]);if(_0x96a79e[_0x34c754(0x13c)](_0x3a63e4[_0x34c754(0x12a)][_0x34c754(0x17c)],0x1))_0x264937['forEach'](_0x21f490=>{const _0x424d66=_0x34c754,_0xf43a04=[];_0x30afd9[_0x424d66(0xe3)]((_0xb28e8,_0x15ae40)=>{const _0xe33adf=_0x424d66,_0x44295b={};_0x44295b[_0xe33adf(0x139)]=[_0x21f490],_0xf43a04[_0xe33adf(0x1d4)]({'mochaOpts':Object[_0xe33adf(0x141)]({},_0x5b86ee,_0x44295b),'configuration':{'server':_0x215726,'capability':_0xb28e8,'proxySettings':_0x3a63e4[_0xe33adf(0x12a)][_0xe33adf(0xf3)],'platform':helper[_0xe33adf(0xfd)](_0xb28e8),'browserStackLogLevel':_0x3a63e4[_0xe33adf(0x12a)][_0xe33adf(0x11c)],'platformIndex':_0x15ae40,'browserStackPercyOptions':_0x8eec30,'platformCaps':Object[_0xe33adf(0x141)]({'index':_0x15ae40},_0x3a63e4[_0xe33adf(0x12a)][_0xe33adf(0x1c7)][_0x15ae40])}});}),_0x2f6df5[_0x424d66(0x1d4)](..._0xf43a04);});else{const _0x232152=[];_0x30afd9[_0x34c754(0xe3)]((_0x10dd24,_0x6366b9)=>{const _0x2b7f5d=_0x34c754;let _0x49746b=Object['assign']({},_0x5b86ee);testOpsHelper[_0x2b7f5d(0x1df)]()&&testOpsHelper[_0x2b7f5d(0x13d)]()&&(_0x49746b={..._0x49746b,'spec':[..._0x264937]}),_0x232152['push']({'mochaOpts':_0x49746b,'configuration':{'server':_0x215726,'capability':_0x10dd24,'proxySettings':_0x3a63e4[_0x2b7f5d(0x12a)]['proxySettings'],'platform':helper[_0x2b7f5d(0xfd)](_0x10dd24),'browserStackLogLevel':_0x3a63e4[_0x2b7f5d(0x12a)][_0x2b7f5d(0x11c)],'platformIndex':_0x6366b9,'browserStackPercyOptions':_0x8eec30,'platformCaps':Object[_0x2b7f5d(0x141)]({'index':_0x6366b9},_0x3a63e4['config'][_0x2b7f5d(0x1c7)][_0x6366b9])}});}),_0x2f6df5['push'](..._0x232152);}logger['info'](_0x34c754(0x109)+_0x3a63e4['config']['platforms']['length']+'\x20platforms'),logger['info'](_0x96a79e[_0x34c754(0x1cf)]);let _0x5d96c1;_0x96a79e[_0x34c754(0xdf)](parallelTestRun,_0x2f6df5,_0xfc5f68,_0x3a63e4)['then'](_0x87a998=>{const _0x19da0f=_0x34c754;PerformanceTester[_0x19da0f(0x171)](PerformanceEvents[_0x19da0f(0x1b0)]),_0x5d96c1=_0x87a998,_0x96a79e[_0x19da0f(0xe4)](printStats,_0x87a998,_0x1a6923[_0x19da0f(0x1e4)],_0x1a6923[_0x19da0f(0x116)]||_0x1a6923[_0x96a79e[_0x19da0f(0x132)]]);})['finally'](async()=>{const _0x4ca33f=_0x34c754;PerformanceTester['start'](PerformanceEvents[_0x4ca33f(0x1b0)]),_0x3a63e4['errorMessage']=helper[_0x4ca33f(0x167)](_0x5d96c1,_0x96a79e['NErKl']),await utilities[_0x4ca33f(0x15e)](_0x3a63e4),testOpsHelper[_0x4ca33f(0x10a)]();});}}module[a33_0x2bf374(0x189)]=run;
@@ -1 +1 @@
1
- const a34_0x55232e=a34_0x50b4;(function(_0x262634,_0xd0dcd1){const _0x414757=a34_0x50b4,_0x311894=_0x262634();while(!![]){try{const _0xf932c9=parseInt(_0x414757(0x266))/0x1*(-parseInt(_0x414757(0x1fa))/0x2)+-parseInt(_0x414757(0x232))/0x3+-parseInt(_0x414757(0x22c))/0x4+parseInt(_0x414757(0x1fb))/0x5+-parseInt(_0x414757(0x24a))/0x6+parseInt(_0x414757(0x259))/0x7*(-parseInt(_0x414757(0x239))/0x8)+parseInt(_0x414757(0x22b))/0x9;if(_0xf932c9===_0xd0dcd1)break;else _0x311894['push'](_0x311894['shift']());}catch(_0x4d8fdc){_0x311894['push'](_0x311894['shift']());}}}(a34_0x4bbd,0x35dc6));function a34_0x4bbd(){const _0x38f6ed=['BwMiJ','BuWMH','originalBuilder','580131JZfoGK','split','capabilities_','OPBvc','opYex','exports','../../../helpers/patchHelpers','16iVDyNS','__driversArray','isBrowserstackInfra','debug','updateHubUrl','edgeOptions_','set','safari.options','WzlRZ','build','firefoxOptions','CAPABILITY_KEY','push','ieOptions_','__drivers','global','PeYbz','2338266iCdyyS','YnHPD','isUndefined','ZYHRG','plAHT','mEhPq','setCapabilities','se:ieOptions','/wd/hub','bzFOb','options_','AEoKe','keys','HFDwr','overrideGet','1268911oSgxua','chromeOptions_','chromeOptions','../../../bin/utils/constants','5|3|0|4|2|1','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','getAccessibilityResults','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','caps_','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','TyzXh','safariOptions_','requireSeleniumWebdriver','5QZIzcX','proxyUrl','browserstackAgentObservability','mergeDeep','Proxy\x20set\x20to\x20','https://','__driver','New\x20hub\x20url\x20set\x20to\x20','../../../helpers/accessibility-automation/helper','tekAN','requireHttpClient','52674TAbjlc','216470epDltb','wTdlN','QHgns','ztOfF','newHubUrl','proxySettings','sAQir','getHubUrl','LrecN','Modifying\x20webdriver\x20builder','bBaYq','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','goog:chromeOptions','session_','winstonLogger','getGlobal','../../../hubAllocationMethods','get','uvKtM','GUHnu','Setting\x20Browserstack\x20capabilities','getRequestOptions','error','iKXrK','__setBrowserOptions','info','agent_','capability','proxy_','optimalHubUrl','Rvzxb','kFZNP','getAccessibilityResultsSummary','updAx','cJKJK','../accessibility-automation/helper','send','TkGVR','path','CSVev','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','forEach','HttpClient','gqSAw','then','Builder','../../../helpers/helper','url_','14568363ZIsebJ','1456272RmzyaF','firefoxOptions_','mplop'];a34_0x4bbd=function(){return _0x38f6ed;};return a34_0x4bbd();}function a34_0x50b4(_0x37631f,_0x28fa22){const _0x4bbdbe=a34_0x4bbd();return a34_0x50b4=function(_0x50b419,_0x132147){_0x50b419=_0x50b419-0x1f2;let _0x3bf7a6=_0x4bbdbe[_0x50b419];return _0x3bf7a6;},a34_0x50b4(_0x37631f,_0x28fa22);}const logger=require('../../../helpers/logger')[a34_0x55232e(0x209)],helper=require(a34_0x55232e(0x229)),constants=require(a34_0x55232e(0x25c)),hubAllocator=require(a34_0x55232e(0x20b)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a34_0x55232e(0x238)),{setAccessibilityCapabilities,setExtension}=require(a34_0x55232e(0x21e)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a34_0x55232e(0x1f7)),globals=require('../../../helpers/globals'),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x4fa8a7,_0x1d0258=null,_0x2807f2=![])=>{const _0x6f1d8a=a34_0x55232e,_0x269e13={'mplop':function(_0x53a755,_0x385d79){return _0x53a755!==_0x385d79;},'Rvzxb':'/session','GUHnu':function(_0x2463c6,_0x177a86){return _0x2463c6!==_0x177a86;},'AEoKe':function(_0x2ab166,_0x5d4b2c){return _0x2ab166+_0x5d4b2c;},'sAQir':function(_0x5946e7,_0xf25267){return _0x5946e7+_0xf25267;},'YnHPD':_0x6f1d8a(0x1f4),'swmQx':_0x6f1d8a(0x252),'eILga':_0x6f1d8a(0x207),'PeYbz':_0x6f1d8a(0x25b),'MJrIH':'ms:edgeOptions','plAHT':'edgeOptions','wTdlN':'moz:firefoxOptions','mEhPq':_0x6f1d8a(0x243),'bzFOb':_0x6f1d8a(0x240),'CSVev':_0x6f1d8a(0x251),'btAXm':'ieOptions','gqSAw':function(_0x471023,_0x43ac4b){return _0x471023===_0x43ac4b;},'Ukdqd':'object','BwMiJ':_0x6f1d8a(0x20f),'TyzXh':_0x6f1d8a(0x218),'opYex':_0x6f1d8a(0x223),'OPBvc':function(_0x2815fb,_0x1e789a,_0x5a4fa9){return _0x2815fb(_0x1e789a,_0x5a4fa9);},'tekAN':function(_0x1e9af5,_0x305a13,_0x504f49){return _0x1e9af5(_0x305a13,_0x504f49);},'iKXrK':function(_0x1ad4b9,_0xf7df09){return _0x1ad4b9(_0xf7df09);},'zDwEW':function(_0x452987,_0x549d77,_0x19f310){return _0x452987(_0x549d77,_0x19f310);},'TkGVR':function(_0x583813,_0x56a181,_0x1362db){return _0x583813(_0x56a181,_0x1362db);},'QHgns':_0x6f1d8a(0x25d),'cJKJK':_0x6f1d8a(0x260),'kFZNP':'isAccessibilityPlatform','WzlRZ':function(_0x8cb1c0){return _0x8cb1c0();},'HFDwr':function(_0x559b57,_0x2e2e0b){return _0x559b57(_0x2e2e0b);},'ztOfF':function(_0x469ab2,_0x222ed9){return _0x469ab2(_0x222ed9);},'bBaYq':function(_0x46e2be,_0x3b7fd0){return _0x46e2be(_0x3b7fd0);},'LrecN':function(_0x5b2dc4,_0x1a9504){return _0x5b2dc4!==_0x1a9504;},'OBhrF':_0x6f1d8a(0x25e),'BuWMH':_0x6f1d8a(0x204)},_0x54cf21=helper[_0x6f1d8a(0x1f9)]();let _0x29172e;try{_0x29172e=helper[_0x6f1d8a(0x265)](),_0x29172e[_0x6f1d8a(0x231)]&&(_0x29172e[_0x6f1d8a(0x228)]=_0x29172e[_0x6f1d8a(0x231)]);}catch(_0x1d0fa1){return;}if(helper[_0x6f1d8a(0x23b)]()){const _0x47d76d={};_0x47d76d['logLevel']=_0x4fa8a7['browserStackLogLevel'],helper['setLogLevel'](_0x47d76d,new Map(),new Map()),logger[_0x6f1d8a(0x214)](_0x269e13['OBhrF']),logger[_0x6f1d8a(0x23c)](_0x269e13[_0x6f1d8a(0x230)]);}class _0x42e89b extends _0x54cf21[_0x6f1d8a(0x225)]{[_0x6f1d8a(0x21f)](_0x4a377a){const _0x3fca46=_0x6f1d8a;if(_0x269e13[_0x3fca46(0x22e)](_0x4a377a[_0x3fca46(0x221)],_0x269e13[_0x3fca46(0x219)])&&_0x269e13[_0x3fca46(0x20e)](global[_0x3fca46(0x1ff)],''))try{global[_0x3fca46(0x1ff)]=_0x269e13[_0x3fca46(0x255)](_0x269e13[_0x3fca46(0x201)](_0x269e13[_0x3fca46(0x24b)],global['newHubUrl']),_0x269e13['swmQx']),this[_0x3fca46(0x254)]=hubAllocator[_0x3fca46(0x210)](global[_0x3fca46(0x1ff)]),logger[_0x3fca46(0x23c)](_0x3fca46(0x1f6)+global[_0x3fca46(0x1ff)]),global[_0x3fca46(0x1ff)]='';}catch(_0x442669){logger[_0x3fca46(0x211)](_0x442669);}return super[_0x3fca46(0x21f)](_0x4a377a);}}class _0x1053ff extends _0x29172e['Builder']{['setServer'](){const _0x58d311=_0x6f1d8a;return this[_0x58d311(0x22a)]=helper[_0x58d311(0x202)](_0x4fa8a7),logger[_0x58d311(0x23c)]('Hub\x20url\x20set\x20to\x20'+this['url_']),this;}[_0x6f1d8a(0x213)](_0x314a48){const _0x459a24=_0x6f1d8a;let _0x1129fd={};for(const _0x2a9e14 in _0x314a48){switch(_0x2a9e14){case _0x269e13['eILga']:case _0x269e13[_0x459a24(0x249)]:this['chromeOptions_']&&(_0x1129fd=this[_0x459a24(0x25a)][_0x459a24(0x20c)](this[_0x459a24(0x25a)][_0x459a24(0x244)])||{},this[_0x459a24(0x25a)][_0x459a24(0x23f)](this['chromeOptions_'][_0x459a24(0x244)],helper['mergeDeep'](_0x1129fd,_0x314a48[_0x2a9e14])));break;case _0x269e13['MJrIH']:case _0x269e13[_0x459a24(0x24e)]:this[_0x459a24(0x23e)]&&(_0x1129fd=this[_0x459a24(0x23e)][_0x459a24(0x20c)](this['edgeOptions_']['CAPABILITY_KEY'])||{},this['edgeOptions_']['set'](this[_0x459a24(0x23e)][_0x459a24(0x244)],helper[_0x459a24(0x1f2)](_0x1129fd,_0x314a48[_0x2a9e14])));break;case _0x269e13[_0x459a24(0x1fc)]:case _0x269e13[_0x459a24(0x24f)]:this[_0x459a24(0x22d)]&&(_0x1129fd=this['firefoxOptions_'][_0x459a24(0x20c)](this[_0x459a24(0x22d)][_0x459a24(0x244)])||{},this[_0x459a24(0x22d)]['set'](this[_0x459a24(0x22d)]['CAPABILITY_KEY'],helper[_0x459a24(0x1f2)](_0x1129fd,_0x314a48[_0x2a9e14])));break;case _0x269e13[_0x459a24(0x253)]:this[_0x459a24(0x264)]&&(_0x1129fd=this[_0x459a24(0x264)][_0x459a24(0x20c)](this[_0x459a24(0x264)]['CAPABILITY_KEY'])||{},this['safariOptions_']['set'](this[_0x459a24(0x264)]['CAPABILITY_KEY'],helper[_0x459a24(0x1f2)](_0x1129fd,_0x314a48[_0x2a9e14])));break;case _0x269e13[_0x459a24(0x222)]:case _0x269e13['btAXm']:this[_0x459a24(0x246)]&&(_0x1129fd=this[_0x459a24(0x246)][_0x459a24(0x20c)](this[_0x459a24(0x246)][_0x459a24(0x244)])||{},this['ieOptions_'][_0x459a24(0x23f)](this[_0x459a24(0x246)][_0x459a24(0x244)],helper[_0x459a24(0x1f2)](_0x1129fd,_0x314a48[_0x2a9e14])));break;}}}[_0x6f1d8a(0x250)](){const _0x10a028=_0x6f1d8a,_0x34cb12={'bJHYW':function(_0x3b3bd3,_0x31eeab){const _0x548e24=a34_0x50b4;return _0x269e13[_0x548e24(0x226)](_0x3b3bd3,_0x31eeab);},'updAx':_0x269e13['Ukdqd']};return logger[_0x10a028(0x23c)](_0x269e13[_0x10a028(0x22f)]),this[_0x10a028(0x213)](_0x4fa8a7[_0x10a028(0x216)]),Object[_0x10a028(0x256)](_0x4fa8a7[_0x10a028(0x216)])[_0x10a028(0x224)](_0x3e48da=>{const _0x32dc06=_0x10a028,_0x3d85f8=this[_0x32dc06(0x234)]['get'](_0x3e48da);_0x34cb12['bJHYW'](typeof _0x3d85f8,_0x34cb12[_0x32dc06(0x21c)])?this['capabilities_'][_0x32dc06(0x23f)](_0x3e48da,helper[_0x32dc06(0x1f2)](_0x3d85f8,_0x4fa8a7[_0x32dc06(0x216)][_0x3e48da])):this[_0x32dc06(0x234)]['set'](_0x3e48da,_0x4fa8a7['capability'][_0x3e48da]);}),this;}[_0x6f1d8a(0x242)](){const _0x58bf68=_0x6f1d8a,_0x48845e={'ZYHRG':function(_0x16cf6e,_0x5ca231,_0x3bbd75){const _0x5cf7bf=a34_0x50b4;return _0x269e13[_0x5cf7bf(0x220)](_0x16cf6e,_0x5ca231,_0x3bbd75);}};if(helper[_0x58bf68(0x23b)]()){const _0x1f0649=_0x269e13[_0x58bf68(0x1fd)][_0x58bf68(0x233)]('|');let _0x1578c4=0x0;while(!![]){switch(_0x1f0649[_0x1578c4++]){case'0':this['setCapabilities']();continue;case'1':logger[_0x58bf68(0x23c)](_0x269e13[_0x58bf68(0x21d)]);continue;case'2':globals[_0x58bf68(0x20a)](_0x269e13[_0x58bf68(0x21a)])&&(!_0x269e13[_0x58bf68(0x235)](setExtension,this,_0x4fa8a7)&&globals['setGlobal'](_0x269e13[_0x58bf68(0x21a)],![]));continue;case'3':this['setServer']();continue;case'4':if(helper['isPacProxy'](_0x4fa8a7[_0x58bf68(0x200)][_0x58bf68(0x267)]))this[_0x58bf68(0x215)]=helper['getHttpAgent'](_0x4fa8a7[_0x58bf68(0x200)]['proxyUrl']);else _0x4fa8a7[_0x58bf68(0x200)][_0x58bf68(0x267)]&&(this[_0x58bf68(0x217)]=_0x4fa8a7[_0x58bf68(0x200)][_0x58bf68(0x267)],logger[_0x58bf68(0x23c)](_0x58bf68(0x1f3)+this[_0x58bf68(0x217)]));continue;case'5':_0x269e13[_0x58bf68(0x241)](isAccessibilityAutomationSession)&&_0x269e13[_0x58bf68(0x257)](setAccessibilityCapabilities,_0x4fa8a7);continue;}break;}}const _0x5efe4f=super['build']();return _0x5efe4f[_0x58bf68(0x208)][_0x58bf68(0x227)](_0x292342=>{const _0x2603ea=_0x58bf68;try{const _0x59d0a7=_0x292342[_0x2603ea(0x261)][_0x2603ea(0x20c)](_0x269e13[_0x2603ea(0x263)]);_0x59d0a7?(logger['debug'](_0x2603ea(0x206)+_0x59d0a7),hubAllocator[_0x2603ea(0x23d)](_0x59d0a7),helper['storeOptimalHubUrl'](_0x59d0a7)):logger[_0x2603ea(0x23c)](_0x269e13[_0x2603ea(0x236)]);}catch(_0x48c3e0){logger['debug'](_0x2603ea(0x262)+_0x48c3e0);}}),_0x5efe4f['quitCount_']=0x0,_0x5efe4f['then']&&_0x5efe4f[_0x58bf68(0x227)](_0xf21044=>{const _0xfa6ca=_0x58bf68,_0x29e8af={'uvKtM':function(_0x4becda,_0x1629fa,_0x4f8fbb){return _0x269e13['OPBvc'](_0x4becda,_0x1629fa,_0x4f8fbb);}};_0x269e13['tekAN'](overrideQuit,_0xf21044,_0x5efe4f),_0x269e13[_0xfa6ca(0x212)](overrideTakeScreenshot,_0xf21044),helper['overrideGet'](_0xf21044,_0x4fa8a7),_0x269e13[_0xfa6ca(0x1f8)](overrideExecute,_0xf21044,_0x4fa8a7),_0xf21044[_0xfa6ca(0x21b)]=async()=>{const _0x304912=_0xfa6ca;return await _0x29e8af[_0x304912(0x20d)](getAccessibilityResultsSummary,_0xf21044,global);},_0xf21044[_0xfa6ca(0x25f)]=async()=>{const _0x306e64=_0xfa6ca;return await _0x48845e[_0x306e64(0x24d)](getAccessibilityResults,_0xf21044,global);};}),_0x5efe4f['getAccessibilityResultsSummary']=async()=>{const _0xf0ebe=_0x58bf68;return await _0x48845e[_0xf0ebe(0x24d)](getAccessibilityResultsSummary,_0x5efe4f,global);},_0x5efe4f['getAccessibilityResults']=async()=>{return await _0x269e13['zDwEW'](getAccessibilityResults,_0x5efe4f,global);},_0x269e13[_0x58bf68(0x1fe)](overrideTakeScreenshot,_0x5efe4f),_0x269e13[_0x58bf68(0x205)](overrideQuit,_0x5efe4f),helper[_0x58bf68(0x258)](_0x5efe4f,_0x4fa8a7),_0x269e13['TkGVR'](overrideExecute,_0x5efe4f,_0x4fa8a7),helper[_0x58bf68(0x24c)](global[_0x58bf68(0x23a)])&&(global[_0x58bf68(0x23a)]=[]),helper[_0x58bf68(0x24c)](global[_0x58bf68(0x247)])&&(global[_0x58bf68(0x247)]=[]),global[_0x58bf68(0x23a)]['push'](_0x5efe4f),global[_0x58bf68(0x1f5)]=_0x5efe4f,_0x269e13['GUHnu'](global[_0x58bf68(0x247)],undefined)&&global[_0x58bf68(0x247)]['push'](_0x5efe4f),_0x1d0258&&helper['isUndefined'](_0x1d0258[_0x58bf68(0x248)]['__driversArray'])&&(_0x1d0258[_0x58bf68(0x248)]['__driversArray']=[]),_0x1d0258&&_0x269e13[_0x58bf68(0x203)](_0x1d0258[_0x58bf68(0x248)][_0x58bf68(0x247)],undefined)&&(_0x1d0258['global'][_0x58bf68(0x247)][_0x58bf68(0x245)](_0x5efe4f),_0x1d0258['global'][_0x58bf68(0x23a)][_0x58bf68(0x245)](_0x5efe4f)),_0x5efe4f;}}return _0x29172e[_0x6f1d8a(0x231)]=_0x29172e['Builder'],_0x29172e[_0x6f1d8a(0x228)]=_0x1053ff,_0x54cf21[_0x6f1d8a(0x225)]=_0x42e89b,_0x29172e;};module[a34_0x55232e(0x237)][a34_0x55232e(0x268)]=modify;
1
+ function a34_0x52d4(_0x593487,_0x186298){const _0x15edd3=a34_0x15ed();return a34_0x52d4=function(_0x52d489,_0x52d617){_0x52d489=_0x52d489-0x111;let _0x3e7f0a=_0x15edd3[_0x52d489];return _0x3e7f0a;},a34_0x52d4(_0x593487,_0x186298);}function a34_0x15ed(){const _0xffb7f7=['7NqLbEW','setCapabilities','FpuLj','updateHubUrl','5QqtdBQ','771471MwRQUQ','Modifying\x20webdriver\x20builder','getRequestOptions','getAccessibilityResultsSummary','setLogLevel','../../../helpers/helper','NVAFn','pPMhj','forEach','get','../../../hubAllocationMethods','Setting\x20Browserstack\x20capabilities','object','isUndefined','jKlTz','https://','/session','wodjn','CansP','setServer','ZDwnk','HttpClient','moz:firefoxOptions','UCWdl','browserstackAgentObservability','getHubUrl','ONRyO','cCQNN','send','New\x20hub\x20url\x20set\x20to\x20','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','originalBuilder','__setBrowserOptions','tJhkz','push','__driver','capability','safari.options','chromeOptions','__drivers','set','safariOptions_','getGlobal','agent_','dIdVg','url_','../../../helpers/patchHelpers','getHttpAgent','movxo','caps_','newHubUrl','ieOptions','605zPKcQA','__driversArray','firefoxOptions','EPlol','iTNme','logLevel','edgeOptions_','xfVfc','exports','overrideGet','error','fWFTE','proxySettings','capabilities_','77070NmYCBL','path','mergeDeep','browserStackLogLevel','proxyUrl','Builder','ieOptions_','../../../helpers/logger','goog:chromeOptions','492slsJgy','/wd/hub','CAPABILITY_KEY','isPacProxy','Proxy\x20set\x20to\x20','urHBr','KZBpq','Hub\x20url\x20set\x20to\x20','hVpmE','ILoxf','requireHttpClient','keys','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','quitCount_','yOfJJ','../accessibility-automation/helper','then','global','proxy_','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','wexDr','../../../helpers/accessibility-automation/helper','isBrowserstackInfra','debug','788826REkLWU','1111716gFvvmH','xDHFq','850744SMcSAE','chromeOptions_','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','se:ieOptions','2995OzvvqE','kyWGx','DSuyc','storeOptimalHubUrl','split','ZwFTa','build','Qawyu','firefoxOptions_','edgeOptions','55530xXHAla','getAccessibilityResults','setGlobal','qdhRT','info'];a34_0x15ed=function(){return _0xffb7f7;};return a34_0x15ed();}const a34_0x27d948=a34_0x52d4;(function(_0x4ba155,_0x4a38ab){const _0x5855bb=a34_0x52d4,_0x123e47=_0x4ba155();while(!![]){try{const _0x5e970e=-parseInt(_0x5855bb(0x164))/0x1*(parseInt(_0x5855bb(0x129))/0x2)+parseInt(_0x5855bb(0x165))/0x3+-parseInt(_0x5855bb(0x132))/0x4*(parseInt(_0x5855bb(0x151))/0x5)+-parseInt(_0x5855bb(0x14a))/0x6+-parseInt(_0x5855bb(0x160))/0x7*(-parseInt(_0x5855bb(0x14d))/0x8)+-parseInt(_0x5855bb(0x14b))/0x9+parseInt(_0x5855bb(0x15b))/0xa*(parseInt(_0x5855bb(0x11b))/0xb);if(_0x5e970e===_0x4a38ab)break;else _0x123e47['push'](_0x123e47['shift']());}catch(_0x2ef307){_0x123e47['push'](_0x123e47['shift']());}}}(a34_0x15ed,0x24070));const logger=require(a34_0x27d948(0x130))['winstonLogger'],helper=require(a34_0x27d948(0x16a)),constants=require('../../../bin/utils/constants'),hubAllocator=require(a34_0x27d948(0x16f)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a34_0x27d948(0x115)),{setAccessibilityCapabilities,setExtension}=require(a34_0x27d948(0x141)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a34_0x27d948(0x147)),globals=require('../../../helpers/globals'),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x1afaa4,_0x5b73ce=null,_0x5842b2=![])=>{const _0x257c6c=a34_0x27d948,_0x3b953d={'ILoxf':function(_0x4cada8,_0x5801f6){return _0x4cada8!==_0x5801f6;},'DSuyc':_0x257c6c(0x175),'xfVfc':function(_0x4475d1,_0x355b76){return _0x4475d1+_0x355b76;},'tJhkz':_0x257c6c(0x174),'xDHFq':_0x257c6c(0x133),'wexDr':_0x257c6c(0x131),'Qawyu':_0x257c6c(0x18b),'FpuLj':'ms:edgeOptions','iTNme':_0x257c6c(0x15a),'EdZCr':_0x257c6c(0x17b),'qdhRT':_0x257c6c(0x11d),'ViMOf':_0x257c6c(0x18a),'oVOYr':_0x257c6c(0x150),'cCQNN':_0x257c6c(0x11a),'TQqVQ':function(_0x3de724,_0x25b2ab){return _0x3de724===_0x25b2ab;},'CansP':_0x257c6c(0x171),'yOfJJ':_0x257c6c(0x170),'ZwFTa':'optimalHubUrl','pPMhj':_0x257c6c(0x183),'epyOm':function(_0x5142d7,_0x3312f3,_0x171984){return _0x5142d7(_0x3312f3,_0x171984);},'urHBr':function(_0x16ad81,_0xa549db,_0x20bbdb){return _0x16ad81(_0xa549db,_0x20bbdb);},'TqMSR':function(_0x220923,_0x4c16b8){return _0x220923(_0x4c16b8);},'mBPOQ':function(_0x3bcc5d,_0x240ce3,_0x258572){return _0x3bcc5d(_0x240ce3,_0x258572);},'RLXYL':'4|5|0|1|2|3','hVpmE':'isAccessibilityPlatform','KZBpq':function(_0x128f06,_0x32e6c8,_0x94420b){return _0x128f06(_0x32e6c8,_0x94420b);},'fWFTE':_0x257c6c(0x14f),'jKlTz':function(_0x4fba96){return _0x4fba96();},'ZDwnk':function(_0x5982d1,_0x4493ba,_0xb8ca21){return _0x5982d1(_0x4493ba,_0xb8ca21);},'sMYxQ':function(_0x3500f5,_0x25bcb6){return _0x3500f5!==_0x25bcb6;},'kyWGx':function(_0x5194b2,_0x8cc53b){return _0x5194b2!==_0x8cc53b;},'EPlol':_0x257c6c(0x145),'movxo':_0x257c6c(0x166)},_0x2b31ca=helper[_0x257c6c(0x13c)]();let _0x2ba40c;try{_0x2ba40c=helper['requireSeleniumWebdriver'](),_0x2ba40c[_0x257c6c(0x184)]&&(_0x2ba40c['Builder']=_0x2ba40c[_0x257c6c(0x184)]);}catch(_0xd13bd5){return;}if(helper[_0x257c6c(0x148)]()){const _0x5b6373={};_0x5b6373[_0x257c6c(0x120)]=_0x1afaa4[_0x257c6c(0x12c)],helper[_0x257c6c(0x169)](_0x5b6373,new Map(),new Map()),logger[_0x257c6c(0x15f)](_0x3b953d[_0x257c6c(0x11e)]),logger['debug'](_0x3b953d[_0x257c6c(0x117)]);}class _0x4f17e2 extends _0x2b31ca[_0x257c6c(0x17a)]{[_0x257c6c(0x181)](_0x2e7d51){const _0x286cea=_0x257c6c;if(_0x3b953d[_0x286cea(0x13b)](_0x2e7d51[_0x286cea(0x12a)],_0x3b953d[_0x286cea(0x153)])&&_0x3b953d[_0x286cea(0x13b)](global[_0x286cea(0x119)],''))try{global[_0x286cea(0x119)]=_0x3b953d['xfVfc'](_0x3b953d[_0x286cea(0x122)](_0x3b953d[_0x286cea(0x186)],global[_0x286cea(0x119)]),_0x3b953d[_0x286cea(0x14c)]),this['options_']=hubAllocator[_0x286cea(0x167)](global[_0x286cea(0x119)]),logger[_0x286cea(0x149)](_0x286cea(0x182)+global[_0x286cea(0x119)]),global[_0x286cea(0x119)]='';}catch(_0x50a386){logger[_0x286cea(0x125)](_0x50a386);}return super['send'](_0x2e7d51);}}class _0x850d39 extends _0x2ba40c[_0x257c6c(0x12e)]{[_0x257c6c(0x178)](){const _0x250c1d=_0x257c6c;return this[_0x250c1d(0x114)]=helper[_0x250c1d(0x17e)](_0x1afaa4),logger[_0x250c1d(0x149)](_0x250c1d(0x139)+this['url_']),this;}[_0x257c6c(0x185)](_0x1e5ab9){const _0x55c6ed=_0x257c6c;let _0x18dede={};for(const _0x5f3c6d in _0x1e5ab9){switch(_0x5f3c6d){case _0x3b953d[_0x55c6ed(0x146)]:case _0x3b953d[_0x55c6ed(0x158)]:this['chromeOptions_']&&(_0x18dede=this[_0x55c6ed(0x14e)]['get'](this['chromeOptions_'][_0x55c6ed(0x134)])||{},this[_0x55c6ed(0x14e)][_0x55c6ed(0x18d)](this[_0x55c6ed(0x14e)][_0x55c6ed(0x134)],helper[_0x55c6ed(0x12b)](_0x18dede,_0x1e5ab9[_0x5f3c6d])));break;case _0x3b953d[_0x55c6ed(0x162)]:case _0x3b953d[_0x55c6ed(0x11f)]:this[_0x55c6ed(0x121)]&&(_0x18dede=this[_0x55c6ed(0x121)]['get'](this['edgeOptions_'][_0x55c6ed(0x134)])||{},this[_0x55c6ed(0x121)][_0x55c6ed(0x18d)](this[_0x55c6ed(0x121)]['CAPABILITY_KEY'],helper[_0x55c6ed(0x12b)](_0x18dede,_0x1e5ab9[_0x5f3c6d])));break;case _0x3b953d['EdZCr']:case _0x3b953d[_0x55c6ed(0x15e)]:this[_0x55c6ed(0x159)]&&(_0x18dede=this[_0x55c6ed(0x159)][_0x55c6ed(0x16e)](this[_0x55c6ed(0x159)]['CAPABILITY_KEY'])||{},this[_0x55c6ed(0x159)]['set'](this[_0x55c6ed(0x159)][_0x55c6ed(0x134)],helper['mergeDeep'](_0x18dede,_0x1e5ab9[_0x5f3c6d])));break;case _0x3b953d['ViMOf']:this[_0x55c6ed(0x18e)]&&(_0x18dede=this[_0x55c6ed(0x18e)]['get'](this['safariOptions_'][_0x55c6ed(0x134)])||{},this[_0x55c6ed(0x18e)]['set'](this[_0x55c6ed(0x18e)][_0x55c6ed(0x134)],helper[_0x55c6ed(0x12b)](_0x18dede,_0x1e5ab9[_0x5f3c6d])));break;case _0x3b953d['oVOYr']:case _0x3b953d[_0x55c6ed(0x180)]:this[_0x55c6ed(0x12f)]&&(_0x18dede=this[_0x55c6ed(0x12f)][_0x55c6ed(0x16e)](this[_0x55c6ed(0x12f)]['CAPABILITY_KEY'])||{},this[_0x55c6ed(0x12f)][_0x55c6ed(0x18d)](this[_0x55c6ed(0x12f)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x18dede,_0x1e5ab9[_0x5f3c6d])));break;}}}[_0x257c6c(0x161)](){const _0x4ac3a5=_0x257c6c,_0x2d300d={'ONRyO':function(_0x1c5caf,_0x3fa878){return _0x3b953d['TQqVQ'](_0x1c5caf,_0x3fa878);},'wodjn':_0x3b953d[_0x4ac3a5(0x177)]};return logger[_0x4ac3a5(0x149)](_0x3b953d[_0x4ac3a5(0x140)]),this[_0x4ac3a5(0x185)](_0x1afaa4['capability']),Object[_0x4ac3a5(0x13d)](_0x1afaa4[_0x4ac3a5(0x189)])[_0x4ac3a5(0x16d)](_0x52e6a0=>{const _0x35e030=_0x4ac3a5,_0x35bb04=this[_0x35e030(0x128)]['get'](_0x52e6a0);_0x2d300d[_0x35e030(0x17f)](typeof _0x35bb04,_0x2d300d[_0x35e030(0x176)])?this[_0x35e030(0x128)]['set'](_0x52e6a0,helper[_0x35e030(0x12b)](_0x35bb04,_0x1afaa4['capability'][_0x52e6a0])):this[_0x35e030(0x128)][_0x35e030(0x18d)](_0x52e6a0,_0x1afaa4['capability'][_0x52e6a0]);}),this;}['build'](){const _0x3ee6bd=_0x257c6c,_0x107dbb={'UCWdl':function(_0x383a43,_0xfa070,_0x46f2e6){const _0x837294=a34_0x52d4;return _0x3b953d[_0x837294(0x137)](_0x383a43,_0xfa070,_0x46f2e6);},'NVAFn':function(_0x2040b4,_0x489829){return _0x3b953d['TqMSR'](_0x2040b4,_0x489829);},'LaDaR':function(_0x5069f8,_0x24750c,_0x2de32e){return _0x3b953d['mBPOQ'](_0x5069f8,_0x24750c,_0x2de32e);}};if(helper[_0x3ee6bd(0x148)]()){const _0x465f10=_0x3b953d['RLXYL'][_0x3ee6bd(0x155)]('|');let _0x33c8b1=0x0;while(!![]){switch(_0x465f10[_0x33c8b1++]){case'0':this['setCapabilities']();continue;case'1':if(helper[_0x3ee6bd(0x135)](_0x1afaa4['proxySettings'][_0x3ee6bd(0x12d)]))this[_0x3ee6bd(0x112)]=helper[_0x3ee6bd(0x116)](_0x1afaa4[_0x3ee6bd(0x127)][_0x3ee6bd(0x12d)]);else _0x1afaa4[_0x3ee6bd(0x127)][_0x3ee6bd(0x12d)]&&(this['proxy_']=_0x1afaa4[_0x3ee6bd(0x127)]['proxyUrl'],logger[_0x3ee6bd(0x149)](_0x3ee6bd(0x136)+this[_0x3ee6bd(0x144)]));continue;case'2':globals[_0x3ee6bd(0x111)](_0x3b953d[_0x3ee6bd(0x13a)])&&(!_0x3b953d[_0x3ee6bd(0x138)](setExtension,this,_0x1afaa4)&&globals[_0x3ee6bd(0x15d)](_0x3b953d[_0x3ee6bd(0x13a)],![]));continue;case'3':logger[_0x3ee6bd(0x149)](_0x3b953d[_0x3ee6bd(0x126)]);continue;case'4':_0x3b953d[_0x3ee6bd(0x173)](isAccessibilityAutomationSession)&&_0x3b953d['TqMSR'](setAccessibilityCapabilities,_0x1afaa4);continue;case'5':this[_0x3ee6bd(0x178)]();continue;}break;}}const _0x4797e8=super[_0x3ee6bd(0x157)]();return _0x4797e8['session_'][_0x3ee6bd(0x142)](_0x148447=>{const _0x22660b=_0x3ee6bd;try{const _0x2e5f8f=_0x148447[_0x22660b(0x118)][_0x22660b(0x16e)](_0x3b953d[_0x22660b(0x156)]);_0x2e5f8f?(logger[_0x22660b(0x149)](_0x22660b(0x13e)+_0x2e5f8f),hubAllocator[_0x22660b(0x163)](_0x2e5f8f),helper[_0x22660b(0x154)](_0x2e5f8f)):logger[_0x22660b(0x149)](_0x3b953d[_0x22660b(0x16c)]);}catch(_0x16bf52){logger['debug']('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x16bf52);}}),_0x4797e8[_0x3ee6bd(0x13f)]=0x0,_0x4797e8[_0x3ee6bd(0x142)]&&_0x4797e8[_0x3ee6bd(0x142)](_0xca53af=>{const _0x464071=_0x3ee6bd,_0x33b68a={'dIdVg':function(_0x3924ec,_0x4b93bd,_0x4ac77f){const _0x36b03e=a34_0x52d4;return _0x107dbb[_0x36b03e(0x17c)](_0x3924ec,_0x4b93bd,_0x4ac77f);}};_0x107dbb[_0x464071(0x17c)](overrideQuit,_0xca53af,_0x4797e8),_0x107dbb[_0x464071(0x16b)](overrideTakeScreenshot,_0xca53af),helper['overrideGet'](_0xca53af,_0x1afaa4),_0x107dbb['LaDaR'](overrideExecute,_0xca53af,_0x1afaa4),_0xca53af[_0x464071(0x168)]=async()=>{const _0x38290c=_0x464071;return await _0x107dbb[_0x38290c(0x17c)](getAccessibilityResultsSummary,_0xca53af,global);},_0xca53af[_0x464071(0x15c)]=async()=>{const _0x2a8990=_0x464071;return await _0x33b68a[_0x2a8990(0x113)](getAccessibilityResults,_0xca53af,global);};}),_0x4797e8[_0x3ee6bd(0x168)]=async()=>{return await _0x107dbb['LaDaR'](getAccessibilityResultsSummary,_0x4797e8,global);},_0x4797e8['getAccessibilityResults']=async()=>{return await _0x3b953d['epyOm'](getAccessibilityResults,_0x4797e8,global);},_0x3b953d['TqMSR'](overrideTakeScreenshot,_0x4797e8),_0x3b953d['TqMSR'](overrideQuit,_0x4797e8),helper[_0x3ee6bd(0x124)](_0x4797e8,_0x1afaa4),_0x3b953d[_0x3ee6bd(0x179)](overrideExecute,_0x4797e8,_0x1afaa4),helper['isUndefined'](global['__driversArray'])&&(global[_0x3ee6bd(0x11c)]=[]),helper[_0x3ee6bd(0x172)](global['__drivers'])&&(global['__drivers']=[]),global[_0x3ee6bd(0x11c)]['push'](_0x4797e8),global[_0x3ee6bd(0x188)]=_0x4797e8,_0x3b953d['sMYxQ'](global[_0x3ee6bd(0x18c)],undefined)&&global[_0x3ee6bd(0x18c)][_0x3ee6bd(0x187)](_0x4797e8),_0x5b73ce&&helper[_0x3ee6bd(0x172)](_0x5b73ce[_0x3ee6bd(0x143)][_0x3ee6bd(0x11c)])&&(_0x5b73ce[_0x3ee6bd(0x143)][_0x3ee6bd(0x11c)]=[]),_0x5b73ce&&_0x3b953d[_0x3ee6bd(0x152)](_0x5b73ce[_0x3ee6bd(0x143)][_0x3ee6bd(0x18c)],undefined)&&(_0x5b73ce[_0x3ee6bd(0x143)]['__drivers'][_0x3ee6bd(0x187)](_0x4797e8),_0x5b73ce[_0x3ee6bd(0x143)]['__driversArray']['push'](_0x4797e8)),_0x4797e8;}}return _0x2ba40c['originalBuilder']=_0x2ba40c[_0x257c6c(0x12e)],_0x2ba40c[_0x257c6c(0x12e)]=_0x850d39,_0x2b31ca[_0x257c6c(0x17a)]=_0x4f17e2,_0x2ba40c;};module[a34_0x27d948(0x123)][a34_0x27d948(0x17d)]=modify;
@@ -1 +1 @@
1
- const a35_0x301dac=a35_0x149b;function a35_0xbcea(){const _0x13c89f=['1420848vjReVS','230QooHIY','../../../helpers/request-spy','timeout','1740fQoGAf','418wAGFbr','790cXyVYO','283817GPsOzq','1304HszyOT','1040xsQChd','20454FUuTlV','51201GtlTsh','391992VVWyYd','mochaHooks','aeJPq','36840eleDJL'];a35_0xbcea=function(){return _0x13c89f;};return a35_0xbcea();}function a35_0x149b(_0x54f57f,_0x5e9ef6){const _0xbcea3a=a35_0xbcea();return a35_0x149b=function(_0x149b54,_0x1a577a){_0x149b54=_0x149b54-0x1da;let _0xbe9c45=_0xbcea3a[_0x149b54];return _0xbe9c45;},a35_0x149b(_0x54f57f,_0x5e9ef6);}(function(_0x178962,_0x2fd043){const _0x2591e3=a35_0x149b,_0x30114b=_0x178962();while(!![]){try{const _0x48387b=-parseInt(_0x2591e3(0x1e6))/0x1+-parseInt(_0x2591e3(0x1e5))/0x2*(-parseInt(_0x2591e3(0x1e3))/0x3)+-parseInt(_0x2591e3(0x1de))/0x4*(-parseInt(_0x2591e3(0x1e0))/0x5)+-parseInt(_0x2591e3(0x1df))/0x6+parseInt(_0x2591e3(0x1e9))/0x7*(-parseInt(_0x2591e3(0x1e7))/0x8)+-parseInt(_0x2591e3(0x1da))/0x9*(parseInt(_0x2591e3(0x1e8))/0xa)+parseInt(_0x2591e3(0x1e4))/0xb*(parseInt(_0x2591e3(0x1db))/0xc);if(_0x48387b===_0x2fd043)break;else _0x30114b['push'](_0x30114b['shift']());}catch(_0x47164d){_0x30114b['push'](_0x30114b['shift']());}}}(a35_0xbcea,0x4a95d));const requestSpy=require(a35_0x301dac(0x1e1)),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require('../../../helpers/test-observability/utils');exports[a35_0x301dac(0x1dc)]={'beforeAll'(){const _0x2e12eb=a35_0x301dac,_0xfa9e2f={'aeJPq':function(_0xc8cee3){return _0xc8cee3();}},_0x31ad04='browserstack internal helper hook';_0xfa9e2f[_0x2e12eb(0x1dd)](addRequestSpy);},'afterAll'(){const _0x5f2695=a35_0x301dac,_0x5e7e25='browserstack internal helper hook';this[_0x5f2695(0x1e2)](0xea60),requestSpy['restore']();}};
1
+ const a35_0x5f427f=a35_0x45e2;function a35_0x45e2(_0x558338,_0x3a94e9){const _0x43951e=a35_0x4395();return a35_0x45e2=function(_0x45e254,_0x1875ac){_0x45e254=_0x45e254-0x192;let _0x2be766=_0x43951e[_0x45e254];return _0x2be766;},a35_0x45e2(_0x558338,_0x3a94e9);}(function(_0x3c4718,_0x4c57a9){const _0x8cec6=a35_0x45e2,_0x403083=_0x3c4718();while(!![]){try{const _0x527d52=parseInt(_0x8cec6(0x1a3))/0x1*(parseInt(_0x8cec6(0x1a0))/0x2)+parseInt(_0x8cec6(0x1a1))/0x3*(-parseInt(_0x8cec6(0x19f))/0x4)+-parseInt(_0x8cec6(0x199))/0x5*(parseInt(_0x8cec6(0x198))/0x6)+-parseInt(_0x8cec6(0x193))/0x7+parseInt(_0x8cec6(0x196))/0x8*(-parseInt(_0x8cec6(0x19d))/0x9)+-parseInt(_0x8cec6(0x192))/0xa*(-parseInt(_0x8cec6(0x195))/0xb)+parseInt(_0x8cec6(0x19a))/0xc;if(_0x527d52===_0x4c57a9)break;else _0x403083['push'](_0x403083['shift']());}catch(_0x4e1050){_0x403083['push'](_0x403083['shift']());}}}(a35_0x4395,0x23640));const requestSpy=require(a35_0x5f427f(0x197)),constants=require(a35_0x5f427f(0x194)),{addRequestSpy}=require(a35_0x5f427f(0x19e));function a35_0x4395(){const _0x30bc73=['6aBouJg','1082465vrNcJg','5572704edlfzR','pZXGc','timeout','9pXXMxG','../../../helpers/test-observability/utils','65976mjVydt','2OCOfhz','42swyPIa','restore','257721RVWcaf','384490iNeonK','1698074PZTZpb','../../../bin/utils/constants','33zVOuzb','20072mtEqDJ','../../../helpers/request-spy'];a35_0x4395=function(){return _0x30bc73;};return a35_0x4395();}exports['mochaHooks']={'beforeAll'(){const _0x296f1a=a35_0x5f427f,_0x47273e={'pZXGc':function(_0x5e3357){return _0x5e3357();}},_0x33cf90='browserstack internal helper hook';_0x47273e[_0x296f1a(0x19b)](addRequestSpy);},'afterAll'(){const _0x1c0c53=a35_0x5f427f,_0x5cb8e0='browserstack internal helper hook';this[_0x1c0c53(0x19c)](0xea60),requestSpy[_0x1c0c53(0x1a2)]();}};
@@ -1 +1 @@
1
- const a36_0x2f2584=a36_0xc2cd;(function(_0x5be742,_0x1f17e1){const _0x1bf4c5=a36_0xc2cd,_0x3feccf=_0x5be742();while(!![]){try{const _0x3bb107=parseInt(_0x1bf4c5(0x142))/0x1*(parseInt(_0x1bf4c5(0x110))/0x2)+parseInt(_0x1bf4c5(0x13b))/0x3*(parseInt(_0x1bf4c5(0x11b))/0x4)+parseInt(_0x1bf4c5(0x163))/0x5*(parseInt(_0x1bf4c5(0x124))/0x6)+-parseInt(_0x1bf4c5(0x12d))/0x7*(-parseInt(_0x1bf4c5(0x147))/0x8)+parseInt(_0x1bf4c5(0x128))/0x9*(parseInt(_0x1bf4c5(0x162))/0xa)+parseInt(_0x1bf4c5(0x14b))/0xb*(-parseInt(_0x1bf4c5(0x144))/0xc)+parseInt(_0x1bf4c5(0x135))/0xd*(-parseInt(_0x1bf4c5(0x122))/0xe);if(_0x3bb107===_0x1f17e1)break;else _0x3feccf['push'](_0x3feccf['shift']());}catch(_0x40af96){_0x3feccf['push'](_0x3feccf['shift']());}}}(a36_0x2569,0xf330f));function a36_0xc2cd(_0x10deb6,_0x5402ef){const _0x25695d=a36_0x2569();return a36_0xc2cd=function(_0xc2cdf3,_0x177396){_0xc2cdf3=_0xc2cdf3-0x10e;let _0x239c42=_0x25695d[_0xc2cdf3];return _0x239c42;},a36_0xc2cd(_0x10deb6,_0x5402ef);}const {v4:uuidv4}=require('uuid'),{name,version}=require('../../../../package.json'),logPatcher=require(a36_0x2f2584(0x116)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a36_0x2f2584(0x141)),{consoleHolder}=require(a36_0x2f2584(0x13f)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a36_0x2f2584(0x153)),{isFunction}=require(a36_0x2f2584(0x15d)),{patchConsoleLogger}=require(a36_0x2f2584(0x141));function a36_0x2569(){const _0x2444bb=['oyDrM','Zmlez','getBrowserName','yXUqv','17348uFwvsh','HHwbT','getHookDetails','__cloud_provider___','ytkPO','get','hookAnalyticsId','7700RDcIBi','QStsy','1580082rJcGNt','push','sKNZk','generic','414CJRxoh','YOstl','getCapabilities','pid','wgScy','275786TRsYKM','_afterEach','UJdNv','filter','_afterAll','substring','uHlNq','toISOString','84604pjAvCK','getSession','suites','toJSON','nhVgj','OPJxM','906Pjqcvj','fSdhu','hook','map_','../../../helpers/test-observability/constants','_beforeAll','../../../helpers/test-observability/utils','17ZsLjrP','getHookSkippedTests','889356QwXTIl','wbSpi','bs:addPlatformDetails:','56beWuww','concat','slice','platformVersion','77JXVhzj','indexOf','rcUEL','forEach','uBtYd','emit','hook:','passed','../../../helpers/testhub/utils','markedStatus','atJhU','peBaC','hwqTe','scZtw','type','unknown_grid','parent','getHooksForTest','lodash','wvDsf','noVuS','BSLHL','string','241210GAOImz','25HPywTr','mapTestHooks','pdCcW','JgrAe','127346rxKVxA','failed','kfVIa','_beforeEach','gBAme','split','../../utils/logPatcher'];a36_0x2569=function(){return _0x2444bb;};return a36_0x2569();}patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x5764fd=a36_0x2f2584,_0x4226f6={'yjCyM':_0x5764fd(0x127),'kfVIa':function(_0x1e1fb5){return _0x1e1fb5();}};return{'ci':_0x4226f6['yjCyM'],'key':_0x4226f6[_0x5764fd(0x112)](uuidv4),'version':version,'collector':'js-'+name};},exports[a36_0x2f2584(0x11d)]=_0x3ba3fd=>{const _0x55c5ef=a36_0x2f2584,_0x50cd97={};_0x50cd97[_0x55c5ef(0x12f)]=function(_0x33016c,_0x21d1c3){return _0x33016c!==_0x21d1c3;},_0x50cd97[_0x55c5ef(0x158)]=_0x55c5ef(0x161),_0x50cd97[_0x55c5ef(0x14d)]=function(_0x3e4d37,_0x389da7){return _0x3e4d37!==_0x389da7;},_0x50cd97[_0x55c5ef(0x11a)]=_0x55c5ef(0x151),_0x50cd97[_0x55c5ef(0x11f)]=function(_0x455795,_0x5998cd){return _0x455795!==_0x5998cd;},_0x50cd97[_0x55c5ef(0x133)]=_0x55c5ef(0x13d);const _0x1a58bd=_0x50cd97;if(!_0x3ba3fd||_0x1a58bd[_0x55c5ef(0x12f)](typeof _0x3ba3fd,_0x1a58bd[_0x55c5ef(0x158)]))return[null,null];if(_0x1a58bd[_0x55c5ef(0x14d)](_0x3ba3fd[_0x55c5ef(0x14c)](_0x1a58bd[_0x55c5ef(0x11a)]),-0x1)){const _0x39563e=_0x3ba3fd[_0x55c5ef(0x115)](_0x1a58bd[_0x55c5ef(0x11a)]);return[_0x39563e[0x0][_0x55c5ef(0x149)](0x0,-0x1)[_0x55c5ef(0x115)]('\x22')[0x1],_0x39563e[0x1][_0x55c5ef(0x132)](0x1)];}else{if(_0x1a58bd[_0x55c5ef(0x11f)](_0x3ba3fd[_0x55c5ef(0x14c)](_0x1a58bd[_0x55c5ef(0x133)]),-0x1)){const _0x397099=_0x3ba3fd['split'](_0x1a58bd[_0x55c5ef(0x133)]);return[_0x397099[0x0][_0x55c5ef(0x149)](0x0,-0x1)['split']('\x22')[0x1],_0x3ba3fd];}}return[null,null];},exports[a36_0x2f2584(0x15c)]=_0x141dec=>{const _0x1cdc01=a36_0x2f2584,_0x371a6d={'atJhU':function(_0x48e9b2,_0x1c5498){return _0x48e9b2(_0x1c5498);},'OPJxM':_0x1cdc01(0x140),'YOstl':_0x1cdc01(0x131),'OmRVY':'_beforeEach','HHwbT':_0x1cdc01(0x12e)};if(!_0x141dec||!_0x141dec['parent'])return[];const _0x1f3d48=[];return[_0x371a6d[_0x1cdc01(0x13a)],_0x371a6d[_0x1cdc01(0x129)],_0x371a6d['OmRVY'],_0x371a6d[_0x1cdc01(0x11c)]][_0x1cdc01(0x14e)](_0x162d3f=>{const _0x140221=_0x1cdc01,_0x4c97b5={'fSdhu':function(_0x57908c,_0x30e979){const _0x3da7f3=a36_0xc2cd;return _0x371a6d[_0x3da7f3(0x155)](_0x57908c,_0x30e979);}},_0x56e5bd=_0x141dec['parent'][_0x162d3f]||[];_0x56e5bd[_0x140221(0x14e)](_0x4b8831=>{const _0x3fb0e5=_0x140221;_0x4b8831[_0x3fb0e5(0x121)]&&!_0x4c97b5[_0x3fb0e5(0x13c)](isInternalHook,_0x4b8831['fn'])&&_0x1f3d48[_0x3fb0e5(0x125)](_0x4b8831[_0x3fb0e5(0x121)]);});}),[..._0x1f3d48,...exports['getHooksForTest'](_0x141dec['parent'])];},exports[a36_0x2f2584(0x164)]=_0x2ae384=>{const _0x48417f=a36_0x2f2584,_0x86d6fc={'BSLHL':function(_0xf57d74){return _0xf57d74();},'pdCcW':function(_0x20b79d,_0x1970b4){return _0x20b79d===_0x1970b4;},'hwqTe':_0x48417f(0x12e),'peBaC':'_beforeAll','PSdcM':'_afterAll','oyDrM':_0x48417f(0x113)};if(!_0x2ae384||!_0x2ae384[_0x48417f(0x15b)])return;[_0x86d6fc[_0x48417f(0x156)],_0x86d6fc['PSdcM'],_0x86d6fc[_0x48417f(0x117)],_0x86d6fc[_0x48417f(0x157)]][_0x48417f(0x14e)](_0x2e9f34=>{const _0x58b571=_0x48417f,_0x435f72={'nhVgj':function(_0x555973){const _0x55fd85=a36_0xc2cd;return _0x86d6fc[_0x55fd85(0x160)](_0x555973);},'wgScy':function(_0x8419b0,_0xe2319f){const _0x4a2c68=a36_0xc2cd;return _0x86d6fc[_0x4a2c68(0x10e)](_0x8419b0,_0xe2319f);},'eacpH':_0x86d6fc[_0x58b571(0x157)]},_0x4b2080=_0x2ae384[_0x58b571(0x15b)][_0x2e9f34]||[];_0x4b2080[_0x58b571(0x14e)](_0x2a58ed=>{const _0x4aa0de=_0x58b571;if(!_0x2a58ed[_0x4aa0de(0x121)])_0x2a58ed[_0x4aa0de(0x121)]=_0x435f72[_0x4aa0de(0x139)](uuidv4);else _0x2a58ed[_0x4aa0de(0x154)]&&_0x435f72[_0x4aa0de(0x12c)](_0x2e9f34,_0x435f72['eacpH'])&&(_0x2a58ed[_0x4aa0de(0x121)]=_0x435f72[_0x4aa0de(0x139)](uuidv4),delete _0x2a58ed[_0x4aa0de(0x154)]);});}),exports[_0x48417f(0x164)](_0x2ae384[_0x48417f(0x15b)]);},exports['sendPlatformDetails']=async(_0x42ad0e,_0x2fe2cf)=>{const _0x440b2e=a36_0x2f2584,_0x183013={'JgrAe':function(_0x186dad){return _0x186dad();},'BhTCf':function(_0x1302d4,_0x2d2eb5){return _0x1302d4(_0x2d2eb5);},'Zmlez':_0x440b2e(0x14a),'uBtYd':function(_0x5e1393,_0x188ece){return _0x5e1393===_0x188ece;},'ScOWc':'browserstack','wvDsf':_0x440b2e(0x15a),'gBAme':'TEST_PLATFORM'};try{if(!_0x183013[_0x440b2e(0x10f)](shouldProcessEventForTesthub))return;const _0x11b404=await _0x42ad0e[_0x440b2e(0x12a)](),_0x4c7b1d=await _0x42ad0e[_0x440b2e(0x136)](),_0x2c2f78={},_0xc695e1=Object['fromEntries'](_0x4c7b1d[_0x440b2e(0x12a)]()[_0x440b2e(0x13e)]),_0x257476={'product':_0x183013['BhTCf'](getObservabilityLinkedProductName,_0xc695e1),'capabilities':_0xc695e1,'platform':_0x11b404['getPlatform'](),'platform_version':_0x11b404['get'](_0x183013['Zmlez'])?_0x11b404[_0x440b2e(0x120)](_0x183013[_0x440b2e(0x118)]):_0x183013['BhTCf'](getPlatformVersion,_0x183013[_0x440b2e(0x14f)](global[_0x440b2e(0x11e)],_0x183013['ScOWc'])),'browser':_0x11b404[_0x440b2e(0x119)](),'browser_version':_0x11b404['getBrowserVersion'](),'session_id':_0x4c7b1d[_0x440b2e(0x138)]()};global['__cloud_provider___']?_0x2c2f78[global[_0x440b2e(0x11e)]]=_0x257476:_0x2c2f78[_0x183013[_0x440b2e(0x15e)]]=_0x257476,process[_0x440b2e(0x150)](_0x440b2e(0x146)+process[_0x440b2e(0x12b)],{'timestamp':new Date()[_0x440b2e(0x134)](),'level':null,'message':null,'kind':_0x183013[_0x440b2e(0x114)],'http_response':_0x2c2f78,'uuid':_0x2fe2cf});}catch(_0x4b6bbc){_0x183013['BhTCf'](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x4b6bbc);}},exports[a36_0x2f2584(0x143)]=_0x29d248=>{const _0x1f0d69=a36_0x2f2584,_0x32a110={};_0x32a110['lBFWa']=function(_0x52d014,_0x37a355){return _0x52d014!==_0x37a355;},_0x32a110['wbSpi']=_0x1f0d69(0x13d),_0x32a110['VIQfn']=function(_0x417619,_0x1f3010){return _0x417619!==_0x1f3010;},_0x32a110[_0x1f0d69(0x123)]=_0x1f0d69(0x152),_0x32a110[_0x1f0d69(0x15f)]=function(_0x1217f0,_0x427d67){return _0x1217f0!==_0x427d67;},_0x32a110['sKNZk']=_0x1f0d69(0x111);const _0xd3e72f=_0x32a110,_0x9340b8=_0x29d248[_0x1f0d69(0x137)]['reduce']((_0x42e708,_0x56da72)=>{const _0x15b7c2=_0x1f0d69,_0x903e3=exports[_0x15b7c2(0x143)](_0x56da72);return _0x903e3&&(_0x42e708=_0x42e708[_0x15b7c2(0x148)](_0x903e3)),_0x42e708;},[]),_0x4bb72d=_0x29d248['tests'][_0x1f0d69(0x130)](_0x57beed=>{const _0x5465af=_0x1f0d69,_0x6003fe=_0xd3e72f['lBFWa'](_0x57beed[_0x5465af(0x159)],_0xd3e72f[_0x5465af(0x145)])&&!_0x57beed[_0x5465af(0x154)]&&_0xd3e72f['VIQfn'](_0x57beed['state'],_0xd3e72f[_0x5465af(0x123)])&&_0xd3e72f[_0x5465af(0x15f)](_0x57beed['state'],_0xd3e72f[_0x5465af(0x126)])&&!_0x57beed['pending'];return _0x6003fe;});return _0x4bb72d[_0x1f0d69(0x148)](_0x9340b8);};
1
+ const a36_0x3c699b=a36_0x5e4c;(function(_0x2f5332,_0x41e83a){const _0x21fd6e=a36_0x5e4c,_0x1c800f=_0x2f5332();while(!![]){try{const _0x80e276=-parseInt(_0x21fd6e(0x1e3))/0x1*(parseInt(_0x21fd6e(0x1bf))/0x2)+-parseInt(_0x21fd6e(0x1d4))/0x3*(-parseInt(_0x21fd6e(0x1eb))/0x4)+-parseInt(_0x21fd6e(0x1db))/0x5+parseInt(_0x21fd6e(0x1f6))/0x6*(parseInt(_0x21fd6e(0x1f7))/0x7)+-parseInt(_0x21fd6e(0x1d5))/0x8+parseInt(_0x21fd6e(0x1b2))/0x9+parseInt(_0x21fd6e(0x1ea))/0xa;if(_0x80e276===_0x41e83a)break;else _0x1c800f['push'](_0x1c800f['shift']());}catch(_0x203380){_0x1c800f['push'](_0x1c800f['shift']());}}}(a36_0x5a7d,0x33b06));function a36_0x5a7d(){const _0x49af61=['4vUhEdt','getCapabilities','getSession','sendPlatformDetails','toJSON','getTestEnv','Vysmd','2011090KOgqRT','24jQLnWM','tUoVX','state','getPlatform','SPZVO','../../../helpers/test-observability/utils','markedStatus','hook:','mnPil','browserstack','_beforeAll','342qhFAgC','32599sTpAbF','bs:addPlatformDetails:','split','hookAnalyticsId','parent','filter','MCQui','type','indexOf','fromEntries','passed','failed','tests','LetnJ','toISOString','kJPCL','__cloud_provider___','bQNhJ','780741ZxTZNJ','emit','get','UqoGp','getBrowserName','egWPn','TEST_PLATFORM','TEykb','string','GAmBZ','npRKK','otAFC','NlmJw','147776nDYTWG','GfzHB','getHooksForTest','generic','mapTestHooks','concat','nwVwh','../../../../package.json','substring','../../../helpers/testhub/utils','UFoPd','VJaqN','XyFKw','HCpvT','slice','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','_beforeEach','hook','gcwBc','../../utils/logPatcher','vtRhG','128820WwdIym','2145680EokuLb','forEach','_afterAll','unknown_grid','getHookSkippedTests','push','177335fYBuwN','vDcaF','js-','reduce','getHookDetails','../../../helpers/test-observability/constants','platformVersion','yHEAI'];a36_0x5a7d=function(){return _0x49af61;};return a36_0x5a7d();}const {v4:uuidv4}=require('uuid'),{name,version}=require(a36_0x3c699b(0x1c6)),logPatcher=require(a36_0x3c699b(0x1d2)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a36_0x3c699b(0x1f0)),{consoleHolder}=require(a36_0x3c699b(0x1e0)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a36_0x3c699b(0x1c8)),{isFunction}=require('lodash'),{patchConsoleLogger}=require('../../../helpers/test-observability/utils');function a36_0x5e4c(_0x10091e,_0x59c383){const _0x5a7da1=a36_0x5a7d();return a36_0x5e4c=function(_0x5e4ce0,_0x3557a8){_0x5e4ce0=_0x5e4ce0-0x1ac;let _0x19c8db=_0x5a7da1[_0x5e4ce0];return _0x19c8db;},a36_0x5e4c(_0x10091e,_0x59c383);}patchConsoleLogger(),exports[a36_0x3c699b(0x1e8)]=()=>{const _0x257db7=a36_0x3c699b,_0x5e79a6={'jrrWz':_0x257db7(0x1c2),'SPZVO':function(_0x2dbed9){return _0x2dbed9();}};return{'ci':_0x5e79a6['jrrWz'],'key':_0x5e79a6[_0x257db7(0x1ef)](uuidv4),'version':version,'collector':_0x257db7(0x1dd)+name};},exports[a36_0x3c699b(0x1df)]=_0x37c79c=>{const _0x32f9ab=a36_0x3c699b,_0x5df7ef={};_0x5df7ef[_0x32f9ab(0x1c0)]=function(_0x5960e1,_0x2b39bc){return _0x5960e1!==_0x2b39bc;},_0x5df7ef['otAFC']=_0x32f9ab(0x1ba),_0x5df7ef['ewXUT']=function(_0x2be7ce,_0x4a7ee4){return _0x2be7ce!==_0x4a7ee4;},_0x5df7ef[_0x32f9ab(0x1af)]=_0x32f9ab(0x1f2),_0x5df7ef[_0x32f9ab(0x1c5)]=_0x32f9ab(0x1d0);const _0x39858f=_0x5df7ef;if(!_0x37c79c||_0x39858f[_0x32f9ab(0x1c0)](typeof _0x37c79c,_0x39858f[_0x32f9ab(0x1bd)]))return[null,null];if(_0x39858f['ewXUT'](_0x37c79c[_0x32f9ab(0x1ff)](_0x39858f['kJPCL']),-0x1)){const _0x1afd31=_0x37c79c[_0x32f9ab(0x1f9)](_0x39858f[_0x32f9ab(0x1af)]);return[_0x1afd31[0x0][_0x32f9ab(0x1cd)](0x0,-0x1)[_0x32f9ab(0x1f9)]('\x22')[0x1],_0x1afd31[0x1][_0x32f9ab(0x1c7)](0x1)];}else{if(_0x39858f[_0x32f9ab(0x1c0)](_0x37c79c['indexOf'](_0x39858f[_0x32f9ab(0x1c5)]),-0x1)){const _0x38ef17=_0x37c79c[_0x32f9ab(0x1f9)](_0x39858f[_0x32f9ab(0x1c5)]);return[_0x38ef17[0x0][_0x32f9ab(0x1cd)](0x0,-0x1)[_0x32f9ab(0x1f9)]('\x22')[0x1],_0x37c79c];}}return[null,null];},exports[a36_0x3c699b(0x1c1)]=_0x6d06d2=>{const _0x1a5feb=a36_0x3c699b,_0x31c526={'KEwDI':function(_0x5bde38,_0xd3454a){return _0x5bde38(_0xd3454a);},'vDcaF':'_beforeAll','LetnJ':_0x1a5feb(0x1d7),'TEykb':_0x1a5feb(0x1cf),'Vysmd':'_afterEach'};if(!_0x6d06d2||!_0x6d06d2[_0x1a5feb(0x1fb)])return[];const _0x5f55b7=[];return[_0x31c526[_0x1a5feb(0x1dc)],_0x31c526[_0x1a5feb(0x1ad)],_0x31c526[_0x1a5feb(0x1b9)],_0x31c526[_0x1a5feb(0x1e9)]][_0x1a5feb(0x1d6)](_0x51e712=>{const _0x41fa9e=_0x1a5feb,_0x4436c7=_0x6d06d2[_0x41fa9e(0x1fb)][_0x51e712]||[];_0x4436c7[_0x41fa9e(0x1d6)](_0x1f09d8=>{const _0x722932=_0x41fa9e;_0x1f09d8[_0x722932(0x1fa)]&&!_0x31c526['KEwDI'](isInternalHook,_0x1f09d8['fn'])&&_0x5f55b7[_0x722932(0x1da)](_0x1f09d8[_0x722932(0x1fa)]);});}),[..._0x5f55b7,...exports[_0x1a5feb(0x1c1)](_0x6d06d2[_0x1a5feb(0x1fb)])];},exports[a36_0x3c699b(0x1c3)]=_0x495eb7=>{const _0x5c5046=a36_0x3c699b,_0x101992={'noKue':function(_0x49e71c){return _0x49e71c();},'HCpvT':function(_0xf8cda2,_0x3d5ec2){return _0xf8cda2===_0x3d5ec2;},'VJaqN':'_afterEach','MCQui':_0x5c5046(0x1f5),'GAmBZ':'_afterAll','icFls':_0x5c5046(0x1cf)};if(!_0x495eb7||!_0x495eb7[_0x5c5046(0x1fb)])return;[_0x101992[_0x5c5046(0x1fd)],_0x101992[_0x5c5046(0x1bb)],_0x101992['icFls'],_0x101992['VJaqN']][_0x5c5046(0x1d6)](_0x54330b=>{const _0x25abec=_0x5c5046,_0x4febfe={'yHEAI':function(_0x3f3ebc){return _0x101992['noKue'](_0x3f3ebc);},'npRKK':function(_0x206b85,_0x4dcbcf){const _0x4538fe=a36_0x5e4c;return _0x101992[_0x4538fe(0x1cc)](_0x206b85,_0x4dcbcf);},'YEznb':_0x101992[_0x25abec(0x1ca)]},_0x435788=_0x495eb7[_0x25abec(0x1fb)][_0x54330b]||[];_0x435788[_0x25abec(0x1d6)](_0x549834=>{const _0x36cc23=_0x25abec;if(!_0x549834[_0x36cc23(0x1fa)])_0x549834['hookAnalyticsId']=_0x4febfe[_0x36cc23(0x1e2)](uuidv4);else _0x549834[_0x36cc23(0x1f1)]&&_0x4febfe[_0x36cc23(0x1bc)](_0x54330b,_0x4febfe['YEznb'])&&(_0x549834[_0x36cc23(0x1fa)]=_0x4febfe['yHEAI'](uuidv4),delete _0x549834[_0x36cc23(0x1f1)]);});}),exports[_0x5c5046(0x1c3)](_0x495eb7[_0x5c5046(0x1fb)]);},exports[a36_0x3c699b(0x1e6)]=async(_0x39a5da,_0xb0a0aa)=>{const _0x422768=a36_0x3c699b,_0x528920={'egWPn':function(_0x2bf461){return _0x2bf461();},'vtRhG':function(_0x246f23,_0x5cab28){return _0x246f23(_0x5cab28);},'VJKgK':_0x422768(0x1e1),'NlmJw':function(_0x2ee6df,_0x114eb8){return _0x2ee6df===_0x114eb8;},'bQNhJ':_0x422768(0x1f4),'bioXU':_0x422768(0x1d8),'tUoVX':_0x422768(0x1b8),'dSavJ':function(_0xa786cc,_0x4fb2ad){return _0xa786cc(_0x4fb2ad);}};try{if(!_0x528920[_0x422768(0x1b7)](shouldProcessEventForTesthub))return;const _0x1096ca=await _0x39a5da['getCapabilities'](),_0x58727d=await _0x39a5da[_0x422768(0x1e5)](),_0x2f4468={},_0x51cd58=Object[_0x422768(0x200)](_0x58727d[_0x422768(0x1e4)]()['map_']),_0x45f10f={'product':_0x528920[_0x422768(0x1d3)](getObservabilityLinkedProductName,_0x51cd58),'capabilities':_0x51cd58,'platform':_0x1096ca[_0x422768(0x1ee)](),'platform_version':_0x1096ca[_0x422768(0x1b4)](_0x528920['VJKgK'])?_0x1096ca[_0x422768(0x1b4)](_0x528920['VJKgK']):_0x528920[_0x422768(0x1d3)](getPlatformVersion,_0x528920[_0x422768(0x1be)](global[_0x422768(0x1b0)],_0x528920[_0x422768(0x1b1)])),'browser':_0x1096ca[_0x422768(0x1b6)](),'browser_version':_0x1096ca['getBrowserVersion'](),'session_id':_0x58727d[_0x422768(0x1e7)]()};global['__cloud_provider___']?_0x2f4468[global[_0x422768(0x1b0)]]=_0x45f10f:_0x2f4468[_0x528920['bioXU']]=_0x45f10f,process[_0x422768(0x1b3)](_0x422768(0x1f8)+process['pid'],{'timestamp':new Date()[_0x422768(0x1ae)](),'level':null,'message':null,'kind':_0x528920[_0x422768(0x1ec)],'http_response':_0x2f4468,'uuid':_0xb0a0aa});}catch(_0x568bf2){_0x528920['dSavJ'](debug,_0x422768(0x1ce)+_0x568bf2);}},exports[a36_0x3c699b(0x1d9)]=_0x222d2a=>{const _0x4fab62=a36_0x3c699b,_0x1a0bd4={};_0x1a0bd4[_0x4fab62(0x1d1)]=function(_0x428afc,_0x1eed2d){return _0x428afc!==_0x1eed2d;},_0x1a0bd4[_0x4fab62(0x1b5)]=_0x4fab62(0x1d0),_0x1a0bd4[_0x4fab62(0x1f3)]=_0x4fab62(0x201),_0x1a0bd4[_0x4fab62(0x1c9)]=function(_0x550c72,_0x526fc1){return _0x550c72!==_0x526fc1;},_0x1a0bd4[_0x4fab62(0x1cb)]=_0x4fab62(0x202);const _0x3ee05d=_0x1a0bd4,_0x1c5106=_0x222d2a['suites'][_0x4fab62(0x1de)]((_0x1e7e7b,_0x3ef23e)=>{const _0x4e4252=_0x4fab62,_0x2079c6=exports[_0x4e4252(0x1d9)](_0x3ef23e);return _0x2079c6&&(_0x1e7e7b=_0x1e7e7b['concat'](_0x2079c6)),_0x1e7e7b;},[]),_0x402ff4=_0x222d2a[_0x4fab62(0x1ac)][_0x4fab62(0x1fc)](_0x5d4ec8=>{const _0x5a3695=_0x4fab62,_0x33e042=_0x3ee05d[_0x5a3695(0x1d1)](_0x5d4ec8[_0x5a3695(0x1fe)],_0x3ee05d[_0x5a3695(0x1b5)])&&!_0x5d4ec8[_0x5a3695(0x1f1)]&&_0x3ee05d['gcwBc'](_0x5d4ec8[_0x5a3695(0x1ed)],_0x3ee05d[_0x5a3695(0x1f3)])&&_0x3ee05d[_0x5a3695(0x1c9)](_0x5d4ec8[_0x5a3695(0x1ed)],_0x3ee05d['XyFKw'])&&!_0x5d4ec8['pending'];return _0x33e042;});return _0x402ff4[_0x4fab62(0x1c4)](_0x1c5106);};
@@ -1 +1 @@
1
- function a37_0x2ea0(_0x7b13d5,_0x3f1a33){const _0x4764ef=a37_0x4764();return a37_0x2ea0=function(_0x2ea0d1,_0x197cac){_0x2ea0d1=_0x2ea0d1-0xd4;let _0x5b54cd=_0x4764ef[_0x2ea0d1];return _0x5b54cd;},a37_0x2ea0(_0x7b13d5,_0x3f1a33);}function a37_0x4764(){const _0x29b2eb=['getCurrentUrl','__error_messages__','../../helpers/logger','7555GAiWDa','lWYGH','isAccessibilityPlatform','ogFvR','err','Failed:\x20','60ULnUKh','shouldScanTestForAccessibility','driverCleanup','BROWSERSTACK_TESTHUB_JWT','app','state','../../helpers/helper','finally','OgqPj','shift','../../helpers/testhub/constants','7148730fNlBMH','SeLug','../../helpers/performance/performance-tester','AnwJM','BROWSERSTACK_TESTHUB_UUID','IQSZG','BZZuB','Aoshi','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','OpZkD','fvwAC','index','gGbCa','3728bFFRoo','\x22}}','QEiGO','setGlobal','saveTestResults','executeScript','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','caRgG','Automate\x20test\x20case\x20execution\x20has\x20started.','getGlobal','qwABZ','protocol','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','stringify','TBUNt','__drivers','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','percyCaptureMode','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','QPaeA','afterAll','OAVey','SdoFe','WnRRV','executeAsyncScript','./test-observability/mochaUtils','DcXEv','message','beforeEach','testcase','start','error','3570292GogmmV','length','currentTest','session_','SESSION_STATUS','TWftN','mGSXA','VIKcs','KKPZZ','rNsXD','SYNC','PYPTJ','env','ZZkXi','fYqwK','PcWyX','http:','NNrby','join','../../helpers/performance/constants','287829ovbKoW','ENV_VAR','sjquG','passed','browserstackSessionName','GnuKy','afterEach','1552BFATHB','urqHP','format','__skipSessionName','../utils/constants','../../helpers/accessibility-automation/scripts','ExqUe','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','TZipa','\x20-\x20','ieJLh','539ytOcTC','performScan','gUIzE','7XbbOFe','now','then','FycLr','CVaUP','PERFORM_SCAN','koPHM','debug','yTICg','isArray','afterTest','testAnalyticsId','eYLAv','RqKpJ','IYUwC','initQuit','command','jfKWp','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','2720976eMbrOI','wszmi','ZYtQL','TGbCX','capabilities','info','KnjOl','titlePath','Lvetr','ejtKI','eyQAT','FhBYT','TKOay','end','qHaIc','bstackA11yShouldScan','.\x20Error\x20:','VRyew','1209999uzBbNI','timeout','daeXN','ikUgK','measureWrapper','SESSION_NAME','daDiy','winstonLogger','BCoKU','OOkXh','SDK_HOOK','util','ZrybZ','TNOSo','__platformCaps','LqWjT','ddEad','sessionName','__sessionFailed','appium:app','uCxpN','startMonitoring','xEJJd','Mocha'];a37_0x4764=function(){return _0x29b2eb;};return a37_0x4764();}const a37_0x145fec=a37_0x2ea0;(function(_0x355d87,_0x2430e2){const _0x435207=a37_0x2ea0,_0x5f1670=_0x355d87();while(!![]){try{const _0x3c312d=-parseInt(_0x435207(0x105))/0x1*(-parseInt(_0x435207(0xfa))/0x2)+parseInt(_0x435207(0x12d))/0x3+-parseInt(_0x435207(0x166))/0x4*(parseInt(_0x435207(0x148))/0x5)+parseInt(_0x435207(0x159))/0x6+-parseInt(_0x435207(0x108))/0x7*(parseInt(_0x435207(0x11b))/0x8)+-parseInt(_0x435207(0xf3))/0x9*(-parseInt(_0x435207(0x14e))/0xa)+parseInt(_0x435207(0xdf))/0xb;if(_0x3c312d===_0x2430e2)break;else _0x5f1670['push'](_0x5f1670['shift']());}catch(_0x190a28){_0x5f1670['push'](_0x5f1670['shift']());}}}(a37_0x4764,0xbeb50));const util=require(a37_0x145fec(0x138)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a37_0x145fec(0xfe)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a37_0x145fec(0xd8)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a37_0x145fec(0x154)),PerformanceTester=require(a37_0x145fec(0x15b)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a37_0x145fec(0xf2)),scripts=require(a37_0x145fec(0xff)),globals=require('../../helpers/globals'),logger=require(a37_0x145fec(0x147))[a37_0x145fec(0x134)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a37_0x145fec(0x158));exports['mochaHooks']={'beforeAll'(){const _0xe37d04=a37_0x145fec,_0x21749c={'scDuG':function(_0x134f61,_0x34b310,_0x3734f3,_0x321d9f){return _0x134f61(_0x34b310,_0x3734f3,_0x321d9f);},'FycLr':'failed','ddEad':'\x20|\x20','ikUgK':function(_0x412f09,_0x11188e,_0x16c617){return _0x412f09(_0x11188e,_0x16c617);},'lWYGH':_0xe37d04(0xf6),'mGSXA':function(_0x1ae373){return _0x1ae373();},'GnuKy':_0xe37d04(0x164),'caRgG':'beforeAll'};PerformanceTester[_0xe37d04(0x142)]();const _0x3b1c18='browserstack internal helper hook';PerformanceTester[_0xe37d04(0x131)](PerformanceSdkEvents[_0xe37d04(0x137)],()=>{const _0x516c72=_0xe37d04,_0x46851b={'sjquG':function(_0x19d18a,_0x148453,_0x1bed46,_0x28a66d){return _0x21749c['scDuG'](_0x19d18a,_0x148453,_0x1bed46,_0x28a66d);},'BZZuB':_0x21749c[_0x516c72(0x10b)],'daDiy':_0x21749c[_0x516c72(0x13d)],'TGbCX':function(_0x23cdc5,_0x2e8adc,_0x4b0435){const _0xd56e99=_0x516c72;return _0x21749c[_0xd56e99(0x130)](_0x23cdc5,_0x2e8adc,_0x4b0435);},'CVaUP':_0x21749c[_0x516c72(0x149)],'TZipa':function(_0x94a0d6){const _0x3fd5a5=_0x516c72;return _0x21749c[_0x3fd5a5(0xe5)](_0x94a0d6);}};global[_0x516c72(0x146)]=[],global['__sessionFailed']=![],global[_0x516c72(0x150)]=async()=>{const _0x37a32d=_0x516c72;let _0x222c9c=![];try{await global[_0x37a32d(0x176)][0x0][_0x37a32d(0xe2)],_0x222c9c=!![],global[_0x37a32d(0x13f)]?await _0x46851b[_0x37a32d(0xf5)](markSessionStatus,global['__drivers'][0x0],_0x46851b[_0x37a32d(0x15f)],global[_0x37a32d(0x146)][_0x37a32d(0xf1)](_0x46851b[_0x37a32d(0x133)])):await _0x46851b['TGbCX'](markSessionStatus,global[_0x37a32d(0x176)][0x0],_0x46851b[_0x37a32d(0x10c)]);}catch(_0x114a80){logger['debug'](_0x37a32d(0x173)+_0x114a80);}global[_0x37a32d(0x146)]=[],global['__sessionFailed']=![];if(_0x222c9c)try{try{_0x46851b[_0x37a32d(0x102)](shouldProcessEventForTesthub)&&(global[_0x37a32d(0x176)][0x0]&&await _0x46851b[_0x37a32d(0x11e)](sendPlatformDetails,global[_0x37a32d(0x176)][0x0],this[_0x37a32d(0xe1)]?this[_0x37a32d(0xe1)][_0x37a32d(0x113)]:null));}catch(_0x23008a){logger[_0x37a32d(0x10f)]('Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20'+_0x23008a);}await global[_0x37a32d(0x176)][0x0][_0x37a32d(0x117)]();}catch(_0x2e5c1b){logger[_0x37a32d(0x10f)](_0x37a32d(0x101)+_0x2e5c1b);}};},{'platform':_0x21749c[_0xe37d04(0x130)](nestedKeyValue,global['__platformCaps'],[_0x21749c[_0xe37d04(0xf8)]]),'hookType':_0x21749c[_0xe37d04(0x16e)]})();},'beforeEach'(_0x1da152){const _0x135b8c=a37_0x145fec,_0x5daa46={'VRyew':function(_0x4f2d48,_0x471410){return _0x4f2d48>_0x471410;},'qwABZ':_0x135b8c(0x103),'QPaeA':function(_0x332163,_0x577a92,_0x5d81c4){return _0x332163(_0x577a92,_0x5d81c4);},'SeAVD':_0x135b8c(0x12a),'wszmi':function(_0x4b2011){return _0x4b2011();},'IQSZG':_0x135b8c(0x14a),'OgqPj':function(_0x1c7562,_0x55b56c){return _0x1c7562===_0x55b56c;},'IYUwC':_0x135b8c(0xef),'ejtKI':function(_0x64068b,_0x3fbf26){return _0x64068b===_0x3fbf26;},'vBPYn':'https:','TsZiF':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','urqHP':_0x135b8c(0x16f),'TWftN':function(_0x4d0991){return _0x4d0991();},'irgzh':function(_0x1a4571){return _0x1a4571();},'PcWyX':'browserstackTestName','qHaIc':_0x135b8c(0x164),'DcXEv':_0x135b8c(0xdb)};globals['setGlobal'](_0x5daa46[_0x135b8c(0xee)],this['currentTest'][_0x135b8c(0x122)]()[_0x135b8c(0xf1)](_0x5daa46[_0x135b8c(0x171)])),PerformanceTester[_0x135b8c(0x131)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x2fa10e=_0x135b8c,_0x2741d2={'Lvetr':function(_0x5612bd){return _0x5daa46['irgzh'](_0x5612bd);}},_0x258714='browserstack internal helper hook';new Promise(async _0x34840e=>{const _0x21fcde=a37_0x2ea0;let _0x4bbf28=!![];try{_0x5daa46[_0x21fcde(0x12c)](global[_0x21fcde(0x176)][_0x21fcde(0xe0)],0x1)&&(await global[_0x21fcde(0x150)](),global[_0x21fcde(0x176)][_0x21fcde(0x157)]()),_0x5daa46[_0x21fcde(0x12c)](global[_0x21fcde(0x176)][0x0]['quitCount_'],0x0)&&(_0x4bbf28=![],await global['driverCleanup']());}catch(_0x1cd501){logger['debug'](_0x21fcde(0x101)+_0x1cd501);}try{Array[_0x21fcde(0x111)](global[_0x21fcde(0x176)])&&global[_0x21fcde(0x176)][0x0]&&(global[_0x21fcde(0x176)][0x0][_0x21fcde(0xf7)]=this['currentTest']['titlePath']()[_0x21fcde(0xf1)](_0x5daa46[_0x21fcde(0x171)])),global[_0x21fcde(0xf7)]=this[_0x21fcde(0xe1)][_0x21fcde(0x122)]()[_0x21fcde(0xf1)](_0x5daa46[_0x21fcde(0x171)]);}catch(_0x143e12){logger[_0x21fcde(0x10f)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x143e12);}this[_0x21fcde(0xe1)]['shouldScanTestForAccessibility']=_0x5daa46[_0x21fcde(0x17b)](shouldScanTestForAccessibility,this['currentTest'][_0x21fcde(0x122)](),!![]),globals[_0x21fcde(0x169)](_0x5daa46['SeAVD'],this[_0x21fcde(0xe1)][_0x21fcde(0x14f)]),this[_0x21fcde(0xe1)]['accessibilityScanStarted']=!![];if(_0x5daa46[_0x21fcde(0x11c)](isAccessibilityAutomationSession)&&_0x4bbf28&&Array[_0x21fcde(0x111)](global[_0x21fcde(0x176)])&&_0x5daa46[_0x21fcde(0x12c)](global[_0x21fcde(0x176)]['length'],0x0)&&globals[_0x21fcde(0x170)](_0x5daa46[_0x21fcde(0x15e)]))try{const _0x245668=await global[_0x21fcde(0x176)][0x0][_0x21fcde(0xe2)];if(_0x245668){let _0x1f06ed=!![];const _0x414860=await global[_0x21fcde(0x176)][0x0][_0x21fcde(0x145)]();let _0x3d52bb;try{_0x3d52bb=new URL(_0x414860);}catch(_0x2baea0){_0x1f06ed=![];}_0x1f06ed=_0x5daa46[_0x21fcde(0x156)](_0x3d52bb[_0x21fcde(0x172)],_0x5daa46[_0x21fcde(0x116)])||_0x5daa46[_0x21fcde(0x124)](_0x3d52bb[_0x21fcde(0x172)],_0x5daa46['vBPYn']),_0x1f06ed&&(this['currentTest']['shouldScanTestForAccessibility']&&logger[_0x21fcde(0x120)](_0x5daa46['TsZiF'])),this[_0x21fcde(0xe1)]['accessibilityScanStarted']=this['currentTest'][_0x21fcde(0x14f)],this[_0x21fcde(0xe1)][_0x21fcde(0x14f)]&&logger[_0x21fcde(0x120)](_0x5daa46[_0x21fcde(0xfb)]);}}catch(_0x419204){logger[_0x21fcde(0xde)](_0x21fcde(0x17a)+util[_0x21fcde(0xfc)](_0x419204));}_0x5daa46[_0x21fcde(0xe4)](_0x34840e);})[_0x2fa10e(0x10a)](()=>{const _0x5995aa=_0x2fa10e;_0x2741d2[_0x5995aa(0x123)](_0x1da152);});},{'platform':_0x5daa46[_0x135b8c(0x17b)](nestedKeyValue,global[_0x135b8c(0x13b)],[_0x5daa46[_0x135b8c(0x129)]]),'hookType':_0x5daa46[_0x135b8c(0xd9)]})();},'afterEach'(_0x1cbe2d){const _0x2d01e4=a37_0x145fec,_0x1ceb9b={'SeLug':function(_0x40703a){return _0x40703a();},'OAVey':function(_0x52e18f,_0x63f5ac){return _0x52e18f!==_0x63f5ac;},'BCoKU':'passed','AnwJM':function(_0x2f7f44,_0x3d3be5,_0x150474){return _0x2f7f44(_0x3d3be5,_0x150474);},'KKPZZ':function(_0x344a66,_0x5c6880){return _0x344a66+_0x5c6880;},'USHEr':_0x2d01e4(0x14d),'bckYQ':'error','xEJJd':'Passed','SdoFe':'info','EsAaL':_0x2d01e4(0x103),'KnjOl':function(_0x3e8c00,_0x26dbf3){return _0x3e8c00>_0x26dbf3;},'gGbCa':function(_0x37778a,_0x395c04){return _0x37778a===_0x395c04;},'YhwGL':_0x2d01e4(0xdc),'yTICg':_0x2d01e4(0x140),'PGSZr':function(_0x3082e2,_0x5a0d63,_0x3cc5f1,_0x3eed1d){return _0x3082e2(_0x5a0d63,_0x3cc5f1,_0x3eed1d);},'pmmLh':'isAccessibilityPlatform','rNsXD':_0x2d01e4(0x12a),'uFHPO':_0x2d01e4(0x177),'WPZHy':'Performing\x20scan\x20before\x20saving\x20results','UrnQa':_0x2d01e4(0x112),'jfKWp':_0x2d01e4(0x161),'koPHM':function(_0x1496c9,_0x3a85c7,_0x17e220){return _0x1496c9(_0x3a85c7,_0x17e220);},'gUIzE':_0x2d01e4(0x10f),'QEiGO':_0x2d01e4(0x144),'UNpMy':'index','NNrby':_0x2d01e4(0xf9)},_0x5ce97e='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x1ceb9b[_0x2d01e4(0x168)]]),global[_0x2d01e4(0x13e)]=this[_0x2d01e4(0xe1)]['titlePath']()[_0x2d01e4(0xf1)](_0x1ceb9b['EsAaL']),PerformanceTester[_0x2d01e4(0x131)](PerformanceSdkEvents[_0x2d01e4(0x137)],()=>{const _0x387e21=_0x2d01e4,_0x2d9c16={'daeXN':function(_0x471ba3,_0x394c58){const _0x1cad21=a37_0x2ea0;return _0x1ceb9b[_0x1cad21(0xd4)](_0x471ba3,_0x394c58);},'ieJLh':_0x1ceb9b[_0x387e21(0x135)],'RqKpJ':function(_0x5e455a,_0x3db393,_0x1c9297){const _0x48d1e5=_0x387e21;return _0x1ceb9b[_0x48d1e5(0x15c)](_0x5e455a,_0x3db393,_0x1c9297);},'AJoox':function(_0x2f4566,_0x5e7858){const _0x32a3f2=_0x387e21;return _0x1ceb9b[_0x32a3f2(0xe7)](_0x2f4566,_0x5e7858);},'Aoshi':_0x1ceb9b['USHEr'],'FhBYT':_0x1ceb9b['bckYQ'],'ZZkXi':_0x1ceb9b[_0x387e21(0x143)],'nQIYh':_0x1ceb9b[_0x387e21(0xd5)],'ExqUe':_0x1ceb9b['EsAaL'],'TNOSo':function(_0x156749,_0x3a668a){const _0x5339de=_0x387e21;return _0x1ceb9b[_0x5339de(0x121)](_0x156749,_0x3a668a);},'TKOay':function(_0x345dec,_0x2781a0){const _0x275208=_0x387e21;return _0x1ceb9b[_0x275208(0x165)](_0x345dec,_0x2781a0);},'WnRRV':_0x1ceb9b['YhwGL'],'LqWjT':_0x1ceb9b[_0x387e21(0x110)],'eyQAT':function(_0x4a717a,_0x15c526,_0x5aa334,_0x398567){return _0x1ceb9b['PGSZr'](_0x4a717a,_0x15c526,_0x5aa334,_0x398567);},'ogFvR':_0x1ceb9b['pmmLh'],'OpZkD':_0x1ceb9b[_0x387e21(0xe8)],'FBbSh':_0x1ceb9b['uFHPO'],'MLmPA':_0x1ceb9b['WPZHy'],'ZrybZ':_0x1ceb9b['UrnQa'],'TBUNt':_0x1ceb9b[_0x387e21(0x119)],'eYLAv':function(_0xf1fa0){const _0x1e5110=_0x387e21;return _0x1ceb9b[_0x1e5110(0x15a)](_0xf1fa0);},'uCxpN':function(_0x1c76ab,_0x2f5d7e,_0x1de055){const _0x572ed8=_0x387e21;return _0x1ceb9b[_0x572ed8(0x10e)](_0x1c76ab,_0x2f5d7e,_0x1de055);},'fvwAC':_0x1ceb9b[_0x387e21(0x107)]},_0x3d6e02=async(_0x5d5ed0,_0x1c567f)=>{const _0xcea062=_0x387e21;await global[_0xcea062(0x176)][0x0][_0xcea062(0x16b)](_0xcea062(0x11a)+_0x5d5ed0+',\x22level\x22:\x20\x22'+_0x1c567f+_0xcea062(0x167));};new Promise(async _0x31d7a8=>{const _0x31c0a9=_0x387e21,_0x30df42={};_0x30df42[_0x31c0a9(0xed)]=_0x2d9c16[_0x31c0a9(0x100)];const _0x18e3c9=_0x30df42;try{_0x2d9c16[_0x31c0a9(0x13a)](global['__drivers'][_0x31c0a9(0xe0)],0x1)&&(await global[_0x31c0a9(0x150)](),global['__drivers'][_0x31c0a9(0x157)](),global[_0x31c0a9(0x146)]=[],global[_0x31c0a9(0x13f)]=![]);try{if(global['percy']&&_0x2d9c16[_0x31c0a9(0x127)](global[_0x31c0a9(0x179)],_0x2d9c16[_0x31c0a9(0xd6)])&&global[_0x31c0a9(0x176)][0x0]){const _0x1a7742=_0x2d9c16[_0x31c0a9(0x13a)](global['capabilities']['length'],0x0)?!!global['capabilities'][0x0]['app']||!!global[_0x31c0a9(0x11f)][0x0][_0x2d9c16[_0x31c0a9(0x13c)]]:![],_0x4241f3={};_0x4241f3[_0x31c0a9(0x152)]=_0x1a7742,await _0x2d9c16[_0x31c0a9(0x125)](percyAutoCapture,global[_0x31c0a9(0x176)][0x0],_0x2d9c16['WnRRV'],_0x4241f3);}}catch(_0x2072a9){logger['debug'](_0x31c0a9(0x178)+_0x2072a9);}!global[_0x31c0a9(0xfd)]&&(await PerformanceTester[_0x31c0a9(0x131)](PerformanceAutEvents[_0x31c0a9(0x132)],async()=>{const _0x214029=_0x31c0a9;await global[_0x214029(0x176)][0x0][_0x214029(0x16b)](_0x214029(0x16c)+JSON['stringify'](this[_0x214029(0xe1)][_0x214029(0x122)]()[_0x214029(0xf1)](_0x18e3c9[_0x214029(0xed)]))+'}}');})(),global[_0x31c0a9(0x176)][0x0]['sessionNameSet__']=!![]),await PerformanceTester[_0x31c0a9(0x131)](PerformanceAutEvents[_0x31c0a9(0xe3)],async()=>{const _0x189d73=_0x31c0a9,_0x3648d0=_0x2d9c16[_0x189d73(0x12f)](this[_0x189d73(0xe1)][_0x189d73(0x153)],_0x2d9c16[_0x189d73(0x104)]);_0x3648d0?(global[_0x189d73(0x13f)]=!![],global[_0x189d73(0x146)]['push'](this[_0x189d73(0xe1)][_0x189d73(0x14c)][_0x189d73(0xda)]),await _0x2d9c16[_0x189d73(0x115)](_0x3d6e02,JSON['stringify'](_0x2d9c16['AJoox'](_0x2d9c16[_0x189d73(0x160)],this[_0x189d73(0xe1)]['err'][_0x189d73(0xda)])),_0x2d9c16[_0x189d73(0x126)])):await _0x2d9c16['RqKpJ'](_0x3d6e02,JSON[_0x189d73(0x174)](_0x2d9c16[_0x189d73(0xec)]),_0x2d9c16['nQIYh']);})();}catch(_0x50e10b){logger['debug'](_0x31c0a9(0x16d)+_0x50e10b);}try{if(this['currentTest']['accessibilityScanStarted']&&globals[_0x31c0a9(0x170)](_0x2d9c16[_0x31c0a9(0x14b)])&&globals[_0x31c0a9(0x170)](_0x2d9c16[_0x31c0a9(0x162)])){logger[_0x31c0a9(0x120)](_0x2d9c16['FBbSh']);const _0x2ced87={};_0x2ced87['thTestRunUuid']=this[_0x31c0a9(0xe1)][_0x31c0a9(0x113)],_0x2ced87['thBuildUuid']=process['env'][testHubConstants[_0x31c0a9(0xf4)][_0x31c0a9(0x15d)]],_0x2ced87['thJwtToken']=process[_0x31c0a9(0xeb)][testHubConstants[_0x31c0a9(0xf4)][_0x31c0a9(0x151)]];const _0x5a346f=_0x2ced87;logger[_0x31c0a9(0x10f)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON['stringify'](_0x5a346f)),logger[_0x31c0a9(0x10f)](_0x2d9c16['MLmPA']);const _0x4d17e9={};_0x4d17e9[_0x31c0a9(0x118)]=_0x2d9c16[_0x31c0a9(0x139)],await PerformanceTester[_0x31c0a9(0x131)](PerformanceA11yEvents[_0x31c0a9(0x10d)],async()=>{const _0x2142e2=_0x31c0a9;logger[_0x2142e2(0x10f)](util[_0x2142e2(0xfc)](await global[_0x2142e2(0x176)][0x0][_0x2142e2(0xd7)](scripts[_0x2142e2(0x106)],{'method':global[_0x2142e2(0xf7)]})));},_0x4d17e9)(),await PerformanceTester[_0x31c0a9(0x131)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x2e97e0=_0x31c0a9;await global[_0x2e97e0(0x176)][0x0]['executeAsyncScript'](scripts[_0x2e97e0(0x16a)],_0x5a346f);})(),logger[_0x31c0a9(0x120)](_0x2d9c16[_0x31c0a9(0x175)]);}}catch(_0x5a9f86){logger[_0x31c0a9(0xde)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x31c0a9(0xe1)][_0x31c0a9(0x122)]()+_0x31c0a9(0x12b),_0x5a9f86);}try{try{if(_0x2d9c16[_0x31c0a9(0x114)](shouldProcessEventForTesthub)){global[_0x31c0a9(0x176)][0x0]&&await _0x2d9c16[_0x31c0a9(0x141)](sendPlatformDetails,global[_0x31c0a9(0x176)][0x0],this[_0x31c0a9(0xe1)]?this['currentTest']['testAnalyticsId']:null);if(_0x2d9c16[_0x31c0a9(0x114)](isBrowserstackInfra)){PerformanceTester[_0x31c0a9(0xdd)](PerformanceO11yEvents[_0x31c0a9(0xe9)]);const _0x41a0dd='ObservabilitySync:'+Date[_0x31c0a9(0x109)]();await _0x2d9c16[_0x31c0a9(0x115)](_0x3d6e02,JSON[_0x31c0a9(0x174)](_0x41a0dd),_0x2d9c16[_0x31c0a9(0x163)]),PerformanceTester[_0x31c0a9(0x128)](PerformanceO11yEvents['SYNC']);}}}catch(_0x519e2d){logger[_0x31c0a9(0x10f)]('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x519e2d),PerformanceTester[_0x31c0a9(0x128)](PerformanceO11yEvents['SYNC'],![],_0x519e2d);}_0x2d9c16[_0x31c0a9(0x13a)](global[_0x31c0a9(0x176)][0x0]['quitCount_'],0x0)&&await global[_0x31c0a9(0x150)]();}catch(_0xb9e372){logger[_0x31c0a9(0x10f)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0xb9e372);}_0x2d9c16[_0x31c0a9(0x114)](_0x31d7a8);})['then'](()=>{const _0x4ba59e=_0x387e21;_0x1ceb9b[_0x4ba59e(0x15a)](_0x1cbe2d);});},{'platform':_0x1ceb9b[_0x2d01e4(0x15c)](nestedKeyValue,global['__platformCaps'],[_0x1ceb9b['UNpMy']]),'hookType':_0x1ceb9b[_0x2d01e4(0xf0)]})();},'afterAll'(_0x42a5d7){const _0x5d9876=a37_0x145fec,_0xc1d4d9={'OOkXh':function(_0x5ae69d){return _0x5ae69d();},'ZYtQL':_0x5d9876(0x144),'PYPTJ':function(_0x35be71,_0x3d22e5,_0x4dddc3){return _0x35be71(_0x3d22e5,_0x4dddc3);},'zkEby':'index','xPpCI':_0x5d9876(0x17c)},_0x35f570='browserstack internal helper hook';this[_0x5d9876(0x12e)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0xc1d4d9[_0x5d9876(0x11d)]]),PerformanceTester[_0x5d9876(0x131)](PerformanceSdkEvents[_0x5d9876(0x137)],()=>{const _0x6d3668=_0x5d9876,_0x3b814e={'VIKcs':function(_0xbe1361){const _0x2d08fa=a37_0x2ea0;return _0xc1d4d9[_0x2d08fa(0x136)](_0xbe1361);}};new Promise(async _0x1a8a01=>{const _0x5d9479=a37_0x2ea0;await global[_0x5d9479(0x150)](),_0x3b814e[_0x5d9479(0xe6)](_0x1a8a01);})[_0x6d3668(0x10a)]()[_0x6d3668(0x155)](()=>{_0x3b814e['VIKcs'](_0x42a5d7);});},{'platform':_0xc1d4d9[_0x5d9876(0xea)](nestedKeyValue,global[_0x5d9876(0x13b)],[_0xc1d4d9['zkEby']]),'hookType':_0xc1d4d9['xPpCI']})();}};
1
+ const a37_0x502318=a37_0x2b31;function a37_0x2b31(_0x154d30,_0x3d873e){const _0x14940b=a37_0x1494();return a37_0x2b31=function(_0x2b3113,_0x31b2c1){_0x2b3113=_0x2b3113-0x9d;let _0x4e903d=_0x14940b[_0x2b3113];return _0x4e903d;},a37_0x2b31(_0x154d30,_0x3d873e);}function a37_0x1494(){const _0x16334a=['CWOFj','thRHC','MDmqQ','testAnalyticsId','JWWbv','currentTest','afterAll','accessibilityScanStarted','pJjgB','isAccessibilityPlatform','getCurrentUrl','app','measureWrapper','setGlobal','__platformCaps','\x20-\x20','112234tDTrET','ZYaCP','yueeA','capabilities','start','winstonLogger','BROWSERSTACK_TESTHUB_UUID','OeObx','SDK_HOOK','fQHHZ','length','faQOx','lZjrG','HwmYJ','../../helpers/performance/performance-tester','6DFcSZx','12AwLhbG','2412468OpTHpC','uRPHT','info','klAWH','aisEb','fnzFr','now','SYNC','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','zPCsE','join','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','SreOG','beforeEach','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','MWRHP','Ywfvr','Passed','dsPkZ','QCFhT','IhurE','format','LmbNj','executeAsyncScript','then','ObservabilitySync:','protocol','oMdfv','state','jtnMW','index','FyFcl','error','bBZJn','vhjBF','bstackA11yShouldScan','gNnKd','DbaWI','../../helpers/logger','__error_messages__','titlePath','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','https:','__sessionFailed','jCuTV','getGlobal','passed','67275hpYUTA','stringify','YqpFp','ckgxp','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','browserstackSessionName','finally','SESSION_STATUS','percy','shouldScanTestForAccessibility','session_','836715xGsFlp','driverCleanup','kXesL','timeout','shift','executeScript','initQuit','message','http:','fkbWw','mochaHooks','ikUVG','qQLof','OnvGM','\x20|\x20','percyCaptureMode','isArray','Mocha','Performing\x20scan\x20before\x20saving\x20results','ENV_VAR','WxHiF','debug','kUcPi','../utils/constants','beforeAll','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','thBuildUuid','../../helpers/helper','WNzlm','Failed:\x20','QJJZK','wtcSA','RXEma','failed','__drivers','util','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','.\x20Error\x20:','SkBYh','jCreF','afterEach','761684zxZTUl','uTzML','afterTest','err','\x22}}','XDBPZ','./test-observability/mochaUtils','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','ULLLS','cBDGU','dGnbI','PJInR',',\x22level\x22:\x20\x22','729952jcXiau','__skipSessionName','SXzzl','quitCount_','676774aByymE','CwQdB','sessionName','ZkHoL','startMonitoring','browserstackTestName','env','abCvF','BROWSERSTACK_TESTHUB_JWT','testcase','UXwcR','../../helpers/accessibility-automation/helper','qXagJ','PLjmf','MSuxM','MULKx','zcAIp','SAVE_RESULTS','push'];a37_0x1494=function(){return _0x16334a;};return a37_0x1494();}(function(_0x4ab87b,_0x3f490e){const _0x1d3e21=a37_0x2b31,_0x102edc=_0x4ab87b();while(!![]){try{const _0x3dd6c4=parseInt(_0x1d3e21(0xcd))/0x1+parseInt(_0x1d3e21(0x135))/0x2*(-parseInt(_0x1d3e21(0x144))/0x3)+parseInt(_0x1d3e21(0x101))/0x4+parseInt(_0x1d3e21(0xd8))/0x5+parseInt(_0x1d3e21(0x145))/0x6*(parseInt(_0x1d3e21(0x112))/0x7)+-parseInt(_0x1d3e21(0x10e))/0x8+-parseInt(_0x1d3e21(0x9d))/0x9;if(_0x3dd6c4===_0x3f490e)break;else _0x102edc['push'](_0x102edc['shift']());}catch(_0xf83926){_0x102edc['push'](_0x102edc['shift']());}}}(a37_0x1494,0x23db9));const util=require(a37_0x502318(0xfb)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a37_0x502318(0x11d)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a37_0x502318(0xef)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a37_0x502318(0x107)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a37_0x502318(0xf3)),PerformanceTester=require(a37_0x502318(0x143)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require('../../helpers/globals'),logger=require(a37_0x502318(0xc4))[a37_0x502318(0x13a)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require('../../helpers/testhub/constants');exports[a37_0x502318(0xe2)]={'beforeAll'(){const _0x18f339=a37_0x502318,_0x1bb342={'zvwYI':function(_0x55eda1,_0x1a5d10,_0x20bdf4,_0x5f2512){return _0x55eda1(_0x1a5d10,_0x20bdf4,_0x5f2512);},'QJJZK':_0x18f339(0xf9),'HwmYJ':_0x18f339(0xe6),'wNHUm':function(_0x2c7d2c,_0x477e92,_0x3fac24){return _0x2c7d2c(_0x477e92,_0x3fac24);},'zPCsE':'passed','BdHWa':function(_0x17ca12){return _0x17ca12();},'uTzML':function(_0x559b70,_0x50d451,_0x53a322){return _0x559b70(_0x50d451,_0x53a322);},'SXzzl':'index','ZKBVR':_0x18f339(0xf0)};PerformanceTester[_0x18f339(0x116)]();const _0x26d39a='browserstack internal helper hook';PerformanceTester[_0x18f339(0x131)](PerformanceSdkEvents[_0x18f339(0x13d)],()=>{const _0x3e20cb=_0x18f339,_0x224fa7={'eeysy':function(_0x49eb82,_0x122567,_0x390ce8,_0x4bd8ec){return _0x1bb342['zvwYI'](_0x49eb82,_0x122567,_0x390ce8,_0x4bd8ec);},'QCFhT':_0x1bb342[_0x3e20cb(0xf6)],'jCreF':_0x1bb342[_0x3e20cb(0x142)],'mmORq':function(_0x3e6a06,_0x428c2e,_0x3bc049){return _0x1bb342['wNHUm'](_0x3e6a06,_0x428c2e,_0x3bc049);},'LmbNj':_0x1bb342[_0x3e20cb(0xa6)],'MULKx':function(_0x5efb6f){return _0x1bb342['BdHWa'](_0x5efb6f);},'FACfk':function(_0x12cbc4,_0x2b99c7,_0x47780f){const _0x1935b8=_0x3e20cb;return _0x1bb342[_0x1935b8(0x102)](_0x12cbc4,_0x2b99c7,_0x47780f);}};global[_0x3e20cb(0xc5)]=[],global[_0x3e20cb(0xc9)]=![],global['driverCleanup']=async()=>{const _0x3fb242=_0x3e20cb;let _0xa19231=![];try{await global[_0x3fb242(0xfa)][0x0][_0x3fb242(0xd7)],_0xa19231=!![],global[_0x3fb242(0xc9)]?await _0x224fa7['eeysy'](markSessionStatus,global[_0x3fb242(0xfa)][0x0],_0x224fa7[_0x3fb242(0xb1)],global[_0x3fb242(0xc5)][_0x3fb242(0xa7)](_0x224fa7[_0x3fb242(0xff)])):await _0x224fa7['mmORq'](markSessionStatus,global[_0x3fb242(0xfa)][0x0],_0x224fa7[_0x3fb242(0xb4)]);}catch(_0x1d21b9){logger[_0x3fb242(0xed)](_0x3fb242(0xf1)+_0x1d21b9);}global[_0x3fb242(0xc5)]=[],global[_0x3fb242(0xc9)]=![];if(_0xa19231)try{try{_0x224fa7[_0x3fb242(0x121)](shouldProcessEventForTesthub)&&(global[_0x3fb242(0xfa)][0x0]&&await _0x224fa7['FACfk'](sendPlatformDetails,global['__drivers'][0x0],this[_0x3fb242(0x12a)]?this[_0x3fb242(0x12a)][_0x3fb242(0x128)]:null));}catch(_0x1b7c67){logger[_0x3fb242(0xed)]('Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20'+_0x1b7c67);}await global['__drivers'][0x0][_0x3fb242(0xde)]();}catch(_0xb18591){logger[_0x3fb242(0xed)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0xb18591);}};},{'platform':_0x1bb342[_0x18f339(0x102)](nestedKeyValue,global['__platformCaps'],[_0x1bb342[_0x18f339(0x110)]]),'hookType':_0x1bb342['ZKBVR']})();},'beforeEach'(_0x834ca){const _0x527eb2=a37_0x502318,_0xdd8af6={'WNzlm':function(_0x483073,_0x5a8173){return _0x483073>_0x5a8173;},'FyFcl':function(_0xc8a933,_0x8ebd7b){return _0xc8a933>_0x8ebd7b;},'ckgxp':_0x527eb2(0x134),'uRPHT':function(_0x2ef95f,_0x374bf2,_0x4db249){return _0x2ef95f(_0x374bf2,_0x4db249);},'ZYaCP':_0x527eb2(0xc1),'OnvGM':function(_0xfb60d2){return _0xfb60d2();},'jCuTV':_0x527eb2(0x12e),'JWWbv':function(_0x384819,_0x11c28c){return _0x384819===_0x11c28c;},'SkBYh':_0x527eb2(0xe0),'zcAIp':_0x527eb2(0xc8),'IJwhK':_0x527eb2(0x108),'IRghb':'Automate\x20test\x20case\x20execution\x20has\x20started.','IhurE':function(_0x53dfcb){return _0x53dfcb();},'qXagJ':_0x527eb2(0x117),'cBDGU':function(_0x4f4bf8,_0x3abafd,_0x2529db){return _0x4f4bf8(_0x3abafd,_0x2529db);},'dsPkZ':'index','OeObx':_0x527eb2(0xaa)};globals['setGlobal'](_0xdd8af6[_0x527eb2(0x11e)],this[_0x527eb2(0x12a)][_0x527eb2(0xc6)]()[_0x527eb2(0xa7)](_0xdd8af6[_0x527eb2(0xd0)])),PerformanceTester[_0x527eb2(0x131)](PerformanceSdkEvents[_0x527eb2(0x13d)],()=>{const _0x15face={'XDBPZ':function(_0x310d0e){return _0xdd8af6['OnvGM'](_0x310d0e);}},_0x2c7193='browserstack internal helper hook';new Promise(async _0x122319=>{const _0x106c11=a37_0x2b31;let _0x121cbf=!![];try{_0xdd8af6[_0x106c11(0xf4)](global[_0x106c11(0xfa)][_0x106c11(0x13f)],0x1)&&(await global[_0x106c11(0xd9)](),global[_0x106c11(0xfa)]['shift']()),_0xdd8af6[_0x106c11(0xbd)](global[_0x106c11(0xfa)][0x0][_0x106c11(0x111)],0x0)&&(_0x121cbf=![],await global[_0x106c11(0xd9)]());}catch(_0x4421fa){logger[_0x106c11(0xed)](_0x106c11(0xac)+_0x4421fa);}try{Array[_0x106c11(0xe8)](global[_0x106c11(0xfa)])&&global[_0x106c11(0xfa)][0x0]&&(global['__drivers'][0x0][_0x106c11(0xd2)]=this[_0x106c11(0x12a)][_0x106c11(0xc6)]()[_0x106c11(0xa7)](_0xdd8af6[_0x106c11(0xd0)])),global[_0x106c11(0xd2)]=this[_0x106c11(0x12a)][_0x106c11(0xc6)]()[_0x106c11(0xa7)](_0xdd8af6['ckgxp']);}catch(_0x5dca9b){logger[_0x106c11(0xed)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x5dca9b);}this[_0x106c11(0x12a)][_0x106c11(0xd6)]=_0xdd8af6[_0x106c11(0x9e)](shouldScanTestForAccessibility,this['currentTest'][_0x106c11(0xc6)](),!![]),globals[_0x106c11(0x132)](_0xdd8af6[_0x106c11(0x136)],this[_0x106c11(0x12a)][_0x106c11(0xd6)]),this[_0x106c11(0x12a)][_0x106c11(0x12c)]=!![];if(_0xdd8af6[_0x106c11(0xe5)](isAccessibilityAutomationSession)&&_0x121cbf&&Array[_0x106c11(0xe8)](global[_0x106c11(0xfa)])&&_0xdd8af6[_0x106c11(0xf4)](global[_0x106c11(0xfa)][_0x106c11(0x13f)],0x0)&&globals[_0x106c11(0xcb)](_0xdd8af6[_0x106c11(0xca)]))try{const _0x1cbf03=await global[_0x106c11(0xfa)][0x0][_0x106c11(0xd7)];if(_0x1cbf03){let _0x10aaf8=!![];const _0x1fa5fc=await global[_0x106c11(0xfa)][0x0][_0x106c11(0x12f)]();let _0x353531;try{_0x353531=new URL(_0x1fa5fc);}catch(_0x530edc){_0x10aaf8=![];}_0x10aaf8=_0xdd8af6[_0x106c11(0x129)](_0x353531[_0x106c11(0xb8)],_0xdd8af6[_0x106c11(0xfe)])||_0xdd8af6[_0x106c11(0x129)](_0x353531['protocol'],_0xdd8af6[_0x106c11(0x122)]),_0x10aaf8&&(this['currentTest'][_0x106c11(0xd6)]&&logger[_0x106c11(0x9f)](_0xdd8af6['IJwhK'])),this['currentTest'][_0x106c11(0x12c)]=this[_0x106c11(0x12a)][_0x106c11(0xd6)],this[_0x106c11(0x12a)][_0x106c11(0xd6)]&&logger[_0x106c11(0x9f)](_0xdd8af6['IRghb']);}}catch(_0x301419){logger[_0x106c11(0xbe)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x106c11(0xb3)](_0x301419));}_0xdd8af6[_0x106c11(0xb2)](_0x122319);})['then'](()=>{const _0x366f71=a37_0x2b31;_0x15face[_0x366f71(0x106)](_0x834ca);});},{'platform':_0xdd8af6[_0x527eb2(0x10a)](nestedKeyValue,global[_0x527eb2(0x133)],[_0xdd8af6[_0x527eb2(0xb0)]]),'hookType':_0xdd8af6[_0x527eb2(0x13c)]})();},'afterEach'(_0x1c05ad){const _0x5e5af0=a37_0x502318,_0x553f94={'RXEma':function(_0x421c93,_0x500e73){return _0x421c93!==_0x500e73;},'vhjBF':_0x5e5af0(0xcc),'oMdfv':function(_0x1b7ea1,_0x306a85,_0x468603){return _0x1b7ea1(_0x306a85,_0x468603);},'kUcPi':function(_0x4d30db,_0x8956b7){return _0x4d30db+_0x8956b7;},'MDmqQ':_0x5e5af0(0xf5),'wtcSA':_0x5e5af0(0xbe),'UXwcR':_0x5e5af0(0xaf),'CwQdB':_0x5e5af0(0x9f),'DbaWI':function(_0x2cf816,_0x44df6c){return _0x2cf816>_0x44df6c;},'fnzFr':function(_0x30084d,_0x4fd186){return _0x30084d===_0x4fd186;},'ZkHoL':_0x5e5af0(0x11b),'kXesL':function(_0x1934fb,_0x81ccfe){return _0x1934fb>_0x81ccfe;},'YqpFp':'appium:app','aisEb':function(_0x53fe6f,_0x18fb2c,_0x5f323d,_0x4d440b){return _0x53fe6f(_0x18fb2c,_0x5f323d,_0x4d440b);},'PJInR':'isAccessibilityPlatform','PLjmf':'bstackA11yShouldScan','ULLLS':_0x5e5af0(0xfc),'XcwTY':_0x5e5af0(0xea),'MSuxM':_0x5e5af0(0x103),'qQLof':_0x5e5af0(0xa5),'yueeA':function(_0x198cae){return _0x198cae();},'WxHiF':function(_0x40f7f7){return _0x40f7f7();},'bBZJn':function(_0x4116cc,_0x573ab9,_0x4d9a9c){return _0x4116cc(_0x573ab9,_0x4d9a9c);},'MWRHP':_0x5e5af0(0xed),'kBJLZ':'\x20-\x20','klAWH':_0x5e5af0(0xe9),'fQHHZ':function(_0x1b94af,_0xd513ac,_0x5f5410){return _0x1b94af(_0xd513ac,_0x5f5410);},'fkbWw':_0x5e5af0(0xbc),'dGnbI':_0x5e5af0(0x100)},_0x5ec25d='browserstack internal helper hook';this[_0x5e5af0(0xdb)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x553f94[_0x5e5af0(0xa0)]]),global[_0x5e5af0(0x114)]=this[_0x5e5af0(0x12a)]['titlePath']()[_0x5e5af0(0xa7)](_0x553f94['kBJLZ']),PerformanceTester[_0x5e5af0(0x131)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x3ddc37={'SreOG':_0x553f94['kBJLZ'],'pJjgB':function(_0x2a9497){const _0x1c16cd=a37_0x2b31;return _0x553f94[_0x1c16cd(0x137)](_0x2a9497);}},_0x32710d=async(_0x876182,_0x1149cd)=>{const _0x2de3cf=a37_0x2b31;await global[_0x2de3cf(0xfa)][0x0][_0x2de3cf(0xdd)](_0x2de3cf(0xc7)+_0x876182+_0x2de3cf(0x10d)+_0x1149cd+_0x2de3cf(0x105));};new Promise(async _0x4f57a0=>{const _0x5a072a=a37_0x2b31,_0x31a22c={'CWOFj':function(_0x1a662b,_0xc1eff7){const _0x4e2dba=a37_0x2b31;return _0x553f94[_0x4e2dba(0xf8)](_0x1a662b,_0xc1eff7);},'thRHC':_0x553f94[_0x5a072a(0xc0)],'gNnKd':function(_0x29bdb1,_0x448b97,_0x43c6e7){const _0x33fd2b=_0x5a072a;return _0x553f94[_0x33fd2b(0xb9)](_0x29bdb1,_0x448b97,_0x43c6e7);},'amTCs':function(_0xdf4a1a,_0x1397e8){const _0x1b7de1=_0x5a072a;return _0x553f94[_0x1b7de1(0xee)](_0xdf4a1a,_0x1397e8);},'faQOx':_0x553f94[_0x5a072a(0x127)],'ikUVG':_0x553f94[_0x5a072a(0xf7)],'WsSOr':_0x553f94[_0x5a072a(0x11c)],'sfPmg':_0x553f94[_0x5a072a(0x113)]};try{_0x553f94[_0x5a072a(0xc3)](global['__drivers'][_0x5a072a(0x13f)],0x1)&&(await global[_0x5a072a(0xd9)](),global[_0x5a072a(0xfa)][_0x5a072a(0xdc)](),global[_0x5a072a(0xc5)]=[],global[_0x5a072a(0xc9)]=![]);try{if(global[_0x5a072a(0xd5)]&&_0x553f94[_0x5a072a(0xa2)](global[_0x5a072a(0xe7)],_0x553f94[_0x5a072a(0x115)])&&global[_0x5a072a(0xfa)][0x0]){const _0x171709=_0x553f94[_0x5a072a(0xda)](global[_0x5a072a(0x138)]['length'],0x0)?!!global['capabilities'][0x0][_0x5a072a(0x130)]||!!global[_0x5a072a(0x138)][0x0][_0x553f94[_0x5a072a(0xcf)]]:![],_0x7f52cd={};_0x7f52cd[_0x5a072a(0x130)]=_0x171709,await _0x553f94[_0x5a072a(0xa1)](percyAutoCapture,global[_0x5a072a(0xfa)][0x0],_0x553f94['ZkHoL'],_0x7f52cd);}}catch(_0x52aa7a){logger[_0x5a072a(0xed)](_0x5a072a(0xab)+_0x52aa7a);}!global[_0x5a072a(0x10f)]&&(await PerformanceTester[_0x5a072a(0x131)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x17cef6=_0x5a072a;await global[_0x17cef6(0xfa)][0x0][_0x17cef6(0xdd)](_0x17cef6(0xa8)+JSON['stringify'](this[_0x17cef6(0x12a)]['titlePath']()['join'](_0x3ddc37[_0x17cef6(0xa9)]))+'}}');})(),global['__drivers'][0x0]['sessionNameSet__']=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x5a072a(0xd4)],async()=>{const _0x2f8b72=_0x5a072a,_0x14e199=_0x31a22c[_0x2f8b72(0x125)](this['currentTest'][_0x2f8b72(0xba)],_0x31a22c[_0x2f8b72(0x126)]);_0x14e199?(global['__sessionFailed']=!![],global[_0x2f8b72(0xc5)][_0x2f8b72(0x124)](this[_0x2f8b72(0x12a)]['err'][_0x2f8b72(0xdf)]),await _0x31a22c[_0x2f8b72(0xc2)](_0x32710d,JSON[_0x2f8b72(0xce)](_0x31a22c['amTCs'](_0x31a22c[_0x2f8b72(0x140)],this[_0x2f8b72(0x12a)][_0x2f8b72(0x104)]['message'])),_0x31a22c[_0x2f8b72(0xe3)])):await _0x31a22c[_0x2f8b72(0xc2)](_0x32710d,JSON[_0x2f8b72(0xce)](_0x31a22c['WsSOr']),_0x31a22c['sfPmg']);})();}catch(_0x568b6f){logger[_0x5a072a(0xed)](_0x5a072a(0xd1)+_0x568b6f);}try{if(this[_0x5a072a(0x12a)][_0x5a072a(0x12c)]&&globals[_0x5a072a(0xcb)](_0x553f94[_0x5a072a(0x10c)])&&globals[_0x5a072a(0xcb)](_0x553f94[_0x5a072a(0x11f)])){logger[_0x5a072a(0x9f)](_0x553f94[_0x5a072a(0x109)]);const _0x3bcc80={};_0x3bcc80['thTestRunUuid']=this['currentTest'][_0x5a072a(0x128)],_0x3bcc80[_0x5a072a(0xf2)]=process[_0x5a072a(0x118)][testHubConstants['ENV_VAR'][_0x5a072a(0x13b)]],_0x3bcc80['thJwtToken']=process[_0x5a072a(0x118)][testHubConstants[_0x5a072a(0xeb)][_0x5a072a(0x11a)]];const _0x9b9f0b=_0x3bcc80;logger['debug']('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x5a072a(0xce)](_0x9b9f0b)),logger[_0x5a072a(0xed)](_0x553f94['XcwTY']);const _0xad997d={};_0xad997d['command']=_0x553f94[_0x5a072a(0x120)],await PerformanceTester[_0x5a072a(0x131)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x27ca56=_0x5a072a;logger['debug'](util[_0x27ca56(0xb3)](await global[_0x27ca56(0xfa)][0x0]['executeAsyncScript'](scripts['performScan'],{'method':global['browserstackSessionName']})));},_0xad997d)(),await PerformanceTester[_0x5a072a(0x131)](PerformanceA11yEvents[_0x5a072a(0x123)],async()=>{const _0x28d71a=_0x5a072a;await global[_0x28d71a(0xfa)][0x0][_0x28d71a(0xb5)](scripts['saveTestResults'],_0x9b9f0b);})(),logger[_0x5a072a(0x9f)](_0x553f94[_0x5a072a(0xe4)]);}}catch(_0x3a1830){logger['error']('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this['currentTest'][_0x5a072a(0xc6)]()+_0x5a072a(0xfd),_0x3a1830);}try{try{if(_0x553f94[_0x5a072a(0x137)](shouldProcessEventForTesthub)){global[_0x5a072a(0xfa)][0x0]&&await _0x553f94[_0x5a072a(0xb9)](sendPlatformDetails,global[_0x5a072a(0xfa)][0x0],this['currentTest']?this['currentTest']['testAnalyticsId']:null);if(_0x553f94[_0x5a072a(0xec)](isBrowserstackInfra)){PerformanceTester[_0x5a072a(0x139)](PerformanceO11yEvents['SYNC']);const _0x11bb00=_0x5a072a(0xb7)+Date[_0x5a072a(0xa3)]();await _0x553f94[_0x5a072a(0xbf)](_0x32710d,JSON[_0x5a072a(0xce)](_0x11bb00),_0x553f94[_0x5a072a(0xad)]),PerformanceTester['end'](PerformanceO11yEvents[_0x5a072a(0xa4)]);}}}catch(_0x5f52eb){logger[_0x5a072a(0xed)]('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x5f52eb),PerformanceTester['end'](PerformanceO11yEvents[_0x5a072a(0xa4)],![],_0x5f52eb);}_0x553f94[_0x5a072a(0xc3)](global[_0x5a072a(0xfa)][0x0]['quitCount_'],0x0)&&await global[_0x5a072a(0xd9)]();}catch(_0x5db4fe){logger[_0x5a072a(0xed)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x5db4fe);}_0x553f94[_0x5a072a(0xec)](_0x4f57a0);})['then'](()=>{const _0x18871e=a37_0x2b31;_0x3ddc37[_0x18871e(0x12d)](_0x1c05ad);});},{'platform':_0x553f94[_0x5e5af0(0x13e)](nestedKeyValue,global[_0x5e5af0(0x133)],[_0x553f94[_0x5e5af0(0xe1)]]),'hookType':_0x553f94[_0x5e5af0(0x10b)]})();},'afterAll'(_0x2e1a4d){const _0x218acd=a37_0x502318,_0x3a315e={'IcPOg':function(_0x369810){return _0x369810();},'jtnMW':_0x218acd(0xe9),'gNKHX':function(_0x199600,_0x10eb21,_0xc4a2a3){return _0x199600(_0x10eb21,_0xc4a2a3);},'abCvF':_0x218acd(0xbc),'Ywfvr':_0x218acd(0x12b)},_0x4bf27e='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x3a315e[_0x218acd(0xbb)]]),PerformanceTester[_0x218acd(0x131)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x17816d=_0x218acd,_0x302a60={'lZjrG':function(_0x354d98){return _0x3a315e['IcPOg'](_0x354d98);}};new Promise(async _0x16af57=>{const _0x43c1cd=a37_0x2b31;await global[_0x43c1cd(0xd9)](),_0x302a60[_0x43c1cd(0x141)](_0x16af57);})[_0x17816d(0xb6)]()[_0x17816d(0xd3)](()=>{_0x3a315e['IcPOg'](_0x2e1a4d);});},{'platform':_0x3a315e['gNKHX'](nestedKeyValue,global[_0x218acd(0x133)],[_0x3a315e[_0x218acd(0x119)]]),'hookType':_0x3a315e[_0x218acd(0xae)]})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a38_0x3df9(_0x5a37c4,_0x4a1392){const _0x5e3c38=a38_0x5e3c();return a38_0x3df9=function(_0x3df9eb,_0x25bf07){_0x3df9eb=_0x3df9eb-0x17a;let _0x20c9c9=_0x5e3c38[_0x3df9eb];return _0x20c9c9;},a38_0x3df9(_0x5a37c4,_0x4a1392);}const a38_0x4f275c=a38_0x3df9;(function(_0x4f4d37,_0x437011){const _0x1ddd7c=a38_0x3df9,_0x5ce4a2=_0x4f4d37();while(!![]){try{const _0x2b67b1=parseInt(_0x1ddd7c(0x196))/0x1+-parseInt(_0x1ddd7c(0x180))/0x2+-parseInt(_0x1ddd7c(0x19b))/0x3+-parseInt(_0x1ddd7c(0x18d))/0x4+-parseInt(_0x1ddd7c(0x18e))/0x5+parseInt(_0x1ddd7c(0x1c0))/0x6*(-parseInt(_0x1ddd7c(0x1ad))/0x7)+parseInt(_0x1ddd7c(0x1a7))/0x8;if(_0x2b67b1===_0x437011)break;else _0x5ce4a2['push'](_0x5ce4a2['shift']());}catch(_0x4b9f14){_0x5ce4a2['push'](_0x5ce4a2['shift']());}}}(a38_0x5e3c,0x62b1c));const fs=require('fs'),path=require(a38_0x4f275c(0x19c)),{spawn}=require('child_process'),logger=require(a38_0x4f275c(0x1a0))[a38_0x4f275c(0x192)],{default:BrowserStackSetup}=require(a38_0x4f275c(0x19a)),helper=require('../../helpers/helper'),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x16b9cc,_0x13c35b)=>{const _0x58dd26=a38_0x4f275c,_0x15621c={'LPpeb':_0x58dd26(0x187),'JOpDn':_0x58dd26(0x1a8),'VXmkc':function(_0x2f0b7c,_0x4cd2b6){return _0x2f0b7c(_0x4cd2b6);},'isAWO':_0x58dd26(0x1be)};let _0x3e2e0a=null,_0x10ee6f={};const _0x5e0b50=_0x13c35b[_0x58dd26(0x184)](_0x1443b3=>_0x1443b3===_0x58dd26(0x1aa));if(!helper['isUndefined'](_0x16b9cc[_0x58dd26(0x17b)])&&fs[_0x58dd26(0x193)](path['join'](process[_0x58dd26(0x1b0)](),_0x16b9cc[_0x58dd26(0x17b)])))_0x3e2e0a=path[_0x58dd26(0x198)](process[_0x58dd26(0x1b0)](),_0x16b9cc[_0x58dd26(0x17b)]),_0x13c35b[_0x58dd26(0x191)](_0x5e0b50,0x2);else{if(fs[_0x58dd26(0x193)](path[_0x58dd26(0x198)](process['cwd'](),_0x15621c['LPpeb'])))_0x3e2e0a=path[_0x58dd26(0x198)](process[_0x58dd26(0x1b0)](),_0x15621c[_0x58dd26(0x1bf)]);else fs[_0x58dd26(0x193)](path[_0x58dd26(0x198)](process['cwd'](),_0x15621c[_0x58dd26(0x190)]))&&(_0x3e2e0a=path[_0x58dd26(0x198)](process[_0x58dd26(0x1b0)](),_0x15621c[_0x58dd26(0x190)]));}return _0x3e2e0a?(logger[_0x58dd26(0x194)](_0x58dd26(0x1b8)+_0x3e2e0a),_0x10ee6f=_0x15621c['VXmkc'](require,_0x3e2e0a)):logger['info'](_0x15621c[_0x58dd26(0x1bc)]),_0x10ee6f;},removeExistingEnvs=_0x8fa3e0=>{const _0x3dd1e4=a38_0x4f275c,_0x54e647={};_0x54e647['CpQut']=function(_0x21ea0d,_0x2a50ac){return _0x21ea0d>_0x2a50ac;},_0x54e647[_0x3dd1e4(0x188)]=function(_0x4b1cb6,_0x52e0f6){return _0x4b1cb6>_0x52e0f6;};const _0x12df70=_0x54e647;let _0x24fecc=_0x8fa3e0[_0x3dd1e4(0x184)](_0x45e544=>_0x45e544==='--env');_0x12df70[_0x3dd1e4(0x1ae)](_0x24fecc,-0x1)&&_0x8fa3e0[_0x3dd1e4(0x191)](_0x24fecc,0x2),_0x24fecc=_0x8fa3e0[_0x3dd1e4(0x184)](_0xb20267=>_0xb20267==='-e'),_0x12df70[_0x3dd1e4(0x188)](_0x24fecc,-0x1)&&_0x8fa3e0[_0x3dd1e4(0x191)](_0x24fecc,0x2);};function run(_0x2990cd,_0x5849d0,_0xb784d4){const _0x180b35=a38_0x4f275c,_0x33a049={'JgjKA':'nightwatch','XGehL':function(_0x82db82,_0x5671ae){return _0x82db82+_0x5671ae;},'mstDv':'test_settings','ldRmE':function(_0x3ff0eb,_0x50ee31,_0xc7cd5e){return _0x3ff0eb(_0x50ee31,_0xc7cd5e);},'oxdNN':_0x180b35(0x186),'mVjEP':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','ezgAl':function(_0x460f4b,_0x5065ca){return _0x460f4b===_0x5065ca;},'dhaHS':'nightwatch-browserstack.json','wAhSU':function(_0x50454e,_0x59f249){return _0x50454e(_0x59f249);},'Kwppf':function(_0x135e0d,_0x279955,_0x9fe509,_0x1172a9){return _0x135e0d(_0x279955,_0x9fe509,_0x1172a9);},'GSTap':_0x180b35(0x1b5),'UdgbV':_0x180b35(0x1aa),'zfoPa':_0x180b35(0x17f),'oTLpV':_0x180b35(0x1a6),'fhODl':'close'};if(!_0xb784d4['config'])return;const _0x18d550=_0x33a049[_0x180b35(0x1a4)](getUserNightwatchConfigs,_0x2990cd,_0x5849d0),_0xdda644={};_0xdda644['start_process']=![];const _0x24eac4={};_0x24eac4[_0x180b35(0x199)]=_0x33a049[_0x180b35(0x185)],_0x24eac4[_0x180b35(0x1a5)]=0x1bb;const _0x7bdee8={};_0x7bdee8[_0x180b35(0x189)]=_0xdda644,_0x7bdee8['selenium']=_0x24eac4;const _0x291459=_0x7bdee8;logger[_0x180b35(0x194)](_0x33a049[_0x180b35(0x1b9)]);const _0x155dcd={..._0x18d550},_0x8946a4=_0x155dcd,_0x20d4a7=helper[_0x180b35(0x1ac)](_0xb784d4[_0x180b35(0x17b)]),_0x26a5a2=[];_0xb784d4[_0x180b35(0x17b)]['platforms']['forEach']((_0x4dd570,_0x42be58)=>{const _0x50c070=_0x180b35;_0x20d4a7?_0x26a5a2[_0x50c070(0x1b7)](helper['modifyBrowserStackW3CCaps'](_0xb784d4[_0x50c070(0x17b)],_0x33a049[_0x50c070(0x1b2)],_0x42be58)):_0x26a5a2[_0x50c070(0x1b7)](helper[_0x50c070(0x18f)](_0xb784d4[_0x50c070(0x17b)],_0x33a049['JgjKA'],_0x42be58));});const _0x51262c={},_0x429101=[];_0x2990cd[_0x180b35(0x17c)]=_0x2990cd[_0x180b35(0x17c)]||_0x2990cd['e'];const _0x4d315d=_0x2990cd[_0x180b35(0x17c)]?_0x2990cd[_0x180b35(0x17c)][_0x180b35(0x18b)]()['split'](',')[_0x180b35(0x18a)](_0x1a17c4=>_0x1a17c4[_0x180b35(0x18b)]())[_0x180b35(0x1b3)](_0x547d05=>_0x547d05!==''):[''];_0x33a049['ezgAl'](_0x4d315d[_0x180b35(0x1b1)],0x0)&&_0x4d315d['push']('');_0x4d315d[_0x180b35(0x19d)](_0x42f57e=>{const _0x5e8dcf=_0x180b35;_0x26a5a2[_0x5e8dcf(0x19d)](_0x379e37=>{const _0x305e39=_0x5e8dcf;let _0x28278f=_0x33a049[_0x305e39(0x1af)](helper[_0x305e39(0x195)](_0x379e37,'_'),'_'+Date['now']());_0x42f57e&&(_0x28278f+='_'+_0x42f57e);if(_0x42f57e&&(!_0x18d550[_0x33a049['mstDv']]||!_0x18d550[_0x33a049[_0x305e39(0x19f)]][_0x42f57e]))return;const _0x138b9d={..._0x291459};_0x138b9d[_0x305e39(0x197)]=_0x379e37;const _0x219c7c=_0x138b9d;_0x51262c[_0x28278f]=_0x42f57e?helper[_0x305e39(0x17d)](_0x18d550[_0x33a049[_0x305e39(0x19f)]][_0x42f57e],_0x219c7c):_0x219c7c,_0x429101[_0x305e39(0x1b7)](_0x28278f);});});!_0x8946a4[_0x180b35(0x1a2)]&&(_0x8946a4[_0x180b35(0x1a2)]={});_0x8946a4['test_settings']={..._0x8946a4[_0x180b35(0x1a2)],..._0x51262c};const _0x34ed81=path['join'](__dirname,_0x33a049[_0x180b35(0x1ab)]);fs[_0x180b35(0x182)](_0x34ed81,JSON[_0x180b35(0x1bd)](_0x8946a4)),_0x33a049[_0x180b35(0x183)](removeExistingEnvs,_0x5849d0);const _0x40fad9=_0x33a049[_0x180b35(0x17e)](spawn,/^win/[_0x180b35(0x1ba)](process[_0x180b35(0x1a1)])?_0x33a049[_0x180b35(0x1b4)]:_0x33a049[_0x180b35(0x1b2)],[_0x33a049[_0x180b35(0x19e)],_0x34ed81,..._0x5849d0[_0x180b35(0x181)](0x1),_0x33a049['zfoPa'],_0x429101[_0x180b35(0x198)](',')],{'stdio':_0x33a049[_0x180b35(0x1a9)]});_0x40fad9['on'](_0x33a049[_0x180b35(0x1b6)],async _0x1edc42=>{const _0x5c350b=_0x180b35;logger[_0x5c350b(0x17a)](_0x5c350b(0x18c)+_0x1edc42),logger[_0x5c350b(0x194)](_0x5c350b(0x1a3)+_0x34ed81),fs[_0x5c350b(0x1bb)](_0x34ed81);});}function a38_0x5e3c(){const _0x27fe97=['stringify','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','LPpeb','42qZibym','debug','config','env','mergeDeep','Kwppf','--env','616466YBqFIS','slice','writeFileSync','wAhSU','findIndex','oxdNN','hub.browserstack.com','nightwatch.conf.js','UHgMJ','webdriver','map','trim','child\x20process\x20exited\x20with\x20code\x20','1834016bXlOus','2562170PUPhNz','modifyBrowserStackCaps','JOpDn','splice','winstonLogger','existsSync','info','getPlatformName','684652qyWdpq','desiredCapabilities','join','host','../../helpers/BrowserStackSetup','1602018PNMByI','path','forEach','UdgbV','mstDv','../../helpers/logger','platform','test_settings','Deleting\x20','ldRmE','port','inherit','14396992VpIQJz','nightwatch.json','oTLpV','--config','dhaHS','useW3C','266847XFjOLp','CpQut','XGehL','cwd','length','JgjKA','filter','GSTap','nightwatch.cmd','fhODl','push','Getting\x20your\x20nightwatch\x20configs\x20from\x20','mVjEP','test','unlinkSync','isAWO'];a38_0x5e3c=function(){return _0x27fe97;};return a38_0x5e3c();}module['exports']=run;
2
+ 'use strict';const a38_0x47b0b0=a38_0x4423;(function(_0x55fcaf,_0x2c6b26){const _0x26d4c5=a38_0x4423,_0x193660=_0x55fcaf();while(!![]){try{const _0x36b5da=parseInt(_0x26d4c5(0xad))/0x1+-parseInt(_0x26d4c5(0xbb))/0x2+-parseInt(_0x26d4c5(0xc9))/0x3*(-parseInt(_0x26d4c5(0x84))/0x4)+parseInt(_0x26d4c5(0xc4))/0x5+parseInt(_0x26d4c5(0xbf))/0x6+parseInt(_0x26d4c5(0xc6))/0x7*(parseInt(_0x26d4c5(0x96))/0x8)+-parseInt(_0x26d4c5(0xa7))/0x9;if(_0x36b5da===_0x2c6b26)break;else _0x193660['push'](_0x193660['shift']());}catch(_0x97cd79){_0x193660['push'](_0x193660['shift']());}}}(a38_0x37b0,0x22d9c));const fs=require('fs'),path=require('path'),{spawn}=require(a38_0x47b0b0(0x93)),logger=require(a38_0x47b0b0(0xa3))[a38_0x47b0b0(0x8f)],{default:BrowserStackSetup}=require(a38_0x47b0b0(0x94)),helper=require('../../helpers/helper'),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x1ccba9,_0x3b317d)=>{const _0x28aa83=a38_0x47b0b0,_0xc1bc13={'OUcgH':_0x28aa83(0xa8),'cJauy':_0x28aa83(0x9a),'HCtNE':function(_0x2b2b52,_0x504e88){return _0x2b2b52(_0x504e88);},'oLLlS':_0x28aa83(0x99)};let _0x20bb6f=null,_0x2a210d={};const _0x21f041=_0x3b317d[_0x28aa83(0xb4)](_0xa91d39=>_0xa91d39===_0x28aa83(0x85));if(!helper[_0x28aa83(0xc1)](_0x1ccba9[_0x28aa83(0xce)])&&fs['existsSync'](path[_0x28aa83(0xb2)](process[_0x28aa83(0xb1)](),_0x1ccba9[_0x28aa83(0xce)])))_0x20bb6f=path[_0x28aa83(0xb2)](process[_0x28aa83(0xb1)](),_0x1ccba9['config']),_0x3b317d[_0x28aa83(0x89)](_0x21f041,0x2);else{if(fs['existsSync'](path[_0x28aa83(0xb2)](process[_0x28aa83(0xb1)](),_0xc1bc13[_0x28aa83(0x88)])))_0x20bb6f=path[_0x28aa83(0xb2)](process[_0x28aa83(0xb1)](),_0xc1bc13[_0x28aa83(0x88)]);else fs[_0x28aa83(0x9b)](path[_0x28aa83(0xb2)](process[_0x28aa83(0xb1)](),_0xc1bc13['cJauy']))&&(_0x20bb6f=path['join'](process[_0x28aa83(0xb1)](),_0xc1bc13['cJauy']));}return _0x20bb6f?(logger[_0x28aa83(0xcb)](_0x28aa83(0xbe)+_0x20bb6f),_0x2a210d=_0xc1bc13[_0x28aa83(0xb5)](require,_0x20bb6f)):logger[_0x28aa83(0xcb)](_0xc1bc13[_0x28aa83(0x9f)]),_0x2a210d;},removeExistingEnvs=_0x24debf=>{const _0x4661cc=a38_0x47b0b0,_0x2c7bb5={};_0x2c7bb5[_0x4661cc(0xaf)]=function(_0x12150f,_0x489dc6){return _0x12150f>_0x489dc6;},_0x2c7bb5[_0x4661cc(0xb3)]=function(_0x541989,_0x4efeaa){return _0x541989>_0x4efeaa;};const _0xd129a7=_0x2c7bb5;let _0x117e81=_0x24debf[_0x4661cc(0xb4)](_0x2d7895=>_0x2d7895===_0x4661cc(0x8e));_0xd129a7[_0x4661cc(0xaf)](_0x117e81,-0x1)&&_0x24debf[_0x4661cc(0x89)](_0x117e81,0x2),_0x117e81=_0x24debf[_0x4661cc(0xb4)](_0x4645e3=>_0x4645e3==='-e'),_0xd129a7[_0x4661cc(0xb3)](_0x117e81,-0x1)&&_0x24debf[_0x4661cc(0x89)](_0x117e81,0x2);};function run(_0x3b802,_0x24e26b,_0x34a721){const _0x5f379d=a38_0x47b0b0,_0x1430f1={'ChXjl':_0x5f379d(0x87),'jmNOS':function(_0x4af2ff,_0x43624b){return _0x4af2ff+_0x43624b;},'LPLuX':_0x5f379d(0xa2),'IgRoI':function(_0x18a4ec,_0xc68b87,_0x46df4f){return _0x18a4ec(_0xc68b87,_0x46df4f);},'IIyhc':_0x5f379d(0xab),'iPZJK':_0x5f379d(0xbc),'RXWdZ':function(_0x5a94d5,_0x49ced0){return _0x5a94d5===_0x49ced0;},'smomO':_0x5f379d(0xaa),'ZVICr':function(_0x36005b,_0x540dee){return _0x36005b(_0x540dee);},'hzyGQ':function(_0x38cf77,_0x3d0eab,_0x21776d,_0x361b92){return _0x38cf77(_0x3d0eab,_0x21776d,_0x361b92);},'SNwaA':_0x5f379d(0xc7),'dQxSl':_0x5f379d(0x85),'RgOHK':'--env','UFIPj':_0x5f379d(0xbd),'lPRow':_0x5f379d(0x95)};if(!_0x34a721['config'])return;const _0x594c87=_0x1430f1[_0x5f379d(0xba)](getUserNightwatchConfigs,_0x3b802,_0x24e26b),_0x205802={};_0x205802['start_process']=![];const _0x37b7e3={};_0x37b7e3['host']=_0x1430f1['IIyhc'],_0x37b7e3[_0x5f379d(0x8a)]=0x1bb;const _0xd3cd8f={};_0xd3cd8f[_0x5f379d(0x8c)]=_0x205802,_0xd3cd8f[_0x5f379d(0xa5)]=_0x37b7e3;const _0x235f4a=_0xd3cd8f;logger[_0x5f379d(0xcb)](_0x1430f1[_0x5f379d(0xca)]);const _0x47bda8={..._0x594c87},_0x2bb355=_0x47bda8,_0x2dd3c6=helper['useW3C'](_0x34a721['config']),_0xfd99b6=[];_0x34a721[_0x5f379d(0xce)][_0x5f379d(0xb9)][_0x5f379d(0xc3)]((_0x12ad43,_0x353909)=>{const _0xe9c936=_0x5f379d;_0x2dd3c6?_0xfd99b6[_0xe9c936(0xa4)](helper[_0xe9c936(0xae)](_0x34a721[_0xe9c936(0xce)],_0x1430f1[_0xe9c936(0xa0)],_0x353909)):_0xfd99b6[_0xe9c936(0xa4)](helper['modifyBrowserStackCaps'](_0x34a721[_0xe9c936(0xce)],_0x1430f1[_0xe9c936(0xa0)],_0x353909));});const _0x30ef3e={},_0x2c3cce=[];_0x3b802[_0x5f379d(0x91)]=_0x3b802[_0x5f379d(0x91)]||_0x3b802['e'];const _0xd98a59=_0x3b802['env']?_0x3b802[_0x5f379d(0x91)][_0x5f379d(0xcd)]()[_0x5f379d(0x90)](',')[_0x5f379d(0xc5)](_0x24be8f=>_0x24be8f[_0x5f379d(0xcd)]())[_0x5f379d(0xc0)](_0x44974a=>_0x44974a!==''):[''];_0x1430f1[_0x5f379d(0xa1)](_0xd98a59[_0x5f379d(0x9e)],0x0)&&_0xd98a59[_0x5f379d(0xa4)]('');_0xd98a59['forEach'](_0x21b869=>{const _0x488ce4=_0x5f379d;_0xfd99b6[_0x488ce4(0xc3)](_0x4c5a08=>{const _0x7d718e=_0x488ce4;let _0x22c496=_0x1430f1[_0x7d718e(0xa6)](helper[_0x7d718e(0x9d)](_0x4c5a08,'_'),'_'+Date['now']());_0x21b869&&(_0x22c496+='_'+_0x21b869);if(_0x21b869&&(!_0x594c87[_0x1430f1[_0x7d718e(0x8b)]]||!_0x594c87[_0x1430f1[_0x7d718e(0x8b)]][_0x21b869]))return;const _0x1379a6={..._0x235f4a};_0x1379a6[_0x7d718e(0x8d)]=_0x4c5a08;const _0x28801d=_0x1379a6;_0x30ef3e[_0x22c496]=_0x21b869?helper['mergeDeep'](_0x594c87[_0x1430f1['LPLuX']][_0x21b869],_0x28801d):_0x28801d,_0x2c3cce[_0x7d718e(0xa4)](_0x22c496);});});!_0x2bb355[_0x5f379d(0xa2)]&&(_0x2bb355[_0x5f379d(0xa2)]={});_0x2bb355[_0x5f379d(0xa2)]={..._0x2bb355[_0x5f379d(0xa2)],..._0x30ef3e};const _0x3c7b03=path[_0x5f379d(0xb2)](__dirname,_0x1430f1[_0x5f379d(0xc8)]);fs['writeFileSync'](_0x3c7b03,JSON['stringify'](_0x2bb355)),_0x1430f1[_0x5f379d(0x98)](removeExistingEnvs,_0x24e26b);const _0x511156=_0x1430f1[_0x5f379d(0xac)](spawn,/^win/[_0x5f379d(0x9c)](process[_0x5f379d(0xb7)])?_0x1430f1[_0x5f379d(0x86)]:_0x1430f1[_0x5f379d(0xa0)],[_0x1430f1['dQxSl'],_0x3c7b03,..._0x24e26b[_0x5f379d(0xcc)](0x1),_0x1430f1[_0x5f379d(0x92)],_0x2c3cce[_0x5f379d(0xb2)](',')],{'stdio':_0x1430f1[_0x5f379d(0xb0)]});_0x511156['on'](_0x1430f1[_0x5f379d(0xb6)],async _0x17ac01=>{const _0x3d3dff=_0x5f379d;logger[_0x3d3dff(0xa9)](_0x3d3dff(0x97)+_0x17ac01),logger[_0x3d3dff(0xcb)]('Deleting\x20'+_0x3c7b03),fs[_0x3d3dff(0xb8)](_0x3c7b03);});}function a38_0x4423(_0x101c2b,_0x542049){const _0x37b083=a38_0x37b0();return a38_0x4423=function(_0x4423c2,_0x5c8488){_0x4423c2=_0x4423c2-0x84;let _0xad375a=_0x37b083[_0x4423c2];return _0xad375a;},a38_0x4423(_0x101c2b,_0x542049);}module[a38_0x47b0b0(0xc2)]=run;function a38_0x37b0(){const _0x506c70=['RXWdZ','test_settings','../../helpers/logger','push','selenium','jmNOS','774027XqqHaS','nightwatch.conf.js','debug','nightwatch-browserstack.json','hub.browserstack.com','hzyGQ','125678icquXs','modifyBrowserStackW3CCaps','NamGN','UFIPj','cwd','join','cBgzK','findIndex','HCtNE','lPRow','platform','unlinkSync','platforms','IgRoI','446572sCVWaB','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','inherit','Getting\x20your\x20nightwatch\x20configs\x20from\x20','503346TdLOWh','filter','isUndefined','exports','forEach','207135ubDjCO','map','98IDNutx','nightwatch.cmd','smomO','411iDupwf','iPZJK','info','slice','trim','config','2780cqgwcK','--config','SNwaA','nightwatch','OUcgH','splice','port','LPLuX','webdriver','desiredCapabilities','--env','winstonLogger','split','env','RgOHK','child_process','../../helpers/BrowserStackSetup','close','60472xIhCUo','child\x20process\x20exited\x20with\x20code\x20','ZVICr','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','nightwatch.json','existsSync','test','getPlatformName','length','oLLlS','ChXjl'];a38_0x37b0=function(){return _0x506c70;};return a38_0x37b0();}