import{L as h,U as u,V as g,Y as d,N as t,M as o,j as e,T as f}from"./main-fine-mails-rush.js";import{$ as b}from"./useSocialTemplates-CALaJ7Id.js";import{M as y,p as l}from"./platformsLimitations-BpHu19Pc.js";import{T}from"./TemplateDocLink-DZ7n7_Zf.js";import{P as C}from"./PreviewDummy-B4JEjQhp.js";import{C as s}from"./index-CYdJlGpp.js";import{F as n}from"./index-DvXnyFAQ.js";import{S as v}from"./Input-DqvQHhaj.js";import{S as M}from"./index-_4I6v-bI.js";import{C as m,R as w}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(i,a){return this.cache.has(i)?this.cache.get(i):(this.cache.set(i,a),a)}};const{Title:P}=f;function _(){const{token:i}=h.useToken(),a=u(b),c=g(d),r=()=>{c(!0)},p=[{label:t("Only custom message"),value:"onlyMessage"},{label:t("Link card"),value:"isLinkCard"},{label:t("Product Image"),value:"isProductImage"},{label:t("Feature image"),value:"isFeaturedImage"},{label:t("All Images"),value:"isAllImages"}];return o(w,{gutter:20,children:[e(m,{span:14,children:o(s,{size:"small",style:{backgroundColor:i.colorFillAlter},children:[e(P,{level:4,children:t("Tumblr Template Settings")}),e(T,{platform:"Tumblr"}),o(s,{children:[e(s.Meta,{description:t("Custom message settings."),title:t("Custom Message")}),e("div",{children:e(y,{onChange:r,rows:5,style:{minWidth:200},value:a.tumblr.content})})]}),e(s,{style:{marginTop:10},children:o(n,{gap:20,justify:"space-between",children:[e(s.Meta,{description:t("Post styling and type setup."),title:t("Posting type")}),e("div",{children:e(v,{onChange:r,options:p,style:{minWidth:200},value:a.tumblr.postingType})})]})}),e(s,{style:{marginTop:10},children:o(n,{gap:20,justify:"space-between",children:[e(s.Meta,{description:`Tumblr restricts the length of a tweet to ${l.tumblr.description.length} characters. If you enable this option, the first ${l.tumblr.description.length} characters of your personalized message will be shared; if not, the limit prevents the tweet from being shared.`,title:t("Trim Message")}),e("div",{children:e(M,{checked:a.tumblr.trimMessage,onChange:r})})]})})]})}),e(m,{span:10,children:e(C,{})})]})}export{_ as default};
