'use client';
import{jsx as m}from"react/jsx-runtime";import{usePageType as o,isEmptyChildren as r}from"@gem-sdk/core";import t from"../ChildrenDroppable.js";import{getStyles as e}from"./common/styles.js";import{getClass as s}from"./common/classes.js";import{getAttr as l}from"./common/attrs.js";let Column=i=>{let{builderAttrs:n,children:p}=i,a=o(),c="POST_PURCHASE"===a,{colStyle:d}=e(i,c),{colClass:f}=s(i),{colAttr:u}=l(i);return m("div",{...n,...u,style:d,className:f,children:r(p)?i.hiddenEmptyCol?null:m(t,{}):p})};export{Column as default};
