import{j as o,T as i,B as s,D as t,N as n,F as l,y as c,z as h}from"./main-crazy-owls-work.js";import{A as u}from"./index-C_-uPj83.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(n,{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(n,{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(n,{style:{transform:"translateY(-2px)"}})]})]});default:return""}};function b({fontSize:e="1rem",section:a,style:r}){return o(u,{description:o(i.Text,{style:{fontSize:e},children:d(a)}),style:r,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 y(){const{isPending:e,mutateAsync:a}=c({mutationFn:async r=>{if(!r.id)throw new Error("Schedule ID is undefined");return h(`schedule/${r.id}/update-status`,{...r},void 0,"POST")}});return{isUpdateScheduleLoading:e,updateScheduleStatus:r=>a(r)}}export{b as N,y as u};
