browserstack-node-sdk 1.0.2 → 1.2.0

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.
package/LICENSE.md CHANGED
@@ -0,0 +1,52 @@
1
+ BrowserStack Software License Agreement
2
+
3
+ The “Licensed Software” under this BrowserStack Software License Agreement (“Agreement”) shall be used by
4
+ you only if You agree to the following terms and conditions. Downloading the Licensed Software and indicating
5
+ your consent to the terms of this license constitutes a binding Agreement between BrowserStack and You. If
6
+ you do not agree with all of the terms of this Agreement, you must not use the Licensed Software and you must
7
+ delete all of copies of the Licensed Software from your computer, device and/or systems. These terms also apply
8
+ to any updates or upgrades to the Licensed Software.
9
+ 1. License: This Licensed Software shall remain the property of BrowserStack at all times.. The Licensed
10
+ Software is licensed, not sold. This Agreement only gives you some rights to use the Licensed Software.
11
+ You may install and use any number of copies of the Licensed Software to develop and test your
12
+ applications and distribution of the Licensed Software is limited to within your affiliates, employees and
13
+ independent contractors who are not competitors of BrowserStack. .
14
+ 2. Restrictions: You will not (and will not permit any third party) to: (a) rent, lease, provide access to or
15
+ sublicense the Licensed Software to a third party; (b) use the Licensed Software to provide, or incorporate
16
+ the Licensed Software into, any product or service provided to a third party; (c) copy or modify the
17
+ Licensed Software or any Documentation, or create any derivative work from any of the foregoing; (d)
18
+ remove or obscure any proprietary or other notices contained in the Licensed Software; or (e) You may
19
+ not reverse engineer, decompile, disassemble, modify, translate, or attempt to discover the source code of
20
+ the Licensed Software; (f) You may not work around any technical limitation in the Licensed Software;
21
+ (g) distribute, resell, or provide the Licensed Software for use, copying or modification to any competitors
22
+ of BrowserStack; or (h) You may use the Licensed Software along with the BrowserStack Services on the
23
+ BrowserStack platform only.
24
+ 3. Usage Data: You agree and acknowledge through this Agreement that BrowserStack will collect data such
25
+ as, but not limited to, use logs and error messages while using the Licensed Software.
26
+ 4. Term and Termination: This Agreement shall be for the term agreed to in the Terms or Service or Master
27
+ SAAS Subscription Agreement or any other Agreement entered into between the You and BrowserStack
28
+ for sue of BrowserStack Services and testing platform. BrowserStack can terminate this Agreement for
29
+ convenience by providing seven (7) days’ notice to You or may terminate upon immediate effect if You
30
+ commit a material breach of this Agreement.
31
+ 5. Confidentiality: All features and codes of the Licensed Software shall remain confidential. You
32
+ understand that any violation or breach of this term of the Agreement may cause irreparable damages to
33
+ BrowserStack. Thus, nothing in this Agreement shall limit Your liability with regard to violation of this
34
+ Clause.
35
+ 6. DISCLAIMER OF WARRANTY. THE LICENSED SOFTWARE IS LICENSED “AS-IS.” YOU BEAR
36
+ THE RISK OF USING IT. BROWSERSTACK GIVES NO EXPRESS WARRANTIES, GUARANTEES
37
+ OR CONDITIONS. TO THE EXTENT PERMITTED UNDER YOUR LOCAL LAWS,
38
+ BROWSERSTACK EXCLUDES THE IMPLIED WARRANTIES OF MERCHANTABILITY,
39
+ FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
40
+ 7. LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES. YOU CAN RECOVER
41
+ FROM BROWSERSTACK AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $1. YOU
42
+ CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS,
43
+ SPECIAL, INDIRECT OR INCIDENTAL DAMAGES.
44
+ 8. Indemnity: You are required to indemnify Browserstack for breach of any obligations and terms set forth
45
+ under this Agreement.
46
+ 9. Export Restrictions. You must comply with all domestic and international export laws and regulations that
47
+ apply to the Licensed Software, which include restrictions on destinations, end users, and end use.
48
+ 10. ENTIRE AGREEMENT. This Agreement, and the terms for supplements, updates, Internet-based
49
+ services and support services that you use, are the entire Agreement for the Licensed Software and
50
+ support services.
51
+ 11. APPLICABLE LAW. The laws and courts of State of California applies to interpretation of and claims
52
+ for breach of this Agreement.
package/README.md ADDED
@@ -0,0 +1,42 @@
1
+ # browserstack-node-sdk
2
+ Node SDK for browserstack selenium-webdriver tests
3
+
4
+ ## Running Jest, Mocha and Cucumber tests in multiple platforms using SDK
5
+
6
+ Add browserstack-node-sdk as a dev-dependency,
7
+
8
+ ```
9
+ npm i -D browserstack-node-sdk
10
+ ```
11
+
12
+ Add a browserstack.yml/yaml file at root of your jest project with your auth keys, browserstack configs and platforms.
13
+
14
+ See sample config file [here](browserstack.yml.sample)
15
+
16
+ Add a new command for running tests on browserstack in scripts tag of package.json,
17
+
18
+ ```
19
+ "scripts": {
20
+ # Jest tests
21
+ "jest-test": "jest ...args",
22
+ "browserstack-jest-test": "browserstack-node-sdk jest ...args",
23
+ # Mocha tests
24
+ "mocha-test": "mocha ...args",
25
+ "browserstack-mocha-test": "browserstack-node-sdk mocha ...args",
26
+ # Cucumber tests
27
+ "cucumber-test": "cucumber-js ...args",
28
+ "browserstack-cucumber-test": "browserstack-node-sdk cucumber-js ...args"
29
+ },
30
+ ```
31
+
32
+ Run tests on browserstack by running
33
+ ```
34
+ npm run browserstack-jest-test
35
+ # or
36
+ npm run browserstack-mocha-test
37
+ # or
38
+ npm run browserstack-cucumber-test
39
+
40
+ ```
41
+
42
+ Sample test scripts are available in the [jest-js-browserstack](https://github.com/browserstack/jest-js-browserstack/tree/sdk), [mocha-browserstack](https://github.com/browserstack/mocha-browserstack/tree/sdk) & [cucumber-js-browserstack](https://github.com/browserstack/cucumber-js-browserstack/tree/sdk) repositories.
@@ -0,0 +1,69 @@
1
+ # =============================
2
+ # Set BrowserStack Credentials
3
+ # =============================
4
+ # Add your BrowserStack userName and acccessKey here or set BROWSERSTACK_USERNAME and
5
+ # BROWSERSTACK_ACCESS_KEY as env variables
6
+ userName: YOUR_USERNAME
7
+ accessKey: YOUR_ACCESS_KEY
8
+ # ======================
9
+ # Organizing your tests
10
+ # ======================
11
+ # Use `projectName`, `buildName`, `name` capabilities to organise your tests
12
+ # `name` is the name of your test sessions and is automatically picked from your
13
+ # test name and doesn't need to be set manually when using BrowserStack SDK
14
+ # `buildName` is used to name your CI/CD job or the execution of your test suite.
15
+ # Ensure you add a dynamic identifier, like an incremental build number from your
16
+ # CI/CD or timestamp at the end of every build; otherwise tests from different
17
+ # executions will be grouped together on BrowserStack
18
+ buildName: browserstack-build-1
19
+ # Use `projectName` to set the name of your project. Example, Marketing Website
20
+ projectName: BrowserStack Samples
21
+ # =======================================
22
+ # Platforms (Browsers / Devices to test)
23
+ # =======================================
24
+ # Platforms object contains all the browser / device combinations you want to test on.
25
+ # Entire list available here -> (https://www.browserstack.com/list-of-browsers-and-platforms/automate)
26
+ platforms:
27
+ - os: OS X
28
+ osVersion: Big Sur
29
+ browser: Chrome
30
+ browserVersion: latest
31
+ - os: Windows
32
+ osVersion: 10
33
+ browser: Edge
34
+ browserVersion: latest
35
+ - device: iPhone 13
36
+ browserName: Safari
37
+ osVersion: 15
38
+ - device: Samsung Galaxy S22 Ultra
39
+ browserName: chrome # Try 'samsung' for Samsung browser
40
+ osVersion: 12.0
41
+ # =======================
42
+ # Parallels per Platform
43
+ # =======================
44
+ # The number of parallel threads to be used for each platform set.
45
+ # BrowserStack's SDK runner will select the best strategy based on the configured value
46
+ #
47
+ # Example 1 - If you have configured 3 platforms and set `parallelsPerPlatform` as 2, a total of 6 (2 * 3) parallel threads will be used on BrowserStack
48
+ #
49
+ # Example 2 - If you have configured 1 platform and set `parallelsPerPlatform` as 5, a total of 5 (1 * 5) parallel threads will be used on BrowserStack
50
+ parallelsPerPlatform: 1
51
+ # ==========================================
52
+ # BrowserStack Local
53
+ # (For localhost, staging/private websites)
54
+ # ==========================================
55
+ # Set browserStackLocal to true if your website under test is not accessible publicly over the internet
56
+ # Learn more about how BrowserStack Local works here -> https://www.browserstack.com/docs/automate/selenium/local-testing-introduction
57
+ browserstackLocal: false # <boolean> (Default false)
58
+ # browserStackLocalOptions:
59
+ # Options to be passed to BrowserStack local in-case of advanced configurations
60
+ # localIdentifier: # <string> (Default: null) Needed if you need to run multiple instances of local.
61
+ # forceLocal: true # <boolean> (Default: false) Set to true if you need to resolve all your traffic via BrowserStack Local tunnel.
62
+ # Entire list of arguments availabe here -> https://www.browserstack.com/docs/automate/selenium/manage-incoming-connections
63
+ # ===================
64
+ # Debugging features
65
+ # ===================
66
+ debug: false # <boolean> # Set to true if you need screenshots for every selenium command ran
67
+ networkLogs: false # <boolean> Set to true to enable HAR logs capturing
68
+ consoleLogs: errors # <string> Remote browser's console debug levels to be printed (Default: errors)
69
+ # Available options are `disable`, `errors`, `warnings`, `info`, `verbose` (Default: errors)
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"browserstack-node-sdk","version":"1.0.2","private":false,"description":"Node SDK for browserstack selenium-webdriver tests","main":"./src/index.js","scripts":{},"author":"BrowserStack","license":"SEE LICENSE IN LICENSE.md","bin":{"browserstack-node-sdk":"./src/bin/runner.js"},"dependencies":{"browserstack-local":"^1.5.0","js-yaml":"^4.1.0","lodash":"^4.17.21","uuid":"^8.3.2","winston":"2.4.4","yargs":"^17.5.1"},"devDependencies":{}}
1
+ {"name":"browserstack-node-sdk","version":"1.2.0","private":false,"description":"Node SDK for browserstack selenium-webdriver tests","main":"./src/index.js","scripts":{},"author":"BrowserStack","license":"SEE LICENSE IN LICENSE.md","bin":{"browserstack-node-sdk":"./src/bin/runner.js"},"dependencies":{"browserstack-local":"^1.5.0","emittery":"^0.11.0","jest-worker":"^28.1.0","chalk":"^4.1.2","js-yaml":"^4.1.0","lodash":"^4.17.21","throat":"^6.0.1","winston":"2.4.4","yargs":"^17.5.1"},"devDependencies":{}}
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';const a0_0x2a6065=a0_0x5f59;(function(_0xfc3a95,_0x3498a8){const _0x5e263e=a0_0x5f59,_0x33cd28=_0xfc3a95();while(!![]){try{const _0x2eec96=-parseInt(_0x5e263e(0x192))/0x1+-parseInt(_0x5e263e(0x1a1))/0x2+parseInt(_0x5e263e(0x18e))/0x3*(-parseInt(_0x5e263e(0x189))/0x4)+parseInt(_0x5e263e(0x18a))/0x5*(-parseInt(_0x5e263e(0x193))/0x6)+-parseInt(_0x5e263e(0x19e))/0x7+-parseInt(_0x5e263e(0x188))/0x8*(-parseInt(_0x5e263e(0x191))/0x9)+-parseInt(_0x5e263e(0x186))/0xa*(-parseInt(_0x5e263e(0x17f))/0xb);if(_0x2eec96===_0x3498a8)break;else _0x33cd28['push'](_0x33cd28['shift']());}catch(_0x25d7ee){_0x33cd28['push'](_0x33cd28['shift']());}}}(a0_0x183f,0xeea3c));function a0_0x183f(){const _0x31f68a=['8xNSFZj','21212PYxYzE','50WKjAZg','chalk','winstonLogger','\x20failed','750CyaUwQ','yellow','parallelsPerPlatform','11595807UBtmcp','1898910TEYwOF','976362gwUBQJ','stepsFailed','stepsAmbiguous','\x20ambiguous','exitCode','hubUrl','join','red','\x20steps','../../helpers/logger','platforms','4146436ejeLUS','bold','argv','1444078QYaCwl','stepsPending','stepsUndefined','stepsUnknown','\x20skipped','steps','\x20pending','getPlatformName','proxySettings','scenarios','forEach','****\x20RESULTS\x20****','\x20undefined','../utils/constants','log','green','22yWDfmD','push','../../helpers/BrowserStackSetup','../test-runner','config','\x20passed','cyan','29276810bBNOOg','exports'];a0_0x183f=function(){return _0x31f68a;};return a0_0x183f();}const logger=require(a0_0x2a6065(0x19c))[a0_0x2a6065(0x18c)],{default:BrowserStackSetup}=require(a0_0x2a6065(0x181)),helper=require('../../helpers/helper'),constants=require(a0_0x2a6065(0x1ae)),{parallelCucumberRun}=require(a0_0x2a6065(0x182)),chalk=require(a0_0x2a6065(0x18b));function printCucumberStats(_0x4ea492){const _0x2f3795=a0_0x2a6065;let _0x14cf38=0x0;if(_0x4ea492['length']==0x0)return _0x14cf38;return console[_0x2f3795(0x17d)](chalk['bold']['bgWhite'](_0x2f3795(0x1ac))),_0x4ea492[_0x2f3795(0x1ab)](_0x1bca5e=>{const _0x588eb0=_0x2f3795;let _0x171ce7=_0x1bca5e[0x0],_0x94b941=_0x1bca5e[0x1];console[_0x588eb0(0x17d)]('\x0a'+chalk[_0x588eb0(0x19f)][_0x588eb0(0x18f)](''+helper[_0x588eb0(0x1a8)](_0x171ce7)));let _0x33887e=_0x94b941[_0x588eb0(0x1aa)],_0x2f5cf2=_0x94b941[_0x588eb0(0x1a6)],_0x771849=_0x94b941['scenariosFailed'],_0x39660f=_0x94b941[_0x588eb0(0x194)],_0xafa74c=_0x94b941['stepsPassed'],_0x8837a3=_0x94b941['stepsSkipped'],_0x1e9b4b=_0x94b941[_0x588eb0(0x1a2)],_0x5c44b4=_0x94b941[_0x588eb0(0x1a3)],_0x50dcbe=_0x94b941[_0x588eb0(0x1a4)],_0x1529b3=_0x94b941[_0x588eb0(0x195)],_0x35ad01=_0x94b941['processSuccess'],_0x3a561a=_0x33887e+'\x20scenarios';const _0xbea13=_0x33887e-_0x771849>0x0?_0x33887e-_0x771849:0x0;if(_0x771849>0x0&&_0xbea13>0x0)_0x3a561a+='\x20('+chalk[_0x588eb0(0x19f)]['red'](_0x771849+_0x588eb0(0x18d))+',\x20'+chalk[_0x588eb0(0x19f)]['green'](_0xbea13+'\x20passed')+')';else(_0x771849>0x0||_0xbea13>0x0)&&(_0x3a561a+=_0x771849>0x0?'\x20('+chalk[_0x588eb0(0x19f)][_0x588eb0(0x19a)](_0x771849+_0x588eb0(0x18d))+')':'\x20('+chalk[_0x588eb0(0x19f)][_0x588eb0(0x17e)](_0xbea13+'\x20passed')+')');let _0xfd4b12=_0x2f5cf2+_0x588eb0(0x19b),_0x67ab38=[];_0x1529b3>0x0&&_0x67ab38[_0x588eb0(0x180)](''+chalk[_0x588eb0(0x19f)]['red'](_0x1529b3+_0x588eb0(0x196)));_0x39660f>0x0&&_0x67ab38[_0x588eb0(0x180)](''+chalk[_0x588eb0(0x19f)][_0x588eb0(0x19a)](_0x39660f+_0x588eb0(0x18d)));_0xafa74c>0x0&&_0x67ab38[_0x588eb0(0x180)](''+chalk[_0x588eb0(0x19f)][_0x588eb0(0x17e)](_0xafa74c+_0x588eb0(0x184)));_0x1e9b4b>0x0&&_0x67ab38[_0x588eb0(0x180)](''+chalk[_0x588eb0(0x19f)][_0x588eb0(0x18f)](_0x1e9b4b+_0x588eb0(0x1a7)));_0x8837a3>0x0&&_0x67ab38[_0x588eb0(0x180)](''+chalk[_0x588eb0(0x19f)][_0x588eb0(0x185)](_0x8837a3+_0x588eb0(0x1a5)));_0x5c44b4>0x0&&_0x67ab38[_0x588eb0(0x180)](''+chalk[_0x588eb0(0x19f)][_0x588eb0(0x18f)](_0x5c44b4+_0x588eb0(0x1ad)));_0x50dcbe>0x0&&_0x67ab38[_0x588eb0(0x180)](''+chalk['bold'][_0x588eb0(0x18f)](_0x50dcbe+_0x588eb0(0x1a5)));const _0x54b209=_0xfd4b12+'('+_0x67ab38[_0x588eb0(0x199)](',\x20')+')';console[_0x588eb0(0x17d)]('\x0a'+_0x3a561a+'\x0a'+_0x54b209+'\x0a'),_0x35ad01==![]&&(_0x14cf38=0x1);}),_0x14cf38;}function a0_0x5f59(_0x497874,_0x10f9c2){const _0x183fde=a0_0x183f();return a0_0x5f59=function(_0x5f5940,_0x372a58){_0x5f5940=_0x5f5940-0x17d;let _0x219835=_0x183fde[_0x5f5940];return _0x219835;},a0_0x5f59(_0x497874,_0x10f9c2);}function run(_0x2885f1,_0x5b2211){const _0x121f92=a0_0x2a6065,_0x463221=new BrowserStackSetup(),_0x5f103e=[];if(!_0x463221[_0x121f92(0x183)])return;const _0xacabd5=_0x463221[_0x121f92(0x183)][_0x121f92(0x190)];let _0xe957ca=helper['useW3C'](_0x463221[_0x121f92(0x183)]);_0x463221[_0x121f92(0x183)][_0x121f92(0x19d)][_0x121f92(0x1ab)]((_0x18a86f,_0xf1b556)=>{const _0x614bf4=_0x121f92;if(_0xe957ca)_0x5f103e['push'](helper['modifyBrowserStackW3CCaps'](_0x463221[_0x614bf4(0x183)],_0xf1b556));else _0x5f103e[_0x614bf4(0x180)](helper['modifyBrowserStackCaps'](_0x463221[_0x614bf4(0x183)],_0xf1b556));});let _0x2e8db7={'server':constants[_0x121f92(0x198)],'proxySettings':_0x463221['config'][_0x121f92(0x1a9)],'maxWorkers':_0xacabd5};parallelCucumberRun(_0x5f103e,_0x2e8db7,process[_0x121f92(0x1a0)])['then'](_0x155a55=>{const _0x3844ab=_0x121f92;let _0x4e98b0=printCucumberStats(_0x155a55);process[_0x3844ab(0x197)]=_0x4e98b0;});}module[a0_0x2a6065(0x187)]=run;
@@ -0,0 +1 @@
1
+ const a1_0x1767e1=a1_0x74f5;function a1_0x2521(){const _0x19b8f5=['testCaseStarted','gherkinDocument','keyword','bstack','incrementCounter','snippetBuilder','17365300vQksyb','cwd','eventDataCollector','102rqWlRo','text','result','isBstackHook','logTestCaseFinished','__platform','Executing\x20tests\x20for\x20','\x20\x20\x20\x20','36vENmMz','FAILED','testCaseStartedId','1299882OTDKzd','forEach','env','CONFIG','name','../../../helpers/helper','feature','testSteps','\x20-\x20','exports','status','SKIPPED','getTestCaseAttempt','includes','envelope','log','35TwugkR','testRunStarted','actionLocation','capability','@cucumber/cucumber','UNDEFINED','457015yWtNpK','11nUEXdK','testRunFinished','8581lDkMEe','PENDING','6516GjFrKH','uri','sourceLocation','eventBroadcaster','2199576vYUhjX','8jEVymo','testCaseFinished','31599564HUSIfd'];a1_0x2521=function(){return _0x19b8f5;};return a1_0x2521();}(function(_0xb9e0a5,_0x271707){const _0x394d70=a1_0x74f5,_0x5d1568=_0xb9e0a5();while(!![]){try{const _0x11be6b=-parseInt(_0x394d70(0xb5))/0x1*(-parseInt(_0x394d70(0x91))/0x2)+parseInt(_0x394d70(0x9c))/0x3+-parseInt(_0x394d70(0xbc))/0x4*(parseInt(_0x394d70(0xb2))/0x5)+-parseInt(_0x394d70(0xb7))/0x6*(parseInt(_0x394d70(0xac))/0x7)+-parseInt(_0x394d70(0xbb))/0x8*(-parseInt(_0x394d70(0x99))/0x9)+parseInt(_0x394d70(0x8e))/0xa*(parseInt(_0x394d70(0xb3))/0xb)+-parseInt(_0x394d70(0xbe))/0xc;if(_0x11be6b===_0x271707)break;else _0x5d1568['push'](_0x5d1568['shift']());}catch(_0x484787){_0x5d1568['push'](_0x5d1568['shift']());}}}(a1_0x2521,0xd83ce));function a1_0x74f5(_0x40c677,_0x2fd136){const _0x2521d2=a1_0x2521();return a1_0x74f5=function(_0x74f56f,_0x544a53){_0x74f56f=_0x74f56f-0x88;let _0x56321e=_0x2521d2[_0x74f56f];return _0x56321e;},a1_0x74f5(_0x40c677,_0x2fd136);}const {requireModule,getPlatformName}=require(a1_0x1767e1(0xa1)),{Formatter,formatterHelpers,Status}=requireModule(a1_0x1767e1(0xb0));class BrowserstackFormatter extends Formatter{constructor(_0x170097){const _0xcc277d=a1_0x1767e1;super(_0x170097),_0x170097[_0xcc277d(0xba)]['on'](_0xcc277d(0xaa),_0xf70d7a=>{const _0x3cceea=_0xcc277d;if(_0xf70d7a[_0x3cceea(0x88)])testSuites+=0x1;else{if(_0xf70d7a[_0x3cceea(0xad)]){let _0x4868ce;if(process[_0x3cceea(0x9e)][_0x3cceea(0x9f)]!==undefined){let _0x51468e=JSON['parse'](process[_0x3cceea(0x9e)][_0x3cceea(0x9f)]);_0x4868ce=_0x51468e[_0x3cceea(0xaf)];}_0x4868ce!==undefined&&(global['__platform']=getPlatformName(_0x4868ce),this[_0x3cceea(0xab)](_0x3cceea(0x97)+global[_0x3cceea(0x96)]+'\x0a'));}else{if(_0xf70d7a['testCaseFinished'])this[_0x3cceea(0x95)](_0xf70d7a[_0x3cceea(0xbd)]);else _0xf70d7a[_0x3cceea(0xb4)]&&this['logTestRunFinished'](_0xf70d7a['testRunFinished']);}}});}[a1_0x1767e1(0x95)](_0x1d9744){const _0x2b98ff=a1_0x1767e1;global[_0x2b98ff(0x96)]!==undefined&&this[_0x2b98ff(0xab)]('\x0a'+global['__platform']+'\x0a');const _0x1491a6=this[_0x2b98ff(0x90)][_0x2b98ff(0xa8)](_0x1d9744[_0x2b98ff(0x9b)]);this[_0x2b98ff(0xab)]('\x20\x20'+_0x1491a6[_0x2b98ff(0x89)][_0x2b98ff(0xa2)]['name']+_0x2b98ff(0xa4)+_0x1491a6['pickle'][_0x2b98ff(0xa0)]+'\x0a');const _0x634a33=formatterHelpers['parseTestCaseAttempt']({'cwd':this[_0x2b98ff(0x8f)],'snippetBuilder':this[_0x2b98ff(0x8d)],'supportCodeLibrary':this['supportCodeLibrary'],'testCaseAttempt':_0x1491a6});let _0x866062=![];_0x634a33[_0x2b98ff(0xa3)][_0x2b98ff(0x9d)](_0x3d41d3=>{const _0x5bf337=_0x2b98ff;_0x3d41d3['name']!=_0x5bf337(0x8b)&&!this[_0x5bf337(0x94)](_0x3d41d3)&&(totalTests+=0x1,this[_0x5bf337(0xab)](_0x5bf337(0x98)+_0x3d41d3[_0x5bf337(0x8a)]+(_0x3d41d3[_0x5bf337(0x92)]||'')+_0x5bf337(0xa4)+Status[_0x3d41d3[_0x5bf337(0x93)]['status']]+'\x0a'),this[_0x5bf337(0x8c)](Status[_0x3d41d3[_0x5bf337(0x93)][_0x5bf337(0xa6)]]),Status[_0x3d41d3['result'][_0x5bf337(0xa6)]]=='FAILED'&&(_0x866062=!![]));}),_0x866062&&(testSuitesFailed+=0x1),this[_0x2b98ff(0xab)]('\x0a');}['logTestRunFinished'](_0x4e525f){}[a1_0x1767e1(0x94)](_0x168982){const _0x175aea=a1_0x1767e1;if(_0x168982[_0x175aea(0xb9)]!==undefined)return![];if(_0x168982[_0x175aea(0xae)]&&_0x168982[_0x175aea(0xae)][_0x175aea(0xb8)][_0x175aea(0xa9)]('cucumber-js/test.setup.js'))return!![];return![];}[a1_0x1767e1(0x8c)](_0x124109){const _0xc99834=a1_0x1767e1;switch(_0x124109){case _0xc99834(0x9a):testsFailed+=0x1;break;case'PASSED':testsPassed+=0x1;break;case _0xc99834(0xa7):testsSkipped+=0x1;break;case _0xc99834(0xb6):testsPending+=0x1;break;case _0xc99834(0xb1):testsUndefined+=0x1;break;case'UNKNOWN':testsUnknown+=0x1;break;case'AMBIGUOUS':testsAmbiguous+=0x1;break;default:break;}}}module[a1_0x1767e1(0xa5)]=BrowserstackFormatter;
@@ -0,0 +1 @@
1
+ const a2_0x523729=a2_0x26c6;(function(_0x4b59cc,_0x23b610){const _0x43451b=a2_0x26c6,_0x30579a=_0x4b59cc();while(!![]){try{const _0x5b0d52=-parseInt(_0x43451b(0x1a7))/0x1*(parseInt(_0x43451b(0x1a4))/0x2)+parseInt(_0x43451b(0x17a))/0x3*(-parseInt(_0x43451b(0x19b))/0x4)+parseInt(_0x43451b(0x187))/0x5*(parseInt(_0x43451b(0x188))/0x6)+parseInt(_0x43451b(0x178))/0x7*(-parseInt(_0x43451b(0x1aa))/0x8)+parseInt(_0x43451b(0x1ab))/0x9+parseInt(_0x43451b(0x18a))/0xa+parseInt(_0x43451b(0x19f))/0xb;if(_0x5b0d52===_0x23b610)break;else _0x30579a['push'](_0x30579a['shift']());}catch(_0x350c4){_0x30579a['push'](_0x30579a['shift']());}}}(a2_0x5ac9,0xa6f7c));const {requireModule,getPlatformName}=require(a2_0x523729(0x184)),{Formatter}=requireModule('cucumber'),pickleParser=requireModule('cucumber/lib/formatter/helpers/pickle_parser.js');function a2_0x5ac9(){const _0x419492=['Executing\x20tests\x20for\x20','includes','gherkinDocument','sourceLocation','name','undefined','length','testCase','status','12vrpNgE','\x20\x20\x20\x20','getStepLineToPickledStepMap','result','7907845SSEtqs','feature','getTestCaseAttempt','eventBroadcaster','test-step-started','58QEmpcg','AMBIGUOUS','log','38363sCuzTj','test-run-finished','__platform','10064BCgYVr','7004169LVVqkJ','getTestCaseData','toUpperCase','\x20\x20\x20\x20BEFORE\x20-\x20','3031hIjjCu','FAILED','740241iyeViO','env','text','eventDataCollector','UNDEFINED','logTestCaseFinished','\x20\x20\x20\x20AFTER\x20-\x20','stepResults','test-case-finished','CONFIG','../../../helpers/helper','pickle','\x20-\x20','3198865mYnyWo','6AZQZhL','parse','9444730uiVXLB','capability','steps','uri','SKIPPED','actionLocation','cucumber-js/test_old.setup.js','exports'];a2_0x5ac9=function(){return _0x419492;};return a2_0x5ac9();}class BrowserstackFormatter extends Formatter{constructor(_0x37b362){const _0x1c1dd6=a2_0x523729;super(_0x37b362),_0x37b362[_0x1c1dd6(0x1a2)]['on']('test-run-started',()=>{const _0xdb7bd2=_0x1c1dd6;let _0x5c5407;if(process[_0xdb7bd2(0x17b)][_0xdb7bd2(0x183)]!==undefined){let _0x2a5bf5=JSON[_0xdb7bd2(0x189)](process[_0xdb7bd2(0x17b)][_0xdb7bd2(0x183)]);_0x5c5407=_0x2a5bf5[_0xdb7bd2(0x18b)];}_0x5c5407!==undefined&&(global[_0xdb7bd2(0x1a9)]=getPlatformName(_0x5c5407),console[_0xdb7bd2(0x1a6)](_0xdb7bd2(0x192)+global[_0xdb7bd2(0x1a9)]));}),_0x37b362[_0x1c1dd6(0x1a2)]['on']('test-case-started',()=>{testSuites+=0x1;}),_0x37b362[_0x1c1dd6(0x1a2)]['on'](_0x1c1dd6(0x182),_0x73a847=>{const _0x3df218=_0x1c1dd6;this[_0x3df218(0x17f)](_0x73a847);}),_0x37b362[_0x1c1dd6(0x1a2)]['on'](_0x1c1dd6(0x1a8),()=>{totalTests-=0x2;}),_0x37b362[_0x1c1dd6(0x1a2)]['on'](_0x1c1dd6(0x1a3),()=>{totalTests+=0x1;});}['logTestCaseFinished'](_0x1dc3d1){const _0x409ab1=a2_0x523729;let _0x180292=![];function _0x4e7ec5(_0x55bed1){const _0xfd1609=a2_0x26c6;switch(_0x55bed1){case _0xfd1609(0x179):testsFailed+=0x1;break;case'PASSED':testsPassed+=0x1;break;case _0xfd1609(0x18e):testsSkipped+=0x1;break;case'PENDING':testsPending+=0x1;break;case _0xfd1609(0x17e):testsUndefined+=0x1;break;case'UNKNOWN':testsUnknown+=0x1;break;case _0xfd1609(0x1a5):testsAmbiguous+=0x1;break;default:break;}}global['__platform']!==undefined&&console[_0x409ab1(0x1a6)]('\x0a'+global[_0x409ab1(0x1a9)]+'\x0a');let _0x227de3=![];if(typeof this[_0x409ab1(0x17d)][_0x409ab1(0x1ac)]!==_0x409ab1(0x197)){var _0xfbf0a4=this[_0x409ab1(0x17d)][_0x409ab1(0x1ac)](_0x1dc3d1[_0x409ab1(0x195)]),_0x35669e=_0xfbf0a4['pickle'],_0x13a969=_0xfbf0a4['testCase'];console['log']('\x20\x20'+_0x35669e[_0x409ab1(0x196)]);var _0x4031d3=(0x0,pickleParser[_0x409ab1(0x19d)])(_0x35669e);_0x13a969[_0x409ab1(0x18c)]['forEach'](function(_0x251c2b){const _0xddaffc=_0x409ab1;if(_0x251c2b[_0xddaffc(0x18f)]&&_0x251c2b[_0xddaffc(0x195)])_0x180292=!![],console[_0xddaffc(0x1a6)](_0xddaffc(0x19c)+_0x4031d3[_0x251c2b['sourceLocation']['line']][_0xddaffc(0x17c)]+'\x20-\x20'+_0x251c2b[_0xddaffc(0x19e)][_0xddaffc(0x19a)][_0xddaffc(0x1ad)]()),_0x4e7ec5(_0x251c2b['result'][_0xddaffc(0x19a)][_0xddaffc(0x1ad)]());else _0x251c2b['actionLocation']&&(!_0x251c2b[_0xddaffc(0x18f)][_0xddaffc(0x18d)][_0xddaffc(0x193)](_0xddaffc(0x190))&&(_0x4e7ec5(_0x251c2b[_0xddaffc(0x19e)]['status'][_0xddaffc(0x1ad)]()),_0x180292?console[_0xddaffc(0x1a6)](_0xddaffc(0x180)+_0x251c2b[_0xddaffc(0x19e)][_0xddaffc(0x19a)][_0xddaffc(0x1ad)]()):console['log'](_0xddaffc(0x1ae)+_0x251c2b[_0xddaffc(0x19e)][_0xddaffc(0x19a)][_0xddaffc(0x1ad)]())));_0x251c2b[_0xddaffc(0x19e)][_0xddaffc(0x19a)]['toUpperCase']()==_0xddaffc(0x179)&&(_0x227de3=!![]);});}else{const _0x274084=this[_0x409ab1(0x17d)][_0x409ab1(0x1a1)](_0x1dc3d1);console[_0x409ab1(0x1a6)]('\x20\x20'+_0x274084[_0x409ab1(0x194)][_0x409ab1(0x1a0)][_0x409ab1(0x196)]+_0x409ab1(0x186)+_0x274084[_0x409ab1(0x185)]['name']);var _0x4031d3=(0x0,pickleParser[_0x409ab1(0x19d)])(_0x274084[_0x409ab1(0x185)]);let _0x873438=_0x274084[_0x409ab1(0x199)][_0x409ab1(0x18c)],_0x32f465=_0x274084[_0x409ab1(0x181)],_0x4b93ec=_0x873438[_0x409ab1(0x198)];for(let _0xbd1113=0x0;_0xbd1113<_0x4b93ec;_0xbd1113++){let _0x102f71=_0x873438[_0xbd1113];if(_0x102f71[_0x409ab1(0x18f)]&&_0x102f71[_0x409ab1(0x195)])_0x180292=!![],console['log'](_0x409ab1(0x19c)+_0x4031d3[_0x102f71[_0x409ab1(0x195)]['line']]['text']+_0x409ab1(0x186)+_0x32f465[_0xbd1113][_0x409ab1(0x19a)]['toUpperCase']()),_0x4e7ec5(_0x32f465[_0xbd1113][_0x409ab1(0x19a)][_0x409ab1(0x1ad)]());else _0x102f71['actionLocation']&&(!_0x102f71['actionLocation'][_0x409ab1(0x18d)][_0x409ab1(0x193)](_0x409ab1(0x190))&&(_0x4e7ec5(_0x32f465[_0xbd1113][_0x409ab1(0x19a)][_0x409ab1(0x1ad)]()),_0x180292?console[_0x409ab1(0x1a6)](_0x409ab1(0x180)+_0x32f465[_0xbd1113][_0x409ab1(0x19a)][_0x409ab1(0x1ad)]()):console[_0x409ab1(0x1a6)]('\x20\x20\x20\x20BEFORE\x20-\x20'+_0x32f465[_0xbd1113][_0x409ab1(0x19a)]['toUpperCase']())));_0x32f465[_0xbd1113][_0x409ab1(0x19a)]['toUpperCase']()=='FAILED'&&(_0x227de3=!![]);}}_0x227de3&&(testSuitesFailed+=0x1),console[_0x409ab1(0x1a6)]('\x0a');}}function a2_0x26c6(_0xa5f302,_0x545f6e){const _0x5ac9d4=a2_0x5ac9();return a2_0x26c6=function(_0x26c672,_0x296eef){_0x26c672=_0x26c672-0x178;let _0xfd58c5=_0x5ac9d4[_0x26c672];return _0xfd58c5;},a2_0x26c6(_0xa5f302,_0x545f6e);}module[a2_0x523729(0x191)]=BrowserstackFormatter;
@@ -0,0 +1 @@
1
+ const a3_0x12f350=a3_0x19a9;(function(_0x34dc71,_0x184a04){const _0x187cb2=a3_0x19a9,_0x18a4c2=_0x34dc71();while(!![]){try{const _0x3ef5d6=parseInt(_0x187cb2(0x21e))/0x1*(parseInt(_0x187cb2(0x1e8))/0x2)+parseInt(_0x187cb2(0x1f7))/0x3*(-parseInt(_0x187cb2(0x210))/0x4)+parseInt(_0x187cb2(0x20a))/0x5*(-parseInt(_0x187cb2(0x1fe))/0x6)+parseInt(_0x187cb2(0x222))/0x7+parseInt(_0x187cb2(0x1ee))/0x8+-parseInt(_0x187cb2(0x20b))/0x9*(parseInt(_0x187cb2(0x207))/0xa)+parseInt(_0x187cb2(0x1f1))/0xb;if(_0x3ef5d6===_0x184a04)break;else _0x18a4c2['push'](_0x18a4c2['shift']());}catch(_0x544edf){_0x18a4c2['push'](_0x18a4c2['shift']());}}}(a3_0x55eb,0x78ec6));const {requireModule,modifyCommand}=require('../../helpers/helper'),setKeepAlive=require('../../helpers/setKeepAlive'),seleniumWebdriver=requireModule(a3_0x12f350(0x216)),cucumberModule=requireModule(a3_0x12f350(0x209));modifyCommand(),setKeepAlive();let Before=cucumberModule[a3_0x12f350(0x1f9)],After=cucumberModule[a3_0x12f350(0x218)],AfterStep=cucumberModule[a3_0x12f350(0x1fb)];this[a3_0x12f350(0x1fa)]=new seleniumWebdriver[(a3_0x12f350(0x1f0))]();function a3_0x19a9(_0x17abbe,_0x5f4a9f){const _0x55ebe0=a3_0x55eb();return a3_0x19a9=function(_0x19a9b5,_0x26b7da){_0x19a9b5=_0x19a9b5-0x1e7;let _0x922750=_0x55ebe0[_0x19a9b5];return _0x922750;},a3_0x19a9(_0x17abbe,_0x5f4a9f);}let configuration=process[a3_0x12f350(0x200)][a3_0x12f350(0x1fc)],server,caps,proxySettings;function a3_0x55eb(){const _0x360175=['@cucumber/cucumber/lib/index.js','611815dKbVdF','9thKRgu','then','bstack','name','Passed','4dEwBRL','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','usingWebDriverProxy','initQuit','push','__error_messages__','selenium-webdriver','usingServer','After','quit','__driver','pickle','\x0aError:\x20','\x20|\x20','81661JEejCx','error','failed','message','2091404TnxcXk','Failed:\x20','18WbvQHo','\x22}}','status','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22failed\x22,\x20\x22reason\x22:\x20','pickleStep','executeScript','6751624CBFiNh','quitCalled','Builder','1657007doAeGY','toLowerCase','text','join','parse','stringify','673170FMDIQl','info','Before','builder','AfterStep','CONFIG','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22passed\x22,\x20\x22reason\x22:\x20\x22\x22}}','42BntQvz','build','env','prototype','proxyUrl','server','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','result','capability','4520780PgeBta','session_'];a3_0x55eb=function(){return _0x360175;};return a3_0x55eb();}if(configuration!==undefined){let config=JSON[a3_0x12f350(0x1f5)](configuration);server=config[a3_0x12f350(0x203)],caps=config[a3_0x12f350(0x206)],proxySettings=config['proxySettings'];}this[a3_0x12f350(0x1fa)]['initBuild']=this[a3_0x12f350(0x1fa)][a3_0x12f350(0x1ff)],this[a3_0x12f350(0x1fa)][a3_0x12f350(0x1ff)]=()=>{const _0x4de049=a3_0x12f350;this[_0x4de049(0x1fa)]['withCapabilities'](caps),this[_0x4de049(0x1fa)][_0x4de049(0x217)](server);proxySettings&&proxySettings['proxyUrl']&&this[_0x4de049(0x1fa)][_0x4de049(0x212)](proxySettings[_0x4de049(0x202)]);const _0x2862df=this[_0x4de049(0x1fa)]['initBuild']();return _0x2862df[_0x4de049(0x213)]=_0x2862df['quit'],_0x2862df[_0x4de049(0x219)]=_0x27f007=>{const _0x1d0270=_0x4de049;if(_0x27f007===_0x1d0270(0x219)&&_0x2862df['quitCalled'])return _0x2862df[_0x1d0270(0x213)]();return _0x27f007!==_0x1d0270(0x219)&&(_0x2862df[_0x1d0270(0x1ef)]=!![]),new Promise(function(_0xb19054){_0xb19054();});},global[_0x4de049(0x21a)]=_0x2862df,_0x2862df;},seleniumWebdriver[a3_0x12f350(0x1f0)][a3_0x12f350(0x201)][a3_0x12f350(0x1ff)]=()=>{return this['builder']['build']();},Before({'name':a3_0x12f350(0x20d)},function(){const _0x1d68fd=a3_0x12f350;global[_0x1d68fd(0x215)]=[];}),After({'name':'bstack','timeout':0x2710},function(_0x36441c,_0x3f4b36){const _0x163515=a3_0x12f350;new Promise(async(_0x154c03,_0x1816bc)=>{const _0x1ba9a6=a3_0x19a9;let _0x420d13=![];try{await global[_0x1ba9a6(0x21a)][_0x1ba9a6(0x208)],_0x420d13=!![],await global['__driver'][_0x1ba9a6(0x1ed)](_0x1ba9a6(0x204)+_0x36441c[_0x1ba9a6(0x21b)][_0x1ba9a6(0x20e)]+'\x22}}'),_0x36441c[_0x1ba9a6(0x205)][_0x1ba9a6(0x1ea)][_0x1ba9a6(0x1f2)]()==_0x1ba9a6(0x220)?await global[_0x1ba9a6(0x21a)][_0x1ba9a6(0x1ed)](_0x1ba9a6(0x1eb)+JSON[_0x1ba9a6(0x1f6)](global[_0x1ba9a6(0x215)][_0x1ba9a6(0x1f4)](_0x1ba9a6(0x21d)))+'}}'):await global[_0x1ba9a6(0x21a)]['executeScript'](_0x1ba9a6(0x1fd));}catch(_0x46d9a5){}if(_0x420d13)try{await global[_0x1ba9a6(0x21a)]['quit']('quit'),_0x154c03();}catch(_0x5937ca){_0x1816bc(_0x5937ca);}else _0x1816bc();})[_0x163515(0x20c)](()=>_0x3f4b36());}),AfterStep({'name':a3_0x12f350(0x20d),'timeout':0x2710},function(_0x301cf2,_0x4b597e){const _0x40f6bc=async(_0x5b017f,_0x52cbdd)=>{const _0x36a04e=a3_0x19a9;await global['__driver'][_0x36a04e(0x1ed)](_0x36a04e(0x211)+_0x5b017f+',\x22level\x22:\x20\x22'+_0x52cbdd+_0x36a04e(0x1e9));};new Promise(async(_0x3fb3ad,_0x43a78b)=>{const _0xf1ba31=a3_0x19a9;try{_0x301cf2['result']['status']['toLowerCase']()==_0xf1ba31(0x220)?(global['__error_messages__'][_0xf1ba31(0x214)](_0x301cf2[_0xf1ba31(0x205)][_0xf1ba31(0x221)]),_0x301cf2[_0xf1ba31(0x1ec)]!==undefined?await _0x40f6bc(JSON[_0xf1ba31(0x1f6)](_0xf1ba31(0x1e7)+('\x22'+_0x301cf2[_0xf1ba31(0x1ec)][_0xf1ba31(0x1f3)]+'\x22\x20')+_0xf1ba31(0x21c)+_0x301cf2[_0xf1ba31(0x205)][_0xf1ba31(0x221)]),'error'):await _0x40f6bc(JSON[_0xf1ba31(0x1f6)](_0xf1ba31(0x1e7)+_0x301cf2[_0xf1ba31(0x205)]['message']),_0xf1ba31(0x21f))):_0x301cf2[_0xf1ba31(0x1ec)]!==undefined?await _0x40f6bc(JSON[_0xf1ba31(0x1f6)]('Passed:\x20'+('\x22'+_0x301cf2[_0xf1ba31(0x1ec)][_0xf1ba31(0x1f3)]+'\x22')),'info'):await _0x40f6bc(JSON['stringify'](_0xf1ba31(0x20f)),_0xf1ba31(0x1f8)),_0x3fb3ad();}catch(_0x2194ff){_0x43a78b(_0x2194ff);}})['then'](()=>_0x4b597e());});
@@ -0,0 +1 @@
1
+ function a4_0xf130(_0xe6430,_0x1b522f){const _0x365045=a4_0x3650();return a4_0xf130=function(_0xf13060,_0x3cce94){_0xf13060=_0xf13060-0x88;let _0x299ee9=_0x365045[_0xf13060];return _0x299ee9;},a4_0xf130(_0xe6430,_0x1b522f);}const a4_0x11d157=a4_0xf130;(function(_0x2d628f,_0x3bcc5b){const _0x2620bb=a4_0xf130,_0x3c0730=_0x2d628f();while(!![]){try{const _0x28d997=parseInt(_0x2620bb(0x98))/0x1+parseInt(_0x2620bb(0xaa))/0x2*(-parseInt(_0x2620bb(0x92))/0x3)+-parseInt(_0x2620bb(0x8a))/0x4*(parseInt(_0x2620bb(0x89))/0x5)+-parseInt(_0x2620bb(0x91))/0x6*(parseInt(_0x2620bb(0x90))/0x7)+parseInt(_0x2620bb(0xa7))/0x8*(-parseInt(_0x2620bb(0xa8))/0x9)+-parseInt(_0x2620bb(0x9c))/0xa+parseInt(_0x2620bb(0x9d))/0xb;if(_0x28d997===_0x3bcc5b)break;else _0x3c0730['push'](_0x3c0730['shift']());}catch(_0x48b037){_0x3c0730['push'](_0x3c0730['shift']());}}}(a4_0x3650,0xcc1d4));const {requireModule,modifyCommand}=require(a4_0x11d157(0xa6)),setKeepAlive=require('../../helpers/setKeepAlive'),seleniumWebdriver=requireModule('selenium-webdriver'),cucumberModule=requireModule(a4_0x11d157(0xa2));modifyCommand(),setKeepAlive();let Before=cucumberModule['Before'],After=cucumberModule[a4_0x11d157(0xa1)];function a4_0x3650(){const _0x5c5857=['16pEHNKO','6039180ekKYjZ','quitCalled','2930MsJVud','quit','then','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','name','usingWebDriverProxy','build','failed','stringify','\x20|\x20','executeScript','Builder','5IuIVNL','69460JyxCzC','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22passed\x22,\x20\x22reason\x22:\x20\x22\x22}}','result','pickle','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22failed\x22,\x20\x22reason\x22:\x20','CONFIG','271229rFciEy','150JCpzpx','1893kLszdv','capability','toLowerCase','usingServer','env','builder','1138711iLXmMz','bstack','proxySettings','proxyUrl','15280920CstMQf','49257208BMfnHB','initBuild','\x22}}','__driver','After','cucumber/lib/index.js','parse','server','join','../../helpers/helper'];a4_0x3650=function(){return _0x5c5857;};return a4_0x3650();}this['builder']=new seleniumWebdriver[(a4_0x11d157(0x88))]();let configuration=process[a4_0x11d157(0x96)][a4_0x11d157(0x8f)],server,caps,proxySettings;if(configuration!==undefined){let config=JSON[a4_0x11d157(0xa3)](configuration);server=config[a4_0x11d157(0xa4)],caps=config[a4_0x11d157(0x93)],proxySettings=config[a4_0x11d157(0x9a)];}this[a4_0x11d157(0x97)][a4_0x11d157(0x9e)]=this[a4_0x11d157(0x97)][a4_0x11d157(0xb0)],this[a4_0x11d157(0x97)][a4_0x11d157(0xb0)]=()=>{const _0x44eb18=a4_0x11d157;this['builder']['withCapabilities'](caps),this[_0x44eb18(0x97)][_0x44eb18(0x95)](server);proxySettings&&proxySettings[_0x44eb18(0x9b)]&&this['builder'][_0x44eb18(0xaf)](proxySettings[_0x44eb18(0x9b)]);const _0x584759=this[_0x44eb18(0x97)][_0x44eb18(0x9e)]();return _0x584759['initQuit']=_0x584759[_0x44eb18(0xab)],_0x584759[_0x44eb18(0xab)]=_0x1d3a1f=>{const _0x5157fa=_0x44eb18;if(_0x1d3a1f==='quit'&&_0x584759[_0x5157fa(0xa9)])return _0x584759['initQuit']();return _0x1d3a1f!==_0x5157fa(0xab)&&(_0x584759['quitCalled']=!![]),new Promise(function(_0x1b2485){_0x1b2485();});},global[_0x44eb18(0xa0)]=_0x584759,_0x584759;},seleniumWebdriver[a4_0x11d157(0x88)]['prototype']['build']=()=>{return this['builder']['build']();},Before({'name':a4_0x11d157(0x99)},function(){global['__error_messages__']=[];}),After({'name':a4_0x11d157(0x99),'timeout':0x2710},function(_0x34c451,_0x414ef6){const _0x37c88f=a4_0x11d157;new Promise(async(_0x497733,_0x3491f0)=>{const _0x2f8f27=a4_0xf130;let _0x3e2ea1=![];try{await global[_0x2f8f27(0xa0)]['session_'],_0x3e2ea1=!![],await global[_0x2f8f27(0xa0)][_0x2f8f27(0xb4)](_0x2f8f27(0xad)+_0x34c451[_0x2f8f27(0x8d)][_0x2f8f27(0xae)]+_0x2f8f27(0x9f)),_0x34c451[_0x2f8f27(0x8c)]['status'][_0x2f8f27(0x94)]()==_0x2f8f27(0xb1)?await global[_0x2f8f27(0xa0)]['executeScript'](_0x2f8f27(0x8e)+JSON[_0x2f8f27(0xb2)](global['__error_messages__'][_0x2f8f27(0xa5)](_0x2f8f27(0xb3)))+'}}'):await global[_0x2f8f27(0xa0)][_0x2f8f27(0xb4)](_0x2f8f27(0x8b));}catch(_0x2b9fb1){}if(_0x3e2ea1)try{await global[_0x2f8f27(0xa0)]['quit'](_0x2f8f27(0xab)),_0x497733();}catch(_0x5787c0){_0x3491f0(_0x5787c0);}else _0x3491f0();})[_0x37c88f(0xac)](()=>_0x414ef6());});
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a0_0x5da1(_0x3fba4c,_0x3405ef){const _0x431079=a0_0x4310();return a0_0x5da1=function(_0x5da12d,_0x48a7cd){_0x5da12d=_0x5da12d-0x81;let _0x440ca0=_0x431079[_0x5da12d];return _0x440ca0;},a0_0x5da1(_0x3fba4c,_0x3405ef);}const a0_0x42325a=a0_0x5da1;function a0_0x4310(){const _0x2b7c34=['info','/jest.setup.js','testEnvironmentOptions','writeFileSync',';\x0a\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x20\x20','debug','\x20with\x20browserstack\x20jest\x20configs','3893961vhMxQt','/test_before.setup.js','/customTestRunnerTemplate.js','setupFiles','jest','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','serial__','11130516TzFHaN','jest_browserstack.config.js','4774184tohCKB','156023gVCayP','exports','capabilities','67420xkQGAi','../../helpers/helper','287150ixrDLr','config','jest.cmd','path','test','/customEnvironment.js','inherit','parallelsPerPlatform','platform','readFileSync','splice','\x0amodule.exports\x20=\x20config;','reporters','forEach','runner','join','\x0a\x20\x20\x20\x20','close','unlinkSync','modifyBrowserStackW3CCaps','18856BoCNem','parallels__','../../helpers/BrowserStackSetup','--config','platforms','isUndefined','cwd','Deleting\x20','maxWorkers','default','4uudcnd','useW3C','1505KvLIol','false','Getting\x20your\x20jest\x20configs\x20from\x20','testEnvironment','package.json','Getting\x20your\x20jest\x20configs\x20from\x20package.json','120PELVXK','modifyBrowserStackCaps','const\x20config='];a0_0x4310=function(){return _0x2b7c34;};return a0_0x4310();}(function(_0x578e5f,_0x3fc91b){const _0x5dbf0b=a0_0x5da1,_0x1e08de=_0x578e5f();while(!![]){try{const _0x2ad342=-parseInt(_0x5dbf0b(0x85))/0x1*(-parseInt(_0x5dbf0b(0xa8))/0x2)+-parseInt(_0x5dbf0b(0xba))/0x3+parseInt(_0x5dbf0b(0x84))/0x4+-parseInt(_0x5dbf0b(0x8a))/0x5*(parseInt(_0x5dbf0b(0xb0))/0x6)+parseInt(_0x5dbf0b(0xaa))/0x7*(parseInt(_0x5dbf0b(0x9e))/0x8)+parseInt(_0x5dbf0b(0x82))/0x9+-parseInt(_0x5dbf0b(0x88))/0xa;if(_0x2ad342===_0x3fc91b)break;else _0x1e08de['push'](_0x1e08de['shift']());}catch(_0x2e0f92){_0x1e08de['push'](_0x1e08de['shift']());}}}(a0_0x4310,0xc245e));const fs=require('fs'),path=require(a0_0x42325a(0x8d)),{spawn}=require('child_process'),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a0_0x42325a(0xa0)),helper=require(a0_0x42325a(0x89)),getUserJestConfigs=(_0x3a37ab,_0x4d0a13)=>{const _0x5fd557=a0_0x42325a,_0x27a67e=_0x4d0a13['findIndex'](_0x3fb514=>_0x3fb514=='--config');if(!helper['isUndefined'](_0x3a37ab[_0x5fd557(0x8b)])){logger[_0x5fd557(0xb3)](_0x5fd557(0xac)+_0x3a37ab[_0x5fd557(0x8b)]);const _0x23d950=require(path['join'](process[_0x5fd557(0xa4)](),_0x3a37ab[_0x5fd557(0x8b)]));return _0x4d0a13[_0x5fd557(0x94)](_0x27a67e,0x2),_0x23d950||{};}return logger[_0x5fd557(0xb3)](_0x5fd557(0xaf)),require(path[_0x5fd557(0x99)](process[_0x5fd557(0xa4)](),_0x5fd557(0xae)))[_0x5fd557(0xbe)]||{};},getSerial=(_0x19da06,_0x519db4)=>{const _0x2d4f94=a0_0x42325a;let _0x11aa63='true';return _0x19da06['length']>0x1&&(!_0x519db4['runInBand']&&(helper[_0x2d4f94(0xa3)](_0x519db4[_0x2d4f94(0xa6)])||_0x519db4[_0x2d4f94(0xa6)]>0x1))&&(_0x11aa63=_0x2d4f94(0xab)),_0x11aa63;},getMaxWorkers=(_0x5ac138,_0x48bbc5)=>{const _0x50377a=a0_0x42325a;let _0x1f2396=0x1;if(!helper[_0x50377a(0xa3)](_0x48bbc5['parallelsPerPlatform']))_0x1f2396=parseInt(_0x48bbc5[_0x50377a(0x91)]);else!helper[_0x50377a(0xa3)](_0x5ac138[_0x50377a(0xa6)])&&(_0x1f2396=_0x5ac138[_0x50377a(0xa6)]);return _0x1f2396;};function run(_0x51b93c,_0x2430d6){const _0x4702e9=a0_0x42325a,_0x2df591=new BrowserStackSetup(),_0x538cf5=getUserJestConfigs(_0x51b93c,_0x2430d6);logger['info'](_0x4702e9(0xbf));const _0x2b9382={..._0x538cf5};_0x2b9382[_0x4702e9(0xb5)]={'server':'https://hub.browserstack.com/wd/hub','environment':_0x538cf5[_0x4702e9(0xad)]};let _0x30538b=helper[_0x4702e9(0xa9)](_0x2df591[_0x4702e9(0x8b)]);const _0x5e39c0=[];_0x2df591['config'][_0x4702e9(0xa2)][_0x4702e9(0x97)]((_0x42a725,_0x5b68e8)=>{const _0x2142e4=_0x4702e9;if(_0x30538b)_0x5e39c0['push'](helper[_0x2142e4(0x9d)](_0x2df591[_0x2142e4(0x8b)],_0x5b68e8));else _0x5e39c0['push'](helper[_0x2142e4(0xb1)](_0x2df591[_0x2142e4(0x8b)],_0x5b68e8));}),_0x2b9382[_0x4702e9(0xb5)][_0x4702e9(0x87)]=_0x5e39c0,_0x2b9382[_0x4702e9(0xb5)][_0x4702e9(0x81)]=getSerial(_0x5e39c0,_0x51b93c),_0x2b9382[_0x4702e9(0xb5)][_0x4702e9(0x9f)]=getMaxWorkers(_0x51b93c,_0x2df591['config']),_0x2b9382[_0x4702e9(0xb5)]['proxySettings']=_0x2df591[_0x4702e9(0x8b)]['proxySettings'];const _0xfb59ad=_0x4702e9(0x83),_0x26450c=__dirname+'/customTestRunner.js',_0x23b016=__dirname+_0x4702e9(0xbc);_0x2b9382[_0x4702e9(0xad)]=__dirname+_0x4702e9(0x8f),_0x2b9382[_0x4702e9(0x98)]=_0x26450c,_0x2b9382['setupFilesAfterEnv']=[__dirname+_0x4702e9(0xb4)],_0x2b9382[_0x4702e9(0xbd)]=[__dirname+_0x4702e9(0xbb)],_0x2b9382[_0x4702e9(0x96)]=_0x2b9382[_0x4702e9(0x96)]||[_0x4702e9(0xa7)];let _0x467a97=fs[_0x4702e9(0x93)](_0x23b016);fs['writeFileSync'](_0x2b9382['runner'],_0x4702e9(0x9a)+_0x467a97+'\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20'+_0x2df591[_0x4702e9(0x8b)][_0x4702e9(0xa2)]['length']+_0x4702e9(0xb7)),logger[_0x4702e9(0xb3)]('Creating\x20'+_0xfb59ad+_0x4702e9(0xb9)),fs[_0x4702e9(0xb6)](_0xfb59ad,_0x4702e9(0xb2)+JSON['stringify'](_0x2b9382)+_0x4702e9(0x95)),logger[_0x4702e9(0xb3)]('Showing\x20jest\x20logs\x20and\x20reporter\x20logs.');const _0x181c3f=spawn(/^win/[_0x4702e9(0x8e)](process[_0x4702e9(0x92)])?_0x4702e9(0x8c):_0x4702e9(0xbe),[_0x4702e9(0xa1),_0xfb59ad,..._0x2430d6['slice'](0x1)],{'stdio':_0x4702e9(0x90)});_0x181c3f['on'](_0x4702e9(0x9b),async _0x1a1dc1=>{const _0x187b8c=_0x4702e9;logger[_0x187b8c(0xb8)]('child\x20process\x20exited\x20with\x20code\x20'+_0x1a1dc1),logger[_0x187b8c(0xb3)](_0x187b8c(0xa5)+_0xfb59ad),fs['unlinkSync'](_0xfb59ad),fs[_0x187b8c(0x9c)](_0x26450c);});}module[a0_0x42325a(0x86)]=run;
2
+ 'use strict';function a5_0x57f9(_0x538c23,_0x22c329){const _0x1e12c3=a5_0x1e12();return a5_0x57f9=function(_0x57f967,_0x2f87c0){_0x57f967=_0x57f967-0x1f0;let _0x214e3f=_0x1e12c3[_0x57f967];return _0x214e3f;},a5_0x57f9(_0x538c23,_0x22c329);}const a5_0x6b29d1=a5_0x57f9;(function(_0x2eeb0d,_0x4e69d1){const _0x1a8c0b=a5_0x57f9,_0x8494b3=_0x2eeb0d();while(!![]){try{const _0x276fa6=parseInt(_0x1a8c0b(0x228))/0x1*(-parseInt(_0x1a8c0b(0x20b))/0x2)+parseInt(_0x1a8c0b(0x215))/0x3*(parseInt(_0x1a8c0b(0x214))/0x4)+-parseInt(_0x1a8c0b(0x1f8))/0x5*(parseInt(_0x1a8c0b(0x223))/0x6)+parseInt(_0x1a8c0b(0x206))/0x7*(-parseInt(_0x1a8c0b(0x20d))/0x8)+-parseInt(_0x1a8c0b(0x20f))/0x9*(parseInt(_0x1a8c0b(0x233))/0xa)+parseInt(_0x1a8c0b(0x22f))/0xb*(parseInt(_0x1a8c0b(0x224))/0xc)+-parseInt(_0x1a8c0b(0x1fe))/0xd*(-parseInt(_0x1a8c0b(0x21b))/0xe);if(_0x276fa6===_0x4e69d1)break;else _0x8494b3['push'](_0x8494b3['shift']());}catch(_0x2ca662){_0x8494b3['push'](_0x8494b3['shift']());}}}(a5_0x1e12,0xea148));const fs=require('fs'),path=require('path'),{spawn}=require(a5_0x6b29d1(0x1f2)),logger=require(a5_0x6b29d1(0x1fd))[a5_0x6b29d1(0x1f5)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a5_0x6b29d1(0x22b)),constants=require('../utils/constants'),getUserJestConfigs=(_0x28441f,_0x17af73)=>{const _0x352cb0=a5_0x6b29d1,_0x4cde23=_0x17af73[_0x352cb0(0x202)](_0x4455d2=>_0x4455d2==_0x352cb0(0x222));if(!helper['isUndefined'](_0x28441f[_0x352cb0(0x21c)])){logger[_0x352cb0(0x22c)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x28441f[_0x352cb0(0x21c)]);const _0x395120=require(path[_0x352cb0(0x1f0)](process['cwd'](),_0x28441f[_0x352cb0(0x21c)]));return _0x17af73[_0x352cb0(0x21e)](_0x4cde23,0x2),_0x395120||{};}return logger[_0x352cb0(0x22c)]('Getting\x20your\x20jest\x20configs\x20from\x20package.json'),require(path[_0x352cb0(0x1f0)](process[_0x352cb0(0x200)](),'package.json'))[_0x352cb0(0x21f)]||{};},getSerial=(_0x556458,_0x399bd8)=>{const _0x28cabc=a5_0x6b29d1;let _0x291e9f=_0x28cabc(0x20a);return _0x556458['length']>0x1&&(!_0x399bd8[_0x28cabc(0x1fb)]&&(helper[_0x28cabc(0x22d)](_0x399bd8[_0x28cabc(0x226)])||_0x399bd8['maxWorkers']>0x1))&&(_0x291e9f=_0x28cabc(0x201)),_0x291e9f;},getMaxWorkers=(_0x274f18,_0x10e7f4)=>{const _0x42b590=a5_0x6b29d1;let _0x203016=0x1;if(!helper[_0x42b590(0x22d)](_0x10e7f4[_0x42b590(0x218)]))_0x203016=parseInt(_0x10e7f4['parallelsPerPlatform']);else!helper['isUndefined'](_0x274f18['maxWorkers'])&&(_0x203016=_0x274f18[_0x42b590(0x226)]);return _0x203016;};function run(_0xae944,_0x4a80c3){const _0x2dd8db=a5_0x6b29d1,_0x4690c3=new BrowserStackSetup();if(!_0x4690c3[_0x2dd8db(0x21c)])return;const _0x1a6e55=getUserJestConfigs(_0xae944,_0x4a80c3);logger[_0x2dd8db(0x22c)](_0x2dd8db(0x229));const _0x2658c1={..._0x1a6e55};_0x2658c1[_0x2dd8db(0x207)]={'server':constants[_0x2dd8db(0x213)],'environment':_0x1a6e55['testEnvironment']};let _0xf70ec7=helper['useW3C'](_0x4690c3[_0x2dd8db(0x21c)]);const _0x45cc4f=[];_0x4690c3[_0x2dd8db(0x21c)][_0x2dd8db(0x20c)][_0x2dd8db(0x1fc)]((_0x3aa3b0,_0x51eec7)=>{const _0x475804=_0x2dd8db;if(_0xf70ec7)_0x45cc4f['push'](helper[_0x475804(0x20e)](_0x4690c3[_0x475804(0x21c)],_0x51eec7));else _0x45cc4f['push'](helper['modifyBrowserStackCaps'](_0x4690c3[_0x475804(0x21c)],_0x51eec7));}),_0x2658c1[_0x2dd8db(0x207)]['capabilities']=_0x45cc4f,_0x2658c1[_0x2dd8db(0x207)][_0x2dd8db(0x1ff)]=getSerial(_0x45cc4f,_0xae944),_0x2658c1[_0x2dd8db(0x207)][_0x2dd8db(0x1f9)]=getMaxWorkers(_0xae944,_0x4690c3[_0x2dd8db(0x21c)]),_0x2658c1[_0x2dd8db(0x207)][_0x2dd8db(0x217)]=_0x4690c3[_0x2dd8db(0x21c)][_0x2dd8db(0x217)];const _0x5966a2=_0x2dd8db(0x1fa),_0x2c9f06=__dirname+_0x2dd8db(0x225),_0x416e95=__dirname+_0x2dd8db(0x1f7);_0x2658c1[_0x2dd8db(0x212)]=__dirname+'/customEnvironment.js',_0x2658c1[_0x2dd8db(0x208)]=_0x2c9f06,_0x2658c1[_0x2dd8db(0x203)]=[__dirname+_0x2dd8db(0x230)],_0x2658c1[_0x2dd8db(0x21a)]=[__dirname+_0x2dd8db(0x204)],_0x2658c1[_0x2dd8db(0x1f6)]=_0x2658c1[_0x2dd8db(0x1f6)]||['default'];let _0x20d8a8=fs[_0x2dd8db(0x216)](_0x416e95);fs[_0x2dd8db(0x210)](_0x2658c1['runner'],_0x2dd8db(0x211)+_0x20d8a8+'\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20'+_0x4690c3[_0x2dd8db(0x21c)][_0x2dd8db(0x20c)][_0x2dd8db(0x220)]+_0x2dd8db(0x219)),logger[_0x2dd8db(0x22c)](_0x2dd8db(0x22a)+_0x5966a2+_0x2dd8db(0x231)),fs[_0x2dd8db(0x210)](_0x5966a2,_0x2dd8db(0x1f3)+JSON[_0x2dd8db(0x1f4)](_0x2658c1)+_0x2dd8db(0x21d)),logger['info'](_0x2dd8db(0x1f1));const _0x4cc0bb=spawn(/^win/['test'](process[_0x2dd8db(0x209)])?_0x2dd8db(0x22e):_0x2dd8db(0x21f),[_0x2dd8db(0x222),_0x5966a2,..._0x4a80c3[_0x2dd8db(0x232)](0x1)],{'stdio':_0x2dd8db(0x205)});_0x4cc0bb['on']('close',async _0x2f712e=>{const _0x34cc1b=_0x2dd8db;logger[_0x34cc1b(0x221)]('child\x20process\x20exited\x20with\x20code\x20'+_0x2f712e),logger[_0x34cc1b(0x22c)]('Deleting\x20'+_0x5966a2),fs[_0x34cc1b(0x227)](_0x5966a2),fs[_0x34cc1b(0x227)](_0x2c9f06);});}function a5_0x1e12(){const _0x15b287=['Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','Creating\x20','../../helpers/helper','info','isUndefined','jest.cmd','22BYBUfx','/jest.setup.js','\x20with\x20browserstack\x20jest\x20configs','slice','710WlBXoa','join','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','child_process','const\x20config=','stringify','winstonLogger','reporters','/customTestRunnerTemplate.js','70AOzgFd','parallels__','jest_browserstack.config.js','runInBand','forEach','../../helpers/logger','2821YOleVI','serial__','cwd','false','findIndex','setupFilesAfterEnv','/test_before.setup.js','inherit','7720573NYzIUu','testEnvironmentOptions','runner','platform','true','2oFuwQm','platforms','8LfyrRD','modifyBrowserStackW3CCaps','36999wyZInL','writeFileSync','\x0a\x20\x20\x20\x20','testEnvironment','hubUrl','1228CSuLVQ','8016GkxarQ','readFileSync','proxySettings','parallelsPerPlatform',';\x0a\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x20\x20','setupFiles','264278xsvgyl','config','\x0amodule.exports\x20=\x20config;','splice','jest','length','debug','--config','713166jXGuJC','1393620HlRkyM','/customTestRunner.js','maxWorkers','unlinkSync','1131217nNumBx'];a5_0x1e12=function(){return _0x15b287;};return a5_0x1e12();}module['exports']=run;
@@ -1 +1 @@
1
- const a1_0x4d44e3=a1_0x1bab;(function(_0x1815d6,_0x122302){const _0x522657=a1_0x1bab,_0x305ca7=_0x1815d6();while(!![]){try{const _0x19f7a0=parseInt(_0x522657(0x1fd))/0x1+-parseInt(_0x522657(0x1da))/0x2*(-parseInt(_0x522657(0x1f7))/0x3)+parseInt(_0x522657(0x1f5))/0x4+-parseInt(_0x522657(0x1ed))/0x5+-parseInt(_0x522657(0x1f3))/0x6+parseInt(_0x522657(0x1d8))/0x7*(parseInt(_0x522657(0x1d9))/0x8)+-parseInt(_0x522657(0x1f9))/0x9;if(_0x19f7a0===_0x122302)break;else _0x305ca7['push'](_0x305ca7['shift']());}catch(_0x47b67c){_0x305ca7['push'](_0x305ca7['shift']());}}}(a1_0x32c7,0xeb3ab));const helper=require(a1_0x4d44e3(0x1e5)),_seleniumWebdriver=helper[a1_0x4d44e3(0x1e1)](),_proxy=helper[a1_0x4d44e3(0x1e6)]('selenium-webdriver/proxy.js'),SeleniumEnvironmentNode=helper[a1_0x4d44e3(0x1e6)]('jest-environment-node'),_seleniumWebdriver2=_interopRequireDefault(_seleniumWebdriver),_jestEnvironmentNode2=_interopRequireDefault(SeleniumEnvironmentNode);function _interopRequireDefault(_0x3d20b7){const _0x963530=a1_0x4d44e3;return _0x3d20b7&&_0x3d20b7[_0x963530(0x1e0)]?_0x3d20b7:{'default':_0x3d20b7};}function a1_0x1bab(_0x50de35,_0x18aa0e){const _0x32c7af=a1_0x32c7();return a1_0x1bab=function(_0x1bab08,_0xfdff24){_0x1bab08=_0x1bab08-0x1d6;let _0x58df72=_0x32c7af[_0x1bab08];return _0x58df72;},a1_0x1bab(_0x50de35,_0x18aa0e);}class CustomEnvironment extends _jestEnvironmentNode2[a1_0x4d44e3(0x1f0)]{constructor(_0x35c230){const _0x4e4960=a1_0x4d44e3;super(_0x35c230),_0x35c230[_0x4e4960(0x1ee)]=_0x35c230[_0x4e4960(0x1fa)]?_0x35c230[_0x4e4960(0x1fa)][_0x4e4960(0x1ee)]:_0x35c230[_0x4e4960(0x1ee)],this[_0x4e4960(0x1f1)]=_0x35c230[_0x4e4960(0x1ee)],this['capability']=_0x35c230[_0x4e4960(0x1fa)]?_0x35c230[_0x4e4960(0x1fa)][_0x4e4960(0x1e9)]:_0x35c230[_0x4e4960(0x1e9)],this['builder']=new _seleniumWebdriver2[(_0x4e4960(0x1f0))][(_0x4e4960(0x1fc))](),this['builder']['initBuild']=this[_0x4e4960(0x1e3)][_0x4e4960(0x1ec)],this['builder'][_0x4e4960(0x1ec)]=()=>{const _0x2edd75=_0x4e4960;return this[_0x2edd75(0x1e3)][_0x2edd75(0x1f2)](this['capability']),this[_0x2edd75(0x1e3)][_0x2edd75(0x1e4)](this[_0x2edd75(0x1f1)][_0x2edd75(0x1f6)]),this[_0x2edd75(0x1f1)][_0x2edd75(0x1f4)][_0x2edd75(0x1ef)]&&this[_0x2edd75(0x1e3)][_0x2edd75(0x1df)](this[_0x2edd75(0x1f1)]['proxySettings']['proxyUrl']),this[_0x2edd75(0x1d7)][_0x2edd75(0x1fb)]=this[_0x2edd75(0x1e3)]['initBuild'](),this[_0x2edd75(0x1d7)]['driver'][_0x2edd75(0x1e8)]=this['global']['driver'][_0x2edd75(0x1eb)],this[_0x2edd75(0x1d7)][_0x2edd75(0x1fb)][_0x2edd75(0x1eb)]=_0x85e668=>{const _0x269aa2=_0x2edd75;if(_0x85e668===_0x269aa2(0x1eb)&&this['global']['driver']['quitCalled'])return this[_0x269aa2(0x1d7)][_0x269aa2(0x1fb)][_0x269aa2(0x1e8)]();_0x85e668!==_0x269aa2(0x1eb)&&(this['global'][_0x269aa2(0x1fb)]['quitCalled']=!![]);},this[_0x2edd75(0x1d7)][_0x2edd75(0x1fb)];},this[_0x4e4960(0x1d7)][_0x4e4960(0x1e3)]=this[_0x4e4960(0x1e3)],this['global']['__webdriver']=_seleniumWebdriver2[_0x4e4960(0x1f0)],this[_0x4e4960(0x1d7)][_0x4e4960(0x1fe)][_0x4e4960(0x1fc)][_0x4e4960(0x1db)]['build']=()=>{return this['builder']['build']();},this[_0x4e4960(0x1e9)]['name']||this[_0x4e4960(0x1e9)][_0x4e4960(0x1e7)]?this[_0x4e4960(0x1d7)]['sessionNameProvided']=!![]:this[_0x4e4960(0x1d7)]['sessionNameProvided']=![],this[_0x4e4960(0x1d7)][_0x4e4960(0x1e2)]=async()=>{const _0x5278f6=_0x4e4960;await this[_0x5278f6(0x1d7)][_0x5278f6(0x1fb)][_0x5278f6(0x1eb)]();};}async[a1_0x4d44e3(0x1de)](){const _0x20fbf0=a1_0x4d44e3;this[_0x20fbf0(0x1d7)][_0x20fbf0(0x1fe)]['Builder'][_0x20fbf0(0x1db)][_0x20fbf0(0x1ec)]=this['builder'][_0x20fbf0(0x1ff)];}async[a1_0x4d44e3(0x1dc)](){}async[a1_0x4d44e3(0x1ea)](_0x2a9b1b,_0x384f77){const _0x14ada8=a1_0x4d44e3,{name:_0x577550}=_0x2a9b1b;_0x577550===_0x14ada8(0x1dd)&&(this['global'][_0x14ada8(0x1f8)]=_0x2a9b1b[_0x14ada8(0x1d6)]);}}module['exports']=CustomEnvironment;function a1_0x32c7(){const _0x33911c=['7596606WgAoeF','proxySettings','5907260bHWARq','server','7539VPbbQr','testContext','3033009HUduri','projectConfig','driver','Builder','945188lwogpX','__webdriver','initBuild','test','global','1050KyuYky','76416mfANOq','346oHsycW','prototype','setup','test_start','teardown','usingWebDriverProxy','__esModule','requireSeleniumWebdriver','cleanup','builder','usingServer','../../helpers/helper','requireModule','sessionName','initQuit','capability','handleTestEvent','quit','build','8614755ICFxfN','testEnvironmentOptions','proxyUrl','default','configuration','withCapabilities'];a1_0x32c7=function(){return _0x33911c;};return a1_0x32c7();}
1
+ const a6_0x36cd67=a6_0x2805;function a6_0x1ca2(){const _0x35b50c=['242790tdxtGH','__webdriver','quitCalled','requireSeleniumWebdriver','builder','testEnvironmentOptions','exports','name','15mXeweL','withCapabilities','usingWebDriverProxy','31WZwixQ','Builder','initQuit','quit','projectConfig','requireModule','usingServer','initBuild','101899fxYPFT','setup','7076799FJttZk','capability','1139388SOErVU','proxySettings','165Gbsxqz','build','196960oHXtJV','sessionNameProvided','modifyCommand','cleanup','teardown','configuration','232cWQaaq','2848176moQLtT','test_start','driver','jest-environment-node','prototype','server','12394gZgIaV','test','proxyUrl','global','default','../../helpers/helper','__esModule'];a6_0x1ca2=function(){return _0x35b50c;};return a6_0x1ca2();}(function(_0x1d2fb1,_0x13f5d1){const _0x14b585=a6_0x2805,_0x1f6571=_0x1d2fb1();while(!![]){try{const _0x39b80e=parseInt(_0x14b585(0x18a))/0x1*(parseInt(_0x14b585(0x178))/0x2)+-parseInt(_0x14b585(0x196))/0x3+-parseInt(_0x14b585(0x16b))/0x4*(-parseInt(_0x14b585(0x187))/0x5)+parseInt(_0x14b585(0x172))/0x6+parseInt(_0x14b585(0x192))/0x7*(-parseInt(_0x14b585(0x171))/0x8)+parseInt(_0x14b585(0x194))/0x9+-parseInt(_0x14b585(0x17f))/0xa*(parseInt(_0x14b585(0x198))/0xb);if(_0x39b80e===_0x13f5d1)break;else _0x1f6571['push'](_0x1f6571['shift']());}catch(_0x2f350a){_0x1f6571['push'](_0x1f6571['shift']());}}}(a6_0x1ca2,0x6a20c));function a6_0x2805(_0x2b2e71,_0x1115c3){const _0x1ca21e=a6_0x1ca2();return a6_0x2805=function(_0x2805c5,_0x427c29){_0x2805c5=_0x2805c5-0x16a;let _0x4361ec=_0x1ca21e[_0x2805c5];return _0x4361ec;},a6_0x2805(_0x2b2e71,_0x1115c3);}const helper=require(a6_0x36cd67(0x17d)),_seleniumWebdriver=helper[a6_0x36cd67(0x182)](),SeleniumEnvironmentNode=helper[a6_0x36cd67(0x18f)](a6_0x36cd67(0x175)),_seleniumWebdriver2=_interopRequireDefault(_seleniumWebdriver),_jestEnvironmentNode2=_interopRequireDefault(SeleniumEnvironmentNode);function _interopRequireDefault(_0x5b3230){const _0x16c800=a6_0x36cd67;return _0x5b3230&&_0x5b3230[_0x16c800(0x17e)]?_0x5b3230:{'default':_0x5b3230};}helper[a6_0x36cd67(0x16d)]();class CustomEnvironment extends _jestEnvironmentNode2['default']{constructor(_0xdcc57){const _0x252c1b=a6_0x36cd67;super(_0xdcc57),_0xdcc57['testEnvironmentOptions']=_0xdcc57[_0x252c1b(0x18e)]?_0xdcc57['projectConfig']['testEnvironmentOptions']:_0xdcc57[_0x252c1b(0x184)],this['configuration']=_0xdcc57['testEnvironmentOptions'],this[_0x252c1b(0x195)]=_0xdcc57[_0x252c1b(0x18e)]?_0xdcc57[_0x252c1b(0x18e)][_0x252c1b(0x195)]:_0xdcc57[_0x252c1b(0x195)],this[_0x252c1b(0x183)]=new _seleniumWebdriver2[(_0x252c1b(0x17c))]['Builder'](),this['builder'][_0x252c1b(0x191)]=this[_0x252c1b(0x183)][_0x252c1b(0x16a)],this[_0x252c1b(0x183)][_0x252c1b(0x16a)]=()=>{const _0x296e6b=_0x252c1b;return this[_0x296e6b(0x183)][_0x296e6b(0x188)](this['capability']),this[_0x296e6b(0x183)][_0x296e6b(0x190)](this[_0x296e6b(0x170)][_0x296e6b(0x177)]),this['configuration']['proxySettings']['proxyUrl']&&this[_0x296e6b(0x183)][_0x296e6b(0x189)](this[_0x296e6b(0x170)][_0x296e6b(0x197)][_0x296e6b(0x17a)]),this[_0x296e6b(0x17b)][_0x296e6b(0x174)]=this[_0x296e6b(0x183)][_0x296e6b(0x191)](),this['global'][_0x296e6b(0x174)][_0x296e6b(0x18c)]=this[_0x296e6b(0x17b)]['driver'][_0x296e6b(0x18d)],this[_0x296e6b(0x17b)][_0x296e6b(0x174)][_0x296e6b(0x18d)]=_0xb803c6=>{const _0x47d760=_0x296e6b;if(_0xb803c6==='quit'&&this[_0x47d760(0x17b)][_0x47d760(0x174)][_0x47d760(0x181)])return this['global'][_0x47d760(0x174)]['initQuit']();_0xb803c6!==_0x47d760(0x18d)&&(this['global']['driver'][_0x47d760(0x181)]=!![]);},this['global'][_0x296e6b(0x174)];},this[_0x252c1b(0x17b)][_0x252c1b(0x183)]=this[_0x252c1b(0x183)],this[_0x252c1b(0x17b)][_0x252c1b(0x180)]=_seleniumWebdriver2[_0x252c1b(0x17c)],this[_0x252c1b(0x17b)][_0x252c1b(0x180)][_0x252c1b(0x18b)][_0x252c1b(0x176)][_0x252c1b(0x16a)]=()=>{const _0x4d07a0=_0x252c1b;return this[_0x4d07a0(0x183)]['build']();},this[_0x252c1b(0x195)][_0x252c1b(0x186)]||this[_0x252c1b(0x195)]['sessionName']?this[_0x252c1b(0x17b)][_0x252c1b(0x16c)]=!![]:this[_0x252c1b(0x17b)]['sessionNameProvided']=![],this[_0x252c1b(0x17b)][_0x252c1b(0x16e)]=async()=>{const _0x1adee8=_0x252c1b;await this['global'][_0x1adee8(0x174)][_0x1adee8(0x18d)]();};}async[a6_0x36cd67(0x16f)](){const _0x348df5=a6_0x36cd67;this[_0x348df5(0x17b)][_0x348df5(0x180)]['Builder']['prototype'][_0x348df5(0x16a)]=this[_0x348df5(0x183)][_0x348df5(0x191)];}async[a6_0x36cd67(0x193)](){}async['handleTestEvent'](_0x15bb4e,_0x42f294){const _0x1d65fc=a6_0x36cd67,{name:_0x329dc6}=_0x15bb4e;_0x329dc6===_0x1d65fc(0x173)&&(this[_0x1d65fc(0x17b)]['testContext']=_0x15bb4e[_0x1d65fc(0x179)]);}}module[a6_0x36cd67(0x185)]=CustomEnvironment;
@@ -1 +1 @@
1
- 'use strict';const a2_0x4de82d=a2_0x3324;(function(_0x5c7c3d,_0x50027a){const _0x107c59=a2_0x3324,_0x36fc5f=_0x5c7c3d();while(!![]){try{const _0x39b0e7=-parseInt(_0x107c59(0xfe))/0x1*(parseInt(_0x107c59(0xff))/0x2)+-parseInt(_0x107c59(0x112))/0x3+parseInt(_0x107c59(0x113))/0x4*(-parseInt(_0x107c59(0x107))/0x5)+-parseInt(_0x107c59(0x104))/0x6*(parseInt(_0x107c59(0x102))/0x7)+parseInt(_0x107c59(0x116))/0x8+-parseInt(_0x107c59(0xfc))/0x9*(parseInt(_0x107c59(0x103))/0xa)+-parseInt(_0x107c59(0x10e))/0xb*(-parseInt(_0x107c59(0x115))/0xc);if(_0x39b0e7===_0x50027a)break;else _0x36fc5f['push'](_0x36fc5f['shift']());}catch(_0x435656){_0x36fc5f['push'](_0x36fc5f['shift']());}}}(a2_0x90a9,0x79b4f));function a2_0x90a9(){const _0x17beff=['config','63xYONyu','exports','8809wttXTl','16aJnISk','default','slice','7dcsFDG','997170tmNmqO','5048382lkRWzW','jest-runner','_globalConfig','5555llPejI','testEnvironmentOptions','length','freeze','context','defineProperty','push','22DlXsTi','false','runTests','__esModule','1176846HGLfXx','3068kQMIFF','parallels__','18611076mtpjpq','2007776pykkWA','../../helpers/helper'];a2_0x90a9=function(){return _0x17beff;};return a2_0x90a9();}const {requireModule}=require(a2_0x4de82d(0x117));Object[a2_0x4de82d(0x10c)](exports,a2_0x4de82d(0x111),{'value':!![]}),exports[a2_0x4de82d(0x100)]=void 0x0;function _interopRequireDefault(_0x3f73d0){const _0x22b4cd=a2_0x4de82d;return _0x3f73d0&&_0x3f73d0[_0x22b4cd(0x111)]?_0x3f73d0:{'default':_0x3f73d0};}function a2_0x3324(_0x30cd2d,_0x56cbdb){const _0x90a9ad=a2_0x90a9();return a2_0x3324=function(_0x3324ff,_0x4330b8){_0x3324ff=_0x3324ff-0xfb;let _0x182f57=_0x90a9ad[_0x3324ff];return _0x182f57;},a2_0x3324(_0x30cd2d,_0x56cbdb);}const JestRunner=_interopRequireDefault(requireModule(a2_0x4de82d(0x105)))[a2_0x4de82d(0x100)];class TestRunner extends JestRunner{constructor(..._0x14d285){super(..._0x14d285);}[a2_0x4de82d(0x110)](..._0x52b088){const _0x415f37=a2_0x4de82d,_0x4b47f7=_0x52b088[0x0],_0x27f98b=_0x52b088[_0x52b088[_0x415f37(0x109)]-0x1],_0x6d4a12=_0x4b47f7[0x0][_0x415f37(0x10b)][_0x415f37(0xfb)][_0x415f37(0x108)]['capabilities'],_0x5bec39=_0x4b47f7[0x0]['context']['config'][_0x415f37(0x108)][_0x415f37(0x114)];_0x5bec39&&(this[_0x415f37(0x106)]=Object[_0x415f37(0x10a)]({...this['_globalConfig'],'maxWorkers':_0x5bec39*_0x6d4a12[_0x415f37(0x109)]}));if(_0x4b47f7[0x0][_0x415f37(0x10b)][_0x415f37(0xfb)][_0x415f37(0x108)]['serial__']==_0x415f37(0x10f))_0x27f98b&&(_0x27f98b['serial']=![]);const _0x555ff6=[];for(let _0x41e9a6=0x0;_0x41e9a6<_0x4b47f7['length'];_0x41e9a6++){const _0x45dc38=[];_0x6d4a12['forEach'](_0x90fa00=>{const _0x58502b=_0x415f37;let _0xc08897={..._0x4b47f7[_0x41e9a6]};_0xc08897[_0x58502b(0x10b)]=Object['freeze']({..._0xc08897[_0x58502b(0x10b)],'config':{..._0xc08897['context'][_0x58502b(0xfb)],'capability':_0x90fa00}}),_0x45dc38[_0x58502b(0x10d)](_0xc08897);}),_0x555ff6[_0x415f37(0x10d)](..._0x45dc38);}return super[_0x415f37(0x110)](_0x555ff6,..._0x52b088[_0x415f37(0x101)](0x1));}}module[a2_0x4de82d(0xfd)]=TestRunner;
1
+ 'use strict';function a7_0x2d55(_0x5021a1,_0x5db26e){const _0x376bb2=a7_0x376b();return a7_0x2d55=function(_0x2d55b1,_0x4306fd){_0x2d55b1=_0x2d55b1-0x144;let _0x1eeea8=_0x376bb2[_0x2d55b1];return _0x1eeea8;},a7_0x2d55(_0x5021a1,_0x5db26e);}const a7_0xdba02f=a7_0x2d55;(function(_0x2d4b99,_0x4b173d){const _0x5b283e=a7_0x2d55,_0x4af843=_0x2d4b99();while(!![]){try{const _0x1f0c5e=parseInt(_0x5b283e(0x15b))/0x1*(parseInt(_0x5b283e(0x148))/0x2)+-parseInt(_0x5b283e(0x14c))/0x3*(-parseInt(_0x5b283e(0x155))/0x4)+parseInt(_0x5b283e(0x15c))/0x5+parseInt(_0x5b283e(0x14a))/0x6*(-parseInt(_0x5b283e(0x14e))/0x7)+parseInt(_0x5b283e(0x149))/0x8+-parseInt(_0x5b283e(0x150))/0x9+-parseInt(_0x5b283e(0x14d))/0xa;if(_0x1f0c5e===_0x4b173d)break;else _0x4af843['push'](_0x4af843['shift']());}catch(_0x441b16){_0x4af843['push'](_0x4af843['shift']());}}}(a7_0x376b,0xdac8f));const {requireModule}=require('../../helpers/helper');Object[a7_0xdba02f(0x145)](exports,a7_0xdba02f(0x154),{'value':!![]}),exports[a7_0xdba02f(0x152)]=void 0x0;function _interopRequireDefault(_0x4424b4){const _0x3cf6dd=a7_0xdba02f;return _0x4424b4&&_0x4424b4[_0x3cf6dd(0x154)]?_0x4424b4:{'default':_0x4424b4};}const JestRunner=_interopRequireDefault(requireModule(a7_0xdba02f(0x159)))[a7_0xdba02f(0x152)];class TestRunner extends JestRunner{constructor(..._0x2c7cea){super(..._0x2c7cea);}['runTests'](..._0x59726e){const _0x3b1593=a7_0xdba02f,_0x4f4aad=_0x59726e[0x0],_0x437ce1=_0x59726e[_0x59726e['length']-0x1],_0x329d90=_0x4f4aad[0x0]['context'][_0x3b1593(0x15a)]['testEnvironmentOptions']['capabilities'],_0x2fb37e=_0x4f4aad[0x0]['context'][_0x3b1593(0x15a)][_0x3b1593(0x14f)]['parallels__'];_0x2fb37e&&(this['_globalConfig']=Object[_0x3b1593(0x156)]({...this[_0x3b1593(0x15d)],'maxWorkers':_0x2fb37e*_0x329d90[_0x3b1593(0x157)]}));if(_0x4f4aad[0x0][_0x3b1593(0x14b)]['config']['testEnvironmentOptions'][_0x3b1593(0x147)]==_0x3b1593(0x146))_0x437ce1&&(_0x437ce1[_0x3b1593(0x144)]=![]);const _0x3a89b9=[];for(let _0x286c3f=0x0;_0x286c3f<_0x4f4aad[_0x3b1593(0x157)];_0x286c3f++){const _0x67801f=[];_0x329d90['forEach'](_0x138554=>{const _0x12d0c3=_0x3b1593;let _0x4082d9={..._0x4f4aad[_0x286c3f]};_0x4082d9[_0x12d0c3(0x14b)]=Object[_0x12d0c3(0x156)]({..._0x4082d9[_0x12d0c3(0x14b)],'config':{..._0x4082d9[_0x12d0c3(0x14b)][_0x12d0c3(0x15a)],'capability':_0x138554}}),_0x67801f[_0x12d0c3(0x153)](_0x4082d9);}),_0x3a89b9[_0x3b1593(0x153)](..._0x67801f);}return super[_0x3b1593(0x151)](_0x3a89b9,..._0x59726e['slice'](0x1));}}function a7_0x376b(){const _0x51ccf4=['testEnvironmentOptions','2078613DQMrov','runTests','default','push','__esModule','12nnDKgN','freeze','length','exports','jest-runner','config','2033lKwKxZ','998025swvWaK','_globalConfig','serial','defineProperty','false','serial__','298lgXTHR','12264936vjsKZc','6HenWDp','context','959382XXregc','15974490YJsVcR','1893304RCIYGx'];a7_0x376b=function(){return _0x51ccf4;};return a7_0x376b();}module[a7_0xdba02f(0x158)]=TestRunner;
@@ -1 +1 @@
1
- (function(_0x4967d6,_0x5df481){const _0x1130aa=a3_0x256f,_0x175c0c=_0x4967d6();while(!![]){try{const _0x15e1f2=-parseInt(_0x1130aa(0x1cb))/0x1+parseInt(_0x1130aa(0x1be))/0x2+-parseInt(_0x1130aa(0x1d6))/0x3+parseInt(_0x1130aa(0x1c8))/0x4+-parseInt(_0x1130aa(0x1c3))/0x5+parseInt(_0x1130aa(0x1ce))/0x6+-parseInt(_0x1130aa(0x1d1))/0x7*(-parseInt(_0x1130aa(0x1d4))/0x8);if(_0x15e1f2===_0x5df481)break;else _0x175c0c['push'](_0x175c0c['shift']());}catch(_0x516ca1){_0x175c0c['push'](_0x175c0c['shift']());}}}(a3_0x2aaa,0xdfe68));function a3_0x256f(_0x54c5ca,_0x57fc67){const _0x2aaac5=a3_0x2aaa();return a3_0x256f=function(_0x256f27,_0x566a9f){_0x256f27=_0x256f27-0x1bb;let _0x3d95a2=_0x2aaac5[_0x256f27];return _0x3d95a2;},a3_0x256f(_0x54c5ca,_0x57fc67);}function a3_0x2aaa(){const _0x3c72b9=['1573188LYwRIV','description','undefined','1407978ayzlyy','\x22,\x22level\x22:\x20\x22info\x22}}','errors','434lAUOWT','\x20|\x20','quit','86992mKfxtO','name','143730RRwExT','executeScript','stringify','currentTest','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','\x22}}','2741752pIORWB','failedExpectations','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22passed\x22,\x20\x22reason\x22:\x20\x22','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22failed\x22,\x20\x22reason\x22:\x20\x22','message','5117450qXXSJZ','replace','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Passed\x20-\x20','getEnv','length','5127828QIpzIm','getState','slice'];a3_0x2aaa=function(){return _0x3c72b9;};return a3_0x2aaa();}const failedResults=[];function stripUnicode(_0x28c740){const _0x4cb634=a3_0x256f;return _0x28c740[_0x4cb634(0x1c4)](/\\u001b\[.*?m/g,'')[_0x4cb634(0x1ca)](0x1,-0x1);}async function setContext(){const _0x2537dc=a3_0x256f;if(!sessionNameProvided){let _0x2c515b=expect[_0x2537dc(0x1c9)]()['currentTestName'];await driver[_0x2537dc(0x1d7)](_0x2537dc(0x1bc)+_0x2c515b+_0x2537dc(0x1bd));}let _0x3fa747=null,_0x6c3eaf=![];typeof jasmine!==_0x2537dc(0x1cd)?jasmine[_0x2537dc(0x1bb)]['failedExpectations']&&jasmine['currentTest'][_0x2537dc(0x1bf)][_0x2537dc(0x1c7)]>0x0?(_0x6c3eaf=!![],_0x3fa747=stripUnicode(JSON[_0x2537dc(0x1d8)](jasmine[_0x2537dc(0x1bb)]['failedExpectations'][0x0][_0x2537dc(0x1c2)]))):_0x3fa747=jasmine[_0x2537dc(0x1bb)][_0x2537dc(0x1cc)]:testContext['errors']&&testContext[_0x2537dc(0x1d0)][_0x2537dc(0x1c7)]>0x0?(_0x6c3eaf=!![],_0x3fa747=stripUnicode(JSON['stringify'](testContext[_0x2537dc(0x1d0)][0x0][0x0][_0x2537dc(0x1c2)]||testContext[_0x2537dc(0x1d0)][0x0][0x0]))):_0x3fa747=testContext[_0x2537dc(0x1d5)],_0x6c3eaf?(failedResults['push'](_0x3fa747),await driver[_0x2537dc(0x1d7)](_0x2537dc(0x1c1)+_0x3fa747+_0x2537dc(0x1bd)),await driver[_0x2537dc(0x1d7)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Failed\x20-\x20'+_0x3fa747+'\x22,\x22level\x22:\x20\x22error\x22}}')):(await driver[_0x2537dc(0x1d7)](_0x2537dc(0x1c0)+_0x3fa747+_0x2537dc(0x1bd)),await driver['executeScript'](_0x2537dc(0x1c5)+_0x3fa747+_0x2537dc(0x1cf)));}beforeAll(async()=>{const _0x480328=a3_0x256f;typeof jasmine!==_0x480328(0x1cd)&&jasmine[_0x480328(0x1c6)]()['addReporter']({'specStarted':_0x4fbb29=>{const _0x200a89=_0x480328;jasmine[_0x200a89(0x1bb)]=_0x4fbb29;}});}),beforeEach(async()=>{}),afterEach(async()=>{const _0x52dbfd=a3_0x256f;await setContext(),await driver[_0x52dbfd(0x1d3)](_0x52dbfd(0x1d3));}),afterAll(async()=>{const _0x2b71a6=a3_0x256f;try{await driver['session_'],failedResults[_0x2b71a6(0x1c7)]>0x0&&await driver[_0x2b71a6(0x1d7)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22failed\x22,\x20\x22reason\x22:\x20\x22'+failedResults['join'](_0x2b71a6(0x1d2))+_0x2b71a6(0x1bd)),await driver['quit'](_0x2b71a6(0x1d3));}catch(_0x8e5394){}});
1
+ (function(_0x3416a1,_0x318c75){const _0x339eb3=a8_0x326c,_0x5c7e47=_0x3416a1();while(!![]){try{const _0x2839f8=-parseInt(_0x339eb3(0x1d9))/0x1+-parseInt(_0x339eb3(0x1d8))/0x2+-parseInt(_0x339eb3(0x1e2))/0x3*(-parseInt(_0x339eb3(0x1e4))/0x4)+parseInt(_0x339eb3(0x1ed))/0x5+-parseInt(_0x339eb3(0x1da))/0x6*(parseInt(_0x339eb3(0x1eb))/0x7)+-parseInt(_0x339eb3(0x1f6))/0x8*(parseInt(_0x339eb3(0x1f8))/0x9)+parseInt(_0x339eb3(0x1db))/0xa;if(_0x2839f8===_0x318c75)break;else _0x5c7e47['push'](_0x5c7e47['shift']());}catch(_0x269099){_0x5c7e47['push'](_0x5c7e47['shift']());}}}(a8_0x9efe,0x3bcaf));function a8_0x9efe(){const _0x26ee34=['currentTest','length','getEnv','errors','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Failed\x20-\x20','name','21zadWjm','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22passed\x22,\x20\x22reason\x22:\x20\x22','68516YowGrn','undefined','stringify','addReporter','quit','\x20|\x20','executeScript','77dabCPu','slice','1040230WiGOrw','description','failedExpectations','message','\x22,\x22level\x22:\x20\x22error\x22}}','push','\x22}}','getState','currentTestName','64oeFehE','session_','442638QnVkLX','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','\x22,\x22level\x22:\x20\x22info\x22}}','513398vlRCnB','174091HXvSJj','128274tbVMqD','9763770XpQYbE'];a8_0x9efe=function(){return _0x26ee34;};return a8_0x9efe();}const failedResults=[];function a8_0x326c(_0x3d0449,_0x2b8f8a){const _0x9efea6=a8_0x9efe();return a8_0x326c=function(_0x326c3f,_0x5cd089){_0x326c3f=_0x326c3f-0x1d7;let _0x942bf8=_0x9efea6[_0x326c3f];return _0x942bf8;},a8_0x326c(_0x3d0449,_0x2b8f8a);}function stripUnicode(_0x46dfd1){const _0x305cdb=a8_0x326c;return _0x46dfd1['replace'](/\\u001b\[.*?m/g,'')[_0x305cdb(0x1ec)](0x1,-0x1);}async function setContext(){const _0x230ca5=a8_0x326c;if(!sessionNameProvided){let _0x228299=expect[_0x230ca5(0x1f4)]()[_0x230ca5(0x1f5)];await driver['executeScript'](_0x230ca5(0x1f9)+_0x228299+_0x230ca5(0x1f3));}let _0x1cba31=null,_0x15ff1f=![];typeof jasmine!==_0x230ca5(0x1e5)?jasmine[_0x230ca5(0x1dc)][_0x230ca5(0x1ef)]&&jasmine[_0x230ca5(0x1dc)][_0x230ca5(0x1ef)]['length']>0x0?(_0x15ff1f=!![],_0x1cba31=stripUnicode(JSON[_0x230ca5(0x1e6)](jasmine['currentTest'][_0x230ca5(0x1ef)][0x0][_0x230ca5(0x1f0)]))):_0x1cba31=jasmine[_0x230ca5(0x1dc)][_0x230ca5(0x1ee)]:testContext[_0x230ca5(0x1df)]&&testContext[_0x230ca5(0x1df)][_0x230ca5(0x1dd)]>0x0?(_0x15ff1f=!![],_0x1cba31=stripUnicode(JSON[_0x230ca5(0x1e6)](testContext['errors'][0x0][0x0][_0x230ca5(0x1f0)]||testContext['errors'][0x0][0x0]))):_0x1cba31=testContext[_0x230ca5(0x1e1)],_0x15ff1f?(failedResults[_0x230ca5(0x1f2)](_0x1cba31),await driver[_0x230ca5(0x1ea)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22failed\x22,\x20\x22reason\x22:\x20\x22'+_0x1cba31+_0x230ca5(0x1f3)),await driver[_0x230ca5(0x1ea)](_0x230ca5(0x1e0)+_0x1cba31+_0x230ca5(0x1f1))):(await driver['executeScript'](_0x230ca5(0x1e3)+_0x1cba31+_0x230ca5(0x1f3)),await driver[_0x230ca5(0x1ea)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Passed\x20-\x20'+_0x1cba31+_0x230ca5(0x1d7)));}beforeAll(async()=>{const _0x36ac04=a8_0x326c;typeof jasmine!==_0x36ac04(0x1e5)&&jasmine[_0x36ac04(0x1de)]()[_0x36ac04(0x1e7)]({'specStarted':_0x1c9bb9=>{const _0x6c2d8=_0x36ac04;jasmine[_0x6c2d8(0x1dc)]=_0x1c9bb9;}});}),beforeEach(async()=>{}),afterEach(async()=>{const _0x3c0433=a8_0x326c;await setContext(),await driver[_0x3c0433(0x1e8)](_0x3c0433(0x1e8));}),afterAll(async()=>{const _0x44f5a4=a8_0x326c;try{await driver[_0x44f5a4(0x1f7)],failedResults[_0x44f5a4(0x1dd)]>0x0&&await driver['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22failed\x22,\x20\x22reason\x22:\x20\x22'+failedResults['join'](_0x44f5a4(0x1e9))+_0x44f5a4(0x1f3)),await driver[_0x44f5a4(0x1e8)](_0x44f5a4(0x1e8));}catch(_0x247e5a){}});
@@ -1 +1 @@
1
- const a4_0x4ef07e=a4_0x4831;(function(_0x4be776,_0xd9335c){const _0x3bb461=a4_0x4831,_0x2988e4=_0x4be776();while(!![]){try{const _0x2fe68d=-parseInt(_0x3bb461(0x1e6))/0x1*(parseInt(_0x3bb461(0x1ed))/0x2)+-parseInt(_0x3bb461(0x1e3))/0x3*(parseInt(_0x3bb461(0x1e8))/0x4)+parseInt(_0x3bb461(0x1e1))/0x5*(parseInt(_0x3bb461(0x1ef))/0x6)+parseInt(_0x3bb461(0x1df))/0x7*(-parseInt(_0x3bb461(0x1ec))/0x8)+-parseInt(_0x3bb461(0x1e5))/0x9+parseInt(_0x3bb461(0x1e4))/0xa+parseInt(_0x3bb461(0x1e0))/0xb*(parseInt(_0x3bb461(0x1e2))/0xc);if(_0x2fe68d===_0xd9335c)break;else _0x2988e4['push'](_0x2988e4['shift']());}catch(_0x2a221b){_0x2988e4['push'](_0x2988e4['shift']());}}}(a4_0x4797,0xd9e8b));function a4_0x4831(_0x2c7ebb,_0x2f5c1c){const _0x479773=a4_0x4797();return a4_0x4831=function(_0x4831c4,_0x239761){_0x4831c4=_0x4831c4-0x1dd;let _0x1dad0c=_0x479773[_0x4831c4];return _0x1dad0c;},a4_0x4831(_0x2c7ebb,_0x2f5c1c);}const {requireModule}=require(a4_0x4ef07e(0x1dd));function a4_0x4797(){const _0x2e7c30=['15LRnJis','3684dfjoKE','9UsjoyM','17588560OAvAAV','1021797aMWQgh','3mDZMrs','prototype','1594244DpSEnN','build','../../helpers/setKeepAlive','selenium-webdriver','208OcHBpg','516674TSIkCC','Builder','2793702QwAnYz','../../helpers/helper','until','188601dGRaOI','18689mKrHfl'];a4_0x4797=function(){return _0x2e7c30;};return a4_0x4797();}require(a4_0x4ef07e(0x1ea))();const __wd__=requireModule(a4_0x4ef07e(0x1eb));__wd__['until']=__webdriver[a4_0x4ef07e(0x1de)],__wd__['By']=__webdriver['By'],__wd__[a4_0x4ef07e(0x1ee)][a4_0x4ef07e(0x1e7)][a4_0x4ef07e(0x1e9)]=()=>{return builder['build']();};
1
+ const a9_0x4564ed=a9_0x4ace;(function(_0x11bb0b,_0x4af4ce){const _0x306083=a9_0x4ace,_0x10457c=_0x11bb0b();while(!![]){try{const _0x55a6a3=-parseInt(_0x306083(0x1c8))/0x1*(-parseInt(_0x306083(0x1ca))/0x2)+-parseInt(_0x306083(0x1d3))/0x3+parseInt(_0x306083(0x1d2))/0x4*(-parseInt(_0x306083(0x1d4))/0x5)+parseInt(_0x306083(0x1d0))/0x6+-parseInt(_0x306083(0x1ce))/0x7+-parseInt(_0x306083(0x1d1))/0x8+-parseInt(_0x306083(0x1cd))/0x9*(-parseInt(_0x306083(0x1cc))/0xa);if(_0x55a6a3===_0x4af4ce)break;else _0x10457c['push'](_0x10457c['shift']());}catch(_0x375a8d){_0x10457c['push'](_0x10457c['shift']());}}}(a9_0x15bd,0x785b2));function a9_0x4ace(_0x426a4a,_0x55e878){const _0x15bdc3=a9_0x15bd();return a9_0x4ace=function(_0x4ace80,_0x99036){_0x4ace80=_0x4ace80-0x1c4;let _0x335f50=_0x15bdc3[_0x4ace80];return _0x335f50;},a9_0x4ace(_0x426a4a,_0x55e878);}const {requireModule}=require(a9_0x4564ed(0x1c9));require(a9_0x4564ed(0x1c7))();const __wd__=requireModule(a9_0x4564ed(0x1c5));function a9_0x15bd(){const _0x2dfc7b=['92912OWWugf','prototype','370TGPFDg','221868AWNRKs','2673146FwlmZF','until','1488612FGNTVJ','78528sQqfmO','144580oqzHKp','531951MAoVlk','65jQAMnh','Builder','selenium-webdriver','build','../../helpers/setKeepAlive','8YsHOdI','../../helpers/helper'];a9_0x15bd=function(){return _0x2dfc7b;};return a9_0x15bd();}__wd__[a9_0x4564ed(0x1cf)]=__webdriver[a9_0x4564ed(0x1cf)],__wd__['By']=__webdriver['By'],__wd__[a9_0x4564ed(0x1c4)][a9_0x4564ed(0x1cb)][a9_0x4564ed(0x1c6)]=()=>{const _0x3f903c=a9_0x4564ed;return builder[_0x3f903c(0x1c6)]();};
@@ -0,0 +1 @@
1
+ const a10_0x143008=a10_0x2ea2;(function(_0x328989,_0x51e487){const _0x36d550=a10_0x2ea2,_0x1fcfdb=_0x328989();while(!![]){try{const _0x306fab=-parseInt(_0x36d550(0x84))/0x1*(parseInt(_0x36d550(0x95))/0x2)+-parseInt(_0x36d550(0xa6))/0x3*(parseInt(_0x36d550(0xc9))/0x4)+parseInt(_0x36d550(0x7d))/0x5+-parseInt(_0x36d550(0xc2))/0x6+parseInt(_0x36d550(0x9a))/0x7+-parseInt(_0x36d550(0xa7))/0x8+parseInt(_0x36d550(0xa9))/0x9;if(_0x306fab===_0x51e487)break;else _0x1fcfdb['push'](_0x1fcfdb['shift']());}catch(_0x1fccb2){_0x1fcfdb['push'](_0x1fcfdb['shift']());}}}(a10_0x17de,0x3bd6e));const path=require(a10_0x143008(0x91)),{requireModule,modifyCommand}=require(a10_0x143008(0x9c));function a10_0x17de(){const _0x13233e=['4129TozOLF','run','rootHooks','call','../cucumber-js/test_old.setup.js','beforeAll','testSuitesFailed','env','builder','_configuration','__sessionNameProvided','runMocha','testsAmbiguous','path','exports','CONFIG','cucumber-js','82UENcYh','supportCodePaths','quitCalled','beforeEach','@cucumber/cucumber/lib/cli/index.js','1873830cKjVra','afterAll','../../helpers/helper','initBuild','selenium-webdriver','Builder','mochaHooks','--format','quit','capability','assign','join','24DECFYR','2915784fXsMUC','stringify','9162855iALUwv','push','_mochaOpts','platform','success','server','usingWebDriverProxy','@cucumber/cucumber/lib/cli/configuration_builder.js','then','initQuit','indexOf','resolvePaths','testSuites','handleRequires','stderr','--parallel','_argv','cwd','build','mochaOpts','mocha/lib/cli/run-helpers.js','proxySettings','proxyUrl','default','../cucumber-js/formatter/custom_formatter.js','694476yijRAv','afterEach','cucumber/lib/cli/index.js','testsFailed','withCapabilities','../mocha/bstack-reporter/customReporter.js','usingServer','231368KLWYUo','../mocha/test.setup','_framework','testsPending','357805yOLVXp','_capability','../../helpers/setKeepAlive','totalTests','mocha','testsUnknown','unshift'];a10_0x17de=function(){return _0x13233e;};return a10_0x17de();}function a10_0x2ea2(_0x226ed2,_0x4086e7){const _0x17dec6=a10_0x17de();return a10_0x2ea2=function(_0x2ea2f1,_0x3b5888){_0x2ea2f1=_0x2ea2f1-0x7c;let _0x206322=_0x17dec6[_0x2ea2f1];return _0x206322;},a10_0x2ea2(_0x226ed2,_0x4086e7);}class Launcher{constructor(_0x4c8b4d,_0xcee19a,_0x107b12=[]){const _0x1aa98a=a10_0x143008;this[_0x1aa98a(0xcb)]=_0x4c8b4d,this['_configuration']=_0xcee19a['configuration'],this[_0x1aa98a(0xab)]=_0xcee19a[_0x1aa98a(0xbc)],this[_0x1aa98a(0x7e)]=this['_configuration'][_0x1aa98a(0xa3)],global['__platform__']=this[_0x1aa98a(0x8d)][_0x1aa98a(0xac)],this['_argv']=_0x107b12,global[_0x1aa98a(0xb5)]=0x0,global[_0x1aa98a(0x80)]=0x0,global['testsPassed']=0x0,global[_0x1aa98a(0xc5)]=0x0,global[_0x1aa98a(0x7c)]=0x0,global['testsSkipped']=0x0,global[_0x1aa98a(0x8a)]=0x0,global['testsUndefined']=0x0,global[_0x1aa98a(0x82)]=0x0,global[_0x1aa98a(0x90)]=0x0;}[a10_0x143008(0x85)](){return new Promise(async(_0xd22aa4,_0x136d08)=>{const _0x36be44=a10_0x2ea2;require(_0x36be44(0x7f))();if(this[_0x36be44(0xcb)]=='mocha'){const _0x32c572=requireModule(_0x36be44(0xbd)),_0x220889=requireModule(_0x36be44(0x81));modifyCommand();const _0x335722=require(_0x36be44(0xca))[_0x36be44(0xa0)];let _0x1e60a1={'beforeAll':[_0x335722['beforeAll']],'beforeEach':[],'afterAll':[_0x335722[_0x36be44(0x9b)]],'afterEach':[_0x335722[_0x36be44(0xc3)]]};const _0x5c111f=await _0x32c572[_0x36be44(0xb6)](this[_0x36be44(0xab)]['require']);Object[_0x36be44(0xa4)](this['_mochaOpts'],_0x5c111f);this[_0x36be44(0xab)][_0x36be44(0x86)]&&(this[_0x36be44(0xab)][_0x36be44(0x86)][_0x36be44(0x89)]&&_0x1e60a1[_0x36be44(0x89)][_0x36be44(0xaa)](...this[_0x36be44(0xab)]['rootHooks']['beforeAll']),this[_0x36be44(0xab)][_0x36be44(0x86)][_0x36be44(0x98)]&&_0x1e60a1[_0x36be44(0x89)][_0x36be44(0xaa)](...this[_0x36be44(0xab)]['rootHooks'][_0x36be44(0x98)]),this[_0x36be44(0xab)]['rootHooks'][_0x36be44(0x9b)]&&_0x1e60a1['beforeAll'][_0x36be44(0xaa)](...this[_0x36be44(0xab)][_0x36be44(0x86)]['afterAll']),this[_0x36be44(0xab)]['rootHooks'][_0x36be44(0xc3)]&&_0x1e60a1['beforeAll'][_0x36be44(0xaa)](...this[_0x36be44(0xab)][_0x36be44(0x86)][_0x36be44(0xc3)]));const _0x2d44ac={...this[_0x36be44(0xab)],'reporter':path[_0x36be44(0xa5)](__dirname,_0x36be44(0xc7)),'parallel':![],'rootHooks':_0x1e60a1,'isWorker':!![]};let _0x73b3c8=new _0x220889(_0x2d44ac);_0x73b3c8['prevRun']=_0x73b3c8['run'],_0x73b3c8[_0x36be44(0x85)]=function(_0x4a41c7){return _0x73b3c8['prevRun'](_0xd22aa4);};const _0x244837=requireModule(_0x36be44(0x9e));this[_0x36be44(0x8c)]=new _0x244837[(_0x36be44(0x9f))](),this[_0x36be44(0x8c)][_0x36be44(0x9d)]=this['builder'][_0x36be44(0xbb)],this[_0x36be44(0x8c)][_0x36be44(0xbb)]=()=>{const _0x445719=_0x36be44;this['builder'][_0x445719(0xc6)](this[_0x445719(0x7e)]),this['builder'][_0x445719(0xc8)](this[_0x445719(0x8d)][_0x445719(0xae)]);this[_0x445719(0x8d)][_0x445719(0xbe)][_0x445719(0xbf)]&&this['builder'][_0x445719(0xaf)](this['_configuration'][_0x445719(0xbe)][_0x445719(0xbf)]);const _0x4fac13=this[_0x445719(0x8c)][_0x445719(0x9d)]();return _0x4fac13['initQuit']=_0x4fac13['quit'],_0x4fac13[_0x445719(0xa2)]=_0x281b63=>{const _0x314c43=_0x445719;if(_0x281b63===_0x314c43(0xa2)&&_0x4fac13[_0x314c43(0x97)])return _0x4fac13[_0x314c43(0xb2)]();return _0x281b63!==_0x314c43(0xa2)&&(_0x4fac13['quitCalled']=!![]),new Promise(function(_0x432423){_0x432423();});},global['__driver']=_0x4fac13,this[_0x445719(0x7e)]['name']?global['__sessionNameProvided']=!![]:global[_0x445719(0x8e)]=![],_0x4fac13;},_0x244837[_0x36be44(0x9f)]['prototype'][_0x36be44(0xbb)]=()=>{const _0x224f1f=_0x36be44;return this[_0x224f1f(0x8c)][_0x224f1f(0xbb)]();};const _0x8d9258=_0x32c572[_0x36be44(0x8f)](_0x73b3c8,_0x2d44ac);_0x8d9258&&_0x8d9258['catch'](_0x280243=>{_0x136d08(_0x280243);});}else{if(this[_0x36be44(0xcb)]==_0x36be44(0x94)){let _0x40c9bb;try{_0x40c9bb=requireModule(_0x36be44(0x99));}catch(_0x28cd93){_0x40c9bb=requireModule(_0x36be44(0xc4));}let _0x3bb0c0=this[_0x36be44(0xb9)];const _0x51c103=_0x3bb0c0[_0x36be44(0xb3)]('cucumber-js');_0x51c103>-0x1&&_0x3bb0c0['splice'](_0x51c103,0x1);try{const _0x1e8b23=requireModule('@cucumber/cucumber/lib/api/paths.js');let _0x55d003=_0x1e8b23[_0x36be44(0xb4)];_0x1e8b23[_0x36be44(0xb4)]=async function(..._0xab7814){let {unexpandedFeaturePaths:_0x44e0cc,featurePaths:_0x2070b2,requirePaths:_0x4869bd,importPaths:_0x4eb966}=await _0x55d003(..._0xab7814);return _0x4869bd=[path['join'](__dirname,'../cucumber-js/test.setup.js'),..._0x4869bd],{'unexpandedFeaturePaths':_0x44e0cc,'featurePaths':_0x2070b2,'requirePaths':_0x4869bd,'importPaths':_0x4eb966};},_0x3bb0c0[_0x36be44(0xaa)](_0x36be44(0xa1)),_0x3bb0c0['push'](path[_0x36be44(0xa5)](__dirname,_0x36be44(0xc1)));}catch(_0x2334d5){let _0x49fc83='../cucumber-js/test.setup.js',_0x146dd8;try{_0x146dd8=requireModule(_0x36be44(0xb0))[_0x36be44(0xc0)],_0x3bb0c0['push'](_0x36be44(0xa1)),_0x3bb0c0[_0x36be44(0xaa)](path[_0x36be44(0xa5)](__dirname,_0x36be44(0xc1)));}catch(_0x71c589){_0x146dd8=requireModule('cucumber/lib/cli/configuration_builder.js')[_0x36be44(0xc0)],_0x3bb0c0[_0x36be44(0xaa)](_0x36be44(0xa1)),_0x3bb0c0['push'](path[_0x36be44(0xa5)](__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js')),_0x49fc83=_0x36be44(0x88);}let _0x5b0914=_0x146dd8['prototype'][_0x36be44(0xbb)];_0x146dd8['prototype'][_0x36be44(0xbb)]=async function(){const _0x42630a=_0x36be44;let _0x3536d2=await _0x5b0914[_0x42630a(0x87)](this);return _0x3536d2[_0x42630a(0x96)][_0x42630a(0x83)](path['join'](__dirname,_0x49fc83)),_0x3536d2;};}_0x3bb0c0[_0x36be44(0xaa)](_0x36be44(0xb8)),_0x3bb0c0[_0x36be44(0xaa)](''+this['_configuration']['maxWorkers']);let _0x57683b=new _0x40c9bb[(_0x36be44(0xc0))]({'argv':_0x3bb0c0,'cwd':process[_0x36be44(0xba)](),'stdout':process['stdout'],'stderr':process[_0x36be44(0xb7)],'env':process[_0x36be44(0x8b)]});process['env'][_0x36be44(0x93)]=JSON[_0x36be44(0xa8)](this[_0x36be44(0x8d)]),_0x57683b[_0x36be44(0x85)]()[_0x36be44(0xb1)](_0x40c3be=>{const _0x243d35=_0x36be44;let _0x2c33b8={'scenarios':testSuites,'steps':totalTests,'scenariosFailed':testSuitesFailed,'stepsFailed':testsFailed,'stepsPassed':testsPassed,'stepsSkipped':testsSkipped,'stepsPending':testsPending,'stepsUndefined':testsUndefined,'stepsUnknown':testsUnknown,'stepsAmbiguous':testsAmbiguous,'processSuccess':_0x40c3be[_0x243d35(0xad)]};_0xd22aa4(_0x2c33b8);})['catch'](_0x2c02a0=>{_0x136d08(_0x2c02a0);});}}});}}module[a10_0x143008(0x92)]=Launcher;
@@ -0,0 +1 @@
1
+ 'use strict';const a11_0x226428=a11_0x2f84;(function(_0x4a1bbd,_0x5b638c){const _0x29f033=a11_0x2f84,_0x305838=_0x4a1bbd();while(!![]){try{const _0x5affdb=-parseInt(_0x29f033(0x187))/0x1+parseInt(_0x29f033(0x17e))/0x2*(-parseInt(_0x29f033(0x182))/0x3)+parseInt(_0x29f033(0x189))/0x4*(parseInt(_0x29f033(0x18c))/0x5)+-parseInt(_0x29f033(0x197))/0x6*(-parseInt(_0x29f033(0x192))/0x7)+-parseInt(_0x29f033(0x181))/0x8+parseInt(_0x29f033(0x193))/0x9+parseInt(_0x29f033(0x196))/0xa;if(_0x5affdb===_0x5b638c)break;else _0x305838['push'](_0x305838['shift']());}catch(_0x18efdd){_0x305838['push'](_0x305838['shift']());}}}(a11_0x3f8a,0xb8d02));const {requireModule}=require('../../../helpers/helper'),Base=requireModule('mocha/lib/reporters/base.js'),color=Base['color'],Mocha=requireModule('mocha'),{EVENT_RUN_BEGIN,EVENT_RUN_END,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_TEST_BEGIN,EVENT_TEST_PENDING,EVENT_TEST_END}=Mocha['Runner'][a11_0x226428(0x171)];function a11_0x3f8a(){const _0x1cb1b1=['32319TBAkxc','1588590dYzXqS','_indents','results','9192630cTMANV','552Ncitbr','green','speed','increaseIndent','call','constants','__platform__','duration','bright\x20yellow','light','passed','\x20%s','forEach','%s\x20-\x20%s','consoleLog','push','fail','once','82dhZJTV','title','error','4544688DJGpnN','23610DrTnxJ','symbols','\x20\x20\x20\x20','COMPLETED','RUNNING','958352hmGFsY','state','334020ZKfzKv','decreaseIndent','pass','65TqZBdM','failCount','indent','parent','exports','fast'];a11_0x3f8a=function(){return _0x1cb1b1;};return a11_0x3f8a();}class MyReporter{constructor(_0x46b7ae,_0x5ab029){const _0x3e6213=a11_0x226428;Base[_0x3e6213(0x170)](this,_0x46b7ae,_0x5ab029),this['_indents']=0x0,this[_0x3e6213(0x18d)]=0x0;const _0x3d3524=_0x46b7ae['stats'];this[_0x3e6213(0x195)]=[],this['suiteCount']=0x0,_0x46b7ae[_0x3e6213(0x17d)](EVENT_RUN_BEGIN,()=>{const _0x4c1ff4=_0x3e6213;Base[_0x4c1ff4(0x17a)]();})['on'](EVENT_SUITE_BEGIN,_0x40807e=>{const _0x52e10d=_0x3e6213;if(_0x40807e[_0x52e10d(0x17f)]=='')return;this[_0x52e10d(0x16f)](),Base[_0x52e10d(0x17a)](this['indent']()+color(_0x52e10d(0x198),'%s\x20')+color('light',_0x52e10d(0x179)),_0x52e10d(0x186),_0x40807e[_0x52e10d(0x17f)],global[_0x52e10d(0x172)]),this[_0x52e10d(0x195)]=[];})['on'](EVENT_SUITE_END,_0x476278=>{const _0xa4ba7b=_0x3e6213;if(++this['suiteCount']%0x2==0x0)return;Base['consoleLog'](),Base[_0xa4ba7b(0x17a)](this[_0xa4ba7b(0x18e)]()+color(_0xa4ba7b(0x174),'%s\x20')+color('light',_0xa4ba7b(0x179)),_0xa4ba7b(0x185),_0x476278[_0xa4ba7b(0x17f)],global[_0xa4ba7b(0x172)]),this['results'][_0xa4ba7b(0x178)](_0x53e210=>{const _0x470621=_0xa4ba7b;if(_0x53e210['state']===_0x470621(0x176)){var _0x1c0598;_0x53e210[_0x470621(0x16e)]===_0x470621(0x191)?(_0x1c0598=indent()+color('checkmark','\x20\x20'+Base[_0x470621(0x183)]['ok'])+color(_0x470621(0x18b),_0x470621(0x177)),Base['consoleLog'](_0x1c0598,_0x53e210[_0x470621(0x17f)])):(_0x1c0598=this[_0x470621(0x18e)]()+color('checkmark','\x20\x20'+Base['symbols']['ok'])+color(_0x470621(0x18b),_0x470621(0x177))+color(_0x53e210[_0x470621(0x16e)],'\x20(%dms)'),Base[_0x470621(0x17a)](_0x1c0598,_0x53e210['title'],_0x53e210[_0x470621(0x173)]));}else Base[_0x470621(0x17a)](this[_0x470621(0x18e)]()+color(_0x470621(0x17c),'\x20\x20%d)\x20%s'),++this[_0x470621(0x18d)],_0x53e210[_0x470621(0x17f)]),this[_0x470621(0x16f)](),Base[_0x470621(0x17a)](this[_0x470621(0x18e)]()+_0x470621(0x184)+color(_0x470621(0x175),'%s'),_0x53e210[_0x470621(0x180)]),this[_0x470621(0x18a)]();}),this[_0xa4ba7b(0x18a)]();})['on'](EVENT_TEST_PASS,_0x200d8e=>{const _0x43aebd=_0x3e6213;this[_0x43aebd(0x195)][_0x43aebd(0x17b)]({'speed':_0x200d8e[_0x43aebd(0x16e)],'suite':_0x200d8e[_0x43aebd(0x18f)]['title'],'title':_0x200d8e[_0x43aebd(0x17f)],'duration':_0x200d8e[_0x43aebd(0x173)],'state':_0x200d8e[_0x43aebd(0x188)]});})['on'](EVENT_TEST_FAIL,(_0x2513fe,_0x13dde9)=>{const _0xa30992=_0x3e6213;this['results'][_0xa30992(0x17b)]({'title':_0x2513fe[_0xa30992(0x17f)],'suite':_0x2513fe[_0xa30992(0x18f)]['title'],'state':_0x2513fe[_0xa30992(0x188)],'error':_0x13dde9});})['on'](EVENT_TEST_PENDING,_0x2518a8=>{const _0x2e0e76=_0x3e6213;this[_0x2e0e76(0x195)][_0x2e0e76(0x17b)]({'title':_0x2518a8[_0x2e0e76(0x17f)],'suite':_0x2518a8[_0x2e0e76(0x18f)][_0x2e0e76(0x17f)],'state':_0x2518a8[_0x2e0e76(0x188)]});})['on'](EVENT_TEST_BEGIN,()=>{})['on'](EVENT_TEST_END,()=>{})['once'](EVENT_RUN_END,()=>{});}[a11_0x226428(0x18e)](){const _0x35e24d=a11_0x226428;return Array(this[_0x35e24d(0x194)])['join']('\x20\x20');}[a11_0x226428(0x16f)](){const _0x19a253=a11_0x226428;this[_0x19a253(0x194)]++;}[a11_0x226428(0x18a)](){this['_indents']--;}['done'](_0x1b6772,_0x9bd0e3){_0x9bd0e3({'failureCount':_0x1b6772,'results':this['results']});}}function a11_0x2f84(_0x189fd6,_0x40a7f7){const _0x3f8ad6=a11_0x3f8a();return a11_0x2f84=function(_0x2f8455,_0x4ec374){_0x2f8455=_0x2f8455-0x16e;let _0x2c50b1=_0x3f8ad6[_0x2f8455];return _0x2c50b1;},a11_0x2f84(_0x189fd6,_0x40a7f7);}module[a11_0x226428(0x190)]=MyReporter;
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';const a12_0x21a6db=a12_0x588e;(function(_0x170356,_0x1647dc){const _0x55f62d=a12_0x588e,_0x257250=_0x170356();while(!![]){try{const _0x33acef=-parseInt(_0x55f62d(0x222))/0x1+parseInt(_0x55f62d(0x20b))/0x2+-parseInt(_0x55f62d(0x20a))/0x3+-parseInt(_0x55f62d(0x1fe))/0x4*(-parseInt(_0x55f62d(0x1f9))/0x5)+parseInt(_0x55f62d(0x21a))/0x6*(parseInt(_0x55f62d(0x21c))/0x7)+parseInt(_0x55f62d(0x200))/0x8+parseInt(_0x55f62d(0x1f5))/0x9*(-parseInt(_0x55f62d(0x209))/0xa);if(_0x33acef===_0x1647dc)break;else _0x257250['push'](_0x257250['shift']());}catch(_0x2cdee8){_0x257250['push'](_0x257250['shift']());}}}(a12_0x5b69,0x50f14));const chalk=require(a12_0x21a6db(0x220)),logger=require(a12_0x21a6db(0x20c))[a12_0x21a6db(0x1fa)],{default:BrowserStackSetup}=require(a12_0x21a6db(0x212)),helper=require('../../helpers/helper'),constants=require(a12_0x21a6db(0x223)),{parallelTestRun}=require(a12_0x21a6db(0x201)),{requireModule}=require('../../helpers/helper');;const collectFiles=requireModule(a12_0x21a6db(0x21d));function getStats(_0x534588){const _0xb2bf77=a12_0x21a6db;let _0x5f2cf6=Object['keys'](_0x534588),_0x45deda=0x0,_0x2bea6e=0x0,_0x3182ed=0x0,_0x10828e=0x0,_0xd773fa=new Set();return _0x5f2cf6[_0xb2bf77(0x21f)](_0x2b1e73=>{const _0x4d1fa2=_0xb2bf77;_0x534588[_0x2b1e73][_0x4d1fa2(0x20f)]['forEach'](_0x4f60a3=>{const _0x595f09=_0x4d1fa2;_0xd773fa['add'](_0x4f60a3['suite']),_0x45deda++;switch(_0x4f60a3[_0x595f09(0x21b)]){case _0x595f09(0x203):_0x3182ed++;break;case _0x595f09(0x1ff):_0x2bea6e++;break;default:_0x10828e++;}});}),{'testSuites':_0xd773fa[_0xb2bf77(0x213)],'platforms':_0x5f2cf6,'totalTests':_0x45deda,'testsFailed':_0x2bea6e,'testsPassed':_0x3182ed,'testsPending':_0x10828e};}function printStats(_0x273e81){const _0x3311ae=a12_0x21a6db,{testSuites:_0x1905c6,platforms:_0xe7dc6a,totalTests:_0x18020e,testsFailed:_0xb6d790,testsPassed:_0x5bffb9,testsPending:_0x4179ad}=getStats(_0x273e81);if(_0xb6d790>0x0)process[_0x3311ae(0x1fd)]=Math[_0x3311ae(0x1fc)](_0xb6d790,0xff);const _0x2a57b1=''+(chalk[_0x3311ae(0x221)](_0x3311ae(0x216))+_0xe7dc6a[_0x3311ae(0x206)]),_0x29fe00=''+(chalk[_0x3311ae(0x221)](_0x3311ae(0x1f8))+_0x1905c6),_0x114d80=''+(chalk[_0x3311ae(0x221)](_0x3311ae(0x20e))+(_0xb6d790>0x0?chalk['bold'][_0x3311ae(0x218)](_0xb6d790+_0x3311ae(0x215))+',\x20':'')+(_0x4179ad>0x0?chalk['bold'][_0x3311ae(0x207)](_0x4179ad+_0x3311ae(0x208))+',\x20':'')+(_0x5bffb9>0x0?chalk[_0x3311ae(0x221)][_0x3311ae(0x1f7)](_0x5bffb9+_0x3311ae(0x1f4))+',\x20':''))+_0x18020e+_0x3311ae(0x204);console[_0x3311ae(0x217)](_0x3311ae(0x214)+_0x2a57b1+'\x0a'+_0x29fe00+'\x0a'+_0x114d80);}function a12_0x588e(_0x38c053,_0x1666df){const _0x5b69fc=a12_0x5b69();return a12_0x588e=function(_0x588e2c,_0x37a038){_0x588e2c=_0x588e2c-0x1f4;let _0x101ba3=_0x5b69fc[_0x588e2c];return _0x101ba3;},a12_0x588e(_0x38c053,_0x1666df);}function a12_0x5b69(){const _0xf80691=['failed','2233008TFIEDd','../test-runner','push','passed','\x20total','getPlatformName','length','yellow','\x20skipped','540wKzzYi','1913034QWTGOX','1123614GmWvDd','../../helpers/logger','config','Tests:\x20\x20\x20\x20\x20\x20\x20','results','test','useW3C','../../helpers/BrowserStackSetup','size','\x0a\x0a\x0a','\x20failed','Total\x20Platforms:\x20','log','red','proxySettings','162gAVZiy','state','152824mgnAOO','mocha/lib/cli/collect-files.js','exports','forEach','chalk','bold','215552ksqhFn','../utils/constants','\x20passed','68598UyYNgX','platforms','green','Total\x20Suites:\x20','829805gODPXc','winstonLogger','parallelsPerPlatform','min','exitCode','4zKjUjb'];a12_0x5b69=function(){return _0xf80691;};return a12_0x5b69();}function run(_0xd8e1be,_0x2084be){const _0x4af625=a12_0x21a6db,_0x588644=new BrowserStackSetup(),_0x33a567=[],_0xefcd8d=[];if(!_0x588644[_0x4af625(0x20d)])return;const _0x20291c=_0x588644[_0x4af625(0x20d)][_0x4af625(0x1f6)][_0x4af625(0x206)]*_0x588644[_0x4af625(0x20d)][_0x4af625(0x1fb)],{extension:extension=['js','cjs','mjs'],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x4af625(0x210)]}=_0xd8e1be,_0x2d2e4c={..._0xd8e1be,'rootHooks':null},_0x361917=collectFiles({'ignore':ignore,'extension':extension,'file':file,'recursive':recursive,'sort':sort,'spec':spec});let _0x370d4d=helper[_0x4af625(0x211)](_0x588644[_0x4af625(0x20d)]);_0x588644[_0x4af625(0x20d)][_0x4af625(0x1f6)][_0x4af625(0x21f)]((_0x852e6b,_0x313e30)=>{const _0x54fdcb=_0x4af625;if(_0x370d4d)_0xefcd8d[_0x54fdcb(0x202)](helper['modifyBrowserStackW3CCaps'](_0x588644['config'],_0x313e30));else _0xefcd8d['push'](helper['modifyBrowserStackCaps'](_0x588644[_0x54fdcb(0x20d)],_0x313e30));}),_0x361917['forEach'](_0x8fc958=>{const _0x59cab3=_0x4af625,_0x3552ce=[];_0xefcd8d[_0x59cab3(0x21f)](_0x95ce45=>{const _0x1b5c5e=_0x59cab3;_0x3552ce[_0x1b5c5e(0x202)]({'mochaOpts':{..._0x2d2e4c,'spec':[_0x8fc958]},'configuration':{'server':constants['hubUrl'],'capability':_0x95ce45,'proxySettings':_0x588644[_0x1b5c5e(0x20d)][_0x1b5c5e(0x219)],'platform':helper[_0x1b5c5e(0x205)](_0x95ce45)}});}),_0x33a567['push'](..._0x3552ce);}),parallelTestRun(_0x33a567,_0x20291c)['then'](_0x43361b=>{printStats(_0x43361b);});}module[a12_0x21a6db(0x21e)]=run;
@@ -0,0 +1 @@
1
+ (function(_0x31f162,_0x295c1d){const _0x256edc=a13_0x1b86,_0x32e68f=_0x31f162();while(!![]){try{const _0x37fb53=parseInt(_0x256edc(0x15f))/0x1+-parseInt(_0x256edc(0x169))/0x2*(-parseInt(_0x256edc(0x17c))/0x3)+-parseInt(_0x256edc(0x180))/0x4*(-parseInt(_0x256edc(0x164))/0x5)+parseInt(_0x256edc(0x17d))/0x6*(-parseInt(_0x256edc(0x17f))/0x7)+parseInt(_0x256edc(0x15d))/0x8+-parseInt(_0x256edc(0x16b))/0x9+parseInt(_0x256edc(0x162))/0xa*(-parseInt(_0x256edc(0x171))/0xb);if(_0x37fb53===_0x295c1d)break;else _0x32e68f['push'](_0x32e68f['shift']());}catch(_0x92e518){_0x32e68f['push'](_0x32e68f['shift']());}}}(a13_0x5878,0xc8c2f),exports['mochaHooks']={'beforeAll'(){const _0x496a27=a13_0x1b86;global[_0x496a27(0x16e)]=[];},'afterEach'(_0x27be17){const _0x5ae935=a13_0x1b86;this[_0x5ae935(0x17a)](0x2710);const _0x6f0430=async(_0x33faf9,_0x595578)=>{const _0xe7a348=_0x5ae935;await global[_0xe7a348(0x166)][_0xe7a348(0x163)](_0xe7a348(0x173)+_0x33faf9+_0xe7a348(0x176)+_0x595578+_0xe7a348(0x16d));};new Promise(async _0x5adac0=>{const _0x1a6c6f=_0x5ae935;try{!global[_0x1a6c6f(0x170)]&&await global[_0x1a6c6f(0x166)]['executeScript'](_0x1a6c6f(0x161)+this[_0x1a6c6f(0x16a)][_0x1a6c6f(0x167)]()[_0x1a6c6f(0x17b)](_0x1a6c6f(0x17e))+'\x22}}');const _0x4b5418=this[_0x1a6c6f(0x16a)][_0x1a6c6f(0x181)]!=='passed';_0x4b5418?(global[_0x1a6c6f(0x16e)]['push'](this[_0x1a6c6f(0x16a)][_0x1a6c6f(0x177)][_0x1a6c6f(0x183)][_0x1a6c6f(0x165)][_0x1a6c6f(0x15e)]),await _0x6f0430(JSON[_0x1a6c6f(0x175)](_0x1a6c6f(0x172)+this[_0x1a6c6f(0x16a)][_0x1a6c6f(0x177)]['test'][_0x1a6c6f(0x165)][_0x1a6c6f(0x15e)]),_0x1a6c6f(0x168))):await _0x6f0430(JSON['stringify'](_0x1a6c6f(0x178)),_0x1a6c6f(0x179));}catch(_0x40125c){}try{await global[_0x1a6c6f(0x166)][_0x1a6c6f(0x182)](_0x1a6c6f(0x182));}catch(_0x192eba){}_0x5adac0();})[_0x5ae935(0x160)](()=>_0x27be17());},'afterAll'(_0x28e91c){const _0x5b7d12=a13_0x1b86;this['timeout'](0x2710),new Promise(async _0x34b5c0=>{const _0x3fbcfb=a13_0x1b86;let _0x594212=![];try{await global[_0x3fbcfb(0x166)][_0x3fbcfb(0x16f)],_0x594212=!![],global[_0x3fbcfb(0x16e)][_0x3fbcfb(0x174)]>0x0?await global[_0x3fbcfb(0x166)][_0x3fbcfb(0x163)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22failed\x22,\x20\x22reason\x22:\x20'+JSON['stringify'](global['__error_messages__'][_0x3fbcfb(0x17b)]('\x20|\x20'))+'}}'):await global[_0x3fbcfb(0x166)][_0x3fbcfb(0x163)](_0x3fbcfb(0x16c));}catch(_0x469d45){}if(_0x594212)try{await global['__driver']['quit'](_0x3fbcfb(0x182));}catch(_0x1972e3){}_0x34b5c0();})[_0x5b7d12(0x160)](()=>_0x28e91c());}});function a13_0x1b86(_0x5ceb45,_0x48e17b){const _0x587897=a13_0x5878();return a13_0x1b86=function(_0x1b8667,_0x229f77){_0x1b8667=_0x1b8667-0x15d;let _0x4d873e=_0x587897[_0x1b8667];return _0x4d873e;},a13_0x1b86(_0x5ceb45,_0x48e17b);}function a13_0x5878(){const _0x59ad26=['join','12093dOfJFN','2735046UXWuof','\x20-\x20','7MDUfWr','548ChKQom','state','quit','test','1804864JYZwhO','message','1319621hwLzwD','then','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','20nXiacN','executeScript','38805PZvcSX','err','__driver','titlePath','error','134AjeqlY','currentTest','13531491qZNjbx','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22passed\x22,\x20\x22reason\x22:\x20\x22\x22}}','\x22}}','__error_messages__','session_','__sessionNameProvided','532972RUTBTu','Failed:\x20','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','length','stringify',',\x22level\x22:\x20\x22','ctx','Passed','info','timeout'];a13_0x5878=function(){return _0x59ad26;};return a13_0x5878();}
package/src/bin/runner.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a5_0xc4d067=a5_0x2600;function a5_0x2600(_0xc579c6,_0x520383){const _0x439432=a5_0x4394();return a5_0x2600=function(_0x26007c,_0x5b2ced){_0x26007c=_0x26007c-0x1cb;let _0x3c0a80=_0x439432[_0x26007c];return _0x3c0a80;},a5_0x2600(_0xc579c6,_0x520383);}(function(_0x3f4c49,_0x581170){const _0x1de00e=a5_0x2600,_0x2dc84c=_0x3f4c49();while(!![]){try{const _0x4c990c=-parseInt(_0x1de00e(0x1d8))/0x1+-parseInt(_0x1de00e(0x1d4))/0x2+-parseInt(_0x1de00e(0x1dc))/0x3*(-parseInt(_0x1de00e(0x1cf))/0x4)+-parseInt(_0x1de00e(0x1e2))/0x5+-parseInt(_0x1de00e(0x1e5))/0x6*(parseInt(_0x1de00e(0x1d6))/0x7)+-parseInt(_0x1de00e(0x1d7))/0x8*(parseInt(_0x1de00e(0x1e4))/0x9)+parseInt(_0x1de00e(0x1e6))/0xa*(parseInt(_0x1de00e(0x1e0))/0xb);if(_0x4c990c===_0x581170)break;else _0x2dc84c['push'](_0x2dc84c['shift']());}catch(_0x2232f9){_0x2dc84c['push'](_0x2dc84c['shift']());}}}(a5_0x4394,0x5f227));const yargs=require(a5_0xc4d067(0x1cb)),Constants=require('./utils/constants'),logger=require(a5_0xc4d067(0x1db))['winstonLogger'],argv=yargs['usage']('usage:\x20$0\x20<command>')[a5_0xc4d067(0x1d3)]('v',a5_0xc4d067(0x1d0))[a5_0xc4d067(0x1cd)]('v')[a5_0xc4d067(0x1d3)]('h',a5_0xc4d067(0x1d5))[a5_0xc4d067(0x1d5)](a5_0xc4d067(0x1d5))[a5_0xc4d067(0x1de)](![],Constants[a5_0xc4d067(0x1da)]['HELP'])[a5_0xc4d067(0x1d9)]('jest',Constants[a5_0xc4d067(0x1e3)]['INFO'],function(_0x1d6a67){const _0x1d0ecc=a5_0xc4d067,_0x3865cb=process['argv']['slice'](0x2);return require(_0x1d0ecc(0x1e1))(_0x1d6a67['argv'],_0x3865cb);})[a5_0xc4d067(0x1d9)]('mocha',Constants[a5_0xc4d067(0x1ce)][a5_0xc4d067(0x1dd)],function(_0x4d8d1a){const _0x791c5f=a5_0xc4d067;logger[_0x791c5f(0x1d2)](_0x791c5f(0x1d1));})[a5_0xc4d067(0x1cc)](null)[a5_0xc4d067(0x1df)];function a5_0x4394(){const _0x3e1583=['argv','2072147BOVeJX','./jest/command','2468355WFPPOd','JEST','234DNmYmJ','3282FKzsdq','110yYdrgP','yargs','wrap','describe','MOCHA','6856ThNISa','version','Coming\x20soon\x20🔥.','info','alias','481042kxPMJz','help','2233hRyvmF','201304EuNecG','381795ZNfWOX','command','VERSION','../helpers/logger','459gPIobK','INFO','showHelpOnFail'];a5_0x4394=function(){return _0x3e1583;};return a5_0x4394();}
2
+ 'use strict';const a14_0x1c1c88=a14_0x4f67;function a14_0x215c(){const _0x178c29=['1932198diRFNw','JEST','--package','312256bECglz','CUCUMBER','showHelpOnFail','--no-config','alias','version','--opts','18DIDBbM','inspect','./cucumber-js/command','INFO','./mocha/command','49158pTzlrV','mocha','440vDzgyD','./utils/constants','MOCHA','42HAUGBN','winstonLogger','usage','--no-package','../helpers/logger','25818089zyVCKY','argv','1920aJoCay','includes','16723qbuQkW','482599kFCFqx','mocha/lib/cli/run.js','push','yargs','command','--config','handler','wrap','Parsing\x20command\x20line\x20arguements','slice','jest','606450SkIIFP','debug','usage:\x20$0\x20<command>','VERSION','describe','help'];a14_0x215c=function(){return _0x178c29;};return a14_0x215c();}function a14_0x4f67(_0x1b145d,_0x5c3e9e){const _0x215cf0=a14_0x215c();return a14_0x4f67=function(_0x4f67c2,_0x29dd1f){_0x4f67c2=_0x4f67c2-0xd6;let _0x2a729e=_0x215cf0[_0x4f67c2];return _0x2a729e;},a14_0x4f67(_0x1b145d,_0x5c3e9e);}(function(_0x1007d2,_0xaa7ef2){const _0x12d6fd=a14_0x4f67,_0x3957ba=_0x1007d2();while(!![]){try{const _0x553e24=-parseInt(_0x12d6fd(0xf4))/0x1+-parseInt(_0x12d6fd(0xd6))/0x2+parseInt(_0x12d6fd(0xea))/0x3*(parseInt(_0x12d6fd(0xd9))/0x4)+-parseInt(_0x12d6fd(0xe7))/0x5*(parseInt(_0x12d6fd(0xe5))/0x6)+-parseInt(_0x12d6fd(0xf3))/0x7*(parseInt(_0x12d6fd(0xf1))/0x8)+-parseInt(_0x12d6fd(0xe0))/0x9*(parseInt(_0x12d6fd(0xff))/0xa)+parseInt(_0x12d6fd(0xef))/0xb;if(_0x553e24===_0xaa7ef2)break;else _0x3957ba['push'](_0x3957ba['shift']());}catch(_0x5cd7cb){_0x3957ba['push'](_0x3957ba['shift']());}}}(a14_0x215c,0x8c8af));const {requireModule}=require('../helpers/helper');if(process[a14_0x1c1c88(0xf0)][a14_0x1c1c88(0xf2)]('mocha')){if(!process[a14_0x1c1c88(0xf0)][a14_0x1c1c88(0xf2)](a14_0x1c1c88(0xdf)))process[a14_0x1c1c88(0xf0)][a14_0x1c1c88(0xf6)]('--no-opts');if(!process['argv'][a14_0x1c1c88(0xf2)](a14_0x1c1c88(0xf9)))process[a14_0x1c1c88(0xf0)][a14_0x1c1c88(0xf6)](a14_0x1c1c88(0xdc));if(!process[a14_0x1c1c88(0xf0)][a14_0x1c1c88(0xf2)](a14_0x1c1c88(0xd8)))process['argv'][a14_0x1c1c88(0xf6)](a14_0x1c1c88(0xed));}const yargs=require(a14_0x1c1c88(0xf7)),Constants=require(a14_0x1c1c88(0xe8)),logger=require(a14_0x1c1c88(0xee))[a14_0x1c1c88(0xeb)],_=yargs[a14_0x1c1c88(0xec)](a14_0x1c1c88(0x101))[a14_0x1c1c88(0xdd)]('v',a14_0x1c1c88(0xde))[a14_0x1c1c88(0x103)]('v')[a14_0x1c1c88(0xdd)]('h','help')['help'](a14_0x1c1c88(0x104))[a14_0x1c1c88(0xdb)](![],Constants[a14_0x1c1c88(0x102)]['HELP'])['command'](a14_0x1c1c88(0xfe),Constants[a14_0x1c1c88(0xd7)][a14_0x1c1c88(0xe3)],function(_0x1b4b3d){const _0x1c0100=a14_0x1c1c88,_0x568103=process['argv'][_0x1c0100(0xfd)](0x2);return require('./jest/command')(_0x1b4b3d[_0x1c0100(0xf0)],_0x568103);})[a14_0x1c1c88(0xf8)](a14_0x1c1c88(0xe6),Constants[a14_0x1c1c88(0xe9)][a14_0x1c1c88(0xe3)],_0x51d951=>{const _0x239935=a14_0x1c1c88;logger[_0x239935(0x100)](_0x239935(0xfc));const _0x2da441=requireModule(_0x239935(0xf5));delete _0x2da441[_0x239935(0xfa)],_0x2da441[_0x239935(0xf8)]=['$0\x20mocha\x20[spec..]',_0x239935(0xe1)],_0x2da441['handler']=function(_0x2908ba){const _0x4f6ed3=_0x239935;return require(_0x4f6ed3(0xe4))(_0x2908ba);},require(_0x239935(0xf7))[_0x239935(0xf8)](_0x2da441);})[a14_0x1c1c88(0xf8)]('cucumber-js',Constants[a14_0x1c1c88(0xda)][a14_0x1c1c88(0xe3)],function(_0x154b24){const _0x11d41c=a14_0x1c1c88,_0x43769=process['argv']['slice'](0x2);return require(_0x11d41c(0xe2))(_0x154b24['argv'],_0x43769);})[a14_0x1c1c88(0xfb)](null)[a14_0x1c1c88(0xf0)];
@@ -0,0 +1 @@
1
+ function a15_0x1c95(){const _0x435fb7=['test-file-success','then','getStderr','36wYaccN','2120016dOQpnJ','Worker','85604uPmyzP','429340IpAVSL','cucumberWorker','all','failureCount','pipe','236228cUatRS','parallelTestRun','results','getStdout','stderr','1731264vvWToz','jest-worker','107044CJcGhW','end','stdout','map','emit','46880PucmyP','20NMKBDS','length','9ZnOVfB','worker','test-file-failure','platform-run-failure','Workers\x20failed\x20to\x20exit\x20gracefully','test-file-start','json','platform-run-success','throat','emittery','parallelCucumberRun'];a15_0x1c95=function(){return _0x435fb7;};return a15_0x1c95();}const a15_0x32f788=a15_0x1674;(function(_0x5e60b8,_0x2b2308){const _0x5752eb=a15_0x1674,_0x417fba=_0x5e60b8();while(!![]){try{const _0x288a4b=parseInt(_0x5752eb(0x1ed))/0x1+-parseInt(_0x5752eb(0x1e7))/0x2*(-parseInt(_0x5752eb(0x1d6))/0x3)+parseInt(_0x5752eb(0x1d4))/0x4*(parseInt(_0x5752eb(0x1e8))/0x5)+-parseInt(_0x5752eb(0x1e5))/0x6+-parseInt(_0x5752eb(0x1f4))/0x7+-parseInt(_0x5752eb(0x1f2))/0x8+parseInt(_0x5752eb(0x1e4))/0x9*(parseInt(_0x5752eb(0x1d3))/0xa);if(_0x288a4b===_0x2b2308)break;else _0x417fba['push'](_0x417fba['shift']());}catch(_0x44834f){_0x417fba['push'](_0x417fba['shift']());}}}(a15_0x1c95,0x3796a));const Worker=require(a15_0x32f788(0x1f3))[a15_0x32f788(0x1e6)],Emittery=require(a15_0x32f788(0x1df)),throat=require(a15_0x32f788(0x1de));function a15_0x1674(_0x2c7dad,_0x3af114){const _0x1c9509=a15_0x1c95();return a15_0x1674=function(_0x16744a,_0x5a407a){_0x16744a=_0x16744a-0x1d3;let _0x2feaab=_0x1c9509[_0x16744a];return _0x2feaab;},a15_0x1674(_0x2c7dad,_0x3af114);}exports[a15_0x32f788(0x1ee)]=(_0x53bd34,_0x331ced)=>new Promise(_0x489b25=>{const _0x4ac5bf=a15_0x32f788,_0x3a1517={},_0x329aaa=new Worker(require['resolve']('./testWorker.js',{'exposedMethods':[_0x4ac5bf(0x1d7)],'forkOptions':{'serialization':_0x4ac5bf(0x1dc),'stdio':'pipe'},'numWorkers':_0x331ced})),_0x41592a=new Emittery();_0x41592a['on'](_0x4ac5bf(0x1e1),_0x505fc=>{const _0x4a8d77=_0x4ac5bf;_0x3a1517[_0x505fc[0x0]]?(_0x3a1517[_0x505fc[0x0]][_0x4a8d77(0x1eb)]=_0x3a1517[_0x505fc[0x0]]['failureCount']+_0x505fc[0x1]['failureCount'],_0x3a1517[_0x505fc[0x0]]['results']=[..._0x3a1517[_0x505fc[0x0]][_0x4a8d77(0x1ef)],..._0x505fc[0x1]['results']]):_0x3a1517[_0x505fc[0x0]]={'failureCount':_0x505fc[0x1][_0x4a8d77(0x1eb)],'results':[..._0x505fc[0x1][_0x4a8d77(0x1ef)]]};}),_0x41592a['on'](_0x4ac5bf(0x1d8),_0xe38918=>console['log'](_0xe38918[0x1]));if(_0x329aaa[_0x4ac5bf(0x1f0)]())_0x329aaa[_0x4ac5bf(0x1f0)]()[_0x4ac5bf(0x1ec)](process['stdout']);if(_0x329aaa[_0x4ac5bf(0x1e3)]())_0x329aaa[_0x4ac5bf(0x1e3)]()[_0x4ac5bf(0x1ec)](process[_0x4ac5bf(0x1f1)]);const _0x57618f=async()=>{const _0x53a4b4=_0x4ac5bf,{forceExited:_0x88a69f}=await _0x329aaa[_0x53a4b4(0x1f5)]();_0x88a69f&&console['error']('Workers\x20failed\x20to\x20exit\x20gracefully'),_0x489b25(_0x3a1517);},_0x268ff7=throat(_0x331ced),_0xba0258=_0x26146f=>_0x268ff7(async()=>{const _0x33e43d=_0x4ac5bf;return await _0x41592a[_0x33e43d(0x1f8)](_0x33e43d(0x1db),_0x26146f),_0x329aaa[_0x33e43d(0x1d7)](_0x26146f);});Promise[_0x4ac5bf(0x1ea)](_0x53bd34[_0x4ac5bf(0x1f7)](_0x2059de=>_0xba0258(_0x2059de)[_0x4ac5bf(0x1e2)](_0x54a521=>_0x41592a[_0x4ac5bf(0x1f8)](_0x4ac5bf(0x1e1),[_0x2059de['configuration']['platform'],_0x54a521]),_0x1f9043=>_0x41592a[_0x4ac5bf(0x1f8)](_0x4ac5bf(0x1d8),[_0x2059de,_0x1f9043]))))[_0x4ac5bf(0x1e2)](_0x57618f,_0x57618f);}),exports[a15_0x32f788(0x1e0)]=(_0xdf4654,_0x9dfb89,_0x1856f0)=>{return new Promise(_0x26d99c=>{const _0x3214a8=a15_0x1674,_0x3cd9ba=[],_0x213680=new Worker(require['resolve']('./testWorker.js',{'exposedMethods':['cucumberWorker'],'forkOptions':{'serialization':_0x3214a8(0x1dc),'stdio':_0x3214a8(0x1ec)},'numWorkers':_0xdf4654[_0x3214a8(0x1d5)]})),_0x37c8d6=new Emittery();_0x37c8d6['on'](_0x3214a8(0x1dd),_0x29f04=>{_0x3cd9ba['push']([_0x29f04[0x0],_0x29f04[0x1]]);}),_0x37c8d6['on'](_0x3214a8(0x1d9),_0xe7d8dd=>console['log'](_0xe7d8dd[0x1]));if(_0x213680[_0x3214a8(0x1f0)]())_0x213680['getStdout']()[_0x3214a8(0x1ec)](process[_0x3214a8(0x1f6)]);if(_0x213680['getStderr']())_0x213680[_0x3214a8(0x1e3)]()['pipe'](process[_0x3214a8(0x1f1)]);const _0x317877=async()=>{const _0x41a1bf=_0x3214a8,{forceExited:_0x45b5d3}=await _0x213680[_0x41a1bf(0x1f5)]();_0x45b5d3&&console['error'](_0x41a1bf(0x1da)),_0x26d99c(_0x3cd9ba);},_0x52e792=throat(_0xdf4654['length']),_0x584f1a=_0x437184=>_0x52e792(async()=>{const _0x4e4953=_0x3214a8;return await _0x37c8d6['emit']('platform-run-start',_0x437184),_0x213680[_0x4e4953(0x1e9)](_0x437184,_0x9dfb89,_0x1856f0);});Promise[_0x3214a8(0x1ea)](_0xdf4654[_0x3214a8(0x1f7)](_0x2495b7=>_0x584f1a(_0x2495b7)[_0x3214a8(0x1e2)](_0x2b349d=>_0x37c8d6[_0x3214a8(0x1f8)](_0x3214a8(0x1dd),[_0x2495b7,_0x2b349d]),_0x448863=>_0x37c8d6[_0x3214a8(0x1f8)]('platform-run-failure',[_0x2495b7,_0x448863]))))[_0x3214a8(0x1e2)](_0x317877,_0x317877);});};
@@ -0,0 +1 @@
1
+ const a16_0x43a15e=a16_0x1e0c;(function(_0x143a3c,_0x2be77f){const _0x349701=a16_0x1e0c,_0x5bfc2e=_0x143a3c();while(!![]){try{const _0x2d4df2=parseInt(_0x349701(0xae))/0x1+parseInt(_0x349701(0xa4))/0x2+-parseInt(_0x349701(0xaf))/0x3*(parseInt(_0x349701(0xa7))/0x4)+-parseInt(_0x349701(0xa5))/0x5+-parseInt(_0x349701(0xa9))/0x6+-parseInt(_0x349701(0xac))/0x7+parseInt(_0x349701(0xa2))/0x8;if(_0x2d4df2===_0x2be77f)break;else _0x5bfc2e['push'](_0x5bfc2e['shift']());}catch(_0x3c69a6){_0x5bfc2e['push'](_0x5bfc2e['shift']());}}}(a16_0x55a3,0x3bdcf),exports[a16_0x43a15e(0xa6)]=async _0x56a653=>{const _0x362d39=a16_0x43a15e,_0x1261c8=require(_0x362d39(0xaa)),_0x532db1=new _0x1261c8(_0x362d39(0xad),_0x56a653);return await _0x532db1[_0x362d39(0xab)]();},exports[a16_0x43a15e(0xa3)]=async(_0x55810f,_0x36f752,_0x1bd1fd)=>{const _0x554fed=a16_0x43a15e;let _0x5345f0={'configuration':{'capability':_0x55810f,..._0x36f752}};const _0x1b58ed=require(_0x554fed(0xaa)),_0x16f380=new _0x1b58ed(_0x554fed(0xa8),_0x5345f0,_0x1bd1fd);return await _0x16f380['run']();});function a16_0x1e0c(_0x1a5006,_0x11af37){const _0x55a388=a16_0x55a3();return a16_0x1e0c=function(_0x1e0c1e,_0x3b0427){_0x1e0c1e=_0x1e0c1e-0xa2;let _0x29a3da=_0x55a388[_0x1e0c1e];return _0x29a3da;},a16_0x1e0c(_0x1a5006,_0x11af37);}function a16_0x55a3(){const _0x5337b1=['cucumber-js','1683390SqLngJ','../launcher/launcher','run','3263316LXtKuB','mocha','76907brrhDY','900taiZNH','11906224bMOVff','runCucumberTest','276346tqbUYi','1427030sJcCFC','runTest','5680aSJPyv'];a16_0x55a3=function(){return _0x5337b1;};return a16_0x55a3();}
@@ -0,0 +1 @@
1
+ function a17_0xa1bd(_0x352811,_0xa50109){const _0x52642e=a17_0x5264();return a17_0xa1bd=function(_0xa1bd23,_0x35d2f4){_0xa1bd23=_0xa1bd23-0x84;let _0x510f76=_0x52642e[_0xa1bd23];return _0x510f76;},a17_0xa1bd(_0x352811,_0xa50109);}const a17_0xb65bda=a17_0xa1bd;function a17_0x5264(){const _0x30edff=['cucumberWorker','112805ouCvCz','430XJTWIX','8912uhLOKi','12whVmwY','118705OKOiCW','1209316QtVNlB','worker','251291eAyTXg','982646yOIkAa','285772OeSimS','4077oEQZvN','168GsVPxn','./runTest'];a17_0x5264=function(){return _0x30edff;};return a17_0x5264();}(function(_0x315c93,_0x773200){const _0x5db86c=a17_0xa1bd,_0x3ee43d=_0x315c93();while(!![]){try{const _0x4eabab=-parseInt(_0x5db86c(0x90))/0x1+-parseInt(_0x5db86c(0x84))/0x2*(parseInt(_0x5db86c(0x8c))/0x3)+parseInt(_0x5db86c(0x8e))/0x4+parseInt(_0x5db86c(0x8d))/0x5*(parseInt(_0x5db86c(0x86))/0x6)+parseInt(_0x5db86c(0x91))/0x7+-parseInt(_0x5db86c(0x8b))/0x8*(-parseInt(_0x5db86c(0x85))/0x9)+parseInt(_0x5db86c(0x8a))/0xa*(-parseInt(_0x5db86c(0x89))/0xb);if(_0x4eabab===_0x773200)break;else _0x3ee43d['push'](_0x3ee43d['shift']());}catch(_0x422982){_0x3ee43d['push'](_0x3ee43d['shift']());}}}(a17_0x5264,0x55089));const {runTest,runCucumberTest}=require(a17_0xb65bda(0x87));exports[a17_0xb65bda(0x8f)]=async _0x4ac2c7=>{return await runTest(_0x4ac2c7);},exports[a17_0xb65bda(0x88)]=async(_0x827872,_0x2d4e0e,_0x1a97d4)=>{return await runCucumberTest(_0x827872,_0x2d4e0e,_0x1a97d4);};
@@ -1 +1 @@
1
- function a6_0x4c97(){var _0x44a975=['117PnXlDj','2085109yIyMbU','9230melMjU','7172xhmljA','Run\x20mocha\x20tests\x20on\x20browserstack','30705UwAHZR','exports','83202LJUlbd','Specify\x20--help\x20for\x20available\x20options','shows\x20version\x20information','633832KnsTDF','3006591jieetx','96FuXwcd','2RHYucJ','160tMMTwo','260ZaKTir','831007qpPjHa'];a6_0x4c97=function(){return _0x44a975;};return a6_0x4c97();}function a6_0x45a1(_0x174574,_0x11d591){var _0x4c9736=a6_0x4c97();return a6_0x45a1=function(_0x45a10e,_0x4d6ec5){_0x45a10e=_0x45a10e-0x1bb;var _0x36f4a8=_0x4c9736[_0x45a10e];return _0x36f4a8;},a6_0x45a1(_0x174574,_0x11d591);}var a6_0x392fa4=a6_0x45a1;(function(_0x464220,_0x4d072d){var _0x5b39bf=a6_0x45a1,_0x5059b0=_0x464220();while(!![]){try{var _0x203317=parseInt(_0x5b39bf(0x1ca))/0x1*(-parseInt(_0x5b39bf(0x1c7))/0x2)+-parseInt(_0x5b39bf(0x1bf))/0x3*(-parseInt(_0x5b39bf(0x1c8))/0x4)+parseInt(_0x5b39bf(0x1c9))/0x5*(parseInt(_0x5b39bf(0x1c1))/0x6)+-parseInt(_0x5b39bf(0x1c5))/0x7+-parseInt(_0x5b39bf(0x1c4))/0x8*(parseInt(_0x5b39bf(0x1cb))/0x9)+parseInt(_0x5b39bf(0x1bc))/0xa*(parseInt(_0x5b39bf(0x1bd))/0xb)+parseInt(_0x5b39bf(0x1c6))/0xc*(parseInt(_0x5b39bf(0x1bb))/0xd);if(_0x203317===_0x4d072d)break;else _0x5059b0['push'](_0x5059b0['shift']());}catch(_0x236cb2){_0x5059b0['push'](_0x5059b0['shift']());}}}(a6_0x4c97,0xb0fbf),module[a6_0x392fa4(0x1c0)]={'VERSION':{'INFO':a6_0x392fa4(0x1c3),'HELP':a6_0x392fa4(0x1c2)},'JEST':{'INFO':'Run\x20jest\x20tests\x20on\x20browserstack'},'MOCHA':{'INFO':a6_0x392fa4(0x1be)}});
1
+ var a18_0x485b0a=a18_0x1880;function a18_0x1880(_0x474633,_0x2f1e9a){var _0x511c13=a18_0x511c();return a18_0x1880=function(_0x188000,_0x2630e9){_0x188000=_0x188000-0x1cd;var _0x170a35=_0x511c13[_0x188000];return _0x170a35;},a18_0x1880(_0x474633,_0x2f1e9a);}function a18_0x511c(){var _0x15002d=['18847092oRjhPQ','523201hdhyBh','49070yyHwiF','207075mmURGq','37236fJIIAM','8ztTRuF','225kDAzxc','shows\x20version\x20information','Specify\x20--help\x20for\x20available\x20options','Run\x20cucumber-js\x20tests\x20on\x20browserstack','Run\x20mocha\x20tests\x20on\x20browserstack','324dHNFaw','https://hub.browserstack.com/wd/hub','4000844dWZdzg','8RVdaLS','3986808JSwwmv'];a18_0x511c=function(){return _0x15002d;};return a18_0x511c();}(function(_0x23f046,_0x25dd59){var _0x57f123=a18_0x1880,_0x3f8ce0=_0x23f046();while(!![]){try{var _0x3762d5=-parseInt(_0x57f123(0x1ce))/0x1+-parseInt(_0x57f123(0x1d2))/0x2*(parseInt(_0x57f123(0x1d0))/0x3)+-parseInt(_0x57f123(0x1da))/0x4+parseInt(_0x57f123(0x1d3))/0x5*(parseInt(_0x57f123(0x1d1))/0x6)+parseInt(_0x57f123(0x1dc))/0x7*(parseInt(_0x57f123(0x1db))/0x8)+-parseInt(_0x57f123(0x1d8))/0x9*(-parseInt(_0x57f123(0x1cf))/0xa)+parseInt(_0x57f123(0x1cd))/0xb;if(_0x3762d5===_0x25dd59)break;else _0x3f8ce0['push'](_0x3f8ce0['shift']());}catch(_0x4f44a7){_0x3f8ce0['push'](_0x3f8ce0['shift']());}}}(a18_0x511c,0xe553e),module['exports']={'VERSION':{'INFO':a18_0x485b0a(0x1d4),'HELP':a18_0x485b0a(0x1d5)},'JEST':{'INFO':'Run\x20jest\x20tests\x20on\x20browserstack'},'MOCHA':{'INFO':a18_0x485b0a(0x1d7)},'CUCUMBER':{'INFO':a18_0x485b0a(0x1d6)},'hubUrl':a18_0x485b0a(0x1d9)});
@@ -1 +1 @@
1
- const a7_0x33a217=a7_0x5c91;(function(_0x2f1245,_0x2334e1){const _0x42c8a9=a7_0x5c91,_0x1bbaa7=_0x2f1245();while(!![]){try{const _0x392a31=-parseInt(_0x42c8a9(0x82))/0x1+-parseInt(_0x42c8a9(0x75))/0x2+parseInt(_0x42c8a9(0x7b))/0x3*(parseInt(_0x42c8a9(0x73))/0x4)+-parseInt(_0x42c8a9(0x76))/0x5+-parseInt(_0x42c8a9(0x71))/0x6*(-parseInt(_0x42c8a9(0x89))/0x7)+parseInt(_0x42c8a9(0x83))/0x8*(parseInt(_0x42c8a9(0x84))/0x9)+parseInt(_0x42c8a9(0x8b))/0xa;if(_0x392a31===_0x2334e1)break;else _0x1bbaa7['push'](_0x1bbaa7['shift']());}catch(_0xa92fd5){_0x1bbaa7['push'](_0x1bbaa7['shift']());}}}(a7_0x3dae,0x892a4));const logger=require(a7_0x33a217(0x90))[a7_0x33a217(0x7c)],helper=require('./helper');function a7_0x5c91(_0x57af33,_0x104d0c){const _0x3daea8=a7_0x3dae();return a7_0x5c91=function(_0x5c9179,_0x1d5486){_0x5c9179=_0x5c9179-0x70;let _0x411cdc=_0x3daea8[_0x5c9179];return _0x411cdc;},a7_0x5c91(_0x57af33,_0x104d0c);}function a7_0x3dae(){const _0x131838=['unhandledRejection','setProxySettings','env','6NGNGyL','Local\x20binary\x20started\x20successfully','1292EvzsTV','setupKeepAlive','375808ximlYk','614290qoMfyk','Error\x20occured\x20while\x20stopping\x20local\x20binary','stopLocalBinary','readConfig','error','9837bHrrtP','winstonLogger','./setKeepAlive','message','handleExceptions','Local\x20binary\x20stopped','setLogLevel','549542QBgheH','32pPawmN','443367Kooubw','getConfigPath','stopBrowserstackLocal','SIGINT','BROWSERSTACK_LOCAL','1075333wSTlFY','default','123440ACsjRg','info','startLocalBinarySync','config','browserstackLocal','./logger','debug','uncaughtException','isRunning','setupBrowserstackLocal'];a7_0x3dae=function(){return _0x131838;};return a7_0x3dae();}class BrowserStackSetup{constructor(){const _0xb9c388=a7_0x33a217;this[_0xb9c388(0x8f)]=null,this[_0xb9c388(0x8e)]=helper[_0xb9c388(0x79)](helper[_0xb9c388(0x85)]()),!this[_0xb9c388(0x8e)]['error']&&(helper[_0xb9c388(0x81)](this[_0xb9c388(0x8e)]),helper[_0xb9c388(0x96)](this[_0xb9c388(0x8e)]),this[_0xb9c388(0x7f)](),this[_0xb9c388(0x94)](),this[_0xb9c388(0x74)]());}[a7_0x33a217(0x94)](){const _0x245a6c=a7_0x33a217;if((this[_0x245a6c(0x8e)][_0x245a6c(0x8f)]==!![]||process[_0x245a6c(0x70)][_0x245a6c(0x88)])&&(!this['browserstackLocal']||!this[_0x245a6c(0x8f)][_0x245a6c(0x93)]()))try{this[_0x245a6c(0x8f)]=helper[_0x245a6c(0x8d)](this[_0x245a6c(0x8e)]),logger[_0x245a6c(0x8c)](_0x245a6c(0x72));let _0x59a848=0x0;const _0x102607=async()=>{const _0x10f807=_0x245a6c;_0x59a848++,_0x59a848==0x1&&await this[_0x10f807(0x86)]();};process['on']('beforeExit',_0x102607),process['on'](_0x245a6c(0x87),_0x102607),process['on']('SIGTERM',_0x102607);}catch(_0x94ea2e){logger[_0x245a6c(0x7a)]('Something\x20went\x20wrong\x20while\x20starting\x20local\x20:',_0x94ea2e['message']),logger['debug'](_0x94ea2e);}}async[a7_0x33a217(0x86)](){const _0x3e9d40=a7_0x33a217;if(this[_0x3e9d40(0x8f)]&&this[_0x3e9d40(0x8f)]['isRunning']())try{await helper[_0x3e9d40(0x78)](this[_0x3e9d40(0x8f)]),logger[_0x3e9d40(0x8c)](_0x3e9d40(0x80));}catch(_0x4c2b56){logger['error'](_0x3e9d40(0x77),_0x4c2b56[_0x3e9d40(0x7e)]);}}[a7_0x33a217(0x74)](){const _0x1cadb1=a7_0x33a217;require(_0x1cadb1(0x7d))();}[a7_0x33a217(0x7f)](){const _0x3e39ab=a7_0x33a217,_0x23bd20=_0x1890ed=>{const _0x327acf=a7_0x5c91;logger[_0x327acf(0x7a)](_0x1890ed[_0x327acf(0x7e)]),logger[_0x327acf(0x91)](_0x1890ed);};process['on'](_0x3e39ab(0x95),_0x23bd20),process['on'](_0x3e39ab(0x92),_0x23bd20);}}exports[a7_0x33a217(0x8a)]=BrowserStackSetup;
1
+ const a19_0x330d89=a19_0x37f0;(function(_0x19ef20,_0x5d1c52){const _0x356fa1=a19_0x37f0,_0x41c38e=_0x19ef20();while(!![]){try{const _0x1fc7b0=parseInt(_0x356fa1(0x1ab))/0x1+parseInt(_0x356fa1(0x18f))/0x2+-parseInt(_0x356fa1(0x18d))/0x3+parseInt(_0x356fa1(0x191))/0x4+-parseInt(_0x356fa1(0x1b1))/0x5*(-parseInt(_0x356fa1(0x192))/0x6)+parseInt(_0x356fa1(0x1af))/0x7*(parseInt(_0x356fa1(0x194))/0x8)+-parseInt(_0x356fa1(0x1ac))/0x9;if(_0x1fc7b0===_0x5d1c52)break;else _0x41c38e['push'](_0x41c38e['shift']());}catch(_0x263042){_0x41c38e['push'](_0x41c38e['shift']());}}}(a19_0x125f,0xcd32a));function a19_0x37f0(_0x553ca2,_0x3a095f){const _0x125fff=a19_0x125f();return a19_0x37f0=function(_0x37f0ea,_0x45a184){_0x37f0ea=_0x37f0ea-0x18b;let _0x2d1f70=_0x125fff[_0x37f0ea];return _0x2d1f70;},a19_0x37f0(_0x553ca2,_0x3a095f);}const logger=require(a19_0x330d89(0x195))[a19_0x330d89(0x1aa)],helper=require('./helper');class BrowserStackSetup{constructor(){const _0x29f96e=a19_0x330d89;this['browserstackLocal']=null,this[_0x29f96e(0x19a)]=helper[_0x29f96e(0x1a4)](helper[_0x29f96e(0x193)]());if(this['config']['error'])throw new Error(this['config']['error']);parseInt(helper[_0x29f96e(0x1a5)](_0x29f96e(0x1ae)))<0x3&&(this['config']['useW3C']=![]),helper[_0x29f96e(0x1b3)](this['config'][_0x29f96e(0x1b0)])&&(this[_0x29f96e(0x19a)][_0x29f96e(0x1b0)]=0x1),helper[_0x29f96e(0x1a8)](this[_0x29f96e(0x19a)]),helper[_0x29f96e(0x196)](this[_0x29f96e(0x19a)]),this[_0x29f96e(0x19e)](),this[_0x29f96e(0x197)](),this[_0x29f96e(0x18c)]();}[a19_0x330d89(0x197)](){const _0x5a2f05=a19_0x330d89;if((this[_0x5a2f05(0x19a)]['browserstackLocal']==!![]||process['env'][_0x5a2f05(0x198)])&&(!this['browserstackLocal']||!this[_0x5a2f05(0x1a2)][_0x5a2f05(0x1a1)]()))try{this[_0x5a2f05(0x1a2)]=helper[_0x5a2f05(0x1a9)](this['config']),logger[_0x5a2f05(0x1ad)](_0x5a2f05(0x19c));let _0x2d9eb6=0x0;const _0x1ad214=async()=>{_0x2d9eb6++,_0x2d9eb6==0x1&&await this['stopBrowserstackLocal']();};process['on'](_0x5a2f05(0x19f),_0x1ad214),process['on'](_0x5a2f05(0x190),_0x1ad214),process['on'](_0x5a2f05(0x1b2),_0x1ad214);}catch(_0x240633){logger['error']('Something\x20went\x20wrong\x20while\x20starting\x20local\x20:',_0x240633[_0x5a2f05(0x1a0)]),logger[_0x5a2f05(0x19d)](_0x240633);}}async[a19_0x330d89(0x18e)](){const _0x44d285=a19_0x330d89;if(this['browserstackLocal']&&this['browserstackLocal']['isRunning']())try{await helper[_0x44d285(0x1a6)](this[_0x44d285(0x1a2)]),logger[_0x44d285(0x1ad)](_0x44d285(0x199));}catch(_0x2758ba){logger[_0x44d285(0x18b)](_0x44d285(0x19b),_0x2758ba[_0x44d285(0x1a0)]);}}['setupKeepAlive'](){require('./setKeepAlive')();}[a19_0x330d89(0x19e)](){const _0x2ef97e=a19_0x330d89,_0x31dc4a=_0xa474da=>{const _0x59bfa5=a19_0x37f0;logger[_0x59bfa5(0x18b)](_0xa474da[_0x59bfa5(0x1a0)]),logger[_0x59bfa5(0x19d)](_0xa474da);};process['on']('unhandledRejection',_0x31dc4a),process['on'](_0x2ef97e(0x1a7),_0x31dc4a);}}function a19_0x125f(){const _0x284272=['config','Error\x20occured\x20while\x20stopping\x20local\x20binary','Local\x20binary\x20started\x20successfully','debug','handleExceptions','beforeExit','message','isRunning','browserstackLocal','default','readConfig','getPackageVersion','stopLocalBinary','uncaughtException','setLogLevel','startLocalBinarySync','winstonLogger','553356LKZCZt','26297406nTedKE','info','selenium-webdriver','99113NHIPrd','parallelsPerPlatform','3959545OtfctX','SIGTERM','isUndefined','error','setupKeepAlive','814233ztHwjr','stopBrowserstackLocal','3045478oFJHYo','SIGINT','4210236tJStqe','6FPVoXw','getConfigPath','64rDvZXh','./logger','setProxySettings','setupBrowserstackLocal','BROWSERSTACK_LOCAL','Local\x20binary\x20stopped'];a19_0x125f=function(){return _0x284272;};return a19_0x125f();}exports[a19_0x330d89(0x1a3)]=BrowserStackSetup;
@@ -1 +1 @@
1
- function a8_0x2038(){const _0x515395=['getLocalConfig','\x20from\x20','version','cloneDeep','existsSync','generateLocalIdentifier','getLocalIdentifier','npm\x20root\x20-g','getProxyUrl','load','lodash','HTTP_PROXY','../../package.json','browserstack-local','jest-runtime','806kiEkqV','browser','loggerFile','includes','verbose','browserstack.yaml','Getting\x20','startSync','getBrowserVersion','getAgentVersion','browserstack.key','Local\x20set\x20to\x20true.\x20Adding\x20local:\x20true\x20and\x20localIdentifier:\x20','browserName','uuid','httpsProxy','browserStackLocalOptions','platforms','localOptions','trim','proxyPassword','split','getAccessKey','utf8','stop','httpProxy','forEach','requireModule','browserstack.user','browserVersion','length','BROWSERSTACK_ACCESS_KEY','proxyUrl','userName','6868fljsOW','13632060fOrlXT','child_process','setLogLevel','message','requireSeleniumWebdriver','info','path','126aNTCZk','proxyHost','os_version','Log\x20level\x20set\x20to','1462StYJIt','slice','useW3C','8814472HwoyMf','5664830zPioCm','toString','cwd','proxySettings','getBuildName','localIdentifier','://','build','Stopping\x20local\x20binary','40872OJbuBz','browserstack.local','accessKey','5074704cBqtrd','browserstack.localIdentifier','isUndefined','getRootLevelCapabilities','readConfig','Starting\x20local\x20binary','jest-runner','Local\x20set\x20to\x20true.\x20Adding\x20browserstack.local:\x20true\x20and\x20browserstack.localIdentifier:\x20','./logger','browserstackSDK','local','js-yaml','env','proxyProtocol','BROWSERSTACK_LOCAL_IDENTIFIER','Config\x20file\x20does\x20not\x20exist\x20at','getPlatformLevelCapabilities','getOsVersion','proxyPass','proxyUser','getUserName','node_modules','Reading\x20configs\x20from\x20','error','setLocalArgs','entries','111skOgOK','jest','browserstackLocal','browserstack.yml','getOs','getBrowserName','proxyPort','\x20doesn\x27t\x20exist.','parallelsPerPlatform','warn','transports','nodeagent/','getConfigPath','Local','./w3cMapping','debug','setLocalIdentifier','level','osVersion','\x20to\x20capabilities.','buildName','\x20doesn\x27t\x20exist\x20at\x20','W3CMapping','isRunning','browser_version','join'];a8_0x2038=function(){return _0x515395;};return a8_0x2038();}const a8_0x4393e7=a8_0xfc0d;function a8_0xfc0d(_0x1576de,_0x2695ec){const _0x2038f1=a8_0x2038();return a8_0xfc0d=function(_0xfc0d23,_0x14cef2){_0xfc0d23=_0xfc0d23-0xaf;let _0x50855a=_0x2038f1[_0xfc0d23];return _0x50855a;},a8_0xfc0d(_0x1576de,_0x2695ec);}(function(_0x2a2ec6,_0x558376){const _0x1a3ae5=a8_0xfc0d,_0x45fc2c=_0x2a2ec6();while(!![]){try{const _0x57a2d8=-parseInt(_0x1a3ae5(0xf8))/0x1*(parseInt(_0x1a3ae5(0x125))/0x2)+parseInt(_0x1a3ae5(0xcf))/0x3*(parseInt(_0x1a3ae5(0x119))/0x4)+parseInt(_0x1a3ae5(0x129))/0x5+-parseInt(_0x1a3ae5(0xb2))/0x6*(parseInt(_0x1a3ae5(0x121))/0x7)+parseInt(_0x1a3ae5(0x128))/0x8+parseInt(_0x1a3ae5(0xb5))/0x9+-parseInt(_0x1a3ae5(0x11a))/0xa;if(_0x57a2d8===_0x558376)break;else _0x45fc2c['push'](_0x45fc2c['shift']());}catch(_0x982a1f){_0x45fc2c['push'](_0x45fc2c['shift']());}}}(a8_0x2038,0xc02d0));const _=require(a8_0x4393e7(0xf3)),{v4:uuidV4}=require(a8_0x4393e7(0x105)),path=require(a8_0x4393e7(0x120)),fs=require('fs'),yaml=require(a8_0x4393e7(0xc0)),BrowserstackLocalLauncher=require(a8_0x4393e7(0xf6)),{execSync}=require(a8_0x4393e7(0x11b)),W3CMapping=require(a8_0x4393e7(0xdd))[a8_0x4393e7(0xe5)](),transports=require(a8_0x4393e7(0xbd))[a8_0x4393e7(0xd9)],logger=require(a8_0x4393e7(0xbd))['winstonLogger'],GLOBAL_MODULE_PATH=execSync(a8_0x4393e7(0xf0))[a8_0x4393e7(0x12a)]()[a8_0x4393e7(0x10a)]();exports[a8_0x4393e7(0xdb)]=()=>{const _0x495f2b=a8_0x4393e7,_0x330265=[path[_0x495f2b(0xe8)](process[_0x495f2b(0x12b)](),_0x495f2b(0xd2)),path[_0x495f2b(0xe8)](process[_0x495f2b(0x12b)](),_0x495f2b(0xfd))];if(fs[_0x495f2b(0xed)](_0x330265[0x0]))return _0x330265[0x0];if(fs[_0x495f2b(0xed)](_0x330265[0x1]))return _0x330265[0x1];return![];},exports[a8_0x4393e7(0xb9)]=_0x395c51=>{const _0x1d4e4b=a8_0x4393e7;if(_0x395c51){logger[_0x1d4e4b(0x11f)](_0x1d4e4b(0xcb)+_0x395c51);try{return yaml[_0x1d4e4b(0xf2)](fs['readFileSync'](_0x395c51,_0x1d4e4b(0x10e)));}catch(_0x8efc49){return logger[_0x1d4e4b(0xcc)](_0x8efc49[_0x1d4e4b(0x11d)]),{'error':!![]};}}else return logger[_0x1d4e4b(0xcc)](_0x1d4e4b(0xc4),process[_0x1d4e4b(0x12b)]()),{'error':!![]};},exports[a8_0x4393e7(0xc9)]=_0x3e2024=>{const _0x53ae63=a8_0x4393e7;return _0x3e2024[_0x53ae63(0x118)]||_0x3e2024[_0x53ae63(0x113)]||process[_0x53ae63(0xc1)]['BROWSERSTACK_USERNAME'];},exports[a8_0x4393e7(0x10d)]=_0x222d51=>{const _0x55846c=a8_0x4393e7;return _0x222d51[_0x55846c(0xb4)]||_0x222d51[_0x55846c(0x102)]||process[_0x55846c(0xc1)][_0x55846c(0x116)];},exports[a8_0x4393e7(0xf1)]=_0x3c2709=>{const _0x2e2de8=a8_0x4393e7;return _0x3c2709[_0x2e2de8(0x110)]||_0x3c2709[_0x2e2de8(0x106)]||process[_0x2e2de8(0xc1)][_0x2e2de8(0xf4)]||process[_0x2e2de8(0xc1)]['HTTPS_PROXY'];},exports[a8_0x4393e7(0xee)]=()=>{return uuidV4();},exports[a8_0x4393e7(0xdf)]=_0x36766c=>{const _0x5191cf=a8_0x4393e7;if(_0x36766c[_0x5191cf(0x107)]&&!this[_0x5191cf(0xb7)](_0x36766c[_0x5191cf(0x107)][_0x5191cf(0x12e)]))return _0x36766c[_0x5191cf(0x12e)]=_0x36766c[_0x5191cf(0x107)]['localIdentifier'];if(!this[_0x5191cf(0xb7)](process[_0x5191cf(0xc1)][_0x5191cf(0xc3)]))return _0x36766c[_0x5191cf(0x12e)]=process['env'][_0x5191cf(0xc3)];_0x36766c[_0x5191cf(0x12e)]=this['generateLocalIdentifier']();},exports[a8_0x4393e7(0xcd)]=_0x16831c=>{const _0x26f97e=a8_0x4393e7;let _0x8adb27={};return this['setLocalIdentifier'](_0x16831c),_0x8adb27['key']=_0x16831c[_0x26f97e(0xb4)],(_0x8adb27[_0x26f97e(0x12e)]=_0x16831c[_0x26f97e(0x12e)],_0x8adb27[_0x26f97e(0xfc)]=0x3),_0x8adb27['forceLocal']=_0x16831c[_0x26f97e(0x107)]&&_0x16831c['browserStackLocalOptions']['forceLocal'],_0x8adb27[_0x26f97e(0x122)]=_0x16831c[_0x26f97e(0x12c)][_0x26f97e(0x122)],_0x8adb27[_0x26f97e(0xd5)]=_0x16831c[_0x26f97e(0x12c)][_0x26f97e(0xd5)],_0x8adb27[_0x26f97e(0xc8)]=_0x16831c[_0x26f97e(0x12c)]['proxyUser'],_0x8adb27[_0x26f97e(0xc7)]=_0x16831c[_0x26f97e(0x12c)][_0x26f97e(0x10b)],_0x8adb27;},exports['setProxySettings']=_0x52ab65=>{const _0x207cdc=a8_0x4393e7,_0x4c5f85={};_0x52ab65[_0x207cdc(0x12c)]=_0x4c5f85;let _0x2ee9f4=this['getProxyUrl'](_0x52ab65);if(!_0x2ee9f4)return;_0x4c5f85[_0x207cdc(0x117)]=_0x2ee9f4,_0x2ee9f4=_0x2ee9f4[_0x207cdc(0x12a)]();const _0x555c21=_0x2ee9f4[_0x207cdc(0x10c)](_0x207cdc(0xaf)),_0x20b449=_0x555c21[0x1]&&_0x555c21[0x1][_0x207cdc(0x10c)]('@');let _0x47bb1a,_0x12e619;_0x47bb1a=_0x20b449&&_0x20b449[_0x20b449['length']-0x1]&&_0x20b449[_0x20b449['length']-0x1][_0x207cdc(0x10c)](':'),_0x20b449&&_0x20b449[_0x207cdc(0x115)]>0x1&&(_0x12e619=_0x20b449[_0x207cdc(0x126)](0x0,_0x20b449[_0x207cdc(0x115)]-0x1)[_0x207cdc(0xe8)]('@')[_0x207cdc(0x10c)](':')),_0x4c5f85[_0x207cdc(0xc2)]=_0x555c21[0x0],_0x47bb1a&&(_0x4c5f85[_0x207cdc(0x122)]=_0x47bb1a[0x0],_0x4c5f85[_0x207cdc(0xd5)]=_0x47bb1a[0x1]),_0x12e619&&(_0x4c5f85[_0x207cdc(0xc8)]=_0x12e619[0x0],_0x4c5f85[_0x207cdc(0x10b)]=_0x12e619[0x1]),delete _0x52ab65['httpProxy'],delete _0x52ab65[_0x207cdc(0x106)];},exports[a8_0x4393e7(0x11c)]=_0x4ca31c=>{const _0x19640f=a8_0x4393e7;if(this[_0x19640f(0xb7)](_0x4ca31c[_0x19640f(0xfc)]))return;const _0x2a2ee9=[_0x19640f(0xd8),_0x19640f(0x11f),_0x19640f(0xde)];if(!_0x2a2ee9[_0x19640f(0xfb)](_0x4ca31c[_0x19640f(0xfc)]))return;transports['loggerConsole'][_0x19640f(0xe0)]=_0x4ca31c[_0x19640f(0xfc)],transports[_0x19640f(0xfa)][_0x19640f(0xe0)]=_0x4ca31c[_0x19640f(0xfc)],logger[_0x19640f(0xde)](_0x19640f(0x124),_0x4ca31c['verbose']);},exports[a8_0x4393e7(0x127)]=_0x230004=>{const _0x5f4623=a8_0x4393e7;return!this[_0x5f4623(0xb7)](_0x230004[_0x5f4623(0x127)])?_0x230004['useW3C']:!![];},exports['getBuildName']=_0x14ef1a=>{const _0x3ef543=a8_0x4393e7;return _0x14ef1a[_0x3ef543(0xb0)]||_0x14ef1a[_0x3ef543(0xe3)]||process[_0x3ef543(0xc1)]['BROWSERSTACK_BUILD_NAME'];},exports['isUndefined']=_0x12e9b8=>_0x12e9b8===undefined||_0x12e9b8===null,exports['getLocalConfig']=_0x260836=>{const _0x17c74d=a8_0x4393e7;return _0x260836[_0x17c74d(0xd1)]||_0x260836[_0x17c74d(0xbf)]||process[_0x17c74d(0xc1)]['BROWSERSTACK_LOCAL']||![];},exports['getLocalIdentifier']=_0x2dd18e=>{const _0x3109d1=a8_0x4393e7;return _0x2dd18e[_0x3109d1(0x12e)];},exports[a8_0x4393e7(0xd4)]=(_0x4516bb,_0x24dc31=0x0)=>{const _0x3e9bfa=a8_0x4393e7;return combination=_0x4516bb[_0x3e9bfa(0x108)][_0x24dc31],combination[_0x3e9bfa(0xf9)]||combination['browserName'];},exports['getBrowserVersion']=(_0x26f6e1,_0x119818=0x0)=>{const _0x47520f=a8_0x4393e7;return combination=_0x26f6e1[_0x47520f(0x108)][_0x119818],combination[_0x47520f(0xe7)]||combination['browserVersion'];},exports[a8_0x4393e7(0xd3)]=(_0x58cc19,_0x116e95=0x0)=>{const _0x36ab5b=a8_0x4393e7;return combination=_0x58cc19[_0x36ab5b(0x108)][_0x116e95],combination['os'];},exports[a8_0x4393e7(0xc6)]=(_0x13251f,_0x5eb24b=0x0)=>{const _0x5ea513=a8_0x4393e7;return combination=_0x13251f[_0x5ea513(0x108)][_0x5eb24b],combination['os_version']||combination[_0x5ea513(0xe1)];},exports[a8_0x4393e7(0x101)]=()=>{const _0x3d56b8=a8_0x4393e7;let _0x5b87ae=path[_0x3d56b8(0xe8)](__dirname,_0x3d56b8(0xf5));if(fs[_0x3d56b8(0xed)](_0x5b87ae))return require(_0x5b87ae)[_0x3d56b8(0xeb)];},exports['getRootLevelCapabilities']=_0x42d928=>{const _0x4a32d3=a8_0x4393e7;var _0x5c7dcd=_['cloneDeep'](_0x42d928);let _0x41f83b=[_0x4a32d3(0x113),'userName',_0x4a32d3(0x102),'accessKey',_0x4a32d3(0xbf),_0x4a32d3(0xd1),_0x4a32d3(0x107),_0x4a32d3(0x109),_0x4a32d3(0x127),_0x4a32d3(0x108)];return _0x41f83b['forEach'](_0x5f5274=>{delete _0x5c7dcd[_0x5f5274];}),_0x5c7dcd;},exports[a8_0x4393e7(0xc5)]=_0x1b9393=>{const _0x243da1=a8_0x4393e7;var _0x1a9edb=_[_0x243da1(0xec)](_0x1b9393);let _0x12d4ba=['os',_0x243da1(0xe1),_0x243da1(0x123),_0x243da1(0xf9),_0x243da1(0x104),_0x243da1(0x114),_0x243da1(0xe7)];return _0x12d4ba[_0x243da1(0x111)](_0x55f76e=>{delete _0x1a9edb[_0x55f76e];}),_0x1a9edb;},exports['modifyBrowserStackCaps']=(_0x46d54e,_0x1f442a=0x0)=>{const _0x3b04be=a8_0x4393e7;let _0x360d41={'useW3C':![]};_0x360d41['browserstack.user']=this[_0x3b04be(0xc9)](_0x46d54e),_0x360d41[_0x3b04be(0x102)]=this['getAccessKey'](_0x46d54e);this[_0x3b04be(0xe9)](_0x46d54e)==!![]&&(_0x360d41[_0x3b04be(0xb3)]=this[_0x3b04be(0xe9)](_0x46d54e),_0x360d41[_0x3b04be(0xb6)]=this[_0x3b04be(0xef)](_0x46d54e),logger[_0x3b04be(0xde)](_0x3b04be(0xbc)+this[_0x3b04be(0xef)](_0x46d54e)+_0x3b04be(0xe2)));_0x360d41['os']=this[_0x3b04be(0xd3)](_0x46d54e,_0x1f442a),_0x360d41[_0x3b04be(0x123)]=this[_0x3b04be(0xc6)](_0x46d54e,_0x1f442a),_0x360d41[_0x3b04be(0x104)]=this['getBrowserName'](_0x46d54e,_0x1f442a),_0x360d41[_0x3b04be(0xe7)]=this[_0x3b04be(0x100)](_0x46d54e,_0x1f442a);for(const [_0x2b6167,_0x278975]of Object['entries'](this[_0x3b04be(0xc5)](_0x46d54e[_0x3b04be(0x108)][_0x1f442a]))){_0x360d41[_0x2b6167]=_0x278975;}_0x360d41[_0x3b04be(0xb0)]=this[_0x3b04be(0x12d)](_0x46d54e);for(const [_0x1168f5,_0x558c1f]of Object[_0x3b04be(0xce)](this[_0x3b04be(0xb8)](_0x46d54e))){_0x360d41[_0x1168f5]=_0x558c1f;}return _0x360d41[_0x3b04be(0xbe)]=_0x3b04be(0xda)+this['getAgentVersion'](),delete _0x360d41[_0x3b04be(0x12c)],delete _0x360d41['verbose'],delete _0x360d41[_0x3b04be(0xd7)],_0x360d41;},exports['modifyBrowserStackW3CCaps']=(_0x32d057,_0xf37422=0x0)=>{const _0x27d84c=a8_0x4393e7;let _0x575aa5={'useW3C':!![]};_0x575aa5[_0x27d84c(0x118)]=this[_0x27d84c(0xc9)](_0x32d057),_0x575aa5[_0x27d84c(0xb4)]=this[_0x27d84c(0x10d)](_0x32d057);this[_0x27d84c(0xe9)](_0x32d057)==!![]&&(_0x575aa5[_0x27d84c(0xbf)]=this['getLocalConfig'](_0x32d057),_0x575aa5[_0x27d84c(0x12e)]=this[_0x27d84c(0xef)](_0x32d057),logger[_0x27d84c(0xde)](_0x27d84c(0x103)+this[_0x27d84c(0xef)](_0x32d057)+_0x27d84c(0xe2)));_0x575aa5['os']=this[_0x27d84c(0xd3)](_0x32d057,_0xf37422),_0x575aa5[_0x27d84c(0xe1)]=this[_0x27d84c(0xc6)](_0x32d057,_0xf37422);for(const [_0x4d7588,_0x56c9cb]of Object[_0x27d84c(0xce)](this[_0x27d84c(0xc5)](_0x32d057[_0x27d84c(0x108)][_0xf37422]))){_0x4d7588 in W3CMapping?_0x575aa5[W3CMapping[_0x4d7588]]=_0x56c9cb:_0x575aa5[_0x4d7588]=_0x56c9cb;}_0x575aa5[_0x27d84c(0xe3)]=this[_0x27d84c(0x12d)](_0x32d057);for(const [_0x1cb265,_0x378369]of Object[_0x27d84c(0xce)](this[_0x27d84c(0xb8)](_0x32d057))){_0x1cb265 in W3CMapping?_0x575aa5[W3CMapping[_0x1cb265]]=_0x378369:_0x575aa5[_0x1cb265]=_0x378369;}return _0x575aa5[_0x27d84c(0xbe)]=_0x27d84c(0xda)+this[_0x27d84c(0x101)](),delete _0x575aa5[_0x27d84c(0x12c)],delete _0x575aa5[_0x27d84c(0xfc)],delete _0x575aa5[_0x27d84c(0xd7)],{'bstack:options':_0x575aa5,'browserName':this['getBrowserName'](_0x32d057,_0xf37422),'browserVersion':this[_0x27d84c(0x100)](_0x32d057,_0xf37422)};},exports[a8_0x4393e7(0x11e)]=()=>{const _0xdc1983=a8_0x4393e7;return this[_0xdc1983(0x112)]('selenium-webdriver/index.js');},exports['requireModule']=_0x252d7b=>{const _0x964671=a8_0x4393e7;logger[_0x964671(0xde)](_0x964671(0xfe)+_0x252d7b+'\x20from\x20'+process['cwd']());const _0xc89374=path['join'](process[_0x964671(0x12b)](),_0x964671(0xca),_0x252d7b);if(!fs['existsSync'](_0xc89374)){logger[_0x964671(0xde)](_0x252d7b+_0x964671(0xe4)+process[_0x964671(0x12b)]()),logger[_0x964671(0xde)](_0x964671(0xfe)+_0x252d7b+_0x964671(0xea)+GLOBAL_MODULE_PATH);let _0x1c99ff;if([_0x964671(0xbb),_0x964671(0xf7)][_0x964671(0xfb)](_0x252d7b))_0x1c99ff=path[_0x964671(0xe8)](GLOBAL_MODULE_PATH,_0x964671(0xd0),_0x964671(0xca),_0x252d7b);else _0x1c99ff=path['join'](GLOBAL_MODULE_PATH,_0x252d7b);if(!fs['existsSync'](_0x1c99ff))throw new Error(_0x252d7b+_0x964671(0xd6));return require(_0x1c99ff);}return require(_0xc89374);},exports['startLocalBinarySync']=_0x575c39=>{const _0x26222f=a8_0x4393e7;logger[_0x26222f(0xde)](_0x26222f(0xba));const _0x3872f5=new BrowserstackLocalLauncher[(_0x26222f(0xdc))](),_0x557df2=this[_0x26222f(0xcd)](_0x575c39),_0x54c066=_0x3872f5[_0x26222f(0xff)](_0x557df2);if(_0x54c066)throw _0x54c066;return isLocalRunning=_0x3872f5[_0x26222f(0xe6)](),_0x3872f5;},exports['stopLocalBinary']=async _0x51609f=>{return new Promise((_0x4a2bb7,_0x5f0d20)=>{const _0x3cdf20=a8_0xfc0d;logger[_0x3cdf20(0xde)](_0x3cdf20(0xb1)),_0x51609f&&_0x51609f[_0x3cdf20(0x10f)](_0x3d6e7e=>{if(_0x3d6e7e)return _0x5f0d20(_0x3d6e7e);_0x4a2bb7();});});};
1
+ function a20_0xcfd3(_0x40eac7,_0x38b60e){const _0x3342ce=a20_0x3342();return a20_0xcfd3=function(_0xcfd3fe,_0x3914c3){_0xcfd3fe=_0xcfd3fe-0x151;let _0x19f814=_0x3342ce[_0xcfd3fe];return _0x19f814;},a20_0xcfd3(_0x40eac7,_0x38b60e);}const a20_0x498818=a20_0xcfd3;(function(_0x579ea0,_0x1acd83){const _0x3f7090=a20_0xcfd3,_0xebfdb0=_0x579ea0();while(!![]){try{const _0x5442ed=-parseInt(_0x3f7090(0x197))/0x1+-parseInt(_0x3f7090(0x15b))/0x2+-parseInt(_0x3f7090(0x1a1))/0x3+-parseInt(_0x3f7090(0x1c1))/0x4*(parseInt(_0x3f7090(0x1cb))/0x5)+parseInt(_0x3f7090(0x1c3))/0x6*(-parseInt(_0x3f7090(0x19e))/0x7)+parseInt(_0x3f7090(0x16d))/0x8*(parseInt(_0x3f7090(0x1d1))/0x9)+parseInt(_0x3f7090(0x1c9))/0xa*(parseInt(_0x3f7090(0x157))/0xb);if(_0x5442ed===_0x1acd83)break;else _0xebfdb0['push'](_0xebfdb0['shift']());}catch(_0x30099b){_0xebfdb0['push'](_0xebfdb0['shift']());}}}(a20_0x3342,0x7a8f6));const _=require('lodash'),path=require(a20_0x498818(0x1a7)),fs=require('fs'),yaml=require(a20_0x498818(0x16a)),BrowserstackLocalLauncher=require('browserstack-local'),{execSync}=require('child_process'),W3CMapping=require('./w3cMapping')[a20_0x498818(0x1c5)](),transports=require(a20_0x498818(0x1a3))[a20_0x498818(0x18d)],logger=require(a20_0x498818(0x1a3))[a20_0x498818(0x1b8)],GLOBAL_MODULE_PATH=execSync(a20_0x498818(0x1a8))[a20_0x498818(0x171)]()[a20_0x498818(0x1cf)]();exports['getConfigPath']=()=>{const _0x490b1c=a20_0x498818,_0x9bbd99=[path[_0x490b1c(0x175)](process['cwd'](),'browserstack.yml'),path[_0x490b1c(0x175)](process['cwd'](),_0x490b1c(0x1b2))];if(fs[_0x490b1c(0x194)](_0x9bbd99[0x0]))return _0x9bbd99[0x0];if(fs['existsSync'](_0x9bbd99[0x1]))return _0x9bbd99[0x1];return![];},exports[a20_0x498818(0x16c)]=_0x1c05c5=>{const _0x5c387c=a20_0x498818;if(_0x1c05c5){logger['info'](_0x5c387c(0x1a4)+_0x1c05c5);try{return yaml[_0x5c387c(0x167)](fs['readFileSync'](_0x1c05c5,_0x5c387c(0x1b4)));}catch(_0x2ddc8b){return logger[_0x5c387c(0x156)](_0x2ddc8b[_0x5c387c(0x1c0)]),{'error':!![]};}}else return logger[_0x5c387c(0x156)]('Config\x20file\x20does\x20not\x20exist\x20at',process['cwd']()),{'error':!![]};},exports[a20_0x498818(0x198)]=_0x43cadf=>{const _0x17ed18=a20_0x498818;return _0x43cadf[_0x17ed18(0x1b9)]||_0x43cadf[_0x17ed18(0x17f)]||process[_0x17ed18(0x18e)]['BROWSERSTACK_USERNAME'];},exports[a20_0x498818(0x176)]=_0x2419f9=>{const _0x3b6597=a20_0x498818;return _0x2419f9['accessKey']||_0x2419f9[_0x3b6597(0x1ac)]||process[_0x3b6597(0x18e)][_0x3b6597(0x199)];},exports['getProxyUrl']=_0x329505=>{const _0x5586d7=a20_0x498818;return _0x329505[_0x5586d7(0x189)]||_0x329505[_0x5586d7(0x1c4)]||process[_0x5586d7(0x18e)]['HTTP_PROXY']||process['env'][_0x5586d7(0x1c7)];},exports[a20_0x498818(0x196)]=_0x5f18a6=>{const _0x1eaafe=a20_0x498818;let _0x902101={};return _0x902101[_0x1eaafe(0x16e)]=_0x5f18a6[_0x1eaafe(0x1bf)],!this[_0x1eaafe(0x161)](this[_0x1eaafe(0x18a)](_0x5f18a6))&&(_0x902101[_0x1eaafe(0x1b6)]=this[_0x1eaafe(0x18a)](_0x5f18a6)),_0x902101[_0x1eaafe(0x162)]=0x3,_0x902101[_0x1eaafe(0x165)]=_0x5f18a6[_0x1eaafe(0x1a2)]&&_0x5f18a6[_0x1eaafe(0x1a2)][_0x1eaafe(0x165)],_0x902101[_0x1eaafe(0x15c)]=_0x5f18a6['proxySettings'][_0x1eaafe(0x15c)],_0x902101['proxyPort']=_0x5f18a6[_0x1eaafe(0x178)][_0x1eaafe(0x15a)],_0x902101[_0x1eaafe(0x18b)]=_0x5f18a6[_0x1eaafe(0x178)][_0x1eaafe(0x18b)],_0x902101['proxyPass']=_0x5f18a6[_0x1eaafe(0x178)][_0x1eaafe(0x172)],_0x5f18a6[_0x1eaafe(0x1a2)]&&_0x5f18a6[_0x1eaafe(0x1a2)][_0x1eaafe(0x166)]&&(_0x902101[_0x1eaafe(0x166)]=_0x5f18a6[_0x1eaafe(0x1a2)]['bs-host']),_0x902101;},exports[a20_0x498818(0x158)]=_0x1fd95=>{const _0x2ad094=a20_0x498818,_0x391cc1={};_0x1fd95[_0x2ad094(0x178)]=_0x391cc1;let _0x1ad1d6=this[_0x2ad094(0x19c)](_0x1fd95);if(!_0x1ad1d6)return;_0x391cc1['proxyUrl']=_0x1ad1d6,_0x1ad1d6=_0x1ad1d6[_0x2ad094(0x171)]();const _0x4927bc=_0x1ad1d6['split'](_0x2ad094(0x173)),_0x22278=_0x4927bc[0x1]&&_0x4927bc[0x1]['split']('@');let _0x21fb1e,_0xe9e0c2;_0x21fb1e=_0x22278&&_0x22278[_0x22278[_0x2ad094(0x160)]-0x1]&&_0x22278[_0x22278[_0x2ad094(0x160)]-0x1]['split'](':'),_0x22278&&_0x22278[_0x2ad094(0x160)]>0x1&&(_0xe9e0c2=_0x22278['slice'](0x0,_0x22278[_0x2ad094(0x160)]-0x1)[_0x2ad094(0x175)]('@')[_0x2ad094(0x17a)](':')),_0x391cc1['proxyProtocol']=_0x4927bc[0x0],_0x21fb1e&&(_0x391cc1[_0x2ad094(0x15c)]=_0x21fb1e[0x0],_0x391cc1['proxyPort']=_0x21fb1e[0x1]),_0xe9e0c2&&(_0x391cc1['proxyUser']=_0xe9e0c2[0x0],_0x391cc1[_0x2ad094(0x172)]=_0xe9e0c2[0x1]),delete _0x1fd95[_0x2ad094(0x189)],delete _0x1fd95['httpsProxy'];},exports[a20_0x498818(0x152)]=_0x471163=>{const _0x23814e=a20_0x498818;if(this['isUndefined'](_0x471163[_0x23814e(0x1cc)]))return;const _0x34fe5b=[_0x23814e(0x183),_0x23814e(0x1ad),_0x23814e(0x15e)];if(!_0x34fe5b[_0x23814e(0x154)](_0x471163[_0x23814e(0x1cc)]))return;transports[_0x23814e(0x1be)]['level']=_0x471163['logLevel'],transports['loggerFile'][_0x23814e(0x193)]=_0x471163[_0x23814e(0x1cc)],logger['debug'](_0x23814e(0x195),_0x471163[_0x23814e(0x1cc)]);},exports[a20_0x498818(0x17c)]=_0x1bf5a3=>{const _0x4801b9=a20_0x498818;return!this[_0x4801b9(0x161)](_0x1bf5a3[_0x4801b9(0x17c)])?_0x1bf5a3[_0x4801b9(0x17c)]:!![];},exports['getBuildName']=_0x9b76cd=>{const _0x5d3446=a20_0x498818;return _0x9b76cd[_0x5d3446(0x179)]||_0x9b76cd[_0x5d3446(0x1a5)]||process[_0x5d3446(0x18e)][_0x5d3446(0x15d)];},exports['isUndefined']=_0x5e9c11=>_0x5e9c11===undefined||_0x5e9c11===null,exports[a20_0x498818(0x188)]=_0x453a65=>{const _0x360dbe=a20_0x498818;return _0x453a65['browserstackLocal']||_0x453a65[_0x360dbe(0x16b)]||process[_0x360dbe(0x18e)][_0x360dbe(0x1d0)]||![];},exports[a20_0x498818(0x18a)]=_0x2ae170=>{const _0x1d95c8=a20_0x498818;return _0x2ae170[_0x1d95c8(0x1a2)]&&_0x2ae170[_0x1d95c8(0x1a2)][_0x1d95c8(0x1b6)];},exports['getBrowserName']=(_0x3f6338,_0x2a43ee=0x0)=>{const _0x1b2067=a20_0x498818;return combination=_0x3f6338[_0x1b2067(0x170)][_0x2a43ee],combination[_0x1b2067(0x1a9)]||combination[_0x1b2067(0x1ce)];},exports['getBrowserVersion']=(_0x30e950,_0x61dfef=0x0)=>{const _0x4b9909=a20_0x498818;return combination=_0x30e950[_0x4b9909(0x170)][_0x61dfef],combination[_0x4b9909(0x155)]||combination[_0x4b9909(0x1c2)];},exports[a20_0x498818(0x192)]=(_0x1c1297,_0x196d82=0x0)=>{const _0x20e50b=a20_0x498818;return combination=_0x1c1297[_0x20e50b(0x170)][_0x196d82],combination['os'];},exports[a20_0x498818(0x1b1)]=(_0x391931,_0x3e048a=0x0)=>{const _0x26920b=a20_0x498818;return combination=_0x391931['platforms'][_0x3e048a],this[_0x26920b(0x171)](combination[_0x26920b(0x17d)]||combination[_0x26920b(0x164)]);},exports[a20_0x498818(0x1af)]=()=>{const _0x105ed0=a20_0x498818;let _0x304e3e=path[_0x105ed0(0x175)](__dirname,_0x105ed0(0x1bb));if(fs[_0x105ed0(0x194)](_0x304e3e))return require(_0x304e3e)['version'];},exports[a20_0x498818(0x1a6)]=_0x1227fe=>{const _0x4ded17=a20_0x498818;var _0x2c4223=_[_0x4ded17(0x1ab)](_0x1227fe);let _0x218137=[_0x4ded17(0x17f),'userName',_0x4ded17(0x1ac),'accessKey',_0x4ded17(0x16b),'browserstackLocal',_0x4ded17(0x1a2),_0x4ded17(0x1bd),_0x4ded17(0x17c),_0x4ded17(0x170)];return _0x218137[_0x4ded17(0x18c)](_0x268f01=>{delete _0x2c4223[_0x268f01];}),_0x2c4223;},exports[a20_0x498818(0x1c6)]=_0x2f7a30=>{const _0x3da029=a20_0x498818;var _0x5b85b7=_['cloneDeep'](_0x2f7a30);let _0x2b1673=['os',_0x3da029(0x164),_0x3da029(0x17d),_0x3da029(0x1a9),_0x3da029(0x1ce),_0x3da029(0x1c2),'browser_version'];return _0x2b1673['forEach'](_0x35e558=>{delete _0x5b85b7[_0x35e558];}),_0x5b85b7;},exports[a20_0x498818(0x1b7)]=_0x46ca1d=>{const _0x41d975=a20_0x498818;let _0x5c8011,_0x4ea9d7,_0x740969,_0x222aa2;return _0x46ca1d[_0x41d975(0x19a)]?(_0x740969=_0x46ca1d[_0x41d975(0x19a)]['os']||'',_0x222aa2=_0x46ca1d[_0x41d975(0x19a)][_0x41d975(0x164)]||''):(_0x740969=_0x46ca1d['os']||'',_0x222aa2=_0x46ca1d[_0x41d975(0x17d)]||_0x46ca1d['osVersion']||''),_0x5c8011=_0x46ca1d[_0x41d975(0x1ce)]||'',_0x4ea9d7=_0x46ca1d[_0x41d975(0x1c2)]||_0x46ca1d[_0x41d975(0x155)]||'',_0x740969+'\x20'+_0x222aa2+'\x20'+_0x5c8011+'\x20'+_0x4ea9d7;},exports[a20_0x498818(0x1b0)]=(_0x3d3f14,_0x14355f=0x0)=>{const _0x312986=a20_0x498818;let _0x3dcc4f={'useW3C':![]};_0x3dcc4f[_0x312986(0x17f)]=this['getUserName'](_0x3d3f14),_0x3dcc4f[_0x312986(0x1ac)]=this['getAccessKey'](_0x3d3f14);this[_0x312986(0x188)](_0x3d3f14)==!![]&&(_0x3dcc4f[_0x312986(0x1ae)]=this[_0x312986(0x188)](_0x3d3f14),!this['isUndefined'](this[_0x312986(0x18a)](_0x3d3f14))&&(_0x3dcc4f['browserstack.localIdentifier']=this[_0x312986(0x18a)](_0x3d3f14)),logger['debug'](_0x312986(0x191)+this['getLocalIdentifier'](_0x3d3f14)+_0x312986(0x180)));_0x3dcc4f['os']=this[_0x312986(0x192)](_0x3d3f14,_0x14355f),_0x3dcc4f[_0x312986(0x17d)]=this[_0x312986(0x1b1)](_0x3d3f14,_0x14355f),_0x3dcc4f[_0x312986(0x1ce)]=this[_0x312986(0x190)](_0x3d3f14,_0x14355f),_0x3dcc4f[_0x312986(0x155)]=this[_0x312986(0x1ba)](_0x3d3f14,_0x14355f);for(const [_0x4f58af,_0xa451fb]of Object[_0x312986(0x168)](this[_0x312986(0x1c6)](_0x3d3f14[_0x312986(0x170)][_0x14355f]))){_0x3dcc4f[_0x4f58af]=_0xa451fb;}_0x3dcc4f[_0x312986(0x179)]=this['getBuildName'](_0x3d3f14);for(const [_0xec19e7,_0x2519fb]of Object[_0x312986(0x168)](this['getRootLevelCapabilities'](_0x3d3f14))){_0x3dcc4f[_0xec19e7]=_0x2519fb;}return _0x3dcc4f[_0x312986(0x159)]=_0x312986(0x16f)+this['getAgentVersion'](),delete _0x3dcc4f[_0x312986(0x178)],delete _0x3dcc4f[_0x312986(0x1cc)],delete _0x3dcc4f['parallelsPerPlatform'],_0x3dcc4f;},exports['modifyBrowserStackW3CCaps']=(_0x2e5817,_0x252b27=0x0)=>{const _0x2fe4d0=a20_0x498818;let _0x103b91={'useW3C':!![]};_0x103b91[_0x2fe4d0(0x1b9)]=this['getUserName'](_0x2e5817),_0x103b91[_0x2fe4d0(0x1bf)]=this[_0x2fe4d0(0x176)](_0x2e5817);this[_0x2fe4d0(0x188)](_0x2e5817)==!![]&&(_0x103b91[_0x2fe4d0(0x16b)]=this[_0x2fe4d0(0x188)](_0x2e5817),!this[_0x2fe4d0(0x161)](this[_0x2fe4d0(0x18a)](_0x2e5817))&&(_0x103b91[_0x2fe4d0(0x1b6)]=this[_0x2fe4d0(0x18a)](_0x2e5817)),logger[_0x2fe4d0(0x15e)](_0x2fe4d0(0x181)+this[_0x2fe4d0(0x18a)](_0x2e5817)+_0x2fe4d0(0x180)));_0x103b91['os']=this[_0x2fe4d0(0x192)](_0x2e5817,_0x252b27),_0x103b91[_0x2fe4d0(0x164)]=this['getOsVersion'](_0x2e5817,_0x252b27);for(const [_0x14b2ea,_0x35f799]of Object[_0x2fe4d0(0x168)](this[_0x2fe4d0(0x1c6)](_0x2e5817[_0x2fe4d0(0x170)][_0x252b27]))){_0x14b2ea in W3CMapping?_0x103b91[W3CMapping[_0x14b2ea]]=_0x35f799:_0x103b91[_0x14b2ea]=_0x35f799;}_0x103b91['buildName']=this[_0x2fe4d0(0x1aa)](_0x2e5817);for(const [_0x2ddc56,_0x303037]of Object[_0x2fe4d0(0x168)](this[_0x2fe4d0(0x1a6)](_0x2e5817))){_0x2ddc56 in W3CMapping?_0x103b91[W3CMapping[_0x2ddc56]]=_0x303037:_0x103b91[_0x2ddc56]=_0x303037;}return _0x103b91[_0x2fe4d0(0x159)]=_0x2fe4d0(0x16f)+this[_0x2fe4d0(0x1af)](),delete _0x103b91[_0x2fe4d0(0x178)],delete _0x103b91[_0x2fe4d0(0x1cc)],delete _0x103b91[_0x2fe4d0(0x177)],{'bstack:options':_0x103b91,'browserName':this[_0x2fe4d0(0x190)](_0x2e5817,_0x252b27),'browserVersion':this['getBrowserVersion'](_0x2e5817,_0x252b27)};},exports['requireSeleniumWebdriver']=()=>{const _0x36347d=a20_0x498818;return this[_0x36347d(0x1b3)]('selenium-webdriver/index.js');},exports[a20_0x498818(0x1b3)]=_0x29652e=>{const _0x5d7be1=a20_0x498818;logger[_0x5d7be1(0x15e)](_0x5d7be1(0x19b)+_0x29652e+'\x20from\x20'+process['cwd']());const _0x5cd8ae=path[_0x5d7be1(0x175)](process[_0x5d7be1(0x17b)](),_0x5d7be1(0x1ca),_0x29652e);if(!fs[_0x5d7be1(0x194)](_0x5cd8ae)){logger[_0x5d7be1(0x15e)](_0x29652e+'\x20doesn\x27t\x20exist\x20at\x20'+process[_0x5d7be1(0x17b)]()),logger[_0x5d7be1(0x15e)]('Getting\x20'+_0x29652e+_0x5d7be1(0x153)+GLOBAL_MODULE_PATH);let _0x4eada5;if([_0x5d7be1(0x1a0),_0x5d7be1(0x15f)][_0x5d7be1(0x154)](_0x29652e))_0x4eada5=path[_0x5d7be1(0x175)](GLOBAL_MODULE_PATH,_0x5d7be1(0x174),_0x5d7be1(0x1ca),_0x29652e);else _0x4eada5=path['join'](GLOBAL_MODULE_PATH,_0x29652e);if(!fs[_0x5d7be1(0x194)](_0x4eada5))throw new Error(_0x29652e+_0x5d7be1(0x163));return require(_0x4eada5);}return require(_0x5cd8ae);},exports[a20_0x498818(0x171)]=_0x3a949c=>{const _0x30cd56=a20_0x498818;if(this[_0x30cd56(0x161)](_0x3a949c))return null;if(typeof _0x3a949c===_0x30cd56(0x187))return _0x3a949c[_0x30cd56(0x171)]();return _0x3a949c;},exports[a20_0x498818(0x19f)]=_0x4d6f5e=>{const _0x2509c5=a20_0x498818;logger[_0x2509c5(0x15e)](_0x2509c5(0x1cd));const _0x13ab45=new BrowserstackLocalLauncher[(_0x2509c5(0x151))](),_0xa358e=this['setLocalArgs'](_0x4d6f5e),_0x44f65e=_0x13ab45[_0x2509c5(0x182)](_0xa358e);if(_0x44f65e)throw _0x44f65e;return isLocalRunning=_0x13ab45[_0x2509c5(0x1c8)](),_0x13ab45;},exports[a20_0x498818(0x19d)]=async _0x45a379=>{return new Promise((_0x3c982c,_0x45cce6)=>{const _0x1512b6=a20_0xcfd3;logger[_0x1512b6(0x15e)]('Stopping\x20local\x20binary'),_0x45a379&&_0x45a379['stop'](_0x441f64=>{if(_0x441f64)return _0x45cce6(_0x441f64);_0x3c982c();});});};let packages={};exports[a20_0x498818(0x186)]=_0x26cb00=>{const _0x263bb1=a20_0x498818;if(packages[_0x26cb00])return packages[_0x26cb00];return packages[_0x26cb00]=this[_0x263bb1(0x1b3)](_0x26cb00+'/package.json')[_0x263bb1(0x18f)];},exports[a20_0x498818(0x185)]=()=>{const _0x17d360=a20_0x498818,_0x2316e0=parseInt(this[_0x17d360(0x186)](_0x17d360(0x1bc)));if(_0x2316e0==0x3){const _0x5a1643=this[_0x17d360(0x1b3)]('selenium-webdriver/lib/command.js');class _0x4052e0 extends _0x5a1643[_0x17d360(0x17e)]{constructor(..._0x13e8f9){super(..._0x13e8f9);}['setParameter'](_0x38ffcf,_0xbf2e38){const _0x1cac6f=_0x17d360;return this['parameters_'][_0x38ffcf]=_0xbf2e38,_0x38ffcf===_0x1cac6f(0x169)&&(this[_0x1cac6f(0x1b5)][_0x1cac6f(0x184)]={'alwaysMatch':_0xbf2e38}),this;}}_0x5a1643['Command']=_0x4052e0;}};function a20_0x3342(){const _0x3e8807=['startLocalBinarySync','jest-runner','630372putUAE','browserStackLocalOptions','./logger','Reading\x20configs\x20from\x20','buildName','getRootLevelCapabilities','path','npm\x20root\x20-g','browser','getBuildName','cloneDeep','browserstack.key','info','browserstack.local','getAgentVersion','modifyBrowserStackCaps','getOsVersion','browserstack.yaml','requireModule','utf8','parameters_','localIdentifier','getPlatformName','winstonLogger','userName','getBrowserVersion','../../package.json','selenium-webdriver','localOptions','loggerConsole','accessKey','message','1446352GOsATR','browserVersion','6EAfIqE','httpsProxy','W3CMapping','getPlatformLevelCapabilities','HTTPS_PROXY','isRunning','130rmQRUU','node_modules','5rYoyVL','logLevel','Starting\x20local\x20binary','browserName','trim','BROWSERSTACK_LOCAL','9jUWWSK','Local','setLogLevel','\x20from\x20','includes','browser_version','error','1891725vGLpbT','setProxySettings','browserstackSDK','proxyPort','1055846lDaWQk','proxyHost','BROWSERSTACK_BUILD_NAME','debug','jest-runtime','length','isUndefined','verbose','\x20doesn\x27t\x20exist.','osVersion','forceLocal','bs-host','load','entries','desiredCapabilities','js-yaml','local','readConfig','6825576ngYQAs','key','nodeagent/','platforms','toString','proxyPassword','://','jest','join','getAccessKey','parallelsPerPlatform','proxySettings','build','split','cwd','useW3C','os_version','Command','browserstack.user','\x20to\x20capabilities.','Local\x20set\x20to\x20true.\x20Adding\x20local:\x20true\x20and\x20localIdentifier:\x20','startSync','warn','capabilities','modifyCommand','getPackageVersion','number','getLocalConfig','httpProxy','getLocalIdentifier','proxyUser','forEach','transports','env','version','getBrowserName','Local\x20set\x20to\x20true.\x20Adding\x20browserstack.local:\x20true\x20and\x20browserstack.localIdentifier:\x20','getOs','level','existsSync','Log\x20level\x20set\x20to','setLocalArgs','983440UDaqcc','getUserName','BROWSERSTACK_ACCESS_KEY','bstack:options','Getting\x20','getProxyUrl','stopLocalBinary','3526537bSWGIg'];a20_0x3342=function(){return _0x3e8807;};return a20_0x3342();}
@@ -1 +1 @@
1
- const a9_0x278186=a9_0x2d38;function a9_0x2d38(_0x1e090e,_0x435814){const _0x326d1a=a9_0x326d();return a9_0x2d38=function(_0x2d3827,_0x2e87bc){_0x2d3827=_0x2d3827-0xb9;let _0x125eee=_0x326d1a[_0x2d3827];return _0x125eee;},a9_0x2d38(_0x1e090e,_0x435814);}(function(_0x40ed31,_0x139566){const _0x1c68ce=a9_0x2d38,_0x1d155c=_0x40ed31();while(!![]){try{const _0x2c9643=-parseInt(_0x1c68ce(0xd1))/0x1*(-parseInt(_0x1c68ce(0xcd))/0x2)+parseInt(_0x1c68ce(0xcf))/0x3*(parseInt(_0x1c68ce(0xca))/0x4)+-parseInt(_0x1c68ce(0xbf))/0x5+-parseInt(_0x1c68ce(0xcb))/0x6+parseInt(_0x1c68ce(0xcc))/0x7*(parseInt(_0x1c68ce(0xc8))/0x8)+parseInt(_0x1c68ce(0xce))/0x9+-parseInt(_0x1c68ce(0xc7))/0xa*(parseInt(_0x1c68ce(0xbe))/0xb);if(_0x2c9643===_0x139566)break;else _0x1d155c['push'](_0x1d155c['shift']());}catch(_0x256275){_0x1d155c['push'](_0x1d155c['shift']());}}}(a9_0x326d,0xde9be));function a9_0x326d(){const _0x1cd78b=['existsSync','30zvnnFU','111496VFLoaa','winstonLogger','62024YpBfne','4767234EEkaeJ','112HPtfLq','2LrdQTX','15240987FkyfsL','102FcdrAW','winston','1023041wUXxKT','toLocaleString','console.info','Logger','/usage.log','loggerConsole','File','6211183NRMpVD','331880LKFIqD','log','transports','loggerFile','mkdirSync','join','Console'];a9_0x326d=function(){return _0x1cd78b;};return a9_0x326d();}const winston=require(a9_0x278186(0xd0)),fs=require('fs'),path=require('path'),logDir=a9_0x278186(0xc0);!fs[a9_0x278186(0xc6)](logDir)&&fs[a9_0x278186(0xc3)](logDir);const transports={'loggerConsole':new winston[(a9_0x278186(0xc1))][(a9_0x278186(0xc5))]({'name':a9_0x278186(0xb9),'colorize':!![],'timestamp':function(){const _0x19d7a9=a9_0x278186;return'['+new Date()[_0x19d7a9(0xd2)]()+']';},'prettyPrint':!![]}),'loggerFile':new winston[(a9_0x278186(0xc1))][(a9_0x278186(0xbd))]({'filename':path[a9_0x278186(0xc4)](logDir,a9_0x278186(0xbb))})},winstonLoggerParams={'transports':[transports[a9_0x278186(0xbc)],transports[a9_0x278186(0xc2)]]},winstonFileLoggerParams={'transports':[transports[a9_0x278186(0xc2)]]};exports[a9_0x278186(0xc9)]=new winston[(a9_0x278186(0xba))](winstonLoggerParams),exports['fileLogger']=new winston[(a9_0x278186(0xba))](winstonFileLoggerParams),exports[a9_0x278186(0xc1)]=transports;
1
+ const a21_0x560299=a21_0x419f;function a21_0x419f(_0x53e0b5,_0x3ac91b){const _0x47255b=a21_0x4725();return a21_0x419f=function(_0x419fb8,_0x2689d7){_0x419fb8=_0x419fb8-0x19b;let _0x2511f0=_0x47255b[_0x419fb8];return _0x2511f0;},a21_0x419f(_0x53e0b5,_0x3ac91b);}(function(_0x475575,_0x3abcf8){const _0x3f9ca5=a21_0x419f,_0x321145=_0x475575();while(!![]){try{const _0x2a0920=parseInt(_0x3f9ca5(0x1ae))/0x1*(-parseInt(_0x3f9ca5(0x1aa))/0x2)+parseInt(_0x3f9ca5(0x1a5))/0x3*(-parseInt(_0x3f9ca5(0x1b1))/0x4)+parseInt(_0x3f9ca5(0x19c))/0x5+parseInt(_0x3f9ca5(0x19f))/0x6+parseInt(_0x3f9ca5(0x19b))/0x7*(-parseInt(_0x3f9ca5(0x1a8))/0x8)+-parseInt(_0x3f9ca5(0x1ac))/0x9*(parseInt(_0x3f9ca5(0x1a9))/0xa)+parseInt(_0x3f9ca5(0x1ad))/0xb;if(_0x2a0920===_0x3abcf8)break;else _0x321145['push'](_0x321145['shift']());}catch(_0x201efb){_0x321145['push'](_0x321145['shift']());}}}(a21_0x4725,0xcee07));const winston=require(a21_0x560299(0x1af)),fs=require('fs'),path=require('path'),logDir=a21_0x560299(0x1a2);!fs[a21_0x560299(0x1a0)](logDir)&&fs[a21_0x560299(0x1a3)](logDir);const transports={'loggerConsole':new winston[(a21_0x560299(0x1a7))][(a21_0x560299(0x19e))]({'name':a21_0x560299(0x1a6),'colorize':!![],'timestamp':function(){return'['+new Date()['toLocaleString']()+']';},'prettyPrint':!![]}),'loggerFile':new winston[(a21_0x560299(0x1a7))]['File']({'filename':path['join'](logDir,a21_0x560299(0x1b0))})},winstonLoggerParams={'transports':[transports[a21_0x560299(0x1a1)],transports[a21_0x560299(0x1a4)]]},winstonFileLoggerParams={'transports':[transports[a21_0x560299(0x1a4)]]};exports['winstonLogger']=new winston['Logger'](winstonLoggerParams),exports[a21_0x560299(0x1ab)]=new winston[(a21_0x560299(0x19d))](winstonFileLoggerParams),exports[a21_0x560299(0x1a7)]=transports;function a21_0x4725(){const _0x4e60fb=['1022865rsVswi','Logger','Console','1761858HxpNEJ','existsSync','loggerConsole','log','mkdirSync','loggerFile','85254GpttvD','console.info','transports','7430344cFzxDP','15086220LslDOj','2393470NBSxqq','fileLogger','9EgtFqU','59133613BxyYjx','1yTfUYM','winston','/usage.log','196FnUYAq','7LcPduW'];a21_0x4725=function(){return _0x4e60fb;};return a21_0x4725();}
@@ -1 +1 @@
1
- function a10_0x3a8a(_0x20386b,_0x473ed0){const _0x23cc6a=a10_0x23cc();return a10_0x3a8a=function(_0x3a8a7c,_0x2667c4){_0x3a8a7c=_0x3a8a7c-0xa0;let _0x32c848=_0x23cc6a[_0x3a8a7c];return _0x32c848;},a10_0x3a8a(_0x20386b,_0x473ed0);}const a10_0x3d6d20=a10_0x3a8a;(function(_0x553c5a,_0x486de3){const _0x433c22=a10_0x3a8a,_0x5656b9=_0x553c5a();while(!![]){try{const _0x878d95=parseInt(_0x433c22(0xaa))/0x1+parseInt(_0x433c22(0xa7))/0x2*(-parseInt(_0x433c22(0xa5))/0x3)+parseInt(_0x433c22(0xb3))/0x4+parseInt(_0x433c22(0xb4))/0x5+-parseInt(_0x433c22(0xae))/0x6*(parseInt(_0x433c22(0xad))/0x7)+parseInt(_0x433c22(0xac))/0x8*(-parseInt(_0x433c22(0xa1))/0x9)+-parseInt(_0x433c22(0xab))/0xa;if(_0x878d95===_0x486de3)break;else _0x5656b9['push'](_0x5656b9['shift']());}catch(_0x146b81){_0x5656b9['push'](_0x5656b9['shift']());}}}(a10_0x23cc,0x86192),module[a10_0x3d6d20(0xa9)]=function(){const _0x4f45c2=a10_0x3d6d20,_0x1073bc=require(_0x4f45c2(0xa0)),_0x266086=require(_0x4f45c2(0xb1)),_0x5d3071=0x1e*0x3e8;if(_0x1073bc[_0x4f45c2(0xa3)]&&_0x1073bc[_0x4f45c2(0xa3)][_0x4f45c2(0xa8)](_0x4f45c2(0xa6)))_0x1073bc[_0x4f45c2(0xa3)]['keepAlive']=!![],_0x266086[_0x4f45c2(0xa3)][_0x4f45c2(0xa6)]=!![],_0x1073bc['globalAgent'][_0x4f45c2(0xaf)]=_0x5d3071,_0x266086[_0x4f45c2(0xa3)][_0x4f45c2(0xaf)]=_0x5d3071;else{const _0x11a7c2=new _0x1073bc[(_0x4f45c2(0xb2))]({'keepAlive':!![],'keepAliveMsecs':_0x5d3071}),_0x1b1cfb=new _0x266086[(_0x4f45c2(0xb2))]({'keepAlive':!![],'keepAliveMsecs':_0x5d3071}),_0x534c59=_0x1073bc[_0x4f45c2(0xb0)],_0x1da1c7=_0x266086[_0x4f45c2(0xb0)];_0x1073bc['request']=function(_0x3e4214,_0x661788){const _0x274376=_0x4f45c2;return _0x3e4214['protocol']==_0x274376(0xa4)?(_0x3e4214['agent']=_0x1b1cfb,_0x1da1c7(_0x3e4214,_0x661788)):(_0x3e4214[_0x274376(0xa2)]=_0x11a7c2,_0x534c59(_0x3e4214,_0x661788));};}});function a10_0x23cc(){const _0x4896ee=['request','https','Agent','3998644bExBei','428420vkNiCa','http','9sTNfNu','agent','globalAgent','https:','1771383gIeLYs','keepAlive','2GlcjiI','hasOwnProperty','exports','777503lAaQpn','1721780zCrnjK','3831272HUpvnV','504238ynHCsx','6EnAgfX','keepAliveMsecs'];a10_0x23cc=function(){return _0x4896ee;};return a10_0x23cc();}
1
+ const a22_0x14c506=a22_0x4aa4;(function(_0x147f13,_0x5e2223){const _0x43b83c=a22_0x4aa4,_0x18f1b0=_0x147f13();while(!![]){try{const _0x5106d4=-parseInt(_0x43b83c(0x1cc))/0x1+-parseInt(_0x43b83c(0x1d6))/0x2*(-parseInt(_0x43b83c(0x1c1))/0x3)+-parseInt(_0x43b83c(0x1c6))/0x4+parseInt(_0x43b83c(0x1c9))/0x5*(parseInt(_0x43b83c(0x1c2))/0x6)+parseInt(_0x43b83c(0x1c7))/0x7*(parseInt(_0x43b83c(0x1d4))/0x8)+parseInt(_0x43b83c(0x1d0))/0x9+-parseInt(_0x43b83c(0x1d7))/0xa*(parseInt(_0x43b83c(0x1c8))/0xb);if(_0x5106d4===_0x5e2223)break;else _0x18f1b0['push'](_0x18f1b0['shift']());}catch(_0x436e73){_0x18f1b0['push'](_0x18f1b0['shift']());}}}(a22_0x3769,0x71ae6),module[a22_0x14c506(0x1d1)]=function(){const _0x530b28=a22_0x14c506,_0x1fb491=require(_0x530b28(0x1d3)),_0xd792b8=require(_0x530b28(0x1c4)),_0x388c96=0x1e*0x3e8;if(_0x1fb491[_0x530b28(0x1c5)]&&_0x1fb491[_0x530b28(0x1c5)][_0x530b28(0x1d2)](_0x530b28(0x1cb)))_0x1fb491[_0x530b28(0x1c5)][_0x530b28(0x1cb)]=!![],_0xd792b8[_0x530b28(0x1c5)][_0x530b28(0x1cb)]=!![],_0x1fb491[_0x530b28(0x1c5)][_0x530b28(0x1ca)]=_0x388c96,_0xd792b8[_0x530b28(0x1c5)][_0x530b28(0x1ca)]=_0x388c96;else{const _0x485eea=new _0x1fb491[(_0x530b28(0x1d5))]({'keepAlive':!![],'keepAliveMsecs':_0x388c96}),_0x228216=new _0xd792b8[(_0x530b28(0x1d5))]({'keepAlive':!![],'keepAliveMsecs':_0x388c96}),_0xcc82d8=_0x1fb491[_0x530b28(0x1c3)],_0x532f71=_0xd792b8[_0x530b28(0x1c3)];_0x1fb491['request']=function(_0xe67908,_0xee3049){const _0x3cc083=_0x530b28;return _0xe67908[_0x3cc083(0x1cd)]==_0x3cc083(0x1cf)?(_0xe67908[_0x3cc083(0x1ce)]=_0x228216,_0x532f71(_0xe67908,_0xee3049)):(_0xe67908[_0x3cc083(0x1ce)]=_0x485eea,_0xcc82d8(_0xe67908,_0xee3049));};}});function a22_0x4aa4(_0x2364b2,_0x4b6e2e){const _0x37698a=a22_0x3769();return a22_0x4aa4=function(_0x4aa49f,_0x59b52a){_0x4aa49f=_0x4aa49f-0x1c1;let _0x7a08f=_0x37698a[_0x4aa49f];return _0x7a08f;},a22_0x4aa4(_0x2364b2,_0x4b6e2e);}function a22_0x3769(){const _0x48ea93=['4855tcgZsR','keepAliveMsecs','keepAlive','20175KFlAGv','protocol','agent','https:','4327605MptTAg','exports','hasOwnProperty','http','400FNmSby','Agent','44882hcCCeA','10GRQjxl','63uruDMy','2082sQmJeP','request','https','globalAgent','1533300VjABnb','73311NfREXm','10379105XKXdnw'];a22_0x3769=function(){return _0x48ea93;};return a22_0x3769();}
@@ -1 +1 @@
1
- function a11_0x5ebb(_0xf5dba6,_0x2f1b8e){var _0x2a1541=a11_0x2a15();return a11_0x5ebb=function(_0x5ebb76,_0x51c84a){_0x5ebb76=_0x5ebb76-0x186;var _0x44882a=_0x2a1541[_0x5ebb76];return _0x44882a;},a11_0x5ebb(_0xf5dba6,_0x2f1b8e);}(function(_0x281765,_0x5f536e){var _0x5cd128=a11_0x5ebb,_0x35ef9a=_0x281765();while(!![]){try{var _0x4e3672=-parseInt(_0x5cd128(0x1a4))/0x1+-parseInt(_0x5cd128(0x18f))/0x2+parseInt(_0x5cd128(0x198))/0x3+-parseInt(_0x5cd128(0x18a))/0x4*(parseInt(_0x5cd128(0x1a5))/0x5)+parseInt(_0x5cd128(0x19c))/0x6+parseInt(_0x5cd128(0x190))/0x7*(parseInt(_0x5cd128(0x19b))/0x8)+parseInt(_0x5cd128(0x1a0))/0x9;if(_0x4e3672===_0x5f536e)break;else _0x35ef9a['push'](_0x35ef9a['shift']());}catch(_0x1b349f){_0x35ef9a['push'](_0x35ef9a['shift']());}}}(a11_0x2a15,0x4a807),exports['W3CMapping']=()=>{var _0x3f8a99=a11_0x5ebb;return{'browserstack.user':'userName','browserstack.key':_0x3f8a99(0x199),'os':'os','os_version':'osVersion','browser':'browser','browser_version':'browserVersion','browserstack.use_w3c':_0x3f8a99(0x19e),'project':'projectName','build':_0x3f8a99(0x196),'name':_0x3f8a99(0x197),'browserstack.local':'local','browserstack.localIdentifier':_0x3f8a99(0x19d),'browserstack.debug':_0x3f8a99(0x19f),'browserstack.console':_0x3f8a99(0x18b),'browserstack.networkLogs':'networkLogs','browserstack.appiumLogs':_0x3f8a99(0x193),'browserstack.video':'video','browserstack.seleniumLogs':'seleniumLogs','browserstack.telemetryLogs':_0x3f8a99(0x188),'browserstack.geoLocation':'geoLocation','browserstack.timezone':_0x3f8a99(0x1a1),'resolution':_0x3f8a99(0x191),'browserstack.selenium_version':_0x3f8a99(0x195),'browserstack.maskCommands':_0x3f8a99(0x186),'browserstack.idleTimeout':_0x3f8a99(0x19a),'browserstack.maskBasicAuth':_0x3f8a99(0x189),'browserstack.autoWait':_0x3f8a99(0x1a6),'browserstack.hosts':_0x3f8a99(0x187),'browserstack.bfcache':_0x3f8a99(0x1a2),'browserstack.wsLocalSupport':_0x3f8a99(0x192),'browserstack.disableCorsRestrictions':'disableCorsRestrictions','device':_0x3f8a99(0x1a3),'realMobile':_0x3f8a99(0x18c),'browserstack.appium_version':'appiumVersion','deviceOrientation':_0x3f8a99(0x194),'browserstack.customNetwork':_0x3f8a99(0x18e),'browserstack.networkProfile':_0x3f8a99(0x18d)};});function a11_0x2a15(){var _0x4f6266=['504294gXTvoD','localIdentifier','useW3c','debug','4288959advkui','timezone','bfcache','deviceName','76772GYxBwh','395pZxLTw','autoWait','browserstack.maskCommands','hosts','telemetryLogs','maskBasicAuth','18844mtIJNc','consoleLogs','realMobile','networkProfile','customNetwork','1185506jmFLSr','234710XfEmft','resolution','wsLocalSupport','appiumLogs','deviceOrientation','seleniumVersion','buildName','sessionName','1252269vpzvjx','accessKey','idleTimeout','88deCdDK'];a11_0x2a15=function(){return _0x4f6266;};return a11_0x2a15();}
1
+ function a23_0x4eba(_0xd18ec7,_0x38017a){var _0x4b125c=a23_0x4b12();return a23_0x4eba=function(_0x4ebae1,_0x24fe7d){_0x4ebae1=_0x4ebae1-0x150;var _0x355318=_0x4b125c[_0x4ebae1];return _0x355318;},a23_0x4eba(_0xd18ec7,_0x38017a);}function a23_0x4b12(){var _0x5c0f92=['952050BzYUeU','telemetryLogs','seleniumLogs','77208UoJOCk','useW3c','networkLogs','16788rmNVXI','idleTimeout','deviceOrientation','appiumVersion','timezone','video','deviceName','customNetwork','browserstack.maskCommands','989080AIvJwD','112GxcnSc','6PyKVfc','disableCorsRestrictions','browser','maskBasicAuth','debug','bfcache','browserVersion','1453039VduORc','5269HVBZtz','consoleLogs','13710qXzQkg','appiumLogs','local','networkProfile','3386vNwYZo','userName','32CbWYnz','sessionName','buildName','396zsOeQi','resolution'];a23_0x4b12=function(){return _0x5c0f92;};return a23_0x4b12();}(function(_0x4ee1cc,_0x550583){var _0x45f7b9=a23_0x4eba,_0x1fad48=_0x4ee1cc();while(!![]){try{var _0x525c9f=parseInt(_0x45f7b9(0x15a))/0x1*(-parseInt(_0x45f7b9(0x171))/0x2)+parseInt(_0x45f7b9(0x161))/0x3+parseInt(_0x45f7b9(0x15c))/0x4*(-parseInt(_0x45f7b9(0x156))/0x5)+-parseInt(_0x45f7b9(0x172))/0x6*(parseInt(_0x45f7b9(0x153))/0x7)+-parseInt(_0x45f7b9(0x164))/0x8*(parseInt(_0x45f7b9(0x15f))/0x9)+parseInt(_0x45f7b9(0x170))/0xa+parseInt(_0x45f7b9(0x154))/0xb*(parseInt(_0x45f7b9(0x167))/0xc);if(_0x525c9f===_0x550583)break;else _0x1fad48['push'](_0x1fad48['shift']());}catch(_0x26ad22){_0x1fad48['push'](_0x1fad48['shift']());}}}(a23_0x4b12,0x3b3ae),exports['W3CMapping']=()=>{var _0x5e3d90=a23_0x4eba;return{'browserstack.user':_0x5e3d90(0x15b),'browserstack.key':'accessKey','os':'os','os_version':'osVersion','browser':_0x5e3d90(0x174),'browser_version':_0x5e3d90(0x152),'browserstack.use_w3c':_0x5e3d90(0x165),'project':'projectName','build':_0x5e3d90(0x15e),'name':_0x5e3d90(0x15d),'browserstack.local':_0x5e3d90(0x158),'browserstack.localIdentifier':'localIdentifier','browserstack.debug':_0x5e3d90(0x150),'browserstack.console':_0x5e3d90(0x155),'browserstack.networkLogs':_0x5e3d90(0x166),'browserstack.appiumLogs':_0x5e3d90(0x157),'browserstack.video':_0x5e3d90(0x16c),'browserstack.seleniumLogs':_0x5e3d90(0x163),'browserstack.telemetryLogs':_0x5e3d90(0x162),'browserstack.geoLocation':'geoLocation','browserstack.timezone':_0x5e3d90(0x16b),'resolution':_0x5e3d90(0x160),'browserstack.selenium_version':'seleniumVersion','browserstack.maskCommands':_0x5e3d90(0x16f),'browserstack.idleTimeout':_0x5e3d90(0x168),'browserstack.maskBasicAuth':_0x5e3d90(0x175),'browserstack.autoWait':'autoWait','browserstack.hosts':'hosts','browserstack.bfcache':_0x5e3d90(0x151),'browserstack.wsLocalSupport':'wsLocalSupport','browserstack.disableCorsRestrictions':_0x5e3d90(0x173),'device':_0x5e3d90(0x16d),'realMobile':'realMobile','browserstack.appium_version':_0x5e3d90(0x16a),'deviceOrientation':_0x5e3d90(0x169),'browserstack.customNetwork':_0x5e3d90(0x16e),'browserstack.networkProfile':_0x5e3d90(0x159)};});
package/src/index.js CHANGED
@@ -1 +1 @@
1
- const a12_0x287f55=a12_0x5083;(function(_0xa97e2a,_0x279166){const _0x44c654=a12_0x5083,_0x5caf7c=_0xa97e2a();while(!![]){try{const _0x237632=-parseInt(_0x44c654(0xe5))/0x1+parseInt(_0x44c654(0xf7))/0x2+-parseInt(_0x44c654(0x106))/0x3*(-parseInt(_0x44c654(0x101))/0x4)+parseInt(_0x44c654(0x102))/0x5+parseInt(_0x44c654(0xfe))/0x6*(parseInt(_0x44c654(0xe9))/0x7)+parseInt(_0x44c654(0xe3))/0x8+-parseInt(_0x44c654(0xf5))/0x9*(parseInt(_0x44c654(0xf3))/0xa);if(_0x237632===_0x279166)break;else _0x5caf7c['push'](_0x5caf7c['shift']());}catch(_0x30ff8c){_0x5caf7c['push'](_0x5caf7c['shift']());}}}(a12_0x269d,0xb0275));const logger=require(a12_0x287f55(0xe8))['winstonLogger'];function a12_0x5083(_0x4b894e,_0x5d114c){const _0x269db2=a12_0x269d();return a12_0x5083=function(_0x508361,_0xdff0ad){_0x508361=_0x508361-0xe1;let _0x3b0746=_0x269db2[_0x508361];return _0x3b0746;},a12_0x5083(_0x4b894e,_0x5d114c);}helper=require(a12_0x287f55(0xf8)),{default:BrowserStackSetup}=require('./helpers/BrowserStackSetup');const modify=()=>{const _0x1ed6f4=a12_0x287f55,_0x9b4cbf=new BrowserStackSetup(),_0x1b69d5=_0x9b4cbf[_0x1ed6f4(0x105)];if(_0x1b69d5[_0x1ed6f4(0x103)])logger[_0x1ed6f4(0x103)]('Error\x20occured\x20while\x20reading\x20configs');else{helper[_0x1ed6f4(0x107)](_0x1b69d5),logger[_0x1ed6f4(0xfa)]('Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack'),logger[_0x1ed6f4(0xfd)](_0x1ed6f4(0xef));const _0x2c2b3c=helper[_0x1ed6f4(0xf2)]();class _0x4be7dd extends _0x2c2b3c[_0x1ed6f4(0xf0)]{['setServer'](_0x4d290a){const _0x22d00a=_0x1ed6f4;return this[_0x22d00a(0xfc)]='https://hub.browserstack.com/wd/hub',logger[_0x22d00a(0xfd)]('Hub\x20url\x20set\x20to\x20'+this[_0x22d00a(0xfc)]),this;}['setCapabilities'](){const _0x41aac0=_0x1ed6f4;let _0x235ac9=helper[_0x41aac0(0xe4)](_0x1b69d5),_0x957dd=helper[_0x41aac0(0xeb)](_0x1b69d5),_0x185d71=helper[_0x41aac0(0xec)](_0x1b69d5);return helper[_0x41aac0(0xf1)](_0x957dd)&&logger['warn'](_0x41aac0(0xe2)),helper[_0x41aac0(0xf1)](_0x185d71)&&logger[_0x41aac0(0x104)](_0x41aac0(0xf6)),logger['debug'](_0x41aac0(0x100)),_0x235ac9?this[_0x41aac0(0xe6)]=new _0x2c2b3c[(_0x41aac0(0xed))](helper['modifyBrowserStackW3CCaps'](_0x1b69d5,0x0)):this[_0x41aac0(0xe6)]=new _0x2c2b3c['Capabilities'](helper[_0x41aac0(0xf4)](_0x1b69d5,0x0)),this;}[_0x1ed6f4(0xe1)](){const _0x4244be=_0x1ed6f4;return this[_0x4244be(0xe7)](),this[_0x4244be(0xff)](),_0x1b69d5[_0x4244be(0xfb)]['proxyUrl']&&(this[_0x4244be(0xf9)]=_0x1b69d5[_0x4244be(0xfb)]['proxyUrl'],logger[_0x4244be(0xfd)]('Proxy\x20set\x20to\x20'+this[_0x4244be(0xf9)])),logger[_0x4244be(0xfd)]('Running\x20your\x20test\x20suite\x20on\x20BrowserStack'),super['build']();}}_0x2c2b3c[_0x1ed6f4(0xf0)]=_0x4be7dd;}};function a12_0x269d(){const _0x5ca505=['proxy_','info','proxySettings','url_','debug','8079558iTRSQf','setCapabilities','Setting\x20Browserstack\x20capabilities','4398596tErQLg','3245525HtvGwO','error','warn','config','3BxSSLV','setLogLevel','build','userName\x20not\x20defined','5626072tNDPOC','useW3C','771971TSEkMe','capabilities_','setServer','./helpers/logger','7dsduTe','exports','getUserName','getAccessKey','Capabilities','browserstackAgent','Modifying\x20webdriver\x20builder','Builder','isUndefined','requireSeleniumWebdriver','90lOrfGP','modifyBrowserStackCaps','2471589rKKMzM','accessKey\x20not\x20defined','332958lIuJNe','./helpers/helper'];a12_0x269d=function(){return _0x5ca505;};return a12_0x269d();}module[a12_0x287f55(0xea)][a12_0x287f55(0xee)]=modify;
1
+ function a24_0x46bc(_0x746e77,_0x3ed950){const _0x2506c8=a24_0x2506();return a24_0x46bc=function(_0x46bc76,_0x5d2e89){_0x46bc76=_0x46bc76-0x6f;let _0x3f2d70=_0x2506c8[_0x46bc76];return _0x3f2d70;},a24_0x46bc(_0x746e77,_0x3ed950);}const a24_0x1be807=a24_0x46bc;(function(_0x3966b7,_0x489a6e){const _0x44c6e6=a24_0x46bc,_0x264a93=_0x3966b7();while(!![]){try{const _0x1d27ac=parseInt(_0x44c6e6(0x73))/0x1*(parseInt(_0x44c6e6(0x8a))/0x2)+-parseInt(_0x44c6e6(0x85))/0x3+parseInt(_0x44c6e6(0x90))/0x4+-parseInt(_0x44c6e6(0x9b))/0x5*(-parseInt(_0x44c6e6(0x8b))/0x6)+parseInt(_0x44c6e6(0x79))/0x7+-parseInt(_0x44c6e6(0x96))/0x8+parseInt(_0x44c6e6(0x83))/0x9*(-parseInt(_0x44c6e6(0x8c))/0xa);if(_0x1d27ac===_0x489a6e)break;else _0x264a93['push'](_0x264a93['shift']());}catch(_0x112d1c){_0x264a93['push'](_0x264a93['shift']());}}}(a24_0x2506,0xb7012));const logger=require(a24_0x1be807(0x7e))[a24_0x1be807(0x93)];helper=require(a24_0x1be807(0x75)),{default:BrowserStackSetup}=require('./helpers/BrowserStackSetup'),constants=require('./bin/utils/constants');function a24_0x2506(){const _0x4dfe85=['Modifying\x20webdriver\x20builder','debug','setServer','8725710WikZHD','modifyBrowserStackCaps','url_','warn','proxyUrl','./helpers/logger','Capabilities','Hub\x20url\x20set\x20to\x20','setCapabilities','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','192537rbwMcj','config','1908837pogEfH','userName\x20not\x20defined','getAccessKey','Error\x20occured\x20while\x20reading\x20configs','requireSeleniumWebdriver','83254KrJOfC','192462gSVuOF','530tJquFM','getUserName','proxySettings','accessKey\x20not\x20defined','2565692tQtuRV','info','Setting\x20Browserstack\x20capabilities','winstonLogger','exports','proxy_','2458488BFbqDu','build','modifyBrowserStackW3CCaps','Builder','isUndefined','75yoLXWh','capabilities_','useW3C','error','Proxy\x20set\x20to\x20','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','11OqLMjP','hubUrl','./helpers/helper'];a24_0x2506=function(){return _0x4dfe85;};return a24_0x2506();}const modify=()=>{const _0x2e8f07=a24_0x1be807,_0x408c0f=new BrowserStackSetup(),_0x527d34=_0x408c0f[_0x2e8f07(0x84)];if(_0x527d34[_0x2e8f07(0x70)])logger[_0x2e8f07(0x70)](_0x2e8f07(0x88));else{helper['setLogLevel'](_0x527d34),logger[_0x2e8f07(0x91)](_0x2e8f07(0x82)),logger['debug'](_0x2e8f07(0x76));const _0x405db9=helper[_0x2e8f07(0x89)]();class _0x594dc1 extends _0x405db9[_0x2e8f07(0x99)]{[_0x2e8f07(0x78)](_0x49195e){const _0x18dd69=_0x2e8f07;return this[_0x18dd69(0x7b)]=constants[_0x18dd69(0x74)],logger[_0x18dd69(0x77)](_0x18dd69(0x80)+this['url_']),this;}['setCapabilities'](){const _0x267317=_0x2e8f07;let _0x243229=helper[_0x267317(0x6f)](_0x527d34),_0x351e1f=helper[_0x267317(0x8d)](_0x527d34),_0x1b99a4=helper[_0x267317(0x87)](_0x527d34);return helper[_0x267317(0x9a)](_0x351e1f)&&logger['warn'](_0x267317(0x86)),helper[_0x267317(0x9a)](_0x1b99a4)&&logger[_0x267317(0x7c)](_0x267317(0x8f)),logger[_0x267317(0x77)](_0x267317(0x92)),_0x243229?this[_0x267317(0x9c)]=new _0x405db9[(_0x267317(0x7f))](helper[_0x267317(0x98)](_0x527d34,0x0)):this['capabilities_']=new _0x405db9['Capabilities'](helper[_0x267317(0x7a)](_0x527d34,0x0)),this;}[_0x2e8f07(0x97)](){const _0x30f42c=_0x2e8f07;return this[_0x30f42c(0x78)](),this[_0x30f42c(0x81)](),_0x527d34['proxySettings'][_0x30f42c(0x7d)]&&(this[_0x30f42c(0x95)]=_0x527d34[_0x30f42c(0x8e)][_0x30f42c(0x7d)],logger[_0x30f42c(0x77)](_0x30f42c(0x71)+this[_0x30f42c(0x95)])),logger[_0x30f42c(0x77)](_0x30f42c(0x72)),super[_0x30f42c(0x97)]();}}_0x405db9[_0x2e8f07(0x99)]=_0x594dc1;}};module[a24_0x1be807(0x94)]['browserstackAgent']=modify;