module.exports=[69147,a=>{"use strict";var b=a.i(87924);function c({title:a,description:c,controls:d,output:e}){return(0,b.jsxs)("div",{className:"container mx-auto px-4 py-8 max-w-7xl",children:[(0,b.jsxs)("div",{className:"mb-8",children:[(0,b.jsx)("h1",{className:"text-3xl font-bold tracking-tight text-foreground mb-2",children:a}),(0,b.jsx)("p",{className:"text-muted-foreground",children:c})]}),(0,b.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 items-start",children:[(0,b.jsx)("div",{className:"space-y-6",children:(0,b.jsx)("div",{className:"bg-card rounded-2xl border border-border p-6 shadow-sm",children:d})}),(0,b.jsx)("div",{className:"lg:sticky lg:top-24",children:(0,b.jsxs)("div",{className:"space-y-4",children:[(0,b.jsx)("h2",{className:"text-sm font-semibold text-muted-foreground uppercase tracking-wider px-1",children:"Generated Output"}),e]})})]})]})}a.s(["ToolLayout",()=>c])},5151,a=>{"use strict";let b=(0,a.i(70106).default)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);a.s(["Copy",()=>b],5151)},33441,a=>{"use strict";let b=(0,a.i(70106).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);a.s(["Check",()=>b],33441)},3473,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(69147),e=a.i(62258);function f(){let[a,f]=(0,c.useState)(12),[g,h]=(0,c.useState)(12),[i,j]=(0,c.useState)(12),[k,l]=(0,c.useState)(12),m="";return m=a===g&&g===i&&i===k?`BorderRadius.circular(${a})`:`BorderRadius.only(
  topLeft: Radius.circular(${a}),
  topRight: Radius.circular(${g}),
  bottomLeft: Radius.circular(${i}),
  bottomRight: Radius.circular(${k}),
)`,(0,b.jsx)(d.ToolLayout,{title:"Flutter Border Radius Generator",description:"Design corners and generate the perfect BorderRadius code for your Flutter widgets.",controls:(0,b.jsxs)("div",{className:"space-y-8",children:[(0,b.jsxs)("div",{className:"grid grid-cols-2 gap-6",children:[(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsxs)("div",{className:"flex justify-between",children:[(0,b.jsx)("label",{className:"text-sm font-medium text-muted-foreground",children:"Top Left"}),(0,b.jsx)("span",{className:"text-sm font-mono text-primary",children:a})]}),(0,b.jsx)("input",{type:"range",min:"0",max:"100",step:"1",value:a,onChange:a=>f(parseInt(a.target.value)),className:"w-full"})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsxs)("div",{className:"flex justify-between",children:[(0,b.jsx)("label",{className:"text-sm font-medium text-muted-foreground",children:"Top Right"}),(0,b.jsx)("span",{className:"text-sm font-mono text-primary",children:g})]}),(0,b.jsx)("input",{type:"range",min:"0",max:"100",step:"1",value:g,onChange:a=>h(parseInt(a.target.value)),className:"w-full"})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsxs)("div",{className:"flex justify-between",children:[(0,b.jsx)("label",{className:"text-sm font-medium text-muted-foreground",children:"Bottom Left"}),(0,b.jsx)("span",{className:"text-sm font-mono text-primary",children:i})]}),(0,b.jsx)("input",{type:"range",min:"0",max:"100",step:"1",value:i,onChange:a=>j(parseInt(a.target.value)),className:"w-full"})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsxs)("div",{className:"flex justify-between",children:[(0,b.jsx)("label",{className:"text-sm font-medium text-muted-foreground",children:"Bottom Right"}),(0,b.jsx)("span",{className:"text-sm font-mono text-primary",children:k})]}),(0,b.jsx)("input",{type:"range",min:"0",max:"100",step:"1",value:k,onChange:a=>l(parseInt(a.target.value)),className:"w-full"})]})]}),(0,b.jsxs)("div",{className:"flex items-center gap-4 pt-4 border-t border-border",children:[(0,b.jsx)("button",{onClick:()=>{f(12),h(12),j(12),l(12)},className:"flex-1 py-2 px-4 bg-secondary text-foreground text-sm rounded-xl hover:bg-secondary/70 transition-colors",children:"Uniform 12.0"}),(0,b.jsx)("button",{onClick:()=>{f(0),h(0),j(0),l(0)},className:"flex-1 py-2 px-4 bg-secondary text-foreground text-sm rounded-xl hover:bg-secondary/70 transition-colors",children:"Reset"})]}),(0,b.jsxs)("div",{className:"flex flex-col items-center py-8",children:[(0,b.jsx)("span",{className:"text-xs text-muted-foreground uppercase tracking-widest mb-6",children:"Live Preview"}),(0,b.jsx)("div",{className:"w-48 h-48 bg-primary shadow-xl border border-white/10",style:{borderRadius:`${a}px ${g}px ${k}px ${i}px`}})]})]}),output:(0,b.jsx)(e.CodeOutput,{code:m})})}a.s(["default",()=>f])}];

//# sourceMappingURL=_c7b628ae._.js.map