(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,7585,e=>{"use strict";var i=e.i(43476),s=e.i(5771),t=e.i(65150),n=e.i(18071);e.s(["default",0,function(){let{lang:e,setLang:d,t:l}=(0,s.useI18n)(),{theme:c,setTheme:r}=(0,t.useTheme)();return(0,i.jsxs)("div",{className:"space-y-6 max-w-xl",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:"text-xl font-semibold",children:l("settings")}),(0,i.jsx)("div",{className:"text-sm text-zinc-400 mt-1",children:l("settingsHint")})]}),(0,i.jsxs)("section",{className:"rounded-2xl border border-zinc-800 bg-black/40 p-5 space-y-4",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:"font-semibold",children:l("language")}),(0,i.jsx)("div",{className:"text-xs text-zinc-400 mt-1",children:l("languageHint")})]}),(0,i.jsx)("div",{className:"flex flex-wrap gap-2",children:n.LANG_OPTIONS.map(s=>{let t=e===s.id;return(0,i.jsxs)("button",{type:"button",onClick:()=>d(s.id),className:["rounded-xl border px-4 py-2.5 text-sm min-w-[110px]",t?"bg-[#D4AF37] text-zinc-950 border-[#D4AF37] font-semibold":"border-zinc-800 text-zinc-200 hover:bg-zinc-900/50"].join(" "),children:[(0,i.jsx)("div",{children:s.label}),(0,i.jsx)("div",{className:"text-[11px] opacity-70",children:s.native})]},s.id)})})]}),(0,i.jsxs)("section",{className:"rounded-2xl border border-zinc-800 bg-black/40 p-5 space-y-4",children:[(0,i.jsx)("div",{className:"font-semibold",children:l("theme")}),(0,i.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,i.jsxs)("button",{type:"button",onClick:()=>r("dark"),className:["rounded-xl border px-4 py-2.5 text-sm","dark"===c?"bg-[#D4AF37] text-zinc-950 border-[#D4AF37] font-semibold":"border-zinc-800 text-zinc-200 hover:bg-zinc-900/50"].join(" "),children:["☾ ",l("dark")]}),(0,i.jsxs)("button",{type:"button",onClick:()=>r("light"),className:["rounded-xl border px-4 py-2.5 text-sm","light"===c?"bg-[#D4AF37] text-zinc-950 border-[#D4AF37] font-semibold":"border-zinc-800 text-zinc-200 hover:bg-zinc-900/50"].join(" "),children:["☀ ",l("light")]})]})]})]})}])}]);