import{j as e}from"./client-BbMi5ewG.js";import{C as n}from"./crown-BdDHOvET.js";function c({title:a,type:s="integration",upgradeUrl:o}){const t={payment:`This payment gateway is available in the PRO version. Upgrade now to accept payments through ${a}.`,integration:`${a} integration is available in the PRO version. Upgrade now to connect your ${a} account.`,setting:`${a} is available in the PRO version. Upgrade now to unlock this feature.`},i=()=>{var r;const m=o||((r=window.radius_booking_param)==null?void 0:r.upgrade_url)||"https://your-upgrade-url.com";window.open(m,"_blank")};return e.jsx("div",{className:"mt-4 rounded-md border border-amber-200 bg-amber-50 p-4",children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(n,{className:"h-5 w-5 text-amber-600 flex-shrink-0 mt-0.5"}),e.jsxs("div",{children:[e.jsx("h4",{className:"text-sm font-semibold text-amber-900 mb-1",children:"PRO Feature"}),e.jsx("p",{className:"text-sm text-amber-800 mb-3",children:t[s]||t.integration}),e.jsxs("button",{className:"inline-flex items-center gap-2 rounded-md bg-amber-600 px-4 py-2 text-sm font-semibold text-white hover:bg-amber-700 transition-colors",onClick:i,children:[e.jsx(n,{className:"h-4 w-4"}),"Upgrade to PRO"]})]})]})})}export{c as P};
//# sourceMappingURL=ProUpgradeBanner-j5GA7rlc.js.map
