browserstack-node-sdk 1.34.27 → 1.34.29

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 (129) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/central-scanner/constants.js +1 -1
  101. package/src/helpers/central-scanner/helpers.js +1 -1
  102. package/src/helpers/globals.js +1 -1
  103. package/src/helpers/helper.js +1 -1
  104. package/src/helpers/logger.js +1 -1
  105. package/src/helpers/patchHelper.js +1 -1
  106. package/src/helpers/patchHelpers.js +1 -1
  107. package/src/helpers/percy/Percy.js +1 -1
  108. package/src/helpers/percy/PercyBinary.js +1 -1
  109. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  110. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  111. package/src/helpers/percy/PercySDK.js +1 -1
  112. package/src/helpers/percy/index.js +1 -1
  113. package/src/helpers/percy/utils.js +1 -1
  114. package/src/helpers/performance-tester.js +1 -1
  115. package/src/helpers/request-spy.js +1 -1
  116. package/src/helpers/setKeepAlive.js +1 -1
  117. package/src/helpers/test-observability/constants.js +1 -1
  118. package/src/helpers/test-observability/error-handler.js +1 -1
  119. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  120. package/src/helpers/test-observability/sessionHandler.js +1 -1
  121. package/src/helpers/test-observability/utils.js +1 -1
  122. package/src/helpers/testhub/constants.js +1 -1
  123. package/src/helpers/testhub/testhubHandler.js +1 -1
  124. package/src/helpers/testhub/utils.js +1 -1
  125. package/src/helpers/timeoutPromise.js +1 -1
  126. package/src/helpers/utilities.js +1 -1
  127. package/src/helpers/w3cMapping.js +1 -1
  128. package/src/hubAllocationMethods.js +1 -1
  129. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a23_0x34e14f=a23_0x4816;(function(_0x16367c,_0x7f6d08){const _0x32222f=a23_0x4816,_0x47f87e=_0x16367c();while(!![]){try{const _0x1f9361=-parseInt(_0x32222f(0x110))/0x1+parseInt(_0x32222f(0xfe))/0x2*(-parseInt(_0x32222f(0xfa))/0x3)+-parseInt(_0x32222f(0x11d))/0x4+-parseInt(_0x32222f(0x111))/0x5*(-parseInt(_0x32222f(0x119))/0x6)+parseInt(_0x32222f(0x120))/0x7*(parseInt(_0x32222f(0x113))/0x8)+parseInt(_0x32222f(0xfc))/0x9+parseInt(_0x32222f(0xfd))/0xa;if(_0x1f9361===_0x7f6d08)break;else _0x47f87e['push'](_0x47f87e['shift']());}catch(_0x4993a3){_0x47f87e['push'](_0x47f87e['shift']());}}}(a23_0x2330,0x9011a));function a23_0x4816(_0x1713e1,_0x44a604){const _0x233098=a23_0x2330();return a23_0x4816=function(_0x48163d,_0x15ace5){_0x48163d=_0x48163d-0xf8;let _0xc2ec76=_0x233098[_0x48163d];return _0xc2ec76;},a23_0x4816(_0x1713e1,_0x44a604);}function a23_0x2330(){const _0x4d56ed=['.browserstack','_test','jest-o11y-','recursive','setup','join','readFileSync','.json','toString','getTestUUID','BROWSERSTACK_TESTHUB_UUID','homedir','VGkzq','gpIPl','getFilePath','path','existsSync','1148112qLPNBH','175ScvEPG','unlinkSync','2223864nuACYu','ENV_VAR','env','SkrMI','setTestData','getTestData','159474rvHWEH','tmpkl','getTestRunIdFromTestInfo','eBvBX','451476oQJxhh','testData.json','stringify','21DszDdf','../../../helpers/testhub/constants','shutdown','tests','parse','writeFileSync','vDoaW','uuid','mkdirSync','setTestUUID','retry','39027mxsGqx','dirPath','1384452nvaqaF','1541980KEndrK','34aUYpFe'];a23_0x2330=function(){return _0x4d56ed;};return a23_0x2330();}const fs=require('fs'),path=require(a23_0x34e14f(0x10e)),{v4:uuidv4}=require(a23_0x34e14f(0x127)),helper=require('../../../helpers/helper'),testHubConstants=require(a23_0x34e14f(0x121));class TestDetails{static [a23_0x34e14f(0x123)]={};static [a23_0x34e14f(0xfb)]=path['join'](helper[a23_0x34e14f(0x10a)](),a23_0x34e14f(0xff),a23_0x34e14f(0x101)+process['env'][testHubConstants[a23_0x34e14f(0x114)][a23_0x34e14f(0x109)]]);static[a23_0x34e14f(0x103)](){const _0x2e63b7=a23_0x34e14f,_0x2ad01a={};_0x2ad01a[_0x2e63b7(0x10b)]=_0x2e63b7(0xff);const _0x242c38=_0x2ad01a;this[_0x2e63b7(0xfb)]=path[_0x2e63b7(0x104)](helper[_0x2e63b7(0x10a)](),_0x242c38['VGkzq'],_0x2e63b7(0x101)+process[_0x2e63b7(0x115)][testHubConstants[_0x2e63b7(0x114)]['BROWSERSTACK_TESTHUB_UUID']]),this['shutdown']();const _0x1a6122={};_0x1a6122[_0x2e63b7(0x102)]=!![],fs[_0x2e63b7(0x128)](this[_0x2e63b7(0xfb)],_0x1a6122);}static[a23_0x34e14f(0x10d)](_0x2c5bdf){const _0x3aca0b=a23_0x34e14f,_0x1e8f8e={};_0x1e8f8e[_0x3aca0b(0x126)]=function(_0x3cddf6,_0xf52e4d){return _0x3cddf6+_0xf52e4d;},_0x1e8f8e['puFNY']=_0x3aca0b(0x106);const _0x5c5653=_0x1e8f8e;return path[_0x3aca0b(0x104)](this[_0x3aca0b(0xfb)],_0x5c5653[_0x3aca0b(0x126)](_0x2c5bdf,_0x5c5653['puFNY']));}static[a23_0x34e14f(0x11b)](_0x4f8edd){const _0x2ffa3b=a23_0x34e14f,_0x2273d6={};_0x2273d6[_0x2ffa3b(0x11a)]=function(_0x2f6212,_0x299db9){return _0x2f6212+_0x299db9;},_0x2273d6[_0x2ffa3b(0x116)]=function(_0x4a5329,_0x22374f){return _0x4a5329+_0x22374f;},_0x2273d6[_0x2ffa3b(0x10c)]=function(_0x283209,_0x38aa53){return _0x283209+_0x38aa53;};const _0x3d541e=_0x2273d6;return _0x3d541e[_0x2ffa3b(0x11a)](_0x3d541e[_0x2ffa3b(0x116)](_0x3d541e[_0x2ffa3b(0x10c)](_0x3d541e['SkrMI'](_0x4f8edd[_0x2ffa3b(0x100)]['_projectId'],'-'),_0x4f8edd[_0x2ffa3b(0x100)]['id']),'-'),_0x4f8edd[_0x2ffa3b(0xf9)]);}static[a23_0x34e14f(0x108)](_0x4178ee){const _0x494daa=a23_0x34e14f,_0x1167f1=this['getFilePath'](_0x4178ee);if(fs[_0x494daa(0x10f)](_0x1167f1)){const _0x676629=JSON[_0x494daa(0x124)](fs[_0x494daa(0x105)](_0x1167f1)[_0x494daa(0x107)]());return this[_0x494daa(0x123)][_0x4178ee]=_0x676629,this['tests'][_0x4178ee][_0x494daa(0x127)];}}static[a23_0x34e14f(0x117)](_0x373e83){const _0x12c79f=a23_0x34e14f,_0x4e317a={};_0x4e317a['IVKah']=_0x12c79f(0x11e);const _0x30f254=_0x4e317a,_0x145781=path[_0x12c79f(0x104)](this[_0x12c79f(0xfb)],_0x30f254['IVKah']);fs[_0x12c79f(0x125)](_0x145781,JSON[_0x12c79f(0x11f)](_0x373e83));}static[a23_0x34e14f(0x118)](){const _0x2d34c8=a23_0x34e14f,_0x16130c={};_0x16130c['FgkQK']=_0x2d34c8(0x11e);const _0x42e59b=_0x16130c,_0x3e1ad2=path[_0x2d34c8(0x104)](this[_0x2d34c8(0xfb)],_0x42e59b['FgkQK']);let _0xe8186e={};try{return fs['existsSync'](_0x3e1ad2)&&(_0xe8186e=JSON[_0x2d34c8(0x124)](fs[_0x2d34c8(0x105)](_0x3e1ad2)[_0x2d34c8(0x107)]())),_0xe8186e;}catch(_0x1a775b){return _0xe8186e;}}static[a23_0x34e14f(0xf8)](_0x3654ea){const _0xf1c478=a23_0x34e14f,_0x5b4b70={'eBvBX':function(_0x38cbbe){return _0x38cbbe();}},_0xb59e10=this[_0xf1c478(0x10d)](_0x3654ea);return this[_0xf1c478(0x123)][_0x3654ea]={'uuid':_0x5b4b70[_0xf1c478(0x11c)](uuidv4)},fs['writeFileSync'](_0xb59e10,JSON[_0xf1c478(0x11f)](this[_0xf1c478(0x123)][_0x3654ea])),this[_0xf1c478(0x123)][_0x3654ea][_0xf1c478(0x127)];}static['removeTestUUID'](_0x46097d){const _0x51e9eb=a23_0x34e14f,_0x251a5b=this['getFilePath'](_0x46097d);fs['existsSync'](_0x251a5b)&&fs[_0x51e9eb(0x112)](_0x251a5b);}static[a23_0x34e14f(0x122)](){const _0x5ac432=a23_0x34e14f,_0x17c573={};_0x17c573['recursive']=!![],_0x17c573['force']=!![],fs['rmSync'](this[_0x5ac432(0xfb)],_0x17c573);}}module['exports']=TestDetails;
1
+ const a23_0x39ad34=a23_0x56f3;(function(_0x1489de,_0x320076){const _0x349803=a23_0x56f3,_0x1d4e35=_0x1489de();while(!![]){try{const _0x4c7b11=-parseInt(_0x349803(0x163))/0x1+-parseInt(_0x349803(0x183))/0x2*(-parseInt(_0x349803(0x190))/0x3)+parseInt(_0x349803(0x178))/0x4*(-parseInt(_0x349803(0x18d))/0x5)+parseInt(_0x349803(0x18e))/0x6+parseInt(_0x349803(0x188))/0x7*(-parseInt(_0x349803(0x184))/0x8)+parseInt(_0x349803(0x171))/0x9*(-parseInt(_0x349803(0x17d))/0xa)+parseInt(_0x349803(0x17e))/0xb*(parseInt(_0x349803(0x168))/0xc);if(_0x4c7b11===_0x320076)break;else _0x1d4e35['push'](_0x1d4e35['shift']());}catch(_0x5c7a31){_0x1d4e35['push'](_0x1d4e35['shift']());}}}(a23_0xd8b5,0x8310c));const fs=require('fs'),path=require(a23_0x39ad34(0x187)),{v4:uuidv4}=require(a23_0x39ad34(0x15f)),helper=require('../../../helpers/helper'),testHubConstants=require(a23_0x39ad34(0x16e));class TestDetails{static [a23_0x39ad34(0x167)]={};static [a23_0x39ad34(0x17f)]=path[a23_0x39ad34(0x186)](helper[a23_0x39ad34(0x16f)](),'.browserstack','jest-o11y-'+process[a23_0x39ad34(0x175)][testHubConstants['ENV_VAR'][a23_0x39ad34(0x18c)]]);static['setup'](){const _0x558a14=a23_0x39ad34,_0x10eb4a={};_0x10eb4a['XcTUY']=_0x558a14(0x185);const _0x1aa506=_0x10eb4a;this[_0x558a14(0x17f)]=path[_0x558a14(0x186)](helper[_0x558a14(0x16f)](),_0x1aa506[_0x558a14(0x181)],_0x558a14(0x164)+process[_0x558a14(0x175)][testHubConstants['ENV_VAR'][_0x558a14(0x18c)]]),this[_0x558a14(0x177)]();const _0x57870d={};_0x57870d['recursive']=!![],fs['mkdirSync'](this[_0x558a14(0x17f)],_0x57870d);}static[a23_0x39ad34(0x174)](_0x5d0360){const _0x504409=a23_0x39ad34,_0x16a040={};_0x16a040[_0x504409(0x18f)]=function(_0x33b842,_0xa46808){return _0x33b842+_0xa46808;},_0x16a040[_0x504409(0x16a)]=_0x504409(0x17a);const _0x483e8b=_0x16a040;return path[_0x504409(0x186)](this[_0x504409(0x17f)],_0x483e8b[_0x504409(0x18f)](_0x5d0360,_0x483e8b['bliYU']));}static[a23_0x39ad34(0x16b)](_0x26c26c){const _0x5bcbdf=a23_0x39ad34,_0x27be5e={};_0x27be5e['IjrDi']=function(_0x12c4f7,_0x3f6114){return _0x12c4f7+_0x3f6114;},_0x27be5e['ajWfU']=function(_0x239739,_0x3deede){return _0x239739+_0x3deede;},_0x27be5e[_0x5bcbdf(0x189)]=function(_0xb8ab52,_0x48915f){return _0xb8ab52+_0x48915f;};const _0x571a96=_0x27be5e;return _0x571a96[_0x5bcbdf(0x165)](_0x571a96['ajWfU'](_0x571a96[_0x5bcbdf(0x189)](_0x571a96[_0x5bcbdf(0x165)](_0x26c26c[_0x5bcbdf(0x170)][_0x5bcbdf(0x18a)],'-'),_0x26c26c[_0x5bcbdf(0x170)]['id']),'-'),_0x26c26c[_0x5bcbdf(0x16d)]);}static[a23_0x39ad34(0x182)](_0x184b14){const _0x587e5a=a23_0x39ad34,_0x34af72=this[_0x587e5a(0x174)](_0x184b14);if(fs['existsSync'](_0x34af72)){const _0x2108c8=JSON['parse'](fs['readFileSync'](_0x34af72)[_0x587e5a(0x160)]());return this['tests'][_0x184b14]=_0x2108c8,this['tests'][_0x184b14][_0x587e5a(0x15f)];}}static['setTestData'](_0x5b481e){const _0x4695c6=a23_0x39ad34,_0x16d865={};_0x16d865['mnArt']=_0x4695c6(0x173);const _0x17c99b=_0x16d865,_0x1bf19b=path['join'](this[_0x4695c6(0x17f)],_0x17c99b[_0x4695c6(0x169)]);fs[_0x4695c6(0x162)](_0x1bf19b,JSON[_0x4695c6(0x191)](_0x5b481e));}static[a23_0x39ad34(0x17c)](){const _0x44da1d=a23_0x39ad34,_0x106bef={};_0x106bef[_0x44da1d(0x166)]=_0x44da1d(0x173);const _0x149fad=_0x106bef,_0x1b0e06=path['join'](this[_0x44da1d(0x17f)],_0x149fad[_0x44da1d(0x166)]);let _0x27e1cd={};try{return fs[_0x44da1d(0x176)](_0x1b0e06)&&(_0x27e1cd=JSON[_0x44da1d(0x18b)](fs[_0x44da1d(0x179)](_0x1b0e06)['toString']())),_0x27e1cd;}catch(_0x55c3c9){return _0x27e1cd;}}static[a23_0x39ad34(0x180)](_0x5412b4){const _0x672bb=a23_0x39ad34,_0x1978a4={'vECJO':function(_0x18e66c){return _0x18e66c();}},_0xaa7540=this[_0x672bb(0x174)](_0x5412b4);return this['tests'][_0x5412b4]={'uuid':_0x1978a4[_0x672bb(0x172)](uuidv4)},fs[_0x672bb(0x162)](_0xaa7540,JSON[_0x672bb(0x191)](this[_0x672bb(0x167)][_0x5412b4])),this['tests'][_0x5412b4][_0x672bb(0x15f)];}static[a23_0x39ad34(0x15e)](_0x42dd6a){const _0xdcf741=a23_0x39ad34,_0x1268eb=this['getFilePath'](_0x42dd6a);fs[_0xdcf741(0x176)](_0x1268eb)&&fs[_0xdcf741(0x16c)](_0x1268eb);}static['shutdown'](){const _0x466056=a23_0x39ad34,_0x3cd216={};_0x3cd216[_0x466056(0x17b)]=!![],_0x3cd216['force']=!![],fs['rmSync'](this[_0x466056(0x17f)],_0x3cd216);}}function a23_0x56f3(_0x591b56,_0x4040c6){const _0xd8b5cc=a23_0xd8b5();return a23_0x56f3=function(_0x56f33c,_0xc6586b){_0x56f33c=_0x56f33c-0x15e;let _0xb510e3=_0xd8b5cc[_0x56f33c];return _0xb510e3;},a23_0x56f3(_0x591b56,_0x4040c6);}module[a23_0x39ad34(0x161)]=TestDetails;function a23_0xd8b5(){const _0x281674=['jest-o11y-','IjrDi','tXRFK','tests','36564GCMWrA','mnArt','bliYU','getTestRunIdFromTestInfo','unlinkSync','retry','../../../helpers/testhub/constants','homedir','_test','422550OJIvjo','vECJO','testData.json','getFilePath','env','existsSync','shutdown','4xNcDUv','readFileSync','.json','recursive','getTestData','150BntxQN','5533UsdcOp','dirPath','setTestUUID','XcTUY','getTestUUID','1159054pJZCjx','3971936EhiInn','.browserstack','join','path','7hvzzHW','QRcHP','_projectId','parse','BROWSERSTACK_TESTHUB_UUID','3036485RXNBnQ','5198310soQNEW','pZgNx','3IZFfEF','stringify','removeTestUUID','uuid','toString','exports','writeFileSync','633670zZuWkq'];a23_0xd8b5=function(){return _0x281674;};return a23_0xd8b5();}
@@ -1 +1 @@
1
- const a24_0xe99305=a24_0x4fa4;(function(_0x31f395,_0x5af38d){const _0x4dafaa=a24_0x4fa4,_0x1924b1=_0x31f395();while(!![]){try{const _0x32d0b2=parseInt(_0x4dafaa(0xa4))/0x1*(parseInt(_0x4dafaa(0xa0))/0x2)+-parseInt(_0x4dafaa(0xa7))/0x3*(-parseInt(_0x4dafaa(0xab))/0x4)+-parseInt(_0x4dafaa(0xad))/0x5*(parseInt(_0x4dafaa(0xa3))/0x6)+parseInt(_0x4dafaa(0xa2))/0x7*(-parseInt(_0x4dafaa(0xae))/0x8)+-parseInt(_0x4dafaa(0xaa))/0x9*(-parseInt(_0x4dafaa(0xa9))/0xa)+-parseInt(_0x4dafaa(0xaf))/0xb+parseInt(_0x4dafaa(0xa8))/0xc*(-parseInt(_0x4dafaa(0xa5))/0xd);if(_0x32d0b2===_0x5af38d)break;else _0x1924b1['push'](_0x1924b1['shift']());}catch(_0x5b6955){_0x1924b1['push'](_0x1924b1['shift']());}}}(a24_0x1186,0xb4b00));function a24_0x1186(){const _0x165a19=['58252uGuXkf','221TSWsry','selenium-webdriver','3171WsYtvZ','848832MBCNdO','12307940uQwtyb','9CVyiQT','5228wSWqdO','../../helpers/helper','5010uRHSob','517136DNjajg','2582547NmFhit','24LzmFTD','__webdriver','91YLraSF','1758VzScki'];a24_0x1186=function(){return _0x165a19;};return a24_0x1186();}const {requireModule}=require(a24_0xe99305(0xac));require('../../helpers/setKeepAlive')();const __wd__=requireModule(a24_0xe99305(0xa6));function a24_0x4fa4(_0x1a9124,_0x5492b2){const _0x118617=a24_0x1186();return a24_0x4fa4=function(_0x4fa494,_0xfc8e2f){_0x4fa494=_0x4fa494-0xa0;let _0x2ae30e=_0x118617[_0x4fa494];return _0x2ae30e;},a24_0x4fa4(_0x1a9124,_0x5492b2);}for(const key of Object['keys'](global[a24_0xe99305(0xa1)])){__wd__[key]=global[a24_0xe99305(0xa1)][key];}
1
+ const a24_0x15cc6f=a24_0xea5f;(function(_0x63a4b9,_0x70eea3){const _0x2b597d=a24_0xea5f,_0x10ecfd=_0x63a4b9();while(!![]){try{const _0x22364=parseInt(_0x2b597d(0x151))/0x1*(parseInt(_0x2b597d(0x15d))/0x2)+-parseInt(_0x2b597d(0x15b))/0x3*(-parseInt(_0x2b597d(0x154))/0x4)+-parseInt(_0x2b597d(0x156))/0x5*(parseInt(_0x2b597d(0x153))/0x6)+-parseInt(_0x2b597d(0x15a))/0x7*(-parseInt(_0x2b597d(0x155))/0x8)+parseInt(_0x2b597d(0x152))/0x9+-parseInt(_0x2b597d(0x158))/0xa+parseInt(_0x2b597d(0x157))/0xb;if(_0x22364===_0x70eea3)break;else _0x10ecfd['push'](_0x10ecfd['shift']());}catch(_0x153900){_0x10ecfd['push'](_0x10ecfd['shift']());}}}(a24_0x386e,0x9afd3));function a24_0xea5f(_0x213d25,_0xb05853){const _0x386e1e=a24_0x386e();return a24_0xea5f=function(_0xea5f0b,_0x21cde8){_0xea5f0b=_0xea5f0b-0x151;let _0x1d7931=_0x386e1e[_0xea5f0b];return _0x1d7931;},a24_0xea5f(_0x213d25,_0xb05853);}const {requireModule}=require(a24_0x15cc6f(0x15e));require(a24_0x15cc6f(0x159))();const __wd__=requireModule(a24_0x15cc6f(0x15f));for(const key of Object['keys'](global[a24_0x15cc6f(0x15c)])){__wd__[key]=global['__webdriver'][key];}function a24_0x386e(){const _0x953236=['7289680nqjkem','../../helpers/setKeepAlive','14rWIqdu','3KDTftc','__webdriver','1084EKBgQA','../../helpers/helper','selenium-webdriver','397naGJvr','622017HBQgeI','18PMvabj','838748mfsTSG','1101080AlbnAC','1911920UTUDdU','19158821NbGAXW'];a24_0x386e=function(){return _0x953236;};return a24_0x386e();}
@@ -1 +1 @@
1
- const a25_0x4e231e=a25_0xfcc2;(function(_0x202d78,_0x5c5383){const _0x2e27ff=a25_0xfcc2,_0x488019=_0x202d78();while(!![]){try{const _0x79bfdf=parseInt(_0x2e27ff(0x66))/0x1*(parseInt(_0x2e27ff(0x6a))/0x2)+parseInt(_0x2e27ff(0x6e))/0x3*(-parseInt(_0x2e27ff(0x75))/0x4)+parseInt(_0x2e27ff(0x7d))/0x5*(-parseInt(_0x2e27ff(0x8d))/0x6)+-parseInt(_0x2e27ff(0x67))/0x7*(-parseInt(_0x2e27ff(0x82))/0x8)+-parseInt(_0x2e27ff(0x89))/0x9+-parseInt(_0x2e27ff(0x88))/0xa+parseInt(_0x2e27ff(0x78))/0xb;if(_0x79bfdf===_0x5c5383)break;else _0x488019['push'](_0x488019['shift']());}catch(_0x5089f4){_0x488019['push'](_0x488019['shift']());}}}(a25_0x2e40,0x71b74));const path=require(a25_0x4e231e(0x8b)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x4e231e(0x73)),constants=require(a25_0x4e231e(0x81)),{isAccessibilityAutomationSession}=require(a25_0x4e231e(0x6d)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{isTestObservabilitySession}=require(a25_0x4e231e(0x84)),helper=require(a25_0x4e231e(0x73)),{commandRepository}=require(a25_0x4e231e(0x7b));function a25_0x2e40(){const _0x36c195=['2219ZUzpEX','testsUnknown','lvGRL','222FTlgGr','testsSkipped','formatter','../../helpers/accessibility-automation/helper','73581yOauSX','testsUndefined','totalTests','1|17|18|7|21|16|22|15|20|12|14|4|10|23|0|9|2|11|5|13|8|19|3|6','setConfig','../../helpers/helper','_configuration','148IeMJAS','testsErrorMessage','testSuites','19588690VPIkTS','split','_mochaOpts','../../helpers/ai-sdk/autoHealHelper','_framework','394700OJgOhW','testsPassed','includes','_accessibilityAutomation','../utils/constants','3544nclMFp','platform','../../helpers/test-observability/utils','platformCaps','__platformCaps','testsAmbiguous','4464570mLchHB','7517412yEheMZ','framework','path','resolvePaths','12qpzkJh','AI_ENABLED_FRAMEWORK','capability','testsFailed','rCjLQ','_argv','configuration','_testObservability','8033RXwJLn'];a25_0x2e40=function(){return _0x36c195;};return a25_0x2e40();}function a25_0xfcc2(_0x3ec774,_0x45db76){const _0x2e407c=a25_0x2e40();return a25_0xfcc2=function(_0xfcc2fb,_0x219054){_0xfcc2fb=_0xfcc2fb-0x65;let _0x1e170c=_0x2e407c[_0xfcc2fb];return _0x1e170c;},a25_0xfcc2(_0x3ec774,_0x45db76);}class Launcher{constructor(_0x41a515,_0x3b8e68,_0x9654f,_0x2f6dca=[]){const _0x5cfcb6=a25_0x4e231e,_0x41aae9={'lvGRL':_0x5cfcb6(0x71),'rCjLQ':function(_0x46bbe8){return _0x46bbe8();}},_0x30d423=_0x41aae9[_0x5cfcb6(0x69)][_0x5cfcb6(0x79)]('|');let _0x578741=0x0;while(!![]){switch(_0x30d423[_0x578741++]){case'0':global[_0x5cfcb6(0x7e)]=0x0;continue;case'1':this[_0x5cfcb6(0x7c)]=_0x41a515;continue;case'2':global['testsPending']=0x0;continue;case'3':global[_0x5cfcb6(0x76)]={};continue;case'4':global[_0x5cfcb6(0x86)]=this[_0x5cfcb6(0x74)][_0x5cfcb6(0x85)]||{};continue;case'5':global['testSuitesFailed']=0x0;continue;case'6':!constants[_0x5cfcb6(0x8e)][_0x5cfcb6(0x7f)](_0x41a515)&&(commandRepository[_0x5cfcb6(0x72)](_0x9654f),commandRepository['setFramework'](_0x41a515));continue;case'7':this[_0x5cfcb6(0x7a)]=_0x3b8e68['mochaOpts'];continue;case'8':global[_0x5cfcb6(0x68)]=0x0;continue;case'9':global[_0x5cfcb6(0x90)]=0x0;continue;case'10':global[_0x5cfcb6(0x77)]=0x0;continue;case'11':global[_0x5cfcb6(0x6b)]=0x0;continue;case'12':this[_0x5cfcb6(0x65)]=_0x41aae9[_0x5cfcb6(0x91)](isTestObservabilitySession);continue;case'13':global[_0x5cfcb6(0x6f)]=0x0;continue;case'14':this[_0x5cfcb6(0x80)]=_0x41aae9[_0x5cfcb6(0x91)](isAccessibilityAutomationSession);continue;case'15':this[_0x5cfcb6(0x92)]=_0x2f6dca;continue;case'16':this['_capability']=this[_0x5cfcb6(0x74)][_0x5cfcb6(0x8f)];continue;case'17':this[_0x5cfcb6(0x74)]=_0x3b8e68[_0x5cfcb6(0x93)]||{};continue;case'18':this[_0x5cfcb6(0x74)][_0x5cfcb6(0x8a)]=_0x41a515;continue;case'19':global[_0x5cfcb6(0x87)]=0x0;continue;case'20':this['_bsConfig']=_0x9654f;continue;case'21':this['_formatter']=_0x3b8e68[_0x5cfcb6(0x6c)];continue;case'22':global['__platform__']=this[_0x5cfcb6(0x74)][_0x5cfcb6(0x83)];continue;case'23':global[_0x5cfcb6(0x70)]=0x0;continue;}break;}}['setupCucumber'](_0x13ed49,_0x44fb6a,_0x21aa5a){const _0x1c60d8=a25_0x4e231e,_0x292493=_0x13ed49[_0x1c60d8(0x8c)];_0x13ed49.resolvePaths=async function(){const pathResults=await _0x292493.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x21aa5a));return pathResults;},_0x44fb6a.push('--format'),_0x44fb6a.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','mocha');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};if(!helper.isUndefined(this._mochaOpts.mochaRequire)){Object.assign(mochaOpts,{require:[this._mochaOpts.mochaRequire],globalSetup:(await helper.requireOrImport(path.resolve(process.cwd(),this._mochaOpts.mochaRequire))).mochaGlobalSetup,globalTeardown:(await helper.requireOrImport(path.resolve(process.cwd(),this._mochaOpts.mochaRequire))).mochaGlobalTeardown});}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;global.capabilities=[this._capability];try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js','@cucumber/cucumber');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js','cucumber');}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','@cucumber/cucumber');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js','@cucumber/cucumber');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','@cucumber/cucumber').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','cucumber').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'){global.capabilities=[this._capability];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_0x5acb9b=a25_0x2deb;(function(_0x9fb690,_0x1c3ce0){const _0x15f27a=a25_0x2deb,_0x10fe5f=_0x9fb690();while(!![]){try{const _0x3eed9f=parseInt(_0x15f27a(0x1ed))/0x1*(-parseInt(_0x15f27a(0x1f4))/0x2)+parseInt(_0x15f27a(0x1e9))/0x3+-parseInt(_0x15f27a(0x1e1))/0x4+parseInt(_0x15f27a(0x1ee))/0x5*(-parseInt(_0x15f27a(0x1f2))/0x6)+parseInt(_0x15f27a(0x1f3))/0x7*(-parseInt(_0x15f27a(0x1e5))/0x8)+parseInt(_0x15f27a(0x1d3))/0x9*(-parseInt(_0x15f27a(0x1dc))/0xa)+parseInt(_0x15f27a(0x1f8))/0xb*(parseInt(_0x15f27a(0x1cd))/0xc);if(_0x3eed9f===_0x1c3ce0)break;else _0x10fe5f['push'](_0x10fe5f['shift']());}catch(_0x5003d7){_0x10fe5f['push'](_0x10fe5f['shift']());}}}(a25_0x3d30,0x19702));function a25_0x3d30(){const _0x189ee6=['_bsConfig','../utils/constants','setConfig','testsAmbiguous','setupCucumber','testsPending','40ZtTnmA','capability','_accessibilityAutomation','testsPassed','_argv','373352xLLmyy','KSXhL','__platform__','split','8NVOrjt','testsUndefined','testSuitesFailed','__platformCaps','60063SLYkAK','../../helpers/test-observability/requestQueueHandler','_framework','../../helpers/ai-sdk/autoHealHelper','4RkDPru','840YcNpTc','_configuration','platformCaps','resolvePaths','1662MabiUs','1277948FFQvQv','1938cwNmSI','setFramework','totalTests','formatter','11Adlehv','testsSkipped','testsErrorMessage','../../helpers/helper','_testObservability','path','platform','6504996ZHgXnB','_mochaOpts','configuration','includes','_capability','testsUnknown','296091PbEVlL','framework','0|21|18|8|23|14|10|16|19|11|20|15|3|12|7|22|17|6|5|4|13|2|9|1'];a25_0x3d30=function(){return _0x189ee6;};return a25_0x3d30();}function a25_0x2deb(_0x592dd8,_0x1814d3){const _0x3d30d2=a25_0x3d30();return a25_0x2deb=function(_0x2deb73,_0x135c3d){_0x2deb73=_0x2deb73-0x1cc;let _0x165634=_0x3d30d2[_0x2deb73];return _0x165634;},a25_0x2deb(_0x592dd8,_0x1814d3);}const path=require(a25_0x5acb9b(0x1fd)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require('../../helpers/helper'),constants=require(a25_0x5acb9b(0x1d7)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),RequestQueueHandler=require(a25_0x5acb9b(0x1ea)),{isTestObservabilitySession}=require('../../helpers/test-observability/utils'),helper=require(a25_0x5acb9b(0x1fb)),{commandRepository}=require(a25_0x5acb9b(0x1ec));class Launcher{constructor(_0x5e0ea8,_0x3c544e,_0xcd6a55,_0x24e5a4=[]){const _0x23805f=a25_0x5acb9b,_0xf9d7e4={'KSXhL':_0x23805f(0x1d5),'oJvnA':function(_0x4f5947){return _0x4f5947();},'aPhvY':function(_0x4ded14){return _0x4ded14();}},_0x4c176b=_0xf9d7e4[_0x23805f(0x1e2)][_0x23805f(0x1e4)]('|');let _0x1c5c3b=0x0;while(!![]){switch(_0x4c176b[_0x1c5c3b++]){case'0':this[_0x23805f(0x1eb)]=_0x5e0ea8;continue;case'1':!constants['AI_ENABLED_FRAMEWORK'][_0x23805f(0x1d0)](_0x5e0ea8)&&(commandRepository[_0x23805f(0x1d8)](_0xcd6a55),commandRepository[_0x23805f(0x1f5)](_0x5e0ea8));continue;case'2':global[_0x23805f(0x1d9)]=0x0;continue;case'3':global['testSuites']=0x0;continue;case'4':global[_0x23805f(0x1e6)]=0x0;continue;case'5':global[_0x23805f(0x1e7)]=0x0;continue;case'6':global[_0x23805f(0x1f9)]=0x0;continue;case'7':global[_0x23805f(0x1df)]=0x0;continue;case'8':this[_0x23805f(0x1ce)]=_0x3c544e['mochaOpts'];continue;case'9':global[_0x23805f(0x1fa)]={};continue;case'10':global[_0x23805f(0x1e3)]=this[_0x23805f(0x1ef)][_0x23805f(0x1cc)];continue;case'11':this[_0x23805f(0x1fc)]=_0xf9d7e4['oJvnA'](isTestObservabilitySession);continue;case'12':global[_0x23805f(0x1f6)]=0x0;continue;case'13':global[_0x23805f(0x1d2)]=0x0;continue;case'14':this[_0x23805f(0x1d1)]=this[_0x23805f(0x1ef)][_0x23805f(0x1dd)];continue;case'15':global[_0x23805f(0x1e8)]=this[_0x23805f(0x1ef)][_0x23805f(0x1f0)]||{};continue;case'16':this[_0x23805f(0x1e0)]=_0x24e5a4;continue;case'17':global[_0x23805f(0x1db)]=0x0;continue;case'18':this[_0x23805f(0x1ef)][_0x23805f(0x1d4)]=_0x5e0ea8;continue;case'19':this[_0x23805f(0x1d6)]=_0xcd6a55;continue;case'20':this[_0x23805f(0x1de)]=_0xf9d7e4['aPhvY'](isAccessibilityAutomationSession);continue;case'21':this[_0x23805f(0x1ef)]=_0x3c544e[_0x23805f(0x1cf)]||{};continue;case'22':global['testsFailed']=0x0;continue;case'23':this['_formatter']=_0x3c544e[_0x23805f(0x1f7)];continue;}break;}}[a25_0x5acb9b(0x1da)](_0x11f25e,_0x384e41,_0x391d7d){const _0x5d1acb=a25_0x5acb9b,_0x37b45a=_0x11f25e[_0x5d1acb(0x1f1)];_0x11f25e.resolvePaths=async function(){const pathResults=await _0x37b45a.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x391d7d));return pathResults;},_0x384e41.push('--format'),_0x384e41.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','mocha');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;if(!helper.isUndefined(this._mochaOpts.mochaRequire)){this._mochaOpts.require=this._mochaOpts.mochaRequire;const plugins=await mochaRunHelper.handleRequires([this._mochaOpts.require]);Object.assign(this._mochaOpts,plugins);}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);}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={};Object.assign(mochaOpts,this._mochaOpts);const reporterOption={};Object.assign(reporterOption,this._mochaOpts.reporterOptions);Object.assign(reporterOption,{type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig});mochaOpts.reporterOption=reporterOption;Object.assign(mochaOpts,{reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),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;global.capabilities=[this._capability];try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js','@cucumber/cucumber');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js','cucumber');}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','@cucumber/cucumber');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js','@cucumber/cucumber');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','@cucumber/cucumber').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','cucumber').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'){global.capabilities=[this._capability];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_0x2c4219=a26_0x47d8;function a26_0x1206(){const _0x47db85=['10DnNiny','Exception\x20in\x20setExtension\x20Error:\x20','vxken','browserName','selenium-webdriver','env','nestedKeyValue','iwMGC','SIhZV','uQpts','DQflM','accessibility','PXehW','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','latest','capabilities_','isUndefined','setExtension','scannerVersion','debug','path','AhCbC','10JnhQIo','get','setGlobal','authToken','isAccessibilityPlatform','warn','parse','loMLk','getBrowserName','args','options_','accessibilityOptions','2792352LVufEm','util','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','requireModule','browserVersion','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../../../helpers/logger','345431XEqAcL','aDLGL','browserstack','sJSRO','BS_A11Y_JWT','2798259LguqeC','winstonLogger','1365579oImAbn','capability','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','chromeOptions','chromeOptions_','776428RQMrIT','browserstack.accessibility','Options','vUxdx','chrome','4146961ujZzss','qHhWw','format','yzASG','__cloud_provider___','KRStA','fetchPlatformDetails','toLowerCase','getPlatform','sEbqS','15019400OaRJiZ','selenium-webdriver/chrome.js','pOFyn','CumrJ','JjSbE','bstack:options','getBrowserVersion','deviceName','includes','xEHKR','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','DvMDd','gtGNT'];a26_0x1206=function(){return _0x47db85;};return a26_0x1206();}function a26_0x47d8(_0x3bdca0,_0x3419a2){const _0x120690=a26_0x1206();return a26_0x47d8=function(_0x47d805,_0x2f6a12){_0x47d805=_0x47d805-0xc0;let _0x9cb9dd=_0x120690[_0x47d805];return _0x9cb9dd;},a26_0x47d8(_0x3bdca0,_0x3419a2);}(function(_0x34bac4,_0x57cf21){const _0x3aab88=a26_0x47d8,_0x218593=_0x34bac4();while(!![]){try{const _0x5670bb=-parseInt(_0x3aab88(0x109))/0x1*(parseInt(_0x3aab88(0xe0))/0x2)+parseInt(_0x3aab88(0x10e))/0x3+-parseInt(_0x3aab88(0xc4))/0x4*(parseInt(_0x3aab88(0xf6))/0x5)+-parseInt(_0x3aab88(0x102))/0x6+parseInt(_0x3aab88(0xc9))/0x7+parseInt(_0x3aab88(0xd3))/0x8+parseInt(_0x3aab88(0x110))/0x9;if(_0x5670bb===_0x57cf21)break;else _0x218593['push'](_0x218593['shift']());}catch(_0x23db35){_0x218593['push'](_0x218593['shift']());}}}(a26_0x1206,0xedb03));const path=require(a26_0x2c4219(0xf4)),os=require('os'),util=require(a26_0x2c4219(0x103)),bsSetupHelper=require('../../../helpers/helper'),globals=require('../../../helpers/globals'),logger=require(a26_0x2c4219(0x108))[a26_0x2c4219(0x10f)];exports['setAccessibilityCapabilities']=_0x2b7c17=>{const _0xfc8878=a26_0x2c4219,_0x7ff4c7={};_0x7ff4c7['vUxdx']=_0xfc8878(0xd8),_0x7ff4c7['loMLk']=_0xfc8878(0xc5),_0x7ff4c7[_0xfc8878(0xe2)]=_0xfc8878(0xfa),_0x7ff4c7[_0xfc8878(0xdc)]='browserstack.accessibilityOptions';const _0x516c99=_0x7ff4c7;try{const _0x597623=_0x2b7c17[_0xfc8878(0xc0)]||{};if(_0x597623[_0x516c99['vUxdx']]&&_0x597623[_0x516c99[_0xfc8878(0xc7)]][_0xfc8878(0xeb)]||_0x2b7c17['capability'][_0x516c99[_0xfc8878(0xfd)]]){globals[_0xfc8878(0xf8)](_0x516c99[_0xfc8878(0xe2)],!![]);if(_0x597623[_0x516c99['vUxdx']]){if(_0x597623[_0x516c99['vUxdx']][_0xfc8878(0x101)])_0x597623[_0x516c99[_0xfc8878(0xc7)]][_0xfc8878(0x101)]['authToken']=process[_0xfc8878(0xe5)][_0xfc8878(0x10d)];else{const _0x570115={};_0x570115[_0xfc8878(0xf9)]=process[_0xfc8878(0xe5)]['BS_A11Y_JWT'],_0x597623[_0x516c99[_0xfc8878(0xc7)]][_0xfc8878(0x101)]=_0x570115;}_0x597623[_0x516c99[_0xfc8878(0xc7)]][_0xfc8878(0x101)][_0xfc8878(0xf2)]=JSON[_0xfc8878(0xfc)](process[_0xfc8878(0xe5)][_0xfc8878(0x107)])[_0xfc8878(0xf2)];}else{if(_0x2b7c17[_0xfc8878(0xc0)][_0x516c99[_0xfc8878(0xfd)]]){if(_0x597623[_0x516c99[_0xfc8878(0xdc)]])_0x597623[_0x516c99[_0xfc8878(0xdc)]][_0xfc8878(0xf9)]=process[_0xfc8878(0xe5)]['BS_A11Y_JWT'];else{const _0x1641a6={};_0x1641a6[_0xfc8878(0xf9)]=process[_0xfc8878(0xe5)][_0xfc8878(0x10d)],_0x597623[_0x516c99[_0xfc8878(0xdc)]]=_0x1641a6;}_0x597623[_0x516c99[_0xfc8878(0xdc)]][_0xfc8878(0xf2)]=JSON['parse'](process[_0xfc8878(0xe5)][_0xfc8878(0x107)])[_0xfc8878(0xf2)];}}}}catch(_0x1042d0){logger['debug'](_0xfc8878(0xc1)+_0x1042d0);}},exports[a26_0x2c4219(0xf1)]=(_0x3bb06d,_0x13e789)=>{const _0x5402e0=a26_0x2c4219,_0x57b9e8={};_0x57b9e8[_0x5402e0(0xca)]=_0x5402e0(0xd8),_0x57b9e8[_0x5402e0(0xde)]=function(_0x5950a8,_0x5b7346){return _0x5950a8!==_0x5b7346;},_0x57b9e8[_0x5402e0(0xf5)]=_0x5402e0(0xdd),_0x57b9e8[_0x5402e0(0xdf)]=_0x5402e0(0xc8),_0x57b9e8['sJSRO']='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.',_0x57b9e8[_0x5402e0(0xd5)]=function(_0x23d30d,_0x3e7aec){return _0x23d30d===_0x3e7aec;},_0x57b9e8['hkKvs']=_0x5402e0(0xee),_0x57b9e8[_0x5402e0(0xcc)]=function(_0x1d555d,_0x144315){return _0x1d555d>_0x144315;},_0x57b9e8['sEbqS']='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.',_0x57b9e8[_0x5402e0(0xd6)]=_0x5402e0(0xd4),_0x57b9e8[_0x5402e0(0xe9)]=_0x5402e0(0xe4),_0x57b9e8[_0x5402e0(0xd7)]=_0x5402e0(0x100),_0x57b9e8[_0x5402e0(0x10a)]=_0x5402e0(0xff),_0x57b9e8[_0x5402e0(0xce)]=_0x5402e0(0xc2),_0x57b9e8[_0x5402e0(0xea)]='--headless',_0x57b9e8[_0x5402e0(0xec)]=_0x5402e0(0xed);const _0x2bc7db=_0x57b9e8;try{const _0x40afa0=_0x13e789[_0x5402e0(0xc0)]||{},_0x2cb7cc=(_0x40afa0[_0x2bc7db[_0x5402e0(0xca)]]?_0x40afa0[_0x2bc7db[_0x5402e0(0xca)]][_0x5402e0(0xda)]:_0x40afa0['device'])||'';if(_0x2bc7db[_0x5402e0(0xde)](_0x2cb7cc,''))return logger[_0x5402e0(0xfb)](_0x2bc7db['AhCbC']),![];const _0x31fdb9=_0x40afa0[_0x5402e0(0xe3)]||_0x3bb06d[_0x5402e0(0xef)][_0x5402e0(0xfe)]();if(_0x2bc7db['DvMDd'](_0x31fdb9[_0x5402e0(0xd0)](),_0x2bc7db[_0x5402e0(0xdf)]))return logger['warn'](_0x2bc7db[_0x5402e0(0x10c)]),![];const _0x1fdc59=_0x40afa0[_0x5402e0(0x106)]||_0x40afa0['browser_version']||_0x3bb06d['capabilities_'][_0x5402e0(0xd9)]();if(!bsSetupHelper[_0x5402e0(0xf0)](_0x1fdc59)&&!(_0x2bc7db[_0x5402e0(0xd5)](_0x1fdc59,_0x2bc7db['hkKvs'])||_0x2bc7db[_0x5402e0(0xcc)](_0x1fdc59,0x5e)))return logger['warn'](_0x2bc7db[_0x5402e0(0xd2)]),![];let _0x57b93b;try{_0x57b93b=bsSetupHelper[_0x5402e0(0x105)](_0x2bc7db[_0x5402e0(0xd6)],_0x2bc7db[_0x5402e0(0xe9)]);}catch(_0x503050){return![];}const _0x140913=new _0x57b93b[(_0x5402e0(0xc6))](_0x3bb06d[_0x5402e0(0xc3)]),_0x59da2b=bsSetupHelper[_0x5402e0(0xe6)](_0x140913,[_0x2bc7db[_0x5402e0(0xd7)],_0x2bc7db[_0x5402e0(0x10a)]])||bsSetupHelper['nestedKeyValue'](_0x3bb06d[_0x5402e0(0xef)][_0x5402e0(0xf7)](_0x2bc7db['qHhWw']),[_0x2bc7db[_0x5402e0(0xce)],_0x2bc7db[_0x5402e0(0x10a)]])||bsSetupHelper['nestedKeyValue'](_0x3bb06d[_0x5402e0(0xef)][_0x5402e0(0xf7)](_0x2bc7db[_0x5402e0(0xce)]),[_0x2bc7db['aDLGL']])||[];if(_0x59da2b[_0x5402e0(0xdb)](_0x2bc7db[_0x5402e0(0xea)]))return logger[_0x5402e0(0xfb)](_0x2bc7db[_0x5402e0(0xec)]),![];return!![];}catch(_0x27d304){logger[_0x5402e0(0xf3)](_0x5402e0(0xe1)+util[_0x5402e0(0xcb)](_0x27d304));}return![];},exports[a26_0x2c4219(0xcf)]=async _0x2ecbef=>{const _0x27ec65=a26_0x2c4219,_0x22ef9e={};_0x22ef9e[_0x27ec65(0xe8)]=function(_0x2d85d6,_0x4991a6){return _0x2d85d6===_0x4991a6;},_0x22ef9e[_0x27ec65(0xe7)]=_0x27ec65(0x10b);const _0x4a53e3=_0x22ef9e;let _0x579953={};try{const _0x18442c=await _0x2ecbef['getCapabilities']();_0x579953={'os_name':_0x18442c[_0x27ec65(0xd1)](),'os_version':bsSetupHelper['getPlatformVersion'](_0x4a53e3[_0x27ec65(0xe8)](global[_0x27ec65(0xcd)],_0x4a53e3['iwMGC'])),'browser_name':_0x18442c[_0x27ec65(0xfe)](),'browser_version':_0x18442c['getBrowserVersion']()};}catch(_0x24cb7f){logger['debug'](_0x27ec65(0x104)+_0x24cb7f);}return _0x579953;};
1
+ function a26_0x14b3(_0x18d0c6,_0x5aabaa){const _0x244b18=a26_0x244b();return a26_0x14b3=function(_0x14b3d1,_0x33e1ab){_0x14b3d1=_0x14b3d1-0xf9;let _0x12403a=_0x244b18[_0x14b3d1];return _0x12403a;},a26_0x14b3(_0x18d0c6,_0x5aabaa);}const a26_0x498147=a26_0x14b3;(function(_0x19699d,_0x49db85){const _0x55e47e=a26_0x14b3,_0x4d5b76=_0x19699d();while(!![]){try{const _0x3c9053=-parseInt(_0x55e47e(0x12f))/0x1*(-parseInt(_0x55e47e(0x120))/0x2)+-parseInt(_0x55e47e(0x10e))/0x3*(parseInt(_0x55e47e(0x10a))/0x4)+-parseInt(_0x55e47e(0x125))/0x5*(-parseInt(_0x55e47e(0x138))/0x6)+parseInt(_0x55e47e(0x112))/0x7+-parseInt(_0x55e47e(0x130))/0x8+-parseInt(_0x55e47e(0x127))/0x9*(-parseInt(_0x55e47e(0x12e))/0xa)+-parseInt(_0x55e47e(0x113))/0xb;if(_0x3c9053===_0x49db85)break;else _0x4d5b76['push'](_0x4d5b76['shift']());}catch(_0x1c3307){_0x4d5b76['push'](_0x4d5b76['shift']());}}}(a26_0x244b,0x3a6ec));function a26_0x244b(){const _0x30a41e=['debug','scannerVersion','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','browserName','selenium-webdriver','setAccessibilityCapabilities','requireModule','ufNVS','path','qnqnQ','deviceName','KSfcz','EwMwI','bstack:options','gEtSz','device','browserstack','../../../helpers/helper','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','rDBZF','nestedKeyValue','LcdZI','getCapabilities','84WebOAJ','env','warn','parse','25575vDRicW','getBrowserName','browserVersion','get','1197749WxVibh','3794659FSdYHm','chromeOptions','SGCqH','fetchPlatformDetails','aTJVN','options_','LWfWw','GIIqj','setGlobal','YJgOf','oxOpu','latest','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','2CMlNdS','gtOYk','chromeOptions_','Exception\x20in\x20setExtension\x20Error:\x20','args','15mjdQQJ','DQLfX','448488KuauHN','toLowerCase','getPlatformVersion','IJrKE','BS_A11Y_JWT','accessibilityOptions','authToken','40ZUljkD','122646RDNnwo','918088tLdZRe','ArFiH','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','format','Fpcwe','../../../helpers/logger','capability','selenium-webdriver/chrome.js','770028qWOmNV','getPlatform','jrKln','winstonLogger','YuYhr','capabilities_','__cloud_provider___','util','browserstack.accessibility','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getBrowserVersion','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20'];a26_0x244b=function(){return _0x30a41e;};return a26_0x244b();}const path=require(a26_0x498147(0xfb)),os=require('os'),util=require(a26_0x498147(0x13f)),bsSetupHelper=require(a26_0x498147(0x104)),globals=require('../../../helpers/globals'),logger=require(a26_0x498147(0x135))[a26_0x498147(0x13b)];exports[a26_0x498147(0x149)]=_0x5643e4=>{const _0x285108=a26_0x498147,_0xbc23dc={};_0xbc23dc['GIIqj']=_0x285108(0x100),_0xbc23dc['jrKln']=_0x285108(0x140),_0xbc23dc['gtOYk']='isAccessibilityPlatform',_0xbc23dc[_0x285108(0xfe)]='browserstack.accessibilityOptions';const _0x42722b=_0xbc23dc;try{const _0x5df7a3=_0x5643e4[_0x285108(0x136)]||{};if(_0x5df7a3[_0x42722b[_0x285108(0x11a)]]&&_0x5df7a3[_0x42722b[_0x285108(0x11a)]]['accessibility']||_0x5643e4[_0x285108(0x136)][_0x42722b['jrKln']]){globals[_0x285108(0x11b)](_0x42722b[_0x285108(0x121)],!![]);if(_0x5df7a3[_0x42722b[_0x285108(0x11a)]]){if(_0x5df7a3[_0x42722b[_0x285108(0x11a)]][_0x285108(0x12c)])_0x5df7a3[_0x42722b[_0x285108(0x11a)]][_0x285108(0x12c)]['authToken']=process[_0x285108(0x10b)][_0x285108(0x12b)];else{const _0x4c5384={};_0x4c5384[_0x285108(0x12d)]=process[_0x285108(0x10b)][_0x285108(0x12b)],_0x5df7a3[_0x42722b['GIIqj']][_0x285108(0x12c)]=_0x4c5384;}_0x5df7a3[_0x42722b[_0x285108(0x11a)]]['accessibilityOptions']['scannerVersion']=JSON['parse'](process['env'][_0x285108(0x141)])[_0x285108(0x145)];}else{if(_0x5643e4['capability'][_0x42722b[_0x285108(0x13a)]]){if(_0x5df7a3[_0x42722b[_0x285108(0xfe)]])_0x5df7a3[_0x42722b['KSfcz']]['authToken']=process[_0x285108(0x10b)][_0x285108(0x12b)];else{const _0x3a8e53={};_0x3a8e53['authToken']=process['env'][_0x285108(0x12b)],_0x5df7a3[_0x42722b['KSfcz']]=_0x3a8e53;}_0x5df7a3[_0x42722b[_0x285108(0xfe)]][_0x285108(0x145)]=JSON[_0x285108(0x10d)](process[_0x285108(0x10b)][_0x285108(0x141)])[_0x285108(0x145)];}}}}catch(_0x4a60e7){logger[_0x285108(0x144)](_0x285108(0x146)+_0x4a60e7);}},exports['setExtension']=(_0x45a1a2,_0x5f3dae)=>{const _0x560585=a26_0x498147,_0x2014fd={};_0x2014fd[_0x560585(0x131)]=_0x560585(0x100),_0x2014fd[_0x560585(0x134)]=function(_0x3cc348,_0x2fbc6d){return _0x3cc348!==_0x2fbc6d;},_0x2014fd['SGCqH']=_0x560585(0x132),_0x2014fd[_0x560585(0x106)]='chrome',_0x2014fd[_0x560585(0x108)]=_0x560585(0x11f),_0x2014fd['FvGZn']=function(_0x209594,_0x1f4ebd){return _0x209594===_0x1f4ebd;},_0x2014fd[_0x560585(0xfa)]=_0x560585(0x11e),_0x2014fd[_0x560585(0x13c)]=function(_0x5ce41a,_0x1facde){return _0x5ce41a>_0x1facde;},_0x2014fd[_0x560585(0x126)]='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.',_0x2014fd['WwIhc']=_0x560585(0x137),_0x2014fd[_0x560585(0xff)]=_0x560585(0x148),_0x2014fd[_0x560585(0x11c)]=_0x560585(0x118),_0x2014fd[_0x560585(0x117)]=_0x560585(0x124),_0x2014fd[_0x560585(0x11d)]=_0x560585(0x114),_0x2014fd['qnqnQ']='--headless',_0x2014fd[_0x560585(0x12a)]=_0x560585(0x105);const _0x551660=_0x2014fd;try{const _0x51560c=_0x5f3dae[_0x560585(0x136)]||{},_0x1a9130=(_0x51560c[_0x551660[_0x560585(0x131)]]?_0x51560c[_0x551660[_0x560585(0x131)]][_0x560585(0xfd)]:_0x51560c[_0x560585(0x102)])||'';if(_0x551660[_0x560585(0x134)](_0x1a9130,''))return logger[_0x560585(0x10c)](_0x551660[_0x560585(0x115)]),![];const _0x29d9e7=_0x51560c[_0x560585(0x147)]||_0x45a1a2[_0x560585(0x13d)][_0x560585(0x10f)]();if(_0x551660['Fpcwe'](_0x29d9e7[_0x560585(0x128)](),_0x551660['rDBZF']))return logger[_0x560585(0x10c)](_0x551660[_0x560585(0x108)]),![];const _0x20332f=_0x51560c[_0x560585(0x110)]||_0x51560c['browser_version']||_0x45a1a2['capabilities_'][_0x560585(0x142)]();if(!bsSetupHelper['isUndefined'](_0x20332f)&&!(_0x551660['FvGZn'](_0x20332f,_0x551660['ufNVS'])||_0x551660[_0x560585(0x13c)](_0x20332f,0x5e)))return logger['warn'](_0x551660[_0x560585(0x126)]),![];let _0x5a858e;try{_0x5a858e=bsSetupHelper[_0x560585(0xf9)](_0x551660['WwIhc'],_0x551660[_0x560585(0xff)]);}catch(_0x5c32db){return![];}const _0x5151f7=new _0x5a858e['Options'](_0x45a1a2[_0x560585(0x122)]),_0x5bc6a0=bsSetupHelper[_0x560585(0x107)](_0x5151f7,[_0x551660[_0x560585(0x11c)],_0x551660[_0x560585(0x117)]])||bsSetupHelper['nestedKeyValue'](_0x45a1a2[_0x560585(0x13d)][_0x560585(0x111)](_0x551660[_0x560585(0x131)]),[_0x551660[_0x560585(0x11d)],_0x551660[_0x560585(0x117)]])||bsSetupHelper['nestedKeyValue'](_0x45a1a2[_0x560585(0x13d)][_0x560585(0x111)](_0x551660[_0x560585(0x11d)]),[_0x551660[_0x560585(0x117)]])||[];if(_0x5bc6a0['includes'](_0x551660[_0x560585(0xfc)]))return logger[_0x560585(0x10c)](_0x551660[_0x560585(0x12a)]),![];return!![];}catch(_0x1a6c6a){logger[_0x560585(0x144)](_0x560585(0x123)+util[_0x560585(0x133)](_0x1a6c6a));}return![];},exports[a26_0x498147(0x116)]=async _0x4e64c4=>{const _0x1c4880=a26_0x498147,_0x5d3a84={};_0x5d3a84[_0x1c4880(0x119)]=function(_0x46a074,_0x394122){return _0x46a074===_0x394122;},_0x5d3a84['gEtSz']=_0x1c4880(0x103);const _0x205eb3=_0x5d3a84;let _0x7aa14b={};try{const _0x3e5344=await _0x4e64c4[_0x1c4880(0x109)]();_0x7aa14b={'os_name':_0x3e5344[_0x1c4880(0x139)](),'os_version':bsSetupHelper[_0x1c4880(0x129)](_0x205eb3['LWfWw'](global[_0x1c4880(0x13e)],_0x205eb3[_0x1c4880(0x101)])),'browser_name':_0x3e5344[_0x1c4880(0x10f)](),'browser_version':_0x3e5344['getBrowserVersion']()};}catch(_0x334aab){logger[_0x1c4880(0x144)](_0x1c4880(0x143)+_0x334aab);}return _0x7aa14b;};
@@ -1 +1 @@
1
- 'use strict';function a27_0x2128(_0x4f252e,_0x2412ee){const _0x171d50=a27_0x171d();return a27_0x2128=function(_0x212873,_0x43ecdd){_0x212873=_0x212873-0x1d5;let _0x3954be=_0x171d50[_0x212873];return _0x3954be;},a27_0x2128(_0x4f252e,_0x2412ee);}const a27_0x37dbbe=a27_0x2128;(function(_0x172e82,_0x405cc6){const _0x33b133=a27_0x2128,_0x14b707=_0x172e82();while(!![]){try{const _0x4ad819=parseInt(_0x33b133(0x294))/0x1+-parseInt(_0x33b133(0x27f))/0x2*(parseInt(_0x33b133(0x2b5))/0x3)+-parseInt(_0x33b133(0x25d))/0x4*(-parseInt(_0x33b133(0x271))/0x5)+-parseInt(_0x33b133(0x2af))/0x6*(parseInt(_0x33b133(0x29d))/0x7)+parseInt(_0x33b133(0x243))/0x8+parseInt(_0x33b133(0x281))/0x9+parseInt(_0x33b133(0x20f))/0xa;if(_0x4ad819===_0x405cc6)break;else _0x14b707['push'](_0x14b707['shift']());}catch(_0x9db487){_0x14b707['push'](_0x14b707['shift']());}}}(a27_0x171d,0xbfec5));const util=require(a27_0x37dbbe(0x21e)),fs=require('fs'),path=require(a27_0x37dbbe(0x216)),{requireModule}=require(a27_0x37dbbe(0x222)),Base=requireModule(a27_0x37dbbe(0x223),'mocha'),utils=requireModule(a27_0x37dbbe(0x2a1),'mocha'),color=Base[a27_0x37dbbe(0x2e5)],Mocha=requireModule('mocha'),Runnable=requireModule(a27_0x37dbbe(0x205),a27_0x37dbbe(0x2c6)),{v4:uuidv4}=require(a27_0x37dbbe(0x262)),bsSetupHelper=require(a27_0x37dbbe(0x222)),testhubUtils=require(a27_0x37dbbe(0x2c4)),centralScannerUtils=require('../../../helpers/central-scanner/helpers'),testHubConstants=require(a27_0x37dbbe(0x2f0)),{FRAMEWORKS}=require(a27_0x37dbbe(0x1d5)),a27_0x211124={};a27_0x211124['before\x20all']=a27_0x37dbbe(0x206),a27_0x211124[a27_0x37dbbe(0x1e4)]='AFTER_ALL',a27_0x211124[a27_0x37dbbe(0x23f)]=a27_0x37dbbe(0x2b9),a27_0x211124[a27_0x37dbbe(0x2f3)]='AFTER_EACH';const HOOK_TYPES_MAP=a27_0x211124,{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_0x37dbbe(0x26c)][a27_0x37dbbe(0x244)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0x37dbbe(0x244)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a27_0x37dbbe(0x221)),{consoleHolder}=require(a27_0x37dbbe(0x1d5)),SessionHandler=require(a27_0x37dbbe(0x296)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a27_0x37dbbe(0x2a0)),RequestQueueHandler=require(a27_0x37dbbe(0x23d)),requestQueueHandler=RequestQueueHandler[a27_0x37dbbe(0x2f8)]();class MyReporter{constructor(_0x3bc8c3,_0x47931c){const _0x1372b9=a27_0x37dbbe,_0x3e7883={'dXPVN':function(_0x4abbac,_0x3b1815){return _0x4abbac===_0x3b1815;},'RyXAj':_0x1372b9(0x212),'SMJjd':function(_0x538d3b,_0x35b8d6){return _0x538d3b+_0x35b8d6;},'uZFQo':function(_0x20e9ab,_0x29cbb5,_0x13f995){return _0x20e9ab(_0x29cbb5,_0x13f995);},'CzBNb':_0x1372b9(0x2c5),'NsoQS':_0x1372b9(0x2e0),'hqeCH':function(_0x30618a,_0xfdcd02,_0x1250c7){return _0x30618a(_0xfdcd02,_0x1250c7);},'TwMfX':_0x1372b9(0x2f6),'lEHqj':_0x1372b9(0x2d7),'ZvoMM':_0x1372b9(0x2cb),'RVYfx':_0x1372b9(0x21a),'OUmBZ':function(_0x4b4729){return _0x4b4729();},'XUHuz':_0x1372b9(0x2ea),'xemgr':function(_0x1ae3ea,_0x347c8f){return _0x1ae3ea===_0x347c8f;},'wHAQy':'HookRunFinished','oGNoW':function(_0x139bee,_0x524055){return _0x139bee===_0x524055;},'iztBz':_0x1372b9(0x27a),'LLelg':'fast','QaEPM':function(_0x375967,_0x206057,_0x16a62c){return _0x375967(_0x206057,_0x16a62c);},'ICegY':'checkmark','wYpjH':function(_0x5d26df,_0x5125ce){return _0x5d26df+_0x5125ce;},'XOFMR':function(_0x9cee4c,_0x209ce3,_0x513176){return _0x9cee4c(_0x209ce3,_0x513176);},'rPncS':_0x1372b9(0x269),'GbxOQ':_0x1372b9(0x1ec),'NkaCc':function(_0x294c48,_0x218838){return _0x294c48+_0x218838;},'dPgYH':function(_0x41e168,_0x34f93b,_0xdf3b61){return _0x41e168(_0x34f93b,_0xdf3b61);},'LqhhM':_0x1372b9(0x1e2),'NjCHi':function(_0x4c2233,_0x20a3ff){return _0x4c2233+_0x20a3ff;},'NaNut':function(_0x1203d7,_0x4df24c,_0x54ee9e){return _0x1203d7(_0x4df24c,_0x54ee9e);},'ayDVC':_0x1372b9(0x2e8),'mmUrK':_0x1372b9(0x241),'wDIjR':function(_0x22fa74,_0x35c3b5){return _0x22fa74===_0x35c3b5;},'dKbBg':function(_0x33a8cb,_0x38a528){return _0x33a8cb+_0x38a528;},'etbXs':function(_0xdab30a,_0x4c016c,_0x34b03c){return _0xdab30a(_0x4c016c,_0x34b03c);},'ysYiw':'bright\x20yellow','KvgZc':function(_0x2c16ee,_0x14cffd,_0x8515d7){return _0x2c16ee(_0x14cffd,_0x8515d7);},'RKINq':_0x1372b9(0x254),'jKYiO':function(_0x116094,_0x49b8e3){return _0x116094===_0x49b8e3;},'UXpbg':_0x1372b9(0x2dd),'suYtp':function(_0xc0c2ad,_0x3e5afe){return _0xc0c2ad===_0x3e5afe;},'tJsfm':'slow','cAXAO':function(_0xb4fc93,_0x5fc664){return _0xb4fc93===_0x5fc664;},'kICPG':function(_0x470a0e,_0x3b2130){return _0x470a0e===_0x3b2130;},'BwEEG':function(_0x36040d,_0xc3d6b4){return _0x36040d===_0xc3d6b4;},'owGVR':function(_0x2551f7,_0x1f63b2){return _0x2551f7===_0x1f63b2;},'lXHXp':'3|0|4|1|2','EYNUK':function(_0x4d52ee,_0xfe9a09){return _0x4d52ee===_0xfe9a09;},'bOwqT':_0x1372b9(0x23a),'YROio':function(_0x23bf4a,_0x5386bd){return _0x23bf4a===_0x5386bd;},'kgpaM':function(_0x44b1ab){return _0x44b1ab();},'jfoTa':_0x1372b9(0x292),'QMhUV':function(_0x3d2274,_0x568999){return _0x3d2274===_0x568999;},'NfZTY':function(_0x551e28,_0x4ffb1f){return _0x551e28(_0x4ffb1f);},'iXyuD':_0x1372b9(0x218),'oguqx':_0x1372b9(0x2c6),'tOQZp':function(_0x59d9b8,_0x544ee8){return _0x59d9b8(_0x544ee8);},'WMZVj':function(_0x42cc2d,_0x1eb3c6){return _0x42cc2d===_0x1eb3c6;},'zumOJ':function(_0x44daec,_0x26f99c){return _0x44daec(_0x26f99c);},'sdqYv':function(_0x310a7f,_0x5b5222){return _0x310a7f!==_0x5b5222;}};this['type']=_0x47931c[_0x1372b9(0x26b)][_0x1372b9(0x24e)],this[_0x1372b9(0x234)]=_0x3e7883[_0x1372b9(0x236)](isTestObservabilitySession),Base[_0x1372b9(0x1d6)](this,_0x3bc8c3,_0x47931c),this[_0x1372b9(0x228)]=0x0,this['failCount']=0x0,this['results']=[],this[_0x1372b9(0x2f4)]=[],this['suiteCount']=0x0,this[_0x1372b9(0x291)]=![],this[_0x1372b9(0x1dd)]=[],this[_0x1372b9(0x1f7)]=_0x3e7883['OUmBZ'](getTestEnv),this[_0x1372b9(0x26e)]=new PathHelper({'cwd':process['cwd']()},this[_0x1372b9(0x1f7)]['location_prefix']),this[_0x1372b9(0x2c8)]=_0x47931c[_0x1372b9(0x26b)][_0x1372b9(0x28c)],this['registerListeners']();_0x3e7883[_0x1372b9(0x1f2)](this[_0x1372b9(0x24e)],_0x3e7883[_0x1372b9(0x22d)])&&(this[_0x1372b9(0x207)]='',this['__indents']=0x2);_0x3bc8c3[_0x1372b9(0x27d)](EVENT_RUN_BEGIN,async()=>{const _0xa102f2=_0x1372b9;_0x3e7883['dXPVN'](this[_0xa102f2(0x24e)],_0x3e7883[_0xa102f2(0x301)])&&Base[_0xa102f2(0x2ab)]();})['on'](EVENT_SUITE_BEGIN,_0x4aa14e=>{const _0x39c0b1=_0x1372b9;if(_0x4aa14e[_0x39c0b1(0x220)])return;if(_0x3e7883[_0x39c0b1(0x29a)](this[_0x39c0b1(0x24e)],_0x3e7883[_0x39c0b1(0x301)]))this[_0x39c0b1(0x2a8)](),Base[_0x39c0b1(0x2ab)](_0x3e7883['SMJjd'](_0x3e7883[_0x39c0b1(0x274)](this[_0x39c0b1(0x2c9)](),_0x3e7883[_0x39c0b1(0x208)](color,_0x3e7883[_0x39c0b1(0x29e)],_0x3e7883[_0x39c0b1(0x249)])),_0x3e7883[_0x39c0b1(0x2ac)](color,_0x3e7883[_0x39c0b1(0x2a2)],_0x3e7883[_0x39c0b1(0x2d8)])),_0x3e7883[_0x39c0b1(0x2b6)],_0x4aa14e[_0x39c0b1(0x1f9)],global[_0x39c0b1(0x2ed)]);else _0x3e7883[_0x39c0b1(0x29a)](this[_0x39c0b1(0x24e)],_0x3e7883[_0x39c0b1(0x22d)])&&(this[_0x39c0b1(0x300)](this[_0x39c0b1(0x2c9)]()+_0x39c0b1(0x284)),++this[_0x39c0b1(0x1d7)],this[_0x39c0b1(0x300)](this[_0x39c0b1(0x2c9)]()+_0x39c0b1(0x235)+utils[_0x39c0b1(0x2bc)](_0x4aa14e[_0x39c0b1(0x1f9)]+_0x39c0b1(0x203)+global['__platform__'])+_0x39c0b1(0x2ca)),this[_0x39c0b1(0x300)](this[_0x39c0b1(0x2c9)]()+'<dl>'));})['on'](EVENT_HOOK_BEGIN,async _0x343bf9=>{const _0x3be722=_0x1372b9;if(_0x3e7883[_0x3be722(0x29a)](testhubUtils[_0x3be722(0x24d)](testHubConstants[_0x3be722(0x1d8)][_0x3be722(0x2a6)]),!![])){if(!_0x343bf9['hookAnalyticsId'])_0x343bf9[_0x3be722(0x24a)]=_0x3e7883[_0x3be722(0x236)](uuidv4);else _0x343bf9[_0x3be722(0x20e)]&&(_0x343bf9[_0x3be722(0x24a)]=_0x3e7883['OUmBZ'](uuidv4),delete _0x343bf9['markedStatus']);_0x343bf9[_0x3be722(0x2b4)]=new Date()[_0x3be722(0x2bd)](),this[_0x3be722(0x219)]=_0x343bf9,await this[_0x3be722(0x23e)](_0x343bf9,undefined,![],_0x3e7883[_0x3be722(0x2b1)]);}})['on'](EVENT_HOOK_END,async _0x11d8d8=>{const _0x2c53b5=_0x1372b9;_0x3e7883[_0x2c53b5(0x213)](testhubUtils[_0x2c53b5(0x24d)](testHubConstants[_0x2c53b5(0x1d8)]['HookFinished']),!![])&&(!_0x11d8d8[_0x2c53b5(0x20e)]&&(_0x11d8d8[_0x2c53b5(0x20e)]=!![],await this[_0x2c53b5(0x23e)](_0x11d8d8,undefined,![],_0x3e7883['wHAQy'])));})['on'](EVENT_SUITE_END,_0x3011f0=>{const _0x11267f=_0x1372b9;if(_0x3011f0['root'])return;if(_0x3e7883[_0x11267f(0x2e4)](this[_0x11267f(0x24e)],_0x3e7883[_0x11267f(0x301)]))Base[_0x11267f(0x2ab)](),Base[_0x11267f(0x2ab)](_0x3e7883[_0x11267f(0x2aa)](_0x3e7883[_0x11267f(0x1f4)](this['indent'](),_0x3e7883[_0x11267f(0x280)](color,_0x3e7883[_0x11267f(0x1e0)],_0x3e7883[_0x11267f(0x249)])),_0x3e7883['KvgZc'](color,_0x3e7883[_0x11267f(0x2a2)],_0x3e7883['lEHqj'])),_0x3e7883[_0x11267f(0x25a)],_0x3011f0['title'],global[_0x11267f(0x2ed)]),this[_0x11267f(0x1ea)][_0x11267f(0x1f3)](_0x47465a=>{const _0x4c50a9=_0x11267f;if(_0x3e7883[_0x4c50a9(0x1f2)](_0x47465a[_0x4c50a9(0x2b7)],_0x3e7883[_0x4c50a9(0x279)])){var _0x182434;_0x3e7883['xemgr'](_0x47465a[_0x4c50a9(0x20c)],_0x3e7883[_0x4c50a9(0x2a7)])?(_0x182434=_0x3e7883[_0x4c50a9(0x274)](_0x3e7883[_0x4c50a9(0x274)](this[_0x4c50a9(0x2c9)](),_0x3e7883[_0x4c50a9(0x214)](color,_0x3e7883[_0x4c50a9(0x226)],_0x3e7883[_0x4c50a9(0x1e6)]('\x20\x20',Base['symbols']['ok']))),_0x3e7883[_0x4c50a9(0x2e6)](color,_0x3e7883[_0x4c50a9(0x1e1)],_0x3e7883[_0x4c50a9(0x29b)])),Base[_0x4c50a9(0x2ab)](_0x182434,_0x47465a[_0x4c50a9(0x1f9)])):(_0x182434=_0x3e7883[_0x4c50a9(0x2d4)](_0x3e7883[_0x4c50a9(0x1e6)](_0x3e7883[_0x4c50a9(0x1e6)](this[_0x4c50a9(0x2c9)](),_0x3e7883['QaEPM'](color,_0x3e7883['ICegY'],_0x3e7883[_0x4c50a9(0x2d4)]('\x20\x20',Base[_0x4c50a9(0x266)]['ok']))),_0x3e7883[_0x4c50a9(0x2e6)](color,_0x3e7883[_0x4c50a9(0x1e1)],_0x3e7883[_0x4c50a9(0x29b)])),_0x3e7883[_0x4c50a9(0x202)](color,_0x47465a[_0x4c50a9(0x20c)],_0x3e7883[_0x4c50a9(0x201)])),Base[_0x4c50a9(0x2ab)](_0x182434,_0x47465a['title'],_0x47465a[_0x4c50a9(0x1ed)]));}else Base[_0x4c50a9(0x2ab)](_0x3e7883['NjCHi'](this['indent'](),_0x3e7883[_0x4c50a9(0x2d5)](color,_0x3e7883[_0x4c50a9(0x23b)],_0x3e7883[_0x4c50a9(0x290)])),++this[_0x4c50a9(0x1f8)],_0x47465a[_0x4c50a9(0x1f9)]);}),this['decreaseIndent']();else _0x3e7883[_0x11267f(0x2e4)](this[_0x11267f(0x24e)],_0x3e7883[_0x11267f(0x22d)])&&(this[_0x11267f(0x300)](this[_0x11267f(0x2c9)]()+_0x11267f(0x240)),--this[_0x11267f(0x1d7)],this[_0x11267f(0x300)](this[_0x11267f(0x2c9)]()+_0x11267f(0x2c3)),--this[_0x11267f(0x1d7)]);Array[_0x11267f(0x293)]['push'][_0x11267f(0x253)](this[_0x11267f(0x2f4)],this[_0x11267f(0x1ea)]),this['results']=[];})['on'](EVENT_TEST_PASS,async _0xb99e4d=>{const _0x5479f4=_0x1372b9;this[_0x5479f4(0x1ea)]['push']({'speed':_0xb99e4d[_0x5479f4(0x20c)],'suite':_0xb99e4d[_0x5479f4(0x1e9)][_0x5479f4(0x1f9)],'title':_0xb99e4d[_0x5479f4(0x1f9)],'fullTitle':_0xb99e4d[_0x5479f4(0x2fd)](),'duration':_0xb99e4d[_0x5479f4(0x1ed)],'state':_0xb99e4d[_0x5479f4(0x2b7)],'err':{},'currentRetry':_0xb99e4d[_0x5479f4(0x285)](),'titlePathV':_0xb99e4d[_0x5479f4(0x283)](),'isPending':_0xb99e4d[_0x5479f4(0x217)]()});if(_0x3e7883[_0x5479f4(0x215)](this['type'],_0x3e7883[_0x5479f4(0x2bb)]))_0x3e7883[_0x5479f4(0x1f1)](_0xb99e4d[_0x5479f4(0x20c)],_0x3e7883[_0x5479f4(0x2eb)])?process[_0x5479f4(0x2d3)][_0x5479f4(0x267)](Base[_0x5479f4(0x2e5)](_0x3e7883['ysYiw'],Base['symbols'][_0x5479f4(0x2dd)])):process['stdout'][_0x5479f4(0x267)](Base[_0x5479f4(0x2e5)](_0xb99e4d[_0x5479f4(0x20c)],Base[_0x5479f4(0x266)]['dot']));else{if(_0x3e7883[_0x5479f4(0x2f7)](this[_0x5479f4(0x24e)],_0x3e7883['RVYfx'])){this[_0x5479f4(0x300)](this[_0x5479f4(0x2c9)]()+_0x5479f4(0x28f)+utils['escape'](_0xb99e4d['title'])+_0x5479f4(0x2db)),this[_0x5479f4(0x300)](this['indent']()+_0x5479f4(0x28f)+utils[_0x5479f4(0x2bc)](_0xb99e4d[_0x5479f4(0x28d)])+_0x5479f4(0x2db));var _0x55cc26=utils[_0x5479f4(0x2bc)](utils['clean'](_0xb99e4d[_0x5479f4(0x277)]));this[_0x5479f4(0x300)](this[_0x5479f4(0x2c9)]()+_0x5479f4(0x22b)+_0x55cc26+_0x5479f4(0x1fc));}}_0x3e7883[_0x5479f4(0x1e8)](testhubUtils[_0x5479f4(0x24d)](),!![])&&(!_0xb99e4d[_0x5479f4(0x20e)]&&(_0xb99e4d[_0x5479f4(0x20e)]=!![],await this['sendTestRunEvent'](_0xb99e4d)));})['on'](EVENT_TEST_FAIL,async(_0x15ace7,_0x57d36e)=>{const _0x45a28d=_0x1372b9;this[_0x45a28d(0x1ea)][_0x45a28d(0x211)]({'title':_0x15ace7[_0x45a28d(0x1f9)],'suite':_0x15ace7[_0x45a28d(0x1e9)]['title'],'state':_0x15ace7[_0x45a28d(0x2b7)],'err':{'message':util[_0x45a28d(0x270)](_0x57d36e)},'fullTitle':_0x15ace7[_0x45a28d(0x2fd)](),'speed':_0x15ace7[_0x45a28d(0x20c)],'currentRetry':_0x15ace7[_0x45a28d(0x285)](),'titlePathV':_0x15ace7['titlePath']()});if(_0x3e7883[_0x45a28d(0x24c)](this[_0x45a28d(0x24e)],_0x3e7883['UXpbg']))process[_0x45a28d(0x2d3)][_0x45a28d(0x267)](Base[_0x45a28d(0x2e5)](_0x3e7883['ayDVC'],Base[_0x45a28d(0x266)][_0x45a28d(0x227)]));else{if(_0x3e7883[_0x45a28d(0x272)](this['type'],_0x3e7883[_0x45a28d(0x22d)])){const _0x1a8ab6=_0x3e7883[_0x45a28d(0x25c)]['split']('|');let _0x4535ad=0x0;while(!![]){switch(_0x1a8ab6[_0x4535ad++]){case'0':this['docAppend'](this[_0x45a28d(0x2c9)]()+_0x45a28d(0x2f1)+utils[_0x45a28d(0x2bc)](_0x15ace7[_0x45a28d(0x28d)])+_0x45a28d(0x2db));continue;case'1':this['docAppend'](this[_0x45a28d(0x2c9)]()+_0x45a28d(0x248)+_0x17a32c+_0x45a28d(0x1fc));continue;case'2':this[_0x45a28d(0x300)](this[_0x45a28d(0x2c9)]()+'\x20\x20<dd\x20class=\x22error\x22>'+utils['escape'](_0x15ace7['err'])+'</dd>');continue;case'3':this[_0x45a28d(0x300)](this[_0x45a28d(0x2c9)]()+_0x45a28d(0x2f1)+utils['escape'](_0x15ace7[_0x45a28d(0x1f9)])+_0x45a28d(0x2db));continue;case'4':var _0x17a32c=utils[_0x45a28d(0x2bc)](utils[_0x45a28d(0x1ff)](_0x15ace7[_0x45a28d(0x277)]));continue;}break;}}}if(_0x3e7883[_0x45a28d(0x2f7)](testhubUtils[_0x45a28d(0x24d)](testHubConstants[_0x45a28d(0x1d8)][_0x45a28d(0x298)]),!![])){if(!_0x15ace7[_0x45a28d(0x20e)]){_0x15ace7['markedStatus']=!![];if(_0x15ace7[_0x45a28d(0x2e3)])await this[_0x45a28d(0x23e)](_0x15ace7,_0x57d36e);else _0x15ace7[_0x45a28d(0x24a)]&&await this[_0x45a28d(0x23e)](_0x15ace7,_0x57d36e,![],_0x3e7883['wHAQy']);}}})['on'](EVENT_TEST_PENDING,async _0x1f8f18=>{const _0x3121eb=_0x1372b9;this[_0x3121eb(0x1ea)][_0x3121eb(0x211)]({'title':_0x1f8f18['title'],'suite':_0x1f8f18['parent'][_0x3121eb(0x1f9)],'state':_0x1f8f18['state'],'err':{},'fullTitle':_0x1f8f18[_0x3121eb(0x2fd)](),'speed':_0x1f8f18['speed'],'currentRetry':_0x1f8f18[_0x3121eb(0x285)](),'titlePathV':_0x1f8f18[_0x3121eb(0x283)]()}),_0x3e7883[_0x3121eb(0x23c)](this['type'],_0x3e7883[_0x3121eb(0x2bb)])&&process[_0x3121eb(0x2d3)]['write'](Base[_0x3121eb(0x2e5)](_0x3e7883[_0x3121eb(0x2f5)],Base[_0x3121eb(0x266)]['comma'])),_0x3e7883['YROio'](testhubUtils[_0x3121eb(0x24d)](),!![])&&(!_0x1f8f18[_0x3121eb(0x2e3)]&&(_0x1f8f18['testAnalyticsId']=_0x3e7883[_0x3121eb(0x25b)](uuidv4)),!_0x1f8f18[_0x3121eb(0x20e)]&&(_0x1f8f18[_0x3121eb(0x20e)]=!![],await this[_0x3121eb(0x23e)](_0x1f8f18,undefined,![],_0x3e7883[_0x3121eb(0x1ee)])));})['on'](EVENT_TEST_BEGIN,async _0x225b48=>{const _0x346748=_0x1372b9;_0x3e7883[_0x346748(0x1f1)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&await this[_0x346748(0x2c0)](_0x225b48);})['on'](EVENT_TEST_END,async _0xb302a3=>{const _0x21e3d6=_0x1372b9;_0x3e7883[_0x21e3d6(0x1fd)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0xb302a3[_0x21e3d6(0x20e)]&&(_0xb302a3[_0x21e3d6(0x20e)]=!![],await this[_0x21e3d6(0x23e)](_0xb302a3)));})['once'](EVENT_RUN_END,async()=>{const _0x5ac66a=_0x1372b9;try{if(_0x3e7883['xemgr'](testhubUtils[_0x5ac66a(0x24d)](),!![])){const _0x249784=_0x3e7883[_0x5ac66a(0x21d)](getHookSkippedTests,this[_0x5ac66a(0x21f)]['suite']);for(const _0x3fb218 of _0x249784){!_0x3fb218[_0x5ac66a(0x2e3)]&&(_0x3fb218[_0x5ac66a(0x2e3)]=_0x3e7883[_0x5ac66a(0x236)](uuidv4)),await this[_0x5ac66a(0x23e)](_0x3fb218,undefined,![],_0x3e7883[_0x5ac66a(0x1ee)]);}}}catch(_0x125fce){_0x3e7883[_0x5ac66a(0x21d)](debug,_0x5ac66a(0x275)+_0x125fce);}await requestQueueHandler[_0x5ac66a(0x231)](),_0x3e7883[_0x5ac66a(0x272)](this['type'],_0x3e7883[_0x5ac66a(0x22d)])&&Base[_0x5ac66a(0x2ab)](this['docHtml']);});if(this[_0x1372b9(0x24e)]&&![_0x3e7883[_0x1372b9(0x22d)],_0x3e7883[_0x1372b9(0x20a)],_0x3e7883[_0x1372b9(0x301)],_0x3e7883['UXpbg']]['includes'](this[_0x1372b9(0x24e)])){const _0x1ec9e8=this['type'][_0x1372b9(0x1de)]();this[_0x1372b9(0x273)]=null;try{this['Reporter']=_0x3e7883[_0x1372b9(0x208)](requireModule,_0x1372b9(0x2fe)+_0x1ec9e8+_0x1372b9(0x224),_0x3e7883['oguqx']);}catch(_0x30ebbf){_0x3e7883[_0x1372b9(0x2d6)](debug,'Exception\x20in\x20browserstack\x20custome\x20reporter\x20with\x20error:\x20'+_0x30ebbf);}if(_0x3e7883[_0x1372b9(0x26a)](this['Reporter'],null))try{this[_0x1372b9(0x273)]=_0x3e7883[_0x1372b9(0x1e5)](require,_0x1ec9e8);}catch(_0x5c3c36){console[_0x1372b9(0x2ff)](_0x1372b9(0x1fa)+_0x1ec9e8);}if(_0x3e7883['sdqYv'](this[_0x1372b9(0x273)],null)){const _0x554b1e={};_0x554b1e[_0x1372b9(0x2ce)]=_0x47931c[_0x1372b9(0x26b)],this[_0x1372b9(0x273)]=new this[(_0x1372b9(0x273))](_0x3bc8c3,_0x554b1e);}}}[a27_0x37dbbe(0x2c9)](){const _0x40fb18=a27_0x37dbbe,_0x358ea3={'bTMEY':function(_0x4aa14f,_0x284893){return _0x4aa14f(_0x284893);}};return _0x358ea3[_0x40fb18(0x27e)](Array,this[_0x40fb18(0x228)])[_0x40fb18(0x2dc)]('\x20\x20');}[a27_0x37dbbe(0x2a8)](){const _0x845939=a27_0x37dbbe;this[_0x845939(0x228)]++;}[a27_0x37dbbe(0x20b)](){this['_indents']--;}['docAppend'](_0x327061){this['docHtml']+=_0x327061;}[a27_0x37dbbe(0x225)](_0x3acad4,_0x15bc9e){const _0x22013c=a27_0x37dbbe,_0x275bf7={'eFsZI':function(_0x27a050,_0x29a32d){return _0x27a050(_0x29a32d);}},_0x492bcf={};_0x492bcf[_0x22013c(0x2a3)]=_0x3acad4,_0x492bcf[_0x22013c(0x1ea)]=this['finalResults'],_0x275bf7[_0x22013c(0x2d9)](_0x15bc9e,_0x492bcf);}[a27_0x37dbbe(0x247)](){const _0x2c9101=a27_0x37dbbe;process[_0x2c9101(0x2e2)]('bs:addLog:'+process[_0x2c9101(0x2b0)]),process['on'](_0x2c9101(0x25e)+process[_0x2c9101(0x2b0)],this[_0x2c9101(0x255)]['bind'](this)),process['removeAllListeners'](_0x2c9101(0x2b2)+process['pid']),process['on'](_0x2c9101(0x2b2)+process['pid'],this[_0x2c9101(0x1f0)]['bind'](this));}[a27_0x37dbbe(0x2c0)]=async _0x2ded99=>{const _0xfe8899=a27_0x37dbbe,_0x23d539={'lMeVr':function(_0x2a79b1){return _0x2a79b1();},'IDcDU':function(_0x1e5207,_0x5c33b3){return _0x1e5207>_0x5c33b3;},'TsWbW':function(_0x218870,_0x163c56){return _0x218870===_0x163c56;},'GVzoZ':_0xfe8899(0x24b),'ErJTf':function(_0x76551d,_0x8df678){return _0x76551d(_0x8df678);}};try{const _0xa9d089=this[_0xfe8899(0x276)];this[_0xfe8899(0x276)]=_0x2ded99,_0x2ded99[_0xfe8899(0x282)]=null,_0x2ded99[_0xfe8899(0x2e3)]=_0x23d539[_0xfe8899(0x2cf)](uuidv4),_0x2ded99[_0xfe8899(0x2b4)]=new Date()[_0xfe8899(0x2bd)](),_0x23d539[_0xfe8899(0x2ef)](_0x2ded99[_0xfe8899(0x2ba)],0x0)&&_0xa9d089&&_0x23d539['TsWbW'](_0xa9d089['title'],_0x2ded99[_0xfe8899(0x1f9)])?(_0x2ded99[_0xfe8899(0x282)]=_0xa9d089['testAnalyticsId'],await this[_0xfe8899(0x23e)](_0x2ded99,undefined,![],_0x23d539[_0xfe8899(0x2ee)]),_0xa9d089[_0xfe8899(0x2b7)]=STATE_FAILED,await this[_0xfe8899(0x23e)](_0xa9d089,undefined,!![])):await this['sendTestRunEvent'](_0x2ded99,undefined,![],_0x23d539[_0xfe8899(0x2ee)]);}catch(_0x85d1dd){_0x23d539[_0xfe8899(0x2c7)](debug,_0xfe8899(0x2cc)+_0x85d1dd);}};[a27_0x37dbbe(0x23e)]=async(_0xeb6672,_0xc32bbc=undefined,_0x2a1598=![],_0x1a4a7e=a27_0x37dbbe(0x2fa))=>{const _0x4849f0=a27_0x37dbbe,_0x473a53={'PEhJO':function(_0xc49cd1,_0x4660d0){return _0xc49cd1===_0x4660d0;},'TSUHR':function(_0x3f8485,_0x24e3da){return _0x3f8485!==_0x24e3da;},'rYAeD':_0x4849f0(0x2cd),'hawSN':_0x4849f0(0x288),'UBSLc':_0x4849f0(0x304),'mJURN':'Mocha','OaMry':_0x4849f0(0x200),'czZyh':function(_0x122b48,_0x50217b){return _0x122b48===_0x50217b;},'HrNfZ':_0x4849f0(0x292),'zAziI':_0x4849f0(0x238),'zxKAU':function(_0x4cb7fe,_0x1623ca){return _0x4cb7fe-_0x1623ca;},'QuRMQ':'AssertionError','ggQir':_0x4849f0(0x1dc),'hbrOd':'started_at','VzXdr':_0x4849f0(0x2f9),'Hqrfx':function(_0x58dd57,_0x2cfe38){return _0x58dd57(_0x2cfe38);},'YGNYB':function(_0xdd8cc,_0xc6599d){return _0xdd8cc===_0xc6599d;},'rycCA':_0x4849f0(0x29f),'mNWHE':_0x4849f0(0x289),'PYAeL':_0x4849f0(0x27a),'ESnVU':function(_0x151973,_0x81cccc){return _0x151973===_0x81cccc;},'WwOih':'before\x20each','ngblh':function(_0x5e698e,_0x4e61a6){return _0x5e698e===_0x4e61a6;},'wWgzU':function(_0xd8f2d4,_0x587ec7){return _0xd8f2d4(_0x587ec7);},'BOEMH':_0x4849f0(0x2e9),'xMGFQ':_0x4849f0(0x22c),'ggGns':_0x4849f0(0x28a),'oxxPM':'failure_reason_expanded','LpjTn':'expanded','FtYrb':_0x4849f0(0x2fa),'xasUn':function(_0x37fb1f,_0x15a2fd){return _0x37fb1f===_0x15a2fd;},'cvfQK':'hook_type','udKvQ':'hook_run','iUUlV':_0x4849f0(0x278),'pRhPD':function(_0x130aa0,_0xda368a){return _0x130aa0(_0xda368a);}};try{if(_0xeb6672[_0x4849f0(0x277)]&&_0xeb6672[_0x4849f0(0x277)]['match'](/browserstack internal helper hook/))return;let _0xead381=[];if(_0x473a53[_0x4849f0(0x2a5)](_0xeb6672[_0x4849f0(0x2b7)],STATE_FAILED)){if(_0x473a53['TSUHR'](_0xeb6672[_0x4849f0(0x288)],undefined))_0xead381=_0xeb6672[_0x4849f0(0x288)][_0x4849f0(0x252)]?[_0xeb6672[_0x4849f0(0x288)][_0x4849f0(0x252)],_0x473a53[_0x4849f0(0x251)]]:[_0xeb6672[_0x4849f0(0x288)],_0x473a53[_0x4849f0(0x2a9)]];else _0x473a53[_0x4849f0(0x27c)](_0xc32bbc,undefined)?_0xead381=[_0xc32bbc,_0x473a53['hawSN']]:_0xead381=[];}const _0x2712ac=_0x473a53[_0x4849f0(0x27c)](_0xeb6672[_0x4849f0(0x288)],undefined)?_0xeb6672['err']['toString']():_0x473a53[_0x4849f0(0x27c)](_0xc32bbc,undefined)?_0xc32bbc[_0x4849f0(0x1e3)]():undefined;let _0x498f10;try{_0x498f10=this[_0x4849f0(0x22f)](_0xeb6672);}catch(_0x3f0ee1){_0x498f10=null;}const _0x32f543=_0x498f10?this[_0x4849f0(0x29c)](_0x498f10):null,_0x38c36e=_0x498f10?this[_0x4849f0(0x26e)]['prefixTestPath'](this[_0x4849f0(0x22f)](_0xeb6672)):_0x473a53[_0x4849f0(0x22e)],_0x177475={'framework':_0x473a53[_0x4849f0(0x2d2)],'uuid':_0xeb6672[_0x4849f0(0x2e3)]||_0xeb6672['hookAnalyticsId'],'name':_0xeb6672['title'],'body':{'lang':_0x473a53[_0x4849f0(0x237)],'code':_0xeb6672[_0x4849f0(0x277)]},'scope':this[_0x4849f0(0x2e7)](_0xeb6672),'scopes':this['scopes'](_0xeb6672),'identifier':_0xeb6672[_0x4849f0(0x2fd)](),'file_name':_0x38c36e,'vc_filepath':_0x32f543?path[_0x4849f0(0x1f5)](_0x32f543,_0x498f10):null,'location':_0x38c36e,'result':_0x473a53[_0x4849f0(0x21c)](_0x1a4a7e,_0x473a53['HrNfZ'])?_0x473a53[_0x4849f0(0x286)]:this[_0x4849f0(0x25f)](_0xeb6672[_0x4849f0(0x2b7)]),'failure_reason':_0x2712ac,'duration_in_ms':_0xeb6672[_0x4849f0(0x1ed)]||(_0x1a4a7e[_0x4849f0(0x209)](/Finished/)||_0x1a4a7e[_0x4849f0(0x209)](/Skipped/)?_0x473a53[_0x4849f0(0x2e1)](Date[_0x4849f0(0x2f2)](),new Date(_0xeb6672['started_at'])['getTime']()):null),'started_at':_0xeb6672[_0x4849f0(0x2b4)],'finished_at':_0x1a4a7e['match'](/Finished/)||_0x1a4a7e[_0x4849f0(0x209)](/Skipped/)?new Date()[_0x4849f0(0x2bd)]():null,'failure':failureData['apply'](null,_0xead381),'failure_type':!_0x2712ac?null:_0x2712ac[_0x4849f0(0x209)](/AssertionError/)?_0x473a53[_0x4849f0(0x24f)]:_0x473a53[_0x4849f0(0x2bf)],'retry_of':_0xeb6672[_0x4849f0(0x282)]};testhubUtils['appendTesthubParams'](_0x177475,_0x1a4a7e,_0xeb6672,FRAMEWORKS[_0x4849f0(0x2fc)]);(_0xeb6672['responseCode']||_0xeb6672['redirectUrl'])&&centralScannerUtils[_0x4849f0(0x229)](_0x177475,_0xeb6672[_0x4849f0(0x303)],_0xeb6672[_0x4849f0(0x204)]);_0x473a53['PEhJO'](_0x1a4a7e,_0x473a53[_0x4849f0(0x1d9)])&&!_0x177475[_0x473a53[_0x4849f0(0x28b)]]&&(_0x177475[_0x473a53[_0x4849f0(0x28b)]]=_0x177475[_0x473a53[_0x4849f0(0x250)]]);if(_0x1a4a7e[_0x4849f0(0x209)](/HookRun/))[_0x177475[_0x4849f0(0x26f)],_0x177475[_0x4849f0(0x305)]]=_0x473a53[_0x4849f0(0x2d1)](getHookDetails,_0xeb6672[_0x4849f0(0x2fd)]()||_0xeb6672[_0x4849f0(0x295)]||_0xeb6672[_0x4849f0(0x1f9)]),_0x473a53[_0x4849f0(0x246)](_0x1a4a7e,_0x473a53[_0x4849f0(0x2ae)])&&(_0x473a53[_0x4849f0(0x27c)](_0x177475['result'],_0x473a53[_0x4849f0(0x257)])&&(_0x177475[_0x4849f0(0x1db)]=_0x473a53[_0x4849f0(0x256)]),_0x473a53['ESnVU'](_0x177475[_0x4849f0(0x26f)],_0x473a53[_0x4849f0(0x287)])&&_0x473a53['ngblh'](_0x177475[_0x4849f0(0x1db)],_0x473a53[_0x4849f0(0x257)])&&!_0xeb6672[_0x4849f0(0x268)][_0x4849f0(0x259)][_0x4849f0(0x20e)]&&(_0xeb6672[_0x4849f0(0x268)][_0x4849f0(0x259)]['markedStatus']=!![],_0xeb6672[_0x4849f0(0x268)][_0x4849f0(0x259)]['state']=STATE_FAILED,await this[_0x4849f0(0x23e)](_0xeb6672[_0x4849f0(0x268)]['currentTest'],undefined,!![])));else _0x1a4a7e[_0x4849f0(0x209)](/TestRun/)&&_0x473a53['wWgzU'](mapTestHooks,_0xeb6672);const _0x35e635=_0x177475[_0x473a53['BOEMH']][0x0];_0x35e635&&(_0x177475[_0x473a53[_0x4849f0(0x230)]]=_0x35e635[_0x473a53['ggGns']],_0x177475[_0x473a53[_0x4849f0(0x2de)]]=_0x35e635[_0x473a53['LpjTn']]);[_0x473a53['FtYrb'],_0x473a53[_0x4849f0(0x1d9)]][_0x4849f0(0x1df)](_0x1a4a7e)&&(this[_0x4849f0(0x1dd)][_0x4849f0(0x211)](_0x177475),_0x177475['hooks']=_0x473a53[_0x4849f0(0x1e7)](getHooksForTest,_0xeb6672));const _0x1406f4={'event_type':_0x473a53[_0x4849f0(0x258)](_0x1a4a7e,_0x473a53[_0x4849f0(0x1d9)])?_0x473a53[_0x4849f0(0x27b)]:_0x1a4a7e};_0x1a4a7e[_0x4849f0(0x209)](/HookRun/)?(_0x177475[_0x473a53[_0x4849f0(0x2a4)]]=HOOK_TYPES_MAP[_0x177475[_0x473a53[_0x4849f0(0x2a4)]]],_0x1406f4[_0x473a53[_0x4849f0(0x297)]]=_0x177475):_0x1406f4[_0x473a53['iUUlV']]=_0x177475,testhubUtils['setCurrentTestData'](FRAMEWORKS[_0x4849f0(0x2fc)],_0x1406f4),await SessionHandler[_0x4849f0(0x1fb)](_0x1406f4);}catch(_0x414f9b){_0x473a53[_0x4849f0(0x21b)](debug,_0x4849f0(0x22a)+_0x1a4a7e+_0x4849f0(0x302)+_0x414f9b);}};[a27_0x37dbbe(0x29c)](_0x361f4c){const _0x20701e=a27_0x37dbbe,_0x1d28ce={};_0x1d28ce[_0x20701e(0x2ec)]=function(_0x3488a4,_0x140704){return _0x3488a4===_0x140704;},_0x1d28ce[_0x20701e(0x1eb)]=function(_0x31535d,_0x6b8a8f){return _0x31535d===_0x6b8a8f;},_0x1d28ce[_0x20701e(0x2b3)]=function(_0x31db40,_0x3417ab){return _0x31db40===_0x3417ab;},_0x1d28ce['HTJiJ']=_0x20701e(0x2d0),_0x1d28ce[_0x20701e(0x20d)]=_0x20701e(0x263);const _0x387157=_0x1d28ce,_0x13930e=path[_0x20701e(0x2df)];if(_0x387157[_0x20701e(0x2ec)](_0x361f4c,null)||_0x387157['GXvgx'](_0x361f4c,'')||_0x387157[_0x20701e(0x1eb)](_0x361f4c,_0x13930e)||_0x387157['BtThv'](_0x361f4c,path[_0x20701e(0x233)](_0x361f4c)))return null;try{return fs[_0x20701e(0x2c1)](path['join'](_0x361f4c,_0x387157[_0x20701e(0x264)],_0x387157[_0x20701e(0x20d)])),_0x361f4c;}catch(_0xa0b6b0){const _0x24696f=path['dirname'](_0x361f4c);return this[_0x20701e(0x29c)](_0x24696f);}}['appendTestItemLog']=async _0x51969a=>{const _0x1322f9=a27_0x37dbbe,_0x161fe9={'laXcg':_0x1322f9(0x2b8),'whuLN':function(_0xe901c9,_0x30e602){return _0xe901c9(_0x30e602);}};try{this[_0x1322f9(0x219)]&&!this['current_hook']['markedStatus']&&(_0x51969a[_0x1322f9(0x232)]=this[_0x1322f9(0x219)][_0x1322f9(0x24a)]);!_0x51969a[_0x1322f9(0x232)]&&this[_0x1322f9(0x276)]&&!this[_0x1322f9(0x276)][_0x1322f9(0x20e)]&&(_0x51969a[_0x1322f9(0x26d)]=this['current_test']['testAnalyticsId']);if(_0x51969a[_0x1322f9(0x232)]||_0x51969a[_0x1322f9(0x26d)]){const _0x4bb29f={};_0x4bb29f[_0x1322f9(0x260)]=_0x161fe9['laXcg'],_0x4bb29f[_0x1322f9(0x1da)]=[_0x51969a],await SessionHandler['uploadEventData'](_0x4bb29f);}}catch(_0x20d212){_0x161fe9[_0x1322f9(0x1ef)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x20d212);}};[a27_0x37dbbe(0x1f0)]=async _0x2a82a3=>{const _0x3d92fa=a27_0x37dbbe,_0x32178b={'XsVRa':_0x3d92fa(0x242),'xRWIg':_0x3d92fa(0x2da),'HfilJ':function(_0x4bcb9a,_0xeb47c2){return _0x4bcb9a(_0xeb47c2);}};try{const _0x3ab297={};_0x3ab297[_0x3d92fa(0x262)]=_0x2a82a3[_0x3d92fa(0x262)]||this[_0x3d92fa(0x276)][_0x3d92fa(0x2e3)],_0x3ab297['integrations']=_0x2a82a3[_0x32178b[_0x3d92fa(0x245)]];const _0x3979b3=_0x3ab297,_0x54595b={};_0x54595b[_0x3d92fa(0x260)]=_0x32178b[_0x3d92fa(0x299)],_0x54595b['test_run']=_0x3979b3,await SessionHandler[_0x3d92fa(0x1fb)](_0x54595b);}catch(_0x501825){_0x32178b[_0x3d92fa(0x1f6)](debug,_0x3d92fa(0x210)+_0x501825);}};[a27_0x37dbbe(0x25f)](_0x12ff90){const _0x38c65c=a27_0x37dbbe,_0x2715ae={};_0x2715ae[_0x38c65c(0x28e)]=_0x38c65c(0x27a),_0x2715ae[_0x38c65c(0x261)]='pending',_0x2715ae['dNMtx']=_0x38c65c(0x289);const _0x2c22b3=_0x2715ae,_0x50827c={};return _0x50827c[STATE_PASSED]=_0x2c22b3[_0x38c65c(0x28e)],_0x50827c[STATE_PENDING]=_0x2c22b3[_0x38c65c(0x261)],_0x50827c[STATE_FAILED]=_0x2c22b3['dNMtx'],_0x50827c[_0x12ff90];}[a27_0x37dbbe(0x2e7)](_0x526a1d){const _0x4e3f45=a27_0x37dbbe,_0x2e38b3={};_0x2e38b3[_0x4e3f45(0x265)]=function(_0x4fbca4,_0x3011bb){return _0x4fbca4-_0x3011bb;};const _0x52bd28=_0x2e38b3,_0x2fe067=_0x526a1d['titlePath']();return _0x2fe067[_0x4e3f45(0x2be)](0x0,_0x52bd28[_0x4e3f45(0x265)](_0x2fe067[_0x4e3f45(0x2ad)],0x1))['join']('\x20');}['scopes'](_0x12e7fe){const _0x335bf0=a27_0x37dbbe,_0x2fef09={};_0x2fef09['TOUHm']=function(_0x507e3b,_0x4696a8){return _0x507e3b-_0x4696a8;};const _0x27ed55=_0x2fef09,_0x2fb118=_0x12e7fe[_0x335bf0(0x283)]();return _0x2fb118['slice'](0x0,_0x27ed55[_0x335bf0(0x1fe)](_0x2fb118['length'],0x1));}['getRootParentFile'](_0x30afa8){const _0xbf9547=a27_0x37dbbe,_0x94521f={};_0x94521f[_0xbf9547(0x239)]=function(_0x511de0,_0x587627){return _0x511de0>_0x587627;};const _0x310591=_0x94521f;if(_0x30afa8[_0xbf9547(0x28d)])return _0x30afa8[_0xbf9547(0x28d)];if(_0x30afa8['ctx']){const _0x143ac8=_0x30afa8[_0xbf9547(0x268)][_0xbf9547(0x259)]?this[_0xbf9547(0x22f)](_0x30afa8[_0xbf9547(0x268)][_0xbf9547(0x259)]):null;if(_0x143ac8)return _0x143ac8;}if(_0x30afa8[_0xbf9547(0x1e9)]){const _0x552c96=this[_0xbf9547(0x22f)](_0x30afa8[_0xbf9547(0x1e9)])||(_0x30afa8[_0xbf9547(0x1e9)]['ctx']&&_0x30afa8[_0xbf9547(0x1e9)]['ctx']['currentTest']?this['getRootParentFile'](_0x30afa8[_0xbf9547(0x1e9)]['ctx'][_0xbf9547(0x259)]):null);if(_0x552c96)return _0x552c96;_0x30afa8[_0xbf9547(0x1e9)][_0xbf9547(0x2c2)]&&_0x310591[_0xbf9547(0x239)](_0x30afa8['parent'][_0xbf9547(0x2c2)][_0xbf9547(0x2ad)],0x0)&&_0x30afa8[_0xbf9547(0x1e9)][_0xbf9547(0x2c2)][_0xbf9547(0x1f3)](_0x580111=>{const _0x39e24f=_0xbf9547,_0x1a2fb6=_0x580111[_0x39e24f(0x268)]?this[_0x39e24f(0x22f)](_0x580111[_0x39e24f(0x268)]):null;if(_0x1a2fb6)return _0x1a2fb6;});}return null;}}function a27_0x171d(){const _0x4a427e=['type','QuRMQ','VzXdr','rYAeD','multiple','apply','COMPLETED','appendTestItemLog','PYAeL','mNWHE','xasUn','currentTest','RKINq','kgpaM','lXHXp','395716ybXpzN','bs:addLog:','analyticsResult','event_type','MlwRu','uuid','config','HTJiJ','TdnzF','symbols','write','ctx','pass','WMZVj','reporterOption','Runner','test_run_uuid','_paths','hook_type','inspect','25POJQbe','owGVR','Reporter','SMJjd','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','current_test','body','test_run','iztBz','passed','FtYrb','TSUHR','once','bTMEY','367208ZItyXf','etbXs','5896611BrvqPw','retryOf','titlePath','<section\x20class=\x22suite\x22>','currentRetry','zAziI','WwOih','err','failed','backtrace','hbrOd','bsConfig','file','UkdFu','\x20\x20<dt>','mmUrK','_buildCreated','TestRunSkipped','prototype','92990MedPea','originalTitle','../../../helpers/test-observability/sessionHandler','udKvQ','HookFinished','xRWIg','dXPVN','GbxOQ','findGitConfig','63phSVtS','CzBNb','HookRunFinished','../../../helpers/test-observability/utils','mocha/lib/utils.js','TwMfX','failureCount','cvfQK','PEhJO','HookStarted','LLelg','increaseIndent','hawSN','NjCHi','consoleLog','hqeCH','length','rycCA','600318qkkacp','pid','XUHuz','bs:addPlatformDetails:','BtThv','started_at','12nOWwqi','ZvoMM','state','LogCreated','BEFORE_EACH','_currentRetry','UXpbg','escape','toISOString','slice','ggQir','testStarted','statSync','suites','</section>','../../../helpers/testhub/utils','green','mocha','ErJTf','_upstreamConfig','indent','</h1>','RUNNING','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','test','reporterOptions','lMeVr','.git','Hqrfx','mJURN','stdout','NkaCc','NaNut','tOQZp','%s\x20-\x20%s','lEHqj','eFsZI','CBTSessionCreated','</dt>','join','dot','oxxPM','sep','%s\x20','zxKAU','removeAllListeners','testAnalyticsId','wDIjR','color','XOFMR','scope','fail','failure','HookRunStarted','tJsfm','xZVaU','__platform__','GVzoZ','IDcDU','../../../helpers/testhub/constants','\x20\x20<dt\x20class=\x22error\x22>','now','after\x20each','finalResults','bOwqT','light','cAXAO','getInstance','finished_at','TestRunFinished','exports','MOCHA','fullTitle','mocha/lib/reporters/','error','docAppend','RyXAj','\x20with\x20error\x20:\x20','responseCode','File\x20path\x20could\x20not\x20be\x20found','name','../../../helpers/test-observability/constants','call','__indents','EVENT','HrNfZ','logs','result','UnhandledError','_testResults','trim','includes','ysYiw','rPncS','\x20(%dms)','toString','after\x20all','zumOJ','wYpjH','wWgzU','kICPG','parent','results','GXvgx','\x20%s','duration','jfoTa','whuLN','appendTestPlatform','suYtp','oGNoW','forEach','dKbBg','relative','HfilJ','_testEnv','failCount','title','Failed\x20to\x20load\x20reporter\x20','uploadEventData','</code></pre></dd>','QMhUV','TOUHm','clean','javascript','LqhhM','dPgYH','\x20-\x20','redirectUrl','mocha/lib/runnable.js','BEFORE_ALL','docHtml','uZFQo','match','iXyuD','decreaseIndent','speed','YSEAm','markedStatus','1127930sWZRnE','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','push','spec','xemgr','QaEPM','jKYiO','path','isPending','xunit','current_hook','doc','pRhPD','czZyh','NfZTY','util','runner','root','../test-observability/mochaUtils','../../../helpers/helper','mocha/lib/reporters/base.js','.js','done','ICegY','bang','_indents','setCentralScannerData','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','\x20\x20<dd><pre><code>','failure_backtrace','RVYfx','UBSLc','getRootParentFile','xMGFQ','shutdown','hook_run_uuid','dirname','testObservability','<h1>','OUmBZ','OaMry','skipped','dCiWV','pending','ayDVC','EYNUK','../../../helpers/test-observability/requestQueueHandler','sendTestRunEvent','before\x20each','</dl>','\x20\x20%d)\x20%s','http_response','8523224baYotB','constants','XsVRa','YGNYB','registerListeners','\x20\x20<dd\x20class=\x22error\x22><pre><code>','NsoQS','hookAnalyticsId','TestRunStarted','BwEEG','shouldProcessEventForTesthub'];a27_0x171d=function(){return _0x4a427e;};return a27_0x171d();}module[a27_0x37dbbe(0x2fb)]=MyReporter;
1
+ 'use strict';const a27_0x4363fe=a27_0x12cd;(function(_0x345bc5,_0x12dd56){const _0x3070ef=a27_0x12cd,_0x575e94=_0x345bc5();while(!![]){try{const _0x12c4a7=-parseInt(_0x3070ef(0xb0))/0x1*(-parseInt(_0x3070ef(0x18c))/0x2)+-parseInt(_0x3070ef(0x95))/0x3*(-parseInt(_0x3070ef(0x17b))/0x4)+-parseInt(_0x3070ef(0xd4))/0x5+-parseInt(_0x3070ef(0x171))/0x6+-parseInt(_0x3070ef(0xc7))/0x7+-parseInt(_0x3070ef(0xe0))/0x8+parseInt(_0x3070ef(0x143))/0x9;if(_0x12c4a7===_0x12dd56)break;else _0x575e94['push'](_0x575e94['shift']());}catch(_0x1bffd5){_0x575e94['push'](_0x575e94['shift']());}}}(a27_0x1803,0x57c82));function a27_0x12cd(_0x312716,_0x5f4c27){const _0x1803f7=a27_0x1803();return a27_0x12cd=function(_0x12cd8e,_0x56fbf6){_0x12cd8e=_0x12cd8e-0x6c;let _0x257700=_0x1803f7[_0x12cd8e];return _0x257700;},a27_0x12cd(_0x312716,_0x5f4c27);}const util=require(a27_0x4363fe(0x160)),fs=require('fs'),path=require(a27_0x4363fe(0xa0)),{requireModule}=require(a27_0x4363fe(0x78)),Base=requireModule(a27_0x4363fe(0x149),a27_0x4363fe(0x127)),utils=requireModule(a27_0x4363fe(0x166),a27_0x4363fe(0x127)),color=Base[a27_0x4363fe(0x14f)],Mocha=requireModule(a27_0x4363fe(0x127)),Runnable=requireModule(a27_0x4363fe(0xa8),a27_0x4363fe(0x127)),{v4:uuidv4}=require('uuid'),bsSetupHelper=require('../../../helpers/helper'),testhubUtils=require(a27_0x4363fe(0x164)),centralScannerUtils=require(a27_0x4363fe(0xbd)),testHubConstants=require(a27_0x4363fe(0xd8)),{FRAMEWORKS}=require(a27_0x4363fe(0x138)),a27_0x558feb={};function a27_0x1803(){const _0x1dee46=['../../../helpers/helper','HNXht','cwd','uUEAE','eAtAW','join','markedStatus','OupDv','rWUlI','MOCHA','PRRmY','fcSnJ','toISOString','sendTestRunEvent','MUHon','sep','kNmiT','xunit','HNXVZ','IaXhi','duration','XnHov','TzxkO','before\x20each','failCount','hook_run','xwYTx','suite','FEPKu','17751zGkEpr','testStarted','.git','hook_run_uuid','HookRunStarted','gWEDK','bs:addPlatformDetails:','kIEKE','expanded','</dt>','zzjzj','path','Failed\x20to\x20load\x20reporter\x20','pid','testObservability','</code></pre></dd>','kxgkX','write','AYqyn','mocha/lib/runnable.js','pXzkw','call','light','consoleLog','xgpum','migdJ','MbYVs','1mzQjUE','includes','split','current_hook','</h1>','IIUGq','\x20(%dms)','TestRunFinished','\x20\x20<dd><pre><code>','fullTitle','PUYWb','after\x20each','UIxho','../../../helpers/central-scanner/helpers','slice','eSWkD','uuid','HHSYf','xTVzU','nhtEX','name','parent','jaDrK','133175TRSzOz','once','__indents','mocha/lib/reporters/','retryOf','appendTestItemLog','wZwzV','current_test','before\x20all','../../../helpers/test-observability/sessionHandler','hTgAZ','CBTSessionCreated','test_run_uuid','2777385erBsnl','suiteCount','_testResults','Mocha','../../../helpers/testhub/constants','getTime','clean','failed','WVYFi','YruAz','../../../helpers/test-observability/requestQueueHandler','originalTitle','1120864qgnmOW','Runner','fail','removeAllListeners','doc','pBlRm','bUlwu','YwxZt','docAppend','fFUfL','btIIe','YoEQl','jaPBN','skipped','reporterOptions','bang','body','bs:addLog:','\x20with\x20error\x20:\x20','IrTIB','wXxyl','indent','inspect','\x20%s','EVENT','green','NMqTQ','prototype','fumOV','RpoMm','scopes','jEyxc','findGitConfig','TWhhF','\x20\x20%d)\x20%s','AaPcc','RUNNING','constants','aYkkE','aXzoT','FQRZI','CzQgf','Uyqps','aHktn','UHkqW','setCurrentTestData','apply','event_type','finalResults','cuWeO','rAtHQ','TestRunStarted','\x20-\x20','HookStarted','ZmRLb','fSoQT','VQovf','tORHQ','gUSpG','match','Naflj','__platform__','Exception\x20in\x20browserstack\x20custome\x20reporter\x20with\x20error:\x20','HookFinished','LogCreated','statSync','_testEnv','runner','_upstreamConfig','shutdown','scope','mocha','push','gqsyJ','prefixTestPath','_buildCreated','checkmark','suites','PlGwq','</section>','oIheP','file','multiple','DzAIE','\x20\x20<dt\x20class=\x22error\x22>','YmpEN','analyticsResult','_indents','../../../helpers/test-observability/constants','BEFORE_EACH','qAHco','VXLZQ','done','hooks','speed','hgmvc','redirectUrl','JHfgQ','rZoDc','4719681nvFFgA','HookRunFinished','_currentRetry','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','err','KJmMT','mocha/lib/reporters/base.js','Reporter','</dd>','slow','currentTest','nnQGa','color','results','isPending','registerListeners','dirname','MMHcG','after\x20all','type','dot','<h1>','WNGHa','uploadEventData','GSruy','yiycN','bsConfig','uVGnb','wDqNw','util','docHtml','RRucR','zvVgF','../../../helpers/testhub/utils','ajDhY','mocha/lib/utils.js','state','</dl>','root','shouldProcessEventForTesthub','dnWRi','GNyyJ','AFTER_EACH','toString','failure_backtrace','QONMd','1691454CtpCqM','XVJHM','testAnalyticsId','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','relative','QnFgU','hook_type','result','gAnkH','jzDdt','156xjcqbX','YYUmp','logs','exports','config','getRootParentFile','symbols','titlePath','backtrace','setCentralScannerData','hookAnalyticsId','stdout','_paths','spec','KIUBY','1|4|0|2|3','increaseIndent','1201802DUnjfp','pending','pass','started_at','qwpth','YstUO','zAUtc','../test-observability/mochaUtils','KxlJC','now','length','BEFORE_ALL','trim','OZrZo','fFhNV','MnwPJ','xoWEo','title','currentRetry','responseCode','ISUlk','oAHRj','failureCount','KjjTP','integrations','ctx','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','INrBJ','forEach','decreaseIndent','QaDcX','passed','reporterOption','test_run','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','%s\x20','escape','GTNzm','TestRunSkipped','\x20\x20<dt>','finished_at','appendTesthubParams','appendTestPlatform','lqOUg','getInstance'];a27_0x1803=function(){return _0x1dee46;};return a27_0x1803();}a27_0x558feb[a27_0x4363fe(0xcf)]=a27_0x4363fe(0x197),a27_0x558feb[a27_0x4363fe(0x155)]='AFTER_ALL',a27_0x558feb[a27_0x4363fe(0x8f)]=a27_0x4363fe(0x139),a27_0x558feb[a27_0x4363fe(0xbb)]=a27_0x4363fe(0x16d);const HOOK_TYPES_MAP=a27_0x558feb,{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_0x4363fe(0xe1)][a27_0x4363fe(0x105)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable['constants'],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a27_0x4363fe(0x193)),{consoleHolder}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a27_0x4363fe(0xd0)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a27_0x4363fe(0xde)),requestQueueHandler=RequestQueueHandler[a27_0x4363fe(0x77)]();class MyReporter{constructor(_0x11bcdd,_0x13f098){const _0x44784e=a27_0x4363fe,_0x27aafb={'Uyqps':function(_0x119174,_0x1009c6){return _0x119174===_0x1009c6;},'gWEDK':_0x44784e(0x188),'zvVgF':function(_0xcaafeb,_0x17e28b){return _0xcaafeb+_0x17e28b;},'ZmRLb':function(_0x2e1759,_0x26c427){return _0x2e1759+_0x26c427;},'gAnkH':function(_0x30fa46,_0x425cec,_0x5afd58){return _0x30fa46(_0x425cec,_0x5afd58);},'hgmvc':_0x44784e(0xf9),'RRucR':_0x44784e(0x6e),'UIxho':function(_0x5e407c,_0x5620e9,_0x5d210f){return _0x5e407c(_0x5620e9,_0x5d210f);},'xgpum':_0x44784e(0xab),'MnwPJ':'%s\x20-\x20%s','SVXsl':_0x44784e(0x104),'YYUmp':_0x44784e(0xe4),'bUlwu':function(_0x32efe7,_0x24d579){return _0x32efe7===_0x24d579;},'GSruy':function(_0x5726a9){return _0x5726a9();},'IrTIB':function(_0x335fae){return _0x335fae();},'YstUO':_0x44784e(0x99),'zAUtc':_0x44784e(0x144),'fumOV':_0x44784e(0x1ab),'gqsyJ':function(_0x440a63,_0x41dbba){return _0x440a63===_0x41dbba;},'UsxTe':'fast','kIEKE':function(_0x24701b,_0x102ffe,_0x2b7de9){return _0x24701b(_0x102ffe,_0x2b7de9);},'xTVzU':_0x44784e(0x12c),'jzDdt':function(_0x5c220a,_0x537b61){return _0x5c220a+_0x537b61;},'xzizq':_0x44784e(0x18e),'WVYFi':_0x44784e(0xf7),'btIIe':function(_0x564997,_0x16d404){return _0x564997+_0x16d404;},'YoEQl':function(_0x29cba5,_0x185ac8){return _0x29cba5+_0x185ac8;},'pspDy':_0x44784e(0xb6),'YmpEN':_0x44784e(0xe2),'QaDcX':_0x44784e(0x102),'xoWEo':function(_0x3c9e7b,_0x571faf){return _0x3c9e7b===_0x571faf;},'JHfgQ':function(_0x3da981,_0x2e1526){return _0x3da981+_0x2e1526;},'gUSpG':function(_0xcd3bed,_0x700755){return _0xcd3bed+_0x700755;},'qwpth':'bright\x20yellow','fcSnJ':function(_0x12a1cf,_0x39d275,_0x474a90){return _0x12a1cf(_0x39d275,_0x474a90);},'aYkkE':'COMPLETED','wDqNw':function(_0x27fec7,_0x46a94d){return _0x27fec7===_0x46a94d;},'IaXhi':_0x44784e(0x157),'lqOUg':_0x44784e(0x14c),'uUEAE':function(_0x3b135c,_0x59c05f){return _0x3b135c===_0x59c05f;},'jaDrK':function(_0x400e01,_0x31a67a){return _0x400e01===_0x31a67a;},'KJmMT':_0x44784e(0x18a),'kNmiT':_0x44784e(0x18d),'ajDhY':function(_0x10f099,_0x12ad96){return _0x10f099===_0x12ad96;},'YwxZt':function(_0x3eb676){return _0x3eb676();},'VXLZQ':_0x44784e(0x71),'kxgkX':function(_0x228e06,_0x21d2da){return _0x228e06===_0x21d2da;},'aXCWV':function(_0x127e16,_0x3f4182){return _0x127e16(_0x3f4182);},'oIheP':function(_0x2a64a7,_0x15b69c){return _0x2a64a7(_0x15b69c);},'RvUfO':function(_0x960494,_0x42ae24){return _0x960494===_0x42ae24;},'GTNzm':function(_0x231756){return _0x231756();},'zzjzj':function(_0x302955,_0x2b67f5){return _0x302955===_0x2b67f5;},'jEyxc':_0x44784e(0x89),'MUHon':function(_0x5e58d0,_0x416451,_0x32b093){return _0x5e58d0(_0x416451,_0x32b093);},'BuElc':_0x44784e(0x127),'WNGHa':function(_0x199662,_0x506da5){return _0x199662===_0x506da5;},'uVGnb':function(_0x5db35e,_0x1cf842){return _0x5db35e(_0x1cf842);},'QeTLE':function(_0x5b5034,_0x2d4eba){return _0x5b5034!==_0x2d4eba;}};this[_0x44784e(0x156)]=_0x13f098['reporterOption'][_0x44784e(0x156)],this[_0x44784e(0xa3)]=_0x27aafb[_0x44784e(0xe7)](isTestObservabilitySession),Base[_0x44784e(0xaa)](this,_0x11bcdd,_0x13f098),this[_0x44784e(0x137)]=0x0,this[_0x44784e(0x90)]=0x0,this[_0x44784e(0x150)]=[],this[_0x44784e(0x110)]=[],this[_0x44784e(0xd5)]=0x0,this[_0x44784e(0x12b)]=![],this[_0x44784e(0xd6)]=[],this[_0x44784e(0x122)]=_0x27aafb[_0x44784e(0x70)](getTestEnv),this[_0x44784e(0x187)]=new PathHelper({'cwd':process[_0x44784e(0x7a)]()},this['_testEnv']['location_prefix']),this[_0x44784e(0x124)]=_0x13f098[_0x44784e(0x1ac)][_0x44784e(0x15d)],this[_0x44784e(0x152)]();_0x27aafb[_0x44784e(0x9f)](this[_0x44784e(0x156)],_0x27aafb[_0x44784e(0x17c)])&&(this[_0x44784e(0x161)]='',this[_0x44784e(0xc9)]=0x2);_0x11bcdd[_0x44784e(0xc8)](EVENT_RUN_BEGIN,async()=>{const _0x557526=_0x44784e;_0x27aafb[_0x557526(0x10a)](this[_0x557526(0x156)],_0x27aafb[_0x557526(0x9a)])&&Base[_0x557526(0xac)]();})['on'](EVENT_SUITE_BEGIN,_0x31660c=>{const _0x5d9007=_0x44784e;if(_0x31660c[_0x5d9007(0x169)])return;if(_0x27aafb['Uyqps'](this[_0x5d9007(0x156)],_0x27aafb[_0x5d9007(0x9a)]))this[_0x5d9007(0x18b)](),Base[_0x5d9007(0xac)](_0x27aafb[_0x5d9007(0x163)](_0x27aafb['ZmRLb'](this[_0x5d9007(0xf5)](),_0x27aafb['gAnkH'](color,_0x27aafb[_0x5d9007(0x13f)],_0x27aafb[_0x5d9007(0x162)])),_0x27aafb['UIxho'](color,_0x27aafb[_0x5d9007(0xad)],_0x27aafb['MnwPJ'])),_0x27aafb['SVXsl'],_0x31660c[_0x5d9007(0x19d)],global[_0x5d9007(0x11d)]);else _0x27aafb['Uyqps'](this['type'],_0x27aafb[_0x5d9007(0x17c)])&&(this[_0x5d9007(0xe8)](this['indent']()+'<section\x20class=\x22suite\x22>'),++this[_0x5d9007(0xc9)],this[_0x5d9007(0xe8)](this[_0x5d9007(0xf5)]()+_0x5d9007(0x158)+utils['escape'](_0x31660c[_0x5d9007(0x19d)]+_0x5d9007(0x114)+global[_0x5d9007(0x11d)])+_0x5d9007(0xb4)),this[_0x5d9007(0xe8)](this['indent']()+'<dl>'));})['on'](EVENT_HOOK_BEGIN,async _0x49e0a6=>{const _0x2ef5db=_0x44784e;if(_0x27aafb[_0x2ef5db(0xe6)](testhubUtils[_0x2ef5db(0x16a)](testHubConstants[_0x2ef5db(0xf8)][_0x2ef5db(0x115)]),!![])){if(!_0x49e0a6[_0x2ef5db(0x185)])_0x49e0a6[_0x2ef5db(0x185)]=_0x27aafb['GSruy'](uuidv4);else _0x49e0a6[_0x2ef5db(0x7e)]&&(_0x49e0a6[_0x2ef5db(0x185)]=_0x27aafb[_0x2ef5db(0xf3)](uuidv4),delete _0x49e0a6[_0x2ef5db(0x7e)]);_0x49e0a6[_0x2ef5db(0x18f)]=new Date()[_0x2ef5db(0x84)](),this[_0x2ef5db(0xb3)]=_0x49e0a6,await this[_0x2ef5db(0x85)](_0x49e0a6,undefined,![],_0x27aafb[_0x2ef5db(0x191)]);}})['on'](EVENT_HOOK_END,async _0x4ab9d0=>{const _0x50ae60=_0x44784e;_0x27aafb[_0x50ae60(0x10a)](testhubUtils[_0x50ae60(0x16a)](testHubConstants[_0x50ae60(0xf8)]['HookFinished']),!![])&&(!_0x4ab9d0['markedStatus']&&(_0x4ab9d0[_0x50ae60(0x7e)]=!![],await this[_0x50ae60(0x85)](_0x4ab9d0,undefined,![],_0x27aafb[_0x50ae60(0x192)])));})['on'](EVENT_SUITE_END,_0xf27b7c=>{const _0x1b5b4d=_0x44784e,_0x402ccf={'pBlRm':function(_0x34de9c,_0x37dcdd){const _0x1c08a8=a27_0x12cd;return _0x27aafb[_0x1c08a8(0xe6)](_0x34de9c,_0x37dcdd);},'XVJHM':_0x27aafb[_0x1b5b4d(0xfc)],'LsHGw':function(_0x14fc45,_0x236624){const _0x127bde=_0x1b5b4d;return _0x27aafb[_0x127bde(0x129)](_0x14fc45,_0x236624);},'KjjTP':_0x27aafb['UsxTe'],'rAtHQ':function(_0x1f9434,_0x185ed2){const _0x317f39=_0x1b5b4d;return _0x27aafb[_0x317f39(0x116)](_0x1f9434,_0x185ed2);},'fFUfL':function(_0x1e7925,_0x2f3864,_0x144185){const _0x32a7e3=_0x1b5b4d;return _0x27aafb[_0x32a7e3(0x9c)](_0x1e7925,_0x2f3864,_0x144185);},'VQovf':_0x27aafb[_0x1b5b4d(0xc2)],'TzxkO':function(_0x5efebc,_0x568b44){const _0x387013=_0x1b5b4d;return _0x27aafb[_0x387013(0x17a)](_0x5efebc,_0x568b44);},'Naflj':function(_0x42027d,_0x25681d,_0x381995){const _0x5dc70c=_0x1b5b4d;return _0x27aafb[_0x5dc70c(0x179)](_0x42027d,_0x25681d,_0x381995);},'QnFgU':_0x27aafb['xzizq'],'jaPBN':_0x27aafb[_0x1b5b4d(0xdc)],'hTgAZ':function(_0x5b3109,_0x537e04){const _0x5e0567=_0x1b5b4d;return _0x27aafb[_0x5e0567(0xea)](_0x5b3109,_0x537e04);},'xwYTx':function(_0x318d0d,_0x4e34e5){const _0x2e1ea0=_0x1b5b4d;return _0x27aafb[_0x2e1ea0(0xea)](_0x318d0d,_0x4e34e5);},'IIUGq':function(_0x3b00a8,_0x3e8c46,_0x1ca4d4){const _0x52aeed=_0x1b5b4d;return _0x27aafb[_0x52aeed(0xbc)](_0x3b00a8,_0x3e8c46,_0x1ca4d4);},'pXzkw':function(_0x7e8627,_0x526675){const _0x4607a1=_0x1b5b4d;return _0x27aafb[_0x4607a1(0xeb)](_0x7e8627,_0x526675);},'HNXVZ':_0x27aafb['pspDy'],'nhtEX':function(_0x24326f,_0x1a0fb9,_0x3eb206){return _0x27aafb['gAnkH'](_0x24326f,_0x1a0fb9,_0x3eb206);},'BLWvM':_0x27aafb[_0x1b5b4d(0x135)],'bOLiz':_0x27aafb[_0x1b5b4d(0x1aa)]};if(_0xf27b7c['root'])return;if(_0x27aafb[_0x1b5b4d(0x19c)](this[_0x1b5b4d(0x156)],_0x27aafb[_0x1b5b4d(0x9a)]))Base['consoleLog'](),Base[_0x1b5b4d(0xac)](_0x27aafb[_0x1b5b4d(0x141)](_0x27aafb[_0x1b5b4d(0x11a)](this[_0x1b5b4d(0xf5)](),_0x27aafb[_0x1b5b4d(0x179)](color,_0x27aafb['qwpth'],_0x27aafb[_0x1b5b4d(0x162)])),_0x27aafb[_0x1b5b4d(0x83)](color,_0x27aafb[_0x1b5b4d(0xad)],_0x27aafb[_0x1b5b4d(0x19b)])),_0x27aafb[_0x1b5b4d(0x106)],_0xf27b7c[_0x1b5b4d(0x19d)],global['__platform__']),this[_0x1b5b4d(0x150)][_0x1b5b4d(0x1a8)](_0x166267=>{const _0x58698b=_0x1b5b4d;if(_0x402ccf[_0x58698b(0xe5)](_0x166267[_0x58698b(0x167)],_0x402ccf[_0x58698b(0x172)])){var _0x13acfa;_0x402ccf['LsHGw'](_0x166267[_0x58698b(0x13e)],_0x402ccf[_0x58698b(0x1a3)])?(_0x13acfa=_0x402ccf[_0x58698b(0x112)](_0x402ccf[_0x58698b(0x112)](this[_0x58698b(0xf5)](),_0x402ccf[_0x58698b(0xe9)](color,_0x402ccf[_0x58698b(0x118)],_0x402ccf[_0x58698b(0x8e)]('\x20\x20',Base[_0x58698b(0x181)]['ok']))),_0x402ccf['Naflj'](color,_0x402ccf[_0x58698b(0x176)],_0x402ccf['jaPBN'])),Base['consoleLog'](_0x13acfa,_0x166267['title'])):(_0x13acfa=_0x402ccf[_0x58698b(0xd1)](_0x402ccf[_0x58698b(0x92)](_0x402ccf[_0x58698b(0x92)](this[_0x58698b(0xf5)](),_0x402ccf[_0x58698b(0xb5)](color,_0x402ccf[_0x58698b(0x118)],_0x402ccf[_0x58698b(0xa9)]('\x20\x20',Base['symbols']['ok']))),_0x402ccf[_0x58698b(0xe9)](color,_0x402ccf['QnFgU'],_0x402ccf[_0x58698b(0xec)])),_0x402ccf[_0x58698b(0x11c)](color,_0x166267[_0x58698b(0x13e)],_0x402ccf[_0x58698b(0x8a)])),Base[_0x58698b(0xac)](_0x13acfa,_0x166267[_0x58698b(0x19d)],_0x166267['duration']));}else Base[_0x58698b(0xac)](_0x402ccf[_0x58698b(0x112)](this[_0x58698b(0xf5)](),_0x402ccf[_0x58698b(0xc3)](color,_0x402ccf['BLWvM'],_0x402ccf['bOLiz'])),++this[_0x58698b(0x90)],_0x166267['title']);}),this[_0x1b5b4d(0x1a9)]();else _0x27aafb[_0x1b5b4d(0x10a)](this[_0x1b5b4d(0x156)],_0x27aafb[_0x1b5b4d(0x17c)])&&(this['docAppend'](this[_0x1b5b4d(0xf5)]()+_0x1b5b4d(0x168)),--this[_0x1b5b4d(0xc9)],this['docAppend'](this['indent']()+_0x1b5b4d(0x12f)),--this[_0x1b5b4d(0xc9)]);Array[_0x1b5b4d(0xfb)][_0x1b5b4d(0x128)][_0x1b5b4d(0x10e)](this['finalResults'],this[_0x1b5b4d(0x150)]),this[_0x1b5b4d(0x150)]=[];})['on'](EVENT_TEST_PASS,async _0x4678a7=>{const _0x1d5815=_0x44784e;this['results'][_0x1d5815(0x128)]({'speed':_0x4678a7[_0x1d5815(0x13e)],'suite':_0x4678a7[_0x1d5815(0xc5)]['title'],'title':_0x4678a7[_0x1d5815(0x19d)],'fullTitle':_0x4678a7['fullTitle'](),'duration':_0x4678a7['duration'],'state':_0x4678a7['state'],'err':{},'currentRetry':_0x4678a7[_0x1d5815(0x19e)](),'titlePathV':_0x4678a7[_0x1d5815(0x182)](),'isPending':_0x4678a7[_0x1d5815(0x151)]()});if(_0x27aafb[_0x1d5815(0x15f)](this[_0x1d5815(0x156)],_0x27aafb[_0x1d5815(0x8b)]))_0x27aafb[_0x1d5815(0x129)](_0x4678a7[_0x1d5815(0x13e)],_0x27aafb[_0x1d5815(0x76)])?process[_0x1d5815(0x186)]['write'](Base['color'](_0x27aafb[_0x1d5815(0x190)],Base['symbols'][_0x1d5815(0x157)])):process['stdout'][_0x1d5815(0xa6)](Base[_0x1d5815(0x14f)](_0x4678a7[_0x1d5815(0x13e)],Base['symbols'][_0x1d5815(0x157)]));else{if(_0x27aafb[_0x1d5815(0x7b)](this[_0x1d5815(0x156)],_0x27aafb[_0x1d5815(0x17c)])){this[_0x1d5815(0xe8)](this[_0x1d5815(0xf5)]()+_0x1d5815(0x72)+utils['escape'](_0x4678a7[_0x1d5815(0x19d)])+_0x1d5815(0x9e)),this[_0x1d5815(0xe8)](this[_0x1d5815(0xf5)]()+_0x1d5815(0x72)+utils['escape'](_0x4678a7[_0x1d5815(0x131)])+_0x1d5815(0x9e));var _0x365e93=utils[_0x1d5815(0x6f)](utils[_0x1d5815(0xda)](_0x4678a7[_0x1d5815(0xf0)]));this[_0x1d5815(0xe8)](this[_0x1d5815(0xf5)]()+_0x1d5815(0xb8)+_0x365e93+'</code></pre></dd>');}}_0x27aafb[_0x1d5815(0x10a)](testhubUtils[_0x1d5815(0x16a)](),!![])&&(!_0x4678a7[_0x1d5815(0x7e)]&&(_0x4678a7[_0x1d5815(0x7e)]=!![],await this[_0x1d5815(0x85)](_0x4678a7)));})['on'](EVENT_TEST_FAIL,async(_0xbf7b3e,_0x187de3)=>{const _0x35f15b=_0x44784e;this[_0x35f15b(0x150)][_0x35f15b(0x128)]({'title':_0xbf7b3e[_0x35f15b(0x19d)],'suite':_0xbf7b3e['parent'][_0x35f15b(0x19d)],'state':_0xbf7b3e[_0x35f15b(0x167)],'err':{'message':util[_0x35f15b(0xf6)](_0x187de3)},'fullTitle':_0xbf7b3e['fullTitle'](),'speed':_0xbf7b3e[_0x35f15b(0x13e)],'currentRetry':_0xbf7b3e[_0x35f15b(0x19e)](),'titlePathV':_0xbf7b3e[_0x35f15b(0x182)]()});if(_0x27aafb[_0x35f15b(0x10a)](this[_0x35f15b(0x156)],_0x27aafb['IaXhi']))process[_0x35f15b(0x186)][_0x35f15b(0xa6)](Base[_0x35f15b(0x14f)](_0x27aafb[_0x35f15b(0x135)],Base[_0x35f15b(0x181)][_0x35f15b(0xef)]));else{if(_0x27aafb[_0x35f15b(0xc6)](this['type'],_0x27aafb['YYUmp'])){const _0x52b87c=_0x27aafb[_0x35f15b(0x148)][_0x35f15b(0xb2)]('|');let _0x2faf9b=0x0;while(!![]){switch(_0x52b87c[_0x2faf9b++]){case'0':var _0x312164=utils[_0x35f15b(0x6f)](utils[_0x35f15b(0xda)](_0xbf7b3e[_0x35f15b(0xf0)]));continue;case'1':this[_0x35f15b(0xe8)](this[_0x35f15b(0xf5)]()+_0x35f15b(0x134)+utils[_0x35f15b(0x6f)](_0xbf7b3e[_0x35f15b(0x19d)])+_0x35f15b(0x9e));continue;case'2':this[_0x35f15b(0xe8)](this[_0x35f15b(0xf5)]()+'\x20\x20<dd\x20class=\x22error\x22><pre><code>'+_0x312164+_0x35f15b(0xa4));continue;case'3':this[_0x35f15b(0xe8)](this[_0x35f15b(0xf5)]()+'\x20\x20<dd\x20class=\x22error\x22>'+utils['escape'](_0xbf7b3e['err'])+_0x35f15b(0x14b));continue;case'4':this[_0x35f15b(0xe8)](this['indent']()+_0x35f15b(0x134)+utils[_0x35f15b(0x6f)](_0xbf7b3e['file'])+_0x35f15b(0x9e));continue;}break;}}}if(_0x27aafb['wDqNw'](testhubUtils[_0x35f15b(0x16a)](testHubConstants[_0x35f15b(0xf8)][_0x35f15b(0x11f)]),!![])){if(!_0xbf7b3e['markedStatus']){_0xbf7b3e[_0x35f15b(0x7e)]=!![];if(_0xbf7b3e[_0x35f15b(0x173)])await this[_0x35f15b(0x85)](_0xbf7b3e,_0x187de3);else _0xbf7b3e[_0x35f15b(0x185)]&&await this[_0x35f15b(0x85)](_0xbf7b3e,_0x187de3,![],_0x27aafb['zAUtc']);}}})['on'](EVENT_TEST_PENDING,async _0xd2746d=>{const _0x38c245=_0x44784e;this[_0x38c245(0x150)][_0x38c245(0x128)]({'title':_0xd2746d[_0x38c245(0x19d)],'suite':_0xd2746d[_0x38c245(0xc5)]['title'],'state':_0xd2746d[_0x38c245(0x167)],'err':{},'fullTitle':_0xd2746d[_0x38c245(0xb9)](),'speed':_0xd2746d[_0x38c245(0x13e)],'currentRetry':_0xd2746d['currentRetry'](),'titlePathV':_0xd2746d[_0x38c245(0x182)]()}),_0x27aafb[_0x38c245(0x7b)](this[_0x38c245(0x156)],_0x27aafb[_0x38c245(0x8b)])&&process[_0x38c245(0x186)][_0x38c245(0xa6)](Base[_0x38c245(0x14f)](_0x27aafb[_0x38c245(0x88)],Base[_0x38c245(0x181)]['comma'])),_0x27aafb[_0x38c245(0x165)](testhubUtils[_0x38c245(0x16a)](),!![])&&(!_0xd2746d[_0x38c245(0x173)]&&(_0xd2746d['testAnalyticsId']=_0x27aafb['YwxZt'](uuidv4)),!_0xd2746d['markedStatus']&&(_0xd2746d[_0x38c245(0x7e)]=!![],await this['sendTestRunEvent'](_0xd2746d,undefined,![],_0x27aafb['VXLZQ'])));})['on'](EVENT_TEST_BEGIN,async _0x788840=>{const _0x5a8a99=_0x44784e;_0x27aafb[_0x5a8a99(0xe6)](testhubUtils[_0x5a8a99(0x16a)](),!![])&&await this[_0x5a8a99(0x96)](_0x788840);})['on'](EVENT_TEST_END,async _0x185e1c=>{const _0x3096a7=_0x44784e;_0x27aafb[_0x3096a7(0xa5)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x185e1c[_0x3096a7(0x7e)]&&(_0x185e1c['markedStatus']=!![],await this[_0x3096a7(0x85)](_0x185e1c)));})[_0x44784e(0xc8)](EVENT_RUN_END,async()=>{const _0x1d28d7=_0x44784e;try{if(_0x27aafb['xoWEo'](testhubUtils[_0x1d28d7(0x16a)](),!![])){const _0xc0097a=_0x27aafb['aXCWV'](getHookSkippedTests,this[_0x1d28d7(0x123)][_0x1d28d7(0x93)]);for(const _0x413902 of _0xc0097a){!_0x413902[_0x1d28d7(0x173)]&&(_0x413902[_0x1d28d7(0x173)]=_0x27aafb[_0x1d28d7(0x15b)](uuidv4)),await this[_0x1d28d7(0x85)](_0x413902,undefined,![],_0x27aafb[_0x1d28d7(0x13b)]);}}}catch(_0x4907c2){_0x27aafb[_0x1d28d7(0x130)](debug,_0x1d28d7(0x6d)+_0x4907c2);}await requestQueueHandler[_0x1d28d7(0x125)](),_0x27aafb['RvUfO'](this[_0x1d28d7(0x156)],_0x27aafb[_0x1d28d7(0x17c)])&&Base[_0x1d28d7(0xac)](this[_0x1d28d7(0x161)]);});if(this[_0x44784e(0x156)]&&![_0x27aafb['YYUmp'],_0x27aafb[_0x44784e(0xff)],_0x27aafb[_0x44784e(0x9a)],_0x27aafb[_0x44784e(0x8b)]][_0x44784e(0xb1)](this[_0x44784e(0x156)])){const _0x30784d=this['type'][_0x44784e(0x198)]();this['Reporter']=null;try{this[_0x44784e(0x14a)]=_0x27aafb[_0x44784e(0x86)](requireModule,_0x44784e(0xca)+_0x30784d+'.js',_0x27aafb['BuElc']);}catch(_0x4b0560){_0x27aafb[_0x44784e(0x130)](debug,_0x44784e(0x11e)+_0x4b0560);}if(_0x27aafb[_0x44784e(0x159)](this[_0x44784e(0x14a)],null))try{this[_0x44784e(0x14a)]=_0x27aafb[_0x44784e(0x15e)](require,_0x30784d);}catch(_0x582f51){console['error'](_0x44784e(0xa1)+_0x30784d);}if(_0x27aafb['QeTLE'](this[_0x44784e(0x14a)],null)){const _0x9a4068={};_0x9a4068[_0x44784e(0xee)]=_0x13f098[_0x44784e(0x1ac)],this[_0x44784e(0x14a)]=new this[(_0x44784e(0x14a))](_0x11bcdd,_0x9a4068);}}}['indent'](){const _0x245e9e=a27_0x4363fe,_0xcd1205={'oAHRj':function(_0x192ff7,_0x4c4df6){return _0x192ff7(_0x4c4df6);}};return _0xcd1205[_0x245e9e(0x1a1)](Array,this[_0x245e9e(0x137)])[_0x245e9e(0x7d)]('\x20\x20');}['increaseIndent'](){this['_indents']++;}[a27_0x4363fe(0x1a9)](){const _0x586d12=a27_0x4363fe;this[_0x586d12(0x137)]--;}[a27_0x4363fe(0xe8)](_0x49eabc){const _0x8750c4=a27_0x4363fe;this[_0x8750c4(0x161)]+=_0x49eabc;}[a27_0x4363fe(0x13c)](_0x5acc6c,_0x1f959c){const _0x3a89be=a27_0x4363fe,_0x5dbfdd={'OupDv':function(_0x4954b3,_0x464a65){return _0x4954b3(_0x464a65);}},_0x49eac1={};_0x49eac1[_0x3a89be(0x1a2)]=_0x5acc6c,_0x49eac1[_0x3a89be(0x150)]=this['finalResults'],_0x5dbfdd[_0x3a89be(0x7f)](_0x1f959c,_0x49eac1);}[a27_0x4363fe(0x152)](){const _0x8bfc87=a27_0x4363fe;process[_0x8bfc87(0xe3)](_0x8bfc87(0xf1)+process[_0x8bfc87(0xa2)]),process['on']('bs:addLog:'+process[_0x8bfc87(0xa2)],this['appendTestItemLog']['bind'](this)),process[_0x8bfc87(0xe3)]('bs:addPlatformDetails:'+process['pid']),process['on'](_0x8bfc87(0x9b)+process[_0x8bfc87(0xa2)],this[_0x8bfc87(0x75)]['bind'](this));}[a27_0x4363fe(0x96)]=async _0x37f375=>{const _0x2390cb=a27_0x4363fe,_0x181780={'qAHco':function(_0x431932){return _0x431932();},'tORHQ':function(_0x53114f,_0x2df1fd){return _0x53114f>_0x2df1fd;},'qREgl':function(_0x4c6361,_0x1b8aa5){return _0x4c6361===_0x1b8aa5;},'XnHov':_0x2390cb(0x113),'DFoKI':function(_0x2c1933,_0x4a8735){return _0x2c1933(_0x4a8735);}};try{const _0xc9706=this[_0x2390cb(0xce)];this[_0x2390cb(0xce)]=_0x37f375,_0x37f375[_0x2390cb(0xcb)]=null,_0x37f375[_0x2390cb(0x173)]=_0x181780[_0x2390cb(0x13a)](uuidv4),_0x37f375[_0x2390cb(0x18f)]=new Date()[_0x2390cb(0x84)](),_0x181780[_0x2390cb(0x119)](_0x37f375[_0x2390cb(0x145)],0x0)&&_0xc9706&&_0x181780['qREgl'](_0xc9706[_0x2390cb(0x19d)],_0x37f375[_0x2390cb(0x19d)])?(_0x37f375['retryOf']=_0xc9706[_0x2390cb(0x173)],await this['sendTestRunEvent'](_0x37f375,undefined,![],_0x181780['XnHov']),_0xc9706[_0x2390cb(0x167)]=STATE_FAILED,await this['sendTestRunEvent'](_0xc9706,undefined,!![])):await this[_0x2390cb(0x85)](_0x37f375,undefined,![],_0x181780[_0x2390cb(0x8d)]);}catch(_0x4c7381){_0x181780['DFoKI'](debug,_0x2390cb(0x1a6)+_0x4c7381);}};[a27_0x4363fe(0x85)]=async(_0x2b181f,_0x4da753=undefined,_0x47c47f=![],_0x5f0069='TestRunFinished')=>{const _0x2f5cd3=a27_0x4363fe,_0x3212a0={'YruAz':function(_0x3bab60,_0xb8de12){return _0x3bab60===_0xb8de12;},'UHkqW':function(_0x18a546,_0x233f66){return _0x18a546!==_0x233f66;},'yiycN':'test','QONMd':_0x2f5cd3(0x147),'NMqTQ':function(_0x2dbc99,_0x201ad4){return _0x2dbc99!==_0x201ad4;},'bzqGA':'File\x20path\x20could\x20not\x20be\x20found','LTTcj':_0x2f5cd3(0xd7),'KxlJC':'javascript','PUYWb':'TestRunSkipped','ISUlk':_0x2f5cd3(0xed),'TWhhF':function(_0x216303,_0x2c7c55){return _0x216303-_0x2c7c55;},'wZwzV':'AssertionError','GNyyJ':'UnhandledError','nnQGa':function(_0x158c8a,_0x5c77fd){return _0x158c8a===_0x5c77fd;},'dnWRi':'started_at','FEPKu':_0x2f5cd3(0x73),'aHktn':function(_0x41e2f2,_0x3c1d0e){return _0x41e2f2(_0x3c1d0e);},'vqYRC':function(_0x7b2c57,_0x1ef100){return _0x7b2c57===_0x1ef100;},'cuWeO':_0x2f5cd3(0x144),'LDUbg':function(_0x13e6a2,_0x5084d0){return _0x13e6a2!==_0x5084d0;},'RpoMm':'failed','HNXht':_0x2f5cd3(0x1ab),'RJxJX':_0x2f5cd3(0x8f),'nikVD':function(_0x9a8afa,_0x5d8bd6){return _0x9a8afa===_0x5d8bd6;},'eAtAW':'failure','aXzoT':_0x2f5cd3(0x16f),'FJdNT':_0x2f5cd3(0x183),'mMVTt':'failure_reason_expanded','migdJ':_0x2f5cd3(0x9d),'AYqyn':_0x2f5cd3(0xb7),'HHSYf':function(_0x5a9cb1,_0x42b861){return _0x5a9cb1(_0x42b861);},'PlGwq':_0x2f5cd3(0x177),'VdrMw':_0x2f5cd3(0x91),'DzAIE':'test_run','FQRZI':function(_0x5cebad,_0x53bbb8){return _0x5cebad(_0x53bbb8);}};try{if(_0x2b181f[_0x2f5cd3(0xf0)]&&_0x2b181f[_0x2f5cd3(0xf0)][_0x2f5cd3(0x11b)](/browserstack internal helper hook/))return;let _0x32231e=[];if(_0x3212a0[_0x2f5cd3(0xdd)](_0x2b181f['state'],STATE_FAILED)){if(_0x3212a0[_0x2f5cd3(0x10c)](_0x2b181f['err'],undefined))_0x32231e=_0x2b181f[_0x2f5cd3(0x147)]['multiple']?[_0x2b181f[_0x2f5cd3(0x147)][_0x2f5cd3(0x132)],_0x3212a0[_0x2f5cd3(0x15c)]]:[_0x2b181f['err'],_0x3212a0['QONMd']];else _0x3212a0[_0x2f5cd3(0xfa)](_0x4da753,undefined)?_0x32231e=[_0x4da753,_0x3212a0[_0x2f5cd3(0x170)]]:_0x32231e=[];}const _0x5ea5a1=_0x3212a0[_0x2f5cd3(0x10c)](_0x2b181f[_0x2f5cd3(0x147)],undefined)?_0x2b181f[_0x2f5cd3(0x147)][_0x2f5cd3(0x16e)]():_0x3212a0[_0x2f5cd3(0x10c)](_0x4da753,undefined)?_0x4da753[_0x2f5cd3(0x16e)]():undefined;let _0x2459d3;try{_0x2459d3=this[_0x2f5cd3(0x180)](_0x2b181f);}catch(_0x552c67){_0x2459d3=null;}const _0xa92fb5=_0x2459d3?this['findGitConfig'](_0x2459d3):null,_0x6ce0d0=_0x2459d3?this[_0x2f5cd3(0x187)][_0x2f5cd3(0x12a)](this[_0x2f5cd3(0x180)](_0x2b181f)):_0x3212a0['bzqGA'],_0x44c1ef={'framework':_0x3212a0['LTTcj'],'uuid':_0x2b181f[_0x2f5cd3(0x173)]||_0x2b181f['hookAnalyticsId'],'name':_0x2b181f[_0x2f5cd3(0x19d)],'body':{'lang':_0x3212a0[_0x2f5cd3(0x194)],'code':_0x2b181f[_0x2f5cd3(0xf0)]},'scope':this['scope'](_0x2b181f),'scopes':this[_0x2f5cd3(0xfe)](_0x2b181f),'identifier':_0x2b181f[_0x2f5cd3(0xb9)](),'file_name':_0x6ce0d0,'vc_filepath':_0xa92fb5?path[_0x2f5cd3(0x175)](_0xa92fb5,_0x2459d3):null,'location':_0x6ce0d0,'result':_0x3212a0[_0x2f5cd3(0xdd)](_0x5f0069,_0x3212a0[_0x2f5cd3(0xba)])?_0x3212a0[_0x2f5cd3(0x1a0)]:this[_0x2f5cd3(0x136)](_0x2b181f[_0x2f5cd3(0x167)]),'failure_reason':_0x5ea5a1,'duration_in_ms':_0x2b181f[_0x2f5cd3(0x8c)]||(_0x5f0069[_0x2f5cd3(0x11b)](/Finished/)||_0x5f0069[_0x2f5cd3(0x11b)](/Skipped/)?_0x3212a0[_0x2f5cd3(0x101)](Date[_0x2f5cd3(0x195)](),new Date(_0x2b181f['started_at'])[_0x2f5cd3(0xd9)]()):null),'started_at':_0x2b181f[_0x2f5cd3(0x18f)],'finished_at':_0x5f0069[_0x2f5cd3(0x11b)](/Finished/)||_0x5f0069[_0x2f5cd3(0x11b)](/Skipped/)?new Date()[_0x2f5cd3(0x84)]():null,'failure':failureData[_0x2f5cd3(0x10e)](null,_0x32231e),'failure_type':!_0x5ea5a1?null:_0x5ea5a1[_0x2f5cd3(0x11b)](/AssertionError/)?_0x3212a0[_0x2f5cd3(0xcd)]:_0x3212a0[_0x2f5cd3(0x16c)],'retry_of':_0x2b181f[_0x2f5cd3(0xcb)]};testhubUtils[_0x2f5cd3(0x74)](_0x44c1ef,_0x5f0069,_0x2b181f,FRAMEWORKS[_0x2f5cd3(0x81)]);(_0x2b181f[_0x2f5cd3(0x19f)]||_0x2b181f[_0x2f5cd3(0x140)])&&centralScannerUtils[_0x2f5cd3(0x184)](_0x44c1ef,_0x2b181f[_0x2f5cd3(0x19f)],_0x2b181f['redirectUrl']);_0x3212a0[_0x2f5cd3(0x14e)](_0x5f0069,_0x3212a0[_0x2f5cd3(0xba)])&&!_0x44c1ef[_0x3212a0[_0x2f5cd3(0x16b)]]&&(_0x44c1ef[_0x3212a0[_0x2f5cd3(0x16b)]]=_0x44c1ef[_0x3212a0[_0x2f5cd3(0x94)]]);if(_0x5f0069['match'](/HookRun/))[_0x44c1ef[_0x2f5cd3(0x177)],_0x44c1ef[_0x2f5cd3(0xc4)]]=_0x3212a0[_0x2f5cd3(0x10b)](getHookDetails,_0x2b181f['fullTitle']()||_0x2b181f[_0x2f5cd3(0xdf)]||_0x2b181f[_0x2f5cd3(0x19d)]),_0x3212a0['vqYRC'](_0x5f0069,_0x3212a0[_0x2f5cd3(0x111)])&&(_0x3212a0['LDUbg'](_0x44c1ef['result'],_0x3212a0[_0x2f5cd3(0xfd)])&&(_0x44c1ef['result']=_0x3212a0[_0x2f5cd3(0x79)]),_0x3212a0[_0x2f5cd3(0xdd)](_0x44c1ef[_0x2f5cd3(0x177)],_0x3212a0['RJxJX'])&&_0x3212a0['nikVD'](_0x44c1ef[_0x2f5cd3(0x178)],_0x3212a0[_0x2f5cd3(0xfd)])&&!_0x2b181f['ctx'][_0x2f5cd3(0x14d)]['markedStatus']&&(_0x2b181f[_0x2f5cd3(0x1a5)][_0x2f5cd3(0x14d)][_0x2f5cd3(0x7e)]=!![],_0x2b181f[_0x2f5cd3(0x1a5)][_0x2f5cd3(0x14d)][_0x2f5cd3(0x167)]=STATE_FAILED,await this[_0x2f5cd3(0x85)](_0x2b181f[_0x2f5cd3(0x1a5)][_0x2f5cd3(0x14d)],undefined,!![])));else _0x5f0069[_0x2f5cd3(0x11b)](/TestRun/)&&_0x3212a0[_0x2f5cd3(0x10b)](mapTestHooks,_0x2b181f);const _0x295eb3=_0x44c1ef[_0x3212a0[_0x2f5cd3(0x7c)]][0x0];_0x295eb3&&(_0x44c1ef[_0x3212a0[_0x2f5cd3(0x107)]]=_0x295eb3[_0x3212a0['FJdNT']],_0x44c1ef[_0x3212a0['mMVTt']]=_0x295eb3[_0x3212a0[_0x2f5cd3(0xae)]]);[_0x3212a0['AYqyn'],_0x3212a0[_0x2f5cd3(0xba)]][_0x2f5cd3(0xb1)](_0x5f0069)&&(this['_testResults'][_0x2f5cd3(0x128)](_0x44c1ef),_0x44c1ef[_0x2f5cd3(0x13d)]=_0x3212a0[_0x2f5cd3(0xc1)](getHooksForTest,_0x2b181f));const _0x41c105={'event_type':_0x3212a0[_0x2f5cd3(0xdd)](_0x5f0069,_0x3212a0[_0x2f5cd3(0xba)])?_0x3212a0[_0x2f5cd3(0xa7)]:_0x5f0069};_0x5f0069['match'](/HookRun/)?(_0x44c1ef[_0x3212a0[_0x2f5cd3(0x12e)]]=HOOK_TYPES_MAP[_0x44c1ef[_0x3212a0[_0x2f5cd3(0x12e)]]],_0x41c105[_0x3212a0['VdrMw']]=_0x44c1ef):_0x41c105[_0x3212a0[_0x2f5cd3(0x133)]]=_0x44c1ef,testhubUtils[_0x2f5cd3(0x10d)](FRAMEWORKS[_0x2f5cd3(0x81)],_0x41c105),await SessionHandler['uploadEventData'](_0x41c105);}catch(_0x4971f1){_0x3212a0[_0x2f5cd3(0x108)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x5f0069+_0x2f5cd3(0xf2)+_0x4971f1);}};[a27_0x4363fe(0x100)](_0x5ef2ce){const _0x39b397=a27_0x4363fe,_0x1d93f6={};_0x1d93f6[_0x39b397(0x82)]=function(_0x5e0290,_0x339b4e){return _0x5e0290===_0x339b4e;},_0x1d93f6[_0x39b397(0x80)]=function(_0x2c6031,_0x2dcdd3){return _0x2c6031===_0x2dcdd3;},_0x1d93f6[_0x39b397(0x103)]=function(_0x58167d,_0x52a54d){return _0x58167d===_0x52a54d;},_0x1d93f6[_0x39b397(0xbf)]=_0x39b397(0x97),_0x1d93f6[_0x39b397(0xf4)]=_0x39b397(0x17f);const _0x2fb986=_0x1d93f6,_0x5c22a4=path[_0x39b397(0x87)];if(_0x2fb986[_0x39b397(0x82)](_0x5ef2ce,null)||_0x2fb986['PRRmY'](_0x5ef2ce,'')||_0x2fb986[_0x39b397(0x80)](_0x5ef2ce,_0x5c22a4)||_0x2fb986['AaPcc'](_0x5ef2ce,path[_0x39b397(0x153)](_0x5ef2ce)))return null;try{return fs[_0x39b397(0x121)](path[_0x39b397(0x7d)](_0x5ef2ce,_0x2fb986['eSWkD'],_0x2fb986[_0x39b397(0xf4)])),_0x5ef2ce;}catch(_0x26867f){const _0x289461=path[_0x39b397(0x153)](_0x5ef2ce);return this[_0x39b397(0x100)](_0x289461);}}[a27_0x4363fe(0xcc)]=async _0x2b8cbf=>{const _0x144366=a27_0x4363fe,_0x5f17eb={'KIUBY':_0x144366(0x120),'LUpRP':function(_0x2ebbcf,_0x53c875){return _0x2ebbcf(_0x53c875);}};try{this[_0x144366(0xb3)]&&!this[_0x144366(0xb3)]['markedStatus']&&(_0x2b8cbf[_0x144366(0x98)]=this[_0x144366(0xb3)][_0x144366(0x185)]);!_0x2b8cbf[_0x144366(0x98)]&&this[_0x144366(0xce)]&&!this[_0x144366(0xce)]['markedStatus']&&(_0x2b8cbf[_0x144366(0xd3)]=this['current_test'][_0x144366(0x173)]);if(_0x2b8cbf['hook_run_uuid']||_0x2b8cbf[_0x144366(0xd3)]){const _0x1e5ed0={};_0x1e5ed0[_0x144366(0x10f)]=_0x5f17eb[_0x144366(0x189)],_0x1e5ed0[_0x144366(0x17d)]=[_0x2b8cbf],await SessionHandler['uploadEventData'](_0x1e5ed0);}}catch(_0x56ad79){_0x5f17eb['LUpRP'](debug,_0x144366(0x174)+_0x56ad79);}};['appendTestPlatform']=async _0x8f4cb=>{const _0x2c2a8b=a27_0x4363fe,_0x50b200={'MbYVs':'http_response','fFhNV':_0x2c2a8b(0xd2),'MMHcG':function(_0x8f0bb0,_0x12e2bc){return _0x8f0bb0(_0x12e2bc);}};try{const _0x29a9f0={};_0x29a9f0[_0x2c2a8b(0xc0)]=_0x8f4cb['uuid']||this[_0x2c2a8b(0xce)][_0x2c2a8b(0x173)],_0x29a9f0[_0x2c2a8b(0x1a4)]=_0x8f4cb[_0x50b200[_0x2c2a8b(0xaf)]];const _0x3efdf1=_0x29a9f0,_0x5b2529={};_0x5b2529[_0x2c2a8b(0x10f)]=_0x50b200[_0x2c2a8b(0x19a)],_0x5b2529[_0x2c2a8b(0x6c)]=_0x3efdf1,await SessionHandler[_0x2c2a8b(0x15a)](_0x5b2529);}catch(_0x5e1586){_0x50b200[_0x2c2a8b(0x154)](debug,_0x2c2a8b(0x146)+_0x5e1586);}};[a27_0x4363fe(0x136)](_0x46a9f7){const _0x3028ed=a27_0x4363fe,_0x58c97e={};_0x58c97e['INrBJ']=_0x3028ed(0x1ab),_0x58c97e['OZrZo']=_0x3028ed(0x18d),_0x58c97e[_0x3028ed(0x109)]=_0x3028ed(0xdb);const _0x1eca8f=_0x58c97e,_0x48ccca={};return _0x48ccca[STATE_PASSED]=_0x1eca8f[_0x3028ed(0x1a7)],_0x48ccca[STATE_PENDING]=_0x1eca8f[_0x3028ed(0x199)],_0x48ccca[STATE_FAILED]=_0x1eca8f['CzQgf'],_0x48ccca[_0x46a9f7];}[a27_0x4363fe(0x126)](_0xf777c6){const _0x20f3eb=a27_0x4363fe,_0x20b7c4={};_0x20b7c4[_0x20f3eb(0x142)]=function(_0x203465,_0x136298){return _0x203465-_0x136298;};const _0x443134=_0x20b7c4,_0x307758=_0xf777c6[_0x20f3eb(0x182)]();return _0x307758[_0x20f3eb(0xbe)](0x0,_0x443134['rZoDc'](_0x307758['length'],0x1))[_0x20f3eb(0x7d)]('\x20');}[a27_0x4363fe(0xfe)](_0xaaac21){const _0x22f666=a27_0x4363fe,_0x520481={};_0x520481[_0x22f666(0x117)]=function(_0x52e894,_0x1486fb){return _0x52e894-_0x1486fb;};const _0x897ce1=_0x520481,_0xa9081a=_0xaaac21[_0x22f666(0x182)]();return _0xa9081a[_0x22f666(0xbe)](0x0,_0x897ce1[_0x22f666(0x117)](_0xa9081a[_0x22f666(0x196)],0x1));}[a27_0x4363fe(0x180)](_0x59e462){const _0x285c8d=a27_0x4363fe,_0x5de538={};_0x5de538['fzjfY']=function(_0x1e4530,_0x25d5f2){return _0x1e4530>_0x25d5f2;};const _0x5f2716=_0x5de538;if(_0x59e462[_0x285c8d(0x131)])return _0x59e462[_0x285c8d(0x131)];if(_0x59e462[_0x285c8d(0x1a5)]){const _0x3d0a46=_0x59e462[_0x285c8d(0x1a5)][_0x285c8d(0x14d)]?this[_0x285c8d(0x180)](_0x59e462['ctx'][_0x285c8d(0x14d)]):null;if(_0x3d0a46)return _0x3d0a46;}if(_0x59e462['parent']){const _0x3a414f=this[_0x285c8d(0x180)](_0x59e462[_0x285c8d(0xc5)])||(_0x59e462['parent'][_0x285c8d(0x1a5)]&&_0x59e462[_0x285c8d(0xc5)][_0x285c8d(0x1a5)][_0x285c8d(0x14d)]?this[_0x285c8d(0x180)](_0x59e462['parent'][_0x285c8d(0x1a5)][_0x285c8d(0x14d)]):null);if(_0x3a414f)return _0x3a414f;_0x59e462[_0x285c8d(0xc5)][_0x285c8d(0x12d)]&&_0x5f2716['fzjfY'](_0x59e462['parent']['suites'][_0x285c8d(0x196)],0x0)&&_0x59e462[_0x285c8d(0xc5)][_0x285c8d(0x12d)][_0x285c8d(0x1a8)](_0x4b6ed3=>{const _0x44a2af=_0x285c8d,_0x396673=_0x4b6ed3[_0x44a2af(0x1a5)]?this[_0x44a2af(0x180)](_0x4b6ed3[_0x44a2af(0x1a5)]):null;if(_0x396673)return _0x396673;});}return null;}}module[a27_0x4363fe(0x17e)]=MyReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a28_0x13992e=a28_0x17ca;(function(_0x2dcde4,_0x2664e8){const _0x44b7c8=a28_0x17ca,_0x3b3bfb=_0x2dcde4();while(!![]){try{const _0x2f8e7=-parseInt(_0x44b7c8(0xc1))/0x1+parseInt(_0x44b7c8(0x115))/0x2+-parseInt(_0x44b7c8(0x9e))/0x3*(parseInt(_0x44b7c8(0xe3))/0x4)+-parseInt(_0x44b7c8(0xb5))/0x5+parseInt(_0x44b7c8(0x13c))/0x6+parseInt(_0x44b7c8(0x14e))/0x7+parseInt(_0x44b7c8(0x155))/0x8;if(_0x2f8e7===_0x2664e8)break;else _0x3b3bfb['push'](_0x3b3bfb['shift']());}catch(_0x1230ee){_0x3b3bfb['push'](_0x3b3bfb['shift']());}}}(a28_0x2430,0x8bfaa));function a28_0x17ca(_0x12df2d,_0x3d93de){const _0x243092=a28_0x2430();return a28_0x17ca=function(_0x17ca67,_0x5b4eea){_0x17ca67=_0x17ca67-0x66;let _0x472425=_0x243092[_0x17ca67];return _0x472425;},a28_0x17ca(_0x12df2d,_0x3d93de);}const chalk=require(a28_0x13992e(0x152)),logger=require(a28_0x13992e(0xeb))[a28_0x13992e(0xc9)],{default:BrowserStackSetup}=require(a28_0x13992e(0x8a)),helper=require(a28_0x13992e(0x92)),utilities=require(a28_0x13992e(0xc4)),testOpsHelper=require(a28_0x13992e(0x10b)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x13992e(0x8f)),{requireModule,nestedKeyValue}=require(a28_0x13992e(0x92)),{getPercyOptions}=require('../../helpers/percy/utils'),Base=requireModule(a28_0x13992e(0x99),'mocha'),collectFiles=requireModule('mocha/lib/cli/collect-files.js',a28_0x13992e(0x85)),constants=require(a28_0x13992e(0x122)),centralScannerConstants=require(a28_0x13992e(0x91));function tag(_0x1a36e5,_0x76cf1e,_0x1528bd,_0x2691cf){const _0x330601=a28_0x13992e,_0x53c494={'WMUZU':function(_0x44d5fc,_0x32ddd9){return _0x44d5fc+_0x32ddd9;},'JMDdn':function(_0x3e1750,_0x31076d){return _0x3e1750(_0x31076d);},'MltfP':function(_0x413e5d,_0x544164){return _0x413e5d+_0x544164;},'sDQUJ':function(_0x40086e,_0x304903){return _0x40086e+_0x304903;},'MSFix':function(_0x3e648c,_0x2b6c8f){return _0x3e648c+_0x2b6c8f;},'tXvxQ':function(_0x1e6f99,_0x1333f5){return _0x1e6f99+_0x1333f5;}},_0x47a654=_0x1528bd?'/>':'>',_0x4c16dd=[];let _0x12c5ad;for(const _0x5101ef in _0x76cf1e){Object[_0x330601(0x138)]['hasOwnProperty']['call'](_0x76cf1e,_0x5101ef)&&_0x4c16dd[_0x330601(0x144)](_0x53c494['WMUZU'](_0x53c494['WMUZU'](_0x53c494[_0x330601(0x147)](_0x5101ef,'=\x22'),_0x53c494['JMDdn'](escape,_0x76cf1e[_0x5101ef])),'\x22'));}return _0x12c5ad=_0x53c494[_0x330601(0x147)](_0x53c494['WMUZU'](_0x53c494['MltfP']('<',_0x1a36e5),_0x4c16dd['length']?_0x53c494[_0x330601(0xfa)]('\x20',_0x4c16dd['join']('\x20')):''),_0x47a654),_0x2691cf&&(_0x12c5ad+=_0x53c494[_0x330601(0xfa)](_0x53c494['MSFix'](_0x53c494[_0x330601(0x127)](_0x2691cf,'</'),_0x1a36e5),_0x47a654)),_0x12c5ad;}function a28_0x2430(){const _0x4633ce=['parse','../utils/constants','error','Xkqbg','Running\x20your\x20mocha\x20tests\x20across\x20','\x20failed','tXvxQ','PjbMp','assign','has','KUvxa','fshxn','WTbsp','accessibility','log','debug','XXDQi','forEach','files','testObservability','Printing\x20stats\x20of\x20tests','UkRfZ','getPlatformName','prototype','env','FRAMEWORKS','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','1878228LWlEuO','JcFHs','useColors','HMCDg','stats','bgRedBright','BnRrT','ZMmbH','push','showDiff','error\x20removing\x20tcg\x20config\x20file','WMUZU','yMzdj','message','cicov','rVddu','accessibilityOptions','kRIOf','7108626pemZiW','actual','Jukcn','xxuRk','chalk','Tests:\x20\x20\x20\x20\x20\x20\x20','gFOsg','8357024PKudHz','Writing\x20xunit\x20result\x20to\x20file','dodNV','</testsuite>','ViXbA','MOCHA','expected','zlEEm','spec','consoleLog','Listing\x20all\x20the\x20failures','YZpJk','list','printBuildLink','GRhfN','PejiN','passed','ZrjUA','yellow','min','join','OYjLV','Total\x20Platforms:\x20','XybWD','fullTitle','BROWSERSTACK_GRR_US_HUB_URL','stringify','exitCode','then','setupTCGAuth','shouldReRunObservabilityTests','GKPSW','proxySettings','fireFunnelTestEvent','failure','utEvE','CktJv','length','doc','Running\x20your\x20mocha\x20tests','vgUEl','\x20skipped','PrGps','duration','bAQMw','iNleg','config','cliConfig','sDClI','mocha','prepareCapabilities','YRcCy','isTestObservabilitySession','object','../../helpers/BrowserStackSetup','miZoM','title','get','suite','../test-runner','AFzUY','../../helpers/central-scanner/constants','../../helpers/helper','markSDKSetupComplete','OCJMF','zKByH','sKYqa','initialize','YjNyf','mocha/lib/reporters/base.js','Runeb','notifyUpdate','bold','BROWSERSTACK_TEST_OBSERVABILITY_YML','23970YAxhGz','totalTests','oFDEp','slTlj','Kzllg','green','includes','iUMCv','getOwnPropertyNames','xunit','errorMessage','bHaXQ','yBpqm','reporter','getTCGConfigFilePaths','toUTCString','map','dAwJK','getHubUrl','platforms','nlJED','failed','JmNOC','171345teOTBd','isPending','writeFileSync','extension','testsFailed','reporter-option','argv','size','JXwqG','suiteName','bgBlueBright','err','826924mcDYGj','IjxcX','indexOf','../../helpers/utilities','logLevel','yxIzb','****\x20FAILURES\x20****','pugTS','winstonLogger','Couldn\x27t\x20write\x20json\x20result\x20to','ZKUrR','FbYqj','jouBx','file','oaKVX','validPlatformsPresent','YJpaB','BROWSERSTACK_CENTRAL_USER','Now,\x20showing\x20logs\x20from\x20mocha','unlinkSync','KuEIM','pdLpq','LrVBB','titlePath','viSKa','FnPRM','currentRetry','dlnTk','keys','LvZlw','JjJGL','SDKTestSuccessful','tciRM','recursive','552hjvFJE','ignore','OuflT','mjs','\x20passed','Writing\x20json\x20result\x20to\x20file','finally','YBXUt','../../helpers/logger','oZASa','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','red','twSZZ','\x20total','exports','isUndefined','json','RtHRU','Doqfj','testsPassed','lZOTo','--disable-test-observability','nfNBM','sDQUJ','GTbSq','KSljg','testcase','IrAHX','info','birQx','parallelsPerPlatform','eCvHL','useW3C','hideDiff','rootHooks','speed','getErrorMessageFromResults','xyXZv','tFBrw','QwwNW','../../helpers/test-observability/utils','Couldn\x27t\x20write\x20xunit\x20result\x20to','pxUPv','gKrTf','stack','titlePathV','testSuites','passes','platform','output','327966tGFxVl','generateDiff','results','PsRzS','state','reporterOptions','handleApp','aOpGz','Setting\x20non\x20exit\x20code\x20for\x20failures','cLPvE','yqGLF','getUserWorkerCount'];a28_0x2430=function(){return _0x4633ce;};return a28_0x2430();}let xunitContent='';function xunitWrite(_0x3755b5){xunitContent+=_0x3755b5;}function xunitTest(_0x263ae8,_0x45aa6d){const _0x376e0e=a28_0x13992e,_0x284e61={'ZMmbH':function(_0x735cb,_0x108eb2){return _0x735cb/_0x108eb2;},'miZoM':function(_0x55c159,_0x442d70){return _0x55c159===_0x442d70;},'KSljg':'failed','RtHRU':function(_0x3507b9,_0x2cba1e){return _0x3507b9+_0x2cba1e;},'sRDyM':function(_0x1b5efb,_0x558221){return _0x1b5efb(_0x558221);},'dlnTk':function(_0x55d919,_0x3efa86,_0x104b08,_0x3ce1ec,_0x5a169c){return _0x55d919(_0x3efa86,_0x104b08,_0x3ce1ec,_0x5a169c);},'PjbMp':_0x376e0e(0xfd),'oZASa':_0x376e0e(0x76),'ViXbA':function(_0x541c51,_0x2f72cd){return _0x541c51+_0x2f72cd;},'XybWD':function(_0x219680,_0x1de172){return _0x219680+_0x1de172;},'kRIOf':function(_0x452913,_0x506533){return _0x452913(_0x506533);},'eCvHL':function(_0x169abc,_0x48e0e0){return _0x169abc(_0x48e0e0);},'Kzllg':function(_0x5f2c71,_0x19f5c2,_0x2349d7,_0x425dc9,_0x3cf269){return _0x5f2c71(_0x19f5c2,_0x2349d7,_0x425dc9,_0x3cf269);},'nlJED':function(_0x546cae,_0x28aad4,_0x482d3a,_0x3cd9d9){return _0x546cae(_0x28aad4,_0x482d3a,_0x3cd9d9);},'pugTS':'skipped','YjNyf':function(_0x29754b,_0x1081ab){return _0x29754b(_0x1081ab);},'xyXZv':function(_0x39d78d,_0x396e00,_0x4aedeb,_0x3a7945){return _0x39d78d(_0x396e00,_0x4aedeb,_0x3a7945);}};Base[_0x376e0e(0x13e)]=![];var _0x68adbe={'classname':_0x263ae8[_0x376e0e(0x6c)],'name':_0x263ae8['title'],'time':_0x284e61[_0x376e0e(0x143)](_0x263ae8[_0x376e0e(0x7f)],0x3e8)||0x0,'platform':_0x45aa6d};if(_0x284e61[_0x376e0e(0x8b)](_0x263ae8[_0x376e0e(0x119)],_0x284e61[_0x376e0e(0xfc)])){var _0x5ab740=_0x263ae8['err'],_0x3560ac=!Base[_0x376e0e(0x104)]&&Base[_0x376e0e(0x145)](_0x5ab740)?_0x284e61[_0x376e0e(0xf4)]('\x0a',Base[_0x376e0e(0x116)](_0x5ab740[_0x376e0e(0x14f)],_0x5ab740[_0x376e0e(0x15b)])):'';_0x284e61['sRDyM'](xunitWrite,_0x284e61['dlnTk'](tag,_0x284e61[_0x376e0e(0x128)],_0x68adbe,![],_0x284e61[_0x376e0e(0xdc)](tag,_0x284e61[_0x376e0e(0xec)],{},![],_0x284e61[_0x376e0e(0x159)](_0x284e61[_0x376e0e(0x6b)](_0x284e61[_0x376e0e(0xf4)](_0x284e61[_0x376e0e(0x14d)](escape,_0x5ab740[_0x376e0e(0x149)]),_0x284e61[_0x376e0e(0x14d)](escape,_0x3560ac)),'\x0a'),_0x284e61[_0x376e0e(0x102)](escape,_0x5ab740[_0x376e0e(0x10f)])))));}else _0x263ae8[_0x376e0e(0xb6)]?_0x284e61[_0x376e0e(0x102)](xunitWrite,_0x284e61[_0x376e0e(0xa2)](tag,_0x284e61[_0x376e0e(0x128)],_0x68adbe,![],_0x284e61[_0x376e0e(0xb2)](tag,_0x284e61[_0x376e0e(0xc8)],{},!![]))):_0x284e61[_0x376e0e(0x98)](xunitWrite,_0x284e61[_0x376e0e(0x108)](tag,_0x284e61[_0x376e0e(0x128)],_0x68adbe,!![]));};function getStats(_0xa56926){const _0x1ee324=a28_0x13992e,_0x23a705={};_0x23a705['lQAyU']=_0x1ee324(0x8e),_0x23a705[_0x1ee324(0x14a)]=_0x1ee324(0x165),_0x23a705[_0x1ee324(0x9a)]=_0x1ee324(0xb3),_0x23a705[_0x1ee324(0xc6)]=_0x1ee324(0x117);const _0x50ba3b=_0x23a705,_0x4bd5c7=Object[_0x1ee324(0xdd)](_0xa56926);let _0x33c583=0x0,_0x16f3ab=0x0,_0x322160=0x0,_0x1cf0a0=0x0;const _0x266743=new Set();_0x4bd5c7[_0x1ee324(0x132)](_0x4db791=>{const _0x46e0d8=_0x1ee324,_0x308ff6={};_0x308ff6[_0x46e0d8(0xc2)]=_0x50ba3b['lQAyU'],_0x308ff6['lSzpg']=_0x50ba3b[_0x46e0d8(0x14a)],_0x308ff6[_0x46e0d8(0x136)]=_0x50ba3b[_0x46e0d8(0x9a)];const _0x2bd6c2=_0x308ff6;_0xa56926[_0x4db791][_0x50ba3b[_0x46e0d8(0xc6)]][_0x46e0d8(0x132)](_0x3bb56c=>{const _0x5d0281=_0x46e0d8;_0x266743['add'](_0x3bb56c[_0x2bd6c2[_0x5d0281(0xc2)]]),_0x33c583++;switch(_0x3bb56c[_0x5d0281(0x119)]){case _0x2bd6c2['lSzpg']:_0x322160++;break;case _0x2bd6c2['UkRfZ']:_0x16f3ab++;break;default:_0x1cf0a0++;}});});const _0x8b7015={};return _0x8b7015[_0x1ee324(0x111)]=_0x266743[_0x1ee324(0xbc)],_0x8b7015['platforms']=_0x4bd5c7,_0x8b7015[_0x1ee324(0x9f)]=_0x33c583,_0x8b7015['testsFailed']=_0x16f3ab,_0x8b7015[_0x1ee324(0xf6)]=_0x322160,_0x8b7015['testsPending']=_0x1cf0a0,_0x8b7015;}function errorJSON(_0x451bb4){const _0x4603ba=a28_0x13992e;var _0x2b2acf={};return Object[_0x4603ba(0xa6)](_0x451bb4)[_0x4603ba(0x132)](function(_0x13587c){_0x2b2acf[_0x13587c]=_0x451bb4[_0x13587c];},_0x451bb4),_0x2b2acf;}function cleanCycles(_0x213a70){const _0x5d28f6=a28_0x13992e,_0x46f2e4={};_0x46f2e4['gFOsg']=function(_0x26859e,_0x237508){return _0x26859e===_0x237508;},_0x46f2e4[_0x5d28f6(0x13f)]=_0x5d28f6(0x89),_0x46f2e4['ZKUrR']=function(_0x5f4a83,_0x22744d){return _0x5f4a83!==_0x22744d;},_0x46f2e4['Doqfj']=function(_0x231d6f,_0x45b153){return _0x231d6f+_0x45b153;};const _0x4ec390=_0x46f2e4;var _0xdd8ff0=[];return JSON[_0x5d28f6(0x121)](JSON[_0x5d28f6(0x6e)](_0x213a70,function(_0x415ae1,_0x29ca73){const _0x5de6eb=_0x5d28f6;if(_0x4ec390[_0x5de6eb(0x154)](typeof _0x29ca73,_0x4ec390[_0x5de6eb(0x13f)])&&_0x4ec390['ZKUrR'](_0x29ca73,null)){if(_0x4ec390[_0x5de6eb(0xcb)](_0xdd8ff0[_0x5de6eb(0xc3)](_0x29ca73),-0x1))return _0x4ec390[_0x5de6eb(0xf5)]('',_0x29ca73);_0xdd8ff0['push'](_0x29ca73);}return _0x29ca73;}));}function clean(_0x10570f){const _0x420b6c=a28_0x13992e,_0x532a67={'oaKVX':function(_0x1dabb6,_0x582fb1){return _0x1dabb6 instanceof _0x582fb1;},'rVddu':function(_0x43f1fd,_0x27ae91){return _0x43f1fd(_0x27ae91);},'sKYqa':function(_0x290424,_0x53347e){return _0x290424(_0x53347e);}};var _0x577ade=_0x10570f[_0x420b6c(0xc0)]||{};return _0x532a67[_0x420b6c(0xcf)](_0x577ade,Error)&&(_0x577ade=_0x532a67[_0x420b6c(0x14b)](errorJSON,_0x577ade)),{'title':_0x10570f[_0x420b6c(0x8c)],'fullTitle':_0x10570f[_0x420b6c(0x6c)],'file':_0x10570f['file'],'duration':_0x10570f[_0x420b6c(0x7f)],'currentRetry':_0x10570f[_0x420b6c(0xdb)],'speed':_0x10570f[_0x420b6c(0x106)],'err':_0x532a67[_0x420b6c(0x96)](cleanCycles,_0x577ade)};}function printStats(_0x1fde56,_0x5a992d=a28_0x13992e(0x15d),_0x597f2c={}){const _0x2ed2e4=a28_0x13992e,_0x5553c0={'vgUEl':function(_0x2be86d,_0x281d83){return _0x2be86d(_0x281d83);},'Jukcn':function(_0x836c68,_0x2478bc){return _0x836c68===_0x2478bc;},'AFzUY':_0x2ed2e4(0x165),'nfNBM':_0x2ed2e4(0x112),'tFBrw':function(_0x109fdc,_0x4207a2){return _0x109fdc(_0x4207a2);},'CktJv':_0x2ed2e4(0xb3),'cLPvE':'failures','NOeSI':'pending','twSZZ':_0x2ed2e4(0x117),'bAQMw':function(_0x35f6ea,_0x59692a){return _0x35f6ea*_0x59692a;},'NdmWE':function(_0xf9e4d5,_0x12695b,_0x3b5766){return _0xf9e4d5(_0x12695b,_0x3b5766);},'WTbsp':function(_0x1bdd4d,_0x23ad68){return _0x1bdd4d===_0x23ad68;},'LrVBB':function(_0xfad833,_0x439c49){return _0xfad833>_0x439c49;},'RDtwI':function(_0x154390){return _0x154390();},'PsRzS':function(_0x4ec73b,_0x47fb0e){return _0x4ec73b===_0x47fb0e;},'pxUPv':_0x2ed2e4(0x7a),'dgJBM':function(_0x4d9fcc,_0x5ea76e){return _0x4d9fcc>_0x5ea76e;},'Xkqbg':_0x2ed2e4(0x11d),'fshxn':_0x2ed2e4(0x135),'gKrTf':function(_0x49ff35,_0x418d9f){return _0x49ff35+_0x418d9f;},'AlCXo':_0x2ed2e4(0x6a),'yMzdj':function(_0x455a4e,_0x44680b){return _0x455a4e+_0x44680b;},'sDClI':'Total\x20Suites:\x20','yqGLF':function(_0x3239a0,_0x48086e){return _0x3239a0+_0x48086e;},'PCUPn':function(_0x52079e,_0x354279){return _0x52079e+_0x354279;},'LIVEy':_0x2ed2e4(0x153),'dodNV':function(_0x5b3454,_0xea10c5){return _0x5b3454>_0xea10c5;},'OdIfZ':function(_0x18cf31,_0x66dd29){return _0x18cf31+_0x66dd29;},'dKWiV':function(_0x4b9bef,_0x48cdb1){return _0x4b9bef+_0x48cdb1;},'PrGps':'\x0a\x0a\x0a','iNleg':_0x2ed2e4(0xf3),'dAwJK':_0x2ed2e4(0xe8),'AFAIb':_0x2ed2e4(0xca),'yBpqm':_0x2ed2e4(0x13b),'YBXUt':function(_0x3acaa2,_0x15973d){return _0x3acaa2===_0x15973d;},'JjJGL':_0x2ed2e4(0xa7),'OYjLV':'Mocha\x20Tests','bHaXQ':function(_0xeb4fbb,_0x5a1116){return _0xeb4fbb||_0x5a1116;},'YRcCy':function(_0xa1f733,_0x46a39e){return _0xa1f733(_0x46a39e);},'FbYqj':function(_0x2c9af6,_0x3bb7f2,_0x215beb,_0x1d3b32){return _0x2c9af6(_0x3bb7f2,_0x215beb,_0x1d3b32);},'xjMbV':'testsuite','oQowv':function(_0x339e3a,_0x500042){return _0x339e3a-_0x500042;},'iUMCv':function(_0x3c0bb2,_0x423c8d){return _0x3c0bb2/_0x423c8d;},'CrOxT':function(_0x295524,_0x458873){return _0x295524(_0x458873);},'xxuRk':_0x2ed2e4(0x158),'cqBni':_0x2ed2e4(0x156),'tciRM':_0x2ed2e4(0x10c),'zlEEm':_0x2ed2e4(0xed),'OCJMF':_0x2ed2e4(0x15f),'LvZlw':_0x2ed2e4(0xc7)};if(_0x5553c0[_0x2ed2e4(0x118)](_0x5a992d,_0x5553c0[_0x2ed2e4(0x10d)]))return;const _0x29726e=0x0,_0x3ff6c6=()=>{const _0x2a1f2b=_0x2ed2e4;return _0x5553c0['vgUEl'](Array,_0x29726e)[_0x2a1f2b(0x68)]('\x20\x20');},{testSuites:_0x9ed772,platforms:_0x82fe95,totalTests:_0x1a7bd5,testsFailed:_0x112298,testsPassed:_0x2c05be,testsPending:_0x5e6e85}=_0x5553c0[_0x2ed2e4(0x7c)](getStats,_0x1fde56);_0x5553c0['dgJBM'](_0x112298,0x0)&&(logger[_0x2ed2e4(0x130)](_0x5553c0[_0x2ed2e4(0x124)]),process[_0x2ed2e4(0x6f)]=Math[_0x2ed2e4(0x67)](_0x112298,0xff));logger[_0x2ed2e4(0x130)](_0x5553c0[_0x2ed2e4(0x12c)]);const _0x22c826=''+_0x5553c0[_0x2ed2e4(0x10e)](chalk[_0x2ed2e4(0x9c)](_0x5553c0['AlCXo']),_0x82fe95[_0x2ed2e4(0x79)]),_0x5c3a49=''+_0x5553c0[_0x2ed2e4(0x148)](chalk['bold'](_0x5553c0[_0x2ed2e4(0x84)]),_0x9ed772),_0x4b1f39=''+_0x5553c0[_0x2ed2e4(0x10e)](_0x5553c0[_0x2ed2e4(0x11f)](_0x5553c0['PCUPn'](chalk[_0x2ed2e4(0x9c)](_0x5553c0['LIVEy']),_0x5553c0[_0x2ed2e4(0xd7)](_0x112298,0x0)?chalk['bold'][_0x2ed2e4(0xee)](_0x112298+_0x2ed2e4(0x126))+',\x20':''),_0x5553c0[_0x2ed2e4(0x157)](_0x5e6e85,0x0)?chalk['bold'][_0x2ed2e4(0x66)](_0x5e6e85+_0x2ed2e4(0x7d))+',\x20':''),_0x5553c0[_0x2ed2e4(0x157)](_0x2c05be,0x0)?chalk[_0x2ed2e4(0x9c)][_0x2ed2e4(0xa3)](_0x2c05be+_0x2ed2e4(0xe7))+',\x20':'')+_0x1a7bd5+_0x2ed2e4(0xf0);console[_0x2ed2e4(0x12f)](_0x5553c0[_0x2ed2e4(0x11f)](_0x5553c0[_0x2ed2e4(0x11f)](_0x5553c0['yqGLF'](_0x5553c0['OdIfZ'](_0x5553c0['dKWiV'](_0x5553c0[_0x2ed2e4(0x7e)],_0x22c826),'\x0a'),_0x5c3a49),'\x0a'),_0x4b1f39));if(_0x5553c0[_0x2ed2e4(0x12d)](_0x5a992d,_0x5553c0[_0x2ed2e4(0x81)])){const _0x5dac64={},_0x4ddd76={};_0x4ddd76['testSuites']=_0x9ed772,_0x4ddd76[_0x2ed2e4(0xb1)]=_0x82fe95,_0x4ddd76[_0x2ed2e4(0xb9)]=_0x112298,_0x4ddd76[_0x2ed2e4(0xf6)]=_0x2c05be,_0x4ddd76['testsPending']=_0x5e6e85,_0x5dac64[_0x2ed2e4(0x140)]=_0x4ddd76,_0x82fe95[_0x2ed2e4(0x132)](_0x538c0a=>{const _0x47f165=_0x2ed2e4,_0x1b83e5={'QwwNW':function(_0x19e2bd,_0x194ef9){return _0x5553c0['Jukcn'](_0x19e2bd,_0x194ef9);},'JcFHs':_0x5553c0[_0x47f165(0x90)],'pdLpq':_0x5553c0[_0x47f165(0xf9)],'KUvxa':function(_0x368d3f,_0x4accfd){return _0x5553c0['tFBrw'](_0x368d3f,_0x4accfd);},'PejiN':_0x5553c0[_0x47f165(0x78)],'YZpJk':_0x5553c0[_0x47f165(0x11e)],'BnRrT':function(_0x5a37e9,_0x4cc5ad){const _0x5da379=_0x47f165;return _0x5553c0[_0x5da379(0x109)](_0x5a37e9,_0x4cc5ad);},'jouBx':_0x5553c0['NOeSI']};_0x5dac64[_0x538c0a]={'pending':[],'failures':[],'passes':[],'tests':_0x1fde56[_0x538c0a][_0x5553c0[_0x47f165(0xef)]][_0x47f165(0xae)](clean)},_0x1fde56[_0x538c0a][_0x5553c0[_0x47f165(0xef)]][_0x47f165(0x132)](_0x4f18c1=>{const _0x2fa326=_0x47f165;if(_0x1b83e5['QwwNW'](_0x4f18c1[_0x2fa326(0x119)],_0x1b83e5[_0x2fa326(0x13d)]))_0x5dac64[_0x538c0a][_0x1b83e5[_0x2fa326(0xd6)]][_0x2fa326(0x144)](_0x1b83e5[_0x2fa326(0x12b)](clean,_0x4f18c1));else _0x1b83e5[_0x2fa326(0x10a)](_0x4f18c1[_0x2fa326(0x119)],_0x1b83e5[_0x2fa326(0x164)])?_0x5dac64[_0x538c0a][_0x1b83e5[_0x2fa326(0x160)]][_0x2fa326(0x144)](_0x1b83e5[_0x2fa326(0x142)](clean,_0x4f18c1)):_0x5dac64[_0x538c0a][_0x1b83e5[_0x2fa326(0xcd)]]['push'](_0x1b83e5[_0x2fa326(0x142)](clean,_0x4f18c1));});});if(_0x597f2c[_0x2ed2e4(0x114)])try{logger['debug'](_0x5553c0[_0x2ed2e4(0xaf)],_0x597f2c[_0x2ed2e4(0x114)]),fs['writeFileSync'](_0x597f2c[_0x2ed2e4(0x114)],JSON[_0x2ed2e4(0x6e)](_0x5dac64,null,0x3));}catch(_0x4592e9){logger[_0x2ed2e4(0x123)](_0x5553c0['AFAIb'],_0x597f2c[_0x2ed2e4(0x114)]),logger[_0x2ed2e4(0x130)](_0x4592e9);}else logger[_0x2ed2e4(0x130)](_0x5553c0[_0x2ed2e4(0xaa)]),console[_0x2ed2e4(0x12f)](JSON[_0x2ed2e4(0x6e)](_0x5dac64,null,0x3));}else{if(_0x5553c0[_0x2ed2e4(0xea)](_0x5a992d,_0x5553c0[_0x2ed2e4(0xdf)])){let _0x570d02;const _0x24b0ce=_0x5553c0[_0x2ed2e4(0x69)];_0x597f2c&&(_0x570d02=_0x597f2c[_0x2ed2e4(0xbe)]);_0x570d02=_0x5553c0[_0x2ed2e4(0xa9)](_0x570d02,_0x24b0ce);let _0x2aa477=0x0,_0x397c1f=0x0,_0x2d3a9b=0x0,_0x288ea3=0x0;_0x82fe95[_0x2ed2e4(0x132)](_0x151fd1=>{const _0xd2b934=_0x2ed2e4;_0x1fde56[_0x151fd1][_0x5553c0[_0xd2b934(0xef)]][_0xd2b934(0x132)](_0x1c6f12=>{const _0x47b9f1=_0xd2b934;if(_0x5553c0[_0x47b9f1(0x150)](_0x1c6f12[_0x47b9f1(0x119)],_0x5553c0[_0x47b9f1(0x90)]))_0x2aa477++;else _0x5553c0[_0x47b9f1(0x150)](_0x1c6f12['state'],_0x5553c0[_0x47b9f1(0x78)])&&_0x397c1f++;_0x2d3a9b++,_0x288ea3+=_0x5553c0[_0x47b9f1(0x80)](_0x1c6f12['duration'],0x1);});}),_0x5553c0[_0x2ed2e4(0x87)](xunitWrite,_0x5553c0[_0x2ed2e4(0xcc)](tag,_0x5553c0['xjMbV'],{'name':_0x570d02,'tests':_0x2d3a9b,'failures':0x0,'errors':_0x397c1f,'skipped':_0x5553c0['oQowv'](_0x5553c0['oQowv'](_0x2d3a9b,_0x397c1f),_0x2aa477),'timestamp':new Date()[_0x2ed2e4(0xad)](),'time':_0x5553c0[_0x2ed2e4(0xa5)](_0x288ea3,0x3e8)||0x0},![])),_0x82fe95[_0x2ed2e4(0x132)](_0x297275=>{const _0x22e701=_0x2ed2e4;_0x1fde56[_0x297275][_0x5553c0[_0x22e701(0xef)]][_0x22e701(0x132)](_0x5b5dae=>{_0x5553c0['NdmWE'](xunitTest,_0x5b5dae,_0x297275);});}),_0x5553c0['CrOxT'](xunitWrite,_0x5553c0[_0x2ed2e4(0x151)]);if(_0x597f2c['output'])try{logger['debug'](_0x5553c0['cqBni'],_0x597f2c['output']),fs[_0x2ed2e4(0xb7)](_0x597f2c[_0x2ed2e4(0x114)],xunitContent);}catch(_0x50e4d3){logger[_0x2ed2e4(0x123)](_0x5553c0[_0x2ed2e4(0xe1)],_0x597f2c[_0x2ed2e4(0x114)]),logger[_0x2ed2e4(0x130)](_0x50e4d3);}else logger[_0x2ed2e4(0x130)](_0x5553c0[_0x2ed2e4(0x15c)]),console['log'](xunitContent);}else{if(_0x5553c0['Jukcn'](_0x112298,0x0))return;console[_0x2ed2e4(0x12f)](),logger[_0x2ed2e4(0x130)](_0x5553c0[_0x2ed2e4(0x94)]),console[_0x2ed2e4(0x12f)](chalk[_0x2ed2e4(0x9c)][_0x2ed2e4(0x141)](_0x5553c0[_0x2ed2e4(0xde)])),_0x82fe95[_0x2ed2e4(0x132)](_0x380317=>{const _0x3fb8f9=_0x2ed2e4,_0x17d913={'ZrjUA':function(_0x399d75,_0x141563){const _0x3b7103=a28_0x17ca;return _0x5553c0[_0x3b7103(0x12d)](_0x399d75,_0x141563);},'zKByH':_0x5553c0[_0x3fb8f9(0x78)]},_0x550580=[];_0x1fde56[_0x380317][_0x5553c0['twSZZ']][_0x3fb8f9(0x132)](_0x1b1266=>{const _0x2b444e=_0x3fb8f9;_0x17d913[_0x2b444e(0x166)](_0x1b1266[_0x2b444e(0x119)],_0x17d913[_0x2b444e(0x95)])&&(_0x1b1266[_0x2b444e(0xd8)]=()=>_0x1b1266[_0x2b444e(0x110)],_0x550580[_0x2b444e(0x144)](_0x1b1266));}),_0x5553c0[_0x3fb8f9(0xd7)](_0x550580[_0x3fb8f9(0x79)],0x0)&&(Base['consoleLog'](),Base[_0x3fb8f9(0x15e)](_0x5553c0['RDtwI'](_0x3ff6c6),chalk['bold'][_0x3fb8f9(0xbf)](_0x380317)),Base[_0x3fb8f9(0x161)](_0x550580));});}}}async function run(_0x46472f,_0x38dbfc){const _0x350ff8=a28_0x13992e,_0x1a9497={'JXwqG':function(_0x53baec,_0x426a88,_0x95c92f,_0xe5e100){return _0x53baec(_0x426a88,_0x95c92f,_0xe5e100);},'XXDQi':_0x350ff8(0xba),'oFDEp':_0x350ff8(0x146),'aOpGz':_0x350ff8(0xe0),'YJpaB':_0x350ff8(0x85),'birQx':_0x350ff8(0xf8),'IrAHX':'--disable-browserstack-automation','KuEIM':function(_0x9ab6d2,_0x47237f){return _0x9ab6d2!=_0x47237f;},'slTlj':'cjs','FnPRM':_0x350ff8(0xe6),'GTbSq':'test','XtEjS':'rerunTests','utEvE':function(_0x41f328,_0xf93235){return _0x41f328(_0xf93235);},'JmNOC':function(_0x2d9a7a,_0x51ea6f,_0x42a108){return _0x2d9a7a(_0x51ea6f,_0x42a108);},'OuflT':'files','GRhfN':_0x350ff8(0x7b),'lZOTo':_0x350ff8(0xd3),'GKPSW':function(_0x106ef9,_0xa2c6ff){return _0x106ef9*_0xa2c6ff;},'viSKa':function(_0x5597af,_0x3c007b){return _0x5597af!==_0x3c007b;}};process[_0x350ff8(0xbb)][_0x350ff8(0xa4)](_0x1a9497[_0x350ff8(0x100)])&&(process[_0x350ff8(0x139)]['BROWSERSTACK_TEST_OBSERVABILITY']=![]);process[_0x350ff8(0xbb)][_0x350ff8(0xa4)](_0x1a9497[_0x350ff8(0xfe)])&&(process[_0x350ff8(0x139)]['BROWSERSTACK_AUTOMATION']=![]);const _0x1a8eab=new BrowserStackSetup(_0x46472f,_0x1a9497['YJpaB']);helper['isBrowserstackInfra']()?(await _0x1a8eab[_0x350ff8(0x97)](),await helper[_0x350ff8(0x11b)](_0x1a8eab['config'])):await _0x1a8eab[_0x350ff8(0x71)]();const _0x369069=[];let _0x45f8ee=[];if(!_0x1a8eab[_0x350ff8(0x82)])return;_0x1a9497[_0x350ff8(0xd5)](_0x1a8eab[_0x350ff8(0x82)][_0x350ff8(0x134)],null)&&(process[_0x350ff8(0x139)][_0x350ff8(0x9d)]=_0x1a8eab['config'][_0x350ff8(0x134)]);!helper['isUndefined'](_0x1a8eab[_0x350ff8(0x82)][_0x350ff8(0x12e)])&&(process[_0x350ff8(0x139)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x1a8eab[_0x350ff8(0x82)][_0x350ff8(0x12e)]);!helper[_0x350ff8(0xf2)](_0x1a8eab[_0x350ff8(0x82)][_0x350ff8(0x14c)])&&(process[_0x350ff8(0x139)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x350ff8(0x6e)](_0x1a8eab['config'][_0x350ff8(0x14c)]));const {extension:extension=['js',_0x1a9497[_0x350ff8(0xa1)],_0x1a9497[_0x350ff8(0xda)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x1a9497[_0x350ff8(0xfb)]]}=_0x46472f,_0x1c0877={..._0x46472f};_0x1c0877[_0x350ff8(0x105)]=null;const _0x4b2cb1=_0x1c0877;let _0x50d8d8;if(testOpsHelper[_0x350ff8(0x88)]()&&testOpsHelper[_0x350ff8(0x72)]()){let _0xfee4df=process[_0x350ff8(0x139)]['BROWSERSTACK_RERUN_TESTS'];!helper[_0x350ff8(0xf2)](_0x1a8eab[_0x350ff8(0x83)])&&_0x1a8eab[_0x350ff8(0x83)][_0x350ff8(0x12a)](_0x1a9497['XtEjS'])&&(_0xfee4df=_0x1a8eab[_0x350ff8(0x83)][_0x350ff8(0x8d)](_0x1a9497['XtEjS'])),_0x50d8d8=testOpsHelper['parseFileNames'](_0xfee4df);}if(helper[_0x350ff8(0xf2)](_0x50d8d8)){const _0x5f5107={};_0x5f5107[_0x350ff8(0xe4)]=ignore,_0x5f5107[_0x350ff8(0xb8)]=extension,_0x5f5107[_0x350ff8(0xce)]=file,_0x5f5107[_0x350ff8(0xe2)]=recursive,_0x5f5107['sort']=sort,_0x5f5107[_0x350ff8(0x15d)]=spec,_0x50d8d8=_0x1a9497['utEvE'](collectFiles,_0x5f5107),_0x1a9497[_0x350ff8(0xb4)](nestedKeyValue,_0x50d8d8,[_0x1a9497[_0x350ff8(0xe5)]])&&(_0x50d8d8=_0x50d8d8[_0x350ff8(0x133)]);}helper[_0x350ff8(0x93)]();if(!helper['isBrowserstackInfra']()){const _0x4f9e56=0x1,_0x363725={..._0x4b2cb1};_0x363725['spec']=[..._0x50d8d8],_0x369069[_0x350ff8(0x144)]({'mochaOpts':_0x363725,'configuration':{'platform':os[_0x350ff8(0x113)]()}}),logger['info'](_0x1a9497[_0x350ff8(0x163)]),logger[_0x350ff8(0xff)](_0x1a9497[_0x350ff8(0xf7)]),_0x1a9497[_0x350ff8(0xbd)](parallelTestRun,_0x369069,_0x4f9e56,_0x1a8eab)[_0x350ff8(0x70)](_0x1020d7=>{const _0x28c91c=_0x350ff8;_0x1a9497[_0x28c91c(0xbd)](printStats,_0x1020d7,_0x46472f[_0x28c91c(0xab)],_0x46472f[_0x28c91c(0x11a)]||_0x46472f[_0x1a9497[_0x28c91c(0x131)]]);})[_0x350ff8(0xe9)](()=>{const _0x2bc6c6=_0x350ff8;try{const {browserstackFolderPath:_0x206368,tcgConfigPath:_0x572c89}=helper[_0x2bc6c6(0xac)]();fs[_0x2bc6c6(0xd4)](_0x572c89),fs['rmdirSync'](_0x206368);}catch(_0x55ff77){logger['debug'](_0x1a9497[_0x2bc6c6(0xa0)],_0x55ff77);}try{utilities[_0x2bc6c6(0x75)](_0x1a9497[_0x2bc6c6(0x11c)],{},_0x1a8eab[_0x2bc6c6(0x82)],_0x1a8eab['framework']);}catch(_0x179532){logger[_0x2bc6c6(0x130)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x179532);}try{helper[_0x2bc6c6(0x9b)]();}catch(_0x4b34b6){logger[_0x2bc6c6(0x130)]('Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20'+_0x4b34b6);}testOpsHelper[_0x2bc6c6(0x162)]();});}else{const _0x2f1be4=helper[_0x350ff8(0x103)](_0x1a8eab['config']);let _0x242869=helper[_0x350ff8(0xb0)](_0x1a8eab[_0x350ff8(0x82)]);_0x45f8ee=helper[_0x350ff8(0x86)](_0x1a8eab['config'],_0x2f1be4,constants[_0x350ff8(0x13a)][_0x350ff8(0x15a)]);process['env'][_0x350ff8(0xd2)]&&(_0x242869=centralScannerConstants[_0x350ff8(0x6d)]);let _0x17ce8b;const _0x32c9b0=_0x1a8eab[_0x350ff8(0x82)]['parallelsPerPlatform']||helper[_0x350ff8(0x120)](_0x46472f,_0x38dbfc,_0x1a8eab['config'],constants[_0x350ff8(0x13a)]['MOCHA'])||0x1;helper[_0x350ff8(0xd0)](_0x1a8eab['config'])?_0x17ce8b=_0x1a9497[_0x350ff8(0x73)](_0x1a8eab[_0x350ff8(0x82)][_0x350ff8(0xb1)][_0x350ff8(0x79)],_0x32c9b0):_0x17ce8b=_0x32c9b0;const _0x4fb1d2=_0x1a9497[_0x350ff8(0x77)](getPercyOptions,_0x1a8eab[_0x350ff8(0x82)]);if(_0x1a9497[_0x350ff8(0xd9)](_0x1a8eab[_0x350ff8(0x82)][_0x350ff8(0x101)],0x1))_0x50d8d8['forEach'](_0x286196=>{const _0x374910=_0x350ff8,_0x2a75bf=[];_0x45f8ee[_0x374910(0x132)]((_0x5aa384,_0x522a65)=>{const _0xb61547=_0x374910,_0x58092a={};_0x58092a[_0xb61547(0x15d)]=[_0x286196],_0x2a75bf[_0xb61547(0x144)]({'mochaOpts':Object[_0xb61547(0x129)]({},_0x4b2cb1,_0x58092a),'configuration':{'server':_0x242869,'capability':_0x5aa384,'proxySettings':_0x1a8eab[_0xb61547(0x82)][_0xb61547(0x74)],'platform':helper['getPlatformName'](_0x5aa384),'browserStackLogLevel':_0x1a8eab[_0xb61547(0x82)][_0xb61547(0xc5)],'platformIndex':_0x522a65,'browserStackPercyOptions':_0x4fb1d2,'platformCaps':_0x1a8eab[_0xb61547(0x82)][_0xb61547(0xb1)][_0x522a65]}});}),_0x369069[_0x374910(0x144)](..._0x2a75bf);});else{const _0x15188b=[];_0x45f8ee['forEach']((_0x37c3b2,_0x56c0cb)=>{const _0x114bda=_0x350ff8;let _0x59546b=Object[_0x114bda(0x129)]({},_0x4b2cb1);testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x114bda(0x72)]()&&(_0x59546b={..._0x59546b,'spec':[..._0x50d8d8]}),_0x15188b[_0x114bda(0x144)]({'mochaOpts':_0x59546b,'configuration':{'server':_0x242869,'capability':_0x37c3b2,'proxySettings':_0x1a8eab[_0x114bda(0x82)][_0x114bda(0x74)],'platform':helper[_0x114bda(0x137)](_0x37c3b2),'browserStackLogLevel':_0x1a8eab['config'][_0x114bda(0xc5)],'platformIndex':_0x56c0cb,'browserStackPercyOptions':_0x4fb1d2,'platformCaps':_0x1a8eab['config'][_0x114bda(0xb1)][_0x56c0cb]}});}),_0x369069['push'](..._0x15188b);}logger[_0x350ff8(0xff)](_0x350ff8(0x125)+_0x1a8eab[_0x350ff8(0x82)]['platforms'][_0x350ff8(0x79)]+'\x20platforms'),logger[_0x350ff8(0xff)](_0x1a9497['lZOTo']);let _0x529b7c;_0x1a9497['JXwqG'](parallelTestRun,_0x369069,_0x17ce8b,_0x1a8eab)[_0x350ff8(0x70)](_0x5d8bc6=>{const _0x345b18=_0x350ff8;_0x529b7c=_0x5d8bc6,_0x1a9497['JXwqG'](printStats,_0x5d8bc6,_0x46472f['reporter'],_0x46472f[_0x345b18(0x11a)]||_0x46472f[_0x1a9497[_0x345b18(0x131)]]);})['finally'](async()=>{const _0x49b4e6=_0x350ff8;_0x1a8eab[_0x49b4e6(0xa8)]=helper[_0x49b4e6(0x107)](_0x529b7c,_0x1a9497[_0x49b4e6(0xd1)]),await utilities['finalExecution'](_0x1a8eab),testOpsHelper[_0x49b4e6(0x162)]();});}}module[a28_0x13992e(0xf1)]=run;
2
+ 'use strict';const a28_0x2aa3fe=a28_0x5afa;(function(_0x439f85,_0x1b5c29){const _0x53c2a4=a28_0x5afa,_0x5b765e=_0x439f85();while(!![]){try{const _0x4bedbc=-parseInt(_0x53c2a4(0xd0))/0x1+-parseInt(_0x53c2a4(0xc3))/0x2*(parseInt(_0x53c2a4(0x157))/0x3)+parseInt(_0x53c2a4(0x13a))/0x4+parseInt(_0x53c2a4(0x14a))/0x5+-parseInt(_0x53c2a4(0x137))/0x6*(-parseInt(_0x53c2a4(0x158))/0x7)+parseInt(_0x53c2a4(0xbc))/0x8*(parseInt(_0x53c2a4(0xc6))/0x9)+parseInt(_0x53c2a4(0x188))/0xa;if(_0x4bedbc===_0x1b5c29)break;else _0x5b765e['push'](_0x5b765e['shift']());}catch(_0x25c18f){_0x5b765e['push'](_0x5b765e['shift']());}}}(a28_0x2d84,0x47219));function a28_0x2d84(){const _0xdbfab0=['STODl','testsFailed','6834750ZFSGCQ','yellow','env','duration','jqZYV','fRPFX','fireFunnelTestEvent','jZVpa','join','KcweO','SCbre','failed','BROWSERSTACK_GRR_US_HUB_URL','validPlatformsPresent','BROWSERSTACK_CENTRAL_USER','getTCGConfigFilePaths','handleApp','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','****\x20FAILURES\x20****','passes','rmdirSync','../../helpers/logger','Couldn\x27t\x20write\x20json\x20result\x20to','oatkN','Running\x20your\x20mocha\x20tests','recursive','currentRetry','bgBlueBright','mocha/lib/cli/collect-files.js','Listing\x20all\x20the\x20failures','passed','reporter','extension','SYzCS','exports','QeFrx','min','BROWSERSTACK_TEST_ACCESSIBILITY_YML','bgRedBright','SDKTestSuccessful','log','length','accessibility','test','WklqQ','KUvIS','Now,\x20showing\x20logs\x20from\x20mocha','../../helpers/helper','cliConfig','VQJcO','261672lSyefT','accessibilityOptions','framework','mmMBa','hZYbg','KnlDj','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','6RIJZHw','../../helpers/percy/utils','doc','27KfElAl','rootHooks','totalTests','tavjZ','includes','UeyUb','fullTitle','WPSuf','stats','eugen','390003HqVdKu','kzeLT','isPending','uSxmv','zEwNX','VlVfv','then','fXCKh','OTyUo','printBuildLink','list','--disable-test-observability','LtedV','testsPassed','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','ctAbX','testSuites','usYNc','vNuZK','zCBgb','failure','has','pending','\x20passed','Writing\x20json\x20result\x20to\x20file','yCUGY','ZExxh','XKlFf','Lnhgs','parseFileNames','finalExecution','output','getUserWorkerCount','../utils/constants','spec','qgHuL','object','get','speed','LtvpH','KUBSN','consoleLog','size','showDiff','bIiZD','testObservability','heUUg','setupTCGAuth','UiIox','errorMessage','SHstf','Printing\x20stats\x20of\x20tests','file','JNPXk','XPsGz','parallelsPerPlatform','../../helpers/test-observability/utils','KdJwq','wEOJe','wLXUo','\x20total','testcase','AwVTN','GzZcf','../../helpers/BrowserStackSetup','aMYPz','hrZKk','debug','keys','call','reporterOptions','Setting\x20non\x20exit\x20code\x20for\x20failures','BROWSERSTACK_TEST_OBSERVABILITY','getHubUrl','gWXJb','cjs','LbHyt','vNonG','eWNWI','JAOZk','xIjjd','wNyex','EhEPk','PavbN','oSSdR','isBrowserstackInfra','IhJRN','CAzWm','mocha/lib/reporters/base.js','green','JvpyQ','Boxxv','tdlqm','notifyUpdate','hyBiR','BROWSERSTACK_TEST_OBSERVABILITY_YML','ignore','assign','rKeyJ','JrXcF','stack','results','wDxMR','949206yTNaMc','bold','Running\x20your\x20mocha\x20tests\x20across\x20','158836ecHuEC','Writing\x20xunit\x20result\x20to\x20file','push','shouldReRunObservabilityTests','platforms','prepareCapabilities','xunit','rPodP','FRAMEWORKS','stringify','Eoyhj','titlePath','platform','../../helpers/central-scanner/constants','VAJxX','logLevel','53695xpnXXt','getPlatformName','ihhrm','Total\x20Platforms:\x20','mocha','CZqOc','rerunTests','../../helpers/utilities','yRTYE','isUndefined','finally','XsBCk','QpGCN','308895hQlvKT','7EvNgqu','riAYE','xsXXu','nlDBn','jxYWj','awQVA','FOIyx','title','eVsYT','testsPending','sUATZ','red','error','generateDiff','expected','skipped','info','winstonLogger','rAZTr','dmlkA','writeFileSync','hideDiff','suite','proxySettings','hasOwnProperty','wArwD','getErrorMessageFromResults','KEdBm','RITnb','files','state','mvIBh','forEach','message','mEwpk','vBPFe','isTestObservabilitySession','mjs','ZDOGJ','testsuite','geUIa','chalk','BigsH','titlePathV','config','mATzA'];a28_0x2d84=function(){return _0xdbfab0;};return a28_0x2d84();}function a28_0x5afa(_0xb445ad,_0x440498){const _0x2d84ea=a28_0x2d84();return a28_0x5afa=function(_0x5afaf6,_0x39edbe){_0x5afaf6=_0x5afaf6-0xb6;let _0x5d916a=_0x2d84ea[_0x5afaf6];return _0x5d916a;},a28_0x5afa(_0xb445ad,_0x440498);}const chalk=require(a28_0x2aa3fe(0x181)),logger=require(a28_0x2aa3fe(0x19d))[a28_0x2aa3fe(0x169)],{default:BrowserStackSetup}=require(a28_0x2aa3fe(0x110)),helper=require(a28_0x2aa3fe(0xb9)),utilities=require(a28_0x2aa3fe(0x151)),testOpsHelper=require(a28_0x2aa3fe(0x108)),fs=require('fs'),os=require('os'),{parallelTestRun}=require('../test-runner'),{requireModule,nestedKeyValue}=require(a28_0x2aa3fe(0xb9)),{getPercyOptions}=require(a28_0x2aa3fe(0xc4)),Base=requireModule(a28_0x2aa3fe(0x128),'mocha'),collectFiles=requireModule(a28_0x2aa3fe(0x1a4),a28_0x2aa3fe(0x14e)),constants=require(a28_0x2aa3fe(0xf1)),centralScannerConstants=require(a28_0x2aa3fe(0x147));function tag(_0x33f60f,_0x4add33,_0x134d71,_0x1e962f){const _0x2d9f58=a28_0x2aa3fe,_0x1b3d5e={'zCBgb':function(_0xc975d1,_0xcc98c3){return _0xc975d1+_0xcc98c3;},'bIiZD':function(_0x6406d2,_0x540217){return _0x6406d2+_0x540217;},'QpGCN':function(_0x3d9687,_0x3b4ec3){return _0x3d9687+_0x3b4ec3;},'UiIox':function(_0x1aef06,_0x3b0b2b){return _0x1aef06(_0x3b0b2b);},'kwTJf':function(_0x42333c,_0x2e5ecd){return _0x42333c+_0x2e5ecd;},'wNyex':function(_0x43d2cf,_0x26091b){return _0x43d2cf+_0x26091b;},'dmlkA':function(_0x3cdb40,_0x212a54){return _0x3cdb40+_0x212a54;}},_0x4be9fb=_0x134d71?'/>':'>',_0x5a18fb=[];let _0x213660;for(const _0x230941 in _0x4add33){Object['prototype'][_0x2d9f58(0x170)][_0x2d9f58(0x115)](_0x4add33,_0x230941)&&_0x5a18fb[_0x2d9f58(0x13c)](_0x1b3d5e[_0x2d9f58(0xe3)](_0x1b3d5e['bIiZD'](_0x1b3d5e['QpGCN'](_0x230941,'=\x22'),_0x1b3d5e[_0x2d9f58(0x100)](escape,_0x4add33[_0x230941])),'\x22'));}return _0x213660=_0x1b3d5e[_0x2d9f58(0x156)](_0x1b3d5e['QpGCN'](_0x1b3d5e['kwTJf']('<',_0x33f60f),_0x5a18fb[_0x2d9f58(0x1b1)]?_0x1b3d5e[_0x2d9f58(0xfc)]('\x20',_0x5a18fb[_0x2d9f58(0x190)]('\x20')):''),_0x4be9fb),_0x1e962f&&(_0x213660+=_0x1b3d5e[_0x2d9f58(0xe3)](_0x1b3d5e[_0x2d9f58(0x121)](_0x1b3d5e[_0x2d9f58(0x16b)](_0x1e962f,'</'),_0x33f60f),_0x4be9fb)),_0x213660;}let xunitContent='';function xunitWrite(_0x39ea32){xunitContent+=_0x39ea32;}function xunitTest(_0x341a16,_0x19ba19){const _0x3fdf0f=a28_0x2aa3fe,_0x2a8a1b={'fXCKh':function(_0x2c54f5,_0x167c85){return _0x2c54f5/_0x167c85;},'jxYWj':function(_0x21cc15,_0x3ed5d5){return _0x21cc15===_0x3ed5d5;},'hZYbg':_0x3fdf0f(0x193),'JFHzr':function(_0x4b98e7,_0x211d34){return _0x4b98e7+_0x211d34;},'tavjZ':function(_0x286286,_0x20184f){return _0x286286(_0x20184f);},'XKlFf':function(_0x4d857b,_0x280a6b,_0x5bc0e4,_0xcfa0ff,_0x3a986d){return _0x4d857b(_0x280a6b,_0x5bc0e4,_0xcfa0ff,_0x3a986d);},'XPsGz':_0x3fdf0f(0x10d),'AwVTN':function(_0x359b26,_0x43abb2,_0x5f3f8e,_0x19a892,_0x35b045){return _0x359b26(_0x43abb2,_0x5f3f8e,_0x19a892,_0x35b045);},'yCUGY':_0x3fdf0f(0xe4),'riAYE':function(_0x30f4b5,_0x34fae7){return _0x30f4b5+_0x34fae7;},'Eoyhj':function(_0x414e00,_0x112eea){return _0x414e00(_0x112eea);},'xIjjd':function(_0x1f9fe1,_0x4fdba0,_0x34dd26,_0x265d07,_0x3b3e2f){return _0x1f9fe1(_0x4fdba0,_0x34dd26,_0x265d07,_0x3b3e2f);},'VQJcO':function(_0x122e54,_0x185690,_0x5f2b00,_0x319a25){return _0x122e54(_0x185690,_0x5f2b00,_0x319a25);},'EhEPk':_0x3fdf0f(0x167),'gWXJb':function(_0x65386d,_0x3c44ce){return _0x65386d(_0x3c44ce);},'VlVfv':function(_0x239de1,_0x5c7b74,_0x1bbd21,_0x5da4e8){return _0x239de1(_0x5c7b74,_0x1bbd21,_0x5da4e8);}};Base['useColors']=![];var _0x24c034={'classname':_0x341a16[_0x3fdf0f(0xcc)],'name':_0x341a16[_0x3fdf0f(0x15f)],'time':_0x2a8a1b[_0x3fdf0f(0xd7)](_0x341a16[_0x3fdf0f(0x18b)],0x3e8)||0x0,'platform':_0x19ba19};if(_0x2a8a1b[_0x3fdf0f(0x15c)](_0x341a16['state'],_0x2a8a1b[_0x3fdf0f(0xc0)])){var _0x5c6bbb=_0x341a16['err'],_0x61a4c1=!Base[_0x3fdf0f(0x16d)]&&Base[_0x3fdf0f(0xfb)](_0x5c6bbb)?_0x2a8a1b['JFHzr']('\x0a',Base[_0x3fdf0f(0x165)](_0x5c6bbb['actual'],_0x5c6bbb[_0x3fdf0f(0x166)])):'';_0x2a8a1b['tavjZ'](xunitWrite,_0x2a8a1b[_0x3fdf0f(0xeb)](tag,_0x2a8a1b[_0x3fdf0f(0x106)],_0x24c034,![],_0x2a8a1b[_0x3fdf0f(0x10e)](tag,_0x2a8a1b[_0x3fdf0f(0xe9)],{},![],_0x2a8a1b['JFHzr'](_0x2a8a1b[_0x3fdf0f(0x159)](_0x2a8a1b[_0x3fdf0f(0x159)](_0x2a8a1b['Eoyhj'](escape,_0x5c6bbb[_0x3fdf0f(0x179)]),_0x2a8a1b[_0x3fdf0f(0x144)](escape,_0x61a4c1)),'\x0a'),_0x2a8a1b[_0x3fdf0f(0xc9)](escape,_0x5c6bbb[_0x3fdf0f(0x134)])))));}else _0x341a16[_0x3fdf0f(0xd2)]?_0x2a8a1b['Eoyhj'](xunitWrite,_0x2a8a1b[_0x3fdf0f(0x120)](tag,_0x2a8a1b[_0x3fdf0f(0x106)],_0x24c034,![],_0x2a8a1b[_0x3fdf0f(0xbb)](tag,_0x2a8a1b[_0x3fdf0f(0x122)],{},!![]))):_0x2a8a1b[_0x3fdf0f(0x11a)](xunitWrite,_0x2a8a1b[_0x3fdf0f(0xd5)](tag,_0x2a8a1b['XPsGz'],_0x24c034,!![]));};function getStats(_0x98bdd8){const _0x7d7bff=a28_0x2aa3fe,_0x4bc5b3={};_0x4bc5b3['QzsgC']=_0x7d7bff(0x16e),_0x4bc5b3[_0x7d7bff(0x136)]='passed',_0x4bc5b3[_0x7d7bff(0x12e)]='failed',_0x4bc5b3[_0x7d7bff(0x12b)]=_0x7d7bff(0x135);const _0x36f322=_0x4bc5b3,_0xdfe417=Object[_0x7d7bff(0x114)](_0x98bdd8);let _0x466c59=0x0,_0x419a17=0x0,_0x55fbd8=0x0,_0x281409=0x0;const _0x387468=new Set();_0xdfe417[_0x7d7bff(0x178)](_0x43629c=>{const _0x3625b0=_0x7d7bff,_0x5af140={};_0x5af140[_0x3625b0(0x191)]=_0x36f322['QzsgC'],_0x5af140['xsXXu']=_0x36f322[_0x3625b0(0x136)],_0x5af140[_0x3625b0(0xe1)]=_0x36f322['hyBiR'];const _0x3c65ce=_0x5af140;_0x98bdd8[_0x43629c][_0x36f322[_0x3625b0(0x12b)]][_0x3625b0(0x178)](_0x171aa4=>{const _0x32e980=_0x3625b0;_0x387468['add'](_0x171aa4[_0x3c65ce['KcweO']]),_0x466c59++;switch(_0x171aa4['state']){case _0x3c65ce[_0x32e980(0x15a)]:_0x55fbd8++;break;case _0x3c65ce[_0x32e980(0xe1)]:_0x419a17++;break;default:_0x281409++;}});});const _0x4b3df4={};return _0x4b3df4[_0x7d7bff(0xe0)]=_0x387468[_0x7d7bff(0xfa)],_0x4b3df4[_0x7d7bff(0x13e)]=_0xdfe417,_0x4b3df4[_0x7d7bff(0xc8)]=_0x466c59,_0x4b3df4[_0x7d7bff(0x187)]=_0x419a17,_0x4b3df4['testsPassed']=_0x55fbd8,_0x4b3df4['testsPending']=_0x281409,_0x4b3df4;}function errorJSON(_0x59ec4d){var _0x58d2fc={};return Object['getOwnPropertyNames'](_0x59ec4d)['forEach'](function(_0x270c1b){_0x58d2fc[_0x270c1b]=_0x59ec4d[_0x270c1b];},_0x59ec4d),_0x58d2fc;}function cleanCycles(_0x1649b2){const _0x46c507=a28_0x2aa3fe,_0x1eec37={};_0x1eec37['axzTF']=function(_0x432cec,_0x413790){return _0x432cec===_0x413790;},_0x1eec37['JrXcF']=_0x46c507(0xf4),_0x1eec37[_0x46c507(0xcb)]=function(_0x1f42c2,_0x5789b8){return _0x1f42c2!==_0x5789b8;},_0x1eec37['aOGWF']=function(_0xb5234a,_0x10953e){return _0xb5234a+_0x10953e;};const _0xe22f5f=_0x1eec37;var _0x3a3ac6=[];return JSON['parse'](JSON[_0x46c507(0x143)](_0x1649b2,function(_0x1837ca,_0x1a7886){const _0x5b2b1d=_0x46c507;if(_0xe22f5f['axzTF'](typeof _0x1a7886,_0xe22f5f[_0x5b2b1d(0x133)])&&_0xe22f5f[_0x5b2b1d(0xcb)](_0x1a7886,null)){if(_0xe22f5f['UeyUb'](_0x3a3ac6['indexOf'](_0x1a7886),-0x1))return _0xe22f5f['aOGWF']('',_0x1a7886);_0x3a3ac6['push'](_0x1a7886);}return _0x1a7886;}));}function clean(_0x47be5c){const _0x1e56d8=a28_0x2aa3fe,_0x3155fe={'zEwNX':function(_0x54273a,_0x3da2aa){return _0x54273a instanceof _0x3da2aa;},'qCnHw':function(_0x3f9265,_0x3aad18){return _0x3f9265(_0x3aad18);},'aMYPz':function(_0x5c62e1,_0x30fdf0){return _0x5c62e1(_0x30fdf0);}};var _0x4debdd=_0x47be5c['err']||{};return _0x3155fe[_0x1e56d8(0xd4)](_0x4debdd,Error)&&(_0x4debdd=_0x3155fe['qCnHw'](errorJSON,_0x4debdd)),{'title':_0x47be5c[_0x1e56d8(0x15f)],'fullTitle':_0x47be5c[_0x1e56d8(0xcc)],'file':_0x47be5c[_0x1e56d8(0x104)],'duration':_0x47be5c[_0x1e56d8(0x18b)],'currentRetry':_0x47be5c[_0x1e56d8(0x1a2)],'speed':_0x47be5c[_0x1e56d8(0xf6)],'err':_0x3155fe[_0x1e56d8(0x111)](cleanCycles,_0x4debdd)};}function printStats(_0x2ea955,_0x6654bc=a28_0x2aa3fe(0xf2),_0x5e01ba={}){const _0x4e2ff7=a28_0x2aa3fe,_0x99a39c={'STODl':function(_0x4a0a69,_0xa07303){return _0x4a0a69(_0xa07303);},'KnlDj':function(_0x104f54,_0x4847d1){return _0x104f54===_0x4847d1;},'sUATZ':_0x4e2ff7(0x1a6),'rAZTr':_0x4e2ff7(0x19b),'LbHyt':_0x4e2ff7(0x193),'tdlqm':'failures','jIrqb':_0x4e2ff7(0xe6),'fRPFX':_0x4e2ff7(0x135),'vNuZK':function(_0x13f992,_0x2ad327){return _0x13f992===_0x2ad327;},'HVdQp':function(_0x11dacc,_0x340546){return _0x11dacc*_0x340546;},'IhJRN':function(_0x3b049e,_0x45313d,_0x174ba8){return _0x3b049e(_0x45313d,_0x174ba8);},'FOIyx':function(_0x4ae6cb,_0x4d50fd){return _0x4ae6cb===_0x4d50fd;},'mEwpk':function(_0x5a8033,_0xf79a6c){return _0x5a8033>_0xf79a6c;},'heUUg':function(_0x494395){return _0x494395();},'jqZYV':_0x4e2ff7(0xc5),'LifmO':function(_0x4497d0,_0x2c8379){return _0x4497d0(_0x2c8379);},'oSSdR':function(_0x2f3909,_0x9cb86e){return _0x2f3909>_0x9cb86e;},'EVdmm':_0x4e2ff7(0x117),'RrOnU':_0x4e2ff7(0x103),'wArwD':function(_0x3a9c58,_0x4738f6){return _0x3a9c58+_0x4738f6;},'GzZcf':_0x4e2ff7(0x14d),'SYzCS':'Total\x20Suites:\x20','awQVA':function(_0x307b44,_0x1e009c){return _0x307b44+_0x1e009c;},'XsBCk':function(_0x4d3d31,_0x53a1ef){return _0x4d3d31+_0x53a1ef;},'JvpyQ':'Tests:\x20\x20\x20\x20\x20\x20\x20','wLXUo':function(_0x1aa067,_0x12bb05){return _0x1aa067+_0x12bb05;},'hVThA':function(_0xddf7,_0xc5245e){return _0xddf7+_0xc5245e;},'lbBsU':function(_0x55f8e7,_0x588c82){return _0x55f8e7+_0x588c82;},'BigsH':function(_0x553634,_0x1bf2dd){return _0x553634+_0x1bf2dd;},'kzeLT':'\x0a\x0a\x0a','eWNWI':'json','gpqRq':_0x4e2ff7(0xe8),'PavbN':_0x4e2ff7(0x19e),'vBPFe':_0x4e2ff7(0xc2),'mmMBa':_0x4e2ff7(0x140),'WPSuf':'Mocha\x20Tests','jZVpa':function(_0x5e8154,_0x2f09c8){return _0x5e8154||_0x2f09c8;},'eugen':function(_0x11d94e,_0x28ceb6,_0x231381,_0x4ccdc0){return _0x11d94e(_0x28ceb6,_0x231381,_0x4ccdc0);},'JNPXk':_0x4e2ff7(0x17f),'yRTYE':function(_0x5c1080,_0x570db5){return _0x5c1080-_0x570db5;},'ihhrm':function(_0x4ce746,_0x19b41c){return _0x4ce746/_0x19b41c;},'eVsYT':function(_0x4664b0,_0x495e1f){return _0x4664b0(_0x495e1f);},'CZqOc':'</testsuite>','mATzA':_0x4e2ff7(0x13b),'JAOZk':'Couldn\x27t\x20write\x20xunit\x20result\x20to','SHstf':_0x4e2ff7(0xde),'ctAbX':function(_0x2cddc4,_0x1ed440){return _0x2cddc4===_0x1ed440;},'SgtcA':_0x4e2ff7(0x1a5),'WklqQ':_0x4e2ff7(0x19a)};if(_0x99a39c['vNuZK'](_0x6654bc,_0x99a39c[_0x4e2ff7(0x18c)]))return;const _0x14f605=0x0,_0x5d163a=()=>{const _0x55e413=_0x4e2ff7;return _0x99a39c[_0x55e413(0x186)](Array,_0x14f605)[_0x55e413(0x190)]('\x20\x20');},{testSuites:_0x1feba1,platforms:_0x470438,totalTests:_0xb6af0c,testsFailed:_0x405b3a,testsPassed:_0x412cc2,testsPending:_0x4745d2}=_0x99a39c['LifmO'](getStats,_0x2ea955);_0x99a39c[_0x4e2ff7(0x124)](_0x405b3a,0x0)&&(logger['debug'](_0x99a39c['EVdmm']),process['exitCode']=Math[_0x4e2ff7(0x1ac)](_0x405b3a,0xff));logger[_0x4e2ff7(0x113)](_0x99a39c['RrOnU']);const _0x32f67c=''+_0x99a39c[_0x4e2ff7(0x171)](chalk['bold'](_0x99a39c[_0x4e2ff7(0x10f)]),_0x470438[_0x4e2ff7(0x1b1)]),_0x3afc02=''+_0x99a39c['wArwD'](chalk['bold'](_0x99a39c[_0x4e2ff7(0x1a9)]),_0x1feba1),_0x4dcfcc=''+_0x99a39c[_0x4e2ff7(0x15d)](_0x99a39c[_0x4e2ff7(0x155)](_0x99a39c[_0x4e2ff7(0x15d)](chalk[_0x4e2ff7(0x138)](_0x99a39c[_0x4e2ff7(0x12a)]),_0x99a39c[_0x4e2ff7(0x124)](_0x405b3a,0x0)?chalk['bold'][_0x4e2ff7(0x163)](_0x405b3a+'\x20failed')+',\x20':''),_0x99a39c[_0x4e2ff7(0x17a)](_0x4745d2,0x0)?chalk[_0x4e2ff7(0x138)][_0x4e2ff7(0x189)](_0x4745d2+'\x20skipped')+',\x20':''),_0x99a39c[_0x4e2ff7(0x124)](_0x412cc2,0x0)?chalk[_0x4e2ff7(0x138)][_0x4e2ff7(0x129)](_0x412cc2+_0x4e2ff7(0xe7))+',\x20':'')+_0xb6af0c+_0x4e2ff7(0x10c);console['log'](_0x99a39c[_0x4e2ff7(0x10b)](_0x99a39c['hVThA'](_0x99a39c['lbBsU'](_0x99a39c[_0x4e2ff7(0x15d)](_0x99a39c[_0x4e2ff7(0x182)](_0x99a39c[_0x4e2ff7(0xd1)],_0x32f67c),'\x0a'),_0x3afc02),'\x0a'),_0x4dcfcc));if(_0x99a39c[_0x4e2ff7(0xe2)](_0x6654bc,_0x99a39c[_0x4e2ff7(0x11e)])){const _0x2cbeb0={},_0x3285e8={};_0x3285e8[_0x4e2ff7(0xe0)]=_0x1feba1,_0x3285e8[_0x4e2ff7(0x13e)]=_0x470438,_0x3285e8[_0x4e2ff7(0x187)]=_0x405b3a,_0x3285e8[_0x4e2ff7(0xdd)]=_0x412cc2,_0x3285e8[_0x4e2ff7(0x161)]=_0x4745d2,_0x2cbeb0[_0x4e2ff7(0xce)]=_0x3285e8,_0x470438[_0x4e2ff7(0x178)](_0x4c0899=>{const _0x28ffcb=_0x4e2ff7,_0x3d1012={'wEOJe':function(_0x33c885,_0x5d3f3a){const _0x23f79a=a28_0x5afa;return _0x99a39c[_0x23f79a(0xc1)](_0x33c885,_0x5d3f3a);},'geUIa':_0x99a39c[_0x28ffcb(0x162)],'rPodP':_0x99a39c[_0x28ffcb(0x16a)],'ZDOGJ':function(_0x30c0b8,_0x37f15c){return _0x99a39c['STODl'](_0x30c0b8,_0x37f15c);},'KUvIS':_0x99a39c[_0x28ffcb(0x11c)],'KEdBm':_0x99a39c[_0x28ffcb(0x12c)],'kwPHA':function(_0x3a4f68,_0x3d3c04){return _0x99a39c['STODl'](_0x3a4f68,_0x3d3c04);},'KdJwq':_0x99a39c['jIrqb']};_0x2cbeb0[_0x4c0899]={'pending':[],'failures':[],'passes':[],'tests':_0x2ea955[_0x4c0899][_0x99a39c['fRPFX']]['map'](clean)},_0x2ea955[_0x4c0899][_0x99a39c[_0x28ffcb(0x18d)]]['forEach'](_0x343639=>{const _0x2d464c=_0x28ffcb;if(_0x3d1012[_0x2d464c(0x10a)](_0x343639['state'],_0x3d1012[_0x2d464c(0x180)]))_0x2cbeb0[_0x4c0899][_0x3d1012[_0x2d464c(0x141)]][_0x2d464c(0x13c)](_0x3d1012['ZDOGJ'](clean,_0x343639));else _0x3d1012[_0x2d464c(0x10a)](_0x343639[_0x2d464c(0x176)],_0x3d1012[_0x2d464c(0xb7)])?_0x2cbeb0[_0x4c0899][_0x3d1012[_0x2d464c(0x173)]][_0x2d464c(0x13c)](_0x3d1012['kwPHA'](clean,_0x343639)):_0x2cbeb0[_0x4c0899][_0x3d1012[_0x2d464c(0x109)]][_0x2d464c(0x13c)](_0x3d1012[_0x2d464c(0x17e)](clean,_0x343639));});});if(_0x5e01ba[_0x4e2ff7(0xef)])try{logger[_0x4e2ff7(0x113)](_0x99a39c['gpqRq'],_0x5e01ba[_0x4e2ff7(0xef)]),fs[_0x4e2ff7(0x16c)](_0x5e01ba['output'],JSON[_0x4e2ff7(0x143)](_0x2cbeb0,null,0x3));}catch(_0x2ff285){logger[_0x4e2ff7(0x164)](_0x99a39c[_0x4e2ff7(0x123)],_0x5e01ba[_0x4e2ff7(0xef)]),logger[_0x4e2ff7(0x113)](_0x2ff285);}else logger['debug'](_0x99a39c[_0x4e2ff7(0x17b)]),console[_0x4e2ff7(0x1b0)](JSON[_0x4e2ff7(0x143)](_0x2cbeb0,null,0x3));}else{if(_0x99a39c[_0x4e2ff7(0xe2)](_0x6654bc,_0x99a39c[_0x4e2ff7(0xbf)])){let _0x23026e;const _0x757011=_0x99a39c[_0x4e2ff7(0xcd)];_0x5e01ba&&(_0x23026e=_0x5e01ba['suiteName']);_0x23026e=_0x99a39c[_0x4e2ff7(0x18f)](_0x23026e,_0x757011);let _0x4e50ff=0x0,_0x5c3190=0x0,_0x12b1d9=0x0,_0x298ce3=0x0;_0x470438['forEach'](_0x11fa65=>{const _0x43ef58=_0x4e2ff7;_0x2ea955[_0x11fa65][_0x99a39c[_0x43ef58(0x18d)]]['forEach'](_0x3e6702=>{const _0xe501f3=_0x43ef58;if(_0x99a39c[_0xe501f3(0xe2)](_0x3e6702['state'],_0x99a39c[_0xe501f3(0x162)]))_0x4e50ff++;else _0x99a39c[_0xe501f3(0xc1)](_0x3e6702[_0xe501f3(0x176)],_0x99a39c[_0xe501f3(0x11c)])&&_0x5c3190++;_0x12b1d9++,_0x298ce3+=_0x99a39c['HVdQp'](_0x3e6702[_0xe501f3(0x18b)],0x1);});}),_0x99a39c['LifmO'](xunitWrite,_0x99a39c[_0x4e2ff7(0xcf)](tag,_0x99a39c[_0x4e2ff7(0x105)],{'name':_0x23026e,'tests':_0x12b1d9,'failures':0x0,'errors':_0x5c3190,'skipped':_0x99a39c[_0x4e2ff7(0x152)](_0x99a39c[_0x4e2ff7(0x152)](_0x12b1d9,_0x5c3190),_0x4e50ff),'timestamp':new Date()['toUTCString'](),'time':_0x99a39c[_0x4e2ff7(0x14c)](_0x298ce3,0x3e8)||0x0},![])),_0x470438['forEach'](_0x5e6539=>{_0x2ea955[_0x5e6539][_0x99a39c['fRPFX']]['forEach'](_0x5bc1eb=>{const _0xd62fb8=a28_0x5afa;_0x99a39c[_0xd62fb8(0x126)](xunitTest,_0x5bc1eb,_0x5e6539);});}),_0x99a39c[_0x4e2ff7(0x160)](xunitWrite,_0x99a39c[_0x4e2ff7(0x14f)]);if(_0x5e01ba[_0x4e2ff7(0xef)])try{logger[_0x4e2ff7(0x113)](_0x99a39c[_0x4e2ff7(0x185)],_0x5e01ba[_0x4e2ff7(0xef)]),fs[_0x4e2ff7(0x16c)](_0x5e01ba['output'],xunitContent);}catch(_0x456ca8){logger[_0x4e2ff7(0x164)](_0x99a39c[_0x4e2ff7(0x11f)],_0x5e01ba[_0x4e2ff7(0xef)]),logger[_0x4e2ff7(0x113)](_0x456ca8);}else logger[_0x4e2ff7(0x113)](_0x99a39c[_0x4e2ff7(0x102)]),console['log'](xunitContent);}else{if(_0x99a39c[_0x4e2ff7(0xdf)](_0x405b3a,0x0))return;console[_0x4e2ff7(0x1b0)](),logger[_0x4e2ff7(0x113)](_0x99a39c['SgtcA']),console[_0x4e2ff7(0x1b0)](chalk[_0x4e2ff7(0x138)][_0x4e2ff7(0x1ae)](_0x99a39c[_0x4e2ff7(0xb6)])),_0x470438[_0x4e2ff7(0x178)](_0x424107=>{const _0x42570c=_0x4e2ff7,_0x51ab53={'QeFrx':function(_0x8d98d6,_0x3bb4ae){const _0x2ee49d=a28_0x5afa;return _0x99a39c[_0x2ee49d(0x15e)](_0x8d98d6,_0x3bb4ae);},'JOCYP':_0x99a39c[_0x42570c(0x11c)]},_0x33664a=[];_0x2ea955[_0x424107][_0x99a39c[_0x42570c(0x18d)]][_0x42570c(0x178)](_0x5c3e39=>{const _0x2e42a8=_0x42570c;_0x51ab53[_0x2e42a8(0x1ab)](_0x5c3e39[_0x2e42a8(0x176)],_0x51ab53['JOCYP'])&&(_0x5c3e39[_0x2e42a8(0x145)]=()=>_0x5c3e39[_0x2e42a8(0x183)],_0x33664a['push'](_0x5c3e39));}),_0x99a39c['mEwpk'](_0x33664a['length'],0x0)&&(Base['consoleLog'](),Base[_0x42570c(0xf9)](_0x99a39c[_0x42570c(0xfe)](_0x5d163a),chalk[_0x42570c(0x138)][_0x42570c(0x1a3)](_0x424107)),Base[_0x42570c(0xda)](_0x33664a));});}}}async function run(_0x19dc20,_0x35a5da){const _0x54337e=a28_0x2aa3fe,_0x3e54b8={'XNOMY':function(_0x2e7768,_0x51bfe4,_0xb42b74,_0x12038b){return _0x2e7768(_0x51bfe4,_0xb42b74,_0x12038b);},'Lnhgs':'reporter-option','LtedV':'error\x20removing\x20tcg\x20config\x20file','hrZKk':_0x54337e(0x1af),'KUBSN':'mocha','DfhJz':_0x54337e(0xdb),'qgHuL':'--disable-browserstack-automation','ZExxh':function(_0xc4df92,_0x4401ba){return _0xc4df92!=_0x4401ba;},'NjFjB':_0x54337e(0x11b),'vNonG':_0x54337e(0x17d),'rKeyJ':_0x54337e(0x1b3),'VAJxX':_0x54337e(0x150),'SCbre':function(_0x495d40,_0x497df9){return _0x495d40(_0x497df9);},'CAzWm':function(_0x4c3d2f,_0xe43d95,_0x434d4b){return _0x4c3d2f(_0xe43d95,_0x434d4b);},'RITnb':_0x54337e(0x175),'oatkN':_0x54337e(0x1a0),'uSxmv':_0x54337e(0xb8),'OTyUo':function(_0x1ab8a3,_0x3d7b36,_0x2af698,_0x197efa){return _0x1ab8a3(_0x3d7b36,_0x2af698,_0x197efa);},'nlDBn':function(_0xfc6752,_0x9200){return _0xfc6752*_0x9200;},'nGWdq':function(_0x49e636,_0x17f657){return _0x49e636(_0x17f657);},'mvIBh':function(_0x2ba066,_0x2fca07){return _0x2ba066!==_0x2fca07;},'LtvpH':function(_0x34657c,_0x3fb09d,_0x593574,_0x47091c){return _0x34657c(_0x3fb09d,_0x593574,_0x47091c);}};process['argv'][_0x54337e(0xca)](_0x3e54b8['DfhJz'])&&(process[_0x54337e(0x18a)][_0x54337e(0x118)]=![]);process['argv']['includes'](_0x3e54b8[_0x54337e(0xf3)])&&(process['env']['BROWSERSTACK_AUTOMATION']=![]);const _0x30e84c=new BrowserStackSetup(_0x19dc20,_0x3e54b8['KUBSN']);helper[_0x54337e(0x125)]()?(await _0x30e84c['initialize'](),await helper[_0x54337e(0x198)](_0x30e84c[_0x54337e(0x184)])):await _0x30e84c[_0x54337e(0xff)]();const _0x55349f=[];let _0x250a9e=[];if(!_0x30e84c[_0x54337e(0x184)])return;_0x3e54b8[_0x54337e(0xea)](_0x30e84c[_0x54337e(0x184)][_0x54337e(0xfd)],null)&&(process[_0x54337e(0x18a)][_0x54337e(0x12f)]=_0x30e84c[_0x54337e(0x184)][_0x54337e(0xfd)]);!helper[_0x54337e(0x153)](_0x30e84c['config'][_0x54337e(0x1b2)])&&(process[_0x54337e(0x18a)][_0x54337e(0x1ad)]=_0x30e84c['config']['accessibility']);!helper[_0x54337e(0x153)](_0x30e84c[_0x54337e(0x184)][_0x54337e(0xbd)])&&(process[_0x54337e(0x18a)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x54337e(0x143)](_0x30e84c['config']['accessibilityOptions']));const {extension:extension=['js',_0x3e54b8['NjFjB'],_0x3e54b8[_0x54337e(0x11d)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x3e54b8[_0x54337e(0x132)]]}=_0x19dc20,_0x1a3f3c={..._0x19dc20};_0x1a3f3c[_0x54337e(0xc7)]=null;const _0x27d59b=_0x1a3f3c;let _0x4e1ed6;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x54337e(0x13d)]()){let _0x431343=process['env']['BROWSERSTACK_RERUN_TESTS'];!helper[_0x54337e(0x153)](_0x30e84c[_0x54337e(0xba)])&&_0x30e84c[_0x54337e(0xba)][_0x54337e(0xe5)](_0x3e54b8['VAJxX'])&&(_0x431343=_0x30e84c[_0x54337e(0xba)][_0x54337e(0xf5)](_0x3e54b8[_0x54337e(0x148)])),_0x4e1ed6=testOpsHelper[_0x54337e(0xed)](_0x431343);}if(helper['isUndefined'](_0x4e1ed6)){const _0x21b4e3={};_0x21b4e3[_0x54337e(0x130)]=ignore,_0x21b4e3[_0x54337e(0x1a8)]=extension,_0x21b4e3[_0x54337e(0x104)]=file,_0x21b4e3[_0x54337e(0x1a1)]=recursive,_0x21b4e3['sort']=sort,_0x21b4e3[_0x54337e(0xf2)]=spec,_0x4e1ed6=_0x3e54b8[_0x54337e(0x192)](collectFiles,_0x21b4e3),_0x3e54b8[_0x54337e(0x127)](nestedKeyValue,_0x4e1ed6,[_0x3e54b8[_0x54337e(0x174)]])&&(_0x4e1ed6=_0x4e1ed6[_0x54337e(0x175)]);}helper['markSDKSetupComplete']();if(!helper[_0x54337e(0x125)]()){const _0x59036c=0x1,_0x5d50fe={..._0x27d59b};_0x5d50fe[_0x54337e(0xf2)]=[..._0x4e1ed6],_0x55349f[_0x54337e(0x13c)]({'mochaOpts':_0x5d50fe,'configuration':{'platform':os[_0x54337e(0x146)]()}}),logger[_0x54337e(0x168)](_0x3e54b8[_0x54337e(0x19f)]),logger['info'](_0x3e54b8[_0x54337e(0xd3)]),_0x3e54b8[_0x54337e(0xd8)](parallelTestRun,_0x55349f,_0x59036c,_0x30e84c)[_0x54337e(0xd6)](_0x19d2bc=>{const _0x1c4dd5=_0x54337e;_0x3e54b8['XNOMY'](printStats,_0x19d2bc,_0x19dc20[_0x1c4dd5(0x1a7)],_0x19dc20[_0x1c4dd5(0x116)]||_0x19dc20[_0x3e54b8[_0x1c4dd5(0xec)]]);})[_0x54337e(0x154)](()=>{const _0x48894e=_0x54337e;try{const {browserstackFolderPath:_0x45af80,tcgConfigPath:_0x394274}=helper[_0x48894e(0x197)]();fs['unlinkSync'](_0x394274),fs[_0x48894e(0x19c)](_0x45af80);}catch(_0x4e1c21){logger[_0x48894e(0x113)](_0x3e54b8[_0x48894e(0xdc)],_0x4e1c21);}try{utilities[_0x48894e(0x18e)](_0x3e54b8[_0x48894e(0x112)],{},_0x30e84c[_0x48894e(0x184)],_0x30e84c[_0x48894e(0xbe)]);}catch(_0x12f278){logger['debug'](_0x48894e(0x199)+_0x12f278);}try{helper[_0x48894e(0x12d)]();}catch(_0x5aed01){logger[_0x48894e(0x113)]('Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20'+_0x5aed01);}testOpsHelper[_0x48894e(0xd9)]();});}else{const _0x1f6928=helper['useW3C'](_0x30e84c[_0x54337e(0x184)]);let _0x304d6b=helper[_0x54337e(0x119)](_0x30e84c[_0x54337e(0x184)]);_0x250a9e=helper[_0x54337e(0x13f)](_0x30e84c['config'],_0x1f6928,constants[_0x54337e(0x142)]['MOCHA']);process[_0x54337e(0x18a)][_0x54337e(0x196)]&&(_0x304d6b=centralScannerConstants[_0x54337e(0x194)]);let _0x374141;const _0x393500=_0x30e84c[_0x54337e(0x184)][_0x54337e(0x107)]||helper[_0x54337e(0xf0)](_0x19dc20,_0x35a5da,_0x30e84c[_0x54337e(0x184)],constants[_0x54337e(0x142)]['MOCHA'])||0x1;helper[_0x54337e(0x195)](_0x30e84c[_0x54337e(0x184)])?_0x374141=_0x3e54b8[_0x54337e(0x15b)](_0x30e84c[_0x54337e(0x184)][_0x54337e(0x13e)][_0x54337e(0x1b1)],_0x393500):_0x374141=_0x393500;const _0x414cfe=_0x3e54b8['nGWdq'](getPercyOptions,_0x30e84c[_0x54337e(0x184)]);if(_0x3e54b8[_0x54337e(0x177)](_0x30e84c[_0x54337e(0x184)][_0x54337e(0x107)],0x1))_0x4e1ed6[_0x54337e(0x178)](_0x15725f=>{const _0x526b52=_0x54337e,_0x36550f=[];_0x250a9e['forEach']((_0x280c90,_0x5c0044)=>{const _0x510855=a28_0x5afa,_0x53b87f={};_0x53b87f[_0x510855(0xf2)]=[_0x15725f],_0x36550f[_0x510855(0x13c)]({'mochaOpts':Object['assign']({},_0x27d59b,_0x53b87f),'configuration':{'server':_0x304d6b,'capability':_0x280c90,'proxySettings':_0x30e84c[_0x510855(0x184)][_0x510855(0x16f)],'platform':helper[_0x510855(0x14b)](_0x280c90),'browserStackLogLevel':_0x30e84c[_0x510855(0x184)][_0x510855(0x149)],'platformIndex':_0x5c0044,'browserStackPercyOptions':_0x414cfe,'platformCaps':_0x30e84c[_0x510855(0x184)][_0x510855(0x13e)][_0x5c0044]}});}),_0x55349f[_0x526b52(0x13c)](..._0x36550f);});else{const _0x385d26=[];_0x250a9e['forEach']((_0x47a799,_0x544790)=>{const _0xae100c=_0x54337e;let _0x105371=Object[_0xae100c(0x131)]({},_0x27d59b);testOpsHelper[_0xae100c(0x17c)]()&&testOpsHelper['shouldReRunObservabilityTests']()&&(_0x105371={..._0x105371,'spec':[..._0x4e1ed6]}),_0x385d26[_0xae100c(0x13c)]({'mochaOpts':_0x105371,'configuration':{'server':_0x304d6b,'capability':_0x47a799,'proxySettings':_0x30e84c[_0xae100c(0x184)][_0xae100c(0x16f)],'platform':helper[_0xae100c(0x14b)](_0x47a799),'browserStackLogLevel':_0x30e84c[_0xae100c(0x184)]['logLevel'],'platformIndex':_0x544790,'browserStackPercyOptions':_0x414cfe,'platformCaps':_0x30e84c[_0xae100c(0x184)][_0xae100c(0x13e)][_0x544790]}});}),_0x55349f[_0x54337e(0x13c)](..._0x385d26);}logger[_0x54337e(0x168)](_0x54337e(0x139)+_0x30e84c['config'][_0x54337e(0x13e)][_0x54337e(0x1b1)]+'\x20platforms'),logger[_0x54337e(0x168)](_0x3e54b8['uSxmv']);let _0x49943b;_0x3e54b8[_0x54337e(0xf7)](parallelTestRun,_0x55349f,_0x374141,_0x30e84c)[_0x54337e(0xd6)](_0x37239d=>{const _0x569687=_0x54337e;_0x49943b=_0x37239d,_0x3e54b8['XNOMY'](printStats,_0x37239d,_0x19dc20[_0x569687(0x1a7)],_0x19dc20[_0x569687(0x116)]||_0x19dc20[_0x3e54b8[_0x569687(0xec)]]);})[_0x54337e(0x154)](async()=>{const _0x2fe490=_0x54337e;_0x30e84c[_0x2fe490(0x101)]=helper[_0x2fe490(0x172)](_0x49943b,_0x3e54b8[_0x2fe490(0xf8)]),await utilities[_0x2fe490(0xee)](_0x30e84c),testOpsHelper['printBuildLink']();});}}module[a28_0x2aa3fe(0x1aa)]=run;