import{isAtRule as t}from"./typeGuards.mjs";function e(e,s){const{parent:o}=e;return o?("decl"!==e.type||!o.raws.semicolon&&o.last===e)&&(!t(e)||e.nodes||!o.raws.semicolon&&o.last===e)?s:{...s,text:`${s.text};`}:s}export{e as default};