import{r as d,j as e}from"./chunks/index-MYapx1be.js";import{c as o}from"./chunks/client-C1S-lrKk.js";const h=()=>{const[n,i]=d.useState({enableAnalytics:!0,enableSocialShare:!0,enableCustomPlayer:!1,enableAds:!1,enableBranding:!0}),t=(s,l)=>{i(r=>({...r,[s]:l}))},c=()=>{};return e.jsxs("div",{className:"embedpress-settings",children:[e.jsx("h1",{children:"Settings"}),e.jsx("p",{children:"Configure your EmbedPress settings."}),e.jsxs("div",{className:"settings-sections",children:[e.jsxs("div",{className:"settings-section",children:[e.jsx("h3",{children:"General Settings"}),e.jsxs("div",{className:"setting-item",children:[e.jsxs("label",{children:[e.jsx("input",{type:"checkbox",checked:n.enableAnalytics,onChange:s=>t("enableAnalytics",s.target.checked)}),"Enable Analytics"]}),e.jsx("p",{className:"setting-description",children:"Track views, clicks, and other metrics for your embeds."})]}),e.jsxs("div",{className:"setting-item",children:[e.jsxs("label",{children:[e.jsx("input",{type:"checkbox",checked:n.enableSocialShare,onChange:s=>t("enableSocialShare",s.target.checked)}),"Enable Social Share"]}),e.jsx("p",{className:"setting-description",children:"Add social sharing buttons to your embeds."})]}),e.jsxs("div",{className:"setting-item",children:[e.jsxs("label",{children:[e.jsx("input",{type:"checkbox",checked:n.enableBranding,onChange:s=>t("enableBranding",s.target.checked)}),"Enable Branding"]}),e.jsx("p",{className:"setting-description",children:"Show EmbedPress branding on embeds."})]})]}),e.jsxs("div",{className:"settings-section",children:[e.jsx("h3",{children:"Advanced Settings"}),e.jsxs("div",{className:"setting-item",children:[e.jsxs("label",{children:[e.jsx("input",{type:"checkbox",checked:n.enableCustomPlayer,onChange:s=>t("enableCustomPlayer",s.target.checked)}),"Enable Custom Player"]}),e.jsx("p",{className:"setting-description",children:"Use custom video player for better control."})]}),e.jsxs("div",{className:"setting-item",children:[e.jsxs("label",{children:[e.jsx("input",{type:"checkbox",checked:n.enableAds,onChange:s=>t("enableAds",s.target.checked)}),"Enable Ads"]}),e.jsx("p",{className:"setting-description",children:"Show advertisements on your embeds."})]})]})]}),e.jsxs("div",{className:"settings-actions",children:[e.jsx("button",{onClick:c,className:"button button-primary",children:"Save Settings"}),e.jsx("button",{className:"button",children:"Reset to Defaults"})]})]})},a=document.getElementById("embedpress-admin-root");a&&o(a).render(e.jsx("div",{className:"embedpress-admin",children:e.jsx(h,{})}));
