import{filterTruthy as o}from"../../../common/helpers.js";let t=t=>o(t),r=(o,r)=>{let{errorColor:e,successColor:c}=r??{};return"success"===o?t({"background-color":"#F2FFEC",left:"50%",transform:"translateX(-50%)",color:c}):t({"background-color":"#FFE9E9",left:"50%",transform:"translateX(-50%)",color:e})},e=o=>`
    #my-popover-${o?.uid}::backdrop {
      width: fit-content;
      height: fit-content;
    }
  `;export{r as composeFormStyles,e as popoverStyles};
