PageSourceSearch

https://www.volumn.ai/_next/static/chunks/60486.a72efeb41e17c962.js

js volumn.ai collected 2026-10-01 16:19:32 UTC 4,323 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[60486],{60486:(e,d,t)=>{t.r(d),t.d(d,{TabSpecialUsers:()=>s,default:()=>a});var r=t(53757);t(24361);var n=t(17671),i=t(79428);function s(e){let{addSpecialUserAccountId:d,removeSpecialUserAccountId:t,row:s,saveSpecialUsers:a,setSpecialUserAccountIdDraft:c,specialUserAccountIdDraft:l,specialUserAccountIds:x,specialUsersError:o,specialUsersLoading:b,specialUsersMessage:m,specialUsersSaving:h,loadSpecialUsers:u}=e;return(0,r.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,r.jsxs)("div",{className:"mb-4 flex items-center justify-between gap-3",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(n.A,{className:"h-4 w-4 text-zinc-500"}),(0,r.jsx)("h2",{className:"text-sm font-semibold",children:"特殊用户(accountId)"})]}),(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("button",{type:"button",onClick:()=>void u(),disabled:b||h,className:"text-xs text-zinc-500 underline-offset-2 hover:underline disabled:cursor-not-allowed disabled:opacity-60 dark:text-zinc-400",children:"刷新"}),(0,r.jsxs)("button",{type:"button",onClick:()=>void a(),disabled:h||b,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:[h?(0,r.jsx)(i.A,{className:"h-3.5 w-3.5 animate-spin"}):(0,r.jsx)(n.A,{className:"h-3.5 w-3.5"}),(0,r.jsx)("span",{children:"保存"})]})]})]}),b?(0,r.jsxs)("div",{className:"mb-3 flex items-center gap-2 rounded-md bg-zinc-50 px-3 py-2 text-xs text-zinc-600 dark:bg-zinc-900/60 dark:text-zinc-200",children:[(0,r.jsx)(i.A,{className:"h-3.5 w-3.5 animate-spin"}),(0,r.jsx)("span",{children:"加载中…"})]}):null,o?(0,r.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:o}):null,m&&!o?(0,r.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:m}):null,(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center",children:[(0,r.jsx)("input",{value:l,onChange:e=>c(e.target.value),placeholder:"输入 accountId(例如:1234567890)",className:"h-10 w-full rounded-md border border-zinc-200 bg-white px-3 text-sm text-zinc-900 outline-none focus:border-zinc-900 dark:border-zinc-700 dark:bg-zinc-950 dark:text-zinc-50 dark:focus:border-zinc-200"}),(0,r.jsx)("button",{type:"button",onClick:()=>d(),className:"inline-flex h-10 items-center justify-center rounded-md bg-zinc-900 px-4 text-sm font-medium text-white hover:bg-zinc-800 dark:bg-zinc-100 dark:text-zinc-900 dark:hover:bg-zinc-200",children:"添加"})]}),(0,r.jsx)("div",{className:"text-[11px] text-zinc-500 dark:text-zinc-400",children:"列表内的 accountId 将按 1 次 / 1 分钟执行;不在列表内默认按 1 次 / 2 分钟执行。"}),0===x.length?(0,r.jsx)("div",{className:"rounded-lg border border-dashed border-zinc-300 bg-white px-4 py-6 text-center text-sm text-zinc-600 dark:border-zinc-700 dark:bg-zinc-950 dark:text-zinc-300",children:"暂无特殊用户"}):(0,r.jsx)("div",{className:"overflow-hidden rounded-lg border border-zinc-200 dark:border-zinc-800",children:(0,r.jsx)("div",{className:"max-h-80 overflow-y-auto bg-white dark:bg-zinc-950",children:x.map(e=>(0,r.jsxs)("div",{className:"flex items-center justify-between gap-3 border-b border-zinc-100 px-4 py-3 text-sm last:border-b-0 dark:border-zinc-900",children:[(0,r.jsx)("div",{className:"min-w-0 truncate font-mono text-xs text-zinc-800 dark:text-zinc-200",children:e}),(0,r.jsx)("button",{type:"button",onClick:()=>t(e),className:"inline-flex items-center gap-1 rounded-md border border-zinc-200 bg-white px-2 py-1 text-xs text-zinc-700 hover:bg-zinc-50 dark:border-zinc-800 dark:bg-zinc-900 dark:text-zinc-200 dark:hover:bg-zinc-800",children:"移除"})]},e))})})]})]})}let a=s},79428:(e,d,t)=>{t.d(d,{A:()=>r});let r=(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.