terminull-arcade 0.0.0-stage → 1.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.
- package/LICENSE +9 -0
- package/README.md +100 -2
- package/dist/chunk-WCZVPTEK.js +3294 -0
- package/dist/chunk-WCZVPTEK.js.map +1 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +154 -0
- package/dist/cli.js.map +1 -0
- package/dist/index.d.ts +535 -0
- package/dist/index.js +66 -0
- package/dist/index.js.map +1 -0
- package/package.json +68 -4
package/dist/cli.js
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
ALL_GAMES_METADATA,
|
|
4
|
+
APP_NAME,
|
|
5
|
+
APP_TAGLINE,
|
|
6
|
+
APP_VERSION,
|
|
7
|
+
ArcadeMenu,
|
|
8
|
+
ByteRunnerGame,
|
|
9
|
+
CyberViperGame,
|
|
10
|
+
NeonCircuitGame,
|
|
11
|
+
PacketManGame,
|
|
12
|
+
defaultAchievements,
|
|
13
|
+
defaultEngine,
|
|
14
|
+
defaultStorage,
|
|
15
|
+
formatTime
|
|
16
|
+
} from "./chunk-WCZVPTEK.js";
|
|
17
|
+
|
|
18
|
+
// src/cli.ts
|
|
19
|
+
import { Command } from "commander";
|
|
20
|
+
import chalk from "chalk";
|
|
21
|
+
import readline from "readline";
|
|
22
|
+
defaultEngine.registerGame("packet-man", () => new PacketManGame());
|
|
23
|
+
defaultEngine.registerGame("cyber-viper", () => new CyberViperGame());
|
|
24
|
+
defaultEngine.registerGame("neon-circuit", () => new NeonCircuitGame());
|
|
25
|
+
defaultEngine.registerGame("byte-runner", () => new ByteRunnerGame());
|
|
26
|
+
var program = new Command();
|
|
27
|
+
program.name("terminull-arcade").description(`${chalk.cyanBright.bold(APP_NAME)} - ${APP_TAGLINE}`).version(APP_VERSION);
|
|
28
|
+
program.option("-y, --yes", "Skip entry confirmation prompt").action((options) => {
|
|
29
|
+
if (options.yes) {
|
|
30
|
+
launchInteractiveMenu();
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
promptToEnterArcade();
|
|
34
|
+
});
|
|
35
|
+
function promptToEnterArcade() {
|
|
36
|
+
const nodeVersion = process.version;
|
|
37
|
+
console.log(`
|
|
38
|
+
${chalk.cyanBright.bold(" \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2557\u2588\u2588\u2557\u2588\u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2557 \u2588\u2588\u2557 ")}`);
|
|
39
|
+
console.log(chalk.cyanBright.bold(" \u255A\u2550\u2550\u2588\u2588\u2554\u2550\u2550\u255D\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2551\u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551 "));
|
|
40
|
+
console.log(chalk.magentaBright(" \u2588\u2588\u2551 \u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D\u2588\u2588\u2554\u2588\u2588\u2588\u2588\u2554\u2588\u2588\u2551\u2588\u2588\u2551\u2588\u2588\u2554\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551 "));
|
|
41
|
+
console.log(chalk.magentaBright(" \u2588\u2588\u2551 \u2588\u2588\u2554\u2550\u2550\u255D \u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2551\u255A\u2588\u2588\u2554\u255D\u2588\u2588\u2551\u2588\u2588\u2551\u2588\u2588\u2551\u255A\u2588\u2588\u2557\u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551 "));
|
|
42
|
+
console.log(chalk.gray(" \u2588\u2588\u2551 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2551 \u255A\u2550\u255D \u2588\u2588\u2551\u2588\u2588\u2551\u2588\u2588\u2551 \u255A\u2588\u2588\u2588\u2588\u2551\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557"));
|
|
43
|
+
console.log(chalk.gray(" \u255A\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u255D\u255A\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D"));
|
|
44
|
+
console.log(`
|
|
45
|
+
${chalk.yellowBright(APP_TAGLINE)}`);
|
|
46
|
+
console.log(` ${chalk.greenBright("\u2713")} Node.js Runtime Verified: ${chalk.whiteBright(nodeVersion)} (Node.js 18+ required)`);
|
|
47
|
+
console.log(` ${chalk.gray("All arcade games run 100% locally with zero external network access.")}
|
|
48
|
+
`);
|
|
49
|
+
const rl = readline.createInterface({
|
|
50
|
+
input: process.stdin,
|
|
51
|
+
output: process.stdout
|
|
52
|
+
});
|
|
53
|
+
rl.question(` ${chalk.cyanBright.bold("Enter Terminull Arcade?")} ${chalk.gray("(y/n) [default: y]: ")}`, (answer) => {
|
|
54
|
+
rl.close();
|
|
55
|
+
const trimmed = answer.trim().toLowerCase();
|
|
56
|
+
if (!trimmed || trimmed === "y" || trimmed === "yes") {
|
|
57
|
+
launchInteractiveMenu();
|
|
58
|
+
} else {
|
|
59
|
+
console.log(`
|
|
60
|
+
${chalk.gray("Arcade launch aborted.")}`);
|
|
61
|
+
console.log(` ${chalk.gray("Whenever you are ready, run:")} ${chalk.cyan("npx terminull-arcade")}
|
|
62
|
+
`);
|
|
63
|
+
process.exit(0);
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
program.command("list").description("List all available games in the Terminull arcade").action(() => {
|
|
68
|
+
const profile = defaultStorage.getProfile();
|
|
69
|
+
console.log(`
|
|
70
|
+
${chalk.cyanBright.bold("=== TERMINULL ARCADE ROSTER ===")}
|
|
71
|
+
`);
|
|
72
|
+
console.log(chalk.gray(`ID`.padEnd(18) + `NAME`.padEnd(20) + `CATEGORY`.padEnd(14) + `HIGH SCORE`));
|
|
73
|
+
console.log(chalk.gray("\u2500".repeat(65)));
|
|
74
|
+
for (const game of Object.values(ALL_GAMES_METADATA)) {
|
|
75
|
+
const high = profile.highScores[game.id] || 0;
|
|
76
|
+
const isImplemented = defaultEngine.getRegisteredGames().includes(game.id);
|
|
77
|
+
const nameStr = isImplemented ? chalk.whiteBright(game.name) : chalk.gray(`${game.name} *`);
|
|
78
|
+
console.log(
|
|
79
|
+
chalk.cyan(game.id.padEnd(18)) + nameStr.padEnd(20) + chalk.magenta(game.category.padEnd(14)) + chalk.yellow(high.toString())
|
|
80
|
+
);
|
|
81
|
+
}
|
|
82
|
+
console.log(`
|
|
83
|
+
${chalk.gray("* Games marked with * are queued in the core pipeline.")}`);
|
|
84
|
+
console.log(`${chalk.gray("Run")} ${chalk.cyan("npx terminull-arcade play <game-id>")} ${chalk.gray("to launch directly.")}
|
|
85
|
+
`);
|
|
86
|
+
});
|
|
87
|
+
program.command("play <game-id>").description("Launch a game directly by ID").option("-d, --difficulty <level>", "Difficulty: easy, normal, hard, insane", "normal").action((gameId, options) => {
|
|
88
|
+
const validDiff = ["easy", "normal", "hard", "insane"].includes(options.difficulty) ? options.difficulty : "normal";
|
|
89
|
+
if (!ALL_GAMES_METADATA[gameId]) {
|
|
90
|
+
console.error(chalk.redBright(`
|
|
91
|
+
Error: Unknown game ID "${gameId}".`));
|
|
92
|
+
console.log(`Run ${chalk.cyan("npx terminull list")} to view valid game IDs.
|
|
93
|
+
`);
|
|
94
|
+
process.exit(1);
|
|
95
|
+
}
|
|
96
|
+
if (!defaultEngine.getRegisteredGames().includes(gameId)) {
|
|
97
|
+
console.error(chalk.yellowBright(`
|
|
98
|
+
Notice: "${gameId}" implementation is staged in pipeline.`));
|
|
99
|
+
console.log(`Currently playable games: ${chalk.cyan(defaultEngine.getRegisteredGames().join(", "))}
|
|
100
|
+
`);
|
|
101
|
+
process.exit(0);
|
|
102
|
+
}
|
|
103
|
+
defaultEngine.launchGame(gameId, validDiff, {
|
|
104
|
+
onQuitToMenu: () => {
|
|
105
|
+
launchInteractiveMenu();
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
});
|
|
109
|
+
program.command("stats").description("Display career statistics and achievements").action(() => {
|
|
110
|
+
const profile = defaultStorage.getProfile();
|
|
111
|
+
const stats = defaultAchievements.getTotalStats();
|
|
112
|
+
let totalScore = 0;
|
|
113
|
+
let totalPlays = 0;
|
|
114
|
+
let totalSec = 0;
|
|
115
|
+
for (const id of Object.keys(ALL_GAMES_METADATA)) {
|
|
116
|
+
totalScore += profile.highScores[id] || 0;
|
|
117
|
+
totalPlays += profile.playCounts[id] || 0;
|
|
118
|
+
totalSec += profile.totalTimePlayedSec[id] || 0;
|
|
119
|
+
}
|
|
120
|
+
console.log(`
|
|
121
|
+
${chalk.cyanBright.bold("=== TERMINULL PILOT TELEMETRY ===")}
|
|
122
|
+
`);
|
|
123
|
+
console.log(`${chalk.gray("Cumulative High Score:")} ${chalk.yellowBright(totalScore.toLocaleString())}`);
|
|
124
|
+
console.log(`${chalk.gray("Total Play Sessions:")} ${chalk.cyanBright(totalPlays)}`);
|
|
125
|
+
console.log(`${chalk.gray("Total Time in Engine:")} ${chalk.magentaBright(formatTime(totalSec))}`);
|
|
126
|
+
console.log(`${chalk.gray("Achievements Unlocked:")} ${chalk.greenBright(`${stats.unlockedCount} / ${stats.totalCount} (${stats.percentage}%)`)}`);
|
|
127
|
+
console.log(`${chalk.gray("Current Active Theme:")} ${chalk.whiteBright(profile.settings.theme)}`);
|
|
128
|
+
console.log(`${chalk.gray("Profile Path:")} ${chalk.gray(defaultStorage.getProfilePath())}
|
|
129
|
+
`);
|
|
130
|
+
});
|
|
131
|
+
program.command("reset").description("Reset local high scores, achievements, and stats").option("-f, --force", "Force reset without confirmation prompt").action(() => {
|
|
132
|
+
defaultStorage.resetProfile();
|
|
133
|
+
console.log(chalk.greenBright("\n\u2713 Terminull local profile, high scores, and achievements have been reset.\n"));
|
|
134
|
+
});
|
|
135
|
+
function launchInteractiveMenu() {
|
|
136
|
+
const menu = new ArcadeMenu();
|
|
137
|
+
menu.open((selection) => {
|
|
138
|
+
if (selection.action === "play" && selection.gameId) {
|
|
139
|
+
if (!defaultEngine.getRegisteredGames().includes(selection.gameId)) {
|
|
140
|
+
console.log(chalk.yellowBright(`
|
|
141
|
+
Game "${selection.gameId}" is staged in the pipeline.
|
|
142
|
+
`));
|
|
143
|
+
process.exit(0);
|
|
144
|
+
}
|
|
145
|
+
defaultEngine.launchGame(selection.gameId, selection.difficulty, {
|
|
146
|
+
onQuitToMenu: () => launchInteractiveMenu()
|
|
147
|
+
});
|
|
148
|
+
} else {
|
|
149
|
+
process.exit(0);
|
|
150
|
+
}
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
program.parse(process.argv);
|
|
154
|
+
//# sourceMappingURL=cli.js.map
|
package/dist/cli.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/cli.ts"],"sourcesContent":["import { Command } from 'commander';\nimport chalk from 'chalk';\nimport { APP_NAME, APP_TAGLINE, APP_VERSION, ALL_GAMES_METADATA } from './shared/constants.js';\nimport { GameId, DifficultyLevel } from './shared/types.js';\nimport { defaultStorage } from './core/storage.js';\nimport { defaultAchievements } from './core/achievements.js';\nimport { defaultEngine } from './core/engine.js';\nimport { ArcadeMenu } from './core/menu.js';\nimport { formatTime } from './shared/utils.js';\nimport { NeonCircuitGame } from './games/neon-circuit/index.js';\nimport { ByteRunnerGame } from './games/byte-runner/index.js';\nimport { PacketManGame } from './games/packet-man/index.js';\nimport { CyberViperGame } from './games/cyber-viper/index.js';\n\n// Register implemented games\ndefaultEngine.registerGame('packet-man', () => new PacketManGame());\ndefaultEngine.registerGame('cyber-viper', () => new CyberViperGame());\ndefaultEngine.registerGame('neon-circuit', () => new NeonCircuitGame());\ndefaultEngine.registerGame('byte-runner', () => new ByteRunnerGame());\n\nconst program = new Command();\n\nprogram\n .name('terminull-arcade')\n .description(`${chalk.cyanBright.bold(APP_NAME)} - ${APP_TAGLINE}`)\n .version(APP_VERSION);\n\nimport readline from 'node:readline';\n\n// Default action: prompt to enter arcade with (y) confirmation\nprogram\n .option('-y, --yes', 'Skip entry confirmation prompt')\n .action((options: { yes?: boolean }) => {\n if (options.yes) {\n launchInteractiveMenu();\n return;\n }\n\n promptToEnterArcade();\n });\n\nfunction promptToEnterArcade(): void {\n const nodeVersion = process.version;\n console.log(`\\n${chalk.cyanBright.bold(' ████████╗███████╗██████╗ ███╗ ███╗██╗███╗ ██╗██╗ ██╗██╗ ██╗ ')}`);\n console.log(chalk.cyanBright.bold(' ╚══██╔══╝██╔════╝██╔══██╗████╗ ████║██║████╗ ██║██║ ██║██║ ██║ '));\n console.log(chalk.magentaBright(' ██║ █████╗ ██████╔╝██╔████╔██║██║██╔██╗ ██║██║ ██║██║ ██║ '));\n console.log(chalk.magentaBright(' ██║ ██╔══╝ ██╔══██╗██║╚██╔╝██║██║██║╚██╗██║██║ ██║██║ ██║ '));\n console.log(chalk.gray(' ██║ ███████╗██║ ██║██║ ╚═╝ ██║██║██║ ╚████║╚██████╔╝███████╗███████╗'));\n console.log(chalk.gray(' ╚═╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝╚══════╝'));\n console.log(`\\n ${chalk.yellowBright(APP_TAGLINE)}`);\n console.log(` ${chalk.greenBright('✓')} Node.js Runtime Verified: ${chalk.whiteBright(nodeVersion)} (Node.js 18+ required)`);\n console.log(` ${chalk.gray('All arcade games run 100% locally with zero external network access.')}\\n`);\n\n const rl = readline.createInterface({\n input: process.stdin,\n output: process.stdout,\n });\n\n rl.question(` ${chalk.cyanBright.bold('Enter Terminull Arcade?')} ${chalk.gray('(y/n) [default: y]: ')}`, (answer) => {\n rl.close();\n const trimmed = answer.trim().toLowerCase();\n if (!trimmed || trimmed === 'y' || trimmed === 'yes') {\n launchInteractiveMenu();\n } else {\n console.log(`\\n ${chalk.gray('Arcade launch aborted.')}`);\n console.log(` ${chalk.gray('Whenever you are ready, run:')} ${chalk.cyan('npx terminull-arcade')}\\n`);\n process.exit(0);\n }\n });\n}\n\nprogram\n .command('list')\n .description('List all available games in the Terminull arcade')\n .action(() => {\n const profile = defaultStorage.getProfile();\n console.log(`\\n${chalk.cyanBright.bold('=== TERMINULL ARCADE ROSTER ===')}\\n`);\n console.log(chalk.gray(`ID`.padEnd(18) + `NAME`.padEnd(20) + `CATEGORY`.padEnd(14) + `HIGH SCORE`));\n console.log(chalk.gray('─'.repeat(65)));\n\n for (const game of Object.values(ALL_GAMES_METADATA)) {\n const high = profile.highScores[game.id] || 0;\n const isImplemented = defaultEngine.getRegisteredGames().includes(game.id);\n const nameStr = isImplemented ? chalk.whiteBright(game.name) : chalk.gray(`${game.name} *`);\n console.log(\n chalk.cyan(game.id.padEnd(18)) +\n nameStr.padEnd(20) +\n chalk.magenta(game.category.padEnd(14)) +\n chalk.yellow(high.toString())\n );\n }\n console.log(`\\n${chalk.gray('* Games marked with * are queued in the core pipeline.')}`);\n console.log(`${chalk.gray('Run')} ${chalk.cyan('npx terminull-arcade play <game-id>')} ${chalk.gray('to launch directly.')}\\n`);\n });\n\nprogram\n .command('play <game-id>')\n .description('Launch a game directly by ID')\n .option('-d, --difficulty <level>', 'Difficulty: easy, normal, hard, insane', 'normal')\n .action((gameId: string, options: { difficulty: string }) => {\n const validDiff: DifficultyLevel = ['easy', 'normal', 'hard', 'insane'].includes(options.difficulty)\n ? (options.difficulty as DifficultyLevel)\n : 'normal';\n\n if (!ALL_GAMES_METADATA[gameId as GameId]) {\n console.error(chalk.redBright(`\\nError: Unknown game ID \"${gameId}\".`));\n console.log(`Run ${chalk.cyan('npx terminull list')} to view valid game IDs.\\n`);\n process.exit(1);\n }\n\n if (!defaultEngine.getRegisteredGames().includes(gameId as GameId)) {\n console.error(chalk.yellowBright(`\\nNotice: \"${gameId}\" implementation is staged in pipeline.`));\n console.log(`Currently playable games: ${chalk.cyan(defaultEngine.getRegisteredGames().join(', '))}\\n`);\n process.exit(0);\n }\n\n defaultEngine.launchGame(gameId as GameId, validDiff, {\n onQuitToMenu: () => {\n launchInteractiveMenu();\n },\n });\n });\n\nprogram\n .command('stats')\n .description('Display career statistics and achievements')\n .action(() => {\n const profile = defaultStorage.getProfile();\n const stats = defaultAchievements.getTotalStats();\n\n let totalScore = 0;\n let totalPlays = 0;\n let totalSec = 0;\n\n for (const id of Object.keys(ALL_GAMES_METADATA)) {\n totalScore += profile.highScores[id] || 0;\n totalPlays += profile.playCounts[id] || 0;\n totalSec += profile.totalTimePlayedSec[id] || 0;\n }\n\n console.log(`\\n${chalk.cyanBright.bold('=== TERMINULL PILOT TELEMETRY ===')}\\n`);\n console.log(`${chalk.gray('Cumulative High Score:')} ${chalk.yellowBright(totalScore.toLocaleString())}`);\n console.log(`${chalk.gray('Total Play Sessions:')} ${chalk.cyanBright(totalPlays)}`);\n console.log(`${chalk.gray('Total Time in Engine:')} ${chalk.magentaBright(formatTime(totalSec))}`);\n console.log(`${chalk.gray('Achievements Unlocked:')} ${chalk.greenBright(`${stats.unlockedCount} / ${stats.totalCount} (${stats.percentage}%)`)}`);\n console.log(`${chalk.gray('Current Active Theme:')} ${chalk.whiteBright(profile.settings.theme)}`);\n console.log(`${chalk.gray('Profile Path:')} ${chalk.gray(defaultStorage.getProfilePath())}\\n`);\n });\n\nprogram\n .command('reset')\n .description('Reset local high scores, achievements, and stats')\n .option('-f, --force', 'Force reset without confirmation prompt')\n .action(() => {\n defaultStorage.resetProfile();\n console.log(chalk.greenBright('\\n✓ Terminull local profile, high scores, and achievements have been reset.\\n'));\n });\n\nfunction launchInteractiveMenu(): void {\n const menu = new ArcadeMenu();\n menu.open((selection) => {\n if (selection.action === 'play' && selection.gameId) {\n if (!defaultEngine.getRegisteredGames().includes(selection.gameId)) {\n console.log(chalk.yellowBright(`\\nGame \"${selection.gameId}\" is staged in the pipeline.\\n`));\n process.exit(0);\n }\n defaultEngine.launchGame(selection.gameId, selection.difficulty, {\n onQuitToMenu: () => launchInteractiveMenu(),\n });\n } else {\n process.exit(0);\n }\n });\n}\n\nprogram.parse(process.argv);\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA,SAAS,eAAe;AACxB,OAAO,WAAW;AA0BlB,OAAO,cAAc;AAZrB,cAAc,aAAa,cAAc,MAAM,IAAI,cAAc,CAAC;AAClE,cAAc,aAAa,eAAe,MAAM,IAAI,eAAe,CAAC;AACpE,cAAc,aAAa,gBAAgB,MAAM,IAAI,gBAAgB,CAAC;AACtE,cAAc,aAAa,eAAe,MAAM,IAAI,eAAe,CAAC;AAEpE,IAAM,UAAU,IAAI,QAAQ;AAE5B,QACG,KAAK,kBAAkB,EACvB,YAAY,GAAG,MAAM,WAAW,KAAK,QAAQ,CAAC,MAAM,WAAW,EAAE,EACjE,QAAQ,WAAW;AAKtB,QACG,OAAO,aAAa,gCAAgC,EACpD,OAAO,CAAC,YAA+B;AACtC,MAAI,QAAQ,KAAK;AACf,0BAAsB;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