__vite_ssr_exportName__("accountStatusTone", () => { try { return accountStatusTone } catch {} });
__vite_ssr_exportName__("loginCommand", () => { try { return loginCommand } catch {} });
function accountStatusTone(status) {
	return status === "connected" ? "success" : "warning";
};
/** The terminal command that signs an account in (done outside the web UI on purpose). */
function loginCommand(account) {
	const command = account.method === "official" ? "tiktok-auth" : "tiktok-login";
	return `vicecut ${command} ${account.name}`;
}

//# vitestCache=W3siZmlsZSI6IjEiLCJpZCI6IjEiLCJpbXBvcnRzIjoiMiIsIm1hcHBpbmdzIjpmYWxzZSwiZGVwcyI6IjMiLCJkeW5hbWljRGVwcyI6IjQiLCJzdGF0aWNNb2NrcyI6bnVsbCwiaGFzQ292ZXJhZ2VEYXRhIjpmYWxzZX0sIkQ6L0dpdEh1Yi9WaWNlQ3V0L3dlYi9zcmMvZW50aXRpZXMvYWNjb3VudC9zdGF0dXMudHMiLHsidXJscyI6IjUiLCJpZHMiOiI2In0sW10sW10sW10se31d
//# vitestSourceMap={"version":3,"mappings":"AAAA,CAAA;;AAEO,SAAS,kBAAkB,QAAsB;CACtD,OAAO,WAAW,cAAc,YAAY;AAC9C;;AAGO,SAAS,aAAa,SAAmD;CAC9E,MAAM,UAAU,QAAQ,WAAW,aAAa,gBAAgB;CAChE,OAAO,WAAW,QAAQ,GAAG,QAAQ;AACvC","names":[],"ignoreList":[],"sources":["status.ts"],"sourcesContent":["import type { Tone } from \"@/shared/ui\";\n\nexport function accountStatusTone(status: string): Tone {\n  return status === \"connected\" ? \"success\" : \"warning\";\n}\n\n/** The terminal command that signs an account in (done outside the web UI on purpose). */\nexport function loginCommand(account: { name: string; method: string }): string {\n  const command = account.method === \"official\" ? \"tiktok-auth\" : \"tiktok-login\";\n  return `vicecut ${command} ${account.name}`;\n}\n"],"file":"/web/src/entities/account/status.ts"}