1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[21383],{21383:(e,n,a)=>{a.r(n),a.d(n,{TabAutoReplySettings:()=>r,default:()=>l});var s=a(53757);a(24361);var t=a(60039),i=a(79428),c=a(17671),d=a(33004);function r(e){let{activeTab:n,allowed:a,authError:r,authReady:l,auto:x,autoReplyConfigError:o,autoReplyConfigLoading:m,autoReplyConfigMessage:b,autoReplyConfigSaving:z,autoReplyFallbackModelId:p,autoReplyFeedCrawler:h,autoReplyFeedTimeline:u,autoReplyFilterOlderThanHour:j,autoReplyHotWindowMinutes:k,autoReplyLinkTypeFilterEnabled:v,autoReplyLinkTypeFilterModelId:g,autoReplyLowFollowerFeedCrawler:N,autoReplyLowFollowerFeedTimeline:f,autoReplyLowFollowerThreshold:y,autoReplyMaxPerHour:w,autoReplyMemeReplyUiEnabled:C,autoReplyMinIntervalSeconds:A,autoReplyModelId:_,autoReplyPoliticalFallbackModelId:R,autoReplyPoliticalModelId:F,autoReplyPrivilegedUserIds:I,autoReplyTimelineApiSource:T,autoReplyTopicFallbackModelId:P,autoReplyTopicModelId:E,disabled:S,followers:q,input:M,items:B,key:D,label:G,loadAutoReplyConfig:H,map:J,medium:K,modelOptions:L,name:O,rows:Q,saveAutoReplyConfig:U,setAutoReplyFallbackModelId:V,setAutoReplyFeedCrawler:W,setAutoReplyFeedTimeline:X,setAutoReplyFilterOlderThanHour:Y,setAutoReplyHotWindowMinutes:Z,setAutoReplyLinkTypeFilterEnabled:$,setAutoReplyLinkTypeFilterModelId:ee,setAutoReplyLowFollowerFeedCrawler:en,setAutoReplyLowFollowerFeedTimeline:ea,setAutoReplyLowFollowerThreshold:es,setAutoReplyMaxPerHour:et,setAutoReplyMemeReplyUiEnabled:ei,setAutoReplyMinIntervalSeconds:ec,setAutoReplyModelId:ed,setAutoReplyPoliticalFallbackModelId:er,setAutoReplyPoliticalModelId:el,setAutoReplyPrivilegedUserIds:ex,setAutoReplyTimelineApiSource:eo,setAutoReplyTopicFallbackModelId:em,setAutoReplyTopicModelId:eb,text:ez,type:ep,userId:eh,value:eu}=e;return(0,s.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,s.jsxs)("div",{className:"mb-4 flex items-center justify-between gap-3",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(t.A,{className:"h-4 w-4 text-zinc-500"}),(0,s.jsx)("h2",{className:"text-sm font-semibold",children:"èªå¨åå¤è®¾ç½®"})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("button",{type:"button",onClick:()=>void H(),disabled:m||z,className:"text-xs text-zinc-500 underline-offset-2 hover:underline disabled:cursor-not-allowed disabled:opacity-60 dark:text-zinc-400",children:"å·æ°"}),(0,s.jsxs)("button",{type:"button",onClick:()=>void U(),disabled:z||m,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:[z?(0,s.jsx)(i.A,{className:"h-3.5 w-3.5 animate-spin"}):(0,s.jsx)(c.A,{className:"h-3.5 w-3.5"}),(0,s.jsx)("span",{children:"ä¿å"})]})]})]}),o&&(0,s.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}),b&&!o&&(0,s.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:b}),(0,s.jsxs)("div",{className:"space-y-6",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"mb-2 text-xs font-semibold text-zinc-700 dark:text-zinc-200",children:"åºç¡è®¾ç½®"}),(0,s.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"é»è®¤æ¨¡å"}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("select",{value:_,onChange:e=>ed(e.target.value),className:"w-full appearance-none rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs 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",children:L.map(e=>(0,s.jsx)("option",{value:e.id,children:e.name},e.id))}),(0,s.jsx)("span",{className:"pointer-events-none absolute inset-y-0 right-2 flex items-center text-zinc-400",children:(0,s.jsx)(d.A,{className:"h-3 w-3"})})]})]}),(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"é»è®¤æ¨¡å Fallback"}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("select",{value:p,onChange:e=>V(e.target.value),className:"w-full appearance-none rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs 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",children:L.map(e=>(0,s.jsx)("option",{value:e.id,children:e.name},e.id))}),(0,s.jsx)("span",{className:"pointer-events-none absolute inset-y-0 right-2 flex items-center text-zinc-400",children:(0,s.jsx)(d.A,{className:"h-3 w-3"})})]})]}),(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"æå°åå¤é´éï¼ç§ï¼"}),(0,s.jsx)("input",{value:A,onChange:e=>ec(e.target.value),placeholder:"0",className:"w-full rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs 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,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"æ¯å°æ¶æå¤å夿°"}),(0,s.jsx)("input",{value:w,onChange:e=>et(e.target.value),placeholder:"30",className:"w-full rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs 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,s.jsxs)("div",{className:"space-y-1 sm:col-span-2",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"ç¹æ®ç¨æ·ï¼userIdï¼æ¯è¡ä¸ä¸ªï¼"}),(0,s.jsx)("textarea",{value:I,onChange:e=>
1ex(e.target.value),placeholder:"ä¾å¦ï¼\\nuser_abc\\nuser_def",rows:3,className:"w-full resize-y rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs 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,s.jsx)("div",{className:"text-[11px] text-zinc-500 dark:text-zinc-400",children:"è¿äºç¨æ·å°æ 1 次 / 1 åéæ§è¡ï¼å
¶å®ç¨æ·å¼ºå¶ä¸º 1 次 / 2 åéã"})]}),(0,s.jsxs)("div",{className:"space-y-2 sm:col-span-2",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"æ¾ç¤º âReply with a memeâ é项"}),(0,s.jsxs)("label",{className:"flex items-center gap-2 text-xs text-zinc-700 dark:text-zinc-300",children:[(0,s.jsx)("input",{type:"checkbox",checked:C,onChange:e=>ei(e.target.checked),className:"h-4 w-4 rounded border-zinc-300"}),(0,s.jsx)("span",{children:"å¯ç¨"})]})]}),(0,s.jsx)("div",{className:"text-[11px] text-zinc-500 dark:text-zinc-400",children:"å¯ç¨åï¼Auto-Reply Settings ç Advanced éä¼åºç° âReply with a memeâ"})]})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"mb-2 text-xs font-semibold text-zinc-700 dark:text-zinc-200",children:"èªå¨è¿æ»¤"}),(0,s.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"æ¿æ²»ææè¿æ»¤æ¨¡å"}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("select",{value:F,onChange:e=>el(e.target.value),className:"w-full appearance-none rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs 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",children:L.map(e=>(0,s.jsx)("option",{value:e.id,children:e.name},e.id))}),(0,s.jsx)("span",{className:"pointer-events-none absolute inset-y-0 right-2 flex items-center text-zinc-400",children:(0,s.jsx)(d.A,{className:"h-3 w-3"})})]})]}),(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"æ¿æ²»ææè¿æ»¤ Fallback 模å"}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("select",{value:R,onChange:e=>er(e.target.value),className:"w-full appearance-none rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs 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",children:L.map(e=>(0,s.jsx)("option",{value:e.id,children:e.name},e.id))}),(0,s.jsx)("span",{className:"pointer-events-none absolute inset-y-0 right-2 flex items-center text-zinc-400",children:(0,s.jsx)(d.A,{className:"h-3 w-3"})})]})]}),(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"è¯é¢æ£æµæ¨¡å"}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("select",{value:E,onChange:e=>eb(e.target.value),className:"w-full appearance-none rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs 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",children:L.map(e=>(0,s.jsx)("option",{value:e.id,children:e.name},e.id))}),(0,s.jsx)("span",{className:"pointer-events-none absolute inset-y-0 right-2 flex items-center text-zinc-400",children:(0,s.jsx)(d.A,{className:"h-3 w-3"})})]})]}),(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"è¯é¢æ£æµ Fallback 模å"}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("select",{value:P,onChange:e=>em(e.target.value),className:"w-full appearance-none rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs 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",children:L.map(e=>(0,s.jsx)("option",{value:e.id,children:e.name},e.id))}),(0,s.jsx)("span",{className:"pointer-events-none absolute inset-y-0 right-2 flex items-center text-zinc-400",children:(0,s.jsx)(d.A,{className:"h-3 w-3"})})]})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"龿¥ç±»åè¿æ»¤"}),(0,s.jsxs)("label",{className:"flex items-center gap-2 text-xs text-zinc-700 dark:text-zinc-300",children:[(0,s.jsx)("input",{type:"checkbox",checked:v,onChange:e=>
1$(e.target.checked),className:"h-4 w-4 rounded border-zinc-300"}),(0,s.jsx)("span",{children:"å¯ç¨"})]})]}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("select",{value:g,onChange:e=>ee(e.target.value),disabled:!v,className:"w-full appearance-none rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs text-zinc-900 outline-none focus:border-zinc-900 disabled:cursor-not-allowed disabled:bg-zinc-100 disabled:text-zinc-400 dark:border-zinc-700 dark:bg-zinc-950 dark:text-zinc-50 dark:focus:border-zinc-200 dark:disabled:bg-zinc-900 dark:disabled:text-zinc-600",children:L.map(e=>(0,s.jsx)("option",{value:e.id,children:e.name},e.id))}),(0,s.jsx)("span",{className:"pointer-events-none absolute inset-y-0 right-2 flex items-center text-zinc-400",children:(0,s.jsx)(d.A,{className:"h-3 w-3"})})]})]}),(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"ç¬è«æ¶é´çªå£ï¼åéï¼"}),(0,s.jsx)("input",{value:k,onChange:e=>Z(e.target.value),placeholder:"60",className:"w-full rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs 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,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"è¿æ»¤ 1 å°æ¶åçæ¨æ"}),(0,s.jsxs)("label",{className:"flex items-center gap-2 text-xs text-zinc-700 dark:text-zinc-300",children:[(0,s.jsx)("input",{type:"checkbox",checked:j,onChange:e=>Y(e.target.checked),className:"h-4 w-4 rounded border-zinc-300"}),(0,s.jsx)("span",{children:"å¯ç¨"})]})]}),(0,s.jsx)("div",{className:"text-[11px] text-zinc-500 dark:text-zinc-400",children:"å¯ç¨åï¼èªå¨åå¤ä¸ä¼å¤çæ¨æå叿¶é´æ©äº 1 å°æ¶çåé项"})]}),(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"Timeline API æ¥æº"}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsxs)("select",{value:T,onChange:e=>eo("rapidapi"===e.target.value?"rapidapi":"official"),className:"w-full appearance-none rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs 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",children:[(0,s.jsx)("option",{value:"official",children:"宿¹ API"}),(0,s.jsx)("option",{value:"rapidapi",children:"RapidAPI"})]}),(0,s.jsx)("span",{className:"pointer-events-none absolute inset-y-0 right-2 flex items-center text-zinc-400",children:(0,s.jsx)(d.A,{className:"h-3 w-3"})})]})]})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"mb-2 text-xs font-semibold text-zinc-700 dark:text-zinc-200",children:"Feed æ¯ä¾"}),(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"mb-2 text-[11px] font-semibold text-zinc-600 dark:text-zinc-300",children:"é»è®¤è´¦å·ï¼followers ⥠éå¼ï¼"}),(0,s.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"ç¬è«æ¨èï¼%ï¼"}),(0,s.jsx)("input",{value:h,onChange:e=>W(e.target.value),placeholder:"80",className:"w-full rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs 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,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"Timelineï¼%ï¼"}),(0,s.jsx)("input",{value:u,onChange:e=>X(e.target.value),placeholder:"20",className:"w-full rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs 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,s.jsxs)("div",{className:"rounded-md border border-zinc-200/80 bg-zinc-50/60 p-3 dark:border-zinc-800 dark:bg-zinc-900/40",children:[(0,s.jsx)("div",{className:"mb-2 text-[11px] font-semibold text-zinc-700 dark:text-zinc-200",children:"ä½ç²è´¦å·åç»ï¼followers < éå¼ï¼"}),(0,s.jsxs)("div",{className:"grid gap-3 sm:grid-cols-3",children:[(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"éå¼"}),(0,s.jsx)("input",{type:"number",min:1,value:y,onChange:e=>es(e.target.value),placeholder:"100",className:"w-full rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs 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,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"ç¬è«æ¨èï¼%ï¼"}),(0,s.jsx)("input",{value:N,onChange:e=>en(e.target.value),placeholder:"90",className:"w-full rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs 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,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("label",{className:"text-[11px] font-medium text-zinc-600 dark:text-zinc-300",children:"Timelineï¼%ï¼"}),(0,s.jsx)("input",{value:f,onChange:e=>ea(e.target.value),placeholder:"10",className:"w-full rounded-md border border-zinc-200 bg-white px-3 py-2 text-xs 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,s.jsx)("div",{className:"mt-2 text-[11px] text-zinc-500 dark:text-zinc-400",children:"å½è´¦å· follower å°äºé弿¶ï¼èªå¨åå¤ä»»å¡ä¼ä½¿ç¨è¿ç»æ¯ä¾ã"})]})]}),(0,s.jsx)("div",{className:"mt-2 rounded-md bg-zinc-50 px-3 py-2 text-[11px] text-zinc-500 dark:bg-zinc-900/60 dark:text-zinc-300",children:"ä¿åæ¶ä¼èªå¨å½ä¸å为æ»å 100ã"})]})]})]})}let l=r},33004:(e,n,a)=>{a.d(n,{A:()=>s});let s=(0,a(56059).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},79428:(e,n,a)=>{a.d(n,{A:()=>s});let s=(0,a(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.