function t(...t){let e=t[0]??{};for(let o=1;o<t.length;o++){const s=t[o];s&&(e=r(e,s))}return e}function r(t,r){const o={};return o.atrules=function(t,r){if(void 0===t||void 0===r)return t??r??{};const o=structuredClone(t);for(const[t,n]of Object.entries(r)){const r=o[t]??{};r.prelude=s(r.prelude,n.prelude),r.descriptors=e(r.descriptors,n.descriptors),o[t]=r}return o}(t.atrules,r.atrules),o.properties=e(t.properties,r.properties),o.types=e(t.types,r.types),o.cssWideKeywords=function(t,r){return void 0===t||void 0===r?t??r??[]:Array.from(new Set([...t,...r]))}(t.cssWideKeywords,r.cssWideKeywords),o}function e(t,r){if(void 0===t||void 0===r)return t??r??{};const e={...t};for(const[t,s]of Object.entries(r))e[t]=o(e[t],s);return e}function o(t,r){if(void 0===t)return r;const e=r.trimStart();return e.startsWith("|")?`${t} ${e}`:r}function s(t,r){if(void 0===t||void 0===r)return t??r;const e=r.trimStart();return e.startsWith("|")?`${t} ${e}`:r}export{t as default};