import{j as e,ac as a}from"../index.js";function m({showing:t=!1,onSave:s,onCancel:r}){return t?e.jsxs("div",{className:"fixed top-0 left-0 right-0 h-14 bg-dark-input flex items-center justify-end px-4 z-[999]",children:[e.jsxs("div",{className:"absolute ml-4 left-0 md:left-1/2 transform md:-translate-x-1/2 flex items-center gap-x-2",children:[e.jsx(a,{size:18,className:"text-[#FFFFFF]"}),e.jsx("p",{className:"text-[#FFFFFF] font-medium text-xs",children:"Unsaved Changes"})]}),e.jsxs("div",{className:"flex items-center gap-x-2",children:[e.jsx("button",{className:"border-none text-theme-text-primary font-medium text-sm px-[10px] py-[6px] rounded-md bg-theme-bg-secondary hover:bg-theme-bg-primary",onClick:r,children:"Cancel"}),e.jsx("button",{className:"border-none text-theme-text-primary font-medium text-sm px-[10px] py-[6px] rounded-md bg-primary-button hover:bg-primary-button-hover",onClick:s,children:"Save"})]})]}):null}export{m as C};
