import{__require as e}from"../../../postcss-value-parser/lib/index.mjs";var n,r;function u(){if(r)return n;r=1;const u=e();function t(e){if(!e)return[];let n=0;return e.reduce((r,u,t)=>{const s="div"===u.type&&","===u.value;return s&&t===e.length-1||(s&&n++,r[n]=r[n]||[],s||r[n].push(u)),r},[])}function s(e){return e.reduce((n,r,t)=>{if(1===n.length)return n;const s=e[t+1];return s&&"div"===s.type&&":"===s.value?(n.push({key:u.stringify(r),value:u.stringify(e.slice(2)),index:r.sourceIndex,endIndex:e.at(-1).sourceEndIndex}),n):(n.push({value:u.stringify(e),index:r.sourceIndex,endIndex:e.at(-1).sourceEndIndex}),n)},[])[0]}return n={groupByKeyValue:t,mapToKeyValue:s,parseFunctionArguments:function(e){const{nodes:n}=u(e),[r]=n;return r&&"function"===r.type?n.map(e=>t(e.nodes).map(s))[0]:[]}}}export{u as __require};