@bhsd/stylelint-browserify 17.11.1 → 17.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
- "use strict";(()=>{var F6=Object.defineProperty;var ox=e=>{throw TypeError(e)};var M6=(e,t,r)=>t in e?F6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var U=(e,t,r)=>M6(e,typeof t!="symbol"?t+"":t,r),R6=(e,t,r)=>t.has(e)||ox("Cannot "+r);var Qh=(e,t,r)=>(R6(e,t,"read from private field"),r?r.call(e):t.get(e)),ax=(e,t,r)=>t.has(e)?ox("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r);var $6=Object.create,Xm=Object.defineProperty,B6=Object.getOwnPropertyDescriptor,q6=Object.getOwnPropertyNames,W6=Object.getPrototypeOf,_6=Object.prototype.hasOwnProperty,U6=e=>t=>{var r=e[t];if(r)return r();throw new Error("Module not found in bundle: "+t)},y=(e,t)=>()=>(e&&(t=e(e=0)),t),G=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),A=(e,t)=>{for(var r in t)Xm(e,r,{get:t[r],enumerable:!0})},bA=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of q6(t))!_6.call(e,i)&&i!==r&&Xm(e,i,{get:()=>t[i],enumerable:!(n=B6(t,i))||n.enumerable});return e},X=(e,t,r)=>(r=e!=null?$6(W6(e)):{},bA(t||!e||!e.__esModule?Xm(r,"default",{value:e,enumerable:!0}):r,e)),vA=e=>bA(Xm({},"__esModule",{value:!0}),e),xw={};A(xw,{isAbsolute:()=>Jm,join:()=>Sw,normalize:()=>yA,relative:()=>Cw});var Jm,Sw,yA,Cw,Zm=y(()=>{"use strict";Jm=()=>!0,Sw=()=>"",yA=()=>{},Cw=()=>""}),Mt,Jr,dm,zw,Er=y(()=>{Mt="all",Jr="error",dm="warning",zw=Jr});function cd(e){return typeof e=="boolean"||e instanceof Boolean}function pm(e){return typeof e=="function"||e instanceof Function}function Sr(e){return typeof e=="number"||e instanceof Number}function wA(e){return e!==null&&typeof e=="object"}function _(e){return e instanceof RegExp}function $(e){return typeof e=="string"||e instanceof String}function Cr(e){if(!wA(e))return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null}function $e(e,t=void 0){t?console.assert(e,t):console.assert(e)}function zc(e){console.assert(Sr(e),`"${e}" must be a number`)}function eo(e){console.assert($(e),`"${e}" must be a string`)}function sx(e){return!(!Cr(e)||!Sr(e.line)||!Sr(e.column))}function V6(e){return!(!Cr(e)||!sx(e.start)||!sx(e.end))}var q=y(()=>{}),Mc,Aw=y(()=>{Mc=()=>{}}),Q6=G((e,t)=>{var r=40,n=41,i=39,o=34,a=92,s=47,l=44,u=58,c=42,d=117,p=85,m=43,v=/^[a-f0-9?-]+$/i;t.exports=function(h){for(var b=[],g=h,f,x,w,k,S,E,C,L,N=0,B=g.charCodeAt(N),ie=g.length,te=[{nodes:b}],he=0,fe,oe="",Fe="",Ue="";N<ie;)if(B<=32){f=N;do f+=1,B=g.charCodeAt(f);while(B<=32);k=g.slice(N,f),w=b[b.length-1],B===n&&he?Ue=k:w&&w.type==="div"?(w.after=k,w.sourceEndIndex+=k.length):B===l||B===u||B===s&&g.charCodeAt(f+1)!==c&&(!fe||fe&&fe.type==="function"&&fe.value!=="calc")?Fe=k:b.push({type:"space",sourceIndex:N,sourceEndIndex:f,value:k}),N=f}else if(B===i||B===o){f=N,x=B===i?"'":'"',k={type:"string",sourceIndex:N,quote:x};do if(S=!1,f=g.indexOf(x,f+1),~f)for(E=f;g.charCodeAt(E-1)===a;)E-=1,S=!S;else g+=x,f=g.length-1,k.unclosed=!0;while(S);k.value=g.slice(N+1,f),k.sourceEndIndex=k.unclosed?f:f+1,b.push(k),N=f+1,B=g.charCodeAt(N)}else if(B===s&&g.charCodeAt(N+1)===c)f=g.indexOf("*/",N),k={type:"comment",sourceIndex:N,sourceEndIndex:f+2},f===-1&&(k.unclosed=!0,f=g.length,k.sourceEndIndex=f),k.value=g.slice(N+2,f),b.push(k),N=f+2,B=g.charCodeAt(N);else if((B===s||B===c)&&fe&&fe.type==="function"&&fe.value==="calc")k=g[N],b.push({type:"word",sourceIndex:N-Fe.length,sourceEndIndex:N+k.length,value:k}),N+=1,B=g.charCodeAt(N);else if(B===s||B===l||B===u)k=g[N],b.push({type:"div",sourceIndex:N-Fe.length,sourceEndIndex:N+k.length,value:k,before:Fe,after:""}),Fe="",N+=1,B=g.charCodeAt(N);else if(r===B){f=N;do f+=1,B=g.charCodeAt(f);while(B<=32);if(L=N,k={type:"function",sourceIndex:N-oe.length,value:oe,before:g.slice(L+1,f)},N=f,oe==="url"&&B!==i&&B!==o){f-=1;do if(S=!1,f=g.indexOf(")",f+1),~f)for(E=f;g.charCodeAt(E-1)===a;)E-=1,S=!S;else g+=")",f=g.length-1,k.unclosed=!0;while(S);C=f;do C-=1,B=g.charCodeAt(C);while(B<=32);L<C?(N!==C+1?k.nodes=[{type:"word",sourceIndex:N,sourceEndIndex:C+1,value:g.slice(N,C+1)}]:k.nodes=[],k.unclosed&&C+1!==f?(k.after="",k.nodes.push({type:"space",sourceIndex:C+1,sourceEndIndex:f,value:g.slice(C+1,f)})):(k.after=g.slice(C+1,f),k.sourceEndIndex=f)):(k.after="",k.nodes=[]),N=f+1,k.sourceEndIndex=k.unclosed?f:N,B=g.charCodeAt(N),b.push(k)}else he+=1,k.after="",k.sourceEndIndex=N+1,b.push(k),te.push(k),b=k.nodes=[],fe=k;oe=""}else if(n===B&&he)N+=1,B=g.charCodeAt(N),fe.after=Ue,fe.sourceEndIndex+=Ue.length,Ue="",he-=1,te[te.length-1].sourceEndIndex=N,te.pop(),fe=te[he],b=fe.nodes;else{f=N;do B===a&&(f+=1),f+=1,B=g.charCodeAt(f);while(f<ie&&!(B<=32||B===i||B===o||B===l||B===u||B===s||B===r||B===c&&fe&&fe.type==="function"&&fe.value==="calc"||B===s&&fe.type==="function"&&fe.value==="calc"||B===n&&he));k=g.slice(N,f),r===B?oe=k:(d===k.charCodeAt(0)||p===k.charCodeAt(0))&&m===k.charCodeAt(1)&&v.test(k.slice(2))?b.push({type:"unicode-range",sourceIndex:N,sourceEndIndex:f,value:k}):b.push({type:"word",sourceIndex:N,sourceEndIndex:f,value:k}),N=f}for(N=te.length-1;N;N-=1)te[N].unclosed=!0,te[N].sourceEndIndex=g.length;return te[0].nodes}}),Y6=G((e,t)=>{t.exports=function r(n,i,o){var a,s,l,u;for(a=0,s=n.length;a<s;a+=1)l=n[a],o||(u=i(l,a,n)),u!==!1&&l.type==="function"&&Array.isArray(l.nodes)&&r(l.nodes,i,o),o&&i(l,a,n)}}),G6=G((e,t)=>{function r(i,o){var a=i.type,s=i.value,l,u;return o&&(u=o(i))!==void 0?u:a==="word"||a==="space"?s:a==="string"?(l=i.quote||"",l+s+(i.unclosed?"":l)):a==="comment"?"/*"+s+(i.unclosed?"":"*/"):a==="div"?(i.before||"")+s+(i.after||""):Array.isArray(i.nodes)?(l=n(i.nodes,o),a!=="function"?l:s+"("+(i.before||"")+l+(i.after||"")+(i.unclosed?"":")")):s}function n(i,o){var a,s;if(Array.isArray(i)){for(a="",s=i.length-1;~s;s-=1)a=r(i[s],o)+a;return a}return r(i,o)}t.exports=n}),K6=G((e,t)=>{var r=45,n=43,i=46,o=101,a=69;function s(l){var u=l.charCodeAt(0),c;if(u===n||u===r){if(c=l.charCodeAt(1),c>=48&&c<=57)return!0;var d=l.charCodeAt(2);return c===i&&d>=48&&d<=57}return u===i?(c=l.charCodeAt(1),c>=48&&c<=57):u>=48&&u<=57}t.exports=function(l){var u=0,c=l.length,d,p,m;if(c===0||!s(l))return!1;for(d=l.charCodeAt(u),(d===n||d===r)&&u++;u<c&&(d=l.charCodeAt(u),!(d<48||d>57));)u+=1;if(d=l.charCodeAt(u),p=l.charCodeAt(u+1),d===i&&p>=48&&p<=57)for(u+=2;u<c&&(d=l.charCodeAt(u),!(d<48||d>57));)u+=1;if(d=l.charCodeAt(u),p=l.charCodeAt(u+1),m=l.charCodeAt(u+2),(d===o||d===a)&&(p>=48&&p<=57||(p===n||p===r)&&m>=48&&m<=57))for(u+=p===n||p===r?3:2;u<c&&(d=l.charCodeAt(u),!(d<48||d>57));)u+=1;return{number:l.slice(0,u),unit:l.slice(u)}}}),ue=G((e,t)=>{var r=Q6(),n=Y6(),i=G6();function o(a){return this instanceof o?(this.nodes=r(a),this):new o(a)}o.prototype.toString=function(){return Array.isArray(this.nodes)?i(this.nodes):""},o.prototype.walk=function(a,s){return n(this.nodes,a,s),this},o.unit=K6(),o.walk=n,o.stringify=i,t.exports=o});function st(e){var t,r;return(r=(t=e.raws.params)==null?void 0:t.raw)!=null?r:e.params}var lt=y(()=>{});function be(e){let t=e.raws;return t.selector&&t.selector.raw||e.selector}var we=y(()=>{});function je(e){var t,r;return kA(e)+((r=(t=e.raws.afterName)==null?void 0:t.length)!=null?r:0)}function H6(e){var n,i,o,a;let t=(i=(n=e.source)==null?void 0:n.end)==null?void 0:i.offset;if(!t)return e.toString().length-1;let r=(a=(o=e.raws)==null?void 0:o.after)==null?void 0:a.length;return r?t-(r+1):t-1}function kA(e){return 1+e.name.length}function X6(e){return je(e)+st(e).length}function xA(e){let{prop:t}=e.raws,r=wA(t);return SA([r&&"prefix"in t&&t.prefix,r&&"raw"in t&&t.raw||e.prop,r&&"suffix"in t&&t.suffix])}function ne(e){let{between:t,value:r}=e.raws;return xA(e)+SA([t||":",r&&"prefix"in r&&r.prefix])}function J6(e){return be(e).length}function Z6(e){var n,i,o,a;let t=(i=(n=e.source)==null?void 0:n.end)==null?void 0:i.offset;if(!t)return e.toString().length-1;let r=(a=(o=e.raws)==null?void 0:o.after)==null?void 0:a.length;return r?t-(r+1):t-1}function SA(e){return e.reduce((t,r)=>$(r)?t+r.length:t,0)}var J=y(()=>{lt(),we(),q()});function qe(e){let t=e.raws;return t.value&&t.value.raw||e.value}var We=y(()=>{});function CA(e){return zA.test(e)}var zA,AA=y(()=>{zA=/@\{.+?\}/});function NA(e){return EA.test(e)}var EA,PA=y(()=>{EA=/\$\(.+?\)/});function IA(e){return OA.test(e)}var OA,jA=y(()=>{OA=/#\{.+?\}/s});function TA(e){return DA.test(e)}var DA,LA=y(()=>{DA=/\{.+?\}/s});function eh(e){return!!(CA(e)||IA(e)||TA(e)||NA(e))}var th=y(()=>{AA(),PA(),jA(),LA()});function Be(e){let t=e;return/^[-+*/]/.test(e.charAt(0))&&(t=t.slice(1)),!(t.startsWith("$")||/^.+\.\$/.test(e)||/^.+\.[-\w]+\(/.test(e)||t.startsWith("@")||eh(t)||/__MSG_\S+__/.test(e))}var _e=y(()=>{th()});function ur(e){return e.type==="root"}function it(e){return e.type==="rule"}function Oe(e){return e.type==="atrule"}function Kr(e){return e.type==="comment"}function to(e){return e.type==="decl"}function Cv(e){return e.type==="document"}function FA(e){return e.type==="div"}function Nn(e){return e.type==="function"}function En({type:e}){return e==="word"}function lx(e){return!!e.source}var me=y(()=>{});function Pe(e,t){if(!Array.isArray(e))return ux(e,t);for(let r of e){let n=ux(r,t);if(n)return n}return!1}function ux(e,t){if(!Array.isArray(t))return dx(e,t);for(let r of t){let n=dx(e,r);if(n)return n}return!1}function cx(e,t){var n;let r=e.match(t);return r?{match:e,pattern:t,substring:(n=r[0])!=null?n:""}:!1}function dx(e,t){if(t instanceof RegExp)return cx(e,t);let r="i";if(t.startsWith("/")&&(t.endsWith("/")||t.endsWith(`/${r}`))){let n=t.endsWith(r)?new RegExp(t.slice(1,-2),r):new RegExp(t.slice(1,-1)),i=cx(e,n);return i&&(i.pattern=t),i}return e===t?{match:e,pattern:t,substring:e}:!1}var Le=y(()=>{});function F(e,t,r){return!!(e&&e[t]&&typeof r=="string"&&Pe(r,e[t]))}var K=y(()=>{Le()});function eB(e,t){let{parent:r}=e;return r?e.type==="decl"&&(r.raws.semicolon||r.last!==e)?{...t,text:`${t.text};`}:Oe(e)&&!e.nodes&&(r.raws.semicolon||r.last!==e)?{...t,text:`${t.text};`}:t:t}var tB=y(()=>{me()});function rB(e,t){return e.endsWith(`(${t})`)?e:`${e} (${t})`}var nB=y(()=>{});function iB(e,t){if(!e.source)return t;let r=t.range[0],n=t.range[1],i=e.source.input.css.slice(r,n),o=0;for(let s=0;s<i.length;s++){let l=i[s],u=t.text[s];if(l!==u)break;r++,o++}let a=t.text.length;for(let s=0;s<i.length;s++){let l=i.length-1-s;if(l<o)break;let u=i[l],c=t.text.length-1-s;if(c<o)break;let d=t.text[c];if(u!==d)break;n--,a--}return r===n&&(r>t.range[0]?(r--,o--):n<t.range[1]&&(n++,a++)),{text:t.text.slice(o,a),range:[r,n]}}var oB=y(()=>{});function aB(e,t){return!(e[1]<=t[0]||e[0]>=t[1])}var sB=y(()=>{});function P(e){var w,k,S;let{node:t,result:r,ruleName:n,fix:i,...o}=e,a=lB(e),{disabledRanges:s,quiet:l,ruleSeverities:u,config:{defaultSeverity:c,ignoreDisables:d}={},customMessages:{[n]:p=o.message},customUrls:{[n]:m},ruleMetadata:{[n]:v}}=r.stylelint,{messageArgs:h=[],severity:b=u[n]}=o,g=(k=(w=pm(b)?b(...h):b)!=null?w:c)!=null?k:zw;if(l&&g===dm)return;if((pm(i)||Nw(i))&&v&&!v.fixable)throw new Error(`The "${n}" rule requires "meta.fixable" to be truthy if the "fix" callback is being passed`);if(dB(e,a.start.line)||MA(n,a.start.line,s)&&(((S=r.stylelint).disabledWarnings||(S.disabledWarnings=[])).push({rule:n,line:a.start.line}),!d))return;!r.stylelint.stylelintError&&g===Jr&&(r.stylelint.stylelintError=!0),!r.stylelint.stylelintWarning&&g===dm&&(r.stylelint.stylelintWarning=!0);let f={severity:g,rule:n};t&&(f.node=t),f.start=a.start,f.end=a.end,m&&(f.url=m),f.fix=pB({...e,line:a.start.line});let x=uB(p,h,n);r.warn(x,f)}function lB(e){if(!e.node)throw new Error(`The "${e.ruleName}" rule provided incorrect position arguments to \`utils.report()\`. To fix, pass a PostCSS \`node\` to the function.`);if(V6(e))return{start:e.start,end:e.end};if("start"in e||"end"in e)throw new Error(`The "${e.ruleName}" rule provided incomplete position arguments to \`utils.report()\`. To fix, provide both \`start\` and \`end\` as valid positions to the function.`);if(hB(e))return e.node.rangeBy({index:e.index,endIndex:e.endIndex});if("index"in e||"endIndex"in e)throw new Error(`The "${e.ruleName}" rule provided incomplete position arguments to \`utils.report()\`. To fix, provide both \`index\` and \`endIndex\` as numbers to the function.`);return"word"in e&&$(e.word)?e.node.rangeBy({word:e.word}):e.node.rangeBy({})}function uB(e,t,r){return rB($(e)?cB(e,...t):e(...t),r)}function cB(e,...t){return t.reduce((r,n)=>r.replace(/%[ds]/,String(n)),e)}function MA(e,t,r){var i,o;let n=(o=(i=r[e])!=null?i:r[Mt])!=null?o:[];for(let a of n)if(a.start<=t&&(a.end===void 0||a.end>=t)&&(!a.rules||a.rules.includes(e)))return!0;return!1}function dB({fix:e,result:{stylelint:t},ruleName:r},n){if(!e)return!1;let{disabledRanges:i,config:o={},fixersData:a}=t;if(!o.fix||RA(n,r,o,i))return!1;let s=Nw(e)?e.apply:e;return pm(s)?(s(),mB({fixersData:a,ruleName:r}),!0):!1}function pB({fix:e,line:t,result:r,ruleName:n}){var d,p,m,v,h;if(!e)return;let{disabledRanges:i,config:o={},rangesOfComputedEditInfos:a}=r.stylelint;if(!o.computeEditInfo||o.fix||RA(t,n,o,i)||!Nw(e)||!e.apply||!e.node)return;let{apply:s,node:l}=e;if(!Sr((p=(d=l.source)==null?void 0:d.start)==null?void 0:p.offset)||!Sr((v=(m=l.source)==null?void 0:m.end)==null?void 0:v.offset))return;let u=[l.source.start.offset,l.source.end.offset];if(a.some(b=>aB(b,u)))return;s();let c={range:u,text:l.toString((h=r.opts)==null?void 0:h.syntax)};return c=eB(l,c),c=iB(l,c),a.push(c.range),c}function RA(e,t,r,n){var i,o;return!!((o=(i=r.rules)==null?void 0:i[t][1])!=null&&o.disableFix||!r.ignoreDisables&&MA(t,e,n))}function mB({fixersData:e,ruleName:t}){var r;(r=e[t])!=null||(e[t]=0),e[t]++}function hB(e){return!(!Cr(e)||!Sr(e.index)||!Sr(e.endIndex))}function Nw(e){return!(!Cr(e)||!e.node||!pm(e.apply))}var I=y(()=>{q(),Er(),tB(),nB(),oB(),sB()});function O(e,t){let r={};for(let[n,i]of Object.entries(t))typeof i=="string"?r[n]=`${i} (${e})`:(r[n]=(...o)=>`${i(...o)} (${e})`,Object.defineProperty(r[n],"length",{value:i.length}));return r}var j=y(()=>{});function ft(e,t){let r=e.raws;return r.value?r.value.raw=t:e.value=t,e}var gt=y(()=>{});function Ew(e,t){return!Array.isArray(e)||!Array.isArray(t)||e.length!==t.length?!1:e.every((r,n)=>r===t[n])}var Pw=y(()=>{});function T(e,t,...r){var o;if(!((o=e.stylelint.config)!=null&&o.validate))return!0;let n=!0;for(let a of r)fB(a,t,i);function i(a){n=!1,e.warn(a,{stylelintType:"invalidOption"}),e.stylelint.stylelintError=!0}return n}function fB({possible:e,actual:t,optional:r},n,i){if(t===!1&&!BA.has(n))return i(`Invalid option value "false" for rule "${n}". Are you trying to disable this rule? If so use "null" instead`);if(t===null||Ew(t,[null]))return;let o=e==null||Array.isArray(e)&&e.length===0||Cr(e)&&Object.keys(e).length===0;if(!(o&&t===!0)){if(t===void 0){if(o||r)return;i(`Expected option value for rule "${n}"`);return}if(o){if(r){i(`Incorrect configuration for rule "${n}". Rule should have "possible" values for options validation`);return}i(`Unexpected option value ${po(t)} for rule "${n}"`);return}if(typeof e=="function"){e(t)||i(`Invalid option ${po(t)} for rule "${n}"`);return}if(Array.isArray(e)){for(let a of[t].flat())px(e,a)||i(`Invalid option value ${po(a)} for rule "${n}"`);return}if(!Cr(t)||typeof t!="object"||t===null){i(`Invalid option value ${po(t)} for rule "${n}": should be an object`);return}for(let[a,s]of Object.entries(t)){if($A.has(a))continue;let l=e&&e[a];if(!l){i(`Invalid option name "${a}" for rule "${n}"`);continue}for(let u of[s].flat())px(l,u)||i(`Invalid value ${po(u)} for option "${a}" of rule "${n}"`)}}}function px(e,t){for(let r of[e].flat())if(typeof r=="function"&&r(t)||t===r)return!0;return!1}function po(e){return typeof e=="string"?`"${e}"`:`"${JSON.stringify(e)}"`}var $A,BA,D=y(()=>{Pw(),q(),$A=new Set(["severity","message","url","reportDisables","disableFix"]),BA=new Set(["reportDescriptionlessDisables","reportInvalidScopeDisables","reportNeedlessDisables","reportUnscopedDisables"])}),qA={};A(qA,{default:()=>WA});function gB(e){let t=Number(e);return`${Number((t*100).toPrecision(3))}%`}function bB(e){let t=Rc.default.unit(e);$e(t);let r=Number(t.number);return Number((r/100).toPrecision(3)).toString()}function vB(e){return e.type==="word"||e.type==="function"?e:void 0}function yB(e){if(e.nodes.some(({type:r,value:n})=>r==="div"&&n===",")){let r=e.nodes.filter(({type:n})=>n==="word"||n==="function");return r.length===4?r[3]:void 0}let t=e.nodes.findIndex(({type:r,value:n})=>r==="div"&&n==="/");if(t!==-1)return e.nodes.slice(t+1,e.nodes.length).find(En)}function mx(e){let t=Rc.default.unit(e);return t&&t.unit==="%"}function hx(e){let t=Rc.default.unit(e);return t&&t.unit===""}var Rc,mo,Yh,fx,gx,bx,vx,Gh,ho,WA,wB=y(()=>{Rc=X(ue(),1),q(),J(),We(),_e(),me(),K(),I(),j(),gt(),D(),mo="alpha-value-notation",Yh=O(mo,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),fx={url:"https://stylelint.io/user-guide/rules/alpha-value-notation",fixable:!0},gx=/^(?:opacity|shape-image-threshold|fill-opacity|flood-opacity|stop-opacity|stroke-opacity)$/i,bx=/(?:color|hsla?|rgba?|hwb|lab|lch|oklab|oklch)\(/i,vx=/^(?:color|hsla?|rgba?|hwb|lab|lch|oklab|oklch)$/i,Gh=/\d/,ho=(e,t)=>(r,n)=>{if(!T(n,mo,{actual:e,possible:["number","percentage"]},{actual:t,possible:{exceptProperties:[$,_]},optional:!0}))return;let i=Object.freeze({number:{expFunc:hx,fixFunc:bB},percentage:{expFunc:mx,fixFunc:gB}});r.walkDecls(o=>{let a=qe(o),s=gx.test(o.prop);if(!(s||bx.test(a))||!Gh.test(a))return;let l=(0,Rc.default)(a);l.walk(u=>{let c=s&&Gh.test(u.value),d=u.type==="function"&&vx.test(u.value),p=c?vB(u):d?yB(u):void 0;if(!p)return;let{value:m}=p;if(!Be(m)||!hx(m)&&!mx(m))return;let v=e;if(F(t,"exceptProperties",o.prop)&&(v==="number"?v="percentage":v==="percentage"&&(v="number")),i[v].expFunc(m))return;let h=i[v].fixFunc(m),b=m,g=ne(o)+p.sourceIndex,f=g+p.value.length,x=()=>{p.value=h,ft(o,l.toString())};P({message:Yh.expected,messageArgs:[b,h],node:o,index:g,endIndex:f,result:n,ruleName:mo,fix:{apply:x,node:o}})})})},ho.ruleName=mo,ho.messages=Yh,ho.meta=fx,WA=ho}),_A={};A(_A,{default:()=>UA});var yx,fo,Kh,wx,go,UA,kB=y(()=>{yx=X(ue(),1),q(),We(),_e(),K(),I(),j(),D(),fo="annotation-no-unknown",Kh=O(fo,{rejected:e=>`Unknown annotation "${e}"`}),wx={url:"https://stylelint.io/user-guide/rules/annotation-no-unknown"},go=(e,t)=>(r,n)=>{if(!T(n,fo,{actual:e},{actual:t,possible:{ignoreAnnotations:[$,_]},optional:!0}))return;r.walkDecls(i);function i(a){!Be(a.value)||a.important||!a.value.includes("!")||(0,yx.default)(qe(a)).walk(s=>{if(!o(s))return;let l=s.value,u=l.slice(1);F(t,"ignoreAnnotations",u)||P({message:Kh.rejected,messageArgs:[l],node:a,result:n,ruleName:fo,word:l})})}function o(a){return a.type==="word"&&a.value.startsWith("!")}},go.ruleName=fo,go.messages=Kh,go.meta=wx,UA=go});function Ze(e){return!(e.name.toLowerCase()==="charset"||!e.nodes&&e.params===""||"mixin"in e&&e.mixin||"variable"in e&&e.variable||!e.nodes&&e.raws.afterName===""&&e.params[0]==="(")}var et=y(()=>{}),VA={};A(VA,{default:()=>QA});var bo,Hh,kx,$n,QA,xB=y(()=>{q(),et(),Le(),I(),j(),D(),bo="at-rule-allowed-list",Hh=O(bo,{rejected:e=>`Disallowed at-rule "${e}"`}),kx={url:"https://stylelint.io/user-guide/rules/at-rule-allowed-list"},$n=e=>(t,r)=>{if(!T(r,bo,{actual:e,possible:[$,_]}))return;let n=[e].flat();t.walkAtRules(i=>{let o=i.name;if(!Ze(i)||Pe(o,n))return;let a=`@${o}`;P({message:Hh.rejected,messageArgs:[a],node:i,result:r,ruleName:bo,word:a})})},$n.primaryOptionArray=!0,$n.ruleName=bo,$n.messages=Hh,$n.meta=kx,QA=$n});function Ce(...e){return new Set([...e].reduce((t,r)=>[...t,...r],[]))}var ro=y(()=>{}),zv,$c,YA,Av,Nv,GA,no=y(()=>{ro(),zv=new Set(["document","nest","viewport"]),$c=new Set(["apply","container","layer","media","scope","starting-style","supports"]),YA=new Set(["mixin","scope"]),Av=new Set(["top-left-corner","top-left","top-center","top-right","top-right-corner","bottom-left-corner","bottom-left","bottom-center","bottom-right","bottom-right-corner","left-top","left-middle","left-bottom","right-top","right-middle","right-bottom"]),Nv=new Set(["annotation","character-variant","historical-forms","ornaments","styleset","stylistic","swash"]),GA=Ce(zv,$c,Av,Nv,["counter-style","custom-media","custom-selector","font-face","font-feature-values","font-palette-values","function","import","keyframes","namespace","page","position-try","property","scroll-timeline","view-transition"])}),KA,HA,XA,Ac,Ev,xx,JA,ZA,eN,tN,rN,nN,iN,Bc,Pv,Pr=y(()=>{KA=new Set(["animation","animation-name","font","font-family","counter-increment","grid-row","grid-column","grid-area","list-style","list-style-type"]),HA=new Set(["transition","transition-property","will-change"]),XA=new Map([["border",new Set(["border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width"])],["font",new Set(["font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-size-adjust","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings"])]]),Ac=new Map([["animation",new Set(["animation-name","animation-duration","animation-timing-function","animation-delay","animation-iteration-count","animation-direction","animation-fill-mode","animation-play-state"])],["background",new Set(["background-image","background-size","background-position","background-repeat","background-origin","background-clip","background-attachment","background-color"])],["border",new Set(["border-top-width","border-right-width","border-bottom-width","border-left-width","border-top-style","border-right-style","border-bottom-style","border-left-style","border-top-color","border-right-color","border-bottom-color","border-left-color","border-width","border-style","border-color"])],["border-block",new Set(["border-block-width","border-block-style","border-block-color"])],["border-block-end",new Set(["border-block-end-width","border-block-end-style","border-block-end-color"])],["border-block-start",new Set(["border-block-start-width","border-block-start-style","border-block-start-color"])],["border-bottom",new Set(["border-bottom-width","border-bottom-style","border-bottom-color"])],["border-color",new Set(["border-top-color","border-right-color","border-bottom-color","border-left-color"])],["border-image",new Set(["border-image-source","border-image-slice","border-image-width","border-image-outset","border-image-repeat"])],["border-inline",new Set(["border-inline-width","border-inline-style","border-inline-color"])],["border-inline-end",new Set(["border-inline-end-width","border-inline-end-style","border-inline-end-color"])],["border-inline-start",new Set(["border-inline-start-width","border-inline-start-style","border-inline-start-color"])],["border-left",new Set(["border-left-width","border-left-style","border-left-color"])],["border-radius",new Set(["border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius"])],["border-right",new Set(["border-right-width","border-right-style","border-right-color"])],["border-style",new Set(["border-top-style","border-right-style","border-bottom-style","border-left-style"])],["border-top",new Set(["border-top-width","border-top-style","border-top-color"])],["border-width",new Set(["border-top-width","border-right-width","border-bottom-width","border-left-width"])],["column-rule",new Set(["column-rule-width","column-rule-style","column-rule-color"])],["columns",new Set(["column-width","column-count"])],["flex",new Set(["flex-grow","flex-shrink","flex-basis"])],["flex-flow",new Set(["flex-direction","flex-wrap"])],["font",new Set(["font-style","font-variant","font-weight","font-stretch","font-size","line-height","font-family"])],["font-synthesis",new Set(["font-synthesis-weight","font-synthesis-style","font-synthesis-small-caps"])],["font-variant",new Set(["font-variant-ligatures","font-variant-position","font-variant-caps","font-variant-numeric","font-variant-alternates","font-variant-east-asian","font-variant-emoji"])],["gap",new Set(["row-gap","column-gap"])],["grid",new Set(["grid-template-rows","grid-template-columns","grid-template-areas","grid-auto-rows","grid-auto-columns","grid-auto-flow","grid-column-gap","grid-row-gap"])],["grid-area",new Set(["grid-row-start","grid-column-start","grid-row-end","grid-column-end"])],["grid-column",new Set(["grid-column-start","grid-column-end"])],["grid-gap",new Set(["grid-row-gap","grid-column-gap"])],["grid-row",new Set(["grid-row-start","grid-row-end"])],["grid-template",new Set(["grid-template-columns","grid-template-rows","grid-template-areas"])],["inset",new Set(["top","right","bottom","left"])],["inset-block",new Set(["inset-block-start","inset-block-end"])],["inset-inline",new Set(["inset-inline-start","inset-inline-end"])],["list-style",new Set(["list-style-type","list-style-position","list-style-image"])],["margin",new Set(["margin-top","margin-right","margin-bottom","margin-left"])],["margin-block",new Set(["margin-block-start","margin-block-end"])],["margin-inline",new Set(["margin-inline-start","margin-inline-end"])],["mask",new Set(["mask-image","mask-mode","mask-position","mask-size","mask-repeat","mask-origin","mask-clip","mask-composite"])],["outline",new Set(["outline-color","outline-style","outline-width"])],["overflow",new Set(["overflow-x","overflow-y"])],["overscroll-behavior",new Set(["overscroll-behavior-x","overscroll-behavior-y"])],["padding",new Set(["padding-top","padding-right","padding-bottom","padding-left"])],["padding-block",new Set(["padding-block-start","padding-block-end"])],["padding-inline",new Set(["padding-inline-start","padding-inline-end"])],["place-content",new Set(["align-content","justify-content"])],["place-items",new Set(["align-items","justify-items"])],["place-self",new Set(["align-self","justify-self"])],["scroll-margin",new Set(["scroll-margin-top","scroll-margin-right","scroll-margin-bottom","scroll-margin-left"])],["scroll-margin-block",new Set(["scroll-margin-block-start","scroll-margin-block-end"])],["scroll-margin-inline",new Set(["scroll-margin-inline-start","scroll-margin-inline-end"])],["scroll-padding",new Set(["scroll-padding-top","scroll-padding-right","scroll-padding-bottom","scroll-padding-left"])],["scroll-padding-block",new Set(["scroll-padding-block-start","scroll-padding-block-end"])],["scroll-padding-inline",new Set(["scroll-padding-inline-start","scroll-padding-inline-end"])],["text-decoration",new Set(["text-decoration-line","text-decoration-style","text-decoration-color","text-decoration-thickness"])],["text-emphasis",new Set(["text-emphasis-style","text-emphasis-color"])],["transition",new Set(["transition-property","transition-duration","transition-timing-function","transition-delay"])]]),Ev=new Set(["accent-color","background-color","border-block-color","border-block-end-color","border-block-start-color","border-bottom-color","border-inline-color","border-inline-end-color","border-inline-start-color","border-left-color","border-right-color","border-top-color","caret-color","color","column-rule-color","outline-color","text-decoration-color","text-emphasis-color","flood-color","lighting-color","stop-color"]),xx=new Set(["border-color","scrollbar-color"]),JA=new Set([...Ev,...xx]),ZA=new Set(["transition-duration","transition-delay","animation-duration","animation-delay"]),eN=new Set(["transition","animation"]),tN=new Set(["direction","background-color","background-image","background-repeat","background-attachment","background-position","background","border-top-width","border-right-width","border-bottom-width","border-left-width","border-width","border-top-color","border-right-color","border-bottom-color","border-left-color","border-color","border-top-style","border-right-style","border-bottom-style","border-left-style","border-style","border-top","border-right","border-bottom","border-left","border","counter-reset","counter-increment","color","font-family","font-size","font-style","font-variant","font-weight","font","height","min-height","max-height","line-height","margin-top","margin-right","margin-bottom","margin-left","margin","outline-width","outline-style","outline-color","outline","padding-top","padding-right","padding-bottom","padding-left","padding","quotes","letter-spacing","text-align","text-decoration","text-indent","text-transform","white-space","word-spacing","visibility","width","min-width","max-width"]),rN=new Set(["direction","unicode-bidi","background-color","background-image","background-repeat","background-attachment","background-position","background","border-top-width","border-right-width","border-bottom-width","border-left-width","border-width","border-top-color","border-right-color","border-bottom-color","border-left-color","border-color","border-top-style","border-right-style","border-bottom-style","border-left-style","border-style","border-top","border-right","border-bottom","border-left","border","counter-reset","counter-increment","content","color","font-family","font-size","font-style","font-variant","font-weight","font","height","min-height","max-height","line-height","margin-top","margin-right","margin-bottom","margin-left","margin","outline-width","outline-style","outline-color","outline","overflow","padding-top","padding-right","padding-bottom","padding-left","padding","quotes","letter-spacing","text-align","text-decoration","text-indent","text-transform","white-space","word-spacing","vertical-align","visibility","width","min-width","max-width","z-index"]),nN=new Set(["accelerator","alt","animation-trigger-behavior","animation-trigger-exit-range","animation-trigger-exit-range-end","animation-trigger-exit-range-start","animation-trigger-range","animation-trigger-range-end","animation-trigger-range-start","animation-trigger-timeline","app-region","audio-level","buffered-rendering","chains","color-profile","color-rendering","column-progression","column-rule-outset","display-align","elevation","enable-background","epub-caption-side","epub-hyphens","epub-text-combine","epub-text-emphasis","epub-text-emphasis-color","epub-text-emphasis-style","epub-text-orientation","epub-text-transform","epub-word-break","epub-writing-mode","flow","input-format","inset-area","item-slack","layout-flow","layout-grid","layout-grid-char","layout-grid-line","layout-grid-mode","layout-grid-type","line-increment","marker-knockout-left","marker-knockout-right","marker-offset","marker-pattern","marker-segment","mask-position-x","mask-position-y","mask-source-type","motion","motion-offset","motion-path","motion-rotation","nav-down","nav-index","nav-left","nav-right","nav-up","navigation","offset-block-end","offset-block-start","offset-inline-end","offset-inline-start","offset-rotation","pen-action","perspective-origin-x","perspective-origin-y","pitch","pitch-range","play-during","position-try-options","property-name","richness","row-rule-outset","rule-outset","rule-paint-order","running","scroll-snap-margin","scroll-snap-margin-bottom","scroll-snap-margin-left","scroll-snap-margin-right","scroll-snap-margin-top","scroll-start-target","scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-darkshadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","scrollbar3d-light-color","scrollbar3dlight-color","snap-height","solid-color","solid-opacity","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","supported-color-schemes","text-decoration-blink","text-decoration-line-through","text-decoration-none","text-decoration-overline","text-decoration-skip-inset","text-decoration-trim","text-decoration-underline","text-justify-trim","text-kashida","text-kashida-space","text-line-through","text-line-through-color","text-line-through-mode","text-line-through-style","text-line-through-width","text-overline","text-overline-color","text-overline-mode","text-overline-style","text-overline-width","text-underline","text-underline-color","text-underline-mode","text-underline-style","text-underline-width","touch-action-delay","transform-origin-x","transform-origin-y","transform-origin-z","uc-alt-skin","uc-skin","viewport-fill","viewport-fill-opacity","volume"]),iN=new Set(["-epub-text-combine","-internal-text-autosizing-status","-wap-accesskey","-webkit-alt","-webkit-app-region","-webkit-background-composite","-moz-background-inline-policy","-khtml-binding","-webkit-border-after-color","-webkit-border-after-style","-webkit-border-after","-webkit-border-after-width","-moz-border-end-color","-webkit-border-end-color","-moz-border-end","-moz-border-end-style","-webkit-border-end-style","-webkit-border-end","-moz-border-end-width","-webkit-border-end-width","-webkit-border-fit","-khtml-border-horizontal-spacing","-webkit-border-horizontal-spacing","-moz-border-start-color","-webkit-border-start-color","-moz-border-start","-moz-border-start-style","-webkit-border-start-style","-webkit-border-start","-moz-border-start-width","-webkit-border-start-width","-khtml-border-vertical-spacing","-webkit-border-vertical-spacing","-khtml-box-flex-group-transition","-webkit-color-correction","-apple-color-filter","-webkit-column-axis","-webkit-column-progression","-webkit-composition-fill-color","-webkit-composition-frame-color","-webkit-cursor-visibility","-apple-dashboard-region","-khtml-dashboard-region","-webkit-dashboard-region","-webkit-flex-align","-webkit-flex-item-align","-webkit-flex-line-pack","-webkit-flex-order","-webkit-flex-pack","-khtml-flow-mode","-konq-flow-mode","-khtml-font-size-delta","-webkit-font-size-delta","-webkit-grid-after","-webkit-grid-before","-ms-grid-column-span","-webkit-grid-columns","-webkit-grid-end","-ms-grid-row-span","-webkit-grid-rows","-webkit-grid-start","-webkit-highlight","-khtml-horizontal-border-spacing","-webkit-hyphenate-limit-after","-webkit-hyphenate-limit-before","-wap-input-format","-wap-input-required","-konq-js-clip","-webkit-line-align","-webkit-line-box-contain","-webkit-line-grid-snap","-o-link","-o-link-source","-webkit-locale","-webkit-logical-height","-webkit-logical-width","-webkit-margin-after-collapse","-webkit-margin-after","-webkit-margin-before-collapse","-webkit-margin-before","-khtml-margin-bottom-collapse","-webkit-margin-bottom-collapse","-khtml-margin-collapse","-webkit-margin-collapse","-moz-margin-end","-webkit-margin-end","-khtml-margin-start","-moz-margin-start","-webkit-margin-start","-khtml-margin-top-collapse","-webkit-margin-top-collapse","-wap-marquee-dir","-khtml-marquee-direction","-webkit-marquee-direction","-khtml-marquee-increment","-webkit-marquee-increment","-khtml-marquee","-wap-marquee-loop","-khtml-marquee-repetition","-webkit-marquee-repetition","-khtml-marquee-speed","-wap-marquee-speed","-webkit-marquee-speed","-khtml-marquee-style","-wap-marquee-style","-webkit-marquee-style","-webkit-marquee","-webkit-mask-box-image-outset","-webkit-mask-box-image-repeat","-webkit-mask-box-image-slice","-webkit-mask-box-image-source","-webkit-mask-box-image-width","-webkit-mask-source-type","-khtml-match-nearest-mail-blockquote-color","-webkit-match-nearest-mail-blockquote-color","-webkit-max-logical-height","-webkit-max-logical-width","-webkit-min-logical-height","-webkit-min-logical-width","-khtml-nbsp-mode","-webkit-nbsp-mode","-webkit-padding-after","-webkit-padding-before","-moz-padding-end","-webkit-padding-end","-khtml-padding-start","-moz-padding-start","-webkit-padding-start","-apple-pay-button-style","-apple-pay-button-type","-webkit-perspective-origin-x","-webkit-perspective-origin-y","-webkit-region-break-after","-webkit-region-break-before","-webkit-region-break-inside","-webkit-region-overflow","-khtml-rtl-ordering","-webkit-rtl-ordering","-webkit-svg-shadow","-o-table-baseline","-ms-text-combine-horizontal","-webkit-text-combine","-khtml-text-decorations-in-effect","-webkit-text-decorations-in-effect","-webkit-text-zoom","-apple-trailing-word","-webkit-transform-origin-x","-webkit-transform-origin-y","-webkit-transform-origin-z","-khtml-user-drag","-khtml-user-modify","-khtml-vertical-border-spacing","-webkit-widget-region","-webkit-wrap-margin","-webkit-wrap-padding","-webkit-wrap-shape-inside","-webkit-wrap-shape-outside","-webkit-wrap"]),Bc=new Map([["margin-left","margin-inline-start"],["margin-right","margin-inline-end"],["margin-top","margin-block-start"],["margin-bottom","margin-block-end"],["padding-left","padding-inline-start"],["padding-right","padding-inline-end"],["padding-top","padding-block-start"],["padding-bottom","padding-block-end"],["border-left","border-inline-start"],["border-right","border-inline-end"],["border-top","border-block-start"],["border-bottom","border-block-end"],["border-left-width","border-inline-start-width"],["border-right-width","border-inline-end-width"],["border-top-width","border-block-start-width"],["border-bottom-width","border-block-end-width"],["border-left-style","border-inline-start-style"],["border-right-style","border-inline-end-style"],["border-top-style","border-block-start-style"],["border-bottom-style","border-block-end-style"],["border-left-color","border-inline-start-color"],["border-right-color","border-inline-end-color"],["border-top-color","border-block-start-color"],["border-bottom-color","border-block-end-color"],["left","inset-inline-start"],["right","inset-inline-end"],["top","inset-block-start"],["bottom","inset-block-end"],["width","inline-size"],["height","block-size"],["min-width","min-inline-size"],["min-height","min-block-size"],["max-width","max-inline-size"],["max-height","max-block-size"],["scroll-margin-left","scroll-margin-inline-start"],["scroll-margin-right","scroll-margin-inline-end"],["scroll-margin-top","scroll-margin-block-start"],["scroll-margin-bottom","scroll-margin-block-end"],["scroll-padding-left","scroll-padding-inline-start"],["scroll-padding-right","scroll-padding-inline-end"],["scroll-padding-top","scroll-padding-block-start"],["scroll-padding-bottom","scroll-padding-block-end"],["border-top-left-radius","border-start-start-radius"],["border-top-right-radius","border-start-end-radius"],["border-bottom-left-radius","border-end-start-radius"],["border-bottom-right-radius","border-end-end-radius"],["overflow-x","overflow-inline"],["overflow-y","overflow-block"],["overscroll-behavior-x","overscroll-behavior-inline"],["overscroll-behavior-y","overscroll-behavior-block"],["contain-intrinsic-width","contain-intrinsic-inline-size"],["contain-intrinsic-height","contain-intrinsic-block-size"]]),Pv=new Set([...Bc.values(),"margin-inline","margin-block","padding-inline","padding-block","border-inline","border-block","border-inline-width","border-block-width","border-inline-style","border-block-style","border-inline-color","border-block-color","inset","inset-inline","inset-block","scroll-margin-inline","scroll-margin-block","scroll-padding-inline","scroll-padding-block"])}),oN,SB=y(()=>{oN=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","script","search","section","select","selectedcontent","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]}),CB=y(()=>{SB()}),mm,Sx,Cx,aN,Iw,sN,qc,Iv,hm,zx,fm,rh,Wc,_c,$i,lN,Ov,jv,Tv,gm,Ax,Dv,Nx,uN,Tt=y(()=>{CB(),ro(),mm=new Set(["acronym","applet","basefont","big","bgsound","blink","center","content","dir","font","frame","frameset","isindex","keygen","listing","marquee","menuitem","multicol","nextid","nobr","noembed","noframes","plaintext","param","popup","rb","rtc","selectmenu","shadow","spacer","strike","tt","xmp"]),Sx=new Set(oN),Cx=new Set(["fencedframe","listbox","model","portal","selectedcontent","selectlist","geolocation","usermedia"]),aN=Ce(mm,Sx,Cx),Iw=new Set(["altGlyph","altGlyphDef","altGlyphItem","cursor","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","glyph","glyphRef","hatchPath","hkern","missing-glyph","tref","vkern"]),sN=new Set(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","hatchPath","linearGradient","radialGradient","textPath"]),qc=new Set(["before","after","first-line","first-letter"]),Iv=new Set(["part"]),hm=new Set(["-webkit-resizer","-webkit-scrollbar","-webkit-scrollbar-button","-webkit-scrollbar-corner","-webkit-scrollbar-thumb","-webkit-scrollbar-track","-webkit-scrollbar-track-piece"]),zx=Ce(hm,["-moz-focus-inner","-moz-focus-outer","-moz-list-bullet","-moz-meter-bar","-moz-placeholder","-moz-progress-bar","-moz-range-progress","-moz-range-thumb","-moz-range-track","-ms-browse","-ms-check","-ms-clear","-ms-expand","-ms-fill","-ms-fill-lower","-ms-fill-upper","-ms-reveal","-ms-thumb","-ms-ticks-after","-ms-ticks-before","-ms-tooltip","-ms-track","-ms-value","-webkit-color-swatch","-webkit-color-swatch-wrapper","-webkit-calendar-picker-indicator","-webkit-clear-button","-webkit-date-and-time-value","-webkit-datetime-edit","-webkit-datetime-edit-ampm-field","-webkit-datetime-edit-day-field","-webkit-datetime-edit-fields-wrapper","-webkit-datetime-edit-hour-field","-webkit-datetime-edit-millisecond-field","-webkit-datetime-edit-minute-field","-webkit-datetime-edit-month-field","-webkit-datetime-edit-second-field","-webkit-datetime-edit-text","-webkit-datetime-edit-week-field","-webkit-datetime-edit-year-field","-webkit-details-marker","-webkit-distributed","-webkit-file-upload-button","-webkit-input-placeholder","-webkit-keygen-select","-webkit-meter-bar","-webkit-meter-even-less-good-value","-webkit-meter-inner-element","-webkit-meter-optimum-value","-webkit-meter-suboptimum-value","-webkit-meter-horizontal-bar","-webkit-meter-horizontal-optimum-value","-webkit-meter-horizontal-suboptimal-value","-webkit-meter-horizontal-even-less-good-value","-webkit-meter-vertical-bar","-webkit-meter-vertical-optimum-value","-webkit-meter-vertical-suboptimal-value","-webkit-meter-vertical-even-less-good-value","-webkit-progress-bar","-webkit-progress-inner-element","-webkit-progress-value","-webkit-search-cancel-button","-webkit-search-decoration","-webkit-search-results-button","-webkit-search-results-decoration","-webkit-slider-runnable-track","-webkit-slider-thumb","-webkit-textfield-decoration-container","-webkit-validation-bubble","-webkit-validation-bubble-arrow","-webkit-validation-bubble-arrow-clipper","-webkit-validation-bubble-heading","-webkit-validation-bubble-message","-webkit-validation-bubble-text-block"]),fm=new Set(["content","shadow"]),rh=Ce(qc,zx,Iv,fm,["backdrop","checkmark","clear-icon","color-swatch","cue","details-content","field-component","field-separator","field-text","file-selector-button","grammar-error","highlight","marker","picker-icon","picker","placeholder","scroll-button","scroll-marker-group","scroll-marker","search-text","selection","slider-fill","slider-thumb","slider-track","slotted","spelling-error","step-control","step-down","step-up","target-text","view-transition-group","view-transition-image-pair","view-transition-new","view-transition-old","view-transition"]),Wc=new Set(["0%","100%"]),_c=new Set(["nth-column","nth-last-column","nth-last-of-type","nth-of-type"]),$i=new Set(["nth-child","nth-last-child"]),lN=new Set(["first","right","left","blank","recto","verso","nth"]),Ov=new Set(["dir","lang"]),jv=new Set(["ltr","rtl"]),Tv=new Set(["has","is","matches","not","where"]),gm=new Set(["-moz-any","-webkit-any","contains","drop","focus-ring","fullscreen-ancestor","matches","popup-open","top-layer","user-error"]),Ax=new Set(["-khtml-drag","-moz-any","-moz-any-link","-moz-bound-element","-moz-broken","-moz-dir","-moz-drag-over","-moz-empty-except-children-with-localname","-moz-first-node","-moz-focusring","-moz-full-screen","-moz-full-screen-ancestor","-moz-is-html","-moz-last-node","-moz-loading","-moz-meter-optimum","-moz-meter-sub-optimum","-moz-meter-sub-sub-optimum","-moz-only-whitespace","-moz-placeholder","-moz-read-only","-moz-read-write","-moz-submit-invalid","-moz-suppressed","-moz-table-border-nonzero","-moz-ui-invalid","-moz-ui-valid","-moz-user-disabled","-moz-window-inactive","-ms-fullscreen","-ms-input-placeholder","-webkit-drag","-webkit-any","-webkit-any-link","-webkit-autofill","-webkit-full-screen","-webkit-full-screen-ancestor"]),Dv=new Set(["horizontal","vertical","decrement","increment","start","end","double-button","single-button","no-button","corner-present","window-inactive"]),Nx=new Set(["buffering","muted","paused","playing","seeking","stalled","volume-locked"]),uN=Ce(_c,Ov,Tv,$i,Nx,Ax,gm,["active-view-transition-type","active-view-transition","active","any-link","autofill","blank","checked","current","default","defined","disabled","empty","enabled","even-less-good-value","first-child","first-of-type","focus-visible","focus-within","focus","fullscreen","future","has-slotted","heading","high-value","host-context","host","hover","in-range","indeterminate","invalid","last-child","last-of-type","link","low-value","modal","only-child","only-of-type","open","optimal-value","optional","out-of-range","past","picture-in-picture","placeholder-shown","popover-open","read-only","read-write","required","root","scope","state","suboptimal-value","target","unchecked","unresolved","user-invalid","user-valid","valid","visited","window-inactive"])}),cN,Lv,Fv,Ow,bm,Mv,jw,Uc,vm,Tw,Dw,Ex,io,Ir=y(()=>{cN=new Set(["translateX","translateY","translateZ","scaleX","scaleY","scaleZ","rotateX","rotateY","rotateZ","skewX","skewY"]),Lv=new Set(["hsl","hsla","hwb"]),Fv=new Set(["lch","oklch"]),Ow=new Set([...Lv,...Fv]),bm=new Set(["oklab","oklch"]),Mv=new Set(["lab","lch"]),jw=new Set([...bm,...Mv]),Uc=new Set(["hsla","rgba"]),vm=new Set(["hsl","rgb"]),Tw=new Set([...Uc,...vm]),Dw=new Set(["color","color-contrast","color-mix","contrast-color","device-cmyk","hsl","hsla","hwb","lab","lch","light-dark","oklab","oklch","rgb","rgba"]),Ex=new Set(["abs","acos","asin","atan","calc","cos","exp","sign","sin","sqrt","tan"]),io=new Set([...Ex,"atan2","calc-size","clamp","hypot","log","max","min","mod","pow","rem","round"])}),Te,Lw,Fw,dN,Mw,pN,Zr,Px,Ix,Ox,mN,ym,jx,wm,Tx,hN,Dx,Lx,Fx,Mx,km,Rx,Rw,Vc,$x,Bx,qx,Wx,_x,$w,fN,gN,bN,vN,yN,xm,Ux,Vx,wN,kN,Bi,xN,Qx,Yx,SN,Qc,yn,CN,Ke=y(()=>{ro(),Te=new Set(["initial","inherit","revert","revert-layer","unset"]),Lw=new Set(["block","inline","run-in"]),Fw=new Set(["flow","flow-root","table","flex","grid","ruby"]),dN=new Set(["inline-block","inline-table","inline-flex","inline-grid"]),Mw=new Set(["list-item"]),pN=Ce(Te,["caption","icon","menu","message-box","small-caption","status-bar"]),Zr=Ce(Te,["serif","sans-serif","cursive","fantasy","monospace","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","emoji","math","fangsong"]),Px=new Set(["-apple-system","-apple-system-headline","-apple-system-body","-apple-system-subheadline","-apple-system-footnote","-apple-system-caption1","-apple-system-caption2","-apple-system-short-headline","-apple-system-short-body","-apple-system-short-subheadline","-apple-system-short-footnote","-apple-system-short-caption1","-apple-system-tall-body","-apple-system-title0","-apple-system-title1","-apple-system-title2","-apple-system-title3","-apple-system-title4"]),Ix=new Set(["-moz-button","-moz-desktop","-moz-dialog","-moz-document","-moz-field","-moz-fixed","-moz-info","-moz-list","-moz-pull-down-menu","-moz-window","-moz-workspace"]),Ox=new Set(["-webkit-body","-webkit-control","-webkit-mini-control","-webkit-pictograph","-webkit-small-control","-webkit-standard"]),mN=Ce(Px,Ix,Ox),ym=new Set(["bolder","lighter"]),jx=new Set(["normal","bold"]),wm=Ce(ym,jx),Tx=new Set(["100","200","300","400","500","600","700","800","900"]),hN=new Set(["400","700"]),Dx=Ce(Te,wm,Tx),Lx=Ce(Te,["normal","italic","oblique"]),Fx=Ce(Te,["normal","none","small-caps"]),Mx=Ce(Te,["semi-condensed","condensed","extra-condensed","ultra-condensed","semi-expanded","expanded","extra-expanded","ultra-expanded"]),km=Ce(Te,["xx-small","x-small","small","medium","large","x-large","xx-large","xxx-large","larger","smaller","math","-konq-xxx-large","-webkit-xxx-large"]),Rx=Ce(Te,["normal"]),Rw=Ce(Te,Lx,Fx,Dx,Mx,km,Rx,Zr),Vc=Ce(Te,["none"]),$x=Ce(Te,["linear","ease","ease-in","ease-in-out","ease-out","step-start","step-end","steps","cubic-bezier"]),Bx=new Set(["infinite"]),qx=Ce(Te,["normal","reverse","alternate","alternate-reverse"]),Wx=new Set(["none","forwards","backwards","both"]),_x=Ce(Te,["running","paused"]),$w=Ce(Te,Vc,$x,Bx,qx,Wx,_x),fN=Ce(Te,["auto","span"]),gN=Ce(Te,["auto","span"]),bN=Ce(Te,["auto","span"]),vN=Ce(Te,["none"]),yN=Ce(Te,["none"]),xm=Ce(Te,["none","disc","circle","square","decimal","decimal-leading-zero","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","lower-alpha","upper-alpha","lower-armenian","upper-armenian","lower-greek","upper-greek","lower-hexadecimal","upper-hexadecimal","lower-latin","upper-latin","lower-norwegian","upper-norwegian","lower-roman","upper-roman","afar","amharic","amharic-abegede","arabic-indic","armenian","bengali","cambodian","devanagari","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","georgian","gujarati","gurmukhi","hangul","hangul-consonant","hebrew","hiragana","hiragana-iroha","japanese-formal","japanese-informal","kannada","katakana","katakana-iroha","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","lao","malayalam","mongolian","myanmar","oriya","oromo","persian","sidama","somali","simp-chinese-formal","simp-chinese-informal","tamil","telugu","thai","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","trad-chinese-formal","trad-chinese-informal","urdu","disclosure-open","disclosure-closed","asterisks","binary","footnotes","octal"]),Ux=Ce(Te,["inside","outside"]),Vx=Ce(Te,["none"]),wN=Ce(Te,xm,Ux,Vx),kN=new Set(["optimizeSpeed","optimizeQuality","optimizeLegibility","geometricPrecision","currentColor","crispEdges","visiblePainted","visibleFill","visibleStroke","sRGB","linearRGB"]),Bi=new Set(["from","to"]),xN=new Set(["contain","cover","entry","entry-crossing","exit","exit-crossing"]),Qx=new Set(["-moz-buttondefault","-moz-buttonhoverface","-moz-buttonhovertext","-moz-cellhighlight","-moz-cellhighlighttext","-moz-combobox","-moz-comboboxtext","-moz-dialog","-moz-dialogtext","-moz-dragtargetzone","-moz-eventreerow","-moz-field","-moz-fieldtext","-moz-html-cellhighlight","-moz-html-cellhighlighttext","-moz-mac-accentdarkestshadow","-moz-mac-accentdarkshadow","-moz-mac-accentface","-moz-mac-accentlightesthighlight","-moz-mac-accentlightshadow","-moz-mac-accentregularhighlight","-moz-mac-accentregularshadow","-moz-mac-chrome-active","-moz-mac-chrome-inactive","-moz-mac-focusring","-moz-mac-menuselect","-moz-mac-menushadow","-moz-mac-menutextselect","-moz-menubarhovertext","-moz-menubartext","-moz-menuhover","-moz-menuhovertext","-moz-nativehyperlinktext","-moz-oddtreerow","-moz-win-accentcolor","-moz-win-accentcolortext","-moz-win-communicationstext","-moz-win-mediatext","-ms-hotlight"]),Yx=new Set(["activeborder","activecaption","appworkspace","background","buttonhighlight","buttonshadow","captiontext","inactiveborder","inactivecaption","inactivecaptiontext","infobackground","infotext","menu","menutext","scrollbar","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","window","windowframe","windowtext"]),SN=Ce(Qx,Yx,["accentcolor","accentcolortext","activetext","buttonborder","buttonface","buttontext","canvas","canvastext","field","fieldtext","graytext","highlight","highlighttext","linktext","mark","marktext","selecteditem","selecteditemtext","visitedtext"]),Qc=new Set(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","green","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"]),yn=new Map([["caption-side",new Map([["top","block-start"],["bottom","block-end"]])],["clear",new Map([["left","inline-start"],["right","inline-end"]])],["float",new Map([["left","inline-start"],["right","inline-end"]])],["offset-anchor",new Map([["top","block-start"],["bottom","block-end"],["left","inline-start"],["right","inline-end"]])],["offset-position",new Map([["top","block-start"],["bottom","block-end"],["left","inline-start"],["right","inline-end"]])],["resize",new Map([["horizontal","inline"],["vertical","block"]])],["text-align",new Map([["left","start"],["right","end"]])],["text-align-last",new Map([["left","start"],["right","end"]])]]),CN=new Map([...yn].map(([e,t])=>[e,new Set(t.values())]))}),qi,Rv,Yc,Bw,zN,oo=y(()=>{ro(),qi=new Set(["cap","ch","em","ex","ic","lh","rcap","rch","rem","rex","ric","rlh","dvb","dvh","dvi","dvmax","dvmin","dvw","lvb","lvh","lvi","lvmax","lvmin","lvw","svb","svh","svi","svmax","svmin","svw","vb","vh","vi","vw","vmin","vmax","vm","px","mm","cm","in","pt","pc","q","mozmm","fr","cqw","cqh","cqi","cqb","cqmin","cqmax"]),Rv=new Set(["dpi","dpcm","dppx","x"]),Yc=new Map([["vw",{horizontalInline:"vi",verticalInline:"vb"}],["vh",{horizontalInline:"vb",verticalInline:"vi"}],["svw",{horizontalInline:"svi",verticalInline:"svb"}],["svh",{horizontalInline:"svb",verticalInline:"svi"}],["lvw",{horizontalInline:"lvi",verticalInline:"lvb"}],["lvh",{horizontalInline:"lvb",verticalInline:"lvi"}],["dvw",{horizontalInline:"dvi",verticalInline:"dvb"}],["dvh",{horizontalInline:"dvb",verticalInline:"dvi"}],["cqw",{horizontalInline:"cqi",verticalInline:"cqb"}],["cqh",{horizontalInline:"cqb",verticalInline:"cqi"}]]),Bw=new Set([...Yc.values()].flatMap(Object.values)),zN=Ce(qi,Rv,["%","s","ms","deg","grad","turn","rad","Hz","kHz"])}),qw,AN=y(()=>{qw=new Set(["aural","braille","embossed","handheld","projection","speech","tty","tv"])}),NN,zB=y(()=>{NN=new Set(["-webkit-","-moz-","-ms-","-o-","-xv-","-apple-","-wap-","-khtml-"])}),Gx,Se,EN,dr,Q,V=y(()=>{Tt(),Ir(),Ke(),oo(),Pr(),AN(),no(),zB(),Gx=[..._c.values(),...$i.values()].join("|"),Se={containerName:/^container$/i,customMediaName:/^custom-media$/i,importName:/^import$/i,keyframesName:/^(-(o|moz|ms|webkit)-)?keyframes$/i,layerName:/^layer$/i,mediaName:/^media$/i,pageName:/^page$/i,propertyName:/^property$/i,scopeName:/^scope$/i,unsupportedNestingNames:new RegExp(`^((?!${[...$c.values()].join("|")}).)*$`,"i")},EN={syntaxName:/^syntax$/i},dr={propertyAcceptingNames:new RegExp(`^(?:${[...HA].join("|")})$`,"i"),containerNameAndShorthandName:/^container(-name)?$/i,custom:/^--/,fontFamilyAndShorthandName:/^font(-family)?$/i,fontWeightAndShorthandName:/^font(-weight)?$/i,gridAreaNames:/^(?:grid|grid-template|grid-template-areas)$/i,layoutMappings:new RegExp(`^(?:${[...yn.keys()].join("|")})$`,"i")},Q={aNPlusBNotationPseudoClass:new RegExp(`\\b:(?:${Gx})\\(`,"i"),annotation:/!/,attributeSelector:/\[/,attributeSelectorWithOperator:/\[.*=/,axisUnit:new RegExp(`\\d(?:${[...Yc.keys(),...Bw].join("|")})\\b`,"i"),classSelector:/\./,colorFunction:new RegExp(`\\b(?:${[...Dw.values()].join("|")})\\(`,"i"),legacyNotationColorFunction:new RegExp(`\\b(?:${[...Tw.values()].join("|")})\\(`,"i"),combinator:/[>+~\s]/,customProperty:/--/,deprecatedMediaType:new RegExp(`\\b(?:${[...qw].join("|")})\\b`,"i"),deprecatedPseudo:new RegExp(`\\:(?:${[...gm,...fm].join("|")})\\b`,"i"),deprecatedTypeSelector:new RegExp(`\\b(?:${[...mm,...Iw].join("|")})\\b`,"i"),displayKeyword:new RegExp(`\\b(?:${[...Mw,...Lw,...Fw,...dN].join("|")})\\b`,"i"),dimension:/\d[%\w-]/,dirPseudoClass:/:dir\(/i,grayFunction:/\bgray\(/i,hexColor:/#[\da-z]+/i,hueColorFunction:new RegExp(`\\b(?:${[...Ow.values()].join("|")})\\(`,"i"),lightnessColorFunction:new RegExp(`\\b(?:${[...jw.values()].join("|")})\\(`,"i"),idClassAttributeSelector:/[#.[]/,idSelector:/#/,keyword:/(?<![0-9])[a-z]+(?!\()/i,layerFunction:/\blayer\(/i,layoutFlowRelativeKeyword:new RegExp(`\\b(?:${[...new Set([...yn.values()].flatMap(e=>[...e.values()]))].join("|")})\\b`,"i"),layoutPhysicalKeyword:new RegExp(`\\b(?:${[...new Set([...yn.values()].flatMap(e=>[...e.keys()]))].join("|")})\\b`,"i"),mathFunction:new RegExp(`\\b(?:${[...io.values()].join("|")})\\(`,"i"),namedFontWeight:new RegExp(`\\b(?:${[...new Set([...wm,...ym])].join("|")})\\b`,"i"),numericFontWeight:new RegExp(`\\b(?:${[...hN.values()].join("|")})\\b`),namedKeyframeSelectorWithPercentageEquivalent:new RegExp(`\\b(?:${[...Bi.values()].join("|")})\\b`,"i"),percentageKeyframeSelectorWithNamedEquivalent:new RegExp(`(?:^|[,\\s])(?:${[...Wc.values()].join("|")})`),multipleValues:/\s|,/,namedColor:new RegExp(`\\b(?:${[...Qc.values()].join("|")})\\b`,"i"),nestingSelector:/&/,notPseudoClass:/:not\(/i,operator:/[+-]/,prefix:new RegExp(`(?:${[...NN].join("|")})`,"i"),pseudo:/:/,pseudoElement:/::/,time:/\dm?s/i,typeSelector:/(?:[^.#[:a-z-]|^)[a-z]/i,universalSelector:/\*/,urlFunction:/\burl\(/i,validHex:/#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})(?:$|[^\da-f])/i,varFunction:/\bvar\(/i,withAlphaAliasColorFunction:new RegExp(`\\b(?:${[...Uc.values()].join("|")})\\(`,"i"),withoutAlphaAliasColorFunction:new RegExp(`\\b(?:${[...vm.values()].join("|")})\\(`,"i"),zeroLength:new RegExp(`\\b[+-]?(?:0+|0*\\.\\d+)(?:${[...qi.values()].join("|")})\\b`,"i")}});function PN(e){return!!(e.startsWith("$")||e.includes(".$"))}var IN=y(()=>{});function ut(e){let t=e.prop,r=e.parent;return!(PN(t)||t[0]==="@"&&t[1]!=="{"||r&&r.type==="atrule"&&r.raws.afterName===":"||r&&it(r)&&r.selector&&r.selector.startsWith("#")&&r.selector.endsWith("()")||r&&it(r)&&r.selector&&r.selector[r.selector.length-1]===":"&&r.selector.substring(0,2)!=="--"||"extend"in e&&e.extend)}var ct=y(()=>{me(),IN()}),ON={};A(ON,{default:()=>jN});function AB(e,t){return e.name.toLowerCase()!=="font-feature-values"?!1:Nv.has(t.name.toLowerCase())}function NB(e,t,r){return e.name.toLowerCase()==="page"&&Av.has(r.name.toLowerCase())&&rN.has(t)}function EB(e,t){return e.name.toLowerCase()==="page"&&tN.has(t)}var vo,Xh,Kx,yo,jN,PB=y(()=>{no(),Pr(),V(),me(),et(),ct(),I(),j(),D(),vo="at-rule-descriptor-no-unknown",Xh=O(vo,{rejected:(e,t)=>`Unknown descriptor "${t}" for at-rule "${e}"`}),Kx={url:"https://stylelint.io/user-guide/rules/at-rule-descriptor-no-unknown"},yo=e=>(t,r)=>{if(!T(r,vo,{actual:e}))return;let n=r.stylelint.lexer;t.walkAtRules(Se.unsupportedNestingNames,i=>{Ze(i)&&i.walkDecls(o=>{if(!ut(o))return;let{prop:a,value:s,parent:l}=o;if(EB(i,a)||l&&Oe(l)&&(NB(i,a,l)||AB(i,l)))return;let{error:u}=n.matchAtruleDescriptor(i.name,a,s);if(!u||u.name!=="SyntaxReferenceError"||!u.message.startsWith("Unknown at-rule descriptor"))return;let c=`@${i.name}`;P({message:Xh.rejected,messageArgs:[c,a],node:o,index:0,endIndex:a.length,ruleName:vo,result:r})})})},yo.ruleName=vo,yo.messages=Xh,yo.meta=Kx,jN=yo}),TN={};A(TN,{default:()=>DN});var wo,Jh,Hx,ko,DN,IB=y(()=>{V(),J(),et(),ct(),I(),j(),D(),wo="at-rule-descriptor-value-no-unknown",Jh=O(wo,{rejected:(e,t)=>`Unknown value "${t}" for descriptor "${e}"`}),Hx={url:"https://stylelint.io/user-guide/rules/at-rule-descriptor-value-no-unknown"},ko=e=>(t,r)=>{if(!T(r,wo,{actual:e}))return;let n=r.stylelint.lexer;t.walkAtRules(Se.unsupportedNestingNames,i=>{Ze(i)&&i.walkDecls(o=>{if(!ut(o))return;let{prop:a,value:s}=o,{error:l}=n.matchAtruleDescriptor(i.name,a,s);if(!l||l.name!=="SyntaxMatchError")return;let u=ne(o),c=u+s.length;P({message:Jh.rejected,messageArgs:[a,s],node:o,index:u,endIndex:c,ruleName:wo,result:r})})})},ko.ruleName=wo,ko.messages=Jh,ko.meta=Hx,DN=ko}),LN={};A(LN,{default:()=>FN});var xo,Zh,Xx,Bn,FN,OB=y(()=>{q(),et(),Le(),I(),j(),D(),xo="at-rule-disallowed-list",Zh=O(xo,{rejected:e=>`Disallowed at-rule "${e}"`}),Xx={url:"https://stylelint.io/user-guide/rules/at-rule-disallowed-list"},Bn=e=>(t,r)=>{if(!T(r,xo,{actual:e,possible:[$,_]}))return;let n=[e].flat();t.walkAtRules(i=>{let o=i.name;if(!Ze(i)||!Pe(o,n))return;let a=`@${i.name}`;P({message:Zh.rejected,messageArgs:[a],node:i,result:r,ruleName:xo,word:a})})},Bn.primaryOptionArray=!0,Bn.ruleName=xo,Bn.messages=Zh,Bn.meta=Xx,FN=Bn});function jB(e,t){let{raws:r}=e;return typeof r.before!="string"||(r.before=/\r?\n/.test(r.before)?r.before.replace(/(\r?\n)/,`${t}$1`):t.repeat(2)+r.before),e}var TB=y(()=>{});function DB(e,t){return e.raws.before=e.raws.before?e.raws.before.replace(/(\r?\n\s*\n)+/g,t):"",e}var LB=y(()=>{});function dd({node:e,newline:t,action:r}){switch($e(t),r){case"add":jB(e,t);break;case"remove":DB(e,t);break;default:throw new TypeError(`Unknown action ${r}`)}}var pd=y(()=>{TB(),q(),LB()});function _d(e){return e.source&&e.source.start&&e.source.start.line}function $r(e){if(e===void 0)return;let t=e.prev();if(!t||t.type!=="comment")return t;if(_d(e)===_d(t))return $r(t);let r=t.prev();return r&&_d(t)===_d(r)?$r(t):t}var Pn=y(()=>{});function md(e){return e===""||e===void 0?!1:MN.test(e)}var MN,hd=y(()=>{MN=/\n[\r\t ]*\n/});function Ud(e){return e&&e.source&&e.source.start&&e.source.start.line}function RN(e){if(e===void 0)return;let t=e.next();return!t||t.type!=="comment"?t:Ud(e)===Ud(t)||Ud(t)===Ud(t.next())?RN(t):t}var FB=y(()=>{});function Jx(e,t){let r=e&&e.source&&e.source.end&&e.source.end.line,n=t&&t.source&&t.source.start&&t.source.start.line;return r===n}function Ww(e){if(!Kr(e))return!1;let t=$r(e);if(Jx(t,e))return!0;let r=RN(e);if(r&&Jx(e,r))return!0;let n=e.parent;return n!==void 0&&!ur(n)&&n.index(e)===0&&e.raws.before!==void 0&&!e.raws.before.includes(`
2
- `)}var _w=y(()=>{me(),FB(),Pn()});function Wi(e){let t=e.prev();return!t||t.type!=="comment"?!1:!Ww(t)}var nh=y(()=>{_w()});function Gc(e){return e.nodes!==void 0}var ih=y(()=>{});function $v(e){if(e.type!=="atrule")return!1;let t=$r(e);return t===void 0?!1:Oe(t)&&!Gc(t)&&!Gc(e)}var $N=y(()=>{Pn(),ih(),me()});function Zx(e){if(!$v(e))return!1;let t=$r(e);return t&&Oe(t)?t.name===e.name:!1}var MB=y(()=>{Pn(),me(),$N()});function Br(e){let t=e.parent;if(t===void 0||ur(t)&&!RB(t))return!1;if(e===t.first)return!0;let r=t.nodes;if(!r)return!1;let n=r[0];if(!n||!Kr(n)||typeof n.raws.before=="string"&&n.raws.before.includes(`
3
- `)||!lx(n)||!n.source.start)return!1;let i=n.source.start.line;if(!n.source.end||i!==n.source.end.line)return!1;for(let[o,a]of r.entries())if(o!==0){if(a===e)return!0;if(!Kr(a)||lx(a)&&a.source.end&&a.source.end.line!==i)return!1}return!1}function RB({parent:e}){return!!(e&&Cv(e))}var fd=y(()=>{me()});function oh(e){if(ur(e))return!1;let t=e.parent;return t?ur(t)&&e===t.first:!1}var ah=y(()=>{me()}),BN={};A(BN,{default:()=>qN});function $B(e){let t=$r(e);return t&&Oe(t)&&t.name===e.name}var So,Vd,e1,Co,qN,BB=y(()=>{q(),pd(),Pn(),hd(),nh(),me(),$N(),MB(),fd(),ah(),et(),K(),I(),j(),D(),So="at-rule-empty-line-before",Vd=O(So,{expected:"Expected empty line before at-rule",rejected:"Expected no empty line before at-rule"}),e1={url:"https://stylelint.io/user-guide/rules/at-rule-empty-line-before",fixable:!0},Co=(e,t,r)=>(n,i)=>{if(!T(i,So,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["after-same-name","inside-block","blockless-after-same-name-blockless","blockless-after-blockless","first-nested"],ignore:["after-comment","first-nested","inside-block","blockless-after-same-name-blockless","blockless-after-blockless"],ignoreAtRules:[$,_]},optional:!0}))return;let o=e;n.walkAtRules(a=>{let s=a.parent&&a.parent.type!=="root";if(oh(a)||!Ze(a)||F(t,"ignoreAtRules",a.name)||F(t,"ignore","blockless-after-blockless")&&$v(a)||F(t,"ignore","first-nested")&&Br(a)||F(t,"ignore","blockless-after-same-name-blockless")&&Zx(a)||F(t,"ignore","inside-block")&&s||F(t,"ignore","after-comment")&&Wi(a))return;let l=md(a.raws.before),u=o==="always";if((F(t,"except","after-same-name")&&$B(a)||F(t,"except","inside-block")&&s||F(t,"except","first-nested")&&Br(a)||F(t,"except","blockless-after-blockless")&&$v(a)||F(t,"except","blockless-after-same-name-blockless")&&Zx(a))&&(u=!u),u===l)return;let c=u?Vd.expected:Vd.rejected,d=u?"add":"remove";P({message:c,messageArgs:[],node:a,result:i,ruleName:So,fix:{apply:()=>dd({node:a,newline:r.newline,action:d}),node:a.parent}})})},Co.ruleName=So,Co.messages=Vd,Co.meta=e1,qN=Co}),qB=G(()=>{"use strict"}),WN=G(()=>{}),Uw=G((e,t)=>{"use strict";var r=qB(),n=WN(),i=class _N extends Error{constructor(a,s,l,u,c,d){super(a),this.name="CssSyntaxError",this.reason=a,c&&(this.file=c),u&&(this.source=u),d&&(this.plugin=d),typeof s<"u"&&typeof l<"u"&&(typeof s=="number"?(this.line=s,this.column=l):(this.line=s.line,this.column=s.column,this.endLine=l.line,this.endColumn=l.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,_N)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(){return""}toString(){let a=this.showSourceCode();return a&&(a=`
1
+ "use strict";(()=>{var O6=Object.defineProperty;var tx=e=>{throw TypeError(e)};var T6=(e,t,r)=>t in e?O6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var U=(e,t,r)=>T6(e,typeof t!="symbol"?t+"":t,r),D6=(e,t,r)=>t.has(e)||tx("Cannot "+r);var Vh=(e,t,r)=>(D6(e,t,"read from private field"),r?r.call(e):t.get(e)),rx=(e,t,r)=>t.has(e)?tx("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r);var nx="17.12.0";var F6=Object.create,Hm=Object.defineProperty,M6=Object.getOwnPropertyDescriptor,R6=Object.getOwnPropertyNames,$6=Object.getPrototypeOf,B6=Object.prototype.hasOwnProperty,q6=e=>t=>{var r=e[t];if(r)return r();throw new Error("Module not found in bundle: "+t)},y=(e,t)=>()=>(e&&(t=e(e=0)),t),G=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),A=(e,t)=>{for(var r in t)Hm(e,r,{get:t[r],enumerable:!0})},mA=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of R6(t))!B6.call(e,i)&&i!==r&&Hm(e,i,{get:()=>t[i],enumerable:!(n=M6(t,i))||n.enumerable});return e},K=(e,t,r)=>(r=e!=null?F6($6(e)):{},mA(t||!e||!e.__esModule?Hm(r,"default",{value:e,enumerable:!0}):r,e)),hA=e=>mA(Hm({},"__esModule",{value:!0}),e),ww={};A(ww,{isAbsolute:()=>Jm,join:()=>kw,normalize:()=>fA,relative:()=>xw});var Jm,kw,fA,xw,Zm=y(()=>{"use strict";Jm=()=>!0,kw=()=>"",fA=()=>{},xw=()=>""}),Mt,Zr,um,Sw,Er=y(()=>{Mt="all",Zr="error",um="warning",Sw=Zr});function ld(e){return typeof e=="boolean"||e instanceof Boolean}function cm(e){return typeof e=="function"||e instanceof Function}function Sr(e){return typeof e=="number"||e instanceof Number}function gA(e){return e!==null&&typeof e=="object"}function _(e){return e instanceof RegExp}function $(e){return typeof e=="string"||e instanceof String}function Cr(e){if(!gA(e))return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null}function $e(e,t=void 0){t?console.assert(e,t):console.assert(e)}function Cc(e){console.assert(Sr(e),`"${e}" must be a number`)}function Xi(e){console.assert($(e),`"${e}" must be a string`)}function ix(e){return!(!Cr(e)||!Sr(e.line)||!Sr(e.column))}function W6(e){return!(!Cr(e)||!ix(e.start)||!ix(e.end))}var q=y(()=>{}),Fc,Cw=y(()=>{Fc=()=>{}}),_6=G((e,t)=>{var r=40,n=41,i=39,o=34,a=92,s=47,l=44,u=58,c=42,d=117,p=85,m=43,v=/^[a-f0-9?-]+$/i;t.exports=function(h){for(var b=[],f=h,g,x,w,k,S,E,C,R,N=0,B=f.charCodeAt(N),re=f.length,te=[{nodes:b}],ae=0,le,oe="",Fe="",Ue="";N<re;)if(B<=32){g=N;do g+=1,B=f.charCodeAt(g);while(B<=32);k=f.slice(N,g),w=b[b.length-1],B===n&&ae?Ue=k:w&&w.type==="div"?(w.after=k,w.sourceEndIndex+=k.length):B===l||B===u||B===s&&f.charCodeAt(g+1)!==c&&(!le||le&&le.type==="function"&&le.value!=="calc")?Fe=k:b.push({type:"space",sourceIndex:N,sourceEndIndex:g,value:k}),N=g}else if(B===i||B===o){g=N,x=B===i?"'":'"',k={type:"string",sourceIndex:N,quote:x};do if(S=!1,g=f.indexOf(x,g+1),~g)for(E=g;f.charCodeAt(E-1)===a;)E-=1,S=!S;else f+=x,g=f.length-1,k.unclosed=!0;while(S);k.value=f.slice(N+1,g),k.sourceEndIndex=k.unclosed?g:g+1,b.push(k),N=g+1,B=f.charCodeAt(N)}else if(B===s&&f.charCodeAt(N+1)===c)g=f.indexOf("*/",N),k={type:"comment",sourceIndex:N,sourceEndIndex:g+2},g===-1&&(k.unclosed=!0,g=f.length,k.sourceEndIndex=g),k.value=f.slice(N+2,g),b.push(k),N=g+2,B=f.charCodeAt(N);else if((B===s||B===c)&&le&&le.type==="function"&&le.value==="calc")k=f[N],b.push({type:"word",sourceIndex:N-Fe.length,sourceEndIndex:N+k.length,value:k}),N+=1,B=f.charCodeAt(N);else if(B===s||B===l||B===u)k=f[N],b.push({type:"div",sourceIndex:N-Fe.length,sourceEndIndex:N+k.length,value:k,before:Fe,after:""}),Fe="",N+=1,B=f.charCodeAt(N);else if(r===B){g=N;do g+=1,B=f.charCodeAt(g);while(B<=32);if(R=N,k={type:"function",sourceIndex:N-oe.length,value:oe,before:f.slice(R+1,g)},N=g,oe==="url"&&B!==i&&B!==o){g-=1;do if(S=!1,g=f.indexOf(")",g+1),~g)for(E=g;f.charCodeAt(E-1)===a;)E-=1,S=!S;else f+=")",g=f.length-1,k.unclosed=!0;while(S);C=g;do C-=1,B=f.charCodeAt(C);while(B<=32);R<C?(N!==C+1?k.nodes=[{type:"word",sourceIndex:N,sourceEndIndex:C+1,value:f.slice(N,C+1)}]:k.nodes=[],k.unclosed&&C+1!==g?(k.after="",k.nodes.push({type:"space",sourceIndex:C+1,sourceEndIndex:g,value:f.slice(C+1,g)})):(k.after=f.slice(C+1,g),k.sourceEndIndex=g)):(k.after="",k.nodes=[]),N=g+1,k.sourceEndIndex=k.unclosed?g:N,B=f.charCodeAt(N),b.push(k)}else ae+=1,k.after="",k.sourceEndIndex=N+1,b.push(k),te.push(k),b=k.nodes=[],le=k;oe=""}else if(n===B&&ae)N+=1,B=f.charCodeAt(N),le.after=Ue,le.sourceEndIndex+=Ue.length,Ue="",ae-=1,te[te.length-1].sourceEndIndex=N,te.pop(),le=te[ae],b=le.nodes;else{g=N;do B===a&&(g+=1),g+=1,B=f.charCodeAt(g);while(g<re&&!(B<=32||B===i||B===o||B===l||B===u||B===s||B===r||B===c&&le&&le.type==="function"&&le.value==="calc"||B===s&&le.type==="function"&&le.value==="calc"||B===n&&ae));k=f.slice(N,g),r===B?oe=k:(d===k.charCodeAt(0)||p===k.charCodeAt(0))&&m===k.charCodeAt(1)&&v.test(k.slice(2))?b.push({type:"unicode-range",sourceIndex:N,sourceEndIndex:g,value:k}):b.push({type:"word",sourceIndex:N,sourceEndIndex:g,value:k}),N=g}for(N=te.length-1;N;N-=1)te[N].unclosed=!0,te[N].sourceEndIndex=f.length;return te[0].nodes}}),U6=G((e,t)=>{t.exports=function r(n,i,o){var a,s,l,u;for(a=0,s=n.length;a<s;a+=1)l=n[a],o||(u=i(l,a,n)),u!==!1&&l.type==="function"&&Array.isArray(l.nodes)&&r(l.nodes,i,o),o&&i(l,a,n)}}),V6=G((e,t)=>{function r(i,o){var a=i.type,s=i.value,l,u;return o&&(u=o(i))!==void 0?u:a==="word"||a==="space"?s:a==="string"?(l=i.quote||"",l+s+(i.unclosed?"":l)):a==="comment"?"/*"+s+(i.unclosed?"":"*/"):a==="div"?(i.before||"")+s+(i.after||""):Array.isArray(i.nodes)?(l=n(i.nodes,o),a!=="function"?l:s+"("+(i.before||"")+l+(i.after||"")+(i.unclosed?"":")")):s}function n(i,o){var a,s;if(Array.isArray(i)){for(a="",s=i.length-1;~s;s-=1)a=r(i[s],o)+a;return a}return r(i,o)}t.exports=n}),Q6=G((e,t)=>{var r=45,n=43,i=46,o=101,a=69;function s(l){var u=l.charCodeAt(0),c;if(u===n||u===r){if(c=l.charCodeAt(1),c>=48&&c<=57)return!0;var d=l.charCodeAt(2);return c===i&&d>=48&&d<=57}return u===i?(c=l.charCodeAt(1),c>=48&&c<=57):u>=48&&u<=57}t.exports=function(l){var u=0,c=l.length,d,p,m;if(c===0||!s(l))return!1;for(d=l.charCodeAt(u),(d===n||d===r)&&u++;u<c&&(d=l.charCodeAt(u),!(d<48||d>57));)u+=1;if(d=l.charCodeAt(u),p=l.charCodeAt(u+1),d===i&&p>=48&&p<=57)for(u+=2;u<c&&(d=l.charCodeAt(u),!(d<48||d>57));)u+=1;if(d=l.charCodeAt(u),p=l.charCodeAt(u+1),m=l.charCodeAt(u+2),(d===o||d===a)&&(p>=48&&p<=57||(p===n||p===r)&&m>=48&&m<=57))for(u+=p===n||p===r?3:2;u<c&&(d=l.charCodeAt(u),!(d<48||d>57));)u+=1;return{number:l.slice(0,u),unit:l.slice(u)}}}),de=G((e,t)=>{var r=_6(),n=U6(),i=V6();function o(a){return this instanceof o?(this.nodes=r(a),this):new o(a)}o.prototype.toString=function(){return Array.isArray(this.nodes)?i(this.nodes):""},o.prototype.walk=function(a,s){return n(this.nodes,a,s),this},o.unit=Q6(),o.walk=n,o.stringify=i,t.exports=o});function st(e){var t,r;return(r=(t=e.raws.params)==null?void 0:t.raw)!=null?r:e.params}var lt=y(()=>{});function be(e){let t=e.raws;return t.selector&&t.selector.raw||e.selector}var we=y(()=>{});function Oe(e){var t,r;return bA(e)+((r=(t=e.raws.afterName)==null?void 0:t.length)!=null?r:0)}function Y6(e){var n,i,o,a;let t=(i=(n=e.source)==null?void 0:n.end)==null?void 0:i.offset;if(!t)return e.toString().length-1;let r=(a=(o=e.raws)==null?void 0:o.after)==null?void 0:a.length;return r?t-(r+1):t-1}function bA(e){return 1+e.name.length}function G6(e){return Oe(e)+st(e).length}function vA(e){let{prop:t}=e.raws,r=gA(t);return yA([r&&"prefix"in t&&t.prefix,r&&"raw"in t&&t.raw||e.prop,r&&"suffix"in t&&t.suffix])}function ie(e){let{between:t,value:r}=e.raws;return vA(e)+yA([t||":",r&&"prefix"in r&&r.prefix])}function K6(e){return be(e).length}function H6(e){var n,i,o,a;let t=(i=(n=e.source)==null?void 0:n.end)==null?void 0:i.offset;if(!t)return e.toString().length-1;let r=(a=(o=e.raws)==null?void 0:o.after)==null?void 0:a.length;return r?t-(r+1):t-1}function yA(e){return e.reduce((t,r)=>$(r)?t+r.length:t,0)}var Z=y(()=>{lt(),we(),q()});function qe(e){let t=e.raws;return t.value&&t.value.raw||e.value}var We=y(()=>{});function wA(e){return kA.test(e)}var kA,xA=y(()=>{kA=/@\{.+?\}/});function SA(e){return CA.test(e)}var CA,zA=y(()=>{CA=/\$\(.+?\)/});function AA(e){return NA.test(e)}var NA,EA=y(()=>{NA=/#\{.+?\}/s});function PA(e){return jA.test(e)}var jA,IA=y(()=>{jA=/\{.+?\}/s});function Xm(e){return!!(wA(e)||AA(e)||PA(e)||SA(e))}var eh=y(()=>{xA(),zA(),EA(),IA()});function Be(e){let t=e;return/^[-+*/]/.test(e.charAt(0))&&(t=t.slice(1)),!(t.startsWith("$")||/^.+\.\$/.test(e)||/^.+\.[-\w]+\(/.test(e)||t.startsWith("@")||Xm(t)||/__MSG_\S+__/.test(e))}var _e=y(()=>{eh()});function ur(e){return e.type==="root"}function it(e){return e.type==="rule"}function Ie(e){return e.type==="atrule"}function Kr(e){return e.type==="comment"}function eo(e){return e.type==="decl"}function xv(e){return e.type==="document"}function OA(e){return e.type==="div"}function Nn(e){return e.type==="function"}function En({type:e}){return e==="word"}function ox(e){return!!e.source}var fe=y(()=>{});function Pe(e,t){if(!Array.isArray(e))return ax(e,t);for(let r of e){let n=ax(r,t);if(n)return n}return!1}function ax(e,t){if(!Array.isArray(t))return lx(e,t);for(let r of t){let n=lx(e,r);if(n)return n}return!1}function sx(e,t){var n;let r=e.match(t);return r?{match:e,pattern:t,substring:(n=r[0])!=null?n:""}:!1}function lx(e,t){if(t instanceof RegExp)return sx(e,t);let r="i";if(t.startsWith("/")&&(t.endsWith("/")||t.endsWith(`/${r}`))){let n=t.endsWith(r)?new RegExp(t.slice(1,-2),r):new RegExp(t.slice(1,-1)),i=sx(e,n);return i&&(i.pattern=t),i}return e===t?{match:e,pattern:t,substring:e}:!1}var Le=y(()=>{});function L(e,t,r){return!!(e&&e[t]&&typeof r=="string"&&Pe(r,e[t]))}var H=y(()=>{Le()});function J6(e,t){let{parent:r}=e;return r?e.type==="decl"&&(r.raws.semicolon||r.last!==e)?{...t,text:`${t.text};`}:Ie(e)&&!e.nodes&&(r.raws.semicolon||r.last!==e)?{...t,text:`${t.text};`}:t:t}var Z6=y(()=>{fe()});function X6(e,t){return e.endsWith(`(${t})`)?e:`${e} (${t})`}var eB=y(()=>{});function tB(e,t){if(!e.source)return t;let r=t.range[0],n=t.range[1],i=e.source.input.css.slice(r,n),o=0;for(let s=0;s<i.length;s++){let l=i[s],u=t.text[s];if(l!==u)break;r++,o++}let a=t.text.length;for(let s=0;s<i.length;s++){let l=i.length-1-s;if(l<o)break;let u=i[l],c=t.text.length-1-s;if(c<o)break;let d=t.text[c];if(u!==d)break;n--,a--}return r===n&&(r>t.range[0]?(r--,o--):n<t.range[1]&&(n++,a++)),{text:t.text.slice(o,a),range:[r,n]}}var rB=y(()=>{});function nB(e,t){return!(e[1]<=t[0]||e[0]>=t[1])}var iB=y(()=>{});function P(e){var w,k,S;let{node:t,result:r,ruleName:n,fix:i,...o}=e,a=oB(e),{disabledRanges:s,quiet:l,ruleSeverities:u,config:{defaultSeverity:c,ignoreDisables:d}={},customMessages:{[n]:p=o.message},customUrls:{[n]:m},ruleMetadata:{[n]:v}}=r.stylelint,{messageArgs:h=[],severity:b=u[n]}=o,f=(k=(w=cm(b)?b(...h):b)!=null?w:c)!=null?k:Sw;if(l&&f===um)return;if((cm(i)||zw(i))&&v&&!v.fixable)throw new Error(`The "${n}" rule requires "meta.fixable" to be truthy if the "fix" callback is being passed`);if(lB(e,a.start.line)||TA(n,a.start.line,s)&&(((S=r.stylelint).disabledWarnings||(S.disabledWarnings=[])).push({rule:n,line:a.start.line}),!d))return;!r.stylelint.stylelintError&&f===Zr&&(r.stylelint.stylelintError=!0),!r.stylelint.stylelintWarning&&f===um&&(r.stylelint.stylelintWarning=!0);let g={severity:f,rule:n};t&&(g.node=t),g.start=a.start,g.end=a.end,m&&(g.url=m),g.fix=uB({...e,line:a.start.line});let x=aB(p,h,n);r.warn(x,g)}function oB(e){if(!e.node)throw new Error(`The "${e.ruleName}" rule provided incorrect position arguments to \`utils.report()\`. To fix, pass a PostCSS \`node\` to the function.`);if(W6(e))return{start:e.start,end:e.end};if("start"in e||"end"in e)throw new Error(`The "${e.ruleName}" rule provided incomplete position arguments to \`utils.report()\`. To fix, provide both \`start\` and \`end\` as valid positions to the function.`);if(dB(e))return e.node.rangeBy({index:e.index,endIndex:e.endIndex});if("index"in e||"endIndex"in e)throw new Error(`The "${e.ruleName}" rule provided incomplete position arguments to \`utils.report()\`. To fix, provide both \`index\` and \`endIndex\` as numbers to the function.`);return"word"in e&&$(e.word)?e.node.rangeBy({word:e.word}):e.node.rangeBy({})}function aB(e,t,r){return X6($(e)?sB(e,...t):e(...t),r)}function sB(e,...t){return t.reduce((r,n)=>r.replace(/%[ds]/,String(n)),e)}function TA(e,t,r){var i,o;let n=(o=(i=r[e])!=null?i:r[Mt])!=null?o:[];for(let a of n)if(a.start<=t&&(a.end===void 0||a.end>=t)&&(!a.rules||a.rules.includes(e)))return!0;return!1}function lB({fix:e,result:{stylelint:t},ruleName:r},n){if(!e)return!1;let{disabledRanges:i,config:o={},fixersData:a}=t;if(!o.fix||DA(n,r,o,i))return!1;let s=zw(e)?e.apply:e;return cm(s)?(s(),cB({fixersData:a,ruleName:r}),!0):!1}function uB({fix:e,line:t,result:r,ruleName:n}){var d,p,m,v,h;if(!e)return;let{disabledRanges:i,config:o={},rangesOfComputedEditInfos:a}=r.stylelint;if(!o.computeEditInfo||o.fix||DA(t,n,o,i)||!zw(e)||!e.apply||!e.node)return;let{apply:s,node:l}=e;if(!Sr((p=(d=l.source)==null?void 0:d.start)==null?void 0:p.offset)||!Sr((v=(m=l.source)==null?void 0:m.end)==null?void 0:v.offset))return;let u=[l.source.start.offset,l.source.end.offset];if(a.some(b=>nB(b,u)))return;s();let c={range:u,text:l.toString((h=r.opts)==null?void 0:h.syntax)};return c=J6(l,c),c=tB(l,c),a.push(c.range),c}function DA(e,t,r,n){var i,o;return!!((o=(i=r.rules)==null?void 0:i[t][1])!=null&&o.disableFix||!r.ignoreDisables&&TA(t,e,n))}function cB({fixersData:e,ruleName:t}){var r;(r=e[t])!=null||(e[t]=0),e[t]++}function dB(e){return!(!Cr(e)||!Sr(e.index)||!Sr(e.endIndex))}function zw(e){return!(!Cr(e)||!e.node||!cm(e.apply))}var j=y(()=>{q(),Er(),Z6(),eB(),rB(),iB()});function I(e,t){let r={};for(let[n,i]of Object.entries(t))typeof i=="string"?r[n]=`${i} (${e})`:(r[n]=(...o)=>`${i(...o)} (${e})`,Object.defineProperty(r[n],"length",{value:i.length}));return r}var O=y(()=>{});function ft(e,t){let r=e.raws;return r.value?r.value.raw=t:e.value=t,e}var gt=y(()=>{});function Aw(e,t){return!Array.isArray(e)||!Array.isArray(t)||e.length!==t.length?!1:e.every((r,n)=>r===t[n])}var Nw=y(()=>{});function T(e,t,...r){var o;if(!((o=e.stylelint.config)!=null&&o.validate))return!0;let n=!0;for(let a of r)pB(a,t,i);function i(a){n=!1,e.warn(a,{stylelintType:"invalidOption"}),e.stylelint.stylelintError=!0}return n}function pB({possible:e,actual:t,optional:r},n,i){if(t===!1&&!FA.has(n))return i(`Invalid option value "false" for rule "${n}". Are you trying to disable this rule? If so use "null" instead`);if(t===null||Aw(t,[null]))return;let o=e==null||Array.isArray(e)&&e.length===0||Cr(e)&&Object.keys(e).length===0;if(!(o&&t===!0)){if(t===void 0){if(o||r)return;i(`Expected option value for rule "${n}"`);return}if(o){if(r){i(`Incorrect configuration for rule "${n}". Rule should have "possible" values for options validation`);return}i(`Unexpected option value ${co(t)} for rule "${n}"`);return}if(typeof e=="function"){e(t)||i(`Invalid option ${co(t)} for rule "${n}"`);return}if(Array.isArray(e)){for(let a of[t].flat())ux(e,a)||i(`Invalid option value ${co(a)} for rule "${n}"`);return}if(!Cr(t)||typeof t!="object"||t===null){i(`Invalid option value ${co(t)} for rule "${n}": should be an object`);return}for(let[a,s]of Object.entries(t)){if(LA.has(a))continue;let l=e&&e[a];if(!l){i(`Invalid option name "${a}" for rule "${n}"`);continue}for(let u of[s].flat())ux(l,u)||i(`Invalid value ${co(u)} for option "${a}" of rule "${n}"`)}}}function ux(e,t){for(let r of[e].flat())if(typeof r=="function"&&r(t)||t===r)return!0;return!1}function co(e){return typeof e=="string"?`"${e}"`:`"${JSON.stringify(e)}"`}var LA,FA,D=y(()=>{Nw(),q(),LA=new Set(["severity","message","url","reportDisables","disableFix"]),FA=new Set(["reportDescriptionlessDisables","reportInvalidScopeDisables","reportNeedlessDisables","reportUnscopedDisables"])}),MA={};A(MA,{default:()=>RA});function mB(e){let t=Number(e);return`${Number((t*100).toPrecision(3))}%`}function hB(e){let t=Mc.default.unit(e);$e(t);let r=Number(t.number);return Number((r/100).toPrecision(3)).toString()}function fB(e){return e.type==="word"||e.type==="function"?e:void 0}function gB(e){if(e.nodes.some(({type:r,value:n})=>r==="div"&&n===",")){let r=e.nodes.filter(({type:n})=>n==="word"||n==="function");return r.length===4?r[3]:void 0}let t=e.nodes.findIndex(({type:r,value:n})=>r==="div"&&n==="/");if(t!==-1)return e.nodes.slice(t+1,e.nodes.length).find(En)}function cx(e){let t=Mc.default.unit(e);return t&&t.unit==="%"}function dx(e){let t=Mc.default.unit(e);return t&&t.unit===""}var Mc,po,Qh,px,mx,hx,fx,Yh,mo,RA,bB=y(()=>{Mc=K(de(),1),q(),Z(),We(),_e(),fe(),H(),j(),O(),gt(),D(),po="alpha-value-notation",Qh=I(po,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),px={url:"https://stylelint.io/user-guide/rules/alpha-value-notation",fixable:!0},mx=/^(?:opacity|shape-image-threshold|fill-opacity|flood-opacity|stop-opacity|stroke-opacity)$/i,hx=/(?:color|hsla?|rgba?|hwb|lab|lch|oklab|oklch)\(/i,fx=/^(?:color|hsla?|rgba?|hwb|lab|lch|oklab|oklch)$/i,Yh=/\d/,mo=(e,t)=>(r,n)=>{if(!T(n,po,{actual:e,possible:["number","percentage"]},{actual:t,possible:{exceptProperties:[$,_]},optional:!0}))return;let i=Object.freeze({number:{expFunc:dx,fixFunc:hB},percentage:{expFunc:cx,fixFunc:mB}});r.walkDecls(o=>{let a=qe(o),s=mx.test(o.prop);if(!(s||hx.test(a))||!Yh.test(a))return;let l=(0,Mc.default)(a);l.walk(u=>{let c=s&&Yh.test(u.value),d=u.type==="function"&&fx.test(u.value),p=c?fB(u):d?gB(u):void 0;if(!p)return;let{value:m}=p;if(!Be(m)||!dx(m)&&!cx(m))return;let v=e;if(L(t,"exceptProperties",o.prop)&&(v==="number"?v="percentage":v==="percentage"&&(v="number")),i[v].expFunc(m))return;let h=i[v].fixFunc(m),b=m,f=ie(o)+p.sourceIndex,g=f+p.value.length,x=()=>{p.value=h,ft(o,l.toString())};P({message:Qh.expected,messageArgs:[b,h],node:o,index:f,endIndex:g,result:n,ruleName:po,fix:{apply:x,node:o}})})})},mo.ruleName=po,mo.messages=Qh,mo.meta=px,RA=mo}),$A={};A($A,{default:()=>BA});var gx,ho,Gh,bx,fo,BA,vB=y(()=>{gx=K(de(),1),q(),We(),_e(),H(),j(),O(),D(),ho="annotation-no-unknown",Gh=I(ho,{rejected:e=>`Unknown annotation "${e}"`}),bx={url:"https://stylelint.io/user-guide/rules/annotation-no-unknown"},fo=(e,t)=>(r,n)=>{if(!T(n,ho,{actual:e},{actual:t,possible:{ignoreAnnotations:[$,_]},optional:!0}))return;r.walkDecls(i);function i(a){!Be(a.value)||a.important||!a.value.includes("!")||(0,gx.default)(qe(a)).walk(s=>{if(!o(s))return;let l=s.value,u=l.slice(1);L(t,"ignoreAnnotations",u)||P({message:Gh.rejected,messageArgs:[l],node:a,result:n,ruleName:ho,word:l})})}function o(a){return a.type==="word"&&a.value.startsWith("!")}},fo.ruleName=ho,fo.messages=Gh,fo.meta=bx,BA=fo});function Xe(e){return!(e.name.toLowerCase()==="charset"||!e.nodes&&e.params===""||"mixin"in e&&e.mixin||"variable"in e&&e.variable||!e.nodes&&e.raws.afterName===""&&e.params[0]==="(")}var et=y(()=>{}),qA={};A(qA,{default:()=>WA});var go,Kh,vx,$n,WA,yB=y(()=>{q(),et(),Le(),j(),O(),D(),go="at-rule-allowed-list",Kh=I(go,{rejected:e=>`Disallowed at-rule "${e}"`}),vx={url:"https://stylelint.io/user-guide/rules/at-rule-allowed-list"},$n=e=>(t,r)=>{if(!T(r,go,{actual:e,possible:[$,_]}))return;let n=[e].flat();t.walkAtRules(i=>{let o=i.name;if(!Xe(i)||Pe(o,n))return;let a=`@${o}`;P({message:Kh.rejected,messageArgs:[a],node:i,result:r,ruleName:go,word:a})})},$n.primaryOptionArray=!0,$n.ruleName=go,$n.messages=Kh,$n.meta=vx,WA=$n});function Ce(...e){return new Set([...e].reduce((t,r)=>[...t,...r],[]))}var to=y(()=>{}),Sv,Rc,_A,Cv,zv,UA,ro=y(()=>{to(),Sv=new Set(["document","nest","viewport"]),Rc=new Set(["apply","container","layer","media","scope","starting-style","supports"]),_A=new Set(["mixin","scope"]),Cv=new Set(["top-left-corner","top-left","top-center","top-right","top-right-corner","bottom-left-corner","bottom-left","bottom-center","bottom-right","bottom-right-corner","left-top","left-middle","left-bottom","right-top","right-middle","right-bottom"]),zv=new Set(["annotation","character-variant","historical-forms","ornaments","styleset","stylistic","swash"]),UA=Ce(Sv,Rc,Cv,zv,["counter-style","custom-media","custom-selector","font-face","font-feature-values","font-palette-values","function","import","keyframes","namespace","page","position-try","property","scroll-timeline","view-transition"])}),VA,QA,YA,zc,Av,yx,GA,KA,HA,JA,ZA,XA,eN,$c,Nv,Pr=y(()=>{VA=new Set(["animation","animation-name","font","font-family","counter-increment","grid-row","grid-column","grid-area","list-style","list-style-type"]),QA=new Set(["transition","transition-property","will-change"]),YA=new Map([["border",new Set(["border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width"])],["font",new Set(["font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-size-adjust","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings"])]]),zc=new Map([["animation",new Set(["animation-name","animation-duration","animation-timing-function","animation-delay","animation-iteration-count","animation-direction","animation-fill-mode","animation-play-state"])],["background",new Set(["background-image","background-size","background-position","background-repeat","background-origin","background-clip","background-attachment","background-color"])],["border",new Set(["border-top-width","border-right-width","border-bottom-width","border-left-width","border-top-style","border-right-style","border-bottom-style","border-left-style","border-top-color","border-right-color","border-bottom-color","border-left-color","border-width","border-style","border-color"])],["border-block",new Set(["border-block-width","border-block-style","border-block-color"])],["border-block-end",new Set(["border-block-end-width","border-block-end-style","border-block-end-color"])],["border-block-start",new Set(["border-block-start-width","border-block-start-style","border-block-start-color"])],["border-bottom",new Set(["border-bottom-width","border-bottom-style","border-bottom-color"])],["border-color",new Set(["border-top-color","border-right-color","border-bottom-color","border-left-color"])],["border-image",new Set(["border-image-source","border-image-slice","border-image-width","border-image-outset","border-image-repeat"])],["border-inline",new Set(["border-inline-width","border-inline-style","border-inline-color"])],["border-inline-end",new Set(["border-inline-end-width","border-inline-end-style","border-inline-end-color"])],["border-inline-start",new Set(["border-inline-start-width","border-inline-start-style","border-inline-start-color"])],["border-left",new Set(["border-left-width","border-left-style","border-left-color"])],["border-radius",new Set(["border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius"])],["border-right",new Set(["border-right-width","border-right-style","border-right-color"])],["border-style",new Set(["border-top-style","border-right-style","border-bottom-style","border-left-style"])],["border-top",new Set(["border-top-width","border-top-style","border-top-color"])],["border-width",new Set(["border-top-width","border-right-width","border-bottom-width","border-left-width"])],["column-rule",new Set(["column-rule-width","column-rule-style","column-rule-color"])],["columns",new Set(["column-width","column-count"])],["flex",new Set(["flex-grow","flex-shrink","flex-basis"])],["flex-flow",new Set(["flex-direction","flex-wrap"])],["font",new Set(["font-style","font-variant","font-weight","font-stretch","font-size","line-height","font-family"])],["font-synthesis",new Set(["font-synthesis-weight","font-synthesis-style","font-synthesis-small-caps"])],["font-variant",new Set(["font-variant-ligatures","font-variant-position","font-variant-caps","font-variant-numeric","font-variant-alternates","font-variant-east-asian","font-variant-emoji"])],["gap",new Set(["row-gap","column-gap"])],["grid",new Set(["grid-template-rows","grid-template-columns","grid-template-areas","grid-auto-rows","grid-auto-columns","grid-auto-flow","grid-column-gap","grid-row-gap"])],["grid-area",new Set(["grid-row-start","grid-column-start","grid-row-end","grid-column-end"])],["grid-column",new Set(["grid-column-start","grid-column-end"])],["grid-gap",new Set(["grid-row-gap","grid-column-gap"])],["grid-row",new Set(["grid-row-start","grid-row-end"])],["grid-template",new Set(["grid-template-columns","grid-template-rows","grid-template-areas"])],["inset",new Set(["top","right","bottom","left"])],["inset-block",new Set(["inset-block-start","inset-block-end"])],["inset-inline",new Set(["inset-inline-start","inset-inline-end"])],["list-style",new Set(["list-style-type","list-style-position","list-style-image"])],["margin",new Set(["margin-top","margin-right","margin-bottom","margin-left"])],["margin-block",new Set(["margin-block-start","margin-block-end"])],["margin-inline",new Set(["margin-inline-start","margin-inline-end"])],["mask",new Set(["mask-image","mask-mode","mask-position","mask-size","mask-repeat","mask-origin","mask-clip","mask-composite"])],["outline",new Set(["outline-color","outline-style","outline-width"])],["overflow",new Set(["overflow-x","overflow-y"])],["overscroll-behavior",new Set(["overscroll-behavior-x","overscroll-behavior-y"])],["padding",new Set(["padding-top","padding-right","padding-bottom","padding-left"])],["padding-block",new Set(["padding-block-start","padding-block-end"])],["padding-inline",new Set(["padding-inline-start","padding-inline-end"])],["place-content",new Set(["align-content","justify-content"])],["place-items",new Set(["align-items","justify-items"])],["place-self",new Set(["align-self","justify-self"])],["scroll-margin",new Set(["scroll-margin-top","scroll-margin-right","scroll-margin-bottom","scroll-margin-left"])],["scroll-margin-block",new Set(["scroll-margin-block-start","scroll-margin-block-end"])],["scroll-margin-inline",new Set(["scroll-margin-inline-start","scroll-margin-inline-end"])],["scroll-padding",new Set(["scroll-padding-top","scroll-padding-right","scroll-padding-bottom","scroll-padding-left"])],["scroll-padding-block",new Set(["scroll-padding-block-start","scroll-padding-block-end"])],["scroll-padding-inline",new Set(["scroll-padding-inline-start","scroll-padding-inline-end"])],["text-decoration",new Set(["text-decoration-line","text-decoration-style","text-decoration-color","text-decoration-thickness"])],["text-emphasis",new Set(["text-emphasis-style","text-emphasis-color"])],["transition",new Set(["transition-property","transition-duration","transition-timing-function","transition-delay"])]]),Av=new Set(["accent-color","background-color","border-block-color","border-block-end-color","border-block-start-color","border-bottom-color","border-inline-color","border-inline-end-color","border-inline-start-color","border-left-color","border-right-color","border-top-color","caret-color","color","column-rule-color","outline-color","text-decoration-color","text-emphasis-color","flood-color","lighting-color","stop-color"]),yx=new Set(["border-color","scrollbar-color"]),GA=new Set([...Av,...yx]),KA=new Set(["transition-duration","transition-delay","animation-duration","animation-delay"]),HA=new Set(["transition","animation"]),JA=new Set(["direction","background-color","background-image","background-repeat","background-attachment","background-position","background","border-top-width","border-right-width","border-bottom-width","border-left-width","border-width","border-top-color","border-right-color","border-bottom-color","border-left-color","border-color","border-top-style","border-right-style","border-bottom-style","border-left-style","border-style","border-top","border-right","border-bottom","border-left","border","counter-reset","counter-increment","color","font-family","font-size","font-style","font-variant","font-weight","font","height","min-height","max-height","line-height","margin-top","margin-right","margin-bottom","margin-left","margin","outline-width","outline-style","outline-color","outline","padding-top","padding-right","padding-bottom","padding-left","padding","quotes","letter-spacing","text-align","text-decoration","text-indent","text-transform","white-space","word-spacing","visibility","width","min-width","max-width"]),ZA=new Set(["direction","unicode-bidi","background-color","background-image","background-repeat","background-attachment","background-position","background","border-top-width","border-right-width","border-bottom-width","border-left-width","border-width","border-top-color","border-right-color","border-bottom-color","border-left-color","border-color","border-top-style","border-right-style","border-bottom-style","border-left-style","border-style","border-top","border-right","border-bottom","border-left","border","counter-reset","counter-increment","content","color","font-family","font-size","font-style","font-variant","font-weight","font","height","min-height","max-height","line-height","margin-top","margin-right","margin-bottom","margin-left","margin","outline-width","outline-style","outline-color","outline","overflow","padding-top","padding-right","padding-bottom","padding-left","padding","quotes","letter-spacing","text-align","text-decoration","text-indent","text-transform","white-space","word-spacing","vertical-align","visibility","width","min-width","max-width","z-index"]),XA=new Set(["accelerator","alt","animation-trigger-behavior","animation-trigger-exit-range","animation-trigger-exit-range-end","animation-trigger-exit-range-start","animation-trigger-range","animation-trigger-range-end","animation-trigger-range-start","animation-trigger-timeline","app-region","audio-level","buffered-rendering","chains","color-profile","color-rendering","column-progression","column-rule-outset","display-align","elevation","enable-background","epub-caption-side","epub-hyphens","epub-text-combine","epub-text-emphasis","epub-text-emphasis-color","epub-text-emphasis-style","epub-text-orientation","epub-text-transform","epub-word-break","epub-writing-mode","flow","input-format","inset-area","item-slack","layout-flow","layout-grid","layout-grid-char","layout-grid-line","layout-grid-mode","layout-grid-type","line-increment","marker-knockout-left","marker-knockout-right","marker-offset","marker-pattern","marker-segment","mask-position-x","mask-position-y","mask-source-type","motion","motion-offset","motion-path","motion-rotation","nav-down","nav-index","nav-left","nav-right","nav-up","navigation","offset-block-end","offset-block-start","offset-inline-end","offset-inline-start","offset-rotation","pen-action","perspective-origin-x","perspective-origin-y","pitch","pitch-range","play-during","position-try-options","property-name","richness","row-rule-outset","rule-outset","rule-paint-order","running","scroll-snap-margin","scroll-snap-margin-bottom","scroll-snap-margin-left","scroll-snap-margin-right","scroll-snap-margin-top","scroll-start-target","scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-darkshadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","scrollbar3d-light-color","scrollbar3dlight-color","snap-height","solid-color","solid-opacity","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","supported-color-schemes","text-decoration-blink","text-decoration-line-through","text-decoration-none","text-decoration-overline","text-decoration-skip-inset","text-decoration-trim","text-decoration-underline","text-justify-trim","text-kashida","text-kashida-space","text-line-through","text-line-through-color","text-line-through-mode","text-line-through-style","text-line-through-width","text-overline","text-overline-color","text-overline-mode","text-overline-style","text-overline-width","text-underline","text-underline-color","text-underline-mode","text-underline-style","text-underline-width","touch-action-delay","transform-origin-x","transform-origin-y","transform-origin-z","uc-alt-skin","uc-skin","viewport-fill","viewport-fill-opacity","volume"]),eN=new Set(["-epub-text-combine","-internal-text-autosizing-status","-wap-accesskey","-webkit-alt","-webkit-app-region","-webkit-background-composite","-moz-background-inline-policy","-khtml-binding","-webkit-border-after-color","-webkit-border-after-style","-webkit-border-after","-webkit-border-after-width","-moz-border-end-color","-webkit-border-end-color","-moz-border-end","-moz-border-end-style","-webkit-border-end-style","-webkit-border-end","-moz-border-end-width","-webkit-border-end-width","-webkit-border-fit","-khtml-border-horizontal-spacing","-webkit-border-horizontal-spacing","-moz-border-start-color","-webkit-border-start-color","-moz-border-start","-moz-border-start-style","-webkit-border-start-style","-webkit-border-start","-moz-border-start-width","-webkit-border-start-width","-khtml-border-vertical-spacing","-webkit-border-vertical-spacing","-khtml-box-flex-group-transition","-webkit-color-correction","-apple-color-filter","-webkit-column-axis","-webkit-column-progression","-webkit-composition-fill-color","-webkit-composition-frame-color","-webkit-cursor-visibility","-apple-dashboard-region","-khtml-dashboard-region","-webkit-dashboard-region","-webkit-flex-align","-webkit-flex-item-align","-webkit-flex-line-pack","-webkit-flex-order","-webkit-flex-pack","-khtml-flow-mode","-konq-flow-mode","-khtml-font-size-delta","-webkit-font-size-delta","-webkit-grid-after","-webkit-grid-before","-ms-grid-column-span","-webkit-grid-columns","-webkit-grid-end","-ms-grid-row-span","-webkit-grid-rows","-webkit-grid-start","-webkit-highlight","-khtml-horizontal-border-spacing","-webkit-hyphenate-limit-after","-webkit-hyphenate-limit-before","-wap-input-format","-wap-input-required","-konq-js-clip","-webkit-line-align","-webkit-line-box-contain","-webkit-line-grid-snap","-o-link","-o-link-source","-webkit-locale","-webkit-logical-height","-webkit-logical-width","-webkit-margin-after-collapse","-webkit-margin-after","-webkit-margin-before-collapse","-webkit-margin-before","-khtml-margin-bottom-collapse","-webkit-margin-bottom-collapse","-khtml-margin-collapse","-webkit-margin-collapse","-moz-margin-end","-webkit-margin-end","-khtml-margin-start","-moz-margin-start","-webkit-margin-start","-khtml-margin-top-collapse","-webkit-margin-top-collapse","-wap-marquee-dir","-khtml-marquee-direction","-webkit-marquee-direction","-khtml-marquee-increment","-webkit-marquee-increment","-khtml-marquee","-wap-marquee-loop","-khtml-marquee-repetition","-webkit-marquee-repetition","-khtml-marquee-speed","-wap-marquee-speed","-webkit-marquee-speed","-khtml-marquee-style","-wap-marquee-style","-webkit-marquee-style","-webkit-marquee","-webkit-mask-box-image-outset","-webkit-mask-box-image-repeat","-webkit-mask-box-image-slice","-webkit-mask-box-image-source","-webkit-mask-box-image-width","-webkit-mask-source-type","-khtml-match-nearest-mail-blockquote-color","-webkit-match-nearest-mail-blockquote-color","-webkit-max-logical-height","-webkit-max-logical-width","-webkit-min-logical-height","-webkit-min-logical-width","-khtml-nbsp-mode","-webkit-nbsp-mode","-webkit-padding-after","-webkit-padding-before","-moz-padding-end","-webkit-padding-end","-khtml-padding-start","-moz-padding-start","-webkit-padding-start","-apple-pay-button-style","-apple-pay-button-type","-webkit-perspective-origin-x","-webkit-perspective-origin-y","-webkit-region-break-after","-webkit-region-break-before","-webkit-region-break-inside","-webkit-region-overflow","-khtml-rtl-ordering","-webkit-rtl-ordering","-webkit-svg-shadow","-o-table-baseline","-ms-text-combine-horizontal","-webkit-text-combine","-khtml-text-decorations-in-effect","-webkit-text-decorations-in-effect","-webkit-text-zoom","-apple-trailing-word","-webkit-transform-origin-x","-webkit-transform-origin-y","-webkit-transform-origin-z","-khtml-user-drag","-khtml-user-modify","-khtml-vertical-border-spacing","-webkit-widget-region","-webkit-wrap-margin","-webkit-wrap-padding","-webkit-wrap-shape-inside","-webkit-wrap-shape-outside","-webkit-wrap"]),$c=new Map([["margin-left","margin-inline-start"],["margin-right","margin-inline-end"],["margin-top","margin-block-start"],["margin-bottom","margin-block-end"],["padding-left","padding-inline-start"],["padding-right","padding-inline-end"],["padding-top","padding-block-start"],["padding-bottom","padding-block-end"],["border-left","border-inline-start"],["border-right","border-inline-end"],["border-top","border-block-start"],["border-bottom","border-block-end"],["border-left-width","border-inline-start-width"],["border-right-width","border-inline-end-width"],["border-top-width","border-block-start-width"],["border-bottom-width","border-block-end-width"],["border-left-style","border-inline-start-style"],["border-right-style","border-inline-end-style"],["border-top-style","border-block-start-style"],["border-bottom-style","border-block-end-style"],["border-left-color","border-inline-start-color"],["border-right-color","border-inline-end-color"],["border-top-color","border-block-start-color"],["border-bottom-color","border-block-end-color"],["left","inset-inline-start"],["right","inset-inline-end"],["top","inset-block-start"],["bottom","inset-block-end"],["width","inline-size"],["height","block-size"],["min-width","min-inline-size"],["min-height","min-block-size"],["max-width","max-inline-size"],["max-height","max-block-size"],["scroll-margin-left","scroll-margin-inline-start"],["scroll-margin-right","scroll-margin-inline-end"],["scroll-margin-top","scroll-margin-block-start"],["scroll-margin-bottom","scroll-margin-block-end"],["scroll-padding-left","scroll-padding-inline-start"],["scroll-padding-right","scroll-padding-inline-end"],["scroll-padding-top","scroll-padding-block-start"],["scroll-padding-bottom","scroll-padding-block-end"],["border-top-left-radius","border-start-start-radius"],["border-top-right-radius","border-start-end-radius"],["border-bottom-left-radius","border-end-start-radius"],["border-bottom-right-radius","border-end-end-radius"],["overflow-x","overflow-inline"],["overflow-y","overflow-block"],["overscroll-behavior-x","overscroll-behavior-inline"],["overscroll-behavior-y","overscroll-behavior-block"],["contain-intrinsic-width","contain-intrinsic-inline-size"],["contain-intrinsic-height","contain-intrinsic-block-size"]]),Nv=new Set([...$c.values(),"margin-inline","margin-block","padding-inline","padding-block","border-inline","border-block","border-inline-width","border-block-width","border-inline-style","border-block-style","border-inline-color","border-block-color","inset","inset-inline","inset-block","scroll-margin-inline","scroll-margin-block","scroll-padding-inline","scroll-padding-block"])}),tN,wB=y(()=>{tN=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","script","search","section","select","selectedcontent","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]}),kB=y(()=>{wB()}),dm,wx,kx,rN,Ew,nN,Bc,Ev,pm,xx,mm,th,qc,Wc,Ri,iN,Pv,jv,Iv,hm,Sx,Ov,Cx,oN,Tt=y(()=>{kB(),to(),dm=new Set(["acronym","applet","basefont","big","bgsound","blink","center","content","dir","font","frame","frameset","isindex","keygen","listing","marquee","menuitem","multicol","nextid","nobr","noembed","noframes","plaintext","param","popup","rb","rtc","selectmenu","shadow","spacer","strike","tt","xmp"]),wx=new Set(tN),kx=new Set(["fencedframe","listbox","model","portal","selectedcontent","selectlist","geolocation","usermedia"]),rN=Ce(dm,wx,kx),Ew=new Set(["altGlyph","altGlyphDef","altGlyphItem","cursor","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","glyph","glyphRef","hatchPath","hkern","missing-glyph","tref","vkern"]),nN=new Set(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","hatchPath","linearGradient","radialGradient","textPath"]),Bc=new Set(["before","after","first-line","first-letter"]),Ev=new Set(["part"]),pm=new Set(["-webkit-resizer","-webkit-scrollbar","-webkit-scrollbar-button","-webkit-scrollbar-corner","-webkit-scrollbar-thumb","-webkit-scrollbar-track","-webkit-scrollbar-track-piece"]),xx=Ce(pm,["-moz-focus-inner","-moz-focus-outer","-moz-list-bullet","-moz-meter-bar","-moz-placeholder","-moz-progress-bar","-moz-range-progress","-moz-range-thumb","-moz-range-track","-ms-browse","-ms-check","-ms-clear","-ms-expand","-ms-fill","-ms-fill-lower","-ms-fill-upper","-ms-reveal","-ms-thumb","-ms-ticks-after","-ms-ticks-before","-ms-tooltip","-ms-track","-ms-value","-webkit-color-swatch","-webkit-color-swatch-wrapper","-webkit-calendar-picker-indicator","-webkit-clear-button","-webkit-date-and-time-value","-webkit-datetime-edit","-webkit-datetime-edit-ampm-field","-webkit-datetime-edit-day-field","-webkit-datetime-edit-fields-wrapper","-webkit-datetime-edit-hour-field","-webkit-datetime-edit-millisecond-field","-webkit-datetime-edit-minute-field","-webkit-datetime-edit-month-field","-webkit-datetime-edit-second-field","-webkit-datetime-edit-text","-webkit-datetime-edit-week-field","-webkit-datetime-edit-year-field","-webkit-details-marker","-webkit-distributed","-webkit-file-upload-button","-webkit-input-placeholder","-webkit-keygen-select","-webkit-meter-bar","-webkit-meter-even-less-good-value","-webkit-meter-inner-element","-webkit-meter-optimum-value","-webkit-meter-suboptimum-value","-webkit-meter-horizontal-bar","-webkit-meter-horizontal-optimum-value","-webkit-meter-horizontal-suboptimal-value","-webkit-meter-horizontal-even-less-good-value","-webkit-meter-vertical-bar","-webkit-meter-vertical-optimum-value","-webkit-meter-vertical-suboptimal-value","-webkit-meter-vertical-even-less-good-value","-webkit-progress-bar","-webkit-progress-inner-element","-webkit-progress-value","-webkit-search-cancel-button","-webkit-search-decoration","-webkit-search-results-button","-webkit-search-results-decoration","-webkit-slider-runnable-track","-webkit-slider-thumb","-webkit-textfield-decoration-container","-webkit-validation-bubble","-webkit-validation-bubble-arrow","-webkit-validation-bubble-arrow-clipper","-webkit-validation-bubble-heading","-webkit-validation-bubble-message","-webkit-validation-bubble-text-block"]),mm=new Set(["content","shadow"]),th=Ce(Bc,xx,Ev,mm,["backdrop","checkmark","clear-icon","color-swatch","cue","details-content","field-component","field-separator","field-text","file-selector-button","grammar-error","highlight","marker","picker-icon","picker","placeholder","scroll-button","scroll-marker-group","scroll-marker","search-text","selection","slider-fill","slider-thumb","slider-track","slotted","spelling-error","step-control","step-down","step-up","target-text","view-transition-group","view-transition-image-pair","view-transition-new","view-transition-old","view-transition"]),qc=new Set(["0%","100%"]),Wc=new Set(["nth-column","nth-last-column","nth-last-of-type","nth-of-type"]),Ri=new Set(["nth-child","nth-last-child"]),iN=new Set(["first","right","left","blank","recto","verso","nth"]),Pv=new Set(["dir","lang"]),jv=new Set(["ltr","rtl"]),Iv=new Set(["has","is","matches","not","where"]),hm=new Set(["-moz-any","-webkit-any","contains","drop","focus-ring","fullscreen-ancestor","matches","popup-open","top-layer","user-error"]),Sx=new Set(["-khtml-drag","-moz-any","-moz-any-link","-moz-bound-element","-moz-broken","-moz-dir","-moz-drag-over","-moz-empty-except-children-with-localname","-moz-first-node","-moz-focusring","-moz-full-screen","-moz-full-screen-ancestor","-moz-is-html","-moz-last-node","-moz-loading","-moz-meter-optimum","-moz-meter-sub-optimum","-moz-meter-sub-sub-optimum","-moz-only-whitespace","-moz-placeholder","-moz-read-only","-moz-read-write","-moz-submit-invalid","-moz-suppressed","-moz-table-border-nonzero","-moz-ui-invalid","-moz-ui-valid","-moz-user-disabled","-moz-window-inactive","-ms-fullscreen","-ms-input-placeholder","-webkit-drag","-webkit-any","-webkit-any-link","-webkit-autofill","-webkit-full-screen","-webkit-full-screen-ancestor"]),Ov=new Set(["horizontal","vertical","decrement","increment","start","end","double-button","single-button","no-button","corner-present","window-inactive"]),Cx=new Set(["buffering","muted","paused","playing","seeking","stalled","volume-locked"]),oN=Ce(Wc,Pv,Iv,Ri,Cx,Sx,hm,["active-view-transition-type","active-view-transition","active","any-link","autofill","blank","checked","current","default","defined","disabled","empty","enabled","even-less-good-value","first-child","first-of-type","focus-visible","focus-within","focus","fullscreen","future","has-slotted","heading","high-value","host-context","host","hover","in-range","indeterminate","invalid","last-child","last-of-type","link","low-value","modal","only-child","only-of-type","open","optimal-value","optional","out-of-range","past","picture-in-picture","placeholder-shown","popover-open","read-only","read-write","required","root","scope","state","suboptimal-value","target","unchecked","unresolved","user-invalid","user-valid","valid","visited","window-inactive"])}),aN,Tv,Dv,Pw,fm,Lv,jw,_c,gm,Iw,Ow,zx,no,jr=y(()=>{aN=new Set(["translateX","translateY","translateZ","scaleX","scaleY","scaleZ","rotateX","rotateY","rotateZ","skewX","skewY"]),Tv=new Set(["hsl","hsla","hwb"]),Dv=new Set(["lch","oklch"]),Pw=new Set([...Tv,...Dv]),fm=new Set(["oklab","oklch"]),Lv=new Set(["lab","lch"]),jw=new Set([...fm,...Lv]),_c=new Set(["hsla","rgba"]),gm=new Set(["hsl","rgb"]),Iw=new Set([..._c,...gm]),Ow=new Set(["color","color-contrast","color-mix","contrast-color","device-cmyk","hsl","hsla","hwb","lab","lch","light-dark","oklab","oklch","rgb","rgba"]),zx=new Set(["abs","acos","asin","atan","calc","cos","exp","sign","sin","sqrt","tan"]),no=new Set([...zx,"atan2","calc-size","clamp","hypot","log","max","min","mod","pow","rem","round"])}),Te,Tw,Dw,sN,Lw,lN,Xr,Ax,Nx,Ex,uN,bm,Px,vm,jx,cN,Ix,Ox,Tx,Dx,ym,Lx,Fw,Uc,Fx,Mx,Rx,$x,Bx,Mw,dN,pN,mN,hN,fN,wm,qx,Wx,gN,bN,$i,vN,_x,Ux,yN,Vc,yn,wN,Ke=y(()=>{to(),Te=new Set(["initial","inherit","revert","revert-layer","unset"]),Tw=new Set(["block","inline","run-in"]),Dw=new Set(["flow","flow-root","table","flex","grid","ruby"]),sN=new Set(["inline-block","inline-table","inline-flex","inline-grid"]),Lw=new Set(["list-item"]),lN=Ce(Te,["caption","icon","menu","message-box","small-caption","status-bar"]),Xr=Ce(Te,["serif","sans-serif","cursive","fantasy","monospace","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","emoji","math","fangsong"]),Ax=new Set(["-apple-system","-apple-system-headline","-apple-system-body","-apple-system-subheadline","-apple-system-footnote","-apple-system-caption1","-apple-system-caption2","-apple-system-short-headline","-apple-system-short-body","-apple-system-short-subheadline","-apple-system-short-footnote","-apple-system-short-caption1","-apple-system-tall-body","-apple-system-title0","-apple-system-title1","-apple-system-title2","-apple-system-title3","-apple-system-title4"]),Nx=new Set(["-moz-button","-moz-desktop","-moz-dialog","-moz-document","-moz-field","-moz-fixed","-moz-info","-moz-list","-moz-pull-down-menu","-moz-window","-moz-workspace"]),Ex=new Set(["-webkit-body","-webkit-control","-webkit-mini-control","-webkit-pictograph","-webkit-small-control","-webkit-standard"]),uN=Ce(Ax,Nx,Ex),bm=new Set(["bolder","lighter"]),Px=new Set(["normal","bold"]),vm=Ce(bm,Px),jx=new Set(["100","200","300","400","500","600","700","800","900"]),cN=new Set(["400","700"]),Ix=Ce(Te,vm,jx),Ox=Ce(Te,["normal","italic","oblique"]),Tx=Ce(Te,["normal","none","small-caps"]),Dx=Ce(Te,["semi-condensed","condensed","extra-condensed","ultra-condensed","semi-expanded","expanded","extra-expanded","ultra-expanded"]),ym=Ce(Te,["xx-small","x-small","small","medium","large","x-large","xx-large","xxx-large","larger","smaller","math","-konq-xxx-large","-webkit-xxx-large"]),Lx=Ce(Te,["normal"]),Fw=Ce(Te,Ox,Tx,Ix,Dx,ym,Lx,Xr),Uc=Ce(Te,["none"]),Fx=Ce(Te,["linear","ease","ease-in","ease-in-out","ease-out","step-start","step-end","steps","cubic-bezier"]),Mx=new Set(["infinite"]),Rx=Ce(Te,["normal","reverse","alternate","alternate-reverse"]),$x=new Set(["none","forwards","backwards","both"]),Bx=Ce(Te,["running","paused"]),Mw=Ce(Te,Uc,Fx,Mx,Rx,$x,Bx),dN=Ce(Te,["auto","span"]),pN=Ce(Te,["auto","span"]),mN=Ce(Te,["auto","span"]),hN=Ce(Te,["none"]),fN=Ce(Te,["none"]),wm=Ce(Te,["none","disc","circle","square","decimal","decimal-leading-zero","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","lower-alpha","upper-alpha","lower-armenian","upper-armenian","lower-greek","upper-greek","lower-hexadecimal","upper-hexadecimal","lower-latin","upper-latin","lower-norwegian","upper-norwegian","lower-roman","upper-roman","afar","amharic","amharic-abegede","arabic-indic","armenian","bengali","cambodian","devanagari","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","georgian","gujarati","gurmukhi","hangul","hangul-consonant","hebrew","hiragana","hiragana-iroha","japanese-formal","japanese-informal","kannada","katakana","katakana-iroha","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","lao","malayalam","mongolian","myanmar","oriya","oromo","persian","sidama","somali","simp-chinese-formal","simp-chinese-informal","tamil","telugu","thai","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","trad-chinese-formal","trad-chinese-informal","urdu","disclosure-open","disclosure-closed","asterisks","binary","footnotes","octal"]),qx=Ce(Te,["inside","outside"]),Wx=Ce(Te,["none"]),gN=Ce(Te,wm,qx,Wx),bN=new Set(["optimizeSpeed","optimizeQuality","optimizeLegibility","geometricPrecision","currentColor","crispEdges","visiblePainted","visibleFill","visibleStroke","sRGB","linearRGB"]),$i=new Set(["from","to"]),vN=new Set(["contain","cover","entry","entry-crossing","exit","exit-crossing"]),_x=new Set(["-moz-buttondefault","-moz-buttonhoverface","-moz-buttonhovertext","-moz-cellhighlight","-moz-cellhighlighttext","-moz-combobox","-moz-comboboxtext","-moz-dialog","-moz-dialogtext","-moz-dragtargetzone","-moz-eventreerow","-moz-field","-moz-fieldtext","-moz-html-cellhighlight","-moz-html-cellhighlighttext","-moz-mac-accentdarkestshadow","-moz-mac-accentdarkshadow","-moz-mac-accentface","-moz-mac-accentlightesthighlight","-moz-mac-accentlightshadow","-moz-mac-accentregularhighlight","-moz-mac-accentregularshadow","-moz-mac-chrome-active","-moz-mac-chrome-inactive","-moz-mac-focusring","-moz-mac-menuselect","-moz-mac-menushadow","-moz-mac-menutextselect","-moz-menubarhovertext","-moz-menubartext","-moz-menuhover","-moz-menuhovertext","-moz-nativehyperlinktext","-moz-oddtreerow","-moz-win-accentcolor","-moz-win-accentcolortext","-moz-win-communicationstext","-moz-win-mediatext","-ms-hotlight"]),Ux=new Set(["activeborder","activecaption","appworkspace","background","buttonhighlight","buttonshadow","captiontext","inactiveborder","inactivecaption","inactivecaptiontext","infobackground","infotext","menu","menutext","scrollbar","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","window","windowframe","windowtext"]),yN=Ce(_x,Ux,["accentcolor","accentcolortext","activetext","buttonborder","buttonface","buttontext","canvas","canvastext","field","fieldtext","graytext","highlight","highlighttext","linktext","mark","marktext","selecteditem","selecteditemtext","visitedtext"]),Vc=new Set(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","green","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"]),yn=new Map([["caption-side",new Map([["top","block-start"],["bottom","block-end"]])],["clear",new Map([["left","inline-start"],["right","inline-end"]])],["float",new Map([["left","inline-start"],["right","inline-end"]])],["offset-anchor",new Map([["top","block-start"],["bottom","block-end"],["left","inline-start"],["right","inline-end"]])],["offset-position",new Map([["top","block-start"],["bottom","block-end"],["left","inline-start"],["right","inline-end"]])],["resize",new Map([["horizontal","inline"],["vertical","block"]])],["text-align",new Map([["left","start"],["right","end"]])],["text-align-last",new Map([["left","start"],["right","end"]])]]),wN=new Map([...yn].map(([e,t])=>[e,new Set(t.values())]))}),Bi,Fv,Qc,Rw,kN,io=y(()=>{to(),Bi=new Set(["cap","ch","em","ex","ic","lh","rcap","rch","rem","rex","ric","rlh","dvb","dvh","dvi","dvmax","dvmin","dvw","lvb","lvh","lvi","lvmax","lvmin","lvw","svb","svh","svi","svmax","svmin","svw","vb","vh","vi","vw","vmin","vmax","vm","px","mm","cm","in","pt","pc","q","mozmm","fr","cqw","cqh","cqi","cqb","cqmin","cqmax"]),Fv=new Set(["dpi","dpcm","dppx","x"]),Qc=new Map([["vw",{horizontalInline:"vi",verticalInline:"vb"}],["vh",{horizontalInline:"vb",verticalInline:"vi"}],["svw",{horizontalInline:"svi",verticalInline:"svb"}],["svh",{horizontalInline:"svb",verticalInline:"svi"}],["lvw",{horizontalInline:"lvi",verticalInline:"lvb"}],["lvh",{horizontalInline:"lvb",verticalInline:"lvi"}],["dvw",{horizontalInline:"dvi",verticalInline:"dvb"}],["dvh",{horizontalInline:"dvb",verticalInline:"dvi"}],["cqw",{horizontalInline:"cqi",verticalInline:"cqb"}],["cqh",{horizontalInline:"cqb",verticalInline:"cqi"}]]),Rw=new Set([...Qc.values()].flatMap(Object.values)),kN=Ce(Bi,Fv,["%","s","ms","deg","grad","turn","rad","Hz","kHz"])}),$w,xN=y(()=>{$w=new Set(["aural","braille","embossed","handheld","projection","speech","tty","tv"])}),SN,xB=y(()=>{SN=new Set(["-webkit-","-moz-","-ms-","-o-","-xv-","-apple-","-wap-","-khtml-"])}),Vx,Se,CN,dr,Q,V=y(()=>{Tt(),jr(),Ke(),io(),Pr(),xN(),ro(),xB(),Vx=[...Wc.values(),...Ri.values()].join("|"),Se={containerName:/^container$/i,customMediaName:/^custom-media$/i,importName:/^import$/i,keyframesName:/^(-(o|moz|ms|webkit)-)?keyframes$/i,layerName:/^layer$/i,mediaName:/^media$/i,pageName:/^page$/i,propertyName:/^property$/i,scopeName:/^scope$/i,unsupportedNestingNames:new RegExp(`^((?!${[...Rc.values()].join("|")}).)*$`,"i")},CN={syntaxName:/^syntax$/i},dr={propertyAcceptingNames:new RegExp(`^(?:${[...QA].join("|")})$`,"i"),containerNameAndShorthandName:/^container(-name)?$/i,custom:/^--/,fontFamilyAndShorthandName:/^font(-family)?$/i,fontWeightAndShorthandName:/^font(-weight)?$/i,gridAreaNames:/^(?:grid|grid-template|grid-template-areas)$/i,layoutMappings:new RegExp(`^(?:${[...yn.keys()].join("|")})$`,"i")},Q={aNPlusBNotationPseudoClass:new RegExp(`\\b:(?:${Vx})\\(`,"i"),annotation:/!/,attributeSelector:/\[/,attributeSelectorWithOperator:/\[.*=/,axisUnit:new RegExp(`\\d(?:${[...Qc.keys(),...Rw].join("|")})\\b`,"i"),classSelector:/\./,colorFunction:new RegExp(`\\b(?:${[...Ow.values()].join("|")})\\(`,"i"),legacyNotationColorFunction:new RegExp(`\\b(?:${[...Iw.values()].join("|")})\\(`,"i"),combinator:/[>+~\s]/,customProperty:/--/,deprecatedMediaType:new RegExp(`\\b(?:${[...$w].join("|")})\\b`,"i"),deprecatedPseudo:new RegExp(`\\:(?:${[...hm,...mm].join("|")})\\b`,"i"),deprecatedTypeSelector:new RegExp(`\\b(?:${[...dm,...Ew].join("|")})\\b`,"i"),displayKeyword:new RegExp(`\\b(?:${[...Lw,...Tw,...Dw,...sN].join("|")})\\b`,"i"),dimension:/\d[%\w-]/,dirPseudoClass:/:dir\(/i,grayFunction:/\bgray\(/i,hexColor:/#[\da-z]+/i,hueColorFunction:new RegExp(`\\b(?:${[...Pw.values()].join("|")})\\(`,"i"),lightnessColorFunction:new RegExp(`\\b(?:${[...jw.values()].join("|")})\\(`,"i"),idClassAttributeSelector:/[#.[]/,idSelector:/#/,keyword:/(?<![0-9])[a-z]+(?!\()/i,layerFunction:/\blayer\(/i,layoutFlowRelativeKeyword:new RegExp(`\\b(?:${[...new Set([...yn.values()].flatMap(e=>[...e.values()]))].join("|")})\\b`,"i"),layoutPhysicalKeyword:new RegExp(`\\b(?:${[...new Set([...yn.values()].flatMap(e=>[...e.keys()]))].join("|")})\\b`,"i"),mathFunction:new RegExp(`\\b(?:${[...no.values()].join("|")})\\(`,"i"),namedFontWeight:new RegExp(`\\b(?:${[...new Set([...vm,...bm])].join("|")})\\b`,"i"),numericFontWeight:new RegExp(`\\b(?:${[...cN.values()].join("|")})\\b`),namedKeyframeSelectorWithPercentageEquivalent:new RegExp(`\\b(?:${[...$i.values()].join("|")})\\b`,"i"),percentageKeyframeSelectorWithNamedEquivalent:new RegExp(`(?:^|[,\\s])(?:${[...qc.values()].join("|")})`),multipleValues:/\s|,/,namedColor:new RegExp(`\\b(?:${[...Vc.values()].join("|")})\\b`,"i"),nestingSelector:/&/,notPseudoClass:/:not\(/i,operator:/[+-]/,prefix:new RegExp(`(?:${[...SN].join("|")})`,"i"),pseudo:/:/,pseudoElement:/::/,time:/\dm?s/i,typeSelector:/(?:[^.#[:a-z-]|^)[a-z]/i,universalSelector:/\*/,urlFunction:/\burl\(/i,validHex:/#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})(?:$|[^\da-f])/i,varFunction:/\bvar\(/i,withAlphaAliasColorFunction:new RegExp(`\\b(?:${[..._c.values()].join("|")})\\(`,"i"),withoutAlphaAliasColorFunction:new RegExp(`\\b(?:${[...gm.values()].join("|")})\\(`,"i"),zeroLength:new RegExp(`\\b[+-]?(?:0+|0*\\.\\d+)(?:${[...Bi.values()].join("|")})\\b`,"i")}});function zN(e){return!!(e.startsWith("$")||e.includes(".$"))}var AN=y(()=>{});function ut(e){let t=e.prop,r=e.parent;return!(zN(t)||t[0]==="@"&&t[1]!=="{"||r&&r.type==="atrule"&&r.raws.afterName===":"||r&&it(r)&&r.selector&&r.selector.startsWith("#")&&r.selector.endsWith("()")||r&&it(r)&&r.selector&&r.selector[r.selector.length-1]===":"&&r.selector.substring(0,2)!=="--"||"extend"in e&&e.extend)}var ct=y(()=>{fe(),AN()}),NN={};A(NN,{default:()=>EN});function SB(e,t){return e.name.toLowerCase()!=="font-feature-values"?!1:zv.has(t.name.toLowerCase())}function CB(e,t,r){return e.name.toLowerCase()==="page"&&Cv.has(r.name.toLowerCase())&&ZA.has(t)}function zB(e,t){return e.name.toLowerCase()==="page"&&JA.has(t)}var bo,Hh,Qx,vo,EN,AB=y(()=>{ro(),Pr(),V(),fe(),et(),ct(),j(),O(),D(),bo="at-rule-descriptor-no-unknown",Hh=I(bo,{rejected:(e,t)=>`Unknown descriptor "${t}" for at-rule "${e}"`}),Qx={url:"https://stylelint.io/user-guide/rules/at-rule-descriptor-no-unknown"},vo=e=>(t,r)=>{if(!T(r,bo,{actual:e}))return;let n=r.stylelint.lexer;t.walkAtRules(Se.unsupportedNestingNames,i=>{Xe(i)&&i.walkDecls(o=>{if(!ut(o))return;let{prop:a,value:s,parent:l}=o;if(zB(i,a)||l&&Ie(l)&&(CB(i,a,l)||SB(i,l)))return;let{error:u}=n.matchAtruleDescriptor(i.name,a,s);if(!u||u.name!=="SyntaxReferenceError"||!u.message.startsWith("Unknown at-rule descriptor"))return;let c=`@${i.name}`;P({message:Hh.rejected,messageArgs:[c,a],node:o,index:0,endIndex:a.length,ruleName:bo,result:r})})})},vo.ruleName=bo,vo.messages=Hh,vo.meta=Qx,EN=vo}),PN={};A(PN,{default:()=>jN});var yo,Jh,Yx,wo,jN,NB=y(()=>{V(),Z(),et(),ct(),j(),O(),D(),yo="at-rule-descriptor-value-no-unknown",Jh=I(yo,{rejected:(e,t)=>`Unknown value "${t}" for descriptor "${e}"`}),Yx={url:"https://stylelint.io/user-guide/rules/at-rule-descriptor-value-no-unknown"},wo=e=>(t,r)=>{if(!T(r,yo,{actual:e}))return;let n=r.stylelint.lexer;t.walkAtRules(Se.unsupportedNestingNames,i=>{Xe(i)&&i.walkDecls(o=>{if(!ut(o))return;let{prop:a,value:s}=o,{error:l}=n.matchAtruleDescriptor(i.name,a,s);if(!l||l.name!=="SyntaxMatchError")return;let u=ie(o),c=u+s.length;P({message:Jh.rejected,messageArgs:[a,s],node:o,index:u,endIndex:c,ruleName:yo,result:r})})})},wo.ruleName=yo,wo.messages=Jh,wo.meta=Yx,jN=wo}),IN={};A(IN,{default:()=>ON});var ko,Zh,Gx,Bn,ON,EB=y(()=>{q(),et(),Le(),j(),O(),D(),ko="at-rule-disallowed-list",Zh=I(ko,{rejected:e=>`Disallowed at-rule "${e}"`}),Gx={url:"https://stylelint.io/user-guide/rules/at-rule-disallowed-list"},Bn=e=>(t,r)=>{if(!T(r,ko,{actual:e,possible:[$,_]}))return;let n=[e].flat();t.walkAtRules(i=>{let o=i.name;if(!Xe(i)||!Pe(o,n))return;let a=`@${i.name}`;P({message:Zh.rejected,messageArgs:[a],node:i,result:r,ruleName:ko,word:a})})},Bn.primaryOptionArray=!0,Bn.ruleName=ko,Bn.messages=Zh,Bn.meta=Gx,ON=Bn});function PB(e,t){let{raws:r}=e;return typeof r.before!="string"||(r.before=/\r?\n/.test(r.before)?r.before.replace(/(\r?\n)/,`${t}$1`):t.repeat(2)+r.before),e}var jB=y(()=>{});function IB(e,t){return e.raws.before=e.raws.before?e.raws.before.replace(/(\r?\n\s*\n)+/g,t):"",e}var OB=y(()=>{});function ud({node:e,newline:t,action:r}){switch($e(t),r){case"add":PB(e,t);break;case"remove":IB(e,t);break;default:throw new TypeError(`Unknown action ${r}`)}}var cd=y(()=>{jB(),q(),OB()});function qd(e){return e.source&&e.source.start&&e.source.start.line}function $r(e){if(e===void 0)return;let t=e.prev();if(!t||t.type!=="comment")return t;if(qd(e)===qd(t))return $r(t);let r=t.prev();return r&&qd(t)===qd(r)?$r(t):t}var Pn=y(()=>{});function dd(e){return e===""||e===void 0?!1:TN.test(e)}var TN,pd=y(()=>{TN=/\n[\r\t ]*\n/});function Wd(e){return e&&e.source&&e.source.start&&e.source.start.line}function DN(e){if(e===void 0)return;let t=e.next();return!t||t.type!=="comment"?t:Wd(e)===Wd(t)||Wd(t)===Wd(t.next())?DN(t):t}var TB=y(()=>{});function Kx(e,t){let r=e&&e.source&&e.source.end&&e.source.end.line,n=t&&t.source&&t.source.start&&t.source.start.line;return r===n}function Bw(e){if(!Kr(e))return!1;let t=$r(e);if(Kx(t,e))return!0;let r=DN(e);if(r&&Kx(e,r))return!0;let n=e.parent;return n!==void 0&&!ur(n)&&n.index(e)===0&&e.raws.before!==void 0&&!e.raws.before.includes(`
2
+ `)}var qw=y(()=>{fe(),TB(),Pn()});function qi(e){let t=e.prev();return!t||t.type!=="comment"?!1:!Bw(t)}var rh=y(()=>{qw()});function Yc(e){return e.nodes!==void 0}var nh=y(()=>{});function Mv(e){if(e.type!=="atrule")return!1;let t=$r(e);return t===void 0?!1:Ie(t)&&!Yc(t)&&!Yc(e)}var LN=y(()=>{Pn(),nh(),fe()});function Hx(e){if(!Mv(e))return!1;let t=$r(e);return t&&Ie(t)?t.name===e.name:!1}var DB=y(()=>{Pn(),fe(),LN()});function Br(e){let t=e.parent;if(t===void 0||ur(t)&&!LB(t))return!1;if(e===t.first)return!0;let r=t.nodes;if(!r)return!1;let n=r[0];if(!n||!Kr(n)||typeof n.raws.before=="string"&&n.raws.before.includes(`
3
+ `)||!ox(n)||!n.source.start)return!1;let i=n.source.start.line;if(!n.source.end||i!==n.source.end.line)return!1;for(let[o,a]of r.entries())if(o!==0){if(a===e)return!0;if(!Kr(a)||ox(a)&&a.source.end&&a.source.end.line!==i)return!1}return!1}function LB({parent:e}){return!!(e&&xv(e))}var md=y(()=>{fe()});function ih(e){if(ur(e))return!1;let t=e.parent;return t?ur(t)&&e===t.first:!1}var oh=y(()=>{fe()}),FN={};A(FN,{default:()=>MN});function FB(e){let t=$r(e);return t&&Ie(t)&&t.name===e.name}var xo,_d,Jx,So,MN,MB=y(()=>{q(),cd(),Pn(),pd(),rh(),fe(),LN(),DB(),md(),oh(),et(),H(),j(),O(),D(),xo="at-rule-empty-line-before",_d=I(xo,{expected:"Expected empty line before at-rule",rejected:"Expected no empty line before at-rule"}),Jx={url:"https://stylelint.io/user-guide/rules/at-rule-empty-line-before",fixable:!0},So=(e,t,r)=>(n,i)=>{if(!T(i,xo,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["after-same-name","inside-block","blockless-after-same-name-blockless","blockless-after-blockless","first-nested"],ignore:["after-comment","first-nested","inside-block","blockless-after-same-name-blockless","blockless-after-blockless"],ignoreAtRules:[$,_]},optional:!0}))return;let o=e;n.walkAtRules(a=>{let s=a.parent&&a.parent.type!=="root";if(ih(a)||!Xe(a)||L(t,"ignoreAtRules",a.name)||L(t,"ignore","blockless-after-blockless")&&Mv(a)||L(t,"ignore","first-nested")&&Br(a)||L(t,"ignore","blockless-after-same-name-blockless")&&Hx(a)||L(t,"ignore","inside-block")&&s||L(t,"ignore","after-comment")&&qi(a))return;let l=dd(a.raws.before),u=o==="always";if((L(t,"except","after-same-name")&&FB(a)||L(t,"except","inside-block")&&s||L(t,"except","first-nested")&&Br(a)||L(t,"except","blockless-after-blockless")&&Mv(a)||L(t,"except","blockless-after-same-name-blockless")&&Hx(a))&&(u=!u),u===l)return;let c=u?_d.expected:_d.rejected,d=u?"add":"remove";P({message:c,messageArgs:[],node:a,result:i,ruleName:xo,fix:{apply:()=>ud({node:a,newline:r.newline,action:d}),node:a.parent}})})},So.ruleName=xo,So.messages=_d,So.meta=Jx,MN=So}),RB=G(()=>{"use strict"}),RN=G(()=>{}),Ww=G((e,t)=>{"use strict";var r=RB(),n=RN(),i=class $N extends Error{constructor(a,s,l,u,c,d){super(a),this.name="CssSyntaxError",this.reason=a,c&&(this.file=c),u&&(this.source=u),d&&(this.plugin=d),typeof s<"u"&&typeof l<"u"&&(typeof s=="number"?(this.line=s,this.column=l):(this.line=s.line,this.column=s.column,this.endLine=l.line,this.endColumn=l.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,$N)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(){return""}toString(){let a=this.showSourceCode();return a&&(a=`
4
4
 
5
5
  `+a+`
6
- `),this.name+": "+this.message+a}};t.exports=i,i.default=i}),UN=G((e,t)=>{"use strict";var r=/(<)(\/?style\b)/gi,n=/(<)(!--)/g;function i(l){return typeof l!="string"||!l.includes("<")?l:l.replace(r,"\\3c $2").replace(n,"\\3c $2")}var o={after:`
6
+ `),this.name+": "+this.message+a}};t.exports=i,i.default=i}),BN=G((e,t)=>{"use strict";var r=/(<)(\/?style\b)/gi,n=/(<)(!--)/g;function i(l){return typeof l!="string"||!l.includes("<")?l:l.replace(r,"\\3c $2").replace(n,"\\3c $2")}var o={after:`
7
7
  `,beforeClose:`
8
8
  `,beforeComment:`
9
9
  `,beforeDecl:`
@@ -14,25 +14,25 @@
14
14
  `)&&(c=c.replace(/[^\n]+$/,"")),!1}),typeof c>"u"?c=this.raw(u,null,"beforeDecl"):c&&(c=c.replace(/\S/g,"")),c}rawBeforeDecl(l,u){let c;return l.walkDecls(d=>{if(typeof d.raws.before<"u")return c=d.raws.before,c.includes(`
15
15
  `)&&(c=c.replace(/[^\n]+$/,"")),!1}),typeof c>"u"?c=this.raw(u,null,"beforeRule"):c&&(c=c.replace(/\S/g,"")),c}rawBeforeOpen(l){let u;return l.walk(c=>{if(c.type!=="decl"&&(u=c.raws.between,typeof u<"u"))return!1}),u}rawBeforeRule(l){let u;return l.walk(c=>{if(c.nodes&&(c.parent!==l||l.first!==c)&&typeof c.raws.before<"u")return u=c.raws.before,u.includes(`
16
16
  `)&&(u=u.replace(/[^\n]+$/,"")),!1}),u&&(u=u.replace(/\S/g,"")),u}rawColon(l){let u;return l.walkDecls(c=>{if(typeof c.raws.between<"u")return u=c.raws.between.replace(/[^\s:]/g,""),!1}),u}rawEmptyBody(l){let u;return l.walk(c=>{if(c.nodes&&c.nodes.length===0&&(u=c.raws.after,typeof u<"u"))return!1}),u}rawIndent(l){if(l.raws.indent)return l.raws.indent;let u;return l.walk(c=>{let d=c.parent;if(d&&d!==l&&d.parent&&d.parent===l&&typeof c.raws.before<"u"){let p=c.raws.before.split(`
17
- `);return u=p[p.length-1],u=u.replace(/\S/g,""),!1}}),u}rawSemicolon(l){let u;return l.walk(c=>{if(c.nodes&&c.nodes.length&&c.last.type==="decl"&&(u=c.raws.semicolon,typeof u<"u"))return!1}),u}rawValue(l,u){let c=l[u],d=l.raws[u];return d&&d.value===c?d.raw:c}root(l){if(this.body(l),l.raws.after){let u=l.raws.after,c=l.parent&&l.parent.type==="document";this.builder(c?u:i(u))}}rule(l){this.block(l,this.rawValue(l,"selector")),l.raws.ownSemicolon&&this.builder(i(l.raws.ownSemicolon),l,"end")}stringify(l,u){if(!this[l.type])throw new Error("Unknown AST node type "+l.type+". Maybe you need to change PostCSS stringifier.");this[l.type](l,u)}};t.exports=s,s.default=s}),Vw=G((e,t)=>{"use strict";var r=UN();function n(i,o){new r(o).stringify(i)}t.exports=n,n.default=n}),Qw=G((e,t)=>{"use strict";t.exports.isClean=Symbol("isClean"),t.exports.my=Symbol("my")}),sh=G((e,t)=>{"use strict";var r=Uw(),n=UN(),i=Vw(),{isClean:o,my:a}=Qw();function s(c,d){let p=new c.constructor;for(let m in c){if(!Object.prototype.hasOwnProperty.call(c,m)||m==="proxyCache")continue;let v=c[m],h=typeof v;m==="parent"&&h==="object"?d&&(p[m]=d):m==="source"?p[m]=v:Array.isArray(v)?p[m]=v.map(b=>s(b,p)):(h==="object"&&v!==null&&(v=s(v)),p[m]=v)}return p}function l(c,d){if(d&&typeof d.offset<"u")return d.offset;let p=1,m=1,v=0;for(let h=0;h<c.length;h++){if(m===d.line&&p===d.column){v=h;break}c[h]===`
17
+ `);return u=p[p.length-1],u=u.replace(/\S/g,""),!1}}),u}rawSemicolon(l){let u;return l.walk(c=>{if(c.nodes&&c.nodes.length&&c.last.type==="decl"&&(u=c.raws.semicolon,typeof u<"u"))return!1}),u}rawValue(l,u){let c=l[u],d=l.raws[u];return d&&d.value===c?d.raw:c}root(l){if(this.body(l),l.raws.after){let u=l.raws.after,c=l.parent&&l.parent.type==="document";this.builder(c?u:i(u))}}rule(l){this.block(l,this.rawValue(l,"selector")),l.raws.ownSemicolon&&this.builder(i(l.raws.ownSemicolon),l,"end")}stringify(l,u){if(!this[l.type])throw new Error("Unknown AST node type "+l.type+". Maybe you need to change PostCSS stringifier.");this[l.type](l,u)}};t.exports=s,s.default=s}),_w=G((e,t)=>{"use strict";var r=BN();function n(i,o){new r(o).stringify(i)}t.exports=n,n.default=n}),Uw=G((e,t)=>{"use strict";t.exports.isClean=Symbol("isClean"),t.exports.my=Symbol("my")}),ah=G((e,t)=>{"use strict";var r=Ww(),n=BN(),i=_w(),{isClean:o,my:a}=Uw();function s(c,d){let p=new c.constructor;for(let m in c){if(!Object.prototype.hasOwnProperty.call(c,m)||m==="proxyCache")continue;let v=c[m],h=typeof v;m==="parent"&&h==="object"?d&&(p[m]=d):m==="source"?p[m]=v:Array.isArray(v)?p[m]=v.map(b=>s(b,p)):(h==="object"&&v!==null&&(v=s(v)),p[m]=v)}return p}function l(c,d){if(d&&typeof d.offset<"u")return d.offset;let p=1,m=1,v=0;for(let h=0;h<c.length;h++){if(m===d.line&&p===d.column){v=h;break}c[h]===`
18
18
  `?(p=1,m+=1):p+=1}return v}var u=class{get proxyOf(){return this}constructor(c={}){this.raws={},this[o]=!1,this[a]=!0;for(let d in c)if(d==="nodes"){this.nodes=[];for(let p of c[d])typeof p.clone=="function"?this.append(p.clone()):this.append(p)}else this[d]=c[d]}addToError(c){if(c.postcssNode=this,c.stack&&this.source&&/\n\s{4}at /.test(c.stack)){let d=this.source;c.stack=c.stack.replace(/\n\s{4}at /,`$&${d.input.from}:${d.start.line}:${d.start.column}$&`)}return c}after(c){return this.parent.insertAfter(this,c),this}assign(c={}){for(let d in c)this[d]=c[d];return this}before(c){return this.parent.insertBefore(this,c),this}clone(c={}){let d=s(this);for(let p in c)d[p]=c[p];return d}cloneAfter(c={}){let d=this.clone(c);return this.parent.insertAfter(this,d),d}cloneBefore(c={}){let d=this.clone(c);return this.parent.insertBefore(this,d),d}error(c,d={}){if(this.source){let{end:p,start:m}=this.rangeBy(d);return this.source.input.error(c,{column:m.column,line:m.line},{column:p.column,line:p.line},d)}return new r(c)}markClean(){this[o]=!0}markDirty(){if(this[o]){this[o]=!1;let c=this;for(;c=c.parent;)c[o]=!1}}next(){if(!this.parent)return;let c=this.parent.index(this);return this.parent.nodes[c+1]}positionBy(c={}){let d=this.source.start;if(c.index)d=this.positionInside(c.index);else if(c.word){let p="document"in this.source.input?this.source.input.document:this.source.input.css,m=p.slice(l(p,this.source.start),l(p,this.source.end)).indexOf(c.word);m!==-1&&(d=this.positionInside(m))}return d}positionInside(c){let d=this.source.start.column,p=this.source.start.line,m="document"in this.source.input?this.source.input.document:this.source.input.css,v=l(m,this.source.start),h=v+c;for(let b=v;b<h;b++)m[b]===`
19
- `?(d=1,p+=1):d+=1;return{column:d,line:p,offset:h}}prev(){if(!this.parent)return;let c=this.parent.index(this);return this.parent.nodes[c-1]}rangeBy(c={}){let d="document"in this.source.input?this.source.input.document:this.source.input.css,p={column:this.source.start.column,line:this.source.start.line,offset:l(d,this.source.start)},m=this.source.end?{column:this.source.end.column+1,line:this.source.end.line,offset:typeof this.source.end.offset=="number"?this.source.end.offset:l(d,this.source.end)+1}:{column:p.column+1,line:p.line,offset:p.offset+1};if(c.word){let v=d.slice(l(d,this.source.start),l(d,this.source.end)).indexOf(c.word);v!==-1&&(p=this.positionInside(v),m=this.positionInside(v+c.word.length))}else c.start?p={column:c.start.column,line:c.start.line,offset:l(d,c.start)}:c.index&&(p=this.positionInside(c.index)),c.end?m={column:c.end.column,line:c.end.line,offset:l(d,c.end)}:typeof c.endIndex=="number"?m=this.positionInside(c.endIndex):c.index&&(m=this.positionInside(c.index+1));return(m.line<p.line||m.line===p.line&&m.column<=p.column)&&(m={column:p.column+1,line:p.line,offset:p.offset+1}),{end:m,start:p}}raw(c,d){return new n().raw(this,c,d)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...c){if(this.parent){let d=this,p=!1;for(let m of c)m===this?p=!0:p?(this.parent.insertAfter(d,m),d=m):this.parent.insertBefore(d,m);p||this.remove()}return this}root(){let c=this;for(;c.parent&&c.parent.type!=="document";)c=c.parent;return c}toJSON(c,d){let p={},m=d==null;d=d||new Map;let v=0;for(let h in this){if(!Object.prototype.hasOwnProperty.call(this,h)||h==="parent"||h==="proxyCache")continue;let b=this[h];if(Array.isArray(b))p[h]=b.map(g=>typeof g=="object"&&g.toJSON?g.toJSON(null,d):g);else if(typeof b=="object"&&b.toJSON)p[h]=b.toJSON(null,d);else if(h==="source"){if(b==null)continue;let g=d.get(b.input);g==null&&(g=v,d.set(b.input,v),v++),p[h]={end:b.end,inputId:g,start:b.start}}else p[h]=b}return m&&(p.inputs=[...d.keys()].map(h=>h.toJSON())),p}toString(c=i){c.stringify&&(c=c.stringify);let d="";return c(this,p=>{d+=p}),d}warn(c,d,p={}){let m={node:this};for(let v in p)m[v]=p[v];return c.warn(d,m)}};t.exports=u,u.default=u}),Yw=G((e,t)=>{"use strict";var r=sh(),n=class extends r{constructor(i){super(i),this.type="comment"}};t.exports=n,n.default=n}),Gw=G((e,t)=>{"use strict";var r=sh(),n=class extends r{get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}constructor(i){i&&typeof i.value<"u"&&typeof i.value!="string"&&(i={...i,value:String(i.value)}),super(i),this.type="decl"}};t.exports=n,n.default=n}),In=G((e,t)=>{"use strict";var r=Yw(),n=Gw(),i=sh(),{isClean:o,my:a}=Qw(),s,l,u,c;function d(v){return v.map(h=>(h.nodes&&(h.nodes=d(h.nodes)),delete h.source,h))}function p(v){if(v[o]=!1,v.proxyOf.nodes)for(let h of v.proxyOf.nodes)p(h)}var m=class VN extends i{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...h){for(let b of h){let g=this.normalize(b,this.last);for(let f of g)this.proxyOf.nodes.push(f)}return this.markDirty(),this}each(h){if(!this.proxyOf.nodes)return;let b=this.getIterator(),g,f;for(;this.indexes[b]<this.proxyOf.nodes.length&&(g=this.indexes[b],f=h(this.proxyOf.nodes[g],g),f!==!1);)this.indexes[b]+=1;return delete this.indexes[b],f}every(h){return this.nodes.every(h)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let h=this.lastEach;return this.indexes[h]=0,h}index(h){return typeof h=="number"?h:(h.proxyOf&&(h=h.proxyOf),this.proxyOf.nodes.indexOf(h))}insertAfter(h,b){let g=this.index(h),f=this.normalize(b,this.proxyOf.nodes[g]).reverse();g=this.index(h);for(let w of f)this.proxyOf.nodes.splice(g+1,0,w);let x;for(let w in this.indexes)x=this.indexes[w],g<x&&(this.indexes[w]=x+f.length);return this.markDirty(),this}insertBefore(h,b){let g=this.index(h),f=g===0?"prepend":!1,x=this.normalize(b,this.proxyOf.nodes[g],f).reverse();g=this.index(h);for(let k of x)this.proxyOf.nodes.splice(g,0,k);let w;for(let k in this.indexes)w=this.indexes[k],g<=w&&(this.indexes[k]=w+x.length);return this.markDirty(),this}normalize(h,b){if(typeof h=="string")h=d(l(h).nodes);else if(typeof h>"u")h=[];else if(Array.isArray(h)){h=h.slice(0);for(let g of h)g.parent&&g.parent.removeChild(g,"ignore")}else if(h.type==="root"&&this.type!=="document"){h=h.nodes.slice(0);for(let g of h)g.parent&&g.parent.removeChild(g,"ignore")}else if(h.type)h=[h];else if(h.prop){if(typeof h.value>"u")throw new Error("Value field is missed in node creation");typeof h.value!="string"&&(h.value=String(h.value)),h=[new n(h)]}else if(h.selector||h.selectors)h=[new c(h)];else if(h.name)h=[new s(h)];else if(h.text)h=[new r(h)];else throw new Error("Unknown node type in node creation");return h.map(g=>(g[a]||VN.rebuild(g),g=g.proxyOf,g.parent&&g.parent.removeChild(g),g[o]&&p(g),g.raws||(g.raws={}),typeof g.raws.before>"u"&&b&&typeof b.raws.before<"u"&&(g.raws.before=b.raws.before.replace(/\S/g,"")),g.parent=this.proxyOf,g))}prepend(...h){h=h.reverse();for(let b of h){let g=this.normalize(b,this.first,"prepend").reverse();for(let f of g)this.proxyOf.nodes.unshift(f);for(let f in this.indexes)this.indexes[f]=this.indexes[f]+g.length}return this.markDirty(),this}push(h){return h.parent=this,this.proxyOf.nodes.push(h),this}removeAll(){for(let h of this.proxyOf.nodes)h.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(h){h=this.index(h),this.proxyOf.nodes[h].parent=void 0,this.proxyOf.nodes.splice(h,1);let b;for(let g in this.indexes)b=this.indexes[g],b>=h&&(this.indexes[g]=b-1);return this.markDirty(),this}some(h){return this.nodes.some(h)}walk(h){return this.each((b,g)=>{let f;try{f=h(b,g)}catch(x){throw b.addToError(x)}return f!==!1&&b.walk&&(f=b.walk(h)),f})}walkAtRules(h,b){return b?h instanceof RegExp?this.walk((g,f)=>{if(g.type==="atrule"&&h.test(g.name))return b(g,f)}):this.walk((g,f)=>{if(g.type==="atrule"&&g.name===h)return b(g,f)}):(b=h,this.walk((g,f)=>{if(g.type==="atrule")return b(g,f)}))}walkComments(h){return this.walk((b,g)=>{if(b.type==="comment")return h(b,g)})}walkDecls(h,b){return b?h instanceof RegExp?this.walk((g,f)=>{if(g.type==="decl"&&h.test(g.prop))return b(g,f)}):this.walk((g,f)=>{if(g.type==="decl"&&g.prop===h)return b(g,f)}):(b=h,this.walk((g,f)=>{if(g.type==="decl")return b(g,f)}))}walkRules(h,b){return b?h instanceof RegExp?this.walk((g,f)=>{if(g.type==="rule"&&h.test(g.selector))return b(g,f)}):this.walk((g,f)=>{if(g.type==="rule"&&g.selector===h)return b(g,f)}):(b=h,this.walk((g,f)=>{if(g.type==="rule")return b(g,f)}))}};m.registerParse=v=>{l=v},m.registerRule=v=>{c=v},m.registerAtRule=v=>{s=v},m.registerRoot=v=>{u=v},t.exports=m,m.default=m,m.rebuild=v=>{v.type==="atrule"?Object.setPrototypeOf(v,s.prototype):v.type==="rule"?Object.setPrototypeOf(v,c.prototype):v.type==="decl"?Object.setPrototypeOf(v,n.prototype):v.type==="comment"?Object.setPrototypeOf(v,r.prototype):v.type==="root"&&Object.setPrototypeOf(v,u.prototype),v[a]=!0,v.nodes&&v.nodes.forEach(h=>{m.rebuild(h)})}}),QN=G((e,t)=>{"use strict";var r=In(),n=class extends r{constructor(i){super(i),this.type="atrule"}append(...i){return this.proxyOf.nodes||(this.nodes=[]),super.append(...i)}prepend(...i){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...i)}};t.exports=n,n.default=n,r.registerAtRule(n)}),Kw=G((e,t)=>{"use strict";var r=In(),n,i,o=class extends r{constructor(a){super({type:"document",...a}),this.nodes||(this.nodes=[])}toResult(a={}){return new n(new i,this,a).stringify()}};o.registerLazyResult=a=>{n=a},o.registerProcessor=a=>{i=a},t.exports=o,o.default=o}),WB=G(()=>{}),_B=G((e,t)=>{"use strict";var r="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",n=i=>{let o="",a=i;for(;a--;)o+=r[Math.random()*64|0];return o};t.exports={nanoid:n}}),YN=G(()=>{}),GN=G(()=>{}),UB=G((e,t)=>{var r=class{};t.exports=r}),Hw=G((e,t)=>{"use strict";var{nanoid:r}=_B(),{isAbsolute:n,resolve:i}=(Zm(),vA(xw)),{SourceMapConsumer:o,SourceMapGenerator:a}=YN(),{fileURLToPath:s,pathToFileURL:l}=GN(),u=Uw(),c=UB(),d=WN(),p=Symbol("lineToIndexCache"),m=!!(o&&a),v=!!(i&&n);function h(g){if(g[p])return g[p];let f=g.css.split(`
20
- `),x=new Array(f.length),w=0;for(let k=0,S=f.length;k<S;k++)x[k]=w,w+=f[k].length+1;return g[p]=x,x}var b=class{get from(){return this.file||this.id}constructor(g,f={}){if(g===null||typeof g>"u"||typeof g=="object"&&!g.toString)throw new Error(`PostCSS received ${g} instead of CSS string`);if(this.css=g.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,f.document&&(this.document=f.document.toString()),f.from&&(!v||/^\w+:\/\//.test(f.from)||n(f.from)?this.file=f.from:this.file=i(f.from)),v&&m){let x=new c(this.css,f);if(x.text){this.map=x;let w=x.consumer().file;!this.file&&w&&(this.file=this.mapResolve(w))}}this.file||(this.id="<input css "+r(6)+">"),this.map&&(this.map.file=this.from)}error(g,f,x,w={}){let k,S,E,C,L;if(f&&typeof f=="object"){let B=f,ie=x;if(typeof B.offset=="number"){C=B.offset;let te=this.fromOffset(C);f=te.line,x=te.col}else f=B.line,x=B.column,C=this.fromLineAndColumn(f,x);if(typeof ie.offset=="number"){E=ie.offset;let te=this.fromOffset(E);S=te.line,k=te.col}else S=ie.line,k=ie.column,E=this.fromLineAndColumn(ie.line,ie.column)}else if(x)C=this.fromLineAndColumn(f,x);else{C=f;let B=this.fromOffset(C);f=B.line,x=B.col}let N=this.origin(f,x,S,k);return N?L=new u(g,N.endLine===void 0?N.line:{column:N.column,line:N.line},N.endLine===void 0?N.column:{column:N.endColumn,line:N.endLine},N.source,N.file,w.plugin):L=new u(g,S===void 0?f:{column:x,line:f},S===void 0?x:{column:k,line:S},this.css,this.file,w.plugin),L.input={column:x,endColumn:k,endLine:S,endOffset:E,line:f,offset:C,source:this.css},this.file&&(l&&(L.input.url=l(this.file).toString()),L.input.file=this.file),L}fromLineAndColumn(g,f){return h(this)[g-1]+f-1}fromOffset(g){let f=h(this),x=f[f.length-1],w=0;if(g>=x)w=f.length-1;else{let k=f.length-2,S;for(;w<k;)if(S=w+(k-w>>1),g<f[S])k=S-1;else if(g>=f[S+1])w=S+1;else{w=S;break}}return{col:g-f[w]+1,line:w+1}}mapResolve(g){return/^\w+:\/\//.test(g)?g:i(this.map.consumer().sourceRoot||this.map.root||".",g)}origin(g,f,x,w){if(!this.map)return!1;let k=this.map.consumer(),S=k.originalPositionFor({column:f,line:g});if(!S.source)return!1;let E;typeof x=="number"&&(E=k.originalPositionFor({column:w,line:x}));let C;n(S.source)?C=l(S.source):C=new URL(S.source,this.map.consumer().sourceRoot||l(this.map.mapFile));let L={column:S.column,endColumn:E&&E.column,endLine:E&&E.line,line:S.line,url:C.toString()};if(C.protocol==="file:")if(s)L.file=s(C);else throw new Error("file: protocol is not available in this PostCSS build");let N=k.sourceContentFor(S.source);return N&&(L.source=N),L}toJSON(){let g={};for(let f of["hasBOM","css","file","id"])this[f]!=null&&(g[f]=this[f]);return this.map&&(g.map={...this.map},g.map.consumerCache&&(g.map.consumerCache=void 0)),g}};t.exports=b,b.default=b,d&&d.registerInput&&d.registerInput(b)}),VB=G((e,t)=>{"use strict";var{dirname:r,relative:n,resolve:i,sep:o}=(Zm(),vA(xw)),{SourceMapConsumer:a,SourceMapGenerator:s}=YN(),{pathToFileURL:l}=GN(),u=Hw(),c=!!(a&&s),d=!!(r&&i&&n&&o),p=class{constructor(m,v,h,b){this.stringify=m,this.mapOpts=h.map||{},this.root=v,this.opts=h,this.css=b,this.originalCSS=b,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}clearAnnotation(){if(this.mapOpts.annotation!==!1){if(this.root){let m;for(let v=this.root.nodes.length-1;v>=0;v--)m=this.root.nodes[v],m.type==="comment"&&m.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(v)}else if(this.css){let m;for(;(m=this.css.lastIndexOf("/*#"))!==-1;){let v=this.css.indexOf("*/",m+3);if(v===-1)break;for(;m>0&&this.css[m-1]===`
21
- `;)m--;this.css=this.css.slice(0,m)+this.css.slice(v+2)}}}}generate(){if(this.clearAnnotation(),d&&c&&this.isMap())return this.generateMap();{let m="";return this.stringify(this.root,v=>{m+=v}),[m]}}};t.exports=p}),lh=G((e,t)=>{"use strict";var r=In(),n,i,o=class extends r{constructor(a){super(a),this.type="root",this.nodes||(this.nodes=[])}normalize(a,s,l){let u=super.normalize(a);if(s){if(l==="prepend")this.nodes.length>1?s.raws.before=this.nodes[1].raws.before:delete s.raws.before;else if(this.first!==s)for(let c of u)c.raws.before=s.raws.before}return u}removeChild(a,s){let l=this.index(a);return!s&&l===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[l].raws.before),super.removeChild(a)}toResult(a={}){return new n(new i,this,a).stringify()}};o.registerLazyResult=a=>{n=a},o.registerProcessor=a=>{i=a},t.exports=o,o.default=o,r.registerRoot(o)}),KN=G((e,t)=>{"use strict";var r={comma(n){return r.split(n,[","],!0)},space(n){let i=[" ",`
22
- `," "];return r.split(n,i)},split(n,i,o){let a=[],s="",l=!1,u=0,c=!1,d="",p=!1;for(let m of n)p?p=!1:m==="\\"?p=!0:c?m===d&&(c=!1):m==='"'||m==="'"?(c=!0,d=m):m==="("?u+=1:m===")"?u>0&&(u-=1):u===0&&i.includes(m)&&(l=!0),l?(s!==""&&a.push(s.trim()),s="",l=!1):s+=m;return(o||s!=="")&&a.push(s.trim()),a}};t.exports=r,r.default=r}),HN=G((e,t)=>{"use strict";var r=In(),n=KN(),i=class extends r{get selectors(){return n.comma(this.selector)}set selectors(o){let a=this.selector?this.selector.match(/,\s*/):null,s=a?a[0]:","+this.raw("between","beforeOpen");this.selector=o.join(s)}constructor(o){super(o),this.type="rule",this.nodes||(this.nodes=[])}};t.exports=i,i.default=i,r.registerRule(i)}),QB=G((e,t)=>{"use strict";var r=/[\t\n\f\r "#'()/;[\\\]{}]/g,n=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,i=/.[\r\n"'(/\\]/,o=/[\da-f]/i;t.exports=function(a,s={}){let l=a.css.valueOf(),u=s.ignoreErrors,c,d,p,m,v,h,b,g,f,x,w=l.length,k=0,S=[],E=[],C=-1;function L(){return k}function N(he){throw a.error("Unclosed "+he,k)}function B(){return E.length===0&&k>=w}function ie(he){if(E.length)return E.pop();if(k>=w)return;let fe=he?he.ignoreUnclosed:!1;switch(c=l.charCodeAt(k),c){case 10:case 32:case 9:case 13:case 12:{m=k;do m+=1,c=l.charCodeAt(m);while(c===32||c===10||c===9||c===13||c===12);h=["space",l.slice(k,m)],k=m-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let oe=String.fromCharCode(c);h=[oe,oe,k];break}case 40:{if(x=S.length?S.pop()[1]:"",f=l.charCodeAt(k+1),x==="url"&&f!==39&&f!==34&&f!==32&&f!==10&&f!==9&&f!==12&&f!==13){m=k;do{if(b=!1,m=l.indexOf(")",m+1),m===-1)if(u||fe){m=k;break}else N("bracket");for(g=m;l.charCodeAt(g-1)===92;)g-=1,b=!b}while(b);h=["brackets",l.slice(k,m+1),k,m],k=m}else k<=C?h=["(","(",k]:(m=l.indexOf(")",k+1),d=l.slice(k,m+1),m===-1||i.test(d)?(C=m===-1?w:m,h=["(","(",k]):(h=["brackets",d,k,m],k=m));break}case 39:case 34:{v=c===39?"'":'"',m=k;do{if(b=!1,m=l.indexOf(v,m+1),m===-1)if(u||fe){m=k+1;break}else N("string");for(g=m;l.charCodeAt(g-1)===92;)g-=1,b=!b}while(b);h=["string",l.slice(k,m+1),k,m],k=m;break}case 64:{r.lastIndex=k+1,r.test(l),r.lastIndex===0?m=l.length-1:m=r.lastIndex-2,h=["at-word",l.slice(k,m+1),k,m],k=m;break}case 92:{for(m=k,p=!0;l.charCodeAt(m+1)===92;)m+=1,p=!p;if(c=l.charCodeAt(m+1),p&&c!==47&&c!==32&&c!==10&&c!==9&&c!==13&&c!==12&&(m+=1,o.test(l.charAt(m)))){for(;o.test(l.charAt(m+1));)m+=1;l.charCodeAt(m+1)===32&&(m+=1)}h=["word",l.slice(k,m+1),k,m],k=m;break}default:{c===47&&l.charCodeAt(k+1)===42?(m=l.indexOf("*/",k+2)+1,m===0&&(u||fe?m=l.length:N("comment")),h=["comment",l.slice(k,m+1),k,m],k=m):(n.lastIndex=k+1,n.test(l),n.lastIndex===0?m=l.length-1:m=n.lastIndex-2,h=["word",l.slice(k,m+1),k,m],S.push(h),k=m);break}}return k++,h}function te(he){E.push(he)}return{back:te,endOfFile:B,nextToken:ie,position:L}}}),YB=G((e,t)=>{"use strict";var r=QN(),n=Yw(),i=Gw(),o=lh(),a=HN(),s=QB(),l={empty:!0,space:!0};function u(d){for(let p=d.length-1;p>=0;p--){let m=d[p],v=m[3]||m[2];if(v)return v}}var c=class{constructor(d){this.input=d,this.root=new o,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:d,start:{column:1,line:1,offset:0}}}atrule(d){let p=new r;p.name=d[1].slice(1),p.name===""&&this.unnamedAtrule(p,d),this.init(p,d[2]);let m,v,h,b=!1,g=!1,f=[],x=[];for(;!this.tokenizer.endOfFile();){if(d=this.tokenizer.nextToken(),m=d[0],m==="("||m==="["?x.push(m==="("?")":"]"):m==="{"&&x.length>0?x.push("}"):m===x[x.length-1]&&x.pop(),x.length===0)if(m===";"){p.source.end=this.getPosition(d[2]),p.source.end.offset++,this.semicolon=!0;break}else if(m==="{"){g=!0;break}else if(m==="}"){if(f.length>0){for(h=f.length-1,v=f[h];v&&v[0]==="space";)v=f[--h];v&&(p.source.end=this.getPosition(v[3]||v[2]),p.source.end.offset++)}this.end(d);break}else f.push(d);else f.push(d);if(this.tokenizer.endOfFile()){b=!0;break}}p.raws.between=this.spacesAndCommentsFromEnd(f),f.length?(p.raws.afterName=this.spacesAndCommentsFromStart(f),this.raw(p,"params",f),b&&(d=f[f.length-1],p.source.end=this.getPosition(d[3]||d[2]),p.source.end.offset++,this.spaces=p.raws.between,p.raws.between="")):(p.raws.afterName="",p.params=""),g&&(p.nodes=[],this.current=p)}checkMissedSemicolon(d){let p=this.colon(d);if(p===!1)return;let m=0,v;for(let h=p-1;h>=0&&(v=d[h],!(v[0]!=="space"&&(m+=1,m===2)));h--);throw this.input.error("Missed semicolon",v[0]==="word"?v[3]+1:v[2])}colon(d){let p=0,m,v,h;for(let[b,g]of d.entries()){if(v=g,h=v[0],h==="("&&(p+=1),h===")"&&(p-=1),p===0&&h===":")if(!m)this.doubleColon(v);else{if(m[0]==="word"&&m[1]==="progid")continue;return b}m=v}return!1}comment(d){let p=new n;this.init(p,d[2]),p.source.end=this.getPosition(d[3]||d[2]),p.source.end.offset++;let m=d[1].slice(2,-2);if(!m.trim())p.text="",p.raws.left=m,p.raws.right="";else{let v=m.match(/^(\s*)([^]*\S)(\s*)$/);p.text=v[2],p.raws.left=v[1],p.raws.right=v[3]}}createTokenizer(){this.tokenizer=s(this.input)}decl(d,p){let m=new i;this.init(m,d[0][2]);let v=d[d.length-1];for(v[0]===";"&&(this.semicolon=!0,d.pop()),m.source.end=this.getPosition(v[3]||v[2]||u(d)),m.source.end.offset++;d[0][0]!=="word";)d.length===1&&this.unknownWord(d),m.raws.before+=d.shift()[1];for(m.source.start=this.getPosition(d[0][2]),m.prop="";d.length;){let f=d[0][0];if(f===":"||f==="space"||f==="comment")break;m.prop+=d.shift()[1]}m.raws.between="";let h;for(;d.length;)if(h=d.shift(),h[0]===":"){m.raws.between+=h[1];break}else h[0]==="word"&&/\w/.test(h[1])&&this.unknownWord([h]),m.raws.between+=h[1];(m.prop[0]==="_"||m.prop[0]==="*")&&(m.raws.before+=m.prop[0],m.prop=m.prop.slice(1));let b=[],g;for(;d.length&&(g=d[0][0],!(g!=="space"&&g!=="comment"));)b.push(d.shift());this.precheckMissedSemicolon(d);for(let f=d.length-1;f>=0;f--){if(h=d[f],h[1].toLowerCase()==="!important"){m.important=!0;let x=this.stringFrom(d,f);x=this.spacesFromEnd(d)+x,x!==" !important"&&(m.raws.important=x);break}else if(h[1].toLowerCase()==="important"){let x=d.slice(0),w="";for(let k=f;k>0;k--){let S=x[k][0];if(w.trim().startsWith("!")&&S!=="space")break;w=x.pop()[1]+w}w.trim().startsWith("!")&&(m.important=!0,m.raws.important=w,d=x)}if(h[0]!=="space"&&h[0]!=="comment")break}d.some(f=>f[0]!=="space"&&f[0]!=="comment")&&(m.raws.between+=b.map(f=>f[1]).join(""),b=[]),this.raw(m,"value",b.concat(d),p),m.value.includes(":")&&!p&&this.checkMissedSemicolon(d)}doubleColon(d){throw this.input.error("Double colon",{offset:d[2]},{offset:d[2]+d[1].length})}emptyRule(d){let p=new a;this.init(p,d[2]),p.selector="",p.raws.between="",this.current=p}end(d){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(d[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(d)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(d){if(this.spaces+=d[1],this.current.nodes){let p=this.current.nodes[this.current.nodes.length-1];p&&p.type==="rule"&&!p.raws.ownSemicolon&&(p.raws.ownSemicolon=this.spaces,this.spaces="",p.source.end=this.getPosition(d[2]),p.source.end.offset+=p.raws.ownSemicolon.length)}}getPosition(d){let p=this.input.fromOffset(d);return{column:p.col,line:p.line,offset:d}}init(d,p){this.current.push(d),d.source={input:this.input,start:this.getPosition(p)},d.raws.before=this.spaces,this.spaces="",d.type!=="comment"&&(this.semicolon=!1)}other(d){let p=!1,m=null,v=!1,h=null,b=[],g=d[1].startsWith("--"),f=[],x=d;for(;x;){if(m=x[0],f.push(x),m==="("||m==="[")h||(h=x),b.push(m==="("?")":"]");else if(g&&v&&m==="{")h||(h=x),b.push("}");else if(b.length===0)if(m===";")if(v){this.decl(f,g);return}else break;else if(m==="{"){this.rule(f);return}else if(m==="}"){this.tokenizer.back(f.pop()),p=!0;break}else m===":"&&(v=!0);else m===b[b.length-1]&&(b.pop(),b.length===0&&(h=null));x=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(p=!0),b.length>0&&this.unclosedBracket(h),p&&v){if(!g)for(;f.length&&(x=f[f.length-1][0],!(x!=="space"&&x!=="comment"));)this.tokenizer.back(f.pop());this.decl(f,g)}else this.unknownWord(f)}parse(){let d;for(;!this.tokenizer.endOfFile();)switch(d=this.tokenizer.nextToken(),d[0]){case"space":this.spaces+=d[1];break;case";":this.freeSemicolon(d);break;case"}":this.end(d);break;case"comment":this.comment(d);break;case"at-word":this.atrule(d);break;case"{":this.emptyRule(d);break;default:this.other(d);break}this.endFile()}precheckMissedSemicolon(){}raw(d,p,m,v){let h,b,g=m.length,f="",x=!0,w,k;for(let S=0;S<g;S+=1)h=m[S],b=h[0],b==="space"&&S===g-1&&!v?x=!1:b==="comment"?(k=m[S-1]?m[S-1][0]:"empty",w=m[S+1]?m[S+1][0]:"empty",!l[k]&&!l[w]?f.slice(-1)===","?x=!1:f+=h[1]:x=!1):f+=h[1];if(!x){let S=m.reduce((E,C)=>E+C[1],"");d.raws[p]={raw:S,value:f}}d[p]=f}rule(d){d.pop();let p=new a;this.init(p,d[0][2]),p.raws.between=this.spacesAndCommentsFromEnd(d),this.raw(p,"selector",d),this.current=p}spacesAndCommentsFromEnd(d){let p,m="";for(;d.length&&(p=d[d.length-1][0],!(p!=="space"&&p!=="comment"));)m=d.pop()[1]+m;return m}spacesAndCommentsFromStart(d){let p,m="";for(;d.length&&(p=d[0][0],!(p!=="space"&&p!=="comment"));)m+=d.shift()[1];return m}spacesFromEnd(d){let p,m="";for(;d.length&&(p=d[d.length-1][0],p==="space");)m=d.pop()[1]+m;return m}stringFrom(d,p){let m="";for(let v=p;v<d.length;v++)m+=d[v][1];return d.splice(p,d.length-p),m}unclosedBlock(){let d=this.current.source.start;throw this.input.error("Unclosed block",d.line,d.column)}unclosedBracket(d){throw this.input.error("Unclosed bracket",{offset:d[2]},{offset:d[2]+1})}unexpectedClose(d){throw this.input.error("Unexpected }",{offset:d[2]},{offset:d[2]+1})}unknownWord(d){throw this.input.error("Unknown word "+d[0][1],{offset:d[0][2]},{offset:d[0][2]+d[0][1].length})}unnamedAtrule(d,p){throw this.input.error("At-rule without name",{offset:p[2]},{offset:p[2]+p[1].length})}};t.exports=c}),XN=G((e,t)=>{"use strict";var r=In(),n=Hw(),i=YB();function o(a,s){let l=new n(a,s),u=new i(l);try{u.parse()}catch(c){throw c}return u.root}t.exports=o,o.default=o,r.registerParse(o)}),JN=G((e,t)=>{"use strict";var r=class{constructor(n,i={}){if(this.type="warning",this.text=n,i.node&&i.node.source){let o=i.node.rangeBy(i);this.line=o.start.line,this.column=o.start.column,this.endLine=o.end.line,this.endColumn=o.end.column}for(let o in i)this[o]=i[o]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};t.exports=r,r.default=r}),ZN=G((e,t)=>{"use strict";var r=JN(),n=class{get content(){return this.css}constructor(i,o,a){this.processor=i,this.messages=[],this.root=o,this.opts=a,this.css="",this.map=void 0}toString(){return this.css}warn(i,o={}){o.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(o.plugin=this.lastPlugin.postcssPlugin);let a=new r(i,o);return this.messages.push(a),a}warnings(){return this.messages.filter(i=>i.type==="warning")}};t.exports=n,n.default=n}),GB=G(()=>{}),eE=G((e,t)=>{"use strict";var r=In(),n=Kw(),i=VB(),o=XN(),a=ZN(),s=lh(),l=Vw(),{isClean:u,my:c}=Qw(),d=GB();function p(h){return h[u]=!1,h.nodes&&h.nodes.forEach(b=>p(b)),h}var m={},v=class tE{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(b,g,f){this.stringified=!1,this.processed=!1;let x;if(typeof g=="object"&&g!==null&&(g.type==="root"||g.type==="document"))x=p(g);else if(g instanceof tE||g instanceof a)x=p(g.root),g.map&&(typeof f.map>"u"&&(f.map={}),f.map.inline||(f.map.inline=!1),f.map.prev=g.map);else{let w=o;f.syntax&&(w=f.syntax.parse),f.parser&&(w=f.parser),w.parse&&(w=w.parse);try{x=w(g,f)}catch(k){this.processed=!0,this.error=k}x&&!x[c]&&r.rebuild(x)}this.result=new a(b,x,f),this.helpers={...m,postcss:m,result:this.result},this.plugins=this.processor.plugins.map(w=>typeof w=="object"&&w.prepare?{...w,...w.prepare(this.result)}:w)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}prepareVisitors(){}async runAsync(){return this.plugin=0,this.prepareVisitors(),this.processed=!0,this.stringify()}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let b=this.result.opts,g=l;b.syntax&&(g=b.syntax.stringify),b.stringifier&&(g=b.stringifier),g.stringify&&(g=g.stringify);let f=this.result.root.source;if(b.map===void 0&&!(f&&f.input&&f.input.map)){let w="";return g(this.result.root,k=>{w+=k}),this.result.css=w,this.result}let x=new i(g,this.result.root,this.result.opts).generate();return this.result.css=x[0],this.result.map=x[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();return this.prepareVisitors(),this.result}toString(){return this.css}warnings(){return this.sync().warnings()}};v.registerPostcss=h=>{m=h},t.exports=v,v.default=v,s.registerLazyResult(v),n.registerLazyResult(v)}),KB=G((e,t)=>{var r=class{};t.exports=r}),HB=G((e,t)=>{"use strict";var r=Kw(),n=eE(),i=KB(),o=lh(),a=class{constructor(s=[]){this.version="8.5.14",this.plugins=this.normalize(s)}normalize(){return[]}process(s,l={}){return!this.plugins.length&&!l.parser&&!l.stringifier&&!l.syntax?new i(this,s,l):new n(this,s,l)}};t.exports=a,a.default=a,o.registerProcessor(a),r.registerProcessor(a)}),XB=G((e,t)=>{"use strict";var r=QN(),n=Yw(),i=In(),o=Uw(),a=Gw(),s=Kw(),l=WB(),u=Hw(),c=eE(),d=KN(),p=sh(),m=XN(),v=HB(),h=ZN(),b=lh(),g=HN(),f=Vw(),x=JN();function w(...k){return k.length===1&&Array.isArray(k[0])&&(k=k[0]),new v(k)}w.stringify=f,w.parse=m,w.fromJSON=l,w.list=d,w.comment=k=>new n(k),w.atRule=k=>new r(k),w.decl=k=>new a(k),w.rule=k=>new g(k),w.root=k=>new b(k),w.document=k=>new s(k),w.CssSyntaxError=o,w.Declaration=a,w.Container=i,w.Processor=v,w.Document=s,w.Comment=n,w.Warning=x,w.AtRule=r,w.Result=h,w.Input=u,w.Rule=g,w.Root=b,w.Node=p,c.registerPostcss(w),t.exports=w,w.default=w}),ef,_i,rE,gd=y(()=>{ef=X(XB(),1),_i=ef.default,rE=ef.default.Node}),nE={};A(nE,{default:()=>iE});var zo,tf,t1,Ao,iE,JB=y(()=>{gd(),q(),no(),et(),K(),I(),j(),D(),zo="at-rule-no-deprecated",tf=O(zo,{rejected:e=>`Deprecated at-rule "${e}"`}),t1={url:"https://stylelint.io/user-guide/rules/at-rule-no-deprecated",fixable:!0},Ao=(e,t)=>(r,n)=>{T(n,zo,{actual:e},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0})&&r.walkAtRules(i=>{if(!Ze(i))return;let{name:o}=i,a=o.toLowerCase();if(F(t,"ignoreAtRules",o)||!zv.has(a))return;let s=a==="nest"?()=>{let u=_i.rule({selector:i.params,source:i.source});u.append(i.nodes),i.replaceWith(u)}:void 0,l=`@${o}`;P({message:tf.rejected,messageArgs:[l],node:i,ruleName:zo,result:n,index:0,endIndex:l.length,fix:{apply:s,node:i.parent}})})},Ao.ruleName=zo,Ao.messages=tf,Ao.meta=t1,iE=Ao}),Xe,Dt=y(()=>{Xe={prefix(e){let t=e.match(/^(-\w+-)/);return t&&t[0]||""},unprefixed(e){return e.replace(/^-\w+-/,"")}}}),oE={};A(oE,{default:()=>aE});var No,rf,r1,Eo,aE,ZB=y(()=>{q(),no(),et(),K(),I(),j(),D(),Dt(),No="at-rule-no-unknown",rf=O(No,{rejected:e=>`Unknown at-rule "${e}"`}),r1={url:"https://stylelint.io/user-guide/rules/at-rule-no-unknown"},Eo=(e,t)=>(r,n)=>{var a,s,l;if(!T(n,No,{actual:e},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0}))return;let i=((l=(s=(a=n.stylelint.config)==null?void 0:a.languageOptions)==null?void 0:s.syntax)==null?void 0:l.atRules)||{},o=new Set(Object.keys(i));r.walkAtRules(u=>{if(!Ze(u))return;let c=u.name;if(o.has(c)||F(t,"ignoreAtRules",u.name)||Xe.prefix(c)||GA.has(c.toLowerCase()))return;let d=`@${c}`;P({message:rf.rejected,messageArgs:[d],node:u,ruleName:No,result:n,word:d})})},Eo.ruleName=No,Eo.messages=rf,Eo.meta=r1,aE=Eo}),n1,i1,o1,a1,zr,bd=y(()=>{Dt(),n1=new Set(["@-moz-keyframes","@-moz-document","@-ms-keyframes","@-ms-viewport","@-o-keyframes","@-o-viewport","@-webkit-keyframes","@-webkit-viewport"]),i1=new Set([":-moz-any-link",":-moz-full-screen",":-moz-placeholder",":-moz-placeholder-shown",":-moz-read-only",":-moz-read-write",":-ms-fullscreen",":-ms-input-placeholder",":-webkit-any-link",":-webkit-full-screen","::-moz-placeholder","::-moz-selection","::-ms-input-placeholder","::-webkit-backdrop","::-webkit-input-placeholder"]),o1=new Set(["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","backdrop-filter","backface-visibility","background-clip","background-origin","background-size","border-block-end","border-block-start","border-bottom-left-radius","border-bottom-right-radius","border-image","border-inline-end","border-inline-start","border-radius","border-top-left-radius","border-top-right-radius","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","clip-path","color-adjust","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","flow-from","flow-into","font-feature-settings","font-kerning","font-language-override","font-variant-ligatures","grid-area","grid-column","grid-column-align","grid-column-end","grid-column-start","grid-row","grid-row-align","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hyphens","image-rendering","justify-content","margin-block-end","margin-block-start","margin-inline-end","margin-inline-start","mask","mask-border","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-origin","mask-position","mask-repeat","mask-size","object-fit","object-position","order","overscroll-behavior","padding-block-end","padding-block-start","padding-inline-end","padding-inline-start","perspective","perspective-origin","place-self","region-fragment","scroll-snap-coordinate","scroll-snap-destination","scroll-snap-points-x","scroll-snap-points-y","scroll-snap-type","shape-image-threshold","shape-margin","shape-outside","tab-size","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-orientation","text-overflow","text-size-adjust","text-spacing","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","user-select","writing-mode"]),a1=new Set(["-moz-all","-moz-calc","-moz-crisp-edges","-moz-element","-moz-fit-content","-moz-grab","-moz-grabbing","-moz-initial","-moz-isolate","-moz-isolate-override","-moz-linear-gradient","-moz-max-content","-moz-min-content","-moz-pre-wrap","-moz-plaintext","-moz-radial-gradient","-moz-repeating-linear-gradient","-moz-repeating-radial-gradient","-moz-zoom-in","-moz-zoom-out","-ms-flexbox","-ms-grid","-ms-inline-grid","-ms-linear-gradient","-ms-radial-gradient","-ms-repeating-linear-gradient","-ms-repeating-radial-gradient","-o-crisp-edges","-o-linear-gradient","-o-pre-wrap","-o-radial-gradient","-o-repeating-linear-gradient","-o-repeating-radial-gradient","-webkit-calc","-webkit-cross-fade","-webkit-filter","-webkit-fit-content","-webkit-flex","-webkit-grab","-webkit-grabbing","-webkit-image-set","-webkit-inline-flex","-webkit-isolate","-webkit-linear-gradient","-webkit-max-content","-webkit-min-content","-webkit-plaintext","-webkit-radial-gradient","-webkit-repeating-linear-gradient","-webkit-repeating-radial-gradient","-webkit-sticky","-webkit-zoom-in","-webkit-zoom-out","-xv-digits","-xv-literal-punctuation","-xv-no-punctuation","-moz-arabic-indic","-moz-bengali","-moz-cjk-earthly-branch","-moz-cjk-heavenly-stem","-moz-devanagari","-moz-ethiopic-numeric","-moz-gujarati","-moz-gurmukhi","-moz-hangul","-moz-hangul-consonant","-moz-japanese-formal","-moz-japanese-informal","-moz-kannada","-moz-khmer","-moz-lao","-moz-malayalam","-moz-myanmar","-moz-oriya","-moz-persian","-moz-simp-chinese-formal","-moz-simp-chinese-informal","-moz-tamil","-moz-telugu","-moz-thai","-moz-trad-chinese-formal","-moz-trad-chinese-informal"]),zr={atRuleName(e){return n1.has(`@${e.toLowerCase()}`)},selector(e){return i1.has(e.toLowerCase())},mediaFeatureName(e){return e.toLowerCase().includes("device-pixel-ratio")},property(e){let t=e.toLowerCase();return Xe.prefix(t).length===0?!1:o1.has(Xe.unprefixed(t))},propertyValue(e){return a1.has(e.toLowerCase())},unprefix(e){return e.replace(/-\w+-/,"")}}}),sE={};A(sE,{default:()=>lE});var Po,nf,s1,Io,lE,eq=y(()=>{q(),bd(),et(),K(),I(),j(),D(),Po="at-rule-no-vendor-prefix",nf=O(Po,{rejected:e=>`Vendor-prefixed at-rule "${e}"`}),s1={url:"https://stylelint.io/user-guide/rules/at-rule-no-vendor-prefix",fixable:!0},Io=(e,t)=>(r,n)=>{T(n,Po,{actual:e},{optional:!0,actual:t,possible:{ignoreAtRules:[$,_]}})&&r.walkAtRules(i=>{if(!Ze(i))return;let o=i.name;if(F(t,"ignoreAtRules",o)||!o.startsWith("-")||!zr.atRuleName(o))return;let a=()=>{i.name=zr.unprefix(i.name)},s=`@${o}`;P({message:nf.rejected,messageArgs:[s],node:i,word:s,result:n,ruleName:Po,fix:{apply:a,node:i}})})},Io.ruleName=Po,Io.messages=nf,Io.meta=s1,lE=Io}),uE={};A(uE,{default:()=>cE});var Oo,of,l1,jo,cE,tq=y(()=>{q(),et(),J(),K(),I(),j(),D(),Oo="at-rule-prelude-no-invalid",of=O(Oo,{rejected:(e,t)=>`Invalid prelude "${t}" for at-rule "${e}"`}),l1={url:"https://stylelint.io/user-guide/rules/at-rule-prelude-no-invalid"},jo=(e,t)=>(r,n)=>{if(!T(n,Oo,{actual:e},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0}))return;let i=n.stylelint.lexer;r.walkAtRules(o=>{if(!Ze(o))return;let{name:a,params:s}=o;if(F(t,"ignoreAtRules",a))return;let{error:l}=i.matchAtrulePrelude(a,s);if(!l||l.name!=="SyntaxMatchError")return;let u=`@${a}`,c=je(o),d=c+s.length;P({message:of.rejected,messageArgs:[u,s],node:o,index:c,endIndex:d,ruleName:Oo,result:n})})},jo.ruleName=Oo,jo.messages=of,jo.meta=l1,cE=jo});function rq(e){let t=new Map;for(let[r,n]of Object.entries(e)){let i=Array.isArray(n)?n:[n];t.set(r,new Set(i))}return t}var nq=y(()=>{});function Bt(...e){return t=>Cr(t)?Object.values(t).flat().every(r=>e.some(n=>n(r))):!1}var Ht=y(()=>{q()}),dE={};A(dE,{default:()=>pE});var To,af,u1,Do,pE,iq=y(()=>{nq(),et(),q(),I(),j(),Ht(),D(),To="at-rule-property-required-list",af=O(To,{expected:(e,t)=>`Expected property or descriptor "${t}" for at-rule "${e}"`}),u1={url:"https://stylelint.io/user-guide/rules/at-rule-property-required-list"},Do=e=>(t,r)=>{if(!T(r,To,{actual:e,possible:[Bt($)]}))return;let n=rq(e),i=new Set;t.walkAtRules(o=>{if(!Ze(o))return;let{name:a,nodes:s}=o;if(!s)return;let l=a.toLowerCase(),u=n.get(l);if(u){i.clear();for(let c of s){if(!c||c.type!=="decl")continue;let d=c.prop.toLowerCase();u.has(d)&&i.add(d)}if(i.size!==u.size)for(let c of u){if(i.has(c))continue;let d=`@${o.name}`;P({message:af.expected,messageArgs:[d,c],node:o,word:d,result:r,ruleName:To})}}})},Do.ruleName=To,Do.messages=af,Do.meta=u1,pE=Do});function mE(e,{noRawBefore:t}={noRawBefore:!1}){let r="",n=e.raws.before||"";if(t||(r+=n),it(e))r+=e.selector;else if(Oe(e))r+=`@${e.name}${e.raws.afterName||""}${e.params}`;else return"";return r+=e.raws.between||"",r}var hE=y(()=>{me()});function fE(e,t=vd){if(!e)return e;let[r]=e.split(/\s/,1);return eo(r),r.replace(t,"")}function ji(e,t=vd){let r=$(e)?e:Kr(e)?e.text:void 0;if(!r)return!1;let n=fE(r,t);return n!==void 0&&gE.has(n)}function oq(e,t=vd){return`${t}${e}`}var Sm,Cm,zm,Am,gE,vd,yd=y(()=>{q(),me(),Sm="-disable",Cm="-disable-line",zm="-disable-next-line",Am="-enable",gE=new Set([Sm,Cm,zm,Am]),vd="stylelint"}),bE={};A(bE,{default:()=>vE});var Lo,sf,c1,Fo,vE,aq=y(()=>{hE(),ih(),me(),yd(),K(),I(),j(),D(),Lo="block-no-empty",sf=O(Lo,{rejected:"Empty block"}),c1={url:"https://stylelint.io/user-guide/rules/block-no-empty"},Fo=(e,t,r)=>(n,i)=>{if(!T(i,Lo,{actual:e,possible:[!0]},{actual:t,possible:{ignore:["comments"]},optional:!0}))return;let o=F(t,"ignore","comments");n.walkRules(a),n.walkAtRules(a);function a(u){if(!Gc(u)||s(u)||l(u))return;let c=mE(u,{noRawBefore:!0}).length;u.raws.between===void 0&&c--,P({message:sf.rejected,messageArgs:[],node:u,start:u.positionBy({index:c}),end:u.rangeBy({}).end,result:i,ruleName:Lo})}function s(u){var c;return((c=u.nodes)!=null?c:[]).some(d=>!(Kr(d)&&(o||ji(d,r.configurationComment))))}function l(u){let{after:c}=u.raws;return typeof c=="string"&&/\S/.test(c)}},Fo.ruleName=Lo,Fo.messages=sf,Fo.meta=c1,vE=Fo});function wd(e){return!(eh(e)||e.startsWith("%")||e.endsWith(":")||/:extend(?:\(.*?\))?/.test(e)||/\.[\w-]+\(.*\).+/.test(e)||e.endsWith(")")&&!e.includes(":")||/\(@.*\)$/.test(e)||e.includes("<%")||e.includes("%>")||e.includes("//"))}var kd=y(()=>{th()});function ce(e){return!(e.type!=="rule"||"extend"in e&&e.extend||!wd(e.selector))}var de=y(()=>{kd()}),yE={};A(yE,{default:()=>wE});var Mo,lf,d1,Ro,wE,sq=y(()=>{me(),de(),I(),j(),D(),Mo="block-no-redundant-nested-style-rules",lf=O(Mo,{rejected:"Redundant nested style rule"}),d1={url:"https://stylelint.io/user-guide/rules/block-no-redundant-nested-style-rules"},Ro=e=>(t,r)=>{T(r,Mo,{actual:e,possible:[!0]})&&t.walkRules(n=>{if(!ce(n))return;let{parent:i,selector:o}=n;o==="&"&&i&&(ur(i)||P({message:lf.rejected,messageArgs:[],node:n,result:r,ruleName:Mo}))})},Ro.ruleName=Mo,Ro.messages=lf,Ro.meta=d1,wE=Ro});function xd(e){return!(!e.value||e.value.startsWith("#{")||e.value.startsWith("${")||e.value.startsWith("`"))}var Sd=y(()=>{});function Xw(e){if(!xd(e))return!1;for(let t of e.nodes){if(t.type==="function")return Xw(t);if(t.type==="word"&&(t.value.startsWith("#")||t.value.startsWith("$")||t.value.includes(".$")))return!1}return!0}var kE=y(()=>{Sd()}),xE={};A(xE,{default:()=>SE});var p1,$o,uf,m1,Bo,SE,lq=y(()=>{p1=X(ue(),1),Ir(),J(),We(),kE(),me(),V(),I(),j(),gt(),D(),$o="color-function-alias-notation",uf=O($o,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),m1={url:"https://stylelint.io/user-guide/rules/color-function-alias-notation",fixable:!0},Bo=e=>(t,r)=>{if(!T(r,$o,{actual:e,possible:["with-alpha","without-alpha"]}))return;let n=e==="with-alpha"?Q.withoutAlphaAliasColorFunction:Q.withAlphaAliasColorFunction,i=e==="with-alpha"?vm:Uc;t.walkDecls(o=>{if(!n.test(o.value))return;let a=(0,p1.default)(qe(o));a.walk(s=>{if(!Nn(s)||!Xw(s))return;let{value:l,sourceIndex:u}=s;if(!i.has(l.toLowerCase()))return;let c=e==="with-alpha"?`${l}a`:l.slice(0,-1),d=()=>{s.value=c,ft(o,a.toString())},p=ne(o)+u,m=p+l.length;P({message:uf.expected,messageArgs:[l,c],node:o,index:p,endIndex:m,result:r,ruleName:$o,fix:{apply:d,node:o}})})})},Bo.ruleName=$o,Bo.messages=uf,Bo.meta=m1,SE=Bo});function ao(e){return Nn(e)&&e.value.toLowerCase()==="var"}var Cd=y(()=>{me()}),CE={};A(CE,{default:()=>AE});function cf(e){return e!==""?e:" "}function uq(e){return e.some(t=>ao(t))}function zE(e){return e.type==="div"&&e.value===","}function h1(e){let t=0;for(let r of e)if(zE(r))t++;else if(r.value==="/")return!1;return t&&(t===2||t===3)}var f1,qo,df,g1,Wo,AE,cq=y(()=>{f1=X(ue(),1),Ir(),J(),We(),kE(),me(),Cd(),V(),K(),I(),j(),gt(),D(),qo="color-function-notation",df=O(qo,{expected:e=>`Expected ${e} color-function notation`}),g1={url:"https://stylelint.io/user-guide/rules/color-function-notation",fixable:!0},Wo=(e,t)=>(r,n)=>{if(!T(n,qo,{actual:e,possible:["modern","legacy"]},{actual:t,possible:{ignore:["with-var-inside"]},optional:!0}))return;let i=F(t,"ignore","with-var-inside");r.walkDecls(o=>{if(!Q.legacyNotationColorFunction.test(o.value)||e==="modern"&&!o.value.includes(","))return;let a=(0,f1.default)(qe(o));a.walk(s=>{if(!Nn(s)||!Xw(s))return;let{value:l,sourceIndex:u,sourceEndIndex:c,nodes:d}=s;if(i&&uq(d)||!Tw.has(l.toLowerCase())||!(d.length>=5)||e==="modern"&&!h1(d)||e==="legacy"&&h1(d))return;let p=()=>{let b=0;s.nodes=d.map(g=>(zE(g)&&(b<2?(g.type="space",g.value=cf(g.after),b++):(g.value="/",g.before=cf(g.before),g.after=cf(g.after))),g)),Uc.has(l.toLowerCase())&&(s.value=l.slice(0,-1)),ft(o,a.toString())},m=ne(o)+u,v=m+(c-u),h=e==="modern"?p:void 0;P({message:df.expected,messageArgs:[e],node:o,index:m,endIndex:v,result:n,ruleName:qo,fix:{apply:h,node:o}})})})},Wo.ruleName=qo,Wo.messages=df,Wo.meta=g1,AE=Wo});function NE(e){return EE.test(e)}var EE,PE=y(()=>{EE=/^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$/i});function IE({type:e,value:t}){return e==="word"&&NE(t)}var OE=y(()=>{PE()});function zd(e){return Nn(e)&&e.value.toLowerCase()==="url"}var Ad=y(()=>{me()}),jE={};A(jE,{default:()=>TE});function b1(e){return e.length===5||e.length===9}var v1,_o,Qd,y1,Uo,TE,dq=y(()=>{v1=X(ue(),1),J(),OE(),Ad(),V(),I(),j(),D(),_o="color-hex-alpha",Qd=O(_o,{expected:e=>`Expected alpha channel in "${e}"`,rejected:e=>`Expected no alpha channel in "${e}"`}),y1={url:"https://stylelint.io/user-guide/rules/color-hex-alpha"},Uo=e=>(t,r)=>{T(r,_o,{actual:e,possible:["always","never"]})&&t.walkDecls(n=>{Q.validHex.test(n.value)&&(0,v1.default)(n.value).walk(i=>{if(zd(i))return!1;if(!IE(i))return;let{value:o}=i;if(e==="always"&&b1(o)||e==="never"&&!b1(o))return;let a=ne(n)+i.sourceIndex,s=a+o.length;P({message:e==="never"?Qd.rejected:Qd.expected,messageArgs:[o],node:n,index:a,endIndex:s,result:r,ruleName:_o})})})},Uo.ruleName=_o,Uo.messages=Qd,Uo.meta=y1,TE=Uo}),DE={};A(DE,{default:()=>LE});function pq(e){return e=e.toLowerCase(),e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]&&(e.length===7||e.length===9&&e[7]===e[8])}function mq(e){let t="#";for(let r=1;r<e.length;r+=2)t+=e[r];return t}function hq(e){let t="#";for(let r=1;r<e.length;r++)t+=e.charAt(r).repeat(2);return t}var w1,Vo,pf,k1,Qo,LE,fq=y(()=>{w1=X(ue(),1),J(),We(),OE(),Ad(),V(),I(),j(),gt(),D(),Vo="color-hex-length",pf=O(Vo,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),k1={url:"https://stylelint.io/user-guide/rules/color-hex-length",fixable:!0},Qo=e=>(t,r)=>{T(r,Vo,{actual:e,possible:["short","long"]})&&t.walkDecls(n=>{if(!Q.hexColor.test(n.value))return;let i=(0,w1.default)(qe(n));i.walk(o=>{let{value:a}=o;if(zd(o))return!1;if(!IE(o)||e==="long"&&a.length!==4&&a.length!==5||e==="short"&&(a.length<6||!pq(a)))return;let s=(e==="long"?hq:mq)(a),l=()=>{o.value=s,ft(n,i.toString())},u=ne(n)+o.sourceIndex,c=u+o.value.length;P({message:pf.expected,messageArgs:[a,s],node:n,index:u,endIndex:c,result:r,ruleName:Vo,fix:{apply:l,node:n}})})})},Qo.ruleName=Vo,Qo.messages=pf,Qo.meta=k1,LE=Qo}),x1,fr,Je,Ft,mf,hf,Yd,S1,Yo,ff,gf,bf,vf,yf,qn,C1,z1,A1,N1,Gd,wf,E1,Kd,Hd,kf,Xd,er,xf,FE,gq=y(()=>{x1={grad:.9,turn:360,rad:360/(2*Math.PI)},fr=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},Je=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},Ft=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},mf=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},hf=function(e){return{r:Ft(e.r,0,255),g:Ft(e.g,0,255),b:Ft(e.b,0,255),a:Ft(e.a)}},Yd=function(e){return{r:Je(e.r),g:Je(e.g),b:Je(e.b),a:Je(e.a,3)}},S1=/^#([0-9a-f]{3,8})$/i,Yo=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},ff=function(e){var t=e.r,r=e.g,n=e.b,i=e.a,o=Math.max(t,r,n),a=o-Math.min(t,r,n),s=a?o===t?(r-n)/a:o===r?2+(n-t)/a:4+(t-r)/a:0;return{h:60*(s<0?s+6:s),s:o?a/o*100:0,v:o/255*100,a:i}},gf=function(e){var t=e.h,r=e.s,n=e.v,i=e.a;t=t/360*6,r/=100,n/=100;var o=Math.floor(t),a=n*(1-r),s=n*(1-(t-o)*r),l=n*(1-(1-t+o)*r),u=o%6;return{r:255*[n,s,a,a,l,n][u],g:255*[l,n,n,s,a,a][u],b:255*[a,a,l,n,n,s][u],a:i}},bf=function(e){return{h:mf(e.h),s:Ft(e.s,0,100),l:Ft(e.l,0,100),a:Ft(e.a)}},vf=function(e){return{h:Je(e.h),s:Je(e.s),l:Je(e.l),a:Je(e.a,3)}},yf=function(e){return gf((r=(t=e).s,{h:t.h,s:(r*=((n=t.l)<50?n:100-n)/100)>0?2*r/(n+r)*100:0,v:n+r,a:t.a}));var t,r,n},qn=function(e){return{h:(t=ff(e)).h,s:(i=(200-(r=t.s))*(n=t.v)/100)>0&&i<200?r*n/100/(i<=100?i:200-i)*100:0,l:i/2,a:t.a};var t,r,n,i},C1=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,z1=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,A1=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,N1=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Gd={string:[[function(e){var t=S1.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?Je(parseInt(e[3]+e[3],16)/255,2):1}:e.length===6||e.length===8?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:e.length===8?Je(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=A1.exec(e)||N1.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:hf({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=C1.exec(e)||z1.exec(e);if(!t)return null;var r,n,i=bf({h:(r=t[1],n=t[2],n===void 0&&(n="deg"),Number(r)*(x1[n]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return yf(i)},"hsl"]],object:[[function(e){var t=e.r,r=e.g,n=e.b,i=e.a,o=i===void 0?1:i;return fr(t)&&fr(r)&&fr(n)?hf({r:Number(t),g:Number(r),b:Number(n),a:Number(o)}):null},"rgb"],[function(e){var t=e.h,r=e.s,n=e.l,i=e.a,o=i===void 0?1:i;if(!fr(t)||!fr(r)||!fr(n))return null;var a=bf({h:Number(t),s:Number(r),l:Number(n),a:Number(o)});return yf(a)},"hsl"],[function(e){var t=e.h,r=e.s,n=e.v,i=e.a,o=i===void 0?1:i;if(!fr(t)||!fr(r)||!fr(n))return null;var a=(function(s){return{h:mf(s.h),s:Ft(s.s,0,100),v:Ft(s.v,0,100),a:Ft(s.a)}})({h:Number(t),s:Number(r),v:Number(n),a:Number(o)});return gf(a)},"hsv"]]},wf=function(e,t){for(var r=0;r<t.length;r++){var n=t[r][0](e);if(n)return[n,t[r][1]]}return[null,void 0]},E1=function(e){return typeof e=="string"?wf(e.trim(),Gd.string):typeof e=="object"&&e!==null?wf(e,Gd.object):[null,void 0]},Kd=function(e,t){var r=qn(e);return{h:r.h,s:Ft(r.s+100*t,0,100),l:r.l,a:r.a}},Hd=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},kf=function(e,t){var r=qn(e);return{h:r.h,s:r.s,l:Ft(r.l+100*t,0,100),a:r.a}},Xd=(function(){function e(t){this.parsed=E1(t)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return this.parsed!==null},e.prototype.brightness=function(){return Je(Hd(this.rgba),2)},e.prototype.isDark=function(){return Hd(this.rgba)<.5},e.prototype.isLight=function(){return Hd(this.rgba)>=.5},e.prototype.toHex=function(){return t=Yd(this.rgba),r=t.r,n=t.g,i=t.b,a=(o=t.a)<1?Yo(Je(255*o)):"","#"+Yo(r)+Yo(n)+Yo(i)+a;var t,r,n,i,o,a},e.prototype.toRgb=function(){return Yd(this.rgba)},e.prototype.toRgbString=function(){return t=Yd(this.rgba),r=t.r,n=t.g,i=t.b,(o=t.a)<1?"rgba("+r+", "+n+", "+i+", "+o+")":"rgb("+r+", "+n+", "+i+")";var t,r,n,i,o},e.prototype.toHsl=function(){return vf(qn(this.rgba))},e.prototype.toHslString=function(){return t=vf(qn(this.rgba)),r=t.h,n=t.s,i=t.l,(o=t.a)<1?"hsla("+r+", "+n+"%, "+i+"%, "+o+")":"hsl("+r+", "+n+"%, "+i+"%)";var t,r,n,i,o},e.prototype.toHsv=function(){return t=ff(this.rgba),{h:Je(t.h),s:Je(t.s),v:Je(t.v),a:Je(t.a,3)};var t},e.prototype.invert=function(){return er({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},e.prototype.saturate=function(t){return t===void 0&&(t=.1),er(Kd(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),er(Kd(this.rgba,-t))},e.prototype.grayscale=function(){return er(Kd(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),er(kf(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),er(kf(this.rgba,-t))},e.prototype.rotate=function(t){return t===void 0&&(t=15),this.hue(this.hue()+t)},e.prototype.alpha=function(t){return typeof t=="number"?er({r:(r=this.rgba).r,g:r.g,b:r.b,a:t}):Je(this.rgba.a,3);var r},e.prototype.hue=function(t){var r=qn(this.rgba);return typeof t=="number"?er({h:t,s:r.s,l:r.l,a:r.a}):Je(r.h)},e.prototype.isEqual=function(t){return this.toHex()===er(t).toHex()},e})(),er=function(e){return e instanceof Xd?e:new Xd(e)},xf=[],FE=function(e){e.forEach(function(t){xf.indexOf(t)<0&&(t(Xd,Gd),xf.push(t))})}});function bq(e,t){var r={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},n={};for(var i in r)n[r[i]]=i;var o={};e.prototype.toName=function(a){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var s,l,u=n[this.toHex()];if(u)return u;if(a!=null&&a.closest){var c=this.toRgb(),d=1/0,p="black";if(!o.length)for(var m in r)o[m]=new e(r[m]).toRgb();for(var v in r){var h=(s=c,l=o[v],Math.pow(s.r-l.r,2)+Math.pow(s.g-l.g,2)+Math.pow(s.b-l.b,2));h<d&&(d=h,p=v)}return p}},t.string.push([function(a){var s=a.toLowerCase(),l=s==="transparent"?"#0000":r[s];return l?new e(l).toRgb():null},"name"])}var vq=y(()=>{});function yq(e,t){e.prototype.toHwb=function(){return Bv(qv(this.rgba))},e.prototype.toHwbString=function(){return r=Bv(qv(this.rgba)),n=r.h,i=r.w,o=r.b,(a=r.a)<1?"hwb("+n+" "+i+"% "+o+"% / "+a+")":"hwb("+n+" "+i+"% "+o+"%)";var r,n,i,o,a},t.string.push([RE,"hwb"]),t.object.push([ME,"hwb"])}var P1,Jd,Go,Zd,Sf,Bv,qv,Cf,ME,I1,RE,wq=y(()=>{P1={grad:.9,turn:360,rad:360/(2*Math.PI)},Jd=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},Go=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},Zd=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},Sf=function(e){return{h:(t=e.h,(t=isFinite(t)?t%360:0)>0?t:t+360),w:Zd(e.w,0,100),b:Zd(e.b,0,100),a:Zd(e.a)};var t},Bv=function(e){return{h:Go(e.h),w:Go(e.w),b:Go(e.b),a:Go(e.a,3)}},qv=function(e){return{h:(function(t){var r=t.r,n=t.g,i=t.b,o=t.a,a=Math.max(r,n,i),s=a-Math.min(r,n,i),l=s?a===r?(n-i)/s:a===n?2+(i-r)/s:4+(r-n)/s:0;return{h:60*(l<0?l+6:l),s:a?s/a*100:0,v:a/255*100,a:o}})(e).h,w:Math.min(e.r,e.g,e.b)/255*100,b:100-Math.max(e.r,e.g,e.b)/255*100,a:e.a}},Cf=function(e){return(function(t){var r=t.h,n=t.s,i=t.v,o=t.a;r=r/360*6,n/=100,i/=100;var a=Math.floor(r),s=i*(1-n),l=i*(1-(r-a)*n),u=i*(1-(1-r+a)*n),c=a%6;return{r:255*[i,l,s,s,u,i][c],g:255*[u,i,i,l,s,s][c],b:255*[s,s,u,i,i,l][c],a:o}})({h:e.h,s:e.b===100?0:100-e.w/(100-e.b)*100,v:100-e.b,a:e.a})},ME=function(e){var t=e.h,r=e.w,n=e.b,i=e.a,o=i===void 0?1:i;if(!Jd(t)||!Jd(r)||!Jd(n))return null;var a=Sf({h:Number(t),w:Number(r),b:Number(n),a:Number(o)});return Cf(a)},I1=/^hwb\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,RE=function(e){var t=I1.exec(e);if(!t)return null;var r,n,i=Sf({h:(r=t[1],n=t[2],n===void 0&&(n="deg"),Number(r)*(P1[n]||1)),w:Number(t[3]),b:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return Cf(i)}});function kq(e,t){e.prototype.toLab=function(){return n=$E(this.rgba),o=n.y/Yp,a=n.z/Gp,i=(i=n.x/Qp)>Ti?Math.cbrt(i):(bn*i+16)/116,r={l:116*(o=o>Ti?Math.cbrt(o):(bn*o+16)/116)-16,a:500*(i-o),b:200*(o-(a=a>Ti?Math.cbrt(a):(bn*a+16)/116)),alpha:n.a},{l:wi(r.l,2),a:wi(r.a,2),b:wi(r.b,2),alpha:wi(r.alpha,3)};var r,n,i,o,a},e.prototype.delta=function(r){r===void 0&&(r="#FFF");var n=r instanceof e?r:new e(r),i=(function(o,a){var s=o.l,l=o.a,u=o.b,c=a.l,d=a.a,p=a.b,m=180/Math.PI,v=Math.PI/180,h=Math.pow(Math.pow(l,2)+Math.pow(u,2),.5),b=Math.pow(Math.pow(d,2)+Math.pow(p,2),.5),g=(s+c)/2,f=Math.pow((h+b)/2,7),x=.5*(1-Math.pow(f/(f+Math.pow(25,7)),.5)),w=l*(1+x),k=d*(1+x),S=Math.pow(Math.pow(w,2)+Math.pow(u,2),.5),E=Math.pow(Math.pow(k,2)+Math.pow(p,2),.5),C=(S+E)/2,L=w===0&&u===0?0:Math.atan2(u,w)*m,N=k===0&&p===0?0:Math.atan2(p,k)*m;L<0&&(L+=360),N<0&&(N+=360);var B=N-L,ie=Math.abs(N-L);ie>180&&N<=L?B+=360:ie>180&&N>L&&(B-=360);var te=L+N;ie<=180?te/=2:te=(L+N<360?te+360:te-360)/2;var he=1-.17*Math.cos(v*(te-30))+.24*Math.cos(2*v*te)+.32*Math.cos(v*(3*te+6))-.2*Math.cos(v*(4*te-63)),fe=c-s,oe=E-S,Fe=2*Math.sin(v*B/2)*Math.pow(S*E,.5),Ue=1+.015*Math.pow(g-50,2)/Math.pow(20+Math.pow(g-50,2),.5),At=1+.045*C,Ve=1+.015*C*he,Y=30*Math.exp(-1*Math.pow((te-275)/25,2)),H=-2*Math.pow(f/(f+Math.pow(25,7)),.5)*Math.sin(2*v*Y);return Math.pow(Math.pow(fe/1/Ue,2)+Math.pow(oe/1/At,2)+Math.pow(Fe/1/Ve,2)+H*oe*Fe/(1*At*1*Ve),.5)})(this.toLab(),n.toLab())/100;return Qt(wi(i,3))},t.object.push([BE,"lab"])}var ep,wi,Qt,tp,rp,Qp,Yp,Gp,O1,$E,Ti,bn,BE,j1,xq=y(()=>{ep=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},wi=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},Qt=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},tp=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},rp=function(e){return 255*(e>.0031308?1.055*Math.pow(e,.4166666666666667)-.055:12.92*e)},Qp=96.422,Yp=100,Gp=82.521,O1=function(e){var t,r,n={x:.9555766*(t=e).x+-.0230393*t.y+.0631636*t.z,y:-.0282895*t.x+1.0099416*t.y+.0210077*t.z,z:.0122982*t.x+-.020483*t.y+1.3299098*t.z};return r={r:rp(.032404542*n.x-.015371385*n.y-.004985314*n.z),g:rp(-.00969266*n.x+.018760108*n.y+41556e-8*n.z),b:rp(556434e-9*n.x-.002040259*n.y+.010572252*n.z),a:e.a},{r:Qt(r.r,0,255),g:Qt(r.g,0,255),b:Qt(r.b,0,255),a:Qt(r.a)}},$E=function(e){var t=tp(e.r),r=tp(e.g),n=tp(e.b);return(function(i){return{x:Qt(i.x,0,Qp),y:Qt(i.y,0,Yp),z:Qt(i.z,0,Gp),a:Qt(i.a)}})((function(i){return{x:1.0478112*i.x+.0228866*i.y+-.050127*i.z,y:.0295424*i.x+.9904844*i.y+-.0170491*i.z,z:-.0092345*i.x+.0150436*i.y+.7521316*i.z,a:i.a}})({x:100*(.4124564*t+.3575761*r+.1804375*n),y:100*(.2126729*t+.7151522*r+.072175*n),z:100*(.0193339*t+.119192*r+.9503041*n),a:e.a}))},Ti=216/24389,bn=24389/27,BE=function(e){var t=e.l,r=e.a,n=e.b,i=e.alpha,o=i===void 0?1:i;if(!ep(t)||!ep(r)||!ep(n))return null;var a=(function(s){return{l:Qt(s.l,0,400),a:s.a,b:s.b,alpha:Qt(s.alpha)}})({l:Number(t),a:Number(r),b:Number(n),alpha:Number(o)});return j1(a)},j1=function(e){var t=(e.l+16)/116,r=e.a/500+t,n=t-e.b/200;return O1({x:(Math.pow(r,3)>Ti?Math.pow(r,3):(116*r-16)/bn)*Qp,y:(e.l>8?Math.pow((e.l+16)/116,3):e.l/bn)*Yp,z:(Math.pow(n,3)>Ti?Math.pow(n,3):(116*n-16)/bn)*Gp,a:e.alpha})}});function Sq(e,t){e.prototype.toLch=function(){return Wv(_v(this.rgba))},e.prototype.toLchString=function(){return r=Wv(_v(this.rgba)),n=r.l,i=r.c,o=r.h,(a=r.a)<1?"lch("+n+"% "+i+" "+o+" / "+a+")":"lch("+n+"% "+i+" "+o+")";var r,n,i,o,a},t.string.push([WE,"lch"]),t.object.push([qE,"lch"])}var T1,np,on,gr,ip,op,ap,sp,lp,D1,L1,Wn,an,zf,Wv,qE,_v,Af,F1,WE,Cq=y(()=>{T1={grad:.9,turn:360,rad:360/(2*Math.PI)},np=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},on=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},gr=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},ip=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},op=function(e){return 255*(e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e)},ap=96.422,sp=100,lp=82.521,D1=function(e){var t,r,n={x:.9555766*(t=e).x+-.0230393*t.y+.0631636*t.z,y:-.0282895*t.x+1.0099416*t.y+.0210077*t.z,z:.0122982*t.x+-.020483*t.y+1.3299098*t.z};return r={r:op(.032404542*n.x-.015371385*n.y-.004985314*n.z),g:op(-.00969266*n.x+.018760108*n.y+41556e-8*n.z),b:op(556434e-9*n.x-.002040259*n.y+.010572252*n.z),a:e.a},{r:gr(r.r,0,255),g:gr(r.g,0,255),b:gr(r.b,0,255),a:gr(r.a)}},L1=function(e){var t=ip(e.r),r=ip(e.g),n=ip(e.b);return(function(i){return{x:gr(i.x,0,ap),y:gr(i.y,0,sp),z:gr(i.z,0,lp),a:gr(i.a)}})((function(i){return{x:1.0478112*i.x+.0228866*i.y+-.050127*i.z,y:.0295424*i.x+.9904844*i.y+-.0170491*i.z,z:-.0092345*i.x+.0150436*i.y+.7521316*i.z,a:i.a}})({x:100*(.4124564*t+.3575761*r+.1804375*n),y:100*(.2126729*t+.7151522*r+.072175*n),z:100*(.0193339*t+.119192*r+.9503041*n),a:e.a}))},Wn=216/24389,an=24389/27,zf=function(e){return{l:gr(e.l,0,100),c:e.c,h:(t=e.h,(t=isFinite(t)?t%360:0)>0?t:t+360),a:e.a};var t},Wv=function(e){return{l:on(e.l,2),c:on(e.c,2),h:on(e.h,2),a:on(e.a,3)}},qE=function(e){var t=e.l,r=e.c,n=e.h,i=e.a,o=i===void 0?1:i;if(!np(t)||!np(r)||!np(n))return null;var a=zf({l:Number(t),c:Number(r),h:Number(n),a:Number(o)});return Af(a)},_v=function(e){var t=(function(o){var a=L1(o),s=a.x/ap,l=a.y/sp,u=a.z/lp;return s=s>Wn?Math.cbrt(s):(an*s+16)/116,{l:116*(l=l>Wn?Math.cbrt(l):(an*l+16)/116)-16,a:500*(s-l),b:200*(l-(u=u>Wn?Math.cbrt(u):(an*u+16)/116)),alpha:a.a}})(e),r=on(t.a,3),n=on(t.b,3),i=Math.atan2(n,r)/Math.PI*180;return{l:t.l,c:Math.sqrt(r*r+n*n),h:i<0?i+360:i,a:t.alpha}},Af=function(e){return t={l:e.l,a:e.c*Math.cos(e.h*Math.PI/180),b:e.c*Math.sin(e.h*Math.PI/180),alpha:e.a},n=t.a/500+(r=(t.l+16)/116),i=r-t.b/200,D1({x:(Math.pow(n,3)>Wn?Math.pow(n,3):(116*n-16)/an)*ap,y:(t.l>8?Math.pow((t.l+16)/116,3):t.l/an)*sp,z:(Math.pow(i,3)>Wn?Math.pow(i,3):(116*i-16)/an)*lp,a:t.alpha});var t,r,n,i},F1=/^lch\(\s*([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)\s+([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,WE=function(e){var t=F1.exec(e);if(!t)return null;var r,n,i=zf({l:Number(t[1]),c:Number(t[2]),h:(r=t[3],n=t[4],n===void 0&&(n="deg"),Number(r)*(T1[n]||1)),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return Af(i)}});function zq(e){if(e=e.toLowerCase(),!e.startsWith("hwb(")||!e.endsWith(")")||e.includes("/"))return null;let[t,r="",n="",i,...o]=e.slice(4,-1).split(",");if(!t||!t.trim()||!r.trim()||!n.trim()||o.length>0)return null;let a=uh(`hwb(${t} ${r} ${n}${i?` / ${i}`:""})`);return a.isValid()?a.rgba:null}function Aq(e){if(e=e.toLowerCase(),!e.startsWith("gray(")||!e.endsWith(")"))return null;let[t,r,...n]=e.slice(5,-1).split(",");if(!t||n.length>0)return null;let i=Uv.default.unit(t.trim());if(!i||!["","%"].includes(i.unit))return null;let o={l:Number(i.number),a:0,b:0};if(r){let a=Uv.default.unit(r.trim());if(!a||!["","%"].includes(a.unit))return null;o={...o,alpha:Number(a.number)/(a.unit?100:1)}}return uh(o).rgba}var Uv,uh,Nq=y(()=>{gq(),Uv=X(ue(),1),vq(),wq(),xq(),Cq(),FE([bq,yq,kq,Sq,(e,t)=>{t.string.push([zq,"hwb-with-comma"])},(e,t)=>{t.string.push([Aq,"gray"])}]),uh=er}),_E={};A(_E,{default:()=>UE});var Nf,Ko,up,M1,R1,Ho,UE,Eq=y(()=>{Nf=X(ue(),1),q(),Pr(),Nq(),J(),Sd(),_e(),V(),Ke(),K(),I(),j(),D(),Ko="color-named",up=O(Ko,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:e=>`Disallowed named color "${e}"`}),M1={url:"https://stylelint.io/user-guide/rules/color-named"},R1=new Set(["word","function"]),Ho=(e,t)=>(r,n)=>{if(!T(n,Ko,{actual:e,possible:["never","always-where-possible"]},{actual:t,possible:{ignoreProperties:[$,_],ignore:["inside-function"]},optional:!0}))return;r.walkDecls(o=>{if(KA.has(o.prop)||F(t,"ignoreProperties",o.prop))return;let{value:a}=o;e==="never"&&!Q.namedColor.test(a)||e==="always-where-possible"&&!Q.validHex.test(a)&&!Q.colorFunction.test(a)&&!Q.grayFunction.test(a)||(0,Nf.default)(a).walk(s=>{let l=s.value,u=s.type,c=s.sourceIndex;if(F(t,"ignore","inside-function")&&u==="function"||!xd(s))return!1;if(!Be(l)||!R1.has(u))return;if(e==="never"&&u==="word"&&Qc.has(l.toLowerCase())){i(up.rejected,[l],o,ne(o)+c,l.length);return}if(e!=="always-where-possible")return;let d,p;if(u==="function")d=Nf.default.stringify(s),p=d.replace(/\s*([,/()])\s*/g,"$1").replace(/\s{2,}/g," ");else if(u==="word"&&l.startsWith("#"))d=p=l;else return;let m=uh(p);if(!m.isValid())return;let v=m.toName();v&&v.toLowerCase()!=="transparent"&&i(up.expected,[p,v],o,ne(o)+c,d.length)})});function i(o,a,s,l,u){P({result:n,ruleName:Ko,message:o,messageArgs:a,node:s,index:l,endIndex:l+u})}},Ho.ruleName=Ko,Ho.messages=up,Ho.meta=M1,UE=Ho}),VE={};A(VE,{default:()=>YE});function Pq({type:e,value:t}){return e==="word"&&QE.test(t)}var $1,Xo,Ef,B1,QE,Jo,YE,Iq=y(()=>{$1=X(ue(),1),J(),We(),Ad(),V(),I(),j(),D(),Xo="color-no-hex",Ef=O(Xo,{rejected:e=>`Disallowed hex color "${e}"`}),B1={url:"https://stylelint.io/user-guide/rules/color-no-hex"},QE=/^#[\da-z]+$/i,Jo=e=>(t,r)=>{T(r,Xo,{actual:e})&&t.walkDecls(n=>{Q.hexColor.test(n.value)&&(0,$1.default)(qe(n)).walk(i=>{if(zd(i))return!1;if(!Pq(i))return;let o=ne(n)+i.sourceIndex,a=o+i.value.length;P({message:Ef.rejected,messageArgs:[i.value],node:n,index:o,endIndex:a,result:r,ruleName:Xo})})})},Jo.ruleName=Xo,Jo.messages=Ef,Jo.meta=B1,YE=Jo});function Oq(e){return!e.includes("[")}var jq=y(()=>{}),GE={};A(GE,{default:()=>KE});var q1,Zo,Pf,W1,ea,KE,Tq=y(()=>{q1=X(ue(),1),J(),jq(),PE(),V(),I(),j(),D(),Zo="color-no-invalid-hex",Pf=O(Zo,{rejected:e=>`Invalid hex color "${e}"`}),W1={url:"https://stylelint.io/user-guide/rules/color-no-invalid-hex"},ea=e=>(t,r)=>{T(r,Zo,{actual:e})&&t.walkDecls(n=>{Q.hexColor.test(n.value)&&Oq(n.value)&&(0,q1.default)(n.value).walk(({value:i,type:o,sourceIndex:a})=>{if(o==="function"&&i.endsWith("url"))return!1;if(o!=="word")return;let s=/^#[\da-z]+/i.exec(i);if(!s)return;let l=s[0];if(!l||NE(l))return;let u=ne(n)+a,c=u+l.length;P({message:Pf.rejected,messageArgs:[l],node:n,index:u,endIndex:c,result:r,ruleName:Zo})})})},ea.ruleName=Zo,ea.messages=Pf,ea.meta=W1,KE=ea});function Kc(e){return!("inline"in e||"inline"in e.raws)}var ch=y(()=>{}),HE={};A(HE,{default:()=>XE});var ta,cp,_1,ra,XE,Dq=y(()=>{q(),pd(),hd(),nh(),yd(),fd(),ah(),_w(),ch(),K(),I(),j(),D(),ta="comment-empty-line-before",cp=O(ta,{expected:"Expected empty line before comment",rejected:"Expected no empty line before comment"}),_1={url:"https://stylelint.io/user-guide/rules/comment-empty-line-before",fixable:!0},ra=(e,t,r)=>(n,i)=>{T(i,ta,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["first-nested"],ignore:["stylelint-commands","after-comment"],ignoreComments:[$,_]},optional:!0})&&n.walkComments(o=>{if(oh(o)||ji(o,r.configurationComment)&&F(t,"ignore","stylelint-commands")||F(t,"ignore","after-comment")&&Wi(o)||F(t,"ignoreComments",o.text)||Ww(o)||!Kc(o))return;let a=F(t,"except","first-nested")&&Br(o)?!1:e==="always",s=o.raws.before||"",l=md(s);if(a===l)return;let u=a?cp.expected:cp.rejected,c=a?"add":"remove";P({message:u,messageArgs:[],node:o,result:i,ruleName:ta,fix:{apply:()=>dd({node:o,newline:r.newline,action:c}),node:o.parent}})})},ra.ruleName=ta,ra.messages=cp,ra.meta=_1,XE=ra}),JE={};A(JE,{default:()=>ZE});var na,If,U1,ia,ZE,Lq=y(()=>{ch(),I(),j(),D(),na="comment-no-empty",If=O(na,{rejected:"Empty comment"}),U1={url:"https://stylelint.io/user-guide/rules/comment-no-empty"},ia=e=>(t,r)=>{T(r,na,{actual:e})&&t.walkComments(n=>{Kc(n)&&(n.text&&n.text.length!==0||P({message:If.rejected,messageArgs:[],node:n,result:r,ruleName:na}))})},ia.ruleName=na,ia.messages=If,ia.meta=U1,ZE=ia}),eP={};A(eP,{default:()=>tP});var oa,Of,V1,aa,tP,Fq=y(()=>{q(),I(),j(),D(),oa="comment-pattern",Of=O(oa,{expected:e=>`Expected comment to match pattern "${e}"`}),V1={url:"https://stylelint.io/user-guide/rules/comment-pattern"},aa=e=>(t,r)=>{if(!T(r,oa,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkComments(i=>{let o=i.text;n.test(o)||P({message:Of.expected,messageArgs:[e],node:i,result:r,ruleName:oa})})},aa.ruleName=oa,aa.messages=Of,aa.meta=V1,tP=aa});function Vv(e){return[" ",`
23
- `," ","\r","\f"].includes(e)}var rP=y(()=>{}),nP={};A(nP,{default:()=>iP});function Mq(e){e.text.startsWith("*")?e.text=e.text.replace(/^(\*+)/,"$1 "):e.raws.left=" "}function Rq(e){e.text[e.text.length-1]==="*"?e.text=e.text.replace(/(\*+)$/," $1"):e.raws.right=" "}var sa,sn,Q1,la,iP,$q=y(()=>{ch(),rP(),I(),j(),D(),sa="comment-whitespace-inside",sn=O(sa,{expectedOpening:'Expected whitespace after "/*"',rejectedOpening:'Expected no whitespace after "/*"',expectedClosing:'Expected whitespace before "*/"',rejectedClosing:'Expected no whitespace before "*/"'}),Q1={url:"https://stylelint.io/user-guide/rules/comment-whitespace-inside",fixable:!0},la=e=>(t,r)=>{T(r,sa,{actual:e,possible:["always","never"]})&&t.walkComments(n=>{var h,b;if(!Kc(n))return;let i=n.toString(),o=i.slice(0,4);if(/^\/\*[#!]\s/.test(o))return;let a=i.match(/(^\/\*+)(\s*)/);if(a==null||a[1]==null)throw new Error(`Invalid comment: "${i}"`);let s=i.match(/(\s*)(\*+\/)$/);if(s==null||s[2]==null)throw new Error(`Invalid comment: "${i}"`);let l=a[1],u=(h=a[2])!=null?h:"",c=u.charAt(0),d=(b=s[1])!=null?b:"",p=d.charAt(0),m=s[2];if(e==="never"&&c!==""){let g=l.length,f=g+u.length;v(sn.rejectedOpening,g,f)}if(e==="always"&&!Vv(c)&&v(sn.expectedOpening,l.length),e==="never"&&p!==""){let g=i.length-m.length,f=g-d.length;v(sn.rejectedClosing,f,g)}e==="always"&&!Vv(p)&&v(sn.expectedClosing,i.length-m.length-1);function v(g,f,x=f){P({message:g,messageArgs:[],index:f,endIndex:x,result:r,ruleName:sa,node:n,fix:{apply:()=>{e==="never"?(n.raws.left="",n.raws.right="",n.text=n.text.replace(/^(\*+)(\s+)?/,"$1").replace(/(\s+)?(\*+)$/,"$2")):(g===sn.expectedClosing?Rq:Mq)(n)},node:n}})}})},la.ruleName=sa,la.messages=sn,la.meta=Q1,iP=la});function Bq(e,t){if(!Array.isArray(t))return Y1(e,t);for(let r of t){let n=Y1(e,r);if(n)return n}return!1}function Y1(e,t){return!t||!$(t)||t.startsWith("/")&&t.endsWith("/")?!1:e.includes(t)?{match:e,pattern:t,substring:t}:!1}var qq=y(()=>{q()}),oP={};A(oP,{default:()=>aP});var ua,jf,G1,_n,aP,Wq=y(()=>{q(),qq(),Le(),I(),j(),D(),ua="comment-word-disallowed-list",jf=O(ua,{rejected:e=>`Disallowed word matching pattern "${e}"`}),G1={url:"https://stylelint.io/user-guide/rules/comment-word-disallowed-list"},_n=e=>(t,r)=>{T(r,ua,{actual:e,possible:[$,_]})&&t.walkComments(n=>{let i=n.text;if(n.toString().slice(0,4)==="/*# ")return;let o=Pe(i,e)||Bq(i,e);o&&P({message:jf.rejected,messageArgs:[o.pattern],node:n,word:o.substring,result:r,ruleName:ua})})},_n.primaryOptionArray=!0,_n.ruleName=ua,_n.messages=jf,_n.meta=G1,aP=_n}),sP={};A(sP,{default:()=>lP});var Tf,ca,Df,K1,H1,da,lP,_q=y(()=>{Tf=X(ue(),1),J(),V(),q(),Ke(),et(),ct(),_e(),I(),j(),D(),ca="container-name-pattern",Df=O(ca,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),K1={url:"https://stylelint.io/user-guide/rules/container-name-pattern"},H1=new Set(["and","or","none","not"]),da=e=>(t,r)=>{var s,l,u,c;if(!T(r,ca,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e,i=(c=(u=(l=(s=r.stylelint.config)==null?void 0:s.languageOptions)==null?void 0:l.syntax)==null?void 0:u.cssWideKeywords)!=null?c:[],o=new Set([...Te,...i]);t.walkDecls(dr.containerNameAndShorthandName,d=>{if(!ut(d))return;let p=(0,Tf.default)(d.value),m=!1;p.walk(({sourceIndex:v,type:h,value:b})=>{if(!m){if(h==="div"&&b==="/"&&(m=!0),h!=="word")return!1;o.has(b.toLowerCase())||Be(b)&&(n.test(b)||a(ne(d)+v,b,d))}})}),t.walkAtRules(Se.containerName,d=>{if(!Ze(d))return;let{params:p}=d;(0,Tf.default)(p).walk(({sourceIndex:m,type:v,value:h})=>{if(v!=="word")return!1;H1.has(h.toLowerCase())||n.test(h)||a(je(d)+m,h,d)})});function a(d,p,m){P({result:r,ruleName:ca,message:Df.expected,messageArgs:[p,e],node:m,index:d,endIndex:d+p.length})}},da.ruleName=ca,da.messages=Df,da.meta=K1,lP=da}),uP={};A(uP,{default:()=>cP});var pa,Lf,X1,ma,cP,Uq=y(()=>{q(),J(),V(),I(),j(),D(),pa="custom-media-pattern",Lf=O(pa,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),X1={url:"https://stylelint.io/user-guide/rules/custom-media-pattern"},ma=e=>(t,r)=>{if(!T(r,pa,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkAtRules(Se.customMediaName,i=>{let[o,a]=i.params.match(/^--(\S+)\b/)||[];if(o===void 0||a===void 0)throw new Error(`Unexpected at-rule params: "${i.params}"`);if(n.test(a))return;let s=je(i);P({message:Lf.expected,messageArgs:[o,e],node:i,index:s,endIndex:s+o.length,result:r,ruleName:pa})})},ma.ruleName=pa,ma.messages=Lf,ma.meta=X1,cP=ma});function Vq(e){var i;let t=Qv.get(e),r=(i=e.raws.before)!=null?i:"";if(t&&t.before===r)return t.result;let n=r+e.toString();return Qv.set(e,{result:n,before:r}),n}var Qv,Qq=y(()=>{Qv=new WeakMap});function Jw(e){return Gc(e)?Vq(e).slice(mE(e).length):""}var Zw=y(()=>{hE(),ih(),Qq()});function dP(e){let t=e.prev();return t?it(t)||Oe(t):!1}var pP=y(()=>{me()});function yt(e){return e.startsWith("--")}var pr=y(()=>{});function dh(e){return!/[\n\r]/.test(e)}var ph=y(()=>{}),mP={};A(mP,{default:()=>hP});function J1(e){let t=$r(e);return t!=null&&to(t)&&yt(t.prop)}var ha,dp,Z1,fa,hP,Yq=y(()=>{me(),Zw(),pd(),Pn(),hd(),pP(),nh(),pr(),fd(),ph(),ct(),K(),I(),j(),D(),ha="custom-property-empty-line-before",dp=O(ha,{expected:"Expected empty line before custom property",rejected:"Expected no empty line before custom property"}),Z1={url:"https://stylelint.io/user-guide/rules/custom-property-empty-line-before",fixable:!0},fa=(e,t,r)=>(n,i)=>{T(i,ha,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["after-block","after-comment","after-custom-property","first-nested"],ignore:["after-comment","after-custom-property","first-nested","inside-single-line-block"]},optional:!0})&&n.walkDecls(o=>{let a=o.prop,s=o.parent;if(!ut(o)||!yt(a)||F(t,"ignore","after-comment")&&Wi(o)||F(t,"ignore","after-custom-property")&&J1(o)||F(t,"ignore","first-nested")&&Br(o)||F(t,"ignore","inside-single-line-block")&&s!=null&&(Oe(s)||it(s))&&dh(Jw(s)))return;let l=e==="always";(F(t,"except","first-nested")&&Br(o)||F(t,"except","after-block")&&dP(o)||F(t,"except","after-comment")&&Wi(o)||F(t,"except","after-custom-property")&&J1(o))&&(l=!l);let u=md(o.raws.before);if(l===u)return;let c=l?dp.expected:dp.rejected,d=l?"add":"remove";P({message:c,messageArgs:[],node:o,result:i,ruleName:ha,fix:{apply:()=>dd({node:o,newline:r.newline,action:d}),node:o.parent}})})},fa.ruleName=ha,fa.messages=dp,fa.meta=Z1,hP=fa}),fP={};A(fP,{default:()=>gP});function e0({type:e,value:t}){return e==="word"&&t.startsWith("--")}var t0,ga,Ff,r0,n0,ba,gP,Gq=y(()=>{t0=X(ue(),1),V(),J(),Cd(),I(),j(),D(),ga="custom-property-no-missing-var-function",Ff=O(ga,{rejected:e=>`Missing var function for "${e}"`}),r0={url:"https://stylelint.io/user-guide/rules/custom-property-no-missing-var-function"},n0=new Set(["animation","animation-name","animation-timeline","container-name","counter-increment","counter-reset","counter-set","grid-column","grid-column-end","grid-column-start","grid-row","grid-row-end","grid-row-start","list-style","list-style-type","timeline-scope","transition","transition-property","view-transition-name","will-change"]),ba=e=>(t,r)=>{if(!T(r,ga,{actual:e}))return;let n=new Set;t.walkAtRules(Se.propertyName,({params:o})=>{n.add(o)}),t.walkDecls(dr.custom,({prop:o})=>{n.add(o)}),t.walkDecls(o=>{let{prop:a,value:s}=o;Q.customProperty.test(s)&&(n0.has(a.toLowerCase())||(0,t0.default)(s).nodes.forEach(l=>{i(l,o)}))});function i(o,a){if(o.type==="function"){let c=o.value.toLowerCase(),d=o.nodes;if(c==="var")d=o.nodes.slice(1);else if(c==="running"){let[p]=o.nodes;if(p&&ao(p))d=p.nodes.slice(1);else return}else if(c==="style"){let p=!1;o.nodes.forEach(m=>{m.type==="div"&&m.value===":"?p=!0:!p&&e0(m)||p&&i(m,a)});return}d.forEach(p=>i(p,a));return}if(!e0(o))return;let s=o.value.replace(/;+$/,"");if(!n.has(s))return;let l=ne(a)+o.sourceIndex,u=l+s.length;P({message:Ff.rejected,messageArgs:[s],node:a,index:l,endIndex:u,result:r,ruleName:ga})}},ba.ruleName=ga,ba.messages=Ff,ba.meta=r0,gP=ba});function Or(e){return!(PN(e)||e.startsWith("@")||e.endsWith("+")||e.endsWith("+_")||eh(e))}var jr=y(()=>{th(),IN()}),bP={};A(bP,{default:()=>vP});var i0,va,Mf,o0,ya,vP,Kq=y(()=>{i0=X(ue(),1),J(),V(),q(),pr(),jr(),Cd(),I(),j(),D(),va="custom-property-pattern",Mf=O(va,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),o0={url:"https://stylelint.io/user-guide/rules/custom-property-pattern"},ya=e=>(t,r)=>{if(!T(r,va,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;function i(a){return!yt(a)||!Or(a)||n.test(a.slice(2))}t.walkDecls(a=>{let{prop:s,value:l}=a;Q.varFunction.test(l)&&(0,i0.default)(l).walk(u=>{if(!ao(u))return;let{nodes:c}=u,d=c[0];!d||i(d.value)||o(ne(a)+d.sourceIndex,d.value,a)}),!i(s)&&o(0,s,a)}),t.walkAtRules(Se.propertyName,a=>{let{params:s}=a;i(s)||o(je(a),s,a)});function o(a,s,l){P({result:r,ruleName:va,message:Mf.expected,messageArgs:[s,e],node:l,index:a,endIndex:a+s.length})}},ya.ruleName=va,ya.messages=Mf,ya.meta=o0,vP=ya});function Hq(e){return it(e)||Oe(e)||ur(e)}function mh(e,t){function r(n){if(Hq(n)&&n.nodes&&n.nodes.length){let i=[];for(let o of n.nodes)o.type==="decl"&&i.push(o),r(o);i.length&&t(i.forEach.bind(i))}}r(e)}var hh=y(()=>{me()}),yP={};A(yP,{default:()=>wP});var wa,Rf,a0,ka,wP,Xq=y(()=>{q(),hh(),pr(),jr(),K(),I(),j(),D(),wa="declaration-block-no-duplicate-custom-properties",Rf=O(wa,{rejected:e=>`Duplicate custom property "${e}"`}),a0={url:"https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-custom-properties"},ka=(e,t)=>(r,n)=>{T(n,wa,{actual:e},{actual:t,possible:{ignoreProperties:[$,_]},optional:!0})&&mh(r,i=>{let o=new Set;i(a=>{let s=a.prop;if(!(!Or(s)||!yt(s)||F(t,"ignoreProperties",s))){if(o.has(s)){P({message:Rf.rejected,messageArgs:[s],node:a,result:n,ruleName:wa,word:s});return}o.add(s)}})})},ka.ruleName=wa,ka.messages=Rf,ka.meta=a0,wP=ka}),s0=y(()=>{});function pt(e){return e>=48&&e<=57}function en(e){return pt(e)||e>=65&&e<=70||e>=97&&e<=102}function ek(e){return e>=65&&e<=90}function Jq(e){return e>=97&&e<=122}function Zq(e){return ek(e)||Jq(e)}function e9(e){return e>=128}function Nm(e){return Zq(e)||e9(e)||e===95}function kP(e){return Nm(e)||pt(e)||e===45}function t9(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function Em(e){return e===10||e===13||e===12}function xn(e){return Em(e)||e===32||e===9}function wr(e,t){return!(e!==92||Em(t)||t===0)}function Kp(e,t,r){return e===45?Nm(t)||t===45||wr(t,r):Nm(e)?!0:e===92?wr(e,t):!1}function $f(e,t,r){return e===43||e===45?pt(t)?2:t===46&&pt(r)?3:0:e===46?pt(t)?2:0:pt(e)?1:0}function xP(e){return e===65279||e===65534?1:0}function Bf(e){return e<128?Hp[e]:Pm}var Hp,l0,Nc,Yv,Pm,Gv,Im=y(()=>{Hp=new Array(128),l0=128,Nc=130,Yv=131,Pm=132,Gv=133;for(let e=0;e<Hp.length;e++)Hp[e]=xn(e)&&Nc||pt(e)&&Yv||Nm(e)&&Pm||t9(e)&&Gv||e||l0});function Di(e,t){return t<e.length?e.charCodeAt(t):0}function Kv(e,t,r){return r===13&&Di(e,t+1)===10?2:1}function Li(e,t,r){let n=e.charCodeAt(t);return ek(n)&&(n=n|32),n===r}function Hc(e,t,r,n){if(r-t!==n.length||t<0||r>e.length)return!1;for(let i=t;i<r;i++){let o=n.charCodeAt(i-t),a=e.charCodeAt(i);if(ek(a)&&(a=a|32),a!==o)return!1}return!0}function r9(e,t){for(;t>=0&&xn(e.charCodeAt(t));t--);return t+1}function pp(e,t){for(;t<e.length&&xn(e.charCodeAt(t));t++);return t}function qf(e,t){for(;t<e.length&&pt(e.charCodeAt(t));t++);return t}function Ui(e,t){if(t+=2,en(Di(e,t-1))){for(let n=Math.min(e.length,t+5);t<n&&en(Di(e,t));t++);let r=Di(e,t);xn(r)&&(t+=Kv(e,t,r))}return t}function mp(e,t){for(;t<e.length;t++){let r=e.charCodeAt(t);if(!kP(r)){if(wr(r,Di(e,t+1))){t=Ui(e,t)-1;continue}break}}return t}function fh(e,t){let r=e.charCodeAt(t);if((r===43||r===45)&&(r=e.charCodeAt(t+=1)),pt(r)&&(t=qf(e,t+1),r=e.charCodeAt(t)),r===46&&pt(e.charCodeAt(t+1))&&(t+=2,t=qf(e,t)),Li(e,t,101)){let n=0;r=e.charCodeAt(t+1),(r===45||r===43)&&(n=1,r=e.charCodeAt(t+2)),pt(r)&&(t=qf(e,t+1+n+1))}return t}function Wf(e,t){for(;t<e.length;t++){let r=e.charCodeAt(t);if(r===41){t++;break}wr(r,Di(e,t+1))&&(t=Ui(e,t))}return t}function SP(e){if(e.length===1&&!en(e.charCodeAt(0)))return e[0];let t=parseInt(e,16);return(t===0||t>=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}var Hv=y(()=>{Im()}),Om,CP=y(()=>{Om=["EOF-token","ident-token","function-token","at-keyword-token","hash-token","string-token","bad-string-token","url-token","bad-url-token","delim-token","number-token","percentage-token","dimension-token","whitespace-token","CDO-token","CDC-token","colon-token","semicolon-token","comma-token","[-token","]-token","(-token",")-token","{-token","}-token","comment-token"]});function jm(e=null,t){return e===null||e.length<t?new Uint32Array(Math.max(t+1024,16384)):e}var zP=y(()=>{});function u0(e){let t=e.source,r=t.length,n=t.length>0?xP(t.charCodeAt(0)):0,i=jm(e.lines,r),o=jm(e.columns,r),a=e.startLine,s=e.startColumn;for(let l=n;l<r;l++){let u=t.charCodeAt(l);i[l]=a,o[l]=s++,(u===Xv||u===Jv||u===AP)&&(u===Jv&&l+1<r&&t.charCodeAt(l+1)===Xv&&(l++,i[l]=a,o[l]=s),a++,s=1)}i[r]=a,o[r]=s,e.lines=i,e.columns=o,e.computed=!0}var Xv,AP,Jv,NP,n9=y(()=>{zP(),Im(),Xv=10,AP=12,Jv=13,NP=class{constructor(e,t,r,n){this.setSource(e,t,r,n),this.lines=null,this.columns=null}setSource(e="",t=0,r=1,n=1){this.source=e,this.startOffset=t,this.startLine=r,this.startColumn=n,this.computed=!1}getLocation(e,t){return this.computed||u0(this),{source:t,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}getLocationRange(e,t,r){return this.computed||u0(this),{source:r,start:{offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]},end:{offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}}}});function c0(e,t,r){return e<t?t:e>r?r:e}var _t,Ut,Un,xa,Fr,Vt,EP,i9=y(()=>{zP(),Hv(),CP(),_t=16777215,Ut=24,Un=1,xa=2,Fr=new Uint8Array(32),Fr[2]=22,Fr[21]=22,Fr[19]=20,Fr[23]=24,Vt=new Uint8Array(32),Vt[2]=Un,Vt[21]=Un,Vt[19]=Un,Vt[23]=Un,Vt[22]=xa,Vt[20]=xa,Vt[24]=xa,EP=class{constructor(e,t){this.setSource(e,t)}reset(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}setSource(e="",t=()=>{}){e=String(e||"");let r=e.length,n=jm(this.offsetAndType,e.length+1),i=jm(this.balance,e.length+1),o=0,a=-1,s=0,l=e.length;this.offsetAndType=null,this.balance=null,i.fill(0),t(e,(u,c,d)=>{let p=o++;if(n[p]=u<<Ut|d,a===-1&&(a=c),i[p]=l,u===s){let m=i[l];i[l]=p,l=m,s=Fr[n[m]>>Ut]}else this.isBlockOpenerTokenType(u)&&(l=p,s=Fr[u])}),n[o]=0<<Ut|r,i[o]=o;for(let u=0;u<o;u++){let c=i[u];if(c<=u){let d=i[c];d!==u&&(i[u]=d)}else c>o&&(i[u]=o)}this.source=e,this.firstCharOffset=a===-1?0:a,this.tokenCount=o,this.offsetAndType=n,this.balance=i,this.reset(),this.next()}lookupType(e){return e+=this.tokenIndex,e<this.tokenCount?this.offsetAndType[e]>>Ut:0}lookupTypeNonSC(e){for(let t=this.tokenIndex;t<this.tokenCount;t++){let r=this.offsetAndType[t]>>Ut;if(r!==13&&r!==25&&e--===0)return r}return 0}lookupOffset(e){return e+=this.tokenIndex,e<this.tokenCount?this.offsetAndType[e-1]&_t:this.source.length}lookupOffsetNonSC(e){for(let t=this.tokenIndex;t<this.tokenCount;t++){let r=this.offsetAndType[t]>>Ut;if(r!==13&&r!==25&&e--===0)return t-this.tokenIndex}return 0}lookupValue(e,t){return e+=this.tokenIndex,e<this.tokenCount?Hc(this.source,this.offsetAndType[e-1]&_t,this.offsetAndType[e]&_t,t):!1}getTokenStart(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?this.offsetAndType[e-1]&_t:this.offsetAndType[this.tokenCount]&_t:this.firstCharOffset}getTokenEnd(e){return e===this.tokenIndex?this.tokenEnd:this.offsetAndType[c0(e,0,this.tokenCount)]&_t}getTokenType(e){return e===this.tokenIndex?this.tokenType:this.offsetAndType[c0(e,0,this.tokenCount)]>>Ut}substrToCursor(e){return this.source.substring(e,this.tokenStart)}isBlockOpenerTokenType(e){return Vt[e]===Un}isBlockCloserTokenType(e){return Vt[e]===xa}getBlockTokenPairIndex(e){let t=this.getTokenType(e);if(Vt[t]===1){let r=this.balance[e],n=this.getTokenType(r);return Fr[t]===n?r:-1}else if(Vt[t]===2){let r=this.balance[e],n=this.getTokenType(r);return Fr[n]===t?r:-1}return-1}isBalanceEdge(e){return this.balance[this.tokenIndex]<e}isDelim(e,t){return t?this.lookupType(t)===9&&this.source.charCodeAt(this.lookupOffset(t))===e:this.tokenType===9&&this.source.charCodeAt(this.tokenStart)===e}skip(e){let t=this.tokenIndex+e;t<this.tokenCount?(this.tokenIndex=t,this.tokenStart=this.offsetAndType[t-1]&_t,t=this.offsetAndType[t],this.tokenType=t>>Ut,this.tokenEnd=t&_t):(this.tokenIndex=this.tokenCount,this.next())}next(){let e=this.tokenIndex+1;e<this.tokenCount?(this.tokenIndex=e,this.tokenStart=this.tokenEnd,e=this.offsetAndType[e],this.tokenType=e>>Ut,this.tokenEnd=e&_t):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=0,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===13||this.tokenType===25;)this.next()}skipUntilBalanced(e,t){let r=e,n=0,i=0;e:for(;r<this.tokenCount;r++){if(n=this.balance[r],n<e)break e;switch(i=r>0?this.offsetAndType[r-1]&_t:this.firstCharOffset,t(this.source.charCodeAt(i))){case 1:break e;case 2:r++;break e;default:this.isBlockOpenerTokenType(this.offsetAndType[r]>>Ut)&&(r=n)}}this.skip(r-this.tokenIndex)}forEachToken(e){for(let t=0,r=this.firstCharOffset;t<this.tokenCount;t++){let n=r,i=this.offsetAndType[t],o=i&_t,a=i>>Ut;r=o,e(a,n,o,t)}}dump(){let e=new Array(this.tokenCount);return this.forEachToken((t,r,n,i)=>{e[i]={idx:i,type:Om[t],chunk:this.source.substring(r,n),balance:this.balance[i]}}),e}}});function gh(e,t){function r(d){return d<s?e.charCodeAt(d):0}function n(){if(u=fh(e,u),Kp(r(u),r(u+1),r(u+2))){c=12,u=mp(e,u);return}if(r(u)===37){c=11,u++;return}c=10}function i(){let d=u;if(u=mp(e,u),Hc(e,d,u,"url")&&r(u)===40){if(u=pp(e,u+1),r(u)===34||r(u)===39){c=2,u=d+4;return}a();return}if(r(u)===40){c=2,u++;return}c=1}function o(d){for(d||(d=r(u++)),c=5;u<e.length;u++){let p=e.charCodeAt(u);switch(Bf(p)){case d:u++;return;case Nc:if(Em(p)){u+=Kv(e,u,p),c=6;return}break;case 92:if(u===e.length-1)break;let m=r(u+1);Em(m)?u+=Kv(e,u+1,m):wr(p,m)&&(u=Ui(e,u)-1);break}}}function a(){for(c=7,u=pp(e,u);u<e.length;u++){let d=e.charCodeAt(u);switch(Bf(d)){case 41:u++;return;case Nc:if(u=pp(e,u),r(u)===41||u>=e.length){u<e.length&&u++;return}u=Wf(e,u),c=8;return;case 34:case 39:case 40:case Gv:u=Wf(e,u),c=8;return;case 92:if(wr(d,r(u+1))){u=Ui(e,u)-1;break}u=Wf(e,u),c=8;return}}}e=String(e||"");let s=e.length,l=xP(r(0)),u=l,c;for(;u<s;){let d=e.charCodeAt(u);switch(Bf(d)){case Nc:c=13,u=pp(e,u+1);break;case 34:o();break;case 35:kP(r(u+1))||wr(r(u+1),r(u+2))?(c=4,u=mp(e,u+1)):(c=9,u++);break;case 39:o();break;case 40:c=21,u++;break;case 41:c=22,u++;break;case 43:$f(d,r(u+1),r(u+2))?n():(c=9,u++);break;case 44:c=18,u++;break;case 45:$f(d,r(u+1),r(u+2))?n():r(u+1)===45&&r(u+2)===62?(c=15,u=u+3):Kp(d,r(u+1),r(u+2))?i():(c=9,u++);break;case 46:$f(d,r(u+1),r(u+2))?n():(c=9,u++);break;case 47:r(u+1)===42?(c=25,u=e.indexOf("*/",u+2),u=u===-1?e.length:u+2):(c=9,u++);break;case 58:c=16,u++;break;case 59:c=17,u++;break;case 60:r(u+1)===33&&r(u+2)===45&&r(u+3)===45?(c=14,u=u+4):(c=9,u++);break;case 64:Kp(r(u+1),r(u+2),r(u+3))?(c=3,u=mp(e,u+1)):(c=9,u++);break;case 91:c=19,u++;break;case 92:wr(d,r(u+1))?i():(c=9,u++);break;case 93:c=20,u++;break;case 123:c=23,u++;break;case 125:c=24,u++;break;case Yv:n();break;case Pm:i();break;default:c=9,u++}t(c,l,l=u)}}var mr=y(()=>{Im(),Hv(),s0(),s0(),CP(),Im(),Hv(),n9(),i9()}),ln,Xc,tk=y(()=>{ln=null,Xc=class pn{static createItem(t){return{prev:null,next:null,data:t}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(t){return pn.createItem(t)}allocateCursor(t,r){let n;return ln!==null?(n=ln,ln=ln.cursor,n.prev=t,n.next=r,n.cursor=this.cursor):n={prev:t,next:r,cursor:this.cursor},this.cursor=n,n}releaseCursor(){let{cursor:t}=this;this.cursor=t.cursor,t.prev=null,t.next=null,t.cursor=ln,ln=t}updateCursors(t,r,n,i){let{cursor:o}=this;for(;o!==null;)o.prev===t&&(o.prev=r),o.next===n&&(o.next=i),o=o.cursor}*[Symbol.iterator](){for(let t=this.head;t!==null;t=t.next)yield t.data}get size(){let t=0;for(let r=this.head;r!==null;r=r.next)t++;return t}get isEmpty(){return this.head===null}get first(){return this.head&&this.head.data}get last(){return this.tail&&this.tail.data}toArray(){return[...this]}toJSON(){return[...this]}forEach(t,r=this){let n=this.allocateCursor(null,this.head);for(;n.next!==null;){let i=n.next;n.next=i.next,t.call(r,i.data,i,this)}this.releaseCursor()}reduce(t,r,n=this){let i=this.allocateCursor(null,this.head),o=r,a;for(;i.next!==null;)a=i.next,i.next=a.next,o=t.call(n,o,a.data,a,this);return this.releaseCursor(),o}reduceRight(t,r,n=this){let i=this.allocateCursor(this.tail,null),o=r,a;for(;i.prev!==null;)a=i.prev,i.prev=a.prev,o=t.call(n,o,a.data,a,this);return this.releaseCursor(),o}some(t,r=this){for(let n=this.head;n!==null;n=n.next)if(t.call(r,n.data,n,this))return!0;return!1}map(t,r=this){let n=new pn;for(let i=this.head;i!==null;i=i.next)n.appendData(t.call(r,i.data,i,this));return n}filter(t,r=this){let n=new pn;for(let i=this.head;i!==null;i=i.next)t.call(r,i.data,i,this)&&n.appendData(i.data);return n}clear(){this.head=null,this.tail=null}prepend(t){return this.updateCursors(null,t,this.head,t),this.head!==null?(this.head.prev=t,t.next=this.head):this.tail=t,this.head=t,this}append(t){return this.insert(t)}appendData(t){return this.insert(pn.createItem(t))}insert(t,r=null){if(r!==null)if(this.updateCursors(r.prev,t,r,t),r.prev===null){if(this.head!==r)throw new Error("before doesn't belong to list");this.head=t,r.prev=t,t.next=r,this.updateCursors(null,t)}else r.prev.next=t,t.prev=r.prev,r.prev=t,t.next=r;else this.updateCursors(this.tail,t,null,t),this.tail!==null?(this.tail.next=t,t.prev=this.tail):this.head=t,this.tail=t;return this}remove(t){if(this.updateCursors(t,t.prev,t,t.next),t.prev!==null)t.prev.next=t.next;else{if(this.head!==t)throw new Error("item doesn't belong to list");this.head=t.next}if(t.next!==null)t.next.prev=t.prev;else{if(this.tail!==t)throw new Error("item doesn't belong to list");this.tail=t.prev}return t.prev=null,t.next=null,t}push(t){this.insert(pn.createItem(t))}pop(){return this.tail!==null?this.remove(this.tail):null}unshift(t){this.prepend(pn.createItem(t))}shift(){return this.head!==null?this.remove(this.head):null}insertList(t,r){return t.head===null?this:(r!=null?(this.updateCursors(r.prev,t.tail,r,t.head),r.prev!==null?(r.prev.next=t.head,t.head.prev=r.prev):this.head=t.head,r.prev=t.tail,t.tail.next=r):(this.updateCursors(this.tail,t.tail,null,t.head),this.tail!==null?(this.tail.next=t.head,t.head.prev=this.tail):this.head=t.head,this.tail=t.tail),t.head=null,t.tail=null,this)}replace(t,r){"head"in r?this.insertList(r,t):this.insert(r,t),this.remove(t)}}});function Tm(e,t){let r=Object.create(SyntaxError.prototype),n=new Error;return Object.assign(r,{name:e,message:t,get stack(){return(n.stack||"").replace(/^(.+\n){1,3}/,`${e}: ${t}
24
- `)}})}var rk=y(()=>{});function d0({source:e,line:t,column:r,baseLine:n,baseColumn:i},o){function a(v,h){return u.slice(v,h).map((b,g)=>String(v+g+1).padStart(p)+" |"+b).join(`
19
+ `?(d=1,p+=1):d+=1;return{column:d,line:p,offset:h}}prev(){if(!this.parent)return;let c=this.parent.index(this);return this.parent.nodes[c-1]}rangeBy(c={}){let d="document"in this.source.input?this.source.input.document:this.source.input.css,p={column:this.source.start.column,line:this.source.start.line,offset:l(d,this.source.start)},m=this.source.end?{column:this.source.end.column+1,line:this.source.end.line,offset:typeof this.source.end.offset=="number"?this.source.end.offset:l(d,this.source.end)+1}:{column:p.column+1,line:p.line,offset:p.offset+1};if(c.word){let v=d.slice(l(d,this.source.start),l(d,this.source.end)).indexOf(c.word);v!==-1&&(p=this.positionInside(v),m=this.positionInside(v+c.word.length))}else c.start?p={column:c.start.column,line:c.start.line,offset:l(d,c.start)}:c.index&&(p=this.positionInside(c.index)),c.end?m={column:c.end.column,line:c.end.line,offset:l(d,c.end)}:typeof c.endIndex=="number"?m=this.positionInside(c.endIndex):c.index&&(m=this.positionInside(c.index+1));return(m.line<p.line||m.line===p.line&&m.column<=p.column)&&(m={column:p.column+1,line:p.line,offset:p.offset+1}),{end:m,start:p}}raw(c,d){return new n().raw(this,c,d)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...c){if(this.parent){let d=this,p=!1;for(let m of c)m===this?p=!0:p?(this.parent.insertAfter(d,m),d=m):this.parent.insertBefore(d,m);p||this.remove()}return this}root(){let c=this;for(;c.parent&&c.parent.type!=="document";)c=c.parent;return c}toJSON(c,d){let p={},m=d==null;d=d||new Map;let v=0;for(let h in this){if(!Object.prototype.hasOwnProperty.call(this,h)||h==="parent"||h==="proxyCache")continue;let b=this[h];if(Array.isArray(b))p[h]=b.map(f=>typeof f=="object"&&f.toJSON?f.toJSON(null,d):f);else if(typeof b=="object"&&b.toJSON)p[h]=b.toJSON(null,d);else if(h==="source"){if(b==null)continue;let f=d.get(b.input);f==null&&(f=v,d.set(b.input,v),v++),p[h]={end:b.end,inputId:f,start:b.start}}else p[h]=b}return m&&(p.inputs=[...d.keys()].map(h=>h.toJSON())),p}toString(c=i){c.stringify&&(c=c.stringify);let d="";return c(this,p=>{d+=p}),d}warn(c,d,p={}){let m={node:this};for(let v in p)m[v]=p[v];return c.warn(d,m)}};t.exports=u,u.default=u}),Vw=G((e,t)=>{"use strict";var r=ah(),n=class extends r{constructor(i){super(i),this.type="comment"}};t.exports=n,n.default=n}),Qw=G((e,t)=>{"use strict";var r=ah(),n=class extends r{get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}constructor(i){i&&typeof i.value<"u"&&typeof i.value!="string"&&(i={...i,value:String(i.value)}),super(i),this.type="decl"}};t.exports=n,n.default=n}),jn=G((e,t)=>{"use strict";var r=Vw(),n=Qw(),i=ah(),{isClean:o,my:a}=Uw(),s,l,u,c;function d(v){return v.map(h=>(h.nodes&&(h.nodes=d(h.nodes)),delete h.source,h))}function p(v){if(v[o]=!1,v.proxyOf.nodes)for(let h of v.proxyOf.nodes)p(h)}var m=class qN extends i{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...h){for(let b of h){let f=this.normalize(b,this.last);for(let g of f)this.proxyOf.nodes.push(g)}return this.markDirty(),this}each(h){if(!this.proxyOf.nodes)return;let b=this.getIterator(),f,g;for(;this.indexes[b]<this.proxyOf.nodes.length&&(f=this.indexes[b],g=h(this.proxyOf.nodes[f],f),g!==!1);)this.indexes[b]+=1;return delete this.indexes[b],g}every(h){return this.nodes.every(h)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let h=this.lastEach;return this.indexes[h]=0,h}index(h){return typeof h=="number"?h:(h.proxyOf&&(h=h.proxyOf),this.proxyOf.nodes.indexOf(h))}insertAfter(h,b){let f=this.index(h),g=this.normalize(b,this.proxyOf.nodes[f]).reverse();f=this.index(h);for(let w of g)this.proxyOf.nodes.splice(f+1,0,w);let x;for(let w in this.indexes)x=this.indexes[w],f<x&&(this.indexes[w]=x+g.length);return this.markDirty(),this}insertBefore(h,b){let f=this.index(h),g=f===0?"prepend":!1,x=this.normalize(b,this.proxyOf.nodes[f],g).reverse();f=this.index(h);for(let k of x)this.proxyOf.nodes.splice(f,0,k);let w;for(let k in this.indexes)w=this.indexes[k],f<=w&&(this.indexes[k]=w+x.length);return this.markDirty(),this}normalize(h,b){if(typeof h=="string")h=d(l(h).nodes);else if(typeof h>"u")h=[];else if(Array.isArray(h)){h=h.slice(0);for(let f of h)f.parent&&f.parent.removeChild(f,"ignore")}else if(h.type==="root"&&this.type!=="document"){h=h.nodes.slice(0);for(let f of h)f.parent&&f.parent.removeChild(f,"ignore")}else if(h.type)h=[h];else if(h.prop){if(typeof h.value>"u")throw new Error("Value field is missed in node creation");typeof h.value!="string"&&(h.value=String(h.value)),h=[new n(h)]}else if(h.selector||h.selectors)h=[new c(h)];else if(h.name)h=[new s(h)];else if(h.text)h=[new r(h)];else throw new Error("Unknown node type in node creation");return h.map(f=>(f[a]||qN.rebuild(f),f=f.proxyOf,f.parent&&f.parent.removeChild(f),f[o]&&p(f),f.raws||(f.raws={}),typeof f.raws.before>"u"&&b&&typeof b.raws.before<"u"&&(f.raws.before=b.raws.before.replace(/\S/g,"")),f.parent=this.proxyOf,f))}prepend(...h){h=h.reverse();for(let b of h){let f=this.normalize(b,this.first,"prepend").reverse();for(let g of f)this.proxyOf.nodes.unshift(g);for(let g in this.indexes)this.indexes[g]=this.indexes[g]+f.length}return this.markDirty(),this}push(h){return h.parent=this,this.proxyOf.nodes.push(h),this}removeAll(){for(let h of this.proxyOf.nodes)h.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(h){h=this.index(h),this.proxyOf.nodes[h].parent=void 0,this.proxyOf.nodes.splice(h,1);let b;for(let f in this.indexes)b=this.indexes[f],b>=h&&(this.indexes[f]=b-1);return this.markDirty(),this}some(h){return this.nodes.some(h)}walk(h){return this.each((b,f)=>{let g;try{g=h(b,f)}catch(x){throw b.addToError(x)}return g!==!1&&b.walk&&(g=b.walk(h)),g})}walkAtRules(h,b){return b?h instanceof RegExp?this.walk((f,g)=>{if(f.type==="atrule"&&h.test(f.name))return b(f,g)}):this.walk((f,g)=>{if(f.type==="atrule"&&f.name===h)return b(f,g)}):(b=h,this.walk((f,g)=>{if(f.type==="atrule")return b(f,g)}))}walkComments(h){return this.walk((b,f)=>{if(b.type==="comment")return h(b,f)})}walkDecls(h,b){return b?h instanceof RegExp?this.walk((f,g)=>{if(f.type==="decl"&&h.test(f.prop))return b(f,g)}):this.walk((f,g)=>{if(f.type==="decl"&&f.prop===h)return b(f,g)}):(b=h,this.walk((f,g)=>{if(f.type==="decl")return b(f,g)}))}walkRules(h,b){return b?h instanceof RegExp?this.walk((f,g)=>{if(f.type==="rule"&&h.test(f.selector))return b(f,g)}):this.walk((f,g)=>{if(f.type==="rule"&&f.selector===h)return b(f,g)}):(b=h,this.walk((f,g)=>{if(f.type==="rule")return b(f,g)}))}};m.registerParse=v=>{l=v},m.registerRule=v=>{c=v},m.registerAtRule=v=>{s=v},m.registerRoot=v=>{u=v},t.exports=m,m.default=m,m.rebuild=v=>{v.type==="atrule"?Object.setPrototypeOf(v,s.prototype):v.type==="rule"?Object.setPrototypeOf(v,c.prototype):v.type==="decl"?Object.setPrototypeOf(v,n.prototype):v.type==="comment"?Object.setPrototypeOf(v,r.prototype):v.type==="root"&&Object.setPrototypeOf(v,u.prototype),v[a]=!0,v.nodes&&v.nodes.forEach(h=>{m.rebuild(h)})}}),WN=G((e,t)=>{"use strict";var r=jn(),n=class extends r{constructor(i){super(i),this.type="atrule"}append(...i){return this.proxyOf.nodes||(this.nodes=[]),super.append(...i)}prepend(...i){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...i)}};t.exports=n,n.default=n,r.registerAtRule(n)}),Yw=G((e,t)=>{"use strict";var r=jn(),n,i,o=class extends r{constructor(a){super({type:"document",...a}),this.nodes||(this.nodes=[])}toResult(a={}){return new n(new i,this,a).stringify()}};o.registerLazyResult=a=>{n=a},o.registerProcessor=a=>{i=a},t.exports=o,o.default=o}),$B=G(()=>{}),BB=G((e,t)=>{"use strict";var r="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",n=i=>{let o="",a=i;for(;a--;)o+=r[Math.random()*64|0];return o};t.exports={nanoid:n}}),_N=G(()=>{}),UN=G(()=>{}),qB=G((e,t)=>{var r=class{};t.exports=r}),Gw=G((e,t)=>{"use strict";var{nanoid:r}=BB(),{isAbsolute:n,resolve:i}=(Zm(),hA(ww)),{SourceMapConsumer:o,SourceMapGenerator:a}=_N(),{fileURLToPath:s,pathToFileURL:l}=UN(),u=Ww(),c=qB(),d=RN(),p=Symbol("lineToIndexCache"),m=!!(o&&a),v=!!(i&&n);function h(f){if(f[p])return f[p];let g=f.css.split(`
20
+ `),x=new Array(g.length),w=0;for(let k=0,S=g.length;k<S;k++)x[k]=w,w+=g[k].length+1;return f[p]=x,x}var b=class{get from(){return this.file||this.id}constructor(f,g={}){if(f===null||typeof f>"u"||typeof f=="object"&&!f.toString)throw new Error(`PostCSS received ${f} instead of CSS string`);if(this.css=f.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,g.document&&(this.document=g.document.toString()),g.from&&(!v||/^\w+:\/\//.test(g.from)||n(g.from)?this.file=g.from:this.file=i(g.from)),v&&m){let x=new c(this.css,g);if(x.text){this.map=x;let w=x.consumer().file;!this.file&&w&&(this.file=this.mapResolve(w))}}this.file||(this.id="<input css "+r(6)+">"),this.map&&(this.map.file=this.from)}error(f,g,x,w={}){let k,S,E,C,R;if(g&&typeof g=="object"){let B=g,re=x;if(typeof B.offset=="number"){C=B.offset;let te=this.fromOffset(C);g=te.line,x=te.col}else g=B.line,x=B.column,C=this.fromLineAndColumn(g,x);if(typeof re.offset=="number"){E=re.offset;let te=this.fromOffset(E);S=te.line,k=te.col}else S=re.line,k=re.column,E=this.fromLineAndColumn(re.line,re.column)}else if(x)C=this.fromLineAndColumn(g,x);else{C=g;let B=this.fromOffset(C);g=B.line,x=B.col}let N=this.origin(g,x,S,k);return N?R=new u(f,N.endLine===void 0?N.line:{column:N.column,line:N.line},N.endLine===void 0?N.column:{column:N.endColumn,line:N.endLine},N.source,N.file,w.plugin):R=new u(f,S===void 0?g:{column:x,line:g},S===void 0?x:{column:k,line:S},this.css,this.file,w.plugin),R.input={column:x,endColumn:k,endLine:S,endOffset:E,line:g,offset:C,source:this.css},this.file&&(l&&(R.input.url=l(this.file).toString()),R.input.file=this.file),R}fromLineAndColumn(f,g){return h(this)[f-1]+g-1}fromOffset(f){let g=h(this),x=g[g.length-1],w=0;if(f>=x)w=g.length-1;else{let k=g.length-2,S;for(;w<k;)if(S=w+(k-w>>1),f<g[S])k=S-1;else if(f>=g[S+1])w=S+1;else{w=S;break}}return{col:f-g[w]+1,line:w+1}}mapResolve(f){return/^\w+:\/\//.test(f)?f:i(this.map.consumer().sourceRoot||this.map.root||".",f)}origin(f,g,x,w){if(!this.map)return!1;let k=this.map.consumer(),S=k.originalPositionFor({column:g,line:f});if(!S.source)return!1;let E;typeof x=="number"&&(E=k.originalPositionFor({column:w,line:x}));let C;n(S.source)?C=l(S.source):C=new URL(S.source,this.map.consumer().sourceRoot||l(this.map.mapFile));let R={column:S.column,endColumn:E&&E.column,endLine:E&&E.line,line:S.line,url:C.toString()};if(C.protocol==="file:")if(s)R.file=s(C);else throw new Error("file: protocol is not available in this PostCSS build");let N=k.sourceContentFor(S.source);return N&&(R.source=N),R}toJSON(){let f={};for(let g of["hasBOM","css","file","id"])this[g]!=null&&(f[g]=this[g]);return this.map&&(f.map={...this.map},f.map.consumerCache&&(f.map.consumerCache=void 0)),f}};t.exports=b,b.default=b,d&&d.registerInput&&d.registerInput(b)}),WB=G((e,t)=>{"use strict";var{dirname:r,relative:n,resolve:i,sep:o}=(Zm(),hA(ww)),{SourceMapConsumer:a,SourceMapGenerator:s}=_N(),{pathToFileURL:l}=UN(),u=Gw(),c=!!(a&&s),d=!!(r&&i&&n&&o),p=class{constructor(m,v,h,b){this.stringify=m,this.mapOpts=h.map||{},this.root=v,this.opts=h,this.css=b,this.originalCSS=b,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}clearAnnotation(){if(this.mapOpts.annotation!==!1){if(this.root){let m;for(let v=this.root.nodes.length-1;v>=0;v--)m=this.root.nodes[v],m.type==="comment"&&m.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(v)}else if(this.css){let m;for(;(m=this.css.lastIndexOf("/*#"))!==-1;){let v=this.css.indexOf("*/",m+3);if(v===-1)break;for(;m>0&&this.css[m-1]===`
21
+ `;)m--;this.css=this.css.slice(0,m)+this.css.slice(v+2)}}}}generate(){if(this.clearAnnotation(),d&&c&&this.isMap())return this.generateMap();{let m="";return this.stringify(this.root,v=>{m+=v}),[m]}}};t.exports=p}),sh=G((e,t)=>{"use strict";var r=jn(),n,i,o=class extends r{constructor(a){super(a),this.type="root",this.nodes||(this.nodes=[])}normalize(a,s,l){let u=super.normalize(a);if(s){if(l==="prepend")this.nodes.length>1?s.raws.before=this.nodes[1].raws.before:delete s.raws.before;else if(this.first!==s)for(let c of u)c.raws.before=s.raws.before}return u}removeChild(a,s){let l=this.index(a);return!s&&l===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[l].raws.before),super.removeChild(a)}toResult(a={}){return new n(new i,this,a).stringify()}};o.registerLazyResult=a=>{n=a},o.registerProcessor=a=>{i=a},t.exports=o,o.default=o,r.registerRoot(o)}),VN=G((e,t)=>{"use strict";var r={comma(n){return r.split(n,[","],!0)},space(n){let i=[" ",`
22
+ `," "];return r.split(n,i)},split(n,i,o){let a=[],s="",l=!1,u=0,c=!1,d="",p=!1;for(let m of n)p?p=!1:m==="\\"?p=!0:c?m===d&&(c=!1):m==='"'||m==="'"?(c=!0,d=m):m==="("?u+=1:m===")"?u>0&&(u-=1):u===0&&i.includes(m)&&(l=!0),l?(s!==""&&a.push(s.trim()),s="",l=!1):s+=m;return(o||s!=="")&&a.push(s.trim()),a}};t.exports=r,r.default=r}),QN=G((e,t)=>{"use strict";var r=jn(),n=VN(),i=class extends r{get selectors(){return n.comma(this.selector)}set selectors(o){let a=this.selector?this.selector.match(/,\s*/):null,s=a?a[0]:","+this.raw("between","beforeOpen");this.selector=o.join(s)}constructor(o){super(o),this.type="rule",this.nodes||(this.nodes=[])}};t.exports=i,i.default=i,r.registerRule(i)}),_B=G((e,t)=>{"use strict";var r=/[\t\n\f\r "#'()/;[\\\]{}]/g,n=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,i=/.[\r\n"'(/\\]/,o=/[\da-f]/i;t.exports=function(a,s={}){let l=a.css.valueOf(),u=s.ignoreErrors,c,d,p,m,v,h,b,f,g,x,w=l.length,k=0,S=[],E=[],C=-1;function R(){return k}function N(ae){throw a.error("Unclosed "+ae,k)}function B(){return E.length===0&&k>=w}function re(ae){if(E.length)return E.pop();if(k>=w)return;let le=ae?ae.ignoreUnclosed:!1;switch(c=l.charCodeAt(k),c){case 10:case 32:case 9:case 13:case 12:{m=k;do m+=1,c=l.charCodeAt(m);while(c===32||c===10||c===9||c===13||c===12);h=["space",l.slice(k,m)],k=m-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let oe=String.fromCharCode(c);h=[oe,oe,k];break}case 40:{if(x=S.length?S.pop()[1]:"",g=l.charCodeAt(k+1),x==="url"&&g!==39&&g!==34&&g!==32&&g!==10&&g!==9&&g!==12&&g!==13){m=k;do{if(b=!1,m=l.indexOf(")",m+1),m===-1)if(u||le){m=k;break}else N("bracket");for(f=m;l.charCodeAt(f-1)===92;)f-=1,b=!b}while(b);h=["brackets",l.slice(k,m+1),k,m],k=m}else k<=C?h=["(","(",k]:(m=l.indexOf(")",k+1),d=l.slice(k,m+1),m===-1||i.test(d)?(C=m===-1?w:m,h=["(","(",k]):(h=["brackets",d,k,m],k=m));break}case 39:case 34:{v=c===39?"'":'"',m=k;do{if(b=!1,m=l.indexOf(v,m+1),m===-1)if(u||le){m=k+1;break}else N("string");for(f=m;l.charCodeAt(f-1)===92;)f-=1,b=!b}while(b);h=["string",l.slice(k,m+1),k,m],k=m;break}case 64:{r.lastIndex=k+1,r.test(l),r.lastIndex===0?m=l.length-1:m=r.lastIndex-2,h=["at-word",l.slice(k,m+1),k,m],k=m;break}case 92:{for(m=k,p=!0;l.charCodeAt(m+1)===92;)m+=1,p=!p;if(c=l.charCodeAt(m+1),p&&c!==47&&c!==32&&c!==10&&c!==9&&c!==13&&c!==12&&(m+=1,o.test(l.charAt(m)))){for(;o.test(l.charAt(m+1));)m+=1;l.charCodeAt(m+1)===32&&(m+=1)}h=["word",l.slice(k,m+1),k,m],k=m;break}default:{c===47&&l.charCodeAt(k+1)===42?(m=l.indexOf("*/",k+2)+1,m===0&&(u||le?m=l.length:N("comment")),h=["comment",l.slice(k,m+1),k,m],k=m):(n.lastIndex=k+1,n.test(l),n.lastIndex===0?m=l.length-1:m=n.lastIndex-2,h=["word",l.slice(k,m+1),k,m],S.push(h),k=m);break}}return k++,h}function te(ae){E.push(ae)}return{back:te,endOfFile:B,nextToken:re,position:R}}}),UB=G((e,t)=>{"use strict";var r=WN(),n=Vw(),i=Qw(),o=sh(),a=QN(),s=_B(),l={empty:!0,space:!0};function u(d){for(let p=d.length-1;p>=0;p--){let m=d[p],v=m[3]||m[2];if(v)return v}}var c=class{constructor(d){this.input=d,this.root=new o,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:d,start:{column:1,line:1,offset:0}}}atrule(d){let p=new r;p.name=d[1].slice(1),p.name===""&&this.unnamedAtrule(p,d),this.init(p,d[2]);let m,v,h,b=!1,f=!1,g=[],x=[];for(;!this.tokenizer.endOfFile();){if(d=this.tokenizer.nextToken(),m=d[0],m==="("||m==="["?x.push(m==="("?")":"]"):m==="{"&&x.length>0?x.push("}"):m===x[x.length-1]&&x.pop(),x.length===0)if(m===";"){p.source.end=this.getPosition(d[2]),p.source.end.offset++,this.semicolon=!0;break}else if(m==="{"){f=!0;break}else if(m==="}"){if(g.length>0){for(h=g.length-1,v=g[h];v&&v[0]==="space";)v=g[--h];v&&(p.source.end=this.getPosition(v[3]||v[2]),p.source.end.offset++)}this.end(d);break}else g.push(d);else g.push(d);if(this.tokenizer.endOfFile()){b=!0;break}}p.raws.between=this.spacesAndCommentsFromEnd(g),g.length?(p.raws.afterName=this.spacesAndCommentsFromStart(g),this.raw(p,"params",g),b&&(d=g[g.length-1],p.source.end=this.getPosition(d[3]||d[2]),p.source.end.offset++,this.spaces=p.raws.between,p.raws.between="")):(p.raws.afterName="",p.params=""),f&&(p.nodes=[],this.current=p)}checkMissedSemicolon(d){let p=this.colon(d);if(p===!1)return;let m=0,v;for(let h=p-1;h>=0&&(v=d[h],!(v[0]!=="space"&&(m+=1,m===2)));h--);throw this.input.error("Missed semicolon",v[0]==="word"?v[3]+1:v[2])}colon(d){let p=0,m,v,h;for(let[b,f]of d.entries()){if(v=f,h=v[0],h==="("&&(p+=1),h===")"&&(p-=1),p===0&&h===":")if(!m)this.doubleColon(v);else{if(m[0]==="word"&&m[1]==="progid")continue;return b}m=v}return!1}comment(d){let p=new n;this.init(p,d[2]),p.source.end=this.getPosition(d[3]||d[2]),p.source.end.offset++;let m=d[1].slice(2,-2);if(!m.trim())p.text="",p.raws.left=m,p.raws.right="";else{let v=m.match(/^(\s*)([^]*\S)(\s*)$/);p.text=v[2],p.raws.left=v[1],p.raws.right=v[3]}}createTokenizer(){this.tokenizer=s(this.input)}decl(d,p){let m=new i;this.init(m,d[0][2]);let v=d[d.length-1];for(v[0]===";"&&(this.semicolon=!0,d.pop()),m.source.end=this.getPosition(v[3]||v[2]||u(d)),m.source.end.offset++;d[0][0]!=="word";)d.length===1&&this.unknownWord(d),m.raws.before+=d.shift()[1];for(m.source.start=this.getPosition(d[0][2]),m.prop="";d.length;){let g=d[0][0];if(g===":"||g==="space"||g==="comment")break;m.prop+=d.shift()[1]}m.raws.between="";let h;for(;d.length;)if(h=d.shift(),h[0]===":"){m.raws.between+=h[1];break}else h[0]==="word"&&/\w/.test(h[1])&&this.unknownWord([h]),m.raws.between+=h[1];(m.prop[0]==="_"||m.prop[0]==="*")&&(m.raws.before+=m.prop[0],m.prop=m.prop.slice(1));let b=[],f;for(;d.length&&(f=d[0][0],!(f!=="space"&&f!=="comment"));)b.push(d.shift());this.precheckMissedSemicolon(d);for(let g=d.length-1;g>=0;g--){if(h=d[g],h[1].toLowerCase()==="!important"){m.important=!0;let x=this.stringFrom(d,g);x=this.spacesFromEnd(d)+x,x!==" !important"&&(m.raws.important=x);break}else if(h[1].toLowerCase()==="important"){let x=d.slice(0),w="";for(let k=g;k>0;k--){let S=x[k][0];if(w.trim().startsWith("!")&&S!=="space")break;w=x.pop()[1]+w}w.trim().startsWith("!")&&(m.important=!0,m.raws.important=w,d=x)}if(h[0]!=="space"&&h[0]!=="comment")break}d.some(g=>g[0]!=="space"&&g[0]!=="comment")&&(m.raws.between+=b.map(g=>g[1]).join(""),b=[]),this.raw(m,"value",b.concat(d),p),m.value.includes(":")&&!p&&this.checkMissedSemicolon(d)}doubleColon(d){throw this.input.error("Double colon",{offset:d[2]},{offset:d[2]+d[1].length})}emptyRule(d){let p=new a;this.init(p,d[2]),p.selector="",p.raws.between="",this.current=p}end(d){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(d[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(d)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(d){if(this.spaces+=d[1],this.current.nodes){let p=this.current.nodes[this.current.nodes.length-1];p&&p.type==="rule"&&!p.raws.ownSemicolon&&(p.raws.ownSemicolon=this.spaces,this.spaces="",p.source.end=this.getPosition(d[2]),p.source.end.offset+=p.raws.ownSemicolon.length)}}getPosition(d){let p=this.input.fromOffset(d);return{column:p.col,line:p.line,offset:d}}init(d,p){this.current.push(d),d.source={input:this.input,start:this.getPosition(p)},d.raws.before=this.spaces,this.spaces="",d.type!=="comment"&&(this.semicolon=!1)}other(d){let p=!1,m=null,v=!1,h=null,b=[],f=d[1].startsWith("--"),g=[],x=d;for(;x;){if(m=x[0],g.push(x),m==="("||m==="[")h||(h=x),b.push(m==="("?")":"]");else if(f&&v&&m==="{")h||(h=x),b.push("}");else if(b.length===0)if(m===";")if(v){this.decl(g,f);return}else break;else if(m==="{"){this.rule(g);return}else if(m==="}"){this.tokenizer.back(g.pop()),p=!0;break}else m===":"&&(v=!0);else m===b[b.length-1]&&(b.pop(),b.length===0&&(h=null));x=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(p=!0),b.length>0&&this.unclosedBracket(h),p&&v){if(!f)for(;g.length&&(x=g[g.length-1][0],!(x!=="space"&&x!=="comment"));)this.tokenizer.back(g.pop());this.decl(g,f)}else this.unknownWord(g)}parse(){let d;for(;!this.tokenizer.endOfFile();)switch(d=this.tokenizer.nextToken(),d[0]){case"space":this.spaces+=d[1];break;case";":this.freeSemicolon(d);break;case"}":this.end(d);break;case"comment":this.comment(d);break;case"at-word":this.atrule(d);break;case"{":this.emptyRule(d);break;default:this.other(d);break}this.endFile()}precheckMissedSemicolon(){}raw(d,p,m,v){let h,b,f=m.length,g="",x=!0,w,k;for(let S=0;S<f;S+=1)h=m[S],b=h[0],b==="space"&&S===f-1&&!v?x=!1:b==="comment"?(k=m[S-1]?m[S-1][0]:"empty",w=m[S+1]?m[S+1][0]:"empty",!l[k]&&!l[w]?g.slice(-1)===","?x=!1:g+=h[1]:x=!1):g+=h[1];if(!x){let S=m.reduce((E,C)=>E+C[1],"");d.raws[p]={raw:S,value:g}}d[p]=g}rule(d){d.pop();let p=new a;this.init(p,d[0][2]),p.raws.between=this.spacesAndCommentsFromEnd(d),this.raw(p,"selector",d),this.current=p}spacesAndCommentsFromEnd(d){let p,m="";for(;d.length&&(p=d[d.length-1][0],!(p!=="space"&&p!=="comment"));)m=d.pop()[1]+m;return m}spacesAndCommentsFromStart(d){let p,m="";for(;d.length&&(p=d[0][0],!(p!=="space"&&p!=="comment"));)m+=d.shift()[1];return m}spacesFromEnd(d){let p,m="";for(;d.length&&(p=d[d.length-1][0],p==="space");)m=d.pop()[1]+m;return m}stringFrom(d,p){let m="";for(let v=p;v<d.length;v++)m+=d[v][1];return d.splice(p,d.length-p),m}unclosedBlock(){let d=this.current.source.start;throw this.input.error("Unclosed block",d.line,d.column)}unclosedBracket(d){throw this.input.error("Unclosed bracket",{offset:d[2]},{offset:d[2]+1})}unexpectedClose(d){throw this.input.error("Unexpected }",{offset:d[2]},{offset:d[2]+1})}unknownWord(d){throw this.input.error("Unknown word "+d[0][1],{offset:d[0][2]},{offset:d[0][2]+d[0][1].length})}unnamedAtrule(d,p){throw this.input.error("At-rule without name",{offset:p[2]},{offset:p[2]+p[1].length})}};t.exports=c}),YN=G((e,t)=>{"use strict";var r=jn(),n=Gw(),i=UB();function o(a,s){let l=new n(a,s),u=new i(l);try{u.parse()}catch(c){throw c}return u.root}t.exports=o,o.default=o,r.registerParse(o)}),GN=G((e,t)=>{"use strict";var r=class{constructor(n,i={}){if(this.type="warning",this.text=n,i.node&&i.node.source){let o=i.node.rangeBy(i);this.line=o.start.line,this.column=o.start.column,this.endLine=o.end.line,this.endColumn=o.end.column}for(let o in i)this[o]=i[o]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};t.exports=r,r.default=r}),KN=G((e,t)=>{"use strict";var r=GN(),n=class{get content(){return this.css}constructor(i,o,a){this.processor=i,this.messages=[],this.root=o,this.opts=a,this.css="",this.map=void 0}toString(){return this.css}warn(i,o={}){o.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(o.plugin=this.lastPlugin.postcssPlugin);let a=new r(i,o);return this.messages.push(a),a}warnings(){return this.messages.filter(i=>i.type==="warning")}};t.exports=n,n.default=n}),VB=G(()=>{}),HN=G((e,t)=>{"use strict";var r=jn(),n=Yw(),i=WB(),o=YN(),a=KN(),s=sh(),l=_w(),{isClean:u,my:c}=Uw(),d=VB();function p(h){return h[u]=!1,h.nodes&&h.nodes.forEach(b=>p(b)),h}var m={},v=class JN{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(b,f,g){this.stringified=!1,this.processed=!1;let x;if(typeof f=="object"&&f!==null&&(f.type==="root"||f.type==="document"))x=p(f);else if(f instanceof JN||f instanceof a)x=p(f.root),f.map&&(typeof g.map>"u"&&(g.map={}),g.map.inline||(g.map.inline=!1),g.map.prev=f.map);else{let w=o;g.syntax&&(w=g.syntax.parse),g.parser&&(w=g.parser),w.parse&&(w=w.parse);try{x=w(f,g)}catch(k){this.processed=!0,this.error=k}x&&!x[c]&&r.rebuild(x)}this.result=new a(b,x,g),this.helpers={...m,postcss:m,result:this.result},this.plugins=this.processor.plugins.map(w=>typeof w=="object"&&w.prepare?{...w,...w.prepare(this.result)}:w)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}prepareVisitors(){}async runAsync(){return this.plugin=0,this.prepareVisitors(),this.processed=!0,this.stringify()}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let b=this.result.opts,f=l;b.syntax&&(f=b.syntax.stringify),b.stringifier&&(f=b.stringifier),f.stringify&&(f=f.stringify);let g=this.result.root.source;if(b.map===void 0&&!(g&&g.input&&g.input.map)){let w="";return f(this.result.root,k=>{w+=k}),this.result.css=w,this.result}let x=new i(f,this.result.root,this.result.opts).generate();return this.result.css=x[0],this.result.map=x[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();return this.prepareVisitors(),this.result}toString(){return this.css}warnings(){return this.sync().warnings()}};v.registerPostcss=h=>{m=h},t.exports=v,v.default=v,s.registerLazyResult(v),n.registerLazyResult(v)}),QB=G((e,t)=>{var r=class{};t.exports=r}),YB=G((e,t)=>{"use strict";var r=Yw(),n=HN(),i=QB(),o=sh(),a=class{constructor(s=[]){this.version="8.5.14",this.plugins=this.normalize(s)}normalize(){return[]}process(s,l={}){return!this.plugins.length&&!l.parser&&!l.stringifier&&!l.syntax?new i(this,s,l):new n(this,s,l)}};t.exports=a,a.default=a,o.registerProcessor(a),r.registerProcessor(a)}),GB=G((e,t)=>{"use strict";var r=WN(),n=Vw(),i=jn(),o=Ww(),a=Qw(),s=Yw(),l=$B(),u=Gw(),c=HN(),d=VN(),p=ah(),m=YN(),v=YB(),h=KN(),b=sh(),f=QN(),g=_w(),x=GN();function w(...k){return k.length===1&&Array.isArray(k[0])&&(k=k[0]),new v(k)}w.stringify=g,w.parse=m,w.fromJSON=l,w.list=d,w.comment=k=>new n(k),w.atRule=k=>new r(k),w.decl=k=>new a(k),w.rule=k=>new f(k),w.root=k=>new b(k),w.document=k=>new s(k),w.CssSyntaxError=o,w.Declaration=a,w.Container=i,w.Processor=v,w.Document=s,w.Comment=n,w.Warning=x,w.AtRule=r,w.Result=h,w.Input=u,w.Rule=f,w.Root=b,w.Node=p,c.registerPostcss(w),t.exports=w,w.default=w}),Xh,Wi,ZN,hd=y(()=>{Xh=K(GB(),1),Wi=Xh.default,ZN=Xh.default.Node}),XN={};A(XN,{default:()=>eE});var Co,ef,Zx,zo,eE,KB=y(()=>{hd(),q(),ro(),et(),H(),j(),O(),D(),Co="at-rule-no-deprecated",ef=I(Co,{rejected:e=>`Deprecated at-rule "${e}"`}),Zx={url:"https://stylelint.io/user-guide/rules/at-rule-no-deprecated",fixable:!0},zo=(e,t)=>(r,n)=>{T(n,Co,{actual:e},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0})&&r.walkAtRules(i=>{if(!Xe(i))return;let{name:o}=i,a=o.toLowerCase();if(L(t,"ignoreAtRules",o)||!Sv.has(a))return;let s=a==="nest"?()=>{let u=Wi.rule({selector:i.params,source:i.source});u.append(i.nodes),i.replaceWith(u)}:void 0,l=`@${o}`;P({message:ef.rejected,messageArgs:[l],node:i,ruleName:Co,result:n,index:0,endIndex:l.length,fix:{apply:s,node:i.parent}})})},zo.ruleName=Co,zo.messages=ef,zo.meta=Zx,eE=zo}),Je,Dt=y(()=>{Je={prefix(e){let t=e.match(/^(-\w+-)/);return t&&t[0]||""},unprefixed(e){return e.replace(/^-\w+-/,"")}}}),tE={};A(tE,{default:()=>rE});var Ao,tf,Xx,No,rE,HB=y(()=>{q(),ro(),et(),H(),j(),O(),D(),Dt(),Ao="at-rule-no-unknown",tf=I(Ao,{rejected:e=>`Unknown at-rule "${e}"`}),Xx={url:"https://stylelint.io/user-guide/rules/at-rule-no-unknown"},No=(e,t)=>(r,n)=>{var a,s,l;if(!T(n,Ao,{actual:e},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0}))return;let i=((l=(s=(a=n.stylelint.config)==null?void 0:a.languageOptions)==null?void 0:s.syntax)==null?void 0:l.atRules)||{},o=new Set(Object.keys(i));r.walkAtRules(u=>{if(!Xe(u))return;let c=u.name;if(o.has(c)||L(t,"ignoreAtRules",u.name)||Je.prefix(c)||UA.has(c.toLowerCase()))return;let d=`@${c}`;P({message:tf.rejected,messageArgs:[d],node:u,ruleName:Ao,result:n,word:d})})},No.ruleName=Ao,No.messages=tf,No.meta=Xx,rE=No}),e1,t1,r1,n1,zr,fd=y(()=>{Dt(),e1=new Set(["@-moz-keyframes","@-moz-document","@-ms-keyframes","@-ms-viewport","@-o-keyframes","@-o-viewport","@-webkit-keyframes","@-webkit-viewport"]),t1=new Set([":-moz-any-link",":-moz-full-screen",":-moz-placeholder",":-moz-placeholder-shown",":-moz-read-only",":-moz-read-write",":-ms-fullscreen",":-ms-input-placeholder",":-webkit-any-link",":-webkit-full-screen","::-moz-placeholder","::-moz-selection","::-ms-input-placeholder","::-webkit-backdrop","::-webkit-input-placeholder"]),r1=new Set(["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","backdrop-filter","backface-visibility","background-clip","background-origin","background-size","border-block-end","border-block-start","border-bottom-left-radius","border-bottom-right-radius","border-image","border-inline-end","border-inline-start","border-radius","border-top-left-radius","border-top-right-radius","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","clip-path","color-adjust","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","flow-from","flow-into","font-feature-settings","font-kerning","font-language-override","font-variant-ligatures","grid-area","grid-column","grid-column-align","grid-column-end","grid-column-start","grid-row","grid-row-align","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hyphens","image-rendering","justify-content","margin-block-end","margin-block-start","margin-inline-end","margin-inline-start","mask","mask-border","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-origin","mask-position","mask-repeat","mask-size","object-fit","object-position","order","overscroll-behavior","padding-block-end","padding-block-start","padding-inline-end","padding-inline-start","perspective","perspective-origin","place-self","region-fragment","scroll-snap-coordinate","scroll-snap-destination","scroll-snap-points-x","scroll-snap-points-y","scroll-snap-type","shape-image-threshold","shape-margin","shape-outside","tab-size","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-orientation","text-overflow","text-size-adjust","text-spacing","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","user-select","writing-mode"]),n1=new Set(["-moz-all","-moz-calc","-moz-crisp-edges","-moz-element","-moz-fit-content","-moz-grab","-moz-grabbing","-moz-initial","-moz-isolate","-moz-isolate-override","-moz-linear-gradient","-moz-max-content","-moz-min-content","-moz-pre-wrap","-moz-plaintext","-moz-radial-gradient","-moz-repeating-linear-gradient","-moz-repeating-radial-gradient","-moz-zoom-in","-moz-zoom-out","-ms-flexbox","-ms-grid","-ms-inline-grid","-ms-linear-gradient","-ms-radial-gradient","-ms-repeating-linear-gradient","-ms-repeating-radial-gradient","-o-crisp-edges","-o-linear-gradient","-o-pre-wrap","-o-radial-gradient","-o-repeating-linear-gradient","-o-repeating-radial-gradient","-webkit-calc","-webkit-cross-fade","-webkit-filter","-webkit-fit-content","-webkit-flex","-webkit-grab","-webkit-grabbing","-webkit-image-set","-webkit-inline-flex","-webkit-isolate","-webkit-linear-gradient","-webkit-max-content","-webkit-min-content","-webkit-plaintext","-webkit-radial-gradient","-webkit-repeating-linear-gradient","-webkit-repeating-radial-gradient","-webkit-sticky","-webkit-zoom-in","-webkit-zoom-out","-xv-digits","-xv-literal-punctuation","-xv-no-punctuation","-moz-arabic-indic","-moz-bengali","-moz-cjk-earthly-branch","-moz-cjk-heavenly-stem","-moz-devanagari","-moz-ethiopic-numeric","-moz-gujarati","-moz-gurmukhi","-moz-hangul","-moz-hangul-consonant","-moz-japanese-formal","-moz-japanese-informal","-moz-kannada","-moz-khmer","-moz-lao","-moz-malayalam","-moz-myanmar","-moz-oriya","-moz-persian","-moz-simp-chinese-formal","-moz-simp-chinese-informal","-moz-tamil","-moz-telugu","-moz-thai","-moz-trad-chinese-formal","-moz-trad-chinese-informal"]),zr={atRuleName(e){return e1.has(`@${e.toLowerCase()}`)},selector(e){return t1.has(e.toLowerCase())},mediaFeatureName(e){return e.toLowerCase().includes("device-pixel-ratio")},property(e){let t=e.toLowerCase();return Je.prefix(t).length===0?!1:r1.has(Je.unprefixed(t))},propertyValue(e){return n1.has(e.toLowerCase())},unprefix(e){return e.replace(/-\w+-/,"")}}}),nE={};A(nE,{default:()=>iE});var Eo,rf,i1,Po,iE,JB=y(()=>{q(),fd(),et(),H(),j(),O(),D(),Eo="at-rule-no-vendor-prefix",rf=I(Eo,{rejected:e=>`Vendor-prefixed at-rule "${e}"`}),i1={url:"https://stylelint.io/user-guide/rules/at-rule-no-vendor-prefix",fixable:!0},Po=(e,t)=>(r,n)=>{T(n,Eo,{actual:e},{optional:!0,actual:t,possible:{ignoreAtRules:[$,_]}})&&r.walkAtRules(i=>{if(!Xe(i))return;let o=i.name;if(L(t,"ignoreAtRules",o)||!o.startsWith("-")||!zr.atRuleName(o))return;let a=()=>{i.name=zr.unprefix(i.name)},s=`@${o}`;P({message:rf.rejected,messageArgs:[s],node:i,word:s,result:n,ruleName:Eo,fix:{apply:a,node:i}})})},Po.ruleName=Eo,Po.messages=rf,Po.meta=i1,iE=Po}),oE={};A(oE,{default:()=>aE});var jo,nf,o1,Io,aE,ZB=y(()=>{q(),et(),Z(),H(),j(),O(),D(),jo="at-rule-prelude-no-invalid",nf=I(jo,{rejected:(e,t)=>`Invalid prelude "${t}" for at-rule "${e}"`}),o1={url:"https://stylelint.io/user-guide/rules/at-rule-prelude-no-invalid"},Io=(e,t)=>(r,n)=>{if(!T(n,jo,{actual:e},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0}))return;let i=n.stylelint.lexer;r.walkAtRules(o=>{if(!Xe(o))return;let{name:a,params:s}=o;if(L(t,"ignoreAtRules",a))return;let{error:l}=i.matchAtrulePrelude(a,s);if(!l||l.name!=="SyntaxMatchError")return;let u=`@${a}`,c=Oe(o),d=c+s.length;P({message:nf.rejected,messageArgs:[u,s],node:o,index:c,endIndex:d,ruleName:jo,result:n})})},Io.ruleName=jo,Io.messages=nf,Io.meta=o1,aE=Io});function XB(e){let t=new Map;for(let[r,n]of Object.entries(e)){let i=Array.isArray(n)?n:[n];t.set(r,new Set(i))}return t}var eq=y(()=>{});function Bt(...e){return t=>Cr(t)?Object.values(t).flat().every(r=>e.some(n=>n(r))):!1}var Ht=y(()=>{q()}),sE={};A(sE,{default:()=>lE});var Oo,of,a1,To,lE,tq=y(()=>{eq(),et(),q(),j(),O(),Ht(),D(),Oo="at-rule-property-required-list",of=I(Oo,{expected:(e,t)=>`Expected property or descriptor "${t}" for at-rule "${e}"`}),a1={url:"https://stylelint.io/user-guide/rules/at-rule-property-required-list"},To=e=>(t,r)=>{if(!T(r,Oo,{actual:e,possible:[Bt($)]}))return;let n=XB(e),i=new Set;t.walkAtRules(o=>{if(!Xe(o))return;let{name:a,nodes:s}=o;if(!s)return;let l=a.toLowerCase(),u=n.get(l);if(u){i.clear();for(let c of s){if(!c||c.type!=="decl")continue;let d=c.prop.toLowerCase();u.has(d)&&i.add(d)}if(i.size!==u.size)for(let c of u){if(i.has(c))continue;let d=`@${o.name}`;P({message:of.expected,messageArgs:[d,c],node:o,word:d,result:r,ruleName:Oo})}}})},To.ruleName=Oo,To.messages=of,To.meta=a1,lE=To});function uE(e,{noRawBefore:t}={noRawBefore:!1}){var i,o,a,s;let r="",n=e.raws;if(t||(r+=n.before||""),it(e))r+=(o=(i=n.selector)==null?void 0:i.raw)!=null?o:e.selector;else if(Ie(e))r+=`@${e.name}${n.afterName||""}${(s=(a=n.params)==null?void 0:a.raw)!=null?s:e.params}`;else return"";return r+=n.between||"",r}var cE=y(()=>{fe()});function dE(e,t=gd){if(!e)return e;let[r]=e.split(/\s/,1);return Xi(r),r.replace(t,"")}function Oi(e,t=gd){let r=$(e)?e:Kr(e)?e.text:void 0;if(!r)return!1;let n=dE(r,t);return n!==void 0&&pE.has(n)}function rq(e,t=gd){return`${t}${e}`}var km,xm,Sm,Cm,pE,gd,bd=y(()=>{q(),fe(),km="-disable",xm="-disable-line",Sm="-disable-next-line",Cm="-enable",pE=new Set([km,xm,Sm,Cm]),gd="stylelint"}),mE={};A(mE,{default:()=>hE});var Do,af,s1,Lo,hE,nq=y(()=>{cE(),nh(),fe(),bd(),H(),j(),O(),D(),Do="block-no-empty",af=I(Do,{rejected:"Empty block"}),s1={url:"https://stylelint.io/user-guide/rules/block-no-empty"},Lo=(e,t,r)=>(n,i)=>{if(!T(i,Do,{actual:e,possible:[!0]},{actual:t,possible:{ignore:["comments"]},optional:!0}))return;let o=L(t,"ignore","comments");n.walkRules(a),n.walkAtRules(a);function a(u){if(!Yc(u)||s(u)||l(u))return;let c=uE(u,{noRawBefore:!0}).length;u.raws.between===void 0&&c--,P({message:af.rejected,messageArgs:[],node:u,start:u.positionBy({index:c}),end:u.rangeBy({}).end,result:i,ruleName:Do})}function s(u){var c;return((c=u.nodes)!=null?c:[]).some(d=>!(Kr(d)&&(o||Oi(d,r.configurationComment))))}function l(u){let{after:c}=u.raws;return typeof c=="string"&&/\S/.test(c)}},Lo.ruleName=Do,Lo.messages=af,Lo.meta=s1,hE=Lo});function vd(e){return!(Xm(e)||e.startsWith("%")||e.endsWith(":")||/:extend(?:\(.*?\))?/.test(e)||/\.[\w-]+\(.*\).+/.test(e)||e.endsWith(")")&&!e.includes(":")||/\(@.*\)$/.test(e)||e.includes("<%")||e.includes("%>")||e.includes("//"))}var yd=y(()=>{eh()});function pe(e){return!(e.type!=="rule"||"extend"in e&&e.extend||!vd(e.selector))}var me=y(()=>{yd()}),fE={};A(fE,{default:()=>gE});var Fo,sf,l1,Mo,gE,iq=y(()=>{fe(),me(),j(),O(),D(),Fo="block-no-redundant-nested-style-rules",sf=I(Fo,{rejected:"Redundant nested style rule"}),l1={url:"https://stylelint.io/user-guide/rules/block-no-redundant-nested-style-rules"},Mo=e=>(t,r)=>{T(r,Fo,{actual:e,possible:[!0]})&&t.walkRules(n=>{if(!pe(n))return;let{parent:i,selector:o}=n;o==="&"&&i&&(ur(i)||P({message:sf.rejected,messageArgs:[],node:n,result:r,ruleName:Fo}))})},Mo.ruleName=Fo,Mo.messages=sf,Mo.meta=l1,gE=Mo});function wd(e){return!(!e.value||e.value.startsWith("#{")||e.value.startsWith("${")||e.value.startsWith("`"))}var kd=y(()=>{});function Kw(e){if(!wd(e))return!1;for(let t of e.nodes){if(t.type==="function")return Kw(t);if(t.type==="word"&&(t.value.startsWith("#")||t.value.startsWith("$")||t.value.includes(".$")))return!1}return!0}var bE=y(()=>{kd()}),vE={};A(vE,{default:()=>yE});var u1,Ro,lf,c1,$o,yE,oq=y(()=>{u1=K(de(),1),jr(),Z(),We(),bE(),fe(),V(),j(),O(),gt(),D(),Ro="color-function-alias-notation",lf=I(Ro,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),c1={url:"https://stylelint.io/user-guide/rules/color-function-alias-notation",fixable:!0},$o=e=>(t,r)=>{if(!T(r,Ro,{actual:e,possible:["with-alpha","without-alpha"]}))return;let n=e==="with-alpha"?Q.withoutAlphaAliasColorFunction:Q.withAlphaAliasColorFunction,i=e==="with-alpha"?gm:_c;t.walkDecls(o=>{if(!n.test(o.value))return;let a=(0,u1.default)(qe(o));a.walk(s=>{if(!Nn(s)||!Kw(s))return;let{value:l,sourceIndex:u}=s;if(!i.has(l.toLowerCase()))return;let c=e==="with-alpha"?`${l}a`:l.slice(0,-1),d=()=>{s.value=c,ft(o,a.toString())},p=ie(o)+u,m=p+l.length;P({message:lf.expected,messageArgs:[l,c],node:o,index:p,endIndex:m,result:r,ruleName:Ro,fix:{apply:d,node:o}})})})},$o.ruleName=Ro,$o.messages=lf,$o.meta=c1,yE=$o});function oo(e){return Nn(e)&&e.value.toLowerCase()==="var"}var xd=y(()=>{fe()}),wE={};A(wE,{default:()=>xE});function uf(e){return e!==""?e:" "}function aq(e){return e.some(t=>oo(t))}function kE(e){return e.type==="div"&&e.value===","}function d1(e){let t=0;for(let r of e)if(kE(r))t++;else if(r.value==="/")return!1;return t&&(t===2||t===3)}var p1,Bo,cf,m1,qo,xE,sq=y(()=>{p1=K(de(),1),jr(),Z(),We(),bE(),fe(),xd(),V(),H(),j(),O(),gt(),D(),Bo="color-function-notation",cf=I(Bo,{expected:e=>`Expected ${e} color-function notation`}),m1={url:"https://stylelint.io/user-guide/rules/color-function-notation",fixable:!0},qo=(e,t)=>(r,n)=>{if(!T(n,Bo,{actual:e,possible:["modern","legacy"]},{actual:t,possible:{ignore:["with-var-inside"]},optional:!0}))return;let i=L(t,"ignore","with-var-inside");r.walkDecls(o=>{if(!Q.legacyNotationColorFunction.test(o.value)||e==="modern"&&!o.value.includes(","))return;let a=(0,p1.default)(qe(o));a.walk(s=>{if(!Nn(s)||!Kw(s))return;let{value:l,sourceIndex:u,sourceEndIndex:c,nodes:d}=s;if(i&&aq(d)||!Iw.has(l.toLowerCase())||!(d.length>=5)||e==="modern"&&!d1(d)||e==="legacy"&&d1(d))return;let p=()=>{let b=0;s.nodes=d.map(f=>(kE(f)&&(b<2?(f.type="space",f.value=uf(f.after),b++):(f.value="/",f.before=uf(f.before),f.after=uf(f.after))),f)),_c.has(l.toLowerCase())&&(s.value=l.slice(0,-1)),ft(o,a.toString())},m=ie(o)+u,v=m+(c-u),h=e==="modern"?p:void 0;P({message:cf.expected,messageArgs:[e],node:o,index:m,endIndex:v,result:n,ruleName:Bo,fix:{apply:h,node:o}})})})},qo.ruleName=Bo,qo.messages=cf,qo.meta=m1,xE=qo});function SE(e){return CE.test(e)}var CE,zE=y(()=>{CE=/^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$/i});function AE({type:e,value:t}){return e==="word"&&SE(t)}var NE=y(()=>{zE()});function Sd(e){return Nn(e)&&e.value.toLowerCase()==="url"}var Cd=y(()=>{fe()}),EE={};A(EE,{default:()=>PE});function h1(e){return e.length===5||e.length===9}var f1,Wo,Ud,g1,_o,PE,lq=y(()=>{f1=K(de(),1),Z(),NE(),Cd(),V(),j(),O(),D(),Wo="color-hex-alpha",Ud=I(Wo,{expected:e=>`Expected alpha channel in "${e}"`,rejected:e=>`Expected no alpha channel in "${e}"`}),g1={url:"https://stylelint.io/user-guide/rules/color-hex-alpha"},_o=e=>(t,r)=>{T(r,Wo,{actual:e,possible:["always","never"]})&&t.walkDecls(n=>{Q.validHex.test(n.value)&&(0,f1.default)(n.value).walk(i=>{if(Sd(i))return!1;if(!AE(i))return;let{value:o}=i;if(e==="always"&&h1(o)||e==="never"&&!h1(o))return;let a=ie(n)+i.sourceIndex,s=a+o.length;P({message:e==="never"?Ud.rejected:Ud.expected,messageArgs:[o],node:n,index:a,endIndex:s,result:r,ruleName:Wo})})})},_o.ruleName=Wo,_o.messages=Ud,_o.meta=g1,PE=_o}),jE={};A(jE,{default:()=>IE});function uq(e){return e=e.toLowerCase(),e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]&&(e.length===7||e.length===9&&e[7]===e[8])}function cq(e){let t="#";for(let r=1;r<e.length;r+=2)t+=e[r];return t}function dq(e){let t="#";for(let r=1;r<e.length;r++)t+=e.charAt(r).repeat(2);return t}var b1,Uo,df,v1,Vo,IE,pq=y(()=>{b1=K(de(),1),Z(),We(),NE(),Cd(),V(),j(),O(),gt(),D(),Uo="color-hex-length",df=I(Uo,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),v1={url:"https://stylelint.io/user-guide/rules/color-hex-length",fixable:!0},Vo=e=>(t,r)=>{T(r,Uo,{actual:e,possible:["short","long"]})&&t.walkDecls(n=>{if(!Q.hexColor.test(n.value))return;let i=(0,b1.default)(qe(n));i.walk(o=>{let{value:a}=o;if(Sd(o))return!1;if(!AE(o)||e==="long"&&a.length!==4&&a.length!==5||e==="short"&&(a.length<6||!uq(a)))return;let s=(e==="long"?dq:cq)(a),l=()=>{o.value=s,ft(n,i.toString())},u=ie(n)+o.sourceIndex,c=u+o.value.length;P({message:df.expected,messageArgs:[a,s],node:n,index:u,endIndex:c,result:r,ruleName:Uo,fix:{apply:l,node:n}})})})},Vo.ruleName=Uo,Vo.messages=df,Vo.meta=v1,IE=Vo}),y1,fr,Ze,Ft,pf,mf,Vd,w1,Qo,hf,ff,gf,bf,vf,qn,k1,x1,S1,C1,Qd,yf,z1,Yd,Gd,wf,Kd,er,kf,OE,mq=y(()=>{y1={grad:.9,turn:360,rad:360/(2*Math.PI)},fr=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},Ze=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},Ft=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},pf=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},mf=function(e){return{r:Ft(e.r,0,255),g:Ft(e.g,0,255),b:Ft(e.b,0,255),a:Ft(e.a)}},Vd=function(e){return{r:Ze(e.r),g:Ze(e.g),b:Ze(e.b),a:Ze(e.a,3)}},w1=/^#([0-9a-f]{3,8})$/i,Qo=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},hf=function(e){var t=e.r,r=e.g,n=e.b,i=e.a,o=Math.max(t,r,n),a=o-Math.min(t,r,n),s=a?o===t?(r-n)/a:o===r?2+(n-t)/a:4+(t-r)/a:0;return{h:60*(s<0?s+6:s),s:o?a/o*100:0,v:o/255*100,a:i}},ff=function(e){var t=e.h,r=e.s,n=e.v,i=e.a;t=t/360*6,r/=100,n/=100;var o=Math.floor(t),a=n*(1-r),s=n*(1-(t-o)*r),l=n*(1-(1-t+o)*r),u=o%6;return{r:255*[n,s,a,a,l,n][u],g:255*[l,n,n,s,a,a][u],b:255*[a,a,l,n,n,s][u],a:i}},gf=function(e){return{h:pf(e.h),s:Ft(e.s,0,100),l:Ft(e.l,0,100),a:Ft(e.a)}},bf=function(e){return{h:Ze(e.h),s:Ze(e.s),l:Ze(e.l),a:Ze(e.a,3)}},vf=function(e){return ff((r=(t=e).s,{h:t.h,s:(r*=((n=t.l)<50?n:100-n)/100)>0?2*r/(n+r)*100:0,v:n+r,a:t.a}));var t,r,n},qn=function(e){return{h:(t=hf(e)).h,s:(i=(200-(r=t.s))*(n=t.v)/100)>0&&i<200?r*n/100/(i<=100?i:200-i)*100:0,l:i/2,a:t.a};var t,r,n,i},k1=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,x1=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,S1=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,C1=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Qd={string:[[function(e){var t=w1.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?Ze(parseInt(e[3]+e[3],16)/255,2):1}:e.length===6||e.length===8?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:e.length===8?Ze(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=S1.exec(e)||C1.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:mf({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=k1.exec(e)||x1.exec(e);if(!t)return null;var r,n,i=gf({h:(r=t[1],n=t[2],n===void 0&&(n="deg"),Number(r)*(y1[n]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return vf(i)},"hsl"]],object:[[function(e){var t=e.r,r=e.g,n=e.b,i=e.a,o=i===void 0?1:i;return fr(t)&&fr(r)&&fr(n)?mf({r:Number(t),g:Number(r),b:Number(n),a:Number(o)}):null},"rgb"],[function(e){var t=e.h,r=e.s,n=e.l,i=e.a,o=i===void 0?1:i;if(!fr(t)||!fr(r)||!fr(n))return null;var a=gf({h:Number(t),s:Number(r),l:Number(n),a:Number(o)});return vf(a)},"hsl"],[function(e){var t=e.h,r=e.s,n=e.v,i=e.a,o=i===void 0?1:i;if(!fr(t)||!fr(r)||!fr(n))return null;var a=(function(s){return{h:pf(s.h),s:Ft(s.s,0,100),v:Ft(s.v,0,100),a:Ft(s.a)}})({h:Number(t),s:Number(r),v:Number(n),a:Number(o)});return ff(a)},"hsv"]]},yf=function(e,t){for(var r=0;r<t.length;r++){var n=t[r][0](e);if(n)return[n,t[r][1]]}return[null,void 0]},z1=function(e){return typeof e=="string"?yf(e.trim(),Qd.string):typeof e=="object"&&e!==null?yf(e,Qd.object):[null,void 0]},Yd=function(e,t){var r=qn(e);return{h:r.h,s:Ft(r.s+100*t,0,100),l:r.l,a:r.a}},Gd=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},wf=function(e,t){var r=qn(e);return{h:r.h,s:r.s,l:Ft(r.l+100*t,0,100),a:r.a}},Kd=(function(){function e(t){this.parsed=z1(t)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return this.parsed!==null},e.prototype.brightness=function(){return Ze(Gd(this.rgba),2)},e.prototype.isDark=function(){return Gd(this.rgba)<.5},e.prototype.isLight=function(){return Gd(this.rgba)>=.5},e.prototype.toHex=function(){return t=Vd(this.rgba),r=t.r,n=t.g,i=t.b,a=(o=t.a)<1?Qo(Ze(255*o)):"","#"+Qo(r)+Qo(n)+Qo(i)+a;var t,r,n,i,o,a},e.prototype.toRgb=function(){return Vd(this.rgba)},e.prototype.toRgbString=function(){return t=Vd(this.rgba),r=t.r,n=t.g,i=t.b,(o=t.a)<1?"rgba("+r+", "+n+", "+i+", "+o+")":"rgb("+r+", "+n+", "+i+")";var t,r,n,i,o},e.prototype.toHsl=function(){return bf(qn(this.rgba))},e.prototype.toHslString=function(){return t=bf(qn(this.rgba)),r=t.h,n=t.s,i=t.l,(o=t.a)<1?"hsla("+r+", "+n+"%, "+i+"%, "+o+")":"hsl("+r+", "+n+"%, "+i+"%)";var t,r,n,i,o},e.prototype.toHsv=function(){return t=hf(this.rgba),{h:Ze(t.h),s:Ze(t.s),v:Ze(t.v),a:Ze(t.a,3)};var t},e.prototype.invert=function(){return er({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},e.prototype.saturate=function(t){return t===void 0&&(t=.1),er(Yd(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),er(Yd(this.rgba,-t))},e.prototype.grayscale=function(){return er(Yd(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),er(wf(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),er(wf(this.rgba,-t))},e.prototype.rotate=function(t){return t===void 0&&(t=15),this.hue(this.hue()+t)},e.prototype.alpha=function(t){return typeof t=="number"?er({r:(r=this.rgba).r,g:r.g,b:r.b,a:t}):Ze(this.rgba.a,3);var r},e.prototype.hue=function(t){var r=qn(this.rgba);return typeof t=="number"?er({h:t,s:r.s,l:r.l,a:r.a}):Ze(r.h)},e.prototype.isEqual=function(t){return this.toHex()===er(t).toHex()},e})(),er=function(e){return e instanceof Kd?e:new Kd(e)},kf=[],OE=function(e){e.forEach(function(t){kf.indexOf(t)<0&&(t(Kd,Qd),kf.push(t))})}});function hq(e,t){var r={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},n={};for(var i in r)n[r[i]]=i;var o={};e.prototype.toName=function(a){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var s,l,u=n[this.toHex()];if(u)return u;if(a!=null&&a.closest){var c=this.toRgb(),d=1/0,p="black";if(!o.length)for(var m in r)o[m]=new e(r[m]).toRgb();for(var v in r){var h=(s=c,l=o[v],Math.pow(s.r-l.r,2)+Math.pow(s.g-l.g,2)+Math.pow(s.b-l.b,2));h<d&&(d=h,p=v)}return p}},t.string.push([function(a){var s=a.toLowerCase(),l=s==="transparent"?"#0000":r[s];return l?new e(l).toRgb():null},"name"])}var fq=y(()=>{});function gq(e,t){e.prototype.toHwb=function(){return Rv($v(this.rgba))},e.prototype.toHwbString=function(){return r=Rv($v(this.rgba)),n=r.h,i=r.w,o=r.b,(a=r.a)<1?"hwb("+n+" "+i+"% "+o+"% / "+a+")":"hwb("+n+" "+i+"% "+o+"%)";var r,n,i,o,a},t.string.push([DE,"hwb"]),t.object.push([TE,"hwb"])}var A1,Hd,Yo,Jd,xf,Rv,$v,Sf,TE,N1,DE,bq=y(()=>{A1={grad:.9,turn:360,rad:360/(2*Math.PI)},Hd=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},Yo=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},Jd=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},xf=function(e){return{h:(t=e.h,(t=isFinite(t)?t%360:0)>0?t:t+360),w:Jd(e.w,0,100),b:Jd(e.b,0,100),a:Jd(e.a)};var t},Rv=function(e){return{h:Yo(e.h),w:Yo(e.w),b:Yo(e.b),a:Yo(e.a,3)}},$v=function(e){return{h:(function(t){var r=t.r,n=t.g,i=t.b,o=t.a,a=Math.max(r,n,i),s=a-Math.min(r,n,i),l=s?a===r?(n-i)/s:a===n?2+(i-r)/s:4+(r-n)/s:0;return{h:60*(l<0?l+6:l),s:a?s/a*100:0,v:a/255*100,a:o}})(e).h,w:Math.min(e.r,e.g,e.b)/255*100,b:100-Math.max(e.r,e.g,e.b)/255*100,a:e.a}},Sf=function(e){return(function(t){var r=t.h,n=t.s,i=t.v,o=t.a;r=r/360*6,n/=100,i/=100;var a=Math.floor(r),s=i*(1-n),l=i*(1-(r-a)*n),u=i*(1-(1-r+a)*n),c=a%6;return{r:255*[i,l,s,s,u,i][c],g:255*[u,i,i,l,s,s][c],b:255*[s,s,u,i,i,l][c],a:o}})({h:e.h,s:e.b===100?0:100-e.w/(100-e.b)*100,v:100-e.b,a:e.a})},TE=function(e){var t=e.h,r=e.w,n=e.b,i=e.a,o=i===void 0?1:i;if(!Hd(t)||!Hd(r)||!Hd(n))return null;var a=xf({h:Number(t),w:Number(r),b:Number(n),a:Number(o)});return Sf(a)},N1=/^hwb\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,DE=function(e){var t=N1.exec(e);if(!t)return null;var r,n,i=xf({h:(r=t[1],n=t[2],n===void 0&&(n="deg"),Number(r)*(A1[n]||1)),w:Number(t[3]),b:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return Sf(i)}});function vq(e,t){e.prototype.toLab=function(){return n=LE(this.rgba),o=n.y/Vp,a=n.z/Qp,i=(i=n.x/Up)>Ti?Math.cbrt(i):(bn*i+16)/116,r={l:116*(o=o>Ti?Math.cbrt(o):(bn*o+16)/116)-16,a:500*(i-o),b:200*(o-(a=a>Ti?Math.cbrt(a):(bn*a+16)/116)),alpha:n.a},{l:wi(r.l,2),a:wi(r.a,2),b:wi(r.b,2),alpha:wi(r.alpha,3)};var r,n,i,o,a},e.prototype.delta=function(r){r===void 0&&(r="#FFF");var n=r instanceof e?r:new e(r),i=(function(o,a){var s=o.l,l=o.a,u=o.b,c=a.l,d=a.a,p=a.b,m=180/Math.PI,v=Math.PI/180,h=Math.pow(Math.pow(l,2)+Math.pow(u,2),.5),b=Math.pow(Math.pow(d,2)+Math.pow(p,2),.5),f=(s+c)/2,g=Math.pow((h+b)/2,7),x=.5*(1-Math.pow(g/(g+Math.pow(25,7)),.5)),w=l*(1+x),k=d*(1+x),S=Math.pow(Math.pow(w,2)+Math.pow(u,2),.5),E=Math.pow(Math.pow(k,2)+Math.pow(p,2),.5),C=(S+E)/2,R=w===0&&u===0?0:Math.atan2(u,w)*m,N=k===0&&p===0?0:Math.atan2(p,k)*m;R<0&&(R+=360),N<0&&(N+=360);var B=N-R,re=Math.abs(N-R);re>180&&N<=R?B+=360:re>180&&N>R&&(B-=360);var te=R+N;re<=180?te/=2:te=(R+N<360?te+360:te-360)/2;var ae=1-.17*Math.cos(v*(te-30))+.24*Math.cos(2*v*te)+.32*Math.cos(v*(3*te+6))-.2*Math.cos(v*(4*te-63)),le=c-s,oe=E-S,Fe=2*Math.sin(v*B/2)*Math.pow(S*E,.5),Ue=1+.015*Math.pow(f-50,2)/Math.pow(20+Math.pow(f-50,2),.5),At=1+.045*C,Ve=1+.015*C*ae,Y=30*Math.exp(-1*Math.pow((te-275)/25,2)),J=-2*Math.pow(g/(g+Math.pow(25,7)),.5)*Math.sin(2*v*Y);return Math.pow(Math.pow(le/1/Ue,2)+Math.pow(oe/1/At,2)+Math.pow(Fe/1/Ve,2)+J*oe*Fe/(1*At*1*Ve),.5)})(this.toLab(),n.toLab())/100;return Qt(wi(i,3))},t.object.push([FE,"lab"])}var Zd,wi,Qt,Xd,ep,Up,Vp,Qp,E1,LE,Ti,bn,FE,P1,yq=y(()=>{Zd=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},wi=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},Qt=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},Xd=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},ep=function(e){return 255*(e>.0031308?1.055*Math.pow(e,.4166666666666667)-.055:12.92*e)},Up=96.422,Vp=100,Qp=82.521,E1=function(e){var t,r,n={x:.9555766*(t=e).x+-.0230393*t.y+.0631636*t.z,y:-.0282895*t.x+1.0099416*t.y+.0210077*t.z,z:.0122982*t.x+-.020483*t.y+1.3299098*t.z};return r={r:ep(.032404542*n.x-.015371385*n.y-.004985314*n.z),g:ep(-.00969266*n.x+.018760108*n.y+41556e-8*n.z),b:ep(556434e-9*n.x-.002040259*n.y+.010572252*n.z),a:e.a},{r:Qt(r.r,0,255),g:Qt(r.g,0,255),b:Qt(r.b,0,255),a:Qt(r.a)}},LE=function(e){var t=Xd(e.r),r=Xd(e.g),n=Xd(e.b);return(function(i){return{x:Qt(i.x,0,Up),y:Qt(i.y,0,Vp),z:Qt(i.z,0,Qp),a:Qt(i.a)}})((function(i){return{x:1.0478112*i.x+.0228866*i.y+-.050127*i.z,y:.0295424*i.x+.9904844*i.y+-.0170491*i.z,z:-.0092345*i.x+.0150436*i.y+.7521316*i.z,a:i.a}})({x:100*(.4124564*t+.3575761*r+.1804375*n),y:100*(.2126729*t+.7151522*r+.072175*n),z:100*(.0193339*t+.119192*r+.9503041*n),a:e.a}))},Ti=216/24389,bn=24389/27,FE=function(e){var t=e.l,r=e.a,n=e.b,i=e.alpha,o=i===void 0?1:i;if(!Zd(t)||!Zd(r)||!Zd(n))return null;var a=(function(s){return{l:Qt(s.l,0,400),a:s.a,b:s.b,alpha:Qt(s.alpha)}})({l:Number(t),a:Number(r),b:Number(n),alpha:Number(o)});return P1(a)},P1=function(e){var t=(e.l+16)/116,r=e.a/500+t,n=t-e.b/200;return E1({x:(Math.pow(r,3)>Ti?Math.pow(r,3):(116*r-16)/bn)*Up,y:(e.l>8?Math.pow((e.l+16)/116,3):e.l/bn)*Vp,z:(Math.pow(n,3)>Ti?Math.pow(n,3):(116*n-16)/bn)*Qp,a:e.alpha})}});function wq(e,t){e.prototype.toLch=function(){return Bv(qv(this.rgba))},e.prototype.toLchString=function(){return r=Bv(qv(this.rgba)),n=r.l,i=r.c,o=r.h,(a=r.a)<1?"lch("+n+"% "+i+" "+o+" / "+a+")":"lch("+n+"% "+i+" "+o+")";var r,n,i,o,a},t.string.push([RE,"lch"]),t.object.push([ME,"lch"])}var j1,tp,on,gr,rp,np,ip,op,ap,I1,O1,Wn,an,Cf,Bv,ME,qv,zf,T1,RE,kq=y(()=>{j1={grad:.9,turn:360,rad:360/(2*Math.PI)},tp=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},on=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},gr=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},rp=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},np=function(e){return 255*(e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e)},ip=96.422,op=100,ap=82.521,I1=function(e){var t,r,n={x:.9555766*(t=e).x+-.0230393*t.y+.0631636*t.z,y:-.0282895*t.x+1.0099416*t.y+.0210077*t.z,z:.0122982*t.x+-.020483*t.y+1.3299098*t.z};return r={r:np(.032404542*n.x-.015371385*n.y-.004985314*n.z),g:np(-.00969266*n.x+.018760108*n.y+41556e-8*n.z),b:np(556434e-9*n.x-.002040259*n.y+.010572252*n.z),a:e.a},{r:gr(r.r,0,255),g:gr(r.g,0,255),b:gr(r.b,0,255),a:gr(r.a)}},O1=function(e){var t=rp(e.r),r=rp(e.g),n=rp(e.b);return(function(i){return{x:gr(i.x,0,ip),y:gr(i.y,0,op),z:gr(i.z,0,ap),a:gr(i.a)}})((function(i){return{x:1.0478112*i.x+.0228866*i.y+-.050127*i.z,y:.0295424*i.x+.9904844*i.y+-.0170491*i.z,z:-.0092345*i.x+.0150436*i.y+.7521316*i.z,a:i.a}})({x:100*(.4124564*t+.3575761*r+.1804375*n),y:100*(.2126729*t+.7151522*r+.072175*n),z:100*(.0193339*t+.119192*r+.9503041*n),a:e.a}))},Wn=216/24389,an=24389/27,Cf=function(e){return{l:gr(e.l,0,100),c:e.c,h:(t=e.h,(t=isFinite(t)?t%360:0)>0?t:t+360),a:e.a};var t},Bv=function(e){return{l:on(e.l,2),c:on(e.c,2),h:on(e.h,2),a:on(e.a,3)}},ME=function(e){var t=e.l,r=e.c,n=e.h,i=e.a,o=i===void 0?1:i;if(!tp(t)||!tp(r)||!tp(n))return null;var a=Cf({l:Number(t),c:Number(r),h:Number(n),a:Number(o)});return zf(a)},qv=function(e){var t=(function(o){var a=O1(o),s=a.x/ip,l=a.y/op,u=a.z/ap;return s=s>Wn?Math.cbrt(s):(an*s+16)/116,{l:116*(l=l>Wn?Math.cbrt(l):(an*l+16)/116)-16,a:500*(s-l),b:200*(l-(u=u>Wn?Math.cbrt(u):(an*u+16)/116)),alpha:a.a}})(e),r=on(t.a,3),n=on(t.b,3),i=Math.atan2(n,r)/Math.PI*180;return{l:t.l,c:Math.sqrt(r*r+n*n),h:i<0?i+360:i,a:t.alpha}},zf=function(e){return t={l:e.l,a:e.c*Math.cos(e.h*Math.PI/180),b:e.c*Math.sin(e.h*Math.PI/180),alpha:e.a},n=t.a/500+(r=(t.l+16)/116),i=r-t.b/200,I1({x:(Math.pow(n,3)>Wn?Math.pow(n,3):(116*n-16)/an)*ip,y:(t.l>8?Math.pow((t.l+16)/116,3):t.l/an)*op,z:(Math.pow(i,3)>Wn?Math.pow(i,3):(116*i-16)/an)*ap,a:t.alpha});var t,r,n,i},T1=/^lch\(\s*([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)\s+([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,RE=function(e){var t=T1.exec(e);if(!t)return null;var r,n,i=Cf({l:Number(t[1]),c:Number(t[2]),h:(r=t[3],n=t[4],n===void 0&&(n="deg"),Number(r)*(j1[n]||1)),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return zf(i)}});function xq(e){if(e=e.toLowerCase(),!e.startsWith("hwb(")||!e.endsWith(")")||e.includes("/"))return null;let[t,r="",n="",i,...o]=e.slice(4,-1).split(",");if(!t||!t.trim()||!r.trim()||!n.trim()||o.length>0)return null;let a=lh(`hwb(${t} ${r} ${n}${i?` / ${i}`:""})`);return a.isValid()?a.rgba:null}function Sq(e){if(e=e.toLowerCase(),!e.startsWith("gray(")||!e.endsWith(")"))return null;let[t,r,...n]=e.slice(5,-1).split(",");if(!t||n.length>0)return null;let i=Wv.default.unit(t.trim());if(!i||!["","%"].includes(i.unit))return null;let o={l:Number(i.number),a:0,b:0};if(r){let a=Wv.default.unit(r.trim());if(!a||!["","%"].includes(a.unit))return null;o={...o,alpha:Number(a.number)/(a.unit?100:1)}}return lh(o).rgba}var Wv,lh,Cq=y(()=>{mq(),Wv=K(de(),1),fq(),bq(),yq(),kq(),OE([hq,gq,vq,wq,(e,t)=>{t.string.push([xq,"hwb-with-comma"])},(e,t)=>{t.string.push([Sq,"gray"])}]),lh=er}),$E={};A($E,{default:()=>BE});var Af,Go,sp,D1,L1,Ko,BE,zq=y(()=>{Af=K(de(),1),q(),Pr(),Cq(),Z(),kd(),_e(),V(),Ke(),H(),j(),O(),D(),Go="color-named",sp=I(Go,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:e=>`Disallowed named color "${e}"`}),D1={url:"https://stylelint.io/user-guide/rules/color-named"},L1=new Set(["word","function"]),Ko=(e,t)=>(r,n)=>{if(!T(n,Go,{actual:e,possible:["never","always-where-possible"]},{actual:t,possible:{ignoreProperties:[$,_],ignore:["inside-function"]},optional:!0}))return;r.walkDecls(o=>{if(VA.has(o.prop)||L(t,"ignoreProperties",o.prop))return;let{value:a}=o;e==="never"&&!Q.namedColor.test(a)||e==="always-where-possible"&&!Q.validHex.test(a)&&!Q.colorFunction.test(a)&&!Q.grayFunction.test(a)||(0,Af.default)(a).walk(s=>{let l=s.value,u=s.type,c=s.sourceIndex;if(L(t,"ignore","inside-function")&&u==="function"||!wd(s))return!1;if(!Be(l)||!L1.has(u))return;if(e==="never"&&u==="word"&&Vc.has(l.toLowerCase())){i(sp.rejected,[l],o,ie(o)+c,l.length);return}if(e!=="always-where-possible")return;let d,p;if(u==="function")d=Af.default.stringify(s),p=d.replace(/\s*([,/()])\s*/g,"$1").replace(/\s{2,}/g," ");else if(u==="word"&&l.startsWith("#"))d=p=l;else return;let m=lh(p);if(!m.isValid())return;let v=m.toName();v&&v.toLowerCase()!=="transparent"&&i(sp.expected,[p,v],o,ie(o)+c,d.length)})});function i(o,a,s,l,u){P({result:n,ruleName:Go,message:o,messageArgs:a,node:s,index:l,endIndex:l+u})}},Ko.ruleName=Go,Ko.messages=sp,Ko.meta=D1,BE=Ko}),qE={};A(qE,{default:()=>_E});function Aq({type:e,value:t}){return e==="word"&&WE.test(t)}var F1,Ho,Nf,M1,WE,Jo,_E,Nq=y(()=>{F1=K(de(),1),Z(),We(),Cd(),V(),j(),O(),D(),Ho="color-no-hex",Nf=I(Ho,{rejected:e=>`Disallowed hex color "${e}"`}),M1={url:"https://stylelint.io/user-guide/rules/color-no-hex"},WE=/^#[\da-z]+$/i,Jo=e=>(t,r)=>{T(r,Ho,{actual:e})&&t.walkDecls(n=>{Q.hexColor.test(n.value)&&(0,F1.default)(qe(n)).walk(i=>{if(Sd(i))return!1;if(!Aq(i))return;let o=ie(n)+i.sourceIndex,a=o+i.value.length;P({message:Nf.rejected,messageArgs:[i.value],node:n,index:o,endIndex:a,result:r,ruleName:Ho})})})},Jo.ruleName=Ho,Jo.messages=Nf,Jo.meta=M1,_E=Jo});function Eq(e){return!e.includes("[")}var Pq=y(()=>{}),UE={};A(UE,{default:()=>VE});var R1,Zo,Ef,$1,Xo,VE,jq=y(()=>{R1=K(de(),1),Z(),Pq(),zE(),V(),j(),O(),D(),Zo="color-no-invalid-hex",Ef=I(Zo,{rejected:e=>`Invalid hex color "${e}"`}),$1={url:"https://stylelint.io/user-guide/rules/color-no-invalid-hex"},Xo=e=>(t,r)=>{T(r,Zo,{actual:e})&&t.walkDecls(n=>{Q.hexColor.test(n.value)&&Eq(n.value)&&(0,R1.default)(n.value).walk(({value:i,type:o,sourceIndex:a})=>{if(o==="function"&&i.endsWith("url"))return!1;if(o!=="word")return;let s=/^#[\da-z]+/i.exec(i);if(!s)return;let l=s[0];if(!l||SE(l))return;let u=ie(n)+a,c=u+l.length;P({message:Ef.rejected,messageArgs:[l],node:n,index:u,endIndex:c,result:r,ruleName:Zo})})})},Xo.ruleName=Zo,Xo.messages=Ef,Xo.meta=$1,VE=Xo});function Gc(e){return!("inline"in e||"inline"in e.raws)}var uh=y(()=>{}),QE={};A(QE,{default:()=>YE});var ea,lp,B1,ta,YE,Iq=y(()=>{q(),cd(),pd(),rh(),bd(),md(),oh(),qw(),uh(),H(),j(),O(),D(),ea="comment-empty-line-before",lp=I(ea,{expected:"Expected empty line before comment",rejected:"Expected no empty line before comment"}),B1={url:"https://stylelint.io/user-guide/rules/comment-empty-line-before",fixable:!0},ta=(e,t,r)=>(n,i)=>{T(i,ea,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["first-nested"],ignore:["stylelint-commands","after-comment"],ignoreComments:[$,_]},optional:!0})&&n.walkComments(o=>{if(ih(o)||Oi(o,r.configurationComment)&&L(t,"ignore","stylelint-commands")||L(t,"ignore","after-comment")&&qi(o)||L(t,"ignoreComments",o.text)||Bw(o)||!Gc(o))return;let a=L(t,"except","first-nested")&&Br(o)?!1:e==="always",s=o.raws.before||"",l=dd(s);if(a===l)return;let u=a?lp.expected:lp.rejected,c=a?"add":"remove";P({message:u,messageArgs:[],node:o,result:i,ruleName:ea,fix:{apply:()=>ud({node:o,newline:r.newline,action:c}),node:o.parent}})})},ta.ruleName=ea,ta.messages=lp,ta.meta=B1,YE=ta}),GE={};A(GE,{default:()=>KE});var ra,Pf,q1,na,KE,Oq=y(()=>{uh(),j(),O(),D(),ra="comment-no-empty",Pf=I(ra,{rejected:"Empty comment"}),q1={url:"https://stylelint.io/user-guide/rules/comment-no-empty"},na=e=>(t,r)=>{T(r,ra,{actual:e})&&t.walkComments(n=>{Gc(n)&&(n.text&&n.text.length!==0||P({message:Pf.rejected,messageArgs:[],node:n,result:r,ruleName:ra}))})},na.ruleName=ra,na.messages=Pf,na.meta=q1,KE=na}),HE={};A(HE,{default:()=>JE});var ia,jf,W1,oa,JE,Tq=y(()=>{q(),j(),O(),D(),ia="comment-pattern",jf=I(ia,{expected:e=>`Expected comment to match pattern "${e}"`}),W1={url:"https://stylelint.io/user-guide/rules/comment-pattern"},oa=e=>(t,r)=>{if(!T(r,ia,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkComments(i=>{let o=i.text;n.test(o)||P({message:jf.expected,messageArgs:[e],node:i,result:r,ruleName:ia})})},oa.ruleName=ia,oa.messages=jf,oa.meta=W1,JE=oa});function _v(e){return[" ",`
23
+ `," ","\r","\f"].includes(e)}var ZE=y(()=>{}),XE={};A(XE,{default:()=>eP});function Dq(e){e.text.startsWith("*")?e.text=e.text.replace(/^(\*+)/,"$1 "):e.raws.left=" "}function Lq(e){e.text[e.text.length-1]==="*"?e.text=e.text.replace(/(\*+)$/," $1"):e.raws.right=" "}var aa,sn,_1,sa,eP,Fq=y(()=>{uh(),ZE(),j(),O(),D(),aa="comment-whitespace-inside",sn=I(aa,{expectedOpening:'Expected whitespace after "/*"',rejectedOpening:'Expected no whitespace after "/*"',expectedClosing:'Expected whitespace before "*/"',rejectedClosing:'Expected no whitespace before "*/"'}),_1={url:"https://stylelint.io/user-guide/rules/comment-whitespace-inside",fixable:!0},sa=e=>(t,r)=>{T(r,aa,{actual:e,possible:["always","never"]})&&t.walkComments(n=>{var h,b;if(!Gc(n))return;let i=n.toString(),o=i.slice(0,4);if(/^\/\*[#!]\s/.test(o))return;let a=i.match(/(^\/\*+)(\s*)/);if(a==null||a[1]==null)throw new Error(`Invalid comment: "${i}"`);let s=i.match(/(\s*)(\*+\/)$/);if(s==null||s[2]==null)throw new Error(`Invalid comment: "${i}"`);let l=a[1],u=(h=a[2])!=null?h:"",c=u.charAt(0),d=(b=s[1])!=null?b:"",p=d.charAt(0),m=s[2];if(e==="never"&&c!==""){let f=l.length,g=f+u.length;v(sn.rejectedOpening,f,g)}if(e==="always"&&!_v(c)&&v(sn.expectedOpening,l.length),e==="never"&&p!==""){let f=i.length-m.length,g=f-d.length;v(sn.rejectedClosing,g,f)}e==="always"&&!_v(p)&&v(sn.expectedClosing,i.length-m.length-1);function v(f,g,x=g){P({message:f,messageArgs:[],index:g,endIndex:x,result:r,ruleName:aa,node:n,fix:{apply:()=>{e==="never"?(n.raws.left="",n.raws.right="",n.text=n.text.replace(/^(\*+)(\s+)?/,"$1").replace(/(\s+)?(\*+)$/,"$2")):(f===sn.expectedClosing?Lq:Dq)(n)},node:n}})}})},sa.ruleName=aa,sa.messages=sn,sa.meta=_1,eP=sa});function Mq(e,t){if(!Array.isArray(t))return U1(e,t);for(let r of t){let n=U1(e,r);if(n)return n}return!1}function U1(e,t){return!t||!$(t)||t.startsWith("/")&&t.endsWith("/")?!1:e.includes(t)?{match:e,pattern:t,substring:t}:!1}var Rq=y(()=>{q()}),tP={};A(tP,{default:()=>rP});var la,If,V1,_n,rP,$q=y(()=>{q(),Rq(),Le(),j(),O(),D(),la="comment-word-disallowed-list",If=I(la,{rejected:e=>`Disallowed word matching pattern "${e}"`}),V1={url:"https://stylelint.io/user-guide/rules/comment-word-disallowed-list"},_n=e=>(t,r)=>{T(r,la,{actual:e,possible:[$,_]})&&t.walkComments(n=>{let i=n.text;if(n.toString().slice(0,4)==="/*# ")return;let o=Pe(i,e)||Mq(i,e);o&&P({message:If.rejected,messageArgs:[o.pattern],node:n,word:o.substring,result:r,ruleName:la})})},_n.primaryOptionArray=!0,_n.ruleName=la,_n.messages=If,_n.meta=V1,rP=_n}),nP={};A(nP,{default:()=>iP});var Of,ua,Tf,Q1,Y1,ca,iP,Bq=y(()=>{Of=K(de(),1),Z(),V(),q(),Ke(),et(),ct(),_e(),j(),O(),D(),ua="container-name-pattern",Tf=I(ua,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),Q1={url:"https://stylelint.io/user-guide/rules/container-name-pattern"},Y1=new Set(["and","or","none","not"]),ca=e=>(t,r)=>{var s,l,u,c;if(!T(r,ua,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e,i=(c=(u=(l=(s=r.stylelint.config)==null?void 0:s.languageOptions)==null?void 0:l.syntax)==null?void 0:u.cssWideKeywords)!=null?c:[],o=new Set([...Te,...i]);t.walkDecls(dr.containerNameAndShorthandName,d=>{if(!ut(d))return;let p=(0,Of.default)(d.value),m=!1;p.walk(({sourceIndex:v,type:h,value:b})=>{if(!m){if(h==="div"&&b==="/"&&(m=!0),h!=="word")return!1;o.has(b.toLowerCase())||Be(b)&&(n.test(b)||a(ie(d)+v,b,d))}})}),t.walkAtRules(Se.containerName,d=>{if(!Xe(d))return;let{params:p}=d;(0,Of.default)(p).walk(({sourceIndex:m,type:v,value:h})=>{if(v!=="word")return!1;Y1.has(h.toLowerCase())||n.test(h)||a(Oe(d)+m,h,d)})});function a(d,p,m){P({result:r,ruleName:ua,message:Tf.expected,messageArgs:[p,e],node:m,index:d,endIndex:d+p.length})}},ca.ruleName=ua,ca.messages=Tf,ca.meta=Q1,iP=ca}),oP={};A(oP,{default:()=>aP});var da,Df,G1,pa,aP,qq=y(()=>{q(),Z(),V(),j(),O(),D(),da="custom-media-pattern",Df=I(da,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),G1={url:"https://stylelint.io/user-guide/rules/custom-media-pattern"},pa=e=>(t,r)=>{if(!T(r,da,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkAtRules(Se.customMediaName,i=>{let[o,a]=i.params.match(/^--(\S+)\b/)||[];if(o===void 0||a===void 0)throw new Error(`Unexpected at-rule params: "${i.params}"`);if(n.test(a))return;let s=Oe(i);P({message:Df.expected,messageArgs:[o,e],node:i,index:s,endIndex:s+o.length,result:r,ruleName:da})})},pa.ruleName=da,pa.messages=Df,pa.meta=G1,aP=pa});function Wq(e){var i;let t=Uv.get(e),r=(i=e.raws.before)!=null?i:"";if(t&&t.before===r)return t.result;let n=r+e.toString();return Uv.set(e,{result:n,before:r}),n}var Uv,_q=y(()=>{Uv=new WeakMap});function Hw(e){return Yc(e)?Wq(e).slice(uE(e).length):""}var Jw=y(()=>{cE(),nh(),_q()});function sP(e){let t=e.prev();return t?it(t)||Ie(t):!1}var lP=y(()=>{fe()});function yt(e){return e.startsWith("--")}var pr=y(()=>{});function ch(e){return!/[\n\r]/.test(e)}var dh=y(()=>{}),uP={};A(uP,{default:()=>cP});function K1(e){let t=$r(e);return t!=null&&eo(t)&&yt(t.prop)}var ma,up,H1,ha,cP,Uq=y(()=>{fe(),Jw(),cd(),Pn(),pd(),lP(),rh(),pr(),md(),dh(),ct(),H(),j(),O(),D(),ma="custom-property-empty-line-before",up=I(ma,{expected:"Expected empty line before custom property",rejected:"Expected no empty line before custom property"}),H1={url:"https://stylelint.io/user-guide/rules/custom-property-empty-line-before",fixable:!0},ha=(e,t,r)=>(n,i)=>{T(i,ma,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["after-block","after-comment","after-custom-property","first-nested"],ignore:["after-comment","after-custom-property","first-nested","inside-single-line-block"]},optional:!0})&&n.walkDecls(o=>{let a=o.prop,s=o.parent;if(!ut(o)||!yt(a)||L(t,"ignore","after-comment")&&qi(o)||L(t,"ignore","after-custom-property")&&K1(o)||L(t,"ignore","first-nested")&&Br(o)||L(t,"ignore","inside-single-line-block")&&s!=null&&(Ie(s)||it(s))&&ch(Hw(s)))return;let l=e==="always";(L(t,"except","first-nested")&&Br(o)||L(t,"except","after-block")&&sP(o)||L(t,"except","after-comment")&&qi(o)||L(t,"except","after-custom-property")&&K1(o))&&(l=!l);let u=dd(o.raws.before);if(l===u)return;let c=l?up.expected:up.rejected,d=l?"add":"remove";P({message:c,messageArgs:[],node:o,result:i,ruleName:ma,fix:{apply:()=>ud({node:o,newline:r.newline,action:d}),node:o.parent}})})},ha.ruleName=ma,ha.messages=up,ha.meta=H1,cP=ha}),dP={};A(dP,{default:()=>pP});function J1({type:e,value:t}){return e==="word"&&t.startsWith("--")}var Z1,fa,Lf,X1,e0,ga,pP,Vq=y(()=>{Z1=K(de(),1),V(),Z(),xd(),j(),O(),D(),fa="custom-property-no-missing-var-function",Lf=I(fa,{rejected:e=>`Missing var function for "${e}"`}),X1={url:"https://stylelint.io/user-guide/rules/custom-property-no-missing-var-function"},e0=new Set(["animation","animation-name","animation-timeline","container-name","counter-increment","counter-reset","counter-set","grid-column","grid-column-end","grid-column-start","grid-row","grid-row-end","grid-row-start","list-style","list-style-type","timeline-scope","transition","transition-property","view-transition-name","will-change"]),ga=e=>(t,r)=>{if(!T(r,fa,{actual:e}))return;let n=new Set;t.walkAtRules(Se.propertyName,({params:o})=>{n.add(o)}),t.walkDecls(dr.custom,({prop:o})=>{n.add(o)}),t.walkDecls(o=>{let{prop:a,value:s}=o;Q.customProperty.test(s)&&(e0.has(a.toLowerCase())||(0,Z1.default)(s).nodes.forEach(l=>{i(l,o)}))});function i(o,a){if(o.type==="function"){let c=o.value.toLowerCase(),d=o.nodes;if(c==="var")d=o.nodes.slice(1);else if(c==="running"){let[p]=o.nodes;if(p&&oo(p))d=p.nodes.slice(1);else return}else if(c==="style"){let p=!1;o.nodes.forEach(m=>{m.type==="div"&&m.value===":"?p=!0:!p&&J1(m)||p&&i(m,a)});return}d.forEach(p=>i(p,a));return}if(!J1(o))return;let s=o.value.replace(/;+$/,"");if(!n.has(s))return;let l=ie(a)+o.sourceIndex,u=l+s.length;P({message:Lf.rejected,messageArgs:[s],node:a,index:l,endIndex:u,result:r,ruleName:fa})}},ga.ruleName=fa,ga.messages=Lf,ga.meta=X1,pP=ga});function Ir(e){return!(zN(e)||e.startsWith("@")||e.endsWith("+")||e.endsWith("+_")||Xm(e))}var Or=y(()=>{eh(),AN()}),mP={};A(mP,{default:()=>hP});var t0,ba,Ff,r0,va,hP,Qq=y(()=>{t0=K(de(),1),Z(),V(),q(),pr(),Or(),xd(),j(),O(),D(),ba="custom-property-pattern",Ff=I(ba,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),r0={url:"https://stylelint.io/user-guide/rules/custom-property-pattern"},va=e=>(t,r)=>{if(!T(r,ba,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;function i(a){return!yt(a)||!Ir(a)||n.test(a.slice(2))}t.walkDecls(a=>{let{prop:s,value:l}=a;Q.varFunction.test(l)&&(0,t0.default)(l).walk(u=>{if(!oo(u))return;let{nodes:c}=u,d=c[0];!d||i(d.value)||o(ie(a)+d.sourceIndex,d.value,a)}),!i(s)&&o(0,s,a)}),t.walkAtRules(Se.propertyName,a=>{let{params:s}=a;i(s)||o(Oe(a),s,a)});function o(a,s,l){P({result:r,ruleName:ba,message:Ff.expected,messageArgs:[s,e],node:l,index:a,endIndex:a+s.length})}},va.ruleName=ba,va.messages=Ff,va.meta=r0,hP=va});function Yq(e){return it(e)||Ie(e)||ur(e)}function ph(e,t){function r(n){if(Yq(n)&&n.nodes&&n.nodes.length){let i=[];for(let o of n.nodes)o.type==="decl"&&i.push(o),r(o);i.length&&t(i.forEach.bind(i))}}r(e)}var mh=y(()=>{fe()}),fP={};A(fP,{default:()=>gP});var ya,Mf,n0,wa,gP,Gq=y(()=>{q(),mh(),pr(),Or(),H(),j(),O(),D(),ya="declaration-block-no-duplicate-custom-properties",Mf=I(ya,{rejected:e=>`Duplicate custom property "${e}"`}),n0={url:"https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-custom-properties"},wa=(e,t)=>(r,n)=>{T(n,ya,{actual:e},{actual:t,possible:{ignoreProperties:[$,_]},optional:!0})&&ph(r,i=>{let o=new Set;i(a=>{let s=a.prop;if(!(!Ir(s)||!yt(s)||L(t,"ignoreProperties",s))){if(o.has(s)){P({message:Mf.rejected,messageArgs:[s],node:a,result:n,ruleName:ya,word:s});return}o.add(s)}})})},wa.ruleName=ya,wa.messages=Mf,wa.meta=n0,gP=wa}),i0=y(()=>{});function pt(e){return e>=48&&e<=57}function en(e){return pt(e)||e>=65&&e<=70||e>=97&&e<=102}function Zw(e){return e>=65&&e<=90}function Kq(e){return e>=97&&e<=122}function Hq(e){return Zw(e)||Kq(e)}function Jq(e){return e>=128}function zm(e){return Hq(e)||Jq(e)||e===95}function bP(e){return zm(e)||pt(e)||e===45}function Zq(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function Am(e){return e===10||e===13||e===12}function xn(e){return Am(e)||e===32||e===9}function wr(e,t){return!(e!==92||Am(t)||t===0)}function Yp(e,t,r){return e===45?zm(t)||t===45||wr(t,r):zm(e)?!0:e===92?wr(e,t):!1}function Rf(e,t,r){return e===43||e===45?pt(t)?2:t===46&&pt(r)?3:0:e===46?pt(t)?2:0:pt(e)?1:0}function vP(e){return e===65279||e===65534?1:0}function $f(e){return e<128?Gp[e]:Nm}var Gp,o0,Ac,Vv,Nm,Qv,Em=y(()=>{Gp=new Array(128),o0=128,Ac=130,Vv=131,Nm=132,Qv=133;for(let e=0;e<Gp.length;e++)Gp[e]=xn(e)&&Ac||pt(e)&&Vv||zm(e)&&Nm||Zq(e)&&Qv||e||o0});function Di(e,t){return t<e.length?e.charCodeAt(t):0}function Yv(e,t,r){return r===13&&Di(e,t+1)===10?2:1}function Li(e,t,r){let n=e.charCodeAt(t);return Zw(n)&&(n=n|32),n===r}function Kc(e,t,r,n){if(r-t!==n.length||t<0||r>e.length)return!1;for(let i=t;i<r;i++){let o=n.charCodeAt(i-t),a=e.charCodeAt(i);if(Zw(a)&&(a=a|32),a!==o)return!1}return!0}function Xq(e,t){for(;t>=0&&xn(e.charCodeAt(t));t--);return t+1}function cp(e,t){for(;t<e.length&&xn(e.charCodeAt(t));t++);return t}function Bf(e,t){for(;t<e.length&&pt(e.charCodeAt(t));t++);return t}function _i(e,t){if(t+=2,en(Di(e,t-1))){for(let n=Math.min(e.length,t+5);t<n&&en(Di(e,t));t++);let r=Di(e,t);xn(r)&&(t+=Yv(e,t,r))}return t}function dp(e,t){for(;t<e.length;t++){let r=e.charCodeAt(t);if(!bP(r)){if(wr(r,Di(e,t+1))){t=_i(e,t)-1;continue}break}}return t}function hh(e,t){let r=e.charCodeAt(t);if((r===43||r===45)&&(r=e.charCodeAt(t+=1)),pt(r)&&(t=Bf(e,t+1),r=e.charCodeAt(t)),r===46&&pt(e.charCodeAt(t+1))&&(t+=2,t=Bf(e,t)),Li(e,t,101)){let n=0;r=e.charCodeAt(t+1),(r===45||r===43)&&(n=1,r=e.charCodeAt(t+2)),pt(r)&&(t=Bf(e,t+1+n+1))}return t}function qf(e,t){for(;t<e.length;t++){let r=e.charCodeAt(t);if(r===41){t++;break}wr(r,Di(e,t+1))&&(t=_i(e,t))}return t}function yP(e){if(e.length===1&&!en(e.charCodeAt(0)))return e[0];let t=parseInt(e,16);return(t===0||t>=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}var Gv=y(()=>{Em()}),Pm,wP=y(()=>{Pm=["EOF-token","ident-token","function-token","at-keyword-token","hash-token","string-token","bad-string-token","url-token","bad-url-token","delim-token","number-token","percentage-token","dimension-token","whitespace-token","CDO-token","CDC-token","colon-token","semicolon-token","comma-token","[-token","]-token","(-token",")-token","{-token","}-token","comment-token"]});function jm(e=null,t){return e===null||e.length<t?new Uint32Array(Math.max(t+1024,16384)):e}var kP=y(()=>{});function a0(e){let t=e.source,r=t.length,n=t.length>0?vP(t.charCodeAt(0)):0,i=jm(e.lines,r),o=jm(e.columns,r),a=e.startLine,s=e.startColumn;for(let l=n;l<r;l++){let u=t.charCodeAt(l);i[l]=a,o[l]=s++,(u===Kv||u===Hv||u===xP)&&(u===Hv&&l+1<r&&t.charCodeAt(l+1)===Kv&&(l++,i[l]=a,o[l]=s),a++,s=1)}i[r]=a,o[r]=s,e.lines=i,e.columns=o,e.computed=!0}var Kv,xP,Hv,SP,e9=y(()=>{kP(),Em(),Kv=10,xP=12,Hv=13,SP=class{constructor(e,t,r,n){this.setSource(e,t,r,n),this.lines=null,this.columns=null}setSource(e="",t=0,r=1,n=1){this.source=e,this.startOffset=t,this.startLine=r,this.startColumn=n,this.computed=!1}getLocation(e,t){return this.computed||a0(this),{source:t,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}getLocationRange(e,t,r){return this.computed||a0(this),{source:r,start:{offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]},end:{offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}}}});function s0(e,t,r){return e<t?t:e>r?r:e}var _t,Ut,Un,ka,Fr,Vt,CP,t9=y(()=>{kP(),Gv(),wP(),_t=16777215,Ut=24,Un=1,ka=2,Fr=new Uint8Array(32),Fr[2]=22,Fr[21]=22,Fr[19]=20,Fr[23]=24,Vt=new Uint8Array(32),Vt[2]=Un,Vt[21]=Un,Vt[19]=Un,Vt[23]=Un,Vt[22]=ka,Vt[20]=ka,Vt[24]=ka,CP=class{constructor(e,t){this.setSource(e,t)}reset(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}setSource(e="",t=()=>{}){e=String(e||"");let r=e.length,n=jm(this.offsetAndType,e.length+1),i=jm(this.balance,e.length+1),o=0,a=-1,s=0,l=e.length;this.offsetAndType=null,this.balance=null,i.fill(0),t(e,(u,c,d)=>{let p=o++;if(n[p]=u<<Ut|d,a===-1&&(a=c),i[p]=l,u===s){let m=i[l];i[l]=p,l=m,s=Fr[n[m]>>Ut]}else this.isBlockOpenerTokenType(u)&&(l=p,s=Fr[u])}),n[o]=0<<Ut|r,i[o]=o;for(let u=0;u<o;u++){let c=i[u];if(c<=u){let d=i[c];d!==u&&(i[u]=d)}else c>o&&(i[u]=o)}this.source=e,this.firstCharOffset=a===-1?0:a,this.tokenCount=o,this.offsetAndType=n,this.balance=i,this.reset(),this.next()}lookupType(e){return e+=this.tokenIndex,e<this.tokenCount?this.offsetAndType[e]>>Ut:0}lookupTypeNonSC(e){for(let t=this.tokenIndex;t<this.tokenCount;t++){let r=this.offsetAndType[t]>>Ut;if(r!==13&&r!==25&&e--===0)return r}return 0}lookupOffset(e){return e+=this.tokenIndex,e<this.tokenCount?this.offsetAndType[e-1]&_t:this.source.length}lookupOffsetNonSC(e){for(let t=this.tokenIndex;t<this.tokenCount;t++){let r=this.offsetAndType[t]>>Ut;if(r!==13&&r!==25&&e--===0)return t-this.tokenIndex}return 0}lookupValue(e,t){return e+=this.tokenIndex,e<this.tokenCount?Kc(this.source,this.offsetAndType[e-1]&_t,this.offsetAndType[e]&_t,t):!1}getTokenStart(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?this.offsetAndType[e-1]&_t:this.offsetAndType[this.tokenCount]&_t:this.firstCharOffset}getTokenEnd(e){return e===this.tokenIndex?this.tokenEnd:this.offsetAndType[s0(e,0,this.tokenCount)]&_t}getTokenType(e){return e===this.tokenIndex?this.tokenType:this.offsetAndType[s0(e,0,this.tokenCount)]>>Ut}substrToCursor(e){return this.source.substring(e,this.tokenStart)}isBlockOpenerTokenType(e){return Vt[e]===Un}isBlockCloserTokenType(e){return Vt[e]===ka}getBlockTokenPairIndex(e){let t=this.getTokenType(e);if(Vt[t]===1){let r=this.balance[e],n=this.getTokenType(r);return Fr[t]===n?r:-1}else if(Vt[t]===2){let r=this.balance[e],n=this.getTokenType(r);return Fr[n]===t?r:-1}return-1}isBalanceEdge(e){return this.balance[this.tokenIndex]<e}isDelim(e,t){return t?this.lookupType(t)===9&&this.source.charCodeAt(this.lookupOffset(t))===e:this.tokenType===9&&this.source.charCodeAt(this.tokenStart)===e}skip(e){let t=this.tokenIndex+e;t<this.tokenCount?(this.tokenIndex=t,this.tokenStart=this.offsetAndType[t-1]&_t,t=this.offsetAndType[t],this.tokenType=t>>Ut,this.tokenEnd=t&_t):(this.tokenIndex=this.tokenCount,this.next())}next(){let e=this.tokenIndex+1;e<this.tokenCount?(this.tokenIndex=e,this.tokenStart=this.tokenEnd,e=this.offsetAndType[e],this.tokenType=e>>Ut,this.tokenEnd=e&_t):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=0,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===13||this.tokenType===25;)this.next()}skipUntilBalanced(e,t){let r=e,n=0,i=0;e:for(;r<this.tokenCount;r++){if(n=this.balance[r],n<e)break e;switch(i=r>0?this.offsetAndType[r-1]&_t:this.firstCharOffset,t(this.source.charCodeAt(i))){case 1:break e;case 2:r++;break e;default:this.isBlockOpenerTokenType(this.offsetAndType[r]>>Ut)&&(r=n)}}this.skip(r-this.tokenIndex)}forEachToken(e){for(let t=0,r=this.firstCharOffset;t<this.tokenCount;t++){let n=r,i=this.offsetAndType[t],o=i&_t,a=i>>Ut;r=o,e(a,n,o,t)}}dump(){let e=new Array(this.tokenCount);return this.forEachToken((t,r,n,i)=>{e[i]={idx:i,type:Pm[t],chunk:this.source.substring(r,n),balance:this.balance[i]}}),e}}});function fh(e,t){function r(d){return d<s?e.charCodeAt(d):0}function n(){if(u=hh(e,u),Yp(r(u),r(u+1),r(u+2))){c=12,u=dp(e,u);return}if(r(u)===37){c=11,u++;return}c=10}function i(){let d=u;if(u=dp(e,u),Kc(e,d,u,"url")&&r(u)===40){if(u=cp(e,u+1),r(u)===34||r(u)===39){c=2,u=d+4;return}a();return}if(r(u)===40){c=2,u++;return}c=1}function o(d){for(d||(d=r(u++)),c=5;u<e.length;u++){let p=e.charCodeAt(u);switch($f(p)){case d:u++;return;case Ac:if(Am(p)){u+=Yv(e,u,p),c=6;return}break;case 92:if(u===e.length-1)break;let m=r(u+1);Am(m)?u+=Yv(e,u+1,m):wr(p,m)&&(u=_i(e,u)-1);break}}}function a(){for(c=7,u=cp(e,u);u<e.length;u++){let d=e.charCodeAt(u);switch($f(d)){case 41:u++;return;case Ac:if(u=cp(e,u),r(u)===41||u>=e.length){u<e.length&&u++;return}u=qf(e,u),c=8;return;case 34:case 39:case 40:case Qv:u=qf(e,u),c=8;return;case 92:if(wr(d,r(u+1))){u=_i(e,u)-1;break}u=qf(e,u),c=8;return}}}e=String(e||"");let s=e.length,l=vP(r(0)),u=l,c;for(;u<s;){let d=e.charCodeAt(u);switch($f(d)){case Ac:c=13,u=cp(e,u+1);break;case 34:o();break;case 35:bP(r(u+1))||wr(r(u+1),r(u+2))?(c=4,u=dp(e,u+1)):(c=9,u++);break;case 39:o();break;case 40:c=21,u++;break;case 41:c=22,u++;break;case 43:Rf(d,r(u+1),r(u+2))?n():(c=9,u++);break;case 44:c=18,u++;break;case 45:Rf(d,r(u+1),r(u+2))?n():r(u+1)===45&&r(u+2)===62?(c=15,u=u+3):Yp(d,r(u+1),r(u+2))?i():(c=9,u++);break;case 46:Rf(d,r(u+1),r(u+2))?n():(c=9,u++);break;case 47:r(u+1)===42?(c=25,u=e.indexOf("*/",u+2),u=u===-1?e.length:u+2):(c=9,u++);break;case 58:c=16,u++;break;case 59:c=17,u++;break;case 60:r(u+1)===33&&r(u+2)===45&&r(u+3)===45?(c=14,u=u+4):(c=9,u++);break;case 64:Yp(r(u+1),r(u+2),r(u+3))?(c=3,u=dp(e,u+1)):(c=9,u++);break;case 91:c=19,u++;break;case 92:wr(d,r(u+1))?i():(c=9,u++);break;case 93:c=20,u++;break;case 123:c=23,u++;break;case 125:c=24,u++;break;case Vv:n();break;case Nm:i();break;default:c=9,u++}t(c,l,l=u)}}var mr=y(()=>{Em(),Gv(),i0(),i0(),wP(),Em(),Gv(),e9(),t9()}),ln,Im,zP=y(()=>{ln=null,Im=class pn{static createItem(t){return{prev:null,next:null,data:t}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(t){return pn.createItem(t)}allocateCursor(t,r){let n;return ln!==null?(n=ln,ln=ln.cursor,n.prev=t,n.next=r,n.cursor=this.cursor):n={prev:t,next:r,cursor:this.cursor},this.cursor=n,n}releaseCursor(){let{cursor:t}=this;this.cursor=t.cursor,t.prev=null,t.next=null,t.cursor=ln,ln=t}updateCursors(t,r,n,i){let{cursor:o}=this;for(;o!==null;)o.prev===t&&(o.prev=r),o.next===n&&(o.next=i),o=o.cursor}*[Symbol.iterator](){for(let t=this.head;t!==null;t=t.next)yield t.data}get size(){let t=0;for(let r=this.head;r!==null;r=r.next)t++;return t}get isEmpty(){return this.head===null}get first(){return this.head&&this.head.data}get last(){return this.tail&&this.tail.data}toArray(){return[...this]}toJSON(){return[...this]}forEach(t,r=this){let n=this.allocateCursor(null,this.head);for(;n.next!==null;){let i=n.next;n.next=i.next,t.call(r,i.data,i,this)}this.releaseCursor()}reduce(t,r,n=this){let i=this.allocateCursor(null,this.head),o=r,a;for(;i.next!==null;)a=i.next,i.next=a.next,o=t.call(n,o,a.data,a,this);return this.releaseCursor(),o}reduceRight(t,r,n=this){let i=this.allocateCursor(this.tail,null),o=r,a;for(;i.prev!==null;)a=i.prev,i.prev=a.prev,o=t.call(n,o,a.data,a,this);return this.releaseCursor(),o}some(t,r=this){for(let n=this.head;n!==null;n=n.next)if(t.call(r,n.data,n,this))return!0;return!1}map(t,r=this){let n=new pn;for(let i=this.head;i!==null;i=i.next)n.appendData(t.call(r,i.data,i,this));return n}filter(t,r=this){let n=new pn;for(let i=this.head;i!==null;i=i.next)t.call(r,i.data,i,this)&&n.appendData(i.data);return n}clear(){this.head=null,this.tail=null}prepend(t){return this.updateCursors(null,t,this.head,t),this.head!==null?(this.head.prev=t,t.next=this.head):this.tail=t,this.head=t,this}append(t){return this.insert(t)}appendData(t){return this.insert(pn.createItem(t))}insert(t,r=null){if(r!==null)if(this.updateCursors(r.prev,t,r,t),r.prev===null){if(this.head!==r)throw new Error("before doesn't belong to list");this.head=t,r.prev=t,t.next=r,this.updateCursors(null,t)}else r.prev.next=t,t.prev=r.prev,r.prev=t,t.next=r;else this.updateCursors(this.tail,t,null,t),this.tail!==null?(this.tail.next=t,t.prev=this.tail):this.head=t,this.tail=t;return this}remove(t){if(this.updateCursors(t,t.prev,t,t.next),t.prev!==null)t.prev.next=t.next;else{if(this.head!==t)throw new Error("item doesn't belong to list");this.head=t.next}if(t.next!==null)t.next.prev=t.prev;else{if(this.tail!==t)throw new Error("item doesn't belong to list");this.tail=t.prev}return t.prev=null,t.next=null,t}push(t){this.insert(pn.createItem(t))}pop(){return this.tail!==null?this.remove(this.tail):null}unshift(t){this.prepend(pn.createItem(t))}shift(){return this.head!==null?this.remove(this.head):null}insertList(t,r){return t.head===null?this:(r!=null?(this.updateCursors(r.prev,t.tail,r,t.head),r.prev!==null?(r.prev.next=t.head,t.head.prev=r.prev):this.head=t.head,r.prev=t.tail,t.tail.next=r):(this.updateCursors(this.tail,t.tail,null,t.head),this.tail!==null?(this.tail.next=t.head,t.head.prev=this.tail):this.head=t.head,this.tail=t.tail),t.head=null,t.tail=null,this)}replace(t,r){"head"in r?this.insertList(r,t):this.insert(r,t),this.remove(t)}}});function Om(e,t){let r=Object.create(SyntaxError.prototype),n=new Error;return Object.assign(r,{name:e,message:t,get stack(){return(n.stack||"").replace(/^(.+\n){1,3}/,`${e}: ${t}
24
+ `)}})}var Xw=y(()=>{});function l0({source:e,line:t,column:r,baseLine:n,baseColumn:i},o){function a(v,h){return u.slice(v,h).map((b,f)=>String(v+f+1).padStart(p)+" |"+b).join(`
25
25
  `)}let s=`
26
- `.repeat(Math.max(n-1,0)),l=" ".repeat(Math.max(i-1,0)),u=(s+l+e).split(/\r\n?|\n|\f/),c=Math.max(1,t-o)-1,d=Math.min(t+o,u.length+1),p=Math.max(4,String(d).length)+1,m=0;r+=(ey.length-1)*(u[t-1].substr(0,r-1).match(/\t/g)||[]).length,r>Xp&&(m=r-Zv+3,r=Zv-2);for(let v=c;v<=d;v++)v>=0&&v<u.length&&(u[v]=u[v].replace(/\t/g,ey),u[v]=(m>0&&u[v].length>m?"…":"")+u[v].substr(m,Xp-2)+(u[v].length>m+Xp-1?"…":""));return[a(c,t),new Array(r+p+2).join("-")+"^",a(t,d)].filter(Boolean).join(`
27
- `).replace(/^(\s+\d+\s+\|\n)+/,"").replace(/\n(\s+\d+\s+\|)+$/,"")}function p0(e,t,r,n,i,o=1,a=1){return Object.assign(Tm("SyntaxError",e),{source:t,offset:r,line:n,column:i,sourceFragment(s){return d0({source:t,line:n,column:i,baseLine:o,baseColumn:a},isNaN(s)?0:s)},get formattedMessage(){return`Parse error: ${e}
28
- `+d0({source:t,line:n,column:i,baseLine:o,baseColumn:a},2)}})}var Xp,Zv,ey,o9=y(()=>{rk(),Xp=100,Zv=60,ey=" "});function a9(e){let t=this.createList(),r=!1,n={recognizer:e};for(;!this.eof;){switch(this.tokenType){case 25:this.next();continue;case 13:r=!0,this.next();continue}let i=e.getNode.call(this,n);if(i===void 0)break;r&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,i,t,n),r=!1),t.push(i)}return r&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,n),t}var s9=y(()=>{});function l9(e){return function(){return this[e]()}}function _f(e){let t=Object.create(null);for(let r of Object.keys(e)){let n=e[r],i=n.parse||n;i&&(t[r]=i)}return t}function u9(e){let t={context:Object.create(null),features:Object.assign(Object.create(null),e.features),scope:Object.assign(Object.create(null),e.scope),atrule:_f(e.atrule),pseudo:_f(e.pseudo),node:_f(e.node)};for(let[r,n]of Object.entries(e.parseContext))switch(typeof n){case"function":t.context[r]=n;break;case"string":t.context[r]=l9(n);break}return{config:t,...t,...t.node}}function c9(e){let t="",r="<unknown>",n=!1,i=mn,o=!1,a=new NP,s=Object.assign(new EP,u9(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:a9,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(u){return u===ty?1:0},consumeUntilLeftCurlyBracketOrSemicolon(u){return u===ty||u===Jp?1:0},consumeUntilExclamationMarkOrSemicolon(u){return u===PP||u===Jp?1:0},consumeUntilSemicolonIncluded(u){return u===Jp?2:0},createList:mn,createSingleNodeList:mn,getFirstListNode:mn,getLastListNode:mn,parseWithFallback(u,c){let d=this.tokenIndex;try{return u.call(this)}catch(p){if(o)throw p;this.skip(d-this.tokenIndex);let m=c.call(this);return o=!0,i(p,m),o=!1,m}},lookupNonWSType(u){let c;do if(c=this.lookupType(u++),c!==13&&c!==25)return c;while(c!==ry);return ry},charCodeAt(u){return u>=0&&u<t.length?t.charCodeAt(u):0},substring(u,c){return t.substring(u,c)},substrToCursor(u){return this.source.substring(u,this.tokenStart)},cmpChar(u,c){return Li(t,u,c)},cmpStr(u,c,d){return Hc(t,u,c,d)},consume(u){let c=this.tokenStart;return this.eat(u),this.substrToCursor(c)},consumeFunctionName(){let u=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(2),u},consumeNumber(u){let c=t.substring(this.tokenStart,fh(t,this.tokenStart));return this.eat(u),c},eat(u){if(this.tokenType!==u){let c=Om[u].slice(0,-6).replace(/-/g," ").replace(/^./,m=>m.toUpperCase()),d=`${/[[\](){}]/.test(c)?`"${c}"`:c} is expected`,p=this.tokenStart;switch(u){case 1:this.tokenType===2||this.tokenType===7?(p=this.tokenEnd-1,d="Identifier is expected but function found"):d="Identifier is expected";break;case 4:this.isDelim(IP)&&(this.next(),p++,d="Name is expected");break;case 11:this.tokenType===10&&(p=this.tokenEnd,d="Percent sign is expected");break}this.error(d,p)}this.next()},eatIdent(u){(this.tokenType!==1||this.lookupValue(0,u)===!1)&&this.error(`Identifier "${u}" is expected`),this.next()},eatDelim(u){this.isDelim(u)||this.error(`Delim "${String.fromCharCode(u)}" is expected`),this.next()},getLocation(u,c){return n?a.getLocationRange(u,c,r):null},getLocationFromList(u){if(n){let c=this.getFirstListNode(u),d=this.getLastListNode(u);return a.getLocationRange(c!==null?c.loc.start.offset-a.startOffset:this.tokenStart,d!==null?d.loc.end.offset-a.startOffset:this.tokenStart,r)}return null},error(u,c){let d=typeof c<"u"&&c<t.length?a.getLocation(c):this.eof?a.getLocation(r9(t,t.length-1)):a.getLocation(this.tokenStart);throw new p0(u||"Unexpected input",t,d.offset,d.line,d.column,a.startLine,a.startColumn)}}),l=()=>({filename:r,source:t,tokenCount:s.tokenCount,getTokenType:u=>s.getTokenType(u),getTokenTypeName:u=>Om[s.getTokenType(u)],getTokenStart:u=>s.getTokenStart(u),getTokenEnd:u=>s.getTokenEnd(u),getTokenValue:u=>s.source.substring(s.getTokenStart(u),s.getTokenEnd(u)),substring:(u,c)=>s.source.substring(u,c),balance:s.balance.subarray(0,s.tokenCount+1),isBlockOpenerTokenType:s.isBlockOpenerTokenType,isBlockCloserTokenType:s.isBlockCloserTokenType,getBlockTokenPairIndex:u=>s.getBlockTokenPairIndex(u),getLocation:u=>a.getLocation(u,r),getRangeLocation:(u,c)=>a.getLocationRange(u,c,r)});return Object.assign(function(u,c){t=u,c=c||{},s.setSource(t,gh),a.setSource(t,c.offset,c.line,c.column),r=c.filename||"<unknown>",n=!!c.positions,i=typeof c.onParseError=="function"?c.onParseError:mn,o=!1,s.parseAtrulePrelude="parseAtrulePrelude"in c?!!c.parseAtrulePrelude:!0,s.parseRulePrelude="parseRulePrelude"in c?!!c.parseRulePrelude:!0,s.parseValue="parseValue"in c?!!c.parseValue:!0,s.parseCustomProperty="parseCustomProperty"in c?!!c.parseCustomProperty:!1;let{context:d="default",list:p=!0,onComment:m,onToken:v}=c;if(!(d in s.context))throw new Error("Unknown context `"+d+"`");Object.assign(s,p?jP:OP),Array.isArray(v)?s.forEachToken((b,g,f)=>{v.push({type:b,start:g,end:f})}):typeof v=="function"&&s.forEachToken(v.bind(l())),typeof m=="function"&&s.forEachToken((b,g,f)=>{if(b===25){let x=s.getLocation(g,f),w=Hc(t,f-2,f,"*/")?t.slice(g+2,f-2):t.slice(g+2,f);m(w,x)}});let h=s.context[d].call(s,c);return s.eof||s.error(),h},{SyntaxError:p0,config:s.config})}var mn,PP,IP,Jp,ty,ry,OP,jP,d9=y(()=>{tk(),o9(),mr(),s9(),mn=()=>{},PP=33,IP=35,Jp=59,ty=123,ry=0,OP={createList(){return[]},createSingleNodeList(e){return[e]},getFirstListNode(e){return e&&e[0]||null},getLastListNode(e){return e&&e.length>0?e[e.length-1]:null}},jP={createList(){return new Xc},createSingleNodeList(e){return new Xc().appendData(e)},getFirstListNode(e){return e&&e.first},getLastListNode(e){return e&&e.last}}}),TP,p9=y(()=>{TP=()=>{}}),ny={};A(ny,{safe:()=>nk,spec:()=>FP});function m0(e){let t=new Set(e.map(([r,n])=>Zp(r)<<16|Zp(n)));return function(r,n,i){let o=Zp(n,i),a=i.charCodeAt(0),s=a===LP&&n!==1&&n!==2&&n!==15||a===DP?t.has((r&65534)<<16|a<<7):t.has((r&65534)<<16|o);return o|s}}var DP,LP,Zp,Uf,h0,FP,nk,m9=y(()=>{DP=43,LP=45,Zp=(e,t)=>(e===9&&(e=t),typeof e=="string"&&(e=Math.min(e.charCodeAt(0),128)<<6),e<<1),Uf=[[1,1],[1,2],[1,7],[1,8],[1,"-"],[1,10],[1,11],[1,12],[1,15],[1,21],[3,1],[3,2],[3,7],[3,8],[3,"-"],[3,10],[3,11],[3,12],[3,15],[4,1],[4,2],[4,7],[4,8],[4,"-"],[4,10],[4,11],[4,12],[4,15],[12,1],[12,2],[12,7],[12,8],[12,"-"],[12,10],[12,11],[12,12],[12,15],["#",1],["#",2],["#",7],["#",8],["#","-"],["#",10],["#",11],["#",12],["#",15],["-",1],["-",2],["-",7],["-",8],["-","-"],["-",10],["-",11],["-",12],["-",15],[10,1],[10,2],[10,7],[10,8],[10,10],[10,11],[10,12],[10,"%"],[10,15],["@",1],["@",2],["@",7],["@",8],["@","-"],["@",15],[".",10],[".",11],[".",12],["+",10],["+",11],["+",12],["/","*"]],h0=Uf.concat([[1,4],[12,4],[4,4],[3,21],[3,5],[3,16],[11,11],[11,12],[11,2],[11,"-"],[22,1],[22,2],[22,11],[22,12],[22,4],[22,"-"]]),FP=m0(Uf),nk=m0(h0)});function h9(e,t){if(typeof t=="function"){let r=null;e.children.forEach(n=>{r!==null&&t.call(this,r),this.node(n),r=n});return}e.children.forEach(this.node,this)}function f9(e){let t=new Map;for(let[r,n]of Object.entries(e.node))typeof(n.generate||n)=="function"&&t.set(r,n.generate||n);return function(r,n){let i="",o=0,a={node(l){if(t.has(l.type))t.get(l.type).call(s,l);else throw new Error("Unknown node type: "+l.type)},tokenBefore:nk,token(l,u,c){o=this.tokenBefore(o,l,u),!c&&o&1&&this.emit(" ",13,!0),this.emit(u,l,!1),l===9&&u.charCodeAt(0)===MP&&this.emit(`
29
- `,13,!0)},emit(l){i+=l},result(){return i}};n&&(typeof n.decorator=="function"&&(a=n.decorator(a)),n.sourceMap&&(a=TP(a)),n.mode in ny&&(a.tokenBefore=ny[n.mode]));let s={node:l=>a.node(l),children:h9,token:(l,u)=>a.token(l,u),tokenize:l=>gh(l,(u,c,d)=>{a.token(u,l.slice(c,d),c!==0)})};return a.node(r),a.result()}}var MP,g9=y(()=>{mr(),p9(),m9(),MP=92}),RP,b9=y(()=>{RP=()=>({})});function f0(e){return typeof e=="function"?e:Ci}function g0(e,t){return function(r,n,i){r.type===t&&e.call(this,r,n,i)}}function v9(e,t){let r=t.structure,n=[];for(let i in r){if(bh.call(r,i)===!1)continue;let o=r[i],a={name:i,type:!1,nullable:!1};Array.isArray(o)||(o=[o]);for(let s of o)s===null?a.nullable=!0:typeof s=="string"?a.type="node":Array.isArray(s)&&(a.type="list");a.type&&n.push(a)}return n.length?{context:t.walkContext,fields:n}:null}function y9(e){let t={};for(let r in e.node)if(bh.call(e.node,r)){let n=e.node[r];if(!n.structure)throw new Error("Missed `structure` field in `"+r+"` node type definition");t[r]=v9(r,n)}return t}function b0(e,t){let r=e.fields.slice(),n=e.context,i=typeof n=="string";return t&&r.reverse(),function(o,a,s,l){let u;i&&(u=a[n],a[n]=o);for(let c of r){let d=o[c.name];if(!c.nullable||d){if(c.type==="list"){if(t?d.reduceRight(l,!1):d.reduce(l,!1))return!0}else if(s(d))return!0}}i&&(a[n]=u)}}function v0({StyleSheet:e,Atrule:t,Rule:r,Block:n,DeclarationList:i}){return{Atrule:{StyleSheet:e,Atrule:t,Rule:r,Block:n},Rule:{StyleSheet:e,Atrule:t,Rule:r,Block:n},Declaration:{StyleSheet:e,Atrule:t,Rule:r,Block:n,DeclarationList:i}}}function w9(e){let t=y9(e),r={},n={},i=Symbol("break-walk"),o=Symbol("skip-node");for(let u in t)bh.call(t,u)&&t[u]!==null&&(r[u]=b0(t[u],!1),n[u]=b0(t[u],!0));let a=v0(r),s=v0(n),l=function(u,c){function d(g,f,x){let w=p.call(b,g,f,x);return w===i?!0:w===o?!1:!!(v.hasOwnProperty(g.type)&&v[g.type](g,b,d,h)||m.call(b,g,f,x)===i)}let p=Ci,m=Ci,v=r,h=(g,f,x,w)=>g||d(f,x,w),b={break:i,skip:o,root:u,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if(typeof c=="function")p=c;else if(c&&(p=f0(c.enter),m=f0(c.leave),c.reverse&&(v=n),c.visit)){if(a.hasOwnProperty(c.visit))v=c.reverse?s[c.visit]:a[c.visit];else if(!t.hasOwnProperty(c.visit))throw new Error("Bad value `"+c.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(", ")+")");p=g0(p,c.visit),m=g0(m,c.visit)}if(p===Ci&&m===Ci)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");d(u)};return l.break=i,l.skip=o,l.find=function(u,c){let d=null;return l(u,function(p,m,v){if(c.call(this,p,m,v))return d=p,i}),d},l.findLast=function(u,c){let d=null;return l(u,{reverse:!0,enter(p,m,v){if(c.call(this,p,m,v))return d=p,i}}),d},l.findAll=function(u,c){let d=[];return l(u,function(p,m,v){c.call(this,p,m,v)&&d.push(p)}),d},l}var bh,Ci,k9=y(()=>{({hasOwnProperty:bh}=Object.prototype),Ci=function(){}});function x9(e){return e}function S9(e){let{min:t,max:r,comma:n}=e;return t===0&&r===0?n?"#?":"*":t===0&&r===1?"?":t===1&&r===0?n?"#":"+":t===1&&r===1?"":(n?"#":"")+(t===r?"{"+t+"}":"{"+t+","+(r!==0?r:"")+"}")}function C9(e){if(e.type==="Range")return" ["+(e.min===null?"-∞":e.min)+","+(e.max===null?"∞":e.max)+"]";throw new Error("Unknown node type `"+e.type+"`")}function z9(e,t,r,n){let i=e.combinator===" "||n?e.combinator:" "+e.combinator+" ",o=e.terms.map(a=>Dm(a,t,r,n)).join(i);return e.explicit||r?(n||o[0]===","?"[":"[ ")+o+(n?"]":" ]"):o}function Dm(e,t,r,n){let i;switch(e.type){case"Group":i=z9(e,t,r,n)+(e.disallowEmpty?"!":"");break;case"Multiplier":return Dm(e.term,t,r,n)+t(S9(e),e);case"Boolean":i="<boolean-expr["+Dm(e.term,t,r,n)+"]>";break;case"Type":i="<"+e.name+(e.opts?t(C9(e.opts),e.opts):"")+">";break;case"Property":i="<'"+e.name+"'>";break;case"Keyword":i=e.name;break;case"AtKeyword":i="@"+e.name;break;case"Function":i=e.name+"(";break;case"String":case"Token":i=e.value;break;case"Comma":i=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return t(i,e)}function A9(e,t){let r=x9,n=!1,i=!1;return typeof t=="function"?r=t:t&&(n=!!t.forceBraces,i=!!t.compact,typeof t.decorate=="function"&&(r=t.decorate)),Dm(e,r,n,i)}var N9=y(()=>{});function E9(e,t){let r=e.tokens,n=e.longestMatch,i=n<r.length&&r[n].node||null,o=i!==t?i:null,a=0,s=0,l=0,u="",c,d;for(let p=0;p<r.length;p++){let m=r[p].value;p===n&&(s=m.length,a=u.length),o!==null&&r[p].node===o&&(p<=n?l++:l=0),u+=m}return n===r.length||l>1?(c=hp(o||t,"end")||yc(iy,u),d=yc(c)):(c=hp(o,"start")||yc(hp(t,"start")||iy,u.slice(0,a)),d=hp(o,"end")||yc(c,u.substr(a,s))),{css:u,mismatchOffset:a,mismatchLength:s,start:c,end:d}}function hp(e,t){let r=e&&e.loc&&e.loc[t];return r?"line"in r?yc(r):r:null}function yc({offset:e,line:t,column:r},n){let i={offset:e,line:t,column:r};if(n){let o=n.split(/\n|\r\n?|\f/);i.offset+=n.length,i.line+=o.length-1,i.column=o.length===1?i.column+n.length:o.pop().length+1}return i}var iy,em,$P,P9=y(()=>{rk(),N9(),iy={offset:0,line:1,column:1},em=function(e,t){let r=Tm("SyntaxReferenceError",e+(t?" `"+t+"`":""));return r.reference=t,r},$P=function(e,t,r,n){let i=Tm("SyntaxMatchError",e),{css:o,mismatchOffset:a,mismatchLength:s,start:l,end:u}=E9(n,r);return i.rawMessage=e,i.syntax=t?A9(t):"<generic>",i.css=o,i.mismatchOffset=a,i.mismatchLength=s,i.message=e+`
26
+ `.repeat(Math.max(n-1,0)),l=" ".repeat(Math.max(i-1,0)),u=(s+l+e).split(/\r\n?|\n|\f/),c=Math.max(1,t-o)-1,d=Math.min(t+o,u.length+1),p=Math.max(4,String(d).length)+1,m=0;r+=(Zv.length-1)*(u[t-1].substr(0,r-1).match(/\t/g)||[]).length,r>Kp&&(m=r-Jv+3,r=Jv-2);for(let v=c;v<=d;v++)v>=0&&v<u.length&&(u[v]=u[v].replace(/\t/g,Zv),u[v]=(m>0&&u[v].length>m?"…":"")+u[v].substr(m,Kp-2)+(u[v].length>m+Kp-1?"…":""));return[a(c,t),new Array(r+p+2).join("-")+"^",a(t,d)].filter(Boolean).join(`
27
+ `).replace(/^(\s+\d+\s+\|\n)+/,"").replace(/\n(\s+\d+\s+\|)+$/,"")}function u0(e,t,r,n,i,o=1,a=1){return Object.assign(Om("SyntaxError",e),{source:t,offset:r,line:n,column:i,sourceFragment(s){return l0({source:t,line:n,column:i,baseLine:o,baseColumn:a},isNaN(s)?0:s)},get formattedMessage(){return`Parse error: ${e}
28
+ `+l0({source:t,line:n,column:i,baseLine:o,baseColumn:a},2)}})}var Kp,Jv,Zv,r9=y(()=>{Xw(),Kp=100,Jv=60,Zv=" "});function n9(e){let t=this.createList(),r=!1,n={recognizer:e};for(;!this.eof;){switch(this.tokenType){case 25:this.next();continue;case 13:r=!0,this.next();continue}let i=e.getNode.call(this,n);if(i===void 0)break;r&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,i,t,n),r=!1),t.push(i)}return r&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,n),t}var i9=y(()=>{});function o9(e){return function(){return this[e]()}}function Wf(e){let t=Object.create(null);for(let r of Object.keys(e)){let n=e[r],i=n.parse||n;i&&(t[r]=i)}return t}function a9(e){let t={context:Object.create(null),features:Object.assign(Object.create(null),e.features),scope:Object.assign(Object.create(null),e.scope),atrule:Wf(e.atrule),pseudo:Wf(e.pseudo),node:Wf(e.node)};for(let[r,n]of Object.entries(e.parseContext))switch(typeof n){case"function":t.context[r]=n;break;case"string":t.context[r]=o9(n);break}return{config:t,...t,...t.node}}function s9(e){let t="",r="<unknown>",n=!1,i=mn,o=!1,a=new SP,s=Object.assign(new CP,a9(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:n9,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(u){return u===Xv?1:0},consumeUntilLeftCurlyBracketOrSemicolon(u){return u===Xv||u===Hp?1:0},consumeUntilExclamationMarkOrSemicolon(u){return u===AP||u===Hp?1:0},consumeUntilSemicolonIncluded(u){return u===Hp?2:0},createList:mn,createSingleNodeList:mn,getFirstListNode:mn,getLastListNode:mn,parseWithFallback(u,c){let d=this.tokenIndex;try{return u.call(this)}catch(p){if(o)throw p;this.skip(d-this.tokenIndex);let m=c.call(this);return o=!0,i(p,m),o=!1,m}},lookupNonWSType(u){let c;do if(c=this.lookupType(u++),c!==13&&c!==25)return c;while(c!==ey);return ey},charCodeAt(u){return u>=0&&u<t.length?t.charCodeAt(u):0},substring(u,c){return t.substring(u,c)},substrToCursor(u){return this.source.substring(u,this.tokenStart)},cmpChar(u,c){return Li(t,u,c)},cmpStr(u,c,d){return Kc(t,u,c,d)},consume(u){let c=this.tokenStart;return this.eat(u),this.substrToCursor(c)},consumeFunctionName(){let u=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(2),u},consumeNumber(u){let c=t.substring(this.tokenStart,hh(t,this.tokenStart));return this.eat(u),c},eat(u){if(this.tokenType!==u){let c=Pm[u].slice(0,-6).replace(/-/g," ").replace(/^./,m=>m.toUpperCase()),d=`${/[[\](){}]/.test(c)?`"${c}"`:c} is expected`,p=this.tokenStart;switch(u){case 1:this.tokenType===2||this.tokenType===7?(p=this.tokenEnd-1,d="Identifier is expected but function found"):d="Identifier is expected";break;case 4:this.isDelim(NP)&&(this.next(),p++,d="Name is expected");break;case 11:this.tokenType===10&&(p=this.tokenEnd,d="Percent sign is expected");break}this.error(d,p)}this.next()},eatIdent(u){(this.tokenType!==1||this.lookupValue(0,u)===!1)&&this.error(`Identifier "${u}" is expected`),this.next()},eatDelim(u){this.isDelim(u)||this.error(`Delim "${String.fromCharCode(u)}" is expected`),this.next()},getLocation(u,c){return n?a.getLocationRange(u,c,r):null},getLocationFromList(u){if(n){let c=this.getFirstListNode(u),d=this.getLastListNode(u);return a.getLocationRange(c!==null?c.loc.start.offset-a.startOffset:this.tokenStart,d!==null?d.loc.end.offset-a.startOffset:this.tokenStart,r)}return null},error(u,c){let d=typeof c<"u"&&c<t.length?a.getLocation(c):this.eof?a.getLocation(Xq(t,t.length-1)):a.getLocation(this.tokenStart);throw new u0(u||"Unexpected input",t,d.offset,d.line,d.column,a.startLine,a.startColumn)}}),l=()=>({filename:r,source:t,tokenCount:s.tokenCount,getTokenType:u=>s.getTokenType(u),getTokenTypeName:u=>Pm[s.getTokenType(u)],getTokenStart:u=>s.getTokenStart(u),getTokenEnd:u=>s.getTokenEnd(u),getTokenValue:u=>s.source.substring(s.getTokenStart(u),s.getTokenEnd(u)),substring:(u,c)=>s.source.substring(u,c),balance:s.balance.subarray(0,s.tokenCount+1),isBlockOpenerTokenType:s.isBlockOpenerTokenType,isBlockCloserTokenType:s.isBlockCloserTokenType,getBlockTokenPairIndex:u=>s.getBlockTokenPairIndex(u),getLocation:u=>a.getLocation(u,r),getRangeLocation:(u,c)=>a.getLocationRange(u,c,r)});return Object.assign(function(u,c){t=u,c=c||{},s.setSource(t,fh),a.setSource(t,c.offset,c.line,c.column),r=c.filename||"<unknown>",n=!!c.positions,i=typeof c.onParseError=="function"?c.onParseError:mn,o=!1,s.parseAtrulePrelude="parseAtrulePrelude"in c?!!c.parseAtrulePrelude:!0,s.parseRulePrelude="parseRulePrelude"in c?!!c.parseRulePrelude:!0,s.parseValue="parseValue"in c?!!c.parseValue:!0,s.parseCustomProperty="parseCustomProperty"in c?!!c.parseCustomProperty:!1;let{context:d="default",list:p=!0,onComment:m,onToken:v}=c;if(!(d in s.context))throw new Error("Unknown context `"+d+"`");Object.assign(s,p?PP:EP),Array.isArray(v)?s.forEachToken((b,f,g)=>{v.push({type:b,start:f,end:g})}):typeof v=="function"&&s.forEachToken(v.bind(l())),typeof m=="function"&&s.forEachToken((b,f,g)=>{if(b===25){let x=s.getLocation(f,g),w=Kc(t,g-2,g,"*/")?t.slice(f+2,g-2):t.slice(f+2,g);m(w,x)}});let h=s.context[d].call(s,c);return s.eof||s.error(),h},{SyntaxError:u0,config:s.config})}var mn,AP,NP,Hp,Xv,ey,EP,PP,l9=y(()=>{zP(),r9(),mr(),i9(),mn=()=>{},AP=33,NP=35,Hp=59,Xv=123,ey=0,EP={createList(){return[]},createSingleNodeList(e){return[e]},getFirstListNode(e){return e&&e[0]||null},getLastListNode(e){return e&&e.length>0?e[e.length-1]:null}},PP={createList(){return new Im},createSingleNodeList(e){return new Im().appendData(e)},getFirstListNode(e){return e&&e.first},getLastListNode(e){return e&&e.last}}}),jP,u9=y(()=>{jP=()=>{}}),ty={};A(ty,{safe:()=>ek,spec:()=>TP});function c0(e){let t=new Set(e.map(([r,n])=>Jp(r)<<16|Jp(n)));return function(r,n,i){let o=Jp(n,i),a=i.charCodeAt(0),s=a===OP&&n!==1&&n!==2&&n!==15||a===IP?t.has((r&65534)<<16|a<<7):t.has((r&65534)<<16|o);return o|s}}var IP,OP,Jp,_f,d0,TP,ek,c9=y(()=>{IP=43,OP=45,Jp=(e,t)=>(e===9&&(e=t),typeof e=="string"&&(e=Math.min(e.charCodeAt(0),128)<<6),e<<1),_f=[[1,1],[1,2],[1,7],[1,8],[1,"-"],[1,10],[1,11],[1,12],[1,15],[1,21],[3,1],[3,2],[3,7],[3,8],[3,"-"],[3,10],[3,11],[3,12],[3,15],[4,1],[4,2],[4,7],[4,8],[4,"-"],[4,10],[4,11],[4,12],[4,15],[12,1],[12,2],[12,7],[12,8],[12,"-"],[12,10],[12,11],[12,12],[12,15],["#",1],["#",2],["#",7],["#",8],["#","-"],["#",10],["#",11],["#",12],["#",15],["-",1],["-",2],["-",7],["-",8],["-","-"],["-",10],["-",11],["-",12],["-",15],[10,1],[10,2],[10,7],[10,8],[10,10],[10,11],[10,12],[10,"%"],[10,15],["@",1],["@",2],["@",7],["@",8],["@","-"],["@",15],[".",10],[".",11],[".",12],["+",10],["+",11],["+",12],["/","*"]],d0=_f.concat([[1,4],[12,4],[4,4],[3,21],[3,5],[3,16],[11,11],[11,12],[11,2],[11,"-"],[22,1],[22,2],[22,11],[22,12],[22,4],[22,"-"]]),TP=c0(_f),ek=c0(d0)});function d9(e,t){if(typeof t=="function"){let r=null;e.children.forEach(n=>{r!==null&&t.call(this,r),this.node(n),r=n});return}e.children.forEach(this.node,this)}function p9(e){let t=new Map;for(let[r,n]of Object.entries(e.node))typeof(n.generate||n)=="function"&&t.set(r,n.generate||n);return function(r,n){let i="",o=0,a={node(l){if(t.has(l.type))t.get(l.type).call(s,l);else throw new Error("Unknown node type: "+l.type)},tokenBefore:ek,token(l,u,c){o=this.tokenBefore(o,l,u),!c&&o&1&&this.emit(" ",13,!0),this.emit(u,l,!1),l===9&&u.charCodeAt(0)===DP&&this.emit(`
29
+ `,13,!0)},emit(l){i+=l},result(){return i}};n&&(typeof n.decorator=="function"&&(a=n.decorator(a)),n.sourceMap&&(a=jP(a)),n.mode in ty&&(a.tokenBefore=ty[n.mode]));let s={node:l=>a.node(l),children:d9,token:(l,u)=>a.token(l,u),tokenize:l=>fh(l,(u,c,d)=>{a.token(u,l.slice(c,d),c!==0)})};return a.node(r),a.result()}}var DP,m9=y(()=>{mr(),u9(),c9(),DP=92}),LP,h9=y(()=>{LP=()=>({})});function p0(e){return typeof e=="function"?e:Ci}function m0(e,t){return function(r,n,i){r.type===t&&e.call(this,r,n,i)}}function f9(e,t){let r=t.structure,n=[];for(let i in r){if(gh.call(r,i)===!1)continue;let o=r[i],a={name:i,type:!1,nullable:!1};Array.isArray(o)||(o=[o]);for(let s of o)s===null?a.nullable=!0:typeof s=="string"?a.type="node":Array.isArray(s)&&(a.type="list");a.type&&n.push(a)}return n.length?{context:t.walkContext,fields:n}:null}function g9(e){let t={};for(let r in e.node)if(gh.call(e.node,r)){let n=e.node[r];if(!n.structure)throw new Error("Missed `structure` field in `"+r+"` node type definition");t[r]=f9(r,n)}return t}function h0(e,t){let r=e.fields.slice(),n=e.context,i=typeof n=="string";return t&&r.reverse(),function(o,a,s,l){let u;i&&(u=a[n],a[n]=o);for(let c of r){let d=o[c.name];if(!c.nullable||d){if(c.type==="list"){if(t?d.reduceRight(l,!1):d.reduce(l,!1))return!0}else if(s(d))return!0}}i&&(a[n]=u)}}function f0({StyleSheet:e,Atrule:t,Rule:r,Block:n,DeclarationList:i}){return{Atrule:{StyleSheet:e,Atrule:t,Rule:r,Block:n},Rule:{StyleSheet:e,Atrule:t,Rule:r,Block:n},Declaration:{StyleSheet:e,Atrule:t,Rule:r,Block:n,DeclarationList:i}}}function b9(e){let t=g9(e),r={},n={},i=Symbol("break-walk"),o=Symbol("skip-node");for(let u in t)gh.call(t,u)&&t[u]!==null&&(r[u]=h0(t[u],!1),n[u]=h0(t[u],!0));let a=f0(r),s=f0(n),l=function(u,c){function d(f,g,x){let w=p.call(b,f,g,x);return w===i?!0:w===o?!1:!!(v.hasOwnProperty(f.type)&&v[f.type](f,b,d,h)||m.call(b,f,g,x)===i)}let p=Ci,m=Ci,v=r,h=(f,g,x,w)=>f||d(g,x,w),b={break:i,skip:o,root:u,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if(typeof c=="function")p=c;else if(c&&(p=p0(c.enter),m=p0(c.leave),c.reverse&&(v=n),c.visit)){if(a.hasOwnProperty(c.visit))v=c.reverse?s[c.visit]:a[c.visit];else if(!t.hasOwnProperty(c.visit))throw new Error("Bad value `"+c.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(", ")+")");p=m0(p,c.visit),m=m0(m,c.visit)}if(p===Ci&&m===Ci)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");d(u)};return l.break=i,l.skip=o,l.find=function(u,c){let d=null;return l(u,function(p,m,v){if(c.call(this,p,m,v))return d=p,i}),d},l.findLast=function(u,c){let d=null;return l(u,{reverse:!0,enter(p,m,v){if(c.call(this,p,m,v))return d=p,i}}),d},l.findAll=function(u,c){let d=[];return l(u,function(p,m,v){c.call(this,p,m,v)&&d.push(p)}),d},l}var gh,Ci,v9=y(()=>{({hasOwnProperty:gh}=Object.prototype),Ci=function(){}});function y9(e){return e}function w9(e){let{min:t,max:r,comma:n}=e;return t===0&&r===0?n?"#?":"*":t===0&&r===1?"?":t===1&&r===0?n?"#":"+":t===1&&r===1?"":(n?"#":"")+(t===r?"{"+t+"}":"{"+t+","+(r!==0?r:"")+"}")}function k9(e){if(e.type==="Range")return" ["+(e.min===null?"-∞":e.min)+","+(e.max===null?"∞":e.max)+"]";throw new Error("Unknown node type `"+e.type+"`")}function x9(e,t,r,n){let i=e.combinator===" "||n?e.combinator:" "+e.combinator+" ",o=e.terms.map(a=>Tm(a,t,r,n)).join(i);return e.explicit||r?(n||o[0]===","?"[":"[ ")+o+(n?"]":" ]"):o}function Tm(e,t,r,n){let i;switch(e.type){case"Group":i=x9(e,t,r,n)+(e.disallowEmpty?"!":"");break;case"Multiplier":return Tm(e.term,t,r,n)+t(w9(e),e);case"Boolean":i="<boolean-expr["+Tm(e.term,t,r,n)+"]>";break;case"Type":i="<"+e.name+(e.opts?t(k9(e.opts),e.opts):"")+">";break;case"Property":i="<'"+e.name+"'>";break;case"Keyword":i=e.name;break;case"AtKeyword":i="@"+e.name;break;case"Function":i=e.name+"(";break;case"String":case"Token":i=e.value;break;case"Comma":i=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return t(i,e)}function S9(e,t){let r=y9,n=!1,i=!1;return typeof t=="function"?r=t:t&&(n=!!t.forceBraces,i=!!t.compact,typeof t.decorate=="function"&&(r=t.decorate)),Tm(e,r,n,i)}var C9=y(()=>{});function z9(e,t){let r=e.tokens,n=e.longestMatch,i=n<r.length&&r[n].node||null,o=i!==t?i:null,a=0,s=0,l=0,u="",c,d;for(let p=0;p<r.length;p++){let m=r[p].value;p===n&&(s=m.length,a=u.length),o!==null&&r[p].node===o&&(p<=n?l++:l=0),u+=m}return n===r.length||l>1?(c=pp(o||t,"end")||vc(ry,u),d=vc(c)):(c=pp(o,"start")||vc(pp(t,"start")||ry,u.slice(0,a)),d=pp(o,"end")||vc(c,u.substr(a,s))),{css:u,mismatchOffset:a,mismatchLength:s,start:c,end:d}}function pp(e,t){let r=e&&e.loc&&e.loc[t];return r?"line"in r?vc(r):r:null}function vc({offset:e,line:t,column:r},n){let i={offset:e,line:t,column:r};if(n){let o=n.split(/\n|\r\n?|\f/);i.offset+=n.length,i.line+=o.length-1,i.column=o.length===1?i.column+n.length:o.pop().length+1}return i}var ry,Zp,FP,A9=y(()=>{Xw(),C9(),ry={offset:0,line:1,column:1},Zp=function(e,t){let r=Om("SyntaxReferenceError",e+(t?" `"+t+"`":""));return r.reference=t,r},FP=function(e,t,r,n){let i=Om("SyntaxMatchError",e),{css:o,mismatchOffset:a,mismatchLength:s,start:l,end:u}=z9(n,r);return i.rawMessage=e,i.syntax=t?S9(t):"<generic>",i.css=o,i.mismatchOffset=a,i.mismatchLength=s,i.message=e+`
30
30
  syntax: `+i.syntax+`
31
31
  value: `+(o||"<empty string>")+`
32
- --------`+new Array(i.mismatchOffset+1).join("-")+"^",Object.assign(i,l),i.loc={source:r&&r.loc&&r.loc.source||"<unknown>",start:l,end:u},i}});function ik(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===Jc&&e.charCodeAt(t+1)===Jc}function BP(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===Jc&&e.charCodeAt(t+1)!==Jc){let r=e.indexOf("-",t+2);if(r!==-1)return e.substring(t,r+1)}return""}function I9(e){if(wc.has(e))return wc.get(e);let t=e.toLowerCase(),r=wc.get(t);if(r===void 0){let n=ik(t,0),i=n?"":BP(t,0);r=Object.freeze({basename:t.substr(i.length),name:t,prefix:i,vendor:i,custom:n})}return wc.set(e,r),r}function O9(e){if(hn.has(e))return hn.get(e);let t=e,r=e[0];r==="/"?r=e[1]==="/"?"//":"/":r!=="_"&&r!=="*"&&r!=="$"&&r!=="#"&&r!=="+"&&r!=="&"&&(r="");let n=ik(t,r.length);if(!n&&(t=t.toLowerCase(),hn.has(t))){let s=hn.get(t);return hn.set(e,s),s}let i=n?"":BP(t,r.length),o=t.substr(0,r.length+i.length),a=Object.freeze({basename:t.substr(o.length),name:t.substr(r.length),hack:r,vendor:i,prefix:o,custom:n});return hn.set(e,a),a}var wc,hn,Jc,tm,oy,ok=y(()=>{wc=new Map,hn=new Map,Jc=45,tm=I9,oy=O9}),vh,ak=y(()=>{vh=["initial","inherit","unset","revert","revert-layer"]});function ay(e,t){return e!==null&&e.type===9&&e.value.charCodeAt(0)===t}function Ec(e,t,r){for(;e!==null&&(e.type===13||e.type===25);)e=r(++t);return t}function Qr(e,t,r,n){if(!e)return 0;let i=e.value.charCodeAt(t);if(i===Vi||i===tr){if(r)return 0;t++}for(;t<e.value.length;t++)if(!pt(e.value.charCodeAt(t)))return 0;return n+1}function Vf(e,t,r){let n=!1,i=Ec(e,t,r);if(e=r(i),e===null)return t;if(e.type!==10)if(ay(e,Vi)||ay(e,tr)){if(n=!0,i=Ec(r(++i),i,r),e=r(i),e===null||e.type!==10)return 0}else return t;if(!n){let o=e.value.charCodeAt(0);if(o!==Vi&&o!==tr)return 0}return Qr(e,n?0:1,n,i)}function j9(e,t){let r=0;if(!e)return 0;if(e.type===10)return Qr(e,0,qP,r);if(e.type===1&&e.value.charCodeAt(0)===tr){if(!Li(e.value,1,rm))return 0;switch(e.value.length){case 2:return Vf(t(++r),r,t);case 3:return e.value.charCodeAt(2)!==tr?0:(r=Ec(t(++r),r,t),e=t(r),Qr(e,0,fn,r));default:return e.value.charCodeAt(2)!==tr?0:Qr(e,3,fn,r)}}else if(e.type===1||ay(e,Vi)&&t(r+1).type===1){if(e.type!==1&&(e=t(++r)),e===null||!Li(e.value,0,rm))return 0;switch(e.value.length){case 1:return Vf(t(++r),r,t);case 2:return e.value.charCodeAt(1)!==tr?0:(r=Ec(t(++r),r,t),e=t(r),Qr(e,0,fn,r));default:return e.value.charCodeAt(1)!==tr?0:Qr(e,2,fn,r)}}else if(e.type===12){let n=e.value.charCodeAt(0),i=n===Vi||n===tr?1:0,o=i;for(;o<e.value.length&&pt(e.value.charCodeAt(o));o++);return o===i||!Li(e.value,o,rm)?0:o+1===e.value.length?Vf(t(++r),r,t):e.value.charCodeAt(o+1)!==tr?0:o+2===e.value.length?(r=Ec(t(++r),r,t),e=t(r),Qr(e,0,fn,r)):Qr(e,o+2,fn,r)}return 0}var Vi,tr,rm,fn,qP,T9=y(()=>{mr(),Vi=43,tr=45,rm=110,fn=!0,qP=!1});function sy(e,t){return e!==null&&e.type===9&&e.value.charCodeAt(0)===t}function D9(e,t){return e.value.charCodeAt(0)===t}function kc(e,t,r){let n=0;for(let i=t;i<e.value.length;i++){let o=e.value.charCodeAt(i);if(o===sk&&r&&n!==0)return kc(e,t+n+1,!1),6;if(!en(o)||++n>6)return 0}return n}function fp(e,t,r){if(!e)return 0;for(;sy(r(t),lk);){if(++e>6)return 0;t++}return t}function L9(e,t){let r=0;if(e===null||e.type!==1||!Li(e.value,0,_P)||(e=t(++r),e===null))return 0;if(sy(e,WP))return e=t(++r),e===null?0:e.type===1?fp(kc(e,0,!0),++r,t):sy(e,lk)?fp(1,++r,t):0;if(e.type===10){let n=kc(e,1,!0);return n===0?0:(e=t(++r),e===null?r:e.type===12||e.type===10?!D9(e,sk)||!kc(e,1,!1)?0:r+1:fp(n,r,t))}return e.type===12?fp(kc(e,1,!0),++r,t):0}var WP,sk,lk,_P,F9=y(()=>{mr(),WP=43,sk=45,lk=63,_P=117});function lr(e,t){return t<e.length?e.charCodeAt(t):0}function UP(e,t){return Hc(e,0,e.length,t)}function VP(e,t){for(let r=0;r<t.length;r++)if(UP(e,t[r]))return!0;return!1}function QP(e,t){return t!==e.length-2?!1:lr(e,t)===92&&pt(lr(e,t+1))}function yh(e,t,r){if(e&&e.type==="Range"){let n=Number(r!==void 0&&r!==t.length?t.substr(0,r):t);if(isNaN(n)||e.min!==null&&n<e.min&&typeof e.min!="string"||e.max!==null&&n>e.max&&typeof e.max!="string")return!0}return!1}function M9(e,t){let r=0,n=[],i=0;e:do{switch(e.type){case 24:case 22:case 20:if(e.type!==r)break e;if(r=n.pop(),n.length===0){i++;break e}break;case 2:case 21:case 19:case 23:n.push(r),r=wh.get(e.type);break}i++}while(e=t(i));return i}function Yt(e,t){return function(r,n,i){return r===null?0:r.type===2&&VP(r.value,t)?M9(r,n):e(r,n,i)}}function Re(e){return function(t){return t===null||t.type!==e?0:1}}function R9(e){if(e===null||e.type!==1)return 0;let t=e.value.toLowerCase();return VP(t,vh)||UP(t,"default")?0:1}function YP(e){return e===null||e.type!==1||lr(e.value,0)!==45||lr(e.value,1)!==45?0:1}function $9(e){return!YP(e)||e.value==="--"?0:1}function B9(e){if(e===null||e.type!==4)return 0;let t=e.value.length;if(t!==4&&t!==5&&t!==7&&t!==9)return 0;for(let r=1;r<t;r++)if(!en(lr(e.value,r)))return 0;return 1}function q9(e){return e===null||e.type!==4||!Kp(lr(e.value,1),lr(e.value,2),lr(e.value,3))?0:1}function W9(e,t){if(!e)return 0;let r=0,n=[],i=0;e:do{switch(e.type){case 6:case 8:break e;case 24:case 22:case 20:if(e.type!==r)break e;r=n.pop();break;case 17:if(r===0)break e;break;case 9:if(r===0&&e.value==="!")break e;break;case 2:case 21:case 19:case 23:n.push(r),r=wh.get(e.type);break}i++}while(e=t(i));return i}function _9(e,t){if(!e)return 0;let r=0,n=[],i=0;e:do{switch(e.type){case 6:case 8:break e;case 24:case 22:case 20:if(e.type!==r)break e;r=n.pop();break;case 2:case 21:case 19:case 23:n.push(r),r=wh.get(e.type);break}i++}while(e=t(i));return i}function Mr(e){return e&&(e=new Set(e)),function(t,r,n){if(t===null||t.type!==12)return 0;let i=fh(t.value,0);if(e!==null){let o=t.value.indexOf("\\",i),a=o===-1||!QP(t.value,o)?t.value.substr(i):t.value.substring(i,o);if(e.has(a.toLowerCase())===!1)return 0}return yh(n,t.value,i)?0:1}}function U9(e,t,r){return e===null||e.type!==11||yh(r,e.value,e.value.length-1)?0:1}function GP(e){return typeof e!="function"&&(e=function(){return 0}),function(t,r,n){return t!==null&&t.type===10&&Number(t.value)===0?1:e(t,r,n)}}function V9(e,t,r){if(e===null)return 0;let n=fh(e.value,0);return n!==e.value.length&&!QP(e.value,n)||yh(r,e.value,n)?0:1}function Q9(e,t,r){if(e===null||e.type!==10)return 0;let n=lr(e.value,0)===43||lr(e.value,0)===45?1:0;for(;n<e.value.length;n++)if(!pt(lr(e.value,n)))return 0;return yh(r,e.value,n)?0:1}function Y9(e){let{angle:t,decibel:r,frequency:n,flex:i,length:o,resolution:a,semitones:s,time:l}=e||{};return{dimension:Yt(Mr(null),yr),angle:Yt(Mr(t),yr),decibel:Yt(Mr(r),yr),frequency:Yt(Mr(n),yr),flex:Yt(Mr(i),yr),length:Yt(GP(Mr(o)),yr),resolution:Yt(Mr(a),yr),semitones:Yt(Mr(s),yr),time:Yt(Mr(l),yr)}}function G9(e){let t=new Set;for(let r of XP)if(Array.isArray(e[r]))for(let n of e[r])t.add(n.toLowerCase());return function(r){return r===null?0:r.type===9&&r.value==="%"||r.type===1&&t.has(r.value.toLowerCase())?1:0}}function K9(e){return{...KP,...HP,...Y9(e),"attr-unit":G9(e)}}var gp,bp,vp,y0,w0,k0,yp,wp,Qf,x0,yr,wh,KP,HP,XP,H9=y(()=>{ak(),T9(),F9(),mr(),gp=["calc(","-moz-calc(","-webkit-calc("],bp=["min(","max(","clamp("],vp=["round(","mod(","rem("],y0=["sin(","cos(","tan("],w0=["asin(","acos(","atan(","atan2("],k0=["pow(","sqrt(","log(","exp(","sign("],yp=["hypot("],wp=["abs("],Qf=[...gp,...bp,...vp,...y0,...k0,...yp,...wp],x0=[...gp,...bp,...vp,...yp,...wp],yr=[...gp,...bp,...vp,...w0,...yp,...wp],wh=new Map([[2,22],[21,22],[19,20],[23,24]]),KP={"ident-token":Re(1),"function-token":Re(2),"at-keyword-token":Re(3),"hash-token":Re(4),"string-token":Re(5),"bad-string-token":Re(6),"url-token":Re(7),"bad-url-token":Re(8),"delim-token":Re(9),"number-token":Re(10),"percentage-token":Re(11),"dimension-token":Re(12),"whitespace-token":Re(13),"CDO-token":Re(14),"CDC-token":Re(15),"colon-token":Re(16),"semicolon-token":Re(17),"comma-token":Re(18),"[-token":Re(19),"]-token":Re(20),"(-token":Re(21),")-token":Re(22),"{-token":Re(23),"}-token":Re(24)},HP={string:Re(5),ident:Re(1),percentage:Yt(U9,x0),zero:GP(),number:Yt(V9,Qf),integer:Yt(Q9,Qf),"custom-ident":R9,"dashed-ident":YP,"custom-property-name":$9,"hex-color":B9,"id-selector":q9,"an-plus-b":j9,urange:L9,"declaration-value":W9,"any-value":_9},XP=["length","angle","time","frequency","resolution","flex","decibel","semitones"]}),ly={};A(ly,{angle:()=>ZP,decibel:()=>iI,flex:()=>nI,frequency:()=>tI,length:()=>JP,resolution:()=>rI,semitones:()=>oI,time:()=>eI});var JP,ZP,eI,tI,rI,nI,iI,oI,X9=y(()=>{JP=["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],ZP=["deg","grad","rad","turn"],eI=["s","ms"],tI=["hz","khz"],rI=["dpi","dpcm","dppx","x"],nI=["fr"],iI=["db"],oI=["st"]});function J9(e,t,r){return Object.assign(Tm("SyntaxError",e),{input:t,offset:r,rawMessage:e,message:e+`
32
+ --------`+new Array(i.mismatchOffset+1).join("-")+"^",Object.assign(i,l),i.loc={source:r&&r.loc&&r.loc.source||"<unknown>",start:l,end:u},i}});function tk(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===Hc&&e.charCodeAt(t+1)===Hc}function MP(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===Hc&&e.charCodeAt(t+1)!==Hc){let r=e.indexOf("-",t+2);if(r!==-1)return e.substring(t,r+1)}return""}function N9(e){if(yc.has(e))return yc.get(e);let t=e.toLowerCase(),r=yc.get(t);if(r===void 0){let n=tk(t,0),i=n?"":MP(t,0);r=Object.freeze({basename:t.substr(i.length),name:t,prefix:i,vendor:i,custom:n})}return yc.set(e,r),r}function E9(e){if(hn.has(e))return hn.get(e);let t=e,r=e[0];r==="/"?r=e[1]==="/"?"//":"/":r!=="_"&&r!=="*"&&r!=="$"&&r!=="#"&&r!=="+"&&r!=="&"&&(r="");let n=tk(t,r.length);if(!n&&(t=t.toLowerCase(),hn.has(t))){let s=hn.get(t);return hn.set(e,s),s}let i=n?"":MP(t,r.length),o=t.substr(0,r.length+i.length),a=Object.freeze({basename:t.substr(o.length),name:t.substr(r.length),hack:r,vendor:i,prefix:o,custom:n});return hn.set(e,a),a}var yc,hn,Hc,Xp,ny,rk=y(()=>{yc=new Map,hn=new Map,Hc=45,Xp=N9,ny=E9}),bh,nk=y(()=>{bh=["initial","inherit","unset","revert","revert-layer"]});function iy(e,t){return e!==null&&e.type===9&&e.value.charCodeAt(0)===t}function Nc(e,t,r){for(;e!==null&&(e.type===13||e.type===25);)e=r(++t);return t}function Qr(e,t,r,n){if(!e)return 0;let i=e.value.charCodeAt(t);if(i===Ui||i===tr){if(r)return 0;t++}for(;t<e.value.length;t++)if(!pt(e.value.charCodeAt(t)))return 0;return n+1}function Uf(e,t,r){let n=!1,i=Nc(e,t,r);if(e=r(i),e===null)return t;if(e.type!==10)if(iy(e,Ui)||iy(e,tr)){if(n=!0,i=Nc(r(++i),i,r),e=r(i),e===null||e.type!==10)return 0}else return t;if(!n){let o=e.value.charCodeAt(0);if(o!==Ui&&o!==tr)return 0}return Qr(e,n?0:1,n,i)}function P9(e,t){let r=0;if(!e)return 0;if(e.type===10)return Qr(e,0,RP,r);if(e.type===1&&e.value.charCodeAt(0)===tr){if(!Li(e.value,1,em))return 0;switch(e.value.length){case 2:return Uf(t(++r),r,t);case 3:return e.value.charCodeAt(2)!==tr?0:(r=Nc(t(++r),r,t),e=t(r),Qr(e,0,fn,r));default:return e.value.charCodeAt(2)!==tr?0:Qr(e,3,fn,r)}}else if(e.type===1||iy(e,Ui)&&t(r+1).type===1){if(e.type!==1&&(e=t(++r)),e===null||!Li(e.value,0,em))return 0;switch(e.value.length){case 1:return Uf(t(++r),r,t);case 2:return e.value.charCodeAt(1)!==tr?0:(r=Nc(t(++r),r,t),e=t(r),Qr(e,0,fn,r));default:return e.value.charCodeAt(1)!==tr?0:Qr(e,2,fn,r)}}else if(e.type===12){let n=e.value.charCodeAt(0),i=n===Ui||n===tr?1:0,o=i;for(;o<e.value.length&&pt(e.value.charCodeAt(o));o++);return o===i||!Li(e.value,o,em)?0:o+1===e.value.length?Uf(t(++r),r,t):e.value.charCodeAt(o+1)!==tr?0:o+2===e.value.length?(r=Nc(t(++r),r,t),e=t(r),Qr(e,0,fn,r)):Qr(e,o+2,fn,r)}return 0}var Ui,tr,em,fn,RP,j9=y(()=>{mr(),Ui=43,tr=45,em=110,fn=!0,RP=!1});function oy(e,t){return e!==null&&e.type===9&&e.value.charCodeAt(0)===t}function I9(e,t){return e.value.charCodeAt(0)===t}function wc(e,t,r){let n=0;for(let i=t;i<e.value.length;i++){let o=e.value.charCodeAt(i);if(o===ik&&r&&n!==0)return wc(e,t+n+1,!1),6;if(!en(o)||++n>6)return 0}return n}function mp(e,t,r){if(!e)return 0;for(;oy(r(t),ok);){if(++e>6)return 0;t++}return t}function O9(e,t){let r=0;if(e===null||e.type!==1||!Li(e.value,0,BP)||(e=t(++r),e===null))return 0;if(oy(e,$P))return e=t(++r),e===null?0:e.type===1?mp(wc(e,0,!0),++r,t):oy(e,ok)?mp(1,++r,t):0;if(e.type===10){let n=wc(e,1,!0);return n===0?0:(e=t(++r),e===null?r:e.type===12||e.type===10?!I9(e,ik)||!wc(e,1,!1)?0:r+1:mp(n,r,t))}return e.type===12?mp(wc(e,1,!0),++r,t):0}var $P,ik,ok,BP,T9=y(()=>{mr(),$P=43,ik=45,ok=63,BP=117});function lr(e,t){return t<e.length?e.charCodeAt(t):0}function qP(e,t){return Kc(e,0,e.length,t)}function WP(e,t){for(let r=0;r<t.length;r++)if(qP(e,t[r]))return!0;return!1}function _P(e,t){return t!==e.length-2?!1:lr(e,t)===92&&pt(lr(e,t+1))}function vh(e,t,r){if(e&&e.type==="Range"){let n=Number(r!==void 0&&r!==t.length?t.substr(0,r):t);if(isNaN(n)||e.min!==null&&n<e.min&&typeof e.min!="string"||e.max!==null&&n>e.max&&typeof e.max!="string")return!0}return!1}function D9(e,t){let r=0,n=[],i=0;e:do{switch(e.type){case 24:case 22:case 20:if(e.type!==r)break e;if(r=n.pop(),n.length===0){i++;break e}break;case 2:case 21:case 19:case 23:n.push(r),r=yh.get(e.type);break}i++}while(e=t(i));return i}function Yt(e,t){return function(r,n,i){return r===null?0:r.type===2&&WP(r.value,t)?D9(r,n):e(r,n,i)}}function Re(e){return function(t){return t===null||t.type!==e?0:1}}function L9(e){if(e===null||e.type!==1)return 0;let t=e.value.toLowerCase();return WP(t,bh)||qP(t,"default")?0:1}function UP(e){return e===null||e.type!==1||lr(e.value,0)!==45||lr(e.value,1)!==45?0:1}function F9(e){return!UP(e)||e.value==="--"?0:1}function M9(e){if(e===null||e.type!==4)return 0;let t=e.value.length;if(t!==4&&t!==5&&t!==7&&t!==9)return 0;for(let r=1;r<t;r++)if(!en(lr(e.value,r)))return 0;return 1}function R9(e){return e===null||e.type!==4||!Yp(lr(e.value,1),lr(e.value,2),lr(e.value,3))?0:1}function $9(e,t){if(!e)return 0;let r=0,n=[],i=0;e:do{switch(e.type){case 6:case 8:break e;case 24:case 22:case 20:if(e.type!==r)break e;r=n.pop();break;case 17:if(r===0)break e;break;case 9:if(r===0&&e.value==="!")break e;break;case 2:case 21:case 19:case 23:n.push(r),r=yh.get(e.type);break}i++}while(e=t(i));return i}function B9(e,t){if(!e)return 0;let r=0,n=[],i=0;e:do{switch(e.type){case 6:case 8:break e;case 24:case 22:case 20:if(e.type!==r)break e;r=n.pop();break;case 2:case 21:case 19:case 23:n.push(r),r=yh.get(e.type);break}i++}while(e=t(i));return i}function Mr(e){return e&&(e=new Set(e)),function(t,r,n){if(t===null||t.type!==12)return 0;let i=hh(t.value,0);if(e!==null){let o=t.value.indexOf("\\",i),a=o===-1||!_P(t.value,o)?t.value.substr(i):t.value.substring(i,o);if(e.has(a.toLowerCase())===!1)return 0}return vh(n,t.value,i)?0:1}}function q9(e,t,r){return e===null||e.type!==11||vh(r,e.value,e.value.length-1)?0:1}function VP(e){return typeof e!="function"&&(e=function(){return 0}),function(t,r,n){return t!==null&&t.type===10&&Number(t.value)===0?1:e(t,r,n)}}function W9(e,t,r){if(e===null)return 0;let n=hh(e.value,0);return n!==e.value.length&&!_P(e.value,n)||vh(r,e.value,n)?0:1}function _9(e,t,r){if(e===null||e.type!==10)return 0;let n=lr(e.value,0)===43||lr(e.value,0)===45?1:0;for(;n<e.value.length;n++)if(!pt(lr(e.value,n)))return 0;return vh(r,e.value,n)?0:1}function U9(e){let{angle:t,decibel:r,frequency:n,flex:i,length:o,resolution:a,semitones:s,time:l}=e||{};return{dimension:Yt(Mr(null),yr),angle:Yt(Mr(t),yr),decibel:Yt(Mr(r),yr),frequency:Yt(Mr(n),yr),flex:Yt(Mr(i),yr),length:Yt(VP(Mr(o)),yr),resolution:Yt(Mr(a),yr),semitones:Yt(Mr(s),yr),time:Yt(Mr(l),yr)}}function V9(e){let t=new Set;for(let r of GP)if(Array.isArray(e[r]))for(let n of e[r])t.add(n.toLowerCase());return function(r){return r===null?0:r.type===9&&r.value==="%"||r.type===1&&t.has(r.value.toLowerCase())?1:0}}function Q9(e){return{...QP,...YP,...U9(e),"attr-unit":V9(e)}}var hp,fp,gp,g0,b0,v0,bp,vp,Vf,y0,yr,yh,QP,YP,GP,Y9=y(()=>{nk(),j9(),T9(),mr(),hp=["calc(","-moz-calc(","-webkit-calc("],fp=["min(","max(","clamp("],gp=["round(","mod(","rem("],g0=["sin(","cos(","tan("],b0=["asin(","acos(","atan(","atan2("],v0=["pow(","sqrt(","log(","exp(","sign("],bp=["hypot("],vp=["abs("],Vf=[...hp,...fp,...gp,...g0,...v0,...bp,...vp],y0=[...hp,...fp,...gp,...bp,...vp],yr=[...hp,...fp,...gp,...b0,...bp,...vp],yh=new Map([[2,22],[21,22],[19,20],[23,24]]),QP={"ident-token":Re(1),"function-token":Re(2),"at-keyword-token":Re(3),"hash-token":Re(4),"string-token":Re(5),"bad-string-token":Re(6),"url-token":Re(7),"bad-url-token":Re(8),"delim-token":Re(9),"number-token":Re(10),"percentage-token":Re(11),"dimension-token":Re(12),"whitespace-token":Re(13),"CDO-token":Re(14),"CDC-token":Re(15),"colon-token":Re(16),"semicolon-token":Re(17),"comma-token":Re(18),"[-token":Re(19),"]-token":Re(20),"(-token":Re(21),")-token":Re(22),"{-token":Re(23),"}-token":Re(24)},YP={string:Re(5),ident:Re(1),percentage:Yt(q9,y0),zero:VP(),number:Yt(W9,Vf),integer:Yt(_9,Vf),"custom-ident":L9,"dashed-ident":UP,"custom-property-name":F9,"hex-color":M9,"id-selector":R9,"an-plus-b":P9,urange:O9,"declaration-value":$9,"any-value":B9},GP=["length","angle","time","frequency","resolution","flex","decibel","semitones"]}),ay={};A(ay,{angle:()=>HP,decibel:()=>tj,flex:()=>ej,frequency:()=>ZP,length:()=>KP,resolution:()=>XP,semitones:()=>rj,time:()=>JP});var KP,HP,JP,ZP,XP,ej,tj,rj,G9=y(()=>{KP=["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],HP=["deg","grad","rad","turn"],JP=["s","ms"],ZP=["hz","khz"],XP=["dpi","dpcm","dppx","x"],ej=["fr"],tj=["db"],rj=["st"]});function K9(e,t,r){return Object.assign(Om("SyntaxError",e),{input:t,offset:r,rawMessage:e,message:e+`
33
33
  `+t+`
34
- --`+new Array((r||t.length)+1).join("-")+"^"})}var Z9=y(()=>{rk()}),S0,C0,z0,A0,N0,Yf,aI,eW=y(()=>{Z9(),S0=9,C0=10,z0=12,A0=13,N0=32,Yf=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0),aI=class{constructor(e){this.str=e,this.pos=0}charCodeAt(e){return e<this.str.length?this.str.charCodeAt(e):0}charCode(){return this.charCodeAt(this.pos)}isNameCharCode(e=this.charCode()){return e<128&&Yf[e]===1}nextCharCode(){return this.charCodeAt(this.pos+1)}nextNonWsCode(e){return this.charCodeAt(this.findWsEnd(e))}skipWs(){this.pos=this.findWsEnd(this.pos)}findWsEnd(e){for(;e<this.str.length;e++){let t=this.str.charCodeAt(e);if(t!==A0&&t!==C0&&t!==z0&&t!==N0&&t!==S0)break}return e}substringToPos(e){return this.str.substring(this.pos,this.pos=e)}eat(e){this.charCode()!==e&&this.error("Expect `"+String.fromCharCode(e)+"`"),this.pos++}peek(){return this.pos<this.str.length?this.str.charAt(this.pos++):""}error(e){throw new J9(e,this.str,this.pos)}scanSpaces(){return this.substringToPos(this.findWsEnd(this.pos))}scanWord(){let e=this.pos;for(;e<this.str.length;e++){let t=this.str.charCodeAt(e);if(t>=128||Yf[t]===0)break}return this.pos===e&&this.error("Expect a keyword"),this.substringToPos(e)}scanNumber(){let e=this.pos;for(;e<this.str.length;e++){let t=this.str.charCodeAt(e);if(t<48||t>57)break}return this.pos===e&&this.error("Expect a number"),this.substringToPos(e)}scanString(){let e=this.str.indexOf("'",this.pos+1);return e===-1&&(this.pos=this.str.length,this.error("Expect an apostrophe")),this.substringToPos(e+1)}}});function E0(e){let t=null,r=null;return e.eat(td),e.skipWs(),t=e.scanNumber(e),e.skipWs(),e.charCode()===Ch?(e.pos++,e.skipWs(),e.charCode()!==Fm&&(r=e.scanNumber(e),e.skipWs())):r=t,e.eat(Fm),{min:Number(t),max:r?Number(r):0}}function tW(e){let t=null,r=!1;switch(e.charCode()){case pk:e.pos++,t={min:0,max:0};break;case Sh:e.pos++,t={min:1,max:0};break;case ed:e.pos++,t={min:0,max:1};break;case xh:e.pos++,r=!0,e.charCode()===td?t=E0(e):e.charCode()===ed?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case td:t=E0(e);break;default:return null}return{type:"Multiplier",comma:r,min:t.min,max:t.max,term:null}}function tn(e,t){let r=tW(e);return r!==null?(r.term=t,e.charCode()===xh&&e.charCodeAt(e.pos-1)===Sh||e.charCode()===ed&&e.charCodeAt(e.pos-1)===Fm?tn(e,r):r):t}function Gf(e){let t=e.peek();return t===""?null:tn(e,{type:"Token",value:t})}function rW(e){let t;return e.eat(zh),e.eat(Zc),t=e.scanWord(),e.eat(Zc),e.eat(Lm),tn(e,{type:"Property",name:t})}function nW(e){let t=null,r=null,n=1;return e.eat(Qi),e.charCode()===cy&&(e.peek(),n=-1),n==-1&&e.charCode()===py?e.peek():(t=n*Number(e.scanNumber(e)),e.isNameCharCode()&&(t+=e.scanWord())),e.skipWs(),e.eat(Ch),e.skipWs(),e.charCode()===py?e.peek():(n=1,e.charCode()===cy&&(e.peek(),n=-1),r=n*Number(e.scanNumber(e)),e.isNameCharCode()&&(r+=e.scanWord())),e.eat(Sn),{type:"Range",min:t,max:r}}function iW(e){let t,r=null;if(e.eat(zh),t=e.scanWord(),t==="boolean-expr"){e.eat(Qi);let n=kh(e,Sn);return e.eat(Sn),e.eat(Lm),tn(e,{type:"Boolean",term:n.terms.length===1?n.terms[0]:n})}return e.charCode()===ck&&e.nextCharCode()===dk&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===Qi&&(e.skipWs(),r=nW(e)),e.eat(Lm),tn(e,{type:"Type",name:t,opts:r})}function oW(e){let t=e.scanWord();return e.charCode()===ck?(e.pos++,{type:"Function",name:t}):tn(e,{type:"Keyword",name:t})}function aW(e,t){function r(i,o){return{type:"Group",terms:i,combinator:o,disallowEmpty:!1,explicit:!1}}let n;for(t=Object.keys(t).sort((i,o)=>my[i]-my[o]);t.length>0;){n=t.shift();let i=0,o=0;for(;i<e.length;i++){let a=e[i];a.type==="Combinator"&&(a.value===n?(o===-1&&(o=i-1),e.splice(i,1),i--):(o!==-1&&i-o>1&&(e.splice(o,i-o,r(e.slice(o,i),n)),i=o+1),o=-1))}o!==-1&&t.length&&e.splice(o,i-o,r(e.slice(o,i),n))}return n}function kh(e,t=-1){let r=Object.create(null),n=[],i=null,o=e.pos,a=!1;for(;e.charCode()!==t;){let s=a?kh(e,dk):lW(e);if(!s)break;if(s.type!=="Spaces"){if(a){if(s.terms.length===0){a=!1;continue}if(s.combinator===" "){for(;s.terms.length>1;)r[" "]=!0,n.push({type:"Combinator",value:" "},s.terms.shift());s=s.terms[0]}}s.type==="Combinator"?((i===null||i.type==="Combinator")&&(e.pos=o,e.error("Unexpected combinator")),r[s.value]=!0):i!==null&&i.type!=="Combinator"&&(r[" "]=!0,n.push({type:"Combinator",value:" "})),n.push(s),i=s,o=e.pos,a=s.type==="Function"}}return i!==null&&i.type==="Combinator"&&(e.pos-=o,e.error("Unexpected combinator")),{type:"Group",terms:n,combinator:aW(n,r)||" ",disallowEmpty:!1,explicit:!1}}function sW(e){let t;return e.eat(Qi),t=kh(e,Sn),e.eat(Sn),t.explicit=!0,e.charCode()===uk&&(e.pos++,t.disallowEmpty=!0),t}function lW(e){let t=e.charCode();switch(t){case Sn:break;case Qi:return tn(e,sW(e));case zh:return e.nextCharCode()===Zc?rW(e):iW(e);case dy:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===dy?2:1))};case uy:return e.pos++,e.eat(uy),{type:"Combinator",value:"&&"};case Ch:return e.pos++,{type:"Comma"};case Zc:return tn(e,{type:"String",value:e.scanString()});case pI:case lI:case uI:case dI:case cI:return{type:"Spaces",value:e.scanSpaces()};case mI:return t=e.nextCharCode(),e.isNameCharCode(t)?(e.pos++,{type:"AtKeyword",name:e.scanWord()}):Gf(e);case pk:case Sh:case ed:case xh:case uk:break;case td:if(t=e.nextCharCode(),t<48||t>57)return Gf(e);break;default:return e.isNameCharCode(t)?oW(e):Gf(e)}}function sI(e){let t=new aI(e),r=kh(t);return t.pos!==e.length&&t.error("Unexpected input"),r.terms.length===1&&r.terms[0].type==="Group"?r.terms[0]:r}var lI,uI,cI,dI,pI,uk,xh,uy,Zc,ck,dk,pk,Sh,Ch,cy,zh,Lm,ed,mI,Qi,Sn,td,dy,Fm,py,my,hI=y(()=>{eW(),lI=9,uI=10,cI=12,dI=13,pI=32,uk=33,xh=35,uy=38,Zc=39,ck=40,dk=41,pk=42,Sh=43,Ch=44,cy=45,zh=60,Lm=62,ed=63,mI=64,Qi=91,Sn=93,td=123,dy=124,Fm=125,py=8734,my={" ":1,"&&":2,"||":3,"|":4}}),uW=y(()=>{}),fI=y(()=>{hI(),uW()});function cW(e){let t=[];return gh(e,(r,n,i)=>t.push({type:r,value:e.slice(n,i),node:null})),t}function dW(e,t){return typeof e=="string"?cW(e):t.generate(e,gI)}var gI,pW=y(()=>{mr(),gI={decorator(e){let t=[],r=null;return{...e,node(n){let i=r;r=n,e.node.call(this,n),r=i},emit(n,i,o){t.push({type:i,value:n,node:o?null:r})},result(){return t}}}}});function vt(e,t,r){return t===Ne&&r===De||e===Ne&&t===Ne&&r===Ne?e:(e.type==="If"&&e.else===De&&t===Ne&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:r})}function bI(e){return e.length>2&&e.charCodeAt(e.length-2)===vI&&e.charCodeAt(e.length-1)===yI}function P0(e){return e.type==="Keyword"||e.type==="AtKeyword"||e.type==="Function"||e.type==="Type"&&bI(e.name)}function _r(e,t=" ",r=!1){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:r}}function Pc(e,t,r=new Set){if(!r.has(e))switch(r.add(e),e.type){case"If":e.match=Pc(e.match,t,r),e.then=Pc(e.then,t,r),e.else=Pc(e.else,t,r);break;case"Type":return t[e.name]||e}return e}function hy(e,t,r){switch(e){case" ":{let n=Ne;for(let i=t.length-1;i>=0;i--){let o=t[i];n=vt(o,n,De)}return n}case"|":{let n=De,i=null;for(let o=t.length-1;o>=0;o--){let a=t[o];if(P0(a)&&(i===null&&o>0&&P0(t[o-1])&&(i=Object.create(null),n=vt({type:"Enum",map:i},Ne,n)),i!==null)){let s=(bI(a.name)?a.name.slice(0,-1):a.name).toLowerCase();if(!(s in i)){i[s]=a;continue}}i=null,n=vt(a,Ne,n)}return n}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let n=De;for(let i=t.length-1;i>=0;i--){let o=t[i],a;t.length>1?a=hy(e,t.filter(function(s){return s!==o}),!1):a=Ne,n=vt(o,a,n)}return n}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let n=r?Ne:De;for(let i=t.length-1;i>=0;i--){let o=t[i],a;t.length>1?a=hy(e,t.filter(function(s){return s!==o}),!0):a=Ne,n=vt(o,a,n)}return n}}}function mW(e){let t=Ne,r=zi(e.term);if(e.max===0)r=vt(r,Ah,De),t=vt(r,null,De),t.then=vt(Ne,Ne,t),e.comma&&(t.then.else=vt({type:"Comma",syntax:e},t,De));else for(let n=e.min||1;n<=e.max;n++)e.comma&&t!==Ne&&(t=vt({type:"Comma",syntax:e},t,De)),t=vt(r,vt(Ne,Ne,t),De);if(e.min===0)t=vt(Ne,Ne,t);else for(let n=0;n<e.min-1;n++)e.comma&&t!==Ne&&(t=vt({type:"Comma",syntax:e},t,De)),t=vt(r,t,De);return t}function zi(e){if(typeof e=="function")return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=hy(e.combinator,e.terms.map(zi),!1);return e.disallowEmpty&&(t=vt(t,Ah,De)),t}case"Multiplier":return mW(e);case"Boolean":{let t=zi(e.term),r=zi(_r([_r([{type:"Keyword",name:"not"},{type:"Type",name:"!boolean-group"}]),_r([{type:"Type",name:"!boolean-group"},_r([{type:"Multiplier",comma:!1,min:0,max:0,term:_r([{type:"Keyword",name:"and"},{type:"Type",name:"!boolean-group"}])},{type:"Multiplier",comma:!1,min:0,max:0,term:_r([{type:"Keyword",name:"or"},{type:"Type",name:"!boolean-group"}])}],"|")])],"|")),n=zi(_r([{type:"Type",name:"!term"},_r([{type:"Token",value:"("},{type:"Type",name:"!self"},{type:"Token",value:")"}]),{type:"Type",name:"general-enclosed"}],"|"));return Pc(n,{"!term":t,"!self":r}),Pc(r,{"!boolean-group":n}),r}case"Type":case"Property":return{type:e.type,name:e.name,syntax:e};case"Keyword":return{type:e.type,name:e.name.toLowerCase(),syntax:e};case"AtKeyword":return{type:e.type,name:"@"+e.name.toLowerCase(),syntax:e};case"Function":return{type:e.type,name:e.name.toLowerCase()+"(",syntax:e};case"String":return e.value.length===3?{type:"Token",value:e.value.charAt(1),syntax:e}:{type:e.type,value:e.value.substr(1,e.value.length-2).replace(/\\'/g,"'"),syntax:e};case"Token":return{type:e.type,value:e.value,syntax:e};case"Comma":return{type:e.type,syntax:e};default:throw new Error("Unknown node type:",e.type)}}function kp(e,t){return typeof e=="string"&&(e=sI(e)),{type:"MatchGraph",match:zi(e),syntax:t||null,source:e}}var Ne,De,Ah,vI,yI,wI=y(()=>{hI(),Ne={type:"Match"},De={type:"Mismatch"},Ah={type:"DisallowEmpty"},vI=40,yI=41});function hW(e){let t=null,r=null,n=e;for(;n!==null;)r=n.prev,n.prev=t,t=n,n=r;return t}function Kf(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let n=t.charCodeAt(r),i=e.charCodeAt(r);if(i>=65&&i<=90&&(i=i|32),i!==n)return!1}return!0}function fW(e){return e.type!==9?!1:e.value!=="?"}function I0(e){return e===null?!0:e.type===18||e.type===2||e.type===21||e.type===19||e.type===23||fW(e)}function O0(e){return e===null?!0:e.type===22||e.type===20||e.type===24||e.type===9&&e.value==="/"}function gW(e,t,r){function n(){do f++,g=f<e.length?e[f]:null;while(g!==null&&(g.type===13||g.type===25))}function i(k){let S=f+k;return S<e.length?e[S]:null}function o(k,S){return{nextState:k,matchStack:w,syntaxStack:d,thenStack:p,tokenIndex:f,prev:S}}function a(k){p={nextState:k,matchStack:w,syntaxStack:d,prev:p}}function s(k){m=o(k,m)}function l(){w={type:xI,syntax:t.syntax,token:g,prev:w},n(),v=null,f>x&&(x=f)}function u(){d={syntax:t.syntax,opts:t.syntax.opts||d!==null&&d.opts||null,prev:d},w={type:Mm,syntax:t.syntax,token:w.token,prev:w}}function c(){w.type===Mm?w=w.prev:w={type:mk,syntax:d.syntax,token:w.token,prev:w},d=d.prev}let d=null,p=null,m=null,v=null,h=0,b=null,g=null,f=-1,x=0,w={type:kI,syntax:null,token:null,prev:null};for(n();b===null&&++h<by;)switch(t.type){case"Match":if(p===null){if(g!==null&&(f!==e.length-1||g.value!=="\\0"&&g.value!=="\\9")){t=De;break}b=gy;break}if(t=p.nextState,t===Ah)if(p.matchStack===w){t=De;break}else t=Ne;for(;p.syntaxStack!==d;)c();p=p.prev;break;case"Mismatch":if(v!==null&&v!==!1)(m===null||f>m.tokenIndex)&&(m=v,v=!1);else if(m===null){b=SI;break}t=m.nextState,p=m.thenStack,d=m.syntaxStack,w=m.matchStack,f=m.tokenIndex,g=f<e.length?e[f]:null,m=m.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==De&&s(t.else),t.then!==Ne&&a(t.then),t=t.match;break;case"MatchOnce":t={type:"MatchOnceBuffer",syntax:t,index:0,mask:0};break;case"MatchOnceBuffer":{let E=t.syntax.terms;if(t.index===E.length){if(t.mask===0||t.syntax.all){t=De;break}t=Ne;break}if(t.mask===(1<<E.length)-1){t=Ne;break}for(;t.index<E.length;t.index++){let C=1<<t.index;if((t.mask&C)===0){s(t),a({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|C}),t=E[t.index++];break}}break}case"AddMatchOnce":t={type:"MatchOnceBuffer",syntax:t.syntax,index:0,mask:t.mask};break;case"Enum":if(g!==null){let E=g.value.toLowerCase();if(E.indexOf("\\")!==-1&&(E=E.replace(/\\[09].*$/,"")),fy.call(t.map,E)){t=t.map[E];break}}t=De;break;case"Generic":{let E=d!==null?d.opts:null,C=f+Math.floor(t.fn(g,i,E));if(!isNaN(C)&&C>f){for(;f<C;)l();t=Ne}else t=De;break}case"Type":case"Property":{let E=t.type==="Type"?"types":"properties",C=fy.call(r,E)?r[E][t.name]:null;if(!C||!C.match)throw new Error("Bad syntax reference: "+(t.type==="Type"?"<"+t.name+">":"<'"+t.name+"'>"));if(v!==!1&&g!==null&&t.type==="Type"&&(t.name==="custom-ident"&&g.type===1||t.name==="length"&&g.value==="0")){v===null&&(v=o(t,m)),t=De;break}u(),t=C.matchRef||C.match;break}case"Keyword":{let E=t.name;if(g!==null){let C=g.value;if(C.indexOf("\\")!==-1&&(C=C.replace(/\\[09].*$/,"")),Kf(C,E)){l(),t=Ne;break}}t=De;break}case"AtKeyword":case"Function":if(g!==null&&Kf(g.value,t.name)){l(),t=Ne;break}t=De;break;case"Token":if(g!==null&&g.value===t.value){l(),t=Ne;break}t=De;break;case"Comma":g!==null&&g.type===18?I0(w.token)?t=De:(l(),t=O0(g)?De:Ne):t=I0(w.token)||O0(g)?Ne:De;break;case"String":let k="",S=f;for(;S<e.length&&k.length<t.value.length;S++)k+=e[S].value;if(Kf(k,t.value)){for(;f<S;)l();t=Ne}else t=De;break;default:throw new Error("Unknown node type: "+t.type)}switch(zI+=h,b){case null:console.warn("[csstree-match] BREAK after "+by+" iterations"),b=CI,w=null;break;case gy:for(;d!==null;)c();break;default:w=null}return{tokens:e,reason:b,iterations:h,match:w,longestMatch:x}}function j0(e,t,r){let n=gW(e,t,r||{});if(n.match===null)return n;let i=n.match,o=n.match={syntax:t.syntax||null,match:[]},a=[o];for(i=hW(i).prev;i!==null;){switch(i.type){case Mm:o.match.push(o={syntax:i.syntax,match:[]}),a.push(o);break;case mk:a.pop(),o=a[a.length-1];break;default:o.match.push({syntax:i.syntax||null,token:i.token.value,node:i.token.node})}i=i.prev}return n}var fy,kI,xI,Mm,mk,gy,SI,CI,by,zI,bW=y(()=>{wI(),{hasOwnProperty:fy}=Object.prototype,kI=0,xI=1,Mm=2,mk=3,gy="Match",SI="Mismatch",CI="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",by=15e3,zI=0}),AI={};A(AI,{getTrace:()=>NI,isKeyword:()=>wW,isProperty:()=>yW,isType:()=>vW});function NI(e){function t(i){return i===null?!1:i.type==="Type"||i.type==="Property"||i.type==="Keyword"}function r(i){if(Array.isArray(i.match)){for(let o=0;o<i.match.length;o++)if(r(i.match[o]))return t(i.syntax)&&n.unshift(i.syntax),!0}else if(i.node===e)return n=t(i.syntax)?[i.syntax]:[],!0;return!1}let n=null;return this.matched!==null&&r(this.matched),n}function vW(e,t){return hk(this,e,r=>r.type==="Type"&&r.name===t)}function yW(e,t){return hk(this,e,r=>r.type==="Property"&&r.name===t)}function wW(e){return hk(this,e,t=>t.type==="Keyword")}function hk(e,t,r){let n=NI.call(e,t);return n===null?!1:n.some(r)}var kW=y(()=>{});function Hf(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}function T0(e){return!!e&&Hf(e.offset)&&Hf(e.line)&&Hf(e.column)}function xW(e,t){return function(r,n){if(!r||r.constructor!==Object)return n(r,"Type of node should be an Object");for(let i in r){let o=!0;if(Fi.call(r,i)!==!1){if(i==="type")r.type!==e&&n(r,"Wrong node type `"+r.type+"`, expected `"+e+"`");else if(i==="loc"){if(r.loc===null)continue;if(r.loc&&r.loc.constructor===Object)if(typeof r.loc.source!="string")i+=".source";else if(!T0(r.loc.start))i+=".start";else if(!T0(r.loc.end))i+=".end";else continue;o=!1}else if(t.hasOwnProperty(i)){o=!1;for(let a=0;!o&&a<t[i].length;a++){let s=t[i][a];switch(s){case String:o=typeof r[i]=="string";break;case Boolean:o=typeof r[i]=="boolean";break;case null:o=r[i]===null;break;default:typeof s=="string"?o=r[i]&&r[i].type===s:Array.isArray(s)&&(o=r[i]instanceof Xc)}}}else n(r,"Unknown field `"+i+"` for "+e+" node type");o||n(r,"Bad value for `"+e+"."+i+"`")}}for(let i in t)Fi.call(t,i)&&Fi.call(r,i)===!1&&n(r,"Field `"+e+"."+i+"` is missed")}}function EI(e,t){let r=[];for(let n=0;n<e.length;n++){let i=e[n];if(i===String||i===Boolean)r.push(i.name.toLowerCase());else if(i===null)r.push("null");else if(typeof i=="string")r.push(i);else if(Array.isArray(i))r.push("List<"+(EI(i,t)||"any")+">");else throw new Error("Wrong value `"+i+"` in `"+t+"` structure definition")}return r.join(" | ")}function SW(e,t){let r=t.structure,n={type:String,loc:!0},i={type:'"'+e+'"'};for(let o in r){if(Fi.call(r,o)===!1)continue;let a=n[o]=Array.isArray(r[o])?r[o].slice():[r[o]];i[o]=EI(a,e+"."+o)}return{docs:i,check:xW(e,n)}}function CW(e){let t={};if(e.node){for(let r in e.node)if(Fi.call(e.node,r)){let n=e.node[r];if(n.structure)t[r]=SW(r,n);else throw new Error("Missed `structure` field in `"+r+"` node type definition")}}return t}var Fi,zW=y(()=>{tk(),{hasOwnProperty:Fi}=Object.prototype});function AW(e){for(let t=0;t<e.length;t++)if(e[t].value.toLowerCase()==="var(")return!0;return!1}function NW(e){let t=e.terms[0];return e.explicit===!1&&e.terms.length===1&&t.type==="Multiplier"&&t.comma===!0}function Gr(e,t,r){return{matched:e,iterations:r,error:t,...AI}}function xp(e,t,r,n){let i=dW(r,e.syntax),o;return AW(i)?Gr(null,new Error("Matching for a tree with var() is not supported")):(n&&(o=j0(i,e.cssWideKeywordsSyntax,e)),(!n||!o.match)&&(o=j0(i,t.match,e),!o.match)?Gr(null,new $P(o.reason,t.syntax,r,o),o.iterations):Gr(o.match,null,o.iterations))}var vy,EW=y(()=>{P9(),ok(),ak(),H9(),X9(),fI(),pW(),wI(),bW(),kW(),zW(),vy=class{constructor(e,t,r){if(this.cssWideKeywords=vh,this.syntax=t,this.generic=!1,this.units={...ly},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=r||CW(e),e){if(e.cssWideKeywords&&(this.cssWideKeywords=e.cssWideKeywords),e.units)for(let n of Object.keys(ly))Array.isArray(e.units[n])&&(this.units[n]=e.units[n]);if(e.types)for(let[n,i]of Object.entries(e.types))this.addType_(n,i);if(e.generic){this.generic=!0;for(let[n,i]of Object.entries(K9(this.units)))this.addType_(n,i)}if(e.atrules)for(let[n,i]of Object.entries(e.atrules))this.addAtrule_(n,i);if(e.properties)for(let[n,i]of Object.entries(e.properties))this.addProperty_(n,i)}this.cssWideKeywordsSyntax=kp(this.cssWideKeywords.join(" | "))}createDescriptor(e,t,r,n=null){let i={type:t,name:r},o={type:t,name:r,parent:n,serializable:typeof e=="string"||e&&typeof e.type=="string",syntax:null,match:null,matchRef:null};return typeof e=="function"?o.match=kp(e,i):(typeof e=="string"?Object.defineProperty(o,"syntax",{get(){return Object.defineProperty(o,"syntax",{value:sI(e)}),o.syntax}}):o.syntax=e,Object.defineProperty(o,"match",{get(){return Object.defineProperty(o,"match",{value:kp(o.syntax,i)}),o.match}}),t==="Property"&&Object.defineProperty(o,"matchRef",{get(){let a=o.syntax,s=NW(a)?kp({...a,terms:[a.terms[0].term]},i):null;return Object.defineProperty(o,"matchRef",{value:s}),s}})),o}addAtrule_(e,t){t&&(this.atrules[e]={type:"Atrule",name:e,prelude:t.prelude?this.createDescriptor(t.prelude,"AtrulePrelude",e):null,descriptors:t.descriptors?Object.keys(t.descriptors).reduce((r,n)=>(r[n]=this.createDescriptor(t.descriptors[n],"AtruleDescriptor",n,e),r),Object.create(null)):null})}addProperty_(e,t){t&&(this.properties[e]=this.createDescriptor(t,"Property",e))}addType_(e,t){t&&(this.types[e]=this.createDescriptor(t,"Type",e))}checkAtruleName(e){if(!this.getAtrule(e))return new em("Unknown at-rule","@"+e)}checkAtrulePrelude(e,t){let r=this.checkAtruleName(e);if(r)return r;let n=this.getAtrule(e);if(!n.prelude&&t)return new SyntaxError("At-rule `@"+e+"` should not contain a prelude");if(n.prelude&&!t&&!xp(this,n.prelude,"",!1).matched)return new SyntaxError("At-rule `@"+e+"` should contain a prelude")}checkAtruleDescriptorName(e,t){let r=this.checkAtruleName(e);if(r)return r;let n=this.getAtrule(e),i=tm(t);if(!n.descriptors)return new SyntaxError("At-rule `@"+e+"` has no known descriptors");if(!n.descriptors[i.name]&&!n.descriptors[i.basename])return new em("Unknown at-rule descriptor",t)}checkPropertyName(e){if(!this.getProperty(e))return new em("Unknown property",e)}matchAtrulePrelude(e,t){let r=this.checkAtrulePrelude(e,t);if(r)return Gr(null,r);let n=this.getAtrule(e);return n.prelude?xp(this,n.prelude,t||"",!1):Gr(null,null)}matchAtruleDescriptor(e,t,r){let n=this.checkAtruleDescriptorName(e,t);if(n)return Gr(null,n);let i=this.getAtrule(e),o=tm(t);return xp(this,i.descriptors[o.name]||i.descriptors[o.basename],r,!1)}matchProperty(e,t){if(oy(e).custom)return Gr(null,new Error("Lexer matching doesn't applicable for custom properties"));let r=this.checkPropertyName(e);return r?Gr(null,r):xp(this,this.getProperty(e),t,!0)}getAtrule(e,t=!0){let r=tm(e);return(r.vendor&&t?this.atrules[r.name]||this.atrules[r.basename]:this.atrules[r.name])||null}getProperty(e,t=!0){let r=oy(e);return(r.vendor&&t?this.properties[r.name]||this.properties[r.basename]:this.properties[r.name])||null}}});function Xf(e,t){return typeof t=="string"&&/^\s*\|/.test(t)?typeof e=="string"?e+t:t.replace(/^\s*\|\s*/,""):t||null}function PW(e,t){let r=Object.create(null);for(let n of Object.keys(e))t.includes(n)&&(r[n]=e[n]);return r}function Jf(e,t,r){let n={...e};for(let[i,o]of Object.entries(t))n[i]={...n[i],...r?PW(o,r):o};return n}function yy(e,t){let r={...e};for(let[n,i]of Object.entries(t))switch(n){case"generic":r[n]=!!i;break;case"cssWideKeywords":r[n]=e[n]?[...e[n],...i]:i||[];break;case"units":r[n]={...e[n]};for(let[o,a]of Object.entries(i))r[n][o]=Array.isArray(a)?a:[];break;case"atrules":r[n]={...e[n]};for(let[o,a]of Object.entries(i)){let s=r[n][o]||{},l=r[n][o]={prelude:s.prelude||null,descriptors:{...s.descriptors}};if(a){l.prelude=a.prelude?Xf(l.prelude,a.prelude):l.prelude||null;for(let[u,c]of Object.entries(a.descriptors||{}))l.descriptors[u]=c?Xf(l.descriptors[u],c):null;Object.keys(l.descriptors).length||(l.descriptors=null)}}break;case"types":case"properties":r[n]={...e[n]};for(let[o,a]of Object.entries(i))r[n][o]=Xf(r[n][o],a);break;case"parseContext":r[n]={...e[n],...i};break;case"scope":case"features":r[n]=Jf(e[n],i);break;case"atrule":case"pseudo":r[n]=Jf(e[n],i,["parse"]);break;case"node":r[n]=Jf(e[n],i,["name","structure","parse","generate","walkContext"]);break}return r}var IW=y(()=>{});function PI(e){let t=c9(e),r=w9(e),n=f9(e),{fromPlainObject:i,toPlainObject:o}=RP(r),a={lexer:null,createLexer:s=>new vy(s,a,a.lexer.structure),tokenize:gh,parse:t,generate:n,walk:r,find:r.find,findLast:r.findLast,findAll:r.findAll,fromPlainObject:i,toPlainObject:o,fork(s){let l=yy({},e);return PI(typeof s=="function"?s(l):yy(l,s))}};return a.lexer=new vy({generic:e.generic,cssWideKeywords:e.cssWideKeywords,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},a),a}var II,OW=y(()=>{mr(),d9(),g9(),b9(),k9(),EW(),IW(),II=e=>PI(yy({},e))}),OI,jW=y(()=>{OI={generic:!0,cssWideKeywords:["initial","inherit","unset","revert","revert-layer"],units:{angle:["deg","grad","rad","turn"],decibel:["db"],flex:["fr"],frequency:["hz","khz"],length:["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],resolution:["dpi","dpcm","dppx","x"],semitones:["st"],time:["s","ms"]},types:{"abs()":"abs( <calc-sum> )","absolute-size":"xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large","acos()":"acos( <calc-sum> )","alpha-value":"<number>|<percentage>","an+b":"odd|even|<integer>|<n-dimension>|'+'? † n|-n|<ndashdigit-dimension>|'+'? † <ndashdigit-ident>|<dashndashdigit-ident>|<n-dimension> <signed-integer>|'+'? † n <signed-integer>|-n <signed-integer>|<ndash-dimension> <signless-integer>|'+'? † n- <signless-integer>|-n- <signless-integer>|<n-dimension> ['+'|'-'] <signless-integer>|'+'? † n ['+'|'-'] <signless-integer>|-n ['+'|'-'] <signless-integer>","anchor()":"anchor( <anchor-name>?&&<anchor-side> , <length-percentage>? )","anchor-name":"<dashed-ident>","anchor-side":"inside|outside|top|left|right|bottom|start|end|self-start|self-end|<percentage>|center","anchor-size":"width|height|block|inline|self-block|self-inline","anchor-size()":"anchor-size( [<anchor-name>||<anchor-size>]? , <length-percentage>? )","angle-percentage":"<angle>|<percentage>","angular-color-hint":"<angle-percentage>|<zero>","angular-color-stop":"<color> <color-stop-angle>?","angular-color-stop-list":"<angular-color-stop> , [<angular-color-hint>? , <angular-color-stop>]#?","animateable-feature":"scroll-position|contents|<custom-ident>","animation-action":"none|play|play-once|play-forwards|play-backwards|pause|reset|replay","asin()":"asin( <calc-sum> )","atan()":"atan( <calc-sum> )","atan2()":"atan2( <calc-sum> , <calc-sum> )",attachment:"scroll|fixed|local","attr()":"attr( <attr-name> <attr-type>? , <declaration-value>? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attr-type":"type( <syntax> )|raw-string|number|<attr-unit>","attribute-selector":"'[' <wq-name> ']'|'[' <wq-name> <attr-matcher> [<string-token>|<ident-token>] <attr-modifier>? ']'","auto-repeat":"repeat( [auto-fill|auto-fit] , [<line-names>? <fixed-size>]+ <line-names>? )","auto-track-list":"[<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>? <auto-repeat> [<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>?",axis:"block|inline|x|y","baseline-position":"[first|last]? baseline","basic-shape":"<inset()>|<xywh()>|<rect()>|<circle()>|<ellipse()>|<polygon()>|<path()>","basic-shape-rect":"<inset()>|<rect()>|<xywh()>","bg-clip":"<visual-box>|border-area|text","bg-image":"<image>|none","bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<visual-box>||<visual-box>","bg-position":"[[left|center|right|top|bottom|<length-percentage>]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]|[center|[left|right] <length-percentage>?]&&[center|[top|bottom] <length-percentage>?]]","bg-size":"[<length-percentage [0,∞]>|auto]{1,2}|cover|contain","blend-mode":"normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity","blur()":"blur( <length>? )","brightness()":"brightness( [<number>|<percentage>]? )","calc()":"calc( <calc-sum> )","calc-constant":"e|pi|infinity|-infinity|NaN","calc-product":"<calc-value> ['*' <calc-value>|'/' <number>]*","calc-size()":"calc-size( <calc-size-basis> , <calc-sum> )","calc-size-basis":"<intrinsic-size-keyword>|<calc-size()>|any|<calc-sum>","calc-sum":"<calc-product> [['+'|'-'] <calc-product>]*","calc-value":"<number>|<dimension>|<percentage>|<calc-constant>|( <calc-sum> )","cf-final-image":"<image>|<color>","cf-mixing-image":"<percentage>?&&<image>","circle()":"circle( <radial-size>? [at <position>]? )","clamp()":"clamp( <calc-sum>#{3} )","class-selector":"'.' <ident-token>","clip-source":"<url>",color:"<color-base>|currentColor|<system-color>|<device-cmyk()>|<light-dark()>|<-non-standard-color>","color()":"color( <colorspace-params> [/ [<alpha-value>|none]]? )","color-base":"<hex-color>|<color-function>|<named-color>|<color-mix()>|transparent","color-function":"<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<oklab()>|<oklch()>|<color()>","color-interpolation-method":"in [<rectangular-color-space>|<polar-color-space> <hue-interpolation-method>?|<custom-color-space>]","color-mix()":"color-mix( <color-interpolation-method> , [<color>&&<percentage [0,100]>?]#{2} )","color-stop":"<color-stop-length>|<color-stop-angle>","color-stop-angle":"[<angle-percentage>|<zero>]{1,2}","color-stop-length":"<length-percentage>{1,2}","color-stop-list":"<linear-color-stop> , [<linear-color-hint>? , <linear-color-stop>]#?","colorspace-params":"[<predefined-rgb-params>|<xyz-params>]",combinator:"'>'|'+'|'~'|['|' '|']","common-lig-values":"[common-ligatures|no-common-ligatures]","compat-auto":"searchfield|textarea|checkbox|radio|menulist|listbox|meter|progress-bar|button","compat-special":"textfield|menulist-button","complex-selector":"<complex-selector-unit> [<combinator>? <complex-selector-unit>]*","complex-selector-list":"<complex-selector>#","composite-style":"clear|copy|source-over|source-in|source-out|source-atop|destination-over|destination-in|destination-out|destination-atop|xor","compositing-operator":"add|subtract|intersect|exclude","compound-selector":"[<type-selector>? <subclass-selector>*]!","compound-selector-list":"<compound-selector>#","conic-gradient()":"conic-gradient( [<conic-gradient-syntax>] )","conic-gradient-syntax":"[[[from [<angle>|<zero>]]? [at <position>]?]||<color-interpolation-method>]? , <angular-color-stop-list>","container-condition":"not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]","container-name":"<custom-ident>","container-query":"not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]","content-distribution":"space-between|space-around|space-evenly|stretch","content-list":"[<string>|contents|<image>|<counter>|<quote>|<target>|<leader()>|<attr()>]+","content-position":"center|start|end|flex-start|flex-end","content-replacement":"<image>","contextual-alt-values":"[contextual|no-contextual]","contrast()":"contrast( [<number>|<percentage>]? )","coord-box":"content-box|padding-box|border-box|fill-box|stroke-box|view-box","corner-shape-value":"round|scoop|bevel|notch|square|squircle|<superellipse()>","cos()":"cos( <calc-sum> )",counter:"<counter()>|<counters()>","counter()":"counter( <counter-name> , <counter-style>? )","counter-name":"<custom-ident>","counter-style":"<counter-style-name>|symbols( )","counter-style-name":"<custom-ident>","counters()":"counters( <counter-name> , <string> , <counter-style>? )","cross-fade()":"cross-fade( <cf-mixing-image> , <cf-final-image>? )","cubic-bezier()":"cubic-bezier( [<number [0,1]> , <number>]#{2} )","cubic-bezier-easing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )","cursor-predefined":"auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing","custom-color-space":"<dashed-ident>","custom-params":"<dashed-ident> [<number>|<percentage>|none]+",dasharray:"[[<length-percentage>|<number>]+]#","dashndashdigit-ident":"<ident-token>","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonHighlight|ButtonShadow|CaptionText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText","discretionary-lig-values":"[discretionary-ligatures|no-discretionary-ligatures]","display-box":"contents|none","display-inside":"flow|flow-root|table|flex|grid|ruby","display-internal":"table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption|ruby-base|ruby-text|ruby-base-container|ruby-text-container","display-legacy":"inline-block|inline-list-item|inline-table|inline-flex|inline-grid","display-listitem":"<display-outside>?&&[flow|flow-root]?&&list-item","display-outside":"block|inline|run-in","drop-shadow()":"drop-shadow( [<color>?&&<length>{2,3}] )","dynamic-range-limit-mix()":"dynamic-range-limit-mix( [<'dynamic-range-limit'>&&<percentage [0,100]>]#{2,} )","easing-function":"<linear-easing-function>|<cubic-bezier-easing-function>|<step-easing-function>","east-asian-variant-values":"[jis78|jis83|jis90|jis04|simplified|traditional]","east-asian-width-values":"[full-width|proportional-width]","element()":"element( <custom-ident> , [first|start|last|first-except]? )|element( <id-selector> )","ellipse()":"ellipse( <radial-size>? [at <position>]? )","env()":"env( <custom-ident> , <declaration-value>? )","exp()":"exp( <calc-sum> )","explicit-track-list":"[<line-names>? <track-size>]+ <line-names>?","family-name":"<string>|<custom-ident>+","feature-tag-value":"<string> [<integer>|on|off]?","feature-type":"@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation","feature-value-block":"<feature-type> '{' <feature-value-declaration-list> '}'","feature-value-block-list":"<feature-value-block>+","feature-value-declaration":"<custom-ident> : <integer>+ ;","feature-value-declaration-list":"<feature-value-declaration>","feature-value-name":"<custom-ident>","filter-function":"<blur()>|<brightness()>|<contrast()>|<drop-shadow()>|<grayscale()>|<hue-rotate()>|<invert()>|<opacity()>|<saturate()>|<sepia()>","filter-value-list":"[<filter-function>|<url>]+","final-bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<visual-box>||<visual-box>||<'background-color'>","fit-content()":"fit-content( <length-percentage [0,∞]> )","fixed-breadth":"<length-percentage>","fixed-repeat":"repeat( [<integer [1,∞]>] , [<line-names>? <fixed-size>]+ <line-names>? )","fixed-size":"<fixed-breadth>|minmax( <fixed-breadth> , <track-breadth> )|minmax( <inflexible-breadth> , <fixed-breadth> )","font-stretch-absolute":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|<percentage>","font-variant-css2":"normal|small-caps","font-weight-absolute":"normal|bold|<number [1,1000]>","font-width-css3":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded","form-control-identifier":"select","frequency-percentage":"<frequency>|<percentage>","generic-complete":"serif|sans-serif|system-ui|cursive|fantasy|math|monospace","general-enclosed":"[<function-token> <any-value>? )]|[( <any-value>? )]","generic-family":"<generic-script-specific>|<generic-complete>|<generic-incomplete>|<-non-standard-generic-family>","generic-incomplete":"ui-serif|ui-sans-serif|ui-monospace|ui-rounded","geometry-box":"<shape-box>|fill-box|stroke-box|view-box",gradient:"<linear-gradient()>|<repeating-linear-gradient()>|<radial-gradient()>|<repeating-radial-gradient()>|<conic-gradient()>|<repeating-conic-gradient()>|<-legacy-gradient>","grayscale()":"grayscale( [<number>|<percentage>]? )","grid-line":"auto|<custom-ident>|[<integer>&&<custom-ident>?]|[span&&[<integer>||<custom-ident>]]","historical-lig-values":"[historical-ligatures|no-historical-ligatures]","hsl()":"hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )|hsl( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","hsla()":"hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )|hsla( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )",hue:"<number>|<angle>","hue-interpolation-method":"[shorter|longer|increasing|decreasing] hue","hue-rotate()":"hue-rotate( [<angle>|<zero>]? )","hwb()":"hwb( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","hypot()":"hypot( <calc-sum># )",image:"<url>|<image()>|<image-set()>|<element()>|<paint()>|<cross-fade()>|<gradient>","image()":"image( <image-tags>? [<image-src>? , <color>?]! )","image-set()":"image-set( <image-set-option># )","image-set-option":"[<image>|<string>] [<resolution>||type( <string> )]","image-src":"<url>|<string>","image-tags":"ltr|rtl","inflexible-breadth":"<length-percentage>|min-content|max-content|auto","inset()":"inset( <length-percentage>{1,4} [round <'border-radius'>]? )","invert()":"invert( [<number>|<percentage>]? )","keyframe-block":"<keyframe-selector># { <declaration-list> }","keyframe-selector":"from|to|<percentage [0,100]>|<timeline-range-name> <percentage>","keyframes-name":"<custom-ident>|<string>","lab()":"lab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","layer()":"layer( <layer-name> )","layer-name":"<ident> ['.' <ident>]*","lch()":"lch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","leader()":"leader( <leader-type> )","leader-type":"dotted|solid|space|<string>","length-percentage":"<length>|<percentage>","light-dark()":"light-dark( <color> , <color> )","line-name-list":"[<line-names>|<name-repeat>]+","line-names":"'[' <custom-ident>* ']'","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"<length>|thin|medium|thick","linear()":"linear( [<number>&&<percentage>{0,2}]# )","linear-color-hint":"<length-percentage>","linear-color-stop":"<color> <color-stop-length>?","linear-easing-function":"linear|<linear()>","linear-gradient()":"linear-gradient( [<linear-gradient-syntax>] )","linear-gradient-syntax":"[[<angle>|<zero>|to <side-or-corner>]||<color-interpolation-method>]? , <color-stop-list>","log()":"log( <calc-sum> , <calc-sum>? )","mask-layer":"<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||<geometry-box>||[<geometry-box>|no-clip]||<compositing-operator>||<masking-mode>","mask-position":"[<length-percentage>|left|center|right] [<length-percentage>|top|center|bottom]?","mask-reference":"none|<image>|<mask-source>","mask-source":"<url>","masking-mode":"alpha|luminance|match-source","matrix()":"matrix( <number>#{6} )","matrix3d()":"matrix3d( <number>#{16} )","max()":"max( <calc-sum># )","media-and":"<media-in-parens> [and <media-in-parens>]+","media-condition":"<media-not>|<media-and>|<media-or>|<media-in-parens>","media-condition-without-or":"<media-not>|<media-and>|<media-in-parens>","media-feature":"( [<mf-plain>|<mf-boolean>|<mf-range>] )","media-in-parens":"( <media-condition> )|<media-feature>|<general-enclosed>","media-not":"not <media-in-parens>","media-or":"<media-in-parens> [or <media-in-parens>]+","media-query":"<media-condition>|[not|only]? <media-type> [and <media-condition-without-or>]?","media-query-list":"<media-query>#","media-type":"<ident>","mf-boolean":"<mf-name>","mf-name":"<ident>","mf-plain":"<mf-name> : <mf-value>","mf-range":"<mf-name> ['<'|'>']? '='? <mf-value>|<mf-value> ['<'|'>']? '='? <mf-name>|<mf-value> '<' '='? <mf-name> '<' '='? <mf-value>|<mf-value> '>' '='? <mf-name> '>' '='? <mf-value>","mf-value":"<number>|<dimension>|<ident>|<ratio>","min()":"min( <calc-sum># )","minmax()":"minmax( [<length-percentage>|min-content|max-content|auto] , [<length-percentage>|<flex>|min-content|max-content|auto] )","mod()":"mod( <calc-sum> , <calc-sum> )","n-dimension":"<dimension-token>","name-repeat":"repeat( [<integer [1,∞]>|auto-fill] , <line-names>+ )","named-color":"aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen","namespace-prefix":"<ident>","ndash-dimension":"<dimension-token>","ndashdigit-dimension":"<dimension-token>","ndashdigit-ident":"<ident-token>","ns-prefix":"[<ident-token>|'*']? '|'","number-percentage":"<number>|<percentage>","numeric-figure-values":"[lining-nums|oldstyle-nums]","numeric-fraction-values":"[diagonal-fractions|stacked-fractions]","numeric-spacing-values":"[proportional-nums|tabular-nums]","offset-path":"<ray()>|<url>|<basic-shape>","oklab()":"oklab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","oklch()":"oklch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","opacity()":"opacity( [<number>|<percentage>]? )","opacity-value":"<number>|<percentage>","outline-line-style":"none|dotted|dashed|solid|double|groove|ridge|inset|outset","outline-radius":"<length>|<percentage>","overflow-position":"unsafe|safe","page-body":"<declaration>? [; <page-body>]?|<page-margin-box> <page-body>","page-margin-box":"<page-margin-box-type> '{' <declaration-list> '}'","page-margin-box-type":"@top-left-corner|@top-left|@top-center|@top-right|@top-right-corner|@bottom-left-corner|@bottom-left|@bottom-center|@bottom-right|@bottom-right-corner|@left-top|@left-middle|@left-bottom|@right-top|@right-middle|@right-bottom","page-selector":"<pseudo-page>+|<ident> <pseudo-page>*","page-selector-list":"[<page-selector>#]?","page-size":"A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger",paint:"none|<color>|<url> [none|<color>]?|context-fill|context-stroke","paint()":"paint( <ident> , <declaration-value>? )","paint-box":"<visual-box>|fill-box|stroke-box","palette-identifier":"<dashed-ident>","palette-mix()":"palette-mix( <color-interpolation-method> , [[normal|light|dark|<palette-identifier>|<palette-mix()>]&&<percentage [0,100]>?]#{2} )","path()":"path( <'fill-rule'>? , <string> )","perspective()":"perspective( [<length [0,∞]>|none] )","polar-color-space":"hsl|hwb|lch|oklch","polygon()":"polygon( <'fill-rule'>? , [<length-percentage> <length-percentage>]# )",position:"[[left|center|right]||[top|center|bottom]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]?|[[left|right] <length-percentage>]&&[[top|bottom] <length-percentage>]]","position-area":"[[left|center|right|span-left|span-right|x-start|x-end|span-x-start|span-x-end|x-self-start|x-self-end|span-x-self-start|span-x-self-end|span-all]||[top|center|bottom|span-top|span-bottom|y-start|y-end|span-y-start|span-y-end|y-self-start|y-self-end|span-y-self-start|span-y-self-end|span-all]|[block-start|center|block-end|span-block-start|span-block-end|span-all]||[inline-start|center|inline-end|span-inline-start|span-inline-end|span-all]|[self-block-start|center|self-block-end|span-self-block-start|span-self-block-end|span-all]||[self-inline-start|center|self-inline-end|span-self-inline-start|span-self-inline-end|span-all]|[start|center|end|span-start|span-end|span-all]{1,2}|[self-start|center|self-end|span-self-start|span-self-end|span-all]{1,2}]","pow()":"pow( <calc-sum> , <calc-sum> )","predefined-rgb":"srgb|srgb-linear|display-p3|display-p3-linear|a98-rgb|prophoto-rgb|rec2020","predefined-rgb-params":"<predefined-rgb> [<number>|<percentage>|none]{3}","pseudo-class-selector":"':' <ident-token>|':' <function-token> <any-value> ')'","pseudo-element-selector":"':' <pseudo-class-selector>|<legacy-pseudo-element-selector>","pseudo-page":": [left|right|first|blank]","query-in-parens":"( <container-condition> )|( <size-feature> )|style( <style-query> )|<general-enclosed>",quote:"open-quote|close-quote|no-open-quote|no-close-quote","radial-extent":"closest-corner|closest-side|farthest-corner|farthest-side","radial-gradient()":"radial-gradient( [<radial-gradient-syntax>] )","radial-gradient-syntax":"[[[<radial-shape>||<radial-size>]? [at <position>]?]||<color-interpolation-method>]? , <color-stop-list>","radial-shape":"circle|ellipse","radial-size":"<radial-extent>|<length [0,∞]>|<length-percentage [0,∞]>{2}",ratio:"<number [0,∞]> [/ <number [0,∞]>]?","ray()":"ray( <angle>&&<ray-size>?&&contain?&&[at <position>]? )","ray-size":"closest-side|closest-corner|farthest-side|farthest-corner|sides","rect()":"rect( [<length-percentage>|auto]{4} [round <'border-radius'>]? )","rectangular-color-space":"srgb|srgb-linear|display-p3|display-p3-linear|a98-rgb|prophoto-rgb|rec2020|lab|oklab|xyz|xyz-d50|xyz-d65","relative-selector":"<combinator>? <complex-selector>","relative-selector-list":"<relative-selector>#","relative-size":"larger|smaller","rem()":"rem( <calc-sum> , <calc-sum> )","repeat-style":"repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}","repeating-conic-gradient()":"repeating-conic-gradient( [<conic-gradient-syntax>] )","repeating-linear-gradient()":"repeating-linear-gradient( [<linear-gradient-syntax>] )","repeating-radial-gradient()":"repeating-radial-gradient( [<radial-gradient-syntax>] )","reversed-counter-name":"reversed( <counter-name> )","rgb()":"rgb( <percentage>#{3} , <alpha-value>? )|rgb( <number>#{3} , <alpha-value>? )|rgb( [<number>|<percentage>|none]{3} [/ [<alpha-value>|none]]? )","rgba()":"rgba( <percentage>#{3} , <alpha-value>? )|rgba( <number>#{3} , <alpha-value>? )|rgba( [<number>|<percentage>|none]{3} [/ [<alpha-value>|none]]? )","rotate()":"rotate( [<angle>|<zero>] )","rotate3d()":"rotate3d( <number> , <number> , <number> , [<angle>|<zero>] )","rotateX()":"rotateX( [<angle>|<zero>] )","rotateY()":"rotateY( [<angle>|<zero>] )","rotateZ()":"rotateZ( [<angle>|<zero>] )","round()":"round( <rounding-strategy>? , <calc-sum> , <calc-sum> )","rounding-strategy":"nearest|up|down|to-zero","saturate()":"saturate( [<number>|<percentage>]? )","scale()":"scale( [<number>|<percentage>]#{1,2} )","scale3d()":"scale3d( [<number>|<percentage>]#{3} )","scaleX()":"scaleX( [<number>|<percentage>] )","scaleY()":"scaleY( [<number>|<percentage>] )","scaleZ()":"scaleZ( [<number>|<percentage>] )","scope-end":"<forgiving-selector-list>","scope-start":"<forgiving-selector-list>","scroll()":"scroll( [<scroller>||<axis>]? )",scroller:"root|nearest|self","scroll-state-feature":"<media-query-list>","scroll-state-in-parens":"( <scroll-state-query> )|( <scroll-state-feature> )|<general-enclosed>","scroll-state-query":"not <scroll-state-in-parens>|<scroll-state-in-parens> [[and <scroll-state-in-parens>]*|[or <scroll-state-in-parens>]*]|<scroll-state-feature>","selector-list":"<complex-selector-list>","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","sepia()":"sepia( [<number>|<percentage>]? )",shadow:"inset?&&<length>{2,4}&&<color>?","shadow-t":"[<length>{2,3}&&<color>?]",shape:"rect( <top> , <right> , <bottom> , <left> )|rect( <top> <right> <bottom> <left> )","shape-box":"<visual-box>|margin-box","side-or-corner":"[left|right]||[top|bottom]","sign()":"sign( <calc-sum> )","signed-integer":"<number-token>","signless-integer":"<number-token>","sin()":"sin( <calc-sum> )","single-animation":"<'animation-duration'>||<easing-function>||<'animation-delay'>||<single-animation-iteration-count>||<single-animation-direction>||<single-animation-fill-mode>||<single-animation-play-state>||[none|<keyframes-name>]||<single-animation-timeline>","single-animation-composition":"replace|add|accumulate","single-animation-direction":"normal|reverse|alternate|alternate-reverse","single-animation-fill-mode":"none|forwards|backwards|both","single-animation-iteration-count":"infinite|<number>","single-animation-play-state":"running|paused","single-animation-timeline":"auto|none|<dashed-ident>|<scroll()>|<view()>","single-transition":"[none|<single-transition-property>]||<time>||<easing-function>||<time>||<transition-behavior-value>","single-transition-property":"all|<custom-ident>",size:"closest-side|farthest-side|closest-corner|farthest-corner|<length>|<length-percentage>{2}","size-feature":"<mf-plain>|<mf-boolean>|<mf-range>","skew()":"skew( [<angle>|<zero>] , [<angle>|<zero>]? )","skewX()":"skewX( [<angle>|<zero>] )","skewY()":"skewY( [<angle>|<zero>] )","sqrt()":"sqrt( <calc-sum> )","step-position":"jump-start|jump-end|jump-none|jump-both|start|end","step-easing-function":"step-start|step-end|<steps()>","steps()":"steps( <integer> , <step-position>? )","style-feature":"<declaration>","style-in-parens":"( <style-condition> )|( <style-feature> )|<general-enclosed>","style-query":"<style-condition>|<style-feature>","subclass-selector":"<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>","superellipse()":"superellipse( [<number>|infinity|-infinity] )","supports-condition":"not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*","supports-decl":"( <declaration> )","supports-feature":"<supports-decl>|<supports-selector-fn>","supports-in-parens":"( <supports-condition> )|<supports-feature>|<general-enclosed>","supports-selector-fn":"selector( <complex-selector> )",symbol:"<string>|<image>|<custom-ident>","symbols()":"symbols( <symbols-type>? [<string>|<image>]+ )","symbols-type":"cyclic|numeric|alphabetic|symbolic|fixed","system-color":"AccentColor|AccentColorText|ActiveText|ButtonBorder|ButtonFace|ButtonText|Canvas|CanvasText|Field|FieldText|GrayText|Highlight|HighlightText|LinkText|Mark|MarkText|SelectedItem|SelectedItemText|VisitedText","system-family-name":"caption|icon|menu|message-box|small-caption|status-bar","tan()":"tan( <calc-sum> )",target:"<target-counter()>|<target-counters()>|<target-text()>","target-counter()":"target-counter( [<string>|<url>] , <custom-ident> , <counter-style>? )","target-counters()":"target-counters( [<string>|<url>] , <custom-ident> , <string> , <counter-style>? )","target-text()":"target-text( [<string>|<url>] , [content|before|after|first-letter]? )","text-edge":"[text|cap|ex|ideographic|ideographic-ink] [text|alphabetic|ideographic|ideographic-ink]?","time-percentage":"<time>|<percentage>","timeline-range-name":"cover|contain|entry|exit|entry-crossing|exit-crossing","track-breadth":"<length-percentage>|<flex>|min-content|max-content|auto","track-list":"[<line-names>? [<track-size>|<track-repeat>]]+ <line-names>?","track-repeat":"repeat( [<integer [1,∞]>] , [<line-names>? <track-size>]+ <line-names>? )","track-size":"<track-breadth>|minmax( <inflexible-breadth> , <track-breadth> )|fit-content( <length-percentage> )","transform-function":"<matrix()>|<translate()>|<translateX()>|<translateY()>|<scale()>|<scaleX()>|<scaleY()>|<rotate()>|<skew()>|<skewX()>|<skewY()>|<matrix3d()>|<translate3d()>|<translateZ()>|<scale3d()>|<scaleZ()>|<rotate3d()>|<rotateX()>|<rotateY()>|<rotateZ()>|<perspective()>","transform-list":"<transform-function>+","transition-behavior-value":"normal|allow-discrete","translate()":"translate( <length-percentage> , <length-percentage>? )","translate3d()":"translate3d( <length-percentage> , <length-percentage> , <length> )","translateX()":"translateX( <length-percentage> )","translateY()":"translateY( <length-percentage> )","translateZ()":"translateZ( <length> )","try-size":"most-width|most-height|most-block-size|most-inline-size","try-tactic":"flip-block||flip-inline||flip-start","type-or-unit":"string|color|url|integer|number|length|angle|time|frequency|cap|ch|em|ex|ic|lh|rlh|rem|vb|vi|vw|vh|vmin|vmax|mm|Q|cm|in|pt|pc|px|deg|grad|rad|turn|ms|s|Hz|kHz|%","type-selector":"<wq-name>|<ns-prefix>? '*'","var()":"var( <custom-property-name> , <declaration-value>? )","view()":"view( [<axis>||<'view-timeline-inset'>]? )","viewport-length":"auto|<length-percentage>","visual-box":"content-box|padding-box|border-box","wq-name":"<ns-prefix>? <ident-token>","xywh()":"xywh( <length-percentage>{2} <length-percentage [0,∞]>{2} [round <'border-radius'>]? )",xyz:"xyz|xyz-d50|xyz-d65","xyz-params":"<xyz-space> [<number>|<percentage>|none]{3}","-legacy-gradient":"<-webkit-gradient()>|<-legacy-linear-gradient>|<-legacy-repeating-linear-gradient>|<-legacy-radial-gradient>|<-legacy-repeating-radial-gradient>","-legacy-linear-gradient":"-moz-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-repeating-linear-gradient":"-moz-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-linear-gradient-arguments":"[<angle>|<side-or-corner>]? , <color-stop-list>","-legacy-radial-gradient":"-moz-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-repeating-radial-gradient":"-moz-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-radial-gradient-arguments":"[<position> ,]? [[[<-legacy-radial-gradient-shape>||<-legacy-radial-gradient-size>]|[<length>|<percentage>]{2}] ,]? <color-stop-list>","-legacy-radial-gradient-size":"closest-side|closest-corner|farthest-side|farthest-corner|contain|cover","-legacy-radial-gradient-shape":"circle|ellipse","-non-standard-font":"-apple-system-body|-apple-system-headline|-apple-system-subheadline|-apple-system-caption1|-apple-system-caption2|-apple-system-footnote|-apple-system-short-body|-apple-system-short-headline|-apple-system-short-subheadline|-apple-system-short-caption1|-apple-system-short-footnote|-apple-system-tall-body","-non-standard-color":"-moz-ButtonDefault|-moz-ButtonHoverFace|-moz-ButtonHoverText|-moz-CellHighlight|-moz-CellHighlightText|-moz-Combobox|-moz-ComboboxText|-moz-Dialog|-moz-DialogText|-moz-dragtargetzone|-moz-EvenTreeRow|-moz-Field|-moz-FieldText|-moz-html-CellHighlight|-moz-html-CellHighlightText|-moz-mac-accentdarkestshadow|-moz-mac-accentdarkshadow|-moz-mac-accentface|-moz-mac-accentlightesthighlight|-moz-mac-accentlightshadow|-moz-mac-accentregularhighlight|-moz-mac-accentregularshadow|-moz-mac-chrome-active|-moz-mac-chrome-inactive|-moz-mac-focusring|-moz-mac-menuselect|-moz-mac-menushadow|-moz-mac-menutextselect|-moz-MenuHover|-moz-MenuHoverText|-moz-MenuBarText|-moz-MenuBarHoverText|-moz-nativehyperlinktext|-moz-OddTreeRow|-moz-win-communicationstext|-moz-win-mediatext|-moz-activehyperlinktext|-moz-default-background-color|-moz-default-color|-moz-hyperlinktext|-moz-visitedhyperlinktext|-webkit-activelink|-webkit-focus-ring-color|-webkit-link|-webkit-text","-non-standard-image-rendering":"optimize-contrast|-moz-crisp-edges|-o-crisp-edges|-webkit-optimize-contrast","-non-standard-overflow":"overlay|-moz-scrollbars-none|-moz-scrollbars-horizontal|-moz-scrollbars-vertical|-moz-hidden-unscrollable","-non-standard-size":"intrinsic|min-intrinsic|-webkit-fill-available|-webkit-fit-content|-webkit-min-content|-webkit-max-content|-moz-available|-moz-fit-content|-moz-min-content|-moz-max-content","-webkit-gradient()":"-webkit-gradient( <-webkit-gradient-type> , <-webkit-gradient-point> [, <-webkit-gradient-point>|, <-webkit-gradient-radius> , <-webkit-gradient-point>] [, <-webkit-gradient-radius>]? [, <-webkit-gradient-color-stop>]* )","-webkit-gradient-color-stop":"from( <color> )|color-stop( [<number-zero-one>|<percentage>] , <color> )|to( <color> )","-webkit-gradient-point":"[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]","-webkit-gradient-radius":"<length>|<percentage>","-webkit-gradient-type":"linear|radial","-webkit-mask-box-repeat":"repeat|stretch|round","-ms-filter-function-list":"<-ms-filter-function>+","-ms-filter-function":"<-ms-filter-function-progid>|<-ms-filter-function-legacy>","-ms-filter-function-progid":"'progid:' [<ident-token> '.']* [<ident-token>|<function-token> <any-value>? )]","-ms-filter-function-legacy":"<ident-token>|<function-token> <any-value>? )",age:"child|young|old","attr-name":"<wq-name>","attr-fallback":"<any-value>",autospace:"no-autospace|[ideograph-alpha||ideograph-numeric||punctuation]||[insert|replace]",bottom:"<length>|auto","generic-voice":"[<age>? <gender> <integer>?]",gender:"male|female|neutral","generic-script-specific":"generic( kai )|generic( fangsong )|generic( nastaliq )","-non-standard-generic-family":"-apple-system|BlinkMacSystemFont","intrinsic-size-keyword":"min-content|max-content|fit-content",left:"<length>|auto","device-cmyk()":"<legacy-device-cmyk-syntax>|<modern-device-cmyk-syntax>","legacy-device-cmyk-syntax":"device-cmyk( <number>#{4} )","modern-device-cmyk-syntax":"device-cmyk( <cmyk-component>{4} [/ [<alpha-value>|none]]? )","cmyk-component":"<number>|<percentage>|none","color-space":"<rectangular-color-space>|<polar-color-space>|<custom-color-space>",right:"<length>|auto","forgiving-selector-list":"<complex-real-selector-list>","forgiving-relative-selector-list":"<relative-real-selector-list>","complex-real-selector-list":"<complex-real-selector>#","simple-selector-list":"<simple-selector>#","relative-real-selector-list":"<relative-real-selector>#","complex-selector-unit":"[<compound-selector>? <pseudo-compound-selector>*]!","complex-real-selector":"<compound-selector> [<combinator>? <compound-selector>]*","relative-real-selector":"<combinator>? <complex-real-selector>","pseudo-compound-selector":"<pseudo-element-selector> <pseudo-class-selector>*","simple-selector":"<type-selector>|<subclass-selector>","legacy-pseudo-element-selector":"':' [before|after|first-line|first-letter]","svg-length":"<percentage>|<length>|<number>","svg-writing-mode":"lr-tb|rl-tb|tb-rl|lr|rl|tb",top:"<length>|auto",x:"<number>",y:"<number>",declaration:"<ident-token> : <declaration-value>? ['!' important]?","declaration-list":"[<declaration>? ';']* <declaration>?",url:"url( <string> <url-modifier>* )|<url-token>","url-modifier":"<ident>|<function-token> <any-value> )","number-zero-one":"<number [0,1]>","number-one-or-greater":"<number [1,∞]>","xyz-space":"xyz|xyz-d50|xyz-d65","style-condition":"not <style-in-parens>|<style-in-parens> [[and <style-in-parens>]*|[or <style-in-parens>]*]","-non-standard-display":"-ms-inline-flexbox|-ms-grid|-ms-inline-grid|-webkit-flex|-webkit-inline-flex|-webkit-box|-webkit-inline-box|-moz-inline-stack|-moz-box|-moz-inline-box","inset-area":"[[left|center|right|span-left|span-right|x-start|x-end|span-x-start|span-x-end|x-self-start|x-self-end|span-x-self-start|span-x-self-end|span-all]||[top|center|bottom|span-top|span-bottom|y-start|y-end|span-y-start|span-y-end|y-self-start|y-self-end|span-y-self-start|span-y-self-end|span-all]|[block-start|center|block-end|span-block-start|span-block-end|span-all]||[inline-start|center|inline-end|span-inline-start|span-inline-end|span-all]|[self-block-start|self-block-end|span-self-block-start|span-self-block-end|span-all]||[self-inline-start|self-inline-end|span-self-inline-start|span-self-inline-end|span-all]|[start|center|end|span-start|span-end|span-all]{1,2}|[self-start|center|self-end|span-self-start|span-self-end|span-all]{1,2}]",syntax:"'*'|<syntax-component> [<syntax-combinator> <syntax-component>]*|<syntax-string>","syntax-component":"<syntax-single-component> <syntax-multiplier>?|'<' transform-list '>'","syntax-single-component":"'<' <syntax-type-name> '>'|<ident>","syntax-type-name":"angle|color|custom-ident|image|integer|length|length-percentage|number|percentage|resolution|string|time|url|transform-function","syntax-combinator":"'|'","syntax-multiplier":"'#'|'+'","syntax-string":"<string>"},properties:{"--*":"<declaration-value>","-ms-accelerator":"false|true","-ms-block-progression":"tb|rl|bt|lr","-ms-content-zoom-chaining":"none|chained","-ms-content-zoom-limit":"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>","-ms-content-zoom-limit-max":"<percentage>","-ms-content-zoom-limit-min":"<percentage>","-ms-content-zoom-snap":"<'-ms-content-zoom-snap-type'>||<'-ms-content-zoom-snap-points'>","-ms-content-zoom-snap-points":"snapInterval( <percentage> , <percentage> )|snapList( <percentage># )","-ms-content-zoom-snap-type":"none|proximity|mandatory","-ms-content-zooming":"none|zoom","-ms-filter":"<string>","-ms-flow-from":"[none|<custom-ident>]#","-ms-flow-into":"[none|<custom-ident>]#","-ms-grid-columns":"none|<track-list>|<auto-track-list>","-ms-grid-rows":"none|<track-list>|<auto-track-list>","-ms-high-contrast-adjust":"auto|none","-ms-hyphenate-limit-chars":"auto|<integer>{1,3}","-ms-hyphenate-limit-lines":"no-limit|<integer>","-ms-hyphenate-limit-zone":"<percentage>|<length>","-ms-ime-align":"auto|after","-ms-overflow-style":"auto|none|scrollbar|-ms-autohiding-scrollbar","-ms-scroll-chaining":"chained|none","-ms-scroll-limit":"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>","-ms-scroll-limit-x-max":"auto|<length>","-ms-scroll-limit-x-min":"<length>","-ms-scroll-limit-y-max":"auto|<length>","-ms-scroll-limit-y-min":"<length>","-ms-scroll-rails":"none|railed","-ms-scroll-snap-points-x":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-points-y":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-type":"none|proximity|mandatory","-ms-scroll-snap-x":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>","-ms-scroll-snap-y":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>","-ms-scroll-translation":"none|vertical-to-horizontal","-ms-scrollbar-3dlight-color":"<color>","-ms-scrollbar-arrow-color":"<color>","-ms-scrollbar-base-color":"<color>","-ms-scrollbar-darkshadow-color":"<color>","-ms-scrollbar-face-color":"<color>","-ms-scrollbar-highlight-color":"<color>","-ms-scrollbar-shadow-color":"<color>","-ms-scrollbar-track-color":"<color>","-ms-text-autospace":"none|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space","-ms-touch-select":"grippers|none","-ms-user-select":"none|element|text","-ms-wrap-flow":"auto|both|start|end|maximum|clear","-ms-wrap-margin":"<length>","-ms-wrap-through":"wrap|none","-moz-appearance":"none|button|button-arrow-down|button-arrow-next|button-arrow-previous|button-arrow-up|button-bevel|button-focus|caret|checkbox|checkbox-container|checkbox-label|checkmenuitem|dualbutton|groupbox|listbox|listitem|menuarrow|menubar|menucheckbox|menuimage|menuitem|menuitemtext|menulist|menulist-button|menulist-text|menulist-textfield|menupopup|menuradio|menuseparator|meterbar|meterchunk|progressbar|progressbar-vertical|progresschunk|progresschunk-vertical|radio|radio-container|radio-label|radiomenuitem|range|range-thumb|resizer|resizerpanel|scale-horizontal|scalethumbend|scalethumb-horizontal|scalethumbstart|scalethumbtick|scalethumb-vertical|scale-vertical|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|separator|sheet|spinner|spinner-downbutton|spinner-textfield|spinner-upbutton|splitter|statusbar|statusbarpanel|tab|tabpanel|tabpanels|tab-scroll-arrow-back|tab-scroll-arrow-forward|textfield|textfield-multiline|toolbar|toolbarbutton|toolbarbutton-dropdown|toolbargripper|toolbox|tooltip|treeheader|treeheadercell|treeheadersortarrow|treeitem|treeline|treetwisty|treetwistyopen|treeview|-moz-mac-unified-toolbar|-moz-win-borderless-glass|-moz-win-browsertabbar-toolbox|-moz-win-communicationstext|-moz-win-communications-toolbox|-moz-win-exclude-glass|-moz-win-glass|-moz-win-mediatext|-moz-win-media-toolbox|-moz-window-button-box|-moz-window-button-box-maximized|-moz-window-button-close|-moz-window-button-maximize|-moz-window-button-minimize|-moz-window-button-restore|-moz-window-frame-bottom|-moz-window-frame-left|-moz-window-frame-right|-moz-window-titlebar|-moz-window-titlebar-maximized","-moz-binding":"<url>|none","-moz-border-bottom-colors":"<color>+|none","-moz-border-left-colors":"<color>+|none","-moz-border-right-colors":"<color>+|none","-moz-border-top-colors":"<color>+|none","-moz-context-properties":"none|[fill|fill-opacity|stroke|stroke-opacity]#","-moz-float-edge":"border-box|content-box|margin-box|padding-box","-moz-force-broken-image-icon":"0|1","-moz-orient":"inline|block|horizontal|vertical","-moz-outline-radius":"<outline-radius>{1,4} [/ <outline-radius>{1,4}]?","-moz-outline-radius-bottomleft":"<outline-radius>","-moz-outline-radius-bottomright":"<outline-radius>","-moz-outline-radius-topleft":"<outline-radius>","-moz-outline-radius-topright":"<outline-radius>","-moz-stack-sizing":"ignore|stretch-to-fit","-moz-text-blink":"none|blink","-moz-user-focus":"ignore|normal|select-after|select-before|select-menu|select-same|select-all|none","-moz-user-input":"auto|none|enabled|disabled","-moz-user-modify":"read-only|read-write|write-only","-moz-window-dragging":"drag|no-drag","-moz-window-shadow":"default|menu|tooltip|sheet|none","-webkit-appearance":"none|button|button-bevel|caps-lock-indicator|caret|checkbox|default-button|inner-spin-button|listbox|listitem|media-controls-background|media-controls-fullscreen-background|media-current-time-display|media-enter-fullscreen-button|media-exit-fullscreen-button|media-fullscreen-button|media-mute-button|media-overlay-play-button|media-play-button|media-seek-back-button|media-seek-forward-button|media-slider|media-sliderthumb|media-time-remaining-display|media-toggle-closed-captions-button|media-volume-slider|media-volume-slider-container|media-volume-sliderthumb|menulist|menulist-button|menulist-text|menulist-textfield|meter|progress-bar|progress-bar-value|push-button|radio|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbargripper-horizontal|scrollbargripper-vertical|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|searchfield-cancel-button|searchfield-decoration|searchfield-results-button|searchfield-results-decoration|slider-horizontal|slider-vertical|sliderthumb-horizontal|sliderthumb-vertical|square-button|textarea|textfield|-apple-pay-button","-webkit-border-before":"<'border-width'>||<'border-style'>||<color>","-webkit-border-before-color":"<color>","-webkit-border-before-style":"<'border-style'>","-webkit-border-before-width":"<'border-width'>","-webkit-box-reflect":"[above|below|right|left]? <length>? <image>?","-webkit-line-clamp":"none|<integer>","-webkit-mask":"[<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||[<visual-box>|border|padding|content|text]||[<visual-box>|border|padding|content]]#","-webkit-mask-attachment":"<attachment>#","-webkit-mask-clip":"[<coord-box>|no-clip|border|padding|content|text]#","-webkit-mask-composite":"<composite-style>#","-webkit-mask-image":"<mask-reference>#","-webkit-mask-origin":"[<coord-box>|border|padding|content]#","-webkit-mask-position":"<position>#","-webkit-mask-position-x":"[<length-percentage>|left|center|right]#","-webkit-mask-position-y":"[<length-percentage>|top|center|bottom]#","-webkit-mask-repeat":"<repeat-style>#","-webkit-mask-repeat-x":"repeat|no-repeat|space|round","-webkit-mask-repeat-y":"repeat|no-repeat|space|round","-webkit-mask-size":"<bg-size>#","-webkit-overflow-scrolling":"auto|touch","-webkit-tap-highlight-color":"<color>","-webkit-text-fill-color":"<color>","-webkit-text-stroke":"<length>||<color>","-webkit-text-stroke-color":"<color>","-webkit-text-stroke-width":"<length>","-webkit-touch-callout":"default|none","-webkit-user-modify":"read-only|read-write|read-write-plaintext-only","-webkit-user-select":"auto|none|text|all","accent-color":"auto|<color>","align-content":"normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>","align-items":"normal|stretch|<baseline-position>|[<overflow-position>? <self-position>]|anchor-center","align-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>|anchor-center","align-tracks":"[normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>]#","alignment-baseline":"auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical",all:"initial|inherit|unset|revert|revert-layer","anchor-name":"none|<dashed-ident>#","anchor-scope":"none|all|<dashed-ident>#",animation:"<single-animation>#","animation-composition":"<single-animation-composition>#","animation-delay":"<time>#","animation-direction":"<single-animation-direction>#","animation-duration":"[auto|<time [0s,∞]>]#","animation-fill-mode":"<single-animation-fill-mode>#","animation-iteration-count":"<single-animation-iteration-count>#","animation-name":"[none|<keyframes-name>]#","animation-play-state":"<single-animation-play-state>#","animation-range":"[<'animation-range-start'> <'animation-range-end'>?]#","animation-range-end":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","animation-range-start":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","animation-timeline":"<single-animation-timeline>#","animation-timing-function":"<easing-function>#","animation-trigger":"[none|[<dashed-ident> <animation-action>+]+]#",appearance:"none|auto|<compat-auto>|<compat-special>","aspect-ratio":"auto||<ratio>","backdrop-filter":"none|<filter-value-list>","backface-visibility":"visible|hidden",background:"<bg-layer>#? , <final-bg-layer>","background-attachment":"<attachment>#","background-blend-mode":"<blend-mode>#","background-clip":"<bg-clip>#","background-color":"<color>","background-image":"<bg-image>#","background-origin":"<visual-box>#","background-position":"<bg-position>#","background-position-x":"[center|[[left|right|x-start|x-end]? <length-percentage>?]!]#","background-position-y":"[center|[[top|bottom|y-start|y-end]? <length-percentage>?]!]#","background-repeat":"<repeat-style>#","background-size":"<bg-size>#","baseline-shift":"baseline|sub|super|<svg-length>","baseline-source":"auto|first|last","block-size":"<'width'>",border:"<line-width>||<line-style>||<color>","border-block":"<'border-block-start'>","border-block-color":"<'border-top-color'>{1,2}","border-block-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-end-color":"<'border-top-color'>","border-block-end-style":"<'border-top-style'>","border-block-end-width":"<'border-top-width'>","border-block-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-start-color":"<'border-top-color'>","border-block-start-style":"<'border-top-style'>","border-block-start-width":"<'border-top-width'>","border-block-style":"<'border-top-style'>{1,2}","border-block-width":"<'border-top-width'>{1,2}","border-bottom":"<line-width>||<line-style>||<color>","border-bottom-color":"<'border-top-color'>","border-bottom-left-radius":"<length-percentage [0,∞]>{1,2}","border-bottom-right-radius":"<length-percentage [0,∞]>{1,2}","border-bottom-style":"<line-style>","border-bottom-width":"<line-width>","border-collapse":"separate|collapse","border-color":"<color>{1,4}","border-end-end-radius":"<'border-top-left-radius'>","border-end-start-radius":"<'border-top-left-radius'>","border-image":"<'border-image-source'>||<'border-image-slice'> [/ <'border-image-width'>|/ <'border-image-width'>? / <'border-image-outset'>]?||<'border-image-repeat'>","border-image-outset":"[<length [0,∞]>|<number [0,∞]>]{1,4}","border-image-repeat":"[stretch|repeat|round|space]{1,2}","border-image-slice":"[<number [0,∞]>|<percentage [0,∞]>]{1,4}&&fill?","border-image-source":"none|<image>","border-image-width":"[<length-percentage [0,∞]>|<number [0,∞]>|auto]{1,4}","border-inline":"<'border-block-start'>","border-inline-color":"<'border-top-color'>{1,2}","border-inline-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-end-color":"<'border-top-color'>","border-inline-end-style":"<'border-top-style'>","border-inline-end-width":"<'border-top-width'>","border-inline-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-start-color":"<'border-top-color'>","border-inline-start-style":"<'border-top-style'>","border-inline-start-width":"<'border-top-width'>","border-inline-style":"<'border-top-style'>{1,2}","border-inline-width":"<'border-top-width'>{1,2}","border-left":"<line-width>||<line-style>||<color>","border-left-color":"<color>","border-left-style":"<line-style>","border-left-width":"<line-width>","border-radius":"<length-percentage [0,∞]>{1,4} [/ <length-percentage [0,∞]>{1,4}]?","border-right":"<line-width>||<line-style>||<color>","border-right-color":"<color>","border-right-style":"<line-style>","border-right-width":"<line-width>","border-spacing":"<length>{1,2}","border-start-end-radius":"<'border-top-left-radius'>","border-start-start-radius":"<'border-top-left-radius'>","border-style":"<line-style>{1,4}","border-top":"<line-width>||<line-style>||<color>","border-top-color":"<color>","border-top-left-radius":"<length-percentage [0,∞]>{1,2}","border-top-right-radius":"<length-percentage [0,∞]>{1,2}","border-top-style":"<line-style>","border-top-width":"<line-width>","border-width":"<line-width>{1,4}",bottom:"auto|<length-percentage>|<anchor()>|<anchor-size()>","box-align":"start|center|end|baseline|stretch","box-decoration-break":"slice|clone","box-direction":"normal|reverse|inherit","box-flex":"<number>","box-flex-group":"<integer>","box-lines":"single|multiple","box-ordinal-group":"<integer>","box-orient":"horizontal|vertical|inline-axis|block-axis|inherit","box-pack":"start|center|end|justify","box-shadow":"none|<shadow>#","box-sizing":"content-box|border-box","break-after":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-before":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-inside":"auto|avoid|avoid-page|avoid-column|avoid-region","caption-side":"top|bottom",caret:"<'caret-color'>||<'caret-animation'>||<'caret-shape'>","caret-animation":"auto|manual","caret-color":"auto|<color>","caret-shape":"auto|bar|block|underscore",clear:"none|left|right|both|inline-start|inline-end",clip:"<shape>|auto","clip-path":"<clip-source>|[<basic-shape>||<geometry-box>]|none","clip-rule":"nonzero|evenodd",color:"<color>","color-interpolation-filters":"auto|sRGB|linearRGB","color-scheme":"normal|[light|dark|<custom-ident>]+&&only?","column-count":"<integer>|auto","column-fill":"auto|balance","column-gap":"normal|<length-percentage>","column-height":"auto|<length [0,∞]>","column-rule":"<'column-rule-width'>||<'column-rule-style'>||<'column-rule-color'>","column-rule-color":"<color>","column-rule-style":"<'border-style'>","column-rule-width":"<'border-width'>","column-span":"none|all","column-width":"auto|<length [0,∞]>","column-wrap":"auto|nowrap|wrap",columns:"[<'column-width'>||<'column-count'>] [/ <'column-height'>]?",contain:"none|strict|content|[[size||inline-size]||layout||style||paint]","contain-intrinsic-block-size":"auto? [none|<length>]","contain-intrinsic-height":"auto? [none|<length>]","contain-intrinsic-inline-size":"auto? [none|<length>]","contain-intrinsic-size":"[auto? [none|<length>]]{1,2}","contain-intrinsic-width":"auto? [none|<length>]",container:"<'container-name'> [/ <'container-type'>]?","container-name":"none|<custom-ident>+","container-type":"normal||[size|inline-size]",content:"normal|none|[<content-replacement>|<content-list>] [/ [<string>|<counter>|<attr()>]+]?","content-visibility":"visible|auto|hidden","corner-block-end-shape":"<corner-shape-value>{1,2}","corner-block-start-shape":"<corner-shape-value>{1,2}","corner-bottom-shape":"<corner-shape-value>{1,2}","corner-bottom-left-shape":"<corner-shape-value>","corner-bottom-right-shape":"<corner-shape-value>","corner-end-end-shape":"<corner-shape-value>","corner-end-start-shape":"<corner-shape-value>","corner-inline-end-shape":"<corner-shape-value>{1,2}","corner-inline-start-shape":"<corner-shape-value>{1,2}","corner-left-shape":"<corner-shape-value>{1,2}","corner-right-shape":"<corner-shape-value>{1,2}","corner-shape":"<corner-shape-value>{1,4}","corner-start-start-shape":"<corner-shape-value>","corner-start-end-shape":"<corner-shape-value>","corner-top-shape":"<corner-shape-value>{1,2}","corner-top-left-shape":"<corner-shape-value>","corner-top-right-shape":"<corner-shape-value>","counter-increment":"[<counter-name> <integer>?]+|none","counter-reset":"[<counter-name> <integer>?|<reversed-counter-name> <integer>?]+|none","counter-set":"[<counter-name> <integer>?]+|none",cursor:"[[<url> [<x> <y>]? ,]* [auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing|hand|-webkit-grab|-webkit-grabbing|-webkit-zoom-in|-webkit-zoom-out|-moz-grab|-moz-grabbing|-moz-zoom-in|-moz-zoom-out]]",cx:"<length>|<percentage>",cy:"<length>|<percentage>",d:"none|path( <string> )",direction:"ltr|rtl",display:"[<display-outside>||<display-inside>]|<display-listitem>|<display-internal>|<display-box>|<display-legacy>|<-non-standard-display>","dominant-baseline":"auto|use-script|no-change|reset-size|ideographic|alphabetic|hanging|mathematical|central|middle|text-after-edge|text-before-edge","dynamic-range-limit":"standard|no-limit|constrained|<dynamic-range-limit-mix()>","empty-cells":"show|hide","field-sizing":"content|fixed",fill:"<paint>","fill-opacity":"<number-zero-one>|<percentage>","fill-rule":"nonzero|evenodd",filter:"none|<filter-value-list>|<-ms-filter-function-list>",flex:"none|[<'flex-grow'> <'flex-shrink'>?||<'flex-basis'>]","flex-basis":"content|<'width'>","flex-direction":"row|row-reverse|column|column-reverse","flex-flow":"<'flex-direction'>||<'flex-wrap'>","flex-grow":"<number>","flex-shrink":"<number>","flex-wrap":"nowrap|wrap|wrap-reverse",float:"left|right|none|inline-start|inline-end","flood-color":"<color>","flood-opacity":"<'opacity'>",font:"[[<'font-style'>||<font-variant-css2>||<'font-weight'>||<font-width-css3>]? <'font-size'> [/ <'line-height'>]? <'font-family'>#]|<system-family-name>|<-non-standard-font>","font-family":"[<family-name>|<generic-family>]#","font-feature-settings":"normal|<feature-tag-value>#","font-kerning":"auto|normal|none","font-language-override":"normal|<string>","font-optical-sizing":"auto|none","font-palette":"normal|light|dark|<palette-identifier>|<palette-mix()>","font-size":"<absolute-size>|<relative-size>|<length-percentage [0,∞]>|math","font-size-adjust":"none|[ex-height|cap-height|ch-width|ic-width|ic-height]? [from-font|<number>]","font-smooth":"auto|never|always|<absolute-size>|<length>","font-stretch":"<font-stretch-absolute>","font-style":"normal|italic|oblique <angle>?","font-synthesis":"none|[weight||style||small-caps||position]","font-synthesis-position":"auto|none","font-synthesis-small-caps":"auto|none","font-synthesis-style":"auto|none","font-synthesis-weight":"auto|none","font-variant":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-alternates":"normal|[stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )]","font-variant-caps":"normal|small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps","font-variant-east-asian":"normal|[<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-emoji":"normal|text|emoji|unicode","font-variant-ligatures":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>]","font-variant-numeric":"normal|[<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero]","font-variant-position":"normal|sub|super","font-variation-settings":"normal|[<string> <number>]#","font-weight":"<font-weight-absolute>|bolder|lighter","font-width":"normal|<percentage [0,∞]>|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded","forced-color-adjust":"auto|none|preserve-parent-color",gap:"<'row-gap'> <'column-gap'>?",grid:"<'grid-template'>|<'grid-template-rows'> / [auto-flow&&dense?] <'grid-auto-columns'>?|[auto-flow&&dense?] <'grid-auto-rows'>? / <'grid-template-columns'>","grid-area":"<grid-line> [/ <grid-line>]{0,3}","grid-auto-columns":"<track-size>+","grid-auto-flow":"[row|column]||dense","grid-auto-rows":"<track-size>+","grid-column":"<grid-line> [/ <grid-line>]?","grid-column-end":"<grid-line>","grid-column-gap":"<length-percentage>","grid-column-start":"<grid-line>","grid-gap":"<'grid-row-gap'> <'grid-column-gap'>?","grid-row":"<grid-line> [/ <grid-line>]?","grid-row-end":"<grid-line>","grid-row-gap":"<length-percentage>","grid-row-start":"<grid-line>","grid-template":"none|[<'grid-template-rows'> / <'grid-template-columns'>]|[<line-names>? <string> <track-size>? <line-names>?]+ [/ <explicit-track-list>]?","grid-template-areas":"none|<string>+","grid-template-columns":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","grid-template-rows":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","hanging-punctuation":"none|[first||[force-end|allow-end]||last]",height:"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","hyphenate-character":"auto|<string>","hyphenate-limit-chars":"[auto|<integer>]{1,3}",hyphens:"none|manual|auto","image-orientation":"from-image|<angle>|[<angle>? flip]","image-rendering":"auto|crisp-edges|pixelated|smooth|optimizeSpeed|optimizeQuality|<-non-standard-image-rendering>","image-resolution":"[from-image||<resolution>]&&snap?","ime-mode":"auto|normal|active|inactive|disabled","initial-letter":"normal|[<number> <integer>?]","initial-letter-align":"[auto|alphabetic|hanging|ideographic]","inline-size":"<'width'>",inset:"<'top'>{1,4}","inset-block":"<'top'>{1,2}","inset-block-end":"<'top'>","inset-block-start":"<'top'>","inset-inline":"<'top'>{1,2}","inset-inline-end":"<'top'>","inset-inline-start":"<'top'>","interpolate-size":"numeric-only|allow-keywords",isolation:"auto|isolate",interactivity:"auto|inert","interest-delay":"<'interest-delay-start'>{1,2}","interest-delay-end":"normal|<time>","interest-delay-start":"normal|<time>","justify-content":"normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]","justify-items":"normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|legacy|legacy&&[left|right|center]|anchor-center","justify-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|anchor-center","justify-tracks":"[normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]]#",left:"auto|<length-percentage>|<anchor()>|<anchor-size()>","letter-spacing":"normal|<length-percentage>","lighting-color":"<color>","line-break":"auto|loose|normal|strict|anywhere","line-clamp":"none|<integer>","line-height":"normal|<number>|<length>|<percentage>","line-height-step":"<length>","list-style":"<'list-style-type'>||<'list-style-position'>||<'list-style-image'>","list-style-image":"<image>|none","list-style-position":"inside|outside","list-style-type":"<counter-style>|<string>|none",margin:"<'margin-top'>{1,4}","margin-block":"<'margin-top'>{1,2}","margin-block-end":"<'margin-top'>","margin-block-start":"<'margin-top'>","margin-bottom":"<length-percentage>|auto|<anchor-size()>","margin-inline":"<'margin-top'>{1,2}","margin-inline-end":"<'margin-top'>","margin-inline-start":"<'margin-top'>","margin-left":"<length-percentage>|auto|<anchor-size()>","margin-right":"<length-percentage>|auto|<anchor-size()>","margin-top":"<length-percentage>|auto|<anchor-size()>","margin-trim":"none|in-flow|all",marker:"none|<url>","marker-end":"none|<url>","marker-mid":"none|<url>","marker-start":"none|<url>",mask:"<mask-layer>#","mask-border":"<'mask-border-source'>||<'mask-border-slice'> [/ <'mask-border-width'>? [/ <'mask-border-outset'>]?]?||<'mask-border-repeat'>||<'mask-border-mode'>","mask-border-mode":"luminance|alpha","mask-border-outset":"[<length>|<number>]{1,4}","mask-border-repeat":"[stretch|repeat|round|space]{1,2}","mask-border-slice":"<number-percentage>{1,4} fill?","mask-border-source":"none|<image>","mask-border-width":"[<length-percentage>|<number>|auto]{1,4}","mask-clip":"[<coord-box>|no-clip]#","mask-composite":"<compositing-operator>#","mask-image":"<mask-reference>#","mask-mode":"<masking-mode>#","mask-origin":"<coord-box>#","mask-position":"<position>#","mask-repeat":"<repeat-style>#","mask-size":"<bg-size>#","mask-type":"luminance|alpha","masonry-auto-flow":"[pack|next]||[definite-first|ordered]","math-depth":"auto-add|add( <integer> )|<integer>","math-shift":"normal|compact","math-style":"normal|compact","max-block-size":"<'max-width'>","max-height":"none|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","max-inline-size":"<'max-width'>","max-lines":"none|<integer>","max-width":"none|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","min-block-size":"<'min-width'>","min-height":"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","min-inline-size":"<'min-width'>","min-width":"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","mix-blend-mode":"<blend-mode>|plus-darker|plus-lighter","object-fit":"fill|contain|cover|none|scale-down","object-position":"<position>","object-view-box":"none|<basic-shape-rect>",offset:"[<'offset-position'>? [<'offset-path'> [<'offset-distance'>||<'offset-rotate'>]?]?]! [/ <'offset-anchor'>]?","offset-anchor":"auto|<position>","offset-distance":"<length-percentage>","offset-path":"none|<offset-path>||<coord-box>","offset-position":"normal|auto|<position>","offset-rotate":"[auto|reverse]||<angle>",opacity:"<opacity-value>",order:"<integer>",orphans:"<integer>",outline:"<'outline-width'>||<'outline-style'>||<'outline-color'>","outline-color":"auto|<color>","outline-offset":"<length>","outline-style":"auto|<outline-line-style>","outline-width":"<line-width>",overflow:"[visible|hidden|clip|scroll|auto]{1,2}|<-non-standard-overflow>","overflow-anchor":"auto|none","overflow-block":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-clip-box":"padding-box|content-box","overflow-clip-margin":"<visual-box>||<length [0,∞]>","overflow-inline":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-wrap":"normal|break-word|anywhere","overflow-x":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-y":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>",overlay:"none|auto","overscroll-behavior":"[contain|none|auto]{1,2}","overscroll-behavior-block":"contain|none|auto","overscroll-behavior-inline":"contain|none|auto","overscroll-behavior-x":"contain|none|auto","overscroll-behavior-y":"contain|none|auto",padding:"<'padding-top'>{1,4}","padding-block":"<'padding-top'>{1,2}","padding-block-end":"<'padding-top'>","padding-block-start":"<'padding-top'>","padding-bottom":"<length-percentage [0,∞]>","padding-inline":"<'padding-top'>{1,2}","padding-inline-end":"<'padding-top'>","padding-inline-start":"<'padding-top'>","padding-left":"<length-percentage [0,∞]>","padding-right":"<length-percentage [0,∞]>","padding-top":"<length-percentage [0,∞]>",page:"auto|<custom-ident>","page-break-after":"auto|always|avoid|left|right|recto|verso","page-break-before":"auto|always|avoid|left|right|recto|verso","page-break-inside":"auto|avoid","paint-order":"normal|[fill||stroke||markers]",perspective:"none|<length>","perspective-origin":"<position>","place-content":"<'align-content'> <'justify-content'>?","place-items":"<'align-items'> <'justify-items'>?","place-self":"<'align-self'> <'justify-self'>?","pointer-events":"auto|none|visiblePainted|visibleFill|visibleStroke|visible|painted|fill|stroke|all|inherit",position:"static|relative|absolute|sticky|fixed|-webkit-sticky","position-anchor":"auto|none|<anchor-name>","position-area":"none|<position-area>","position-try":"<'position-try-order'>? <'position-try-fallbacks'>","position-try-fallbacks":"none|[[<dashed-ident>||<try-tactic>]|<'position-area'>]#","position-try-order":"normal|<try-size>","position-visibility":"always|[anchors-valid||anchors-visible||no-overflow]","print-color-adjust":"economy|exact",quotes:"none|auto|[<string> <string>]+",r:"<length>|<percentage>","reading-flow":"normal|source-order|flex-visual|flex-flow|grid-rows|grid-columns|grid-order","reading-order":"<integer>",resize:"none|both|horizontal|vertical|block|inline",right:"auto|<length-percentage>|<anchor()>|<anchor-size()>",rotate:"none|<angle>|[x|y|z|<number>{3}]&&<angle>","row-gap":"normal|<length-percentage>","ruby-align":"start|center|space-between|space-around","ruby-merge":"separate|collapse|auto","ruby-overhang":"auto|none","ruby-position":"[alternate||[over|under]]|inter-character",rx:"<length>|<percentage>",ry:"<length>|<percentage>",scale:"none|[<number>|<percentage>]{1,3}","scroll-behavior":"auto|smooth","scroll-initial-target":"none|nearest","scroll-margin":"<length>{1,4}","scroll-margin-block":"<length>{1,2}","scroll-margin-block-end":"<length>","scroll-margin-block-start":"<length>","scroll-margin-bottom":"<length>","scroll-margin-inline":"<length>{1,2}","scroll-margin-inline-end":"<length>","scroll-margin-inline-start":"<length>","scroll-margin-left":"<length>","scroll-margin-right":"<length>","scroll-margin-top":"<length>","scroll-marker-group":"none|before|after","scroll-padding":"[auto|<length-percentage>]{1,4}","scroll-padding-block":"[auto|<length-percentage>]{1,2}","scroll-padding-block-end":"auto|<length-percentage>","scroll-padding-block-start":"auto|<length-percentage>","scroll-padding-bottom":"auto|<length-percentage>","scroll-padding-inline":"[auto|<length-percentage>]{1,2}","scroll-padding-inline-end":"auto|<length-percentage>","scroll-padding-inline-start":"auto|<length-percentage>","scroll-padding-left":"auto|<length-percentage>","scroll-padding-right":"auto|<length-percentage>","scroll-padding-top":"auto|<length-percentage>","scroll-snap-align":"[none|start|end|center]{1,2}","scroll-snap-coordinate":"none|<position>#","scroll-snap-destination":"<position>","scroll-snap-points-x":"none|repeat( <length-percentage> )","scroll-snap-points-y":"none|repeat( <length-percentage> )","scroll-snap-stop":"normal|always","scroll-snap-type":"none|[x|y|block|inline|both] [mandatory|proximity]?","scroll-snap-type-x":"none|mandatory|proximity","scroll-snap-type-y":"none|mandatory|proximity","scroll-target-group":"none|auto","scroll-timeline":"[<'scroll-timeline-name'> <'scroll-timeline-axis'>?]#","scroll-timeline-axis":"[block|inline|x|y]#","scroll-timeline-name":"[none|<dashed-ident>]#","scrollbar-color":"auto|<color>{2}","scrollbar-gutter":"auto|stable&&both-edges?","scrollbar-width":"auto|thin|none","shape-image-threshold":"<opacity-value>","shape-margin":"<length-percentage>","shape-outside":"none|[<shape-box>||<basic-shape>]|<image>","shape-rendering":"auto|optimizeSpeed|crispEdges|geometricPrecision","speak-as":"normal|spell-out||digits||[literal-punctuation|no-punctuation]","stop-color":"<'color'>","stop-opacity":"<'opacity'>",stroke:"<paint>","stroke-color":"<color>","stroke-dasharray":"none|[<svg-length>+]#","stroke-dashoffset":"<svg-length>","stroke-linecap":"butt|round|square","stroke-linejoin":"miter|round|bevel","stroke-miterlimit":"<number-one-or-greater>","stroke-opacity":"<'opacity'>","stroke-width":"<svg-length>","tab-size":"<integer>|<length>","table-layout":"auto|fixed","text-align":"start|end|left|right|center|justify|match-parent","text-align-last":"auto|start|end|left|right|center|justify","text-anchor":"start|middle|end","text-autospace":"normal|<autospace>|auto","text-box":"normal|<'text-box-trim'>||<'text-box-edge'>","text-box-edge":"auto|<text-edge>","text-box-trim":"none|trim-start|trim-end|trim-both","text-combine-upright":"none|all|[digits <integer>?]","text-decoration":"<'text-decoration-line'>||<'text-decoration-style'>||<'text-decoration-color'>||<'text-decoration-thickness'>","text-decoration-color":"<color>","text-decoration-inset":"<length>{1,2}|auto","text-decoration-line":"none|[underline||overline||line-through||blink]|spelling-error|grammar-error","text-decoration-skip":"none|[objects||[spaces|[leading-spaces||trailing-spaces]]||edges||box-decoration]","text-decoration-skip-ink":"auto|all|none","text-decoration-style":"solid|double|dotted|dashed|wavy","text-decoration-thickness":"auto|from-font|<length>|<percentage>","text-emphasis":"<'text-emphasis-style'>||<'text-emphasis-color'>","text-emphasis-color":"<color>","text-emphasis-position":"auto|[over|under]&&[right|left]?","text-emphasis-style":"none|[[filled|open]||[dot|circle|double-circle|triangle|sesame]]|<string>","text-indent":"<length-percentage>&&hanging?&&each-line?","text-justify":"auto|inter-character|inter-word|none","text-orientation":"mixed|upright|sideways","text-overflow":"[clip|ellipsis|<string>]{1,2}","text-rendering":"auto|optimizeSpeed|optimizeLegibility|geometricPrecision","text-shadow":"none|<shadow-t>#","text-size-adjust":"none|auto|<percentage>","text-spacing-trim":"space-all|normal|space-first|trim-start","text-transform":"none|[capitalize|uppercase|lowercase]||full-width||full-size-kana|math-auto","text-underline-offset":"auto|<length>|<percentage>","text-underline-position":"auto|from-font|[under||[left|right]]","text-wrap":"<'text-wrap-mode'>||<'text-wrap-style'>","text-wrap-mode":"wrap|nowrap","text-wrap-style":"auto|balance|stable|pretty","timeline-scope":"none|<dashed-ident>#","timeline-trigger":"none|[<'timeline-trigger-name'> <'timeline-trigger-source'> <'timeline-trigger-range'> ['/' <'timeline-trigger-exit-range'>]?]#","timeline-trigger-name":"none|<dashed-ident>#","timeline-trigger-exit-range":"[<'timeline-trigger-exit-range-start'> <'timeline-trigger-exit-range-end'>?]#","timeline-trigger-exit-range-end":"[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-exit-range-start":"[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-range":"[<'timeline-trigger-range-start'> <'timeline-trigger-range-end'>?]#","timeline-trigger-range-end":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-range-start":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-source":"<single-animation-timeline>#",top:"auto|<length-percentage>|<anchor()>|<anchor-size()>","touch-action":"auto|none|[[pan-x|pan-left|pan-right]||[pan-y|pan-up|pan-down]||pinch-zoom]|manipulation",transform:"none|<transform-list>","transform-box":"content-box|border-box|fill-box|stroke-box|view-box","transform-origin":"[<length-percentage>|left|center|right|top|bottom]|[[<length-percentage>|left|center|right]&&[<length-percentage>|top|center|bottom]] <length>?","transform-style":"flat|preserve-3d",transition:"<single-transition>#","transition-behavior":"<transition-behavior-value>#","transition-delay":"<time>#","transition-duration":"<time>#","transition-property":"none|<single-transition-property>#","transition-timing-function":"<easing-function>#",translate:"none|<length-percentage> [<length-percentage> <length>?]?","trigger-scope":"none|all|<dashed-ident>#","unicode-bidi":"normal|embed|isolate|bidi-override|isolate-override|plaintext|-moz-isolate|-moz-isolate-override|-moz-plaintext|-webkit-isolate|-webkit-isolate-override|-webkit-plaintext","user-select":"auto|text|none|all","vector-effect":"none|non-scaling-stroke|non-scaling-size|non-rotation|fixed-position","vertical-align":"baseline|sub|super|text-top|text-bottom|middle|top|bottom|<percentage>|<length>","view-timeline":"[<'view-timeline-name'> [<'view-timeline-axis'>||<'view-timeline-inset'>]?]#","view-timeline-axis":"[block|inline|x|y]#","view-timeline-inset":"[[auto|<length-percentage>]{1,2}]#","view-timeline-name":"[none|<dashed-ident>]#","view-transition-class":"none|<custom-ident>+","view-transition-name":"none|<custom-ident>|match-element",visibility:"visible|hidden|collapse","white-space":"normal|pre|pre-wrap|pre-line|<'white-space-collapse'>||<'text-wrap-mode'>","white-space-collapse":"collapse|preserve|preserve-breaks|preserve-spaces|break-spaces",widows:"<integer>",width:"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","will-change":"auto|<animateable-feature>#","word-break":"normal|break-all|keep-all|break-word|auto-phrase","word-spacing":"normal|<length>","word-wrap":"normal|break-word","writing-mode":"horizontal-tb|vertical-rl|vertical-lr|sideways-rl|sideways-lr|<svg-writing-mode>",x:"<length>|<percentage>",y:"<length>|<percentage>","z-index":"auto|<integer>",zoom:"normal|reset|<number [0,∞]>||<percentage [0,∞]>","-moz-background-clip":"padding|border","-moz-border-radius-bottomleft":"<'border-bottom-left-radius'>","-moz-border-radius-bottomright":"<'border-bottom-right-radius'>","-moz-border-radius-topleft":"<'border-top-left-radius'>","-moz-border-radius-topright":"<'border-bottom-right-radius'>","-moz-control-character-visibility":"visible|hidden","-moz-osx-font-smoothing":"auto|grayscale","-moz-user-select":"none|text|all|-moz-none","-ms-flex-align":"start|end|center|baseline|stretch","-ms-flex-item-align":"auto|start|end|center|baseline|stretch","-ms-flex-line-pack":"start|end|center|justify|distribute|stretch","-ms-flex-negative":"<'flex-shrink'>","-ms-flex-pack":"start|end|center|justify|distribute","-ms-flex-order":"<integer>","-ms-flex-positive":"<'flex-grow'>","-ms-flex-preferred-size":"<'flex-basis'>","-ms-interpolation-mode":"nearest-neighbor|bicubic","-ms-grid-column-align":"start|end|center|stretch","-ms-grid-row-align":"start|end|center|stretch","-ms-hyphenate-limit-last":"none|always|column|page|spread","-webkit-background-clip":"[<visual-box>|border|padding|content|text]#","-webkit-column-break-after":"always|auto|avoid","-webkit-column-break-before":"always|auto|avoid","-webkit-column-break-inside":"always|auto|avoid","-webkit-font-smoothing":"auto|none|antialiased|subpixel-antialiased","-webkit-mask-box-image":"[<url>|<gradient>|none] [<length-percentage>{4} <-webkit-mask-box-repeat>{2}]?","-webkit-print-color-adjust":"economy|exact","-webkit-text-security":"none|circle|disc|square","-webkit-user-drag":"none|element|auto",behavior:"<url>+",cue:"<'cue-before'> <'cue-after'>?","cue-after":"<url> <decibel>?|none","cue-before":"<url> <decibel>?|none","glyph-orientation-horizontal":"<angle>","glyph-orientation-vertical":"<angle>",kerning:"auto|<svg-length>",pause:"<'pause-before'> <'pause-after'>?","pause-after":"<time>|none|x-weak|weak|medium|strong|x-strong","pause-before":"<time>|none|x-weak|weak|medium|strong|x-strong","position-try-options":"<'position-try-fallbacks'>",rest:"<'rest-before'> <'rest-after'>?","rest-after":"<time>|none|x-weak|weak|medium|strong|x-strong","rest-before":"<time>|none|x-weak|weak|medium|strong|x-strong",speak:"auto|never|always","voice-balance":"<number>|left|center|right|leftwards|rightwards","voice-duration":"auto|<time>","voice-family":"[[<family-name>|<generic-voice>] ,]* [<family-name>|<generic-voice>]|preserve","voice-pitch":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-range":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-rate":"[normal|x-slow|slow|medium|fast|x-fast]||<percentage>","voice-stress":"normal|strong|moderate|none|reduced","voice-volume":"silent|[[x-soft|soft|medium|loud|x-loud]||<decibel>]","white-space-trim":"none|discard-before||discard-after||discard-inner"},atrules:{charset:{prelude:"<string>",descriptors:null},"counter-style":{prelude:"<counter-style-name>",descriptors:{"additive-symbols":"[<integer [0,∞]>&&<symbol>]#",fallback:"<counter-style-name>",negative:"<symbol> <symbol>?",pad:"<integer [0,∞]>&&<symbol>",prefix:"<symbol>",range:"[[<integer>|infinite]{2}]#|auto","speak-as":"auto|bullets|numbers|words|spell-out|<counter-style-name>",suffix:"<symbol>",symbols:"<symbol>+",system:"cyclic|numeric|alphabetic|symbolic|additive|[fixed <integer>?]|[extends <counter-style-name>]"}},container:{prelude:"[<container-name>]? <container-condition>",descriptors:null},document:{prelude:"[<url>|url-prefix( <string> )|domain( <string> )|media-document( <string> )|regexp( <string> )]#",descriptors:null},"font-face":{prelude:null,descriptors:{"ascent-override":"normal|<percentage>","descent-override":"normal|<percentage>","font-display":"auto|block|swap|fallback|optional","font-family":"<family-name>","font-feature-settings":"normal|<feature-tag-value>#","font-stretch":"<font-stretch-absolute>{1,2}","font-style":"normal|italic|oblique <angle>{0,2}","font-variation-settings":"normal|[<string> <number>]#","font-weight":"<font-weight-absolute>{1,2}","line-gap-override":"normal|<percentage>","size-adjust":"<percentage>",src:"[<url> [format( <string># )]?|local( <family-name> )]#","unicode-range":"<urange>#"}},"font-feature-values":{prelude:"<family-name>#",descriptors:null},"font-palette-values":{prelude:"<dashed-ident>",descriptors:{"base-palette":"light|dark|<integer [0,∞]>","font-family":"<family-name>#","override-colors":"[<integer [0,∞]> <color>]#"}},import:{prelude:"[<string>|<url>] [layer|layer( <layer-name> )]? [supports( [<supports-condition>|<declaration>] )]? <media-query-list>?",descriptors:null},keyframes:{prelude:"<keyframes-name>",descriptors:null},layer:{prelude:"[<layer-name>#|<layer-name>?]",descriptors:null},media:{prelude:"<media-query-list>",descriptors:null},namespace:{prelude:"<namespace-prefix>? [<string>|<url>]",descriptors:null},page:{prelude:"<page-selector-list>",descriptors:{bleed:"auto|<length>",marks:"none|[crop||cross]","page-orientation":"upright|rotate-left|rotate-right",size:"<length [0,∞]>{1,2}|auto|[<page-size>||[portrait|landscape]]"}},"position-try":{prelude:"<dashed-ident>",descriptors:{top:"<'top'>",left:"<'left'>",bottom:"<'bottom'>",right:"<'right'>","inset-block-start":"<'inset-block-start'>","inset-block-end":"<'inset-block-end'>","inset-inline-start":"<'inset-inline-start'>","inset-inline-end":"<'inset-inline-end'>","inset-block":"<'inset-block'>","inset-inline":"<'inset-inline'>",inset:"<'inset'>","margin-top":"<'margin-top'>","margin-left":"<'margin-left'>","margin-bottom":"<'margin-bottom'>","margin-right":"<'margin-right'>","margin-block-start":"<'margin-block-start'>","margin-block-end":"<'margin-block-end'>","margin-inline-start":"<'margin-inline-start'>","margin-inline-end":"<'margin-inline-end'>",margin:"<'margin'>","margin-block":"<'margin-block'>","margin-inline":"<'margin-inline'>",width:"<'width'>",height:"<'height'>","min-width":"<'min-width'>","min-height":"<'min-height'>","max-width":"<'max-width'>","max-height":"<'max-height'>","block-size":"<'block-size'>","inline-size":"<'inline-size'>","min-block-size":"<'min-block-size'>","min-inline-size":"<'min-inline-size'>","max-block-size":"<'max-block-size'>","max-inline-size":"<'max-inline-size'>","align-self":"<'align-self'>|anchor-center","justify-self":"<'justify-self'>|anchor-center"}},property:{prelude:"<custom-property-name>",descriptors:{inherits:"true|false","initial-value":"<declaration-value>?",syntax:"<string>"}},scope:{prelude:"[( <scope-start> )]? [to ( <scope-end> )]?",descriptors:null},"starting-style":{prelude:null,descriptors:null},supports:{prelude:"<supports-condition>",descriptors:null},"view-transition":{prelude:null,descriptors:{navigation:"auto|none",types:"none|<custom-ident>+"}},"font-features-values":{prelude:"[<string>|<custom-ident>]+",descriptors:{"font-display":"auto|block|swap|fallback|optional"}}}}}),jI={};A(jI,{generate:()=>TW,name:()=>LI,parse:()=>TI,structure:()=>FI});function nm(e,t){let r=this.tokenStart+e,n=this.charCodeAt(r);for((n===rr||n===Pt)&&(t&&this.error("Number sign is not allowed"),r++);r<this.tokenEnd;r++)pt(this.charCodeAt(r))||this.error("Integer is expected",r)}function Ai(e){return nm.call(this,0,e)}function Ur(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let r="";switch(t){case Ic:r="N is expected";break;case Pt:r="HyphenMinus is expected";break}this.error(r,this.tokenStart+e)}}function Zf(){let e=0,t=0,r=this.tokenType;for(;r===13||r===25;)r=this.lookupType(++e);if(r!==10)if(this.isDelim(rr,e)||this.isDelim(Pt,e)){t=this.isDelim(rr,e)?rr:Pt;do r=this.lookupType(++e);while(r===13||r===25);r!==10&&(this.skip(e),Ai.call(this,Yr))}else return null;return e>0&&this.skip(e),t===0&&(r=this.charCodeAt(this.tokenStart),r!==rr&&r!==Pt&&this.error("Number sign is expected")),Ai.call(this,t!==0),t===Pt?"-"+this.consume(10):this.consume(10)}function TI(){let e=this.tokenStart,t=null,r=null;if(this.tokenType===10)Ai.call(this,DI),r=this.consume(10);else if(this.tokenType===1&&this.cmpChar(this.tokenStart,Pt))switch(t="-1",Ur.call(this,1,Ic),this.tokenEnd-this.tokenStart){case 2:this.next(),r=Zf.call(this);break;case 3:Ur.call(this,2,Pt),this.next(),this.skipSC(),Ai.call(this,Yr),r="-"+this.consume(10);break;default:Ur.call(this,2,Pt),nm.call(this,3,Yr),this.next(),r=this.substrToCursor(e+2)}else if(this.tokenType===1||this.isDelim(rr)&&this.lookupType(1)===1){let n=0;switch(t="1",this.isDelim(rr)&&(n=1,this.next()),Ur.call(this,0,Ic),this.tokenEnd-this.tokenStart){case 1:this.next(),r=Zf.call(this);break;case 2:Ur.call(this,1,Pt),this.next(),this.skipSC(),Ai.call(this,Yr),r="-"+this.consume(10);break;default:Ur.call(this,1,Pt),nm.call(this,2,Yr),this.next(),r=this.substrToCursor(e+n+1)}}else if(this.tokenType===12){let n=this.charCodeAt(this.tokenStart),i=n===rr||n===Pt,o=this.tokenStart+i;for(;o<this.tokenEnd&&pt(this.charCodeAt(o));o++);o===this.tokenStart+i&&this.error("Integer is expected",this.tokenStart+i),Ur.call(this,o-this.tokenStart,Ic),t=this.substring(e,o),o+1===this.tokenEnd?(this.next(),r=Zf.call(this)):(Ur.call(this,o-this.tokenStart+1,Pt),o+2===this.tokenEnd?(this.next(),this.skipSC(),Ai.call(this,Yr),r="-"+this.consume(10)):(nm.call(this,o-this.tokenStart+2,Yr),this.next(),r=this.substrToCursor(o+1)))}else this.error();return t!==null&&t.charCodeAt(0)===rr&&(t=t.substr(1)),r!==null&&r.charCodeAt(0)===rr&&(r=r.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:r}}function TW(e){if(e.a){let t=e.a==="+1"&&"n"||e.a==="1"&&"n"||e.a==="-1"&&"-n"||e.a+"n";if(e.b){let r=e.b[0]==="-"||e.b[0]==="+"?e.b:"+"+e.b;this.tokenize(t+r)}else this.tokenize(t)}else this.tokenize(e.b)}var rr,Pt,Ic,Yr,DI,LI,FI,MI=y(()=>{mr(),rr=43,Pt=45,Ic=110,Yr=!0,DI=!1,LI="AnPlusB",FI={a:[String,null],b:[String,null]}}),RI={};A(RI,{generate:()=>LW,name:()=>BI,parse:()=>$I,structure:()=>WI,walkContext:()=>qI});function D0(){return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function DW(){for(let e=1,t;t=this.lookupType(e);e++){if(t===24)return!0;if(t===23||t===3)return!1}return!1}function $I(e=!1){let t=this.tokenStart,r,n,i=null,o=null;switch(this.eat(3),r=this.substrToCursor(t+1),n=r.toLowerCase(),this.skipSC(),this.eof===!1&&this.tokenType!==23&&this.tokenType!==17&&(this.parseAtrulePrelude?i=this.parseWithFallback(this.AtrulePrelude.bind(this,r,e),D0):i=D0.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case 17:this.next();break;case 23:hasOwnProperty.call(this.atrule,n)&&typeof this.atrule[n].block=="function"?o=this.atrule[n].block.call(this,e):o=this.Block(DW.call(this));break}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:r,prelude:i,block:o}}function LW(e){this.token(3,"@"+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(17,";")}var BI,qI,WI,_I=y(()=>{BI="Atrule",qI="atrule",WI={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]}}),UI={};A(UI,{generate:()=>FW,name:()=>QI,parse:()=>VI,structure:()=>GI,walkContext:()=>YI});function VI(e){let t=null;return e!==null&&(e=e.toLowerCase()),this.skipSC(),hasOwnProperty.call(this.atrule,e)&&typeof this.atrule[e].prelude=="function"?t=this.atrule[e].prelude.call(this):t=this.readSequence(this.scope.AtrulePrelude),this.skipSC(),this.eof!==!0&&this.tokenType!==23&&this.tokenType!==17&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}function FW(e){this.children(e)}var QI,YI,GI,KI=y(()=>{QI="AtrulePrelude",YI="atrulePrelude",GI={children:[[]]}}),HI={};A(HI,{generate:()=>$W,name:()=>tO,parse:()=>XI,structure:()=>rO});function MW(){this.eof&&this.error("Unexpected end of input");let e=this.tokenStart,t=!1;return this.isDelim(fk)?(t=!0,this.next()):this.isDelim(Rm)||this.eat(1),this.isDelim(Rm)?this.charCodeAt(this.tokenStart+1)!==Oc?(this.next(),this.eat(1)):t&&this.error("Identifier is expected",this.tokenEnd):t&&this.error("Vertical line is expected"),{type:"Identifier",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function RW(){let e=this.tokenStart,t=this.charCodeAt(e);return t!==Oc&&t!==eO&&t!==ZI&&t!==JI&&t!==fk&&t!==Rm&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==Oc&&(this.isDelim(Oc)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}function XI(){let e=this.tokenStart,t,r=null,n=null,i=null;return this.eat(19),this.skipSC(),t=MW.call(this),this.skipSC(),this.tokenType!==20&&(this.tokenType!==1&&(r=RW.call(this),this.skipSC(),n=this.tokenType===5?this.String():this.Identifier(),this.skipSC()),this.tokenType===1&&(i=this.consume(1),this.skipSC())),this.eat(20),{type:"AttributeSelector",loc:this.getLocation(e,this.tokenStart),name:t,matcher:r,value:n,flags:i}}function $W(e){this.token(9,"["),this.node(e.name),e.matcher!==null&&(this.tokenize(e.matcher),this.node(e.value)),e.flags!==null&&this.token(1,e.flags),this.token(9,"]")}var JI,fk,Oc,ZI,Rm,eO,tO,rO,nO=y(()=>{JI=36,fk=42,Oc=61,ZI=94,Rm=124,eO=126,tO="AttributeSelector",rO={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]}}),iO={};A(iO,{generate:()=>qW,name:()=>lO,parse:()=>aO,structure:()=>cO,walkContext:()=>uO});function oO(){return this.Raw(null,!0)}function L0(){return this.parseWithFallback(this.Rule,oO)}function F0(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function BW(){if(this.tokenType===17)return F0.call(this,this.tokenIndex);let e=this.parseWithFallback(this.Declaration,F0);return this.tokenType===17&&this.next(),e}function aO(e){let t=e?BW:L0,r=this.tokenStart,n=this.createList();this.eat(23);e:for(;!this.eof;)switch(this.tokenType){case 24:break e;case 13:case 25:this.next();break;case 3:n.push(this.parseWithFallback(this.Atrule.bind(this,e),oO));break;default:e&&this.isDelim(sO)?n.push(L0.call(this)):n.push(t.call(this))}return this.eof||this.eat(24),{type:"Block",loc:this.getLocation(r,this.tokenStart),children:n}}function qW(e){this.token(23,"{"),this.children(e,t=>{t.type==="Declaration"&&this.token(17,";")}),this.token(24,"}")}var sO,lO,uO,cO,dO=y(()=>{sO=38,lO="Block",uO="block",cO={children:[["Atrule","Rule","Declaration"]]}}),pO={};A(pO,{generate:()=>WW,name:()=>hO,parse:()=>mO,structure:()=>fO});function mO(e,t){let r=this.tokenStart,n=null;return this.eat(19),n=e.call(this,t),this.eof||this.eat(20),{type:"Brackets",loc:this.getLocation(r,this.tokenStart),children:n}}function WW(e){this.token(9,"["),this.children(e),this.token(9,"]")}var hO,fO,gO=y(()=>{hO="Brackets",fO={children:[[]]}}),bO={};A(bO,{generate:()=>_W,name:()=>yO,parse:()=>vO,structure:()=>wO});function vO(){let e=this.tokenStart;return this.eat(15),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function _W(){this.token(15,"-->")}var yO,wO,kO=y(()=>{yO="CDC",wO=[]}),xO={};A(xO,{generate:()=>UW,name:()=>CO,parse:()=>SO,structure:()=>zO});function SO(){let e=this.tokenStart;return this.eat(14),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function UW(){this.token(14,"<!--")}var CO,zO,AO=y(()=>{CO="CDO",zO=[]}),NO={};A(NO,{generate:()=>VW,name:()=>IO,parse:()=>EO,structure:()=>OO});function EO(){return this.eatDelim(PO),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(1)}}function VW(e){this.token(9,"."),this.token(1,e.name)}var PO,IO,OO,jO=y(()=>{PO=46,IO="ClassSelector",OO={name:String}}),TO={};A(TO,{generate:()=>QW,name:()=>RO,parse:()=>DO,structure:()=>$O});function DO(){let e=this.tokenStart,t;switch(this.tokenType){case 13:t=" ";break;case 9:switch(this.charCodeAt(this.tokenStart)){case FO:case LO:case MO:this.next();break;case wy:this.next(),this.eatIdent("deep"),this.eatDelim(wy);break;default:this.error("Combinator is expected")}t=this.substrToCursor(e);break}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}}function QW(e){this.tokenize(e.name)}var LO,wy,FO,MO,RO,$O,BO=y(()=>{LO=43,wy=47,FO=62,MO=126,RO="Combinator",$O={name:String}}),qO={};A(qO,{generate:()=>YW,name:()=>VO,parse:()=>WO,structure:()=>QO});function WO(){let e=this.tokenStart,t=this.tokenEnd;return this.eat(25),t-e+2>=2&&this.charCodeAt(t-2)===_O&&this.charCodeAt(t-1)===UO&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function YW(e){this.token(25,"/*"+e.value+"*/")}var _O,UO,VO,QO,YO=y(()=>{_O=42,UO=47,VO="Comment",QO={value:String}}),GO={};A(GO,{generate:()=>GW,name:()=>XO,parse:()=>KO,structure:()=>JO});function M0(e){return this.lookupTypeNonSC(1)===1&&HO.has(this.lookupTypeNonSC(2))?this.Feature(e):this.FeatureRange(e)}function KO(e="media"){let t=this.createList();e:for(;!this.eof;)switch(this.tokenType){case 25:case 13:this.next();continue;case 1:t.push(this.Identifier());break;case 21:{let r=this.parseWithFallback(()=>ZO[e].call(this,e),()=>null);r||(r=this.parseWithFallback(()=>{this.eat(21);let n=this.Condition(e);return this.eat(22),n},()=>this.GeneralEnclosed(e))),t.push(r);break}case 2:{let r=this.parseWithFallback(()=>this.FeatureFunction(e),()=>null);r||(r=this.GeneralEnclosed(e)),t.push(r);break}default:break e}return t.isEmpty&&this.error("Condition is expected"),{type:"Condition",loc:this.getLocationFromList(t),kind:e,children:t}}function GW(e){e.children.forEach(t=>{t.type==="Condition"?(this.token(21,"("),this.node(t),this.token(22,")")):this.node(t)})}var HO,XO,JO,ZO,ej=y(()=>{HO=new Set([16,22,0]),XO="Condition",JO={kind:String,children:[["Identifier","Feature","FeatureFunction","FeatureRange","SupportsDeclaration"]]},ZO={media:M0,container:M0,supports(){return this.SupportsDeclaration()}}}),tj={};A(tj,{generate:()=>JW,name:()=>lj,parse:()=>rj,structure:()=>cj,walkContext:()=>uj});function KW(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!0)}function HW(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1)}function XW(){let e=this.tokenIndex,t=this.Value();return t.type!=="Raw"&&this.eof===!1&&this.tokenType!==17&&this.isDelim(gk)===!1&&this.isBalanceEdge(e)===!1&&this.error(),t}function rj(){let e=this.tokenStart,t=this.tokenIndex,r=ZW.call(this),n=ik(r),i=n?this.parseCustomProperty:this.parseValue,o=n?HW:KW,a=!1,s;this.skipSC(),this.eat(16);let l=this.tokenIndex;if(n||this.skipSC(),i?s=this.parseWithFallback(XW,o):s=o.call(this,this.tokenIndex),n&&s.type==="Value"&&s.children.isEmpty){for(let u=l-this.tokenIndex;u<=0;u++)if(this.lookupType(u)===13){s.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}return this.isDelim(gk)&&(a=e_.call(this),this.skipSC()),this.eof===!1&&this.tokenType!==17&&this.isBalanceEdge(t)===!1&&this.error(),{type:"Declaration",loc:this.getLocation(e,this.tokenStart),important:a,property:r,value:s}}function JW(e){this.token(1,e.property),this.token(16,":"),this.node(e.value),e.important&&(this.token(9,"!"),this.token(1,e.important===!0?"important":e.important))}function ZW(){let e=this.tokenStart;if(this.tokenType===9)switch(this.charCodeAt(this.tokenStart)){case aj:case ij:case sj:case nj:case oj:this.next();break;case ky:this.next(),this.isDelim(ky)&&this.next();break}return this.tokenType===4?this.eat(4):this.eat(1),this.substrToCursor(e)}function e_(){this.eat(9),this.skipSC();let e=this.consume(1);return e==="important"?!0:e}var gk,nj,ij,oj,aj,sj,ky,lj,uj,cj,dj=y(()=>{ok(),gk=33,nj=35,ij=36,oj=38,aj=42,sj=43,ky=47,lj="Declaration",uj="declaration",cj={important:[Boolean,String],property:String,value:["Value","Raw"]}}),pj={};A(pj,{generate:()=>t_,name:()=>fj,parse:()=>mj,structure:()=>gj});function eg(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function mj(){let e=this.createList();for(;!this.eof;)switch(this.tokenType){case 13:case 25:case 17:this.next();break;case 3:e.push(this.parseWithFallback(this.Atrule.bind(this,!0),eg));break;default:this.isDelim(hj)?e.push(this.parseWithFallback(this.Rule,eg)):e.push(this.parseWithFallback(this.Declaration,eg))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function t_(e){this.children(e,t=>{t.type==="Declaration"&&this.token(17,";")})}var hj,fj,gj,bj=y(()=>{hj=38,fj="DeclarationList",gj={children:[["Declaration","Atrule","Rule"]]}}),vj={};A(vj,{generate:()=>r_,name:()=>wj,parse:()=>yj,structure:()=>kj});function yj(){let e=this.tokenStart,t=this.consumeNumber(12);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}function r_(e){this.token(12,e.value+e.unit)}var wj,kj,xj=y(()=>{wj="Dimension",kj={value:String,unit:String}}),Sj={};A(Sj,{generate:()=>n_,name:()=>Aj,parse:()=>Cj,structure:()=>Nj});function Cj(e){let t=this.tokenStart,r,n=null;if(this.eat(21),this.skipSC(),r=this.consume(1),this.skipSC(),this.tokenType!==22){switch(this.eat(16),this.skipSC(),this.tokenType){case 10:this.lookupNonWSType(1)===9?n=this.Ratio():n=this.Number();break;case 12:n=this.Dimension();break;case 1:n=this.Identifier();break;case 2:n=this.parseWithFallback(()=>{let i=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(zj)&&this.error(),i},()=>this.Ratio());break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eof||this.eat(22),{type:"Feature",loc:this.getLocation(t,this.tokenStart),kind:e,name:r,value:n}}function n_(e){this.token(21,"("),this.token(1,e.name),e.value!==null&&(this.token(16,":"),this.node(e.value)),this.token(22,")")}var zj,Aj,Nj,Ej=y(()=>{zj=47,Aj="Feature",Nj={kind:String,name:String,value:["Identifier","Number","Dimension","Ratio","Function",null]}}),Pj={};A(Pj,{generate:()=>o_,name:()=>Oj,parse:()=>Ij,structure:()=>jj});function i_(e,t){let r=(this.features[e]||{})[t];return typeof r!="function"&&this.error(`Unknown feature ${t}()`),r}function Ij(e="unknown"){let t=this.tokenStart,r=this.consumeFunctionName(),n=i_.call(this,e,r.toLowerCase());this.skipSC();let i=this.parseWithFallback(()=>{let o=this.tokenIndex,a=n.call(this);return this.eof===!1&&this.isBalanceEdge(o)===!1&&this.error(),a},()=>this.Raw(null,!1));return this.eof||this.eat(22),{type:"FeatureFunction",loc:this.getLocation(t,this.tokenStart),kind:e,feature:r,value:i}}function o_(e){this.token(2,e.feature+"("),this.node(e.value),this.token(22,")")}var Oj,jj,Tj=y(()=>{Oj="FeatureFunction",jj={kind:String,feature:String,value:["Declaration","Selector"]}}),Dj={};A(Dj,{generate:()=>a_,name:()=>Rj,parse:()=>Lj,structure:()=>$j});function tg(){switch(this.skipSC(),this.tokenType){case 10:return this.isDelim(xy,this.lookupOffsetNonSC(1))?this.Ratio():this.Number();case 12:return this.Dimension();case 1:return this.Identifier();case 2:return this.parseWithFallback(()=>{let e=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(xy)&&this.error(),e},()=>this.Ratio());default:this.error("Number, dimension, ratio or identifier is expected")}}function R0(e){if(this.skipSC(),this.isDelim(Fj)||this.isDelim(Mj)){let t=this.source[this.tokenStart];return this.next(),this.isDelim(Sy)?(this.next(),t+"="):t}if(this.isDelim(Sy))return"=";this.error(`Expected ${e?'":", ':""}"<", ">", "=" or ")"`)}function Lj(e="unknown"){let t=this.tokenStart;this.skipSC(),this.eat(21);let r=tg.call(this),n=R0.call(this,r.type==="Identifier"),i=tg.call(this),o=null,a=null;return this.lookupNonWSType(0)!==22&&(o=R0.call(this),a=tg.call(this)),this.skipSC(),this.eat(22),{type:"FeatureRange",loc:this.getLocation(t,this.tokenStart),kind:e,left:r,leftComparison:n,middle:i,rightComparison:o,right:a}}function a_(e){this.token(21,"("),this.node(e.left),this.tokenize(e.leftComparison),this.node(e.middle),e.right&&(this.tokenize(e.rightComparison),this.node(e.right)),this.token(22,")")}var xy,Fj,Sy,Mj,Rj,$j,Bj=y(()=>{xy=47,Fj=60,Sy=61,Mj=62,Rj="FeatureRange",$j={kind:String,left:["Identifier","Number","Dimension","Ratio","Function"],leftComparison:String,middle:["Identifier","Number","Dimension","Ratio","Function"],rightComparison:[String,null],right:["Identifier","Number","Dimension","Ratio","Function",null]}}),qj={};A(qj,{generate:()=>s_,name:()=>_j,parse:()=>Wj,structure:()=>Vj,walkContext:()=>Uj});function Wj(e,t){let r=this.tokenStart,n=this.consumeFunctionName(),i=n.toLowerCase(),o;return o=t.hasOwnProperty(i)?t[i].call(this,t):e.call(this,t),this.eof||this.eat(22),{type:"Function",loc:this.getLocation(r,this.tokenStart),name:n,children:o}}function s_(e){this.token(2,e.name+"("),this.children(e),this.token(22,")")}var _j,Uj,Vj,Qj=y(()=>{_j="Function",Uj="function",Vj={name:String,children:[[]]}}),Yj={};A(Yj,{generate:()=>l_,name:()=>Kj,parse:()=>Gj,structure:()=>Hj});function Gj(e){let t=this.tokenStart,r=null;this.tokenType===2?r=this.consumeFunctionName():this.eat(21);let n=this.parseWithFallback(()=>{let i=this.tokenIndex,o=this.readSequence(this.scope.Value);return this.eof===!1&&this.isBalanceEdge(i)===!1&&this.error(),o},()=>this.createSingleNodeList(this.Raw(null,!1)));return this.eof||this.eat(22),{type:"GeneralEnclosed",loc:this.getLocation(t,this.tokenStart),kind:e,function:r,children:n}}function l_(e){e.function?this.token(2,e.function+"("):this.token(21,"("),this.children(e),this.token(22,")")}var Kj,Hj,Xj=y(()=>{Kj="GeneralEnclosed",Hj={kind:String,function:[String,null],children:[[]]}}),Jj={};A(Jj,{generate:()=>u_,name:()=>tT,parse:()=>Zj,structure:()=>rT,xxx:()=>eT});function Zj(){let e=this.tokenStart;return this.eat(4),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function u_(e){this.token(4,"#"+e.value)}var eT,tT,rT,nT=y(()=>{eT="XXX",tT="Hash",rT={value:String}}),iT={};A(iT,{generate:()=>c_,name:()=>aT,parse:()=>oT,structure:()=>sT});function oT(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(1)}}function c_(e){this.token(1,e.name)}var aT,sT,lT=y(()=>{aT="Identifier",sT={name:String}}),uT={};A(uT,{generate:()=>d_,name:()=>dT,parse:()=>cT,structure:()=>pT});function cT(){let e=this.tokenStart;return this.eat(4),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function d_(e){this.token(9,"#"+e.name)}var dT,pT,mT=y(()=>{dT="IdSelector",pT={name:String}}),hT={};A(hT,{generate:()=>p_,name:()=>bT,parse:()=>fT,structure:()=>vT});function fT(){let e=this.tokenStart,t=this.consume(1);for(;this.isDelim(gT);)this.eat(9),t+="."+this.consume(1);return{type:"Layer",loc:this.getLocation(e,this.tokenStart),name:t}}function p_(e){this.tokenize(e.name)}var gT,bT,vT,yT=y(()=>{gT=46,bT="Layer",vT={name:String}}),wT={};A(wT,{generate:()=>m_,name:()=>xT,parse:()=>kT,structure:()=>ST});function kT(){let e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.Layer()),this.lookupTypeNonSC(0)===18);)this.skipSC(),this.next(),this.skipSC();return{type:"LayerList",loc:this.getLocationFromList(e),children:e}}function m_(e){this.children(e,()=>this.token(18,","))}var xT,ST,CT=y(()=>{xT="LayerList",ST={children:[["Layer"]]}}),zT={};A(zT,{generate:()=>h_,name:()=>NT,parse:()=>AT,structure:()=>ET});function AT(){let e=this.tokenStart,t=null,r=null,n=null;if(this.skipSC(),this.tokenType===1&&this.lookupTypeNonSC(1)!==21){let i=this.consume(1),o=i.toLowerCase();switch(o==="not"||o==="only"?(this.skipSC(),t=o,r=this.consume(1)):r=i,this.lookupTypeNonSC(0)){case 1:{this.skipSC(),this.eatIdent("and"),n=this.Condition("media");break}case 23:case 17:case 18:case 0:break;default:this.error("Identifier or parenthesis is expected")}}else switch(this.tokenType){case 1:case 21:case 2:{n=this.Condition("media");break}case 23:case 17:case 0:break;default:this.error("Identifier or parenthesis is expected")}return{type:"MediaQuery",loc:this.getLocation(e,this.tokenStart),modifier:t,mediaType:r,condition:n}}function h_(e){e.mediaType?(e.modifier&&this.token(1,e.modifier),this.token(1,e.mediaType),e.condition&&(this.token(1,"and"),this.node(e.condition))):e.condition&&this.node(e.condition)}var NT,ET,PT=y(()=>{NT="MediaQuery",ET={modifier:[String,null],mediaType:[String,null],condition:["Condition",null]}}),IT={};A(IT,{generate:()=>f_,name:()=>jT,parse:()=>OT,structure:()=>TT});function OT(){let e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===18);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}function f_(e){this.children(e,()=>this.token(18,","))}var jT,TT,DT=y(()=>{jT="MediaQueryList",TT={children:[["MediaQuery"]]}}),LT={};A(LT,{generate:()=>g_,name:()=>RT,parse:()=>FT,structure:()=>$T});function FT(){let e=this.tokenStart;return this.eatDelim(MT),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}function g_(){this.token(9,"&")}var MT,RT,$T,BT=y(()=>{MT=38,RT="NestingSelector",$T={}}),qT={};A(qT,{generate:()=>b_,name:()=>_T,parse:()=>WT,structure:()=>UT});function WT(){this.skipSC();let e=this.tokenStart,t=e,r=null,n;return this.lookupValue(0,"odd")||this.lookupValue(0,"even")?n=this.Identifier():n=this.AnPlusB(),t=this.tokenStart,this.skipSC(),this.lookupValue(0,"of")&&(this.next(),r=this.SelectorList(),t=this.tokenStart),{type:"Nth",loc:this.getLocation(e,t),nth:n,selector:r}}function b_(e){this.node(e.nth),e.selector!==null&&(this.token(1,"of"),this.node(e.selector))}var _T,UT,VT=y(()=>{_T="Nth",UT={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]}}),QT={};A(QT,{generate:()=>v_,name:()=>GT,parse:()=>YT,structure:()=>KT});function YT(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(10)}}function v_(e){this.token(10,e.value)}var GT,KT,HT=y(()=>{GT="Number",KT={value:String}}),XT={};A(XT,{generate:()=>y_,name:()=>ZT,parse:()=>JT,structure:()=>e4});function JT(){let e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function y_(e){this.tokenize(e.value)}var ZT,e4,t4=y(()=>{ZT="Operator",e4={value:String}}),r4={};A(r4,{generate:()=>w_,name:()=>i4,parse:()=>n4,structure:()=>o4});function n4(e,t){let r=this.tokenStart,n=null;return this.eat(21),n=e.call(this,t),this.eof||this.eat(22),{type:"Parentheses",loc:this.getLocation(r,this.tokenStart),children:n}}function w_(e){this.token(21,"("),this.children(e),this.token(22,")")}var i4,o4,a4=y(()=>{i4="Parentheses",o4={children:[[]]}}),s4={};A(s4,{generate:()=>k_,name:()=>u4,parse:()=>l4,structure:()=>c4});function l4(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(11)}}function k_(e){this.token(11,e.value+"%")}var u4,c4,d4=y(()=>{u4="Percentage",c4={value:String}}),p4={};A(p4,{generate:()=>x_,name:()=>h4,parse:()=>m4,structure:()=>g4,walkContext:()=>f4});function m4(){let e=this.tokenStart,t=null,r,n;return this.eat(16),this.tokenType===2?(r=this.consumeFunctionName(),n=r.toLowerCase(),this.lookupNonWSType(0)==22?t=this.createList():hasOwnProperty.call(this.pseudo,n)?(this.skipSC(),t=this.pseudo[n].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(null,!1))),this.eat(22)):r=this.consume(1),{type:"PseudoClassSelector",loc:this.getLocation(e,this.tokenStart),name:r,children:t}}function x_(e){this.token(16,":"),e.children===null?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(22,")"))}var h4,f4,g4,b4=y(()=>{h4="PseudoClassSelector",f4="function",g4={name:String,children:[["Raw"],null]}}),v4={};A(v4,{generate:()=>S_,name:()=>w4,parse:()=>y4,structure:()=>x4,walkContext:()=>k4});function y4(){let e=this.tokenStart,t=null,r,n;return this.eat(16),this.eat(16),this.tokenType===2?(r=this.consumeFunctionName(),n=r.toLowerCase(),this.lookupNonWSType(0)==22?t=this.createList():hasOwnProperty.call(this.pseudo,n)?(this.skipSC(),t=this.pseudo[n].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(null,!1))),this.eat(22)):r=this.consume(1),{type:"PseudoElementSelector",loc:this.getLocation(e,this.tokenStart),name:r,children:t}}function S_(e){this.token(16,":"),this.token(16,":"),e.children===null?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(22,")"))}var w4,k4,x4,S4=y(()=>{w4="PseudoElementSelector",k4="function",x4={name:String,children:[["Raw"],null]}}),C4={};A(C4,{generate:()=>C_,name:()=>A4,parse:()=>z4,structure:()=>N4});function $0(){switch(this.skipSC(),this.tokenType){case 10:return this.Number();case 2:return this.Function(this.readSequence,this.scope.Value);default:this.error("Number of function is expected")}}function z4(){let e=this.tokenStart,t=$0.call(this),r=null;return this.skipSC(),this.isDelim(Cy)&&(this.eatDelim(Cy),r=$0.call(this)),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:r}}function C_(e){this.node(e.left),this.token(9,"/"),e.right?this.node(e.right):this.node(10,1)}var Cy,A4,N4,E4=y(()=>{Cy=47,A4="Ratio",N4={left:["Number","Function"],right:["Number","Function",null]}}),P4={};A(P4,{generate:()=>A_,name:()=>O4,parse:()=>I4,structure:()=>j4});function z_(){return this.tokenIndex>0&&this.lookupType(-1)===13?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}function I4(e,t){let r=this.getTokenStart(this.tokenIndex),n;return this.skipUntilBalanced(this.tokenIndex,e||this.consumeUntilBalanceEnd),t&&this.tokenStart>r?n=z_.call(this):n=this.tokenStart,{type:"Raw",loc:this.getLocation(r,n),value:this.substring(r,n)}}function A_(e){this.tokenize(e.value)}var O4,j4,T4=y(()=>{O4="Raw",j4={value:String}}),D4={};A(D4,{generate:()=>E_,name:()=>F4,parse:()=>L4,structure:()=>R4,walkContext:()=>M4});function B0(){return this.Raw(this.consumeUntilLeftCurlyBracket,!0)}function N_(){let e=this.SelectorList();return e.type!=="Raw"&&this.eof===!1&&this.tokenType!==23&&this.error(),e}function L4(){let e=this.tokenIndex,t=this.tokenStart,r,n;return this.parseRulePrelude?r=this.parseWithFallback(N_,B0):r=B0.call(this,e),n=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:r,block:n}}function E_(e){this.node(e.prelude),this.node(e.block)}var F4,M4,R4,$4=y(()=>{F4="Rule",M4="rule",R4={prelude:["SelectorList","Raw"],block:["Block"]}}),B4={};A(B4,{generate:()=>P_,name:()=>W4,parse:()=>q4,structure:()=>_4});function q4(){let e=null,t=null;this.skipSC();let r=this.tokenStart;return this.tokenType===21&&(this.next(),this.skipSC(),e=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(22)),this.lookupNonWSType(0)===1&&(this.skipSC(),this.eatIdent("to"),this.skipSC(),this.eat(21),this.skipSC(),t=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(22)),{type:"Scope",loc:this.getLocation(r,this.tokenStart),root:e,limit:t}}function P_(e){e.root&&(this.token(21,"("),this.node(e.root),this.token(22,")")),e.limit&&(this.token(1,"to"),this.token(21,"("),this.node(e.limit),this.token(22,")"))}var W4,_4,U4=y(()=>{W4="Scope",_4={root:["SelectorList","Raw",null],limit:["SelectorList","Raw",null]}}),V4={};A(V4,{generate:()=>I_,name:()=>Y4,parse:()=>Q4,structure:()=>G4});function Q4(){let e=this.readSequence(this.scope.Selector);return this.getFirstListNode(e)===null&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(e),children:e}}function I_(e){this.children(e)}var Y4,G4,K4=y(()=>{Y4="Selector",G4={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator"]]}}),H4={};A(H4,{generate:()=>O_,name:()=>J4,parse:()=>X4,structure:()=>eD,walkContext:()=>Z4});function X4(){let e=this.createList();for(;!this.eof;){if(e.push(this.Selector()),this.tokenType===18){this.next();continue}break}return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}function O_(e){this.children(e,()=>this.token(18,","))}var J4,Z4,eD,tD=y(()=>{J4="SelectorList",Z4="selector",eD={children:[["Selector","Raw"]]}}),rD={};A(rD,{decode:()=>bk,encode:()=>nD});function bk(e){let t=e.length,r=e.charCodeAt(0),n=r===vk||r===yk?1:0,i=n===1&&t>1&&e.charCodeAt(t-1)===r?t-2:t-1,o="";for(let a=n;a<=i;a++){let s=e.charCodeAt(a);if(s===$m){if(a===i){a!==t-1&&(o=e.substr(a+1));break}if(s=e.charCodeAt(++a),wr($m,s)){let l=a-1,u=Ui(e,l);a=u-1,o+=SP(e.substring(l+1,u))}else s===13&&e.charCodeAt(a+1)===10&&a++}else o+=e[a]}return o}function nD(e,t){let r=t?"'":'"',n=t?yk:vk,i="",o=!1;for(let a=0;a<e.length;a++){let s=e.charCodeAt(a);if(s===0){i+="�";continue}if(s<=31||s===127){i+="\\"+s.toString(16),o=!0;continue}s===n||s===$m?(i+="\\"+e.charAt(a),o=!1):(o&&(en(s)||xn(s))&&(i+=" "),i+=e.charAt(a),o=!1)}return r+i+r}var $m,vk,yk,wk=y(()=>{mr(),$m=92,vk=34,yk=39}),iD={};A(iD,{generate:()=>j_,name:()=>aD,parse:()=>oD,structure:()=>sD});function oD(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:bk(this.consume(5))}}function j_(e){this.token(5,nD(e.value))}var aD,sD,lD=y(()=>{wk(),aD="String",sD={value:String}}),uD={};A(uD,{generate:()=>T_,name:()=>pD,parse:()=>cD,structure:()=>hD,walkContext:()=>mD});function q0(){return this.Raw(null,!1)}function cD(){let e=this.tokenStart,t=this.createList(),r;for(;!this.eof;){switch(this.tokenType){case 13:this.next();continue;case 25:if(this.charCodeAt(this.tokenStart+2)!==dD){this.next();continue}r=this.Comment();break;case 14:r=this.CDO();break;case 15:r=this.CDC();break;case 3:r=this.parseWithFallback(this.Atrule,q0);break;default:r=this.parseWithFallback(this.Rule,q0)}t.push(r)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}function T_(e){this.children(e)}var dD,pD,mD,hD,fD=y(()=>{dD=33,pD="StyleSheet",mD="stylesheet",hD={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]}}),gD={};A(gD,{generate:()=>D_,name:()=>vD,parse:()=>bD,structure:()=>yD});function bD(){let e=this.tokenStart;this.eat(21),this.skipSC();let t=this.Declaration();return this.eof||this.eat(22),{type:"SupportsDeclaration",loc:this.getLocation(e,this.tokenStart),declaration:t}}function D_(e){this.token(21,"("),this.node(e.declaration),this.token(22,")")}var vD,yD,wD=y(()=>{vD="SupportsDeclaration",yD={declaration:"Declaration"}}),kD={};A(kD,{generate:()=>L_,name:()=>CD,parse:()=>xD,structure:()=>zD});function rg(){this.tokenType!==1&&this.isDelim(SD)===!1&&this.error("Identifier or asterisk is expected"),this.next()}function xD(){let e=this.tokenStart;return this.isDelim(zy)?(this.next(),rg.call(this)):(rg.call(this),this.isDelim(zy)&&(this.next(),rg.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function L_(e){this.tokenize(e.name)}var SD,zy,CD,zD,AD=y(()=>{SD=42,zy=124,CD="TypeSelector",zD={name:String}}),ND={};A(ND,{generate:()=>R_,name:()=>PD,parse:()=>ED,structure:()=>ID});function xc(e,t){let r=0;for(let n=this.tokenStart+e;n<this.tokenEnd;n++){let i=this.charCodeAt(n);if(i===xk&&t&&r!==0)return xc.call(this,e+r+1,!1),-1;en(i)||this.error(t&&r!==0?"Hyphen minus"+(r<6?" or hex digit":"")+" is expected":r<6?"Hex digit is expected":"Unexpected input",n),++r>6&&this.error("Too many hex digits",n)}return this.next(),r}function Sp(e){let t=0;for(;this.isDelim(Bm);)++t>e&&this.error("Too many question marks"),this.next()}function F_(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===kk?"Plus sign":"Hyphen minus")+" is expected")}function M_(){let e=0;switch(this.tokenType){case 10:if(e=xc.call(this,1,!0),this.isDelim(Bm)){Sp.call(this,6-e);break}if(this.tokenType===12||this.tokenType===10){F_.call(this,xk),xc.call(this,1,!1);break}break;case 12:e=xc.call(this,1,!0),e>0&&Sp.call(this,6-e);break;default:if(this.eatDelim(kk),this.tokenType===1){e=xc.call(this,0,!0),e>0&&Sp.call(this,6-e);break}if(this.isDelim(Bm)){this.next(),Sp.call(this,5);break}this.error("Hex digit or question mark is expected")}}function ED(){let e=this.tokenStart;return this.eatIdent("u"),M_.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function R_(e){this.tokenize(e.value)}var kk,xk,Bm,PD,ID,OD=y(()=>{mr(),kk=43,xk=45,Bm=63,PD="UnicodeRange",ID={value:String}});function $_(e){let t=e.length,r=4,n=e.charCodeAt(t-1)===Sk?t-2:t-1,i="";for(;r<n&&xn(e.charCodeAt(r));)r++;for(;r<n&&xn(e.charCodeAt(n));)n--;for(let o=r;o<=n;o++){let a=e.charCodeAt(o);if(a===qm){if(o===n){o!==t-1&&(i=e.substr(o+1));break}if(a=e.charCodeAt(++o),wr(qm,a)){let s=o-1,l=Ui(e,s);o=l-1,i+=SP(e.substring(s+1,l))}else a===13&&e.charCodeAt(o+1)===10&&o++}else i+=e[o]}return i}function B_(e){let t="",r=!1;for(let n=0;n<e.length;n++){let i=e.charCodeAt(n);if(i===0){t+="�";continue}if(i<=31||i===127){t+="\\"+i.toString(16),r=!0;continue}i===jD||i===qm||i===TD||i===DD||i===LD||i===Sk?(t+="\\"+e.charAt(n),r=!1):(r&&en(i)&&(t+=" "),t+=e.charAt(n),r=!1)}return"url("+t+")"}var jD,qm,TD,DD,LD,Sk,FD=y(()=>{mr(),jD=32,qm=92,TD=34,DD=39,LD=40,Sk=41}),MD={};A(MD,{generate:()=>q_,name:()=>$D,parse:()=>RD,structure:()=>BD});function RD(){let e=this.tokenStart,t;switch(this.tokenType){case 7:t=$_(this.consume(7));break;case 2:this.cmpStr(this.tokenStart,this.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(2),this.skipSC(),t=bk(this.consume(5)),this.skipSC(),this.eof||this.eat(22);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(e,this.tokenStart),value:t}}function q_(e){this.token(7,B_(e.value))}var $D,BD,qD=y(()=>{FD(),wk(),$D="Url",BD={value:String}}),WD={};A(WD,{generate:()=>W_,name:()=>UD,parse:()=>_D,structure:()=>VD});function _D(){let e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function W_(e){this.children(e)}var UD,VD,QD=y(()=>{UD="Value",VD={children:[[]]}}),YD={};A(YD,{generate:()=>__,name:()=>HD,parse:()=>GD,structure:()=>XD});function GD(){return this.eat(13),KD}function __(e){this.token(13,e.value)}var KD,HD,XD,JD=y(()=>{KD=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),HD="WhiteSpace",XD={value:String}}),Ck={};A(Ck,{AnPlusB:()=>jI,Atrule:()=>RI,AtrulePrelude:()=>UI,AttributeSelector:()=>HI,Block:()=>iO,Brackets:()=>pO,CDC:()=>bO,CDO:()=>xO,ClassSelector:()=>NO,Combinator:()=>TO,Comment:()=>qO,Condition:()=>GO,Declaration:()=>tj,DeclarationList:()=>pj,Dimension:()=>vj,Feature:()=>Sj,FeatureFunction:()=>Pj,FeatureRange:()=>Dj,Function:()=>qj,GeneralEnclosed:()=>Yj,Hash:()=>Jj,IdSelector:()=>uT,Identifier:()=>iT,Layer:()=>hT,LayerList:()=>wT,MediaQuery:()=>zT,MediaQueryList:()=>IT,NestingSelector:()=>LT,Nth:()=>qT,Number:()=>QT,Operator:()=>XT,Parentheses:()=>r4,Percentage:()=>s4,PseudoClassSelector:()=>p4,PseudoElementSelector:()=>v4,Ratio:()=>C4,Raw:()=>P4,Rule:()=>D4,Scope:()=>B4,Selector:()=>V4,SelectorList:()=>H4,String:()=>iD,StyleSheet:()=>uD,SupportsDeclaration:()=>gD,TypeSelector:()=>kD,UnicodeRange:()=>ND,Url:()=>MD,Value:()=>WD,WhiteSpace:()=>YD});var ZD=y(()=>{MI(),_I(),KI(),nO(),dO(),gO(),kO(),AO(),jO(),BO(),YO(),ej(),dj(),bj(),xj(),Ej(),Tj(),Bj(),Qj(),Xj(),nT(),lT(),mT(),yT(),CT(),PT(),DT(),BT(),VT(),HT(),t4(),a4(),d4(),b4(),S4(),E4(),T4(),$4(),U4(),K4(),tD(),lD(),fD(),wD(),AD(),OD(),qD(),QD(),JD()}),eL,U_=y(()=>{ak(),jW(),ZD(),eL={generic:!0,cssWideKeywords:vh,...OI,node:Ck}});function tL(e){switch(this.tokenType){case 4:return this.Hash();case 18:return this.Operator();case 21:return this.Parentheses(this.readSequence,e.recognizer);case 19:return this.Brackets(this.readSequence,e.recognizer);case 5:return this.String();case 12:return this.Dimension();case 11:return this.Percentage();case 10:return this.Number();case 2:return this.cmpStr(this.tokenStart,this.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,e.recognizer);case 7:return this.Url();case 1:return this.cmpChar(this.tokenStart,aL)&&this.cmpChar(this.tokenStart+1,Ay)?this.UnicodeRange():this.Identifier();case 9:{let t=this.charCodeAt(this.tokenStart);if(t===oL||t===nL||t===Ay||t===iL)return this.Operator();t===rL&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}var rL,nL,Ay,iL,oL,aL,sL=y(()=>{rL=35,nL=42,Ay=43,iL=45,oL=47,aL=117}),lL,V_=y(()=>{sL(),lL={getNode:tL}});function Q_(e,t){t.last!==null&&t.last.type!=="Combinator"&&e!==null&&e.type!=="Combinator"&&t.push({type:"Combinator",loc:null,name:" "})}function Y_(){switch(this.tokenType){case 19:return this.AttributeSelector();case 4:return this.IdSelector();case 16:return this.lookupType(1)===16?this.PseudoElementSelector():this.PseudoClassSelector();case 1:return this.TypeSelector();case 10:case 11:return this.Percentage();case 12:this.charCodeAt(this.tokenStart)===Ny&&this.error("Identifier is expected",this.tokenStart+1);break;case 9:{switch(this.charCodeAt(this.tokenStart)){case pL:case hL:case gL:case mL:return this.Combinator();case Ny:return this.ClassSelector();case dL:case fL:return this.TypeSelector();case uL:return this.IdSelector();case cL:return this.NestingSelector()}break}}}var uL,cL,dL,pL,mL,Ny,hL,fL,gL,bL,G_=y(()=>{uL=35,cL=38,dL=42,pL=43,mL=47,Ny=46,hL=62,fL=124,gL=126,bL={onWhiteSpace:Q_,getNode:Y_}});function K_(){return this.createSingleNodeList(this.Raw(null,!1))}var H_=y(()=>{});function X_(){let e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===18){e.push(this.Operator());let t=this.tokenIndex,r=this.parseCustomProperty?this.Value(null):this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1);if(r.type==="Value"&&r.children.isEmpty){for(let n=t-this.tokenIndex;n<=0;n++)if(this.lookupType(n)===13){r.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}e.push(r)}return e}var J_=y(()=>{});function W0(e){return e!==null&&e.type==="Operator"&&(e.value[e.value.length-1]==="-"||e.value[e.value.length-1]==="+")}var vL,Z_=y(()=>{sL(),H_(),J_(),vL={getNode:tL,onWhiteSpace(e,t){W0(e)&&(e.value=" "+e.value),W0(t.last)&&(t.last.value+=" ")},expression:K_,var:X_}}),yL={};A(yL,{AtrulePrelude:()=>lL,Selector:()=>bL,Value:()=>vL});var e8=y(()=>{V_(),G_(),Z_()}),_0,wL,t8=y(()=>{_0=new Set(["none","and","not","or"]),wL={parse:{prelude(){let e=this.createList();if(this.tokenType===1){let t=this.substring(this.tokenStart,this.tokenEnd);_0.has(t.toLowerCase())||e.push(this.Identifier())}return e.push(this.Condition("container")),e},block(e=!1){return this.Block(e)}}}}),kL,r8=y(()=>{kL={parse:{prelude:null,block(){return this.Block(!0)}}}}),ng,xL,n8=y(()=>{ng={},xL={parse:{prelude(){let e=this.createList();switch(this.tokenType){case 5:e.push(this.String());break;case 7:case 2:e.push(this.Url());break;default:this.error("String or url() is expected")}return this.skipSC(),this.tokenType===1&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer")?e.push(this.Identifier()):this.tokenType===2&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer(")&&e.push(this.Function(null,ng)),this.skipSC(),this.tokenType===2&&this.cmpStr(this.tokenStart,this.tokenEnd,"supports(")&&e.push(this.Function(null,ng)),(this.lookupNonWSType(0)===1||this.lookupNonWSType(0)===21)&&e.push(this.MediaQueryList()),e},block:null}}}),SL,i8=y(()=>{SL={parse:{prelude(){return this.createSingleNodeList(this.LayerList())},block(){return this.Block(!1)}}}}),CL,o8=y(()=>{CL={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(e=!1){return this.Block(e)}}}}),zL,a8=y(()=>{zL={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}}}),AL,s8=y(()=>{AL={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}}}),NL,l8=y(()=>{NL={parse:{prelude(){return this.createSingleNodeList(this.Scope())},block(e=!1){return this.Block(e)}}}}),EL,u8=y(()=>{EL={parse:{prelude:null,block(e=!1){return this.Block(e)}}}}),PL,c8=y(()=>{PL={parse:{prelude(){return this.createSingleNodeList(this.Condition("supports"))},block(e=!1){return this.Block(e)}}}}),IL,d8=y(()=>{t8(),r8(),n8(),i8(),o8(),a8(),s8(),l8(),u8(),c8(),IL={container:wL,"font-face":kL,import:xL,layer:SL,media:CL,nest:zL,page:AL,scope:NL,"starting-style":EL,supports:PL}});function p8(){let e=this.createList();this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case 1:e.push(this.Identifier());break;case 5:e.push(this.String());break;case 18:e.push(this.Operator());break;case 22:break e;default:this.error("Identifier, string or comma is expected")}this.skipSC()}return e}var m8=y(()=>{}),Vr,Cp,U0,V0,Sa,OL,h8=y(()=>{m8(),Vr={parse(){return this.createSingleNodeList(this.SelectorList())}},Cp={parse(){return this.createSingleNodeList(this.Selector())}},U0={parse(){return this.createSingleNodeList(this.Identifier())}},V0={parse:p8},Sa={parse(){return this.createSingleNodeList(this.Nth())}},OL={dir:U0,has:Vr,lang:V0,matches:Vr,is:Vr,"-moz-any":Vr,"-webkit-any":Vr,where:Vr,not:Vr,"nth-child":Sa,"nth-last-child":Sa,"nth-last-of-type":Sa,"nth-of-type":Sa,slotted:Cp,host:Cp,"host-context":Cp}}),jL={};A(jL,{AnPlusB:()=>TI,Atrule:()=>$I,AtrulePrelude:()=>VI,AttributeSelector:()=>XI,Block:()=>aO,Brackets:()=>mO,CDC:()=>vO,CDO:()=>SO,ClassSelector:()=>EO,Combinator:()=>DO,Comment:()=>WO,Condition:()=>KO,Declaration:()=>rj,DeclarationList:()=>mj,Dimension:()=>yj,Feature:()=>Cj,FeatureFunction:()=>Ij,FeatureRange:()=>Lj,Function:()=>Wj,GeneralEnclosed:()=>Gj,Hash:()=>Zj,IdSelector:()=>cT,Identifier:()=>oT,Layer:()=>fT,LayerList:()=>kT,MediaQuery:()=>AT,MediaQueryList:()=>OT,NestingSelector:()=>FT,Nth:()=>WT,Number:()=>YT,Operator:()=>JT,Parentheses:()=>n4,Percentage:()=>l4,PseudoClassSelector:()=>m4,PseudoElementSelector:()=>y4,Ratio:()=>z4,Raw:()=>I4,Rule:()=>L4,Scope:()=>q4,Selector:()=>Q4,SelectorList:()=>X4,String:()=>oD,StyleSheet:()=>cD,SupportsDeclaration:()=>bD,TypeSelector:()=>xD,UnicodeRange:()=>ED,Url:()=>RD,Value:()=>_D,WhiteSpace:()=>GD});var f8=y(()=>{MI(),_I(),KI(),nO(),dO(),gO(),kO(),AO(),jO(),BO(),YO(),ej(),dj(),bj(),xj(),Ej(),Tj(),Bj(),Qj(),Xj(),nT(),lT(),mT(),yT(),CT(),PT(),DT(),BT(),VT(),HT(),t4(),a4(),d4(),b4(),S4(),E4(),T4(),$4(),U4(),K4(),tD(),lD(),fD(),wD(),AD(),OD(),qD(),QD(),JD()}),TL,g8=y(()=>{e8(),d8(),h8(),f8(),TL={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude(e){return this.AtrulePrelude(e.atrule?String(e.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",condition(e){return this.Condition(e.kind)},rule:"Rule",selectorList:"SelectorList",selector:"Selector",block(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},features:{supports:{selector(){return this.Selector()}},container:{style(){return this.Declaration()}}},scope:yL,atrule:IL,pseudo:OL,node:jL}}),DL,b8=y(()=>{ZD(),DL={node:Ck}}),LL,v8=y(()=>{OW(),U_(),g8(),b8(),LL=II({...eL,...TL,...DL})}),y8=y(()=>{}),w8=G(()=>{}),k8,x8,qr,S8,FL,C8,Ni,zk,z8,A8,N8,E8,Ak,On=y(()=>{v8(),y8(),tk(),fI(),ok(),k8=X(w8(),1),wk(),FD(),{tokenize:x8,parse:qr,generate:S8,lexer:FL,createLexer:C8,walk:Ni,find:zk,findLast:z8,findAll:A8,toPlainObject:N8,fromPlainObject:E8,fork:Ak}=LL}),ML={};A(ML,{default:()=>RL});var Vn,zp,Q0,Ca,ig,Y0,za,RL,P8=y(()=>{On(),q(),Pr(),hh(),pr(),jr(),_e(),Ke(),K(),I(),j(),D(),Dt(),Vn="declaration-block-no-duplicate-properties",zp=O(Vn,{rejected:e=>`Duplicate property "${e}"`}),Q0={url:"https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-properties",fixable:!0},Ca=e=>"children"in e&&e.children instanceof Xc,ig=(e,t,r)=>{if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let i=e[n],o=t[n];if(typeof i>"u"||typeof o>"u"||i.type!==o.type)return!1;let a="name"in i?String(i.name):"",s="name"in o?String(o.name):"";if(i.type==="Identifier"&&yt(a)&&o.type==="Identifier"&&yt(s)||i.type==="Identifier"&&o.type==="Identifier"&&JA.has(r.toLowerCase())&&Qc.has(a.toLowerCase())&&Qc.has(s.toLowerCase()))continue;if(a.toLowerCase()!==s.toLowerCase())return!1;let l="unit"in i?i.unit:"",u="unit"in o?o.unit:"";if(l!==u)return!1;let c=Ca(i)?i.children.toArray():null,d=Ca(o)?o.children.toArray():null;if(Array.isArray(c)&&Array.isArray(d)){if(ig(c,d,r))continue;return!1}}return!0},Y0=(e,t,r)=>{if(e===t)return!0;if(!(Be(e)&&Be(t)))return!1;let n,i;try{n=qr(e,{context:"value"}),i=qr(t,{context:"value"})}catch{return!1}let o=Ca(n)?n.children.toArray():[],a=Ca(i)?i.children.toArray():[];return ig(o,a,r)},za=(e,t)=>(r,n)=>{if(!T(n,Vn,{actual:e},{actual:t,possible:{ignore:["consecutive-duplicates","consecutive-duplicates-with-different-values","consecutive-duplicates-with-different-syntaxes","consecutive-duplicates-with-same-prefixless-values"],ignoreProperties:[$,_]},optional:!0}))return;let i=F(t,"ignore","consecutive-duplicates"),o=F(t,"ignore","consecutive-duplicates-with-different-values"),a=F(t,"ignore","consecutive-duplicates-with-different-syntaxes"),s=F(t,"ignore","consecutive-duplicates-with-same-prefixless-values"),l=u=>()=>{u.remove()};mh(r,u=>{let c=[];u(d=>{let p=d.prop,m=d.prop.toLowerCase(),v=d.value,h=d.important;if(!Or(p)||yt(p)||F(t,"ignoreProperties",p)||m==="src")return;let b=c.findIndex(C=>C.prop.toLowerCase()===m);b===-1&&c.push(d);let g=c[b];if(!g)return;let f=g.value||"",x=g.important||!1,w=!h&&x,k=b===c.length-1,S=Xe.unprefixed(v)===Xe.unprefixed(f),E=()=>{let C=w?d:g,L=w?p:g.prop;w||(c[b]=d),P({message:zp.rejected,messageArgs:[L],node:C,result:n,ruleName:Vn,word:L,fix:{apply:l(C),node:C.parent}})};if(o||a||s){if(!k||s&&!S){E();return}if(a&&Y0(v,f,p)){E();return}return v!==f?void 0:P({message:zp.rejected,messageArgs:[g.prop],node:g,result:n,ruleName:Vn,word:g.prop,fix:{apply:l(g),node:g.parent}})}i&&k||E()})})},za.ruleName=Vn,za.messages=zp,za.meta=Q0,RL=za}),$L={};A($L,{default:()=>qL});function Ap(e){let t=e==null?void 0:e.trim();if(!t)return[];if(!t.includes(","))return[t];let r=[],n=[];r.push(n);for(let i of(0,Ey.default)(t).nodes)i.type==="div"&&i.value===","?(n=[],r.push(n)):n.push(i);return r.map(i=>Ey.default.stringify(i).trim()).filter(Boolean)}function I8(e){let t=r=>r.important;return e.some(t)&&!e.every(t)}function O8(e,t,r){let n=BL.get(e);return n?n(r):t.map(i=>{var o,a;return(a=(o=r.get(i))==null?void 0:o.value.trim())!=null?a:""}).filter(Boolean).join(" ")}var Ey,Qn,Np,G0,BL,K0,Aa,qL,j8=y(()=>{Ey=X(ue(),1),q(),Pw(),Ke(),hh(),Pr(),K(),I(),j(),D(),Dt(),Qn="declaration-block-no-redundant-longhand-properties",Np=O(Qn,{expected:e=>`Expected shorthand property "${e}"`,unexpectedLonghand:(e,t)=>`Redundant longhand property "${e}" after shorthand property "${t}"`}),G0={url:"https://stylelint.io/user-guide/rules/declaration-block-no-redundant-longhand-properties",fixable:!0},BL=new Map([["font-synthesis",e=>{var a,s,l;let t=(a=e.get("font-synthesis-weight"))==null?void 0:a.value.trim(),r=(s=e.get("font-synthesis-style"))==null?void 0:s.value.trim(),n=(l=e.get("font-synthesis-small-caps"))==null?void 0:l.value.trim(),i=u=>u==="none"||u==="auto";if(!i(t)||!i(r)||!i(n))return;let o=[];return t==="auto"&&o.push("weight"),r==="auto"&&o.push("style"),n==="auto"&&o.push("small-caps"),o.length===0?"none":o.join(" ")}],["grid-column",e=>{var n,i;let t=(n=e.get("grid-column-start"))==null?void 0:n.value.trim(),r=(i=e.get("grid-column-end"))==null?void 0:i.value.trim();if(!(!t||!r))return`${t} / ${r}`}],["grid-row",e=>{var n,i;let t=(n=e.get("grid-row-start"))==null?void 0:n.value.trim(),r=(i=e.get("grid-row-end"))==null?void 0:i.value.trim();if(!(!t||!r))return`${t} / ${r}`}],["grid-template",e=>{var a,s,l;let t=(a=e.get("grid-template-areas"))==null?void 0:a.value.trim(),r=(s=e.get("grid-template-columns"))==null?void 0:s.value.trim(),n=(l=e.get("grid-template-rows"))==null?void 0:l.value.trim();if(!(t&&r&&n)||r.includes("repeat(")||n.includes("repeat("))return;let i=[...t.matchAll(/"[^"]+"/g)].map(u=>u[0]),o=n.split(" ");return i.length===0||o.length===0||i.length!==o.length?void 0:`${i.map((u,c)=>`${u} ${o[c]}`).join(" ")} / ${r}`}],["transition",e=>{var o,a,s,l;let t=Ap((o=e.get("transition-delay"))==null?void 0:o.value),r=Ap((a=e.get("transition-duration"))==null?void 0:a.value),n=Ap((s=e.get("transition-timing-function"))==null?void 0:s.value),i=Ap((l=e.get("transition-property"))==null?void 0:l.value);if(t.length&&r.length&&n.length&&i.length)return i.map((u,c)=>[u,r[c%r.length],n[c%n.length],t[c%t.length]].filter($).join(" ")).join(", ")}]]),K0=new Set(["border-width","border-style","border-color","border-top","border-right","border-bottom","border-left","grid-column","grid-row"]),Aa=(e,t)=>(r,n)=>{var a;if(!T(n,Qn,{actual:e},{actual:t,possible:{ignoreShorthands:[$,_],ignoreLonghands:[$]},optional:!0}))return;let i=new Map,o=[(a=t==null?void 0:t.ignoreLonghands)!=null?a:[]].flat();for(let[s,l]of Ac.entries())if(!F(t,"ignoreShorthands",s))for(let u of l){if(o.includes(u))continue;let c=i.get(u)||[];c.push(s),i.set(u,c)}mh(r,s=>{let l=new Map,u=new Map;s(c=>{var g;let d=c.value.trim();if(Te.has(d))return;let p=c.prop.toLowerCase(),m=Xe.unprefixed(p),v=Xe.prefix(p);Ac.has(m)&&u.set(p,d);let h=i.get(m);if(!h)return;let{parent:b}=c;$e(b);for(let f of h){let x=v+f;if(u.get(x)===d){P({ruleName:Qn,result:n,node:c,word:c.prop,message:Np.unexpectedLonghand,messageArgs:[c.prop,x],fix:{apply:()=>{c.remove()},node:b}});return}let w=l.get(x)||[];w.push(c),l.set(x,w);let k=[...(g=Ac.get(f))!=null?g:[]].filter(te=>!o.includes(te)).map(te=>v+te),S=w.map(te=>te.prop.toLowerCase());if(!Ew(k.slice().sort(),S.slice().sort())||I8(w))continue;let E=w.at(0),C=w.at(-1);$e(E&&C);let L=new Map(w.map(te=>[te.prop.toLowerCase(),te])),N=O8(x,k,L),B=N?()=>{let te=E.clone({prop:x,value:N});if(E.replaceWith(te),w.forEach(he=>he.remove()),K0.has(f)){let he=new Set(S);l.forEach((fe,oe)=>{l.set(oe,fe.filter(Fe=>!he.has(Fe.prop.toLowerCase())))})}}:void 0,ie=b.index(C)-b.index(E)+1===w.length?E:C;P({ruleName:Qn,result:n,message:Np.expected,messageArgs:[x],node:b,start:ie.rangeBy({}).start,end:C.rangeBy({}).end,fix:{apply:B,node:b}})}})})},Aa.ruleName=Qn,Aa.messages=Np,Aa.meta=G0,qL=Aa}),WL={};A(WL,{default:()=>_L});var Na,og,H0,Ea,_L,T8=y(()=>{hh(),I(),j(),ro(),D(),Dt(),Pr(),Na="declaration-block-no-shorthand-property-overrides",og=O(Na,{rejected:(e,t)=>`Overridden property "${t}" by shorthand "${e}"`}),H0={url:"https://stylelint.io/user-guide/rules/declaration-block-no-shorthand-property-overrides"},Ea=e=>(t,r)=>{T(r,Na,{actual:e})&&mh(t,n=>{let i=new Map;n(o=>{let a=o.prop,s=Xe.unprefixed(a).toLowerCase(),l=Xe.prefix(a).toLowerCase(),u=Ac.get(s),c=XA.get(s),d=Ce(u!=null?u:[],c!=null?c:[]);if(i.set(a.toLowerCase(),a),d.size!==0)for(let p of d){let m=i.get(l+p);m&&P({ruleName:Na,result:r,node:o,message:og.rejected,messageArgs:[a,m||""],word:a})}})})},Ea.ruleName=Na,Ea.messages=og,Ea.meta=H0,_L=Ea}),UL={};A(UL,{default:()=>VL});var Pa,ag,X0,Ia,VL,D8=y(()=>{Zw(),q(),ph(),I(),j(),D(),Pa="declaration-block-single-line-max-declarations",ag=O(Pa,{expected:e=>`Too many declarations, maximum ${e}`}),X0={url:"https://stylelint.io/user-guide/rules/declaration-block-single-line-max-declarations"},Ia=e=>(t,r)=>{T(r,Pa,{actual:e,possible:[Sr]})&&t.walkRules(n=>{let i=Jw(n);!dh(i)||!n.nodes||n.nodes.filter(o=>o.type==="decl").length<=e||P({message:ag.expected,messageArgs:[e],node:n,word:i,result:r,ruleName:Pa})})},Ia.ruleName=Pa,Ia.messages=ag,Ia.meta=X0,VL=Ia});function J0(e){let t=$r(e);return t!==void 0&&to(t)&&ut(t)&&!yt(t.prop||"")}var L8=y(()=>{Pn(),pr(),me(),ct()}),QL={};A(QL,{default:()=>YL});var Oa,Ep,Z0,ja,YL,F8=y(()=>{me(),Zw(),pd(),hd(),pP(),nh(),L8(),pr(),fd(),ah(),ph(),ct(),K(),I(),j(),D(),Oa="declaration-empty-line-before",Ep=O(Oa,{expected:"Expected empty line before declaration",rejected:"Expected no empty line before declaration"}),Z0={url:"https://stylelint.io/user-guide/rules/declaration-empty-line-before",fixable:!0},ja=(e,t,r)=>(n,i)=>{T(i,Oa,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["first-nested","after-block","after-comment","after-declaration"],ignore:["after-comment","after-declaration","first-nested","inside-single-line-block"]},optional:!0})&&n.walkDecls(o=>{let a=o.prop,s=o.parent;if(s==null||oh(o)||!Oe(s)&&!it(s)&&!ur(s)||!ut(o)||yt(a)||F(t,"ignore","after-comment")&&Wi(o)||F(t,"ignore","after-declaration")&&J0(o)||F(t,"ignore","first-nested")&&Br(o)||F(t,"ignore","inside-single-line-block")&&dh(Jw(s)))return;let l=e==="always";(F(t,"except","first-nested")&&Br(o)||F(t,"except","after-block")&&dP(o)||F(t,"except","after-comment")&&Wi(o)||F(t,"except","after-declaration")&&J0(o))&&(l=!l);let u=md(o.raws.before);if(l===u)return;let c=l?Ep.expected:Ep.rejected,d=l?"add":"remove";P({message:c,messageArgs:[],node:o,result:i,ruleName:Oa,fix:{apply:()=>dd({node:o,newline:r.newline,action:d}),node:o.parent}})})},ja.ruleName=Oa,ja.messages=Ep,ja.meta=Z0,YL=ja});function GL(e){let t=/!\s*important\b/gi,r=t.exec(e);if(r)return{index:r.index,endIndex:t.lastIndex}}var KL=y(()=>{}),HL={};A(HL,{default:()=>XL});var Ta,sg,eS,Da,XL,M8=y(()=>{q(),KL(),I(),j(),D(),Ta="declaration-no-important",sg=O(Ta,{rejected:"Disallowed !important"}),eS={url:"https://stylelint.io/user-guide/rules/declaration-no-important"},Da=e=>(t,r)=>{T(r,Ta,{actual:e})&&t.walkDecls(n=>{if(!n.important)return;let i=GL(n.toString());$e(i),P({message:sg.rejected,messageArgs:[],node:n,index:i.index,endIndex:i.endIndex,result:r,ruleName:Ta})})},Da.ruleName=Ta,Da.messages=sg,Da.meta=eS,XL=Da});function cr(e){return Number.isInteger(e)&&typeof e=="number"&&e>=0}var Tr=y(()=>{});function Wm(e){return t=>Cr(t)?Object.values(t).every(r=>e(r)):!1}var Nk=y(()=>{q()}),JL={};A(JL,{default:()=>ZL});var tS,La,lg,rS,nS,Fa,ZL,R8=y(()=>{tS=X(ue(),1),q(),Tr(),Le(),V(),I(),j(),Nk(),D(),La="declaration-property-max-values",lg=O(La,{expected:(e,t)=>`Too many values for property "${e}", maximum ${t}`}),rS={url:"https://stylelint.io/user-guide/rules/declaration-property-max-values"},nS=e=>e.type==="word"||e.type==="function"||e.type==="string",Fa=e=>(t,r)=>{T(r,La,{actual:e,possible:[Wm(cr)]})&&t.walkDecls(n=>{let{prop:i,value:o}=n;if(!Q.multipleValues.test(o))return;let a=(0,tS.default)(o).nodes.filter(nS).length,s=Object.keys(e).find(u=>Pe(i,u));if(!s)return;let l=e[s];zc(l),!(a<=l)&&P({message:lg.expected,messageArgs:[i,l],node:n,result:r,ruleName:La})})},Fa.ruleName=La,Fa.messages=lg,Fa.meta=rS,ZL=Fa});function $8(e,t=" "){return e.replace(/[#@{}]+/g,t)}var B8=y(()=>{});function jn(e){if(!e||!e.value)return{unit:null,number:null};if(e.type!=="word")return{unit:null,number:null};if(!Be(e.value))return{unit:null,number:null};if(e.value.startsWith("#"))return{unit:null,number:null};let t=$8(e.value,"").replace("\\0","").replace("\\9","");return eF.default.unit(t)||{unit:null,number:null}}var eF,Tn=y(()=>{eF=X(ue(),1),B8(),_e()}),tF={};A(tF,{default:()=>rF});var iS,Ma,ug,oS,Ra,rF,q8=y(()=>{iS=X(ue(),1),J(),Tn(),q(),Le(),K(),I(),j(),Ht(),D(),Ma="declaration-property-unit-allowed-list",ug=O(Ma,{rejected:(e,t)=>`Disallowed unit "${t}" for property "${e}"`}),oS={url:"https://stylelint.io/user-guide/rules/declaration-property-unit-allowed-list"},Ra=(e,t)=>(r,n)=>{T(n,Ma,{actual:e,possible:[Bt($)]},{actual:t,possible:{ignore:["inside-function"]},optional:!0})&&r.walkDecls(i=>{let o=i.prop,a=i.value,s=Object.keys(e).find(c=>Pe(o,c));if(!s)return;let l=e[s];if(!l)return;let u=new Set([l].flat());(0,iS.default)(a).walk(c=>{if(c.type==="function"&&(c.value.toLowerCase()==="url"||F(t,"ignore","inside-function")))return!1;if(c.type==="string")return;let{unit:d}=jn(c);if(!d||u.has(d.toLowerCase()))return;let p=ne(i)+c.sourceIndex,m=p+c.value.length;P({message:ug.rejected,messageArgs:[o,d],node:i,index:p,endIndex:m,result:n,ruleName:Ma})})})},Ra.ruleName=Ma,Ra.messages=ug,Ra.meta=oS,rF=Ra}),nF={};A(nF,{default:()=>iF});var aS,$a,cg,sS,Ba,iF,W8=y(()=>{aS=X(ue(),1),J(),Tn(),q(),Ad(),Le(),V(),I(),j(),Ht(),D(),$a="declaration-property-unit-disallowed-list",cg=O($a,{rejected:(e,t)=>`Disallowed unit "${t}" for property "${e}"`}),sS={url:"https://stylelint.io/user-guide/rules/declaration-property-unit-disallowed-list"},Ba=e=>(t,r)=>{T(r,$a,{actual:e,possible:[Bt($)]})&&t.walkDecls(n=>{let i=n.prop,o=n.value;if(!Q.dimension.test(o))return;let a=Object.keys(e).find(u=>Pe(i,u));if(!a)return;let s=e[a];if(!s)return;let l=new Set([s].flat());(0,aS.default)(o).walk(u=>{if(zd(u))return!1;if(u.type==="string")return;let{unit:c}=jn(u);if(!c||!l.has(c.toLowerCase()))return;let d=ne(n)+u.sourceIndex,p=d+u.value.length;P({message:cg.rejected,messageArgs:[i,c],node:n,index:d,endIndex:p,result:r,ruleName:$a})})})},Ba.ruleName=$a,Ba.messages=cg,Ba.meta=sS,iF=Ba}),oF={};A(oF,{default:()=>aF});var qa,dg,lS,Wa,aF,_8=y(()=>{q(),J(),Le(),K(),I(),j(),Ht(),D(),qa="declaration-property-value-allowed-list",dg=O(qa,{rejected:(e,t)=>`Disallowed value "${t}" for property "${e}"`}),lS={url:"https://stylelint.io/user-guide/rules/declaration-property-value-allowed-list"},Wa=e=>(t,r)=>{if(!T(r,qa,{actual:e,possible:[Bt($,_)]}))return;let n=Object.keys(e);t.walkDecls(i=>{let{prop:o,value:a}=i,s=n.filter(c=>Pe(o,c));if(s.length===0||s.some(c=>F(e,c,a)))return;let l=ne(i),u=l+i.value.length;P({message:dg.rejected,messageArgs:[o,a],node:i,index:l,endIndex:u,result:r,ruleName:qa})})},Wa.ruleName=qa,Wa.messages=dg,Wa.meta=lS,aF=Wa}),sF={};A(sF,{default:()=>lF});var _a,pg,uS,Ua,lF,U8=y(()=>{q(),J(),Le(),K(),I(),j(),Ht(),D(),_a="declaration-property-value-disallowed-list",pg=O(_a,{rejected:(e,t)=>`Disallowed value "${t}" for property "${e}"`}),uS={url:"https://stylelint.io/user-guide/rules/declaration-property-value-disallowed-list"},Ua=e=>(t,r)=>{if(!T(r,_a,{actual:e,possible:[Bt($,_)]}))return;let n=Object.keys(e);t.walkDecls(i=>{let{prop:o,value:a}=i,s=n.filter(c=>Pe(o,c));if(s.length===0||s.every(c=>!F(e,c,a)))return;let l=ne(i),u=l+i.value.length;P({message:pg.rejected,messageArgs:[o,a],node:i,index:l,endIndex:u,result:r,ruleName:_a})})},Ua.ruleName=_a,Ua.messages=pg,Ua.meta=uS,lF=Ua}),uF={};A(uF,{default:()=>cF});var cS,Va,Pp,dS,Ip,pS,mS,Qa,cF,V8=y(()=>{cS=X(ue(),1),q(),Ir(),J(),We(),ct(),_e(),V(),K(),I(),j(),gt(),Pr(),D(),Va="declaration-property-value-keyword-no-deprecated",Pp=O(Va,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:(e,t)=>`Deprecated keyword "${t}" for property "${e}"`}),dS={url:"https://stylelint.io/user-guide/rules/declaration-property-value-keyword-no-deprecated",fixable:!0},Ip={activecaption:"canvas",appworkspace:"canvas",background:"canvas",inactivecaption:"canvas",infobackground:"canvas",menu:"canvas",scrollbar:"canvas",window:"canvas",activeborder:"ButtonBorder",inactiveborder:"ButtonBorder",threeddarkshadow:"ButtonBorder",threedhighlight:"ButtonBorder",threedlightshadow:"ButtonBorder",threedshadow:"ButtonBorder",windowframe:"ButtonBorder",captiontext:"CanvasText",infotext:"CanvasText",menutext:"CanvasText",windowtext:"CanvasText",buttonhighlight:"ButtonFace",buttonshadow:"ButtonFace",threedface:"ButtonFace",inactivecaptiontext:"GrayText"},pS=[...Ev.values()].map(e=>[e,Ip]),mS=new Map([["appearance",{button:"auto",checkbox:"auto",listbox:"auto",menulist:"auto",meter:"auto","progress-bar":"auto","push-button":"auto",radio:"auto",searchfield:"auto","slider-horizontal":"auto","square-button":"auto",textarea:"auto"}],["image-rendering",{optimizeQuality:"smooth",optimizeSpeed:"pixelated"}],["overflow",{overlay:"auto"}],["overflow-x",{overlay:"auto"}],["overflow-y",{overlay:"auto"}],["text-justify",{distribute:"inter-character"}],["text-orientation",{"sideways-right":"sideways"}],["user-select",{element:"contain"}],["zoom",{reset:"1"}],["border-color",Ip],["scrollbar-color",Ip],["text-decoration",["blink"]],["text-decoration-line",["blink"]],["box-sizing",["padding-box"]],["image-orientation",["flip"]],["min-height",["intrinsic","min-intrinsic"]],["min-width",["intrinsic","min-intrinsic"]],["max-height",["intrinsic","min-intrinsic"]],["max-width",["intrinsic","min-intrinsic"]],["height",["intrinsic","min-intrinsic"]],["width",["intrinsic","min-intrinsic"]],["word-break",["break-word"]],...pS]),Qa=(e,t)=>(r,n)=>{T(n,Va,{actual:e},{optional:!0,actual:t,possible:{ignoreKeywords:[$,_]}})&&r.walkDecls(i=>{let{prop:o,value:a}=i;if(!Q.keyword.test(a)||!ut(i)||F(t,"ignoreKeywords",a))return;let s=mS.get(o.toLowerCase());if(!s)return;let l=(0,cS.default)(qe(i)),u=!0;l.walk(c=>{c.type!=="comment"&&(Be(c.value)||(u=!1))}),u&&l.walk(c=>{let d=c.value,p=d.toLowerCase();if(c.type==="function"&&!Dw.has(p))return!1;if(c.type!=="word")return;let m=c.sourceIndex,v,h,b;if(Array.isArray(s)){if(!s.includes(p))return;h=Pp.rejected,b=[o,d]}else{let x=s[p];if(!x)return;h=Pp.expected,b=[d,x],v=()=>{c.value=x,ft(i,l.toString())}}let g=ne(i)+m,f=g+d.length;P({message:h,messageArgs:b,node:i,result:n,ruleName:Va,index:g,endIndex:f,fix:{apply:v,node:i}})})})},Qa.ruleName=Va,Qa.messages=Pp,Qa.meta=dS,cF=Qa});function Q8(e){return gF?structuredClone(e):JSON.parse(JSON.stringify(e))}function ke(...e){let t="";for(let r=0;r<e.length;r++)t+=e[r][1];return t}function Y8(e){return e.source.codePointAt(e.cursor)===60&&e.source.codePointAt(e.cursor+1)===33&&e.source.codePointAt(e.cursor+2)===ot&&e.source.codePointAt(e.cursor+3)===ot}function Gt(e){return e>=48&&e<=57}function G8(e){return e>=65&&e<=90}function K8(e){return e>=97&&e<=122}function Mi(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function H8(e){return K8(e)||G8(e)}function Yi(e){return H8(e)||X8(e)||e===95}function Ek(e){return Yi(e)||Gt(e)||e===ot}function X8(e){return e===183||e===8204||e===8205||e===8255||e===8256||e===8204||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||e===0||!!Gi(e)||e>=65536}function J8(e){return e===11||e===127||0<=e&&e<=8||14<=e&&e<=31}function _m(e){return e===zn||e===Cn||e===12}function wn(e){return e===32||e===zn||e===9||e===Cn||e===12}function Gi(e){return e>=55296&&e<=57343}function so(e){var t;return e.source.codePointAt(e.cursor)===92&&!_m((t=e.source.codePointAt(e.cursor+1))!=null?t:-1)}function Um(e,t){var r,n,i;return t.source.codePointAt(t.cursor)===ot?t.source.codePointAt(t.cursor+1)===ot||!!Yi((r=t.source.codePointAt(t.cursor+1))!=null?r:-1)||t.source.codePointAt(t.cursor+1)===92&&!_m((n=t.source.codePointAt(t.cursor+2))!=null?n:-1):!!Yi((i=t.source.codePointAt(t.cursor))!=null?i:-1)||so(t)}function hS(e){var t,r,n,i;return e.source.codePointAt(e.cursor)===An||e.source.codePointAt(e.cursor)===ot?!!Gt((t=e.source.codePointAt(e.cursor+1))!=null?t:-1)||e.source.codePointAt(e.cursor+1)===46&&Gt((r=e.source.codePointAt(e.cursor+2))!=null?r:-1):e.source.codePointAt(e.cursor)===46?Gt((n=e.source.codePointAt(e.cursor+1))!=null?n:-1):Gt((i=e.source.codePointAt(e.cursor))!=null?i:-1)}function Z8(e){return e.source.codePointAt(e.cursor)===47&&e.source.codePointAt(e.cursor+1)===42}function e7(e){return e.source.codePointAt(e.cursor)===ot&&e.source.codePointAt(e.cursor+1)===ot&&e.source.codePointAt(e.cursor+2)===62}function t7(e){switch(e){case z.OpenParen:return z.CloseParen;case z.CloseParen:return z.OpenParen;case z.OpenCurly:return z.CloseCurly;case z.CloseCurly:return z.OpenCurly;case z.OpenSquare:return z.CloseSquare;case z.CloseSquare:return z.OpenSquare;default:return null}}function r7(e){switch(e[0]){case z.OpenParen:return[z.CloseParen,")",-1,-1,void 0];case z.CloseParen:return[z.OpenParen,"(",-1,-1,void 0];case z.OpenCurly:return[z.CloseCurly,"}",-1,-1,void 0];case z.CloseCurly:return[z.OpenCurly,"{",-1,-1,void 0];case z.OpenSquare:return[z.CloseSquare,"]",-1,-1,void 0];case z.CloseSquare:return[z.OpenSquare,"[",-1,-1,void 0];default:return null}}function n7(e,t){for(t.advanceCodePoint(2);;){let r=t.readCodePoint();if(r===void 0){let n=[z.Comment,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new kr(ir.UnexpectedEOFInComment,t.representationStart,t.representationEnd,["4.3.2. Consume comments","Unexpected EOF"],n)),n}if(r===42&&t.source.codePointAt(t.cursor)!==void 0&&t.source.codePointAt(t.cursor)===47){t.advanceCodePoint();break}}return[z.Comment,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0]}function Nh(e,t){var n;let r=t.readCodePoint();if(r===void 0)return e.onParseError(new nd(ir.UnexpectedEOFInEscapedCodePoint,t.representationStart,t.representationEnd,["4.3.7. Consume an escaped code point","Unexpected EOF"])),Rr;if(Mi(r)){let i=[r],o;for(;(o=t.source.codePointAt(t.cursor))!==void 0&&Mi(o)&&i.length<6;)i.push(o),t.advanceCodePoint();wn((n=t.source.codePointAt(t.cursor))!=null?n:-1)&&(t.source.codePointAt(t.cursor)===Cn&&t.source.codePointAt(t.cursor+1)===zn&&t.advanceCodePoint(),t.advanceCodePoint());let a=parseInt(String.fromCodePoint(...i),16);return a===0||Gi(a)||a>1114111?Rr:a}return r===0||Gi(r)?Rr:r}function Eh(e,t){var n;let r=[];for(;;){let i=(n=t.source.codePointAt(t.cursor))!=null?n:-1;if(i===0||Gi(i))r.push(Rr),t.advanceCodePoint(+(i>65535)+1);else if(Ek(i))r.push(i),t.advanceCodePoint(+(i>65535)+1);else{if(!so(t))return r;t.advanceCodePoint(),r.push(Nh(e,t))}}}function i7(e,t){t.advanceCodePoint();let r=t.source.codePointAt(t.cursor);if(r!==void 0&&(Ek(r)||so(t))){let n=Vm.Unrestricted;Um(0,t)&&(n=Vm.ID);let i=Eh(e,t);return[z.Hash,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...i),type:n}]}return[z.Delim,"#",t.representationStart,t.representationEnd,{value:"#"}]}function o7(e,t){var n,i,o,a,s,l;let r=re.Integer;for(t.source.codePointAt(t.cursor)!==An&&t.source.codePointAt(t.cursor)!==ot||t.advanceCodePoint();Gt((n=t.source.codePointAt(t.cursor))!=null?n:-1);)t.advanceCodePoint();if(t.source.codePointAt(t.cursor)===46&&Gt((i=t.source.codePointAt(t.cursor+1))!=null?i:-1))for(t.advanceCodePoint(2),r=re.Number;Gt((o=t.source.codePointAt(t.cursor))!=null?o:-1);)t.advanceCodePoint();if(t.source.codePointAt(t.cursor)===101||t.source.codePointAt(t.cursor)===69){if(Gt((a=t.source.codePointAt(t.cursor+1))!=null?a:-1))t.advanceCodePoint(2);else{if(t.source.codePointAt(t.cursor+1)!==ot&&t.source.codePointAt(t.cursor+1)!==An||!Gt((s=t.source.codePointAt(t.cursor+2))!=null?s:-1))return r;t.advanceCodePoint(3)}for(r=re.Number;Gt((l=t.source.codePointAt(t.cursor))!=null?l:-1);)t.advanceCodePoint()}return r}function mg(e,t){let r;{let o=t.source.codePointAt(t.cursor);o===ot?r="-":o===An&&(r="+")}let n=o7(0,t),i=parseFloat(t.source.slice(t.representationStart,t.representationEnd+1));if(Um(0,t)){let o=Eh(e,t);return[z.Dimension,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:i,signCharacter:r,type:n,unit:String.fromCodePoint(...o)}]}return t.source.codePointAt(t.cursor)===37?(t.advanceCodePoint(),[z.Percentage,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:i,signCharacter:r}]):[z.Number,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:i,signCharacter:r,type:n}]}function a7(e){var t;for(;wn((t=e.source.codePointAt(e.cursor))!=null?t:-1);)e.advanceCodePoint();return[z.Whitespace,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0]}function s7(e,t){var i;let r="",n=t.readCodePoint();for(;;){let o=t.readCodePoint();if(o===void 0){let a=[z.String,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];return e.onParseError(new kr(ir.UnexpectedEOFInString,t.representationStart,t.representationEnd,["4.3.5. Consume a string token","Unexpected EOF"],a)),a}if(_m(o)){t.unreadCodePoint();let a=[z.BadString,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new kr(ir.UnexpectedNewLineInString,t.representationStart,t.source.codePointAt(t.cursor)===Cn&&t.source.codePointAt(t.cursor+1)===zn?t.representationEnd+2:t.representationEnd+1,["4.3.5. Consume a string token","Unexpected newline"],a)),a}if(o===n)return[z.String,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];if(o!==92)o===0||Gi(o)?r+=String.fromCodePoint(Rr):r+=String.fromCodePoint(o);else{if(t.source.codePointAt(t.cursor)===void 0)continue;if(_m((i=t.source.codePointAt(t.cursor))!=null?i:-1)){t.source.codePointAt(t.cursor)===Cn&&t.source.codePointAt(t.cursor+1)===zn&&t.advanceCodePoint(),t.advanceCodePoint();continue}r+=String.fromCodePoint(Nh(e,t))}}}function l7(e){return!(e.length!==3||e[0]!==117&&e[0]!==85||e[1]!==114&&e[1]!==82||e[2]!==108&&e[2]!==76)}function hg(e,t){for(;;){let r=t.source.codePointAt(t.cursor);if(r===void 0)return;if(r===41)return void t.advanceCodePoint();so(t)?(t.advanceCodePoint(),Nh(e,t)):t.advanceCodePoint()}}function u7(e,t){var n,i,o,a;for(;wn((n=t.source.codePointAt(t.cursor))!=null?n:-1);)t.advanceCodePoint();let r="";for(;;){if(t.source.codePointAt(t.cursor)===void 0){let l=[z.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];return e.onParseError(new kr(ir.UnexpectedEOFInURL,t.representationStart,t.representationEnd,["4.3.6. Consume a url token","Unexpected EOF"],l)),l}if(t.source.codePointAt(t.cursor)===41)return t.advanceCodePoint(),[z.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];if(wn((i=t.source.codePointAt(t.cursor))!=null?i:-1)){for(t.advanceCodePoint();wn((o=t.source.codePointAt(t.cursor))!=null?o:-1);)t.advanceCodePoint();if(t.source.codePointAt(t.cursor)===void 0){let l=[z.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];return e.onParseError(new kr(ir.UnexpectedEOFInURL,t.representationStart,t.representationEnd,["4.3.6. Consume a url token","Consume as much whitespace as possible","Unexpected EOF"],l)),l}return t.source.codePointAt(t.cursor)===41?(t.advanceCodePoint(),[z.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}]):(hg(e,t),[z.BadURL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0])}let s=t.source.codePointAt(t.cursor);if(s===34||s===39||s===40||J8(s!=null?s:-1)){hg(e,t);let l=[z.BadURL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new kr(ir.UnexpectedCharacterInURL,t.representationStart,t.representationEnd,["4.3.6. Consume a url token",`Unexpected U+0022 QUOTATION MARK ("), U+0027 APOSTROPHE ('), U+0028 LEFT PARENTHESIS (() or non-printable code point`],l)),l}if(s===92){if(so(t)){t.advanceCodePoint(),r+=String.fromCodePoint(Nh(e,t));continue}hg(e,t);let l=[z.BadURL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new kr(ir.InvalidEscapeSequenceInURL,t.representationStart,t.representationEnd,["4.3.6. Consume a url token","U+005C REVERSE SOLIDUS (\\)","The input stream does not start with a valid escape sequence"],l)),l}t.source.codePointAt(t.cursor)===0||Gi((a=t.source.codePointAt(t.cursor))!=null?a:-1)?(r+=String.fromCodePoint(Rr),t.advanceCodePoint()):(r+=t.source[t.cursor],t.advanceCodePoint())}}function fg(e,t){var n,i;let r=Eh(e,t);if(t.source.codePointAt(t.cursor)!==40)return[z.Ident,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...r)}];if(l7(r)){t.advanceCodePoint();let o=0;for(;;){let a=wn((n=t.source.codePointAt(t.cursor))!=null?n:-1),s=wn((i=t.source.codePointAt(t.cursor+1))!=null?i:-1);if(a&&s){o+=1,t.advanceCodePoint(1);continue}let l=a?t.source.codePointAt(t.cursor+1):t.source.codePointAt(t.cursor);if(l===34||l===39)return o>0&&t.unreadCodePoint(o),[z.Function,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...r)}];break}return u7(e,t)}return t.advanceCodePoint(),[z.Function,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...r)}]}function c7(e){var t;return!(e.source.codePointAt(e.cursor)!==117&&e.source.codePointAt(e.cursor)!==85||e.source.codePointAt(e.cursor+1)!==An||e.source.codePointAt(e.cursor+2)!==63&&!Mi((t=e.source.codePointAt(e.cursor+2))!=null?t:-1))}function d7(e,t){var s;t.advanceCodePoint(2);let r=[],n=[],i;for(;(i=t.source.codePointAt(t.cursor))!==void 0&&r.length<6&&Mi(i);)r.push(i),t.advanceCodePoint();for(;(i=t.source.codePointAt(t.cursor))!==void 0&&r.length<6&&i===63;)n.length===0&&n.push(...r),r.push(48),n.push(70),t.advanceCodePoint();if(!n.length&&t.source.codePointAt(t.cursor)===ot&&Mi((s=t.source.codePointAt(t.cursor+1))!=null?s:-1))for(t.advanceCodePoint();(i=t.source.codePointAt(t.cursor))!==void 0&&n.length<6&&Mi(i);)n.push(i),t.advanceCodePoint();if(!n.length){let l=parseInt(String.fromCodePoint(...r),16);return[z.UnicodeRange,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{startOfRange:l,endOfRange:l}]}let o=parseInt(String.fromCodePoint(...r),16),a=parseInt(String.fromCodePoint(...n),16);return[z.UnicodeRange,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{startOfRange:o,endOfRange:a}]}function St(e,t){let r=dF(e,t),n=[];for(;!r.endOfFile();)n.push(r.nextToken());return n.push(r.nextToken()),n}function dF(e,t){var a,s;let r=e.css.valueOf(),n=(a=e.unicodeRangesAllowed)!=null?a:!1,i=new bF(r),o={onParseError:(s=t==null?void 0:t.onParseError)!=null?s:p7};return{nextToken:function(){i.resetRepresentation();let l=i.source.codePointAt(i.cursor);if(l===void 0)return[z.EOF,"",-1,-1,void 0];if(l===47&&Z8(i))return n7(o,i);if(n&&(l===117||l===85)&&c7(i))return d7(0,i);if(Yi(l))return fg(o,i);if(Gt(l))return mg(o,i);switch(l){case 44:return i.advanceCodePoint(),[z.Comma,",",i.representationStart,i.representationEnd,void 0];case 58:return i.advanceCodePoint(),[z.Colon,":",i.representationStart,i.representationEnd,void 0];case 59:return i.advanceCodePoint(),[z.Semicolon,";",i.representationStart,i.representationEnd,void 0];case 40:return i.advanceCodePoint(),[z.OpenParen,"(",i.representationStart,i.representationEnd,void 0];case 41:return i.advanceCodePoint(),[z.CloseParen,")",i.representationStart,i.representationEnd,void 0];case 91:return i.advanceCodePoint(),[z.OpenSquare,"[",i.representationStart,i.representationEnd,void 0];case 93:return i.advanceCodePoint(),[z.CloseSquare,"]",i.representationStart,i.representationEnd,void 0];case 123:return i.advanceCodePoint(),[z.OpenCurly,"{",i.representationStart,i.representationEnd,void 0];case 125:return i.advanceCodePoint(),[z.CloseCurly,"}",i.representationStart,i.representationEnd,void 0];case 39:case 34:return s7(o,i);case 35:return i7(o,i);case An:case 46:return hS(i)?mg(o,i):(i.advanceCodePoint(),[z.Delim,i.source[i.representationStart],i.representationStart,i.representationEnd,{value:i.source[i.representationStart]}]);case zn:case Cn:case 12:case 9:case 32:return a7(i);case ot:return hS(i)?mg(o,i):e7(i)?(i.advanceCodePoint(3),[z.CDC,"-->",i.representationStart,i.representationEnd,void 0]):Um(0,i)?fg(o,i):(i.advanceCodePoint(),[z.Delim,"-",i.representationStart,i.representationEnd,{value:"-"}]);case 60:return Y8(i)?(i.advanceCodePoint(4),[z.CDO,"<!--",i.representationStart,i.representationEnd,void 0]):(i.advanceCodePoint(),[z.Delim,"<",i.representationStart,i.representationEnd,{value:"<"}]);case 64:if(i.advanceCodePoint(),Um(0,i)){let u=Eh(o,i);return[z.AtKeyword,i.source.slice(i.representationStart,i.representationEnd+1),i.representationStart,i.representationEnd,{value:String.fromCodePoint(...u)}]}return[z.Delim,"@",i.representationStart,i.representationEnd,{value:"@"}];case 92:{if(so(i))return fg(o,i);i.advanceCodePoint();let u=[z.Delim,"\\",i.representationStart,i.representationEnd,{value:"\\"}];return o.onParseError(new kr(ir.InvalidEscapeSequenceAfterBackslash,i.representationStart,i.representationEnd,["4.3.1. Consume a token","U+005C REVERSE SOLIDUS (\\)","The input stream does not start with a valid escape sequence"],u)),u}}return i.advanceCodePoint(),[z.Delim,i.source[i.representationStart],i.representationStart,i.representationEnd,{value:i.source[i.representationStart]}]},endOfFile:function(){return i.source.codePointAt(i.cursor)===void 0}}}function p7(){}function m7(e,t){let r=[];for(let i of t)r.push(i.codePointAt(0));let n=String.fromCodePoint(...pF(r));e[1]=n,e[4].value=t}function Ph(e,t){let r=[];for(let s of t)r.push(s.codePointAt(0));let n=pF(r);n[0]===101&&Py(n,0,n[0]);let i=String.fromCodePoint(...n),o=e[4].signCharacter==="+"?e[4].signCharacter:"",a=e[4].value.toString();e[1]=`${o}${a}${i}`,e[4].unit=t}function pF(e){let t=0;if(e[0]===0)e.splice(0,1,Rr),t=1;else if(e[0]===ot&&e[1]===ot)t=2;else if(e[0]===ot&&e[1])t=2,Yi(e[1])||(t+=Py(e,1,e[1]));else{if(e[0]===ot&&!e[1])return[92,e[0]];Yi(e[0])?t=1:(t=1,t+=Py(e,0,e[0]))}for(let r=t;r<e.length;r++)e[r]!==0?Ek(e[r])||(r+=h7(e,r,e[r])):(e.splice(r,1,Rr),r++);return e}function h7(e,t,r){return e.splice(t,1,92,r),1}function Py(e,t,r){let n=r.toString(16),i=[];for(let o of n)i.push(o.codePointAt(0));return e.splice(t,1,92,...i,32),1+i.length}function rd(e){return!!Array.isArray(e)&&!(e.length<4)&&!!vF.includes(e[0])&&typeof e[1]=="string"&&typeof e[2]=="number"&&typeof e[3]=="number"}function tt(e){if(!e)return!1;switch(e[0]){case z.Dimension:case z.Number:case z.Percentage:return!0;default:return!1}}function Et(e){if(!e)return!1;switch(e[0]){case z.Whitespace:case z.Comment:return!0;default:return!1}}function mF(e){return!!e&&e[0]===z.Colon}function rn(e){return!!e&&e[0]===z.Comma}function Ih(e){return!!e&&e[0]===z.Comment}function qt(e){return!!e&&e[0]===z.Delim}function Ee(e){return!!e&&e[0]===z.Dimension}function Kt(e){return!!e&&e[0]===z.EOF}function f7(e){return!!e&&e[0]===z.Function}function Ye(e){return!!e&&e[0]===z.Ident}function Ae(e){return!!e&&e[0]===z.Number}function Ge(e){return!!e&&e[0]===z.Percentage}function hF(e){return!!e&&e[0]===z.Semicolon}function g7(e){return!!e&&e[0]===z.String}function b7(e){return!!e&&e[0]===z.URL}function Pk(e){return!!e&&e[0]===z.Whitespace}function lo(e){return!!e&&e[0]===z.OpenParen}function v7(e){return!!e&&e[0]===z.CloseParen}function y7(e){return!!e&&e[0]===z.OpenSquare}function fF(e){return!!e&&e[0]===z.OpenCurly}var nd,kr,ir,gF,Cn,ot,zn,An,Rr,z,re,Vm,bF,vF,rt=y(()=>{nd=class extends Error{constructor(t,r,n,i){super(t);U(this,"sourceStart");U(this,"sourceEnd");U(this,"parserState");this.name="ParseError",this.sourceStart=r,this.sourceEnd=n,this.parserState=i}},kr=class extends nd{constructor(t,r,n,i,o){super(t,r,n,i);U(this,"token");this.token=o}},ir={UnexpectedNewLineInString:"Unexpected newline while consuming a string token.",UnexpectedEOFInString:"Unexpected EOF while consuming a string token.",UnexpectedEOFInComment:"Unexpected EOF while consuming a comment.",UnexpectedEOFInURL:"Unexpected EOF while consuming a url token.",UnexpectedEOFInEscapedCodePoint:"Unexpected EOF while consuming an escaped code point.",UnexpectedCharacterInURL:"Unexpected character while consuming a url token.",InvalidEscapeSequenceInURL:"Invalid escape sequence while consuming a url token.",InvalidEscapeSequenceAfterBackslash:'Invalid escape sequence after "\\"'},gF=typeof globalThis<"u"&&"structuredClone"in globalThis,Cn=13,ot=45,zn=10,An=43,Rr=65533,(function(e){e.Comment="comment",e.AtKeyword="at-keyword-token",e.BadString="bad-string-token",e.BadURL="bad-url-token",e.CDC="CDC-token",e.CDO="CDO-token",e.Colon="colon-token",e.Comma="comma-token",e.Delim="delim-token",e.Dimension="dimension-token",e.EOF="EOF-token",e.Function="function-token",e.Hash="hash-token",e.Ident="ident-token",e.Number="number-token",e.Percentage="percentage-token",e.Semicolon="semicolon-token",e.String="string-token",e.URL="url-token",e.Whitespace="whitespace-token",e.OpenParen="(-token",e.CloseParen=")-token",e.OpenSquare="[-token",e.CloseSquare="]-token",e.OpenCurly="{-token",e.CloseCurly="}-token",e.UnicodeRange="unicode-range-token"})(z||(z={})),(function(e){e.Integer="integer",e.Number="number"})(re||(re={})),(function(e){e.Unrestricted="unrestricted",e.ID="id"})(Vm||(Vm={})),bF=class{constructor(e){U(this,"cursor",0);U(this,"source","");U(this,"representationStart",0);U(this,"representationEnd",-1);this.source=e}advanceCodePoint(e=1){this.cursor=this.cursor+e,this.representationEnd=this.cursor-1}readCodePoint(){let e=this.source.codePointAt(this.cursor);if(e!==void 0)return this.cursor=this.cursor+1,this.representationEnd=this.cursor-1,e}unreadCodePoint(e=1){this.cursor=this.cursor-e,this.representationEnd=this.cursor-1}resetRepresentation(){this.representationStart=this.cursor,this.representationEnd=-1}},vF=Object.values(z)});function Ei(e){let t=e.slice();return(r,n,i)=>{let o=-1;for(let a=t.indexOf(n);a<t.length&&(o=r.indexOf(t[a]),o===-1||o<i);a++);return o===-1||o===i&&n===r[i]&&(o++,o>=r.length)?-1:(t=r.slice(),o)}}function Oh(e,t){let r=t[0];if(lo(r)||fF(r)||y7(r)){let n=k7(e,t);return{advance:n.advance,node:n.node}}if(f7(r)){let n=w7(e,t);return{advance:n.advance,node:n.node}}if(Pk(r)){let n=yF(e,t);return{advance:n.advance,node:n.node}}if(Ih(r)){let n=x7(e,t);return{advance:n.advance,node:n.node}}return{advance:1,node:new pe(r)}}function w7(e,t){let r=[],n=1;for(;;){let i=t[n];if(!i||Kt(i))return e.onParseError(new nd("Unexpected EOF while consuming a function.",t[0][2],t[t.length-1][3],["5.4.9. Consume a function","Unexpected EOF"])),{advance:t.length,node:new $t(t[0],i,r)};if(v7(i))return{advance:n+1,node:new $t(t[0],i,r)};if(Et(i)){let a=wF(e,t.slice(n));n+=a.advance,r.push(...a.nodes);continue}let o=Oh(e,t.slice(n));n+=o.advance,r.push(o.node)}}function k7(e,t){let r=t7(t[0][0]);if(!r)throw new Error("Failed to parse, a mirror variant must exist for all block open tokens.");let n=[],i=1;for(;;){let o=t[i];if(!o||Kt(o))return e.onParseError(new nd("Unexpected EOF while consuming a simple block.",t[0][2],t[t.length-1][3],["5.4.8. Consume a simple block","Unexpected EOF"])),{advance:t.length,node:new Qm(t[0],o,n)};if(o[0]===r)return{advance:i+1,node:new Qm(t[0],o,n)};if(Et(o)){let s=wF(e,t.slice(i));i+=s.advance,n.push(...s.nodes);continue}let a=Oh(e,t.slice(i));i+=a.advance,n.push(a.node)}}function yF(e,t){let r=0;for(;;){let n=t[r];if(!Pk(n))return{advance:r,node:new Ot(t.slice(0,r))};r++}}function x7(e,t){return{advance:1,node:new jh(t[0])}}function wF(e,t){let r=[],n=0;for(;;){if(Pk(t[n])){let i=yF(0,t.slice(n));n+=i.advance,r.push(i.node);continue}if(!Ih(t[n]))return{advance:n,nodes:r};r.push(new jh(t[n])),n++}}function uo(e,t){var a;let r={onParseError:(a=t==null?void 0:t.onParseError)!=null?a:(()=>{})},n=[...e];Kt(n[n.length-1])&&n.push([z.EOF,"",n[n.length-1][2],n[n.length-1][3],void 0]);let i=[],o=0;for(;;){if(!n[o]||Kt(n[o]))return i;let s=Oh(r,n.slice(o));i.push(s.node),o+=s.advance}}function kF(e,t){var s;let r={onParseError:(s=t==null?void 0:t.onParseError)!=null?s:(()=>{})},n=[...e];if(e.length===0)return[];Kt(n[n.length-1])&&n.push([z.EOF,"",n[n.length-1][2],n[n.length-1][3],void 0]);let i=[],o=[],a=0;for(;;){if(!n[a]||Kt(n[a]))return o.length&&i.push(o),i;if(rn(n[a])){i.push(o),o=[],a++;continue}let l=Oh(r,e.slice(a));o.push(l.node),a+=l.advance}}function S7(e,t,r){if(e.length===0)return;let n=Ei(e),i=0;for(;i<e.length;){let o=e[i],a;if(r&&(a={...r}),t({node:o,parent:{value:e},state:a},i)===!1)return!1;if(i=n(e,o,i),i===-1)break}}function Dn(e,t,r){e.length!==0&&S7(e,(n,i)=>t(n,i)!==!1&&(!("walk"in n.node)||!e.includes(n.node)||n.node.walk(t,n.state)!==!1)&&void 0,r)}function xF(e){return e.map(t=>t.map(r=>ke(...r.tokens())).join("")).join(",")}function Dr(e){return Qm.isSimpleBlockNode(e)}function He(e){return $t.isFunctionNode(e)}function id(e){return Ot.isWhitespaceNode(e)}function Ik(e){return jh.isCommentNode(e)}function It(e){return id(e)||Ik(e)}function le(e){return pe.isTokenNode(e)}function Wt(e){if(Array.isArray(e)){let i=e[0];if(!i)return[0,0];let o=e[e.length-1]||i;return[Wt(i)[0],Wt(o)[1]]}let t=e.tokens(),r=t[0],n=t[t.length-1];return r&&n?[r[2],n[3]]:[0,0]}var Ie,gg,$t,Qm,Ot,jh,pe,Ct=y(()=>{rt(),(function(e){e.Function="function",e.SimpleBlock="simple-block",e.Whitespace="whitespace",e.Comment="comment",e.Token="token"})(Ie||(Ie={})),gg=class{constructor(){U(this,"value",[])}indexOf(e){return this.value.indexOf(e)}at(e){if(typeof e=="number")return e<0&&(e=this.value.length+e),this.value[e]}forEach(e,t){if(this.value.length===0)return;let r=Ei(this.value),n=0;for(;n<this.value.length;){let i=this.value[n],o;if(t&&(o={...t}),e({node:i,parent:this,state:o},n)===!1)return!1;if(n=r(this.value,i,n),n===-1)break}}walk(e,t){this.value.length!==0&&this.forEach((r,n)=>e(r,n)!==!1&&(!("walk"in r.node)||!this.value.includes(r.node)||r.node.walk(e,r.state)!==!1)&&void 0,t)}},$t=class Iy extends gg{constructor(r,n,i){super();U(this,"type",Ie.Function);U(this,"name");U(this,"endToken");this.name=r,this.endToken=n,this.value=i}getName(){return this.name[4].value}normalize(){Kt(this.endToken)&&(this.endToken=[z.CloseParen,")",-1,-1,void 0])}tokens(){return Kt(this.endToken)?[this.name,...this.value.flatMap(r=>r.tokens())]:[this.name,...this.value.flatMap(r=>r.tokens()),this.endToken]}toString(){let r=this.value.map(n=>rd(n)?ke(n):n.toString()).join("");return ke(this.name)+r+ke(this.endToken)}toJSON(){return{type:this.type,name:this.getName(),tokens:this.tokens(),value:this.value.map(r=>r.toJSON())}}isFunctionNode(){return Iy.isFunctionNode(this)}static isFunctionNode(r){return!!r&&r instanceof Iy&&r.type===Ie.Function}},Qm=class Oy extends gg{constructor(r,n,i){super();U(this,"type",Ie.SimpleBlock);U(this,"startToken");U(this,"endToken");this.startToken=r,this.endToken=n,this.value=i}normalize(){if(Kt(this.endToken)){let r=r7(this.startToken);r&&(this.endToken=r)}}tokens(){return Kt(this.endToken)?[this.startToken,...this.value.flatMap(r=>r.tokens())]:[this.startToken,...this.value.flatMap(r=>r.tokens()),this.endToken]}toString(){let r=this.value.map(n=>rd(n)?ke(n):n.toString()).join("");return ke(this.startToken)+r+ke(this.endToken)}toJSON(){return{type:this.type,startToken:this.startToken,tokens:this.tokens(),value:this.value.map(r=>r.toJSON())}}isSimpleBlockNode(){return Oy.isSimpleBlockNode(this)}static isSimpleBlockNode(r){return!!r&&r instanceof Oy&&r.type===Ie.SimpleBlock}},Ot=class jy{constructor(t){U(this,"type",Ie.Whitespace);U(this,"value");this.value=t}tokens(){return this.value}toString(){return ke(...this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isWhitespaceNode(){return jy.isWhitespaceNode(this)}static isWhitespaceNode(t){return!!t&&t instanceof jy&&t.type===Ie.Whitespace}},jh=class Ty{constructor(t){U(this,"type",Ie.Comment);U(this,"value");this.value=t}tokens(){return[this.value]}toString(){return ke(this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isCommentNode(){return Ty.isCommentNode(this)}static isCommentNode(t){return!!t&&t instanceof Ty&&t.type===Ie.Comment}},pe=class Dy{constructor(t){U(this,"type",Ie.Token);U(this,"value");this.value=t}tokens(){return[this.value]}toString(){return this.value[1]}toJSON(){return{type:this.type,tokens:this.tokens()}}isTokenNode(){return Dy.isTokenNode(this)}static isTokenNode(t){return!!t&&t instanceof Dy&&t.type===Ie.Token}}});function jt(e){return e.replace(zF,t=>String.fromCharCode(t.charCodeAt(0)+32))}function ht(e,t){if(!Ee(e)||!Ee(t))return t;let r=jt(e[4].unit),n=jt(t[4].unit);if(r===n)return t;let i=Tk.get(n);if(!i)return t;let o=i.get(r);if(!o)return t;let a=o(t[4].value),s=[z.Dimension,"",t[2],t[3],{...t[4],signCharacter:a<0?"-":void 0,type:Number.isInteger(a)?re.Integer:re.Number,value:a}];return Ph(s,e[4].unit),s}function C7(e){if(!Ee(e))return e;let t=jt(e[4].unit),r=AF[t];if(t===r)return e;let n=Tk.get(t);if(!n)return e;let i=n.get(r);if(!i)return e;let o=i(e[4].value),a=[z.Dimension,"",e[2],e[3],{...e[4],signCharacter:o<0?"-":void 0,type:Number.isInteger(o)?re.Integer:re.Number,value:o}];return Ph(a,r),a}function z7(e,t){var i;if(e.length!==2)return-1;let r=e[0].value,n=e[1].value;if(Ae(r)&&Ae(n)){let o=r[4].value+n[4].value;return new pe([z.Number,o.toString(),r[2],n[3],{value:o,type:r[4].type===re.Integer&&n[4].type===re.Integer?re.Integer:re.Number}])}if(Ge(r)&&Ge(n)){let o=r[4].value+n[4].value;return new pe([z.Percentage,o.toString()+"%",r[2],n[3],{value:o}])}if(Ee(r)&&Ee(n)&&(n=ht(r,n),jt(r[4].unit)===jt(n[4].unit))){let o=r[4].value+n[4].value;return new pe([z.Dimension,o.toString()+r[4].unit,r[2],n[3],{value:o,type:r[4].type===re.Integer&&n[4].type===re.Integer?re.Integer:re.Number,unit:r[4].unit}])}return(Ae(r)&&(Ee(n)||Ge(n))||Ae(n)&&(Ee(r)||Ge(r)))&&((i=t.onParseError)==null||i.call(t,new jk(od.UnexpectedAdditionOfDimensionOrPercentageWithNumber,e))),-1}function A7(e){if(e.length!==2)return-1;let t=e[0].value,r=e[1].value;if(Ae(t)&&Ae(r)){let n=t[4].value/r[4].value;return new pe([z.Number,n.toString(),t[2],r[3],{value:n,type:Number.isInteger(n)?re.Integer:re.Number}])}if(Ge(t)&&Ae(r)){let n=t[4].value/r[4].value;return new pe([z.Percentage,n.toString()+"%",t[2],r[3],{value:n}])}if(Ee(t)&&Ae(r)){let n=t[4].value/r[4].value;return new pe([z.Dimension,n.toString()+t[4].unit,t[2],r[3],{value:n,type:Number.isInteger(n)?re.Integer:re.Number,unit:t[4].unit}])}return-1}function un(e){return!!e&&typeof e=="object"&&"inputs"in e&&Array.isArray(e.inputs)&&"operation"in e}function xt(e,t){if(e===-1)return-1;let r=[];for(let n=0;n<e.inputs.length;n++){let i=e.inputs[n];if(le(i)){r.push(i);continue}let o=xt(i,t);if(o===-1)return-1;r.push(o)}return e.operation(r,t)}function N7(e){if(e.length!==2)return-1;let t=e[0].value,r=e[1].value;if(Ae(t)&&Ae(r)){let n=t[4].value*r[4].value;return new pe([z.Number,n.toString(),t[2],r[3],{value:n,type:t[4].type===re.Integer&&r[4].type===re.Integer?re.Integer:re.Number}])}if(Ge(t)&&Ae(r)){let n=t[4].value*r[4].value;return new pe([z.Percentage,n.toString()+"%",t[2],r[3],{value:n}])}if(Ae(t)&&Ge(r)){let n=t[4].value*r[4].value;return new pe([z.Percentage,n.toString()+"%",t[2],r[3],{value:n}])}if(Ee(t)&&Ae(r)){let n=t[4].value*r[4].value;return new pe([z.Dimension,n.toString()+t[4].unit,t[2],r[3],{value:n,type:t[4].type===re.Integer&&r[4].type===re.Integer?re.Integer:re.Number,unit:t[4].unit}])}if(Ae(t)&&Ee(r)){let n=t[4].value*r[4].value;return new pe([z.Dimension,n.toString()+r[4].unit,t[2],r[3],{value:n,type:t[4].type===re.Integer&&r[4].type===re.Integer?re.Integer:re.Number,unit:r[4].unit}])}return-1}function Ki(e,t){for(let r=0;r<e.length;r++){let n=e[r];if(!le(n))continue;let i=n.value;if(!Ye(i))continue;let o=jt(i[4].value);switch(o){case"e":e.splice(r,1,new pe([z.Number,Math.E.toString(),i[2],i[3],{value:Math.E,type:re.Number}]));break;case"pi":e.splice(r,1,new pe([z.Number,Math.PI.toString(),i[2],i[3],{value:Math.PI,type:re.Number}]));break;case"infinity":e.splice(r,1,new pe([z.Number,"infinity",i[2],i[3],{value:1/0,type:re.Number}]));break;case"-infinity":e.splice(r,1,new pe([z.Number,"-infinity",i[2],i[3],{value:-1/0,type:re.Number}]));break;case"nan":e.splice(r,1,new pe([z.Number,"NaN",i[2],i[3],{value:Number.NaN,type:re.Number}]));break;default:if(t.has(o)){let a=t.get(o);e.splice(r,1,new pe(a))}}}return e}function Th(e){if(e.length!==1)return-1;let t=e[0].value;return tt(t)?e[0]:-1}function mt(e,t,r){return Ee(t)?Nd(e,t[4].unit,r):Ge(t)?E7(e,r):Ae(t)?Ar(e,r):-1}function Nd(e,t,r){let n=e.tokens();return{inputs:[new pe([z.Dimension,r.toString()+t,n[0][2],n[n.length-1][3],{value:r,type:Number.isInteger(r)?re.Integer:re.Number,unit:t}])],operation:Th}}function E7(e,t){let r=e.tokens();return{inputs:[new pe([z.Percentage,t.toString()+"%",r[0][2],r[r.length-1][3],{value:t}])],operation:Th}}function Ar(e,t){let r=e.tokens();return{inputs:[new pe([z.Number,t.toString(),r[0][2],r[r.length-1][3],{value:t,type:Number.isInteger(t)?re.Integer:re.Number}])],operation:Th}}function P7(e,t){let r=t.value;return Ae(r)?Nd(e,"rad",Math.acos(r[4].value)):-1}function I7(e,t){let r=t.value;return Ae(r)?Nd(e,"rad",Math.asin(r[4].value)):-1}function O7(e,t){let r=t.value;return Ae(r)?Nd(e,"rad",Math.atan(r[4].value)):-1}function Dh(e){return Ee(e)||Ae(e)}function Ok(e){if(e.length===0)return!0;let t=e[0];if(!tt(t))return!1;if(e.length===1)return!0;if(Ee(t)){let r=jt(t[4].unit);for(let n=1;n<e.length;n++){let i=e[n];if(t[0]!==i[0]||r!==jt(i[4].unit))return!1}return!0}for(let r=1;r<e.length;r++){let n=e[r];if(t[0]!==n[0])return!1}return!0}function Nr(e,t){return!!tt(e)&&(Ee(e)?e[0]===t[0]&&jt(e[4].unit)===jt(t[4].unit):e[0]===t[0])}function j7(e,t,r){let n=t.value;if(!Dh(n))return-1;let i=ht(n,r.value);return Nr(n,i)?Nd(e,"rad",Math.atan2(n[4].value,i[4].value)):-1}function T7(e,t,r){let n=t.value;return!tt(n)||!r.rawPercentages&&Ge(n)?-1:mt(e,n,Math.abs(n[4].value))}function D7(e,t,r,n,i){if(!le(t)||!le(r)||!le(n))return-1;let o=t.value;if(!tt(o)||!i.rawPercentages&&Ge(o))return-1;let a=ht(o,r.value);if(!Nr(o,a))return-1;let s=ht(o,n.value);return Nr(o,s)?mt(e,o,Math.max(o[4].value,Math.min(a[4].value,s[4].value))):-1}function L7(e,t){let r=t.value;if(!Dh(r))return-1;let n=r[4].value;if(Ee(r))switch(r[4].unit.toLowerCase()){case"rad":break;case"deg":n=ad.get("rad")(r[4].value);break;case"grad":n=Hi.get("rad")(r[4].value);break;case"turn":n=Xi.get("rad")(r[4].value);break;default:return-1}return n=Math.cos(n),Ar(e,n)}function F7(e,t){let r=t.value;return Ae(r)?Ar(e,Math.exp(r[4].value)):-1}function M7(e,t,r){if(!t.every(le))return-1;let n=t[0].value;if(!tt(n)||!r.rawPercentages&&Ge(n))return-1;let i=t.map(s=>ht(n,s.value));if(!Ok(i))return-1;let o=i.map(s=>s[4].value),a=Math.hypot(...o);return mt(e,n,a)}function fS(e,t,r){if(!t.every(le))return-1;let n=t[0].value;if(!tt(n)||!r.rawPercentages&&Ge(n))return-1;let i=t.map(s=>ht(n,s.value));if(!Ok(i))return-1;let o=i.map(s=>s[4].value),a=Math.max(...o);return mt(e,n,a)}function gS(e,t,r){if(!t.every(le))return-1;let n=t[0].value;if(!tt(n)||!r.rawPercentages&&Ge(n))return-1;let i=t.map(s=>ht(n,s.value));if(!Ok(i))return-1;let o=i.map(s=>s[4].value),a=Math.min(...o);return mt(e,n,a)}function R7(e,t,r){let n=t.value;if(!tt(n))return-1;let i=ht(n,r.value);if(!Nr(n,i))return-1;let o;return o=i[4].value===0?Number.NaN:Number.isFinite(n[4].value)&&(Number.isFinite(i[4].value)||(i[4].value!==Number.POSITIVE_INFINITY||n[4].value!==Number.NEGATIVE_INFINITY&&!Object.is(0*n[4].value,-0))&&(i[4].value!==Number.NEGATIVE_INFINITY||n[4].value!==Number.POSITIVE_INFINITY&&!Object.is(0*n[4].value,0)))?Number.isFinite(i[4].value)?(n[4].value%i[4].value+i[4].value)%i[4].value:n[4].value:Number.NaN,mt(e,n,o)}function $7(e,t,r){let n=t.value,i=r.value;return!Ae(n)||!Nr(n,i)?-1:Ar(e,Math.pow(n[4].value,i[4].value))}function B7(e,t,r){let n=t.value;if(!tt(n))return-1;let i=ht(n,r.value);if(!Nr(n,i))return-1;let o;return o=i[4].value===0?Number.NaN:Number.isFinite(n[4].value)?Number.isFinite(i[4].value)?n[4].value%i[4].value:n[4].value:Number.NaN,mt(e,n,o)}function SF(e,t,r){var a;if(!Ee(t))return-1;let n=(a=r.devicePixelLength)!=null?a:1,i=[z.Dimension,`${n}px`,t[2],t[3],{value:n,type:re.Integer,unit:"px"}],o=ht(i,t);if(!Nr(o,i)||o[4].value<0)return-1;if(Number.isInteger(o[4].value/n))return mt(e,t,t[4].value);if(o[4].value>0&&o[4].value<n)return mt(e,t,ht(t,i)[4].value);if(o[4].value>n){let s=Math.floor(o[4].value/i[4].value)*i[4].value;return o[4].value=s,mt(e,t,ht(t,o)[4].value)}return mt(e,t,t[4].value)}function q7(e,t,r,n,i){let o=r.value;if(!tt(o)||t==="line-width"&&!Ee(o)||!i.rawPercentages&&Ge(o))return-1;let a=ht(o,n.value);if(!Nr(o,a))return-1;let s;if(a[4].value===0)s=Number.NaN;else if(Number.isFinite(o[4].value)||Number.isFinite(a[4].value))if(!Number.isFinite(o[4].value)&&Number.isFinite(a[4].value))s=o[4].value;else if(Number.isFinite(o[4].value)&&!Number.isFinite(a[4].value))switch(t){case"down":s=o[4].value<0?-1/0:Object.is(-0,0*o[4].value)?-0:0;break;case"up":s=o[4].value>0?1/0:Object.is(0,0*o[4].value)?0:-0;break;default:s=Object.is(0,0*o[4].value)?0:-0}else switch(t){case"down":s=Math.floor(o[4].value/a[4].value)*a[4].value;break;case"up":s=Math.ceil(o[4].value/a[4].value)*a[4].value;break;case"to-zero":s=Math.trunc(o[4].value/a[4].value)*a[4].value;break;default:{let l=Math.floor(o[4].value/a[4].value)*a[4].value,u=Math.ceil(o[4].value/a[4].value)*a[4].value;if(l>u){let p=l;l=u,u=p}let c=Math.abs(o[4].value-l),d=Math.abs(o[4].value-u);if(s=t==="line-width"&&o[4].value>0&&(u===0||l===0)?u!==0?u:l:c===d?u:c<d?l:u,t==="line-width"){let p=xt(mt(e,o,s),i);return p===-1?-1:SF(e,p.value,i)}break}}else s=Number.NaN;return mt(e,o,s)}function W7(e,t,r){let n=t.value;return!tt(n)||!r.rawPercentages&&Ge(n)?-1:Ar(e,Math.sign(n[4].value))}function _7(e,t){let r=t.value;if(!Dh(r))return-1;let n=r[4].value;if(Ee(r))switch(jt(r[4].unit)){case"rad":break;case"deg":n=ad.get("rad")(r[4].value);break;case"grad":n=Hi.get("rad")(r[4].value);break;case"turn":n=Xi.get("rad")(r[4].value);break;default:return-1}return n=Math.sin(n),Ar(e,n)}function U7(e,t){let r=t.value;return Ae(r)?Ar(e,Math.sqrt(r[4].value)):-1}function V7(e,t){let r=t.value;if(!Dh(r))return-1;let n=r[4].value,i=0,o=r[4].value;if(Ee(r))switch(jt(r[4].unit)){case"rad":i=Fy.get("deg")(n);break;case"deg":i=n,o=ad.get("rad")(n);break;case"grad":i=Hi.get("deg")(n),o=Hi.get("rad")(n);break;case"turn":i=Xi.get("deg")(n),o=Xi.get("rad")(n);break;default:return-1}let a=i/90;return o=i%90==0&&a%2!=0?a>0?1/0:-1/0:Math.tan(o),Ar(e,o)}function Q7(e,t){var i;if(e.length!==2)return-1;let r=e[0].value,n=e[1].value;if(Ae(r)&&Ae(n)){let o=r[4].value-n[4].value;return new pe([z.Number,o.toString(),r[2],n[3],{value:o,type:r[4].type===re.Integer&&n[4].type===re.Integer?re.Integer:re.Number}])}if(Ge(r)&&Ge(n)){let o=r[4].value-n[4].value;return new pe([z.Percentage,o.toString()+"%",r[2],n[3],{value:o}])}if(Ee(r)&&Ee(n)&&(n=ht(r,n),jt(r[4].unit)===jt(n[4].unit))){let o=r[4].value-n[4].value;return new pe([z.Dimension,o.toString()+r[4].unit,r[2],n[3],{value:o,type:r[4].type===re.Integer&&n[4].type===re.Integer?re.Integer:re.Number,unit:r[4].unit}])}return(Ae(r)&&(Ee(n)||Ge(n))||Ae(n)&&(Ee(r)||Ge(r)))&&((i=t.onParseError)==null||i.call(t,new jk(od.UnexpectedSubtractionOfDimensionOrPercentageWithNumber,e))),-1}function Y7(e,t){if(t.length===1){let r=t[0];if(!r||!le(r))return-1;let n=r.value;return Ae(n)?Ar(e,Math.log(n[4].value)):-1}if(t.length===2){let r=t[0];if(!r||!le(r))return-1;let n=r.value;if(!Ae(n))return-1;let i=t[1];if(!i||!le(i))return-1;let o=i.value;return Ae(o)?Ar(e,Math.log(n[4].value)/Math.log(o[4].value)):-1}return-1}function Ly(e){if(Array.isArray(e)){let r=e.filter(n=>!(id(n)&&Ik(n)));return r.length===1&&Ly(r[0])}if(!le(e))return!1;let t=e.value;return!!Ye(t)&&NF.test(t[4].value)}function G7(e,t,r,n,i,o){var m;if(t.fixed===-1&&!o.randomCaching)return-1;o.randomCaching||(o.randomCaching={propertyName:"",propertyN:0,elementID:"",documentID:""}),o.randomCaching&&!o.randomCaching.propertyN&&(o.randomCaching.propertyN=0);let a=r.value;if(!tt(a))return-1;let s=ht(a,n.value);if(!Nr(a,s))return-1;let l=null;if(i&&(l=ht(a,i.value),!Nr(a,l)))return-1;if(!Number.isFinite(a[4].value)||!Number.isFinite(s[4].value)||!Number.isFinite(s[4].value-a[4].value))return mt(e,a,Number.NaN);if(l&&!Number.isFinite(l[4].value))return mt(e,a,a[4].value);let u=t.fixed===-1?K7(H7([t.dashedIdent?t.dashedIdent:`${(m=o.randomCaching)==null?void 0:m.propertyName} ${o.randomCaching.propertyN++}`,t.elementShared?"":o.randomCaching.elementID,o.randomCaching.documentID].join(EF))):()=>t.fixed,c=a[4].value,d=s[4].value;if(c>d&&([c,d]=[d,c]),l&&(l[4].value<=0||Math.abs(c-d)/l[4].value>1e10)&&(l=null),l){let v=Math.max(l[4].value/1e3,1e-9),h=[c],b=0;for(;;){b+=l[4].value;let f=c+b;if(!(f+v<d)){h.push(d);break}if(h.push(f),f+l[4].value-v>d)break}let g=u();return mt(e,a,Number(h[Math.floor(h.length*g)].toFixed(5)))}let p=u();return mt(e,a,Number((p*(d-c)+c).toFixed(5)))}function K7(e=.34944106645296036,t=.19228640875738723,r=.8784393832007205,n=.04850964319275053){return()=>{let i=((e|=0)+(t|=0)|0)+(n|=0)|0;return n=n+1|0,e=t^t>>>9,t=(r|=0)+(r<<3)|0,r=(r=r<<21|r>>>11)+i|0,(i>>>0)/4294967296}}function H7(e){let t,r,n=0;n^=-1;for(let i=0,o=e.length;i<o;i++)r=255&(n^e.charCodeAt(i)),t=+("0x"+"00000000 77073096 EE0E612C 990951BA 076DC419 706AF48F E963A535 9E6495A3 0EDB8832 79DCB8A4 E0D5E91E 97D2D988 09B64C2B 7EB17CBD E7B82D07 90BF1D91 1DB71064 6AB020F2 F3B97148 84BE41DE 1ADAD47D 6DDDE4EB F4D4B551 83D385C7 136C9856 646BA8C0 FD62F97A 8A65C9EC 14015C4F 63066CD9 FA0F3D63 8D080DF5 3B6E20C8 4C69105E D56041E4 A2677172 3C03E4D1 4B04D447 D20D85FD A50AB56B 35B5A8FA 42B2986C DBBBC9D6 ACBCF940 32D86CE3 45DF5C75 DCD60DCF ABD13D59 26D930AC 51DE003A C8D75180 BFD06116 21B4F4B5 56B3C423 CFBA9599 B8BDA50F 2802B89E 5F058808 C60CD9B2 B10BE924 2F6F7C87 58684C11 C1611DAB B6662D3D 76DC4190 01DB7106 98D220BC EFD5102A 71B18589 06B6B51F 9FBFE4A5 E8B8D433 7807C9A2 0F00F934 9609A88E E10E9818 7F6A0DBB 086D3D2D 91646C97 E6635C01 6B6B51F4 1C6C6162 856530D8 F262004E 6C0695ED 1B01A57B 8208F4C1 F50FC457 65B0D9C6 12B7E950 8BBEB8EA FCB9887C 62DD1DDF 15DA2D49 8CD37CF3 FBD44C65 4DB26158 3AB551CE A3BC0074 D4BB30E2 4ADFA541 3DD895D7 A4D1C46D D3D6F4FB 4369E96A 346ED9FC AD678846 DA60B8D0 44042D73 33031DE5 AA0A4C5F DD0D7CC9 5005713C 270241AA BE0B1010 C90C2086 5768B525 206F85B3 B966D409 CE61E49F 5EDEF90E 29D9C998 B0D09822 C7D7A8B4 59B33D17 2EB40D81 B7BD5C3B C0BA6CAD EDB88320 9ABFB3B6 03B6E20C 74B1D29A EAD54739 9DD277AF 04DB2615 73DC1683 E3630B12 94643B84 0D6D6A3E 7A6A5AA8 E40ECF0B 9309FF9D 0A00AE27 7D079EB1 F00F9344 8708A3D2 1E01F268 6906C2FE F762575D 806567CB 196C3671 6E6B06E7 FED41B76 89D32BE0 10DA7A5A 67DD4ACC F9B9DF6F 8EBEEFF9 17B7BE43 60B08ED5 D6D6A3E8 A1D1937E 38D8C2C4 4FDFF252 D1BB67F1 A6BC5767 3FB506DD 48B2364B D80D2BDA AF0A1B4C 36034AF6 41047A60 DF60EFC3 A867DF55 316E8EEF 4669BE79 CB61B38C BC66831A 256FD2A0 5268E236 CC0C7795 BB0B4703 220216B9 5505262F C5BA3BBE B2BD0B28 2BB45A92 5CB36A04 C2D7FFA7 B5D0CF31 2CD99E8B 5BDEAE1D 9B64C2B0 EC63F226 756AA39C 026D930A 9C0906A9 EB0E363F 72076785 05005713 95BF4A82 E2B87A14 7BB12BAE 0CB61B38 92D28E9B E5D5BE0D 7CDCEFB7 0BDBDF21 86D3D2D4 F1D4E242 68DDB3F8 1FDA836E 81BE16CD F6B9265B 6FB077E1 18B74777 88085AE6 FF0F6A70 66063BCA 11010B5C 8F659EFF F862AE69 616BFFD3 166CCF45 A00AE278 D70DD2EE 4E048354 3903B3C2 A7672661 D06016F7 4969474D 3E6E77DB AED16A4A D9D65ADC 40DF0B66 37D83BF0 A9BCAE53 DEBB9EC5 47B2CF7F 30B5FFE9 BDBDF21C CABAC28A 53B39330 24B4A3A6 BAD03605 CDD70693 54DE5729 23D967BF B3667A2E C4614AB8 5D681B02 2A6F2B94 B40BBE37 C30C8EA1 5A05DF1B 2D02EF8D".substring(9*r,9*r+8)),n=n>>>8^t;return(-1^n)>>>0}function kt(e,t,r){let n=Ki([...e.value.filter(o=>!It(o))],t);if(n.length===1&&le(n[0]))return{inputs:[n[0]],operation:Th};let i=0;for(;i<n.length;){let o=n[i];if(Dr(o)&&lo(o.startToken)){let a=kt(o,t,r);if(a===-1)return-1;n.splice(i,1,a);continue}if(He(o)){let a=Ym.get(o.getName().toLowerCase());if(!a)return-1;let s=a(o,t,r);if(s===-1)return-1;n.splice(i,1,s);continue}i++}if(i=0,n.length===1&&un(n[0]))return n[0];for(;i<n.length;){let o=n[i];if(!o||!le(o)&&!un(o)){i++;continue}let a=n[i+1];if(!a||!le(a)){i++;continue}let s=a.value;if(!qt(s)||s[4].value!=="*"&&s[4].value!=="/"){i++;continue}let l=n[i+2];if(!l||!le(l)&&!un(l))return-1;s[4].value!=="*"?s[4].value!=="/"?i++:n.splice(i,3,{inputs:[o,l],operation:A7}):n.splice(i,3,{inputs:[o,l],operation:N7})}if(i=0,n.length===1&&un(n[0]))return n[0];for(;i<n.length;){let o=n[i];if(!o||!le(o)&&!un(o)){i++;continue}let a=n[i+1];if(!a||!le(a)){i++;continue}let s=a.value;if(!qt(s)||s[4].value!=="+"&&s[4].value!=="-"){i++;continue}let l=n[i+2];if(!l||!le(l)&&!un(l))return-1;s[4].value!=="+"?s[4].value!=="-"?i++:n.splice(i,3,{inputs:[o,l],operation:Q7}):n.splice(i,3,{inputs:[o,l],operation:z7})}return n.length===1&&un(n[0])?n[0]:-1}function br(e,t,r,n){let i=X7(e,t,r);return i===-1?-1:n(e,i,r)}function X7(e,t,r){let n=Ki([...e.value.filter(o=>!It(o))],t),i=xt(kt(Rt(e,n),t,r),r);return i===-1?-1:i}function Op(e,t,r,n){let i=J7(e,t,r);if(i===-1)return-1;let[o,a]=i;return n(e,o,a,r)}function J7(e,t,r){let n=Ki([...e.value.filter(l=>!It(l))],t),i=[],o=[];{let l=i;for(let u=0;u<n.length;u++){let c=n[u];if(le(c)&&rn(c.value)){if(l===o)return-1;if(l===i){l=o;continue}return-1}l.push(c)}}let a=xt(kt(Rt(e,i),t,r),r);if(a===-1)return-1;let s=xt(kt(Rt(e,o),t,r),r);return s===-1?-1:[a,s]}function jp(e,t,r,n){let i=CF(e,e.value,t,r);return i===-1?-1:n(e,i,r)}function CF(e,t,r,n){let i=Ki([...t.filter(a=>!It(a))],r),o=[];{let a=[],s=[];for(let l=0;l<i.length;l++){let u=i[l];le(u)&&rn(u.value)?(a.push(s),s=[]):s.push(u)}a.push(s);for(let l=0;l<a.length;l++){if(a[l].length===0)return-1;let u=xt(kt(Rt(e,a[l]),r,n),n);if(u===-1)return-1;o.push(u)}}return o}function Z7(e,t,r,n){let i={isAuto:!1,dashedIdent:"",fixed:-1,elementShared:!1},o=t[0];if(!le(o)||!Ye(o.value))return[i,t];for(let a=0;a<t.length;a++){let s=t[a];if(!le(s))return-1;if(rn(s.value))return[i,t.slice(a+1)];if(!Ye(s.value))return-1;let l=s.value[4].value.toLowerCase();if(l!=="element-shared"){if(l==="fixed"){if(i.elementShared||i.dashedIdent||i.isAuto)return-1;a++;let u=t[a];if(!u)return-1;let c=xt(kt(Rt(e,[u]),r,n),n);if(c===-1||!Ae(c.value)||c.value[4].value<0||c.value[4].value>1)return-1;i.fixed=Math.max(0,Math.min(c.value[4].value,1-1e-9));continue}if(l!=="auto"){if(l.startsWith("--")){if(i.fixed!==-1||i.isAuto)return-1;i.dashedIdent=l}}else{if(i.fixed!==-1||i.dashedIdent)return-1;i.isAuto=!0}}else{if(i.fixed!==-1)return-1;i.elementShared=!0}}return-1}function Rt(e,t){return new $t([z.Function,"calc(",e.name[2],e.name[3],{value:"calc"}],[z.CloseParen,")",e.endToken[2],e.endToken[3],void 0],t)}function eU(e,t,r){return new $t([z.Function,"max(",e.name[2],e.name[3],{value:"max"}],[z.CloseParen,")",e.endToken[2],e.endToken[3],void 0],[t,new pe([z.Comma,",",...Wt(t),void 0]),r])}function tU(e){if(e===-1)return-1;if(He(e))return e;let t=e.value;return tt(t)&&Number.isNaN(t[4].value)?Ae(t)?new $t([z.Function,"calc(",t[2],t[3],{value:"calc"}],[z.CloseParen,")",t[2],t[3],void 0],[new pe([z.Ident,"NaN",t[2],t[3],{value:"NaN"}])]):Ee(t)?new $t([z.Function,"calc(",t[2],t[3],{value:"calc"}],[z.CloseParen,")",t[2],t[3],void 0],[new pe([z.Ident,"NaN",t[2],t[3],{value:"NaN"}]),new Ot([[z.Whitespace," ",t[2],t[3],void 0]]),new pe([z.Delim,"*",t[2],t[3],{value:"*"}]),new Ot([[z.Whitespace," ",t[2],t[3],void 0]]),new pe([z.Dimension,"1"+t[4].unit,t[2],t[3],{value:1,type:re.Integer,unit:t[4].unit}])]):Ge(t)?new $t([z.Function,"calc(",t[2],t[3],{value:"calc"}],[z.CloseParen,")",t[2],t[3],void 0],[new pe([z.Ident,"NaN",t[2],t[3],{value:"NaN"}]),new Ot([[z.Whitespace," ",t[2],t[3],void 0]]),new pe([z.Delim,"*",t[2],t[3],{value:"*"}]),new Ot([[z.Whitespace," ",t[2],t[3],void 0]]),new pe([z.Percentage,"1%",t[2],t[3],{value:1}])]):-1:e}function rU(e){if(e===-1)return-1;if(He(e))return e;let t=e.value;if(!tt(t)||Number.isFinite(t[4].value)||Number.isNaN(t[4].value))return e;let r="";return Number.NEGATIVE_INFINITY===t[4].value&&(r="-"),Ae(t)?new $t([z.Function,"calc(",t[2],t[3],{value:"calc"}],[z.CloseParen,")",t[2],t[3],void 0],[new pe([z.Ident,r+"infinity",t[2],t[3],{value:r+"infinity"}])]):Ee(t)?new $t([z.Function,"calc(",t[2],t[3],{value:"calc"}],[z.CloseParen,")",t[2],t[3],void 0],[new pe([z.Ident,r+"infinity",t[2],t[3],{value:r+"infinity"}]),new Ot([[z.Whitespace," ",t[2],t[3],void 0]]),new pe([z.Delim,"*",t[2],t[3],{value:"*"}]),new Ot([[z.Whitespace," ",t[2],t[3],void 0]]),new pe([z.Dimension,"1"+t[4].unit,t[2],t[3],{value:1,type:re.Integer,unit:t[4].unit}])]):new $t([z.Function,"calc(",t[2],t[3],{value:"calc"}],[z.CloseParen,")",t[2],t[3],void 0],[new pe([z.Ident,r+"infinity",t[2],t[3],{value:r+"infinity"}]),new Ot([[z.Whitespace," ",t[2],t[3],void 0]]),new pe([z.Delim,"*",t[2],t[3],{value:"*"}]),new Ot([[z.Whitespace," ",t[2],t[3],void 0]]),new pe([z.Percentage,"1%",t[2],t[3],{value:1}])])}function nU(e){if(e===-1)return-1;if(He(e))return e;let t=e.value;return tt(t)&&Object.is(-0,t[4].value)&&(t[1]==="-0"||(Ge(t)?t[1]="-0%":Ee(t)?t[1]="-0"+t[4].unit:t[1]="-0")),e}function iU(e,t=13){if(e===-1)return-1;if(t<=0||He(e))return e;let r=e.value;if(!tt(r)||Number.isInteger(r[4].value))return e;let n=Number(r[4].value.toFixed(t)).toString();return Ae(r)?r[1]=n:Ge(r)?r[1]=n+"%":Ee(r)&&(r[1]=n+r[4].unit),e}function oU(e){return e===-1?-1:(He(e)||Ee(e.value)&&(e.value=C7(e.value)),e)}function aU(e,t){let r=e;return t!=null&&t.toCanonicalUnits&&(r=oU(r)),r=iU(r,t==null?void 0:t.precision),r=nU(r),t!=null&&t.censorIntoStandardRepresentableValues||(r=tU(r),r=rU(r)),r}function sU(e){let t=new Map;if(!e)return t;for(let[r,n]of e)if(rd(n))t.set(r,n);else if(typeof n=="string"){let i=dF({css:n}),o=i.nextToken();if(i.nextToken(),!i.endOfFile()||!tt(o))continue;t.set(r,o);continue}return t}function lU(e,t){let r=sU(t==null?void 0:t.globals);return uU(e,n=>{if(!He(n))return;let i=Ym.get(n.getName().toLowerCase());if(!i)return;let o=aU(xt(i(n,r,t!=null?t:{}),t!=null?t:{}),t);return o!==-1?o:void 0})}function uU(e,t){for(let r=0;r<e.length;r++){let n=e[r];Dn(n,(i,o)=>{if(typeof o!="number")return;let a=t(i.node);if(!a)return;let s=[a],l=i.parent.value[o-1];le(l)&&qt(l.value)&&(l.value[4].value==="-"||l.value[4].value==="+")&&s.splice(0,0,new Ot([[z.Whitespace," ",...Wt(i.node),void 0]]));let u=i.parent.value[o+1];!u||It(u)||le(u)&&(rn(u.value)||mF(u.value)||hF(u.value)||qt(u.value)&&u.value[4].value!=="-"&&u.value[4].value!=="+")||s.push(new Ot([[z.Whitespace," ",...Wt(i.node),void 0]])),i.parent.value.splice(o,1,...s)})}return e}var bS,jk,od,zF,AF,vS,ad,Hi,yS,wS,kS,xS,SS,CS,zS,AS,NS,Fy,ES,Xi,Tk,NF,EF,Ym,PS,cU,dU=y(()=>{Ct(),rt(),bS=class extends Error{constructor(t,r,n){super(t);U(this,"sourceStart");U(this,"sourceEnd");this.name="ParseError",this.sourceStart=r,this.sourceEnd=n}},jk=class extends bS{constructor(t,r){super(t,...Wt(r));U(this,"componentValues");this.componentValues=r}},od={UnexpectedAdditionOfDimensionOrPercentageWithNumber:"Unexpected addition of a dimension or percentage with a number.",UnexpectedSubtractionOfDimensionOrPercentageWithNumber:"Unexpected subtraction of a dimension or percentage with a number."},zF=/[A-Z]/g,AF={cm:"px",in:"px",mm:"px",pc:"px",pt:"px",px:"px",q:"px",deg:"deg",grad:"deg",rad:"deg",turn:"deg",ms:"s",s:"s",hz:"hz",khz:"hz"},vS=new Map([["cm",e=>e],["mm",e=>10*e],["q",e=>40*e],["in",e=>e/2.54],["pc",e=>e/2.54*6],["pt",e=>e/2.54*72],["px",e=>e/2.54*96]]),ad=new Map([["deg",e=>e],["grad",e=>e/.9],["rad",e=>e/180*Math.PI],["turn",e=>e/360]]),Hi=new Map([["deg",e=>.9*e],["grad",e=>e],["rad",e=>.9*e/180*Math.PI],["turn",e=>.9*e/360]]),yS=new Map([["hz",e=>e],["khz",e=>e/1e3]]),wS=new Map([["cm",e=>2.54*e],["mm",e=>25.4*e],["q",e=>25.4*e*4],["in",e=>e],["pc",e=>6*e],["pt",e=>72*e],["px",e=>96*e]]),kS=new Map([["hz",e=>1e3*e],["khz",e=>e]]),xS=new Map([["cm",e=>e/10],["mm",e=>e],["q",e=>4*e],["in",e=>e/25.4],["pc",e=>e/25.4*6],["pt",e=>e/25.4*72],["px",e=>e/25.4*96]]),SS=new Map([["ms",e=>e],["s",e=>e/1e3]]),CS=new Map([["cm",e=>e/6*2.54],["mm",e=>e/6*25.4],["q",e=>e/6*25.4*4],["in",e=>e/6],["pc",e=>e],["pt",e=>e/6*72],["px",e=>e/6*96]]),zS=new Map([["cm",e=>e/72*2.54],["mm",e=>e/72*25.4],["q",e=>e/72*25.4*4],["in",e=>e/72],["pc",e=>e/72*6],["pt",e=>e],["px",e=>e/72*96]]),AS=new Map([["cm",e=>e/96*2.54],["mm",e=>e/96*25.4],["q",e=>e/96*25.4*4],["in",e=>e/96],["pc",e=>e/96*6],["pt",e=>e/96*72],["px",e=>e]]),NS=new Map([["cm",e=>e/4/10],["mm",e=>e/4],["q",e=>e],["in",e=>e/4/25.4],["pc",e=>e/4/25.4*6],["pt",e=>e/4/25.4*72],["px",e=>e/4/25.4*96]]),Fy=new Map([["deg",e=>180*e/Math.PI],["grad",e=>180*e/Math.PI/.9],["rad",e=>e],["turn",e=>180*e/Math.PI/360]]),ES=new Map([["ms",e=>1e3*e],["s",e=>e]]),Xi=new Map([["deg",e=>360*e],["grad",e=>360*e/.9],["rad",e=>360*e/180*Math.PI],["turn",e=>e]]),Tk=new Map([["cm",vS],["mm",xS],["q",NS],["in",wS],["pc",CS],["pt",zS],["px",AS],["ms",SS],["s",ES],["deg",ad],["grad",Hi],["rad",Fy],["turn",Xi],["hz",yS],["khz",kS]]),NF=/^none$/i,EF=String.fromCodePoint(0),Ym=new Map([["abs",function(e,t,r){return br(e,t,r,T7)}],["acos",function(e,t,r){return br(e,t,r,P7)}],["asin",function(e,t,r){return br(e,t,r,I7)}],["atan",function(e,t,r){return br(e,t,r,O7)}],["atan2",function(e,t,r){return Op(e,t,r,j7)}],["calc",kt],["clamp",function(e,t,r){let n=Ki([...e.value.filter(h=>!It(h))],t),i=[],o=[],a=[];{let h=i;for(let b=0;b<n.length;b++){let g=n[b];if(le(g)&&rn(g.value)){if(h===a)return-1;if(h===o){h=a;continue}if(h===i){h=o;continue}return-1}h.push(g)}}let s=Ly(i),l=Ly(a);if(s&&l)return kt(Rt(e,o),t,r);let u=xt(kt(Rt(e,o),t,r),r);if(u===-1)return-1;if(s){let h=xt(kt(Rt(e,a),t,r),r);return h===-1?-1:gS((c=e,d=u,p=h,new $t([z.Function,"min(",c.name[2],c.name[3],{value:"min"}],[z.CloseParen,")",c.endToken[2],c.endToken[3],void 0],[d,new pe([z.Comma,",",...Wt(d),void 0]),p])),[u,h],r)}if(l){let h=xt(kt(Rt(e,i),t,r),r);return h===-1?-1:fS(eU(e,h,u),[h,u],r)}var c,d,p;let m=xt(kt(Rt(e,i),t,r),r);if(m===-1)return-1;let v=xt(kt(Rt(e,a),t,r),r);return v===-1?-1:D7(e,m,u,v,r)}],["cos",function(e,t,r){return br(e,t,r,L7)}],["exp",function(e,t,r){return br(e,t,r,F7)}],["hypot",function(e,t,r){return jp(e,t,r,M7)}],["log",function(e,t,r){return jp(e,t,r,Y7)}],["max",function(e,t,r){return jp(e,t,r,fS)}],["min",function(e,t,r){return jp(e,t,r,gS)}],["mod",function(e,t,r){return Op(e,t,r,R7)}],["pow",function(e,t,r){return Op(e,t,r,$7)}],["random",function(e,t,r){let n=Z7(e,e.value.filter(c=>!It(c)),t,r);if(n===-1)return-1;let[i,o]=n,a=CF(e,o,t,r);if(a===-1)return-1;let[s,l,u]=a;return!s||!l?-1:G7(e,i,s,l,u,r)}],["rem",function(e,t,r){return Op(e,t,r,B7)}],["round",function(e,t,r){let n=Ki([...e.value.filter(c=>!It(c))],t),i="",o=!1,a=[],s=[];{let c=a;for(let d=0;d<n.length;d++){let p=n[d];if(!i&&a.length===0&&s.length===0&&le(p)&&Ye(p.value)){let m=p.value[4].value.toLowerCase();if(PS.has(m)){i=m;continue}}if(le(p)&&rn(p.value)){if(c===s)return-1;if(c===a&&i&&a.length===0)continue;if(c===a){o=!0,c=s;continue}return-1}c.push(p)}}let l=xt(kt(Rt(e,a),t,r),r);if(l===-1)return-1;if(i==="line-width"){let c=ht([z.Dimension,"1px",l.value[2],l.value[3],{value:1,type:re.Integer,unit:"px"}],l.value);if(!Ee(c)||c[4].unit!=="px")return-1}if(!o&&s.length===0){if(i==="line-width")return l.value[4].value<=0?-1:SF(e,l.value,r);s.push(new pe([z.Number,"1",l.value[2],l.value[3],{value:1,type:re.Integer}]))}let u=xt(kt(Rt(e,s),t,r),r);return u===-1?-1:(i||(i="nearest"),q7(e,i,l,u,r))}],["sign",function(e,t,r){return br(e,t,r,W7)}],["sin",function(e,t,r){return br(e,t,r,_7)}],["sqrt",function(e,t,r){return br(e,t,r,U7)}],["tan",function(e,t,r){return br(e,t,r,V7)}]]),PS=new Set(["nearest","line-width","up","down","to-zero"]),cU=new Set(Ym.keys())}),PF,pU=y(()=>{PF={next:{atrules:{"color-profile":{descriptors:{components:"<ident>#","rendering-intent":"relative-colorimetric | absolute-colorimetric | perceptual | saturation",src:"<url>"}},"font-face":{descriptors:{"ascent-override":"[ normal | <percentage [0,∞]> ]{1,2}","descent-override":"[ normal | <percentage [0,∞]> ]{1,2}","font-language-override":"normal | <string>","font-named-instance":"auto | <string>","font-size":"auto | [ <number> ]{1,2}","font-style":"auto | normal | italic | left | right | oblique [ <angle [-90deg,90deg]>{1,2} ]?","font-weight":"| auto","font-width":"auto | <'font-width'>{1,2}","line-gap-override":"[ normal | <percentage [0,∞]> ]{1,2}","size-adjust":"<percentage [0,∞]>",src:"<font-src-list>","subscript-position-override":"[ normal | from-font | <percentage> ]{1,2}","subscript-size-override":"[ normal | from-font | <percentage [0,∞]> ]{1,2}","superscript-position-override":"[ normal | from-font | <percentage> ]{1,2}","superscript-size-override":"[ normal | from-font | <percentage [0,∞]> ]{1,2}","unicode-range":"<unicode-range-token>#"}},"font-feature-values":{descriptors:{"font-display":"auto | block | swap | fallback | optional"}},function:{descriptors:{result:"<declaration-value>?"}},page:{descriptors:{"page-margin-safety":"none | clamp | add"}}},properties:{"align-self":"auto | <overflow-position>? [ normal | <self-position> ] | stretch | <baseline-position> | anchor-center","alignment-baseline":"auto | before-edge | text-before-edge | after-edge | text-after-edge | baseline | <baseline-metric>",all:" | revert-rule","anchor-name":"none | <anchor-name>#","anchor-scope":"none | all | <anchor-name>#","animation-range-center":"[ normal | [ <length-percentage> | <timeline-range-center-subject> <length-percentage>? ] ]#",appearance:"none | auto | base | base-select | <compat-auto> | <compat-special> | base","background-blend-mode":"<'mix-blend-mode'>#","background-position-block":"[ center | [ [ start | end ]? <length-percentage>? ]! ]#","background-position-inline":"[ center | [ [ start | end ]? <length-percentage>? ]! ]#","background-repeat-block":"<repetition>#","background-repeat-inline":"<repetition>#","background-repeat-x":"<repetition>#","background-repeat-y":"<repetition>#","background-tbd":"<bg-layer>#","baseline-shift":"<length-percentage> | sub | super | top | center | bottom","block-ellipsis":"no-ellipsis | auto | <string>","block-step":"<'block-step-size'> || <'block-step-insert'> || <'block-step-align'> || <'block-step-round'>","block-step-align":"auto | center | start | end","block-step-insert":"margin-box | padding-box | content-box","block-step-round":"up | down | nearest","block-step-size":"none | <length [0,∞]>","bookmark-label":"<content-list>","bookmark-level":"none | <integer [1,∞]>","bookmark-state":"open | closed","border-block-clip":"<'border-top-clip'>","border-block-end":"<line-width> || <line-style> || <color>","border-block-end-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-block-end-color":"<color> | <image-1D>","border-block-end-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-block-end-style":"<line-style>","border-block-end-width":"<line-width>","border-block-start":"<line-width> || <line-style> || <color>","border-block-start-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-block-start-color":"<color> | <image-1D>","border-block-start-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-block-start-style":"<line-style>","border-block-start-width":"<line-width>","border-bottom-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-bottom-color":"<color> | <image-1D>","border-bottom-left-radius":"<border-radius>","border-bottom-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-bottom-right-radius":"<border-radius>","border-boundary":"none | parent | display","border-clip":"<'border-top-clip'>","border-color":"[ <color> | <image-1D> ]{1,4}","border-end-end-radius":"<border-radius>","border-end-start-radius":"<border-radius>","border-inline-clip":"<'border-top-clip'>","border-inline-end":"<line-width> || <line-style> || <color>","border-inline-end-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-inline-end-color":"<color> | <image-1D>","border-inline-end-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-inline-end-style":"<line-style>","border-inline-end-width":"<line-width>","border-inline-start":"<line-width> || <line-style> || <color>","border-inline-start-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-inline-start-color":"<color> | <image-1D>","border-inline-start-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-inline-start-style":"<line-style>","border-inline-start-width":"<line-width>","border-left-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-left-color":"<color> | <image-1D>","border-left-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-limit":"all | [ sides | corners ] <length-percentage [0,∞]>? | [ top | right | bottom | left ] <length-percentage [0,∞]>","border-right-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-right-color":"<color> | <image-1D>","border-right-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-shape":"none | [ <basic-shape> <geometry-box>? ]{1,2}","border-start-end-radius":"<border-radius>","border-start-start-radius":"<border-radius>","border-style":"<'border-top-style'>{1,4}","border-top-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-top-color":"<color> | <image-1D>","border-top-left-radius":"<border-radius>","border-top-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-top-right-radius":"<border-radius>","border-width":"<'border-top-width'>{1,4}","box-shadow":"<spread-shadow>#","box-shadow-blur":"<length [0,∞]>#","box-shadow-color":"<color>#","box-shadow-offset":"[ none | <length>{1,2} ]#","box-shadow-position":"[ outset | inset ]#","box-shadow-spread":"<length>#","box-snap":"none | block-start | block-end | center | baseline | last-baseline","caret-color":"auto | <color> [ auto | <color> ]?",clear:"| block-start | block-end | top | bottom | both-inline | both-block",clip:"rect( <top> , <right> , <bottom> , <left> ) | rect( <top> <right> <bottom> <left> ) | auto","color-adjust":"<'print-color-adjust'>","color-interpolation":"auto | sRGB | linearRGB","column-count":"auto | <integer [1,∞]>","column-fill":"| balance-all","column-gap":"normal | <length-percentage [0,∞]> | <line-width>","column-rule":"<gap-rule-list> | <gap-auto-rule-list>","column-rule-break":"none | normal | intersection","column-rule-color":"<line-color-list> | <auto-line-color-list>","column-rule-edge-inset":"<length-percentage> [ <length-percentage> ]?","column-rule-edge-inset-end":"<length-percentage>","column-rule-edge-inset-start":"<length-percentage>","column-rule-inset":"<'column-rule-edge-inset'> [ / <'column-rule-interior-inset'> ]?","column-rule-inset-end":"<length-percentage>","column-rule-inset-start":"<length-percentage>","column-rule-interior-inset":"<length-percentage> [ <length-percentage> ]?","column-rule-interior-inset-end":"<length-percentage>","column-rule-interior-inset-start":"<length-percentage>","column-rule-style":"<line-style-list> | <auto-line-style-list>","column-rule-visibility-items":"all | around | between | normal","column-rule-width":"<line-width-list> | <auto-line-width-list>","column-span":"| <integer [1,∞]> | auto","column-width":"auto | <length [0,∞]> | min-content | max-content | fit-content( <length-percentage> )",contain:"none | strict | content | [ [ size | inline-size ] || layout || style || paint ]","contain-intrinsic-block-size":"auto? [ none | <length [0,∞]> ]","contain-intrinsic-height":"auto? [ none | <length [0,∞]> ]","contain-intrinsic-inline-size":"auto? [ none | <length [0,∞]> ]","contain-intrinsic-size":"[ auto? [ none | <length [0,∞]> ] ]{1,2}","contain-intrinsic-width":"auto? [ none | <length [0,∞]> ]","container-type":"normal | [ [ size | inline-size ] || scroll-state ]",content:"| <element()>",continue:"auto | discard | collapse | -webkit-legacy | overflow | paginate | fragments","copy-into":"none | [ [ <custom-ident> <content-level> ] [, <custom-ident> <content-level> ]* ]?",corner:"<'border-radius'> || <'corner-shape'>","corner-block-end":"<'border-top-radius'> || <'corner-top-shape'>","corner-block-end-shape":"<'corner-top-left-shape'>{1,2}","corner-block-start":"<'border-top-radius'> || <'corner-top-shape'>","corner-block-start-shape":"<'corner-top-left-shape'>{1,2}","corner-bottom":"<'border-top-radius'> || <'corner-top-shape'>","corner-bottom-left":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-bottom-right":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-bottom-shape":"<'corner-top-left-shape'>{1,2}","corner-end-end":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-end-start":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-inline-end":"<'border-top-radius'> || <'corner-top-shape'>","corner-inline-end-shape":"<'corner-top-left-shape'>{1,2}","corner-inline-start":"<'border-top-radius'> || <'corner-top-shape'>","corner-inline-start-shape":"<'corner-top-left-shape'>{1,2}","corner-left":"<'border-top-radius'> || <'corner-top-shape'>","corner-left-shape":"<'corner-top-left-shape'>{1,2}","corner-right":"<'border-top-radius'> || <'corner-top-shape'>","corner-right-shape":"<'corner-top-left-shape'>{1,2}","corner-shape":"<'corner-top-left-shape'>{1,4}","corner-start-end":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-start-start":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-top":"<'border-top-radius'> || <'corner-top-shape'>","corner-top-left":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-top-right":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-top-shape":"<'corner-top-left-shape'>{1,2}",cursor:"[ <cursor-image> , ]* <cursor-predefined>",cx:"<length-percentage>",cy:"<length-percentage>",display:"[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | grid-lanes | inline-grid-lanes | ruby | ruby-base | ruby-text | ruby-base-container | ruby-text-container | <display-outside> | <-non-standard-display> || [ <display-inside> | math ]","dominant-baseline":"use-script | no-change | reset-size | text-after-edge | text-before-edge | auto | <baseline-metric>","event-trigger":"none | [ <'event-trigger-name'> <'event-trigger-source'> ]#","event-trigger-name":"none | <dashed-ident>#","event-trigger-source":"[ none | <event-trigger-event>+ [ / <event-trigger-event>+ ]? ]#","fill-break":"bounding-box | slice | clone","fill-color":"<color>","fill-image":"<paint>#","fill-opacity":"<'opacity'>","fill-origin":"match-parent | fill-box | stroke-box | content-box | padding-box | border-box","fill-position":"<position>#","fill-repeat":"<repeat-style>#","fill-size":"<bg-size>#",filter:"none | <filter-value-list>","flex-grow":"<number [0,∞]>","flex-shrink":"<number [0,∞]>",float:"| block-start | block-end | snap-block | snap-block( <length> , [ start | end | near ]? ) | snap-inline | snap-inline( <length> , [ left | right | near ]? ) | top | bottom | footnote","float-defer":"<integer> | last | none","float-offset":"<length-percentage>","float-reference":"inline | column | region | page","flow-from":"<custom-ident> | none","flow-into":"none | <custom-ident> [ element | content ]?","flow-tolerance":"normal | <length-percentage> | infinite","font-size-adjust":"none | [ ex-height | cap-height | ch-width | ic-width | ic-height ]? [ from-font | <number [0,∞]> ]","font-stretch":"normal | <percentage [0,∞]> | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded","font-style":"normal | italic | left | right | oblique <angle [-90deg,90deg]>?","font-synthesis-style":"auto | none | oblique-only","font-variant":"normal | none | [ [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ] || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || [ stylistic( <feature-value-name> ) || historical-forms || styleset( <feature-value-name># ) || character-variant( <feature-value-name># ) || swash( <feature-value-name> ) || ornaments( <feature-value-name> ) || annotation( <feature-value-name> ) ] || [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ] || [ <east-asian-variant-values> || <east-asian-width-values> || ruby ] || [ sub | super ] || [ text | emoji | unicode ] ]","font-variation-settings":"normal | [ <opentype-tag> <number> ]#","footnote-display":"block | inline | compact","footnote-policy":"auto | line | block","frame-sizing":"auto | content-width | content-height | content-block-size | content-inline-size","glyph-orientation-vertical":"auto | 0deg | 90deg | 0 | 90","grid-column-gap":"normal | <length-percentage [0,∞]> | <line-width>","grid-gap":"<'row-gap'> <'column-gap'>?","grid-row-gap":"normal | <length-percentage [0,∞]> | <line-width>",height:"auto | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","hyphenate-limit-last":"none | always | column | page | spread","hyphenate-limit-lines":"no-limit | <integer>","hyphenate-limit-zone":"<length-percentage>","image-animation":"normal | paused | stopped | running","image-orientation":"from-image | none | [ <angle> || flip ]","image-rendering":"auto | smooth | high-quality | pixelated | crisp-edges | <-non-standard-image-rendering>","initial-letter":"normal | <number [1,∞]> <integer [1,∞]> | <number [1,∞]> && [ drop | raise ]?","initial-letter-align":"[ border-box? [ alphabetic | ideographic | hanging | leading ]? ]!","initial-letter-wrap":"none | first | all | grid | <length-percentage>","inline-sizing":"normal | stretch","input-security":"auto | none",isolation:"<isolation-mode>","justify-self":"auto | <overflow-position>? [ normal | <self-position> | left | right ] | stretch | <baseline-position> | anchor-center","line-clamp":"none | [ <integer [1,∞]> || <'block-ellipsis'> ] -webkit-legacy?","line-fit-edge":"leading | <text-edge>","line-grid":"match-parent | create","line-height":"normal | <number [0,∞]> | <length-percentage [0,∞]>","line-height-step":"<length [0,∞]>","line-padding":"<length>","line-snap":"none | baseline | contain","link-parameters":"none | <param()>#","list-style":"<'list-style-position'> || <'list-style-image'> || <'list-style-type'>","margin-break":"auto | keep | discard","margin-trim":"none | [ block || inline ] | [ block-start || inline-start || block-end || inline-end ]",marker:"none | <marker-ref>","marker-end":"none | <marker-ref>","marker-mid":"none | <marker-ref>","marker-side":"match-self | match-parent","marker-start":"none | <marker-ref>","mask-border-slice":"[ <number> | <percentage> ]{1,4} fill?","max-height":"none | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","max-lines":"none | <integer [1,∞]>","max-width":"none | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","min-height":"auto | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","min-intrinsic-sizing":"legacy | zero-if-scroll || zero-if-extrinsic","min-width":"auto | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","mix-blend-mode":"<blend-mode> | plus-lighter","object-fit":"fill | none | [ contain | cover ] || scale-down",orphans:"<integer [1,∞]>","outline-color":"auto | <'border-top-color'>",overflow:"<'overflow-block'>{1,2} | <-non-standard-overflow>","overflow-block":"| <-non-standard-overflow>","overflow-clip-margin":"<visual-box> || <length>","overflow-clip-margin-block":"<visual-box> || <length>","overflow-clip-margin-block-end":"<visual-box> || <length>","overflow-clip-margin-block-start":"<visual-box> || <length>","overflow-clip-margin-bottom":"<visual-box> || <length>","overflow-clip-margin-inline":"<visual-box> || <length>","overflow-clip-margin-inline-end":"<visual-box> || <length>","overflow-clip-margin-inline-start":"<visual-box> || <length>","overflow-clip-margin-left":"<visual-box> || <length>","overflow-clip-margin-right":"<visual-box> || <length>","overflow-clip-margin-top":"<visual-box> || <length>","overflow-inline":"| <-non-standard-overflow>","overflow-x":"| <-non-standard-overflow>","overflow-y":"| <-non-standard-overflow>","pause-after":"<time [0s,∞]> | none | x-weak | weak | medium | strong | x-strong","pause-before":"<time [0s,∞]> | none | x-weak | weak | medium | strong | x-strong",perspective:"none | <length [0,∞]>","pointer-events":"| bounding-box","pointer-timeline":"[ <'pointer-timeline-name'> <'pointer-timeline-axis'>? ]#","pointer-timeline-axis":"[ block | inline | x | y ]#","pointer-timeline-name":"[ none | <dashed-ident> ]#",position:"| <running()>","position-anchor":"| normal | match-parent","position-try-fallbacks":"none | [ [ <dashed-ident> || <try-tactic> ] | <position-area> ]#",quotes:"| match-parent",r:"<length-percentage>","region-fragment":"auto | break","rest-after":"<time [0s,∞]> | none | x-weak | weak | medium | strong | x-strong","rest-before":"<time [0s,∞]> | none | x-weak | weak | medium | strong | x-strong","row-gap":"normal | <length-percentage [0,∞]> | <line-width>","row-rule":"<gap-rule-list> | <gap-auto-rule-list>","row-rule-break":"none | normal | intersection","row-rule-color":"<line-color-list> | <auto-line-color-list>","row-rule-edge-inset":"<length-percentage> [ <length-percentage> ]?","row-rule-edge-inset-end":"<length-percentage>","row-rule-edge-inset-start":"<length-percentage>","row-rule-inset":"<'column-rule-edge-inset'> [ / <'column-rule-interior-inset'> ]?","row-rule-inset-end":"<length-percentage>","row-rule-inset-start":"<length-percentage>","row-rule-interior-inset":"<length-percentage> [ <length-percentage> ]?","row-rule-interior-inset-end":"<length-percentage>","row-rule-interior-inset-start":"<length-percentage>","row-rule-style":"<line-style-list> | <auto-line-style-list>","row-rule-visibility-items":"all | around | between | normal","row-rule-width":"<line-width-list> | <auto-line-width-list>","ruby-merge":"separate | merge | auto","ruby-overhang":"auto | spaces",rule:"<'column-rule'>","rule-break":"<'column-rule-break'>","rule-color":"<'column-rule-color'>","rule-edge-inset":"<'column-rule-edge-inset'>","rule-inset":"<'column-rule-inset'>","rule-inset-end":"<'column-rule-inset-end'>","rule-inset-start":"<'column-rule-inset-start'>","rule-interior-inset":"<'column-rule-interior-inset'>","rule-overlap":"row-over-column | column-over-row","rule-style":"<'column-rule-style'>","rule-visibility-items":"<'column-rule-visibility-items'>","rule-width":"<'column-rule-width'>",rx:"<length-percentage> | auto",ry:"<length-percentage> | auto","scroll-marker-group":"none | [ [ before | after ] || [ links | tabs ] ]","scroll-padding":"[ auto | <length-percentage [0,∞]> ]{1,4}","scroll-padding-block":"[ auto | <length-percentage [0,∞]> ]{1,2}","scroll-padding-block-end":"auto | <length-percentage [0,∞]>","scroll-padding-block-start":"auto | <length-percentage [0,∞]>","scroll-padding-bottom":"auto | <length-percentage [0,∞]>","scroll-padding-inline":"[ auto | <length-percentage [0,∞]> ]{1,2}","scroll-padding-inline-end":"auto | <length-percentage [0,∞]>","scroll-padding-inline-start":"auto | <length-percentage [0,∞]>","scroll-padding-left":"auto | <length-percentage [0,∞]>","scroll-padding-right":"auto | <length-percentage [0,∞]>","scroll-padding-top":"auto | <length-percentage [0,∞]>","shape-inside":"auto | outside-shape | [ <basic-shape> || shape-box ] | <image> | display","shape-margin":"<length-percentage [0,∞]>","shape-padding":"<length-percentage [0,∞]>","shape-subtract":"none | [ <basic-shape> | <url> ]+","slider-orientation":"auto | left-to-right | right-to-left | top-to-bottom | bottom-to-top","spatial-navigation-action":"auto | focus | scroll","spatial-navigation-contain":"auto | contain","spatial-navigation-function":"normal | grid","string-set":"none | [ <custom-ident> <string>+ ]#","stroke-align":"center | inset | outset","stroke-alignment":"center | inner | outer","stroke-break":"bounding-box | slice | clone","stroke-color":"<color>#","stroke-dash-corner":"none | <length>","stroke-dash-justify":"none | [ stretch | compress ] || [ dashes || gaps ]","stroke-dashadjust":"none | [ stretch | compress ] [ dashes | gaps ]?","stroke-dasharray":"none | [ <length-percentage> | <number> ]+#","stroke-dashcorner":"none | <length>","stroke-dashoffset":"<length-percentage> | <number>","stroke-image":"<paint>#","stroke-linejoin":"[ crop | arcs | miter ] || [ bevel | round | fallback ]","stroke-miterlimit":"<number>","stroke-origin":"match-parent | fill-box | stroke-box | content-box | padding-box | border-box","stroke-position":"<position>#","stroke-repeat":"<repeat-style>#","stroke-size":"<bg-size>#","stroke-width":"[ <length-percentage> | <line-width> | <number> ]#","tab-size":"<number [0,∞]> | <length [0,∞]>","text-align":"| <string> | justify-all","text-align-all":"start | end | left | right | center | <string> | justify | match-parent","text-align-last":"| match-parent","text-combine-upright":"none | all | [ digits <integer [2,4]>? ]","text-decoration-skip":"none | auto","text-decoration-skip-box":"none | all","text-decoration-skip-self":"auto | skip-all | [ skip-underline || skip-overline || skip-line-through ] | no-skip","text-decoration-skip-spaces":"none | all | [ start || end ]","text-decoration-thickness":"auto | from-font | <length-percentage> | <line-width>","text-emphasis-skip":"spaces || punctuation || symbols || narrow","text-group-align":"none | start | end | left | right | center","text-indent":"[ <length-percentage> ] && hanging? && each-line?","text-justify":"[ auto | none | inter-word | inter-character | ruby ] || no-compress","text-overflow":"[ clip | ellipsis | <string> | fade | fade( [ <length> | <percentage> ] ) ]{1,2}","text-shadow":"none | <shadow>#","text-size-adjust":"auto | none | <percentage [0,∞]>","text-spacing":"none | auto | <spacing-trim> || <autospace>","text-spacing-trim":"<spacing-trim> | auto","text-underline-offset":"auto | <length-percentage>","text-underline-position":"auto | [ from-font | under ] || [ left | right ]","text-wrap-style":"auto | balance | stable | pretty | avoid-orphans","timeline-scope":"| all","timeline-trigger":"none | [ <'timeline-trigger-name'> <'timeline-trigger-source'> <'timeline-trigger-activation-range'> [ '/' <'timeline-trigger-active-range'> ]? ]#","timeline-trigger-activation-range":"[ <'timeline-trigger-activation-range-start'> <'timeline-trigger-activation-range-end'>? ]#","timeline-trigger-activation-range-end":"[ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#","timeline-trigger-activation-range-start":"[ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#","timeline-trigger-active-range":"[ <'timeline-trigger-active-range-start'> <'timeline-trigger-active-range-end'>? ]#","timeline-trigger-active-range-end":"[ auto | normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#","timeline-trigger-active-range-start":"[ auto | normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#","transform-origin":"[ left | center | right | top | bottom | <length-percentage> ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ] <length>? | [ [ center | left | right ] && [ center | top | bottom ] ] <length>?","transition-duration":"<time [0s,∞]>#","user-select":"auto | text | none | contain | all","vertical-align":"[ first | last ] || <'alignment-baseline'> || <'baseline-shift'>","view-transition-group":"normal | contain | nearest | <custom-ident>","view-transition-scope":"none | all",visibility:"visible | hidden | force-hidden | collapse","voice-duration":"auto | <time [0s,∞]>","voice-family":"[ <voice-family-name> | <generic-voice> ]# | preserve","voice-pitch":"<frequency [0Hz,∞]> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency [0Hz,∞]> | <semitones> | <percentage> ] ]","voice-range":"<frequency [0Hz,∞]> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency [0Hz,∞]> | <semitones> | <percentage> ] ]","voice-rate":"[ normal | x-slow | slow | medium | fast | x-fast ] || <percentage [0,∞]>","white-space":"normal | pre | pre-wrap | pre-line | [ <'white-space-collapse'> || <'text-wrap'> || <'white-space-trim'> ]","white-space-collapse":"collapse | discard | preserve | preserve-breaks | preserve-spaces | break-spaces",widows:"<integer [1,∞]>",width:"auto | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","word-break":"| manual","word-space-transform":"none | [ space | ideographic-space ] && auto-phrase?","word-spacing":"normal | <length-percentage>","word-wrap":"| anywhere","wrap-after":"auto | avoid | avoid-line | avoid-flex | line | flex","wrap-before":"auto | avoid | avoid-line | avoid-flex | line | flex","wrap-flow":"auto | both | start | end | minimum | maximum | clear","wrap-inside":"auto | avoid","wrap-through":"wrap | none",x:"<length-percentage>",y:"<length-percentage>",zoom:"normal | reset | <number [0,∞]> | <percentage [0,∞]>"},types:{"dashed-ident":"<custom-property-name>","unicode-range-token":"<urange>","alpha()":"alpha( [ from <color> ] [ / [ <alpha-value> | alpha | none ] ]? )","an+b":"odd | even | <integer> | <n-dimension> | '+'? n | -n | <ndashdigit-dimension> | '+'? <ndashdigit-ident> | <dashndashdigit-ident> | <n-dimension> <signed-integer> | '+'? n <signed-integer> | -n <signed-integer> | <ndash-dimension> <signless-integer> | '+'? n- <signless-integer> | -n- <signless-integer> | <n-dimension> [ '+' | '-' ] <signless-integer> | '+'? n [ '+' | '-' ] <signless-integer> | -n [ '+' | '-' ] <signless-integer>","anchored-feature":"fallback : <'position-try-fallbacks'>","anchored-in-parens":"( <anchored-query> ) | ( <anchored-feature> ) | <general-enclosed>","anchored-query":"not <anchored-in-parens> | <anchored-in-parens> [ [ and <anchored-in-parens> ]* | [ or <anchored-in-parens> ]* ] | <anchored-feature>","angle-percentage":"[ <angle> | <percentage> ]","arc-command":"arc <command-end-point> [ [ of <length-percentage>{1,2} ] && <arc-sweep>? && <arc-size>? && [ rotate <angle> ]? ]","arc-size":"large | small","arc-sweep":"cw | ccw","attr-args":"attr( <declaration-value> , <declaration-value>? )","attr-name":"[ [ <ident-token>? '|' ]? <ident-token> ]","auto-line-color-list":"<line-color-or-repeat>#? , <auto-repeat-line-color> , <line-color-or-repeat>#?","auto-line-style-list":"<line-style-or-repeat>#? , <auto-repeat-line-style> , <line-style-or-repeat>#?","auto-line-width-list":"<line-width-or-repeat>#? , <auto-repeat-line-width> , <line-width-or-repeat>#?","auto-repeat":"repeat( [ auto-fill | auto-fit ] , [ <line-names>? <track-size> ]+ <line-names>? )","auto-repeat-line-color":"repeat( auto , [ <color> ]# )","auto-repeat-line-style":"repeat( auto , [ <line-style> ]# )","auto-repeat-line-width":"repeat( auto , [ <line-width> ]# )","baseline-metric":"text-bottom | alphabetic | ideographic | middle | central | mathematical | hanging | text-top","baseline-position":"[ first | last ]? && baseline","basic-shape":"<basic-shape-rect> | <circle()> | <ellipse()> | <polygon()> | <path()> | <shape()>","bg-clip":"<visual-box> | [ border-area || text ]","bg-layer":"<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <bg-clip> || <visual-box>","bg-position":"<position> | <position-three>","blend-mode":"normal | multiply | screen | overlay | darken | lighten | color-dodge | color-burn | soft-light | hard-light | difference | exclusion | hue | saturation | color | luminosity","border-radius":"<slash-separated-border-radius-syntax> | <legacy-border-radius-syntax>","calc-interpolate()":"calc-interpolate( [ <progress-source> && [ by <easing-function> ]? && <easing-function>? ] , <input-position>{1,2} : <calc-sum> , [ <easing-function>? , <input-position>{1,2} : <calc-sum> ]#? )","calc-keyword":"e | pi | infinity | -infinity | NaN","calc-mix()":"calc-mix( [ <calc-sum> <percentage [0,100]>? ]# )","calc-product":"<calc-value> [ [ '*' | / ] <calc-value> ]*","calc-size-basis":"[ <size-keyword> | <calc-size()> | <calc-sum> ]","calc-size()":"calc-size( [ [ <calc-size-basis> , [ <calc-sum> | size ] ] | [ any , <calc-sum> ] ] )","calc-value":"<number> | <dimension> | <percentage> | <calc-keyword> | ( <calc-sum> )","cf-image":"[ <image> | <color> ] && <percentage [0,100]>?","circle()":"circle( [ <radial-extent> | <length-percentage [0,∞]> ]? [ at <position> ]? )","clamp()":"clamp( [ <calc-sum> | none ] , <calc-sum> , [ <calc-sum> | none ] )",color:"<color-base> | currentColor | <system-color> | <contrast-color()> | <device-cmyk()> | <light-dark-color> | <-non-standard-color>","color-font-tech":"[ color-COLRv0 | color-COLRv1 | color-SVG | color-sbix | color-CBDT ]","color-function":"<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hwb()> | <lab()> | <lch()> | <oklab()> | <oklch()> | <ictcp()> | <jzazbz()> | <jzczhz()> | <alpha()> | <color()> | <hdr-color()>","color-interpolate()":"color-interpolate( [ <progress-source> && [ by <easing-function> ]? && <easing-function>? && <color-interpolation-method>? ] , <input-position>{1,2} : <color> , [ [ <easing-function> || <color-interpolation-method> ]? , <input-position>{1,2} : <color> ]#? )","color-layers()":"color-layers( [ <blend-mode> , ]? <color># )","color-mix()":"color-mix( <color-interpolation-method>? , [ <color> && <percentage [0,100]>? ]# )","color-stripe":"<color> && [ <length-percentage> | <flex> ]?","color()":"color( [ from <color> ]? [ <custom-params> | [ <predefined-rgb> [ <number> | <percentage> | r | g | b | alpha | none ]{3} [ / [ <alpha-value> | r | g | b | alpha | none ] ]? ] | [ <xyz-space> [ <number> | <percentage> | x | y | z | alpha | none ]{3} [ / [ <alpha-value> | x | y | z | alpha | none ] ]? ] ] )","colorspace-params":"[ <custom-params> | <predefined-rgb-params> | <xyz-params> ]","command-end-point":"[ to <position> | by <coordinate-pair> ]","composite-mode":"clear | copy | source-over | destination-over | source-in | destination-in | source-out | destination-out | source-atop | destination-atop | xor | lighter | plus-darker | plus-lighter","container-condition":"[ <container-name>? <container-query>? ]!","content-level":"element | content | text | <attr()> | <counter>","content-list":"[ <string> | contents | <image> | <counter> | <quote> | <target> | <leader()> | <attr()> | <string()> | <content()> ]+","content()":"content( [ text | before | after | first-letter | marker ]? )","contrast-color()":"contrast-color( <color> )","control-point":"[ <position> | <relative-control-point> ]","control-value()":"control-value( <type>? )","coord-box":"<paint-box> | view-box","coordinate-pair":"<length-percentage>{2}","counter-style":"<counter-style-name> | <symbols()>","cross-fade()":"cross-fade( <cf-image># )","cross-origin-modifier":"cross-origin( anonymous | use-credentials )","css-type":"<syntax-component> | <type()>","cubic-bezier-easing-function":"ease | ease-in | ease-out | ease-in-out | <cubic-bezier()>","cursor-image":"[ <url> | <url-set> ] <number>{2}?","curve-command":"curve [ [ to <position> with <control-point> [ / <control-point> ]? ] | [ by <coordinate-pair> with <relative-control-point> [ / <relative-control-point> ]? ] ]","custom-arg":"'$' <ident-token>","default-value":"<declaration-value>","deprecated-color":"ActiveBorder | ActiveCaption | AppWorkspace | Background | ButtonHighlight | ButtonShadow | CaptionText | InactiveBorder | InactiveCaption | InactiveCaptionText | InfoBackground | InfoText | Menu | MenuText | Scrollbar | ThreeDDarkShadow | ThreeDFace | ThreeDHighlight | ThreeDLightShadow | ThreeDShadow | Window | WindowFrame | WindowText","element()":"element( <id-selector> )","env-args":"env( <declaration-value> , <declaration-value>? )","env()":"env( <custom-ident> <integer [0,∞]>* , <declaration-value>? )","event-trigger-event":"activate | interest | click | touch | dblclick | keypress( <string> ) | . . .","fade()":"fade( [ <length-percentage> ] )","feature-index":"<integer [0,∞]>","feature-tag-value":"<opentype-tag> [ <integer [0,∞]> | on | off ]?","feature-value-name":"<ident>","filter()":"filter( [ <image> | <string> ] , <filter-value-list> )","final-bg-layer":"<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <bg-clip> || <visual-box> || <'background-color'>","first-valid()":"first-valid( <declaration-value># )","fit-content()":"fit-content( <length-percentage> )","fixed-breadth":"<length-percentage [0,∞]>","font-features-tech":"[ features-opentype | features-aat | features-graphite ]","font-format":"[ <string> | collection | embedded-opentype | opentype | svg | truetype | woff | woff2 ]","font-src":"<url> [ format( <font-format> ) ]? [ tech( <font-tech># ) ]? | local( <family-name> )","font-src-list":"[ <url> [ format( <font-format> ) ]? [ tech( <font-tech># ) ]? | local( <family-name> ) ]#","font-tech":"[ <font-features-tech> | <color-font-tech> | variations | palettes | incremental ]","font-weight-absolute":"[ normal | bold | <number [1,1000]> ]","frequency-percentage":"[ <frequency> | <percentage> ]","function-parameter":"<custom-property-name> <css-type>? [ : <default-value> ]?","gap-auto-repeat-rule":"repeat( auto , <gap-rule># )","gap-auto-rule-list":"<gap-rule-or-repeat>#? , <gap-auto-repeat-rule> , <gap-rule-or-repeat>#?","gap-repeat-rule":"repeat( <integer [1,∞]> , <gap-rule># )","gap-rule":"<line-width> || <line-style> || <color>","gap-rule-list":"<gap-rule-or-repeat>#","gap-rule-or-repeat":"<gap-rule> | <gap-repeat-rule>","generic-script-specific":"generic( fangsong ) | generic( kai ) | generic( khmer-mul ) | generic( nastaliq )","generic-voice":"<age>? <gender> <integer>?",gradient:"[ <linear-gradient()> | <repeating-linear-gradient()> | <radial-gradient()> | <repeating-radial-gradient()> | <conic-gradient()> | <repeating-conic-gradient()> | <-legacy-gradient> ]","grid-line":"auto | <custom-ident> | [ [ <integer [-∞,-1]> | <integer [1,∞]> ] && <custom-ident>? ] | [ span && [ <integer [1,∞]> || <custom-ident> ] ]","hdr-color()":"color-hdr( [ <color> && <number [0,∞]>? ]#{2} )","horizontal-line-command":"hline [ to [ <length-percentage> | left | center | right | x-start | x-end ] | by <length-percentage> ]","hsl()":"[ <legacy-hsl-syntax> | <modern-hsl-syntax> ]","hsla()":"[ <legacy-hsla-syntax> | <modern-hsla-syntax> ]","hwb()":"hwb( [ from <color> ]? [ <hue> | h | w | b | alpha | none ] [ <percentage> | <number> | h | w | b | alpha | none ] [ <percentage> | <number> | h | w | b | alpha | none ] [ / [ <alpha-value> | h | w | b | alpha | none ] ]? )","ictcp()":"ictcp( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )","ident-arg":"<string> | <integer> | <ident>","ident()":"ident( <ident-arg>+ )","if-args":"if( [ <if-args-branch> ; ]* <if-args-branch> ;? )","if-args-branch":"<declaration-value> : <declaration-value>?","if-branch":"<if-condition> : <declaration-value>?","if-condition":"<boolean-expr[<if-test>]> | else","if-test":"supports( [ <ident> : <declaration-value> ] | <supports-condition> ) | media( <media-feature> | <media-condition> ) | style( <style-query> )","if()":"if( [ <if-branch> ; ]* <if-branch> ;? )",image:"<url> | <image()> | <image-set()> | <element()> | <paint()> | <cross-fade()> | <gradient> | <light-dark-image>","image-1D":"<stripes()>","image-set-option":"[ <image> | <string> ] [ <resolution> || type( <string> ) ]?","image-src":"[ <url> | <string> ]","image-tags":"[ ltr | rtl ]","import-conditions":"[ supports( [ <supports-condition> | <declaration> ] ) ]? <media-query-list>?","inflexible-breadth":"<length-percentage [0,∞]> | min-content | max-content | auto","inherit-args":"inherit( <declaration-value> , <declaration-value>? )","inherit()":"inherit( <custom-property-name> , <declaration-value>? )","init-descriptor":"<init-descriptor-name> : <string>","init-descriptor-name":"protocol | hostname | port | pathname | search | hash | base-url","init-descriptors":";* <init-descriptor> [ ;+ <init-descriptor> ]* ;*","input-position":"<percentage> | <number> | <dimension>","integrity-modifier":"integrity( <string> )","interpolate()":"interpolate( [ <progress-source> && [ by <easing-function> ]? && <easing-function>? ] , <input-position>{1,2} : <whole-value> , [ <easing-function>? , <input-position>{1,2} : <whole-value> ]#? ) | interpolate( <progress-source> && [ by <easing-function> ]? && <easing-function>? of <keyframes-name> )","isolation-mode":"auto | isolate","jzazbz()":"jzazbz( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )","jzczhz()":"jzczhz( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <hue> | none ] [ / [ <alpha-value> | none ] ]? )","lab()":"lab( [ from <color> ]? [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ / [ <alpha-value> | l | a | b | alpha | none ] ]? )","layout-box":"<visual-box> | margin-box","lch()":"lch( [ from <color> ]? [ <percentage> | <number> | l | c | h | alpha | none ] [ <percentage> | <number> | l | c | h | alpha | none ] [ <hue> | l | c | h | alpha | none ] [ / [ <alpha-value> | l | c | h | alpha | none ] ]? )","legacy-border-radius-syntax":"<length-percentage [0,∞]>{1,2}","legacy-hsl-syntax":"hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )","legacy-hsla-syntax":"hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )","legacy-pseudo-element-selector":": [ before | after | first-line | first-letter ]","legacy-rgb-syntax":"rgb( <percentage>#{3} , <alpha-value>? ) | rgb( <number>#{3} , <alpha-value>? )","legacy-rgba-syntax":"rgba( <percentage>#{3} , <alpha-value>? ) | rgba( <number>#{3} , <alpha-value>? )","length-percentage":"[ <length> | <percentage> ]","light-dark-color":"light-dark( <color> , <color> )","light-dark-image":"light-dark( [ <image> | none ] , [ <image> | none ] )","light-dark()":"<light-dark-color> | <light-dark-image>","line-color-list":"<line-color-or-repeat>#","line-color-or-repeat":"[ <color> | <repeat-line-color> ]","line-command":"line <command-end-point>","line-style-list":"<line-style-or-repeat>#","line-style-or-repeat":"[ <line-style> | <repeat-line-style> ]","line-width":"<length [0,∞]> | hairline | thin | medium | thick","line-width-list":"<line-width-or-repeat>#","line-width-or-repeat":"[ <line-width> | <repeat-line-width> ]","link-condition":"<link-condition-base> [ with <navigation-param-expression> ]?","link-condition-base":"<navigation-location>","marker-ref":"<url>","media-and":"and <media-in-parens>","media-condition":"<media-not> | <media-in-parens> [ <media-and>* | <media-or>* ]","media-condition-without-or":"<media-not> | <media-in-parens> <media-and>*","media-feature":"[ <mf-plain> | <mf-boolean> | <mf-range> ]","media-import-condition":"<media-query-list>","media-in-parens":"( <media-condition> ) | ( <media-feature> ) | <general-enclosed>","media-or":"or <media-in-parens>","media()":"media( [ <mf-plain> | <mf-boolean> | <mf-range> ] )","mf-comparison":"<mf-lt> | <mf-gt> | <mf-eq>","mf-eq":"'='","mf-gt":"'>' '='?","mf-lt":"'<' '='?","mf-range":"<mf-name> <mf-comparison> <mf-value> | <mf-value> <mf-comparison> <mf-name> | <mf-value> <mf-lt> <mf-name> <mf-lt> <mf-value> | <mf-value> <mf-gt> <mf-name> <mf-gt> <mf-value>","modern-hsl-syntax":"hsl( [ from <color> ]? [ <hue> | h | s | l | alpha | none ] [ <percentage> | <number> | h | s | l | alpha | none ] [ <percentage> | <number> | h | s | l | alpha | none ] [ / [ <alpha-value> | h | s | l | alpha | none ] ]? )","modern-hsla-syntax":"hsla( [ from <color> ]? [ <hue> | h | s | l | alpha | none ] [ <percentage> | <number> | h | s | l | alpha | none ] [ <percentage> | <number> | h | s | l | alpha | none ] [ / [ <alpha-value> | h | s | l | alpha | none ] ]? )","modern-rgb-syntax":"rgb( [ from <color> ]? [ <number> | <percentage> | r | g | b | alpha | none ]{3} [ / [ <alpha-value> | r | g | b | alpha | none ] ]? )","modern-rgba-syntax":"rgba( [ from <color> ]? [ <number> | <percentage> | r | g | b | alpha | none ]{3} [ / [ <alpha-value> | r | g | b | alpha | none ] ]? )","move-command":"move <command-end-point>","mq-boolean":"<integer [0,1]>","named-color":"| transparent","navigation-condition":"not <navigation-in-parens> | <navigation-in-parens> [ and <navigation-in-parens> ]* | <navigation-in-parens> [ or <navigation-in-parens> ]*","navigation-in-parens":"( <navigation-condition> ) | ( <navigation-test> ) | <general-enclosed>","navigation-location":"<route-name> | <url-pattern()>","navigation-location-keyword":"at | from | to","navigation-location-test":"<navigation-location-keyword> : <navigation-location>","navigation-param":"<navigation-param-key-value> | <navigation-param-function>","navigation-param-and":'<navigation-param-expression> [ " and " <navigation-param-expression> ]*',"navigation-param-expression":"( <navigation-param-and> ) | ( <navigation-param-or> ) | <navigation-param>","navigation-param-function":"navigation-param( <ident> )","navigation-param-key-value":"( <ident> : <string> )","navigation-param-or":'<navigation-param-expression> [ " or " <navigation-param-expression> ]*',"navigation-test":"<navigation-location-test> | <navigation-type-test>","navigation-type-keyword":"traverse | back | forward | reload","navigation-type-test":"history : <navigation-type-keyword>","number-optional-number":"<number> <number>?","oklab()":"oklab( [ from <color> ]? [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ / [ <alpha-value> | l | a | b | alpha | none ] ]? )","oklch()":"oklch( [ from <color> ]? [ <percentage> | <number> | l | c | h | alpha | none ] [ <percentage> | <number> | l | c | h | alpha | none ] [ <hue> | l | c | h | alpha | none ] [ / [ <alpha-value> | l | c | h | alpha | none ] ]? )","opentype-tag":"<string>","outline-line-style":"| auto","page-selector":"[ <ident-token>? <pseudo-page>* ]!","page-selector-list":"<page-selector>#",paint:"none | <color> | <url> [ none | <color> ]? | context-fill | context-stroke | <image> | <svg-paint>","param()":"param( <dashed-ident> , <declaration-value>? )","pattern-descriptor":"pattern : <url-pattern()>","pattern-descriptors":";* <pattern-descriptor> ;*","pointer-axis":"block | inline | x | y","pointer-source":"root | nearest | self","pointer()":"pointer( [ <pointer-source> || <pointer-axis> ]? )",points:"[ <number>+ ]#","polygon()":"polygon( <'fill-rule'>? [ round <length> ]? , [ <length-percentage> <length-percentage> ]# )",position:"<position-one> | <position-two> | <position-four>","position-area":"[ [ left | center | right | span-left | span-right | x-start | x-end | span-x-start | span-x-end | self-x-start | self-x-end | span-self-x-start | span-self-x-end | span-all ] || [ top | center | bottom | span-top | span-bottom | y-start | y-end | span-y-start | span-y-end | self-y-start | self-y-end | span-self-y-start | span-self-y-end | span-all ] | [ block-start | center | block-end | span-block-start | span-block-end | span-all ] || [ inline-start | center | inline-end | span-inline-start | span-inline-end | span-all ] | [ self-block-start | center | self-block-end | span-self-block-start | span-self-block-end | span-all ] || [ self-inline-start | center | self-inline-end | span-self-inline-start | span-self-inline-end | span-all ] | [ start | center | end | span-start | span-end | span-all ]{1,2} | [ self-start | center | self-end | span-self-start | span-self-end | span-all ]{1,2} ]","position-area-query":"[ [ left | center | right | span-left | span-right | x-start | x-end | span-x-start | span-x-end | self-x-start | self-x-end | span-self-x-start | span-self-x-end | span-all | any ] || [ top | center | bottom | span-top | span-bottom | y-start | y-end | span-y-start | span-y-end | self-y-start | self-y-end | span-self-y-start | span-self-y-end | span-all | any ] | [ block-start | center | block-end | span-block-start | span-block-end | span-all | any ] || [ inline-start | center | inline-end | span-inline-start | span-inline-end | span-all | any ] | [ self-block-start | center | self-block-end | span-self-block-start | span-self-block-end | span-all | any ] || [ self-inline-start | center | self-inline-end | span-self-inline-start | span-self-inline-end | span-all | any ] | [ start | center | end | span-start | span-end | span-all | any ]{1,2} | [ self-start | center | self-end | span-self-start | span-self-end | span-all | any ]{1,2} ]","position-four":"[ [ [ left | right | x-start | x-end ] <length-percentage> ] && [ [ top | bottom | y-start | y-end ] <length-percentage> ] | [ [ block-start | block-end ] <length-percentage> ] && [ [ inline-start | inline-end ] <length-percentage> ] | [ [ start | end ] <length-percentage> ]{2} ]","position-one":"[ left | center | right | top | bottom | x-start | x-end | y-start | y-end | block-start | block-end | inline-start | inline-end | <length-percentage> ]","position-three":"[ [ left | center | right ] && [ [ top | bottom ] <length-percentage> ] | [ [ left | right ] <length-percentage> ] && [ top | center | bottom ] ]","position-two":"[ [ left | center | right | x-start | x-end ] && [ top | center | bottom | y-start | y-end ] | [ left | center | right | x-start | x-end | <length-percentage> ] [ top | center | bottom | y-start | y-end | <length-percentage> ] | [ block-start | center | block-end ] && [ inline-start | center | inline-end ] | [ start | center | end ]{2} ]","predefined-rgb":"| rec2100-pq | rec2100-hlg | rec2100-linear","progress-source":"<percentage> | <number> | <dimension> | <'animation-timeline'>","progress()":"progress( <calc-sum> , <calc-sum> , <calc-sum> )","pseudo-class-selector":": <ident-token> | : <function-token> <any-value> )","pseudo-element-selector":": <pseudo-class-selector> | <legacy-pseudo-element-selector>","pt-class-selector":"[ '.' <custom-ident> ]+","pt-name-and-class-selector":"<pt-name-selector> <pt-class-selector>? | <pt-class-selector>","pt-name-selector":"'*' | <custom-ident>","query-in-parens":"( <container-query> ) | ( <size-feature> ) | style( <style-query> ) | scroll-state( <scroll-state-query> ) | <general-enclosed>","random-cache-key":"auto | <random-name> | fixed <number [0,1]>","random-item-args":"random-item( <declaration-value> , [ <declaration-value>? ]# )","random-item()":"random-item( <random-cache-key> , [ <declaration-value>? ]# )","random-name":"<dashed-ident> [ element | property index? ]?","random()":"random( <random-cache-key>? , <calc-sum> , <calc-sum> , <calc-sum>? )","rectangular-color-space":"srgb | srgb-linear | display-p3 | display-p3-linear | a98-rgb | prophoto-rgb | rec2020 | lab | oklab | <xyz-space>","referrer-policy-modifier":"referrer-policy( no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url )","relative-control-point":"<coordinate-pair> [ from [ start | end | origin ] ]?","repeat-line-color":"repeat( [ <integer [1,∞]> ] , [ <color> ]# )","repeat-line-style":"repeat( [ <integer [1,∞]> ] , [ <line-style> ]# )","repeat-line-width":"repeat( [ <integer [1,∞]> ] , [ <line-width> ]# )","repeat-style":"repeat-x | repeat-y | repeat-block | repeat-inline | <repetition>{1,2}",repetition:"repeat | space | round | no-repeat","request-url-modifier":"<cross-origin-modifier> | <integrity-modifier> | <referrer-policy-modifier>","rgb()":"[ <legacy-rgb-syntax> | <modern-rgb-syntax> ]","rgba()":"[ <legacy-rgba-syntax> | <modern-rgba-syntax> ]","round()":"round( <rounding-strategy>? , <calc-sum> , <calc-sum>? )","rounding-strategy":"| line-width","route-name":"<dashed-ident>","running()":"running( <custom-ident> )","scope-boundaries":"[ [ ( <scope-start> ) ]? [ to ( <scope-end> ) ]? ]!","scope-end":"<selector-list>","scope-start":"<selector-list>","scroll-button-direction":"up | down | left | right | block-start | block-end | inline-start | inline-end | prev | next","scroll-state-feature":"[ <scroll-state-feature-plain> | <scroll-state-feature-boolean> ]","scroll-state-feature-boolean":"<scroll-state-feature-name>","scroll-state-feature-name":"<ident>","scroll-state-feature-plain":"<scroll-state-feature-name> : <scroll-state-feature-value>","scroll-state-feature-value":"<ident>",shadow:"<color>? && [ <length>{2} [ <length [0,∞]> <length>? ]? ] && inset?","shape-box":"<visual-box> | margin-box | half-border-box","shape-command":"<move-command> | <line-command> | close | <horizontal-line-command> | <vertical-line-command> | <curve-command> | <smooth-command> | <arc-command>","shape()":"shape( <'fill-rule'>? from <position> , <shape-command># )","single-animation-iteration-count":"infinite | <number [0,∞]>","size-keyword":"auto | max-content | min-content | stretch","slash-separated-border-radius-syntax":"<length-percentage [0,∞]> [ / <length-percentage [0,∞]> ]?","smooth-command":"smooth [ [ to <position> [ with <control-point> ]? ] | [ by <coordinate-pair> [ with <relative-control-point> ]? ] ]","snap-block()":"snap-block( <length> , [ start | end | near ]? )","snap-inline()":"snap-inline( <length> , [ left | right | near ]? )","source-size":"<media-condition> <source-size-value> | auto","source-size-list":"<source-size>#? , <source-size-value>","source-size-value":"<length> | auto","spacing-trim":"space-all | normal | space-first | trim-start | trim-both | trim-all","spread-shadow":"<'box-shadow-color'>? && [ [ none | <length>{2} ] [ <'box-shadow-blur'> <'box-shadow-spread'>? ]? ] && <'box-shadow-position'>?","src()":"src( <string> <url-modifier>* )","string()":"string( <custom-ident> , [ first | start | last | first-except ]? )","stripes()":"stripes( <color-stripe># )","style-feature":"<style-feature-plain> | <style-feature-boolean> | <style-range>","style-feature-boolean":"<style-feature-name>","style-feature-plain":"<style-feature-name> : <style-feature-value>","style-feature-value":"<declaration-value>","style-in-parens":"( <style-query> ) | ( <style-feature> ) | <general-enclosed>","style-query":"not <style-in-parens> | <style-in-parens> [ [ and <style-in-parens> ]* | [ or <style-in-parens> ]* ] | <style-feature>","style-range":"<style-range-value> <mf-comparison> <style-range-value> | <style-range-value> <mf-lt> <style-range-value> <mf-lt> <style-range-value> | <style-range-value> <mf-gt> <style-range-value> <mf-gt> <style-range-value>","style-range-value":"<custom-property-name> | <style-feature-value>","supports-at-rule-fn":"at-rule( <at-keyword-token> )","supports-condition-name":"<custom-ident>","supports-decl":"( [ <declaration> | <supports-condition-name> ] )","supports-env-fn":"env( <ident> )","supports-feature":"<supports-selector-fn> | <supports-font-tech-fn> | <supports-font-format-fn> | <supports-at-rule-fn> | <supports-named-feature-fn> | <supports-env-fn> | <supports-decl>","supports-font-format-fn":"font-format( <font-format> )","supports-font-tech-fn":"font-tech( <font-tech> )","supports-import-condition":"supports( [ <supports-condition> | <declaration> ] )","supports-named-feature-fn":"named-feature( <ident> )","supports()":"supports( <declaration> )","svg-paint":"child | child( <integer> )","syntax-multiplier":"[ '#' | '+' ]","system-color":"AccentColor | AccentColorText | ActiveText | ButtonBorder | ButtonFace | ButtonText | Canvas | CanvasText | Field | FieldText | GrayText | Highlight | HighlightText | LinkText | Mark | MarkText | SelectedItem | SelectedItemText | VisitedText | <deprecated-color>","target-contrast":"<wcag2>","text-edge":"[ text | ideographic | ideographic-ink ] | [ text | ideographic | ideographic-ink | cap | ex ] [ text | ideographic | ideographic-ink | alphabetic ]","time-percentage":"[ <time> | <percentage> ]","timeline-range-center-subject":"<ident>","toggle()":"toggle( <any-value># )","track-breadth":"<length-percentage [0,∞]> | <flex [0,∞]> | min-content | max-content | auto","track-size":"<track-breadth> | minmax( <inflexible-breadth> , <track-breadth> ) | fit-content( <length-percentage [0,∞]> )","transform-function":"<scale3d()> | <scale()> | <scaleX()> | <scaleY()> | <scaleZ()> | <translate3d()> | <translate()> | <translateX()> | <translateY()> | <translateZ()> | <rotate3d()> | <rotate()> | <rotateX()> | <rotateY()> | <rotateZ()> | <skew()> | <skewX()> | <skewY()> | <matrix3d()> | <matrix()> | <perspective()>","transform-interpolate()":"transform-interpolate( [ <progress-source> && [ by <easing-function> ]? && <easing-function>? ] , <input-position>{1,2} : <transform-list> , [ <easing-function>? , <input-position>{1,2} : <transform-list> ]#? )","transform-mix()":"transform-mix( [ <transform-list> && <percentage [0,100]> ]# )","try-tactic":"flip-block || flip-inline || flip-start || flip-x || flip-y",type:"'<' [ number | string ] '>'","type()":"type( <syntax> )",url:"<url()> | <src()> | <url-token>","url-pattern()":"url-pattern( <string> )","url-set":"image-set( <url-set-option># )","url-set-option":"[ <url> | <string> ] [ <resolution> || type( <string> ) ]?","url-set()":"url-set( <url-set-option># )","url()":"url( <string> <url-modifier>* ) | <url-token>","var-args":"var( <declaration-value> , <declaration-value>? )","vertical-line-command":"vline [ to [ <length-percentage> | top | center | bottom | y-start | y-end ] | by <length-percentage> ]","voice-family-name":"<string> | <custom-ident>+",wcag2:"wcag2 | wcag2( [ <number> | [ aa | aaa ] && large? ] )","whole-value":"<declaration-value>","style-feature-name":"<dashed-ident> | -moz-appearance | -moz-background-clip | -moz-binding | -moz-border-bottom-colors | -moz-border-left-colors | -moz-border-radius-bottomleft | -moz-border-radius-bottomright | -moz-border-radius-topleft | -moz-border-radius-topright | -moz-border-right-colors | -moz-border-top-colors | -moz-context-properties | -moz-control-character-visibility | -moz-float-edge | -moz-force-broken-image-icon | -moz-orient | -moz-osx-font-smoothing | -moz-outline-radius | -moz-outline-radius-bottomleft | -moz-outline-radius-bottomright | -moz-outline-radius-topleft | -moz-outline-radius-topright | -moz-stack-sizing | -moz-text-blink | -moz-user-focus | -moz-user-input | -moz-user-modify | -moz-user-select | -moz-window-dragging | -moz-window-shadow | -ms-accelerator | -ms-block-progression | -ms-content-zoom-chaining | -ms-content-zoom-limit | -ms-content-zoom-limit-max | -ms-content-zoom-limit-min | -ms-content-zoom-snap | -ms-content-zoom-snap-points | -ms-content-zoom-snap-type | -ms-content-zooming | -ms-filter | -ms-flex-align | -ms-flex-item-align | -ms-flex-line-pack | -ms-flex-negative | -ms-flex-order | -ms-flex-pack | -ms-flex-positive | -ms-flex-preferred-size | -ms-flow-from | -ms-flow-into | -ms-grid-column-align | -ms-grid-columns | -ms-grid-row-align | -ms-grid-rows | -ms-high-contrast-adjust | -ms-hyphenate-limit-chars | -ms-hyphenate-limit-last | -ms-hyphenate-limit-lines | -ms-hyphenate-limit-zone | -ms-ime-align | -ms-interpolation-mode | -ms-overflow-style | -ms-scroll-chaining | -ms-scroll-limit | -ms-scroll-limit-x-max | -ms-scroll-limit-x-min | -ms-scroll-limit-y-max | -ms-scroll-limit-y-min | -ms-scroll-rails | -ms-scroll-snap-points-x | -ms-scroll-snap-points-y | -ms-scroll-snap-type | -ms-scroll-snap-x | -ms-scroll-snap-y | -ms-scroll-translation | -ms-scrollbar-3dlight-color | -ms-scrollbar-arrow-color | -ms-scrollbar-base-color | -ms-scrollbar-darkshadow-color | -ms-scrollbar-face-color | -ms-scrollbar-highlight-color | -ms-scrollbar-shadow-color | -ms-scrollbar-track-color | -ms-text-autospace | -ms-touch-select | -ms-user-select | -ms-wrap-flow | -ms-wrap-margin | -ms-wrap-through | -webkit-appearance | -webkit-background-clip | -webkit-border-before | -webkit-border-before-color | -webkit-border-before-style | -webkit-border-before-width | -webkit-box-reflect | -webkit-column-break-after | -webkit-column-break-before | -webkit-column-break-inside | -webkit-font-smoothing | -webkit-line-clamp | -webkit-mask | -webkit-mask-attachment | -webkit-mask-box-image | -webkit-mask-clip | -webkit-mask-composite | -webkit-mask-image | -webkit-mask-origin | -webkit-mask-position | -webkit-mask-position-x | -webkit-mask-position-y | -webkit-mask-repeat | -webkit-mask-repeat-x | -webkit-mask-repeat-y | -webkit-mask-size | -webkit-overflow-scrolling | -webkit-print-color-adjust | -webkit-tap-highlight-color | -webkit-text-fill-color | -webkit-text-security | -webkit-text-stroke | -webkit-text-stroke-color | -webkit-text-stroke-width | -webkit-touch-callout | -webkit-user-drag | -webkit-user-modify | -webkit-user-select | accent-color | align-content | align-items | align-self | align-tracks | alignment-baseline | all | anchor-name | anchor-scope | animation | animation-composition | animation-delay | animation-direction | animation-duration | animation-fill-mode | animation-iteration-count | animation-name | animation-play-state | animation-range | animation-range-center | animation-range-end | animation-range-start | animation-timeline | animation-timing-function | animation-trigger | appearance | aspect-ratio | backdrop-filter | backface-visibility | background | background-attachment | background-blend-mode | background-clip | background-color | background-image | background-origin | background-position | background-position-block | background-position-inline | background-position-x | background-position-y | background-repeat | background-repeat-block | background-repeat-inline | background-repeat-x | background-repeat-y | background-size | background-tbd | baseline-shift | baseline-source | behavior | block-ellipsis | block-size | block-step | block-step-align | block-step-insert | block-step-round | block-step-size | bookmark-label | bookmark-level | bookmark-state | border | border-block | border-block-clip | border-block-color | border-block-end | border-block-end-clip | border-block-end-color | border-block-end-radius | border-block-end-style | border-block-end-width | border-block-start | border-block-start-clip | border-block-start-color | border-block-start-radius | border-block-start-style | border-block-start-width | border-block-style | border-block-width | border-bottom | border-bottom-clip | border-bottom-color | border-bottom-left-radius | border-bottom-radius | border-bottom-right-radius | border-bottom-style | border-bottom-width | border-boundary | border-clip | border-collapse | border-color | border-end-end-radius | border-end-start-radius | border-image | border-image-outset | border-image-repeat | border-image-slice | border-image-source | border-image-width | border-inline | border-inline-clip | border-inline-color | border-inline-end | border-inline-end-clip | border-inline-end-color | border-inline-end-radius | border-inline-end-style | border-inline-end-width | border-inline-start | border-inline-start-clip | border-inline-start-color | border-inline-start-radius | border-inline-start-style | border-inline-start-width | border-inline-style | border-inline-width | border-left | border-left-clip | border-left-color | border-left-radius | border-left-style | border-left-width | border-limit | border-radius | border-right | border-right-clip | border-right-color | border-right-radius | border-right-style | border-right-width | border-shape | border-spacing | border-start-end-radius | border-start-start-radius | border-style | border-top | border-top-clip | border-top-color | border-top-left-radius | border-top-radius | border-top-right-radius | border-top-style | border-top-width | border-width | bottom | box-align | box-decoration-break | box-direction | box-flex | box-flex-group | box-lines | box-ordinal-group | box-orient | box-pack | box-shadow | box-shadow-blur | box-shadow-color | box-shadow-offset | box-shadow-position | box-shadow-spread | box-sizing | box-snap | break-after | break-before | break-inside | caption-side | caret | caret-animation | caret-color | caret-shape | clear | clip | clip-path | clip-rule | color | color-adjust | color-interpolation | color-interpolation-filters | color-scheme | column-count | column-fill | column-gap | column-height | column-rule | column-rule-break | column-rule-color | column-rule-edge-inset | column-rule-edge-inset-end | column-rule-edge-inset-start | column-rule-inset | column-rule-inset-end | column-rule-inset-start | column-rule-interior-inset | column-rule-interior-inset-end | column-rule-interior-inset-start | column-rule-style | column-rule-visibility-items | column-rule-width | column-span | column-width | column-wrap | columns | contain | contain-intrinsic-block-size | contain-intrinsic-height | contain-intrinsic-inline-size | contain-intrinsic-size | contain-intrinsic-width | container | container-name | container-type | content | content-visibility | continue | copy-into | corner | corner-block-end | corner-block-end-shape | corner-block-start | corner-block-start-shape | corner-bottom | corner-bottom-left | corner-bottom-left-shape | corner-bottom-right | corner-bottom-right-shape | corner-bottom-shape | corner-end-end | corner-end-end-shape | corner-end-start | corner-end-start-shape | corner-inline-end | corner-inline-end-shape | corner-inline-start | corner-inline-start-shape | corner-left | corner-left-shape | corner-right | corner-right-shape | corner-shape | corner-start-end | corner-start-end-shape | corner-start-start | corner-start-start-shape | corner-top | corner-top-left | corner-top-left-shape | corner-top-right | corner-top-right-shape | corner-top-shape | counter-increment | counter-reset | counter-set | cue | cue-after | cue-before | cursor | cx | cy | d | direction | display | dominant-baseline | dynamic-range-limit | empty-cells | event-trigger | event-trigger-name | event-trigger-source | field-sizing | fill | fill-break | fill-color | fill-image | fill-opacity | fill-origin | fill-position | fill-repeat | fill-rule | fill-size | filter | flex | flex-basis | flex-direction | flex-flow | flex-grow | flex-shrink | flex-wrap | float | float-defer | float-offset | float-reference | flood-color | flood-opacity | flow-from | flow-into | flow-tolerance | font | font-family | font-feature-settings | font-kerning | font-language-override | font-optical-sizing | font-palette | font-size | font-size-adjust | font-smooth | font-stretch | font-style | font-synthesis | font-synthesis-position | font-synthesis-small-caps | font-synthesis-style | font-synthesis-weight | font-variant | font-variant-alternates | font-variant-caps | font-variant-east-asian | font-variant-emoji | font-variant-ligatures | font-variant-numeric | font-variant-position | font-variation-settings | font-weight | font-width | footnote-display | footnote-policy | forced-color-adjust | frame-sizing | gap | glyph-orientation-horizontal | glyph-orientation-vertical | grid | grid-area | grid-auto-columns | grid-auto-flow | grid-auto-rows | grid-column | grid-column-end | grid-column-gap | grid-column-start | grid-gap | grid-row | grid-row-end | grid-row-gap | grid-row-start | grid-template | grid-template-areas | grid-template-columns | grid-template-rows | hanging-punctuation | height | hyphenate-character | hyphenate-limit-chars | hyphenate-limit-last | hyphenate-limit-lines | hyphenate-limit-zone | hyphens | image-animation | image-orientation | image-rendering | image-resolution | ime-mode | initial-letter | initial-letter-align | initial-letter-wrap | inline-size | inline-sizing | input-security | inset | inset-block | inset-block-end | inset-block-start | inset-inline | inset-inline-end | inset-inline-start | interactivity | interest-delay | interest-delay-end | interest-delay-start | interpolate-size | isolation | justify-content | justify-items | justify-self | justify-tracks | kerning | left | letter-spacing | lighting-color | line-break | line-clamp | line-fit-edge | line-grid | line-height | line-height-step | line-padding | line-snap | link-parameters | list-style | list-style-image | list-style-position | list-style-type | margin | margin-block | margin-block-end | margin-block-start | margin-bottom | margin-break | margin-inline | margin-inline-end | margin-inline-start | margin-left | margin-right | margin-top | margin-trim | marker | marker-end | marker-mid | marker-side | marker-start | mask | mask-border | mask-border-mode | mask-border-outset | mask-border-repeat | mask-border-slice | mask-border-source | mask-border-width | mask-clip | mask-composite | mask-image | mask-mode | mask-origin | mask-position | mask-repeat | mask-size | mask-type | masonry-auto-flow | math-depth | math-shift | math-style | max-block-size | max-height | max-inline-size | max-lines | max-width | min-block-size | min-height | min-inline-size | min-intrinsic-sizing | min-width | mix-blend-mode | nav-down | nav-left | nav-right | nav-up | object-fit | object-position | object-view-box | offset | offset-anchor | offset-distance | offset-path | offset-position | offset-rotate | opacity | order | orphans | outline | outline-color | outline-offset | outline-style | outline-width | overflow | overflow-anchor | overflow-block | overflow-clip-box | overflow-clip-margin | overflow-clip-margin-block | overflow-clip-margin-block-end | overflow-clip-margin-block-start | overflow-clip-margin-bottom | overflow-clip-margin-inline | overflow-clip-margin-inline-end | overflow-clip-margin-inline-start | overflow-clip-margin-left | overflow-clip-margin-right | overflow-clip-margin-top | overflow-inline | overflow-wrap | overflow-x | overflow-y | overlay | overscroll-behavior | overscroll-behavior-block | overscroll-behavior-inline | overscroll-behavior-x | overscroll-behavior-y | padding | padding-block | padding-block-end | padding-block-start | padding-bottom | padding-inline | padding-inline-end | padding-inline-start | padding-left | padding-right | padding-top | page | page-break-after | page-break-before | page-break-inside | paint-order | pause | pause-after | pause-before | perspective | perspective-origin | place-content | place-items | place-self | pointer-events | pointer-timeline | pointer-timeline-axis | pointer-timeline-name | position | position-anchor | position-area | position-try | position-try-fallbacks | position-try-options | position-try-order | position-visibility | print-color-adjust | quotes | r | reading-flow | reading-order | region-fragment | resize | rest | rest-after | rest-before | right | rotate | row-gap | row-rule | row-rule-break | row-rule-color | row-rule-edge-inset | row-rule-edge-inset-end | row-rule-edge-inset-start | row-rule-inset | row-rule-inset-end | row-rule-inset-start | row-rule-interior-inset | row-rule-interior-inset-end | row-rule-interior-inset-start | row-rule-style | row-rule-visibility-items | row-rule-width | ruby-align | ruby-merge | ruby-overhang | ruby-position | rule | rule-break | rule-color | rule-edge-inset | rule-inset | rule-inset-end | rule-inset-start | rule-interior-inset | rule-overlap | rule-style | rule-visibility-items | rule-width | rx | ry | scale | scroll-behavior | scroll-initial-target | scroll-margin | scroll-margin-block | scroll-margin-block-end | scroll-margin-block-start | scroll-margin-bottom | scroll-margin-inline | scroll-margin-inline-end | scroll-margin-inline-start | scroll-margin-left | scroll-margin-right | scroll-margin-top | scroll-marker-group | scroll-padding | scroll-padding-block | scroll-padding-block-end | scroll-padding-block-start | scroll-padding-bottom | scroll-padding-inline | scroll-padding-inline-end | scroll-padding-inline-start | scroll-padding-left | scroll-padding-right | scroll-padding-top | scroll-snap-align | scroll-snap-coordinate | scroll-snap-destination | scroll-snap-points-x | scroll-snap-points-y | scroll-snap-stop | scroll-snap-type | scroll-snap-type-x | scroll-snap-type-y | scroll-target-group | scroll-timeline | scroll-timeline-axis | scroll-timeline-name | scrollbar-color | scrollbar-gutter | scrollbar-width | shape-image-threshold | shape-inside | shape-margin | shape-outside | shape-padding | shape-rendering | shape-subtract | slider-orientation | spatial-navigation-action | spatial-navigation-contain | spatial-navigation-function | speak | speak-as | stop-color | stop-opacity | string-set | stroke | stroke-align | stroke-alignment | stroke-break | stroke-color | stroke-dash-corner | stroke-dash-justify | stroke-dashadjust | stroke-dasharray | stroke-dashcorner | stroke-dashoffset | stroke-image | stroke-linecap | stroke-linejoin | stroke-miterlimit | stroke-opacity | stroke-origin | stroke-position | stroke-repeat | stroke-size | stroke-width | tab-size | table-layout | text-align | text-align-all | text-align-last | text-anchor | text-autospace | text-box | text-box-edge | text-box-trim | text-combine-upright | text-decoration | text-decoration-color | text-decoration-inset | text-decoration-line | text-decoration-skip | text-decoration-skip-box | text-decoration-skip-ink | text-decoration-skip-self | text-decoration-skip-spaces | text-decoration-style | text-decoration-thickness | text-emphasis | text-emphasis-color | text-emphasis-position | text-emphasis-skip | text-emphasis-style | text-group-align | text-indent | text-justify | text-orientation | text-overflow | text-rendering | text-shadow | text-size-adjust | text-spacing | text-spacing-trim | text-transform | text-underline-offset | text-underline-position | text-wrap | text-wrap-mode | text-wrap-style | timeline-scope | timeline-trigger | timeline-trigger-activation-range | timeline-trigger-activation-range-end | timeline-trigger-activation-range-start | timeline-trigger-active-range | timeline-trigger-active-range-end | timeline-trigger-active-range-start | timeline-trigger-exit-range | timeline-trigger-exit-range-end | timeline-trigger-exit-range-start | timeline-trigger-name | timeline-trigger-range | timeline-trigger-range-end | timeline-trigger-range-start | timeline-trigger-source | top | touch-action | transform | transform-box | transform-origin | transform-style | transition | transition-behavior | transition-delay | transition-duration | transition-property | transition-timing-function | translate | trigger-scope | unicode-bidi | user-select | vector-effect | vertical-align | view-timeline | view-timeline-axis | view-timeline-inset | view-timeline-name | view-transition-class | view-transition-group | view-transition-name | view-transition-scope | visibility | voice-balance | voice-duration | voice-family | voice-pitch | voice-range | voice-rate | voice-stress | voice-volume | white-space | white-space-collapse | white-space-trim | widows | width | will-change | word-break | word-space-transform | word-spacing | word-wrap | wrap-after | wrap-before | wrap-flow | wrap-inside | wrap-through | writing-mode | x | y | z-index | zoom"}}}});function mU(...e){var r;let t=(r=e[0])!=null?r:{};for(let n=1;n<e.length;n++){let i=e[n];i&&(t=hU(t,i))}return t}function hU(e,t){let r={};return r.atrules=fU(e.atrules,t.atrules),r.properties=My(e.properties,t.properties),r.types=My(e.types,t.types),r.cssWideKeywords=gU(e.cssWideKeywords,t.cssWideKeywords),r.units=bU(e.units,t.units),r}function fU(e,t){var n,i;if(typeof e>"u"||typeof t>"u")return(n=e!=null?e:t)!=null?n:{};let r=structuredClone(e);for(let[o,a]of Object.entries(t)){let s=(i=r[o])!=null?i:{};s.prelude=yU(s.prelude,a.prelude),s.descriptors=My(s.descriptors,a.descriptors),r[o]=s}return r}function My(e,t){var n;if(typeof e>"u"||typeof t>"u")return(n=e!=null?e:t)!=null?n:{};let r={...e};for(let[i,o]of Object.entries(t))r[i]=vU(r[i],o);return r}function gU(e,t){var r;return typeof e>"u"||typeof t>"u"?(r=e!=null?e:t)!=null?r:[]:Array.from(new Set([...e,...t]))}function bU(e,t){var n;if(typeof e>"u"||typeof t>"u")return(n=e!=null?e:t)!=null?n:{};let r={...e};for(let[i,o]of Object.entries(t)){let a=r[i];r[i]=a?Array.from(new Set([...a,...o])):o}return r}function vU(e,t){if(typeof e>"u")return t;let r=t.trimStart();return r.startsWith("|")?`${e} ${r}`:t}function yU(e,t){if(typeof e>"u"||typeof t>"u")return e!=null?e:t;let r=t.trimStart();return r.startsWith("|")?`${e} ${r}`:t}var wU=y(()=>{});function IF(e,t){var a;let r={...(a=e.languageOptions)==null?void 0:a.syntax,...t};if(r.atRules&&(r.atrules=r.atRules),r.units){let s=FL.units,l={};for(let[u,c]of Object.entries(r.units)){let d=s[u];l[u]=d?[...d,...c]:c}r.units=l}let n=JSON.stringify(r),i=Ry.get(n);if(i)return i;let{lexer:o}=Ak(mU(OF,r));return Ry.set(n,o),o}var OF,Ry,jF=y(()=>{On(),pU(),wU(),{next:OF}=PF,Ry=new Map});function kU(e,t){let r=e.parent;for(;r&&!ur(r)&&t(r)!==Dk;)r=r.parent}var Dk,xU=y(()=>{me(),Dk="STOP"});function Ji(e,t){let r;return kU(e,n=>{if(t(n))return r=n,Dk}),r}var Ed=y(()=>{xU()});function TF(e){return!!Ji(e,SU)}function SU(e){return Oe(e)&&!$c.has(e.name.toLowerCase())}var DF=y(()=>{Ed(),me(),no()});function LF(e,t,r,n){if(!e)return!1;let i=e[t];if(!i)return!1;let o=Object.entries(i).find(([a])=>Pe(r,a));return o?!!Pe(n,o[1]):!1}var FF=y(()=>{Le()}),MF={};A(MF,{default:()=>BF});function RF(e){return!!zk(e,t=>t.type==="Function"&&$F.has(t.name.toLowerCase()))}function CU(e){let t=!1;return Dn(e,({node:r})=>{if(!(!He(r)||r.getName().toLowerCase()!=="calc-size")&&(t=r.tokens().some(n=>{var i;return n[0]===z.Ident&&((i=n[4])==null?void 0:i.value.toLowerCase())==="size"}),t))return!1}),t}function zU(e,t,r,n){var l;if(!Q.mathFunction.test(e))return["undetermined",-1,-1];let i=uo(St({css:e}),{});if(CU(i))return["skip-validation",-1,-1];let o=[],a=lU([i],{onParseError:u=>{o.push(u)}});for(let u of o)switch(u.message){case od.UnexpectedAdditionOfDimensionOrPercentageWithNumber:case od.UnexpectedSubtractionOfDimensionOrPercentageWithNumber:return["invalid",u.sourceStart,u.sourceEnd+1];default:break}let s=xF(a);if(Q.mathFunction.test(s))return["undetermined",-1,-1];try{let u=qr(s,{context:"value",positions:!0});if(RF(u))return["skip-validation",-1,-1];let{error:c}=r.matchProperty((l=n.get(t))!=null?l:t,u);if(!c)return["valid",-1,-1];if("mismatchLength"in c&&c.name==="SyntaxMatchError"&&c.rawMessage==="Mismatch"){let d=c.loc.start.offset,p=c.loc.end.offset,m=a.flatMap(g=>g.flatMap(f=>f.tokens())),v=0,h,b;return m.forEach(g=>{d===v&&(h=g),v+=g[1].length,p===v&&(b=g)}),!h||!b?["invalid",-1,-1]:["invalid",h[2],b[3]+1]}}catch{return["undetermined",-1,-1]}return["undetermined",-1,-1]}var vr,Yn,IS,OS,$F,bg,vg,Ya,BF,AU=y(()=>{dU(),rt(),On(),Ct(),V(),q(),J(),Aw(),We(),jF(),pr(),me(),DF(),ct(),jr(),_e(),FF(),I(),j(),Ht(),Nk(),D(),vr="declaration-property-value-no-unknown",Yn=O(vr,{rejected:(e,t)=>`Unknown value "${t}" for property "${e}"`,rejectedParseError:(e,t)=>`Cannot parse property value "${t}" for property "${e}"`,rejectedMath:(e,t)=>`Invalid math expression "${t}" for property "${e}"`}),IS={url:"https://stylelint.io/user-guide/rules/declaration-property-value-no-unknown"},OS=/^syntax$/i,$F=new Set(["clamp","min","max","env"]),bg=new WeakMap,vg=1e4,Ya=(e,t)=>(r,n)=>{var c;if(!T(n,vr,{actual:e},{actual:t,possible:{ignoreProperties:[Bt($,_)],propertiesSyntax:[Wm($)],typesSyntax:[Wm($)]},optional:!0}))return;t!=null&&t.propertiesSyntax&&Mc(`We've deprecated the "propertiesSyntax" option of "${vr}".`,"RULE_OPTION",'Use the shared and more performant "languageOptions" configuration property instead. See https://stylelint.io/user-guide/rules/declaration-property-value-no-unknown#propertiessyntax'),t!=null&&t.typesSyntax&&Mc(`We've deprecated the "typesSyntax" option of "${vr}".`,"RULE_OPTION",'Use the shared and more performant "languageOptions" configuration property instead. See https://stylelint.io/user-guide/rules/declaration-property-value-no-unknown#typessyntax');let i=(d,p)=>LF(t,"ignoreProperties",d,p),o={...t==null?void 0:t.propertiesSyntax},a={...t==null?void 0:t.typesSyntax},s=new Map;r.walkAtRules(Se.propertyName,d=>{let p=d.params.trim();if(!(!p||!d.nodes||!yt(p))){for(let m of d.nodes)if(to(m)&&OS.test(m.prop)){let v=m.value.trim(),h=rD.decode(v);if(h===v||h==="*")continue;let b=`-stylelint${p}`;s.set(p,b),o[b]=h}}});let l=Object.keys(o).length>0||Object.keys(a).length>0?IF((c=n.stylelint.config)!=null?c:{},{properties:o,types:a}):n.stylelint.lexer,u=bg.get(l);u||(u=new Set,bg.set(l,u)),r.walkDecls(d=>{var N;let{prop:p}=d,m=qe(d);if(/^-moz-initial$/i.test(m)||!ut(d)||TF(d)||!Or(p)||!Be(m)||yt(p)&&!s.has(p)||i(p,m)||/\bvar\s*\(/i.test(m))return;let v=yt(p)?null:`${p}:${m}`;if(v&&u.has(v))return;let[h,b,g]=zU(m,p,l,s);if(h==="valid"||h==="skip-validation"){v&&u.size<vg&&u.add(v);return}if(h==="invalid"){let B=ne(d),ie=m,te=B,he=te+ie.length;b!==-1&&g!==-1&&(ie=m.slice(b,g),te=B+b,he=te+ie.length),P({message:Yn.rejectedMath,messageArgs:[p,ie],node:d,index:te,endIndex:he,result:n,ruleName:vr});return}let f;try{if(f=qr(m,{context:"value",positions:!0}),RF(f))return}catch{if(/(?:^|[^\w-])(?:attr|if|--[\w-]+)\(/i.test(m))return;let B=ne(d),ie=B+m.length;P({message:Yn.rejectedParseError,messageArgs:[p,m],node:d,index:B,endIndex:ie,result:n,ruleName:vr});return}let{error:x}=l.matchProperty((N=s.get(p))!=null?N:p,f);if(!x){v&&u.size<vg&&u.add(v);return}if(!("mismatchLength"in x))return;let{name:w,rawMessage:k,loc:S}=x;if(w!=="SyntaxMatchError"||k!=="Mismatch")return;let E=ne(d),C=m.slice(S.start.offset,S.end.offset),L=zk(f,B=>B.type==="Function"&&B.loc!==void 0&&S.start.offset>=B.loc.start.offset&&S.end.offset<=B.loc.end.offset);if(L!=null&&L.loc){let B=m.slice(L.loc.start.offset,L.loc.end.offset),ie=E+L.loc.start.offset,te=ie+B.length;P({message:Yn.rejected,messageArgs:[p,B],node:d,index:ie,endIndex:te,result:n,ruleName:vr});return}P({message:Yn.rejected,messageArgs:[p,C],node:d,index:E+S.start.offset,endIndex:E+S.end.offset,result:n,ruleName:vr})})},Ya.ruleName=vr,Ya.messages=Yn,Ya.meta=IS,BF=Ya}),qF={};A(qF,{default:()=>VF});function jS(e){return WF.test(e)?1:_F.test(e)?2:UF.test(e)?3:0}function NU(e,t){return jS(e)-jS(t)}function EU(e){return e.map(t=>t[4].value).sort(NU).join(" ").toLowerCase()}function PU(e,t,r,n){let i=e.slice(0,e.indexOf(t)),o=e.slice(e.indexOf(t),e.indexOf(r)).filter(Ih),a=e.slice(e.indexOf(r)+1);return ke(...i,...n.flatMap((s,l)=>{let u=[];return l!==0&&u.push([z.Whitespace," ",-1,-1,void 0]),u.push([z.Ident,s,-1,-1,{value:s}]),u}),...o,...a)}var Ga,yg,TS,WF,_F,UF,DS,LS,FS,Ka,VF,IU=y(()=>{rt(),Ke(),J(),We(),_e(),V(),I(),j(),gt(),D(),Ga="display-notation",yg=O(Ga,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),TS={url:"https://stylelint.io/user-guide/rules/display-notation",fixable:!0},WF=new RegExp(`^(?:${[...Lw.values()].join("|")})$`,"i"),_F=new RegExp(`^(?:${[...Fw.values()].join("|")})$`,"i"),UF=new RegExp(`^(?:${[...Mw.values()].join("|")})$`,"i"),DS=/^display$/i,LS={"block list-item":["block","flow","list-item"],block:["block","flow"],flex:["block","flex"],"flow list-item":["block","flow","list-item"],flow:["block","flow"],"flow-root":["block","flow-root"],grid:["block","grid"],"inline list-item":["inline","flow","list-item"],inline:["inline","flow"],"inline-block":["inline","flow-root"],"inline-flex":["inline","flex"],"inline-grid":["inline","grid"],"inline-table":["inline","table"],"list-item":["block","flow","list-item"],ruby:["inline","ruby"],"run-in":["run-in","flow"],table:["block","table"]},FS={"block flex":["flex"],"block flow list-item":["list-item"],"block flow":["block"],"block flow-root":["flow-root"],"block grid":["grid"],"block list-item":["list-item"],"block table":["table"],"flow list-item":["list-item"],"inline flex":["inline-flex"],"inline flow list-item":["inline","list-item"],"inline flow":["inline"],"inline flow-root":["inline-block"],"inline grid":["inline-grid"],"inline ruby":["ruby"],"inline table":["inline-table"],"run-in flow":["run-in"]},Ka=e=>(t,r)=>{T(r,Ga,{actual:e,possible:["short","full"]})&&t.walkDecls(DS,n=>{let i=qe(n);if(!Q.displayKeyword.test(i)||!Be(i))return;let o=St({css:i});if(o.some(p=>!(Et(p)||Kt(p)||Ye(p))))return;let a=o.filter(Ye);if(!a.length)return;let s=EU(a),l=e==="short"?FS[s]:LS[s];if(!l)return;let u=a.at(0),c=a.at(-1);if(!u||!c)return;let d=ne(n);P({message:yg.expected,messageArgs:[s,l.join(" ")],node:n,index:d+u[2],endIndex:d+c[3]+1,result:r,ruleName:Ga,fix:{apply:()=>{ft(n,PU(o,u,c,l))},node:n}})})},Ka.ruleName=Ga,Ka.messages=yg,Ka.meta=TS,VF=Ka});function im(e){return e.toString().trim().length!==0&&Number(e)==e}var QF=y(()=>{});function MS(e){if(!e)return!1;if(km.has(e))return!0;let t=YF.default.unit(e);if(!t)return!1;let r=t.unit;return!!(r==="%"||qi.has(r.toLowerCase()))}var YF,OU=y(()=>{YF=X(ue(),1),Ke(),oo()});function Pd(e){return e.toLowerCase().startsWith("var(")}var Id=y(()=>{});function jU(e,t,r){return e.value=e.value+r+t.value,e}function Lk(e){let t=[],r=(0,GF.default)(e),{nodes:n}=r;if(n.length===1&&n[0]&&Te.has(n[0].value.toLowerCase()))return[n[0]];let i=!1,o=null;return r.walk((a,s,l)=>{if(a.type==="function")return!1;if(!KF.has(a.type))return;let u=a.value.toLowerCase();if(!Be(u)||Pd(u))return;let c=Zr.has(u);if(!c&&Rw.has(u)||!c&&MS(a.value))return;let d=l[s+1],p=l[s-1],m=l[s-2],v=l.slice(0,s);if(c&&km.has(u)&&!(!d||$y(d)||v.find($y))||p&&p.value==="/"&&m&&MS(m.value)||im(u))return;if((a.type==="space"||a.type==="div"&&a.value!==",")&&t.length!==0){i=!0,o=a.value;return}if(a.type==="space"||a.type==="div")return;let h=a;if(i){let b=t[t.length-1];$e(b),jU(b,h,o),i=!1,o=null}else t.push(h)}),t}var GF,KF,$y,Fk=y(()=>{GF=X(ue(),1),Ke(),q(),QF(),_e(),OU(),Id(),KF=new Set(["word","string","space","div"]),$y=e=>e.type==="div"&&e.value===","}),HF={};A(HF,{default:()=>XF});function TU(e){return!!(mN.has(e)||e==="BlinkMacSystemFont")}function DU(e){return!/^[-a-z]+$/i.test(e)}function LU(e){return e.split(/\s+/).some(t=>/^(?:-?\d|--)/.test(t)||!/^[-\w\u{00A0}-\u{10FFFF}]+$/u.test(t))}var Ha,wg,RS,$S,Xa,XF,FU=y(()=>{Ke(),Fk(),_e(),Id(),V(),I(),j(),D(),Ha="font-family-name-quotes",wg=O(Ha,{expected:e=>`Expected quotes around "${e}"`,rejected:e=>`Expected no quotes around "${e}"`}),RS={url:"https://stylelint.io/user-guide/rules/font-family-name-quotes",fixable:!0},$S=(e,t)=>{let r=[];return e.forEach((n,i)=>{let o="quote"in n&&n.quote,a=n.value,s={name:a,rawName:o?`${o}${a}${o}`:a,sourceIndex:n.sourceIndex,hasQuotes:!!o,resetIndexes(l){r.slice(i+1).forEach(u=>u.sourceIndex+=l)},removeQuotes(){if(this.hasQuotes===!1)return;let l=this.sourceIndex,u=l+this.name.length+2;this.hasQuotes=!1,t.value=t.value.slice(0,l)+this.name+t.value.substring(u),this.resetIndexes(-2)},addQuotes(){if(this.hasQuotes===!0)return;let l=this.sourceIndex,u=l+this.name.length;this.hasQuotes=!0;let c=`"${this.name}"`;t.value=t.value.slice(0,l)+c+t.value.substring(u),this.resetIndexes(2)}};r.push(s)}),r},Xa=e=>(t,r)=>{if(!T(r,Ha,{actual:e,possible:["always-where-required","always-where-recommended","always-unless-keyword"]}))return;t.walkDecls(dr.fontFamilyAndShorthandName,o=>{if(!Be(o.value))return;let a=$S(Lk(o.value),o);if(a.length!==0)for(let s of a)n(s,o)});function n(o,a){let{name:s,rawName:l,hasQuotes:u}=o;if(Pd(l))return;if(Zr.has(s.toLowerCase())||TU(s))return u?i("rejected",o,a):void 0;let c=LU(s),d=DU(s);switch(e){case"always-unless-keyword":return u?void 0:i("expected",o,a);case"always-where-recommended":return!d&&u?i("rejected",o,a):d&&!u?i("expected",o,a):void 0;case"always-where-required":if(!c&&u)return i("rejected",o,a);if(c&&!u)return i("expected",o,a)}}function i(o,a,s){let{name:l,rawName:u}=a,c=()=>o==="expected"?a.addQuotes():a.removeQuotes();P({result:r,ruleName:Ha,message:wg[o],messageArgs:[l],node:s,word:u,fix:{apply:c,node:s}})}},Xa.ruleName=Ha,Xa.messages=wg,Xa.meta=RS,XF=Xa}),JF={};A(JF,{default:()=>ZF});var Ja,kg,BS,qS,Za,ZF,MU=y(()=>{q(),J(),Fk(),Ke(),K(),V(),I(),j(),D(),Ja="font-family-no-duplicate-names",kg=O(Ja,{rejected:e=>`Duplicate font-family name "${e}"`}),BS={url:"https://stylelint.io/user-guide/rules/font-family-no-duplicate-names"},qS=e=>!("quote"in e)&&Zr.has(e.value.toLowerCase()),Za=(e,t)=>(r,n)=>{if(!T(n,Ja,{actual:e},{actual:t,possible:{ignoreFontFamilyNames:[$,_]},optional:!0}))return;r.walkDecls(dr.fontFamilyAndShorthandName,o=>{let a=new Set,s=new Set,l=Lk(o.value);if(l.length!==0)for(let u of l){let c=u.value.trim();if(F(t,"ignoreFontFamilyNames",c))continue;let d="quote"in u?u.quote+c+u.quote:c;if(qS(u)){if(a.has(c.toLowerCase())){i(c,ne(o)+u.sourceIndex,d.length,o);continue}a.add(c);continue}if(s.has(c)){i(c,ne(o)+u.sourceIndex,d.length,o);continue}s.add(c)}});function i(o,a,s,l){P({result:n,ruleName:Ja,message:kg.rejected,messageArgs:[o],node:l,index:a,endIndex:a+s})}},Za.ruleName=Ja,Za.messages=kg,Za.meta=BS,ZF=Za}),eM={};A(eM,{default:()=>tM});var es,xg,WS,_S,US,ts,tM,RU=y(()=>{gd(),q(),Ke(),J(),Fk(),me(),_e(),Id(),K(),V(),I(),j(),D(),es="font-family-no-missing-generic-family-keyword",xg=O(es,{rejected:"Missing generic font family"}),WS={url:"https://stylelint.io/user-guide/rules/font-family-no-missing-generic-family-keyword"},_S=e=>!("quote"in e)&&Zr.has(e.value.toLowerCase()),US=e=>{let t=_i.list.comma(e).pop();return t!=null&&(Pd(t)||!Be(t))},ts=(e,t)=>(r,n)=>{if(!T(n,es,{actual:e},{actual:t,possible:{ignoreFontFamilies:[$,_]},optional:!0}))return;let i=new Set(["font-face","font-palette-values"]);r.walkDecls(dr.fontFamilyAndShorthandName,o=>{let a=o.parent;if(a&&Oe(a)&&i.has(a.name.toLowerCase())||o.prop==="font"&&pN.has(o.value.toLowerCase())||US(o.value))return;let s=Lk(o.value);if(s.length===0||s.some(p=>_S(p))||s.some(p=>F(t,"ignoreFontFamilies",p.value)))return;let l=s[s.length-1];$e(l);let u=ne(o),c=u+l.sourceIndex,d=u+l.sourceEndIndex;P({result:n,ruleName:es,message:xg.rejected,messageArgs:[],node:o,index:c,endIndex:d})})},ts.ruleName=es,ts.messages=xg,ts.meta=WS,tM=ts}),rM={};A(rM,{default:()=>nM});function By(e){return e!==void 0&&e.type==="div"}function $U(e,t,r){return!(e.type!=="word"||By(r[t-1])||By(r[t+1]))}var VS,rs,ns,QS,YS,GS,Sg,is,nM,BU=y(()=>{VS=X(ue(),1),Ke(),V(),q(),J(),We(),QF(),_e(),Id(),K(),I(),j(),gt(),D(),rs="font-weight-notation",ns=O(rs,{expected:e=>`Expected ${e} font-weight notation`,expectedWithActual:(e,t)=>`Expected "${e}" to be "${t}"`}),QS={url:"https://stylelint.io/user-guide/rules/font-weight-notation",fixable:!0},YS="normal",GS=new Map([["normal","400"],["bold","700"]]),Sg=new Map([["400","normal"],["700","bold"]]),is=(e,t)=>(r,n)=>{if(!T(n,rs,{actual:e,possible:["numeric","named-where-possible"]},{actual:t,possible:{ignore:["relative"]},optional:!0}))return;let i=F(t,"ignore","relative");r.walkDecls(dr.fontWeightAndShorthandName,a=>{if(e==="numeric"&&!Q.namedFontWeight.test(a.value)||e==="named-where-possible"&&!Q.numericFontWeight.test(a.value))return;let s=a.prop.toLowerCase()==="font",l=(0,VS.default)(qe(a)),u=l.nodes,c=u.some((d,p,m)=>im(d.value)&&!By(m[p-1]));for(let[d,p]of u.entries()){if(!$U(p,d,u))continue;let{value:m}=p;if(s){if(m.toLowerCase()===YS&&c)continue;if(o(a,p,l))break}o(a,p,l)}});function o(a,s,l){let u=s.value;if(!Be(u)||Pd(u))return;let c=u.toLowerCase();if(i&&ym.has(c))return;let d=m=>()=>{s.value=m,ft(a,l.toString())};if(e==="numeric"){if(!im(c)&&wm.has(c)){let m=GS.get(c);return m?p(ns.expectedWithActual,[u,m],s,d(m)):p(ns.expected,["numeric"],s,void 0),!0}}else if(e==="named-where-possible"&&im(c)&&Sg.has(c)){let m=Sg.get(c);eo(m);let v=d(m);return p(ns.expectedWithActual,[u,m],s,v),!0}function p(m,v,h,b){let g=ne(a)+h.sourceIndex,f=g+h.value.length;P({ruleName:rs,result:n,message:m,messageArgs:v,node:a,index:g,endIndex:f,fix:{apply:b,node:a}})}}},is.ruleName=rs,is.messages=ns,is.meta=QS,nM=is}),iM={};A(iM,{default:()=>oM});function qU(e){let t=e.prop.toLowerCase();if(yt(t))return!1;let r=e.prev();for(;r;){if(r.type==="decl"&&r.prop.toLowerCase()===t)return!0;r=r.prev()}return!1}var KS,os,Cg,HS,Gn,oM,WU=y(()=>{KS=X(ue(),1),q(),J(),pr(),Sd(),Le(),I(),j(),D(),os="function-allowed-list",Cg=O(os,{rejected:e=>`Disallowed function "${e}"`}),HS={url:"https://stylelint.io/user-guide/rules/function-allowed-list"},Gn=(e,t)=>(r,n)=>{var o;if(!T(n,os,{actual:e,possible:[$,_]},{actual:t,possible:{exceptWithoutPropertyFallback:[$,_]},optional:!0}))return;let i=(o=t==null?void 0:t.exceptWithoutPropertyFallback)!=null?o:[];r.walkDecls(a=>{a.value.includes("(")&&(0,KS.default)(a.value).walk(s=>{let{type:l,sourceIndex:u,value:c}=s;if(l!=="function"||!xd(s)||Pe(c,e)&&(!Pe(c,i)||qU(a)))return;let d=ne(a)+u,p=d+c.length;P({message:Cg.rejected,messageArgs:[c],node:a,index:d,endIndex:p,result:n,ruleName:os})})})},Gn.primaryOptionArray=!0,Gn.ruleName=os,Gn.messages=Cg,Gn.meta=HS,oM=Gn}),aM={};A(aM,{default:()=>cM});function _U(e){let t=St({css:e});return t.forEach((r,n)=>{if(!Ee(r))return;let{unit:i}=r[4];if(i.startsWith("--"))return;let o=i.indexOf("-");if(o===-1)return;let a=i.slice(o);if(a.length===1)return;Ph(r,i.slice(0,o)),r[3]=r[2]+r[1].length;let s=St({css:a}).slice(0,-1);s.forEach(l=>{l[2]+=r[3],l[3]+=r[3]}),t.splice(n+1,0,...s)}),t.forEach((r,n)=>{if(!qt(r)||r[4].value!=="#")return;let i=t[n+1];if(!fF(i))return;let o=t[n+2];!qt(o)||o[4].value!=="$"||(i[1]="#{",t.splice(n,1))}),uo(t)}function XS(e){if(Dr(e))return!0;if(He(e)){let t=e.getName().toLowerCase();return!!(io.has(t)||t==="var")}return le(e)?lM.has(e.value[0]):!1}function Tp(e=" "){return new Ot([[z.Whitespace,e,-1,-1,void 0]])}function UU(e,t){let r,n,i=[],o=[],a,s=e.value[t];for(;It(s);)s=e.value[++t];for(XS(s)&&(r=s,s=e.value[++t]);It(s);)i.push(s),s=e.value[++t];for(le(s)&&qt(s.value)&&sM.has(s.value[4].value)&&(a=s,s=e.value[++t]);It(s);)o.push(s),s=e.value[++t];for(XS(s)&&(n=s,s=e.value[++t]);It(s);)s=e.value[++t];if(!r||!n){for(;s;){if(le(s)&&(rn(s.value)||hF(s.value)))return[void 0,t];s=e.value[++t]}return[void 0,e.value.length]}return[new uM(r,i,n,o,a),t]}var as,cn,JS,sM,ZS,eC,ss,lM,uM,cM,VU=y(()=>{var e,qy,r;Ct(),rt(),J(),We(),Ir(),V(),I(),j(),gt(),D(),q(),as="function-calc-no-unspaced-operator",cn=O(as,{expectedBefore:n=>`Expected single space before "${n}" operator`,expectedAfter:n=>`Expected single space after "${n}" operator`}),JS={url:"https://stylelint.io/user-guide/rules/function-calc-no-unspaced-operator",fixable:!0},sM=new Set(["+","-"]),ZS=new RegExp(`^(?:${[...io].join("|")})$`,"i"),eC=/\n|\r\n/,ss=n=>(i,o)=>{if(!T(o,as,{actual:n}))return;function a(s,l,u,c,d){let p=u+c.length;P({message:s,messageArgs:[c],node:l,index:u,endIndex:p,result:o,ruleName:as,fix:{apply:d,node:l}})}i.walkDecls(s=>{let l=qe(s);if(!Q.operator.test(l)||!Q.mathFunction.test(l))return;let u=_U(l);if(u.length===0)return;let c=ne(s),d=()=>ft(s,xF([u]));function p(h,b,g){b[g].some(id)||a(cn[g==="before"?"expectedBefore":"expectedAfter"],s,c+b.operatorCharPosition,b.operatorChar,()=>{b.insertWhitespace(h,g),d()})}function m(h,b){if(le(b.firstOperand)){let g=b.firstOperand.value,f=(x,w)=>{if(!(x&&Q.operator.test(x)))return!1;let[,,,k]=g;return b.completeMissingOperator(x,k,"append"),a(cn.expectedBefore,s,c+b.operatorCharPosition,b.operatorChar,()=>{b.insertOperatorAfterFirstOperand(h),w(),d()}),!0};if(Ee(g)){let[,,,,{unit:x}]=g,w=x.at(-1),k=x.slice(0,-1);if(f(w,()=>Ph(g,k)))return}if(Ye(g)){let[,,,,{value:x}]=g,w=x.at(-1),k=x.slice(0,-1);if(f(w,()=>m7(g,k)))return}}if(le(b.secondOperand)&&tt(b.secondOperand.value)){let g=b.secondOperand.value,[,,f,,{signCharacter:x}]=g;x&&Q.operator.test(x)&&(b.completeMissingOperator(x,f,"prepend"),a(cn.expectedAfter,s,c+b.operatorCharPosition,b.operatorChar,()=>{b.insertOperatorBeforeSecondOperand(h),g[4].signCharacter=void 0,g[1]=g[1].slice(1),d()}))}}function v(h,b){h[b].forEach(g=>{if(!id(g))return;let f=g.toString();if(f===" ")return;let x=f.search(eC);if(x===0)return;let w=b==="before"?cn.expectedBefore:cn.expectedAfter;a(w,s,c+h.operatorCharPosition,h.operatorChar,()=>{g.value=Tp(x===-1?" ":f.slice(x)).value,d()})})}Dn(u,({node:h,state:b})=>{if(!b)return;if(He(h))b.inMathFunction=ZS.test(h.getName().toLowerCase());else if(!Dr(h)||!lo(h.startToken)){b.inMathFunction=!1;return}if(!b.inMathFunction)return;let g=0,f;for(;g!==-1&&g<h.value.length;){if([f,g]=UU(h,g),!f){g++;continue}f.operator||m(h,f),f.operator&&(p(h,f,"before"),p(h,f,"after"),v(f,"before"),v(f,"after")),g=h.value.indexOf(f.secondOperand)}},{inMathFunction:!1})})},lM=new Set([z.Number,z.Dimension,z.Percentage,z.Ident]),uM=(r=class{constructor(n,i,o,a,s){ax(this,e);this.firstOperand=n,this.before=i,this.secondOperand=o,this.after=a,this.operator=s}get operatorChar(){return Qh(this,e,qy)[4].value}get operatorCharPosition(){return Qh(this,e,qy)[2]}insertWhitespace(n,i){$e(this.operator),n.value.splice(n.value.indexOf(this.operator)+(i==="before"?0:1),0,Tp())}insertOperatorAfterFirstOperand(n){$e(this.operator),n.value.splice(n.value.indexOf(this.firstOperand)+1,0,...this.before,this.operator)}insertOperatorBeforeSecondOperand(n){$e(this.operator),n.value.splice(n.value.indexOf(this.secondOperand),0,this.operator,...this.after)}completeMissingOperator(n,i,o){this.operator=new pe([z.Delim,n,i,i+n.length,{value:n}]),o==="append"?(this.after=this.before,this.before=[Tp()]):this.after=[Tp()]}},e=new WeakSet,qy=function(){var n;return $e(qt((n=this.operator)==null?void 0:n.value)),this.operator.value},r),ss.ruleName=as,ss.messages=cn,ss.meta=JS,cM=ss}),dM={};A(dM,{default:()=>pM});var tC,ls,zg,rC,Kn,pM,QU=y(()=>{tC=X(ue(),1),q(),J(),Sd(),Le(),I(),j(),D(),ls="function-disallowed-list",zg=O(ls,{rejected:e=>`Disallowed function "${e}"`}),rC={url:"https://stylelint.io/user-guide/rules/function-disallowed-list"},Kn=e=>(t,r)=>{T(r,ls,{actual:e,possible:[$,_]})&&t.walkDecls(n=>{n.value.includes("(")&&(0,tC.default)(n.value).walk(i=>{let{type:o,sourceIndex:a,value:s}=i;if(o!=="function"||!xd(i)||!Pe(s,e))return;let l=ne(n)+a,u=l+s.length;P({message:zg.rejected,messageArgs:[s],node:n,index:l,endIndex:u,result:r,ruleName:ls})})})},Kn.primaryOptionArray=!0,Kn.ruleName=ls,Kn.messages=zg,Kn.meta=rC,pM=Kn});function Od(e,t,r){let n=(0,Wy.default)(e);return n.walk(i=>{if(i.type!=="function")return;let{value:o}=i;if($(t)&&o!==t||_(t)&&!t.test(i.value))return;let a=1,s=i.sourceIndex+o.length+a,l;if(i.value.toLowerCase()==="url"){let[u]=(0,Wy.default)(e.slice(i.sourceIndex+o.length)).nodes;$e(u);let c=s+u.sourceEndIndex-1-(e[s+u.sourceEndIndex-2]===")"?a:0);l=e.slice(s,c)}else{let u=i.sourceEndIndex-(e[i.sourceEndIndex-1]===")"?a:0);l=e.slice(s,u)}r(l,s,i,n)})}var Wy,jd=y(()=>{Wy=X(ue(),1),q()}),mM={};A(mM,{default:()=>gM});function YU(e,t){let r=t?hM:fM,n=e.match(r);return n?n.length===2||n.length===3&&n[1]!==n[2]:!1}var Ag,us,Ng,nC,Eg,iC,oC,Hn,hM,fM,aC,sC,lC,cs,gM,GU=y(()=>{Ag=X(ue(),1),J(),jd(),_e(),I(),j(),D(),Dt(),us="function-linear-gradient-no-nonstandard-direction",Ng=O(us,{rejected:"Nonstandard direction"}),nC={url:"https://stylelint.io/user-guide/rules/function-linear-gradient-no-nonstandard-direction"},Eg="(?:-webkit-|-moz-|-o-|-ms-)?linear-gradient",iC=new RegExp(`${Eg}\\(`,"i"),oC=new RegExp(`^${Eg}$`,"i"),Hn=/top|left|bottom|right/i,hM=new RegExp(`^to (${Hn.source})(?: (${Hn.source}))?$`,"i"),fM=new RegExp(`^(${Hn.source})(?: (${Hn.source}))?$`,"i"),aC=/[\d.]/,sC=/^[\d.]+(?:deg|grad|rad|turn)$/,lC=/\bin\b/i,cs=e=>(t,r)=>{T(r,us,{actual:e})&&t.walkDecls(n=>{iC.test(n.value)&&(0,Ag.default)(n.value).walk(i=>{i.type==="function"&&Od(Ag.default.stringify(i).toLowerCase(),oC,(o,a)=>{let s=o.split(","),l=(s[0]||"").trim();if(!Be(l)||l.startsWith("var(")||lC.test(l))return;if(aC.test(l.charAt(0))){if(sC.test(l))return;c();return}if(!Hn.test(l))return;let u=!Xe.prefix(i.value);YU(l,u)||c();function c(){let d=ne(n)+i.sourceIndex+a,p=d+(s[0]||"").trimEnd().length;P({message:Ng.rejected,messageArgs:[],node:n,index:d,endIndex:p,result:r,ruleName:us})}})})})},cs.ruleName=us,cs.messages=Ng,cs.meta=nC,gM=cs}),bM={};A(bM,{default:()=>vM});var uC,ds,Pg,cC,Dp,ps,vM,KU=y(()=>{uC=X(ue(),1),q(),Ir(),J(),We(),Sd(),_e(),K(),I(),j(),gt(),D(),ds="function-name-case",Pg=O(ds,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),cC={url:"https://stylelint.io/user-guide/rules/function-name-case",fixable:!0},Dp=new Map;for(let e of cN)Dp.set(e.toLowerCase(),e);ps=(e,t)=>(r,n)=>{T(n,ds,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreFunctions:[$,_]},optional:!0})&&r.walkDecls(i=>{if(!i.value.includes("(")||!Be(i.value))return;let o=(0,uC.default)(qe(i));o.walk(a=>{if(a.type!=="function"||!xd(a))return;let s=a.value,l=s.toLowerCase();if(F(t,"ignoreFunctions",s))return;let u;if(e==="lower"&&Dp.has(l)?u=Dp.get(l):e==="lower"?u=l:u=s.toUpperCase(),s===u)return;let c=ne(i)+a.sourceIndex,d=c+s.length,p=()=>{a.value=u,ft(i,o.toString())};P({message:Pg.expected,messageArgs:[s,u],node:i,index:c,endIndex:d,result:n,ruleName:ds,fix:{apply:p,node:i}})})})},ps.ruleName=ds,ps.messages=Pg,ps.meta=cC,vM=ps}),yM,HU=y(()=>{yM=["abs","acos","anchor","anchor-size","annotation","asin","atan","atan2","attr","blur","brightness","calc","calc-size","character-variant","circle","clamp","color","color-contrast","color-mix","color-stop","conic-gradient","content","contrast","contrast-color","cos","counter","counters","cross-fade","cubic-bezier","device-cmyk","drop-shadow","dynamic-range-limit-mix","element","ellipse","env","exp","filter","fit-content","format","from","gradient","grayscale","hsl","hsla","hue-rotate","hwb","hypot","if","image","image-rect","image-set","inset","invert","lab","layer","lch","leader","light-dark","linear","linear-gradient","local","log","matrix","matrix3d","max","media","min","minmax","mod","oklab","oklch","opacity","ornaments","paint","palette-mix","path","perspective","polygon","pow","progress","radial-gradient","random","ray","rect","rem","repeat","repeating-conic-gradient","repeating-linear-gradient","repeating-radial-gradient","reversed","rgb","rgba","rotate","rotate3d","rotateX","rotateY","rotateZ","rotatex","rotatey","rotatez","round","running","saturate","scale","scale3d","scaleX","scaleY","scaleZ","scalex","scaley","scalez","scroll","selector","sepia","shape","sibling-count","sibling-index","sign","sin","skew","skewX","skewY","skewx","skewy","sqrt","steps","string","style","styleset","stylistic","superellipse","supports","swash","symbols","tan","target-counter","target-counters","target-text","to","translate","translate3d","translateX","translateY","translateZ","translatex","translatey","translatez","type","url","var","view","xywh","-webkit-abs","-webkit-acos","-webkit-anchor","-webkit-anchor-size","-webkit-annotation","-webkit-asin","-webkit-atan","-webkit-atan2","-webkit-attr","-webkit-blur","-webkit-brightness","-webkit-calc","-webkit-calc-size","-webkit-character-variant","-webkit-circle","-webkit-clamp","-webkit-color","-webkit-color-contrast","-webkit-color-mix","-webkit-color-stop","-webkit-conic-gradient","-webkit-content","-webkit-contrast","-webkit-contrast-color","-webkit-cos","-webkit-counter","-webkit-counters","-webkit-cross-fade","-webkit-cubic-bezier","-webkit-device-cmyk","-webkit-drop-shadow","-webkit-dynamic-range-limit-mix","-webkit-element","-webkit-ellipse","-webkit-env","-webkit-exp","-webkit-filter","-webkit-fit-content","-webkit-format","-webkit-from","-webkit-gradient","-webkit-grayscale","-webkit-hsl","-webkit-hsla","-webkit-hue-rotate","-webkit-hwb","-webkit-hypot","-webkit-if","-webkit-image","-webkit-image-rect","-webkit-image-set","-webkit-inset","-webkit-invert","-webkit-lab","-webkit-layer","-webkit-lch","-webkit-leader","-webkit-light-dark","-webkit-linear","-webkit-linear-gradient","-webkit-local","-webkit-log","-webkit-matrix","-webkit-matrix3d","-webkit-max","-webkit-media","-webkit-min","-webkit-minmax","-webkit-mod","-webkit-oklab","-webkit-oklch","-webkit-opacity","-webkit-ornaments","-webkit-paint","-webkit-palette-mix","-webkit-path","-webkit-perspective","-webkit-polygon","-webkit-pow","-webkit-progress","-webkit-radial-gradient","-webkit-random","-webkit-ray","-webkit-rect","-webkit-rem","-webkit-repeat","-webkit-repeating-conic-gradient","-webkit-repeating-linear-gradient","-webkit-repeating-radial-gradient","-webkit-reversed","-webkit-rgb","-webkit-rgba","-webkit-rotate","-webkit-rotate3d","-webkit-rotateX","-webkit-rotateY","-webkit-rotateZ","-webkit-rotatex","-webkit-rotatey","-webkit-rotatez","-webkit-round","-webkit-running","-webkit-saturate","-webkit-scale","-webkit-scale3d","-webkit-scaleX","-webkit-scaleY","-webkit-scaleZ","-webkit-scalex","-webkit-scaley","-webkit-scalez","-webkit-scroll","-webkit-selector","-webkit-sepia","-webkit-shape","-webkit-sibling-count","-webkit-sibling-index","-webkit-sign","-webkit-sin","-webkit-skew","-webkit-skewX","-webkit-skewY","-webkit-skewx","-webkit-skewy","-webkit-sqrt","-webkit-steps","-webkit-string","-webkit-style","-webkit-styleset","-webkit-stylistic","-webkit-superellipse","-webkit-supports","-webkit-swash","-webkit-symbols","-webkit-tan","-webkit-target-counter","-webkit-target-counters","-webkit-target-text","-webkit-to","-webkit-translate","-webkit-translate3d","-webkit-translateX","-webkit-translateY","-webkit-translateZ","-webkit-translatex","-webkit-translatey","-webkit-translatez","-webkit-type","-webkit-url","-webkit-var","-webkit-view","-webkit-xywh","-moz-abs","-moz-acos","-moz-anchor","-moz-anchor-size","-moz-annotation","-moz-asin","-moz-atan","-moz-atan2","-moz-attr","-moz-blur","-moz-brightness","-moz-calc","-moz-calc-size","-moz-character-variant","-moz-circle","-moz-clamp","-moz-color","-moz-color-contrast","-moz-color-mix","-moz-color-stop","-moz-conic-gradient","-moz-content","-moz-contrast","-moz-contrast-color","-moz-cos","-moz-counter","-moz-counters","-moz-cross-fade","-moz-cubic-bezier","-moz-device-cmyk","-moz-drop-shadow","-moz-dynamic-range-limit-mix","-moz-element","-moz-ellipse","-moz-env","-moz-exp","-moz-filter","-moz-fit-content","-moz-format","-moz-from","-moz-gradient","-moz-grayscale","-moz-hsl","-moz-hsla","-moz-hue-rotate","-moz-hwb","-moz-hypot","-moz-if","-moz-image","-moz-image-rect","-moz-image-set","-moz-inset","-moz-invert","-moz-lab","-moz-layer","-moz-lch","-moz-leader","-moz-light-dark","-moz-linear","-moz-linear-gradient","-moz-local","-moz-log","-moz-matrix","-moz-matrix3d","-moz-max","-moz-media","-moz-min","-moz-minmax","-moz-mod","-moz-oklab","-moz-oklch","-moz-opacity","-moz-ornaments","-moz-paint","-moz-palette-mix","-moz-path","-moz-perspective","-moz-polygon","-moz-pow","-moz-progress","-moz-radial-gradient","-moz-random","-moz-ray","-moz-rect","-moz-rem","-moz-repeat","-moz-repeating-conic-gradient","-moz-repeating-linear-gradient","-moz-repeating-radial-gradient","-moz-reversed","-moz-rgb","-moz-rgba","-moz-rotate","-moz-rotate3d","-moz-rotateX","-moz-rotateY","-moz-rotateZ","-moz-rotatex","-moz-rotatey","-moz-rotatez","-moz-round","-moz-running","-moz-saturate","-moz-scale","-moz-scale3d","-moz-scaleX","-moz-scaleY","-moz-scaleZ","-moz-scalex","-moz-scaley","-moz-scalez","-moz-scroll","-moz-selector","-moz-sepia","-moz-shape","-moz-sibling-count","-moz-sibling-index","-moz-sign","-moz-sin","-moz-skew","-moz-skewX","-moz-skewY","-moz-skewx","-moz-skewy","-moz-sqrt","-moz-steps","-moz-string","-moz-style","-moz-styleset","-moz-stylistic","-moz-superellipse","-moz-supports","-moz-swash","-moz-symbols","-moz-tan","-moz-target-counter","-moz-target-counters","-moz-target-text","-moz-to","-moz-translate","-moz-translate3d","-moz-translateX","-moz-translateY","-moz-translateZ","-moz-translatex","-moz-translatey","-moz-translatez","-moz-type","-moz-url","-moz-var","-moz-view","-moz-xywh","-o-abs","-o-acos","-o-anchor","-o-anchor-size","-o-annotation","-o-asin","-o-atan","-o-atan2","-o-attr","-o-blur","-o-brightness","-o-calc","-o-calc-size","-o-character-variant","-o-circle","-o-clamp","-o-color","-o-color-contrast","-o-color-mix","-o-color-stop","-o-conic-gradient","-o-content","-o-contrast","-o-contrast-color","-o-cos","-o-counter","-o-counters","-o-cross-fade","-o-cubic-bezier","-o-device-cmyk","-o-drop-shadow","-o-dynamic-range-limit-mix","-o-element","-o-ellipse","-o-env","-o-exp","-o-filter","-o-fit-content","-o-format","-o-from","-o-gradient","-o-grayscale","-o-hsl","-o-hsla","-o-hue-rotate","-o-hwb","-o-hypot","-o-if","-o-image","-o-image-rect","-o-image-set","-o-inset","-o-invert","-o-lab","-o-layer","-o-lch","-o-leader","-o-light-dark","-o-linear","-o-linear-gradient","-o-local","-o-log","-o-matrix","-o-matrix3d","-o-max","-o-media","-o-min","-o-minmax","-o-mod","-o-oklab","-o-oklch","-o-opacity","-o-ornaments","-o-paint","-o-palette-mix","-o-path","-o-perspective","-o-polygon","-o-pow","-o-progress","-o-radial-gradient","-o-random","-o-ray","-o-rect","-o-rem","-o-repeat","-o-repeating-conic-gradient","-o-repeating-linear-gradient","-o-repeating-radial-gradient","-o-reversed","-o-rgb","-o-rgba","-o-rotate","-o-rotate3d","-o-rotateX","-o-rotateY","-o-rotateZ","-o-rotatex","-o-rotatey","-o-rotatez","-o-round","-o-running","-o-saturate","-o-scale","-o-scale3d","-o-scaleX","-o-scaleY","-o-scaleZ","-o-scalex","-o-scaley","-o-scalez","-o-scroll","-o-selector","-o-sepia","-o-shape","-o-sibling-count","-o-sibling-index","-o-sign","-o-sin","-o-skew","-o-skewX","-o-skewY","-o-skewx","-o-skewy","-o-sqrt","-o-steps","-o-string","-o-style","-o-styleset","-o-stylistic","-o-superellipse","-o-supports","-o-swash","-o-symbols","-o-tan","-o-target-counter","-o-target-counters","-o-target-text","-o-to","-o-translate","-o-translate3d","-o-translateX","-o-translateY","-o-translateZ","-o-translatex","-o-translatey","-o-translatez","-o-type","-o-url","-o-var","-o-view","-o-xywh","-ms-abs","-ms-acos","-ms-anchor","-ms-anchor-size","-ms-annotation","-ms-asin","-ms-atan","-ms-atan2","-ms-attr","-ms-blur","-ms-brightness","-ms-calc","-ms-calc-size","-ms-character-variant","-ms-circle","-ms-clamp","-ms-color","-ms-color-contrast","-ms-color-mix","-ms-color-stop","-ms-conic-gradient","-ms-content","-ms-contrast","-ms-contrast-color","-ms-cos","-ms-counter","-ms-counters","-ms-cross-fade","-ms-cubic-bezier","-ms-device-cmyk","-ms-drop-shadow","-ms-dynamic-range-limit-mix","-ms-element","-ms-ellipse","-ms-env","-ms-exp","-ms-filter","-ms-fit-content","-ms-format","-ms-from","-ms-gradient","-ms-grayscale","-ms-hsl","-ms-hsla","-ms-hue-rotate","-ms-hwb","-ms-hypot","-ms-if","-ms-image","-ms-image-rect","-ms-image-set","-ms-inset","-ms-invert","-ms-lab","-ms-layer","-ms-lch","-ms-leader","-ms-light-dark","-ms-linear","-ms-linear-gradient","-ms-local","-ms-log","-ms-matrix","-ms-matrix3d","-ms-max","-ms-media","-ms-min","-ms-minmax","-ms-mod","-ms-oklab","-ms-oklch","-ms-opacity","-ms-ornaments","-ms-paint","-ms-palette-mix","-ms-path","-ms-perspective","-ms-polygon","-ms-pow","-ms-progress","-ms-radial-gradient","-ms-random","-ms-ray","-ms-rect","-ms-rem","-ms-repeat","-ms-repeating-conic-gradient","-ms-repeating-linear-gradient","-ms-repeating-radial-gradient","-ms-reversed","-ms-rgb","-ms-rgba","-ms-rotate","-ms-rotate3d","-ms-rotateX","-ms-rotateY","-ms-rotateZ","-ms-rotatex","-ms-rotatey","-ms-rotatez","-ms-round","-ms-running","-ms-saturate","-ms-scale","-ms-scale3d","-ms-scaleX","-ms-scaleY","-ms-scaleZ","-ms-scalex","-ms-scaley","-ms-scalez","-ms-scroll","-ms-selector","-ms-sepia","-ms-shape","-ms-sibling-count","-ms-sibling-index","-ms-sign","-ms-sin","-ms-skew","-ms-skewX","-ms-skewY","-ms-skewx","-ms-skewy","-ms-sqrt","-ms-steps","-ms-string","-ms-style","-ms-styleset","-ms-stylistic","-ms-superellipse","-ms-supports","-ms-swash","-ms-symbols","-ms-tan","-ms-target-counter","-ms-target-counters","-ms-target-text","-ms-to","-ms-translate","-ms-translate3d","-ms-translateX","-ms-translateY","-ms-translateZ","-ms-translatex","-ms-translatey","-ms-translatez","-ms-type","-ms-url","-ms-var","-ms-view","-ms-xywh"]});function XU(e){return e.startsWith("--")}var JU=y(()=>{}),wM={};A(wM,{default:()=>kM});var ms,Ig,dC,hs,kM,ZU=y(()=>{Ct(),HU(),rt(),q(),J(),JU(),_e(),K(),I(),j(),D(),ms="function-no-unknown",Ig=O(ms,{rejected:e=>`Unknown function "${e}"`}),dC={url:"https://stylelint.io/user-guide/rules/function-no-unknown"},hs=(e,t)=>(r,n)=>{T(n,ms,{actual:e},{actual:t,possible:{ignoreFunctions:[$,_]},optional:!0})&&r.walkDecls(i=>{let{value:o}=i;o.includes("(")&&Be(o)&&Dn(uo(St({css:o})),({node:a})=>{if(!He(a))return;let s=a.getName();if(XU(s)||F(t,"ignoreFunctions",s)||yM.includes(s.toLowerCase()))return;let l=ne(i),u=l+a.name[2],c=l+a.name[3];P({message:Ig.rejected,messageArgs:[s],node:i,index:u,endIndex:c,result:n,ruleName:ms})})})},hs.ruleName=ms,hs.messages=Ig,hs.meta=dC,kM=hs});function Lh(e){return e.length===0?!0:IA(e)||TA(e)||NA(e)?!1:e.startsWith("'")&&e.endsWith("'")||e.startsWith('"')&&e.endsWith('"')?!CA(e):!(e.startsWith("@")&&xM.test(e)||e.includes("$")&&SM.test(e)&&!e.endsWith("/"))}var xM,SM,Fh=y(()=>{AA(),PA(),jA(),LA(),xM=/^@@?[\w-]+$/,SM=/^[$\s\w+\-,./*'"@#?]+$/}),CM={};A(CM,{default:()=>zM});var fs,Og,pC,jg,gs,zM,eV=y(()=>{V(),jd(),Fh(),I(),j(),D(),fs="function-url-no-scheme-relative",Og=O(fs,{rejected:"Disallowed scheme-relative url"}),pC={url:"https://stylelint.io/user-guide/rules/function-url-no-scheme-relative"},jg=(e,t,r)=>{Od(t.toLowerCase(),"url",(n,i)=>{let o=n.trim().replace(/^['"]+|['"]+$/g,"");!Lh(o)||!o.startsWith("//")||P({message:Og.rejected,messageArgs:[],node:e,index:i,endIndex:i+n.length,result:r,ruleName:fs})})},gs=e=>(t,r)=>{T(r,fs,{actual:e})&&(t.walkDecls(n=>{jg(n,n.toString(),r)}),t.walkAtRules(Se.importName,n=>{jg(n,n.toString(),r)}))},gs.ruleName=fs,gs.messages=Og,gs.meta=pC,zM=gs}),AM={};A(AM,{default:()=>NM});var bs,Tg,mC,vs,NM,tV=y(()=>{rt(),J(),jd(),lt(),We(),ct(),Fh(),V(),K(),I(),j(),D(),bs="function-url-quotes",Tg=O(bs,{expected:e=>`Expected quotes around "${e}" function argument`,rejected:e=>`Expected no quotes around "${e}" function argument`}),mC={url:"https://stylelint.io/user-guide/rules/function-url-quotes",fixable:!0},vs=(e,t)=>(r,n)=>{if(!T(n,bs,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["empty"]},optional:!0}))return;let i=F(t,"except","empty"),o=new Set(["","''",'""']);r.walkAtRules(u),r.walkDecls(l);function a(h,b,g,f){return()=>{switch(g){case"expected":c(b);break;case"rejected":d(b);break}switch(h.type){case"decl":h.value=f.toString();break;case"atrule":h.params=f.toString();break}}}function s(h,b,g){Od(b,/^url$/i,(f,x,w,k)=>{if(v(w))return;let S=m(f,g+x);if(S){let{messageType:E,...C}=S,L=Tg[E],N=[w.value.toLowerCase()],B=a(h,w,E,k);P({...C,node:h,fix:{apply:B,node:h},message:L,messageArgs:N,result:n,ruleName:bs})}})}function l(h){if(!Q.urlFunction.test(h.value)||!ut(h))return;let b=qe(h),g=ne(h);s(h,b,g)}function u(h){let b=st(h),g=je(h);s(h,b,g)}function c(h){for(let b of h.nodes)b.type==="word"&&(b.value=`"${b.value}"`)}function d(h){for(let b of h.nodes)b.type==="string"&&(b.type="word")}function p(h){var k;let b=h,g=(k=h[0])!=null?k:"",f=h.lastIndexOf(g);f>0&&(b=h.slice(1,f));let x=St({css:`url(${b})`});if(x.length!==2)return!0;let w=x[0];return!b7(w)}function m(h,b){let g=h.trimStart();if(!Lh(g))return;let f=e==="always";i&&o.has(h.trim())&&(f=!f);let x=g.startsWith("'")||g.startsWith('"');if(x&&p(g)||f&&x||!f&&!x)return;let w=f?"expected":"rejected",k=b+h.length-g.length,S=b+h.length;return{messageType:w,index:k,endIndex:S}}function v(h){return h.nodes.some(b=>b.type!=="string"&&b.type!=="space"&&b.type!=="word"||b.type==="word"&&/(?:^|[^\\])\s/.test(b.value))}},vs.ruleName=bs,vs.messages=Tg,vs.meta=mC,NM=vs});function EM(e){let t;try{t=new URL(e).protocol}catch{return null}if(typeof t>"u")return null;let r=t.slice(0,-1),n=t.length;return e.slice(n,n+2)!=="//"&&r!=="data"?null:r}var PM=y(()=>{}),IM={};A(IM,{default:()=>OM});var ys,Dg,hC,Xn,OM,rV=y(()=>{q(),jd(),PM(),Fh(),Le(),I(),j(),D(),ys="function-url-scheme-allowed-list",Dg=O(ys,{rejected:e=>`Disallowed URL scheme "${e}:"`}),hC={url:"https://stylelint.io/user-guide/rules/function-url-scheme-allowed-list"},Xn=e=>(t,r)=>{T(r,ys,{actual:e,possible:[$,_]})&&t.walkDecls(n=>{Od(n.toString().toLowerCase(),"url",(i,o)=>{let a=i.trim();if(!Lh(a))return;let s=a.replace(/^['"]+|['"]+$/g,""),l=EM(s);l!==null&&(Pe(l,e)||P({message:Dg.rejected,messageArgs:[l],node:n,index:o,endIndex:o+i.length,result:r,ruleName:ys}))})})},Xn.primaryOptionArray=!0,Xn.ruleName=ys,Xn.messages=Dg,Xn.meta=hC,OM=Xn}),jM={};A(jM,{default:()=>TM});var ws,Lg,fC,Jn,TM,nV=y(()=>{q(),jd(),PM(),Fh(),Le(),I(),j(),D(),ws="function-url-scheme-disallowed-list",Lg=O(ws,{rejected:e=>`Disallowed URL scheme "${e}:"`}),fC={url:"https://stylelint.io/user-guide/rules/function-url-scheme-disallowed-list"},Jn=e=>(t,r)=>{T(r,ws,{actual:e,possible:[$,_]})&&t.walkDecls(n=>{Od(n.toString().toLowerCase(),"url",(i,o)=>{let a=i.trim();if(!Lh(a))return;let s=a.replace(/^['"]+|['"]+$/g,""),l=EM(s);l!==null&&Pe(l,e)&&P({message:Lg.rejected,messageArgs:[l],node:n,index:o,endIndex:o+i.length,result:r,ruleName:ws})})})},Jn.primaryOptionArray=!0,Jn.ruleName=ws,Jn.messages=Lg,Jn.meta=fC,TM=Jn}),DM={};A(DM,{default:()=>LM});function iV(e){var i;let t=e.nodes.filter(({type:o})=>o==="word"||o==="function"),r=e.value.toLowerCase(),n=((i=t[0])==null?void 0:i.value.toLowerCase())==="from"?2:0;if(Lv.has(r))return t[0+n];if(Fv.has(r))return t[2+n]}var Fg,ks,Mg,gC,xs,LM,oV=y(()=>{Fg=X(ue(),1),Ir(),J(),We(),_e(),V(),I(),j(),gt(),D(),ks="hue-degree-notation",Mg=O(ks,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),gC={url:"https://stylelint.io/user-guide/rules/hue-degree-notation",fixable:!0},xs=e=>(t,r)=>{T(r,ks,{actual:e,possible:["angle","number"]})&&t.walkDecls(n=>{if(!Q.hueColorFunction.test(n.value))return;let i=(0,Fg.default)(qe(n));i.walk(o=>{if(o.type!=="function")return;let a=o.value.toLowerCase();if(!Ow.has(a))return;let s=iV(o);if(!s)return;let{value:l}=s;if(!Be(l))return;let u=Fg.default.unit(l);if(!u)return;let c=u.unit.toLowerCase()==="deg",d=u.unit==="";if(!c&&!d||e==="angle"&&c||e==="number"&&d)return;let p=e==="angle"?`${u.number}deg`:u.number,m=l,v=ne(n),h=()=>{s.value=p,ft(n,i.toString())};P({message:Mg.expected,messageArgs:[m,p],node:n,index:v+s.sourceIndex,endIndex:v+s.sourceEndIndex,result:r,ruleName:ks,fix:{apply:h,node:n}})})})},xs.ruleName=ks,xs.messages=Mg,xs.meta=gC,LM=xs});function FM(e,t){let r=e.raws;return r.params?r.params.raw=t:e.params=t,e}var MM=y(()=>{}),RM={};A(RM,{default:()=>$M});var Ss,Cs,Lp,bC,Rg,zs,$M,aV=y(()=>{Ss=X(ue(),1),J(),V(),lt(),I(),j(),MM(),D(),Cs="import-notation",Lp=O(Cs,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),bC={url:"https://stylelint.io/user-guide/rules/import-notation",fixable:!0},Rg=(e,t,r)=>()=>{let n=e.params.slice(r);FM(e,`${t}${n}`)},zs=e=>(t,r)=>{if(!T(r,Cs,{actual:e,possible:["string","url"]}))return;t.walkAtRules(Se.importName,n);function n(i){var l;let o=st(i);if(e==="string"&&!/url\(/i.test(o)||e==="url"&&/url\(/i.test(o))return;let a=je(i),s=(0,Ss.default)(o);for(let u of s.nodes){let{sourceEndIndex:c,type:d,value:p}=u,m=a+c,v={node:i,index:a,endIndex:m,result:r,ruleName:Cs};if(e==="string"){if(d!=="function"||p.toLowerCase()!=="url")continue;let h=Ss.default.stringify(u),b=Ss.default.stringify(u.nodes),g=((l=u.nodes[0])==null?void 0:l.type)==="word"?`"${b}"`:b,f=Rg(i,g,c),x=Lp.expected;P({...v,message:x,messageArgs:[h,g],fix:{apply:f,node:v.node}});return}if(e==="url"){if(d==="space")return;if(d!=="word"&&d!=="string")continue;let h=`url(${Ss.default.stringify(u)})`,b=d==="word"?`"${p}"`:`${u.quote}${p}${u.quote}`,g=Rg(i,h,c),f=Lp.expected;P({...v,message:f,messageArgs:[b,h],fix:{apply:g,node:v.node}});return}}}},zs.ruleName=Cs,zs.messages=Lp,zs.meta=bC,$M=zs}),BM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=i;function r(o){for(var a=o.toLowerCase(),s="",l=!1,u=0;u<6&&a[u]!==void 0;u++){var c=a.charCodeAt(u),d=c>=97&&c<=102||c>=48&&c<=57;if(l=c===32,!d)break;s+=a[u]}if(s.length!==0){var p=parseInt(s,16),m=p>=55296&&p<=57343;return m||p===0||p>1114111?["�",s.length+(l?1:0)]:[String.fromCodePoint(p),s.length+(l?1:0)]}}var n=/\\/;function i(o){var a=n.test(o);if(!a)return o;for(var s="",l=0;l<o.length;l++){if(o[l]==="\\"){var u=r(o.slice(l+1,l+7));if(u!==void 0){s+=u[0],l+=u[1];continue}if(o[l+1]==="\\"){s+="\\",l++;continue}o.length===l+1&&(s+=o[l]);continue}s+=o[l]}return s}t.exports=e.default}),sV=G((e,t)=>{"use strict";e.__esModule=!0,e.default=r;function r(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];for(;o.length>0;){var s=o.shift();if(!n[s])return;n=n[s]}return n}t.exports=e.default}),lV=G((e,t)=>{"use strict";e.__esModule=!0,e.default=r;function r(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];for(;o.length>0;){var s=o.shift();n[s]||(n[s]={}),n=n[s]}}t.exports=e.default}),uV=G((e,t)=>{var r=()=>{};t.exports=r,t.exports.default=r}),Mh=G(e=>{"use strict";e.__esModule=!0,e.unesc=e.stripComments=e.getProp=e.ensureObject=void 0;var t=o(BM());e.unesc=t.default;var r=o(sV());e.getProp=r.default;var n=o(lV());e.ensureObject=n.default;var i=o(uV());e.stripComments=i.default;function o(a){return a&&a.__esModule?a:{default:a}}}),nn=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=Mh();function n(s,l){for(var u=0;u<l.length;u++){var c=l[u];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(s,c.key,c)}}function i(s,l,u){return l&&n(s.prototype,l),u&&n(s,u),Object.defineProperty(s,"prototype",{writable:!1}),s}var o=function s(l,u){if(typeof l!="object"||l===null)return l;var c=new l.constructor;for(var d in l)if(l.hasOwnProperty(d)){var p=l[d],m=typeof p;d==="parent"&&m==="object"?u&&(c[d]=u):p instanceof Array?c[d]=p.map(function(v){return s(v,c)}):c[d]=s(p,c)}return c},a=(function(){function s(u){u===void 0&&(u={}),Object.assign(this,u),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var l=s.prototype;return l.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},l.replaceWith=function(){if(this.parent){for(var u in arguments)this.parent.insertBefore(this,arguments[u]);this.remove()}return this},l.next=function(){return this.parent.at(this.parent.index(this)+1)},l.prev=function(){return this.parent.at(this.parent.index(this)-1)},l.clone=function(u){u===void 0&&(u={});var c=o(this);for(var d in u)c[d]=u[d];return c},l.appendToPropertyAndEscape=function(u,c,d){this.raws||(this.raws={});var p=this[u],m=this.raws[u];this[u]=p+c,m||d!==c?this.raws[u]=(m||p)+d:delete this.raws[u]},l.setPropertyAndEscape=function(u,c,d){this.raws||(this.raws={}),this[u]=c,this.raws[u]=d},l.setPropertyWithoutEscape=function(u,c){this[u]=c,this.raws&&delete this.raws[u]},l.isAtPosition=function(u,c){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>u||this.source.end.line<u||this.source.start.line===u&&this.source.start.column>c||this.source.end.line===u&&this.source.end.column<c)},l.stringifyProperty=function(u){return this.raws&&this.raws[u]||this[u]},l.valueToString=function(){return String(this.stringifyProperty("value"))},l.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},i(s,[{key:"rawSpaceBefore",get:function(){var u=this.raws&&this.raws.spaces&&this.raws.spaces.before;return u===void 0&&(u=this.spaces&&this.spaces.before),u||""},set:function(u){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=u}},{key:"rawSpaceAfter",get:function(){var u=this.raws&&this.raws.spaces&&this.raws.spaces.after;return u===void 0&&(u=this.spaces.after),u||""},set:function(u){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=u}}]),s})();e.default=a,t.exports=e.default}),wt=G(e=>{"use strict";e.__esModule=!0,e.UNIVERSAL=e.TAG=e.STRING=e.SELECTOR=e.ROOT=e.PSEUDO=e.NESTING=e.ID=e.COMMENT=e.COMBINATOR=e.CLASS=e.ATTRIBUTE=void 0;var t="tag";e.TAG=t;var r="string";e.STRING=r;var n="selector";e.SELECTOR=n;var i="root";e.ROOT=i;var o="pseudo";e.PSEUDO=o;var a="nesting";e.NESTING=a;var s="id";e.ID=s;var l="comment";e.COMMENT=l;var u="combinator";e.COMBINATOR=u;var c="class";e.CLASS=c;var d="attribute";e.ATTRIBUTE=d;var p="universal";e.UNIVERSAL=p}),Mk=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=a(nn()),n=o(wt());function i(h){if(typeof WeakMap!="function")return null;var b=new WeakMap,g=new WeakMap;return(i=function(f){return f?g:b})(h)}function o(h,b){if(!b&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var g=i(b);if(g&&g.has(h))return g.get(h);var f={},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in h)if(w!=="default"&&Object.prototype.hasOwnProperty.call(h,w)){var k=x?Object.getOwnPropertyDescriptor(h,w):null;k&&(k.get||k.set)?Object.defineProperty(f,w,k):f[w]=h[w]}return f.default=h,g&&g.set(h,f),f}function a(h){return h&&h.__esModule?h:{default:h}}function s(h,b){var g=typeof Symbol<"u"&&h[Symbol.iterator]||h["@@iterator"];if(g)return(g=g.call(h)).next.bind(g);if(Array.isArray(h)||(g=l(h))||b&&h&&typeof h.length=="number"){g&&(h=g);var f=0;return function(){return f>=h.length?{done:!0}:{done:!1,value:h[f++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
35
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l(h,b){if(h){if(typeof h=="string")return u(h,b);var g=Object.prototype.toString.call(h).slice(8,-1);if(g==="Object"&&h.constructor&&(g=h.constructor.name),g==="Map"||g==="Set")return Array.from(h);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return u(h,b)}}function u(h,b){(b==null||b>h.length)&&(b=h.length);for(var g=0,f=new Array(b);g<b;g++)f[g]=h[g];return f}function c(h,b){for(var g=0;g<b.length;g++){var f=b[g];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(h,f.key,f)}}function d(h,b,g){return b&&c(h.prototype,b),g&&c(h,g),Object.defineProperty(h,"prototype",{writable:!1}),h}function p(h,b){h.prototype=Object.create(b.prototype),h.prototype.constructor=h,m(h,b)}function m(h,b){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(g,f){return g.__proto__=f,g},m(h,b)}var v=(function(h){p(b,h);function b(f){var x;return x=h.call(this,f)||this,x.nodes||(x.nodes=[]),x}var g=b.prototype;return g.append=function(f){return f.parent=this,this.nodes.push(f),this},g.prepend=function(f){f.parent=this,this.nodes.unshift(f);for(var x in this.indexes)this.indexes[x]++;return this},g.at=function(f){return this.nodes[f]},g.index=function(f){return typeof f=="number"?f:this.nodes.indexOf(f)},g.removeChild=function(f){f=this.index(f),this.at(f).parent=void 0,this.nodes.splice(f,1);var x;for(var w in this.indexes)x=this.indexes[w],x>=f&&(this.indexes[w]=x-1);return this},g.removeAll=function(){for(var f=s(this.nodes),x;!(x=f()).done;){var w=x.value;w.parent=void 0}return this.nodes=[],this},g.empty=function(){return this.removeAll()},g.insertAfter=function(f,x){var w;x.parent=this;for(var k=this.index(f),S=[],E=2;E<arguments.length;E++)S.push(arguments[E]);(w=this.nodes).splice.apply(w,[k+1,0,x].concat(S)),x.parent=this;var C;for(var L in this.indexes)C=this.indexes[L],k<C&&(this.indexes[L]=C+arguments.length-1);return this},g.insertBefore=function(f,x){var w;x.parent=this;for(var k=this.index(f),S=[],E=2;E<arguments.length;E++)S.push(arguments[E]);(w=this.nodes).splice.apply(w,[k,0,x].concat(S)),x.parent=this;var C;for(var L in this.indexes)C=this.indexes[L],C>=k&&(this.indexes[L]=C+arguments.length-1);return this},g._findChildAtPosition=function(f,x){var w=void 0;return this.each(function(k){if(k.atPosition){var S=k.atPosition(f,x);if(S)return w=S,!1}else if(k.isAtPosition(f,x))return w=k,!1}),w},g.atPosition=function(f,x){if(this.isAtPosition(f,x))return this._findChildAtPosition(f,x)||this},g._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},g.each=function(f){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var x=this.lastEach;if(this.indexes[x]=0,!!this.length){for(var w,k;this.indexes[x]<this.length&&(w=this.indexes[x],k=f(this.at(w),w),k!==!1);)this.indexes[x]+=1;if(delete this.indexes[x],k===!1)return!1}},g.walk=function(f){return this.each(function(x,w){var k=f(x,w);if(k!==!1&&x.length&&(k=x.walk(f)),k===!1)return!1})},g.walkAttributes=function(f){var x=this;return this.walk(function(w){if(w.type===n.ATTRIBUTE)return f.call(x,w)})},g.walkClasses=function(f){var x=this;return this.walk(function(w){if(w.type===n.CLASS)return f.call(x,w)})},g.walkCombinators=function(f){var x=this;return this.walk(function(w){if(w.type===n.COMBINATOR)return f.call(x,w)})},g.walkComments=function(f){var x=this;return this.walk(function(w){if(w.type===n.COMMENT)return f.call(x,w)})},g.walkIds=function(f){var x=this;return this.walk(function(w){if(w.type===n.ID)return f.call(x,w)})},g.walkNesting=function(f){var x=this;return this.walk(function(w){if(w.type===n.NESTING)return f.call(x,w)})},g.walkPseudos=function(f){var x=this;return this.walk(function(w){if(w.type===n.PSEUDO)return f.call(x,w)})},g.walkTags=function(f){var x=this;return this.walk(function(w){if(w.type===n.TAG)return f.call(x,w)})},g.walkUniversals=function(f){var x=this;return this.walk(function(w){if(w.type===n.UNIVERSAL)return f.call(x,w)})},g.split=function(f){var x=this,w=[];return this.reduce(function(k,S,E){var C=f.call(x,S);return w.push(S),C?(k.push(w),w=[]):E===x.length-1&&k.push(w),k},[])},g.map=function(f){return this.nodes.map(f)},g.reduce=function(f,x){return this.nodes.reduce(f,x)},g.every=function(f){return this.nodes.every(f)},g.some=function(f){return this.nodes.some(f)},g.filter=function(f){return this.nodes.filter(f)},g.sort=function(f){return this.nodes.sort(f)},g.toString=function(){return this.map(String).join("")},d(b,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),b})(r.default);e.default=v,t.exports=e.default}),qM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(Mk()),n=wt();function i(c){return c&&c.__esModule?c:{default:c}}function o(c,d){for(var p=0;p<d.length;p++){var m=d[p];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(c,m.key,m)}}function a(c,d,p){return d&&o(c.prototype,d),p&&o(c,p),Object.defineProperty(c,"prototype",{writable:!1}),c}function s(c,d){c.prototype=Object.create(d.prototype),c.prototype.constructor=c,l(c,d)}function l(c,d){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,m){return p.__proto__=m,p},l(c,d)}var u=(function(c){s(d,c);function d(m){var v;return v=c.call(this,m)||this,v.type=n.ROOT,v}var p=d.prototype;return p.toString=function(){var m=this.reduce(function(v,h){return v.push(String(h)),v},[]).join(",");return this.trailingComma?m+",":m},p.error=function(m,v){return this._error?this._error(m,v):new Error(m)},a(d,[{key:"errorGenerator",set:function(m){this._error=m}}]),d})(r.default);e.default=u,t.exports=e.default}),WM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(Mk()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.SELECTOR,d}return u})(r.default);e.default=s,t.exports=e.default}),Rk=G((e,t)=>{"use strict";var r={},n=r.hasOwnProperty,i=function(u,c){if(!u)return c;var d={};for(var p in c)d[p]=n.call(u,p)?u[p]:c[p];return d},o=/[ -,\.\/:-@\[-\^`\{-~]/,a=/[ -,\.\/:-@\[\]\^`\{-~]/,s=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,l=function u(c,d){d=i(d,u.options),d.quotes!="single"&&d.quotes!="double"&&(d.quotes="single");for(var p=d.quotes=="double"?'"':"'",m=d.isIdentifier,v=c.charAt(0),h="",b=0,g=c.length;b<g;){var f=c.charAt(b++),x=f.charCodeAt(),w=void 0;if(x<32||x>126){if(x>=55296&&x<=56319&&b<g){var k=c.charCodeAt(b++);(k&64512)==56320?x=((x&1023)<<10)+(k&1023)+65536:b--}w="\\"+x.toString(16).toUpperCase()+" "}else d.escapeEverything?o.test(f)?w="\\"+f:w="\\"+x.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(f)?w="\\"+x.toString(16).toUpperCase()+" ":f=="\\"||!m&&(f=='"'&&p==f||f=="'"&&p==f)||m&&a.test(f)?w="\\"+f:w=f;h+=w}return m&&(/^-[-\d]/.test(h)?h="\\-"+h.slice(1):/\d/.test(v)&&(h="\\3"+v+" "+h.slice(1))),h=h.replace(s,function(S,E,C){return E&&E.length%2?S:(E||"")+C}),!m&&d.wrap?p+h+p:h};l.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},l.version="3.0.0",t.exports=l}),_M=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=a(Rk()),n=Mh(),i=a(nn()),o=wt();function a(p){return p&&p.__esModule?p:{default:p}}function s(p,m){for(var v=0;v<m.length;v++){var h=m[v];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(p,h.key,h)}}function l(p,m,v){return m&&s(p.prototype,m),v&&s(p,v),Object.defineProperty(p,"prototype",{writable:!1}),p}function u(p,m){p.prototype=Object.create(m.prototype),p.prototype.constructor=p,c(p,m)}function c(p,m){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(v,h){return v.__proto__=h,v},c(p,m)}var d=(function(p){u(m,p);function m(h){var b;return b=p.call(this,h)||this,b.type=o.CLASS,b._constructed=!0,b}var v=m.prototype;return v.valueToString=function(){return"."+p.prototype.valueToString.call(this)},l(m,[{key:"value",get:function(){return this._value},set:function(h){if(this._constructed){var b=(0,r.default)(h,{isIdentifier:!0});b!==h?((0,n.ensureObject)(this,"raws"),this.raws.value=b):this.raws&&delete this.raws.value}this._value=h}}]),m})(i.default);e.default=d,t.exports=e.default}),UM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.COMMENT,d}return u})(r.default);e.default=s,t.exports=e.default}),VM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(d){var p;return p=l.call(this,d)||this,p.type=n.ID,p}var c=u.prototype;return c.valueToString=function(){return"#"+l.prototype.valueToString.call(this)},u})(r.default);e.default=s,t.exports=e.default}),$k=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=o(Rk()),n=Mh(),i=o(nn());function o(d){return d&&d.__esModule?d:{default:d}}function a(d,p){for(var m=0;m<p.length;m++){var v=p[m];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(d,v.key,v)}}function s(d,p,m){return p&&a(d.prototype,p),m&&a(d,m),Object.defineProperty(d,"prototype",{writable:!1}),d}function l(d,p){d.prototype=Object.create(p.prototype),d.prototype.constructor=d,u(d,p)}function u(d,p){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,v){return m.__proto__=v,m},u(d,p)}var c=(function(d){l(p,d);function p(){return d.apply(this,arguments)||this}var m=p.prototype;return m.qualifiedName=function(v){return this.namespace?this.namespaceString+"|"+v:v},m.valueToString=function(){return this.qualifiedName(d.prototype.valueToString.call(this))},s(p,[{key:"namespace",get:function(){return this._namespace},set:function(v){if(v===!0||v==="*"||v==="&"){this._namespace=v,this.raws&&delete this.raws.namespace;return}var h=(0,r.default)(v,{isIdentifier:!0});this._namespace=v,h!==v?((0,n.ensureObject)(this,"raws"),this.raws.namespace=h):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(v){this.namespace=v}},{key:"namespaceString",get:function(){if(this.namespace){var v=this.stringifyProperty("namespace");return v===!0?"":v}else return""}}]),p})(i.default);e.default=c,t.exports=e.default}),QM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i($k()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.TAG,d}return u})(r.default);e.default=s,t.exports=e.default}),YM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.STRING,d}return u})(r.default);e.default=s,t.exports=e.default}),GM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(Mk()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(d){var p;return p=l.call(this,d)||this,p.type=n.PSEUDO,p}var c=u.prototype;return c.toString=function(){var d=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),d,this.rawSpaceAfter].join("")},u})(r.default);e.default=s,t.exports=e.default}),cV=G((e,t)=>{"use strict";t.exports=()=>()=>{}}),KM=G(e=>{"use strict";e.__esModule=!0,e.default=void 0,e.unescapeValue=b;var t=a(Rk()),r=a(BM()),n=a($k()),i=wt(),o;function a(k){return k&&k.__esModule?k:{default:k}}function s(k,S){for(var E=0;E<S.length;E++){var C=S[E];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(k,C.key,C)}}function l(k,S,E){return S&&s(k.prototype,S),E&&s(k,E),Object.defineProperty(k,"prototype",{writable:!1}),k}function u(k,S){k.prototype=Object.create(S.prototype),k.prototype.constructor=k,c(k,S)}function c(k,S){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(E,C){return E.__proto__=C,E},c(k,S)}var d=cV(),p=/^('|")([^]*)\1$/,m=d(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),v=d(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),h=d(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function b(k){var S=!1,E=null,C=k,L=C.match(p);return L&&(E=L[1],C=L[2]),C=(0,r.default)(C),C!==k&&(S=!0),{deprecatedUsage:S,unescaped:C,quoteMark:E}}function g(k){if(k.quoteMark!==void 0||k.value===void 0)return k;h();var S=b(k.value),E=S.quoteMark,C=S.unescaped;return k.raws||(k.raws={}),k.raws.value===void 0&&(k.raws.value=k.value),k.value=C,k.quoteMark=E,k}var f=(function(k){u(S,k);function S(C){var L;return C===void 0&&(C={}),L=k.call(this,g(C))||this,L.type=i.ATTRIBUTE,L.raws=L.raws||{},Object.defineProperty(L.raws,"unquoted",{get:d(function(){return L.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:d(function(){return L.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),L._constructed=!0,L}var E=S.prototype;return E._syncRawValue=function(){var C=(0,t.default)(this._value,x[this.quoteMark]);C===this._value?this.raws&&delete this.raws.value:this.raws.value=C},E._handleEscapes=function(C,L){if(this._constructed){var N=(0,t.default)(L,{isIdentifier:!0});N!==L?this.raws[C]=N:delete this.raws[C]}},E._spacesFor=function(C){var L={before:"",after:""},N=this.spaces[C]||{},B=this.raws.spaces&&this.raws.spaces[C]||{};return Object.assign(L,N,B)},E._stringFor=function(C,L,N){L===void 0&&(L=C),N===void 0&&(N=w);var B=this._spacesFor(L);return N(this.stringifyProperty(C),B)},E.offsetOf=function(C){var L=1,N=this._spacesFor("attribute");if(L+=N.before.length,C==="namespace"||C==="ns")return this.namespace?L:-1;if(C==="attributeNS"||(L+=this.namespaceString.length,this.namespace&&(L+=1),C==="attribute"))return L;L+=this.stringifyProperty("attribute").length,L+=N.after.length;var B=this._spacesFor("operator");L+=B.before.length;var ie=this.stringifyProperty("operator");if(C==="operator")return ie?L:-1;L+=ie.length,L+=B.after.length;var te=this._spacesFor("value");L+=te.before.length;var he=this.stringifyProperty("value");if(C==="value")return he?L:-1;L+=he.length,L+=te.after.length;var fe=this._spacesFor("insensitive");return L+=fe.before.length,C==="insensitive"&&this.insensitive?L:-1},E.toString=function(){var C=this,L=[this.rawSpaceBefore,"["];return L.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(L.push(this._stringFor("operator")),L.push(this._stringFor("value")),L.push(this._stringFor("insensitiveFlag","insensitive",function(N,B){return N.length>0&&!C.quoted&&B.before.length===0&&!(C.spaces.value&&C.spaces.value.after)&&(B.before=" "),w(N,B)}))),L.push("]"),L.push(this.rawSpaceAfter),L.join("")},l(S,[{key:"quoted",get:function(){var C=this.quoteMark;return C==="'"||C==='"'},set:function(C){v()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(C){if(!this._constructed){this._quoteMark=C;return}this._quoteMark!==C&&(this._quoteMark=C,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(C){if(this._constructed){var L=b(C),N=L.deprecatedUsage,B=L.unescaped,ie=L.quoteMark;if(N&&m(),B===this._value&&ie===this._quoteMark)return;this._value=B,this._quoteMark=ie,this._syncRawValue()}else this._value=C}},{key:"insensitive",get:function(){return this._insensitive},set:function(C){C||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag==="I"||this.raws.insensitiveFlag==="i")&&(this.raws.insensitiveFlag=void 0)),this._insensitive=C}},{key:"attribute",get:function(){return this._attribute},set:function(C){this._handleEscapes("attribute",C),this._attribute=C}}]),S})(n.default);e.default=f,f.NO_QUOTE=null,f.SINGLE_QUOTE="'",f.DOUBLE_QUOTE='"';var x=(o={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},o[null]={isIdentifier:!0},o);function w(k,S){return""+S.before+k+S.after}}),HM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i($k()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.UNIVERSAL,d.value="*",d}return u})(r.default);e.default=s,t.exports=e.default}),XM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.COMBINATOR,d}return u})(r.default);e.default=s,t.exports=e.default}),JM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.NESTING,d.value="&",d}return u})(r.default);e.default=s,t.exports=e.default}),dV=G((e,t)=>{"use strict";e.__esModule=!0,e.default=r;function r(n){return n.sort(function(i,o){return i-o})}t.exports=e.default}),ZM=G(e=>{"use strict";e.__esModule=!0,e.word=e.tilde=e.tab=e.str=e.space=e.slash=e.singleQuote=e.semicolon=e.plus=e.pipe=e.openSquare=e.openParenthesis=e.newline=e.greaterThan=e.feed=e.equals=e.doubleQuote=e.dollar=e.cr=e.comment=e.comma=e.combinator=e.colon=e.closeSquare=e.closeParenthesis=e.caret=e.bang=e.backslash=e.at=e.asterisk=e.ampersand=void 0;var t=38;e.ampersand=t;var r=42;e.asterisk=r;var n=64;e.at=n;var i=44;e.comma=i;var o=58;e.colon=o;var a=59;e.semicolon=a;var s=40;e.openParenthesis=s;var l=41;e.closeParenthesis=l;var u=91;e.openSquare=u;var c=93;e.closeSquare=c;var d=36;e.dollar=d;var p=126;e.tilde=p;var m=94;e.caret=m;var v=43;e.plus=v;var h=61;e.equals=h;var b=124;e.pipe=b;var g=62;e.greaterThan=g;var f=32;e.space=f;var x=39;e.singleQuote=x;var w=34;e.doubleQuote=w;var k=47;e.slash=k;var S=33;e.bang=S;var E=92;e.backslash=E;var C=13;e.cr=C;var L=12;e.feed=L;var N=10;e.newline=N;var B=9;e.tab=B;var ie=x;e.str=ie;var te=-1;e.comment=te;var he=-2;e.word=he;var fe=-3;e.combinator=fe}),pV=G(e=>{"use strict";e.__esModule=!0,e.FIELDS=void 0,e.default=v;var t=o(ZM()),r,n;function i(h){if(typeof WeakMap!="function")return null;var b=new WeakMap,g=new WeakMap;return(i=function(f){return f?g:b})(h)}function o(h,b){if(!b&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var g=i(b);if(g&&g.has(h))return g.get(h);var f={},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in h)if(w!=="default"&&Object.prototype.hasOwnProperty.call(h,w)){var k=x?Object.getOwnPropertyDescriptor(h,w):null;k&&(k.get||k.set)?Object.defineProperty(f,w,k):f[w]=h[w]}return f.default=h,g&&g.set(h,f),f}var a=(r={},r[t.tab]=!0,r[t.newline]=!0,r[t.cr]=!0,r[t.feed]=!0,r),s=(n={},n[t.space]=!0,n[t.tab]=!0,n[t.newline]=!0,n[t.cr]=!0,n[t.feed]=!0,n[t.ampersand]=!0,n[t.asterisk]=!0,n[t.bang]=!0,n[t.comma]=!0,n[t.colon]=!0,n[t.semicolon]=!0,n[t.openParenthesis]=!0,n[t.closeParenthesis]=!0,n[t.openSquare]=!0,n[t.closeSquare]=!0,n[t.singleQuote]=!0,n[t.doubleQuote]=!0,n[t.plus]=!0,n[t.pipe]=!0,n[t.tilde]=!0,n[t.greaterThan]=!0,n[t.equals]=!0,n[t.dollar]=!0,n[t.caret]=!0,n[t.slash]=!0,n),l={},u="0123456789abcdefABCDEF";for(c=0;c<u.length;c++)l[u.charCodeAt(c)]=!0;var c;function d(h,b){var g=b,f;do{if(f=h.charCodeAt(g),s[f])return g-1;f===t.backslash?g=p(h,g)+1:g++}while(g<h.length);return g-1}function p(h,b){var g=b,f=h.charCodeAt(g+1);if(!a[f])if(l[f]){var x=0;do g++,x++,f=h.charCodeAt(g+1);while(l[f]&&x<6);x<6&&f===t.space&&g++}else g++;return g}var m={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};e.FIELDS=m;function v(h){var b=[],g=h.css.valueOf(),f=g,x=f.length,w=-1,k=1,S=0,E=0,C,L,N,B,ie,te,he,fe,oe,Fe,Ue,At,Ve;function Y(H,R){if(h.safe)g+=R,oe=g.length-1;else throw h.error("Unclosed "+H,k,S-w,S)}for(;S<x;){switch(C=g.charCodeAt(S),C===t.newline&&(w=S,k+=1),C){case t.space:case t.tab:case t.newline:case t.cr:case t.feed:oe=S;do oe+=1,C=g.charCodeAt(oe),C===t.newline&&(w=oe,k+=1);while(C===t.space||C===t.newline||C===t.tab||C===t.cr||C===t.feed);Ve=t.space,B=k,N=oe-w-1,E=oe;break;case t.plus:case t.greaterThan:case t.tilde:case t.pipe:oe=S;do oe+=1,C=g.charCodeAt(oe);while(C===t.plus||C===t.greaterThan||C===t.tilde||C===t.pipe);Ve=t.combinator,B=k,N=S-w,E=oe;break;case t.asterisk:case t.ampersand:case t.bang:case t.comma:case t.equals:case t.dollar:case t.caret:case t.openSquare:case t.closeSquare:case t.colon:case t.semicolon:case t.openParenthesis:case t.closeParenthesis:oe=S,Ve=C,B=k,N=S-w,E=oe+1;break;case t.singleQuote:case t.doubleQuote:At=C===t.singleQuote?"'":'"',oe=S;do for(ie=!1,oe=g.indexOf(At,oe+1),oe===-1&&Y("quote",At),te=oe;g.charCodeAt(te-1)===t.backslash;)te-=1,ie=!ie;while(ie);Ve=t.str,B=k,N=S-w,E=oe+1;break;default:C===t.slash&&g.charCodeAt(S+1)===t.asterisk?(oe=g.indexOf("*/",S+2)+1,oe===0&&Y("comment","*/"),L=g.slice(S,oe+1),fe=L.split(`
36
- `),he=fe.length-1,he>0?(Fe=k+he,Ue=oe-fe[he].length):(Fe=k,Ue=w),Ve=t.comment,k=Fe,B=Fe,N=oe-Ue):C===t.slash?(oe=S,Ve=C,B=k,N=S-w,E=oe+1):(oe=d(g,S),Ve=t.word,B=k,N=oe-w),E=oe+1;break}b.push([Ve,k,S-w,B,N,S,E]),Ue&&(w=Ue,Ue=null),S=E}return b}}),mV=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=E(qM()),n=E(WM()),i=E(_M()),o=E(UM()),a=E(VM()),s=E(QM()),l=E(YM()),u=E(GM()),c=S(KM()),d=E(HM()),p=E(XM()),m=E(JM()),v=E(dV()),h=S(pV()),b=S(ZM()),g=S(wt()),f=Mh(),x,w;function k(Y){if(typeof WeakMap!="function")return null;var H=new WeakMap,R=new WeakMap;return(k=function(W){return W?R:H})(Y)}function S(Y,H){if(!H&&Y&&Y.__esModule)return Y;if(Y===null||typeof Y!="object"&&typeof Y!="function")return{default:Y};var R=k(H);if(R&&R.has(Y))return R.get(Y);var W={},Z=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var M in Y)if(M!=="default"&&Object.prototype.hasOwnProperty.call(Y,M)){var ee=Z?Object.getOwnPropertyDescriptor(Y,M):null;ee&&(ee.get||ee.set)?Object.defineProperty(W,M,ee):W[M]=Y[M]}return W.default=Y,R&&R.set(Y,W),W}function E(Y){return Y&&Y.__esModule?Y:{default:Y}}function C(Y,H){for(var R=0;R<H.length;R++){var W=H[R];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(Y,W.key,W)}}function L(Y,H,R){return H&&C(Y.prototype,H),R&&C(Y,R),Object.defineProperty(Y,"prototype",{writable:!1}),Y}var N=(x={},x[b.space]=!0,x[b.cr]=!0,x[b.feed]=!0,x[b.newline]=!0,x[b.tab]=!0,x),B=Object.assign({},N,(w={},w[b.comment]=!0,w));function ie(Y){return{line:Y[h.FIELDS.START_LINE],column:Y[h.FIELDS.START_COL]}}function te(Y){return{line:Y[h.FIELDS.END_LINE],column:Y[h.FIELDS.END_COL]}}function he(Y,H,R,W){return{start:{line:Y,column:H},end:{line:R,column:W}}}function fe(Y){return he(Y[h.FIELDS.START_LINE],Y[h.FIELDS.START_COL],Y[h.FIELDS.END_LINE],Y[h.FIELDS.END_COL])}function oe(Y,H){if(Y)return he(Y[h.FIELDS.START_LINE],Y[h.FIELDS.START_COL],H[h.FIELDS.END_LINE],H[h.FIELDS.END_COL])}function Fe(Y,H){var R=Y[H];if(typeof R=="string")return R.indexOf("\\")!==-1&&((0,f.ensureObject)(Y,"raws"),Y[H]=(0,f.unesc)(R),Y.raws[H]===void 0&&(Y.raws[H]=R)),Y}function Ue(Y,H){for(var R=-1,W=[];(R=Y.indexOf(H,R+1))!==-1;)W.push(R);return W}function At(){var Y=Array.prototype.concat.apply([],arguments);return Y.filter(function(H,R){return R===Y.indexOf(H)})}var Ve=(function(){function Y(R,W){W===void 0&&(W={}),this.rule=R,this.options=Object.assign({lossy:!1,safe:!1},W),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,h.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var Z=oe(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new r.default({source:Z}),this.root.errorGenerator=this._errorGenerator();var M=new n.default({source:{start:{line:1,column:1}},sourceIndex:0});this.root.append(M),this.current=M,this.loop()}var H=Y.prototype;return H._errorGenerator=function(){var R=this;return function(W,Z){return typeof R.rule=="string"?new Error(W):R.rule.error(W,Z)}},H.attribute=function(){var R=[],W=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[h.FIELDS.TYPE]!==b.closeSquare;)R.push(this.currToken),this.position++;if(this.currToken[h.FIELDS.TYPE]!==b.closeSquare)return this.expected("closing square bracket",this.currToken[h.FIELDS.START_POS]);var Z=R.length,M={source:he(W[1],W[2],this.currToken[3],this.currToken[4]),sourceIndex:W[h.FIELDS.START_POS]};if(Z===1&&!~[b.word].indexOf(R[0][h.FIELDS.TYPE]))return this.expected("attribute",R[0][h.FIELDS.START_POS]);for(var ee=0,ve="",ge="",ae=null,Me=!1;ee<Z;){var nt=R[ee],ye=this.content(nt),Qe=R[ee+1];switch(nt[h.FIELDS.TYPE]){case b.space:if(Me=!0,this.options.lossy)break;if(ae){(0,f.ensureObject)(M,"spaces",ae);var Lr=M.spaces[ae].after||"";M.spaces[ae].after=Lr+ye;var hr=(0,f.getProp)(M,"raws","spaces",ae,"after")||null;hr&&(M.raws.spaces[ae].after=hr+ye)}else ve=ve+ye,ge=ge+ye;break;case b.asterisk:if(Qe[h.FIELDS.TYPE]===b.equals)M.operator=ye,ae="operator";else if((!M.namespace||ae==="namespace"&&!Me)&&Qe){ve&&((0,f.ensureObject)(M,"spaces","attribute"),M.spaces.attribute.before=ve,ve=""),ge&&((0,f.ensureObject)(M,"raws","spaces","attribute"),M.raws.spaces.attribute.before=ve,ge=""),M.namespace=(M.namespace||"")+ye;var Lt=(0,f.getProp)(M,"raws","namespace")||null;Lt&&(M.raws.namespace+=ye),ae="namespace"}Me=!1;break;case b.dollar:if(ae==="value"){var bt=(0,f.getProp)(M,"raws","value");M.value+="$",bt&&(M.raws.value=bt+"$");break}case b.caret:Qe[h.FIELDS.TYPE]===b.equals&&(M.operator=ye,ae="operator"),Me=!1;break;case b.combinator:if(ye==="~"&&Qe[h.FIELDS.TYPE]===b.equals&&(M.operator=ye,ae="operator"),ye!=="|"){Me=!1;break}Qe[h.FIELDS.TYPE]===b.equals?(M.operator=ye,ae="operator"):!M.namespace&&!M.attribute&&(M.namespace=!0),Me=!1;break;case b.word:if(Qe&&this.content(Qe)==="|"&&R[ee+2]&&R[ee+2][h.FIELDS.TYPE]!==b.equals&&!M.operator&&!M.namespace)M.namespace=ye,ae="namespace";else if(!M.attribute||ae==="attribute"&&!Me){ve&&((0,f.ensureObject)(M,"spaces","attribute"),M.spaces.attribute.before=ve,ve=""),ge&&((0,f.ensureObject)(M,"raws","spaces","attribute"),M.raws.spaces.attribute.before=ge,ge=""),M.attribute=(M.attribute||"")+ye;var Jt=(0,f.getProp)(M,"raws","attribute")||null;Jt&&(M.raws.attribute+=ye),ae="attribute"}else if(!M.value&&M.value!==""||ae==="value"&&!(Me||M.quoteMark)){var Zt=(0,f.unesc)(ye),Wr=(0,f.getProp)(M,"raws","value")||"",qd=M.value||"";M.value=qd+Zt,M.quoteMark=null,(Zt!==ye||Wr)&&((0,f.ensureObject)(M,"raws"),M.raws.value=(Wr||qd)+ye),ae="value"}else{var Wd=ye==="i"||ye==="I";(M.value||M.value==="")&&(M.quoteMark||Me)?(M.insensitive=Wd,(!Wd||ye==="I")&&((0,f.ensureObject)(M,"raws"),M.raws.insensitiveFlag=ye),ae="insensitive",ve&&((0,f.ensureObject)(M,"spaces","insensitive"),M.spaces.insensitive.before=ve,ve=""),ge&&((0,f.ensureObject)(M,"raws","spaces","insensitive"),M.raws.spaces.insensitive.before=ge,ge="")):(M.value||M.value==="")&&(ae="value",M.value+=ye,M.raws.value&&(M.raws.value+=ye))}Me=!1;break;case b.str:if(!M.attribute||!M.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:nt[h.FIELDS.START_POS]});var co=(0,c.unescapeValue)(ye),I6=co.unescaped,O6=co.quoteMark;M.value=I6,M.quoteMark=O6,ae="value",(0,f.ensureObject)(M,"raws"),M.raws.value=ye,Me=!1;break;case b.equals:if(!M.attribute)return this.expected("attribute",nt[h.FIELDS.START_POS],ye);if(M.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:nt[h.FIELDS.START_POS]});M.operator=M.operator?M.operator+ye:ye,ae="operator",Me=!1;break;case b.comment:if(ae)if(Me||Qe&&Qe[h.FIELDS.TYPE]===b.space||ae==="insensitive"){var j6=(0,f.getProp)(M,"spaces",ae,"after")||"",T6=(0,f.getProp)(M,"raws","spaces",ae,"after")||j6;(0,f.ensureObject)(M,"raws","spaces",ae),M.raws.spaces[ae].after=T6+ye}else{var D6=M[ae]||"",L6=(0,f.getProp)(M,"raws",ae)||D6;(0,f.ensureObject)(M,"raws"),M.raws[ae]=L6+ye}else ge=ge+ye;break;default:return this.error('Unexpected "'+ye+'" found.',{index:nt[h.FIELDS.START_POS]})}ee++}Fe(M,"attribute"),Fe(M,"namespace"),this.newNode(new c.default(M)),this.position++},H.parseWhitespaceEquivalentTokens=function(R){R<0&&(R=this.tokens.length);var W=this.position,Z=[],M="",ee=void 0;do if(N[this.currToken[h.FIELDS.TYPE]])this.options.lossy||(M+=this.content());else if(this.currToken[h.FIELDS.TYPE]===b.comment){var ve={};M&&(ve.before=M,M=""),ee=new o.default({value:this.content(),source:fe(this.currToken),sourceIndex:this.currToken[h.FIELDS.START_POS],spaces:ve}),Z.push(ee)}while(++this.position<R);if(M){if(ee)ee.spaces.after=M;else if(!this.options.lossy){var ge=this.tokens[W],ae=this.tokens[this.position-1];Z.push(new l.default({value:"",source:he(ge[h.FIELDS.START_LINE],ge[h.FIELDS.START_COL],ae[h.FIELDS.END_LINE],ae[h.FIELDS.END_COL]),sourceIndex:ge[h.FIELDS.START_POS],spaces:{before:M,after:""}}))}}return Z},H.convertWhitespaceNodesToSpace=function(R,W){var Z=this;W===void 0&&(W=!1);var M="",ee="";R.forEach(function(ge){var ae=Z.lossySpace(ge.spaces.before,W),Me=Z.lossySpace(ge.rawSpaceBefore,W);M+=ae+Z.lossySpace(ge.spaces.after,W&&ae.length===0),ee+=ae+ge.value+Z.lossySpace(ge.rawSpaceAfter,W&&Me.length===0)}),ee===M&&(ee=void 0);var ve={space:M,rawSpace:ee};return ve},H.isNamedCombinator=function(R){return R===void 0&&(R=this.position),this.tokens[R+0]&&this.tokens[R+0][h.FIELDS.TYPE]===b.slash&&this.tokens[R+1]&&this.tokens[R+1][h.FIELDS.TYPE]===b.word&&this.tokens[R+2]&&this.tokens[R+2][h.FIELDS.TYPE]===b.slash},H.namedCombinator=function(){if(this.isNamedCombinator()){var R=this.content(this.tokens[this.position+1]),W=(0,f.unesc)(R).toLowerCase(),Z={};W!==R&&(Z.value="/"+R+"/");var M=new p.default({value:"/"+W+"/",source:he(this.currToken[h.FIELDS.START_LINE],this.currToken[h.FIELDS.START_COL],this.tokens[this.position+2][h.FIELDS.END_LINE],this.tokens[this.position+2][h.FIELDS.END_COL]),sourceIndex:this.currToken[h.FIELDS.START_POS],raws:Z});return this.position=this.position+3,M}else this.unexpected()},H.combinator=function(){var R=this;if(this.content()==="|")return this.namespace();var W=this.locateNextMeaningfulToken(this.position);if(W<0||this.tokens[W][h.FIELDS.TYPE]===b.comma||this.tokens[W][h.FIELDS.TYPE]===b.closeParenthesis){var Z=this.parseWhitespaceEquivalentTokens(W);if(Z.length>0){var M=this.current.last;if(M){var ee=this.convertWhitespaceNodesToSpace(Z),ve=ee.space,ge=ee.rawSpace;ge!==void 0&&(M.rawSpaceAfter+=ge),M.spaces.after+=ve}else Z.forEach(function(Wr){return R.newNode(Wr)})}return}var ae=this.currToken,Me=void 0;W>this.position&&(Me=this.parseWhitespaceEquivalentTokens(W));var nt;if(this.isNamedCombinator()?nt=this.namedCombinator():this.currToken[h.FIELDS.TYPE]===b.combinator?(nt=new p.default({value:this.content(),source:fe(this.currToken),sourceIndex:this.currToken[h.FIELDS.START_POS]}),this.position++):N[this.currToken[h.FIELDS.TYPE]]||Me||this.unexpected(),nt){if(Me){var ye=this.convertWhitespaceNodesToSpace(Me),Qe=ye.space,Lr=ye.rawSpace;nt.spaces.before=Qe,nt.rawSpaceBefore=Lr}}else{var hr=this.convertWhitespaceNodesToSpace(Me,!0),Lt=hr.space,bt=hr.rawSpace;bt||(bt=Lt);var Jt={},Zt={spaces:{}};Lt.endsWith(" ")&&bt.endsWith(" ")?(Jt.before=Lt.slice(0,Lt.length-1),Zt.spaces.before=bt.slice(0,bt.length-1)):Lt[0]===" "&&bt[0]===" "?(Jt.after=Lt.slice(1),Zt.spaces.after=bt.slice(1)):Zt.value=bt,nt=new p.default({value:" ",source:oe(ae,this.tokens[this.position-1]),sourceIndex:ae[h.FIELDS.START_POS],spaces:Jt,raws:Zt})}return this.currToken&&this.currToken[h.FIELDS.TYPE]===b.space&&(nt.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(nt)},H.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var R=new n.default({source:{start:ie(this.tokens[this.position+1])},sourceIndex:this.tokens[this.position+1][h.FIELDS.START_POS]});this.current.parent.append(R),this.current=R,this.position++},H.comment=function(){var R=this.currToken;this.newNode(new o.default({value:this.content(),source:fe(R),sourceIndex:R[h.FIELDS.START_POS]})),this.position++},H.error=function(R,W){throw this.root.error(R,W)},H.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[h.FIELDS.START_POS]})},H.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[h.FIELDS.START_POS])},H.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[h.FIELDS.START_POS])},H.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[h.FIELDS.START_POS])},H.unexpectedPipe=function(){return this.error("Unexpected '|'.",this.currToken[h.FIELDS.START_POS])},H.namespace=function(){var R=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[h.FIELDS.TYPE]===b.word)return this.position++,this.word(R);if(this.nextToken[h.FIELDS.TYPE]===b.asterisk)return this.position++,this.universal(R);this.unexpectedPipe()},H.nesting=function(){if(this.nextToken){var R=this.content(this.nextToken);if(R==="|"){this.position++;return}}var W=this.currToken;this.newNode(new m.default({value:this.content(),source:fe(W),sourceIndex:W[h.FIELDS.START_POS]})),this.position++},H.parentheses=function(){var R=this.current.last,W=1;if(this.position++,R&&R.type===g.PSEUDO){var Z=new n.default({source:{start:ie(this.tokens[this.position])},sourceIndex:this.tokens[this.position][h.FIELDS.START_POS]}),M=this.current;for(R.append(Z),this.current=Z;this.position<this.tokens.length&&W;)this.currToken[h.FIELDS.TYPE]===b.openParenthesis&&W++,this.currToken[h.FIELDS.TYPE]===b.closeParenthesis&&W--,W?this.parse():(this.current.source.end=te(this.currToken),this.current.parent.source.end=te(this.currToken),this.position++);this.current=M}else{for(var ee=this.currToken,ve="(",ge;this.position<this.tokens.length&&W;)this.currToken[h.FIELDS.TYPE]===b.openParenthesis&&W++,this.currToken[h.FIELDS.TYPE]===b.closeParenthesis&&W--,ge=this.currToken,ve+=this.parseParenthesisToken(this.currToken),this.position++;R?R.appendToPropertyAndEscape("value",ve,ve):this.newNode(new l.default({value:ve,source:he(ee[h.FIELDS.START_LINE],ee[h.FIELDS.START_COL],ge[h.FIELDS.END_LINE],ge[h.FIELDS.END_COL]),sourceIndex:ee[h.FIELDS.START_POS]}))}if(W)return this.expected("closing parenthesis",this.currToken[h.FIELDS.START_POS])},H.pseudo=function(){for(var R=this,W="",Z=this.currToken;this.currToken&&this.currToken[h.FIELDS.TYPE]===b.colon;)W+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[h.FIELDS.TYPE]===b.word)this.splitWord(!1,function(M,ee){W+=M,R.newNode(new u.default({value:W,source:oe(Z,R.currToken),sourceIndex:Z[h.FIELDS.START_POS]})),ee>1&&R.nextToken&&R.nextToken[h.FIELDS.TYPE]===b.openParenthesis&&R.error("Misplaced parenthesis.",{index:R.nextToken[h.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[h.FIELDS.START_POS])},H.space=function(){var R=this.content();this.position===0||this.prevToken[h.FIELDS.TYPE]===b.comma||this.prevToken[h.FIELDS.TYPE]===b.openParenthesis||this.current.nodes.every(function(W){return W.type==="comment"})?(this.spaces=this.optionalSpace(R),this.position++):this.position===this.tokens.length-1||this.nextToken[h.FIELDS.TYPE]===b.comma||this.nextToken[h.FIELDS.TYPE]===b.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(R),this.position++):this.combinator()},H.string=function(){var R=this.currToken;this.newNode(new l.default({value:this.content(),source:fe(R),sourceIndex:R[h.FIELDS.START_POS]})),this.position++},H.universal=function(R){var W=this.nextToken;if(W&&this.content(W)==="|")return this.position++,this.namespace();var Z=this.currToken;this.newNode(new d.default({value:this.content(),source:fe(Z),sourceIndex:Z[h.FIELDS.START_POS]}),R),this.position++},H.splitWord=function(R,W){for(var Z=this,M=this.nextToken,ee=this.content();M&&~[b.dollar,b.caret,b.equals,b.word].indexOf(M[h.FIELDS.TYPE]);){this.position++;var ve=this.content();if(ee+=ve,ve.lastIndexOf("\\")===ve.length-1){var ge=this.nextToken;ge&&ge[h.FIELDS.TYPE]===b.space&&(ee+=this.requiredSpace(this.content(ge)),this.position++)}M=this.nextToken}var ae=Ue(ee,".").filter(function(Qe){var Lr=ee[Qe-1]==="\\",hr=/^\d+\.\d+%$/.test(ee);return!Lr&&!hr}),Me=Ue(ee,"#").filter(function(Qe){return ee[Qe-1]!=="\\"}),nt=Ue(ee,"#{");nt.length&&(Me=Me.filter(function(Qe){return!~nt.indexOf(Qe)}));var ye=(0,v.default)(At([0].concat(ae,Me)));ye.forEach(function(Qe,Lr){var hr=ye[Lr+1]||ee.length,Lt=ee.slice(Qe,hr);if(Lr===0&&W)return W.call(Z,Lt,ye.length);var bt,Jt=Z.currToken,Zt=Jt[h.FIELDS.START_POS]+ye[Lr],Wr=he(Jt[1],Jt[2]+Qe,Jt[3],Jt[2]+(hr-1));if(~ae.indexOf(Qe)){var qd={value:Lt.slice(1),source:Wr,sourceIndex:Zt};bt=new i.default(Fe(qd,"value"))}else if(~Me.indexOf(Qe)){var Wd={value:Lt.slice(1),source:Wr,sourceIndex:Zt};bt=new a.default(Fe(Wd,"value"))}else{var co={value:Lt,source:Wr,sourceIndex:Zt};Fe(co,"value"),bt=new s.default(co)}Z.newNode(bt,R),R=null}),this.position++},H.word=function(R){var W=this.nextToken;return W&&this.content(W)==="|"?(this.position++,this.namespace()):this.splitWord(R)},H.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},H.parse=function(R){switch(this.currToken[h.FIELDS.TYPE]){case b.space:this.space();break;case b.comment:this.comment();break;case b.openParenthesis:this.parentheses();break;case b.closeParenthesis:R&&this.missingParenthesis();break;case b.openSquare:this.attribute();break;case b.dollar:case b.caret:case b.equals:case b.word:this.word();break;case b.colon:this.pseudo();break;case b.comma:this.comma();break;case b.asterisk:this.universal();break;case b.ampersand:this.nesting();break;case b.slash:case b.combinator:this.combinator();break;case b.str:this.string();break;case b.closeSquare:this.missingSquareBracket();case b.semicolon:this.missingBackslash();default:this.unexpected()}},H.expected=function(R,W,Z){if(Array.isArray(R)){var M=R.pop();R=R.join(", ")+" or "+M}var ee=/^[aeiou]/.test(R[0])?"an":"a";return Z?this.error("Expected "+ee+" "+R+', found "'+Z+'" instead.',{index:W}):this.error("Expected "+ee+" "+R+".",{index:W})},H.requiredSpace=function(R){return this.options.lossy?" ":R},H.optionalSpace=function(R){return this.options.lossy?"":R},H.lossySpace=function(R,W){return this.options.lossy?W?" ":"":R},H.parseParenthesisToken=function(R){var W=this.content(R);return R[h.FIELDS.TYPE]===b.space?this.requiredSpace(W):W},H.newNode=function(R,W){return W&&(/^ +$/.test(W)&&(this.options.lossy||(this.spaces=(this.spaces||"")+W),W=!0),R.namespace=W,Fe(R,"namespace")),this.spaces&&(R.spaces.before=this.spaces,this.spaces=""),this.current.append(R)},H.content=function(R){return R===void 0&&(R=this.currToken),this.css.slice(R[h.FIELDS.START_POS],R[h.FIELDS.END_POS])},H.locateNextMeaningfulToken=function(R){R===void 0&&(R=this.position+1);for(var W=R;W<this.tokens.length;)if(B[this.tokens[W][h.FIELDS.TYPE]]){W++;continue}else return W;return-1},L(Y,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),Y})();e.default=Ve,t.exports=e.default}),hV=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=n(mV());function n(o){return o&&o.__esModule?o:{default:o}}var i=(function(){function o(s,l){this.func=s||function(){},this.funcRes=null,this.options=l}var a=o.prototype;return a._isLossy=function(s){s===void 0&&(s={});var l=Object.assign({},this.options,s);return l.lossless===!1},a._root=function(s,l){l===void 0&&(l={});var u=new r.default(s,this._parseOptions(l));return u.root},a._parseOptions=function(s){return{lossy:this._isLossy(s)}},a._runSync=function(s,l){l===void 0&&(l={});var u=this._root(s,l),c=this.func(u);if(c&&typeof c.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var d=void 0;return l.updateSelector&&typeof s!="string"&&(d=u.toString(),s.selector=d),{transform:c,root:u,string:d}},a.astSync=function(s,l){return this._runSync(s,l).root},a.processSync=function(s,l){var u=this._runSync(s,l);return u.string||u.root.toString()},o})();e.default=i,t.exports=e.default}),fV=G(e=>{"use strict";e.__esModule=!0,e.universal=e.tag=e.string=e.selector=e.root=e.pseudo=e.nesting=e.id=e.comment=e.combinator=e.className=e.attribute=void 0;var t=m(KM()),r=m(_M()),n=m(XM()),i=m(UM()),o=m(VM()),a=m(JM()),s=m(GM()),l=m(qM()),u=m(WM()),c=m(YM()),d=m(QM()),p=m(HM());function m(N){return N&&N.__esModule?N:{default:N}}var v=function(N){return new t.default(N)};e.attribute=v;var h=function(N){return new r.default(N)};e.className=h;var b=function(N){return new n.default(N)};e.combinator=b;var g=function(N){return new i.default(N)};e.comment=g;var f=function(N){return new o.default(N)};e.id=f;var x=function(N){return new a.default(N)};e.nesting=x;var w=function(N){return new s.default(N)};e.pseudo=w;var k=function(N){return new l.default(N)};e.root=k;var S=function(N){return new u.default(N)};e.selector=S;var E=function(N){return new c.default(N)};e.string=E;var C=function(N){return new d.default(N)};e.tag=C;var L=function(N){return new p.default(N)};e.universal=L}),gV=G(e=>{"use strict";e.__esModule=!0,e.isComment=e.isCombinator=e.isClassName=e.isAttribute=void 0,e.isContainer=w,e.isIdentifier=void 0,e.isNamespace=k,e.isNesting=void 0,e.isNode=i,e.isPseudo=void 0,e.isPseudoClass=x,e.isPseudoElement=f,e.isUniversal=e.isTag=e.isString=e.isSelector=e.isRoot=void 0;var t=wt(),r,n=(r={},r[t.ATTRIBUTE]=!0,r[t.CLASS]=!0,r[t.COMBINATOR]=!0,r[t.COMMENT]=!0,r[t.ID]=!0,r[t.NESTING]=!0,r[t.PSEUDO]=!0,r[t.ROOT]=!0,r[t.SELECTOR]=!0,r[t.STRING]=!0,r[t.TAG]=!0,r[t.UNIVERSAL]=!0,r);function i(S){return typeof S=="object"&&n[S.type]}function o(S,E){return i(E)&&E.type===S}var a=o.bind(null,t.ATTRIBUTE);e.isAttribute=a;var s=o.bind(null,t.CLASS);e.isClassName=s;var l=o.bind(null,t.COMBINATOR);e.isCombinator=l;var u=o.bind(null,t.COMMENT);e.isComment=u;var c=o.bind(null,t.ID);e.isIdentifier=c;var d=o.bind(null,t.NESTING);e.isNesting=d;var p=o.bind(null,t.PSEUDO);e.isPseudo=p;var m=o.bind(null,t.ROOT);e.isRoot=m;var v=o.bind(null,t.SELECTOR);e.isSelector=v;var h=o.bind(null,t.STRING);e.isString=h;var b=o.bind(null,t.TAG);e.isTag=b;var g=o.bind(null,t.UNIVERSAL);e.isUniversal=g;function f(S){return p(S)&&S.value&&(S.value.startsWith("::")||S.value.toLowerCase()===":before"||S.value.toLowerCase()===":after"||S.value.toLowerCase()===":first-letter"||S.value.toLowerCase()===":first-line")}function x(S){return p(S)&&!f(S)}function w(S){return!!(i(S)&&S.walk)}function k(S){return a(S)||b(S)}}),bV=G(e=>{"use strict";e.__esModule=!0;var t=wt();Object.keys(t).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===t[i]||(e[i]=t[i])});var r=fV();Object.keys(r).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===r[i]||(e[i]=r[i])});var n=gV();Object.keys(n).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===n[i]||(e[i]=n[i])})}),dt=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=a(hV()),n=o(bV());function i(u){if(typeof WeakMap!="function")return null;var c=new WeakMap,d=new WeakMap;return(i=function(p){return p?d:c})(u)}function o(u,c){if(!c&&u&&u.__esModule)return u;if(u===null||typeof u!="object"&&typeof u!="function")return{default:u};var d=i(c);if(d&&d.has(u))return d.get(u);var p={},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in u)if(v!=="default"&&Object.prototype.hasOwnProperty.call(u,v)){var h=m?Object.getOwnPropertyDescriptor(u,v):null;h&&(h.get||h.set)?Object.defineProperty(p,v,h):p[v]=u[v]}return p.default=u,d&&d.set(u,p),p}function a(u){return u&&u.__esModule?u:{default:u}}var s=function(u){return new r.default(u)};Object.assign(s,n),delete s.__esModule;var l=s;e.default=l,t.exports=e.default});function at(e){var l,u;let t=e.nodes.findIndex(c=>!_y(c)),r=e.nodes.findLastIndex(c=>!_y(c)),n=e.nodes[t],i=e.nodes[r];if(!n||!i){let c=e.toString().trim(),d=(l=e.sourceIndex)!=null?l:0,p=d+c.length;return{selector:c,index:d,endIndex:p}}i=i.rawSpaceAfter.length?i.clone():i,i.rawSpaceAfter="";let o=e.nodes.slice(t,r).map(String).join("");o+=i.toString(),o=o.trim();let a=(u=n.sourceIndex)!=null?u:0,s=a+o.length;return{selector:o,index:a,endIndex:s}}var vC,_y,zt=y(()=>{vC=X(dt(),1),{isComment:_y}=vC.default});function xe(e,t,r){if(e)try{return(0,e3.default)().astSync(e)}catch(n){t.warn(`Cannot parse selector (${n})`,{node:r,stylelintType:"parseError"});return}}var e3,ze=y(()=>{e3=X(dt(),1)}),t3={};A(t3,{default:()=>r3});var As,$g,yC,Ns,r3,vV=y(()=>{V(),we(),zt(),de(),ze(),I(),j(),D(),As="keyframe-block-no-duplicate-selectors",$g=O(As,{rejected:e=>`Duplicate keyframe selector "${e}"`}),yC={url:"https://stylelint.io/user-guide/rules/keyframe-block-no-duplicate-selectors"},Ns=e=>(t,r)=>{T(r,As,{actual:e})&&t.walkAtRules(Se.keyframesName,n=>{let i=new Set;n.walkRules(o=>{var a;ce(o)&&((a=xe(be(o),r,o))==null||a.each(s=>{let{selector:l,index:u,endIndex:c}=at(s),d=l.toLowerCase();if(i.has(d)){P({message:$g.rejected,messageArgs:[l],node:o,result:r,ruleName:As,index:u,endIndex:c});return}i.add(d)}))})})},Ns.ruleName=As,Ns.messages=$g,Ns.meta=yC,r3=Ns}),n3={};A(n3,{default:()=>i3});var Es,Bg,wC,Ps,i3,yV=y(()=>{q(),V(),KL(),I(),j(),D(),Es="keyframe-declaration-no-important",Bg=O(Es,{rejected:"Disallowed !important"}),wC={url:"https://stylelint.io/user-guide/rules/keyframe-declaration-no-important"},Ps=e=>(t,r)=>{T(r,Es,{actual:e})&&t.walkAtRules(Se.keyframesName,n=>{n.walkDecls(i=>{if(!i.important)return;let o=GL(i.toString());$e(o),P({message:Bg.rejected,messageArgs:[],node:i,index:o.index,endIndex:o.endIndex,result:r,ruleName:Es})})})},Ps.ruleName=Es,Ps.messages=Bg,Ps.meta=wC,i3=Ps}),o3={};A(o3,{default:()=>a3});function wV(e){let t=e.nodes.filter(i=>!(om.default.isComment(i)||om.default.isCombinator(i)&&i.value.trim()===""));if(t.length!==1||!t.every(om.default.isTag))return;let r=t[0];if(!r)return;let n=r.value.toLowerCase();if(!(!Bi.has(n)&&!Wc.has(n)))return[r,n]}function qg(e,t){let r=e.get(t);return eo(r),r}function kV(e){let t=[];return e.walkRules(r=>{t.push(...r.selectors.map(n=>n.toLowerCase()))}),t}var om,Is,Wg,kC,xC,_g,Os,a3,xV=y(()=>{q(),Ke(),V(),we(),ze(),om=X(dt(),1),Tt(),I(),j(),D(),Is="keyframe-selector-notation",Wg=O(Is,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),kC={url:"https://stylelint.io/user-guide/rules/keyframe-selector-notation",fixable:!0},xC=new Map([["0%","from"],["100%","to"]]),_g=new Map([["from","0%"],["to","100%"]]),Os=e=>(t,r)=>{if(!T(r,Is,{actual:e,possible:["keyword","percentage","percentage-unless-within-keyword-only-block"]}))return;let n={keyword:{expFunc:s=>Bi.has(s),fixFunc:s=>qg(xC,s)},percentage:{expFunc:s=>Wc.has(s),fixFunc:s=>qg(_g,s)},"percentage-unless-within-keyword-only-block":{expFunc:(s,l)=>l.every(u=>Bi.has(u))?!0:Wc.has(s),fixFunc:s=>qg(_g,s)}},{expFunc:i,fixFunc:o}=n[e],a;e==="keyword"?a=Q.percentageKeyframeSelectorWithNamedEquivalent:e==="percentage"?a=Q.namedKeyframeSelectorWithPercentageEquivalent:a=/./,t.walkAtRules(Se.keyframesName,s=>{let l=e==="percentage-unless-within-keyword-only-block"?kV(s):[];s.walkRules(a,u=>{let c=be(u),d=xe(c,r,u);d&&d.each(p=>{let m=wV(p);if(!m)return;let[v,h]=m;if(i(h,l))return;let b=o(h),g=()=>{v.value=b,u.selector=d.toString()};P({message:Wg.expected,messageArgs:[v.value,b],node:u,result:r,ruleName:Is,index:v.sourceIndex,endIndex:v.sourceIndex+h.length,fix:{apply:g,node:u}})})})})},Os.ruleName=Is,Os.messages=Wg,Os.meta=kC,a3=Os});function SV(e){return!eh(e)}var CV=y(()=>{th()}),s3={};A(s3,{default:()=>l3});var js,Ug,SC,Ts,l3,zV=y(()=>{q(),J(),V(),CV(),I(),j(),D(),js="keyframes-name-pattern",Ug=O(js,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),SC={url:"https://stylelint.io/user-guide/rules/keyframes-name-pattern"},Ts=e=>(t,r)=>{if(!T(r,js,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkAtRules(Se.keyframesName,i=>{let o=i.params;if(!SV(o)||n.test(o))return;let a=je(i),s=a+o.length;P({index:a,endIndex:s,message:Ug.expected,messageArgs:[o,e],node:i,ruleName:js,result:r})})},Ts.ruleName=js,Ts.messages=Ug,Ts.meta=SC,l3=Ts}),u3={};A(u3,{default:()=>c3});var Vg,Ds,Qg,CC,Ls,c3,AV=y(()=>{Vg=X(ue(),1),V(),q(),J(),I(),j(),D(),Ds="layer-name-pattern",Qg=O(Ds,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),CC={url:"https://stylelint.io/user-guide/rules/layer-name-pattern"},Ls=e=>(t,r)=>{if(!T(r,Ds,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkAtRules(Se.layerName,o=>{let{params:a}=o;a&&(0,Vg.default)(a).walk(s=>{i(s.type,s.value,s.sourceIndex,o)})}),t.walkAtRules(Se.importName,o=>{let{params:a}=o;Q.layerFunction.test(a)&&(0,Vg.default)(o.params).walk(s=>{if(!(s.type!=="function"||s.value.toLowerCase()!=="layer"))for(let l of s.nodes)i(l.type,l.value,l.sourceIndex,o)})});function i(o,a,s,l){if(o!=="word"||n.test(a))return;let u=je(l)+s,c=u+a.length;P({message:Qg.expected,messageArgs:[a,e],node:l,index:u,endIndex:c,ruleName:Ds,result:r})}},Ls.ruleName=Ds,Ls.messages=Qg,Ls.meta=CC,c3=Ls});function NV(e){return e.type==="function"&&io.has(e.value.toLowerCase())}var EV=y(()=>{Ir()}),d3={};A(d3,{default:()=>p3});function PV({prop:e},t,r){let n=t[r-1];return e.toLowerCase()==="font"&&n&&n.type==="div"&&n.value==="/"}function IV(e){return e.toLowerCase()==="line-height"}function OV(e){return e.toLowerCase()==="flex"}function jV(e){return qi.has(e.toLowerCase())}function TV(e){return e.toLowerCase()==="fr"}function DV(e){return Number.parseFloat(e)===0}function LV(e){return e===""}var Fp,Fs,Yg,zC,Ms,p3,FV=y(()=>{Fp=X(ue(),1),J(),me(),q(),lt(),We(),pr(),EV(),et(),ct(),oo(),V(),K(),I(),j(),MM(),gt(),D(),Fs="length-zero-no-unit",Yg=O(Fs,{rejected:"Disallowed unit"}),zC={url:"https://stylelint.io/user-guide/rules/length-zero-no-unit",fixable:!0},Ms=(e,t)=>(r,n)=>{if(!T(n,Fs,{actual:e},{actual:t,possible:{ignore:["custom-properties"],ignoreFunctions:[$,_],ignorePreludeOfAtRules:[$,_]},optional:!0}))return;function i(s,l,u,c){let{value:d,sourceIndex:p}=u;if(NV(u)||Nn(u)&&F(t,"ignoreFunctions",d))return!1;if(!En(u))return;let m=Fp.default.unit(d);if(m===!1)return;let{number:v,unit:h}=m;if(!DV(v)||LV(h)||!jV(h)||TV(h))return;let b=()=>{switch(u.value=v.startsWith(".")?v.slice(1):v,s.type){case"atrule":FM(s,c.toString());break;case"decl":ft(s,c.toString());break}},g=l+p+v.length,f=g+h.length;P({index:g,endIndex:f,message:Yg.rejected,messageArgs:[],node:s,result:n,ruleName:Fs,fix:{apply:b,node:s}})}function o(s){if(!Q.zeroLength.test(s.params)||!Ze(s)||F(t,"ignorePreludeOfAtRules",s.name))return;let l=je(s),u=(0,Fp.default)(st(s));u.walk(c=>i(s,l,c,u))}function a(s){let{prop:l,value:u}=s;if(!Q.zeroLength.test(u)||!ut(s)||IV(l)||OV(l)||F(t,"ignore","custom-properties")&&yt(l))return;let c=ne(s),d=(0,Fp.default)(qe(s));d.walk((p,m,v)=>{if(!PV(s,v,m))return i(s,c,p,d)})}r.walkAtRules(o),r.walkDecls(a)},Ms.ruleName=Fs,Ms.messages=Yg,Ms.meta=zC,p3=Ms}),m3={};A(m3,{default:()=>f3});function MV(e,t){let r=Number.parseFloat(e);return Mv.has(t)?`${r}%`:(bm.has(t)&&(r*=100),Number.isInteger(r)?`${r}%`:`${h3(r,e)}%`)}function RV(e,t){let r=Number.parseFloat(e);return bm.has(t)?(r/=100,`${h3(r,e)}`):`${r}`}function h3(e,t){if(e===0)return"0";let r=t.replaceAll("%","").replaceAll(".","").length;return r===0?`${e}`:e.toPrecision(r).replace(/\.?0+$/,"")}function $V({nodes:e}){var r;let t=e.filter(({type:n})=>n==="word"||n==="function");return((r=t[0])==null?void 0:r.value.toLowerCase())==="from"?t[2]:t[0]}var Gg,Rs,Kg,AC,$s,f3,BV=y(()=>{Gg=X(ue(),1),Ir(),J(),We(),_e(),V(),I(),j(),gt(),D(),Rs="lightness-notation",Kg=O(Rs,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),AC={url:"https://stylelint.io/user-guide/rules/lightness-notation",fixable:!0},$s=e=>(t,r)=>{T(r,Rs,{actual:e,possible:["percentage","number"]})&&t.walkDecls(n=>{if(!Q.lightnessColorFunction.test(n.value))return;let i=(0,Gg.default)(qe(n));i.walk(o=>{if(o.type!=="function")return;let a=o.value.toLowerCase();if(!jw.has(a))return;let s=$V(o);if(!s)return;let{value:l}=s;if(!Be(l))return;let u=Gg.default.unit(l);if(!u)return;let c=u.unit==="%",d=u.unit==="";if(!c&&!d||e==="percentage"&&c||e==="number"&&d)return;let p=e==="percentage"?MV(l,a):RV(l,a),m=ne(n),v=()=>{s.value=p,ft(n,i.toString())};P({message:Kg.expected,messageArgs:[l,p],node:n,index:m+s.sourceIndex,endIndex:m+s.sourceEndIndex,result:r,ruleName:Rs,fix:{apply:v,node:n}})})})},$s.ruleName=Rs,$s.messages=Kg,$s.meta=AC,f3=$s}),g3={};A(g3,{default:()=>b3});function NC(e){return e.startsWith("&:")&&e[2]!==":"?e.slice(2):void 0}var EC,Bs,Hg,PC,qs,b3,qV=y(()=>{EC=X(dt(),1),me(),q(),ih(),de(),K(),I(),j(),D(),Bs="max-nesting-depth",Hg=O(Bs,{expected:e=>`Too deep nesting, maximum ${e}`}),PC={url:"https://stylelint.io/user-guide/rules/max-nesting-depth"},qs=(e,t)=>{let r=o=>Oe(o)&&F(t,"ignoreAtRules",o.name),n=o=>it(o)&&F(t,"ignoreRules",o.selector);return(o,a)=>{if(!T(a,Bs,{actual:e,possible:[Sr]},{optional:!0,actual:t,possible:{ignore:["blockless-at-rules","pseudo-classes"],ignoreAtRules:[$,_],ignoreRules:[$,_],ignorePseudoClasses:[$,_]}}))return;o.walkRules(s),o.walkAtRules(s);function s(l){r(l)||n(l)||!Gc(l)||it(l)&&!ce(l)||i(l,0)>e&&P({ruleName:Bs,result:a,node:l,message:Hg.expected,messageArgs:[e]})}};function i(o,a){let s=o.parent;if(!s||r(s))return 0;if(ur(s)||Oe(s)&&s.parent&&ur(s.parent))return a;function l(c){return(0,EC.default)().processSync(c,{lossless:!1}).split(",").filter(d=>!F(t,"ignoreRules",d)).every(d=>NC(d))}function u(c){return t&&(t.ignorePseudoClasses||t.ignoreRules)?c.every(d=>{if(t.ignoreRules&&F(t,"ignoreRules",d))return!0;if(!t.ignorePseudoClasses)return!1;let p=NC(d);return p?F(t,"ignorePseudoClasses",p):!1}):!1}return F(t,"ignore","blockless-at-rules")&&Oe(o)&&o.every(c=>!to(c))||F(t,"ignore","pseudo-classes")&&it(o)&&l(o.selector)||it(o)&&u(o.selectors)?i(s,a):i(s,a+1)}},qs.ruleName=Bs,qs.messages=Hg,qs.meta=PC,b3=qs});function v3(e){return!!(le(e)&&Ae(e.value)||He(e)&&O3.has(e.getName().toLowerCase()))}function WV(e){return le(e)&&Ee(e.value)}function Td(e){return le(e)&&Ye(e.value)}function _V(e){return He(e)&&e.getName().toLowerCase()==="env"}function jc(e){let t=-1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type!==Ie.Whitespace&&n.type!==Ie.Comment){if(!Td(n)||t!==-1)return!1;t=r}}return t!==-1&&new Wk(e[t],e.slice(0,t).flatMap(r=>r.tokens()),e.slice(t+1).flatMap(r=>r.tokens()))}function UV(e){let t=jc(e);return t===!1?t:new _k(t)}function Sc(e,t=!1){let r=-1,n=-1;for(let i=0;i<e.length;i++){let o=e[i];if(o.type!==Ie.Whitespace&&o.type!==Ie.Comment){if(r!==-1)return!1;if(v3(o)){let a=y3(e.slice(i));if(a!==-1){r=a[0]+i,n=a[1]+i,i+=a[1]-a[0];continue}r=i,n=i;continue}if(_V(o))r=i,n=i;else if(WV(o))r=i,n=i;else{if(t||!Td(o))return!1;r=i,n=i}}}return r!==-1&&new Uk(e.slice(r,n+1),e.slice(0,r).flatMap(i=>i.tokens()),e.slice(n+1).flatMap(i=>i.tokens()))}function y3(e){let t=-1,r=-1,n=VV(e);if(n===-1)return-1;t=n[0],r=n[1];for(let i=r+1;i<e.length;i++){let o=e[i];if(!It(o))return-1}return[t,r]}function VV(e){let t=-1,r=-1;for(let n=0;n<e.length;n++){let i=e[n];if(!It(i)){if(le(i)){let o=i.value;if(qt(o)&&o[4].value==="/"){if(t===-1||r!==-1)return-1;r=n;continue}}if(!v3(i))return-1;if(r!==-1)return[t,n];if(t!==-1)return-1;t=n}}return-1}function QV(e){let t=[],r=[],n=null;for(let a=0;a<e.length;a++){let s=e[a];if(s.type===Ie.Token){let l=s.value;if(mF(l)){t=e.slice(0,a),r=e.slice(a+1),n=l;break}}}if(!t.length||!r.length||!n)return!1;let i=jc(t);if(i===!1)return!1;let o=Sc(r);return o!==!1&&new Vk(i,n,o)}function YV(e){let t=-1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type===Ie.Token){let i=n.value;if(qt(i)){if(i[4].value===Xr.EQ)return t!==-1?[t,r]:[r,r];if(i[4].value===or.LT){t=r;continue}if(i[4].value===ar.GT){t=r;continue}}}break}return t!==-1&&[t,t]}function Pi(e){if(e.length!==1&&e.length!==2||!qt(e[0]))return!1;if(e.length===1)switch(e[0][4].value){case Xr.EQ:return Xr.EQ;case or.LT:return or.LT;case ar.GT:return ar.GT;default:return!1}if(!qt(e[1])||e[1][4].value!==Xr.EQ)return!1;switch(e[0][4].value){case or.LT:return or.LT_OR_EQ;case ar.GT:return ar.GT_OR_EQ;default:return!1}}function GV(e){let t=!1,r=!1;for(let d=0;d<e.length;d++){let p=e[d];if(p.type===Ie.Token){let m=p.value;if(qt(m)){let v=YV(e.slice(d));if(v!==!1){if(t!==!1){r=[v[0]+d,v[1]+d];break}t=[v[0]+d,v[1]+d],d+=v[1]}}}}if(t===!1)return!1;let n=[e[t[0]].value];if(t[0]!==t[1]&&n.push(e[t[1]].value),r===!1){let d=e.slice(0,t[0]),p=e.slice(t[1]+1),m=jc(d);if(m){let h=Sc(p,!0);return!!h&&new $h(m,n,h)}let v=jc(p);if(v){let h=Sc(d,!0);return!!h&&new Qk(v,n,h)}return!1}let i=[e[r[0]].value];r[0]!==r[1]&&i.push(e[r[1]].value);let o=e.slice(0,t[0]),a=e.slice(t[1]+1,r[0]),s=e.slice(r[1]+1),l=Sc(o,!0),u=jc(a),c=Sc(s,!0);if(!l||!u||!c)return!1;{let d=Pi(n);if(d===!1||d===Xr.EQ)return!1;let p=Pi(i);if(p===!1||p===Xr.EQ||!(d!==or.LT&&d!==or.LT_OR_EQ||p!==ar.GT&&p!==ar.GT_OR_EQ)||!(d!==ar.GT&&d!==ar.GT_OR_EQ||p!==or.LT&&p!==or.LT_OR_EQ))return!1}return new Yk(u,l,n,c,i)}function w3(e,t=[],r=[]){if(!lo(e.startToken))return!1;let n=UV(e.value);if(n!==!1)return new Tc(n,t,r);let i=QV(e.value);if(i!==!1)return new Tc(i,t,r);let o=GV(e.value);return o!==!1&&new Tc(o,t,r)}function IC(e){if(!Ye(e))return!1;switch(e[4].value.toLowerCase()){case Oi.Not:return Oi.Not;case Oi.Only:return Oi.Only;default:return!1}}function KV(e){{let t=Bk(e);if(t!==!1)return new am(t)}{let t=-1,r=-1,n=-1;for(let s=0;s<e.length;s++){let l=e[s];if(!id(l)&&!Ik(l)){if(le(l)){let u=l.value;if(t===-1&&Ye(u)&&IC(u)){t=s;continue}if(r===-1&&Ye(u)&&!IC(u)){r=s;continue}if(n===-1&&Ye(u)&&Gk.test(u[4].value)){if(n=s,OC(e.slice(s+1))===!1)return!1;break}return!1}return!1}}let i=[],o=[];t!==-1?(i=e.slice(0,t+1).flatMap(s=>s.tokens()),r!==-1&&(o=e.slice(t+1,r+1).flatMap(s=>s.tokens()))):r!==-1&&(o=e.slice(0,r+1).flatMap(s=>s.tokens()));let a=OC(e.slice(Math.max(t,r,n)+1));return a===!1?new sd(i,[...o,...e.slice(r+1).flatMap(s=>s.tokens())]):new sd(i,o,e.slice(r+1,n+1).flatMap(s=>s.tokens()),a)}}function HV(e){let t=!1,r=[],n=-1,i=-1;for(let o=0;o<e.length;o++){if(t){let s=XV(e.slice(o));if(s!==!1){o+=s.advance,r.push(s.node),i=o;continue}}let a=e[o];if(a.type!==Ie.Whitespace&&a.type!==Ie.Comment){if(t||t!==!1||!Dr(a)||(a.normalize(),t=Dd(a),t===!1))return!1;n=o}}return!(!t||!r.length)&&new I3(t,r,e.slice(0,n).flatMap(o=>o.tokens()),e.slice(i+1).flatMap(o=>o.tokens()))}function k3(e){let t=!1,r=[],n=-1,i=-1;for(let o=0;o<e.length;o++){if(t){let s=JV(e.slice(o));if(s!==!1){o+=s.advance,r.push(s.node),i=o;continue}}let a=e[o];if(a.type!==Ie.Whitespace&&a.type!==Ie.Comment){if(t||t!==!1||!Dr(a)||(a.normalize(),t=Dd(a),t===!1))return!1;n=o}}return!(!t||!r.length)&&new P3(t,r,e.slice(0,n).flatMap(o=>o.tokens()),e.slice(i+1).flatMap(o=>o.tokens()))}function Bk(e){let t=S3(e);if(t!==!1)return new xr(t);let r=k3(e);if(r!==!1)return new xr(r);let n=HV(e);if(n!==!1)return new xr(n);let i=x3(e);return i!==!1&&new xr(i)}function OC(e){let t=S3(e);if(t!==!1)return new xr(t);let r=k3(e);if(r!==!1)return new xr(r);let n=x3(e);return n!==!1&&new xr(n)}function x3(e){let t=-1;for(let s=0;s<e.length;s++){let l=e[s];if(l.type!==Ie.Whitespace&&l.type!==Ie.Comment){if(!Dr(l)||t!==-1)return!1;t=s}}if(t===-1)return!1;let r=e[t];if(!lo(r.startToken))return!1;r.normalize();let n=[...e.slice(0,t).flatMap(s=>s.tokens()),r.startToken],i=[r.endToken,...e.slice(t+1).flatMap(s=>s.tokens())],o=w3(r,n,i);if(o!==!1)return new Hr(o);let a=Bk(r.value);return a!==!1?new Hr(a,n,i):new Hr(new Rh(r),e.slice(0,t).flatMap(s=>s.tokens()),e.slice(t+1).flatMap(s=>s.tokens()))}function Dd(e){if(!lo(e.startToken))return!1;let t=w3(e,[e.startToken],[e.endToken]);if(t!==!1)return new Hr(t);let r=Bk(e.value);return r!==!1?new Hr(r,[e.startToken],[e.endToken]):new Hr(new Rh(e))}function S3(e){let t=!1,r=null;for(let n=0;n<e.length;n++){let i=e[n];if(i.type!==Ie.Whitespace&&i.type!==Ie.Comment){if(Td(i)){let o=i.value;if(D3.test(o[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&Dr(i)){i.normalize();let o=Dd(i);if(o===!1)return!1;r=new j3(e.slice(0,n).flatMap(a=>a.tokens()),o);continue}return!1}}return r||!1}function XV(e){let t=!1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type!==Ie.Whitespace&&n.type!==Ie.Comment){if(Td(n)){let i=n.value;if(L3.test(i[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&Dr(n)){n.normalize();let i=Dd(n);return i!==!1&&{advance:r,node:new T3(e.slice(0,r).flatMap(o=>o.tokens()),i)}}return!1}}return!1}function JV(e){let t=!1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type!==Ie.Whitespace&&n.type!==Ie.Comment){if(Td(n)){let i=n.value;if(Gk.test(i[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&Dr(n)){n.normalize();let i=Dd(n);return i!==!1&&{advance:r,node:new E3(e.slice(0,r).flatMap(o=>o.tokens()),i)}}return!1}}return!1}function Ld(e,t){let r=kF(e,{onParseError:t==null?void 0:t.onParseError});return r.map((n,i)=>{let o=KV(n);return o===!1&&(t==null?void 0:t.preserveInvalidMediaQueries)===!0?new qk(r[i]):o}).filter(n=>!!n)}function ZV(e,t){return Ld(St({css:e},{onParseError:t==null?void 0:t.onParseError}),t)}function eQ(e,t){let r=[],n=e;for(let o=0;o<e.length;o++)if(!Et(e[o])){if(Ye(e[o])&&e[o][4].value.startsWith("--")){r=e.slice(0,o+1),n=e.slice(o+1);break}return!1}let i=!0;for(let o=0;o<n.length;o++)if(!Et(n[o])){if(Ye(n[o])){let a=n[o][4].value.toLowerCase();if(a==="false"||a==="true")continue}if(Kt(n[o]))break;i=!1}return i?new Uy(r,null,n):new Uy(r,Ld(Q8(n),t))}function tQ(e,t){return eQ(St({css:e},{onParseError:t==null?void 0:t.onParseError}),t)}function C3(e){return Rh.isGeneralEnclosed(e)}function rQ(e){return _k.isMediaFeatureBoolean(e)}function z3(e){return Uk.isMediaFeatureValue(e)}function Ii(e){return Vk.isMediaFeaturePlain(e)}function Gm(e){return A3(e)||N3(e)||nQ(e)}function A3(e){return $h.isMediaFeatureRangeNameValue(e)}function N3(e){return Qk.isMediaFeatureRangeValueName(e)}function nQ(e){return Yk.isMediaFeatureRangeValueNameValue(e)}function Ln(e){return Tc.isMediaFeature(e)}function iQ(e){return sd.isMediaQueryWithType(e)}function Fn(e){return qk.isMediaQueryInvalid(e)}var se,xr,Hr,sd,am,qk,Rh,E3,P3,I3,O3,Wk,_k,Uk,Vk,or,ar,Xr,Oi,$h,Qk,Yk,Tc,j3,T3,D3,L3,Gk,Uy,jC,Xt=y(()=>{Ct(),rt(),(function(e){e.CustomMedia="custom-media",e.GeneralEnclosed="general-enclosed",e.MediaAnd="media-and",e.MediaCondition="media-condition",e.MediaConditionListWithAnd="media-condition-list-and",e.MediaConditionListWithOr="media-condition-list-or",e.MediaFeature="media-feature",e.MediaFeatureBoolean="mf-boolean",e.MediaFeatureName="mf-name",e.MediaFeaturePlain="mf-plain",e.MediaFeatureRangeNameValue="mf-range-name-value",e.MediaFeatureRangeValueName="mf-range-value-name",e.MediaFeatureRangeValueNameValue="mf-range-value-name-value",e.MediaFeatureValue="mf-value",e.MediaInParens="media-in-parens",e.MediaNot="media-not",e.MediaOr="media-or",e.MediaQueryWithType="media-query-with-type",e.MediaQueryWithoutType="media-query-without-type",e.MediaQueryInvalid="media-query-invalid"})(se||(se={})),xr=class Vy{constructor(t){U(this,"type",se.MediaCondition);U(this,"media");this.media=t}tokens(){return this.media.tokens()}toString(){return this.media.toString()}hasLeadingSpace(){return this.media.hasLeadingSpace()}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,media:this.media.toJSON()}}isMediaCondition(){return Vy.isMediaCondition(this)}static isMediaCondition(t){return!!t&&t instanceof Vy&&t.type===se.MediaCondition}},Hr=class Qy{constructor(t,r=[],n=[]){U(this,"type",se.MediaInParens);U(this,"media");U(this,"before");U(this,"after");this.media=t,this.before=r,this.after=n}tokens(){return[...this.before,...this.media.tokens(),...this.after]}toString(){return ke(...this.before)+this.media.toString()+ke(...this.after)}hasLeadingSpace(){return this.before.length?Et(this.before[0]):this.media.hasLeadingSpace()}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&("walk"in this.media?this.media.walk(t,n):void 0)}toJSON(){return{type:this.type,media:this.media.toJSON(),before:this.before,after:this.after}}isMediaInParens(){return Qy.isMediaInParens(this)}static isMediaInParens(t){return!!t&&t instanceof Qy&&t.type===se.MediaInParens}},sd=class gn{constructor(t,r,n,i){U(this,"type",se.MediaQueryWithType);U(this,"modifier");U(this,"mediaType");U(this,"and");U(this,"media");this.modifier=t,this.mediaType=r,n&&i&&(this.and=n,this.media=i)}getModifier(){if(!this.modifier.length)return"";for(let t=0;t<this.modifier.length;t++){let r=this.modifier[t];if(Ye(r))return r[4].value}return""}negateQuery(){let t=this.getModifier().toLowerCase()==="not",r=this.getMediaType();return this.and&&this.media?t?[new gn([],[[z.Ident,r,-1,-1,{value:r}]]),new am(this.media)]:[new gn([[z.Ident,"not",-1,-1,{value:"not"}],[z.Whitespace," ",-1,-1,void 0]],[[z.Ident,r,-1,-1,{value:r}]]),...new am(this.media).negateQuery()]:t?[new gn([],[[z.Ident,r,-1,-1,{value:r}]])]:[new gn([[z.Ident,"not",-1,-1,{value:"not"}],[z.Whitespace," ",-1,-1,void 0]],[[z.Ident,r,-1,-1,{value:r}]])]}getMediaType(){if(!this.mediaType.length)return"";for(let t=0;t<this.mediaType.length;t++){let r=this.mediaType[t];if(Ye(r))return r[4].value}return""}tokens(){return this.and&&this.media?[...this.modifier,...this.mediaType,...this.and,...this.media.tokens()]:[...this.modifier,...this.mediaType]}toString(){return this.and&&this.media?ke(...this.modifier)+ke(...this.mediaType)+ke(...this.and)+this.media.toString():ke(...this.modifier)+ke(...this.mediaType)}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;if(r&&(n={...r}),this.media)return t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,string:this.toString(),modifier:this.modifier,mediaType:this.mediaType,and:this.and,media:this.media}}isMediaQueryWithType(){return gn.isMediaQueryWithType(this)}static isMediaQueryWithType(t){return!!t&&t instanceof gn&&t.type===se.MediaQueryWithType}},am=class sm{constructor(t){U(this,"type",se.MediaQueryWithoutType);U(this,"media");this.media=t}negateQuery(){let t=this.media;return t.media.type===se.MediaNot?[new sm(new xr(t.media.media))]:(t.media.type!==se.MediaConditionListWithOr&&t.media.type!==se.MediaConditionListWithAnd||(t=new xr(new Hr(t,[[z.Whitespace," ",-1,-1,void 0],[z.OpenParen,"(",-1,-1,void 0]],[[z.CloseParen,")",-1,-1,void 0]]))),"before"in t.media&&(t.media.hasLeadingSpace()||t.media.before.splice(0,0,[z.Whitespace," ",-1,-1,void 0])),[new sd([[z.Ident,"not",-1,-1,{value:"not"}],[z.Whitespace," ",-1,-1,void 0]],[[z.Ident,"all",-1,-1,{value:"all"}],[z.Whitespace," ",-1,-1,void 0]],[[z.Ident,"and",-1,-1,{value:"and"}]],t)])}tokens(){return this.media.tokens()}toString(){return this.media.toString()}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,string:this.toString(),media:this.media}}isMediaQueryWithoutType(){return sm.isMediaQueryWithoutType(this)}static isMediaQueryWithoutType(t){return!!t&&t instanceof sm&&t.type===se.MediaQueryWithoutType}},qk=class lm{constructor(t){U(this,"type",se.MediaQueryInvalid);U(this,"media");this.media=t}negateQuery(){return[new lm(this.media)]}tokens(){return this.media.flatMap(t=>t.tokens())}toString(){return this.media.map(t=>t.toString()).join("")}walk(t,r){if(this.media.length===0)return;let n=Ei(this.media),i=0;for(;i<this.media.length;){let o=this.media[i],a;if(r&&(a={...r}),t({node:o,parent:this,state:a},i)===!1||"walk"in o&&this.media.includes(o)&&o.walk(t,a)===!1)return!1;if(i=n(this.media,o,i),i===-1)break}}toJSON(){return{type:this.type,string:this.toString(),media:this.media}}isMediaQueryInvalid(){return lm.isMediaQueryInvalid(this)}static isMediaQueryInvalid(t){return!!t&&t instanceof lm&&t.type===se.MediaQueryInvalid}},Rh=class Yy{constructor(t){U(this,"type",se.GeneralEnclosed);U(this,"value");this.value=t}tokens(){return this.value.tokens()}toString(){return this.value.toString()}hasLeadingSpace(){return Et(this.value.tokens()[0])}indexOf(t){return t===this.value?"value":-1}at(t){if(t==="value")return this.value}walk(t,r){let n;return r&&(n={...r}),t({node:this.value,parent:this,state:n},"value")!==!1&&("walk"in this.value?this.value.walk(t,n):void 0)}toJSON(){return{type:this.type,tokens:this.tokens()}}isGeneralEnclosed(){return Yy.isGeneralEnclosed(this)}static isGeneralEnclosed(t){return!!t&&t instanceof Yy&&t.type===se.GeneralEnclosed}},E3=class Gy{constructor(t,r){U(this,"type",se.MediaAnd);U(this,"modifier");U(this,"media");this.modifier=t,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return ke(...this.modifier)+this.media.toString()}hasLeadingSpace(){return Et(this.modifier[0])}indexOf(t){return t===this.media?"media":-1}at(t){return t==="media"?this.media:null}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaAnd(){return Gy.isMediaAnd(this)}static isMediaAnd(t){return!!t&&t instanceof Gy&&t.type===se.MediaAnd}},P3=class Ky{constructor(t,r,n=[],i=[]){U(this,"type",se.MediaConditionListWithAnd);U(this,"leading");U(this,"list");U(this,"before");U(this,"after");this.leading=t,this.list=r,this.before=n,this.after=i}tokens(){return[...this.before,...this.leading.tokens(),...this.list.flatMap(t=>t.tokens()),...this.after]}toString(){return ke(...this.before)+this.leading.toString()+this.list.map(t=>t.toString()).join("")+ke(...this.after)}hasLeadingSpace(){return this.before.length?Et(this.before[0]):this.leading.hasLeadingSpace()}indexOf(t){return t===this.leading?"leading":t.type===se.MediaAnd?this.list.indexOf(t):-1}at(t){return t==="leading"?this.leading:typeof t=="number"?(t<0&&(t=this.list.length+t),this.list[t]):void 0}walk(t,r){let n;if(r&&(n={...r}),t({node:this.leading,parent:this,state:n},"leading")===!1||"walk"in this.leading&&this.leading.walk(t,n)===!1)return!1;if(this.list.length===0)return;let i=Ei(this.list),o=0;for(;o<this.list.length;){let a=this.list[o];if(r&&(n={...r}),t({node:a,parent:this,state:n},o)===!1||"walk"in a&&this.list.includes(a)&&a.walk(t,n)===!1)return!1;if(o=i(this.list,a,o),o===-1)break}}toJSON(){return{type:this.type,leading:this.leading.toJSON(),list:this.list.map(t=>t.toJSON()),before:this.before,after:this.after}}isMediaConditionListWithAnd(){return Ky.isMediaConditionListWithAnd(this)}static isMediaConditionListWithAnd(t){return!!t&&t instanceof Ky&&t.type===se.MediaConditionListWithAnd}},I3=class Hy{constructor(t,r,n=[],i=[]){U(this,"type",se.MediaConditionListWithOr);U(this,"leading");U(this,"list");U(this,"before");U(this,"after");this.leading=t,this.list=r,this.before=n,this.after=i}tokens(){return[...this.before,...this.leading.tokens(),...this.list.flatMap(t=>t.tokens()),...this.after]}toString(){return ke(...this.before)+this.leading.toString()+this.list.map(t=>t.toString()).join("")+ke(...this.after)}hasLeadingSpace(){return this.before.length?Et(this.before[0]):this.leading.hasLeadingSpace()}indexOf(t){return t===this.leading?"leading":t.type===se.MediaOr?this.list.indexOf(t):-1}at(t){return t==="leading"?this.leading:typeof t=="number"?(t<0&&(t=this.list.length+t),this.list[t]):void 0}walk(t,r){let n;if(r&&(n={...r}),t({node:this.leading,parent:this,state:n},"leading")===!1||"walk"in this.leading&&this.leading.walk(t,n)===!1)return!1;if(this.list.length===0)return;let i=Ei(this.list),o=0;for(;o<this.list.length;){let a=this.list[o];if(r&&(n={...r}),t({node:a,parent:this,state:n},o)===!1||"walk"in a&&this.list.includes(a)&&a.walk(t,n)===!1)return!1;if(o=i(this.list,a,o),o===-1)break}}toJSON(){return{type:this.type,leading:this.leading.toJSON(),list:this.list.map(t=>t.toJSON()),before:this.before,after:this.after}}isMediaConditionListWithOr(){return Hy.isMediaConditionListWithOr(this)}static isMediaConditionListWithOr(t){return!!t&&t instanceof Hy&&t.type===se.MediaConditionListWithOr}},O3=new Set(["abs","acos","asin","atan","atan2","calc","clamp","cos","exp","hypot","log","max","min","mod","pow","rem","round","sign","sin","sqrt","tan"]),Wk=class Xy{constructor(t,r=[],n=[]){U(this,"type",se.MediaFeatureName);U(this,"name");U(this,"before");U(this,"after");this.name=t,this.before=r,this.after=n}getName(){return this.name.value[4].value}getNameToken(){return this.name.value}tokens(){return[...this.before,...this.name.tokens(),...this.after]}toString(){return ke(...this.before)+this.name.toString()+ke(...this.after)}indexOf(t){return t===this.name?"name":-1}at(t){if(t==="name")return this.name}toJSON(){return{type:this.type,name:this.getName(),tokens:this.tokens()}}isMediaFeatureName(){return Xy.isMediaFeatureName(this)}static isMediaFeatureName(t){return!!t&&t instanceof Xy&&t.type===se.MediaFeatureName}},_k=class Jy{constructor(t){U(this,"type",se.MediaFeatureBoolean);U(this,"name");this.name=t}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return this.name.tokens()}toString(){return this.name.toString()}indexOf(t){return t===this.name?"name":-1}at(t){if(t==="name")return this.name}toJSON(){return{type:this.type,name:this.name.toJSON(),tokens:this.tokens()}}isMediaFeatureBoolean(){return Jy.isMediaFeatureBoolean(this)}static isMediaFeatureBoolean(t){return!!t&&t instanceof Jy&&t.type===se.MediaFeatureBoolean}},Uk=class Zy{constructor(t,r=[],n=[]){U(this,"type",se.MediaFeatureValue);U(this,"value");U(this,"before");U(this,"after");Array.isArray(t)&&t.length===1?this.value=t[0]:this.value=t,this.before=r,this.after=n}tokens(){return Array.isArray(this.value)?[...this.before,...this.value.flatMap(t=>t.tokens()),...this.after]:[...this.before,...this.value.tokens(),...this.after]}toString(){return Array.isArray(this.value)?ke(...this.before)+this.value.map(t=>t.toString()).join("")+ke(...this.after):ke(...this.before)+this.value.toString()+ke(...this.after)}indexOf(t){return t===this.value?"value":-1}at(t){return t==="value"?this.value:Array.isArray(this.value)&&typeof t=="number"?(t<0&&(t=this.value.length+t),this.value[t]):void 0}walk(t,r){if(Array.isArray(this.value)){if(this.value.length===0)return;let n=Ei(this.value),i=0;for(;i<this.value.length;){let o=this.value[i],a;if(r&&(a={...r}),t({node:o,parent:this,state:a},i)===!1||"walk"in o&&this.value.includes(o)&&o.walk(t,a)===!1)return!1;if(i=n(this.value,o,i),i===-1)break}}else{let n;if(r&&(n={...r}),t({node:this.value,parent:this,state:n},"value")===!1)return!1;if("walk"in this.value)return this.value.walk(t,n)}}toJSON(){return Array.isArray(this.value)?{type:this.type,value:this.value.map(t=>t.toJSON()),tokens:this.tokens()}:{type:this.type,value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureValue(){return Zy.isMediaFeatureValue(this)}static isMediaFeatureValue(t){return!!t&&t instanceof Zy&&t.type===se.MediaFeatureValue}},Vk=class ew{constructor(t,r,n){U(this,"type",se.MediaFeaturePlain);U(this,"name");U(this,"colon");U(this,"value");this.name=t,this.colon=r,this.value=n}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.name.tokens(),this.colon,...this.value.tokens()]}toString(){return this.name.toString()+ke(this.colon)+this.value.toString()}indexOf(t){return t===this.name?"name":t===this.value?"value":-1}at(t){return t==="name"?this.name:t==="value"?this.value:void 0}walk(t,r){let n;return r&&(n={...r}),t({node:this.value,parent:this,state:n},"value")!==!1&&this.value.walk(t,n)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeaturePlain(){return ew.isMediaFeaturePlain(this)}static isMediaFeaturePlain(t){return!!t&&t instanceof ew&&t.type===se.MediaFeaturePlain}},(function(e){e.LT="<",e.LT_OR_EQ="<="})(or||(or={})),(function(e){e.GT=">",e.GT_OR_EQ=">="})(ar||(ar={})),(function(e){e.EQ="="})(Xr||(Xr={})),$h=class tw{constructor(t,r,n){U(this,"type",se.MediaFeatureRangeNameValue);U(this,"name");U(this,"operator");U(this,"value");this.name=t,this.operator=r,this.value=n}operatorKind(){return Pi(this.operator)}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.name.tokens(),...this.operator,...this.value.tokens()]}toString(){return this.name.toString()+ke(...this.operator)+this.value.toString()}indexOf(t){return t===this.name?"name":t===this.value?"value":-1}at(t){return t==="name"?this.name:t==="value"?this.value:void 0}walk(t,r){let n;return r&&(n={...r}),t({node:this.value,parent:this,state:n},"value")!==!1&&("walk"in this.value?this.value.walk(t,n):void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeNameValue(){return tw.isMediaFeatureRangeNameValue(this)}static isMediaFeatureRangeNameValue(t){return!!t&&t instanceof tw&&t.type===se.MediaFeatureRangeNameValue}},Qk=class rw{constructor(t,r,n){U(this,"type",se.MediaFeatureRangeValueName);U(this,"name");U(this,"operator");U(this,"value");this.name=t,this.operator=r,this.value=n}operatorKind(){return Pi(this.operator)}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.value.tokens(),...this.operator,...this.name.tokens()]}toString(){return this.value.toString()+ke(...this.operator)+this.name.toString()}indexOf(t){return t===this.name?"name":t===this.value?"value":-1}at(t){return t==="name"?this.name:t==="value"?this.value:void 0}walk(t,r){let n;return r&&(n={...r}),t({node:this.value,parent:this,state:n},"value")!==!1&&("walk"in this.value?this.value.walk(t,n):void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeValueName(){return rw.isMediaFeatureRangeValueName(this)}static isMediaFeatureRangeValueName(t){return!!t&&t instanceof rw&&t.type===se.MediaFeatureRangeValueName}},Yk=class nw{constructor(t,r,n,i,o){U(this,"type",se.MediaFeatureRangeValueNameValue);U(this,"name");U(this,"valueOne");U(this,"valueOneOperator");U(this,"valueTwo");U(this,"valueTwoOperator");this.name=t,this.valueOne=r,this.valueOneOperator=n,this.valueTwo=i,this.valueTwoOperator=o}valueOneOperatorKind(){return Pi(this.valueOneOperator)}valueTwoOperatorKind(){return Pi(this.valueTwoOperator)}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.valueOne.tokens(),...this.valueOneOperator,...this.name.tokens(),...this.valueTwoOperator,...this.valueTwo.tokens()]}toString(){return this.valueOne.toString()+ke(...this.valueOneOperator)+this.name.toString()+ke(...this.valueTwoOperator)+this.valueTwo.toString()}indexOf(t){return t===this.name?"name":t===this.valueOne?"valueOne":t===this.valueTwo?"valueTwo":-1}at(t){return t==="name"?this.name:t==="valueOne"?this.valueOne:t==="valueTwo"?this.valueTwo:void 0}walk(t,r){let n;return r&&(n={...r}),t({node:this.valueOne,parent:this,state:n},"valueOne")!==!1&&(!("walk"in this.valueOne)||this.valueOne.walk(t,n)!==!1)&&(r&&(n={...r}),t({node:this.valueTwo,parent:this,state:n},"valueTwo")!==!1&&(!("walk"in this.valueTwo)||this.valueTwo.walk(t,n)!==!1)&&void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),valueOne:this.valueOne.toJSON(),valueTwo:this.valueTwo.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeValueNameValue(){return nw.isMediaFeatureRangeValueNameValue(this)}static isMediaFeatureRangeValueNameValue(t){return!!t&&t instanceof nw&&t.type===se.MediaFeatureRangeValueNameValue}},Tc=class iw{constructor(t,r=[],n=[]){U(this,"type",se.MediaFeature);U(this,"feature");U(this,"before");U(this,"after");this.feature=t,this.before=r,this.after=n}getName(){return this.feature.getName()}getNameToken(){return this.feature.getNameToken()}tokens(){return[...this.before,...this.feature.tokens(),...this.after]}toString(){return ke(...this.before)+this.feature.toString()+ke(...this.after)}hasLeadingSpace(){return Et(this.before[0])}indexOf(t){return t===this.feature?"feature":-1}at(t){if(t==="feature")return this.feature}walk(t,r){let n;return r&&(n={...r}),t({node:this.feature,parent:this,state:n},"feature")!==!1&&("walk"in this.feature?this.feature.walk(t,n):void 0)}toJSON(){return{type:this.type,feature:this.feature.toJSON(),before:this.before,after:this.after}}isMediaFeature(){return iw.isMediaFeature(this)}static isMediaFeature(t){return!!t&&t instanceof iw&&t.type===se.MediaFeature}},j3=class ow{constructor(t,r){U(this,"type",se.MediaNot);U(this,"modifier");U(this,"media");this.modifier=t,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return ke(...this.modifier)+this.media.toString()}hasLeadingSpace(){return this.modifier.length?Et(this.modifier[0]):this.media.hasLeadingSpace()}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaNot(){return ow.isMediaNot(this)}static isMediaNot(t){return!!t&&t instanceof ow&&t.type===se.MediaNot}},T3=class aw{constructor(t,r){U(this,"type",se.MediaOr);U(this,"modifier");U(this,"media");this.modifier=t,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return ke(...this.modifier)+this.media.toString()}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaOr(){return aw.isMediaOr(this)}static isMediaOr(t){return!!t&&t instanceof aw&&t.type===se.MediaOr}},(function(e){e.Not="not",e.Only="only"})(Oi||(Oi={})),D3=/^not$/i,L3=/^or$/i,Gk=/^and$/i,Uy=class sw{constructor(t,r,n){U(this,"type",se.CustomMedia);U(this,"name");U(this,"mediaQueryList",null);U(this,"trueOrFalseKeyword",null);this.name=t,this.mediaQueryList=r,this.trueOrFalseKeyword=n!=null?n:null}getName(){for(let t=0;t<this.name.length;t++){let r=this.name[t];if(Ye(r))return r[4].value}return""}getNameToken(){for(let t=0;t<this.name.length;t++){let r=this.name[t];if(Ye(r))return r}return null}hasMediaQueryList(){return!!this.mediaQueryList}hasTrueKeyword(){if(!this.trueOrFalseKeyword)return!1;for(let t=0;t<this.trueOrFalseKeyword.length;t++){let r=this.trueOrFalseKeyword[t];if(!Et(r))return!!Ye(r)&&r[4].value.toLowerCase()==="true"}return!1}hasFalseKeyword(){if(!this.trueOrFalseKeyword)return!1;for(let t=0;t<this.trueOrFalseKeyword.length;t++){let r=this.trueOrFalseKeyword[t];if(!Et(r))return!!Ye(r)&&r[4].value.toLowerCase()==="false"}return!1}tokens(){if(this.trueOrFalseKeyword)return[...this.name,...this.trueOrFalseKeyword];if(!this.mediaQueryList)return[...this.name];let t=[];for(let r=0;r<this.mediaQueryList.length;r++){let n=this.mediaQueryList[r];r!==0&&t.push([z.Comma,",",-1,-1,void 0]),t.push(...n.tokens())}return[...this.name,...t]}toString(){return ke(...this.tokens())}toJSON(){var t;return{type:this.type,string:this.toString(),nameValue:this.getName(),name:this.name,hasFalseKeyword:this.hasFalseKeyword(),hasTrueKeyword:this.hasTrueKeyword(),trueOrFalseKeyword:this.trueOrFalseKeyword,mediaQueryList:(t=this.mediaQueryList)==null?void 0:t.map(r=>r.toJSON())}}isCustomMedia(){return sw.isCustomMedia(this)}static isCustomMedia(t){return!!t&&t instanceof sw&&t.type===se.CustomMedia}},(function(e){e.All="all",e.Print="print",e.Screen="screen",e.Tty="tty",e.Tv="tv",e.Projection="projection",e.Handheld="handheld",e.Braille="braille",e.Embossed="embossed",e.Aural="aural",e.Speech="speech"})(jC||(jC={}))});function Kk(e,t){let r=St({css:e});return kF(r).flatMap(n=>n.flatMap(i=>{if(!Dr(i)||i.startToken[0]!==z.OpenParen)return[];let o=i.tokens();return Ld(o,{preserveInvalidMediaQueries:!0}).filter(a=>!Fn(a))})).forEach(n=>{n.walk(({node:i})=>{if(Ln(i)){let o=i.getNameToken();if(o[0]!==z.Ident)return;t(o)}C3(i)&&oQ(i).forEach((o,a,s)=>{if(o[0]!==z.Ident)return;let l=s[a+1],u=s[a-1];(!u&&l&&l[0]===z.Colon||l&&l[0]===z.Delim&&lw.test(l[4].value)||u&&u[0]===z.Delim&&lw.test(u[4].value))&&t(o)})})}),{stringify(){return ke(...r)}}}function oQ(e){let t=e.value.value;if(rd(t)||t.length===0||rd(t[0]))return[];let r=[];return t.filter(le).forEach((n,i,o)=>{let[a,,,,]=n.value;TC(n)||a===z.Ident&&TC(o[i-1])||DC(n)||a===z.Ident&&DC(o[i+1])||r.push(n.value)}),r}function TC(e){return e&&e.value[0]===z.Delim&&e.value[4].value==="$"}function DC(e){return e&&e.value[0]===z.Delim&&e.value[4].value==="."}var lw,Hk=y(()=>{rt(),Xt(),Ct(),lw=/[<>=]/});function Zi(e){return e.startsWith("--")}var Fd=y(()=>{}),F3={};A(F3,{default:()=>M3});var Ws,Xg,LC,Zn,M3,aQ=y(()=>{q(),J(),V(),Hk(),lt(),Fd(),Le(),I(),j(),D(),Ws="media-feature-name-allowed-list",Xg=O(Ws,{rejected:e=>`Disallowed media feature name "${e}"`}),LC={url:"https://stylelint.io/user-guide/rules/media-feature-name-allowed-list"},Zn=e=>(t,r)=>{T(r,Ws,{actual:e,possible:[$,_]})&&t.walkAtRules(Se.mediaName,n=>{Kk(st(n),i=>{let[,,o,a,{value:s}]=i;if(Zi(s)||Pe(s,e))return;let l=je(n);P({message:Xg.rejected,messageArgs:[s],node:n,index:l+o,endIndex:l+a+1,ruleName:Ws,result:r})})})},Zn.primaryOptionArray=!0,Zn.ruleName=Ws,Zn.messages=Xg,Zn.meta=LC,M3=Zn}),R3={};A(R3,{default:()=>$3});var _s,Jg,FC,ei,$3,sQ=y(()=>{q(),J(),V(),Hk(),lt(),Fd(),Le(),I(),j(),D(),_s="media-feature-name-disallowed-list",Jg=O(_s,{rejected:e=>`Disallowed media feature name "${e}"`}),FC={url:"https://stylelint.io/user-guide/rules/media-feature-name-disallowed-list"},ei=e=>(t,r)=>{T(r,_s,{actual:e,possible:[$,_]})&&t.walkAtRules(Se.mediaName,n=>{Kk(st(n),i=>{let[,,o,a,{value:s}]=i;if(Zi(s)||!Pe(s,e))return;let l=je(n);P({message:Jg.rejected,messageArgs:[s],node:n,index:l+o,endIndex:l+a+1,ruleName:_s,result:r})})})},ei.primaryOptionArray=!0,ei.ruleName=_s,ei.messages=Jg,ei.meta=FC,$3=ei}),Zg,Dc,MC,RC,Xk,B3,um,Bh=y(()=>{ro(),Zg=new Set(["device-aspect-ratio","device-height","device-width"]),Dc=Ce(Zg,["aspect-ratio","color","color-index","height","horizontal-viewport-segments","monochrome","resolution","vertical-viewport-segments","width"]),MC=new Set([...Dc].flatMap(e=>[`min-${e}`,`max-${e}`])),RC=new Set(["any-hover","any-pointer","color-gamut","display-mode","dynamic-range","environment-blending","forced-colors","grid","hover","inverted-colors","light-level","nav-controls","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-data","prefers-reduced-motion","prefers-reduced-transparency","scan","scripting","update","video-color-gamut","video-dynamic-range"]),Xk=Ce(Zg,Dc,MC,RC),B3=new Map([["any-hover",new Set(["none","hover"])],["any-pointer",new Set(["none","coarse","fine"])],["color-gamut",new Set(["srgb","p3","rec2020"])],["display-mode",new Set(["fullscreen","standalone","minimal-ui","browser","picture-in-picture"])],["dynamic-range",new Set(["standard","high"])],["environment-blending",new Set(["opaque","additive","subtractive"])],["forced-colors",new Set(["none","active"])],["hover",new Set(["none","hover"])],["inverted-colors",new Set(["none","inverted"])],["nav-controls",new Set(["none","back"])],["orientation",new Set(["portrait","landscape"])],["overflow-block",new Set(["none","scroll","paged"])],["overflow-inline",new Set(["none","scroll"])],["pointer",new Set(["none","coarse","fine"])],["prefers-color-scheme",new Set(["light","dark"])],["prefers-contrast",new Set(["no-preference","less","more","custom"])],["prefers-reduced-data",new Set(["no-preference","reduce"])],["prefers-reduced-motion",new Set(["no-preference","reduce"])],["prefers-reduced-transparency",new Set(["no-preference","reduce"])],["resolution",new Set(["infinite"])],["scan",new Set(["interlace","progressive"])],["scripting",new Set(["none","initial-only","enabled"])],["update",new Set(["none","slow","fast"])],["video-color-gamut",new Set(["srgb","p3","rec2020"])],["video-dynamic-range",new Set(["standard","high"])]]),um=new Map([["aspect-ratio",new Set(["ratio"])],["color",new Set(["integer"])],["color-index",new Set(["integer"])],["device-aspect-ratio",new Set(["ratio"])],["device-height",new Set(["length"])],["device-width",new Set(["length"])],["grid",new Set(["mq-boolean"])],["height",new Set(["length"])],["horizontal-viewport-segments",new Set(["integer"])],["monochrome",new Set(["integer"])],["resolution",new Set(["resolution"])],["vertical-viewport-segments",new Set(["integer"])],["width",new Set(["length"])]])}),q3={};A(q3,{default:()=>W3});var Us,eb,$C,Vs,W3,lQ=y(()=>{q(),J(),V(),Hk(),lt(),Fd(),Bh(),K(),I(),j(),D(),Dt(),Us="media-feature-name-no-unknown",eb=O(Us,{rejected:e=>`Unknown media feature name "${e}"`}),$C={url:"https://stylelint.io/user-guide/rules/media-feature-name-no-unknown"},Vs=(e,t)=>(r,n)=>{T(n,Us,{actual:e},{actual:t,possible:{ignoreMediaFeatureNames:[$,_]},optional:!0})&&r.walkAtRules(Se.mediaName,i=>{Kk(st(i),o=>{let[,,a,s,{value:l}]=o;if(Zi(l)||F(t,"ignoreMediaFeatureNames",l)||Xe.prefix(l)||Xk.has(l.toLowerCase()))return;let u=je(i);P({message:eb.rejected,messageArgs:[l],node:i,index:u+a,endIndex:u+s+1,ruleName:Us,result:n})})})},Vs.ruleName=Us,Vs.messages=eb,Vs.meta=$C,W3=Vs}),_3={};A(_3,{default:()=>U3});var Qs,tb,BC,qC,Ys,U3,uQ=y(()=>{q(),V(),bd(),K(),I(),j(),D(),Qs="media-feature-name-no-vendor-prefix",tb=O(Qs,{rejected:"Vendor-prefixed media feature name"}),BC={url:"https://stylelint.io/user-guide/rules/media-feature-name-no-vendor-prefix",fixable:!0},qC=["-webkit-device-pixel-ratio","-webkit-min-device-pixel-ratio","-webkit-max-device-pixel-ratio","-o-device-pixel-ratio","-o-min-device-pixel-ratio","-o-max-device-pixel-ratio","-moz-device-pixel-ratio","min--moz-device-pixel-ratio","max--moz-device-pixel-ratio"],Ys=(e,t)=>(r,n)=>{T(n,Qs,{actual:e},{optional:!0,actual:t,possible:{ignoreMediaFeatureNames:[$,_]}})&&r.walkAtRules(Se.mediaName,i=>{let o=i.params;if(!zr.mediaFeatureName(o))return;let a=i.toString().match(new RegExp(`${qC.join("|")}`,"gi"));if(a)for(let s of a){if(F(t,"ignoreMediaFeatureNames",s))continue;let l=()=>{let u=s.replace(/-moz-|-o-|-webkit-/i,"");i.params=i.params.replace(s,u)};P({message:tb.rejected,messageArgs:[],node:i,word:s,result:n,ruleName:Qs,fix:{apply:l,node:i}})}})},Ys.ruleName=Qs,Ys.messages=tb,Ys.meta=BC,U3=Ys});function Mn(e){return ZV(st(e),{preserveInvalidMediaQueries:!0})}var Rn=y(()=>{Xt(),lt()}),V3={};A(V3,{default:()=>Q3});var Gs,rb,WC,Ks,Q3,cQ=y(()=>{Xt(),rt(),Ct(),V(),J(),q(),Le(),Rn(),I(),j(),Ht(),D(),Gs="media-feature-name-unit-allowed-list",rb=O(Gs,{rejected:(e,t)=>`Disallowed unit "${e}" for name "${t}"`}),WC={url:"https://stylelint.io/user-guide/rules/media-feature-name-unit-allowed-list"},Ks=e=>(t,r)=>{if(!T(r,Gs,{actual:e,possible:[Bt($)]}))return;let n=Object.entries(e),i=o=>{for(let[a,s]of n)if(Pe(o,a))return[s].flat()};t.walkAtRules(Se.mediaName,o=>{Q.dimension.test(o.params)&&Mn(o).forEach(a=>{if(Fn(a))return;let s={mediaFeatureName:"",unitList:void 0};a.walk(({node:l,state:u})=>{if(!u)return;if(Ii(l)||Gm(l)){u.mediaFeatureName=l.getName(),u.unitList=i(u.mediaFeatureName);return}if(!le(l))return;let{mediaFeatureName:c,unitList:d}=u;if(!c||!d)return;let[p,,m,v,h]=l.value;if(p!==z.Dimension||d.includes(h.unit.toLowerCase()))return;let b=je(o);P({message:rb.rejected,messageArgs:[h.unit,c],node:o,index:b+m,endIndex:b+v+1,result:r,ruleName:Gs})},s)})})},Ks.ruleName=Gs,Ks.messages=rb,Ks.meta=WC,Q3=Ks}),Y3={};A(Y3,{default:()=>G3});var Hs,nb,_C,Xs,G3,dQ=y(()=>{Xt(),Ct(),q(),J(),V(),Le(),K(),Rn(),I(),j(),Ht(),D(),Hs="media-feature-name-value-allowed-list",nb=O(Hs,{rejected:(e,t)=>`Disallowed value "${t}" for name "${e}"`}),_C={url:"https://stylelint.io/user-guide/rules/media-feature-name-value-allowed-list"},Xs=e=>(t,r)=>{T(r,Hs,{actual:e,possible:[Bt($,_)]})&&t.walkAtRules(Se.mediaName,n=>{Mn(n).forEach(i=>{if(Fn(i))return;let o={mediaFeatureName:""};i.walk(({node:a,state:s})=>{if(!s)return;if(Ln(a)){s.mediaFeatureName=a.getName();return}if(!z3(a))return;let{mediaFeatureName:l}=s;if(!l)return;let u=[a.value].flat(),c=u.map(h=>h.toString()).join(""),d=Object.keys(e).find(h=>Pe(l,h));if(d==null||F(e,d,c))return;let p=je(n),[m,v]=Wt(u);P({index:p+m,endIndex:p+v+1,message:nb.rejected,messageArgs:[l,c],node:n,ruleName:Hs,result:r})},o)})})},Xs.ruleName=Hs,Xs.messages=nb,Xs.meta=_C,G3=Xs}),K3={};A(K3,{default:()=>H3});var Js,ib,UC,VC,Zs,H3,pQ=y(()=>{rt(),Ct(),Xt(),oo(),Bh(),Ir(),q(),J(),V(),FF(),Rn(),I(),j(),Ht(),D(),Dt(),Js="media-feature-name-value-no-unknown",ib=O(Js,{rejected:(e,t)=>`Unknown media feature value "${t}" for name "${e}"`}),UC=/^(?:min|max)-/i,VC={url:"https://stylelint.io/user-guide/rules/media-feature-name-value-no-unknown"},Zs=(e,t)=>(r,n)=>{if(!T(n,Js,{actual:e},{actual:t,possible:{ignoreMediaFeatureNameValues:[Bt($,_)]},optional:!0}))return;let i=(u,c)=>LF(t,"ignoreMediaFeatureNameValues",u,c);function o(u,c,d){var x;let[p,m,v,h,b]=c,{mediaFeatureName:g}=u;if(p===z.Ident){let w=Xe.unprefixed(b.value.toLowerCase());if(i(g,w)||(x=B3.get(g))!=null&&x.has(w))return;d(u,m,v,h);return}let f=um.get(g);if(!f){d(u,m,v,h);return}if(p===z.Number){if(b.type===re.Integer){if(f.has("integer")||f.has("ratio")||b.value===0&&(f.has("length")||f.has("resolution")||f.has("mq-boolean"))||b.value===1&&f.has("mq-boolean"))return;d(u,m,v,h);return}if(f.has("ratio")||b.value===0&&(f.has("length")||f.has("resolution")))return;d(u,m,v,h);return}if(p===z.Dimension){let w=b.unit.toLowerCase();if(f.has("resolution")&&Rv.has(w)||f.has("length")&&qi.has(w))return;d(u,m,v,h)}}function a(u,c,d){let p=c.getName().toLowerCase();if(p==="env")return;let m=um.get(u.mediaFeatureName);m&&io.has(p)&&(m.has("integer")||m.has("length")||m.has("ratio")||m.has("resolution"))||d(u,c.toString(),...Wt(c))}function s(u,c,d){let p=um.get(u.mediaFeatureName);p&&p.has("ratio")&&y3(c)!==-1||d(u,c.map(m=>m.toString()).join(""),...Wt(c))}function l(u,c,d){if(le(c.value)){o(u,c.value.value,d);return}if(He(c.value)){a(u,c.value,d);return}Array.isArray(c.value)&&s(u,c.value,d)}r.walkAtRules(Se.mediaName,u=>{let c=(p,m,v,h)=>{let b=je(u);P({message:ib.rejected,messageArgs:[p.mediaFeatureNameRaw,m],index:b+v,endIndex:b+h+1,node:u,ruleName:Js,result:n})},d={mediaFeatureName:"",mediaFeatureNameRaw:""};Mn(u).forEach(p=>{Fn(p)||p.walk(({node:m,state:v})=>{if(v){if(Ln(m)){let h=m.getName(),b=Xe.unprefixed(h.toLowerCase());if(!Xk.has(b))return;b=b.replace(UC,""),v.mediaFeatureName=b,v.mediaFeatureNameRaw=h;return}!v.mediaFeatureName||!v.mediaFeatureNameRaw||z3(m)&&l(v,m,c)}},d)})})},Zs.ruleName=Js,Zs.messages=ib,Zs.meta=VC,H3=Zs}),X3={};A(X3,{default:()=>J3});var el,ob,QC,tl,J3,mQ=y(()=>{Xt(),Ct(),rt(),J(),V(),K(),Rn(),Bh(),I(),j(),D(),el="media-feature-range-notation",ob=O(el,{expected:e=>`Expected "${e}" media feature range notation`}),QC={url:"https://stylelint.io/user-guide/rules/media-feature-range-notation",fixable:!0},tl=(e,t)=>(r,n)=>{if(!T(n,el,{actual:e,possible:["prefix","context"]},{actual:t,possible:{except:["exact-value"]},optional:!0}))return;let i=F(t,"except","exact-value"),o;i||(e==="prefix"?o=/[<>]/:e==="context"&&(o=/(?:min|max)-/i)),r.walkAtRules(Se.mediaName,a=>{if(o&&!o.test(a.params))return;let s=Mn(a);s.forEach(l=>{Fn(l)||l.walk(({node:u,parent:c})=>{if(!Gm(u)&&!Ii(u))return;let d=u.getName(),p=d.replace(/^(?:min|max)-/i,"");if(!Dc.has(p))return;let m=e;if(i){let x=(A3(u)||N3(u))&&u.operator.length===1&&u.operator[0][1]==="=",w=Ii(u)&&d.length===p.length;(x||w)&&(m=e==="prefix"?"context":"prefix")}if(m==="prefix"&&Ii(u)||m==="context"&&Gm(u))return;let v=x=>()=>{let w;/^min-/i.test(d)?w=[[z.Delim,">",-1,-1,{value:">"}],[z.Delim,"=",-1,-1,{value:"="}]]:/^max-/i.test(d)?w=[[z.Delim,"<",-1,-1,{value:"<"}],[z.Delim,"=",-1,-1,{value:"="}]]:w=[[z.Delim,"=",-1,-1,{value:"="}]],x.parent.feature=new $h(new Wk(new pe([z.Ident,p,-1,-1,{value:p}]),x.node.name.before,x.node.name.after.length>0?x.node.name.after:[[z.Whitespace," ",-1,-1,void 0]]),w,x.node.value);let k=s.map(S=>S.toString()).join(",");k!==a.params&&(a.params=k)},h=m==="context"&&Ii(u)&&Ln(c)?v({node:u,parent:c}):void 0,[b,g]=Wt(u),f=je(a);P({message:ob.expected,messageArgs:[m],node:a,index:f+b-1,endIndex:f+g+1+1,result:n,ruleName:el,fix:{apply:h,node:a}})})})})},tl.ruleName=el,tl.messages=ob,tl.meta=QC,J3=tl}),Z3={};A(Z3,{default:()=>eR});function YC(e,t){if(!(t!=null&&t.ignoreFunctions))return!1;let r=!1;return e.walk(({node:n})=>{if(He(n)&&(r=F(t,"ignoreFunctions",n.getName()),r))return!1}),r}var rl,ab,GC,sb,KC,nl,eR,hQ=y(()=>{Ct(),Xt(),q(),J(),V(),Fd(),K(),Rn(),Bh(),I(),j(),D(),rl="media-query-no-invalid",ab=O(rl,{rejected:(e,t)=>t?`Invalid media query "${e}", ${t}`:`Invalid media query "${e}"`}),GC={custom:"custom media queries can only be used in boolean queries",min_max_in_range:'"min-" and "max-" prefixes are not needed when using range queries',min_max_in_boolean:'"min-" and "max-" prefixes are not needed in boolean queries',discrete:"discrete features can only be used in plain and boolean queries"},sb=/^(?:min|max)-/i,KC={url:"https://stylelint.io/user-guide/rules/media-query-no-invalid"},nl=(e,t)=>(r,n)=>{if(!T(n,rl,{actual:e},{actual:t,possible:{ignoreFunctions:[$,_]},optional:!0}))return;r.walkAtRules(Se.mediaName,o=>{let a=je(o);Mn(o).forEach(s=>{if(Fn(s)){if(YC(s,t))return;i(o,a,s);return}s.walk(({node:l,parent:u})=>{if(C3(l)){if(YC(s,t))return;i(o,a,l);return}if(Ii(l)){let c=l.getName();if(Zi(c)){i(o,a,u,"custom");return}return}if(Gm(l)){let c=l.getName().toLowerCase();if(Zi(c)){i(o,a,u,"custom");return}if(sb.test(c)){i(o,a,u,"min_max_in_range");return}if(!Dc.has(c)){i(o,a,u,"discrete");return}return}if(rQ(l)){let c=l.getName();sb.test(c)&&i(o,a,u,"min_max_in_boolean")}})})});function i(o,a,s,l){let[u,c]=Wt(s);P({message:ab.rejected,messageArgs:[s.toString(),l?GC[l]:""],index:a+u,endIndex:a+c+1,node:o,ruleName:rl,result:n})}},nl.ruleName=rl,nl.messages=ab,nl.meta=KC,eR=nl}),tR={};A(tR,{default:()=>rR});var il,lb,HC,ol,rR,fQ=y(()=>{V(),q(),J(),AN(),Xt(),et(),rt(),K(),Rn(),I(),j(),Ct(),D(),il="media-type-no-deprecated",lb=O(il,{rejected:e=>`Deprecated media type "${e}"`}),HC={url:"https://stylelint.io/user-guide/rules/media-type-no-deprecated"},ol=(e,t)=>(r,n)=>{T(n,il,{actual:e},{actual:t,possible:{ignoreMediaTypes:[$,_]},optional:!0})&&r.walkAtRules(Se.mediaName,i=>{!Ze(i)||!Q.deprecatedMediaType.test(i.params)||Mn(i).forEach(o=>{if(!iQ(o))return;let a=o.getMediaType();if(!qw.has(a.toLowerCase())||F(t,"ignoreMediaTypes",a))return;let s=je(i),[l,u]=Wt({tokens:()=>o.mediaType.filter(Ye)});P({message:lb.rejected,messageArgs:[a],node:i,index:s+l,endIndex:s+u+1,ruleName:il,result:n})})})},ol.ruleName=il,ol.messages=lb,ol.meta=HC,rR=ol});function gQ(e,t){let r=e.map(n=>{let i=[],o=n.indexOf(t);for(;o!==-1;)i.push(o),o=n.indexOf(t,o+1);return i});for(let n=0;n<r.length;n++)for(let i=n+1;i<r.length;i++){let o=r[n],a=r[i];if(!(o&&o.length===0||a&&a.length===0)&&!Ew(o,a))return!1}return!0}function bQ(e){let t=new Set(e.flat());return t.delete("."),[...t]}function vQ(e){return bQ(e).filter(t=>!gQ(e,t))}var yQ=y(()=>{Pw()}),nR={};A(nR,{default:()=>iR});var XC,al,sl,JC,ll,iR,wQ=y(()=>{XC=X(ue(),1),q(),J(),yQ(),_e(),V(),I(),j(),D(),al="named-grid-areas-no-invalid",sl=O(al,{expectedToken:()=>"Expected cell token within string",expectedSameNumber:()=>"Expected same number of cell tokens in each string",expectedRectangle:e=>`Expected single filled-in rectangle for "${e}"`}),JC={url:"https://stylelint.io/user-guide/rules/named-grid-areas-no-invalid"},ll=e=>(t,r)=>{T(r,al,{actual:e})&&t.walkDecls(dr.gridAreaNames,n=>{let{value:i}=n;if(!Be(i)||i.toLowerCase().trim()==="none")return;let o=[],a=!1;if((0,XC.default)(i).walk(({sourceIndex:d,sourceEndIndex:p,type:m,value:v})=>{if(m==="string"){if(v===""){c(sl.expectedToken,[],d,p),a=!0;return}o.push({values:v.trim().split(/\s+/).filter(Boolean),index:d,endIndex:p})}}),a)return;let[s]=o;if(s===void 0)return;let l=o.find(d=>d.values.length!==s.values.length);if(l!==void 0){c(sl.expectedSameNumber,[],l.index,l.endIndex);return}let u=vQ(o.map(d=>d.values));for(let d of u.sort()){let p=o.find(m=>m.values.includes(d));$e(p),c(sl.expectedRectangle,[d],p.index,p.endIndex)}function c(d,p,m,v){let h=ne(n);P({message:d,messageArgs:p,node:n,index:h+m,endIndex:h+v,result:r,ruleName:al})}})},ll.ruleName=al,ll.messages=sl,ll.meta=JC,iR=ll});function uw(e,t){let{inline:r=!1}=t||{},n=e;for(;n;){if(Cv(n))return!0;if("document"in n&&n.document instanceof rE&&Cv(n.document))return r&&n.source&&"inline"in n.source?!!n.source.inline:!0;if(!n.parent)break;n=n.parent}return!1}var oR=y(()=>{gd(),me()}),aR={};A(aR,{default:()=>sR});function ZC(e,t){let r=e.parent;for(;r;){if(r.type==="rule"||r.type==="atrule"&&r.name==="scope"||r.type==="atrule"&&F(t,"ignoreAtRules",r.name))return!0;if(r.type==="root")return!1;r=r.parent}return!1}var ul,ub,e2,cl,sR,kQ=y(()=>{On(),V(),q(),J(),lt(),we(),oR(),et(),de(),K(),I(),j(),D(),ul="nesting-selector-no-missing-scoping-root",ub=O(ul,{rejected:"Missing scoping root"}),e2={url:"https://stylelint.io/user-guide/rules/nesting-selector-no-missing-scoping-root"},cl=(e,t)=>(r,n)=>{if(!T(n,ul,{actual:e,possible:[!0]},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0}))return;r.walkRules(Q.nestingSelector,o=>{if(uw(o)||!ce(o)||ZC(o,t))return;let a;try{a=qr(be(o),{context:"selectorList",positions:!0})}catch{return}i(o,a)}),r.walkAtRules(Se.scopeName,o=>{if(uw(o)||!Ze(o)||!Q.nestingSelector.test(o.params)||ZC(o,t))return;let a;try{a=qr(st(o),{atrule:"scope",context:"atrulePrelude",positions:!0})}catch{return}i(o,a,je(o))});function i(o,a,s=0){Ni(a,{enter(l){if(l.type!=="NestingSelector"||!l.loc)return;let u=s+l.loc.start.offset,c=u+1;P({message:ub.rejected,node:o,result:n,ruleName:ul,index:u,endIndex:c})}})}},cl.ruleName=ul,cl.messages=ub,cl.meta=e2,sR=cl});function Jk(e,t){return e.a===t.a?e.b===t.b?e.c-t.c:e.b-t.b:e.a-t.a}function kn(e,t){var a,s;let r=(a=t==null?void 0:t.customSpecificity)==null?void 0:a.call(t,e);if(r)return r;if(!e)return{a:0,b:0,c:0};let n=0,i=0,o=0;if(e.type=="universal")return{a:0,b:0,c:0};if(e.type==="id")n+=1;else if(e.type==="tag")o+=1;else if(e.type==="class")i+=1;else if(e.type==="attribute")i+=1;else if(xQ(e))switch(e.value.toLowerCase()){case"::slotted":if(o+=1,e.nodes&&e.nodes.length>0){let l=Mp(e.nodes,t);n+=l.a,i+=l.b,o+=l.c}break;case"::view-transition-group":case"::view-transition-image-pair":case"::view-transition-old":case"::view-transition-new":return e.nodes&&e.nodes.length===1&&e.nodes[0].type==="selector"&&SQ(e.nodes[0])?{a:0,b:0,c:0}:{a:0,b:0,c:1};default:o+=1}else if(Lc.default.isPseudoClass(e))switch(e.value.toLowerCase()){case":-webkit-any":case":any":default:i+=1;break;case":-moz-any":case":has":case":is":case":matches":case":not":if(e.nodes&&e.nodes.length>0){let l=Mp(e.nodes,t);n+=l.a,i+=l.b,o+=l.c}break;case":where":break;case":nth-child":case":nth-last-child":if(i+=1,e.nodes&&e.nodes.length>0){let l=e.nodes[0].nodes.findIndex(u=>u.type==="tag"&&u.value.toLowerCase()==="of");if(l>-1){let u=Lc.default.selector({nodes:[],value:""});e.nodes[0].nodes.slice(l+1).forEach(p=>{u.append(p.clone())});let c=[u];e.nodes.length>1&&c.push(...e.nodes.slice(1));let d=Mp(c,t);n+=d.a,i+=d.b,o+=d.c}}break;case":local":case":global":e.nodes&&e.nodes.length>0&&e.nodes.forEach(l=>{let u=kn(l,t);n+=u.a,i+=u.b,o+=u.c});break;case":host":case":host-context":if(i+=1,e.nodes&&e.nodes.length>0){let l=Mp(e.nodes,t);n+=l.a,i+=l.b,o+=l.c}break;case":active-view-transition":case":active-view-transition-type":return{a:0,b:1,c:0}}else Lc.default.isContainer(e)&&((s=e.nodes)==null?void 0:s.length)>0&&e.nodes.forEach(l=>{let u=kn(l,t);n+=u.a,i+=u.b,o+=u.c});return{a:n,b:i,c:o}}function Mp(e,t){let r={a:0,b:0,c:0};return e.forEach(n=>{let i=kn(n,t);Jk(i,r)<0||(r=i)}),r}function xQ(e){return Lc.default.isPseudoElement(e)}function SQ(e){if(!e||!e.nodes)return!1;let t=e.nodes.filter(r=>r.type!=="comment");return t.length===0||t.length===1&&t[0].type==="universal"}var Lc,lR=y(()=>{Lc=X(dt(),1)});function Zk(e){let t=e.parent;return t?Oe(t)?t:it(t)?Zk(t):null:null}var uR=y(()=>{me()});function cR(){let e=new Map;return{getContext(t,...r){if(!t.source)throw new Error("The node source must be present");let n=t.source.input.from,i=t2(e,n);return r.reduce((o,a)=>t2(o,a),i)}}}function t2(e,t){return e.has(t)||e.set(t,new Map),e.get(t)}var dR=y(()=>{});function Cc(e,t){let r=cw.get(e);if(r){let s=r.get(t);if(s)return s}else r=new Map,cw.set(e,r);let n=e.toString(),i=ki.get(n);if(i)return r.set(t,i),i;let o=CQ(e.clone()),a={node:o,string:o.toString()};if(r.set(t,a),ki.size>=mR){let s=ki.keys().next().value;s!==void 0&&ki.delete(s)}return ki.set(n,a),a}function CQ(e){return i2(e),r2(e),e.walk(t=>{i2(t),r2(t)}),pR(e),e}function r2(e){if(nr.default.isComment(e)){e.remove();return}e.rawSpaceBefore="",e.rawSpaceAfter="",e.spaces.before="",e.spaces.after="",nr.default.isAttribute(e)&&(delete e.spaces.insensitive,delete e.spaces.operator,delete e.spaces.attribute,delete e.spaces.value,delete e.raws.spaces)}function pR(e){if(nr.default.isContainer(e)){if(e.each(pR),nr.default.isRoot(e)||nr.default.isPseudoClass(e)||nr.default.isPseudoElement(e)){let t=e.nodes.map(i=>({node:i,string:i.toString()}));t.sort((i,o)=>i.string.localeCompare(o.string));let r=new Set,n=new Map;t.forEach((i,o)=>{r.has(i.string)||(r.add(i.string),n.set(i.node,o))}),e.nodes=e.nodes.filter(i=>n.has(i)).sort((i,o)=>n.get(i)-n.get(o))}nr.default.isSelector(e)&&(e.nodes=AQ(e.nodes))}}function n2(e){var t;return(t=hR.get(e.type))!=null?t:Number.MAX_SAFE_INTEGER}function zQ(e,t){let r=n2(e)-n2(t);return r!==0?r:String(e).localeCompare(String(t))}function AQ(e){let t=[],r=[];return e.forEach(n=>{nr.default.isCombinator(n)||nr.default.isPseudoElement(n)?(t.push(r,[n]),r=[]):r.push(n)}),t.push(r),t.forEach(n=>n.sort(zQ)),t.flat()}function i2(e){var t;if(nr.default.isClassName(e)){if(!((t=e.raws)!=null&&t.value))return;e.value=e.value}}var nr,cw,ki,mR,hR,fR=y(()=>{nr=X(dt(),1),cw=new WeakMap,ki=new Map,mR=1e4,hR=new Map([["universal",0],["tag",1],["nesting",2],["id",3],["class",4],["attribute",5],["pseudo",6],["comment",7]])});function vn(e){var t;return{sourceIndex:(t=e.sourceIndex)!=null?t:0,source:e.source}}function NQ(e){let t=[],r=[];e.each(i=>{if(i.type==="combinator")return t.push(r,[i]),void(r=[]);if(sr.default.isPseudoElement(i))return t.push(r),void(r=[i]);if(i.type==="universal"&&r.find(o=>o.type==="universal"))i.remove();else{if(i.type==="tag"&&r.find(o=>o.type==="tag")){i.remove();let o=sr.default.selector({value:"",...vn(i)});o.append(i);let a=sr.default.pseudo({value:":is",...vn(i)});return a.append(o),void r.push(a)}r.push(i)}}),t.push(r);let n=[];for(let i=0;i<t.length;i++){let o=t[i];o.sort((a,s)=>o2(a)-o2(s)),n.push(...o)}e.removeAll();for(let i=n.length-1;i>=0;i--)n[i].remove(),n[i].parent=e,e.nodes.unshift(n[i])}function o2(e){return sr.default.isPseudoElement(e)?dw.pseudoElement:dw[e.type]}function a2(e,t,r){var o;let n=[];for(let a=0;a<e.nodes.length;a++){let s=e.nodes[a].clone();if(!(r!=null&&r.ignoreImplicitNesting)){let l=!1;s.walkNesting(()=>(l=!0,!1)),l?((o=s.nodes[0])==null?void 0:o.type)==="combinator"&&s.prepend(sr.default.nesting({...vn(s)})):(s.prepend(sr.default.combinator({value:" ",...vn(s)})),s.prepend(sr.default.nesting({...vn(s)})))}{let l=new Set;s.walkNesting(u=>{var d,p;let c=u.parent;c&&(l.add(c),((d=c.parent)==null?void 0:d.type)==="pseudo"&&((p=c.parent.value)==null?void 0:p.toLowerCase())===":has"?u.replaceWith(...s2(t,!0)):u.replaceWith(...s2(t)))});for(let u of l)NQ(u)}s.walk(l=>{l.type==="combinator"&&l.value.trim()!==""?(l.rawSpaceAfter=" ",l.rawSpaceBefore=" "):(l.rawSpaceAfter="",l.rawSpaceBefore="")}),n.push(s)}let i=sr.default.root({value:"",...vn(e)});return n.forEach(a=>{i.append(a)}),i}function s2(e,t=!1){if(t||!EQ(e.nodes)){let r=sr.default.pseudo({value:":is",...vn(e)});return e.nodes.forEach(n=>{r.append(n.clone())}),[r]}return e.nodes[0].nodes.map(r=>r.clone())}function EQ(e){return e.length===1&&!e[0].nodes.some(t=>t.type==="combinator"||sr.default.isPseudoElement(t))}var sr,dw,PQ=y(()=>{sr=X(dt(),1),dw={universal:0,tag:1,pseudoElement:2,nesting:3,id:4,class:5,attribute:6,pseudo:7,comment:8}});function ld(e,t){let r=mw.get(e);if(r){let s=r.get(t);if(s)return s}else r=new Map,mw.set(e,r);let n=xe(be(e),t,e);if(!n)return[];let i,o=[];{let s=e.parent;for(;s;)o.push(s),s=s.parent}o.reverse();for(let s of o){if(Oe(s)&&s.name==="scope"){i=xe(":where(:scope)",t,s);continue}if(!it(s))continue;if(!ce(s))return[];let l=xe(be(s),t,s);if(!l)return[];i?i=a2(l,i):i=l}let a=n.map(s=>i?{selector:s,resolvedSelectors:a2(pw.default.root({nodes:[s],value:""}),i),nested:!0}:{selector:s,resolvedSelectors:pw.default.root({value:"",nodes:[s]}),nested:!1});return r.set(t,a),a}var pw,mw,qh=y(()=>{PQ(),me(),we(),de(),ze(),pw=X(dt(),1),mw=new WeakMap}),gR={};A(gR,{default:()=>vR});function IQ(e,t){if(e.nodes.length===0)return;e=Cc(e,t).node;let r=e.split(o=>o.type==="combinator"),n=r[r.length-1];if(!n)return;let i=n.filter(o=>o.type!=="pseudo"||o.value.startsWith("::")||rh.has(o.value.replaceAll(":","")));if(i.length!==0)return i.join("")}function bR(e){return e.nodes?e.some(t=>to(t)||Oe(t)&&bR(t)):!1}var dl,cb,l2,pl,vR,OQ=y(()=>{lR(),me(),uR(),zt(),de(),dR(),fR(),K(),Tt(),I(),qh(),j(),D(),dl="no-descending-specificity",cb=O(dl,{expected:(e,t,r,n,i)=>(e=`"${e}"${n?` ("${n}")`:""}`,t=`"${t}"${i?` ("${i}")`:""}`,`Expected selector ${e} to come before selector ${t}, at line ${r}`)}),l2={url:"https://stylelint.io/user-guide/rules/no-descending-specificity"},pl=(e,t)=>(r,n)=>{if(!T(n,dl,{actual:e},{optional:!0,actual:t,possible:{ignore:["selectors-within-list"]}}))return;let i=F(t,"ignore","selectors-within-list"),o=cR();r.walkRules(s=>{if(!ce(s)||i&&s.selectors.length>1||!bR(s))return;let l=o.getContext(s,Zk(s));ld(s,n).forEach(({selector:u,resolvedSelectors:c})=>{c.each(d=>{a(d,u,s,l)})})});function a(s,l,u,c){var x,w,k;let d=IQ(s,n);if(!d)return;let p=kn(s),{selector:m,index:v,endIndex:h}=at(l),{selector:b}=at(s);b=b===m?"":b;let g={selector:m,resolvedSelector:b,specificity:p,line:(k=(w=(x=u.source)==null?void 0:x.start)==null?void 0:w.line)!=null?k:1},f=c.get(d);if(!f){c.set(d,[g]);return}for(let S of f)if(Jk(p,S.specificity)<0){P({ruleName:dl,result:n,node:u,message:cb.expected,messageArgs:[m,S.selector,S.line,b,S.resolvedSelector],index:v,endIndex:h});break}f.push(g)}},pl.ruleName=dl,pl.messages=cb,pl.meta=l2,vR=pl}),yR={};A(yR,{default:()=>wR});function Rp(e){return hw.default.stringify(e).replace(/\s/g,"")}function jQ(e){if(!e.length)return[];let t=" ",r=[],n=[],i=[];for(let a of e)if(!(a.type==="space"||a.type==="comment")){if(!n.length){if(a.type==="function"&&(a.value==="supports"||a.value==="layer")){r.push(Rp(a));continue}if(a.type==="word"&&a.value==="layer"){r.push(Rp(a));continue}}if(a.type==="div"&&a.value===","){n.push(Rp(i)),i=[];continue}i.push(a)}if(i.length&&n.push(Rp(i)),n.length&&!r.length)return n;if(!n.length&&r.length)return[r.join(t)];let o=r.join(t);return n.map(a=>o+t+a)}var hw,ml,db,u2,hl,wR,TQ=y(()=>{hw=X(ue(),1),V(),lt(),Ad(),I(),j(),D(),ml="no-duplicate-at-import-rules",db=O(ml,{rejected:e=>`Duplicate @import rule ${e}`}),u2={url:"https://stylelint.io/user-guide/rules/no-duplicate-at-import-rules"},hl=e=>(t,r)=>{if(!T(r,ml,{actual:e}))return;let n={};t.walkAtRules(Se.importName,i=>{let[o,...a]=(0,hw.default)(st(i)).nodes;if(!o)return;let s=zd(o)&&o.nodes[0]?o.nodes[0].value:o.value,l=jQ(a),u=n[s];if(l.length?l.some(c=>u&&u.includes(c)):u){P({message:db.rejected,messageArgs:[s],node:i,result:r,ruleName:ml,word:i.toString()});return}u||(u=n[s]=[]),u.push(...l)})},hl.ruleName=ml,hl.messages=db,hl.meta=u2,wR=hl});function Md(e){let t=e.parent;return t?Oe(t)&&t.name.toLowerCase()==="keyframes":!1}var Rd=y(()=>{me()}),kR={};A(kR,{default:()=>xR});var c2,fl,pb,d2,gl,xR,DQ=y(()=>{c2=X(dt(),1),q(),uR(),we(),zt(),Rd(),de(),dR(),fR(),K(),ze(),I(),qh(),j(),D(),fl="no-duplicate-selectors",pb=O(fl,{rejected:(e,t)=>`Duplicate selector "${e}", first used at line ${t}`}),d2={url:"https://stylelint.io/user-guide/rules/no-duplicate-selectors"},gl=(e,t)=>(r,n)=>{if(!T(n,fl,{actual:e},{actual:t,possible:{disallowInList:[cd],ignoreSelectors:[$,_]},optional:!0}))return;let i=t&&t.disallowInList,o=cR();function a(c,d,p,m,v){P({result:n,ruleName:fl,node:c,message:pb.rejected,messageArgs:[d,v],index:p,endIndex:m})}function s(c){var p;let d=new Map;(p=xe(be(c),n,c))==null||p.each(m=>{var x,w,k,S,E,C;let v=Cc(m,n).string;if(F(t,"ignoreSelectors",v))return;let h=d.get(v);if(!h){d.set(v,{line:((k=(w=(x=m.source)==null?void 0:x.start)==null?void 0:w.line)!=null?k:1)+((C=(E=(S=c.source)==null?void 0:S.start)==null?void 0:E.line)!=null?C:1)-1});return}let{index:b,endIndex:g,selector:f}=at(m);a(c,f,b,g,h.line)})}function l(c,d){var g,f,x;let p=ld(c,n).flatMap(({resolvedSelectors:w})=>w.nodes);if(!p.length||p.some(w=>{let k=Cc(w,n).string;return F(t,"ignoreSelectors",k)}))return;let m=c2.default.root({nodes:p,value:""}),v=Cc(m,n).string,h=d.get(v);if(!h){d.set(v,{line:(x=(f=(g=c.source)==null?void 0:g.start)==null?void 0:f.line)!=null?x:1});return}let b=be(c).toString().trim();a(c,b,0,b.length,h.line)}function u(c,d){ld(c,n).forEach(p=>{let{selector:m,resolvedSelectors:v}=p;v.each(h=>{var k,S,E,C,L,N;let b=Cc(h,n).string;if(F(t,"ignoreSelectors",b))return;let g=d.get(b);if(!g){d.set(b,{line:((E=(S=(k=m.source)==null?void 0:k.start)==null?void 0:S.line)!=null?E:1)+((N=(L=(C=c.source)==null?void 0:C.start)==null?void 0:L.line)!=null?N:1)-1});return}let{index:f,endIndex:x,selector:w}=at(m);a(c,w,f,x,g.line)})})}r.walkRules(c=>{if(Md(c)||!ce(c))return;let d=o.getContext(c,Zk(c));if(i){u(c,d);return}s(c),l(c,d)})},gl.ruleName=fl,gl.messages=pb,gl.meta=d2,xR=gl}),SR={};A(SR,{default:()=>CR});var bl,mb,p2,vl,CR,LQ=y(()=>{yd(),I(),j(),D(),bl="no-empty-source",mb=O(bl,{rejected:"Empty source"}),p2={url:"https://stylelint.io/user-guide/rules/no-empty-source"},vl=(e,t,r)=>(n,i)=>{var a;if(!T(i,bl,{actual:e}))return;let o=!!(r.fix?n.toString():n.source&&n.source.input.css||"").trim()&&n.nodes.some(s=>!ji(s,r.configurationComment));o||n.nodes.length===0&&((a=n.raws.after)!=null&&a.trim())&&(o=!0),!o&&P({message:mb.rejected,messageArgs:[],node:n,result:i,ruleName:bl})},vl.ruleName=bl,vl.messages=mb,vl.meta=p2,CR=vl}),zR={};A(zR,{default:()=>AR});var ti,$p,m2,yl,AR,FQ=y(()=>{q(),we(),I(),j(),D(),ti="no-invalid-double-slash-comments",$p=O(ti,{rejected:"Invalid double-slash CSS comment"}),m2={url:"https://stylelint.io/user-guide/rules/no-invalid-double-slash-comments"},yl=(e,t,r)=>(n,i)=>{T(i,ti,{actual:e})&&(n.walkDecls(o=>{o.prop.startsWith("//")&&P({message:$p.rejected,messageArgs:[],node:o,result:i,ruleName:ti})}),n.walkRules(o=>{var u;let a=be(o).split(","),s,l=0;for(let c of a){let d=c.trimStart();if(d.startsWith("//")){s!=null||(s=o.toString()),eo(r.newline);let p=c.length-d.length,m=l+p,v=(u=s.slice(m).split(r.newline)[0])!=null?u:"",h=m+v.length;P({message:$p.rejected,messageArgs:[],node:o,result:i,ruleName:ti,index:m,endIndex:h})}l+=c.length+1}}))},yl.ruleName=ti,yl.messages=$p,yl.meta=m2,AR=yl}),NR={};A(NR,{default:()=>ER});var wl,hb,h2,kl,ER,MQ=y(()=>{q(),me(),et(),de(),K(),I(),j(),D(),wl="no-invalid-position-at-import-rule",hb=O(wl,{rejected:"Invalid position for @import rule"}),h2={url:"https://stylelint.io/user-guide/rules/no-invalid-position-at-import-rule"},kl=(e,t)=>(r,n)=>{if(!T(n,wl,{actual:e},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0}))return;let i=!1;r.walk(o=>{let a="name"in o&&o.name&&o.name.toLowerCase()||"";if(Oe(o)&&a!=="charset"&&a!=="import"&&!(a==="layer"&&typeof o.nodes>"u")&&!F(t,"ignoreAtRules",o.name)&&Ze(o)||o.type==="rule"&&ce(o)){i=!0;return}Oe(o)&&a==="import"&&i&&P({message:hb.rejected,messageArgs:[],node:o,result:n,ruleName:wl,word:o.toString()})})},kl.ruleName=wl,kl.messages=hb,kl.meta=h2,ER=kl}),PR={};A(PR,{default:()=>IR});var xl,fb,f2,Sl,IR,RQ=y(()=>{no(),me(),q(),Ed(),oR(),ct(),K(),I(),j(),D(),xl="no-invalid-position-declaration",fb=O(xl,{rejected:"Invalid position for declaration"}),f2={url:"https://stylelint.io/user-guide/rules/no-invalid-position-declaration"},Sl=(e,t)=>(r,n)=>{if(!T(n,xl,{actual:e,possible:[!0]},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0}))return;let i=a=>Oe(a)&&F(t,"ignoreAtRules",a.name),o=a=>Oe(a)&&YA.has(a.name.toLowerCase());r.walkDecls(a=>{if(uw(a,{inline:!0})||!ut(a))return;let{parent:s}=a;if(s&&!(it(s)||o(s))){if(Oe(s)){let l=s.name.toLowerCase();if($c.has(l)){if(Ji(a,u=>it(u)||o(u)||i(u)))return}else return}P({message:fb.rejected,messageArgs:[],node:a,result:n,ruleName:xl})}})},Sl.ruleName=xl,Sl.messages=fb,Sl.meta=f2,IR=Sl}),OR={};A(OR,{default:()=>RR});function Cl(){return 0}function $Q(){return 1}function jR(e){return e.replace(gw," ")}function TR(e,t){if(!Km.test(e))return e;let r=(0,DR.default)(e);return r.walk(n=>{t(n)&&(n.value=jR(n.value))}),r.toString()}function BQ(e){return TR(e,t=>t.type==="string")}function gb(e,t){if(!e)return;let r=t?MR.test(t.toLowerCase()):!1;return TR(e,n=>n.type==="string"&&!r||n.type==="comment")}function qQ(e){return Km.test(e)?(0,fw.default)(t=>{t.walk(r=>{r.value&&(LR(r)||FR(r))&&(r.value=jR(r.value))})}).processSync(e):e}var fw,DR,LR,FR,zl,bb,g2,b2,vb,Km,gw,v2,MR,y2,Al,RR,WQ=y(()=>{fw=X(dt(),1),DR=X(ue(),1),J(),lt(),We(),we(),I(),j(),D(),{isAttribute:LR,isComment:FR}=fw.default,zl="no-irregular-whitespace",bb=O(zl,{rejected:"Irregular whitespace"}),g2={url:"https://stylelint.io/user-guide/rules/no-irregular-whitespace"},b2=["\v","\f"," ","…"," ","᠎","\uFEFF"," "," "," "," "," "," "," "," "," "," "," ","​","\u2028","\u2029"," "," "," "],vb=b2.join(""),Km=new RegExp(`[${vb}]`),gw=new RegExp(`[${vb}]+`,"g"),v2=["grid","grid-template","grid-template-areas"],MR=new RegExp(`^(?:${v2.join("|")})$`,"i"),y2=e=>Array.from(e.matchAll(gw)).map(t=>({index:t.index,length:t[0].length})),Al=e=>(t,r)=>{var o;if(!T(r,zl,{actual:e}))return;let n=(o=t.source)==null?void 0:o.input.css;if(!n||!Km.test(n))return;let i=(a,s,l)=>{if(!s)return;let u=y2(s);if(!u.length)return;let c=l(a);u.forEach(({index:d,length:p})=>{P({ruleName:zl,result:r,message:bb.rejected,messageArgs:[],node:a,index:c+d,endIndex:c+d+p})})};t.walkAtRules(a=>{i(a,a.raws.before,Cl),i(a,a.name,$Q),i(a,a.raws.afterName,kA),i(a,BQ(st(a)),je),i(a,a.raws.between,X6),i(a,a.raws.after,H6)}),t.walkRules(a=>{i(a,a.raws.before,Cl),i(a,qQ(be(a)),Cl),i(a,a.raws.between,J6),i(a,a.raws.after,Z6)}),t.walkDecls(a=>{i(a,a.raws.before,Cl),i(a,gb(a.prop),Cl),i(a,gb(a.raws.between),xA),i(a,gb(qe(a),a.prop),ne)})},Al.ruleName=zl,Al.messages=bb,Al.meta=g2,RR=Al});function _Q(e){let t=[],r=(0,$R.default)(e),{nodes:n}=r;if(n.length===1&&n[0]&&Te.has(n[0].value.toLowerCase()))return[n[0]];let i=!1;return r.walk(o=>{if(i)return;if(o.type==="function")return!1;if(o.type!=="word")return;let a=o.value.toLowerCase();if(!Be(a)){i=!0,t.length=0;return}if(Pd(a)||$w.has(a))return;let{unit:s}=jn(o);s||s===""||t.push(o)}),t}var $R,UQ=y(()=>{$R=X(ue(),1),Ke(),Tn(),_e(),Id()}),BR={};A(BR,{default:()=>qR});var Nl,yb,w2,El,qR,VQ=y(()=>{Ke(),V(),J(),UQ(),I(),j(),D(),Nl="no-unknown-animations",yb=O(Nl,{rejected:e=>`Unknown animation "${e}"`}),w2={url:"https://stylelint.io/user-guide/rules/no-unknown-animations"},El=e=>(t,r)=>{if(!T(r,Nl,{actual:e}))return;let n=new Set,i=r.stylelint.referenceRoots;for(let o of[t,...i])o.walkAtRules(Se.keyframesName,a=>{n.add(a.params)});t.walkDecls(o=>{if(o.prop.toLowerCase()==="animation"||o.prop.toLowerCase()==="animation-name"){let a=_Q(o.value);if(a.length===0)return;for(let s of a){if(Vc.has(s.value.toLowerCase())||n.has(s.value))continue;let l=ne(o);P({result:r,ruleName:Nl,message:yb.rejected,messageArgs:[s.value],node:o,index:l+s.sourceIndex,endIndex:l+s.sourceEndIndex})}}})},El.ruleName=Nl,El.messages=yb,El.meta=w2,qR=El});function QQ(e){return tQ(st(e),{preserveInvalidMediaQueries:!0})}var YQ=y(()=>{Xt(),lt()}),WR={};A(WR,{default:()=>_R});var Pl,wb,k2,Il,_R,GQ=y(()=>{V(),Xt(),J(),Fd(),YQ(),Rn(),I(),j(),D(),Pl="no-unknown-custom-media",wb=O(Pl,{rejected:e=>`Unknown custom media query "${e}"`}),k2={url:"https://stylelint.io/user-guide/rules/no-unknown-custom-media"},Il=e=>(t,r)=>{if(!T(r,Pl,{actual:e}))return;let n=new Set,i=r.stylelint.referenceRoots;for(let o of[t,...i])o.walkAtRules(Se.customMediaName,a=>{let s=QQ(a);s&&n.add(s.getName())});t.walkAtRules(Se.mediaName,o=>{Q.customProperty.test(o.params)&&Mn(o).forEach(a=>{Fn(a)||a.walk(({node:s})=>{if(!Ln(s))return;let[,l,u,c]=s.getNameToken();if(!Zi(l)||n.has(l))return;let d=je(o),p=d+u,m=d+c+1;P({message:wb.rejected,messageArgs:[l],node:o,index:p,endIndex:m,result:r,ruleName:Pl})})})})},Il.ruleName=Pl,Il.messages=wb,Il.meta=k2,_R=Il}),UR={};A(UR,{default:()=>VR});var x2,Ol,kb,S2,jl,VR,KQ=y(()=>{x2=X(ue(),1),V(),J(),Cd(),I(),j(),D(),Ol="no-unknown-custom-properties",kb=O(Ol,{rejected:e=>`Unknown custom property "${e}"`}),S2={url:"https://stylelint.io/user-guide/rules/no-unknown-custom-properties"},jl=e=>(t,r)=>{if(!T(r,Ol,{actual:e}))return;let n=new Set,i=r.stylelint.referenceRoots;for(let o of[t,...i])o.walkAtRules(Se.propertyName,({params:a})=>{n.add(a)}),o.walkDecls(dr.custom,({prop:a})=>{n.add(a)});t.walkDecls(o=>{let{value:a}=o;(0,x2.default)(a).walk(s=>{if(!ao(s))return;let[l,u]=s.nodes;if(!l||n.has(l.value)||u&&u.type==="div")return;let c=ne(o);P({result:r,ruleName:Ol,message:kb.rejected,messageArgs:[l.value],node:o,index:c+l.sourceIndex,endIndex:c+l.sourceEndIndex})})})},jl.ruleName=Ol,jl.messages=kb,jl.meta=S2,VR=jl}),QR={};A(QR,{default:()=>YR});var Tl,xb,C2,Dl,YR,HQ=y(()=>{rt(),Ct(),J(),q(),lt(),We(),Tr(),Le(),K(),I(),j(),Nk(),D(),Tl="number-max-precision",xb=O(Tl,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),C2={url:"https://stylelint.io/user-guide/rules/number-max-precision"},Dl=(e,t)=>(r,n)=>{var l;if(!T(n,Tl,{actual:e,possible:[cr]},{optional:!0,actual:t,possible:{ignoreProperties:[$,_],ignoreUnits:[$,_],insideFunctions:[Wm(cr)]}}))return;let i=new Map(Object.entries((l=t==null?void 0:t.insideFunctions)!=null?l:{}));r.walkAtRules(u=>{u.name.toLowerCase()!=="import"&&o(u,je,st(u))}),r.walkDecls(u=>{o(u,ne,qe(u))});function o(u,c,d){if(!d.includes("."))return;let p="prop"in u?u.prop:void 0;if(F(t,"ignoreProperties",p))return;let m={ignored:!1,precision:e};Dn(uo(St({css:d})),({node:v,state:h})=>{h&&(h.ignored||a(u,c,v,h))},m)}function a(u,c,d,p){if(He(d)){let k=d.getName().toLowerCase();if(k==="url"){p.ignored=!0;return}p.precision=s(k,p.precision);return}if(!le(d))return;let[m,v,h,b,g]=d.value;if(m!==z.Number&&m!==z.Dimension&&m!==z.Percentage)return;let f=0;if(m===z.Dimension){let k=g.unit;if(f=k.length,F(t,"ignoreUnits",k))return}else if(m===z.Percentage&&(f=1,F(t,"ignoreUnits","%")))return;let x=/\d*\.(\d+)/.exec(v);if(x==null||x[0]==null||x[1]==null||x[1].length<=p.precision)return;let w=c(u);P({result:n,ruleName:Tl,node:u,index:w+h,endIndex:w+(b+1)-f,message:xb.expected,messageArgs:[g.value,g.value.toFixed(p.precision)]})}function s(u,c){let d=i.get(u);if(typeof d<"u")return d;for(let[p,m]of i)if(Pe(u,p))return m;return c}},Dl.ruleName=Tl,Dl.messages=xb,Dl.meta=C2,YR=Dl}),GR={};A(GR,{default:()=>KR});var Ll,Sb,z2,ri,KR,XQ=y(()=>{q(),jr(),Le(),I(),j(),D(),Ll="property-allowed-list",Sb=O(Ll,{rejected:e=>`Disallowed property "${e}"`}),z2={url:"https://stylelint.io/user-guide/rules/property-allowed-list"},ri=e=>(t,r)=>{T(r,Ll,{actual:e,possible:[$,_]})&&t.walkDecls(n=>{let i=n.prop;Or(i)&&(Pe(i,e)||P({message:Sb.rejected,messageArgs:[i],word:i,node:n,result:r,ruleName:Ll}))})},ri.primaryOptionArray=!0,ri.ruleName=Ll,ri.messages=Sb,ri.meta=z2,KR=ri}),HR={};A(HR,{default:()=>XR});var Fl,Cb,A2,ni,XR,JQ=y(()=>{q(),jr(),Le(),I(),j(),D(),Fl="property-disallowed-list",Cb=O(Fl,{rejected:e=>`Disallowed property "${e}"`}),A2={url:"https://stylelint.io/user-guide/rules/property-disallowed-list"},ni=e=>(t,r)=>{T(r,Fl,{actual:e,possible:[$,_]})&&t.walkDecls(n=>{let i=n.prop;Or(i)&&Pe(i,e)&&P({message:Cb.rejected,messageArgs:[i],word:i,node:n,result:r,ruleName:Fl})})},ni.primaryOptionArray=!0,ni.ruleName=Fl,ni.messages=Cb,ni.meta=A2,XR=ni});function Hm(e){let t=JR.get(e);return $e(t,`Invalid direction flow: ${e}`),t}var JR,ZR=y(()=>{q(),JR=new Map([["top-to-bottom",["top","bottom"]],["bottom-to-top",["bottom","top"]],["left-to-right",["left","right"]],["right-to-left",["right","left"]]])}),e$={};A(e$,{default:()=>t$});function N2(e){return Oe(e)&&e.name.toLowerCase()==="page"}function ZQ(e){let[t,r]=Hm(e.block),[n,i]=Hm(e.inline),o=e.inline==="left-to-right"||e.inline==="right-to-left",a={[t]:"block-start",[r]:"block-end",[n]:"inline-start",[i]:"inline-end"},s=new Map;for(let[l,u]of Bc){if(l.endsWith("-radius")){let m=l.includes("top")?"top":"bottom",v=l.includes("left")?"left":"right";if(o){let h=m===t?"start":"end",b=v===n?"start":"end";s.set(l,`border-${h}-${b}-radius`)}else{let h=v===t?"start":"end",b=m===n?"start":"end";s.set(l,`border-${h}-${b}-radius`)}continue}if(l.includes("width")||l.includes("height")){if(o)s.set(l,u);else{let m=u.includes("inline")?u.replace("inline","block"):u.replace("block","inline");s.set(l,m)}continue}if(l.endsWith("-x")||l.endsWith("-y")){if(o)s.set(l,u);else{let m=u.includes("inline")?u.replace("inline","block"):u.replace("block","inline");s.set(l,m)}continue}let c;for(let m of["left","right","top","bottom"])if(l===m||l.endsWith(`-${m}`)||l.includes(`-${m}-`)){c=m;break}if(!c)continue;let d=a[c];if(!d)continue;let p=u;u.includes("inline-start")?p=u.replace("inline-start",d):u.includes("inline-end")?p=u.replace("inline-end",d):u.includes("block-start")?p=u.replace("block-start",d):u.includes("block-end")&&(p=u.replace("block-end",d)),s.set(l,p)}return s}var E2,dn,Ml,P2,Rl,t$,eY=y(()=>{E2=X(ue(),1),Pr(),me(),q(),J(),ZR(),Ed(),We(),pr(),jr(),K(),V(),I(),j(),gt(),D(),dn="property-layout-mappings",Ml=O(dn,{rejected:(e,t)=>`Disallowed ${e} property "${t}"`,expected:(e,t)=>`Expected "${e}" to be "${t}"`}),P2={url:"https://stylelint.io/user-guide/rules/property-layout-mappings",fixable:!0},Rl=(e,t)=>(r,n)=>{var u,c;if(!T(n,dn,{actual:e,possible:["flow-relative","physical"]},{actual:t,possible:{ignoreProperties:[$,_]},optional:!0}))return;let i=(c=(u=n.stylelint.config)==null?void 0:u.languageOptions)==null?void 0:c.directionality,o=i==null?void 0:i.block,a=i==null?void 0:i.inline,s=o&&a?ZQ({block:o,inline:a}):null;function l(d,p,m,v,h){P({message:Ml.rejected,messageArgs:[d,p],node:m,result:n,ruleName:dn,index:v,endIndex:h})}r.walkDecls(d=>{let{prop:p}=d;if(!Or(p)||yt(p)||F(t,"ignoreProperties",p))return;let m=0,v=m+p.length;if(e==="physical"){if(!Pv.has(p)||Ji(d,N2))return;l("flow-relative",p,d,m,v)}else{if(!Bc.has(p)||Ji(d,N2))return;if(!s){l("physical",p,d,m,v);return}let h=s.get(p);if(!h)return;P({message:Ml.expected,messageArgs:[p,h],index:m,endIndex:v,node:d,result:n,ruleName:dn,fix:{apply:()=>{d.prop=h},node:d}})}}),r.walkDecls(dr.propertyAcceptingNames,d=>{if(F(t,"ignoreProperties",d.prop))return;let p=(0,E2.default)(qe(d)),m=ne(d);p.walk(v=>{if(!En(v))return;let{value:h,sourceIndex:b}=v;if(F(t,"ignoreProperties",h))return;let g=m+b,f=g+h.length;if(e==="physical"){if(!Pv.has(h))return;l("flow-relative",h,d,g,f)}else{if(!Bc.has(h))return;if(!s){l("physical",h,d,g,f);return}let x=s.get(h);if(!x)return;P({message:Ml.expected,messageArgs:[h,x],node:d,result:n,ruleName:dn,index:g,endIndex:f,fix:{apply:()=>{v.value=x,ft(d,p.toString())},node:d}})}})})},Rl.ruleName=dn,Rl.messages=Ml,Rl.meta=P2,t$=Rl}),r$={};A(r$,{default:()=>n$});var I2,$l,Bp,O2,j2,T2,Bl,n$,tY=y(()=>{I2=X(ue(),1),q(),We(),ct(),me(),K(),I(),j(),gt(),D(),$l="property-no-deprecated",Bp=O($l,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:e=>`Deprecated property "${e}"`}),O2={url:"https://stylelint.io/user-guide/rules/property-no-deprecated",fixable:!0},j2={"page-break-before":{always:"page"},"page-break-after":{always:"page"}},T2={"-khtml-box-align":"align-items","-khtml-box-direction":null,"-khtml-box-flex":"flex-grow","-khtml-box-lines":null,"-khtml-box-ordinal-group":"order","-khtml-box-orient":null,"-khtml-box-pack":null,"-khtml-user-modify":null,"-moz-box-align":"align-items","-moz-box-direction":null,"-moz-box-flex":"flex-grow","-moz-box-lines":null,"-moz-box-ordinal-group":"order","-moz-box-orient":null,"-moz-box-pack":null,"-moz-user-modify":null,"-ms-box-align":"align-items","-ms-box-direction":null,"-ms-box-flex":"flex-grow","-ms-box-lines":null,"-ms-box-ordinal-group":"order","-ms-box-orient":null,"-ms-box-pack":null,"-webkit-box-align":"align-items","-webkit-box-direction":null,"-webkit-box-flex":"flex-grow","-webkit-box-lines":null,"-webkit-box-ordinal-group":"order","-webkit-box-orient":null,"-webkit-box-pack":null,"-webkit-user-modify":null,"grid-column-gap":"column-gap","grid-gap":"gap","grid-row-gap":"row-gap","ime-mode":null,"page-break-after":"break-after","page-break-before":"break-before","page-break-inside":"break-inside","position-try-options":"position-try-fallbacks","scroll-snap-coordinate":null,"scroll-snap-destination":null,"scroll-snap-margin-bottom":"scroll-margin-bottom","scroll-snap-margin-left":"scroll-margin-left","scroll-snap-margin-right":"scroll-margin-right","scroll-snap-margin-top":"scroll-margin-top","scroll-snap-margin":"scroll-margin","scroll-snap-points-x":null,"scroll-snap-points-y":null,"scroll-snap-type-x":null,"scroll-snap-type-y":null,"word-wrap":"overflow-wrap",clip:null},Bl=(e,t)=>(r,n)=>{T(n,$l,{actual:e},{actual:t,possible:{ignoreProperties:[$,_]},optional:!0})&&r.walkDecls(i=>{if(!ut(i))return;let{prop:o,value:a}=i;if(F(t,"ignoreProperties",o))return;let s=o.toLowerCase(),l=T2[s];if(typeof l>"u"||s==="-webkit-box-orient"&&a.toLowerCase()==="vertical")return;let u,c,d;l?(c=Bp.expected,d=[o,l],u=()=>{i.prop=l;let p=j2[s];if(p){let m=(0,I2.default)(qe(i));m.walk(v=>{if(!En(v))return;let h=p[v.value.toLowerCase()];h&&(v.value=h)}),ft(i,m.toString())}}):(c=Bp.rejected,d=[o]),P({message:c,messageArgs:d,node:i,index:0,endIndex:o.length,result:n,ruleName:$l,fix:{apply:u,node:i}})})},Bl.ruleName=$l,Bl.messages=Bp,Bl.meta=O2,n$=Bl}),i$={};A(i$,{default:()=>o$});var ql,zb,D2,Wl,o$,rY=y(()=>{me(),q(),Pr(),Ed(),pr(),DF(),ct(),jr(),K(),I(),j(),D(),Dt(),ql="property-no-unknown",zb=O(ql,{rejected:e=>`Unknown property "${e}"`}),D2={url:"https://stylelint.io/user-guide/rules/property-no-unknown"},Wl=(e,t)=>(r,n)=>{if(!T(n,ql,{actual:e},{actual:t,possible:{ignoreProperties:[$,_],checkPrefixed:[cd],ignoreSelectors:[$,_],ignoreAtRules:[$,_]},optional:!0}))return;let i=t&&t.checkPrefixed,o=n.stylelint.lexer;r.walkDecls(a);function a(s){let l=s.prop;if(!ut(s)||TF(s)||!Or(l)||yt(l)||!i&&Xe.prefix(l)||F(t,"ignoreProperties",l))return;let u=s.parent;u&&it(u)&&F(t,"ignoreSelectors",u.selector)||Ji(s,c=>Oe(c)&&F(t,"ignoreAtRules",c.name))||o.getProperty(l)||nN.has(l.toLowerCase())||i&&iN.has(l.toLowerCase())||P({message:zb.rejected,messageArgs:[l],node:s,result:n,ruleName:ql,word:l})}},Wl.ruleName=ql,Wl.messages=zb,Wl.meta=D2,o$=Wl}),a$={};A(a$,{default:()=>s$});var _l,Ab,L2,Ul,s$,nY=y(()=>{q(),Ke(),bd(),K(),I(),j(),D(),_l="property-no-vendor-prefix",Ab=O(_l,{rejected:e=>`Vendor-prefixed property "${e}"`}),L2={url:"https://stylelint.io/user-guide/rules/property-no-vendor-prefix",fixable:!0},Ul=(e,t)=>(r,n)=>{T(n,_l,{actual:e},{optional:!0,actual:t,possible:{ignoreProperties:[$,_]}})&&r.walkDecls(i=>{let o=i.prop;if(F(t,"ignoreProperties",o)||o[0]!=="-"||o[1]==="-"||!zr.property(o)||o==="-webkit-background-size"&&!i.value.split(",").every(s=>{let l=s.trim().split(/\s+/),u=l.length,[c]=l;switch(u){case 2:return!0;case 1:return c&&(c==="auto"||Te.has(c));default:return!1}}))return;let a=()=>{i.prop=zr.unprefix(i.prop)};P({message:Ab.rejected,messageArgs:[o],word:o,node:i,result:n,ruleName:_l,fix:{apply:a,node:i}})})},Ul.ruleName=_l,Ul.messages=Ab,Ul.meta=L2,s$=Ul}),l$={};A(l$,{default:()=>c$});function iY(e){return!!Ji(e,({type:t})=>t==="rule")}function oY(e){let t=!1;return e.walkNesting(()=>(t=!0,!1)),t}function aY(e){let t=e.nodes.find(r=>!_h(r));return Wh(t)}function sY(e){let t=e.nodes.find(r=>!_h(r)&&!ex(r));return Wh(t)}function lY(e,t,r){let n=e.nodes.find(i=>!_h(i));if(n){let{before:i}=n.spaces;e.insertBefore(n,u$({spaces:{after:" ",before:i}})),n.spaces.before=""}t.selector=r.toString()}function uY(e,t,r){let n=e.nodes.find(ex),i="";n&&(i=n.spaces.before,n.remove());let o=e.nodes.find(Wh);if(o){let a=o.next();a&&(a.spaces.before=i),o.value===" "?o.remove():o.spaces.before=""}t.selector=r.toString()}var F2,Vl,Nb,M2,Wh,_h,ex,R2,u$,Ql,c$,cY=y(()=>{F2=X(dt(),1),Ed(),we(),de(),ze(),I(),j(),D(),Vl="relative-selector-nesting-notation",Nb=O(Vl,{expected:e=>`Expected ${e} nesting notation`}),M2={url:"https://stylelint.io/user-guide/rules/relative-selector-nesting-notation",fixable:!0},{isCombinator:Wh,isComment:_h,isNesting:ex,isSelector:R2,nesting:u$}=F2.default,Ql=e=>(t,r)=>{T(r,Vl,{actual:e,possible:["explicit","implicit"]})&&t.walkRules(n=>{if(!ce(n)||!iY(n))return;let i=xe(be(n),r,n);i&&i.each(o=>{if(!R2(o))return;let a=aY(o),s;if(e==="explicit"){if(oY(o)&&!a)return;s=()=>lY(o,n,i)}else{if(a||!sY(o))return;s=()=>uY(o,n,i)}let l=o.sourceIndex,u=l+o.toString().trim().length;P({message:Nb.expected,messageArgs:[e],node:n,index:l,endIndex:u,ruleName:Vl,result:r,fix:{apply:s,node:n}})})})},Ql.ruleName=Vl,Ql.messages=Nb,Ql.meta=M2,c$=Ql});function dY(e){let t=e.prev();return t!==void 0&&t.type==="comment"&&!Ww(t)&&t.source!==void 0&&t.source.start!==void 0&&t.source.end!==void 0&&t.source.start.line===t.source.end.line}var pY=y(()=>{_w()}),d$={};A(d$,{default:()=>p$});function $2(e){let t=$r(e);return t!=null&&t.type==="rule"}var Yl,qp,B2,Gl,p$,mY=y(()=>{pd(),Pn(),hd(),pY(),fd(),ah(),ph(),de(),K(),I(),j(),D(),Yl="rule-empty-line-before",qp=O(Yl,{expected:"Expected empty line before rule",rejected:"Expected no empty line before rule"}),B2={url:"https://stylelint.io/user-guide/rules/rule-empty-line-before",fixable:!0},Gl=(e,t,r)=>(n,i)=>{if(!T(i,Yl,{actual:e,possible:["always","never","always-multi-line","never-multi-line"]},{actual:t,possible:{ignore:["after-comment","first-nested","inside-block"],except:["after-rule","after-single-line-comment","first-nested","inside-block-and-after-rule","inside-block"]},optional:!0}))return;let o=e;n.walkRules(a=>{if(!ce(a)||oh(a))return;if(F(t,"ignore","after-comment")){let p=a.prev();if(p&&p.type==="comment")return}if(F(t,"ignore","first-nested")&&Br(a))return;let s=a.parent&&a.parent.type!=="root";if(F(t,"ignore","inside-block")&&s||o.includes("multi-line")&&dh(a.toString()))return;let l=o.includes("always");(F(t,"except","first-nested")&&Br(a)||F(t,"except","after-rule")&&$2(a)||F(t,"except","inside-block-and-after-rule")&&s&&$2(a)||F(t,"except","after-single-line-comment")&&dY(a)||F(t,"except","inside-block")&&s)&&(l=!l);let u=md(a.raws.before);if(l===u)return;let c=l?qp.expected:qp.rejected,d=l?"add":"remove";P({message:c,messageArgs:[],node:a,result:i,ruleName:Yl,fix:{apply:()=>dd({node:a,newline:r.newline,action:d}),node:a.parent}})})},Gl.ruleName=Yl,Gl.messages=qp,Gl.meta=B2,p$=Gl}),m$={};A(m$,{default:()=>h$});function hY(e,t){let r=e.parent;for(;r;){if(Oe(r)){let n=r.name;if(Pe(n,t))return!0}if(ur(r))break;r=r.parent}return!1}var Kl,Eb,q2,ii,h$,fY=y(()=>{me(),q(),de(),Le(),I(),j(),D(),Kl="rule-nesting-at-rule-required-list",Eb=O(Kl,{expected:(...e)=>`Expected rule to be nested in an at-rule matching pattern(s): ${e.map(t=>`"${t}"`).join(", ")}`}),q2={url:"https://stylelint.io/user-guide/rules/rule-nesting-at-rule-required-list"},ii=e=>(t,r)=>{if(!T(r,Kl,{actual:e,possible:[$,_]}))return;let n=[e].flat();t.walkRules(i=>{ce(i)&&(hY(i,n)||P({message:Eb.expected,messageArgs:n,node:i,result:r,ruleName:Kl}))})},ii.primaryOptionArray=!0,ii.ruleName=Kl,ii.messages=Eb,ii.meta=q2,h$=ii}),f$={};A(f$,{default:()=>g$});function gY(e,t){let r=e.parent;for(;r;){if(r===t)return!0;if(r.type==="rule")return!1;r=r.parent}return!1}var Hl,Pb,W2,Xl,g$,bY=y(()=>{q(),Rd(),de(),Le(),K(),I(),j(),Ht(),D(),Hl="rule-selector-property-disallowed-list",Pb=O(Hl,{rejected:(e,t)=>`Disallowed property "${t}" for selector "${e}"`}),W2={url:"https://stylelint.io/user-guide/rules/rule-selector-property-disallowed-list"},Xl=(e,t)=>(r,n)=>{if(!T(n,Hl,{actual:e,possible:[Bt($,_)]},{actual:t,possible:{ignore:["keyframe-selectors"]},optional:!0}))return;let i=F(t,"ignore","keyframe-selectors"),o=Object.keys(e);r.walkRules(a=>{if(!ce(a)||i&&Md(a))return;let s=o.find(u=>Pe(a.selector,u));if(!s)return;let l=e[s];l&&a.walkDecls(u=>{if(!gY(u,a))return;let{prop:c}=u;Pe(c,l)&&P({message:Pb.rejected,messageArgs:[a.selector,c],node:u,result:n,ruleName:Hl,word:c})})})},Xl.ruleName=Hl,Xl.messages=Pb,Xl.meta=W2,g$=Xl}),b$={};A(b$,{default:()=>v$});function vY(e){let{a:t,b:r}=e;return!(t!==null&&t!=="0"&&t!=="-0"||r!==null&&r!=="0"&&r!=="-0")}var Jl,Ib,_2,Zl,v$,yY=y(()=>{On(),Tt(),q(),we(),de(),V(),I(),j(),D(),Jl="selector-anb-no-unmatchable",Ib=O(Jl,{rejected:e=>`Unmatchable An+B selector "${e}"`}),_2={url:"https://stylelint.io/user-guide/rules/selector-anb-no-unmatchable"},Zl=e=>(t,r)=>{T(r,Jl,{actual:e})&&t.walkRules(Q.aNPlusBNotationPseudoClass,n=>{if(!ce(n))return;let i=be(n),o;try{o=qr(i,{context:"selectorList",positions:!0})}catch{return}if(o.type!=="SelectorList")return;o.children.forEach(s=>{a(s)});function a(s){s.type==="Selector"&&s.children.forEach(l=>{if(l.type!=="PseudoClassSelector"||!_c.has(l.name)&&!$i.has(l.name))return;let u=l;u.children!==null&&u.children.forEach(c=>{if(c.type!=="Nth"||c.nth.type!=="AnPlusB")return;$e(u.loc);let d=u.loc.start.offset,p=u.loc.end.offset;vY(c.nth)&&P({message:Ib.rejected,messageArgs:[i.slice(d,p)],node:n,index:d,endIndex:p,result:r,ruleName:Jl})})})}})},Zl.ruleName=Jl,Zl.messages=Ib,Zl.meta=_2,v$=Zl}),y$={};A(y$,{default:()=>w$});var eu,Ob,U2,oi,w$,wY=y(()=>{q(),we(),de(),Le(),V(),ze(),I(),j(),D(),eu="selector-attribute-name-disallowed-list",Ob=O(eu,{rejected:e=>`Disallowed name "${e}"`}),U2={url:"https://stylelint.io/user-guide/rules/selector-attribute-name-disallowed-list"},oi=e=>(t,r)=>{T(r,eu,{actual:e,possible:[$,_]})&&t.walkRules(Q.attributeSelector,n=>{var i;ce(n)&&((i=xe(be(n),r,n))==null||i.walkAttributes(o=>{let a=o.qualifiedAttribute;if(!Pe(a,e))return;let s=o.sourceIndex+o.offsetOf("attribute"),l=s+a.length;P({message:Ob.rejected,messageArgs:[a],node:n,index:s,endIndex:l,result:r,ruleName:eu})}))})},oi.primaryOptionArray=!0,oi.ruleName=eu,oi.messages=Ob,oi.meta=U2,w$=oi}),k$={};A(k$,{default:()=>x$});var tu,jb,V2,ai,x$,kY=y(()=>{we(),de(),q(),V(),ze(),I(),j(),D(),tu="selector-attribute-operator-allowed-list",jb=O(tu,{rejected:e=>`Disallowed operator "${e}"`}),V2={url:"https://stylelint.io/user-guide/rules/selector-attribute-operator-allowed-list"},ai=e=>(t,r)=>{if(!T(r,tu,{actual:e,possible:[$]}))return;let n=new Set([e].flat());t.walkRules(Q.attributeSelectorWithOperator,i=>{var o;ce(i)&&((o=xe(be(i),r,i))==null||o.walkAttributes(a=>{let{operator:s}=a;if(!s||n.has(s))return;let l=a.sourceIndex+a.offsetOf("operator"),u=l+s.length;P({message:jb.rejected,messageArgs:[s],node:i,index:l,endIndex:u,result:r,ruleName:tu})}))})},ai.primaryOptionArray=!0,ai.ruleName=tu,ai.messages=jb,ai.meta=V2,x$=ai}),S$={};A(S$,{default:()=>C$});var ru,Tb,Q2,si,C$,xY=y(()=>{we(),de(),q(),V(),ze(),I(),j(),D(),ru="selector-attribute-operator-disallowed-list",Tb=O(ru,{rejected:e=>`Disallowed operator "${e}"`}),Q2={url:"https://stylelint.io/user-guide/rules/selector-attribute-operator-disallowed-list"},si=e=>(t,r)=>{if(!T(r,ru,{actual:e,possible:[$]}))return;let n=new Set([e].flat());t.walkRules(Q.attributeSelectorWithOperator,i=>{var o;ce(i)&&((o=xe(be(i),r,i))==null||o.walkAttributes(a=>{let{operator:s}=a;if(!s||!n.has(s))return;let l=a.sourceIndex+a.offsetOf("operator"),u=l+s.length;P({message:Tb.rejected,messageArgs:[s],node:i,index:l,endIndex:u,result:r,ruleName:ru})}))})},si.primaryOptionArray=!0,si.ruleName=ru,si.messages=Tb,si.meta=Q2,C$=si});function SY(e){if(!e||e.trim()==="")return!1;let t=e.trim().replace(z$,"").replace(A$,"");return!(N$.test(t)||bw.test(t.charAt(0))||t.charAt(0)==="-"&&bw.test(t.charAt(1)))}var z$,A$,N$,bw,CY=y(()=>{z$=/\\[0-9a-f]{1,6}(\\r\\n|[ \t\r\n\f])?/gi,A$=/\\./g,N$=/[^\w-]/,bw=/\d/}),E$={};A(E$,{default:()=>P$});var nu,Db,Y2,iu,P$,zY=y(()=>{we(),de(),CY(),V(),ze(),I(),j(),D(),nu="selector-attribute-quotes",Db=O(nu,{expected:e=>`Expected quotes around "${e}"`,rejected:e=>`Expected no quotes around "${e}"`}),Y2={url:"https://stylelint.io/user-guide/rules/selector-attribute-quotes",fixable:!0},iu=e=>(t,r)=>{T(r,nu,{actual:e,possible:["always","never"]})&&t.walkRules(Q.attributeSelectorWithOperator,n=>{if(!ce(n))return;let i=xe(be(n),r,n);if(!i)return;let o=(a,s)=>{var p;let l=s.sourceIndex+s.offsetOf("value"),u=s.value||"",c=l+((p=s.raws.value)!=null?p:u).length,d=()=>{let m=a==="expected"?'"':null;s.quoteMark=m,n.selector=i.toString()};P({message:Db[a],messageArgs:[u],index:l,endIndex:c,result:r,ruleName:nu,node:n,fix:{apply:d,node:n}})};i.walkAttributes(a=>{let{operator:s,value:l,quoted:u}=a;if(!(!s||!l)&&(!u&&e==="always"&&o("expected",a),u&&e==="never")){if(!a.raws.value||!SY(a.raws.value.slice(1,-1)))return;o("rejected",a)}})})},iu.ruleName=nu,iu.messages=Db,iu.meta=Y2,P$=iu});function Uh(e){return!!(Bi.has(e)||/^(?:\d+|\d*\.\d+)%$/.test(e)||I$.test(e))}var I$,Vh=y(()=>{Ke(),I$=new RegExp(`^(?:${[...xN.values()].join("|")})\\s+(?:\\d+|\\d*\\.\\d+)%$`,"i")}),O$={};A(O$,{default:()=>j$});var ou,Lb,G2,au,j$,AY=y(()=>{q(),we(),Vh(),de(),V(),ze(),I(),j(),D(),ou="selector-class-pattern",Lb=O(ou,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),G2={url:"https://stylelint.io/user-guide/rules/selector-class-pattern"},au=e=>(t,r)=>{if(!T(r,ou,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkRules(Q.classSelector,i=>{var o;ce(i)&&(i.selectors.some(Uh)||((o=xe(be(i),r,i))==null||o.walkClasses(a=>{let{value:s,sourceIndex:l}=a;if(n.test(s))return;let u=a.toString().trim(),c=l+u.length;P({result:r,ruleName:ou,message:Lb.expected,messageArgs:[u,e],node:i,index:l,endIndex:c})})))})},au.ruleName=ou,au.messages=Lb,au.meta=G2,j$=au});function T$(e){if(e.type!=="combinator"||e.value.startsWith("/")||e.value.endsWith("/"))return!1;if(e.parent!==void 0&&e.parent!==null){let t=e.parent;if(e===t.first||e===t.last)return!1}return!0}var D$=y(()=>{}),L$={};A(L$,{default:()=>F$});function NY(e){return e.replace(/\s+/g," ")}var su,Fb,K2,li,F$,EY=y(()=>{we(),D$(),de(),q(),ze(),I(),j(),D(),su="selector-combinator-allowed-list",Fb=O(su,{rejected:e=>`Disallowed combinator "${e}"`}),K2={url:"https://stylelint.io/user-guide/rules/selector-combinator-allowed-list"},li=e=>(t,r)=>{T(r,su,{actual:e,possible:[$]})&&t.walkRules(n=>{var i;ce(n)&&((i=xe(be(n),r,n))==null||i.walkCombinators(o=>{if(!T$(o))return;let{value:a}=o,s=NY(a);if(e.includes(s))return;let{sourceIndex:l,raws:u}=o,c=l+(u&&u.value||a).length;P({result:r,ruleName:su,message:Fb.rejected,messageArgs:[s],node:n,index:l,endIndex:c})}))})},li.primaryOptionArray=!0,li.ruleName=su,li.messages=Fb,li.meta=K2,F$=li}),M$={};A(M$,{default:()=>R$});function PY(e){return e.replace(/\s+/g," ")}var lu,Mb,H2,ui,R$,IY=y(()=>{we(),D$(),de(),q(),ze(),I(),j(),D(),lu="selector-combinator-disallowed-list",Mb=O(lu,{rejected:e=>`Disallowed combinator "${e}"`}),H2={url:"https://stylelint.io/user-guide/rules/selector-combinator-disallowed-list"},ui=e=>(t,r)=>{T(r,lu,{actual:e,possible:[$]})&&t.walkRules(n=>{var i;ce(n)&&((i=xe(be(n),r,n))==null||i.walkCombinators(o=>{if(!T$(o))return;let{value:a}=o,s=PY(a);if(!e.includes(s))return;let{sourceIndex:l,raws:u}=o,c=l+(u&&u.value||a).length;P({result:r,ruleName:lu,message:Mb.rejected,messageArgs:[s],node:n,index:l,endIndex:c})}))})},ui.primaryOptionArray=!0,ui.ruleName=lu,ui.messages=Mb,ui.meta=H2,R$=ui}),$$={};A($$,{default:()=>B$});var uu,Rb,X2,ci,B$,OY=y(()=>{q(),we(),zt(),Rd(),de(),Le(),K(),ze(),I(),j(),D(),uu="selector-disallowed-list",Rb=O(uu,{rejected:e=>`Disallowed selector "${e}"`}),X2={url:"https://stylelint.io/user-guide/rules/selector-disallowed-list"},ci=(e,t)=>(r,n)=>{if(!T(n,uu,{actual:e,possible:[$,_]},{actual:t,possible:{ignore:["inside-block","keyframe-selectors"],splitList:[cd]},optional:!0}))return;let i=F(t,"ignore","inside-block"),o=F(t,"ignore","keyframe-selectors"),a=t&&t.splitList;r.walkRules(s=>{var c;if(!ce(s)||o&&Md(s))return;if(i){let{parent:d}=s;if(d&&d.type!=="root")return}function l(d,p,m){Pe(d,e)&&P({result:n,ruleName:uu,message:Rb.rejected,messageArgs:[d],node:s,index:p,endIndex:m})}let u=be(s);if(!a){l(u,0,u.length);return}(c=xe(u,n,s))==null||c.each(d=>{let{selector:p,index:m,endIndex:v}=at(d);l(p,m,v)})})},ci.primaryOptionArray=!0,ci.ruleName=uu,ci.messages=Rb,ci.meta=X2,B$=ci}),q$={};A(q$,{default:()=>W$});var cu,$b,J2,du,W$,jY=y(()=>{q(),we(),de(),V(),ze(),I(),j(),D(),cu="selector-id-pattern",$b=O(cu,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),J2={url:"https://stylelint.io/user-guide/rules/selector-id-pattern"},du=e=>(t,r)=>{if(!T(r,cu,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkRules(Q.idSelector,i=>{var o;ce(i)&&((o=xe(be(i),r,i))==null||o.walkIds(a=>{let{value:s,sourceIndex:l}=a;if(n.test(s))return;let u=a.toString().trim(),c=l+u.length;P({result:r,ruleName:cu,message:$b.expected,messageArgs:[u,e],node:i,index:l,endIndex:c})}))})},du.ruleName=cu,du.messages=$b,du.meta=J2,W$=du}),_$={};A(_$,{default:()=>U$});var pu,Bb,Z2,mu,U$,TY=y(()=>{q(),we(),zt(),Tr(),de(),V(),K(),ze(),I(),j(),D(),pu="selector-max-attribute",Bb=O(pu,{expected:(e,t)=>`Too many attribute selectors in "${e}", maximum ${t}`}),Z2={url:"https://stylelint.io/user-guide/rules/selector-max-attribute"},mu=(e,t)=>(r,n)=>{if(!T(n,pu,{actual:e,possible:cr},{actual:t,possible:{ignoreAttributes:[$,_]},optional:!0}))return;function i(o,a){let s=0;if(o.walkAttributes(l=>{F(t,"ignoreAttributes",l.attribute)||(s+=1)}),s>e){let{index:l,endIndex:u,selector:c}=at(o);P({ruleName:pu,result:n,node:a,message:Bb.expected,messageArgs:[c,e],index:l,endIndex:u})}}r.walkRules(Q.attributeSelector,o=>{var a;ce(o)&&((a=xe(be(o),n,o))==null||a.each(s=>{i(s,o)}))})},mu.ruleName=pu,mu.messages=Bb,mu.meta=Z2,U$=mu}),V$={};A(V$,{default:()=>Q$});var hu,qb,ez,fu,Q$,DY=y(()=>{we(),zt(),Tr(),de(),V(),ze(),I(),j(),D(),hu="selector-max-class",qb=O(hu,{expected:(e,t)=>`Too many class selectors in "${e}", maximum ${t}`}),ez={url:"https://stylelint.io/user-guide/rules/selector-max-class"},fu=e=>(t,r)=>{if(!T(r,hu,{actual:e,possible:cr}))return;function n(i,o){let a=0;if(i.walkClasses(()=>{a+=1}),a>e){let{index:s,endIndex:l,selector:u}=at(i);P({ruleName:hu,result:r,node:o,message:qb.expected,messageArgs:[u,e],index:s,endIndex:l})}}t.walkRules(Q.classSelector,i=>{var o;ce(i)&&((o=xe(be(i),r,i))==null||o.each(a=>{n(a,i)}))})},fu.ruleName=hu,fu.messages=qb,fu.meta=ez,Q$=fu}),Y$={};A(Y$,{default:()=>G$});var gu,Wb,tz,bu,G$,LY=y(()=>{we(),zt(),Tr(),de(),V(),ze(),I(),j(),D(),gu="selector-max-combinators",Wb=O(gu,{expected:(e,t)=>`Too many combinators in "${e}", maximum ${t}`}),tz={url:"https://stylelint.io/user-guide/rules/selector-max-combinators"},bu=e=>(t,r)=>{if(!T(r,gu,{actual:e,possible:cr}))return;function n(i,o){let a=0;if(i.walkCombinators(()=>{a+=1}),a>e){let{index:s,endIndex:l,selector:u}=at(i);P({ruleName:gu,result:r,node:o,message:Wb.expected,messageArgs:[u,e],index:s,endIndex:l})}}t.walkRules(Q.combinator,i=>{var o;ce(i)&&((o=xe(be(i),r,i))==null||o.each(a=>{n(a,i)}))})},bu.ruleName=gu,bu.messages=Wb,bu.meta=tz,G$=bu}),K$={};A(K$,{default:()=>H$});var rz,_b,Ub,nz,vu,Vb,iz,yu,H$,FY=y(()=>{rz=X(dt(),1),q(),we(),zt(),Tr(),de(),V(),K(),ze(),I(),j(),D(),{isCombinator:_b,isPseudo:Ub,isRoot:nz}=rz.default,vu="selector-max-compound-selectors",Vb=O(vu,{expected:(e,t)=>`Too many compound selectors in "${e}", maximum ${t}`}),iz={url:"https://stylelint.io/user-guide/rules/selector-max-compound-selectors"},yu=(e,t)=>(r,n)=>{if(!T(n,vu,{actual:e,possible:cr},{actual:t,possible:{ignoreSelectors:[$,_]},optional:!0}))return;function i(a){let s=Ub(a)?a.value:a.toString();return F(t,"ignoreSelectors",s)}function o(a,s){let l=[];if(a.walk(u=>{i(u)||l.push(u)}),!(nz(a)||Ub(a))&&l.reduce((u,c,d,p)=>!_b(c)||d===0||d===p.length-1||_b(p[d+1])?u:u+1,0)+1>e){let{index:u,endIndex:c,selector:d}=at(a);P({ruleName:vu,result:n,node:s,message:Vb.expected,messageArgs:[d,e],index:u,endIndex:c})}}r.walkRules(Q.combinator,a=>{var s;ce(a)&&((s=xe(be(a),n,a))==null||s.each(l=>{o(l,a)}))})},yu.ruleName=vu,yu.messages=Vb,yu.meta=iz,H$=yu});function MY(e){if((e==null?void 0:e.type)==="pseudo"){let t=e.value.toLowerCase().replace(/:+/,"");return Tv.has(t)||$i.has(t)}return!1}var RY=y(()=>{Tt()}),X$={};A(X$,{default:()=>J$});var wu,Qb,oz,ku,J$,$Y=y(()=>{q(),we(),zt(),RY(),Tr(),de(),V(),K(),ze(),I(),j(),D(),wu="selector-max-id",Qb=O(wu,{expected:(e,t)=>`Too many ID selectors in "${e}", maximum ${t}`}),oz={url:"https://stylelint.io/user-guide/rules/selector-max-id"},ku=(e,t)=>(r,n)=>{if(!T(n,wu,{actual:e,possible:cr},{actual:t,possible:{ignoreContextFunctionalPseudoClasses:[$,_]},optional:!0}))return;function i(o){let a=o;for(;a;){if(MY(a)&&F(t,"ignoreContextFunctionalPseudoClasses",a.value))return!0;a=a.parent}return!1}r.walkRules(Q.idSelector,o=>{var a;ce(o)&&((a=xe(be(o),n,o))==null||a.each(s=>{let l=0;if(s.walkIds(u=>{i(u)||(l+=1)}),l>e){let{index:u,endIndex:c,selector:d}=at(s);P({ruleName:wu,result:n,node:o,message:Qb.expected,messageArgs:[d,e],index:u,endIndex:c})}}))})},ku.ruleName=wu,ku.messages=Qb,ku.meta=oz,J$=ku}),Z$={};A(Z$,{default:()=>e5});var xu,Yb,az,Su,e5,BY=y(()=>{we(),zt(),Tr(),de(),Tt(),V(),ze(),I(),j(),D(),xu="selector-max-pseudo-class",Yb=O(xu,{expected:(e,t)=>`Too many pseudo-classes in "${e}", maximum ${t}`}),az={url:"https://stylelint.io/user-guide/rules/selector-max-pseudo-class"},Su=e=>(t,r)=>{if(!T(r,xu,{actual:e,possible:cr}))return;function n(i,o){let a=0;if(i.walk(s=>{s.type==="pseudo"&&(s.value.includes("::")||qc.has(s.value.toLowerCase().slice(1))||(a+=1))}),a>e){let{index:s,endIndex:l,selector:u}=at(i);P({ruleName:xu,result:r,node:o,message:Yb.expected,messageArgs:[u,e],index:s,endIndex:l})}}t.walkRules(Q.pseudo,i=>{var o;ce(i)&&((o=xe(be(i),r,i))==null||o.each(a=>{n(a,i)}))})},Su.ruleName=xu,Su.messages=Yb,Su.meta=az,e5=Su}),t5={};A(t5,{default:()=>r5});var Cu,Gb,sz,Kb,zu,r5,qY=y(()=>{lR(),q(),zt(),de(),K(),I(),qh(),j(),D(),Cu="selector-max-specificity",Gb=O(Cu,{expected:(e,t,r)=>(e=`"${e}"${r?` ("${r}")`:""}`,`Too high specificity in ${e}, maximum "${t}"`)}),sz={url:"https://stylelint.io/user-guide/rules/selector-max-specificity"},Kb=()=>({a:0,b:0,c:0}),zu=(e,t)=>(r,n)=>{if(!T(n,Cu,{actual:e,possible:[c=>$(c)&&/^\d+,\d+,\d+$/.test(c)]},{actual:t,possible:{ignoreSelectors:[$,_]},optional:!0}))return;let i=c=>F(t,"ignoreSelectors",c),o=t!=null&&t.ignoreSelectors?c=>{var d;switch(c.type){case"attribute":case"class":case"id":case"tag":return i(c.toString())?Kb():void 0;case"pseudo":{if(!i(c.value.toLowerCase()))return;if(!((d=c.nodes)!=null&&d.length))return Kb();let p=kn(c),m=kn(c.clone({nodes:[]}));return{a:p.a-m.a,b:p.b-m.b,c:p.c-m.c}}default:}}:void 0,[a,s,l]=e.split(",").map(c=>Number.parseFloat(c));zc(a),zc(s),zc(l);let u={a,b:s,c:l};r.walkRules(c=>{ce(c)&&ld(c,n).forEach(({selector:d,resolvedSelectors:p})=>{p.each(m=>{let v=kn(m,{customSpecificity:o});if(Jk(v,u)>0){let{index:h,endIndex:b,selector:g}=at(d),{selector:f}=at(m);f=f===g?"":f,P({ruleName:Cu,result:n,node:c,message:Gb.expected,messageArgs:[g,e,f],index:h,endIndex:b})}})})})},zu.ruleName=Cu,zu.messages=Gb,zu.meta=sz,r5=zu}),tx,n5=y(()=>{"use strict";tx=[]}),i5=G((e,t)=>{"use strict";t.exports=[]});function o5(e){if(!/^[a-z]/.test(e)||!e.includes("-"))return!1;let t=e.toLowerCase();return!(t!==e||a5.default.includes(t)||tx.includes(t))}var a5,s5=y(()=>{n5(),a5=X(i5(),1)});function WY(e){for(let t of e)if(!Vv(t))return!1;return!0}var _Y=y(()=>{rP()});function $d(e){var i;if(!e.parent||!e.parent.parent)return!1;let t=e.parent.parent,r=t.type,n=t.value;if(n){let o=n.toLowerCase().replace(/:+/,"");if(r==="pseudo"&&(_c.has(o)||$i.has(o)||Ov.has(o)||Iv.has(o)))return!1}return!(((i=e.prev())==null?void 0:i.type)==="nesting"||e.value.startsWith("%")||e.value.startsWith("/")&&e.value.endsWith("/"))}var Bd=y(()=>{Tt()}),l5={};A(l5,{default:()=>u5});function UY(e){if(!e.parent)return!1;let t=e.parent.nodes.indexOf(e);return e.parent.nodes.slice(0,t).some(r=>GY(r))}function VY(e){if(!e.parent)return!1;let t=e.parent.nodes.indexOf(e);return e.parent.nodes.slice(0,t).some(r=>KY(r))}function QY(e){return!!(e.prev()&&!ud(e.prev())||e.next()&&!ud(e.next()))}function YY(e){return HY(e.prev())}function ud(e){return e?e.type==="combinator":!1}function GY(e){return e?ud(e)&&$(e.value)&&WY(e.value):!1}function KY(e){return e?ud(e)&&e.value===">":!1}function HY(e){return ud(e)&&e.value==="+"}var Au,Hb,lz,Nu,u5,XY=y(()=>{q(),we(),zt(),s5(),Vh(),Tr(),_Y(),de(),Bd(),V(),K(),ze(),I(),j(),D(),Au="selector-max-type",Hb=O(Au,{expected:(e,t)=>`Too many type selectors in "${e}", maximum ${t}`}),lz={url:"https://stylelint.io/user-guide/rules/selector-max-type"},Nu=(e,t)=>(r,n)=>{if(!T(n,Au,{actual:e,possible:cr},{actual:t,possible:{ignore:["descendant","child","compounded","next-sibling","custom-elements"],ignoreTypes:[$,_]},optional:!0}))return;let i=F(t,"ignore","descendant"),o=F(t,"ignore","child"),a=F(t,"ignore","compounded"),s=F(t,"ignore","next-sibling"),l=F(t,"ignore","custom-elements");function u(c,d){let p=0;if(c.walkTags(m=>{F(t,"ignoreTypes",m.value)||i&&UY(m)||o&&VY(m)||a&&QY(m)||s&&YY(m)||l&&m.value&&o5(m.value)||$d(m)&&(p+=1)}),p>e){let{selector:m,index:v,endIndex:h}=at(c);P({ruleName:Au,result:n,node:d,message:Hb.expected,messageArgs:[m,e],index:v,endIndex:h})}}r.walkRules(Q.typeSelector,c=>{var d;!ce(c)||c.selectors.some(Uh)||(d=xe(be(c),n,c))==null||d.each(p=>{u(p,c)})})},Nu.ruleName=Au,Nu.messages=Hb,Nu.meta=lz,u5=Nu}),c5={};A(c5,{default:()=>d5});var Eu,Xb,uz,Pu,d5,JY=y(()=>{we(),zt(),Tr(),de(),q(),V(),K(),ze(),I(),j(),D(),Eu="selector-max-universal",Xb=O(Eu,{expected:(e,t)=>`Too many universal selectors in "${e}", maximum ${t}`}),uz={url:"https://stylelint.io/user-guide/rules/selector-max-universal"},Pu=(e,t)=>(r,n)=>{if(!T(n,Eu,{actual:e,possible:cr},{actual:t,possible:{ignoreAfterCombinators:[$]},optional:!0}))return;function i(o,a){let s=0;if(o.walkUniversals(l=>{let u=l.prev(),c=u&&u.value;F(t,"ignoreAfterCombinators",c)||(s+=1)}),s>e){let{index:l,endIndex:u,selector:c}=at(o);P({ruleName:Eu,result:n,node:a,message:Xb.expected,messageArgs:[c,e],index:l,endIndex:u})}}r.walkRules(Q.universalSelector,o=>{var a;ce(o)&&((a=xe(be(o),n,o))==null||a.each(s=>{i(s,o)}))})},Pu.ruleName=Eu,Pu.messages=Xb,Pu.meta=uz,d5=Pu}),p5={};A(p5,{default:()=>m5});var Iu,Jb,cz,Ou,m5,ZY=y(()=>{q(),we(),zt(),de(),ze(),I(),j(),D(),Iu="selector-nested-pattern",Jb=O(Iu,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),cz={url:"https://stylelint.io/user-guide/rules/selector-nested-pattern"},Ou=(e,t)=>(r,n)=>{if(!T(n,Iu,{actual:e,possible:[_,$]},{actual:t,possible:{splitList:[cd]},optional:!0}))return;let i=$(e)?new RegExp(e):e,o=t&&t.splitList;r.walkRules(s=>{var u;if(s.parent&&s.parent.type!=="rule"||!ce(s))return;let l=be(s);o?(u=xe(l,n,s))==null||u.each(c=>{let{index:d,endIndex:p,selector:m}=at(c);a(s,m,d,p)}):a(s,l,0,l.length)});function a(s,l,u,c){i.test(l)||P({result:n,ruleName:Iu,message:Jb.expected,messageArgs:[l,e],node:s,index:u,endIndex:c})}},Ou.ruleName=Iu,Ou.messages=Jb,Ou.meta=cz,m5=Ou});function h5(e){return e.startsWith(":--")}var f5=y(()=>{}),g5={};A(g5,{default:()=>b5});var dz,di,ju,pz,mz,hz,fz,Tu,b5,eG=y(()=>{dz=X(dt(),1),Tt(),q(),we(),f5(),de(),kd(),Bd(),V(),K(),ze(),I(),j(),D(),di="selector-no-deprecated",ju=O(di,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:e=>`Deprecated selector "${e}"`}),pz={url:"https://stylelint.io/user-guide/rules/selector-no-deprecated",fixable:!0},{isPseudoElement:mz}=dz.default,hz={"focus-ring":"focus-visible",matches:"is","-webkit-any":"is","-moz-any":"is","top-layer":"open","popup-open":"open","user-error":"user-invalid"},fz={content:"slotted"},Tu=(e,t)=>(r,n)=>{T(n,di,{actual:e},{actual:t,possible:{ignoreSelectors:[$,_]},optional:!0})&&r.walkRules(i=>{if(!ce(i))return;let o=be(i),a=Q.deprecatedPseudo.test(o),s=Q.deprecatedTypeSelector.test(o);if(!a&&!s)return;let l=xe(o,n,i);l&&(a&&l.walkPseudos(u=>{let{value:c,sourceIndex:d}=u;if(!wd(c)||h5(c))return;let p,m;if(mz(u)){p=c.slice(2);let g=p.toLowerCase();if(!fm.has(g))return;let f=fz[g];f&&(m=`::${f}`)}else{p=c.slice(1);let g=p.toLowerCase();if(!gm.has(g))return;let f=hz[g];f&&(m=`:${f}`)}if(F(t,"ignoreSelectors",p))return;let v,h,b;typeof m=="string"?(h=ju.expected,b=[c,m],v=()=>{u.value=m,i.selector=l.toString()}):(h=ju.rejected,b=[c]),P({result:n,ruleName:di,message:h,messageArgs:b,node:i,index:d,endIndex:d+c.length,fix:{apply:v,node:i}})}),s&&l.walkTags(u=>{let{sourceIndex:c,value:d}=u;$d(u)&&(F(t,"ignoreSelectors",d)||!mm.has(d.toLowerCase())&&!Iw.has(d)||P({result:n,ruleName:di,message:ju.rejected,messageArgs:[d],node:i,index:c,endIndex:c+d.length}))}))})},Tu.ruleName=di,Tu.messages=ju,Tu.meta=pz,b5=Tu}),v5={};A(v5,{default:()=>y5});function tG(e,t){let{children:r}=e;if((r==null?void 0:r.size)!==1)return!1;let n=r.first;return(n==null?void 0:n.type)!=="Identifier"?!1:t.has(n.name.toLowerCase())}var Du,Zb,gz,Lu,y5,rG=y(()=>{On(),Tt(),we(),Rd(),de(),V(),I(),j(),D(),Du="selector-no-invalid",Zb=O(Du,{rejected:(e,t)=>`Invalid selector "${e}"${t?`, ${t}`:""}`}),gz={url:"https://stylelint.io/user-guide/rules/selector-no-invalid"},Lu=e=>(t,r)=>{T(r,Du,{actual:e})&&t.walkRules(n=>{if(!ce(n)||Md(n))return;let i=be(n),o=(s,l,u,c)=>{P({message:Zb.rejected,messageArgs:[u,c],node:n,index:s,endIndex:l,ruleName:Du,result:r})},a;try{a=qr(i,{context:"selectorList",positions:!0})}catch(s){if(!(s instanceof SyntaxError))throw s;let l="offset"in s&&typeof s.offset=="number"?s.offset:0,u=s.message;o(l,Math.min(l+1,i.length),i,u.charAt(0).toLowerCase()+u.slice(1));return}Q.dirPseudoClass.test(i)&&Ni(a,{visit:"PseudoClassSelector",enter(s){if(s.name.toLowerCase()!=="dir"||!s.loc||tG(s,jv))return Ni.skip;let l=s.loc.start.offset,u=s.loc.end.offset,c=`expected ${[...jv].map(d=>`"${d}"`).join(" or ")}`;o(l,u,i.slice(l,u),c)}})})},Lu.ruleName=Du,Lu.messages=Zb,Lu.meta=gz,y5=Lu});function vw(e){return w5.default.isPseudoClass(e)&&e.nodes.length>0&&k5.has(e.value.toLowerCase())}var w5,k5,x5=y(()=>{w5=X(dt(),1),k5=new Set(["is","matches","not","where","host"].map(e=>`:${e}`))});function nG(e){let t=Ri.default.root({source:e.source,sourceIndex:e.sourceIndex,value:"",nodes:[]}),r=new Map;return e.each(n=>{iG(n).forEach(i=>{let o=n.clone({nodes:[]});i.forEach(a=>{let s=a.clone();Ri.default.isTag(a)&&r.set(s,a),o.append(s)}),t.append(o)})}),{compoundSelectors:t,lookupMap:r}}function iG(e){let{terminatedCompoundSelectors:t,currentCompoundSelectors:r}=yw(e);return[...t,...r].filter(n=>n.length)}function yw(e){let t=[],r=[[]];return e.each(n=>{if(Ri.default.isCombinator(n)){t.push(...r),r=[[]];return}if(Ri.default.isPseudoElement(n)&&(t.push(...r),r=[[]]),Ri.default.isPseudoClass(n)&&n.value.toLowerCase()===":has"&&n.nodes.length){n.each(i=>{let o=yw(i);t.push(...o.terminatedCompoundSelectors,...o.currentCompoundSelectors)});return}if(vw(n)){let i=[];n.each(o=>{let a=yw(o);t.push(...a.terminatedCompoundSelectors),a.currentCompoundSelectors.forEach(s=>{s.length&&r.forEach(l=>{i.push([...l,...s])})})}),i.length&&(r=i);return}r.forEach(i=>{i.push(n)})}),{terminatedCompoundSelectors:t,currentCompoundSelectors:r}}var Ri,oG=y(()=>{Ri=X(dt(),1),x5()}),S5={};A(S5,{default:()=>z5});function C5(e){var o;let t=(o=e.parent)==null?void 0:o.parent;if(vw(t))return C5(t);let r=[e],n=e;for(;(n=n.prev())&&!(Nt.default.isCombinator(n)||Nt.default.isPseudoElement(n));)Nt.default.isComment(n)||r.push(n);r.reverse();let i=e;for(;(i=i.next())&&!(Nt.default.isCombinator(i)||Nt.default.isPseudoElement(i));)Nt.default.isComment(i)||r.push(i);for(;(i=r.at(-1))&&!(Nt.default.isIdentifier(i)||Nt.default.isClassName(i)||Nt.default.isAttribute(i)||Nt.default.isTag(i)||vw(i));)r.splice(-1,1);return r}var Nt,Fu,ev,bz,Mu,z5,aG=y(()=>{Nt=X(dt(),1),oG(),zt(),Rd(),x5(),de(),Bd(),V(),K(),I(),qh(),j(),D(),Fu="selector-no-qualifying-type",ev=O(Fu,{rejected:(e,t)=>`Disallowed qualifying type selector "${t}" in "${e}"`}),bz={url:"https://stylelint.io/user-guide/rules/selector-no-qualifying-type"},Mu=(e,t)=>(r,n)=>{if(!T(n,Fu,{actual:e,possible:[!0]},{actual:t,possible:{ignore:["attribute","class","id"]},optional:!0}))return;let i=F(t,"ignore","id"),o=F(t,"ignore","class"),a=F(t,"ignore","attribute");r.walkRules(Q.idClassAttributeSelector,s=>{if(!ce(s)||Md(s))return;function l(u,c,d){let{compoundSelectors:p,lookupMap:m}=nG(u);p.walkTags(v=>{var x;let h=m.get(v);if(!h||!$d(h))return;let b=v.parent;if(!b||b.nodes.length===1)return;let g=b.nodes,f=C5(h);for(let w of g)if(Nt.default.isIdentifier(w)&&!i||Nt.default.isClassName(w)&&!o||Nt.default.isAttribute(w)&&!a){let k=f.join("").trim(),S,E;d?{index:S,endIndex:E}=at(c):(S=(x=v.sourceIndex)!=null?x:0,E=S+v.value.length),P({ruleName:Fu,result:n,node:s,message:ev.rejected,messageArgs:[k,v.value],index:S,endIndex:E});break}})}ld(s,n).forEach(({selector:u,resolvedSelectors:c,nested:d})=>{l(c,u,d)})})},Mu.ruleName=Fu,Mu.messages=ev,Mu.meta=bz,z5=Mu}),A5={};A(A5,{default:()=>N5});var Ru,tv,vz,$u,N5,sG=y(()=>{q(),we(),bd(),de(),V(),K(),ze(),I(),j(),D(),Ru="selector-no-vendor-prefix",tv=O(Ru,{rejected:e=>`Vendor-prefixed selector "${e}"`}),vz={url:"https://stylelint.io/user-guide/rules/selector-no-vendor-prefix",fixable:!0},$u=(e,t)=>(r,n)=>{T(n,Ru,{actual:e},{actual:t,possible:{ignoreSelectors:[$,_]},optional:!0})&&r.walkRules(Q.prefix,i=>{if(!ce(i))return;let o=xe(be(i),n,i);o&&o.walkPseudos(a=>{let{value:s}=a;if(!zr.selector(s)||F(t,"ignoreSelectors",s))return;let l=()=>{a.value=zr.unprefix(s),i.selector=o.toString()},u=a.sourceIndex,c=u+s.length;P({result:n,ruleName:Ru,message:tv.rejected,messageArgs:[s],node:i,index:u,endIndex:c,fix:{apply:l,node:i}})})})},$u.ruleName=Ru,$u.messages=tv,$u.meta=vz,N5=$u}),E5={};A(E5,{default:()=>I5});function lG(e,t,r){let n=e.nodes.filter(({nodes:o})=>o[0]&&ww(o[0])).map(o=>($e(o.nodes[0]),o.nodes[0].rawSpaceBefore="",o.nodes[0].rawSpaceAfter="",o)),i=n.shift();$e(i),$e(e.parent),e.empty(),e.nodes.push(i);for(let o of n){let a=P5(e),s=a.clone({nodes:[o]});s.rawSpaceBefore="",e.parent.insertAfter(a,s)}t.selector=r.toString()}function uG(e,t,r){let n=s=>{for(let l of s)$e(l.nodes[0]),l.nodes[0].rawSpaceBefore=" ",l.nodes[0].rawSpaceAfter=""},[i,...o]=e.nodes,a=e.next();if(!(i==null||i.nodes.length===0)){for($e(i.nodes[0]),i.nodes[0].rawSpaceBefore="",i.nodes[0].rawSpaceAfter="",n(o);xi(a);){let s=a.nodes,l=a;n(s),e.nodes=e.nodes.concat(s),a=a.next(),l.remove()}t.selector=r.toString()}}var yz,wz,kz,xz,rv,Sz,Cz,Bu,nv,zz,ww,xi,Az,qu,P5,I5,cG=y(()=>{yz=X(dt(),1),q(),we(),de(),V(),ze(),I(),j(),D(),{isAttribute:wz,isClassName:kz,isIdentifier:xz,isPseudoClass:rv,isTag:Sz,isUniversal:Cz}=yz.default,Bu="selector-not-notation",nv=O(Bu,{expected:e=>`Expected ${e} :not() pseudo-class notation`}),zz={url:"https://stylelint.io/user-guide/rules/selector-not-notation",fixable:!0},ww=e=>rv(e)||wz(e)||kz(e)||Cz(e)||xz(e)||Sz(e),xi=e=>rv(e)&&e.value!==void 0&&e.value.toLowerCase()===":not",Az=e=>{if(e.length>1)return!1;$e(e[0],"list is never empty");let[t,r]=e[0].nodes;return t?r?!1:ww(t)&&!xi(t):!0},qu=e=>(t,r)=>{T(r,Bu,{actual:e,possible:["simple","complex"]})&&t.walkRules(Q.notPseudoClass,n=>{if(!ce(n))return;let i=xe(be(n),r,n);i&&i.walkPseudos(o=>{if(!xi(o))return;let a=o.sourceIndex,s=a+o.toString().trim().length,l;if(e==="complex"){let u=o.prev();if(!(u&&xi(u)))return;l=()=>uG(u,n,i)}else{let u=o.nodes;if(Az(u))return;let c=u.length>1&&u[1];c&&(!c.nodes.length||u.every(({nodes:d})=>d.length===1))&&(l=()=>lG(o,n,i))}P({message:nv.expected,messageArgs:[e],node:n,result:r,ruleName:Bu,index:a,endIndex:s,fix:{apply:l,node:n}})})})},P5=({parent:e,sourceIndex:t})=>{$e(e);let r=e.nodes,n=r.findIndex(o=>o.sourceIndex>=t&&!xi(o)),i=n===-1?r[r.length-1]:r[n-1];return $e(i),i},qu.ruleName=Bu,qu.messages=nv,qu.meta=zz,I5=qu}),O5={};A(O5,{default:()=>j5});var Wu,iv,Nz,pi,j5,dG=y(()=>{V(),q(),J(),lt(),we(),et(),de(),Le(),ze(),I(),j(),D(),Wu="selector-pseudo-class-allowed-list",iv=O(Wu,{rejected:e=>`Disallowed pseudo-class "${e}"`}),Nz={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-allowed-list"},pi=e=>(t,r)=>{if(!T(r,Wu,{actual:e,possible:[$,_]}))return;function n(i,o,a=0){var s;(s=xe(i,r,o))==null||s.walkPseudos(({value:l,sourceIndex:u})=>{if(l.slice(0,2)==="::")return;let c=l.slice(1);if(Pe(c,e))return;let d=a+u;P({message:iv.rejected,messageArgs:[l],node:o,result:r,ruleName:Wu,index:d,endIndex:d+l.length})})}t.walkRules(Q.pseudo,i=>{ce(i)&&n(be(i),i)}),t.walkAtRules(Se.pageName,i=>{Q.pseudo.test(i.params)&&Ze(i)&&n(st(i),i,je(i))})},pi.primaryOptionArray=!0,pi.ruleName=Wu,pi.messages=iv,pi.meta=Nz,j5=pi}),T5={};A(T5,{default:()=>D5});var _u,ov,Ez,mi,D5,pG=y(()=>{V(),q(),J(),lt(),we(),et(),de(),Le(),ze(),I(),j(),D(),_u="selector-pseudo-class-disallowed-list",ov=O(_u,{rejected:e=>`Disallowed pseudo-class "${e}"`}),Ez={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-disallowed-list"},mi=e=>(t,r)=>{if(!T(r,_u,{actual:e,possible:[$,_]}))return;function n(i,o,a=0){var s;(s=xe(i,r,o))==null||s.walkPseudos(({value:l,sourceIndex:u})=>{if(l.slice(0,2)==="::")return;let c=l.slice(1);if(!Pe(c,e))return;let d=a+u;P({message:ov.rejected,messageArgs:[l],node:o,result:r,ruleName:_u,index:d,endIndex:d+l.length})})}t.walkRules(Q.pseudo,i=>{ce(i)&&n(be(i),i)}),t.walkAtRules(Se.pageName,i=>{Q.pseudo.test(i.params)&&Ze(i)&&n(st(i),i,je(i))})},mi.primaryOptionArray=!0,mi.ruleName=_u,mi.messages=ov,mi.meta=Ez,D5=mi}),L5={};A(L5,{default:()=>F5});function mG(e,t){var n;let r=e.parent;for(;r;){if(it(r)){let i=be(r);if(i.includes("::")){let o=!1;if((n=xe(i,t,r))==null||n.walkPseudos(a=>{if(a.value.startsWith("::")&&hm.has(a.value.toLowerCase().slice(2)))return o=!0,!1}),o)return!0}}r=r.parent}return!1}var Uu,av,Pz,Vu,F5,hG=y(()=>{Tt(),me(),q(),J(),lt(),we(),f5(),et(),de(),kd(),K(),ze(),I(),j(),D(),Dt(),Uu="selector-pseudo-class-no-unknown",av=O(Uu,{rejected:e=>`Unknown pseudo-class selector "${e}"`}),Pz={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-no-unknown"},Vu=(e,t)=>(r,n)=>{if(!T(n,Uu,{actual:e},{actual:t,possible:{ignorePseudoClasses:[$,_]},optional:!0}))return;function i(o,a){var s;(s=xe(o,n,a))==null||s.walkPseudos(l=>{let u=l.value;if(!wd(u)||h5(u)||u.startsWith("::"))return;let c=u.replace(/^:*/,"").toLowerCase();if(qc.has(c)||F(t,"ignorePseudoClasses",l.value.slice(1)))return;let d=Xe.prefix(c),p;if(Oe(a)&&a.name==="page"){if(lN.has(c))return;p=je(a)+l.sourceIndex}else if(rh.has(c)&&!d)p=l.sourceIndex;else{if(d||uN.has(c))return;let v=l,h=!1,b=!1;do if(v=v.prev(),v&&(v.type==="combinator"&&(h=!0),v.type==="nesting"&&!h&&(b=!0),v.value.startsWith("::")))break;while(v);if(v){let g=v.value.toLowerCase().slice(2);if(hm.has(g)&&Dv.has(c))return}else if(Dv.has(c)&&b&&mG(a,n))return;p=l.sourceIndex}let m=p+l.value.length;P({message:av.rejected,messageArgs:[u],node:a,index:p,endIndex:m,ruleName:Uu,result:n})})}r.walk(o=>{let a=null;if(o.type==="rule"){if(!ce(o))return;a=be(o)}else if(Oe(o)&&o.name==="page"&&o.params){if(!Ze(o))return;a=st(o)}a&&a.includes(":")&&i(a,o)})},Vu.ruleName=Uu,Vu.messages=av,Vu.meta=Pz,F5=Vu}),M5={};A(M5,{default:()=>R5});var Qu,sv,Iz,hi,R5,fG=y(()=>{q(),we(),de(),Le(),V(),ze(),I(),j(),D(),Qu="selector-pseudo-element-allowed-list",sv=O(Qu,{rejected:e=>`Disallowed pseudo-element "${e}"`}),Iz={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-allowed-list"},hi=e=>(t,r)=>{T(r,Qu,{actual:e,possible:[$,_]})&&t.walkRules(Q.pseudoElement,n=>{var i;ce(n)&&((i=xe(be(n),r,n))==null||i.walkPseudos(o=>{let a=o.value;if(a.charAt(1)!==":")return;let s=a.slice(2);if(Pe(s,e))return;let l=o.sourceIndex,u=l+a.length;P({index:l,endIndex:u,message:sv.rejected,messageArgs:[a],node:n,result:r,ruleName:Qu})}))})},hi.primaryOptionArray=!0,hi.ruleName=Qu,hi.messages=sv,hi.meta=Iz,R5=hi}),$5={};A($5,{default:()=>B5});var Yu,lv,Oz,Gu,B5,gG=y(()=>{we(),de(),Tt(),V(),ze(),I(),j(),D(),Yu="selector-pseudo-element-colon-notation",lv=O(Yu,{expected:e=>`Expected ${e} colon pseudo-element notation`}),Oz={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-colon-notation",fixable:!0},Gu=e=>(t,r)=>{if(!T(r,Yu,{actual:e,possible:["single","double"]}))return;let n="";e==="single"?n=":":e==="double"&&(n="::"),t.walkRules(Q.pseudo,i=>{if(!ce(i))return;let o=xe(be(i),r,i);o&&o.walkPseudos(a=>{let s=a.value.replaceAll(":","");if(!qc.has(s.toLowerCase()))return;let l=a.value.startsWith("::");if(e==="single"&&!l||e==="double"&&l)return;let u=()=>{a.replaceWith(a.clone({value:n+s})),i.selector=o.toString()};P({message:lv.expected,messageArgs:[e],node:i,index:a.sourceIndex,endIndex:a.sourceIndex+(l?2:1),result:r,ruleName:Yu,fix:{apply:u,node:i}})})})},Gu.ruleName=Yu,Gu.messages=lv,Gu.meta=Oz,B5=Gu}),q5={};A(q5,{default:()=>W5});var Ku,uv,jz,fi,W5,bG=y(()=>{q(),we(),de(),Le(),V(),ze(),I(),j(),D(),Ku="selector-pseudo-element-disallowed-list",uv=O(Ku,{rejected:e=>`Disallowed pseudo-element "${e}"`}),jz={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-disallowed-list"},fi=e=>(t,r)=>{T(r,Ku,{actual:e,possible:[$,_]})&&t.walkRules(Q.pseudoElement,n=>{var i;ce(n)&&((i=xe(be(n),r,n))==null||i.walkPseudos(o=>{let a=o.value;if(a.charAt(1)!==":")return;let s=a.slice(2);if(!Pe(s,e))return;let l=o.sourceIndex,u=l+a.length;P({index:l,endIndex:u,message:uv.rejected,messageArgs:[a],node:n,result:r,ruleName:Ku})}))})},fi.primaryOptionArray=!0,fi.ruleName=Ku,fi.messages=uv,fi.meta=jz,W5=fi}),_5={};A(_5,{default:()=>U5});var Hu,cv,Tz,Xu,U5,vG=y(()=>{q(),we(),de(),kd(),V(),K(),ze(),Tt(),I(),j(),D(),Dt(),Hu="selector-pseudo-element-no-unknown",cv=O(Hu,{rejected:e=>`Unknown pseudo-element selector "${e}"`}),Tz={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-no-unknown"},Xu=(e,t)=>(r,n)=>{T(n,Hu,{actual:e},{actual:t,possible:{ignorePseudoElements:[$,_]},optional:!0})&&r.walkRules(Q.pseudo,i=>{var o;ce(i)&&((o=xe(be(i),n,i))==null||o.walkPseudos(a=>{let s=a.value;if(!wd(s)||s.slice(0,2)!=="::"||F(t,"ignorePseudoElements",a.value.slice(2)))return;let l=s.slice(2);if(Xe.prefix(l)||rh.has(l.toLowerCase()))return;let u=a.sourceIndex,c=u+s.length;P({message:cv.rejected,messageArgs:[s],node:i,index:u,endIndex:c,ruleName:Hu,result:n})}))})},Xu.ruleName=Hu,Xu.messages=cv,Xu.meta=Tz,U5=Xu}),V5={};A(V5,{default:()=>Q5});var Ju,dv,Dz,Lz,Fz,Mz,Zu,Q5,yG=y(()=>{q(),we(),Vh(),de(),Bd(),Tt(),K(),ze(),I(),j(),D(),Ju="selector-type-case",dv=O(Ju,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),Dz={url:"https://stylelint.io/user-guide/rules/selector-type-case",fixable:!0},Lz=/(?:[^.#[:a-z-]|^)[a-z]/i,Fz=/[A-Z]/,Mz=/[a-z]/,Zu=(e,t)=>(r,n)=>{T(n,Ju,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreTypes:[$,_]},optional:!0})&&r.walkRules(i=>{let o=i.selector;if(!Lz.test(o)||e==="lower"&&!Fz.test(o)||e==="upper"&&!Mz.test(o)||!ce(i)||i.selectors.some(Uh))return;let a=xe(be(i),n,i);a&&a.walkTags(s=>{if(!$d(s)||sN.has(s.value)||F(t,"ignoreTypes",s.value))return;let l=s.sourceIndex,u=s.value,c=e==="lower"?u.toLowerCase():u.toUpperCase();if(u===c)return;let d=l,p=l+u.length,m=()=>{s.value=c,i.selector=a.toString()};P({message:dv.expected,messageArgs:[u,c],node:i,index:d,endIndex:p,ruleName:Ju,result:n,fix:{apply:m,node:i}})})})},Zu.ruleName=Ju,Zu.messages=dv,Zu.meta=Dz,Q5=Zu}),Y5={};A(Y5,{default:()=>H5});function wG(e){var r;let t=(r=e.parent)==null?void 0:r.parent;return rx.default.isPseudoElement(t)&&G5.has(t.value)}function kG(e){var r;let t=(r=e.parent)==null?void 0:r.parent;return rx.default.isPseudoClass(t)&&K5.has(t.value)}var rx,Rz,ec,pv,$z,Bz,G5,K5,tc,H5,xG=y(()=>{n5(),rx=X(dt(),1),Rz=X(i5(),1),q(),we(),Tt(),s5(),Vh(),de(),Bd(),K(),ze(),I(),j(),D(),ec="selector-type-no-unknown",pv=O(ec,{rejected:e=>`Unknown type selector "${e}"`}),$z={url:"https://stylelint.io/user-guide/rules/selector-type-no-unknown"},Bz=/(?:[^.#[:a-z-]|^)[a-z]/i,G5=new Set(["::highlight","::view-transition-group","::view-transition-image-pair","::view-transition-new","::view-transition-old"]),K5=new Set([":active-view-transition-type",":dir",":-moz-locale-dir",":state",":lang"]),tc=(e,t)=>(r,n)=>{T(n,ec,{actual:e},{actual:t,possible:{ignore:["custom-elements","default-namespace"],ignoreNamespaces:[$,_],ignoreTypes:[$,_]},optional:!0})&&r.walkRules(i=>{var o;Bz.test(i.selector)&&ce(i)&&(i.selectors.some(Uh)||((o=xe(be(i),n,i))==null||o.walkTags(a=>{if(!$d(a)||F(t,"ignore","custom-elements")&&o5(a.value)||F(t,"ignore","default-namespace")&&typeof a.namespace!="string"||F(t,"ignoreNamespaces",a.namespace)||F(t,"ignoreTypes",a.value)||wG(a)||kG(a))return;let s=a.value,l=s.toLowerCase(),u=[...Rz.default,"hatch","hatchpath","hatchPath"];if(aN.has(l)||u.includes(s)||tx.includes(l))return;let c=a.sourceIndex,d=c+s.length;P({message:pv.rejected,messageArgs:[s],node:i,index:c,endIndex:d,ruleName:ec,result:n})})))})},tc.ruleName=ec,tc.messages=pv,tc.meta=$z,H5=tc}),X5={};A(X5,{default:()=>J5});function kw(e,t,r,n){let i=e.toLowerCase(),o=t.toLowerCase(),a=r&&r.toLowerCase(),s=n&&n.toLowerCase();return SG(i,o,a,s)?[e]:CG(i,o,a,s)?[e,t]:zG(i,o,a,s)?[e,t,r]:[e,t,r,n]}function SG(e,t,r,n){return e!==t?!1:e===r&&(r===n||!n)||!r&&!n}function CG(e,t,r,n){return e===r&&t===n||e===r&&!n&&e!==t}function zG(e,t,r,n){return t===n}function AG(e){let t=[],r=[],n=!1,i=!1,o=!1;for(let a of(0,Fc.default)(e).nodes){if(FA(a)){if(a.value==="/"){n=!0;continue}return{horizontal:[],vertical:[],sawSlash:!1,horizontalHasVar:!1,verticalHasVar:!1}}if(ao(a)&&(n?o=!0:i=!0),En(a)||Nn(a)){let s=Fc.default.stringify(a);n?r.push(s):t.push(s)}}return{horizontal:t,vertical:r,sawSlash:n,horizontalHasVar:i,verticalHasVar:o}}function NG(e,t,r,n,i,o){let[a="",s="",l="",u=""]=r,[c="",d="",p="",m=""]=n,v=i?r.join(" "):kw(a,s,l,u).filter(Boolean).join(" "),h=o?n.join(" "):kw(c,d,p,m).filter(Boolean).join(" "),b=`${v} / ${h}`.trim(),g=t.value.trim().toLowerCase().replace(/\s+/g," "),f=b.toLowerCase();if(g===f)return;let x=()=>{t.value=b},w=ne(t),k=w+t.value.length;P({message:cm.expected,messageArgs:[t.value,b],node:t,index:w,endIndex:k,result:e,ruleName:Si,fix:{apply:x,node:t}})}var Fc,Si,cm,qz,Wz,_z,rc,J5,EG=y(()=>{Fc=X(ue(),1),J(),ct(),jr(),_e(),Cd(),K(),I(),j(),D(),Dt(),me(),Si="shorthand-property-no-redundant-values",cm=O(Si,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),qz={url:"https://stylelint.io/user-guide/rules/shorthand-property-no-redundant-values",fixable:!0},Wz=new Set(["margin","margin-block","margin-inline","padding","padding-block","padding-inline","border-color","border-style","border-width","border-radius","border-block-color","border-block-style","border-block-width","border-inline-color","border-inline-style","border-inline-width","gap","grid-gap","overflow","overscroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-inline","scroll-padding","scroll-padding-block","scroll-padding-inline","inset","inset-block","inset-inline"]),_z=new Set(["margin","padding","border-color","border-style","border-width","scroll-margin","scroll-padding","inset"]),rc=(e,t)=>(r,n)=>{T(n,Si,{actual:e},{actual:t,possible:{ignore:["four-into-three-edge-values"]},optional:!0})&&r.walkDecls(i=>{let{prop:o,value:a}=i;if(!/\s/.test(a)||!ut(i)||!Or(o)||!Be(a))return;let s=Xe.unprefixed(o.toLowerCase());if(!Wz.has(s))return;if(s==="border-radius"){let{horizontal:x,vertical:w,sawSlash:k,horizontalHasVar:S,verticalHasVar:E}=AG(a);if(k){NG(n,i,x,w,S,E);return}}let l=[];for(let x of(0,Fc.default)(a).nodes){if(FA(x)||ao(x))return;(En(x)||Nn(x))&&l.push(Fc.default.stringify(x))}if(l.length<=1||l.length>4)return;let[u="",c="",d="",p=""]=l,m=kw(u,c,d,p);if(F(t,"ignore","four-into-three-edge-values")&&_z.has(s)&&l.length===4&&m.length===3)return;let v=m.filter(Boolean).join(" "),h=l.join(" ");if(v.toLowerCase()===h.toLowerCase())return;let b=()=>{i.value=i.value.replace(a,v)},g=ne(i),f=g+i.value.length;P({message:cm.expected,messageArgs:[a,v],node:i,index:g,endIndex:f,result:n,ruleName:Si,fix:{apply:b,node:i}})})},rc.ruleName=Si,rc.messages=cm,rc.meta=qz,J5=rc}),Z5={};A(Z5,{default:()=>e6});var nc,mv,hv,Uz,ic,e6,PG=y(()=>{rt(),J(),kd(),K(),I(),j(),D(),nc="string-no-newline",mv=/\r?\n/,hv=O(nc,{rejected:"Newline in string"}),Uz={url:"https://stylelint.io/user-guide/rules/string-no-newline"},ic=(e,t)=>(r,n)=>{if(!T(n,nc,{actual:e},{actual:t,possible:{ignore:["at-rule-preludes","declaration-values"]},optional:!0}))return;r.walk(a=>{switch(a.type){case"atrule":if(F(t,"ignore","at-rule-preludes"))break;o(a,a.params,je);break;case"decl":if(F(t,"ignore","declaration-values"))break;o(a,a.value,ne);break;case"rule":i(a);break}});function i(a){mv.test(a.selector)&&wd(a.selector)&&o(a,a.selector,()=>0)}function o(a,s,l){mv.test(s)&&St({css:s},{onParseError:u=>{if(!(u instanceof kr)||u.message!==ir.UnexpectedNewLineInString)return;let[,,c,d]=u.token,p=l(a);P({message:hv.rejected,messageArgs:[],node:a,index:p+c,endIndex:p+d+1,result:n,ruleName:nc})}})}},ic.ruleName=nc,ic.messages=hv,ic.meta=Uz,e6=ic}),t6={};A(t6,{default:()=>r6});var oc,fv,Vz,Qz,ac,r6,IG=y(()=>{rt(),On(),V(),J(),I(),j(),D(),oc="syntax-string-no-invalid",fv=O(oc,{rejected:e=>`Invalid syntax string "${e}"`}),Vz={url:"https://stylelint.io/user-guide/rules/syntax-string-no-invalid"},Qz=Ak({properties:{"-stylelint-syntax":"'*' | <syntax-component> [ <syntax-combinator> <syntax-component> ]*"},types:{"syntax-component":"<syntax-single-component> <syntax-multiplier>? | '<' transform-list '>'","syntax-single-component":"'<' <syntax-type-name> '>' | <ident>","syntax-type-name":"angle | color | custom-ident | image | integer | length | length-percentage | number | percentage | resolution | string | time | url | transform-function","syntax-combinator":"'|'","syntax-multiplier":"[ '#' | '+' ]"}}).lexer,ac=e=>(t,r)=>{T(r,oc,{actual:e})&&t.walkAtRules(Se.propertyName,n=>{n.walkDecls(EN.syntaxName,i=>{St({css:i.value}).filter(o=>g7(o)).forEach(o=>{let{error:a}=Qz.matchProperty("-stylelint-syntax",o[4].value);if(!a||!("mismatchLength"in a))return;let{name:s,rawMessage:l}=a;if(s!=="SyntaxMatchError"||l!=="Mismatch")return;let u=ne(i);P({message:fv.rejected,messageArgs:[o[4].value],node:i,index:u+o[2],endIndex:u+o[3]+1,result:r,ruleName:oc})})})})},ac.ruleName=oc,ac.messages=fv,ac.meta=Vz,r6=ac}),n6={};A(n6,{default:()=>i6});var Yz,sc,gv,Gz,Kz,lc,i6,OG=y(()=>{Yz=X(ue(),1),Pr(),J(),We(),Tn(),q(),V(),K(),I(),j(),D(),Dt(),sc="time-min-milliseconds",gv=O(sc,{expected:e=>`Too short duration, minimum ${e} milliseconds`}),Gz={url:"https://stylelint.io/user-guide/rules/time-min-milliseconds"},Kz=new Set(["animation-delay","transition-delay"]),lc=(e,t)=>(r,n)=>{if(!T(n,sc,{actual:e,possible:Sr},{actual:t,possible:{ignore:["delay"]},optional:!0}))return;let i=e,o=F(t,"ignore","delay");r.walkDecls(c=>{let d=c.value;if(!Q.time.test(d))return;let p=Xe.unprefixed(c.prop.toLowerCase()),m=(0,Yz.default)(qe(c)),v=0;m.walk(h=>{let{value:b,sourceIndex:g}=h,f=jn(h);ZA.has(p)&&!s(p)&&!l(f)&&u(c,0,d.length),eN.has(p)&&(v=a(f,b,v),!(l(f)||o&&v!==1)&&u(c,g,b.length))})});function a(c,d,p){let{unit:m}=c;return m!==null&&p++,d===","&&(p=0),p}function s(c){return!!(o&&Kz.has(c))}function l(c){let{unit:d,number:p}=c;if(d===null||p===null)return!0;let m=Number(p);if(m<=0)return!0;let v=d.toLowerCase();return!(v==="ms"&&m<i||v==="s"&&m*1e3<i)}function u(c,d,p){let m=ne(c)+d,v=m+p;P({result:n,ruleName:sc,message:gv.expected,messageArgs:[i],index:m,endIndex:v,node:c})}},lc.ruleName=sc,lc.messages=gv,lc.meta=Gz,i6=lc}),o6={};A(o6,{default:()=>a6});var Hz,uc,bv,Xz,gi,a6,jG=y(()=>{Hz=X(ue(),1),J(),V(),q(),Tn(),K(),I(),j(),Ht(),D(),uc="unit-allowed-list",bv=O(uc,{rejected:e=>`Disallowed unit "${e}"`}),Xz={url:"https://stylelint.io/user-guide/rules/unit-allowed-list"},gi=(e,t)=>(r,n)=>{if(!T(n,uc,{actual:e,possible:[$]},{optional:!0,actual:t,possible:{ignoreFunctions:[$,_],ignoreProperties:[Bt($,_)]}}))return;let i=[e].flat();function o(a,s,l){Q.dimension.test(s)&&(s=s.replaceAll("*",","),(0,Hz.default)(s).walk(u=>{if(u.type==="function"){let m=u.value.toLowerCase();if(m==="url"||F(t,"ignoreFunctions",m))return!1}let{number:c,unit:d}=jn(u);if(!c||!d||i.includes(d.toLowerCase())||"prop"in a&&t&&F(t.ignoreProperties,d.toLowerCase(),a.prop))return;let p=l(a);P({index:p+u.sourceIndex+c.length,endIndex:p+u.sourceEndIndex,message:bv.rejected,messageArgs:[d],node:a,result:n,ruleName:uc})}))}r.walkAtRules(Se.mediaName,a=>o(a,a.params,je)),r.walkDecls(a=>o(a,a.value,ne))},gi.primaryOptionArray=!0,gi.ruleName=uc,gi.messages=bv,gi.meta=Xz,a6=gi});function s6(e){if(!l6.test(e.prop))return!1;let t=e.parent;return!t||!Oe(t)?!1:u6.test(t.name)}var l6,u6,c6=y(()=>{me(),l6=/^unicode-range$/i,u6=/^font-face$/i}),d6={};A(d6,{default:()=>p6});function Jz(e){return St({css:e}).map(t=>t[0]!==z.Percentage?t:[z.Dimension,t[1],t[2],t[3],{value:t[4].value,unit:"%",type:re.Number}])}var cc,vv,Zz,bi,p6,TG=y(()=>{rt(),Ct(),Xt(),J(),V(),q(),lt(),We(),c6(),K(),I(),j(),Ht(),D(),cc="unit-disallowed-list",vv=O(cc,{rejected:e=>`Disallowed unit "${e}"`}),Zz={url:"https://stylelint.io/user-guide/rules/unit-disallowed-list"},bi=(e,t)=>(r,n)=>{if(!T(n,cc,{actual:e,possible:[$]},{optional:!0,actual:t,possible:{ignoreFunctions:[$,_],ignoreProperties:[Bt($,_)],ignoreMediaFeatureNames:[Bt($,_)]}}))return;let i=[e].flat();function o(s){if(!He(s))return!1;let l=s.getName().toLowerCase();return l==="url"||F(t,"ignoreFunctions",l)}function a(s,l,u,c,d){if(!le(u)||u.value[0]!==z.Dimension)return;let[,,,p,{unit:m}]=u.value,v=m.toLowerCase();if(!i.includes(v)||d&&F(d,v,c))return;let h=l(s)+(p+1)-m.length;P({index:h,endIndex:h+m.length,message:vv.rejected,messageArgs:[m],node:s,result:n,ruleName:cc})}r.walkAtRules(Se.mediaName,s=>{let l=st(s);Q.dimension.test(l)&&Ld(Jz(l)).forEach(u=>{let c={mediaFeatureName:void 0};u.walk(({node:d,state:p})=>{p&&(Ln(d)&&(p.mediaFeatureName=d.getName().toLowerCase()),p.mediaFeatureName&&le(d)&&a(s,je,d,p.mediaFeatureName,t==null?void 0:t.ignoreMediaFeatureNames))},c)})}),r.walkDecls(s=>{if(s6(s))return;let l=qe(s);if(!Q.dimension.test(l))return;let u={ignored:!1};Dn(uo(Jz(l)),({node:c,state:d})=>{if(d&&!d.ignored){if(le(c)){a(s,ne,c,s.prop,t==null?void 0:t.ignoreProperties);return}o(c)&&(d.ignored=!0)}},u)})},bi.primaryOptionArray=!0,bi.ruleName=cc,bi.messages=vv,bi.meta=Zz,p6=bi}),m6={};A(m6,{default:()=>h6});function DG(e){let t=e==="left-to-right"||e==="right-to-left"?"horizontalInline":"verticalInline";return new Map([...Yc].map(([r,n])=>[r,n[t]]))}var eA,vi,Wp,tA,dc,h6,LG=y(()=>{eA=X(ue(),1),oo(),q(),J(),We(),Tn(),ct(),V(),K(),I(),j(),gt(),D(),vi="unit-layout-mappings",Wp=O(vi,{rejected:(e,t)=>`Disallowed ${e} unit "${t}"`,expected:(e,t)=>`Expected "${e}" to be "${t}"`}),tA={url:"https://stylelint.io/user-guide/rules/unit-layout-mappings",fixable:!0},dc=(e,t)=>(r,n)=>{var s,l,u;if(!T(n,vi,{actual:e,possible:["flow-relative","physical"]},{actual:t,possible:{ignoreUnits:[$,_]},optional:!0}))return;let i=(u=(l=(s=n.stylelint.config)==null?void 0:s.languageOptions)==null?void 0:l.directionality)==null?void 0:u.inline,o=i?DG(i):null;function a(c,d,p,m,v){P({index:p,endIndex:m,message:Wp.rejected,messageArgs:[c,d],node:v,result:n,ruleName:vi})}r.walkDecls(c=>{if(!Q.axisUnit.test(c.value)||!ut(c))return;let d=(0,eA.default)(qe(c)),p=ne(c);d.walk(m=>{let{number:v,unit:h}=jn(m);if(!v||!h||F(t,"ignoreUnits",h))return;let{sourceIndex:b,sourceEndIndex:g}=m,f=p+b+v.length,x=p+g;if(e==="physical"){if(!Bw.has(h))return;a("flow-relative",h,f,x,c);return}if(!Yc.has(h))return;if(!o){a("physical",h,f,x,c);return}let w=o.get(h);w&&P({index:f,endIndex:x,message:Wp.expected,messageArgs:[h,w],node:c,result:n,ruleName:vi,fix:{apply:()=>{m.value=v+w,ft(c,d.toString())},node:c}})})})},dc.ruleName=vi,dc.messages=Wp,dc.meta=tA,h6=dc}),f6={};A(f6,{default:()=>g6});var _p,pc,yv,rA,nA,mc,g6,FG=y(()=>{rt(),Ct(),Xt(),J(),V(),q(),lt(),We(),et(),ct(),_e(),c6(),K(),oo(),I(),j(),D(),Dt(),_p=new Set(zN),_p.delete("x"),pc="unit-no-unknown",yv=O(pc,{rejected:e=>`Unknown unit "${e}"`}),rA={url:"https://stylelint.io/user-guide/rules/unit-no-unknown"},nA=/^(?:min-|max-)?resolution$/i,mc=(e,t)=>(r,n)=>{var l,u,c;if(!T(n,pc,{actual:e},{actual:t,possible:{ignoreUnits:[$,_],ignoreFunctions:[$,_]},optional:!0}))return;let i,o=(c=(u=(l=n.stylelint.config)==null?void 0:l.languageOptions)==null?void 0:u.syntax)==null?void 0:c.units;if(o){let d=Object.values(o).flatMap(p=>p.map(m=>m.toLowerCase()));i=new Set([..._p,...d])}else i=_p;let a=d=>{if(!Q.dimension.test(d))return;let p=St({css:d});if(p.some(m=>m[0]===z.Dimension&&!i.has(m[4].unit.toLowerCase())))return p},s=(d,p,m,v)=>{if(He(m)){let w=m.getName(),k=w.toLowerCase();if(k==="url"||F(t,"ignoreFunctions",w)){v.ignored=!0;return}if(Xe.unprefixed(k)==="image-set"){v.allowX=!0;return}return}let[h,,,b,g]=m.value;if(h!==z.Dimension||F(t,"ignoreUnits",g.unit))return;let f=g.unit.toLowerCase();if(f==="x"&&v.allowX||i.has(f)&&f!=="x")return;let x=p(d)+(b+1)-f.length;P({message:yv.rejected,messageArgs:[g.unit],node:d,index:x,endIndex:x+f.length,result:n,ruleName:pc})};r.walkAtRules(Se.mediaName,d=>{if(!Ze(d))return;let p=st(d),m=a(p);m&&Ld(m).forEach(v=>{let h={ignored:!1,allowX:!1};v.walk(({node:b,state:g})=>{if(g&&!g.ignored)if(Ln(b)){let f=b.getName();nA.test(f)&&(g.allowX=!0)}else(He(b)||le(b))&&s(d,je,b,g)},h)})}),r.walkDecls(d=>{if(!ut(d)||s6(d))return;let p=qe(d);if(!Be(p))return;let m=a(p);if(!m)return;let v={ignored:!1,allowX:d.prop.toLowerCase()==="image-resolution"};Dn(uo(m),({node:h,state:b})=>{b&&(b.ignored||(He(h)||le(h))&&s(d,ne,h,b))},v)})},mc.ruleName=pc,mc.messages=yv,mc.meta=rA,g6=mc});function MG(e){let t=e.toLowerCase();return!(vN.has(t)||Number.isFinite(Number.parseInt(t,10)))}var RG=y(()=>{Ke()});function $G(e){let t=e.toLowerCase();return!(yN.has(t)||Number.isFinite(Number.parseInt(t,10)))}var BG=y(()=>{Ke()}),b6={};A(b6,{default:()=>v6});var iA,hc,wv,oA,aA,sA,lA,Up,fc,v6,qG=y(()=>{iA=X(ue(),1),Ke(),q(),J(),We(),Tn(),RG(),BG(),_e(),V(),K(),I(),j(),D(),hc="value-keyword-case",wv=O(hc,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),oA={url:"https://stylelint.io/user-guide/rules/value-keyword-case",fixable:!0},aA=new Set(["+","-","/","*","%"]),sA=new Set(["grid-row","grid-row-start","grid-row-end"]),lA=new Set(["grid-column","grid-column-start","grid-column-end"]),Up=new Map;for(let e of kN)Up.set(e.toLowerCase(),e);fc=(e,t)=>(r,n)=>{T(n,hc,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreProperties:[$,_],ignoreKeywords:[$,_],ignoreFunctions:[$,_],camelCaseSvgKeywords:[cd]},optional:!0})&&r.walkDecls(i=>{let o=i.value;if(!Q.keyword.test(o)||!Be(o))return;let a=i.prop,s=i.prop.toLowerCase(),l=(0,iA.default)(qe(i));l.walk(u=>{let c=u.value,d=c.toLowerCase();if(SN.has(d))return;if(u.type==="function"&&(d==="url"||d==="var"||d==="counter"||d==="counters"||d==="attr")||u.type==="function"&&F(t,"ignoreFunctions",c))return!1;let{unit:p}=jn(u);if(u.type!=="word"||!Be(c)||o.includes("#")||aA.has(c)||p||s==="animation"&&!$w.has(d)&&!Vc.has(d)||s==="animation-name"&&!Vc.has(d)||s==="font"&&!Rw.has(d)&&!Zr.has(d)||s==="font-family"&&!Zr.has(d)||s==="counter-increment"&&MG(d)||s==="counter-reset"&&$G(d)||sA.has(s)&&!fN.has(d)||lA.has(s)&&!gN.has(d)||s==="grid-area"&&!bN.has(d)||s==="list-style"&&!wN.has(d)&&!xm.has(d)||s==="list-style-type"&&!xm.has(d)||F(t,"ignoreKeywords",c)||F(t,"ignoreProperties",a))return;let m=c.toLocaleLowerCase(),v,h=t&&t.camelCaseSvgKeywords||!1;if(e==="lower"&&Up.has(m)&&h?v=Up.get(m):e==="lower"?v=c.toLowerCase():v=c.toUpperCase(),c===v)return;let b=ne(i)+u.sourceIndex,g=b+c.length,f=()=>{u.value=v,i.value=l.toString()};P({message:wv.expected,messageArgs:[c,v],node:i,index:b,endIndex:g,result:n,ruleName:hc,fix:{apply:f,node:i}})})})},fc.ruleName=hc,fc.messages=wv,fc.meta=oA,v6=fc}),y6={};A(y6,{default:()=>k6});function WG(e){let[t,r]=Hm(e.block),[n,i]=Hm(e.inline),o=e.inline==="left-to-right"||e.inline==="right-to-left",a={[t]:"block-start",[r]:"block-end",[n]:"inline-start",[i]:"inline-end"},s=new Map;for(let[l,u]of yn){let c=w6.get(l),d=new Map;switch(c){case"side":for(let p of u.keys()){let m=a[p];m&&d.set(p,m)}break;case"inlineSide":o&&(d.set(n,"inline-start"),d.set(i,"inline-end"));break;case"axis":d.set(o?"horizontal":"vertical","inline"),d.set(o?"vertical":"horizontal","block");break;case"startEnd":o&&(d.set(n,"start"),d.set(i,"end"));break}s.set(l,d)}return s}var uA,yi,Vp,cA,w6,gc,k6,_G=y(()=>{uA=X(ue(),1),q(),Ke(),V(),J(),ZR(),We(),ct(),_e(),me(),K(),I(),j(),gt(),D(),yi="value-keyword-layout-mappings",Vp=O(yi,{rejected:(e,t)=>`Disallowed ${e} keyword "${t}"`,expected:(e,t)=>`Expected "${e}" to be "${t}"`}),cA={url:"https://stylelint.io/user-guide/rules/value-keyword-layout-mappings",fixable:!0},w6=new Map([["caption-side","side"],["offset-anchor","side"],["offset-position","side"],["clear","inlineSide"],["float","inlineSide"],["resize","axis"],["text-align","startEnd"],["text-align-last","startEnd"]]),gc=(e,t)=>(r,n)=>{var d,p;if(!T(n,yi,{actual:e,possible:["flow-relative","physical"]},{actual:t,possible:{ignoreProperties:[$,_],ignoreKeywords:[$,_]},optional:!0}))return;let i=(p=(d=n.stylelint.config)==null?void 0:d.languageOptions)==null?void 0:p.directionality,o=i==null?void 0:i.block,a=i==null?void 0:i.inline,s=o&&a?WG({block:o,inline:a}):null,l=e==="physical"?Q.layoutFlowRelativeKeyword:Q.layoutPhysicalKeyword,u=e==="physical"?CN:yn;function c(m,v,h,b,g){P({index:h,endIndex:b,message:Vp.rejected,messageArgs:[m,v],node:g,result:n,ruleName:yi})}r.walkDecls(dr.layoutMappings,m=>{let{prop:v,value:h}=m;if(!l.test(h)||!ut(m)||F(t,"ignoreProperties",v))return;let b=v.toLowerCase(),g=u.get(b);$e(g);let f=(0,uA.default)(qe(m)),x=ne(m);f.walk(w=>{var B;if(!En(w))return;let{value:k,sourceIndex:S}=w;if(!Be(k))return;let E=k.toLowerCase();if(!g.has(E)||F(t,"ignoreKeywords",k))return;let C=x+S,L=C+k.length;if(e==="physical"){c("flow-relative",k,C,L,m);return}if(!s){c("physical",k,C,L,m);return}let N=(B=s.get(b))==null?void 0:B.get(E);if(!N){c("physical",k,C,L,m);return}P({index:C,endIndex:L,message:Vp.expected,messageArgs:[k,N],node:m,result:n,ruleName:yi,fix:{apply:()=>{w.value=N,ft(m,f.toString())},node:m}})})})},gc.ruleName=yi,gc.messages=Vp,gc.meta=cA,k6=gc}),x6={};A(x6,{default:()=>S6});var dA,bc,kv,pA,vc,S6,UG=y(()=>{dA=X(ue(),1),J(),bd(),ct(),jr(),V(),K(),I(),j(),gt(),D(),q(),bc="value-no-vendor-prefix",kv=O(bc,{rejected:e=>`Vendor-prefixed value "${e}"`}),pA={url:"https://stylelint.io/user-guide/rules/value-no-vendor-prefix",fixable:!0},vc=(e,t)=>(r,n)=>{T(n,bc,{actual:e},{optional:!0,actual:t,possible:{ignoreValues:[$,_]}})&&r.walkDecls(i=>{let{value:o}=i;if(!Q.prefix.test(o)||!ut(i)||!Or(i.prop))return;let a=(0,dA.default)(o);a.walk(s=>{if(!zr.propertyValue(s.value)||F(t,"ignoreValues",s.value))return;let l=ne(i)+s.sourceIndex,u=()=>{s.value=zr.unprefix(s.value),ft(i,a.toString())};P({message:kv.rejected,messageArgs:[s.value],node:i,index:l,endIndex:l+s.value.length,result:n,ruleName:bc,fix:{apply:u,node:i}})})})},vc.ruleName=bc,vc.messages=kv,vc.meta=pA,S6=vc}),VG=G((e,t)=>{"use strict";t.exports=()=>{}});Zm();var nx={noDeprecation:!0,cwd(){return"/"}},QG=()=>{},YG={};Er();q();Er();Er();function C6(e,t){let r,n;if(e&&e.root){e.root.source&&(n=e.root.source.input.file,!n&&"id"in e.root.source.input&&(n=e.root.source.input.id));let i=(nx.noDeprecation?[]:e.messages.filter(s=>s.stylelintType==="deprecation")).map(s=>({text:s.text,reference:s.stylelintReference})),o=e.messages.filter(s=>s.stylelintType==="invalidOption").map(s=>({text:s.text})),a=e.messages.filter(s=>s.stylelintType==="parseError");e.messages=e.messages.filter(s=>s.stylelintType!=="deprecation"&&s.stylelintType!=="invalidOption"&&s.stylelintType!=="parseError"),r={source:n,deprecations:i,invalidOptionWarnings:o,parseErrors:a,errored:e.stylelint.stylelintError,warnings:e.messages.map(s=>({line:s.line,column:s.column,endLine:s.endLine,endColumn:s.endColumn,fix:s.fix,rule:s.rule,severity:s.severity,text:s.text,url:s.url})),ignored:e.stylelint.ignored,autofixed:e.stylelint.autofixed,_postcssResult:e}}else if(t){if(t.name!=="CssSyntaxError")throw t;r={source:t.file||"<input css 1>",deprecations:[],invalidOptionWarnings:[],parseErrors:[],errored:!0,warnings:[{line:t.line,column:t.column,endLine:t.endLine,endColumn:t.endColumn,rule:t.name,severity:Jr,text:`${t.reason} (${t.name})`}]}}else throw new Error("createPartialStylelintResult must be called with either postcssResult or CssSyntaxError");return r}var GG=(e={})=>{let t=e.cwd||nx.cwd();return{_options:{...e,cwd:t},_postcssResultCache:new Map}};Aw();var KG=()=>!0,HG=U6({"./alpha-value-notation/index.mjs":()=>Promise.resolve().then(()=>(wB(),qA)),"./annotation-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(kB(),_A)),"./at-rule-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(xB(),VA)),"./at-rule-descriptor-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(PB(),ON)),"./at-rule-descriptor-value-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(IB(),TN)),"./at-rule-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(OB(),LN)),"./at-rule-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(BB(),BN)),"./at-rule-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(JB(),nE)),"./at-rule-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(ZB(),oE)),"./at-rule-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(eq(),sE)),"./at-rule-prelude-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(tq(),uE)),"./at-rule-property-required-list/index.mjs":()=>Promise.resolve().then(()=>(iq(),dE)),"./block-no-empty/index.mjs":()=>Promise.resolve().then(()=>(aq(),bE)),"./block-no-redundant-nested-style-rules/index.mjs":()=>Promise.resolve().then(()=>(sq(),yE)),"./color-function-alias-notation/index.mjs":()=>Promise.resolve().then(()=>(lq(),xE)),"./color-function-notation/index.mjs":()=>Promise.resolve().then(()=>(cq(),CE)),"./color-hex-alpha/index.mjs":()=>Promise.resolve().then(()=>(dq(),jE)),"./color-hex-length/index.mjs":()=>Promise.resolve().then(()=>(fq(),DE)),"./color-named/index.mjs":()=>Promise.resolve().then(()=>(Eq(),_E)),"./color-no-hex/index.mjs":()=>Promise.resolve().then(()=>(Iq(),VE)),"./color-no-invalid-hex/index.mjs":()=>Promise.resolve().then(()=>(Tq(),GE)),"./comment-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(Dq(),HE)),"./comment-no-empty/index.mjs":()=>Promise.resolve().then(()=>(Lq(),JE)),"./comment-pattern/index.mjs":()=>Promise.resolve().then(()=>(Fq(),eP)),"./comment-whitespace-inside/index.mjs":()=>Promise.resolve().then(()=>($q(),nP)),"./comment-word-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(Wq(),oP)),"./container-name-pattern/index.mjs":()=>Promise.resolve().then(()=>(_q(),sP)),"./custom-media-pattern/index.mjs":()=>Promise.resolve().then(()=>(Uq(),uP)),"./custom-property-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(Yq(),mP)),"./custom-property-no-missing-var-function/index.mjs":()=>Promise.resolve().then(()=>(Gq(),fP)),"./custom-property-pattern/index.mjs":()=>Promise.resolve().then(()=>(Kq(),bP)),"./declaration-block-no-duplicate-custom-properties/index.mjs":()=>Promise.resolve().then(()=>(Xq(),yP)),"./declaration-block-no-duplicate-properties/index.mjs":()=>Promise.resolve().then(()=>(P8(),ML)),"./declaration-block-no-redundant-longhand-properties/index.mjs":()=>Promise.resolve().then(()=>(j8(),$L)),"./declaration-block-no-shorthand-property-overrides/index.mjs":()=>Promise.resolve().then(()=>(T8(),WL)),"./declaration-block-single-line-max-declarations/index.mjs":()=>Promise.resolve().then(()=>(D8(),UL)),"./declaration-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(F8(),QL)),"./declaration-no-important/index.mjs":()=>Promise.resolve().then(()=>(M8(),HL)),"./declaration-property-max-values/index.mjs":()=>Promise.resolve().then(()=>(R8(),JL)),"./declaration-property-unit-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(q8(),tF)),"./declaration-property-unit-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(W8(),nF)),"./declaration-property-value-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(_8(),oF)),"./declaration-property-value-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(U8(),sF)),"./declaration-property-value-keyword-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(V8(),uF)),"./declaration-property-value-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(AU(),MF)),"./display-notation/index.mjs":()=>Promise.resolve().then(()=>(IU(),qF)),"./font-family-name-quotes/index.mjs":()=>Promise.resolve().then(()=>(FU(),HF)),"./font-family-no-duplicate-names/index.mjs":()=>Promise.resolve().then(()=>(MU(),JF)),"./font-family-no-missing-generic-family-keyword/index.mjs":()=>Promise.resolve().then(()=>(RU(),eM)),"./font-weight-notation/index.mjs":()=>Promise.resolve().then(()=>(BU(),rM)),"./function-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(WU(),iM)),"./function-calc-no-unspaced-operator/index.mjs":()=>Promise.resolve().then(()=>(VU(),aM)),"./function-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(QU(),dM)),"./function-linear-gradient-no-nonstandard-direction/index.mjs":()=>Promise.resolve().then(()=>(GU(),mM)),"./function-name-case/index.mjs":()=>Promise.resolve().then(()=>(KU(),bM)),"./function-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(ZU(),wM)),"./function-url-no-scheme-relative/index.mjs":()=>Promise.resolve().then(()=>(eV(),CM)),"./function-url-quotes/index.mjs":()=>Promise.resolve().then(()=>(tV(),AM)),"./function-url-scheme-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(rV(),IM)),"./function-url-scheme-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(nV(),jM)),"./hue-degree-notation/index.mjs":()=>Promise.resolve().then(()=>(oV(),DM)),"./import-notation/index.mjs":()=>Promise.resolve().then(()=>(aV(),RM)),"./keyframe-block-no-duplicate-selectors/index.mjs":()=>Promise.resolve().then(()=>(vV(),t3)),"./keyframe-declaration-no-important/index.mjs":()=>Promise.resolve().then(()=>(yV(),n3)),"./keyframe-selector-notation/index.mjs":()=>Promise.resolve().then(()=>(xV(),o3)),"./keyframes-name-pattern/index.mjs":()=>Promise.resolve().then(()=>(zV(),s3)),"./layer-name-pattern/index.mjs":()=>Promise.resolve().then(()=>(AV(),u3)),"./length-zero-no-unit/index.mjs":()=>Promise.resolve().then(()=>(FV(),d3)),"./lightness-notation/index.mjs":()=>Promise.resolve().then(()=>(BV(),m3)),"./max-nesting-depth/index.mjs":()=>Promise.resolve().then(()=>(qV(),g3)),"./media-feature-name-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(aQ(),F3)),"./media-feature-name-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(sQ(),R3)),"./media-feature-name-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(lQ(),q3)),"./media-feature-name-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(uQ(),_3)),"./media-feature-name-unit-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(cQ(),V3)),"./media-feature-name-value-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(dQ(),Y3)),"./media-feature-name-value-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(pQ(),K3)),"./media-feature-range-notation/index.mjs":()=>Promise.resolve().then(()=>(mQ(),X3)),"./media-query-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(hQ(),Z3)),"./media-type-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(fQ(),tR)),"./named-grid-areas-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(wQ(),nR)),"./nesting-selector-no-missing-scoping-root/index.mjs":()=>Promise.resolve().then(()=>(kQ(),aR)),"./no-descending-specificity/index.mjs":()=>Promise.resolve().then(()=>(OQ(),gR)),"./no-duplicate-at-import-rules/index.mjs":()=>Promise.resolve().then(()=>(TQ(),yR)),"./no-duplicate-selectors/index.mjs":()=>Promise.resolve().then(()=>(DQ(),kR)),"./no-empty-source/index.mjs":()=>Promise.resolve().then(()=>(LQ(),SR)),"./no-invalid-double-slash-comments/index.mjs":()=>Promise.resolve().then(()=>(FQ(),zR)),"./no-invalid-position-at-import-rule/index.mjs":()=>Promise.resolve().then(()=>(MQ(),NR)),"./no-invalid-position-declaration/index.mjs":()=>Promise.resolve().then(()=>(RQ(),PR)),"./no-irregular-whitespace/index.mjs":()=>Promise.resolve().then(()=>(WQ(),OR)),"./no-unknown-animations/index.mjs":()=>Promise.resolve().then(()=>(VQ(),BR)),"./no-unknown-custom-media/index.mjs":()=>Promise.resolve().then(()=>(GQ(),WR)),"./no-unknown-custom-properties/index.mjs":()=>Promise.resolve().then(()=>(KQ(),UR)),"./number-max-precision/index.mjs":()=>Promise.resolve().then(()=>(HQ(),QR)),"./property-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(XQ(),GR)),"./property-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(JQ(),HR)),"./property-layout-mappings/index.mjs":()=>Promise.resolve().then(()=>(eY(),e$)),"./property-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(tY(),r$)),"./property-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(rY(),i$)),"./property-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(nY(),a$)),"./relative-selector-nesting-notation/index.mjs":()=>Promise.resolve().then(()=>(cY(),l$)),"./rule-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(mY(),d$)),"./rule-nesting-at-rule-required-list/index.mjs":()=>Promise.resolve().then(()=>(fY(),m$)),"./rule-selector-property-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(bY(),f$)),"./selector-anb-no-unmatchable/index.mjs":()=>Promise.resolve().then(()=>(yY(),b$)),"./selector-attribute-name-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(wY(),y$)),"./selector-attribute-operator-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(kY(),k$)),"./selector-attribute-operator-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(xY(),S$)),"./selector-attribute-quotes/index.mjs":()=>Promise.resolve().then(()=>(zY(),E$)),"./selector-class-pattern/index.mjs":()=>Promise.resolve().then(()=>(AY(),O$)),"./selector-combinator-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(EY(),L$)),"./selector-combinator-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(IY(),M$)),"./selector-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(OY(),$$)),"./selector-id-pattern/index.mjs":()=>Promise.resolve().then(()=>(jY(),q$)),"./selector-max-attribute/index.mjs":()=>Promise.resolve().then(()=>(TY(),_$)),"./selector-max-class/index.mjs":()=>Promise.resolve().then(()=>(DY(),V$)),"./selector-max-combinators/index.mjs":()=>Promise.resolve().then(()=>(LY(),Y$)),"./selector-max-compound-selectors/index.mjs":()=>Promise.resolve().then(()=>(FY(),K$)),"./selector-max-id/index.mjs":()=>Promise.resolve().then(()=>($Y(),X$)),"./selector-max-pseudo-class/index.mjs":()=>Promise.resolve().then(()=>(BY(),Z$)),"./selector-max-specificity/index.mjs":()=>Promise.resolve().then(()=>(qY(),t5)),"./selector-max-type/index.mjs":()=>Promise.resolve().then(()=>(XY(),l5)),"./selector-max-universal/index.mjs":()=>Promise.resolve().then(()=>(JY(),c5)),"./selector-nested-pattern/index.mjs":()=>Promise.resolve().then(()=>(ZY(),p5)),"./selector-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(eG(),g5)),"./selector-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(rG(),v5)),"./selector-no-qualifying-type/index.mjs":()=>Promise.resolve().then(()=>(aG(),S5)),"./selector-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(sG(),A5)),"./selector-not-notation/index.mjs":()=>Promise.resolve().then(()=>(cG(),E5)),"./selector-pseudo-class-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(dG(),O5)),"./selector-pseudo-class-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(pG(),T5)),"./selector-pseudo-class-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(hG(),L5)),"./selector-pseudo-element-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(fG(),M5)),"./selector-pseudo-element-colon-notation/index.mjs":()=>Promise.resolve().then(()=>(gG(),$5)),"./selector-pseudo-element-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(bG(),q5)),"./selector-pseudo-element-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(vG(),_5)),"./selector-type-case/index.mjs":()=>Promise.resolve().then(()=>(yG(),V5)),"./selector-type-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(xG(),Y5)),"./shorthand-property-no-redundant-values/index.mjs":()=>Promise.resolve().then(()=>(EG(),X5)),"./string-no-newline/index.mjs":()=>Promise.resolve().then(()=>(PG(),Z5)),"./syntax-string-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(IG(),t6)),"./time-min-milliseconds/index.mjs":()=>Promise.resolve().then(()=>(OG(),n6)),"./unit-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(jG(),o6)),"./unit-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(TG(),d6)),"./unit-layout-mappings/index.mjs":()=>Promise.resolve().then(()=>(LG(),m6)),"./unit-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(FG(),f6)),"./value-keyword-case/index.mjs":()=>Promise.resolve().then(()=>(qG(),b6)),"./value-keyword-layout-mappings/index.mjs":()=>Promise.resolve().then(()=>(_G(),y6)),"./value-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(UG(),x6))}),mA=new Map;function XG(e){let t=mA.get(e);return t||(t=HG(`./${e}/index.mjs`).then(r=>r.default),mA.set(e,t)),t}var JG=["alpha-value-notation","annotation-no-unknown","at-rule-allowed-list","at-rule-descriptor-no-unknown","at-rule-descriptor-value-no-unknown","at-rule-disallowed-list","at-rule-empty-line-before","at-rule-no-deprecated","at-rule-no-unknown","at-rule-no-vendor-prefix","at-rule-prelude-no-invalid","at-rule-property-required-list","block-no-empty","block-no-redundant-nested-style-rules","color-function-alias-notation","color-function-notation","color-hex-alpha","color-hex-length","color-named","color-no-hex","color-no-invalid-hex","comment-empty-line-before","comment-no-empty","comment-pattern","comment-whitespace-inside","comment-word-disallowed-list","container-name-pattern","custom-media-pattern","custom-property-empty-line-before","custom-property-no-missing-var-function","custom-property-pattern","declaration-block-no-duplicate-custom-properties","declaration-block-no-duplicate-properties","declaration-block-no-redundant-longhand-properties","declaration-block-no-shorthand-property-overrides","declaration-block-single-line-max-declarations","declaration-empty-line-before","declaration-no-important","declaration-property-max-values","declaration-property-unit-allowed-list","declaration-property-unit-disallowed-list","declaration-property-value-allowed-list","declaration-property-value-disallowed-list","declaration-property-value-keyword-no-deprecated","declaration-property-value-no-unknown","display-notation","font-family-name-quotes","font-family-no-duplicate-names","font-family-no-missing-generic-family-keyword","font-weight-notation","function-allowed-list","function-calc-no-unspaced-operator","function-disallowed-list","function-linear-gradient-no-nonstandard-direction","function-name-case","function-no-unknown","function-url-no-scheme-relative","function-url-quotes","function-url-scheme-allowed-list","function-url-scheme-disallowed-list","hue-degree-notation","import-notation","keyframe-block-no-duplicate-selectors","keyframe-declaration-no-important","keyframe-selector-notation","keyframes-name-pattern","layer-name-pattern","length-zero-no-unit","lightness-notation","max-nesting-depth","media-feature-name-allowed-list","media-feature-name-disallowed-list","media-feature-name-no-unknown","media-feature-name-no-vendor-prefix","media-feature-name-unit-allowed-list","media-feature-name-value-allowed-list","media-feature-name-value-no-unknown","media-feature-range-notation","media-query-no-invalid","media-type-no-deprecated","named-grid-areas-no-invalid","nesting-selector-no-missing-scoping-root","no-descending-specificity","no-duplicate-at-import-rules","no-duplicate-selectors","no-empty-source","no-invalid-double-slash-comments","no-invalid-position-at-import-rule","no-invalid-position-declaration","no-irregular-whitespace","no-unknown-animations","no-unknown-custom-media","no-unknown-custom-properties","number-max-precision","property-allowed-list","property-disallowed-list","property-layout-mappings","property-no-deprecated","property-no-unknown","property-no-vendor-prefix","relative-selector-nesting-notation","rule-empty-line-before","rule-nesting-at-rule-required-list","rule-selector-property-disallowed-list","selector-anb-no-unmatchable","selector-attribute-name-disallowed-list","selector-attribute-operator-allowed-list","selector-attribute-operator-disallowed-list","selector-attribute-quotes","selector-class-pattern","selector-combinator-allowed-list","selector-combinator-disallowed-list","selector-disallowed-list","selector-id-pattern","selector-max-attribute","selector-max-class","selector-max-combinators","selector-max-compound-selectors","selector-max-id","selector-max-pseudo-class","selector-max-specificity","selector-max-type","selector-max-universal","selector-nested-pattern","selector-no-deprecated","selector-no-invalid","selector-no-qualifying-type","selector-no-vendor-prefix","selector-not-notation","selector-pseudo-class-allowed-list","selector-pseudo-class-disallowed-list","selector-pseudo-class-no-unknown","selector-pseudo-element-allowed-list","selector-pseudo-element-colon-notation","selector-pseudo-element-disallowed-list","selector-pseudo-element-no-unknown","selector-type-case","selector-type-no-unknown","shorthand-property-no-redundant-values","string-no-newline","syntax-string-no-invalid","time-min-milliseconds","unit-allowed-list","unit-disallowed-list","unit-layout-mappings","unit-no-unknown","value-keyword-case","value-keyword-layout-mappings","value-no-vendor-prefix"],z6={};for(let e of JG)Object.defineProperty(z6,e,{get(){return XG(e)},enumerable:!0,configurable:!0});var ix=z6;function A6(e,t){var r;return ZG(e)?ix[e]:Promise.resolve((r=t==null?void 0:t._pluginFunctions)==null?void 0:r[e])}function ZG(e){return e in ix}q();function eK(e,t){if(e==null)return null;if(!Array.isArray(e))return[e];let[r,n]=e;return e.length>0&&r==null?null:t&&!t.primaryOptionArray||e.length===1&&Array.isArray(r)||e.length===2&&!Cr(r)&&Cr(n)?e:[e]}async function tK(e){if(!e.rules)return e;let t={};for(let[r,n]of Object.entries(e.rules)){let i=await A6(r,e);i?t[r]=eK(n,i):t[r]=[]}return e.rules=t,e}var rK=(e,t)=>{let r={...t},n=["fix","computeEditInfo","ignoreDisables","quiet","validate"];for(let i of n){let o=e._options[i];o&&(r[i]=i==="fix"||o)}return r},nK=async(e,t,{config:r})=>({config:await tK(rK(e,r))}),N6=({stylelint:e,filePath:t})=>nK(e,t,{config:e._options.config}),iK=()=>[];function oK(e,t){return e.startsWith("_")?void 0:t}function aK(e){return JSON.stringify(e,oK)}var sK=()=>aK;Zm();gd();var lK=()=>{};jF();var uK=()=>{};gd();var cK=e=>e,E6=e=>e===!0||e==="true"||e===""||e==="strict"||e==="lax"?"strict":void 0,dK=_i();async function pK(e,{customSyntax:t,filePath:r,code:n}={}){let i=r?cK(r):void 0,o=i?e._postcssResultCache.get(i):void 0;if(o)return o;let a=E6(e._options.fix),s=t!=null?t:await mK(a==="lax"),l={from:r,syntax:s},u;if(n!==void 0?u=n:r&&(u=await uK(r,"utf8")),u===void 0)throw new Error("code or filePath required");let c=await dK.process(u,l).async();return i&&e._postcssResultCache.set(i,c),c}async function mK(e){return{parse:await(e?Promise.resolve().then(()=>X(VG(),1)).then(t=>t.default):_i.parse),stringify:_i.stringify}}var hK=async()=>[],fK=()=>{},gK=()=>Promise.resolve(!1),bK=()=>!1;Er();yd();Er();yd();q();me();ch();rt();function xv(e,t,r,n,i,o){return{node:e,start:t,end:i||void 0,strictStart:r,strictEnd:typeof o=="boolean"?o:void 0,description:n}}function vK(e,t){var x;let r=t.stylelint.disabledRanges,n=[];r[Mt]=n;let i,o=(x=t.stylelint.config)==null?void 0:x.configurationComment;return e.walk(w=>{var k,S,E,C,L,N,B,ie,te,he,fe,oe,Fe,Ue,At,Ve,Y,H,R,W;if(Kr(w)){if(i){i===w&&(i=null);return}let Z=w.next();if(!(!Kc(w)&&ji(w.text,o)&&Z&&Kr(Z)&&(w.text.includes("--")||Z.text.startsWith("--")))){p(w,w.source,w.text);return}let M=(E=(S=(k=w.source)==null?void 0:k.end)==null?void 0:S.line)!=null?E:0,ee=w.clone(),ve=Z;for(;!Kc(ve)&&!ji(ve.text,o);){let ge=(N=(L=(C=ve.source)==null?void 0:C.end)==null?void 0:L.line)!=null?N:0;if(M+1!==ge)break;ee.text+=`
37
- ${ve.text}`,ee.source&&ve.source&&(ee.source.end=ve.source.end),i=ve;let ae=ve.next();if(!ae||!Kr(ae))break;ve=ae,M=ge}p(ee,ee.source,ee.text)}if(it(w)){let Z=0,M=(ie=(B=w.raws)==null?void 0:B.selector)==null?void 0:ie.raw;d(w,M,Z),Z+=(te=M==null?void 0:M.length)!=null?te:w.selector.length;let ee=(he=w.raws)==null?void 0:he.between;d(w,ee,Z)}if(Oe(w)){let Z=w.name.length+1,M=(fe=w.raws)==null?void 0:fe.afterName;d(w,M,Z),Z+=(oe=M==null?void 0:M.length)!=null?oe:0;let ee=(Ue=(Fe=w.raws)==null?void 0:Fe.params)==null?void 0:Ue.raw;d(w,ee,Z),Z+=(At=ee==null?void 0:ee.length)!=null?At:w.params.length;let ve=(Ve=w.raws)==null?void 0:Ve.between;d(w,ve,Z)}if(to(w)){let Z=w.prop.length,M=(Y=w.raws)==null?void 0:Y.between;d(w,M,Z),Z+=(H=M==null?void 0:M.length)!=null?H:0;let ee=(W=(R=w.raws)==null?void 0:R.value)==null?void 0:W.raw;d(w,ee,Z)}}),t;function a(w,k,S){if(k.start){let E=k.start.line,C=v(S);for(let L of m(Cm,S))l(w,E,L,C)}}function s(w,k,S){if(k.end){let E=k.end.line,C=v(S);for(let L of m(zm,S))l(w,E+1,L,C)}}function l(w,k,S,E){if(f(Mt))throw w.error("All rules have already been disabled",{plugin:"stylelint"});if(S===Mt)for(let C of Object.keys(r)){if(f(C))continue;let L=C===Mt;h(w,k,C,L,E),b(k,C,L)}else{if(f(S))throw w.error(`"${S}" has already been disabled`,{plugin:"stylelint"});h(w,k,S,!0,E),b(k,S,!0)}}function u(w,k,S){let E=v(S);for(let C of m(Sm,S)){let L=C===Mt;if(f(C))throw w.error(L?"All rules have already been disabled":`"${C}" has already been disabled`,{plugin:"stylelint"});if(k.start){let N=k.start.line;if(L)for(let B of Object.keys(r))h(w,N,B,B===Mt,E);else h(w,N,C,!0,E)}}}function c(w,k,S){var E;for(let C of m(Am,S)){let L=(E=k.end)==null?void 0:E.line;if(zc(L),C===Mt){if(Object.values(r).every(N=>{if(N.length===0)return!0;let B=N[N.length-1];return B&&typeof B.end=="number"}))throw w.error("No rules have been disabled",{plugin:"stylelint"});for(let[N,B]of Object.entries(r)){let ie=B[B.length-1];(!ie||!ie.end)&&b(L,N,N===Mt)}continue}if(f(Mt)&&r[C]===void 0){r[C]=n.map(({start:N,end:B,description:ie})=>xv(w,N,!1,ie,B,!1)),b(L,C,!0);continue}if(f(C)){b(L,C,!0);continue}throw w.error(`"${C}" has not been disabled`,{plugin:"stylelint"})}}function d(w,k,S){k&&k.includes("/*")&&k.includes("*/")&&St({css:k}).forEach(E=>{if(!Ih(E))return;let[,C,L,N]=E,B=w.rangeBy({index:L+S,endIndex:N+1+S});p(w,B,C.slice(2,-2).trim())})}function p(w,k,S){if(k&&ji(S,o))switch(fE(S,o)){case Cm:a(w,k,S);break;case zm:s(w,k,S);break;case Sm:u(w,k,S);break;case Am:c(w,k,S);break}}function m(w,k){let S=oq(w,o),E=k.slice(S.length).split(/\s-{2,}\s/u)[0];eo(E);let C=E.trim().split(",").filter(Boolean).map(L=>L.trim());return C.length===0?[Mt]:C}function v(w){let k=w.indexOf("--");if(k!==-1)return w.slice(k+2).trim()}function h(w,k,S,E,C){let L=xv(w,k,E,C);g(S);let N=r[S];$e(N),N.push(L)}function b(w,k,S){let E=r[k],C=E?E[E.length-1]:null;C&&(C.end=w,C.strictEnd=S)}function g(w){r[w]||(r[w]=n.map(({node:k,start:S,end:E,description:C})=>xv(k,S,!1,C,E,!1)))}function f(w){let k=r[w];if(!k)return!1;let S=k[k.length-1];return S?!S.end:!1}}Aw();Er();function yK(){return[]}function wK(e,t=[]){return`Unknown rule ${e}.${t.length>0?` Did you mean ${t.join(", ")}?`:""}`}var Sv=new Map;function kK(e,t,r){let n=Sv.has(e)?Sv.get(e):yK(e);Sv.set(e,n),r.warn(wK(e,n),{severity:Jr,rule:e,node:t,index:0})}var hA={enabled:!1};async function xK(e,t,r){var p,m,v,h;let{abortSignal:n}=e;t.stylelint.stylelintError=!1,t.stylelint.stylelintWarning=!1,t.stylelint.quiet=r.quiet,t.stylelint.quietDeprecationWarnings=e.quietDeprecationWarnings,t.stylelint.config=r;let i=t.root;if(!("type"in i))throw new Error("Unexpected Postcss root object!");let o=(p=i.source)==null?void 0:p.input.css.match(/\r?\n/),a=o?o[0]:`
38
- `,s={configurationComment:r.configurationComment||vd,newline:a};vK(i,t);let l=i&&i.constructor.name==="Document"?i.nodes:[i],u=[],c;if(r.rules){let b=new Map(Object.keys(ix).map((g,f)=>[g,f]));c=Object.keys(r.rules).sort((g,f)=>{var x,w;return((x=b.get(g))!=null?x:-1)-((w=b.get(f))!=null?w:-1)})}else c=[];let d=await Promise.all(c.map(async b=>{let g=await A6(b,r);return[b,g]}));for(let[b,g]of d){if(g===void 0){u.push(Promise.all(l.map(B=>kK(b,B,t))));continue}let f=(m=r.rules)==null?void 0:m[b];if(f===null||f[0]===null)continue;(v=g.meta)!=null&&v.deprecated&&!e.quietDeprecationWarnings&&CK(t,b);let x=f[0],w=f[1],k=r.defaultSeverity||zw;t.stylelint.ruleSeverities[b]=w&&w.severity||k,t.stylelint.customMessages[b]=w&&w.message,t.stylelint.customUrls[b]=w&&w.url,t.stylelint.ruleMetadata[b]=g.meta||{};let S=((h=g.meta)==null?void 0:h.fixable)&&!e.quietDeprecationWarnings,E=(w==null?void 0:w.disableFix)!==!0&&r.fix&&SK(t,b),C={...s,get fix(){return S&&Mc("`context.fix` is deprecated.","CONTEXT_FIX",`Pass a \`fix\` callback to the \`report\` utility of "${b}" instead.`),E}},L=g(x,w,C);async function N(B){return hA.enabled?hA.time(b,()=>L(B,t))():L(B,t)}u.push(Promise.all(l.map(N)).then(B=>{if(n!=null&&n.aborted)throw n.reason;return B}))}return Promise.all(u)}function SK({stylelint:{disabledRanges:e}},t){var r;return!((r=e[Mt])!=null&&r.length)&&!e[t]}function CK(e,t){let r=`The "${t}" rule is deprecated.`;Mc(r,"RULE",`Please be aware that the "${t}" rule will soon be either removed or renamed.`),e.warn(r,{stylelintType:"deprecation"})}var zK=()=>{};Er();Er();function AK({rule:e,message:t,severity:r,node:n,postcssResult:i}){let{source:o}=n;if(o!=null&&o.start)switch(i.warn(t,{rule:e,severity:r,node:n,start:o.start,end:o.end}),r){case Jr:i.stylelint.stylelintError=!0;break;case dm:i.stylelint.stylelintWarning=!0;break;default:break}}function NK(e){var n;let t=e.stylelint.disabledRanges,r=(n=e.stylelint.config)==null?void 0:n.rules;if(r&&Object.values(r).some(i=>fA(i)))for(let[i,o]of Object.entries(t))for(let a of o)r[i]&&fA(r[i])&&AK({rule:"reportDisables",message:`Rule "${i}" may not be disabled`,severity:Jr,node:a.node,postcssResult:e})}function fA(e){return!e||!e[1]?!1:!!e[1].reportDisables}var EK=()=>{};async function PK(e,t={}){if(!t.filePath&&t.code===void 0&&!t.existingPostcssResult)return Promise.reject(new Error("You must provide filePath, code, or existingPostcssResult"));let{abortSignal:r}=t;if(r!=null&&r.aborted)throw r.reason;let n=t.code!==void 0,i=n?t.codeFilename:t.filePath;if(i!==void 0&&!Jm(i))return n?Promise.reject(new Error("codeFilename must be an absolute path")):Promise.reject(new Error("filePath must be an absolute path"));let o=await gK(e,i).catch(p=>{if(n&&bK(p))return!1;throw p});if(r!=null&&r.aborted)throw r.reason;if(o)return t.existingPostcssResult,void 0;let a=await N6({stylelint:e,searchPath:i,filePath:i});if(r!=null&&r.aborted)throw r.reason;if(!a)return Promise.reject(new Error("Config file not found"));let s=a.config,l=t.existingPostcssResult;if(t.cache&&(e._fileCache.calcHashOfConfig(s),t.filePath&&!e._fileCache.hasFileChanged(t.filePath)))return;let u=l||await pK(e,{code:t.code,codeFilename:t.codeFilename,filePath:i,customSyntax:s._resolvedCustomSyntax});if(r!=null&&r.aborted)throw r.reason;let c=await hK(s);if(r!=null&&r.aborted)throw r.reason;let d=Object.assign(u,{stylelint:{ruleSeverities:{},customMessages:{},customUrls:{},ruleMetadata:{},fixersData:{},rangesOfComputedEditInfos:[],disabledRanges:{},lexer:IF(s),referenceRoots:c}});if(await xK(e._options,d,s),r==null?void 0:r.aborted)throw r.reason;return NK(d),zK(d),fK(d),lK(d),EK(d),d}Er();function gA({results:e,maxWarnings:t,formatter:r,cwd:n}){let i=!1;for(let a of e)(a.errored||a.parseErrors.length>0||a.warnings.some(s=>s.severity===Jr))&&(i=!0,a.errored=!0);let o={cwd:n,errored:i,results:[],report:"",reportedDisables:[],ruleMetadata:IK(e)};if(t!==void 0){let a=e.reduce((s,l)=>s+l.warnings.length,0);a>t&&(o.maxWarningsExceeded={maxWarnings:t,foundWarnings:a})}return o.report=r(e,o),o.results=e,o}function IK(e){var r;let t={};for(let n of e){let i=(r=n._postcssResult)==null?void 0:r.stylelint.ruleMetadata;i!==void 0&&Object.assign(t,i)}return t}async function OK({stylelint:e,name:t,default:r=void 0}){var o,a,s,l,u;let n=e._options,i=(a=n[t])!=null?a:(o=n.config)==null?void 0:o[t];return(u=i!=null?i:(l=(s=await N6({stylelint:e,failIfNoConfig:!1}))==null?void 0:s.config)==null?void 0:l[t])!=null?u:r}var FK=QG("stylelint:standalone"),jK=["**/node_modules/**"];async function P6({abortSignal:e,allowEmptyInput:t,cache:r,cacheLocation:n,cacheStrategy:i,code:o,codeFilename:a,config:s,configBasedir:l,configFile:u,customSyntax:c,cwd:d=nx.cwd(),disableDefaultIgnores:p,files:m,fix:v,computeEditInfo:h,formatter:b,_defaultFormatter:g,globbyOptions:f,ignoreDisables:x,ignorePath:w,ignorePattern:k,maxWarnings:S,quiet:E,quietDeprecationWarnings:C=!1,reportDescriptionlessDisables:L,reportInvalidScopeDisables:N,reportNeedlessDisables:B,reportUnscopedDisables:ie,suppressAll:te,suppressRule:he,suppressLocation:fe,validate:oe=!0}){var R,W;let Fe=Date.now(),Ue=!m&&$(o);if(!(m&&!$(o)||Ue))return Promise.reject(new Error("You must pass stylelint a `files` glob or a `code` string, though not both"));let At;try{At=iK({cwd:d,ignorePath:w,ignorePattern:k})}catch(Z){return Promise.reject(Z)}let Ve=GG({allowEmptyInput:t,cache:r,cacheLocation:n,cacheStrategy:i,config:s,configFile:u,configBasedir:l,cwd:d,formatter:b,_defaultFormatter:g,ignoreDisables:x,ignorePath:w,reportNeedlessDisables:B,reportInvalidScopeDisables:N,reportDescriptionlessDisables:L,reportUnscopedDisables:ie,maxWarnings:S,customSyntax:c,fix:v,computeEditInfo:h,quiet:E,quietDeprecationWarnings:C,validate:oe}),Y=await sK(Ve),H=await OK({stylelint:Ve,name:"maxWarnings",default:S});if(!m){eo(o);let Z=a!==void 0&&!Jm(a)?Sw(d,a):a;if(Z&&(!KG(At,[Cw(d,Z)]).length||!p&&YG.isMatch(Z,jK,{dot:!0})))return gA({results:[],maxWarnings:H,quietDeprecationWarnings:C,formatter:Y,cwd:d});let M,ee;try{if(e!=null&&e.aborted)throw e.reason;let ge=await PK(Ve,{code:o,codeFilename:Z,abortSignal:e});if((W=(R=E6(Ve._options.fix))!=null?R:s==null?void 0:s.fix)!=null&&W&&!ge.stylelint.ignored&&(ee=ge.root.toString(ge.opts.syntax),o!==ee&&(ge.stylelint.autofixed=!0)),e==null?void 0:e.aborted)throw e.reason;M=C6(ge)}catch(ge){M=TK(ge)}await DK(Ve,M,Z);let ve=gA({results:[M],maxWarnings:H,quietDeprecationWarnings:C,formatter:Y,cwd:d});return ee!==void 0&&(ve.code=ee),ve}}function TK(e){if(e instanceof Error&&e.name==="CssSyntaxError")return C6(void 0,e);throw e}async function DK(){}Object.assign(globalThis,{stylelint:{lint:P6}});})();
34
+ --`+new Array((r||t.length)+1).join("-")+"^"})}var H9=y(()=>{Xw()}),w0,k0,x0,S0,C0,Qf,nj,J9=y(()=>{H9(),w0=9,k0=10,x0=12,S0=13,C0=32,Qf=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0),nj=class{constructor(e){this.str=e,this.pos=0}charCodeAt(e){return e<this.str.length?this.str.charCodeAt(e):0}charCode(){return this.charCodeAt(this.pos)}isNameCharCode(e=this.charCode()){return e<128&&Qf[e]===1}nextCharCode(){return this.charCodeAt(this.pos+1)}nextNonWsCode(e){return this.charCodeAt(this.findWsEnd(e))}skipWs(){this.pos=this.findWsEnd(this.pos)}findWsEnd(e){for(;e<this.str.length;e++){let t=this.str.charCodeAt(e);if(t!==S0&&t!==k0&&t!==x0&&t!==C0&&t!==w0)break}return e}substringToPos(e){return this.str.substring(this.pos,this.pos=e)}eat(e){this.charCode()!==e&&this.error("Expect `"+String.fromCharCode(e)+"`"),this.pos++}peek(){return this.pos<this.str.length?this.str.charAt(this.pos++):""}error(e){throw new K9(e,this.str,this.pos)}scanSpaces(){return this.substringToPos(this.findWsEnd(this.pos))}scanWord(){let e=this.pos;for(;e<this.str.length;e++){let t=this.str.charCodeAt(e);if(t>=128||Qf[t]===0)break}return this.pos===e&&this.error("Expect a keyword"),this.substringToPos(e)}scanNumber(){let e=this.pos;for(;e<this.str.length;e++){let t=this.str.charCodeAt(e);if(t<48||t>57)break}return this.pos===e&&this.error("Expect a number"),this.substringToPos(e)}scanString(){let e=this.str.indexOf("'",this.pos+1);return e===-1&&(this.pos=this.str.length,this.error("Expect an apostrophe")),this.substringToPos(e+1)}}});function z0(e){let t=null,r=null;return e.eat(Xc),e.skipWs(),t=e.scanNumber(e),e.skipWs(),e.charCode()===Sh?(e.pos++,e.skipWs(),e.charCode()!==Lm&&(r=e.scanNumber(e),e.skipWs())):r=t,e.eat(Lm),{min:Number(t),max:r?Number(r):0}}function Z9(e){let t=null,r=!1;switch(e.charCode()){case uk:e.pos++,t={min:0,max:0};break;case xh:e.pos++,t={min:1,max:0};break;case Zc:e.pos++,t={min:0,max:1};break;case kh:e.pos++,r=!0,e.charCode()===Xc?t=z0(e):e.charCode()===Zc?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case Xc:t=z0(e);break;default:return null}return{type:"Multiplier",comma:r,min:t.min,max:t.max,term:null}}function tn(e,t){let r=Z9(e);return r!==null?(r.term=t,e.charCode()===kh&&e.charCodeAt(e.pos-1)===xh||e.charCode()===Zc&&e.charCodeAt(e.pos-1)===Lm?tn(e,r):r):t}function Yf(e){let t=e.peek();return t===""?null:tn(e,{type:"Token",value:t})}function X9(e){let t;return e.eat(Ch),e.eat(Jc),t=e.scanWord(),e.eat(Jc),e.eat(Dm),tn(e,{type:"Property",name:t})}function eW(e){let t=null,r=null,n=1;return e.eat(Vi),e.charCode()===ly&&(e.peek(),n=-1),n==-1&&e.charCode()===cy?e.peek():(t=n*Number(e.scanNumber(e)),e.isNameCharCode()&&(t+=e.scanWord())),e.skipWs(),e.eat(Sh),e.skipWs(),e.charCode()===cy?e.peek():(n=1,e.charCode()===ly&&(e.peek(),n=-1),r=n*Number(e.scanNumber(e)),e.isNameCharCode()&&(r+=e.scanWord())),e.eat(Sn),{type:"Range",min:t,max:r}}function tW(e){let t,r=null;if(e.eat(Ch),t=e.scanWord(),t==="boolean-expr"){e.eat(Vi);let n=wh(e,Sn);return e.eat(Sn),e.eat(Dm),tn(e,{type:"Boolean",term:n.terms.length===1?n.terms[0]:n})}return e.charCode()===sk&&e.nextCharCode()===lk&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===Vi&&(e.skipWs(),r=eW(e)),e.eat(Dm),tn(e,{type:"Type",name:t,opts:r})}function rW(e){let t=e.scanWord();return e.charCode()===sk?(e.pos++,{type:"Function",name:t}):tn(e,{type:"Keyword",name:t})}function nW(e,t){function r(i,o){return{type:"Group",terms:i,combinator:o,disallowEmpty:!1,explicit:!1}}let n;for(t=Object.keys(t).sort((i,o)=>dy[i]-dy[o]);t.length>0;){n=t.shift();let i=0,o=0;for(;i<e.length;i++){let a=e[i];a.type==="Combinator"&&(a.value===n?(o===-1&&(o=i-1),e.splice(i,1),i--):(o!==-1&&i-o>1&&(e.splice(o,i-o,r(e.slice(o,i),n)),i=o+1),o=-1))}o!==-1&&t.length&&e.splice(o,i-o,r(e.slice(o,i),n))}return n}function wh(e,t=-1){let r=Object.create(null),n=[],i=null,o=e.pos,a=!1;for(;e.charCode()!==t;){let s=a?wh(e,lk):oW(e);if(!s)break;if(s.type!=="Spaces"){if(a){if(s.terms.length===0){a=!1;continue}if(s.combinator===" "){for(;s.terms.length>1;)r[" "]=!0,n.push({type:"Combinator",value:" "},s.terms.shift());s=s.terms[0]}}s.type==="Combinator"?((i===null||i.type==="Combinator")&&(e.pos=o,e.error("Unexpected combinator")),r[s.value]=!0):i!==null&&i.type!=="Combinator"&&(r[" "]=!0,n.push({type:"Combinator",value:" "})),n.push(s),i=s,o=e.pos,a=s.type==="Function"}}return i!==null&&i.type==="Combinator"&&(e.pos-=o,e.error("Unexpected combinator")),{type:"Group",terms:n,combinator:nW(n,r)||" ",disallowEmpty:!1,explicit:!1}}function iW(e){let t;return e.eat(Vi),t=wh(e,Sn),e.eat(Sn),t.explicit=!0,e.charCode()===ak&&(e.pos++,t.disallowEmpty=!0),t}function oW(e){let t=e.charCode();switch(t){case Sn:break;case Vi:return tn(e,iW(e));case Ch:return e.nextCharCode()===Jc?X9(e):tW(e);case uy:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===uy?2:1))};case sy:return e.pos++,e.eat(sy),{type:"Combinator",value:"&&"};case Sh:return e.pos++,{type:"Comma"};case Jc:return tn(e,{type:"String",value:e.scanString()});case uj:case oj:case aj:case lj:case sj:return{type:"Spaces",value:e.scanSpaces()};case cj:return t=e.nextCharCode(),e.isNameCharCode(t)?(e.pos++,{type:"AtKeyword",name:e.scanWord()}):Yf(e);case uk:case xh:case Zc:case kh:case ak:break;case Xc:if(t=e.nextCharCode(),t<48||t>57)return Yf(e);break;default:return e.isNameCharCode(t)?rW(e):Yf(e)}}function ij(e){let t=new nj(e),r=wh(t);return t.pos!==e.length&&t.error("Unexpected input"),r.terms.length===1&&r.terms[0].type==="Group"?r.terms[0]:r}var oj,aj,sj,lj,uj,ak,kh,sy,Jc,sk,lk,uk,xh,Sh,ly,Ch,Dm,Zc,cj,Vi,Sn,Xc,uy,Lm,cy,dy,dj=y(()=>{J9(),oj=9,aj=10,sj=12,lj=13,uj=32,ak=33,kh=35,sy=38,Jc=39,sk=40,lk=41,uk=42,xh=43,Sh=44,ly=45,Ch=60,Dm=62,Zc=63,cj=64,Vi=91,Sn=93,Xc=123,uy=124,Lm=125,cy=8734,dy={" ":1,"&&":2,"||":3,"|":4}}),aW=y(()=>{}),pj=y(()=>{dj(),aW()});function sW(e){let t=[];return fh(e,(r,n,i)=>t.push({type:r,value:e.slice(n,i),node:null})),t}function lW(e,t){return typeof e=="string"?sW(e):t.generate(e,mj)}var mj,uW=y(()=>{mr(),mj={decorator(e){let t=[],r=null;return{...e,node(n){let i=r;r=n,e.node.call(this,n),r=i},emit(n,i,o){t.push({type:i,value:n,node:o?null:r})},result(){return t}}}}});function vt(e,t,r){return t===Ne&&r===De||e===Ne&&t===Ne&&r===Ne?e:(e.type==="If"&&e.else===De&&t===Ne&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:r})}function hj(e){return e.length>2&&e.charCodeAt(e.length-2)===fj&&e.charCodeAt(e.length-1)===gj}function A0(e){return e.type==="Keyword"||e.type==="AtKeyword"||e.type==="Function"||e.type==="Type"&&hj(e.name)}function _r(e,t=" ",r=!1){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:r}}function Ec(e,t,r=new Set){if(!r.has(e))switch(r.add(e),e.type){case"If":e.match=Ec(e.match,t,r),e.then=Ec(e.then,t,r),e.else=Ec(e.else,t,r);break;case"Type":return t[e.name]||e}return e}function py(e,t,r){switch(e){case" ":{let n=Ne;for(let i=t.length-1;i>=0;i--){let o=t[i];n=vt(o,n,De)}return n}case"|":{let n=De,i=null;for(let o=t.length-1;o>=0;o--){let a=t[o];if(A0(a)&&(i===null&&o>0&&A0(t[o-1])&&(i=Object.create(null),n=vt({type:"Enum",map:i},Ne,n)),i!==null)){let s=(hj(a.name)?a.name.slice(0,-1):a.name).toLowerCase();if(!(s in i)){i[s]=a;continue}}i=null,n=vt(a,Ne,n)}return n}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let n=De;for(let i=t.length-1;i>=0;i--){let o=t[i],a;t.length>1?a=py(e,t.filter(function(s){return s!==o}),!1):a=Ne,n=vt(o,a,n)}return n}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let n=r?Ne:De;for(let i=t.length-1;i>=0;i--){let o=t[i],a;t.length>1?a=py(e,t.filter(function(s){return s!==o}),!0):a=Ne,n=vt(o,a,n)}return n}}}function cW(e){let t=Ne,r=zi(e.term);if(e.max===0)r=vt(r,zh,De),t=vt(r,null,De),t.then=vt(Ne,Ne,t),e.comma&&(t.then.else=vt({type:"Comma",syntax:e},t,De));else for(let n=e.min||1;n<=e.max;n++)e.comma&&t!==Ne&&(t=vt({type:"Comma",syntax:e},t,De)),t=vt(r,vt(Ne,Ne,t),De);if(e.min===0)t=vt(Ne,Ne,t);else for(let n=0;n<e.min-1;n++)e.comma&&t!==Ne&&(t=vt({type:"Comma",syntax:e},t,De)),t=vt(r,t,De);return t}function zi(e){if(typeof e=="function")return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=py(e.combinator,e.terms.map(zi),!1);return e.disallowEmpty&&(t=vt(t,zh,De)),t}case"Multiplier":return cW(e);case"Boolean":{let t=zi(e.term),r=zi(_r([_r([{type:"Keyword",name:"not"},{type:"Type",name:"!boolean-group"}]),_r([{type:"Type",name:"!boolean-group"},_r([{type:"Multiplier",comma:!1,min:0,max:0,term:_r([{type:"Keyword",name:"and"},{type:"Type",name:"!boolean-group"}])},{type:"Multiplier",comma:!1,min:0,max:0,term:_r([{type:"Keyword",name:"or"},{type:"Type",name:"!boolean-group"}])}],"|")])],"|")),n=zi(_r([{type:"Type",name:"!term"},_r([{type:"Token",value:"("},{type:"Type",name:"!self"},{type:"Token",value:")"}]),{type:"Type",name:"general-enclosed"}],"|"));return Ec(n,{"!term":t,"!self":r}),Ec(r,{"!boolean-group":n}),r}case"Type":case"Property":return{type:e.type,name:e.name,syntax:e};case"Keyword":return{type:e.type,name:e.name.toLowerCase(),syntax:e};case"AtKeyword":return{type:e.type,name:"@"+e.name.toLowerCase(),syntax:e};case"Function":return{type:e.type,name:e.name.toLowerCase()+"(",syntax:e};case"String":return e.value.length===3?{type:"Token",value:e.value.charAt(1),syntax:e}:{type:e.type,value:e.value.substr(1,e.value.length-2).replace(/\\'/g,"'"),syntax:e};case"Token":return{type:e.type,value:e.value,syntax:e};case"Comma":return{type:e.type,syntax:e};default:throw new Error("Unknown node type:",e.type)}}function yp(e,t){return typeof e=="string"&&(e=ij(e)),{type:"MatchGraph",match:zi(e),syntax:t||null,source:e}}var Ne,De,zh,fj,gj,bj=y(()=>{dj(),Ne={type:"Match"},De={type:"Mismatch"},zh={type:"DisallowEmpty"},fj=40,gj=41});function dW(e){let t=null,r=null,n=e;for(;n!==null;)r=n.prev,n.prev=t,t=n,n=r;return t}function Gf(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let n=t.charCodeAt(r),i=e.charCodeAt(r);if(i>=65&&i<=90&&(i=i|32),i!==n)return!1}return!0}function pW(e){return e.type!==9?!1:e.value!=="?"}function N0(e){return e===null?!0:e.type===18||e.type===2||e.type===21||e.type===19||e.type===23||pW(e)}function E0(e){return e===null?!0:e.type===22||e.type===20||e.type===24||e.type===9&&e.value==="/"}function mW(e,t,r){function n(){do g++,f=g<e.length?e[g]:null;while(f!==null&&(f.type===13||f.type===25))}function i(k){let S=g+k;return S<e.length?e[S]:null}function o(k,S){return{nextState:k,matchStack:w,syntaxStack:d,thenStack:p,tokenIndex:g,prev:S}}function a(k){p={nextState:k,matchStack:w,syntaxStack:d,prev:p}}function s(k){m=o(k,m)}function l(){w={type:yj,syntax:t.syntax,token:f,prev:w},n(),v=null,g>x&&(x=g)}function u(){d={syntax:t.syntax,opts:t.syntax.opts||d!==null&&d.opts||null,prev:d},w={type:Fm,syntax:t.syntax,token:w.token,prev:w}}function c(){w.type===Fm?w=w.prev:w={type:ck,syntax:d.syntax,token:w.token,prev:w},d=d.prev}let d=null,p=null,m=null,v=null,h=0,b=null,f=null,g=-1,x=0,w={type:vj,syntax:null,token:null,prev:null};for(n();b===null&&++h<fy;)switch(t.type){case"Match":if(p===null){if(f!==null&&(g!==e.length-1||f.value!=="\\0"&&f.value!=="\\9")){t=De;break}b=hy;break}if(t=p.nextState,t===zh)if(p.matchStack===w){t=De;break}else t=Ne;for(;p.syntaxStack!==d;)c();p=p.prev;break;case"Mismatch":if(v!==null&&v!==!1)(m===null||g>m.tokenIndex)&&(m=v,v=!1);else if(m===null){b=wj;break}t=m.nextState,p=m.thenStack,d=m.syntaxStack,w=m.matchStack,g=m.tokenIndex,f=g<e.length?e[g]:null,m=m.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==De&&s(t.else),t.then!==Ne&&a(t.then),t=t.match;break;case"MatchOnce":t={type:"MatchOnceBuffer",syntax:t,index:0,mask:0};break;case"MatchOnceBuffer":{let E=t.syntax.terms;if(t.index===E.length){if(t.mask===0||t.syntax.all){t=De;break}t=Ne;break}if(t.mask===(1<<E.length)-1){t=Ne;break}for(;t.index<E.length;t.index++){let C=1<<t.index;if((t.mask&C)===0){s(t),a({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|C}),t=E[t.index++];break}}break}case"AddMatchOnce":t={type:"MatchOnceBuffer",syntax:t.syntax,index:0,mask:t.mask};break;case"Enum":if(f!==null){let E=f.value.toLowerCase();if(E.indexOf("\\")!==-1&&(E=E.replace(/\\[09].*$/,"")),my.call(t.map,E)){t=t.map[E];break}}t=De;break;case"Generic":{let E=d!==null?d.opts:null,C=g+Math.floor(t.fn(f,i,E));if(!isNaN(C)&&C>g){for(;g<C;)l();t=Ne}else t=De;break}case"Type":case"Property":{let E=t.type==="Type"?"types":"properties",C=my.call(r,E)?r[E][t.name]:null;if(!C||!C.match)throw new Error("Bad syntax reference: "+(t.type==="Type"?"<"+t.name+">":"<'"+t.name+"'>"));if(v!==!1&&f!==null&&t.type==="Type"&&(t.name==="custom-ident"&&f.type===1||t.name==="length"&&f.value==="0")){v===null&&(v=o(t,m)),t=De;break}u(),t=C.matchRef||C.match;break}case"Keyword":{let E=t.name;if(f!==null){let C=f.value;if(C.indexOf("\\")!==-1&&(C=C.replace(/\\[09].*$/,"")),Gf(C,E)){l(),t=Ne;break}}t=De;break}case"AtKeyword":case"Function":if(f!==null&&Gf(f.value,t.name)){l(),t=Ne;break}t=De;break;case"Token":if(f!==null&&f.value===t.value){l(),t=Ne;break}t=De;break;case"Comma":f!==null&&f.type===18?N0(w.token)?t=De:(l(),t=E0(f)?De:Ne):t=N0(w.token)||E0(f)?Ne:De;break;case"String":let k="",S=g;for(;S<e.length&&k.length<t.value.length;S++)k+=e[S].value;if(Gf(k,t.value)){for(;g<S;)l();t=Ne}else t=De;break;default:throw new Error("Unknown node type: "+t.type)}switch(xj+=h,b){case null:console.warn("[csstree-match] BREAK after "+fy+" iterations"),b=kj,w=null;break;case hy:for(;d!==null;)c();break;default:w=null}return{tokens:e,reason:b,iterations:h,match:w,longestMatch:x}}function P0(e,t,r){let n=mW(e,t,r||{});if(n.match===null)return n;let i=n.match,o=n.match={syntax:t.syntax||null,match:[]},a=[o];for(i=dW(i).prev;i!==null;){switch(i.type){case Fm:o.match.push(o={syntax:i.syntax,match:[]}),a.push(o);break;case ck:a.pop(),o=a[a.length-1];break;default:o.match.push({syntax:i.syntax||null,token:i.token.value,node:i.token.node})}i=i.prev}return n}var my,vj,yj,Fm,ck,hy,wj,kj,fy,xj,hW=y(()=>{bj(),{hasOwnProperty:my}=Object.prototype,vj=0,yj=1,Fm=2,ck=3,hy="Match",wj="Mismatch",kj="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",fy=15e3,xj=0}),fW=G(()=>{});function gW(e){let t={};if(e.node){for(let r in e.node)if(Sj.call(e.node,r))if(e.node[r].structure)t[r]={};else throw new Error("Missed `structure` field in `"+r+"` node type definition")}return t}var Sj,bW=y(()=>{({hasOwnProperty:Sj}=Object.prototype)});function vW(e){for(let t=0;t<e.length;t++)if(e[t].value.toLowerCase()==="var(")return!0;return!1}function yW(e){let t=e.terms[0];return e.explicit===!1&&e.terms.length===1&&t.type==="Multiplier"&&t.comma===!0}function Gr(e,t,r){return{matched:e,iterations:r,error:t,...Cj}}function wp(e,t,r,n){let i=lW(r,e.syntax),o;return vW(i)?Gr(null,new Error("Matching for a tree with var() is not supported")):(n&&(o=P0(i,e.cssWideKeywordsSyntax,e)),(!n||!o.match)&&(o=P0(i,t.match,e),!o.match)?Gr(null,new FP(o.reason,t.syntax,r,o),o.iterations):Gr(o.match,null,o.iterations))}var Cj,gy,wW=y(()=>{A9(),rk(),nk(),Y9(),G9(),pj(),uW(),bj(),hW(),Cj=K(fW(),1),bW(),gy=class{constructor(e,t,r){if(this.cssWideKeywords=bh,this.syntax=t,this.generic=!1,this.units={...ay},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=r||gW(e),e){if(e.cssWideKeywords&&(this.cssWideKeywords=e.cssWideKeywords),e.units)for(let n of Object.keys(ay))Array.isArray(e.units[n])&&(this.units[n]=e.units[n]);if(e.types)for(let[n,i]of Object.entries(e.types))this.addType_(n,i);if(e.generic){this.generic=!0;for(let[n,i]of Object.entries(Q9(this.units)))this.addType_(n,i)}if(e.atrules)for(let[n,i]of Object.entries(e.atrules))this.addAtrule_(n,i);if(e.properties)for(let[n,i]of Object.entries(e.properties))this.addProperty_(n,i)}this.cssWideKeywordsSyntax=yp(this.cssWideKeywords.join(" | "))}createDescriptor(e,t,r,n=null){let i={type:t,name:r},o={type:t,name:r,parent:n,serializable:typeof e=="string"||e&&typeof e.type=="string",syntax:null,match:null,matchRef:null};return typeof e=="function"?o.match=yp(e,i):(typeof e=="string"?Object.defineProperty(o,"syntax",{get(){return Object.defineProperty(o,"syntax",{value:ij(e)}),o.syntax}}):o.syntax=e,Object.defineProperty(o,"match",{get(){return Object.defineProperty(o,"match",{value:yp(o.syntax,i)}),o.match}}),t==="Property"&&Object.defineProperty(o,"matchRef",{get(){let a=o.syntax,s=yW(a)?yp({...a,terms:[a.terms[0].term]},i):null;return Object.defineProperty(o,"matchRef",{value:s}),s}})),o}addAtrule_(e,t){t&&(this.atrules[e]={type:"Atrule",name:e,prelude:t.prelude?this.createDescriptor(t.prelude,"AtrulePrelude",e):null,descriptors:t.descriptors?Object.keys(t.descriptors).reduce((r,n)=>(r[n]=this.createDescriptor(t.descriptors[n],"AtruleDescriptor",n,e),r),Object.create(null)):null})}addProperty_(e,t){t&&(this.properties[e]=this.createDescriptor(t,"Property",e))}addType_(e,t){t&&(this.types[e]=this.createDescriptor(t,"Type",e))}checkAtruleName(e){if(!this.getAtrule(e))return new Zp("Unknown at-rule","@"+e)}checkAtrulePrelude(e,t){let r=this.checkAtruleName(e);if(r)return r;let n=this.getAtrule(e);if(!n.prelude&&t)return new SyntaxError("At-rule `@"+e+"` should not contain a prelude");if(n.prelude&&!t&&!wp(this,n.prelude,"",!1).matched)return new SyntaxError("At-rule `@"+e+"` should contain a prelude")}checkAtruleDescriptorName(e,t){let r=this.checkAtruleName(e);if(r)return r;let n=this.getAtrule(e),i=Xp(t);if(!n.descriptors)return new SyntaxError("At-rule `@"+e+"` has no known descriptors");if(!n.descriptors[i.name]&&!n.descriptors[i.basename])return new Zp("Unknown at-rule descriptor",t)}checkPropertyName(e){if(!this.getProperty(e))return new Zp("Unknown property",e)}matchAtrulePrelude(e,t){let r=this.checkAtrulePrelude(e,t);if(r)return Gr(null,r);let n=this.getAtrule(e);return n.prelude?wp(this,n.prelude,t||"",!1):Gr(null,null)}matchAtruleDescriptor(e,t,r){let n=this.checkAtruleDescriptorName(e,t);if(n)return Gr(null,n);let i=this.getAtrule(e),o=Xp(t);return wp(this,i.descriptors[o.name]||i.descriptors[o.basename],r,!1)}matchProperty(e,t){if(ny(e).custom)return Gr(null,new Error("Lexer matching doesn't applicable for custom properties"));let r=this.checkPropertyName(e);return r?Gr(null,r):wp(this,this.getProperty(e),t,!0)}getAtrule(e,t=!0){let r=Xp(e);return(r.vendor&&t?this.atrules[r.name]||this.atrules[r.basename]:this.atrules[r.name])||null}getProperty(e,t=!0){let r=ny(e);return(r.vendor&&t?this.properties[r.name]||this.properties[r.basename]:this.properties[r.name])||null}}});function Kf(e,t){return typeof t=="string"&&/^\s*\|/.test(t)?typeof e=="string"?e+t:t.replace(/^\s*\|\s*/,""):t||null}function kW(e,t){let r=Object.create(null);for(let n of Object.keys(e))t.includes(n)&&(r[n]=e[n]);return r}function Hf(e,t,r){let n={...e};for(let[i,o]of Object.entries(t))n[i]={...n[i],...r?kW(o,r):o};return n}function by(e,t){let r={...e};for(let[n,i]of Object.entries(t))switch(n){case"generic":r[n]=!!i;break;case"cssWideKeywords":r[n]=e[n]?[...e[n],...i]:i||[];break;case"units":r[n]={...e[n]};for(let[o,a]of Object.entries(i))r[n][o]=Array.isArray(a)?a:[];break;case"atrules":r[n]={...e[n]};for(let[o,a]of Object.entries(i)){let s=r[n][o]||{},l=r[n][o]={prelude:s.prelude||null,descriptors:{...s.descriptors}};if(a){l.prelude=a.prelude?Kf(l.prelude,a.prelude):l.prelude||null;for(let[u,c]of Object.entries(a.descriptors||{}))l.descriptors[u]=c?Kf(l.descriptors[u],c):null;Object.keys(l.descriptors).length||(l.descriptors=null)}}break;case"types":case"properties":r[n]={...e[n]};for(let[o,a]of Object.entries(i))r[n][o]=Kf(r[n][o],a);break;case"parseContext":r[n]={...e[n],...i};break;case"scope":case"features":r[n]=Hf(e[n],i);break;case"atrule":case"pseudo":r[n]=Hf(e[n],i,["parse"]);break;case"node":r[n]=Hf(e[n],i,["name","structure","parse","generate","walkContext"]);break}return r}var xW=y(()=>{});function zj(e){let t=s9(e),r=b9(e),n=p9(e),{fromPlainObject:i,toPlainObject:o}=LP(r),a={lexer:null,createLexer:s=>new gy(s,a,a.lexer.structure),tokenize:fh,parse:t,generate:n,walk:r,find:r.find,findLast:r.findLast,findAll:r.findAll,fromPlainObject:i,toPlainObject:o,fork(s){let l=by({},e);return zj(typeof s=="function"?s(l):by(l,s))}};return a.lexer=new gy({generic:e.generic,cssWideKeywords:e.cssWideKeywords,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},a),a}var Aj,SW=y(()=>{mr(),l9(),m9(),h9(),v9(),wW(),xW(),Aj=e=>zj(by({},e))}),Nj,CW=y(()=>{Nj={generic:!0,cssWideKeywords:["initial","inherit","unset","revert","revert-layer"],units:{angle:["deg","grad","rad","turn"],decibel:["db"],flex:["fr"],frequency:["hz","khz"],length:["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],resolution:["dpi","dpcm","dppx","x"],semitones:["st"],time:["s","ms"]},types:{"abs()":"abs( <calc-sum> )","absolute-size":"xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large","acos()":"acos( <calc-sum> )","alpha-value":"<number>|<percentage>","an+b":"odd|even|<integer>|<n-dimension>|'+'? † n|-n|<ndashdigit-dimension>|'+'? † <ndashdigit-ident>|<dashndashdigit-ident>|<n-dimension> <signed-integer>|'+'? † n <signed-integer>|-n <signed-integer>|<ndash-dimension> <signless-integer>|'+'? † n- <signless-integer>|-n- <signless-integer>|<n-dimension> ['+'|'-'] <signless-integer>|'+'? † n ['+'|'-'] <signless-integer>|-n ['+'|'-'] <signless-integer>","anchor()":"anchor( <anchor-name>?&&<anchor-side> , <length-percentage>? )","anchor-name":"<dashed-ident>","anchor-side":"inside|outside|top|left|right|bottom|start|end|self-start|self-end|<percentage>|center","anchor-size":"width|height|block|inline|self-block|self-inline","anchor-size()":"anchor-size( [<anchor-name>||<anchor-size>]? , <length-percentage>? )","angle-percentage":"<angle>|<percentage>","angular-color-hint":"<angle-percentage>|<zero>","angular-color-stop":"<color> <color-stop-angle>?","angular-color-stop-list":"<angular-color-stop> , [<angular-color-hint>? , <angular-color-stop>]#?","animateable-feature":"scroll-position|contents|<custom-ident>","animation-action":"none|play|play-once|play-forwards|play-backwards|pause|reset|replay","asin()":"asin( <calc-sum> )","atan()":"atan( <calc-sum> )","atan2()":"atan2( <calc-sum> , <calc-sum> )",attachment:"scroll|fixed|local","attr()":"attr( <attr-name> <attr-type>? , <declaration-value>? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attr-type":"type( <syntax> )|raw-string|number|<attr-unit>","attribute-selector":"'[' <wq-name> ']'|'[' <wq-name> <attr-matcher> [<string-token>|<ident-token>] <attr-modifier>? ']'","auto-repeat":"repeat( [auto-fill|auto-fit] , [<line-names>? <fixed-size>]+ <line-names>? )","auto-track-list":"[<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>? <auto-repeat> [<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>?",axis:"block|inline|x|y","baseline-position":"[first|last]? baseline","basic-shape":"<inset()>|<xywh()>|<rect()>|<circle()>|<ellipse()>|<polygon()>|<path()>","basic-shape-rect":"<inset()>|<rect()>|<xywh()>","bg-clip":"<visual-box>|border-area|text","bg-image":"<image>|none","bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<visual-box>||<visual-box>","bg-position":"[[left|center|right|top|bottom|<length-percentage>]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]|[center|[left|right] <length-percentage>?]&&[center|[top|bottom] <length-percentage>?]]","bg-size":"[<length-percentage [0,∞]>|auto]{1,2}|cover|contain","blend-mode":"normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity","blur()":"blur( <length>? )","brightness()":"brightness( [<number>|<percentage>]? )","calc()":"calc( <calc-sum> )","calc-constant":"e|pi|infinity|-infinity|NaN","calc-product":"<calc-value> ['*' <calc-value>|'/' <number>]*","calc-size()":"calc-size( <calc-size-basis> , <calc-sum> )","calc-size-basis":"<intrinsic-size-keyword>|<calc-size()>|any|<calc-sum>","calc-sum":"<calc-product> [['+'|'-'] <calc-product>]*","calc-value":"<number>|<dimension>|<percentage>|<calc-constant>|( <calc-sum> )","cf-final-image":"<image>|<color>","cf-mixing-image":"<percentage>?&&<image>","circle()":"circle( <radial-size>? [at <position>]? )","clamp()":"clamp( <calc-sum>#{3} )","class-selector":"'.' <ident-token>","clip-source":"<url>",color:"<color-base>|currentColor|<system-color>|<device-cmyk()>|<light-dark()>|<-non-standard-color>","color()":"color( <colorspace-params> [/ [<alpha-value>|none]]? )","color-base":"<hex-color>|<color-function>|<named-color>|<color-mix()>|transparent","color-function":"<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<oklab()>|<oklch()>|<color()>","color-interpolation-method":"in [<rectangular-color-space>|<polar-color-space> <hue-interpolation-method>?|<custom-color-space>]","color-mix()":"color-mix( <color-interpolation-method> , [<color>&&<percentage [0,100]>?]#{2} )","color-stop":"<color-stop-length>|<color-stop-angle>","color-stop-angle":"[<angle-percentage>|<zero>]{1,2}","color-stop-length":"<length-percentage>{1,2}","color-stop-list":"<linear-color-stop> , [<linear-color-hint>? , <linear-color-stop>]#?","colorspace-params":"[<predefined-rgb-params>|<xyz-params>]",combinator:"'>'|'+'|'~'|['|' '|']","common-lig-values":"[common-ligatures|no-common-ligatures]","compat-auto":"searchfield|textarea|checkbox|radio|menulist|listbox|meter|progress-bar|button","compat-special":"textfield|menulist-button","complex-selector":"<complex-selector-unit> [<combinator>? <complex-selector-unit>]*","complex-selector-list":"<complex-selector>#","composite-style":"clear|copy|source-over|source-in|source-out|source-atop|destination-over|destination-in|destination-out|destination-atop|xor","compositing-operator":"add|subtract|intersect|exclude","compound-selector":"[<type-selector>? <subclass-selector>*]!","compound-selector-list":"<compound-selector>#","conic-gradient()":"conic-gradient( [<conic-gradient-syntax>] )","conic-gradient-syntax":"[[[from [<angle>|<zero>]]? [at <position>]?]||<color-interpolation-method>]? , <angular-color-stop-list>","container-condition":"not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]","container-name":"<custom-ident>","container-query":"not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]","content-distribution":"space-between|space-around|space-evenly|stretch","content-list":"[<string>|contents|<image>|<counter>|<quote>|<target>|<leader()>|<attr()>]+","content-position":"center|start|end|flex-start|flex-end","content-replacement":"<image>","contextual-alt-values":"[contextual|no-contextual]","contrast()":"contrast( [<number>|<percentage>]? )","coord-box":"content-box|padding-box|border-box|fill-box|stroke-box|view-box","corner-shape-value":"round|scoop|bevel|notch|square|squircle|<superellipse()>","cos()":"cos( <calc-sum> )",counter:"<counter()>|<counters()>","counter()":"counter( <counter-name> , <counter-style>? )","counter-name":"<custom-ident>","counter-style":"<counter-style-name>|symbols( )","counter-style-name":"<custom-ident>","counters()":"counters( <counter-name> , <string> , <counter-style>? )","cross-fade()":"cross-fade( <cf-mixing-image> , <cf-final-image>? )","cubic-bezier()":"cubic-bezier( [<number [0,1]> , <number>]#{2} )","cubic-bezier-easing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )","cursor-predefined":"auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing","custom-color-space":"<dashed-ident>","custom-params":"<dashed-ident> [<number>|<percentage>|none]+",dasharray:"[[<length-percentage>|<number>]+]#","dashndashdigit-ident":"<ident-token>","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonHighlight|ButtonShadow|CaptionText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText","discretionary-lig-values":"[discretionary-ligatures|no-discretionary-ligatures]","display-box":"contents|none","display-inside":"flow|flow-root|table|flex|grid|ruby","display-internal":"table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption|ruby-base|ruby-text|ruby-base-container|ruby-text-container","display-legacy":"inline-block|inline-list-item|inline-table|inline-flex|inline-grid","display-listitem":"<display-outside>?&&[flow|flow-root]?&&list-item","display-outside":"block|inline|run-in","drop-shadow()":"drop-shadow( [<color>?&&<length>{2,3}] )","dynamic-range-limit-mix()":"dynamic-range-limit-mix( [<'dynamic-range-limit'>&&<percentage [0,100]>]#{2,} )","easing-function":"<linear-easing-function>|<cubic-bezier-easing-function>|<step-easing-function>","east-asian-variant-values":"[jis78|jis83|jis90|jis04|simplified|traditional]","east-asian-width-values":"[full-width|proportional-width]","element()":"element( <custom-ident> , [first|start|last|first-except]? )|element( <id-selector> )","ellipse()":"ellipse( <radial-size>? [at <position>]? )","env()":"env( <custom-ident> , <declaration-value>? )","exp()":"exp( <calc-sum> )","explicit-track-list":"[<line-names>? <track-size>]+ <line-names>?","family-name":"<string>|<custom-ident>+","feature-tag-value":"<string> [<integer>|on|off]?","feature-type":"@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation","feature-value-block":"<feature-type> '{' <feature-value-declaration-list> '}'","feature-value-block-list":"<feature-value-block>+","feature-value-declaration":"<custom-ident> : <integer>+ ;","feature-value-declaration-list":"<feature-value-declaration>","feature-value-name":"<custom-ident>","filter-function":"<blur()>|<brightness()>|<contrast()>|<drop-shadow()>|<grayscale()>|<hue-rotate()>|<invert()>|<opacity()>|<saturate()>|<sepia()>","filter-value-list":"[<filter-function>|<url>]+","final-bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<visual-box>||<visual-box>||<'background-color'>","fit-content()":"fit-content( <length-percentage [0,∞]> )","fixed-breadth":"<length-percentage>","fixed-repeat":"repeat( [<integer [1,∞]>] , [<line-names>? <fixed-size>]+ <line-names>? )","fixed-size":"<fixed-breadth>|minmax( <fixed-breadth> , <track-breadth> )|minmax( <inflexible-breadth> , <fixed-breadth> )","font-stretch-absolute":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|<percentage>","font-variant-css2":"normal|small-caps","font-weight-absolute":"normal|bold|<number [1,1000]>","font-width-css3":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded","form-control-identifier":"select","frequency-percentage":"<frequency>|<percentage>","generic-complete":"serif|sans-serif|system-ui|cursive|fantasy|math|monospace","general-enclosed":"[<function-token> <any-value>? )]|[( <any-value>? )]","generic-family":"<generic-script-specific>|<generic-complete>|<generic-incomplete>|<-non-standard-generic-family>","generic-incomplete":"ui-serif|ui-sans-serif|ui-monospace|ui-rounded","geometry-box":"<shape-box>|fill-box|stroke-box|view-box",gradient:"<linear-gradient()>|<repeating-linear-gradient()>|<radial-gradient()>|<repeating-radial-gradient()>|<conic-gradient()>|<repeating-conic-gradient()>|<-legacy-gradient>","grayscale()":"grayscale( [<number>|<percentage>]? )","grid-line":"auto|<custom-ident>|[<integer>&&<custom-ident>?]|[span&&[<integer>||<custom-ident>]]","historical-lig-values":"[historical-ligatures|no-historical-ligatures]","hsl()":"hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )|hsl( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","hsla()":"hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )|hsla( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )",hue:"<number>|<angle>","hue-interpolation-method":"[shorter|longer|increasing|decreasing] hue","hue-rotate()":"hue-rotate( [<angle>|<zero>]? )","hwb()":"hwb( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","hypot()":"hypot( <calc-sum># )",image:"<url>|<image()>|<image-set()>|<element()>|<paint()>|<cross-fade()>|<gradient>","image()":"image( <image-tags>? [<image-src>? , <color>?]! )","image-set()":"image-set( <image-set-option># )","image-set-option":"[<image>|<string>] [<resolution>||type( <string> )]","image-src":"<url>|<string>","image-tags":"ltr|rtl","inflexible-breadth":"<length-percentage>|min-content|max-content|auto","inset()":"inset( <length-percentage>{1,4} [round <'border-radius'>]? )","invert()":"invert( [<number>|<percentage>]? )","keyframe-block":"<keyframe-selector># { <declaration-list> }","keyframe-selector":"from|to|<percentage [0,100]>|<timeline-range-name> <percentage>","keyframes-name":"<custom-ident>|<string>","lab()":"lab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","layer()":"layer( <layer-name> )","layer-name":"<ident> ['.' <ident>]*","lch()":"lch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","leader()":"leader( <leader-type> )","leader-type":"dotted|solid|space|<string>","length-percentage":"<length>|<percentage>","light-dark()":"light-dark( <color> , <color> )","line-name-list":"[<line-names>|<name-repeat>]+","line-names":"'[' <custom-ident>* ']'","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"<length>|thin|medium|thick","linear()":"linear( [<number>&&<percentage>{0,2}]# )","linear-color-hint":"<length-percentage>","linear-color-stop":"<color> <color-stop-length>?","linear-easing-function":"linear|<linear()>","linear-gradient()":"linear-gradient( [<linear-gradient-syntax>] )","linear-gradient-syntax":"[[<angle>|<zero>|to <side-or-corner>]||<color-interpolation-method>]? , <color-stop-list>","log()":"log( <calc-sum> , <calc-sum>? )","mask-layer":"<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||<geometry-box>||[<geometry-box>|no-clip]||<compositing-operator>||<masking-mode>","mask-position":"[<length-percentage>|left|center|right] [<length-percentage>|top|center|bottom]?","mask-reference":"none|<image>|<mask-source>","mask-source":"<url>","masking-mode":"alpha|luminance|match-source","matrix()":"matrix( <number>#{6} )","matrix3d()":"matrix3d( <number>#{16} )","max()":"max( <calc-sum># )","media-and":"<media-in-parens> [and <media-in-parens>]+","media-condition":"<media-not>|<media-and>|<media-or>|<media-in-parens>","media-condition-without-or":"<media-not>|<media-and>|<media-in-parens>","media-feature":"( [<mf-plain>|<mf-boolean>|<mf-range>] )","media-in-parens":"( <media-condition> )|<media-feature>|<general-enclosed>","media-not":"not <media-in-parens>","media-or":"<media-in-parens> [or <media-in-parens>]+","media-query":"<media-condition>|[not|only]? <media-type> [and <media-condition-without-or>]?","media-query-list":"<media-query>#","media-type":"<ident>","mf-boolean":"<mf-name>","mf-name":"<ident>","mf-plain":"<mf-name> : <mf-value>","mf-range":"<mf-name> ['<'|'>']? '='? <mf-value>|<mf-value> ['<'|'>']? '='? <mf-name>|<mf-value> '<' '='? <mf-name> '<' '='? <mf-value>|<mf-value> '>' '='? <mf-name> '>' '='? <mf-value>","mf-value":"<number>|<dimension>|<ident>|<ratio>","min()":"min( <calc-sum># )","minmax()":"minmax( [<length-percentage>|min-content|max-content|auto] , [<length-percentage>|<flex>|min-content|max-content|auto] )","mod()":"mod( <calc-sum> , <calc-sum> )","n-dimension":"<dimension-token>","name-repeat":"repeat( [<integer [1,∞]>|auto-fill] , <line-names>+ )","named-color":"aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen","namespace-prefix":"<ident>","ndash-dimension":"<dimension-token>","ndashdigit-dimension":"<dimension-token>","ndashdigit-ident":"<ident-token>","ns-prefix":"[<ident-token>|'*']? '|'","number-percentage":"<number>|<percentage>","numeric-figure-values":"[lining-nums|oldstyle-nums]","numeric-fraction-values":"[diagonal-fractions|stacked-fractions]","numeric-spacing-values":"[proportional-nums|tabular-nums]","offset-path":"<ray()>|<url>|<basic-shape>","oklab()":"oklab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","oklch()":"oklch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","opacity()":"opacity( [<number>|<percentage>]? )","opacity-value":"<number>|<percentage>","outline-line-style":"none|dotted|dashed|solid|double|groove|ridge|inset|outset","outline-radius":"<length>|<percentage>","overflow-position":"unsafe|safe","page-body":"<declaration>? [; <page-body>]?|<page-margin-box> <page-body>","page-margin-box":"<page-margin-box-type> '{' <declaration-list> '}'","page-margin-box-type":"@top-left-corner|@top-left|@top-center|@top-right|@top-right-corner|@bottom-left-corner|@bottom-left|@bottom-center|@bottom-right|@bottom-right-corner|@left-top|@left-middle|@left-bottom|@right-top|@right-middle|@right-bottom","page-selector":"<pseudo-page>+|<ident> <pseudo-page>*","page-selector-list":"[<page-selector>#]?","page-size":"A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger",paint:"none|<color>|<url> [none|<color>]?|context-fill|context-stroke","paint()":"paint( <ident> , <declaration-value>? )","paint-box":"<visual-box>|fill-box|stroke-box","palette-identifier":"<dashed-ident>","palette-mix()":"palette-mix( <color-interpolation-method> , [[normal|light|dark|<palette-identifier>|<palette-mix()>]&&<percentage [0,100]>?]#{2} )","path()":"path( <'fill-rule'>? , <string> )","perspective()":"perspective( [<length [0,∞]>|none] )","polar-color-space":"hsl|hwb|lch|oklch","polygon()":"polygon( <'fill-rule'>? , [<length-percentage> <length-percentage>]# )",position:"[[left|center|right]||[top|center|bottom]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]?|[[left|right] <length-percentage>]&&[[top|bottom] <length-percentage>]]","position-area":"[[left|center|right|span-left|span-right|x-start|x-end|span-x-start|span-x-end|x-self-start|x-self-end|span-x-self-start|span-x-self-end|span-all]||[top|center|bottom|span-top|span-bottom|y-start|y-end|span-y-start|span-y-end|y-self-start|y-self-end|span-y-self-start|span-y-self-end|span-all]|[block-start|center|block-end|span-block-start|span-block-end|span-all]||[inline-start|center|inline-end|span-inline-start|span-inline-end|span-all]|[self-block-start|center|self-block-end|span-self-block-start|span-self-block-end|span-all]||[self-inline-start|center|self-inline-end|span-self-inline-start|span-self-inline-end|span-all]|[start|center|end|span-start|span-end|span-all]{1,2}|[self-start|center|self-end|span-self-start|span-self-end|span-all]{1,2}]","pow()":"pow( <calc-sum> , <calc-sum> )","predefined-rgb":"srgb|srgb-linear|display-p3|display-p3-linear|a98-rgb|prophoto-rgb|rec2020","predefined-rgb-params":"<predefined-rgb> [<number>|<percentage>|none]{3}","pseudo-class-selector":"':' <ident-token>|':' <function-token> <any-value> ')'","pseudo-element-selector":"':' <pseudo-class-selector>|<legacy-pseudo-element-selector>","pseudo-page":": [left|right|first|blank]","query-in-parens":"( <container-condition> )|( <size-feature> )|style( <style-query> )|<general-enclosed>",quote:"open-quote|close-quote|no-open-quote|no-close-quote","radial-extent":"closest-corner|closest-side|farthest-corner|farthest-side","radial-gradient()":"radial-gradient( [<radial-gradient-syntax>] )","radial-gradient-syntax":"[[[<radial-shape>||<radial-size>]? [at <position>]?]||<color-interpolation-method>]? , <color-stop-list>","radial-shape":"circle|ellipse","radial-size":"<radial-extent>|<length [0,∞]>|<length-percentage [0,∞]>{2}",ratio:"<number [0,∞]> [/ <number [0,∞]>]?","ray()":"ray( <angle>&&<ray-size>?&&contain?&&[at <position>]? )","ray-size":"closest-side|closest-corner|farthest-side|farthest-corner|sides","rect()":"rect( [<length-percentage>|auto]{4} [round <'border-radius'>]? )","rectangular-color-space":"srgb|srgb-linear|display-p3|display-p3-linear|a98-rgb|prophoto-rgb|rec2020|lab|oklab|xyz|xyz-d50|xyz-d65","relative-selector":"<combinator>? <complex-selector>","relative-selector-list":"<relative-selector>#","relative-size":"larger|smaller","rem()":"rem( <calc-sum> , <calc-sum> )","repeat-style":"repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}","repeating-conic-gradient()":"repeating-conic-gradient( [<conic-gradient-syntax>] )","repeating-linear-gradient()":"repeating-linear-gradient( [<linear-gradient-syntax>] )","repeating-radial-gradient()":"repeating-radial-gradient( [<radial-gradient-syntax>] )","reversed-counter-name":"reversed( <counter-name> )","rgb()":"rgb( <percentage>#{3} , <alpha-value>? )|rgb( <number>#{3} , <alpha-value>? )|rgb( [<number>|<percentage>|none]{3} [/ [<alpha-value>|none]]? )","rgba()":"rgba( <percentage>#{3} , <alpha-value>? )|rgba( <number>#{3} , <alpha-value>? )|rgba( [<number>|<percentage>|none]{3} [/ [<alpha-value>|none]]? )","rotate()":"rotate( [<angle>|<zero>] )","rotate3d()":"rotate3d( <number> , <number> , <number> , [<angle>|<zero>] )","rotateX()":"rotateX( [<angle>|<zero>] )","rotateY()":"rotateY( [<angle>|<zero>] )","rotateZ()":"rotateZ( [<angle>|<zero>] )","round()":"round( <rounding-strategy>? , <calc-sum> , <calc-sum> )","rounding-strategy":"nearest|up|down|to-zero","saturate()":"saturate( [<number>|<percentage>]? )","scale()":"scale( [<number>|<percentage>]#{1,2} )","scale3d()":"scale3d( [<number>|<percentage>]#{3} )","scaleX()":"scaleX( [<number>|<percentage>] )","scaleY()":"scaleY( [<number>|<percentage>] )","scaleZ()":"scaleZ( [<number>|<percentage>] )","scope-end":"<forgiving-selector-list>","scope-start":"<forgiving-selector-list>","scroll()":"scroll( [<scroller>||<axis>]? )",scroller:"root|nearest|self","scroll-state-feature":"<media-query-list>","scroll-state-in-parens":"( <scroll-state-query> )|( <scroll-state-feature> )|<general-enclosed>","scroll-state-query":"not <scroll-state-in-parens>|<scroll-state-in-parens> [[and <scroll-state-in-parens>]*|[or <scroll-state-in-parens>]*]|<scroll-state-feature>","selector-list":"<complex-selector-list>","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","sepia()":"sepia( [<number>|<percentage>]? )",shadow:"inset?&&<length>{2,4}&&<color>?","shadow-t":"[<length>{2,3}&&<color>?]",shape:"rect( <top> , <right> , <bottom> , <left> )|rect( <top> <right> <bottom> <left> )","shape-box":"<visual-box>|margin-box","side-or-corner":"[left|right]||[top|bottom]","sign()":"sign( <calc-sum> )","signed-integer":"<number-token>","signless-integer":"<number-token>","sin()":"sin( <calc-sum> )","single-animation":"<'animation-duration'>||<easing-function>||<'animation-delay'>||<single-animation-iteration-count>||<single-animation-direction>||<single-animation-fill-mode>||<single-animation-play-state>||[none|<keyframes-name>]||<single-animation-timeline>","single-animation-composition":"replace|add|accumulate","single-animation-direction":"normal|reverse|alternate|alternate-reverse","single-animation-fill-mode":"none|forwards|backwards|both","single-animation-iteration-count":"infinite|<number>","single-animation-play-state":"running|paused","single-animation-timeline":"auto|none|<dashed-ident>|<scroll()>|<view()>","single-transition":"[none|<single-transition-property>]||<time>||<easing-function>||<time>||<transition-behavior-value>","single-transition-property":"all|<custom-ident>",size:"closest-side|farthest-side|closest-corner|farthest-corner|<length>|<length-percentage>{2}","size-feature":"<mf-plain>|<mf-boolean>|<mf-range>","skew()":"skew( [<angle>|<zero>] , [<angle>|<zero>]? )","skewX()":"skewX( [<angle>|<zero>] )","skewY()":"skewY( [<angle>|<zero>] )","sqrt()":"sqrt( <calc-sum> )","step-position":"jump-start|jump-end|jump-none|jump-both|start|end","step-easing-function":"step-start|step-end|<steps()>","steps()":"steps( <integer> , <step-position>? )","style-feature":"<declaration>","style-in-parens":"( <style-condition> )|( <style-feature> )|<general-enclosed>","style-query":"<style-condition>|<style-feature>","subclass-selector":"<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>","superellipse()":"superellipse( [<number>|infinity|-infinity] )","supports-condition":"not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*","supports-decl":"( <declaration> )","supports-feature":"<supports-decl>|<supports-selector-fn>","supports-in-parens":"( <supports-condition> )|<supports-feature>|<general-enclosed>","supports-selector-fn":"selector( <complex-selector> )",symbol:"<string>|<image>|<custom-ident>","symbols()":"symbols( <symbols-type>? [<string>|<image>]+ )","symbols-type":"cyclic|numeric|alphabetic|symbolic|fixed","system-color":"AccentColor|AccentColorText|ActiveText|ButtonBorder|ButtonFace|ButtonText|Canvas|CanvasText|Field|FieldText|GrayText|Highlight|HighlightText|LinkText|Mark|MarkText|SelectedItem|SelectedItemText|VisitedText","system-family-name":"caption|icon|menu|message-box|small-caption|status-bar","tan()":"tan( <calc-sum> )",target:"<target-counter()>|<target-counters()>|<target-text()>","target-counter()":"target-counter( [<string>|<url>] , <custom-ident> , <counter-style>? )","target-counters()":"target-counters( [<string>|<url>] , <custom-ident> , <string> , <counter-style>? )","target-text()":"target-text( [<string>|<url>] , [content|before|after|first-letter]? )","text-edge":"[text|cap|ex|ideographic|ideographic-ink] [text|alphabetic|ideographic|ideographic-ink]?","time-percentage":"<time>|<percentage>","timeline-range-name":"cover|contain|entry|exit|entry-crossing|exit-crossing","track-breadth":"<length-percentage>|<flex>|min-content|max-content|auto","track-list":"[<line-names>? [<track-size>|<track-repeat>]]+ <line-names>?","track-repeat":"repeat( [<integer [1,∞]>] , [<line-names>? <track-size>]+ <line-names>? )","track-size":"<track-breadth>|minmax( <inflexible-breadth> , <track-breadth> )|fit-content( <length-percentage> )","transform-function":"<matrix()>|<translate()>|<translateX()>|<translateY()>|<scale()>|<scaleX()>|<scaleY()>|<rotate()>|<skew()>|<skewX()>|<skewY()>|<matrix3d()>|<translate3d()>|<translateZ()>|<scale3d()>|<scaleZ()>|<rotate3d()>|<rotateX()>|<rotateY()>|<rotateZ()>|<perspective()>","transform-list":"<transform-function>+","transition-behavior-value":"normal|allow-discrete","translate()":"translate( <length-percentage> , <length-percentage>? )","translate3d()":"translate3d( <length-percentage> , <length-percentage> , <length> )","translateX()":"translateX( <length-percentage> )","translateY()":"translateY( <length-percentage> )","translateZ()":"translateZ( <length> )","try-size":"most-width|most-height|most-block-size|most-inline-size","try-tactic":"flip-block||flip-inline||flip-start","type-or-unit":"string|color|url|integer|number|length|angle|time|frequency|cap|ch|em|ex|ic|lh|rlh|rem|vb|vi|vw|vh|vmin|vmax|mm|Q|cm|in|pt|pc|px|deg|grad|rad|turn|ms|s|Hz|kHz|%","type-selector":"<wq-name>|<ns-prefix>? '*'","var()":"var( <custom-property-name> , <declaration-value>? )","view()":"view( [<axis>||<'view-timeline-inset'>]? )","viewport-length":"auto|<length-percentage>","visual-box":"content-box|padding-box|border-box","wq-name":"<ns-prefix>? <ident-token>","xywh()":"xywh( <length-percentage>{2} <length-percentage [0,∞]>{2} [round <'border-radius'>]? )",xyz:"xyz|xyz-d50|xyz-d65","xyz-params":"<xyz-space> [<number>|<percentage>|none]{3}","-legacy-gradient":"<-webkit-gradient()>|<-legacy-linear-gradient>|<-legacy-repeating-linear-gradient>|<-legacy-radial-gradient>|<-legacy-repeating-radial-gradient>","-legacy-linear-gradient":"-moz-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-repeating-linear-gradient":"-moz-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-linear-gradient-arguments":"[<angle>|<side-or-corner>]? , <color-stop-list>","-legacy-radial-gradient":"-moz-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-repeating-radial-gradient":"-moz-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-radial-gradient-arguments":"[<position> ,]? [[[<-legacy-radial-gradient-shape>||<-legacy-radial-gradient-size>]|[<length>|<percentage>]{2}] ,]? <color-stop-list>","-legacy-radial-gradient-size":"closest-side|closest-corner|farthest-side|farthest-corner|contain|cover","-legacy-radial-gradient-shape":"circle|ellipse","-non-standard-font":"-apple-system-body|-apple-system-headline|-apple-system-subheadline|-apple-system-caption1|-apple-system-caption2|-apple-system-footnote|-apple-system-short-body|-apple-system-short-headline|-apple-system-short-subheadline|-apple-system-short-caption1|-apple-system-short-footnote|-apple-system-tall-body","-non-standard-color":"-moz-ButtonDefault|-moz-ButtonHoverFace|-moz-ButtonHoverText|-moz-CellHighlight|-moz-CellHighlightText|-moz-Combobox|-moz-ComboboxText|-moz-Dialog|-moz-DialogText|-moz-dragtargetzone|-moz-EvenTreeRow|-moz-Field|-moz-FieldText|-moz-html-CellHighlight|-moz-html-CellHighlightText|-moz-mac-accentdarkestshadow|-moz-mac-accentdarkshadow|-moz-mac-accentface|-moz-mac-accentlightesthighlight|-moz-mac-accentlightshadow|-moz-mac-accentregularhighlight|-moz-mac-accentregularshadow|-moz-mac-chrome-active|-moz-mac-chrome-inactive|-moz-mac-focusring|-moz-mac-menuselect|-moz-mac-menushadow|-moz-mac-menutextselect|-moz-MenuHover|-moz-MenuHoverText|-moz-MenuBarText|-moz-MenuBarHoverText|-moz-nativehyperlinktext|-moz-OddTreeRow|-moz-win-communicationstext|-moz-win-mediatext|-moz-activehyperlinktext|-moz-default-background-color|-moz-default-color|-moz-hyperlinktext|-moz-visitedhyperlinktext|-webkit-activelink|-webkit-focus-ring-color|-webkit-link|-webkit-text","-non-standard-image-rendering":"optimize-contrast|-moz-crisp-edges|-o-crisp-edges|-webkit-optimize-contrast","-non-standard-overflow":"overlay|-moz-scrollbars-none|-moz-scrollbars-horizontal|-moz-scrollbars-vertical|-moz-hidden-unscrollable","-non-standard-size":"intrinsic|min-intrinsic|-webkit-fill-available|-webkit-fit-content|-webkit-min-content|-webkit-max-content|-moz-available|-moz-fit-content|-moz-min-content|-moz-max-content","-webkit-gradient()":"-webkit-gradient( <-webkit-gradient-type> , <-webkit-gradient-point> [, <-webkit-gradient-point>|, <-webkit-gradient-radius> , <-webkit-gradient-point>] [, <-webkit-gradient-radius>]? [, <-webkit-gradient-color-stop>]* )","-webkit-gradient-color-stop":"from( <color> )|color-stop( [<number-zero-one>|<percentage>] , <color> )|to( <color> )","-webkit-gradient-point":"[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]","-webkit-gradient-radius":"<length>|<percentage>","-webkit-gradient-type":"linear|radial","-webkit-mask-box-repeat":"repeat|stretch|round","-ms-filter-function-list":"<-ms-filter-function>+","-ms-filter-function":"<-ms-filter-function-progid>|<-ms-filter-function-legacy>","-ms-filter-function-progid":"'progid:' [<ident-token> '.']* [<ident-token>|<function-token> <any-value>? )]","-ms-filter-function-legacy":"<ident-token>|<function-token> <any-value>? )",age:"child|young|old","attr-name":"<wq-name>","attr-fallback":"<any-value>",autospace:"no-autospace|[ideograph-alpha||ideograph-numeric||punctuation]||[insert|replace]",bottom:"<length>|auto","generic-voice":"[<age>? <gender> <integer>?]",gender:"male|female|neutral","generic-script-specific":"generic( kai )|generic( fangsong )|generic( nastaliq )","-non-standard-generic-family":"-apple-system|BlinkMacSystemFont","intrinsic-size-keyword":"min-content|max-content|fit-content",left:"<length>|auto","device-cmyk()":"<legacy-device-cmyk-syntax>|<modern-device-cmyk-syntax>","legacy-device-cmyk-syntax":"device-cmyk( <number>#{4} )","modern-device-cmyk-syntax":"device-cmyk( <cmyk-component>{4} [/ [<alpha-value>|none]]? )","cmyk-component":"<number>|<percentage>|none","color-space":"<rectangular-color-space>|<polar-color-space>|<custom-color-space>",right:"<length>|auto","forgiving-selector-list":"<complex-real-selector-list>","forgiving-relative-selector-list":"<relative-real-selector-list>","complex-real-selector-list":"<complex-real-selector>#","simple-selector-list":"<simple-selector>#","relative-real-selector-list":"<relative-real-selector>#","complex-selector-unit":"[<compound-selector>? <pseudo-compound-selector>*]!","complex-real-selector":"<compound-selector> [<combinator>? <compound-selector>]*","relative-real-selector":"<combinator>? <complex-real-selector>","pseudo-compound-selector":"<pseudo-element-selector> <pseudo-class-selector>*","simple-selector":"<type-selector>|<subclass-selector>","legacy-pseudo-element-selector":"':' [before|after|first-line|first-letter]","svg-length":"<percentage>|<length>|<number>","svg-writing-mode":"lr-tb|rl-tb|tb-rl|lr|rl|tb",top:"<length>|auto",x:"<number>",y:"<number>",declaration:"<ident-token> : <declaration-value>? ['!' important]?","declaration-list":"[<declaration>? ';']* <declaration>?",url:"url( <string> <url-modifier>* )|<url-token>","url-modifier":"<ident>|<function-token> <any-value> )","number-zero-one":"<number [0,1]>","number-one-or-greater":"<number [1,∞]>","xyz-space":"xyz|xyz-d50|xyz-d65","style-condition":"not <style-in-parens>|<style-in-parens> [[and <style-in-parens>]*|[or <style-in-parens>]*]","-non-standard-display":"-ms-inline-flexbox|-ms-grid|-ms-inline-grid|-webkit-flex|-webkit-inline-flex|-webkit-box|-webkit-inline-box|-moz-inline-stack|-moz-box|-moz-inline-box","inset-area":"[[left|center|right|span-left|span-right|x-start|x-end|span-x-start|span-x-end|x-self-start|x-self-end|span-x-self-start|span-x-self-end|span-all]||[top|center|bottom|span-top|span-bottom|y-start|y-end|span-y-start|span-y-end|y-self-start|y-self-end|span-y-self-start|span-y-self-end|span-all]|[block-start|center|block-end|span-block-start|span-block-end|span-all]||[inline-start|center|inline-end|span-inline-start|span-inline-end|span-all]|[self-block-start|self-block-end|span-self-block-start|span-self-block-end|span-all]||[self-inline-start|self-inline-end|span-self-inline-start|span-self-inline-end|span-all]|[start|center|end|span-start|span-end|span-all]{1,2}|[self-start|center|self-end|span-self-start|span-self-end|span-all]{1,2}]",syntax:"'*'|<syntax-component> [<syntax-combinator> <syntax-component>]*|<syntax-string>","syntax-component":"<syntax-single-component> <syntax-multiplier>?|'<' transform-list '>'","syntax-single-component":"'<' <syntax-type-name> '>'|<ident>","syntax-type-name":"angle|color|custom-ident|image|integer|length|length-percentage|number|percentage|resolution|string|time|url|transform-function","syntax-combinator":"'|'","syntax-multiplier":"'#'|'+'","syntax-string":"<string>"},properties:{"--*":"<declaration-value>","-ms-accelerator":"false|true","-ms-block-progression":"tb|rl|bt|lr","-ms-content-zoom-chaining":"none|chained","-ms-content-zoom-limit":"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>","-ms-content-zoom-limit-max":"<percentage>","-ms-content-zoom-limit-min":"<percentage>","-ms-content-zoom-snap":"<'-ms-content-zoom-snap-type'>||<'-ms-content-zoom-snap-points'>","-ms-content-zoom-snap-points":"snapInterval( <percentage> , <percentage> )|snapList( <percentage># )","-ms-content-zoom-snap-type":"none|proximity|mandatory","-ms-content-zooming":"none|zoom","-ms-filter":"<string>","-ms-flow-from":"[none|<custom-ident>]#","-ms-flow-into":"[none|<custom-ident>]#","-ms-grid-columns":"none|<track-list>|<auto-track-list>","-ms-grid-rows":"none|<track-list>|<auto-track-list>","-ms-high-contrast-adjust":"auto|none","-ms-hyphenate-limit-chars":"auto|<integer>{1,3}","-ms-hyphenate-limit-lines":"no-limit|<integer>","-ms-hyphenate-limit-zone":"<percentage>|<length>","-ms-ime-align":"auto|after","-ms-overflow-style":"auto|none|scrollbar|-ms-autohiding-scrollbar","-ms-scroll-chaining":"chained|none","-ms-scroll-limit":"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>","-ms-scroll-limit-x-max":"auto|<length>","-ms-scroll-limit-x-min":"<length>","-ms-scroll-limit-y-max":"auto|<length>","-ms-scroll-limit-y-min":"<length>","-ms-scroll-rails":"none|railed","-ms-scroll-snap-points-x":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-points-y":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-type":"none|proximity|mandatory","-ms-scroll-snap-x":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>","-ms-scroll-snap-y":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>","-ms-scroll-translation":"none|vertical-to-horizontal","-ms-scrollbar-3dlight-color":"<color>","-ms-scrollbar-arrow-color":"<color>","-ms-scrollbar-base-color":"<color>","-ms-scrollbar-darkshadow-color":"<color>","-ms-scrollbar-face-color":"<color>","-ms-scrollbar-highlight-color":"<color>","-ms-scrollbar-shadow-color":"<color>","-ms-scrollbar-track-color":"<color>","-ms-text-autospace":"none|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space","-ms-touch-select":"grippers|none","-ms-user-select":"none|element|text","-ms-wrap-flow":"auto|both|start|end|maximum|clear","-ms-wrap-margin":"<length>","-ms-wrap-through":"wrap|none","-moz-appearance":"none|button|button-arrow-down|button-arrow-next|button-arrow-previous|button-arrow-up|button-bevel|button-focus|caret|checkbox|checkbox-container|checkbox-label|checkmenuitem|dualbutton|groupbox|listbox|listitem|menuarrow|menubar|menucheckbox|menuimage|menuitem|menuitemtext|menulist|menulist-button|menulist-text|menulist-textfield|menupopup|menuradio|menuseparator|meterbar|meterchunk|progressbar|progressbar-vertical|progresschunk|progresschunk-vertical|radio|radio-container|radio-label|radiomenuitem|range|range-thumb|resizer|resizerpanel|scale-horizontal|scalethumbend|scalethumb-horizontal|scalethumbstart|scalethumbtick|scalethumb-vertical|scale-vertical|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|separator|sheet|spinner|spinner-downbutton|spinner-textfield|spinner-upbutton|splitter|statusbar|statusbarpanel|tab|tabpanel|tabpanels|tab-scroll-arrow-back|tab-scroll-arrow-forward|textfield|textfield-multiline|toolbar|toolbarbutton|toolbarbutton-dropdown|toolbargripper|toolbox|tooltip|treeheader|treeheadercell|treeheadersortarrow|treeitem|treeline|treetwisty|treetwistyopen|treeview|-moz-mac-unified-toolbar|-moz-win-borderless-glass|-moz-win-browsertabbar-toolbox|-moz-win-communicationstext|-moz-win-communications-toolbox|-moz-win-exclude-glass|-moz-win-glass|-moz-win-mediatext|-moz-win-media-toolbox|-moz-window-button-box|-moz-window-button-box-maximized|-moz-window-button-close|-moz-window-button-maximize|-moz-window-button-minimize|-moz-window-button-restore|-moz-window-frame-bottom|-moz-window-frame-left|-moz-window-frame-right|-moz-window-titlebar|-moz-window-titlebar-maximized","-moz-binding":"<url>|none","-moz-border-bottom-colors":"<color>+|none","-moz-border-left-colors":"<color>+|none","-moz-border-right-colors":"<color>+|none","-moz-border-top-colors":"<color>+|none","-moz-context-properties":"none|[fill|fill-opacity|stroke|stroke-opacity]#","-moz-float-edge":"border-box|content-box|margin-box|padding-box","-moz-force-broken-image-icon":"0|1","-moz-orient":"inline|block|horizontal|vertical","-moz-outline-radius":"<outline-radius>{1,4} [/ <outline-radius>{1,4}]?","-moz-outline-radius-bottomleft":"<outline-radius>","-moz-outline-radius-bottomright":"<outline-radius>","-moz-outline-radius-topleft":"<outline-radius>","-moz-outline-radius-topright":"<outline-radius>","-moz-stack-sizing":"ignore|stretch-to-fit","-moz-text-blink":"none|blink","-moz-user-focus":"ignore|normal|select-after|select-before|select-menu|select-same|select-all|none","-moz-user-input":"auto|none|enabled|disabled","-moz-user-modify":"read-only|read-write|write-only","-moz-window-dragging":"drag|no-drag","-moz-window-shadow":"default|menu|tooltip|sheet|none","-webkit-appearance":"none|button|button-bevel|caps-lock-indicator|caret|checkbox|default-button|inner-spin-button|listbox|listitem|media-controls-background|media-controls-fullscreen-background|media-current-time-display|media-enter-fullscreen-button|media-exit-fullscreen-button|media-fullscreen-button|media-mute-button|media-overlay-play-button|media-play-button|media-seek-back-button|media-seek-forward-button|media-slider|media-sliderthumb|media-time-remaining-display|media-toggle-closed-captions-button|media-volume-slider|media-volume-slider-container|media-volume-sliderthumb|menulist|menulist-button|menulist-text|menulist-textfield|meter|progress-bar|progress-bar-value|push-button|radio|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbargripper-horizontal|scrollbargripper-vertical|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|searchfield-cancel-button|searchfield-decoration|searchfield-results-button|searchfield-results-decoration|slider-horizontal|slider-vertical|sliderthumb-horizontal|sliderthumb-vertical|square-button|textarea|textfield|-apple-pay-button","-webkit-border-before":"<'border-width'>||<'border-style'>||<color>","-webkit-border-before-color":"<color>","-webkit-border-before-style":"<'border-style'>","-webkit-border-before-width":"<'border-width'>","-webkit-box-reflect":"[above|below|right|left]? <length>? <image>?","-webkit-line-clamp":"none|<integer>","-webkit-mask":"[<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||[<visual-box>|border|padding|content|text]||[<visual-box>|border|padding|content]]#","-webkit-mask-attachment":"<attachment>#","-webkit-mask-clip":"[<coord-box>|no-clip|border|padding|content|text]#","-webkit-mask-composite":"<composite-style>#","-webkit-mask-image":"<mask-reference>#","-webkit-mask-origin":"[<coord-box>|border|padding|content]#","-webkit-mask-position":"<position>#","-webkit-mask-position-x":"[<length-percentage>|left|center|right]#","-webkit-mask-position-y":"[<length-percentage>|top|center|bottom]#","-webkit-mask-repeat":"<repeat-style>#","-webkit-mask-repeat-x":"repeat|no-repeat|space|round","-webkit-mask-repeat-y":"repeat|no-repeat|space|round","-webkit-mask-size":"<bg-size>#","-webkit-overflow-scrolling":"auto|touch","-webkit-tap-highlight-color":"<color>","-webkit-text-fill-color":"<color>","-webkit-text-stroke":"<length>||<color>","-webkit-text-stroke-color":"<color>","-webkit-text-stroke-width":"<length>","-webkit-touch-callout":"default|none","-webkit-user-modify":"read-only|read-write|read-write-plaintext-only","-webkit-user-select":"auto|none|text|all","accent-color":"auto|<color>","align-content":"normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>","align-items":"normal|stretch|<baseline-position>|[<overflow-position>? <self-position>]|anchor-center","align-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>|anchor-center","align-tracks":"[normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>]#","alignment-baseline":"auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical",all:"initial|inherit|unset|revert|revert-layer","anchor-name":"none|<dashed-ident>#","anchor-scope":"none|all|<dashed-ident>#",animation:"<single-animation>#","animation-composition":"<single-animation-composition>#","animation-delay":"<time>#","animation-direction":"<single-animation-direction>#","animation-duration":"[auto|<time [0s,∞]>]#","animation-fill-mode":"<single-animation-fill-mode>#","animation-iteration-count":"<single-animation-iteration-count>#","animation-name":"[none|<keyframes-name>]#","animation-play-state":"<single-animation-play-state>#","animation-range":"[<'animation-range-start'> <'animation-range-end'>?]#","animation-range-end":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","animation-range-start":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","animation-timeline":"<single-animation-timeline>#","animation-timing-function":"<easing-function>#","animation-trigger":"[none|[<dashed-ident> <animation-action>+]+]#",appearance:"none|auto|<compat-auto>|<compat-special>","aspect-ratio":"auto||<ratio>","backdrop-filter":"none|<filter-value-list>","backface-visibility":"visible|hidden",background:"<bg-layer>#? , <final-bg-layer>","background-attachment":"<attachment>#","background-blend-mode":"<blend-mode>#","background-clip":"<bg-clip>#","background-color":"<color>","background-image":"<bg-image>#","background-origin":"<visual-box>#","background-position":"<bg-position>#","background-position-x":"[center|[[left|right|x-start|x-end]? <length-percentage>?]!]#","background-position-y":"[center|[[top|bottom|y-start|y-end]? <length-percentage>?]!]#","background-repeat":"<repeat-style>#","background-size":"<bg-size>#","baseline-shift":"baseline|sub|super|<svg-length>","baseline-source":"auto|first|last","block-size":"<'width'>",border:"<line-width>||<line-style>||<color>","border-block":"<'border-block-start'>","border-block-color":"<'border-top-color'>{1,2}","border-block-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-end-color":"<'border-top-color'>","border-block-end-style":"<'border-top-style'>","border-block-end-width":"<'border-top-width'>","border-block-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-start-color":"<'border-top-color'>","border-block-start-style":"<'border-top-style'>","border-block-start-width":"<'border-top-width'>","border-block-style":"<'border-top-style'>{1,2}","border-block-width":"<'border-top-width'>{1,2}","border-bottom":"<line-width>||<line-style>||<color>","border-bottom-color":"<'border-top-color'>","border-bottom-left-radius":"<length-percentage [0,∞]>{1,2}","border-bottom-right-radius":"<length-percentage [0,∞]>{1,2}","border-bottom-style":"<line-style>","border-bottom-width":"<line-width>","border-collapse":"separate|collapse","border-color":"<color>{1,4}","border-end-end-radius":"<'border-top-left-radius'>","border-end-start-radius":"<'border-top-left-radius'>","border-image":"<'border-image-source'>||<'border-image-slice'> [/ <'border-image-width'>|/ <'border-image-width'>? / <'border-image-outset'>]?||<'border-image-repeat'>","border-image-outset":"[<length [0,∞]>|<number [0,∞]>]{1,4}","border-image-repeat":"[stretch|repeat|round|space]{1,2}","border-image-slice":"[<number [0,∞]>|<percentage [0,∞]>]{1,4}&&fill?","border-image-source":"none|<image>","border-image-width":"[<length-percentage [0,∞]>|<number [0,∞]>|auto]{1,4}","border-inline":"<'border-block-start'>","border-inline-color":"<'border-top-color'>{1,2}","border-inline-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-end-color":"<'border-top-color'>","border-inline-end-style":"<'border-top-style'>","border-inline-end-width":"<'border-top-width'>","border-inline-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-start-color":"<'border-top-color'>","border-inline-start-style":"<'border-top-style'>","border-inline-start-width":"<'border-top-width'>","border-inline-style":"<'border-top-style'>{1,2}","border-inline-width":"<'border-top-width'>{1,2}","border-left":"<line-width>||<line-style>||<color>","border-left-color":"<color>","border-left-style":"<line-style>","border-left-width":"<line-width>","border-radius":"<length-percentage [0,∞]>{1,4} [/ <length-percentage [0,∞]>{1,4}]?","border-right":"<line-width>||<line-style>||<color>","border-right-color":"<color>","border-right-style":"<line-style>","border-right-width":"<line-width>","border-spacing":"<length>{1,2}","border-start-end-radius":"<'border-top-left-radius'>","border-start-start-radius":"<'border-top-left-radius'>","border-style":"<line-style>{1,4}","border-top":"<line-width>||<line-style>||<color>","border-top-color":"<color>","border-top-left-radius":"<length-percentage [0,∞]>{1,2}","border-top-right-radius":"<length-percentage [0,∞]>{1,2}","border-top-style":"<line-style>","border-top-width":"<line-width>","border-width":"<line-width>{1,4}",bottom:"auto|<length-percentage>|<anchor()>|<anchor-size()>","box-align":"start|center|end|baseline|stretch","box-decoration-break":"slice|clone","box-direction":"normal|reverse|inherit","box-flex":"<number>","box-flex-group":"<integer>","box-lines":"single|multiple","box-ordinal-group":"<integer>","box-orient":"horizontal|vertical|inline-axis|block-axis|inherit","box-pack":"start|center|end|justify","box-shadow":"none|<shadow>#","box-sizing":"content-box|border-box","break-after":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-before":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-inside":"auto|avoid|avoid-page|avoid-column|avoid-region","caption-side":"top|bottom",caret:"<'caret-color'>||<'caret-animation'>||<'caret-shape'>","caret-animation":"auto|manual","caret-color":"auto|<color>","caret-shape":"auto|bar|block|underscore",clear:"none|left|right|both|inline-start|inline-end",clip:"<shape>|auto","clip-path":"<clip-source>|[<basic-shape>||<geometry-box>]|none","clip-rule":"nonzero|evenodd",color:"<color>","color-interpolation-filters":"auto|sRGB|linearRGB","color-scheme":"normal|[light|dark|<custom-ident>]+&&only?","column-count":"<integer>|auto","column-fill":"auto|balance","column-gap":"normal|<length-percentage>","column-height":"auto|<length [0,∞]>","column-rule":"<'column-rule-width'>||<'column-rule-style'>||<'column-rule-color'>","column-rule-color":"<color>","column-rule-style":"<'border-style'>","column-rule-width":"<'border-width'>","column-span":"none|all","column-width":"auto|<length [0,∞]>","column-wrap":"auto|nowrap|wrap",columns:"[<'column-width'>||<'column-count'>] [/ <'column-height'>]?",contain:"none|strict|content|[[size||inline-size]||layout||style||paint]","contain-intrinsic-block-size":"auto? [none|<length>]","contain-intrinsic-height":"auto? [none|<length>]","contain-intrinsic-inline-size":"auto? [none|<length>]","contain-intrinsic-size":"[auto? [none|<length>]]{1,2}","contain-intrinsic-width":"auto? [none|<length>]",container:"<'container-name'> [/ <'container-type'>]?","container-name":"none|<custom-ident>+","container-type":"normal||[size|inline-size]",content:"normal|none|[<content-replacement>|<content-list>] [/ [<string>|<counter>|<attr()>]+]?","content-visibility":"visible|auto|hidden","corner-block-end-shape":"<corner-shape-value>{1,2}","corner-block-start-shape":"<corner-shape-value>{1,2}","corner-bottom-shape":"<corner-shape-value>{1,2}","corner-bottom-left-shape":"<corner-shape-value>","corner-bottom-right-shape":"<corner-shape-value>","corner-end-end-shape":"<corner-shape-value>","corner-end-start-shape":"<corner-shape-value>","corner-inline-end-shape":"<corner-shape-value>{1,2}","corner-inline-start-shape":"<corner-shape-value>{1,2}","corner-left-shape":"<corner-shape-value>{1,2}","corner-right-shape":"<corner-shape-value>{1,2}","corner-shape":"<corner-shape-value>{1,4}","corner-start-start-shape":"<corner-shape-value>","corner-start-end-shape":"<corner-shape-value>","corner-top-shape":"<corner-shape-value>{1,2}","corner-top-left-shape":"<corner-shape-value>","corner-top-right-shape":"<corner-shape-value>","counter-increment":"[<counter-name> <integer>?]+|none","counter-reset":"[<counter-name> <integer>?|<reversed-counter-name> <integer>?]+|none","counter-set":"[<counter-name> <integer>?]+|none",cursor:"[[<url> [<x> <y>]? ,]* [auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing|hand|-webkit-grab|-webkit-grabbing|-webkit-zoom-in|-webkit-zoom-out|-moz-grab|-moz-grabbing|-moz-zoom-in|-moz-zoom-out]]",cx:"<length>|<percentage>",cy:"<length>|<percentage>",d:"none|path( <string> )",direction:"ltr|rtl",display:"[<display-outside>||<display-inside>]|<display-listitem>|<display-internal>|<display-box>|<display-legacy>|<-non-standard-display>","dominant-baseline":"auto|use-script|no-change|reset-size|ideographic|alphabetic|hanging|mathematical|central|middle|text-after-edge|text-before-edge","dynamic-range-limit":"standard|no-limit|constrained|<dynamic-range-limit-mix()>","empty-cells":"show|hide","field-sizing":"content|fixed",fill:"<paint>","fill-opacity":"<number-zero-one>|<percentage>","fill-rule":"nonzero|evenodd",filter:"none|<filter-value-list>|<-ms-filter-function-list>",flex:"none|[<'flex-grow'> <'flex-shrink'>?||<'flex-basis'>]","flex-basis":"content|<'width'>","flex-direction":"row|row-reverse|column|column-reverse","flex-flow":"<'flex-direction'>||<'flex-wrap'>","flex-grow":"<number>","flex-shrink":"<number>","flex-wrap":"nowrap|wrap|wrap-reverse",float:"left|right|none|inline-start|inline-end","flood-color":"<color>","flood-opacity":"<'opacity'>",font:"[[<'font-style'>||<font-variant-css2>||<'font-weight'>||<font-width-css3>]? <'font-size'> [/ <'line-height'>]? <'font-family'>#]|<system-family-name>|<-non-standard-font>","font-family":"[<family-name>|<generic-family>]#","font-feature-settings":"normal|<feature-tag-value>#","font-kerning":"auto|normal|none","font-language-override":"normal|<string>","font-optical-sizing":"auto|none","font-palette":"normal|light|dark|<palette-identifier>|<palette-mix()>","font-size":"<absolute-size>|<relative-size>|<length-percentage [0,∞]>|math","font-size-adjust":"none|[ex-height|cap-height|ch-width|ic-width|ic-height]? [from-font|<number>]","font-smooth":"auto|never|always|<absolute-size>|<length>","font-stretch":"<font-stretch-absolute>","font-style":"normal|italic|oblique <angle>?","font-synthesis":"none|[weight||style||small-caps||position]","font-synthesis-position":"auto|none","font-synthesis-small-caps":"auto|none","font-synthesis-style":"auto|none","font-synthesis-weight":"auto|none","font-variant":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-alternates":"normal|[stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )]","font-variant-caps":"normal|small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps","font-variant-east-asian":"normal|[<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-emoji":"normal|text|emoji|unicode","font-variant-ligatures":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>]","font-variant-numeric":"normal|[<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero]","font-variant-position":"normal|sub|super","font-variation-settings":"normal|[<string> <number>]#","font-weight":"<font-weight-absolute>|bolder|lighter","font-width":"normal|<percentage [0,∞]>|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded","forced-color-adjust":"auto|none|preserve-parent-color",gap:"<'row-gap'> <'column-gap'>?",grid:"<'grid-template'>|<'grid-template-rows'> / [auto-flow&&dense?] <'grid-auto-columns'>?|[auto-flow&&dense?] <'grid-auto-rows'>? / <'grid-template-columns'>","grid-area":"<grid-line> [/ <grid-line>]{0,3}","grid-auto-columns":"<track-size>+","grid-auto-flow":"[row|column]||dense","grid-auto-rows":"<track-size>+","grid-column":"<grid-line> [/ <grid-line>]?","grid-column-end":"<grid-line>","grid-column-gap":"<length-percentage>","grid-column-start":"<grid-line>","grid-gap":"<'grid-row-gap'> <'grid-column-gap'>?","grid-row":"<grid-line> [/ <grid-line>]?","grid-row-end":"<grid-line>","grid-row-gap":"<length-percentage>","grid-row-start":"<grid-line>","grid-template":"none|[<'grid-template-rows'> / <'grid-template-columns'>]|[<line-names>? <string> <track-size>? <line-names>?]+ [/ <explicit-track-list>]?","grid-template-areas":"none|<string>+","grid-template-columns":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","grid-template-rows":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","hanging-punctuation":"none|[first||[force-end|allow-end]||last]",height:"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","hyphenate-character":"auto|<string>","hyphenate-limit-chars":"[auto|<integer>]{1,3}",hyphens:"none|manual|auto","image-orientation":"from-image|<angle>|[<angle>? flip]","image-rendering":"auto|crisp-edges|pixelated|smooth|optimizeSpeed|optimizeQuality|<-non-standard-image-rendering>","image-resolution":"[from-image||<resolution>]&&snap?","ime-mode":"auto|normal|active|inactive|disabled","initial-letter":"normal|[<number> <integer>?]","initial-letter-align":"[auto|alphabetic|hanging|ideographic]","inline-size":"<'width'>",inset:"<'top'>{1,4}","inset-block":"<'top'>{1,2}","inset-block-end":"<'top'>","inset-block-start":"<'top'>","inset-inline":"<'top'>{1,2}","inset-inline-end":"<'top'>","inset-inline-start":"<'top'>","interpolate-size":"numeric-only|allow-keywords",isolation:"auto|isolate",interactivity:"auto|inert","interest-delay":"<'interest-delay-start'>{1,2}","interest-delay-end":"normal|<time>","interest-delay-start":"normal|<time>","justify-content":"normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]","justify-items":"normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|legacy|legacy&&[left|right|center]|anchor-center","justify-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|anchor-center","justify-tracks":"[normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]]#",left:"auto|<length-percentage>|<anchor()>|<anchor-size()>","letter-spacing":"normal|<length-percentage>","lighting-color":"<color>","line-break":"auto|loose|normal|strict|anywhere","line-clamp":"none|<integer>","line-height":"normal|<number>|<length>|<percentage>","line-height-step":"<length>","list-style":"<'list-style-type'>||<'list-style-position'>||<'list-style-image'>","list-style-image":"<image>|none","list-style-position":"inside|outside","list-style-type":"<counter-style>|<string>|none",margin:"<'margin-top'>{1,4}","margin-block":"<'margin-top'>{1,2}","margin-block-end":"<'margin-top'>","margin-block-start":"<'margin-top'>","margin-bottom":"<length-percentage>|auto|<anchor-size()>","margin-inline":"<'margin-top'>{1,2}","margin-inline-end":"<'margin-top'>","margin-inline-start":"<'margin-top'>","margin-left":"<length-percentage>|auto|<anchor-size()>","margin-right":"<length-percentage>|auto|<anchor-size()>","margin-top":"<length-percentage>|auto|<anchor-size()>","margin-trim":"none|in-flow|all",marker:"none|<url>","marker-end":"none|<url>","marker-mid":"none|<url>","marker-start":"none|<url>",mask:"<mask-layer>#","mask-border":"<'mask-border-source'>||<'mask-border-slice'> [/ <'mask-border-width'>? [/ <'mask-border-outset'>]?]?||<'mask-border-repeat'>||<'mask-border-mode'>","mask-border-mode":"luminance|alpha","mask-border-outset":"[<length>|<number>]{1,4}","mask-border-repeat":"[stretch|repeat|round|space]{1,2}","mask-border-slice":"<number-percentage>{1,4} fill?","mask-border-source":"none|<image>","mask-border-width":"[<length-percentage>|<number>|auto]{1,4}","mask-clip":"[<coord-box>|no-clip]#","mask-composite":"<compositing-operator>#","mask-image":"<mask-reference>#","mask-mode":"<masking-mode>#","mask-origin":"<coord-box>#","mask-position":"<position>#","mask-repeat":"<repeat-style>#","mask-size":"<bg-size>#","mask-type":"luminance|alpha","masonry-auto-flow":"[pack|next]||[definite-first|ordered]","math-depth":"auto-add|add( <integer> )|<integer>","math-shift":"normal|compact","math-style":"normal|compact","max-block-size":"<'max-width'>","max-height":"none|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","max-inline-size":"<'max-width'>","max-lines":"none|<integer>","max-width":"none|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","min-block-size":"<'min-width'>","min-height":"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","min-inline-size":"<'min-width'>","min-width":"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","mix-blend-mode":"<blend-mode>|plus-darker|plus-lighter","object-fit":"fill|contain|cover|none|scale-down","object-position":"<position>","object-view-box":"none|<basic-shape-rect>",offset:"[<'offset-position'>? [<'offset-path'> [<'offset-distance'>||<'offset-rotate'>]?]?]! [/ <'offset-anchor'>]?","offset-anchor":"auto|<position>","offset-distance":"<length-percentage>","offset-path":"none|<offset-path>||<coord-box>","offset-position":"normal|auto|<position>","offset-rotate":"[auto|reverse]||<angle>",opacity:"<opacity-value>",order:"<integer>",orphans:"<integer>",outline:"<'outline-width'>||<'outline-style'>||<'outline-color'>","outline-color":"auto|<color>","outline-offset":"<length>","outline-style":"auto|<outline-line-style>","outline-width":"<line-width>",overflow:"[visible|hidden|clip|scroll|auto]{1,2}|<-non-standard-overflow>","overflow-anchor":"auto|none","overflow-block":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-clip-box":"padding-box|content-box","overflow-clip-margin":"<visual-box>||<length [0,∞]>","overflow-inline":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-wrap":"normal|break-word|anywhere","overflow-x":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-y":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>",overlay:"none|auto","overscroll-behavior":"[contain|none|auto]{1,2}","overscroll-behavior-block":"contain|none|auto","overscroll-behavior-inline":"contain|none|auto","overscroll-behavior-x":"contain|none|auto","overscroll-behavior-y":"contain|none|auto",padding:"<'padding-top'>{1,4}","padding-block":"<'padding-top'>{1,2}","padding-block-end":"<'padding-top'>","padding-block-start":"<'padding-top'>","padding-bottom":"<length-percentage [0,∞]>","padding-inline":"<'padding-top'>{1,2}","padding-inline-end":"<'padding-top'>","padding-inline-start":"<'padding-top'>","padding-left":"<length-percentage [0,∞]>","padding-right":"<length-percentage [0,∞]>","padding-top":"<length-percentage [0,∞]>",page:"auto|<custom-ident>","page-break-after":"auto|always|avoid|left|right|recto|verso","page-break-before":"auto|always|avoid|left|right|recto|verso","page-break-inside":"auto|avoid","paint-order":"normal|[fill||stroke||markers]",perspective:"none|<length>","perspective-origin":"<position>","place-content":"<'align-content'> <'justify-content'>?","place-items":"<'align-items'> <'justify-items'>?","place-self":"<'align-self'> <'justify-self'>?","pointer-events":"auto|none|visiblePainted|visibleFill|visibleStroke|visible|painted|fill|stroke|all|inherit",position:"static|relative|absolute|sticky|fixed|-webkit-sticky","position-anchor":"auto|none|<anchor-name>","position-area":"none|<position-area>","position-try":"<'position-try-order'>? <'position-try-fallbacks'>","position-try-fallbacks":"none|[[<dashed-ident>||<try-tactic>]|<'position-area'>]#","position-try-order":"normal|<try-size>","position-visibility":"always|[anchors-valid||anchors-visible||no-overflow]","print-color-adjust":"economy|exact",quotes:"none|auto|[<string> <string>]+",r:"<length>|<percentage>","reading-flow":"normal|source-order|flex-visual|flex-flow|grid-rows|grid-columns|grid-order","reading-order":"<integer>",resize:"none|both|horizontal|vertical|block|inline",right:"auto|<length-percentage>|<anchor()>|<anchor-size()>",rotate:"none|<angle>|[x|y|z|<number>{3}]&&<angle>","row-gap":"normal|<length-percentage>","ruby-align":"start|center|space-between|space-around","ruby-merge":"separate|collapse|auto","ruby-overhang":"auto|none","ruby-position":"[alternate||[over|under]]|inter-character",rx:"<length>|<percentage>",ry:"<length>|<percentage>",scale:"none|[<number>|<percentage>]{1,3}","scroll-behavior":"auto|smooth","scroll-initial-target":"none|nearest","scroll-margin":"<length>{1,4}","scroll-margin-block":"<length>{1,2}","scroll-margin-block-end":"<length>","scroll-margin-block-start":"<length>","scroll-margin-bottom":"<length>","scroll-margin-inline":"<length>{1,2}","scroll-margin-inline-end":"<length>","scroll-margin-inline-start":"<length>","scroll-margin-left":"<length>","scroll-margin-right":"<length>","scroll-margin-top":"<length>","scroll-marker-group":"none|before|after","scroll-padding":"[auto|<length-percentage>]{1,4}","scroll-padding-block":"[auto|<length-percentage>]{1,2}","scroll-padding-block-end":"auto|<length-percentage>","scroll-padding-block-start":"auto|<length-percentage>","scroll-padding-bottom":"auto|<length-percentage>","scroll-padding-inline":"[auto|<length-percentage>]{1,2}","scroll-padding-inline-end":"auto|<length-percentage>","scroll-padding-inline-start":"auto|<length-percentage>","scroll-padding-left":"auto|<length-percentage>","scroll-padding-right":"auto|<length-percentage>","scroll-padding-top":"auto|<length-percentage>","scroll-snap-align":"[none|start|end|center]{1,2}","scroll-snap-coordinate":"none|<position>#","scroll-snap-destination":"<position>","scroll-snap-points-x":"none|repeat( <length-percentage> )","scroll-snap-points-y":"none|repeat( <length-percentage> )","scroll-snap-stop":"normal|always","scroll-snap-type":"none|[x|y|block|inline|both] [mandatory|proximity]?","scroll-snap-type-x":"none|mandatory|proximity","scroll-snap-type-y":"none|mandatory|proximity","scroll-target-group":"none|auto","scroll-timeline":"[<'scroll-timeline-name'> <'scroll-timeline-axis'>?]#","scroll-timeline-axis":"[block|inline|x|y]#","scroll-timeline-name":"[none|<dashed-ident>]#","scrollbar-color":"auto|<color>{2}","scrollbar-gutter":"auto|stable&&both-edges?","scrollbar-width":"auto|thin|none","shape-image-threshold":"<opacity-value>","shape-margin":"<length-percentage>","shape-outside":"none|[<shape-box>||<basic-shape>]|<image>","shape-rendering":"auto|optimizeSpeed|crispEdges|geometricPrecision","speak-as":"normal|spell-out||digits||[literal-punctuation|no-punctuation]","stop-color":"<'color'>","stop-opacity":"<'opacity'>",stroke:"<paint>","stroke-color":"<color>","stroke-dasharray":"none|[<svg-length>+]#","stroke-dashoffset":"<svg-length>","stroke-linecap":"butt|round|square","stroke-linejoin":"miter|round|bevel","stroke-miterlimit":"<number-one-or-greater>","stroke-opacity":"<'opacity'>","stroke-width":"<svg-length>","tab-size":"<integer>|<length>","table-layout":"auto|fixed","text-align":"start|end|left|right|center|justify|match-parent","text-align-last":"auto|start|end|left|right|center|justify","text-anchor":"start|middle|end","text-autospace":"normal|<autospace>|auto","text-box":"normal|<'text-box-trim'>||<'text-box-edge'>","text-box-edge":"auto|<text-edge>","text-box-trim":"none|trim-start|trim-end|trim-both","text-combine-upright":"none|all|[digits <integer>?]","text-decoration":"<'text-decoration-line'>||<'text-decoration-style'>||<'text-decoration-color'>||<'text-decoration-thickness'>","text-decoration-color":"<color>","text-decoration-inset":"<length>{1,2}|auto","text-decoration-line":"none|[underline||overline||line-through||blink]|spelling-error|grammar-error","text-decoration-skip":"none|[objects||[spaces|[leading-spaces||trailing-spaces]]||edges||box-decoration]","text-decoration-skip-ink":"auto|all|none","text-decoration-style":"solid|double|dotted|dashed|wavy","text-decoration-thickness":"auto|from-font|<length>|<percentage>","text-emphasis":"<'text-emphasis-style'>||<'text-emphasis-color'>","text-emphasis-color":"<color>","text-emphasis-position":"auto|[over|under]&&[right|left]?","text-emphasis-style":"none|[[filled|open]||[dot|circle|double-circle|triangle|sesame]]|<string>","text-indent":"<length-percentage>&&hanging?&&each-line?","text-justify":"auto|inter-character|inter-word|none","text-orientation":"mixed|upright|sideways","text-overflow":"[clip|ellipsis|<string>]{1,2}","text-rendering":"auto|optimizeSpeed|optimizeLegibility|geometricPrecision","text-shadow":"none|<shadow-t>#","text-size-adjust":"none|auto|<percentage>","text-spacing-trim":"space-all|normal|space-first|trim-start","text-transform":"none|[capitalize|uppercase|lowercase]||full-width||full-size-kana|math-auto","text-underline-offset":"auto|<length>|<percentage>","text-underline-position":"auto|from-font|[under||[left|right]]","text-wrap":"<'text-wrap-mode'>||<'text-wrap-style'>","text-wrap-mode":"wrap|nowrap","text-wrap-style":"auto|balance|stable|pretty","timeline-scope":"none|<dashed-ident>#","timeline-trigger":"none|[<'timeline-trigger-name'> <'timeline-trigger-source'> <'timeline-trigger-range'> ['/' <'timeline-trigger-exit-range'>]?]#","timeline-trigger-name":"none|<dashed-ident>#","timeline-trigger-exit-range":"[<'timeline-trigger-exit-range-start'> <'timeline-trigger-exit-range-end'>?]#","timeline-trigger-exit-range-end":"[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-exit-range-start":"[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-range":"[<'timeline-trigger-range-start'> <'timeline-trigger-range-end'>?]#","timeline-trigger-range-end":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-range-start":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-source":"<single-animation-timeline>#",top:"auto|<length-percentage>|<anchor()>|<anchor-size()>","touch-action":"auto|none|[[pan-x|pan-left|pan-right]||[pan-y|pan-up|pan-down]||pinch-zoom]|manipulation",transform:"none|<transform-list>","transform-box":"content-box|border-box|fill-box|stroke-box|view-box","transform-origin":"[<length-percentage>|left|center|right|top|bottom]|[[<length-percentage>|left|center|right]&&[<length-percentage>|top|center|bottom]] <length>?","transform-style":"flat|preserve-3d",transition:"<single-transition>#","transition-behavior":"<transition-behavior-value>#","transition-delay":"<time>#","transition-duration":"<time>#","transition-property":"none|<single-transition-property>#","transition-timing-function":"<easing-function>#",translate:"none|<length-percentage> [<length-percentage> <length>?]?","trigger-scope":"none|all|<dashed-ident>#","unicode-bidi":"normal|embed|isolate|bidi-override|isolate-override|plaintext|-moz-isolate|-moz-isolate-override|-moz-plaintext|-webkit-isolate|-webkit-isolate-override|-webkit-plaintext","user-select":"auto|text|none|all","vector-effect":"none|non-scaling-stroke|non-scaling-size|non-rotation|fixed-position","vertical-align":"baseline|sub|super|text-top|text-bottom|middle|top|bottom|<percentage>|<length>","view-timeline":"[<'view-timeline-name'> [<'view-timeline-axis'>||<'view-timeline-inset'>]?]#","view-timeline-axis":"[block|inline|x|y]#","view-timeline-inset":"[[auto|<length-percentage>]{1,2}]#","view-timeline-name":"[none|<dashed-ident>]#","view-transition-class":"none|<custom-ident>+","view-transition-name":"none|<custom-ident>|match-element",visibility:"visible|hidden|collapse","white-space":"normal|pre|pre-wrap|pre-line|<'white-space-collapse'>||<'text-wrap-mode'>","white-space-collapse":"collapse|preserve|preserve-breaks|preserve-spaces|break-spaces",widows:"<integer>",width:"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","will-change":"auto|<animateable-feature>#","word-break":"normal|break-all|keep-all|break-word|auto-phrase","word-spacing":"normal|<length>","word-wrap":"normal|break-word","writing-mode":"horizontal-tb|vertical-rl|vertical-lr|sideways-rl|sideways-lr|<svg-writing-mode>",x:"<length>|<percentage>",y:"<length>|<percentage>","z-index":"auto|<integer>",zoom:"normal|reset|<number [0,∞]>||<percentage [0,∞]>","-moz-background-clip":"padding|border","-moz-border-radius-bottomleft":"<'border-bottom-left-radius'>","-moz-border-radius-bottomright":"<'border-bottom-right-radius'>","-moz-border-radius-topleft":"<'border-top-left-radius'>","-moz-border-radius-topright":"<'border-bottom-right-radius'>","-moz-control-character-visibility":"visible|hidden","-moz-osx-font-smoothing":"auto|grayscale","-moz-user-select":"none|text|all|-moz-none","-ms-flex-align":"start|end|center|baseline|stretch","-ms-flex-item-align":"auto|start|end|center|baseline|stretch","-ms-flex-line-pack":"start|end|center|justify|distribute|stretch","-ms-flex-negative":"<'flex-shrink'>","-ms-flex-pack":"start|end|center|justify|distribute","-ms-flex-order":"<integer>","-ms-flex-positive":"<'flex-grow'>","-ms-flex-preferred-size":"<'flex-basis'>","-ms-interpolation-mode":"nearest-neighbor|bicubic","-ms-grid-column-align":"start|end|center|stretch","-ms-grid-row-align":"start|end|center|stretch","-ms-hyphenate-limit-last":"none|always|column|page|spread","-webkit-background-clip":"[<visual-box>|border|padding|content|text]#","-webkit-column-break-after":"always|auto|avoid","-webkit-column-break-before":"always|auto|avoid","-webkit-column-break-inside":"always|auto|avoid","-webkit-font-smoothing":"auto|none|antialiased|subpixel-antialiased","-webkit-mask-box-image":"[<url>|<gradient>|none] [<length-percentage>{4} <-webkit-mask-box-repeat>{2}]?","-webkit-print-color-adjust":"economy|exact","-webkit-text-security":"none|circle|disc|square","-webkit-user-drag":"none|element|auto",behavior:"<url>+",cue:"<'cue-before'> <'cue-after'>?","cue-after":"<url> <decibel>?|none","cue-before":"<url> <decibel>?|none","glyph-orientation-horizontal":"<angle>","glyph-orientation-vertical":"<angle>",kerning:"auto|<svg-length>",pause:"<'pause-before'> <'pause-after'>?","pause-after":"<time>|none|x-weak|weak|medium|strong|x-strong","pause-before":"<time>|none|x-weak|weak|medium|strong|x-strong","position-try-options":"<'position-try-fallbacks'>",rest:"<'rest-before'> <'rest-after'>?","rest-after":"<time>|none|x-weak|weak|medium|strong|x-strong","rest-before":"<time>|none|x-weak|weak|medium|strong|x-strong",speak:"auto|never|always","voice-balance":"<number>|left|center|right|leftwards|rightwards","voice-duration":"auto|<time>","voice-family":"[[<family-name>|<generic-voice>] ,]* [<family-name>|<generic-voice>]|preserve","voice-pitch":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-range":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-rate":"[normal|x-slow|slow|medium|fast|x-fast]||<percentage>","voice-stress":"normal|strong|moderate|none|reduced","voice-volume":"silent|[[x-soft|soft|medium|loud|x-loud]||<decibel>]","white-space-trim":"none|discard-before||discard-after||discard-inner"},atrules:{charset:{prelude:"<string>",descriptors:null},"counter-style":{prelude:"<counter-style-name>",descriptors:{"additive-symbols":"[<integer [0,∞]>&&<symbol>]#",fallback:"<counter-style-name>",negative:"<symbol> <symbol>?",pad:"<integer [0,∞]>&&<symbol>",prefix:"<symbol>",range:"[[<integer>|infinite]{2}]#|auto","speak-as":"auto|bullets|numbers|words|spell-out|<counter-style-name>",suffix:"<symbol>",symbols:"<symbol>+",system:"cyclic|numeric|alphabetic|symbolic|additive|[fixed <integer>?]|[extends <counter-style-name>]"}},container:{prelude:"[<container-name>]? <container-condition>",descriptors:null},document:{prelude:"[<url>|url-prefix( <string> )|domain( <string> )|media-document( <string> )|regexp( <string> )]#",descriptors:null},"font-face":{prelude:null,descriptors:{"ascent-override":"normal|<percentage>","descent-override":"normal|<percentage>","font-display":"auto|block|swap|fallback|optional","font-family":"<family-name>","font-feature-settings":"normal|<feature-tag-value>#","font-stretch":"<font-stretch-absolute>{1,2}","font-style":"normal|italic|oblique <angle>{0,2}","font-variation-settings":"normal|[<string> <number>]#","font-weight":"<font-weight-absolute>{1,2}","line-gap-override":"normal|<percentage>","size-adjust":"<percentage>",src:"[<url> [format( <string># )]?|local( <family-name> )]#","unicode-range":"<urange>#"}},"font-feature-values":{prelude:"<family-name>#",descriptors:null},"font-palette-values":{prelude:"<dashed-ident>",descriptors:{"base-palette":"light|dark|<integer [0,∞]>","font-family":"<family-name>#","override-colors":"[<integer [0,∞]> <color>]#"}},import:{prelude:"[<string>|<url>] [layer|layer( <layer-name> )]? [supports( [<supports-condition>|<declaration>] )]? <media-query-list>?",descriptors:null},keyframes:{prelude:"<keyframes-name>",descriptors:null},layer:{prelude:"[<layer-name>#|<layer-name>?]",descriptors:null},media:{prelude:"<media-query-list>",descriptors:null},namespace:{prelude:"<namespace-prefix>? [<string>|<url>]",descriptors:null},page:{prelude:"<page-selector-list>",descriptors:{bleed:"auto|<length>",marks:"none|[crop||cross]","page-orientation":"upright|rotate-left|rotate-right",size:"<length [0,∞]>{1,2}|auto|[<page-size>||[portrait|landscape]]"}},"position-try":{prelude:"<dashed-ident>",descriptors:{top:"<'top'>",left:"<'left'>",bottom:"<'bottom'>",right:"<'right'>","inset-block-start":"<'inset-block-start'>","inset-block-end":"<'inset-block-end'>","inset-inline-start":"<'inset-inline-start'>","inset-inline-end":"<'inset-inline-end'>","inset-block":"<'inset-block'>","inset-inline":"<'inset-inline'>",inset:"<'inset'>","margin-top":"<'margin-top'>","margin-left":"<'margin-left'>","margin-bottom":"<'margin-bottom'>","margin-right":"<'margin-right'>","margin-block-start":"<'margin-block-start'>","margin-block-end":"<'margin-block-end'>","margin-inline-start":"<'margin-inline-start'>","margin-inline-end":"<'margin-inline-end'>",margin:"<'margin'>","margin-block":"<'margin-block'>","margin-inline":"<'margin-inline'>",width:"<'width'>",height:"<'height'>","min-width":"<'min-width'>","min-height":"<'min-height'>","max-width":"<'max-width'>","max-height":"<'max-height'>","block-size":"<'block-size'>","inline-size":"<'inline-size'>","min-block-size":"<'min-block-size'>","min-inline-size":"<'min-inline-size'>","max-block-size":"<'max-block-size'>","max-inline-size":"<'max-inline-size'>","align-self":"<'align-self'>|anchor-center","justify-self":"<'justify-self'>|anchor-center"}},property:{prelude:"<custom-property-name>",descriptors:{inherits:"true|false","initial-value":"<declaration-value>?",syntax:"<string>"}},scope:{prelude:"[( <scope-start> )]? [to ( <scope-end> )]?",descriptors:null},"starting-style":{prelude:null,descriptors:null},supports:{prelude:"<supports-condition>",descriptors:null},"view-transition":{prelude:null,descriptors:{navigation:"auto|none",types:"none|<custom-ident>+"}},"font-features-values":{prelude:"[<string>|<custom-ident>]+",descriptors:{"font-display":"auto|block|swap|fallback|optional"}}}}}),Ej={};A(Ej,{generate:()=>zW,name:()=>Ij,parse:()=>Pj,structure:()=>Oj});function tm(e,t){let r=this.tokenStart+e,n=this.charCodeAt(r);for((n===rr||n===Pt)&&(t&&this.error("Number sign is not allowed"),r++);r<this.tokenEnd;r++)pt(this.charCodeAt(r))||this.error("Integer is expected",r)}function Ai(e){return tm.call(this,0,e)}function Ur(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let r="";switch(t){case Pc:r="N is expected";break;case Pt:r="HyphenMinus is expected";break}this.error(r,this.tokenStart+e)}}function Jf(){let e=0,t=0,r=this.tokenType;for(;r===13||r===25;)r=this.lookupType(++e);if(r!==10)if(this.isDelim(rr,e)||this.isDelim(Pt,e)){t=this.isDelim(rr,e)?rr:Pt;do r=this.lookupType(++e);while(r===13||r===25);r!==10&&(this.skip(e),Ai.call(this,Yr))}else return null;return e>0&&this.skip(e),t===0&&(r=this.charCodeAt(this.tokenStart),r!==rr&&r!==Pt&&this.error("Number sign is expected")),Ai.call(this,t!==0),t===Pt?"-"+this.consume(10):this.consume(10)}function Pj(){let e=this.tokenStart,t=null,r=null;if(this.tokenType===10)Ai.call(this,jj),r=this.consume(10);else if(this.tokenType===1&&this.cmpChar(this.tokenStart,Pt))switch(t="-1",Ur.call(this,1,Pc),this.tokenEnd-this.tokenStart){case 2:this.next(),r=Jf.call(this);break;case 3:Ur.call(this,2,Pt),this.next(),this.skipSC(),Ai.call(this,Yr),r="-"+this.consume(10);break;default:Ur.call(this,2,Pt),tm.call(this,3,Yr),this.next(),r=this.substrToCursor(e+2)}else if(this.tokenType===1||this.isDelim(rr)&&this.lookupType(1)===1){let n=0;switch(t="1",this.isDelim(rr)&&(n=1,this.next()),Ur.call(this,0,Pc),this.tokenEnd-this.tokenStart){case 1:this.next(),r=Jf.call(this);break;case 2:Ur.call(this,1,Pt),this.next(),this.skipSC(),Ai.call(this,Yr),r="-"+this.consume(10);break;default:Ur.call(this,1,Pt),tm.call(this,2,Yr),this.next(),r=this.substrToCursor(e+n+1)}}else if(this.tokenType===12){let n=this.charCodeAt(this.tokenStart),i=n===rr||n===Pt,o=this.tokenStart+i;for(;o<this.tokenEnd&&pt(this.charCodeAt(o));o++);o===this.tokenStart+i&&this.error("Integer is expected",this.tokenStart+i),Ur.call(this,o-this.tokenStart,Pc),t=this.substring(e,o),o+1===this.tokenEnd?(this.next(),r=Jf.call(this)):(Ur.call(this,o-this.tokenStart+1,Pt),o+2===this.tokenEnd?(this.next(),this.skipSC(),Ai.call(this,Yr),r="-"+this.consume(10)):(tm.call(this,o-this.tokenStart+2,Yr),this.next(),r=this.substrToCursor(o+1)))}else this.error();return t!==null&&t.charCodeAt(0)===rr&&(t=t.substr(1)),r!==null&&r.charCodeAt(0)===rr&&(r=r.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:r}}function zW(e){if(e.a){let t=e.a==="+1"&&"n"||e.a==="1"&&"n"||e.a==="-1"&&"-n"||e.a+"n";if(e.b){let r=e.b[0]==="-"||e.b[0]==="+"?e.b:"+"+e.b;this.tokenize(t+r)}else this.tokenize(t)}else this.tokenize(e.b)}var rr,Pt,Pc,Yr,jj,Ij,Oj,Tj=y(()=>{mr(),rr=43,Pt=45,Pc=110,Yr=!0,jj=!1,Ij="AnPlusB",Oj={a:[String,null],b:[String,null]}}),Dj={};A(Dj,{generate:()=>NW,name:()=>Fj,parse:()=>Lj,structure:()=>Rj,walkContext:()=>Mj});function j0(){return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function AW(){for(let e=1,t;t=this.lookupType(e);e++){if(t===24)return!0;if(t===23||t===3)return!1}return!1}function Lj(e=!1){let t=this.tokenStart,r,n,i=null,o=null;switch(this.eat(3),r=this.substrToCursor(t+1),n=r.toLowerCase(),this.skipSC(),this.eof===!1&&this.tokenType!==23&&this.tokenType!==17&&(this.parseAtrulePrelude?i=this.parseWithFallback(this.AtrulePrelude.bind(this,r,e),j0):i=j0.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case 17:this.next();break;case 23:hasOwnProperty.call(this.atrule,n)&&typeof this.atrule[n].block=="function"?o=this.atrule[n].block.call(this,e):o=this.Block(AW.call(this));break}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:r,prelude:i,block:o}}function NW(e){this.token(3,"@"+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(17,";")}var Fj,Mj,Rj,$j=y(()=>{Fj="Atrule",Mj="atrule",Rj={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]}}),Bj={};A(Bj,{generate:()=>EW,name:()=>Wj,parse:()=>qj,structure:()=>Uj,walkContext:()=>_j});function qj(e){let t=null;return e!==null&&(e=e.toLowerCase()),this.skipSC(),hasOwnProperty.call(this.atrule,e)&&typeof this.atrule[e].prelude=="function"?t=this.atrule[e].prelude.call(this):t=this.readSequence(this.scope.AtrulePrelude),this.skipSC(),this.eof!==!0&&this.tokenType!==23&&this.tokenType!==17&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}function EW(e){this.children(e)}var Wj,_j,Uj,Vj=y(()=>{Wj="AtrulePrelude",_j="atrulePrelude",Uj={children:[[]]}}),Qj={};A(Qj,{generate:()=>IW,name:()=>Jj,parse:()=>Yj,structure:()=>Zj});function PW(){this.eof&&this.error("Unexpected end of input");let e=this.tokenStart,t=!1;return this.isDelim(dk)?(t=!0,this.next()):this.isDelim(Mm)||this.eat(1),this.isDelim(Mm)?this.charCodeAt(this.tokenStart+1)!==jc?(this.next(),this.eat(1)):t&&this.error("Identifier is expected",this.tokenEnd):t&&this.error("Vertical line is expected"),{type:"Identifier",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function jW(){let e=this.tokenStart,t=this.charCodeAt(e);return t!==jc&&t!==Hj&&t!==Kj&&t!==Gj&&t!==dk&&t!==Mm&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==jc&&(this.isDelim(jc)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}function Yj(){let e=this.tokenStart,t,r=null,n=null,i=null;return this.eat(19),this.skipSC(),t=PW.call(this),this.skipSC(),this.tokenType!==20&&(this.tokenType!==1&&(r=jW.call(this),this.skipSC(),n=this.tokenType===5?this.String():this.Identifier(),this.skipSC()),this.tokenType===1&&(i=this.consume(1),this.skipSC())),this.eat(20),{type:"AttributeSelector",loc:this.getLocation(e,this.tokenStart),name:t,matcher:r,value:n,flags:i}}function IW(e){this.token(9,"["),this.node(e.name),e.matcher!==null&&(this.tokenize(e.matcher),this.node(e.value)),e.flags!==null&&this.token(1,e.flags),this.token(9,"]")}var Gj,dk,jc,Kj,Mm,Hj,Jj,Zj,Xj=y(()=>{Gj=36,dk=42,jc=61,Kj=94,Mm=124,Hj=126,Jj="AttributeSelector",Zj={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]}}),eI={};A(eI,{generate:()=>TW,name:()=>iI,parse:()=>rI,structure:()=>aI,walkContext:()=>oI});function tI(){return this.Raw(null,!0)}function I0(){return this.parseWithFallback(this.Rule,tI)}function O0(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function OW(){if(this.tokenType===17)return O0.call(this,this.tokenIndex);let e=this.parseWithFallback(this.Declaration,O0);return this.tokenType===17&&this.next(),e}function rI(e){let t=e?OW:I0,r=this.tokenStart,n=this.createList();this.eat(23);e:for(;!this.eof;)switch(this.tokenType){case 24:break e;case 13:case 25:this.next();break;case 3:n.push(this.parseWithFallback(this.Atrule.bind(this,e),tI));break;default:e&&this.isDelim(nI)?n.push(I0.call(this)):n.push(t.call(this))}return this.eof||this.eat(24),{type:"Block",loc:this.getLocation(r,this.tokenStart),children:n}}function TW(e){this.token(23,"{"),this.children(e,t=>{t.type==="Declaration"&&this.token(17,";")}),this.token(24,"}")}var nI,iI,oI,aI,sI=y(()=>{nI=38,iI="Block",oI="block",aI={children:[["Atrule","Rule","Declaration"]]}}),lI={};A(lI,{generate:()=>DW,name:()=>cI,parse:()=>uI,structure:()=>dI});function uI(e,t){let r=this.tokenStart,n=null;return this.eat(19),n=e.call(this,t),this.eof||this.eat(20),{type:"Brackets",loc:this.getLocation(r,this.tokenStart),children:n}}function DW(e){this.token(9,"["),this.children(e),this.token(9,"]")}var cI,dI,pI=y(()=>{cI="Brackets",dI={children:[[]]}}),mI={};A(mI,{generate:()=>LW,name:()=>fI,parse:()=>hI,structure:()=>gI});function hI(){let e=this.tokenStart;return this.eat(15),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function LW(){this.token(15,"-->")}var fI,gI,bI=y(()=>{fI="CDC",gI=[]}),vI={};A(vI,{generate:()=>FW,name:()=>wI,parse:()=>yI,structure:()=>kI});function yI(){let e=this.tokenStart;return this.eat(14),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function FW(){this.token(14,"<!--")}var wI,kI,xI=y(()=>{wI="CDO",kI=[]}),SI={};A(SI,{generate:()=>MW,name:()=>AI,parse:()=>CI,structure:()=>NI});function CI(){return this.eatDelim(zI),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(1)}}function MW(e){this.token(9,"."),this.token(1,e.name)}var zI,AI,NI,EI=y(()=>{zI=46,AI="ClassSelector",NI={name:String}}),PI={};A(PI,{generate:()=>RW,name:()=>DI,parse:()=>jI,structure:()=>LI});function jI(){let e=this.tokenStart,t;switch(this.tokenType){case 13:t=" ";break;case 9:switch(this.charCodeAt(this.tokenStart)){case OI:case II:case TI:this.next();break;case vy:this.next(),this.eatIdent("deep"),this.eatDelim(vy);break;default:this.error("Combinator is expected")}t=this.substrToCursor(e);break}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}}function RW(e){this.tokenize(e.name)}var II,vy,OI,TI,DI,LI,FI=y(()=>{II=43,vy=47,OI=62,TI=126,DI="Combinator",LI={name:String}}),MI={};A(MI,{generate:()=>$W,name:()=>qI,parse:()=>RI,structure:()=>WI});function RI(){let e=this.tokenStart,t=this.tokenEnd;return this.eat(25),t-e+2>=2&&this.charCodeAt(t-2)===$I&&this.charCodeAt(t-1)===BI&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function $W(e){this.token(25,"/*"+e.value+"*/")}var $I,BI,qI,WI,_I=y(()=>{$I=42,BI=47,qI="Comment",WI={value:String}}),UI={};A(UI,{generate:()=>BW,name:()=>YI,parse:()=>VI,structure:()=>GI});function T0(e){return this.lookupTypeNonSC(1)===1&&QI.has(this.lookupTypeNonSC(2))?this.Feature(e):this.FeatureRange(e)}function VI(e="media"){let t=this.createList();e:for(;!this.eof;)switch(this.tokenType){case 25:case 13:this.next();continue;case 1:t.push(this.Identifier());break;case 21:{let r=this.parseWithFallback(()=>KI[e].call(this,e),()=>null);r||(r=this.parseWithFallback(()=>{this.eat(21);let n=this.Condition(e);return this.eat(22),n},()=>this.GeneralEnclosed(e))),t.push(r);break}case 2:{let r=this.parseWithFallback(()=>this.FeatureFunction(e),()=>null);r||(r=this.GeneralEnclosed(e)),t.push(r);break}default:break e}return t.isEmpty&&this.error("Condition is expected"),{type:"Condition",loc:this.getLocationFromList(t),kind:e,children:t}}function BW(e){e.children.forEach(t=>{t.type==="Condition"?(this.token(21,"("),this.node(t),this.token(22,")")):this.node(t)})}var QI,YI,GI,KI,HI=y(()=>{QI=new Set([16,22,0]),YI="Condition",GI={kind:String,children:[["Identifier","Feature","FeatureFunction","FeatureRange","SupportsDeclaration"]]},KI={media:T0,container:T0,supports(){return this.SupportsDeclaration()}}}),JI={};A(JI,{generate:()=>UW,name:()=>iO,parse:()=>ZI,structure:()=>aO,walkContext:()=>oO});function qW(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!0)}function WW(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1)}function _W(){let e=this.tokenIndex,t=this.Value();return t.type!=="Raw"&&this.eof===!1&&this.tokenType!==17&&this.isDelim(pk)===!1&&this.isBalanceEdge(e)===!1&&this.error(),t}function ZI(){let e=this.tokenStart,t=this.tokenIndex,r=VW.call(this),n=tk(r),i=n?this.parseCustomProperty:this.parseValue,o=n?WW:qW,a=!1,s;this.skipSC(),this.eat(16);let l=this.tokenIndex;if(n||this.skipSC(),i?s=this.parseWithFallback(_W,o):s=o.call(this,this.tokenIndex),n&&s.type==="Value"&&s.children.isEmpty){for(let u=l-this.tokenIndex;u<=0;u++)if(this.lookupType(u)===13){s.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}return this.isDelim(pk)&&(a=QW.call(this),this.skipSC()),this.eof===!1&&this.tokenType!==17&&this.isBalanceEdge(t)===!1&&this.error(),{type:"Declaration",loc:this.getLocation(e,this.tokenStart),important:a,property:r,value:s}}function UW(e){this.token(1,e.property),this.token(16,":"),this.node(e.value),e.important&&(this.token(9,"!"),this.token(1,e.important===!0?"important":e.important))}function VW(){let e=this.tokenStart;if(this.tokenType===9)switch(this.charCodeAt(this.tokenStart)){case rO:case eO:case nO:case XI:case tO:this.next();break;case yy:this.next(),this.isDelim(yy)&&this.next();break}return this.tokenType===4?this.eat(4):this.eat(1),this.substrToCursor(e)}function QW(){this.eat(9),this.skipSC();let e=this.consume(1);return e==="important"?!0:e}var pk,XI,eO,tO,rO,nO,yy,iO,oO,aO,sO=y(()=>{rk(),pk=33,XI=35,eO=36,tO=38,rO=42,nO=43,yy=47,iO="Declaration",oO="declaration",aO={important:[Boolean,String],property:String,value:["Value","Raw"]}}),lO={};A(lO,{generate:()=>YW,name:()=>dO,parse:()=>uO,structure:()=>pO});function Zf(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function uO(){let e=this.createList();for(;!this.eof;)switch(this.tokenType){case 13:case 25:case 17:this.next();break;case 3:e.push(this.parseWithFallback(this.Atrule.bind(this,!0),Zf));break;default:this.isDelim(cO)?e.push(this.parseWithFallback(this.Rule,Zf)):e.push(this.parseWithFallback(this.Declaration,Zf))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function YW(e){this.children(e,t=>{t.type==="Declaration"&&this.token(17,";")})}var cO,dO,pO,mO=y(()=>{cO=38,dO="DeclarationList",pO={children:[["Declaration","Atrule","Rule"]]}}),hO={};A(hO,{generate:()=>GW,name:()=>gO,parse:()=>fO,structure:()=>bO});function fO(){let e=this.tokenStart,t=this.consumeNumber(12);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}function GW(e){this.token(12,e.value+e.unit)}var gO,bO,vO=y(()=>{gO="Dimension",bO={value:String,unit:String}}),yO={};A(yO,{generate:()=>KW,name:()=>xO,parse:()=>wO,structure:()=>SO});function wO(e){let t=this.tokenStart,r,n=null;if(this.eat(21),this.skipSC(),r=this.consume(1),this.skipSC(),this.tokenType!==22){switch(this.eat(16),this.skipSC(),this.tokenType){case 10:this.lookupNonWSType(1)===9?n=this.Ratio():n=this.Number();break;case 12:n=this.Dimension();break;case 1:n=this.Identifier();break;case 2:n=this.parseWithFallback(()=>{let i=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(kO)&&this.error(),i},()=>this.Ratio());break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eof||this.eat(22),{type:"Feature",loc:this.getLocation(t,this.tokenStart),kind:e,name:r,value:n}}function KW(e){this.token(21,"("),this.token(1,e.name),e.value!==null&&(this.token(16,":"),this.node(e.value)),this.token(22,")")}var kO,xO,SO,CO=y(()=>{kO=47,xO="Feature",SO={kind:String,name:String,value:["Identifier","Number","Dimension","Ratio","Function",null]}}),zO={};A(zO,{generate:()=>JW,name:()=>NO,parse:()=>AO,structure:()=>EO});function HW(e,t){let r=(this.features[e]||{})[t];return typeof r!="function"&&this.error(`Unknown feature ${t}()`),r}function AO(e="unknown"){let t=this.tokenStart,r=this.consumeFunctionName(),n=HW.call(this,e,r.toLowerCase());this.skipSC();let i=this.parseWithFallback(()=>{let o=this.tokenIndex,a=n.call(this);return this.eof===!1&&this.isBalanceEdge(o)===!1&&this.error(),a},()=>this.Raw(null,!1));return this.eof||this.eat(22),{type:"FeatureFunction",loc:this.getLocation(t,this.tokenStart),kind:e,feature:r,value:i}}function JW(e){this.token(2,e.feature+"("),this.node(e.value),this.token(22,")")}var NO,EO,PO=y(()=>{NO="FeatureFunction",EO={kind:String,feature:String,value:["Declaration","Selector"]}}),jO={};A(jO,{generate:()=>ZW,name:()=>DO,parse:()=>IO,structure:()=>LO});function Xf(){switch(this.skipSC(),this.tokenType){case 10:return this.isDelim(wy,this.lookupOffsetNonSC(1))?this.Ratio():this.Number();case 12:return this.Dimension();case 1:return this.Identifier();case 2:return this.parseWithFallback(()=>{let e=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(wy)&&this.error(),e},()=>this.Ratio());default:this.error("Number, dimension, ratio or identifier is expected")}}function D0(e){if(this.skipSC(),this.isDelim(OO)||this.isDelim(TO)){let t=this.source[this.tokenStart];return this.next(),this.isDelim(ky)?(this.next(),t+"="):t}if(this.isDelim(ky))return"=";this.error(`Expected ${e?'":", ':""}"<", ">", "=" or ")"`)}function IO(e="unknown"){let t=this.tokenStart;this.skipSC(),this.eat(21);let r=Xf.call(this),n=D0.call(this,r.type==="Identifier"),i=Xf.call(this),o=null,a=null;return this.lookupNonWSType(0)!==22&&(o=D0.call(this),a=Xf.call(this)),this.skipSC(),this.eat(22),{type:"FeatureRange",loc:this.getLocation(t,this.tokenStart),kind:e,left:r,leftComparison:n,middle:i,rightComparison:o,right:a}}function ZW(e){this.token(21,"("),this.node(e.left),this.tokenize(e.leftComparison),this.node(e.middle),e.right&&(this.tokenize(e.rightComparison),this.node(e.right)),this.token(22,")")}var wy,OO,ky,TO,DO,LO,FO=y(()=>{wy=47,OO=60,ky=61,TO=62,DO="FeatureRange",LO={kind:String,left:["Identifier","Number","Dimension","Ratio","Function"],leftComparison:String,middle:["Identifier","Number","Dimension","Ratio","Function"],rightComparison:[String,null],right:["Identifier","Number","Dimension","Ratio","Function",null]}}),MO={};A(MO,{generate:()=>XW,name:()=>$O,parse:()=>RO,structure:()=>qO,walkContext:()=>BO});function RO(e,t){let r=this.tokenStart,n=this.consumeFunctionName(),i=n.toLowerCase(),o;return o=t.hasOwnProperty(i)?t[i].call(this,t):e.call(this,t),this.eof||this.eat(22),{type:"Function",loc:this.getLocation(r,this.tokenStart),name:n,children:o}}function XW(e){this.token(2,e.name+"("),this.children(e),this.token(22,")")}var $O,BO,qO,WO=y(()=>{$O="Function",BO="function",qO={name:String,children:[[]]}}),_O={};A(_O,{generate:()=>e_,name:()=>VO,parse:()=>UO,structure:()=>QO});function UO(e){let t=this.tokenStart,r=null;this.tokenType===2?r=this.consumeFunctionName():this.eat(21);let n=this.parseWithFallback(()=>{let i=this.tokenIndex,o=this.readSequence(this.scope.Value);return this.eof===!1&&this.isBalanceEdge(i)===!1&&this.error(),o},()=>this.createSingleNodeList(this.Raw(null,!1)));return this.eof||this.eat(22),{type:"GeneralEnclosed",loc:this.getLocation(t,this.tokenStart),kind:e,function:r,children:n}}function e_(e){e.function?this.token(2,e.function+"("):this.token(21,"("),this.children(e),this.token(22,")")}var VO,QO,YO=y(()=>{VO="GeneralEnclosed",QO={kind:String,function:[String,null],children:[[]]}}),GO={};A(GO,{generate:()=>t_,name:()=>JO,parse:()=>KO,structure:()=>ZO,xxx:()=>HO});function KO(){let e=this.tokenStart;return this.eat(4),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function t_(e){this.token(4,"#"+e.value)}var HO,JO,ZO,XO=y(()=>{HO="XXX",JO="Hash",ZO={value:String}}),eT={};A(eT,{generate:()=>r_,name:()=>rT,parse:()=>tT,structure:()=>nT});function tT(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(1)}}function r_(e){this.token(1,e.name)}var rT,nT,iT=y(()=>{rT="Identifier",nT={name:String}}),oT={};A(oT,{generate:()=>n_,name:()=>sT,parse:()=>aT,structure:()=>lT});function aT(){let e=this.tokenStart;return this.eat(4),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function n_(e){this.token(9,"#"+e.name)}var sT,lT,uT=y(()=>{sT="IdSelector",lT={name:String}}),cT={};A(cT,{generate:()=>i_,name:()=>mT,parse:()=>dT,structure:()=>hT});function dT(){let e=this.tokenStart,t=this.consume(1);for(;this.isDelim(pT);)this.eat(9),t+="."+this.consume(1);return{type:"Layer",loc:this.getLocation(e,this.tokenStart),name:t}}function i_(e){this.tokenize(e.name)}var pT,mT,hT,fT=y(()=>{pT=46,mT="Layer",hT={name:String}}),gT={};A(gT,{generate:()=>o_,name:()=>vT,parse:()=>bT,structure:()=>yT});function bT(){let e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.Layer()),this.lookupTypeNonSC(0)===18);)this.skipSC(),this.next(),this.skipSC();return{type:"LayerList",loc:this.getLocationFromList(e),children:e}}function o_(e){this.children(e,()=>this.token(18,","))}var vT,yT,wT=y(()=>{vT="LayerList",yT={children:[["Layer"]]}}),kT={};A(kT,{generate:()=>a_,name:()=>ST,parse:()=>xT,structure:()=>CT});function xT(){let e=this.tokenStart,t=null,r=null,n=null;if(this.skipSC(),this.tokenType===1&&this.lookupTypeNonSC(1)!==21){let i=this.consume(1),o=i.toLowerCase();switch(o==="not"||o==="only"?(this.skipSC(),t=o,r=this.consume(1)):r=i,this.lookupTypeNonSC(0)){case 1:{this.skipSC(),this.eatIdent("and"),n=this.Condition("media");break}case 23:case 17:case 18:case 0:break;default:this.error("Identifier or parenthesis is expected")}}else switch(this.tokenType){case 1:case 21:case 2:{n=this.Condition("media");break}case 23:case 17:case 0:break;default:this.error("Identifier or parenthesis is expected")}return{type:"MediaQuery",loc:this.getLocation(e,this.tokenStart),modifier:t,mediaType:r,condition:n}}function a_(e){e.mediaType?(e.modifier&&this.token(1,e.modifier),this.token(1,e.mediaType),e.condition&&(this.token(1,"and"),this.node(e.condition))):e.condition&&this.node(e.condition)}var ST,CT,zT=y(()=>{ST="MediaQuery",CT={modifier:[String,null],mediaType:[String,null],condition:["Condition",null]}}),AT={};A(AT,{generate:()=>s_,name:()=>ET,parse:()=>NT,structure:()=>PT});function NT(){let e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===18);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}function s_(e){this.children(e,()=>this.token(18,","))}var ET,PT,jT=y(()=>{ET="MediaQueryList",PT={children:[["MediaQuery"]]}}),IT={};A(IT,{generate:()=>l_,name:()=>DT,parse:()=>OT,structure:()=>LT});function OT(){let e=this.tokenStart;return this.eatDelim(TT),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}function l_(){this.token(9,"&")}var TT,DT,LT,FT=y(()=>{TT=38,DT="NestingSelector",LT={}}),MT={};A(MT,{generate:()=>u_,name:()=>$T,parse:()=>RT,structure:()=>BT});function RT(){this.skipSC();let e=this.tokenStart,t=e,r=null,n;return this.lookupValue(0,"odd")||this.lookupValue(0,"even")?n=this.Identifier():n=this.AnPlusB(),t=this.tokenStart,this.skipSC(),this.lookupValue(0,"of")&&(this.next(),r=this.SelectorList(),t=this.tokenStart),{type:"Nth",loc:this.getLocation(e,t),nth:n,selector:r}}function u_(e){this.node(e.nth),e.selector!==null&&(this.token(1,"of"),this.node(e.selector))}var $T,BT,qT=y(()=>{$T="Nth",BT={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]}}),WT={};A(WT,{generate:()=>c_,name:()=>UT,parse:()=>_T,structure:()=>VT});function _T(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(10)}}function c_(e){this.token(10,e.value)}var UT,VT,QT=y(()=>{UT="Number",VT={value:String}}),YT={};A(YT,{generate:()=>d_,name:()=>KT,parse:()=>GT,structure:()=>HT});function GT(){let e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function d_(e){this.tokenize(e.value)}var KT,HT,JT=y(()=>{KT="Operator",HT={value:String}}),ZT={};A(ZT,{generate:()=>p_,name:()=>e4,parse:()=>XT,structure:()=>t4});function XT(e,t){let r=this.tokenStart,n=null;return this.eat(21),n=e.call(this,t),this.eof||this.eat(22),{type:"Parentheses",loc:this.getLocation(r,this.tokenStart),children:n}}function p_(e){this.token(21,"("),this.children(e),this.token(22,")")}var e4,t4,r4=y(()=>{e4="Parentheses",t4={children:[[]]}}),n4={};A(n4,{generate:()=>m_,name:()=>o4,parse:()=>i4,structure:()=>a4});function i4(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(11)}}function m_(e){this.token(11,e.value+"%")}var o4,a4,s4=y(()=>{o4="Percentage",a4={value:String}}),l4={};A(l4,{generate:()=>h_,name:()=>c4,parse:()=>u4,structure:()=>p4,walkContext:()=>d4});function u4(){let e=this.tokenStart,t=null,r,n;return this.eat(16),this.tokenType===2?(r=this.consumeFunctionName(),n=r.toLowerCase(),this.lookupNonWSType(0)==22?t=this.createList():hasOwnProperty.call(this.pseudo,n)?(this.skipSC(),t=this.pseudo[n].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(null,!1))),this.eat(22)):r=this.consume(1),{type:"PseudoClassSelector",loc:this.getLocation(e,this.tokenStart),name:r,children:t}}function h_(e){this.token(16,":"),e.children===null?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(22,")"))}var c4,d4,p4,m4=y(()=>{c4="PseudoClassSelector",d4="function",p4={name:String,children:[["Raw"],null]}}),h4={};A(h4,{generate:()=>f_,name:()=>g4,parse:()=>f4,structure:()=>v4,walkContext:()=>b4});function f4(){let e=this.tokenStart,t=null,r,n;return this.eat(16),this.eat(16),this.tokenType===2?(r=this.consumeFunctionName(),n=r.toLowerCase(),this.lookupNonWSType(0)==22?t=this.createList():hasOwnProperty.call(this.pseudo,n)?(this.skipSC(),t=this.pseudo[n].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(null,!1))),this.eat(22)):r=this.consume(1),{type:"PseudoElementSelector",loc:this.getLocation(e,this.tokenStart),name:r,children:t}}function f_(e){this.token(16,":"),this.token(16,":"),e.children===null?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(22,")"))}var g4,b4,v4,y4=y(()=>{g4="PseudoElementSelector",b4="function",v4={name:String,children:[["Raw"],null]}}),w4={};A(w4,{generate:()=>g_,name:()=>x4,parse:()=>k4,structure:()=>S4});function L0(){switch(this.skipSC(),this.tokenType){case 10:return this.Number();case 2:return this.Function(this.readSequence,this.scope.Value);default:this.error("Number of function is expected")}}function k4(){let e=this.tokenStart,t=L0.call(this),r=null;return this.skipSC(),this.isDelim(xy)&&(this.eatDelim(xy),r=L0.call(this)),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:r}}function g_(e){this.node(e.left),this.token(9,"/"),e.right?this.node(e.right):this.node(10,1)}var xy,x4,S4,C4=y(()=>{xy=47,x4="Ratio",S4={left:["Number","Function"],right:["Number","Function",null]}}),z4={};A(z4,{generate:()=>v_,name:()=>N4,parse:()=>A4,structure:()=>E4});function b_(){return this.tokenIndex>0&&this.lookupType(-1)===13?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}function A4(e,t){let r=this.getTokenStart(this.tokenIndex),n;return this.skipUntilBalanced(this.tokenIndex,e||this.consumeUntilBalanceEnd),t&&this.tokenStart>r?n=b_.call(this):n=this.tokenStart,{type:"Raw",loc:this.getLocation(r,n),value:this.substring(r,n)}}function v_(e){this.tokenize(e.value)}var N4,E4,P4=y(()=>{N4="Raw",E4={value:String}}),j4={};A(j4,{generate:()=>w_,name:()=>O4,parse:()=>I4,structure:()=>D4,walkContext:()=>T4});function F0(){return this.Raw(this.consumeUntilLeftCurlyBracket,!0)}function y_(){let e=this.SelectorList();return e.type!=="Raw"&&this.eof===!1&&this.tokenType!==23&&this.error(),e}function I4(){let e=this.tokenIndex,t=this.tokenStart,r,n;return this.parseRulePrelude?r=this.parseWithFallback(y_,F0):r=F0.call(this,e),n=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:r,block:n}}function w_(e){this.node(e.prelude),this.node(e.block)}var O4,T4,D4,L4=y(()=>{O4="Rule",T4="rule",D4={prelude:["SelectorList","Raw"],block:["Block"]}}),F4={};A(F4,{generate:()=>k_,name:()=>R4,parse:()=>M4,structure:()=>$4});function M4(){let e=null,t=null;this.skipSC();let r=this.tokenStart;return this.tokenType===21&&(this.next(),this.skipSC(),e=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(22)),this.lookupNonWSType(0)===1&&(this.skipSC(),this.eatIdent("to"),this.skipSC(),this.eat(21),this.skipSC(),t=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(22)),{type:"Scope",loc:this.getLocation(r,this.tokenStart),root:e,limit:t}}function k_(e){e.root&&(this.token(21,"("),this.node(e.root),this.token(22,")")),e.limit&&(this.token(1,"to"),this.token(21,"("),this.node(e.limit),this.token(22,")"))}var R4,$4,B4=y(()=>{R4="Scope",$4={root:["SelectorList","Raw",null],limit:["SelectorList","Raw",null]}}),q4={};A(q4,{generate:()=>x_,name:()=>_4,parse:()=>W4,structure:()=>U4});function W4(){let e=this.readSequence(this.scope.Selector);return this.getFirstListNode(e)===null&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(e),children:e}}function x_(e){this.children(e)}var _4,U4,V4=y(()=>{_4="Selector",U4={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator"]]}}),Q4={};A(Q4,{generate:()=>S_,name:()=>G4,parse:()=>Y4,structure:()=>H4,walkContext:()=>K4});function Y4(){let e=this.createList();for(;!this.eof;){if(e.push(this.Selector()),this.tokenType===18){this.next();continue}break}return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}function S_(e){this.children(e,()=>this.token(18,","))}var G4,K4,H4,J4=y(()=>{G4="SelectorList",K4="selector",H4={children:[["Selector","Raw"]]}}),Z4={};A(Z4,{decode:()=>mk,encode:()=>X4});function mk(e){let t=e.length,r=e.charCodeAt(0),n=r===hk||r===fk?1:0,i=n===1&&t>1&&e.charCodeAt(t-1)===r?t-2:t-1,o="";for(let a=n;a<=i;a++){let s=e.charCodeAt(a);if(s===Rm){if(a===i){a!==t-1&&(o=e.substr(a+1));break}if(s=e.charCodeAt(++a),wr(Rm,s)){let l=a-1,u=_i(e,l);a=u-1,o+=yP(e.substring(l+1,u))}else s===13&&e.charCodeAt(a+1)===10&&a++}else o+=e[a]}return o}function X4(e,t){let r=t?"'":'"',n=t?fk:hk,i="",o=!1;for(let a=0;a<e.length;a++){let s=e.charCodeAt(a);if(s===0){i+="�";continue}if(s<=31||s===127){i+="\\"+s.toString(16),o=!0;continue}s===n||s===Rm?(i+="\\"+e.charAt(a),o=!1):(o&&(en(s)||xn(s))&&(i+=" "),i+=e.charAt(a),o=!1)}return r+i+r}var Rm,hk,fk,gk=y(()=>{mr(),Rm=92,hk=34,fk=39}),eD={};A(eD,{generate:()=>C_,name:()=>rD,parse:()=>tD,structure:()=>nD});function tD(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:mk(this.consume(5))}}function C_(e){this.token(5,X4(e.value))}var rD,nD,iD=y(()=>{gk(),rD="String",nD={value:String}}),oD={};A(oD,{generate:()=>z_,name:()=>lD,parse:()=>aD,structure:()=>cD,walkContext:()=>uD});function M0(){return this.Raw(null,!1)}function aD(){let e=this.tokenStart,t=this.createList(),r;for(;!this.eof;){switch(this.tokenType){case 13:this.next();continue;case 25:if(this.charCodeAt(this.tokenStart+2)!==sD){this.next();continue}r=this.Comment();break;case 14:r=this.CDO();break;case 15:r=this.CDC();break;case 3:r=this.parseWithFallback(this.Atrule,M0);break;default:r=this.parseWithFallback(this.Rule,M0)}t.push(r)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}function z_(e){this.children(e)}var sD,lD,uD,cD,dD=y(()=>{sD=33,lD="StyleSheet",uD="stylesheet",cD={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]}}),pD={};A(pD,{generate:()=>A_,name:()=>hD,parse:()=>mD,structure:()=>fD});function mD(){let e=this.tokenStart;this.eat(21),this.skipSC();let t=this.Declaration();return this.eof||this.eat(22),{type:"SupportsDeclaration",loc:this.getLocation(e,this.tokenStart),declaration:t}}function A_(e){this.token(21,"("),this.node(e.declaration),this.token(22,")")}var hD,fD,gD=y(()=>{hD="SupportsDeclaration",fD={declaration:"Declaration"}}),bD={};A(bD,{generate:()=>N_,name:()=>wD,parse:()=>vD,structure:()=>kD});function eg(){this.tokenType!==1&&this.isDelim(yD)===!1&&this.error("Identifier or asterisk is expected"),this.next()}function vD(){let e=this.tokenStart;return this.isDelim(Sy)?(this.next(),eg.call(this)):(eg.call(this),this.isDelim(Sy)&&(this.next(),eg.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function N_(e){this.tokenize(e.name)}var yD,Sy,wD,kD,xD=y(()=>{yD=42,Sy=124,wD="TypeSelector",kD={name:String}}),SD={};A(SD,{generate:()=>j_,name:()=>zD,parse:()=>CD,structure:()=>AD});function kc(e,t){let r=0;for(let n=this.tokenStart+e;n<this.tokenEnd;n++){let i=this.charCodeAt(n);if(i===vk&&t&&r!==0)return kc.call(this,e+r+1,!1),-1;en(i)||this.error(t&&r!==0?"Hyphen minus"+(r<6?" or hex digit":"")+" is expected":r<6?"Hex digit is expected":"Unexpected input",n),++r>6&&this.error("Too many hex digits",n)}return this.next(),r}function kp(e){let t=0;for(;this.isDelim($m);)++t>e&&this.error("Too many question marks"),this.next()}function E_(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===bk?"Plus sign":"Hyphen minus")+" is expected")}function P_(){let e=0;switch(this.tokenType){case 10:if(e=kc.call(this,1,!0),this.isDelim($m)){kp.call(this,6-e);break}if(this.tokenType===12||this.tokenType===10){E_.call(this,vk),kc.call(this,1,!1);break}break;case 12:e=kc.call(this,1,!0),e>0&&kp.call(this,6-e);break;default:if(this.eatDelim(bk),this.tokenType===1){e=kc.call(this,0,!0),e>0&&kp.call(this,6-e);break}if(this.isDelim($m)){this.next(),kp.call(this,5);break}this.error("Hex digit or question mark is expected")}}function CD(){let e=this.tokenStart;return this.eatIdent("u"),P_.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function j_(e){this.tokenize(e.value)}var bk,vk,$m,zD,AD,ND=y(()=>{mr(),bk=43,vk=45,$m=63,zD="UnicodeRange",AD={value:String}});function I_(e){let t=e.length,r=4,n=e.charCodeAt(t-1)===yk?t-2:t-1,i="";for(;r<n&&xn(e.charCodeAt(r));)r++;for(;r<n&&xn(e.charCodeAt(n));)n--;for(let o=r;o<=n;o++){let a=e.charCodeAt(o);if(a===Bm){if(o===n){o!==t-1&&(i=e.substr(o+1));break}if(a=e.charCodeAt(++o),wr(Bm,a)){let s=o-1,l=_i(e,s);o=l-1,i+=yP(e.substring(s+1,l))}else a===13&&e.charCodeAt(o+1)===10&&o++}else i+=e[o]}return i}function O_(e){let t="",r=!1;for(let n=0;n<e.length;n++){let i=e.charCodeAt(n);if(i===0){t+="�";continue}if(i<=31||i===127){t+="\\"+i.toString(16),r=!0;continue}i===ED||i===Bm||i===PD||i===jD||i===ID||i===yk?(t+="\\"+e.charAt(n),r=!1):(r&&en(i)&&(t+=" "),t+=e.charAt(n),r=!1)}return"url("+t+")"}var ED,Bm,PD,jD,ID,yk,OD=y(()=>{mr(),ED=32,Bm=92,PD=34,jD=39,ID=40,yk=41}),TD={};A(TD,{generate:()=>T_,name:()=>LD,parse:()=>DD,structure:()=>FD});function DD(){let e=this.tokenStart,t;switch(this.tokenType){case 7:t=I_(this.consume(7));break;case 2:this.cmpStr(this.tokenStart,this.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(2),this.skipSC(),t=mk(this.consume(5)),this.skipSC(),this.eof||this.eat(22);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(e,this.tokenStart),value:t}}function T_(e){this.token(7,O_(e.value))}var LD,FD,MD=y(()=>{OD(),gk(),LD="Url",FD={value:String}}),RD={};A(RD,{generate:()=>D_,name:()=>BD,parse:()=>$D,structure:()=>qD});function $D(){let e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function D_(e){this.children(e)}var BD,qD,WD=y(()=>{BD="Value",qD={children:[[]]}}),_D={};A(_D,{generate:()=>L_,name:()=>QD,parse:()=>UD,structure:()=>YD});function UD(){return this.eat(13),VD}function L_(e){this.token(13,e.value)}var VD,QD,YD,GD=y(()=>{VD=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),QD="WhiteSpace",YD={value:String}}),wk={};A(wk,{AnPlusB:()=>Ej,Atrule:()=>Dj,AtrulePrelude:()=>Bj,AttributeSelector:()=>Qj,Block:()=>eI,Brackets:()=>lI,CDC:()=>mI,CDO:()=>vI,ClassSelector:()=>SI,Combinator:()=>PI,Comment:()=>MI,Condition:()=>UI,Declaration:()=>JI,DeclarationList:()=>lO,Dimension:()=>hO,Feature:()=>yO,FeatureFunction:()=>zO,FeatureRange:()=>jO,Function:()=>MO,GeneralEnclosed:()=>_O,Hash:()=>GO,IdSelector:()=>oT,Identifier:()=>eT,Layer:()=>cT,LayerList:()=>gT,MediaQuery:()=>kT,MediaQueryList:()=>AT,NestingSelector:()=>IT,Nth:()=>MT,Number:()=>WT,Operator:()=>YT,Parentheses:()=>ZT,Percentage:()=>n4,PseudoClassSelector:()=>l4,PseudoElementSelector:()=>h4,Ratio:()=>w4,Raw:()=>z4,Rule:()=>j4,Scope:()=>F4,Selector:()=>q4,SelectorList:()=>Q4,String:()=>eD,StyleSheet:()=>oD,SupportsDeclaration:()=>pD,TypeSelector:()=>bD,UnicodeRange:()=>SD,Url:()=>TD,Value:()=>RD,WhiteSpace:()=>_D});var KD=y(()=>{Tj(),$j(),Vj(),Xj(),sI(),pI(),bI(),xI(),EI(),FI(),_I(),HI(),sO(),mO(),vO(),CO(),PO(),FO(),WO(),YO(),XO(),iT(),uT(),fT(),wT(),zT(),jT(),FT(),qT(),QT(),JT(),r4(),s4(),m4(),y4(),C4(),P4(),L4(),B4(),V4(),J4(),iD(),dD(),gD(),xD(),ND(),MD(),WD(),GD()}),HD,F_=y(()=>{nk(),CW(),KD(),HD={generic:!0,cssWideKeywords:bh,...Nj,node:wk}});function JD(e){switch(this.tokenType){case 4:return this.Hash();case 18:return this.Operator();case 21:return this.Parentheses(this.readSequence,e.recognizer);case 19:return this.Brackets(this.readSequence,e.recognizer);case 5:return this.String();case 12:return this.Dimension();case 11:return this.Percentage();case 10:return this.Number();case 2:return this.cmpStr(this.tokenStart,this.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,e.recognizer);case 7:return this.Url();case 1:return this.cmpChar(this.tokenStart,rL)&&this.cmpChar(this.tokenStart+1,Cy)?this.UnicodeRange():this.Identifier();case 9:{let t=this.charCodeAt(this.tokenStart);if(t===tL||t===XD||t===Cy||t===eL)return this.Operator();t===ZD&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}var ZD,XD,Cy,eL,tL,rL,nL=y(()=>{ZD=35,XD=42,Cy=43,eL=45,tL=47,rL=117}),iL,M_=y(()=>{nL(),iL={getNode:JD}});function R_(e,t){t.last!==null&&t.last.type!=="Combinator"&&e!==null&&e.type!=="Combinator"&&t.push({type:"Combinator",loc:null,name:" "})}function $_(){switch(this.tokenType){case 19:return this.AttributeSelector();case 4:return this.IdSelector();case 16:return this.lookupType(1)===16?this.PseudoElementSelector():this.PseudoClassSelector();case 1:return this.TypeSelector();case 10:case 11:return this.Percentage();case 12:this.charCodeAt(this.tokenStart)===zy&&this.error("Identifier is expected",this.tokenStart+1);break;case 9:{switch(this.charCodeAt(this.tokenStart)){case lL:case cL:case pL:case uL:return this.Combinator();case zy:return this.ClassSelector();case sL:case dL:return this.TypeSelector();case oL:return this.IdSelector();case aL:return this.NestingSelector()}break}}}var oL,aL,sL,lL,uL,zy,cL,dL,pL,mL,B_=y(()=>{oL=35,aL=38,sL=42,lL=43,uL=47,zy=46,cL=62,dL=124,pL=126,mL={onWhiteSpace:R_,getNode:$_}});function q_(){return this.createSingleNodeList(this.Raw(null,!1))}var W_=y(()=>{});function __(){let e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===18){e.push(this.Operator());let t=this.tokenIndex,r=this.parseCustomProperty?this.Value(null):this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1);if(r.type==="Value"&&r.children.isEmpty){for(let n=t-this.tokenIndex;n<=0;n++)if(this.lookupType(n)===13){r.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}e.push(r)}return e}var U_=y(()=>{});function R0(e){return e!==null&&e.type==="Operator"&&(e.value[e.value.length-1]==="-"||e.value[e.value.length-1]==="+")}var hL,V_=y(()=>{nL(),W_(),U_(),hL={getNode:JD,onWhiteSpace(e,t){R0(e)&&(e.value=" "+e.value),R0(t.last)&&(t.last.value+=" ")},expression:q_,var:__}}),fL={};A(fL,{AtrulePrelude:()=>iL,Selector:()=>mL,Value:()=>hL});var Q_=y(()=>{M_(),B_(),V_()}),$0,gL,Y_=y(()=>{$0=new Set(["none","and","not","or"]),gL={parse:{prelude(){let e=this.createList();if(this.tokenType===1){let t=this.substring(this.tokenStart,this.tokenEnd);$0.has(t.toLowerCase())||e.push(this.Identifier())}return e.push(this.Condition("container")),e},block(e=!1){return this.Block(e)}}}}),bL,G_=y(()=>{bL={parse:{prelude:null,block(){return this.Block(!0)}}}}),tg,vL,K_=y(()=>{tg={},vL={parse:{prelude(){let e=this.createList();switch(this.tokenType){case 5:e.push(this.String());break;case 7:case 2:e.push(this.Url());break;default:this.error("String or url() is expected")}return this.skipSC(),this.tokenType===1&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer")?e.push(this.Identifier()):this.tokenType===2&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer(")&&e.push(this.Function(null,tg)),this.skipSC(),this.tokenType===2&&this.cmpStr(this.tokenStart,this.tokenEnd,"supports(")&&e.push(this.Function(null,tg)),(this.lookupNonWSType(0)===1||this.lookupNonWSType(0)===21)&&e.push(this.MediaQueryList()),e},block:null}}}),yL,H_=y(()=>{yL={parse:{prelude(){return this.createSingleNodeList(this.LayerList())},block(){return this.Block(!1)}}}}),wL,J_=y(()=>{wL={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(e=!1){return this.Block(e)}}}}),kL,Z_=y(()=>{kL={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}}}),xL,X_=y(()=>{xL={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}}}),SL,e8=y(()=>{SL={parse:{prelude(){return this.createSingleNodeList(this.Scope())},block(e=!1){return this.Block(e)}}}}),CL,t8=y(()=>{CL={parse:{prelude:null,block(e=!1){return this.Block(e)}}}}),zL,r8=y(()=>{zL={parse:{prelude(){return this.createSingleNodeList(this.Condition("supports"))},block(e=!1){return this.Block(e)}}}}),AL,n8=y(()=>{Y_(),G_(),K_(),H_(),J_(),Z_(),X_(),e8(),t8(),r8(),AL={container:gL,"font-face":bL,import:vL,layer:yL,media:wL,nest:kL,page:xL,scope:SL,"starting-style":CL,supports:zL}});function i8(){let e=this.createList();this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case 1:e.push(this.Identifier());break;case 5:e.push(this.String());break;case 18:e.push(this.Operator());break;case 22:break e;default:this.error("Identifier, string or comma is expected")}this.skipSC()}return e}var o8=y(()=>{}),Vr,xp,B0,q0,xa,NL,a8=y(()=>{o8(),Vr={parse(){return this.createSingleNodeList(this.SelectorList())}},xp={parse(){return this.createSingleNodeList(this.Selector())}},B0={parse(){return this.createSingleNodeList(this.Identifier())}},q0={parse:i8},xa={parse(){return this.createSingleNodeList(this.Nth())}},NL={dir:B0,has:Vr,lang:q0,matches:Vr,is:Vr,"-moz-any":Vr,"-webkit-any":Vr,where:Vr,not:Vr,"nth-child":xa,"nth-last-child":xa,"nth-last-of-type":xa,"nth-of-type":xa,slotted:xp,host:xp,"host-context":xp}}),EL={};A(EL,{AnPlusB:()=>Pj,Atrule:()=>Lj,AtrulePrelude:()=>qj,AttributeSelector:()=>Yj,Block:()=>rI,Brackets:()=>uI,CDC:()=>hI,CDO:()=>yI,ClassSelector:()=>CI,Combinator:()=>jI,Comment:()=>RI,Condition:()=>VI,Declaration:()=>ZI,DeclarationList:()=>uO,Dimension:()=>fO,Feature:()=>wO,FeatureFunction:()=>AO,FeatureRange:()=>IO,Function:()=>RO,GeneralEnclosed:()=>UO,Hash:()=>KO,IdSelector:()=>aT,Identifier:()=>tT,Layer:()=>dT,LayerList:()=>bT,MediaQuery:()=>xT,MediaQueryList:()=>NT,NestingSelector:()=>OT,Nth:()=>RT,Number:()=>_T,Operator:()=>GT,Parentheses:()=>XT,Percentage:()=>i4,PseudoClassSelector:()=>u4,PseudoElementSelector:()=>f4,Ratio:()=>k4,Raw:()=>A4,Rule:()=>I4,Scope:()=>M4,Selector:()=>W4,SelectorList:()=>Y4,String:()=>tD,StyleSheet:()=>aD,SupportsDeclaration:()=>mD,TypeSelector:()=>vD,UnicodeRange:()=>CD,Url:()=>DD,Value:()=>$D,WhiteSpace:()=>UD});var s8=y(()=>{Tj(),$j(),Vj(),Xj(),sI(),pI(),bI(),xI(),EI(),FI(),_I(),HI(),sO(),mO(),vO(),CO(),PO(),FO(),WO(),YO(),XO(),iT(),uT(),fT(),wT(),zT(),jT(),FT(),qT(),QT(),JT(),r4(),s4(),m4(),y4(),C4(),P4(),L4(),B4(),V4(),J4(),iD(),dD(),gD(),xD(),ND(),MD(),WD(),GD()}),PL,l8=y(()=>{Q_(),n8(),a8(),s8(),PL={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude(e){return this.AtrulePrelude(e.atrule?String(e.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",condition(e){return this.Condition(e.kind)},rule:"Rule",selectorList:"SelectorList",selector:"Selector",block(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},features:{supports:{selector(){return this.Selector()}},container:{style(){return this.Declaration()}}},scope:fL,atrule:AL,pseudo:NL,node:EL}}),jL,u8=y(()=>{KD(),jL={node:wk}}),IL,c8=y(()=>{SW(),F_(),l8(),u8(),IL=Aj({...HD,...PL,...jL})}),d8=y(()=>{}),p8=G(()=>{}),m8,h8,qr,f8,OL,g8,Ni,kk,b8,v8,y8,w8,xk,In=y(()=>{c8(),d8(),zP(),pj(),rk(),m8=K(p8(),1),gk(),OD(),{tokenize:h8,parse:qr,generate:f8,lexer:OL,createLexer:g8,walk:Ni,find:kk,findLast:b8,findAll:v8,toPlainObject:y8,fromPlainObject:w8,fork:xk}=IL}),TL={};A(TL,{default:()=>DL});var Vn,Sp,W0,Sa,rg,_0,Ca,DL,k8=y(()=>{In(),q(),Pr(),mh(),pr(),Or(),_e(),Ke(),H(),j(),O(),D(),Dt(),Vn="declaration-block-no-duplicate-properties",Sp=I(Vn,{rejected:e=>`Duplicate property "${e}"`}),W0={url:"https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-properties",fixable:!0},Sa=e=>"children"in e&&e.children instanceof Im,rg=(e,t,r)=>{if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let i=e[n],o=t[n];if(typeof i>"u"||typeof o>"u"||i.type!==o.type)return!1;let a="name"in i?String(i.name):"",s="name"in o?String(o.name):"";if(i.type==="Identifier"&&yt(a)&&o.type==="Identifier"&&yt(s)||i.type==="Identifier"&&o.type==="Identifier"&&GA.has(r.toLowerCase())&&Vc.has(a.toLowerCase())&&Vc.has(s.toLowerCase()))continue;if(a.toLowerCase()!==s.toLowerCase())return!1;let l="unit"in i?i.unit:"",u="unit"in o?o.unit:"";if(l!==u)return!1;let c=Sa(i)?i.children.toArray():null,d=Sa(o)?o.children.toArray():null;if(Array.isArray(c)&&Array.isArray(d)){if(rg(c,d,r))continue;return!1}}return!0},_0=(e,t,r)=>{if(e===t)return!0;if(!(Be(e)&&Be(t)))return!1;let n,i;try{n=qr(e,{context:"value"}),i=qr(t,{context:"value"})}catch{return!1}let o=Sa(n)?n.children.toArray():[],a=Sa(i)?i.children.toArray():[];return rg(o,a,r)},Ca=(e,t)=>(r,n)=>{if(!T(n,Vn,{actual:e},{actual:t,possible:{ignore:["consecutive-duplicates","consecutive-duplicates-with-different-values","consecutive-duplicates-with-different-syntaxes","consecutive-duplicates-with-same-prefixless-values"],ignoreProperties:[$,_]},optional:!0}))return;let i=L(t,"ignore","consecutive-duplicates"),o=L(t,"ignore","consecutive-duplicates-with-different-values"),a=L(t,"ignore","consecutive-duplicates-with-different-syntaxes"),s=L(t,"ignore","consecutive-duplicates-with-same-prefixless-values"),l=u=>()=>{u.remove()};ph(r,u=>{let c=[];u(d=>{let p=d.prop,m=d.prop.toLowerCase(),v=d.value,h=d.important;if(!Ir(p)||yt(p)||L(t,"ignoreProperties",p)||m==="src")return;let b=c.findIndex(C=>C.prop.toLowerCase()===m);b===-1&&c.push(d);let f=c[b];if(!f)return;let g=f.value||"",x=f.important||!1,w=!h&&x,k=b===c.length-1,S=Je.unprefixed(v)===Je.unprefixed(g),E=()=>{let C=w?d:f,R=w?p:f.prop;w||(c[b]=d),P({message:Sp.rejected,messageArgs:[R],node:C,result:n,ruleName:Vn,word:R,fix:{apply:l(C),node:C.parent}})};if(o||a||s){if(!k||s&&!S){E();return}if(a&&_0(v,g,p)){E();return}return v!==g?void 0:P({message:Sp.rejected,messageArgs:[f.prop],node:f,result:n,ruleName:Vn,word:f.prop,fix:{apply:l(f),node:f.parent}})}i&&k||E()})})},Ca.ruleName=Vn,Ca.messages=Sp,Ca.meta=W0,DL=Ca}),LL={};A(LL,{default:()=>ML});function Cp(e){let t=e==null?void 0:e.trim();if(!t)return[];if(!t.includes(","))return[t];let r=[],n=[];r.push(n);for(let i of(0,Ay.default)(t).nodes)i.type==="div"&&i.value===","?(n=[],r.push(n)):n.push(i);return r.map(i=>Ay.default.stringify(i).trim()).filter(Boolean)}function x8(e){let t=r=>r.important;return e.some(t)&&!e.every(t)}function S8(e,t,r){let n=FL.get(e);return n?n(r):t.map(i=>{var o,a;return(a=(o=r.get(i))==null?void 0:o.value.trim())!=null?a:""}).filter(Boolean).join(" ")}var Ay,Qn,zp,U0,FL,V0,za,ML,C8=y(()=>{Ay=K(de(),1),q(),Nw(),Ke(),mh(),Pr(),H(),j(),O(),D(),Dt(),Qn="declaration-block-no-redundant-longhand-properties",zp=I(Qn,{expected:e=>`Expected shorthand property "${e}"`,unexpectedLonghand:(e,t)=>`Redundant longhand property "${e}" after shorthand property "${t}"`}),U0={url:"https://stylelint.io/user-guide/rules/declaration-block-no-redundant-longhand-properties",fixable:!0},FL=new Map([["font-synthesis",e=>{var a,s,l;let t=(a=e.get("font-synthesis-weight"))==null?void 0:a.value.trim(),r=(s=e.get("font-synthesis-style"))==null?void 0:s.value.trim(),n=(l=e.get("font-synthesis-small-caps"))==null?void 0:l.value.trim(),i=u=>u==="none"||u==="auto";if(!i(t)||!i(r)||!i(n))return;let o=[];return t==="auto"&&o.push("weight"),r==="auto"&&o.push("style"),n==="auto"&&o.push("small-caps"),o.length===0?"none":o.join(" ")}],["grid-column",e=>{var n,i;let t=(n=e.get("grid-column-start"))==null?void 0:n.value.trim(),r=(i=e.get("grid-column-end"))==null?void 0:i.value.trim();if(!(!t||!r))return`${t} / ${r}`}],["grid-row",e=>{var n,i;let t=(n=e.get("grid-row-start"))==null?void 0:n.value.trim(),r=(i=e.get("grid-row-end"))==null?void 0:i.value.trim();if(!(!t||!r))return`${t} / ${r}`}],["grid-template",e=>{var a,s,l;let t=(a=e.get("grid-template-areas"))==null?void 0:a.value.trim(),r=(s=e.get("grid-template-columns"))==null?void 0:s.value.trim(),n=(l=e.get("grid-template-rows"))==null?void 0:l.value.trim();if(!(t&&r&&n)||r.includes("repeat(")||n.includes("repeat("))return;let i=[...t.matchAll(/"[^"]+"/g)].map(u=>u[0]),o=n.split(" ");return i.length===0||o.length===0||i.length!==o.length?void 0:`${i.map((u,c)=>`${u} ${o[c]}`).join(" ")} / ${r}`}],["transition",e=>{var o,a,s,l;let t=Cp((o=e.get("transition-delay"))==null?void 0:o.value),r=Cp((a=e.get("transition-duration"))==null?void 0:a.value),n=Cp((s=e.get("transition-timing-function"))==null?void 0:s.value),i=Cp((l=e.get("transition-property"))==null?void 0:l.value);if(t.length&&r.length&&n.length&&i.length)return i.map((u,c)=>[u,r[c%r.length],n[c%n.length],t[c%t.length]].filter($).join(" ")).join(", ")}]]),V0=new Set(["border-width","border-style","border-color","border-top","border-right","border-bottom","border-left","grid-column","grid-row"]),za=(e,t)=>(r,n)=>{var a;if(!T(n,Qn,{actual:e},{actual:t,possible:{ignoreShorthands:[$,_],ignoreLonghands:[$]},optional:!0}))return;let i=new Map,o=[(a=t==null?void 0:t.ignoreLonghands)!=null?a:[]].flat();for(let[s,l]of zc.entries())if(!L(t,"ignoreShorthands",s))for(let u of l){if(o.includes(u))continue;let c=i.get(u)||[];c.push(s),i.set(u,c)}ph(r,s=>{let l=new Map,u=new Map;s(c=>{var f;let d=c.value.trim();if(Te.has(d))return;let p=c.prop.toLowerCase(),m=Je.unprefixed(p),v=Je.prefix(p);zc.has(m)&&u.set(p,d);let h=i.get(m);if(!h)return;let{parent:b}=c;$e(b);for(let g of h){let x=v+g;if(u.get(x)===d){P({ruleName:Qn,result:n,node:c,word:c.prop,message:zp.unexpectedLonghand,messageArgs:[c.prop,x],fix:{apply:()=>{c.remove()},node:b}});return}let w=l.get(x)||[];w.push(c),l.set(x,w);let k=[...(f=zc.get(g))!=null?f:[]].filter(te=>!o.includes(te)).map(te=>v+te),S=w.map(te=>te.prop.toLowerCase());if(!Aw(k.slice().sort(),S.slice().sort())||x8(w))continue;let E=w.at(0),C=w.at(-1);$e(E&&C);let R=new Map(w.map(te=>[te.prop.toLowerCase(),te])),N=S8(x,k,R),B=N?()=>{let te=E.clone({prop:x,value:N});if(E.replaceWith(te),w.forEach(ae=>ae.remove()),V0.has(g)){let ae=new Set(S);l.forEach((le,oe)=>{l.set(oe,le.filter(Fe=>!ae.has(Fe.prop.toLowerCase())))})}}:void 0,re=b.index(C)-b.index(E)+1===w.length?E:C;P({ruleName:Qn,result:n,message:zp.expected,messageArgs:[x],node:b,start:re.rangeBy({}).start,end:C.rangeBy({}).end,fix:{apply:B,node:b}})}})})},za.ruleName=Qn,za.messages=zp,za.meta=U0,ML=za}),RL={};A(RL,{default:()=>$L});var Aa,ng,Q0,Na,$L,z8=y(()=>{mh(),j(),O(),to(),D(),Dt(),Pr(),Aa="declaration-block-no-shorthand-property-overrides",ng=I(Aa,{rejected:(e,t)=>`Overridden property "${t}" by shorthand "${e}"`}),Q0={url:"https://stylelint.io/user-guide/rules/declaration-block-no-shorthand-property-overrides"},Na=e=>(t,r)=>{T(r,Aa,{actual:e})&&ph(t,n=>{let i=new Map;n(o=>{let a=o.prop,s=Je.unprefixed(a).toLowerCase(),l=Je.prefix(a).toLowerCase(),u=zc.get(s),c=YA.get(s),d=Ce(u!=null?u:[],c!=null?c:[]);if(i.set(a.toLowerCase(),a),d.size!==0)for(let p of d){let m=i.get(l+p);m&&P({ruleName:Aa,result:r,node:o,message:ng.rejected,messageArgs:[a,m||""],word:a})}})})},Na.ruleName=Aa,Na.messages=ng,Na.meta=Q0,$L=Na}),BL={};A(BL,{default:()=>qL});var Ea,ig,Y0,Pa,qL,A8=y(()=>{Jw(),q(),dh(),j(),O(),D(),Ea="declaration-block-single-line-max-declarations",ig=I(Ea,{expected:e=>`Too many declarations, maximum ${e}`}),Y0={url:"https://stylelint.io/user-guide/rules/declaration-block-single-line-max-declarations"},Pa=e=>(t,r)=>{T(r,Ea,{actual:e,possible:[Sr]})&&t.walkRules(n=>{let i=Hw(n);!ch(i)||!n.nodes||n.nodes.filter(o=>o.type==="decl").length<=e||P({message:ig.expected,messageArgs:[e],node:n,word:i,result:r,ruleName:Ea})})},Pa.ruleName=Ea,Pa.messages=ig,Pa.meta=Y0,qL=Pa});function G0(e){let t=$r(e);return t!==void 0&&eo(t)&&ut(t)&&!yt(t.prop||"")}var N8=y(()=>{Pn(),pr(),fe(),ct()}),WL={};A(WL,{default:()=>_L});var ja,Ap,K0,Ia,_L,E8=y(()=>{fe(),Jw(),cd(),pd(),lP(),rh(),N8(),pr(),md(),oh(),dh(),ct(),H(),j(),O(),D(),ja="declaration-empty-line-before",Ap=I(ja,{expected:"Expected empty line before declaration",rejected:"Expected no empty line before declaration"}),K0={url:"https://stylelint.io/user-guide/rules/declaration-empty-line-before",fixable:!0},Ia=(e,t,r)=>(n,i)=>{T(i,ja,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["first-nested","after-block","after-comment","after-declaration"],ignore:["after-comment","after-declaration","first-nested","inside-single-line-block"]},optional:!0})&&n.walkDecls(o=>{let a=o.prop,s=o.parent;if(s==null||ih(o)||!Ie(s)&&!it(s)&&!ur(s)||!ut(o)||yt(a)||L(t,"ignore","after-comment")&&qi(o)||L(t,"ignore","after-declaration")&&G0(o)||L(t,"ignore","first-nested")&&Br(o)||L(t,"ignore","inside-single-line-block")&&ch(Hw(s)))return;let l=e==="always";(L(t,"except","first-nested")&&Br(o)||L(t,"except","after-block")&&sP(o)||L(t,"except","after-comment")&&qi(o)||L(t,"except","after-declaration")&&G0(o))&&(l=!l);let u=dd(o.raws.before);if(l===u)return;let c=l?Ap.expected:Ap.rejected,d=l?"add":"remove";P({message:c,messageArgs:[],node:o,result:i,ruleName:ja,fix:{apply:()=>ud({node:o,newline:r.newline,action:d}),node:o.parent}})})},Ia.ruleName=ja,Ia.messages=Ap,Ia.meta=K0,_L=Ia});function UL(e){let t=/!\s*important\b/gi,r=t.exec(e);if(r)return{index:r.index,endIndex:t.lastIndex}}var VL=y(()=>{}),QL={};A(QL,{default:()=>YL});var Oa,og,H0,Ta,YL,P8=y(()=>{q(),VL(),j(),O(),D(),Oa="declaration-no-important",og=I(Oa,{rejected:"Disallowed !important"}),H0={url:"https://stylelint.io/user-guide/rules/declaration-no-important"},Ta=e=>(t,r)=>{T(r,Oa,{actual:e})&&t.walkDecls(n=>{if(!n.important)return;let i=UL(n.toString());$e(i),P({message:og.rejected,messageArgs:[],node:n,index:i.index,endIndex:i.endIndex,result:r,ruleName:Oa})})},Ta.ruleName=Oa,Ta.messages=og,Ta.meta=H0,YL=Ta});function cr(e){return Number.isInteger(e)&&typeof e=="number"&&e>=0}var Tr=y(()=>{});function qm(e){return t=>Cr(t)?Object.values(t).every(r=>e(r)):!1}var Sk=y(()=>{q()}),GL={};A(GL,{default:()=>KL});var J0,Da,ag,Z0,X0,La,KL,j8=y(()=>{J0=K(de(),1),q(),Tr(),Le(),V(),j(),O(),Sk(),D(),Da="declaration-property-max-values",ag=I(Da,{expected:(e,t)=>`Too many values for property "${e}", maximum ${t}`}),Z0={url:"https://stylelint.io/user-guide/rules/declaration-property-max-values"},X0=e=>e.type==="word"||e.type==="function"||e.type==="string",La=e=>(t,r)=>{T(r,Da,{actual:e,possible:[qm(cr)]})&&t.walkDecls(n=>{let{prop:i,value:o}=n;if(!Q.multipleValues.test(o))return;let a=(0,J0.default)(o).nodes.filter(X0).length,s=Object.keys(e).find(u=>Pe(i,u));if(!s)return;let l=e[s];Cc(l),!(a<=l)&&P({message:ag.expected,messageArgs:[i,l],node:n,result:r,ruleName:Da})})},La.ruleName=Da,La.messages=ag,La.meta=Z0,KL=La});function I8(e,t=" "){return e.replace(/[#@{}]+/g,t)}var O8=y(()=>{});function On(e){if(!e||!e.value)return{unit:null,number:null};if(e.type!=="word")return{unit:null,number:null};if(!Be(e.value))return{unit:null,number:null};if(e.value.startsWith("#"))return{unit:null,number:null};let t=I8(e.value,"").replace("\\0","").replace("\\9","");return HL.default.unit(t)||{unit:null,number:null}}var HL,Tn=y(()=>{HL=K(de(),1),O8(),_e()}),JL={};A(JL,{default:()=>ZL});var eS,Fa,sg,tS,Ma,ZL,T8=y(()=>{eS=K(de(),1),Z(),Tn(),q(),Le(),H(),j(),O(),Ht(),D(),Fa="declaration-property-unit-allowed-list",sg=I(Fa,{rejected:(e,t)=>`Disallowed unit "${t}" for property "${e}"`}),tS={url:"https://stylelint.io/user-guide/rules/declaration-property-unit-allowed-list"},Ma=(e,t)=>(r,n)=>{T(n,Fa,{actual:e,possible:[Bt($)]},{actual:t,possible:{ignore:["inside-function"]},optional:!0})&&r.walkDecls(i=>{let o=i.prop,a=i.value,s=Object.keys(e).find(c=>Pe(o,c));if(!s)return;let l=e[s];if(!l)return;let u=new Set([l].flat());(0,eS.default)(a).walk(c=>{if(c.type==="function"&&(c.value.toLowerCase()==="url"||L(t,"ignore","inside-function")))return!1;if(c.type==="string")return;let{unit:d}=On(c);if(!d||u.has(d.toLowerCase()))return;let p=ie(i)+c.sourceIndex,m=p+c.value.length;P({message:sg.rejected,messageArgs:[o,d],node:i,index:p,endIndex:m,result:n,ruleName:Fa})})})},Ma.ruleName=Fa,Ma.messages=sg,Ma.meta=tS,ZL=Ma}),XL={};A(XL,{default:()=>e3});var rS,Ra,lg,nS,$a,e3,D8=y(()=>{rS=K(de(),1),Z(),Tn(),q(),Cd(),Le(),V(),j(),O(),Ht(),D(),Ra="declaration-property-unit-disallowed-list",lg=I(Ra,{rejected:(e,t)=>`Disallowed unit "${t}" for property "${e}"`}),nS={url:"https://stylelint.io/user-guide/rules/declaration-property-unit-disallowed-list"},$a=e=>(t,r)=>{T(r,Ra,{actual:e,possible:[Bt($)]})&&t.walkDecls(n=>{let i=n.prop,o=n.value;if(!Q.dimension.test(o))return;let a=Object.keys(e).find(u=>Pe(i,u));if(!a)return;let s=e[a];if(!s)return;let l=new Set([s].flat());(0,rS.default)(o).walk(u=>{if(Sd(u))return!1;if(u.type==="string")return;let{unit:c}=On(u);if(!c||!l.has(c.toLowerCase()))return;let d=ie(n)+u.sourceIndex,p=d+u.value.length;P({message:lg.rejected,messageArgs:[i,c],node:n,index:d,endIndex:p,result:r,ruleName:Ra})})})},$a.ruleName=Ra,$a.messages=lg,$a.meta=nS,e3=$a}),t3={};A(t3,{default:()=>r3});var Ba,ug,iS,qa,r3,L8=y(()=>{q(),Z(),Le(),H(),j(),O(),Ht(),D(),Ba="declaration-property-value-allowed-list",ug=I(Ba,{rejected:(e,t)=>`Disallowed value "${t}" for property "${e}"`}),iS={url:"https://stylelint.io/user-guide/rules/declaration-property-value-allowed-list"},qa=e=>(t,r)=>{if(!T(r,Ba,{actual:e,possible:[Bt($,_)]}))return;let n=Object.keys(e);t.walkDecls(i=>{let{prop:o,value:a}=i,s=n.filter(c=>Pe(o,c));if(s.length===0||s.some(c=>L(e,c,a)))return;let l=ie(i),u=l+i.value.length;P({message:ug.rejected,messageArgs:[o,a],node:i,index:l,endIndex:u,result:r,ruleName:Ba})})},qa.ruleName=Ba,qa.messages=ug,qa.meta=iS,r3=qa}),n3={};A(n3,{default:()=>i3});var Wa,cg,oS,_a,i3,F8=y(()=>{q(),Z(),Le(),H(),j(),O(),Ht(),D(),Wa="declaration-property-value-disallowed-list",cg=I(Wa,{rejected:(e,t)=>`Disallowed value "${t}" for property "${e}"`}),oS={url:"https://stylelint.io/user-guide/rules/declaration-property-value-disallowed-list"},_a=e=>(t,r)=>{if(!T(r,Wa,{actual:e,possible:[Bt($,_)]}))return;let n=Object.keys(e);t.walkDecls(i=>{let{prop:o,value:a}=i,s=n.filter(c=>Pe(o,c));if(s.length===0||s.every(c=>!L(e,c,a)))return;let l=ie(i),u=l+i.value.length;P({message:cg.rejected,messageArgs:[o,a],node:i,index:l,endIndex:u,result:r,ruleName:Wa})})},_a.ruleName=Wa,_a.messages=cg,_a.meta=oS,i3=_a}),o3={};A(o3,{default:()=>a3});var aS,Ua,Np,sS,Ep,lS,uS,Va,a3,M8=y(()=>{aS=K(de(),1),q(),jr(),Z(),We(),ct(),_e(),V(),H(),j(),O(),gt(),Pr(),D(),Ua="declaration-property-value-keyword-no-deprecated",Np=I(Ua,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:(e,t)=>`Deprecated keyword "${t}" for property "${e}"`}),sS={url:"https://stylelint.io/user-guide/rules/declaration-property-value-keyword-no-deprecated",fixable:!0},Ep={activecaption:"canvas",appworkspace:"canvas",background:"canvas",inactivecaption:"canvas",infobackground:"canvas",menu:"canvas",scrollbar:"canvas",window:"canvas",activeborder:"ButtonBorder",inactiveborder:"ButtonBorder",threeddarkshadow:"ButtonBorder",threedhighlight:"ButtonBorder",threedlightshadow:"ButtonBorder",threedshadow:"ButtonBorder",windowframe:"ButtonBorder",captiontext:"CanvasText",infotext:"CanvasText",menutext:"CanvasText",windowtext:"CanvasText",buttonhighlight:"ButtonFace",buttonshadow:"ButtonFace",threedface:"ButtonFace",inactivecaptiontext:"GrayText"},lS=[...Av.values()].map(e=>[e,Ep]),uS=new Map([["appearance",{button:"auto",checkbox:"auto",listbox:"auto",menulist:"auto",meter:"auto","progress-bar":"auto","push-button":"auto",radio:"auto",searchfield:"auto","slider-horizontal":"auto","square-button":"auto",textarea:"auto"}],["image-rendering",{optimizeQuality:"smooth",optimizeSpeed:"pixelated"}],["overflow",{overlay:"auto"}],["overflow-x",{overlay:"auto"}],["overflow-y",{overlay:"auto"}],["text-justify",{distribute:"inter-character"}],["text-orientation",{"sideways-right":"sideways"}],["user-select",{element:"contain"}],["zoom",{reset:"1"}],["border-color",Ep],["scrollbar-color",Ep],["text-decoration",["blink"]],["text-decoration-line",["blink"]],["box-sizing",["padding-box"]],["image-orientation",["flip"]],["min-height",["intrinsic","min-intrinsic"]],["min-width",["intrinsic","min-intrinsic"]],["max-height",["intrinsic","min-intrinsic"]],["max-width",["intrinsic","min-intrinsic"]],["height",["intrinsic","min-intrinsic"]],["width",["intrinsic","min-intrinsic"]],["word-break",["break-word"]],...lS]),Va=(e,t)=>(r,n)=>{T(n,Ua,{actual:e},{optional:!0,actual:t,possible:{ignoreKeywords:[$,_]}})&&r.walkDecls(i=>{let{prop:o,value:a}=i;if(!Q.keyword.test(a)||!ut(i)||L(t,"ignoreKeywords",a))return;let s=uS.get(o.toLowerCase());if(!s)return;let l=(0,aS.default)(qe(i)),u=!0;l.walk(c=>{c.type!=="comment"&&(Be(c.value)||(u=!1))}),u&&l.walk(c=>{let d=c.value,p=d.toLowerCase();if(c.type==="function"&&!Ow.has(p))return!1;if(c.type!=="word")return;let m=c.sourceIndex,v,h,b;if(Array.isArray(s)){if(!s.includes(p))return;h=Np.rejected,b=[o,d]}else{let x=s[p];if(!x)return;h=Np.expected,b=[d,x],v=()=>{c.value=x,ft(i,l.toString())}}let f=ie(i)+m,g=f+d.length;P({message:h,messageArgs:b,node:i,result:n,ruleName:Ua,index:f,endIndex:g,fix:{apply:v,node:i}})})})},Va.ruleName=Ua,Va.messages=Np,Va.meta=sS,a3=Va});function R8(e){return p3?structuredClone(e):JSON.parse(JSON.stringify(e))}function ke(...e){let t="";for(let r=0;r<e.length;r++)t+=e[r][1];return t}function $8(e){return e.source.codePointAt(e.cursor)===60&&e.source.codePointAt(e.cursor+1)===33&&e.source.codePointAt(e.cursor+2)===ot&&e.source.codePointAt(e.cursor+3)===ot}function Gt(e){return e>=48&&e<=57}function B8(e){return e>=65&&e<=90}function q8(e){return e>=97&&e<=122}function Fi(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function W8(e){return q8(e)||B8(e)}function Qi(e){return W8(e)||_8(e)||e===95}function Ck(e){return Qi(e)||Gt(e)||e===ot}function _8(e){return e===183||e===8204||e===8205||e===8255||e===8256||e===8204||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||e===0||!!Yi(e)||e>=65536}function U8(e){return e===11||e===127||0<=e&&e<=8||14<=e&&e<=31}function Wm(e){return e===zn||e===Cn||e===12}function wn(e){return e===32||e===zn||e===9||e===Cn||e===12}function Yi(e){return e>=55296&&e<=57343}function ao(e){var t;return e.source.codePointAt(e.cursor)===92&&!Wm((t=e.source.codePointAt(e.cursor+1))!=null?t:-1)}function _m(e,t){var r,n,i;return t.source.codePointAt(t.cursor)===ot?t.source.codePointAt(t.cursor+1)===ot||!!Qi((r=t.source.codePointAt(t.cursor+1))!=null?r:-1)||t.source.codePointAt(t.cursor+1)===92&&!Wm((n=t.source.codePointAt(t.cursor+2))!=null?n:-1):!!Qi((i=t.source.codePointAt(t.cursor))!=null?i:-1)||ao(t)}function cS(e){var t,r,n,i;return e.source.codePointAt(e.cursor)===An||e.source.codePointAt(e.cursor)===ot?!!Gt((t=e.source.codePointAt(e.cursor+1))!=null?t:-1)||e.source.codePointAt(e.cursor+1)===46&&Gt((r=e.source.codePointAt(e.cursor+2))!=null?r:-1):e.source.codePointAt(e.cursor)===46?Gt((n=e.source.codePointAt(e.cursor+1))!=null?n:-1):Gt((i=e.source.codePointAt(e.cursor))!=null?i:-1)}function V8(e){return e.source.codePointAt(e.cursor)===47&&e.source.codePointAt(e.cursor+1)===42}function Q8(e){return e.source.codePointAt(e.cursor)===ot&&e.source.codePointAt(e.cursor+1)===ot&&e.source.codePointAt(e.cursor+2)===62}function Y8(e){switch(e){case z.OpenParen:return z.CloseParen;case z.CloseParen:return z.OpenParen;case z.OpenCurly:return z.CloseCurly;case z.CloseCurly:return z.OpenCurly;case z.OpenSquare:return z.CloseSquare;case z.CloseSquare:return z.OpenSquare;default:return null}}function G8(e){switch(e[0]){case z.OpenParen:return[z.CloseParen,")",-1,-1,void 0];case z.CloseParen:return[z.OpenParen,"(",-1,-1,void 0];case z.OpenCurly:return[z.CloseCurly,"}",-1,-1,void 0];case z.CloseCurly:return[z.OpenCurly,"{",-1,-1,void 0];case z.OpenSquare:return[z.CloseSquare,"]",-1,-1,void 0];case z.CloseSquare:return[z.OpenSquare,"[",-1,-1,void 0];default:return null}}function K8(e,t){for(t.advanceCodePoint(2);;){let r=t.readCodePoint();if(r===void 0){let n=[z.Comment,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new kr(ir.UnexpectedEOFInComment,t.representationStart,t.representationEnd,["4.3.2. Consume comments","Unexpected EOF"],n)),n}if(r===42&&t.source.codePointAt(t.cursor)!==void 0&&t.source.codePointAt(t.cursor)===47){t.advanceCodePoint();break}}return[z.Comment,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0]}function Ah(e,t){var n;let r=t.readCodePoint();if(r===void 0)return e.onParseError(new td(ir.UnexpectedEOFInEscapedCodePoint,t.representationStart,t.representationEnd,["4.3.7. Consume an escaped code point","Unexpected EOF"])),Rr;if(Fi(r)){let i=[r],o;for(;(o=t.source.codePointAt(t.cursor))!==void 0&&Fi(o)&&i.length<6;)i.push(o),t.advanceCodePoint();wn((n=t.source.codePointAt(t.cursor))!=null?n:-1)&&(t.source.codePointAt(t.cursor)===Cn&&t.source.codePointAt(t.cursor+1)===zn&&t.advanceCodePoint(),t.advanceCodePoint());let a=parseInt(String.fromCodePoint(...i),16);return a===0||Yi(a)||a>1114111?Rr:a}return r===0||Yi(r)?Rr:r}function Nh(e,t){var n;let r=[];for(;;){let i=(n=t.source.codePointAt(t.cursor))!=null?n:-1;if(i===0||Yi(i))r.push(Rr),t.advanceCodePoint(+(i>65535)+1);else if(Ck(i))r.push(i),t.advanceCodePoint(+(i>65535)+1);else{if(!ao(t))return r;t.advanceCodePoint(),r.push(Ah(e,t))}}}function H8(e,t){t.advanceCodePoint();let r=t.source.codePointAt(t.cursor);if(r!==void 0&&(Ck(r)||ao(t))){let n=Um.Unrestricted;_m(0,t)&&(n=Um.ID);let i=Nh(e,t);return[z.Hash,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...i),type:n}]}return[z.Delim,"#",t.representationStart,t.representationEnd,{value:"#"}]}function J8(e,t){var n,i,o,a,s,l;let r=ne.Integer;for(t.source.codePointAt(t.cursor)!==An&&t.source.codePointAt(t.cursor)!==ot||t.advanceCodePoint();Gt((n=t.source.codePointAt(t.cursor))!=null?n:-1);)t.advanceCodePoint();if(t.source.codePointAt(t.cursor)===46&&Gt((i=t.source.codePointAt(t.cursor+1))!=null?i:-1))for(t.advanceCodePoint(2),r=ne.Number;Gt((o=t.source.codePointAt(t.cursor))!=null?o:-1);)t.advanceCodePoint();if(t.source.codePointAt(t.cursor)===101||t.source.codePointAt(t.cursor)===69){if(Gt((a=t.source.codePointAt(t.cursor+1))!=null?a:-1))t.advanceCodePoint(2);else{if(t.source.codePointAt(t.cursor+1)!==ot&&t.source.codePointAt(t.cursor+1)!==An||!Gt((s=t.source.codePointAt(t.cursor+2))!=null?s:-1))return r;t.advanceCodePoint(3)}for(r=ne.Number;Gt((l=t.source.codePointAt(t.cursor))!=null?l:-1);)t.advanceCodePoint()}return r}function dg(e,t){let r;{let o=t.source.codePointAt(t.cursor);o===ot?r="-":o===An&&(r="+")}let n=J8(0,t),i=parseFloat(t.source.slice(t.representationStart,t.representationEnd+1));if(_m(0,t)){let o=Nh(e,t);return[z.Dimension,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:i,signCharacter:r,type:n,unit:String.fromCodePoint(...o)}]}return t.source.codePointAt(t.cursor)===37?(t.advanceCodePoint(),[z.Percentage,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:i,signCharacter:r}]):[z.Number,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:i,signCharacter:r,type:n}]}function Z8(e){var t;for(;wn((t=e.source.codePointAt(e.cursor))!=null?t:-1);)e.advanceCodePoint();return[z.Whitespace,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0]}function X8(e,t){var i;let r="",n=t.readCodePoint();for(;;){let o=t.readCodePoint();if(o===void 0){let a=[z.String,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];return e.onParseError(new kr(ir.UnexpectedEOFInString,t.representationStart,t.representationEnd,["4.3.5. Consume a string token","Unexpected EOF"],a)),a}if(Wm(o)){t.unreadCodePoint();let a=[z.BadString,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new kr(ir.UnexpectedNewLineInString,t.representationStart,t.source.codePointAt(t.cursor)===Cn&&t.source.codePointAt(t.cursor+1)===zn?t.representationEnd+2:t.representationEnd+1,["4.3.5. Consume a string token","Unexpected newline"],a)),a}if(o===n)return[z.String,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];if(o!==92)o===0||Yi(o)?r+=String.fromCodePoint(Rr):r+=String.fromCodePoint(o);else{if(t.source.codePointAt(t.cursor)===void 0)continue;if(Wm((i=t.source.codePointAt(t.cursor))!=null?i:-1)){t.source.codePointAt(t.cursor)===Cn&&t.source.codePointAt(t.cursor+1)===zn&&t.advanceCodePoint(),t.advanceCodePoint();continue}r+=String.fromCodePoint(Ah(e,t))}}}function e7(e){return!(e.length!==3||e[0]!==117&&e[0]!==85||e[1]!==114&&e[1]!==82||e[2]!==108&&e[2]!==76)}function pg(e,t){for(;;){let r=t.source.codePointAt(t.cursor);if(r===void 0)return;if(r===41)return void t.advanceCodePoint();ao(t)?(t.advanceCodePoint(),Ah(e,t)):t.advanceCodePoint()}}function t7(e,t){var n,i,o,a;for(;wn((n=t.source.codePointAt(t.cursor))!=null?n:-1);)t.advanceCodePoint();let r="";for(;;){if(t.source.codePointAt(t.cursor)===void 0){let l=[z.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];return e.onParseError(new kr(ir.UnexpectedEOFInURL,t.representationStart,t.representationEnd,["4.3.6. Consume a url token","Unexpected EOF"],l)),l}if(t.source.codePointAt(t.cursor)===41)return t.advanceCodePoint(),[z.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];if(wn((i=t.source.codePointAt(t.cursor))!=null?i:-1)){for(t.advanceCodePoint();wn((o=t.source.codePointAt(t.cursor))!=null?o:-1);)t.advanceCodePoint();if(t.source.codePointAt(t.cursor)===void 0){let l=[z.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];return e.onParseError(new kr(ir.UnexpectedEOFInURL,t.representationStart,t.representationEnd,["4.3.6. Consume a url token","Consume as much whitespace as possible","Unexpected EOF"],l)),l}return t.source.codePointAt(t.cursor)===41?(t.advanceCodePoint(),[z.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}]):(pg(e,t),[z.BadURL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0])}let s=t.source.codePointAt(t.cursor);if(s===34||s===39||s===40||U8(s!=null?s:-1)){pg(e,t);let l=[z.BadURL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new kr(ir.UnexpectedCharacterInURL,t.representationStart,t.representationEnd,["4.3.6. Consume a url token",`Unexpected U+0022 QUOTATION MARK ("), U+0027 APOSTROPHE ('), U+0028 LEFT PARENTHESIS (() or non-printable code point`],l)),l}if(s===92){if(ao(t)){t.advanceCodePoint(),r+=String.fromCodePoint(Ah(e,t));continue}pg(e,t);let l=[z.BadURL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new kr(ir.InvalidEscapeSequenceInURL,t.representationStart,t.representationEnd,["4.3.6. Consume a url token","U+005C REVERSE SOLIDUS (\\)","The input stream does not start with a valid escape sequence"],l)),l}t.source.codePointAt(t.cursor)===0||Yi((a=t.source.codePointAt(t.cursor))!=null?a:-1)?(r+=String.fromCodePoint(Rr),t.advanceCodePoint()):(r+=t.source[t.cursor],t.advanceCodePoint())}}function mg(e,t){var n,i;let r=Nh(e,t);if(t.source.codePointAt(t.cursor)!==40)return[z.Ident,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...r)}];if(e7(r)){t.advanceCodePoint();let o=0;for(;;){let a=wn((n=t.source.codePointAt(t.cursor))!=null?n:-1),s=wn((i=t.source.codePointAt(t.cursor+1))!=null?i:-1);if(a&&s){o+=1,t.advanceCodePoint(1);continue}let l=a?t.source.codePointAt(t.cursor+1):t.source.codePointAt(t.cursor);if(l===34||l===39)return o>0&&t.unreadCodePoint(o),[z.Function,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...r)}];break}return t7(e,t)}return t.advanceCodePoint(),[z.Function,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...r)}]}function r7(e){var t;return!(e.source.codePointAt(e.cursor)!==117&&e.source.codePointAt(e.cursor)!==85||e.source.codePointAt(e.cursor+1)!==An||e.source.codePointAt(e.cursor+2)!==63&&!Fi((t=e.source.codePointAt(e.cursor+2))!=null?t:-1))}function n7(e,t){var s;t.advanceCodePoint(2);let r=[],n=[],i;for(;(i=t.source.codePointAt(t.cursor))!==void 0&&r.length<6&&Fi(i);)r.push(i),t.advanceCodePoint();for(;(i=t.source.codePointAt(t.cursor))!==void 0&&r.length<6&&i===63;)n.length===0&&n.push(...r),r.push(48),n.push(70),t.advanceCodePoint();if(!n.length&&t.source.codePointAt(t.cursor)===ot&&Fi((s=t.source.codePointAt(t.cursor+1))!=null?s:-1))for(t.advanceCodePoint();(i=t.source.codePointAt(t.cursor))!==void 0&&n.length<6&&Fi(i);)n.push(i),t.advanceCodePoint();if(!n.length){let l=parseInt(String.fromCodePoint(...r),16);return[z.UnicodeRange,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{startOfRange:l,endOfRange:l}]}let o=parseInt(String.fromCodePoint(...r),16),a=parseInt(String.fromCodePoint(...n),16);return[z.UnicodeRange,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{startOfRange:o,endOfRange:a}]}function St(e,t){let r=s3(e,t),n=[];for(;!r.endOfFile();)n.push(r.nextToken());return n.push(r.nextToken()),n}function s3(e,t){var a,s;let r=e.css.valueOf(),n=(a=e.unicodeRangesAllowed)!=null?a:!1,i=new m3(r),o={onParseError:(s=t==null?void 0:t.onParseError)!=null?s:i7};return{nextToken:function(){i.resetRepresentation();let l=i.source.codePointAt(i.cursor);if(l===void 0)return[z.EOF,"",-1,-1,void 0];if(l===47&&V8(i))return K8(o,i);if(n&&(l===117||l===85)&&r7(i))return n7(0,i);if(Qi(l))return mg(o,i);if(Gt(l))return dg(o,i);switch(l){case 44:return i.advanceCodePoint(),[z.Comma,",",i.representationStart,i.representationEnd,void 0];case 58:return i.advanceCodePoint(),[z.Colon,":",i.representationStart,i.representationEnd,void 0];case 59:return i.advanceCodePoint(),[z.Semicolon,";",i.representationStart,i.representationEnd,void 0];case 40:return i.advanceCodePoint(),[z.OpenParen,"(",i.representationStart,i.representationEnd,void 0];case 41:return i.advanceCodePoint(),[z.CloseParen,")",i.representationStart,i.representationEnd,void 0];case 91:return i.advanceCodePoint(),[z.OpenSquare,"[",i.representationStart,i.representationEnd,void 0];case 93:return i.advanceCodePoint(),[z.CloseSquare,"]",i.representationStart,i.representationEnd,void 0];case 123:return i.advanceCodePoint(),[z.OpenCurly,"{",i.representationStart,i.representationEnd,void 0];case 125:return i.advanceCodePoint(),[z.CloseCurly,"}",i.representationStart,i.representationEnd,void 0];case 39:case 34:return X8(o,i);case 35:return H8(o,i);case An:case 46:return cS(i)?dg(o,i):(i.advanceCodePoint(),[z.Delim,i.source[i.representationStart],i.representationStart,i.representationEnd,{value:i.source[i.representationStart]}]);case zn:case Cn:case 12:case 9:case 32:return Z8(i);case ot:return cS(i)?dg(o,i):Q8(i)?(i.advanceCodePoint(3),[z.CDC,"-->",i.representationStart,i.representationEnd,void 0]):_m(0,i)?mg(o,i):(i.advanceCodePoint(),[z.Delim,"-",i.representationStart,i.representationEnd,{value:"-"}]);case 60:return $8(i)?(i.advanceCodePoint(4),[z.CDO,"<!--",i.representationStart,i.representationEnd,void 0]):(i.advanceCodePoint(),[z.Delim,"<",i.representationStart,i.representationEnd,{value:"<"}]);case 64:if(i.advanceCodePoint(),_m(0,i)){let u=Nh(o,i);return[z.AtKeyword,i.source.slice(i.representationStart,i.representationEnd+1),i.representationStart,i.representationEnd,{value:String.fromCodePoint(...u)}]}return[z.Delim,"@",i.representationStart,i.representationEnd,{value:"@"}];case 92:{if(ao(i))return mg(o,i);i.advanceCodePoint();let u=[z.Delim,"\\",i.representationStart,i.representationEnd,{value:"\\"}];return o.onParseError(new kr(ir.InvalidEscapeSequenceAfterBackslash,i.representationStart,i.representationEnd,["4.3.1. Consume a token","U+005C REVERSE SOLIDUS (\\)","The input stream does not start with a valid escape sequence"],u)),u}}return i.advanceCodePoint(),[z.Delim,i.source[i.representationStart],i.representationStart,i.representationEnd,{value:i.source[i.representationStart]}]},endOfFile:function(){return i.source.codePointAt(i.cursor)===void 0}}}function i7(){}function o7(e,t){let r=[];for(let i of t)r.push(i.codePointAt(0));let n=String.fromCodePoint(...l3(r));e[1]=n,e[4].value=t}function Eh(e,t){let r=[];for(let s of t)r.push(s.codePointAt(0));let n=l3(r);n[0]===101&&Ny(n,0,n[0]);let i=String.fromCodePoint(...n),o=e[4].signCharacter==="+"?e[4].signCharacter:"",a=e[4].value.toString();e[1]=`${o}${a}${i}`,e[4].unit=t}function l3(e){let t=0;if(e[0]===0)e.splice(0,1,Rr),t=1;else if(e[0]===ot&&e[1]===ot)t=2;else if(e[0]===ot&&e[1])t=2,Qi(e[1])||(t+=Ny(e,1,e[1]));else{if(e[0]===ot&&!e[1])return[92,e[0]];Qi(e[0])?t=1:(t=1,t+=Ny(e,0,e[0]))}for(let r=t;r<e.length;r++)e[r]!==0?Ck(e[r])||(r+=a7(e,r,e[r])):(e.splice(r,1,Rr),r++);return e}function a7(e,t,r){return e.splice(t,1,92,r),1}function Ny(e,t,r){let n=r.toString(16),i=[];for(let o of n)i.push(o.codePointAt(0));return e.splice(t,1,92,...i,32),1+i.length}function ed(e){return!!Array.isArray(e)&&!(e.length<4)&&!!h3.includes(e[0])&&typeof e[1]=="string"&&typeof e[2]=="number"&&typeof e[3]=="number"}function tt(e){if(!e)return!1;switch(e[0]){case z.Dimension:case z.Number:case z.Percentage:return!0;default:return!1}}function Et(e){if(!e)return!1;switch(e[0]){case z.Whitespace:case z.Comment:return!0;default:return!1}}function u3(e){return!!e&&e[0]===z.Colon}function rn(e){return!!e&&e[0]===z.Comma}function Ph(e){return!!e&&e[0]===z.Comment}function qt(e){return!!e&&e[0]===z.Delim}function Ee(e){return!!e&&e[0]===z.Dimension}function Kt(e){return!!e&&e[0]===z.EOF}function s7(e){return!!e&&e[0]===z.Function}function Ye(e){return!!e&&e[0]===z.Ident}function Ae(e){return!!e&&e[0]===z.Number}function Ge(e){return!!e&&e[0]===z.Percentage}function c3(e){return!!e&&e[0]===z.Semicolon}function l7(e){return!!e&&e[0]===z.String}function u7(e){return!!e&&e[0]===z.URL}function zk(e){return!!e&&e[0]===z.Whitespace}function so(e){return!!e&&e[0]===z.OpenParen}function c7(e){return!!e&&e[0]===z.CloseParen}function d7(e){return!!e&&e[0]===z.OpenSquare}function d3(e){return!!e&&e[0]===z.OpenCurly}var td,kr,ir,p3,Cn,ot,zn,An,Rr,z,ne,Um,m3,h3,rt=y(()=>{td=class extends Error{constructor(t,r,n,i){super(t);U(this,"sourceStart");U(this,"sourceEnd");U(this,"parserState");this.name="ParseError",this.sourceStart=r,this.sourceEnd=n,this.parserState=i}},kr=class extends td{constructor(t,r,n,i,o){super(t,r,n,i);U(this,"token");this.token=o}},ir={UnexpectedNewLineInString:"Unexpected newline while consuming a string token.",UnexpectedEOFInString:"Unexpected EOF while consuming a string token.",UnexpectedEOFInComment:"Unexpected EOF while consuming a comment.",UnexpectedEOFInURL:"Unexpected EOF while consuming a url token.",UnexpectedEOFInEscapedCodePoint:"Unexpected EOF while consuming an escaped code point.",UnexpectedCharacterInURL:"Unexpected character while consuming a url token.",InvalidEscapeSequenceInURL:"Invalid escape sequence while consuming a url token.",InvalidEscapeSequenceAfterBackslash:'Invalid escape sequence after "\\"'},p3=typeof globalThis<"u"&&"structuredClone"in globalThis,Cn=13,ot=45,zn=10,An=43,Rr=65533,(function(e){e.Comment="comment",e.AtKeyword="at-keyword-token",e.BadString="bad-string-token",e.BadURL="bad-url-token",e.CDC="CDC-token",e.CDO="CDO-token",e.Colon="colon-token",e.Comma="comma-token",e.Delim="delim-token",e.Dimension="dimension-token",e.EOF="EOF-token",e.Function="function-token",e.Hash="hash-token",e.Ident="ident-token",e.Number="number-token",e.Percentage="percentage-token",e.Semicolon="semicolon-token",e.String="string-token",e.URL="url-token",e.Whitespace="whitespace-token",e.OpenParen="(-token",e.CloseParen=")-token",e.OpenSquare="[-token",e.CloseSquare="]-token",e.OpenCurly="{-token",e.CloseCurly="}-token",e.UnicodeRange="unicode-range-token"})(z||(z={})),(function(e){e.Integer="integer",e.Number="number"})(ne||(ne={})),(function(e){e.Unrestricted="unrestricted",e.ID="id"})(Um||(Um={})),m3=class{constructor(e){U(this,"cursor",0);U(this,"source","");U(this,"representationStart",0);U(this,"representationEnd",-1);this.source=e}advanceCodePoint(e=1){this.cursor=this.cursor+e,this.representationEnd=this.cursor-1}readCodePoint(){let e=this.source.codePointAt(this.cursor);if(e!==void 0)return this.cursor=this.cursor+1,this.representationEnd=this.cursor-1,e}unreadCodePoint(e=1){this.cursor=this.cursor-e,this.representationEnd=this.cursor-1}resetRepresentation(){this.representationStart=this.cursor,this.representationEnd=-1}},h3=Object.values(z)});function Ei(e){let t=e.slice();return(r,n,i)=>{let o=-1;for(let a=t.indexOf(n);a<t.length&&(o=r.indexOf(t[a]),o===-1||o<i);a++);return o===-1||o===i&&n===r[i]&&(o++,o>=r.length)?-1:(t=r.slice(),o)}}function jh(e,t){let r=t[0];if(so(r)||d3(r)||d7(r)){let n=m7(e,t);return{advance:n.advance,node:n.node}}if(s7(r)){let n=p7(e,t);return{advance:n.advance,node:n.node}}if(zk(r)){let n=f3(e,t);return{advance:n.advance,node:n.node}}if(Ph(r)){let n=h7(e,t);return{advance:n.advance,node:n.node}}return{advance:1,node:new he(r)}}function p7(e,t){let r=[],n=1;for(;;){let i=t[n];if(!i||Kt(i))return e.onParseError(new td("Unexpected EOF while consuming a function.",t[0][2],t[t.length-1][3],["5.4.9. Consume a function","Unexpected EOF"])),{advance:t.length,node:new $t(t[0],i,r)};if(c7(i))return{advance:n+1,node:new $t(t[0],i,r)};if(Et(i)){let a=g3(e,t.slice(n));n+=a.advance,r.push(...a.nodes);continue}let o=jh(e,t.slice(n));n+=o.advance,r.push(o.node)}}function m7(e,t){let r=Y8(t[0][0]);if(!r)throw new Error("Failed to parse, a mirror variant must exist for all block open tokens.");let n=[],i=1;for(;;){let o=t[i];if(!o||Kt(o))return e.onParseError(new td("Unexpected EOF while consuming a simple block.",t[0][2],t[t.length-1][3],["5.4.8. Consume a simple block","Unexpected EOF"])),{advance:t.length,node:new Vm(t[0],o,n)};if(o[0]===r)return{advance:i+1,node:new Vm(t[0],o,n)};if(Et(o)){let s=g3(e,t.slice(i));i+=s.advance,n.push(...s.nodes);continue}let a=jh(e,t.slice(i));i+=a.advance,n.push(a.node)}}function f3(e,t){let r=0;for(;;){let n=t[r];if(!zk(n))return{advance:r,node:new It(t.slice(0,r))};r++}}function h7(e,t){return{advance:1,node:new Ih(t[0])}}function g3(e,t){let r=[],n=0;for(;;){if(zk(t[n])){let i=f3(0,t.slice(n));n+=i.advance,r.push(i.node);continue}if(!Ph(t[n]))return{advance:n,nodes:r};r.push(new Ih(t[n])),n++}}function lo(e,t){var a;let r={onParseError:(a=t==null?void 0:t.onParseError)!=null?a:(()=>{})},n=[...e];Kt(n[n.length-1])&&n.push([z.EOF,"",n[n.length-1][2],n[n.length-1][3],void 0]);let i=[],o=0;for(;;){if(!n[o]||Kt(n[o]))return i;let s=jh(r,n.slice(o));i.push(s.node),o+=s.advance}}function b3(e,t){var s;let r={onParseError:(s=t==null?void 0:t.onParseError)!=null?s:(()=>{})},n=[...e];if(e.length===0)return[];Kt(n[n.length-1])&&n.push([z.EOF,"",n[n.length-1][2],n[n.length-1][3],void 0]);let i=[],o=[],a=0;for(;;){if(!n[a]||Kt(n[a]))return o.length&&i.push(o),i;if(rn(n[a])){i.push(o),o=[],a++;continue}let l=jh(r,e.slice(a));o.push(l.node),a+=l.advance}}function f7(e,t,r){if(e.length===0)return;let n=Ei(e),i=0;for(;i<e.length;){let o=e[i],a;if(r&&(a={...r}),t({node:o,parent:{value:e},state:a},i)===!1)return!1;if(i=n(e,o,i),i===-1)break}}function Dn(e,t,r){e.length!==0&&f7(e,(n,i)=>t(n,i)!==!1&&(!("walk"in n.node)||!e.includes(n.node)||n.node.walk(t,n.state)!==!1)&&void 0,r)}function v3(e){return e.map(t=>t.map(r=>ke(...r.tokens())).join("")).join(",")}function Dr(e){return Vm.isSimpleBlockNode(e)}function He(e){return $t.isFunctionNode(e)}function rd(e){return It.isWhitespaceNode(e)}function Ak(e){return Ih.isCommentNode(e)}function jt(e){return rd(e)||Ak(e)}function ce(e){return he.isTokenNode(e)}function Wt(e){if(Array.isArray(e)){let i=e[0];if(!i)return[0,0];let o=e[e.length-1]||i;return[Wt(i)[0],Wt(o)[1]]}let t=e.tokens(),r=t[0],n=t[t.length-1];return r&&n?[r[2],n[3]]:[0,0]}var je,hg,$t,Vm,It,Ih,he,Ct=y(()=>{rt(),(function(e){e.Function="function",e.SimpleBlock="simple-block",e.Whitespace="whitespace",e.Comment="comment",e.Token="token"})(je||(je={})),hg=class{constructor(){U(this,"value",[])}indexOf(e){return this.value.indexOf(e)}at(e){if(typeof e=="number")return e<0&&(e=this.value.length+e),this.value[e]}forEach(e,t){if(this.value.length===0)return;let r=Ei(this.value),n=0;for(;n<this.value.length;){let i=this.value[n],o;if(t&&(o={...t}),e({node:i,parent:this,state:o},n)===!1)return!1;if(n=r(this.value,i,n),n===-1)break}}walk(e,t){this.value.length!==0&&this.forEach((r,n)=>e(r,n)!==!1&&(!("walk"in r.node)||!this.value.includes(r.node)||r.node.walk(e,r.state)!==!1)&&void 0,t)}},$t=class Ey extends hg{constructor(r,n,i){super();U(this,"type",je.Function);U(this,"name");U(this,"endToken");this.name=r,this.endToken=n,this.value=i}getName(){return this.name[4].value}normalize(){Kt(this.endToken)&&(this.endToken=[z.CloseParen,")",-1,-1,void 0])}tokens(){return Kt(this.endToken)?[this.name,...this.value.flatMap(r=>r.tokens())]:[this.name,...this.value.flatMap(r=>r.tokens()),this.endToken]}toString(){let r=this.value.map(n=>ed(n)?ke(n):n.toString()).join("");return ke(this.name)+r+ke(this.endToken)}toJSON(){return{type:this.type,name:this.getName(),tokens:this.tokens(),value:this.value.map(r=>r.toJSON())}}isFunctionNode(){return Ey.isFunctionNode(this)}static isFunctionNode(r){return!!r&&r instanceof Ey&&r.type===je.Function}},Vm=class Py extends hg{constructor(r,n,i){super();U(this,"type",je.SimpleBlock);U(this,"startToken");U(this,"endToken");this.startToken=r,this.endToken=n,this.value=i}normalize(){if(Kt(this.endToken)){let r=G8(this.startToken);r&&(this.endToken=r)}}tokens(){return Kt(this.endToken)?[this.startToken,...this.value.flatMap(r=>r.tokens())]:[this.startToken,...this.value.flatMap(r=>r.tokens()),this.endToken]}toString(){let r=this.value.map(n=>ed(n)?ke(n):n.toString()).join("");return ke(this.startToken)+r+ke(this.endToken)}toJSON(){return{type:this.type,startToken:this.startToken,tokens:this.tokens(),value:this.value.map(r=>r.toJSON())}}isSimpleBlockNode(){return Py.isSimpleBlockNode(this)}static isSimpleBlockNode(r){return!!r&&r instanceof Py&&r.type===je.SimpleBlock}},It=class jy{constructor(t){U(this,"type",je.Whitespace);U(this,"value");this.value=t}tokens(){return this.value}toString(){return ke(...this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isWhitespaceNode(){return jy.isWhitespaceNode(this)}static isWhitespaceNode(t){return!!t&&t instanceof jy&&t.type===je.Whitespace}},Ih=class Iy{constructor(t){U(this,"type",je.Comment);U(this,"value");this.value=t}tokens(){return[this.value]}toString(){return ke(this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isCommentNode(){return Iy.isCommentNode(this)}static isCommentNode(t){return!!t&&t instanceof Iy&&t.type===je.Comment}},he=class Oy{constructor(t){U(this,"type",je.Token);U(this,"value");this.value=t}tokens(){return[this.value]}toString(){return this.value[1]}toJSON(){return{type:this.type,tokens:this.tokens()}}isTokenNode(){return Oy.isTokenNode(this)}static isTokenNode(t){return!!t&&t instanceof Oy&&t.type===je.Token}}});function Ot(e){return e.replace(k3,t=>String.fromCharCode(t.charCodeAt(0)+32))}function ht(e,t){if(!Ee(e)||!Ee(t))return t;let r=Ot(e[4].unit),n=Ot(t[4].unit);if(r===n)return t;let i=Pk.get(n);if(!i)return t;let o=i.get(r);if(!o)return t;let a=o(t[4].value),s=[z.Dimension,"",t[2],t[3],{...t[4],signCharacter:a<0?"-":void 0,type:Number.isInteger(a)?ne.Integer:ne.Number,value:a}];return Eh(s,e[4].unit),s}function g7(e){if(!Ee(e))return e;let t=Ot(e[4].unit),r=x3[t];if(t===r)return e;let n=Pk.get(t);if(!n)return e;let i=n.get(r);if(!i)return e;let o=i(e[4].value),a=[z.Dimension,"",e[2],e[3],{...e[4],signCharacter:o<0?"-":void 0,type:Number.isInteger(o)?ne.Integer:ne.Number,value:o}];return Eh(a,r),a}function b7(e,t){var i;if(e.length!==2)return-1;let r=e[0].value,n=e[1].value;if(Ae(r)&&Ae(n)){let o=r[4].value+n[4].value;return new he([z.Number,o.toString(),r[2],n[3],{value:o,type:r[4].type===ne.Integer&&n[4].type===ne.Integer?ne.Integer:ne.Number}])}if(Ge(r)&&Ge(n)){let o=r[4].value+n[4].value;return new he([z.Percentage,o.toString()+"%",r[2],n[3],{value:o}])}if(Ee(r)&&Ee(n)&&(n=ht(r,n),Ot(r[4].unit)===Ot(n[4].unit))){let o=r[4].value+n[4].value;return new he([z.Dimension,o.toString()+r[4].unit,r[2],n[3],{value:o,type:r[4].type===ne.Integer&&n[4].type===ne.Integer?ne.Integer:ne.Number,unit:r[4].unit}])}return(Ae(r)&&(Ee(n)||Ge(n))||Ae(n)&&(Ee(r)||Ge(r)))&&((i=t.onParseError)==null||i.call(t,new Ek(nd.UnexpectedAdditionOfDimensionOrPercentageWithNumber,e))),-1}function v7(e){if(e.length!==2)return-1;let t=e[0].value,r=e[1].value;if(Ae(t)&&Ae(r)){let n=t[4].value/r[4].value;return new he([z.Number,n.toString(),t[2],r[3],{value:n,type:Number.isInteger(n)?ne.Integer:ne.Number}])}if(Ge(t)&&Ae(r)){let n=t[4].value/r[4].value;return new he([z.Percentage,n.toString()+"%",t[2],r[3],{value:n}])}if(Ee(t)&&Ae(r)){let n=t[4].value/r[4].value;return new he([z.Dimension,n.toString()+t[4].unit,t[2],r[3],{value:n,type:Number.isInteger(n)?ne.Integer:ne.Number,unit:t[4].unit}])}return-1}function un(e){return!!e&&typeof e=="object"&&"inputs"in e&&Array.isArray(e.inputs)&&"operation"in e}function xt(e,t){if(e===-1)return-1;let r=[];for(let n=0;n<e.inputs.length;n++){let i=e.inputs[n];if(ce(i)){r.push(i);continue}let o=xt(i,t);if(o===-1)return-1;r.push(o)}return e.operation(r,t)}function y7(e){if(e.length!==2)return-1;let t=e[0].value,r=e[1].value;if(Ae(t)&&Ae(r)){let n=t[4].value*r[4].value;return new he([z.Number,n.toString(),t[2],r[3],{value:n,type:t[4].type===ne.Integer&&r[4].type===ne.Integer?ne.Integer:ne.Number}])}if(Ge(t)&&Ae(r)){let n=t[4].value*r[4].value;return new he([z.Percentage,n.toString()+"%",t[2],r[3],{value:n}])}if(Ae(t)&&Ge(r)){let n=t[4].value*r[4].value;return new he([z.Percentage,n.toString()+"%",t[2],r[3],{value:n}])}if(Ee(t)&&Ae(r)){let n=t[4].value*r[4].value;return new he([z.Dimension,n.toString()+t[4].unit,t[2],r[3],{value:n,type:t[4].type===ne.Integer&&r[4].type===ne.Integer?ne.Integer:ne.Number,unit:t[4].unit}])}if(Ae(t)&&Ee(r)){let n=t[4].value*r[4].value;return new he([z.Dimension,n.toString()+r[4].unit,t[2],r[3],{value:n,type:t[4].type===ne.Integer&&r[4].type===ne.Integer?ne.Integer:ne.Number,unit:r[4].unit}])}return-1}function Gi(e,t){for(let r=0;r<e.length;r++){let n=e[r];if(!ce(n))continue;let i=n.value;if(!Ye(i))continue;let o=Ot(i[4].value);switch(o){case"e":e.splice(r,1,new he([z.Number,Math.E.toString(),i[2],i[3],{value:Math.E,type:ne.Number}]));break;case"pi":e.splice(r,1,new he([z.Number,Math.PI.toString(),i[2],i[3],{value:Math.PI,type:ne.Number}]));break;case"infinity":e.splice(r,1,new he([z.Number,"infinity",i[2],i[3],{value:1/0,type:ne.Number}]));break;case"-infinity":e.splice(r,1,new he([z.Number,"-infinity",i[2],i[3],{value:-1/0,type:ne.Number}]));break;case"nan":e.splice(r,1,new he([z.Number,"NaN",i[2],i[3],{value:Number.NaN,type:ne.Number}]));break;default:if(t.has(o)){let a=t.get(o);e.splice(r,1,new he(a))}}}return e}function Oh(e){if(e.length!==1)return-1;let t=e[0].value;return tt(t)?e[0]:-1}function mt(e,t,r){return Ee(t)?zd(e,t[4].unit,r):Ge(t)?w7(e,r):Ae(t)?Ar(e,r):-1}function zd(e,t,r){let n=e.tokens();return{inputs:[new he([z.Dimension,r.toString()+t,n[0][2],n[n.length-1][3],{value:r,type:Number.isInteger(r)?ne.Integer:ne.Number,unit:t}])],operation:Oh}}function w7(e,t){let r=e.tokens();return{inputs:[new he([z.Percentage,t.toString()+"%",r[0][2],r[r.length-1][3],{value:t}])],operation:Oh}}function Ar(e,t){let r=e.tokens();return{inputs:[new he([z.Number,t.toString(),r[0][2],r[r.length-1][3],{value:t,type:Number.isInteger(t)?ne.Integer:ne.Number}])],operation:Oh}}function k7(e,t){let r=t.value;return Ae(r)?zd(e,"rad",Math.acos(r[4].value)):-1}function x7(e,t){let r=t.value;return Ae(r)?zd(e,"rad",Math.asin(r[4].value)):-1}function S7(e,t){let r=t.value;return Ae(r)?zd(e,"rad",Math.atan(r[4].value)):-1}function Th(e){return Ee(e)||Ae(e)}function Nk(e){if(e.length===0)return!0;let t=e[0];if(!tt(t))return!1;if(e.length===1)return!0;if(Ee(t)){let r=Ot(t[4].unit);for(let n=1;n<e.length;n++){let i=e[n];if(t[0]!==i[0]||r!==Ot(i[4].unit))return!1}return!0}for(let r=1;r<e.length;r++){let n=e[r];if(t[0]!==n[0])return!1}return!0}function Nr(e,t){return!!tt(e)&&(Ee(e)?e[0]===t[0]&&Ot(e[4].unit)===Ot(t[4].unit):e[0]===t[0])}function C7(e,t,r){let n=t.value;if(!Th(n))return-1;let i=ht(n,r.value);return Nr(n,i)?zd(e,"rad",Math.atan2(n[4].value,i[4].value)):-1}function z7(e,t,r){let n=t.value;return!tt(n)||!r.rawPercentages&&Ge(n)?-1:mt(e,n,Math.abs(n[4].value))}function A7(e,t,r,n,i){if(!ce(t)||!ce(r)||!ce(n))return-1;let o=t.value;if(!tt(o)||!i.rawPercentages&&Ge(o))return-1;let a=ht(o,r.value);if(!Nr(o,a))return-1;let s=ht(o,n.value);return Nr(o,s)?mt(e,o,Math.max(o[4].value,Math.min(a[4].value,s[4].value))):-1}function N7(e,t){let r=t.value;if(!Th(r))return-1;let n=r[4].value;if(Ee(r))switch(r[4].unit.toLowerCase()){case"rad":break;case"deg":n=id.get("rad")(r[4].value);break;case"grad":n=Ki.get("rad")(r[4].value);break;case"turn":n=Hi.get("rad")(r[4].value);break;default:return-1}return n=Math.cos(n),Ar(e,n)}function E7(e,t){let r=t.value;return Ae(r)?Ar(e,Math.exp(r[4].value)):-1}function P7(e,t,r){if(!t.every(ce))return-1;let n=t[0].value;if(!tt(n)||!r.rawPercentages&&Ge(n))return-1;let i=t.map(s=>ht(n,s.value));if(!Nk(i))return-1;let o=i.map(s=>s[4].value),a=Math.hypot(...o);return mt(e,n,a)}function dS(e,t,r){if(!t.every(ce))return-1;let n=t[0].value;if(!tt(n)||!r.rawPercentages&&Ge(n))return-1;let i=t.map(s=>ht(n,s.value));if(!Nk(i))return-1;let o=i.map(s=>s[4].value),a=Math.max(...o);return mt(e,n,a)}function pS(e,t,r){if(!t.every(ce))return-1;let n=t[0].value;if(!tt(n)||!r.rawPercentages&&Ge(n))return-1;let i=t.map(s=>ht(n,s.value));if(!Nk(i))return-1;let o=i.map(s=>s[4].value),a=Math.min(...o);return mt(e,n,a)}function j7(e,t,r){let n=t.value;if(!tt(n))return-1;let i=ht(n,r.value);if(!Nr(n,i))return-1;let o;return o=i[4].value===0?Number.NaN:Number.isFinite(n[4].value)&&(Number.isFinite(i[4].value)||(i[4].value!==Number.POSITIVE_INFINITY||n[4].value!==Number.NEGATIVE_INFINITY&&!Object.is(0*n[4].value,-0))&&(i[4].value!==Number.NEGATIVE_INFINITY||n[4].value!==Number.POSITIVE_INFINITY&&!Object.is(0*n[4].value,0)))?Number.isFinite(i[4].value)?(n[4].value%i[4].value+i[4].value)%i[4].value:n[4].value:Number.NaN,mt(e,n,o)}function I7(e,t,r){let n=t.value,i=r.value;return!Ae(n)||!Nr(n,i)?-1:Ar(e,Math.pow(n[4].value,i[4].value))}function O7(e,t,r){let n=t.value;if(!tt(n))return-1;let i=ht(n,r.value);if(!Nr(n,i))return-1;let o;return o=i[4].value===0?Number.NaN:Number.isFinite(n[4].value)?Number.isFinite(i[4].value)?n[4].value%i[4].value:n[4].value:Number.NaN,mt(e,n,o)}function y3(e,t,r){var a;if(!Ee(t))return-1;let n=(a=r.devicePixelLength)!=null?a:1,i=[z.Dimension,`${n}px`,t[2],t[3],{value:n,type:ne.Integer,unit:"px"}],o=ht(i,t);if(!Nr(o,i)||o[4].value<0)return-1;if(Number.isInteger(o[4].value/n))return mt(e,t,t[4].value);if(o[4].value>0&&o[4].value<n)return mt(e,t,ht(t,i)[4].value);if(o[4].value>n){let s=Math.floor(o[4].value/i[4].value)*i[4].value;return o[4].value=s,mt(e,t,ht(t,o)[4].value)}return mt(e,t,t[4].value)}function T7(e,t,r,n,i){let o=r.value;if(!tt(o)||t==="line-width"&&!Ee(o)||!i.rawPercentages&&Ge(o))return-1;let a=ht(o,n.value);if(!Nr(o,a))return-1;let s;if(a[4].value===0)s=Number.NaN;else if(Number.isFinite(o[4].value)||Number.isFinite(a[4].value))if(!Number.isFinite(o[4].value)&&Number.isFinite(a[4].value))s=o[4].value;else if(Number.isFinite(o[4].value)&&!Number.isFinite(a[4].value))switch(t){case"down":s=o[4].value<0?-1/0:Object.is(-0,0*o[4].value)?-0:0;break;case"up":s=o[4].value>0?1/0:Object.is(0,0*o[4].value)?0:-0;break;default:s=Object.is(0,0*o[4].value)?0:-0}else switch(t){case"down":s=Math.floor(o[4].value/a[4].value)*a[4].value;break;case"up":s=Math.ceil(o[4].value/a[4].value)*a[4].value;break;case"to-zero":s=Math.trunc(o[4].value/a[4].value)*a[4].value;break;default:{let l=Math.floor(o[4].value/a[4].value)*a[4].value,u=Math.ceil(o[4].value/a[4].value)*a[4].value;if(l>u){let p=l;l=u,u=p}let c=Math.abs(o[4].value-l),d=Math.abs(o[4].value-u);if(s=t==="line-width"&&o[4].value>0&&(u===0||l===0)?u!==0?u:l:c===d?u:c<d?l:u,t==="line-width"){let p=xt(mt(e,o,s),i);return p===-1?-1:y3(e,p.value,i)}break}}else s=Number.NaN;return mt(e,o,s)}function D7(e,t,r){let n=t.value;return!tt(n)||!r.rawPercentages&&Ge(n)?-1:Ar(e,Math.sign(n[4].value))}function L7(e,t){let r=t.value;if(!Th(r))return-1;let n=r[4].value;if(Ee(r))switch(Ot(r[4].unit)){case"rad":break;case"deg":n=id.get("rad")(r[4].value);break;case"grad":n=Ki.get("rad")(r[4].value);break;case"turn":n=Hi.get("rad")(r[4].value);break;default:return-1}return n=Math.sin(n),Ar(e,n)}function F7(e,t){let r=t.value;return Ae(r)?Ar(e,Math.sqrt(r[4].value)):-1}function M7(e,t){let r=t.value;if(!Th(r))return-1;let n=r[4].value,i=0,o=r[4].value;if(Ee(r))switch(Ot(r[4].unit)){case"rad":i=Dy.get("deg")(n);break;case"deg":i=n,o=id.get("rad")(n);break;case"grad":i=Ki.get("deg")(n),o=Ki.get("rad")(n);break;case"turn":i=Hi.get("deg")(n),o=Hi.get("rad")(n);break;default:return-1}let a=i/90;return o=i%90==0&&a%2!=0?a>0?1/0:-1/0:Math.tan(o),Ar(e,o)}function R7(e,t){var i;if(e.length!==2)return-1;let r=e[0].value,n=e[1].value;if(Ae(r)&&Ae(n)){let o=r[4].value-n[4].value;return new he([z.Number,o.toString(),r[2],n[3],{value:o,type:r[4].type===ne.Integer&&n[4].type===ne.Integer?ne.Integer:ne.Number}])}if(Ge(r)&&Ge(n)){let o=r[4].value-n[4].value;return new he([z.Percentage,o.toString()+"%",r[2],n[3],{value:o}])}if(Ee(r)&&Ee(n)&&(n=ht(r,n),Ot(r[4].unit)===Ot(n[4].unit))){let o=r[4].value-n[4].value;return new he([z.Dimension,o.toString()+r[4].unit,r[2],n[3],{value:o,type:r[4].type===ne.Integer&&n[4].type===ne.Integer?ne.Integer:ne.Number,unit:r[4].unit}])}return(Ae(r)&&(Ee(n)||Ge(n))||Ae(n)&&(Ee(r)||Ge(r)))&&((i=t.onParseError)==null||i.call(t,new Ek(nd.UnexpectedSubtractionOfDimensionOrPercentageWithNumber,e))),-1}function $7(e,t){if(t.length===1){let r=t[0];if(!r||!ce(r))return-1;let n=r.value;return Ae(n)?Ar(e,Math.log(n[4].value)):-1}if(t.length===2){let r=t[0];if(!r||!ce(r))return-1;let n=r.value;if(!Ae(n))return-1;let i=t[1];if(!i||!ce(i))return-1;let o=i.value;return Ae(o)?Ar(e,Math.log(n[4].value)/Math.log(o[4].value)):-1}return-1}function Ty(e){if(Array.isArray(e)){let r=e.filter(n=>!(rd(n)&&Ak(n)));return r.length===1&&Ty(r[0])}if(!ce(e))return!1;let t=e.value;return!!Ye(t)&&S3.test(t[4].value)}function B7(e,t,r,n,i,o){var m;if(t.fixed===-1&&!o.randomCaching)return-1;o.randomCaching||(o.randomCaching={propertyName:"",propertyN:0,elementID:"",documentID:""}),o.randomCaching&&!o.randomCaching.propertyN&&(o.randomCaching.propertyN=0);let a=r.value;if(!tt(a))return-1;let s=ht(a,n.value);if(!Nr(a,s))return-1;let l=null;if(i&&(l=ht(a,i.value),!Nr(a,l)))return-1;if(!Number.isFinite(a[4].value)||!Number.isFinite(s[4].value)||!Number.isFinite(s[4].value-a[4].value))return mt(e,a,Number.NaN);if(l&&!Number.isFinite(l[4].value))return mt(e,a,a[4].value);let u=t.fixed===-1?q7(W7([t.dashedIdent?t.dashedIdent:`${(m=o.randomCaching)==null?void 0:m.propertyName} ${o.randomCaching.propertyN++}`,t.elementShared?"":o.randomCaching.elementID,o.randomCaching.documentID].join(C3))):()=>t.fixed,c=a[4].value,d=s[4].value;if(c>d&&([c,d]=[d,c]),l&&(l[4].value<=0||Math.abs(c-d)/l[4].value>1e10)&&(l=null),l){let v=Math.max(l[4].value/1e3,1e-9),h=[c],b=0;for(;;){b+=l[4].value;let g=c+b;if(!(g+v<d)){h.push(d);break}if(h.push(g),g+l[4].value-v>d)break}let f=u();return mt(e,a,Number(h[Math.floor(h.length*f)].toFixed(5)))}let p=u();return mt(e,a,Number((p*(d-c)+c).toFixed(5)))}function q7(e=.34944106645296036,t=.19228640875738723,r=.8784393832007205,n=.04850964319275053){return()=>{let i=((e|=0)+(t|=0)|0)+(n|=0)|0;return n=n+1|0,e=t^t>>>9,t=(r|=0)+(r<<3)|0,r=(r=r<<21|r>>>11)+i|0,(i>>>0)/4294967296}}function W7(e){let t,r,n=0;n^=-1;for(let i=0,o=e.length;i<o;i++)r=255&(n^e.charCodeAt(i)),t=+("0x"+"00000000 77073096 EE0E612C 990951BA 076DC419 706AF48F E963A535 9E6495A3 0EDB8832 79DCB8A4 E0D5E91E 97D2D988 09B64C2B 7EB17CBD E7B82D07 90BF1D91 1DB71064 6AB020F2 F3B97148 84BE41DE 1ADAD47D 6DDDE4EB F4D4B551 83D385C7 136C9856 646BA8C0 FD62F97A 8A65C9EC 14015C4F 63066CD9 FA0F3D63 8D080DF5 3B6E20C8 4C69105E D56041E4 A2677172 3C03E4D1 4B04D447 D20D85FD A50AB56B 35B5A8FA 42B2986C DBBBC9D6 ACBCF940 32D86CE3 45DF5C75 DCD60DCF ABD13D59 26D930AC 51DE003A C8D75180 BFD06116 21B4F4B5 56B3C423 CFBA9599 B8BDA50F 2802B89E 5F058808 C60CD9B2 B10BE924 2F6F7C87 58684C11 C1611DAB B6662D3D 76DC4190 01DB7106 98D220BC EFD5102A 71B18589 06B6B51F 9FBFE4A5 E8B8D433 7807C9A2 0F00F934 9609A88E E10E9818 7F6A0DBB 086D3D2D 91646C97 E6635C01 6B6B51F4 1C6C6162 856530D8 F262004E 6C0695ED 1B01A57B 8208F4C1 F50FC457 65B0D9C6 12B7E950 8BBEB8EA FCB9887C 62DD1DDF 15DA2D49 8CD37CF3 FBD44C65 4DB26158 3AB551CE A3BC0074 D4BB30E2 4ADFA541 3DD895D7 A4D1C46D D3D6F4FB 4369E96A 346ED9FC AD678846 DA60B8D0 44042D73 33031DE5 AA0A4C5F DD0D7CC9 5005713C 270241AA BE0B1010 C90C2086 5768B525 206F85B3 B966D409 CE61E49F 5EDEF90E 29D9C998 B0D09822 C7D7A8B4 59B33D17 2EB40D81 B7BD5C3B C0BA6CAD EDB88320 9ABFB3B6 03B6E20C 74B1D29A EAD54739 9DD277AF 04DB2615 73DC1683 E3630B12 94643B84 0D6D6A3E 7A6A5AA8 E40ECF0B 9309FF9D 0A00AE27 7D079EB1 F00F9344 8708A3D2 1E01F268 6906C2FE F762575D 806567CB 196C3671 6E6B06E7 FED41B76 89D32BE0 10DA7A5A 67DD4ACC F9B9DF6F 8EBEEFF9 17B7BE43 60B08ED5 D6D6A3E8 A1D1937E 38D8C2C4 4FDFF252 D1BB67F1 A6BC5767 3FB506DD 48B2364B D80D2BDA AF0A1B4C 36034AF6 41047A60 DF60EFC3 A867DF55 316E8EEF 4669BE79 CB61B38C BC66831A 256FD2A0 5268E236 CC0C7795 BB0B4703 220216B9 5505262F C5BA3BBE B2BD0B28 2BB45A92 5CB36A04 C2D7FFA7 B5D0CF31 2CD99E8B 5BDEAE1D 9B64C2B0 EC63F226 756AA39C 026D930A 9C0906A9 EB0E363F 72076785 05005713 95BF4A82 E2B87A14 7BB12BAE 0CB61B38 92D28E9B E5D5BE0D 7CDCEFB7 0BDBDF21 86D3D2D4 F1D4E242 68DDB3F8 1FDA836E 81BE16CD F6B9265B 6FB077E1 18B74777 88085AE6 FF0F6A70 66063BCA 11010B5C 8F659EFF F862AE69 616BFFD3 166CCF45 A00AE278 D70DD2EE 4E048354 3903B3C2 A7672661 D06016F7 4969474D 3E6E77DB AED16A4A D9D65ADC 40DF0B66 37D83BF0 A9BCAE53 DEBB9EC5 47B2CF7F 30B5FFE9 BDBDF21C CABAC28A 53B39330 24B4A3A6 BAD03605 CDD70693 54DE5729 23D967BF B3667A2E C4614AB8 5D681B02 2A6F2B94 B40BBE37 C30C8EA1 5A05DF1B 2D02EF8D".substring(9*r,9*r+8)),n=n>>>8^t;return(-1^n)>>>0}function kt(e,t,r){let n=Gi([...e.value.filter(o=>!jt(o))],t);if(n.length===1&&ce(n[0]))return{inputs:[n[0]],operation:Oh};let i=0;for(;i<n.length;){let o=n[i];if(Dr(o)&&so(o.startToken)){let a=kt(o,t,r);if(a===-1)return-1;n.splice(i,1,a);continue}if(He(o)){let a=Qm.get(o.getName().toLowerCase());if(!a)return-1;let s=a(o,t,r);if(s===-1)return-1;n.splice(i,1,s);continue}i++}if(i=0,n.length===1&&un(n[0]))return n[0];for(;i<n.length;){let o=n[i];if(!o||!ce(o)&&!un(o)){i++;continue}let a=n[i+1];if(!a||!ce(a)){i++;continue}let s=a.value;if(!qt(s)||s[4].value!=="*"&&s[4].value!=="/"){i++;continue}let l=n[i+2];if(!l||!ce(l)&&!un(l))return-1;s[4].value!=="*"?s[4].value!=="/"?i++:n.splice(i,3,{inputs:[o,l],operation:v7}):n.splice(i,3,{inputs:[o,l],operation:y7})}if(i=0,n.length===1&&un(n[0]))return n[0];for(;i<n.length;){let o=n[i];if(!o||!ce(o)&&!un(o)){i++;continue}let a=n[i+1];if(!a||!ce(a)){i++;continue}let s=a.value;if(!qt(s)||s[4].value!=="+"&&s[4].value!=="-"){i++;continue}let l=n[i+2];if(!l||!ce(l)&&!un(l))return-1;s[4].value!=="+"?s[4].value!=="-"?i++:n.splice(i,3,{inputs:[o,l],operation:R7}):n.splice(i,3,{inputs:[o,l],operation:b7})}return n.length===1&&un(n[0])?n[0]:-1}function br(e,t,r,n){let i=_7(e,t,r);return i===-1?-1:n(e,i,r)}function _7(e,t,r){let n=Gi([...e.value.filter(o=>!jt(o))],t),i=xt(kt(Rt(e,n),t,r),r);return i===-1?-1:i}function Pp(e,t,r,n){let i=U7(e,t,r);if(i===-1)return-1;let[o,a]=i;return n(e,o,a,r)}function U7(e,t,r){let n=Gi([...e.value.filter(l=>!jt(l))],t),i=[],o=[];{let l=i;for(let u=0;u<n.length;u++){let c=n[u];if(ce(c)&&rn(c.value)){if(l===o)return-1;if(l===i){l=o;continue}return-1}l.push(c)}}let a=xt(kt(Rt(e,i),t,r),r);if(a===-1)return-1;let s=xt(kt(Rt(e,o),t,r),r);return s===-1?-1:[a,s]}function jp(e,t,r,n){let i=w3(e,e.value,t,r);return i===-1?-1:n(e,i,r)}function w3(e,t,r,n){let i=Gi([...t.filter(a=>!jt(a))],r),o=[];{let a=[],s=[];for(let l=0;l<i.length;l++){let u=i[l];ce(u)&&rn(u.value)?(a.push(s),s=[]):s.push(u)}a.push(s);for(let l=0;l<a.length;l++){if(a[l].length===0)return-1;let u=xt(kt(Rt(e,a[l]),r,n),n);if(u===-1)return-1;o.push(u)}}return o}function V7(e,t,r,n){let i={isAuto:!1,dashedIdent:"",fixed:-1,elementShared:!1},o=t[0];if(!ce(o)||!Ye(o.value))return[i,t];for(let a=0;a<t.length;a++){let s=t[a];if(!ce(s))return-1;if(rn(s.value))return[i,t.slice(a+1)];if(!Ye(s.value))return-1;let l=s.value[4].value.toLowerCase();if(l!=="element-shared"){if(l==="fixed"){if(i.elementShared||i.dashedIdent||i.isAuto)return-1;a++;let u=t[a];if(!u)return-1;let c=xt(kt(Rt(e,[u]),r,n),n);if(c===-1||!Ae(c.value)||c.value[4].value<0||c.value[4].value>1)return-1;i.fixed=Math.max(0,Math.min(c.value[4].value,1-1e-9));continue}if(l!=="auto"){if(l.startsWith("--")){if(i.fixed!==-1||i.isAuto)return-1;i.dashedIdent=l}}else{if(i.fixed!==-1||i.dashedIdent)return-1;i.isAuto=!0}}else{if(i.fixed!==-1)return-1;i.elementShared=!0}}return-1}function Rt(e,t){return new $t([z.Function,"calc(",e.name[2],e.name[3],{value:"calc"}],[z.CloseParen,")",e.endToken[2],e.endToken[3],void 0],t)}function Q7(e,t,r){return new $t([z.Function,"max(",e.name[2],e.name[3],{value:"max"}],[z.CloseParen,")",e.endToken[2],e.endToken[3],void 0],[t,new he([z.Comma,",",...Wt(t),void 0]),r])}function Y7(e){if(e===-1)return-1;if(He(e))return e;let t=e.value;return tt(t)&&Number.isNaN(t[4].value)?Ae(t)?new $t([z.Function,"calc(",t[2],t[3],{value:"calc"}],[z.CloseParen,")",t[2],t[3],void 0],[new he([z.Ident,"NaN",t[2],t[3],{value:"NaN"}])]):Ee(t)?new $t([z.Function,"calc(",t[2],t[3],{value:"calc"}],[z.CloseParen,")",t[2],t[3],void 0],[new he([z.Ident,"NaN",t[2],t[3],{value:"NaN"}]),new It([[z.Whitespace," ",t[2],t[3],void 0]]),new he([z.Delim,"*",t[2],t[3],{value:"*"}]),new It([[z.Whitespace," ",t[2],t[3],void 0]]),new he([z.Dimension,"1"+t[4].unit,t[2],t[3],{value:1,type:ne.Integer,unit:t[4].unit}])]):Ge(t)?new $t([z.Function,"calc(",t[2],t[3],{value:"calc"}],[z.CloseParen,")",t[2],t[3],void 0],[new he([z.Ident,"NaN",t[2],t[3],{value:"NaN"}]),new It([[z.Whitespace," ",t[2],t[3],void 0]]),new he([z.Delim,"*",t[2],t[3],{value:"*"}]),new It([[z.Whitespace," ",t[2],t[3],void 0]]),new he([z.Percentage,"1%",t[2],t[3],{value:1}])]):-1:e}function G7(e){if(e===-1)return-1;if(He(e))return e;let t=e.value;if(!tt(t)||Number.isFinite(t[4].value)||Number.isNaN(t[4].value))return e;let r="";return Number.NEGATIVE_INFINITY===t[4].value&&(r="-"),Ae(t)?new $t([z.Function,"calc(",t[2],t[3],{value:"calc"}],[z.CloseParen,")",t[2],t[3],void 0],[new he([z.Ident,r+"infinity",t[2],t[3],{value:r+"infinity"}])]):Ee(t)?new $t([z.Function,"calc(",t[2],t[3],{value:"calc"}],[z.CloseParen,")",t[2],t[3],void 0],[new he([z.Ident,r+"infinity",t[2],t[3],{value:r+"infinity"}]),new It([[z.Whitespace," ",t[2],t[3],void 0]]),new he([z.Delim,"*",t[2],t[3],{value:"*"}]),new It([[z.Whitespace," ",t[2],t[3],void 0]]),new he([z.Dimension,"1"+t[4].unit,t[2],t[3],{value:1,type:ne.Integer,unit:t[4].unit}])]):new $t([z.Function,"calc(",t[2],t[3],{value:"calc"}],[z.CloseParen,")",t[2],t[3],void 0],[new he([z.Ident,r+"infinity",t[2],t[3],{value:r+"infinity"}]),new It([[z.Whitespace," ",t[2],t[3],void 0]]),new he([z.Delim,"*",t[2],t[3],{value:"*"}]),new It([[z.Whitespace," ",t[2],t[3],void 0]]),new he([z.Percentage,"1%",t[2],t[3],{value:1}])])}function K7(e){if(e===-1)return-1;if(He(e))return e;let t=e.value;return tt(t)&&Object.is(-0,t[4].value)&&(t[1]==="-0"||(Ge(t)?t[1]="-0%":Ee(t)?t[1]="-0"+t[4].unit:t[1]="-0")),e}function H7(e,t=13){if(e===-1)return-1;if(t<=0||He(e))return e;let r=e.value;if(!tt(r)||Number.isInteger(r[4].value))return e;let n=Number(r[4].value.toFixed(t)).toString();return Ae(r)?r[1]=n:Ge(r)?r[1]=n+"%":Ee(r)&&(r[1]=n+r[4].unit),e}function J7(e){return e===-1?-1:(He(e)||Ee(e.value)&&(e.value=g7(e.value)),e)}function Z7(e,t){let r=e;return t!=null&&t.toCanonicalUnits&&(r=J7(r)),r=H7(r,t==null?void 0:t.precision),r=K7(r),t!=null&&t.censorIntoStandardRepresentableValues||(r=Y7(r),r=G7(r)),r}function X7(e){let t=new Map;if(!e)return t;for(let[r,n]of e)if(ed(n))t.set(r,n);else if(typeof n=="string"){let i=s3({css:n}),o=i.nextToken();if(i.nextToken(),!i.endOfFile()||!tt(o))continue;t.set(r,o);continue}return t}function eU(e,t){let r=X7(t==null?void 0:t.globals);return tU(e,n=>{if(!He(n))return;let i=Qm.get(n.getName().toLowerCase());if(!i)return;let o=Z7(xt(i(n,r,t!=null?t:{}),t!=null?t:{}),t);return o!==-1?o:void 0})}function tU(e,t){for(let r=0;r<e.length;r++){let n=e[r];Dn(n,(i,o)=>{if(typeof o!="number")return;let a=t(i.node);if(!a)return;let s=[a],l=i.parent.value[o-1];ce(l)&&qt(l.value)&&(l.value[4].value==="-"||l.value[4].value==="+")&&s.splice(0,0,new It([[z.Whitespace," ",...Wt(i.node),void 0]]));let u=i.parent.value[o+1];!u||jt(u)||ce(u)&&(rn(u.value)||u3(u.value)||c3(u.value)||qt(u.value)&&u.value[4].value!=="-"&&u.value[4].value!=="+")||s.push(new It([[z.Whitespace," ",...Wt(i.node),void 0]])),i.parent.value.splice(o,1,...s)})}return e}var mS,Ek,nd,k3,x3,hS,id,Ki,fS,gS,bS,vS,yS,wS,kS,xS,SS,Dy,CS,Hi,Pk,S3,C3,Qm,zS,rU,nU=y(()=>{Ct(),rt(),mS=class extends Error{constructor(t,r,n){super(t);U(this,"sourceStart");U(this,"sourceEnd");this.name="ParseError",this.sourceStart=r,this.sourceEnd=n}},Ek=class extends mS{constructor(t,r){super(t,...Wt(r));U(this,"componentValues");this.componentValues=r}},nd={UnexpectedAdditionOfDimensionOrPercentageWithNumber:"Unexpected addition of a dimension or percentage with a number.",UnexpectedSubtractionOfDimensionOrPercentageWithNumber:"Unexpected subtraction of a dimension or percentage with a number."},k3=/[A-Z]/g,x3={cm:"px",in:"px",mm:"px",pc:"px",pt:"px",px:"px",q:"px",deg:"deg",grad:"deg",rad:"deg",turn:"deg",ms:"s",s:"s",hz:"hz",khz:"hz"},hS=new Map([["cm",e=>e],["mm",e=>10*e],["q",e=>40*e],["in",e=>e/2.54],["pc",e=>e/2.54*6],["pt",e=>e/2.54*72],["px",e=>e/2.54*96]]),id=new Map([["deg",e=>e],["grad",e=>e/.9],["rad",e=>e/180*Math.PI],["turn",e=>e/360]]),Ki=new Map([["deg",e=>.9*e],["grad",e=>e],["rad",e=>.9*e/180*Math.PI],["turn",e=>.9*e/360]]),fS=new Map([["hz",e=>e],["khz",e=>e/1e3]]),gS=new Map([["cm",e=>2.54*e],["mm",e=>25.4*e],["q",e=>25.4*e*4],["in",e=>e],["pc",e=>6*e],["pt",e=>72*e],["px",e=>96*e]]),bS=new Map([["hz",e=>1e3*e],["khz",e=>e]]),vS=new Map([["cm",e=>e/10],["mm",e=>e],["q",e=>4*e],["in",e=>e/25.4],["pc",e=>e/25.4*6],["pt",e=>e/25.4*72],["px",e=>e/25.4*96]]),yS=new Map([["ms",e=>e],["s",e=>e/1e3]]),wS=new Map([["cm",e=>e/6*2.54],["mm",e=>e/6*25.4],["q",e=>e/6*25.4*4],["in",e=>e/6],["pc",e=>e],["pt",e=>e/6*72],["px",e=>e/6*96]]),kS=new Map([["cm",e=>e/72*2.54],["mm",e=>e/72*25.4],["q",e=>e/72*25.4*4],["in",e=>e/72],["pc",e=>e/72*6],["pt",e=>e],["px",e=>e/72*96]]),xS=new Map([["cm",e=>e/96*2.54],["mm",e=>e/96*25.4],["q",e=>e/96*25.4*4],["in",e=>e/96],["pc",e=>e/96*6],["pt",e=>e/96*72],["px",e=>e]]),SS=new Map([["cm",e=>e/4/10],["mm",e=>e/4],["q",e=>e],["in",e=>e/4/25.4],["pc",e=>e/4/25.4*6],["pt",e=>e/4/25.4*72],["px",e=>e/4/25.4*96]]),Dy=new Map([["deg",e=>180*e/Math.PI],["grad",e=>180*e/Math.PI/.9],["rad",e=>e],["turn",e=>180*e/Math.PI/360]]),CS=new Map([["ms",e=>1e3*e],["s",e=>e]]),Hi=new Map([["deg",e=>360*e],["grad",e=>360*e/.9],["rad",e=>360*e/180*Math.PI],["turn",e=>e]]),Pk=new Map([["cm",hS],["mm",vS],["q",SS],["in",gS],["pc",wS],["pt",kS],["px",xS],["ms",yS],["s",CS],["deg",id],["grad",Ki],["rad",Dy],["turn",Hi],["hz",fS],["khz",bS]]),S3=/^none$/i,C3=String.fromCodePoint(0),Qm=new Map([["abs",function(e,t,r){return br(e,t,r,z7)}],["acos",function(e,t,r){return br(e,t,r,k7)}],["asin",function(e,t,r){return br(e,t,r,x7)}],["atan",function(e,t,r){return br(e,t,r,S7)}],["atan2",function(e,t,r){return Pp(e,t,r,C7)}],["calc",kt],["clamp",function(e,t,r){let n=Gi([...e.value.filter(h=>!jt(h))],t),i=[],o=[],a=[];{let h=i;for(let b=0;b<n.length;b++){let f=n[b];if(ce(f)&&rn(f.value)){if(h===a)return-1;if(h===o){h=a;continue}if(h===i){h=o;continue}return-1}h.push(f)}}let s=Ty(i),l=Ty(a);if(s&&l)return kt(Rt(e,o),t,r);let u=xt(kt(Rt(e,o),t,r),r);if(u===-1)return-1;if(s){let h=xt(kt(Rt(e,a),t,r),r);return h===-1?-1:pS((c=e,d=u,p=h,new $t([z.Function,"min(",c.name[2],c.name[3],{value:"min"}],[z.CloseParen,")",c.endToken[2],c.endToken[3],void 0],[d,new he([z.Comma,",",...Wt(d),void 0]),p])),[u,h],r)}if(l){let h=xt(kt(Rt(e,i),t,r),r);return h===-1?-1:dS(Q7(e,h,u),[h,u],r)}var c,d,p;let m=xt(kt(Rt(e,i),t,r),r);if(m===-1)return-1;let v=xt(kt(Rt(e,a),t,r),r);return v===-1?-1:A7(e,m,u,v,r)}],["cos",function(e,t,r){return br(e,t,r,N7)}],["exp",function(e,t,r){return br(e,t,r,E7)}],["hypot",function(e,t,r){return jp(e,t,r,P7)}],["log",function(e,t,r){return jp(e,t,r,$7)}],["max",function(e,t,r){return jp(e,t,r,dS)}],["min",function(e,t,r){return jp(e,t,r,pS)}],["mod",function(e,t,r){return Pp(e,t,r,j7)}],["pow",function(e,t,r){return Pp(e,t,r,I7)}],["random",function(e,t,r){let n=V7(e,e.value.filter(c=>!jt(c)),t,r);if(n===-1)return-1;let[i,o]=n,a=w3(e,o,t,r);if(a===-1)return-1;let[s,l,u]=a;return!s||!l?-1:B7(e,i,s,l,u,r)}],["rem",function(e,t,r){return Pp(e,t,r,O7)}],["round",function(e,t,r){let n=Gi([...e.value.filter(c=>!jt(c))],t),i="",o=!1,a=[],s=[];{let c=a;for(let d=0;d<n.length;d++){let p=n[d];if(!i&&a.length===0&&s.length===0&&ce(p)&&Ye(p.value)){let m=p.value[4].value.toLowerCase();if(zS.has(m)){i=m;continue}}if(ce(p)&&rn(p.value)){if(c===s)return-1;if(c===a&&i&&a.length===0)continue;if(c===a){o=!0,c=s;continue}return-1}c.push(p)}}let l=xt(kt(Rt(e,a),t,r),r);if(l===-1)return-1;if(i==="line-width"){let c=ht([z.Dimension,"1px",l.value[2],l.value[3],{value:1,type:ne.Integer,unit:"px"}],l.value);if(!Ee(c)||c[4].unit!=="px")return-1}if(!o&&s.length===0){if(i==="line-width")return l.value[4].value<=0?-1:y3(e,l.value,r);s.push(new he([z.Number,"1",l.value[2],l.value[3],{value:1,type:ne.Integer}]))}let u=xt(kt(Rt(e,s),t,r),r);return u===-1?-1:(i||(i="nearest"),T7(e,i,l,u,r))}],["sign",function(e,t,r){return br(e,t,r,D7)}],["sin",function(e,t,r){return br(e,t,r,L7)}],["sqrt",function(e,t,r){return br(e,t,r,F7)}],["tan",function(e,t,r){return br(e,t,r,M7)}]]),zS=new Set(["nearest","line-width","up","down","to-zero"]),rU=new Set(Qm.keys())}),z3,iU=y(()=>{z3={next:{atrules:{"color-profile":{descriptors:{components:"<ident>#","rendering-intent":"relative-colorimetric | absolute-colorimetric | perceptual | saturation",src:"<url>"}},"font-face":{descriptors:{"ascent-override":"[ normal | <percentage [0,∞]> ]{1,2}","descent-override":"[ normal | <percentage [0,∞]> ]{1,2}","font-language-override":"normal | <string>","font-named-instance":"auto | <string>","font-size":"auto | [ <number> ]{1,2}","font-style":"auto | normal | italic | left | right | oblique [ <angle [-90deg,90deg]>{1,2} ]?","font-weight":"| auto","font-width":"auto | <'font-width'>{1,2}","line-gap-override":"[ normal | <percentage [0,∞]> ]{1,2}","size-adjust":"<percentage [0,∞]>",src:"<font-src-list>","subscript-position-override":"[ normal | from-font | <percentage> ]{1,2}","subscript-size-override":"[ normal | from-font | <percentage [0,∞]> ]{1,2}","superscript-position-override":"[ normal | from-font | <percentage> ]{1,2}","superscript-size-override":"[ normal | from-font | <percentage [0,∞]> ]{1,2}","unicode-range":"<unicode-range-token>#"}},"font-feature-values":{descriptors:{"font-display":"auto | block | swap | fallback | optional"}},function:{descriptors:{result:"<declaration-value>?"}},page:{descriptors:{"page-margin-safety":"none | clamp | add"}}},properties:{"align-self":"auto | <overflow-position>? [ normal | <self-position> ] | stretch | <baseline-position> | anchor-center","alignment-baseline":"auto | before-edge | text-before-edge | after-edge | text-after-edge | baseline | <baseline-metric>",all:" | revert-rule","anchor-name":"none | <anchor-name>#","anchor-scope":"none | all | <anchor-name>#","animation-range-center":"[ normal | [ <length-percentage> | <timeline-range-center-subject> <length-percentage>? ] ]#",appearance:"none | auto | base | base-select | <compat-auto> | <compat-special> | base","background-blend-mode":"<'mix-blend-mode'>#","background-position-block":"[ center | [ [ start | end ]? <length-percentage>? ]! ]#","background-position-inline":"[ center | [ [ start | end ]? <length-percentage>? ]! ]#","background-repeat-block":"<repetition>#","background-repeat-inline":"<repetition>#","background-repeat-x":"<repetition>#","background-repeat-y":"<repetition>#","background-tbd":"<bg-layer>#","baseline-shift":"<length-percentage> | sub | super | top | center | bottom","block-ellipsis":"no-ellipsis | auto | <string>","block-step":"<'block-step-size'> || <'block-step-insert'> || <'block-step-align'> || <'block-step-round'>","block-step-align":"auto | center | start | end","block-step-insert":"margin-box | padding-box | content-box","block-step-round":"up | down | nearest","block-step-size":"none | <length [0,∞]>","bookmark-label":"<content-list>","bookmark-level":"none | <integer [1,∞]>","bookmark-state":"open | closed","border-block-clip":"<'border-top-clip'>","border-block-end":"<line-width> || <line-style> || <color>","border-block-end-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-block-end-color":"<color> | <image-1D>","border-block-end-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-block-end-style":"<line-style>","border-block-end-width":"<line-width>","border-block-start":"<line-width> || <line-style> || <color>","border-block-start-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-block-start-color":"<color> | <image-1D>","border-block-start-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-block-start-style":"<line-style>","border-block-start-width":"<line-width>","border-bottom-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-bottom-color":"<color> | <image-1D>","border-bottom-left-radius":"<border-radius>","border-bottom-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-bottom-right-radius":"<border-radius>","border-boundary":"none | parent | display","border-clip":"<'border-top-clip'>","border-color":"[ <color> | <image-1D> ]{1,4}","border-end-end-radius":"<border-radius>","border-end-start-radius":"<border-radius>","border-inline-clip":"<'border-top-clip'>","border-inline-end":"<line-width> || <line-style> || <color>","border-inline-end-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-inline-end-color":"<color> | <image-1D>","border-inline-end-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-inline-end-style":"<line-style>","border-inline-end-width":"<line-width>","border-inline-start":"<line-width> || <line-style> || <color>","border-inline-start-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-inline-start-color":"<color> | <image-1D>","border-inline-start-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-inline-start-style":"<line-style>","border-inline-start-width":"<line-width>","border-left-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-left-color":"<color> | <image-1D>","border-left-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-limit":"all | [ sides | corners ] <length-percentage [0,∞]>? | [ top | right | bottom | left ] <length-percentage [0,∞]>","border-right-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-right-color":"<color> | <image-1D>","border-right-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-shape":"none | [ <basic-shape> <geometry-box>? ]{1,2}","border-start-end-radius":"<border-radius>","border-start-start-radius":"<border-radius>","border-style":"<'border-top-style'>{1,4}","border-top-clip":"none | [ <length-percentage [0,∞]> | <flex> ]+","border-top-color":"<color> | <image-1D>","border-top-left-radius":"<border-radius>","border-top-radius":"<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?","border-top-right-radius":"<border-radius>","border-width":"<'border-top-width'>{1,4}","box-shadow":"<spread-shadow>#","box-shadow-blur":"<length [0,∞]>#","box-shadow-color":"<color>#","box-shadow-offset":"[ none | <length>{1,2} ]#","box-shadow-position":"[ outset | inset ]#","box-shadow-spread":"<length>#","box-snap":"none | block-start | block-end | center | baseline | last-baseline","caret-color":"auto | <color> [ auto | <color> ]?",clear:"| block-start | block-end | top | bottom | both-inline | both-block",clip:"rect( <top> , <right> , <bottom> , <left> ) | rect( <top> <right> <bottom> <left> ) | auto","color-adjust":"<'print-color-adjust'>","color-interpolation":"auto | sRGB | linearRGB","column-count":"auto | <integer [1,∞]>","column-fill":"| balance-all","column-gap":"normal | <length-percentage [0,∞]> | <line-width>","column-rule":"<gap-rule-list> | <gap-auto-rule-list>","column-rule-break":"none | normal | intersection","column-rule-color":"<line-color-list> | <auto-line-color-list>","column-rule-edge-inset":"<length-percentage> [ <length-percentage> ]?","column-rule-edge-inset-end":"<length-percentage>","column-rule-edge-inset-start":"<length-percentage>","column-rule-inset":"<'column-rule-edge-inset'> [ / <'column-rule-interior-inset'> ]?","column-rule-inset-end":"<length-percentage>","column-rule-inset-start":"<length-percentage>","column-rule-interior-inset":"<length-percentage> [ <length-percentage> ]?","column-rule-interior-inset-end":"<length-percentage>","column-rule-interior-inset-start":"<length-percentage>","column-rule-style":"<line-style-list> | <auto-line-style-list>","column-rule-visibility-items":"all | around | between | normal","column-rule-width":"<line-width-list> | <auto-line-width-list>","column-span":"| <integer [1,∞]> | auto","column-width":"auto | <length [0,∞]> | min-content | max-content | fit-content( <length-percentage> )",contain:"none | strict | content | [ [ size | inline-size ] || layout || style || paint ]","contain-intrinsic-block-size":"auto? [ none | <length [0,∞]> ]","contain-intrinsic-height":"auto? [ none | <length [0,∞]> ]","contain-intrinsic-inline-size":"auto? [ none | <length [0,∞]> ]","contain-intrinsic-size":"[ auto? [ none | <length [0,∞]> ] ]{1,2}","contain-intrinsic-width":"auto? [ none | <length [0,∞]> ]","container-type":"normal | [ [ size | inline-size ] || scroll-state ]",content:"| <element()>",continue:"auto | discard | collapse | -webkit-legacy | overflow | paginate | fragments","copy-into":"none | [ [ <custom-ident> <content-level> ] [, <custom-ident> <content-level> ]* ]?",corner:"<'border-radius'> || <'corner-shape'>","corner-block-end":"<'border-top-radius'> || <'corner-top-shape'>","corner-block-end-shape":"<'corner-top-left-shape'>{1,2}","corner-block-start":"<'border-top-radius'> || <'corner-top-shape'>","corner-block-start-shape":"<'corner-top-left-shape'>{1,2}","corner-bottom":"<'border-top-radius'> || <'corner-top-shape'>","corner-bottom-left":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-bottom-right":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-bottom-shape":"<'corner-top-left-shape'>{1,2}","corner-end-end":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-end-start":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-inline-end":"<'border-top-radius'> || <'corner-top-shape'>","corner-inline-end-shape":"<'corner-top-left-shape'>{1,2}","corner-inline-start":"<'border-top-radius'> || <'corner-top-shape'>","corner-inline-start-shape":"<'corner-top-left-shape'>{1,2}","corner-left":"<'border-top-radius'> || <'corner-top-shape'>","corner-left-shape":"<'corner-top-left-shape'>{1,2}","corner-right":"<'border-top-radius'> || <'corner-top-shape'>","corner-right-shape":"<'corner-top-left-shape'>{1,2}","corner-shape":"<'corner-top-left-shape'>{1,4}","corner-start-end":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-start-start":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-top":"<'border-top-radius'> || <'corner-top-shape'>","corner-top-left":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-top-right":"<'border-top-left-radius'> || <'corner-top-left-shape'>","corner-top-shape":"<'corner-top-left-shape'>{1,2}",cursor:"[ <cursor-image> , ]* <cursor-predefined>",cx:"<length-percentage>",cy:"<length-percentage>",display:"[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | grid-lanes | inline-grid-lanes | ruby | ruby-base | ruby-text | ruby-base-container | ruby-text-container | <display-outside> | <-non-standard-display> || [ <display-inside> | math ]","dominant-baseline":"use-script | no-change | reset-size | text-after-edge | text-before-edge | auto | <baseline-metric>","event-trigger":"none | [ <'event-trigger-name'> <'event-trigger-source'> ]#","event-trigger-name":"none | <dashed-ident>#","event-trigger-source":"[ none | <event-trigger-event>+ [ / <event-trigger-event>+ ]? ]#","fill-break":"bounding-box | slice | clone","fill-color":"<color>","fill-image":"<paint>#","fill-opacity":"<'opacity'>","fill-origin":"match-parent | fill-box | stroke-box | content-box | padding-box | border-box","fill-position":"<position>#","fill-repeat":"<repeat-style>#","fill-size":"<bg-size>#",filter:"none | <filter-value-list>","flex-grow":"<number [0,∞]>","flex-shrink":"<number [0,∞]>",float:"| block-start | block-end | snap-block | snap-block( <length> , [ start | end | near ]? ) | snap-inline | snap-inline( <length> , [ left | right | near ]? ) | top | bottom | footnote","float-defer":"<integer> | last | none","float-offset":"<length-percentage>","float-reference":"inline | column | region | page","flow-from":"<custom-ident> | none","flow-into":"none | <custom-ident> [ element | content ]?","flow-tolerance":"normal | <length-percentage> | infinite","font-size-adjust":"none | [ ex-height | cap-height | ch-width | ic-width | ic-height ]? [ from-font | <number [0,∞]> ]","font-stretch":"normal | <percentage [0,∞]> | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded","font-style":"normal | italic | left | right | oblique <angle [-90deg,90deg]>?","font-synthesis-style":"auto | none | oblique-only","font-variant":"normal | none | [ [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ] || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || [ stylistic( <feature-value-name> ) || historical-forms || styleset( <feature-value-name># ) || character-variant( <feature-value-name># ) || swash( <feature-value-name> ) || ornaments( <feature-value-name> ) || annotation( <feature-value-name> ) ] || [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ] || [ <east-asian-variant-values> || <east-asian-width-values> || ruby ] || [ sub | super ] || [ text | emoji | unicode ] ]","font-variation-settings":"normal | [ <opentype-tag> <number> ]#","footnote-display":"block | inline | compact","footnote-policy":"auto | line | block","frame-sizing":"auto | content-width | content-height | content-block-size | content-inline-size","glyph-orientation-vertical":"auto | 0deg | 90deg | 0 | 90","grid-column-gap":"normal | <length-percentage [0,∞]> | <line-width>","grid-gap":"<'row-gap'> <'column-gap'>?","grid-row-gap":"normal | <length-percentage [0,∞]> | <line-width>",height:"auto | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","hyphenate-limit-last":"none | always | column | page | spread","hyphenate-limit-lines":"no-limit | <integer>","hyphenate-limit-zone":"<length-percentage>","image-animation":"normal | paused | stopped | running","image-orientation":"from-image | none | [ <angle> || flip ]","image-rendering":"auto | smooth | high-quality | pixelated | crisp-edges | <-non-standard-image-rendering>","initial-letter":"normal | <number [1,∞]> <integer [1,∞]> | <number [1,∞]> && [ drop | raise ]?","initial-letter-align":"[ border-box? [ alphabetic | ideographic | hanging | leading ]? ]!","initial-letter-wrap":"none | first | all | grid | <length-percentage>","inline-sizing":"normal | stretch","input-security":"auto | none",isolation:"<isolation-mode>","justify-self":"auto | <overflow-position>? [ normal | <self-position> | left | right ] | stretch | <baseline-position> | anchor-center","line-clamp":"none | [ <integer [1,∞]> || <'block-ellipsis'> ] -webkit-legacy?","line-fit-edge":"leading | <text-edge>","line-grid":"match-parent | create","line-height":"normal | <number [0,∞]> | <length-percentage [0,∞]>","line-height-step":"<length [0,∞]>","line-padding":"<length>","line-snap":"none | baseline | contain","link-parameters":"none | <param()>#","list-style":"<'list-style-position'> || <'list-style-image'> || <'list-style-type'>","margin-break":"auto | keep | discard","margin-trim":"none | [ block || inline ] | [ block-start || inline-start || block-end || inline-end ]",marker:"none | <marker-ref>","marker-end":"none | <marker-ref>","marker-mid":"none | <marker-ref>","marker-side":"match-self | match-parent","marker-start":"none | <marker-ref>","mask-border-slice":"[ <number> | <percentage> ]{1,4} fill?","max-height":"none | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","max-lines":"none | <integer [1,∞]>","max-width":"none | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","min-height":"auto | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","min-intrinsic-sizing":"legacy | zero-if-scroll || zero-if-extrinsic","min-width":"auto | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","mix-blend-mode":"<blend-mode> | plus-lighter","object-fit":"fill | none | [ contain | cover ] || scale-down",orphans:"<integer [1,∞]>","outline-color":"auto | <'border-top-color'>",overflow:"<'overflow-block'>{1,2} | <-non-standard-overflow>","overflow-block":"| <-non-standard-overflow>","overflow-clip-margin":"<visual-box> || <length>","overflow-clip-margin-block":"<visual-box> || <length>","overflow-clip-margin-block-end":"<visual-box> || <length>","overflow-clip-margin-block-start":"<visual-box> || <length>","overflow-clip-margin-bottom":"<visual-box> || <length>","overflow-clip-margin-inline":"<visual-box> || <length>","overflow-clip-margin-inline-end":"<visual-box> || <length>","overflow-clip-margin-inline-start":"<visual-box> || <length>","overflow-clip-margin-left":"<visual-box> || <length>","overflow-clip-margin-right":"<visual-box> || <length>","overflow-clip-margin-top":"<visual-box> || <length>","overflow-inline":"| <-non-standard-overflow>","overflow-x":"| <-non-standard-overflow>","overflow-y":"| <-non-standard-overflow>","pause-after":"<time [0s,∞]> | none | x-weak | weak | medium | strong | x-strong","pause-before":"<time [0s,∞]> | none | x-weak | weak | medium | strong | x-strong",perspective:"none | <length [0,∞]>","pointer-events":"| bounding-box","pointer-timeline":"[ <'pointer-timeline-name'> <'pointer-timeline-axis'>? ]#","pointer-timeline-axis":"[ block | inline | x | y ]#","pointer-timeline-name":"[ none | <dashed-ident> ]#",position:"| <running()>","position-anchor":"| normal | match-parent","position-try-fallbacks":"none | [ [ <dashed-ident> || <try-tactic> ] | <position-area> ]#",quotes:"| match-parent",r:"<length-percentage>","region-fragment":"auto | break","rest-after":"<time [0s,∞]> | none | x-weak | weak | medium | strong | x-strong","rest-before":"<time [0s,∞]> | none | x-weak | weak | medium | strong | x-strong","row-gap":"normal | <length-percentage [0,∞]> | <line-width>","row-rule":"<gap-rule-list> | <gap-auto-rule-list>","row-rule-break":"none | normal | intersection","row-rule-color":"<line-color-list> | <auto-line-color-list>","row-rule-edge-inset":"<length-percentage> [ <length-percentage> ]?","row-rule-edge-inset-end":"<length-percentage>","row-rule-edge-inset-start":"<length-percentage>","row-rule-inset":"<'column-rule-edge-inset'> [ / <'column-rule-interior-inset'> ]?","row-rule-inset-end":"<length-percentage>","row-rule-inset-start":"<length-percentage>","row-rule-interior-inset":"<length-percentage> [ <length-percentage> ]?","row-rule-interior-inset-end":"<length-percentage>","row-rule-interior-inset-start":"<length-percentage>","row-rule-style":"<line-style-list> | <auto-line-style-list>","row-rule-visibility-items":"all | around | between | normal","row-rule-width":"<line-width-list> | <auto-line-width-list>","ruby-merge":"separate | merge | auto","ruby-overhang":"auto | spaces",rule:"<'column-rule'>","rule-break":"<'column-rule-break'>","rule-color":"<'column-rule-color'>","rule-edge-inset":"<'column-rule-edge-inset'>","rule-inset":"<'column-rule-inset'>","rule-inset-end":"<'column-rule-inset-end'>","rule-inset-start":"<'column-rule-inset-start'>","rule-interior-inset":"<'column-rule-interior-inset'>","rule-overlap":"row-over-column | column-over-row","rule-style":"<'column-rule-style'>","rule-visibility-items":"<'column-rule-visibility-items'>","rule-width":"<'column-rule-width'>",rx:"<length-percentage> | auto",ry:"<length-percentage> | auto","scroll-marker-group":"none | [ [ before | after ] || [ links | tabs ] ]","scroll-padding":"[ auto | <length-percentage [0,∞]> ]{1,4}","scroll-padding-block":"[ auto | <length-percentage [0,∞]> ]{1,2}","scroll-padding-block-end":"auto | <length-percentage [0,∞]>","scroll-padding-block-start":"auto | <length-percentage [0,∞]>","scroll-padding-bottom":"auto | <length-percentage [0,∞]>","scroll-padding-inline":"[ auto | <length-percentage [0,∞]> ]{1,2}","scroll-padding-inline-end":"auto | <length-percentage [0,∞]>","scroll-padding-inline-start":"auto | <length-percentage [0,∞]>","scroll-padding-left":"auto | <length-percentage [0,∞]>","scroll-padding-right":"auto | <length-percentage [0,∞]>","scroll-padding-top":"auto | <length-percentage [0,∞]>","shape-inside":"auto | outside-shape | [ <basic-shape> || shape-box ] | <image> | display","shape-margin":"<length-percentage [0,∞]>","shape-padding":"<length-percentage [0,∞]>","shape-subtract":"none | [ <basic-shape> | <url> ]+","slider-orientation":"auto | left-to-right | right-to-left | top-to-bottom | bottom-to-top","spatial-navigation-action":"auto | focus | scroll","spatial-navigation-contain":"auto | contain","spatial-navigation-function":"normal | grid","string-set":"none | [ <custom-ident> <string>+ ]#","stroke-align":"center | inset | outset","stroke-alignment":"center | inner | outer","stroke-break":"bounding-box | slice | clone","stroke-color":"<color>#","stroke-dash-corner":"none | <length>","stroke-dash-justify":"none | [ stretch | compress ] || [ dashes || gaps ]","stroke-dashadjust":"none | [ stretch | compress ] [ dashes | gaps ]?","stroke-dasharray":"none | [ <length-percentage> | <number> ]+#","stroke-dashcorner":"none | <length>","stroke-dashoffset":"<length-percentage> | <number>","stroke-image":"<paint>#","stroke-linejoin":"[ crop | arcs | miter ] || [ bevel | round | fallback ]","stroke-miterlimit":"<number>","stroke-origin":"match-parent | fill-box | stroke-box | content-box | padding-box | border-box","stroke-position":"<position>#","stroke-repeat":"<repeat-style>#","stroke-size":"<bg-size>#","stroke-width":"[ <length-percentage> | <line-width> | <number> ]#","tab-size":"<number [0,∞]> | <length [0,∞]>","text-align":"| <string> | justify-all","text-align-all":"start | end | left | right | center | <string> | justify | match-parent","text-align-last":"| match-parent","text-combine-upright":"none | all | [ digits <integer [2,4]>? ]","text-decoration-skip":"none | auto","text-decoration-skip-box":"none | all","text-decoration-skip-self":"auto | skip-all | [ skip-underline || skip-overline || skip-line-through ] | no-skip","text-decoration-skip-spaces":"none | all | [ start || end ]","text-decoration-thickness":"auto | from-font | <length-percentage> | <line-width>","text-emphasis-skip":"spaces || punctuation || symbols || narrow","text-group-align":"none | start | end | left | right | center","text-indent":"[ <length-percentage> ] && hanging? && each-line?","text-justify":"[ auto | none | inter-word | inter-character | ruby ] || no-compress","text-overflow":"[ clip | ellipsis | <string> | fade | fade( [ <length> | <percentage> ] ) ]{1,2}","text-shadow":"none | <shadow>#","text-size-adjust":"auto | none | <percentage [0,∞]>","text-spacing":"none | auto | <spacing-trim> || <autospace>","text-spacing-trim":"<spacing-trim> | auto","text-underline-offset":"auto | <length-percentage>","text-underline-position":"auto | [ from-font | under ] || [ left | right ]","text-wrap-style":"auto | balance | stable | pretty | avoid-orphans","timeline-scope":"| all","timeline-trigger":"none | [ <'timeline-trigger-name'> <'timeline-trigger-source'> <'timeline-trigger-activation-range'> [ '/' <'timeline-trigger-active-range'> ]? ]#","timeline-trigger-activation-range":"[ <'timeline-trigger-activation-range-start'> <'timeline-trigger-activation-range-end'>? ]#","timeline-trigger-activation-range-end":"[ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#","timeline-trigger-activation-range-start":"[ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#","timeline-trigger-active-range":"[ <'timeline-trigger-active-range-start'> <'timeline-trigger-active-range-end'>? ]#","timeline-trigger-active-range-end":"[ auto | normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#","timeline-trigger-active-range-start":"[ auto | normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#","transform-origin":"[ left | center | right | top | bottom | <length-percentage> ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ] <length>? | [ [ center | left | right ] && [ center | top | bottom ] ] <length>?","transition-duration":"<time [0s,∞]>#","user-select":"auto | text | none | contain | all","vertical-align":"[ first | last ] || <'alignment-baseline'> || <'baseline-shift'>","view-transition-group":"normal | contain | nearest | <custom-ident>","view-transition-scope":"none | all",visibility:"visible | hidden | force-hidden | collapse","voice-duration":"auto | <time [0s,∞]>","voice-family":"[ <voice-family-name> | <generic-voice> ]# | preserve","voice-pitch":"<frequency [0Hz,∞]> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency [0Hz,∞]> | <semitones> | <percentage> ] ]","voice-range":"<frequency [0Hz,∞]> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency [0Hz,∞]> | <semitones> | <percentage> ] ]","voice-rate":"[ normal | x-slow | slow | medium | fast | x-fast ] || <percentage [0,∞]>","white-space":"normal | pre | pre-wrap | pre-line | [ <'white-space-collapse'> || <'text-wrap'> || <'white-space-trim'> ]","white-space-collapse":"collapse | discard | preserve | preserve-breaks | preserve-spaces | break-spaces",widows:"<integer [1,∞]>",width:"auto | <length-percentage [0,∞]> | min-content | max-content | fit-content( <length-percentage [0,∞]> ) | <calc-size()> | <anchor-size()> | stretch | fit-content | contain | <-non-standard-size>","word-break":"| manual","word-space-transform":"none | [ space | ideographic-space ] && auto-phrase?","word-spacing":"normal | <length-percentage>","word-wrap":"| anywhere","wrap-after":"auto | avoid | avoid-line | avoid-flex | line | flex","wrap-before":"auto | avoid | avoid-line | avoid-flex | line | flex","wrap-flow":"auto | both | start | end | minimum | maximum | clear","wrap-inside":"auto | avoid","wrap-through":"wrap | none",x:"<length-percentage>",y:"<length-percentage>",zoom:"normal | reset | <number [0,∞]> | <percentage [0,∞]>"},types:{"dashed-ident":"<custom-property-name>","unicode-range-token":"<urange>","alpha()":"alpha( [ from <color> ] [ / [ <alpha-value> | alpha | none ] ]? )","an+b":"odd | even | <integer> | <n-dimension> | '+'? n | -n | <ndashdigit-dimension> | '+'? <ndashdigit-ident> | <dashndashdigit-ident> | <n-dimension> <signed-integer> | '+'? n <signed-integer> | -n <signed-integer> | <ndash-dimension> <signless-integer> | '+'? n- <signless-integer> | -n- <signless-integer> | <n-dimension> [ '+' | '-' ] <signless-integer> | '+'? n [ '+' | '-' ] <signless-integer> | -n [ '+' | '-' ] <signless-integer>","anchored-feature":"fallback : <'position-try-fallbacks'>","anchored-in-parens":"( <anchored-query> ) | ( <anchored-feature> ) | <general-enclosed>","anchored-query":"not <anchored-in-parens> | <anchored-in-parens> [ [ and <anchored-in-parens> ]* | [ or <anchored-in-parens> ]* ] | <anchored-feature>","angle-percentage":"[ <angle> | <percentage> ]","arc-command":"arc <command-end-point> [ [ of <length-percentage>{1,2} ] && <arc-sweep>? && <arc-size>? && [ rotate <angle> ]? ]","arc-size":"large | small","arc-sweep":"cw | ccw","attr-args":"attr( <declaration-value> , <declaration-value>? )","attr-name":"[ [ <ident-token>? '|' ]? <ident-token> ]","auto-line-color-list":"<line-color-or-repeat>#? , <auto-repeat-line-color> , <line-color-or-repeat>#?","auto-line-style-list":"<line-style-or-repeat>#? , <auto-repeat-line-style> , <line-style-or-repeat>#?","auto-line-width-list":"<line-width-or-repeat>#? , <auto-repeat-line-width> , <line-width-or-repeat>#?","auto-repeat":"repeat( [ auto-fill | auto-fit ] , [ <line-names>? <track-size> ]+ <line-names>? )","auto-repeat-line-color":"repeat( auto , [ <color> ]# )","auto-repeat-line-style":"repeat( auto , [ <line-style> ]# )","auto-repeat-line-width":"repeat( auto , [ <line-width> ]# )","baseline-metric":"text-bottom | alphabetic | ideographic | middle | central | mathematical | hanging | text-top","baseline-position":"[ first | last ]? && baseline","basic-shape":"<basic-shape-rect> | <circle()> | <ellipse()> | <polygon()> | <path()> | <shape()>","bg-clip":"<visual-box> | [ border-area || text ]","bg-layer":"<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <bg-clip> || <visual-box>","bg-position":"<position> | <position-three>","blend-mode":"normal | multiply | screen | overlay | darken | lighten | color-dodge | color-burn | soft-light | hard-light | difference | exclusion | hue | saturation | color | luminosity","border-radius":"<slash-separated-border-radius-syntax> | <legacy-border-radius-syntax>","calc-interpolate()":"calc-interpolate( [ <progress-source> && [ by <easing-function> ]? && <easing-function>? ] , <input-position>{1,2} : <calc-sum> , [ <easing-function>? , <input-position>{1,2} : <calc-sum> ]#? )","calc-keyword":"e | pi | infinity | -infinity | NaN","calc-mix()":"calc-mix( [ <calc-sum> <percentage [0,100]>? ]# )","calc-product":"<calc-value> [ [ '*' | / ] <calc-value> ]*","calc-size-basis":"[ <size-keyword> | <calc-size()> | <calc-sum> ]","calc-size()":"calc-size( [ [ <calc-size-basis> , [ <calc-sum> | size ] ] | [ any , <calc-sum> ] ] )","calc-value":"<number> | <dimension> | <percentage> | <calc-keyword> | ( <calc-sum> )","cf-image":"[ <image> | <color> ] && <percentage [0,100]>?","circle()":"circle( [ <radial-extent> | <length-percentage [0,∞]> ]? [ at <position> ]? )","clamp()":"clamp( [ <calc-sum> | none ] , <calc-sum> , [ <calc-sum> | none ] )",color:"<color-base> | currentColor | <system-color> | <contrast-color()> | <device-cmyk()> | <light-dark-color> | <-non-standard-color>","color-font-tech":"[ color-COLRv0 | color-COLRv1 | color-SVG | color-sbix | color-CBDT ]","color-function":"<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hwb()> | <lab()> | <lch()> | <oklab()> | <oklch()> | <ictcp()> | <jzazbz()> | <jzczhz()> | <alpha()> | <color()> | <hdr-color()>","color-interpolate()":"color-interpolate( [ <progress-source> && [ by <easing-function> ]? && <easing-function>? && <color-interpolation-method>? ] , <input-position>{1,2} : <color> , [ [ <easing-function> || <color-interpolation-method> ]? , <input-position>{1,2} : <color> ]#? )","color-layers()":"color-layers( [ <blend-mode> , ]? <color># )","color-mix()":"color-mix( <color-interpolation-method>? , [ <color> && <percentage [0,100]>? ]# )","color-stripe":"<color> && [ <length-percentage> | <flex> ]?","color()":"color( [ from <color> ]? [ <custom-params> | [ <predefined-rgb> [ <number> | <percentage> | r | g | b | alpha | none ]{3} [ / [ <alpha-value> | r | g | b | alpha | none ] ]? ] | [ <xyz-space> [ <number> | <percentage> | x | y | z | alpha | none ]{3} [ / [ <alpha-value> | x | y | z | alpha | none ] ]? ] ] )","colorspace-params":"[ <custom-params> | <predefined-rgb-params> | <xyz-params> ]","command-end-point":"[ to <position> | by <coordinate-pair> ]","composite-mode":"clear | copy | source-over | destination-over | source-in | destination-in | source-out | destination-out | source-atop | destination-atop | xor | lighter | plus-darker | plus-lighter","container-condition":"[ <container-name>? <container-query>? ]!","content-level":"element | content | text | <attr()> | <counter>","content-list":"[ <string> | contents | <image> | <counter> | <quote> | <target> | <leader()> | <attr()> | <string()> | <content()> ]+","content()":"content( [ text | before | after | first-letter | marker ]? )","contrast-color()":"contrast-color( <color> )","control-point":"[ <position> | <relative-control-point> ]","control-value()":"control-value( <type>? )","coord-box":"<paint-box> | view-box","coordinate-pair":"<length-percentage>{2}","counter-style":"<counter-style-name> | <symbols()>","cross-fade()":"cross-fade( <cf-image># )","cross-origin-modifier":"cross-origin( anonymous | use-credentials )","css-type":"<syntax-component> | <type()>","cubic-bezier-easing-function":"ease | ease-in | ease-out | ease-in-out | <cubic-bezier()>","cursor-image":"[ <url> | <url-set> ] <number>{2}?","curve-command":"curve [ [ to <position> with <control-point> [ / <control-point> ]? ] | [ by <coordinate-pair> with <relative-control-point> [ / <relative-control-point> ]? ] ]","custom-arg":"'$' <ident-token>","default-value":"<declaration-value>","deprecated-color":"ActiveBorder | ActiveCaption | AppWorkspace | Background | ButtonHighlight | ButtonShadow | CaptionText | InactiveBorder | InactiveCaption | InactiveCaptionText | InfoBackground | InfoText | Menu | MenuText | Scrollbar | ThreeDDarkShadow | ThreeDFace | ThreeDHighlight | ThreeDLightShadow | ThreeDShadow | Window | WindowFrame | WindowText","element()":"element( <id-selector> )","env-args":"env( <declaration-value> , <declaration-value>? )","env()":"env( <custom-ident> <integer [0,∞]>* , <declaration-value>? )","event-trigger-event":"activate | interest | click | touch | dblclick | keypress( <string> ) | . . .","fade()":"fade( [ <length-percentage> ] )","feature-index":"<integer [0,∞]>","feature-tag-value":"<opentype-tag> [ <integer [0,∞]> | on | off ]?","feature-value-name":"<ident>","filter()":"filter( [ <image> | <string> ] , <filter-value-list> )","final-bg-layer":"<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <bg-clip> || <visual-box> || <'background-color'>","first-valid()":"first-valid( <declaration-value># )","fit-content()":"fit-content( <length-percentage> )","fixed-breadth":"<length-percentage [0,∞]>","font-features-tech":"[ features-opentype | features-aat | features-graphite ]","font-format":"[ <string> | collection | embedded-opentype | opentype | svg | truetype | woff | woff2 ]","font-src":"<url> [ format( <font-format> ) ]? [ tech( <font-tech># ) ]? | local( <family-name> )","font-src-list":"[ <url> [ format( <font-format> ) ]? [ tech( <font-tech># ) ]? | local( <family-name> ) ]#","font-tech":"[ <font-features-tech> | <color-font-tech> | variations | palettes | incremental ]","font-weight-absolute":"[ normal | bold | <number [1,1000]> ]","frequency-percentage":"[ <frequency> | <percentage> ]","function-parameter":"<custom-property-name> <css-type>? [ : <default-value> ]?","gap-auto-repeat-rule":"repeat( auto , <gap-rule># )","gap-auto-rule-list":"<gap-rule-or-repeat>#? , <gap-auto-repeat-rule> , <gap-rule-or-repeat>#?","gap-repeat-rule":"repeat( <integer [1,∞]> , <gap-rule># )","gap-rule":"<line-width> || <line-style> || <color>","gap-rule-list":"<gap-rule-or-repeat>#","gap-rule-or-repeat":"<gap-rule> | <gap-repeat-rule>","generic-script-specific":"generic( fangsong ) | generic( kai ) | generic( khmer-mul ) | generic( nastaliq )","generic-voice":"<age>? <gender> <integer>?",gradient:"[ <linear-gradient()> | <repeating-linear-gradient()> | <radial-gradient()> | <repeating-radial-gradient()> | <conic-gradient()> | <repeating-conic-gradient()> | <-legacy-gradient> ]","grid-line":"auto | <custom-ident> | [ [ <integer [-∞,-1]> | <integer [1,∞]> ] && <custom-ident>? ] | [ span && [ <integer [1,∞]> || <custom-ident> ] ]","hdr-color()":"color-hdr( [ <color> && <number [0,∞]>? ]#{2} )","horizontal-line-command":"hline [ to [ <length-percentage> | left | center | right | x-start | x-end ] | by <length-percentage> ]","hsl()":"[ <legacy-hsl-syntax> | <modern-hsl-syntax> ]","hsla()":"[ <legacy-hsla-syntax> | <modern-hsla-syntax> ]","hwb()":"hwb( [ from <color> ]? [ <hue> | h | w | b | alpha | none ] [ <percentage> | <number> | h | w | b | alpha | none ] [ <percentage> | <number> | h | w | b | alpha | none ] [ / [ <alpha-value> | h | w | b | alpha | none ] ]? )","ictcp()":"ictcp( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )","ident-arg":"<string> | <integer> | <ident>","ident()":"ident( <ident-arg>+ )","if-args":"if( [ <if-args-branch> ; ]* <if-args-branch> ;? )","if-args-branch":"<declaration-value> : <declaration-value>?","if-branch":"<if-condition> : <declaration-value>?","if-condition":"<boolean-expr[<if-test>]> | else","if-test":"supports( [ <ident> : <declaration-value> ] | <supports-condition> ) | media( <media-feature> | <media-condition> ) | style( <style-query> )","if()":"if( [ <if-branch> ; ]* <if-branch> ;? )",image:"<url> | <image()> | <image-set()> | <element()> | <paint()> | <cross-fade()> | <gradient> | <light-dark-image>","image-1D":"<stripes()>","image-set-option":"[ <image> | <string> ] [ <resolution> || type( <string> ) ]?","image-src":"[ <url> | <string> ]","image-tags":"[ ltr | rtl ]","import-conditions":"[ supports( [ <supports-condition> | <declaration> ] ) ]? <media-query-list>?","inflexible-breadth":"<length-percentage [0,∞]> | min-content | max-content | auto","inherit-args":"inherit( <declaration-value> , <declaration-value>? )","inherit()":"inherit( <custom-property-name> , <declaration-value>? )","init-descriptor":"<init-descriptor-name> : <string>","init-descriptor-name":"protocol | hostname | port | pathname | search | hash | base-url","init-descriptors":";* <init-descriptor> [ ;+ <init-descriptor> ]* ;*","input-position":"<percentage> | <number> | <dimension>","integrity-modifier":"integrity( <string> )","interpolate()":"interpolate( [ <progress-source> && [ by <easing-function> ]? && <easing-function>? ] , <input-position>{1,2} : <whole-value> , [ <easing-function>? , <input-position>{1,2} : <whole-value> ]#? ) | interpolate( <progress-source> && [ by <easing-function> ]? && <easing-function>? of <keyframes-name> )","isolation-mode":"auto | isolate","jzazbz()":"jzazbz( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )","jzczhz()":"jzczhz( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <hue> | none ] [ / [ <alpha-value> | none ] ]? )","lab()":"lab( [ from <color> ]? [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ / [ <alpha-value> | l | a | b | alpha | none ] ]? )","layout-box":"<visual-box> | margin-box","lch()":"lch( [ from <color> ]? [ <percentage> | <number> | l | c | h | alpha | none ] [ <percentage> | <number> | l | c | h | alpha | none ] [ <hue> | l | c | h | alpha | none ] [ / [ <alpha-value> | l | c | h | alpha | none ] ]? )","legacy-border-radius-syntax":"<length-percentage [0,∞]>{1,2}","legacy-hsl-syntax":"hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )","legacy-hsla-syntax":"hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )","legacy-pseudo-element-selector":": [ before | after | first-line | first-letter ]","legacy-rgb-syntax":"rgb( <percentage>#{3} , <alpha-value>? ) | rgb( <number>#{3} , <alpha-value>? )","legacy-rgba-syntax":"rgba( <percentage>#{3} , <alpha-value>? ) | rgba( <number>#{3} , <alpha-value>? )","length-percentage":"[ <length> | <percentage> ]","light-dark-color":"light-dark( <color> , <color> )","light-dark-image":"light-dark( [ <image> | none ] , [ <image> | none ] )","light-dark()":"<light-dark-color> | <light-dark-image>","line-color-list":"<line-color-or-repeat>#","line-color-or-repeat":"[ <color> | <repeat-line-color> ]","line-command":"line <command-end-point>","line-style-list":"<line-style-or-repeat>#","line-style-or-repeat":"[ <line-style> | <repeat-line-style> ]","line-width":"<length [0,∞]> | hairline | thin | medium | thick","line-width-list":"<line-width-or-repeat>#","line-width-or-repeat":"[ <line-width> | <repeat-line-width> ]","link-condition":"<link-condition-base> [ with <navigation-param-expression> ]?","link-condition-base":"<navigation-location>","marker-ref":"<url>","media-and":"and <media-in-parens>","media-condition":"<media-not> | <media-in-parens> [ <media-and>* | <media-or>* ]","media-condition-without-or":"<media-not> | <media-in-parens> <media-and>*","media-feature":"[ <mf-plain> | <mf-boolean> | <mf-range> ]","media-import-condition":"<media-query-list>","media-in-parens":"( <media-condition> ) | ( <media-feature> ) | <general-enclosed>","media-or":"or <media-in-parens>","media()":"media( [ <mf-plain> | <mf-boolean> | <mf-range> ] )","mf-comparison":"<mf-lt> | <mf-gt> | <mf-eq>","mf-eq":"'='","mf-gt":"'>' '='?","mf-lt":"'<' '='?","mf-range":"<mf-name> <mf-comparison> <mf-value> | <mf-value> <mf-comparison> <mf-name> | <mf-value> <mf-lt> <mf-name> <mf-lt> <mf-value> | <mf-value> <mf-gt> <mf-name> <mf-gt> <mf-value>","modern-hsl-syntax":"hsl( [ from <color> ]? [ <hue> | h | s | l | alpha | none ] [ <percentage> | <number> | h | s | l | alpha | none ] [ <percentage> | <number> | h | s | l | alpha | none ] [ / [ <alpha-value> | h | s | l | alpha | none ] ]? )","modern-hsla-syntax":"hsla( [ from <color> ]? [ <hue> | h | s | l | alpha | none ] [ <percentage> | <number> | h | s | l | alpha | none ] [ <percentage> | <number> | h | s | l | alpha | none ] [ / [ <alpha-value> | h | s | l | alpha | none ] ]? )","modern-rgb-syntax":"rgb( [ from <color> ]? [ <number> | <percentage> | r | g | b | alpha | none ]{3} [ / [ <alpha-value> | r | g | b | alpha | none ] ]? )","modern-rgba-syntax":"rgba( [ from <color> ]? [ <number> | <percentage> | r | g | b | alpha | none ]{3} [ / [ <alpha-value> | r | g | b | alpha | none ] ]? )","move-command":"move <command-end-point>","mq-boolean":"<integer [0,1]>","named-color":"| transparent","navigation-condition":"not <navigation-in-parens> | <navigation-in-parens> [ and <navigation-in-parens> ]* | <navigation-in-parens> [ or <navigation-in-parens> ]*","navigation-in-parens":"( <navigation-condition> ) | ( <navigation-test> ) | <general-enclosed>","navigation-location":"<route-name> | <url-pattern()>","navigation-location-keyword":"at | from | to","navigation-location-test":"<navigation-location-keyword> : <navigation-location>","navigation-param":"<navigation-param-key-value> | <navigation-param-function>","navigation-param-and":'<navigation-param-expression> [ " and " <navigation-param-expression> ]*',"navigation-param-expression":"( <navigation-param-and> ) | ( <navigation-param-or> ) | <navigation-param>","navigation-param-function":"navigation-param( <ident> )","navigation-param-key-value":"( <ident> : <string> )","navigation-param-or":'<navigation-param-expression> [ " or " <navigation-param-expression> ]*',"navigation-test":"<navigation-location-test> | <navigation-type-test>","navigation-type-keyword":"traverse | back | forward | reload","navigation-type-test":"history : <navigation-type-keyword>","number-optional-number":"<number> <number>?","oklab()":"oklab( [ from <color> ]? [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ / [ <alpha-value> | l | a | b | alpha | none ] ]? )","oklch()":"oklch( [ from <color> ]? [ <percentage> | <number> | l | c | h | alpha | none ] [ <percentage> | <number> | l | c | h | alpha | none ] [ <hue> | l | c | h | alpha | none ] [ / [ <alpha-value> | l | c | h | alpha | none ] ]? )","opentype-tag":"<string>","outline-line-style":"| auto","page-selector":"[ <ident-token>? <pseudo-page>* ]!","page-selector-list":"<page-selector>#",paint:"none | <color> | <url> [ none | <color> ]? | context-fill | context-stroke | <image> | <svg-paint>","param()":"param( <dashed-ident> , <declaration-value>? )","pattern-descriptor":"pattern : <url-pattern()>","pattern-descriptors":";* <pattern-descriptor> ;*","pointer-axis":"block | inline | x | y","pointer-source":"root | nearest | self","pointer()":"pointer( [ <pointer-source> || <pointer-axis> ]? )",points:"[ <number>+ ]#","polygon()":"polygon( <'fill-rule'>? [ round <length> ]? , [ <length-percentage> <length-percentage> ]# )",position:"<position-one> | <position-two> | <position-four>","position-area":"[ [ left | center | right | span-left | span-right | x-start | x-end | span-x-start | span-x-end | self-x-start | self-x-end | span-self-x-start | span-self-x-end | span-all ] || [ top | center | bottom | span-top | span-bottom | y-start | y-end | span-y-start | span-y-end | self-y-start | self-y-end | span-self-y-start | span-self-y-end | span-all ] | [ block-start | center | block-end | span-block-start | span-block-end | span-all ] || [ inline-start | center | inline-end | span-inline-start | span-inline-end | span-all ] | [ self-block-start | center | self-block-end | span-self-block-start | span-self-block-end | span-all ] || [ self-inline-start | center | self-inline-end | span-self-inline-start | span-self-inline-end | span-all ] | [ start | center | end | span-start | span-end | span-all ]{1,2} | [ self-start | center | self-end | span-self-start | span-self-end | span-all ]{1,2} ]","position-area-query":"[ [ left | center | right | span-left | span-right | x-start | x-end | span-x-start | span-x-end | self-x-start | self-x-end | span-self-x-start | span-self-x-end | span-all | any ] || [ top | center | bottom | span-top | span-bottom | y-start | y-end | span-y-start | span-y-end | self-y-start | self-y-end | span-self-y-start | span-self-y-end | span-all | any ] | [ block-start | center | block-end | span-block-start | span-block-end | span-all | any ] || [ inline-start | center | inline-end | span-inline-start | span-inline-end | span-all | any ] | [ self-block-start | center | self-block-end | span-self-block-start | span-self-block-end | span-all | any ] || [ self-inline-start | center | self-inline-end | span-self-inline-start | span-self-inline-end | span-all | any ] | [ start | center | end | span-start | span-end | span-all | any ]{1,2} | [ self-start | center | self-end | span-self-start | span-self-end | span-all | any ]{1,2} ]","position-four":"[ [ [ left | right | x-start | x-end ] <length-percentage> ] && [ [ top | bottom | y-start | y-end ] <length-percentage> ] | [ [ block-start | block-end ] <length-percentage> ] && [ [ inline-start | inline-end ] <length-percentage> ] | [ [ start | end ] <length-percentage> ]{2} ]","position-one":"[ left | center | right | top | bottom | x-start | x-end | y-start | y-end | block-start | block-end | inline-start | inline-end | <length-percentage> ]","position-three":"[ [ left | center | right ] && [ [ top | bottom ] <length-percentage> ] | [ [ left | right ] <length-percentage> ] && [ top | center | bottom ] ]","position-two":"[ [ left | center | right | x-start | x-end ] && [ top | center | bottom | y-start | y-end ] | [ left | center | right | x-start | x-end | <length-percentage> ] [ top | center | bottom | y-start | y-end | <length-percentage> ] | [ block-start | center | block-end ] && [ inline-start | center | inline-end ] | [ start | center | end ]{2} ]","predefined-rgb":"| rec2100-pq | rec2100-hlg | rec2100-linear","progress-source":"<percentage> | <number> | <dimension> | <'animation-timeline'>","progress()":"progress( <calc-sum> , <calc-sum> , <calc-sum> )","pseudo-class-selector":": <ident-token> | : <function-token> <any-value> )","pseudo-element-selector":": <pseudo-class-selector> | <legacy-pseudo-element-selector>","pt-class-selector":"[ '.' <custom-ident> ]+","pt-name-and-class-selector":"<pt-name-selector> <pt-class-selector>? | <pt-class-selector>","pt-name-selector":"'*' | <custom-ident>","query-in-parens":"( <container-query> ) | ( <size-feature> ) | style( <style-query> ) | scroll-state( <scroll-state-query> ) | <general-enclosed>","random-cache-key":"auto | <random-name> | fixed <number [0,1]>","random-item-args":"random-item( <declaration-value> , [ <declaration-value>? ]# )","random-item()":"random-item( <random-cache-key> , [ <declaration-value>? ]# )","random-name":"<dashed-ident> [ element | property index? ]?","random()":"random( <random-cache-key>? , <calc-sum> , <calc-sum> , <calc-sum>? )","rectangular-color-space":"srgb | srgb-linear | display-p3 | display-p3-linear | a98-rgb | prophoto-rgb | rec2020 | lab | oklab | <xyz-space>","referrer-policy-modifier":"referrer-policy( no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url )","relative-control-point":"<coordinate-pair> [ from [ start | end | origin ] ]?","repeat-line-color":"repeat( [ <integer [1,∞]> ] , [ <color> ]# )","repeat-line-style":"repeat( [ <integer [1,∞]> ] , [ <line-style> ]# )","repeat-line-width":"repeat( [ <integer [1,∞]> ] , [ <line-width> ]# )","repeat-style":"repeat-x | repeat-y | repeat-block | repeat-inline | <repetition>{1,2}",repetition:"repeat | space | round | no-repeat","request-url-modifier":"<cross-origin-modifier> | <integrity-modifier> | <referrer-policy-modifier>","rgb()":"[ <legacy-rgb-syntax> | <modern-rgb-syntax> ]","rgba()":"[ <legacy-rgba-syntax> | <modern-rgba-syntax> ]","round()":"round( <rounding-strategy>? , <calc-sum> , <calc-sum>? )","rounding-strategy":"| line-width","route-name":"<dashed-ident>","running()":"running( <custom-ident> )","scope-boundaries":"[ [ ( <scope-start> ) ]? [ to ( <scope-end> ) ]? ]!","scope-end":"<selector-list>","scope-start":"<selector-list>","scroll-button-direction":"up | down | left | right | block-start | block-end | inline-start | inline-end | prev | next","scroll-state-feature":"[ <scroll-state-feature-plain> | <scroll-state-feature-boolean> ]","scroll-state-feature-boolean":"<scroll-state-feature-name>","scroll-state-feature-name":"<ident>","scroll-state-feature-plain":"<scroll-state-feature-name> : <scroll-state-feature-value>","scroll-state-feature-value":"<ident>",shadow:"<color>? && [ <length>{2} [ <length [0,∞]> <length>? ]? ] && inset?","shape-box":"<visual-box> | margin-box | half-border-box","shape-command":"<move-command> | <line-command> | close | <horizontal-line-command> | <vertical-line-command> | <curve-command> | <smooth-command> | <arc-command>","shape()":"shape( <'fill-rule'>? from <position> , <shape-command># )","single-animation-iteration-count":"infinite | <number [0,∞]>","size-keyword":"auto | max-content | min-content | stretch","slash-separated-border-radius-syntax":"<length-percentage [0,∞]> [ / <length-percentage [0,∞]> ]?","smooth-command":"smooth [ [ to <position> [ with <control-point> ]? ] | [ by <coordinate-pair> [ with <relative-control-point> ]? ] ]","snap-block()":"snap-block( <length> , [ start | end | near ]? )","snap-inline()":"snap-inline( <length> , [ left | right | near ]? )","source-size":"<media-condition> <source-size-value> | auto","source-size-list":"<source-size>#? , <source-size-value>","source-size-value":"<length> | auto","spacing-trim":"space-all | normal | space-first | trim-start | trim-both | trim-all","spread-shadow":"<'box-shadow-color'>? && [ [ none | <length>{2} ] [ <'box-shadow-blur'> <'box-shadow-spread'>? ]? ] && <'box-shadow-position'>?","src()":"src( <string> <url-modifier>* )","string()":"string( <custom-ident> , [ first | start | last | first-except ]? )","stripes()":"stripes( <color-stripe># )","style-feature":"<style-feature-plain> | <style-feature-boolean> | <style-range>","style-feature-boolean":"<style-feature-name>","style-feature-plain":"<style-feature-name> : <style-feature-value>","style-feature-value":"<declaration-value>","style-in-parens":"( <style-query> ) | ( <style-feature> ) | <general-enclosed>","style-query":"not <style-in-parens> | <style-in-parens> [ [ and <style-in-parens> ]* | [ or <style-in-parens> ]* ] | <style-feature>","style-range":"<style-range-value> <mf-comparison> <style-range-value> | <style-range-value> <mf-lt> <style-range-value> <mf-lt> <style-range-value> | <style-range-value> <mf-gt> <style-range-value> <mf-gt> <style-range-value>","style-range-value":"<custom-property-name> | <style-feature-value>","supports-at-rule-fn":"at-rule( <at-keyword-token> )","supports-condition-name":"<custom-ident>","supports-decl":"( [ <declaration> | <supports-condition-name> ] )","supports-env-fn":"env( <ident> )","supports-feature":"<supports-selector-fn> | <supports-font-tech-fn> | <supports-font-format-fn> | <supports-at-rule-fn> | <supports-named-feature-fn> | <supports-env-fn> | <supports-decl>","supports-font-format-fn":"font-format( <font-format> )","supports-font-tech-fn":"font-tech( <font-tech> )","supports-import-condition":"supports( [ <supports-condition> | <declaration> ] )","supports-named-feature-fn":"named-feature( <ident> )","supports()":"supports( <declaration> )","svg-paint":"child | child( <integer> )","syntax-multiplier":"[ '#' | '+' ]","system-color":"AccentColor | AccentColorText | ActiveText | ButtonBorder | ButtonFace | ButtonText | Canvas | CanvasText | Field | FieldText | GrayText | Highlight | HighlightText | LinkText | Mark | MarkText | SelectedItem | SelectedItemText | VisitedText | <deprecated-color>","target-contrast":"<wcag2>","text-edge":"[ text | ideographic | ideographic-ink ] | [ text | ideographic | ideographic-ink | cap | ex ] [ text | ideographic | ideographic-ink | alphabetic ]","time-percentage":"[ <time> | <percentage> ]","timeline-range-center-subject":"<ident>","toggle()":"toggle( <any-value># )","track-breadth":"<length-percentage [0,∞]> | <flex [0,∞]> | min-content | max-content | auto","track-size":"<track-breadth> | minmax( <inflexible-breadth> , <track-breadth> ) | fit-content( <length-percentage [0,∞]> )","transform-function":"<scale3d()> | <scale()> | <scaleX()> | <scaleY()> | <scaleZ()> | <translate3d()> | <translate()> | <translateX()> | <translateY()> | <translateZ()> | <rotate3d()> | <rotate()> | <rotateX()> | <rotateY()> | <rotateZ()> | <skew()> | <skewX()> | <skewY()> | <matrix3d()> | <matrix()> | <perspective()>","transform-interpolate()":"transform-interpolate( [ <progress-source> && [ by <easing-function> ]? && <easing-function>? ] , <input-position>{1,2} : <transform-list> , [ <easing-function>? , <input-position>{1,2} : <transform-list> ]#? )","transform-mix()":"transform-mix( [ <transform-list> && <percentage [0,100]> ]# )","try-tactic":"flip-block || flip-inline || flip-start || flip-x || flip-y",type:"'<' [ number | string ] '>'","type()":"type( <syntax> )",url:"<url()> | <src()> | <url-token>","url-pattern()":"url-pattern( <string> )","url-set":"image-set( <url-set-option># )","url-set-option":"[ <url> | <string> ] [ <resolution> || type( <string> ) ]?","url-set()":"url-set( <url-set-option># )","url()":"url( <string> <url-modifier>* ) | <url-token>","var-args":"var( <declaration-value> , <declaration-value>? )","vertical-line-command":"vline [ to [ <length-percentage> | top | center | bottom | y-start | y-end ] | by <length-percentage> ]","voice-family-name":"<string> | <custom-ident>+",wcag2:"wcag2 | wcag2( [ <number> | [ aa | aaa ] && large? ] )","whole-value":"<declaration-value>","style-feature-name":"<dashed-ident> | -moz-appearance | -moz-background-clip | -moz-binding | -moz-border-bottom-colors | -moz-border-left-colors | -moz-border-radius-bottomleft | -moz-border-radius-bottomright | -moz-border-radius-topleft | -moz-border-radius-topright | -moz-border-right-colors | -moz-border-top-colors | -moz-context-properties | -moz-control-character-visibility | -moz-float-edge | -moz-force-broken-image-icon | -moz-orient | -moz-osx-font-smoothing | -moz-outline-radius | -moz-outline-radius-bottomleft | -moz-outline-radius-bottomright | -moz-outline-radius-topleft | -moz-outline-radius-topright | -moz-stack-sizing | -moz-text-blink | -moz-user-focus | -moz-user-input | -moz-user-modify | -moz-user-select | -moz-window-dragging | -moz-window-shadow | -ms-accelerator | -ms-block-progression | -ms-content-zoom-chaining | -ms-content-zoom-limit | -ms-content-zoom-limit-max | -ms-content-zoom-limit-min | -ms-content-zoom-snap | -ms-content-zoom-snap-points | -ms-content-zoom-snap-type | -ms-content-zooming | -ms-filter | -ms-flex-align | -ms-flex-item-align | -ms-flex-line-pack | -ms-flex-negative | -ms-flex-order | -ms-flex-pack | -ms-flex-positive | -ms-flex-preferred-size | -ms-flow-from | -ms-flow-into | -ms-grid-column-align | -ms-grid-columns | -ms-grid-row-align | -ms-grid-rows | -ms-high-contrast-adjust | -ms-hyphenate-limit-chars | -ms-hyphenate-limit-last | -ms-hyphenate-limit-lines | -ms-hyphenate-limit-zone | -ms-ime-align | -ms-interpolation-mode | -ms-overflow-style | -ms-scroll-chaining | -ms-scroll-limit | -ms-scroll-limit-x-max | -ms-scroll-limit-x-min | -ms-scroll-limit-y-max | -ms-scroll-limit-y-min | -ms-scroll-rails | -ms-scroll-snap-points-x | -ms-scroll-snap-points-y | -ms-scroll-snap-type | -ms-scroll-snap-x | -ms-scroll-snap-y | -ms-scroll-translation | -ms-scrollbar-3dlight-color | -ms-scrollbar-arrow-color | -ms-scrollbar-base-color | -ms-scrollbar-darkshadow-color | -ms-scrollbar-face-color | -ms-scrollbar-highlight-color | -ms-scrollbar-shadow-color | -ms-scrollbar-track-color | -ms-text-autospace | -ms-touch-select | -ms-user-select | -ms-wrap-flow | -ms-wrap-margin | -ms-wrap-through | -webkit-appearance | -webkit-background-clip | -webkit-border-before | -webkit-border-before-color | -webkit-border-before-style | -webkit-border-before-width | -webkit-box-reflect | -webkit-column-break-after | -webkit-column-break-before | -webkit-column-break-inside | -webkit-font-smoothing | -webkit-line-clamp | -webkit-mask | -webkit-mask-attachment | -webkit-mask-box-image | -webkit-mask-clip | -webkit-mask-composite | -webkit-mask-image | -webkit-mask-origin | -webkit-mask-position | -webkit-mask-position-x | -webkit-mask-position-y | -webkit-mask-repeat | -webkit-mask-repeat-x | -webkit-mask-repeat-y | -webkit-mask-size | -webkit-overflow-scrolling | -webkit-print-color-adjust | -webkit-tap-highlight-color | -webkit-text-fill-color | -webkit-text-security | -webkit-text-stroke | -webkit-text-stroke-color | -webkit-text-stroke-width | -webkit-touch-callout | -webkit-user-drag | -webkit-user-modify | -webkit-user-select | accent-color | align-content | align-items | align-self | align-tracks | alignment-baseline | all | anchor-name | anchor-scope | animation | animation-composition | animation-delay | animation-direction | animation-duration | animation-fill-mode | animation-iteration-count | animation-name | animation-play-state | animation-range | animation-range-center | animation-range-end | animation-range-start | animation-timeline | animation-timing-function | animation-trigger | appearance | aspect-ratio | backdrop-filter | backface-visibility | background | background-attachment | background-blend-mode | background-clip | background-color | background-image | background-origin | background-position | background-position-block | background-position-inline | background-position-x | background-position-y | background-repeat | background-repeat-block | background-repeat-inline | background-repeat-x | background-repeat-y | background-size | background-tbd | baseline-shift | baseline-source | behavior | block-ellipsis | block-size | block-step | block-step-align | block-step-insert | block-step-round | block-step-size | bookmark-label | bookmark-level | bookmark-state | border | border-block | border-block-clip | border-block-color | border-block-end | border-block-end-clip | border-block-end-color | border-block-end-radius | border-block-end-style | border-block-end-width | border-block-start | border-block-start-clip | border-block-start-color | border-block-start-radius | border-block-start-style | border-block-start-width | border-block-style | border-block-width | border-bottom | border-bottom-clip | border-bottom-color | border-bottom-left-radius | border-bottom-radius | border-bottom-right-radius | border-bottom-style | border-bottom-width | border-boundary | border-clip | border-collapse | border-color | border-end-end-radius | border-end-start-radius | border-image | border-image-outset | border-image-repeat | border-image-slice | border-image-source | border-image-width | border-inline | border-inline-clip | border-inline-color | border-inline-end | border-inline-end-clip | border-inline-end-color | border-inline-end-radius | border-inline-end-style | border-inline-end-width | border-inline-start | border-inline-start-clip | border-inline-start-color | border-inline-start-radius | border-inline-start-style | border-inline-start-width | border-inline-style | border-inline-width | border-left | border-left-clip | border-left-color | border-left-radius | border-left-style | border-left-width | border-limit | border-radius | border-right | border-right-clip | border-right-color | border-right-radius | border-right-style | border-right-width | border-shape | border-spacing | border-start-end-radius | border-start-start-radius | border-style | border-top | border-top-clip | border-top-color | border-top-left-radius | border-top-radius | border-top-right-radius | border-top-style | border-top-width | border-width | bottom | box-align | box-decoration-break | box-direction | box-flex | box-flex-group | box-lines | box-ordinal-group | box-orient | box-pack | box-shadow | box-shadow-blur | box-shadow-color | box-shadow-offset | box-shadow-position | box-shadow-spread | box-sizing | box-snap | break-after | break-before | break-inside | caption-side | caret | caret-animation | caret-color | caret-shape | clear | clip | clip-path | clip-rule | color | color-adjust | color-interpolation | color-interpolation-filters | color-scheme | column-count | column-fill | column-gap | column-height | column-rule | column-rule-break | column-rule-color | column-rule-edge-inset | column-rule-edge-inset-end | column-rule-edge-inset-start | column-rule-inset | column-rule-inset-end | column-rule-inset-start | column-rule-interior-inset | column-rule-interior-inset-end | column-rule-interior-inset-start | column-rule-style | column-rule-visibility-items | column-rule-width | column-span | column-width | column-wrap | columns | contain | contain-intrinsic-block-size | contain-intrinsic-height | contain-intrinsic-inline-size | contain-intrinsic-size | contain-intrinsic-width | container | container-name | container-type | content | content-visibility | continue | copy-into | corner | corner-block-end | corner-block-end-shape | corner-block-start | corner-block-start-shape | corner-bottom | corner-bottom-left | corner-bottom-left-shape | corner-bottom-right | corner-bottom-right-shape | corner-bottom-shape | corner-end-end | corner-end-end-shape | corner-end-start | corner-end-start-shape | corner-inline-end | corner-inline-end-shape | corner-inline-start | corner-inline-start-shape | corner-left | corner-left-shape | corner-right | corner-right-shape | corner-shape | corner-start-end | corner-start-end-shape | corner-start-start | corner-start-start-shape | corner-top | corner-top-left | corner-top-left-shape | corner-top-right | corner-top-right-shape | corner-top-shape | counter-increment | counter-reset | counter-set | cue | cue-after | cue-before | cursor | cx | cy | d | direction | display | dominant-baseline | dynamic-range-limit | empty-cells | event-trigger | event-trigger-name | event-trigger-source | field-sizing | fill | fill-break | fill-color | fill-image | fill-opacity | fill-origin | fill-position | fill-repeat | fill-rule | fill-size | filter | flex | flex-basis | flex-direction | flex-flow | flex-grow | flex-shrink | flex-wrap | float | float-defer | float-offset | float-reference | flood-color | flood-opacity | flow-from | flow-into | flow-tolerance | font | font-family | font-feature-settings | font-kerning | font-language-override | font-optical-sizing | font-palette | font-size | font-size-adjust | font-smooth | font-stretch | font-style | font-synthesis | font-synthesis-position | font-synthesis-small-caps | font-synthesis-style | font-synthesis-weight | font-variant | font-variant-alternates | font-variant-caps | font-variant-east-asian | font-variant-emoji | font-variant-ligatures | font-variant-numeric | font-variant-position | font-variation-settings | font-weight | font-width | footnote-display | footnote-policy | forced-color-adjust | frame-sizing | gap | glyph-orientation-horizontal | glyph-orientation-vertical | grid | grid-area | grid-auto-columns | grid-auto-flow | grid-auto-rows | grid-column | grid-column-end | grid-column-gap | grid-column-start | grid-gap | grid-row | grid-row-end | grid-row-gap | grid-row-start | grid-template | grid-template-areas | grid-template-columns | grid-template-rows | hanging-punctuation | height | hyphenate-character | hyphenate-limit-chars | hyphenate-limit-last | hyphenate-limit-lines | hyphenate-limit-zone | hyphens | image-animation | image-orientation | image-rendering | image-resolution | ime-mode | initial-letter | initial-letter-align | initial-letter-wrap | inline-size | inline-sizing | input-security | inset | inset-block | inset-block-end | inset-block-start | inset-inline | inset-inline-end | inset-inline-start | interactivity | interest-delay | interest-delay-end | interest-delay-start | interpolate-size | isolation | justify-content | justify-items | justify-self | justify-tracks | kerning | left | letter-spacing | lighting-color | line-break | line-clamp | line-fit-edge | line-grid | line-height | line-height-step | line-padding | line-snap | link-parameters | list-style | list-style-image | list-style-position | list-style-type | margin | margin-block | margin-block-end | margin-block-start | margin-bottom | margin-break | margin-inline | margin-inline-end | margin-inline-start | margin-left | margin-right | margin-top | margin-trim | marker | marker-end | marker-mid | marker-side | marker-start | mask | mask-border | mask-border-mode | mask-border-outset | mask-border-repeat | mask-border-slice | mask-border-source | mask-border-width | mask-clip | mask-composite | mask-image | mask-mode | mask-origin | mask-position | mask-repeat | mask-size | mask-type | masonry-auto-flow | math-depth | math-shift | math-style | max-block-size | max-height | max-inline-size | max-lines | max-width | min-block-size | min-height | min-inline-size | min-intrinsic-sizing | min-width | mix-blend-mode | nav-down | nav-left | nav-right | nav-up | object-fit | object-position | object-view-box | offset | offset-anchor | offset-distance | offset-path | offset-position | offset-rotate | opacity | order | orphans | outline | outline-color | outline-offset | outline-style | outline-width | overflow | overflow-anchor | overflow-block | overflow-clip-box | overflow-clip-margin | overflow-clip-margin-block | overflow-clip-margin-block-end | overflow-clip-margin-block-start | overflow-clip-margin-bottom | overflow-clip-margin-inline | overflow-clip-margin-inline-end | overflow-clip-margin-inline-start | overflow-clip-margin-left | overflow-clip-margin-right | overflow-clip-margin-top | overflow-inline | overflow-wrap | overflow-x | overflow-y | overlay | overscroll-behavior | overscroll-behavior-block | overscroll-behavior-inline | overscroll-behavior-x | overscroll-behavior-y | padding | padding-block | padding-block-end | padding-block-start | padding-bottom | padding-inline | padding-inline-end | padding-inline-start | padding-left | padding-right | padding-top | page | page-break-after | page-break-before | page-break-inside | paint-order | pause | pause-after | pause-before | perspective | perspective-origin | place-content | place-items | place-self | pointer-events | pointer-timeline | pointer-timeline-axis | pointer-timeline-name | position | position-anchor | position-area | position-try | position-try-fallbacks | position-try-options | position-try-order | position-visibility | print-color-adjust | quotes | r | reading-flow | reading-order | region-fragment | resize | rest | rest-after | rest-before | right | rotate | row-gap | row-rule | row-rule-break | row-rule-color | row-rule-edge-inset | row-rule-edge-inset-end | row-rule-edge-inset-start | row-rule-inset | row-rule-inset-end | row-rule-inset-start | row-rule-interior-inset | row-rule-interior-inset-end | row-rule-interior-inset-start | row-rule-style | row-rule-visibility-items | row-rule-width | ruby-align | ruby-merge | ruby-overhang | ruby-position | rule | rule-break | rule-color | rule-edge-inset | rule-inset | rule-inset-end | rule-inset-start | rule-interior-inset | rule-overlap | rule-style | rule-visibility-items | rule-width | rx | ry | scale | scroll-behavior | scroll-initial-target | scroll-margin | scroll-margin-block | scroll-margin-block-end | scroll-margin-block-start | scroll-margin-bottom | scroll-margin-inline | scroll-margin-inline-end | scroll-margin-inline-start | scroll-margin-left | scroll-margin-right | scroll-margin-top | scroll-marker-group | scroll-padding | scroll-padding-block | scroll-padding-block-end | scroll-padding-block-start | scroll-padding-bottom | scroll-padding-inline | scroll-padding-inline-end | scroll-padding-inline-start | scroll-padding-left | scroll-padding-right | scroll-padding-top | scroll-snap-align | scroll-snap-coordinate | scroll-snap-destination | scroll-snap-points-x | scroll-snap-points-y | scroll-snap-stop | scroll-snap-type | scroll-snap-type-x | scroll-snap-type-y | scroll-target-group | scroll-timeline | scroll-timeline-axis | scroll-timeline-name | scrollbar-color | scrollbar-gutter | scrollbar-width | shape-image-threshold | shape-inside | shape-margin | shape-outside | shape-padding | shape-rendering | shape-subtract | slider-orientation | spatial-navigation-action | spatial-navigation-contain | spatial-navigation-function | speak | speak-as | stop-color | stop-opacity | string-set | stroke | stroke-align | stroke-alignment | stroke-break | stroke-color | stroke-dash-corner | stroke-dash-justify | stroke-dashadjust | stroke-dasharray | stroke-dashcorner | stroke-dashoffset | stroke-image | stroke-linecap | stroke-linejoin | stroke-miterlimit | stroke-opacity | stroke-origin | stroke-position | stroke-repeat | stroke-size | stroke-width | tab-size | table-layout | text-align | text-align-all | text-align-last | text-anchor | text-autospace | text-box | text-box-edge | text-box-trim | text-combine-upright | text-decoration | text-decoration-color | text-decoration-inset | text-decoration-line | text-decoration-skip | text-decoration-skip-box | text-decoration-skip-ink | text-decoration-skip-self | text-decoration-skip-spaces | text-decoration-style | text-decoration-thickness | text-emphasis | text-emphasis-color | text-emphasis-position | text-emphasis-skip | text-emphasis-style | text-group-align | text-indent | text-justify | text-orientation | text-overflow | text-rendering | text-shadow | text-size-adjust | text-spacing | text-spacing-trim | text-transform | text-underline-offset | text-underline-position | text-wrap | text-wrap-mode | text-wrap-style | timeline-scope | timeline-trigger | timeline-trigger-activation-range | timeline-trigger-activation-range-end | timeline-trigger-activation-range-start | timeline-trigger-active-range | timeline-trigger-active-range-end | timeline-trigger-active-range-start | timeline-trigger-exit-range | timeline-trigger-exit-range-end | timeline-trigger-exit-range-start | timeline-trigger-name | timeline-trigger-range | timeline-trigger-range-end | timeline-trigger-range-start | timeline-trigger-source | top | touch-action | transform | transform-box | transform-origin | transform-style | transition | transition-behavior | transition-delay | transition-duration | transition-property | transition-timing-function | translate | trigger-scope | unicode-bidi | user-select | vector-effect | vertical-align | view-timeline | view-timeline-axis | view-timeline-inset | view-timeline-name | view-transition-class | view-transition-group | view-transition-name | view-transition-scope | visibility | voice-balance | voice-duration | voice-family | voice-pitch | voice-range | voice-rate | voice-stress | voice-volume | white-space | white-space-collapse | white-space-trim | widows | width | will-change | word-break | word-space-transform | word-spacing | word-wrap | wrap-after | wrap-before | wrap-flow | wrap-inside | wrap-through | writing-mode | x | y | z-index | zoom"}}}});function oU(...e){var r;let t=(r=e[0])!=null?r:{};for(let n=1;n<e.length;n++){let i=e[n];i&&(t=aU(t,i))}return t}function aU(e,t){let r={};return r.atrules=sU(e.atrules,t.atrules),r.properties=Ly(e.properties,t.properties),r.types=Ly(e.types,t.types),r.cssWideKeywords=lU(e.cssWideKeywords,t.cssWideKeywords),r.units=uU(e.units,t.units),r}function sU(e,t){var n,i;if(typeof e>"u"||typeof t>"u")return(n=e!=null?e:t)!=null?n:{};let r=structuredClone(e);for(let[o,a]of Object.entries(t)){let s=(i=r[o])!=null?i:{};s.prelude=dU(s.prelude,a.prelude),s.descriptors=Ly(s.descriptors,a.descriptors),r[o]=s}return r}function Ly(e,t){var n;if(typeof e>"u"||typeof t>"u")return(n=e!=null?e:t)!=null?n:{};let r={...e};for(let[i,o]of Object.entries(t))r[i]=cU(r[i],o);return r}function lU(e,t){var r;return typeof e>"u"||typeof t>"u"?(r=e!=null?e:t)!=null?r:[]:Array.from(new Set([...e,...t]))}function uU(e,t){var n;if(typeof e>"u"||typeof t>"u")return(n=e!=null?e:t)!=null?n:{};let r={...e};for(let[i,o]of Object.entries(t)){let a=r[i];r[i]=a?Array.from(new Set([...a,...o])):o}return r}function cU(e,t){if(typeof e>"u")return t;let r=t.trimStart();return r.startsWith("|")?`${e} ${r}`:t}function dU(e,t){if(typeof e>"u"||typeof t>"u")return e!=null?e:t;let r=t.trimStart();return r.startsWith("|")?`${e} ${r}`:t}var pU=y(()=>{});function A3(e,t){var a;let r={...(a=e.languageOptions)==null?void 0:a.syntax,...t};if(r.atRules&&(r.atrules=r.atRules),r.units){let s=OL.units,l={};for(let[u,c]of Object.entries(r.units)){let d=s[u];l[u]=d?[...d,...c]:c}r.units=l}let n=JSON.stringify(r),i=Fy.get(n);if(i)return i;let{lexer:o}=xk(oU(N3,r));return Fy.set(n,o),o}var N3,Fy,E3=y(()=>{In(),iU(),pU(),{next:N3}=z3,Fy=new Map});function mU(e,t){let r=e.parent;for(;r&&!ur(r)&&t(r)!==jk;)r=r.parent}var jk,hU=y(()=>{fe(),jk="STOP"});function Ji(e,t){let r;return mU(e,n=>{if(t(n))return r=n,jk}),r}var Ad=y(()=>{hU()});function P3(e){return!!Ji(e,fU)}function fU(e){return Ie(e)&&!Rc.has(e.name.toLowerCase())}var j3=y(()=>{Ad(),fe(),ro()});function I3(e,t,r,n){if(!e)return!1;let i=e[t];if(!i)return!1;let o=Object.entries(i).find(([a])=>Pe(r,a));return o?!!Pe(n,o[1]):!1}var O3=y(()=>{Le()}),T3={};A(T3,{default:()=>F3});function D3(e){return!!kk(e,t=>t.type==="Function"&&L3.has(t.name.toLowerCase()))}function gU(e){let t=!1;return Dn(e,({node:r})=>{if(!(!He(r)||r.getName().toLowerCase()!=="calc-size")&&(t=r.tokens().some(n=>{var i;return n[0]===z.Ident&&((i=n[4])==null?void 0:i.value.toLowerCase())==="size"}),t))return!1}),t}function bU(e,t,r,n){var l;if(!Q.mathFunction.test(e))return["undetermined",-1,-1];let i=lo(St({css:e}),{});if(gU(i))return["skip-validation",-1,-1];let o=[],a=eU([i],{onParseError:u=>{o.push(u)}});for(let u of o)switch(u.message){case nd.UnexpectedAdditionOfDimensionOrPercentageWithNumber:case nd.UnexpectedSubtractionOfDimensionOrPercentageWithNumber:return["invalid",u.sourceStart,u.sourceEnd+1];default:break}let s=v3(a);if(Q.mathFunction.test(s))return["undetermined",-1,-1];try{let u=qr(s,{context:"value",positions:!0});if(D3(u))return["skip-validation",-1,-1];let{error:c}=r.matchProperty((l=n.get(t))!=null?l:t,u);if(!c)return["valid",-1,-1];if("mismatchLength"in c&&c.name==="SyntaxMatchError"&&c.rawMessage==="Mismatch"){let d=c.loc.start.offset,p=c.loc.end.offset,m=a.flatMap(f=>f.flatMap(g=>g.tokens())),v=0,h,b;return m.forEach(f=>{d===v&&(h=f),v+=f[1].length,p===v&&(b=f)}),!h||!b?["invalid",-1,-1]:["invalid",h[2],b[3]+1]}}catch{return["undetermined",-1,-1]}return["undetermined",-1,-1]}var vr,Yn,AS,NS,L3,fg,gg,Qa,F3,vU=y(()=>{nU(),rt(),In(),Ct(),V(),q(),Z(),Cw(),We(),E3(),pr(),fe(),j3(),ct(),Or(),_e(),O3(),j(),O(),Ht(),Sk(),D(),vr="declaration-property-value-no-unknown",Yn=I(vr,{rejected:(e,t)=>`Unknown value "${t}" for property "${e}"`,rejectedParseError:(e,t)=>`Cannot parse property value "${t}" for property "${e}"`,rejectedMath:(e,t)=>`Invalid math expression "${t}" for property "${e}"`}),AS={url:"https://stylelint.io/user-guide/rules/declaration-property-value-no-unknown"},NS=/^syntax$/i,L3=new Set(["clamp","min","max","env"]),fg=new WeakMap,gg=1e4,Qa=(e,t)=>(r,n)=>{var d;if(!T(n,vr,{actual:e},{actual:t,possible:{ignoreProperties:[Bt($,_)],propertiesSyntax:[qm($)],typesSyntax:[qm($)]},optional:!0}))return;t!=null&&t.propertiesSyntax&&Fc(`We've deprecated the "propertiesSyntax" option of "${vr}".`,"RULE_OPTION",'Use the shared and more performant "languageOptions" configuration property instead. See https://stylelint.io/user-guide/rules/declaration-property-value-no-unknown#propertiessyntax'),t!=null&&t.typesSyntax&&Fc(`We've deprecated the "typesSyntax" option of "${vr}".`,"RULE_OPTION",'Use the shared and more performant "languageOptions" configuration property instead. See https://stylelint.io/user-guide/rules/declaration-property-value-no-unknown#typessyntax');let i=(p,m)=>I3(t,"ignoreProperties",p,m),o={...t==null?void 0:t.propertiesSyntax},a={...t==null?void 0:t.typesSyntax},s=new Map,l=n.stylelint.referenceRoots;for(let p of[...l,r])p.walkAtRules(Se.propertyName,m=>{let v=m.params.trim();if(!(!v||!m.nodes||!yt(v))){for(let h of m.nodes)if(eo(h)&&NS.test(h.prop)){let b=h.value.trim(),f=Z4.decode(b);if(f===b||f==="*")continue;let g=`-stylelint${v}`;s.set(v,g),o[g]=f}}});let u=Object.keys(o).length>0||Object.keys(a).length>0?A3((d=n.stylelint.config)!=null?d:{},{properties:o,types:a}):n.stylelint.lexer,c=fg.get(u);c||(c=new Set,fg.set(u,c)),r.walkDecls(p=>{var B;let{prop:m}=p,v=qe(p);if(/^-moz-initial$/i.test(v)||!ut(p)||P3(p)||!Ir(m)||!Be(v)||yt(m)&&!s.has(m)||i(m,v)||/\bvar\s*\(/i.test(v))return;let h=yt(m)?null:`${m}:${v}`;if(h&&c.has(h))return;let[b,f,g]=bU(v,m,u,s);if(b==="valid"||b==="skip-validation"){h&&c.size<gg&&c.add(h);return}if(b==="invalid"){let re=ie(p),te=v,ae=re,le=ae+te.length;f!==-1&&g!==-1&&(te=v.slice(f,g),ae=re+f,le=ae+te.length),P({message:Yn.rejectedMath,messageArgs:[m,te],node:p,index:ae,endIndex:le,result:n,ruleName:vr});return}let x;try{if(x=qr(v,{context:"value",positions:!0}),D3(x))return}catch{if(/(?:^|[^\w-])(?:attr|if|--[\w-]+)\(/i.test(v))return;let re=ie(p),te=re+v.length;P({message:Yn.rejectedParseError,messageArgs:[m,v],node:p,index:re,endIndex:te,result:n,ruleName:vr});return}let{error:w}=u.matchProperty((B=s.get(m))!=null?B:m,x);if(!w){h&&c.size<gg&&c.add(h);return}if(!("mismatchLength"in w))return;let{name:k,rawMessage:S,loc:E}=w;if(k!=="SyntaxMatchError"||S!=="Mismatch")return;let C=ie(p),R=v.slice(E.start.offset,E.end.offset),N=kk(x,re=>re.type==="Function"&&re.loc!==void 0&&E.start.offset>=re.loc.start.offset&&E.end.offset<=re.loc.end.offset);if(N!=null&&N.loc){let re=v.slice(N.loc.start.offset,N.loc.end.offset),te=C+N.loc.start.offset,ae=te+re.length;P({message:Yn.rejected,messageArgs:[m,re],node:p,index:te,endIndex:ae,result:n,ruleName:vr});return}P({message:Yn.rejected,messageArgs:[m,R],node:p,index:C+E.start.offset,endIndex:C+E.end.offset,result:n,ruleName:vr})})},Qa.ruleName=vr,Qa.messages=Yn,Qa.meta=AS,F3=Qa}),M3={};A(M3,{default:()=>q3});function ES(e){return R3.test(e)?1:$3.test(e)?2:B3.test(e)?3:0}function yU(e,t){return ES(e)-ES(t)}function wU(e){return e.map(t=>t[4].value).sort(yU).join(" ").toLowerCase()}function kU(e,t,r,n){let i=e.slice(0,e.indexOf(t)),o=e.slice(e.indexOf(t),e.indexOf(r)).filter(Ph),a=e.slice(e.indexOf(r)+1);return ke(...i,...n.flatMap((s,l)=>{let u=[];return l!==0&&u.push([z.Whitespace," ",-1,-1,void 0]),u.push([z.Ident,s,-1,-1,{value:s}]),u}),...o,...a)}var Ya,bg,PS,R3,$3,B3,jS,IS,OS,Ga,q3,xU=y(()=>{rt(),Ke(),Z(),We(),_e(),V(),j(),O(),gt(),D(),Ya="display-notation",bg=I(Ya,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),PS={url:"https://stylelint.io/user-guide/rules/display-notation",fixable:!0},R3=new RegExp(`^(?:${[...Tw.values()].join("|")})$`,"i"),$3=new RegExp(`^(?:${[...Dw.values()].join("|")})$`,"i"),B3=new RegExp(`^(?:${[...Lw.values()].join("|")})$`,"i"),jS=/^display$/i,IS={"block list-item":["block","flow","list-item"],block:["block","flow"],flex:["block","flex"],"flow list-item":["block","flow","list-item"],flow:["block","flow"],"flow-root":["block","flow-root"],grid:["block","grid"],"inline list-item":["inline","flow","list-item"],inline:["inline","flow"],"inline-block":["inline","flow-root"],"inline-flex":["inline","flex"],"inline-grid":["inline","grid"],"inline-table":["inline","table"],"list-item":["block","flow","list-item"],ruby:["inline","ruby"],"run-in":["run-in","flow"],table:["block","table"]},OS={"block flex":["flex"],"block flow list-item":["list-item"],"block flow":["block"],"block flow-root":["flow-root"],"block grid":["grid"],"block list-item":["list-item"],"block table":["table"],"flow list-item":["list-item"],"inline flex":["inline-flex"],"inline flow list-item":["inline","list-item"],"inline flow":["inline"],"inline flow-root":["inline-block"],"inline grid":["inline-grid"],"inline ruby":["ruby"],"inline table":["inline-table"],"run-in flow":["run-in"]},Ga=e=>(t,r)=>{T(r,Ya,{actual:e,possible:["short","full"]})&&t.walkDecls(jS,n=>{let i=qe(n);if(!Q.displayKeyword.test(i)||!Be(i))return;let o=St({css:i});if(o.some(p=>!(Et(p)||Kt(p)||Ye(p))))return;let a=o.filter(Ye);if(!a.length)return;let s=wU(a),l=e==="short"?OS[s]:IS[s];if(!l)return;let u=a.at(0),c=a.at(-1);if(!u||!c)return;let d=ie(n);P({message:bg.expected,messageArgs:[s,l.join(" ")],node:n,index:d+u[2],endIndex:d+c[3]+1,result:r,ruleName:Ya,fix:{apply:()=>{ft(n,kU(o,u,c,l))},node:n}})})},Ga.ruleName=Ya,Ga.messages=bg,Ga.meta=PS,q3=Ga});function rm(e){return e.toString().trim().length!==0&&Number(e)==e}var W3=y(()=>{});function TS(e){if(!e)return!1;if(ym.has(e))return!0;let t=_3.default.unit(e);if(!t)return!1;let r=t.unit;return!!(r==="%"||Bi.has(r.toLowerCase()))}var _3,SU=y(()=>{_3=K(de(),1),Ke(),io()});function Nd(e){return e.toLowerCase().startsWith("var(")}var Ed=y(()=>{});function CU(e,t,r){return e.value=e.value+r+t.value,e}function Ik(e){let t=[],r=(0,U3.default)(e),{nodes:n}=r;if(n.length===1&&n[0]&&Te.has(n[0].value.toLowerCase()))return[n[0]];let i=!1,o=null;return r.walk((a,s,l)=>{if(a.type==="function")return!1;if(!V3.has(a.type))return;let u=a.value.toLowerCase();if(!Be(u)||Nd(u))return;let c=Xr.has(u);if(!c&&Fw.has(u)||!c&&TS(a.value))return;let d=l[s+1],p=l[s-1],m=l[s-2],v=l.slice(0,s);if(c&&ym.has(u)&&!(!d||My(d)||v.find(My))||p&&p.value==="/"&&m&&TS(m.value)||rm(u))return;if((a.type==="space"||a.type==="div"&&a.value!==",")&&t.length!==0){i=!0,o=a.value;return}if(a.type==="space"||a.type==="div")return;let h=a;if(i){let b=t[t.length-1];$e(b),CU(b,h,o),i=!1,o=null}else t.push(h)}),t}var U3,V3,My,Ok=y(()=>{U3=K(de(),1),Ke(),q(),W3(),_e(),SU(),Ed(),V3=new Set(["word","string","space","div"]),My=e=>e.type==="div"&&e.value===","}),Q3={};A(Q3,{default:()=>Y3});function zU(e){return!!(uN.has(e)||e==="BlinkMacSystemFont")}function AU(e){return!/^[-a-z]+$/i.test(e)}function NU(e){return e.split(/\s+/).some(t=>/^(?:-?\d|--)/.test(t)||!/^[-\w\u{00A0}-\u{10FFFF}]+$/u.test(t))}var Ka,vg,DS,LS,Ha,Y3,EU=y(()=>{Ke(),Ok(),_e(),Ed(),V(),j(),O(),D(),Ka="font-family-name-quotes",vg=I(Ka,{expected:e=>`Expected quotes around "${e}"`,rejected:e=>`Expected no quotes around "${e}"`}),DS={url:"https://stylelint.io/user-guide/rules/font-family-name-quotes",fixable:!0},LS=(e,t)=>{let r=[];return e.forEach((n,i)=>{let o="quote"in n&&n.quote,a=n.value,s={name:a,rawName:o?`${o}${a}${o}`:a,sourceIndex:n.sourceIndex,hasQuotes:!!o,resetIndexes(l){r.slice(i+1).forEach(u=>u.sourceIndex+=l)},removeQuotes(){if(this.hasQuotes===!1)return;let l=this.sourceIndex,u=l+this.name.length+2;this.hasQuotes=!1,t.value=t.value.slice(0,l)+this.name+t.value.substring(u),this.resetIndexes(-2)},addQuotes(){if(this.hasQuotes===!0)return;let l=this.sourceIndex,u=l+this.name.length;this.hasQuotes=!0;let c=`"${this.name}"`;t.value=t.value.slice(0,l)+c+t.value.substring(u),this.resetIndexes(2)}};r.push(s)}),r},Ha=e=>(t,r)=>{if(!T(r,Ka,{actual:e,possible:["always-where-required","always-where-recommended","always-unless-keyword"]}))return;t.walkDecls(dr.fontFamilyAndShorthandName,o=>{if(!Be(o.value))return;let a=LS(Ik(o.value),o);if(a.length!==0)for(let s of a)n(s,o)});function n(o,a){let{name:s,rawName:l,hasQuotes:u}=o;if(Nd(l))return;if(Xr.has(s.toLowerCase())||zU(s))return u?i("rejected",o,a):void 0;let c=NU(s),d=AU(s);switch(e){case"always-unless-keyword":return u?void 0:i("expected",o,a);case"always-where-recommended":return!d&&u?i("rejected",o,a):d&&!u?i("expected",o,a):void 0;case"always-where-required":if(!c&&u)return i("rejected",o,a);if(c&&!u)return i("expected",o,a)}}function i(o,a,s){let{name:l,rawName:u}=a,c=()=>o==="expected"?a.addQuotes():a.removeQuotes();P({result:r,ruleName:Ka,message:vg[o],messageArgs:[l],node:s,word:u,fix:{apply:c,node:s}})}},Ha.ruleName=Ka,Ha.messages=vg,Ha.meta=DS,Y3=Ha}),G3={};A(G3,{default:()=>K3});var Ja,yg,FS,MS,Za,K3,PU=y(()=>{q(),Z(),Ok(),Ke(),H(),V(),j(),O(),D(),Ja="font-family-no-duplicate-names",yg=I(Ja,{rejected:e=>`Duplicate font-family name "${e}"`}),FS={url:"https://stylelint.io/user-guide/rules/font-family-no-duplicate-names"},MS=e=>!("quote"in e)&&Xr.has(e.value.toLowerCase()),Za=(e,t)=>(r,n)=>{if(!T(n,Ja,{actual:e},{actual:t,possible:{ignoreFontFamilyNames:[$,_]},optional:!0}))return;r.walkDecls(dr.fontFamilyAndShorthandName,o=>{let a=new Set,s=new Set,l=Ik(o.value);if(l.length!==0)for(let u of l){let c=u.value.trim();if(L(t,"ignoreFontFamilyNames",c))continue;let d="quote"in u?u.quote+c+u.quote:c;if(MS(u)){if(a.has(c.toLowerCase())){i(c,ie(o)+u.sourceIndex,d.length,o);continue}a.add(c);continue}if(s.has(c)){i(c,ie(o)+u.sourceIndex,d.length,o);continue}s.add(c)}});function i(o,a,s,l){P({result:n,ruleName:Ja,message:yg.rejected,messageArgs:[o],node:l,index:a,endIndex:a+s})}},Za.ruleName=Ja,Za.messages=yg,Za.meta=FS,K3=Za}),H3={};A(H3,{default:()=>J3});var Xa,wg,RS,$S,BS,es,J3,jU=y(()=>{hd(),q(),Ke(),Z(),Ok(),fe(),_e(),Ed(),H(),V(),j(),O(),D(),Xa="font-family-no-missing-generic-family-keyword",wg=I(Xa,{rejected:"Missing generic font family"}),RS={url:"https://stylelint.io/user-guide/rules/font-family-no-missing-generic-family-keyword"},$S=e=>!("quote"in e)&&Xr.has(e.value.toLowerCase()),BS=e=>{let t=Wi.list.comma(e).pop();return t!=null&&(Nd(t)||!Be(t))},es=(e,t)=>(r,n)=>{if(!T(n,Xa,{actual:e},{actual:t,possible:{ignoreFontFamilies:[$,_]},optional:!0}))return;let i=new Set(["font-face","font-palette-values"]);r.walkDecls(dr.fontFamilyAndShorthandName,o=>{let a=o.parent;if(a&&Ie(a)&&i.has(a.name.toLowerCase())||o.prop==="font"&&lN.has(o.value.toLowerCase())||BS(o.value))return;let s=Ik(o.value);if(s.length===0||s.some(p=>$S(p))||s.some(p=>L(t,"ignoreFontFamilies",p.value)))return;let l=s[s.length-1];$e(l);let u=ie(o),c=u+l.sourceIndex,d=u+l.sourceEndIndex;P({result:n,ruleName:Xa,message:wg.rejected,messageArgs:[],node:o,index:c,endIndex:d})})},es.ruleName=Xa,es.messages=wg,es.meta=RS,J3=es}),Z3={};A(Z3,{default:()=>X3});function Ry(e){return e!==void 0&&e.type==="div"}function IU(e,t,r){return!(e.type!=="word"||Ry(r[t-1])||Ry(r[t+1]))}var qS,ts,rs,WS,_S,US,kg,ns,X3,OU=y(()=>{qS=K(de(),1),Ke(),V(),q(),Z(),We(),W3(),_e(),Ed(),H(),j(),O(),gt(),D(),ts="font-weight-notation",rs=I(ts,{expected:e=>`Expected ${e} font-weight notation`,expectedWithActual:(e,t)=>`Expected "${e}" to be "${t}"`}),WS={url:"https://stylelint.io/user-guide/rules/font-weight-notation",fixable:!0},_S="normal",US=new Map([["normal","400"],["bold","700"]]),kg=new Map([["400","normal"],["700","bold"]]),ns=(e,t)=>(r,n)=>{if(!T(n,ts,{actual:e,possible:["numeric","named-where-possible"]},{actual:t,possible:{ignore:["relative"]},optional:!0}))return;let i=L(t,"ignore","relative");r.walkDecls(dr.fontWeightAndShorthandName,a=>{if(e==="numeric"&&!Q.namedFontWeight.test(a.value)||e==="named-where-possible"&&!Q.numericFontWeight.test(a.value))return;let s=a.prop.toLowerCase()==="font",l=(0,qS.default)(qe(a)),u=l.nodes,c=u.some((d,p,m)=>rm(d.value)&&!Ry(m[p-1]));for(let[d,p]of u.entries()){if(!IU(p,d,u))continue;let{value:m}=p;if(s){if(m.toLowerCase()===_S&&c)continue;if(o(a,p,l))break}o(a,p,l)}});function o(a,s,l){let u=s.value;if(!Be(u)||Nd(u))return;let c=u.toLowerCase();if(i&&bm.has(c))return;let d=m=>()=>{s.value=m,ft(a,l.toString())};if(e==="numeric"){if(!rm(c)&&vm.has(c)){let m=US.get(c);return m?p(rs.expectedWithActual,[u,m],s,d(m)):p(rs.expected,["numeric"],s,void 0),!0}}else if(e==="named-where-possible"&&rm(c)&&kg.has(c)){let m=kg.get(c);Xi(m);let v=d(m);return p(rs.expectedWithActual,[u,m],s,v),!0}function p(m,v,h,b){let f=ie(a)+h.sourceIndex,g=f+h.value.length;P({ruleName:ts,result:n,message:m,messageArgs:v,node:a,index:f,endIndex:g,fix:{apply:b,node:a}})}}},ns.ruleName=ts,ns.messages=rs,ns.meta=WS,X3=ns}),eF={};A(eF,{default:()=>tF});function TU(e){let t=e.prop.toLowerCase();if(yt(t))return!1;let r=e.prev();for(;r;){if(r.type==="decl"&&r.prop.toLowerCase()===t)return!0;r=r.prev()}return!1}var VS,is,xg,QS,Gn,tF,DU=y(()=>{VS=K(de(),1),q(),Z(),pr(),kd(),Le(),j(),O(),D(),is="function-allowed-list",xg=I(is,{rejected:e=>`Disallowed function "${e}"`}),QS={url:"https://stylelint.io/user-guide/rules/function-allowed-list"},Gn=(e,t)=>(r,n)=>{var o;if(!T(n,is,{actual:e,possible:[$,_]},{actual:t,possible:{exceptWithoutPropertyFallback:[$,_]},optional:!0}))return;let i=(o=t==null?void 0:t.exceptWithoutPropertyFallback)!=null?o:[];r.walkDecls(a=>{a.value.includes("(")&&(0,VS.default)(a.value).walk(s=>{let{type:l,sourceIndex:u,value:c}=s;if(l!=="function"||!wd(s)||Pe(c,e)&&(!Pe(c,i)||TU(a)))return;let d=ie(a)+u,p=d+c.length;P({message:xg.rejected,messageArgs:[c],node:a,index:d,endIndex:p,result:n,ruleName:is})})})},Gn.primaryOptionArray=!0,Gn.ruleName=is,Gn.messages=xg,Gn.meta=QS,tF=Gn}),rF={};A(rF,{default:()=>aF});function LU(e){let t=St({css:e});return t.forEach((r,n)=>{if(!Ee(r))return;let{unit:i}=r[4];if(i.startsWith("--"))return;let o=i.indexOf("-");if(o===-1)return;let a=i.slice(o);if(a.length===1)return;Eh(r,i.slice(0,o)),r[3]=r[2]+r[1].length;let s=St({css:a}).slice(0,-1);s.forEach(l=>{l[2]+=r[3],l[3]+=r[3]}),t.splice(n+1,0,...s)}),t.forEach((r,n)=>{if(!qt(r)||r[4].value!=="#")return;let i=t[n+1];if(!d3(i))return;let o=t[n+2];!qt(o)||o[4].value!=="$"||(i[1]="#{",t.splice(n,1))}),lo(t)}function YS(e){if(Dr(e))return!0;if(He(e)){let t=e.getName().toLowerCase();return!!(no.has(t)||t==="var")}return ce(e)?iF.has(e.value[0]):!1}function Ip(e=" "){return new It([[z.Whitespace,e,-1,-1,void 0]])}function FU(e,t){let r,n,i=[],o=[],a,s=e.value[t];for(;jt(s);)s=e.value[++t];for(YS(s)&&(r=s,s=e.value[++t]);jt(s);)i.push(s),s=e.value[++t];for(ce(s)&&qt(s.value)&&nF.has(s.value[4].value)&&(a=s,s=e.value[++t]);jt(s);)o.push(s),s=e.value[++t];for(YS(s)&&(n=s,s=e.value[++t]);jt(s);)s=e.value[++t];if(!r||!n){for(;s;){if(ce(s)&&(rn(s.value)||c3(s.value)))return[void 0,t];s=e.value[++t]}return[void 0,e.value.length]}return[new oF(r,i,n,o,a),t]}var os,cn,GS,nF,KS,HS,as,iF,oF,aF,MU=y(()=>{var e,$y,r;Ct(),rt(),Z(),We(),jr(),V(),j(),O(),gt(),D(),q(),os="function-calc-no-unspaced-operator",cn=I(os,{expectedBefore:n=>`Expected single space before "${n}" operator`,expectedAfter:n=>`Expected single space after "${n}" operator`}),GS={url:"https://stylelint.io/user-guide/rules/function-calc-no-unspaced-operator",fixable:!0},nF=new Set(["+","-"]),KS=new RegExp(`^(?:${[...no].join("|")})$`,"i"),HS=/\n|\r\n/,as=n=>(i,o)=>{if(!T(o,os,{actual:n}))return;function a(s,l,u,c,d){let p=u+c.length;P({message:s,messageArgs:[c],node:l,index:u,endIndex:p,result:o,ruleName:os,fix:{apply:d,node:l}})}i.walkDecls(s=>{let l=qe(s);if(!Q.operator.test(l)||!Q.mathFunction.test(l))return;let u=LU(l);if(u.length===0)return;let c=ie(s),d=()=>ft(s,v3([u]));function p(h,b,f){b[f].some(rd)||a(cn[f==="before"?"expectedBefore":"expectedAfter"],s,c+b.operatorCharPosition,b.operatorChar,()=>{b.insertWhitespace(h,f),d()})}function m(h,b){if(ce(b.firstOperand)){let f=b.firstOperand.value,g=(x,w)=>{if(!(x&&Q.operator.test(x)))return!1;let[,,,k]=f;return b.completeMissingOperator(x,k,"append"),a(cn.expectedBefore,s,c+b.operatorCharPosition,b.operatorChar,()=>{b.insertOperatorAfterFirstOperand(h),w(),d()}),!0};if(Ee(f)){let[,,,,{unit:x}]=f,w=x.at(-1),k=x.slice(0,-1);if(g(w,()=>Eh(f,k)))return}if(Ye(f)){let[,,,,{value:x}]=f,w=x.at(-1),k=x.slice(0,-1);if(g(w,()=>o7(f,k)))return}}if(ce(b.secondOperand)&&tt(b.secondOperand.value)){let f=b.secondOperand.value,[,,g,,{signCharacter:x}]=f;x&&Q.operator.test(x)&&(b.completeMissingOperator(x,g,"prepend"),a(cn.expectedAfter,s,c+b.operatorCharPosition,b.operatorChar,()=>{b.insertOperatorBeforeSecondOperand(h),f[4].signCharacter=void 0,f[1]=f[1].slice(1),d()}))}}function v(h,b){h[b].forEach(f=>{if(!rd(f))return;let g=f.toString();if(g===" ")return;let x=g.search(HS);if(x===0)return;let w=b==="before"?cn.expectedBefore:cn.expectedAfter;a(w,s,c+h.operatorCharPosition,h.operatorChar,()=>{f.value=Ip(x===-1?" ":g.slice(x)).value,d()})})}Dn(u,({node:h,state:b})=>{if(!b)return;if(He(h))b.inMathFunction=KS.test(h.getName().toLowerCase());else if(!Dr(h)||!so(h.startToken)){b.inMathFunction=!1;return}if(!b.inMathFunction)return;let f=0,g;for(;f!==-1&&f<h.value.length;){if([g,f]=FU(h,f),!g){f++;continue}g.operator||m(h,g),g.operator&&(p(h,g,"before"),p(h,g,"after"),v(g,"before"),v(g,"after")),f=h.value.indexOf(g.secondOperand)}},{inMathFunction:!1})})},iF=new Set([z.Number,z.Dimension,z.Percentage,z.Ident]),oF=(r=class{constructor(n,i,o,a,s){rx(this,e);this.firstOperand=n,this.before=i,this.secondOperand=o,this.after=a,this.operator=s}get operatorChar(){return Vh(this,e,$y)[4].value}get operatorCharPosition(){return Vh(this,e,$y)[2]}insertWhitespace(n,i){$e(this.operator),n.value.splice(n.value.indexOf(this.operator)+(i==="before"?0:1),0,Ip())}insertOperatorAfterFirstOperand(n){$e(this.operator),n.value.splice(n.value.indexOf(this.firstOperand)+1,0,...this.before,this.operator)}insertOperatorBeforeSecondOperand(n){$e(this.operator),n.value.splice(n.value.indexOf(this.secondOperand),0,this.operator,...this.after)}completeMissingOperator(n,i,o){this.operator=new he([z.Delim,n,i,i+n.length,{value:n}]),o==="append"?(this.after=this.before,this.before=[Ip()]):this.after=[Ip()]}},e=new WeakSet,$y=function(){var n;return $e(qt((n=this.operator)==null?void 0:n.value)),this.operator.value},r),as.ruleName=os,as.messages=cn,as.meta=GS,aF=as}),sF={};A(sF,{default:()=>lF});var JS,ss,Sg,ZS,Kn,lF,RU=y(()=>{JS=K(de(),1),q(),Z(),kd(),Le(),j(),O(),D(),ss="function-disallowed-list",Sg=I(ss,{rejected:e=>`Disallowed function "${e}"`}),ZS={url:"https://stylelint.io/user-guide/rules/function-disallowed-list"},Kn=e=>(t,r)=>{T(r,ss,{actual:e,possible:[$,_]})&&t.walkDecls(n=>{n.value.includes("(")&&(0,JS.default)(n.value).walk(i=>{let{type:o,sourceIndex:a,value:s}=i;if(o!=="function"||!wd(i)||!Pe(s,e))return;let l=ie(n)+a,u=l+s.length;P({message:Sg.rejected,messageArgs:[s],node:n,index:l,endIndex:u,result:r,ruleName:ss})})})},Kn.primaryOptionArray=!0,Kn.ruleName=ss,Kn.messages=Sg,Kn.meta=ZS,lF=Kn});function Pd(e,t,r){let n=(0,By.default)(e);return n.walk(i=>{if(i.type!=="function")return;let{value:o}=i;if($(t)&&o!==t||_(t)&&!t.test(i.value))return;let a=1,s=i.sourceIndex+o.length+a,l;if(i.value.toLowerCase()==="url"){let[u]=(0,By.default)(e.slice(i.sourceIndex+o.length)).nodes;$e(u);let c=s+u.sourceEndIndex-1-(e[s+u.sourceEndIndex-2]===")"?a:0);l=e.slice(s,c)}else{let u=i.sourceEndIndex-(e[i.sourceEndIndex-1]===")"?a:0);l=e.slice(s,u)}r(l,s,i,n)})}var By,jd=y(()=>{By=K(de(),1),q()}),uF={};A(uF,{default:()=>pF});function $U(e,t){let r=t?cF:dF,n=e.match(r);return n?n.length===2||n.length===3&&n[1]!==n[2]:!1}var Cg,ls,zg,XS,Ag,eC,tC,Hn,cF,dF,rC,nC,iC,us,pF,BU=y(()=>{Cg=K(de(),1),Z(),jd(),_e(),j(),O(),D(),Dt(),ls="function-linear-gradient-no-nonstandard-direction",zg=I(ls,{rejected:"Nonstandard direction"}),XS={url:"https://stylelint.io/user-guide/rules/function-linear-gradient-no-nonstandard-direction"},Ag="(?:-webkit-|-moz-|-o-|-ms-)?linear-gradient",eC=new RegExp(`${Ag}\\(`,"i"),tC=new RegExp(`^${Ag}$`,"i"),Hn=/top|left|bottom|right/i,cF=new RegExp(`^to (${Hn.source})(?: (${Hn.source}))?$`,"i"),dF=new RegExp(`^(${Hn.source})(?: (${Hn.source}))?$`,"i"),rC=/[\d.]/,nC=/^[\d.]+(?:deg|grad|rad|turn)$/,iC=/\bin\b/i,us=e=>(t,r)=>{T(r,ls,{actual:e})&&t.walkDecls(n=>{eC.test(n.value)&&(0,Cg.default)(n.value).walk(i=>{i.type==="function"&&Pd(Cg.default.stringify(i).toLowerCase(),tC,(o,a)=>{let s=o.split(","),l=(s[0]||"").trim();if(!Be(l)||l.startsWith("var(")||iC.test(l))return;if(rC.test(l.charAt(0))){if(nC.test(l))return;c();return}if(!Hn.test(l))return;let u=!Je.prefix(i.value);$U(l,u)||c();function c(){let d=ie(n)+i.sourceIndex+a,p=d+(s[0]||"").trimEnd().length;P({message:zg.rejected,messageArgs:[],node:n,index:d,endIndex:p,result:r,ruleName:ls})}})})})},us.ruleName=ls,us.messages=zg,us.meta=XS,pF=us}),mF={};A(mF,{default:()=>hF});var oC,cs,Ng,aC,Op,ds,hF,qU=y(()=>{oC=K(de(),1),q(),jr(),Z(),We(),kd(),_e(),H(),j(),O(),gt(),D(),cs="function-name-case",Ng=I(cs,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),aC={url:"https://stylelint.io/user-guide/rules/function-name-case",fixable:!0},Op=new Map;for(let e of aN)Op.set(e.toLowerCase(),e);ds=(e,t)=>(r,n)=>{T(n,cs,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreFunctions:[$,_]},optional:!0})&&r.walkDecls(i=>{if(!i.value.includes("(")||!Be(i.value))return;let o=(0,oC.default)(qe(i));o.walk(a=>{if(a.type!=="function"||!wd(a))return;let s=a.value,l=s.toLowerCase();if(L(t,"ignoreFunctions",s))return;let u;if(e==="lower"&&Op.has(l)?u=Op.get(l):e==="lower"?u=l:u=s.toUpperCase(),s===u)return;let c=ie(i)+a.sourceIndex,d=c+s.length,p=()=>{a.value=u,ft(i,o.toString())};P({message:Ng.expected,messageArgs:[s,u],node:i,index:c,endIndex:d,result:n,ruleName:cs,fix:{apply:p,node:i}})})})},ds.ruleName=cs,ds.messages=Ng,ds.meta=aC,hF=ds}),fF,WU=y(()=>{fF=["abs","acos","anchor","anchor-size","annotation","asin","atan","atan2","attr","blur","brightness","calc","calc-size","character-variant","circle","clamp","color","color-contrast","color-mix","color-stop","conic-gradient","content","contrast","contrast-color","cos","counter","counters","cross-fade","cubic-bezier","device-cmyk","drop-shadow","dynamic-range-limit-mix","element","ellipse","env","exp","filter","fit-content","format","from","gradient","grayscale","hsl","hsla","hue-rotate","hwb","hypot","if","image","image-rect","image-set","inset","invert","lab","layer","lch","leader","light-dark","linear","linear-gradient","local","log","matrix","matrix3d","max","media","min","minmax","mod","oklab","oklch","opacity","ornaments","paint","palette-mix","path","perspective","polygon","pow","progress","radial-gradient","random","ray","rect","rem","repeat","repeating-conic-gradient","repeating-linear-gradient","repeating-radial-gradient","reversed","rgb","rgba","rotate","rotate3d","rotateX","rotateY","rotateZ","rotatex","rotatey","rotatez","round","running","saturate","scale","scale3d","scaleX","scaleY","scaleZ","scalex","scaley","scalez","scroll","selector","sepia","shape","sibling-count","sibling-index","sign","sin","skew","skewX","skewY","skewx","skewy","sqrt","steps","string","style","styleset","stylistic","superellipse","supports","swash","symbols","tan","target-counter","target-counters","target-text","to","translate","translate3d","translateX","translateY","translateZ","translatex","translatey","translatez","type","url","var","view","xywh","-webkit-abs","-webkit-acos","-webkit-anchor","-webkit-anchor-size","-webkit-annotation","-webkit-asin","-webkit-atan","-webkit-atan2","-webkit-attr","-webkit-blur","-webkit-brightness","-webkit-calc","-webkit-calc-size","-webkit-character-variant","-webkit-circle","-webkit-clamp","-webkit-color","-webkit-color-contrast","-webkit-color-mix","-webkit-color-stop","-webkit-conic-gradient","-webkit-content","-webkit-contrast","-webkit-contrast-color","-webkit-cos","-webkit-counter","-webkit-counters","-webkit-cross-fade","-webkit-cubic-bezier","-webkit-device-cmyk","-webkit-drop-shadow","-webkit-dynamic-range-limit-mix","-webkit-element","-webkit-ellipse","-webkit-env","-webkit-exp","-webkit-filter","-webkit-fit-content","-webkit-format","-webkit-from","-webkit-gradient","-webkit-grayscale","-webkit-hsl","-webkit-hsla","-webkit-hue-rotate","-webkit-hwb","-webkit-hypot","-webkit-if","-webkit-image","-webkit-image-rect","-webkit-image-set","-webkit-inset","-webkit-invert","-webkit-lab","-webkit-layer","-webkit-lch","-webkit-leader","-webkit-light-dark","-webkit-linear","-webkit-linear-gradient","-webkit-local","-webkit-log","-webkit-matrix","-webkit-matrix3d","-webkit-max","-webkit-media","-webkit-min","-webkit-minmax","-webkit-mod","-webkit-oklab","-webkit-oklch","-webkit-opacity","-webkit-ornaments","-webkit-paint","-webkit-palette-mix","-webkit-path","-webkit-perspective","-webkit-polygon","-webkit-pow","-webkit-progress","-webkit-radial-gradient","-webkit-random","-webkit-ray","-webkit-rect","-webkit-rem","-webkit-repeat","-webkit-repeating-conic-gradient","-webkit-repeating-linear-gradient","-webkit-repeating-radial-gradient","-webkit-reversed","-webkit-rgb","-webkit-rgba","-webkit-rotate","-webkit-rotate3d","-webkit-rotateX","-webkit-rotateY","-webkit-rotateZ","-webkit-rotatex","-webkit-rotatey","-webkit-rotatez","-webkit-round","-webkit-running","-webkit-saturate","-webkit-scale","-webkit-scale3d","-webkit-scaleX","-webkit-scaleY","-webkit-scaleZ","-webkit-scalex","-webkit-scaley","-webkit-scalez","-webkit-scroll","-webkit-selector","-webkit-sepia","-webkit-shape","-webkit-sibling-count","-webkit-sibling-index","-webkit-sign","-webkit-sin","-webkit-skew","-webkit-skewX","-webkit-skewY","-webkit-skewx","-webkit-skewy","-webkit-sqrt","-webkit-steps","-webkit-string","-webkit-style","-webkit-styleset","-webkit-stylistic","-webkit-superellipse","-webkit-supports","-webkit-swash","-webkit-symbols","-webkit-tan","-webkit-target-counter","-webkit-target-counters","-webkit-target-text","-webkit-to","-webkit-translate","-webkit-translate3d","-webkit-translateX","-webkit-translateY","-webkit-translateZ","-webkit-translatex","-webkit-translatey","-webkit-translatez","-webkit-type","-webkit-url","-webkit-var","-webkit-view","-webkit-xywh","-moz-abs","-moz-acos","-moz-anchor","-moz-anchor-size","-moz-annotation","-moz-asin","-moz-atan","-moz-atan2","-moz-attr","-moz-blur","-moz-brightness","-moz-calc","-moz-calc-size","-moz-character-variant","-moz-circle","-moz-clamp","-moz-color","-moz-color-contrast","-moz-color-mix","-moz-color-stop","-moz-conic-gradient","-moz-content","-moz-contrast","-moz-contrast-color","-moz-cos","-moz-counter","-moz-counters","-moz-cross-fade","-moz-cubic-bezier","-moz-device-cmyk","-moz-drop-shadow","-moz-dynamic-range-limit-mix","-moz-element","-moz-ellipse","-moz-env","-moz-exp","-moz-filter","-moz-fit-content","-moz-format","-moz-from","-moz-gradient","-moz-grayscale","-moz-hsl","-moz-hsla","-moz-hue-rotate","-moz-hwb","-moz-hypot","-moz-if","-moz-image","-moz-image-rect","-moz-image-set","-moz-inset","-moz-invert","-moz-lab","-moz-layer","-moz-lch","-moz-leader","-moz-light-dark","-moz-linear","-moz-linear-gradient","-moz-local","-moz-log","-moz-matrix","-moz-matrix3d","-moz-max","-moz-media","-moz-min","-moz-minmax","-moz-mod","-moz-oklab","-moz-oklch","-moz-opacity","-moz-ornaments","-moz-paint","-moz-palette-mix","-moz-path","-moz-perspective","-moz-polygon","-moz-pow","-moz-progress","-moz-radial-gradient","-moz-random","-moz-ray","-moz-rect","-moz-rem","-moz-repeat","-moz-repeating-conic-gradient","-moz-repeating-linear-gradient","-moz-repeating-radial-gradient","-moz-reversed","-moz-rgb","-moz-rgba","-moz-rotate","-moz-rotate3d","-moz-rotateX","-moz-rotateY","-moz-rotateZ","-moz-rotatex","-moz-rotatey","-moz-rotatez","-moz-round","-moz-running","-moz-saturate","-moz-scale","-moz-scale3d","-moz-scaleX","-moz-scaleY","-moz-scaleZ","-moz-scalex","-moz-scaley","-moz-scalez","-moz-scroll","-moz-selector","-moz-sepia","-moz-shape","-moz-sibling-count","-moz-sibling-index","-moz-sign","-moz-sin","-moz-skew","-moz-skewX","-moz-skewY","-moz-skewx","-moz-skewy","-moz-sqrt","-moz-steps","-moz-string","-moz-style","-moz-styleset","-moz-stylistic","-moz-superellipse","-moz-supports","-moz-swash","-moz-symbols","-moz-tan","-moz-target-counter","-moz-target-counters","-moz-target-text","-moz-to","-moz-translate","-moz-translate3d","-moz-translateX","-moz-translateY","-moz-translateZ","-moz-translatex","-moz-translatey","-moz-translatez","-moz-type","-moz-url","-moz-var","-moz-view","-moz-xywh","-o-abs","-o-acos","-o-anchor","-o-anchor-size","-o-annotation","-o-asin","-o-atan","-o-atan2","-o-attr","-o-blur","-o-brightness","-o-calc","-o-calc-size","-o-character-variant","-o-circle","-o-clamp","-o-color","-o-color-contrast","-o-color-mix","-o-color-stop","-o-conic-gradient","-o-content","-o-contrast","-o-contrast-color","-o-cos","-o-counter","-o-counters","-o-cross-fade","-o-cubic-bezier","-o-device-cmyk","-o-drop-shadow","-o-dynamic-range-limit-mix","-o-element","-o-ellipse","-o-env","-o-exp","-o-filter","-o-fit-content","-o-format","-o-from","-o-gradient","-o-grayscale","-o-hsl","-o-hsla","-o-hue-rotate","-o-hwb","-o-hypot","-o-if","-o-image","-o-image-rect","-o-image-set","-o-inset","-o-invert","-o-lab","-o-layer","-o-lch","-o-leader","-o-light-dark","-o-linear","-o-linear-gradient","-o-local","-o-log","-o-matrix","-o-matrix3d","-o-max","-o-media","-o-min","-o-minmax","-o-mod","-o-oklab","-o-oklch","-o-opacity","-o-ornaments","-o-paint","-o-palette-mix","-o-path","-o-perspective","-o-polygon","-o-pow","-o-progress","-o-radial-gradient","-o-random","-o-ray","-o-rect","-o-rem","-o-repeat","-o-repeating-conic-gradient","-o-repeating-linear-gradient","-o-repeating-radial-gradient","-o-reversed","-o-rgb","-o-rgba","-o-rotate","-o-rotate3d","-o-rotateX","-o-rotateY","-o-rotateZ","-o-rotatex","-o-rotatey","-o-rotatez","-o-round","-o-running","-o-saturate","-o-scale","-o-scale3d","-o-scaleX","-o-scaleY","-o-scaleZ","-o-scalex","-o-scaley","-o-scalez","-o-scroll","-o-selector","-o-sepia","-o-shape","-o-sibling-count","-o-sibling-index","-o-sign","-o-sin","-o-skew","-o-skewX","-o-skewY","-o-skewx","-o-skewy","-o-sqrt","-o-steps","-o-string","-o-style","-o-styleset","-o-stylistic","-o-superellipse","-o-supports","-o-swash","-o-symbols","-o-tan","-o-target-counter","-o-target-counters","-o-target-text","-o-to","-o-translate","-o-translate3d","-o-translateX","-o-translateY","-o-translateZ","-o-translatex","-o-translatey","-o-translatez","-o-type","-o-url","-o-var","-o-view","-o-xywh","-ms-abs","-ms-acos","-ms-anchor","-ms-anchor-size","-ms-annotation","-ms-asin","-ms-atan","-ms-atan2","-ms-attr","-ms-blur","-ms-brightness","-ms-calc","-ms-calc-size","-ms-character-variant","-ms-circle","-ms-clamp","-ms-color","-ms-color-contrast","-ms-color-mix","-ms-color-stop","-ms-conic-gradient","-ms-content","-ms-contrast","-ms-contrast-color","-ms-cos","-ms-counter","-ms-counters","-ms-cross-fade","-ms-cubic-bezier","-ms-device-cmyk","-ms-drop-shadow","-ms-dynamic-range-limit-mix","-ms-element","-ms-ellipse","-ms-env","-ms-exp","-ms-filter","-ms-fit-content","-ms-format","-ms-from","-ms-gradient","-ms-grayscale","-ms-hsl","-ms-hsla","-ms-hue-rotate","-ms-hwb","-ms-hypot","-ms-if","-ms-image","-ms-image-rect","-ms-image-set","-ms-inset","-ms-invert","-ms-lab","-ms-layer","-ms-lch","-ms-leader","-ms-light-dark","-ms-linear","-ms-linear-gradient","-ms-local","-ms-log","-ms-matrix","-ms-matrix3d","-ms-max","-ms-media","-ms-min","-ms-minmax","-ms-mod","-ms-oklab","-ms-oklch","-ms-opacity","-ms-ornaments","-ms-paint","-ms-palette-mix","-ms-path","-ms-perspective","-ms-polygon","-ms-pow","-ms-progress","-ms-radial-gradient","-ms-random","-ms-ray","-ms-rect","-ms-rem","-ms-repeat","-ms-repeating-conic-gradient","-ms-repeating-linear-gradient","-ms-repeating-radial-gradient","-ms-reversed","-ms-rgb","-ms-rgba","-ms-rotate","-ms-rotate3d","-ms-rotateX","-ms-rotateY","-ms-rotateZ","-ms-rotatex","-ms-rotatey","-ms-rotatez","-ms-round","-ms-running","-ms-saturate","-ms-scale","-ms-scale3d","-ms-scaleX","-ms-scaleY","-ms-scaleZ","-ms-scalex","-ms-scaley","-ms-scalez","-ms-scroll","-ms-selector","-ms-sepia","-ms-shape","-ms-sibling-count","-ms-sibling-index","-ms-sign","-ms-sin","-ms-skew","-ms-skewX","-ms-skewY","-ms-skewx","-ms-skewy","-ms-sqrt","-ms-steps","-ms-string","-ms-style","-ms-styleset","-ms-stylistic","-ms-superellipse","-ms-supports","-ms-swash","-ms-symbols","-ms-tan","-ms-target-counter","-ms-target-counters","-ms-target-text","-ms-to","-ms-translate","-ms-translate3d","-ms-translateX","-ms-translateY","-ms-translateZ","-ms-translatex","-ms-translatey","-ms-translatez","-ms-type","-ms-url","-ms-var","-ms-view","-ms-xywh"]});function _U(e){return e.startsWith("--")}var UU=y(()=>{}),gF={};A(gF,{default:()=>bF});var ps,Eg,sC,ms,bF,VU=y(()=>{Ct(),WU(),rt(),q(),Z(),UU(),_e(),H(),j(),O(),D(),ps="function-no-unknown",Eg=I(ps,{rejected:e=>`Unknown function "${e}"`}),sC={url:"https://stylelint.io/user-guide/rules/function-no-unknown"},ms=(e,t)=>(r,n)=>{T(n,ps,{actual:e},{actual:t,possible:{ignoreFunctions:[$,_]},optional:!0})&&r.walkDecls(i=>{let{value:o}=i;o.includes("(")&&Be(o)&&Dn(lo(St({css:o})),({node:a})=>{if(!He(a))return;let s=a.getName();if(_U(s)||L(t,"ignoreFunctions",s)||fF.includes(s.toLowerCase()))return;let l=ie(i),u=l+a.name[2],c=l+a.name[3];P({message:Eg.rejected,messageArgs:[s],node:i,index:u,endIndex:c,result:n,ruleName:ps})})})},ms.ruleName=ps,ms.messages=Eg,ms.meta=sC,bF=ms});function Dh(e){return e.length===0?!0:AA(e)||PA(e)||SA(e)?!1:e.startsWith("'")&&e.endsWith("'")||e.startsWith('"')&&e.endsWith('"')?!wA(e):!(e.startsWith("@")&&vF.test(e)||e.includes("$")&&yF.test(e)&&!e.endsWith("/"))}var vF,yF,Lh=y(()=>{xA(),zA(),EA(),IA(),vF=/^@@?[\w-]+$/,yF=/^[$\s\w+\-,./*'"@#?]+$/}),wF={};A(wF,{default:()=>kF});var hs,Pg,lC,jg,fs,kF,QU=y(()=>{V(),jd(),Lh(),j(),O(),D(),hs="function-url-no-scheme-relative",Pg=I(hs,{rejected:"Disallowed scheme-relative url"}),lC={url:"https://stylelint.io/user-guide/rules/function-url-no-scheme-relative"},jg=(e,t,r)=>{Pd(t.toLowerCase(),"url",(n,i)=>{let o=n.trim().replace(/^['"]+|['"]+$/g,"");!Dh(o)||!o.startsWith("//")||P({message:Pg.rejected,messageArgs:[],node:e,index:i,endIndex:i+n.length,result:r,ruleName:hs})})},fs=e=>(t,r)=>{T(r,hs,{actual:e})&&(t.walkDecls(n=>{jg(n,n.toString(),r)}),t.walkAtRules(Se.importName,n=>{jg(n,n.toString(),r)}))},fs.ruleName=hs,fs.messages=Pg,fs.meta=lC,kF=fs}),xF={};A(xF,{default:()=>SF});var gs,Ig,uC,bs,SF,YU=y(()=>{rt(),Z(),jd(),lt(),We(),ct(),Lh(),V(),H(),j(),O(),D(),gs="function-url-quotes",Ig=I(gs,{expected:e=>`Expected quotes around "${e}" function argument`,rejected:e=>`Expected no quotes around "${e}" function argument`}),uC={url:"https://stylelint.io/user-guide/rules/function-url-quotes",fixable:!0},bs=(e,t)=>(r,n)=>{if(!T(n,gs,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["empty"]},optional:!0}))return;let i=L(t,"except","empty"),o=new Set(["","''",'""']);r.walkAtRules(u),r.walkDecls(l);function a(h,b,f,g){return()=>{switch(f){case"expected":c(b);break;case"rejected":d(b);break}switch(h.type){case"decl":h.value=g.toString();break;case"atrule":h.params=g.toString();break}}}function s(h,b,f){Pd(b,/^url$/i,(g,x,w,k)=>{if(v(w))return;let S=m(g,f+x);if(S){let{messageType:E,...C}=S,R=Ig[E],N=[w.value.toLowerCase()],B=a(h,w,E,k);P({...C,node:h,fix:{apply:B,node:h},message:R,messageArgs:N,result:n,ruleName:gs})}})}function l(h){if(!Q.urlFunction.test(h.value)||!ut(h))return;let b=qe(h),f=ie(h);s(h,b,f)}function u(h){let b=st(h),f=Oe(h);s(h,b,f)}function c(h){for(let b of h.nodes)b.type==="word"&&(b.value=`"${b.value}"`)}function d(h){for(let b of h.nodes)b.type==="string"&&(b.type="word")}function p(h){var k;let b=h,f=(k=h[0])!=null?k:"",g=h.lastIndexOf(f);g>0&&(b=h.slice(1,g));let x=St({css:`url(${b})`});if(x.length!==2)return!0;let w=x[0];return!u7(w)}function m(h,b){let f=h.trimStart();if(!Dh(f))return;let g=e==="always";i&&o.has(h.trim())&&(g=!g);let x=f.startsWith("'")||f.startsWith('"');if(x&&p(f)||g&&x||!g&&!x)return;let w=g?"expected":"rejected",k=b+h.length-f.length,S=b+h.length;return{messageType:w,index:k,endIndex:S}}function v(h){return h.nodes.some(b=>b.type!=="string"&&b.type!=="space"&&b.type!=="word"||b.type==="word"&&/(?:^|[^\\])\s/.test(b.value))}},bs.ruleName=gs,bs.messages=Ig,bs.meta=uC,SF=bs});function CF(e){let t;try{t=new URL(e).protocol}catch{return null}if(typeof t>"u")return null;let r=t.slice(0,-1),n=t.length;return e.slice(n,n+2)!=="//"&&r!=="data"?null:r}var zF=y(()=>{}),AF={};A(AF,{default:()=>NF});var vs,Og,cC,Jn,NF,GU=y(()=>{q(),jd(),zF(),Lh(),Le(),j(),O(),D(),vs="function-url-scheme-allowed-list",Og=I(vs,{rejected:e=>`Disallowed URL scheme "${e}:"`}),cC={url:"https://stylelint.io/user-guide/rules/function-url-scheme-allowed-list"},Jn=e=>(t,r)=>{T(r,vs,{actual:e,possible:[$,_]})&&t.walkDecls(n=>{Pd(n.toString().toLowerCase(),"url",(i,o)=>{let a=i.trim();if(!Dh(a))return;let s=a.replace(/^['"]+|['"]+$/g,""),l=CF(s);l!==null&&(Pe(l,e)||P({message:Og.rejected,messageArgs:[l],node:n,index:o,endIndex:o+i.length,result:r,ruleName:vs}))})})},Jn.primaryOptionArray=!0,Jn.ruleName=vs,Jn.messages=Og,Jn.meta=cC,NF=Jn}),EF={};A(EF,{default:()=>PF});var ys,Tg,dC,Zn,PF,KU=y(()=>{q(),jd(),zF(),Lh(),Le(),j(),O(),D(),ys="function-url-scheme-disallowed-list",Tg=I(ys,{rejected:e=>`Disallowed URL scheme "${e}:"`}),dC={url:"https://stylelint.io/user-guide/rules/function-url-scheme-disallowed-list"},Zn=e=>(t,r)=>{T(r,ys,{actual:e,possible:[$,_]})&&t.walkDecls(n=>{Pd(n.toString().toLowerCase(),"url",(i,o)=>{let a=i.trim();if(!Dh(a))return;let s=a.replace(/^['"]+|['"]+$/g,""),l=CF(s);l!==null&&Pe(l,e)&&P({message:Tg.rejected,messageArgs:[l],node:n,index:o,endIndex:o+i.length,result:r,ruleName:ys})})})},Zn.primaryOptionArray=!0,Zn.ruleName=ys,Zn.messages=Tg,Zn.meta=dC,PF=Zn}),jF={};A(jF,{default:()=>IF});function HU(e){var i;let t=e.nodes.filter(({type:o})=>o==="word"||o==="function"),r=e.value.toLowerCase(),n=((i=t[0])==null?void 0:i.value.toLowerCase())==="from"?2:0;if(Tv.has(r))return t[0+n];if(Dv.has(r))return t[2+n]}var Dg,ws,Lg,pC,ks,IF,JU=y(()=>{Dg=K(de(),1),jr(),Z(),We(),_e(),V(),j(),O(),gt(),D(),ws="hue-degree-notation",Lg=I(ws,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),pC={url:"https://stylelint.io/user-guide/rules/hue-degree-notation",fixable:!0},ks=e=>(t,r)=>{T(r,ws,{actual:e,possible:["angle","number"]})&&t.walkDecls(n=>{if(!Q.hueColorFunction.test(n.value))return;let i=(0,Dg.default)(qe(n));i.walk(o=>{if(o.type!=="function")return;let a=o.value.toLowerCase();if(!Pw.has(a))return;let s=HU(o);if(!s)return;let{value:l}=s;if(!Be(l))return;let u=Dg.default.unit(l);if(!u)return;let c=u.unit.toLowerCase()==="deg",d=u.unit==="";if(!c&&!d||e==="angle"&&c||e==="number"&&d)return;let p=e==="angle"?`${u.number}deg`:u.number,m=l,v=ie(n),h=()=>{s.value=p,ft(n,i.toString())};P({message:Lg.expected,messageArgs:[m,p],node:n,index:v+s.sourceIndex,endIndex:v+s.sourceEndIndex,result:r,ruleName:ws,fix:{apply:h,node:n}})})})},ks.ruleName=ws,ks.messages=Lg,ks.meta=pC,IF=ks});function OF(e,t){let r=e.raws;return r.params?r.params.raw=t:e.params=t,e}var TF=y(()=>{}),DF={};A(DF,{default:()=>LF});var xs,Ss,Tp,mC,Fg,Cs,LF,ZU=y(()=>{xs=K(de(),1),Z(),V(),lt(),j(),O(),TF(),D(),Ss="import-notation",Tp=I(Ss,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),mC={url:"https://stylelint.io/user-guide/rules/import-notation",fixable:!0},Fg=(e,t,r)=>()=>{let n=e.params.slice(r);OF(e,`${t}${n}`)},Cs=e=>(t,r)=>{if(!T(r,Ss,{actual:e,possible:["string","url"]}))return;t.walkAtRules(Se.importName,n);function n(i){var l;let o=st(i);if(e==="string"&&!/url\(/i.test(o)||e==="url"&&/url\(/i.test(o))return;let a=Oe(i),s=(0,xs.default)(o);for(let u of s.nodes){let{sourceEndIndex:c,type:d,value:p}=u,m=a+c,v={node:i,index:a,endIndex:m,result:r,ruleName:Ss};if(e==="string"){if(d!=="function"||p.toLowerCase()!=="url")continue;let h=xs.default.stringify(u),b=xs.default.stringify(u.nodes),f=((l=u.nodes[0])==null?void 0:l.type)==="word"?`"${b}"`:b,g=Fg(i,f,c),x=Tp.expected;P({...v,message:x,messageArgs:[h,f],fix:{apply:g,node:v.node}});return}if(e==="url"){if(d==="space")return;if(d!=="word"&&d!=="string")continue;let h=`url(${xs.default.stringify(u)})`,b=d==="word"?`"${p}"`:`${u.quote}${p}${u.quote}`,f=Fg(i,h,c),g=Tp.expected;P({...v,message:g,messageArgs:[b,h],fix:{apply:f,node:v.node}});return}}}},Cs.ruleName=Ss,Cs.messages=Tp,Cs.meta=mC,LF=Cs}),FF=G((e,t)=>{"use strict";e.__esModule=!0,e.default=i;function r(o){for(var a=o.toLowerCase(),s="",l=!1,u=0;u<6&&a[u]!==void 0;u++){var c=a.charCodeAt(u),d=c>=97&&c<=102||c>=48&&c<=57;if(l=c===32,!d)break;s+=a[u]}if(s.length!==0){var p=parseInt(s,16),m=p>=55296&&p<=57343;return m||p===0||p>1114111?["�",s.length+(l?1:0)]:[String.fromCodePoint(p),s.length+(l?1:0)]}}var n=/\\/;function i(o){var a=n.test(o);if(!a)return o;for(var s="",l=0;l<o.length;l++){if(o[l]==="\\"){var u=r(o.slice(l+1,l+7));if(u!==void 0){s+=u[0],l+=u[1];continue}if(o[l+1]==="\\"){s+="\\",l++;continue}o.length===l+1&&(s+=o[l]);continue}s+=o[l]}return s}t.exports=e.default}),XU=G((e,t)=>{"use strict";e.__esModule=!0,e.default=r;function r(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];for(;o.length>0;){var s=o.shift();if(!n[s])return;n=n[s]}return n}t.exports=e.default}),eV=G((e,t)=>{"use strict";e.__esModule=!0,e.default=r;function r(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];for(;o.length>0;){var s=o.shift();n[s]||(n[s]={}),n=n[s]}}t.exports=e.default}),tV=G((e,t)=>{var r=()=>{};t.exports=r,t.exports.default=r}),Fh=G(e=>{"use strict";e.__esModule=!0,e.unesc=e.stripComments=e.getProp=e.ensureObject=void 0;var t=o(FF());e.unesc=t.default;var r=o(XU());e.getProp=r.default;var n=o(eV());e.ensureObject=n.default;var i=o(tV());e.stripComments=i.default;function o(a){return a&&a.__esModule?a:{default:a}}}),nn=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=Fh();function n(s,l){for(var u=0;u<l.length;u++){var c=l[u];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(s,c.key,c)}}function i(s,l,u){return l&&n(s.prototype,l),u&&n(s,u),Object.defineProperty(s,"prototype",{writable:!1}),s}var o=function s(l,u){if(typeof l!="object"||l===null)return l;var c=new l.constructor;for(var d in l)if(l.hasOwnProperty(d)){var p=l[d],m=typeof p;d==="parent"&&m==="object"?u&&(c[d]=u):p instanceof Array?c[d]=p.map(function(v){return s(v,c)}):c[d]=s(p,c)}return c},a=(function(){function s(u){u===void 0&&(u={}),Object.assign(this,u),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var l=s.prototype;return l.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},l.replaceWith=function(){if(this.parent){for(var u in arguments)this.parent.insertBefore(this,arguments[u]);this.remove()}return this},l.next=function(){return this.parent.at(this.parent.index(this)+1)},l.prev=function(){return this.parent.at(this.parent.index(this)-1)},l.clone=function(u){u===void 0&&(u={});var c=o(this);for(var d in u)c[d]=u[d];return c},l.appendToPropertyAndEscape=function(u,c,d){this.raws||(this.raws={});var p=this[u],m=this.raws[u];this[u]=p+c,m||d!==c?this.raws[u]=(m||p)+d:delete this.raws[u]},l.setPropertyAndEscape=function(u,c,d){this.raws||(this.raws={}),this[u]=c,this.raws[u]=d},l.setPropertyWithoutEscape=function(u,c){this[u]=c,this.raws&&delete this.raws[u]},l.isAtPosition=function(u,c){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>u||this.source.end.line<u||this.source.start.line===u&&this.source.start.column>c||this.source.end.line===u&&this.source.end.column<c)},l.stringifyProperty=function(u){return this.raws&&this.raws[u]||this[u]},l.valueToString=function(){return String(this.stringifyProperty("value"))},l.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},i(s,[{key:"rawSpaceBefore",get:function(){var u=this.raws&&this.raws.spaces&&this.raws.spaces.before;return u===void 0&&(u=this.spaces&&this.spaces.before),u||""},set:function(u){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=u}},{key:"rawSpaceAfter",get:function(){var u=this.raws&&this.raws.spaces&&this.raws.spaces.after;return u===void 0&&(u=this.spaces.after),u||""},set:function(u){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=u}}]),s})();e.default=a,t.exports=e.default}),wt=G(e=>{"use strict";e.__esModule=!0,e.UNIVERSAL=e.TAG=e.STRING=e.SELECTOR=e.ROOT=e.PSEUDO=e.NESTING=e.ID=e.COMMENT=e.COMBINATOR=e.CLASS=e.ATTRIBUTE=void 0;var t="tag";e.TAG=t;var r="string";e.STRING=r;var n="selector";e.SELECTOR=n;var i="root";e.ROOT=i;var o="pseudo";e.PSEUDO=o;var a="nesting";e.NESTING=a;var s="id";e.ID=s;var l="comment";e.COMMENT=l;var u="combinator";e.COMBINATOR=u;var c="class";e.CLASS=c;var d="attribute";e.ATTRIBUTE=d;var p="universal";e.UNIVERSAL=p}),Tk=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=a(nn()),n=o(wt());function i(h){if(typeof WeakMap!="function")return null;var b=new WeakMap,f=new WeakMap;return(i=function(g){return g?f:b})(h)}function o(h,b){if(!b&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var f=i(b);if(f&&f.has(h))return f.get(h);var g={},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in h)if(w!=="default"&&Object.prototype.hasOwnProperty.call(h,w)){var k=x?Object.getOwnPropertyDescriptor(h,w):null;k&&(k.get||k.set)?Object.defineProperty(g,w,k):g[w]=h[w]}return g.default=h,f&&f.set(h,g),g}function a(h){return h&&h.__esModule?h:{default:h}}function s(h,b){var f=typeof Symbol<"u"&&h[Symbol.iterator]||h["@@iterator"];if(f)return(f=f.call(h)).next.bind(f);if(Array.isArray(h)||(f=l(h))||b&&h&&typeof h.length=="number"){f&&(h=f);var g=0;return function(){return g>=h.length?{done:!0}:{done:!1,value:h[g++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
35
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l(h,b){if(h){if(typeof h=="string")return u(h,b);var f=Object.prototype.toString.call(h).slice(8,-1);if(f==="Object"&&h.constructor&&(f=h.constructor.name),f==="Map"||f==="Set")return Array.from(h);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return u(h,b)}}function u(h,b){(b==null||b>h.length)&&(b=h.length);for(var f=0,g=new Array(b);f<b;f++)g[f]=h[f];return g}function c(h,b){for(var f=0;f<b.length;f++){var g=b[f];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,g.key,g)}}function d(h,b,f){return b&&c(h.prototype,b),f&&c(h,f),Object.defineProperty(h,"prototype",{writable:!1}),h}function p(h,b){h.prototype=Object.create(b.prototype),h.prototype.constructor=h,m(h,b)}function m(h,b){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(f,g){return f.__proto__=g,f},m(h,b)}var v=(function(h){p(b,h);function b(g){var x;return x=h.call(this,g)||this,x.nodes||(x.nodes=[]),x}var f=b.prototype;return f.append=function(g){return g.parent=this,this.nodes.push(g),this},f.prepend=function(g){g.parent=this,this.nodes.unshift(g);for(var x in this.indexes)this.indexes[x]++;return this},f.at=function(g){return this.nodes[g]},f.index=function(g){return typeof g=="number"?g:this.nodes.indexOf(g)},f.removeChild=function(g){g=this.index(g),this.at(g).parent=void 0,this.nodes.splice(g,1);var x;for(var w in this.indexes)x=this.indexes[w],x>=g&&(this.indexes[w]=x-1);return this},f.removeAll=function(){for(var g=s(this.nodes),x;!(x=g()).done;){var w=x.value;w.parent=void 0}return this.nodes=[],this},f.empty=function(){return this.removeAll()},f.insertAfter=function(g,x){var w;x.parent=this;for(var k=this.index(g),S=[],E=2;E<arguments.length;E++)S.push(arguments[E]);(w=this.nodes).splice.apply(w,[k+1,0,x].concat(S)),x.parent=this;var C;for(var R in this.indexes)C=this.indexes[R],k<C&&(this.indexes[R]=C+arguments.length-1);return this},f.insertBefore=function(g,x){var w;x.parent=this;for(var k=this.index(g),S=[],E=2;E<arguments.length;E++)S.push(arguments[E]);(w=this.nodes).splice.apply(w,[k,0,x].concat(S)),x.parent=this;var C;for(var R in this.indexes)C=this.indexes[R],C>=k&&(this.indexes[R]=C+arguments.length-1);return this},f._findChildAtPosition=function(g,x){var w=void 0;return this.each(function(k){if(k.atPosition){var S=k.atPosition(g,x);if(S)return w=S,!1}else if(k.isAtPosition(g,x))return w=k,!1}),w},f.atPosition=function(g,x){if(this.isAtPosition(g,x))return this._findChildAtPosition(g,x)||this},f._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},f.each=function(g){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var x=this.lastEach;if(this.indexes[x]=0,!!this.length){for(var w,k;this.indexes[x]<this.length&&(w=this.indexes[x],k=g(this.at(w),w),k!==!1);)this.indexes[x]+=1;if(delete this.indexes[x],k===!1)return!1}},f.walk=function(g){return this.each(function(x,w){var k=g(x,w);if(k!==!1&&x.length&&(k=x.walk(g)),k===!1)return!1})},f.walkAttributes=function(g){var x=this;return this.walk(function(w){if(w.type===n.ATTRIBUTE)return g.call(x,w)})},f.walkClasses=function(g){var x=this;return this.walk(function(w){if(w.type===n.CLASS)return g.call(x,w)})},f.walkCombinators=function(g){var x=this;return this.walk(function(w){if(w.type===n.COMBINATOR)return g.call(x,w)})},f.walkComments=function(g){var x=this;return this.walk(function(w){if(w.type===n.COMMENT)return g.call(x,w)})},f.walkIds=function(g){var x=this;return this.walk(function(w){if(w.type===n.ID)return g.call(x,w)})},f.walkNesting=function(g){var x=this;return this.walk(function(w){if(w.type===n.NESTING)return g.call(x,w)})},f.walkPseudos=function(g){var x=this;return this.walk(function(w){if(w.type===n.PSEUDO)return g.call(x,w)})},f.walkTags=function(g){var x=this;return this.walk(function(w){if(w.type===n.TAG)return g.call(x,w)})},f.walkUniversals=function(g){var x=this;return this.walk(function(w){if(w.type===n.UNIVERSAL)return g.call(x,w)})},f.split=function(g){var x=this,w=[];return this.reduce(function(k,S,E){var C=g.call(x,S);return w.push(S),C?(k.push(w),w=[]):E===x.length-1&&k.push(w),k},[])},f.map=function(g){return this.nodes.map(g)},f.reduce=function(g,x){return this.nodes.reduce(g,x)},f.every=function(g){return this.nodes.every(g)},f.some=function(g){return this.nodes.some(g)},f.filter=function(g){return this.nodes.filter(g)},f.sort=function(g){return this.nodes.sort(g)},f.toString=function(){return this.map(String).join("")},d(b,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),b})(r.default);e.default=v,t.exports=e.default}),MF=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(Tk()),n=wt();function i(c){return c&&c.__esModule?c:{default:c}}function o(c,d){for(var p=0;p<d.length;p++){var m=d[p];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(c,m.key,m)}}function a(c,d,p){return d&&o(c.prototype,d),p&&o(c,p),Object.defineProperty(c,"prototype",{writable:!1}),c}function s(c,d){c.prototype=Object.create(d.prototype),c.prototype.constructor=c,l(c,d)}function l(c,d){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,m){return p.__proto__=m,p},l(c,d)}var u=(function(c){s(d,c);function d(m){var v;return v=c.call(this,m)||this,v.type=n.ROOT,v}var p=d.prototype;return p.toString=function(){var m=this.reduce(function(v,h){return v.push(String(h)),v},[]).join(",");return this.trailingComma?m+",":m},p.error=function(m,v){return this._error?this._error(m,v):new Error(m)},a(d,[{key:"errorGenerator",set:function(m){this._error=m}}]),d})(r.default);e.default=u,t.exports=e.default}),RF=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(Tk()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.SELECTOR,d}return u})(r.default);e.default=s,t.exports=e.default}),Dk=G((e,t)=>{"use strict";var r={},n=r.hasOwnProperty,i=function(u,c){if(!u)return c;var d={};for(var p in c)d[p]=n.call(u,p)?u[p]:c[p];return d},o=/[ -,\.\/:-@\[-\^`\{-~]/,a=/[ -,\.\/:-@\[\]\^`\{-~]/,s=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,l=function u(c,d){d=i(d,u.options),d.quotes!="single"&&d.quotes!="double"&&(d.quotes="single");for(var p=d.quotes=="double"?'"':"'",m=d.isIdentifier,v=c.charAt(0),h="",b=0,f=c.length;b<f;){var g=c.charAt(b++),x=g.charCodeAt(),w=void 0;if(x<32||x>126){if(x>=55296&&x<=56319&&b<f){var k=c.charCodeAt(b++);(k&64512)==56320?x=((x&1023)<<10)+(k&1023)+65536:b--}w="\\"+x.toString(16).toUpperCase()+" "}else d.escapeEverything?o.test(g)?w="\\"+g:w="\\"+x.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(g)?w="\\"+x.toString(16).toUpperCase()+" ":g=="\\"||!m&&(g=='"'&&p==g||g=="'"&&p==g)||m&&a.test(g)?w="\\"+g:w=g;h+=w}return m&&(/^-[-\d]/.test(h)?h="\\-"+h.slice(1):/\d/.test(v)&&(h="\\3"+v+" "+h.slice(1))),h=h.replace(s,function(S,E,C){return E&&E.length%2?S:(E||"")+C}),!m&&d.wrap?p+h+p:h};l.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},l.version="3.0.0",t.exports=l}),$F=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=a(Dk()),n=Fh(),i=a(nn()),o=wt();function a(p){return p&&p.__esModule?p:{default:p}}function s(p,m){for(var v=0;v<m.length;v++){var h=m[v];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(p,h.key,h)}}function l(p,m,v){return m&&s(p.prototype,m),v&&s(p,v),Object.defineProperty(p,"prototype",{writable:!1}),p}function u(p,m){p.prototype=Object.create(m.prototype),p.prototype.constructor=p,c(p,m)}function c(p,m){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(v,h){return v.__proto__=h,v},c(p,m)}var d=(function(p){u(m,p);function m(h){var b;return b=p.call(this,h)||this,b.type=o.CLASS,b._constructed=!0,b}var v=m.prototype;return v.valueToString=function(){return"."+p.prototype.valueToString.call(this)},l(m,[{key:"value",get:function(){return this._value},set:function(h){if(this._constructed){var b=(0,r.default)(h,{isIdentifier:!0});b!==h?((0,n.ensureObject)(this,"raws"),this.raws.value=b):this.raws&&delete this.raws.value}this._value=h}}]),m})(i.default);e.default=d,t.exports=e.default}),BF=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.COMMENT,d}return u})(r.default);e.default=s,t.exports=e.default}),qF=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(d){var p;return p=l.call(this,d)||this,p.type=n.ID,p}var c=u.prototype;return c.valueToString=function(){return"#"+l.prototype.valueToString.call(this)},u})(r.default);e.default=s,t.exports=e.default}),Lk=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=o(Dk()),n=Fh(),i=o(nn());function o(d){return d&&d.__esModule?d:{default:d}}function a(d,p){for(var m=0;m<p.length;m++){var v=p[m];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(d,v.key,v)}}function s(d,p,m){return p&&a(d.prototype,p),m&&a(d,m),Object.defineProperty(d,"prototype",{writable:!1}),d}function l(d,p){d.prototype=Object.create(p.prototype),d.prototype.constructor=d,u(d,p)}function u(d,p){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,v){return m.__proto__=v,m},u(d,p)}var c=(function(d){l(p,d);function p(){return d.apply(this,arguments)||this}var m=p.prototype;return m.qualifiedName=function(v){return this.namespace?this.namespaceString+"|"+v:v},m.valueToString=function(){return this.qualifiedName(d.prototype.valueToString.call(this))},s(p,[{key:"namespace",get:function(){return this._namespace},set:function(v){if(v===!0||v==="*"||v==="&"){this._namespace=v,this.raws&&delete this.raws.namespace;return}var h=(0,r.default)(v,{isIdentifier:!0});this._namespace=v,h!==v?((0,n.ensureObject)(this,"raws"),this.raws.namespace=h):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(v){this.namespace=v}},{key:"namespaceString",get:function(){if(this.namespace){var v=this.stringifyProperty("namespace");return v===!0?"":v}else return""}}]),p})(i.default);e.default=c,t.exports=e.default}),WF=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(Lk()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.TAG,d}return u})(r.default);e.default=s,t.exports=e.default}),_F=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.STRING,d}return u})(r.default);e.default=s,t.exports=e.default}),UF=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(Tk()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(d){var p;return p=l.call(this,d)||this,p.type=n.PSEUDO,p}var c=u.prototype;return c.toString=function(){var d=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),d,this.rawSpaceAfter].join("")},u})(r.default);e.default=s,t.exports=e.default}),rV=G((e,t)=>{"use strict";t.exports=()=>()=>{}}),VF=G(e=>{"use strict";e.__esModule=!0,e.default=void 0,e.unescapeValue=b;var t=a(Dk()),r=a(FF()),n=a(Lk()),i=wt(),o;function a(k){return k&&k.__esModule?k:{default:k}}function s(k,S){for(var E=0;E<S.length;E++){var C=S[E];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(k,C.key,C)}}function l(k,S,E){return S&&s(k.prototype,S),E&&s(k,E),Object.defineProperty(k,"prototype",{writable:!1}),k}function u(k,S){k.prototype=Object.create(S.prototype),k.prototype.constructor=k,c(k,S)}function c(k,S){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(E,C){return E.__proto__=C,E},c(k,S)}var d=rV(),p=/^('|")([^]*)\1$/,m=d(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),v=d(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),h=d(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function b(k){var S=!1,E=null,C=k,R=C.match(p);return R&&(E=R[1],C=R[2]),C=(0,r.default)(C),C!==k&&(S=!0),{deprecatedUsage:S,unescaped:C,quoteMark:E}}function f(k){if(k.quoteMark!==void 0||k.value===void 0)return k;h();var S=b(k.value),E=S.quoteMark,C=S.unescaped;return k.raws||(k.raws={}),k.raws.value===void 0&&(k.raws.value=k.value),k.value=C,k.quoteMark=E,k}var g=(function(k){u(S,k);function S(C){var R;return C===void 0&&(C={}),R=k.call(this,f(C))||this,R.type=i.ATTRIBUTE,R.raws=R.raws||{},Object.defineProperty(R.raws,"unquoted",{get:d(function(){return R.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:d(function(){return R.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),R._constructed=!0,R}var E=S.prototype;return E._syncRawValue=function(){var C=(0,t.default)(this._value,x[this.quoteMark]);C===this._value?this.raws&&delete this.raws.value:this.raws.value=C},E._handleEscapes=function(C,R){if(this._constructed){var N=(0,t.default)(R,{isIdentifier:!0});N!==R?this.raws[C]=N:delete this.raws[C]}},E._spacesFor=function(C){var R={before:"",after:""},N=this.spaces[C]||{},B=this.raws.spaces&&this.raws.spaces[C]||{};return Object.assign(R,N,B)},E._stringFor=function(C,R,N){R===void 0&&(R=C),N===void 0&&(N=w);var B=this._spacesFor(R);return N(this.stringifyProperty(C),B)},E.offsetOf=function(C){var R=1,N=this._spacesFor("attribute");if(R+=N.before.length,C==="namespace"||C==="ns")return this.namespace?R:-1;if(C==="attributeNS"||(R+=this.namespaceString.length,this.namespace&&(R+=1),C==="attribute"))return R;R+=this.stringifyProperty("attribute").length,R+=N.after.length;var B=this._spacesFor("operator");R+=B.before.length;var re=this.stringifyProperty("operator");if(C==="operator")return re?R:-1;R+=re.length,R+=B.after.length;var te=this._spacesFor("value");R+=te.before.length;var ae=this.stringifyProperty("value");if(C==="value")return ae?R:-1;R+=ae.length,R+=te.after.length;var le=this._spacesFor("insensitive");return R+=le.before.length,C==="insensitive"&&this.insensitive?R:-1},E.toString=function(){var C=this,R=[this.rawSpaceBefore,"["];return R.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(R.push(this._stringFor("operator")),R.push(this._stringFor("value")),R.push(this._stringFor("insensitiveFlag","insensitive",function(N,B){return N.length>0&&!C.quoted&&B.before.length===0&&!(C.spaces.value&&C.spaces.value.after)&&(B.before=" "),w(N,B)}))),R.push("]"),R.push(this.rawSpaceAfter),R.join("")},l(S,[{key:"quoted",get:function(){var C=this.quoteMark;return C==="'"||C==='"'},set:function(C){v()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(C){if(!this._constructed){this._quoteMark=C;return}this._quoteMark!==C&&(this._quoteMark=C,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(C){if(this._constructed){var R=b(C),N=R.deprecatedUsage,B=R.unescaped,re=R.quoteMark;if(N&&m(),B===this._value&&re===this._quoteMark)return;this._value=B,this._quoteMark=re,this._syncRawValue()}else this._value=C}},{key:"insensitive",get:function(){return this._insensitive},set:function(C){C||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag==="I"||this.raws.insensitiveFlag==="i")&&(this.raws.insensitiveFlag=void 0)),this._insensitive=C}},{key:"attribute",get:function(){return this._attribute},set:function(C){this._handleEscapes("attribute",C),this._attribute=C}}]),S})(n.default);e.default=g,g.NO_QUOTE=null,g.SINGLE_QUOTE="'",g.DOUBLE_QUOTE='"';var x=(o={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},o[null]={isIdentifier:!0},o);function w(k,S){return""+S.before+k+S.after}}),QF=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(Lk()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.UNIVERSAL,d.value="*",d}return u})(r.default);e.default=s,t.exports=e.default}),YF=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.COMBINATOR,d}return u})(r.default);e.default=s,t.exports=e.default}),GF=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=wt();function i(l){return l&&l.__esModule?l:{default:l}}function o(l,u){l.prototype=Object.create(u.prototype),l.prototype.constructor=l,a(l,u)}function a(l,u){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(l,u)}var s=(function(l){o(u,l);function u(c){var d;return d=l.call(this,c)||this,d.type=n.NESTING,d.value="&",d}return u})(r.default);e.default=s,t.exports=e.default}),nV=G((e,t)=>{"use strict";e.__esModule=!0,e.default=r;function r(n){return n.sort(function(i,o){return i-o})}t.exports=e.default}),KF=G(e=>{"use strict";e.__esModule=!0,e.word=e.tilde=e.tab=e.str=e.space=e.slash=e.singleQuote=e.semicolon=e.plus=e.pipe=e.openSquare=e.openParenthesis=e.newline=e.greaterThan=e.feed=e.equals=e.doubleQuote=e.dollar=e.cr=e.comment=e.comma=e.combinator=e.colon=e.closeSquare=e.closeParenthesis=e.caret=e.bang=e.backslash=e.at=e.asterisk=e.ampersand=void 0;var t=38;e.ampersand=t;var r=42;e.asterisk=r;var n=64;e.at=n;var i=44;e.comma=i;var o=58;e.colon=o;var a=59;e.semicolon=a;var s=40;e.openParenthesis=s;var l=41;e.closeParenthesis=l;var u=91;e.openSquare=u;var c=93;e.closeSquare=c;var d=36;e.dollar=d;var p=126;e.tilde=p;var m=94;e.caret=m;var v=43;e.plus=v;var h=61;e.equals=h;var b=124;e.pipe=b;var f=62;e.greaterThan=f;var g=32;e.space=g;var x=39;e.singleQuote=x;var w=34;e.doubleQuote=w;var k=47;e.slash=k;var S=33;e.bang=S;var E=92;e.backslash=E;var C=13;e.cr=C;var R=12;e.feed=R;var N=10;e.newline=N;var B=9;e.tab=B;var re=x;e.str=re;var te=-1;e.comment=te;var ae=-2;e.word=ae;var le=-3;e.combinator=le}),iV=G(e=>{"use strict";e.__esModule=!0,e.FIELDS=void 0,e.default=v;var t=o(KF()),r,n;function i(h){if(typeof WeakMap!="function")return null;var b=new WeakMap,f=new WeakMap;return(i=function(g){return g?f:b})(h)}function o(h,b){if(!b&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var f=i(b);if(f&&f.has(h))return f.get(h);var g={},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in h)if(w!=="default"&&Object.prototype.hasOwnProperty.call(h,w)){var k=x?Object.getOwnPropertyDescriptor(h,w):null;k&&(k.get||k.set)?Object.defineProperty(g,w,k):g[w]=h[w]}return g.default=h,f&&f.set(h,g),g}var a=(r={},r[t.tab]=!0,r[t.newline]=!0,r[t.cr]=!0,r[t.feed]=!0,r),s=(n={},n[t.space]=!0,n[t.tab]=!0,n[t.newline]=!0,n[t.cr]=!0,n[t.feed]=!0,n[t.ampersand]=!0,n[t.asterisk]=!0,n[t.bang]=!0,n[t.comma]=!0,n[t.colon]=!0,n[t.semicolon]=!0,n[t.openParenthesis]=!0,n[t.closeParenthesis]=!0,n[t.openSquare]=!0,n[t.closeSquare]=!0,n[t.singleQuote]=!0,n[t.doubleQuote]=!0,n[t.plus]=!0,n[t.pipe]=!0,n[t.tilde]=!0,n[t.greaterThan]=!0,n[t.equals]=!0,n[t.dollar]=!0,n[t.caret]=!0,n[t.slash]=!0,n),l={},u="0123456789abcdefABCDEF";for(c=0;c<u.length;c++)l[u.charCodeAt(c)]=!0;var c;function d(h,b){var f=b,g;do{if(g=h.charCodeAt(f),s[g])return f-1;g===t.backslash?f=p(h,f)+1:f++}while(f<h.length);return f-1}function p(h,b){var f=b,g=h.charCodeAt(f+1);if(!a[g])if(l[g]){var x=0;do f++,x++,g=h.charCodeAt(f+1);while(l[g]&&x<6);x<6&&g===t.space&&f++}else f++;return f}var m={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};e.FIELDS=m;function v(h){var b=[],f=h.css.valueOf(),g=f,x=g.length,w=-1,k=1,S=0,E=0,C,R,N,B,re,te,ae,le,oe,Fe,Ue,At,Ve;function Y(J,M){if(h.safe)f+=M,oe=f.length-1;else throw h.error("Unclosed "+J,k,S-w,S)}for(;S<x;){switch(C=f.charCodeAt(S),C===t.newline&&(w=S,k+=1),C){case t.space:case t.tab:case t.newline:case t.cr:case t.feed:oe=S;do oe+=1,C=f.charCodeAt(oe),C===t.newline&&(w=oe,k+=1);while(C===t.space||C===t.newline||C===t.tab||C===t.cr||C===t.feed);Ve=t.space,B=k,N=oe-w-1,E=oe;break;case t.plus:case t.greaterThan:case t.tilde:case t.pipe:oe=S;do oe+=1,C=f.charCodeAt(oe);while(C===t.plus||C===t.greaterThan||C===t.tilde||C===t.pipe);Ve=t.combinator,B=k,N=S-w,E=oe;break;case t.asterisk:case t.ampersand:case t.bang:case t.comma:case t.equals:case t.dollar:case t.caret:case t.openSquare:case t.closeSquare:case t.colon:case t.semicolon:case t.openParenthesis:case t.closeParenthesis:oe=S,Ve=C,B=k,N=S-w,E=oe+1;break;case t.singleQuote:case t.doubleQuote:At=C===t.singleQuote?"'":'"',oe=S;do for(re=!1,oe=f.indexOf(At,oe+1),oe===-1&&Y("quote",At),te=oe;f.charCodeAt(te-1)===t.backslash;)te-=1,re=!re;while(re);Ve=t.str,B=k,N=S-w,E=oe+1;break;default:C===t.slash&&f.charCodeAt(S+1)===t.asterisk?(oe=f.indexOf("*/",S+2)+1,oe===0&&Y("comment","*/"),R=f.slice(S,oe+1),le=R.split(`
36
+ `),ae=le.length-1,ae>0?(Fe=k+ae,Ue=oe-le[ae].length):(Fe=k,Ue=w),Ve=t.comment,k=Fe,B=Fe,N=oe-Ue):C===t.slash?(oe=S,Ve=C,B=k,N=S-w,E=oe+1):(oe=d(f,S),Ve=t.word,B=k,N=oe-w),E=oe+1;break}b.push([Ve,k,S-w,B,N,S,E]),Ue&&(w=Ue,Ue=null),S=E}return b}}),oV=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=E(MF()),n=E(RF()),i=E($F()),o=E(BF()),a=E(qF()),s=E(WF()),l=E(_F()),u=E(UF()),c=S(VF()),d=E(QF()),p=E(YF()),m=E(GF()),v=E(nV()),h=S(iV()),b=S(KF()),f=S(wt()),g=Fh(),x,w;function k(Y){if(typeof WeakMap!="function")return null;var J=new WeakMap,M=new WeakMap;return(k=function(W){return W?M:J})(Y)}function S(Y,J){if(!J&&Y&&Y.__esModule)return Y;if(Y===null||typeof Y!="object"&&typeof Y!="function")return{default:Y};var M=k(J);if(M&&M.has(Y))return M.get(Y);var W={},X=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var F in Y)if(F!=="default"&&Object.prototype.hasOwnProperty.call(Y,F)){var ee=X?Object.getOwnPropertyDescriptor(Y,F):null;ee&&(ee.get||ee.set)?Object.defineProperty(W,F,ee):W[F]=Y[F]}return W.default=Y,M&&M.set(Y,W),W}function E(Y){return Y&&Y.__esModule?Y:{default:Y}}function C(Y,J){for(var M=0;M<J.length;M++){var W=J[M];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(Y,W.key,W)}}function R(Y,J,M){return J&&C(Y.prototype,J),M&&C(Y,M),Object.defineProperty(Y,"prototype",{writable:!1}),Y}var N=(x={},x[b.space]=!0,x[b.cr]=!0,x[b.feed]=!0,x[b.newline]=!0,x[b.tab]=!0,x),B=Object.assign({},N,(w={},w[b.comment]=!0,w));function re(Y){return{line:Y[h.FIELDS.START_LINE],column:Y[h.FIELDS.START_COL]}}function te(Y){return{line:Y[h.FIELDS.END_LINE],column:Y[h.FIELDS.END_COL]}}function ae(Y,J,M,W){return{start:{line:Y,column:J},end:{line:M,column:W}}}function le(Y){return ae(Y[h.FIELDS.START_LINE],Y[h.FIELDS.START_COL],Y[h.FIELDS.END_LINE],Y[h.FIELDS.END_COL])}function oe(Y,J){if(Y)return ae(Y[h.FIELDS.START_LINE],Y[h.FIELDS.START_COL],J[h.FIELDS.END_LINE],J[h.FIELDS.END_COL])}function Fe(Y,J){var M=Y[J];if(typeof M=="string")return M.indexOf("\\")!==-1&&((0,g.ensureObject)(Y,"raws"),Y[J]=(0,g.unesc)(M),Y.raws[J]===void 0&&(Y.raws[J]=M)),Y}function Ue(Y,J){for(var M=-1,W=[];(M=Y.indexOf(J,M+1))!==-1;)W.push(M);return W}function At(){var Y=Array.prototype.concat.apply([],arguments);return Y.filter(function(J,M){return M===Y.indexOf(J)})}var Ve=(function(){function Y(M,W){W===void 0&&(W={}),this.rule=M,this.options=Object.assign({lossy:!1,safe:!1},W),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,h.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var X=oe(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new r.default({source:X}),this.root.errorGenerator=this._errorGenerator();var F=new n.default({source:{start:{line:1,column:1}},sourceIndex:0});this.root.append(F),this.current=F,this.loop()}var J=Y.prototype;return J._errorGenerator=function(){var M=this;return function(W,X){return typeof M.rule=="string"?new Error(W):M.rule.error(W,X)}},J.attribute=function(){var M=[],W=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[h.FIELDS.TYPE]!==b.closeSquare;)M.push(this.currToken),this.position++;if(this.currToken[h.FIELDS.TYPE]!==b.closeSquare)return this.expected("closing square bracket",this.currToken[h.FIELDS.START_POS]);var X=M.length,F={source:ae(W[1],W[2],this.currToken[3],this.currToken[4]),sourceIndex:W[h.FIELDS.START_POS]};if(X===1&&!~[b.word].indexOf(M[0][h.FIELDS.TYPE]))return this.expected("attribute",M[0][h.FIELDS.START_POS]);for(var ee=0,ve="",ge="",se=null,Me=!1;ee<X;){var nt=M[ee],ye=this.content(nt),Qe=M[ee+1];switch(nt[h.FIELDS.TYPE]){case b.space:if(Me=!0,this.options.lossy)break;if(se){(0,g.ensureObject)(F,"spaces",se);var Lr=F.spaces[se].after||"";F.spaces[se].after=Lr+ye;var hr=(0,g.getProp)(F,"raws","spaces",se,"after")||null;hr&&(F.raws.spaces[se].after=hr+ye)}else ve=ve+ye,ge=ge+ye;break;case b.asterisk:if(Qe[h.FIELDS.TYPE]===b.equals)F.operator=ye,se="operator";else if((!F.namespace||se==="namespace"&&!Me)&&Qe){ve&&((0,g.ensureObject)(F,"spaces","attribute"),F.spaces.attribute.before=ve,ve=""),ge&&((0,g.ensureObject)(F,"raws","spaces","attribute"),F.raws.spaces.attribute.before=ve,ge=""),F.namespace=(F.namespace||"")+ye;var Lt=(0,g.getProp)(F,"raws","namespace")||null;Lt&&(F.raws.namespace+=ye),se="namespace"}Me=!1;break;case b.dollar:if(se==="value"){var bt=(0,g.getProp)(F,"raws","value");F.value+="$",bt&&(F.raws.value=bt+"$");break}case b.caret:Qe[h.FIELDS.TYPE]===b.equals&&(F.operator=ye,se="operator"),Me=!1;break;case b.combinator:if(ye==="~"&&Qe[h.FIELDS.TYPE]===b.equals&&(F.operator=ye,se="operator"),ye!=="|"){Me=!1;break}Qe[h.FIELDS.TYPE]===b.equals?(F.operator=ye,se="operator"):!F.namespace&&!F.attribute&&(F.namespace=!0),Me=!1;break;case b.word:if(Qe&&this.content(Qe)==="|"&&M[ee+2]&&M[ee+2][h.FIELDS.TYPE]!==b.equals&&!F.operator&&!F.namespace)F.namespace=ye,se="namespace";else if(!F.attribute||se==="attribute"&&!Me){ve&&((0,g.ensureObject)(F,"spaces","attribute"),F.spaces.attribute.before=ve,ve=""),ge&&((0,g.ensureObject)(F,"raws","spaces","attribute"),F.raws.spaces.attribute.before=ge,ge=""),F.attribute=(F.attribute||"")+ye;var Zt=(0,g.getProp)(F,"raws","attribute")||null;Zt&&(F.raws.attribute+=ye),se="attribute"}else if(!F.value&&F.value!==""||se==="value"&&!(Me||F.quoteMark)){var Xt=(0,g.unesc)(ye),Wr=(0,g.getProp)(F,"raws","value")||"",$d=F.value||"";F.value=$d+Xt,F.quoteMark=null,(Xt!==ye||Wr)&&((0,g.ensureObject)(F,"raws"),F.raws.value=(Wr||$d)+ye),se="value"}else{var Bd=ye==="i"||ye==="I";(F.value||F.value==="")&&(F.quoteMark||Me)?(F.insensitive=Bd,(!Bd||ye==="I")&&((0,g.ensureObject)(F,"raws"),F.raws.insensitiveFlag=ye),se="insensitive",ve&&((0,g.ensureObject)(F,"spaces","insensitive"),F.spaces.insensitive.before=ve,ve=""),ge&&((0,g.ensureObject)(F,"raws","spaces","insensitive"),F.raws.spaces.insensitive.before=ge,ge="")):(F.value||F.value==="")&&(se="value",F.value+=ye,F.raws.value&&(F.raws.value+=ye))}Me=!1;break;case b.str:if(!F.attribute||!F.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:nt[h.FIELDS.START_POS]});var uo=(0,c.unescapeValue)(ye),A6=uo.unescaped,N6=uo.quoteMark;F.value=A6,F.quoteMark=N6,se="value",(0,g.ensureObject)(F,"raws"),F.raws.value=ye,Me=!1;break;case b.equals:if(!F.attribute)return this.expected("attribute",nt[h.FIELDS.START_POS],ye);if(F.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:nt[h.FIELDS.START_POS]});F.operator=F.operator?F.operator+ye:ye,se="operator",Me=!1;break;case b.comment:if(se)if(Me||Qe&&Qe[h.FIELDS.TYPE]===b.space||se==="insensitive"){var E6=(0,g.getProp)(F,"spaces",se,"after")||"",P6=(0,g.getProp)(F,"raws","spaces",se,"after")||E6;(0,g.ensureObject)(F,"raws","spaces",se),F.raws.spaces[se].after=P6+ye}else{var j6=F[se]||"",I6=(0,g.getProp)(F,"raws",se)||j6;(0,g.ensureObject)(F,"raws"),F.raws[se]=I6+ye}else ge=ge+ye;break;default:return this.error('Unexpected "'+ye+'" found.',{index:nt[h.FIELDS.START_POS]})}ee++}Fe(F,"attribute"),Fe(F,"namespace"),this.newNode(new c.default(F)),this.position++},J.parseWhitespaceEquivalentTokens=function(M){M<0&&(M=this.tokens.length);var W=this.position,X=[],F="",ee=void 0;do if(N[this.currToken[h.FIELDS.TYPE]])this.options.lossy||(F+=this.content());else if(this.currToken[h.FIELDS.TYPE]===b.comment){var ve={};F&&(ve.before=F,F=""),ee=new o.default({value:this.content(),source:le(this.currToken),sourceIndex:this.currToken[h.FIELDS.START_POS],spaces:ve}),X.push(ee)}while(++this.position<M);if(F){if(ee)ee.spaces.after=F;else if(!this.options.lossy){var ge=this.tokens[W],se=this.tokens[this.position-1];X.push(new l.default({value:"",source:ae(ge[h.FIELDS.START_LINE],ge[h.FIELDS.START_COL],se[h.FIELDS.END_LINE],se[h.FIELDS.END_COL]),sourceIndex:ge[h.FIELDS.START_POS],spaces:{before:F,after:""}}))}}return X},J.convertWhitespaceNodesToSpace=function(M,W){var X=this;W===void 0&&(W=!1);var F="",ee="";M.forEach(function(ge){var se=X.lossySpace(ge.spaces.before,W),Me=X.lossySpace(ge.rawSpaceBefore,W);F+=se+X.lossySpace(ge.spaces.after,W&&se.length===0),ee+=se+ge.value+X.lossySpace(ge.rawSpaceAfter,W&&Me.length===0)}),ee===F&&(ee=void 0);var ve={space:F,rawSpace:ee};return ve},J.isNamedCombinator=function(M){return M===void 0&&(M=this.position),this.tokens[M+0]&&this.tokens[M+0][h.FIELDS.TYPE]===b.slash&&this.tokens[M+1]&&this.tokens[M+1][h.FIELDS.TYPE]===b.word&&this.tokens[M+2]&&this.tokens[M+2][h.FIELDS.TYPE]===b.slash},J.namedCombinator=function(){if(this.isNamedCombinator()){var M=this.content(this.tokens[this.position+1]),W=(0,g.unesc)(M).toLowerCase(),X={};W!==M&&(X.value="/"+M+"/");var F=new p.default({value:"/"+W+"/",source:ae(this.currToken[h.FIELDS.START_LINE],this.currToken[h.FIELDS.START_COL],this.tokens[this.position+2][h.FIELDS.END_LINE],this.tokens[this.position+2][h.FIELDS.END_COL]),sourceIndex:this.currToken[h.FIELDS.START_POS],raws:X});return this.position=this.position+3,F}else this.unexpected()},J.combinator=function(){var M=this;if(this.content()==="|")return this.namespace();var W=this.locateNextMeaningfulToken(this.position);if(W<0||this.tokens[W][h.FIELDS.TYPE]===b.comma||this.tokens[W][h.FIELDS.TYPE]===b.closeParenthesis){var X=this.parseWhitespaceEquivalentTokens(W);if(X.length>0){var F=this.current.last;if(F){var ee=this.convertWhitespaceNodesToSpace(X),ve=ee.space,ge=ee.rawSpace;ge!==void 0&&(F.rawSpaceAfter+=ge),F.spaces.after+=ve}else X.forEach(function(Wr){return M.newNode(Wr)})}return}var se=this.currToken,Me=void 0;W>this.position&&(Me=this.parseWhitespaceEquivalentTokens(W));var nt;if(this.isNamedCombinator()?nt=this.namedCombinator():this.currToken[h.FIELDS.TYPE]===b.combinator?(nt=new p.default({value:this.content(),source:le(this.currToken),sourceIndex:this.currToken[h.FIELDS.START_POS]}),this.position++):N[this.currToken[h.FIELDS.TYPE]]||Me||this.unexpected(),nt){if(Me){var ye=this.convertWhitespaceNodesToSpace(Me),Qe=ye.space,Lr=ye.rawSpace;nt.spaces.before=Qe,nt.rawSpaceBefore=Lr}}else{var hr=this.convertWhitespaceNodesToSpace(Me,!0),Lt=hr.space,bt=hr.rawSpace;bt||(bt=Lt);var Zt={},Xt={spaces:{}};Lt.endsWith(" ")&&bt.endsWith(" ")?(Zt.before=Lt.slice(0,Lt.length-1),Xt.spaces.before=bt.slice(0,bt.length-1)):Lt[0]===" "&&bt[0]===" "?(Zt.after=Lt.slice(1),Xt.spaces.after=bt.slice(1)):Xt.value=bt,nt=new p.default({value:" ",source:oe(se,this.tokens[this.position-1]),sourceIndex:se[h.FIELDS.START_POS],spaces:Zt,raws:Xt})}return this.currToken&&this.currToken[h.FIELDS.TYPE]===b.space&&(nt.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(nt)},J.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var M=new n.default({source:{start:re(this.tokens[this.position+1])},sourceIndex:this.tokens[this.position+1][h.FIELDS.START_POS]});this.current.parent.append(M),this.current=M,this.position++},J.comment=function(){var M=this.currToken;this.newNode(new o.default({value:this.content(),source:le(M),sourceIndex:M[h.FIELDS.START_POS]})),this.position++},J.error=function(M,W){throw this.root.error(M,W)},J.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[h.FIELDS.START_POS]})},J.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[h.FIELDS.START_POS])},J.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[h.FIELDS.START_POS])},J.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[h.FIELDS.START_POS])},J.unexpectedPipe=function(){return this.error("Unexpected '|'.",this.currToken[h.FIELDS.START_POS])},J.namespace=function(){var M=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[h.FIELDS.TYPE]===b.word)return this.position++,this.word(M);if(this.nextToken[h.FIELDS.TYPE]===b.asterisk)return this.position++,this.universal(M);this.unexpectedPipe()},J.nesting=function(){if(this.nextToken){var M=this.content(this.nextToken);if(M==="|"){this.position++;return}}var W=this.currToken;this.newNode(new m.default({value:this.content(),source:le(W),sourceIndex:W[h.FIELDS.START_POS]})),this.position++},J.parentheses=function(){var M=this.current.last,W=1;if(this.position++,M&&M.type===f.PSEUDO){var X=new n.default({source:{start:re(this.tokens[this.position])},sourceIndex:this.tokens[this.position][h.FIELDS.START_POS]}),F=this.current;for(M.append(X),this.current=X;this.position<this.tokens.length&&W;)this.currToken[h.FIELDS.TYPE]===b.openParenthesis&&W++,this.currToken[h.FIELDS.TYPE]===b.closeParenthesis&&W--,W?this.parse():(this.current.source.end=te(this.currToken),this.current.parent.source.end=te(this.currToken),this.position++);this.current=F}else{for(var ee=this.currToken,ve="(",ge;this.position<this.tokens.length&&W;)this.currToken[h.FIELDS.TYPE]===b.openParenthesis&&W++,this.currToken[h.FIELDS.TYPE]===b.closeParenthesis&&W--,ge=this.currToken,ve+=this.parseParenthesisToken(this.currToken),this.position++;M?M.appendToPropertyAndEscape("value",ve,ve):this.newNode(new l.default({value:ve,source:ae(ee[h.FIELDS.START_LINE],ee[h.FIELDS.START_COL],ge[h.FIELDS.END_LINE],ge[h.FIELDS.END_COL]),sourceIndex:ee[h.FIELDS.START_POS]}))}if(W)return this.expected("closing parenthesis",this.currToken[h.FIELDS.START_POS])},J.pseudo=function(){for(var M=this,W="",X=this.currToken;this.currToken&&this.currToken[h.FIELDS.TYPE]===b.colon;)W+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[h.FIELDS.TYPE]===b.word)this.splitWord(!1,function(F,ee){W+=F,M.newNode(new u.default({value:W,source:oe(X,M.currToken),sourceIndex:X[h.FIELDS.START_POS]})),ee>1&&M.nextToken&&M.nextToken[h.FIELDS.TYPE]===b.openParenthesis&&M.error("Misplaced parenthesis.",{index:M.nextToken[h.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[h.FIELDS.START_POS])},J.space=function(){var M=this.content();this.position===0||this.prevToken[h.FIELDS.TYPE]===b.comma||this.prevToken[h.FIELDS.TYPE]===b.openParenthesis||this.current.nodes.every(function(W){return W.type==="comment"})?(this.spaces=this.optionalSpace(M),this.position++):this.position===this.tokens.length-1||this.nextToken[h.FIELDS.TYPE]===b.comma||this.nextToken[h.FIELDS.TYPE]===b.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(M),this.position++):this.combinator()},J.string=function(){var M=this.currToken;this.newNode(new l.default({value:this.content(),source:le(M),sourceIndex:M[h.FIELDS.START_POS]})),this.position++},J.universal=function(M){var W=this.nextToken;if(W&&this.content(W)==="|")return this.position++,this.namespace();var X=this.currToken;this.newNode(new d.default({value:this.content(),source:le(X),sourceIndex:X[h.FIELDS.START_POS]}),M),this.position++},J.splitWord=function(M,W){for(var X=this,F=this.nextToken,ee=this.content();F&&~[b.dollar,b.caret,b.equals,b.word].indexOf(F[h.FIELDS.TYPE]);){this.position++;var ve=this.content();if(ee+=ve,ve.lastIndexOf("\\")===ve.length-1){var ge=this.nextToken;ge&&ge[h.FIELDS.TYPE]===b.space&&(ee+=this.requiredSpace(this.content(ge)),this.position++)}F=this.nextToken}var se=Ue(ee,".").filter(function(Qe){var Lr=ee[Qe-1]==="\\",hr=/^\d+\.\d+%$/.test(ee);return!Lr&&!hr}),Me=Ue(ee,"#").filter(function(Qe){return ee[Qe-1]!=="\\"}),nt=Ue(ee,"#{");nt.length&&(Me=Me.filter(function(Qe){return!~nt.indexOf(Qe)}));var ye=(0,v.default)(At([0].concat(se,Me)));ye.forEach(function(Qe,Lr){var hr=ye[Lr+1]||ee.length,Lt=ee.slice(Qe,hr);if(Lr===0&&W)return W.call(X,Lt,ye.length);var bt,Zt=X.currToken,Xt=Zt[h.FIELDS.START_POS]+ye[Lr],Wr=ae(Zt[1],Zt[2]+Qe,Zt[3],Zt[2]+(hr-1));if(~se.indexOf(Qe)){var $d={value:Lt.slice(1),source:Wr,sourceIndex:Xt};bt=new i.default(Fe($d,"value"))}else if(~Me.indexOf(Qe)){var Bd={value:Lt.slice(1),source:Wr,sourceIndex:Xt};bt=new a.default(Fe(Bd,"value"))}else{var uo={value:Lt,source:Wr,sourceIndex:Xt};Fe(uo,"value"),bt=new s.default(uo)}X.newNode(bt,M),M=null}),this.position++},J.word=function(M){var W=this.nextToken;return W&&this.content(W)==="|"?(this.position++,this.namespace()):this.splitWord(M)},J.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},J.parse=function(M){switch(this.currToken[h.FIELDS.TYPE]){case b.space:this.space();break;case b.comment:this.comment();break;case b.openParenthesis:this.parentheses();break;case b.closeParenthesis:M&&this.missingParenthesis();break;case b.openSquare:this.attribute();break;case b.dollar:case b.caret:case b.equals:case b.word:this.word();break;case b.colon:this.pseudo();break;case b.comma:this.comma();break;case b.asterisk:this.universal();break;case b.ampersand:this.nesting();break;case b.slash:case b.combinator:this.combinator();break;case b.str:this.string();break;case b.closeSquare:this.missingSquareBracket();case b.semicolon:this.missingBackslash();default:this.unexpected()}},J.expected=function(M,W,X){if(Array.isArray(M)){var F=M.pop();M=M.join(", ")+" or "+F}var ee=/^[aeiou]/.test(M[0])?"an":"a";return X?this.error("Expected "+ee+" "+M+', found "'+X+'" instead.',{index:W}):this.error("Expected "+ee+" "+M+".",{index:W})},J.requiredSpace=function(M){return this.options.lossy?" ":M},J.optionalSpace=function(M){return this.options.lossy?"":M},J.lossySpace=function(M,W){return this.options.lossy?W?" ":"":M},J.parseParenthesisToken=function(M){var W=this.content(M);return M[h.FIELDS.TYPE]===b.space?this.requiredSpace(W):W},J.newNode=function(M,W){return W&&(/^ +$/.test(W)&&(this.options.lossy||(this.spaces=(this.spaces||"")+W),W=!0),M.namespace=W,Fe(M,"namespace")),this.spaces&&(M.spaces.before=this.spaces,this.spaces=""),this.current.append(M)},J.content=function(M){return M===void 0&&(M=this.currToken),this.css.slice(M[h.FIELDS.START_POS],M[h.FIELDS.END_POS])},J.locateNextMeaningfulToken=function(M){M===void 0&&(M=this.position+1);for(var W=M;W<this.tokens.length;)if(B[this.tokens[W][h.FIELDS.TYPE]]){W++;continue}else return W;return-1},R(Y,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),Y})();e.default=Ve,t.exports=e.default}),aV=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=n(oV());function n(o){return o&&o.__esModule?o:{default:o}}var i=(function(){function o(s,l){this.func=s||function(){},this.funcRes=null,this.options=l}var a=o.prototype;return a._isLossy=function(s){s===void 0&&(s={});var l=Object.assign({},this.options,s);return l.lossless===!1},a._root=function(s,l){l===void 0&&(l={});var u=new r.default(s,this._parseOptions(l));return u.root},a._parseOptions=function(s){return{lossy:this._isLossy(s)}},a._runSync=function(s,l){l===void 0&&(l={});var u=this._root(s,l),c=this.func(u);if(c&&typeof c.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var d=void 0;return l.updateSelector&&typeof s!="string"&&(d=u.toString(),s.selector=d),{transform:c,root:u,string:d}},a.astSync=function(s,l){return this._runSync(s,l).root},a.processSync=function(s,l){var u=this._runSync(s,l);return u.string||u.root.toString()},o})();e.default=i,t.exports=e.default}),sV=G(e=>{"use strict";e.__esModule=!0,e.universal=e.tag=e.string=e.selector=e.root=e.pseudo=e.nesting=e.id=e.comment=e.combinator=e.className=e.attribute=void 0;var t=m(VF()),r=m($F()),n=m(YF()),i=m(BF()),o=m(qF()),a=m(GF()),s=m(UF()),l=m(MF()),u=m(RF()),c=m(_F()),d=m(WF()),p=m(QF());function m(N){return N&&N.__esModule?N:{default:N}}var v=function(N){return new t.default(N)};e.attribute=v;var h=function(N){return new r.default(N)};e.className=h;var b=function(N){return new n.default(N)};e.combinator=b;var f=function(N){return new i.default(N)};e.comment=f;var g=function(N){return new o.default(N)};e.id=g;var x=function(N){return new a.default(N)};e.nesting=x;var w=function(N){return new s.default(N)};e.pseudo=w;var k=function(N){return new l.default(N)};e.root=k;var S=function(N){return new u.default(N)};e.selector=S;var E=function(N){return new c.default(N)};e.string=E;var C=function(N){return new d.default(N)};e.tag=C;var R=function(N){return new p.default(N)};e.universal=R}),lV=G(e=>{"use strict";e.__esModule=!0,e.isComment=e.isCombinator=e.isClassName=e.isAttribute=void 0,e.isContainer=w,e.isIdentifier=void 0,e.isNamespace=k,e.isNesting=void 0,e.isNode=i,e.isPseudo=void 0,e.isPseudoClass=x,e.isPseudoElement=g,e.isUniversal=e.isTag=e.isString=e.isSelector=e.isRoot=void 0;var t=wt(),r,n=(r={},r[t.ATTRIBUTE]=!0,r[t.CLASS]=!0,r[t.COMBINATOR]=!0,r[t.COMMENT]=!0,r[t.ID]=!0,r[t.NESTING]=!0,r[t.PSEUDO]=!0,r[t.ROOT]=!0,r[t.SELECTOR]=!0,r[t.STRING]=!0,r[t.TAG]=!0,r[t.UNIVERSAL]=!0,r);function i(S){return typeof S=="object"&&n[S.type]}function o(S,E){return i(E)&&E.type===S}var a=o.bind(null,t.ATTRIBUTE);e.isAttribute=a;var s=o.bind(null,t.CLASS);e.isClassName=s;var l=o.bind(null,t.COMBINATOR);e.isCombinator=l;var u=o.bind(null,t.COMMENT);e.isComment=u;var c=o.bind(null,t.ID);e.isIdentifier=c;var d=o.bind(null,t.NESTING);e.isNesting=d;var p=o.bind(null,t.PSEUDO);e.isPseudo=p;var m=o.bind(null,t.ROOT);e.isRoot=m;var v=o.bind(null,t.SELECTOR);e.isSelector=v;var h=o.bind(null,t.STRING);e.isString=h;var b=o.bind(null,t.TAG);e.isTag=b;var f=o.bind(null,t.UNIVERSAL);e.isUniversal=f;function g(S){return p(S)&&S.value&&(S.value.startsWith("::")||S.value.toLowerCase()===":before"||S.value.toLowerCase()===":after"||S.value.toLowerCase()===":first-letter"||S.value.toLowerCase()===":first-line")}function x(S){return p(S)&&!g(S)}function w(S){return!!(i(S)&&S.walk)}function k(S){return a(S)||b(S)}}),uV=G(e=>{"use strict";e.__esModule=!0;var t=wt();Object.keys(t).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===t[i]||(e[i]=t[i])});var r=sV();Object.keys(r).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===r[i]||(e[i]=r[i])});var n=lV();Object.keys(n).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===n[i]||(e[i]=n[i])})}),dt=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=a(aV()),n=o(uV());function i(u){if(typeof WeakMap!="function")return null;var c=new WeakMap,d=new WeakMap;return(i=function(p){return p?d:c})(u)}function o(u,c){if(!c&&u&&u.__esModule)return u;if(u===null||typeof u!="object"&&typeof u!="function")return{default:u};var d=i(c);if(d&&d.has(u))return d.get(u);var p={},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in u)if(v!=="default"&&Object.prototype.hasOwnProperty.call(u,v)){var h=m?Object.getOwnPropertyDescriptor(u,v):null;h&&(h.get||h.set)?Object.defineProperty(p,v,h):p[v]=u[v]}return p.default=u,d&&d.set(u,p),p}function a(u){return u&&u.__esModule?u:{default:u}}var s=function(u){return new r.default(u)};Object.assign(s,n),delete s.__esModule;var l=s;e.default=l,t.exports=e.default});function at(e){var l,u;let t=e.nodes.findIndex(c=>!qy(c)),r=e.nodes.findLastIndex(c=>!qy(c)),n=e.nodes[t],i=e.nodes[r];if(!n||!i){let c=e.toString().trim(),d=(l=e.sourceIndex)!=null?l:0,p=d+c.length;return{selector:c,index:d,endIndex:p}}i=i.rawSpaceAfter.length?i.clone():i,i.rawSpaceAfter="";let o=e.nodes.slice(t,r).map(String).join("");o+=i.toString(),o=o.trim();let a=(u=n.sourceIndex)!=null?u:0,s=a+o.length;return{selector:o,index:a,endIndex:s}}var hC,qy,zt=y(()=>{hC=K(dt(),1),{isComment:qy}=hC.default});function xe(e,t,r){if(e)try{return(0,HF.default)().astSync(e)}catch(n){t.warn(`Cannot parse selector (${n})`,{node:r,stylelintType:"parseError"});return}}var HF,ze=y(()=>{HF=K(dt(),1)}),JF={};A(JF,{default:()=>ZF});var zs,Mg,fC,As,ZF,cV=y(()=>{V(),we(),zt(),me(),ze(),j(),O(),D(),zs="keyframe-block-no-duplicate-selectors",Mg=I(zs,{rejected:e=>`Duplicate keyframe selector "${e}"`}),fC={url:"https://stylelint.io/user-guide/rules/keyframe-block-no-duplicate-selectors"},As=e=>(t,r)=>{T(r,zs,{actual:e})&&t.walkAtRules(Se.keyframesName,n=>{let i=new Set;n.walkRules(o=>{var a;pe(o)&&((a=xe(be(o),r,o))==null||a.each(s=>{let{selector:l,index:u,endIndex:c}=at(s),d=l.toLowerCase();if(i.has(d)){P({message:Mg.rejected,messageArgs:[l],node:o,result:r,ruleName:zs,index:u,endIndex:c});return}i.add(d)}))})})},As.ruleName=zs,As.messages=Mg,As.meta=fC,ZF=As}),XF={};A(XF,{default:()=>eM});var Ns,Rg,gC,Es,eM,dV=y(()=>{q(),V(),VL(),j(),O(),D(),Ns="keyframe-declaration-no-important",Rg=I(Ns,{rejected:"Disallowed !important"}),gC={url:"https://stylelint.io/user-guide/rules/keyframe-declaration-no-important"},Es=e=>(t,r)=>{T(r,Ns,{actual:e})&&t.walkAtRules(Se.keyframesName,n=>{n.walkDecls(i=>{if(!i.important)return;let o=UL(i.toString());$e(o),P({message:Rg.rejected,messageArgs:[],node:i,index:o.index,endIndex:o.endIndex,result:r,ruleName:Ns})})})},Es.ruleName=Ns,Es.messages=Rg,Es.meta=gC,eM=Es}),tM={};A(tM,{default:()=>rM});function pV(e){let t=e.nodes.filter(i=>!(nm.default.isComment(i)||nm.default.isCombinator(i)&&i.value.trim()===""));if(t.length!==1||!t.every(nm.default.isTag))return;let r=t[0];if(!r)return;let n=r.value.toLowerCase();if(!(!$i.has(n)&&!qc.has(n)))return[r,n]}function $g(e,t){let r=e.get(t);return Xi(r),r}function mV(e){let t=[];return e.walkRules(r=>{t.push(...r.selectors.map(n=>n.toLowerCase()))}),t}var nm,Ps,Bg,bC,vC,qg,js,rM,hV=y(()=>{q(),Ke(),V(),we(),ze(),nm=K(dt(),1),Tt(),j(),O(),D(),Ps="keyframe-selector-notation",Bg=I(Ps,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),bC={url:"https://stylelint.io/user-guide/rules/keyframe-selector-notation",fixable:!0},vC=new Map([["0%","from"],["100%","to"]]),qg=new Map([["from","0%"],["to","100%"]]),js=e=>(t,r)=>{if(!T(r,Ps,{actual:e,possible:["keyword","percentage","percentage-unless-within-keyword-only-block"]}))return;let n={keyword:{expFunc:s=>$i.has(s),fixFunc:s=>$g(vC,s)},percentage:{expFunc:s=>qc.has(s),fixFunc:s=>$g(qg,s)},"percentage-unless-within-keyword-only-block":{expFunc:(s,l)=>l.every(u=>$i.has(u))?!0:qc.has(s),fixFunc:s=>$g(qg,s)}},{expFunc:i,fixFunc:o}=n[e],a;e==="keyword"?a=Q.percentageKeyframeSelectorWithNamedEquivalent:e==="percentage"?a=Q.namedKeyframeSelectorWithPercentageEquivalent:a=/./,t.walkAtRules(Se.keyframesName,s=>{let l=e==="percentage-unless-within-keyword-only-block"?mV(s):[];s.walkRules(a,u=>{let c=be(u),d=xe(c,r,u);d&&d.each(p=>{let m=pV(p);if(!m)return;let[v,h]=m;if(i(h,l))return;let b=o(h),f=()=>{v.value=b,u.selector=d.toString()};P({message:Bg.expected,messageArgs:[v.value,b],node:u,result:r,ruleName:Ps,index:v.sourceIndex,endIndex:v.sourceIndex+h.length,fix:{apply:f,node:u}})})})})},js.ruleName=Ps,js.messages=Bg,js.meta=bC,rM=js});function fV(e){return!Xm(e)}var gV=y(()=>{eh()}),nM={};A(nM,{default:()=>iM});var Is,Wg,yC,Os,iM,bV=y(()=>{q(),Z(),V(),gV(),j(),O(),D(),Is="keyframes-name-pattern",Wg=I(Is,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),yC={url:"https://stylelint.io/user-guide/rules/keyframes-name-pattern"},Os=e=>(t,r)=>{if(!T(r,Is,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkAtRules(Se.keyframesName,i=>{let o=i.params;if(!fV(o)||n.test(o))return;let a=Oe(i),s=a+o.length;P({index:a,endIndex:s,message:Wg.expected,messageArgs:[o,e],node:i,ruleName:Is,result:r})})},Os.ruleName=Is,Os.messages=Wg,Os.meta=yC,iM=Os}),oM={};A(oM,{default:()=>aM});var _g,Ts,Ug,wC,Ds,aM,vV=y(()=>{_g=K(de(),1),V(),q(),Z(),j(),O(),D(),Ts="layer-name-pattern",Ug=I(Ts,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),wC={url:"https://stylelint.io/user-guide/rules/layer-name-pattern"},Ds=e=>(t,r)=>{if(!T(r,Ts,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkAtRules(Se.layerName,o=>{let{params:a}=o;a&&(0,_g.default)(a).walk(s=>{i(s.type,s.value,s.sourceIndex,o)})}),t.walkAtRules(Se.importName,o=>{let{params:a}=o;Q.layerFunction.test(a)&&(0,_g.default)(o.params).walk(s=>{if(!(s.type!=="function"||s.value.toLowerCase()!=="layer"))for(let l of s.nodes)i(l.type,l.value,l.sourceIndex,o)})});function i(o,a,s,l){if(o!=="word"||n.test(a))return;let u=Oe(l)+s,c=u+a.length;P({message:Ug.expected,messageArgs:[a,e],node:l,index:u,endIndex:c,ruleName:Ts,result:r})}},Ds.ruleName=Ts,Ds.messages=Ug,Ds.meta=wC,aM=Ds});function yV(e){return e.type==="function"&&no.has(e.value.toLowerCase())}var wV=y(()=>{jr()}),sM={};A(sM,{default:()=>lM});function kV({prop:e},t,r){let n=t[r-1];return e.toLowerCase()==="font"&&n&&n.type==="div"&&n.value==="/"}function xV(e){return e.toLowerCase()==="line-height"}function SV(e){return e.toLowerCase()==="flex"}function CV(e){return Bi.has(e.toLowerCase())}function zV(e){return e.toLowerCase()==="fr"}function AV(e){return Number.parseFloat(e)===0}function NV(e){return e===""}var Dp,Ls,Vg,kC,Fs,lM,EV=y(()=>{Dp=K(de(),1),Z(),fe(),q(),lt(),We(),pr(),wV(),et(),ct(),io(),V(),H(),j(),O(),TF(),gt(),D(),Ls="length-zero-no-unit",Vg=I(Ls,{rejected:"Disallowed unit"}),kC={url:"https://stylelint.io/user-guide/rules/length-zero-no-unit",fixable:!0},Fs=(e,t)=>(r,n)=>{if(!T(n,Ls,{actual:e},{actual:t,possible:{ignore:["custom-properties"],ignoreFunctions:[$,_],ignorePreludeOfAtRules:[$,_]},optional:!0}))return;function i(s,l,u,c){let{value:d,sourceIndex:p}=u;if(yV(u)||Nn(u)&&L(t,"ignoreFunctions",d))return!1;if(!En(u))return;let m=Dp.default.unit(d);if(m===!1)return;let{number:v,unit:h}=m;if(!AV(v)||NV(h)||!CV(h)||zV(h))return;let b=()=>{switch(u.value=v.startsWith(".")?v.slice(1):v,s.type){case"atrule":OF(s,c.toString());break;case"decl":ft(s,c.toString());break}},f=l+p+v.length,g=f+h.length;P({index:f,endIndex:g,message:Vg.rejected,messageArgs:[],node:s,result:n,ruleName:Ls,fix:{apply:b,node:s}})}function o(s){if(!Q.zeroLength.test(s.params)||!Xe(s)||L(t,"ignorePreludeOfAtRules",s.name))return;let l=Oe(s),u=(0,Dp.default)(st(s));u.walk(c=>i(s,l,c,u))}function a(s){let{prop:l,value:u}=s;if(!Q.zeroLength.test(u)||!ut(s)||xV(l)||SV(l)||L(t,"ignore","custom-properties")&&yt(l))return;let c=ie(s),d=(0,Dp.default)(qe(s));d.walk((p,m,v)=>{if(!kV(s,v,m))return i(s,c,p,d)})}r.walkAtRules(o),r.walkDecls(a)},Fs.ruleName=Ls,Fs.messages=Vg,Fs.meta=kC,lM=Fs}),uM={};A(uM,{default:()=>dM});function PV(e,t){let r=Number.parseFloat(e);return Lv.has(t)?`${r}%`:(fm.has(t)&&(r*=100),Number.isInteger(r)?`${r}%`:`${cM(r,e)}%`)}function jV(e,t){let r=Number.parseFloat(e);return fm.has(t)?(r/=100,`${cM(r,e)}`):`${r}`}function cM(e,t){if(e===0)return"0";let r=t.replaceAll("%","").replaceAll(".","").length;return r===0?`${e}`:e.toPrecision(r).replace(/\.?0+$/,"")}function IV({nodes:e}){var r;let t=e.filter(({type:n})=>n==="word"||n==="function");return((r=t[0])==null?void 0:r.value.toLowerCase())==="from"?t[2]:t[0]}var Qg,Ms,Yg,xC,Rs,dM,OV=y(()=>{Qg=K(de(),1),jr(),Z(),We(),_e(),V(),j(),O(),gt(),D(),Ms="lightness-notation",Yg=I(Ms,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),xC={url:"https://stylelint.io/user-guide/rules/lightness-notation",fixable:!0},Rs=e=>(t,r)=>{T(r,Ms,{actual:e,possible:["percentage","number"]})&&t.walkDecls(n=>{if(!Q.lightnessColorFunction.test(n.value))return;let i=(0,Qg.default)(qe(n));i.walk(o=>{if(o.type!=="function")return;let a=o.value.toLowerCase();if(!jw.has(a))return;let s=IV(o);if(!s)return;let{value:l}=s;if(!Be(l))return;let u=Qg.default.unit(l);if(!u)return;let c=u.unit==="%",d=u.unit==="";if(!c&&!d||e==="percentage"&&c||e==="number"&&d)return;let p=e==="percentage"?PV(l,a):jV(l,a),m=ie(n),v=()=>{s.value=p,ft(n,i.toString())};P({message:Yg.expected,messageArgs:[l,p],node:n,index:m+s.sourceIndex,endIndex:m+s.sourceEndIndex,result:r,ruleName:Ms,fix:{apply:v,node:n}})})})},Rs.ruleName=Ms,Rs.messages=Yg,Rs.meta=xC,dM=Rs}),pM={};A(pM,{default:()=>mM});function SC(e){return e.startsWith("&:")&&e[2]!==":"?e.slice(2):void 0}var CC,$s,Gg,zC,Bs,mM,TV=y(()=>{CC=K(dt(),1),fe(),q(),nh(),me(),H(),j(),O(),D(),$s="max-nesting-depth",Gg=I($s,{expected:e=>`Too deep nesting, maximum ${e}`}),zC={url:"https://stylelint.io/user-guide/rules/max-nesting-depth"},Bs=(e,t)=>{let r=o=>Ie(o)&&L(t,"ignoreAtRules",o.name),n=o=>it(o)&&L(t,"ignoreRules",o.selector);return(o,a)=>{if(!T(a,$s,{actual:e,possible:[Sr]},{optional:!0,actual:t,possible:{ignore:["blockless-at-rules","pseudo-classes"],ignoreAtRules:[$,_],ignoreRules:[$,_],ignorePseudoClasses:[$,_]}}))return;o.walkRules(s),o.walkAtRules(s);function s(l){r(l)||n(l)||!Yc(l)||it(l)&&!pe(l)||i(l,0)>e&&P({ruleName:$s,result:a,node:l,message:Gg.expected,messageArgs:[e]})}};function i(o,a){let s=o.parent;if(!s||r(s))return 0;if(ur(s)||Ie(s)&&s.parent&&ur(s.parent))return a;function l(c){return(0,CC.default)().processSync(c,{lossless:!1}).split(",").filter(d=>!L(t,"ignoreRules",d)).every(d=>SC(d))}function u(c){return t&&(t.ignorePseudoClasses||t.ignoreRules)?c.every(d=>{if(t.ignoreRules&&L(t,"ignoreRules",d))return!0;if(!t.ignorePseudoClasses)return!1;let p=SC(d);return p?L(t,"ignorePseudoClasses",p):!1}):!1}return L(t,"ignore","blockless-at-rules")&&Ie(o)&&o.every(c=>!eo(c))||L(t,"ignore","pseudo-classes")&&it(o)&&l(o.selector)||it(o)&&u(o.selectors)?i(s,a):i(s,a+1)}},Bs.ruleName=$s,Bs.messages=Gg,Bs.meta=zC,mM=Bs});function hM(e){return!!(ce(e)&&Ae(e.value)||He(e)&&NM.has(e.getName().toLowerCase()))}function DV(e){return ce(e)&&Ee(e.value)}function Id(e){return ce(e)&&Ye(e.value)}function LV(e){return He(e)&&e.getName().toLowerCase()==="env"}function Ic(e){let t=-1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type!==je.Whitespace&&n.type!==je.Comment){if(!Id(n)||t!==-1)return!1;t=r}}return t!==-1&&new Rk(e[t],e.slice(0,t).flatMap(r=>r.tokens()),e.slice(t+1).flatMap(r=>r.tokens()))}function FV(e){let t=Ic(e);return t===!1?t:new $k(t)}function xc(e,t=!1){let r=-1,n=-1;for(let i=0;i<e.length;i++){let o=e[i];if(o.type!==je.Whitespace&&o.type!==je.Comment){if(r!==-1)return!1;if(hM(o)){let a=fM(e.slice(i));if(a!==-1){r=a[0]+i,n=a[1]+i,i+=a[1]-a[0];continue}r=i,n=i;continue}if(LV(o))r=i,n=i;else if(DV(o))r=i,n=i;else{if(t||!Id(o))return!1;r=i,n=i}}}return r!==-1&&new Bk(e.slice(r,n+1),e.slice(0,r).flatMap(i=>i.tokens()),e.slice(n+1).flatMap(i=>i.tokens()))}function fM(e){let t=-1,r=-1,n=MV(e);if(n===-1)return-1;t=n[0],r=n[1];for(let i=r+1;i<e.length;i++){let o=e[i];if(!jt(o))return-1}return[t,r]}function MV(e){let t=-1,r=-1;for(let n=0;n<e.length;n++){let i=e[n];if(!jt(i)){if(ce(i)){let o=i.value;if(qt(o)&&o[4].value==="/"){if(t===-1||r!==-1)return-1;r=n;continue}}if(!hM(i))return-1;if(r!==-1)return[t,n];if(t!==-1)return-1;t=n}}return-1}function RV(e){let t=[],r=[],n=null;for(let a=0;a<e.length;a++){let s=e[a];if(s.type===je.Token){let l=s.value;if(u3(l)){t=e.slice(0,a),r=e.slice(a+1),n=l;break}}}if(!t.length||!r.length||!n)return!1;let i=Ic(t);if(i===!1)return!1;let o=xc(r);return o!==!1&&new qk(i,n,o)}function $V(e){let t=-1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type===je.Token){let i=n.value;if(qt(i)){if(i[4].value===Jr.EQ)return t!==-1?[t,r]:[r,r];if(i[4].value===or.LT){t=r;continue}if(i[4].value===ar.GT){t=r;continue}}}break}return t!==-1&&[t,t]}function Pi(e){if(e.length!==1&&e.length!==2||!qt(e[0]))return!1;if(e.length===1)switch(e[0][4].value){case Jr.EQ:return Jr.EQ;case or.LT:return or.LT;case ar.GT:return ar.GT;default:return!1}if(!qt(e[1])||e[1][4].value!==Jr.EQ)return!1;switch(e[0][4].value){case or.LT:return or.LT_OR_EQ;case ar.GT:return ar.GT_OR_EQ;default:return!1}}function BV(e){let t=!1,r=!1;for(let d=0;d<e.length;d++){let p=e[d];if(p.type===je.Token){let m=p.value;if(qt(m)){let v=$V(e.slice(d));if(v!==!1){if(t!==!1){r=[v[0]+d,v[1]+d];break}t=[v[0]+d,v[1]+d],d+=v[1]}}}}if(t===!1)return!1;let n=[e[t[0]].value];if(t[0]!==t[1]&&n.push(e[t[1]].value),r===!1){let d=e.slice(0,t[0]),p=e.slice(t[1]+1),m=Ic(d);if(m){let h=xc(p,!0);return!!h&&new Rh(m,n,h)}let v=Ic(p);if(v){let h=xc(d,!0);return!!h&&new Wk(v,n,h)}return!1}let i=[e[r[0]].value];r[0]!==r[1]&&i.push(e[r[1]].value);let o=e.slice(0,t[0]),a=e.slice(t[1]+1,r[0]),s=e.slice(r[1]+1),l=xc(o,!0),u=Ic(a),c=xc(s,!0);if(!l||!u||!c)return!1;{let d=Pi(n);if(d===!1||d===Jr.EQ)return!1;let p=Pi(i);if(p===!1||p===Jr.EQ||!(d!==or.LT&&d!==or.LT_OR_EQ||p!==ar.GT&&p!==ar.GT_OR_EQ)||!(d!==ar.GT&&d!==ar.GT_OR_EQ||p!==or.LT&&p!==or.LT_OR_EQ))return!1}return new _k(u,l,n,c,i)}function gM(e,t=[],r=[]){if(!so(e.startToken))return!1;let n=FV(e.value);if(n!==!1)return new Oc(n,t,r);let i=RV(e.value);if(i!==!1)return new Oc(i,t,r);let o=BV(e.value);return o!==!1&&new Oc(o,t,r)}function AC(e){if(!Ye(e))return!1;switch(e[4].value.toLowerCase()){case Ii.Not:return Ii.Not;case Ii.Only:return Ii.Only;default:return!1}}function qV(e){{let t=Fk(e);if(t!==!1)return new im(t)}{let t=-1,r=-1,n=-1;for(let s=0;s<e.length;s++){let l=e[s];if(!rd(l)&&!Ak(l)){if(ce(l)){let u=l.value;if(t===-1&&Ye(u)&&AC(u)){t=s;continue}if(r===-1&&Ye(u)&&!AC(u)){r=s;continue}if(n===-1&&Ye(u)&&Uk.test(u[4].value)){if(n=s,NC(e.slice(s+1))===!1)return!1;break}return!1}return!1}}let i=[],o=[];t!==-1?(i=e.slice(0,t+1).flatMap(s=>s.tokens()),r!==-1&&(o=e.slice(t+1,r+1).flatMap(s=>s.tokens()))):r!==-1&&(o=e.slice(0,r+1).flatMap(s=>s.tokens()));let a=NC(e.slice(Math.max(t,r,n)+1));return a===!1?new od(i,[...o,...e.slice(r+1).flatMap(s=>s.tokens())]):new od(i,o,e.slice(r+1,n+1).flatMap(s=>s.tokens()),a)}}function WV(e){let t=!1,r=[],n=-1,i=-1;for(let o=0;o<e.length;o++){if(t){let s=_V(e.slice(o));if(s!==!1){o+=s.advance,r.push(s.node),i=o;continue}}let a=e[o];if(a.type!==je.Whitespace&&a.type!==je.Comment){if(t||t!==!1||!Dr(a)||(a.normalize(),t=Od(a),t===!1))return!1;n=o}}return!(!t||!r.length)&&new AM(t,r,e.slice(0,n).flatMap(o=>o.tokens()),e.slice(i+1).flatMap(o=>o.tokens()))}function bM(e){let t=!1,r=[],n=-1,i=-1;for(let o=0;o<e.length;o++){if(t){let s=UV(e.slice(o));if(s!==!1){o+=s.advance,r.push(s.node),i=o;continue}}let a=e[o];if(a.type!==je.Whitespace&&a.type!==je.Comment){if(t||t!==!1||!Dr(a)||(a.normalize(),t=Od(a),t===!1))return!1;n=o}}return!(!t||!r.length)&&new zM(t,r,e.slice(0,n).flatMap(o=>o.tokens()),e.slice(i+1).flatMap(o=>o.tokens()))}function Fk(e){let t=yM(e);if(t!==!1)return new xr(t);let r=bM(e);if(r!==!1)return new xr(r);let n=WV(e);if(n!==!1)return new xr(n);let i=vM(e);return i!==!1&&new xr(i)}function NC(e){let t=yM(e);if(t!==!1)return new xr(t);let r=bM(e);if(r!==!1)return new xr(r);let n=vM(e);return n!==!1&&new xr(n)}function vM(e){let t=-1;for(let s=0;s<e.length;s++){let l=e[s];if(l.type!==je.Whitespace&&l.type!==je.Comment){if(!Dr(l)||t!==-1)return!1;t=s}}if(t===-1)return!1;let r=e[t];if(!so(r.startToken))return!1;r.normalize();let n=[...e.slice(0,t).flatMap(s=>s.tokens()),r.startToken],i=[r.endToken,...e.slice(t+1).flatMap(s=>s.tokens())],o=gM(r,n,i);if(o!==!1)return new Hr(o);let a=Fk(r.value);return a!==!1?new Hr(a,n,i):new Hr(new Mh(r),e.slice(0,t).flatMap(s=>s.tokens()),e.slice(t+1).flatMap(s=>s.tokens()))}function Od(e){if(!so(e.startToken))return!1;let t=gM(e,[e.startToken],[e.endToken]);if(t!==!1)return new Hr(t);let r=Fk(e.value);return r!==!1?new Hr(r,[e.startToken],[e.endToken]):new Hr(new Mh(e))}function yM(e){let t=!1,r=null;for(let n=0;n<e.length;n++){let i=e[n];if(i.type!==je.Whitespace&&i.type!==je.Comment){if(Id(i)){let o=i.value;if(jM.test(o[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&Dr(i)){i.normalize();let o=Od(i);if(o===!1)return!1;r=new EM(e.slice(0,n).flatMap(a=>a.tokens()),o);continue}return!1}}return r||!1}function _V(e){let t=!1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type!==je.Whitespace&&n.type!==je.Comment){if(Id(n)){let i=n.value;if(IM.test(i[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&Dr(n)){n.normalize();let i=Od(n);return i!==!1&&{advance:r,node:new PM(e.slice(0,r).flatMap(o=>o.tokens()),i)}}return!1}}return!1}function UV(e){let t=!1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type!==je.Whitespace&&n.type!==je.Comment){if(Id(n)){let i=n.value;if(Uk.test(i[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&Dr(n)){n.normalize();let i=Od(n);return i!==!1&&{advance:r,node:new CM(e.slice(0,r).flatMap(o=>o.tokens()),i)}}return!1}}return!1}function Td(e,t){let r=b3(e,{onParseError:t==null?void 0:t.onParseError});return r.map((n,i)=>{let o=qV(n);return o===!1&&(t==null?void 0:t.preserveInvalidMediaQueries)===!0?new Mk(r[i]):o}).filter(n=>!!n)}function VV(e,t){return Td(St({css:e},{onParseError:t==null?void 0:t.onParseError}),t)}function QV(e,t){let r=[],n=e;for(let o=0;o<e.length;o++)if(!Et(e[o])){if(Ye(e[o])&&e[o][4].value.startsWith("--")){r=e.slice(0,o+1),n=e.slice(o+1);break}return!1}let i=!0;for(let o=0;o<n.length;o++)if(!Et(n[o])){if(Ye(n[o])){let a=n[o][4].value.toLowerCase();if(a==="false"||a==="true")continue}if(Kt(n[o]))break;i=!1}return i?new Wy(r,null,n):new Wy(r,Td(R8(n),t))}function YV(e,t){return QV(St({css:e},{onParseError:t==null?void 0:t.onParseError}),t)}function wM(e){return Mh.isGeneralEnclosed(e)}function GV(e){return $k.isMediaFeatureBoolean(e)}function kM(e){return Bk.isMediaFeatureValue(e)}function ji(e){return qk.isMediaFeaturePlain(e)}function Ym(e){return xM(e)||SM(e)||KV(e)}function xM(e){return Rh.isMediaFeatureRangeNameValue(e)}function SM(e){return Wk.isMediaFeatureRangeValueName(e)}function KV(e){return _k.isMediaFeatureRangeValueNameValue(e)}function Ln(e){return Oc.isMediaFeature(e)}function HV(e){return od.isMediaQueryWithType(e)}function Fn(e){return Mk.isMediaQueryInvalid(e)}var ue,xr,Hr,od,im,Mk,Mh,CM,zM,AM,NM,Rk,$k,Bk,qk,or,ar,Jr,Ii,Rh,Wk,_k,Oc,EM,PM,jM,IM,Uk,Wy,EC,Jt=y(()=>{Ct(),rt(),(function(e){e.CustomMedia="custom-media",e.GeneralEnclosed="general-enclosed",e.MediaAnd="media-and",e.MediaCondition="media-condition",e.MediaConditionListWithAnd="media-condition-list-and",e.MediaConditionListWithOr="media-condition-list-or",e.MediaFeature="media-feature",e.MediaFeatureBoolean="mf-boolean",e.MediaFeatureName="mf-name",e.MediaFeaturePlain="mf-plain",e.MediaFeatureRangeNameValue="mf-range-name-value",e.MediaFeatureRangeValueName="mf-range-value-name",e.MediaFeatureRangeValueNameValue="mf-range-value-name-value",e.MediaFeatureValue="mf-value",e.MediaInParens="media-in-parens",e.MediaNot="media-not",e.MediaOr="media-or",e.MediaQueryWithType="media-query-with-type",e.MediaQueryWithoutType="media-query-without-type",e.MediaQueryInvalid="media-query-invalid"})(ue||(ue={})),xr=class _y{constructor(t){U(this,"type",ue.MediaCondition);U(this,"media");this.media=t}tokens(){return this.media.tokens()}toString(){return this.media.toString()}hasLeadingSpace(){return this.media.hasLeadingSpace()}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,media:this.media.toJSON()}}isMediaCondition(){return _y.isMediaCondition(this)}static isMediaCondition(t){return!!t&&t instanceof _y&&t.type===ue.MediaCondition}},Hr=class Uy{constructor(t,r=[],n=[]){U(this,"type",ue.MediaInParens);U(this,"media");U(this,"before");U(this,"after");this.media=t,this.before=r,this.after=n}tokens(){return[...this.before,...this.media.tokens(),...this.after]}toString(){return ke(...this.before)+this.media.toString()+ke(...this.after)}hasLeadingSpace(){return this.before.length?Et(this.before[0]):this.media.hasLeadingSpace()}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&("walk"in this.media?this.media.walk(t,n):void 0)}toJSON(){return{type:this.type,media:this.media.toJSON(),before:this.before,after:this.after}}isMediaInParens(){return Uy.isMediaInParens(this)}static isMediaInParens(t){return!!t&&t instanceof Uy&&t.type===ue.MediaInParens}},od=class gn{constructor(t,r,n,i){U(this,"type",ue.MediaQueryWithType);U(this,"modifier");U(this,"mediaType");U(this,"and");U(this,"media");this.modifier=t,this.mediaType=r,n&&i&&(this.and=n,this.media=i)}getModifier(){if(!this.modifier.length)return"";for(let t=0;t<this.modifier.length;t++){let r=this.modifier[t];if(Ye(r))return r[4].value}return""}negateQuery(){let t=this.getModifier().toLowerCase()==="not",r=this.getMediaType();return this.and&&this.media?t?[new gn([],[[z.Ident,r,-1,-1,{value:r}]]),new im(this.media)]:[new gn([[z.Ident,"not",-1,-1,{value:"not"}],[z.Whitespace," ",-1,-1,void 0]],[[z.Ident,r,-1,-1,{value:r}]]),...new im(this.media).negateQuery()]:t?[new gn([],[[z.Ident,r,-1,-1,{value:r}]])]:[new gn([[z.Ident,"not",-1,-1,{value:"not"}],[z.Whitespace," ",-1,-1,void 0]],[[z.Ident,r,-1,-1,{value:r}]])]}getMediaType(){if(!this.mediaType.length)return"";for(let t=0;t<this.mediaType.length;t++){let r=this.mediaType[t];if(Ye(r))return r[4].value}return""}tokens(){return this.and&&this.media?[...this.modifier,...this.mediaType,...this.and,...this.media.tokens()]:[...this.modifier,...this.mediaType]}toString(){return this.and&&this.media?ke(...this.modifier)+ke(...this.mediaType)+ke(...this.and)+this.media.toString():ke(...this.modifier)+ke(...this.mediaType)}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;if(r&&(n={...r}),this.media)return t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,string:this.toString(),modifier:this.modifier,mediaType:this.mediaType,and:this.and,media:this.media}}isMediaQueryWithType(){return gn.isMediaQueryWithType(this)}static isMediaQueryWithType(t){return!!t&&t instanceof gn&&t.type===ue.MediaQueryWithType}},im=class om{constructor(t){U(this,"type",ue.MediaQueryWithoutType);U(this,"media");this.media=t}negateQuery(){let t=this.media;return t.media.type===ue.MediaNot?[new om(new xr(t.media.media))]:(t.media.type!==ue.MediaConditionListWithOr&&t.media.type!==ue.MediaConditionListWithAnd||(t=new xr(new Hr(t,[[z.Whitespace," ",-1,-1,void 0],[z.OpenParen,"(",-1,-1,void 0]],[[z.CloseParen,")",-1,-1,void 0]]))),"before"in t.media&&(t.media.hasLeadingSpace()||t.media.before.splice(0,0,[z.Whitespace," ",-1,-1,void 0])),[new od([[z.Ident,"not",-1,-1,{value:"not"}],[z.Whitespace," ",-1,-1,void 0]],[[z.Ident,"all",-1,-1,{value:"all"}],[z.Whitespace," ",-1,-1,void 0]],[[z.Ident,"and",-1,-1,{value:"and"}]],t)])}tokens(){return this.media.tokens()}toString(){return this.media.toString()}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,string:this.toString(),media:this.media}}isMediaQueryWithoutType(){return om.isMediaQueryWithoutType(this)}static isMediaQueryWithoutType(t){return!!t&&t instanceof om&&t.type===ue.MediaQueryWithoutType}},Mk=class am{constructor(t){U(this,"type",ue.MediaQueryInvalid);U(this,"media");this.media=t}negateQuery(){return[new am(this.media)]}tokens(){return this.media.flatMap(t=>t.tokens())}toString(){return this.media.map(t=>t.toString()).join("")}walk(t,r){if(this.media.length===0)return;let n=Ei(this.media),i=0;for(;i<this.media.length;){let o=this.media[i],a;if(r&&(a={...r}),t({node:o,parent:this,state:a},i)===!1||"walk"in o&&this.media.includes(o)&&o.walk(t,a)===!1)return!1;if(i=n(this.media,o,i),i===-1)break}}toJSON(){return{type:this.type,string:this.toString(),media:this.media}}isMediaQueryInvalid(){return am.isMediaQueryInvalid(this)}static isMediaQueryInvalid(t){return!!t&&t instanceof am&&t.type===ue.MediaQueryInvalid}},Mh=class Vy{constructor(t){U(this,"type",ue.GeneralEnclosed);U(this,"value");this.value=t}tokens(){return this.value.tokens()}toString(){return this.value.toString()}hasLeadingSpace(){return Et(this.value.tokens()[0])}indexOf(t){return t===this.value?"value":-1}at(t){if(t==="value")return this.value}walk(t,r){let n;return r&&(n={...r}),t({node:this.value,parent:this,state:n},"value")!==!1&&("walk"in this.value?this.value.walk(t,n):void 0)}toJSON(){return{type:this.type,tokens:this.tokens()}}isGeneralEnclosed(){return Vy.isGeneralEnclosed(this)}static isGeneralEnclosed(t){return!!t&&t instanceof Vy&&t.type===ue.GeneralEnclosed}},CM=class Qy{constructor(t,r){U(this,"type",ue.MediaAnd);U(this,"modifier");U(this,"media");this.modifier=t,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return ke(...this.modifier)+this.media.toString()}hasLeadingSpace(){return Et(this.modifier[0])}indexOf(t){return t===this.media?"media":-1}at(t){return t==="media"?this.media:null}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaAnd(){return Qy.isMediaAnd(this)}static isMediaAnd(t){return!!t&&t instanceof Qy&&t.type===ue.MediaAnd}},zM=class Yy{constructor(t,r,n=[],i=[]){U(this,"type",ue.MediaConditionListWithAnd);U(this,"leading");U(this,"list");U(this,"before");U(this,"after");this.leading=t,this.list=r,this.before=n,this.after=i}tokens(){return[...this.before,...this.leading.tokens(),...this.list.flatMap(t=>t.tokens()),...this.after]}toString(){return ke(...this.before)+this.leading.toString()+this.list.map(t=>t.toString()).join("")+ke(...this.after)}hasLeadingSpace(){return this.before.length?Et(this.before[0]):this.leading.hasLeadingSpace()}indexOf(t){return t===this.leading?"leading":t.type===ue.MediaAnd?this.list.indexOf(t):-1}at(t){return t==="leading"?this.leading:typeof t=="number"?(t<0&&(t=this.list.length+t),this.list[t]):void 0}walk(t,r){let n;if(r&&(n={...r}),t({node:this.leading,parent:this,state:n},"leading")===!1||"walk"in this.leading&&this.leading.walk(t,n)===!1)return!1;if(this.list.length===0)return;let i=Ei(this.list),o=0;for(;o<this.list.length;){let a=this.list[o];if(r&&(n={...r}),t({node:a,parent:this,state:n},o)===!1||"walk"in a&&this.list.includes(a)&&a.walk(t,n)===!1)return!1;if(o=i(this.list,a,o),o===-1)break}}toJSON(){return{type:this.type,leading:this.leading.toJSON(),list:this.list.map(t=>t.toJSON()),before:this.before,after:this.after}}isMediaConditionListWithAnd(){return Yy.isMediaConditionListWithAnd(this)}static isMediaConditionListWithAnd(t){return!!t&&t instanceof Yy&&t.type===ue.MediaConditionListWithAnd}},AM=class Gy{constructor(t,r,n=[],i=[]){U(this,"type",ue.MediaConditionListWithOr);U(this,"leading");U(this,"list");U(this,"before");U(this,"after");this.leading=t,this.list=r,this.before=n,this.after=i}tokens(){return[...this.before,...this.leading.tokens(),...this.list.flatMap(t=>t.tokens()),...this.after]}toString(){return ke(...this.before)+this.leading.toString()+this.list.map(t=>t.toString()).join("")+ke(...this.after)}hasLeadingSpace(){return this.before.length?Et(this.before[0]):this.leading.hasLeadingSpace()}indexOf(t){return t===this.leading?"leading":t.type===ue.MediaOr?this.list.indexOf(t):-1}at(t){return t==="leading"?this.leading:typeof t=="number"?(t<0&&(t=this.list.length+t),this.list[t]):void 0}walk(t,r){let n;if(r&&(n={...r}),t({node:this.leading,parent:this,state:n},"leading")===!1||"walk"in this.leading&&this.leading.walk(t,n)===!1)return!1;if(this.list.length===0)return;let i=Ei(this.list),o=0;for(;o<this.list.length;){let a=this.list[o];if(r&&(n={...r}),t({node:a,parent:this,state:n},o)===!1||"walk"in a&&this.list.includes(a)&&a.walk(t,n)===!1)return!1;if(o=i(this.list,a,o),o===-1)break}}toJSON(){return{type:this.type,leading:this.leading.toJSON(),list:this.list.map(t=>t.toJSON()),before:this.before,after:this.after}}isMediaConditionListWithOr(){return Gy.isMediaConditionListWithOr(this)}static isMediaConditionListWithOr(t){return!!t&&t instanceof Gy&&t.type===ue.MediaConditionListWithOr}},NM=new Set(["abs","acos","asin","atan","atan2","calc","clamp","cos","exp","hypot","log","max","min","mod","pow","rem","round","sign","sin","sqrt","tan"]),Rk=class Ky{constructor(t,r=[],n=[]){U(this,"type",ue.MediaFeatureName);U(this,"name");U(this,"before");U(this,"after");this.name=t,this.before=r,this.after=n}getName(){return this.name.value[4].value}getNameToken(){return this.name.value}tokens(){return[...this.before,...this.name.tokens(),...this.after]}toString(){return ke(...this.before)+this.name.toString()+ke(...this.after)}indexOf(t){return t===this.name?"name":-1}at(t){if(t==="name")return this.name}toJSON(){return{type:this.type,name:this.getName(),tokens:this.tokens()}}isMediaFeatureName(){return Ky.isMediaFeatureName(this)}static isMediaFeatureName(t){return!!t&&t instanceof Ky&&t.type===ue.MediaFeatureName}},$k=class Hy{constructor(t){U(this,"type",ue.MediaFeatureBoolean);U(this,"name");this.name=t}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return this.name.tokens()}toString(){return this.name.toString()}indexOf(t){return t===this.name?"name":-1}at(t){if(t==="name")return this.name}toJSON(){return{type:this.type,name:this.name.toJSON(),tokens:this.tokens()}}isMediaFeatureBoolean(){return Hy.isMediaFeatureBoolean(this)}static isMediaFeatureBoolean(t){return!!t&&t instanceof Hy&&t.type===ue.MediaFeatureBoolean}},Bk=class Jy{constructor(t,r=[],n=[]){U(this,"type",ue.MediaFeatureValue);U(this,"value");U(this,"before");U(this,"after");Array.isArray(t)&&t.length===1?this.value=t[0]:this.value=t,this.before=r,this.after=n}tokens(){return Array.isArray(this.value)?[...this.before,...this.value.flatMap(t=>t.tokens()),...this.after]:[...this.before,...this.value.tokens(),...this.after]}toString(){return Array.isArray(this.value)?ke(...this.before)+this.value.map(t=>t.toString()).join("")+ke(...this.after):ke(...this.before)+this.value.toString()+ke(...this.after)}indexOf(t){return t===this.value?"value":-1}at(t){return t==="value"?this.value:Array.isArray(this.value)&&typeof t=="number"?(t<0&&(t=this.value.length+t),this.value[t]):void 0}walk(t,r){if(Array.isArray(this.value)){if(this.value.length===0)return;let n=Ei(this.value),i=0;for(;i<this.value.length;){let o=this.value[i],a;if(r&&(a={...r}),t({node:o,parent:this,state:a},i)===!1||"walk"in o&&this.value.includes(o)&&o.walk(t,a)===!1)return!1;if(i=n(this.value,o,i),i===-1)break}}else{let n;if(r&&(n={...r}),t({node:this.value,parent:this,state:n},"value")===!1)return!1;if("walk"in this.value)return this.value.walk(t,n)}}toJSON(){return Array.isArray(this.value)?{type:this.type,value:this.value.map(t=>t.toJSON()),tokens:this.tokens()}:{type:this.type,value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureValue(){return Jy.isMediaFeatureValue(this)}static isMediaFeatureValue(t){return!!t&&t instanceof Jy&&t.type===ue.MediaFeatureValue}},qk=class Zy{constructor(t,r,n){U(this,"type",ue.MediaFeaturePlain);U(this,"name");U(this,"colon");U(this,"value");this.name=t,this.colon=r,this.value=n}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.name.tokens(),this.colon,...this.value.tokens()]}toString(){return this.name.toString()+ke(this.colon)+this.value.toString()}indexOf(t){return t===this.name?"name":t===this.value?"value":-1}at(t){return t==="name"?this.name:t==="value"?this.value:void 0}walk(t,r){let n;return r&&(n={...r}),t({node:this.value,parent:this,state:n},"value")!==!1&&this.value.walk(t,n)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeaturePlain(){return Zy.isMediaFeaturePlain(this)}static isMediaFeaturePlain(t){return!!t&&t instanceof Zy&&t.type===ue.MediaFeaturePlain}},(function(e){e.LT="<",e.LT_OR_EQ="<="})(or||(or={})),(function(e){e.GT=">",e.GT_OR_EQ=">="})(ar||(ar={})),(function(e){e.EQ="="})(Jr||(Jr={})),Rh=class Xy{constructor(t,r,n){U(this,"type",ue.MediaFeatureRangeNameValue);U(this,"name");U(this,"operator");U(this,"value");this.name=t,this.operator=r,this.value=n}operatorKind(){return Pi(this.operator)}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.name.tokens(),...this.operator,...this.value.tokens()]}toString(){return this.name.toString()+ke(...this.operator)+this.value.toString()}indexOf(t){return t===this.name?"name":t===this.value?"value":-1}at(t){return t==="name"?this.name:t==="value"?this.value:void 0}walk(t,r){let n;return r&&(n={...r}),t({node:this.value,parent:this,state:n},"value")!==!1&&("walk"in this.value?this.value.walk(t,n):void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeNameValue(){return Xy.isMediaFeatureRangeNameValue(this)}static isMediaFeatureRangeNameValue(t){return!!t&&t instanceof Xy&&t.type===ue.MediaFeatureRangeNameValue}},Wk=class ew{constructor(t,r,n){U(this,"type",ue.MediaFeatureRangeValueName);U(this,"name");U(this,"operator");U(this,"value");this.name=t,this.operator=r,this.value=n}operatorKind(){return Pi(this.operator)}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.value.tokens(),...this.operator,...this.name.tokens()]}toString(){return this.value.toString()+ke(...this.operator)+this.name.toString()}indexOf(t){return t===this.name?"name":t===this.value?"value":-1}at(t){return t==="name"?this.name:t==="value"?this.value:void 0}walk(t,r){let n;return r&&(n={...r}),t({node:this.value,parent:this,state:n},"value")!==!1&&("walk"in this.value?this.value.walk(t,n):void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeValueName(){return ew.isMediaFeatureRangeValueName(this)}static isMediaFeatureRangeValueName(t){return!!t&&t instanceof ew&&t.type===ue.MediaFeatureRangeValueName}},_k=class tw{constructor(t,r,n,i,o){U(this,"type",ue.MediaFeatureRangeValueNameValue);U(this,"name");U(this,"valueOne");U(this,"valueOneOperator");U(this,"valueTwo");U(this,"valueTwoOperator");this.name=t,this.valueOne=r,this.valueOneOperator=n,this.valueTwo=i,this.valueTwoOperator=o}valueOneOperatorKind(){return Pi(this.valueOneOperator)}valueTwoOperatorKind(){return Pi(this.valueTwoOperator)}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.valueOne.tokens(),...this.valueOneOperator,...this.name.tokens(),...this.valueTwoOperator,...this.valueTwo.tokens()]}toString(){return this.valueOne.toString()+ke(...this.valueOneOperator)+this.name.toString()+ke(...this.valueTwoOperator)+this.valueTwo.toString()}indexOf(t){return t===this.name?"name":t===this.valueOne?"valueOne":t===this.valueTwo?"valueTwo":-1}at(t){return t==="name"?this.name:t==="valueOne"?this.valueOne:t==="valueTwo"?this.valueTwo:void 0}walk(t,r){let n;return r&&(n={...r}),t({node:this.valueOne,parent:this,state:n},"valueOne")!==!1&&(!("walk"in this.valueOne)||this.valueOne.walk(t,n)!==!1)&&(r&&(n={...r}),t({node:this.valueTwo,parent:this,state:n},"valueTwo")!==!1&&(!("walk"in this.valueTwo)||this.valueTwo.walk(t,n)!==!1)&&void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),valueOne:this.valueOne.toJSON(),valueTwo:this.valueTwo.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeValueNameValue(){return tw.isMediaFeatureRangeValueNameValue(this)}static isMediaFeatureRangeValueNameValue(t){return!!t&&t instanceof tw&&t.type===ue.MediaFeatureRangeValueNameValue}},Oc=class rw{constructor(t,r=[],n=[]){U(this,"type",ue.MediaFeature);U(this,"feature");U(this,"before");U(this,"after");this.feature=t,this.before=r,this.after=n}getName(){return this.feature.getName()}getNameToken(){return this.feature.getNameToken()}tokens(){return[...this.before,...this.feature.tokens(),...this.after]}toString(){return ke(...this.before)+this.feature.toString()+ke(...this.after)}hasLeadingSpace(){return Et(this.before[0])}indexOf(t){return t===this.feature?"feature":-1}at(t){if(t==="feature")return this.feature}walk(t,r){let n;return r&&(n={...r}),t({node:this.feature,parent:this,state:n},"feature")!==!1&&("walk"in this.feature?this.feature.walk(t,n):void 0)}toJSON(){return{type:this.type,feature:this.feature.toJSON(),before:this.before,after:this.after}}isMediaFeature(){return rw.isMediaFeature(this)}static isMediaFeature(t){return!!t&&t instanceof rw&&t.type===ue.MediaFeature}},EM=class nw{constructor(t,r){U(this,"type",ue.MediaNot);U(this,"modifier");U(this,"media");this.modifier=t,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return ke(...this.modifier)+this.media.toString()}hasLeadingSpace(){return this.modifier.length?Et(this.modifier[0]):this.media.hasLeadingSpace()}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaNot(){return nw.isMediaNot(this)}static isMediaNot(t){return!!t&&t instanceof nw&&t.type===ue.MediaNot}},PM=class iw{constructor(t,r){U(this,"type",ue.MediaOr);U(this,"modifier");U(this,"media");this.modifier=t,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return ke(...this.modifier)+this.media.toString()}indexOf(t){return t===this.media?"media":-1}at(t){if(t==="media")return this.media}walk(t,r){let n;return r&&(n={...r}),t({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(t,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaOr(){return iw.isMediaOr(this)}static isMediaOr(t){return!!t&&t instanceof iw&&t.type===ue.MediaOr}},(function(e){e.Not="not",e.Only="only"})(Ii||(Ii={})),jM=/^not$/i,IM=/^or$/i,Uk=/^and$/i,Wy=class ow{constructor(t,r,n){U(this,"type",ue.CustomMedia);U(this,"name");U(this,"mediaQueryList",null);U(this,"trueOrFalseKeyword",null);this.name=t,this.mediaQueryList=r,this.trueOrFalseKeyword=n!=null?n:null}getName(){for(let t=0;t<this.name.length;t++){let r=this.name[t];if(Ye(r))return r[4].value}return""}getNameToken(){for(let t=0;t<this.name.length;t++){let r=this.name[t];if(Ye(r))return r}return null}hasMediaQueryList(){return!!this.mediaQueryList}hasTrueKeyword(){if(!this.trueOrFalseKeyword)return!1;for(let t=0;t<this.trueOrFalseKeyword.length;t++){let r=this.trueOrFalseKeyword[t];if(!Et(r))return!!Ye(r)&&r[4].value.toLowerCase()==="true"}return!1}hasFalseKeyword(){if(!this.trueOrFalseKeyword)return!1;for(let t=0;t<this.trueOrFalseKeyword.length;t++){let r=this.trueOrFalseKeyword[t];if(!Et(r))return!!Ye(r)&&r[4].value.toLowerCase()==="false"}return!1}tokens(){if(this.trueOrFalseKeyword)return[...this.name,...this.trueOrFalseKeyword];if(!this.mediaQueryList)return[...this.name];let t=[];for(let r=0;r<this.mediaQueryList.length;r++){let n=this.mediaQueryList[r];r!==0&&t.push([z.Comma,",",-1,-1,void 0]),t.push(...n.tokens())}return[...this.name,...t]}toString(){return ke(...this.tokens())}toJSON(){var t;return{type:this.type,string:this.toString(),nameValue:this.getName(),name:this.name,hasFalseKeyword:this.hasFalseKeyword(),hasTrueKeyword:this.hasTrueKeyword(),trueOrFalseKeyword:this.trueOrFalseKeyword,mediaQueryList:(t=this.mediaQueryList)==null?void 0:t.map(r=>r.toJSON())}}isCustomMedia(){return ow.isCustomMedia(this)}static isCustomMedia(t){return!!t&&t instanceof ow&&t.type===ue.CustomMedia}},(function(e){e.All="all",e.Print="print",e.Screen="screen",e.Tty="tty",e.Tv="tv",e.Projection="projection",e.Handheld="handheld",e.Braille="braille",e.Embossed="embossed",e.Aural="aural",e.Speech="speech"})(EC||(EC={}))});function Vk(e,t){let r=St({css:e});return b3(r).flatMap(n=>n.flatMap(i=>{if(!Dr(i)||i.startToken[0]!==z.OpenParen)return[];let o=i.tokens();return Td(o,{preserveInvalidMediaQueries:!0}).filter(a=>!Fn(a))})).forEach(n=>{n.walk(({node:i})=>{if(Ln(i)){let o=i.getNameToken();if(o[0]!==z.Ident)return;t(o)}wM(i)&&JV(i).forEach((o,a,s)=>{if(o[0]!==z.Ident)return;let l=s[a+1],u=s[a-1];(!u&&l&&l[0]===z.Colon||l&&l[0]===z.Delim&&aw.test(l[4].value)||u&&u[0]===z.Delim&&aw.test(u[4].value))&&t(o)})})}),{stringify(){return ke(...r)}}}function JV(e){let t=e.value.value;if(ed(t)||t.length===0||ed(t[0]))return[];let r=[];return t.filter(ce).forEach((n,i,o)=>{let[a,,,,]=n.value;PC(n)||a===z.Ident&&PC(o[i-1])||jC(n)||a===z.Ident&&jC(o[i+1])||r.push(n.value)}),r}function PC(e){return e&&e.value[0]===z.Delim&&e.value[4].value==="$"}function jC(e){return e&&e.value[0]===z.Delim&&e.value[4].value==="."}var aw,Qk=y(()=>{rt(),Jt(),Ct(),aw=/[<>=]/});function Zi(e){return e.startsWith("--")}var Dd=y(()=>{}),OM={};A(OM,{default:()=>TM});var qs,Kg,IC,Xn,TM,ZV=y(()=>{q(),Z(),V(),Qk(),lt(),Dd(),Le(),j(),O(),D(),qs="media-feature-name-allowed-list",Kg=I(qs,{rejected:e=>`Disallowed media feature name "${e}"`}),IC={url:"https://stylelint.io/user-guide/rules/media-feature-name-allowed-list"},Xn=e=>(t,r)=>{T(r,qs,{actual:e,possible:[$,_]})&&t.walkAtRules(Se.mediaName,n=>{Vk(st(n),i=>{let[,,o,a,{value:s}]=i;if(Zi(s)||Pe(s,e))return;let l=Oe(n);P({message:Kg.rejected,messageArgs:[s],node:n,index:l+o,endIndex:l+a+1,ruleName:qs,result:r})})})},Xn.primaryOptionArray=!0,Xn.ruleName=qs,Xn.messages=Kg,Xn.meta=IC,TM=Xn}),DM={};A(DM,{default:()=>LM});var Ws,Hg,OC,ei,LM,XV=y(()=>{q(),Z(),V(),Qk(),lt(),Dd(),Le(),j(),O(),D(),Ws="media-feature-name-disallowed-list",Hg=I(Ws,{rejected:e=>`Disallowed media feature name "${e}"`}),OC={url:"https://stylelint.io/user-guide/rules/media-feature-name-disallowed-list"},ei=e=>(t,r)=>{T(r,Ws,{actual:e,possible:[$,_]})&&t.walkAtRules(Se.mediaName,n=>{Vk(st(n),i=>{let[,,o,a,{value:s}]=i;if(Zi(s)||!Pe(s,e))return;let l=Oe(n);P({message:Hg.rejected,messageArgs:[s],node:n,index:l+o,endIndex:l+a+1,ruleName:Ws,result:r})})})},ei.primaryOptionArray=!0,ei.ruleName=Ws,ei.messages=Hg,ei.meta=OC,LM=ei}),Jg,Tc,TC,DC,Yk,FM,sm,$h=y(()=>{to(),Jg=new Set(["device-aspect-ratio","device-height","device-width"]),Tc=Ce(Jg,["aspect-ratio","color","color-index","height","horizontal-viewport-segments","monochrome","resolution","vertical-viewport-segments","width"]),TC=new Set([...Tc].flatMap(e=>[`min-${e}`,`max-${e}`])),DC=new Set(["any-hover","any-pointer","color-gamut","display-mode","dynamic-range","environment-blending","forced-colors","grid","hover","inverted-colors","light-level","nav-controls","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-data","prefers-reduced-motion","prefers-reduced-transparency","scan","scripting","update","video-color-gamut","video-dynamic-range"]),Yk=Ce(Jg,Tc,TC,DC),FM=new Map([["any-hover",new Set(["none","hover"])],["any-pointer",new Set(["none","coarse","fine"])],["color-gamut",new Set(["srgb","p3","rec2020"])],["display-mode",new Set(["fullscreen","standalone","minimal-ui","browser","picture-in-picture"])],["dynamic-range",new Set(["standard","high"])],["environment-blending",new Set(["opaque","additive","subtractive"])],["forced-colors",new Set(["none","active"])],["hover",new Set(["none","hover"])],["inverted-colors",new Set(["none","inverted"])],["nav-controls",new Set(["none","back"])],["orientation",new Set(["portrait","landscape"])],["overflow-block",new Set(["none","scroll","paged"])],["overflow-inline",new Set(["none","scroll"])],["pointer",new Set(["none","coarse","fine"])],["prefers-color-scheme",new Set(["light","dark"])],["prefers-contrast",new Set(["no-preference","less","more","custom"])],["prefers-reduced-data",new Set(["no-preference","reduce"])],["prefers-reduced-motion",new Set(["no-preference","reduce"])],["prefers-reduced-transparency",new Set(["no-preference","reduce"])],["resolution",new Set(["infinite"])],["scan",new Set(["interlace","progressive"])],["scripting",new Set(["none","initial-only","enabled"])],["update",new Set(["none","slow","fast"])],["video-color-gamut",new Set(["srgb","p3","rec2020"])],["video-dynamic-range",new Set(["standard","high"])]]),sm=new Map([["aspect-ratio",new Set(["ratio"])],["color",new Set(["integer"])],["color-index",new Set(["integer"])],["device-aspect-ratio",new Set(["ratio"])],["device-height",new Set(["length"])],["device-width",new Set(["length"])],["grid",new Set(["mq-boolean"])],["height",new Set(["length"])],["horizontal-viewport-segments",new Set(["integer"])],["monochrome",new Set(["integer"])],["resolution",new Set(["resolution"])],["vertical-viewport-segments",new Set(["integer"])],["width",new Set(["length"])]])}),MM={};A(MM,{default:()=>RM});var _s,Zg,LC,Us,RM,eQ=y(()=>{q(),Z(),V(),Qk(),lt(),Dd(),$h(),H(),j(),O(),D(),Dt(),_s="media-feature-name-no-unknown",Zg=I(_s,{rejected:e=>`Unknown media feature name "${e}"`}),LC={url:"https://stylelint.io/user-guide/rules/media-feature-name-no-unknown"},Us=(e,t)=>(r,n)=>{T(n,_s,{actual:e},{actual:t,possible:{ignoreMediaFeatureNames:[$,_]},optional:!0})&&r.walkAtRules(Se.mediaName,i=>{Vk(st(i),o=>{let[,,a,s,{value:l}]=o;if(Zi(l)||L(t,"ignoreMediaFeatureNames",l)||Je.prefix(l)||Yk.has(l.toLowerCase()))return;let u=Oe(i);P({message:Zg.rejected,messageArgs:[l],node:i,index:u+a,endIndex:u+s+1,ruleName:_s,result:n})})})},Us.ruleName=_s,Us.messages=Zg,Us.meta=LC,RM=Us}),$M={};A($M,{default:()=>BM});var Vs,Xg,FC,MC,Qs,BM,tQ=y(()=>{q(),V(),fd(),H(),j(),O(),D(),Vs="media-feature-name-no-vendor-prefix",Xg=I(Vs,{rejected:"Vendor-prefixed media feature name"}),FC={url:"https://stylelint.io/user-guide/rules/media-feature-name-no-vendor-prefix",fixable:!0},MC=["-webkit-device-pixel-ratio","-webkit-min-device-pixel-ratio","-webkit-max-device-pixel-ratio","-o-device-pixel-ratio","-o-min-device-pixel-ratio","-o-max-device-pixel-ratio","-moz-device-pixel-ratio","min--moz-device-pixel-ratio","max--moz-device-pixel-ratio"],Qs=(e,t)=>(r,n)=>{T(n,Vs,{actual:e},{optional:!0,actual:t,possible:{ignoreMediaFeatureNames:[$,_]}})&&r.walkAtRules(Se.mediaName,i=>{let o=i.params;if(!zr.mediaFeatureName(o))return;let a=i.toString().match(new RegExp(`${MC.join("|")}`,"gi"));if(a)for(let s of a){if(L(t,"ignoreMediaFeatureNames",s))continue;let l=()=>{let u=s.replace(/-moz-|-o-|-webkit-/i,"");i.params=i.params.replace(s,u)};P({message:Xg.rejected,messageArgs:[],node:i,word:s,result:n,ruleName:Vs,fix:{apply:l,node:i}})}})},Qs.ruleName=Vs,Qs.messages=Xg,Qs.meta=FC,BM=Qs});function Mn(e){return VV(st(e),{preserveInvalidMediaQueries:!0})}var Rn=y(()=>{Jt(),lt()}),qM={};A(qM,{default:()=>WM});var Ys,eb,RC,Gs,WM,rQ=y(()=>{Jt(),rt(),Ct(),V(),Z(),q(),Le(),Rn(),j(),O(),Ht(),D(),Ys="media-feature-name-unit-allowed-list",eb=I(Ys,{rejected:(e,t)=>`Disallowed unit "${e}" for name "${t}"`}),RC={url:"https://stylelint.io/user-guide/rules/media-feature-name-unit-allowed-list"},Gs=e=>(t,r)=>{if(!T(r,Ys,{actual:e,possible:[Bt($)]}))return;let n=Object.entries(e),i=o=>{for(let[a,s]of n)if(Pe(o,a))return[s].flat()};t.walkAtRules(Se.mediaName,o=>{Q.dimension.test(o.params)&&Mn(o).forEach(a=>{if(Fn(a))return;let s={mediaFeatureName:"",unitList:void 0};a.walk(({node:l,state:u})=>{if(!u)return;if(ji(l)||Ym(l)){u.mediaFeatureName=l.getName(),u.unitList=i(u.mediaFeatureName);return}if(!ce(l))return;let{mediaFeatureName:c,unitList:d}=u;if(!c||!d)return;let[p,,m,v,h]=l.value;if(p!==z.Dimension||d.includes(h.unit.toLowerCase()))return;let b=Oe(o);P({message:eb.rejected,messageArgs:[h.unit,c],node:o,index:b+m,endIndex:b+v+1,result:r,ruleName:Ys})},s)})})},Gs.ruleName=Ys,Gs.messages=eb,Gs.meta=RC,WM=Gs}),_M={};A(_M,{default:()=>UM});var Ks,tb,$C,Hs,UM,nQ=y(()=>{Jt(),Ct(),q(),Z(),V(),Le(),H(),Rn(),j(),O(),Ht(),D(),Ks="media-feature-name-value-allowed-list",tb=I(Ks,{rejected:(e,t)=>`Disallowed value "${t}" for name "${e}"`}),$C={url:"https://stylelint.io/user-guide/rules/media-feature-name-value-allowed-list"},Hs=e=>(t,r)=>{T(r,Ks,{actual:e,possible:[Bt($,_)]})&&t.walkAtRules(Se.mediaName,n=>{Mn(n).forEach(i=>{if(Fn(i))return;let o={mediaFeatureName:""};i.walk(({node:a,state:s})=>{if(!s)return;if(Ln(a)){s.mediaFeatureName=a.getName();return}if(!kM(a))return;let{mediaFeatureName:l}=s;if(!l)return;let u=[a.value].flat(),c=u.map(h=>h.toString()).join(""),d=Object.keys(e).find(h=>Pe(l,h));if(d==null||L(e,d,c))return;let p=Oe(n),[m,v]=Wt(u);P({index:p+m,endIndex:p+v+1,message:tb.rejected,messageArgs:[l,c],node:n,ruleName:Ks,result:r})},o)})})},Hs.ruleName=Ks,Hs.messages=tb,Hs.meta=$C,UM=Hs}),VM={};A(VM,{default:()=>QM});var Js,rb,BC,qC,Zs,QM,iQ=y(()=>{rt(),Ct(),Jt(),io(),$h(),jr(),q(),Z(),V(),O3(),Rn(),j(),O(),Ht(),D(),Dt(),Js="media-feature-name-value-no-unknown",rb=I(Js,{rejected:(e,t)=>`Unknown media feature value "${t}" for name "${e}"`}),BC=/^(?:min|max)-/i,qC={url:"https://stylelint.io/user-guide/rules/media-feature-name-value-no-unknown"},Zs=(e,t)=>(r,n)=>{if(!T(n,Js,{actual:e},{actual:t,possible:{ignoreMediaFeatureNameValues:[Bt($,_)]},optional:!0}))return;let i=(u,c)=>I3(t,"ignoreMediaFeatureNameValues",u,c);function o(u,c,d){var x;let[p,m,v,h,b]=c,{mediaFeatureName:f}=u;if(p===z.Ident){let w=Je.unprefixed(b.value.toLowerCase());if(i(f,w)||(x=FM.get(f))!=null&&x.has(w))return;d(u,m,v,h);return}let g=sm.get(f);if(!g){d(u,m,v,h);return}if(p===z.Number){if(b.type===ne.Integer){if(g.has("integer")||g.has("ratio")||b.value===0&&(g.has("length")||g.has("resolution")||g.has("mq-boolean"))||b.value===1&&g.has("mq-boolean"))return;d(u,m,v,h);return}if(g.has("ratio")||b.value===0&&(g.has("length")||g.has("resolution")))return;d(u,m,v,h);return}if(p===z.Dimension){let w=b.unit.toLowerCase();if(g.has("resolution")&&Fv.has(w)||g.has("length")&&Bi.has(w))return;d(u,m,v,h)}}function a(u,c,d){let p=c.getName().toLowerCase();if(p==="env")return;let m=sm.get(u.mediaFeatureName);m&&no.has(p)&&(m.has("integer")||m.has("length")||m.has("ratio")||m.has("resolution"))||d(u,c.toString(),...Wt(c))}function s(u,c,d){let p=sm.get(u.mediaFeatureName);p&&p.has("ratio")&&fM(c)!==-1||d(u,c.map(m=>m.toString()).join(""),...Wt(c))}function l(u,c,d){if(ce(c.value)){o(u,c.value.value,d);return}if(He(c.value)){a(u,c.value,d);return}Array.isArray(c.value)&&s(u,c.value,d)}r.walkAtRules(Se.mediaName,u=>{let c=(p,m,v,h)=>{let b=Oe(u);P({message:rb.rejected,messageArgs:[p.mediaFeatureNameRaw,m],index:b+v,endIndex:b+h+1,node:u,ruleName:Js,result:n})},d={mediaFeatureName:"",mediaFeatureNameRaw:""};Mn(u).forEach(p=>{Fn(p)||p.walk(({node:m,state:v})=>{if(v){if(Ln(m)){let h=m.getName(),b=Je.unprefixed(h.toLowerCase());if(!Yk.has(b))return;b=b.replace(BC,""),v.mediaFeatureName=b,v.mediaFeatureNameRaw=h;return}!v.mediaFeatureName||!v.mediaFeatureNameRaw||kM(m)&&l(v,m,c)}},d)})})},Zs.ruleName=Js,Zs.messages=rb,Zs.meta=qC,QM=Zs}),YM={};A(YM,{default:()=>GM});var Xs,nb,WC,el,GM,oQ=y(()=>{Jt(),Ct(),rt(),Z(),V(),H(),Rn(),$h(),j(),O(),D(),Xs="media-feature-range-notation",nb=I(Xs,{expected:e=>`Expected "${e}" media feature range notation`}),WC={url:"https://stylelint.io/user-guide/rules/media-feature-range-notation",fixable:!0},el=(e,t)=>(r,n)=>{if(!T(n,Xs,{actual:e,possible:["prefix","context"]},{actual:t,possible:{except:["exact-value"]},optional:!0}))return;let i=L(t,"except","exact-value"),o;i||(e==="prefix"?o=/[<>]/:e==="context"&&(o=/(?:min|max)-/i)),r.walkAtRules(Se.mediaName,a=>{if(o&&!o.test(a.params))return;let s=Mn(a);s.forEach(l=>{Fn(l)||l.walk(({node:u,parent:c})=>{if(!Ym(u)&&!ji(u))return;let d=u.getName(),p=d.replace(/^(?:min|max)-/i,"");if(!Tc.has(p))return;let m=e;if(i){let x=(xM(u)||SM(u))&&u.operator.length===1&&u.operator[0][1]==="=",w=ji(u)&&d.length===p.length;(x||w)&&(m=e==="prefix"?"context":"prefix")}if(m==="prefix"&&ji(u)||m==="context"&&Ym(u))return;let v=x=>()=>{let w;/^min-/i.test(d)?w=[[z.Delim,">",-1,-1,{value:">"}],[z.Delim,"=",-1,-1,{value:"="}]]:/^max-/i.test(d)?w=[[z.Delim,"<",-1,-1,{value:"<"}],[z.Delim,"=",-1,-1,{value:"="}]]:w=[[z.Delim,"=",-1,-1,{value:"="}]],x.parent.feature=new Rh(new Rk(new he([z.Ident,p,-1,-1,{value:p}]),x.node.name.before,x.node.name.after.length>0?x.node.name.after:[[z.Whitespace," ",-1,-1,void 0]]),w,x.node.value);let k=s.map(S=>S.toString()).join(",");k!==a.params&&(a.params=k)},h=m==="context"&&ji(u)&&Ln(c)?v({node:u,parent:c}):void 0,[b,f]=Wt(u),g=Oe(a);P({message:nb.expected,messageArgs:[m],node:a,index:g+b-1,endIndex:g+f+1+1,result:n,ruleName:Xs,fix:{apply:h,node:a}})})})})},el.ruleName=Xs,el.messages=nb,el.meta=WC,GM=el}),KM={};A(KM,{default:()=>HM});function _C(e,t){if(!(t!=null&&t.ignoreFunctions))return!1;let r=!1;return e.walk(({node:n})=>{if(He(n)&&(r=L(t,"ignoreFunctions",n.getName()),r))return!1}),r}var tl,ib,UC,ob,VC,rl,HM,aQ=y(()=>{Ct(),Jt(),q(),Z(),V(),Dd(),H(),Rn(),$h(),j(),O(),D(),tl="media-query-no-invalid",ib=I(tl,{rejected:(e,t)=>t?`Invalid media query "${e}", ${t}`:`Invalid media query "${e}"`}),UC={custom:"custom media queries can only be used in boolean queries",min_max_in_range:'"min-" and "max-" prefixes are not needed when using range queries',min_max_in_boolean:'"min-" and "max-" prefixes are not needed in boolean queries',discrete:"discrete features can only be used in plain and boolean queries"},ob=/^(?:min|max)-/i,VC={url:"https://stylelint.io/user-guide/rules/media-query-no-invalid"},rl=(e,t)=>(r,n)=>{if(!T(n,tl,{actual:e},{actual:t,possible:{ignoreFunctions:[$,_]},optional:!0}))return;r.walkAtRules(Se.mediaName,o=>{let a=Oe(o);Mn(o).forEach(s=>{if(Fn(s)){if(_C(s,t))return;i(o,a,s);return}s.walk(({node:l,parent:u})=>{if(wM(l)){if(_C(s,t))return;i(o,a,l);return}if(ji(l)){let c=l.getName();if(Zi(c)){i(o,a,u,"custom");return}return}if(Ym(l)){let c=l.getName().toLowerCase();if(Zi(c)){i(o,a,u,"custom");return}if(ob.test(c)){i(o,a,u,"min_max_in_range");return}if(!Tc.has(c)){i(o,a,u,"discrete");return}return}if(GV(l)){let c=l.getName();ob.test(c)&&i(o,a,u,"min_max_in_boolean")}})})});function i(o,a,s,l){let[u,c]=Wt(s);P({message:ib.rejected,messageArgs:[s.toString(),l?UC[l]:""],index:a+u,endIndex:a+c+1,node:o,ruleName:tl,result:n})}},rl.ruleName=tl,rl.messages=ib,rl.meta=VC,HM=rl}),JM={};A(JM,{default:()=>ZM});var nl,ab,QC,il,ZM,sQ=y(()=>{V(),q(),Z(),xN(),Jt(),et(),rt(),H(),Rn(),j(),O(),Ct(),D(),nl="media-type-no-deprecated",ab=I(nl,{rejected:e=>`Deprecated media type "${e}"`}),QC={url:"https://stylelint.io/user-guide/rules/media-type-no-deprecated"},il=(e,t)=>(r,n)=>{T(n,nl,{actual:e},{actual:t,possible:{ignoreMediaTypes:[$,_]},optional:!0})&&r.walkAtRules(Se.mediaName,i=>{!Xe(i)||!Q.deprecatedMediaType.test(i.params)||Mn(i).forEach(o=>{if(!HV(o))return;let a=o.getMediaType();if(!$w.has(a.toLowerCase())||L(t,"ignoreMediaTypes",a))return;let s=Oe(i),[l,u]=Wt({tokens:()=>o.mediaType.filter(Ye)});P({message:ab.rejected,messageArgs:[a],node:i,index:s+l,endIndex:s+u+1,ruleName:nl,result:n})})})},il.ruleName=nl,il.messages=ab,il.meta=QC,ZM=il});function lQ(e,t){let r=e.map(n=>{let i=[],o=n.indexOf(t);for(;o!==-1;)i.push(o),o=n.indexOf(t,o+1);return i});for(let n=0;n<r.length;n++)for(let i=n+1;i<r.length;i++){let o=r[n],a=r[i];if(!(o&&o.length===0||a&&a.length===0)&&!Aw(o,a))return!1}return!0}function uQ(e){let t=new Set(e.flat());return t.delete("."),[...t]}function cQ(e){return uQ(e).filter(t=>!lQ(e,t))}var dQ=y(()=>{Nw()}),XM={};A(XM,{default:()=>eR});var YC,ol,al,GC,sl,eR,pQ=y(()=>{YC=K(de(),1),q(),Z(),dQ(),_e(),V(),j(),O(),D(),ol="named-grid-areas-no-invalid",al=I(ol,{expectedToken:()=>"Expected cell token within string",expectedSameNumber:()=>"Expected same number of cell tokens in each string",expectedRectangle:e=>`Expected single filled-in rectangle for "${e}"`}),GC={url:"https://stylelint.io/user-guide/rules/named-grid-areas-no-invalid"},sl=e=>(t,r)=>{T(r,ol,{actual:e})&&t.walkDecls(dr.gridAreaNames,n=>{let{value:i}=n;if(!Be(i)||i.toLowerCase().trim()==="none")return;let o=[],a=!1;if((0,YC.default)(i).walk(({sourceIndex:d,sourceEndIndex:p,type:m,value:v})=>{if(m==="string"){if(v===""){c(al.expectedToken,[],d,p),a=!0;return}o.push({values:v.trim().split(/\s+/).filter(Boolean),index:d,endIndex:p})}}),a)return;let[s]=o;if(s===void 0)return;let l=o.find(d=>d.values.length!==s.values.length);if(l!==void 0){c(al.expectedSameNumber,[],l.index,l.endIndex);return}let u=cQ(o.map(d=>d.values));for(let d of u.sort()){let p=o.find(m=>m.values.includes(d));$e(p),c(al.expectedRectangle,[d],p.index,p.endIndex)}function c(d,p,m,v){let h=ie(n);P({message:d,messageArgs:p,node:n,index:h+m,endIndex:h+v,result:r,ruleName:ol})}})},sl.ruleName=ol,sl.messages=al,sl.meta=GC,eR=sl});function sw(e,t){let{inline:r=!1}=t||{},n=e;for(;n;){if(xv(n))return!0;if("document"in n&&n.document instanceof ZN&&xv(n.document))return r&&n.source&&"inline"in n.source?!!n.source.inline:!0;if(!n.parent)break;n=n.parent}return!1}var tR=y(()=>{hd(),fe()}),rR={};A(rR,{default:()=>nR});function KC(e,t){let r=e.parent;for(;r;){if(r.type==="rule"||r.type==="atrule"&&r.name==="scope"||r.type==="atrule"&&L(t,"ignoreAtRules",r.name))return!0;if(r.type==="root")return!1;r=r.parent}return!1}var ll,sb,HC,ul,nR,mQ=y(()=>{In(),V(),q(),Z(),lt(),we(),tR(),et(),me(),H(),j(),O(),D(),ll="nesting-selector-no-missing-scoping-root",sb=I(ll,{rejected:"Missing scoping root"}),HC={url:"https://stylelint.io/user-guide/rules/nesting-selector-no-missing-scoping-root"},ul=(e,t)=>(r,n)=>{if(!T(n,ll,{actual:e,possible:[!0]},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0}))return;r.walkRules(Q.nestingSelector,o=>{if(sw(o)||!pe(o)||KC(o,t))return;let a;try{a=qr(be(o),{context:"selectorList",positions:!0})}catch{return}i(o,a)}),r.walkAtRules(Se.scopeName,o=>{if(sw(o)||!Xe(o)||!Q.nestingSelector.test(o.params)||KC(o,t))return;let a;try{a=qr(st(o),{atrule:"scope",context:"atrulePrelude",positions:!0})}catch{return}i(o,a,Oe(o))});function i(o,a,s=0){Ni(a,{enter(l){if(l.type!=="NestingSelector"||!l.loc)return;let u=s+l.loc.start.offset,c=u+1;P({message:sb.rejected,node:o,result:n,ruleName:ll,index:u,endIndex:c})}})}},ul.ruleName=ll,ul.messages=sb,ul.meta=HC,nR=ul});function Gk(e,t){return e.a===t.a?e.b===t.b?e.c-t.c:e.b-t.b:e.a-t.a}function kn(e,t){var a,s;let r=(a=t==null?void 0:t.customSpecificity)==null?void 0:a.call(t,e);if(r)return r;if(!e)return{a:0,b:0,c:0};let n=0,i=0,o=0;if(e.type=="universal")return{a:0,b:0,c:0};if(e.type==="id")n+=1;else if(e.type==="tag")o+=1;else if(e.type==="class")i+=1;else if(e.type==="attribute")i+=1;else if(hQ(e))switch(e.value.toLowerCase()){case"::slotted":if(o+=1,e.nodes&&e.nodes.length>0){let l=Lp(e.nodes,t);n+=l.a,i+=l.b,o+=l.c}break;case"::view-transition-group":case"::view-transition-image-pair":case"::view-transition-old":case"::view-transition-new":return e.nodes&&e.nodes.length===1&&e.nodes[0].type==="selector"&&fQ(e.nodes[0])?{a:0,b:0,c:0}:{a:0,b:0,c:1};default:o+=1}else if(Dc.default.isPseudoClass(e))switch(e.value.toLowerCase()){case":-webkit-any":case":any":default:i+=1;break;case":-moz-any":case":has":case":is":case":matches":case":not":if(e.nodes&&e.nodes.length>0){let l=Lp(e.nodes,t);n+=l.a,i+=l.b,o+=l.c}break;case":where":break;case":nth-child":case":nth-last-child":if(i+=1,e.nodes&&e.nodes.length>0){let l=e.nodes[0].nodes.findIndex(u=>u.type==="tag"&&u.value.toLowerCase()==="of");if(l>-1){let u=Dc.default.selector({nodes:[],value:""});e.nodes[0].nodes.slice(l+1).forEach(p=>{u.append(p.clone())});let c=[u];e.nodes.length>1&&c.push(...e.nodes.slice(1));let d=Lp(c,t);n+=d.a,i+=d.b,o+=d.c}}break;case":local":case":global":e.nodes&&e.nodes.length>0&&e.nodes.forEach(l=>{let u=kn(l,t);n+=u.a,i+=u.b,o+=u.c});break;case":host":case":host-context":if(i+=1,e.nodes&&e.nodes.length>0){let l=Lp(e.nodes,t);n+=l.a,i+=l.b,o+=l.c}break;case":active-view-transition":case":active-view-transition-type":return{a:0,b:1,c:0}}else Dc.default.isContainer(e)&&((s=e.nodes)==null?void 0:s.length)>0&&e.nodes.forEach(l=>{let u=kn(l,t);n+=u.a,i+=u.b,o+=u.c});return{a:n,b:i,c:o}}function Lp(e,t){let r={a:0,b:0,c:0};return e.forEach(n=>{let i=kn(n,t);Gk(i,r)<0||(r=i)}),r}function hQ(e){return Dc.default.isPseudoElement(e)}function fQ(e){if(!e||!e.nodes)return!1;let t=e.nodes.filter(r=>r.type!=="comment");return t.length===0||t.length===1&&t[0].type==="universal"}var Dc,iR=y(()=>{Dc=K(dt(),1)});function Kk(e){let t=e.parent;return t?Ie(t)?t:it(t)?Kk(t):null:null}var oR=y(()=>{fe()});function aR(){let e=new Map;return{getContext(t,...r){if(!t.source)throw new Error("The node source must be present");let n=t.source.input.from,i=JC(e,n);return r.reduce((o,a)=>JC(o,a),i)}}}function JC(e,t){return e.has(t)||e.set(t,new Map),e.get(t)}var sR=y(()=>{});function Sc(e,t){let r=lw.get(e);if(r){let s=r.get(t);if(s)return s}else r=new Map,lw.set(e,r);let n=e.toString(),i=ki.get(n);if(i)return r.set(t,i),i;let o=gQ(e.clone()),a={node:o,string:o.toString()};if(r.set(t,a),ki.size>=uR){let s=ki.keys().next().value;s!==void 0&&ki.delete(s)}return ki.set(n,a),a}function gQ(e){return e2(e),ZC(e),e.walk(t=>{e2(t),ZC(t)}),lR(e),e}function ZC(e){if(nr.default.isComment(e)){e.remove();return}e.rawSpaceBefore="",e.rawSpaceAfter="",e.spaces.before="",e.spaces.after="",nr.default.isAttribute(e)&&(delete e.spaces.insensitive,delete e.spaces.operator,delete e.spaces.attribute,delete e.spaces.value,delete e.raws.spaces)}function lR(e){if(nr.default.isContainer(e)){if(e.each(lR),nr.default.isRoot(e)||nr.default.isPseudoClass(e)||nr.default.isPseudoElement(e)){let t=e.nodes.map(i=>({node:i,string:i.toString()}));t.sort((i,o)=>i.string.localeCompare(o.string));let r=new Set,n=new Map;t.forEach((i,o)=>{r.has(i.string)||(r.add(i.string),n.set(i.node,o))}),e.nodes=e.nodes.filter(i=>n.has(i)).sort((i,o)=>n.get(i)-n.get(o))}nr.default.isSelector(e)&&(e.nodes=vQ(e.nodes))}}function XC(e){var t;return(t=cR.get(e.type))!=null?t:Number.MAX_SAFE_INTEGER}function bQ(e,t){let r=XC(e)-XC(t);return r!==0?r:String(e).localeCompare(String(t))}function vQ(e){let t=[],r=[];return e.forEach(n=>{nr.default.isCombinator(n)||nr.default.isPseudoElement(n)?(t.push(r,[n]),r=[]):r.push(n)}),t.push(r),t.forEach(n=>n.sort(bQ)),t.flat()}function e2(e){var t;if(nr.default.isClassName(e)){if(!((t=e.raws)!=null&&t.value))return;e.value=e.value}}var nr,lw,ki,uR,cR,dR=y(()=>{nr=K(dt(),1),lw=new WeakMap,ki=new Map,uR=1e4,cR=new Map([["universal",0],["tag",1],["nesting",2],["id",3],["class",4],["attribute",5],["pseudo",6],["comment",7]])});function vn(e){var t;return{sourceIndex:(t=e.sourceIndex)!=null?t:0,source:e.source}}function yQ(e){let t=[],r=[];e.each(i=>{if(i.type==="combinator")return t.push(r,[i]),void(r=[]);if(sr.default.isPseudoElement(i))return t.push(r),void(r=[i]);if(i.type==="universal"&&r.find(o=>o.type==="universal"))i.remove();else{if(i.type==="tag"&&r.find(o=>o.type==="tag")){i.remove();let o=sr.default.selector({value:"",...vn(i)});o.append(i);let a=sr.default.pseudo({value:":is",...vn(i)});return a.append(o),void r.push(a)}r.push(i)}}),t.push(r);let n=[];for(let i=0;i<t.length;i++){let o=t[i];o.sort((a,s)=>t2(a)-t2(s)),n.push(...o)}e.removeAll();for(let i=n.length-1;i>=0;i--)n[i].remove(),n[i].parent=e,e.nodes.unshift(n[i])}function t2(e){return sr.default.isPseudoElement(e)?uw.pseudoElement:uw[e.type]}function r2(e,t,r){var o;let n=[];for(let a=0;a<e.nodes.length;a++){let s=e.nodes[a].clone();if(!(r!=null&&r.ignoreImplicitNesting)){let l=!1;s.walkNesting(()=>(l=!0,!1)),l?((o=s.nodes[0])==null?void 0:o.type)==="combinator"&&s.prepend(sr.default.nesting({...vn(s)})):(s.prepend(sr.default.combinator({value:" ",...vn(s)})),s.prepend(sr.default.nesting({...vn(s)})))}{let l=new Set;s.walkNesting(u=>{var d,p;let c=u.parent;c&&(l.add(c),((d=c.parent)==null?void 0:d.type)==="pseudo"&&((p=c.parent.value)==null?void 0:p.toLowerCase())===":has"?u.replaceWith(...n2(t,!0)):u.replaceWith(...n2(t)))});for(let u of l)yQ(u)}s.walk(l=>{l.type==="combinator"&&l.value.trim()!==""?(l.rawSpaceAfter=" ",l.rawSpaceBefore=" "):(l.rawSpaceAfter="",l.rawSpaceBefore="")}),n.push(s)}let i=sr.default.root({value:"",...vn(e)});return n.forEach(a=>{i.append(a)}),i}function n2(e,t=!1){if(t||!wQ(e.nodes)){let r=sr.default.pseudo({value:":is",...vn(e)});return e.nodes.forEach(n=>{r.append(n.clone())}),[r]}return e.nodes[0].nodes.map(r=>r.clone())}function wQ(e){return e.length===1&&!e[0].nodes.some(t=>t.type==="combinator"||sr.default.isPseudoElement(t))}var sr,uw,kQ=y(()=>{sr=K(dt(),1),uw={universal:0,tag:1,pseudoElement:2,nesting:3,id:4,class:5,attribute:6,pseudo:7,comment:8}});function ad(e,t){let r=dw.get(e);if(r){let s=r.get(t);if(s)return s}else r=new Map,dw.set(e,r);let n=xe(be(e),t,e);if(!n)return[];let i,o=[];{let s=e.parent;for(;s;)o.push(s),s=s.parent}o.reverse();for(let s of o){if(Ie(s)&&s.name==="scope"){i=xe(":where(:scope)",t,s);continue}if(!it(s))continue;if(!pe(s))return[];let l=xe(be(s),t,s);if(!l)return[];i?i=r2(l,i):i=l}let a=n.map(s=>i?{selector:s,resolvedSelectors:r2(cw.default.root({nodes:[s],value:""}),i),nested:!0}:{selector:s,resolvedSelectors:cw.default.root({value:"",nodes:[s]}),nested:!1});return r.set(t,a),a}var cw,dw,Bh=y(()=>{kQ(),fe(),we(),me(),ze(),cw=K(dt(),1),dw=new WeakMap}),pR={};A(pR,{default:()=>hR});function xQ(e,t){if(e.nodes.length===0)return;e=Sc(e,t).node;let r=e.split(o=>o.type==="combinator"),n=r[r.length-1];if(!n)return;let i=n.filter(o=>o.type!=="pseudo"||o.value.startsWith("::")||th.has(o.value.replaceAll(":","")));if(i.length!==0)return i.join("")}function mR(e){return e.nodes?e.some(t=>eo(t)||Ie(t)&&mR(t)):!1}var cl,lb,i2,dl,hR,SQ=y(()=>{iR(),fe(),oR(),zt(),me(),sR(),dR(),H(),Tt(),j(),Bh(),O(),D(),cl="no-descending-specificity",lb=I(cl,{expected:(e,t,r,n,i)=>(e=`"${e}"${n?` ("${n}")`:""}`,t=`"${t}"${i?` ("${i}")`:""}`,`Expected selector ${e} to come before selector ${t}, at line ${r}`)}),i2={url:"https://stylelint.io/user-guide/rules/no-descending-specificity"},dl=(e,t)=>(r,n)=>{if(!T(n,cl,{actual:e},{optional:!0,actual:t,possible:{ignore:["selectors-within-list"]}}))return;let i=L(t,"ignore","selectors-within-list"),o=aR();r.walkRules(s=>{if(!pe(s)||i&&s.selectors.length>1||!mR(s))return;let l=o.getContext(s,Kk(s));ad(s,n).forEach(({selector:u,resolvedSelectors:c})=>{c.each(d=>{a(d,u,s,l)})})});function a(s,l,u,c){var x,w,k;let d=xQ(s,n);if(!d)return;let p=kn(s),{selector:m,index:v,endIndex:h}=at(l),{selector:b}=at(s);b=b===m?"":b;let f={selector:m,resolvedSelector:b,specificity:p,line:(k=(w=(x=u.source)==null?void 0:x.start)==null?void 0:w.line)!=null?k:1},g=c.get(d);if(!g){c.set(d,[f]);return}for(let S of g)if(Gk(p,S.specificity)<0){P({ruleName:cl,result:n,node:u,message:lb.expected,messageArgs:[m,S.selector,S.line,b,S.resolvedSelector],index:v,endIndex:h});break}g.push(f)}},dl.ruleName=cl,dl.messages=lb,dl.meta=i2,hR=dl}),fR={};A(fR,{default:()=>gR});function Fp(e){return pw.default.stringify(e).replace(/\s/g,"")}function CQ(e){if(!e.length)return[];let t=" ",r=[],n=[],i=[];for(let a of e)if(!(a.type==="space"||a.type==="comment")){if(!n.length){if(a.type==="function"&&(a.value==="supports"||a.value==="layer")){r.push(Fp(a));continue}if(a.type==="word"&&a.value==="layer"){r.push(Fp(a));continue}}if(a.type==="div"&&a.value===","){n.push(Fp(i)),i=[];continue}i.push(a)}if(i.length&&n.push(Fp(i)),n.length&&!r.length)return n;if(!n.length&&r.length)return[r.join(t)];let o=r.join(t);return n.map(a=>o+t+a)}var pw,pl,ub,o2,ml,gR,zQ=y(()=>{pw=K(de(),1),V(),lt(),Cd(),j(),O(),D(),pl="no-duplicate-at-import-rules",ub=I(pl,{rejected:e=>`Duplicate @import rule ${e}`}),o2={url:"https://stylelint.io/user-guide/rules/no-duplicate-at-import-rules"},ml=e=>(t,r)=>{if(!T(r,pl,{actual:e}))return;let n={};t.walkAtRules(Se.importName,i=>{let[o,...a]=(0,pw.default)(st(i)).nodes;if(!o)return;let s=Sd(o)&&o.nodes[0]?o.nodes[0].value:o.value,l=CQ(a),u=n[s];if(l.length?l.some(c=>u&&u.includes(c)):u){P({message:ub.rejected,messageArgs:[s],node:i,result:r,ruleName:pl,word:i.toString()});return}u||(u=n[s]=[]),u.push(...l)})},ml.ruleName=pl,ml.messages=ub,ml.meta=o2,gR=ml});function Ld(e){let t=e.parent;return t?Ie(t)&&t.name.toLowerCase()==="keyframes":!1}var Fd=y(()=>{fe()}),bR={};A(bR,{default:()=>vR});var a2,hl,cb,s2,fl,vR,AQ=y(()=>{a2=K(dt(),1),q(),oR(),we(),zt(),Fd(),me(),sR(),dR(),H(),ze(),j(),Bh(),O(),D(),hl="no-duplicate-selectors",cb=I(hl,{rejected:(e,t)=>`Duplicate selector "${e}", first used at line ${t}`}),s2={url:"https://stylelint.io/user-guide/rules/no-duplicate-selectors"},fl=(e,t)=>(r,n)=>{if(!T(n,hl,{actual:e},{actual:t,possible:{disallowInList:[ld],ignoreSelectors:[$,_]},optional:!0}))return;let i=t&&t.disallowInList,o=aR();function a(c,d,p,m,v){P({result:n,ruleName:hl,node:c,message:cb.rejected,messageArgs:[d,v],index:p,endIndex:m})}function s(c){var p;let d=new Map;(p=xe(be(c),n,c))==null||p.each(m=>{var x,w,k,S,E,C;let v=Sc(m,n).string;if(L(t,"ignoreSelectors",v))return;let h=d.get(v);if(!h){d.set(v,{line:((k=(w=(x=m.source)==null?void 0:x.start)==null?void 0:w.line)!=null?k:1)+((C=(E=(S=c.source)==null?void 0:S.start)==null?void 0:E.line)!=null?C:1)-1});return}let{index:b,endIndex:f,selector:g}=at(m);a(c,g,b,f,h.line)})}function l(c,d){var f,g,x;let p=ad(c,n).flatMap(({resolvedSelectors:w})=>w.nodes);if(!p.length||p.some(w=>{let k=Sc(w,n).string;return L(t,"ignoreSelectors",k)}))return;let m=a2.default.root({nodes:p,value:""}),v=Sc(m,n).string,h=d.get(v);if(!h){d.set(v,{line:(x=(g=(f=c.source)==null?void 0:f.start)==null?void 0:g.line)!=null?x:1});return}let b=be(c).toString().trim();a(c,b,0,b.length,h.line)}function u(c,d){ad(c,n).forEach(p=>{let{selector:m,resolvedSelectors:v}=p;v.each(h=>{var k,S,E,C,R,N;let b=Sc(h,n).string;if(L(t,"ignoreSelectors",b))return;let f=d.get(b);if(!f){d.set(b,{line:((E=(S=(k=m.source)==null?void 0:k.start)==null?void 0:S.line)!=null?E:1)+((N=(R=(C=c.source)==null?void 0:C.start)==null?void 0:R.line)!=null?N:1)-1});return}let{index:g,endIndex:x,selector:w}=at(m);a(c,w,g,x,f.line)})})}r.walkRules(c=>{if(Ld(c)||!pe(c))return;let d=o.getContext(c,Kk(c));if(i){u(c,d);return}s(c),l(c,d)})},fl.ruleName=hl,fl.messages=cb,fl.meta=s2,vR=fl}),yR={};A(yR,{default:()=>wR});var gl,db,l2,bl,wR,NQ=y(()=>{bd(),j(),O(),D(),gl="no-empty-source",db=I(gl,{rejected:"Empty source"}),l2={url:"https://stylelint.io/user-guide/rules/no-empty-source"},bl=(e,t,r)=>(n,i)=>{var a;if(!T(i,gl,{actual:e}))return;let o=!!(r.fix?n.toString():n.source&&n.source.input.css||"").trim()&&n.nodes.some(s=>!Oi(s,r.configurationComment));o||n.nodes.length===0&&((a=n.raws.after)!=null&&a.trim())&&(o=!0),!o&&P({message:db.rejected,messageArgs:[],node:n,result:i,ruleName:gl})},bl.ruleName=gl,bl.messages=db,bl.meta=l2,wR=bl}),kR={};A(kR,{default:()=>xR});var ti,Mp,u2,vl,xR,EQ=y(()=>{q(),we(),j(),O(),D(),ti="no-invalid-double-slash-comments",Mp=I(ti,{rejected:"Invalid double-slash CSS comment"}),u2={url:"https://stylelint.io/user-guide/rules/no-invalid-double-slash-comments"},vl=(e,t,r)=>(n,i)=>{T(i,ti,{actual:e})&&(n.walkDecls(o=>{o.prop.startsWith("//")&&P({message:Mp.rejected,messageArgs:[],node:o,result:i,ruleName:ti})}),n.walkRules(o=>{var u;let a=be(o).split(","),s,l=0;for(let c of a){let d=c.trimStart();if(d.startsWith("//")){s!=null||(s=o.toString()),Xi(r.newline);let p=c.length-d.length,m=l+p,v=(u=s.slice(m).split(r.newline)[0])!=null?u:"",h=m+v.length;P({message:Mp.rejected,messageArgs:[],node:o,result:i,ruleName:ti,index:m,endIndex:h})}l+=c.length+1}}))},vl.ruleName=ti,vl.messages=Mp,vl.meta=u2,xR=vl}),SR={};A(SR,{default:()=>CR});var yl,pb,c2,wl,CR,PQ=y(()=>{q(),fe(),et(),me(),H(),j(),O(),D(),yl="no-invalid-position-at-import-rule",pb=I(yl,{rejected:"Invalid position for @import rule"}),c2={url:"https://stylelint.io/user-guide/rules/no-invalid-position-at-import-rule"},wl=(e,t)=>(r,n)=>{if(!T(n,yl,{actual:e},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0}))return;let i=!1;r.walk(o=>{let a="name"in o&&o.name&&o.name.toLowerCase()||"";if(Ie(o)&&a!=="charset"&&a!=="import"&&!(a==="layer"&&typeof o.nodes>"u")&&!L(t,"ignoreAtRules",o.name)&&Xe(o)||o.type==="rule"&&pe(o)){i=!0;return}Ie(o)&&a==="import"&&i&&P({message:pb.rejected,messageArgs:[],node:o,result:n,ruleName:yl,word:o.toString()})})},wl.ruleName=yl,wl.messages=pb,wl.meta=c2,CR=wl}),zR={};A(zR,{default:()=>AR});var kl,mb,d2,xl,AR,jQ=y(()=>{ro(),fe(),q(),Ad(),tR(),ct(),H(),j(),O(),D(),kl="no-invalid-position-declaration",mb=I(kl,{rejected:"Invalid position for declaration"}),d2={url:"https://stylelint.io/user-guide/rules/no-invalid-position-declaration"},xl=(e,t)=>(r,n)=>{if(!T(n,kl,{actual:e,possible:[!0]},{actual:t,possible:{ignoreAtRules:[$,_]},optional:!0}))return;let i=a=>Ie(a)&&L(t,"ignoreAtRules",a.name),o=a=>Ie(a)&&_A.has(a.name.toLowerCase());r.walkDecls(a=>{if(sw(a,{inline:!0})||!ut(a))return;let{parent:s}=a;if(s&&!(it(s)||o(s))){if(Ie(s)){let l=s.name.toLowerCase();if(Rc.has(l)){if(Ji(a,u=>it(u)||o(u)||i(u)))return}else return}P({message:mb.rejected,messageArgs:[],node:a,result:n,ruleName:kl})}})},xl.ruleName=kl,xl.messages=mb,xl.meta=d2,AR=xl}),NR={};A(NR,{default:()=>DR});function Sl(){return 0}function IQ(){return 1}function ER(e){return e.replace(hw," ")}function PR(e,t){if(!Gm.test(e))return e;let r=(0,jR.default)(e);return r.walk(n=>{t(n)&&(n.value=ER(n.value))}),r.toString()}function OQ(e){return PR(e,t=>t.type==="string")}function hb(e,t){if(!e)return;let r=t?TR.test(t.toLowerCase()):!1;return PR(e,n=>n.type==="string"&&!r||n.type==="comment")}function TQ(e){return Gm.test(e)?(0,mw.default)(t=>{t.walk(r=>{r.value&&(IR(r)||OR(r))&&(r.value=ER(r.value))})}).processSync(e):e}var mw,jR,IR,OR,Cl,fb,p2,m2,gb,Gm,hw,h2,TR,f2,zl,DR,DQ=y(()=>{mw=K(dt(),1),jR=K(de(),1),Z(),lt(),We(),we(),j(),O(),D(),{isAttribute:IR,isComment:OR}=mw.default,Cl="no-irregular-whitespace",fb=I(Cl,{rejected:"Irregular whitespace"}),p2={url:"https://stylelint.io/user-guide/rules/no-irregular-whitespace"},m2=["\v","\f"," ","…"," ","᠎","\uFEFF"," "," "," "," "," "," "," "," "," "," "," ","​","\u2028","\u2029"," "," "," "],gb=m2.join(""),Gm=new RegExp(`[${gb}]`),hw=new RegExp(`[${gb}]+`,"g"),h2=["grid","grid-template","grid-template-areas"],TR=new RegExp(`^(?:${h2.join("|")})$`,"i"),f2=e=>Array.from(e.matchAll(hw)).map(t=>({index:t.index,length:t[0].length})),zl=e=>(t,r)=>{var o;if(!T(r,Cl,{actual:e}))return;let n=(o=t.source)==null?void 0:o.input.css;if(!n||!Gm.test(n))return;let i=(a,s,l)=>{if(!s)return;let u=f2(s);if(!u.length)return;let c=l(a);u.forEach(({index:d,length:p})=>{P({ruleName:Cl,result:r,message:fb.rejected,messageArgs:[],node:a,index:c+d,endIndex:c+d+p})})};t.walkAtRules(a=>{i(a,a.raws.before,Sl),i(a,a.name,IQ),i(a,a.raws.afterName,bA),i(a,OQ(st(a)),Oe),i(a,a.raws.between,G6),i(a,a.raws.after,Y6)}),t.walkRules(a=>{i(a,a.raws.before,Sl),i(a,TQ(be(a)),Sl),i(a,a.raws.between,K6),i(a,a.raws.after,H6)}),t.walkDecls(a=>{i(a,a.raws.before,Sl),i(a,hb(a.prop),Sl),i(a,hb(a.raws.between),vA),i(a,hb(qe(a),a.prop),ie)})},zl.ruleName=Cl,zl.messages=fb,zl.meta=p2,DR=zl});function LQ(e){let t=[],r=(0,LR.default)(e),{nodes:n}=r;if(n.length===1&&n[0]&&Te.has(n[0].value.toLowerCase()))return[n[0]];let i=!1;return r.walk(o=>{if(i)return;if(o.type==="function")return!1;if(o.type!=="word")return;let a=o.value.toLowerCase();if(!Be(a)){i=!0,t.length=0;return}if(Nd(a)||Mw.has(a))return;let{unit:s}=On(o);s||s===""||t.push(o)}),t}var LR,FQ=y(()=>{LR=K(de(),1),Ke(),Tn(),_e(),Ed()}),FR={};A(FR,{default:()=>MR});var Al,bb,g2,Nl,MR,MQ=y(()=>{Ke(),V(),Z(),FQ(),j(),O(),D(),Al="no-unknown-animations",bb=I(Al,{rejected:e=>`Unknown animation "${e}"`}),g2={url:"https://stylelint.io/user-guide/rules/no-unknown-animations"},Nl=e=>(t,r)=>{if(!T(r,Al,{actual:e}))return;let n=new Set,i=r.stylelint.referenceRoots;for(let o of[t,...i])o.walkAtRules(Se.keyframesName,a=>{n.add(a.params)});t.walkDecls(o=>{if(o.prop.toLowerCase()==="animation"||o.prop.toLowerCase()==="animation-name"){let a=LQ(o.value);if(a.length===0)return;for(let s of a){if(Uc.has(s.value.toLowerCase())||n.has(s.value))continue;let l=ie(o);P({result:r,ruleName:Al,message:bb.rejected,messageArgs:[s.value],node:o,index:l+s.sourceIndex,endIndex:l+s.sourceEndIndex})}}})},Nl.ruleName=Al,Nl.messages=bb,Nl.meta=g2,MR=Nl});function RQ(e){return YV(st(e),{preserveInvalidMediaQueries:!0})}var $Q=y(()=>{Jt(),lt()}),RR={};A(RR,{default:()=>$R});var El,vb,b2,Pl,$R,BQ=y(()=>{V(),Jt(),Z(),Dd(),$Q(),Rn(),j(),O(),D(),El="no-unknown-custom-media",vb=I(El,{rejected:e=>`Unknown custom media query "${e}"`}),b2={url:"https://stylelint.io/user-guide/rules/no-unknown-custom-media"},Pl=e=>(t,r)=>{if(!T(r,El,{actual:e}))return;let n=new Set,i=r.stylelint.referenceRoots;for(let o of[t,...i])o.walkAtRules(Se.customMediaName,a=>{let s=RQ(a);s&&n.add(s.getName())});t.walkAtRules(Se.mediaName,o=>{Q.customProperty.test(o.params)&&Mn(o).forEach(a=>{Fn(a)||a.walk(({node:s})=>{if(!Ln(s))return;let[,l,u,c]=s.getNameToken();if(!Zi(l)||n.has(l))return;let d=Oe(o),p=d+u,m=d+c+1;P({message:vb.rejected,messageArgs:[l],node:o,index:p,endIndex:m,result:r,ruleName:El})})})})},Pl.ruleName=El,Pl.messages=vb,Pl.meta=b2,$R=Pl}),BR={};A(BR,{default:()=>qR});var v2,jl,yb,y2,Il,qR,qQ=y(()=>{v2=K(de(),1),V(),Z(),xd(),j(),O(),D(),jl="no-unknown-custom-properties",yb=I(jl,{rejected:e=>`Unknown custom property "${e}"`}),y2={url:"https://stylelint.io/user-guide/rules/no-unknown-custom-properties"},Il=e=>(t,r)=>{if(!T(r,jl,{actual:e}))return;let n=new Set,i=r.stylelint.referenceRoots;for(let o of[t,...i])o.walkAtRules(Se.propertyName,({params:a})=>{n.add(a)}),o.walkDecls(dr.custom,({prop:a})=>{n.add(a)});t.walkDecls(o=>{let{value:a}=o;(0,v2.default)(a).walk(s=>{if(!oo(s))return;let[l,u]=s.nodes;if(!l||n.has(l.value)||u&&u.type==="div")return;let c=ie(o);P({result:r,ruleName:jl,message:yb.rejected,messageArgs:[l.value],node:o,index:c+l.sourceIndex,endIndex:c+l.sourceEndIndex})})})},Il.ruleName=jl,Il.messages=yb,Il.meta=y2,qR=Il}),WR={};A(WR,{default:()=>_R});var Ol,wb,w2,Tl,_R,WQ=y(()=>{rt(),Ct(),Z(),q(),lt(),We(),Tr(),Le(),H(),j(),O(),Sk(),D(),Ol="number-max-precision",wb=I(Ol,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),w2={url:"https://stylelint.io/user-guide/rules/number-max-precision"},Tl=(e,t)=>(r,n)=>{var l;if(!T(n,Ol,{actual:e,possible:[cr]},{optional:!0,actual:t,possible:{ignoreProperties:[$,_],ignoreUnits:[$,_],insideFunctions:[qm(cr)]}}))return;let i=new Map(Object.entries((l=t==null?void 0:t.insideFunctions)!=null?l:{}));r.walkAtRules(u=>{u.name.toLowerCase()!=="import"&&o(u,Oe,st(u))}),r.walkDecls(u=>{o(u,ie,qe(u))});function o(u,c,d){if(!d.includes("."))return;let p="prop"in u?u.prop:void 0;if(L(t,"ignoreProperties",p))return;let m={ignored:!1,precision:e};Dn(lo(St({css:d})),({node:v,state:h})=>{h&&(h.ignored||a(u,c,v,h))},m)}function a(u,c,d,p){if(He(d)){let k=d.getName().toLowerCase();if(k==="url"){p.ignored=!0;return}p.precision=s(k,p.precision);return}if(!ce(d))return;let[m,v,h,b,f]=d.value;if(m!==z.Number&&m!==z.Dimension&&m!==z.Percentage)return;let g=0;if(m===z.Dimension){let k=f.unit;if(g=k.length,L(t,"ignoreUnits",k))return}else if(m===z.Percentage&&(g=1,L(t,"ignoreUnits","%")))return;let x=/\d*\.(\d+)/.exec(v);if(x==null||x[0]==null||x[1]==null||x[1].length<=p.precision)return;let w=c(u);P({result:n,ruleName:Ol,node:u,index:w+h,endIndex:w+(b+1)-g,message:wb.expected,messageArgs:[f.value,f.value.toFixed(p.precision)]})}function s(u,c){let d=i.get(u);if(typeof d<"u")return d;for(let[p,m]of i)if(Pe(u,p))return m;return c}},Tl.ruleName=Ol,Tl.messages=wb,Tl.meta=w2,_R=Tl}),UR={};A(UR,{default:()=>VR});var Dl,kb,k2,ri,VR,_Q=y(()=>{q(),Or(),Le(),j(),O(),D(),Dl="property-allowed-list",kb=I(Dl,{rejected:e=>`Disallowed property "${e}"`}),k2={url:"https://stylelint.io/user-guide/rules/property-allowed-list"},ri=e=>(t,r)=>{T(r,Dl,{actual:e,possible:[$,_]})&&t.walkDecls(n=>{let i=n.prop;Ir(i)&&(Pe(i,e)||P({message:kb.rejected,messageArgs:[i],word:i,node:n,result:r,ruleName:Dl}))})},ri.primaryOptionArray=!0,ri.ruleName=Dl,ri.messages=kb,ri.meta=k2,VR=ri}),QR={};A(QR,{default:()=>YR});var Ll,xb,x2,ni,YR,UQ=y(()=>{q(),Or(),Le(),j(),O(),D(),Ll="property-disallowed-list",xb=I(Ll,{rejected:e=>`Disallowed property "${e}"`}),x2={url:"https://stylelint.io/user-guide/rules/property-disallowed-list"},ni=e=>(t,r)=>{T(r,Ll,{actual:e,possible:[$,_]})&&t.walkDecls(n=>{let i=n.prop;Ir(i)&&Pe(i,e)&&P({message:xb.rejected,messageArgs:[i],word:i,node:n,result:r,ruleName:Ll})})},ni.primaryOptionArray=!0,ni.ruleName=Ll,ni.messages=xb,ni.meta=x2,YR=ni});function Km(e){let t=GR.get(e);return $e(t,`Invalid direction flow: ${e}`),t}var GR,KR=y(()=>{q(),GR=new Map([["top-to-bottom",["top","bottom"]],["bottom-to-top",["bottom","top"]],["left-to-right",["left","right"]],["right-to-left",["right","left"]]])}),HR={};A(HR,{default:()=>JR});function S2(e){return Ie(e)&&e.name.toLowerCase()==="page"}function VQ(e){let[t,r]=Km(e.block),[n,i]=Km(e.inline),o=e.inline==="left-to-right"||e.inline==="right-to-left",a={[t]:"block-start",[r]:"block-end",[n]:"inline-start",[i]:"inline-end"},s=new Map;for(let[l,u]of $c){if(l.endsWith("-radius")){let m=l.includes("top")?"top":"bottom",v=l.includes("left")?"left":"right";if(o){let h=m===t?"start":"end",b=v===n?"start":"end";s.set(l,`border-${h}-${b}-radius`)}else{let h=v===t?"start":"end",b=m===n?"start":"end";s.set(l,`border-${h}-${b}-radius`)}continue}if(l.includes("width")||l.includes("height")){if(o)s.set(l,u);else{let m=u.includes("inline")?u.replace("inline","block"):u.replace("block","inline");s.set(l,m)}continue}if(l.endsWith("-x")||l.endsWith("-y")){if(o)s.set(l,u);else{let m=u.includes("inline")?u.replace("inline","block"):u.replace("block","inline");s.set(l,m)}continue}let c;for(let m of["left","right","top","bottom"])if(l===m||l.endsWith(`-${m}`)||l.includes(`-${m}-`)){c=m;break}if(!c)continue;let d=a[c];if(!d)continue;let p=u;u.includes("inline-start")?p=u.replace("inline-start",d):u.includes("inline-end")?p=u.replace("inline-end",d):u.includes("block-start")?p=u.replace("block-start",d):u.includes("block-end")&&(p=u.replace("block-end",d)),s.set(l,p)}return s}var C2,dn,Fl,z2,Ml,JR,QQ=y(()=>{C2=K(de(),1),Pr(),fe(),q(),Z(),KR(),Ad(),We(),pr(),Or(),H(),V(),j(),O(),gt(),D(),dn="property-layout-mappings",Fl=I(dn,{rejected:(e,t)=>`Disallowed ${e} property "${t}"`,expected:(e,t)=>`Expected "${e}" to be "${t}"`}),z2={url:"https://stylelint.io/user-guide/rules/property-layout-mappings",fixable:!0},Ml=(e,t)=>(r,n)=>{var u,c;if(!T(n,dn,{actual:e,possible:["flow-relative","physical"]},{actual:t,possible:{ignoreProperties:[$,_]},optional:!0}))return;let i=(c=(u=n.stylelint.config)==null?void 0:u.languageOptions)==null?void 0:c.directionality,o=i==null?void 0:i.block,a=i==null?void 0:i.inline,s=o&&a?VQ({block:o,inline:a}):null;function l(d,p,m,v,h){P({message:Fl.rejected,messageArgs:[d,p],node:m,result:n,ruleName:dn,index:v,endIndex:h})}r.walkDecls(d=>{let{prop:p}=d;if(!Ir(p)||yt(p)||L(t,"ignoreProperties",p))return;let m=0,v=m+p.length;if(e==="physical"){if(!Nv.has(p)||Ji(d,S2))return;l("flow-relative",p,d,m,v)}else{if(!$c.has(p)||Ji(d,S2))return;if(!s){l("physical",p,d,m,v);return}let h=s.get(p);if(!h)return;P({message:Fl.expected,messageArgs:[p,h],index:m,endIndex:v,node:d,result:n,ruleName:dn,fix:{apply:()=>{d.prop=h},node:d}})}}),r.walkDecls(dr.propertyAcceptingNames,d=>{if(L(t,"ignoreProperties",d.prop))return;let p=(0,C2.default)(qe(d)),m=ie(d);p.walk(v=>{if(!En(v))return;let{value:h,sourceIndex:b}=v;if(L(t,"ignoreProperties",h))return;let f=m+b,g=f+h.length;if(e==="physical"){if(!Nv.has(h))return;l("flow-relative",h,d,f,g)}else{if(!$c.has(h))return;if(!s){l("physical",h,d,f,g);return}let x=s.get(h);if(!x)return;P({message:Fl.expected,messageArgs:[h,x],node:d,result:n,ruleName:dn,index:f,endIndex:g,fix:{apply:()=>{v.value=x,ft(d,p.toString())},node:d}})}})})},Ml.ruleName=dn,Ml.messages=Fl,Ml.meta=z2,JR=Ml}),ZR={};A(ZR,{default:()=>XR});var A2,Rl,Rp,N2,E2,P2,$l,XR,YQ=y(()=>{A2=K(de(),1),q(),We(),ct(),fe(),H(),j(),O(),gt(),D(),Rl="property-no-deprecated",Rp=I(Rl,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:e=>`Deprecated property "${e}"`}),N2={url:"https://stylelint.io/user-guide/rules/property-no-deprecated",fixable:!0},E2={"page-break-before":{always:"page"},"page-break-after":{always:"page"}},P2={"-khtml-box-align":"align-items","-khtml-box-direction":null,"-khtml-box-flex":"flex-grow","-khtml-box-lines":null,"-khtml-box-ordinal-group":"order","-khtml-box-orient":null,"-khtml-box-pack":null,"-khtml-user-modify":null,"-moz-box-align":"align-items","-moz-box-direction":null,"-moz-box-flex":"flex-grow","-moz-box-lines":null,"-moz-box-ordinal-group":"order","-moz-box-orient":null,"-moz-box-pack":null,"-moz-user-modify":null,"-ms-box-align":"align-items","-ms-box-direction":null,"-ms-box-flex":"flex-grow","-ms-box-lines":null,"-ms-box-ordinal-group":"order","-ms-box-orient":null,"-ms-box-pack":null,"-webkit-box-align":"align-items","-webkit-box-direction":null,"-webkit-box-flex":"flex-grow","-webkit-box-lines":null,"-webkit-box-ordinal-group":"order","-webkit-box-orient":null,"-webkit-box-pack":null,"-webkit-user-modify":null,"grid-column-gap":"column-gap","grid-gap":"gap","grid-row-gap":"row-gap","ime-mode":null,"page-break-after":"break-after","page-break-before":"break-before","page-break-inside":"break-inside","position-try-options":"position-try-fallbacks","scroll-snap-coordinate":null,"scroll-snap-destination":null,"scroll-snap-margin-bottom":"scroll-margin-bottom","scroll-snap-margin-left":"scroll-margin-left","scroll-snap-margin-right":"scroll-margin-right","scroll-snap-margin-top":"scroll-margin-top","scroll-snap-margin":"scroll-margin","scroll-snap-points-x":null,"scroll-snap-points-y":null,"scroll-snap-type-x":null,"scroll-snap-type-y":null,"word-wrap":"overflow-wrap",clip:null},$l=(e,t)=>(r,n)=>{T(n,Rl,{actual:e},{actual:t,possible:{ignoreProperties:[$,_]},optional:!0})&&r.walkDecls(i=>{if(!ut(i))return;let{prop:o,value:a}=i;if(L(t,"ignoreProperties",o))return;let s=o.toLowerCase(),l=P2[s];if(typeof l>"u"||s==="-webkit-box-orient"&&a.toLowerCase()==="vertical")return;let u,c,d;l?(c=Rp.expected,d=[o,l],u=()=>{i.prop=l;let p=E2[s];if(p){let m=(0,A2.default)(qe(i));m.walk(v=>{if(!En(v))return;let h=p[v.value.toLowerCase()];h&&(v.value=h)}),ft(i,m.toString())}}):(c=Rp.rejected,d=[o]),P({message:c,messageArgs:d,node:i,index:0,endIndex:o.length,result:n,ruleName:Rl,fix:{apply:u,node:i}})})},$l.ruleName=Rl,$l.messages=Rp,$l.meta=N2,XR=$l}),e$={};A(e$,{default:()=>t$});var Bl,Sb,j2,ql,t$,GQ=y(()=>{fe(),q(),Pr(),Ad(),pr(),j3(),ct(),Or(),H(),j(),O(),D(),Dt(),Bl="property-no-unknown",Sb=I(Bl,{rejected:e=>`Unknown property "${e}"`}),j2={url:"https://stylelint.io/user-guide/rules/property-no-unknown"},ql=(e,t)=>(r,n)=>{if(!T(n,Bl,{actual:e},{actual:t,possible:{ignoreProperties:[$,_],checkPrefixed:[ld],ignoreSelectors:[$,_],ignoreAtRules:[$,_]},optional:!0}))return;let i=t&&t.checkPrefixed,o=n.stylelint.lexer;r.walkDecls(a);function a(s){let l=s.prop;if(!ut(s)||P3(s)||!Ir(l)||yt(l)||!i&&Je.prefix(l)||L(t,"ignoreProperties",l))return;let u=s.parent;u&&it(u)&&L(t,"ignoreSelectors",u.selector)||Ji(s,c=>Ie(c)&&L(t,"ignoreAtRules",c.name))||o.getProperty(l)||XA.has(l.toLowerCase())||i&&eN.has(l.toLowerCase())||P({message:Sb.rejected,messageArgs:[l],node:s,result:n,ruleName:Bl,word:l})}},ql.ruleName=Bl,ql.messages=Sb,ql.meta=j2,t$=ql}),r$={};A(r$,{default:()=>n$});var Wl,Cb,I2,_l,n$,KQ=y(()=>{q(),Ke(),fd(),H(),j(),O(),D(),Wl="property-no-vendor-prefix",Cb=I(Wl,{rejected:e=>`Vendor-prefixed property "${e}"`}),I2={url:"https://stylelint.io/user-guide/rules/property-no-vendor-prefix",fixable:!0},_l=(e,t)=>(r,n)=>{T(n,Wl,{actual:e},{optional:!0,actual:t,possible:{ignoreProperties:[$,_]}})&&r.walkDecls(i=>{let o=i.prop;if(L(t,"ignoreProperties",o)||o[0]!=="-"||o[1]==="-"||!zr.property(o)||o==="-webkit-background-size"&&!i.value.split(",").every(s=>{let l=s.trim().split(/\s+/),u=l.length,[c]=l;switch(u){case 2:return!0;case 1:return c&&(c==="auto"||Te.has(c));default:return!1}}))return;let a=()=>{i.prop=zr.unprefix(i.prop)};P({message:Cb.rejected,messageArgs:[o],word:o,node:i,result:n,ruleName:Wl,fix:{apply:a,node:i}})})},_l.ruleName=Wl,_l.messages=Cb,_l.meta=I2,n$=_l}),i$={};A(i$,{default:()=>a$});function HQ(e){return!!Ji(e,({type:t})=>t==="rule")}function JQ(e){let t=!1;return e.walkNesting(()=>(t=!0,!1)),t}function ZQ(e){let t=e.nodes.find(r=>!Wh(r));return qh(t)}function XQ(e){let t=e.nodes.find(r=>!Wh(r)&&!Hk(r));return qh(t)}function eY(e,t,r){let n=e.nodes.find(i=>!Wh(i));if(n){let{before:i}=n.spaces;e.insertBefore(n,o$({spaces:{after:" ",before:i}})),n.spaces.before=""}t.selector=r.toString()}function tY(e,t,r){let n=e.nodes.find(Hk),i="";n&&(i=n.spaces.before,n.remove());let o=e.nodes.find(qh);if(o){let a=o.next();a&&(a.spaces.before=i),o.value===" "?o.remove():o.spaces.before=""}t.selector=r.toString()}var O2,Ul,zb,T2,qh,Wh,Hk,D2,o$,Vl,a$,rY=y(()=>{O2=K(dt(),1),Ad(),we(),me(),ze(),j(),O(),D(),Ul="relative-selector-nesting-notation",zb=I(Ul,{expected:e=>`Expected ${e} nesting notation`}),T2={url:"https://stylelint.io/user-guide/rules/relative-selector-nesting-notation",fixable:!0},{isCombinator:qh,isComment:Wh,isNesting:Hk,isSelector:D2,nesting:o$}=O2.default,Vl=e=>(t,r)=>{T(r,Ul,{actual:e,possible:["explicit","implicit"]})&&t.walkRules(n=>{if(!pe(n)||!HQ(n))return;let i=xe(be(n),r,n);i&&i.each(o=>{if(!D2(o))return;let a=ZQ(o),s;if(e==="explicit"){if(JQ(o)&&!a)return;s=()=>eY(o,n,i)}else{if(a||!XQ(o))return;s=()=>tY(o,n,i)}let l=o.sourceIndex,u=l+o.toString().trim().length;P({message:zb.expected,messageArgs:[e],node:n,index:l,endIndex:u,ruleName:Ul,result:r,fix:{apply:s,node:n}})})})},Vl.ruleName=Ul,Vl.messages=zb,Vl.meta=T2,a$=Vl});function nY(e){let t=e.prev();return t!==void 0&&t.type==="comment"&&!Bw(t)&&t.source!==void 0&&t.source.start!==void 0&&t.source.end!==void 0&&t.source.start.line===t.source.end.line}var iY=y(()=>{qw()}),s$={};A(s$,{default:()=>l$});function L2(e){let t=$r(e);return t!=null&&t.type==="rule"}var Ql,$p,F2,Yl,l$,oY=y(()=>{cd(),Pn(),pd(),iY(),md(),oh(),dh(),me(),H(),j(),O(),D(),Ql="rule-empty-line-before",$p=I(Ql,{expected:"Expected empty line before rule",rejected:"Expected no empty line before rule"}),F2={url:"https://stylelint.io/user-guide/rules/rule-empty-line-before",fixable:!0},Yl=(e,t,r)=>(n,i)=>{if(!T(i,Ql,{actual:e,possible:["always","never","always-multi-line","never-multi-line"]},{actual:t,possible:{ignore:["after-comment","first-nested","inside-block"],except:["after-rule","after-single-line-comment","first-nested","inside-block-and-after-rule","inside-block"]},optional:!0}))return;let o=e;n.walkRules(a=>{if(!pe(a)||ih(a))return;if(L(t,"ignore","after-comment")){let p=a.prev();if(p&&p.type==="comment")return}if(L(t,"ignore","first-nested")&&Br(a))return;let s=a.parent&&a.parent.type!=="root";if(L(t,"ignore","inside-block")&&s||o.includes("multi-line")&&ch(a.toString()))return;let l=o.includes("always");(L(t,"except","first-nested")&&Br(a)||L(t,"except","after-rule")&&L2(a)||L(t,"except","inside-block-and-after-rule")&&s&&L2(a)||L(t,"except","after-single-line-comment")&&nY(a)||L(t,"except","inside-block")&&s)&&(l=!l);let u=dd(a.raws.before);if(l===u)return;let c=l?$p.expected:$p.rejected,d=l?"add":"remove";P({message:c,messageArgs:[],node:a,result:i,ruleName:Ql,fix:{apply:()=>ud({node:a,newline:r.newline,action:d}),node:a.parent}})})},Yl.ruleName=Ql,Yl.messages=$p,Yl.meta=F2,l$=Yl}),u$={};A(u$,{default:()=>c$});function aY(e,t){let r=e.parent;for(;r;){if(Ie(r)){let n=r.name;if(Pe(n,t))return!0}if(ur(r))break;r=r.parent}return!1}var Gl,Ab,M2,ii,c$,sY=y(()=>{fe(),q(),me(),Le(),j(),O(),D(),Gl="rule-nesting-at-rule-required-list",Ab=I(Gl,{expected:(...e)=>`Expected rule to be nested in an at-rule matching pattern(s): ${e.map(t=>`"${t}"`).join(", ")}`}),M2={url:"https://stylelint.io/user-guide/rules/rule-nesting-at-rule-required-list"},ii=e=>(t,r)=>{if(!T(r,Gl,{actual:e,possible:[$,_]}))return;let n=[e].flat();t.walkRules(i=>{pe(i)&&(aY(i,n)||P({message:Ab.expected,messageArgs:n,node:i,result:r,ruleName:Gl}))})},ii.primaryOptionArray=!0,ii.ruleName=Gl,ii.messages=Ab,ii.meta=M2,c$=ii}),d$={};A(d$,{default:()=>p$});function lY(e,t){let r=e.parent;for(;r;){if(r===t)return!0;if(r.type==="rule")return!1;r=r.parent}return!1}var Kl,Nb,R2,Hl,p$,uY=y(()=>{q(),Fd(),me(),Le(),H(),j(),O(),Ht(),D(),Kl="rule-selector-property-disallowed-list",Nb=I(Kl,{rejected:(e,t)=>`Disallowed property "${t}" for selector "${e}"`}),R2={url:"https://stylelint.io/user-guide/rules/rule-selector-property-disallowed-list"},Hl=(e,t)=>(r,n)=>{if(!T(n,Kl,{actual:e,possible:[Bt($,_)]},{actual:t,possible:{ignore:["keyframe-selectors"]},optional:!0}))return;let i=L(t,"ignore","keyframe-selectors"),o=Object.keys(e);r.walkRules(a=>{if(!pe(a)||i&&Ld(a))return;let s=o.find(u=>Pe(a.selector,u));if(!s)return;let l=e[s];l&&a.walkDecls(u=>{if(!lY(u,a))return;let{prop:c}=u;Pe(c,l)&&P({message:Nb.rejected,messageArgs:[a.selector,c],node:u,result:n,ruleName:Kl,word:c})})})},Hl.ruleName=Kl,Hl.messages=Nb,Hl.meta=R2,p$=Hl}),m$={};A(m$,{default:()=>h$});function cY(e){let{a:t,b:r}=e;return!(t!==null&&t!=="0"&&t!=="-0"||r!==null&&r!=="0"&&r!=="-0")}var Jl,Eb,$2,Zl,h$,dY=y(()=>{In(),Tt(),q(),we(),me(),V(),j(),O(),D(),Jl="selector-anb-no-unmatchable",Eb=I(Jl,{rejected:e=>`Unmatchable An+B selector "${e}"`}),$2={url:"https://stylelint.io/user-guide/rules/selector-anb-no-unmatchable"},Zl=e=>(t,r)=>{T(r,Jl,{actual:e})&&t.walkRules(Q.aNPlusBNotationPseudoClass,n=>{if(!pe(n))return;let i=be(n),o;try{o=qr(i,{context:"selectorList",positions:!0})}catch{return}if(o.type!=="SelectorList")return;o.children.forEach(s=>{a(s)});function a(s){s.type==="Selector"&&s.children.forEach(l=>{if(l.type!=="PseudoClassSelector"||!Wc.has(l.name)&&!Ri.has(l.name))return;let u=l;u.children!==null&&u.children.forEach(c=>{if(c.type!=="Nth"||c.nth.type!=="AnPlusB")return;$e(u.loc);let d=u.loc.start.offset,p=u.loc.end.offset;cY(c.nth)&&P({message:Eb.rejected,messageArgs:[i.slice(d,p)],node:n,index:d,endIndex:p,result:r,ruleName:Jl})})})}})},Zl.ruleName=Jl,Zl.messages=Eb,Zl.meta=$2,h$=Zl}),f$={};A(f$,{default:()=>g$});var Xl,Pb,B2,oi,g$,pY=y(()=>{q(),we(),me(),Le(),V(),ze(),j(),O(),D(),Xl="selector-attribute-name-disallowed-list",Pb=I(Xl,{rejected:e=>`Disallowed name "${e}"`}),B2={url:"https://stylelint.io/user-guide/rules/selector-attribute-name-disallowed-list"},oi=e=>(t,r)=>{T(r,Xl,{actual:e,possible:[$,_]})&&t.walkRules(Q.attributeSelector,n=>{var i;pe(n)&&((i=xe(be(n),r,n))==null||i.walkAttributes(o=>{let a=o.qualifiedAttribute;if(!Pe(a,e))return;let s=o.sourceIndex+o.offsetOf("attribute"),l=s+a.length;P({message:Pb.rejected,messageArgs:[a],node:n,index:s,endIndex:l,result:r,ruleName:Xl})}))})},oi.primaryOptionArray=!0,oi.ruleName=Xl,oi.messages=Pb,oi.meta=B2,g$=oi}),b$={};A(b$,{default:()=>v$});var eu,jb,q2,ai,v$,mY=y(()=>{we(),me(),q(),V(),ze(),j(),O(),D(),eu="selector-attribute-operator-allowed-list",jb=I(eu,{rejected:e=>`Disallowed operator "${e}"`}),q2={url:"https://stylelint.io/user-guide/rules/selector-attribute-operator-allowed-list"},ai=e=>(t,r)=>{if(!T(r,eu,{actual:e,possible:[$]}))return;let n=new Set([e].flat());t.walkRules(Q.attributeSelectorWithOperator,i=>{var o;pe(i)&&((o=xe(be(i),r,i))==null||o.walkAttributes(a=>{let{operator:s}=a;if(!s||n.has(s))return;let l=a.sourceIndex+a.offsetOf("operator"),u=l+s.length;P({message:jb.rejected,messageArgs:[s],node:i,index:l,endIndex:u,result:r,ruleName:eu})}))})},ai.primaryOptionArray=!0,ai.ruleName=eu,ai.messages=jb,ai.meta=q2,v$=ai}),y$={};A(y$,{default:()=>w$});var tu,Ib,W2,si,w$,hY=y(()=>{we(),me(),q(),V(),ze(),j(),O(),D(),tu="selector-attribute-operator-disallowed-list",Ib=I(tu,{rejected:e=>`Disallowed operator "${e}"`}),W2={url:"https://stylelint.io/user-guide/rules/selector-attribute-operator-disallowed-list"},si=e=>(t,r)=>{if(!T(r,tu,{actual:e,possible:[$]}))return;let n=new Set([e].flat());t.walkRules(Q.attributeSelectorWithOperator,i=>{var o;pe(i)&&((o=xe(be(i),r,i))==null||o.walkAttributes(a=>{let{operator:s}=a;if(!s||!n.has(s))return;let l=a.sourceIndex+a.offsetOf("operator"),u=l+s.length;P({message:Ib.rejected,messageArgs:[s],node:i,index:l,endIndex:u,result:r,ruleName:tu})}))})},si.primaryOptionArray=!0,si.ruleName=tu,si.messages=Ib,si.meta=W2,w$=si});function fY(e){if(!e||e.trim()==="")return!1;let t=e.trim().replace(k$,"").replace(x$,"");return!(S$.test(t)||fw.test(t.charAt(0))||t.charAt(0)==="-"&&fw.test(t.charAt(1)))}var k$,x$,S$,fw,gY=y(()=>{k$=/\\[0-9a-f]{1,6}(\\r\\n|[ \t\r\n\f])?/gi,x$=/\\./g,S$=/[^\w-]/,fw=/\d/}),C$={};A(C$,{default:()=>z$});var ru,Ob,_2,nu,z$,bY=y(()=>{we(),me(),gY(),V(),ze(),j(),O(),D(),ru="selector-attribute-quotes",Ob=I(ru,{expected:e=>`Expected quotes around "${e}"`,rejected:e=>`Expected no quotes around "${e}"`}),_2={url:"https://stylelint.io/user-guide/rules/selector-attribute-quotes",fixable:!0},nu=e=>(t,r)=>{T(r,ru,{actual:e,possible:["always","never"]})&&t.walkRules(Q.attributeSelectorWithOperator,n=>{if(!pe(n))return;let i=xe(be(n),r,n);if(!i)return;let o=(a,s)=>{var p;let l=s.sourceIndex+s.offsetOf("value"),u=s.value||"",c=l+((p=s.raws.value)!=null?p:u).length,d=()=>{let m=a==="expected"?'"':null;s.quoteMark=m,n.selector=i.toString()};P({message:Ob[a],messageArgs:[u],index:l,endIndex:c,result:r,ruleName:ru,node:n,fix:{apply:d,node:n}})};i.walkAttributes(a=>{let{operator:s,value:l,quoted:u}=a;if(!(!s||!l)&&(!u&&e==="always"&&o("expected",a),u&&e==="never")){if(!a.raws.value||!fY(a.raws.value.slice(1,-1)))return;o("rejected",a)}})})},nu.ruleName=ru,nu.messages=Ob,nu.meta=_2,z$=nu});function _h(e){return!!($i.has(e)||/^(?:\d+|\d*\.\d+)%$/.test(e)||A$.test(e))}var A$,Uh=y(()=>{Ke(),A$=new RegExp(`^(?:${[...vN.values()].join("|")})\\s+(?:\\d+|\\d*\\.\\d+)%$`,"i")}),N$={};A(N$,{default:()=>E$});var iu,Tb,U2,ou,E$,vY=y(()=>{q(),we(),Uh(),me(),V(),ze(),j(),O(),D(),iu="selector-class-pattern",Tb=I(iu,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),U2={url:"https://stylelint.io/user-guide/rules/selector-class-pattern"},ou=e=>(t,r)=>{if(!T(r,iu,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkRules(Q.classSelector,i=>{var o;pe(i)&&(i.selectors.some(_h)||((o=xe(be(i),r,i))==null||o.walkClasses(a=>{let{value:s,sourceIndex:l}=a;if(n.test(s))return;let u=a.toString().trim(),c=l+u.length;P({result:r,ruleName:iu,message:Tb.expected,messageArgs:[u,e],node:i,index:l,endIndex:c})})))})},ou.ruleName=iu,ou.messages=Tb,ou.meta=U2,E$=ou});function P$(e){if(e.type!=="combinator"||e.value.startsWith("/")||e.value.endsWith("/"))return!1;if(e.parent!==void 0&&e.parent!==null){let t=e.parent;if(e===t.first||e===t.last)return!1}return!0}var j$=y(()=>{}),I$={};A(I$,{default:()=>O$});function yY(e){return e.replace(/\s+/g," ")}var au,Db,V2,li,O$,wY=y(()=>{we(),j$(),me(),q(),ze(),j(),O(),D(),au="selector-combinator-allowed-list",Db=I(au,{rejected:e=>`Disallowed combinator "${e}"`}),V2={url:"https://stylelint.io/user-guide/rules/selector-combinator-allowed-list"},li=e=>(t,r)=>{T(r,au,{actual:e,possible:[$]})&&t.walkRules(n=>{var i;pe(n)&&((i=xe(be(n),r,n))==null||i.walkCombinators(o=>{if(!P$(o))return;let{value:a}=o,s=yY(a);if(e.includes(s))return;let{sourceIndex:l,raws:u}=o,c=l+(u&&u.value||a).length;P({result:r,ruleName:au,message:Db.rejected,messageArgs:[s],node:n,index:l,endIndex:c})}))})},li.primaryOptionArray=!0,li.ruleName=au,li.messages=Db,li.meta=V2,O$=li}),T$={};A(T$,{default:()=>D$});function kY(e){return e.replace(/\s+/g," ")}var su,Lb,Q2,ui,D$,xY=y(()=>{we(),j$(),me(),q(),ze(),j(),O(),D(),su="selector-combinator-disallowed-list",Lb=I(su,{rejected:e=>`Disallowed combinator "${e}"`}),Q2={url:"https://stylelint.io/user-guide/rules/selector-combinator-disallowed-list"},ui=e=>(t,r)=>{T(r,su,{actual:e,possible:[$]})&&t.walkRules(n=>{var i;pe(n)&&((i=xe(be(n),r,n))==null||i.walkCombinators(o=>{if(!P$(o))return;let{value:a}=o,s=kY(a);if(!e.includes(s))return;let{sourceIndex:l,raws:u}=o,c=l+(u&&u.value||a).length;P({result:r,ruleName:su,message:Lb.rejected,messageArgs:[s],node:n,index:l,endIndex:c})}))})},ui.primaryOptionArray=!0,ui.ruleName=su,ui.messages=Lb,ui.meta=Q2,D$=ui}),L$={};A(L$,{default:()=>F$});var lu,Fb,Y2,ci,F$,SY=y(()=>{q(),we(),zt(),Fd(),me(),Le(),H(),ze(),j(),O(),D(),lu="selector-disallowed-list",Fb=I(lu,{rejected:e=>`Disallowed selector "${e}"`}),Y2={url:"https://stylelint.io/user-guide/rules/selector-disallowed-list"},ci=(e,t)=>(r,n)=>{if(!T(n,lu,{actual:e,possible:[$,_]},{actual:t,possible:{ignore:["inside-block","keyframe-selectors"],splitList:[ld]},optional:!0}))return;let i=L(t,"ignore","inside-block"),o=L(t,"ignore","keyframe-selectors"),a=t&&t.splitList;r.walkRules(s=>{var c;if(!pe(s)||o&&Ld(s))return;if(i){let{parent:d}=s;if(d&&d.type!=="root")return}function l(d,p,m){Pe(d,e)&&P({result:n,ruleName:lu,message:Fb.rejected,messageArgs:[d],node:s,index:p,endIndex:m})}let u=be(s);if(!a){l(u,0,u.length);return}(c=xe(u,n,s))==null||c.each(d=>{let{selector:p,index:m,endIndex:v}=at(d);l(p,m,v)})})},ci.primaryOptionArray=!0,ci.ruleName=lu,ci.messages=Fb,ci.meta=Y2,F$=ci}),M$={};A(M$,{default:()=>R$});var uu,Mb,G2,cu,R$,CY=y(()=>{q(),we(),me(),V(),ze(),j(),O(),D(),uu="selector-id-pattern",Mb=I(uu,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),G2={url:"https://stylelint.io/user-guide/rules/selector-id-pattern"},cu=e=>(t,r)=>{if(!T(r,uu,{actual:e,possible:[_,$]}))return;let n=$(e)?new RegExp(e):e;t.walkRules(Q.idSelector,i=>{var o;pe(i)&&((o=xe(be(i),r,i))==null||o.walkIds(a=>{let{value:s,sourceIndex:l}=a;if(n.test(s))return;let u=a.toString().trim(),c=l+u.length;P({result:r,ruleName:uu,message:Mb.expected,messageArgs:[u,e],node:i,index:l,endIndex:c})}))})},cu.ruleName=uu,cu.messages=Mb,cu.meta=G2,R$=cu}),$$={};A($$,{default:()=>B$});var du,Rb,K2,pu,B$,zY=y(()=>{q(),we(),zt(),Tr(),me(),V(),H(),ze(),j(),O(),D(),du="selector-max-attribute",Rb=I(du,{expected:(e,t)=>`Too many attribute selectors in "${e}", maximum ${t}`}),K2={url:"https://stylelint.io/user-guide/rules/selector-max-attribute"},pu=(e,t)=>(r,n)=>{if(!T(n,du,{actual:e,possible:cr},{actual:t,possible:{ignoreAttributes:[$,_]},optional:!0}))return;function i(o,a){let s=0;if(o.walkAttributes(l=>{L(t,"ignoreAttributes",l.attribute)||(s+=1)}),s>e){let{index:l,endIndex:u,selector:c}=at(o);P({ruleName:du,result:n,node:a,message:Rb.expected,messageArgs:[c,e],index:l,endIndex:u})}}r.walkRules(Q.attributeSelector,o=>{var a;pe(o)&&((a=xe(be(o),n,o))==null||a.each(s=>{i(s,o)}))})},pu.ruleName=du,pu.messages=Rb,pu.meta=K2,B$=pu}),q$={};A(q$,{default:()=>W$});var mu,$b,H2,hu,W$,AY=y(()=>{we(),zt(),Tr(),me(),V(),ze(),j(),O(),D(),mu="selector-max-class",$b=I(mu,{expected:(e,t)=>`Too many class selectors in "${e}", maximum ${t}`}),H2={url:"https://stylelint.io/user-guide/rules/selector-max-class"},hu=e=>(t,r)=>{if(!T(r,mu,{actual:e,possible:cr}))return;function n(i,o){let a=0;if(i.walkClasses(()=>{a+=1}),a>e){let{index:s,endIndex:l,selector:u}=at(i);P({ruleName:mu,result:r,node:o,message:$b.expected,messageArgs:[u,e],index:s,endIndex:l})}}t.walkRules(Q.classSelector,i=>{var o;pe(i)&&((o=xe(be(i),r,i))==null||o.each(a=>{n(a,i)}))})},hu.ruleName=mu,hu.messages=$b,hu.meta=H2,W$=hu}),_$={};A(_$,{default:()=>U$});var fu,Bb,J2,gu,U$,NY=y(()=>{we(),zt(),Tr(),me(),V(),ze(),j(),O(),D(),fu="selector-max-combinators",Bb=I(fu,{expected:(e,t)=>`Too many combinators in "${e}", maximum ${t}`}),J2={url:"https://stylelint.io/user-guide/rules/selector-max-combinators"},gu=e=>(t,r)=>{if(!T(r,fu,{actual:e,possible:cr}))return;function n(i,o){let a=0;if(i.walkCombinators(()=>{a+=1}),a>e){let{index:s,endIndex:l,selector:u}=at(i);P({ruleName:fu,result:r,node:o,message:Bb.expected,messageArgs:[u,e],index:s,endIndex:l})}}t.walkRules(Q.combinator,i=>{var o;pe(i)&&((o=xe(be(i),r,i))==null||o.each(a=>{n(a,i)}))})},gu.ruleName=fu,gu.messages=Bb,gu.meta=J2,U$=gu}),V$={};A(V$,{default:()=>Q$});var Z2,qb,Wb,X2,bu,_b,ez,vu,Q$,EY=y(()=>{Z2=K(dt(),1),q(),we(),zt(),Tr(),me(),V(),H(),ze(),j(),O(),D(),{isCombinator:qb,isPseudo:Wb,isRoot:X2}=Z2.default,bu="selector-max-compound-selectors",_b=I(bu,{expected:(e,t)=>`Too many compound selectors in "${e}", maximum ${t}`}),ez={url:"https://stylelint.io/user-guide/rules/selector-max-compound-selectors"},vu=(e,t)=>(r,n)=>{if(!T(n,bu,{actual:e,possible:cr},{actual:t,possible:{ignoreSelectors:[$,_]},optional:!0}))return;function i(a){let s=Wb(a)?a.value:a.toString();return L(t,"ignoreSelectors",s)}function o(a,s){let l=[];if(a.walk(u=>{i(u)||l.push(u)}),!(X2(a)||Wb(a))&&l.reduce((u,c,d,p)=>!qb(c)||d===0||d===p.length-1||qb(p[d+1])?u:u+1,0)+1>e){let{index:u,endIndex:c,selector:d}=at(a);P({ruleName:bu,result:n,node:s,message:_b.expected,messageArgs:[d,e],index:u,endIndex:c})}}r.walkRules(Q.combinator,a=>{var s;pe(a)&&((s=xe(be(a),n,a))==null||s.each(l=>{o(l,a)}))})},vu.ruleName=bu,vu.messages=_b,vu.meta=ez,Q$=vu});function PY(e){if((e==null?void 0:e.type)==="pseudo"){let t=e.value.toLowerCase().replace(/:+/,"");return Iv.has(t)||Ri.has(t)}return!1}var jY=y(()=>{Tt()}),Y$={};A(Y$,{default:()=>G$});var yu,Ub,tz,wu,G$,IY=y(()=>{q(),we(),zt(),jY(),Tr(),me(),V(),H(),ze(),j(),O(),D(),yu="selector-max-id",Ub=I(yu,{expected:(e,t)=>`Too many ID selectors in "${e}", maximum ${t}`}),tz={url:"https://stylelint.io/user-guide/rules/selector-max-id"},wu=(e,t)=>(r,n)=>{if(!T(n,yu,{actual:e,possible:cr},{actual:t,possible:{ignoreContextFunctionalPseudoClasses:[$,_]},optional:!0}))return;function i(o){let a=o;for(;a;){if(PY(a)&&L(t,"ignoreContextFunctionalPseudoClasses",a.value))return!0;a=a.parent}return!1}r.walkRules(Q.idSelector,o=>{var a;pe(o)&&((a=xe(be(o),n,o))==null||a.each(s=>{let l=0;if(s.walkIds(u=>{i(u)||(l+=1)}),l>e){let{index:u,endIndex:c,selector:d}=at(s);P({ruleName:yu,result:n,node:o,message:Ub.expected,messageArgs:[d,e],index:u,endIndex:c})}}))})},wu.ruleName=yu,wu.messages=Ub,wu.meta=tz,G$=wu}),K$={};A(K$,{default:()=>H$});var ku,Vb,rz,xu,H$,OY=y(()=>{we(),zt(),Tr(),me(),Tt(),V(),ze(),j(),O(),D(),ku="selector-max-pseudo-class",Vb=I(ku,{expected:(e,t)=>`Too many pseudo-classes in "${e}", maximum ${t}`}),rz={url:"https://stylelint.io/user-guide/rules/selector-max-pseudo-class"},xu=e=>(t,r)=>{if(!T(r,ku,{actual:e,possible:cr}))return;function n(i,o){let a=0;if(i.walk(s=>{s.type==="pseudo"&&(s.value.includes("::")||Bc.has(s.value.toLowerCase().slice(1))||(a+=1))}),a>e){let{index:s,endIndex:l,selector:u}=at(i);P({ruleName:ku,result:r,node:o,message:Vb.expected,messageArgs:[u,e],index:s,endIndex:l})}}t.walkRules(Q.pseudo,i=>{var o;pe(i)&&((o=xe(be(i),r,i))==null||o.each(a=>{n(a,i)}))})},xu.ruleName=ku,xu.messages=Vb,xu.meta=rz,H$=xu}),J$={};A(J$,{default:()=>Z$});var Su,Qb,nz,Yb,Cu,Z$,TY=y(()=>{iR(),q(),zt(),me(),H(),j(),Bh(),O(),D(),Su="selector-max-specificity",Qb=I(Su,{expected:(e,t,r)=>(e=`"${e}"${r?` ("${r}")`:""}`,`Too high specificity in ${e}, maximum "${t}"`)}),nz={url:"https://stylelint.io/user-guide/rules/selector-max-specificity"},Yb=()=>({a:0,b:0,c:0}),Cu=(e,t)=>(r,n)=>{if(!T(n,Su,{actual:e,possible:[c=>$(c)&&/^\d+,\d+,\d+$/.test(c)]},{actual:t,possible:{ignoreSelectors:[$,_]},optional:!0}))return;let i=c=>L(t,"ignoreSelectors",c),o=t!=null&&t.ignoreSelectors?c=>{var d;switch(c.type){case"attribute":case"class":case"id":case"tag":return i(c.toString())?Yb():void 0;case"pseudo":{if(!i(c.value.toLowerCase()))return;if(!((d=c.nodes)!=null&&d.length))return Yb();let p=kn(c),m=kn(c.clone({nodes:[]}));return{a:p.a-m.a,b:p.b-m.b,c:p.c-m.c}}default:}}:void 0,[a,s,l]=e.split(",").map(c=>Number.parseFloat(c));Cc(a),Cc(s),Cc(l);let u={a,b:s,c:l};r.walkRules(c=>{pe(c)&&ad(c,n).forEach(({selector:d,resolvedSelectors:p})=>{p.each(m=>{let v=kn(m,{customSpecificity:o});if(Gk(v,u)>0){let{index:h,endIndex:b,selector:f}=at(d),{selector:g}=at(m);g=g===f?"":g,P({ruleName:Su,result:n,node:c,message:Qb.expected,messageArgs:[f,e,g],index:h,endIndex:b})}})})})},Cu.ruleName=Su,Cu.messages=Qb,Cu.meta=nz,Z$=Cu}),Jk,X$=y(()=>{"use strict";Jk=[]}),e5=G((e,t)=>{"use strict";t.exports=[]});function t5(e){if(!/^[a-z]/.test(e)||!e.includes("-"))return!1;let t=e.toLowerCase();return!(t!==e||r5.default.includes(t)||Jk.includes(t))}var r5,n5=y(()=>{X$(),r5=K(e5(),1)});function DY(e){for(let t of e)if(!_v(t))return!1;return!0}var LY=y(()=>{ZE()});function Md(e){var i;if(!e.parent||!e.parent.parent)return!1;let t=e.parent.parent,r=t.type,n=t.value;if(n){let o=n.toLowerCase().replace(/:+/,"");if(r==="pseudo"&&(Wc.has(o)||Ri.has(o)||Pv.has(o)||Ev.has(o)))return!1}return!(((i=e.prev())==null?void 0:i.type)==="nesting"||e.value.startsWith("%")||e.value.startsWith("/")&&e.value.endsWith("/"))}var Rd=y(()=>{Tt()}),i5={};A(i5,{default:()=>o5});function FY(e){if(!e.parent)return!1;let t=e.parent.nodes.indexOf(e);return e.parent.nodes.slice(0,t).some(r=>BY(r))}function MY(e){if(!e.parent)return!1;let t=e.parent.nodes.indexOf(e);return e.parent.nodes.slice(0,t).some(r=>qY(r))}function RY(e){return!!(e.prev()&&!sd(e.prev())||e.next()&&!sd(e.next()))}function $Y(e){return WY(e.prev())}function sd(e){return e?e.type==="combinator":!1}function BY(e){return e?sd(e)&&$(e.value)&&DY(e.value):!1}function qY(e){return e?sd(e)&&e.value===">":!1}function WY(e){return sd(e)&&e.value==="+"}var zu,Gb,iz,Au,o5,_Y=y(()=>{q(),we(),zt(),n5(),Uh(),Tr(),LY(),me(),Rd(),V(),H(),ze(),j(),O(),D(),zu="selector-max-type",Gb=I(zu,{expected:(e,t)=>`Too many type selectors in "${e}", maximum ${t}`}),iz={url:"https://stylelint.io/user-guide/rules/selector-max-type"},Au=(e,t)=>(r,n)=>{if(!T(n,zu,{actual:e,possible:cr},{actual:t,possible:{ignore:["descendant","child","compounded","next-sibling","custom-elements"],ignoreTypes:[$,_]},optional:!0}))return;let i=L(t,"ignore","descendant"),o=L(t,"ignore","child"),a=L(t,"ignore","compounded"),s=L(t,"ignore","next-sibling"),l=L(t,"ignore","custom-elements");function u(c,d){let p=0;if(c.walkTags(m=>{L(t,"ignoreTypes",m.value)||i&&FY(m)||o&&MY(m)||a&&RY(m)||s&&$Y(m)||l&&m.value&&t5(m.value)||Md(m)&&(p+=1)}),p>e){let{selector:m,index:v,endIndex:h}=at(c);P({ruleName:zu,result:n,node:d,message:Gb.expected,messageArgs:[m,e],index:v,endIndex:h})}}r.walkRules(Q.typeSelector,c=>{var d;!pe(c)||c.selectors.some(_h)||(d=xe(be(c),n,c))==null||d.each(p=>{u(p,c)})})},Au.ruleName=zu,Au.messages=Gb,Au.meta=iz,o5=Au}),a5={};A(a5,{default:()=>s5});var Nu,Kb,oz,Eu,s5,UY=y(()=>{we(),zt(),Tr(),me(),q(),V(),H(),ze(),j(),O(),D(),Nu="selector-max-universal",Kb=I(Nu,{expected:(e,t)=>`Too many universal selectors in "${e}", maximum ${t}`}),oz={url:"https://stylelint.io/user-guide/rules/selector-max-universal"},Eu=(e,t)=>(r,n)=>{if(!T(n,Nu,{actual:e,possible:cr},{actual:t,possible:{ignoreAfterCombinators:[$]},optional:!0}))return;function i(o,a){let s=0;if(o.walkUniversals(l=>{let u=l.prev(),c=u&&u.value;L(t,"ignoreAfterCombinators",c)||(s+=1)}),s>e){let{index:l,endIndex:u,selector:c}=at(o);P({ruleName:Nu,result:n,node:a,message:Kb.expected,messageArgs:[c,e],index:l,endIndex:u})}}r.walkRules(Q.universalSelector,o=>{var a;pe(o)&&((a=xe(be(o),n,o))==null||a.each(s=>{i(s,o)}))})},Eu.ruleName=Nu,Eu.messages=Kb,Eu.meta=oz,s5=Eu}),l5={};A(l5,{default:()=>u5});var Pu,Hb,az,ju,u5,VY=y(()=>{q(),we(),zt(),me(),ze(),j(),O(),D(),Pu="selector-nested-pattern",Hb=I(Pu,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),az={url:"https://stylelint.io/user-guide/rules/selector-nested-pattern"},ju=(e,t)=>(r,n)=>{if(!T(n,Pu,{actual:e,possible:[_,$]},{actual:t,possible:{splitList:[ld]},optional:!0}))return;let i=$(e)?new RegExp(e):e,o=t&&t.splitList;r.walkRules(s=>{var u;if(s.parent&&s.parent.type!=="rule"||!pe(s))return;let l=be(s);o?(u=xe(l,n,s))==null||u.each(c=>{let{index:d,endIndex:p,selector:m}=at(c);a(s,m,d,p)}):a(s,l,0,l.length)});function a(s,l,u,c){i.test(l)||P({result:n,ruleName:Pu,message:Hb.expected,messageArgs:[l,e],node:s,index:u,endIndex:c})}},ju.ruleName=Pu,ju.messages=Hb,ju.meta=az,u5=ju});function c5(e){return e.startsWith(":--")}var d5=y(()=>{}),p5={};A(p5,{default:()=>m5});var sz,di,Iu,lz,uz,cz,dz,Ou,m5,QY=y(()=>{sz=K(dt(),1),Tt(),q(),we(),d5(),me(),yd(),Rd(),V(),H(),ze(),j(),O(),D(),di="selector-no-deprecated",Iu=I(di,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:e=>`Deprecated selector "${e}"`}),lz={url:"https://stylelint.io/user-guide/rules/selector-no-deprecated",fixable:!0},{isPseudoElement:uz}=sz.default,cz={"focus-ring":"focus-visible",matches:"is","-webkit-any":"is","-moz-any":"is","top-layer":"open","popup-open":"open","user-error":"user-invalid"},dz={content:"slotted"},Ou=(e,t)=>(r,n)=>{T(n,di,{actual:e},{actual:t,possible:{ignoreSelectors:[$,_]},optional:!0})&&r.walkRules(i=>{if(!pe(i))return;let o=be(i),a=Q.deprecatedPseudo.test(o),s=Q.deprecatedTypeSelector.test(o);if(!a&&!s)return;let l=xe(o,n,i);l&&(a&&l.walkPseudos(u=>{let{value:c,sourceIndex:d}=u;if(!vd(c)||c5(c))return;let p,m;if(uz(u)){p=c.slice(2);let f=p.toLowerCase();if(!mm.has(f))return;let g=dz[f];g&&(m=`::${g}`)}else{p=c.slice(1);let f=p.toLowerCase();if(!hm.has(f))return;let g=cz[f];g&&(m=`:${g}`)}if(L(t,"ignoreSelectors",p))return;let v,h,b;typeof m=="string"?(h=Iu.expected,b=[c,m],v=()=>{u.value=m,i.selector=l.toString()}):(h=Iu.rejected,b=[c]),P({result:n,ruleName:di,message:h,messageArgs:b,node:i,index:d,endIndex:d+c.length,fix:{apply:v,node:i}})}),s&&l.walkTags(u=>{let{sourceIndex:c,value:d}=u;Md(u)&&(L(t,"ignoreSelectors",d)||!dm.has(d.toLowerCase())&&!Ew.has(d)||P({result:n,ruleName:di,message:Iu.rejected,messageArgs:[d],node:i,index:c,endIndex:c+d.length}))}))})},Ou.ruleName=di,Ou.messages=Iu,Ou.meta=lz,m5=Ou}),h5={};A(h5,{default:()=>f5});function YY(e,t){let{children:r}=e;if((r==null?void 0:r.size)!==1)return!1;let n=r.first;return(n==null?void 0:n.type)!=="Identifier"?!1:t.has(n.name.toLowerCase())}var Tu,Jb,pz,Du,f5,GY=y(()=>{In(),Tt(),we(),Fd(),me(),V(),j(),O(),D(),Tu="selector-no-invalid",Jb=I(Tu,{rejected:(e,t)=>`Invalid selector "${e}"${t?`, ${t}`:""}`}),pz={url:"https://stylelint.io/user-guide/rules/selector-no-invalid"},Du=e=>(t,r)=>{T(r,Tu,{actual:e})&&t.walkRules(n=>{if(!pe(n)||Ld(n))return;let i=be(n),o=(s,l,u,c)=>{P({message:Jb.rejected,messageArgs:[u,c],node:n,index:s,endIndex:l,ruleName:Tu,result:r})},a;try{a=qr(i,{context:"selectorList",positions:!0})}catch(s){if(!(s instanceof SyntaxError))throw s;let l="offset"in s&&typeof s.offset=="number"?s.offset:0,u=s.message;o(l,Math.min(l+1,i.length),i,u.charAt(0).toLowerCase()+u.slice(1));return}Q.dirPseudoClass.test(i)&&Ni(a,{visit:"PseudoClassSelector",enter(s){if(s.name.toLowerCase()!=="dir"||!s.loc||YY(s,jv))return Ni.skip;let l=s.loc.start.offset,u=s.loc.end.offset,c=`expected ${[...jv].map(d=>`"${d}"`).join(" or ")}`;o(l,u,i.slice(l,u),c)}})})},Du.ruleName=Tu,Du.messages=Jb,Du.meta=pz,f5=Du});function gw(e){return g5.default.isPseudoClass(e)&&e.nodes.length>0&&b5.has(e.value.toLowerCase())}var g5,b5,v5=y(()=>{g5=K(dt(),1),b5=new Set(["is","matches","not","where","host"].map(e=>`:${e}`))});function KY(e){let t=Mi.default.root({source:e.source,sourceIndex:e.sourceIndex,value:"",nodes:[]}),r=new Map;return e.each(n=>{HY(n).forEach(i=>{let o=n.clone({nodes:[]});i.forEach(a=>{let s=a.clone();Mi.default.isTag(a)&&r.set(s,a),o.append(s)}),t.append(o)})}),{compoundSelectors:t,lookupMap:r}}function HY(e){let{terminatedCompoundSelectors:t,currentCompoundSelectors:r}=bw(e);return[...t,...r].filter(n=>n.length)}function bw(e){let t=[],r=[[]];return e.each(n=>{if(Mi.default.isCombinator(n)){t.push(...r),r=[[]];return}if(Mi.default.isPseudoElement(n)&&(t.push(...r),r=[[]]),Mi.default.isPseudoClass(n)&&n.value.toLowerCase()===":has"&&n.nodes.length){n.each(i=>{let o=bw(i);t.push(...o.terminatedCompoundSelectors,...o.currentCompoundSelectors)});return}if(gw(n)){let i=[];n.each(o=>{let a=bw(o);t.push(...a.terminatedCompoundSelectors),a.currentCompoundSelectors.forEach(s=>{s.length&&r.forEach(l=>{i.push([...l,...s])})})}),i.length&&(r=i);return}r.forEach(i=>{i.push(n)})}),{terminatedCompoundSelectors:t,currentCompoundSelectors:r}}var Mi,JY=y(()=>{Mi=K(dt(),1),v5()}),y5={};A(y5,{default:()=>k5});function w5(e){var o;let t=(o=e.parent)==null?void 0:o.parent;if(gw(t))return w5(t);let r=[e],n=e;for(;(n=n.prev())&&!(Nt.default.isCombinator(n)||Nt.default.isPseudoElement(n));)Nt.default.isComment(n)||r.push(n);r.reverse();let i=e;for(;(i=i.next())&&!(Nt.default.isCombinator(i)||Nt.default.isPseudoElement(i));)Nt.default.isComment(i)||r.push(i);for(;(i=r.at(-1))&&!(Nt.default.isIdentifier(i)||Nt.default.isClassName(i)||Nt.default.isAttribute(i)||Nt.default.isTag(i)||gw(i));)r.splice(-1,1);return r}var Nt,Lu,Zb,mz,Fu,k5,ZY=y(()=>{Nt=K(dt(),1),JY(),zt(),Fd(),v5(),me(),Rd(),V(),H(),j(),Bh(),O(),D(),Lu="selector-no-qualifying-type",Zb=I(Lu,{rejected:(e,t)=>`Disallowed qualifying type selector "${t}" in "${e}"`}),mz={url:"https://stylelint.io/user-guide/rules/selector-no-qualifying-type"},Fu=(e,t)=>(r,n)=>{if(!T(n,Lu,{actual:e,possible:[!0]},{actual:t,possible:{ignore:["attribute","class","id"]},optional:!0}))return;let i=L(t,"ignore","id"),o=L(t,"ignore","class"),a=L(t,"ignore","attribute");r.walkRules(Q.idClassAttributeSelector,s=>{if(!pe(s)||Ld(s))return;function l(u,c,d){let{compoundSelectors:p,lookupMap:m}=KY(u);p.walkTags(v=>{var x;let h=m.get(v);if(!h||!Md(h))return;let b=v.parent;if(!b||b.nodes.length===1)return;let f=b.nodes,g=w5(h);for(let w of f)if(Nt.default.isIdentifier(w)&&!i||Nt.default.isClassName(w)&&!o||Nt.default.isAttribute(w)&&!a){let k=g.join("").trim(),S,E;d?{index:S,endIndex:E}=at(c):(S=(x=v.sourceIndex)!=null?x:0,E=S+v.value.length),P({ruleName:Lu,result:n,node:s,message:Zb.rejected,messageArgs:[k,v.value],index:S,endIndex:E});break}})}ad(s,n).forEach(({selector:u,resolvedSelectors:c,nested:d})=>{l(c,u,d)})})},Fu.ruleName=Lu,Fu.messages=Zb,Fu.meta=mz,k5=Fu}),x5={};A(x5,{default:()=>S5});var Mu,Xb,hz,Ru,S5,XY=y(()=>{q(),we(),fd(),me(),V(),H(),ze(),j(),O(),D(),Mu="selector-no-vendor-prefix",Xb=I(Mu,{rejected:e=>`Vendor-prefixed selector "${e}"`}),hz={url:"https://stylelint.io/user-guide/rules/selector-no-vendor-prefix",fixable:!0},Ru=(e,t)=>(r,n)=>{T(n,Mu,{actual:e},{actual:t,possible:{ignoreSelectors:[$,_]},optional:!0})&&r.walkRules(Q.prefix,i=>{if(!pe(i))return;let o=xe(be(i),n,i);o&&o.walkPseudos(a=>{let{value:s}=a;if(!zr.selector(s)||L(t,"ignoreSelectors",s))return;let l=()=>{a.value=zr.unprefix(s),i.selector=o.toString()},u=a.sourceIndex,c=u+s.length;P({result:n,ruleName:Mu,message:Xb.rejected,messageArgs:[s],node:i,index:u,endIndex:c,fix:{apply:l,node:i}})})})},Ru.ruleName=Mu,Ru.messages=Xb,Ru.meta=hz,S5=Ru}),C5={};A(C5,{default:()=>A5});function eG(e,t,r){let n=e.nodes.filter(({nodes:o})=>o[0]&&vw(o[0])).map(o=>($e(o.nodes[0]),o.nodes[0].rawSpaceBefore="",o.nodes[0].rawSpaceAfter="",o)),i=n.shift();$e(i),$e(e.parent),e.empty(),e.nodes.push(i);for(let o of n){let a=z5(e),s=a.clone({nodes:[o]});s.rawSpaceBefore="",e.parent.insertAfter(a,s)}t.selector=r.toString()}function tG(e,t,r){let n=s=>{for(let l of s)$e(l.nodes[0]),l.nodes[0].rawSpaceBefore=" ",l.nodes[0].rawSpaceAfter=""},[i,...o]=e.nodes,a=e.next();if(!(i==null||i.nodes.length===0)){for($e(i.nodes[0]),i.nodes[0].rawSpaceBefore="",i.nodes[0].rawSpaceAfter="",n(o);xi(a);){let s=a.nodes,l=a;n(s),e.nodes=e.nodes.concat(s),a=a.next(),l.remove()}t.selector=r.toString()}}var fz,gz,bz,vz,ev,yz,wz,$u,tv,kz,vw,xi,xz,Bu,z5,A5,rG=y(()=>{fz=K(dt(),1),q(),we(),me(),V(),ze(),j(),O(),D(),{isAttribute:gz,isClassName:bz,isIdentifier:vz,isPseudoClass:ev,isTag:yz,isUniversal:wz}=fz.default,$u="selector-not-notation",tv=I($u,{expected:e=>`Expected ${e} :not() pseudo-class notation`}),kz={url:"https://stylelint.io/user-guide/rules/selector-not-notation",fixable:!0},vw=e=>ev(e)||gz(e)||bz(e)||wz(e)||vz(e)||yz(e),xi=e=>ev(e)&&e.value!==void 0&&e.value.toLowerCase()===":not",xz=e=>{if(e.length>1)return!1;$e(e[0],"list is never empty");let[t,r]=e[0].nodes;return t?r?!1:vw(t)&&!xi(t):!0},Bu=e=>(t,r)=>{T(r,$u,{actual:e,possible:["simple","complex"]})&&t.walkRules(Q.notPseudoClass,n=>{if(!pe(n))return;let i=xe(be(n),r,n);i&&i.walkPseudos(o=>{if(!xi(o))return;let a=o.sourceIndex,s=a+o.toString().trim().length,l;if(e==="complex"){let u=o.prev();if(!(u&&xi(u)))return;l=()=>tG(u,n,i)}else{let u=o.nodes;if(xz(u))return;let c=u.length>1&&u[1];c&&(!c.nodes.length||u.every(({nodes:d})=>d.length===1))&&(l=()=>eG(o,n,i))}P({message:tv.expected,messageArgs:[e],node:n,result:r,ruleName:$u,index:a,endIndex:s,fix:{apply:l,node:n}})})})},z5=({parent:e,sourceIndex:t})=>{$e(e);let r=e.nodes,n=r.findIndex(o=>o.sourceIndex>=t&&!xi(o)),i=n===-1?r[r.length-1]:r[n-1];return $e(i),i},Bu.ruleName=$u,Bu.messages=tv,Bu.meta=kz,A5=Bu}),N5={};A(N5,{default:()=>E5});var qu,rv,Sz,pi,E5,nG=y(()=>{V(),q(),Z(),lt(),we(),et(),me(),Le(),ze(),j(),O(),D(),qu="selector-pseudo-class-allowed-list",rv=I(qu,{rejected:e=>`Disallowed pseudo-class "${e}"`}),Sz={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-allowed-list"},pi=e=>(t,r)=>{if(!T(r,qu,{actual:e,possible:[$,_]}))return;function n(i,o,a=0){var s;(s=xe(i,r,o))==null||s.walkPseudos(({value:l,sourceIndex:u})=>{if(l.slice(0,2)==="::")return;let c=l.slice(1);if(Pe(c,e))return;let d=a+u;P({message:rv.rejected,messageArgs:[l],node:o,result:r,ruleName:qu,index:d,endIndex:d+l.length})})}t.walkRules(Q.pseudo,i=>{pe(i)&&n(be(i),i)}),t.walkAtRules(Se.pageName,i=>{Q.pseudo.test(i.params)&&Xe(i)&&n(st(i),i,Oe(i))})},pi.primaryOptionArray=!0,pi.ruleName=qu,pi.messages=rv,pi.meta=Sz,E5=pi}),P5={};A(P5,{default:()=>j5});var Wu,nv,Cz,mi,j5,iG=y(()=>{V(),q(),Z(),lt(),we(),et(),me(),Le(),ze(),j(),O(),D(),Wu="selector-pseudo-class-disallowed-list",nv=I(Wu,{rejected:e=>`Disallowed pseudo-class "${e}"`}),Cz={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-disallowed-list"},mi=e=>(t,r)=>{if(!T(r,Wu,{actual:e,possible:[$,_]}))return;function n(i,o,a=0){var s;(s=xe(i,r,o))==null||s.walkPseudos(({value:l,sourceIndex:u})=>{if(l.slice(0,2)==="::")return;let c=l.slice(1);if(!Pe(c,e))return;let d=a+u;P({message:nv.rejected,messageArgs:[l],node:o,result:r,ruleName:Wu,index:d,endIndex:d+l.length})})}t.walkRules(Q.pseudo,i=>{pe(i)&&n(be(i),i)}),t.walkAtRules(Se.pageName,i=>{Q.pseudo.test(i.params)&&Xe(i)&&n(st(i),i,Oe(i))})},mi.primaryOptionArray=!0,mi.ruleName=Wu,mi.messages=nv,mi.meta=Cz,j5=mi}),I5={};A(I5,{default:()=>O5});function oG(e,t){var n;let r=e.parent;for(;r;){if(it(r)){let i=be(r);if(i.includes("::")){let o=!1;if((n=xe(i,t,r))==null||n.walkPseudos(a=>{if(a.value.startsWith("::")&&pm.has(a.value.toLowerCase().slice(2)))return o=!0,!1}),o)return!0}}r=r.parent}return!1}var _u,iv,zz,Uu,O5,aG=y(()=>{Tt(),fe(),q(),Z(),lt(),we(),d5(),et(),me(),yd(),H(),ze(),j(),O(),D(),Dt(),_u="selector-pseudo-class-no-unknown",iv=I(_u,{rejected:e=>`Unknown pseudo-class selector "${e}"`}),zz={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-no-unknown"},Uu=(e,t)=>(r,n)=>{if(!T(n,_u,{actual:e},{actual:t,possible:{ignorePseudoClasses:[$,_]},optional:!0}))return;function i(o,a){var s;(s=xe(o,n,a))==null||s.walkPseudos(l=>{let u=l.value;if(!vd(u)||c5(u)||u.startsWith("::"))return;let c=u.replace(/^:*/,"").toLowerCase();if(Bc.has(c)||L(t,"ignorePseudoClasses",l.value.slice(1)))return;let d=Je.prefix(c),p;if(Ie(a)&&a.name==="page"){if(iN.has(c))return;p=Oe(a)+l.sourceIndex}else if(th.has(c)&&!d)p=l.sourceIndex;else{if(d||oN.has(c))return;let v=l,h=!1,b=!1;do if(v=v.prev(),v&&(v.type==="combinator"&&(h=!0),v.type==="nesting"&&!h&&(b=!0),v.value.startsWith("::")))break;while(v);if(v){let f=v.value.toLowerCase().slice(2);if(pm.has(f)&&Ov.has(c))return}else if(Ov.has(c)&&b&&oG(a,n))return;p=l.sourceIndex}let m=p+l.value.length;P({message:iv.rejected,messageArgs:[u],node:a,index:p,endIndex:m,ruleName:_u,result:n})})}r.walk(o=>{let a=null;if(o.type==="rule"){if(!pe(o))return;a=be(o)}else if(Ie(o)&&o.name==="page"&&o.params){if(!Xe(o))return;a=st(o)}a&&a.includes(":")&&i(a,o)})},Uu.ruleName=_u,Uu.messages=iv,Uu.meta=zz,O5=Uu}),T5={};A(T5,{default:()=>D5});var Vu,ov,Az,hi,D5,sG=y(()=>{q(),we(),me(),Le(),V(),ze(),j(),O(),D(),Vu="selector-pseudo-element-allowed-list",ov=I(Vu,{rejected:e=>`Disallowed pseudo-element "${e}"`}),Az={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-allowed-list"},hi=e=>(t,r)=>{T(r,Vu,{actual:e,possible:[$,_]})&&t.walkRules(Q.pseudoElement,n=>{var i;pe(n)&&((i=xe(be(n),r,n))==null||i.walkPseudos(o=>{let a=o.value;if(a.charAt(1)!==":")return;let s=a.slice(2);if(Pe(s,e))return;let l=o.sourceIndex,u=l+a.length;P({index:l,endIndex:u,message:ov.rejected,messageArgs:[a],node:n,result:r,ruleName:Vu})}))})},hi.primaryOptionArray=!0,hi.ruleName=Vu,hi.messages=ov,hi.meta=Az,D5=hi}),L5={};A(L5,{default:()=>F5});var Qu,av,Nz,Yu,F5,lG=y(()=>{we(),me(),Tt(),V(),ze(),j(),O(),D(),Qu="selector-pseudo-element-colon-notation",av=I(Qu,{expected:e=>`Expected ${e} colon pseudo-element notation`}),Nz={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-colon-notation",fixable:!0},Yu=e=>(t,r)=>{if(!T(r,Qu,{actual:e,possible:["single","double"]}))return;let n="";e==="single"?n=":":e==="double"&&(n="::"),t.walkRules(Q.pseudo,i=>{if(!pe(i))return;let o=xe(be(i),r,i);o&&o.walkPseudos(a=>{let s=a.value.replaceAll(":","");if(!Bc.has(s.toLowerCase()))return;let l=a.value.startsWith("::");if(e==="single"&&!l||e==="double"&&l)return;let u=()=>{a.replaceWith(a.clone({value:n+s})),i.selector=o.toString()};P({message:av.expected,messageArgs:[e],node:i,index:a.sourceIndex,endIndex:a.sourceIndex+(l?2:1),result:r,ruleName:Qu,fix:{apply:u,node:i}})})})},Yu.ruleName=Qu,Yu.messages=av,Yu.meta=Nz,F5=Yu}),M5={};A(M5,{default:()=>R5});var Gu,sv,Ez,fi,R5,uG=y(()=>{q(),we(),me(),Le(),V(),ze(),j(),O(),D(),Gu="selector-pseudo-element-disallowed-list",sv=I(Gu,{rejected:e=>`Disallowed pseudo-element "${e}"`}),Ez={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-disallowed-list"},fi=e=>(t,r)=>{T(r,Gu,{actual:e,possible:[$,_]})&&t.walkRules(Q.pseudoElement,n=>{var i;pe(n)&&((i=xe(be(n),r,n))==null||i.walkPseudos(o=>{let a=o.value;if(a.charAt(1)!==":")return;let s=a.slice(2);if(!Pe(s,e))return;let l=o.sourceIndex,u=l+a.length;P({index:l,endIndex:u,message:sv.rejected,messageArgs:[a],node:n,result:r,ruleName:Gu})}))})},fi.primaryOptionArray=!0,fi.ruleName=Gu,fi.messages=sv,fi.meta=Ez,R5=fi}),$5={};A($5,{default:()=>B5});var Ku,lv,Pz,Hu,B5,cG=y(()=>{q(),we(),me(),yd(),V(),H(),ze(),Tt(),j(),O(),D(),Dt(),Ku="selector-pseudo-element-no-unknown",lv=I(Ku,{rejected:e=>`Unknown pseudo-element selector "${e}"`}),Pz={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-no-unknown"},Hu=(e,t)=>(r,n)=>{T(n,Ku,{actual:e},{actual:t,possible:{ignorePseudoElements:[$,_]},optional:!0})&&r.walkRules(Q.pseudo,i=>{var o;pe(i)&&((o=xe(be(i),n,i))==null||o.walkPseudos(a=>{let s=a.value;if(!vd(s)||s.slice(0,2)!=="::"||L(t,"ignorePseudoElements",a.value.slice(2)))return;let l=s.slice(2);if(Je.prefix(l)||th.has(l.toLowerCase()))return;let u=a.sourceIndex,c=u+s.length;P({message:lv.rejected,messageArgs:[s],node:i,index:u,endIndex:c,ruleName:Ku,result:n})}))})},Hu.ruleName=Ku,Hu.messages=lv,Hu.meta=Pz,B5=Hu}),q5={};A(q5,{default:()=>W5});var Ju,uv,jz,Iz,Oz,Tz,Zu,W5,dG=y(()=>{q(),we(),Uh(),me(),Rd(),Tt(),H(),ze(),j(),O(),D(),Ju="selector-type-case",uv=I(Ju,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),jz={url:"https://stylelint.io/user-guide/rules/selector-type-case",fixable:!0},Iz=/(?:[^.#[:a-z-]|^)[a-z]/i,Oz=/[A-Z]/,Tz=/[a-z]/,Zu=(e,t)=>(r,n)=>{T(n,Ju,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreTypes:[$,_]},optional:!0})&&r.walkRules(i=>{let o=i.selector;if(!Iz.test(o)||e==="lower"&&!Oz.test(o)||e==="upper"&&!Tz.test(o)||!pe(i)||i.selectors.some(_h))return;let a=xe(be(i),n,i);a&&a.walkTags(s=>{if(!Md(s)||nN.has(s.value)||L(t,"ignoreTypes",s.value))return;let l=s.sourceIndex,u=s.value,c=e==="lower"?u.toLowerCase():u.toUpperCase();if(u===c)return;let d=l,p=l+u.length,m=()=>{s.value=c,i.selector=a.toString()};P({message:uv.expected,messageArgs:[u,c],node:i,index:d,endIndex:p,ruleName:Ju,result:n,fix:{apply:m,node:i}})})})},Zu.ruleName=Ju,Zu.messages=uv,Zu.meta=jz,W5=Zu}),_5={};A(_5,{default:()=>Q5});function pG(e){var r;let t=(r=e.parent)==null?void 0:r.parent;return Zk.default.isPseudoElement(t)&&U5.has(t.value)}function mG(e){var r;let t=(r=e.parent)==null?void 0:r.parent;return Zk.default.isPseudoClass(t)&&V5.has(t.value)}var Zk,Dz,Xu,cv,Lz,Fz,U5,V5,ec,Q5,hG=y(()=>{X$(),Zk=K(dt(),1),Dz=K(e5(),1),q(),we(),Tt(),n5(),Uh(),me(),Rd(),H(),ze(),j(),O(),D(),Xu="selector-type-no-unknown",cv=I(Xu,{rejected:e=>`Unknown type selector "${e}"`}),Lz={url:"https://stylelint.io/user-guide/rules/selector-type-no-unknown"},Fz=/(?:[^.#[:a-z-]|^)[a-z]/i,U5=new Set(["::highlight","::view-transition-group","::view-transition-image-pair","::view-transition-new","::view-transition-old"]),V5=new Set([":active-view-transition-type",":dir",":-moz-locale-dir",":state",":lang"]),ec=(e,t)=>(r,n)=>{T(n,Xu,{actual:e},{actual:t,possible:{ignore:["custom-elements","default-namespace"],ignoreNamespaces:[$,_],ignoreTypes:[$,_]},optional:!0})&&r.walkRules(i=>{var o;Fz.test(i.selector)&&pe(i)&&(i.selectors.some(_h)||((o=xe(be(i),n,i))==null||o.walkTags(a=>{if(!Md(a)||L(t,"ignore","custom-elements")&&t5(a.value)||L(t,"ignore","default-namespace")&&typeof a.namespace!="string"||L(t,"ignoreNamespaces",a.namespace)||L(t,"ignoreTypes",a.value)||pG(a)||mG(a))return;let s=a.value,l=s.toLowerCase(),u=[...Dz.default,"hatch","hatchpath","hatchPath"];if(rN.has(l)||u.includes(s)||Jk.includes(l))return;let c=a.sourceIndex,d=c+s.length;P({message:cv.rejected,messageArgs:[s],node:i,index:c,endIndex:d,ruleName:Xu,result:n})})))})},ec.ruleName=Xu,ec.messages=cv,ec.meta=Lz,Q5=ec}),Y5={};A(Y5,{default:()=>G5});function yw(e,t,r,n){let i=e.toLowerCase(),o=t.toLowerCase(),a=r&&r.toLowerCase(),s=n&&n.toLowerCase();return fG(i,o,a,s)?[e]:gG(i,o,a,s)?[e,t]:bG(i,o,a,s)?[e,t,r]:[e,t,r,n]}function fG(e,t,r,n){return e!==t?!1:e===r&&(r===n||!n)||!r&&!n}function gG(e,t,r,n){return e===r&&t===n||e===r&&!n&&e!==t}function bG(e,t,r,n){return t===n}function vG(e){let t=[],r=[],n=!1,i=!1,o=!1;for(let a of(0,Lc.default)(e).nodes){if(OA(a)){if(a.value==="/"){n=!0;continue}return{horizontal:[],vertical:[],sawSlash:!1,horizontalHasVar:!1,verticalHasVar:!1}}if(oo(a)&&(n?o=!0:i=!0),En(a)||Nn(a)){let s=Lc.default.stringify(a);n?r.push(s):t.push(s)}}return{horizontal:t,vertical:r,sawSlash:n,horizontalHasVar:i,verticalHasVar:o}}function yG(e,t,r,n,i,o){let[a="",s="",l="",u=""]=r,[c="",d="",p="",m=""]=n,v=i?r.join(" "):yw(a,s,l,u).filter(Boolean).join(" "),h=o?n.join(" "):yw(c,d,p,m).filter(Boolean).join(" "),b=`${v} / ${h}`.trim(),f=t.value.trim().toLowerCase().replace(/\s+/g," "),g=b.toLowerCase();if(f===g)return;let x=()=>{t.value=b},w=ie(t),k=w+t.value.length;P({message:lm.expected,messageArgs:[t.value,b],node:t,index:w,endIndex:k,result:e,ruleName:Si,fix:{apply:x,node:t}})}var Lc,Si,lm,Mz,Rz,$z,tc,G5,wG=y(()=>{Lc=K(de(),1),Z(),ct(),Or(),_e(),xd(),H(),j(),O(),D(),Dt(),fe(),Si="shorthand-property-no-redundant-values",lm=I(Si,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),Mz={url:"https://stylelint.io/user-guide/rules/shorthand-property-no-redundant-values",fixable:!0},Rz=new Set(["margin","margin-block","margin-inline","padding","padding-block","padding-inline","border-color","border-style","border-width","border-radius","border-block-color","border-block-style","border-block-width","border-inline-color","border-inline-style","border-inline-width","gap","grid-gap","overflow","overscroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-inline","scroll-padding","scroll-padding-block","scroll-padding-inline","inset","inset-block","inset-inline"]),$z=new Set(["margin","padding","border-color","border-style","border-width","scroll-margin","scroll-padding","inset"]),tc=(e,t)=>(r,n)=>{T(n,Si,{actual:e},{actual:t,possible:{ignore:["four-into-three-edge-values"]},optional:!0})&&r.walkDecls(i=>{let{prop:o,value:a}=i;if(!/\s/.test(a)||!ut(i)||!Ir(o)||!Be(a))return;let s=Je.unprefixed(o.toLowerCase());if(!Rz.has(s))return;if(s==="border-radius"){let{horizontal:x,vertical:w,sawSlash:k,horizontalHasVar:S,verticalHasVar:E}=vG(a);if(k){yG(n,i,x,w,S,E);return}}let l=[];for(let x of(0,Lc.default)(a).nodes){if(OA(x)||oo(x))return;(En(x)||Nn(x))&&l.push(Lc.default.stringify(x))}if(l.length<=1||l.length>4)return;let[u="",c="",d="",p=""]=l,m=yw(u,c,d,p);if(L(t,"ignore","four-into-three-edge-values")&&$z.has(s)&&l.length===4&&m.length===3)return;let v=m.filter(Boolean).join(" "),h=l.join(" ");if(v.toLowerCase()===h.toLowerCase())return;let b=()=>{i.value=i.value.replace(a,v)},f=ie(i),g=f+i.value.length;P({message:lm.expected,messageArgs:[a,v],node:i,index:f,endIndex:g,result:n,ruleName:Si,fix:{apply:b,node:i}})})},tc.ruleName=Si,tc.messages=lm,tc.meta=Mz,G5=tc}),K5={};A(K5,{default:()=>H5});var rc,dv,pv,Bz,nc,H5,kG=y(()=>{rt(),Z(),yd(),H(),j(),O(),D(),rc="string-no-newline",dv=/\r?\n/,pv=I(rc,{rejected:"Newline in string"}),Bz={url:"https://stylelint.io/user-guide/rules/string-no-newline"},nc=(e,t)=>(r,n)=>{if(!T(n,rc,{actual:e},{actual:t,possible:{ignore:["at-rule-preludes","declaration-values"]},optional:!0}))return;r.walk(a=>{switch(a.type){case"atrule":if(L(t,"ignore","at-rule-preludes"))break;o(a,a.params,Oe);break;case"decl":if(L(t,"ignore","declaration-values"))break;o(a,a.value,ie);break;case"rule":i(a);break}});function i(a){dv.test(a.selector)&&vd(a.selector)&&o(a,a.selector,()=>0)}function o(a,s,l){dv.test(s)&&St({css:s},{onParseError:u=>{if(!(u instanceof kr)||u.message!==ir.UnexpectedNewLineInString)return;let[,,c,d]=u.token,p=l(a);P({message:pv.rejected,messageArgs:[],node:a,index:p+c,endIndex:p+d+1,result:n,ruleName:rc})}})}},nc.ruleName=rc,nc.messages=pv,nc.meta=Bz,H5=nc}),J5={};A(J5,{default:()=>Z5});var ic,mv,qz,Wz,oc,Z5,xG=y(()=>{rt(),In(),V(),Z(),j(),O(),D(),ic="syntax-string-no-invalid",mv=I(ic,{rejected:e=>`Invalid syntax string "${e}"`}),qz={url:"https://stylelint.io/user-guide/rules/syntax-string-no-invalid"},Wz=xk({properties:{"-stylelint-syntax":"'*' | <syntax-component> [ <syntax-combinator> <syntax-component> ]*"},types:{"syntax-component":"<syntax-single-component> <syntax-multiplier>? | '<' transform-list '>'","syntax-single-component":"'<' <syntax-type-name> '>' | <ident>","syntax-type-name":"angle | color | custom-ident | image | integer | length | length-percentage | number | percentage | resolution | string | time | url | transform-function","syntax-combinator":"'|'","syntax-multiplier":"[ '#' | '+' ]"}}).lexer,oc=e=>(t,r)=>{T(r,ic,{actual:e})&&t.walkAtRules(Se.propertyName,n=>{n.walkDecls(CN.syntaxName,i=>{St({css:i.value}).filter(o=>l7(o)).forEach(o=>{let{error:a}=Wz.matchProperty("-stylelint-syntax",o[4].value);if(!a||!("mismatchLength"in a))return;let{name:s,rawMessage:l}=a;if(s!=="SyntaxMatchError"||l!=="Mismatch")return;let u=ie(i);P({message:mv.rejected,messageArgs:[o[4].value],node:i,index:u+o[2],endIndex:u+o[3]+1,result:r,ruleName:ic})})})})},oc.ruleName=ic,oc.messages=mv,oc.meta=qz,Z5=oc}),X5={};A(X5,{default:()=>e6});var _z,ac,hv,Uz,Vz,sc,e6,SG=y(()=>{_z=K(de(),1),Pr(),Z(),We(),Tn(),q(),V(),H(),j(),O(),D(),Dt(),ac="time-min-milliseconds",hv=I(ac,{expected:e=>`Too short duration, minimum ${e} milliseconds`}),Uz={url:"https://stylelint.io/user-guide/rules/time-min-milliseconds"},Vz=new Set(["animation-delay","transition-delay"]),sc=(e,t)=>(r,n)=>{if(!T(n,ac,{actual:e,possible:Sr},{actual:t,possible:{ignore:["delay"]},optional:!0}))return;let i=e,o=L(t,"ignore","delay");r.walkDecls(c=>{let d=c.value;if(!Q.time.test(d))return;let p=Je.unprefixed(c.prop.toLowerCase()),m=(0,_z.default)(qe(c)),v=0;m.walk(h=>{let{value:b,sourceIndex:f}=h,g=On(h);KA.has(p)&&!s(p)&&!l(g)&&u(c,0,d.length),HA.has(p)&&(v=a(g,b,v),!(l(g)||o&&v!==1)&&u(c,f,b.length))})});function a(c,d,p){let{unit:m}=c;return m!==null&&p++,d===","&&(p=0),p}function s(c){return!!(o&&Vz.has(c))}function l(c){let{unit:d,number:p}=c;if(d===null||p===null)return!0;let m=Number(p);if(m<=0)return!0;let v=d.toLowerCase();return!(v==="ms"&&m<i||v==="s"&&m*1e3<i)}function u(c,d,p){let m=ie(c)+d,v=m+p;P({result:n,ruleName:ac,message:hv.expected,messageArgs:[i],index:m,endIndex:v,node:c})}},sc.ruleName=ac,sc.messages=hv,sc.meta=Uz,e6=sc}),t6={};A(t6,{default:()=>r6});var Qz,lc,fv,Yz,gi,r6,CG=y(()=>{Qz=K(de(),1),Z(),V(),q(),Tn(),H(),j(),O(),Ht(),D(),lc="unit-allowed-list",fv=I(lc,{rejected:e=>`Disallowed unit "${e}"`}),Yz={url:"https://stylelint.io/user-guide/rules/unit-allowed-list"},gi=(e,t)=>(r,n)=>{if(!T(n,lc,{actual:e,possible:[$]},{optional:!0,actual:t,possible:{ignoreFunctions:[$,_],ignoreProperties:[Bt($,_)]}}))return;let i=[e].flat();function o(a,s,l){Q.dimension.test(s)&&(s=s.replaceAll("*",","),(0,Qz.default)(s).walk(u=>{if(u.type==="function"){let m=u.value.toLowerCase();if(m==="url"||L(t,"ignoreFunctions",m))return!1}let{number:c,unit:d}=On(u);if(!c||!d||i.includes(d.toLowerCase())||"prop"in a&&t&&L(t.ignoreProperties,d.toLowerCase(),a.prop))return;let p=l(a);P({index:p+u.sourceIndex+c.length,endIndex:p+u.sourceEndIndex,message:fv.rejected,messageArgs:[d],node:a,result:n,ruleName:lc})}))}r.walkAtRules(Se.mediaName,a=>o(a,a.params,Oe)),r.walkDecls(a=>o(a,a.value,ie))},gi.primaryOptionArray=!0,gi.ruleName=lc,gi.messages=fv,gi.meta=Yz,r6=gi});function n6(e){if(!i6.test(e.prop))return!1;let t=e.parent;return!t||!Ie(t)?!1:o6.test(t.name)}var i6,o6,a6=y(()=>{fe(),i6=/^unicode-range$/i,o6=/^font-face$/i}),s6={};A(s6,{default:()=>l6});function Gz(e){return St({css:e}).map(t=>t[0]!==z.Percentage?t:[z.Dimension,t[1],t[2],t[3],{value:t[4].value,unit:"%",type:ne.Number}])}var uc,gv,Kz,bi,l6,zG=y(()=>{rt(),Ct(),Jt(),Z(),V(),q(),lt(),We(),a6(),H(),j(),O(),Ht(),D(),uc="unit-disallowed-list",gv=I(uc,{rejected:e=>`Disallowed unit "${e}"`}),Kz={url:"https://stylelint.io/user-guide/rules/unit-disallowed-list"},bi=(e,t)=>(r,n)=>{if(!T(n,uc,{actual:e,possible:[$]},{optional:!0,actual:t,possible:{ignoreFunctions:[$,_],ignoreProperties:[Bt($,_)],ignoreMediaFeatureNames:[Bt($,_)]}}))return;let i=[e].flat();function o(s){if(!He(s))return!1;let l=s.getName().toLowerCase();return l==="url"||L(t,"ignoreFunctions",l)}function a(s,l,u,c,d){if(!ce(u)||u.value[0]!==z.Dimension)return;let[,,,p,{unit:m}]=u.value,v=m.toLowerCase();if(!i.includes(v)||d&&L(d,v,c))return;let h=l(s)+(p+1)-m.length;P({index:h,endIndex:h+m.length,message:gv.rejected,messageArgs:[m],node:s,result:n,ruleName:uc})}r.walkAtRules(Se.mediaName,s=>{let l=st(s);Q.dimension.test(l)&&Td(Gz(l)).forEach(u=>{let c={mediaFeatureName:void 0};u.walk(({node:d,state:p})=>{p&&(Ln(d)&&(p.mediaFeatureName=d.getName().toLowerCase()),p.mediaFeatureName&&ce(d)&&a(s,Oe,d,p.mediaFeatureName,t==null?void 0:t.ignoreMediaFeatureNames))},c)})}),r.walkDecls(s=>{if(n6(s))return;let l=qe(s);if(!Q.dimension.test(l))return;let u={ignored:!1};Dn(lo(Gz(l)),({node:c,state:d})=>{if(d&&!d.ignored){if(ce(c)){a(s,ie,c,s.prop,t==null?void 0:t.ignoreProperties);return}o(c)&&(d.ignored=!0)}},u)})},bi.primaryOptionArray=!0,bi.ruleName=uc,bi.messages=gv,bi.meta=Kz,l6=bi}),u6={};A(u6,{default:()=>c6});function AG(e){let t=e==="left-to-right"||e==="right-to-left"?"horizontalInline":"verticalInline";return new Map([...Qc].map(([r,n])=>[r,n[t]]))}var Hz,vi,Bp,Jz,cc,c6,NG=y(()=>{Hz=K(de(),1),io(),q(),Z(),We(),Tn(),ct(),V(),H(),j(),O(),gt(),D(),vi="unit-layout-mappings",Bp=I(vi,{rejected:(e,t)=>`Disallowed ${e} unit "${t}"`,expected:(e,t)=>`Expected "${e}" to be "${t}"`}),Jz={url:"https://stylelint.io/user-guide/rules/unit-layout-mappings",fixable:!0},cc=(e,t)=>(r,n)=>{var s,l,u;if(!T(n,vi,{actual:e,possible:["flow-relative","physical"]},{actual:t,possible:{ignoreUnits:[$,_]},optional:!0}))return;let i=(u=(l=(s=n.stylelint.config)==null?void 0:s.languageOptions)==null?void 0:l.directionality)==null?void 0:u.inline,o=i?AG(i):null;function a(c,d,p,m,v){P({index:p,endIndex:m,message:Bp.rejected,messageArgs:[c,d],node:v,result:n,ruleName:vi})}r.walkDecls(c=>{if(!Q.axisUnit.test(c.value)||!ut(c))return;let d=(0,Hz.default)(qe(c)),p=ie(c);d.walk(m=>{let{number:v,unit:h}=On(m);if(!v||!h||L(t,"ignoreUnits",h))return;let{sourceIndex:b,sourceEndIndex:f}=m,g=p+b+v.length,x=p+f;if(e==="physical"){if(!Rw.has(h))return;a("flow-relative",h,g,x,c);return}if(!Qc.has(h))return;if(!o){a("physical",h,g,x,c);return}let w=o.get(h);w&&P({index:g,endIndex:x,message:Bp.expected,messageArgs:[h,w],node:c,result:n,ruleName:vi,fix:{apply:()=>{m.value=v+w,ft(c,d.toString())},node:c}})})})},cc.ruleName=vi,cc.messages=Bp,cc.meta=Jz,c6=cc}),d6={};A(d6,{default:()=>p6});var qp,dc,bv,Zz,Xz,pc,p6,EG=y(()=>{rt(),Ct(),Jt(),Z(),V(),q(),lt(),We(),et(),ct(),_e(),a6(),H(),io(),j(),O(),D(),Dt(),qp=new Set(kN),qp.delete("x"),dc="unit-no-unknown",bv=I(dc,{rejected:e=>`Unknown unit "${e}"`}),Zz={url:"https://stylelint.io/user-guide/rules/unit-no-unknown"},Xz=/^(?:min-|max-)?resolution$/i,pc=(e,t)=>(r,n)=>{var l,u,c;if(!T(n,dc,{actual:e},{actual:t,possible:{ignoreUnits:[$,_],ignoreFunctions:[$,_]},optional:!0}))return;let i,o=(c=(u=(l=n.stylelint.config)==null?void 0:l.languageOptions)==null?void 0:u.syntax)==null?void 0:c.units;if(o){let d=Object.values(o).flatMap(p=>p.map(m=>m.toLowerCase()));i=new Set([...qp,...d])}else i=qp;let a=d=>{if(!Q.dimension.test(d))return;let p=St({css:d});if(p.some(m=>m[0]===z.Dimension&&!i.has(m[4].unit.toLowerCase())))return p},s=(d,p,m,v)=>{if(He(m)){let w=m.getName(),k=w.toLowerCase();if(k==="url"||L(t,"ignoreFunctions",w)){v.ignored=!0;return}if(Je.unprefixed(k)==="image-set"){v.allowX=!0;return}return}let[h,,,b,f]=m.value;if(h!==z.Dimension||L(t,"ignoreUnits",f.unit))return;let g=f.unit.toLowerCase();if(g==="x"&&v.allowX||i.has(g)&&g!=="x")return;let x=p(d)+(b+1)-g.length;P({message:bv.rejected,messageArgs:[f.unit],node:d,index:x,endIndex:x+g.length,result:n,ruleName:dc})};r.walkAtRules(Se.mediaName,d=>{if(!Xe(d))return;let p=st(d),m=a(p);m&&Td(m).forEach(v=>{let h={ignored:!1,allowX:!1};v.walk(({node:b,state:f})=>{if(f&&!f.ignored)if(Ln(b)){let g=b.getName();Xz.test(g)&&(f.allowX=!0)}else(He(b)||ce(b))&&s(d,Oe,b,f)},h)})}),r.walkDecls(d=>{if(!ut(d)||n6(d))return;let p=qe(d);if(!Be(p))return;let m=a(p);if(!m)return;let v={ignored:!1,allowX:d.prop.toLowerCase()==="image-resolution"};Dn(lo(m),({node:h,state:b})=>{b&&(b.ignored||(He(h)||ce(h))&&s(d,ie,h,b))},v)})},pc.ruleName=dc,pc.messages=bv,pc.meta=Zz,p6=pc});function PG(e){let t=e.toLowerCase();return!(hN.has(t)||Number.isFinite(Number.parseInt(t,10)))}var jG=y(()=>{Ke()});function IG(e){let t=e.toLowerCase();return!(fN.has(t)||Number.isFinite(Number.parseInt(t,10)))}var OG=y(()=>{Ke()}),m6={};A(m6,{default:()=>h6});var eA,mc,vv,tA,rA,nA,iA,Wp,hc,h6,TG=y(()=>{eA=K(de(),1),Ke(),q(),Z(),We(),Tn(),jG(),OG(),_e(),V(),H(),j(),O(),D(),mc="value-keyword-case",vv=I(mc,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),tA={url:"https://stylelint.io/user-guide/rules/value-keyword-case",fixable:!0},rA=new Set(["+","-","/","*","%"]),nA=new Set(["grid-row","grid-row-start","grid-row-end"]),iA=new Set(["grid-column","grid-column-start","grid-column-end"]),Wp=new Map;for(let e of bN)Wp.set(e.toLowerCase(),e);hc=(e,t)=>(r,n)=>{T(n,mc,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreProperties:[$,_],ignoreKeywords:[$,_],ignoreFunctions:[$,_],camelCaseSvgKeywords:[ld]},optional:!0})&&r.walkDecls(i=>{let o=i.value;if(!Q.keyword.test(o)||!Be(o))return;let a=i.prop,s=i.prop.toLowerCase(),l=(0,eA.default)(qe(i));l.walk(u=>{let c=u.value,d=c.toLowerCase();if(yN.has(d))return;if(u.type==="function"&&(d==="url"||d==="var"||d==="counter"||d==="counters"||d==="attr")||u.type==="function"&&L(t,"ignoreFunctions",c))return!1;let{unit:p}=On(u);if(u.type!=="word"||!Be(c)||o.includes("#")||rA.has(c)||p||s==="animation"&&!Mw.has(d)&&!Uc.has(d)||s==="animation-name"&&!Uc.has(d)||s==="font"&&!Fw.has(d)&&!Xr.has(d)||s==="font-family"&&!Xr.has(d)||s==="counter-increment"&&PG(d)||s==="counter-reset"&&IG(d)||nA.has(s)&&!dN.has(d)||iA.has(s)&&!pN.has(d)||s==="grid-area"&&!mN.has(d)||s==="list-style"&&!gN.has(d)&&!wm.has(d)||s==="list-style-type"&&!wm.has(d)||L(t,"ignoreKeywords",c)||L(t,"ignoreProperties",a))return;let m=c.toLocaleLowerCase(),v,h=t&&t.camelCaseSvgKeywords||!1;if(e==="lower"&&Wp.has(m)&&h?v=Wp.get(m):e==="lower"?v=c.toLowerCase():v=c.toUpperCase(),c===v)return;let b=ie(i)+u.sourceIndex,f=b+c.length,g=()=>{u.value=v,i.value=l.toString()};P({message:vv.expected,messageArgs:[c,v],node:i,index:b,endIndex:f,result:n,ruleName:mc,fix:{apply:g,node:i}})})})},hc.ruleName=mc,hc.messages=vv,hc.meta=tA,h6=hc}),f6={};A(f6,{default:()=>b6});function DG(e){let[t,r]=Km(e.block),[n,i]=Km(e.inline),o=e.inline==="left-to-right"||e.inline==="right-to-left",a={[t]:"block-start",[r]:"block-end",[n]:"inline-start",[i]:"inline-end"},s=new Map;for(let[l,u]of yn){let c=g6.get(l),d=new Map;switch(c){case"side":for(let p of u.keys()){let m=a[p];m&&d.set(p,m)}break;case"inlineSide":o&&(d.set(n,"inline-start"),d.set(i,"inline-end"));break;case"axis":d.set(o?"horizontal":"vertical","inline"),d.set(o?"vertical":"horizontal","block");break;case"startEnd":o&&(d.set(n,"start"),d.set(i,"end"));break}s.set(l,d)}return s}var oA,yi,_p,aA,g6,fc,b6,LG=y(()=>{oA=K(de(),1),q(),Ke(),V(),Z(),KR(),We(),ct(),_e(),fe(),H(),j(),O(),gt(),D(),yi="value-keyword-layout-mappings",_p=I(yi,{rejected:(e,t)=>`Disallowed ${e} keyword "${t}"`,expected:(e,t)=>`Expected "${e}" to be "${t}"`}),aA={url:"https://stylelint.io/user-guide/rules/value-keyword-layout-mappings",fixable:!0},g6=new Map([["offset-anchor","side"],["offset-position","side"],["clear","inlineSide"],["float","inlineSide"],["resize","axis"],["text-align","startEnd"],["text-align-last","startEnd"]]),fc=(e,t)=>(r,n)=>{var d,p;if(!T(n,yi,{actual:e,possible:["flow-relative","physical"]},{actual:t,possible:{ignoreProperties:[$,_],ignoreKeywords:[$,_]},optional:!0}))return;let i=(p=(d=n.stylelint.config)==null?void 0:d.languageOptions)==null?void 0:p.directionality,o=i==null?void 0:i.block,a=i==null?void 0:i.inline,s=o&&a?DG({block:o,inline:a}):null,l=e==="physical"?Q.layoutFlowRelativeKeyword:Q.layoutPhysicalKeyword,u=e==="physical"?wN:yn;function c(m,v,h,b,f){P({index:h,endIndex:b,message:_p.rejected,messageArgs:[m,v],node:f,result:n,ruleName:yi})}r.walkDecls(dr.layoutMappings,m=>{let{prop:v,value:h}=m;if(!l.test(h)||!ut(m)||L(t,"ignoreProperties",v))return;let b=v.toLowerCase(),f=u.get(b);$e(f);let g=(0,oA.default)(qe(m)),x=ie(m);g.walk(w=>{var B;if(!En(w))return;let{value:k,sourceIndex:S}=w;if(!Be(k))return;let E=k.toLowerCase();if(!f.has(E)||L(t,"ignoreKeywords",k))return;let C=x+S,R=C+k.length;if(e==="physical"){c("flow-relative",k,C,R,m);return}if(!s){c("physical",k,C,R,m);return}let N=(B=s.get(b))==null?void 0:B.get(E);if(!N){c("physical",k,C,R,m);return}P({index:C,endIndex:R,message:_p.expected,messageArgs:[k,N],node:m,result:n,ruleName:yi,fix:{apply:()=>{w.value=N,ft(m,g.toString())},node:m}})})})},fc.ruleName=yi,fc.messages=_p,fc.meta=aA,b6=fc}),v6={};A(v6,{default:()=>y6});var sA,gc,yv,lA,bc,y6,FG=y(()=>{sA=K(de(),1),Z(),fd(),ct(),Or(),V(),H(),j(),O(),gt(),D(),q(),gc="value-no-vendor-prefix",yv=I(gc,{rejected:e=>`Vendor-prefixed value "${e}"`}),lA={url:"https://stylelint.io/user-guide/rules/value-no-vendor-prefix",fixable:!0},bc=(e,t)=>(r,n)=>{T(n,gc,{actual:e},{optional:!0,actual:t,possible:{ignoreValues:[$,_]}})&&r.walkDecls(i=>{let{value:o}=i;if(!Q.prefix.test(o)||!ut(i)||!Ir(i.prop))return;let a=(0,sA.default)(o);a.walk(s=>{if(!zr.propertyValue(s.value)||L(t,"ignoreValues",s.value))return;let l=ie(i)+s.sourceIndex,u=()=>{s.value=zr.unprefix(s.value),ft(i,a.toString())};P({message:yv.rejected,messageArgs:[s.value],node:i,index:l,endIndex:l+s.value.length,result:n,ruleName:gc,fix:{apply:u,node:i}})})})},bc.ruleName=gc,bc.messages=yv,bc.meta=lA,y6=bc}),MG=G((e,t)=>{"use strict";t.exports=()=>{}});Zm();var Xk={noDeprecation:!0,cwd(){return"/"}},RG=()=>{},$G={};Er();q();Er();Er();function w6(e,t){let r,n;if(e&&e.root){e.root.source&&(n=e.root.source.input.file,!n&&"id"in e.root.source.input&&(n=e.root.source.input.id));let i=(Xk.noDeprecation?[]:e.messages.filter(s=>s.stylelintType==="deprecation")).map(s=>({text:s.text,reference:s.stylelintReference})),o=e.messages.filter(s=>s.stylelintType==="invalidOption").map(s=>({text:s.text})),a=e.messages.filter(s=>s.stylelintType==="parseError");e.messages=e.messages.filter(s=>s.stylelintType!=="deprecation"&&s.stylelintType!=="invalidOption"&&s.stylelintType!=="parseError"),r={source:n,deprecations:i,invalidOptionWarnings:o,parseErrors:a,errored:e.stylelint.stylelintError,warnings:e.messages.map(s=>({line:s.line,column:s.column,endLine:s.endLine,endColumn:s.endColumn,fix:s.fix,rule:s.rule,severity:s.severity,text:s.text,url:s.url})),ignored:e.stylelint.ignored,autofixed:e.stylelint.autofixed,_postcssResult:e}}else if(t){if(t.name!=="CssSyntaxError")throw t;r={source:t.file||"<input css 1>",deprecations:[],invalidOptionWarnings:[],parseErrors:[],errored:!0,warnings:[{line:t.line,column:t.column,endLine:t.endLine,endColumn:t.endColumn,rule:t.name,severity:Zr,text:`${t.reason} (${t.name})`}]}}else throw new Error("createPartialStylelintResult must be called with either postcssResult or CssSyntaxError");return r}var BG=(e={})=>{let t=e.cwd||Xk.cwd();return{_options:{...e,cwd:t},_postcssResultCache:new Map}};Cw();var qG=()=>!0,WG=q6({"./alpha-value-notation/index.mjs":()=>Promise.resolve().then(()=>(bB(),MA)),"./annotation-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(vB(),$A)),"./at-rule-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(yB(),qA)),"./at-rule-descriptor-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(AB(),NN)),"./at-rule-descriptor-value-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(NB(),PN)),"./at-rule-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(EB(),IN)),"./at-rule-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(MB(),FN)),"./at-rule-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(KB(),XN)),"./at-rule-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(HB(),tE)),"./at-rule-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(JB(),nE)),"./at-rule-prelude-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(ZB(),oE)),"./at-rule-property-required-list/index.mjs":()=>Promise.resolve().then(()=>(tq(),sE)),"./block-no-empty/index.mjs":()=>Promise.resolve().then(()=>(nq(),mE)),"./block-no-redundant-nested-style-rules/index.mjs":()=>Promise.resolve().then(()=>(iq(),fE)),"./color-function-alias-notation/index.mjs":()=>Promise.resolve().then(()=>(oq(),vE)),"./color-function-notation/index.mjs":()=>Promise.resolve().then(()=>(sq(),wE)),"./color-hex-alpha/index.mjs":()=>Promise.resolve().then(()=>(lq(),EE)),"./color-hex-length/index.mjs":()=>Promise.resolve().then(()=>(pq(),jE)),"./color-named/index.mjs":()=>Promise.resolve().then(()=>(zq(),$E)),"./color-no-hex/index.mjs":()=>Promise.resolve().then(()=>(Nq(),qE)),"./color-no-invalid-hex/index.mjs":()=>Promise.resolve().then(()=>(jq(),UE)),"./comment-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(Iq(),QE)),"./comment-no-empty/index.mjs":()=>Promise.resolve().then(()=>(Oq(),GE)),"./comment-pattern/index.mjs":()=>Promise.resolve().then(()=>(Tq(),HE)),"./comment-whitespace-inside/index.mjs":()=>Promise.resolve().then(()=>(Fq(),XE)),"./comment-word-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>($q(),tP)),"./container-name-pattern/index.mjs":()=>Promise.resolve().then(()=>(Bq(),nP)),"./custom-media-pattern/index.mjs":()=>Promise.resolve().then(()=>(qq(),oP)),"./custom-property-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(Uq(),uP)),"./custom-property-no-missing-var-function/index.mjs":()=>Promise.resolve().then(()=>(Vq(),dP)),"./custom-property-pattern/index.mjs":()=>Promise.resolve().then(()=>(Qq(),mP)),"./declaration-block-no-duplicate-custom-properties/index.mjs":()=>Promise.resolve().then(()=>(Gq(),fP)),"./declaration-block-no-duplicate-properties/index.mjs":()=>Promise.resolve().then(()=>(k8(),TL)),"./declaration-block-no-redundant-longhand-properties/index.mjs":()=>Promise.resolve().then(()=>(C8(),LL)),"./declaration-block-no-shorthand-property-overrides/index.mjs":()=>Promise.resolve().then(()=>(z8(),RL)),"./declaration-block-single-line-max-declarations/index.mjs":()=>Promise.resolve().then(()=>(A8(),BL)),"./declaration-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(E8(),WL)),"./declaration-no-important/index.mjs":()=>Promise.resolve().then(()=>(P8(),QL)),"./declaration-property-max-values/index.mjs":()=>Promise.resolve().then(()=>(j8(),GL)),"./declaration-property-unit-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(T8(),JL)),"./declaration-property-unit-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(D8(),XL)),"./declaration-property-value-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(L8(),t3)),"./declaration-property-value-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(F8(),n3)),"./declaration-property-value-keyword-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(M8(),o3)),"./declaration-property-value-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(vU(),T3)),"./display-notation/index.mjs":()=>Promise.resolve().then(()=>(xU(),M3)),"./font-family-name-quotes/index.mjs":()=>Promise.resolve().then(()=>(EU(),Q3)),"./font-family-no-duplicate-names/index.mjs":()=>Promise.resolve().then(()=>(PU(),G3)),"./font-family-no-missing-generic-family-keyword/index.mjs":()=>Promise.resolve().then(()=>(jU(),H3)),"./font-weight-notation/index.mjs":()=>Promise.resolve().then(()=>(OU(),Z3)),"./function-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(DU(),eF)),"./function-calc-no-unspaced-operator/index.mjs":()=>Promise.resolve().then(()=>(MU(),rF)),"./function-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(RU(),sF)),"./function-linear-gradient-no-nonstandard-direction/index.mjs":()=>Promise.resolve().then(()=>(BU(),uF)),"./function-name-case/index.mjs":()=>Promise.resolve().then(()=>(qU(),mF)),"./function-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(VU(),gF)),"./function-url-no-scheme-relative/index.mjs":()=>Promise.resolve().then(()=>(QU(),wF)),"./function-url-quotes/index.mjs":()=>Promise.resolve().then(()=>(YU(),xF)),"./function-url-scheme-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(GU(),AF)),"./function-url-scheme-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(KU(),EF)),"./hue-degree-notation/index.mjs":()=>Promise.resolve().then(()=>(JU(),jF)),"./import-notation/index.mjs":()=>Promise.resolve().then(()=>(ZU(),DF)),"./keyframe-block-no-duplicate-selectors/index.mjs":()=>Promise.resolve().then(()=>(cV(),JF)),"./keyframe-declaration-no-important/index.mjs":()=>Promise.resolve().then(()=>(dV(),XF)),"./keyframe-selector-notation/index.mjs":()=>Promise.resolve().then(()=>(hV(),tM)),"./keyframes-name-pattern/index.mjs":()=>Promise.resolve().then(()=>(bV(),nM)),"./layer-name-pattern/index.mjs":()=>Promise.resolve().then(()=>(vV(),oM)),"./length-zero-no-unit/index.mjs":()=>Promise.resolve().then(()=>(EV(),sM)),"./lightness-notation/index.mjs":()=>Promise.resolve().then(()=>(OV(),uM)),"./max-nesting-depth/index.mjs":()=>Promise.resolve().then(()=>(TV(),pM)),"./media-feature-name-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(ZV(),OM)),"./media-feature-name-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(XV(),DM)),"./media-feature-name-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(eQ(),MM)),"./media-feature-name-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(tQ(),$M)),"./media-feature-name-unit-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(rQ(),qM)),"./media-feature-name-value-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(nQ(),_M)),"./media-feature-name-value-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(iQ(),VM)),"./media-feature-range-notation/index.mjs":()=>Promise.resolve().then(()=>(oQ(),YM)),"./media-query-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(aQ(),KM)),"./media-type-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(sQ(),JM)),"./named-grid-areas-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(pQ(),XM)),"./nesting-selector-no-missing-scoping-root/index.mjs":()=>Promise.resolve().then(()=>(mQ(),rR)),"./no-descending-specificity/index.mjs":()=>Promise.resolve().then(()=>(SQ(),pR)),"./no-duplicate-at-import-rules/index.mjs":()=>Promise.resolve().then(()=>(zQ(),fR)),"./no-duplicate-selectors/index.mjs":()=>Promise.resolve().then(()=>(AQ(),bR)),"./no-empty-source/index.mjs":()=>Promise.resolve().then(()=>(NQ(),yR)),"./no-invalid-double-slash-comments/index.mjs":()=>Promise.resolve().then(()=>(EQ(),kR)),"./no-invalid-position-at-import-rule/index.mjs":()=>Promise.resolve().then(()=>(PQ(),SR)),"./no-invalid-position-declaration/index.mjs":()=>Promise.resolve().then(()=>(jQ(),zR)),"./no-irregular-whitespace/index.mjs":()=>Promise.resolve().then(()=>(DQ(),NR)),"./no-unknown-animations/index.mjs":()=>Promise.resolve().then(()=>(MQ(),FR)),"./no-unknown-custom-media/index.mjs":()=>Promise.resolve().then(()=>(BQ(),RR)),"./no-unknown-custom-properties/index.mjs":()=>Promise.resolve().then(()=>(qQ(),BR)),"./number-max-precision/index.mjs":()=>Promise.resolve().then(()=>(WQ(),WR)),"./property-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(_Q(),UR)),"./property-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(UQ(),QR)),"./property-layout-mappings/index.mjs":()=>Promise.resolve().then(()=>(QQ(),HR)),"./property-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(YQ(),ZR)),"./property-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(GQ(),e$)),"./property-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(KQ(),r$)),"./relative-selector-nesting-notation/index.mjs":()=>Promise.resolve().then(()=>(rY(),i$)),"./rule-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(oY(),s$)),"./rule-nesting-at-rule-required-list/index.mjs":()=>Promise.resolve().then(()=>(sY(),u$)),"./rule-selector-property-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(uY(),d$)),"./selector-anb-no-unmatchable/index.mjs":()=>Promise.resolve().then(()=>(dY(),m$)),"./selector-attribute-name-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(pY(),f$)),"./selector-attribute-operator-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(mY(),b$)),"./selector-attribute-operator-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(hY(),y$)),"./selector-attribute-quotes/index.mjs":()=>Promise.resolve().then(()=>(bY(),C$)),"./selector-class-pattern/index.mjs":()=>Promise.resolve().then(()=>(vY(),N$)),"./selector-combinator-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(wY(),I$)),"./selector-combinator-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(xY(),T$)),"./selector-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(SY(),L$)),"./selector-id-pattern/index.mjs":()=>Promise.resolve().then(()=>(CY(),M$)),"./selector-max-attribute/index.mjs":()=>Promise.resolve().then(()=>(zY(),$$)),"./selector-max-class/index.mjs":()=>Promise.resolve().then(()=>(AY(),q$)),"./selector-max-combinators/index.mjs":()=>Promise.resolve().then(()=>(NY(),_$)),"./selector-max-compound-selectors/index.mjs":()=>Promise.resolve().then(()=>(EY(),V$)),"./selector-max-id/index.mjs":()=>Promise.resolve().then(()=>(IY(),Y$)),"./selector-max-pseudo-class/index.mjs":()=>Promise.resolve().then(()=>(OY(),K$)),"./selector-max-specificity/index.mjs":()=>Promise.resolve().then(()=>(TY(),J$)),"./selector-max-type/index.mjs":()=>Promise.resolve().then(()=>(_Y(),i5)),"./selector-max-universal/index.mjs":()=>Promise.resolve().then(()=>(UY(),a5)),"./selector-nested-pattern/index.mjs":()=>Promise.resolve().then(()=>(VY(),l5)),"./selector-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(QY(),p5)),"./selector-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(GY(),h5)),"./selector-no-qualifying-type/index.mjs":()=>Promise.resolve().then(()=>(ZY(),y5)),"./selector-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(XY(),x5)),"./selector-not-notation/index.mjs":()=>Promise.resolve().then(()=>(rG(),C5)),"./selector-pseudo-class-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(nG(),N5)),"./selector-pseudo-class-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(iG(),P5)),"./selector-pseudo-class-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(aG(),I5)),"./selector-pseudo-element-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(sG(),T5)),"./selector-pseudo-element-colon-notation/index.mjs":()=>Promise.resolve().then(()=>(lG(),L5)),"./selector-pseudo-element-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(uG(),M5)),"./selector-pseudo-element-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(cG(),$5)),"./selector-type-case/index.mjs":()=>Promise.resolve().then(()=>(dG(),q5)),"./selector-type-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(hG(),_5)),"./shorthand-property-no-redundant-values/index.mjs":()=>Promise.resolve().then(()=>(wG(),Y5)),"./string-no-newline/index.mjs":()=>Promise.resolve().then(()=>(kG(),K5)),"./syntax-string-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(xG(),J5)),"./time-min-milliseconds/index.mjs":()=>Promise.resolve().then(()=>(SG(),X5)),"./unit-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(CG(),t6)),"./unit-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(zG(),s6)),"./unit-layout-mappings/index.mjs":()=>Promise.resolve().then(()=>(NG(),u6)),"./unit-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(EG(),d6)),"./value-keyword-case/index.mjs":()=>Promise.resolve().then(()=>(TG(),m6)),"./value-keyword-layout-mappings/index.mjs":()=>Promise.resolve().then(()=>(LG(),f6)),"./value-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(FG(),v6))}),uA=new Map;function _G(e){let t=uA.get(e);return t||(t=WG(`./${e}/index.mjs`).then(r=>r.default),uA.set(e,t)),t}var UG=["alpha-value-notation","annotation-no-unknown","at-rule-allowed-list","at-rule-descriptor-no-unknown","at-rule-descriptor-value-no-unknown","at-rule-disallowed-list","at-rule-empty-line-before","at-rule-no-deprecated","at-rule-no-unknown","at-rule-no-vendor-prefix","at-rule-prelude-no-invalid","at-rule-property-required-list","block-no-empty","block-no-redundant-nested-style-rules","color-function-alias-notation","color-function-notation","color-hex-alpha","color-hex-length","color-named","color-no-hex","color-no-invalid-hex","comment-empty-line-before","comment-no-empty","comment-pattern","comment-whitespace-inside","comment-word-disallowed-list","container-name-pattern","custom-media-pattern","custom-property-empty-line-before","custom-property-no-missing-var-function","custom-property-pattern","declaration-block-no-duplicate-custom-properties","declaration-block-no-duplicate-properties","declaration-block-no-redundant-longhand-properties","declaration-block-no-shorthand-property-overrides","declaration-block-single-line-max-declarations","declaration-empty-line-before","declaration-no-important","declaration-property-max-values","declaration-property-unit-allowed-list","declaration-property-unit-disallowed-list","declaration-property-value-allowed-list","declaration-property-value-disallowed-list","declaration-property-value-keyword-no-deprecated","declaration-property-value-no-unknown","display-notation","font-family-name-quotes","font-family-no-duplicate-names","font-family-no-missing-generic-family-keyword","font-weight-notation","function-allowed-list","function-calc-no-unspaced-operator","function-disallowed-list","function-linear-gradient-no-nonstandard-direction","function-name-case","function-no-unknown","function-url-no-scheme-relative","function-url-quotes","function-url-scheme-allowed-list","function-url-scheme-disallowed-list","hue-degree-notation","import-notation","keyframe-block-no-duplicate-selectors","keyframe-declaration-no-important","keyframe-selector-notation","keyframes-name-pattern","layer-name-pattern","length-zero-no-unit","lightness-notation","max-nesting-depth","media-feature-name-allowed-list","media-feature-name-disallowed-list","media-feature-name-no-unknown","media-feature-name-no-vendor-prefix","media-feature-name-unit-allowed-list","media-feature-name-value-allowed-list","media-feature-name-value-no-unknown","media-feature-range-notation","media-query-no-invalid","media-type-no-deprecated","named-grid-areas-no-invalid","nesting-selector-no-missing-scoping-root","no-descending-specificity","no-duplicate-at-import-rules","no-duplicate-selectors","no-empty-source","no-invalid-double-slash-comments","no-invalid-position-at-import-rule","no-invalid-position-declaration","no-irregular-whitespace","no-unknown-animations","no-unknown-custom-media","no-unknown-custom-properties","number-max-precision","property-allowed-list","property-disallowed-list","property-layout-mappings","property-no-deprecated","property-no-unknown","property-no-vendor-prefix","relative-selector-nesting-notation","rule-empty-line-before","rule-nesting-at-rule-required-list","rule-selector-property-disallowed-list","selector-anb-no-unmatchable","selector-attribute-name-disallowed-list","selector-attribute-operator-allowed-list","selector-attribute-operator-disallowed-list","selector-attribute-quotes","selector-class-pattern","selector-combinator-allowed-list","selector-combinator-disallowed-list","selector-disallowed-list","selector-id-pattern","selector-max-attribute","selector-max-class","selector-max-combinators","selector-max-compound-selectors","selector-max-id","selector-max-pseudo-class","selector-max-specificity","selector-max-type","selector-max-universal","selector-nested-pattern","selector-no-deprecated","selector-no-invalid","selector-no-qualifying-type","selector-no-vendor-prefix","selector-not-notation","selector-pseudo-class-allowed-list","selector-pseudo-class-disallowed-list","selector-pseudo-class-no-unknown","selector-pseudo-element-allowed-list","selector-pseudo-element-colon-notation","selector-pseudo-element-disallowed-list","selector-pseudo-element-no-unknown","selector-type-case","selector-type-no-unknown","shorthand-property-no-redundant-values","string-no-newline","syntax-string-no-invalid","time-min-milliseconds","unit-allowed-list","unit-disallowed-list","unit-layout-mappings","unit-no-unknown","value-keyword-case","value-keyword-layout-mappings","value-no-vendor-prefix"],k6={};for(let e of UG)Object.defineProperty(k6,e,{get(){return _G(e)},enumerable:!0,configurable:!0});var ex=k6;function x6(e,t){var r;return VG(e)?ex[e]:Promise.resolve((r=t==null?void 0:t._pluginFunctions)==null?void 0:r[e])}function VG(e){return e in ex}q();function QG(e,t){if(e==null)return null;if(!Array.isArray(e))return[e];let[r,n]=e;return e.length>0&&r==null?null:t&&!t.primaryOptionArray||e.length===1&&Array.isArray(r)||e.length===2&&!Cr(r)&&Cr(n)?e:[e]}async function YG(e){if(!e.rules)return e;let t={};for(let[r,n]of Object.entries(e.rules)){let i=await x6(r,e);i?t[r]=QG(n,i):t[r]=[]}return e.rules=t,e}var GG=(e,t)=>{let r={...t},n=["fix","computeEditInfo","ignoreDisables","quiet","validate"];for(let i of n){let o=e._options[i];o&&(r[i]=i==="fix"||o)}return r},KG=async(e,t,{config:r})=>({config:await YG(GG(e,r))}),S6=({stylelint:e,filePath:t})=>KG(e,t,{config:e._options.config}),HG=()=>[];function JG(e,t){return e.startsWith("_")?void 0:t}function ZG(e){return JSON.stringify(e,JG)}var XG=()=>ZG;Zm();hd();var eK=()=>{};E3();var tK=()=>{};hd();var rK=e=>e,C6=e=>e===!0||e==="true"||e===""||e==="strict"||e==="lax"?"strict":void 0,nK=Wi();async function iK(e,{customSyntax:t,filePath:r,code:n}={}){let i=r?rK(r):void 0,o=i?e._postcssResultCache.get(i):void 0;if(o)return o;let a=C6(e._options.fix),s=t!=null?t:await oK(a==="lax"),l={from:r,syntax:s},u;if(n!==void 0?u=n:r&&(u=await tK(r,"utf8")),u===void 0)throw new Error("code or filePath required");let c=await nK.process(u,l).async();return i&&e._postcssResultCache.set(i,c),c}async function oK(e){return{parse:await(e?Promise.resolve().then(()=>K(MG(),1)).then(t=>t.default):Wi.parse),stringify:Wi.stringify}}var aK=async()=>[],sK=()=>{},lK=()=>Promise.resolve(!1),uK=()=>!1;Er();bd();Er();bd();q();fe();uh();rt();function wv(e,t,r,n,i,o){return{node:e,start:t,end:i||void 0,strictStart:r,strictEnd:typeof o=="boolean"?o:void 0,description:n}}function cK(e,t){var x;let r=t.stylelint.disabledRanges,n=[];r[Mt]=n;let i,o=(x=t.stylelint.config)==null?void 0:x.configurationComment;return e.walk(w=>{var k,S,E,C,R,N,B,re,te,ae,le,oe,Fe,Ue,At,Ve,Y,J,M,W;if(Kr(w)){if(i){i===w&&(i=null);return}let X=w.next();if(!(!Gc(w)&&Oi(w.text,o)&&X&&Kr(X)&&(w.text.includes("--")||X.text.startsWith("--")))){p(w,w.source,w.text);return}let F=(E=(S=(k=w.source)==null?void 0:k.end)==null?void 0:S.line)!=null?E:0,ee=w.clone(),ve=X;for(;!Gc(ve)&&!Oi(ve.text,o);){let ge=(N=(R=(C=ve.source)==null?void 0:C.end)==null?void 0:R.line)!=null?N:0;if(F+1!==ge)break;ee.text+=`
37
+ ${ve.text}`,ee.source&&ve.source&&(ee.source.end=ve.source.end),i=ve;let se=ve.next();if(!se||!Kr(se))break;ve=se,F=ge}p(ee,ee.source,ee.text)}if(it(w)){let X=0,F=(re=(B=w.raws)==null?void 0:B.selector)==null?void 0:re.raw;d(w,F,X),X+=(te=F==null?void 0:F.length)!=null?te:w.selector.length;let ee=(ae=w.raws)==null?void 0:ae.between;d(w,ee,X)}if(Ie(w)){let X=w.name.length+1,F=(le=w.raws)==null?void 0:le.afterName;d(w,F,X),X+=(oe=F==null?void 0:F.length)!=null?oe:0;let ee=(Ue=(Fe=w.raws)==null?void 0:Fe.params)==null?void 0:Ue.raw;d(w,ee,X),X+=(At=ee==null?void 0:ee.length)!=null?At:w.params.length;let ve=(Ve=w.raws)==null?void 0:Ve.between;d(w,ve,X)}if(eo(w)){let X=w.prop.length,F=(Y=w.raws)==null?void 0:Y.between;d(w,F,X),X+=(J=F==null?void 0:F.length)!=null?J:0;let ee=(W=(M=w.raws)==null?void 0:M.value)==null?void 0:W.raw;d(w,ee,X)}}),t;function a(w,k,S){if(k.start){let E=k.start.line,C=v(S);for(let R of m(xm,S))l(w,E,R,C)}}function s(w,k,S){if(k.end){let E=k.end.line,C=v(S);for(let R of m(Sm,S))l(w,E+1,R,C)}}function l(w,k,S,E){if(g(Mt))throw w.error("All rules have already been disabled",{plugin:"stylelint"});if(S===Mt)for(let C of Object.keys(r)){if(g(C))continue;let R=C===Mt;h(w,k,C,R,E),b(k,C,R)}else{if(g(S))throw w.error(`"${S}" has already been disabled`,{plugin:"stylelint"});h(w,k,S,!0,E),b(k,S,!0)}}function u(w,k,S){let E=v(S);for(let C of m(km,S)){let R=C===Mt;if(g(C))throw w.error(R?"All rules have already been disabled":`"${C}" has already been disabled`,{plugin:"stylelint"});if(k.start){let N=k.start.line;if(R)for(let B of Object.keys(r))h(w,N,B,B===Mt,E);else h(w,N,C,!0,E)}}}function c(w,k,S){var E;for(let C of m(Cm,S)){let R=(E=k.end)==null?void 0:E.line;if(Cc(R),C===Mt){if(Object.values(r).every(N=>{if(N.length===0)return!0;let B=N[N.length-1];return B&&typeof B.end=="number"}))throw w.error("No rules have been disabled",{plugin:"stylelint"});for(let[N,B]of Object.entries(r)){let re=B[B.length-1];(!re||!re.end)&&b(R,N,N===Mt)}continue}if(g(Mt)&&r[C]===void 0){r[C]=n.map(({start:N,end:B,description:re})=>wv(w,N,!1,re,B,!1)),b(R,C,!0);continue}if(g(C)){b(R,C,!0);continue}throw w.error(`"${C}" has not been disabled`,{plugin:"stylelint"})}}function d(w,k,S){k&&k.includes("/*")&&k.includes("*/")&&St({css:k}).forEach(E=>{if(!Ph(E))return;let[,C,R,N]=E,B=w.rangeBy({index:R+S,endIndex:N+1+S});p(w,B,C.slice(2,-2).trim())})}function p(w,k,S){if(k&&Oi(S,o))switch(dE(S,o)){case xm:a(w,k,S);break;case Sm:s(w,k,S);break;case km:u(w,k,S);break;case Cm:c(w,k,S);break}}function m(w,k){let S=rq(w,o),E=k.slice(S.length).split(/\s-{2,}\s/u)[0];Xi(E);let C=E.trim().split(",").filter(Boolean).map(R=>R.trim());return C.length===0?[Mt]:C}function v(w){let k=w.indexOf("--");if(k!==-1)return w.slice(k+2).trim()}function h(w,k,S,E,C){let R=wv(w,k,E,C);f(S);let N=r[S];$e(N),N.push(R)}function b(w,k,S){let E=r[k],C=E?E[E.length-1]:null;C&&(C.end=w,C.strictEnd=S)}function f(w){r[w]||(r[w]=n.map(({node:k,start:S,end:E,description:C})=>wv(k,S,!1,C,E,!1)))}function g(w){let k=r[w];if(!k)return!1;let S=k[k.length-1];return S?!S.end:!1}}Cw();Er();function dK(){return[]}function pK(e,t=[]){return`Unknown rule ${e}.${t.length>0?` Did you mean ${t.join(", ")}?`:""}`}var kv=new Map;function mK(e,t,r){let n=kv.has(e)?kv.get(e):dK(e);kv.set(e,n),r.warn(pK(e,n),{severity:Zr,rule:e,node:t,index:0})}var cA={enabled:!1};async function hK(e,t,r){var p,m,v,h;let{abortSignal:n}=e;t.stylelint.stylelintError=!1,t.stylelint.stylelintWarning=!1,t.stylelint.quiet=r.quiet,t.stylelint.quietDeprecationWarnings=e.quietDeprecationWarnings,t.stylelint.config=r;let i=t.root;if(!("type"in i))throw new Error("Unexpected Postcss root object!");let o=(p=i.source)==null?void 0:p.input.css.match(/\r?\n/),a=o?o[0]:`
38
+ `,s={configurationComment:r.configurationComment||gd,newline:a};cK(i,t);let l=i&&i.constructor.name==="Document"?i.nodes:[i],u=[],c;if(r.rules){let b=new Map(Object.keys(ex).map((f,g)=>[f,g]));c=Object.keys(r.rules).sort((f,g)=>{var x,w;return((x=b.get(f))!=null?x:-1)-((w=b.get(g))!=null?w:-1)})}else c=[];let d=await Promise.all(c.map(async b=>{let f=await x6(b,r);return[b,f]}));for(let[b,f]of d){if(f===void 0){u.push(Promise.all(l.map(B=>mK(b,B,t))));continue}let g=(m=r.rules)==null?void 0:m[b];if(g===null||g[0]===null)continue;(v=f.meta)!=null&&v.deprecated&&!e.quietDeprecationWarnings&&gK(t,b);let x=g[0],w=g[1],k=r.defaultSeverity||Sw;t.stylelint.ruleSeverities[b]=w&&w.severity||k,t.stylelint.customMessages[b]=w&&w.message,t.stylelint.customUrls[b]=w&&w.url,t.stylelint.ruleMetadata[b]=f.meta||{};let S=((h=f.meta)==null?void 0:h.fixable)&&!e.quietDeprecationWarnings,E=(w==null?void 0:w.disableFix)!==!0&&r.fix&&fK(t,b),C={...s,get fix(){return S&&Fc("`context.fix` is deprecated.","CONTEXT_FIX",`Pass a \`fix\` callback to the \`report\` utility of "${b}" instead.`),E}},R=f(x,w,C);async function N(B){return cA.enabled?cA.time(b,()=>R(B,t))():R(B,t)}u.push(Promise.all(l.map(N)).then(B=>{if(n!=null&&n.aborted)throw n.reason;return B}))}return Promise.all(u)}function fK({stylelint:{disabledRanges:e}},t){var r;return!((r=e[Mt])!=null&&r.length)&&!e[t]}function gK(e,t){let r=`The "${t}" rule is deprecated.`;Fc(r,"RULE",`Please be aware that the "${t}" rule will soon be either removed or renamed.`),e.warn(r,{stylelintType:"deprecation"})}var bK=()=>{};Er();Er();function vK({rule:e,message:t,severity:r,node:n,postcssResult:i}){let{source:o}=n;if(o!=null&&o.start)switch(i.warn(t,{rule:e,severity:r,node:n,start:o.start,end:o.end}),r){case Zr:i.stylelint.stylelintError=!0;break;case um:i.stylelint.stylelintWarning=!0;break;default:break}}function yK(e){var n;let t=e.stylelint.disabledRanges,r=(n=e.stylelint.config)==null?void 0:n.rules;if(r&&Object.values(r).some(i=>dA(i)))for(let[i,o]of Object.entries(t))for(let a of o)r[i]&&dA(r[i])&&vK({rule:"reportDisables",message:`Rule "${i}" may not be disabled`,severity:Zr,node:a.node,postcssResult:e})}function dA(e){return!e||!e[1]?!1:!!e[1].reportDisables}var wK=()=>{};async function kK(e,t={}){if(!t.filePath&&t.code===void 0&&!t.existingPostcssResult)return Promise.reject(new Error("You must provide filePath, code, or existingPostcssResult"));let{abortSignal:r}=t;if(r!=null&&r.aborted)throw r.reason;let n=t.code!==void 0,i=n?t.codeFilename:t.filePath;if(i!==void 0&&!Jm(i))return n?Promise.reject(new Error("codeFilename must be an absolute path")):Promise.reject(new Error("filePath must be an absolute path"));let o=await lK(e,i).catch(p=>{if(n&&uK(p))return!1;throw p});if(r!=null&&r.aborted)throw r.reason;if(o)return t.existingPostcssResult,void 0;let a=await S6({stylelint:e,searchPath:i,filePath:i});if(r!=null&&r.aborted)throw r.reason;if(!a)return Promise.reject(new Error("Config file not found"));let s=a.config,l=t.existingPostcssResult;if(t.cache&&(e._fileCache.calcHashOfConfig(s),t.filePath&&!e._fileCache.hasFileChanged(t.filePath)))return;let u=l||await iK(e,{code:t.code,codeFilename:t.codeFilename,filePath:i,customSyntax:s._resolvedCustomSyntax});if(r!=null&&r.aborted)throw r.reason;let c=await aK(s);if(r!=null&&r.aborted)throw r.reason;let d=Object.assign(u,{stylelint:{ruleSeverities:{},customMessages:{},customUrls:{},ruleMetadata:{},fixersData:{},rangesOfComputedEditInfos:[],disabledRanges:{},lexer:A3(s),referenceRoots:c}});if(await hK(e._options,d,s),r==null?void 0:r.aborted)throw r.reason;return yK(d),bK(d),sK(d),eK(d),wK(d),d}Er();function pA({results:e,maxWarnings:t,formatter:r,cwd:n}){let i=!1;for(let a of e)(a.errored||a.parseErrors.length>0||a.warnings.some(s=>s.severity===Zr))&&(i=!0,a.errored=!0);let o={cwd:n,errored:i,results:[],report:"",reportedDisables:[],ruleMetadata:xK(e)};if(t!==void 0){let a=e.reduce((s,l)=>s+l.warnings.length,0);a>t&&(o.maxWarningsExceeded={maxWarnings:t,foundWarnings:a})}return o.report=r(e,o),o.results=e,o}function xK(e){var r;let t={};for(let n of e){let i=(r=n._postcssResult)==null?void 0:r.stylelint.ruleMetadata;i!==void 0&&Object.assign(t,i)}return t}async function SK({stylelint:e,name:t,default:r=void 0}){var o,a,s,l,u;let n=e._options,i=(a=n[t])!=null?a:(o=n.config)==null?void 0:o[t];return(u=i!=null?i:(l=(s=await S6({stylelint:e,failIfNoConfig:!1}))==null?void 0:s.config)==null?void 0:l[t])!=null?u:r}var PK=RG("stylelint:standalone"),CK=["**/node_modules/**"];async function z6({abortSignal:e,allowEmptyInput:t,cache:r,cacheLocation:n,cacheStrategy:i,code:o,codeFilename:a,config:s,configBasedir:l,configFile:u,customSyntax:c,cwd:d=Xk.cwd(),disableDefaultIgnores:p,files:m,fix:v,computeEditInfo:h,formatter:b,_defaultFormatter:f,globbyOptions:g,ignoreDisables:x,ignorePath:w,ignorePattern:k,maxWarnings:S,quiet:E,quietDeprecationWarnings:C=!1,reportDescriptionlessDisables:R,reportInvalidScopeDisables:N,reportNeedlessDisables:B,reportUnscopedDisables:re,suppressAll:te,suppressRule:ae,suppressLocation:le,validate:oe=!0}){var M,W;let Fe=Date.now(),Ue=!m&&$(o);if(!(m&&!$(o)||Ue))return Promise.reject(new Error("You must pass stylelint a `files` glob or a `code` string, though not both"));let At;try{At=HG({cwd:d,ignorePath:w,ignorePattern:k})}catch(X){return Promise.reject(X)}let Ve=BG({allowEmptyInput:t,cache:r,cacheLocation:n,cacheStrategy:i,config:s,configFile:u,configBasedir:l,cwd:d,formatter:b,_defaultFormatter:f,ignoreDisables:x,ignorePath:w,reportNeedlessDisables:B,reportInvalidScopeDisables:N,reportDescriptionlessDisables:R,reportUnscopedDisables:re,maxWarnings:S,customSyntax:c,fix:v,computeEditInfo:h,quiet:E,quietDeprecationWarnings:C,validate:oe}),Y=await XG(Ve),J=await SK({stylelint:Ve,name:"maxWarnings",default:S});if(!m){Xi(o);let X=a!==void 0&&!Jm(a)?kw(d,a):a;if(X&&(!qG(At,[xw(d,X)]).length||!p&&$G.isMatch(X,CK,{dot:!0})))return pA({results:[],maxWarnings:J,quietDeprecationWarnings:C,formatter:Y,cwd:d});let F,ee;try{if(e!=null&&e.aborted)throw e.reason;let ge=await kK(Ve,{code:o,codeFilename:X,abortSignal:e});if((W=(M=C6(Ve._options.fix))!=null?M:s==null?void 0:s.fix)!=null&&W&&!ge.stylelint.ignored&&(ee=ge.root.toString(ge.opts.syntax),o!==ee&&(ge.stylelint.autofixed=!0)),e==null?void 0:e.aborted)throw e.reason;F=w6(ge)}catch(ge){F=zK(ge)}await AK(Ve,F,X);let ve=pA({results:[F],maxWarnings:J,quietDeprecationWarnings:C,formatter:Y,cwd:d});return ee!==void 0&&(ve.code=ee),ve}}function zK(e){if(e instanceof Error&&e.name==="CssSyntaxError")return w6(void 0,e);throw e}async function AK(){}Object.assign(globalThis,{stylelint:{lint:z6,version:nx}});})();