@offgridsec/kira-lite-mcp 0.1.5 → 0.1.7

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/INSTALL.md CHANGED
@@ -14,14 +14,10 @@ Kira-Lite by [Offgrid Security](https://offgridsec.com) scans code for vulnerabi
14
14
  ## Step 1: Install
15
15
 
16
16
  ```bash
17
- npm install -g @offgridsec/kira-lite-mcp
17
+ npx -y @offgridsec/kira-lite-mcp
18
18
  ```
19
19
 
20
- Or use `npx` to run without installing:
21
-
22
- ```bash
23
- npx @offgridsec/kira-lite-mcp
24
- ```
20
+ > **No global install needed.** All setups use `npx -y`, which fetches the latest version automatically on every launch — you'll always be up to date.
25
21
 
26
22
  ---
27
23
 
@@ -75,20 +71,23 @@ cd /path/to/your-project
75
71
  #### macOS / Linux
76
72
 
77
73
  ```bash
78
- cp $(npm root -g)/@offgridsec/kira-lite-mcp/config/CLAUDE.md .
74
+ PKG=$(node -e "console.log(require.resolve('@offgridsec/kira-lite-mcp/config/CLAUDE.md').replace('/config/CLAUDE.md',''))")
75
+ cp "$PKG/config/CLAUDE.md" .
79
76
  mkdir -p .claude
80
- cp $(npm root -g)/@offgridsec/kira-lite-mcp/config/settings.local.json .claude/settings.local.json
77
+ cp "$PKG/config/settings.local.json" .claude/settings.local.json
81
78
  ```
82
79
 
83
80
  #### Windows (PowerShell)
84
81
 
85
82
  ```powershell
86
- $pkg = (npm root -g) + "\@offgridsec\kira-lite-mcp"
83
+ $pkg = Split-Path (node -e "console.log(require.resolve('@offgridsec/kira-lite-mcp/package.json'))")
87
84
  Copy-Item "$pkg\config\CLAUDE.md" .
88
85
  New-Item -ItemType Directory -Force .claude | Out-Null
89
86
  Copy-Item "$pkg\config\settings.local.json" .claude\settings.local.json
90
87
  ```
91
88
 
89
+ > **Tip:** If the package isn't cached yet, run `npx -y @offgridsec/kira-lite-mcp` once first to download it.
90
+
92
91
  ---
93
92
 
94
93
  ### Scenario B: Project Already Has a CLAUDE.md
@@ -98,8 +97,9 @@ Copy-Item "$pkg\config\settings.local.json" .claude\settings.local.json
98
97
  #### macOS / Linux
99
98
 
100
99
  ```bash
100
+ PKG=$(node -e "console.log(require.resolve('@offgridsec/kira-lite-mcp/config/CLAUDE.md').replace('/config/CLAUDE.md',''))")
101
101
  echo "" >> CLAUDE.md
102
- cat $(npm root -g)/@offgridsec/kira-lite-mcp/config/CLAUDE.md >> CLAUDE.md
102
+ cat "$PKG/config/CLAUDE.md" >> CLAUDE.md
103
103
  ```
104
104
 
105
105
  #### Manual Option
@@ -282,9 +282,6 @@ get_config()
282
282
  ```bash
283
283
  # Claude Code
284
284
  claude mcp remove --scope user kira-lite
285
-
286
- # npm
287
- npm uninstall -g @offgridsec/kira-lite-mcp
288
285
  ```
289
286
 
290
287
  ### Remove config
@@ -324,7 +321,7 @@ Your scan mode is set to `"on-save"` or `"manual"`. Check with `get_config()` an
324
321
  Make sure Node.js can find the hook script:
325
322
 
326
323
  ```bash
327
- node $(npm root -g)/@offgridsec/kira-lite-mcp/hook.mjs
324
+ node $(node -e "console.log(require.resolve('@offgridsec/kira-lite-mcp/hook.mjs'))")
328
325
  ```
329
326
 
330
327
  If it exits with no output, it's working. If it throws an error, check the path.
package/README.md CHANGED
@@ -21,13 +21,11 @@ Security tools shouldn't live in a separate tab. Kira-Lite runs **inside your AI
21
21
  ## Quick Start
22
22
 
23
23
  ```bash
24
- # Install globally
25
- npm install -g @offgridsec/kira-lite-mcp
26
-
27
- # Or run directly without installing
28
- npx @offgridsec/kira-lite-mcp
24
+ npx -y @offgridsec/kira-lite-mcp
29
25
  ```
30
26
 
27
+ > **No global install needed.** All IDE setups below use `npx -y`, which fetches the latest version automatically on every launch — you'll always be up to date.
28
+
31
29
  ---
32
30
 
33
31
  ## Setup by IDE / Tool
@@ -55,12 +53,15 @@ Navigate to your project directory, then copy the two config files:
55
53
  ```bash
56
54
  cd /path/to/your-project
57
55
 
56
+ # Resolve the package path via npx cache
57
+ PKG=$(node -e "console.log(require.resolve('@offgridsec/kira-lite-mcp/config/CLAUDE.md').replace('/config/CLAUDE.md',''))")
58
+
58
59
  # Copy CLAUDE.md (tells Claude to scan before every write)
59
- cp $(npm root -g)/@offgridsec/kira-lite-mcp/config/CLAUDE.md .
60
+ cp "$PKG/config/CLAUDE.md" .
60
61
 
61
62
  # Copy settings (auto-allows kira-lite tools + adds post-write hook)
62
63
  mkdir -p .claude
63
- cp $(npm root -g)/@offgridsec/kira-lite-mcp/config/settings.local.json .claude/settings.local.json
64
+ cp "$PKG/config/settings.local.json" .claude/settings.local.json
64
65
  ```
65
66
 
66
67
  **Windows (PowerShell):**
@@ -68,12 +69,14 @@ cp $(npm root -g)/@offgridsec/kira-lite-mcp/config/settings.local.json .claude/s
68
69
  ```powershell
69
70
  cd C:\path\to\your-project
70
71
 
71
- $pkg = (npm root -g) + "\@offgridsec\kira-lite-mcp"
72
+ $pkg = Split-Path (node -e "console.log(require.resolve('@offgridsec/kira-lite-mcp/package.json'))")
72
73
  Copy-Item "$pkg\config\CLAUDE.md" .
73
74
  New-Item -ItemType Directory -Force .claude | Out-Null
74
75
  Copy-Item "$pkg\config\settings.local.json" .claude\settings.local.json
75
76
  ```
76
77
 
78
+ > **Tip:** If the package isn't cached yet, run `npx -y @offgridsec/kira-lite-mcp` once first to download it.
79
+
77
80
  > **Already have a `CLAUDE.md` or `.claude/settings.local.json`?** Don't overwrite them — merge manually:
78
81
  >
79
82
  > <details>
@@ -83,8 +86,9 @@ Copy-Item "$pkg\config\settings.local.json" .claude\settings.local.json
83
86
  >
84
87
  > ```bash
85
88
  > # macOS / Linux
89
+ > PKG=$(node -e "console.log(require.resolve('@offgridsec/kira-lite-mcp/config/CLAUDE.md').replace('/config/CLAUDE.md',''))")
86
90
  > echo "" >> CLAUDE.md
87
- > cat $(npm root -g)/@offgridsec/kira-lite-mcp/config/CLAUDE.md >> CLAUDE.md
91
+ > cat "$PKG/config/CLAUDE.md" >> CLAUDE.md
88
92
  > ```
89
93
  >
90
94
  > Or manually add this block to the bottom of your `CLAUDE.md`:
@@ -108,16 +112,6 @@ Copy-Item "$pkg\config\settings.local.json" .claude\settings.local.json
108
112
  > - Tell the user what you found and what you fixed
109
113
  > - This applies to ALL files: .js, .ts, .py, .go, .java, .rb, .php, .yaml, .tf, Dockerfile, etc.
110
114
  >
111
- > ## ONBOARDING — First-time registration check
112
- >
113
- > On your **FIRST interaction** in any new conversation, you MUST call `get_config`.
114
- >
115
- > - If `registered` is `true`, do NOT mention registration. Proceed normally.
116
- > - If `registered` is `false` AND `registrationSkippedUntil` is a future date, do NOT ask. The user already skipped.
117
- > - If `registered` is `false` AND `registrationSkippedUntil` is `null`, ask the user:
118
- > > "Kira-Lite is active! Would you like to register your email? You'll get: new vulnerability rule alerts, security advisories for popular frameworks, and product updates. Just share your email or say 'skip'."
119
- > - If the user provides an email, call `register`. If they skip, call `skip_registration` (7-day cooldown).
120
- > - Do NOT ask about registration more than once per conversation.
121
115
  > ```
122
116
  >
123
117
  > </details>
@@ -237,14 +231,6 @@ You MUST call the `scan_code` MCP tool before EVERY code change. No exceptions.
237
231
  4. For edits to existing files, use `scan_diff` with original and new code
238
232
  5. If scan returns critical or high findings, DO NOT write the code
239
233
  6. Tell the user what you found and what you fixed
240
-
241
- # ONBOARDING — First-time registration check
242
- On your FIRST interaction in any new conversation, call `get_config`.
243
- - If `registered` is false and `registrationSkippedUntil` is null, ask the user:
244
- "Kira-Lite is active! Would you like to register your email? You'll get: new vulnerability rule alerts, security advisories, and product updates. Share your email or say 'skip'."
245
- - If user provides email, call `register`. If they skip, call `skip_registration` (7-day cooldown).
246
- - If `registered` is true or `registrationSkippedUntil` is a future date, do not ask.
247
- - Do NOT ask about registration more than once per conversation.
248
234
  ```
249
235
 
250
236
  #### Step 3 — Verify
@@ -285,14 +271,6 @@ You MUST call the `scan_code` MCP tool before EVERY code change. No exceptions.
285
271
  4. For edits to existing files, use `scan_diff` with original and new code
286
272
  5. If scan returns critical or high findings, DO NOT write the code
287
273
  6. Tell the user what you found and what you fixed
288
-
289
- # ONBOARDING — First-time registration check
290
- On your FIRST interaction in any new conversation, call `get_config`.
291
- - If `registered` is false and `registrationSkippedUntil` is null, ask the user:
292
- "Kira-Lite is active! Would you like to register your email? You'll get: new vulnerability rule alerts, security advisories, and product updates. Share your email or say 'skip'."
293
- - If user provides email, call `register`. If they skip, call `skip_registration` (7-day cooldown).
294
- - If `registered` is true or `registrationSkippedUntil` is a future date, do not ask.
295
- - Do NOT ask about registration more than once per conversation.
296
274
  ```
297
275
 
298
276
  #### Step 3 — Verify
@@ -333,14 +311,6 @@ You MUST call the `scan_code` MCP tool before EVERY code change. No exceptions.
333
311
  4. For edits to existing files, use `scan_diff` with original and new code
334
312
  5. If scan returns critical or high findings, DO NOT write the code
335
313
  6. Tell the user what you found and what you fixed
336
-
337
- # ONBOARDING — First-time registration check
338
- On your FIRST interaction in any new conversation, call `get_config`.
339
- - If `registered` is false and `registrationSkippedUntil` is null, ask the user:
340
- "Kira-Lite is active! Would you like to register your email? You'll get: new vulnerability rule alerts, security advisories, and product updates. Share your email or say 'skip'."
341
- - If user provides email, call `register`. If they skip, call `skip_registration` (7-day cooldown).
342
- - If `registered` is true or `registrationSkippedUntil` is a future date, do not ask.
343
- - Do NOT ask about registration more than once per conversation.
344
314
  ```
345
315
 
346
316
  #### Step 3 — Verify
@@ -377,14 +347,6 @@ You MUST call the `scan_code` MCP tool before EVERY code change. No exceptions.
377
347
  4. For edits to existing files, use `scan_diff` with original and new code
378
348
  5. If scan returns critical or high findings, DO NOT write the code
379
349
  6. Tell the user what you found and what you fixed
380
-
381
- # ONBOARDING — First-time registration check
382
- On your FIRST interaction in any new conversation, call `get_config`.
383
- - If `registered` is false and `registrationSkippedUntil` is null, ask the user:
384
- "Kira-Lite is active! Would you like to register your email? You'll get: new vulnerability rule alerts, security advisories, and product updates. Share your email or say 'skip'."
385
- - If user provides email, call `register`. If they skip, call `skip_registration` (7-day cooldown).
386
- - If `registered` is true or `registrationSkippedUntil` is a future date, do not ask.
387
- - Do NOT ask about registration more than once per conversation.
388
350
  ```
389
351
 
390
352
  #### Step 3 — Verify
@@ -430,14 +392,6 @@ You MUST call the `scan_code` MCP tool before EVERY code change. No exceptions.
430
392
  4. For edits to existing files, use `scan_diff` with original and new code
431
393
  5. If scan returns critical or high findings, DO NOT write the code
432
394
  6. Tell the user what you found and what you fixed
433
-
434
- # ONBOARDING — First-time registration check
435
- On your FIRST interaction in any new conversation, call `get_config`.
436
- - If `registered` is false and `registrationSkippedUntil` is null, ask the user:
437
- "Kira-Lite is active! Would you like to register your email? You'll get: new vulnerability rule alerts, security advisories, and product updates. Share your email or say 'skip'."
438
- - If user provides email, call `register`. If they skip, call `skip_registration` (7-day cooldown).
439
- - If `registered` is true or `registrationSkippedUntil` is a future date, do not ask.
440
- - Do NOT ask about registration more than once per conversation.
441
395
  ```
442
396
 
443
397
  #### Step 3 — Verify
@@ -480,14 +434,6 @@ You MUST call the `scan_code` MCP tool before EVERY code change. No exceptions.
480
434
  4. For edits to existing files, use `scan_diff` with original and new code
481
435
  5. If scan returns critical or high findings, DO NOT write the code
482
436
  6. Tell the user what you found and what you fixed
483
-
484
- # ONBOARDING — First-time registration check
485
- On your FIRST interaction in any new conversation, call `get_config`.
486
- - If `registered` is false and `registrationSkippedUntil` is null, ask the user:
487
- "Kira-Lite is active! Would you like to register your email? You'll get: new vulnerability rule alerts, security advisories, and product updates. Share your email or say 'skip'."
488
- - If user provides email, call `register`. If they skip, call `skip_registration` (7-day cooldown).
489
- - If `registered` is true or `registrationSkippedUntil` is a future date, do not ask.
490
- - Do NOT ask about registration more than once per conversation.
491
437
  ```
492
438
 
493
439
  ---
@@ -569,11 +515,13 @@ Register your email to receive security updates — new vulnerability rules, sec
569
515
 
570
516
  ### How it works
571
517
 
572
- On your first conversation, your AI assistant will ask if you'd like to register. You can:
518
+ Registration is **server-driven** — no instructions file setup required. The first time you use any scan tool (`scan_code`, `scan_file`, or `scan_diff`), the server automatically appends a registration prompt to the scan results if you haven't registered yet. You can:
573
519
 
574
520
  - **Register** — provide your email and the assistant calls `register`
575
521
  - **Skip** — say "skip" and you won't be asked again for 7 days
576
522
 
523
+ The prompt appears once per session and respects the 7-day skip cooldown. No `CLAUDE.md`, `.cursorrules`, or other instructions file is needed to trigger registration.
524
+
577
525
  ### Manual registration
578
526
 
579
527
  You can also register anytime by asking your AI assistant:
@@ -844,7 +792,7 @@ Your scan mode is set to `"on-save"` or `"manual"`. Check with `get_config()` an
844
792
  Make sure Node.js can find the hook script:
845
793
 
846
794
  ```bash
847
- node $(npm root -g)/@offgridsec/kira-lite-mcp/hook.mjs
795
+ node $(node -e "console.log(require.resolve('@offgridsec/kira-lite-mcp/hook.mjs'))")
848
796
  ```
849
797
 
850
798
  If it exits with no output, it's working. If it throws an error, check the path.
@@ -863,10 +811,7 @@ For Claude Code projects, also remove kira-lite entries from `.claude/settings.l
863
811
  # Claude Code
864
812
  claude mcp remove --scope user kira-lite
865
813
 
866
- # npm
867
- npm uninstall -g @offgridsec/kira-lite-mcp
868
-
869
- # Remove config
814
+ # Remove local config
870
815
  rm -rf ~/.kira-lite
871
816
  ```
872
817
 
package/config/CLAUDE.md CHANGED
@@ -24,21 +24,3 @@ RIGHT (always do this):
24
24
  - If scan returns critical or high findings, DO NOT write the code
25
25
  - Tell the user what you found and what you fixed
26
26
  - This applies to ALL files: .js, .ts, .py, .go, .java, .rb, .php, .yaml, .tf, Dockerfile, etc.
27
-
28
- ## ONBOARDING — First-time registration check
29
-
30
- On your **FIRST interaction** in any new conversation, you MUST call `get_config`.
31
-
32
- - If `registered` is `true`, do NOT mention registration. Proceed normally.
33
- - If `registered` is `false` AND `registrationSkippedUntil` is a future date, do NOT ask about registration. The user already skipped — respect the cooldown.
34
- - If `registered` is `false` AND `registrationSkippedUntil` is `null` (expired or never set), ask the user:
35
- > "Kira-Lite security scanner is active and protecting your code! Would you like to register your email? It's optional, but here's what you get:
36
- >
37
- > - **New vulnerability rules** — get notified when Kira adds detection for new CVEs and attack patterns
38
- > - **Security advisories** — early alerts for critical vulnerabilities affecting popular frameworks and libraries
39
- > - **Product updates** — new features, engine improvements, and expanded language support
40
- >
41
- > Just share your email and I'll register you, or say 'skip' to continue without it."
42
- - If the user provides an email, call the `register` tool with their email.
43
- - If the user declines or says "skip", call the `skip_registration` tool to record it (suppresses the prompt for 7 days).
44
- - **Do NOT ask about registration more than once per conversation.**
package/dist/config.js CHANGED
@@ -1 +1 @@
1
- (function(_0x226df3,_0x5a6540){const _0x4b5a76={_0x142955:0xac,_0x6fe969:0x96,_0x1814ba:0x30f,_0xdc6c23:0x94,_0x318368:0x304,_0x2cd2a9:0x317,_0x24f076:0x31c,_0x30204f:0x8b,_0x483460:0x2fb,_0x2921ca:0xa8,_0x1facaa:0x88,_0x21aea4:0x80},_0x54fb05={_0x5cd67c:0x37};function _0x2371ed(_0x3cfd1b,_0xd204eb){return _0x15de(_0x3cfd1b-0x23d,_0xd204eb);}function _0x3d6eb8(_0x2d5da0,_0x788b27){return _0x15de(_0x2d5da0- -_0x54fb05._0x5cd67c,_0x788b27);}const _0x270aad=_0x226df3();while(!![]){try{const _0x5cb805=-parseInt(_0x3d6eb8(_0x4b5a76._0x142955,_0x4b5a76._0x6fe969))/(-0xd88+-0x3*-0xa79+-0x15*0xda)*(-parseInt(_0x2371ed(0x30a,_0x4b5a76._0x1814ba))/(-0x11*-0x165+0x229*0xf+-0x56*0xa7))+-parseInt(_0x3d6eb8(_0x4b5a76._0xdc6c23,0x85))/(-0x4f5+-0x20ed*-0x1+-0x1bf5)*(-parseInt(_0x2371ed(0x30d,_0x4b5a76._0x318368))/(0x3*-0xb9b+-0x3c4*-0x3+0x1*0x1789))+-parseInt(_0x3d6eb8(0x81,0x70))/(-0x323*-0x6+0x26f0+-0x39bd)+parseInt(_0x2371ed(_0x4b5a76._0x2cd2a9,_0x4b5a76._0x24f076))/(-0xea4*-0x1+0x318+-0x11b6)+-parseInt(_0x3d6eb8(0xa6,_0x4b5a76._0x30204f))/(0x1d9e+0x42*0x10+-0x21b7)*(parseInt(_0x2371ed(0x301,_0x4b5a76._0x483460))/(0x683*-0x2+0x37b+0x331*0x3))+-parseInt(_0x3d6eb8(_0x4b5a76._0x2921ca,_0x4b5a76._0x1facaa))/(-0x1a7*0x2+0x1347+-0xff*0x10)+parseInt(_0x3d6eb8(_0x4b5a76._0x21aea4,0xa0))/(-0x15ab+0x1*-0x554+0x1b09);if(_0x5cb805===_0x5a6540)break;else _0x270aad['push'](_0x270aad['shift']());}catch(_0x576863){_0x270aad['push'](_0x270aad['shift']());}}}(_0x5465,-0xaabe2+0x46c84+0xd0188));import{readFileSync,writeFileSync,mkdirSync}from'node:fs';import{join}from'node:path';function _0x15de(_0x273492,_0x3938a2){_0x273492=_0x273492-(-0x58*-0x2c+0x2*0x10e7+0x9*-0x55d);const _0x89157d=_0x5465();let _0x4a544c=_0x89157d[_0x273492];if(_0x15de['QZENQF']===undefined){var _0x1dd6f3=function(_0x3440b3){const _0x282ae7='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x356258='',_0xaabdf6='';for(let _0x2da078=0x193e+-0x1d2c+-0x2*-0x1f7,_0x309a41,_0x3c177e,_0xc8c3be=0x2223+-0x1c2b+-0x4*0x17e;_0x3c177e=_0x3440b3['charAt'](_0xc8c3be++);~_0x3c177e&&(_0x309a41=_0x2da078%(-0x248d*0x1+0x2562+-0x13*0xb)?_0x309a41*(0x7f8+0x1e59+-0x2611)+_0x3c177e:_0x3c177e,_0x2da078++%(-0x8f1+0x725+0x1d0))?_0x356258+=String['fromCharCode'](0x1d*0x2+-0x3*0xa9f+0x20a2&_0x309a41>>(-(-0x47*0x4+0x155*0x5+0x58b*-0x1)*_0x2da078&-0xb*0x273+-0x40b+-0x15*-0x17a)):0x9*-0x1b7+0x1*0x166e+-0x6ff){_0x3c177e=_0x282ae7['indexOf'](_0x3c177e);}for(let _0x75b9bf=0xec*-0x1e+-0x1*0x17f9+0x33a1,_0x2b206d=_0x356258['length'];_0x75b9bf<_0x2b206d;_0x75b9bf++){_0xaabdf6+='%'+('00'+_0x356258['charCodeAt'](_0x75b9bf)['toString'](-0x2197+-0xb5*-0x1f+0xbbc))['slice'](-(0x449+0x1e32+-0x2279));}return decodeURIComponent(_0xaabdf6);};_0x15de['DWTNcy']=_0x1dd6f3,_0x15de['pEjcqI']={},_0x15de['QZENQF']=!![];}const _0x41e40d=_0x89157d[0x100c+0x364+-0x137*0x10],_0x2041a2=_0x273492+_0x41e40d,_0x3404f3=_0x15de['pEjcqI'][_0x2041a2];return!_0x3404f3?(_0x4a544c=_0x15de['DWTNcy'](_0x4a544c),_0x15de['pEjcqI'][_0x2041a2]=_0x4a544c):_0x4a544c=_0x3404f3,_0x4a544c;}import{homedir}from'node:os';const _0x44835a={};_0x44835a[_0x58e0b8(0x156,0x173)+'ode']=_0x5be677(0x256,0x269)+_0x5be677(0x26b,0x277);const DEFAULT_CONFIG=_0x44835a,VALID_SCAN_MODES=[_0x58e0b8(0x14d,0x145)+_0x5be677(0x26b,0x255),_0x5be677(0x245,0x248)+'ve','manua'+'l'];function getConfigDir(){const _0x2bd302={_0x57f436:0x2d3};function _0x3b3089(_0x13d46a,_0x5c312c){return _0x5be677(_0x13d46a- -0x535,_0x5c312c);}const _0x5ffa68={'bcTLN':function(_0x54e384){return _0x54e384();}};return join(_0x5ffa68['bcTLN'](homedir),'.kira'+_0x3b3089(-0x2f2,-_0x2bd302._0x57f436));}function getConfigPath(){const _0x681530={_0x10c65f:0x31c,_0xca6ee7:0x2db,_0x527eeb:0x305},_0x1f9697={_0x511db4:0xd},_0x109a81={};function _0x428dd8(_0x35dc65,_0x106120){return _0x5be677(_0x106120-0xb4,_0x35dc65);}_0x109a81[_0x428dd8(0x32d,_0x681530._0x10c65f)]='confi'+_0x428dd8(_0x681530._0xca6ee7,0x2e9)+'n';function _0x434d7d(_0x412e66,_0x1e4a28){return _0x58e0b8(_0x412e66- -_0x1f9697._0x511db4,_0x1e4a28);}const _0xa683cd=_0x109a81;return join(getConfigDir(),_0xa683cd[_0x428dd8(_0x681530._0x527eeb,0x31c)]);}function _0x5465(){const _0x48b4dd=['quTQsee','CMvJDxi','BguUANm','v3PNCK8','zxjywva','zw1HAwW','wKvQD0C','Aw5JBhu','rxDqEfm','u3L3uLa','uNnXzMm','su5ADwO','zY5QC28','AfbgqM4','veDbtMW','B052Dg4','vKvMAK0','Devor2e','nJe0nZi1mePmDLfoBW','ndi3ndq3mhroqNDzuq','zwrvBNq','zNLeAvi','DKXsDvC','y29UzMK','z2LMEq','CgfYC2u','lwXPDgu','ww1kC0m','B24TC2e','qvrfrMe','r1zpt0y','odi2nfDiALPWqG','C3rYAw4','tvjtseC','ChjVzMK','qwLjsey','zgvZ','AezYCwm','nZqWmtmZu0v4DeHe','D2T4DNy','mKvfuKDjqG','ANz0rMG','DxrMltG','nfLhCg9trW','y1fmD3i','zxzLCNK','vMjPqM8','B2rL','AuTsDMu','r0DmA2q','C2L2zq','B2HAvw4','uM5gAuO','nde3odm4mKzICK5pBG','C2nHBK0','wfzRsuK','otCZzhPLsNHg','t1L2uui','mZK5nZm5nxPnDMXsza','y0zZDfq','AeXoAMW','rhL1u0W','mZi3nZi1ywPfDeTM','q0PizxO','qwXRCgu','C2TPCha','lwvKAxq'];_0x5465=function(){return _0x48b4dd;};return _0x5465();}export function loadConfig(){const _0xfd561e={_0x46898c:0xf5,_0x323404:0x206,_0x1bc616:0x21d,_0x5cc9c9:0x112,_0x4a29d3:0xfd,_0x4133b8:0x108,_0x36f7a5:0x1ee,_0x438cd2:0x11d,_0x555421:0x113,_0x1039bf:0x201,_0x3ae0da:0x1d9,_0x170487:0xee,_0x211fbe:0x106,_0x572929:0x1f1,_0xf415dc:0x225,_0xbbc435:0x1f6,_0x1fa83f:0x1e5,_0x1d0259:0x1f3,_0x5cfb04:0x214,_0x31e3fc:0x1f0,_0x37b937:0x1f0,_0x3eb78a:0x107,_0x1c6746:0x121,_0x13f97b:0x115,_0x292488:0x10f,_0x4e0565:0xf7,_0x17920b:0xfd};function _0x182a1c(_0x2e4771,_0x4e3e5b){return _0x5be677(_0x4e3e5b- -0x455,_0x2e4771);}function _0x1d8dc7(_0x53812d,_0x3acac8){return _0x5be677(_0x53812d- -0x14c,_0x3acac8);}const _0x5ae70b={'tENGa':function(_0x429522,_0x48a8f0,_0x459f70){return _0x429522(_0x48a8f0,_0x459f70);},'MRSHG':function(_0x5647b7){return _0x5647b7();},'yEaEA':_0x1d8dc7(0xf4,_0xfd561e._0x46898c)+'g.jso'+'n','dZNvG':function(_0x591c4d,_0x436d56,_0x260276,_0x5e0e00){return _0x591c4d(_0x436d56,_0x260276,_0x5e0e00);},'jvtFh':function(_0x3cf923){return _0x3cf923();},'AKjHA':_0x182a1c(-0x1f4,-0x202),'Alkpe':function(_0x322655,_0x56ed98){return _0x322655!==_0x56ed98;},'iKRve':_0x182a1c(-_0xfd561e._0x323404,-_0xfd561e._0x1bc616),'OYvQB':_0x1d8dc7(0xf8,_0xfd561e._0x5cc9c9),'erXYP':function(_0x531746,_0x55021d){return _0x531746===_0x55021d;},'hAnxD':_0x1d8dc7(_0xfd561e._0x4a29d3,_0xfd561e._0x4133b8)+'g','hLNjl':_0x182a1c(-_0xfd561e._0x36f7a5,-0x205),'fyDiR':'cJzfo'};try{if(_0x5ae70b[_0x1d8dc7(_0xfd561e._0x438cd2,_0xfd561e._0x555421)](_0x5ae70b[_0x182a1c(-_0xfd561e._0x1039bf,-0x1fc)],_0x5ae70b[_0x182a1c(-_0xfd561e._0x3ae0da,-0x1f3)])){const _0x49d900=_0x5ae70b[_0x1d8dc7(_0xfd561e._0x170487,0x100)](readFileSync,_0x5ae70b[_0x1d8dc7(_0xfd561e._0x211fbe,0xed)](getConfigPath),_0x5ae70b[_0x182a1c(-_0xfd561e._0x572929,-0x1e9)]),_0x5ee0d5=JSON['parse'](_0x49d900);if(_0x5ee0d5&&_0x5ae70b[_0x1d8dc7(0xe1,0xcf)](typeof _0x5ee0d5[_0x1d8dc7(_0xfd561e._0x555421,0x110)+_0x182a1c(-0x206,-0x1fd)],_0x5ae70b['hAnxD'])&&VALID_SCAN_MODES[_0x182a1c(-0x204,-_0xfd561e._0xf415dc)+'des'](_0x5ee0d5[_0x182a1c(-0x1f6,-_0xfd561e._0xbbc435)+_0x182a1c(-_0xfd561e._0x1fa83f,-0x1fd)])){const _0x3c1a30={};return _0x3c1a30[_0x182a1c(-_0xfd561e._0x1d0259,-0x1f6)+_0x182a1c(-_0xfd561e._0x5cfb04,-0x1fd)]=_0x5ee0d5[_0x1d8dc7(0x113,_0xfd561e._0x4a29d3)+'ode'],_0x3c1a30;}const _0x2db786={...DEFAULT_CONFIG};return _0x2db786;}else return _0x5ae70b[_0x182a1c(-0x233,-0x21b)](_0xcc3a69,_0x5ae70b[_0x182a1c(-_0xfd561e._0x31e3fc,-0x20b)](_0xeed618),_0x5ae70b['yEaEA']);}catch{if(_0x5ae70b['erXYP'](_0x5ae70b[_0x182a1c(-0x1d8,-_0xfd561e._0x37b937)],_0x5ae70b[_0x1d8dc7(0xf2,_0xfd561e._0x3eb78a)])){const _0x11fec4=_0x4aca91(),_0x24ca20={};_0x24ca20[_0x1d8dc7(_0xfd561e._0x1c6746,_0xfd561e._0x13f97b)+_0x1d8dc7(_0xfd561e._0x292488,_0xfd561e._0x4e0565)]=!![],_0x5ae70b['tENGa'](_0x42dd5c,_0x11fec4,_0x24ca20),_0x5ae70b['dZNvG'](_0x5d3574,_0x5ae70b['jvtFh'](_0x300fa9),_0x104748[_0x1d8dc7(_0xfd561e._0x17920b,0xef)+'gify'](_0xdeef6b,null,-0x14cd+0x1*0x61f+-0x2*-0x758),_0x5ae70b['AKjHA']);}else{const _0x4a9d6f={...DEFAULT_CONFIG};return _0x4a9d6f;}}}export function saveConfig(_0x54eed1){const _0x389b92={_0x44fe0e:0x3fb,_0xa27b49:0x30a,_0x296273:0x3ff},_0x3f27e2={'IqKBl':function(_0xa4d72f){return _0xa4d72f();},'TGANl':function(_0x20bdba,_0x46cccb,_0xc4e0b5){return _0x20bdba(_0x46cccb,_0xc4e0b5);},'cQLwr':function(_0xd3020f,_0x5dfe7b,_0x1f5611,_0x5468b9){return _0xd3020f(_0x5dfe7b,_0x1f5611,_0x5468b9);},'Rsqfc':function(_0x1e394f){return _0x1e394f();}},_0x2c45fd=_0x3f27e2['IqKBl'](getConfigDir);function _0x1c9acb(_0x14ff89,_0x139832){return _0x58e0b8(_0x139832-0x2b8,_0x14ff89);}function _0x1bce48(_0x115e57,_0x1d88d6){return _0x5be677(_0x115e57-0xcc,_0x1d88d6);}const _0x4d927c={};_0x4d927c['recur'+'sive']=!![],_0x3f27e2[_0x1c9acb(_0x389b92._0x44fe0e,0x3e6)](mkdirSync,_0x2c45fd,_0x4d927c),_0x3f27e2[_0x1bce48(0x321,0x317)](writeFileSync,_0x3f27e2[_0x1bce48(0x2ff,_0x389b92._0xa27b49)](getConfigPath),JSON[_0x1c9acb(0x40e,0x3f8)+'gify'](_0x54eed1,null,0xd6c+0x2e7*0xc+-0xd*0x3b6),_0x1c9acb(_0x389b92._0x296273,0x402));}function getProfilePath(){const _0x1851ed={_0x3c8c66:0x37,_0x1b2ab0:0x1a8,_0x559338:0x192,_0x134db0:0x6b,_0xcd0dc6:0x75},_0x4963d8={_0x1bd72b:0x4d},_0x1d7a2e={'cFstT':function(_0xecc772,_0x100294,_0x27680b){return _0xecc772(_0x100294,_0x27680b);},'IobUV':function(_0x40ad9c){return _0x40ad9c();},'GVOOF':_0x1eba7d(-0x67,-0x56)+_0x1eba7d(-0x44,-_0x1851ed._0x3c8c66)+'on'};function _0xe0d016(_0x1651a0,_0x456bfa){return _0x58e0b8(_0x1651a0-_0x4963d8._0x1bd72b,_0x456bfa);}function _0x1eba7d(_0x234158,_0x48eaae){return _0x5be677(_0x234158- -0x2b2,_0x48eaae);}return _0x1d7a2e[_0xe0d016(_0x1851ed._0x1b2ab0,_0x1851ed._0x559338)](join,_0x1d7a2e['IobUV'](getConfigDir),_0x1d7a2e[_0x1eba7d(-_0x1851ed._0x134db0,-_0x1851ed._0xcd0dc6)]);}function _0x58e0b8(_0x47d67a,_0x1be757){return _0x15de(_0x47d67a-0x7b,_0x1be757);}function _0x5be677(_0x5a76a0,_0x5ba54d){return _0x15de(_0x5a76a0-0x184,_0x5ba54d);}export function loadProfile(){const _0x359323={_0x40a7d3:0x4a6,_0x15ffd5:0x4a0,_0x20c8f0:0x49c,_0x20f143:0x49d,_0x4c9a9f:0x291,_0x5edb7a:0x299,_0x4aba37:0x277,_0x1797f8:0x27f,_0x159182:0x2ba,_0xdb316d:0x2bd,_0x43e50b:0x47e,_0xbf2cfd:0x2a4,_0xeb2ff0:0x297,_0x5eea2b:0x499,_0x51f12:0x481,_0x2c63d8:0x482,_0x59120d:0x2b5,_0x2ee9d0:0x479,_0x4860d8:0x48f,_0x42a761:0x291,_0x4efcd6:0x4bd,_0x268b66:0x4a1,_0x398a1b:0x2b5,_0x27c544:0x288,_0x2c5300:0x298,_0x2994e:0x2a7,_0xe8375:0x278,_0x20e7e0:0x28d,_0x40c6dd:0x484,_0x192843:0x490,_0x151497:0x2b5,_0x3b9d9c:0x484,_0x1a85fa:0x4a0,_0x3a7a88:0x2b6,_0x3fa59c:0x495,_0x117062:0x286,_0x361fdd:0x2c4,_0x460572:0x2a2,_0x2c1340:0x483,_0xb4e2f9:0x47b,_0x5496bc:0x2b1,_0x7c5656:0x298,_0x2a2904:0x28a,_0x3fd43d:0x2aa,_0x824208:0x4ab,_0x18ebe2:0x2a3,_0xb3f57f:0x2a3},_0x261b00={'ohZUn':function(_0x5dc832){return _0x5dc832();},'WzgrO':_0x157dc8(_0x359323._0x40a7d3,_0x359323._0x15ffd5),'SywRP':function(_0x233c70,_0x13bbc7){return _0x233c70===_0x13bbc7;},'EwPxS':function(_0x1ca4c7,_0x34af9f){return _0x1ca4c7===_0x34af9f;},'VbiBo':_0x157dc8(_0x359323._0x20c8f0,_0x359323._0x20f143)+'g','GGLkd':function(_0x2dd7ae,_0xf7d818,_0x3edcc0){return _0x2dd7ae(_0xf7d818,_0x3edcc0);},'ZEjwG':function(_0x5a0f84){return _0x5a0f84();},'RnFiJ':function(_0x2fa8da,_0x4a5957,_0x4a5422){return _0x2fa8da(_0x4a5957,_0x4a5422);},'VEfjM':_0x1c9d37(_0x359323._0x4c9a9f,0x297),'ATEFa':'GXsPk','hPFBn':_0x1c9d37(0x281,_0x359323._0x5edb7a),'DyuSL':_0x1c9d37(_0x359323._0x4aba37,_0x359323._0x1797f8)};function _0x157dc8(_0x24e3c9,_0x46e3f2){return _0x58e0b8(_0x24e3c9-0x35c,_0x46e3f2);}function _0x1c9d37(_0x2a8df2,_0x2762c9){return _0x5be677(_0x2762c9-0x4b,_0x2a8df2);}try{const _0x36899f=_0x261b00[_0x157dc8(0x4b0,0x4cc)](readFileSync,getProfilePath(),_0x261b00[_0x1c9d37(0x2d5,_0x359323._0x159182)]),_0x3e3a8f=JSON['parse'](_0x36899f),_0x180201={};if(_0x3e3a8f&&_0x261b00[_0x1c9d37(0x299,0x27d)](typeof _0x3e3a8f[_0x1c9d37(0x275,0x279)],_0x261b00[_0x1c9d37(_0x359323._0xdb316d,0x2a2)])){if(_0x261b00[_0x157dc8(0x484,_0x359323._0x43e50b)](_0x261b00[_0x1c9d37(_0x359323._0xbf2cfd,0x284)],_0x1c9d37(0x27c,_0x359323._0xeb2ff0)))_0x180201[_0x157dc8(0x481,_0x359323._0x5eea2b)]=_0x3e3a8f[_0x157dc8(_0x359323._0x51f12,_0x359323._0x2c63d8)];else return{};}if(_0x3e3a8f&&typeof _0x3e3a8f[_0x1c9d37(0x2c6,_0x359323._0x59120d)+_0x157dc8(0x490,_0x359323._0x2ee9d0)+'il']===_0x261b00[_0x157dc8(0x4aa,_0x359323._0x4860d8)]){if(_0x261b00[_0x1c9d37(0x29b,_0x359323._0x42a761)]!==_0x261b00[_0x157dc8(0x489,0x49d)])_0x180201[_0x157dc8(_0x359323._0x4efcd6,_0x359323._0x268b66)+'edUnt'+'il']=_0x3e3a8f[_0x1c9d37(0x2ae,_0x359323._0x398a1b)+_0x1c9d37(0x297,_0x359323._0x27c544)+'il'];else{const _0x5eee57=_0x13301d(_0x261b00[_0x1c9d37(_0x359323._0x2c5300,_0x359323._0x2994e)](_0x5a3281),_0x261b00['WzgrO']),_0x5a8b45=_0x11858c[_0x1c9d37(_0x359323._0xe8375,_0x359323._0x20e7e0)](_0x5eee57),_0x5232f0={};return _0x5a8b45&&_0x261b00[_0x157dc8(0x485,_0x359323._0x20f143)](typeof _0x5a8b45['email'],_0x157dc8(0x49c,0x47f)+'g')&&(_0x5232f0[_0x157dc8(0x481,0x462)]=_0x5a8b45['email']),_0x5a8b45&&_0x261b00[_0x157dc8(_0x359323._0x40c6dd,_0x359323._0x20f143)](typeof _0x5a8b45[_0x157dc8(0x4bd,0x4cf)+_0x157dc8(_0x359323._0x192843,0x493)+'il'],_0x261b00['VbiBo'])&&(_0x5232f0['skipp'+_0x157dc8(0x490,0x49b)+'il']=_0x5a8b45[_0x1c9d37(0x2d5,_0x359323._0x151497)+'edUnt'+'il']),_0x5232f0;}}return _0x180201;}catch{if(_0x261b00[_0x157dc8(_0x359323._0x3b9d9c,_0x359323._0x1a85fa)](_0x261b00[_0x1c9d37(0x2c6,0x2b1)],_0x261b00[_0x1c9d37(_0x359323._0x3a7a88,0x2b1)]))return{};else try{const _0x198ebb=_0x261b00[_0x1c9d37(0x2c2,0x2a5)](_0x1b60fa,_0x261b00[_0x1c9d37(0x26a,0x27a)](_0x4f625c),_0x261b00['WzgrO']),_0x4faa64=_0x24c68e[_0x157dc8(_0x359323._0x3fa59c,0x49d)](_0x198ebb);if(_0x4faa64&&_0x261b00[_0x1c9d37(0x291,0x27d)](typeof _0x4faa64[_0x1c9d37(0x2aa,0x2aa)+_0x1c9d37(_0x359323._0x117062,0x2a3)],_0x261b00[_0x1c9d37(_0x359323._0x361fdd,_0x359323._0x460572)])&&_0x386829[_0x157dc8(_0x359323._0x2c1340,_0x359323._0xb4e2f9)+_0x1c9d37(_0x359323._0x5496bc,_0x359323._0x7c5656)](_0x4faa64[_0x1c9d37(_0x359323._0x2a2904,_0x359323._0x3fd43d)+_0x157dc8(_0x359323._0x824208,0x4ae)])){const _0x190c7c={};return _0x190c7c['scanM'+_0x1c9d37(0x2b3,_0x359323._0x18ebe2)]=_0x4faa64[_0x157dc8(0x4b2,0x4c7)+_0x1c9d37(0x2a6,_0x359323._0xb3f57f)],_0x190c7c;}const _0x5c7365={..._0x1ed3ae};return _0x5c7365;}catch{const _0x52bc88={..._0x2eae88};return _0x52bc88;}}}export function saveProfile(_0x3fa1f2){const _0x41e573={_0xbc7185:0x121,_0x4c7cd7:0x120,_0x3aabc2:0x10a,_0x4a1c2c:0x112,_0x2febe4:0x102,_0x2549f4:0x100,_0xa40481:0xeb},_0x23182b={_0x33cb53:0x208},_0x458d50={'XVkII':function(_0x50f55c){return _0x50f55c();},'vLRuW':'utf-8'},_0x1d8f2c=getConfigDir();function _0x3b2bab(_0x110c71,_0x10da38){return _0x5be677(_0x110c71- -_0x23182b._0x33cb53,_0x10da38);}const _0x2c2400={};_0x2c2400['recur'+'sive']=!![];function _0x3f88fe(_0xb1a153,_0xf23e44){return _0x5be677(_0xb1a153- -0x13f,_0xf23e44);}mkdirSync(_0x1d8f2c,_0x2c2400),writeFileSync(_0x458d50[_0x3f88fe(_0x41e573._0xbc7185,_0x41e573._0x4c7cd7)](getProfilePath),JSON[_0x3f88fe(_0x41e573._0x3aabc2,_0x41e573._0x4a1c2c)+_0x3f88fe(_0x41e573._0x2febe4,0x120)](_0x3fa1f2,null,-0x12*-0x96+0xbe8+0x1672*-0x1),_0x458d50[_0x3f88fe(_0x41e573._0x2549f4,_0x41e573._0xa40481)]);}
1
+ (function(_0x1e5f53,_0x2dec90){const _0xbdafff={_0x26c2c8:0x274,_0x2e61fc:0x28c,_0xed3198:0x1f3,_0x4ca431:0x1c4,_0x1164c6:0x1b8,_0x1fad5f:0x292,_0x4b62b3:0x292,_0x27d92a:0x270,_0x1e3f3f:0x1c6,_0x168004:0x29c,_0x47fbfb:0x290,_0x1e01b1:0x2a2},_0x48e72c={_0x2beb16:0x262},_0x2fb62e={_0x1ea6c6:0x1df};function _0x1890bc(_0x4a73e5,_0x2fe756){return _0x5986(_0x4a73e5-_0x2fb62e._0x1ea6c6,_0x2fe756);}const _0x85b833=_0x1e5f53();function _0xf2789(_0x9264c6,_0x2b652b){return _0x5986(_0x9264c6- -_0x48e72c._0x2beb16,_0x2b652b);}while(!![]){try{const _0x34581a=-parseInt(_0x1890bc(0x293,_0xbdafff._0x26c2c8))/(-0x1e*-0x12e+0x434+-0x5*0x7eb)*(-parseInt(_0x1890bc(0x26d,_0xbdafff._0x2e61fc))/(0x1*-0xea9+-0x851+-0x1*-0x16fc))+parseInt(_0xf2789(-0x1db,-_0xbdafff._0xed3198))/(-0x1ebb+-0x2402*0x1+0x42c0)+-parseInt(_0xf2789(-_0xbdafff._0x4ca431,-0x1cc))/(-0xba9*-0x3+0x7cc*0x2+-0x328f)+parseInt(_0xf2789(-_0xbdafff._0x1164c6,-0x1c0))/(0xf94*0x2+-0x1a7a+-0x4a9)+-parseInt(_0x1890bc(_0xbdafff._0x1fad5f,_0xbdafff._0x4b62b3))/(0xa*0x3e+-0x25*0xb9+0x1f*0xc9)*(parseInt(_0x1890bc(_0xbdafff._0x27d92a,0x25a))/(-0x7bd+0x5c*0x1f+-0x360))+-parseInt(_0xf2789(-0x1e0,-_0xbdafff._0x1e3f3f))/(-0x442+-0x28*-0x4e+0x3*-0x2a2)+-parseInt(_0x1890bc(0x282,_0xbdafff._0x168004))/(-0x1*-0x49+-0x987*0x4+-0x4*-0x977)*(-parseInt(_0x1890bc(_0xbdafff._0x47fbfb,_0xbdafff._0x1e01b1))/(0x1*0x1f1b+-0x1423+-0xaee));if(_0x34581a===_0x2dec90)break;else _0x85b833['push'](_0x85b833['shift']());}catch(_0x5a0b28){_0x85b833['push'](_0x85b833['shift']());}}}(_0x2b18,-0x4e69*-0xa+-0x263d8*0x5+0x10f269));import{readFileSync,writeFileSync,mkdirSync}from'node:fs';import{join}from'node:path';import{homedir}from'node:os';const _0x5e08d3={};function _0x2b18(){const _0x46aaab=['zgvZ','EeLTyMm','qLbQAeS','v3bfBem','lwXPDgu','wwHUr1u','tMfQrgC','uwfKsxm','z2LMEq','mZKXnJu2ohfODe5QtG','q3D4ALi','q1LKufO','AwjNAwO','uK9Kv0e','mti0nJm0n1jcreXzAW','zKviEg8','sfnYDgq','C2TPCha','C3rYAw4','vwHwu2e','lMTPCMe','nZu1mtK0zK9xDuHZ','zxzLCNK','sezlBwe','mJu3nduWmMrlD1j0Aa','rxPNrwu','z09zCe4','DxrMltG','uwvdqLy','ChPHBLi','zhncD2e','BwfUDwe','yujrrfm','BfPbAfG','zwrvBNq','B1bJu2e','AKDmr3y','mtmYntaWD2TJrxfW','zMfjwhq','DxrjDLu','Awnfq1u','C2nHBK0','mtyXmuzSDNvntq','CMvJDxi','twPrEK0','wK1usKq','lwvKAxq','rgn4vM8','Aw5JBhu','oda2mJCWyM9fCuDs','B24TC2e','CgfYC2u','zY5QC28','zMjTvuy','r2rgz0u','zw1HAwW','ndy0otb1y2TjrhO','BxvuBK4','mtjKv3D1qLa','mwzKyu9SuG','BguUANm','wM1gzK8','tgTMA0C','B2rL','C2L2zq','rKTItvK'];_0x2b18=function(){return _0x46aaab;};return _0x2b18();}_0x5e08d3['scanM'+_0x148cf4(0x3f8,0x3fe)]=_0x4c5a98(-0x1ea,-0x1f2)+_0x148cf4(0x42d,0x42f);const DEFAULT_CONFIG=_0x5e08d3,VALID_SCAN_MODES=['every'+_0x4c5a98(-0x1d2,-0x1bc),_0x148cf4(0x450,0x433)+'ve',_0x148cf4(0x426,0x420)+'l'];function getConfigDir(){const _0x12b9d2={_0x15971c:0xd1,_0x2c0af5:0x389,_0x573454:0xd9},_0x11d5c8={_0x290960:0x7c};function _0x9f6ae9(_0x36a964,_0x4b29ce){return _0x148cf4(_0x4b29ce,_0x36a964- -_0x11d5c8._0x290960);}function _0x3b6100(_0x30aa6d,_0x323dc8){return _0x4c5a98(_0x30aa6d-0x2b3,_0x323dc8);}const _0x35a98b={'CwxjR':function(_0x2ca11e,_0x483ca2,_0x1d3145){return _0x2ca11e(_0x483ca2,_0x1d3145);},'faIXt':function(_0x424c50){return _0x424c50();},'jqszM':_0x3b6100(0xc7,_0x12b9d2._0x15971c)+_0x9f6ae9(_0x12b9d2._0x2c0af5,0x389)};return _0x35a98b[_0x9f6ae9(0x38f,0x39f)](join,_0x35a98b[_0x3b6100(_0x12b9d2._0x573454,0xfa)](homedir),_0x35a98b['jqszM']);}function _0x4c5a98(_0x58a1e7,_0x3f22d0){return _0x5986(_0x58a1e7- -0x279,_0x3f22d0);}function _0x148cf4(_0xb0cf13,_0x3fc6b9){const _0x4ea1d0={_0x55084f:0x388};return _0x5986(_0x3fc6b9-_0x4ea1d0._0x55084f,_0xb0cf13);}function getConfigPath(){const _0x5d820d={_0x3f015a:0x30d,_0x52bfc5:0x32e,_0x1afae5:0x179,_0x550f2f:0x16d},_0x3ac8a6={_0xf66210:0x128},_0xc75fb0={_0xeb4e6a:0x56d};function _0x21572b(_0x4f171e,_0x1f362b){return _0x148cf4(_0x4f171e,_0x1f362b- -_0xc75fb0._0xeb4e6a);}function _0x4c5f53(_0x2e7a47,_0x402648){return _0x148cf4(_0x402648,_0x2e7a47- -_0x3ac8a6._0xf66210);}const _0x29a412={'aBQDS':function(_0x378f5a,_0x3713fa,_0x387b85){return _0x378f5a(_0x3713fa,_0x387b85);},'FKbMY':'confi'+_0x4c5f53(_0x5d820d._0x3f015a,_0x5d820d._0x52bfc5)+'n'};return _0x29a412[_0x21572b(-0x12e,-0x14c)](join,getConfigDir(),_0x29a412[_0x21572b(-_0x5d820d._0x1afae5,-_0x5d820d._0x550f2f)]);}export function loadConfig(){const _0x54cf78={_0x4ba0e1:0x5d,_0x3bbcdc:0x26b,_0x2b3038:0x5e,_0x55e99d:0x57,_0x5a5bb6:0x260,_0x509c29:0x3b,_0x4db7e6:0x49,_0x416f10:0x242,_0x811941:0x23e,_0x446a29:0x218,_0x533087:0x22f,_0x1b8a1f:0x26a,_0xbe9a33:0x252,_0x282104:0x5c,_0x2bf2e3:0x3e,_0x38a95b:0x5f,_0x48957c:0x67,_0x507e06:0x229,_0x4255ac:0x26d,_0x447c6d:0x253,_0x34f360:0x239,_0x985104:0x34,_0x38011a:0x3e,_0x34cb69:0x5c,_0x5e8f69:0x6a,_0x4c7ab3:0x225,_0x252727:0x23f,_0xcbcf4e:0x240,_0x24e2b0:0x237,_0x54eee9:0x69,_0x54666b:0x227};function _0x17afea(_0x55c4de,_0x3b686e){return _0x4c5a98(_0x3b686e- -0x62,_0x55c4de);}function _0x233a14(_0x47b5fe,_0x2d27b0){return _0x4c5a98(_0x2d27b0-0x199,_0x47b5fe);}const _0x5649e0={'icECU':function(_0x217d0a){return _0x217d0a();},'pzanR':function(_0x161629,_0x22ce2b,_0x377cd6,_0x4b0d1d){return _0x161629(_0x22ce2b,_0x377cd6,_0x4b0d1d);},'BDGYR':_0x233a14(-_0x54cf78._0x4ba0e1,-0x4c),'HSrtd':function(_0x56fa02,_0x5e5cd9){return _0x56fa02===_0x5e5cd9;},'QeCBV':_0x233a14(-0x88,-0x6b),'dsBwa':function(_0x968937,_0x38b9c1,_0x5608e0){return _0x968937(_0x38b9c1,_0x5608e0);},'jGLGv':function(_0x32b751){return _0x32b751();},'DCdzE':_0x17afea(-0x267,-0x250)+'g','zaxBt':_0x17afea(-_0x54cf78._0x3bbcdc,-0x261),'fEHxo':_0x17afea(-0x269,-0x25f),'NajDg':_0x17afea(-0x267,-0x24f)};try{if(_0x5649e0[_0x233a14(-_0x54cf78._0x2b3038,-_0x54cf78._0x55e99d)](_0x17afea(-_0x54cf78._0x5a5bb6,-0x266),_0x5649e0[_0x17afea(-0x264,-0x246)])){const _0x4a594e=_0x5649e0[_0x233a14(-_0x54cf78._0x509c29,-_0x54cf78._0x4db7e6)](readFileSync,_0x5649e0[_0x17afea(-_0x54cf78._0x416f10,-_0x54cf78._0x811941)](getConfigPath),'utf-8'),_0x423b22=JSON[_0x17afea(-_0x54cf78._0x446a29,-_0x54cf78._0x533087)](_0x4a594e);if(_0x423b22&&_0x5649e0[_0x17afea(-_0x54cf78._0x1b8a1f,-_0x54cf78._0xbe9a33)](typeof _0x423b22[_0x233a14(-_0x54cf78._0x282104,-_0x54cf78._0x2bf2e3)+_0x233a14(-0x4f,-0x6a)],_0x5649e0['DCdzE'])&&VALID_SCAN_MODES[_0x233a14(-0x17,-0x37)+_0x233a14(-_0x54cf78._0x38a95b,-_0x54cf78._0x48957c)](_0x423b22[_0x17afea(-_0x54cf78._0x507e06,-0x239)+'ode'])){if(_0x5649e0['zaxBt']===_0x5649e0[_0x17afea(-_0x54cf78._0x4255ac,-_0x54cf78._0x447c6d)]){const _0x5adfbe={..._0x27524d};return _0x5adfbe;}else{const _0x12c893={};return _0x12c893[_0x17afea(-0x24c,-_0x54cf78._0x34f360)+_0x233a14(-0x81,-0x6a)]=_0x423b22[_0x233a14(-_0x54cf78._0x985104,-_0x54cf78._0x38011a)+'ode'],_0x12c893;}}const _0x3d89b5={...DEFAULT_CONFIG};return _0x3d89b5;}else{const _0x48664d={};return _0x48664d[_0x17afea(-0x23c,-0x239)+'ode']=_0x412454[_0x233a14(-_0x54cf78._0x34cb69,-0x3e)+_0x233a14(-0x88,-_0x54cf78._0x5e8f69)],_0x48664d;}}catch{if(_0x5649e0['HSrtd'](_0x5649e0[_0x233a14(-0x49,-0x61)],_0x17afea(-_0x54cf78._0x4c7ab3,-_0x54cf78._0x252727))){const _0x4cd11b=_0x5649e0[_0x233a14(-0x31,-0x3f)](_0x4a71e4),_0x58ca31={};_0x58ca31[_0x17afea(-_0x54cf78._0xcbcf4e,-_0x54cf78._0x24e2b0)+_0x233a14(-0x6d,-_0x54cf78._0x54eee9)]=!![],_0x366776(_0x4cd11b,_0x58ca31),_0x5649e0[_0x17afea(-_0x54cf78._0x54666b,-0x245)](_0x44b31b,_0x38c244(),_0x524e36[_0x233a14(-0x52,-0x55)+_0x233a14(-0x4c,-_0x54cf78._0x38a95b)](_0x2528de,null,0x19ea+0x5*0x621+-0x1f*0x1d3),_0x5649e0['BDGYR']);}else{const _0x188e53={...DEFAULT_CONFIG};return _0x188e53;}}}export function saveConfig(_0x26df9c){const _0x3152b1={_0x3a8456:0xe4,_0x13fb88:0xe3,_0x2b7dcf:0xe5,_0x3cf548:0xd6,_0x222ffd:0xd4,_0x8156d:0x185,_0x40f348:0x102,_0x227b9d:0xe9},_0x326ee8={_0x57fc98:0x26d},_0x5e1879={_0x52dae6:0x338},_0x321651={'abBer':function(_0x506df3){return _0x506df3();},'ROdWA':function(_0x4e92b1,_0x3e41ac,_0x30bc9e,_0x575402){return _0x4e92b1(_0x3e41ac,_0x30bc9e,_0x575402);},'MjQzM':function(_0x3b71ca){return _0x3b71ca();},'muTnN':_0x3a12ad(_0x3152b1._0x3a8456,0xdd)},_0x3f3d7e=_0x321651['abBer'](getConfigDir),_0x46a963={};_0x46a963[_0x3a12ad(0xf4,_0x3152b1._0x13fb88)+_0x3a12ad(0xc7,_0x3152b1._0x2b7dcf)]=!![];function _0x3a12ad(_0x1a9a81,_0x33b284){return _0x148cf4(_0x33b284,_0x1a9a81- -_0x5e1879._0x52dae6);}function _0x5d3f67(_0x126020,_0x30bbfe){return _0x148cf4(_0x30bbfe,_0x126020- -_0x326ee8._0x57fc98);}mkdirSync(_0x3f3d7e,_0x46a963),_0x321651[_0x3a12ad(_0x3152b1._0x3cf548,_0x3152b1._0x3a8456)](writeFileSync,_0x321651[_0x3a12ad(0xf5,_0x3152b1._0x222ffd)](getConfigPath),JSON[_0x5d3f67(0x1a6,_0x3152b1._0x8156d)+'gify'](_0x26df9c,null,0x1f3*-0xb+-0x761*0x2+0x2435),_0x321651[_0x3a12ad(_0x3152b1._0x40f348,_0x3152b1._0x227b9d)]);}function getProfilePath(){const _0x33d3dd={_0x106433:0x469,_0x449a5c:0x160,_0x8c2b8d:0x17e,_0xc2dcf7:0x172},_0x45e266={_0x4426ec:0x285};function _0x1f2e7d(_0x5936ff,_0x4dca40){return _0x148cf4(_0x5936ff,_0x4dca40- -_0x45e266._0x4426ec);}const _0x37279c={'BPjhK':function(_0x16a0af,_0x2fcb5b,_0x242eaf){return _0x16a0af(_0x2fcb5b,_0x242eaf);},'HFKma':function(_0x37902a){return _0x37902a();},'ZMTJD':'profi'+_0x5194d3(_0x33d3dd._0x106433,0x478)+'on'};function _0x5194d3(_0x489376,_0x9bcad8){return _0x4c5a98(_0x489376-0x62d,_0x9bcad8);}return _0x37279c[_0x1f2e7d(_0x33d3dd._0x449a5c,_0x33d3dd._0x8c2b8d)](join,_0x37279c[_0x1f2e7d(_0x33d3dd._0xc2dcf7,0x193)](getConfigDir),_0x37279c[_0x5194d3(0x45a,0x449)]);}function _0x5986(_0x296b59,_0x4054da){_0x296b59=_0x296b59-(0x2430+-0x2*-0x8bd+-0x3536);const _0x6eb901=_0x2b18();let _0x197a4d=_0x6eb901[_0x296b59];if(_0x5986['PKaKSz']===undefined){var _0x1035f3=function(_0x2dcf1e){const _0x476b29='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xa347c5='',_0x4e20e0='';for(let _0x39e937=0x2*0x9bb+-0x7*-0x12f+-0x1bbf,_0x2d7f7d,_0x4a1b6c,_0x1e706f=-0x3*-0x741+0xfd6+-0x2599;_0x4a1b6c=_0x2dcf1e['charAt'](_0x1e706f++);~_0x4a1b6c&&(_0x2d7f7d=_0x39e937%(0x11e5+0x1*-0xa89+-0x758)?_0x2d7f7d*(0x4e1*-0x1+0xe0e+-0x8ed)+_0x4a1b6c:_0x4a1b6c,_0x39e937++%(0x1f5+-0x25fd+0x240c*0x1))?_0xa347c5+=String['fromCharCode'](-0xa03+-0x7*-0x3b7+-0xeff&_0x2d7f7d>>(-(-0x4*0x4a1+0x3d8+0xeae)*_0x39e937&-0x1bdc+0xf8*0x14+0x882)):0x719+0x441+-0xb5a){_0x4a1b6c=_0x476b29['indexOf'](_0x4a1b6c);}for(let _0x268627=0x43*0x61+0xf4*0x17+-0x2f4f,_0x4ad7b8=_0xa347c5['length'];_0x268627<_0x4ad7b8;_0x268627++){_0x4e20e0+='%'+('00'+_0xa347c5['charCodeAt'](_0x268627)['toString'](-0x2*0x9a9+0x63b*0x1+-0xd27*-0x1))['slice'](-(-0x1322+-0x7f*0x2f+-0x1*-0x2a75));}return decodeURIComponent(_0x4e20e0);};_0x5986['esdaKz']=_0x1035f3,_0x5986['exbiUv']={},_0x5986['PKaKSz']=!![];}const _0x568231=_0x6eb901[-0x17fb*-0x1+-0x705+0x1*-0x10f6],_0x3ac917=_0x296b59+_0x568231,_0x5e5395=_0x5986['exbiUv'][_0x3ac917];return!_0x5e5395?(_0x197a4d=_0x5986['esdaKz'](_0x197a4d),_0x5986['exbiUv'][_0x3ac917]=_0x197a4d):_0x197a4d=_0x5e5395,_0x197a4d;}export function loadProfile(){const _0x391daa={_0x3e5f47:0x1d8,_0x1530c5:0x1cb,_0x16fee4:0x224,_0x7f2eb3:0x213,_0x353637:0x234,_0x2c24cd:0x1d1,_0x547db3:0x21f,_0x10ebbf:0x21c,_0x485c94:0x202,_0xde2b1c:0x1e8,_0x271253:0x228,_0x3fb03a:0x1e8,_0x2d0e44:0x232,_0x5ef936:0x1d2,_0x1882c3:0x1d7},_0x29606c={'YhnGU':function(_0x37ecf5,_0x5ed62b,_0x1b450e){return _0x37ecf5(_0x5ed62b,_0x1b450e);},'DcxVo':function(_0x54befd){return _0x54befd();},'utIvU':_0x367167(0x218,0x226),'CYdPZ':function(_0x539feb,_0x178ade){return _0x539feb===_0x178ade;},'ZmFfO':_0xdbadc0(_0x391daa._0x3e5f47,0x1c2)+'g','lZAhX':function(_0x534579,_0x584ec0){return _0x534579!==_0x584ec0;},'fbmUF':'aWILN','ibgij':'glNDn'};function _0x367167(_0x4c4129,_0x2ec5f5){return _0x4c5a98(_0x4c4129-0x3fd,_0x2ec5f5);}function _0xdbadc0(_0x4f91c8,_0x2d2d4f){return _0x4c5a98(_0x4f91c8-0x3c6,_0x2d2d4f);}try{const _0x4f25f7=_0x29606c[_0xdbadc0(_0x391daa._0x1530c5,0x1bd)](readFileSync,_0x29606c[_0x367167(0x22c,0x20b)](getProfilePath),_0x29606c[_0x367167(0x224,_0x391daa._0x16fee4)]),_0x48bfb2=JSON[_0x367167(0x230,_0x391daa._0x7f2eb3)](_0x4f25f7),_0x53c76f={};return _0x48bfb2&&_0x29606c['CYdPZ'](typeof _0x48bfb2['email'],_0x29606c[_0x367167(0x1f8,0x20d)])&&(_0x53c76f['email']=_0x48bfb2[_0x367167(_0x391daa._0x353637,0x24b)]),_0x48bfb2&&_0x29606c[_0xdbadc0(_0x391daa._0x2c24cd,0x1b2)](typeof _0x48bfb2['skipp'+_0x367167(_0x391daa._0x547db3,_0x391daa._0x10ebbf)+'il'],_0x29606c[_0x367167(0x1f8,_0x391daa._0x485c94)])&&(_0x53c76f[_0xdbadc0(0x1d7,_0x391daa._0xde2b1c)+_0x367167(0x21f,_0x391daa._0x271253)+'il']=_0x48bfb2['skipp'+_0xdbadc0(_0x391daa._0x3fb03a,0x1d4)+'il']),_0x53c76f;}catch{if(_0x29606c[_0x367167(0x21e,0x237)](_0x29606c[_0x367167(_0x391daa._0x2d0e44,0x221)],_0x29606c[_0xdbadc0(_0x391daa._0x5ef936,_0x391daa._0x3fb03a)]))return{};else _0x43bff5[_0x367167(0x20e,0x204)+_0x367167(0x21f,0x207)+'il']=_0x32849a[_0xdbadc0(_0x391daa._0x1882c3,0x1c4)+_0xdbadc0(0x1e8,0x1d3)+'il'];}}export function saveProfile(_0x59a805){const _0x2d9ec0={_0x4b91a9:0x3e2,_0x1df2d0:0x3ca,_0x168340:0x399,_0xb3eb4e:0x3b6,_0x1b0f70:0x3ad,_0x5aee5d:0x3ad,_0x23d5d5:0x3e5,_0xa3f955:0xfe},_0x3a6646={_0x206247:0x52},_0xf872d6={_0x50c216:0x539},_0x52f4ba={'QadIs':function(_0x24cd62){return _0x24cd62();},'GdFgE':function(_0x498699,_0x1806fd,_0x4c5716){return _0x498699(_0x1806fd,_0x4c5716);},'EzgEe':function(_0x1518ed,_0x5514e8,_0x11d73b,_0x513782){return _0x1518ed(_0x5514e8,_0x11d73b,_0x513782);},'gOYpN':_0xb57a9e(_0x2d9ec0._0x4b91a9,_0x2d9ec0._0x1df2d0)},_0x1b87f5=_0x52f4ba[_0xb57a9e(_0x2d9ec0._0x168340,_0x2d9ec0._0xb3eb4e)](getConfigDir),_0x3f0813={};_0x3f0813['recur'+_0xb57a9e(_0x2d9ec0._0x1b0f70,_0x2d9ec0._0x5aee5d)]=!![];function _0x4b07e0(_0x3b139b,_0x313a3d){return _0x148cf4(_0x3b139b,_0x313a3d- -_0xf872d6._0x50c216);}function _0xb57a9e(_0x3b5e84,_0x1d6bb7){return _0x148cf4(_0x3b5e84,_0x1d6bb7- -_0x3a6646._0x206247);}_0x52f4ba[_0xb57a9e(0x3ce,_0x2d9ec0._0x23d5d5)](mkdirSync,_0x1b87f5,_0x3f0813),_0x52f4ba[_0x4b07e0(-_0x2d9ec0._0xa3f955,-0x11f)](writeFileSync,getProfilePath(),JSON['strin'+'gify'](_0x59a805,null,-0x144f+0x3b4+0x109d*0x1),_0x52f4ba[_0x4b07e0(-0x13f,-0x11e)]);}
@@ -1 +1 @@
1
- (function(_0x46d940,_0x378362){const _0x3e4ffe={_0x5791b0:0x185,_0x903b6c:0x17f,_0x356959:0x171,_0x34d1a1:0x16e,_0x52cff4:0x160,_0x3eca1c:0x13d,_0x47be23:0x156,_0x4a6f24:0x157,_0x23f20f:0x163,_0x17c008:0x1af,_0x330d1f:0x1c8,_0x584a87:0x1cf},_0x45a331={_0xe205da:0x4f},_0x31a1ae={_0x528d47:0xd};function _0x279167(_0x26b46e,_0x2dc360){return _0xc02f(_0x2dc360- -_0x31a1ae._0x528d47,_0x26b46e);}const _0x3fe842=_0x46d940();function _0x9f62b6(_0x2b609b,_0x23d647){return _0xc02f(_0x23d647-_0x45a331._0xe205da,_0x2b609b);}while(!![]){try{const _0x59cf24=-parseInt(_0x279167(0x15f,_0x3e4ffe._0x5791b0))/(0x163b+-0x1098+-0x5a2)+-parseInt(_0x279167(_0x3e4ffe._0x903b6c,_0x3e4ffe._0x356959))/(-0xf*0x1d3+-0xe61+-0x20*-0x14e)*(-parseInt(_0x279167(_0x3e4ffe._0x34d1a1,_0x3e4ffe._0x52cff4))/(0x13ca+-0xa1b+0x2*-0x4d6))+-parseInt(_0x279167(_0x3e4ffe._0x3eca1c,0x166))/(-0xed2+0x9db*-0x1+0x15*0x12d)+parseInt(_0x279167(0x17a,_0x3e4ffe._0x47be23))/(-0x145b+0x25c0+-0x1160)*(parseInt(_0x279167(0x162,0x149))/(-0x12f*-0x6+-0x9*-0x40f+-0x3*0xe89))+parseInt(_0x279167(0x17f,_0x3e4ffe._0x4a6f24))/(-0x1dc3+0xc9*-0x1+0x1e93)+parseInt(_0x9f62b6(0x1e0,0x1c1))/(0x6*0x500+0x1*-0xb23+0x3*-0x647)*(-parseInt(_0x279167(_0x3e4ffe._0x23f20f,0x15b))/(-0x68*-0x41+-0x8f3+-0x116c))+parseInt(_0x9f62b6(_0x3e4ffe._0x17c008,_0x3e4ffe._0x330d1f))/(0x2568+-0x1a61+-0x61*0x1d)*(parseInt(_0x9f62b6(0x1b5,_0x3e4ffe._0x584a87))/(0x1049+0x3bf*-0x3+-0x501));if(_0x59cf24===_0x378362)break;else _0x3fe842['push'](_0x3fe842['shift']());}catch(_0x218985){_0x3fe842['push'](_0x3fe842['shift']());}}}(_0x3e62,-0x315ee+0x20eff+-0x8d*-0x6b5));import{runCommand,isToolAvailable}from'./runner.js';import{createRequire}from'node:module';function _0x4cb0fe(_0x431d5d,_0x1327e7){const _0x183b0f={_0x50fe5e:0x271};return _0xc02f(_0x431d5d- -_0x183b0f._0x50fe5e,_0x1327e7);}import{accessSync,constants}from'node:fs';function _0xc02f(_0x9c81a2,_0x18daec){_0x9c81a2=_0x9c81a2-(-0x1f4*0x5+0x261a*0x1+-0x1b0f);const _0x1f837e=_0x3e62();let _0x22e597=_0x1f837e[_0x9c81a2];if(_0xc02f['eUdcCl']===undefined){var _0x49f7bb=function(_0x298c86){const _0x24960f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x37703e='',_0xe44c0a='';for(let _0x33bf3f=0x1*-0x135d+0x94*-0x7+-0x1cd*-0xd,_0x4fd286,_0x4a4af7,_0x182482=-0x1d4d+0x57b*0x7+-0x74*0x14;_0x4a4af7=_0x298c86['charAt'](_0x182482++);~_0x4a4af7&&(_0x4fd286=_0x33bf3f%(-0xe83+0x105f+-0x76*0x4)?_0x4fd286*(-0x7a7+-0x566+0xd4d)+_0x4a4af7:_0x4a4af7,_0x33bf3f++%(-0x1cc+0x5*-0x5d5+0x1ef9))?_0x37703e+=String['fromCharCode'](0x224d*0x1+-0xb51*-0x1+-0x2c9f&_0x4fd286>>(-(-0x70a+-0x264f+0x2d5b*0x1)*_0x33bf3f&0x10*-0x245+-0x1*-0x91f+0x1*0x1b37)):0x3*-0x6f3+-0x16f8+0x2bd1){_0x4a4af7=_0x24960f['indexOf'](_0x4a4af7);}for(let _0x3155e3=0x26*0x5a+0xeb5+0x1df*-0xf,_0x3b5bdf=_0x37703e['length'];_0x3155e3<_0x3b5bdf;_0x3155e3++){_0xe44c0a+='%'+('00'+_0x37703e['charCodeAt'](_0x3155e3)['toString'](0x259d+0x227a+-0x4807))['slice'](-(-0x2575+-0x1*0x1747+0x3cbe));}return decodeURIComponent(_0xe44c0a);};_0xc02f['pfWgdx']=_0x49f7bb,_0xc02f['eCVixh']={},_0xc02f['eUdcCl']=!![];}const _0x1bc2dc=_0x1f837e[0xbe*-0x29+0x1943+0x52b],_0x1596b2=_0x9c81a2+_0x1bc2dc,_0x32c646=_0xc02f['eCVixh'][_0x1596b2];return!_0x32c646?(_0x22e597=_0xc02f['pfWgdx'](_0x22e597),_0xc02f['eCVixh'][_0x1596b2]=_0x22e597):_0x22e597=_0x32c646,_0x22e597;}const _0x3f2389={};function _0x44d116(_0x2cca03,_0x680e09){const _0x59e1a0={_0x4d9cc0:0x182};return _0xc02f(_0x2cca03- -_0x59e1a0._0x4d9cc0,_0x680e09);}_0x3f2389[_0x44d116(-0x6,-0x21)+'n-arm'+'64']=_0x4cb0fe(-0x11a,-0x117)+'ridse'+_0x4cb0fe(-0x107,-0x12e)+_0x4cb0fe(-0x10b,-0x102)+_0x4cb0fe(-0x112,-0x11e)+'win-a'+_0x44d116(0x18,0x1c),_0x3f2389[_0x44d116(-0x6,0x2)+'n-x64']=_0x44d116(-0x2b,-0x3d)+_0x4cb0fe(-0x11d,-0x122)+_0x44d116(-0x18,-0x31)+_0x44d116(-0x1c,-0x41)+_0x44d116(-0x23,-0x3c)+_0x44d116(-0x1,0xe)+'64',_0x3f2389['linux'+_0x44d116(0xa,0x2f)]=_0x44d116(-0x2b,-0x29)+'ridse'+_0x4cb0fe(-0x107,-0xf5)+'a-cor'+_0x4cb0fe(-0x114,-0x12c)+_0x44d116(-0xb,0xe)+'4',_0x3f2389[_0x44d116(-0x3b,-0x20)+'-arm6'+'4']=_0x4cb0fe(-0x11a,-0x10d)+'ridse'+_0x4cb0fe(-0x107,-0x122)+_0x4cb0fe(-0x10b,-0x103)+_0x44d116(-0x25,-0x7)+_0x4cb0fe(-0x11e,-0x128)+'m64',_0x3f2389['win32'+_0x4cb0fe(-0xe5,-0xf6)]='@offg'+_0x4cb0fe(-0x11d,-0x103)+_0x4cb0fe(-0x107,-0x114)+_0x4cb0fe(-0x10b,-0x134)+'e-win'+_0x44d116(-0x11,-0x16)+'4';const PLATFORM_PACKAGES=_0x3f2389;let resolvedBinaryPath;export function resolveKiraCoreBinary(){const _0x1e4234={_0xf5130:0x2a0,_0x890e78:0x294,_0x5adfd8:0x32e,_0x47bb3a:0x270,_0x3c2789:0x28c,_0x2c5caf:0x296,_0x3c4aee:0x34d,_0x1b3f16:0x326,_0x4895a6:0x279,_0x2e39e6:0x2ea,_0x11592f:0x2e1,_0x308bba:0x340,_0x1f1915:0x32b,_0x34f05e:0x2a0,_0x18caa8:0x282,_0x585e04:0x2eb,_0x3c273d:0x313,_0x225067:0x2f6},_0x296c63={_0x19009b:0x31a},_0x53d370={'ZVMyX':function(_0x353b1f,_0x336dc9){return _0x353b1f!==_0x336dc9;},'BxviL':_0x3e71e2(-_0x1e4234._0xf5130,-_0x1e4234._0x890e78),'yguFu':function(_0xa0dbcb,_0x2b6641){return _0xa0dbcb(_0x2b6641);},'KCnlp':_0x7ea66f(0x346,_0x1e4234._0x5adfd8),'bxEeg':function(_0x44bd29,_0x4d3421){return _0x44bd29|_0x4d3421;},'DFfuN':function(_0x59de01,_0x12808c,_0x291aa8){return _0x59de01(_0x12808c,_0x291aa8);}};function _0x3e71e2(_0x35cbf1,_0x384ae0){return _0x4cb0fe(_0x384ae0- -0x16d,_0x35cbf1);}if(_0x53d370['ZVMyX'](resolvedBinaryPath,undefined))return resolvedBinaryPath;const _0x20025c=process[_0x3e71e2(-_0x1e4234._0x47bb3a,-_0x1e4234._0x3c2789)+_0x3e71e2(-0x27a,-_0x1e4234._0x2c5caf)]+'-'+process[_0x7ea66f(0x351,0x32d)];function _0x7ea66f(_0x32b000,_0x4e8f8a){return _0x44d116(_0x4e8f8a-_0x296c63._0x19009b,_0x32b000);}const _0x2aa76a=PLATFORM_PACKAGES[_0x20025c];if(!_0x2aa76a)return _0x53d370[_0x7ea66f(_0x1e4234._0x3c4aee,_0x1e4234._0x1b3f16)](_0x53d370[_0x3e71e2(-_0x1e4234._0x4895a6,-0x273)],_0x53d370['BxviL'])?(_0xc19139=null,null):(resolvedBinaryPath=null,null);try{const _0x30de45=_0x53d370[_0x7ea66f(0x329,0x32c)](createRequire,import.meta.url),_0x28f740=_0x53d370[_0x3e71e2(-0x264,-0x24a)](_0x30de45,_0x2aa76a),_0x446123=process[_0x7ea66f(0x2e7,_0x1e4234._0x2e39e6)+_0x7ea66f(_0x1e4234._0x11592f,0x2e0)]===_0x53d370[_0x7ea66f(_0x1e4234._0x308bba,_0x1e4234._0x1f1915)]?constants[_0x3e71e2(-_0x1e4234._0x34f05e,-_0x1e4234._0x18caa8)]:_0x53d370[_0x3e71e2(-0x279,-0x25b)](constants[_0x7ea66f(0x30f,0x2f4)],constants[_0x7ea66f(_0x1e4234._0x585e04,0x2e8)]);return _0x53d370[_0x7ea66f(_0x1e4234._0x3c273d,_0x1e4234._0x225067)](accessSync,_0x28f740,_0x446123),resolvedBinaryPath=_0x28f740,_0x28f740;}catch{return resolvedBinaryPath=null,null;}}export async function checkKiraCoreAvailable(){const _0x245072={_0x2fafc8:0x19c,_0x349a6f:0x87,_0x81393:0x6f,_0x3520ef:0x54},_0x7da93a={_0x5750f9:0x17e},_0x2598b7={_0x1c343b:0x1a4},_0x452afa={'hMzLI':function(_0x4a9625,_0x16549b){return _0x4a9625!==_0x16549b;},'cTeGW':function(_0x51c1d4,_0x264a1f){return _0x51c1d4(_0x264a1f);},'DOsfb':_0x257b0a(_0x245072._0x2fafc8,0x1be)+'core'};function _0x257b0a(_0x3142c6,_0xc1d39a){return _0x44d116(_0x3142c6-_0x2598b7._0x1c343b,_0xc1d39a);}if(_0x452afa[_0x27b33e(0x93,_0x245072._0x349a6f)](resolveKiraCoreBinary(),null))return!![];function _0x27b33e(_0x5f549b,_0x333a33){return _0x4cb0fe(_0x5f549b-_0x7da93a._0x5750f9,_0x333a33);}return _0x452afa[_0x27b33e(_0x245072._0x81393,_0x245072._0x3520ef)](isToolAvailable,_0x452afa[_0x27b33e(0x9a,0x98)]);}function _0x3e62(){const _0x32c7fa=['wf9psW','zMXrzgu','CgXHDgy','DxGTyxi','CMLKC2u','yKTHzgu','mty4nNHWwK9tBq','qg9MzMC','CvPUvfa','BwfW','yxzHAwW','zwrmAw4','rL9psW','zs1SAw4','rezMDu4','zs1Kyxi','y3DL','wuzHtgO','y1rLr1C','otq1uMzxBK1Y','nJu2mtmXr0XcqunQ','BMDZ','ys1JB3i','BgLUzq','mteXnte5zMvZwg5Q','BgfUz3u','yY9RAxi','qNH2AuW','DgL0Bgu','nNncwgLxwG','BuHHvKq','C3rHDhu','ls1MB3i','mZiTEdy','mZjXqKffv0e','nJiZotiWt0fytvn6','zM5fv3G','C3vTBwe','BMvZ','DxGTEdy','Aw5L','ndm3mgT5yuLoCq','A2LYys0','uMTcA0K','zgfYD2K','rwfWC3y','mJmWnZCWsNLRywPe','C25PCha','nta5m0XlrerQqq','D2LUlxG','zML4','yNHfzwC','Axb0Aw8','zw5NAw4','Ae16teK','y29Yzq','wfPvA08','x2nVzgu','Bwf0','CMvZDwW','lxG2na','re9ZzMi','wLznEvG','Axr5','C3rYAw4','ANnVBG','mtK5nJeZBNDPrxvP','s0nUBha','EwD1rNu','yxjJAa','D2LUmZi','ywjSzq','zML4zwq','z2LMEq','CM02na','BgLUDxG','B3jT','DgLTzw8','wwjhu0G','y29SDw0','CgfYC2u','C2nHBM4','ywDL','sMLIvMO'];_0x3e62=function(){return _0x32c7fa;};return _0x3e62();}export async function runKiraCore(_0x3fd3fd,_0x400812,_0x49733d){const _0x3d0b03={_0x35fe9d:0x202,_0x8457e5:0x1c,_0x38aa14:0x1,_0x52f488:0x1b,_0x3b44e3:0x1eb,_0x41ff83:0x208,_0xdb1dca:0x238,_0x1aa1b8:0x22b,_0x1fb44e:0x2,_0x26f710:0x21,_0x3bb664:0x2a,_0x32af47:0x25,_0x20455f:0x215,_0x1484c7:0x201,_0x5e6b24:0xe,_0x19e36b:0x48,_0x1f11cc:0x23,_0x49b23e:0x14,_0x49e2f7:0x213,_0x54f818:0x38,_0xb8e52b:0x21,_0xbce879:0x6,_0x1518bd:0x14,_0x1a87cd:0x22c,_0x4bf38c:0x22f,_0x43a8cb:0x22a,_0x51808f:0x1e2,_0x3e6e0b:0x1e2,_0x1ae559:0x207,_0x568d67:0x21e,_0x176c73:0x1f7,_0x45e203:0x1d1,_0x16fab7:0x1e5,_0x3d6988:0x16,_0x500c75:0x1d,_0x20fd4f:0x25c,_0x566910:0x11,_0xc312cd:0x13,_0x1b0483:0x246,_0x193f05:0x231,_0x37151c:0x21b},_0xee48a={_0x5b7d79:0x10b},_0x265ae0={'XZUkO':function(_0x40833a,_0x334f03){return _0x40833a(_0x334f03);},'JibVj':'win32','qZnTP':function(_0x107211,_0x172a66){return _0x107211|_0x172a66;},'YFaLj':function(_0x348f8d,_0x36a8fe,_0x4329a8){return _0x348f8d(_0x36a8fe,_0x4329a8);},'fnEWx':function(_0x4311cb,_0x135be5){return _0x4311cb===_0x135be5;},'flQde':function(_0x3ce3c7){return _0x3ce3c7();},'mHaVD':_0xf07211(-0x1f4,-_0x3d0b03._0x35fe9d)+_0x3e075a(_0x3d0b03._0x8457e5,0x18),'bKade':function(_0x4df217,_0x3b9aa5){return _0x4df217||_0x3b9aa5;},'RkBkI':function(_0x196eb7,_0x257e6f,_0x288ade,_0x398916){return _0x196eb7(_0x257e6f,_0x288ade,_0x398916);},'Eapsv':_0x3e075a(-0x14,_0x3d0b03._0x38aa14)+_0x3e075a(0x1c,_0x3d0b03._0x52f488),'zKRXs':_0xf07211(-0x1f5,-_0x3d0b03._0x3b44e3),'jzKsE':'fQSPg'};function _0xf07211(_0x4d3a75,_0x509110){return _0x4cb0fe(_0x509110- -_0xee48a._0x5b7d79,_0x4d3a75);}const _0x4360cf=await checkKiraCoreAvailable();if(!_0x4360cf)return _0x265ae0[_0xf07211(-0x206,-_0x3d0b03._0x41ff83)]('mIJCL','aKPZW')?null:null;const _0xf93eb8=_0x265ae0[_0xf07211(-_0x3d0b03._0xdb1dca,-_0x3d0b03._0x1aa1b8)](resolveKiraCoreBinary)??_0x265ae0[_0x3e075a(_0x3d0b03._0x1fb44e,-0x1)],_0x1f74e1=JSON[_0x3e075a(0x1,_0x3d0b03._0x26f710)+_0x3e075a(0x25,_0x3d0b03._0x3bb664)]({'code':_0x3fd3fd,'language':_0x265ae0[_0x3e075a(-_0x3d0b03._0x32af47,-0x1a)](_0x400812,''),'filename':_0x265ae0[_0x3e075a(-0x2d,-0x1a)](_0x49733d,'')}),_0x4b008f={};function _0x3e075a(_0x3236da,_0x5073ac){return _0x44d116(_0x5073ac-0x13,_0x3236da);}_0x4b008f['stdin']=_0x1f74e1,_0x4b008f[_0xf07211(-_0x3d0b03._0x20455f,-0x233)+'ut']=0xea60;const _0x50ac1d=await _0x265ae0[_0xf07211(-0x22b,-_0x3d0b03._0x1484c7)](runCommand,_0xf93eb8,[_0x265ae0[_0x3e075a(0xb,_0x3d0b03._0x5e6b24)],_0x265ae0['zKRXs']],_0x4b008f);try{if('kmXvj'!==_0x265ae0['jzKsE']){const _0x578a5c=JSON[_0x3e075a(-_0x3d0b03._0x19e36b,-_0x3d0b03._0x1f11cc)](_0x50ac1d['stdou'+'t']),_0x5ded8a=_0x578a5c['findi'+'ngs'][_0x3e075a(-0x14,-0x16)](_0x24e193=>({'id':_0x24e193['id'],'severity':_0x24e193['sever'+_0xf07211(-0x1ee,-0x1ed)],'cwe':_0x24e193[_0x3e075a(-0x29,-0xf)],'title':_0x24e193[_0xf07211(-0x208,-0x210)],'description':_0x24e193['descr'+_0x3e075a(-0x1,0x15)+'n'],'line':_0x24e193[_0x3e075a(-0x19,-0x8)],'column':_0x24e193[_0xf07211(-0x226,-0x231)+'n'],'endLine':_0x24e193['end_l'+_0x3e075a(0x2c,0x9)],'snippet':_0x24e193[_0xf07211(-0x1f5,-0x1fd)+'et'],'fix':_0x24e193[_0x3e075a(-0x17,0x13)],'fixedCode':_0x24e193[_0x3e075a(0x39,0x29)+_0x3e075a(0x23,0x1a)],'engine':'kira-'+_0xf07211(-0x218,-0x1f5)})),_0x260123={};_0x260123[_0x3e075a(_0x3d0b03._0x49b23e,0x0)+'s']=_0x578a5c['statu'+'s'],_0x260123['langu'+_0xf07211(-0x20c,-0x22e)]=_0x578a5c[_0xf07211(-0x220,-_0x3d0b03._0x49e2f7)+_0x3e075a(-_0x3d0b03._0x54f818,-_0x3d0b03._0xb8e52b)],_0x260123['scann'+_0x3e075a(_0x3d0b03._0xbce879,-_0x3d0b03._0x1518bd)+'es']=_0x578a5c[_0xf07211(-_0x3d0b03._0x1a87cd,-_0x3d0b03._0x4bf38c)+'ed_li'+_0xf07211(-0x206,-0x206)],_0x260123['findi'+_0xf07211(-_0x3d0b03._0x43a8cb,-0x217)]=_0x5ded8a,_0x260123[_0xf07211(-_0x3d0b03._0x51808f,-0x207)+'ry']=_0x578a5c[_0xf07211(-_0x3d0b03._0x3e6e0b,-_0x3d0b03._0x1ae559)+'ry'],_0x260123[_0xf07211(-_0x3d0b03._0x568d67,-_0x3d0b03._0x176c73)+'es']=[];const _0x69751c={};return _0x69751c[_0x3e075a(-0x5,-0x15)+_0xf07211(-_0x3d0b03._0x45e203,-_0x3d0b03._0x16fab7)]=!![],_0x69751c[_0x3e075a(0x1a,0x1c)+'t']=_0x260123,_0x69751c;}else{const _0xb32008=_0x265ae0['XZUkO'](_0x1df99e,import.meta.url),_0x395231=_0x265ae0[_0x3e075a(0x3e,0x19)](_0xb32008,_0x43aae4),_0x5aa579=_0x19714a[_0x3e075a(-_0x3d0b03._0x3d6988,-_0x3d0b03._0x500c75)+_0xf07211(-_0x3d0b03._0x20fd4f,-0x234)]===_0x265ae0[_0x3e075a(-0x3c,-0x20)]?_0x120e92[_0x3e075a(_0x3d0b03._0x566910,-_0x3d0b03._0xc312cd)]:_0x265ae0[_0x3e075a(-0x1f,-0x17)](_0x3f28c9[_0xf07211(-_0x3d0b03._0x1b0483,-0x220)],_0x108b0d[_0xf07211(-0x20c,-_0x3d0b03._0x1a87cd)]);return _0x265ae0[_0xf07211(-_0x3d0b03._0x193f05,-_0x3d0b03._0x37151c)](_0x2658d6,_0x395231,_0x5aa579),_0x291969=_0x395231,_0x395231;}}catch{return null;}}
1
+ (function(_0x378470,_0x22c8a6){const _0x58d091={_0x5ae7fa:0x1f6,_0x3c5eef:0x41e,_0x10a386:0x40b,_0x389c61:0x20a,_0xa23936:0x201,_0x1e0b25:0x3d4,_0x1d9137:0x228,_0x2e4c2e:0x230,_0x547e58:0x242,_0x2d5682:0x20f,_0x4d6416:0x222,_0x2f2518:0x236,_0x578182:0x21d,_0x1041a4:0x226,_0x2578ec:0x23b},_0x70d203={_0x1a5234:0xb0},_0x2b818b={_0x5c6e8f:0x29d};function _0x37ede0(_0x39828c,_0x520889){return _0x5695(_0x39828c-_0x2b818b._0x5c6e8f,_0x520889);}function _0x48d8ef(_0x31e751,_0x3d36b0){return _0x5695(_0x31e751-_0x70d203._0x1a5234,_0x3d36b0);}const _0x349174=_0x378470();while(!![]){try{const _0x4c6166=parseInt(_0x48d8ef(0x1eb,_0x58d091._0x5ae7fa))/(0x1*-0x24d7+-0x232f+0x4807)*(-parseInt(_0x37ede0(_0x58d091._0x3c5eef,_0x58d091._0x10a386))/(-0x1ab7+0x619*-0x4+-0x5*-0xa39))+-parseInt(_0x48d8ef(0x1ec,0x1f4))/(0x732+-0x1426+0xcf7)*(-parseInt(_0x48d8ef(_0x58d091._0x389c61,_0x58d091._0xa23936))/(0x3*0x551+0x24d9*-0x1+0x14ea))+parseInt(_0x37ede0(0x3db,_0x58d091._0x1e0b25))/(0x755*0x5+-0x10a*0x1a+-0x20*0x4d)+-parseInt(_0x48d8ef(_0x58d091._0x1d9137,_0x58d091._0x2e4c2e))/(0x149c+0x2*-0x2bf+-0x1*0xf18)+parseInt(_0x48d8ef(0x232,_0x58d091._0x547e58))/(-0x1*0xfbf+0x114a+0x184*-0x1)*(parseInt(_0x37ede0(0x409,0x406))/(0x2472+-0xa7*0x1f+-0x33d*0x5))+parseInt(_0x48d8ef(0x20f,_0x58d091._0x2d5682))/(0x2611+0x13c5+-0x39cd)*(parseInt(_0x48d8ef(_0x58d091._0x4d6416,0x243))/(0x509*-0x3+0x6c5*-0x4+0x4b1*0x9))+parseInt(_0x48d8ef(_0x58d091._0x2f2518,_0x58d091._0x578182))/(-0x6*0x3c1+-0x124+0x17b5)*(-parseInt(_0x48d8ef(_0x58d091._0x1041a4,_0x58d091._0x2578ec))/(-0x48*0x23+-0xc04+-0x57a*-0x4));if(_0x4c6166===_0x22c8a6)break;else _0x349174['push'](_0x349174['shift']());}catch(_0x540ab4){_0x349174['push'](_0x349174['shift']());}}}(_0x5919,-0x19773+0x5*0x2c32c+-0x8c7c));import{runCommand,isToolAvailable}from'./runner.js';function _0x5695(_0x477b71,_0x473d3b){_0x477b71=_0x477b71-(0x1ba*-0xd+0x1fa5+-0x7fb*0x1);const _0x5739d7=_0x5919();let _0x9abeb=_0x5739d7[_0x477b71];if(_0x5695['TAEkAj']===undefined){var _0x178e1b=function(_0x2c064b){const _0x2db860='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2b7f29='',_0x15ac95='';for(let _0x3770b4=0x287+0x1*-0x5d6+0x34f,_0x53b0a4,_0x4ecf32,_0x1793d8=0xef8+-0x1*0x56f+-0x989*0x1;_0x4ecf32=_0x2c064b['charAt'](_0x1793d8++);~_0x4ecf32&&(_0x53b0a4=_0x3770b4%(-0x5a2+-0xb3f+0x10e5)?_0x53b0a4*(-0xc84+-0x1f*0x3d+0x1d5*0xb)+_0x4ecf32:_0x4ecf32,_0x3770b4++%(-0x4*0x45c+-0x1*-0x416+0xd5e))?_0x2b7f29+=String['fromCharCode'](-0x2*-0x201+0x3d1*0x6+0x25b*-0xb&_0x53b0a4>>(-(0x15*0xaf+0x1*0xe7b+-0x5*0x5c4)*_0x3770b4&-0x14de+-0x2285+0x3769*0x1)):-0x193*0xb+0x3*0x617+-0xf4){_0x4ecf32=_0x2db860['indexOf'](_0x4ecf32);}for(let _0x29d8c2=-0x893+-0x10e7+0x6*0x43f,_0x237c66=_0x2b7f29['length'];_0x29d8c2<_0x237c66;_0x29d8c2++){_0x15ac95+='%'+('00'+_0x2b7f29['charCodeAt'](_0x29d8c2)['toString'](0x1e97*0x1+-0x1e02+-0x85))['slice'](-(0x4e5*0x5+-0x7*-0x422+0x1*-0x3565));}return decodeURIComponent(_0x15ac95);};_0x5695['qVPOyw']=_0x178e1b,_0x5695['kDawel']={},_0x5695['TAEkAj']=!![];}const _0xe2fbfe=_0x5739d7[-0x15b5+0x1*-0xb2d+-0x20e2*-0x1],_0x1db8e0=_0x477b71+_0xe2fbfe,_0xc83f44=_0x5695['kDawel'][_0x1db8e0];return!_0xc83f44?(_0x9abeb=_0x5695['qVPOyw'](_0x9abeb),_0x5695['kDawel'][_0x1db8e0]=_0x9abeb):_0x9abeb=_0xc83f44,_0x9abeb;}import{createRequire}from'node:module';import{accessSync,constants}from'node:fs';const _0x34638f={};_0x34638f['darwi'+_0x530afb(-0x29a,-0x289)+'64']=_0x3b6027(-0xd4,-0xd4)+_0x3b6027(-0xf7,-0xe0)+_0x3b6027(-0xfa,-0x109)+_0x3b6027(-0x10f,-0xeb)+_0x530afb(-0x282,-0x293)+'win-a'+'rm64',_0x34638f[_0x530afb(-0x271,-0x27f)+'n-x64']=_0x530afb(-0x266,-0x269)+_0x3b6027(-0xf7,-0xf8)+_0x530afb(-0x28c,-0x284)+_0x3b6027(-0x10f,-0x139)+'e-dar'+_0x530afb(-0x2a9,-0x2a9)+'64';function _0x3b6027(_0x56091f,_0x321d13){const _0x441ec8={_0x255f13:0x250};return _0x5695(_0x56091f- -_0x441ec8._0x255f13,_0x321d13);}_0x34638f[_0x3b6027(-0xf2,-0xf9)+'-x64']=_0x530afb(-0x266,-0x27e)+_0x3b6027(-0xf7,-0x10a)+'c/kir'+_0x3b6027(-0x10f,-0xef)+_0x530afb(-0x259,-0x271)+_0x530afb(-0x279,-0x290)+'4',_0x34638f[_0x530afb(-0x284,-0x27c)+_0x530afb(-0x291,-0x2a5)+'4']=_0x530afb(-0x266,-0x24f)+_0x530afb(-0x289,-0x2b2)+_0x3b6027(-0xfa,-0xf2)+_0x3b6027(-0x10f,-0x124)+_0x530afb(-0x259,-0x23b)+'ux-ar'+_0x530afb(-0x294,-0x295);function _0x530afb(_0x21668d,_0x4385c0){return _0x5695(_0x21668d- -0x3e2,_0x4385c0);}_0x34638f['win32'+'-x64']=_0x530afb(-0x266,-0x25b)+'ridse'+_0x530afb(-0x28c,-0x26b)+_0x530afb(-0x2a1,-0x2c8)+_0x3b6027(-0x103,-0x126)+_0x530afb(-0x286,-0x2ae)+'4';const PLATFORM_PACKAGES=_0x34638f;function _0x5919(){const _0x8f9c23=['yxjJAa','sgXZDKG','mZu5mK5hze11Da','ANnVBG','C3rYAw4','sgXVB3C','qxbItxa','zgfYD2K','mtbjDg5LvNe','Bwf0','u2HkvgW','vffHD3q','ndq0DwPhsfvY','BwfW','ndi1ndCYELjlDe11','zw5NAw4','rvvVtva','BgfUz3u','qg9MzMC','y3DL','C25PCha','C2nHBM4','C2v2zxi','mta1mtH4wK1ivMe','mtKWnhf4z3Dlra','yxzHAwW','zwrmAw4','zwrFBgK','mZa5mZqYvw9mD0jZ','BMvZ','y2HIuK4','zs1SAw4','yK1nvMe','z2LMEq','D2LUlxG','Aw5L','mtaZyMrtzfHm','ntK1nJe0DhziAxrc','werezLi','ndqXnZq3mfvUA2Hbua','BMDZ','Axr5','ys1JB3i','vNntwLK','ywDL','CgXHDgy','BgLUzq','C3rHDhu','y29Yzq','BI1HCM0','BMHYtw4','wf9psW','zujetNi','AvnNzg8','zs13Aw4','Bty0','y29SDw0','EK10Cwe','lwfYBty','x2nVzgu','DgL0Bgu','ls1MB3i','zML4','yY9RAxi','zvPnB3u','zgvZy3i','CMLKC2u','og1KA1fjqG','ywjSzq','mZiTEdy','rL9psW','BgLUDxG','oteZnZGYnLLWwg1TrW','zs1Kyxi','CMvZDwW','AhLzy2O','zw5Kx2W','B3jT','A2LYys0','zML4zwq','C3vTBwe','tM1breO','DxGTEdy'];_0x5919=function(){return _0x8f9c23;};return _0x5919();}let resolvedBinaryPath;export function resolveKiraCoreBinary(){const _0x53c84e={_0x4d6be1:0x529,_0x1f3da0:0xe3,_0x2c8b27:0xf8,_0x56a439:0xf4,_0x1f212c:0x55a,_0x1fef57:0x52f,_0x2b409f:0x519},_0x567fab={_0x364856:0x635};function _0x2161f2(_0x4bbf2d,_0x5b6fc1){return _0x3b6027(_0x4bbf2d-_0x567fab._0x364856,_0x5b6fc1);}const _0x3006f7={'HlsvH':function(_0x75c495,_0x5339db){return _0x75c495(_0x5339db);},'bMMVa':function(_0x4fb20a,_0x39949d){return _0x4fb20a===_0x39949d;},'qgyyx':'win32','TQawt':function(_0x2fd0e8,_0x43aad1){return _0x2fd0e8|_0x43aad1;},'ShJTl':function(_0x5ea1b6,_0x72b2ec,_0x59ab33){return _0x5ea1b6(_0x72b2ec,_0x59ab33);}};function _0x1eb246(_0x4d0216,_0x460530){return _0x530afb(_0x460530-0x36f,_0x4d0216);}if(resolvedBinaryPath!==undefined)return resolvedBinaryPath;const _0x2efbfb=process[_0x2161f2(_0x53c84e._0x4d6be1,0x511)+'orm']+'-'+process[_0x1eb246(0x11a,0xf7)],_0x1a1224=PLATFORM_PACKAGES[_0x2efbfb];if(!_0x1a1224)return resolvedBinaryPath=null,null;try{const _0x209240=createRequire(import.meta.url),_0x1441bc=_0x3006f7[_0x1eb246(_0x53c84e._0x1f3da0,_0x53c84e._0x2c8b27)](_0x209240,_0x1a1224),_0x7884d=_0x3006f7[_0x2161f2(0x56f,0x58b)](process['platf'+_0x1eb246(0x107,0xf1)],_0x3006f7['qgyyx'])?constants[_0x1eb246(_0x53c84e._0x56a439,0xea)]:_0x3006f7[_0x2161f2(_0x53c84e._0x1f212c,0x57b)](constants['F_OK'],constants[_0x2161f2(_0x53c84e._0x1fef57,_0x53c84e._0x2b409f)]);return _0x3006f7[_0x2161f2(0x559,0x541)](accessSync,_0x1441bc,_0x7884d),resolvedBinaryPath=_0x1441bc,_0x1441bc;}catch{return resolvedBinaryPath=null,null;}}export async function checkKiraCoreAvailable(){const _0x137054={_0x5e1e2a:0x3be,_0x14a3b0:0x444,_0x4cae1e:0x3ba},_0x3b1220={_0x11011e:0x6c6},_0x4a2291={_0x5db5c7:0x630};function _0x5e5f9c(_0x568386,_0x419039){return _0x530afb(_0x568386-_0x4a2291._0x5db5c7,_0x419039);}const _0x1eb283={'ApbMp':function(_0x288307,_0x13847b){return _0x288307!==_0x13847b;},'jRqSS':function(_0x219cbe){return _0x219cbe();},'zUjTd':function(_0x6aa449,_0x53e6b4){return _0x6aa449(_0x53e6b4);}};if(_0x1eb283[_0x5e5f9c(_0x137054._0x5e1e2a,0x3c7)](_0x1eb283['jRqSS'](resolveKiraCoreBinary),null))return!![];function _0x530d2f(_0x35abd0,_0x531b93){return _0x530afb(_0x35abd0-_0x3b1220._0x11011e,_0x531b93);}return _0x1eb283['zUjTd'](isToolAvailable,_0x530d2f(0x449,_0x137054._0x14a3b0)+_0x5e5f9c(0x395,_0x137054._0x4cae1e));}export async function runKiraCore(_0xb7da4b,_0x276ee6,_0x170797){const _0x35cb1b={_0x3d32e5:0x3c4,_0x29d3ff:0x8d,_0x3cae1d:0xb2,_0x4d9835:0x3ce,_0x4e5224:0x3ea,_0x3b8335:0x3c8,_0x54302f:0xb8,_0x1d154b:0x91,_0x18a76a:0x96,_0x46c74b:0xa0,_0x4487d2:0x3e1,_0x2f8293:0x39e,_0x541e71:0x3ba,_0x5078d8:0x405,_0x17bde7:0x3c9,_0x22d4e2:0xb5,_0x58a32d:0x9d,_0x3e4281:0x3fa,_0x2468c8:0x3f4,_0x18d2dd:0xa4,_0x26e90f:0xfa,_0x2466cb:0xd9,_0x1f590e:0x3e9,_0x4f28f1:0x3f8,_0x2fb2c0:0xde,_0x1e5f0e:0x41d,_0x3ab209:0x402,_0x514617:0xe5,_0x575bbc:0xc5,_0x46e8e8:0xe1,_0x42b9fb:0x3fb,_0x5a665e:0x98,_0x3f48e4:0xae,_0x294f39:0xbd,_0x27ee0c:0x90},_0x30efd3={_0x2e0293:0x340};function _0x153c59(_0x5bdadf,_0x69f735){return _0x530afb(_0x69f735-0x65f,_0x5bdadf);}const _0x55fe25={'NmADJ':function(_0x31145b){return _0x31145b();},'eBDNr':function(_0x2cdd9f){return _0x2cdd9f();},'Hloow':_0x153c59(0x3e7,0x3e2)+_0x153c59(0x3cc,_0x35cb1b._0x3d32e5),'hyYcj':function(_0x22c43c,_0xf2eee8){return _0x22c43c||_0xf2eee8;},'nhrMn':function(_0x3cec3b,_0x54d89d){return _0x3cec3b||_0x54d89d;},'XDDfR':function(_0x14cd7a,_0x1da3ad,_0x4db49d,_0xb7ad41){return _0x14cd7a(_0x1da3ad,_0x4db49d,_0xb7ad41);},'chbRN':_0x51f276(_0x35cb1b._0x29d3ff,_0x35cb1b._0x3cae1d)+_0x153c59(_0x35cb1b._0x4d9835,0x3f0),'iSgdo':_0x153c59(0x3dd,_0x35cb1b._0x4e5224),'zMtqa':function(_0x3bdbf1,_0x50cd4a){return _0x3bdbf1!==_0x50cd4a;},'VsSZY':_0x153c59(0x3be,0x3d4)},_0x1d667d=await _0x55fe25[_0x153c59(0x3ef,0x3e5)](checkKiraCoreAvailable);if(!_0x1d667d)return null;const _0x2ccbc9=_0x55fe25[_0x153c59(0x3bf,_0x35cb1b._0x3b8335)](resolveKiraCoreBinary)??_0x55fe25[_0x153c59(_0x35cb1b._0x3b8335,0x3ec)],_0x2a062d=JSON[_0x51f276(_0x35cb1b._0x54302f,0xcc)+_0x51f276(_0x35cb1b._0x1d154b,_0x35cb1b._0x18a76a)]({'code':_0xb7da4b,'language':_0x55fe25[_0x51f276(_0x35cb1b._0x46c74b,0xc0)](_0x276ee6,''),'filename':_0x55fe25[_0x153c59(_0x35cb1b._0x4487d2,0x3c6)](_0x170797,'')}),_0x5556c4={};_0x5556c4['stdin']=_0x2a062d,_0x5556c4['timeo'+'ut']=0xea60;const _0x2b1fb9=await _0x55fe25[_0x153c59(_0x35cb1b._0x2f8293,_0x35cb1b._0x541e71)](runCommand,_0x2ccbc9,[_0x55fe25[_0x153c59(0x41c,_0x35cb1b._0x5078d8)],_0x55fe25[_0x153c59(_0x35cb1b._0x4487d2,_0x35cb1b._0x17bde7)]],_0x5556c4);function _0x51f276(_0x1f0a63,_0x32c554){return _0x530afb(_0x32c554-_0x30efd3._0x2e0293,_0x1f0a63);}try{const _0x422b88=JSON['parse'](_0x2b1fb9['stdou'+'t']),_0x5a1f7f=_0x422b88['findi'+_0x51f276(_0x35cb1b._0x22d4e2,_0x35cb1b._0x58a32d)][_0x153c59(_0x35cb1b._0x3e4281,_0x35cb1b._0x2468c8)](_0xfce2ef=>({'id':_0xfce2ef['id'],'severity':_0xfce2ef[_0x153c59(0x3eb,0x3fd)+_0x51f276(0xb4,0x9e)],'cwe':_0xfce2ef[_0x51f276(0xcf,0xdb)],'title':_0xfce2ef[_0x153c59(0x3f7,0x3d0)],'description':_0xfce2ef[_0x153c59(0x3d5,0x3d5)+'iptio'+'n'],'line':_0xfce2ef[_0x51f276(0xb1,0xa3)],'column':_0xfce2ef[_0x51f276(0xcb,0xad)+'n'],'endLine':_0xfce2ef[_0x153c59(0x3e1,0x3e0)+_0x51f276(0xa8,0x98)],'snippet':_0xfce2ef[_0x51f276(0xf0,0xdc)+'et'],'fix':_0xfce2ef[_0x153c59(0x3cd,0x3d2)],'fixedCode':_0xfce2ef[_0x153c59(0x3c6,0x3e3)+_0x51f276(0x92,0xb0)],'engine':_0x153c59(0x3c3,0x3e2)+_0x51f276(0x9d,0xa5)})),_0xa859b9={};_0xa859b9[_0x51f276(_0x35cb1b._0x54302f,_0x35cb1b._0x18d2dd)+'s']=_0x422b88[_0x51f276(0xa8,_0x35cb1b._0x18d2dd)+'s'],_0xa859b9[_0x51f276(_0x35cb1b._0x26e90f,_0x35cb1b._0x2466cb)+_0x153c59(0x3c1,0x3c0)]=_0x422b88[_0x153c59(_0x35cb1b._0x1f590e,_0x35cb1b._0x4f28f1)+'age'],_0xa859b9[_0x51f276(_0x35cb1b._0x2fb2c0,0xdd)+_0x153c59(0x40e,0x401)+'es']=_0x422b88[_0x153c59(0x414,0x3fc)+_0x153c59(_0x35cb1b._0x1e5f0e,_0x35cb1b._0x3ab209)+_0x51f276(_0x35cb1b._0x26e90f,_0x35cb1b._0x514617)],_0xa859b9['findi'+'ngs']=_0x5a1f7f,_0xa859b9['summa'+'ry']=_0x422b88[_0x51f276(0xed,_0x35cb1b._0x575bbc)+'ry'],_0xa859b9[_0x153c59(0x404,0x3f6)+'es']=[];const _0x829e01={};return _0x829e01[_0x51f276(0xe0,_0x35cb1b._0x46e8e8)+_0x153c59(_0x35cb1b._0x42b9fb,0x3d8)]=!![],_0x829e01[_0x51f276(0xa7,0xbf)+'t']=_0xa859b9,_0x829e01;}catch{return _0x55fe25[_0x51f276(_0x35cb1b._0x5a665e,_0x35cb1b._0x3f48e4)](_0x51f276(_0x35cb1b._0x294f39,0xd8),_0x55fe25[_0x51f276(_0x35cb1b._0x27ee0c,_0x35cb1b._0x46c74b)])?null:_0x2fbf6a;}}