import{__require as e}from"../../../../postcss-value-parser/lib/index.mjs";import r from"../../../../../_virtual/index13.mjs";import{__require as t}from"../../utils/namespace.mjs";import{__require as s}from"../../utils/ruleUrl.mjs";var u,a;function i(){if(a)return u;a=1;const i=e(),{utils:n}=r,o=t(),l=s(),p=o("map-keys-quotes"),m=n.ruleMessages(p,{expected:"Expected keys in map to be quoted."}),f={url:l(p)},c=["+","/","-","*","%"];function d(e){return(r,t)=>{n.validateOptions(t,p,{actual:e,possible:["always"]})&&r.walkDecls(e=>{"$"===e.prop[0]&&i(e.value).walk(r=>{if("function"===r.type&&""===r.value&&function(e){if(e.length<4)return!1;if("word"!==e[0].type&&"string"!==e[0].type)return!1;if(":"!==e[1].value)return!1;if(","!==e[3].value)return!1;return!0}(r.nodes)){(function(e){const r=[];for(let t=0;t<e.length;t+=4)r.push(e[t]);return r})(r.nodes).forEach(r=>{c.includes(r.value)||"word"===r.type&&isNaN(r.value)&&n.report({message:m.expected,node:e,result:t,ruleName:p,word:r.value})})}})})}}return d.ruleName=p,d.messages=m,d.meta=f,u=d}export{i as __require};