"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=["lg","md","sm","xs","xxs"];function h({id:a,layouts:i,initialHeight:r,y:o,x:c,w:m,minH:y,minW:u}){const t={i:a,x:c??0,y:o??1/0,w:m||20,h:r||35,minW:u||6,minH:y||10},e=i?{...i}:{};return x.forEach(n=>{e[n]||(e[n]=[]);const f=e[n].reduce((d,s)=>Math.max(d,s.y+s.h),0);t.y=t.y===1/0?f:t.y,e[n].push({...t})}),e}exports.createFrameLayouts=h;
