import{A as u,H as d,I as g,M as y,B as s,j as e,T as f,D as o}from"./main-crazy-owls-work.js";import{$ as k}from"./useSocialTemplates-Dcb3t5jQ.js";import{T as b,p as l}from"./TemplateDocLink-C5Om0X4f.js";import{M as a}from"./AiPromptConfigModal-BrZd34tw.js";import{p as T}from"./optionsHelper-B_8X5Dll.js";import{B as C}from"./BlueskyPreview-DFavlUrU.js";import{C as i}from"./index-9x8aFyWV.js";import{F as m}from"./index-DLeF0Q26.js";import{S as M}from"./index-CV7ZrOqa.js";import{S as v}from"./index-Uj_IJMNj.js";import{C as p,R as w}from"./row-DAt4Bs0l.js";import"./AntIconWrapper-CV4oO3YH.js";import"./index-DbMzUBXN.js";import"./index-D66C40IV.js";import"./Input-DrlF5Epd.js";import"./EyeOutlined-BpDfhdMV.js";import"./PreviewCard-DAT49Z9x.js";import"./emotion-react.browser.esm-Y_LRzwGN.js";import"./index-B1hhaeCD.js";import"./EllipsisOutlined-7nGPDvd9.js";import"./Dropdown-D0863Mnh.js";import"./move-ULSkkuK6.js";import"./mediaQueryUtil-BSyvLspT.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(r,t){return this.cache.has(r)?this.cache.get(r):(this.cache.set(r,t),t)}};const{Title:c}=f;function K(){const{token:r}=u.useToken(),t=d(k),h=g(y),n=()=>{h(!0)};return s(w,{gutter:20,children:[e(p,{span:14,children:s(i,{size:"small",style:{backgroundColor:r.colorFillAlter},children:[s(c,{level:4,children:[" ",o("Bluesky Template Settings")," "]}),e(b,{platform:"Bluesky"}),s(i,{children:[e(i.Meta,{description:o("Custom message settings."),title:o("Custom Message")}),e("div",{children:e(a,{onChange:n,rows:5,style:{minWidth:200},value:t.bluesky.content,wordCount:l.bluesky.content.length})})]}),e(i,{style:{marginTop:10},children:s(m,{gap:20,justify:"space-between",children:[e(i.Meta,{description:o("Post styling and type setup."),title:o("Posting type")}),e("div",{children:e(M,{onChange:n,options:T,style:{minWidth:200},value:t.bluesky.postingType})})]})}),s(i,{style:{marginTop:10},children:[e(i.Meta,{description:o("Your comment"),title:o("First comment")}),e("div",{children:e(a,{onChange:n,rows:2,style:{minWidth:200},value:t.bluesky.comment,wordCount:l.bluesky.comment.length})})]}),e(i,{style:{marginTop:10},children:s(m,{gap:20,justify:"space-between",children:[e(i.Meta,{description:`Bluesky restricts the length of a post to ${l.bluesky.content.length} characters. If you enable this option, the first ${l.bluesky.content.length} characters of your personalized message will be shared; if not, the limit prevents the post from being shared.`,title:o("Trim Message")}),e("div",{children:e(v,{checked:t.bluesky.trimMessage,onChange:n})})]})})]})}),s(p,{span:10,children:[s(c,{level:5,children:[" ",o("Preview")," "]}),e(C,{message:t.bluesky.content,type:t.bluesky.postingType})]})]})}export{K as default};
