const e=/^overflow/i;const o=o=>{const s=!("preserve"in Object(o))||Boolean(o.preserve);return{postcssPlugin:"postcss-overflow-shorthand",Declaration:(o,{list:r})=>{e.test(o)&&function(e,o,s){const[r,t,...n]=e.space(o.value);t&&!n.length&&(o.cloneBefore({prop:`${o.prop}-x`,value:r}),o.cloneBefore({prop:`${o.prop}-y`,value:t}),s||o.remove())}(r,o,s)}}};o.postcss=!0;export{o as default};
