"use strict";var core=require("@gem-sdk/core");const checkDefaultVariant=e=>!e?.options?.length||e?.options?.length===1&&e?.options?.[0]?.name==="Title"&&e?.options?.[0]?.values?.length===1&&e?.options?.[0]?.values?.[0]?.label==="Default Title",getSizeSetting=e=>{let t={};return core.DEVICES.map(i=>{let n=core.getResponsiveValueByScreen(e.adaptiveHeight,i),o=core.getResponsiveValueByScreen(e?.fullWidth,i),a=core.getResponsiveValueByScreen(e?.width,i),r=core.getResponsiveValueByScreen(e?.height,i);t={...t,[i]:{height:n?"fit-content":r,width:o||!a?"100%":a}}}),t};exports.checkDefaultVariant=checkDefaultVariant,exports.getSizeSetting=getSizeSetting;
