PageSourceSearch

https://www.volumn.ai/_next/static/chunks/35204.a30e5dac1e3e912e.js

js volumn.ai collected 2026-10-01 16:18:44 UTC 4,672 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[35204],{35204:(e,s,t)=>{t.r(s),t.d(s,{TabAccountMonitor:()=>r,default:()=>a});var c=t(53757);t(24361);var d=t(24839),n=t(79428),i=t(17671);function r(e){let{accessToken:s,authReady:t,featureFlagsError:r,featureFlagsLoading:a,featureFlagsMessage:l,featureFlagsSaving:x,loadFeatureFlags:o,saveFeatureFlags:m,accountMonitorTabVisibleInProd:h,accountMonitorTabVisibleInPreview:b,setAccountMonitorTabVisibleInProd:p,setAccountMonitorTabVisibleInPreview:j}=e;return(0,c.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,c.jsxs)("section",{className:"rounded-xl border border-zinc-200 bg-white p-5 shadow-sm dark:border-zinc-800 dark:bg-zinc-900",children:[(0,c.jsxs)("div",{className:"mb-4 flex items-center justify-between gap-3",children:[(0,c.jsxs)("div",{className:"flex items-center gap-2",children:[(0,c.jsx)(d.A,{className:"h-4 w-4 text-zinc-500"}),(0,c.jsx)("h2",{className:"text-sm font-semibold",children:"Account Monitor 显示控制"})]}),(0,c.jsxs)("div",{className:"flex items-center gap-2",children:[(0,c.jsx)("button",{type:"button",onClick:()=>void o(),disabled:a||x,className:"text-xs text-zinc-500 underline-offset-2 hover:underline disabled:cursor-not-allowed disabled:opacity-60 dark:text-zinc-400",children:"刷新"}),(0,c.jsxs)("button",{type:"button",onClick:()=>void m(),disabled:x||a||!t||!s,className:"inline-flex items-center gap-2 rounded-md bg-zinc-900 px-3 py-1.5 text-xs font-medium text-white hover:bg-zinc-800 disabled:cursor-not-allowed disabled:opacity-60 dark:bg-zinc-100 dark:text-zinc-900 dark:hover:bg-zinc-200",children:[x?(0,c.jsx)(n.A,{className:"h-3.5 w-3.5 animate-spin"}):(0,c.jsx)(i.A,{className:"h-3.5 w-3.5"}),(0,c.jsx)("span",{children:"保存"})]})]})]}),a&&(0,c.jsxs)("div",{className:"mb-3 flex items-center gap-2 rounded-md bg-zinc-50 px-3 py-2 text-xs text-zinc-500 dark:bg-zinc-900/60 dark:text-zinc-300",children:[(0,c.jsx)(n.A,{className:"h-3.5 w-3.5 animate-spin"}),(0,c.jsx)("span",{children:"加载中..."})]}),r&&(0,c.jsx)("div",{className:"mb-3 rounded-md bg-red-50 px-3 py-2 text-xs text-red-700 dark:bg-red-900/20 dark:text-red-300",children:r}),l&&!r&&(0,c.jsx)("div",{className:"mb-3 rounded-md bg-emerald-50 px-3 py-2 text-xs text-emerald-700 dark:bg-emerald-900/20 dark:text-emerald-300",children:l}),(0,c.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,c.jsxs)("label",{className:"flex items-center gap-2 text-xs text-zinc-700 dark:text-zinc-300",children:[(0,c.jsx)("input",{type:"checkbox",checked:h,onChange:e=>p(e.target.checked),className:"h-4 w-4 rounded border-zinc-300"}),(0,c.jsx)("span",{children:"Account Monitor — 在 Prod 显示"})]}),(0,c.jsxs)("div",{className:"rounded-md bg-zinc-50 px-3 py-2 text-[11px] text-zinc-500 dark:bg-zinc-900/60 dark:text-zinc-300",children:["控制 Account Monitor 入口在",(0,c.jsx)("strong",{children:"生产环境"}),"侧边栏的显示状态。默认:开启。"]}),(0,c.jsxs)("label",{className:"flex items-center gap-2 text-xs text-zinc-700 dark:text-zinc-300",children:[(0,c.jsx)("input",{type:"checkbox",checked:b,onChange:e=>j(e.target.checked),className:"h-4 w-4 rounded border-zinc-300"}),(0,c.jsx)("span",{children:"Account Monitor — 在 Preview 显示"})]}),(0,c.jsxs)("div",{className:"rounded-md bg-zinc-50 px-3 py-2 text-[11px] text-zinc-500 dark:bg-zinc-900/60 dark:text-zinc-300",children:["控制 Account Monitor 入口在",(0,c.jsx)("strong",{children:"预览环境"}),"侧边栏的显示状态。默认:开启。"]})]})]}),(0,c.jsxs)("section",{className:"rounded-xl border border-zinc-200 bg-white p-5 shadow-sm dark:border-zinc-800 dark:bg-zinc-900",children:[(0,c.jsxs)("div",{className:"mb-3 flex items-center gap-2",children:[(0,c.jsx)(d.A,{className:"h-4 w-4 text-zinc-500"}),(0,c.jsx)("h2",{className:"text-sm font-semibold",children:"说明"})]}),(0,c.jsxs)("ul",{className:"space-y-2 text-xs text-zinc-600 dark:text-zinc-300",children:[(0,c.jsx)("li",{children:"• Account Monitor 功能允许用户在侧边栏中监控指定 X/Twitter 账号的最新推文动态。"}),(0,c.jsxs)("li",{children:["• 开启后,用户侧边栏的 Tools 区域将显示 ",(0,c.jsx)("strong",{children:"Account Monitor"})," 入口。"]}),(0,c.jsx)("li",{children:"• 关闭后,该入口将对所有用户隐藏(不影响已有的监控数据)。"}),(0,c.jsx)("li",{children:"• Prod 和 Preview 环境可以独立控制,方便在 Preview 环境测试后再开放给 Prod 用户。"})]})]})]})}let a=r},79428:(e,s,t)=>{t.d(s,{A:()=>c});let c=(0,t(56059).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.