import{DEVICES as e,getValueByDevice as t}from"@gem-sdk/core";let o=(o,l)=>e.map(e=>{if("100%"===t(o,e))return`.${l?.uid}
      .wrap-width_full_${e}_top_true { width: 100%; } .${l?.uid} .wrap-width_full_${e}_top_true .gp-tab-item { flex: 1 }`}).join(""),l=(e={})=>{let{desktop:t="",tablet:o=t,mobile:l=o||t}=e;return{desktop:t,tablet:o,mobile:l}},r=e=>{let t={desktop:"",tablet:"",mobile:""};if(e.position)for(let o of Object.keys(t))if(e.position[o]&&"top"!==e.position[o]){let r=l(e.labelWidth);t[o]=r?.[o]||"min-content"}else{let r=l(e.panelWidth);t[o]=r?.[o]||"auto"}return t},i=e=>{let t="";if(e)for(let[o,l]of Object.entries(e))"left"===l||"right"===l?t+=` ${"desktop"===o?"gp-flex-col":o+":gp-flex-col"}`:t+=` ${"desktop"===o?"gp-flex-row":o+":gp-flex-row"}`;return t},p=e=>{let t="";if(e)for(let[o,l]of Object.entries(e))"left"===l?t+=` ${"desktop"===o?"gp-flex-row":o+":gp-flex-row"}`:"right"===l?t+=` ${"desktop"===o?"gp-flex-row-reverse":o+":gp-flex-row-reverse"}`:"top"===l?t+=` ${"desktop"===o?"gp-flex-col":o+":gp-flex-col"}`:"bottom"===l&&(t+=` ${"desktop"===o?"gp-flex-col-reverse":o+":gp-flex-col-reverse"}`);return t};export{r as getStyleWidthByPositionResponsive,i as getUlClassByPositionResponsive,p as getWrapClassByPositionResponsive,o as makeStyleLayoutFullWidthResponsive};
