import e from"../../../../../_virtual/index13.mjs";import{__require as r}from"../../utils/validateTypes.mjs";import{__require as n}from"../../utils/namespace.mjs";import{__require as t}from"../../utils/ruleUrl.mjs";var i,s;function o(){if(s)return i;s=1;const{utils:o}=e,{isRegExp:u,isString:a}=r(),l=n(),m=t(),c=["at-root","content","debug","each","else","else if","error","extend","for","forward","function","if","import","include","media","mixin","return","use","warn","while"],d="at-rule-no-unknown",p=l(d),f=o.ruleMessages(p,{rejected:e=>`Unexpected unknown at-rule "${e}"`}),g={url:m(p)};function _(e,r){return async(n,t)=>{if(!o.validateOptions(t,p,{actual:e},{actual:r,possible:{ignoreAtRules:[u,a]},optional:!0}))return;const i=r&&r.ignoreAtRules,s=c.concat(i||[]),l=Object.assign({},r,{ignoreAtRules:s});await o.checkAgainstRule({ruleName:d,ruleSettings:[e,l],root:n},e=>{const r=e.node.name;s.includes(r)||o.report({message:f.rejected(`@${r}`),ruleName:p,result:t,node:e.node,start:{line:e.line,column:e.column},end:{line:e.endLine,column:e.endColumn}})})}}return _.ruleName=p,_.messages=f,_.meta=g,i=_}export{o as __require};