import{j as o,Z as c,T as i,M as s,N as t,a0 as r,F as l,I as h,J as u}from"./main-fine-mails-rush.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,a){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,a),a)}};const d=e=>{switch(e){case"accounts":return s(l,{children:[o("div",{className:"mb-3",dangerouslySetInnerHTML:{__html:t('<b>Accounts:</b> To add your desired social platform, click on the <b>"Connect Account"</b> button. A modal will appear displaying various social platforms where you will find two options. First one is <b>"Connect"</b> button to connect your platform directly and another one is <b>"Custom app"</b> option which will work by entering your personal app credentials.')}}),o("span",{dangerouslySetInnerHTML:{__html:t('To set it up, click on the <b>"Connect Account"</b> button and follow the next step!')}}),s("a",{href:"https://bit-social.com/docs/accounts/",rel:"noopener noreferrer",target:"_blank",children:[" ",t("Learn more")," ",o(r,{style:{transform:"translateY(-2px)"}})]})]});case"schedule":return s(l,{children:[s("div",{className:"mb-3",children:[o("b",{children:t("Schedules")}),":",t("You can automatically schedule your Publish WordPress posts to be shared on  social media platforms. This feature allows you to filter your posts, ensuring that only the content you want to share at your chosen times.")]}),o("span",{dangerouslySetInnerHTML:{__html:t('To set it up, click on the <b>"Create Schedule"</b> button and follow the next step!')}}),s("a",{href:"https://bit-social.com/docs/schedule-wordpress-posts-on-social-media/",rel:"noopener noreferrer",target:"_blank",children:[" ",t("Learn more")," ",o(r,{style:{transform:"translateY(-2px)"}})]})]});case"shareNow":return s(l,{children:[s("div",{className:"mb-3",children:[s("b",{children:[" ",t("Share Now")," "]}),":",t(" You can instantly share and automatically schedule your written posts to be shared on your social media platforms. There you will find a save draft (to save your content for future), publish (to share instantly), and setup schedule option to ensure that the content you have written will be shared at your chosen times.")]}),o("span",{dangerouslySetInnerHTML:{__html:t('To set it up, click on the <b>"Share Post"</b> button and follow the next step!')}}),s("a",{href:"https://bit-social.com/docs/instantly-share-posts-on-social-media-platforms/",rel:"noopener noreferrer",target:"_blank",children:[" ",t("Learn more")," ",o(r,{style:{transform:"translateY(-2px)"}})]})]});default:return""}};function m({fontSize:e="1rem",section:a,style:n}){return o(c,{description:o(i.Text,{style:{fontSize:e},children:d(a)}),style:n,type:"info"})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,a){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,a),a)}};function b(){const{isPending:e,mutateAsync:a}=h({mutationFn:async n=>{if(!n.id)throw new Error("Schedule ID is undefined");return u(`schedule/${n.id}/update-status`,{...n},void 0,"POST")}});return{isUpdateScheduleLoading:e,updateScheduleStatus:n=>a(n)}}export{m as N,b as u};
