import{r as e,z as s,E as r}from"./vendor-s2rfM_Vj.js";import{D as o,I as n}from"./t-r-vendor-gn7FMrPE.js";const l=r("div")({name:"ContentUI",class:"c1iqwcck",propsAsIs:!1}),t=r("div")({name:"RowUI",class:"r1sxisxe",propsAsIs:!1}),a=({item:r,handleItem:a,handleEditBookmark:c})=>{const[d,i]=e.useState(r.title),[m,h]=e.useState(r.url);return s.jsx(o,{style:{padding:16,overflow:"auto",backgroundColor:"var(--theme-black7)",backdropFilter:"blur(5px)"},placement:"center",visible:!!r,mode:"modal",onClose:()=>a(!1),preventScrollThrough:!0,showOverlay:!0,theme:"default",footer:!0,header:!1,confirmBtn:"确认",cancelBtn:"取消",closeOnEscKeydown:!0,closeOnOverlayClick:!0,confirmOnEnter:!0,destroyOnClose:!0,onConfirm:()=>c({...r,title:d,url:m}),children:r&&s.jsxs(l,{children:[s.jsxs(t,{children:[s.jsx("p",{children:"标题："}),s.jsx(n,{value:d,onChange:i})]}),s.jsxs(t,{children:[s.jsx("p",{children:"网址："}),s.jsx(n,{value:m,onChange:h})]})]})})};export{a as default};
