(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,38149,e=>{"use strict";var s=e.i(43476);function t({title:e,description:t,controls:a,output:r}){return(0,s.jsxs)("div",{className:"container mx-auto px-4 py-8 max-w-7xl",children:[(0,s.jsxs)("div",{className:"mb-8",children:[(0,s.jsx)("h1",{className:"text-3xl font-bold tracking-tight text-foreground mb-2",children:e}),(0,s.jsx)("p",{className:"text-muted-foreground",children:t})]}),(0,s.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 items-start",children:[(0,s.jsx)("div",{className:"space-y-6",children:(0,s.jsx)("div",{className:"bg-card rounded-2xl border border-border p-6 shadow-sm",children:a})}),(0,s.jsx)("div",{className:"lg:sticky lg:top-24",children:(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsx)("h2",{className:"text-sm font-semibold text-muted-foreground uppercase tracking-wider px-1",children:"Generated Output"}),r]})})]})]})}e.s(["ToolLayout",()=>t])},74886,e=>{"use strict";let s=(0,e.i(75254).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"}]]);e.s(["Copy",()=>s],74886)},43531,e=>{"use strict";let s=(0,e.i(75254).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["Check",()=>s],43531)},31067,e=>{"use strict";function s(){return(s=Object.assign.bind()).apply(null,arguments)}e.s(["default",()=>s])},45997,e=>{"use strict";var s=e.i(43476),t=e.i(71645),a=e.i(38149),r=e.i(74837);function l(){let[e,l]=(0,t.useState)(12),[i,c]=(0,t.useState)(12),[n,d]=(0,t.useState)(12),[o,x]=(0,t.useState)(12),m="";return m=e===i&&i===n&&n===o?`BorderRadius.circular(${e})`:`BorderRadius.only(
  topLeft: Radius.circular(${e}),
  topRight: Radius.circular(${i}),
  bottomLeft: Radius.circular(${n}),
  bottomRight: Radius.circular(${o}),
)`,(0,s.jsx)(a.ToolLayout,{title:"Flutter Border Radius Generator",description:"Design corners and generate the perfect BorderRadius code for your Flutter widgets.",controls:(0,s.jsxs)("div",{className:"space-y-8",children:[(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-6",children:[(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsxs)("div",{className:"flex justify-between",children:[(0,s.jsx)("label",{className:"text-sm font-medium text-muted-foreground",children:"Top Left"}),(0,s.jsx)("span",{className:"text-sm font-mono text-primary",children:e})]}),(0,s.jsx)("input",{type:"range",min:"0",max:"100",step:"1",value:e,onChange:e=>l(parseInt(e.target.value)),className:"w-full"})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsxs)("div",{className:"flex justify-between",children:[(0,s.jsx)("label",{className:"text-sm font-medium text-muted-foreground",children:"Top Right"}),(0,s.jsx)("span",{className:"text-sm font-mono text-primary",children:i})]}),(0,s.jsx)("input",{type:"range",min:"0",max:"100",step:"1",value:i,onChange:e=>c(parseInt(e.target.value)),className:"w-full"})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsxs)("div",{className:"flex justify-between",children:[(0,s.jsx)("label",{className:"text-sm font-medium text-muted-foreground",children:"Bottom Left"}),(0,s.jsx)("span",{className:"text-sm font-mono text-primary",children:n})]}),(0,s.jsx)("input",{type:"range",min:"0",max:"100",step:"1",value:n,onChange:e=>d(parseInt(e.target.value)),className:"w-full"})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsxs)("div",{className:"flex justify-between",children:[(0,s.jsx)("label",{className:"text-sm font-medium text-muted-foreground",children:"Bottom Right"}),(0,s.jsx)("span",{className:"text-sm font-mono text-primary",children:o})]}),(0,s.jsx)("input",{type:"range",min:"0",max:"100",step:"1",value:o,onChange:e=>x(parseInt(e.target.value)),className:"w-full"})]})]}),(0,s.jsxs)("div",{className:"flex items-center gap-4 pt-4 border-t border-border",children:[(0,s.jsx)("button",{onClick:()=>{l(12),c(12),d(12),x(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,s.jsx)("button",{onClick:()=>{l(0),c(0),d(0),x(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,s.jsxs)("div",{className:"flex flex-col items-center py-8",children:[(0,s.jsx)("span",{className:"text-xs text-muted-foreground uppercase tracking-widest mb-6",children:"Live Preview"}),(0,s.jsx)("div",{className:"w-48 h-48 bg-primary shadow-xl border border-white/10",style:{borderRadius:`${e}px ${i}px ${o}px ${n}px`}})]})]}),output:(0,s.jsx)(r.CodeOutput,{code:m})})}e.s(["default",()=>l])}]);