import{L as c,U as h,V as d,Y as g,M as s,j as t,T as f,N as o}from"./main-fine-mails-rush.js";import{$ as u}from"./useSocialTemplates-CALaJ7Id.js";import{M as w,p as n}from"./platformsLimitations-BpHu19Pc.js";import{p as T}from"./optionsHelper-C5kZneVU.js";import{T as y}from"./TemplateDocLink-DZ7n7_Zf.js";import{P as C}from"./PreviewDummy-B4JEjQhp.js";import{C as e}from"./index-CYdJlGpp.js";import{F as l}from"./index-DvXnyFAQ.js";import{S as M}from"./Input-DqvQHhaj.js";import{S as b}from"./index-_4I6v-bI.js";import{C as p,R as v}from"./row-DS7Wtzse.js";import"./index-CzEr1K2Q.js";import"./index-C4jBXdje.js";import"./EyeOutlined-BwUAwdeL.js";import"./EllipsisOutlined-Bu1rzp5h.js";import"./Dropdown-4_vtvAKA.js";import"./move-DlKUsITS.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(r,i){return this.cache.has(r)?this.cache.get(r):(this.cache.set(r,i),i)}};const{Title:j}=f;function I(){const{token:r}=c.useToken(),i=h(u),m=d(g),a=()=>{m(!0)};return s(v,{gutter:20,children:[t(p,{span:14,children:s(e,{size:"small",style:{backgroundColor:r.colorFillAlter},children:[s(j,{level:4,children:[" ",o("X (Twitter) Template Settings")," "]}),t(y,{platform:"X (Twitter)"}),s(e,{children:[t(e.Meta,{description:o("Custom message settings."),title:o("Custom Message")}),t("div",{children:t(w,{onChange:a,rows:5,style:{minWidth:200},value:i.twitter.content})})]}),t(e,{style:{marginTop:10},children:s(l,{gap:20,justify:"space-between",children:[t(e.Meta,{description:o("Post styling and type setup."),title:o("Posting type")}),t("div",{children:t(M,{onChange:a,options:T,style:{minWidth:200},value:i.twitter.postingType})})]})}),t(e,{style:{marginTop:10},children:s(l,{gap:20,justify:"space-between",children:[t(e.Meta,{description:`Twitter restricts the length of a tweet to ${n.twitter.description.length} characters. If you enable this option, the first ${n.twitter.description.length} characters of your personalized message will be shared; if not, the limit prevents the tweet from being shared.`,title:o("Trim Message")}),t("div",{children:t(b,{checked:i.twitter.trimMessage,onChange:a})})]})})]})}),t(p,{span:10,children:t(C,{})})]})}export{I as default};
