@nx/key 1.3.2 → 2.0.0-rc.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/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function a0_0xe286(){const _0x614f49=['nx_key.darwin-arm64.node','hex','assertFeaturePermission','nx_key.darwin-universal.node','__esModule','getPowerpackLicenseInformationAsync','NX_MAJOR_VERSION','update','utf8','defineProperty','registerNxKey','FeaturePermission','./request','getNxKeyInformation','nx_key.linux-arm-gnueabihf.node','substring','some','node\x20./request.js\x20child','904304jvwEtD','native\x20file\x20cache\x20location:\x20','userInfo','nx_key.linux-x64-gnu.node','3945746AvJGHs','homedir','25CZoUby','getNxKeyInformationAsync','activateNxKey','@nx/key-darwin-arm64','node:child_process','@nx/key-android-arm64','pipe','nx_key.win32-x64-msvc.node','env','81422GWsRIJ','apply','getPowerpackLicenseInformation','./src/version','endsWith','nx_key.android-arm64.node','@nx/key-linux-x64-musl','tmpdir','node:crypto','8qzRgKd','join','nx_key.win32-ia32-msvc.node','VERSION','nx_key.darwin-x64.node','@nx/key-android-arm-eabi','copyFileSync','basename','trim','existsSync','sha256','nx_key.linux-x64-musl.node','NX_NATIVE_FILE_CACHE_DIRECTORY','_load','@nx/key-darwin-x64','nx_key.win32-arm64-msvc.node','4062018EBstFk','requestLicense','mkdirSync','./native.js','./src/auto-register','@nx/key-win32-x64-msvc','node:os','@nx/key-win32-ia32-msvc','457368ILaZES','188043EKXJZE','has','@nx/key-win32-arm64-msvc','6092712RbAUBR','NX_KEY_LOGGING','nx-native-file-cache-','autoRegisterNxKey','resolve','cache','path','getKeyInformation'];a0_0xe286=function(){return _0x614f49;};return a0_0xe286();}const a0_0x5a76cb=a0_0x9d7a;(function(_0x48545e,_0x5a65c1){const _0x19a2ac=a0_0x9d7a,_0x18c164=_0x48545e();while(!![]){try{const _0xde9b74=-parseInt(_0x19a2ac(0x161))/0x1+-parseInt(_0x19a2ac(0x170))/0x2+parseInt(_0x19a2ac(0x144))/0x3+parseInt(_0x19a2ac(0x143))/0x4*(-parseInt(_0x19a2ac(0x167))/0x5)+parseInt(_0x19a2ac(0x189))/0x6+parseInt(_0x19a2ac(0x165))/0x7*(parseInt(_0x19a2ac(0x179))/0x8)+parseInt(_0x19a2ac(0x147))/0x9;if(_0xde9b74===_0x5a65c1)break;else _0x18c164['push'](_0x18c164['shift']());}catch(_0x183e05){_0x18c164['push'](_0x18c164['shift']());}}}(a0_0xe286,0x712f5));let e;Object[a0_0x5a76cb(0x158)](exports,a0_0x5a76cb(0x153),{'value':!0x0}),exports[a0_0x5a76cb(0x151)]=void 0x0,exports[a0_0x5a76cb(0x159)]=function(_0x3de924,_0x29b915){const _0x3136b4=a0_0x5a76cb;return(0x0,m[_0x3136b4(0x159)])(_0x3de924,_0x29b915);},exports[a0_0x5a76cb(0x14a)]=function(_0x319606){const _0x1825ab=a0_0x5a76cb;return(0x0,m[_0x1825ab(0x14a)])(_0x319606);},exports['activatePowerpack']=function(_0x4aa6f6,_0x38c123){p(_0x4aa6f6,_0x38c123);},exports[a0_0x5a76cb(0x169)]=p,exports[a0_0x5a76cb(0x154)]=function(_0x1b30b6){return v(_0x1b30b6);},exports[a0_0x5a76cb(0x168)]=v,exports[a0_0x5a76cb(0x172)]=function(_0x3821df){return k(_0x3821df);},exports[a0_0x5a76cb(0x15c)]=k;const n=require(a0_0x5a76cb(0x16b)),r=require(a0_0x5a76cb(0x141)),i=require(a0_0x5a76cb(0x15b)),t=require('fs'),o=require(a0_0x5a76cb(0x178)),s=require(a0_0x5a76cb(0x14d)),a=require(a0_0x5a76cb(0x173)),u=require('module'),x=new Set([a0_0x5a76cb(0x16c),a0_0x5a76cb(0x17e),a0_0x5a76cb(0x140),a0_0x5a76cb(0x142),a0_0x5a76cb(0x146),'@nx/key-darwin-universal',a0_0x5a76cb(0x187),a0_0x5a76cb(0x16a),'@nx/key-freebsd-x64',a0_0x5a76cb(0x176),'@nx/key-linux-x64-gnu','@nx/key-linux-arm64-musl','@nx/key-linux-arm64-gnu','@nx/key-linux-arm-gnueabihf']),c=[a0_0x5a76cb(0x175),'nx_key.android-arm-eabi.node',a0_0x5a76cb(0x16e),a0_0x5a76cb(0x17b),a0_0x5a76cb(0x188),a0_0x5a76cb(0x152),a0_0x5a76cb(0x17d),a0_0x5a76cb(0x14f),'nx_key.freebsd-x64.node',a0_0x5a76cb(0x184),a0_0x5a76cb(0x164),'nx_key.linux-arm64-musl.node','nx_key.linux-arm64-gnu.node',a0_0x5a76cb(0x15d)],d=u[a0_0x5a76cb(0x186)];function y(_0x2cb1ff,_0x4c06c9,_0x212273){const _0x2fe7b=a0_0x5a76cb;if(!(x[_0x2fe7b(0x145)](_0x2cb1ff)||c[_0x2fe7b(0x15f)](_0x408ed8=>_0x2cb1ff[_0x2fe7b(0x174)](_0x408ed8))))return d[_0x2fe7b(0x171)](this,arguments);{let _0x1d3281=require[_0x2fe7b(0x14b)](_0x2cb1ff),_0xefa492=(0x0,s[_0x2fe7b(0x180)])(_0x1d3281),_0x32ce24=(function(){const _0xa198d4=_0x2fe7b;if(process[_0xa198d4(0x16f)][_0xa198d4(0x185)])return process[_0xa198d4(0x16f)][_0xa198d4(0x185)];{let _0x31c632=(0x0,o['createHash'])(_0xa198d4(0x183));e&&_0x31c632[_0xa198d4(0x156)](e);try{_0x31c632[_0xa198d4(0x156)]((0x0,r[_0xa198d4(0x163)])()['username']);}catch(_0x156f34){}return(0x0,s[_0xa198d4(0x17a)])((0x0,r[_0xa198d4(0x177)])(),_0xa198d4(0x149)+_0x31c632['digest'](_0xa198d4(0x150))[_0xa198d4(0x15e)](0x0,0x7));}}());void 0x0!==process['env'][_0x2fe7b(0x148)]&&console['debug'](_0x2fe7b(0x162),_0x32ce24);let _0x1e05bc=(0x0,s['join'])(_0x32ce24,a[_0x2fe7b(0x17c)]+'-'+_0xefa492);return(0x0,t[_0x2fe7b(0x182)])(_0x1e05bc)||((0x0,t['existsSync'])(_0x32ce24)||(0x0,t[_0x2fe7b(0x18b)])(_0x32ce24,{'recursive':!0x0}),(0x0,t[_0x2fe7b(0x17f)])(_0x1d3281,_0x1e05bc)),d[_0x2fe7b(0x171)](this,[_0x1e05bc,_0x4c06c9,_0x212273]);}}const _=require[a0_0x5a76cb(0x14b)]('./native.js');function a0_0x9d7a(_0x5e3763,_0x277138){const _0xe286b8=a0_0xe286();return a0_0x9d7a=function(_0x9d7a0f,_0x20f4f3){_0x9d7a0f=_0x9d7a0f-0x13f;let _0x34d779=_0xe286b8[_0x9d7a0f];return _0x34d779;},a0_0x9d7a(_0x5e3763,_0x277138);}delete require[a0_0x5a76cb(0x14c)][_];const l=require('./native');Object[a0_0x5a76cb(0x158)](exports,a0_0x5a76cb(0x151),{'enumerable':!0x0,'get':function(){const _0x56c9a9=a0_0x5a76cb;return l[_0x56c9a9(0x151)];}}),module['exports'][a0_0x5a76cb(0x15a)]=l[a0_0x5a76cb(0x15a)];const m=require(a0_0x5a76cb(0x13f));function p(_0x3b01b7,_0x4f35ca){const _0x4932fa=a0_0x5a76cb;e=_0x3b01b7,u[_0x4932fa(0x186)]=y;let _0x44c59a=require(_0x4932fa(0x18c));return u['_load']=d,_0x44c59a[_0x4932fa(0x169)](a[_0x4932fa(0x155)],_0x3b01b7,_0x4f35ca);}function v(_0x1d842d){const _0x27f986=a0_0x5a76cb;e=_0x1d842d;let _0x48b87e=(0x0,r[_0x27f986(0x166)])();u['_load']=y;let _0x1eb240=require('./native.js');return u[_0x27f986(0x186)]=d,_0x1eb240['getKeyInformationAsync'](a[_0x27f986(0x155)],_0x1d842d,_0x48b87e,i[_0x27f986(0x18a)]);}function k(_0x3946a7){const _0x3f233d=a0_0x5a76cb;e=_0x3946a7;let _0x45c3be=(0x0,r[_0x3f233d(0x166)])();u[_0x3f233d(0x186)]=y;let _0x5b6057=require(_0x3f233d(0x18c));return u[_0x3f233d(0x186)]=d,_0x5b6057[_0x3f233d(0x14e)](a[_0x3f233d(0x155)],_0x3946a7,_0x45c3be,(_0x3910f5,_0x113fb9,_0x3669bf,_0x5d8102)=>{const _0x1799e8=_0x3f233d;try{return(0x0,n['execSync'])(_0x1799e8(0x160),{'encoding':_0x1799e8(0x157),'env':{...process['env'],'NX_CLOUD_ENDPOINT':_0x3910f5,'NX_CLOUD_ID':_0x113fb9??void 0x0,'NX_CLOUD_ACCESS_TOKEN':_0x3669bf??void 0x0,'NX_CLOUD_PERSONAL_ACCESS_TOKEN':_0x5d8102??void 0x0},'cwd':__dirname,'stdio':_0x1799e8(0x16d)})[_0x1799e8(0x181)]();}catch(_0x4841b8){throw Error(_0x4841b8);}});}u[a0_0x5a76cb(0x186)]=d;
1
+ 'use strict';const a0_0x14f284=a0_0x403b;(function(_0x5c1e32,_0x1283d3){const _0x4bc099=a0_0x403b,_0x49ffef=_0x5c1e32();while(!![]){try{const _0x51e3fd=parseInt(_0x4bc099(0xc6))/0x1*(-parseInt(_0x4bc099(0xd6))/0x2)+-parseInt(_0x4bc099(0xb4))/0x3*(parseInt(_0x4bc099(0xb8))/0x4)+-parseInt(_0x4bc099(0xc7))/0x5+-parseInt(_0x4bc099(0xbc))/0x6+-parseInt(_0x4bc099(0xd1))/0x7+parseInt(_0x4bc099(0xe1))/0x8*(parseInt(_0x4bc099(0xc4))/0x9)+parseInt(_0x4bc099(0xae))/0xa;if(_0x51e3fd===_0x1283d3)break;else _0x49ffef['push'](_0x49ffef['shift']());}catch(_0x13f750){_0x49ffef['push'](_0x49ffef['shift']());}}}(a0_0x1a02,0x453c5));let e;Object[a0_0x14f284(0xcc)](exports,a0_0x14f284(0xdc),{'value':!0x0}),exports[a0_0x14f284(0xaa)]=void 0x0,exports[a0_0x14f284(0xd4)]=function(_0x33e8bd,_0x1b8ee8){const _0x10ce5d=a0_0x14f284;return(0x0,_[_0x10ce5d(0xd4)])(_0x33e8bd,_0x1b8ee8);},exports[a0_0x14f284(0xc2)]=function(_0x374c88){const _0x5cd7ca=a0_0x14f284;return(0x0,_[_0x5cd7ca(0xc2)])(_0x374c88);},exports[a0_0x14f284(0xd0)]=function(_0x584d9b,_0x3ce81b){l(_0x584d9b,_0x3ce81b);},exports[a0_0x14f284(0xac)]=l,exports[a0_0x14f284(0xbf)]=function(_0x24fed1){return p(_0x24fed1);},exports[a0_0x14f284(0xcf)]=p,exports['getPowerpackLicenseInformation']=function(_0x574fc8){return v(_0x574fc8);},exports['getNxKeyInformation']=v;function a0_0x403b(_0x44f8bd,_0x37b9f1){const _0x1a02e0=a0_0x1a02();return a0_0x403b=function(_0x403bb0,_0x186462){_0x403bb0=_0x403bb0-0x9e;let _0x12dce2=_0x1a02e0[_0x403bb0];return _0x12dce2;},a0_0x403b(_0x44f8bd,_0x37b9f1);}const n=require('node:child_process'),r=require('node:os'),i=require(a0_0x14f284(0xce)),t=require('fs'),o=require('node:crypto'),s=require(a0_0x14f284(0xe5)),a=require(a0_0x14f284(0xcb)),u=require('module'),x=new Set([a0_0x14f284(0xa9),a0_0x14f284(0xd9),a0_0x14f284(0xe4),a0_0x14f284(0xca),'@nx/key-win32-arm64-msvc',a0_0x14f284(0xd5),a0_0x14f284(0xa4),a0_0x14f284(0xba),'@nx/key-freebsd-x64',a0_0x14f284(0xdb),a0_0x14f284(0x9f),a0_0x14f284(0xc3),a0_0x14f284(0xc9),a0_0x14f284(0xa7)]),c=[a0_0x14f284(0xe6),a0_0x14f284(0xb9),'nx_key.win32-x64-msvc.node','nx_key.win32-ia32-msvc.node',a0_0x14f284(0xe8),'nx_key.darwin-universal.node','nx_key.darwin-x64.node',a0_0x14f284(0xb6),'nx_key.freebsd-x64.node',a0_0x14f284(0xc0),a0_0x14f284(0xd7),a0_0x14f284(0xec),a0_0x14f284(0xa2),'nx_key.linux-arm-gnueabihf.node'],d=u[a0_0x14f284(0xd3)],y=require[a0_0x14f284(0xa8)](a0_0x14f284(0xbd));function a0_0x1a02(){const _0x2fab13=['NX_KEY_LOGGING','@nx/key-linux-x64-musl','__esModule','utf8','env','random','renameSync','8tSUCFy','execSync','NX_NATIVE_FILE_CACHE_DIRECTORY','@nx/key-win32-x64-msvc','path','nx_key.android-arm64.node','has','nx_key.win32-arm64-msvc.node','exports','./native','basename','nx_key.linux-arm64-musl.node','node\x20./request.js\x20child','@nx/key-linux-x64-gnu','endsWith','update','nx_key.linux-arm64-gnu.node','./src/auto-register','@nx/key-darwin-x64','getKeyInformation','getKeyInformationAsync','@nx/key-linux-arm-gnueabihf','resolve','@nx/key-android-arm64','assertFeaturePermission','VERSION','activateNxKey','hex','8307880aBuBoK','apply','NX_MAJOR_VERSION','mkdirSync','pipe','FeaturePermission','42ajNZJc','copyFileSync','nx_key.darwin-arm64.node','username','48388vZktmg','nx_key.android-arm-eabi.node','@nx/key-darwin-arm64','tmpdir','30876HReejq','./native.js','nx-native-file-cache-','getPowerpackLicenseInformationAsync','nx_key.linux-x64-musl.node','substring','autoRegisterNxKey','@nx/key-linux-arm64-musl','701208EDSWUF','cache','77JVLIZj','665840sPqzzx','join','@nx/key-linux-arm64-gnu','@nx/key-win32-ia32-msvc','./src/version','defineProperty','sha256','./request','getNxKeyInformationAsync','activatePowerpack','1652350UiTvvH','trim','_load','registerNxKey','@nx/key-darwin-universal','2114xIzqDa','nx_key.linux-x64-gnu.node','createHash','@nx/key-android-arm-eabi'];a0_0x1a02=function(){return _0x2fab13;};return a0_0x1a02();}delete require[a0_0x14f284(0xc5)][y],u[a0_0x14f284(0xd3)]=function(_0x2ae7b8,_0xd5053d,_0x20dfd4){const _0x38346=a0_0x14f284;if(!(x[_0x38346(0xe7)](_0x2ae7b8)||c['some'](_0x5878a3=>_0x2ae7b8[_0x38346(0xa0)](_0x5878a3))))return d[_0x38346(0xaf)](this,arguments);{let _0x5f45d0=require[_0x38346(0xa8)](_0x2ae7b8),_0x281874=(0x0,s[_0x38346(0xeb)])(_0x5f45d0),_0x40a2a5=(function(){const _0x35d5ee=_0x38346;if(process[_0x35d5ee(0xde)][_0x35d5ee(0xe3)])return process[_0x35d5ee(0xde)]['NX_NATIVE_FILE_CACHE_DIRECTORY'];{let _0x46f959=(0x0,o[_0x35d5ee(0xd8)])(_0x35d5ee(0xcd));e&&_0x46f959[_0x35d5ee(0xa1)](e);try{_0x46f959[_0x35d5ee(0xa1)]((0x0,r['userInfo'])()[_0x35d5ee(0xb7)]);}catch(_0x32f5aa){}return(0x0,s[_0x35d5ee(0xc8)])((0x0,r[_0x35d5ee(0xbb)])(),_0x35d5ee(0xbe)+_0x46f959['digest'](_0x35d5ee(0xad))[_0x35d5ee(0xc1)](0x0,0x7));}}()),_0x2f125d=(0x0,s[_0x38346(0xc8)])(_0x40a2a5,a[_0x38346(0xab)]+'-'+Math[_0x38346(0xdf)]()+_0x281874);void 0x0!==process[_0x38346(0xde)][_0x38346(0xda)]&&console['debug']('native\x20file\x20cache\x20location:\x20',_0x40a2a5);let _0x19c047=(0x0,s[_0x38346(0xc8)])(_0x40a2a5,a[_0x38346(0xab)]+'-'+_0x281874);return(0x0,t['existsSync'])(_0x19c047)||((0x0,t['existsSync'])(_0x40a2a5)||(0x0,t[_0x38346(0xb1)])(_0x40a2a5,{'recursive':!0x0}),(0x0,t[_0x38346(0xb5)])(_0x5f45d0,_0x2f125d),(0x0,t[_0x38346(0xe0)])(_0x2f125d,_0x19c047)),d['apply'](this,[_0x19c047,_0xd5053d,_0x20dfd4]);}};const m=require(a0_0x14f284(0xea));Object[a0_0x14f284(0xcc)](exports,a0_0x14f284(0xaa),{'enumerable':!0x0,'get':function(){const _0x40b832=a0_0x14f284;return m[_0x40b832(0xaa)];}}),module[a0_0x14f284(0xe9)]['FeaturePermission']=m[a0_0x14f284(0xb3)];const _=require(a0_0x14f284(0xa3));function l(_0x26f6e7,_0x2654ee){const _0x26330a=a0_0x14f284;return e=_0x26f6e7,require(_0x26330a(0xbd))[_0x26330a(0xac)](a[_0x26330a(0xb0)],_0x26f6e7,_0x2654ee);}function p(_0x2aaa31){const _0x1802b9=a0_0x14f284;e=_0x2aaa31;let _0x5d620b=(0x0,r['homedir'])();return require(_0x1802b9(0xbd))[_0x1802b9(0xa6)](a[_0x1802b9(0xb0)],_0x2aaa31,_0x5d620b,i['requestLicense']);}function v(_0xf79c61){const _0x1aef0a=a0_0x14f284;e=_0xf79c61;let _0x585e85=(0x0,r['homedir'])();return require(_0x1aef0a(0xbd))[_0x1aef0a(0xa5)](a[_0x1aef0a(0xb0)],_0xf79c61,_0x585e85,(_0xf5e29b,_0x3702f2,_0x954f9b,_0xbe1c4a)=>{const _0x392071=_0x1aef0a;try{return(0x0,n[_0x392071(0xe2)])(_0x392071(0x9e),{'encoding':_0x392071(0xdd),'env':{...process[_0x392071(0xde)],'NX_CLOUD_ENDPOINT':_0xf5e29b,'NX_CLOUD_ID':_0x3702f2??void 0x0,'NX_CLOUD_ACCESS_TOKEN':_0x954f9b??void 0x0,'NX_CLOUD_PERSONAL_ACCESS_TOKEN':_0xbe1c4a??void 0x0},'cwd':__dirname,'stdio':_0x392071(0xb2)})[_0x392071(0xd2)]();}catch(_0x4b258e){throw Error(_0x4b258e);}});}u[a0_0x14f284(0xd3)]=d;
package/native.js CHANGED
@@ -1 +1 @@
1
- const a1_0x379642=a1_0x4c4e;function a1_0x5e0a(){const _0x4401da=['./nx_key.win32-arm64-msvc.node','Unsupported\x20architecture\x20on\x20FreeBSD:\x20','darwin','./nx_key.darwin-universal.node','@nx/key-win32-ia32-msvc','win32','6763668FLTpcI','Unsupported\x20OS:\x20','720JoYzXz','./nx_key.linux-arm-musleabihf.node','header','./nx_key.linux-ppc64-gnu.node','4589040mtYxhX','sharedObjects','1486458GwTXzl','22YoBOGk','assertFeaturePermission','1445910kKucEW',',\x20architecture:\x20','Unsupported\x20architecture\x20on\x20Android\x20','s390x','getReport','@nx/key-linux-ppc64-gnu','./nx_key.freebsd-x64.node','ppc64','@nx/key-linux-x64-gnu','78268QuxRdm','@nx/key-linux-arm-gnueabihf','@nx/key-darwin-arm64','@nx/key-win32-x64-msvc','./nx_key.linux-riscv64-gnu.node','arm64','linux','exports','Unsupported\x20architecture\x20on\x20Windows:\x20','./nx_key.win32-ia32-msvc.node','Unsupported\x20architecture\x20on\x20Linux:\x20','glibcVersionRuntime','NAPI_RS_FORCE_WASI','getKeyInformation','@nx/key-linux-s390x-gnu','ld-musl-','@nx/key-darwin-x64','child_process','env','33057FqosTI','./nx_key.linux-arm-gnueabihf.node','isArray','length','80595NXCZQL','@nx/key-android-arm64','libc.musl-','arch','66CtFIqo','includes','@nx/key-linux-arm64-musl','@nx/key-freebsd-arm64','@nx/key-android-arm-eabi','report','@nx/key-wasm32-wasi','utf-8','./nx_key.freebsd-arm64.node','FeaturePermission','@nx/key-linux-riscv64-musl','./nx_key.win32-x64-msvc.node','./nx_key.linux-riscv64-musl.node','./nx_key.darwin-x64.node','activateNxKey','/usr/bin/ldd','platform','Failed\x20to\x20load\x20native\x20binding','./nx_key.linux-arm64-musl.node','@nx/key-freebsd-x64','@nx/key-win32-arm64-msvc','riscv64','28ufgCdH','push','./nx_key.linux-x64-musl.node','arm','./nx_key.linux-x64-gnu.node','ldd\x20--version','100MmqGSq','musl','android','@nx/key-linux-riscv64-gnu','x64','@nx/key-darwin-universal'];a1_0x5e0a=function(){return _0x4401da;};return a1_0x5e0a();}(function(_0xc67f66,_0x59e23f){const _0x7f7108=a1_0x4c4e,_0x10cb7e=_0xc67f66();while(!![]){try{const _0x363c5c=-parseInt(_0x7f7108(0x1c9))/0x1*(parseInt(_0x7f7108(0x1fe))/0x2)+-parseInt(_0x7f7108(0x1fd))/0x3+parseInt(_0x7f7108(0x209))/0x4*(parseInt(_0x7f7108(0x1e9))/0x5)+parseInt(_0x7f7108(0x200))/0x6*(-parseInt(_0x7f7108(0x1e3))/0x7)+-parseInt(_0x7f7108(0x1fb))/0x8+parseInt(_0x7f7108(0x1c5))/0x9*(-parseInt(_0x7f7108(0x1f7))/0xa)+parseInt(_0x7f7108(0x1cd))/0xb*(parseInt(_0x7f7108(0x1f5))/0xc);if(_0x363c5c===_0x59e23f)break;else _0x10cb7e['push'](_0x10cb7e['shift']());}catch(_0xd3f50c){_0x10cb7e['push'](_0x10cb7e['shift']());}}}(a1_0x5e0a,0x8fd3d));const {readFileSync:r}=require('fs');function a1_0x4c4e(_0x4b69aa,_0x34dcea){const _0x5e0aa8=a1_0x5e0a();return a1_0x4c4e=function(_0x4c4e9b,_0x1604df){_0x4c4e9b=_0x4c4e9b-0x1b3;let _0x255cb1=_0x5e0aa8[_0x4c4e9b];return _0x255cb1;},a1_0x4c4e(_0x4b69aa,_0x34dcea);}let e=null;const n=[],u=()=>{const _0x2ac2a1=a1_0x4c4e;let _0x5cd4b5=!0x1;return _0x2ac2a1(0x1b8)===process[_0x2ac2a1(0x1dd)]&&(null===(_0x5cd4b5=t())&&(_0x5cd4b5=c()),null===_0x5cd4b5&&(_0x5cd4b5=i())),_0x5cd4b5;},s=_0x3a8947=>_0x3a8947[a1_0x379642(0x1ce)](a1_0x379642(0x1cb))||_0x3a8947[a1_0x379642(0x1ce)](a1_0x379642(0x1c1)),t=()=>{const _0x2e3e25=a1_0x379642;try{return r(_0x2e3e25(0x1dc),_0x2e3e25(0x1d4))['includes'](_0x2e3e25(0x1ea));}catch{return null;}},c=()=>{const _0x376f52=a1_0x379642;let _0x432993='function'==typeof process[_0x376f52(0x1d2)][_0x376f52(0x204)]?process[_0x376f52(0x1d2)]['getReport']():null;return _0x432993?(!_0x432993[_0x376f52(0x1f9)]||!_0x432993[_0x376f52(0x1f9)][_0x376f52(0x1bd)])&&!!(Array[_0x376f52(0x1c7)](_0x432993[_0x376f52(0x1fc)])&&_0x432993['sharedObjects']['some'](s)):null;},i=()=>{const _0x2838a2=a1_0x379642;try{return require(_0x2838a2(0x1c3))['execSync'](_0x2838a2(0x1e8),{'encoding':'utf8'})[_0x2838a2(0x1ce)](_0x2838a2(0x1ea));}catch(_0x116d32){return!0x1;}};if(!(e=(function(){const _0x30f385=a1_0x379642;if(_0x30f385(0x1eb)===process['platform']){if(_0x30f385(0x1b7)===process['arch']){try{return require('./nx_key.android-arm64.node');}catch(_0xee2498){n[_0x30f385(0x1e4)](_0xee2498);}try{return require(_0x30f385(0x1ca));}catch(_0x53af77){n[_0x30f385(0x1e4)](_0x53af77);}}else{if('arm'===process['arch']){try{return require('./nx_key.android-arm-eabi.node');}catch(_0x28163b){n['push'](_0x28163b);}try{return require(_0x30f385(0x1d1));}catch(_0x5929a1){n[_0x30f385(0x1e4)](_0x5929a1);}}else n['push'](Error(_0x30f385(0x202)+process[_0x30f385(0x1cc)]));}}else{if(_0x30f385(0x1f4)===process['platform']){if(_0x30f385(0x1ed)===process[_0x30f385(0x1cc)]){try{return require(_0x30f385(0x1d8));}catch(_0x122f7a){n['push'](_0x122f7a);}try{return require(_0x30f385(0x1b5));}catch(_0x35ee05){n[_0x30f385(0x1e4)](_0x35ee05);}}else{if('ia32'===process['arch']){try{return require(_0x30f385(0x1bb));}catch(_0x4aecf2){n[_0x30f385(0x1e4)](_0x4aecf2);}try{return require(_0x30f385(0x1f3));}catch(_0x97e0b4){n[_0x30f385(0x1e4)](_0x97e0b4);}}else{if(_0x30f385(0x1b7)===process[_0x30f385(0x1cc)]){try{return require(_0x30f385(0x1ef));}catch(_0x52c713){n[_0x30f385(0x1e4)](_0x52c713);}try{return require(_0x30f385(0x1e1));}catch(_0x493684){n[_0x30f385(0x1e4)](_0x493684);}}else n[_0x30f385(0x1e4)](Error(_0x30f385(0x1ba)+process[_0x30f385(0x1cc)]));}}}else{if(_0x30f385(0x1f1)===process[_0x30f385(0x1dd)]){try{return require(_0x30f385(0x1f2));}catch(_0x26245a){n['push'](_0x26245a);}try{return require(_0x30f385(0x1ee));}catch(_0x5d8bc4){n['push'](_0x5d8bc4);}if(_0x30f385(0x1ed)===process[_0x30f385(0x1cc)]){try{return require(_0x30f385(0x1da));}catch(_0x23b067){n[_0x30f385(0x1e4)](_0x23b067);}try{return require(_0x30f385(0x1c2));}catch(_0x4c1d01){n[_0x30f385(0x1e4)](_0x4c1d01);}}else{if('arm64'===process[_0x30f385(0x1cc)]){try{return require('./nx_key.darwin-arm64.node');}catch(_0x5d6f52){n[_0x30f385(0x1e4)](_0x5d6f52);}try{return require(_0x30f385(0x1b4));}catch(_0x3eceae){n[_0x30f385(0x1e4)](_0x3eceae);}}else n[_0x30f385(0x1e4)](Error('Unsupported\x20architecture\x20on\x20macOS:\x20'+process[_0x30f385(0x1cc)]));}}else{if('freebsd'===process[_0x30f385(0x1dd)]){if(_0x30f385(0x1ed)===process[_0x30f385(0x1cc)]){try{return require(_0x30f385(0x206));}catch(_0x480f4e){n[_0x30f385(0x1e4)](_0x480f4e);}try{return require(_0x30f385(0x1e0));}catch(_0x2f1984){n[_0x30f385(0x1e4)](_0x2f1984);}}else{if(_0x30f385(0x1b7)===process['arch']){try{return require(_0x30f385(0x1d5));}catch(_0x17d9d1){n[_0x30f385(0x1e4)](_0x17d9d1);}try{return require(_0x30f385(0x1d0));}catch(_0x1010cf){n['push'](_0x1010cf);}}else n[_0x30f385(0x1e4)](Error(_0x30f385(0x1f0)+process[_0x30f385(0x1cc)]));}}else{if('linux'===process['platform']){if(_0x30f385(0x1ed)===process[_0x30f385(0x1cc)]){if(u()){try{return require(_0x30f385(0x1e5));}catch(_0x34e10b){n[_0x30f385(0x1e4)](_0x34e10b);}try{return require('@nx/key-linux-x64-musl');}catch(_0x44ee53){n[_0x30f385(0x1e4)](_0x44ee53);}}else{try{return require(_0x30f385(0x1e7));}catch(_0x1bb962){n['push'](_0x1bb962);}try{return require(_0x30f385(0x208));}catch(_0x242d23){n[_0x30f385(0x1e4)](_0x242d23);}}}else{if(_0x30f385(0x1b7)===process['arch']){if(u()){try{return require(_0x30f385(0x1df));}catch(_0x6add77){n['push'](_0x6add77);}try{return require(_0x30f385(0x1cf));}catch(_0x1dacd3){n[_0x30f385(0x1e4)](_0x1dacd3);}}else{try{return require('./nx_key.linux-arm64-gnu.node');}catch(_0x2c6428){n['push'](_0x2c6428);}try{return require('@nx/key-linux-arm64-gnu');}catch(_0xfda419){n[_0x30f385(0x1e4)](_0xfda419);}}}else{if(_0x30f385(0x1e6)===process[_0x30f385(0x1cc)]){if(u()){try{return require(_0x30f385(0x1f8));}catch(_0x28260f){n[_0x30f385(0x1e4)](_0x28260f);}try{return require('@nx/key-linux-arm-musleabihf');}catch(_0x152db1){n[_0x30f385(0x1e4)](_0x152db1);}}else{try{return require(_0x30f385(0x1c6));}catch(_0x335359){n[_0x30f385(0x1e4)](_0x335359);}try{return require(_0x30f385(0x1b3));}catch(_0x1b1060){n['push'](_0x1b1060);}}}else{if(_0x30f385(0x1e2)===process[_0x30f385(0x1cc)]){if(u()){try{return require(_0x30f385(0x1d9));}catch(_0x1f2a15){n[_0x30f385(0x1e4)](_0x1f2a15);}try{return require(_0x30f385(0x1d7));}catch(_0x2f64c7){n[_0x30f385(0x1e4)](_0x2f64c7);}}else{try{return require(_0x30f385(0x1b6));}catch(_0x481321){n[_0x30f385(0x1e4)](_0x481321);}try{return require(_0x30f385(0x1ec));}catch(_0xd68fa7){n[_0x30f385(0x1e4)](_0xd68fa7);}}}else{if(_0x30f385(0x207)===process[_0x30f385(0x1cc)]){try{return require(_0x30f385(0x1fa));}catch(_0x529e3d){n[_0x30f385(0x1e4)](_0x529e3d);}try{return require(_0x30f385(0x205));}catch(_0x274acf){n[_0x30f385(0x1e4)](_0x274acf);}}else{if(_0x30f385(0x203)===process[_0x30f385(0x1cc)]){try{return require('./nx_key.linux-s390x-gnu.node');}catch(_0x25144a){n[_0x30f385(0x1e4)](_0x25144a);}try{return require(_0x30f385(0x1c0));}catch(_0x3551df){n[_0x30f385(0x1e4)](_0x3551df);}}else n['push'](Error(_0x30f385(0x1bc)+process[_0x30f385(0x1cc)]));}}}}}}else n[_0x30f385(0x1e4)](Error(_0x30f385(0x1f6)+process[_0x30f385(0x1dd)]+_0x30f385(0x201)+process[_0x30f385(0x1cc)]));}}}}}()))||process[a1_0x379642(0x1c4)][a1_0x379642(0x1be)]){try{e=require('./nx_key.wasi.cjs');}catch(a1_0x15eac5){process[a1_0x379642(0x1c4)][a1_0x379642(0x1be)]&&console['error'](a1_0x15eac5);}if(!e)try{e=require(a1_0x379642(0x1d3));}catch(a1_0x47626f){process[a1_0x379642(0x1c4)][a1_0x379642(0x1be)]&&console['error'](a1_0x47626f);}}if(!e){if(n[a1_0x379642(0x1c8)]>0x0)throw Error(a1_0x379642(0x1de),{'cause':n});throw Error(a1_0x379642(0x1de));}module[a1_0x379642(0x1b9)][a1_0x379642(0x1db)]=e[a1_0x379642(0x1db)],module['exports'][a1_0x379642(0x1ff)]=e[a1_0x379642(0x1ff)],module['exports'][a1_0x379642(0x1d6)]=e[a1_0x379642(0x1d6)],module['exports'][a1_0x379642(0x1bf)]=e[a1_0x379642(0x1bf)],module[a1_0x379642(0x1b9)]['getKeyInformationAsync']=e['getKeyInformationAsync'];
1
+ const a1_0x2e027a=a1_0x5562;(function(_0x8cdcd6,_0x226fed){const _0x4153d8=a1_0x5562,_0x160b24=_0x8cdcd6();while(!![]){try{const _0x5811f8=-parseInt(_0x4153d8(0x13c))/0x1+-parseInt(_0x4153d8(0x15a))/0x2*(-parseInt(_0x4153d8(0x149))/0x3)+-parseInt(_0x4153d8(0x16d))/0x4+parseInt(_0x4153d8(0x123))/0x5*(parseInt(_0x4153d8(0x169))/0x6)+parseInt(_0x4153d8(0x14c))/0x7+parseInt(_0x4153d8(0x157))/0x8+parseInt(_0x4153d8(0x150))/0x9;if(_0x5811f8===_0x226fed)break;else _0x160b24['push'](_0x160b24['shift']());}catch(_0x61f9f){_0x160b24['push'](_0x160b24['shift']());}}}(a1_0x48a3,0x45476));function a1_0x5562(_0x5f5de2,_0x21df3e){const _0x48a37b=a1_0x48a3();return a1_0x5562=function(_0x5562e6,_0x2b104b){_0x5562e6=_0x5562e6-0x11f;let _0x5006dc=_0x48a37b[_0x5562e6];return _0x5006dc;},a1_0x5562(_0x5f5de2,_0x21df3e);}const {readFileSync:r}=require('fs');function a1_0x48a3(){const _0x2cede3=['some','riscv64','utf8','./nx_key.linux-arm-musleabihf.node','env','@nx/key-linux-arm64-gnu','ld-musl-','./nx_key.linux-riscv64-gnu.node','@nx/key-win32-ia32-msvc','1958424DEzBoL','error','arch','./nx_key.linux-riscv64-musl.node','2220080STRccP','ppc64','./nx_key.android-arm64.node','header','getReport','child_process','getKeyInformation','5iHoMkq','utf-8','@nx/key-darwin-x64','./nx_key.linux-arm64-musl.node','@nx/key-linux-ppc64-gnu','getKeyInformationAsync','function','Unsupported\x20architecture\x20on\x20Linux:\x20','@nx/key-linux-arm-musleabihf','./nx_key.linux-s390x-gnu.node','@nx/key-darwin-arm64','@nx/key-linux-x64-gnu','@nx/key-linux-riscv64-gnu','push','./nx_key.darwin-universal.node','@nx/key-wasm32-wasi','./nx_key.darwin-x64.node','ldd\x20--version','./nx_key.freebsd-x64.node','./nx_key.win32-x64-msvc.node','NAPI_RS_FORCE_WASI','./nx_key.linux-x64-musl.node','musl','@nx/key-darwin-universal','includes','366573xNgfsb','./nx_key.linux-arm-gnueabihf.node','activateNxKey','freebsd','assertFeaturePermission','win32','Failed\x20to\x20load\x20native\x20binding','platform','@nx/key-win32-arm64-msvc','@nx/key-linux-s390x-gnu','./nx_key.linux-arm64-gnu.node','./nx_key.win32-arm64-msvc.node','./nx_key.darwin-arm64.node','1519431JrhvaY','@nx/key-linux-riscv64-musl','./nx_key.freebsd-arm64.node','1351063WtqvwO','arm','Unsupported\x20architecture\x20on\x20macOS:\x20','./nx_key.android-arm-eabi.node','1484352qivmYi','Unsupported\x20OS:\x20','report','arm64','execSync','exports','./nx_key.wasi.cjs','116328dONjXe','/usr/bin/ldd','x64','2OOGyXq','android','./nx_key.linux-x64-gnu.node','isArray','length','FeaturePermission'];a1_0x48a3=function(){return _0x2cede3;};return a1_0x48a3();}let e=null;const n=[],u=()=>{const _0x58a6b2=a1_0x5562;let _0x3b726d=!0x1;return'linux'===process[_0x58a6b2(0x143)]&&(null===(_0x3b726d=t())&&(_0x3b726d=c()),null===_0x3b726d&&(_0x3b726d=i())),_0x3b726d;},s=_0x5db4e3=>_0x5db4e3[a1_0x2e027a(0x13b)]('libc.musl-')||_0x5db4e3[a1_0x2e027a(0x13b)](a1_0x2e027a(0x166)),t=()=>{const _0x530ead=a1_0x2e027a;try{return r(_0x530ead(0x158),_0x530ead(0x124))[_0x530ead(0x13b)](_0x530ead(0x139));}catch{return null;}},c=()=>{const _0x4b85b8=a1_0x2e027a;let _0x2190f7=_0x4b85b8(0x129)==typeof process[_0x4b85b8(0x152)][_0x4b85b8(0x120)]?process[_0x4b85b8(0x152)][_0x4b85b8(0x120)]():null;return _0x2190f7?(!_0x2190f7[_0x4b85b8(0x11f)]||!_0x2190f7[_0x4b85b8(0x11f)]['glibcVersionRuntime'])&&!!(Array[_0x4b85b8(0x15d)](_0x2190f7['sharedObjects'])&&_0x2190f7['sharedObjects'][_0x4b85b8(0x160)](s)):null;},i=()=>{const _0x2b1665=a1_0x2e027a;try{return require(_0x2b1665(0x121))[_0x2b1665(0x154)](_0x2b1665(0x134),{'encoding':_0x2b1665(0x162)})['includes'](_0x2b1665(0x139));}catch(_0x41b299){return!0x1;}};if(!(e=(function(){const _0x390a0f=a1_0x2e027a;if(_0x390a0f(0x15b)===process['platform']){if(_0x390a0f(0x153)===process['arch']){try{return require(_0x390a0f(0x16f));}catch(_0x43cfe2){n[_0x390a0f(0x130)](_0x43cfe2);}try{return require('@nx/key-android-arm64');}catch(_0x1a7675){n[_0x390a0f(0x130)](_0x1a7675);}}else{if(_0x390a0f(0x14d)===process[_0x390a0f(0x16b)]){try{return require(_0x390a0f(0x14f));}catch(_0xe02a38){n[_0x390a0f(0x130)](_0xe02a38);}try{return require('@nx/key-android-arm-eabi');}catch(_0x3fdb07){n[_0x390a0f(0x130)](_0x3fdb07);}}else n[_0x390a0f(0x130)](Error('Unsupported\x20architecture\x20on\x20Android\x20'+process['arch']));}}else{if(_0x390a0f(0x141)===process[_0x390a0f(0x143)]){if(_0x390a0f(0x159)===process[_0x390a0f(0x16b)]){try{return require(_0x390a0f(0x136));}catch(_0x3d5640){n[_0x390a0f(0x130)](_0x3d5640);}try{return require('@nx/key-win32-x64-msvc');}catch(_0x7368ca){n[_0x390a0f(0x130)](_0x7368ca);}}else{if('ia32'===process[_0x390a0f(0x16b)]){try{return require('./nx_key.win32-ia32-msvc.node');}catch(_0x1b3f32){n[_0x390a0f(0x130)](_0x1b3f32);}try{return require(_0x390a0f(0x168));}catch(_0xef8d46){n['push'](_0xef8d46);}}else{if(_0x390a0f(0x153)===process['arch']){try{return require(_0x390a0f(0x147));}catch(_0x4166ea){n[_0x390a0f(0x130)](_0x4166ea);}try{return require(_0x390a0f(0x144));}catch(_0x17cd54){n[_0x390a0f(0x130)](_0x17cd54);}}else n['push'](Error('Unsupported\x20architecture\x20on\x20Windows:\x20'+process[_0x390a0f(0x16b)]));}}}else{if('darwin'===process[_0x390a0f(0x143)]){try{return require(_0x390a0f(0x131));}catch(_0xfff802){n[_0x390a0f(0x130)](_0xfff802);}try{return require(_0x390a0f(0x13a));}catch(_0x2b96b7){n['push'](_0x2b96b7);}if(_0x390a0f(0x159)===process[_0x390a0f(0x16b)]){try{return require(_0x390a0f(0x133));}catch(_0x3ed1cf){n['push'](_0x3ed1cf);}try{return require(_0x390a0f(0x125));}catch(_0x55d825){n[_0x390a0f(0x130)](_0x55d825);}}else{if('arm64'===process[_0x390a0f(0x16b)]){try{return require(_0x390a0f(0x148));}catch(_0x16be76){n[_0x390a0f(0x130)](_0x16be76);}try{return require(_0x390a0f(0x12d));}catch(_0x41307a){n[_0x390a0f(0x130)](_0x41307a);}}else n[_0x390a0f(0x130)](Error(_0x390a0f(0x14e)+process['arch']));}}else{if(_0x390a0f(0x13f)===process[_0x390a0f(0x143)]){if('x64'===process['arch']){try{return require(_0x390a0f(0x135));}catch(_0x5323ce){n[_0x390a0f(0x130)](_0x5323ce);}try{return require('@nx/key-freebsd-x64');}catch(_0x582ba4){n[_0x390a0f(0x130)](_0x582ba4);}}else{if(_0x390a0f(0x153)===process[_0x390a0f(0x16b)]){try{return require(_0x390a0f(0x14b));}catch(_0x724c38){n[_0x390a0f(0x130)](_0x724c38);}try{return require('@nx/key-freebsd-arm64');}catch(_0x3f5413){n['push'](_0x3f5413);}}else n['push'](Error('Unsupported\x20architecture\x20on\x20FreeBSD:\x20'+process['arch']));}}else{if('linux'===process[_0x390a0f(0x143)]){if('x64'===process['arch']){if(u()){try{return require(_0x390a0f(0x138));}catch(_0x416e4e){n['push'](_0x416e4e);}try{return require('@nx/key-linux-x64-musl');}catch(_0x560ea4){n[_0x390a0f(0x130)](_0x560ea4);}}else{try{return require(_0x390a0f(0x15c));}catch(_0x5b3ce0){n[_0x390a0f(0x130)](_0x5b3ce0);}try{return require(_0x390a0f(0x12e));}catch(_0x11ba91){n['push'](_0x11ba91);}}}else{if(_0x390a0f(0x153)===process[_0x390a0f(0x16b)]){if(u()){try{return require(_0x390a0f(0x126));}catch(_0x3722d1){n[_0x390a0f(0x130)](_0x3722d1);}try{return require('@nx/key-linux-arm64-musl');}catch(_0x27876c){n[_0x390a0f(0x130)](_0x27876c);}}else{try{return require(_0x390a0f(0x146));}catch(_0x5c7d47){n['push'](_0x5c7d47);}try{return require(_0x390a0f(0x165));}catch(_0x32acfc){n[_0x390a0f(0x130)](_0x32acfc);}}}else{if(_0x390a0f(0x14d)===process[_0x390a0f(0x16b)]){if(u()){try{return require(_0x390a0f(0x163));}catch(_0x41253d){n[_0x390a0f(0x130)](_0x41253d);}try{return require(_0x390a0f(0x12b));}catch(_0x3271c7){n[_0x390a0f(0x130)](_0x3271c7);}}else{try{return require(_0x390a0f(0x13d));}catch(_0x1edcc4){n[_0x390a0f(0x130)](_0x1edcc4);}try{return require('@nx/key-linux-arm-gnueabihf');}catch(_0x20e19e){n[_0x390a0f(0x130)](_0x20e19e);}}}else{if(_0x390a0f(0x161)===process[_0x390a0f(0x16b)]){if(u()){try{return require(_0x390a0f(0x16c));}catch(_0x10e3d0){n['push'](_0x10e3d0);}try{return require(_0x390a0f(0x14a));}catch(_0x17dfdb){n[_0x390a0f(0x130)](_0x17dfdb);}}else{try{return require(_0x390a0f(0x167));}catch(_0x1d043b){n[_0x390a0f(0x130)](_0x1d043b);}try{return require(_0x390a0f(0x12f));}catch(_0x28fa85){n[_0x390a0f(0x130)](_0x28fa85);}}}else{if(_0x390a0f(0x16e)===process[_0x390a0f(0x16b)]){try{return require('./nx_key.linux-ppc64-gnu.node');}catch(_0x42b76d){n[_0x390a0f(0x130)](_0x42b76d);}try{return require(_0x390a0f(0x127));}catch(_0x4ab1df){n[_0x390a0f(0x130)](_0x4ab1df);}}else{if('s390x'===process[_0x390a0f(0x16b)]){try{return require(_0x390a0f(0x12c));}catch(_0x40c2d1){n[_0x390a0f(0x130)](_0x40c2d1);}try{return require(_0x390a0f(0x145));}catch(_0x2806b8){n[_0x390a0f(0x130)](_0x2806b8);}}else n[_0x390a0f(0x130)](Error(_0x390a0f(0x12a)+process[_0x390a0f(0x16b)]));}}}}}}else n['push'](Error(_0x390a0f(0x151)+process[_0x390a0f(0x143)]+',\x20architecture:\x20'+process[_0x390a0f(0x16b)]));}}}}}()))||process['env']['NAPI_RS_FORCE_WASI']){try{e=require(a1_0x2e027a(0x156));}catch(a1_0x46b154){process[a1_0x2e027a(0x164)][a1_0x2e027a(0x137)]&&console[a1_0x2e027a(0x16a)](a1_0x46b154);}if(!e)try{e=require(a1_0x2e027a(0x132));}catch(a1_0x59d022){process[a1_0x2e027a(0x164)][a1_0x2e027a(0x137)]&&console[a1_0x2e027a(0x16a)](a1_0x59d022);}}if(!e){if(n[a1_0x2e027a(0x15e)]>0x0)throw Error(a1_0x2e027a(0x142),{'cause':n});throw Error('Failed\x20to\x20load\x20native\x20binding');}module['exports'][a1_0x2e027a(0x13e)]=e['activateNxKey'],module['exports'][a1_0x2e027a(0x140)]=e[a1_0x2e027a(0x140)],module['exports'][a1_0x2e027a(0x15f)]=e[a1_0x2e027a(0x15f)],module[a1_0x2e027a(0x155)][a1_0x2e027a(0x122)]=e['getKeyInformation'],module[a1_0x2e027a(0x155)][a1_0x2e027a(0x128)]=e['getKeyInformationAsync'];
@@ -1 +1 @@
1
- import{instantiateNapiModuleSync as e,getDefaultContext as r,WASI as t}from"@napi-rs/wasm-runtime";import o from"./nx_key.wasm32-wasi.wasm?url";let s=new t({version:"preview1"}),i=r(),n=new WebAssembly.Memory({initial:4e3,maximum:65536,shared:!0}),{instance:a,module:_,napiModule:m}=e(await fetch(o).then(e=>e.arrayBuffer()),{context:i,asyncWorkPoolSize:4,wasi:s,onCreateWorker:()=>new Worker(new URL("./wasi-worker-browser.mjs",import.meta.url),{type:"module"}),overwriteImports:e=>(e.env={...e.env,...e.napi,...e.emnapi,memory:n},e),beforeInit({instance:e}){e.exports.__napi_register__NxKey_struct_0?.(),e.exports.__napi_register__FeaturePermission_1?.(),e.exports.__napi_register__activate_nx_key_2?.(),e.exports.__napi_register__get_key_information_3?.(),e.exports.__napi_register__get_key_information_async_4?.(),e.exports.__napi_register__assert_feature_permission_5?.()}});export const activateNxKey=m.exports.activateNxKey;export const assertFeaturePermission=m.exports.assertFeaturePermission;export const FeaturePermission=m.exports.FeaturePermission;export const getKeyInformation=m.exports.getKeyInformation;export const getKeyInformationAsync=m.exports.getKeyInformationAsync;
1
+ import{instantiateNapiModuleSync as e,getDefaultContext as r,WASI as t}from"@napi-rs/wasm-runtime";import o from"./nx_key.wasm32-wasi.wasm?url";let s=new t({version:"preview1"}),i=r(),n=new WebAssembly.Memory({initial:4e3,maximum:65536,shared:!0}),{instance:a,module:_,napiModule:m}=e(await fetch(o).then(e=>e.arrayBuffer()),{context:i,asyncWorkPoolSize:4,wasi:s,onCreateWorker:()=>new Worker(new URL("./wasi-worker-browser.mjs",import.meta.url),{type:"module"}),overwriteImports:e=>(e.env={...e.env,...e.napi,...e.emnapi,memory:n},e),beforeInit({instance:e}){var r;r=e,r.exports.__napi_register__NxKey_struct_0?.(),r.exports.__napi_register__FeaturePermission_1?.(),r.exports.__napi_register__activate_nx_key_2?.(),r.exports.__napi_register__get_key_information_3?.(),r.exports.__napi_register__get_key_information_async_4?.(),r.exports.__napi_register__assert_feature_permission_5?.()}});export const activateNxKey=m.exports.activateNxKey;export const assertFeaturePermission=m.exports.assertFeaturePermission;export const FeaturePermission=m.exports.FeaturePermission;export const getKeyInformation=m.exports.getKeyInformation;export const getKeyInformationAsync=m.exports.getKeyInformationAsync;
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/key",
3
- "version": "1.3.2",
3
+ "version": "2.0.0-rc.0",
4
4
  "description": "Package to provide the ability to activate and read licenses for Nx Powerpack.",
5
5
  "type": "commonjs",
6
6
  "main": "index.js",
@@ -57,14 +57,14 @@
57
57
  "ora": "^5.4.1"
58
58
  },
59
59
  "optionalDependencies": {
60
- "@nx/key-darwin-arm64": "1.3.2",
61
- "@nx/key-darwin-x64": "1.3.2",
62
- "@nx/key-linux-arm-gnueabihf": "1.3.2",
63
- "@nx/key-linux-arm64-gnu": "1.3.2",
64
- "@nx/key-linux-arm64-musl": "1.3.2",
65
- "@nx/key-linux-x64-gnu": "1.3.2",
66
- "@nx/key-linux-x64-musl": "1.3.2",
67
- "@nx/key-win32-arm64-msvc": "1.3.2",
68
- "@nx/key-win32-x64-msvc": "1.3.2"
60
+ "@nx/key-darwin-arm64": "2.0.0-rc.0",
61
+ "@nx/key-darwin-x64": "2.0.0-rc.0",
62
+ "@nx/key-linux-arm-gnueabihf": "2.0.0-rc.0",
63
+ "@nx/key-linux-arm64-gnu": "2.0.0-rc.0",
64
+ "@nx/key-linux-arm64-musl": "2.0.0-rc.0",
65
+ "@nx/key-linux-x64-gnu": "2.0.0-rc.0",
66
+ "@nx/key-linux-x64-musl": "2.0.0-rc.0",
67
+ "@nx/key-win32-arm64-msvc": "2.0.0-rc.0",
68
+ "@nx/key-win32-x64-msvc": "2.0.0-rc.0"
69
69
  }
70
70
  }
package/request.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function a3_0x6062(){const _0x192955=['361048PsMuKq','error','env','message','LicenseErrors.NotFound','./src/version','log','append','licenseKey','2322693enSqFV','__esModule','LicenseErrors.Forbidden','5933470VGPXvv','63WWKLku','argv','NX_MAJOR_VERSION','then','Authorization','requestLicense','7693740iBksUc','catch','exit','/nx-cloud/powerpack/licenses?nxVersion=','defineProperty','child','status','json','3372590JMWsGu','78038enaFCT','2619288SKzLCW','LicenseErrors.Unauthorized\x0a','text','3BQRpHw','4yKITlC','LicenseErrors.Expired'];a3_0x6062=function(){return _0x192955;};return a3_0x6062();}const a3_0x266ea4=a3_0x427b;(function(_0x43bf17,_0x310dd7){const _0xe9b50=a3_0x427b,_0x558c99=_0x43bf17();while(!![]){try{const _0x2e3545=-parseInt(_0xe9b50(0x207))/0x1*(parseInt(_0xe9b50(0x202))/0x2)+parseInt(_0xe9b50(0x206))/0x3*(-parseInt(_0xe9b50(0x203))/0x4)+parseInt(_0xe9b50(0x1f2))/0x5+parseInt(_0xe9b50(0x1f9))/0x6+parseInt(_0xe9b50(0x1f3))/0x7*(-parseInt(_0xe9b50(0x209))/0x8)+-parseInt(_0xe9b50(0x212))/0x9+-parseInt(_0xe9b50(0x201))/0xa;if(_0x2e3545===_0x310dd7)break;else _0x558c99['push'](_0x558c99['shift']());}catch(_0x329403){_0x558c99['push'](_0x558c99['shift']());}}}(a3_0x6062,0xa04bb));Object[a3_0x266ea4(0x1fd)](exports,a3_0x266ea4(0x213),{'value':!0x0}),exports[a3_0x266ea4(0x1f8)]=r;const e=require(a3_0x266ea4(0x20e));function r(_0x2195f5,_0x86b574,_0x1c3906,_0x2ebe20){const _0x3285cc=a3_0x266ea4;let _0x511534=new Headers();return _0x86b574&&_0x511534[_0x3285cc(0x210)]('Nx-Cloud-Id',_0x86b574),_0x1c3906&&_0x511534[_0x3285cc(0x210)](_0x3285cc(0x1f7),_0x1c3906),_0x2ebe20&&_0x511534[_0x3285cc(0x210)]('Nx-Cloud-Personal-Access-Token',_0x2ebe20),fetch(_0x2195f5+_0x3285cc(0x1fc)+e[_0x3285cc(0x1f5)],{'headers':_0x511534})[_0x3285cc(0x1f6)](async _0x26ddaa=>{const _0x350b00=_0x3285cc;if(0x194===_0x26ddaa[_0x350b00(0x1ff)])throw Error(_0x350b00(0x20d));if(0x192===_0x26ddaa[_0x350b00(0x1ff)])throw Error(_0x350b00(0x208));if(0x193===_0x26ddaa[_0x350b00(0x1ff)])throw Error(_0x350b00(0x1f1));if(0x191===_0x26ddaa['status'])throw Error(_0x350b00(0x204)+await _0x26ddaa[_0x350b00(0x205)]());if(_0x26ddaa[_0x350b00(0x1ff)]>=0x190)throw Error(''+await _0x26ddaa[_0x350b00(0x205)]());return _0x26ddaa[_0x350b00(0x200)]();})[_0x3285cc(0x1f6)](_0x170cfa=>_0x170cfa[_0x3285cc(0x211)]);}function a3_0x427b(_0x39be1c,_0x161090){const _0x6062fa=a3_0x6062();return a3_0x427b=function(_0x427b95,_0xd48f87){_0x427b95=_0x427b95-0x1f1;let _0x37f95d=_0x6062fa[_0x427b95];return _0x37f95d;},a3_0x427b(_0x39be1c,_0x161090);}if(a3_0x266ea4(0x1fe)===process[a3_0x266ea4(0x1f4)][0x2]){let {NX_CLOUD_ENDPOINT:e,NX_CLOUD_ID:s,NX_CLOUD_ACCESS_TOKEN:o,NX_CLOUD_PERSONAL_ACCESS_TOKEN:t}=process[a3_0x266ea4(0x20b)];r(e,s,o,t)[a3_0x266ea4(0x1f6)](_0x3513d9=>{const _0x5e588e=a3_0x266ea4;console[_0x5e588e(0x20f)](_0x3513d9),process[_0x5e588e(0x1fb)](0x0);})[a3_0x266ea4(0x1fa)](_0x2a09fc=>{const _0xb0c8ef=a3_0x266ea4;console[_0xb0c8ef(0x20a)](_0x2a09fc[_0xb0c8ef(0x20c)]),process[_0xb0c8ef(0x1fb)](0x1);});}
1
+ 'use strict';function a3_0x3f9f(){const _0x94ba63=['LicenseErrors.Expired','140368wZaMKk','/nx-cloud/powerpack/licenses?nxVersion=','child','NX_MAJOR_VERSION','157308IBZuPD','201zpiwvA','status','requestLicense','./src/version','119AejNuc','json','5kVcBeL','then','687636uiZPJh','23576QOAiKG','1045665fNdxov','__esModule','append','LicenseErrors.Unauthorized\x0a','env','LicenseErrors.NotFound','argv','exit','log','text','3962150McvCHf','catch','defineProperty','Authorization','LicenseErrors.Forbidden','4MPkYEk','14654871pIsxlG','error'];a3_0x3f9f=function(){return _0x94ba63;};return a3_0x3f9f();}const a3_0x258ef0=a3_0xefdf;function a3_0xefdf(_0x4f3c27,_0x3bbad0){const _0x3f9fa9=a3_0x3f9f();return a3_0xefdf=function(_0xefdf4,_0x4d9da1){_0xefdf4=_0xefdf4-0xe3;let _0x422fcf=_0x3f9fa9[_0xefdf4];return _0x422fcf;},a3_0xefdf(_0x4f3c27,_0x3bbad0);}(function(_0x3e69f5,_0x5a0213){const _0x5e051c=a3_0xefdf,_0x2a3844=_0x3e69f5();while(!![]){try{const _0x22f7bd=parseInt(_0x5e051c(0xe4))/0x1*(parseInt(_0x5e051c(0xec))/0x2)+parseInt(_0x5e051c(0xed))/0x3*(-parseInt(_0x5e051c(0xf6))/0x4)+parseInt(_0x5e051c(0xf3))/0x5*(-parseInt(_0x5e051c(0xf5))/0x6)+parseInt(_0x5e051c(0xf1))/0x7*(-parseInt(_0x5e051c(0xe8))/0x8)+-parseInt(_0x5e051c(0xf7))/0x9+-parseInt(_0x5e051c(0x101))/0xa+parseInt(_0x5e051c(0xe5))/0xb;if(_0x22f7bd===_0x5a0213)break;else _0x2a3844['push'](_0x2a3844['shift']());}catch(_0x218bf5){_0x2a3844['push'](_0x2a3844['shift']());}}}(a3_0x3f9f,0x4fc23));Object[a3_0x258ef0(0x103)](exports,a3_0x258ef0(0xf8),{'value':!0x0}),exports[a3_0x258ef0(0xef)]=r;const e=require(a3_0x258ef0(0xf0));function r(_0x4e8a14,_0x37dc9e,_0x21a11d,_0x3fd00a){const _0x5205e4=a3_0x258ef0;let _0x39fb93=new Headers();return _0x37dc9e&&_0x39fb93[_0x5205e4(0xf9)]('Nx-Cloud-Id',_0x37dc9e),_0x21a11d&&_0x39fb93[_0x5205e4(0xf9)](_0x5205e4(0x104),_0x21a11d),_0x3fd00a&&_0x39fb93[_0x5205e4(0xf9)]('Nx-Cloud-Personal-Access-Token',_0x3fd00a),fetch(_0x4e8a14+_0x5205e4(0xe9)+e[_0x5205e4(0xeb)],{'headers':_0x39fb93})[_0x5205e4(0xf4)](async _0x5ef5c3=>{const _0x30351a=_0x5205e4;if(0x194===_0x5ef5c3['status'])throw Error(_0x30351a(0xfc));if(0x192===_0x5ef5c3[_0x30351a(0xee)])throw Error(_0x30351a(0xe7));if(0x193===_0x5ef5c3['status'])throw Error(_0x30351a(0xe3));if(0x191===_0x5ef5c3[_0x30351a(0xee)])throw Error(_0x30351a(0xfa)+await _0x5ef5c3[_0x30351a(0x100)]());if(_0x5ef5c3[_0x30351a(0xee)]>=0x190)throw Error(''+await _0x5ef5c3[_0x30351a(0x100)]());return _0x5ef5c3[_0x30351a(0xf2)]();})[_0x5205e4(0xf4)](_0x333f00=>_0x333f00['licenseKey']);}if(a3_0x258ef0(0xea)===process[a3_0x258ef0(0xfd)][0x2]){let {NX_CLOUD_ENDPOINT:e,NX_CLOUD_ID:s,NX_CLOUD_ACCESS_TOKEN:o,NX_CLOUD_PERSONAL_ACCESS_TOKEN:t}=process[a3_0x258ef0(0xfb)];r(e,s,o,t)[a3_0x258ef0(0xf4)](_0x4c1d81=>{const _0x5adf94=a3_0x258ef0;console[_0x5adf94(0xff)](_0x4c1d81),process['exit'](0x0);})[a3_0x258ef0(0x102)](_0x3fc65b=>{const _0x1282f5=a3_0x258ef0;console[_0x1282f5(0xe6)](_0x3fc65b['message']),process[_0x1282f5(0xfe)](0x1);});}
@@ -1 +1 @@
1
- 'use strict';const a4_0x59874f=a4_0xc4f0;(function(_0x4429cb,_0x8ebead){const _0x454816=a4_0xc4f0,_0x17cff1=_0x4429cb();while(!![]){try{const _0x139968=-parseInt(_0x454816(0x136))/0x1+-parseInt(_0x454816(0x109))/0x2*(-parseInt(_0x454816(0x13b))/0x3)+parseInt(_0x454816(0xf5))/0x4*(parseInt(_0x454816(0x142))/0x5)+parseInt(_0x454816(0x12e))/0x6+parseInt(_0x454816(0x123))/0x7*(-parseInt(_0x454816(0xf4))/0x8)+-parseInt(_0x454816(0x105))/0x9*(-parseInt(_0x454816(0x13f))/0xa)+-parseInt(_0x454816(0x100))/0xb*(parseInt(_0x454816(0x128))/0xc);if(_0x139968===_0x8ebead)break;else _0x17cff1['push'](_0x17cff1['shift']());}catch(_0x29b762){_0x17cff1['push'](_0x17cff1['shift']());}}}(a4_0x2300,0x57681));Object['defineProperty'](exports,a4_0x59874f(0x106),{'value':!0x0}),exports[a4_0x59874f(0x141)]=u,exports[a4_0x59874f(0x116)]=l;const e=require('axios'),t=require(a4_0x59874f(0x119)),a=require(a4_0x59874f(0x107)),r=require(a4_0x59874f(0x108)),i=require(a4_0x59874f(0x110)),o=require(a4_0x59874f(0x103)),s=void 0x0!==process[a4_0x59874f(0xf7)]['NX_KEY_LOGGING'],n=e['default'][a4_0x59874f(0x121)]({'baseURL':process[a4_0x59874f(0xf7)][a4_0x59874f(0x11a)]||a4_0x59874f(0x12f)});async function u(_0x31ecf7,_0x27d5a3){const _0x5e7329=a4_0x59874f;if(_0x27d5a3)return(0x0,i[_0x5e7329(0x147)])(_0x31ecf7,_0x27d5a3);let _0x21b22d=await(0x0,i[_0x5e7329(0x13e)])(_0x31ecf7);if(_0x21b22d)return o[_0x5e7329(0x113)][_0x5e7329(0x14c)]({'title':_0x5e7329(0x11c)}),_0x21b22d;let {keyType:_0x4343a7}=await(0x0,a[_0x5e7329(0x10e)])({'type':'autocomplete','name':_0x5e7329(0x132),'message':_0x5e7329(0x129),'choices':[{'name':'Self-hosted\x20Cache','value':_0x5e7329(0x102)},{'name':_0x5e7329(0x137),'value':'powerpack'},{'name':_0x5e7329(0x13c),'value':null}]});if(_0x5e7329(0x101)===_0x4343a7){o[_0x5e7329(0x113)][_0x5e7329(0x10f)]({'title':_0x5e7329(0x14a)});let {key:_0x188c6b}=await(0x0,a[_0x5e7329(0x10e)])({'type':_0x5e7329(0x140),'name':_0x5e7329(0x10a),'message':_0x5e7329(0x144)});return(0x0,i[_0x5e7329(0x147)])(_0x31ecf7,_0x188c6b);}if(_0x5e7329(0x102)===_0x4343a7)return await c(_0x31ecf7);}async function l(_0x5f047b){const _0x63a228=a4_0x59874f;return await(0x0,i['getNxKeyInformationAsync'])(_0x5f047b)||((s&&o[_0x63a228(0x113)][_0x63a228(0x135)]({'title':'No\x20self-hosted\x20cache\x20key\x20found.\x20Starting\x20registration\x20process...'}),await d())?await c(_0x5f047b):(o['output'][_0x63a228(0x10f)]({'title':_0x63a228(0x111)}),null));}async function c(_0x2bff79){const _0x59ecb3=a4_0x59874f;try{let _0x2c00b0=await p(),_0x402aa5=await m(_0x2c00b0),_0x4b94d1=await y(_0x402aa5,_0x2c00b0[_0x59ecb3(0x13a)]);return o[_0x59ecb3(0x113)][_0x59ecb3(0x10f)]({'title':_0x59ecb3(0x138),'bodyLines':[_0x59ecb3(0xfd)+_0x4b94d1+'`\x20to\x20set\x20the\x20key\x20in\x20your\x20environment.']}),(0x0,i[_0x59ecb3(0x147)])(_0x2bff79,_0x4b94d1);}catch(_0x6c7b2e){let _0x3452d8=_0x6c7b2e instanceof Error?_0x6c7b2e[_0x59ecb3(0x120)]:String(_0x6c7b2e);return _0x3452d8&&o[_0x59ecb3(0x113)][_0x59ecb3(0x13d)]({'title':_0x59ecb3(0xfc)+_0x3452d8+'.','bodyLines':['Please\x20try\x20again\x20later\x20by\x20using\x20`nx\x20register`.']}),null;}}function a4_0xc4f0(_0x34d3b5,_0x4cc54f){const _0x2300c4=a4_0x2300();return a4_0xc4f0=function(_0xc4f0eb,_0x487dda){_0xc4f0eb=_0xc4f0eb-0xf2;let _0x1bec49=_0x2300c4[_0xc4f0eb];return _0x1bec49;},a4_0xc4f0(_0x34d3b5,_0x4cc54f);}async function p(){const _0x4e9ecf=a4_0x59874f;return await(0x0,a[_0x4e9ecf(0x10e)])([{'type':_0x4e9ecf(0x140),'name':_0x4e9ecf(0x114),'message':_0x4e9ecf(0x12b),'required':!0x0,'validate':_0x1c26e1=>_0x1c26e1['trim']()?!(_0x1c26e1['length']>0x40)||_0x4e9ecf(0x122):_0x4e9ecf(0x10c)},{'type':'input','name':'lastName','message':_0x4e9ecf(0xfe),'required':!0x0,'validate':_0x4fd09e=>_0x4fd09e[_0x4e9ecf(0x117)]()?!(_0x4fd09e[_0x4e9ecf(0x10b)]>0x40)||_0x4e9ecf(0xf3):_0x4e9ecf(0x14b)},{'type':_0x4e9ecf(0x140),'name':'email','message':_0x4e9ecf(0x14d),'required':!0x0,'validate':_0x46701e=>_0x46701e[_0x4e9ecf(0x117)]()?!!/^[^\s@]+@[^\s@]+\.[^\s@]+$/[_0x4e9ecf(0x148)](_0x46701e)||'Please\x20enter\x20a\x20valid\x20email\x20address.':'Contact\x20email\x20is\x20required.'},{'type':'input','name':_0x4e9ecf(0xff),'message':'Please\x20enter\x20your\x20organization\x20name:','required':!0x0,'validate':_0x3d4091=>_0x3d4091[_0x4e9ecf(0x117)]()?!(_0x3d4091[_0x4e9ecf(0x10b)]>0x40)||_0x4e9ecf(0x125):_0x4e9ecf(0x12a)},{'type':_0x4e9ecf(0x10d),'name':'seatCount','message':_0x4e9ecf(0x143),'required':!0x0,'choices':[{'name':_0x4e9ecf(0x12c),'value':0x1},{'name':'11-50','value':0xb},{'name':_0x4e9ecf(0x124),'value':0x33},{'name':_0x4e9ecf(0x11e),'value':0x65}],'result'(_0x1c0925){return this['map']([_0x1c0925])[_0x1c0925];}}]);}async function m(_0x49121a){const _0x1f34ed=a4_0x59874f;try{return(await n['post'](_0x1f34ed(0x130),_0x49121a))[_0x1f34ed(0x118)][_0x1f34ed(0x149)];}catch(_0x1a5c9c){if(e[_0x1f34ed(0x131)][_0x1f34ed(0x145)](_0x1a5c9c)&&_0x1a5c9c[_0x1f34ed(0x12d)]?.['status']===0x194)throw Error(_0x1a5c9c[_0x1f34ed(0x12d)][_0x1f34ed(0x118)]||_0x1f34ed(0x134));let _0x29b2da=_0x1a5c9c instanceof Error?_0x1a5c9c[_0x1f34ed(0x120)]:String(_0x1a5c9c);throw s&&o[_0x1f34ed(0x113)]['error']({'title':_0x29b2da}),Error(_0x1f34ed(0xf6));}}async function y(_0x14601e,_0x128bb4){const _0x7a868e=a4_0x59874f;o['output'][_0x7a868e(0x10f)]({'title':'Sent\x20verification\x20email\x20to\x20'+_0x128bb4+',\x20please\x20check\x20your\x20email.'});let _0x380f88=r(_0x7a868e(0xf9))[_0x7a868e(0x146)](),_0x1bed2a=0x0;for(;_0x1bed2a<0x3c;)try{let _0x4f2e8f=await n[_0x7a868e(0x112)](_0x7a868e(0x133),{'params':{'requestId':_0x14601e}});if('VERIFIED'===_0x4f2e8f[_0x7a868e(0x118)][_0x7a868e(0x11d)]&&_0x4f2e8f[_0x7a868e(0x118)][_0x7a868e(0xf8)])return _0x380f88[_0x7a868e(0x104)](_0x7a868e(0xfb)),_0x4f2e8f[_0x7a868e(0x118)][_0x7a868e(0xf8)];_0x1bed2a++,await new Promise(_0x1c6aaa=>setTimeout(_0x1c6aaa,0x3a98));}catch(_0x281dc4){if(e[_0x7a868e(0x131)][_0x7a868e(0x145)](_0x281dc4)){if(_0x281dc4[_0x7a868e(0x12d)]?.['status']===0x194)throw _0x380f88[_0x7a868e(0x126)](_0x7a868e(0x11f)),Error(''+(_0x281dc4['response']?.[_0x7a868e(0x118)]||_0x7a868e(0x11b)));throw _0x380f88['fail']('Activation\x20failed.'),Error(''+(_0x281dc4[_0x7a868e(0x12d)]?.['data']||_0x281dc4[_0x7a868e(0x120)]));}_0x380f88['fail'](_0x7a868e(0x11f));let _0x4b656d=_0x281dc4 instanceof Error?_0x281dc4[_0x7a868e(0x120)]:String(_0x281dc4);throw Error(''+_0x4b656d);}throw _0x380f88[_0x7a868e(0x126)](_0x7a868e(0xfa)),Error('Activation\x20process\x20timed\x20out\x20after\x20900\x20seconds');}async function d(){const _0x2456c5=a4_0x59874f;return o['output'][_0x2456c5(0x10f)]({'title':'No\x20self-hosted\x20cache\x20key\x20found','bodyLines':[_0x2456c5(0x127),_0x2456c5(0x139)]}),(await(0x0,a[_0x2456c5(0x10e)])({'type':'confirm','initial':!0x0,'name':'allowRegistration','message':_0x2456c5(0x115)}))[_0x2456c5(0xf2)];}function a4_0x2300(){const _0xae2be9=['note','302891pZrLeB','Powerpack','Successfully\x20activated\x20Nx\x20key!','This\x20is\x20an\x20automated\x20process\x20that\x20takes\x20just\x20a\x20moment\x20to\x20complete.','email','3dZeZgI','No,\x20thank\x20you.','error','getNxKeyInformationAsync','4072870jAemOK','input','registerNxKey','2418835WtggoO','Please\x20enter\x20the\x20number\x20of\x20seats:','Enter\x20your\x20Powerpack\x20key','isAxiosError','start','activateNxKey','test','requestId','If\x20you\x20have\x20not\x20purchased\x20a\x20Powerpack\x20license,\x20please\x20visit\x20https://cloud.nx.app/powerpack\x20to\x20purchase\x20one.','Last\x20name\x20cannot\x20be\x20empty.','success','Please\x20enter\x20your\x20email:','allowRegistration','Last\x20name\x20must\x20be\x2064\x20characters\x20or\x20less.','8RAMMRL','4VhBWWy','Failed\x20to\x20initiate\x20self-hosted\x20cache\x20key\x20activation,\x20please\x20try\x20again\x20later.','env','activationKey','Waiting\x20for\x20verification\x20to\x20complete...','Activation\x20timed\x20out.','Activation\x20successful!','Error\x20during\x20activation\x20process:\x20','The\x20key\x20is\x20saved\x20to\x20disk,\x20but\x20you\x20can\x20also\x20use\x20`NX_KEY=','Please\x20enter\x20your\x20last\x20name:','organizationName','143363RhgFuS','powerpack','selfHosted','./output','succeed','9LPUMIZ','__esModule','enquirer','ora','295866RydNIR','key','length','First\x20name\x20cannot\x20be\x20empty.','select','prompt','log','../index','Skipped.\x20You\x20can\x20register\x20for\x20a\x20free\x20cache\x20key\x20later\x20using\x20`nx\x20register`.','get','output','firstName','Would\x20you\x20like\x20to\x20register\x20for\x20a\x20key\x20now?','autoRegisterNxKey','trim','data','axios-retry','NX_CLOUD_API','Activation\x20request\x20not\x20found','Nx\x20key\x20already\x20registered','status','100+','Activation\x20failed.','message','create','First\x20name\x20must\x20be\x2064\x20characters\x20or\x20less.','1792483eqEKEE','51-100','Organization\x20name\x20must\x20be\x2064\x20characters\x20or\x20less.','fail','To\x20use\x20self-hosted\x20caching\x20you\x20need\x20to\x20register\x20for\x20a\x20free\x20cache\x20key.','144QVRNPq','What\x20type\x20of\x20key\x20would\x20you\x20like\x20to\x20register\x20for?','Organization\x20name\x20cannot\x20be\x20empty.','Please\x20enter\x20your\x20first\x20name:','1-10','response','206316CaVuOb','https://cloud.nx.app','nx-cloud/self-hosted-cache/activate','default','keyType','/nx-cloud/self-hosted-cache/activate','Activation\x20endpoint\x20not\x20found'];a4_0x2300=function(){return _0xae2be9;};return a4_0x2300();}(0x0,t[a4_0x59874f(0x131)])(n,{'retries':0x5,'retryDelay':t[a4_0x59874f(0x131)]['exponentialDelay']});
1
+ 'use strict';const a4_0x39d94d=a4_0x128a;(function(_0x55d68f,_0x46cd4c){const _0x397a52=a4_0x128a,_0x43e916=_0x55d68f();while(!![]){try{const _0x5c4149=parseInt(_0x397a52(0xdc))/0x1*(parseInt(_0x397a52(0xf0))/0x2)+parseInt(_0x397a52(0xfc))/0x3*(-parseInt(_0x397a52(0xd1))/0x4)+parseInt(_0x397a52(0xb8))/0x5+-parseInt(_0x397a52(0xc0))/0x6*(-parseInt(_0x397a52(0xc6))/0x7)+parseInt(_0x397a52(0xf3))/0x8+-parseInt(_0x397a52(0xd2))/0x9*(-parseInt(_0x397a52(0x103))/0xa)+parseInt(_0x397a52(0xcc))/0xb*(-parseInt(_0x397a52(0xff))/0xc);if(_0x5c4149===_0x46cd4c)break;else _0x43e916['push'](_0x43e916['shift']());}catch(_0x156ff1){_0x43e916['push'](_0x43e916['shift']());}}}(a4_0x5883,0xb8025));function a4_0x128a(_0x136684,_0x4ceb26){const _0x588348=a4_0x5883();return a4_0x128a=function(_0x128ae6,_0x29563c){_0x128ae6=_0x128ae6-0xad;let _0x5a8055=_0x588348[_0x128ae6];return _0x5a8055;},a4_0x128a(_0x136684,_0x4ceb26);}Object[a4_0x39d94d(0xfb)](exports,'__esModule',{'value':!0x0}),exports[a4_0x39d94d(0x106)]=u,exports['autoRegisterNxKey']=l;const e=require(a4_0x39d94d(0xce)),t=require('axios-retry'),a=require('enquirer'),r=require(a4_0x39d94d(0xd5)),i=require(a4_0x39d94d(0xcf)),o=require(a4_0x39d94d(0xad)),s=void 0x0!==process[a4_0x39d94d(0x105)]['NX_KEY_LOGGING'],n=e['default'][a4_0x39d94d(0xe7)]({'baseURL':process[a4_0x39d94d(0x105)][a4_0x39d94d(0xee)]||a4_0x39d94d(0xbb)});async function u(_0x5c870a,_0x3c60ca){const _0x37a251=a4_0x39d94d;if(_0x3c60ca)return(0x0,i[_0x37a251(0xed)])(_0x5c870a,_0x3c60ca);let _0x4e2d38=await(0x0,i[_0x37a251(0xc3)])(_0x5c870a);if(_0x4e2d38)return o[_0x37a251(0xd8)][_0x37a251(0xf5)]({'title':_0x37a251(0xe5)}),_0x4e2d38;let {keyType:_0x37a95c}=await(0x0,a['prompt'])({'type':'autocomplete','name':'keyType','message':'What\x20type\x20of\x20key\x20would\x20you\x20like\x20to\x20register\x20for?','choices':[{'name':'Self-hosted\x20Cache','value':_0x37a251(0xc7)},{'name':_0x37a251(0x104),'value':_0x37a251(0xbc)},{'name':'No,\x20thank\x20you.','value':null}]});if(_0x37a251(0xbc)===_0x37a95c){o['output'][_0x37a251(0xf7)]({'title':_0x37a251(0xec)});let {key:_0x593e4a}=await(0x0,a['prompt'])({'type':_0x37a251(0xdb),'name':_0x37a251(0xb5),'message':_0x37a251(0x107)});return(0x0,i[_0x37a251(0xed)])(_0x5c870a,_0x593e4a);}if(_0x37a251(0xc7)===_0x37a95c)return await c(_0x5c870a);}async function l(_0x13019c){const _0x305b4d=a4_0x39d94d;let _0x5545=await(0x0,i[_0x305b4d(0xc3)])(_0x13019c);return _0x5545||((s&&o[_0x305b4d(0xd8)]['note']({'title':_0x305b4d(0xba)}),await d())?await c(_0x13019c):(o[_0x305b4d(0xd8)][_0x305b4d(0xf7)]({'title':'Skipped.\x20You\x20can\x20register\x20for\x20a\x20free\x20cache\x20key\x20later\x20using\x20`nx\x20register`.'}),null));}function a4_0x5883(){const _0x36594f=['2YQVNjO','Waiting\x20for\x20verification\x20to\x20complete...','Please\x20enter\x20the\x20number\x20of\x20seats:','11954304FeUEOd','Error\x20during\x20activation\x20process:\x20','success','Activation\x20failed.','log','/nx-cloud/self-hosted-cache/activate','Last\x20name\x20cannot\x20be\x20empty.','51-100','defineProperty','1929fpWNMn','select','100+','12NANJST','Activation\x20process\x20timed\x20out\x20after\x20900\x20seconds','Failed\x20to\x20initiate\x20self-hosted\x20cache\x20key\x20activation,\x20please\x20try\x20again\x20later.','nx-cloud/self-hosted-cache/activate','267550UHyECl','Powerpack','env','registerNxKey','Enter\x20your\x20Powerpack\x20key','./output','VERIFIED','Please\x20enter\x20your\x20email:','Activation\x20successful!','lastName','1-10','To\x20use\x20self-hosted\x20caching\x20you\x20need\x20to\x20register\x20for\x20a\x20free\x20cache\x20key.','allowRegistration','key','prompt','`\x20to\x20set\x20the\x20key\x20in\x20your\x20environment.','6422220NzoIcW','Please\x20enter\x20your\x20organization\x20name:','No\x20self-hosted\x20cache\x20key\x20found.\x20Starting\x20registration\x20process...','https://cloud.nx.app','powerpack','organizationName','Activation\x20endpoint\x20not\x20found','message','150582zuUeZC','length','First\x20name\x20must\x20be\x2064\x20characters\x20or\x20less.','getNxKeyInformationAsync','get','exponentialDelay','21FuDqEW','selfHosted','Please\x20try\x20again\x20later\x20by\x20using\x20`nx\x20register`.','data','Successfully\x20activated\x20Nx\x20key!','confirm','19242652PzhBPb','trim','axios','../index','test','7108AhFABr','198AFEuSm','Please\x20enter\x20your\x20first\x20name:','Organization\x20name\x20must\x20be\x2064\x20characters\x20or\x20less.','ora','Activation\x20request\x20not\x20found','response','output','default','No\x20self-hosted\x20cache\x20key\x20found','input','203011zFlutb','11-50','Please\x20enter\x20a\x20valid\x20email\x20address.','This\x20is\x20an\x20automated\x20process\x20that\x20takes\x20just\x20a\x20moment\x20to\x20complete.','error','isAxiosError','First\x20name\x20cannot\x20be\x20empty.','succeed','Contact\x20email\x20is\x20required.','Nx\x20key\x20already\x20registered','Activation\x20timed\x20out.','create','firstName','Organization\x20name\x20cannot\x20be\x20empty.','status','fail','If\x20you\x20have\x20not\x20purchased\x20a\x20Powerpack\x20license,\x20please\x20visit\x20https://cloud.nx.app/powerpack\x20to\x20purchase\x20one.','activateNxKey','NX_CLOUD_API','activationKey'];a4_0x5883=function(){return _0x36594f;};return a4_0x5883();}async function c(_0x30ab3a){const _0x4bf053=a4_0x39d94d;try{let _0x5344b3=await p(),_0x4dfe46=await m(_0x5344b3),_0x508b9c=await y(_0x4dfe46,_0x5344b3['email']);return o[_0x4bf053(0xd8)][_0x4bf053(0xf7)]({'title':_0x4bf053(0xca),'bodyLines':['The\x20key\x20is\x20saved\x20to\x20disk,\x20but\x20you\x20can\x20also\x20use\x20`NX_KEY='+_0x508b9c+_0x4bf053(0xb7)]}),(0x0,i[_0x4bf053(0xed)])(_0x30ab3a,_0x508b9c);}catch(_0x4395e9){let _0x17d1a3=_0x4395e9 instanceof Error?_0x4395e9[_0x4bf053(0xbf)]:String(_0x4395e9);return _0x17d1a3&&o[_0x4bf053(0xd8)][_0x4bf053(0xe0)]({'title':_0x4bf053(0xf4)+_0x17d1a3+'.','bodyLines':[_0x4bf053(0xc8)]}),null;}}async function p(){const _0x34f1f6=a4_0x39d94d;return await(0x0,a['prompt'])([{'type':_0x34f1f6(0xdb),'name':_0x34f1f6(0xe8),'message':_0x34f1f6(0xd3),'required':!0x0,'validate':_0x570436=>_0x570436[_0x34f1f6(0xcd)]()?!(_0x570436[_0x34f1f6(0xc1)]>0x40)||_0x34f1f6(0xc2):_0x34f1f6(0xe2)},{'type':_0x34f1f6(0xdb),'name':_0x34f1f6(0xb1),'message':'Please\x20enter\x20your\x20last\x20name:','required':!0x0,'validate':_0x36f19a=>_0x36f19a['trim']()?!(_0x36f19a[_0x34f1f6(0xc1)]>0x40)||'Last\x20name\x20must\x20be\x2064\x20characters\x20or\x20less.':_0x34f1f6(0xf9)},{'type':_0x34f1f6(0xdb),'name':'email','message':_0x34f1f6(0xaf),'required':!0x0,'validate':_0x26970b=>_0x26970b['trim']()?!!/^[^\s@]+@[^\s@]+\.[^\s@]+$/[_0x34f1f6(0xd0)](_0x26970b)||_0x34f1f6(0xde):_0x34f1f6(0xe4)},{'type':'input','name':_0x34f1f6(0xbd),'message':_0x34f1f6(0xb9),'required':!0x0,'validate':_0x4a77ec=>_0x4a77ec[_0x34f1f6(0xcd)]()?!(_0x4a77ec[_0x34f1f6(0xc1)]>0x40)||_0x34f1f6(0xd4):_0x34f1f6(0xe9)},{'type':_0x34f1f6(0xfd),'name':'seatCount','message':_0x34f1f6(0xf2),'required':!0x0,'choices':[{'name':_0x34f1f6(0xb2),'value':0x1},{'name':_0x34f1f6(0xdd),'value':0xb},{'name':_0x34f1f6(0xfa),'value':0x33},{'name':_0x34f1f6(0xfe),'value':0x65}],'result'(_0x40301e){return this['map']([_0x40301e])[_0x40301e];}}]);}async function m(_0x15200f){const _0x385a4d=a4_0x39d94d;try{return(await n['post'](_0x385a4d(0x102),_0x15200f))['data']['requestId'];}catch(_0x475d87){if(e[_0x385a4d(0xd9)][_0x385a4d(0xe1)](_0x475d87)&&_0x475d87[_0x385a4d(0xd7)]?.[_0x385a4d(0xea)]===0x194)throw Error(_0x475d87[_0x385a4d(0xd7)][_0x385a4d(0xc9)]||_0x385a4d(0xbe));let _0x1590d8=_0x475d87 instanceof Error?_0x475d87[_0x385a4d(0xbf)]:String(_0x475d87);throw s&&o[_0x385a4d(0xd8)]['error']({'title':_0x1590d8}),Error(_0x385a4d(0x101));}}async function y(_0x4726ec,_0x1eabd4){const _0x26b55c=a4_0x39d94d;o[_0x26b55c(0xd8)]['log']({'title':'Sent\x20verification\x20email\x20to\x20'+_0x1eabd4+',\x20please\x20check\x20your\x20email.'});let _0x394205=r(_0x26b55c(0xf1))['start'](),_0x53a2c1=0x0;for(;_0x53a2c1<0x3c;)try{let _0x429514=await n[_0x26b55c(0xc4)](_0x26b55c(0xf8),{'params':{'requestId':_0x4726ec}});if(_0x26b55c(0xae)===_0x429514['data'][_0x26b55c(0xea)]&&_0x429514[_0x26b55c(0xc9)][_0x26b55c(0xef)])return _0x394205[_0x26b55c(0xe3)](_0x26b55c(0xb0)),_0x429514['data'][_0x26b55c(0xef)];_0x53a2c1++,await new Promise(_0x2e0232=>setTimeout(_0x2e0232,0x3a98));}catch(_0x4e4329){if(e['default'][_0x26b55c(0xe1)](_0x4e4329)){if(_0x4e4329[_0x26b55c(0xd7)]?.[_0x26b55c(0xea)]===0x194)throw _0x394205[_0x26b55c(0xeb)](_0x26b55c(0xf6)),Error(''+(_0x4e4329['response']?.[_0x26b55c(0xc9)]||_0x26b55c(0xd6)));throw _0x394205['fail'](_0x26b55c(0xf6)),Error(''+(_0x4e4329[_0x26b55c(0xd7)]?.[_0x26b55c(0xc9)]||_0x4e4329[_0x26b55c(0xbf)]));}_0x394205[_0x26b55c(0xeb)](_0x26b55c(0xf6));let _0x37a93b=_0x4e4329 instanceof Error?_0x4e4329['message']:String(_0x4e4329);throw Error(''+_0x37a93b);}throw _0x394205[_0x26b55c(0xeb)](_0x26b55c(0xe6)),Error(_0x26b55c(0x100));}async function d(){const _0x7a0a43=a4_0x39d94d;return o[_0x7a0a43(0xd8)][_0x7a0a43(0xf7)]({'title':_0x7a0a43(0xda),'bodyLines':[_0x7a0a43(0xb3),_0x7a0a43(0xdf)]}),(await(0x0,a[_0x7a0a43(0xb6)])({'type':_0x7a0a43(0xcb),'initial':!0x0,'name':_0x7a0a43(0xb4),'message':'Would\x20you\x20like\x20to\x20register\x20for\x20a\x20key\x20now?'}))[_0x7a0a43(0xb4)];}(0x0,t['default'])(n,{'retries':0x5,'retryDelay':t[a4_0x39d94d(0xd9)][a4_0x39d94d(0xc5)]});
package/src/output.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function a5_0x226b(){const _0x7f5c9f=['6fOvWbk','23454hQcazQ','chalk','2934526wKtsXB','red','writeOutputTitle','addNewline','4054VRYezb','10215yOBKHj','defineProperty','cliName','404xKVVhs','success','10PFurHy','write','2xyfEys','writeToStdOut','output','EOL','green','4928803DzzpXk','12DAXYcM','applyNxPrefix','inverse','note','1768qmVsMX','error','9847799xESLDA','cyan','__esModule','reset','bold','2052625MKPwMH','writeOptionalOutputBody'];a5_0x226b=function(){return _0x7f5c9f;};return a5_0x226b();}const a5_0x520d7d=a5_0x52cd;function a5_0x52cd(_0x38a782,_0x4fbfdd){const _0x226bea=a5_0x226b();return a5_0x52cd=function(_0x52cdec,_0x4ced70){_0x52cdec=_0x52cdec-0x1a5;let _0xfb8602=_0x226bea[_0x52cdec];return _0xfb8602;},a5_0x52cd(_0x38a782,_0x4fbfdd);}(function(_0x143315,_0x5e057f){const _0x2327a5=a5_0x52cd,_0x2fe17e=_0x143315();while(!![]){try{const _0x2c697b=parseInt(_0x2327a5(0x1a6))/0x1*(-parseInt(_0x2327a5(0x1ae))/0x2)+parseInt(_0x2327a5(0x1a7))/0x3*(parseInt(_0x2327a5(0x1aa))/0x4)+-parseInt(_0x2327a5(0x1bf))/0x5+-parseInt(_0x2327a5(0x1c1))/0x6*(parseInt(_0x2327a5(0x1c4))/0x7)+-parseInt(_0x2327a5(0x1b8))/0x8*(-parseInt(_0x2327a5(0x1c2))/0x9)+parseInt(_0x2327a5(0x1ac))/0xa*(-parseInt(_0x2327a5(0x1b3))/0xb)+parseInt(_0x2327a5(0x1b4))/0xc*(parseInt(_0x2327a5(0x1ba))/0xd);if(_0x2c697b===_0x5e057f)break;else _0x2fe17e['push'](_0x2fe17e['shift']());}catch(_0x49441a){_0x2fe17e['push'](_0x2fe17e['shift']());}}}(a5_0x226b,0x608dc));Object[a5_0x520d7d(0x1a8)](exports,a5_0x520d7d(0x1bc),{'value':!0x0}),exports[a5_0x520d7d(0x1b0)]=void 0x0;const t=require(a5_0x520d7d(0x1c3)),e=require('os');exports['output']=new class{[a5_0x520d7d(0x1a9)]='NX';[a5_0x520d7d(0x1af)](_0x26c0d9){const _0x2b3cb0=a5_0x520d7d;process['stdout'][_0x2b3cb0(0x1ad)](_0x26c0d9);}[a5_0x520d7d(0x1c6)]({color:_0x1d0660,title:_0x271a8c}){this['writeToStdOut'](''+this['applyNxPrefix'](_0x1d0660,_0x271a8c)+e['EOL']);}[a5_0x520d7d(0x1c0)](_0xaf2619){const _0x48f997=a5_0x520d7d;_0xaf2619&&(this[_0x48f997(0x1a5)](),_0xaf2619['forEach'](_0x2e9329=>this[_0x48f997(0x1af)](''+_0x2e9329+e[_0x48f997(0x1b1)])));}[a5_0x520d7d(0x1b5)](_0x55002a='cyan',_0x4f7ae5){const _0xa0a168=a5_0x520d7d;let _0x16c7ce=t[_0xa0a168(0x1bd)][_0xa0a168(0x1b6)][_0xa0a168(0x1be)][_0x55002a]('\x20'+this[_0xa0a168(0x1a9)]+'\x20');return _0x16c7ce+'\x20\x20'+_0x4f7ae5;}[a5_0x520d7d(0x1a5)](){this['writeToStdOut'](e['EOL']);}[a5_0x520d7d(0x1b9)]({title:_0x287466,bodyLines:_0x1d782f}){const _0x3abc83=a5_0x520d7d;this[_0x3abc83(0x1a5)](),this[_0x3abc83(0x1c6)]({'color':_0x3abc83(0x1c5),'title':t[_0x3abc83(0x1c5)](_0x287466)}),this['writeOptionalOutputBody'](_0x1d782f),this[_0x3abc83(0x1a5)]();}[a5_0x520d7d(0x1b7)]({title:_0x10845c,bodyLines:_0x517d2f}){const _0xfab3e1=a5_0x520d7d;this[_0xfab3e1(0x1a5)](),this[_0xfab3e1(0x1c6)]({'color':'cyan','title':t['cyan'](_0x10845c)}),this[_0xfab3e1(0x1c0)](_0x517d2f),this[_0xfab3e1(0x1a5)]();}['log']({title:_0x54a0eb,bodyLines:_0x4d4382}){const _0x3ccd6d=a5_0x520d7d;this[_0x3ccd6d(0x1a5)](),this[_0x3ccd6d(0x1c6)]({'color':_0x3ccd6d(0x1bb),'title':_0x54a0eb}),this[_0x3ccd6d(0x1c0)](_0x4d4382),this[_0x3ccd6d(0x1a5)]();}[a5_0x520d7d(0x1ab)]({title:_0x3027f6,bodyLines:_0x30c0ac}){const _0xb60638=a5_0x520d7d;this[_0xb60638(0x1a5)](),this[_0xb60638(0x1c6)]({'color':_0xb60638(0x1b2),'title':t[_0xb60638(0x1b2)](_0x3027f6)}),this[_0xb60638(0x1c0)](_0x30c0ac),this[_0xb60638(0x1a5)]();}}();
1
+ 'use strict';const a5_0x1b99c8=a5_0xfdae;(function(_0x47544f,_0xd6e5bb){const _0x104d6c=a5_0xfdae,_0x473c8f=_0x47544f();while(!![]){try{const _0x42ae05=parseInt(_0x104d6c(0x138))/0x1*(parseInt(_0x104d6c(0x123))/0x2)+-parseInt(_0x104d6c(0x12d))/0x3*(parseInt(_0x104d6c(0x12a))/0x4)+parseInt(_0x104d6c(0x12b))/0x5*(parseInt(_0x104d6c(0x11d))/0x6)+parseInt(_0x104d6c(0x134))/0x7*(parseInt(_0x104d6c(0x126))/0x8)+parseInt(_0x104d6c(0x12c))/0x9+-parseInt(_0x104d6c(0x137))/0xa*(-parseInt(_0x104d6c(0x125))/0xb)+-parseInt(_0x104d6c(0x129))/0xc*(parseInt(_0x104d6c(0x122))/0xd);if(_0x42ae05===_0xd6e5bb)break;else _0x473c8f['push'](_0x473c8f['shift']());}catch(_0x3610a7){_0x473c8f['push'](_0x473c8f['shift']());}}}(a5_0x27b1,0x4e51a));function a5_0x27b1(){const _0x96182d=['63089MGUxRx','112116TsGpes','writeOptionalOutputBody','11UtBiTY','8dSNRMp','output','addNewline','1692uiyVpT','1107416ZAYsQn','5uJeCtU','4877829IFasAe','6uElLrW','green','success','EOL','stdout','write','cliName','2427530GwMRWj','inverse','writeToStdOut','1359670RxIXEH','5cGVSQn','defineProperty','bold','cyan','chalk','red','applyNxPrefix','log','1522482UQJsFw','writeOutputTitle','reset','note','__esModule'];a5_0x27b1=function(){return _0x96182d;};return a5_0x27b1();}function a5_0xfdae(_0x572935,_0x52a56b){const _0x27b1c4=a5_0x27b1();return a5_0xfdae=function(_0xfdaee2,_0x32adde){_0xfdaee2=_0xfdaee2-0x11b;let _0x4aac8d=_0x27b1c4[_0xfdaee2];return _0x4aac8d;},a5_0xfdae(_0x572935,_0x52a56b);}Object[a5_0x1b99c8(0x139)](exports,a5_0x1b99c8(0x121),{'value':!0x0}),exports[a5_0x1b99c8(0x127)]=void 0x0;const t=require(a5_0x1b99c8(0x13c)),e=require('os');exports['output']=new class{[a5_0x1b99c8(0x133)]='NX';['writeToStdOut'](_0xee484a){const _0x42292f=a5_0x1b99c8;process[_0x42292f(0x131)][_0x42292f(0x132)](_0xee484a);}[a5_0x1b99c8(0x11e)]({color:_0x35930f,title:_0x3bf5cb}){const _0x56b37a=a5_0x1b99c8;this[_0x56b37a(0x136)](''+this[_0x56b37a(0x11b)](_0x35930f,_0x3bf5cb)+e['EOL']);}[a5_0x1b99c8(0x124)](_0x2bbfc3){_0x2bbfc3&&(this['addNewline'](),_0x2bbfc3['forEach'](_0x244d75=>this['writeToStdOut'](''+_0x244d75+e['EOL'])));}[a5_0x1b99c8(0x11b)](_0x58fbef=a5_0x1b99c8(0x13b),_0x29cdab){const _0x1408fb=a5_0x1b99c8;let _0x352b3f=t[_0x1408fb(0x11f)][_0x1408fb(0x135)][_0x1408fb(0x13a)][_0x58fbef]('\x20'+this[_0x1408fb(0x133)]+'\x20');return _0x352b3f+'\x20\x20'+_0x29cdab;}[a5_0x1b99c8(0x128)](){const _0x4a6cfd=a5_0x1b99c8;this[_0x4a6cfd(0x136)](e[_0x4a6cfd(0x130)]);}['error']({title:_0x32642c,bodyLines:_0x5af589}){const _0x422b1b=a5_0x1b99c8;this[_0x422b1b(0x128)](),this['writeOutputTitle']({'color':_0x422b1b(0x13d),'title':t[_0x422b1b(0x13d)](_0x32642c)}),this['writeOptionalOutputBody'](_0x5af589),this[_0x422b1b(0x128)]();}[a5_0x1b99c8(0x120)]({title:_0x1754a2,bodyLines:_0x42c6bf}){const _0x4dc8f9=a5_0x1b99c8;this[_0x4dc8f9(0x128)](),this[_0x4dc8f9(0x11e)]({'color':'cyan','title':t[_0x4dc8f9(0x13b)](_0x1754a2)}),this[_0x4dc8f9(0x124)](_0x42c6bf),this[_0x4dc8f9(0x128)]();}[a5_0x1b99c8(0x11c)]({title:_0x1f74b5,bodyLines:_0x5dd41e}){const _0x5dc8d0=a5_0x1b99c8;this[_0x5dc8d0(0x128)](),this[_0x5dc8d0(0x11e)]({'color':_0x5dc8d0(0x13b),'title':_0x1f74b5}),this['writeOptionalOutputBody'](_0x5dd41e),this[_0x5dc8d0(0x128)]();}[a5_0x1b99c8(0x12f)]({title:_0x1f4be6,bodyLines:_0x140391}){const _0x1343bf=a5_0x1b99c8;this[_0x1343bf(0x128)](),this[_0x1343bf(0x11e)]({'color':_0x1343bf(0x12e),'title':t[_0x1343bf(0x12e)](_0x1f4be6)}),this[_0x1343bf(0x124)](_0x140391),this[_0x1343bf(0x128)]();}}();
package/src/version.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function a6_0x4112(_0x146d23,_0x30400a){const _0x14685d=a6_0x1468();return a6_0x4112=function(_0x41123c,_0x50ec72){_0x41123c=_0x41123c-0x90;let _0x109ba7=_0x14685d[_0x41123c];return _0x109ba7;},a6_0x4112(_0x146d23,_0x30400a);}const a6_0x4c6c94=a6_0x4112;(function(_0x3b5d54,_0x5ef8db){const _0x53e79d=a6_0x4112,_0x2aad0c=_0x3b5d54();while(!![]){try{const _0x2c6e11=-parseInt(_0x53e79d(0x94))/0x1*(-parseInt(_0x53e79d(0x97))/0x2)+parseInt(_0x53e79d(0x99))/0x3+parseInt(_0x53e79d(0x9a))/0x4*(parseInt(_0x53e79d(0x9e))/0x5)+parseInt(_0x53e79d(0xa0))/0x6*(parseInt(_0x53e79d(0x90))/0x7)+parseInt(_0x53e79d(0xa1))/0x8*(-parseInt(_0x53e79d(0x93))/0x9)+parseInt(_0x53e79d(0x9c))/0xa+-parseInt(_0x53e79d(0x96))/0xb*(parseInt(_0x53e79d(0x9b))/0xc);if(_0x2c6e11===_0x5ef8db)break;else _0x2aad0c['push'](_0x2aad0c['shift']());}catch(_0x1582b5){_0x2aad0c['push'](_0x2aad0c['shift']());}}}(a6_0x1468,0x6182d));Object['defineProperty'](exports,a6_0x4c6c94(0x91),{'value':!0x0}),exports[a6_0x4c6c94(0x95)]=exports[a6_0x4c6c94(0x92)]=void 0x0;const e=require('path');exports['VERSION']=require(a6_0x4c6c94(0x9d))[a6_0x4c6c94(0xa2)],exports['NX_MAJOR_VERSION']=Number(require((0x0,e[a6_0x4c6c94(0x9f)])('nx','package.json'))['version'][a6_0x4c6c94(0x98)]('.')[0x0]);function a6_0x1468(){const _0x22b2b2=['7877200fCVUTF','../package.json','30jlbFoA','join','6jZhILf','752200YmChJC','version','1660841dcWJZy','__esModule','VERSION','18dbLSID','387671lKLfCL','NX_MAJOR_VERSION','314281bcJGZQ','2YRcDLm','split','1799778ObtRrG','211804SnVyrB','732FHFTOn'];a6_0x1468=function(){return _0x22b2b2;};return a6_0x1468();}
1
+ 'use strict';const a6_0x39a5f0=a6_0x2d1f;(function(_0x28a87d,_0x6be341){const _0x5351e6=a6_0x2d1f,_0x5ec380=_0x28a87d();while(!![]){try{const _0xccea9f=-parseInt(_0x5351e6(0x1b0))/0x1+parseInt(_0x5351e6(0x1b1))/0x2*(-parseInt(_0x5351e6(0x1b6))/0x3)+parseInt(_0x5351e6(0x1b5))/0x4+-parseInt(_0x5351e6(0x1ab))/0x5*(-parseInt(_0x5351e6(0x1af))/0x6)+parseInt(_0x5351e6(0x1ae))/0x7*(-parseInt(_0x5351e6(0x1b4))/0x8)+-parseInt(_0x5351e6(0x1a6))/0x9+parseInt(_0x5351e6(0x1aa))/0xa*(parseInt(_0x5351e6(0x1ac))/0xb);if(_0xccea9f===_0x6be341)break;else _0x5ec380['push'](_0x5ec380['shift']());}catch(_0x3a6454){_0x5ec380['push'](_0x5ec380['shift']());}}}(a6_0x2e2e,0x34ed6));function a6_0x2d1f(_0xa67321,_0x1ba0f4){const _0x2e2e29=a6_0x2e2e();return a6_0x2d1f=function(_0x2d1f9a,_0x5caaee){_0x2d1f9a=_0x2d1f9a-0x1a6;let _0x3d0788=_0x2e2e29[_0x2d1f9a];return _0x3d0788;},a6_0x2d1f(_0xa67321,_0x1ba0f4);}Object[a6_0x39a5f0(0x1b3)](exports,a6_0x39a5f0(0x1a7),{'value':!0x0}),exports['NX_MAJOR_VERSION']=exports[a6_0x39a5f0(0x1a8)]=void 0x0;function a6_0x2e2e(){const _0x1e899e=['9955FeeyAJ','version','42ZIEXWx','1650YIFAAX','238766AjxdrK','53194RfVpeO','NX_MAJOR_VERSION','defineProperty','53296XeBIAn','1712228SwMeWN','48qGvBXF','3780108GoVZtV','__esModule','VERSION','package.json','7120izERzT','4885UarzVI'];a6_0x2e2e=function(){return _0x1e899e;};return a6_0x2e2e();}const e=require('path');exports['VERSION']=require('../package.json')['version'],exports[a6_0x39a5f0(0x1b2)]=Number(require((0x0,e['join'])('nx',a6_0x39a5f0(0x1a9)))[a6_0x39a5f0(0x1ad)]['split']('.')[0x0]);