@lovrabet/lovrabet-cli 2.0.1-beta.8 โ†’ 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/lib/cli.js +1 -1
  2. package/lib/commands/app/cache.js +1 -0
  3. package/lib/commands/app/definitions.js +1 -1
  4. package/lib/commands/app/mock-loader.js +1 -0
  5. package/lib/commands/app/remote-source.js +1 -0
  6. package/lib/commands/app/shared.js +1 -1
  7. package/lib/commands/auth/index.js +1 -1
  8. package/lib/commands/auth/prompt.js +1 -0
  9. package/lib/commands/bff/detail.js +1 -1
  10. package/lib/commands/bff/exec.js +1 -1
  11. package/lib/commands/bff/index.js +1 -1
  12. package/lib/commands/common/config-policy.js +1 -0
  13. package/lib/commands/common/constraints.js +1 -1
  14. package/lib/commands/common/flags.js +1 -1
  15. package/lib/commands/config/definitions.js +1 -1
  16. package/lib/commands/config/shared.js +1 -1
  17. package/lib/commands/data/index.js +1 -1
  18. package/lib/commands/dataset/detail.js +1 -1
  19. package/lib/commands/dataset/index.js +1 -1
  20. package/lib/commands/dataset/list.js +1 -1
  21. package/lib/commands/doctor.js +1 -1
  22. package/lib/commands/init/index.js +1 -1
  23. package/lib/commands/init.js +1 -1
  24. package/lib/commands/logs/index.js +1 -1
  25. package/lib/commands/registry.js +1 -1
  26. package/lib/commands/schema.js +1 -0
  27. package/lib/commands/sql/detail.js +1 -1
  28. package/lib/commands/sql/exec.js +1 -1
  29. package/lib/commands/sql/index.js +1 -1
  30. package/lib/config/schema.js +1 -0
  31. package/lib/constant/auth-mode.js +1 -1
  32. package/lib/constant/cli.js +1 -1
  33. package/lib/constant/defaults.js +1 -0
  34. package/lib/constant/domain.js +1 -1
  35. package/lib/constant/env.js +1 -1
  36. package/lib/constant/output.js +1 -0
  37. package/lib/constant/risk.js +1 -0
  38. package/lib/context.js +1 -1
  39. package/lib/core/api-client.js +1 -1
  40. package/lib/core/db-resolver.js +1 -1
  41. package/lib/core/sdk-client.js +1 -1
  42. package/lib/errors.js +1 -1
  43. package/lib/framework/build-all-flags.js +1 -0
  44. package/lib/framework/dryrun.js +1 -1
  45. package/lib/framework/flags.js +1 -1
  46. package/lib/framework/help.js +1 -1
  47. package/lib/framework/index.js +1 -1
  48. package/lib/framework/output.js +1 -1
  49. package/lib/framework/preparse.js +1 -1
  50. package/lib/framework/response.js +1 -1
  51. package/lib/framework/runner-confirmation.js +1 -0
  52. package/lib/framework/runner-error.js +1 -0
  53. package/lib/framework/runner.js +1 -1
  54. package/lib/framework/schema-export.js +1 -0
  55. package/lib/framework/types.js +1 -1
  56. package/lib/help.js +1 -1
  57. package/lib/utils/apply-jq-filter.js +1 -1
  58. package/lib/utils/logger.js +1 -1
  59. package/lib/utils/params.js +1 -1
  60. package/lib/utils/version.js +1 -1
  61. package/lib/utils/write-cli-side-channel.js +1 -1
  62. package/package.json +4 -3
  63. package/lib/auth/auth-server-ui.js +0 -1
  64. package/lib/auth/auth-server.js +0 -1
  65. package/lib/auth/constant.js +0 -1
  66. package/lib/auth/get-cookie.js +0 -1
  67. package/lib/auth/is-session-valid.js +0 -1
  68. package/lib/auth/login-success-html.js +0 -1
  69. package/lib/auth/logout.js +0 -1
@@ -1 +1 @@
1
- (function(_0x464e45,_0x537c69){var _0x2897f6=a51_0x22cb,_0x430295=_0x464e45();while(!![]){try{var _0x4eadd1=-parseInt(_0x2897f6(0x89))/0x1+-parseInt(_0x2897f6(0x93))/0x2*(-parseInt(_0x2897f6(0x95))/0x3)+parseInt(_0x2897f6(0x90))/0x4*(parseInt(_0x2897f6(0x92))/0x5)+-parseInt(_0x2897f6(0x8e))/0x6+parseInt(_0x2897f6(0x8f))/0x7+parseInt(_0x2897f6(0x91))/0x8+-parseInt(_0x2897f6(0x87))/0x9;if(_0x4eadd1===_0x537c69)break;else _0x430295['push'](_0x430295['shift']());}catch(_0x3ee4c0){_0x430295['push'](_0x430295['shift']());}}}(a51_0x10bf,0xca290));function a51_0x10bf(){var _0x39dfb3=['Invalid\x20JSON\x20for\x20--params:\x20','items','parse','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','2664990jeYnNF','8268344MeSYEY','261700feicUC','2385992PBpxnD','55DFWghf','8xZFdez','validation','205977zUgGkp','object','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','1488447KHCOVJ','isArray','1036156ntFVgh'];a51_0x10bf=function(){return _0x39dfb3;};return a51_0x10bf();}import{CliErrors}from'../errors.js';function a51_0x22cb(_0x4589ca,_0x58db42){_0x4589ca=_0x4589ca-0x86;var _0x10bf94=a51_0x10bf();var _0x22cb03=_0x10bf94[_0x4589ca];return _0x22cb03;}export function parseJsonParams(_0x500faa){var _0x28434c=a51_0x22cb;if(!_0x500faa)return undefined;try{return JSON['parse'](_0x500faa);}catch{throw CliErrors['validation'](_0x28434c(0x8a)+_0x500faa);}}export function parseJsonParamsValue(_0xa4e48c){var _0x3c6fba=a51_0x22cb;if(!_0xa4e48c)return undefined;try{return JSON[_0x3c6fba(0x8c)](_0xa4e48c);}catch{throw CliErrors['validation'](_0x3c6fba(0x8a)+_0xa4e48c);}}export function parseBatchCreateItemsFromParams(_0x256b53){var _0x28d07a=a51_0x22cb;if(Array[_0x28d07a(0x88)](_0x256b53))return _0x256b53;if(_0x256b53!==null&&_0x256b53!==undefined&&typeof _0x256b53===_0x28d07a(0x96)&&Array['isArray'](_0x256b53['items']))return _0x256b53[_0x28d07a(0x8b)];throw CliErrors[_0x28d07a(0x94)](_0x28d07a(0x8d),_0x28d07a(0x86));}
1
+ (function(_0x480b22,_0x5b080c){var _0x136a39=a58_0x302f,_0x2edcde=_0x480b22();while(!![]){try{var _0x3e99d2=parseInt(_0x136a39(0xf3))/0x1+parseInt(_0x136a39(0xf6))/0x2+-parseInt(_0x136a39(0xf4))/0x3*(-parseInt(_0x136a39(0xf8))/0x4)+parseInt(_0x136a39(0xef))/0x5*(parseInt(_0x136a39(0xe7))/0x6)+-parseInt(_0x136a39(0xf2))/0x7*(parseInt(_0x136a39(0xe9))/0x8)+parseInt(_0x136a39(0xea))/0x9+-parseInt(_0x136a39(0xf0))/0xa;if(_0x3e99d2===_0x5b080c)break;else _0x2edcde['push'](_0x2edcde['shift']());}catch(_0x4a1a4c){_0x2edcde['push'](_0x2edcde['shift']());}}}(a58_0x3a99,0x47d51));import{CliErrors}from'../errors.js';export function parseJsonParams(_0x549be1){var _0x20e649=a58_0x302f;if(!_0x549be1)return undefined;try{return JSON['parse'](_0x549be1);}catch{throw CliErrors[_0x20e649(0xec)](_0x20e649(0xe8)+_0x549be1);}}export function parseJsonParamsValue(_0x1bcf92){var _0x44557b=a58_0x302f;if(!_0x1bcf92)return undefined;try{return JSON[_0x44557b(0xed)](_0x1bcf92);}catch{throw CliErrors[_0x44557b(0xec)](_0x44557b(0xe8)+_0x1bcf92);}}function a58_0x302f(_0x238eac,_0x1ef0fd){_0x238eac=_0x238eac-0xe7;var _0x3a999b=a58_0x3a99();var _0x302fdf=_0x3a999b[_0x238eac];return _0x302fdf;}function a58_0x3a99(){var _0x361b5d=['Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','12gPMhgN','150FDgCxF','Invalid\x20JSON\x20for\x20--params:\x20','184frpfnZ','709461hxmTFo','isArray','validation','parse','object','92735nvuXiL','5420660WyGfNT','items','141190uLNijn','354333BWidZj','213699duYNnT','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','379330irpeIG'];a58_0x3a99=function(){return _0x361b5d;};return a58_0x3a99();}export function parseBatchCreateItemsFromParams(_0x1d531e){var _0x17dfd7=a58_0x302f;if(Array[_0x17dfd7(0xeb)](_0x1d531e))return _0x1d531e;if(_0x1d531e!==null&&_0x1d531e!==undefined&&typeof _0x1d531e===_0x17dfd7(0xee)&&Array[_0x17dfd7(0xeb)](_0x1d531e[_0x17dfd7(0xf1)]))return _0x1d531e[_0x17dfd7(0xf1)];throw CliErrors[_0x17dfd7(0xec)](_0x17dfd7(0xf5),_0x17dfd7(0xf7));}
@@ -1 +1 @@
1
- (function(_0x24909a,_0x32a8a2){const _0x250a4e=a52_0x4b81,_0x43f4b8=_0x24909a();while(!![]){try{const _0x1751e1=-parseInt(_0x250a4e(0x86))/0x1*(-parseInt(_0x250a4e(0x85))/0x2)+parseInt(_0x250a4e(0x83))/0x3*(-parseInt(_0x250a4e(0x80))/0x4)+-parseInt(_0x250a4e(0x7f))/0x5*(-parseInt(_0x250a4e(0x8b))/0x6)+parseInt(_0x250a4e(0x89))/0x7+parseInt(_0x250a4e(0x81))/0x8*(-parseInt(_0x250a4e(0x8c))/0x9)+parseInt(_0x250a4e(0x88))/0xa*(-parseInt(_0x250a4e(0x82))/0xb)+-parseInt(_0x250a4e(0x84))/0xc;if(_0x1751e1===_0x32a8a2)break;else _0x43f4b8['push'](_0x43f4b8['shift']());}catch(_0x5008a0){_0x43f4b8['push'](_0x43f4b8['shift']());}}}(a52_0x28a9,0xd0fa1));import{readFileSync}from'node:fs';import{dirname,join}from'node:path';function a52_0x4b81(_0x55229c,_0x464afb){_0x55229c=_0x55229c-0x7f;const _0x28a9b3=a52_0x28a9();let _0x4b81f4=_0x28a9b3[_0x55229c];return _0x4b81f4;}function a52_0x28a9(){const _0x56ae4d=['1524rWkbvq','8uBNpPc','33055cVSmhP','2658GOSkoV','11254392kjEfdp','5102IZDhcu','187uGaMfo','parse','180lzZQdf','5513424FirxMo','package.json','6cgxlyf','6535989HBseVv','8235215jUbpvt'];a52_0x28a9=function(){return _0x56ae4d;};return a52_0x28a9();}import{fileURLToPath}from'node:url';let cached;export function getCliVersion(){const _0x22ede0=a52_0x4b81;if(cached)return cached;const _0x1747cf=join(dirname(fileURLToPath(import.meta.url)),'..','..'),_0x6da003=readFileSync(join(_0x1747cf,_0x22ede0(0x8a)),'utf8'),_0x5497f1=JSON[_0x22ede0(0x87)](_0x6da003);return cached=_0x5497f1['version'],cached;}
1
+ (function(_0x473ca6,_0xcb7862){const _0xca3526=a59_0x2021,_0x3fd7f4=_0x473ca6();while(!![]){try{const _0x227387=-parseInt(_0xca3526(0x93))/0x1+parseInt(_0xca3526(0x9b))/0x2+parseInt(_0xca3526(0x99))/0x3+-parseInt(_0xca3526(0x92))/0x4*(-parseInt(_0xca3526(0x91))/0x5)+parseInt(_0xca3526(0x90))/0x6*(parseInt(_0xca3526(0x96))/0x7)+-parseInt(_0xca3526(0x9a))/0x8*(-parseInt(_0xca3526(0x8e))/0x9)+-parseInt(_0xca3526(0x95))/0xa;if(_0x227387===_0xcb7862)break;else _0x3fd7f4['push'](_0x3fd7f4['shift']());}catch(_0x155c41){_0x3fd7f4['push'](_0x3fd7f4['shift']());}}}(a59_0x22f5,0x7b5fe));import{readFileSync}from'node:fs';function a59_0x2021(_0x288fa0,_0xfee058){_0x288fa0=_0x288fa0-0x8e;const _0x22f5ac=a59_0x22f5();let _0x202103=_0x22f5ac[_0x288fa0];return _0x202103;}import{dirname,join}from'node:path';import{fileURLToPath}from'node:url';let cached;export function getCliVersion(){const _0x47b76c=a59_0x2021;if(cached)return cached;const _0x2cd624=join(dirname(fileURLToPath(import.meta.url)),'..','..'),_0x27462f=readFileSync(join(_0x2cd624,_0x47b76c(0x94)),_0x47b76c(0x97)),_0x59e6fc=JSON[_0x47b76c(0x8f)](_0x27462f);return cached=_0x59e6fc[_0x47b76c(0x98)],cached;}function a59_0x22f5(){const _0x30b71b=['version','829101PKeTkR','88216ImwcIY','1957192gdoMaA','252GzfnQu','parse','2183466ENvOyz','45iaLrVH','188644iRBFBx','624480FGOFxp','package.json','12222570VSXBcc','7zGxoBE','utf8'];a59_0x22f5=function(){return _0x30b71b;};return a59_0x22f5();}
@@ -1 +1 @@
1
- (function(_0x593d28,_0x233130){var _0xdbcf80=a53_0x1561,_0xb9ba50=_0x593d28();while(!![]){try{var _0x6dc3c3=-parseInt(_0xdbcf80(0x9b))/0x1*(-parseInt(_0xdbcf80(0x91))/0x2)+parseInt(_0xdbcf80(0x93))/0x3+-parseInt(_0xdbcf80(0x94))/0x4+-parseInt(_0xdbcf80(0x92))/0x5*(parseInt(_0xdbcf80(0x9a))/0x6)+parseInt(_0xdbcf80(0x97))/0x7+-parseInt(_0xdbcf80(0x99))/0x8+parseInt(_0xdbcf80(0x9c))/0x9*(-parseInt(_0xdbcf80(0x96))/0xa);if(_0x6dc3c3===_0x233130)break;else _0xb9ba50['push'](_0xb9ba50['shift']());}catch(_0x1c819e){_0xb9ba50['push'](_0xb9ba50['shift']());}}}(a53_0x4eb0,0xa945f));export function writeCliSideChannelLine(_0x48800e){var _0xbfed66=a53_0x1561;process[_0xbfed66(0x95)][_0xbfed66(0x98)](_0x48800e+'\x0a');}function a53_0x1561(_0x369be6,_0x529466){_0x369be6=_0x369be6-0x91;var _0x4eb0d1=a53_0x4eb0();var _0x1561a5=_0x4eb0d1[_0x369be6];return _0x1561a5;}function a53_0x4eb0(){var _0xb1ab04=['stderr','41960oFInVp','6744150hvdGkq','write','7036568qIaiWQ','246wtVYqQ','5003yAFIvC','36ajgWUu','534rAFEzZ','87795Bezgau','158010mGAzmj','169216pYfWrP'];a53_0x4eb0=function(){return _0xb1ab04;};return a53_0x4eb0();}
1
+ (function(_0x1bced9,_0x5f56b3){var _0x3fdf58=a60_0x2b0d,_0x241fa5=_0x1bced9();while(!![]){try{var _0x310611=-parseInt(_0x3fdf58(0x8e))/0x1+-parseInt(_0x3fdf58(0x91))/0x2*(-parseInt(_0x3fdf58(0x88))/0x3)+parseInt(_0x3fdf58(0x8a))/0x4+-parseInt(_0x3fdf58(0x8b))/0x5*(-parseInt(_0x3fdf58(0x94))/0x6)+parseInt(_0x3fdf58(0x8c))/0x7+-parseInt(_0x3fdf58(0x93))/0x8*(parseInt(_0x3fdf58(0x8f))/0x9)+-parseInt(_0x3fdf58(0x89))/0xa*(parseInt(_0x3fdf58(0x90))/0xb);if(_0x310611===_0x5f56b3)break;else _0x241fa5['push'](_0x241fa5['shift']());}catch(_0x58ce64){_0x241fa5['push'](_0x241fa5['shift']());}}}(a60_0x5873,0xa46ab));export function writeCliSideChannelLine(_0x42beec){var _0x498902=a60_0x2b0d;process[_0x498902(0x92)][_0x498902(0x8d)](_0x42beec+'\x0a');}function a60_0x2b0d(_0x5e0586,_0x3dfae5){_0x5e0586=_0x5e0586-0x88;var _0x5873d8=a60_0x5873();var _0x2b0d86=_0x5873d8[_0x5e0586];return _0x2b0d86;}function a60_0x5873(){var _0x2432c8=['1649980IWvFgr','4445328QltGke','29235JHcUnH','3559521VXVSPo','write','78724WFcoKk','1053xXZXTl','55xuvrEu','908464itiiqr','stderr','34376ElvPGD','6YtIhtK','3pcAcWS'];a60_0x5873=function(){return _0x2432c8;};return a60_0x5873();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/lovrabet-cli",
3
- "version": "2.0.1-beta.8",
3
+ "version": "2.0.1",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,8 +35,9 @@
35
35
  "lib"
36
36
  ],
37
37
  "dependencies": {
38
+ "@lovrabet/cli-framework": "1.0.1",
38
39
  "chalk": "^5.6.2",
39
- "@lovrabet/sdk": "^1.4.1-beta.0",
40
+ "@lovrabet/sdk": "1.4.1",
40
41
  "@types/winston": "^2.4.4",
41
42
  "ink": "^6.2.3",
42
43
  "ink-spinner": "^5.0.0",
@@ -55,4 +56,4 @@
55
56
  "typescript": "latest",
56
57
  "vitest": "^4.1.2"
57
58
  }
58
- }
59
+ }
@@ -1 +0,0 @@
1
- (function(_0x4f6c55,_0x29ef0a){const _0x2aa7f9=a0_0x2d0c,_0xd1303c=_0x4f6c55();while(!![]){try{const _0x3a9995=parseInt(_0x2aa7f9(0xba))/0x1*(parseInt(_0x2aa7f9(0xbe))/0x2)+-parseInt(_0x2aa7f9(0xc3))/0x3*(parseInt(_0x2aa7f9(0xaf))/0x4)+parseInt(_0x2aa7f9(0xb9))/0x5*(-parseInt(_0x2aa7f9(0xb3))/0x6)+-parseInt(_0x2aa7f9(0xad))/0x7+parseInt(_0x2aa7f9(0xb7))/0x8*(-parseInt(_0x2aa7f9(0xb8))/0x9)+-parseInt(_0x2aa7f9(0xb2))/0xa+parseInt(_0x2aa7f9(0xbc))/0xb*(parseInt(_0x2aa7f9(0xc2))/0xc);if(_0x3a9995===_0x29ef0a)break;else _0xd1303c['push'](_0xd1303c['shift']());}catch(_0x1f79e9){_0xd1303c['push'](_0xd1303c['shift']());}}}(a0_0x5b07,0xc6339));import{jsx as a0_0x5d4248,jsxs as a0_0x4d60ad}from'react/jsx-runtime';import{Text,Box,useInput,useApp}from'ink';import{useEffect,useState}from'react';function a0_0x5b07(){const _0x5763e2=['green','log','252504yPzoqq','189FGYqCD','2331305pkXNIh','7ydZRKM','gray','2890217EUZUfg','Please\x20complete\x20login\x20in\x20your\x20browser.','396842CSFQyP','*\x20Press\x20Enter\x20to\x20start\x20login.','Logging\x20in...\x20','*\x20Login\x20successful!','156vjImkS','88551giTnrs','โˆš\x20Valid\x20session\x20detected,\x20no\x20login\x20required.','1116353MKfyMN','return','212kWOIEi','finally','then','2073390KrMdhz','18WlGxgn','column'];a0_0x5b07=function(){return _0x5763e2;};return a0_0x5b07();}import{getIsSessionValid}from'../auth/is-session-valid.js';import{authServer}from'../auth/auth-server.js';function a0_0x2d0c(_0x2703f8,_0x5b5523){_0x2703f8=_0x2703f8-0xad;const _0x5b0782=a0_0x5b07();let _0x2d0c9e=_0x5b0782[_0x2703f8];return _0x2d0c9e;}import a0_0x349145 from'ink-spinner';export function AuthServer(){const _0x3eb03c=a0_0x2d0c,{exit:_0x4d936b}=useApp(),[_0x47c394,_0x101f85]=useState(![]),[_0x46134b,_0x2f4c3d]=useState(!![]),[_0x1ad671,_0x673536]=useState(![]),[_0x23b6c3,_0x1f8d93]=useState(![]);useEffect(()=>{const _0x27a111=a0_0x2d0c;getIsSessionValid()[_0x27a111(0xb1)](_0x101f85)[_0x27a111(0xb0)](()=>_0x2f4c3d(![]));},[]),useEffect(()=>{const _0x4e71d2=a0_0x2d0c;!_0x46134b&&_0x47c394&&(console['log'](_0x4e71d2(0xc4)),_0x4d936b());},[_0x46134b,_0x47c394,_0x4d936b]),useEffect(()=>{const _0x313752=a0_0x2d0c;_0x23b6c3&&(console[_0x313752(0xb6)](_0x313752(0xc1)),_0x4d936b());},[_0x23b6c3,_0x4d936b]),useInput((_0x19d35e,_0xc31ad6)=>{const _0x10b7a4=a0_0x2d0c;_0xc31ad6[_0x10b7a4(0xae)]&&(_0x673536(!![]),authServer({'silent':!![]})[_0x10b7a4(0xb1)](_0x2aa6bb=>{_0x1f8d93(_0x2aa6bb);})),_0x19d35e==='q'&&_0x4d936b();});if(_0x46134b)return null;if(_0x47c394||_0x23b6c3)return null;return a0_0x5d4248(Box,{'flexDirection':_0x3eb03c(0xb4),'marginTop':0x1,'marginBottom':0x1,'children':_0x1ad671?a0_0x4d60ad(Box,{'children':[a0_0x5d4248(Box,{'width':'1'}),a0_0x4d60ad(Text,{'color':_0x3eb03c(0xb5),'children':[a0_0x5d4248(a0_0x349145,{'type':'dots'}),'\x20\x20']}),a0_0x5d4248(Text,{'children':_0x3eb03c(0xc0)}),a0_0x5d4248(Text,{'color':_0x3eb03c(0xbb),'children':_0x3eb03c(0xbd)})]}):a0_0x4d60ad(Box,{'children':[a0_0x5d4248(Box,{'width':'1'}),a0_0x5d4248(Text,{'children':_0x3eb03c(0xbf)}),a0_0x5d4248(Text,{'color':_0x3eb03c(0xbb),'children':'Press\x20\x22q\x22\x20to\x20exit.'})]})});}
@@ -1 +0,0 @@
1
- (function(_0x364712,_0x26056b){const _0x4c674b=a1_0x5da0,_0x2f8457=_0x364712();while(!![]){try{const _0x4da913=-parseInt(_0x4c674b(0xb6))/0x1*(-parseInt(_0x4c674b(0xad))/0x2)+-parseInt(_0x4c674b(0xc2))/0x3*(parseInt(_0x4c674b(0xb0))/0x4)+parseInt(_0x4c674b(0xc0))/0x5+-parseInt(_0x4c674b(0xb2))/0x6+parseInt(_0x4c674b(0xac))/0x7+parseInt(_0x4c674b(0xb4))/0x8*(-parseInt(_0x4c674b(0xa8))/0x9)+-parseInt(_0x4c674b(0xcb))/0xa;if(_0x4da913===_0x26056b)break;else _0x2f8457['push'](_0x2f8457['shift']());}catch(_0x35ed9d){_0x2f8457['push'](_0x2f8457['shift']());}}}(a1_0x3edf,0x5aee2));function a1_0x3edf(){const _0x2217e4=['user','9WxjAgA','/api/auth/get-session','/sign-in?redirect=','๐ŸŒ\x20Attempting\x20to\x20open\x20browser\x20automatically...','5206103iDMPow','2aLsmmK','port','catch','67348eaDvVG','session','2060292HdkTmX','log','124952mmeZoG','https://g.yuntooai.com/cert/lovrabet-dev.json','200183DerrtL','json','cookie','xdg-open\x20\x22','darwin','writeHead','win32','Auth\x20server\x20error:','error','๐Ÿ’ก\x20If\x20the\x20browser\x20does\x20not\x20open\x20automatically,\x20copy\x20the\x20login\x20URL\x20above\x20into\x20your\x20browser.','3042990fGWxyQ','https://dev.lovrabet.com:','69SYBAHb','cmd\x20/c\x20start\x20\x22\x22\x20\x22','โš ๏ธ\x20\x20Failed\x20to\x20open\x20browser\x20automatically','text/html;\x20charset=utf-8','๐Ÿ”—\x20Please\x20copy\x20the\x20login\x20URL\x20into\x20your\x20browser:','127.0.0.1','end','listen','platform','4338080TfMNhx','object','headers','address','silent','close','๐Ÿ“\x20Login\x20URL:','then'];a1_0x3edf=function(){return _0x2217e4;};return a1_0x3edf();}import{writeFileSync}from'node:fs';import a1_0x4bd072 from'node:https';import{getUserDomain}from'../constant/domain.js';function a1_0x5da0(_0x2319b4,_0x2f9000){_0x2319b4=_0x2319b4-0xa1;const _0x3edf96=a1_0x3edf();let _0x5da041=_0x3edf96[_0x2319b4];return _0x5da041;}import{exec}from'node:child_process';import{getIsSessionValid}from'../auth/is-session-valid.js';import{cookieFile}from'../auth/constant.js';import{buildLoginSuccessHtml}from'../auth/login-success-html.js';export async function authServer(_0x64f54f){const _0x42069f=a1_0x5da0,_0x2ea288=_0x64f54f?.[_0x42069f(0xa3)]||![];if(await getIsSessionValid())return!![];const _0x479b6c=await(await fetch(_0x42069f(0xb5)))[_0x42069f(0xb7)]();return new Promise(async(_0x5f05e2,_0x35ca6d)=>{const _0x279d88=_0x42069f;let _0x34eaf4=0x0;const _0x54f6cb=a1_0x4bd072['createServer'](_0x479b6c,async(_0x43df46,_0x37fc15)=>{const _0x5ddb7f=a1_0x5da0,_0x108c22=getUserDomain(),_0x28835c=_0x43df46[_0x5ddb7f(0xa1)][_0x5ddb7f(0xb8)]||'',_0x11b4cd=await fetch(_0x108c22+_0x5ddb7f(0xa9),{'headers':{'cookie':_0x28835c}})[_0x5ddb7f(0xa6)](_0x386ff9=>_0x386ff9['json']()),_0x29dd74=_0x11b4cd&&_0x11b4cd[_0x5ddb7f(0xb1)]&&_0x11b4cd[_0x5ddb7f(0xa7)];if(_0x29dd74){writeFileSync(cookieFile,_0x28835c,'utf-8'),_0x5f05e2(!![]);const _0x1ff0a7=buildLoginSuccessHtml();_0x37fc15[_0x5ddb7f(0xbb)](0xc8,{'Content-Type':_0x5ddb7f(0xc5)}),_0x37fc15[_0x5ddb7f(0xc8)](_0x1ff0a7),_0x54f6cb[_0x5ddb7f(0xa4)]();}else{const _0xc58fdf=''+encodeURIComponent('https://dev.lovrabet.com:'+_0x34eaf4);_0x37fc15['writeHead'](0x12e,{'location':_0x108c22+_0x5ddb7f(0xaa)+_0xc58fdf}),_0x37fc15[_0x5ddb7f(0xc8)]();return;}});_0x54f6cb[_0x279d88(0xc9)](0x0,_0x279d88(0xc7),()=>{const _0x7fe612=_0x279d88,_0x1aad90=_0x54f6cb[_0x7fe612(0xa2)]();_0x34eaf4=typeof _0x1aad90===_0x7fe612(0xcc)&&_0x1aad90?_0x1aad90[_0x7fe612(0xae)]:Number(_0x1aad90);const _0x49bb63=_0x7fe612(0xc1)+_0x34eaf4;!_0x2ea288&&(console['log']('๐Ÿ”\x20Starting\x20login\x20service...'),console['log'](_0x7fe612(0xa5),_0x49bb63),console['log'](_0x7fe612(0xab)),console[_0x7fe612(0xb3)](''),console[_0x7fe612(0xb3)](_0x7fe612(0xbf)),console[_0x7fe612(0xb3)]('')),openInBrowser(_0x49bb63)[_0x7fe612(0xa6)](_0xae096b=>{const _0xf9a88f=_0x7fe612;!_0x2ea288&&(_0xae096b?console['log']('โœ…\x20Browser\x20opened.\x20Please\x20complete\x20login\x20in\x20the\x20browser.'):(console[_0xf9a88f(0xb3)](_0xf9a88f(0xc4)),console['log'](_0xf9a88f(0xc6),_0x49bb63)),console['log'](''));})[_0x7fe612(0xaf)](()=>{const _0x1c50ef=_0x7fe612;!_0x2ea288&&(console[_0x1c50ef(0xb3)]('โš ๏ธ\x20\x20Failed\x20to\x20open\x20browser\x20automatically'),console[_0x1c50ef(0xb3)](_0x1c50ef(0xc6),_0x49bb63),console[_0x1c50ef(0xb3)](''));});}),_0x54f6cb['on'](_0x279d88(0xbe),_0x5e6e4e=>{const _0x481eab=_0x279d88;!_0x2ea288&&console[_0x481eab(0xbe)](_0x481eab(0xbd),_0x5e6e4e),_0x35ca6d(_0x5e6e4e);});});}function openInBrowser(_0x3cee0d){return new Promise(_0x5eb8cd=>{const _0xf0d9f2=a1_0x5da0,_0x3a9cbd=process[_0xf0d9f2(0xca)];let _0x2d1d82;if(_0x3a9cbd===_0xf0d9f2(0xbc))_0x2d1d82=_0xf0d9f2(0xc3)+_0x3cee0d+'\x22';else _0x3a9cbd===_0xf0d9f2(0xba)?_0x2d1d82='open\x20\x22'+_0x3cee0d+'\x22':_0x2d1d82=_0xf0d9f2(0xb9)+_0x3cee0d+'\x22';exec(_0x2d1d82,_0x7355e4=>{_0x7355e4?_0x5eb8cd(![]):_0x5eb8cd(!![]);});});}
@@ -1 +0,0 @@
1
- const a2_0x4f9867=a2_0x310a;(function(_0x10308a,_0x10c513){const _0x2243a7=a2_0x310a,_0x244aa0=_0x10308a();while(!![]){try{const _0x4cd373=-parseInt(_0x2243a7(0x1f8))/0x1+-parseInt(_0x2243a7(0x1f5))/0x2*(parseInt(_0x2243a7(0x1f2))/0x3)+parseInt(_0x2243a7(0x1f3))/0x4*(-parseInt(_0x2243a7(0x1ec))/0x5)+parseInt(_0x2243a7(0x1ef))/0x6*(-parseInt(_0x2243a7(0x1f7))/0x7)+-parseInt(_0x2243a7(0x1f0))/0x8+-parseInt(_0x2243a7(0x1ed))/0x9+parseInt(_0x2243a7(0x1f4))/0xa*(parseInt(_0x2243a7(0x1f6))/0xb);if(_0x4cd373===_0x10c513)break;else _0x244aa0['push'](_0x244aa0['shift']());}catch(_0x34bff6){_0x244aa0['push'](_0x244aa0['shift']());}}}(a2_0xa279,0xae0b4));function a2_0xa279(){const _0x2b7c82=['47318062hHuDit','71428GaCSgk','221970qiYgey','10095FNsZWN','8781984bphmyq','.lovrabet','96QVlieb','6845352zbFTZQ','cookie','3371226yuGUhL','492TUUdXe','10ZbvSRN','2ObOqxk'];a2_0xa279=function(){return _0x2b7c82;};return a2_0xa279();}import{mkdirSync}from'node:fs';import{homedir}from'node:os';import{join}from'node:path';export const configDir=join(homedir(),a2_0x4f9867(0x1ee));export const cookieFile=join(configDir,a2_0x4f9867(0x1f1));function a2_0x310a(_0x174982,_0x500d56){_0x174982=_0x174982-0x1ec;const _0xa279ec=a2_0xa279();let _0x310aa1=_0xa279ec[_0x174982];return _0x310aa1;}mkdirSync(configDir,{'recursive':!![]});
@@ -1 +0,0 @@
1
- (function(_0x30ec6b,_0x1ede65){var _0x4cbbb0=a3_0x3280,_0x15779a=_0x30ec6b();while(!![]){try{var _0x76b45a=parseInt(_0x4cbbb0(0x15c))/0x1+-parseInt(_0x4cbbb0(0x166))/0x2+parseInt(_0x4cbbb0(0x15d))/0x3*(-parseInt(_0x4cbbb0(0x15b))/0x4)+-parseInt(_0x4cbbb0(0x15e))/0x5+-parseInt(_0x4cbbb0(0x161))/0x6+parseInt(_0x4cbbb0(0x162))/0x7*(-parseInt(_0x4cbbb0(0x15f))/0x8)+parseInt(_0x4cbbb0(0x160))/0x9*(parseInt(_0x4cbbb0(0x164))/0xa);if(_0x76b45a===_0x1ede65)break;else _0x15779a['push'](_0x15779a['shift']());}catch(_0x45c9ae){_0x15779a['push'](_0x15779a['shift']());}}}(a3_0x53d6,0x3d822));import{readFileSync}from'node:fs';function a3_0x53d6(){var _0x59efca=['utf-8','626742lutzkc','4qUVKnQ','456638sdtAeD','1332567cScvMl','406415wpHpRe','3856816ZMbiFm','324fOYuli','2163498xfvXWF','7lgvePN','trim','410230DnnBET'];a3_0x53d6=function(){return _0x59efca;};return a3_0x53d6();}import{cookieFile}from'../auth/constant.js';function a3_0x3280(_0x333f89,_0x3f2b52){_0x333f89=_0x333f89-0x15b;var _0x53d6e5=a3_0x53d6();var _0x3280ed=_0x53d6e5[_0x333f89];return _0x3280ed;}export function getCookie(){var _0x4329a4=a3_0x3280;try{return readFileSync(cookieFile,_0x4329a4(0x165))[_0x4329a4(0x163)]();}catch{}return'';}
@@ -1 +0,0 @@
1
- (function(_0x3a6acb,_0x35e41a){const _0x174709=a4_0x8e0c,_0x1b8d31=_0x3a6acb();while(!![]){try{const _0x3c5f57=-parseInt(_0x174709(0x169))/0x1*(-parseInt(_0x174709(0x16e))/0x2)+parseInt(_0x174709(0x166))/0x3+-parseInt(_0x174709(0x16f))/0x4+parseInt(_0x174709(0x16b))/0x5+-parseInt(_0x174709(0x164))/0x6+-parseInt(_0x174709(0x165))/0x7+parseInt(_0x174709(0x168))/0x8;if(_0x3c5f57===_0x35e41a)break;else _0x1b8d31['push'](_0x1b8d31['shift']());}catch(_0x2cfa1d){_0x1b8d31['push'](_0x1b8d31['shift']());}}}(a4_0x265e,0x2ceaf));import{existsSync,readFileSync}from'node:fs';import{getUserDomain}from'../constant/domain.js';import{cookieFile}from'../auth/constant.js';function a4_0x8e0c(_0x48b5bc,_0x4afca5){_0x48b5bc=_0x48b5bc-0x164;const _0x265ebf=a4_0x265e();let _0x8e0c2a=_0x265ebf[_0x48b5bc];return _0x8e0c2a;}export async function getIsSessionValid(){const _0x29d3b4=a4_0x8e0c;try{if(!existsSync(cookieFile))return![];const _0x5c8c6c=readFileSync(cookieFile,_0x29d3b4(0x167))[_0x29d3b4(0x16a)](),_0x5a49fc=await fetch(getUserDomain()+_0x29d3b4(0x16c),{'headers':{'cookie':_0x5c8c6c}})['then'](_0x356e0d=>_0x356e0d[_0x29d3b4(0x16d)]());return _0x5a49fc&&_0x5a49fc['session']&&_0x5a49fc['user'];}catch{}return![];}function a4_0x265e(){const _0x8e1f10=['utf-8','1096216AYiLxg','1XCnRkg','trim','501340MYjZbz','/api/auth/get-session','json','452784LsnfPV','181124RcpCzX','1194588AsKhWJ','1380442gkVUuQ','485643Xlkkxf'];a4_0x265e=function(){return _0x8e1f10;};return a4_0x265e();}
@@ -1 +0,0 @@
1
- function a5_0x13ac(){const _0x2c01d3=['45RJfaHh','634060EVAueL','50452GnunQS','94QekUbT','</div>\x0a\x20\x20\x20\x20<p\x20class=\x22cli-hint\x22>Lovrabet\x20CLI\x20ยท\x20session\x20saved\x20locally</p>\x0a\x20\x20</div>\x0a\x20\x20<script>\x0a\x20\x20(function(){\x0a\x20\x20\x20\x20var\x20t\x20=\x205;\x0a\x20\x20\x20\x20var\x20el\x20=\x20document.getElementById(\x27t\x27);\x0a\x20\x20\x20\x20var\x20manual\x20=\x20document.getElementById(\x27manualMsg\x27);\x0a\x20\x20\x20\x20var\x20id\x20=\x20setInterval(function(){\x0a\x20\x20\x20\x20\x20\x20t--;\x0a\x20\x20\x20\x20\x20\x20if\x20(t\x20<=\x200)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20clearInterval(id);\x0a\x20\x20\x20\x20\x20\x20\x20\x20el.textContent\x20=\x20\x270\x27;\x0a\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x20window.close();\x20}\x20catch(e)\x20{}\x0a\x20\x20\x20\x20\x20\x20\x20\x20setTimeout(function(){\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(!window.closed)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20manual.style.display\x20=\x20\x27block\x27;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20},\x20300);\x0a\x20\x20\x20\x20\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20el.textContent\x20=\x20String(t);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20},\x201000);\x0a\x20\x20})();\x0a\x20\x20</script>\x0a</body>\x0a</html>','62120qSGTYk','225805cuvNRI','4517364nWkyBk','22fWCFuU','274548SxPmYG','130zuGVSG','8457vXGXVo','125HuvlOX','7ZOuAeZ'];a5_0x13ac=function(){return _0x2c01d3;};return a5_0x13ac();}(function(_0x4feede,_0x36c6f3){const _0x1bede3=a5_0x103b,_0x350e59=_0x4feede();while(!![]){try{const _0x59ea05=-parseInt(_0x1bede3(0x12e))/0x1+-parseInt(_0x1bede3(0x12b))/0x2*(-parseInt(_0x1bede3(0x125))/0x3)+parseInt(_0x1bede3(0x12a))/0x4*(-parseInt(_0x1bede3(0x126))/0x5)+-parseInt(_0x1bede3(0x12f))/0x6*(-parseInt(_0x1bede3(0x127))/0x7)+parseInt(_0x1bede3(0x12d))/0x8*(-parseInt(_0x1bede3(0x128))/0x9)+parseInt(_0x1bede3(0x129))/0xa*(parseInt(_0x1bede3(0x130))/0xb)+-parseInt(_0x1bede3(0x131))/0xc*(-parseInt(_0x1bede3(0x132))/0xd);if(_0x59ea05===_0x36c6f3)break;else _0x350e59['push'](_0x350e59['shift']());}catch(_0x6efca5){_0x350e59['push'](_0x350e59['shift']());}}}(a5_0x13ac,0xa162a));function a5_0x103b(_0x3e8433,_0x316371){_0x3e8433=_0x3e8433-0x125;const _0x13acd0=a5_0x13ac();let _0x103b60=_0x13acd0[_0x3e8433];return _0x103b60;}export function buildLoginSuccessHtml(){const _0x50b28d=a5_0x103b,_0x5a3c3a='Unable\x20to\x20close\x20automatically.\x20Please\x20close\x20this\x20tab\x20or\x20window\x20manually.';return'<!doctype\x20html>\x0a<html\x20lang=\x22en\x22>\x0a<head>\x0a\x20\x20<meta\x20charset=\x22utf-8\x22>\x0a\x20\x20<meta\x20name=\x22viewport\x22\x20content=\x22width=device-width,\x20initial-scale=1\x22>\x0a\x20\x20<title>Login\x20successful\x20ยท\x20Lovrabet\x20CLI</title>\x0a\x20\x20<style>\x0a\x20\x20\x20\x20:root\x20{\x0a\x20\x20\x20\x20\x20\x20--bg0:\x20#0f1419;\x0a\x20\x20\x20\x20\x20\x20--bg1:\x20#1a2332;\x0a\x20\x20\x20\x20\x20\x20--card:\x20#ffffff;\x0a\x20\x20\x20\x20\x20\x20--text:\x20#1c2128;\x0a\x20\x20\x20\x20\x20\x20--muted:\x20#5c6570;\x0a\x20\x20\x20\x20\x20\x20--accent:\x20#2563eb;\x0a\x20\x20\x20\x20\x20\x20--accent-soft:\x20#eff6ff;\x0a\x20\x20\x20\x20\x20\x20--success:\x20#059669;\x0a\x20\x20\x20\x20\x20\x20--radius:\x2016px;\x0a\x20\x20\x20\x20\x20\x20--shadow:\x200\x2025px\x2050px\x20-12px\x20rgba(15,\x2020,\x2025,\x200.35);\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20*\x20{\x20box-sizing:\x20border-box;\x20}\x0a\x20\x20\x20\x20body\x20{\x0a\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20min-height:\x20100vh;\x0a\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20align-items:\x20center;\x0a\x20\x20\x20\x20\x20\x20justify-content:\x20center;\x0a\x20\x20\x20\x20\x20\x20padding:\x2024px;\x0a\x20\x20\x20\x20\x20\x20font-family:\x20ui-sans-serif,\x20system-ui,\x20-apple-system,\x20\x22Segoe\x20UI\x22,\x20Roboto,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x22Helvetica\x20Neue\x22,\x20Arial,\x20\x22Noto\x20Sans\x22,\x20\x22PingFang\x20SC\x22,\x20\x22Microsoft\x20YaHei\x22,\x20sans-serif;\x0a\x20\x20\x20\x20\x20\x20background:\x20linear-gradient(160deg,\x20var(--bg0)\x200%,\x20var(--bg1)\x2045%,\x20#243047\x20100%);\x0a\x20\x20\x20\x20\x20\x20color:\x20var(--text);\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20.card\x20{\x0a\x20\x20\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20\x20\x20max-width:\x20420px;\x0a\x20\x20\x20\x20\x20\x20background:\x20var(--card);\x0a\x20\x20\x20\x20\x20\x20border-radius:\x20var(--radius);\x0a\x20\x20\x20\x20\x20\x20box-shadow:\x20var(--shadow);\x0a\x20\x20\x20\x20\x20\x20padding:\x2040px\x2036px\x2032px;\x0a\x20\x20\x20\x20\x20\x20text-align:\x20center;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20.icon\x20{\x0a\x20\x20\x20\x20\x20\x20width:\x2064px;\x0a\x20\x20\x20\x20\x20\x20height:\x2064px;\x0a\x20\x20\x20\x20\x20\x20margin:\x200\x20auto\x2020px;\x0a\x20\x20\x20\x20\x20\x20border-radius:\x2050%;\x0a\x20\x20\x20\x20\x20\x20background:\x20var(--accent-soft);\x0a\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20align-items:\x20center;\x0a\x20\x20\x20\x20\x20\x20justify-content:\x20center;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20.icon\x20svg\x20{\x20width:\x2036px;\x20height:\x2036px;\x20}\x0a\x20\x20\x20\x20h1\x20{\x0a\x20\x20\x20\x20\x20\x20margin:\x200\x200\x2012px;\x0a\x20\x20\x20\x20\x20\x20font-size:\x201.375rem;\x0a\x20\x20\x20\x20\x20\x20font-weight:\x20600;\x0a\x20\x20\x20\x20\x20\x20letter-spacing:\x20-0.02em;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20p.lead\x20{\x0a\x20\x20\x20\x20\x20\x20margin:\x200\x200\x208px;\x0a\x20\x20\x20\x20\x20\x20font-size:\x200.9375rem;\x0a\x20\x20\x20\x20\x20\x20color:\x20var(--muted);\x0a\x20\x20\x20\x20\x20\x20line-height:\x201.55;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20.countdown\x20{\x0a\x20\x20\x20\x20\x20\x20display:\x20inline-flex;\x0a\x20\x20\x20\x20\x20\x20align-items:\x20center;\x0a\x20\x20\x20\x20\x20\x20gap:\x206px;\x0a\x20\x20\x20\x20\x20\x20margin-top:\x2016px;\x0a\x20\x20\x20\x20\x20\x20padding:\x208px\x2014px;\x0a\x20\x20\x20\x20\x20\x20font-size:\x200.875rem;\x0a\x20\x20\x20\x20\x20\x20font-variant-numeric:\x20tabular-nums;\x0a\x20\x20\x20\x20\x20\x20color:\x20var(--accent);\x0a\x20\x20\x20\x20\x20\x20background:\x20var(--accent-soft);\x0a\x20\x20\x20\x20\x20\x20border-radius:\x20999px;\x0a\x20\x20\x20\x20\x20\x20font-weight:\x20500;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20#manualMsg\x20{\x0a\x20\x20\x20\x20\x20\x20display:\x20none;\x0a\x20\x20\x20\x20\x20\x20margin-top:\x2020px;\x0a\x20\x20\x20\x20\x20\x20font-size:\x200.8125rem;\x0a\x20\x20\x20\x20\x20\x20color:\x20#b91c1c;\x0a\x20\x20\x20\x20\x20\x20line-height:\x201.45;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20.cli-hint\x20{\x0a\x20\x20\x20\x20\x20\x20margin-top:\x2028px;\x0a\x20\x20\x20\x20\x20\x20padding-top:\x2024px;\x0a\x20\x20\x20\x20\x20\x20border-top:\x201px\x20solid\x20#e8ecf0;\x0a\x20\x20\x20\x20\x20\x20font-size:\x200.75rem;\x0a\x20\x20\x20\x20\x20\x20color:\x20#8b949e;\x0a\x20\x20\x20\x20}\x0a\x20\x20</style>\x0a</head>\x0a<body>\x0a\x20\x20<div\x20class=\x22card\x22\x20role=\x22status\x22\x20aria-live=\x22polite\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22icon\x22\x20aria-hidden=\x22true\x22>\x0a\x20\x20\x20\x20\x20\x20<svg\x20viewBox=\x220\x200\x2024\x2024\x22\x20fill=\x22none\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<circle\x20cx=\x2212\x22\x20cy=\x2212\x22\x20r=\x2210\x22\x20stroke=\x22#059669\x22\x20stroke-width=\x222\x22\x20fill=\x22none\x22/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<path\x20d=\x22M8\x2012.5l2.5\x202.5L16\x209\x22\x20stroke=\x22#059669\x22\x20stroke-width=\x222\x22\x20stroke-linecap=\x22round\x22\x20stroke-linejoin=\x22round\x22/>\x0a\x20\x20\x20\x20\x20\x20</svg>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<h1>Login\x20successful</h1>\x0a\x20\x20\x20\x20<p\x20class=\x22lead\x22>You\x20can\x20return\x20to\x20the\x20terminal\x20to\x20continue.\x20This\x20window\x20will\x20try\x20to\x20close\x20automatically.</p>\x0a\x20\x20\x20\x20<div\x20class=\x22countdown\x22>\x0a\x20\x20\x20\x20\x20\x20Closing\x20in\x20<span\x20id=\x22t\x22>5</span>s\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<div\x20id=\x22manualMsg\x22>'+_0x5a3c3a+_0x50b28d(0x12c);}
@@ -1 +0,0 @@
1
- (function(_0x444184,_0x452d21){var _0x251d4c=a6_0x2c7c,_0x34212d=_0x444184();while(!![]){try{var _0x541a38=parseInt(_0x251d4c(0x127))/0x1*(-parseInt(_0x251d4c(0x12c))/0x2)+parseInt(_0x251d4c(0x12d))/0x3+-parseInt(_0x251d4c(0x126))/0x4+parseInt(_0x251d4c(0x129))/0x5+-parseInt(_0x251d4c(0x128))/0x6+parseInt(_0x251d4c(0x12f))/0x7*(parseInt(_0x251d4c(0x125))/0x8)+parseInt(_0x251d4c(0x12a))/0x9;if(_0x541a38===_0x452d21)break;else _0x34212d['push'](_0x34212d['shift']());}catch(_0x101bca){_0x34212d['push'](_0x34212d['shift']());}}}(a6_0xa52c,0xa9bee));function a6_0xa52c(){var _0x4c5dff=['2653vwGdKG','568XZkdMi','312040iuzNBS','7522XOwyAW','4950894fxsoRe','3133530aBZILx','3871899FFBJuk','โœ“\x20Logged\x20out','10tcnlwO','1656663HUylGf','log'];a6_0xa52c=function(){return _0x4c5dff;};return a6_0xa52c();}function a6_0x2c7c(_0xccdbcd,_0x2264a2){_0xccdbcd=_0xccdbcd-0x125;var _0xa52c2f=a6_0xa52c();var _0x2c7c95=_0xa52c2f[_0xccdbcd];return _0x2c7c95;}import{unlinkSync,existsSync}from'node:fs';import{cookieFile}from'../auth/constant.js';export function logout(){var _0x271f95=a6_0x2c7c;existsSync(cookieFile)?(unlinkSync(cookieFile),console[_0x271f95(0x12e)](_0x271f95(0x12b))):console['log']('!\x20Not\x20logged\x20in');}