import { zodiacs, mbtis, hintWords, scriptStyles, scriptLengths, npcRoles, npcRelations } from './data.js'; export const RegistrationWizard = { renderStep: (step, user) => { const steps = [ `

系统初始化

定义你在人生OS中的唯一代码

`, `

回溯起源

一段让你感到温暖的早期时光

灵感气泡

${hintWords.childhood.map((h, i) => ``).join('')}
`, `

悦然时刻

一段感受到生命跃动的经历

灵感气泡

${hintWords.happy.map((h, i) => ``).join('')}
`, `

破茧成蝶

在宁静中默默积蓄力量的日子

灵感气泡

${hintWords.low.map((h, i) => ``).join('')}
`, `

未来憧憬

对未来理想生活状态的预见

“照见未来,便是创造的开始。”
` ]; return steps[step]; } }; export const AppPages = { record: (events) => `
记叙当下
${events.map(ev => `

${ev.title}

${ev.time}

${ev.content}

Life Harmony AI

${ev.aiReply}

`).join('')}
`, script: (scripts, isGenerating, config, npc, user, customPersonas) => `

剧本生成器

我的基础人设 可自由修改
${customPersonas.map((p, idx) => `
${p.name} (${p.role})
`).join('')}

叙事风格

${scriptStyles.map(s => ` `).join('')}

故事篇幅

${scriptLengths.map(l => ` `).join('')}
${scripts.length === 0 && !isGenerating ? `

尚未生成剧本,定义你的未来篇章

` : ''} ${isGenerating ? `

正在采集星海中的深紫色碎屑...

` : scripts.map(s => `

${s.title}

${s.summary}

${s.persona}
`).join('')}
`, path: (activePath) => `

实现路径

${!activePath ? `

“未来尚未写就,请先在剧本页选择一个目标。”

` : `
目标:${activePath.title}
${activePath.summary.slice(0, 80)}...
${activePath.steps.map((step, i) => `
节点 ${i+1}

${step.task}

${step.desc}

`).join('')}
`}
`, profile: (user) => `

${user.nickname || '未同步系统'}

${user.mbti || 'QUESTER'} · ${user.zodiac || 'STAR'} · ${user.profession || '星民'}

觉醒深度 Lv.4
星历契合 98%
` };