import e from"../../../../../_virtual/index13.mjs";import{__require as s}from"../../utils/namespace.mjs";import{__require as r}from"../../utils/ruleUrl.mjs";var a,t;function i(){if(t)return a;t=1;const{utils:i}=e,n=s(),l=r(),m=n("at-mixin-argumentless-call-parentheses"),u=i.ruleMessages(m,{expected:e=>`Expected parentheses in mixin "${e}" call`,rejected:e=>`Unexpected parentheses in argumentless mixin "${e}" call`}),c={url:l(m),fixable:!0};function p(e){return(s,r)=>{i.validateOptions(r,m,{actual:e,possible:["always","never"]})&&s.walkAtRules("include",s=>{const a=/([) ]+)(\busing\s*\([^)]+\)+\s*)$/,t=s.params.match(a),n=t?.[2]??"",l=s.params.replace(a,"$1").trim();if("never"===e&&-1===l.search(/\(\s*\)\s*$/))return;if("always"===e&&-1!==l.search(/\(/))return;const c=/\s*(\S*?)\s*(?:\(|$)/.exec(l)[1];i.report({message:u["never"===e?"rejected":"expected"](c),node:s,result:r,ruleName:m,word:c,fix:()=>{s.params="always"===e?`${l}()`:l.replace(/\s*\([\s\S]*?\)\s*$/,""),s.params+=n?` ${n}`:""}})})}}return p.ruleName=m,p.messages=u,p.meta=c,a=p}export{i as __require};