browserstack-node-sdk 1.34.11 → 1.34.12

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 (126) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +2 -2
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/globals.js +1 -1
  101. package/src/helpers/helper.js +1 -1
  102. package/src/helpers/logger.js +1 -1
  103. package/src/helpers/patchHelpers.js +1 -1
  104. package/src/helpers/percy/Percy.js +1 -1
  105. package/src/helpers/percy/PercyBinary.js +1 -1
  106. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  107. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  108. package/src/helpers/percy/PercySDK.js +1 -1
  109. package/src/helpers/percy/index.js +1 -1
  110. package/src/helpers/percy/utils.js +1 -1
  111. package/src/helpers/performance-tester.js +1 -1
  112. package/src/helpers/request-spy.js +1 -1
  113. package/src/helpers/setKeepAlive.js +1 -1
  114. package/src/helpers/test-observability/constants.js +1 -1
  115. package/src/helpers/test-observability/error-handler.js +1 -1
  116. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  117. package/src/helpers/test-observability/sessionHandler.js +1 -1
  118. package/src/helpers/test-observability/utils.js +1 -1
  119. package/src/helpers/testhub/constants.js +1 -1
  120. package/src/helpers/testhub/testhubHandler.js +1 -1
  121. package/src/helpers/testhub/utils.js +1 -1
  122. package/src/helpers/timeoutPromise.js +1 -1
  123. package/src/helpers/utilities.js +1 -1
  124. package/src/helpers/w3cMapping.js +1 -1
  125. package/src/hubAllocationMethods.js +1 -1
  126. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a23_0xe8fe80=a23_0x4832;(function(_0x1bbbd7,_0x341648){const _0x3a722c=a23_0x4832,_0x358405=_0x1bbbd7();while(!![]){try{const _0x29cffd=parseInt(_0x3a722c(0xe6))/0x1*(-parseInt(_0x3a722c(0xbd))/0x2)+parseInt(_0x3a722c(0xc3))/0x3*(-parseInt(_0x3a722c(0xb7))/0x4)+parseInt(_0x3a722c(0xc7))/0x5*(-parseInt(_0x3a722c(0xb5))/0x6)+parseInt(_0x3a722c(0xd0))/0x7+-parseInt(_0x3a722c(0xdb))/0x8*(parseInt(_0x3a722c(0xe0))/0x9)+parseInt(_0x3a722c(0xcf))/0xa*(-parseInt(_0x3a722c(0xd4))/0xb)+parseInt(_0x3a722c(0xc9))/0xc;if(_0x29cffd===_0x341648)break;else _0x358405['push'](_0x358405['shift']());}catch(_0x5b5292){_0x358405['push'](_0x358405['shift']());}}}(a23_0x1872,0x528ba));function a23_0x1872(){const _0x2adce7=['homedir','.browserstack','MgPmu','3253490zKEFaM','removeTestUUID','32330832DUsicq','tests','env','setup','jest-o11y-','parse','160jRinno','2082402CxMeDv','uuid','getTestData','hbJOt','426701taZJOY','dirPath','stringify','join','qQIpU','getFilePath','unlinkSync','56vyIeWW','_projectId','mkdirSync','bKVBr','XtbLP','402183DPnjTL','ENV_VAR','ASSCl','setTestData','existsSync','recursive','536754ABOdKz','../../../helpers/testhub/constants','6neDnRj','rmSync','11156ahrKCJ','_test','jreZA','KnXLD','shutdown','path','2HhEnaA','exports','DYnVN','BROWSERSTACK_TESTHUB_UUID','setTestUUID','toString','573yRVcrJ'];a23_0x1872=function(){return _0x2adce7;};return a23_0x1872();}const fs=require('fs'),path=require(a23_0xe8fe80(0xbc)),{v4:uuidv4}=require(a23_0xe8fe80(0xd1)),helper=require('../../../helpers/helper'),testHubConstants=require(a23_0xe8fe80(0xe7));class TestDetails{static [a23_0xe8fe80(0xca)]={};static [a23_0xe8fe80(0xd5)]=path['join'](helper[a23_0xe8fe80(0xc4)](),a23_0xe8fe80(0xc5),a23_0xe8fe80(0xcd)+process[a23_0xe8fe80(0xcb)][testHubConstants[a23_0xe8fe80(0xe1)]['BROWSERSTACK_TESTHUB_UUID']]);static[a23_0xe8fe80(0xcc)](){const _0x1bfb33=a23_0xe8fe80,_0x360d26={};_0x360d26[_0x1bfb33(0xbf)]=_0x1bfb33(0xc5);const _0x34c11a=_0x360d26;this[_0x1bfb33(0xd5)]=path[_0x1bfb33(0xd7)](helper[_0x1bfb33(0xc4)](),_0x34c11a['DYnVN'],'jest-o11y-'+process[_0x1bfb33(0xcb)][testHubConstants['ENV_VAR'][_0x1bfb33(0xc0)]]),this[_0x1bfb33(0xbb)]();const _0x219140={};_0x219140[_0x1bfb33(0xe5)]=!![],fs[_0x1bfb33(0xdd)](this[_0x1bfb33(0xd5)],_0x219140);}static[a23_0xe8fe80(0xd9)](_0x208720){const _0x3def62=a23_0xe8fe80,_0x10d0e6={};_0x10d0e6['ASSCl']=function(_0x7beb71,_0x33655f){return _0x7beb71+_0x33655f;},_0x10d0e6[_0x3def62(0xde)]='.json';const _0x488b27=_0x10d0e6;return path[_0x3def62(0xd7)](this[_0x3def62(0xd5)],_0x488b27[_0x3def62(0xe2)](_0x208720,_0x488b27[_0x3def62(0xde)]));}static['getTestRunIdFromTestInfo'](_0x2e41e1){const _0x5a6fc1=a23_0xe8fe80,_0x136571={};_0x136571['hbJOt']=function(_0x2b2b90,_0x5dd347){return _0x2b2b90+_0x5dd347;},_0x136571[_0x5a6fc1(0xc6)]=function(_0x2a3b64,_0x243c24){return _0x2a3b64+_0x243c24;},_0x136571[_0x5a6fc1(0xdf)]=function(_0x55bee3,_0x25f31c){return _0x55bee3+_0x25f31c;},_0x136571[_0x5a6fc1(0xd8)]=function(_0x25d31f,_0x2c6554){return _0x25d31f+_0x2c6554;};const _0x15161b=_0x136571;return _0x15161b[_0x5a6fc1(0xd3)](_0x15161b['MgPmu'](_0x15161b[_0x5a6fc1(0xdf)](_0x15161b[_0x5a6fc1(0xd8)](_0x2e41e1[_0x5a6fc1(0xb8)][_0x5a6fc1(0xdc)],'-'),_0x2e41e1[_0x5a6fc1(0xb8)]['id']),'-'),_0x2e41e1['retry']);}static['getTestUUID'](_0x18dcb2){const _0xddef41=a23_0xe8fe80,_0xe94666=this[_0xddef41(0xd9)](_0x18dcb2);if(fs[_0xddef41(0xe4)](_0xe94666)){const _0x314ac8=JSON[_0xddef41(0xce)](fs['readFileSync'](_0xe94666)[_0xddef41(0xc2)]());return this['tests'][_0x18dcb2]=_0x314ac8,this[_0xddef41(0xca)][_0x18dcb2]['uuid'];}}static[a23_0xe8fe80(0xe3)](_0x29e5a6){const _0x1febbe=a23_0xe8fe80,_0x2dd33c={};_0x2dd33c[_0x1febbe(0xba)]='testData.json';const _0x8babd1=_0x2dd33c,_0x4aa4b6=path['join'](this['dirPath'],_0x8babd1['KnXLD']);fs['writeFileSync'](_0x4aa4b6,JSON[_0x1febbe(0xd6)](_0x29e5a6));}static[a23_0xe8fe80(0xd2)](){const _0x36c8f5=a23_0xe8fe80,_0x297870={};_0x297870[_0x36c8f5(0xb9)]='testData.json';const _0x34a0d2=_0x297870,_0x4f1252=path[_0x36c8f5(0xd7)](this['dirPath'],_0x34a0d2[_0x36c8f5(0xb9)]);let _0x5f5587={};try{return fs[_0x36c8f5(0xe4)](_0x4f1252)&&(_0x5f5587=JSON['parse'](fs['readFileSync'](_0x4f1252)[_0x36c8f5(0xc2)]())),_0x5f5587;}catch(_0x40306f){return _0x5f5587;}}static[a23_0xe8fe80(0xc1)](_0x57929f){const _0x26eebe=a23_0xe8fe80,_0x13810a={'YlJrV':function(_0x1da8e5){return _0x1da8e5();}},_0x4c1ebd=this[_0x26eebe(0xd9)](_0x57929f);return this['tests'][_0x57929f]={'uuid':_0x13810a['YlJrV'](uuidv4)},fs['writeFileSync'](_0x4c1ebd,JSON['stringify'](this[_0x26eebe(0xca)][_0x57929f])),this['tests'][_0x57929f]['uuid'];}static[a23_0xe8fe80(0xc8)](_0x234e42){const _0x25fb56=a23_0xe8fe80,_0x4aa30d=this[_0x25fb56(0xd9)](_0x234e42);fs[_0x25fb56(0xe4)](_0x4aa30d)&&fs[_0x25fb56(0xda)](_0x4aa30d);}static[a23_0xe8fe80(0xbb)](){const _0x1015aa=a23_0xe8fe80,_0x2f0843={};_0x2f0843[_0x1015aa(0xe5)]=!![],_0x2f0843['force']=!![],fs[_0x1015aa(0xb6)](this[_0x1015aa(0xd5)],_0x2f0843);}}function a23_0x4832(_0x4fcb8d,_0x25392d){const _0x18729c=a23_0x1872();return a23_0x4832=function(_0x48324b,_0x39cc41){_0x48324b=_0x48324b-0xb5;let _0x289327=_0x18729c[_0x48324b];return _0x289327;},a23_0x4832(_0x4fcb8d,_0x25392d);}module[a23_0xe8fe80(0xbe)]=TestDetails;
1
+ const a23_0x647782=a23_0x1679;(function(_0x59160d,_0xc8f7cd){const _0xd418e8=a23_0x1679,_0x44e67b=_0x59160d();while(!![]){try{const _0x145525=parseInt(_0xd418e8(0x89))/0x1*(-parseInt(_0xd418e8(0x82))/0x2)+parseInt(_0xd418e8(0x92))/0x3*(-parseInt(_0xd418e8(0x98))/0x4)+parseInt(_0xd418e8(0x96))/0x5*(parseInt(_0xd418e8(0x8f))/0x6)+parseInt(_0xd418e8(0x7c))/0x7*(-parseInt(_0xd418e8(0xab))/0x8)+-parseInt(_0xd418e8(0x9e))/0x9+parseInt(_0xd418e8(0x93))/0xa+parseInt(_0xd418e8(0x9b))/0xb;if(_0x145525===_0xc8f7cd)break;else _0x44e67b['push'](_0x44e67b['shift']());}catch(_0x3d96e3){_0x44e67b['push'](_0x44e67b['shift']());}}}(a23_0x2642,0x69bfb));function a23_0x2642(){const _0x3549a9=['parse','existsSync','env','homedir','_projectId','getTestUUID','shutdown','tests','8FYLhfE','5266583mxOiIj','readFileSync','uVSuI','../../../helpers/helper','join','ENV_VAR','14HWBdLo','testData.json','BDqAO','setTestData','exports','hDEcr','getFilePath','52038dxYbwd','retry','../../../helpers/testhub/constants','dirPath','pOdMo','unlinkSync','31344GLmGZF','vSKvU','GaSaX','687HUolep','8359660bkxzSF','efSMI','recursive','810WkgFWl','uuid','11544wiADqU','writeFileSync','_test','11520564nQGzpo','setup','setTestUUID','4670118BmAWph','.browserstack','jest-o11y-','BROWSERSTACK_TESTHUB_UUID','path'];a23_0x2642=function(){return _0x3549a9;};return a23_0x2642();}const fs=require('fs'),path=require(a23_0x647782(0xa2)),{v4:uuidv4}=require(a23_0x647782(0x97)),helper=require(a23_0x647782(0x7f)),testHubConstants=require(a23_0x647782(0x8b));class TestDetails{static [a23_0x647782(0xaa)]={};static [a23_0x647782(0x8c)]=path[a23_0x647782(0x80)](helper[a23_0x647782(0xa6)](),a23_0x647782(0x9f),a23_0x647782(0xa0)+process[a23_0x647782(0xa5)][testHubConstants[a23_0x647782(0x81)][a23_0x647782(0xa1)]]);static[a23_0x647782(0x9c)](){const _0xfc065d=a23_0x647782,_0x3554fc={};_0x3554fc[_0xfc065d(0x87)]=_0xfc065d(0x9f);const _0xbc1363=_0x3554fc;this[_0xfc065d(0x8c)]=path[_0xfc065d(0x80)](helper[_0xfc065d(0xa6)](),_0xbc1363['hDEcr'],'jest-o11y-'+process[_0xfc065d(0xa5)][testHubConstants[_0xfc065d(0x81)][_0xfc065d(0xa1)]]),this[_0xfc065d(0xa9)]();const _0x3e47e6={};_0x3e47e6[_0xfc065d(0x95)]=!![],fs['mkdirSync'](this['dirPath'],_0x3e47e6);}static['getFilePath'](_0x3d7dfb){const _0x2e29d7=a23_0x647782,_0x3f40e0={};_0x3f40e0[_0x2e29d7(0x8d)]=function(_0x34184e,_0x357334){return _0x34184e+_0x357334;},_0x3f40e0[_0x2e29d7(0x91)]='.json';const _0x54a065=_0x3f40e0;return path['join'](this[_0x2e29d7(0x8c)],_0x54a065[_0x2e29d7(0x8d)](_0x3d7dfb,_0x54a065[_0x2e29d7(0x91)]));}static['getTestRunIdFromTestInfo'](_0x57aa43){const _0x401bd2=a23_0x647782,_0x4fc0af={};_0x4fc0af[_0x401bd2(0x90)]=function(_0x3084bd,_0x582093){return _0x3084bd+_0x582093;};const _0x2a1d5c=_0x4fc0af;return _0x2a1d5c[_0x401bd2(0x90)](_0x2a1d5c[_0x401bd2(0x90)](_0x2a1d5c[_0x401bd2(0x90)](_0x2a1d5c['vSKvU'](_0x57aa43['_test'][_0x401bd2(0xa7)],'-'),_0x57aa43[_0x401bd2(0x9a)]['id']),'-'),_0x57aa43[_0x401bd2(0x8a)]);}static[a23_0x647782(0xa8)](_0x53a0ba){const _0x47dc95=a23_0x647782,_0x1a895b=this[_0x47dc95(0x88)](_0x53a0ba);if(fs[_0x47dc95(0xa4)](_0x1a895b)){const _0x242dd6=JSON[_0x47dc95(0xa3)](fs['readFileSync'](_0x1a895b)['toString']());return this[_0x47dc95(0xaa)][_0x53a0ba]=_0x242dd6,this['tests'][_0x53a0ba][_0x47dc95(0x97)];}}static[a23_0x647782(0x85)](_0x22203d){const _0x50827a=a23_0x647782,_0x5dd638={};_0x5dd638[_0x50827a(0x94)]=_0x50827a(0x83);const _0x51bf72=_0x5dd638,_0x59eacd=path[_0x50827a(0x80)](this['dirPath'],_0x51bf72[_0x50827a(0x94)]);fs[_0x50827a(0x99)](_0x59eacd,JSON['stringify'](_0x22203d));}static['getTestData'](){const _0x4bb4eb=a23_0x647782,_0x40ffd3={};_0x40ffd3[_0x4bb4eb(0x84)]=_0x4bb4eb(0x83);const _0x35c270=_0x40ffd3,_0x4db734=path[_0x4bb4eb(0x80)](this[_0x4bb4eb(0x8c)],_0x35c270['BDqAO']);let _0x26e0ee={};try{return fs['existsSync'](_0x4db734)&&(_0x26e0ee=JSON[_0x4bb4eb(0xa3)](fs[_0x4bb4eb(0x7d)](_0x4db734)['toString']())),_0x26e0ee;}catch(_0x246375){return _0x26e0ee;}}static[a23_0x647782(0x9d)](_0x341a89){const _0x5bf36f=a23_0x647782,_0x225cce={'uVSuI':function(_0x2c1a91){return _0x2c1a91();}},_0x4f46fc=this[_0x5bf36f(0x88)](_0x341a89);return this[_0x5bf36f(0xaa)][_0x341a89]={'uuid':_0x225cce[_0x5bf36f(0x7e)](uuidv4)},fs[_0x5bf36f(0x99)](_0x4f46fc,JSON['stringify'](this[_0x5bf36f(0xaa)][_0x341a89])),this[_0x5bf36f(0xaa)][_0x341a89][_0x5bf36f(0x97)];}static['removeTestUUID'](_0x1c94bc){const _0x415a4d=a23_0x647782,_0x1061f2=this['getFilePath'](_0x1c94bc);fs[_0x415a4d(0xa4)](_0x1061f2)&&fs[_0x415a4d(0x8e)](_0x1061f2);}static['shutdown'](){const _0x1925cb=a23_0x647782,_0x3f282f={};_0x3f282f[_0x1925cb(0x95)]=!![],_0x3f282f['force']=!![],fs['rmSync'](this[_0x1925cb(0x8c)],_0x3f282f);}}function a23_0x1679(_0x38c461,_0x18cb3f){const _0x26427d=a23_0x2642();return a23_0x1679=function(_0x16796e,_0x5b7376){_0x16796e=_0x16796e-0x7c;let _0x47360e=_0x26427d[_0x16796e];return _0x47360e;},a23_0x1679(_0x38c461,_0x18cb3f);}module[a23_0x647782(0x86)]=TestDetails;
@@ -1 +1 @@
1
- function a24_0x58a8(_0x2e8270,_0x515063){const _0x459ec3=a24_0x459e();return a24_0x58a8=function(_0x58a837,_0x5819b9){_0x58a837=_0x58a837-0x1ea;let _0x397a59=_0x459ec3[_0x58a837];return _0x397a59;},a24_0x58a8(_0x2e8270,_0x515063);}const a24_0x4e6850=a24_0x58a8;(function(_0x4263dc,_0x1a9fbf){const _0x306278=a24_0x58a8,_0x2bfc97=_0x4263dc();while(!![]){try{const _0x518a94=parseInt(_0x306278(0x1f4))/0x1*(-parseInt(_0x306278(0x1f2))/0x2)+parseInt(_0x306278(0x1f1))/0x3+-parseInt(_0x306278(0x1ef))/0x4+parseInt(_0x306278(0x1ed))/0x5+parseInt(_0x306278(0x1f7))/0x6+-parseInt(_0x306278(0x1ee))/0x7*(parseInt(_0x306278(0x1f6))/0x8)+parseInt(_0x306278(0x1eb))/0x9*(-parseInt(_0x306278(0x1ec))/0xa);if(_0x518a94===_0x1a9fbf)break;else _0x2bfc97['push'](_0x2bfc97['shift']());}catch(_0x2315b9){_0x2bfc97['push'](_0x2bfc97['shift']());}}}(a24_0x459e,0xdb53b));const {requireModule}=require(a24_0x4e6850(0x1f0));require(a24_0x4e6850(0x1f5))();function a24_0x459e(){const _0x3024a3=['10272360PIhZor','keys','9BzSglP','1640500WXdhcr','3479495qieZQn','1555491rfLJeL','2181500YfeAPB','../../helpers/helper','3601332bDlhoZ','2cEvCTm','__webdriver','667337icGJMO','../../helpers/setKeepAlive','48NSZeud'];a24_0x459e=function(){return _0x3024a3;};return a24_0x459e();}const __wd__=requireModule('selenium-webdriver');for(const key of Object[a24_0x4e6850(0x1ea)](global[a24_0x4e6850(0x1f3)])){__wd__[key]=global[a24_0x4e6850(0x1f3)][key];}
1
+ const a24_0x237fed=a24_0x5c76;function a24_0x5c76(_0xe960e,_0x3460cf){const _0x2413d4=a24_0x2413();return a24_0x5c76=function(_0x5c76cc,_0x5e99e5){_0x5c76cc=_0x5c76cc-0x175;let _0x241e11=_0x2413d4[_0x5c76cc];return _0x241e11;},a24_0x5c76(_0xe960e,_0x3460cf);}(function(_0x4eb15f,_0x16adc0){const _0x2b49ff=a24_0x5c76,_0x138ade=_0x4eb15f();while(!![]){try{const _0xa0c858=parseInt(_0x2b49ff(0x183))/0x1*(-parseInt(_0x2b49ff(0x176))/0x2)+parseInt(_0x2b49ff(0x184))/0x3+parseInt(_0x2b49ff(0x17d))/0x4+-parseInt(_0x2b49ff(0x17c))/0x5*(parseInt(_0x2b49ff(0x179))/0x6)+parseInt(_0x2b49ff(0x175))/0x7+parseInt(_0x2b49ff(0x17b))/0x8*(parseInt(_0x2b49ff(0x17e))/0x9)+-parseInt(_0x2b49ff(0x181))/0xa*(parseInt(_0x2b49ff(0x177))/0xb);if(_0xa0c858===_0x16adc0)break;else _0x138ade['push'](_0x138ade['shift']());}catch(_0x224969){_0x138ade['push'](_0x138ade['shift']());}}}(a24_0x2413,0x4c9bf));function a24_0x2413(){const _0x41e824=['2322HTRFFD','../../helpers/helper','keys','170eppvZi','../../helpers/setKeepAlive','353uAZMHm','52731sGSisE','3284869mwtnEo','2032avjevO','198176zCiqWU','__webdriver','16626YadSlP','selenium-webdriver','13480ydAbDC','720viWsFh','1824644PpCtKC'];a24_0x2413=function(){return _0x41e824;};return a24_0x2413();}const {requireModule}=require(a24_0x237fed(0x17f));require(a24_0x237fed(0x182))();const __wd__=requireModule(a24_0x237fed(0x17a));for(const key of Object[a24_0x237fed(0x180)](global[a24_0x237fed(0x178)])){__wd__[key]=global[a24_0x237fed(0x178)][key];}
@@ -1 +1 @@
1
- const a25_0x44bb39=a25_0x35e0;function a25_0x35e0(_0x2231bc,_0x59af3c){const _0xdc8825=a25_0xdc88();return a25_0x35e0=function(_0x35e0b3,_0x47680e){_0x35e0b3=_0x35e0b3-0x1b5;let _0x4be95b=_0xdc8825[_0x35e0b3];return _0x4be95b;},a25_0x35e0(_0x2231bc,_0x59af3c);}function a25_0xdc88(){const _0x5f1922=['testSuitesFailed','473CXJHeW','40JSuCah','capability','_capability','91ryVsCH','setConfig','testsUnknown','includes','721488bCaFQL','1605558xNKFyw','configuration','_bsConfig','38802WNDZka','setFramework','AI_ENABLED_FRAMEWORK','testsUndefined','_testObservability','10fUWoMX','16|12|19|11|17|5|22|6|18|0|4|14|10|23|8|9|20|2|15|21|1|13|7|3','368274KjDtwG','resolvePaths','framework','_configuration','testsFailed','__platformCaps','RPcAJ','8136297ftaRaE','grdkp','_framework','8QeGLRW','testsPending','_argv','_formatter','../utils/constants','401014qOgPNY','248616YBwpEb','../../helpers/test-observability/requestQueueHandler','_mochaOpts','testsErrorMessage','_accessibilityAutomation','testsAmbiguous','path','../../helpers/test-observability/utils','platformCaps','setupCucumber','testsPassed','testsSkipped','../../helpers/helper'];a25_0xdc88=function(){return _0x5f1922;};return a25_0xdc88();}(function(_0x1e180b,_0x45a234){const _0x12b0cc=a25_0x35e0,_0x4043c5=_0x1e180b();while(!![]){try{const _0xa92a68=-parseInt(_0x12b0cc(0x1d2))/0x1+-parseInt(_0x12b0cc(0x1b9))/0x2+parseInt(_0x12b0cc(0x1c3))/0x3*(-parseInt(_0x12b0cc(0x1cd))/0x4)+-parseInt(_0x12b0cc(0x1e2))/0x5*(parseInt(_0x12b0cc(0x1bc))/0x6)+parseInt(_0x12b0cc(0x1e5))/0x7*(parseInt(_0x12b0cc(0x1d3))/0x8)+parseInt(_0x12b0cc(0x1ca))/0x9*(-parseInt(_0x12b0cc(0x1c1))/0xa)+-parseInt(_0x12b0cc(0x1e1))/0xb*(-parseInt(_0x12b0cc(0x1b8))/0xc);if(_0xa92a68===_0x45a234)break;else _0x4043c5['push'](_0x4043c5['shift']());}catch(_0x4e1a00){_0x4043c5['push'](_0x4043c5['shift']());}}}(a25_0xdc88,0x8ea3f));const path=require(a25_0x44bb39(0x1d9)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x44bb39(0x1df)),constants=require(a25_0x44bb39(0x1d1)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),RequestQueueHandler=require(a25_0x44bb39(0x1d4)),{isTestObservabilitySession}=require(a25_0x44bb39(0x1da)),helper=require(a25_0x44bb39(0x1df)),{commandRepository}=require('../../helpers/ai-sdk/autoHealHelper');class Launcher{constructor(_0x80603b,_0x3c9f4a,_0x154c28,_0x58f152=[]){const _0x3b225f=a25_0x44bb39,_0x3badab={'RPcAJ':_0x3b225f(0x1c2),'grdkp':function(_0x5cbb63){return _0x5cbb63();}},_0x5da1b8=_0x3badab[_0x3b225f(0x1c9)]['split']('|');let _0x6450b=0x0;while(!![]){switch(_0x5da1b8[_0x6450b++]){case'0':this[_0x3b225f(0x1c0)]=_0x3badab[_0x3b225f(0x1cb)](isTestObservabilitySession);continue;case'1':global[_0x3b225f(0x1b6)]=0x0;continue;case'2':global[_0x3b225f(0x1de)]=0x0;continue;case'3':!constants[_0x3b225f(0x1be)][_0x3b225f(0x1b7)](_0x80603b)&&(commandRepository[_0x3b225f(0x1b5)](_0x154c28),commandRepository[_0x3b225f(0x1bd)](_0x80603b));continue;case'4':this[_0x3b225f(0x1d7)]=_0x3badab[_0x3b225f(0x1cb)](isAccessibilityAutomationSession);continue;case'5':this[_0x3b225f(0x1e4)]=this['_configuration'][_0x3b225f(0x1e3)];continue;case'6':this[_0x3b225f(0x1cf)]=_0x58f152;continue;case'7':global[_0x3b225f(0x1d6)]={};continue;case'8':global[_0x3b225f(0x1dd)]=0x0;continue;case'9':global[_0x3b225f(0x1c7)]=0x0;continue;case'10':global['testSuites']=0x0;continue;case'11':this[_0x3b225f(0x1d5)]=_0x3c9f4a['mochaOpts'];continue;case'12':this['_configuration']=_0x3c9f4a[_0x3b225f(0x1ba)]||{};continue;case'13':global[_0x3b225f(0x1d8)]=0x0;continue;case'14':global[_0x3b225f(0x1c8)]=this[_0x3b225f(0x1c6)][_0x3b225f(0x1db)]||{};continue;case'15':global[_0x3b225f(0x1e0)]=0x0;continue;case'16':this[_0x3b225f(0x1cc)]=_0x80603b;continue;case'17':this[_0x3b225f(0x1d0)]=_0x3c9f4a['formatter'];continue;case'18':this[_0x3b225f(0x1bb)]=_0x154c28;continue;case'19':this[_0x3b225f(0x1c6)][_0x3b225f(0x1c5)]=_0x80603b;continue;case'20':global[_0x3b225f(0x1ce)]=0x0;continue;case'21':global[_0x3b225f(0x1bf)]=0x0;continue;case'22':global['__platform__']=this[_0x3b225f(0x1c6)]['platform'];continue;case'23':global['totalTests']=0x0;continue;}break;}}[a25_0x44bb39(0x1dc)](_0x38423e,_0x3fd09e,_0x6b6562){const _0x435047=a25_0x44bb39,_0x47eabb=_0x38423e[_0x435047(0x1c4)];_0x38423e.resolvePaths=async function(){const pathResults=await _0x47eabb.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x6b6562));return pathResults;},_0x3fd09e.push('--format'),_0x3fd09e.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}const plugins=await mochaRunHelper.handleRequires(this._mochaOpts.require);Object.assign(this._mochaOpts,plugins);if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={...this._mochaOpts,reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),reporterOption:{...this._mochaOpts.reporterOptions,type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig},parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout};global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);process.env.BSTACK_CONFIG=JSON.stringify(this._bsConfig);cucumber.run().then(async output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};await RequestQueueHandler.getInstance().shutdown();resolve(_results);}).catch(async er=>{await RequestQueueHandler.getInstance().shutdown();reject(er);});}else if(this._framework==='vanilla'){process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}module.exports=Launcher;
1
+ const a25_0x29b2da=a25_0x40e1;(function(_0x4da831,_0x24a3a1){const _0xed29=a25_0x40e1,_0x1e33cf=_0x4da831();while(!![]){try{const _0x569a05=parseInt(_0xed29(0x1ce))/0x1+-parseInt(_0xed29(0x1f2))/0x2*(-parseInt(_0xed29(0x1f0))/0x3)+-parseInt(_0xed29(0x1ee))/0x4+-parseInt(_0xed29(0x1dd))/0x5*(-parseInt(_0xed29(0x1d6))/0x6)+parseInt(_0xed29(0x1f6))/0x7+-parseInt(_0xed29(0x1e1))/0x8+parseInt(_0xed29(0x1e3))/0x9*(-parseInt(_0xed29(0x1d9))/0xa);if(_0x569a05===_0x24a3a1)break;else _0x1e33cf['push'](_0x1e33cf['shift']());}catch(_0x2554a6){_0x1e33cf['push'](_0x1e33cf['shift']());}}}(a25_0x454b,0xc759d));const path=require(a25_0x29b2da(0x1e0)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x29b2da(0x1df)),constants=require(a25_0x29b2da(0x1db)),{isAccessibilityAutomationSession}=require(a25_0x29b2da(0x1f9)),RequestQueueHandler=require(a25_0x29b2da(0x1de)),{isTestObservabilitySession}=require('../../helpers/test-observability/utils'),helper=require(a25_0x29b2da(0x1df)),{commandRepository}=require(a25_0x29b2da(0x1d3));function a25_0x40e1(_0x2bab52,_0xb5c87c){const _0x454b59=a25_0x454b();return a25_0x40e1=function(_0x40e165,_0x8491be){_0x40e165=_0x40e165-0x1cc;let _0x47ccec=_0x454b59[_0x40e165];return _0x47ccec;},a25_0x40e1(_0x2bab52,_0xb5c87c);}function a25_0x454b(){const _0x3de5be=['12lPKotp','testsPassed','includes','2750mDWAjh','_capability','../utils/constants','platformCaps','3644165ehfspz','../../helpers/test-observability/requestQueueHandler','../../helpers/helper','path','6650400BUXJqE','testsSkipped','64710vwkiUQ','__platformCaps','_framework','formatter','testsAmbiguous','_accessibilityAutomation','mlwdX','_formatter','testSuitesFailed','testsUnknown','setFramework','3940360mXQyLZ','testsFailed','3995853mfoKnJ','AUzIt','2sTNwOi','testsUndefined','_testObservability','_bsConfig','8715973UaJAnz','setConfig','resolvePaths','../../helpers/accessibility-automation/helper','mochaOpts','framework','575425RqHtMK','platform','testsPending','_configuration','testsErrorMessage','../../helpers/ai-sdk/autoHealHelper','setupCucumber','AI_ENABLED_FRAMEWORK'];a25_0x454b=function(){return _0x3de5be;};return a25_0x454b();}class Launcher{constructor(_0x2da300,_0x32fdf8,_0x2ab39c,_0x2144ed=[]){const _0x154801=a25_0x29b2da,_0x499934={'mlwdX':'16|14|6|22|18|23|10|8|7|0|19|4|2|17|3|20|5|1|12|13|15|11|21|9','AUzIt':function(_0x19d356){return _0x19d356();},'zycAj':function(_0x497670){return _0x497670();}},_0x2cf2f2=_0x499934[_0x154801(0x1e9)]['split']('|');let _0xc0d6d8=0x0;while(!![]){switch(_0x2cf2f2[_0xc0d6d8++]){case'0':this[_0x154801(0x1f4)]=_0x499934[_0x154801(0x1f1)](isTestObservabilitySession);continue;case'1':global[_0x154801(0x1e2)]=0x0;continue;case'2':global['testSuites']=0x0;continue;case'3':global[_0x154801(0x1d7)]=0x0;continue;case'4':global[_0x154801(0x1e4)]=this[_0x154801(0x1d1)][_0x154801(0x1dc)]||{};continue;case'5':global[_0x154801(0x1d0)]=0x0;continue;case'6':this[_0x154801(0x1d1)][_0x154801(0x1cd)]=_0x2da300;continue;case'7':this[_0x154801(0x1f5)]=_0x2ab39c;continue;case'8':this['_argv']=_0x2144ed;continue;case'9':!constants[_0x154801(0x1d5)][_0x154801(0x1d8)](_0x2da300)&&(commandRepository[_0x154801(0x1f7)](_0x2ab39c),commandRepository[_0x154801(0x1ed)](_0x2da300));continue;case'10':global['__platform__']=this[_0x154801(0x1d1)][_0x154801(0x1cf)];continue;case'11':global[_0x154801(0x1e7)]=0x0;continue;case'12':global[_0x154801(0x1eb)]=0x0;continue;case'13':global[_0x154801(0x1f3)]=0x0;continue;case'14':this[_0x154801(0x1d1)]=_0x32fdf8['configuration']||{};continue;case'15':global[_0x154801(0x1ec)]=0x0;continue;case'16':this[_0x154801(0x1e5)]=_0x2da300;continue;case'17':global['totalTests']=0x0;continue;case'18':this[_0x154801(0x1ea)]=_0x32fdf8[_0x154801(0x1e6)];continue;case'19':this[_0x154801(0x1e8)]=_0x499934['zycAj'](isAccessibilityAutomationSession);continue;case'20':global[_0x154801(0x1ef)]=0x0;continue;case'21':global[_0x154801(0x1d2)]={};continue;case'22':this['_mochaOpts']=_0x32fdf8[_0x154801(0x1cc)];continue;case'23':this[_0x154801(0x1da)]=this[_0x154801(0x1d1)]['capability'];continue;}break;}}[a25_0x29b2da(0x1d4)](_0x2f1556,_0x3cec70,_0x386e57){const _0x58a4e5=a25_0x29b2da,_0x3c27a0=_0x2f1556[_0x58a4e5(0x1f8)];_0x2f1556.resolvePaths=async function(){const pathResults=await _0x3c27a0.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x386e57));return pathResults;},_0x3cec70.push('--format'),_0x3cec70.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}const plugins=await mochaRunHelper.handleRequires(this._mochaOpts.require);Object.assign(this._mochaOpts,plugins);if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={...this._mochaOpts,reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),reporterOption:{...this._mochaOpts.reporterOptions,type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig},parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout};global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);process.env.BSTACK_CONFIG=JSON.stringify(this._bsConfig);cucumber.run().then(async output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};await RequestQueueHandler.getInstance().shutdown();resolve(_results);}).catch(async er=>{await RequestQueueHandler.getInstance().shutdown();reject(er);});}else if(this._framework==='vanilla'){process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}module.exports=Launcher;
@@ -1 +1 @@
1
- const a26_0xf82d68=a26_0x460b;(function(_0x260bda,_0x3d217f){const _0x1e49cb=a26_0x460b,_0x489b97=_0x260bda();while(!![]){try{const _0x1a49d4=-parseInt(_0x1e49cb(0x18a))/0x1+-parseInt(_0x1e49cb(0x16c))/0x2+parseInt(_0x1e49cb(0x187))/0x3*(-parseInt(_0x1e49cb(0x148))/0x4)+parseInt(_0x1e49cb(0x164))/0x5*(-parseInt(_0x1e49cb(0x158))/0x6)+-parseInt(_0x1e49cb(0x172))/0x7+-parseInt(_0x1e49cb(0x15b))/0x8+parseInt(_0x1e49cb(0x175))/0x9;if(_0x1a49d4===_0x3d217f)break;else _0x489b97['push'](_0x489b97['shift']());}catch(_0x30448a){_0x489b97['push'](_0x489b97['shift']());}}}(a26_0xa0e5,0xb7a51));function a26_0xa0e5(){const _0x17a486=['requireModule','bloCZ','accessibility','browserVersion','BS_A11Y_JWT','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','nestedKeyValue','chromeOptions','__cloud_provider___','scannerVersion','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','348fdjFYQ','parse','get','4259040xgSHkT','pKCjI','Options','getBrowserVersion','MpQxl','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','KPAtV','getPlatform','path','41460CjgtrM','zKzbx','gWwGv','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','../../../helpers/logger','QUrRD','capabilities_','setGlobal','793326kokyQB','args','options_','SrVxR','gnwse','accessibilityOptions','3787847bJfbtC','--headless','wcMHh','44722656BsSITq','../../../helpers/globals','fRCyV','TrfHG','warn','winstonLogger','env','IDYWx','bstack:options','authToken','capability','chrome','jHRWQ','AsQoN','LSaBV','getBrowserName','browserstack.accessibilityOptions','rQVuD','33609VJbwfR','getCapabilities','../../../helpers/helper','1380838UdJsJi','deviceName','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','isUndefined','setExtension','selenium-webdriver/chrome.js','browserstack.accessibility','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','device','eIosp','VddDZ','316fWTUJx','WuIpb','isAccessibilityPlatform','debug','Bqkqx'];a26_0xa0e5=function(){return _0x17a486;};return a26_0xa0e5();}function a26_0x460b(_0x2f8a85,_0x6b646b){const _0xa0e5b=a26_0xa0e5();return a26_0x460b=function(_0x460b03,_0x4607c9){_0x460b03=_0x460b03-0x146;let _0x142f6f=_0xa0e5b[_0x460b03];return _0x142f6f;},a26_0x460b(_0x2f8a85,_0x6b646b);}const path=require(a26_0xf82d68(0x163)),os=require('os'),util=require('util'),bsSetupHelper=require(a26_0xf82d68(0x189)),globals=require(a26_0xf82d68(0x176)),logger=require(a26_0xf82d68(0x168))[a26_0xf82d68(0x17a)];exports['setAccessibilityCapabilities']=_0x32a59d=>{const _0x4637d8=a26_0xf82d68,_0xa3e0e6={};_0xa3e0e6['rQVuD']=_0x4637d8(0x17d),_0xa3e0e6[_0x4637d8(0x14c)]=_0x4637d8(0x190),_0xa3e0e6[_0x4637d8(0x170)]=_0x4637d8(0x14a),_0xa3e0e6[_0x4637d8(0x146)]=_0x4637d8(0x185);const _0x4b751b=_0xa3e0e6;try{const _0x56ba24=_0x32a59d[_0x4637d8(0x17f)]||{};if(_0x56ba24[_0x4b751b[_0x4637d8(0x186)]]&&_0x56ba24[_0x4b751b['rQVuD']][_0x4637d8(0x14f)]||_0x32a59d[_0x4637d8(0x17f)][_0x4b751b[_0x4637d8(0x14c)]]){globals[_0x4637d8(0x16b)](_0x4b751b[_0x4637d8(0x170)],!![]);if(_0x56ba24[_0x4b751b[_0x4637d8(0x186)]]){if(_0x56ba24[_0x4b751b[_0x4637d8(0x186)]][_0x4637d8(0x171)])_0x56ba24[_0x4b751b[_0x4637d8(0x186)]][_0x4637d8(0x171)][_0x4637d8(0x17e)]=process['env'][_0x4637d8(0x151)];else{const _0xb3f7b7={};_0xb3f7b7[_0x4637d8(0x17e)]=process[_0x4637d8(0x17b)]['BS_A11Y_JWT'],_0x56ba24[_0x4b751b[_0x4637d8(0x186)]][_0x4637d8(0x171)]=_0xb3f7b7;}_0x56ba24[_0x4b751b[_0x4637d8(0x186)]][_0x4637d8(0x171)]['scannerVersion']=JSON['parse'](process['env'][_0x4637d8(0x157)])[_0x4637d8(0x156)];}else{if(_0x32a59d[_0x4637d8(0x17f)][_0x4b751b[_0x4637d8(0x14c)]]){if(_0x56ba24[_0x4b751b[_0x4637d8(0x146)]])_0x56ba24[_0x4b751b[_0x4637d8(0x146)]][_0x4637d8(0x17e)]=process[_0x4637d8(0x17b)][_0x4637d8(0x151)];else{const _0xe341c4={};_0xe341c4[_0x4637d8(0x17e)]=process[_0x4637d8(0x17b)][_0x4637d8(0x151)],_0x56ba24[_0x4b751b[_0x4637d8(0x146)]]=_0xe341c4;}_0x56ba24[_0x4b751b[_0x4637d8(0x146)]][_0x4637d8(0x156)]=JSON[_0x4637d8(0x159)](process['env'][_0x4637d8(0x157)])[_0x4637d8(0x156)];}}}}catch(_0x47d437){logger[_0x4637d8(0x14b)](_0x4637d8(0x160)+_0x47d437);}},exports[a26_0xf82d68(0x18e)]=(_0x8afd46,_0x3519c8)=>{const _0x41f59f=a26_0xf82d68,_0x3ae229={};_0x3ae229[_0x41f59f(0x14e)]=_0x41f59f(0x17d),_0x3ae229[_0x41f59f(0x15c)]=function(_0x55c10a,_0x19ade3){return _0x55c10a!==_0x19ade3;},_0x3ae229[_0x41f59f(0x183)]=_0x41f59f(0x152),_0x3ae229[_0x41f59f(0x178)]=_0x41f59f(0x180),_0x3ae229[_0x41f59f(0x166)]=_0x41f59f(0x167),_0x3ae229[_0x41f59f(0x161)]=function(_0xb163f5,_0x9c572){return _0xb163f5===_0x9c572;},_0x3ae229[_0x41f59f(0x169)]='latest',_0x3ae229[_0x41f59f(0x149)]=function(_0x5f26dc,_0x5877eb){return _0x5f26dc>_0x5877eb;},_0x3ae229[_0x41f59f(0x165)]=_0x41f59f(0x18c),_0x3ae229[_0x41f59f(0x147)]=_0x41f59f(0x18f),_0x3ae229[_0x41f59f(0x16f)]=_0x41f59f(0x16e),_0x3ae229[_0x41f59f(0x174)]=_0x41f59f(0x16d),_0x3ae229['fRCyV']=_0x41f59f(0x154),_0x3ae229['IDYWx']=_0x41f59f(0x173),_0x3ae229[_0x41f59f(0x182)]='Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.';const _0x2b6ad1=_0x3ae229;try{const _0x4c1f30=_0x3519c8[_0x41f59f(0x17f)]||{},_0x468340=(_0x4c1f30[_0x2b6ad1[_0x41f59f(0x14e)]]?_0x4c1f30[_0x2b6ad1[_0x41f59f(0x14e)]][_0x41f59f(0x18b)]:_0x4c1f30[_0x41f59f(0x192)])||'';if(_0x2b6ad1[_0x41f59f(0x15c)](_0x468340,''))return logger[_0x41f59f(0x179)](_0x2b6ad1[_0x41f59f(0x183)]),![];const _0x5881e7=_0x4c1f30['browserName']||_0x8afd46[_0x41f59f(0x16a)][_0x41f59f(0x184)]();if(_0x2b6ad1[_0x41f59f(0x15c)](_0x5881e7['toLowerCase'](),_0x2b6ad1[_0x41f59f(0x178)]))return logger['warn'](_0x2b6ad1[_0x41f59f(0x166)]),![];const _0x498663=_0x4c1f30[_0x41f59f(0x150)]||_0x4c1f30['browser_version']||_0x8afd46[_0x41f59f(0x16a)][_0x41f59f(0x15e)]();if(!bsSetupHelper[_0x41f59f(0x18d)](_0x498663)&&!(_0x2b6ad1[_0x41f59f(0x161)](_0x498663,_0x2b6ad1[_0x41f59f(0x169)])||_0x2b6ad1[_0x41f59f(0x149)](_0x498663,0x5e)))return logger[_0x41f59f(0x179)](_0x2b6ad1[_0x41f59f(0x165)]),![];let _0x45f38f;try{_0x45f38f=bsSetupHelper[_0x41f59f(0x14d)](_0x2b6ad1[_0x41f59f(0x147)]);}catch(_0x78874b){return![];}const _0x14d0a2=new _0x45f38f[(_0x41f59f(0x15d))](_0x8afd46['chromeOptions_']),_0x5bad91=bsSetupHelper[_0x41f59f(0x153)](_0x14d0a2,[_0x2b6ad1[_0x41f59f(0x16f)],_0x2b6ad1[_0x41f59f(0x174)]])||bsSetupHelper[_0x41f59f(0x153)](_0x8afd46['capabilities_'][_0x41f59f(0x15a)](_0x2b6ad1[_0x41f59f(0x14e)]),[_0x2b6ad1[_0x41f59f(0x177)],_0x2b6ad1['wcMHh']])||bsSetupHelper[_0x41f59f(0x153)](_0x8afd46['capabilities_'][_0x41f59f(0x15a)](_0x2b6ad1[_0x41f59f(0x177)]),[_0x2b6ad1[_0x41f59f(0x174)]])||[];if(_0x5bad91['includes'](_0x2b6ad1[_0x41f59f(0x17c)]))return logger[_0x41f59f(0x179)](_0x2b6ad1[_0x41f59f(0x182)]),![];return!![];}catch(_0x3de5dc){logger[_0x41f59f(0x14b)]('Exception\x20in\x20setExtension\x20Error:\x20'+util['format'](_0x3de5dc));}return![];},exports['fetchPlatformDetails']=async _0x3ac913=>{const _0x5390ff=a26_0xf82d68,_0x3e6c2b={};_0x3e6c2b[_0x5390ff(0x181)]=function(_0x73e7ba,_0x887fc6){return _0x73e7ba===_0x887fc6;},_0x3e6c2b[_0x5390ff(0x15f)]='browserstack';const _0x1825b7=_0x3e6c2b;let _0x1e98a5={};try{const _0x49b3af=await _0x3ac913[_0x5390ff(0x188)]();_0x1e98a5={'os_name':_0x49b3af[_0x5390ff(0x162)](),'os_version':bsSetupHelper['getPlatformVersion'](_0x1825b7[_0x5390ff(0x181)](global[_0x5390ff(0x155)],_0x1825b7['MpQxl'])),'browser_name':_0x49b3af[_0x5390ff(0x184)](),'browser_version':_0x49b3af[_0x5390ff(0x15e)]()};}catch(_0x55fb5b){logger[_0x5390ff(0x14b)](_0x5390ff(0x191)+_0x55fb5b);}return _0x1e98a5;};
1
+ function a26_0x1ce1(_0x192869,_0x23f620){const _0x1d0cf6=a26_0x1d0c();return a26_0x1ce1=function(_0x1ce18d,_0x5a567c){_0x1ce18d=_0x1ce18d-0x7a;let _0x201989=_0x1d0cf6[_0x1ce18d];return _0x201989;},a26_0x1ce1(_0x192869,_0x23f620);}const a26_0x523b9b=a26_0x1ce1;function a26_0x1d0c(){const _0x22ef26=['dtZlu','8OztrsK','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','fetchPlatformDetails','parse','3cjemMw','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','6959772bFTJwi','33599445AVDQzY','MAKiY','15404FstQuz','xeYql','env','setExtension','warn','getPlatformVersion','toLowerCase','capability','../../../helpers/globals','3753711dzJojq','chromeOptions','--headless','browserstack.accessibility','SdNfX','boUmw','DDMtI','getPlatform','mPZGx','../../../helpers/helper','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','170DeEirK','accessibilityOptions','setAccessibilityCapabilities','34490evFDUx','setGlobal','getCapabilities','STUrD','isUndefined','accessibility','includes','KUpIE','PfMOc','latest','FxaPe','tQBbR','browserName','browserstack','ooNUt','bstack:options','browser_version','debug','get','../../../helpers/logger','yqfzy','114rtOwIW','zsqdV','getBrowserName','browserstack.accessibilityOptions','requireModule','authToken','chrome','255479EbBjWs','format','Qwial','device','digRU','scannerVersion','10395850QuAufn','aWzSH','selenium-webdriver/chrome.js','capabilities_','nestedKeyValue','Exception\x20in\x20setExtension\x20Error:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getBrowserVersion','IBYxf','PaqiQ','browserVersion','EmkMQ','BS_A11Y_JWT','args'];a26_0x1d0c=function(){return _0x22ef26;};return a26_0x1d0c();}(function(_0x3aa303,_0x2f6ae2){const _0x16f259=a26_0x1ce1,_0x21d919=_0x3aa303();while(!![]){try{const _0xf6e44f=parseInt(_0x16f259(0x8d))/0x1*(-parseInt(_0x16f259(0xa9))/0x2)+-parseInt(_0x16f259(0x9b))/0x3+-parseInt(_0x16f259(0x92))/0x4*(-parseInt(_0x16f259(0xa6))/0x5)+-parseInt(_0x16f259(0xbe))/0x6*(-parseInt(_0x16f259(0xc5))/0x7)+parseInt(_0x16f259(0x89))/0x8*(-parseInt(_0x16f259(0x8f))/0x9)+-parseInt(_0x16f259(0x7a))/0xa+parseInt(_0x16f259(0x90))/0xb;if(_0xf6e44f===_0x2f6ae2)break;else _0x21d919['push'](_0x21d919['shift']());}catch(_0x574394){_0x21d919['push'](_0x21d919['shift']());}}}(a26_0x1d0c,0xba47f));const path=require('path'),os=require('os'),util=require('util'),bsSetupHelper=require(a26_0x523b9b(0xa4)),globals=require(a26_0x523b9b(0x9a)),logger=require(a26_0x523b9b(0xbc))['winstonLogger'];exports[a26_0x523b9b(0xa8)]=_0x12dc8e=>{const _0x12e7a5=a26_0x523b9b,_0x49566e={};_0x49566e[_0x12e7a5(0x7b)]=_0x12e7a5(0xb8),_0x49566e[_0x12e7a5(0x9f)]=_0x12e7a5(0x9e),_0x49566e[_0x12e7a5(0xc7)]='isAccessibilityPlatform',_0x49566e[_0x12e7a5(0xb4)]=_0x12e7a5(0xc1);const _0x258a8b=_0x49566e;try{const _0x16c504=_0x12dc8e[_0x12e7a5(0x99)]||{};if(_0x16c504[_0x258a8b[_0x12e7a5(0x7b)]]&&_0x16c504[_0x258a8b[_0x12e7a5(0x7b)]][_0x12e7a5(0xae)]||_0x12dc8e['capability'][_0x258a8b[_0x12e7a5(0x9f)]]){globals[_0x12e7a5(0xaa)](_0x258a8b[_0x12e7a5(0xc7)],!![]);if(_0x16c504[_0x258a8b[_0x12e7a5(0x7b)]]){if(_0x16c504[_0x258a8b[_0x12e7a5(0x7b)]][_0x12e7a5(0xa7)])_0x16c504[_0x258a8b[_0x12e7a5(0x7b)]][_0x12e7a5(0xa7)]['authToken']=process['env'][_0x12e7a5(0x86)];else{const _0x55652c={};_0x55652c[_0x12e7a5(0xc3)]=process[_0x12e7a5(0x94)]['BS_A11Y_JWT'],_0x16c504[_0x258a8b[_0x12e7a5(0x7b)]]['accessibilityOptions']=_0x55652c;}_0x16c504[_0x258a8b[_0x12e7a5(0x7b)]]['accessibilityOptions'][_0x12e7a5(0xca)]=JSON[_0x12e7a5(0x8c)](process[_0x12e7a5(0x94)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x12e7a5(0xca)];}else{if(_0x12dc8e['capability'][_0x258a8b[_0x12e7a5(0x9f)]]){if(_0x16c504[_0x258a8b[_0x12e7a5(0xb4)]])_0x16c504[_0x258a8b['tQBbR']][_0x12e7a5(0xc3)]=process['env'][_0x12e7a5(0x86)];else{const _0x506215={};_0x506215[_0x12e7a5(0xc3)]=process[_0x12e7a5(0x94)][_0x12e7a5(0x86)],_0x16c504[_0x258a8b['tQBbR']]=_0x506215;}_0x16c504[_0x258a8b['tQBbR']]['scannerVersion']=JSON['parse'](process[_0x12e7a5(0x94)][_0x12e7a5(0x80)])[_0x12e7a5(0xca)];}}}}catch(_0x49fb02){logger['debug'](_0x12e7a5(0x8e)+_0x49fb02);}},exports[a26_0x523b9b(0x95)]=(_0x47dde5,_0x2b5cc0)=>{const _0x4b3989=a26_0x523b9b,_0x482dc6={};_0x482dc6['yqfzy']=_0x4b3989(0xb8),_0x482dc6[_0x4b3989(0xa0)]=function(_0x53b052,_0x2583d2){return _0x53b052!==_0x2583d2;},_0x482dc6[_0x4b3989(0x88)]='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.',_0x482dc6['mPZGx']=function(_0x726793,_0x48a666){return _0x726793!==_0x48a666;},_0x482dc6['PaqiQ']=_0x4b3989(0xc4),_0x482dc6[_0x4b3989(0xc9)]=_0x4b3989(0x8a),_0x482dc6[_0x4b3989(0xb1)]=function(_0x2e96f7,_0x116eb4){return _0x2e96f7===_0x116eb4;},_0x482dc6[_0x4b3989(0xbf)]=_0x4b3989(0xb2),_0x482dc6[_0x4b3989(0xa1)]=function(_0xcedf7,_0x3e3665){return _0xcedf7>_0x3e3665;},_0x482dc6[_0x4b3989(0xac)]='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.',_0x482dc6[_0x4b3989(0x85)]=_0x4b3989(0x7c),_0x482dc6[_0x4b3989(0xb7)]='options_',_0x482dc6[_0x4b3989(0x82)]=_0x4b3989(0x87),_0x482dc6[_0x4b3989(0x91)]=_0x4b3989(0x9c),_0x482dc6[_0x4b3989(0xb3)]=_0x4b3989(0x9d),_0x482dc6['dtUKU']='Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.';const _0x1a2658=_0x482dc6;try{const _0x220974=_0x2b5cc0['capability']||{},_0x323101=(_0x220974[_0x1a2658['yqfzy']]?_0x220974[_0x1a2658['yqfzy']]['deviceName']:_0x220974[_0x4b3989(0xc8)])||'';if(_0x1a2658[_0x4b3989(0xa0)](_0x323101,''))return logger[_0x4b3989(0x96)](_0x1a2658['dtZlu']),![];const _0x4d36df=_0x220974[_0x4b3989(0xb5)]||_0x47dde5[_0x4b3989(0x7d)][_0x4b3989(0xc0)]();if(_0x1a2658[_0x4b3989(0xa3)](_0x4d36df[_0x4b3989(0x98)](),_0x1a2658[_0x4b3989(0x83)]))return logger[_0x4b3989(0x96)](_0x1a2658[_0x4b3989(0xc9)]),![];const _0x184994=_0x220974[_0x4b3989(0x84)]||_0x220974[_0x4b3989(0xb9)]||_0x47dde5['capabilities_'][_0x4b3989(0x81)]();if(!bsSetupHelper[_0x4b3989(0xad)](_0x184994)&&!(_0x1a2658[_0x4b3989(0xb1)](_0x184994,_0x1a2658['zsqdV'])||_0x1a2658[_0x4b3989(0xa1)](_0x184994,0x5e)))return logger[_0x4b3989(0x96)](_0x1a2658[_0x4b3989(0xac)]),![];let _0x5afaf1;try{_0x5afaf1=bsSetupHelper[_0x4b3989(0xc2)](_0x1a2658[_0x4b3989(0x85)]);}catch(_0x34cef5){return![];}const _0xeaf53a=new _0x5afaf1['Options'](_0x47dde5['chromeOptions_']),_0x53b253=bsSetupHelper[_0x4b3989(0x7e)](_0xeaf53a,[_0x1a2658[_0x4b3989(0xb7)],_0x1a2658[_0x4b3989(0x82)]])||bsSetupHelper[_0x4b3989(0x7e)](_0x47dde5['capabilities_'][_0x4b3989(0xbb)](_0x1a2658[_0x4b3989(0xbd)]),[_0x1a2658[_0x4b3989(0x91)],_0x1a2658[_0x4b3989(0x82)]])||bsSetupHelper[_0x4b3989(0x7e)](_0x47dde5[_0x4b3989(0x7d)][_0x4b3989(0xbb)](_0x1a2658[_0x4b3989(0x91)]),[_0x1a2658['IBYxf']])||[];if(_0x53b253[_0x4b3989(0xaf)](_0x1a2658['FxaPe']))return logger[_0x4b3989(0x96)](_0x1a2658['dtUKU']),![];return!![];}catch(_0x3eaa5b){logger[_0x4b3989(0xba)](_0x4b3989(0x7f)+util[_0x4b3989(0xc6)](_0x3eaa5b));}return![];},exports[a26_0x523b9b(0x8b)]=async _0x43d8ae=>{const _0x2993e1=a26_0x523b9b,_0x532770={};_0x532770[_0x2993e1(0xb0)]=function(_0x35a599,_0xf8887b){return _0x35a599===_0xf8887b;},_0x532770[_0x2993e1(0x93)]=_0x2993e1(0xb6);const _0x5af82b=_0x532770;let _0x4ea8d6={};try{const _0x4e14d3=await _0x43d8ae[_0x2993e1(0xab)]();_0x4ea8d6={'os_name':_0x4e14d3[_0x2993e1(0xa2)](),'os_version':bsSetupHelper[_0x2993e1(0x97)](_0x5af82b['KUpIE'](global['__cloud_provider___'],_0x5af82b['xeYql'])),'browser_name':_0x4e14d3[_0x2993e1(0xc0)](),'browser_version':_0x4e14d3[_0x2993e1(0x81)]()};}catch(_0x4fbd14){logger[_0x2993e1(0xba)](_0x2993e1(0xa5)+_0x4fbd14);}return _0x4ea8d6;};
@@ -1 +1 @@
1
- 'use strict';const a27_0x2a0062=a27_0x1707;function a27_0x2e57(){const _0x2fdb35=['slow','DGNQs','push','indent','currentRetry','17589060nAJlUG','includes','name','YFWsk','vXASR','parent','\x20%s','EvXIQ','fullTitle','suites','AKsen','fZOJa','testStarted','expanded','__platform__','escape','.git','COMPLETED','CihdN','</dd>','eSrID','spec','4741842hGmgIa','\x20\x20<dt>','config','getInstance','failed','Runner','zrjis','fail','ctx','bs:addLog:','retryOf','duration','kYswB','finalResults','UsmUG','KHXXw','AFTER_ALL','XWbBJ','IwnJR','hookAnalyticsId','_upstreamConfig','test_run','mocha','dirname','sjFkJ','test','qfWmt','toString','KvxZn','dlLQE','PJiuF','_indents','\x20\x20%d)\x20%s','JOqiD','finished_at','cezoA','consoleLog','AWYuE','symbols','</dt>','error','test_run_uuid','QPvzD','trim','inspect','_currentRetry','altYL','bs:addPlatformDetails:','currentTest','eToVu','scope','VSvhY','mocha/lib/utils.js','shouldProcessEventForTesthub','reporterOptions','.js','mocha/lib/reporters/','GKJkX','yhqDh','now','CiLSc','findGitConfig','tUmkp','bVlAH','sAZQL','green','failCount','</dl>','VeDrI','sbrwG','\x20\x20<dd><pre><code>','BEFORE_EACH','suiteCount','appendTestItemLog','mShLd','relative','constants','NjplU','zskWc','DJIcb','testAnalyticsId','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','rvckD','mFgEj','AFTER_EACH','NsRYj','CFidS','before\x20each','cMRZv','TiYrm','getTime','after\x20all','\x20\x20<dd\x20class=\x22error\x22><pre><code>','yeDVt','err','result','titlePath','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','slice','TestRunStarted','current_hook','<section\x20class=\x22suite\x22>','length','<h1>','../../../helpers/test-observability/constants','file','hook_run_uuid','logs','fgNZy','KhMwz','55424MPcfys','_testResults','\x20(%dms)','AmxpG','state','TestRunFinished','kDnpS','CBTSessionCreated','zEyPS','multiple','YfDRM','analyticsResult','statSync','jaxXZ','hqcJg','sendTestRunEvent','yJQYt','mocha/lib/reporters/base.js','color','testObservability','results','zVTWD','uuid','gGljO','pid','KmkyR','GpqZO','KXSNg','ZqPxQ','started_at','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','getRootParentFile','cwd','tOkbz','../../../helpers/testhub/constants','wZhzY','pNcAG','prototype','stdout','after\x20each','LogCreated','../../../helpers/testhub/utils','join','write','event_type','TZnVG','25990XglRMe','comma','HookStarted','\x20-\x20','__indents','../test-observability/mochaUtils','Failed\x20to\x20load\x20reporter\x20','HookRunFinished','fast','call','markedStatus','RpVEw','MOCHA','_testEnv','prefixTestPath','</section>','_buildCreated','originalTitle','<dl>','582Sbccjr','BEFORE_ALL','increaseIndent','suite','11152552lwVptE','backtrace','isaLb','SJZue','YZGvF','9TPGIuN','hook_type','TestRunSkipped','_paths','varpW','forEach','OtFiv','pending','\x20\x20<dt\x20class=\x22error\x22>','IPfqm','79064LNKhBn','wJnjl','cgmaK','failure_backtrace','location_prefix','before\x20all','guJOm','qsNCt','appendTestPlatform','lkEwX','%s\x20-\x20%s','</code></pre></dd>','Reporter','docAppend','cTwWm','oHSPS','uploadEventData','util','isPending','once','setCurrentTestData','docHtml','QhjOF','6FHRRkG','scopes','cxMkU','pCtKN','lRAsd','xunit','EVENT','failure','doc','body','HookFinished','pass','http_response','failure_reason_expanded','%s\x20','title','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','ozVcs','GJkkV','bang','mocha/lib/runnable.js','\x20with\x20error\x20:\x20','CytPI','split','PhqHA','RbUWG','fgkkO','YIHPI','../../../helpers/test-observability/sessionHandler','ssCbf','lZeXr','jjzBK','RTAji','checkmark','toISOString','dot','speed','wZrUM','rYKhR','lrWjM','match','PuQYq','passed','current_test','done','DgIuf','lWMvS','314632BLrpcV','exports','../../../helpers/test-observability/requestQueueHandler','DjMrB','pLory','type','JfLli','reporterOption','clean'];a27_0x2e57=function(){return _0x2fdb35;};return a27_0x2e57();}(function(_0x59aa0a,_0x4f45eb){const _0x55789f=a27_0x1707,_0x4bc02a=_0x59aa0a();while(!![]){try{const _0x53ad28=-parseInt(_0x55789f(0x9c))/0x1+parseInt(_0x55789f(0xf0))/0x2*(parseInt(_0x55789f(0x107))/0x3)+parseInt(_0x55789f(0x136))/0x4+-parseInt(_0x55789f(0xca))/0x5*(-parseInt(_0x55789f(0xdd))/0x6)+parseInt(_0x55789f(0x15a))/0x7+-parseInt(_0x55789f(0xe1))/0x8*(-parseInt(_0x55789f(0xe6))/0x9)+-parseInt(_0x55789f(0x144))/0xa;if(_0x53ad28===_0x4f45eb)break;else _0x4bc02a['push'](_0x4bc02a['shift']());}catch(_0x1d839a){_0x4bc02a['push'](_0x4bc02a['shift']());}}}(a27_0x2e57,0xe0621));function a27_0x1707(_0x4fcbfd,_0x32a56f){const _0x2e57e8=a27_0x2e57();return a27_0x1707=function(_0x170718,_0x122715){_0x170718=_0x170718-0x8e;let _0x289cdf=_0x2e57e8[_0x170718];return _0x289cdf;},a27_0x1707(_0x4fcbfd,_0x32a56f);}const util=require(a27_0x2a0062(0x101)),fs=require('fs'),path=require('path'),{requireModule}=require('../../../helpers/helper'),Base=requireModule(a27_0x2a0062(0xad)),utils=requireModule(a27_0x2a0062(0x18e)),color=Base[a27_0x2a0062(0xae)],Mocha=requireModule(a27_0x2a0062(0x170)),Runnable=requireModule(a27_0x2a0062(0x11b)),{v4:uuidv4}=require(a27_0x2a0062(0xb2)),bsSetupHelper=require('../../../helpers/helper'),testhubUtils=require(a27_0x2a0062(0xc5)),testHubConstants=require(a27_0x2a0062(0xbe)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),a27_0x56a062={};a27_0x56a062[a27_0x2a0062(0xf5)]=a27_0x2a0062(0xde),a27_0x56a062[a27_0x2a0062(0x1b5)]=a27_0x2a0062(0x16a),a27_0x56a062[a27_0x2a0062(0x1b1)]=a27_0x2a0062(0x1a1),a27_0x56a062[a27_0x2a0062(0xc3)]=a27_0x2a0062(0x1ae);const HOOK_TYPES_MAP=a27_0x56a062,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha[a27_0x2a0062(0x15f)][a27_0x2a0062(0x1a6)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0x2a0062(0x1a6)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a27_0x2a0062(0xcf)),{consoleHolder}=require(a27_0x2a0062(0x96)),SessionHandler=require(a27_0x2a0062(0x123)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a27_0x2a0062(0x138)),requestQueueHandler=RequestQueueHandler[a27_0x2a0062(0x15d)]();class MyReporter{constructor(_0x4d19e3,_0x96ce81){const _0x1cdcc6=a27_0x2a0062,_0x3a6eb9={'wZhzY':function(_0x32d07a,_0x153916){return _0x32d07a===_0x153916;},'sbrwG':_0x1cdcc6(0x159),'PhqHA':function(_0x533443,_0x405e52){return _0x533443===_0x405e52;},'AKsen':function(_0x41720d,_0x4d81af){return _0x41720d+_0x4d81af;},'fgNZy':function(_0x145779,_0x1db864,_0x436152){return _0x145779(_0x1db864,_0x436152);},'varpW':_0x1cdcc6(0x19b),'zVTWD':_0x1cdcc6(0x115),'UsmUG':function(_0x36272b,_0xdd948b,_0x2efdab){return _0x36272b(_0xdd948b,_0x2efdab);},'QhjOF':'light','SJZue':_0x1cdcc6(0xfa),'vgAGZ':'RUNNING','YFWsk':_0x1cdcc6(0x10f),'lRAsd':function(_0x47a6ba){return _0x47a6ba();},'CFidS':'HookRunStarted','kYswB':_0x1cdcc6(0xd1),'AmxpG':_0x1cdcc6(0x131),'bVlAH':_0x1cdcc6(0xd2),'tXfOT':_0x1cdcc6(0x128),'KvxZn':function(_0x571d98,_0x5916ac,_0x3f226b){return _0x571d98(_0x5916ac,_0x3f226b);},'sAZQL':_0x1cdcc6(0x112),'TZnVG':_0x1cdcc6(0x14a),'PJiuF':function(_0x38c591,_0x243f29){return _0x38c591+_0x243f29;},'ozVcs':function(_0x16f03e,_0x4ae98a,_0x1502b4){return _0x16f03e(_0x4ae98a,_0x1502b4);},'gZjbd':function(_0xfa96a6,_0x57c219,_0x69c499){return _0xfa96a6(_0x57c219,_0x69c499);},'dUBZD':_0x1cdcc6(0x9e),'lrWjM':_0x1cdcc6(0x161),'Fdtua':_0x1cdcc6(0x17a),'fZOJa':function(_0x60df3,_0x592b3c){return _0x60df3+_0x592b3c;},'KmkyR':'bright\x20yellow','VSqYo':_0x1cdcc6(0x155),'nFXuA':function(_0xd75fce,_0x24e159){return _0xd75fce===_0x24e159;},'IwnJR':function(_0x598b0a,_0x3c321a){return _0x598b0a===_0x3c321a;},'OtFiv':_0x1cdcc6(0x12a),'QTudb':function(_0xa2b02,_0x386b40){return _0xa2b02===_0x386b40;},'VeDrI':_0x1cdcc6(0x13f),'VShgF':function(_0x453e0e,_0x4dc533){return _0x453e0e===_0x4dc533;},'GSpdp':'0|1|2|3|4','cMRZv':function(_0x4865d3,_0x36949a){return _0x4865d3===_0x36949a;},'NjplU':_0x1cdcc6(0xed),'NsRYj':function(_0x3f97fb,_0x3d8850){return _0x3f97fb===_0x3d8850;},'CytPI':function(_0x53c74d){return _0x53c74d();},'sjFkJ':_0x1cdcc6(0xe8),'ssCbf':function(_0x1e2947,_0x555717){return _0x1e2947===_0x555717;},'cTwWm':function(_0x476d32,_0x5c4afe){return _0x476d32===_0x5c4afe;},'wZrUM':function(_0x4aeefd,_0x5cf5f7){return _0x4aeefd===_0x5cf5f7;},'pNcAG':function(_0x1d5acd,_0x588fec){return _0x1d5acd(_0x588fec);},'IPfqm':function(_0x1a9ccb,_0x2bf17e){return _0x1a9ccb(_0x2bf17e);},'zrjis':function(_0x30e849){return _0x30e849();},'fqFSW':function(_0x228fd8,_0x3d179c){return _0x228fd8===_0x3d179c;},'oHSPS':_0x1cdcc6(0x10c),'YIHPI':function(_0x585e44,_0xcc25a1){return _0x585e44===_0xcc25a1;},'QPvzD':function(_0x3d5401,_0x34aaec){return _0x3d5401!==_0x34aaec;}};this[_0x1cdcc6(0x13b)]=_0x96ce81['reporterOption'][_0x1cdcc6(0x13b)],this[_0x1cdcc6(0xaf)]=_0x3a6eb9[_0x1cdcc6(0x11d)](isTestObservabilitySession),Base[_0x1cdcc6(0xd3)](this,_0x4d19e3,_0x96ce81),this[_0x1cdcc6(0x179)]=0x0,this[_0x1cdcc6(0x19c)]=0x0,this[_0x1cdcc6(0xb0)]=[],this[_0x1cdcc6(0x167)]=[],this[_0x1cdcc6(0x1a2)]=0x0,this[_0x1cdcc6(0xda)]=![],this[_0x1cdcc6(0x9d)]=[],this['_testEnv']=_0x3a6eb9[_0x1cdcc6(0x160)](getTestEnv),this[_0x1cdcc6(0xe9)]=new PathHelper({'cwd':process[_0x1cdcc6(0xbc)]()},this[_0x1cdcc6(0xd7)][_0x1cdcc6(0xf4)]),this[_0x1cdcc6(0x16e)]=_0x96ce81[_0x1cdcc6(0x13d)]['bsConfig'],this['registerListeners']();_0x3a6eb9['fqFSW'](this[_0x1cdcc6(0x13b)],_0x3a6eb9[_0x1cdcc6(0x147)])&&(this[_0x1cdcc6(0x105)]='',this[_0x1cdcc6(0xce)]=0x2);_0x4d19e3[_0x1cdcc6(0x103)](EVENT_RUN_BEGIN,async()=>{const _0x434289=_0x1cdcc6;_0x3a6eb9[_0x434289(0xbf)](this['type'],_0x3a6eb9[_0x434289(0x19f)])&&Base[_0x434289(0x17e)]();})['on'](EVENT_SUITE_BEGIN,_0x4576f0=>{const _0x5337da=_0x1cdcc6;if(_0x4576f0['root'])return;if(_0x3a6eb9[_0x5337da(0x11f)](this[_0x5337da(0x13b)],_0x3a6eb9[_0x5337da(0x19f)]))this[_0x5337da(0xdf)](),Base['consoleLog'](_0x3a6eb9[_0x5337da(0x14e)](_0x3a6eb9['AKsen'](this[_0x5337da(0x142)](),_0x3a6eb9[_0x5337da(0x9a)](color,_0x3a6eb9[_0x5337da(0xea)],_0x3a6eb9['zVTWD'])),_0x3a6eb9[_0x5337da(0x168)](color,_0x3a6eb9[_0x5337da(0x106)],_0x3a6eb9['SJZue'])),_0x3a6eb9['vgAGZ'],_0x4576f0[_0x5337da(0x116)],global[_0x5337da(0x152)]);else _0x3a6eb9['wZhzY'](this[_0x5337da(0x13b)],_0x3a6eb9[_0x5337da(0x147)])&&(this[_0x5337da(0xfd)](this[_0x5337da(0x142)]()+_0x5337da(0x93)),++this[_0x5337da(0xce)],this[_0x5337da(0xfd)](this[_0x5337da(0x142)]()+_0x5337da(0x95)+utils[_0x5337da(0x153)](_0x4576f0[_0x5337da(0x116)]+_0x5337da(0xcd)+global[_0x5337da(0x152)])+'</h1>'),this[_0x5337da(0xfd)](this[_0x5337da(0x142)]()+_0x5337da(0xdc)));})['on'](EVENT_HOOK_BEGIN,async _0x3172c8=>{const _0xdea199=_0x1cdcc6;if(_0x3a6eb9[_0xdea199(0x11f)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0xdea199(0x10d)][_0xdea199(0xcc)]),!![])){if(!_0x3172c8[_0xdea199(0x16d)])_0x3172c8[_0xdea199(0x16d)]=_0x3a6eb9['lRAsd'](uuidv4);else _0x3172c8[_0xdea199(0xd4)]&&(_0x3172c8[_0xdea199(0x16d)]=_0x3a6eb9[_0xdea199(0x10b)](uuidv4),delete _0x3172c8[_0xdea199(0xd4)]);_0x3172c8['started_at']=new Date()['toISOString'](),this['current_hook']=_0x3172c8,await this['sendTestRunEvent'](_0x3172c8,undefined,![],_0x3a6eb9[_0xdea199(0x1b0)]);}})['on'](EVENT_HOOK_END,async _0x51ba32=>{const _0x4ca005=_0x1cdcc6;_0x3a6eb9[_0x4ca005(0xbf)](testhubUtils[_0x4ca005(0x18f)](testHubConstants[_0x4ca005(0x10d)][_0x4ca005(0x111)]),!![])&&(!_0x51ba32[_0x4ca005(0xd4)]&&(_0x51ba32[_0x4ca005(0xd4)]=!![],await this['sendTestRunEvent'](_0x51ba32,undefined,![],_0x3a6eb9[_0x4ca005(0x166)])));})['on'](EVENT_SUITE_END,_0x530335=>{const _0x20e724=_0x1cdcc6,_0x353f0e={'PuQYq':function(_0x4661ca,_0x166919){const _0x5ecbce=a27_0x1707;return _0x3a6eb9[_0x5ecbce(0x11f)](_0x4661ca,_0x166919);},'cgmaK':_0x3a6eb9[_0x20e724(0x9f)],'DjMrB':_0x3a6eb9[_0x20e724(0x199)],'cezoA':function(_0x42ab54,_0x2dd4ea){return _0x3a6eb9['AKsen'](_0x42ab54,_0x2dd4ea);},'yhqDh':function(_0x11645b,_0x3b9f4d,_0x5cb31a){return _0x3a6eb9['UsmUG'](_0x11645b,_0x3b9f4d,_0x5cb31a);},'qsNCt':_0x3a6eb9['tXfOT'],'eToVu':function(_0x3973c8,_0x404cf4,_0x3a2442){const _0x167b69=_0x20e724;return _0x3a6eb9[_0x167b69(0x176)](_0x3973c8,_0x404cf4,_0x3a2442);},'DJIcb':_0x3a6eb9[_0x20e724(0x19a)],'rYKhR':_0x3a6eb9[_0x20e724(0xc9)],'mFgEj':function(_0x34e7b0,_0x49dd7b){return _0x3a6eb9['PJiuF'](_0x34e7b0,_0x49dd7b);},'RbUWG':function(_0x366d76,_0x1a8898,_0x856f03){return _0x3a6eb9['ozVcs'](_0x366d76,_0x1a8898,_0x856f03);},'ZVYje':function(_0x45bc29,_0x12cf82,_0x24da2d){return _0x3a6eb9['gZjbd'](_0x45bc29,_0x12cf82,_0x24da2d);},'XWbBJ':_0x3a6eb9['dUBZD'],'lWMvS':function(_0x3d0e7c,_0x24fedf){const _0x59c563=_0x20e724;return _0x3a6eb9[_0x59c563(0x178)](_0x3d0e7c,_0x24fedf);},'guJOm':function(_0x2f444c,_0xc09bb6,_0x35715e){const _0xbc657e=_0x20e724;return _0x3a6eb9[_0xbc657e(0x118)](_0x2f444c,_0xc09bb6,_0x35715e);},'QkVXv':_0x3a6eb9[_0x20e724(0x12e)],'YZGvF':_0x3a6eb9['Fdtua']};if(_0x530335['root'])return;if(_0x3a6eb9['PhqHA'](this[_0x20e724(0x13b)],_0x3a6eb9[_0x20e724(0x19f)]))Base[_0x20e724(0x17e)](),Base[_0x20e724(0x17e)](_0x3a6eb9[_0x20e724(0x14f)](_0x3a6eb9[_0x20e724(0x178)](this[_0x20e724(0x142)](),_0x3a6eb9[_0x20e724(0x176)](color,_0x3a6eb9[_0x20e724(0xb5)],_0x3a6eb9[_0x20e724(0xb1)])),_0x3a6eb9[_0x20e724(0x168)](color,_0x3a6eb9['QhjOF'],_0x3a6eb9[_0x20e724(0xe4)])),_0x3a6eb9['VSqYo'],_0x530335[_0x20e724(0x116)],global[_0x20e724(0x152)]),this['results'][_0x20e724(0xeb)](_0x279afc=>{const _0x5f3dd1=_0x20e724;if(_0x353f0e['PuQYq'](_0x279afc[_0x5f3dd1(0xa0)],_0x353f0e[_0x5f3dd1(0xf2)])){var _0x11ee3b;_0x353f0e[_0x5f3dd1(0x130)](_0x279afc[_0x5f3dd1(0x12b)],_0x353f0e[_0x5f3dd1(0x139)])?(_0x11ee3b=_0x353f0e['cezoA'](_0x353f0e[_0x5f3dd1(0x17d)](this[_0x5f3dd1(0x142)](),_0x353f0e[_0x5f3dd1(0x194)](color,_0x353f0e['qsNCt'],_0x353f0e[_0x5f3dd1(0x17d)]('\x20\x20',Base['symbols']['ok']))),_0x353f0e[_0x5f3dd1(0x18b)](color,_0x353f0e[_0x5f3dd1(0x1a9)],_0x353f0e['rYKhR'])),Base['consoleLog'](_0x11ee3b,_0x279afc[_0x5f3dd1(0x116)])):(_0x11ee3b=_0x353f0e[_0x5f3dd1(0x1ad)](_0x353f0e['mFgEj'](_0x353f0e[_0x5f3dd1(0x1ad)](this[_0x5f3dd1(0x142)](),_0x353f0e[_0x5f3dd1(0x120)](color,_0x353f0e[_0x5f3dd1(0xf7)],_0x353f0e[_0x5f3dd1(0x17d)]('\x20\x20',Base['symbols']['ok']))),_0x353f0e[_0x5f3dd1(0x194)](color,_0x353f0e[_0x5f3dd1(0x1a9)],_0x353f0e[_0x5f3dd1(0x12d)])),_0x353f0e['ZVYje'](color,_0x279afc[_0x5f3dd1(0x12b)],_0x353f0e[_0x5f3dd1(0x16b)])),Base[_0x5f3dd1(0x17e)](_0x11ee3b,_0x279afc[_0x5f3dd1(0x116)],_0x279afc[_0x5f3dd1(0x165)]));}else Base[_0x5f3dd1(0x17e)](_0x353f0e[_0x5f3dd1(0x135)](this['indent'](),_0x353f0e[_0x5f3dd1(0xf6)](color,_0x353f0e['QkVXv'],_0x353f0e[_0x5f3dd1(0xe5)])),++this[_0x5f3dd1(0x19c)],_0x279afc[_0x5f3dd1(0x116)]);}),this['decreaseIndent']();else _0x3a6eb9['nFXuA'](this[_0x20e724(0x13b)],_0x3a6eb9[_0x20e724(0x147)])&&(this['docAppend'](this[_0x20e724(0x142)]()+_0x20e724(0x19d)),--this[_0x20e724(0xce)],this[_0x20e724(0xfd)](this[_0x20e724(0x142)]()+_0x20e724(0xd9)),--this[_0x20e724(0xce)]);Array[_0x20e724(0xc1)][_0x20e724(0x141)]['apply'](this[_0x20e724(0x167)],this[_0x20e724(0xb0)]),this[_0x20e724(0xb0)]=[];})['on'](EVENT_TEST_PASS,async _0x4dfd0a=>{const _0xd41e96=_0x1cdcc6;this[_0xd41e96(0xb0)][_0xd41e96(0x141)]({'speed':_0x4dfd0a[_0xd41e96(0x12b)],'suite':_0x4dfd0a[_0xd41e96(0x149)][_0xd41e96(0x116)],'title':_0x4dfd0a[_0xd41e96(0x116)],'fullTitle':_0x4dfd0a['fullTitle'](),'duration':_0x4dfd0a['duration'],'state':_0x4dfd0a['state'],'err':{},'currentRetry':_0x4dfd0a[_0xd41e96(0x143)](),'titlePathV':_0x4dfd0a[_0xd41e96(0x8e)](),'isPending':_0x4dfd0a[_0xd41e96(0x102)]()});if(_0x3a6eb9['IwnJR'](this[_0xd41e96(0x13b)],_0x3a6eb9[_0xd41e96(0xec)]))_0x3a6eb9['QTudb'](_0x4dfd0a[_0xd41e96(0x12b)],_0x3a6eb9[_0xd41e96(0x19e)])?process['stdout'][_0xd41e96(0xc7)](Base[_0xd41e96(0xae)](_0x3a6eb9['KmkyR'],Base['symbols']['dot'])):process[_0xd41e96(0xc2)][_0xd41e96(0xc7)](Base[_0xd41e96(0xae)](_0x4dfd0a[_0xd41e96(0x12b)],Base[_0xd41e96(0x180)][_0xd41e96(0x12a)]));else{if(_0x3a6eb9[_0xd41e96(0x16c)](this[_0xd41e96(0x13b)],_0x3a6eb9[_0xd41e96(0x147)])){this['docAppend'](this['indent']()+_0xd41e96(0x15b)+utils[_0xd41e96(0x153)](_0x4dfd0a[_0xd41e96(0x116)])+_0xd41e96(0x181)),this['docAppend'](this['indent']()+_0xd41e96(0x15b)+utils[_0xd41e96(0x153)](_0x4dfd0a[_0xd41e96(0x97)])+_0xd41e96(0x181));var _0x11065b=utils[_0xd41e96(0x153)](utils['clean'](_0x4dfd0a[_0xd41e96(0x110)]));this[_0xd41e96(0xfd)](this[_0xd41e96(0x142)]()+_0xd41e96(0x1a0)+_0x11065b+_0xd41e96(0xfb));}}_0x3a6eb9[_0xd41e96(0xbf)](testhubUtils[_0xd41e96(0x18f)](),!![])&&(!_0x4dfd0a[_0xd41e96(0xd4)]&&(_0x4dfd0a[_0xd41e96(0xd4)]=!![],await this[_0xd41e96(0xab)](_0x4dfd0a)));})['on'](EVENT_TEST_FAIL,async(_0x346df9,_0x1d2bbe)=>{const _0x4a72c7=_0x1cdcc6;this[_0x4a72c7(0xb0)][_0x4a72c7(0x141)]({'title':_0x346df9[_0x4a72c7(0x116)],'suite':_0x346df9[_0x4a72c7(0x149)][_0x4a72c7(0x116)],'state':_0x346df9['state'],'err':{'message':util[_0x4a72c7(0x186)](_0x1d2bbe)},'fullTitle':_0x346df9[_0x4a72c7(0x14c)](),'speed':_0x346df9[_0x4a72c7(0x12b)],'currentRetry':_0x346df9['currentRetry'](),'titlePathV':_0x346df9[_0x4a72c7(0x8e)]()});if(_0x3a6eb9['PhqHA'](this[_0x4a72c7(0x13b)],_0x3a6eb9[_0x4a72c7(0xec)]))process['stdout'][_0x4a72c7(0xc7)](Base['color'](_0x3a6eb9[_0x4a72c7(0x12e)],Base[_0x4a72c7(0x180)][_0x4a72c7(0x11a)]));else{if(_0x3a6eb9['VShgF'](this['type'],_0x3a6eb9[_0x4a72c7(0x147)])){const _0x19ed1b=_0x3a6eb9['GSpdp'][_0x4a72c7(0x11e)]('|');let _0x2d9112=0x0;while(!![]){switch(_0x19ed1b[_0x2d9112++]){case'0':this[_0x4a72c7(0xfd)](this['indent']()+_0x4a72c7(0xee)+utils[_0x4a72c7(0x153)](_0x346df9[_0x4a72c7(0x116)])+_0x4a72c7(0x181));continue;case'1':this[_0x4a72c7(0xfd)](this[_0x4a72c7(0x142)]()+_0x4a72c7(0xee)+utils[_0x4a72c7(0x153)](_0x346df9['file'])+_0x4a72c7(0x181));continue;case'2':var _0x46dc01=utils['escape'](utils[_0x4a72c7(0x13e)](_0x346df9[_0x4a72c7(0x110)]));continue;case'3':this[_0x4a72c7(0xfd)](this['indent']()+_0x4a72c7(0x1b6)+_0x46dc01+_0x4a72c7(0xfb));continue;case'4':this[_0x4a72c7(0xfd)](this[_0x4a72c7(0x142)]()+'\x20\x20<dd\x20class=\x22error\x22>'+utils[_0x4a72c7(0x153)](_0x346df9[_0x4a72c7(0x1b8)])+_0x4a72c7(0x157));continue;}break;}}}if(_0x3a6eb9[_0x4a72c7(0x1b2)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0x4a72c7(0x10d)][_0x4a72c7(0x111)]),!![])){if(!_0x346df9[_0x4a72c7(0xd4)]){_0x346df9[_0x4a72c7(0xd4)]=!![];if(_0x346df9[_0x4a72c7(0x1aa)])await this[_0x4a72c7(0xab)](_0x346df9,_0x1d2bbe);else _0x346df9[_0x4a72c7(0x16d)]&&await this[_0x4a72c7(0xab)](_0x346df9,_0x1d2bbe,![],_0x3a6eb9[_0x4a72c7(0x166)]);}}})['on'](EVENT_TEST_PENDING,async _0x27edf6=>{const _0x36ea30=_0x1cdcc6;this[_0x36ea30(0xb0)][_0x36ea30(0x141)]({'title':_0x27edf6[_0x36ea30(0x116)],'suite':_0x27edf6[_0x36ea30(0x149)][_0x36ea30(0x116)],'state':_0x27edf6['state'],'err':{},'fullTitle':_0x27edf6[_0x36ea30(0x14c)](),'speed':_0x27edf6['speed'],'currentRetry':_0x27edf6['currentRetry'](),'titlePathV':_0x27edf6[_0x36ea30(0x8e)]()}),_0x3a6eb9['QTudb'](this['type'],_0x3a6eb9[_0x36ea30(0xec)])&&process[_0x36ea30(0xc2)][_0x36ea30(0xc7)](Base[_0x36ea30(0xae)](_0x3a6eb9[_0x36ea30(0x1a7)],Base[_0x36ea30(0x180)][_0x36ea30(0xcb)])),_0x3a6eb9[_0x36ea30(0x1af)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x27edf6[_0x36ea30(0x1aa)]&&(_0x27edf6['testAnalyticsId']=_0x3a6eb9[_0x36ea30(0x11d)](uuidv4)),!_0x27edf6[_0x36ea30(0xd4)]&&(_0x27edf6[_0x36ea30(0xd4)]=!![],await this[_0x36ea30(0xab)](_0x27edf6,undefined,![],_0x3a6eb9[_0x36ea30(0x172)])));})['on'](EVENT_TEST_BEGIN,async _0x10ccd1=>{const _0x5563fa=_0x1cdcc6;_0x3a6eb9[_0x5563fa(0x124)](testhubUtils[_0x5563fa(0x18f)](),!![])&&await this['testStarted'](_0x10ccd1);})['on'](EVENT_TEST_END,async _0x1721ce=>{const _0x5144a6=_0x1cdcc6;_0x3a6eb9['cTwWm'](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x1721ce['markedStatus']&&(_0x1721ce[_0x5144a6(0xd4)]=!![],await this[_0x5144a6(0xab)](_0x1721ce)));})[_0x1cdcc6(0x103)](EVENT_RUN_END,async()=>{const _0x4116f6=_0x1cdcc6;try{if(_0x3a6eb9[_0x4116f6(0x12c)](testhubUtils['shouldProcessEventForTesthub'](),!![])){const _0xf7ede8=_0x3a6eb9[_0x4116f6(0xc0)](getHookSkippedTests,this['runner'][_0x4116f6(0xe0)]);for(const _0x5fc02b of _0xf7ede8){!_0x5fc02b[_0x4116f6(0x1aa)]&&(_0x5fc02b[_0x4116f6(0x1aa)]=_0x3a6eb9[_0x4116f6(0x11d)](uuidv4)),await this['sendTestRunEvent'](_0x5fc02b,undefined,![],_0x3a6eb9['sjFkJ']);}}}catch(_0x555462){_0x3a6eb9[_0x4116f6(0xef)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20'+_0x555462);}await requestQueueHandler['shutdown'](),_0x3a6eb9[_0x4116f6(0xfe)](this[_0x4116f6(0x13b)],_0x3a6eb9[_0x4116f6(0x147)])&&Base['consoleLog'](this[_0x4116f6(0x105)]);});if(this[_0x1cdcc6(0x13b)]&&![_0x3a6eb9[_0x1cdcc6(0x147)],_0x3a6eb9[_0x1cdcc6(0xff)],_0x3a6eb9[_0x1cdcc6(0x19f)],_0x3a6eb9[_0x1cdcc6(0xec)]]['includes'](this[_0x1cdcc6(0x13b)])){const _0x352ffe=this[_0x1cdcc6(0x13b)][_0x1cdcc6(0x185)]();this[_0x1cdcc6(0xfc)]=null;try{this['Reporter']=_0x3a6eb9[_0x1cdcc6(0xc0)](requireModule,_0x1cdcc6(0x192)+_0x352ffe+_0x1cdcc6(0x191));}catch{}if(_0x3a6eb9[_0x1cdcc6(0x122)](this[_0x1cdcc6(0xfc)],null))try{this['Reporter']=_0x3a6eb9[_0x1cdcc6(0xef)](require,_0x352ffe);}catch(_0x57c7f8){console[_0x1cdcc6(0x182)](_0x1cdcc6(0xd0)+_0x352ffe);}if(_0x3a6eb9[_0x1cdcc6(0x184)](this[_0x1cdcc6(0xfc)],null)){const _0x2024a5={};_0x2024a5[_0x1cdcc6(0x190)]=_0x96ce81[_0x1cdcc6(0x13d)],this[_0x1cdcc6(0xfc)]=new this[(_0x1cdcc6(0xfc))](_0x4d19e3,_0x2024a5);}}}[a27_0x2a0062(0x142)](){const _0x3e5019=a27_0x2a0062,_0x99d1ee={'pCTNN':function(_0x5159f3,_0x587e62){return _0x5159f3(_0x587e62);}};return _0x99d1ee['pCTNN'](Array,this[_0x3e5019(0x179)])[_0x3e5019(0xc6)]('\x20\x20');}[a27_0x2a0062(0xdf)](){this['_indents']++;}['decreaseIndent'](){const _0xc38fb0=a27_0x2a0062;this[_0xc38fb0(0x179)]--;}['docAppend'](_0x42de16){const _0xfc1b96=a27_0x2a0062;this[_0xfc1b96(0x105)]+=_0x42de16;}[a27_0x2a0062(0x133)](_0x4b31d6,_0x59b07f){const _0x496824=a27_0x2a0062,_0x4515ff={'VSvhY':function(_0x498678,_0x18effc){return _0x498678(_0x18effc);}},_0x3448f3={};_0x3448f3['failureCount']=_0x4b31d6,_0x3448f3['results']=this[_0x496824(0x167)],_0x4515ff[_0x496824(0x18d)](_0x59b07f,_0x3448f3);}['registerListeners'](){const _0x1f43fe=a27_0x2a0062;process['removeAllListeners'](_0x1f43fe(0x163)+process[_0x1f43fe(0xb4)]),process['on'](_0x1f43fe(0x163)+process['pid'],this[_0x1f43fe(0x1a3)]['bind'](this)),process['removeAllListeners'](_0x1f43fe(0x189)+process['pid']),process['on']('bs:addPlatformDetails:'+process[_0x1f43fe(0xb4)],this[_0x1f43fe(0xf8)]['bind'](this));}[a27_0x2a0062(0x150)]=async _0x476f81=>{const _0x15570b=a27_0x2a0062,_0x4f3c00={'dlLQE':function(_0x456ada){return _0x456ada();},'pJUup':function(_0x513c20,_0xb46b6){return _0x513c20>_0xb46b6;},'hqcJg':function(_0x46b023,_0x46b736){return _0x46b023===_0x46b736;},'JfLli':_0x15570b(0x91),'GKJkX':function(_0x4106ed,_0x581e33){return _0x4106ed(_0x581e33);}};try{const _0x17a924=this['current_test'];this[_0x15570b(0x132)]=_0x476f81,_0x476f81[_0x15570b(0x164)]=null,_0x476f81[_0x15570b(0x1aa)]=_0x4f3c00[_0x15570b(0x177)](uuidv4),_0x476f81[_0x15570b(0xb9)]=new Date()[_0x15570b(0x129)](),_0x4f3c00['pJUup'](_0x476f81[_0x15570b(0x187)],0x0)&&_0x17a924&&_0x4f3c00[_0x15570b(0xaa)](_0x17a924[_0x15570b(0x116)],_0x476f81[_0x15570b(0x116)])?(_0x476f81['retryOf']=_0x17a924[_0x15570b(0x1aa)],await this[_0x15570b(0xab)](_0x476f81,undefined,![],_0x4f3c00[_0x15570b(0x13c)]),_0x17a924['state']=STATE_FAILED,await this[_0x15570b(0xab)](_0x17a924,undefined,!![])):await this[_0x15570b(0xab)](_0x476f81,undefined,![],_0x4f3c00['JfLli']);}catch(_0x4708c8){_0x4f3c00[_0x15570b(0x193)](debug,_0x15570b(0x117)+_0x4708c8);}};['sendTestRunEvent']=async(_0x123b89,_0x33a07=undefined,_0x5348a3=![],_0x3afdc6=a27_0x2a0062(0xa1))=>{const _0x220b44=a27_0x2a0062,_0x3898a1={'kDnpS':function(_0xb66994,_0x1e507c){return _0xb66994===_0x1e507c;},'zskWc':function(_0xf3d492,_0x4eefa6){return _0xf3d492!==_0x4eefa6;},'tOkbz':_0x220b44(0x173),'vXASR':_0x220b44(0x1b8),'wJnjl':'File\x20path\x20could\x20not\x20be\x20found','EvXIQ':'Mocha','zEyPS':'javascript','GJkkV':_0x220b44(0xe8),'isaLb':'skipped','FIXAi':function(_0x31cf59,_0x282f06){return _0x31cf59-_0x282f06;},'pLory':'AssertionError','YfDRM':'UnhandledError','GpqZO':_0x220b44(0xb9),'altYL':_0x220b44(0x17c),'fgkkO':function(_0x4c2c3c,_0x3ef66e){return _0x4c2c3c(_0x3ef66e);},'DgIuf':function(_0x1b5d6c,_0x205368){return _0x1b5d6c===_0x205368;},'JOqiD':_0x220b44(0xd1),'cxMkU':'failed','yJQYt':_0x220b44(0x131),'TiYrm':function(_0x28adb7,_0x1e6680){return _0x28adb7===_0x1e6680;},'AWYuE':'before\x20each','faQcb':function(_0x4a33a3,_0x145a2d){return _0x4a33a3===_0x145a2d;},'yeDVt':_0x220b44(0x10e),'fNvpy':_0x220b44(0xf3),'jaxXZ':_0x220b44(0xe2),'KXSNg':_0x220b44(0x114),'KHXXw':_0x220b44(0x151),'mShLd':'TestRunFinished','WZYMy':function(_0xe3b54e,_0x38c821){return _0xe3b54e(_0x38c821);},'RpVEw':'hook_type','KhMwz':'hook_run','rvckD':'test_run'};try{if(_0x123b89[_0x220b44(0x110)]&&_0x123b89['body']['match'](/browserstack internal helper hook/))return;let _0x240f64=[];if(_0x3898a1[_0x220b44(0xa2)](_0x123b89['state'],STATE_FAILED)){if(_0x3898a1[_0x220b44(0x1a8)](_0x123b89['err'],undefined))_0x240f64=_0x123b89['err'][_0x220b44(0xa5)]?[_0x123b89[_0x220b44(0x1b8)][_0x220b44(0xa5)],_0x3898a1[_0x220b44(0xbd)]]:[_0x123b89[_0x220b44(0x1b8)],_0x3898a1[_0x220b44(0x148)]];else _0x3898a1[_0x220b44(0x1a8)](_0x33a07,undefined)?_0x240f64=[_0x33a07,_0x3898a1[_0x220b44(0x148)]]:_0x240f64=[];}const _0x38ad1f=_0x3898a1[_0x220b44(0x1a8)](_0x123b89[_0x220b44(0x1b8)],undefined)?_0x123b89[_0x220b44(0x1b8)][_0x220b44(0x175)]():_0x3898a1[_0x220b44(0x1a8)](_0x33a07,undefined)?_0x33a07[_0x220b44(0x175)]():undefined;let _0x39f408;try{_0x39f408=this[_0x220b44(0xbb)](_0x123b89);}catch(_0x288cbc){_0x39f408=null;}const _0x4a2899=_0x39f408?this['findGitConfig'](_0x39f408):null,_0x123f7a=_0x39f408?this[_0x220b44(0xe9)][_0x220b44(0xd8)](this[_0x220b44(0xbb)](_0x123b89)):_0x3898a1[_0x220b44(0xf1)],_0xd5e6d9={'framework':_0x3898a1[_0x220b44(0x14b)],'uuid':_0x123b89[_0x220b44(0x1aa)]||_0x123b89[_0x220b44(0x16d)],'name':_0x123b89[_0x220b44(0x116)],'body':{'lang':_0x3898a1[_0x220b44(0xa4)],'code':_0x123b89[_0x220b44(0x110)]},'scope':this[_0x220b44(0x18c)](_0x123b89),'scopes':this[_0x220b44(0x108)](_0x123b89),'identifier':_0x123b89[_0x220b44(0x14c)](),'file_name':_0x123f7a,'vc_filepath':_0x4a2899?path[_0x220b44(0x1a5)](_0x4a2899,_0x39f408):null,'location':_0x123f7a,'result':_0x3898a1['kDnpS'](_0x3afdc6,_0x3898a1[_0x220b44(0x119)])?_0x3898a1[_0x220b44(0xe3)]:this['analyticsResult'](_0x123b89['state']),'failure_reason':_0x38ad1f,'duration_in_ms':_0x123b89['duration']||(_0x3afdc6[_0x220b44(0x12f)](/Finished/)||_0x3afdc6[_0x220b44(0x12f)](/Skipped/)?_0x3898a1['FIXAi'](Date[_0x220b44(0x195)](),new Date(_0x123b89[_0x220b44(0xb9)])[_0x220b44(0x1b4)]()):null),'started_at':_0x123b89[_0x220b44(0xb9)],'finished_at':_0x3afdc6[_0x220b44(0x12f)](/Finished/)||_0x3afdc6[_0x220b44(0x12f)](/Skipped/)?new Date()[_0x220b44(0x129)]():null,'failure':failureData['apply'](null,_0x240f64),'failure_type':!_0x38ad1f?null:_0x38ad1f[_0x220b44(0x12f)](/AssertionError/)?_0x3898a1[_0x220b44(0x13a)]:_0x3898a1[_0x220b44(0xa6)],'retry_of':_0x123b89[_0x220b44(0x164)]};testhubUtils['appendTesthubParams'](_0xd5e6d9,_0x3afdc6,_0x123b89,FRAMEWORKS[_0x220b44(0xd6)]);_0x3898a1[_0x220b44(0xa2)](_0x3afdc6,_0x3898a1['GJkkV'])&&!_0xd5e6d9[_0x3898a1[_0x220b44(0xb6)]]&&(_0xd5e6d9[_0x3898a1[_0x220b44(0xb6)]]=_0xd5e6d9[_0x3898a1[_0x220b44(0x188)]]);if(_0x3afdc6[_0x220b44(0x12f)](/HookRun/))[_0xd5e6d9['hook_type'],_0xd5e6d9[_0x220b44(0x146)]]=_0x3898a1[_0x220b44(0x121)](getHookDetails,_0x123b89[_0x220b44(0x14c)]()||_0x123b89[_0x220b44(0xdb)]||_0x123b89[_0x220b44(0x116)]),_0x3898a1[_0x220b44(0x134)](_0x3afdc6,_0x3898a1[_0x220b44(0x17b)])&&(_0x3898a1[_0x220b44(0x1a8)](_0xd5e6d9[_0x220b44(0x1b9)],_0x3898a1[_0x220b44(0x109)])&&(_0xd5e6d9[_0x220b44(0x1b9)]=_0x3898a1[_0x220b44(0xac)]),_0x3898a1[_0x220b44(0x1b3)](_0xd5e6d9[_0x220b44(0xe7)],_0x3898a1[_0x220b44(0x17f)])&&_0x3898a1['faQcb'](_0xd5e6d9[_0x220b44(0x1b9)],_0x3898a1[_0x220b44(0x109)])&&!_0x123b89[_0x220b44(0x162)][_0x220b44(0x18a)][_0x220b44(0xd4)]&&(_0x123b89[_0x220b44(0x162)][_0x220b44(0x18a)][_0x220b44(0xd4)]=!![],_0x123b89[_0x220b44(0x162)]['currentTest'][_0x220b44(0xa0)]=STATE_FAILED,await this[_0x220b44(0xab)](_0x123b89[_0x220b44(0x162)]['currentTest'],undefined,!![])));else _0x3afdc6[_0x220b44(0x12f)](/TestRun/)&&_0x3898a1[_0x220b44(0x121)](mapTestHooks,_0x123b89);const _0x4b56d5=_0xd5e6d9[_0x3898a1[_0x220b44(0x1b7)]][0x0];_0x4b56d5&&(_0xd5e6d9[_0x3898a1['fNvpy']]=_0x4b56d5[_0x3898a1[_0x220b44(0xa9)]],_0xd5e6d9[_0x3898a1[_0x220b44(0xb7)]]=_0x4b56d5[_0x3898a1[_0x220b44(0x169)]]);[_0x3898a1[_0x220b44(0x1a4)],_0x3898a1[_0x220b44(0x119)]][_0x220b44(0x145)](_0x3afdc6)&&(this[_0x220b44(0x9d)]['push'](_0xd5e6d9),_0xd5e6d9['hooks']=_0x3898a1['WZYMy'](getHooksForTest,_0x123b89));const _0xe76b8c={'event_type':_0x3898a1[_0x220b44(0xa2)](_0x3afdc6,_0x3898a1['GJkkV'])?_0x3898a1[_0x220b44(0x1a4)]:_0x3afdc6};_0x3afdc6['match'](/HookRun/)?(_0xd5e6d9[_0x3898a1[_0x220b44(0xd5)]]=HOOK_TYPES_MAP[_0xd5e6d9[_0x3898a1[_0x220b44(0xd5)]]],_0xe76b8c[_0x3898a1[_0x220b44(0x9b)]]=_0xd5e6d9):_0xe76b8c[_0x3898a1[_0x220b44(0x1ac)]]=_0xd5e6d9,testhubUtils[_0x220b44(0x104)](FRAMEWORKS[_0x220b44(0xd6)],_0xe76b8c),await SessionHandler['uploadEventData'](_0xe76b8c);}catch(_0x1c9cf9){_0x3898a1[_0x220b44(0x121)](debug,_0x220b44(0xba)+_0x3afdc6+_0x220b44(0x11c)+_0x1c9cf9);}};[a27_0x2a0062(0x197)](_0x312310){const _0x17985c=a27_0x2a0062,_0x56bb30={};_0x56bb30[_0x17985c(0xb8)]=function(_0x5878ad,_0x2aa40c){return _0x5878ad===_0x2aa40c;},_0x56bb30['jjzBK']=_0x17985c(0x154),_0x56bb30[_0x17985c(0x125)]=_0x17985c(0x15c);const _0x59df47=_0x56bb30,_0x1614fd=path['sep'];if(_0x59df47[_0x17985c(0xb8)](_0x312310,null)||_0x59df47[_0x17985c(0xb8)](_0x312310,'')||_0x59df47[_0x17985c(0xb8)](_0x312310,_0x1614fd))return null;try{return fs[_0x17985c(0xa8)](path[_0x17985c(0xc6)](_0x312310,_0x59df47[_0x17985c(0x126)],_0x59df47[_0x17985c(0x125)])),_0x312310;}catch(_0x4efdd0){const _0x6a2714=path[_0x17985c(0x171)](_0x312310);return this[_0x17985c(0x197)](_0x6a2714);}}[a27_0x2a0062(0x1a3)]=async _0x108829=>{const _0x3ab332=a27_0x2a0062,_0x243c55={'RTAji':_0x3ab332(0xc4),'qfWmt':function(_0x126967,_0xf0db23){return _0x126967(_0xf0db23);}};try{this['current_hook']&&!this['current_hook'][_0x3ab332(0xd4)]&&(_0x108829[_0x3ab332(0x98)]=this[_0x3ab332(0x92)][_0x3ab332(0x16d)]);!_0x108829[_0x3ab332(0x98)]&&this[_0x3ab332(0x132)]&&!this['current_test'][_0x3ab332(0xd4)]&&(_0x108829[_0x3ab332(0x183)]=this[_0x3ab332(0x132)][_0x3ab332(0x1aa)]);if(_0x108829[_0x3ab332(0x98)]||_0x108829[_0x3ab332(0x183)]){const _0x46896f={};_0x46896f['event_type']=_0x243c55[_0x3ab332(0x127)],_0x46896f[_0x3ab332(0x99)]=[_0x108829],await SessionHandler[_0x3ab332(0x100)](_0x46896f);}}catch(_0x437529){_0x243c55[_0x3ab332(0x174)](debug,_0x3ab332(0x8f)+_0x437529);}};['appendTestPlatform']=async _0x3d2372=>{const _0xf17521=a27_0x2a0062,_0x514653={'dXCrL':_0xf17521(0x113),'tUmkp':_0xf17521(0xa3),'gGljO':function(_0x176d0b,_0x158cef){return _0x176d0b(_0x158cef);}};try{const _0x9ed235={};_0x9ed235[_0xf17521(0xb2)]=_0x3d2372[_0xf17521(0xb2)]||this[_0xf17521(0x132)][_0xf17521(0x1aa)],_0x9ed235['integrations']=_0x3d2372[_0x514653['dXCrL']];const _0x3f6dff=_0x9ed235,_0xe11691={};_0xe11691[_0xf17521(0xc8)]=_0x514653[_0xf17521(0x198)],_0xe11691[_0xf17521(0x16f)]=_0x3f6dff,await SessionHandler[_0xf17521(0x100)](_0xe11691);}catch(_0x1f712d){_0x514653[_0xf17521(0xb3)](debug,_0xf17521(0x1ab)+_0x1f712d);}};[a27_0x2a0062(0xa7)](_0x2ee3b0){const _0x2f9cfc=a27_0x2a0062,_0x4d700d={};_0x4d700d[_0x2f9cfc(0x140)]=_0x2f9cfc(0x131),_0x4d700d['lkEwX']=_0x2f9cfc(0xed),_0x4d700d[_0x2f9cfc(0x156)]=_0x2f9cfc(0x15e);const _0x865b7e=_0x4d700d,_0x1b88c6={};return _0x1b88c6[STATE_PASSED]=_0x865b7e['DGNQs'],_0x1b88c6[STATE_PENDING]=_0x865b7e[_0x2f9cfc(0xf9)],_0x1b88c6[STATE_FAILED]=_0x865b7e['CihdN'],_0x1b88c6[_0x2ee3b0];}[a27_0x2a0062(0x18c)](_0x255ff9){const _0x42cfd3=a27_0x2a0062,_0x390878={};_0x390878[_0x42cfd3(0x196)]=function(_0x1c5c14,_0x2598e2){return _0x1c5c14-_0x2598e2;};const _0x589ddc=_0x390878,_0x47fe70=_0x255ff9[_0x42cfd3(0x8e)]();return _0x47fe70[_0x42cfd3(0x90)](0x0,_0x589ddc[_0x42cfd3(0x196)](_0x47fe70[_0x42cfd3(0x94)],0x1))['join']('\x20');}[a27_0x2a0062(0x108)](_0x1993c6){const _0x30360f=a27_0x2a0062,_0xe73771={};_0xe73771[_0x30360f(0x158)]=function(_0xd8a8c4,_0x1735cd){return _0xd8a8c4-_0x1735cd;};const _0x129ef8=_0xe73771,_0x2262a3=_0x1993c6[_0x30360f(0x8e)]();return _0x2262a3['slice'](0x0,_0x129ef8[_0x30360f(0x158)](_0x2262a3[_0x30360f(0x94)],0x1));}[a27_0x2a0062(0xbb)](_0x329fbd){const _0x2bce25=a27_0x2a0062,_0x4ce784={};_0x4ce784[_0x2bce25(0x10a)]=function(_0x12c712,_0x3b75d8){return _0x12c712>_0x3b75d8;};const _0x8e0683=_0x4ce784;if(_0x329fbd['file'])return _0x329fbd[_0x2bce25(0x97)];if(_0x329fbd[_0x2bce25(0x162)]){const _0xa1181a=_0x329fbd[_0x2bce25(0x162)]['currentTest']?this['getRootParentFile'](_0x329fbd[_0x2bce25(0x162)]['currentTest']):null;if(_0xa1181a)return _0xa1181a;}if(_0x329fbd['parent']){const _0x2a00e6=this[_0x2bce25(0xbb)](_0x329fbd[_0x2bce25(0x149)])||(_0x329fbd[_0x2bce25(0x149)]['ctx']&&_0x329fbd['parent'][_0x2bce25(0x162)][_0x2bce25(0x18a)]?this[_0x2bce25(0xbb)](_0x329fbd[_0x2bce25(0x149)][_0x2bce25(0x162)][_0x2bce25(0x18a)]):null);if(_0x2a00e6)return _0x2a00e6;_0x329fbd[_0x2bce25(0x149)][_0x2bce25(0x14d)]&&_0x8e0683[_0x2bce25(0x10a)](_0x329fbd[_0x2bce25(0x149)][_0x2bce25(0x14d)][_0x2bce25(0x94)],0x0)&&_0x329fbd[_0x2bce25(0x149)]['suites'][_0x2bce25(0xeb)](_0x166cfc=>{const _0x13c284=_0x2bce25,_0x445317=_0x166cfc[_0x13c284(0x162)]?this[_0x13c284(0xbb)](_0x166cfc[_0x13c284(0x162)]):null;if(_0x445317)return _0x445317;});}return null;}}module[a27_0x2a0062(0x137)]=MyReporter;
1
+ 'use strict';const a27_0x571973=a27_0xbabc;(function(_0x2d0668,_0x2b82b6){const _0x3e961e=a27_0xbabc,_0x291940=_0x2d0668();while(!![]){try{const _0x327f71=parseInt(_0x3e961e(0x1d2))/0x1+parseInt(_0x3e961e(0x1ef))/0x2*(-parseInt(_0x3e961e(0x1ab))/0x3)+-parseInt(_0x3e961e(0x1f6))/0x4+-parseInt(_0x3e961e(0x1d0))/0x5*(parseInt(_0x3e961e(0x217))/0x6)+-parseInt(_0x3e961e(0x192))/0x7+parseInt(_0x3e961e(0x15d))/0x8+-parseInt(_0x3e961e(0x1b5))/0x9*(-parseInt(_0x3e961e(0x187))/0xa);if(_0x327f71===_0x2b82b6)break;else _0x291940['push'](_0x291940['shift']());}catch(_0x12f9ce){_0x291940['push'](_0x291940['shift']());}}}(a27_0x1dc2,0xda75c));function a27_0xbabc(_0x3c06c9,_0x5e7af7){const _0x1dc2bc=a27_0x1dc2();return a27_0xbabc=function(_0xbabc8b,_0x488004){_0xbabc8b=_0xbabc8b-0xfa;let _0x1dd7be=_0x1dc2bc[_0xbabc8b];return _0x1dd7be;},a27_0xbabc(_0x3c06c9,_0x5e7af7);}function a27_0x1dc2(){const _0x5028a6=['74050dWwtHT','FSqXC','1012751Hvmsxr','EtbWQ','TqJuB','omhXI','Ykbuu','integrations','VKzfh','BCXDX','reporterOption','scope','path','analyticsResult','color','config','vnTCC','PoWwy','done','IaRpA','testAnalyticsId','bsConfig','MkvrC','kfEsZ','oXvQx','finished_at','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','light','JCaTq','increaseIndent','TqpQb','2ZdpRVD','getRootParentFile','.git','KHHTc','2|1|4|3|0','VjonG','__platform__','1762100EUuhBw','Kidva','BiZOz','PxDcK','xqUjV','lBeux','tRWfV','before\x20all','push','registerListeners','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','</code></pre></dd>','KOOnf','ewRuy','bs:addPlatformDetails:','../test-observability/mochaUtils','pid','EVENT','test_run_uuid','appendTestPlatform','HkHcB','apply','HookStarted','oLMEZ','clean','iOdDc','relative','mocha/lib/runnable.js','\x20%s','mocha','body','trim','MOCHA','438JyEXps','Reporter','XfLxT','event_type','CEDVA','http_response','testObservability','BEFORE_ALL','toString','\x20\x20<dd\x20class=\x22error\x22><pre><code>','xHjzw','cwd','AssertionError','match','dAJJJ','</dd>','failCount','isPending','failed','FzeUN','ffykq','bTOWO','removeAllListeners','sendTestRunEvent','KEBDT','VDKlf','dot','constants','result','ikrOY','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','length','Tivdj','sajqs','docHtml','YqfOi','RUNNING','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','expanded','gFwaM','BEFORE_EACH','YdVWD','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','AFTER_ALL','\x20\x20<dd><pre><code>','toISOString','../../../helpers/test-observability/constants','ctx','ojkcm','current_test','bind','qVnjE','HookRunFinished','reporterOptions','shouldProcessEventForTesthub','state','HookRunStarted','passed','\x20\x20<dt\x20class=\x22error\x22>','UPjAO','pending','MpVxJ','xunit','HookFinished','join','failure','__indents','ueyNy','hookAnalyticsId','<h1>','after\x20all','test','markedStatus','Mocha','File\x20path\x20could\x20not\x20be\x20found','started_at','ukqMD','HOaAE','_testEnv','fvfZs','decreaseIndent','suite','exports','NKBYa','gZqjd','backtrace','lLmMM','write','VMMPQ','PpaAy','lMEgq','duration','aEfLa','results','aGtgl','mocha/lib/utils.js','currentRetry','error','indent','IQsHN','retryOf','../../../helpers/test-observability/utils','BoxhJ','TestRunFinished','OhHSj','fullTitle','EDzIY','suiteCount','EYHLm','parent','err','3597400kOBpaH','_buildCreated','</dt>','suites','ocUkq','dPUem','../../../helpers/test-observability/requestQueueHandler','XSbQZ','once','zRkIa','appendTestItemLog','current_hook','kxwwO','slow','EQPmR','name','tddHV','file','uuid','</dl>','DzdUZ','AFTER_EACH','currentTest','%s\x20','javascript','_testResults','after\x20each','LhcYl','RsLWu','LogCreated','CXsII','OMIKz','getTime','RtPvn','nWPRp','_paths','UnhandledError','prototype','bs:addLog:','nwJFJ','\x20-\x20','escape','11715640VRLhLH','ZKflq','prefixTestPath','axRbr','KoIsE','testStarted','getInstance','includes','hook_run','slice','type','7560154reZSuF','originalTitle','consoleLog','KnXtQ','speed','fast','YSZSz','TestRunStarted','util','nZBvW','JaaKV','%s\x20-\x20%s','YYfsk','ANPND','call','title','tJcsS','bright\x20yellow','DxLiY','\x20(%dms)','findGitConfig','\x20\x20<dt>','FICtI','cOoGf','RTxtw','4441887RNgEME','itRef','<dl>','KujRs','../../../helpers/helper','test_run','\x20with\x20error\x20:\x20','hook_run_uuid','symbols','multiple','27GupEhT','forEach','setCurrentTestData','logs','BiPbx','hook_type','finalResults','stdout','uploadEventData','runner','tcCxW','pass','../../../helpers/testhub/utils','sEQkT','_upstreamConfig','docAppend','TestRunSkipped','_indents','wVoGC','.js','iWKrQ','frkWE','\x20\x20<dd\x20class=\x22error\x22>','titlePath','mBlFj','scopes','appendTesthubParams'];a27_0x1dc2=function(){return _0x5028a6;};return a27_0x1dc2();}const util=require(a27_0x571973(0x19a)),fs=require('fs'),path=require(a27_0x571973(0x1dc)),{requireModule}=require(a27_0x571973(0x1af)),Base=requireModule('mocha/lib/reporters/base.js'),utils=requireModule(a27_0x571973(0x14d)),color=Base['color'],Mocha=requireModule(a27_0x571973(0x213)),Runnable=requireModule(a27_0x571973(0x211)),{v4:uuidv4}=require(a27_0x571973(0x16f)),bsSetupHelper=require(a27_0x571973(0x1af)),testhubUtils=require(a27_0x571973(0x1c1)),testHubConstants=require('../../../helpers/testhub/constants'),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),a27_0x15a77a={};a27_0x15a77a[a27_0x571973(0x1fd)]=a27_0x571973(0x21e),a27_0x15a77a[a27_0x571973(0x134)]=a27_0x571973(0x119),a27_0x15a77a['before\x20each']=a27_0x571973(0x116),a27_0x15a77a[a27_0x571973(0x177)]=a27_0x571973(0x172);const HOOK_TYPES_MAP=a27_0x15a77a,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha['Runner'][a27_0x571973(0x109)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0x571973(0x109)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a27_0x571973(0x205)),{consoleHolder}=require(a27_0x571973(0x11c)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a27_0x571973(0x153)),RequestQueueHandler=require(a27_0x571973(0x163)),requestQueueHandler=RequestQueueHandler[a27_0x571973(0x18d)]();class MyReporter{constructor(_0xab3d1c,_0x52730a){const _0x3ff13d=a27_0x571973,_0x95e037={'xHjzw':function(_0x50e5e2,_0x454c1c){return _0x50e5e2===_0x454c1c;},'IzyYc':'spec','tRWfV':function(_0x4518b1,_0x14eee0){return _0x4518b1+_0x14eee0;},'JCaTq':function(_0x3dbd34,_0x105bb5,_0x4c44d2){return _0x3dbd34(_0x105bb5,_0x4c44d2);},'kfEsZ':'green','HOaAE':_0x3ff13d(0x174),'TqJuB':_0x3ff13d(0x1eb),'VDKlf':_0x3ff13d(0x19d),'VKzfh':_0x3ff13d(0x112),'itRef':'doc','nZBvW':function(_0x1f857d,_0x349202){return _0x1f857d===_0x349202;},'FICtI':function(_0xd77adb){return _0xd77adb();},'PoWwy':_0x3ff13d(0x126),'ZKflq':_0x3ff13d(0x122),'MgUrx':'passed','DzdUZ':_0x3ff13d(0x197),'CXsII':function(_0xc656cf,_0x3f9cd2){return _0xc656cf+_0x3f9cd2;},'KEBDT':function(_0x3305a4,_0x1e934e,_0x532702){return _0x3305a4(_0x1e934e,_0x532702);},'IQsHN':'checkmark','Ykbuu':_0x3ff13d(0x1c0),'ffykq':_0x3ff13d(0x212),'VjonG':function(_0x3fa173,_0xba109f){return _0x3fa173+_0xba109f;},'zZIow':_0x3ff13d(0x1a5),'YSZSz':'fail','BCXDX':'\x20\x20%d)\x20%s','dAJJJ':function(_0x35ad90,_0x51725a){return _0x35ad90===_0x51725a;},'KHHTc':function(_0x40fd0d,_0x5322ca){return _0x40fd0d+_0x5322ca;},'wVoGC':_0x3ff13d(0x1a3),'EYHLm':'COMPLETED','UPjAO':function(_0x5633a3,_0x25beed){return _0x5633a3===_0x25beed;},'ueyNy':function(_0x2ae963,_0x3807ab){return _0x2ae963===_0x3807ab;},'YYfsk':_0x3ff13d(0x108),'sajqs':_0x3ff13d(0x16a),'mBlFj':function(_0xb27960,_0x1465ff){return _0xb27960===_0x1465ff;},'omhXI':function(_0x5330c8,_0x5efc3f){return _0x5330c8===_0x5efc3f;},'tcCxW':function(_0x434fde,_0x188e76){return _0x434fde===_0x188e76;},'EDzIY':_0x3ff13d(0x1f3),'Kidva':_0x3ff13d(0x12a),'aGtgl':function(_0x2c4f05,_0x3fad72){return _0x2c4f05===_0x3fad72;},'FzeUN':function(_0x2d3794){return _0x2d3794();},'DxLiY':_0x3ff13d(0x1c5),'ikrOY':function(_0x6e36e3,_0x4e2b38){return _0x6e36e3===_0x4e2b38;},'cKTUQ':function(_0x1b501f,_0x35c008){return _0x1b501f(_0x35c008);},'IaRpA':function(_0x334428){return _0x334428();},'lhDHE':function(_0x33cb6b,_0x364321){return _0x33cb6b(_0x364321);},'rvist':function(_0x11ec8a,_0x5eef34){return _0x11ec8a===_0x5eef34;},'ANPND':_0x3ff13d(0x12c),'RsLWu':function(_0x2368af,_0x38ff2c){return _0x2368af(_0x38ff2c);},'obwAR':function(_0x49e8b6,_0x50794e){return _0x49e8b6(_0x50794e);},'nwJFJ':function(_0x203110,_0x500223){return _0x203110!==_0x500223;}};this[_0x3ff13d(0x191)]=_0x52730a[_0x3ff13d(0x1da)][_0x3ff13d(0x191)],this[_0x3ff13d(0x21d)]=_0x95e037[_0x3ff13d(0x1a8)](isTestObservabilitySession),Base[_0x3ff13d(0x1a0)](this,_0xab3d1c,_0x52730a),this[_0x3ff13d(0x1c6)]=0x0,this[_0x3ff13d(0xfe)]=0x0,this[_0x3ff13d(0x14b)]=[],this['finalResults']=[],this[_0x3ff13d(0x159)]=0x0,this[_0x3ff13d(0x15e)]=![],this['_testResults']=[],this[_0x3ff13d(0x13c)]=_0x95e037['FICtI'](getTestEnv),this[_0x3ff13d(0x180)]=new PathHelper({'cwd':process[_0x3ff13d(0x222)]()},this[_0x3ff13d(0x13c)]['location_prefix']),this[_0x3ff13d(0x1c3)]=_0x52730a[_0x3ff13d(0x1da)][_0x3ff13d(0x1e5)],this['registerListeners']();_0x95e037['rvist'](this[_0x3ff13d(0x191)],_0x95e037[_0x3ff13d(0x1ac)])&&(this[_0x3ff13d(0x110)]='',this[_0x3ff13d(0x130)]=0x2);_0xab3d1c['once'](EVENT_RUN_BEGIN,async()=>{const _0x1232e7=_0x3ff13d;_0x95e037[_0x1232e7(0x221)](this[_0x1232e7(0x191)],_0x95e037['IzyYc'])&&Base[_0x1232e7(0x194)]();})['on'](EVENT_SUITE_BEGIN,_0x23d2c5=>{const _0x48485f=_0x3ff13d;if(_0x23d2c5['root'])return;if(_0x95e037[_0x48485f(0x221)](this['type'],_0x95e037['IzyYc']))this[_0x48485f(0x1ed)](),Base[_0x48485f(0x194)](_0x95e037[_0x48485f(0x1fc)](_0x95e037[_0x48485f(0x1fc)](this[_0x48485f(0x150)](),_0x95e037[_0x48485f(0x1ec)](color,_0x95e037[_0x48485f(0x1e7)],_0x95e037[_0x48485f(0x13b)])),_0x95e037[_0x48485f(0x1ec)](color,_0x95e037[_0x48485f(0x1d4)],_0x95e037[_0x48485f(0x107)])),_0x95e037[_0x48485f(0x1d8)],_0x23d2c5['title'],global[_0x48485f(0x1f5)]);else _0x95e037['xHjzw'](this[_0x48485f(0x191)],_0x95e037[_0x48485f(0x1ac)])&&(this[_0x48485f(0x1c4)](this[_0x48485f(0x150)]()+'<section\x20class=\x22suite\x22>'),++this[_0x48485f(0x130)],this[_0x48485f(0x1c4)](this[_0x48485f(0x150)]()+_0x48485f(0x133)+utils[_0x48485f(0x186)](_0x23d2c5[_0x48485f(0x1a1)]+_0x48485f(0x185)+global[_0x48485f(0x1f5)])+'</h1>'),this['docAppend'](this[_0x48485f(0x150)]()+_0x48485f(0x1ad)));})['on'](EVENT_HOOK_BEGIN,async _0x3af434=>{const _0x206054=_0x3ff13d;if(_0x95e037[_0x206054(0x19b)](testhubUtils[_0x206054(0x124)](testHubConstants['EVENT'][_0x206054(0x20c)]),!![])){if(!_0x3af434['hookAnalyticsId'])_0x3af434[_0x206054(0x132)]=_0x95e037[_0x206054(0x1a8)](uuidv4);else _0x3af434[_0x206054(0x136)]&&(_0x3af434[_0x206054(0x132)]=_0x95e037[_0x206054(0x1a8)](uuidv4),delete _0x3af434[_0x206054(0x136)]);_0x3af434[_0x206054(0x139)]=new Date()['toISOString'](),this[_0x206054(0x168)]=_0x3af434,await this[_0x206054(0x105)](_0x3af434,undefined,![],_0x95e037[_0x206054(0x1e1)]);}})['on'](EVENT_HOOK_END,async _0x23339d=>{const _0x497a45=_0x3ff13d;_0x95e037['xHjzw'](testhubUtils[_0x497a45(0x124)](testHubConstants[_0x497a45(0x207)]['HookFinished']),!![])&&(!_0x23339d[_0x497a45(0x136)]&&(_0x23339d[_0x497a45(0x136)]=!![],await this[_0x497a45(0x105)](_0x23339d,undefined,![],_0x95e037[_0x497a45(0x188)])));})['on'](EVENT_SUITE_END,_0x575dea=>{const _0x28db7e=_0x3ff13d,_0x3f1e53={'oLMEZ':function(_0x322338,_0x1657f2){const _0x318090=a27_0xbabc;return _0x95e037[_0x318090(0x221)](_0x322338,_0x1657f2);},'lLmMM':_0x95e037['MgUrx'],'MkvrC':_0x95e037[_0x28db7e(0x171)],'ocUkq':function(_0x4f582c,_0x4e1e53){const _0x15861d=_0x28db7e;return _0x95e037[_0x15861d(0x17b)](_0x4f582c,_0x4e1e53);},'cOoGf':function(_0x7b31a4,_0x3565ef,_0x57d9a4){const _0x7a1e2f=_0x28db7e;return _0x95e037[_0x7a1e2f(0x106)](_0x7b31a4,_0x3565ef,_0x57d9a4);},'gZqjd':_0x95e037[_0x28db7e(0x151)],'zRkIa':function(_0x21d174,_0x5af25e){return _0x95e037['tRWfV'](_0x21d174,_0x5af25e);},'ukqMD':function(_0x46e145,_0x40dcc7,_0x3c2ba0){const _0x59a183=_0x28db7e;return _0x95e037[_0x59a183(0x106)](_0x46e145,_0x40dcc7,_0x3c2ba0);},'iOdDc':_0x95e037[_0x28db7e(0x1d6)],'lBeux':_0x95e037[_0x28db7e(0x102)],'YdVWD':function(_0x582b7d,_0x2dc0fe){const _0x170dae=_0x28db7e;return _0x95e037[_0x170dae(0x1f4)](_0x582b7d,_0x2dc0fe);},'NLnzt':function(_0x406a58,_0x5663c0,_0x382364){return _0x95e037['JCaTq'](_0x406a58,_0x5663c0,_0x382364);},'ETFhY':_0x95e037['zZIow'],'kxwwO':_0x95e037['YSZSz'],'tAyTM':_0x95e037[_0x28db7e(0x1d9)]};if(_0x575dea['root'])return;if(_0x95e037[_0x28db7e(0xfc)](this[_0x28db7e(0x191)],_0x95e037['IzyYc']))Base[_0x28db7e(0x194)](),Base[_0x28db7e(0x194)](_0x95e037[_0x28db7e(0x1f2)](_0x95e037['CXsII'](this[_0x28db7e(0x150)](),_0x95e037[_0x28db7e(0x1ec)](color,_0x95e037[_0x28db7e(0x1c7)],_0x95e037[_0x28db7e(0x13b)])),_0x95e037[_0x28db7e(0x106)](color,_0x95e037[_0x28db7e(0x1d4)],_0x95e037[_0x28db7e(0x107)])),_0x95e037[_0x28db7e(0x15a)],_0x575dea[_0x28db7e(0x1a1)],global[_0x28db7e(0x1f5)]),this[_0x28db7e(0x14b)][_0x28db7e(0x1b6)](_0x3a9806=>{const _0x4f5bd5=_0x28db7e;if(_0x3f1e53[_0x4f5bd5(0x20d)](_0x3a9806[_0x4f5bd5(0x125)],_0x3f1e53[_0x4f5bd5(0x144)])){var _0x1f504e;_0x3f1e53['oLMEZ'](_0x3a9806[_0x4f5bd5(0x196)],_0x3f1e53[_0x4f5bd5(0x1e6)])?(_0x1f504e=_0x3f1e53[_0x4f5bd5(0x161)](_0x3f1e53[_0x4f5bd5(0x161)](this[_0x4f5bd5(0x150)](),_0x3f1e53[_0x4f5bd5(0x1a9)](color,_0x3f1e53['gZqjd'],_0x3f1e53[_0x4f5bd5(0x166)]('\x20\x20',Base[_0x4f5bd5(0x1b3)]['ok']))),_0x3f1e53['ukqMD'](color,_0x3f1e53['iOdDc'],_0x3f1e53['lBeux'])),Base[_0x4f5bd5(0x194)](_0x1f504e,_0x3a9806[_0x4f5bd5(0x1a1)])):(_0x1f504e=_0x3f1e53[_0x4f5bd5(0x161)](_0x3f1e53[_0x4f5bd5(0x117)](_0x3f1e53[_0x4f5bd5(0x117)](this['indent'](),_0x3f1e53['ukqMD'](color,_0x3f1e53[_0x4f5bd5(0x142)],_0x3f1e53['YdVWD']('\x20\x20',Base[_0x4f5bd5(0x1b3)]['ok']))),_0x3f1e53[_0x4f5bd5(0x13a)](color,_0x3f1e53[_0x4f5bd5(0x20f)],_0x3f1e53[_0x4f5bd5(0x1fb)])),_0x3f1e53['NLnzt'](color,_0x3a9806[_0x4f5bd5(0x196)],_0x3f1e53['ETFhY'])),Base[_0x4f5bd5(0x194)](_0x1f504e,_0x3a9806[_0x4f5bd5(0x1a1)],_0x3a9806[_0x4f5bd5(0x149)]));}else Base['consoleLog'](_0x3f1e53['zRkIa'](this['indent'](),_0x3f1e53[_0x4f5bd5(0x13a)](color,_0x3f1e53[_0x4f5bd5(0x169)],_0x3f1e53['tAyTM'])),++this[_0x4f5bd5(0xfe)],_0x3a9806[_0x4f5bd5(0x1a1)]);}),this[_0x28db7e(0x13e)]();else _0x95e037[_0x28db7e(0x129)](this['type'],_0x95e037[_0x28db7e(0x1ac)])&&(this[_0x28db7e(0x1c4)](this[_0x28db7e(0x150)]()+_0x28db7e(0x170)),--this[_0x28db7e(0x130)],this['docAppend'](this[_0x28db7e(0x150)]()+'</section>'),--this['__indents']);Array[_0x28db7e(0x182)]['push'][_0x28db7e(0x20b)](this[_0x28db7e(0x1bb)],this[_0x28db7e(0x14b)]),this[_0x28db7e(0x14b)]=[];})['on'](EVENT_TEST_PASS,async _0x4e7e31=>{const _0x5534c2=_0x3ff13d;this[_0x5534c2(0x14b)][_0x5534c2(0x1fe)]({'speed':_0x4e7e31['speed'],'suite':_0x4e7e31[_0x5534c2(0x15b)][_0x5534c2(0x1a1)],'title':_0x4e7e31['title'],'fullTitle':_0x4e7e31[_0x5534c2(0x157)](),'duration':_0x4e7e31['duration'],'state':_0x4e7e31[_0x5534c2(0x125)],'err':{},'currentRetry':_0x4e7e31[_0x5534c2(0x14e)](),'titlePathV':_0x4e7e31[_0x5534c2(0x1cc)](),'isPending':_0x4e7e31[_0x5534c2(0xff)]()});if(_0x95e037[_0x5534c2(0x131)](this['type'],_0x95e037[_0x5534c2(0x19e)]))_0x95e037[_0x5534c2(0x221)](_0x4e7e31[_0x5534c2(0x196)],_0x95e037[_0x5534c2(0x10f)])?process[_0x5534c2(0x1bc)][_0x5534c2(0x145)](Base[_0x5534c2(0x1de)](_0x95e037['wVoGC'],Base[_0x5534c2(0x1b3)]['dot'])):process[_0x5534c2(0x1bc)]['write'](Base[_0x5534c2(0x1de)](_0x4e7e31['speed'],Base[_0x5534c2(0x1b3)][_0x5534c2(0x108)]));else{if(_0x95e037[_0x5534c2(0xfc)](this['type'],_0x95e037[_0x5534c2(0x1ac)])){this[_0x5534c2(0x1c4)](this[_0x5534c2(0x150)]()+_0x5534c2(0x1a7)+utils[_0x5534c2(0x186)](_0x4e7e31[_0x5534c2(0x1a1)])+_0x5534c2(0x15f)),this[_0x5534c2(0x1c4)](this[_0x5534c2(0x150)]()+'\x20\x20<dt>'+utils['escape'](_0x4e7e31[_0x5534c2(0x16e)])+'</dt>');var _0x4d75ad=utils[_0x5534c2(0x186)](utils[_0x5534c2(0x20e)](_0x4e7e31[_0x5534c2(0x214)]));this[_0x5534c2(0x1c4)](this[_0x5534c2(0x150)]()+_0x5534c2(0x11a)+_0x4d75ad+_0x5534c2(0x201));}}_0x95e037[_0x5534c2(0x1cd)](testhubUtils[_0x5534c2(0x124)](),!![])&&(!_0x4e7e31[_0x5534c2(0x136)]&&(_0x4e7e31[_0x5534c2(0x136)]=!![],await this[_0x5534c2(0x105)](_0x4e7e31)));})['on'](EVENT_TEST_FAIL,async(_0x3fb603,_0x326afc)=>{const _0x1b360e=_0x3ff13d;this[_0x1b360e(0x14b)]['push']({'title':_0x3fb603['title'],'suite':_0x3fb603[_0x1b360e(0x15b)][_0x1b360e(0x1a1)],'state':_0x3fb603[_0x1b360e(0x125)],'err':{'message':util['inspect'](_0x326afc)},'fullTitle':_0x3fb603[_0x1b360e(0x157)](),'speed':_0x3fb603['speed'],'currentRetry':_0x3fb603['currentRetry'](),'titlePathV':_0x3fb603[_0x1b360e(0x1cc)]()});if(_0x95e037[_0x1b360e(0x1d5)](this[_0x1b360e(0x191)],_0x95e037[_0x1b360e(0x19e)]))process[_0x1b360e(0x1bc)][_0x1b360e(0x145)](Base[_0x1b360e(0x1de)](_0x95e037[_0x1b360e(0x198)],Base[_0x1b360e(0x1b3)]['bang']));else{if(_0x95e037['tcCxW'](this[_0x1b360e(0x191)],_0x95e037[_0x1b360e(0x1ac)])){const _0x14ec77=_0x95e037[_0x1b360e(0x158)]['split']('|');let _0x3c3f5c=0x0;while(!![]){switch(_0x14ec77[_0x3c3f5c++]){case'0':this[_0x1b360e(0x1c4)](this[_0x1b360e(0x150)]()+_0x1b360e(0x1cb)+utils[_0x1b360e(0x186)](_0x3fb603['err'])+_0x1b360e(0xfd));continue;case'1':this['docAppend'](this[_0x1b360e(0x150)]()+_0x1b360e(0x128)+utils[_0x1b360e(0x186)](_0x3fb603[_0x1b360e(0x16e)])+_0x1b360e(0x15f));continue;case'2':this[_0x1b360e(0x1c4)](this[_0x1b360e(0x150)]()+'\x20\x20<dt\x20class=\x22error\x22>'+utils[_0x1b360e(0x186)](_0x3fb603['title'])+'</dt>');continue;case'3':this[_0x1b360e(0x1c4)](this[_0x1b360e(0x150)]()+_0x1b360e(0x220)+_0x24be5a+'</code></pre></dd>');continue;case'4':var _0x24be5a=utils[_0x1b360e(0x186)](utils['clean'](_0x3fb603[_0x1b360e(0x214)]));continue;}break;}}}if(_0x95e037[_0x1b360e(0x131)](testhubUtils[_0x1b360e(0x124)](testHubConstants['EVENT'][_0x1b360e(0x12d)]),!![])){if(!_0x3fb603[_0x1b360e(0x136)]){_0x3fb603[_0x1b360e(0x136)]=!![];if(_0x3fb603[_0x1b360e(0x1e4)])await this[_0x1b360e(0x105)](_0x3fb603,_0x326afc);else _0x3fb603[_0x1b360e(0x132)]&&await this[_0x1b360e(0x105)](_0x3fb603,_0x326afc,![],_0x95e037[_0x1b360e(0x188)]);}}})['on'](EVENT_TEST_PENDING,async _0x21a27b=>{const _0x3eb096=_0x3ff13d;this[_0x3eb096(0x14b)][_0x3eb096(0x1fe)]({'title':_0x21a27b['title'],'suite':_0x21a27b['parent'][_0x3eb096(0x1a1)],'state':_0x21a27b['state'],'err':{},'fullTitle':_0x21a27b[_0x3eb096(0x157)](),'speed':_0x21a27b[_0x3eb096(0x196)],'currentRetry':_0x21a27b[_0x3eb096(0x14e)](),'titlePathV':_0x21a27b[_0x3eb096(0x1cc)]()}),_0x95e037[_0x3eb096(0x1bf)](this[_0x3eb096(0x191)],_0x95e037[_0x3eb096(0x19e)])&&process['stdout']['write'](Base['color'](_0x95e037[_0x3eb096(0x1f7)],Base['symbols']['comma'])),_0x95e037[_0x3eb096(0x14c)](testhubUtils[_0x3eb096(0x124)](),!![])&&(!_0x21a27b[_0x3eb096(0x1e4)]&&(_0x21a27b[_0x3eb096(0x1e4)]=_0x95e037[_0x3eb096(0x101)](uuidv4)),!_0x21a27b[_0x3eb096(0x136)]&&(_0x21a27b['markedStatus']=!![],await this['sendTestRunEvent'](_0x21a27b,undefined,![],_0x95e037[_0x3eb096(0x1a4)])));})['on'](EVENT_TEST_BEGIN,async _0x50560f=>{const _0x501c46=_0x3ff13d;_0x95e037[_0x501c46(0x131)](testhubUtils[_0x501c46(0x124)](),!![])&&await this[_0x501c46(0x18c)](_0x50560f);})['on'](EVENT_TEST_END,async _0x121ca2=>{const _0x4bc392=_0x3ff13d;_0x95e037[_0x4bc392(0x10b)](testhubUtils[_0x4bc392(0x124)](),!![])&&(!_0x121ca2[_0x4bc392(0x136)]&&(_0x121ca2[_0x4bc392(0x136)]=!![],await this['sendTestRunEvent'](_0x121ca2)));})[_0x3ff13d(0x165)](EVENT_RUN_END,async()=>{const _0x3eda86=_0x3ff13d;try{if(_0x95e037[_0x3eda86(0x14c)](testhubUtils['shouldProcessEventForTesthub'](),!![])){const _0x29be01=_0x95e037['cKTUQ'](getHookSkippedTests,this[_0x3eda86(0x1be)][_0x3eda86(0x13f)]);for(const _0x285980 of _0x29be01){!_0x285980[_0x3eda86(0x1e4)]&&(_0x285980['testAnalyticsId']=_0x95e037[_0x3eda86(0x1e3)](uuidv4)),await this[_0x3eda86(0x105)](_0x285980,undefined,![],_0x95e037[_0x3eda86(0x1a4)]);}}}catch(_0x18a523){_0x95e037['lhDHE'](debug,_0x3eda86(0x10c)+_0x18a523);}await requestQueueHandler['shutdown'](),_0x95e037[_0x3eda86(0x129)](this['type'],_0x95e037[_0x3eda86(0x1ac)])&&Base['consoleLog'](this['docHtml']);});if(this[_0x3ff13d(0x191)]&&![_0x95e037[_0x3ff13d(0x1ac)],_0x95e037[_0x3ff13d(0x19f)],_0x95e037['IzyYc'],_0x95e037[_0x3ff13d(0x19e)]][_0x3ff13d(0x18e)](this['type'])){const _0x35ae13=this['type'][_0x3ff13d(0x215)]();this[_0x3ff13d(0x218)]=null;try{this['Reporter']=_0x95e037[_0x3ff13d(0x179)](requireModule,'mocha/lib/reporters/'+_0x35ae13+_0x3ff13d(0x1c8));}catch{}if(_0x95e037['mBlFj'](this['Reporter'],null))try{this['Reporter']=_0x95e037['obwAR'](require,_0x35ae13);}catch(_0x1a92ca){console[_0x3ff13d(0x14f)]('Failed\x20to\x20load\x20reporter\x20'+_0x35ae13);}if(_0x95e037[_0x3ff13d(0x184)](this[_0x3ff13d(0x218)],null)){const _0x19c77d={};_0x19c77d[_0x3ff13d(0x123)]=_0x52730a[_0x3ff13d(0x1da)],this[_0x3ff13d(0x218)]=new this[(_0x3ff13d(0x218))](_0xab3d1c,_0x19c77d);}}}['indent'](){const _0xe131ce=a27_0x571973,_0x50acf0={'gFwaM':function(_0x18a642,_0x55d070){return _0x18a642(_0x55d070);}};return _0x50acf0[_0xe131ce(0x115)](Array,this[_0xe131ce(0x1c6)])['join']('\x20\x20');}['increaseIndent'](){this['_indents']++;}[a27_0x571973(0x13e)](){const _0x55077f=a27_0x571973;this[_0x55077f(0x1c6)]--;}[a27_0x571973(0x1c4)](_0xdc3c18){const _0x34baee=a27_0x571973;this[_0x34baee(0x110)]+=_0xdc3c18;}[a27_0x571973(0x1e2)](_0x2c490a,_0x4eaf3d){const _0xd1294c=a27_0x571973,_0x59c3d8={'OhHSj':function(_0x4a04f6,_0x49f564){return _0x4a04f6(_0x49f564);}},_0x4bb31d={};_0x4bb31d['failureCount']=_0x2c490a,_0x4bb31d[_0xd1294c(0x14b)]=this[_0xd1294c(0x1bb)],_0x59c3d8[_0xd1294c(0x156)](_0x4eaf3d,_0x4bb31d);}[a27_0x571973(0x1ff)](){const _0x4569f1=a27_0x571973;process[_0x4569f1(0x104)](_0x4569f1(0x183)+process['pid']),process['on'](_0x4569f1(0x183)+process[_0x4569f1(0x206)],this['appendTestItemLog'][_0x4569f1(0x120)](this)),process[_0x4569f1(0x104)](_0x4569f1(0x204)+process[_0x4569f1(0x206)]),process['on'](_0x4569f1(0x204)+process[_0x4569f1(0x206)],this[_0x4569f1(0x209)][_0x4569f1(0x120)](this));}[a27_0x571973(0x18c)]=async _0x518a30=>{const _0x52550b=a27_0x571973,_0x8d6b03={'Tivdj':function(_0x2fe89d){return _0x2fe89d();},'frkWE':function(_0x8986e6,_0x4dd747){return _0x8986e6>_0x4dd747;},'nWPRp':function(_0x4f480e,_0x262af5){return _0x4f480e===_0x262af5;},'XSbQZ':_0x52550b(0x199),'KujRs':function(_0xa6fc89,_0x3bb362){return _0xa6fc89(_0x3bb362);}};try{const _0x46fcee=this[_0x52550b(0x11f)];this[_0x52550b(0x11f)]=_0x518a30,_0x518a30[_0x52550b(0x152)]=null,_0x518a30['testAnalyticsId']=_0x8d6b03[_0x52550b(0x10e)](uuidv4),_0x518a30[_0x52550b(0x139)]=new Date()['toISOString'](),_0x8d6b03[_0x52550b(0x1ca)](_0x518a30['_currentRetry'],0x0)&&_0x46fcee&&_0x8d6b03[_0x52550b(0x17f)](_0x46fcee['title'],_0x518a30[_0x52550b(0x1a1)])?(_0x518a30[_0x52550b(0x152)]=_0x46fcee[_0x52550b(0x1e4)],await this['sendTestRunEvent'](_0x518a30,undefined,![],_0x8d6b03['XSbQZ']),_0x46fcee[_0x52550b(0x125)]=STATE_FAILED,await this['sendTestRunEvent'](_0x46fcee,undefined,!![])):await this['sendTestRunEvent'](_0x518a30,undefined,![],_0x8d6b03[_0x52550b(0x164)]);}catch(_0x5de9ca){_0x8d6b03[_0x52550b(0x1ae)](debug,_0x52550b(0x200)+_0x5de9ca);}};['sendTestRunEvent']=async(_0x422559,_0x56c941=undefined,_0x4758bf=![],_0x133bde='TestRunFinished')=>{const _0x509606=a27_0x571973,_0x383944={'YqfOi':function(_0x4a746a,_0x3694fb){return _0x4a746a===_0x3694fb;},'NMlTi':function(_0x1e6f6c,_0x26880d){return _0x1e6f6c!==_0x26880d;},'ewRuy':_0x509606(0x135),'BoxhJ':_0x509606(0x15c),'iWKrQ':function(_0x371cc2,_0x31fa5a){return _0x371cc2!==_0x31fa5a;},'ojkcm':function(_0x25a19a,_0xd4912e){return _0x25a19a!==_0xd4912e;},'PxDcK':function(_0x4fb249,_0x41ea2e){return _0x4fb249!==_0x41ea2e;},'dvGkt':_0x509606(0x138),'BiPbx':_0x509606(0x137),'tJcsS':_0x509606(0x175),'PpaAy':_0x509606(0x1c5),'NKBYa':'skipped','fvfZs':function(_0x2eef08,_0x1eb660){return _0x2eef08-_0x1eb660;},'UAKda':_0x509606(0xfa),'cOzox':_0x509606(0x181),'KnXtQ':_0x509606(0x139),'xqUjV':_0x509606(0x1e9),'FSqXC':function(_0x55e30f,_0x54c72e){return _0x55e30f(_0x54c72e);},'axRbr':'HookRunFinished','WDybp':_0x509606(0x100),'CEDVA':_0x509606(0x127),'sEQkT':'before\x20each','qVnjE':function(_0x359c41,_0x4f1cf3){return _0x359c41(_0x4f1cf3);},'daKPs':_0x509606(0x12f),'zKPJi':'failure_backtrace','dPUem':_0x509606(0x143),'JaaKV':'failure_reason_expanded','lMEgq':_0x509606(0x114),'RTxtw':_0x509606(0x155),'OMIKz':function(_0x262730,_0x53d4fb){return _0x262730===_0x53d4fb;},'oXvQx':_0x509606(0x1ba),'EtbWQ':_0x509606(0x18f),'KOOnf':_0x509606(0x1b0),'SOlxm':function(_0x47d10a,_0x185c03){return _0x47d10a(_0x185c03);}};try{if(_0x422559['body']&&_0x422559['body'][_0x509606(0xfb)](/browserstack internal helper hook/))return;let _0x140b56=[];if(_0x383944['YqfOi'](_0x422559[_0x509606(0x125)],STATE_FAILED)){if(_0x383944['NMlTi'](_0x422559[_0x509606(0x15c)],undefined))_0x140b56=_0x422559[_0x509606(0x15c)][_0x509606(0x1b4)]?[_0x422559['err']['multiple'],_0x383944[_0x509606(0x203)]]:[_0x422559[_0x509606(0x15c)],_0x383944[_0x509606(0x154)]];else _0x383944[_0x509606(0x1c9)](_0x56c941,undefined)?_0x140b56=[_0x56c941,_0x383944[_0x509606(0x154)]]:_0x140b56=[];}const _0x491185=_0x383944[_0x509606(0x11e)](_0x422559[_0x509606(0x15c)],undefined)?_0x422559[_0x509606(0x15c)][_0x509606(0x21f)]():_0x383944[_0x509606(0x1f9)](_0x56c941,undefined)?_0x56c941['toString']():undefined;let _0x53f17a;try{_0x53f17a=this[_0x509606(0x1f0)](_0x422559);}catch(_0x15fa26){_0x53f17a=null;}const _0x3f7587=_0x53f17a?this[_0x509606(0x1a6)](_0x53f17a):null,_0x85f90c=_0x53f17a?this[_0x509606(0x180)][_0x509606(0x189)](this[_0x509606(0x1f0)](_0x422559)):_0x383944['dvGkt'],_0x25d4bf={'framework':_0x383944[_0x509606(0x1b9)],'uuid':_0x422559[_0x509606(0x1e4)]||_0x422559[_0x509606(0x132)],'name':_0x422559[_0x509606(0x1a1)],'body':{'lang':_0x383944[_0x509606(0x1a2)],'code':_0x422559['body']},'scope':this[_0x509606(0x1db)](_0x422559),'scopes':this['scopes'](_0x422559),'identifier':_0x422559[_0x509606(0x157)](),'file_name':_0x85f90c,'vc_filepath':_0x3f7587?path[_0x509606(0x210)](_0x3f7587,_0x53f17a):null,'location':_0x85f90c,'result':_0x383944[_0x509606(0x111)](_0x133bde,_0x383944['PpaAy'])?_0x383944[_0x509606(0x141)]:this[_0x509606(0x1dd)](_0x422559[_0x509606(0x125)]),'failure_reason':_0x491185,'duration_in_ms':_0x422559[_0x509606(0x149)]||(_0x133bde[_0x509606(0xfb)](/Finished/)||_0x133bde[_0x509606(0xfb)](/Skipped/)?_0x383944[_0x509606(0x13d)](Date['now'](),new Date(_0x422559['started_at'])[_0x509606(0x17d)]()):null),'started_at':_0x422559['started_at'],'finished_at':_0x133bde[_0x509606(0xfb)](/Finished/)||_0x133bde[_0x509606(0xfb)](/Skipped/)?new Date()[_0x509606(0x11b)]():null,'failure':failureData['apply'](null,_0x140b56),'failure_type':!_0x491185?null:_0x491185[_0x509606(0xfb)](/AssertionError/)?_0x383944['UAKda']:_0x383944['cOzox'],'retry_of':_0x422559[_0x509606(0x152)]};testhubUtils[_0x509606(0x1cf)](_0x25d4bf,_0x133bde,_0x422559,FRAMEWORKS[_0x509606(0x216)]);_0x383944[_0x509606(0x111)](_0x133bde,_0x383944[_0x509606(0x147)])&&!_0x25d4bf[_0x383944[_0x509606(0x195)]]&&(_0x25d4bf[_0x383944[_0x509606(0x195)]]=_0x25d4bf[_0x383944[_0x509606(0x1fa)]]);if(_0x133bde[_0x509606(0xfb)](/HookRun/))[_0x25d4bf[_0x509606(0x1ba)],_0x25d4bf[_0x509606(0x16c)]]=_0x383944['FSqXC'](getHookDetails,_0x422559[_0x509606(0x157)]()||_0x422559[_0x509606(0x193)]||_0x422559['title']),_0x383944[_0x509606(0x111)](_0x133bde,_0x383944[_0x509606(0x18a)])&&(_0x383944[_0x509606(0x1c9)](_0x25d4bf[_0x509606(0x10a)],_0x383944['WDybp'])&&(_0x25d4bf[_0x509606(0x10a)]=_0x383944[_0x509606(0x21b)]),_0x383944[_0x509606(0x111)](_0x25d4bf[_0x509606(0x1ba)],_0x383944[_0x509606(0x1c2)])&&_0x383944[_0x509606(0x111)](_0x25d4bf[_0x509606(0x10a)],_0x383944['WDybp'])&&!_0x422559[_0x509606(0x11d)][_0x509606(0x173)][_0x509606(0x136)]&&(_0x422559[_0x509606(0x11d)][_0x509606(0x173)][_0x509606(0x136)]=!![],_0x422559[_0x509606(0x11d)][_0x509606(0x173)][_0x509606(0x125)]=STATE_FAILED,await this[_0x509606(0x105)](_0x422559[_0x509606(0x11d)]['currentTest'],undefined,!![])));else _0x133bde[_0x509606(0xfb)](/TestRun/)&&_0x383944[_0x509606(0x121)](mapTestHooks,_0x422559);const _0x2b74fc=_0x25d4bf[_0x383944['daKPs']][0x0];_0x2b74fc&&(_0x25d4bf[_0x383944['zKPJi']]=_0x2b74fc[_0x383944[_0x509606(0x162)]],_0x25d4bf[_0x383944[_0x509606(0x19c)]]=_0x2b74fc[_0x383944[_0x509606(0x148)]]);[_0x383944[_0x509606(0x1aa)],_0x383944[_0x509606(0x147)]]['includes'](_0x133bde)&&(this[_0x509606(0x176)][_0x509606(0x1fe)](_0x25d4bf),_0x25d4bf['hooks']=_0x383944[_0x509606(0x1d1)](getHooksForTest,_0x422559));const _0x44c906={'event_type':_0x383944[_0x509606(0x17c)](_0x133bde,_0x383944['PpaAy'])?_0x383944[_0x509606(0x1aa)]:_0x133bde};_0x133bde[_0x509606(0xfb)](/HookRun/)?(_0x25d4bf[_0x383944[_0x509606(0x1e8)]]=HOOK_TYPES_MAP[_0x25d4bf[_0x383944[_0x509606(0x1e8)]]],_0x44c906[_0x383944[_0x509606(0x1d3)]]=_0x25d4bf):_0x44c906[_0x383944[_0x509606(0x202)]]=_0x25d4bf,testhubUtils[_0x509606(0x1b7)](FRAMEWORKS[_0x509606(0x216)],_0x44c906),await SessionHandler[_0x509606(0x1bd)](_0x44c906);}catch(_0x280a72){_0x383944['SOlxm'](debug,_0x509606(0x113)+_0x133bde+_0x509606(0x1b1)+_0x280a72);}};[a27_0x571973(0x1a6)](_0x4dd752){const _0x9d77ab=a27_0x571973,_0x39f5a5={};_0x39f5a5[_0x9d77ab(0x18b)]=function(_0x30a1c8,_0x2a4fbc){return _0x30a1c8===_0x2a4fbc;},_0x39f5a5[_0x9d77ab(0x1ee)]=function(_0x456e0e,_0xb3d5b0){return _0x456e0e===_0xb3d5b0;},_0x39f5a5[_0x9d77ab(0x103)]=_0x9d77ab(0x1f1),_0x39f5a5[_0x9d77ab(0x16d)]=_0x9d77ab(0x1df);const _0x18dc74=_0x39f5a5,_0x46fd2a=path['sep'];if(_0x18dc74[_0x9d77ab(0x18b)](_0x4dd752,null)||_0x18dc74[_0x9d77ab(0x1ee)](_0x4dd752,'')||_0x18dc74[_0x9d77ab(0x1ee)](_0x4dd752,_0x46fd2a))return null;try{return fs['statSync'](path[_0x9d77ab(0x12e)](_0x4dd752,_0x18dc74[_0x9d77ab(0x103)],_0x18dc74[_0x9d77ab(0x16d)])),_0x4dd752;}catch(_0xef2668){const _0x14e2f7=path['dirname'](_0x4dd752);return this['findGitConfig'](_0x14e2f7);}}[a27_0x571973(0x167)]=async _0xfd3e6a=>{const _0x4c8eeb=a27_0x571973,_0x490682={'aEfLa':_0x4c8eeb(0x17a),'RxnyD':function(_0x17c4ba,_0x3d6d95){return _0x17c4ba(_0x3d6d95);}};try{this[_0x4c8eeb(0x168)]&&!this[_0x4c8eeb(0x168)][_0x4c8eeb(0x136)]&&(_0xfd3e6a[_0x4c8eeb(0x1b2)]=this[_0x4c8eeb(0x168)]['hookAnalyticsId']);!_0xfd3e6a[_0x4c8eeb(0x1b2)]&&this['current_test']&&!this[_0x4c8eeb(0x11f)][_0x4c8eeb(0x136)]&&(_0xfd3e6a[_0x4c8eeb(0x208)]=this[_0x4c8eeb(0x11f)][_0x4c8eeb(0x1e4)]);if(_0xfd3e6a[_0x4c8eeb(0x1b2)]||_0xfd3e6a[_0x4c8eeb(0x208)]){const _0x198480={};_0x198480[_0x4c8eeb(0x21a)]=_0x490682[_0x4c8eeb(0x14a)],_0x198480[_0x4c8eeb(0x1b8)]=[_0xfd3e6a],await SessionHandler[_0x4c8eeb(0x1bd)](_0x198480);}}catch(_0x2fbad6){_0x490682['RxnyD'](debug,_0x4c8eeb(0x1ea)+_0x2fbad6);}};[a27_0x571973(0x209)]=async _0x2fa49a=>{const _0x2e66f4=a27_0x571973,_0x552c03={'BiZOz':_0x2e66f4(0x21c),'LhcYl':'CBTSessionCreated','XfLxT':function(_0x2fc007,_0x10e2e5){return _0x2fc007(_0x10e2e5);}};try{const _0x5654a7={};_0x5654a7[_0x2e66f4(0x16f)]=_0x2fa49a[_0x2e66f4(0x16f)]||this[_0x2e66f4(0x11f)][_0x2e66f4(0x1e4)],_0x5654a7[_0x2e66f4(0x1d7)]=_0x2fa49a[_0x552c03[_0x2e66f4(0x1f8)]];const _0xdc4c7a=_0x5654a7,_0x50f2a8={};_0x50f2a8[_0x2e66f4(0x21a)]=_0x552c03[_0x2e66f4(0x178)],_0x50f2a8['test_run']=_0xdc4c7a,await SessionHandler[_0x2e66f4(0x1bd)](_0x50f2a8);}catch(_0x46bda0){_0x552c03[_0x2e66f4(0x219)](debug,_0x2e66f4(0x118)+_0x46bda0);}};[a27_0x571973(0x1dd)](_0x5b3c71){const _0xaeb05b=a27_0x571973,_0x4abe54={};_0x4abe54[_0xaeb05b(0x1e0)]=_0xaeb05b(0x127),_0x4abe54[_0xaeb05b(0x17e)]='pending',_0x4abe54[_0xaeb05b(0x146)]=_0xaeb05b(0x100);const _0x5b557b=_0x4abe54,_0x5c5069={};return _0x5c5069[STATE_PASSED]=_0x5b557b[_0xaeb05b(0x1e0)],_0x5c5069[STATE_PENDING]=_0x5b557b[_0xaeb05b(0x17e)],_0x5c5069[STATE_FAILED]=_0x5b557b[_0xaeb05b(0x146)],_0x5c5069[_0x5b3c71];}['scope'](_0x1c6864){const _0x53afc0=a27_0x571973,_0x334ae2={};_0x334ae2[_0x53afc0(0x16b)]=function(_0x99b497,_0x237b1a){return _0x99b497-_0x237b1a;};const _0x5223d5=_0x334ae2,_0xa292f9=_0x1c6864[_0x53afc0(0x1cc)]();return _0xa292f9[_0x53afc0(0x190)](0x0,_0x5223d5[_0x53afc0(0x16b)](_0xa292f9[_0x53afc0(0x10d)],0x1))[_0x53afc0(0x12e)]('\x20');}[a27_0x571973(0x1ce)](_0x1d6669){const _0x5f00d4=a27_0x571973,_0x3fab69={};_0x3fab69[_0x5f00d4(0x12b)]=function(_0x3ff527,_0x1daa9d){return _0x3ff527-_0x1daa9d;};const _0x4191b1=_0x3fab69,_0x3f48c1=_0x1d6669[_0x5f00d4(0x1cc)]();return _0x3f48c1[_0x5f00d4(0x190)](0x0,_0x4191b1[_0x5f00d4(0x12b)](_0x3f48c1['length'],0x1));}[a27_0x571973(0x1f0)](_0x40d3a5){const _0x180512=a27_0x571973,_0x2f1d8e={};_0x2f1d8e[_0x180512(0x20a)]=function(_0x3cdeea,_0x57e100){return _0x3cdeea>_0x57e100;};const _0x2827df=_0x2f1d8e;if(_0x40d3a5[_0x180512(0x16e)])return _0x40d3a5[_0x180512(0x16e)];if(_0x40d3a5[_0x180512(0x11d)]){const _0x2a3006=_0x40d3a5['ctx']['currentTest']?this[_0x180512(0x1f0)](_0x40d3a5[_0x180512(0x11d)]['currentTest']):null;if(_0x2a3006)return _0x2a3006;}if(_0x40d3a5['parent']){const _0x44d6ee=this[_0x180512(0x1f0)](_0x40d3a5['parent'])||(_0x40d3a5[_0x180512(0x15b)][_0x180512(0x11d)]&&_0x40d3a5['parent'][_0x180512(0x11d)]['currentTest']?this[_0x180512(0x1f0)](_0x40d3a5[_0x180512(0x15b)]['ctx'][_0x180512(0x173)]):null);if(_0x44d6ee)return _0x44d6ee;_0x40d3a5[_0x180512(0x15b)][_0x180512(0x160)]&&_0x2827df[_0x180512(0x20a)](_0x40d3a5[_0x180512(0x15b)][_0x180512(0x160)]['length'],0x0)&&_0x40d3a5[_0x180512(0x15b)][_0x180512(0x160)][_0x180512(0x1b6)](_0xc61e65=>{const _0x25b116=_0x180512,_0x3c135b=_0xc61e65[_0x25b116(0x11d)]?this[_0x25b116(0x1f0)](_0xc61e65['ctx']):null;if(_0x3c135b)return _0x3c135b;});}return null;}}module[a27_0x571973(0x140)]=MyReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a28_0xd7c2d4=a28_0x227b;(function(_0x32f88a,_0x37b5e1){const _0x330c59=a28_0x227b,_0x3a01a2=_0x32f88a();while(!![]){try{const _0x20d5c6=parseInt(_0x330c59(0x16c))/0x1*(parseInt(_0x330c59(0x118))/0x2)+-parseInt(_0x330c59(0x1c2))/0x3*(-parseInt(_0x330c59(0x12a))/0x4)+-parseInt(_0x330c59(0x1f6))/0x5+-parseInt(_0x330c59(0x164))/0x6*(-parseInt(_0x330c59(0x202))/0x7)+parseInt(_0x330c59(0x110))/0x8+-parseInt(_0x330c59(0x185))/0x9*(-parseInt(_0x330c59(0x1d6))/0xa)+-parseInt(_0x330c59(0x141))/0xb;if(_0x20d5c6===_0x37b5e1)break;else _0x3a01a2['push'](_0x3a01a2['shift']());}catch(_0x2689ab){_0x3a01a2['push'](_0x3a01a2['shift']());}}}(a28_0x11d2,0xf0ff3));const chalk=require(a28_0xd7c2d4(0x1b0)),logger=require(a28_0xd7c2d4(0x140))['winstonLogger'],{default:BrowserStackSetup}=require(a28_0xd7c2d4(0x17d)),helper=require(a28_0xd7c2d4(0x189)),utilities=require('../../helpers/utilities'),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0xd7c2d4(0x150)),{requireModule,nestedKeyValue}=require(a28_0xd7c2d4(0x189)),{getPercyOptions}=require(a28_0xd7c2d4(0x133)),Base=requireModule('mocha/lib/reporters/base.js'),collectFiles=requireModule(a28_0xd7c2d4(0x1fc)),constants=require('../utils/constants');function tag(_0x49bb1a,_0x5cb656,_0xe97406,_0x1379f4){const _0x554dfc=a28_0xd7c2d4,_0x2e2c29={'ZjmvM':function(_0x2480c6,_0x1e7c38){return _0x2480c6+_0x1e7c38;},'DTgrD':function(_0x248720,_0x18e0ef){return _0x248720+_0x18e0ef;},'XQILG':function(_0x33a584,_0x327cd3){return _0x33a584+_0x327cd3;},'LucKG':function(_0x591794,_0x11d8dd){return _0x591794(_0x11d8dd);},'MrxQg':function(_0x37f07b,_0x53b970){return _0x37f07b+_0x53b970;},'TwXxE':function(_0x8ee08d,_0x5916b7){return _0x8ee08d+_0x5916b7;},'XCdUQ':function(_0x1e9d91,_0x1f50e1){return _0x1e9d91+_0x1f50e1;},'fvCfp':function(_0x46381e,_0x5b0453){return _0x46381e+_0x5b0453;},'ACVsA':function(_0xe9427a,_0x453088){return _0xe9427a+_0x453088;}},_0x3d4adf=_0xe97406?'/>':'>',_0x82331d=[];let _0x4ed4ee;for(const _0x2b1516 in _0x5cb656){Object[_0x554dfc(0x17e)]['hasOwnProperty'][_0x554dfc(0x145)](_0x5cb656,_0x2b1516)&&_0x82331d['push'](_0x2e2c29[_0x554dfc(0x1e8)](_0x2e2c29['DTgrD'](_0x2e2c29[_0x554dfc(0x197)](_0x2b1516,'=\x22'),_0x2e2c29[_0x554dfc(0x13d)](escape,_0x5cb656[_0x2b1516])),'\x22'));}return _0x4ed4ee=_0x2e2c29[_0x554dfc(0x1df)](_0x2e2c29[_0x554dfc(0x163)](_0x2e2c29[_0x554dfc(0x197)]('<',_0x49bb1a),_0x82331d['length']?_0x2e2c29[_0x554dfc(0x163)]('\x20',_0x82331d['join']('\x20')):''),_0x3d4adf),_0x1379f4&&(_0x4ed4ee+=_0x2e2c29['XCdUQ'](_0x2e2c29[_0x554dfc(0x1a3)](_0x2e2c29[_0x554dfc(0x15e)](_0x1379f4,'</'),_0x49bb1a),_0x3d4adf)),_0x4ed4ee;}let xunitContent='';function a28_0x227b(_0x87bf93,_0x50fa51){const _0x11d212=a28_0x11d2();return a28_0x227b=function(_0x227bb0,_0x27f295){_0x227bb0=_0x227bb0-0x10d;let _0x128975=_0x11d212[_0x227bb0];return _0x128975;},a28_0x227b(_0x87bf93,_0x50fa51);}function xunitWrite(_0x54f118){xunitContent+=_0x54f118;}function xunitTest(_0x3afc23,_0x1e7607){const _0x39c6b8=a28_0xd7c2d4,_0x4baa34={'MRLOy':function(_0x5ca642,_0x2a83c5){return _0x5ca642/_0x2a83c5;},'GPBFv':function(_0x333aa1,_0x4d260f){return _0x333aa1===_0x4d260f;},'vjsLU':_0x39c6b8(0x1ce),'JglmB':function(_0x250161,_0x48f8c7){return _0x250161+_0x48f8c7;},'sRnKF':function(_0x4c7aed,_0x22467a){return _0x4c7aed(_0x22467a);},'MQIyA':function(_0x22882a,_0x20993f,_0x507090,_0x47b4e7,_0x2adb0b){return _0x22882a(_0x20993f,_0x507090,_0x47b4e7,_0x2adb0b);},'LkhIN':_0x39c6b8(0x13c),'WdwJd':function(_0x331006,_0x2579db,_0x5522bd,_0x319ba6,_0x272701){return _0x331006(_0x2579db,_0x5522bd,_0x319ba6,_0x272701);},'xDINK':_0x39c6b8(0x1d8),'GaGCb':function(_0x17cf1c,_0x2944bf){return _0x17cf1c+_0x2944bf;},'eVpUZ':function(_0x46ed9b,_0x2030f4,_0xccb31f,_0x24472b){return _0x46ed9b(_0x2030f4,_0xccb31f,_0x24472b);},'KsIKO':'skipped'};Base[_0x39c6b8(0x127)]=![];var _0x4f19b8={'classname':_0x3afc23['fullTitle'],'name':_0x3afc23[_0x39c6b8(0x1bc)],'time':_0x4baa34[_0x39c6b8(0x10e)](_0x3afc23[_0x39c6b8(0x193)],0x3e8)||0x0,'platform':_0x1e7607};if(_0x4baa34[_0x39c6b8(0x19b)](_0x3afc23[_0x39c6b8(0x180)],_0x4baa34[_0x39c6b8(0x12f)])){var _0x42ea8a=_0x3afc23['err'],_0xc427f9=!Base[_0x39c6b8(0x1ef)]&&Base[_0x39c6b8(0x1c3)](_0x42ea8a)?_0x4baa34['JglmB']('\x0a',Base['generateDiff'](_0x42ea8a[_0x39c6b8(0x178)],_0x42ea8a[_0x39c6b8(0x1fb)])):'';_0x4baa34[_0x39c6b8(0x144)](xunitWrite,_0x4baa34[_0x39c6b8(0x126)](tag,_0x4baa34[_0x39c6b8(0x1ba)],_0x4f19b8,![],_0x4baa34[_0x39c6b8(0x1cc)](tag,_0x4baa34['xDINK'],{},![],_0x4baa34[_0x39c6b8(0x1ab)](_0x4baa34[_0x39c6b8(0x131)](_0x4baa34[_0x39c6b8(0x131)](_0x4baa34[_0x39c6b8(0x144)](escape,_0x42ea8a['message']),_0x4baa34[_0x39c6b8(0x144)](escape,_0xc427f9)),'\x0a'),_0x4baa34[_0x39c6b8(0x144)](escape,_0x42ea8a[_0x39c6b8(0x15f)])))));}else _0x3afc23[_0x39c6b8(0x1c9)]?_0x4baa34[_0x39c6b8(0x144)](xunitWrite,_0x4baa34[_0x39c6b8(0x126)](tag,_0x4baa34[_0x39c6b8(0x1ba)],_0x4f19b8,![],_0x4baa34[_0x39c6b8(0x146)](tag,_0x4baa34[_0x39c6b8(0x128)],{},!![]))):_0x4baa34[_0x39c6b8(0x144)](xunitWrite,_0x4baa34[_0x39c6b8(0x146)](tag,_0x4baa34['LkhIN'],_0x4f19b8,!![]));};function getStats(_0xdd59b3){const _0x96ac36=a28_0xd7c2d4,_0x4e0f85={};_0x4e0f85[_0x96ac36(0x196)]=_0x96ac36(0x1ee),_0x4e0f85[_0x96ac36(0x15d)]=_0x96ac36(0x11c),_0x4e0f85['JvqYp']=_0x96ac36(0x1ce),_0x4e0f85[_0x96ac36(0x1ac)]=_0x96ac36(0x11a);const _0x3941b1=_0x4e0f85,_0x21c369=Object['keys'](_0xdd59b3);let _0x3e04c5=0x0,_0x322d63=0x0,_0x4d1e12=0x0,_0x30d40b=0x0;const _0x54059e=new Set();_0x21c369['forEach'](_0xe41fe7=>{const _0x5ce562=_0x96ac36,_0x9b920c={};_0x9b920c[_0x5ce562(0x1e6)]=_0x3941b1[_0x5ce562(0x196)],_0x9b920c[_0x5ce562(0x1d9)]=_0x3941b1['NGEJM'],_0x9b920c[_0x5ce562(0x19f)]=_0x3941b1['JvqYp'];const _0x2e66bd=_0x9b920c;_0xdd59b3[_0xe41fe7][_0x3941b1[_0x5ce562(0x1ac)]][_0x5ce562(0x135)](_0x5e6dce=>{const _0x46240c=_0x5ce562;_0x54059e[_0x46240c(0x191)](_0x5e6dce[_0x2e66bd[_0x46240c(0x1e6)]]),_0x3e04c5++;switch(_0x5e6dce[_0x46240c(0x180)]){case _0x2e66bd['PhtqX']:_0x4d1e12++;break;case _0x2e66bd['IrRyh']:_0x322d63++;break;default:_0x30d40b++;}});});const _0xc85d9d={};return _0xc85d9d['testSuites']=_0x54059e[_0x96ac36(0x19e)],_0xc85d9d['platforms']=_0x21c369,_0xc85d9d[_0x96ac36(0x1ca)]=_0x3e04c5,_0xc85d9d['testsFailed']=_0x322d63,_0xc85d9d[_0x96ac36(0x11d)]=_0x4d1e12,_0xc85d9d[_0x96ac36(0x113)]=_0x30d40b,_0xc85d9d;}function errorJSON(_0x535b04){const _0x622be2=a28_0xd7c2d4;var _0x3fad87={};return Object[_0x622be2(0x19a)](_0x535b04)[_0x622be2(0x135)](function(_0x22d671){_0x3fad87[_0x22d671]=_0x535b04[_0x22d671];},_0x535b04),_0x3fad87;}function cleanCycles(_0x472d8c){const _0x45325a=a28_0xd7c2d4,_0x4683b2={};_0x4683b2[_0x45325a(0x14b)]=function(_0x29f05b,_0x3e946b){return _0x29f05b===_0x3e946b;},_0x4683b2[_0x45325a(0x1b8)]=_0x45325a(0x176),_0x4683b2[_0x45325a(0x1aa)]=function(_0x188f2a,_0x18a1eb){return _0x188f2a!==_0x18a1eb;},_0x4683b2[_0x45325a(0x13a)]=function(_0x355c6f,_0x1f8bb4){return _0x355c6f+_0x1f8bb4;};const _0x25092b=_0x4683b2;var _0x50efca=[];return JSON['parse'](JSON[_0x45325a(0x18b)](_0x472d8c,function(_0x23c439,_0x243e16){const _0x206725=_0x45325a;if(_0x25092b[_0x206725(0x14b)](typeof _0x243e16,_0x25092b[_0x206725(0x1b8)])&&_0x25092b[_0x206725(0x1aa)](_0x243e16,null)){if(_0x25092b[_0x206725(0x1aa)](_0x50efca[_0x206725(0x1f3)](_0x243e16),-0x1))return _0x25092b[_0x206725(0x13a)]('',_0x243e16);_0x50efca[_0x206725(0x177)](_0x243e16);}return _0x243e16;}));}function a28_0x11d2(){const _0x59e68e=['testsuite','UMXmH','fBdqz','passes','GhAdz','fullTitle','mPVBj','config','prepareCapabilities','NGEJM','ACVsA','stack','bqwAB','\x0a\x0a\x0a','BNNdH','TwXxE','1609800TYlrmW','isBrowserstackInfra','Xmpxm','Running\x20your\x20mocha\x20tests','hBvmr','getErrorMessageFromResults','hBjKz','nGVAJ','37LloQLs','SDKTestSuccessful','log','BROWSERSTACK_TEST_OBSERVABILITY','notifyUpdate','gIKWI','BROWSERSTACK_TEST_OBSERVABILITY_YML','FLRsB','accessibility','suiteName','object','push','actual','failures','Setting\x20non\x20exit\x20code\x20for\x20failures','toUTCString','cFFKk','../../helpers/BrowserStackSetup','prototype','YGnFP','state','spec','Running\x20your\x20mocha\x20tests\x20across\x20','GEokm','parallelsPerPlatform','27OmFZXn','JtjYR','isTestObservabilitySession','gDfLt','../../helpers/helper','info','stringify','fireFunnelTestEvent','markSDKSetupComplete','MOCHA','vJEwS','Tests:\x20\x20\x20\x20\x20\x20\x20','add','error\x20removing\x20tcg\x20config\x20file','duration','DUBgv','xdGgU','yDaie','XQILG','get','lWumQ','getOwnPropertyNames','GPBFv','JZQeG','KnQzY','size','IrRyh','currentRetry','aBUYl','argv','fvCfp','efdLi','stats','files','brFHw','printBuildLink','useW3C','UaRBk','JglmB','mCnqc','aHRKv','xeVik','Total\x20Platforms:\x20','chalk','WdGoP','HCkUe','getTCGConfigFilePaths','error','finally','getUserWorkerCount','doc','ywApH','cjs','LkhIN','bold','title','initialize','Total\x20Suites:\x20','platform','mocha','Listing\x20all\x20the\x20failures','10785YjGSue','showDiff','kFGII','writeFileSync','sort','reporterOptions','\x20total','isPending','totalTests','NAtdo','WdwJd','dwdXk','failed','hRxSb','nQalf','isUndefined','includes','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','bTZra','kPmDN','2175330GnxTIy','IdQSH','failure','PhtqX','rootHooks','QAYSp','unlinkSync','recursive','pending','MrxQg','cHBQc','getPlatformName','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','\x20passed','BROWSERSTACK_RERUN_TESTS','setupTCGAuth','ahQqF','then','ZjmvM','titlePathV','iPJwV','unoYc','speed','aZLFk','suite','hideDiff','bgBlueBright','logLevel','reporter','indexOf','file','DqjPj','4936195XIfJLf','QDDBN','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','EFnlX','platforms','expected','mocha/lib/cli/collect-files.js','WYzaQ','OhQxu','list','testObservability','err','28EYiawv','--disable-test-observability','wEIQP','MRLOy','DPYQM','4249848sWtWUx','fgyIL','json','testsPending','length','proxySettings','accessibilityOptions','assign','81198KuuQDl','FOzrn','results','UDBDK','passed','testsPassed','shouldReRunObservabilityTests','finalExecution','FRAMEWORKS','consoleLog','rmdirSync','exitCode','BROWSERSTACK_TEST_ACCESSIBILITY_YML','red','MQIyA','useColors','KsIKO','Mocha\x20Tests','1684unEPND','cBmnh','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','rLRKM','imOml','vjsLU','PEitE','GaGCb','sLnOc','../../helpers/percy/utils','Couldn\x27t\x20write\x20xunit\x20result\x20to','forEach','getHubUrl','Couldn\x27t\x20write\x20json\x20result\x20to','yellow','debug','khDNY','reporter-option','testcase','LucKG','HEkHz','rerunTests','../../helpers/logger','36281586ODJlSF','EtavR','has','sRnKF','call','eVpUZ','hGWhn','handleApp','Printing\x20stats\x20of\x20tests','cliConfig','VTNbk','mIFqY','env','Writing\x20json\x20result\x20to\x20file','cNDwP','../test-runner','output','sdRKF','testSuites'];a28_0x11d2=function(){return _0x59e68e;};return a28_0x11d2();}function clean(_0x5b828b){const _0x57b847=a28_0xd7c2d4,_0x1cc535={'hGWhn':function(_0x4bc12e,_0x436f52){return _0x4bc12e instanceof _0x436f52;},'efdLi':function(_0x30c2cc,_0x1a97e6){return _0x30c2cc(_0x1a97e6);}};var _0x51e12f=_0x5b828b[_0x57b847(0x201)]||{};return _0x1cc535[_0x57b847(0x147)](_0x51e12f,Error)&&(_0x51e12f=_0x1cc535[_0x57b847(0x1a4)](errorJSON,_0x51e12f)),{'title':_0x5b828b['title'],'fullTitle':_0x5b828b[_0x57b847(0x159)],'file':_0x5b828b[_0x57b847(0x1f4)],'duration':_0x5b828b[_0x57b847(0x193)],'currentRetry':_0x5b828b[_0x57b847(0x1a0)],'speed':_0x5b828b[_0x57b847(0x1ec)],'err':_0x1cc535[_0x57b847(0x1a4)](cleanCycles,_0x51e12f)};}function printStats(_0x1aedf5,_0x2b47e4='spec',_0x2df247={}){const _0x42da31=a28_0xd7c2d4,_0x5951d1={'JZQeG':function(_0x25cb5c,_0x1d8583){return _0x25cb5c(_0x1d8583);},'KkiRK':function(_0x4b235b,_0x57b948){return _0x4b235b===_0x57b948;},'ouHFX':_0x42da31(0x11c),'ErsWc':_0x42da31(0x157),'EVWIe':function(_0x5a2797,_0x11b3a3){return _0x5a2797(_0x11b3a3);},'fBdqz':_0x42da31(0x1ce),'GNKFO':_0x42da31(0x179),'hBjKz':_0x42da31(0x1de),'WYzaQ':_0x42da31(0x11a),'NAtdo':function(_0x590a71,_0x2011b2){return _0x590a71===_0x2011b2;},'JtjYR':function(_0x1b0d0e,_0x417f3c){return _0x1b0d0e*_0x417f3c;},'cHBQc':function(_0x3d5111,_0x14dd8a,_0x14a6f6){return _0x3d5111(_0x14dd8a,_0x14a6f6);},'fgyIL':function(_0x37b116,_0x2c31b8){return _0x37b116>_0x2c31b8;},'unoYc':function(_0x303a14){return _0x303a14();},'IdQSH':_0x42da31(0x1b7),'cNDwP':function(_0x495927,_0x56dfbd){return _0x495927(_0x56dfbd);},'WdGoP':_0x42da31(0x17a),'ZFPpW':_0x42da31(0x149),'GlunY':function(_0xa764f8,_0x242a08){return _0xa764f8+_0x242a08;},'NtQux':_0x42da31(0x1af),'kFGII':function(_0x482193,_0x1f7ac0){return _0x482193+_0x1f7ac0;},'vJEwS':_0x42da31(0x1be),'DqjPj':function(_0x5d10ca,_0x5196d2){return _0x5d10ca+_0x5196d2;},'OhQxu':_0x42da31(0x190),'rLRKM':function(_0x3df855,_0x35a7db){return _0x3df855>_0x35a7db;},'nQalf':function(_0x33d1e5,_0x521215){return _0x33d1e5>_0x521215;},'FLRsB':function(_0x52886d,_0x258454){return _0x52886d+_0x258454;},'sLnOc':_0x42da31(0x161),'HEkHz':function(_0x2305b4,_0x2923ab){return _0x2305b4===_0x2923ab;},'bqwAB':_0x42da31(0x112),'UMXmH':_0x42da31(0x14e),'GmSGC':_0x42da31(0x137),'aBUYl':_0x42da31(0x1e2),'hBvmr':'xunit','QDDBN':_0x42da31(0x129),'bTZra':function(_0x31df00,_0x48aeb2){return _0x31df00||_0x48aeb2;},'iPJwV':function(_0x347f92,_0x2c3e09){return _0x347f92(_0x2c3e09);},'efmsS':function(_0x12c85a,_0x1e6d4e,_0x5dba36,_0x5e0c5b){return _0x12c85a(_0x1e6d4e,_0x5dba36,_0x5e0c5b);},'gIKWI':_0x42da31(0x154),'aHRKv':function(_0x47488e,_0x5f312){return _0x47488e-_0x5f312;},'PEitE':function(_0x20d15b,_0x4de241){return _0x20d15b-_0x4de241;},'wEIQP':function(_0x17dc85,_0x4c829f){return _0x17dc85/_0x4c829f;},'UDBDK':function(_0x9b57c0,_0xf65bab){return _0x9b57c0(_0xf65bab);},'eIcsC':'</testsuite>','AalfB':'Writing\x20xunit\x20result\x20to\x20file','xdGgU':_0x42da31(0x134),'KnQzY':_0x42da31(0x1f8),'lWumQ':_0x42da31(0x1c1),'cBmnh':'****\x20FAILURES\x20****'};if(_0x5951d1['KkiRK'](_0x2b47e4,_0x5951d1[_0x42da31(0x1d7)]))return;const _0x2c320b=0x0,_0xf1baeb=()=>{const _0x19f9f1=_0x42da31;return _0x5951d1[_0x19f9f1(0x19c)](Array,_0x2c320b)['join']('\x20\x20');},{testSuites:_0x1b65f4,platforms:_0x3b79ef,totalTests:_0x24df7f,testsFailed:_0x24a89b,testsPassed:_0x49f8e2,testsPending:_0x1be1bb}=_0x5951d1[_0x42da31(0x14f)](getStats,_0x1aedf5);_0x5951d1[_0x42da31(0x111)](_0x24a89b,0x0)&&(logger[_0x42da31(0x139)](_0x5951d1[_0x42da31(0x1b1)]),process[_0x42da31(0x123)]=Math['min'](_0x24a89b,0xff));logger[_0x42da31(0x139)](_0x5951d1['ZFPpW']);const _0x30fbd3=''+_0x5951d1['GlunY'](chalk['bold'](_0x5951d1['NtQux']),_0x3b79ef[_0x42da31(0x114)]),_0x22fa2b=''+_0x5951d1[_0x42da31(0x1c4)](chalk[_0x42da31(0x1bb)](_0x5951d1[_0x42da31(0x18f)]),_0x1b65f4),_0x32de2c=''+_0x5951d1[_0x42da31(0x1c4)](_0x5951d1['GlunY'](_0x5951d1[_0x42da31(0x1f5)](chalk[_0x42da31(0x1bb)](_0x5951d1[_0x42da31(0x1fe)]),_0x5951d1['rLRKM'](_0x24a89b,0x0)?chalk[_0x42da31(0x1bb)][_0x42da31(0x125)](_0x24a89b+'\x20failed')+',\x20':''),_0x5951d1[_0x42da31(0x12d)](_0x1be1bb,0x0)?chalk[_0x42da31(0x1bb)][_0x42da31(0x138)](_0x1be1bb+'\x20skipped')+',\x20':''),_0x5951d1[_0x42da31(0x1d0)](_0x49f8e2,0x0)?chalk['bold']['green'](_0x49f8e2+_0x42da31(0x1e3))+',\x20':'')+_0x24df7f+_0x42da31(0x1c8);console['log'](_0x5951d1[_0x42da31(0x1c4)](_0x5951d1['DqjPj'](_0x5951d1[_0x42da31(0x1f5)](_0x5951d1[_0x42da31(0x1c4)](_0x5951d1[_0x42da31(0x173)](_0x5951d1[_0x42da31(0x132)],_0x30fbd3),'\x0a'),_0x22fa2b),'\x0a'),_0x32de2c));if(_0x5951d1[_0x42da31(0x13e)](_0x2b47e4,_0x5951d1[_0x42da31(0x160)])){const _0x29adde={},_0x394bf7={};_0x394bf7[_0x42da31(0x153)]=_0x1b65f4,_0x394bf7[_0x42da31(0x1fa)]=_0x3b79ef,_0x394bf7['testsFailed']=_0x24a89b,_0x394bf7[_0x42da31(0x11d)]=_0x49f8e2,_0x394bf7[_0x42da31(0x113)]=_0x1be1bb,_0x29adde[_0x42da31(0x1a5)]=_0x394bf7,_0x3b79ef[_0x42da31(0x135)](_0x589f9c=>{const _0x457a1e=_0x42da31,_0x33d96b={'nGVAJ':function(_0x1e7846,_0x5400ef){return _0x5951d1['KkiRK'](_0x1e7846,_0x5400ef);},'DUBgv':_0x5951d1['ouHFX'],'Xmpxm':_0x5951d1['ErsWc'],'EFnlX':function(_0x36994a,_0x45df1c){return _0x5951d1['EVWIe'](_0x36994a,_0x45df1c);},'GhAdz':_0x5951d1[_0x457a1e(0x156)],'brFHw':_0x5951d1['GNKFO'],'EtavR':_0x5951d1[_0x457a1e(0x16a)]};_0x29adde[_0x589f9c]={'pending':[],'failures':[],'passes':[],'tests':_0x1aedf5[_0x589f9c][_0x5951d1[_0x457a1e(0x1fd)]]['map'](clean)},_0x1aedf5[_0x589f9c][_0x5951d1[_0x457a1e(0x1fd)]][_0x457a1e(0x135)](_0x2d24b6=>{const _0x3557e5=_0x457a1e;if(_0x33d96b[_0x3557e5(0x16b)](_0x2d24b6['state'],_0x33d96b[_0x3557e5(0x194)]))_0x29adde[_0x589f9c][_0x33d96b[_0x3557e5(0x166)]][_0x3557e5(0x177)](_0x33d96b[_0x3557e5(0x1f9)](clean,_0x2d24b6));else _0x33d96b[_0x3557e5(0x16b)](_0x2d24b6[_0x3557e5(0x180)],_0x33d96b[_0x3557e5(0x158)])?_0x29adde[_0x589f9c][_0x33d96b[_0x3557e5(0x1a7)]][_0x3557e5(0x177)](_0x33d96b[_0x3557e5(0x1f9)](clean,_0x2d24b6)):_0x29adde[_0x589f9c][_0x33d96b[_0x3557e5(0x142)]][_0x3557e5(0x177)](_0x33d96b[_0x3557e5(0x1f9)](clean,_0x2d24b6));});});if(_0x2df247[_0x42da31(0x151)])try{logger[_0x42da31(0x139)](_0x5951d1[_0x42da31(0x155)],_0x2df247[_0x42da31(0x151)]),fs['writeFileSync'](_0x2df247[_0x42da31(0x151)],JSON[_0x42da31(0x18b)](_0x29adde,null,0x3));}catch(_0x1f10d7){logger[_0x42da31(0x1b4)](_0x5951d1['GmSGC'],_0x2df247[_0x42da31(0x151)]),logger[_0x42da31(0x139)](_0x1f10d7);}else logger[_0x42da31(0x139)](_0x5951d1[_0x42da31(0x1a1)]),console[_0x42da31(0x16e)](JSON[_0x42da31(0x18b)](_0x29adde,null,0x3));}else{if(_0x5951d1['HEkHz'](_0x2b47e4,_0x5951d1[_0x42da31(0x168)])){let _0x11a1bc;const _0x5d35f4=_0x5951d1[_0x42da31(0x1f7)];_0x2df247&&(_0x11a1bc=_0x2df247[_0x42da31(0x175)]);_0x11a1bc=_0x5951d1[_0x42da31(0x1d4)](_0x11a1bc,_0x5d35f4);let _0x3ae92c=0x0,_0xa0e9b5=0x0,_0x3e2f13=0x0,_0x2d4c02=0x0;_0x3b79ef[_0x42da31(0x135)](_0x142ba1=>{const _0x3cbc23=_0x42da31;_0x1aedf5[_0x142ba1][_0x5951d1[_0x3cbc23(0x1fd)]][_0x3cbc23(0x135)](_0x278180=>{const _0x355a0f=_0x3cbc23;if(_0x5951d1['NAtdo'](_0x278180['state'],_0x5951d1['ouHFX']))_0x3ae92c++;else _0x5951d1[_0x355a0f(0x1cb)](_0x278180[_0x355a0f(0x180)],_0x5951d1[_0x355a0f(0x156)])&&_0xa0e9b5++;_0x3e2f13++,_0x2d4c02+=_0x5951d1[_0x355a0f(0x186)](_0x278180[_0x355a0f(0x193)],0x1);});}),_0x5951d1[_0x42da31(0x1ea)](xunitWrite,_0x5951d1['efmsS'](tag,_0x5951d1[_0x42da31(0x171)],{'name':_0x11a1bc,'tests':_0x3e2f13,'failures':0x0,'errors':_0xa0e9b5,'skipped':_0x5951d1[_0x42da31(0x1ad)](_0x5951d1[_0x42da31(0x130)](_0x3e2f13,_0xa0e9b5),_0x3ae92c),'timestamp':new Date()[_0x42da31(0x17b)](),'time':_0x5951d1[_0x42da31(0x10d)](_0x2d4c02,0x3e8)||0x0},![])),_0x3b79ef['forEach'](_0x13ec35=>{const _0x3892c5=_0x42da31,_0x57d502={'aZLFk':function(_0x58d393,_0x48b5a4,_0x4a2da7){const _0x3885dd=a28_0x227b;return _0x5951d1[_0x3885dd(0x1e0)](_0x58d393,_0x48b5a4,_0x4a2da7);}};_0x1aedf5[_0x13ec35][_0x5951d1['WYzaQ']][_0x3892c5(0x135)](_0x4584a3=>{const _0x46588b=_0x3892c5;_0x57d502[_0x46588b(0x1ed)](xunitTest,_0x4584a3,_0x13ec35);});}),_0x5951d1[_0x42da31(0x11b)](xunitWrite,_0x5951d1['eIcsC']);if(_0x2df247[_0x42da31(0x151)])try{logger['debug'](_0x5951d1['AalfB'],_0x2df247[_0x42da31(0x151)]),fs[_0x42da31(0x1c5)](_0x2df247['output'],xunitContent);}catch(_0x8213c6){logger[_0x42da31(0x1b4)](_0x5951d1[_0x42da31(0x195)],_0x2df247[_0x42da31(0x151)]),logger['debug'](_0x8213c6);}else logger[_0x42da31(0x139)](_0x5951d1[_0x42da31(0x19d)]),console['log'](xunitContent);}else{if(_0x5951d1[_0x42da31(0x1cb)](_0x24a89b,0x0))return;console[_0x42da31(0x16e)](),logger[_0x42da31(0x139)](_0x5951d1[_0x42da31(0x199)]),console[_0x42da31(0x16e)](chalk[_0x42da31(0x1bb)]['bgRedBright'](_0x5951d1[_0x42da31(0x12b)])),_0x3b79ef['forEach'](_0xd614bf=>{const _0x27057d=_0x42da31,_0xb9f48c=[];_0x1aedf5[_0xd614bf][_0x5951d1[_0x27057d(0x1fd)]]['forEach'](_0x202b90=>{const _0x4fc4c2=_0x27057d;_0x5951d1['NAtdo'](_0x202b90[_0x4fc4c2(0x180)],_0x5951d1[_0x4fc4c2(0x156)])&&(_0x202b90['titlePath']=()=>_0x202b90[_0x4fc4c2(0x1e9)],_0xb9f48c['push'](_0x202b90));}),_0x5951d1[_0x27057d(0x111)](_0xb9f48c['length'],0x0)&&(Base['consoleLog'](),Base[_0x27057d(0x121)](_0x5951d1[_0x27057d(0x1eb)](_0xf1baeb),chalk[_0x27057d(0x1bb)][_0x27057d(0x1f0)](_0xd614bf)),Base[_0x27057d(0x1ff)](_0xb9f48c));});}}}async function run(_0x3349c6,_0x4f7b69){const _0x23ad94=a28_0xd7c2d4,_0x87527={'GEokm':function(_0x3d0c54,_0x101183,_0x673fe,_0x37224b){return _0x3d0c54(_0x101183,_0x673fe,_0x37224b);},'HCkUe':_0x23ad94(0x13b),'jHCbB':_0x23ad94(0x192),'YGnFP':_0x23ad94(0x16d),'kPmDN':_0x23ad94(0x1c0),'mYIDl':_0x23ad94(0x203),'BNNdH':'--disable-browserstack-automation','xeVik':function(_0x100f2e,_0x5795e5){return _0x100f2e!=_0x5795e5;},'mIFqY':_0x23ad94(0x1b9),'imOml':'mjs','QAYSp':'test','hRxSb':_0x23ad94(0x13f),'FOzrn':function(_0x271127,_0x7396fd){return _0x271127(_0x7396fd);},'dwdXk':function(_0x10f9af,_0x25e6c9,_0x1b8920){return _0x10f9af(_0x25e6c9,_0x1b8920);},'cFFKk':_0x23ad94(0x1a6),'DPYQM':_0x23ad94(0x167),'sdRKF':'Now,\x20showing\x20logs\x20from\x20mocha','mPVBj':function(_0x49aecd,_0x59a233){return _0x49aecd*_0x59a233;},'gDfLt':function(_0x53cfd6,_0x32714d){return _0x53cfd6!==_0x32714d;}};process[_0x23ad94(0x1a2)][_0x23ad94(0x1d2)](_0x87527['mYIDl'])&&(process[_0x23ad94(0x14d)][_0x23ad94(0x16f)]=![]);process['argv'][_0x23ad94(0x1d2)](_0x87527[_0x23ad94(0x162)])&&(process[_0x23ad94(0x14d)]['BROWSERSTACK_AUTOMATION']=![]);const _0x16f1d9=new BrowserStackSetup(_0x3349c6,_0x87527[_0x23ad94(0x1d5)]);helper['isBrowserstackInfra']()?(await _0x16f1d9[_0x23ad94(0x1bd)](),await helper[_0x23ad94(0x148)](_0x16f1d9[_0x23ad94(0x15b)])):await _0x16f1d9[_0x23ad94(0x1e5)]();const _0x25f8ca=[];let _0x18a0fd=[];if(!_0x16f1d9[_0x23ad94(0x15b)])return;_0x87527[_0x23ad94(0x1ae)](_0x16f1d9['config'][_0x23ad94(0x200)],null)&&(process[_0x23ad94(0x14d)][_0x23ad94(0x172)]=_0x16f1d9[_0x23ad94(0x15b)][_0x23ad94(0x200)]);!helper[_0x23ad94(0x1d1)](_0x16f1d9[_0x23ad94(0x15b)][_0x23ad94(0x174)])&&(process[_0x23ad94(0x14d)][_0x23ad94(0x124)]=_0x16f1d9[_0x23ad94(0x15b)][_0x23ad94(0x174)]);!helper[_0x23ad94(0x1d1)](_0x16f1d9[_0x23ad94(0x15b)][_0x23ad94(0x116)])&&(process[_0x23ad94(0x14d)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x16f1d9[_0x23ad94(0x15b)][_0x23ad94(0x116)]));const {extension:extension=['js',_0x87527[_0x23ad94(0x14c)],_0x87527[_0x23ad94(0x12e)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x87527[_0x23ad94(0x1db)]]}=_0x3349c6,_0x3536cf={..._0x3349c6};_0x3536cf[_0x23ad94(0x1da)]=null;const _0x5daafd=_0x3536cf;let _0x5c6640;if(testOpsHelper[_0x23ad94(0x187)]()&&testOpsHelper[_0x23ad94(0x11e)]()){let _0x4f491e=process['env'][_0x23ad94(0x1e4)];!helper[_0x23ad94(0x1d1)](_0x16f1d9['cliConfig'])&&_0x16f1d9[_0x23ad94(0x14a)][_0x23ad94(0x143)](_0x87527[_0x23ad94(0x1cf)])&&(_0x4f491e=_0x16f1d9['cliConfig'][_0x23ad94(0x198)](_0x87527[_0x23ad94(0x1cf)])),_0x5c6640=testOpsHelper['parseFileNames'](_0x4f491e);}if(helper[_0x23ad94(0x1d1)](_0x5c6640)){const _0x53973a={};_0x53973a['ignore']=ignore,_0x53973a['extension']=extension,_0x53973a[_0x23ad94(0x1f4)]=file,_0x53973a[_0x23ad94(0x1dd)]=recursive,_0x53973a[_0x23ad94(0x1c6)]=sort,_0x53973a['spec']=spec,_0x5c6640=_0x87527['FOzrn'](collectFiles,_0x53973a),_0x87527[_0x23ad94(0x1cd)](nestedKeyValue,_0x5c6640,[_0x87527[_0x23ad94(0x17c)]])&&(_0x5c6640=_0x5c6640[_0x23ad94(0x1a6)]);}helper[_0x23ad94(0x18d)]();if(!helper[_0x23ad94(0x165)]()){const _0x3a9c91=0x1,_0x21110f={..._0x5daafd};_0x21110f[_0x23ad94(0x181)]=[..._0x5c6640],_0x25f8ca['push']({'mochaOpts':_0x21110f,'configuration':{'platform':os[_0x23ad94(0x1bf)]()}}),logger[_0x23ad94(0x18a)](_0x87527[_0x23ad94(0x10f)]),logger[_0x23ad94(0x18a)](_0x87527[_0x23ad94(0x152)]),_0x87527[_0x23ad94(0x183)](parallelTestRun,_0x25f8ca,_0x3a9c91,_0x16f1d9)['then'](_0x164b56=>{const _0x5d9a9a=_0x23ad94;_0x87527[_0x5d9a9a(0x183)](printStats,_0x164b56,_0x3349c6[_0x5d9a9a(0x1f2)],_0x3349c6[_0x5d9a9a(0x1c7)]||_0x3349c6[_0x87527[_0x5d9a9a(0x1b2)]]);})[_0x23ad94(0x1b5)](()=>{const _0xb3f999=_0x23ad94;try{const {browserstackFolderPath:_0x322f63,tcgConfigPath:_0x3918b4}=helper[_0xb3f999(0x1b3)]();fs[_0xb3f999(0x1dc)](_0x3918b4),fs[_0xb3f999(0x122)](_0x322f63);}catch(_0x263765){logger[_0xb3f999(0x139)](_0x87527['jHCbB'],_0x263765);}try{utilities[_0xb3f999(0x18c)](_0x87527[_0xb3f999(0x17f)],{},_0x16f1d9[_0xb3f999(0x15b)],_0x16f1d9['framework']);}catch(_0x52e49c){logger[_0xb3f999(0x139)](_0xb3f999(0x12c)+_0x52e49c);}try{helper[_0xb3f999(0x170)]();}catch(_0x527cda){logger[_0xb3f999(0x139)](_0xb3f999(0x1d3)+_0x527cda);}testOpsHelper[_0xb3f999(0x1a8)]();});}else{const _0x34ded2=helper[_0x23ad94(0x1a9)](_0x16f1d9[_0x23ad94(0x15b)]),_0x4c7194=helper[_0x23ad94(0x136)](_0x16f1d9[_0x23ad94(0x15b)]);_0x18a0fd=helper[_0x23ad94(0x15c)](_0x16f1d9[_0x23ad94(0x15b)],_0x34ded2,constants[_0x23ad94(0x120)]['MOCHA']);let _0x58b751;const _0x456768=_0x16f1d9[_0x23ad94(0x15b)][_0x23ad94(0x184)]||helper[_0x23ad94(0x1b6)](_0x3349c6,_0x4f7b69,_0x16f1d9[_0x23ad94(0x15b)],constants[_0x23ad94(0x120)][_0x23ad94(0x18e)])||0x1;helper['validPlatformsPresent'](_0x16f1d9[_0x23ad94(0x15b)])?_0x58b751=_0x87527[_0x23ad94(0x15a)](_0x16f1d9['config'][_0x23ad94(0x1fa)]['length'],_0x456768):_0x58b751=_0x456768;const _0x785240=_0x87527[_0x23ad94(0x119)](getPercyOptions,_0x16f1d9[_0x23ad94(0x15b)]);if(_0x87527[_0x23ad94(0x188)](_0x16f1d9[_0x23ad94(0x15b)]['parallelsPerPlatform'],0x1))_0x5c6640[_0x23ad94(0x135)](_0x5b95a1=>{const _0x164602=_0x23ad94,_0x46e82d=[];_0x18a0fd[_0x164602(0x135)]((_0x1d3693,_0x4e5009)=>{const _0x18b2f3=_0x164602,_0x5cf315={};_0x5cf315[_0x18b2f3(0x181)]=[_0x5b95a1],_0x46e82d[_0x18b2f3(0x177)]({'mochaOpts':Object[_0x18b2f3(0x117)]({},_0x5daafd,_0x5cf315),'configuration':{'server':_0x4c7194,'capability':_0x1d3693,'proxySettings':_0x16f1d9['config'][_0x18b2f3(0x115)],'platform':helper[_0x18b2f3(0x1e1)](_0x1d3693),'browserStackLogLevel':_0x16f1d9['config'][_0x18b2f3(0x1f1)],'platformIndex':_0x4e5009,'browserStackPercyOptions':_0x785240,'platformCaps':_0x16f1d9[_0x18b2f3(0x15b)]['platforms'][_0x4e5009]}});}),_0x25f8ca['push'](..._0x46e82d);});else{const _0x1953f6=[];_0x18a0fd['forEach']((_0xd59694,_0x94d2c1)=>{const _0xb9eb5f=_0x23ad94;let _0x160a3b=Object['assign']({},_0x5daafd);testOpsHelper[_0xb9eb5f(0x187)]()&&testOpsHelper[_0xb9eb5f(0x11e)]()&&(_0x160a3b={..._0x160a3b,'spec':[..._0x5c6640]}),_0x1953f6['push']({'mochaOpts':_0x160a3b,'configuration':{'server':_0x4c7194,'capability':_0xd59694,'proxySettings':_0x16f1d9[_0xb9eb5f(0x15b)][_0xb9eb5f(0x115)],'platform':helper[_0xb9eb5f(0x1e1)](_0xd59694),'browserStackLogLevel':_0x16f1d9[_0xb9eb5f(0x15b)]['logLevel'],'platformIndex':_0x94d2c1,'browserStackPercyOptions':_0x785240,'platformCaps':_0x16f1d9[_0xb9eb5f(0x15b)][_0xb9eb5f(0x1fa)][_0x94d2c1]}});}),_0x25f8ca[_0x23ad94(0x177)](..._0x1953f6);}logger[_0x23ad94(0x18a)](_0x23ad94(0x182)+_0x16f1d9['config'][_0x23ad94(0x1fa)][_0x23ad94(0x114)]+'\x20platforms'),logger[_0x23ad94(0x18a)](_0x87527[_0x23ad94(0x152)]);let _0xfb40ea;_0x87527[_0x23ad94(0x183)](parallelTestRun,_0x25f8ca,_0x58b751,_0x16f1d9)[_0x23ad94(0x1e7)](_0x5cd23c=>{const _0x5cee90=_0x23ad94;_0xfb40ea=_0x5cd23c,_0x87527[_0x5cee90(0x183)](printStats,_0x5cd23c,_0x3349c6[_0x5cee90(0x1f2)],_0x3349c6[_0x5cee90(0x1c7)]||_0x3349c6[_0x87527[_0x5cee90(0x1b2)]]);})[_0x23ad94(0x1b5)](async()=>{const _0x2b9a3f=_0x23ad94;_0x16f1d9['errorMessage']=helper[_0x2b9a3f(0x169)](_0xfb40ea,_0x87527[_0x2b9a3f(0x1d5)]),await utilities[_0x2b9a3f(0x11f)](_0x16f1d9),testOpsHelper[_0x2b9a3f(0x1a8)]();});}}module['exports']=run;
2
+ 'use strict';function a28_0x1115(_0xf111e9,_0x381fbd){const _0x2d34da=a28_0x2d34();return a28_0x1115=function(_0x1115dc,_0x24f136){_0x1115dc=_0x1115dc-0x195;let _0x3174b5=_0x2d34da[_0x1115dc];return _0x3174b5;},a28_0x1115(_0xf111e9,_0x381fbd);}const a28_0x68a10c=a28_0x1115;(function(_0x3a5b55,_0x3e3173){const _0x256a0c=a28_0x1115,_0x2df9ac=_0x3a5b55();while(!![]){try{const _0x167847=parseInt(_0x256a0c(0x28a))/0x1*(parseInt(_0x256a0c(0x1d2))/0x2)+-parseInt(_0x256a0c(0x1bf))/0x3+-parseInt(_0x256a0c(0x1b4))/0x4*(parseInt(_0x256a0c(0x230))/0x5)+parseInt(_0x256a0c(0x1cd))/0x6*(-parseInt(_0x256a0c(0x25c))/0x7)+parseInt(_0x256a0c(0x1af))/0x8*(-parseInt(_0x256a0c(0x1e6))/0x9)+-parseInt(_0x256a0c(0x1f3))/0xa*(parseInt(_0x256a0c(0x221))/0xb)+parseInt(_0x256a0c(0x1ce))/0xc;if(_0x167847===_0x3e3173)break;else _0x2df9ac['push'](_0x2df9ac['shift']());}catch(_0x42ab53){_0x2df9ac['push'](_0x2df9ac['shift']());}}}(a28_0x2d34,0x444b6));const chalk=require(a28_0x68a10c(0x255)),logger=require(a28_0x68a10c(0x1ca))['winstonLogger'],{default:BrowserStackSetup}=require(a28_0x68a10c(0x229)),helper=require(a28_0x68a10c(0x1c7)),utilities=require(a28_0x68a10c(0x28c)),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require('../test-runner'),{requireModule,nestedKeyValue}=require(a28_0x68a10c(0x1c7)),{getPercyOptions}=require('../../helpers/percy/utils'),Base=requireModule(a28_0x68a10c(0x1d8)),collectFiles=requireModule('mocha/lib/cli/collect-files.js'),constants=require(a28_0x68a10c(0x201));function tag(_0x3c3472,_0x130bf4,_0x7a9c98,_0x118988){const _0x21aaa7=a28_0x68a10c,_0x104e1e={'eWvqw':function(_0xeba8cb,_0xda166){return _0xeba8cb+_0xda166;},'kPFtv':function(_0x2acff2,_0x4f283f){return _0x2acff2+_0x4f283f;},'yENTi':function(_0x541214,_0x38850c){return _0x541214(_0x38850c);},'MuGFM':function(_0x5b1de4,_0x182768){return _0x5b1de4+_0x182768;},'ktIId':function(_0x18f171,_0x3e505f){return _0x18f171+_0x3e505f;}},_0x4dea16=_0x7a9c98?'/>':'>',_0xa5c05=[];let _0x205950;for(const _0x27e1a8 in _0x130bf4){Object[_0x21aaa7(0x258)][_0x21aaa7(0x1a4)]['call'](_0x130bf4,_0x27e1a8)&&_0xa5c05[_0x21aaa7(0x1c4)](_0x104e1e[_0x21aaa7(0x223)](_0x104e1e[_0x21aaa7(0x21d)](_0x104e1e['kPFtv'](_0x27e1a8,'=\x22'),_0x104e1e[_0x21aaa7(0x22e)](escape,_0x130bf4[_0x27e1a8])),'\x22'));}return _0x205950=_0x104e1e[_0x21aaa7(0x21d)](_0x104e1e[_0x21aaa7(0x1b7)](_0x104e1e[_0x21aaa7(0x1b7)]('<',_0x3c3472),_0xa5c05[_0x21aaa7(0x226)]?_0x104e1e[_0x21aaa7(0x21d)]('\x20',_0xa5c05[_0x21aaa7(0x1e2)]('\x20')):''),_0x4dea16),_0x118988&&(_0x205950+=_0x104e1e[_0x21aaa7(0x276)](_0x104e1e[_0x21aaa7(0x1b7)](_0x104e1e[_0x21aaa7(0x223)](_0x118988,'</'),_0x3c3472),_0x4dea16)),_0x205950;}let xunitContent='';function xunitWrite(_0x17a9b9){xunitContent+=_0x17a9b9;}function xunitTest(_0x44cb3d,_0x4bb2ee){const _0x5e11b2=a28_0x68a10c,_0x305734={'STWis':function(_0x13879c,_0x214068){return _0x13879c/_0x214068;},'sxYtX':function(_0x57c415,_0x1861ec){return _0x57c415===_0x1861ec;},'Evacl':_0x5e11b2(0x20c),'ETPYN':function(_0x36ad18,_0x326ed1){return _0x36ad18+_0x326ed1;},'clbnI':function(_0x190561,_0x560343){return _0x190561(_0x560343);},'hohmC':function(_0x5958cb,_0x55a046,_0x426964,_0x33a5c7,_0x709c97){return _0x5958cb(_0x55a046,_0x426964,_0x33a5c7,_0x709c97);},'cCKeM':'testcase','Hldua':'failure','WRTYF':function(_0x3f8ff8,_0xfc727f){return _0x3f8ff8(_0xfc727f);},'nIGDh':function(_0x471079,_0x2f11df,_0x39de05,_0x59d75f,_0x314625){return _0x471079(_0x2f11df,_0x39de05,_0x59d75f,_0x314625);},'giPYM':function(_0x146666,_0x261f69,_0x262a7d,_0x63622a){return _0x146666(_0x261f69,_0x262a7d,_0x63622a);},'wdfSp':_0x5e11b2(0x1f9),'quQvk':function(_0x3b0b6d,_0x2c55e3){return _0x3b0b6d(_0x2c55e3);},'LLjSa':function(_0x46c570,_0x44cf2e,_0x761aad,_0x2ad900){return _0x46c570(_0x44cf2e,_0x761aad,_0x2ad900);}};Base[_0x5e11b2(0x237)]=![];var _0x1430da={'classname':_0x44cb3d[_0x5e11b2(0x1f5)],'name':_0x44cb3d[_0x5e11b2(0x1a9)],'time':_0x305734[_0x5e11b2(0x278)](_0x44cb3d['duration'],0x3e8)||0x0,'platform':_0x4bb2ee};if(_0x305734[_0x5e11b2(0x245)](_0x44cb3d['state'],_0x305734[_0x5e11b2(0x280)])){var _0x38e91d=_0x44cb3d[_0x5e11b2(0x206)],_0x25a2cb=!Base[_0x5e11b2(0x219)]&&Base[_0x5e11b2(0x22b)](_0x38e91d)?_0x305734[_0x5e11b2(0x281)]('\x0a',Base[_0x5e11b2(0x23c)](_0x38e91d[_0x5e11b2(0x21b)],_0x38e91d[_0x5e11b2(0x1f6)])):'';_0x305734[_0x5e11b2(0x239)](xunitWrite,_0x305734[_0x5e11b2(0x1d9)](tag,_0x305734[_0x5e11b2(0x209)],_0x1430da,![],_0x305734[_0x5e11b2(0x1d9)](tag,_0x305734['Hldua'],{},![],_0x305734[_0x5e11b2(0x281)](_0x305734[_0x5e11b2(0x281)](_0x305734[_0x5e11b2(0x281)](_0x305734[_0x5e11b2(0x1b0)](escape,_0x38e91d[_0x5e11b2(0x283)]),_0x305734[_0x5e11b2(0x1b0)](escape,_0x25a2cb)),'\x0a'),_0x305734[_0x5e11b2(0x1b0)](escape,_0x38e91d[_0x5e11b2(0x22d)])))));}else _0x44cb3d[_0x5e11b2(0x20b)]?_0x305734[_0x5e11b2(0x239)](xunitWrite,_0x305734['nIGDh'](tag,_0x305734[_0x5e11b2(0x209)],_0x1430da,![],_0x305734[_0x5e11b2(0x1ef)](tag,_0x305734['wdfSp'],{},!![]))):_0x305734['quQvk'](xunitWrite,_0x305734[_0x5e11b2(0x23a)](tag,_0x305734[_0x5e11b2(0x209)],_0x1430da,!![]));};function getStats(_0x1f12ff){const _0x5637cd=a28_0x68a10c,_0x45a6c5={};_0x45a6c5[_0x5637cd(0x1c0)]=_0x5637cd(0x259),_0x45a6c5[_0x5637cd(0x213)]='passed',_0x45a6c5[_0x5637cd(0x1b6)]=_0x5637cd(0x20c),_0x45a6c5[_0x5637cd(0x27f)]=_0x5637cd(0x20d);const _0x281ec2=_0x45a6c5,_0x208cc0=Object[_0x5637cd(0x20a)](_0x1f12ff);let _0x21b46a=0x0,_0x55765e=0x0,_0x379f4a=0x0,_0xae7f0d=0x0;const _0x1162a1=new Set();_0x208cc0[_0x5637cd(0x279)](_0x508d55=>{const _0x162989=_0x5637cd;_0x1f12ff[_0x508d55][_0x281ec2[_0x162989(0x27f)]][_0x162989(0x279)](_0x7a5bd7=>{const _0x1fd960=_0x162989;_0x1162a1[_0x1fd960(0x274)](_0x7a5bd7[_0x281ec2[_0x1fd960(0x1c0)]]),_0x21b46a++;switch(_0x7a5bd7[_0x1fd960(0x23f)]){case _0x281ec2[_0x1fd960(0x213)]:_0x379f4a++;break;case _0x281ec2[_0x1fd960(0x1b6)]:_0x55765e++;break;default:_0xae7f0d++;}});});const _0x3e0f7b={};return _0x3e0f7b[_0x5637cd(0x1b1)]=_0x1162a1[_0x5637cd(0x28b)],_0x3e0f7b[_0x5637cd(0x1a5)]=_0x208cc0,_0x3e0f7b['totalTests']=_0x21b46a,_0x3e0f7b['testsFailed']=_0x55765e,_0x3e0f7b[_0x5637cd(0x1fe)]=_0x379f4a,_0x3e0f7b[_0x5637cd(0x285)]=_0xae7f0d,_0x3e0f7b;}function errorJSON(_0x22fa40){const _0x23e645=a28_0x68a10c;var _0x401e1f={};return Object['getOwnPropertyNames'](_0x22fa40)[_0x23e645(0x279)](function(_0x4e785d){_0x401e1f[_0x4e785d]=_0x22fa40[_0x4e785d];},_0x22fa40),_0x401e1f;}function a28_0x2d34(){const _0x243027=['accessibilityOptions','yXaaB','mocha/lib/reporters/base.js','hohmC','Writing\x20xunit\x20result\x20to\x20file','rmdirSync','bbAjh','zyBUb','MEyeh','handleApp','yjNlO','output','join','jmNLy','accessibility','testsuite','2394jbZTAU','Writing\x20json\x20result\x20to\x20file','</testsuite>','stringify','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','rootHooks','error\x20removing\x20tcg\x20config\x20file','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','sort','giPYM','cjs','logLevel','utuji','12570WkKEQb','finalExecution','fullTitle','expected','assign','qKbWp','skipped','red','Running\x20your\x20mocha\x20tests','markSDKSetupComplete','qfVjg','testsPassed','--disable-test-observability','caoPz','../utils/constants','titlePath','testsFailed','EmPqH','isBrowserstackInfra','err','NmUAl','jmsRc','cCKeM','keys','isPending','failed','results','Couldn\x27t\x20write\x20json\x20result\x20to','GHHAl','JgIJr','rerunTests','setupTCGAuth','grCRS','gUPLB','xunit','reporter-option','rOtpn','Now,\x20showing\x20logs\x20from\x20mocha','hideDiff','object','actual','shouldReRunObservabilityTests','kPFtv','oNUVd','xuftK','includes','4246DQvzcO','Total\x20Platforms:\x20','eWvqw','WYQQx','WgcAe','length','mvTVI','IGDNO','../../helpers/BrowserStackSetup','fireFunnelTestEvent','showDiff','OsPJl','stack','yENTi','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','945055YdmMMH','currentRetry','FRAMEWORKS','has','mocha','DwMbY','consoleLog','useColors','KqLqX','clbnI','LLjSa','indexOf','generateDiff','recursive','PJSGo','state','\x20failed','vAYLj','dybdI','njwaf','vatjE','sxYtX','BliMs','get','BROWSERSTACK_TEST_OBSERVABILITY_YML','initialize','getErrorMessageFromResults','proxySettings','BROWSERSTACK_RERUN_TESTS','--disable-browserstack-automation','extension','kdGOh','Tzeyf','hvJEr','QyvJM','lCMtY','BXraz','chalk','mTsox','getUserWorkerCount','prototype','suite','suiteName','KzlgU','18214zLNGCH','log','\x0a\x0a\x0a','parallelsPerPlatform','env','passes','Total\x20Suites:\x20','isUndefined','green','SHGfr','files','parseFileNames','SDKTestSuccessful','yPQwU','doc','getTCGConfigFilePaths','VXRIu','BrMiQ','yellow','ZbJMY','fCbEZ','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','toUTCString','SjaSp','add','kaFCC','ktIId','diuIs','STWis','forEach','Listing\x20all\x20the\x20failures','DIcCA','\x20passed','speed','notifyUpdate','JBumx','Evacl','ETPYN','parse','message','uSZkC','testsPending','PIVOd','getHubUrl','debug','map','1ozHJOA','size','../../helpers/utilities','FfMTc','exports','printBuildLink','prepareCapabilities','WyApS','writeFileSync','eSyTK','iNtTC','unlinkSync','\x20total','usTrb','duration','reporterOptions','bgRedBright','BROWSERSTACK_TEST_ACCESSIBILITY_YML','reporter','getPlatformName','hasOwnProperty','platforms','rcqWB','WQDPd','nUoQS','title','testObservability','error','isTestObservabilitySession','HKMnI','failures','14992uPNnvP','WRTYF','testSuites','min','sajUT','8zzZlpm','ltxiX','GvIjB','MuGFM','spec','zBpoa','bold','then','finally','FORXd','MOCHA','1167009wUdsiH','OtntF','IfuLH','info','Setting\x20non\x20exit\x20code\x20for\x20failures','push','cliConfig','Printing\x20stats\x20of\x20tests','../../helpers/helper','BROWSERSTACK_AUTOMATION','kwIEt','../../helpers/logger','list','validPlatformsPresent','6oZrUek','21642456oGLsSB','ZCtQM','argv','exitCode','459018vbbKFQ','XCoEo','config','jtYis'];a28_0x2d34=function(){return _0x243027;};return a28_0x2d34();}function cleanCycles(_0x47c1e9){const _0x15ff09=a28_0x68a10c,_0x2257a5={};_0x2257a5[_0x15ff09(0x1d5)]=function(_0x102210,_0x4ae4b6){return _0x102210===_0x4ae4b6;},_0x2257a5['jmNLy']=_0x15ff09(0x21a),_0x2257a5[_0x15ff09(0x1dd)]=function(_0x37c032,_0x3c4175){return _0x37c032!==_0x3c4175;},_0x2257a5['yjNlO']=function(_0x1e96bd,_0x58a629){return _0x1e96bd+_0x58a629;};const _0x5079bf=_0x2257a5;var _0x5d893e=[];return JSON[_0x15ff09(0x282)](JSON[_0x15ff09(0x1e9)](_0x47c1e9,function(_0x5d3ceb,_0x358455){const _0x12c0d8=_0x15ff09;if(_0x5079bf[_0x12c0d8(0x1d5)](typeof _0x358455,_0x5079bf[_0x12c0d8(0x1e3)])&&_0x5079bf[_0x12c0d8(0x1dd)](_0x358455,null)){if(_0x5079bf[_0x12c0d8(0x1dd)](_0x5d893e[_0x12c0d8(0x23b)](_0x358455),-0x1))return _0x5079bf[_0x12c0d8(0x1e0)]('',_0x358455);_0x5d893e[_0x12c0d8(0x1c4)](_0x358455);}return _0x358455;}));}function clean(_0x2324a6){const _0x3008db=a28_0x68a10c,_0x5dc304={'BXraz':function(_0x1ac79e,_0xb891c0){return _0x1ac79e instanceof _0xb891c0;},'bbAjh':function(_0x3e120e,_0x4badee){return _0x3e120e(_0x4badee);}};var _0xc8bf06=_0x2324a6[_0x3008db(0x206)]||{};return _0x5dc304[_0x3008db(0x254)](_0xc8bf06,Error)&&(_0xc8bf06=_0x5dc304[_0x3008db(0x1dc)](errorJSON,_0xc8bf06)),{'title':_0x2324a6['title'],'fullTitle':_0x2324a6[_0x3008db(0x1f5)],'file':_0x2324a6['file'],'duration':_0x2324a6['duration'],'currentRetry':_0x2324a6[_0x3008db(0x231)],'speed':_0x2324a6[_0x3008db(0x27d)],'err':_0x5dc304[_0x3008db(0x1dc)](cleanCycles,_0xc8bf06)};}function printStats(_0x1170ca,_0x24cdbf='spec',_0x5e79db={}){const _0x3a1aca=a28_0x68a10c,_0x42cd32={'IfuLH':function(_0x1fa886,_0x51a7e5){return _0x1fa886(_0x51a7e5);},'oNUVd':function(_0x5d3905,_0x189eb8){return _0x5d3905===_0x189eb8;},'FORXd':'passed','Tzeyf':_0x3a1aca(0x261),'BrMiQ':function(_0x4ed6d2,_0xf9578b){return _0x4ed6d2(_0xf9578b);},'ltxiX':'failed','sajUT':_0x3a1aca(0x1ae),'rOtpn':'pending','VXRIu':_0x3a1aca(0x20d),'xuftK':function(_0x40b2e5,_0x1fc070){return _0x40b2e5===_0x1fc070;},'mTsox':function(_0x1f5dee,_0x2368c4){return _0x1f5dee*_0x2368c4;},'fOHeq':function(_0x11edc6,_0x2cb115,_0x3ad87c){return _0x11edc6(_0x2cb115,_0x3ad87c);},'usTrb':function(_0x517389,_0x804dce){return _0x517389===_0x804dce;},'WYQQx':function(_0x35e692,_0x23b596){return _0x35e692>_0x23b596;},'BliMs':function(_0x246ee9){return _0x246ee9();},'JUkvc':function(_0x4f3043,_0xfa4e8e){return _0x4f3043===_0xfa4e8e;},'uDpPw':_0x3a1aca(0x26a),'woffZ':_0x3a1aca(0x1c3),'USxPw':_0x3a1aca(0x1c6),'ZCtQM':function(_0x2960e2,_0x39c838){return _0x2960e2+_0x39c838;},'diuIs':_0x3a1aca(0x222),'sTmzx':_0x3a1aca(0x262),'QyvJM':function(_0x182924,_0x41744d){return _0x182924+_0x41744d;},'CqhaT':'Tests:\x20\x20\x20\x20\x20\x20\x20','WQDPd':function(_0x4504b8,_0x2ae13){return _0x4504b8+_0x2ae13;},'kdGOh':function(_0x44f228,_0x50f880){return _0x44f228+_0x50f880;},'OsPJl':function(_0x2edf16,_0x26dac1){return _0x2edf16+_0x26dac1;},'DIcCA':_0x3a1aca(0x25e),'gUPLB':'json','kjIEm':_0x3a1aca(0x1e7),'rcqWB':_0x3a1aca(0x20e),'fCbEZ':_0x3a1aca(0x22f),'vAYLj':function(_0x4559f8,_0x5b8263){return _0x4559f8===_0x5b8263;},'NmUAl':_0x3a1aca(0x215),'KzlgU':'Mocha\x20Tests','nUoQS':function(_0x51ab51,_0xcf69da){return _0x51ab51||_0xcf69da;},'mAXYV':function(_0x5a2396,_0x2a2fc6,_0xdbcfeb,_0x335246){return _0x5a2396(_0x2a2fc6,_0xdbcfeb,_0x335246);},'PIVOd':_0x3a1aca(0x1e5),'eSyTK':function(_0x5ad63e,_0xbd8e72){return _0x5ad63e-_0xbd8e72;},'tdeSD':function(_0x29c980,_0x5d75dd){return _0x29c980/_0x5d75dd;},'HKMnI':_0x3a1aca(0x1e8),'GHHAl':_0x3a1aca(0x1da),'vatjE':'Couldn\x27t\x20write\x20xunit\x20result\x20to','KqLqX':'No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','WgcAe':_0x3a1aca(0x27a),'XCoEo':'****\x20FAILURES\x20****'};if(_0x42cd32['JUkvc'](_0x24cdbf,_0x42cd32['uDpPw']))return;const _0x381f7c=0x0,_0x23dda5=()=>{const _0x5ee43c=_0x3a1aca;return _0x42cd32[_0x5ee43c(0x1c1)](Array,_0x381f7c)[_0x5ee43c(0x1e2)]('\x20\x20');},{testSuites:_0x3cf20c,platforms:_0x44d9ef,totalTests:_0x4bbfdd,testsFailed:_0x520f7a,testsPassed:_0x573eab,testsPending:_0x13b1ea}=_0x42cd32[_0x3a1aca(0x26d)](getStats,_0x1170ca);_0x42cd32['WYQQx'](_0x520f7a,0x0)&&(logger[_0x3a1aca(0x288)](_0x42cd32['woffZ']),process[_0x3a1aca(0x1d1)]=Math[_0x3a1aca(0x1b2)](_0x520f7a,0xff));logger[_0x3a1aca(0x288)](_0x42cd32['USxPw']);const _0x56b410=''+_0x42cd32[_0x3a1aca(0x1cf)](chalk['bold'](_0x42cd32[_0x3a1aca(0x277)]),_0x44d9ef[_0x3a1aca(0x226)]),_0x1e744a=''+_0x42cd32[_0x3a1aca(0x1cf)](chalk[_0x3a1aca(0x1ba)](_0x42cd32['sTmzx']),_0x3cf20c),_0x4b7960=''+_0x42cd32[_0x3a1aca(0x252)](_0x42cd32[_0x3a1aca(0x252)](_0x42cd32['QyvJM'](chalk[_0x3a1aca(0x1ba)](_0x42cd32['CqhaT']),_0x42cd32['WYQQx'](_0x520f7a,0x0)?chalk[_0x3a1aca(0x1ba)][_0x3a1aca(0x1fa)](_0x520f7a+_0x3a1aca(0x240))+',\x20':''),_0x42cd32[_0x3a1aca(0x224)](_0x13b1ea,0x0)?chalk[_0x3a1aca(0x1ba)][_0x3a1aca(0x26e)](_0x13b1ea+'\x20skipped')+',\x20':''),_0x42cd32[_0x3a1aca(0x224)](_0x573eab,0x0)?chalk['bold'][_0x3a1aca(0x264)](_0x573eab+_0x3a1aca(0x27c))+',\x20':'')+_0x4bbfdd+_0x3a1aca(0x19c);console[_0x3a1aca(0x25d)](_0x42cd32[_0x3a1aca(0x1a7)](_0x42cd32[_0x3a1aca(0x24f)](_0x42cd32[_0x3a1aca(0x24f)](_0x42cd32['OsPJl'](_0x42cd32[_0x3a1aca(0x22c)](_0x42cd32[_0x3a1aca(0x27b)],_0x56b410),'\x0a'),_0x1e744a),'\x0a'),_0x4b7960));if(_0x42cd32[_0x3a1aca(0x21f)](_0x24cdbf,_0x42cd32[_0x3a1aca(0x214)])){const _0x4a330f={},_0x12e1b4={};_0x12e1b4['testSuites']=_0x3cf20c,_0x12e1b4[_0x3a1aca(0x1a5)]=_0x44d9ef,_0x12e1b4[_0x3a1aca(0x203)]=_0x520f7a,_0x12e1b4[_0x3a1aca(0x1fe)]=_0x573eab,_0x12e1b4[_0x3a1aca(0x285)]=_0x13b1ea,_0x4a330f['stats']=_0x12e1b4,_0x44d9ef['forEach'](_0x3bdc90=>{const _0x1347da=_0x3a1aca,_0xabb3dd={'jmsRc':function(_0x426af8,_0x4f30ec){const _0x39128e=a28_0x1115;return _0x42cd32[_0x39128e(0x21e)](_0x426af8,_0x4f30ec);},'njwaf':_0x42cd32['FORXd'],'QNUCV':_0x42cd32[_0x1347da(0x250)],'IGDNO':function(_0x296113,_0x52f23f){return _0x42cd32['BrMiQ'](_0x296113,_0x52f23f);},'dybdI':_0x42cd32[_0x1347da(0x1b5)],'mvTVI':_0x42cd32[_0x1347da(0x1b3)],'FfMTc':_0x42cd32[_0x1347da(0x217)]};_0x4a330f[_0x3bdc90]={'pending':[],'failures':[],'passes':[],'tests':_0x1170ca[_0x3bdc90][_0x42cd32[_0x1347da(0x26c)]][_0x1347da(0x289)](clean)},_0x1170ca[_0x3bdc90][_0x42cd32[_0x1347da(0x26c)]][_0x1347da(0x279)](_0x3c0a01=>{const _0x598cb1=_0x1347da;if(_0xabb3dd[_0x598cb1(0x208)](_0x3c0a01['state'],_0xabb3dd[_0x598cb1(0x243)]))_0x4a330f[_0x3bdc90][_0xabb3dd['QNUCV']][_0x598cb1(0x1c4)](_0xabb3dd[_0x598cb1(0x228)](clean,_0x3c0a01));else _0xabb3dd[_0x598cb1(0x208)](_0x3c0a01[_0x598cb1(0x23f)],_0xabb3dd[_0x598cb1(0x242)])?_0x4a330f[_0x3bdc90][_0xabb3dd[_0x598cb1(0x227)]][_0x598cb1(0x1c4)](_0xabb3dd['IGDNO'](clean,_0x3c0a01)):_0x4a330f[_0x3bdc90][_0xabb3dd[_0x598cb1(0x28d)]][_0x598cb1(0x1c4)](_0xabb3dd['IGDNO'](clean,_0x3c0a01));});});if(_0x5e79db[_0x3a1aca(0x1e1)])try{logger['debug'](_0x42cd32['kjIEm'],_0x5e79db['output']),fs[_0x3a1aca(0x198)](_0x5e79db[_0x3a1aca(0x1e1)],JSON[_0x3a1aca(0x1e9)](_0x4a330f,null,0x3));}catch(_0x5cfcc2){logger['error'](_0x42cd32[_0x3a1aca(0x1a6)],_0x5e79db[_0x3a1aca(0x1e1)]),logger['debug'](_0x5cfcc2);}else logger[_0x3a1aca(0x288)](_0x42cd32[_0x3a1aca(0x270)]),console['log'](JSON[_0x3a1aca(0x1e9)](_0x4a330f,null,0x3));}else{if(_0x42cd32[_0x3a1aca(0x241)](_0x24cdbf,_0x42cd32[_0x3a1aca(0x207)])){let _0x233e2f;const _0x50b093=_0x42cd32[_0x3a1aca(0x25b)];_0x5e79db&&(_0x233e2f=_0x5e79db[_0x3a1aca(0x25a)]);_0x233e2f=_0x42cd32[_0x3a1aca(0x1a8)](_0x233e2f,_0x50b093);let _0xd9e5f8=0x0,_0x598a01=0x0,_0x5a709a=0x0,_0x385ced=0x0;_0x44d9ef[_0x3a1aca(0x279)](_0x328438=>{const _0x1f6550=_0x3a1aca;_0x1170ca[_0x328438][_0x42cd32[_0x1f6550(0x26c)]]['forEach'](_0x3b4f92=>{const _0x596f3f=_0x1f6550;if(_0x42cd32[_0x596f3f(0x21f)](_0x3b4f92[_0x596f3f(0x23f)],_0x42cd32[_0x596f3f(0x1bd)]))_0xd9e5f8++;else _0x42cd32[_0x596f3f(0x21f)](_0x3b4f92[_0x596f3f(0x23f)],_0x42cd32[_0x596f3f(0x1b5)])&&_0x598a01++;_0x5a709a++,_0x385ced+=_0x42cd32[_0x596f3f(0x256)](_0x3b4f92[_0x596f3f(0x19e)],0x1);});}),_0x42cd32[_0x3a1aca(0x26d)](xunitWrite,_0x42cd32['mAXYV'](tag,_0x42cd32[_0x3a1aca(0x286)],{'name':_0x233e2f,'tests':_0x5a709a,'failures':0x0,'errors':_0x598a01,'skipped':_0x42cd32[_0x3a1aca(0x199)](_0x42cd32[_0x3a1aca(0x199)](_0x5a709a,_0x598a01),_0xd9e5f8),'timestamp':new Date()[_0x3a1aca(0x272)](),'time':_0x42cd32['tdeSD'](_0x385ced,0x3e8)||0x0},![])),_0x44d9ef[_0x3a1aca(0x279)](_0x5d0024=>{const _0x2dd662=_0x3a1aca,_0xb3e00b={'qKbWp':function(_0x19c152,_0x110b88,_0x5cc1c2){return _0x42cd32['fOHeq'](_0x19c152,_0x110b88,_0x5cc1c2);}};_0x1170ca[_0x5d0024][_0x42cd32['VXRIu']][_0x2dd662(0x279)](_0x49bc14=>{const _0x44d446=_0x2dd662;_0xb3e00b[_0x44d446(0x1f8)](xunitTest,_0x49bc14,_0x5d0024);});}),_0x42cd32[_0x3a1aca(0x26d)](xunitWrite,_0x42cd32[_0x3a1aca(0x1ad)]);if(_0x5e79db[_0x3a1aca(0x1e1)])try{logger['debug'](_0x42cd32[_0x3a1aca(0x20f)],_0x5e79db[_0x3a1aca(0x1e1)]),fs[_0x3a1aca(0x198)](_0x5e79db[_0x3a1aca(0x1e1)],xunitContent);}catch(_0x1f90ec){logger[_0x3a1aca(0x1ab)](_0x42cd32[_0x3a1aca(0x244)],_0x5e79db[_0x3a1aca(0x1e1)]),logger['debug'](_0x1f90ec);}else logger[_0x3a1aca(0x288)](_0x42cd32[_0x3a1aca(0x238)]),console[_0x3a1aca(0x25d)](xunitContent);}else{if(_0x42cd32[_0x3a1aca(0x21f)](_0x520f7a,0x0))return;console[_0x3a1aca(0x25d)](),logger[_0x3a1aca(0x288)](_0x42cd32[_0x3a1aca(0x225)]),console['log'](chalk[_0x3a1aca(0x1ba)][_0x3a1aca(0x1a0)](_0x42cd32[_0x3a1aca(0x1d3)])),_0x44d9ef[_0x3a1aca(0x279)](_0x3839db=>{const _0xa23e94=_0x3a1aca,_0x49514f={'kaFCC':function(_0x1abcb5,_0x1841bf){const _0x1cbcd0=a28_0x1115;return _0x42cd32[_0x1cbcd0(0x19d)](_0x1abcb5,_0x1841bf);},'lCMtY':_0x42cd32['ltxiX']},_0x45b106=[];_0x1170ca[_0x3839db][_0x42cd32[_0xa23e94(0x26c)]][_0xa23e94(0x279)](_0x26dafa=>{const _0x512368=_0xa23e94;_0x49514f[_0x512368(0x275)](_0x26dafa[_0x512368(0x23f)],_0x49514f[_0x512368(0x253)])&&(_0x26dafa[_0x512368(0x202)]=()=>_0x26dafa['titlePathV'],_0x45b106[_0x512368(0x1c4)](_0x26dafa));}),_0x42cd32['WYQQx'](_0x45b106[_0xa23e94(0x226)],0x0)&&(Base['consoleLog'](),Base[_0xa23e94(0x236)](_0x42cd32[_0xa23e94(0x246)](_0x23dda5),chalk[_0xa23e94(0x1ba)]['bgBlueBright'](_0x3839db)),Base[_0xa23e94(0x1cb)](_0x45b106));});}}}async function run(_0x2387e8,_0x2a3015){const _0x471c8f=a28_0x68a10c,_0x29ecbe={'reItT':function(_0x492736,_0x1051ad,_0x2e3430,_0x491b08){return _0x492736(_0x1051ad,_0x2e3430,_0x491b08);},'yXaaB':_0x471c8f(0x216),'JgIJr':_0x471c8f(0x1ec),'yPQwU':_0x471c8f(0x268),'hvJEr':function(_0x4dab47,_0x4b9158,_0x905ab2,_0x1c9fb5){return _0x4dab47(_0x4b9158,_0x905ab2,_0x1c9fb5);},'iNtTC':_0x471c8f(0x234),'NVnoQ':_0x471c8f(0x1ff),'qfVjg':_0x471c8f(0x24d),'SHGfr':function(_0x51e618,_0xf7a097){return _0x51e618!=_0xf7a097;},'hTkeh':_0x471c8f(0x1f0),'caoPz':'mjs','zBpoa':'test','uSZkC':_0x471c8f(0x211),'EmPqH':function(_0x45d6e5,_0x542b35){return _0x45d6e5(_0x542b35);},'WyApS':function(_0x26bc4a,_0x1b5ffd,_0x4e498a){return _0x26bc4a(_0x1b5ffd,_0x4e498a);},'DwMbY':_0x471c8f(0x266),'kwIEt':_0x471c8f(0x1fb),'SjaSp':_0x471c8f(0x218),'MEyeh':function(_0x41468c,_0x3fde20,_0x36f691,_0x56e6de){return _0x41468c(_0x3fde20,_0x36f691,_0x56e6de);},'ZbJMY':function(_0x5cfbc4,_0x45995b){return _0x5cfbc4*_0x45995b;},'utuji':function(_0x2a5622,_0x4da9a7){return _0x2a5622(_0x4da9a7);},'QIJer':function(_0x15135a,_0x4b4187){return _0x15135a!==_0x4b4187;},'PJSGo':function(_0x150c9a,_0x248921,_0xd8893a,_0xe30b32){return _0x150c9a(_0x248921,_0xd8893a,_0xe30b32);}};process[_0x471c8f(0x1d0)][_0x471c8f(0x220)](_0x29ecbe['NVnoQ'])&&(process[_0x471c8f(0x260)]['BROWSERSTACK_TEST_OBSERVABILITY']=![]);process[_0x471c8f(0x1d0)][_0x471c8f(0x220)](_0x29ecbe[_0x471c8f(0x1fd)])&&(process[_0x471c8f(0x260)][_0x471c8f(0x1c8)]=![]);const _0x5b232f=new BrowserStackSetup(_0x2387e8,_0x29ecbe[_0x471c8f(0x19a)]);helper['isBrowserstackInfra']()?(await _0x5b232f[_0x471c8f(0x249)](),await helper[_0x471c8f(0x1df)](_0x5b232f['config'])):await _0x5b232f[_0x471c8f(0x212)]();const _0x5c07dc=[];let _0x192871=[];if(!_0x5b232f['config'])return;_0x29ecbe[_0x471c8f(0x265)](_0x5b232f[_0x471c8f(0x1d4)][_0x471c8f(0x1aa)],null)&&(process[_0x471c8f(0x260)][_0x471c8f(0x248)]=_0x5b232f[_0x471c8f(0x1d4)][_0x471c8f(0x1aa)]);!helper[_0x471c8f(0x263)](_0x5b232f[_0x471c8f(0x1d4)][_0x471c8f(0x1e4)])&&(process['env'][_0x471c8f(0x1a1)]=_0x5b232f[_0x471c8f(0x1d4)][_0x471c8f(0x1e4)]);!helper[_0x471c8f(0x263)](_0x5b232f['config'][_0x471c8f(0x1d6)])&&(process[_0x471c8f(0x260)][_0x471c8f(0x271)]=JSON[_0x471c8f(0x1e9)](_0x5b232f[_0x471c8f(0x1d4)]['accessibilityOptions']));const {extension:extension=['js',_0x29ecbe['hTkeh'],_0x29ecbe[_0x471c8f(0x200)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x29ecbe[_0x471c8f(0x1b9)]]}=_0x2387e8,_0x5fc5b1={..._0x2387e8};_0x5fc5b1[_0x471c8f(0x1eb)]=null;const _0x68bfae=_0x5fc5b1;let _0x30416a;if(testOpsHelper[_0x471c8f(0x1ac)]()&&testOpsHelper[_0x471c8f(0x21c)]()){let _0x220c6d=process[_0x471c8f(0x260)][_0x471c8f(0x24c)];!helper[_0x471c8f(0x263)](_0x5b232f['cliConfig'])&&_0x5b232f[_0x471c8f(0x1c5)][_0x471c8f(0x233)](_0x29ecbe[_0x471c8f(0x284)])&&(_0x220c6d=_0x5b232f[_0x471c8f(0x1c5)][_0x471c8f(0x247)](_0x29ecbe['uSZkC'])),_0x30416a=testOpsHelper[_0x471c8f(0x267)](_0x220c6d);}if(helper[_0x471c8f(0x263)](_0x30416a)){const _0x582655={};_0x582655['ignore']=ignore,_0x582655[_0x471c8f(0x24e)]=extension,_0x582655['file']=file,_0x582655[_0x471c8f(0x23d)]=recursive,_0x582655[_0x471c8f(0x1ee)]=sort,_0x582655[_0x471c8f(0x1b8)]=spec,_0x30416a=_0x29ecbe[_0x471c8f(0x204)](collectFiles,_0x582655),_0x29ecbe[_0x471c8f(0x197)](nestedKeyValue,_0x30416a,[_0x29ecbe[_0x471c8f(0x235)]])&&(_0x30416a=_0x30416a[_0x471c8f(0x266)]);}helper[_0x471c8f(0x1fc)]();if(!helper[_0x471c8f(0x205)]()){const _0x801987=0x1,_0x3e3b74={..._0x68bfae};_0x3e3b74[_0x471c8f(0x1b8)]=[..._0x30416a],_0x5c07dc['push']({'mochaOpts':_0x3e3b74,'configuration':{'platform':os['platform']()}}),logger['info'](_0x29ecbe[_0x471c8f(0x1c9)]),logger[_0x471c8f(0x1c2)](_0x29ecbe[_0x471c8f(0x273)]),_0x29ecbe[_0x471c8f(0x1de)](parallelTestRun,_0x5c07dc,_0x801987,_0x5b232f)[_0x471c8f(0x1bb)](_0x1b28af=>{const _0x2b9f6c=_0x471c8f;_0x29ecbe['reItT'](printStats,_0x1b28af,_0x2387e8[_0x2b9f6c(0x1a2)],_0x2387e8[_0x2b9f6c(0x19f)]||_0x2387e8[_0x29ecbe[_0x2b9f6c(0x1d7)]]);})[_0x471c8f(0x1bc)](()=>{const _0x3c49ea=_0x471c8f;try{const {browserstackFolderPath:_0x3e7b95,tcgConfigPath:_0xdf7b7c}=helper[_0x3c49ea(0x26b)]();fs[_0x3c49ea(0x19b)](_0xdf7b7c),fs[_0x3c49ea(0x1db)](_0x3e7b95);}catch(_0x1802e6){logger[_0x3c49ea(0x288)](_0x29ecbe[_0x3c49ea(0x210)],_0x1802e6);}try{utilities[_0x3c49ea(0x22a)](_0x29ecbe[_0x3c49ea(0x269)],{},_0x5b232f[_0x3c49ea(0x1d4)],_0x5b232f['framework']);}catch(_0x14ee29){logger[_0x3c49ea(0x288)](_0x3c49ea(0x1ea)+_0x14ee29);}try{helper[_0x3c49ea(0x27e)]();}catch(_0x420411){logger[_0x3c49ea(0x288)](_0x3c49ea(0x1ed)+_0x420411);}testOpsHelper[_0x3c49ea(0x195)]();});}else{const _0x1e41c5=helper['useW3C'](_0x5b232f[_0x471c8f(0x1d4)]),_0x39b403=helper[_0x471c8f(0x287)](_0x5b232f[_0x471c8f(0x1d4)]);_0x192871=helper[_0x471c8f(0x196)](_0x5b232f['config'],_0x1e41c5,constants[_0x471c8f(0x232)][_0x471c8f(0x1be)]);let _0x973707;const _0x48c0fd=_0x5b232f[_0x471c8f(0x1d4)][_0x471c8f(0x25f)]||helper[_0x471c8f(0x257)](_0x2387e8,_0x2a3015,_0x5b232f[_0x471c8f(0x1d4)],constants[_0x471c8f(0x232)][_0x471c8f(0x1be)])||0x1;helper[_0x471c8f(0x1cc)](_0x5b232f[_0x471c8f(0x1d4)])?_0x973707=_0x29ecbe[_0x471c8f(0x26f)](_0x5b232f[_0x471c8f(0x1d4)][_0x471c8f(0x1a5)][_0x471c8f(0x226)],_0x48c0fd):_0x973707=_0x48c0fd;const _0x42b0ec=_0x29ecbe[_0x471c8f(0x1f2)](getPercyOptions,_0x5b232f['config']);if(_0x29ecbe['QIJer'](_0x5b232f[_0x471c8f(0x1d4)][_0x471c8f(0x25f)],0x1))_0x30416a[_0x471c8f(0x279)](_0x52a998=>{const _0x27c8c=_0x471c8f,_0x1377ff=[];_0x192871[_0x27c8c(0x279)]((_0x41fb0c,_0x27fd8d)=>{const _0x3631f9=_0x27c8c,_0x194280={};_0x194280[_0x3631f9(0x1b8)]=[_0x52a998],_0x1377ff[_0x3631f9(0x1c4)]({'mochaOpts':Object[_0x3631f9(0x1f7)]({},_0x68bfae,_0x194280),'configuration':{'server':_0x39b403,'capability':_0x41fb0c,'proxySettings':_0x5b232f[_0x3631f9(0x1d4)][_0x3631f9(0x24b)],'platform':helper['getPlatformName'](_0x41fb0c),'browserStackLogLevel':_0x5b232f[_0x3631f9(0x1d4)][_0x3631f9(0x1f1)],'platformIndex':_0x27fd8d,'browserStackPercyOptions':_0x42b0ec,'platformCaps':_0x5b232f[_0x3631f9(0x1d4)][_0x3631f9(0x1a5)][_0x27fd8d]}});}),_0x5c07dc['push'](..._0x1377ff);});else{const _0x19b3b7=[];_0x192871[_0x471c8f(0x279)]((_0x53662b,_0x4677fb)=>{const _0x3312cc=_0x471c8f;let _0x26baa6=Object[_0x3312cc(0x1f7)]({},_0x68bfae);testOpsHelper[_0x3312cc(0x1ac)]()&&testOpsHelper['shouldReRunObservabilityTests']()&&(_0x26baa6={..._0x26baa6,'spec':[..._0x30416a]}),_0x19b3b7['push']({'mochaOpts':_0x26baa6,'configuration':{'server':_0x39b403,'capability':_0x53662b,'proxySettings':_0x5b232f['config'][_0x3312cc(0x24b)],'platform':helper[_0x3312cc(0x1a3)](_0x53662b),'browserStackLogLevel':_0x5b232f[_0x3312cc(0x1d4)]['logLevel'],'platformIndex':_0x4677fb,'browserStackPercyOptions':_0x42b0ec,'platformCaps':_0x5b232f['config'][_0x3312cc(0x1a5)][_0x4677fb]}});}),_0x5c07dc[_0x471c8f(0x1c4)](..._0x19b3b7);}logger['info']('Running\x20your\x20mocha\x20tests\x20across\x20'+_0x5b232f[_0x471c8f(0x1d4)]['platforms'][_0x471c8f(0x226)]+'\x20platforms'),logger[_0x471c8f(0x1c2)](_0x29ecbe[_0x471c8f(0x273)]);let _0x435b61;_0x29ecbe[_0x471c8f(0x23e)](parallelTestRun,_0x5c07dc,_0x973707,_0x5b232f)[_0x471c8f(0x1bb)](_0x458bb5=>{const _0x3a9df6=_0x471c8f;_0x435b61=_0x458bb5,_0x29ecbe[_0x3a9df6(0x251)](printStats,_0x458bb5,_0x2387e8[_0x3a9df6(0x1a2)],_0x2387e8[_0x3a9df6(0x19f)]||_0x2387e8[_0x29ecbe['yXaaB']]);})['finally'](async()=>{const _0x281c32=_0x471c8f;_0x5b232f['errorMessage']=helper[_0x281c32(0x24a)](_0x435b61,_0x29ecbe[_0x281c32(0x19a)]),await utilities[_0x281c32(0x1f4)](_0x5b232f),testOpsHelper[_0x281c32(0x195)]();});}}module[a28_0x68a10c(0x28e)]=run;