/*! https://mths.be/cssesc v3.0.0 by @mathias */
var e,t;function r(){if(t)return e;t=1;var r={}.hasOwnProperty,n=/[ -,\.\/:-@\[-\^`\{-~]/,i=/[ -,\.\/:-@\[\]\^`\{-~]/,o=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,s=function e(t,s){"single"!=(s=function(e,t){if(!e)return t;var n={};for(var i in t)n[i]=r.call(e,i)?e[i]:t[i];return n}(s,e.options)).quotes&&"double"!=s.quotes&&(s.quotes="single");for(var a="double"==s.quotes?'"':"'",u=s.isIdentifier,p=t.charAt(0),c="",f=0,l=t.length;f<l;){var g=t.charAt(f++),v=g.charCodeAt(),d=void 0;if(v<32||v>126){if(v>=55296&&v<=56319&&f<l){var h=t.charCodeAt(f++);56320==(64512&h)?v=((1023&v)<<10)+(1023&h)+65536:f--}d="\\"+v.toString(16).toUpperCase()+" "}else d=s.escapeEverything?n.test(g)?"\\"+g:"\\"+v.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(g)?"\\"+v.toString(16).toUpperCase()+" ":"\\"==g||!u&&('"'==g&&a==g||"'"==g&&a==g)||u&&i.test(g)?"\\"+g:g;c+=d}return u&&(/^-[-\d]/.test(c)?c="\\-"+c.slice(1):/\d/.test(p)&&(c="\\3"+p+" "+c.slice(1))),c=c.replace(o,function(e,t,r){return t&&t.length%2?e:(t||"")+r}),!u&&s.wrap?a+c+a:c};return s.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},s.version="3.0.0",e=s}export{r as __require};