import{t as e}from"./rolldown-runtime.CMAw1HyY.mjs";import{N as t,O as n,R as r,j as i,w as a,z as o}from"./react.D3LpXLeJ.mjs";import{S as s,Y as c,a as l,ft as u}from"./framer.B9eBDazG.mjs";var d,f,p,m=e((()=>{c(),d={position:`relative`,width:`100%`,height:`100%`,display:`flex`,justifyContent:`center`,alignItems:`center`},f={...d,borderRadius:6,background:`rgba(136, 85, 255, 0.3)`,color:`#85F`,border:`1px dashed #85F`,flexDirection:`column`},p={onClick:{type:l.EventHandler},onMouseEnter:{type:l.EventHandler},onMouseLeave:{type:l.EventHandler}},l.Number,l.Boolean,l.String,l.Enum}));function h(e,t){return _(!0,e,t)}function g(e,t){return _(!1,e,t)}function _(e,n,r=!0){let i=u();t(()=>{r&&i===e&&n()},[i])}var v=e((()=>{c(),a()}));function y(e){let t=n(null);return t.current===null&&(t.current=e()),t.current}var b=e((()=>{a()})),x=e((()=>{c()})),S=e((()=>{c()})),C=e((()=>{a()})),w=e((()=>{c()})),T,E,D=e((()=>{r(),a(),T=()=>{if(o!==void 0){let e=o.userAgent.toLowerCase();return(e.indexOf(`safari`)>-1||e.indexOf(`framermobile`)>-1||e.indexOf(`framerx`)>-1)&&e.indexOf(`chrome`)<0}else return!1},E=()=>i(()=>T(),[])})),O=e((()=>{a(),S()})),k=e((()=>{a(),c(),S(),b()})),A=e((()=>{c(),a(),m()}));function j(){return i(()=>s.current(),[])}function M(){return i(()=>s.current()===s.canvas,[])}var N=e((()=>{a(),c()})),P=e((()=>{a()}));function F(e){let{borderRadius:t,isMixedBorderRadius:n,topLeftRadius:r,topRightRadius:a,bottomRightRadius:o,bottomLeftRadius:s}=e;return i(()=>n?`${r}px ${a}px ${o}px ${s}px`:`${t}px`,[t,n,r,a,o,s])}function I(e){let{padding:t,paddingPerSide:n,paddingTop:r,paddingRight:a,paddingBottom:o,paddingLeft:s}=e;return i(()=>n?`${r}px ${a}px ${o}px ${s}px`:t,[t,n,r,a,o,s])}var L,R,z=e((()=>{a(),c(),L={borderRadius:{title:`Radius`,type:l.FusedNumber,toggleKey:`isMixedBorderRadius`,toggleTitles:[`Radius`,`Radius per corner`],valueKeys:[`topLeftRadius`,`topRightRadius`,`bottomRightRadius`,`bottomLeftRadius`],valueLabels:[`TL`,`TR`,`BR`,`BL`],min:0}},R={padding:{type:l.FusedNumber,toggleKey:`paddingPerSide`,toggleTitles:[`Padding`,`Padding per side`],valueKeys:[`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`],valueLabels:[`T`,`R`,`B`,`L`],min:0,title:`Padding`}}})),B=e((()=>{m(),v(),b(),x(),S(),C(),w(),D(),O(),k(),A(),N(),P(),z()}));export{F as a,E as c,h as d,g as f,f as h,I as i,b as l,p as m,L as n,M as o,d as p,R as r,j as s,B as t,y as u}; //# sourceMappingURL=OIjZRBmWDcIE2B6qgG1j.C7ytnr-7.mjs.map