import{lintWarning as l}from"./utils.mjs";function s(n){return(n.match(/:not\(([^)]*)\)/)?.[1]||"").split(/(\[[^[]*\])|(?=[.#])/).filter(o=>o).length>1}function a(n){return n.parentSelectors.reduce((e,t)=>e?t.includes("&")?t.replace(/&/g,e):`${e} ${t}`:t,"")}const i=(n,e,t)=>{const r=a(t).match(/:not\([^)]*\)/g)||[];r.length>0&&r.some(s)&&l("Concat ':not' selector not support in legacy browsers.",t)};export{i as default};
