import e from"../../../../../_virtual/index13.mjs";import{__require as r}from"../../utils/atRuleBaseName.mjs";import{__require as t}from"../../utils/namespace.mjs";import{__require as a}from"../../utils/ruleUrl.mjs";var i,s;function u(){if(s)return i;s=1;const{utils:u}=e,n=r(),m=t(),o=a(),l=m("no-duplicate-mixins"),p=u.ruleMessages(l,{rejected:e=>`Unexpected duplicate mixin ${e}`}),c={url:o(l)};function d(e){return(r,t)=>{if(!u.validateOptions(t,l,{actual:e}))return;let a={};r.walkAtRules("mixin",e=>{const r=n(e);if(a[r]){if(a[r].parent!==e.parent&&"root"!==a[r].parent.type&&"root"!==e.parent.type)return;u.report({message:p.rejected(r),node:e,result:t,ruleName:l,word:r}),delete a[r]}a[r]={parent:e.parent}}),a={}}}return d.ruleName=l,d.messages=p,d.meta=c,i=d}export{u as __require};