@bhsd/stylelint-browserify 17.7.0 → 17.9.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.
- package/bundle/stylelint.min.js +27 -27
- package/package.json +12 -11
package/bundle/stylelint.min.js
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
"use strict";(()=>{var k6=Object.defineProperty;var Ck=e=>{throw TypeError(e)};var x6=(e,t,r)=>t in e?k6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var _=(e,t,r)=>x6(e,typeof t!="symbol"?t+"":t,r),S6=(e,t,r)=>t.has(e)||Ck("Cannot "+r);var gh=(e,t,r)=>(S6(e,t,"read from private field"),r?r.call(e):t.get(e)),Ak=(e,t,r)=>t.has(e)?Ck("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r);var C6=Object.create,bm=Object.defineProperty,A6=Object.getOwnPropertyDescriptor,N6=Object.getOwnPropertyNames,z6=Object.getPrototypeOf,E6=Object.prototype.hasOwnProperty,P6=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),N=(e,t)=>{for(var r in t)bm(e,r,{get:t[r],enumerable:!0})},CA=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of N6(t))!E6.call(e,i)&&i!==r&&bm(e,i,{get:()=>t[i],enumerable:!(n=A6(t,i))||n.enumerable});return e},re=(e,t,r)=>(r=e!=null?C6(z6(e)):{},CA(t||!e||!e.__esModule?bm(r,"default",{value:e,enumerable:!0}):r,e)),AA=e=>CA(bm({},"__esModule",{value:!0}),e),Wy={};N(Wy,{isAbsolute:()=>vm,join:()=>_y,normalize:()=>NA,relative:()=>Uy});var vm,_y,NA,Uy,_c=y(()=>{"use strict";vm=()=>!0,_y=()=>"",NA=()=>{},Uy=()=>""}),It,Hr,Fp,Vy,Ar=y(()=>{It="all",Hr="error",Fp="warning",Vy=Hr});function Nk(e){return Object.prototype.toString.call(e)==="[object Object]"}function O6(e){var t,r;return Nk(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(Nk(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}var T6=y(()=>{});function Uc(e){return typeof e=="boolean"||e instanceof Boolean}function Mp(e){return typeof e=="function"||e instanceof Function}function kr(e){return typeof e=="number"||e instanceof Number}function I6(e){return e!==null&&typeof e=="object"}function U(e){return e instanceof RegExp}function $(e){return typeof e=="string"||e instanceof String}function xr(e){return O6(e)}function Ue(e,t=void 0){t?console.assert(e,t):console.assert(e)}function ac(e){console.assert(kr(e),`"${e}" must be a number`)}function _i(e){console.assert($(e),`"${e}" must be a string`)}function zk(e){return!(!xr(e)||!kr(e.line)||!kr(e.column))}function j6(e){return!(!xr(e)||!zk(e.start)||!zk(e.end))}var q=y(()=>{T6()}),vc,Qy=y(()=>{vc=()=>{}}),D6=G((e,t)=>{var r=40,n=41,i=39,o=34,a=92,s=47,u=44,l=58,c=42,d=117,p=85,h=43,v=/^[a-f0-9?-]+$/i;t.exports=function(m){for(var b=[],g=m,f,x,w,k,S,E,A,T,z=0,B=g.charCodeAt(z),te=g.length,J=[{nodes:b}],ve=0,ce,le="",Re="",Be="";z<te;)if(B<=32){f=z;do f+=1,B=g.charCodeAt(f);while(B<=32);k=g.slice(z,f),w=b[b.length-1],B===n&&ve?Be=k:w&&w.type==="div"?(w.after=k,w.sourceEndIndex+=k.length):B===u||B===l||B===s&&g.charCodeAt(f+1)!==c&&(!ce||ce&&ce.type==="function"&&ce.value!=="calc")?Re=k:b.push({type:"space",sourceIndex:z,sourceEndIndex:f,value:k}),z=f}else if(B===i||B===o){f=z,x=B===i?"'":'"',k={type:"string",sourceIndex:z,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(z+1,f),k.sourceEndIndex=k.unclosed?f:f+1,b.push(k),z=f+1,B=g.charCodeAt(z)}else if(B===s&&g.charCodeAt(z+1)===c)f=g.indexOf("*/",z),k={type:"comment",sourceIndex:z,sourceEndIndex:f+2},f===-1&&(k.unclosed=!0,f=g.length,k.sourceEndIndex=f),k.value=g.slice(z+2,f),b.push(k),z=f+2,B=g.charCodeAt(z);else if((B===s||B===c)&&ce&&ce.type==="function"&&ce.value==="calc")k=g[z],b.push({type:"word",sourceIndex:z-Re.length,sourceEndIndex:z+k.length,value:k}),z+=1,B=g.charCodeAt(z);else if(B===s||B===u||B===l)k=g[z],b.push({type:"div",sourceIndex:z-Re.length,sourceEndIndex:z+k.length,value:k,before:Re,after:""}),Re="",z+=1,B=g.charCodeAt(z);else if(r===B){f=z;do f+=1,B=g.charCodeAt(f);while(B<=32);if(T=z,k={type:"function",sourceIndex:z-le.length,value:le,before:g.slice(T+1,f)},z=f,le==="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);A=f;do A-=1,B=g.charCodeAt(A);while(B<=32);T<A?(z!==A+1?k.nodes=[{type:"word",sourceIndex:z,sourceEndIndex:A+1,value:g.slice(z,A+1)}]:k.nodes=[],k.unclosed&&A+1!==f?(k.after="",k.nodes.push({type:"space",sourceIndex:A+1,sourceEndIndex:f,value:g.slice(A+1,f)})):(k.after=g.slice(A+1,f),k.sourceEndIndex=f)):(k.after="",k.nodes=[]),z=f+1,k.sourceEndIndex=k.unclosed?f:z,B=g.charCodeAt(z),b.push(k)}else ve+=1,k.after="",k.sourceEndIndex=z+1,b.push(k),J.push(k),b=k.nodes=[],ce=k;le=""}else if(n===B&&ve)z+=1,B=g.charCodeAt(z),ce.after=Be,ce.sourceEndIndex+=Be.length,Be="",ve-=1,J[J.length-1].sourceEndIndex=z,J.pop(),ce=J[ve],b=ce.nodes;else{f=z;do B===a&&(f+=1),f+=1,B=g.charCodeAt(f);while(f<te&&!(B<=32||B===i||B===o||B===u||B===l||B===s||B===r||B===c&&ce&&ce.type==="function"&&ce.value==="calc"||B===s&&ce.type==="function"&&ce.value==="calc"||B===n&&ve));k=g.slice(z,f),r===B?le=k:(d===k.charCodeAt(0)||p===k.charCodeAt(0))&&h===k.charCodeAt(1)&&v.test(k.slice(2))?b.push({type:"unicode-range",sourceIndex:z,sourceEndIndex:f,value:k}):b.push({type:"word",sourceIndex:z,sourceEndIndex:f,value:k}),z=f}for(z=J.length-1;z;z-=1)J[z].unclosed=!0,J[z].sourceEndIndex=g.length;return J[0].nodes}}),L6=G((e,t)=>{t.exports=function r(n,i,o){var a,s,u,l;for(a=0,s=n.length;a<s;a+=1)u=n[a],o||(l=i(u,a,n)),l!==!1&&u.type==="function"&&Array.isArray(u.nodes)&&r(u.nodes,i,o),o&&i(u,a,n)}}),F6=G((e,t)=>{function r(i,o){var a=i.type,s=i.value,u,l;return o&&(l=o(i))!==void 0?l:a==="word"||a==="space"?s:a==="string"?(u=i.quote||"",u+s+(i.unclosed?"":u)):a==="comment"?"/*"+s+(i.unclosed?"":"*/"):a==="div"?(i.before||"")+s+(i.after||""):Array.isArray(i.nodes)?(u=n(i.nodes,o),a!=="function"?u:s+"("+(i.before||"")+u+(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}),M6=G((e,t)=>{var r=45,n=43,i=46,o=101,a=69;function s(u){var l=u.charCodeAt(0),c;if(l===n||l===r){if(c=u.charCodeAt(1),c>=48&&c<=57)return!0;var d=u.charCodeAt(2);return c===i&&d>=48&&d<=57}return l===i?(c=u.charCodeAt(1),c>=48&&c<=57):l>=48&&l<=57}t.exports=function(u){var l=0,c=u.length,d,p,h;if(c===0||!s(u))return!1;for(d=u.charCodeAt(l),(d===n||d===r)&&l++;l<c&&(d=u.charCodeAt(l),!(d<48||d>57));)l+=1;if(d=u.charCodeAt(l),p=u.charCodeAt(l+1),d===i&&p>=48&&p<=57)for(l+=2;l<c&&(d=u.charCodeAt(l),!(d<48||d>57));)l+=1;if(d=u.charCodeAt(l),p=u.charCodeAt(l+1),h=u.charCodeAt(l+2),(d===o||d===a)&&(p>=48&&p<=57||(p===n||p===r)&&h>=48&&h<=57))for(l+=p===n||p===r?3:2;l<c&&(d=u.charCodeAt(l),!(d<48||d>57));)l+=1;return{number:u.slice(0,l),unit:u.slice(l)}}}),me=G((e,t)=>{var r=D6(),n=L6(),i=F6();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=M6(),o.walk=n,o.stringify=i,t.exports=o});function at(e){var t,r;return(r=(t=e.raws.params)==null?void 0:t.raw)!=null?r:e.params}var st=y(()=>{});function be(e){let t=e.raws;return t.selector&&t.selector.raw||e.selector}var ke=y(()=>{});function Te(e){var t,r;return zA(e)+((r=(t=e.raws.afterName)==null?void 0:t.length)!=null?r:0)}function R6(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 zA(e){return 1+e.name.length}function $6(e){return Te(e)+at(e).length}function EA(e){let{prop:t}=e.raws,r=I6(t);return PA([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 EA(e)+PA([t||":",r&&"prefix"in r&&r.prefix])}function B6(e){return be(e).length}function q6(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 PA(e){return e.reduce((t,r)=>$(r)?t+r.length:t,0)}var X=y(()=>{st(),ke(),q()});function Qe(e){let t=e.raws;return t.value&&t.value.raw||e.value}var Ye=y(()=>{});function OA(e){return TA.test(e)}var TA,IA=y(()=>{TA=/@\{.+?\}/});function jA(e){return DA.test(e)}var DA,LA=y(()=>{DA=/\$\(.+?\)/});function FA(e){return MA.test(e)}var MA,RA=y(()=>{MA=/#\{.+?\}/s});function $A(e){return BA.test(e)}var BA,qA=y(()=>{BA=/\{.+?\}/s});function ym(e){return!!(OA(e)||FA(e)||$A(e)||jA(e))}var wm=y(()=>{IA(),LA(),RA(),qA()});function $e(e){let t=e;return/^[-+*/]/.test(e.charAt(0))&&(t=t.slice(1)),!(t.startsWith("$")||/^.+\.\$/.test(e)||/^.+\.[-\w]+\(/.test(e)||t.startsWith("@")||ym(t)||/__MSG_\S+__/.test(e))}var qe=y(()=>{wm()});function ur(e){return e.type==="root"}function lt(e){return e.type==="rule"}function Oe(e){return e.type==="atrule"}function Yr(e){return e.type==="comment"}function Ui(e){return e.type==="decl"}function Yb(e){return e.type==="document"}function WA(e){return e.type==="div"}function An(e){return e.type==="function"}function km({type:e}){return e==="word"}function Ek(e){return!!e.source}var he=y(()=>{});function Ee(e,t){if(!Array.isArray(e))return Pk(e,t);for(let r of e){let n=Pk(r,t);if(n)return n}return!1}function Pk(e,t){if(!Array.isArray(t))return Tk(e,t);for(let r of t){let n=Tk(e,r);if(n)return n}return!1}function Ok(e,t){var n;let r=e.match(t);return r?{match:e,pattern:t,substring:(n=r[0])!=null?n:""}:!1}function Tk(e,t){if(t instanceof RegExp)return Ok(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=Ok(e,n);return i&&(i.pattern=t),i}return e===t?{match:e,pattern:t,substring:e}:!1}var Le=y(()=>{});function R(e,t,r){return!!(e&&e[t]&&typeof r=="string"&&Ee(r,e[t]))}var H=y(()=>{Le()});function W6(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 _6=y(()=>{he()});function U6(e,t){return e.endsWith(`(${t})`)?e:`${e} (${t})`}var V6=y(()=>{});function Q6(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 u=i[s],l=t.text[s];if(u!==l)break;r++,o++}let a=t.text.length;for(let s=0;s<i.length;s++){let u=i.length-1-s;if(u<o)break;let l=i[u],c=t.text.length-1-s;if(c<o)break;let d=t.text[c];if(l!==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 Y6=y(()=>{});function G6(e,t){return!(e[1]<=t[0]||e[0]>=t[1])}var K6=y(()=>{});function P(e){var w,k,S;let{node:t,result:r,ruleName:n,fix:i,...o}=e,a=H6(e),{disabledRanges:s,quiet:u,ruleSeverities:l,config:{defaultSeverity:c,ignoreDisables:d}={},customMessages:{[n]:p=o.message},customUrls:{[n]:h},ruleMetadata:{[n]:v}}=r.stylelint,{messageArgs:m=[],severity:b=l[n]}=o,g=(k=(w=Mp(b)?b(...m):b)!=null?w:c)!=null?k:Vy;if(u&&g===Fp)return;if((Mp(i)||Yy(i))&&v&&!v.fixable)throw new Error(`The "${n}" rule requires "meta.fixable" to be truthy if the "fix" callback is being passed`);if(J6(e,a.start.line)||_A(n,a.start.line,s)&&(((S=r.stylelint).disabledWarnings||(S.disabledWarnings=[])).push({rule:n,line:a.start.line}),!d))return;!r.stylelint.stylelintError&&g===Hr&&(r.stylelint.stylelintError=!0),!r.stylelint.stylelintWarning&&g===Fp&&(r.stylelint.stylelintWarning=!0);let f={severity:g,rule:n};t&&(f.node=t),f.start=a.start,f.end=a.end,h&&(f.url=h),f.fix=e$({...e,line:a.start.line});let x=Z6(p,m,n);r.warn(x,f)}function H6(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(j6(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(r$(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 Z6(e,t,r){return U6($(e)?X6(e,...t):e(...t),r)}function X6(e,...t){return t.reduce((r,n)=>r.replace(/%[ds]/,String(n)),e)}function _A(e,t,r){var i,o;let n=(o=(i=r[e])!=null?i:r[It])!=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 J6({fix:e,result:{stylelint:t},ruleName:r},n){if(!e)return!1;let{disabledRanges:i,config:o={},fixersData:a}=t;if(!o.fix||UA(n,r,o,i))return!1;let s=Yy(e)?e.apply:e;return Mp(s)?(s(),t$({fixersData:a,ruleName:r}),!0):!1}function e$({fix:e,line:t,result:r,ruleName:n}){var d,p,h,v,m;if(!e)return;let{disabledRanges:i,config:o={},rangesOfComputedEditInfos:a}=r.stylelint;if(!o.computeEditInfo||o.fix||UA(t,n,o,i)||!Yy(e)||!e.apply||!e.node)return;let{apply:s,node:u}=e;if(!kr((p=(d=u.source)==null?void 0:d.start)==null?void 0:p.offset)||!kr((v=(h=u.source)==null?void 0:h.end)==null?void 0:v.offset))return;let l=[u.source.start.offset,u.source.end.offset];if(a.some(b=>G6(b,l)))return;s();let c={range:l,text:u.toString((m=r.opts)==null?void 0:m.syntax)};return c=W6(u,c),c=Q6(u,c),a.push(c.range),c}function UA(e,t,r,n){var i,o;return!!((o=(i=r.rules)==null?void 0:i[t][1])!=null&&o.disableFix||!r.ignoreDisables&&_A(t,e,n))}function t$({fixersData:e,ruleName:t}){var r;(r=e[t])!=null||(e[t]=0),e[t]++}function r$(e){return!(!xr(e)||!kr(e.index)||!kr(e.endIndex))}function Yy(e){return!(!xr(e)||!e.node||!Mp(e.apply))}var I=y(()=>{q(),Ar(),_6(),V6(),Y6(),K6()});function j(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})`;return r}var D=y(()=>{});function $t(e,t){let r=e.raws;return r.value?r.value.raw=t:e.value=t,e}var Bt=y(()=>{});function Gy(e,t){return!Array.isArray(e)||!Array.isArray(t)||e.length!==t.length?!1:e.every((r,n)=>r===t[n])}var Ky=y(()=>{});function L(e,t,...r){var o;if(!((o=e.stylelint.config)!=null&&o.validate))return!0;let n=!0;for(let a of r)n$(a,t,i);function i(a){n=!1,e.warn(a,{stylelintType:"invalidOption"}),e.stylelint.stylelintError=!0}return n}function n$({possible:e,actual:t,optional:r},n,i){if(t===!1&&!QA.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||Gy(t,[null]))return;let o=e==null||Array.isArray(e)&&e.length===0||xr(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 ${ro(t)} for rule "${n}"`);return}if(typeof e=="function"){e(t)||i(`Invalid option ${ro(t)} for rule "${n}"`);return}if(Array.isArray(e)){for(let a of[t].flat())Ik(e,a)||i(`Invalid option value ${ro(a)} for rule "${n}"`);return}if(!xr(t)||typeof t!="object"||t===null){i(`Invalid option value ${ro(t)} for rule "${n}": should be an object`);return}for(let[a,s]of Object.entries(t)){if(VA.has(a))continue;let u=e&&e[a];if(!u){i(`Invalid option name "${a}" for rule "${n}"`);continue}for(let l of[s].flat())Ik(u,l)||i(`Invalid value ${ro(l)} for option "${a}" of rule "${n}"`)}}}function Ik(e,t){for(let r of[e].flat())if(typeof r=="function"&&r(t)||t===r)return!0;return!1}function ro(e){return typeof e=="string"?`"${e}"`:`"${JSON.stringify(e)}"`}var VA,QA,F=y(()=>{Ky(),q(),VA=new Set(["severity","message","url","reportDisables","disableFix"]),QA=new Set(["reportDescriptionlessDisables","reportInvalidScopeDisables","reportNeedlessDisables","reportUnscopedDisables"])}),YA={};N(YA,{default:()=>GA});function i$(e){let t=Number(e);return`${Number((t*100).toPrecision(3))}%`}function o$(e){let t=yc.default.unit(e);Ue(t);let r=Number(t.number);return Number((r/100).toPrecision(3)).toString()}function a$(e){return e.type==="word"||e.type==="function"?e:void 0}function s$(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(km)}function jk(e){let t=yc.default.unit(e);return t&&t.unit==="%"}function Dk(e){let t=yc.default.unit(e);return t&&t.unit===""}var yc,no,bh,Lk,Fk,Mk,Rk,vh,io,GA,l$=y(()=>{yc=re(me(),1),q(),X(),Ye(),qe(),he(),H(),I(),D(),Bt(),F(),no="alpha-value-notation",bh=j(no,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),Lk={url:"https://stylelint.io/user-guide/rules/alpha-value-notation",fixable:!0},Fk=/^(?:opacity|shape-image-threshold|fill-opacity|flood-opacity|stop-opacity|stroke-opacity)$/i,Mk=/(?:color|hsla?|rgba?|hwb|lab|lch|oklab|oklch)\(/i,Rk=/^(?:color|hsla?|rgba?|hwb|lab|lch|oklab|oklch)$/i,vh=/\d/,io=(e,t)=>(r,n)=>{if(!L(n,no,{actual:e,possible:["number","percentage"]},{actual:t,possible:{exceptProperties:[$,U]},optional:!0}))return;let i=Object.freeze({number:{expFunc:Dk,fixFunc:o$},percentage:{expFunc:jk,fixFunc:i$}});r.walkDecls(o=>{let a=Qe(o),s=Fk.test(o.prop);if(!(s||Mk.test(a))||!vh.test(a))return;let u=(0,yc.default)(a);u.walk(l=>{let c=s&&vh.test(l.value),d=l.type==="function"&&Rk.test(l.value),p=c?a$(l):d?s$(l):void 0;if(!p)return;let{value:h}=p;if(!$e(h)||!Dk(h)&&!jk(h))return;let v=e;if(R(t,"exceptProperties",o.prop)&&(v==="number"?v="percentage":v==="percentage"&&(v="number")),i[v].expFunc(h))return;let m=i[v].fixFunc(h),b=h,g=ie(o)+p.sourceIndex,f=g+p.value.length,x=()=>{p.value=m,$t(o,u.toString())};P({message:bh.expected,messageArgs:[b,m],node:o,index:g,endIndex:f,result:n,ruleName:no,fix:{apply:x,node:o}})})})},io.ruleName=no,io.messages=bh,io.meta=Lk,GA=io}),KA={};N(KA,{default:()=>HA});var $k,oo,yh,Bk,ao,HA,u$=y(()=>{$k=re(me(),1),q(),Ye(),qe(),H(),I(),D(),F(),oo="annotation-no-unknown",yh=j(oo,{rejected:e=>`Unknown annotation "${e}"`}),Bk={url:"https://stylelint.io/user-guide/rules/annotation-no-unknown"},ao=(e,t)=>(r,n)=>{if(!L(n,oo,{actual:e},{actual:t,possible:{ignoreAnnotations:[$,U]},optional:!0}))return;r.walkDecls(i);function i(a){!$e(a.value)||a.important||!a.value.includes("!")||(0,$k.default)(Qe(a)).walk(s=>{if(!o(s))return;let u=s.value,l=u.slice(1);R(t,"ignoreAnnotations",l)||P({message:yh.rejected,messageArgs:[u],node:a,result:n,ruleName:oo,word:u})})}function o(a){return a.type==="word"&&a.value.startsWith("!")}},ao.ruleName=oo,ao.messages=yh,ao.meta=Bk,HA=ao});function Je(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(()=>{}),ZA={};N(ZA,{default:()=>XA});var so,wh,qk,jn,XA,c$=y(()=>{q(),et(),Le(),I(),D(),F(),so="at-rule-allowed-list",wh=j(so,{rejected:e=>`Disallowed at-rule "${e}"`}),qk={url:"https://stylelint.io/user-guide/rules/at-rule-allowed-list"},jn=e=>(t,r)=>{if(!L(r,so,{actual:e,possible:[$,U]}))return;let n=[e].flat();t.walkAtRules(i=>{let o=i.name;if(!Je(i)||Ee(o,n))return;let a=`@${o}`;P({message:wh.rejected,messageArgs:[a],node:i,result:r,ruleName:so,word:a})})},jn.primaryOptionArray=!0,jn.ruleName=so,jn.messages=wh,jn.meta=qk,XA=jn});function Se(...e){return new Set([...e].reduce((t,r)=>[...t,...r],[]))}var Vi=y(()=>{}),Gb,wc,JA,Kb,Hb,eN,Qi=y(()=>{Vi(),Gb=new Set(["document","nest","viewport"]),wc=new Set(["apply","container","layer","media","scope","starting-style","supports"]),JA=new Set(["mixin","scope"]),Kb=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"]),Hb=new Set(["annotation","character-variant","historical-forms","ornaments","styleset","stylistic","swash"]),eN=Se(Gb,wc,Kb,Hb,["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"])}),tN,rN,sc,Zb,Wk,nN,iN,oN,aN,sN,lN,uN,rn=y(()=>{tN=new Set(["animation","animation-name","font","font-family","counter-increment","grid-row","grid-column","grid-area","list-style","list-style-type"]),rN=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"])]]),sc=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"])]]),Zb=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"]),Wk=new Set(["border-color","scrollbar-color"]),nN=new Set([...Zb,...Wk]),iN=new Set(["transition-duration","transition-delay","animation-duration","animation-delay"]),oN=new Set(["transition","animation"]),aN=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"]),sN=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"]),lN=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"]),uN=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"])}),cN,d$=y(()=>{cN=["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"]}),p$=y(()=>{d$()}),_k,Uk,Vk,dN,pN,kc,Xb,Jb,Qk,Yk,xm,xc,Sc,Pi,mN,ev,tv,Gk,Kk,hN,Hk,fN,Kt=y(()=>{p$(),Vi(),_k=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"]),Uk=new Set(cN),Vk=new Set(["fencedframe","listbox","model","portal","selectedcontent","selectlist","geolocation","usermedia"]),dN=Se(_k,Uk,Vk),pN=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"]),kc=new Set(["before","after","first-line","first-letter"]),Xb=new Set(["part"]),Jb=new Set(["-webkit-resizer","-webkit-scrollbar","-webkit-scrollbar-button","-webkit-scrollbar-corner","-webkit-scrollbar-thumb","-webkit-scrollbar-track","-webkit-scrollbar-track-piece"]),Qk=Se(Jb,["-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"]),Yk=new Set(["shadow"]),xm=Se(kc,Qk,Xb,Yk,["backdrop","checkmark","clear-icon","color-swatch","content","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"]),xc=new Set(["0%","100%"]),Sc=new Set(["nth-column","nth-last-column","nth-last-of-type","nth-of-type"]),Pi=new Set(["nth-child","nth-last-child"]),mN=new Set(["first","right","left","blank","recto","verso","nth"]),ev=new Set(["dir","lang"]),tv=new Set(["has","is","matches","not","where"]),Gk=new Set(["contains","drop","focus-ring","fullscreen-ancestor","matches","popup-open","top-layer","user-error"]),Kk=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"]),hN=new Set(["horizontal","vertical","decrement","increment","start","end","double-button","single-button","no-button","corner-present","window-inactive"]),Hk=new Set(["buffering","muted","paused","playing","seeking","stalled","volume-locked"]),fN=Se(Sc,ev,tv,Pi,Hk,Kk,Gk,["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"])}),gN,rv,nv,Hy,Rp,iv,Zy,Cc,$p,Xy,Jy,Zk,Yi,Nr=y(()=>{gN=new Set(["translateX","translateY","translateZ","scaleX","scaleY","scaleZ","rotateX","rotateY","rotateZ","skewX","skewY"]),rv=new Set(["hsl","hsla","hwb"]),nv=new Set(["lch","oklch"]),Hy=new Set([...rv,...nv]),Rp=new Set(["oklab","oklch"]),iv=new Set(["lab","lch"]),Zy=new Set([...Rp,...iv]),Cc=new Set(["hsla","rgba"]),$p=new Set(["hsl","rgb"]),Xy=new Set([...Cc,...$p]),Jy=new Set(["color","color-contrast","color-mix","contrast-color","device-cmyk","hsl","hsla","hwb","lab","lch","light-dark","oklab","oklch","rgb","rgba"]),Zk=new Set(["abs","acos","asin","atan","calc","cos","exp","sign","sin","sqrt","tan"]),Yi=new Set([...Zk,"atan2","calc-size","clamp","hypot","log","max","min","mod","pow","rem","round"])}),Ie,ew,tw,bN,rw,vN,Zr,Xk,Jk,ex,yN,Bp,tx,qp,rx,wN,nx,ix,ox,ax,Wp,sx,nw,Ac,lx,ux,cx,dx,px,iw,kN,xN,SN,CN,AN,_p,mx,hx,NN,zN,Oi,EN,fx,gx,PN,Nc,He=y(()=>{Vi(),Ie=new Set(["initial","inherit","revert","revert-layer","unset"]),ew=new Set(["block","inline","run-in"]),tw=new Set(["flow","flow-root","table","flex","grid","ruby"]),bN=new Set(["inline-block","inline-table","inline-flex","inline-grid"]),rw=new Set(["list-item"]),vN=Se(Ie,["caption","icon","menu","message-box","small-caption","status-bar"]),Zr=Se(Ie,["serif","sans-serif","cursive","fantasy","monospace","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","emoji","math","fangsong"]),Xk=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"]),Jk=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"]),yN=Se(Xk,Jk,ex),Bp=new Set(["bolder","lighter"]),tx=new Set(["normal","bold"]),qp=Se(Bp,tx),rx=new Set(["100","200","300","400","500","600","700","800","900"]),wN=new Set(["400","700"]),nx=Se(Ie,qp,rx),ix=Se(Ie,["normal","italic","oblique"]),ox=Se(Ie,["normal","none","small-caps"]),ax=Se(Ie,["semi-condensed","condensed","extra-condensed","ultra-condensed","semi-expanded","expanded","extra-expanded","ultra-expanded"]),Wp=Se(Ie,["xx-small","x-small","small","medium","large","x-large","xx-large","xxx-large","larger","smaller","math","-konq-xxx-large","-webkit-xxx-large"]),sx=Se(Ie,["normal"]),nw=Se(Ie,ix,ox,nx,ax,Wp,sx,Zr),Ac=Se(Ie,["none"]),lx=Se(Ie,["linear","ease","ease-in","ease-in-out","ease-out","step-start","step-end","steps","cubic-bezier"]),ux=new Set(["infinite"]),cx=Se(Ie,["normal","reverse","alternate","alternate-reverse"]),dx=new Set(["none","forwards","backwards","both"]),px=Se(Ie,["running","paused"]),iw=Se(Ie,Ac,lx,ux,cx,dx,px),kN=Se(Ie,["auto","span"]),xN=Se(Ie,["auto","span"]),SN=Se(Ie,["auto","span"]),CN=Se(Ie,["none"]),AN=Se(Ie,["none"]),_p=Se(Ie,["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"]),mx=Se(Ie,["inside","outside"]),hx=Se(Ie,["none"]),NN=Se(Ie,_p,mx,hx),zN=new Set(["optimizeSpeed","optimizeQuality","optimizeLegibility","geometricPrecision","currentColor","crispEdges","visiblePainted","visibleFill","visibleStroke","sRGB","linearRGB"]),Oi=new Set(["from","to"]),EN=new Set(["contain","cover","entry","entry-crossing","exit","exit-crossing"]),fx=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"]),gx=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"]),PN=Se(fx,gx,["accentcolor","accentcolortext","activetext","buttonborder","buttonface","buttontext","canvas","canvastext","field","fieldtext","graytext","highlight","highlighttext","linktext","mark","marktext","selecteditem","selecteditemtext","visitedtext"]),Nc=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"])}),ow,ON=y(()=>{ow=new Set(["aural","braille","embossed","handheld","projection","speech","tty","tv"])}),Ti,ov,TN,Vc=y(()=>{Vi(),Ti=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"]),ov=new Set(["dpi","dpcm","dppx","x"]),TN=Se(Ti,ov,["%","s","ms","deg","grad","turn","rad","Hz","kHz"])}),IN,m$=y(()=>{IN=new Set(["-webkit-","-moz-","-ms-","-o-","-xv-","-apple-","-wap-","-khtml-"])}),bx,we,jN,Mr,Y,V=y(()=>{Kt(),Nr(),He(),ON(),Vc(),Qi(),m$(),bx=[...Sc.values(),...Pi.values()].join("|"),we={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(`^((?!${[...wc.values()].join("|")}).)*$`,"i")},jN={syntaxName:/^syntax$/i},Mr={containerNameAndShorthandName:/^container(-name)?$/i,custom:/^--/,fontFamilyAndShorthandName:/^font(-family)?$/i,fontWeightAndShorthandName:/^font(-weight)?$/i,gridAreaNames:/^(?:grid|grid-template|grid-template-areas)$/i},Y={aNPlusBNotationPseudoClass:new RegExp(`\\b:(?:${bx})\\(`,"i"),annotation:/!/,attributeSelector:/\[/,attributeSelectorWithOperator:/\[.*=/,classSelector:/\./,colorFunction:new RegExp(`\\b(?:${[...Jy.values()].join("|")})\\(`,"i"),legacyNotationColorFunction:new RegExp(`\\b(?:${[...Xy.values()].join("|")})\\(`,"i"),combinator:/[>+~\s]/,customProperty:/--/,deprecatedMediaType:new RegExp(`\\b(?:${[...ow].join("|")})\\b`,"i"),displayKeyword:new RegExp(`\\b(?:${[...rw,...ew,...tw,...bN].join("|")})\\b`,"i"),dimension:/\d[%\w-]/,grayFunction:/\bgray\(/i,hexColor:/#[\da-z]+/i,hueColorFunction:new RegExp(`\\b(?:${[...Hy.values()].join("|")})\\(`,"i"),lightnessColorFunction:new RegExp(`\\b(?:${[...Zy.values()].join("|")})\\(`,"i"),idClassAttributeSelector:/[#.[]/,idSelector:/#/,keyword:/(?<![0-9])[a-z]+(?!\()/i,layerFunction:/\blayer\(/i,mathFunction:new RegExp(`\\b(?:${[...Yi.values()].join("|")})\\(`,"i"),namedFontWeight:new RegExp(`\\b(?:${[...new Set([...qp,...Bp])].join("|")})\\b`,"i"),numericFontWeight:new RegExp(`\\b(?:${[...wN.values()].join("|")})\\b`),namedKeyframeSelectorWithPercentageEquivalent:new RegExp(`\\b(?:${[...Oi.values()].join("|")})\\b`,"i"),percentageKeyframeSelectorWithNamedEquivalent:new RegExp(`(?:^|[,\\s])(?:${[...xc.values()].join("|")})`),multipleValues:/\s|,/,namedColor:new RegExp(`\\b(?:${[...Nc.values()].join("|")})\\b`,"i"),nestingSelector:/&/,notPseudoClass:/:not\(/i,operator:/[+-]/,prefix:new RegExp(`(?:${[...IN].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(?:${[...Cc.values()].join("|")})\\(`,"i"),withoutAlphaAliasColorFunction:new RegExp(`\\b(?:${[...$p.values()].join("|")})\\(`,"i"),zeroLength:new RegExp(`\\b[+-]?(?:0+|0*\\.\\d+)(?:${[...Ti.values()].join("|")})\\b`,"i")}});function DN(e){return!!(e.startsWith("$")||e.includes(".$"))}var LN=y(()=>{});function mt(e){let t=e.prop,r=e.parent;return!(DN(t)||t[0]==="@"&&t[1]!=="{"||r&&r.type==="atrule"&&r.raws.afterName===":"||r&<(r)&&r.selector&&r.selector.startsWith("#")&&r.selector.endsWith("()")||r&<(r)&&r.selector&&r.selector[r.selector.length-1]===":"&&r.selector.substring(0,2)!=="--"||"extend"in e&&e.extend)}var ht=y(()=>{he(),LN()}),FN={};N(FN,{default:()=>MN});function h$(e,t){return e.name.toLowerCase()!=="font-feature-values"?!1:Hb.has(t.name.toLowerCase())}function f$(e,t,r){return e.name.toLowerCase()==="page"&&Kb.has(r.name.toLowerCase())&&sN.has(t)}function g$(e,t){return e.name.toLowerCase()==="page"&&aN.has(t)}var lo,kh,vx,uo,MN,b$=y(()=>{Qi(),rn(),V(),he(),et(),ht(),I(),D(),F(),lo="at-rule-descriptor-no-unknown",kh=j(lo,{rejected:(e,t)=>`Unknown descriptor "${t}" for at-rule "${e}"`}),vx={url:"https://stylelint.io/user-guide/rules/at-rule-descriptor-no-unknown"},uo=e=>(t,r)=>{if(!L(r,lo,{actual:e}))return;let n=r.stylelint.lexer;t.walkAtRules(we.unsupportedNestingNames,i=>{Je(i)&&i.walkDecls(o=>{if(!mt(o))return;let{prop:a,value:s,parent:u}=o;if(g$(i,a)||u&&Oe(u)&&(f$(i,a,u)||h$(i,u)))return;let{error:l}=n.matchAtruleDescriptor(i.name,a,s);if(!l||l.name!=="SyntaxReferenceError"||!l.message.startsWith("Unknown at-rule descriptor"))return;let c=`@${i.name}`;P({message:kh.rejected,messageArgs:[c,a],node:o,index:0,endIndex:a.length,ruleName:lo,result:r})})})},uo.ruleName=lo,uo.messages=kh,uo.meta=vx,MN=uo}),RN={};N(RN,{default:()=>$N});var co,xh,yx,po,$N,v$=y(()=>{V(),X(),et(),ht(),I(),D(),F(),co="at-rule-descriptor-value-no-unknown",xh=j(co,{rejected:(e,t)=>`Unknown value "${t}" for descriptor "${e}"`}),yx={url:"https://stylelint.io/user-guide/rules/at-rule-descriptor-value-no-unknown"},po=e=>(t,r)=>{if(!L(r,co,{actual:e}))return;let n=r.stylelint.lexer;t.walkAtRules(we.unsupportedNestingNames,i=>{Je(i)&&i.walkDecls(o=>{if(!mt(o))return;let{prop:a,value:s}=o,{error:u}=n.matchAtruleDescriptor(i.name,a,s);if(!u||u.name!=="SyntaxMatchError")return;let l=ie(o),c=l+s.length;P({message:xh.rejected,messageArgs:[a,s],node:o,index:l,endIndex:c,ruleName:co,result:r})})})},po.ruleName=co,po.messages=xh,po.meta=yx,$N=po}),BN={};N(BN,{default:()=>qN});var mo,Sh,wx,Dn,qN,y$=y(()=>{q(),et(),Le(),I(),D(),F(),mo="at-rule-disallowed-list",Sh=j(mo,{rejected:e=>`Disallowed at-rule "${e}"`}),wx={url:"https://stylelint.io/user-guide/rules/at-rule-disallowed-list"},Dn=e=>(t,r)=>{if(!L(r,mo,{actual:e,possible:[$,U]}))return;let n=[e].flat();t.walkAtRules(i=>{let o=i.name;if(!Je(i)||!Ee(o,n))return;let a=`@${i.name}`;P({message:Sh.rejected,messageArgs:[a],node:i,result:r,ruleName:mo,word:a})})},Dn.primaryOptionArray=!0,Dn.ruleName=mo,Dn.messages=Sh,Dn.meta=wx,qN=Dn});function w$(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 k$=y(()=>{});function x$(e,t){return e.raws.before=e.raws.before?e.raws.before.replace(/(\r?\n\s*\n)+/g,t):"",e}var S$=y(()=>{});function Qc({node:e,newline:t,action:r}){switch(Ue(t),r){case"add":w$(e,t);break;case"remove":x$(e,t);break;default:throw new TypeError(`Unknown action ${r}`)}}var Yc=y(()=>{k$(),q(),S$()});function bd(e){return e.source&&e.source.start&&e.source.start.line}function Dr(e){if(e===void 0)return;let t=e.prev();if(!t||t.type!=="comment")return t;if(bd(e)===bd(t))return Dr(t);let r=t.prev();return r&&bd(t)===bd(r)?Dr(t):t}var Nn=y(()=>{});function Gc(e){return e===""||e===void 0?!1:WN.test(e)}var WN,Kc=y(()=>{WN=/\n[\r\t ]*\n/});function vd(e){return e&&e.source&&e.source.start&&e.source.start.line}function _N(e){if(e===void 0)return;let t=e.next();return!t||t.type!=="comment"?t:vd(e)===vd(t)||vd(t)===vd(t.next())?_N(t):t}var C$=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 aw(e){if(!Yr(e))return!1;let t=Dr(e);if(kx(t,e))return!0;let r=_N(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
|
|
3
|
-
`)||!
|
|
1
|
+
"use strict";(()=>{var n6=Object.defineProperty;var qk=e=>{throw TypeError(e)};var i6=(e,t,r)=>t in e?n6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var _=(e,t,r)=>i6(e,typeof t!="symbol"?t+"":t,r),o6=(e,t,r)=>t.has(e)||qk("Cannot "+r);var Th=(e,t,r)=>(o6(e,t,"read from private field"),r?r.call(e):t.get(e)),Wk=(e,t,r)=>t.has(e)?qk("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r);var a6=Object.create,Om=Object.defineProperty,s6=Object.getOwnPropertyDescriptor,l6=Object.getOwnPropertyNames,u6=Object.getPrototypeOf,c6=Object.prototype.hasOwnProperty,d6=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),Y=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),N=(e,t)=>{for(var r in t)Om(e,r,{get:t[r],enumerable:!0})},YA=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of l6(t))!c6.call(e,i)&&i!==r&&Om(e,i,{get:()=>t[i],enumerable:!(n=s6(t,i))||n.enumerable});return e},Z=(e,t,r)=>(r=e!=null?a6(u6(e)):{},YA(t||!e||!e.__esModule?Om(r,"default",{value:e,enumerable:!0}):r,e)),KA=e=>YA(Om({},"__esModule",{value:!0}),e),ow={};N(ow,{isAbsolute:()=>Im,join:()=>aw,normalize:()=>HA,relative:()=>sw});var Im,aw,HA,sw,Tm=y(()=>{"use strict";Im=()=>!0,aw=()=>"",HA=()=>{},sw=()=>""}),Dt,Jr,Vp,lw,zr=y(()=>{Dt="all",Jr="error",Vp="warning",lw=Jr});function _k(e){return Object.prototype.toString.call(e)==="[object Object]"}function p6(e){var t,r;return _k(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(_k(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}var m6=y(()=>{});function Hc(e){return typeof e=="boolean"||e instanceof Boolean}function Qp(e){return typeof e=="function"||e instanceof Function}function xr(e){return typeof e=="number"||e instanceof Number}function h6(e){return e!==null&&typeof e=="object"}function U(e){return e instanceof RegExp}function $(e){return typeof e=="string"||e instanceof String}function Sr(e){return p6(e)}function Ve(e,t=void 0){t?console.assert(e,t):console.assert(e)}function mc(e){console.assert(xr(e),`"${e}" must be a number`)}function Vi(e){console.assert($(e),`"${e}" must be a string`)}function Uk(e){return!(!Sr(e)||!xr(e.line)||!xr(e.column))}function f6(e){return!(!Sr(e)||!Uk(e.start)||!Uk(e.end))}var q=y(()=>{m6()}),Ac,uw=y(()=>{Ac=()=>{}}),g6=Y((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,z,A,L,E=0,B=g.charCodeAt(E),te=g.length,re=[{nodes:b}],we=0,pe,ae="",$e="",qe="";E<te;)if(B<=32){f=E;do f+=1,B=g.charCodeAt(f);while(B<=32);k=g.slice(E,f),w=b[b.length-1],B===n&&we?qe=k:w&&w.type==="div"?(w.after=k,w.sourceEndIndex+=k.length):B===l||B===u||B===s&&g.charCodeAt(f+1)!==c&&(!pe||pe&&pe.type==="function"&&pe.value!=="calc")?$e=k:b.push({type:"space",sourceIndex:E,sourceEndIndex:f,value:k}),E=f}else if(B===i||B===o){f=E,x=B===i?"'":'"',k={type:"string",sourceIndex:E,quote:x};do if(S=!1,f=g.indexOf(x,f+1),~f)for(z=f;g.charCodeAt(z-1)===a;)z-=1,S=!S;else g+=x,f=g.length-1,k.unclosed=!0;while(S);k.value=g.slice(E+1,f),k.sourceEndIndex=k.unclosed?f:f+1,b.push(k),E=f+1,B=g.charCodeAt(E)}else if(B===s&&g.charCodeAt(E+1)===c)f=g.indexOf("*/",E),k={type:"comment",sourceIndex:E,sourceEndIndex:f+2},f===-1&&(k.unclosed=!0,f=g.length,k.sourceEndIndex=f),k.value=g.slice(E+2,f),b.push(k),E=f+2,B=g.charCodeAt(E);else if((B===s||B===c)&&pe&&pe.type==="function"&&pe.value==="calc")k=g[E],b.push({type:"word",sourceIndex:E-$e.length,sourceEndIndex:E+k.length,value:k}),E+=1,B=g.charCodeAt(E);else if(B===s||B===l||B===u)k=g[E],b.push({type:"div",sourceIndex:E-$e.length,sourceEndIndex:E+k.length,value:k,before:$e,after:""}),$e="",E+=1,B=g.charCodeAt(E);else if(r===B){f=E;do f+=1,B=g.charCodeAt(f);while(B<=32);if(L=E,k={type:"function",sourceIndex:E-ae.length,value:ae,before:g.slice(L+1,f)},E=f,ae==="url"&&B!==i&&B!==o){f-=1;do if(S=!1,f=g.indexOf(")",f+1),~f)for(z=f;g.charCodeAt(z-1)===a;)z-=1,S=!S;else g+=")",f=g.length-1,k.unclosed=!0;while(S);A=f;do A-=1,B=g.charCodeAt(A);while(B<=32);L<A?(E!==A+1?k.nodes=[{type:"word",sourceIndex:E,sourceEndIndex:A+1,value:g.slice(E,A+1)}]:k.nodes=[],k.unclosed&&A+1!==f?(k.after="",k.nodes.push({type:"space",sourceIndex:A+1,sourceEndIndex:f,value:g.slice(A+1,f)})):(k.after=g.slice(A+1,f),k.sourceEndIndex=f)):(k.after="",k.nodes=[]),E=f+1,k.sourceEndIndex=k.unclosed?f:E,B=g.charCodeAt(E),b.push(k)}else we+=1,k.after="",k.sourceEndIndex=E+1,b.push(k),re.push(k),b=k.nodes=[],pe=k;ae=""}else if(n===B&&we)E+=1,B=g.charCodeAt(E),pe.after=qe,pe.sourceEndIndex+=qe.length,qe="",we-=1,re[re.length-1].sourceEndIndex=E,re.pop(),pe=re[we],b=pe.nodes;else{f=E;do B===a&&(f+=1),f+=1,B=g.charCodeAt(f);while(f<te&&!(B<=32||B===i||B===o||B===l||B===u||B===s||B===r||B===c&&pe&&pe.type==="function"&&pe.value==="calc"||B===s&&pe.type==="function"&&pe.value==="calc"||B===n&&we));k=g.slice(E,f),r===B?ae=k:(d===k.charCodeAt(0)||p===k.charCodeAt(0))&&m===k.charCodeAt(1)&&v.test(k.slice(2))?b.push({type:"unicode-range",sourceIndex:E,sourceEndIndex:f,value:k}):b.push({type:"word",sourceIndex:E,sourceEndIndex:f,value:k}),E=f}for(E=re.length-1;E;E-=1)re[E].unclosed=!0,re[E].sourceEndIndex=g.length;return re[0].nodes}}),b6=Y((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=Y((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}),y6=Y((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)}}}),fe=Y((e,t)=>{var r=g6(),n=b6(),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=y6(),o.walk=n,o.stringify=i,t.exports=o});function at(e){var t,r;return(r=(t=e.raws.params)==null?void 0:t.raw)!=null?r:e.params}var st=y(()=>{});function he(e){let t=e.raws;return t.selector&&t.selector.raw||e.selector}var ye=y(()=>{});function Te(e){var t,r;return JA(e)+((r=(t=e.raws.afterName)==null?void 0:t.length)!=null?r:0)}function w6(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 JA(e){return 1+e.name.length}function k6(e){return Te(e)+at(e).length}function XA(e){let{prop:t}=e.raws,r=h6(t);return ZA([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 XA(e)+ZA([t||":",r&&"prefix"in r&&r.prefix])}function x6(e){return he(e).length}function S6(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 ZA(e){return e.reduce((t,r)=>$(r)?t+r.length:t,0)}var ee=y(()=>{st(),ye(),q()});function Ge(e){let t=e.raws;return t.value&&t.value.raw||e.value}var Ye=y(()=>{});function eN(e){return tN.test(e)}var tN,rN=y(()=>{tN=/@\{.+?\}/});function nN(e){return iN.test(e)}var iN,oN=y(()=>{iN=/\$\(.+?\)/});function aN(e){return sN.test(e)}var sN,lN=y(()=>{sN=/#\{.+?\}/s});function uN(e){return cN.test(e)}var cN,dN=y(()=>{cN=/\{.+?\}/s});function jm(e){return!!(eN(e)||aN(e)||uN(e)||nN(e))}var Dm=y(()=>{rN(),oN(),lN(),dN()});function Re(e){let t=e;return/^[-+*/]/.test(e.charAt(0))&&(t=t.slice(1)),!(t.startsWith("$")||/^.+\.\$/.test(e)||/^.+\.[-\w]+\(/.test(e)||t.startsWith("@")||jm(t)||/__MSG_\S+__/.test(e))}var Be=y(()=>{Dm()});function ur(e){return e.type==="root"}function ut(e){return e.type==="rule"}function Ie(e){return e.type==="atrule"}function Yr(e){return e.type==="comment"}function Qi(e){return e.type==="decl"}function cv(e){return e.type==="document"}function pN(e){return e.type==="div"}function An(e){return e.type==="function"}function Lm({type:e}){return e==="word"}function Vk(e){return!!e.source}var ge=y(()=>{});function Pe(e,t){if(!Array.isArray(e))return Qk(e,t);for(let r of e){let n=Qk(r,t);if(n)return n}return!1}function Qk(e,t){if(!Array.isArray(t))return Yk(e,t);for(let r of t){let n=Yk(e,r);if(n)return n}return!1}function Gk(e,t){var n;let r=e.match(t);return r?{match:e,pattern:t,substring:(n=r[0])!=null?n:""}:!1}function Yk(e,t){if(t instanceof RegExp)return Gk(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=Gk(e,n);return i&&(i.pattern=t),i}return e===t?{match:e,pattern:t,substring:e}:!1}var Le=y(()=>{});function R(e,t,r){return!!(e&&e[t]&&typeof r=="string"&&Pe(r,e[t]))}var H=y(()=>{Le()});function C6(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 A6=y(()=>{ge()});function N6(e,t){return e.endsWith(`(${t})`)?e:`${e} (${t})`}var z6=y(()=>{});function E6(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 P6=y(()=>{});function O6(e,t){return!(e[1]<=t[0]||e[0]>=t[1])}var I6=y(()=>{});function P(e){var w,k,S;let{node:t,result:r,ruleName:n,fix:i,...o}=e,a=T6(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=Qp(b)?b(...h):b)!=null?w:c)!=null?k:lw;if(l&&g===Vp)return;if((Qp(i)||cw(i))&&v&&!v.fixable)throw new Error(`The "${n}" rule requires "meta.fixable" to be truthy if the "fix" callback is being passed`);if(L6(e,a.start.line)||mN(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===Vp&&(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=F6({...e,line:a.start.line});let x=j6(p,h,n);r.warn(x,f)}function T6(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(f6(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(R6(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 j6(e,t,r){return N6($(e)?D6(e,...t):e(...t),r)}function D6(e,...t){return t.reduce((r,n)=>r.replace(/%[ds]/,String(n)),e)}function mN(e,t,r){var i,o;let n=(o=(i=r[e])!=null?i:r[Dt])!=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 L6({fix:e,result:{stylelint:t},ruleName:r},n){if(!e)return!1;let{disabledRanges:i,config:o={},fixersData:a}=t;if(!o.fix||hN(n,r,o,i))return!1;let s=cw(e)?e.apply:e;return Qp(s)?(s(),M6({fixersData:a,ruleName:r}),!0):!1}function F6({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||hN(t,n,o,i)||!cw(e)||!e.apply||!e.node)return;let{apply:s,node:l}=e;if(!xr((p=(d=l.source)==null?void 0:d.start)==null?void 0:p.offset)||!xr((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=>O6(b,u)))return;s();let c={range:u,text:l.toString((h=r.opts)==null?void 0:h.syntax)};return c=C6(l,c),c=E6(l,c),a.push(c.range),c}function hN(e,t,r,n){var i,o;return!!((o=(i=r.rules)==null?void 0:i[t][1])!=null&&o.disableFix||!r.ignoreDisables&&mN(t,e,n))}function M6({fixersData:e,ruleName:t}){var r;(r=e[t])!=null||(e[t]=0),e[t]++}function R6(e){return!(!Sr(e)||!xr(e.index)||!xr(e.endIndex))}function cw(e){return!(!Sr(e)||!e.node||!Qp(e.apply))}var O=y(()=>{q(),zr(),A6(),z6(),P6(),I6()});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})`;return r}var T=y(()=>{});function Bt(e,t){let r=e.raws;return r.value?r.value.raw=t:e.value=t,e}var qt=y(()=>{});function dw(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 j(e,t,...r){var o;if(!((o=e.stylelint.config)!=null&&o.validate))return!0;let n=!0;for(let a of r)$6(a,t,i);function i(a){n=!1,e.warn(a,{stylelintType:"invalidOption"}),e.stylelint.stylelintError=!0}return n}function $6({possible:e,actual:t,optional:r},n,i){if(t===!1&&!gN.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||dw(t,[null]))return;let o=e==null||Array.isArray(e)&&e.length===0||Sr(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 ${io(t)} for rule "${n}"`);return}if(typeof e=="function"){e(t)||i(`Invalid option ${io(t)} for rule "${n}"`);return}if(Array.isArray(e)){for(let a of[t].flat())Kk(e,a)||i(`Invalid option value ${io(a)} for rule "${n}"`);return}if(!Sr(t)||typeof t!="object"||t===null){i(`Invalid option value ${io(t)} for rule "${n}": should be an object`);return}for(let[a,s]of Object.entries(t)){if(fN.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())Kk(l,u)||i(`Invalid value ${io(u)} for option "${a}" of rule "${n}"`)}}}function Kk(e,t){for(let r of[e].flat())if(typeof r=="function"&&r(t)||t===r)return!0;return!1}function io(e){return typeof e=="string"?`"${e}"`:`"${JSON.stringify(e)}"`}var fN,gN,D=y(()=>{pw(),q(),fN=new Set(["severity","message","url","reportDisables","disableFix"]),gN=new Set(["reportDescriptionlessDisables","reportInvalidScopeDisables","reportNeedlessDisables","reportUnscopedDisables"])}),bN={};N(bN,{default:()=>vN});function B6(e){let t=Number(e);return`${Number((t*100).toPrecision(3))}%`}function q6(e){let t=Nc.default.unit(e);Ve(t);let r=Number(t.number);return Number((r/100).toPrecision(3)).toString()}function W6(e){return e.type==="word"||e.type==="function"?e:void 0}function _6(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(Lm)}function Hk(e){let t=Nc.default.unit(e);return t&&t.unit==="%"}function Jk(e){let t=Nc.default.unit(e);return t&&t.unit===""}var Nc,oo,jh,Xk,Zk,ex,tx,Dh,ao,vN,U6=y(()=>{Nc=Z(fe(),1),q(),ee(),Ye(),Be(),ge(),H(),O(),T(),qt(),D(),oo="alpha-value-notation",jh=I(oo,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),Xk={url:"https://stylelint.io/user-guide/rules/alpha-value-notation",fixable:!0},Zk=/^(?:opacity|shape-image-threshold|fill-opacity|flood-opacity|stop-opacity|stroke-opacity)$/i,ex=/(?:color|hsla?|rgba?|hwb|lab|lch|oklab|oklch)\(/i,tx=/^(?:color|hsla?|rgba?|hwb|lab|lch|oklab|oklch)$/i,Dh=/\d/,ao=(e,t)=>(r,n)=>{if(!j(n,oo,{actual:e,possible:["number","percentage"]},{actual:t,possible:{exceptProperties:[$,U]},optional:!0}))return;let i=Object.freeze({number:{expFunc:Jk,fixFunc:q6},percentage:{expFunc:Hk,fixFunc:B6}});r.walkDecls(o=>{let a=Ge(o),s=Zk.test(o.prop);if(!(s||ex.test(a))||!Dh.test(a))return;let l=(0,Nc.default)(a);l.walk(u=>{let c=s&&Dh.test(u.value),d=u.type==="function"&&tx.test(u.value),p=c?W6(u):d?_6(u):void 0;if(!p)return;let{value:m}=p;if(!Re(m)||!Jk(m)&&!Hk(m))return;let v=e;if(R(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=ie(o)+p.sourceIndex,f=g+p.value.length,x=()=>{p.value=h,Bt(o,l.toString())};P({message:jh.expected,messageArgs:[b,h],node:o,index:g,endIndex:f,result:n,ruleName:oo,fix:{apply:x,node:o}})})})},ao.ruleName=oo,ao.messages=jh,ao.meta=Xk,vN=ao}),yN={};N(yN,{default:()=>wN});var rx,so,Lh,nx,lo,wN,V6=y(()=>{rx=Z(fe(),1),q(),Ye(),Be(),H(),O(),T(),D(),so="annotation-no-unknown",Lh=I(so,{rejected:e=>`Unknown annotation "${e}"`}),nx={url:"https://stylelint.io/user-guide/rules/annotation-no-unknown"},lo=(e,t)=>(r,n)=>{if(!j(n,so,{actual:e},{actual:t,possible:{ignoreAnnotations:[$,U]},optional:!0}))return;r.walkDecls(i);function i(a){!Re(a.value)||a.important||!a.value.includes("!")||(0,rx.default)(Ge(a)).walk(s=>{if(!o(s))return;let l=s.value,u=l.slice(1);R(t,"ignoreAnnotations",u)||P({message:Lh.rejected,messageArgs:[l],node:a,result:n,ruleName:so,word:l})})}function o(a){return a.type==="word"&&a.value.startsWith("!")}},lo.ruleName=so,lo.messages=Lh,lo.meta=nx,wN=lo});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(()=>{}),kN={};N(kN,{default:()=>xN});var uo,Fh,ix,jn,xN,Q6=y(()=>{q(),et(),Le(),O(),T(),D(),uo="at-rule-allowed-list",Fh=I(uo,{rejected:e=>`Disallowed at-rule "${e}"`}),ix={url:"https://stylelint.io/user-guide/rules/at-rule-allowed-list"},jn=e=>(t,r)=>{if(!j(r,uo,{actual:e,possible:[$,U]}))return;let n=[e].flat();t.walkAtRules(i=>{let o=i.name;if(!Ze(i)||Pe(o,n))return;let a=`@${o}`;P({message:Fh.rejected,messageArgs:[a],node:i,result:r,ruleName:uo,word:a})})},jn.primaryOptionArray=!0,jn.ruleName=uo,jn.messages=Fh,jn.meta=ix,xN=jn});function Ce(...e){return new Set([...e].reduce((t,r)=>[...t,...r],[]))}var Gi=y(()=>{}),dv,zc,SN,pv,mv,CN,Yi=y(()=>{Gi(),dv=new Set(["document","nest","viewport"]),zc=new Set(["apply","container","layer","media","scope","starting-style","supports"]),SN=new Set(["mixin","scope"]),pv=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"]),mv=new Set(["annotation","character-variant","historical-forms","ornaments","styleset","stylistic","swash"]),CN=Ce(dv,zc,pv,mv,["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"])}),AN,NN,hc,hv,ox,zN,EN,PN,ON,IN,TN,jN,Gp,DN,$r=y(()=>{AN=new Set(["animation","animation-name","font","font-family","counter-increment","grid-row","grid-column","grid-area","list-style","list-style-type"]),NN=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"])]]),hc=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"])]]),hv=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"]),ox=new Set(["border-color","scrollbar-color"]),zN=new Set([...hv,...ox]),EN=new Set(["transition-duration","transition-delay","animation-duration","animation-delay"]),PN=new Set(["transition","animation"]),ON=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"]),IN=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"]),TN=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"]),jN=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"]),Gp=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"]]),DN=new Set([...Gp.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"])}),LN,G6=y(()=>{LN=["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"]}),Y6=y(()=>{G6()}),Yp,ax,sx,FN,mw,MN,Ec,fv,gv,lx,Kp,Fm,Pc,Oc,Ii,RN,bv,vv,Hp,ux,$N,cx,BN,Wt=y(()=>{Y6(),Gi(),Yp=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"]),ax=new Set(LN),sx=new Set(["fencedframe","listbox","model","portal","selectedcontent","selectlist","geolocation","usermedia"]),FN=Ce(Yp,ax,sx),mw=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"]),MN=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"]),Ec=new Set(["before","after","first-line","first-letter"]),fv=new Set(["part"]),gv=new Set(["-webkit-resizer","-webkit-scrollbar","-webkit-scrollbar-button","-webkit-scrollbar-corner","-webkit-scrollbar-thumb","-webkit-scrollbar-track","-webkit-scrollbar-track-piece"]),lx=Ce(gv,["-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"]),Kp=new Set(["content","shadow"]),Fm=Ce(Ec,lx,fv,Kp,["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"]),Pc=new Set(["0%","100%"]),Oc=new Set(["nth-column","nth-last-column","nth-last-of-type","nth-of-type"]),Ii=new Set(["nth-child","nth-last-child"]),RN=new Set(["first","right","left","blank","recto","verso","nth"]),bv=new Set(["dir","lang"]),vv=new Set(["has","is","matches","not","where"]),Hp=new Set(["-moz-any","-webkit-any","contains","drop","focus-ring","fullscreen-ancestor","matches","popup-open","top-layer","user-error"]),ux=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"]),$N=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"]),BN=Ce(Oc,bv,vv,Ii,cx,ux,Hp,["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"])}),qN,yv,wv,hw,Jp,kv,fw,Ic,Xp,gw,bw,dx,Ki,Er=y(()=>{qN=new Set(["translateX","translateY","translateZ","scaleX","scaleY","scaleZ","rotateX","rotateY","rotateZ","skewX","skewY"]),yv=new Set(["hsl","hsla","hwb"]),wv=new Set(["lch","oklch"]),hw=new Set([...yv,...wv]),Jp=new Set(["oklab","oklch"]),kv=new Set(["lab","lch"]),fw=new Set([...Jp,...kv]),Ic=new Set(["hsla","rgba"]),Xp=new Set(["hsl","rgb"]),gw=new Set([...Ic,...Xp]),bw=new Set(["color","color-contrast","color-mix","contrast-color","device-cmyk","hsl","hsla","hwb","lab","lch","light-dark","oklab","oklch","rgb","rgba"]),dx=new Set(["abs","acos","asin","atan","calc","cos","exp","sign","sin","sqrt","tan"]),Ki=new Set([...dx,"atan2","calc-size","clamp","hypot","log","max","min","mod","pow","rem","round"])}),je,vw,yw,WN,ww,_N,Xr,px,mx,hx,UN,Zp,fx,em,gx,VN,bx,vx,yx,wx,tm,kx,kw,Tc,xx,Sx,Cx,Ax,Nx,xw,QN,GN,YN,KN,HN,rm,zx,Ex,JN,XN,Ti,ZN,Px,Ox,ez,jc,Je=y(()=>{Gi(),je=new Set(["initial","inherit","revert","revert-layer","unset"]),vw=new Set(["block","inline","run-in"]),yw=new Set(["flow","flow-root","table","flex","grid","ruby"]),WN=new Set(["inline-block","inline-table","inline-flex","inline-grid"]),ww=new Set(["list-item"]),_N=Ce(je,["caption","icon","menu","message-box","small-caption","status-bar"]),Xr=Ce(je,["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"]),mx=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"]),hx=new Set(["-webkit-body","-webkit-control","-webkit-mini-control","-webkit-pictograph","-webkit-small-control","-webkit-standard"]),UN=Ce(px,mx,hx),Zp=new Set(["bolder","lighter"]),fx=new Set(["normal","bold"]),em=Ce(Zp,fx),gx=new Set(["100","200","300","400","500","600","700","800","900"]),VN=new Set(["400","700"]),bx=Ce(je,em,gx),vx=Ce(je,["normal","italic","oblique"]),yx=Ce(je,["normal","none","small-caps"]),wx=Ce(je,["semi-condensed","condensed","extra-condensed","ultra-condensed","semi-expanded","expanded","extra-expanded","ultra-expanded"]),tm=Ce(je,["xx-small","x-small","small","medium","large","x-large","xx-large","xxx-large","larger","smaller","math","-konq-xxx-large","-webkit-xxx-large"]),kx=Ce(je,["normal"]),kw=Ce(je,vx,yx,bx,wx,tm,kx,Xr),Tc=Ce(je,["none"]),xx=Ce(je,["linear","ease","ease-in","ease-in-out","ease-out","step-start","step-end","steps","cubic-bezier"]),Sx=new Set(["infinite"]),Cx=Ce(je,["normal","reverse","alternate","alternate-reverse"]),Ax=new Set(["none","forwards","backwards","both"]),Nx=Ce(je,["running","paused"]),xw=Ce(je,Tc,xx,Sx,Cx,Ax,Nx),QN=Ce(je,["auto","span"]),GN=Ce(je,["auto","span"]),YN=Ce(je,["auto","span"]),KN=Ce(je,["none"]),HN=Ce(je,["none"]),rm=Ce(je,["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"]),zx=Ce(je,["inside","outside"]),Ex=Ce(je,["none"]),JN=Ce(je,rm,zx,Ex),XN=new Set(["optimizeSpeed","optimizeQuality","optimizeLegibility","geometricPrecision","currentColor","crispEdges","visiblePainted","visibleFill","visibleStroke","sRGB","linearRGB"]),Ti=new Set(["from","to"]),ZN=new Set(["contain","cover","entry","entry-crossing","exit","exit-crossing"]),Px=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"]),Ox=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"]),ez=Ce(Px,Ox,["accentcolor","accentcolortext","activetext","buttonborder","buttonface","buttontext","canvas","canvastext","field","fieldtext","graytext","highlight","highlighttext","linktext","mark","marktext","selecteditem","selecteditemtext","visitedtext"]),jc=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"])}),Sw,tz=y(()=>{Sw=new Set(["aural","braille","embossed","handheld","projection","speech","tty","tv"])}),ji,xv,rz,Jc=y(()=>{Gi(),ji=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"]),xv=new Set(["dpi","dpcm","dppx","x"]),rz=Ce(ji,xv,["%","s","ms","deg","grad","turn","rad","Hz","kHz"])}),nz,K6=y(()=>{nz=new Set(["-webkit-","-moz-","-ms-","-o-","-xv-","-apple-","-wap-","-khtml-"])}),Ix,xe,iz,Br,Q,V=y(()=>{Wt(),Er(),Je(),tz(),Jc(),Yi(),K6(),Ix=[...Oc.values(),...Ii.values()].join("|"),xe={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(`^((?!${[...zc.values()].join("|")}).)*$`,"i")},iz={syntaxName:/^syntax$/i},Br={containerNameAndShorthandName:/^container(-name)?$/i,custom:/^--/,fontFamilyAndShorthandName:/^font(-family)?$/i,fontWeightAndShorthandName:/^font(-weight)?$/i,gridAreaNames:/^(?:grid|grid-template|grid-template-areas)$/i},Q={aNPlusBNotationPseudoClass:new RegExp(`\\b:(?:${Ix})\\(`,"i"),annotation:/!/,attributeSelector:/\[/,attributeSelectorWithOperator:/\[.*=/,classSelector:/\./,colorFunction:new RegExp(`\\b(?:${[...bw.values()].join("|")})\\(`,"i"),legacyNotationColorFunction:new RegExp(`\\b(?:${[...gw.values()].join("|")})\\(`,"i"),combinator:/[>+~\s]/,customProperty:/--/,deprecatedMediaType:new RegExp(`\\b(?:${[...Sw].join("|")})\\b`,"i"),deprecatedPseudo:new RegExp(`\\:(?:${[...Hp,...Kp].join("|")})\\b`,"i"),deprecatedTypeSelector:new RegExp(`\\b(?:${[...Yp,...mw].join("|")})\\b`,"i"),displayKeyword:new RegExp(`\\b(?:${[...ww,...vw,...yw,...WN].join("|")})\\b`,"i"),dimension:/\d[%\w-]/,grayFunction:/\bgray\(/i,hexColor:/#[\da-z]+/i,hueColorFunction:new RegExp(`\\b(?:${[...hw.values()].join("|")})\\(`,"i"),lightnessColorFunction:new RegExp(`\\b(?:${[...fw.values()].join("|")})\\(`,"i"),idClassAttributeSelector:/[#.[]/,idSelector:/#/,keyword:/(?<![0-9])[a-z]+(?!\()/i,layerFunction:/\blayer\(/i,mathFunction:new RegExp(`\\b(?:${[...Ki.values()].join("|")})\\(`,"i"),namedFontWeight:new RegExp(`\\b(?:${[...new Set([...em,...Zp])].join("|")})\\b`,"i"),numericFontWeight:new RegExp(`\\b(?:${[...VN.values()].join("|")})\\b`),namedKeyframeSelectorWithPercentageEquivalent:new RegExp(`\\b(?:${[...Ti.values()].join("|")})\\b`,"i"),percentageKeyframeSelectorWithNamedEquivalent:new RegExp(`(?:^|[,\\s])(?:${[...Pc.values()].join("|")})`),multipleValues:/\s|,/,namedColor:new RegExp(`\\b(?:${[...jc.values()].join("|")})\\b`,"i"),nestingSelector:/&/,notPseudoClass:/:not\(/i,operator:/[+-]/,prefix:new RegExp(`(?:${[...nz].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(?:${[...Ic.values()].join("|")})\\(`,"i"),withoutAlphaAliasColorFunction:new RegExp(`\\b(?:${[...Xp.values()].join("|")})\\(`,"i"),zeroLength:new RegExp(`\\b[+-]?(?:0+|0*\\.\\d+)(?:${[...ji.values()].join("|")})\\b`,"i")}});function oz(e){return!!(e.startsWith("$")||e.includes(".$"))}var az=y(()=>{});function gt(e){let t=e.prop,r=e.parent;return!(oz(t)||t[0]==="@"&&t[1]!=="{"||r&&r.type==="atrule"&&r.raws.afterName===":"||r&&ut(r)&&r.selector&&r.selector.startsWith("#")&&r.selector.endsWith("()")||r&&ut(r)&&r.selector&&r.selector[r.selector.length-1]===":"&&r.selector.substring(0,2)!=="--"||"extend"in e&&e.extend)}var bt=y(()=>{ge(),az()}),sz={};N(sz,{default:()=>lz});function H6(e,t){return e.name.toLowerCase()!=="font-feature-values"?!1:mv.has(t.name.toLowerCase())}function J6(e,t,r){return e.name.toLowerCase()==="page"&&pv.has(r.name.toLowerCase())&&IN.has(t)}function X6(e,t){return e.name.toLowerCase()==="page"&&ON.has(t)}var co,Mh,Tx,po,lz,Z6=y(()=>{Yi(),$r(),V(),ge(),et(),bt(),O(),T(),D(),co="at-rule-descriptor-no-unknown",Mh=I(co,{rejected:(e,t)=>`Unknown descriptor "${t}" for at-rule "${e}"`}),Tx={url:"https://stylelint.io/user-guide/rules/at-rule-descriptor-no-unknown"},po=e=>(t,r)=>{if(!j(r,co,{actual:e}))return;let n=r.stylelint.lexer;t.walkAtRules(xe.unsupportedNestingNames,i=>{Ze(i)&&i.walkDecls(o=>{if(!gt(o))return;let{prop:a,value:s,parent:l}=o;if(X6(i,a)||l&&Ie(l)&&(J6(i,a,l)||H6(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:Mh.rejected,messageArgs:[c,a],node:o,index:0,endIndex:a.length,ruleName:co,result:r})})})},po.ruleName=co,po.messages=Mh,po.meta=Tx,lz=po}),uz={};N(uz,{default:()=>cz});var mo,Rh,jx,ho,cz,eB=y(()=>{V(),ee(),et(),bt(),O(),T(),D(),mo="at-rule-descriptor-value-no-unknown",Rh=I(mo,{rejected:(e,t)=>`Unknown value "${t}" for descriptor "${e}"`}),jx={url:"https://stylelint.io/user-guide/rules/at-rule-descriptor-value-no-unknown"},ho=e=>(t,r)=>{if(!j(r,mo,{actual:e}))return;let n=r.stylelint.lexer;t.walkAtRules(xe.unsupportedNestingNames,i=>{Ze(i)&&i.walkDecls(o=>{if(!gt(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:Rh.rejected,messageArgs:[a,s],node:o,index:u,endIndex:c,ruleName:mo,result:r})})})},ho.ruleName=mo,ho.messages=Rh,ho.meta=jx,cz=ho}),dz={};N(dz,{default:()=>pz});var fo,$h,Dx,Dn,pz,tB=y(()=>{q(),et(),Le(),O(),T(),D(),fo="at-rule-disallowed-list",$h=I(fo,{rejected:e=>`Disallowed at-rule "${e}"`}),Dx={url:"https://stylelint.io/user-guide/rules/at-rule-disallowed-list"},Dn=e=>(t,r)=>{if(!j(r,fo,{actual:e,possible:[$,U]}))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:$h.rejected,messageArgs:[a],node:i,result:r,ruleName:fo,word:a})})},Dn.primaryOptionArray=!0,Dn.ruleName=fo,Dn.messages=$h,Dn.meta=Dx,pz=Dn});function rB(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 nB=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 Xc({node:e,newline:t,action:r}){switch(Ve(t),r){case"add":rB(e,t);break;case"remove":iB(e,t);break;default:throw new TypeError(`Unknown action ${r}`)}}var Zc=y(()=>{nB(),q(),oB()});function Ad(e){return e.source&&e.source.start&&e.source.start.line}function Mr(e){if(e===void 0)return;let t=e.prev();if(!t||t.type!=="comment")return t;if(Ad(e)===Ad(t))return Mr(t);let r=t.prev();return r&&Ad(t)===Ad(r)?Mr(t):t}var Nn=y(()=>{});function ed(e){return e===""||e===void 0?!1:mz.test(e)}var mz,td=y(()=>{mz=/\n[\r\t ]*\n/});function Nd(e){return e&&e.source&&e.source.start&&e.source.start.line}function hz(e){if(e===void 0)return;let t=e.next();return!t||t.type!=="comment"?t:Nd(e)===Nd(t)||Nd(t)===Nd(t.next())?hz(t):t}var aB=y(()=>{});function Lx(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 Cw(e){if(!Yr(e))return!1;let t=Mr(e);if(Lx(t,e))return!0;let r=hz(e);if(r&&Lx(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 Aw=y(()=>{ge(),aB(),Nn()});function Di(e){let t=e.prev();return!t||t.type!=="comment"?!1:!Cw(t)}var Mm=y(()=>{Aw()});function Dc(e){return e.nodes!==void 0}var Rm=y(()=>{});function Sv(e){if(e.type!=="atrule")return!1;let t=Mr(e);return t===void 0?!1:Ie(t)&&!Dc(t)&&!Dc(e)}var fz=y(()=>{Nn(),Rm(),ge()});function Fx(e){if(!Sv(e))return!1;let t=Mr(e);return t&&Ie(t)?t.name===e.name:!1}var sB=y(()=>{Nn(),ge(),fz()});function Rr(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||!Yr(n)||typeof n.raws.before=="string"&&n.raws.before.includes(`
|
|
3
|
+
`)||!Vk(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(!Yr(a)||Vk(a)&&a.source.end&&a.source.end.line!==i)return!1}return!1}function lB({parent:e}){return!!(e&&cv(e))}var rd=y(()=>{ge()});function $m(e){if(ur(e))return!1;let t=e.parent;return t?ur(t)&&e===t.first:!1}var Bm=y(()=>{ge()}),gz={};N(gz,{default:()=>bz});function uB(e){let t=Mr(e);return t&&Ie(t)&&t.name===e.name}var go,zd,Mx,bo,bz,cB=y(()=>{q(),Zc(),Nn(),td(),Mm(),ge(),fz(),sB(),rd(),Bm(),et(),H(),O(),T(),D(),go="at-rule-empty-line-before",zd=I(go,{expected:"Expected empty line before at-rule",rejected:"Expected no empty line before at-rule"}),Mx={url:"https://stylelint.io/user-guide/rules/at-rule-empty-line-before",fixable:!0},bo=(e,t,r)=>(n,i)=>{if(!j(i,go,{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:[$,U]},optional:!0}))return;let o=e;n.walkAtRules(a=>{let s=a.parent&&a.parent.type!=="root";if($m(a)||!Ze(a)||R(t,"ignoreAtRules",a.name)||R(t,"ignore","blockless-after-blockless")&&Sv(a)||R(t,"ignore","first-nested")&&Rr(a)||R(t,"ignore","blockless-after-same-name-blockless")&&Fx(a)||R(t,"ignore","inside-block")&&s||R(t,"ignore","after-comment")&&Di(a))return;let l=ed(a.raws.before),u=o==="always";if((R(t,"except","after-same-name")&&uB(a)||R(t,"except","inside-block")&&s||R(t,"except","first-nested")&&Rr(a)||R(t,"except","blockless-after-blockless")&&Sv(a)||R(t,"except","blockless-after-same-name-blockless")&&Fx(a))&&(u=!u),u===l)return;let c=u?zd.expected:zd.rejected,d=u?"add":"remove";P({message:c,messageArgs:[],node:a,result:i,ruleName:go,fix:{apply:()=>Xc({node:a,newline:r.newline,action:d}),node:a.parent}})})},bo.ruleName=go,bo.messages=zd,bo.meta=Mx,bz=bo}),dB=Y(()=>{"use strict"}),vz=Y(()=>{}),Nw=Y((e,t)=>{"use strict";var r=dB(),n=vz(),i=class yz 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,yz)}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}),
|
|
6
|
+
`),this.name+": "+this.message+a}};t.exports=i,i.default=i}),wz=Y((e,t)=>{"use strict";var r={after:`
|
|
7
7
|
`,beforeClose:`
|
|
8
8
|
`,beforeComment:`
|
|
9
9
|
`,beforeDecl:`
|
|
10
10
|
`,beforeOpen:" ",beforeRule:`
|
|
11
|
-
`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function n(o){return o[0].toUpperCase()+o.slice(1)}var i=class{constructor(o){this.builder=o}atrule(o,a){let s="@"+o.name,
|
|
12
|
-
`)){let c=this.raw(o,null,"indent");if(c.length)for(let d=0;d<
|
|
13
|
-
`)&&(a=a.replace(/[^\n]+$/,"")),!1}),a&&(a=a.replace(/\S/g,"")),a}rawBeforeComment(o,a){let s;return o.walkComments(
|
|
14
|
-
`)&&(s=s.replace(/[^\n]+$/,"")),!1}),typeof s>"u"?s=this.raw(a,null,"beforeDecl"):s&&(s=s.replace(/\S/g,"")),s}rawBeforeDecl(o,a){let s;return o.walkDecls(
|
|
11
|
+
`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function n(o){return o[0].toUpperCase()+o.slice(1)}var i=class{constructor(o){this.builder=o}atrule(o,a){let s="@"+o.name,l=o.params?this.rawValue(o,"params"):"";if(typeof o.raws.afterName<"u"?s+=o.raws.afterName:l&&(s+=" "),o.nodes)this.block(o,s+l);else{let u=(o.raws.between||"")+(a?";":"");this.builder(s+l+u,o)}}beforeAfter(o,a){let s;o.type==="decl"?s=this.raw(o,null,"beforeDecl"):o.type==="comment"?s=this.raw(o,null,"beforeComment"):a==="before"?s=this.raw(o,null,"beforeRule"):s=this.raw(o,null,"beforeClose");let l=o.parent,u=0;for(;l&&l.type!=="root";)u+=1,l=l.parent;if(s.includes(`
|
|
12
|
+
`)){let c=this.raw(o,null,"indent");if(c.length)for(let d=0;d<u;d++)s+=c}return s}block(o,a){let s=this.raw(o,"between","beforeOpen");this.builder(a+s+"{",o,"start");let l;o.nodes&&o.nodes.length?(this.body(o),l=this.raw(o,"after")):l=this.raw(o,"after","emptyBody"),l&&this.builder(l),this.builder("}",o,"end")}body(o){let a=o.nodes.length-1;for(;a>0&&o.nodes[a].type==="comment";)a-=1;let s=this.raw(o,"semicolon");for(let l=0;l<o.nodes.length;l++){let u=o.nodes[l],c=this.raw(u,"before");c&&this.builder(c),this.stringify(u,a!==l||s)}}comment(o){let a=this.raw(o,"left","commentLeft"),s=this.raw(o,"right","commentRight");this.builder("/*"+a+o.text+s+"*/",o)}decl(o,a){let s=this.raw(o,"between","colon"),l=o.prop+s+this.rawValue(o,"value");o.important&&(l+=o.raws.important||" !important"),a&&(l+=";"),this.builder(l,o)}document(o){this.body(o)}raw(o,a,s){let l;if(s||(s=a),a&&(l=o.raws[a],typeof l<"u"))return l;let u=o.parent;if(s==="before"&&(!u||u.type==="root"&&u.first===o||u&&u.type==="document"))return"";if(!u)return r[s];let c=o.root();if(c.rawCache||(c.rawCache={}),typeof c.rawCache[s]<"u")return c.rawCache[s];if(s==="before"||s==="after")return this.beforeAfter(o,s);{let d="raw"+n(s);this[d]?l=this[d](c,o):c.walk(p=>{if(l=p.raws[a],typeof l<"u")return!1})}return typeof l>"u"&&(l=r[s]),c.rawCache[s]=l,l}rawBeforeClose(o){let a;return o.walk(s=>{if(s.nodes&&s.nodes.length>0&&typeof s.raws.after<"u")return a=s.raws.after,a.includes(`
|
|
13
|
+
`)&&(a=a.replace(/[^\n]+$/,"")),!1}),a&&(a=a.replace(/\S/g,"")),a}rawBeforeComment(o,a){let s;return o.walkComments(l=>{if(typeof l.raws.before<"u")return s=l.raws.before,s.includes(`
|
|
14
|
+
`)&&(s=s.replace(/[^\n]+$/,"")),!1}),typeof s>"u"?s=this.raw(a,null,"beforeDecl"):s&&(s=s.replace(/\S/g,"")),s}rawBeforeDecl(o,a){let s;return o.walkDecls(l=>{if(typeof l.raws.before<"u")return s=l.raws.before,s.includes(`
|
|
15
15
|
`)&&(s=s.replace(/[^\n]+$/,"")),!1}),typeof s>"u"?s=this.raw(a,null,"beforeRule"):s&&(s=s.replace(/\S/g,"")),s}rawBeforeOpen(o){let a;return o.walk(s=>{if(s.type!=="decl"&&(a=s.raws.between,typeof a<"u"))return!1}),a}rawBeforeRule(o){let a;return o.walk(s=>{if(s.nodes&&(s.parent!==o||o.first!==s)&&typeof s.raws.before<"u")return a=s.raws.before,a.includes(`
|
|
16
|
-
`)&&(a=a.replace(/[^\n]+$/,"")),!1}),a&&(a=a.replace(/\S/g,"")),a}rawColon(o){let a;return o.walkDecls(s=>{if(typeof s.raws.between<"u")return a=s.raws.between.replace(/[^\s:]/g,""),!1}),a}rawEmptyBody(o){let a;return o.walk(s=>{if(s.nodes&&s.nodes.length===0&&(a=s.raws.after,typeof a<"u"))return!1}),a}rawIndent(o){if(o.raws.indent)return o.raws.indent;let a;return o.walk(s=>{let
|
|
17
|
-
`);return a=
|
|
18
|
-
`?(p=1,
|
|
19
|
-
`?(d=1,p+=1):d+=1;return{column:d,line:p,offset:
|
|
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&&
|
|
21
|
-
`;)
|
|
22
|
-
`," "];return r.split(n,i)},split(n,i,o){let a=[],s="",u=!1,l=0,c=!1,d="",p=!1;for(let h of n)p?p=!1:h==="\\"?p=!0:c?h===d&&(c=!1):h==='"'||h==="'"?(c=!0,d=h):h==="("?l+=1:h===")"?l>0&&(l-=1):l===0&&i.includes(h)&&(u=!0),u?(s!==""&&a.push(s.trim()),s="",u=!1):s+=h;return(o||s!=="")&&a.push(s.trim()),a}};t.exports=r,r.default=r}),tz=G((e,t)=>{"use strict";var r=zn(),n=ez(),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)}),D$=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 u=a.css.valueOf(),l=s.ignoreErrors,c,d,p,h,v,m,b,g,f,x,w=u.length,k=0,S=[],E=[];function A(){return k}function T(J){throw a.error("Unclosed "+J,k)}function z(){return E.length===0&&k>=w}function B(J){if(E.length)return E.pop();if(k>=w)return;let ve=J?J.ignoreUnclosed:!1;switch(c=u.charCodeAt(k),c){case 10:case 32:case 9:case 13:case 12:{h=k;do h+=1,c=u.charCodeAt(h);while(c===32||c===10||c===9||c===13||c===12);m=["space",u.slice(k,h)],k=h-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let ce=String.fromCharCode(c);m=[ce,ce,k];break}case 40:{if(x=S.length?S.pop()[1]:"",f=u.charCodeAt(k+1),x==="url"&&f!==39&&f!==34&&f!==32&&f!==10&&f!==9&&f!==12&&f!==13){h=k;do{if(b=!1,h=u.indexOf(")",h+1),h===-1)if(l||ve){h=k;break}else T("bracket");for(g=h;u.charCodeAt(g-1)===92;)g-=1,b=!b}while(b);m=["brackets",u.slice(k,h+1),k,h],k=h}else h=u.indexOf(")",k+1),d=u.slice(k,h+1),h===-1||i.test(d)?m=["(","(",k]:(m=["brackets",d,k,h],k=h);break}case 39:case 34:{v=c===39?"'":'"',h=k;do{if(b=!1,h=u.indexOf(v,h+1),h===-1)if(l||ve){h=k+1;break}else T("string");for(g=h;u.charCodeAt(g-1)===92;)g-=1,b=!b}while(b);m=["string",u.slice(k,h+1),k,h],k=h;break}case 64:{r.lastIndex=k+1,r.test(u),r.lastIndex===0?h=u.length-1:h=r.lastIndex-2,m=["at-word",u.slice(k,h+1),k,h],k=h;break}case 92:{for(h=k,p=!0;u.charCodeAt(h+1)===92;)h+=1,p=!p;if(c=u.charCodeAt(h+1),p&&c!==47&&c!==32&&c!==10&&c!==9&&c!==13&&c!==12&&(h+=1,o.test(u.charAt(h)))){for(;o.test(u.charAt(h+1));)h+=1;u.charCodeAt(h+1)===32&&(h+=1)}m=["word",u.slice(k,h+1),k,h],k=h;break}default:{c===47&&u.charCodeAt(k+1)===42?(h=u.indexOf("*/",k+2)+1,h===0&&(l||ve?h=u.length:T("comment")),m=["comment",u.slice(k,h+1),k,h],k=h):(n.lastIndex=k+1,n.test(u),n.lastIndex===0?h=u.length-1:h=n.lastIndex-2,m=["word",u.slice(k,h+1),k,h],S.push(m),k=h);break}}return k++,m}function te(J){E.push(J)}return{back:te,endOfFile:z,nextToken:B,position:A}}}),L$=G((e,t)=>{"use strict";var r=ZN(),n=dw(),i=pw(),o=Em(),a=tz(),s=D$(),u={empty:!0,space:!0};function l(d){for(let p=d.length-1;p>=0;p--){let h=d[p],v=h[3]||h[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 h,v,m,b=!1,g=!1,f=[],x=[];for(;!this.tokenizer.endOfFile();){if(d=this.tokenizer.nextToken(),h=d[0],h==="("||h==="["?x.push(h==="("?")":"]"):h==="{"&&x.length>0?x.push("}"):h===x[x.length-1]&&x.pop(),x.length===0)if(h===";"){p.source.end=this.getPosition(d[2]),p.source.end.offset++,this.semicolon=!0;break}else if(h==="{"){g=!0;break}else if(h==="}"){if(f.length>0){for(m=f.length-1,v=f[m];v&&v[0]==="space";)v=f[--m];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 h=0,v;for(let m=p-1;m>=0&&(v=d[m],!(v[0]!=="space"&&(h+=1,h===2)));m--);throw this.input.error("Missed semicolon",v[0]==="word"?v[3]+1:v[2])}colon(d){let p=0,h,v,m;for(let[b,g]of d.entries()){if(v=g,m=v[0],m==="("&&(p+=1),m===")"&&(p-=1),p===0&&m===":")if(!h)this.doubleColon(v);else{if(h[0]==="word"&&h[1]==="progid")continue;return b}h=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 h=d[1].slice(2,-2);if(!h.trim())p.text="",p.raws.left=h,p.raws.right="";else{let v=h.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 h=new i;this.init(h,d[0][2]);let v=d[d.length-1];for(v[0]===";"&&(this.semicolon=!0,d.pop()),h.source.end=this.getPosition(v[3]||v[2]||l(d)),h.source.end.offset++;d[0][0]!=="word";)d.length===1&&this.unknownWord(d),h.raws.before+=d.shift()[1];for(h.source.start=this.getPosition(d[0][2]),h.prop="";d.length;){let f=d[0][0];if(f===":"||f==="space"||f==="comment")break;h.prop+=d.shift()[1]}h.raws.between="";let m;for(;d.length;)if(m=d.shift(),m[0]===":"){h.raws.between+=m[1];break}else m[0]==="word"&&/\w/.test(m[1])&&this.unknownWord([m]),h.raws.between+=m[1];(h.prop[0]==="_"||h.prop[0]==="*")&&(h.raws.before+=h.prop[0],h.prop=h.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(m=d[f],m[1].toLowerCase()==="!important"){h.important=!0;let x=this.stringFrom(d,f);x=this.spacesFromEnd(d)+x,x!==" !important"&&(h.raws.important=x);break}else if(m[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("!")&&(h.important=!0,h.raws.important=w,d=x)}if(m[0]!=="space"&&m[0]!=="comment")break}d.some(f=>f[0]!=="space"&&f[0]!=="comment")&&(h.raws.between+=b.map(f=>f[1]).join(""),b=[]),this.raw(h,"value",b.concat(d),p),h.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,h=null,v=!1,m=null,b=[],g=d[1].startsWith("--"),f=[],x=d;for(;x;){if(h=x[0],f.push(x),h==="("||h==="[")m||(m=x),b.push(h==="("?")":"]");else if(g&&v&&h==="{")m||(m=x),b.push("}");else if(b.length===0)if(h===";")if(v){this.decl(f,g);return}else break;else if(h==="{"){this.rule(f);return}else if(h==="}"){this.tokenizer.back(f.pop()),p=!0;break}else h===":"&&(v=!0);else h===b[b.length-1]&&(b.pop(),b.length===0&&(m=null));x=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(p=!0),b.length>0&&this.unclosedBracket(m),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,h,v){let m,b,g=h.length,f="",x=!0,w,k;for(let S=0;S<g;S+=1)m=h[S],b=m[0],b==="space"&&S===g-1&&!v?x=!1:b==="comment"?(k=h[S-1]?h[S-1][0]:"empty",w=h[S+1]?h[S+1][0]:"empty",!u[k]&&!u[w]?f.slice(-1)===","?x=!1:f+=m[1]:x=!1):f+=m[1];if(!x){let S=h.reduce((E,A)=>E+A[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,h="";for(;d.length&&(p=d[d.length-1][0],!(p!=="space"&&p!=="comment"));)h=d.pop()[1]+h;return h}spacesAndCommentsFromStart(d){let p,h="";for(;d.length&&(p=d[0][0],!(p!=="space"&&p!=="comment"));)h+=d.shift()[1];return h}spacesFromEnd(d){let p,h="";for(;d.length&&(p=d[d.length-1][0],p==="space");)h=d.pop()[1]+h;return h}stringFrom(d,p){let h="";for(let v=p;v<d.length;v++)h+=d[v][1];return d.splice(p,d.length-p),h}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}),rz=G((e,t)=>{"use strict";var r=zn(),n=hw(),i=L$();function o(a,s){let u=new n(a,s),l=new i(u);try{l.parse()}catch(c){throw c}return l.root}t.exports=o,o.default=o,r.registerParse(o)}),nz=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}),iz=G((e,t)=>{"use strict";var r=nz(),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}),F$=G(()=>{}),oz=G((e,t)=>{"use strict";var r=zn(),n=mw(),i=j$(),o=rz(),a=iz(),s=Em(),u=uw(),{isClean:l,my:c}=cw(),d=F$();function p(m){return m[l]=!1,m.nodes&&m.nodes.forEach(b=>p(b)),m}var h={},v=class az{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 az||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={...h,postcss:h,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=u;b.syntax&&(g=b.syntax.stringify),b.stringifier&&(g=b.stringifier),g.stringify&&(g=g.stringify);let f=new i(g,this.result.root,this.result.opts).generate();return this.result.css=f[0],this.result.map=f[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=m=>{h=m},t.exports=v,v.default=v,s.registerLazyResult(v),n.registerLazyResult(v)}),M$=G((e,t)=>{var r=class{};t.exports=r}),R$=G((e,t)=>{"use strict";var r=mw(),n=oz(),i=M$(),o=Em(),a=class{constructor(s=[]){this.version="8.5.8",this.plugins=this.normalize(s)}normalize(){return[]}process(s,u={}){return!this.plugins.length&&!u.parser&&!u.stringifier&&!u.syntax?new i(this,s,u):new n(this,s,u)}};t.exports=a,a.default=a,o.registerProcessor(a),r.registerProcessor(a)}),$$=G((e,t)=>{"use strict";var r=ZN(),n=dw(),i=zn(),o=lw(),a=pw(),s=mw(),u=O$(),l=hw(),c=oz(),d=ez(),p=zm(),h=rz(),v=R$(),m=iz(),b=Em(),g=tz(),f=uw(),x=nz();function w(...k){return k.length===1&&Array.isArray(k[0])&&(k=k[0]),new v(k)}w.stringify=f,w.parse=h,w.fromJSON=u,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=m,w.Input=l,w.Rule=g,w.Root=b,w.Node=p,c.registerPostcss(w),t.exports=w,w.default=w}),Ch,ji,sz,Zc=y(()=>{Ch=re($$(),1),ji=Ch.default,sz=Ch.default.Node}),lz={};N(lz,{default:()=>uz});var go,Ah,Cx,bo,uz,B$=y(()=>{Zc(),q(),Qi(),et(),H(),I(),D(),F(),go="at-rule-no-deprecated",Ah=j(go,{rejected:e=>`Deprecated at-rule "${e}"`}),Cx={url:"https://stylelint.io/user-guide/rules/at-rule-no-deprecated",fixable:!0},bo=(e,t)=>(r,n)=>{L(n,go,{actual:e},{actual:t,possible:{ignoreAtRules:[$,U]},optional:!0})&&r.walkAtRules(i=>{if(!Je(i))return;let{name:o}=i,a=o.toLowerCase();if(R(t,"ignoreAtRules",o)||!Gb.has(a))return;let s=a==="nest"?()=>{let l=ji.rule({selector:i.params,source:i.source});l.append(i.nodes),i.replaceWith(l)}:void 0,u=`@${o}`;P({message:Ah.rejected,messageArgs:[u],node:i,ruleName:go,result:n,index:0,endIndex:u.length,fix:{apply:s,node:i.parent}})})},bo.ruleName=go,bo.messages=Ah,bo.meta=Cx,uz=bo}),Ke,Pt=y(()=>{Ke={prefix(e){let t=e.match(/^(-\w+-)/);return t&&t[0]||""},unprefixed(e){return e.replace(/^-\w+-/,"")}}}),cz={};N(cz,{default:()=>dz});var vo,Nh,Ax,yo,dz,q$=y(()=>{q(),Qi(),et(),H(),I(),D(),F(),Pt(),vo="at-rule-no-unknown",Nh=j(vo,{rejected:e=>`Unknown at-rule "${e}"`}),Ax={url:"https://stylelint.io/user-guide/rules/at-rule-no-unknown"},yo=(e,t)=>(r,n)=>{var a,s,u;if(!L(n,vo,{actual:e},{actual:t,possible:{ignoreAtRules:[$,U]},optional:!0}))return;let i=((u=(s=(a=n.stylelint.config)==null?void 0:a.languageOptions)==null?void 0:s.syntax)==null?void 0:u.atRules)||{},o=new Set(Object.keys(i));r.walkAtRules(l=>{if(!Je(l))return;let c=l.name;if(o.has(c)||R(t,"ignoreAtRules",l.name)||Ke.prefix(c)||eN.has(c.toLowerCase()))return;let d=`@${c}`;P({message:Nh.rejected,messageArgs:[d],node:l,ruleName:vo,result:n,word:d})})},yo.ruleName=vo,yo.messages=Nh,yo.meta=Ax,dz=yo}),Nx,zx,Ex,Px,Sr,Xc=y(()=>{Pt(),Nx=new Set(["@-moz-keyframes","@-moz-document","@-ms-keyframes","@-ms-viewport","@-o-keyframes","@-o-viewport","@-webkit-keyframes","@-webkit-viewport"]),zx=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"]),Ex=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"]),Px=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"]),Sr={atRuleName(e){return Nx.has(`@${e.toLowerCase()}`)},selector(e){return zx.has(e.toLowerCase())},mediaFeatureName(e){return e.toLowerCase().includes("device-pixel-ratio")},property(e){let t=e.toLowerCase();return Ke.prefix(t).length===0?!1:Ex.has(Ke.unprefixed(t))},propertyValue(e){return Px.has(e.toLowerCase())},unprefix(e){return e.replace(/-\w+-/,"")}}}),pz={};N(pz,{default:()=>mz});var wo,zh,Ox,ko,mz,W$=y(()=>{q(),Xc(),et(),H(),I(),D(),F(),wo="at-rule-no-vendor-prefix",zh=j(wo,{rejected:e=>`Vendor-prefixed at-rule "${e}"`}),Ox={url:"https://stylelint.io/user-guide/rules/at-rule-no-vendor-prefix",fixable:!0},ko=(e,t)=>(r,n)=>{L(n,wo,{actual:e},{optional:!0,actual:t,possible:{ignoreAtRules:[$,U]}})&&r.walkAtRules(i=>{if(!Je(i))return;let o=i.name;if(R(t,"ignoreAtRules",o)||!o.startsWith("-")||!Sr.atRuleName(o))return;let a=()=>{i.name=Sr.unprefix(i.name)},s=`@${o}`;P({message:zh.rejected,messageArgs:[s],node:i,word:s,result:n,ruleName:wo,fix:{apply:a,node:i}})})},ko.ruleName=wo,ko.messages=zh,ko.meta=Ox,mz=ko}),hz={};N(hz,{default:()=>fz});var xo,Eh,Tx,So,fz,_$=y(()=>{q(),et(),X(),H(),I(),D(),F(),xo="at-rule-prelude-no-invalid",Eh=j(xo,{rejected:(e,t)=>`Invalid prelude "${t}" for at-rule "${e}"`}),Tx={url:"https://stylelint.io/user-guide/rules/at-rule-prelude-no-invalid"},So=(e,t)=>(r,n)=>{if(!L(n,xo,{actual:e},{actual:t,possible:{ignoreAtRules:[$,U]},optional:!0}))return;let i=n.stylelint.lexer;r.walkAtRules(o=>{if(!Je(o))return;let{name:a,params:s}=o;if(R(t,"ignoreAtRules",a))return;let{error:u}=i.matchAtrulePrelude(a,s);if(!u||u.name!=="SyntaxMatchError")return;let l=`@${a}`,c=Te(o),d=c+s.length;P({message:Eh.rejected,messageArgs:[l,s],node:o,index:c,endIndex:d,ruleName:xo,result:n})})},So.ruleName=xo,So.messages=Eh,So.meta=Tx,fz=So});function U$(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 V$=y(()=>{});function Lt(...e){return t=>xr(t)?Object.values(t).flat().every(r=>e.some(n=>n(r))):!1}var Ht=y(()=>{q()}),gz={};N(gz,{default:()=>bz});var Co,Ph,Ix,Ao,bz,Q$=y(()=>{V$(),et(),q(),I(),D(),Ht(),F(),Co="at-rule-property-required-list",Ph=j(Co,{expected:(e,t)=>`Expected property or descriptor "${t}" for at-rule "${e}"`}),Ix={url:"https://stylelint.io/user-guide/rules/at-rule-property-required-list"},Ao=e=>(t,r)=>{if(!L(r,Co,{actual:e,possible:[Lt($)]}))return;let n=U$(e),i=new Set;t.walkAtRules(o=>{if(!Je(o))return;let{name:a,nodes:s}=o;if(!s)return;let u=a.toLowerCase(),l=n.get(u);if(l){i.clear();for(let c of s){if(!c||c.type!=="decl")continue;let d=c.prop.toLowerCase();l.has(d)&&i.add(d)}if(i.size!==l.size)for(let c of l){if(i.has(c))continue;let d=`@${o.name}`;P({message:Ph.expected,messageArgs:[d,c],node:o,word:d,result:r,ruleName:Co})}}})},Ao.ruleName=Co,Ao.messages=Ph,Ao.meta=Ix,bz=Ao});function vz(e,{noRawBefore:t}={noRawBefore:!1}){let r="",n=e.raws.before||"";if(t||(r+=n),lt(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 yz=y(()=>{he()});function wz(e,t=Jc){if(!e)return e;let[r]=e.split(/\s/,1);return _i(r),r.replace(t,"")}function xi(e,t=Jc){let r=$(e)?e:Yr(e)?e.text:void 0;if(!r)return!1;let n=wz(r,t);return n!==void 0&&kz.has(n)}function Y$(e,t=Jc){return`${t}${e}`}var Up,Vp,Qp,Yp,kz,Jc,ed=y(()=>{q(),he(),Up="-disable",Vp="-disable-line",Qp="-disable-next-line",Yp="-enable",kz=new Set([Up,Vp,Qp,Yp]),Jc="stylelint"}),xz={};N(xz,{default:()=>Sz});var No,Oh,jx,zo,Sz,G$=y(()=>{yz(),Cm(),he(),ed(),H(),I(),D(),F(),No="block-no-empty",Oh=j(No,{rejected:"Empty block"}),jx={url:"https://stylelint.io/user-guide/rules/block-no-empty"},zo=(e,t,r)=>(n,i)=>{if(!L(i,No,{actual:e,possible:[!0]},{actual:t,possible:{ignore:["comments"]},optional:!0}))return;let o=R(t,"ignore","comments");n.walkRules(a),n.walkAtRules(a);function a(l){if(!zc(l)||s(l)||u(l))return;let c=vz(l,{noRawBefore:!0}).length;l.raws.between===void 0&&c--,P({message:Oh.rejected,messageArgs:[],node:l,start:l.positionBy({index:c}),end:l.rangeBy({}).end,result:i,ruleName:No})}function s(l){var c;return((c=l.nodes)!=null?c:[]).some(d=>!(Yr(d)&&(o||xi(d,r.configurationComment))))}function u(l){let{after:c}=l.raws;return typeof c=="string"&&/\S/.test(c)}},zo.ruleName=No,zo.messages=Oh,zo.meta=jx,Sz=zo});function Pm(e){return!(ym(e)||e.startsWith("%")||e.endsWith(":")||/:extend(?:\(.*?\))?/.test(e)||/\.[\w-]+\(.*\).+/.test(e)||e.endsWith(")")&&!e.includes(":")||/\(@.*\)$/.test(e)||e.includes("<%")||e.includes("%>")||e.includes("//"))}var Om=y(()=>{wm()});function de(e){return!(e.type!=="rule"||"extend"in e&&e.extend||!Pm(e.selector))}var pe=y(()=>{Om()}),Cz={};N(Cz,{default:()=>Az});var Eo,Th,Dx,Po,Az,K$=y(()=>{he(),pe(),I(),D(),F(),Eo="block-no-redundant-nested-style-rules",Th=j(Eo,{rejected:"Redundant nested style rule"}),Dx={url:"https://stylelint.io/user-guide/rules/block-no-redundant-nested-style-rules"},Po=e=>(t,r)=>{L(r,Eo,{actual:e,possible:[!0]})&&t.walkRules(n=>{if(!de(n))return;let{parent:i,selector:o}=n;o==="&"&&i&&(ur(i)||P({message:Th.rejected,messageArgs:[],node:n,result:r,ruleName:Eo}))})},Po.ruleName=Eo,Po.messages=Th,Po.meta=Dx,Az=Po});function td(e){return!(!e.value||e.value.startsWith("#{")||e.value.startsWith("${")||e.value.startsWith("`"))}var rd=y(()=>{});function fw(e){if(!td(e))return!1;for(let t of e.nodes){if(t.type==="function")return fw(t);if(t.type==="word"&&(t.value.startsWith("#")||t.value.startsWith("$")||t.value.includes(".$")))return!1}return!0}var Nz=y(()=>{rd()}),zz={};N(zz,{default:()=>Ez});var Lx,Oo,Ih,Fx,To,Ez,H$=y(()=>{Lx=re(me(),1),Nr(),X(),Ye(),Nz(),he(),V(),I(),D(),Bt(),F(),Oo="color-function-alias-notation",Ih=j(Oo,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),Fx={url:"https://stylelint.io/user-guide/rules/color-function-alias-notation",fixable:!0},To=e=>(t,r)=>{if(!L(r,Oo,{actual:e,possible:["with-alpha","without-alpha"]}))return;let n=e==="with-alpha"?Y.withoutAlphaAliasColorFunction:Y.withAlphaAliasColorFunction,i=e==="with-alpha"?$p:Cc;t.walkDecls(o=>{if(!n.test(o.value))return;let a=(0,Lx.default)(Qe(o));a.walk(s=>{if(!An(s)||!fw(s))return;let{value:u,sourceIndex:l}=s;if(!i.has(u.toLowerCase()))return;let c=e==="with-alpha"?`${u}a`:u.slice(0,-1),d=()=>{s.value=c,$t(o,a.toString())},p=ie(o)+l,h=p+u.length;P({message:Ih.expected,messageArgs:[u,c],node:o,index:p,endIndex:h,result:r,ruleName:Oo,fix:{apply:d,node:o}})})})},To.ruleName=Oo,To.messages=Ih,To.meta=Fx,Ez=To});function Gi(e){return An(e)&&e.value.toLowerCase()==="var"}var nd=y(()=>{he()}),Pz={};N(Pz,{default:()=>Tz});function jh(e){return e!==""?e:" "}function Z$(e){return e.some(t=>Gi(t))}function Oz(e){return e.type==="div"&&e.value===","}function Mx(e){let t=0;for(let r of e)if(Oz(r))t++;else if(r.value==="/")return!1;return t&&(t===2||t===3)}var Rx,Io,Dh,$x,jo,Tz,X$=y(()=>{Rx=re(me(),1),Nr(),X(),Ye(),Nz(),he(),nd(),V(),H(),I(),D(),Bt(),F(),Io="color-function-notation",Dh=j(Io,{expected:e=>`Expected ${e} color-function notation`}),$x={url:"https://stylelint.io/user-guide/rules/color-function-notation",fixable:!0},jo=(e,t)=>(r,n)=>{if(!L(n,Io,{actual:e,possible:["modern","legacy"]},{actual:t,possible:{ignore:["with-var-inside"]},optional:!0}))return;let i=R(t,"ignore","with-var-inside");r.walkDecls(o=>{if(!Y.legacyNotationColorFunction.test(o.value)||e==="modern"&&!o.value.includes(","))return;let a=(0,Rx.default)(Qe(o));a.walk(s=>{if(!An(s)||!fw(s))return;let{value:u,sourceIndex:l,sourceEndIndex:c,nodes:d}=s;if(i&&Z$(d)||!Xy.has(u.toLowerCase())||!(d.length>=5)||e==="modern"&&!Mx(d)||e==="legacy"&&Mx(d))return;let p=()=>{let b=0;s.nodes=d.map(g=>(Oz(g)&&(b<2?(g.type="space",g.value=jh(g.after),b++):(g.value="/",g.before=jh(g.before),g.after=jh(g.after))),g)),Cc.has(u.toLowerCase())&&(s.value=u.slice(0,-1)),$t(o,a.toString())},h=ie(o)+l,v=h+(c-l),m=e==="modern"?p:void 0;P({message:Dh.expected,messageArgs:[e],node:o,index:h,endIndex:v,result:n,ruleName:Io,fix:{apply:m,node:o}})})})},jo.ruleName=Io,jo.messages=Dh,jo.meta=$x,Tz=jo});function Iz(e){return jz.test(e)}var jz,Dz=y(()=>{jz=/^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$/i});function Lz({type:e,value:t}){return e==="word"&&Iz(t)}var Fz=y(()=>{Dz()});function id(e){return An(e)&&e.value.toLowerCase()==="url"}var od=y(()=>{he()}),Mz={};N(Mz,{default:()=>Rz});function Bx(e){return e.length===5||e.length===9}var qx,Do,wd,Wx,Lo,Rz,J$=y(()=>{qx=re(me(),1),X(),Fz(),od(),V(),I(),D(),F(),Do="color-hex-alpha",wd=j(Do,{expected:e=>`Expected alpha channel in "${e}"`,rejected:e=>`Expected no alpha channel in "${e}"`}),Wx={url:"https://stylelint.io/user-guide/rules/color-hex-alpha"},Lo=e=>(t,r)=>{L(r,Do,{actual:e,possible:["always","never"]})&&t.walkDecls(n=>{Y.validHex.test(n.value)&&(0,qx.default)(n.value).walk(i=>{if(id(i))return!1;if(!Lz(i))return;let{value:o}=i;if(e==="always"&&Bx(o)||e==="never"&&!Bx(o))return;let a=ie(n)+i.sourceIndex,s=a+o.length;P({message:e==="never"?wd.rejected:wd.expected,messageArgs:[o],node:n,index:a,endIndex:s,result:r,ruleName:Do})})})},Lo.ruleName=Do,Lo.messages=wd,Lo.meta=Wx,Rz=Lo}),$z={};N($z,{default:()=>Bz});function eB(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 tB(e){let t="#";for(let r=1;r<e.length;r+=2)t+=e[r];return t}function rB(e){let t="#";for(let r=1;r<e.length;r++)t+=e.charAt(r).repeat(2);return t}var _x,Fo,Lh,Ux,Mo,Bz,nB=y(()=>{_x=re(me(),1),X(),Ye(),Fz(),od(),V(),I(),D(),Bt(),F(),Fo="color-hex-length",Lh=j(Fo,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),Ux={url:"https://stylelint.io/user-guide/rules/color-hex-length",fixable:!0},Mo=e=>(t,r)=>{L(r,Fo,{actual:e,possible:["short","long"]})&&t.walkDecls(n=>{if(!Y.hexColor.test(n.value))return;let i=(0,_x.default)(Qe(n));i.walk(o=>{let{value:a}=o;if(id(o))return!1;if(!Lz(o)||e==="long"&&a.length!==4&&a.length!==5||e==="short"&&(a.length<6||!eB(a)))return;let s=(e==="long"?rB:tB)(a),u=()=>{o.value=s,$t(n,i.toString())},l=ie(n)+o.sourceIndex,c=l+o.value.length;P({message:Lh.expected,messageArgs:[a,s],node:n,index:l,endIndex:c,result:r,ruleName:Fo,fix:{apply:u,node:n}})})})},Mo.ruleName=Fo,Mo.messages=Lh,Mo.meta=Ux,Bz=Mo}),Vx,mr,Xe,Tt,Fh,Mh,kd,Qx,Ro,Rh,$h,Bh,qh,Wh,Ln,Yx,Gx,Kx,Hx,xd,_h,Zx,Sd,Cd,Uh,Ad,er,Vh,qz,iB=y(()=>{Vx={grad:.9,turn:360,rad:360/(2*Math.PI)},mr=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},Xe=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},Tt=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},Fh=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},Mh=function(e){return{r:Tt(e.r,0,255),g:Tt(e.g,0,255),b:Tt(e.b,0,255),a:Tt(e.a)}},kd=function(e){return{r:Xe(e.r),g:Xe(e.g),b:Xe(e.b),a:Xe(e.a,3)}},Qx=/^#([0-9a-f]{3,8})$/i,Ro=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Rh=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}},$h=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),u=n*(1-(1-t+o)*r),l=o%6;return{r:255*[n,s,a,a,u,n][l],g:255*[u,n,n,s,a,a][l],b:255*[a,a,u,n,n,s][l],a:i}},Bh=function(e){return{h:Fh(e.h),s:Tt(e.s,0,100),l:Tt(e.l,0,100),a:Tt(e.a)}},qh=function(e){return{h:Xe(e.h),s:Xe(e.s),l:Xe(e.l),a:Xe(e.a,3)}},Wh=function(e){return $h((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},Ln=function(e){return{h:(t=Rh(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},Yx=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Gx=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Kx=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Hx=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,xd={string:[[function(e){var t=Qx.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?Xe(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?Xe(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=Kx.exec(e)||Hx.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:Mh({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=Yx.exec(e)||Gx.exec(e);if(!t)return null;var r,n,i=Bh({h:(r=t[1],n=t[2],n===void 0&&(n="deg"),Number(r)*(Vx[n]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return Wh(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 mr(t)&&mr(r)&&mr(n)?Mh({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(!mr(t)||!mr(r)||!mr(n))return null;var a=Bh({h:Number(t),s:Number(r),l:Number(n),a:Number(o)});return Wh(a)},"hsl"],[function(e){var t=e.h,r=e.s,n=e.v,i=e.a,o=i===void 0?1:i;if(!mr(t)||!mr(r)||!mr(n))return null;var a=(function(s){return{h:Fh(s.h),s:Tt(s.s,0,100),v:Tt(s.v,0,100),a:Tt(s.a)}})({h:Number(t),s:Number(r),v:Number(n),a:Number(o)});return $h(a)},"hsv"]]},_h=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]},Zx=function(e){return typeof e=="string"?_h(e.trim(),xd.string):typeof e=="object"&&e!==null?_h(e,xd.object):[null,void 0]},Sd=function(e,t){var r=Ln(e);return{h:r.h,s:Tt(r.s+100*t,0,100),l:r.l,a:r.a}},Cd=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},Uh=function(e,t){var r=Ln(e);return{h:r.h,s:r.s,l:Tt(r.l+100*t,0,100),a:r.a}},Ad=(function(){function e(t){this.parsed=Zx(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 Xe(Cd(this.rgba),2)},e.prototype.isDark=function(){return Cd(this.rgba)<.5},e.prototype.isLight=function(){return Cd(this.rgba)>=.5},e.prototype.toHex=function(){return t=kd(this.rgba),r=t.r,n=t.g,i=t.b,a=(o=t.a)<1?Ro(Xe(255*o)):"","#"+Ro(r)+Ro(n)+Ro(i)+a;var t,r,n,i,o,a},e.prototype.toRgb=function(){return kd(this.rgba)},e.prototype.toRgbString=function(){return t=kd(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 qh(Ln(this.rgba))},e.prototype.toHslString=function(){return t=qh(Ln(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=Rh(this.rgba),{h:Xe(t.h),s:Xe(t.s),v:Xe(t.v),a:Xe(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(Sd(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),er(Sd(this.rgba,-t))},e.prototype.grayscale=function(){return er(Sd(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),er(Uh(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),er(Uh(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}):Xe(this.rgba.a,3);var r},e.prototype.hue=function(t){var r=Ln(this.rgba);return typeof t=="number"?er({h:t,s:r.s,l:r.l,a:r.a}):Xe(r.h)},e.prototype.isEqual=function(t){return this.toHex()===er(t).toHex()},e})(),er=function(e){return e instanceof Ad?e:new Ad(e)},Vh=[],qz=function(e){e.forEach(function(t){Vh.indexOf(t)<0&&(t(Ad,xd),Vh.push(t))})}});function oB(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,u,l=n[this.toHex()];if(l)return l;if(a!=null&&a.closest){var c=this.toRgb(),d=1/0,p="black";if(!o.length)for(var h in r)o[h]=new e(r[h]).toRgb();for(var v in r){var m=(s=c,u=o[v],Math.pow(s.r-u.r,2)+Math.pow(s.g-u.g,2)+Math.pow(s.b-u.b,2));m<d&&(d=m,p=v)}return p}},t.string.push([function(a){var s=a.toLowerCase(),u=s==="transparent"?"#0000":r[s];return u?new e(u).toRgb():null},"name"])}var aB=y(()=>{});function sB(e,t){e.prototype.toHwb=function(){return sv(lv(this.rgba))},e.prototype.toHwbString=function(){return r=sv(lv(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([_z,"hwb"]),t.object.push([Wz,"hwb"])}var Xx,Nd,$o,zd,Qh,sv,lv,Yh,Wz,Jx,_z,lB=y(()=>{Xx={grad:.9,turn:360,rad:360/(2*Math.PI)},Nd=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},$o=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},Qh=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},sv=function(e){return{h:$o(e.h),w:$o(e.w),b:$o(e.b),a:$o(e.a,3)}},lv=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),u=s?a===r?(n-i)/s:a===n?2+(i-r)/s:4+(r-n)/s:0;return{h:60*(u<0?u+6:u),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}},Yh=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),u=i*(1-(r-a)*n),l=i*(1-(1-r+a)*n),c=a%6;return{r:255*[i,u,s,s,l,i][c],g:255*[l,i,i,u,s,s][c],b:255*[s,s,l,i,i,u][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})},Wz=function(e){var t=e.h,r=e.w,n=e.b,i=e.a,o=i===void 0?1:i;if(!Nd(t)||!Nd(r)||!Nd(n))return null;var a=Qh({h:Number(t),w:Number(r),b:Number(n),a:Number(o)});return Yh(a)},Jx=/^hwb\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,_z=function(e){var t=Jx.exec(e);if(!t)return null;var r,n,i=Qh({h:(r=t[1],n=t[2],n===void 0&&(n="deg"),Number(r)*(Xx[n]||1)),w:Number(t[3]),b:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return Yh(i)}});function uB(e,t){e.prototype.toLab=function(){return n=Uz(this.rgba),o=n.y/vp,a=n.z/yp,i=(i=n.x/bp)>Si?Math.cbrt(i):(gn*i+16)/116,r={l:116*(o=o>Si?Math.cbrt(o):(gn*o+16)/116)-16,a:500*(i-o),b:200*(o-(a=a>Si?Math.cbrt(a):(gn*a+16)/116)),alpha:n.a},{l:di(r.l,2),a:di(r.a,2),b:di(r.b,2),alpha:di(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,u=o.a,l=o.b,c=a.l,d=a.a,p=a.b,h=180/Math.PI,v=Math.PI/180,m=Math.pow(Math.pow(u,2)+Math.pow(l,2),.5),b=Math.pow(Math.pow(d,2)+Math.pow(p,2),.5),g=(s+c)/2,f=Math.pow((m+b)/2,7),x=.5*(1-Math.pow(f/(f+Math.pow(25,7)),.5)),w=u*(1+x),k=d*(1+x),S=Math.pow(Math.pow(w,2)+Math.pow(l,2),.5),E=Math.pow(Math.pow(k,2)+Math.pow(p,2),.5),A=(S+E)/2,T=w===0&&l===0?0:Math.atan2(l,w)*h,z=k===0&&p===0?0:Math.atan2(p,k)*h;T<0&&(T+=360),z<0&&(z+=360);var B=z-T,te=Math.abs(z-T);te>180&&z<=T?B+=360:te>180&&z>T&&(B-=360);var J=T+z;te<=180?J/=2:J=(T+z<360?J+360:J-360)/2;var ve=1-.17*Math.cos(v*(J-30))+.24*Math.cos(2*v*J)+.32*Math.cos(v*(3*J+6))-.2*Math.cos(v*(4*J-63)),ce=c-s,le=E-S,Re=2*Math.sin(v*B/2)*Math.pow(S*E,.5),Be=1+.015*Math.pow(g-50,2)/Math.pow(20+Math.pow(g-50,2),.5),ct=1+.045*A,Ze=1+.015*A*ve,Q=30*Math.exp(-1*Math.pow((J-275)/25,2)),K=-2*Math.pow(f/(f+Math.pow(25,7)),.5)*Math.sin(2*v*Q);return Math.pow(Math.pow(ce/1/Be,2)+Math.pow(le/1/ct,2)+Math.pow(Re/1/Ze,2)+K*le*Re/(1*ct*1*Ze),.5)})(this.toLab(),n.toLab())/100;return Ut(di(i,3))},t.object.push([Vz,"lab"])}var Ed,di,Ut,Pd,Od,bp,vp,yp,e1,Uz,Si,gn,Vz,t1,cB=y(()=>{Ed=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},di=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},Ut=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},Pd=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},Od=function(e){return 255*(e>.0031308?1.055*Math.pow(e,.4166666666666667)-.055:12.92*e)},bp=96.422,vp=100,yp=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:Od(.032404542*n.x-.015371385*n.y-.004985314*n.z),g:Od(-.00969266*n.x+.018760108*n.y+41556e-8*n.z),b:Od(556434e-9*n.x-.002040259*n.y+.010572252*n.z),a:e.a},{r:Ut(r.r,0,255),g:Ut(r.g,0,255),b:Ut(r.b,0,255),a:Ut(r.a)}},Uz=function(e){var t=Pd(e.r),r=Pd(e.g),n=Pd(e.b);return(function(i){return{x:Ut(i.x,0,bp),y:Ut(i.y,0,vp),z:Ut(i.z,0,yp),a:Ut(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}))},Si=216/24389,gn=24389/27,Vz=function(e){var t=e.l,r=e.a,n=e.b,i=e.alpha,o=i===void 0?1:i;if(!Ed(t)||!Ed(r)||!Ed(n))return null;var a=(function(s){return{l:Ut(s.l,0,400),a:s.a,b:s.b,alpha:Ut(s.alpha)}})({l:Number(t),a:Number(r),b:Number(n),alpha:Number(o)});return t1(a)},t1=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)>Si?Math.pow(r,3):(116*r-16)/gn)*bp,y:(e.l>8?Math.pow((e.l+16)/116,3):e.l/gn)*vp,z:(Math.pow(n,3)>Si?Math.pow(n,3):(116*n-16)/gn)*yp,a:e.alpha})}});function dB(e,t){e.prototype.toLch=function(){return uv(cv(this.rgba))},e.prototype.toLchString=function(){return r=uv(cv(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([Yz,"lch"]),t.object.push([Qz,"lch"])}var r1,Td,on,hr,Id,jd,Dd,Ld,Fd,n1,i1,Fn,an,Gh,uv,Qz,cv,Kh,o1,Yz,pB=y(()=>{r1={grad:.9,turn:360,rad:360/(2*Math.PI)},Td=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},hr=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},Id=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},jd=function(e){return 255*(e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e)},Dd=96.422,Ld=100,Fd=82.521,n1=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:jd(.032404542*n.x-.015371385*n.y-.004985314*n.z),g:jd(-.00969266*n.x+.018760108*n.y+41556e-8*n.z),b:jd(556434e-9*n.x-.002040259*n.y+.010572252*n.z),a:e.a},{r:hr(r.r,0,255),g:hr(r.g,0,255),b:hr(r.b,0,255),a:hr(r.a)}},i1=function(e){var t=Id(e.r),r=Id(e.g),n=Id(e.b);return(function(i){return{x:hr(i.x,0,Dd),y:hr(i.y,0,Ld),z:hr(i.z,0,Fd),a:hr(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}))},Fn=216/24389,an=24389/27,Gh=function(e){return{l:hr(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},uv=function(e){return{l:on(e.l,2),c:on(e.c,2),h:on(e.h,2),a:on(e.a,3)}},Qz=function(e){var t=e.l,r=e.c,n=e.h,i=e.a,o=i===void 0?1:i;if(!Td(t)||!Td(r)||!Td(n))return null;var a=Gh({l:Number(t),c:Number(r),h:Number(n),a:Number(o)});return Kh(a)},cv=function(e){var t=(function(o){var a=i1(o),s=a.x/Dd,u=a.y/Ld,l=a.z/Fd;return s=s>Fn?Math.cbrt(s):(an*s+16)/116,{l:116*(u=u>Fn?Math.cbrt(u):(an*u+16)/116)-16,a:500*(s-u),b:200*(u-(l=l>Fn?Math.cbrt(l):(an*l+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}},Kh=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,n1({x:(Math.pow(n,3)>Fn?Math.pow(n,3):(116*n-16)/an)*Dd,y:(t.l>8?Math.pow((t.l+16)/116,3):t.l/an)*Ld,z:(Math.pow(i,3)>Fn?Math.pow(i,3):(116*i-16)/an)*Fd,a:t.alpha});var t,r,n,i},o1=/^lch\(\s*([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)\s+([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Yz=function(e){var t=o1.exec(e);if(!t)return null;var r,n,i=Gh({l:Number(t[1]),c:Number(t[2]),h:(r=t[3],n=t[4],n===void 0&&(n="deg"),Number(r)*(r1[n]||1)),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return Kh(i)}});function mB(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=Tm(`hwb(${t} ${r} ${n}${i?` / ${i}`:""})`);return a.isValid()?a.rgba:null}function hB(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=dv.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=dv.default.unit(r.trim());if(!a||!["","%"].includes(a.unit))return null;o={...o,alpha:Number(a.number)/(a.unit?100:1)}}return Tm(o).rgba}var dv,Tm,fB=y(()=>{iB(),dv=re(me(),1),aB(),lB(),cB(),pB(),qz([oB,sB,uB,dB,(e,t)=>{t.string.push([mB,"hwb-with-comma"])},(e,t)=>{t.string.push([hB,"gray"])}]),Tm=er}),Gz={};N(Gz,{default:()=>Kz});var Hh,Bo,Md,a1,s1,qo,Kz,gB=y(()=>{Hh=re(me(),1),q(),rn(),fB(),X(),rd(),qe(),V(),He(),H(),I(),D(),F(),Bo="color-named",Md=j(Bo,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:e=>`Disallowed named color "${e}"`}),a1={url:"https://stylelint.io/user-guide/rules/color-named"},s1=new Set(["word","function"]),qo=(e,t)=>(r,n)=>{if(!L(n,Bo,{actual:e,possible:["never","always-where-possible"]},{actual:t,possible:{ignoreProperties:[$,U],ignore:["inside-function"]},optional:!0}))return;r.walkDecls(o=>{if(tN.has(o.prop)||R(t,"ignoreProperties",o.prop))return;let{value:a}=o;e==="never"&&!Y.namedColor.test(a)||e==="always-where-possible"&&!Y.validHex.test(a)&&!Y.colorFunction.test(a)&&!Y.grayFunction.test(a)||(0,Hh.default)(a).walk(s=>{let u=s.value,l=s.type,c=s.sourceIndex;if(R(t,"ignore","inside-function")&&l==="function"||!td(s))return!1;if(!$e(u)||!s1.has(l))return;if(e==="never"&&l==="word"&&Nc.has(u.toLowerCase())){i(Md.rejected,[u],o,ie(o)+c,u.length);return}if(e!=="always-where-possible")return;let d,p;if(l==="function")d=Hh.default.stringify(s),p=d.replace(/\s*([,/()])\s*/g,"$1").replace(/\s{2,}/g," ");else if(l==="word"&&u.startsWith("#"))d=p=u;else return;let h=Tm(p);if(!h.isValid())return;let v=h.toName();v&&v.toLowerCase()!=="transparent"&&i(Md.expected,[p,v],o,ie(o)+c,d.length)})});function i(o,a,s,u,l){P({result:n,ruleName:Bo,message:o,messageArgs:a,node:s,index:u,endIndex:u+l})}},qo.ruleName=Bo,qo.messages=Md,qo.meta=a1,Kz=qo}),Hz={};N(Hz,{default:()=>Xz});function bB({type:e,value:t}){return e==="word"&&Zz.test(t)}var l1,Wo,Zh,u1,Zz,_o,Xz,vB=y(()=>{l1=re(me(),1),X(),Ye(),od(),V(),I(),D(),F(),Wo="color-no-hex",Zh=j(Wo,{rejected:e=>`Disallowed hex color "${e}"`}),u1={url:"https://stylelint.io/user-guide/rules/color-no-hex"},Zz=/^#[\da-z]+$/i,_o=e=>(t,r)=>{L(r,Wo,{actual:e})&&t.walkDecls(n=>{Y.hexColor.test(n.value)&&(0,l1.default)(Qe(n)).walk(i=>{if(id(i))return!1;if(!bB(i))return;let o=ie(n)+i.sourceIndex,a=o+i.value.length;P({message:Zh.rejected,messageArgs:[i.value],node:n,index:o,endIndex:a,result:r,ruleName:Wo})})})},_o.ruleName=Wo,_o.messages=Zh,_o.meta=u1,Xz=_o});function yB(e){return!e.includes("[")}var wB=y(()=>{}),Jz={};N(Jz,{default:()=>eE});var c1,Uo,Xh,d1,Vo,eE,kB=y(()=>{c1=re(me(),1),X(),wB(),Dz(),V(),I(),D(),F(),Uo="color-no-invalid-hex",Xh=j(Uo,{rejected:e=>`Invalid hex color "${e}"`}),d1={url:"https://stylelint.io/user-guide/rules/color-no-invalid-hex"},Vo=e=>(t,r)=>{L(r,Uo,{actual:e})&&t.walkDecls(n=>{Y.hexColor.test(n.value)&&yB(n.value)&&(0,c1.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 u=s[0];if(!u||Iz(u))return;let l=ie(n)+a,c=l+u.length;P({message:Xh.rejected,messageArgs:[u],node:n,index:l,endIndex:c,result:r,ruleName:Uo})})})},Vo.ruleName=Uo,Vo.messages=Xh,Vo.meta=d1,eE=Vo});function Ec(e){return!("inline"in e||"inline"in e.raws)}var Im=y(()=>{}),tE={};N(tE,{default:()=>rE});var Qo,Rd,p1,Yo,rE,xB=y(()=>{q(),Yc(),Kc(),Sm(),ed(),Hc(),Nm(),sw(),Im(),H(),I(),D(),F(),Qo="comment-empty-line-before",Rd=j(Qo,{expected:"Expected empty line before comment",rejected:"Expected no empty line before comment"}),p1={url:"https://stylelint.io/user-guide/rules/comment-empty-line-before",fixable:!0},Yo=(e,t,r)=>(n,i)=>{L(i,Qo,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["first-nested"],ignore:["stylelint-commands","after-comment"],ignoreComments:[$,U]},optional:!0})&&n.walkComments(o=>{if(Am(o)||xi(o,r.configurationComment)&&R(t,"ignore","stylelint-commands")||R(t,"ignore","after-comment")&&Ii(o)||R(t,"ignoreComments",o.text)||aw(o)||!Ec(o))return;let a=R(t,"except","first-nested")&&Lr(o)?!1:e==="always",s=o.raws.before||"",u=Gc(s);if(a===u)return;let l=a?Rd.expected:Rd.rejected,c=a?"add":"remove";P({message:l,messageArgs:[],node:o,result:i,ruleName:Qo,fix:{apply:()=>Qc({node:o,newline:r.newline,action:c}),node:o.parent}})})},Yo.ruleName=Qo,Yo.messages=Rd,Yo.meta=p1,rE=Yo}),nE={};N(nE,{default:()=>iE});var Go,Jh,m1,Ko,iE,SB=y(()=>{Im(),I(),D(),F(),Go="comment-no-empty",Jh=j(Go,{rejected:"Empty comment"}),m1={url:"https://stylelint.io/user-guide/rules/comment-no-empty"},Ko=e=>(t,r)=>{L(r,Go,{actual:e})&&t.walkComments(n=>{Ec(n)&&(n.text&&n.text.length!==0||P({message:Jh.rejected,messageArgs:[],node:n,result:r,ruleName:Go}))})},Ko.ruleName=Go,Ko.messages=Jh,Ko.meta=m1,iE=Ko}),oE={};N(oE,{default:()=>aE});var Ho,ef,h1,Zo,aE,CB=y(()=>{q(),I(),D(),F(),Ho="comment-pattern",ef=j(Ho,{expected:e=>`Expected comment to match pattern "${e}"`}),h1={url:"https://stylelint.io/user-guide/rules/comment-pattern"},Zo=e=>(t,r)=>{if(!L(r,Ho,{actual:e,possible:[U,$]}))return;let n=$(e)?new RegExp(e):e;t.walkComments(i=>{let o=i.text;n.test(o)||P({message:ef.expected,messageArgs:[e],node:i,result:r,ruleName:Ho})})},Zo.ruleName=Ho,Zo.messages=ef,Zo.meta=h1,aE=Zo});function pv(e){return[" ",`
|
|
23
|
-
`," ","\r","\f"].includes(e)}var sE=y(()=>{}),lE={};N(lE,{default:()=>uE});function AB(e){e.text.startsWith("*")?e.text=e.text.replace(/^(\*+)/,"$1 "):e.raws.left=" "}function NB(e){e.text[e.text.length-1]==="*"?e.text=e.text.replace(/(\*+)$/," $1"):e.raws.right=" "}var Xo,sn,f1,Jo,uE,zB=y(()=>{Im(),sE(),I(),D(),F(),Xo="comment-whitespace-inside",sn=j(Xo,{expectedOpening:'Expected whitespace after "/*"',rejectedOpening:'Expected no whitespace after "/*"',expectedClosing:'Expected whitespace before "*/"',rejectedClosing:'Expected no whitespace before "*/"'}),f1={url:"https://stylelint.io/user-guide/rules/comment-whitespace-inside",fixable:!0},Jo=e=>(t,r)=>{L(r,Xo,{actual:e,possible:["always","never"]})&&t.walkComments(n=>{var m,b;if(!Ec(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 u=a[1],l=(m=a[2])!=null?m:"",c=l.charAt(0),d=(b=s[1])!=null?b:"",p=d.charAt(0),h=s[2];if(e==="never"&&c!==""){let g=u.length,f=g+l.length;v(sn.rejectedOpening,g,f)}if(e==="always"&&!pv(c)&&v(sn.expectedOpening,u.length),e==="never"&&p!==""){let g=i.length-h.length,f=g-d.length;v(sn.rejectedClosing,f,g)}e==="always"&&!pv(p)&&v(sn.expectedClosing,i.length-h.length-1);function v(g,f,x=f){P({message:g,messageArgs:[],index:f,endIndex:x,result:r,ruleName:Xo,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?NB:AB)(n)},node:n}})}})},Jo.ruleName=Xo,Jo.messages=sn,Jo.meta=f1,uE=Jo});function EB(e,t){if(!Array.isArray(t))return g1(e,t);for(let r of t){let n=g1(e,r);if(n)return n}return!1}function g1(e,t){return!t||!$(t)||t.startsWith("/")&&t.endsWith("/")?!1:e.includes(t)?{match:e,pattern:t,substring:t}:!1}var PB=y(()=>{q()}),cE={};N(cE,{default:()=>dE});var ea,tf,b1,Mn,dE,OB=y(()=>{q(),PB(),Le(),I(),D(),F(),ea="comment-word-disallowed-list",tf=j(ea,{rejected:e=>`Disallowed word matching pattern "${e}"`}),b1={url:"https://stylelint.io/user-guide/rules/comment-word-disallowed-list"},Mn=e=>(t,r)=>{L(r,ea,{actual:e,possible:[$,U]})&&t.walkComments(n=>{let i=n.text;if(n.toString().slice(0,4)==="/*# ")return;let o=Ee(i,e)||EB(i,e);o&&P({message:tf.rejected,messageArgs:[o.pattern],node:n,word:o.substring,result:r,ruleName:ea})})},Mn.primaryOptionArray=!0,Mn.ruleName=ea,Mn.messages=tf,Mn.meta=b1,dE=Mn}),pE={};N(pE,{default:()=>mE});var rf,ta,nf,v1,y1,ra,mE,TB=y(()=>{rf=re(me(),1),X(),V(),q(),He(),et(),ht(),qe(),I(),D(),F(),ta="container-name-pattern",nf=j(ta,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),v1={url:"https://stylelint.io/user-guide/rules/container-name-pattern"},y1=new Set(["and","or","none","not"]),ra=e=>(t,r)=>{var s,u,l,c;if(!L(r,ta,{actual:e,possible:[U,$]}))return;let n=$(e)?new RegExp(e):e,i=(c=(l=(u=(s=r.stylelint.config)==null?void 0:s.languageOptions)==null?void 0:u.syntax)==null?void 0:l.cssWideKeywords)!=null?c:[],o=new Set([...Ie,...i]);t.walkDecls(Mr.containerNameAndShorthandName,d=>{if(!mt(d))return;let p=(0,rf.default)(d.value),h=!1;p.walk(({sourceIndex:v,type:m,value:b})=>{if(!h){if(m==="div"&&b==="/"&&(h=!0),m!=="word")return!1;o.has(b.toLowerCase())||$e(b)&&(n.test(b)||a(ie(d)+v,b,d))}})}),t.walkAtRules(we.containerName,d=>{if(!Je(d))return;let{params:p}=d;(0,rf.default)(p).walk(({sourceIndex:h,type:v,value:m})=>{if(v!=="word")return!1;y1.has(m.toLowerCase())||n.test(m)||a(Te(d)+h,m,d)})});function a(d,p,h){P({result:r,ruleName:ta,message:nf.expected,messageArgs:[p,e],node:h,index:d,endIndex:d+p.length})}},ra.ruleName=ta,ra.messages=nf,ra.meta=v1,mE=ra}),hE={};N(hE,{default:()=>fE});var na,of,w1,ia,fE,IB=y(()=>{q(),X(),V(),I(),D(),F(),na="custom-media-pattern",of=j(na,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),w1={url:"https://stylelint.io/user-guide/rules/custom-media-pattern"},ia=e=>(t,r)=>{if(!L(r,na,{actual:e,possible:[U,$]}))return;let n=$(e)?new RegExp(e):e;t.walkAtRules(we.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=Te(i);P({message:of.expected,messageArgs:[o,e],node:i,index:s,endIndex:s+o.length,result:r,ruleName:na})})},ia.ruleName=na,ia.messages=of,ia.meta=w1,fE=ia});function jB(e){var i;let t=mv.get(e),r=(i=e.raws.before)!=null?i:"";if(t&&t.before===r)return t.result;let n=r+e.toString();return mv.set(e,{result:n,before:r}),n}var mv,DB=y(()=>{mv=new WeakMap});function gw(e){return zc(e)?jB(e).slice(vz(e).length):""}var bw=y(()=>{yz(),Cm(),DB()});function gE(e){let t=e.prev();return t?lt(t)||Oe(t):!1}var bE=y(()=>{he()});function vt(e){return e.startsWith("--")}var zr=y(()=>{});function jm(e){return!/[\n\r]/.test(e)}var Dm=y(()=>{}),vE={};N(vE,{default:()=>yE});function k1(e){let t=Dr(e);return t!=null&&Ui(t)&&vt(t.prop)}var oa,$d,x1,aa,yE,LB=y(()=>{he(),bw(),Yc(),Nn(),Kc(),bE(),Sm(),zr(),Hc(),Dm(),ht(),H(),I(),D(),F(),oa="custom-property-empty-line-before",$d=j(oa,{expected:"Expected empty line before custom property",rejected:"Expected no empty line before custom property"}),x1={url:"https://stylelint.io/user-guide/rules/custom-property-empty-line-before",fixable:!0},aa=(e,t,r)=>(n,i)=>{L(i,oa,{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(!mt(o)||!vt(a)||R(t,"ignore","after-comment")&&Ii(o)||R(t,"ignore","after-custom-property")&&k1(o)||R(t,"ignore","first-nested")&&Lr(o)||R(t,"ignore","inside-single-line-block")&&s!=null&&(Oe(s)||lt(s))&&jm(gw(s)))return;let u=e==="always";(R(t,"except","first-nested")&&Lr(o)||R(t,"except","after-block")&&gE(o)||R(t,"except","after-comment")&&Ii(o)||R(t,"except","after-custom-property")&&k1(o))&&(u=!u);let l=Gc(o.raws.before);if(u===l)return;let c=u?$d.expected:$d.rejected,d=u?"add":"remove";P({message:c,messageArgs:[],node:o,result:i,ruleName:oa,fix:{apply:()=>Qc({node:o,newline:r.newline,action:d}),node:o.parent}})})},aa.ruleName=oa,aa.messages=$d,aa.meta=x1,yE=aa}),wE={};N(wE,{default:()=>kE});function S1({type:e,value:t}){return e==="word"&&t.startsWith("--")}var C1,sa,af,A1,N1,la,kE,FB=y(()=>{C1=re(me(),1),V(),X(),nd(),I(),D(),F(),sa="custom-property-no-missing-var-function",af=j(sa,{rejected:e=>`Missing var function for "${e}"`}),A1={url:"https://stylelint.io/user-guide/rules/custom-property-no-missing-var-function"},N1=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"]),la=e=>(t,r)=>{if(!L(r,sa,{actual:e}))return;let n=new Set;t.walkAtRules(we.propertyName,({params:o})=>{n.add(o)}),t.walkDecls(Mr.custom,({prop:o})=>{n.add(o)}),t.walkDecls(o=>{let{prop:a,value:s}=o;Y.customProperty.test(s)&&(N1.has(a.toLowerCase())||(0,C1.default)(s).nodes.forEach(u=>{i(u,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&&Gi(p))d=p.nodes.slice(1);else return}else if(c==="style"){let p=!1;o.nodes.forEach(h=>{h.type==="div"&&h.value===":"?p=!0:!p&&S1(h)||p&&i(h,a)});return}d.forEach(p=>i(p,a));return}if(!S1(o))return;let s=o.value.replace(/;+$/,"");if(!n.has(s))return;let u=ie(a)+o.sourceIndex,l=u+s.length;P({message:af.rejected,messageArgs:[s],node:a,index:u,endIndex:l,result:r,ruleName:sa})}},la.ruleName=sa,la.messages=af,la.meta=A1,kE=la});function Rr(e){return!(DN(e)||e.startsWith("@")||e.endsWith("+")||e.endsWith("+_")||ym(e))}var $r=y(()=>{wm(),LN()}),xE={};N(xE,{default:()=>SE});var z1,ua,sf,E1,ca,SE,MB=y(()=>{z1=re(me(),1),X(),V(),q(),zr(),$r(),nd(),I(),D(),F(),ua="custom-property-pattern",sf=j(ua,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),E1={url:"https://stylelint.io/user-guide/rules/custom-property-pattern"},ca=e=>(t,r)=>{if(!L(r,ua,{actual:e,possible:[U,$]}))return;let n=$(e)?new RegExp(e):e;function i(a){return!vt(a)||!Rr(a)||n.test(a.slice(2))}t.walkDecls(a=>{let{prop:s,value:u}=a;Y.varFunction.test(u)&&(0,z1.default)(u).walk(l=>{if(!Gi(l))return;let{nodes:c}=l,d=c[0];!d||i(d.value)||o(ie(a)+d.sourceIndex,d.value,a)}),!i(s)&&o(0,s,a)}),t.walkAtRules(we.propertyName,a=>{let{params:s}=a;i(s)||o(Te(a),s,a)});function o(a,s,u){P({result:r,ruleName:ua,message:sf.expected,messageArgs:[s,e],node:u,index:a,endIndex:a+s.length})}},ca.ruleName=ua,ca.messages=sf,ca.meta=E1,SE=ca});function RB(e){return lt(e)||Oe(e)||ur(e)}function Lm(e,t){function r(n){if(RB(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 Fm=y(()=>{he()}),CE={};N(CE,{default:()=>AE});var da,lf,P1,pa,AE,$B=y(()=>{q(),Fm(),zr(),$r(),H(),I(),D(),F(),da="declaration-block-no-duplicate-custom-properties",lf=j(da,{rejected:e=>`Duplicate custom property "${e}"`}),P1={url:"https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-custom-properties"},pa=(e,t)=>(r,n)=>{L(n,da,{actual:e},{actual:t,possible:{ignoreProperties:[$,U]},optional:!0})&&Lm(r,i=>{let o=new Set;i(a=>{let s=a.prop;if(!(!Rr(s)||!vt(s)||R(t,"ignoreProperties",s))){if(o.has(s)){P({message:lf.rejected,messageArgs:[s],node:a,result:n,ruleName:da,word:s});return}o.add(s)}})})},pa.ruleName=da,pa.messages=lf,pa.meta=P1,AE=pa}),O1=y(()=>{});function ut(e){return e>=48&&e<=57}function Xr(e){return ut(e)||e>=65&&e<=70||e>=97&&e<=102}function vw(e){return e>=65&&e<=90}function BB(e){return e>=97&&e<=122}function qB(e){return vw(e)||BB(e)}function WB(e){return e>=128}function Gp(e){return qB(e)||WB(e)||e===95}function NE(e){return Gp(e)||ut(e)||e===45}function _B(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function Kp(e){return e===10||e===13||e===12}function wn(e){return Kp(e)||e===32||e===9}function vr(e,t){return!(e!==92||Kp(t)||t===0)}function wp(e,t,r){return e===45?Gp(t)||t===45||vr(t,r):Gp(e)?!0:e===92?vr(e,t):!1}function uf(e,t,r){return e===43||e===45?ut(t)?2:t===46&&ut(r)?3:0:e===46?ut(t)?2:0:ut(e)?1:0}function zE(e){return e===65279||e===65534?1:0}function cf(e){return e<128?kp[e]:Hp}var kp,T1,lc,hv,Hp,fv,Zp=y(()=>{kp=new Array(128),T1=128,lc=130,hv=131,Hp=132,fv=133;for(let e=0;e<kp.length;e++)kp[e]=wn(e)&&lc||ut(e)&&hv||Gp(e)&&Hp||_B(e)&&fv||e||T1});function Ci(e,t){return t<e.length?e.charCodeAt(t):0}function gv(e,t,r){return r===13&&Ci(e,t+1)===10?2:1}function Ai(e,t,r){let n=e.charCodeAt(t);return vw(n)&&(n=n|32),n===r}function Pc(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(vw(a)&&(a=a|32),a!==o)return!1}return!0}function UB(e,t){for(;t>=0&&wn(e.charCodeAt(t));t--);return t+1}function Bd(e,t){for(;t<e.length&&wn(e.charCodeAt(t));t++);return t}function df(e,t){for(;t<e.length&&ut(e.charCodeAt(t));t++);return t}function Di(e,t){if(t+=2,Xr(Ci(e,t-1))){for(let n=Math.min(e.length,t+5);t<n&&Xr(Ci(e,t));t++);let r=Ci(e,t);wn(r)&&(t+=gv(e,t,r))}return t}function qd(e,t){for(;t<e.length;t++){let r=e.charCodeAt(t);if(!NE(r)){if(vr(r,Ci(e,t+1))){t=Di(e,t)-1;continue}break}}return t}function Mm(e,t){let r=e.charCodeAt(t);if((r===43||r===45)&&(r=e.charCodeAt(t+=1)),ut(r)&&(t=df(e,t+1),r=e.charCodeAt(t)),r===46&&ut(e.charCodeAt(t+1))&&(t+=2,t=df(e,t)),Ai(e,t,101)){let n=0;r=e.charCodeAt(t+1),(r===45||r===43)&&(n=1,r=e.charCodeAt(t+2)),ut(r)&&(t=df(e,t+1+n+1))}return t}function pf(e,t){for(;t<e.length;t++){let r=e.charCodeAt(t);if(r===41){t++;break}vr(r,Ci(e,t+1))&&(t=Di(e,t))}return t}function EE(e){if(e.length===1&&!Xr(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 bv=y(()=>{Zp()}),Xp,PE=y(()=>{Xp=["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 Jp(e=null,t){return e===null||e.length<t?new Uint32Array(Math.max(t+1024,16384)):e}var OE=y(()=>{});function I1(e){let t=e.source,r=t.length,n=t.length>0?zE(t.charCodeAt(0)):0,i=Jp(e.lines,r),o=Jp(e.columns,r),a=e.startLine,s=e.startColumn;for(let u=n;u<r;u++){let l=t.charCodeAt(u);i[u]=a,o[u]=s++,(l===vv||l===yv||l===TE)&&(l===yv&&u+1<r&&t.charCodeAt(u+1)===vv&&(u++,i[u]=a,o[u]=s),a++,s=1)}i[r]=a,o[r]=s,e.lines=i,e.columns=o,e.computed=!0}var vv,TE,yv,IE,VB=y(()=>{OE(),Zp(),vv=10,TE=12,yv=13,IE=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||I1(this),{source:t,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}getLocationRange(e,t,r){return this.computed||I1(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 j1(e,t,r){return e<t?t:e>r?r:e}var qt,Wt,Rn,ma,Tr,_t,jE,QB=y(()=>{OE(),bv(),PE(),qt=16777215,Wt=24,Rn=1,ma=2,Tr=new Uint8Array(32),Tr[2]=22,Tr[21]=22,Tr[19]=20,Tr[23]=24,_t=new Uint8Array(32),_t[2]=Rn,_t[21]=Rn,_t[19]=Rn,_t[23]=Rn,_t[22]=ma,_t[20]=ma,_t[24]=ma,jE=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=Jp(this.offsetAndType,e.length+1),i=Jp(this.balance,e.length+1),o=0,a=-1,s=0,u=e.length;this.offsetAndType=null,this.balance=null,i.fill(0),t(e,(l,c,d)=>{let p=o++;if(n[p]=l<<Wt|d,a===-1&&(a=c),i[p]=u,l===s){let h=i[u];i[u]=p,u=h,s=Tr[n[h]>>Wt]}else this.isBlockOpenerTokenType(l)&&(u=p,s=Tr[l])}),n[o]=0<<Wt|r,i[o]=o;for(let l=0;l<o;l++){let c=i[l];if(c<=l){let d=i[c];d!==l&&(i[l]=d)}else c>o&&(i[l]=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]>>Wt:0}lookupTypeNonSC(e){for(let t=this.tokenIndex;t<this.tokenCount;t++){let r=this.offsetAndType[t]>>Wt;if(r!==13&&r!==25&&e--===0)return r}return 0}lookupOffset(e){return e+=this.tokenIndex,e<this.tokenCount?this.offsetAndType[e-1]&qt:this.source.length}lookupOffsetNonSC(e){for(let t=this.tokenIndex;t<this.tokenCount;t++){let r=this.offsetAndType[t]>>Wt;if(r!==13&&r!==25&&e--===0)return t-this.tokenIndex}return 0}lookupValue(e,t){return e+=this.tokenIndex,e<this.tokenCount?Pc(this.source,this.offsetAndType[e-1]&qt,this.offsetAndType[e]&qt,t):!1}getTokenStart(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?this.offsetAndType[e-1]&qt:this.offsetAndType[this.tokenCount]&qt:this.firstCharOffset}getTokenEnd(e){return e===this.tokenIndex?this.tokenEnd:this.offsetAndType[j1(e,0,this.tokenCount)]&qt}getTokenType(e){return e===this.tokenIndex?this.tokenType:this.offsetAndType[j1(e,0,this.tokenCount)]>>Wt}substrToCursor(e){return this.source.substring(e,this.tokenStart)}isBlockOpenerTokenType(e){return _t[e]===Rn}isBlockCloserTokenType(e){return _t[e]===ma}getBlockTokenPairIndex(e){let t=this.getTokenType(e);if(_t[t]===1){let r=this.balance[e],n=this.getTokenType(r);return Tr[t]===n?r:-1}else if(_t[t]===2){let r=this.balance[e],n=this.getTokenType(r);return Tr[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]&qt,t=this.offsetAndType[t],this.tokenType=t>>Wt,this.tokenEnd=t&qt):(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>>Wt,this.tokenEnd=e&qt):(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]&qt:this.firstCharOffset,t(this.source.charCodeAt(i))){case 1:break e;case 2:r++;break e;default:this.isBlockOpenerTokenType(this.offsetAndType[r]>>Wt)&&(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&qt,a=i>>Wt;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:Xp[t],chunk:this.source.substring(r,n),balance:this.balance[i]}}),e}}});function Rm(e,t){function r(d){return d<s?e.charCodeAt(d):0}function n(){if(l=Mm(e,l),wp(r(l),r(l+1),r(l+2))){c=12,l=qd(e,l);return}if(r(l)===37){c=11,l++;return}c=10}function i(){let d=l;if(l=qd(e,l),Pc(e,d,l,"url")&&r(l)===40){if(l=Bd(e,l+1),r(l)===34||r(l)===39){c=2,l=d+4;return}a();return}if(r(l)===40){c=2,l++;return}c=1}function o(d){for(d||(d=r(l++)),c=5;l<e.length;l++){let p=e.charCodeAt(l);switch(cf(p)){case d:l++;return;case lc:if(Kp(p)){l+=gv(e,l,p),c=6;return}break;case 92:if(l===e.length-1)break;let h=r(l+1);Kp(h)?l+=gv(e,l+1,h):vr(p,h)&&(l=Di(e,l)-1);break}}}function a(){for(c=7,l=Bd(e,l);l<e.length;l++){let d=e.charCodeAt(l);switch(cf(d)){case 41:l++;return;case lc:if(l=Bd(e,l),r(l)===41||l>=e.length){l<e.length&&l++;return}l=pf(e,l),c=8;return;case 34:case 39:case 40:case fv:l=pf(e,l),c=8;return;case 92:if(vr(d,r(l+1))){l=Di(e,l)-1;break}l=pf(e,l),c=8;return}}}e=String(e||"");let s=e.length,u=zE(r(0)),l=u,c;for(;l<s;){let d=e.charCodeAt(l);switch(cf(d)){case lc:c=13,l=Bd(e,l+1);break;case 34:o();break;case 35:NE(r(l+1))||vr(r(l+1),r(l+2))?(c=4,l=qd(e,l+1)):(c=9,l++);break;case 39:o();break;case 40:c=21,l++;break;case 41:c=22,l++;break;case 43:uf(d,r(l+1),r(l+2))?n():(c=9,l++);break;case 44:c=18,l++;break;case 45:uf(d,r(l+1),r(l+2))?n():r(l+1)===45&&r(l+2)===62?(c=15,l=l+3):wp(d,r(l+1),r(l+2))?i():(c=9,l++);break;case 46:uf(d,r(l+1),r(l+2))?n():(c=9,l++);break;case 47:r(l+1)===42?(c=25,l=e.indexOf("*/",l+2),l=l===-1?e.length:l+2):(c=9,l++);break;case 58:c=16,l++;break;case 59:c=17,l++;break;case 60:r(l+1)===33&&r(l+2)===45&&r(l+3)===45?(c=14,l=l+4):(c=9,l++);break;case 64:wp(r(l+1),r(l+2),r(l+3))?(c=3,l=qd(e,l+1)):(c=9,l++);break;case 91:c=19,l++;break;case 92:vr(d,r(l+1))?i():(c=9,l++);break;case 93:c=20,l++;break;case 123:c=23,l++;break;case 125:c=24,l++;break;case hv:n();break;case Hp:i();break;default:c=9,l++}t(c,u,u=l)}}var dr=y(()=>{Zp(),bv(),O1(),O1(),PE(),Zp(),bv(),VB(),QB()}),ln,Oc,yw=y(()=>{ln=null,Oc=class dn{static createItem(t){return{prev:null,next:null,data:t}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(t){return dn.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 dn;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 dn;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(dn.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(dn.createItem(t))}pop(){return this.tail!==null?this.remove(this.tail):null}unshift(t){this.prepend(dn.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 em(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
|
|
16
|
+
`)&&(a=a.replace(/[^\n]+$/,"")),!1}),a&&(a=a.replace(/\S/g,"")),a}rawColon(o){let a;return o.walkDecls(s=>{if(typeof s.raws.between<"u")return a=s.raws.between.replace(/[^\s:]/g,""),!1}),a}rawEmptyBody(o){let a;return o.walk(s=>{if(s.nodes&&s.nodes.length===0&&(a=s.raws.after,typeof a<"u"))return!1}),a}rawIndent(o){if(o.raws.indent)return o.raws.indent;let a;return o.walk(s=>{let l=s.parent;if(l&&l!==o&&l.parent&&l.parent===o&&typeof s.raws.before<"u"){let u=s.raws.before.split(`
|
|
17
|
+
`);return a=u[u.length-1],a=a.replace(/\S/g,""),!1}}),a}rawSemicolon(o){let a;return o.walk(s=>{if(s.nodes&&s.nodes.length&&s.last.type==="decl"&&(a=s.raws.semicolon,typeof a<"u"))return!1}),a}rawValue(o,a){let s=o[a],l=o.raws[a];return l&&l.value===s?l.raw:s}root(o){this.body(o),o.raws.after&&this.builder(o.raws.after)}rule(o){this.block(o,this.rawValue(o,"selector")),o.raws.ownSemicolon&&this.builder(o.raws.ownSemicolon,o,"end")}stringify(o,a){if(!this[o.type])throw new Error("Unknown AST node type "+o.type+". Maybe you need to change PostCSS stringifier.");this[o.type](o,a)}};t.exports=i,i.default=i}),zw=Y((e,t)=>{"use strict";var r=wz();function n(i,o){new r(o).stringify(i)}t.exports=n,n.default=n}),Ew=Y((e,t)=>{"use strict";t.exports.isClean=Symbol("isClean"),t.exports.my=Symbol("my")}),qm=Y((e,t)=>{"use strict";var r=Nw(),n=wz(),i=zw(),{isClean:o,my:a}=Ew();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
|
+
`?(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}),Pw=Y((e,t)=>{"use strict";var r=qm(),n=class extends r{constructor(i){super(i),this.type="comment"}};t.exports=n,n.default=n}),Ow=Y((e,t)=>{"use strict";var r=qm(),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}),zn=Y((e,t)=>{"use strict";var r=Pw(),n=Ow(),i=qm(),{isClean:o,my:a}=Ew(),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 kz 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]||kz.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)})}}),xz=Y((e,t)=>{"use strict";var r=zn(),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)}),Iw=Y((e,t)=>{"use strict";var r=zn(),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}),pB=Y(()=>{}),mB=Y((e,t)=>{var r="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",n=(o,a=21)=>(s=a)=>{let l="",u=s|0;for(;u--;)l+=o[Math.random()*o.length|0];return l},i=(o=21)=>{let a="",s=o|0;for(;s--;)a+=r[Math.random()*64|0];return a};t.exports={nanoid:i,customAlphabet:n}}),Sz=Y(()=>{}),Cz=Y(()=>{}),hB=Y((e,t)=>{var r=class{};t.exports=r}),Tw=Y((e,t)=>{"use strict";var{nanoid:r}=mB(),{isAbsolute:n,resolve:i}=(Tm(),KA(ow)),{SourceMapConsumer:o,SourceMapGenerator:a}=Sz(),{fileURLToPath:s,pathToFileURL:l}=Cz(),u=Nw(),c=hB(),d=vz(),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,z,A,L;if(f&&typeof f=="object"){let B=f,te=x;if(typeof B.offset=="number"){A=B.offset;let re=this.fromOffset(A);f=re.line,x=re.col}else f=B.line,x=B.column,A=this.fromLineAndColumn(f,x);if(typeof te.offset=="number"){z=te.offset;let re=this.fromOffset(z);S=re.line,k=re.col}else S=te.line,k=te.column,z=this.fromLineAndColumn(te.line,te.column)}else if(x)A=this.fromLineAndColumn(f,x);else{A=f;let B=this.fromOffset(A);f=B.line,x=B.col}let E=this.origin(f,x,S,k);return E?L=new u(g,E.endLine===void 0?E.line:{column:E.column,line:E.line},E.endLine===void 0?E.column:{column:E.endColumn,line:E.endLine},E.source,E.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:z,line:f,offset:A,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 z;typeof x=="number"&&(z=k.originalPositionFor({column:w,line:x}));let A;n(S.source)?A=l(S.source):A=new URL(S.source,this.map.consumer().sourceRoot||l(this.map.mapFile));let L={column:S.column,endColumn:z&&z.column,endLine:z&&z.line,line:S.line,url:A.toString()};if(A.protocol==="file:")if(s)L.file=s(A);else throw new Error("file: protocol is not available in this PostCSS build");let E=k.sourceContentFor(S.source);return E&&(L.source=E),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)}),fB=Y((e,t)=>{"use strict";var{dirname:r,relative:n,resolve:i,sep:o}=(Tm(),KA(ow)),{SourceMapConsumer:a,SourceMapGenerator:s}=Sz(),{pathToFileURL:l}=Cz(),u=Tw(),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}),Wm=Y((e,t)=>{"use strict";var r=zn(),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)}),Az=Y((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}),Nz=Y((e,t)=>{"use strict";var r=zn(),n=Az(),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)}),gB=Y((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=[],z=[];function A(){return k}function L(re){throw a.error("Unclosed "+re,k)}function E(){return z.length===0&&k>=w}function B(re){if(z.length)return z.pop();if(k>=w)return;let we=re?re.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 pe=String.fromCharCode(c);h=[pe,pe,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||we){m=k;break}else L("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 m=l.indexOf(")",k+1),d=l.slice(k,m+1),m===-1||i.test(d)?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||we){m=k+1;break}else L("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||we?m=l.length:L("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(re){z.push(re)}return{back:te,endOfFile:E,nextToken:B,position:A}}}),bB=Y((e,t)=>{"use strict";var r=xz(),n=Pw(),i=Ow(),o=Wm(),a=Nz(),s=gB(),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((z,A)=>z+A[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}),zz=Y((e,t)=>{"use strict";var r=zn(),n=Tw(),i=bB();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)}),Ez=Y((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}),Pz=Y((e,t)=>{"use strict";var r=Ez(),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=Y(()=>{}),Oz=Y((e,t)=>{"use strict";var r=zn(),n=Iw(),i=fB(),o=zz(),a=Pz(),s=Wm(),l=zw(),{isClean:u,my:c}=Ew(),d=vB();function p(h){return h[u]=!1,h.nodes&&h.nodes.forEach(b=>p(b)),h}var m={},v=class Iz{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 Iz||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=new i(g,this.result.root,this.result.opts).generate();return this.result.css=f[0],this.result.map=f[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)}),yB=Y((e,t)=>{var r=class{};t.exports=r}),wB=Y((e,t)=>{"use strict";var r=Iw(),n=Oz(),i=yB(),o=Wm(),a=class{constructor(s=[]){this.version="8.5.9",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)}),kB=Y((e,t)=>{"use strict";var r=xz(),n=Pw(),i=zn(),o=Nw(),a=Ow(),s=Iw(),l=pB(),u=Tw(),c=Oz(),d=Az(),p=qm(),m=zz(),v=wB(),h=Pz(),b=Wm(),g=Nz(),f=zw(),x=Ez();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}),Bh,Li,Tz,nd=y(()=>{Bh=Z(kB(),1),Li=Bh.default,Tz=Bh.default.Node}),jz={};N(jz,{default:()=>Dz});var vo,qh,Rx,yo,Dz,xB=y(()=>{nd(),q(),Yi(),et(),H(),O(),T(),D(),vo="at-rule-no-deprecated",qh=I(vo,{rejected:e=>`Deprecated at-rule "${e}"`}),Rx={url:"https://stylelint.io/user-guide/rules/at-rule-no-deprecated",fixable:!0},yo=(e,t)=>(r,n)=>{j(n,vo,{actual:e},{actual:t,possible:{ignoreAtRules:[$,U]},optional:!0})&&r.walkAtRules(i=>{if(!Ze(i))return;let{name:o}=i,a=o.toLowerCase();if(R(t,"ignoreAtRules",o)||!dv.has(a))return;let s=a==="nest"?()=>{let u=Li.rule({selector:i.params,source:i.source});u.append(i.nodes),i.replaceWith(u)}:void 0,l=`@${o}`;P({message:qh.rejected,messageArgs:[l],node:i,ruleName:vo,result:n,index:0,endIndex:l.length,fix:{apply:s,node:i.parent}})})},yo.ruleName=vo,yo.messages=qh,yo.meta=Rx,Dz=yo}),He,It=y(()=>{He={prefix(e){let t=e.match(/^(-\w+-)/);return t&&t[0]||""},unprefixed(e){return e.replace(/^-\w+-/,"")}}}),Lz={};N(Lz,{default:()=>Fz});var wo,Wh,$x,ko,Fz,SB=y(()=>{q(),Yi(),et(),H(),O(),T(),D(),It(),wo="at-rule-no-unknown",Wh=I(wo,{rejected:e=>`Unknown at-rule "${e}"`}),$x={url:"https://stylelint.io/user-guide/rules/at-rule-no-unknown"},ko=(e,t)=>(r,n)=>{var a,s,l;if(!j(n,wo,{actual:e},{actual:t,possible:{ignoreAtRules:[$,U]},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)||R(t,"ignoreAtRules",u.name)||He.prefix(c)||CN.has(c.toLowerCase()))return;let d=`@${c}`;P({message:Wh.rejected,messageArgs:[d],node:u,ruleName:wo,result:n,word:d})})},ko.ruleName=wo,ko.messages=Wh,ko.meta=$x,Fz=ko}),Bx,qx,Wx,_x,Cr,id=y(()=>{It(),Bx=new Set(["@-moz-keyframes","@-moz-document","@-ms-keyframes","@-ms-viewport","@-o-keyframes","@-o-viewport","@-webkit-keyframes","@-webkit-viewport"]),qx=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"]),Wx=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"]),_x=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"]),Cr={atRuleName(e){return Bx.has(`@${e.toLowerCase()}`)},selector(e){return qx.has(e.toLowerCase())},mediaFeatureName(e){return e.toLowerCase().includes("device-pixel-ratio")},property(e){let t=e.toLowerCase();return He.prefix(t).length===0?!1:Wx.has(He.unprefixed(t))},propertyValue(e){return _x.has(e.toLowerCase())},unprefix(e){return e.replace(/-\w+-/,"")}}}),Mz={};N(Mz,{default:()=>Rz});var xo,_h,Ux,So,Rz,CB=y(()=>{q(),id(),et(),H(),O(),T(),D(),xo="at-rule-no-vendor-prefix",_h=I(xo,{rejected:e=>`Vendor-prefixed at-rule "${e}"`}),Ux={url:"https://stylelint.io/user-guide/rules/at-rule-no-vendor-prefix",fixable:!0},So=(e,t)=>(r,n)=>{j(n,xo,{actual:e},{optional:!0,actual:t,possible:{ignoreAtRules:[$,U]}})&&r.walkAtRules(i=>{if(!Ze(i))return;let o=i.name;if(R(t,"ignoreAtRules",o)||!o.startsWith("-")||!Cr.atRuleName(o))return;let a=()=>{i.name=Cr.unprefix(i.name)},s=`@${o}`;P({message:_h.rejected,messageArgs:[s],node:i,word:s,result:n,ruleName:xo,fix:{apply:a,node:i}})})},So.ruleName=xo,So.messages=_h,So.meta=Ux,Rz=So}),$z={};N($z,{default:()=>Bz});var Co,Uh,Vx,Ao,Bz,AB=y(()=>{q(),et(),ee(),H(),O(),T(),D(),Co="at-rule-prelude-no-invalid",Uh=I(Co,{rejected:(e,t)=>`Invalid prelude "${t}" for at-rule "${e}"`}),Vx={url:"https://stylelint.io/user-guide/rules/at-rule-prelude-no-invalid"},Ao=(e,t)=>(r,n)=>{if(!j(n,Co,{actual:e},{actual:t,possible:{ignoreAtRules:[$,U]},optional:!0}))return;let i=n.stylelint.lexer;r.walkAtRules(o=>{if(!Ze(o))return;let{name:a,params:s}=o;if(R(t,"ignoreAtRules",a))return;let{error:l}=i.matchAtrulePrelude(a,s);if(!l||l.name!=="SyntaxMatchError")return;let u=`@${a}`,c=Te(o),d=c+s.length;P({message:Uh.rejected,messageArgs:[u,s],node:o,index:c,endIndex:d,ruleName:Co,result:n})})},Ao.ruleName=Co,Ao.messages=Uh,Ao.meta=Vx,Bz=Ao});function NB(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 zB=y(()=>{});function Mt(...e){return t=>Sr(t)?Object.values(t).flat().every(r=>e.some(n=>n(r))):!1}var Ht=y(()=>{q()}),qz={};N(qz,{default:()=>Wz});var No,Vh,Qx,zo,Wz,EB=y(()=>{zB(),et(),q(),O(),T(),Ht(),D(),No="at-rule-property-required-list",Vh=I(No,{expected:(e,t)=>`Expected property or descriptor "${t}" for at-rule "${e}"`}),Qx={url:"https://stylelint.io/user-guide/rules/at-rule-property-required-list"},zo=e=>(t,r)=>{if(!j(r,No,{actual:e,possible:[Mt($)]}))return;let n=NB(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:Vh.expected,messageArgs:[d,c],node:o,word:d,result:r,ruleName:No})}}})},zo.ruleName=No,zo.messages=Vh,zo.meta=Qx,Wz=zo});function _z(e,{noRawBefore:t}={noRawBefore:!1}){let r="",n=e.raws.before||"";if(t||(r+=n),ut(e))r+=e.selector;else if(Ie(e))r+=`@${e.name}${e.raws.afterName||""}${e.params}`;else return"";return r+=e.raws.between||"",r}var Uz=y(()=>{ge()});function Vz(e,t=od){if(!e)return e;let[r]=e.split(/\s/,1);return Vi(r),r.replace(t,"")}function Ci(e,t=od){let r=$(e)?e:Yr(e)?e.text:void 0;if(!r)return!1;let n=Vz(r,t);return n!==void 0&&Qz.has(n)}function PB(e,t=od){return`${t}${e}`}var nm,im,om,am,Qz,od,ad=y(()=>{q(),ge(),nm="-disable",im="-disable-line",om="-disable-next-line",am="-enable",Qz=new Set([nm,im,om,am]),od="stylelint"}),Gz={};N(Gz,{default:()=>Yz});var Eo,Qh,Gx,Po,Yz,OB=y(()=>{Uz(),Rm(),ge(),ad(),H(),O(),T(),D(),Eo="block-no-empty",Qh=I(Eo,{rejected:"Empty block"}),Gx={url:"https://stylelint.io/user-guide/rules/block-no-empty"},Po=(e,t,r)=>(n,i)=>{if(!j(i,Eo,{actual:e,possible:[!0]},{actual:t,possible:{ignore:["comments"]},optional:!0}))return;let o=R(t,"ignore","comments");n.walkRules(a),n.walkAtRules(a);function a(u){if(!Dc(u)||s(u)||l(u))return;let c=_z(u,{noRawBefore:!0}).length;u.raws.between===void 0&&c--,P({message:Qh.rejected,messageArgs:[],node:u,start:u.positionBy({index:c}),end:u.rangeBy({}).end,result:i,ruleName:Eo})}function s(u){var c;return((c=u.nodes)!=null?c:[]).some(d=>!(Yr(d)&&(o||Ci(d,r.configurationComment))))}function l(u){let{after:c}=u.raws;return typeof c=="string"&&/\S/.test(c)}},Po.ruleName=Eo,Po.messages=Qh,Po.meta=Gx,Yz=Po});function sd(e){return!(jm(e)||e.startsWith("%")||e.endsWith(":")||/:extend(?:\(.*?\))?/.test(e)||/\.[\w-]+\(.*\).+/.test(e)||e.endsWith(")")&&!e.includes(":")||/\(@.*\)$/.test(e)||e.includes("<%")||e.includes("%>")||e.includes("//"))}var ld=y(()=>{Dm()});function ce(e){return!(e.type!=="rule"||"extend"in e&&e.extend||!sd(e.selector))}var de=y(()=>{ld()}),Kz={};N(Kz,{default:()=>Hz});var Oo,Gh,Yx,Io,Hz,IB=y(()=>{ge(),de(),O(),T(),D(),Oo="block-no-redundant-nested-style-rules",Gh=I(Oo,{rejected:"Redundant nested style rule"}),Yx={url:"https://stylelint.io/user-guide/rules/block-no-redundant-nested-style-rules"},Io=e=>(t,r)=>{j(r,Oo,{actual:e,possible:[!0]})&&t.walkRules(n=>{if(!ce(n))return;let{parent:i,selector:o}=n;o==="&"&&i&&(ur(i)||P({message:Gh.rejected,messageArgs:[],node:n,result:r,ruleName:Oo}))})},Io.ruleName=Oo,Io.messages=Gh,Io.meta=Yx,Hz=Io});function ud(e){return!(!e.value||e.value.startsWith("#{")||e.value.startsWith("${")||e.value.startsWith("`"))}var cd=y(()=>{});function jw(e){if(!ud(e))return!1;for(let t of e.nodes){if(t.type==="function")return jw(t);if(t.type==="word"&&(t.value.startsWith("#")||t.value.startsWith("$")||t.value.includes(".$")))return!1}return!0}var Jz=y(()=>{cd()}),Xz={};N(Xz,{default:()=>Zz});var Kx,To,Yh,Hx,jo,Zz,TB=y(()=>{Kx=Z(fe(),1),Er(),ee(),Ye(),Jz(),ge(),V(),O(),T(),qt(),D(),To="color-function-alias-notation",Yh=I(To,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),Hx={url:"https://stylelint.io/user-guide/rules/color-function-alias-notation",fixable:!0},jo=e=>(t,r)=>{if(!j(r,To,{actual:e,possible:["with-alpha","without-alpha"]}))return;let n=e==="with-alpha"?Q.withoutAlphaAliasColorFunction:Q.withAlphaAliasColorFunction,i=e==="with-alpha"?Xp:Ic;t.walkDecls(o=>{if(!n.test(o.value))return;let a=(0,Kx.default)(Ge(o));a.walk(s=>{if(!An(s)||!jw(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,Bt(o,a.toString())},p=ie(o)+u,m=p+l.length;P({message:Yh.expected,messageArgs:[l,c],node:o,index:p,endIndex:m,result:r,ruleName:To,fix:{apply:d,node:o}})})})},jo.ruleName=To,jo.messages=Yh,jo.meta=Hx,Zz=jo});function Hi(e){return An(e)&&e.value.toLowerCase()==="var"}var dd=y(()=>{ge()}),eE={};N(eE,{default:()=>rE});function Kh(e){return e!==""?e:" "}function jB(e){return e.some(t=>Hi(t))}function tE(e){return e.type==="div"&&e.value===","}function Jx(e){let t=0;for(let r of e)if(tE(r))t++;else if(r.value==="/")return!1;return t&&(t===2||t===3)}var Xx,Do,Hh,Zx,Lo,rE,DB=y(()=>{Xx=Z(fe(),1),Er(),ee(),Ye(),Jz(),ge(),dd(),V(),H(),O(),T(),qt(),D(),Do="color-function-notation",Hh=I(Do,{expected:e=>`Expected ${e} color-function notation`}),Zx={url:"https://stylelint.io/user-guide/rules/color-function-notation",fixable:!0},Lo=(e,t)=>(r,n)=>{if(!j(n,Do,{actual:e,possible:["modern","legacy"]},{actual:t,possible:{ignore:["with-var-inside"]},optional:!0}))return;let i=R(t,"ignore","with-var-inside");r.walkDecls(o=>{if(!Q.legacyNotationColorFunction.test(o.value)||e==="modern"&&!o.value.includes(","))return;let a=(0,Xx.default)(Ge(o));a.walk(s=>{if(!An(s)||!jw(s))return;let{value:l,sourceIndex:u,sourceEndIndex:c,nodes:d}=s;if(i&&jB(d)||!gw.has(l.toLowerCase())||!(d.length>=5)||e==="modern"&&!Jx(d)||e==="legacy"&&Jx(d))return;let p=()=>{let b=0;s.nodes=d.map(g=>(tE(g)&&(b<2?(g.type="space",g.value=Kh(g.after),b++):(g.value="/",g.before=Kh(g.before),g.after=Kh(g.after))),g)),Ic.has(l.toLowerCase())&&(s.value=l.slice(0,-1)),Bt(o,a.toString())},m=ie(o)+u,v=m+(c-u),h=e==="modern"?p:void 0;P({message:Hh.expected,messageArgs:[e],node:o,index:m,endIndex:v,result:n,ruleName:Do,fix:{apply:h,node:o}})})})},Lo.ruleName=Do,Lo.messages=Hh,Lo.meta=Zx,rE=Lo});function nE(e){return iE.test(e)}var iE,oE=y(()=>{iE=/^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$/i});function aE({type:e,value:t}){return e==="word"&&nE(t)}var sE=y(()=>{oE()});function pd(e){return An(e)&&e.value.toLowerCase()==="url"}var md=y(()=>{ge()}),lE={};N(lE,{default:()=>uE});function e1(e){return e.length===5||e.length===9}var t1,Fo,Ed,r1,Mo,uE,LB=y(()=>{t1=Z(fe(),1),ee(),sE(),md(),V(),O(),T(),D(),Fo="color-hex-alpha",Ed=I(Fo,{expected:e=>`Expected alpha channel in "${e}"`,rejected:e=>`Expected no alpha channel in "${e}"`}),r1={url:"https://stylelint.io/user-guide/rules/color-hex-alpha"},Mo=e=>(t,r)=>{j(r,Fo,{actual:e,possible:["always","never"]})&&t.walkDecls(n=>{Q.validHex.test(n.value)&&(0,t1.default)(n.value).walk(i=>{if(pd(i))return!1;if(!aE(i))return;let{value:o}=i;if(e==="always"&&e1(o)||e==="never"&&!e1(o))return;let a=ie(n)+i.sourceIndex,s=a+o.length;P({message:e==="never"?Ed.rejected:Ed.expected,messageArgs:[o],node:n,index:a,endIndex:s,result:r,ruleName:Fo})})})},Mo.ruleName=Fo,Mo.messages=Ed,Mo.meta=r1,uE=Mo}),cE={};N(cE,{default:()=>dE});function FB(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 MB(e){let t="#";for(let r=1;r<e.length;r+=2)t+=e[r];return t}function RB(e){let t="#";for(let r=1;r<e.length;r++)t+=e.charAt(r).repeat(2);return t}var n1,Ro,Jh,i1,$o,dE,$B=y(()=>{n1=Z(fe(),1),ee(),Ye(),sE(),md(),V(),O(),T(),qt(),D(),Ro="color-hex-length",Jh=I(Ro,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),i1={url:"https://stylelint.io/user-guide/rules/color-hex-length",fixable:!0},$o=e=>(t,r)=>{j(r,Ro,{actual:e,possible:["short","long"]})&&t.walkDecls(n=>{if(!Q.hexColor.test(n.value))return;let i=(0,n1.default)(Ge(n));i.walk(o=>{let{value:a}=o;if(pd(o))return!1;if(!aE(o)||e==="long"&&a.length!==4&&a.length!==5||e==="short"&&(a.length<6||!FB(a)))return;let s=(e==="long"?RB:MB)(a),l=()=>{o.value=s,Bt(n,i.toString())},u=ie(n)+o.sourceIndex,c=u+o.value.length;P({message:Jh.expected,messageArgs:[a,s],node:n,index:u,endIndex:c,result:r,ruleName:Ro,fix:{apply:l,node:n}})})})},$o.ruleName=Ro,$o.messages=Jh,$o.meta=i1,dE=$o}),o1,hr,Xe,jt,Xh,Zh,Pd,a1,Bo,ef,tf,rf,nf,of,Ln,s1,l1,u1,c1,Od,af,d1,Id,Td,sf,jd,er,lf,pE,BB=y(()=>{o1={grad:.9,turn:360,rad:360/(2*Math.PI)},hr=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},Xe=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},jt=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},Xh=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},Zh=function(e){return{r:jt(e.r,0,255),g:jt(e.g,0,255),b:jt(e.b,0,255),a:jt(e.a)}},Pd=function(e){return{r:Xe(e.r),g:Xe(e.g),b:Xe(e.b),a:Xe(e.a,3)}},a1=/^#([0-9a-f]{3,8})$/i,Bo=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},ef=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}},tf=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}},rf=function(e){return{h:Xh(e.h),s:jt(e.s,0,100),l:jt(e.l,0,100),a:jt(e.a)}},nf=function(e){return{h:Xe(e.h),s:Xe(e.s),l:Xe(e.l),a:Xe(e.a,3)}},of=function(e){return tf((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},Ln=function(e){return{h:(t=ef(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},s1=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,l1=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,u1=/^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,Od={string:[[function(e){var t=a1.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?Xe(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?Xe(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=u1.exec(e)||c1.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:Zh({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=s1.exec(e)||l1.exec(e);if(!t)return null;var r,n,i=rf({h:(r=t[1],n=t[2],n===void 0&&(n="deg"),Number(r)*(o1[n]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return of(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 hr(t)&&hr(r)&&hr(n)?Zh({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(!hr(t)||!hr(r)||!hr(n))return null;var a=rf({h:Number(t),s:Number(r),l:Number(n),a:Number(o)});return of(a)},"hsl"],[function(e){var t=e.h,r=e.s,n=e.v,i=e.a,o=i===void 0?1:i;if(!hr(t)||!hr(r)||!hr(n))return null;var a=(function(s){return{h:Xh(s.h),s:jt(s.s,0,100),v:jt(s.v,0,100),a:jt(s.a)}})({h:Number(t),s:Number(r),v:Number(n),a:Number(o)});return tf(a)},"hsv"]]},af=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]},d1=function(e){return typeof e=="string"?af(e.trim(),Od.string):typeof e=="object"&&e!==null?af(e,Od.object):[null,void 0]},Id=function(e,t){var r=Ln(e);return{h:r.h,s:jt(r.s+100*t,0,100),l:r.l,a:r.a}},Td=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},sf=function(e,t){var r=Ln(e);return{h:r.h,s:r.s,l:jt(r.l+100*t,0,100),a:r.a}},jd=(function(){function e(t){this.parsed=d1(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 Xe(Td(this.rgba),2)},e.prototype.isDark=function(){return Td(this.rgba)<.5},e.prototype.isLight=function(){return Td(this.rgba)>=.5},e.prototype.toHex=function(){return t=Pd(this.rgba),r=t.r,n=t.g,i=t.b,a=(o=t.a)<1?Bo(Xe(255*o)):"","#"+Bo(r)+Bo(n)+Bo(i)+a;var t,r,n,i,o,a},e.prototype.toRgb=function(){return Pd(this.rgba)},e.prototype.toRgbString=function(){return t=Pd(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 nf(Ln(this.rgba))},e.prototype.toHslString=function(){return t=nf(Ln(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=ef(this.rgba),{h:Xe(t.h),s:Xe(t.s),v:Xe(t.v),a:Xe(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(Id(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),er(Id(this.rgba,-t))},e.prototype.grayscale=function(){return er(Id(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),er(sf(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),er(sf(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}):Xe(this.rgba.a,3);var r},e.prototype.hue=function(t){var r=Ln(this.rgba);return typeof t=="number"?er({h:t,s:r.s,l:r.l,a:r.a}):Xe(r.h)},e.prototype.isEqual=function(t){return this.toHex()===er(t).toHex()},e})(),er=function(e){return e instanceof jd?e:new jd(e)},lf=[],pE=function(e){e.forEach(function(t){lf.indexOf(t)<0&&(t(jd,Od),lf.push(t))})}});function qB(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 WB=y(()=>{});function _B(e,t){e.prototype.toHwb=function(){return Cv(Av(this.rgba))},e.prototype.toHwbString=function(){return r=Cv(Av(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([hE,"hwb"]),t.object.push([mE,"hwb"])}var p1,Dd,qo,Ld,uf,Cv,Av,cf,mE,m1,hE,UB=y(()=>{p1={grad:.9,turn:360,rad:360/(2*Math.PI)},Dd=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},qo=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},Ld=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},uf=function(e){return{h:(t=e.h,(t=isFinite(t)?t%360:0)>0?t:t+360),w:Ld(e.w,0,100),b:Ld(e.b,0,100),a:Ld(e.a)};var t},Cv=function(e){return{h:qo(e.h),w:qo(e.w),b:qo(e.b),a:qo(e.a,3)}},Av=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(!Dd(t)||!Dd(r)||!Dd(n))return null;var a=uf({h:Number(t),w:Number(r),b:Number(n),a:Number(o)});return cf(a)},m1=/^hwb\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,hE=function(e){var t=m1.exec(e);if(!t)return null;var r,n,i=uf({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 VB(e,t){e.prototype.toLab=function(){return n=fE(this.rgba),o=n.y/zp,a=n.z/Ep,i=(i=n.x/Np)>Ai?Math.cbrt(i):(gn*i+16)/116,r={l:116*(o=o>Ai?Math.cbrt(o):(gn*o+16)/116)-16,a:500*(i-o),b:200*(o-(a=a>Ai?Math.cbrt(a):(gn*a+16)/116)),alpha:n.a},{l:mi(r.l,2),a:mi(r.a,2),b:mi(r.b,2),alpha:mi(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),z=Math.pow(Math.pow(k,2)+Math.pow(p,2),.5),A=(S+z)/2,L=w===0&&u===0?0:Math.atan2(u,w)*m,E=k===0&&p===0?0:Math.atan2(p,k)*m;L<0&&(L+=360),E<0&&(E+=360);var B=E-L,te=Math.abs(E-L);te>180&&E<=L?B+=360:te>180&&E>L&&(B-=360);var re=L+E;te<=180?re/=2:re=(L+E<360?re+360:re-360)/2;var we=1-.17*Math.cos(v*(re-30))+.24*Math.cos(2*v*re)+.32*Math.cos(v*(3*re+6))-.2*Math.cos(v*(4*re-63)),pe=c-s,ae=z-S,$e=2*Math.sin(v*B/2)*Math.pow(S*z,.5),qe=1+.015*Math.pow(g-50,2)/Math.pow(20+Math.pow(g-50,2),.5),Ct=1+.045*A,We=1+.015*A*we,G=30*Math.exp(-1*Math.pow((re-275)/25,2)),K=-2*Math.pow(f/(f+Math.pow(25,7)),.5)*Math.sin(2*v*G);return Math.pow(Math.pow(pe/1/qe,2)+Math.pow(ae/1/Ct,2)+Math.pow($e/1/We,2)+K*ae*$e/(1*Ct*1*We),.5)})(this.toLab(),n.toLab())/100;return Qt(mi(i,3))},t.object.push([gE,"lab"])}var Fd,mi,Qt,Md,Rd,Np,zp,Ep,h1,fE,Ai,gn,gE,f1,QB=y(()=>{Fd=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},mi=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},Md=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},Rd=function(e){return 255*(e>.0031308?1.055*Math.pow(e,.4166666666666667)-.055:12.92*e)},Np=96.422,zp=100,Ep=82.521,h1=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:Rd(.032404542*n.x-.015371385*n.y-.004985314*n.z),g:Rd(-.00969266*n.x+.018760108*n.y+41556e-8*n.z),b:Rd(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)}},fE=function(e){var t=Md(e.r),r=Md(e.g),n=Md(e.b);return(function(i){return{x:Qt(i.x,0,Np),y:Qt(i.y,0,zp),z:Qt(i.z,0,Ep),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}))},Ai=216/24389,gn=24389/27,gE=function(e){var t=e.l,r=e.a,n=e.b,i=e.alpha,o=i===void 0?1:i;if(!Fd(t)||!Fd(r)||!Fd(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 f1(a)},f1=function(e){var t=(e.l+16)/116,r=e.a/500+t,n=t-e.b/200;return h1({x:(Math.pow(r,3)>Ai?Math.pow(r,3):(116*r-16)/gn)*Np,y:(e.l>8?Math.pow((e.l+16)/116,3):e.l/gn)*zp,z:(Math.pow(n,3)>Ai?Math.pow(n,3):(116*n-16)/gn)*Ep,a:e.alpha})}});function GB(e,t){e.prototype.toLch=function(){return Nv(zv(this.rgba))},e.prototype.toLchString=function(){return r=Nv(zv(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([vE,"lch"]),t.object.push([bE,"lch"])}var g1,$d,on,fr,Bd,qd,Wd,_d,Ud,b1,v1,Fn,an,df,Nv,bE,zv,pf,y1,vE,YB=y(()=>{g1={grad:.9,turn:360,rad:360/(2*Math.PI)},$d=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},fr=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},Bd=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},qd=function(e){return 255*(e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e)},Wd=96.422,_d=100,Ud=82.521,b1=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:qd(.032404542*n.x-.015371385*n.y-.004985314*n.z),g:qd(-.00969266*n.x+.018760108*n.y+41556e-8*n.z),b:qd(556434e-9*n.x-.002040259*n.y+.010572252*n.z),a:e.a},{r:fr(r.r,0,255),g:fr(r.g,0,255),b:fr(r.b,0,255),a:fr(r.a)}},v1=function(e){var t=Bd(e.r),r=Bd(e.g),n=Bd(e.b);return(function(i){return{x:fr(i.x,0,Wd),y:fr(i.y,0,_d),z:fr(i.z,0,Ud),a:fr(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}))},Fn=216/24389,an=24389/27,df=function(e){return{l:fr(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},Nv=function(e){return{l:on(e.l,2),c:on(e.c,2),h:on(e.h,2),a:on(e.a,3)}},bE=function(e){var t=e.l,r=e.c,n=e.h,i=e.a,o=i===void 0?1:i;if(!$d(t)||!$d(r)||!$d(n))return null;var a=df({l:Number(t),c:Number(r),h:Number(n),a:Number(o)});return pf(a)},zv=function(e){var t=(function(o){var a=v1(o),s=a.x/Wd,l=a.y/_d,u=a.z/Ud;return s=s>Fn?Math.cbrt(s):(an*s+16)/116,{l:116*(l=l>Fn?Math.cbrt(l):(an*l+16)/116)-16,a:500*(s-l),b:200*(l-(u=u>Fn?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}},pf=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,b1({x:(Math.pow(n,3)>Fn?Math.pow(n,3):(116*n-16)/an)*Wd,y:(t.l>8?Math.pow((t.l+16)/116,3):t.l/an)*_d,z:(Math.pow(i,3)>Fn?Math.pow(i,3):(116*i-16)/an)*Ud,a:t.alpha});var t,r,n,i},y1=/^lch\(\s*([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)\s+([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,vE=function(e){var t=y1.exec(e);if(!t)return null;var r,n,i=df({l:Number(t[1]),c:Number(t[2]),h:(r=t[3],n=t[4],n===void 0&&(n="deg"),Number(r)*(g1[n]||1)),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return pf(i)}});function KB(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=_m(`hwb(${t} ${r} ${n}${i?` / ${i}`:""})`);return a.isValid()?a.rgba:null}function HB(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=Ev.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=Ev.default.unit(r.trim());if(!a||!["","%"].includes(a.unit))return null;o={...o,alpha:Number(a.number)/(a.unit?100:1)}}return _m(o).rgba}var Ev,_m,JB=y(()=>{BB(),Ev=Z(fe(),1),WB(),UB(),QB(),YB(),pE([qB,_B,VB,GB,(e,t)=>{t.string.push([KB,"hwb-with-comma"])},(e,t)=>{t.string.push([HB,"gray"])}]),_m=er}),yE={};N(yE,{default:()=>wE});var mf,Wo,Vd,w1,k1,_o,wE,XB=y(()=>{mf=Z(fe(),1),q(),$r(),JB(),ee(),cd(),Be(),V(),Je(),H(),O(),T(),D(),Wo="color-named",Vd=I(Wo,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:e=>`Disallowed named color "${e}"`}),w1={url:"https://stylelint.io/user-guide/rules/color-named"},k1=new Set(["word","function"]),_o=(e,t)=>(r,n)=>{if(!j(n,Wo,{actual:e,possible:["never","always-where-possible"]},{actual:t,possible:{ignoreProperties:[$,U],ignore:["inside-function"]},optional:!0}))return;r.walkDecls(o=>{if(AN.has(o.prop)||R(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,mf.default)(a).walk(s=>{let l=s.value,u=s.type,c=s.sourceIndex;if(R(t,"ignore","inside-function")&&u==="function"||!ud(s))return!1;if(!Re(l)||!k1.has(u))return;if(e==="never"&&u==="word"&&jc.has(l.toLowerCase())){i(Vd.rejected,[l],o,ie(o)+c,l.length);return}if(e!=="always-where-possible")return;let d,p;if(u==="function")d=mf.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=_m(p);if(!m.isValid())return;let v=m.toName();v&&v.toLowerCase()!=="transparent"&&i(Vd.expected,[p,v],o,ie(o)+c,d.length)})});function i(o,a,s,l,u){P({result:n,ruleName:Wo,message:o,messageArgs:a,node:s,index:l,endIndex:l+u})}},_o.ruleName=Wo,_o.messages=Vd,_o.meta=w1,wE=_o}),kE={};N(kE,{default:()=>SE});function ZB({type:e,value:t}){return e==="word"&&xE.test(t)}var x1,Uo,hf,S1,xE,Vo,SE,eq=y(()=>{x1=Z(fe(),1),ee(),Ye(),md(),V(),O(),T(),D(),Uo="color-no-hex",hf=I(Uo,{rejected:e=>`Disallowed hex color "${e}"`}),S1={url:"https://stylelint.io/user-guide/rules/color-no-hex"},xE=/^#[\da-z]+$/i,Vo=e=>(t,r)=>{j(r,Uo,{actual:e})&&t.walkDecls(n=>{Q.hexColor.test(n.value)&&(0,x1.default)(Ge(n)).walk(i=>{if(pd(i))return!1;if(!ZB(i))return;let o=ie(n)+i.sourceIndex,a=o+i.value.length;P({message:hf.rejected,messageArgs:[i.value],node:n,index:o,endIndex:a,result:r,ruleName:Uo})})})},Vo.ruleName=Uo,Vo.messages=hf,Vo.meta=S1,SE=Vo});function tq(e){return!e.includes("[")}var rq=y(()=>{}),CE={};N(CE,{default:()=>AE});var C1,Qo,ff,A1,Go,AE,nq=y(()=>{C1=Z(fe(),1),ee(),rq(),oE(),V(),O(),T(),D(),Qo="color-no-invalid-hex",ff=I(Qo,{rejected:e=>`Invalid hex color "${e}"`}),A1={url:"https://stylelint.io/user-guide/rules/color-no-invalid-hex"},Go=e=>(t,r)=>{j(r,Qo,{actual:e})&&t.walkDecls(n=>{Q.hexColor.test(n.value)&&tq(n.value)&&(0,C1.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=ie(n)+a,c=u+l.length;P({message:ff.rejected,messageArgs:[l],node:n,index:u,endIndex:c,result:r,ruleName:Qo})})})},Go.ruleName=Qo,Go.messages=ff,Go.meta=A1,AE=Go});function Lc(e){return!("inline"in e||"inline"in e.raws)}var Um=y(()=>{}),NE={};N(NE,{default:()=>zE});var Yo,Qd,N1,Ko,zE,iq=y(()=>{q(),Zc(),td(),Mm(),ad(),rd(),Bm(),Aw(),Um(),H(),O(),T(),D(),Yo="comment-empty-line-before",Qd=I(Yo,{expected:"Expected empty line before comment",rejected:"Expected no empty line before comment"}),N1={url:"https://stylelint.io/user-guide/rules/comment-empty-line-before",fixable:!0},Ko=(e,t,r)=>(n,i)=>{j(i,Yo,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["first-nested"],ignore:["stylelint-commands","after-comment"],ignoreComments:[$,U]},optional:!0})&&n.walkComments(o=>{if($m(o)||Ci(o,r.configurationComment)&&R(t,"ignore","stylelint-commands")||R(t,"ignore","after-comment")&&Di(o)||R(t,"ignoreComments",o.text)||Cw(o)||!Lc(o))return;let a=R(t,"except","first-nested")&&Rr(o)?!1:e==="always",s=o.raws.before||"",l=ed(s);if(a===l)return;let u=a?Qd.expected:Qd.rejected,c=a?"add":"remove";P({message:u,messageArgs:[],node:o,result:i,ruleName:Yo,fix:{apply:()=>Xc({node:o,newline:r.newline,action:c}),node:o.parent}})})},Ko.ruleName=Yo,Ko.messages=Qd,Ko.meta=N1,zE=Ko}),EE={};N(EE,{default:()=>PE});var Ho,gf,z1,Jo,PE,oq=y(()=>{Um(),O(),T(),D(),Ho="comment-no-empty",gf=I(Ho,{rejected:"Empty comment"}),z1={url:"https://stylelint.io/user-guide/rules/comment-no-empty"},Jo=e=>(t,r)=>{j(r,Ho,{actual:e})&&t.walkComments(n=>{Lc(n)&&(n.text&&n.text.length!==0||P({message:gf.rejected,messageArgs:[],node:n,result:r,ruleName:Ho}))})},Jo.ruleName=Ho,Jo.messages=gf,Jo.meta=z1,PE=Jo}),OE={};N(OE,{default:()=>IE});var Xo,bf,E1,Zo,IE,aq=y(()=>{q(),O(),T(),D(),Xo="comment-pattern",bf=I(Xo,{expected:e=>`Expected comment to match pattern "${e}"`}),E1={url:"https://stylelint.io/user-guide/rules/comment-pattern"},Zo=e=>(t,r)=>{if(!j(r,Xo,{actual:e,possible:[U,$]}))return;let n=$(e)?new RegExp(e):e;t.walkComments(i=>{let o=i.text;n.test(o)||P({message:bf.expected,messageArgs:[e],node:i,result:r,ruleName:Xo})})},Zo.ruleName=Xo,Zo.messages=bf,Zo.meta=E1,IE=Zo});function Pv(e){return[" ",`
|
|
23
|
+
`," ","\r","\f"].includes(e)}var TE=y(()=>{}),jE={};N(jE,{default:()=>DE});function sq(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 ea,sn,P1,ta,DE,uq=y(()=>{Um(),TE(),O(),T(),D(),ea="comment-whitespace-inside",sn=I(ea,{expectedOpening:'Expected whitespace after "/*"',rejectedOpening:'Expected no whitespace after "/*"',expectedClosing:'Expected whitespace before "*/"',rejectedClosing:'Expected no whitespace before "*/"'}),P1={url:"https://stylelint.io/user-guide/rules/comment-whitespace-inside",fixable:!0},ta=e=>(t,r)=>{j(r,ea,{actual:e,possible:["always","never"]})&&t.walkComments(n=>{var h,b;if(!Lc(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"&&!Pv(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"&&!Pv(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:ea,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?lq:sq)(n)},node:n}})}})},ta.ruleName=ea,ta.messages=sn,ta.meta=P1,DE=ta});function cq(e,t){if(!Array.isArray(t))return O1(e,t);for(let r of t){let n=O1(e,r);if(n)return n}return!1}function O1(e,t){return!t||!$(t)||t.startsWith("/")&&t.endsWith("/")?!1:e.includes(t)?{match:e,pattern:t,substring:t}:!1}var dq=y(()=>{q()}),LE={};N(LE,{default:()=>FE});var ra,vf,I1,Mn,FE,pq=y(()=>{q(),dq(),Le(),O(),T(),D(),ra="comment-word-disallowed-list",vf=I(ra,{rejected:e=>`Disallowed word matching pattern "${e}"`}),I1={url:"https://stylelint.io/user-guide/rules/comment-word-disallowed-list"},Mn=e=>(t,r)=>{j(r,ra,{actual:e,possible:[$,U]})&&t.walkComments(n=>{let i=n.text;if(n.toString().slice(0,4)==="/*# ")return;let o=Pe(i,e)||cq(i,e);o&&P({message:vf.rejected,messageArgs:[o.pattern],node:n,word:o.substring,result:r,ruleName:ra})})},Mn.primaryOptionArray=!0,Mn.ruleName=ra,Mn.messages=vf,Mn.meta=I1,FE=Mn}),ME={};N(ME,{default:()=>RE});var yf,na,wf,T1,j1,ia,RE,mq=y(()=>{yf=Z(fe(),1),ee(),V(),q(),Je(),et(),bt(),Be(),O(),T(),D(),na="container-name-pattern",wf=I(na,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),T1={url:"https://stylelint.io/user-guide/rules/container-name-pattern"},j1=new Set(["and","or","none","not"]),ia=e=>(t,r)=>{var s,l,u,c;if(!j(r,na,{actual:e,possible:[U,$]}))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([...je,...i]);t.walkDecls(Br.containerNameAndShorthandName,d=>{if(!gt(d))return;let p=(0,yf.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())||Re(b)&&(n.test(b)||a(ie(d)+v,b,d))}})}),t.walkAtRules(xe.containerName,d=>{if(!Ze(d))return;let{params:p}=d;(0,yf.default)(p).walk(({sourceIndex:m,type:v,value:h})=>{if(v!=="word")return!1;j1.has(h.toLowerCase())||n.test(h)||a(Te(d)+m,h,d)})});function a(d,p,m){P({result:r,ruleName:na,message:wf.expected,messageArgs:[p,e],node:m,index:d,endIndex:d+p.length})}},ia.ruleName=na,ia.messages=wf,ia.meta=T1,RE=ia}),$E={};N($E,{default:()=>BE});var oa,kf,D1,aa,BE,hq=y(()=>{q(),ee(),V(),O(),T(),D(),oa="custom-media-pattern",kf=I(oa,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),D1={url:"https://stylelint.io/user-guide/rules/custom-media-pattern"},aa=e=>(t,r)=>{if(!j(r,oa,{actual:e,possible:[U,$]}))return;let n=$(e)?new RegExp(e):e;t.walkAtRules(xe.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=Te(i);P({message:kf.expected,messageArgs:[o,e],node:i,index:s,endIndex:s+o.length,result:r,ruleName:oa})})},aa.ruleName=oa,aa.messages=kf,aa.meta=D1,BE=aa});function fq(e){var i;let t=Ov.get(e),r=(i=e.raws.before)!=null?i:"";if(t&&t.before===r)return t.result;let n=r+e.toString();return Ov.set(e,{result:n,before:r}),n}var Ov,gq=y(()=>{Ov=new WeakMap});function Dw(e){return Dc(e)?fq(e).slice(_z(e).length):""}var Lw=y(()=>{Uz(),Rm(),gq()});function qE(e){let t=e.prev();return t?ut(t)||Ie(t):!1}var WE=y(()=>{ge()});function ft(e){return e.startsWith("--")}var dr=y(()=>{});function Vm(e){return!/[\n\r]/.test(e)}var Qm=y(()=>{}),_E={};N(_E,{default:()=>UE});function L1(e){let t=Mr(e);return t!=null&&Qi(t)&&ft(t.prop)}var sa,Gd,F1,la,UE,bq=y(()=>{ge(),Lw(),Zc(),Nn(),td(),WE(),Mm(),dr(),rd(),Qm(),bt(),H(),O(),T(),D(),sa="custom-property-empty-line-before",Gd=I(sa,{expected:"Expected empty line before custom property",rejected:"Expected no empty line before custom property"}),F1={url:"https://stylelint.io/user-guide/rules/custom-property-empty-line-before",fixable:!0},la=(e,t,r)=>(n,i)=>{j(i,sa,{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(!gt(o)||!ft(a)||R(t,"ignore","after-comment")&&Di(o)||R(t,"ignore","after-custom-property")&&L1(o)||R(t,"ignore","first-nested")&&Rr(o)||R(t,"ignore","inside-single-line-block")&&s!=null&&(Ie(s)||ut(s))&&Vm(Dw(s)))return;let l=e==="always";(R(t,"except","first-nested")&&Rr(o)||R(t,"except","after-block")&&qE(o)||R(t,"except","after-comment")&&Di(o)||R(t,"except","after-custom-property")&&L1(o))&&(l=!l);let u=ed(o.raws.before);if(l===u)return;let c=l?Gd.expected:Gd.rejected,d=l?"add":"remove";P({message:c,messageArgs:[],node:o,result:i,ruleName:sa,fix:{apply:()=>Xc({node:o,newline:r.newline,action:d}),node:o.parent}})})},la.ruleName=sa,la.messages=Gd,la.meta=F1,UE=la}),VE={};N(VE,{default:()=>QE});function M1({type:e,value:t}){return e==="word"&&t.startsWith("--")}var R1,ua,xf,$1,B1,ca,QE,vq=y(()=>{R1=Z(fe(),1),V(),ee(),dd(),O(),T(),D(),ua="custom-property-no-missing-var-function",xf=I(ua,{rejected:e=>`Missing var function for "${e}"`}),$1={url:"https://stylelint.io/user-guide/rules/custom-property-no-missing-var-function"},B1=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"]),ca=e=>(t,r)=>{if(!j(r,ua,{actual:e}))return;let n=new Set;t.walkAtRules(xe.propertyName,({params:o})=>{n.add(o)}),t.walkDecls(Br.custom,({prop:o})=>{n.add(o)}),t.walkDecls(o=>{let{prop:a,value:s}=o;Q.customProperty.test(s)&&(B1.has(a.toLowerCase())||(0,R1.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&&Hi(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&&M1(m)||p&&i(m,a)});return}d.forEach(p=>i(p,a));return}if(!M1(o))return;let s=o.value.replace(/;+$/,"");if(!n.has(s))return;let l=ie(a)+o.sourceIndex,u=l+s.length;P({message:xf.rejected,messageArgs:[s],node:a,index:l,endIndex:u,result:r,ruleName:ua})}},ca.ruleName=ua,ca.messages=xf,ca.meta=$1,QE=ca});function Pr(e){return!(oz(e)||e.startsWith("@")||e.endsWith("+")||e.endsWith("+_")||jm(e))}var Or=y(()=>{Dm(),az()}),GE={};N(GE,{default:()=>YE});var q1,da,Sf,W1,pa,YE,yq=y(()=>{q1=Z(fe(),1),ee(),V(),q(),dr(),Or(),dd(),O(),T(),D(),da="custom-property-pattern",Sf=I(da,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),W1={url:"https://stylelint.io/user-guide/rules/custom-property-pattern"},pa=e=>(t,r)=>{if(!j(r,da,{actual:e,possible:[U,$]}))return;let n=$(e)?new RegExp(e):e;function i(a){return!ft(a)||!Pr(a)||n.test(a.slice(2))}t.walkDecls(a=>{let{prop:s,value:l}=a;Q.varFunction.test(l)&&(0,q1.default)(l).walk(u=>{if(!Hi(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(xe.propertyName,a=>{let{params:s}=a;i(s)||o(Te(a),s,a)});function o(a,s,l){P({result:r,ruleName:da,message:Sf.expected,messageArgs:[s,e],node:l,index:a,endIndex:a+s.length})}},pa.ruleName=da,pa.messages=Sf,pa.meta=W1,YE=pa});function wq(e){return ut(e)||Ie(e)||ur(e)}function Gm(e,t){function r(n){if(wq(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 Ym=y(()=>{ge()}),KE={};N(KE,{default:()=>HE});var ma,Cf,_1,ha,HE,kq=y(()=>{q(),Ym(),dr(),Or(),H(),O(),T(),D(),ma="declaration-block-no-duplicate-custom-properties",Cf=I(ma,{rejected:e=>`Duplicate custom property "${e}"`}),_1={url:"https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-custom-properties"},ha=(e,t)=>(r,n)=>{j(n,ma,{actual:e},{actual:t,possible:{ignoreProperties:[$,U]},optional:!0})&&Gm(r,i=>{let o=new Set;i(a=>{let s=a.prop;if(!(!Pr(s)||!ft(s)||R(t,"ignoreProperties",s))){if(o.has(s)){P({message:Cf.rejected,messageArgs:[s],node:a,result:n,ruleName:ma,word:s});return}o.add(s)}})})},ha.ruleName=ma,ha.messages=Cf,ha.meta=_1,HE=ha}),U1=y(()=>{});function ct(e){return e>=48&&e<=57}function Zr(e){return ct(e)||e>=65&&e<=70||e>=97&&e<=102}function Fw(e){return e>=65&&e<=90}function xq(e){return e>=97&&e<=122}function Sq(e){return Fw(e)||xq(e)}function Cq(e){return e>=128}function sm(e){return Sq(e)||Cq(e)||e===95}function JE(e){return sm(e)||ct(e)||e===45}function Aq(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function lm(e){return e===10||e===13||e===12}function wn(e){return lm(e)||e===32||e===9}function yr(e,t){return!(e!==92||lm(t)||t===0)}function Pp(e,t,r){return e===45?sm(t)||t===45||yr(t,r):sm(e)?!0:e===92?yr(e,t):!1}function Af(e,t,r){return e===43||e===45?ct(t)?2:t===46&&ct(r)?3:0:e===46?ct(t)?2:0:ct(e)?1:0}function XE(e){return e===65279||e===65534?1:0}function Nf(e){return e<128?Op[e]:um}var Op,V1,fc,Iv,um,Tv,cm=y(()=>{Op=new Array(128),V1=128,fc=130,Iv=131,um=132,Tv=133;for(let e=0;e<Op.length;e++)Op[e]=wn(e)&&fc||ct(e)&&Iv||sm(e)&&um||Aq(e)&&Tv||e||V1});function Ni(e,t){return t<e.length?e.charCodeAt(t):0}function jv(e,t,r){return r===13&&Ni(e,t+1)===10?2:1}function zi(e,t,r){let n=e.charCodeAt(t);return Fw(n)&&(n=n|32),n===r}function Fc(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(Fw(a)&&(a=a|32),a!==o)return!1}return!0}function Nq(e,t){for(;t>=0&&wn(e.charCodeAt(t));t--);return t+1}function Yd(e,t){for(;t<e.length&&wn(e.charCodeAt(t));t++);return t}function zf(e,t){for(;t<e.length&&ct(e.charCodeAt(t));t++);return t}function Fi(e,t){if(t+=2,Zr(Ni(e,t-1))){for(let n=Math.min(e.length,t+5);t<n&&Zr(Ni(e,t));t++);let r=Ni(e,t);wn(r)&&(t+=jv(e,t,r))}return t}function Kd(e,t){for(;t<e.length;t++){let r=e.charCodeAt(t);if(!JE(r)){if(yr(r,Ni(e,t+1))){t=Fi(e,t)-1;continue}break}}return t}function Km(e,t){let r=e.charCodeAt(t);if((r===43||r===45)&&(r=e.charCodeAt(t+=1)),ct(r)&&(t=zf(e,t+1),r=e.charCodeAt(t)),r===46&&ct(e.charCodeAt(t+1))&&(t+=2,t=zf(e,t)),zi(e,t,101)){let n=0;r=e.charCodeAt(t+1),(r===45||r===43)&&(n=1,r=e.charCodeAt(t+2)),ct(r)&&(t=zf(e,t+1+n+1))}return t}function Ef(e,t){for(;t<e.length;t++){let r=e.charCodeAt(t);if(r===41){t++;break}yr(r,Ni(e,t+1))&&(t=Fi(e,t))}return t}function ZE(e){if(e.length===1&&!Zr(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 Dv=y(()=>{cm()}),dm,eP=y(()=>{dm=["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 pm(e=null,t){return e===null||e.length<t?new Uint32Array(Math.max(t+1024,16384)):e}var tP=y(()=>{});function Q1(e){let t=e.source,r=t.length,n=t.length>0?XE(t.charCodeAt(0)):0,i=pm(e.lines,r),o=pm(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===Lv||u===Fv||u===rP)&&(u===Fv&&l+1<r&&t.charCodeAt(l+1)===Lv&&(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 Lv,rP,Fv,nP,zq=y(()=>{tP(),cm(),Lv=10,rP=12,Fv=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||Q1(this),{source:t,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}getLocationRange(e,t,r){return this.computed||Q1(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 G1(e,t,r){return e<t?t:e>r?r:e}var _t,Ut,Rn,fa,Dr,Vt,iP,Eq=y(()=>{tP(),Dv(),eP(),_t=16777215,Ut=24,Rn=1,fa=2,Dr=new Uint8Array(32),Dr[2]=22,Dr[21]=22,Dr[19]=20,Dr[23]=24,Vt=new Uint8Array(32),Vt[2]=Rn,Vt[21]=Rn,Vt[19]=Rn,Vt[23]=Rn,Vt[22]=fa,Vt[20]=fa,Vt[24]=fa,iP=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=pm(this.offsetAndType,e.length+1),i=pm(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=Dr[n[m]>>Ut]}else this.isBlockOpenerTokenType(u)&&(l=p,s=Dr[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?Fc(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[G1(e,0,this.tokenCount)]&_t}getTokenType(e){return e===this.tokenIndex?this.tokenType:this.offsetAndType[G1(e,0,this.tokenCount)]>>Ut}substrToCursor(e){return this.source.substring(e,this.tokenStart)}isBlockOpenerTokenType(e){return Vt[e]===Rn}isBlockCloserTokenType(e){return Vt[e]===fa}getBlockTokenPairIndex(e){let t=this.getTokenType(e);if(Vt[t]===1){let r=this.balance[e],n=this.getTokenType(r);return Dr[t]===n?r:-1}else if(Vt[t]===2){let r=this.balance[e],n=this.getTokenType(r);return Dr[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:dm[t],chunk:this.source.substring(r,n),balance:this.balance[i]}}),e}}});function Hm(e,t){function r(d){return d<s?e.charCodeAt(d):0}function n(){if(u=Km(e,u),Pp(r(u),r(u+1),r(u+2))){c=12,u=Kd(e,u);return}if(r(u)===37){c=11,u++;return}c=10}function i(){let d=u;if(u=Kd(e,u),Fc(e,d,u,"url")&&r(u)===40){if(u=Yd(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(Nf(p)){case d:u++;return;case fc:if(lm(p)){u+=jv(e,u,p),c=6;return}break;case 92:if(u===e.length-1)break;let m=r(u+1);lm(m)?u+=jv(e,u+1,m):yr(p,m)&&(u=Fi(e,u)-1);break}}}function a(){for(c=7,u=Yd(e,u);u<e.length;u++){let d=e.charCodeAt(u);switch(Nf(d)){case 41:u++;return;case fc:if(u=Yd(e,u),r(u)===41||u>=e.length){u<e.length&&u++;return}u=Ef(e,u),c=8;return;case 34:case 39:case 40:case Tv:u=Ef(e,u),c=8;return;case 92:if(yr(d,r(u+1))){u=Fi(e,u)-1;break}u=Ef(e,u),c=8;return}}}e=String(e||"");let s=e.length,l=XE(r(0)),u=l,c;for(;u<s;){let d=e.charCodeAt(u);switch(Nf(d)){case fc:c=13,u=Yd(e,u+1);break;case 34:o();break;case 35:JE(r(u+1))||yr(r(u+1),r(u+2))?(c=4,u=Kd(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:Af(d,r(u+1),r(u+2))?n():(c=9,u++);break;case 44:c=18,u++;break;case 45:Af(d,r(u+1),r(u+2))?n():r(u+1)===45&&r(u+2)===62?(c=15,u=u+3):Pp(d,r(u+1),r(u+2))?i():(c=9,u++);break;case 46:Af(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:Pp(r(u+1),r(u+2),r(u+3))?(c=3,u=Kd(e,u+1)):(c=9,u++);break;case 91:c=19,u++;break;case 92:yr(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 Iv:n();break;case um:i();break;default:c=9,u++}t(c,l,l=u)}}var pr=y(()=>{cm(),Dv(),U1(),U1(),eP(),cm(),Dv(),zq(),Eq()}),ln,Mc,Mw=y(()=>{ln=null,Mc=class dn{static createItem(t){return{prev:null,next:null,data:t}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(t){return dn.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 dn;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 dn;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(dn.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(dn.createItem(t))}pop(){return this.tail!==null?this.remove(this.tail):null}unshift(t){this.prepend(dn.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 mm(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 Rw=y(()=>{});function Y1({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(`
|
|
25
25
|
`)}let s=`
|
|
26
|
-
`.repeat(Math.max(n-1,0)),
|
|
27
|
-
`).replace(/^(\s+\d+\s+\|\n)+/,"").replace(/\n(\s+\d+\s+\|)+$/,"")}function
|
|
28
|
-
`+
|
|
29
|
-
`,13,!0)},emit(
|
|
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+=(Rv.length-1)*(u[t-1].substr(0,r-1).match(/\t/g)||[]).length,r>Ip&&(m=r-Mv+3,r=Mv-2);for(let v=c;v<=d;v++)v>=0&&v<u.length&&(u[v]=u[v].replace(/\t/g,Rv),u[v]=(m>0&&u[v].length>m?"…":"")+u[v].substr(m,Ip-2)+(u[v].length>m+Ip-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 K1(e,t,r,n,i,o=1,a=1){return Object.assign(mm("SyntaxError",e),{source:t,offset:r,line:n,column:i,sourceFragment(s){return Y1({source:t,line:n,column:i,baseLine:o,baseColumn:a},isNaN(s)?0:s)},get formattedMessage(){return`Parse error: ${e}
|
|
28
|
+
`+Y1({source:t,line:n,column:i,baseLine:o,baseColumn:a},2)}})}var Ip,Mv,Rv,Pq=y(()=>{Rw(),Ip=100,Mv=60,Rv=" "});function Oq(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 Iq=y(()=>{});function Tq(e){return function(){return this[e]()}}function Pf(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 jq(e){let t={context:Object.create(null),features:Object.assign(Object.create(null),e.features),scope:Object.assign(Object.create(null),e.scope),atrule:Pf(e.atrule),pseudo:Pf(e.pseudo),node:Pf(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]=Tq(n);break}return{config:t,...t,...t.node}}function Dq(e){let t="",r="<unknown>",n=!1,i=pn,o=!1,a=new nP,s=Object.assign(new iP,jq(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:Oq,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(u){return u===$v?1:0},consumeUntilLeftCurlyBracketOrSemicolon(u){return u===$v||u===Tp?1:0},consumeUntilExclamationMarkOrSemicolon(u){return u===oP||u===Tp?1:0},consumeUntilSemicolonIncluded(u){return u===Tp?2:0},createList:pn,createSingleNodeList:pn,getFirstListNode:pn,getLastListNode:pn,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!==Bv);return Bv},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 zi(t,u,c)},cmpStr(u,c,d){return Fc(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,Km(t,this.tokenStart));return this.eat(u),c},eat(u){if(this.tokenType!==u){let c=dm[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(aP)&&(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(Nq(t,t.length-1)):a.getLocation(this.tokenStart);throw new K1(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=>dm[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,Hm),a.setSource(t,c.offset,c.line,c.column),r=c.filename||"<unknown>",n=!!c.positions,i=typeof c.onParseError=="function"?c.onParseError:pn,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?lP:sP),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=Fc(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:K1,config:s.config})}var pn,oP,aP,Tp,$v,Bv,sP,lP,Lq=y(()=>{Mw(),Pq(),pr(),Iq(),pn=()=>{},oP=33,aP=35,Tp=59,$v=123,Bv=0,sP={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}},lP={createList(){return new Mc},createSingleNodeList(e){return new Mc().appendData(e)},getFirstListNode(e){return e&&e.first},getLastListNode(e){return e&&e.last}}}),uP,Fq=y(()=>{uP=()=>{}}),qv={};N(qv,{safe:()=>$w,spec:()=>pP});function H1(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===dP&&n!==1&&n!==2&&n!==15||a===cP?t.has((r&65534)<<16|a<<7):t.has((r&65534)<<16|o);return o|s}}var cP,dP,jp,Of,J1,pP,$w,Mq=y(()=>{cP=43,dP=45,jp=(e,t)=>(e===9&&(e=t),typeof e=="string"&&(e=Math.min(e.charCodeAt(0),128)<<6),e<<1),Of=[[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],["/","*"]],J1=Of.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,"-"]]),pP=H1(Of),$w=H1(J1)});function Rq(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 $q(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:$w,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=uP(a)),n.mode in qv&&(a.tokenBefore=qv[n.mode]));let s={node:l=>a.node(l),children:Rq,token:(l,u)=>a.token(l,u),tokenize:l=>Hm(l,(u,c,d)=>{a.token(u,l.slice(c,d),c!==0)})};return a.node(r),a.result()}}var mP,Bq=y(()=>{pr(),Fq(),Mq(),mP=92}),hP,qq=y(()=>{hP=()=>({})});function X1(e){return typeof e=="function"?e:bi}function Z1(e,t){return function(r,n,i){r.type===t&&e.call(this,r,n,i)}}function Wq(e,t){let r=t.structure,n=[];for(let i in r){if(Jm.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 _q(e){let t={};for(let r in e.node)if(Jm.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]=Wq(r,n)}return t}function e0(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 t0({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 Uq(e){let t=_q(e),r={},n={},i=Symbol("break-walk"),o=Symbol("skip-node");for(let u in t)Jm.call(t,u)&&t[u]!==null&&(r[u]=e0(t[u],!1),n[u]=e0(t[u],!0));let a=t0(r),s=t0(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=bi,m=bi,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=X1(c.enter),m=X1(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=Z1(p,c.visit),m=Z1(m,c.visit)}if(p===bi&&m===bi)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 Jm,bi,Vq=y(()=>{({hasOwnProperty:Jm}=Object.prototype),bi=function(){}});function Qq(e){return e}function Gq(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 Yq(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 Kq(e,t,r,n){let i=e.combinator===" "||n?e.combinator:" "+e.combinator+" ",o=e.terms.map(a=>hm(a,t,r,n)).join(i);return e.explicit||r?(n||o[0]===","?"[":"[ ")+o+(n?"]":" ]"):o}function hm(e,t,r,n){let i;switch(e.type){case"Group":i=Kq(e,t,r,n)+(e.disallowEmpty?"!":"");break;case"Multiplier":return hm(e.term,t,r,n)+t(Gq(e),e);case"Boolean":i="<boolean-expr["+hm(e.term,t,r,n)+"]>";break;case"Type":i="<"+e.name+(e.opts?t(Yq(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 Hq(e,t){let r=Qq,n=!1,i=!1;return typeof t=="function"?r=t:t&&(n=!!t.forceBraces,i=!!t.compact,typeof t.decorate=="function"&&(r=t.decorate)),hm(e,r,n,i)}var Jq=y(()=>{});function Xq(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=Hd(o||t,"end")||sc(Wv,u),d=sc(c)):(c=Hd(o,"start")||sc(Hd(t,"start")||Wv,u.slice(0,a)),d=Hd(o,"end")||sc(c,u.substr(a,s))),{css:u,mismatchOffset:a,mismatchLength:s,start:c,end:d}}function Hd(e,t){let r=e&&e.loc&&e.loc[t];return r?"line"in r?sc(r):r:null}function sc({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 Wv,Dp,fP,Zq=y(()=>{Rw(),Jq(),Wv={offset:0,line:1,column:1},Dp=function(e,t){let r=mm("SyntaxReferenceError",e+(t?" `"+t+"`":""));return r.reference=t,r},fP=function(e,t,r,n){let i=mm("SyntaxMatchError",e),{css:o,mismatchOffset:a,mismatchLength:s,start:l,end:u}=Xq(n,r);return i.rawMessage=e,i.syntax=t?Hq(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,
|
|
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 Bw(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===Rc&&e.charCodeAt(t+1)===Rc}function gP(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===Rc&&e.charCodeAt(t+1)!==Rc){let r=e.indexOf("-",t+2);if(r!==-1)return e.substring(t,r+1)}return""}function e9(e){if(lc.has(e))return lc.get(e);let t=e.toLowerCase(),r=lc.get(t);if(r===void 0){let n=Bw(t,0),i=n?"":gP(t,0);r=Object.freeze({basename:t.substr(i.length),name:t,prefix:i,vendor:i,custom:n})}return lc.set(e,r),r}function t9(e){if(mn.has(e))return mn.get(e);let t=e,r=e[0];r==="/"?r=e[1]==="/"?"//":"/":r!=="_"&&r!=="*"&&r!=="$"&&r!=="#"&&r!=="+"&&r!=="&"&&(r="");let n=Bw(t,r.length);if(!n&&(t=t.toLowerCase(),mn.has(t))){let s=mn.get(t);return mn.set(e,s),s}let i=n?"":gP(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 mn.set(e,a),a}var lc,mn,Rc,Lp,_v,qw=y(()=>{lc=new Map,mn=new Map,Rc=45,Lp=e9,_v=t9}),Xm,Ww=y(()=>{Xm=["initial","inherit","unset","revert","revert-layer"]});function Uv(e,t){return e!==null&&e.type===9&&e.value.charCodeAt(0)===t}function gc(e,t,r){for(;e!==null&&(e.type===13||e.type===25);)e=r(++t);return t}function Vr(e,t,r,n){if(!e)return 0;let i=e.value.charCodeAt(t);if(i===Mi||i===tr){if(r)return 0;t++}for(;t<e.value.length;t++)if(!ct(e.value.charCodeAt(t)))return 0;return n+1}function If(e,t,r){let n=!1,i=gc(e,t,r);if(e=r(i),e===null)return t;if(e.type!==10)if(Uv(e,Mi)||Uv(e,tr)){if(n=!0,i=gc(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!==Mi&&o!==tr)return 0}return Vr(e,n?0:1,n,i)}function r9(e,t){let r=0;if(!e)return 0;if(e.type===10)return Vr(e,0,bP,r);if(e.type===1&&e.value.charCodeAt(0)===tr){if(!zi(e.value,1,Fp))return 0;switch(e.value.length){case 2:return If(t(++r),r,t);case 3:return e.value.charCodeAt(2)!==tr?0:(r=gc(t(++r),r,t),e=t(r),Vr(e,0,hn,r));default:return e.value.charCodeAt(2)!==tr?0:Vr(e,3,hn,r)}}else if(e.type===1||Uv(e,Mi)&&t(r+1).type===1){if(e.type!==1&&(e=t(++r)),e===null||!zi(e.value,0,Fp))return 0;switch(e.value.length){case 1:return If(t(++r),r,t);case 2:return e.value.charCodeAt(1)!==tr?0:(r=gc(t(++r),r,t),e=t(r),Vr(e,0,hn,r));default:return e.value.charCodeAt(1)!==tr?0:Vr(e,2,hn,r)}}else if(e.type===12){let n=e.value.charCodeAt(0),i=n===Mi||n===tr?1:0,o=i;for(;o<e.value.length&&ct(e.value.charCodeAt(o));o++);return o===i||!zi(e.value,o,Fp)?0:o+1===e.value.length?If(t(++r),r,t):e.value.charCodeAt(o+1)!==tr?0:o+2===e.value.length?(r=gc(t(++r),r,t),e=t(r),Vr(e,0,hn,r)):Vr(e,o+2,hn,r)}return 0}var Mi,tr,Fp,hn,bP,n9=y(()=>{pr(),Mi=43,tr=45,Fp=110,hn=!0,bP=!1});function Vv(e,t){return e!==null&&e.type===9&&e.value.charCodeAt(0)===t}function i9(e,t){return e.value.charCodeAt(0)===t}function uc(e,t,r){let n=0;for(let i=t;i<e.value.length;i++){let o=e.value.charCodeAt(i);if(o===_w&&r&&n!==0)return uc(e,t+n+1,!1),6;if(!Zr(o)||++n>6)return 0}return n}function Jd(e,t,r){if(!e)return 0;for(;Vv(r(t),Uw);){if(++e>6)return 0;t++}return t}function o9(e,t){let r=0;if(e===null||e.type!==1||!zi(e.value,0,yP)||(e=t(++r),e===null))return 0;if(Vv(e,vP))return e=t(++r),e===null?0:e.type===1?Jd(uc(e,0,!0),++r,t):Vv(e,Uw)?Jd(1,++r,t):0;if(e.type===10){let n=uc(e,1,!0);return n===0?0:(e=t(++r),e===null?r:e.type===12||e.type===10?!i9(e,_w)||!uc(e,1,!1)?0:r+1:Jd(n,r,t))}return e.type===12?Jd(uc(e,1,!0),++r,t):0}var vP,_w,Uw,yP,a9=y(()=>{pr(),vP=43,_w=45,Uw=63,yP=117});function lr(e,t){return t<e.length?e.charCodeAt(t):0}function wP(e,t){return Fc(e,0,e.length,t)}function kP(e,t){for(let r=0;r<t.length;r++)if(wP(e,t[r]))return!0;return!1}function xP(e,t){return t!==e.length-2?!1:lr(e,t)===92&&ct(lr(e,t+1))}function Zm(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 s9(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=eh.get(e.type);break}i++}while(e=t(i));return i}function Gt(e,t){return function(r,n,i){return r===null?0:r.type===2&&kP(r.value,t)?s9(r,n):e(r,n,i)}}function Me(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 kP(t,Xm)||wP(t,"default")?0:1}function SP(e){return e===null||e.type!==1||lr(e.value,0)!==45||lr(e.value,1)!==45?0:1}function u9(e){return!SP(e)||e.value==="--"?0:1}function c9(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(!Zr(lr(e.value,r)))return 0;return 1}function d9(e){return e===null||e.type!==4||!Pp(lr(e.value,1),lr(e.value,2),lr(e.value,3))?0:1}function p9(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=eh.get(e.type);break}i++}while(e=t(i));return i}function m9(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=eh.get(e.type);break}i++}while(e=t(i));return i}function Lr(e){return e&&(e=new Set(e)),function(t,r,n){if(t===null||t.type!==12)return 0;let i=Km(t.value,0);if(e!==null){let o=t.value.indexOf("\\",i),a=o===-1||!xP(t.value,o)?t.value.substr(i):t.value.substring(i,o);if(e.has(a.toLowerCase())===!1)return 0}return Zm(n,t.value,i)?0:1}}function h9(e,t,r){return e===null||e.type!==11||Zm(r,e.value,e.value.length-1)?0:1}function CP(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 f9(e,t,r){if(e===null)return 0;let n=Km(e.value,0);return n!==e.value.length&&!xP(e.value,n)||Zm(r,e.value,n)?0:1}function g9(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(!ct(lr(e.value,n)))return 0;return Zm(r,e.value,n)?0:1}function b9(e){let{angle:t,decibel:r,frequency:n,flex:i,length:o,resolution:a,semitones:s,time:l}=e||{};return{dimension:Gt(Lr(null),vr),angle:Gt(Lr(t),vr),decibel:Gt(Lr(r),vr),frequency:Gt(Lr(n),vr),flex:Gt(Lr(i),vr),length:Gt(CP(Lr(o)),vr),resolution:Gt(Lr(a),vr),semitones:Gt(Lr(s),vr),time:Gt(Lr(l),vr)}}function v9(e){let t=new Set;for(let r of zP)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 y9(e){return{...AP,...NP,...b9(e),"attr-unit":v9(e)}}var Xd,Zd,ep,r0,n0,i0,tp,rp,Tf,o0,vr,eh,AP,NP,zP,w9=y(()=>{Ww(),n9(),a9(),pr(),Xd=["calc(","-moz-calc(","-webkit-calc("],Zd=["min(","max(","clamp("],ep=["round(","mod(","rem("],r0=["sin(","cos(","tan("],n0=["asin(","acos(","atan(","atan2("],i0=["pow(","sqrt(","log(","exp(","sign("],tp=["hypot("],rp=["abs("],Tf=[...Xd,...Zd,...ep,...r0,...i0,...tp,...rp],o0=[...Xd,...Zd,...ep,...tp,...rp],vr=[...Xd,...Zd,...ep,...n0,...tp,...rp],eh=new Map([[2,22],[21,22],[19,20],[23,24]]),AP={"ident-token":Me(1),"function-token":Me(2),"at-keyword-token":Me(3),"hash-token":Me(4),"string-token":Me(5),"bad-string-token":Me(6),"url-token":Me(7),"bad-url-token":Me(8),"delim-token":Me(9),"number-token":Me(10),"percentage-token":Me(11),"dimension-token":Me(12),"whitespace-token":Me(13),"CDO-token":Me(14),"CDC-token":Me(15),"colon-token":Me(16),"semicolon-token":Me(17),"comma-token":Me(18),"[-token":Me(19),"]-token":Me(20),"(-token":Me(21),")-token":Me(22),"{-token":Me(23),"}-token":Me(24)},NP={string:Me(5),ident:Me(1),percentage:Gt(h9,o0),zero:CP(),number:Gt(f9,Tf),integer:Gt(g9,Tf),"custom-ident":l9,"dashed-ident":SP,"custom-property-name":u9,"hex-color":c9,"id-selector":d9,"an-plus-b":r9,urange:o9,"declaration-value":p9,"any-value":m9},zP=["length","angle","time","frequency","resolution","flex","decibel","semitones"]}),Qv={};N(Qv,{angle:()=>PP,decibel:()=>DP,flex:()=>jP,frequency:()=>IP,length:()=>EP,resolution:()=>TP,semitones:()=>LP,time:()=>OP});var EP,PP,OP,IP,TP,jP,DP,LP,k9=y(()=>{EP=["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"],PP=["deg","grad","rad","turn"],OP=["s","ms"],IP=["hz","khz"],TP=["dpi","dpcm","dppx","x"],jP=["fr"],DP=["db"],LP=["st"]});function x9(e,t,r){return Object.assign(mm("SyntaxError",e),{input:t,offset:r,rawMessage:e,message:e+`
|
|
33
33
|
`+t+`
|
|
34
|
-
--`+new Array((r||t.length)+1).join("-")+"^"})}var qq=y(()=>{ww()}),Q1,Y1,G1,K1,H1,bf,dP,Wq=y(()=>{qq(),Q1=9,Y1=10,G1=12,K1=13,H1=32,bf=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0),dP=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&&bf[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!==K1&&t!==Y1&&t!==G1&&t!==H1&&t!==Q1)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 Bq(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||bf[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 Z1(e){let t=null,r=null;return e.eat(Dc),e.skipWs(),t=e.scanNumber(e),e.skipWs(),e.charCode()===Qm?(e.pos++,e.skipWs(),e.charCode()!==nm&&(r=e.scanNumber(e),e.skipWs())):r=t,e.eat(nm),{min:Number(t),max:r?Number(r):0}}function _q(e){let t=null,r=!1;switch(e.charCode()){case Ow:e.pos++,t={min:0,max:0};break;case Vm:e.pos++,t={min:1,max:0};break;case jc:e.pos++,t={min:0,max:1};break;case Um:e.pos++,r=!0,e.charCode()===Dc?t=Z1(e):e.charCode()===jc?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case Dc:t=Z1(e);break;default:return null}return{type:"Multiplier",comma:r,min:t.min,max:t.max,term:null}}function Jr(e,t){let r=_q(e);return r!==null?(r.term=t,e.charCode()===Um&&e.charCodeAt(e.pos-1)===Vm||e.charCode()===jc&&e.charCodeAt(e.pos-1)===nm?Jr(e,r):r):t}function vf(e){let t=e.peek();return t===""?null:Jr(e,{type:"Token",value:t})}function Uq(e){let t;return e.eat(Ym),e.eat(Ic),t=e.scanWord(),e.eat(Ic),e.eat(rm),Jr(e,{type:"Property",name:t})}function Vq(e){let t=null,r=null,n=1;return e.eat(Fi),e.charCode()===Tv&&(e.peek(),n=-1),n==-1&&e.charCode()===jv?e.peek():(t=n*Number(e.scanNumber(e)),e.isNameCharCode()&&(t+=e.scanWord())),e.skipWs(),e.eat(Qm),e.skipWs(),e.charCode()===jv?e.peek():(n=1,e.charCode()===Tv&&(e.peek(),n=-1),r=n*Number(e.scanNumber(e)),e.isNameCharCode()&&(r+=e.scanWord())),e.eat(kn),{type:"Range",min:t,max:r}}function Qq(e){let t,r=null;if(e.eat(Ym),t=e.scanWord(),t==="boolean-expr"){e.eat(Fi);let n=_m(e,kn);return e.eat(kn),e.eat(rm),Jr(e,{type:"Boolean",term:n.terms.length===1?n.terms[0]:n})}return e.charCode()===Ew&&e.nextCharCode()===Pw&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===Fi&&(e.skipWs(),r=Vq(e)),e.eat(rm),Jr(e,{type:"Type",name:t,opts:r})}function Yq(e){let t=e.scanWord();return e.charCode()===Ew?(e.pos++,{type:"Function",name:t}):Jr(e,{type:"Keyword",name:t})}function Gq(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)=>Dv[i]-Dv[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 _m(e,t=-1){let r=Object.create(null),n=[],i=null,o=e.pos,a=!1;for(;e.charCode()!==t;){let s=a?_m(e,Pw):Hq(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:Gq(n,r)||" ",disallowEmpty:!1,explicit:!1}}function Kq(e){let t;return e.eat(Fi),t=_m(e,kn),e.eat(kn),t.explicit=!0,e.charCode()===zw&&(e.pos++,t.disallowEmpty=!0),t}function Hq(e){let t=e.charCode();switch(t){case kn:break;case Fi:return Jr(e,Kq(e));case Ym:return e.nextCharCode()===Ic?Uq(e):Qq(e);case Iv:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===Iv?2:1))};case Ov:return e.pos++,e.eat(Ov),{type:"Combinator",value:"&&"};case Qm:return e.pos++,{type:"Comma"};case Ic:return Jr(e,{type:"String",value:e.scanString()});case bP:case mP:case hP:case gP:case fP:return{type:"Spaces",value:e.scanSpaces()};case vP:return t=e.nextCharCode(),e.isNameCharCode(t)?(e.pos++,{type:"AtKeyword",name:e.scanWord()}):vf(e);case Ow:case Vm:case jc:case Um:case zw:break;case Dc:if(t=e.nextCharCode(),t<48||t>57)return vf(e);break;default:return e.isNameCharCode(t)?Yq(e):vf(e)}}function pP(e){let t=new dP(e),r=_m(t);return t.pos!==e.length&&t.error("Unexpected input"),r.terms.length===1&&r.terms[0].type==="Group"?r.terms[0]:r}var mP,hP,fP,gP,bP,zw,Um,Ov,Ic,Ew,Pw,Ow,Vm,Qm,Tv,Ym,rm,jc,vP,Fi,kn,Dc,Iv,nm,jv,Dv,yP=y(()=>{Wq(),mP=9,hP=10,fP=12,gP=13,bP=32,zw=33,Um=35,Ov=38,Ic=39,Ew=40,Pw=41,Ow=42,Vm=43,Qm=44,Tv=45,Ym=60,rm=62,jc=63,vP=64,Fi=91,kn=93,Dc=123,Iv=124,nm=125,jv=8734,Dv={" ":1,"&&":2,"||":3,"|":4}}),Zq=y(()=>{}),wP=y(()=>{yP(),Zq()});function Xq(e){let t=[];return Rm(e,(r,n,i)=>t.push({type:r,value:e.slice(n,i),node:null})),t}function Jq(e,t){return typeof e=="string"?Xq(e):t.generate(e,kP)}var kP,e9=y(()=>{dr(),kP={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 pt(e,t,r){return t===ze&&r===je||e===ze&&t===ze&&r===ze?e:(e.type==="If"&&e.else===je&&t===ze&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:r})}function xP(e){return e.length>2&&e.charCodeAt(e.length-2)===SP&&e.charCodeAt(e.length-1)===CP}function X1(e){return e.type==="Keyword"||e.type==="AtKeyword"||e.type==="Function"||e.type==="Type"&&xP(e.name)}function qr(e,t=" ",r=!1){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:r}}function cc(e,t,r=new Set){if(!r.has(e))switch(r.add(e),e.type){case"If":e.match=cc(e.match,t,r),e.then=cc(e.then,t,r),e.else=cc(e.else,t,r);break;case"Type":return t[e.name]||e}return e}function Lv(e,t,r){switch(e){case" ":{let n=ze;for(let i=t.length-1;i>=0;i--){let o=t[i];n=pt(o,n,je)}return n}case"|":{let n=je,i=null;for(let o=t.length-1;o>=0;o--){let a=t[o];if(X1(a)&&(i===null&&o>0&&X1(t[o-1])&&(i=Object.create(null),n=pt({type:"Enum",map:i},ze,n)),i!==null)){let s=(xP(a.name)?a.name.slice(0,-1):a.name).toLowerCase();if(!(s in i)){i[s]=a;continue}}i=null,n=pt(a,ze,n)}return n}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let n=je;for(let i=t.length-1;i>=0;i--){let o=t[i],a;t.length>1?a=Lv(e,t.filter(function(s){return s!==o}),!1):a=ze,n=pt(o,a,n)}return n}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let n=r?ze:je;for(let i=t.length-1;i>=0;i--){let o=t[i],a;t.length>1?a=Lv(e,t.filter(function(s){return s!==o}),!0):a=ze,n=pt(o,a,n)}return n}}}function t9(e){let t=ze,r=gi(e.term);if(e.max===0)r=pt(r,Gm,je),t=pt(r,null,je),t.then=pt(ze,ze,t),e.comma&&(t.then.else=pt({type:"Comma",syntax:e},t,je));else for(let n=e.min||1;n<=e.max;n++)e.comma&&t!==ze&&(t=pt({type:"Comma",syntax:e},t,je)),t=pt(r,pt(ze,ze,t),je);if(e.min===0)t=pt(ze,ze,t);else for(let n=0;n<e.min-1;n++)e.comma&&t!==ze&&(t=pt({type:"Comma",syntax:e},t,je)),t=pt(r,t,je);return t}function gi(e){if(typeof e=="function")return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=Lv(e.combinator,e.terms.map(gi),!1);return e.disallowEmpty&&(t=pt(t,Gm,je)),t}case"Multiplier":return t9(e);case"Boolean":{let t=gi(e.term),r=gi(qr([qr([{type:"Keyword",name:"not"},{type:"Type",name:"!boolean-group"}]),qr([{type:"Type",name:"!boolean-group"},qr([{type:"Multiplier",comma:!1,min:0,max:0,term:qr([{type:"Keyword",name:"and"},{type:"Type",name:"!boolean-group"}])},{type:"Multiplier",comma:!1,min:0,max:0,term:qr([{type:"Keyword",name:"or"},{type:"Type",name:"!boolean-group"}])}],"|")])],"|")),n=gi(qr([{type:"Type",name:"!term"},qr([{type:"Token",value:"("},{type:"Type",name:"!self"},{type:"Token",value:")"}]),{type:"Type",name:"general-enclosed"}],"|"));return cc(n,{"!term":t,"!self":r}),cc(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 Kd(e,t){return typeof e=="string"&&(e=pP(e)),{type:"MatchGraph",match:gi(e),syntax:t||null,source:e}}var ze,je,Gm,SP,CP,AP=y(()=>{yP(),ze={type:"Match"},je={type:"Mismatch"},Gm={type:"DisallowEmpty"},SP=40,CP=41});function r9(e){let t=null,r=null,n=e;for(;n!==null;)r=n.prev,n.prev=t,t=n,n=r;return t}function yf(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 n9(e){return e.type!==9?!1:e.value!=="?"}function J1(e){return e===null?!0:e.type===18||e.type===2||e.type===21||e.type===19||e.type===23||n9(e)}function e0(e){return e===null?!0:e.type===22||e.type===20||e.type===24||e.type===9&&e.value==="/"}function i9(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){h=o(k,h)}function u(){w={type:zP,syntax:t.syntax,token:g,prev:w},n(),v=null,f>x&&(x=f)}function l(){d={syntax:t.syntax,opts:t.syntax.opts||d!==null&&d.opts||null,prev:d},w={type:im,syntax:t.syntax,token:w.token,prev:w}}function c(){w.type===im?w=w.prev:w={type:Tw,syntax:d.syntax,token:w.token,prev:w},d=d.prev}let d=null,p=null,h=null,v=null,m=0,b=null,g=null,f=-1,x=0,w={type:NP,syntax:null,token:null,prev:null};for(n();b===null&&++m<Rv;)switch(t.type){case"Match":if(p===null){if(g!==null&&(f!==e.length-1||g.value!=="\\0"&&g.value!=="\\9")){t=je;break}b=Mv;break}if(t=p.nextState,t===Gm)if(p.matchStack===w){t=je;break}else t=ze;for(;p.syntaxStack!==d;)c();p=p.prev;break;case"Mismatch":if(v!==null&&v!==!1)(h===null||f>h.tokenIndex)&&(h=v,v=!1);else if(h===null){b=EP;break}t=h.nextState,p=h.thenStack,d=h.syntaxStack,w=h.matchStack,f=h.tokenIndex,g=f<e.length?e[f]:null,h=h.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==je&&s(t.else),t.then!==ze&&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=je;break}t=ze;break}if(t.mask===(1<<E.length)-1){t=ze;break}for(;t.index<E.length;t.index++){let A=1<<t.index;if((t.mask&A)===0){s(t),a({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|A}),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].*$/,"")),Fv.call(t.map,E)){t=t.map[E];break}}t=je;break;case"Generic":{let E=d!==null?d.opts:null,A=f+Math.floor(t.fn(g,i,E));if(!isNaN(A)&&A>f){for(;f<A;)u();t=ze}else t=je;break}case"Type":case"Property":{let E=t.type==="Type"?"types":"properties",A=Fv.call(r,E)?r[E][t.name]:null;if(!A||!A.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,h)),t=je;break}l(),t=A.matchRef||A.match;break}case"Keyword":{let E=t.name;if(g!==null){let A=g.value;if(A.indexOf("\\")!==-1&&(A=A.replace(/\\[09].*$/,"")),yf(A,E)){u(),t=ze;break}}t=je;break}case"AtKeyword":case"Function":if(g!==null&&yf(g.value,t.name)){u(),t=ze;break}t=je;break;case"Token":if(g!==null&&g.value===t.value){u(),t=ze;break}t=je;break;case"Comma":g!==null&&g.type===18?J1(w.token)?t=je:(u(),t=e0(g)?je:ze):t=J1(w.token)||e0(g)?ze:je;break;case"String":let k="",S=f;for(;S<e.length&&k.length<t.value.length;S++)k+=e[S].value;if(yf(k,t.value)){for(;f<S;)u();t=ze}else t=je;break;default:throw new Error("Unknown node type: "+t.type)}switch(OP+=m,b){case null:console.warn("[csstree-match] BREAK after "+Rv+" iterations"),b=PP,w=null;break;case Mv:for(;d!==null;)c();break;default:w=null}return{tokens:e,reason:b,iterations:m,match:w,longestMatch:x}}function t0(e,t,r){let n=i9(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=r9(i).prev;i!==null;){switch(i.type){case im:o.match.push(o={syntax:i.syntax,match:[]}),a.push(o);break;case Tw: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 Fv,NP,zP,im,Tw,Mv,EP,PP,Rv,OP,o9=y(()=>{AP(),{hasOwnProperty:Fv}=Object.prototype,NP=0,zP=1,im=2,Tw=3,Mv="Match",EP="Mismatch",PP="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",Rv=15e3,OP=0}),TP={};N(TP,{getTrace:()=>IP,isKeyword:()=>l9,isProperty:()=>s9,isType:()=>a9});function IP(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 a9(e,t){return Iw(this,e,r=>r.type==="Type"&&r.name===t)}function s9(e,t){return Iw(this,e,r=>r.type==="Property"&&r.name===t)}function l9(e){return Iw(this,e,t=>t.type==="Keyword")}function Iw(e,t,r){let n=IP.call(e,t);return n===null?!1:n.some(r)}var u9=y(()=>{});function wf(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}function r0(e){return!!e&&wf(e.offset)&&wf(e.line)&&wf(e.column)}function c9(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(Ni.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(!r0(r.loc.start))i+=".start";else if(!r0(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 Oc)}}}else n(r,"Unknown field `"+i+"` for "+e+" node type");o||n(r,"Bad value for `"+e+"."+i+"`")}}for(let i in t)Ni.call(t,i)&&Ni.call(r,i)===!1&&n(r,"Field `"+e+"."+i+"` is missed")}}function jP(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<"+(jP(i,t)||"any")+">");else throw new Error("Wrong value `"+i+"` in `"+t+"` structure definition")}return r.join(" | ")}function d9(e,t){let r=t.structure,n={type:String,loc:!0},i={type:'"'+e+'"'};for(let o in r){if(Ni.call(r,o)===!1)continue;let a=n[o]=Array.isArray(r[o])?r[o].slice():[r[o]];i[o]=jP(a,e+"."+o)}return{docs:i,check:c9(e,n)}}function p9(e){let t={};if(e.node){for(let r in e.node)if(Ni.call(e.node,r)){let n=e.node[r];if(n.structure)t[r]=d9(r,n);else throw new Error("Missed `structure` field in `"+r+"` node type definition")}}return t}var Ni,m9=y(()=>{yw(),{hasOwnProperty:Ni}=Object.prototype});function h9(e){for(let t=0;t<e.length;t++)if(e[t].value.toLowerCase()==="var(")return!0;return!1}function f9(e){let t=e.terms[0];return e.explicit===!1&&e.terms.length===1&&t.type==="Multiplier"&&t.comma===!0}function Qr(e,t,r){return{matched:e,iterations:r,error:t,...TP}}function Hd(e,t,r,n){let i=Jq(r,e.syntax),o;return h9(i)?Qr(null,new Error("Matching for a tree with var() is not supported")):(n&&(o=t0(i,e.cssWideKeywordsSyntax,e)),(!n||!o.match)&&(o=t0(i,t.match,e),!o.match)?Qr(null,new UE(o.reason,t.syntax,r,o),o.iterations):Qr(o.match,null,o.iterations))}var $v,g9=y(()=>{bq(),Sw(),Cw(),Rq(),$q(),wP(),e9(),AP(),o9(),u9(),m9(),$v=class{constructor(e,t,r){if(this.cssWideKeywords=Bm,this.syntax=t,this.generic=!1,this.units={...Pv},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=r||p9(e),e){if(e.cssWideKeywords&&(this.cssWideKeywords=e.cssWideKeywords),e.units)for(let n of Object.keys(Pv))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(Mq(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=Kd(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=Kd(e,i):(typeof e=="string"?Object.defineProperty(o,"syntax",{get(){return Object.defineProperty(o,"syntax",{value:pP(e)}),o.syntax}}):o.syntax=e,Object.defineProperty(o,"match",{get(){return Object.defineProperty(o,"match",{value:Kd(o.syntax,i)}),o.match}}),t==="Property"&&Object.defineProperty(o,"matchRef",{get(){let a=o.syntax,s=f9(a)?Kd({...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 Ap("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&&!Hd(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=Np(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 Ap("Unknown at-rule descriptor",t)}checkPropertyName(e){if(!this.getProperty(e))return new Ap("Unknown property",e)}matchAtrulePrelude(e,t){let r=this.checkAtrulePrelude(e,t);if(r)return Qr(null,r);let n=this.getAtrule(e);return n.prelude?Hd(this,n.prelude,t||"",!1):Qr(null,null)}matchAtruleDescriptor(e,t,r){let n=this.checkAtruleDescriptorName(e,t);if(n)return Qr(null,n);let i=this.getAtrule(e),o=Np(t);return Hd(this,i.descriptors[o.name]||i.descriptors[o.basename],r,!1)}matchProperty(e,t){if(Nv(e).custom)return Qr(null,new Error("Lexer matching doesn't applicable for custom properties"));let r=this.checkPropertyName(e);return r?Qr(null,r):Hd(this,this.getProperty(e),t,!0)}getAtrule(e,t=!0){let r=Np(e);return(r.vendor&&t?this.atrules[r.name]||this.atrules[r.basename]:this.atrules[r.name])||null}getProperty(e,t=!0){let r=Nv(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 b9(e,t){let r=Object.create(null);for(let n of Object.keys(e))t.includes(n)&&(r[n]=e[n]);return r}function xf(e,t,r){let n={...e};for(let[i,o]of Object.entries(t))n[i]={...n[i],...r?b9(o,r):o};return n}function Bv(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]||{},u=r[n][o]={prelude:s.prelude||null,descriptors:{...s.descriptors}};if(a){u.prelude=a.prelude?kf(u.prelude,a.prelude):u.prelude||null;for(let[l,c]of Object.entries(a.descriptors||{}))u.descriptors[l]=c?kf(u.descriptors[l],c):null;Object.keys(u.descriptors).length||(u.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]=xf(e[n],i);break;case"atrule":case"pseudo":r[n]=xf(e[n],i,["parse"]);break;case"node":r[n]=xf(e[n],i,["name","structure","parse","generate","walkContext"]);break}return r}var v9=y(()=>{});function DP(e){let t=XB(e),r=lq(e),n=nq(e),{fromPlainObject:i,toPlainObject:o}=_E(r),a={lexer:null,createLexer:s=>new $v(s,a,a.lexer.structure),tokenize:Rm,parse:t,generate:n,walk:r,find:r.find,findLast:r.findLast,findAll:r.findAll,fromPlainObject:i,toPlainObject:o,fork(s){let u=Bv({},e);return DP(typeof s=="function"?s(u):Bv(u,s))}};return a.lexer=new $v({generic:e.generic,cssWideKeywords:e.cssWideKeywords,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},a),a}var LP,y9=y(()=>{dr(),JB(),iq(),oq(),uq(),g9(),v9(),LP=e=>DP(Bv({},e))}),FP,w9=y(()=>{FP={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"}}}}}),MP={};N(MP,{generate:()=>k9,name:()=>BP,parse:()=>RP,structure:()=>qP});function Ep(e,t){let r=this.tokenStart+e,n=this.charCodeAt(r);for((n===rr||n===Ct)&&(t&&this.error("Number sign is not allowed"),r++);r<this.tokenEnd;r++)ut(this.charCodeAt(r))||this.error("Integer is expected",r)}function bi(e){return Ep.call(this,0,e)}function Wr(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let r="";switch(t){case dc:r="N is expected";break;case Ct:r="HyphenMinus is expected";break}this.error(r,this.tokenStart+e)}}function Sf(){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(Ct,e)){t=this.isDelim(rr,e)?rr:Ct;do r=this.lookupType(++e);while(r===13||r===25);r!==10&&(this.skip(e),bi.call(this,Vr))}else return null;return e>0&&this.skip(e),t===0&&(r=this.charCodeAt(this.tokenStart),r!==rr&&r!==Ct&&this.error("Number sign is expected")),bi.call(this,t!==0),t===Ct?"-"+this.consume(10):this.consume(10)}function RP(){let e=this.tokenStart,t=null,r=null;if(this.tokenType===10)bi.call(this,$P),r=this.consume(10);else if(this.tokenType===1&&this.cmpChar(this.tokenStart,Ct))switch(t="-1",Wr.call(this,1,dc),this.tokenEnd-this.tokenStart){case 2:this.next(),r=Sf.call(this);break;case 3:Wr.call(this,2,Ct),this.next(),this.skipSC(),bi.call(this,Vr),r="-"+this.consume(10);break;default:Wr.call(this,2,Ct),Ep.call(this,3,Vr),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()),Wr.call(this,0,dc),this.tokenEnd-this.tokenStart){case 1:this.next(),r=Sf.call(this);break;case 2:Wr.call(this,1,Ct),this.next(),this.skipSC(),bi.call(this,Vr),r="-"+this.consume(10);break;default:Wr.call(this,1,Ct),Ep.call(this,2,Vr),this.next(),r=this.substrToCursor(e+n+1)}}else if(this.tokenType===12){let n=this.charCodeAt(this.tokenStart),i=n===rr||n===Ct,o=this.tokenStart+i;for(;o<this.tokenEnd&&ut(this.charCodeAt(o));o++);o===this.tokenStart+i&&this.error("Integer is expected",this.tokenStart+i),Wr.call(this,o-this.tokenStart,dc),t=this.substring(e,o),o+1===this.tokenEnd?(this.next(),r=Sf.call(this)):(Wr.call(this,o-this.tokenStart+1,Ct),o+2===this.tokenEnd?(this.next(),this.skipSC(),bi.call(this,Vr),r="-"+this.consume(10)):(Ep.call(this,o-this.tokenStart+2,Vr),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 k9(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,Ct,dc,Vr,$P,BP,qP,WP=y(()=>{dr(),rr=43,Ct=45,dc=110,Vr=!0,$P=!1,BP="AnPlusB",qP={a:[String,null],b:[String,null]}}),_P={};N(_P,{generate:()=>S9,name:()=>VP,parse:()=>UP,structure:()=>YP,walkContext:()=>QP});function n0(){return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function x9(){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 UP(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),n0):i=n0.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(x9.call(this));break}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:r,prelude:i,block:o}}function S9(e){this.token(3,"@"+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(17,";")}var VP,QP,YP,GP=y(()=>{VP="Atrule",QP="atrule",YP={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]}}),KP={};N(KP,{generate:()=>C9,name:()=>ZP,parse:()=>HP,structure:()=>JP,walkContext:()=>XP});function HP(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 C9(e){this.children(e)}var ZP,XP,JP,eO=y(()=>{ZP="AtrulePrelude",XP="atrulePrelude",JP={children:[[]]}}),tO={};N(tO,{generate:()=>z9,name:()=>aO,parse:()=>rO,structure:()=>sO});function A9(){this.eof&&this.error("Unexpected end of input");let e=this.tokenStart,t=!1;return this.isDelim(jw)?(t=!0,this.next()):this.isDelim(om)||this.eat(1),this.isDelim(om)?this.charCodeAt(this.tokenStart+1)!==pc?(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 N9(){let e=this.tokenStart,t=this.charCodeAt(e);return t!==pc&&t!==oO&&t!==iO&&t!==nO&&t!==jw&&t!==om&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==pc&&(this.isDelim(pc)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}function rO(){let e=this.tokenStart,t,r=null,n=null,i=null;return this.eat(19),this.skipSC(),t=A9.call(this),this.skipSC(),this.tokenType!==20&&(this.tokenType!==1&&(r=N9.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 z9(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 nO,jw,pc,iO,om,oO,aO,sO,lO=y(()=>{nO=36,jw=42,pc=61,iO=94,om=124,oO=126,aO="AttributeSelector",sO={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]}}),uO={};N(uO,{generate:()=>P9,name:()=>mO,parse:()=>dO,structure:()=>fO,walkContext:()=>hO});function cO(){return this.Raw(null,!0)}function i0(){return this.parseWithFallback(this.Rule,cO)}function o0(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function E9(){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 dO(e){let t=e?E9: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),cO));break;default:e&&this.isDelim(pO)?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 P9(e){this.token(23,"{"),this.children(e,t=>{t.type==="Declaration"&&this.token(17,";")}),this.token(24,"}")}var pO,mO,hO,fO,gO=y(()=>{pO=38,mO="Block",hO="block",fO={children:[["Atrule","Rule","Declaration"]]}}),bO={};N(bO,{generate:()=>O9,name:()=>yO,parse:()=>vO,structure:()=>wO});function vO(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 O9(e){this.token(9,"["),this.children(e),this.token(9,"]")}var yO,wO,kO=y(()=>{yO="Brackets",wO={children:[[]]}}),xO={};N(xO,{generate:()=>T9,name:()=>CO,parse:()=>SO,structure:()=>AO});function SO(){let e=this.tokenStart;return this.eat(15),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function T9(){this.token(15,"-->")}var CO,AO,NO=y(()=>{CO="CDC",AO=[]}),zO={};N(zO,{generate:()=>I9,name:()=>PO,parse:()=>EO,structure:()=>OO});function EO(){let e=this.tokenStart;return this.eat(14),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function I9(){this.token(14,"<!--")}var PO,OO,TO=y(()=>{PO="CDO",OO=[]}),IO={};N(IO,{generate:()=>j9,name:()=>LO,parse:()=>jO,structure:()=>FO});function jO(){return this.eatDelim(DO),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(1)}}function j9(e){this.token(9,"."),this.token(1,e.name)}var DO,LO,FO,MO=y(()=>{DO=46,LO="ClassSelector",FO={name:String}}),RO={};N(RO,{generate:()=>D9,name:()=>_O,parse:()=>$O,structure:()=>UO});function $O(){let e=this.tokenStart,t;switch(this.tokenType){case 13:t=" ";break;case 9:switch(this.charCodeAt(this.tokenStart)){case qO:case BO:case WO:this.next();break;case qv:this.next(),this.eatIdent("deep"),this.eatDelim(qv);break;default:this.error("Combinator is expected")}t=this.substrToCursor(e);break}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}}function D9(e){this.tokenize(e.name)}var BO,qv,qO,WO,_O,UO,VO=y(()=>{BO=43,qv=47,qO=62,WO=126,_O="Combinator",UO={name:String}}),QO={};N(QO,{generate:()=>L9,name:()=>HO,parse:()=>YO,structure:()=>ZO});function YO(){let e=this.tokenStart,t=this.tokenEnd;return this.eat(25),t-e+2>=2&&this.charCodeAt(t-2)===GO&&this.charCodeAt(t-1)===KO&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function L9(e){this.token(25,"/*"+e.value+"*/")}var GO,KO,HO,ZO,XO=y(()=>{GO=42,KO=47,HO="Comment",ZO={value:String}}),JO={};N(JO,{generate:()=>F9,name:()=>rT,parse:()=>eT,structure:()=>nT});function a0(e){return this.lookupTypeNonSC(1)===1&&tT.has(this.lookupTypeNonSC(2))?this.Feature(e):this.FeatureRange(e)}function eT(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(()=>iT[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 F9(e){e.children.forEach(t=>{t.type==="Condition"?(this.token(21,"("),this.node(t),this.token(22,")")):this.node(t)})}var tT,rT,nT,iT,oT=y(()=>{tT=new Set([16,22,0]),rT="Condition",nT={kind:String,children:[["Identifier","Feature","FeatureFunction","FeatureRange","SupportsDeclaration"]]},iT={media:a0,container:a0,supports(){return this.SupportsDeclaration()}}}),aT={};N(aT,{generate:()=>B9,name:()=>mT,parse:()=>sT,structure:()=>fT,walkContext:()=>hT});function M9(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!0)}function R9(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1)}function $9(){let e=this.tokenIndex,t=this.Value();return t.type!=="Raw"&&this.eof===!1&&this.tokenType!==17&&this.isDelim(Dw)===!1&&this.isBalanceEdge(e)===!1&&this.error(),t}function sT(){let e=this.tokenStart,t=this.tokenIndex,r=q9.call(this),n=xw(r),i=n?this.parseCustomProperty:this.parseValue,o=n?R9:M9,a=!1,s;this.skipSC(),this.eat(16);let u=this.tokenIndex;if(n||this.skipSC(),i?s=this.parseWithFallback($9,o):s=o.call(this,this.tokenIndex),n&&s.type==="Value"&&s.children.isEmpty){for(let l=u-this.tokenIndex;l<=0;l++)if(this.lookupType(l)===13){s.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}return this.isDelim(Dw)&&(a=W9.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 B9(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 q9(){let e=this.tokenStart;if(this.tokenType===9)switch(this.charCodeAt(this.tokenStart)){case dT:case uT:case pT:case lT:case cT:this.next();break;case Wv:this.next(),this.isDelim(Wv)&&this.next();break}return this.tokenType===4?this.eat(4):this.eat(1),this.substrToCursor(e)}function W9(){this.eat(9),this.skipSC();let e=this.consume(1);return e==="important"?!0:e}var Dw,lT,uT,cT,dT,pT,Wv,mT,hT,fT,gT=y(()=>{Sw(),Dw=33,lT=35,uT=36,cT=38,dT=42,pT=43,Wv=47,mT="Declaration",hT="declaration",fT={important:[Boolean,String],property:String,value:["Value","Raw"]}}),bT={};N(bT,{generate:()=>_9,name:()=>wT,parse:()=>vT,structure:()=>kT});function Cf(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function vT(){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),Cf));break;default:this.isDelim(yT)?e.push(this.parseWithFallback(this.Rule,Cf)):e.push(this.parseWithFallback(this.Declaration,Cf))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function _9(e){this.children(e,t=>{t.type==="Declaration"&&this.token(17,";")})}var yT,wT,kT,xT=y(()=>{yT=38,wT="DeclarationList",kT={children:[["Declaration","Atrule","Rule"]]}}),ST={};N(ST,{generate:()=>U9,name:()=>AT,parse:()=>CT,structure:()=>NT});function CT(){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 U9(e){this.token(12,e.value+e.unit)}var AT,NT,zT=y(()=>{AT="Dimension",NT={value:String,unit:String}}),ET={};N(ET,{generate:()=>V9,name:()=>TT,parse:()=>PT,structure:()=>IT});function PT(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(OT)&&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 V9(e){this.token(21,"("),this.token(1,e.name),e.value!==null&&(this.token(16,":"),this.node(e.value)),this.token(22,")")}var OT,TT,IT,jT=y(()=>{OT=47,TT="Feature",IT={kind:String,name:String,value:["Identifier","Number","Dimension","Ratio","Function",null]}}),DT={};N(DT,{generate:()=>Y9,name:()=>FT,parse:()=>LT,structure:()=>MT});function Q9(e,t){let r=(this.features[e]||{})[t];return typeof r!="function"&&this.error(`Unknown feature ${t}()`),r}function LT(e="unknown"){let t=this.tokenStart,r=this.consumeFunctionName(),n=Q9.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 Y9(e){this.token(2,e.feature+"("),this.node(e.value),this.token(22,")")}var FT,MT,RT=y(()=>{FT="FeatureFunction",MT={kind:String,feature:String,value:["Declaration","Selector"]}}),$T={};N($T,{generate:()=>G9,name:()=>_T,parse:()=>BT,structure:()=>UT});function Af(){switch(this.skipSC(),this.tokenType){case 10:return this.isDelim(_v,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(_v)&&this.error(),e},()=>this.Ratio());default:this.error("Number, dimension, ratio or identifier is expected")}}function s0(e){if(this.skipSC(),this.isDelim(qT)||this.isDelim(WT)){let t=this.source[this.tokenStart];return this.next(),this.isDelim(Uv)?(this.next(),t+"="):t}if(this.isDelim(Uv))return"=";this.error(`Expected ${e?'":", ':""}"<", ">", "=" or ")"`)}function BT(e="unknown"){let t=this.tokenStart;this.skipSC(),this.eat(21);let r=Af.call(this),n=s0.call(this,r.type==="Identifier"),i=Af.call(this),o=null,a=null;return this.lookupNonWSType(0)!==22&&(o=s0.call(this),a=Af.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 G9(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 _v,qT,Uv,WT,_T,UT,VT=y(()=>{_v=47,qT=60,Uv=61,WT=62,_T="FeatureRange",UT={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]}}),QT={};N(QT,{generate:()=>K9,name:()=>GT,parse:()=>YT,structure:()=>HT,walkContext:()=>KT});function YT(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 K9(e){this.token(2,e.name+"("),this.children(e),this.token(22,")")}var GT,KT,HT,ZT=y(()=>{GT="Function",KT="function",HT={name:String,children:[[]]}}),XT={};N(XT,{generate:()=>H9,name:()=>eI,parse:()=>JT,structure:()=>tI});function JT(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 H9(e){e.function?this.token(2,e.function+"("):this.token(21,"("),this.children(e),this.token(22,")")}var eI,tI,rI=y(()=>{eI="GeneralEnclosed",tI={kind:String,function:[String,null],children:[[]]}}),nI={};N(nI,{generate:()=>Z9,name:()=>aI,parse:()=>iI,structure:()=>sI,xxx:()=>oI});function iI(){let e=this.tokenStart;return this.eat(4),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function Z9(e){this.token(4,"#"+e.value)}var oI,aI,sI,lI=y(()=>{oI="XXX",aI="Hash",sI={value:String}}),uI={};N(uI,{generate:()=>X9,name:()=>dI,parse:()=>cI,structure:()=>pI});function cI(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(1)}}function X9(e){this.token(1,e.name)}var dI,pI,mI=y(()=>{dI="Identifier",pI={name:String}}),hI={};N(hI,{generate:()=>J9,name:()=>gI,parse:()=>fI,structure:()=>bI});function fI(){let e=this.tokenStart;return this.eat(4),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function J9(e){this.token(9,"#"+e.name)}var gI,bI,vI=y(()=>{gI="IdSelector",bI={name:String}}),yI={};N(yI,{generate:()=>eW,name:()=>xI,parse:()=>wI,structure:()=>SI});function wI(){let e=this.tokenStart,t=this.consume(1);for(;this.isDelim(kI);)this.eat(9),t+="."+this.consume(1);return{type:"Layer",loc:this.getLocation(e,this.tokenStart),name:t}}function eW(e){this.tokenize(e.name)}var kI,xI,SI,CI=y(()=>{kI=46,xI="Layer",SI={name:String}}),AI={};N(AI,{generate:()=>tW,name:()=>zI,parse:()=>NI,structure:()=>EI});function NI(){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 tW(e){this.children(e,()=>this.token(18,","))}var zI,EI,PI=y(()=>{zI="LayerList",EI={children:[["Layer"]]}}),OI={};N(OI,{generate:()=>rW,name:()=>II,parse:()=>TI,structure:()=>jI});function TI(){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 rW(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 II,jI,DI=y(()=>{II="MediaQuery",jI={modifier:[String,null],mediaType:[String,null],condition:["Condition",null]}}),LI={};N(LI,{generate:()=>nW,name:()=>MI,parse:()=>FI,structure:()=>RI});function FI(){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 nW(e){this.children(e,()=>this.token(18,","))}var MI,RI,$I=y(()=>{MI="MediaQueryList",RI={children:[["MediaQuery"]]}}),BI={};N(BI,{generate:()=>iW,name:()=>_I,parse:()=>qI,structure:()=>UI});function qI(){let e=this.tokenStart;return this.eatDelim(WI),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}function iW(){this.token(9,"&")}var WI,_I,UI,VI=y(()=>{WI=38,_I="NestingSelector",UI={}}),QI={};N(QI,{generate:()=>oW,name:()=>GI,parse:()=>YI,structure:()=>KI});function YI(){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 oW(e){this.node(e.nth),e.selector!==null&&(this.token(1,"of"),this.node(e.selector))}var GI,KI,HI=y(()=>{GI="Nth",KI={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]}}),ZI={};N(ZI,{generate:()=>aW,name:()=>JI,parse:()=>XI,structure:()=>ej});function XI(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(10)}}function aW(e){this.token(10,e.value)}var JI,ej,tj=y(()=>{JI="Number",ej={value:String}}),rj={};N(rj,{generate:()=>sW,name:()=>ij,parse:()=>nj,structure:()=>oj});function nj(){let e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function sW(e){this.tokenize(e.value)}var ij,oj,aj=y(()=>{ij="Operator",oj={value:String}}),sj={};N(sj,{generate:()=>lW,name:()=>uj,parse:()=>lj,structure:()=>cj});function lj(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 lW(e){this.token(21,"("),this.children(e),this.token(22,")")}var uj,cj,dj=y(()=>{uj="Parentheses",cj={children:[[]]}}),pj={};N(pj,{generate:()=>uW,name:()=>hj,parse:()=>mj,structure:()=>fj});function mj(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(11)}}function uW(e){this.token(11,e.value+"%")}var hj,fj,gj=y(()=>{hj="Percentage",fj={value:String}}),bj={};N(bj,{generate:()=>cW,name:()=>yj,parse:()=>vj,structure:()=>kj,walkContext:()=>wj});function vj(){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 cW(e){this.token(16,":"),e.children===null?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(22,")"))}var yj,wj,kj,xj=y(()=>{yj="PseudoClassSelector",wj="function",kj={name:String,children:[["Raw"],null]}}),Sj={};N(Sj,{generate:()=>dW,name:()=>Aj,parse:()=>Cj,structure:()=>zj,walkContext:()=>Nj});function Cj(){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 dW(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 Aj,Nj,zj,Ej=y(()=>{Aj="PseudoElementSelector",Nj="function",zj={name:String,children:[["Raw"],null]}}),Pj={};N(Pj,{generate:()=>pW,name:()=>Tj,parse:()=>Oj,structure:()=>Ij});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 Oj(){let e=this.tokenStart,t=l0.call(this),r=null;return this.skipSC(),this.isDelim(Vv)&&(this.eatDelim(Vv),r=l0.call(this)),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:r}}function pW(e){this.node(e.left),this.token(9,"/"),e.right?this.node(e.right):this.node(10,1)}var Vv,Tj,Ij,jj=y(()=>{Vv=47,Tj="Ratio",Ij={left:["Number","Function"],right:["Number","Function",null]}}),Dj={};N(Dj,{generate:()=>hW,name:()=>Fj,parse:()=>Lj,structure:()=>Mj});function mW(){return this.tokenIndex>0&&this.lookupType(-1)===13?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}function Lj(e,t){let r=this.getTokenStart(this.tokenIndex),n;return this.skipUntilBalanced(this.tokenIndex,e||this.consumeUntilBalanceEnd),t&&this.tokenStart>r?n=mW.call(this):n=this.tokenStart,{type:"Raw",loc:this.getLocation(r,n),value:this.substring(r,n)}}function hW(e){this.tokenize(e.value)}var Fj,Mj,Rj=y(()=>{Fj="Raw",Mj={value:String}}),$j={};N($j,{generate:()=>gW,name:()=>qj,parse:()=>Bj,structure:()=>_j,walkContext:()=>Wj});function u0(){return this.Raw(this.consumeUntilLeftCurlyBracket,!0)}function fW(){let e=this.SelectorList();return e.type!=="Raw"&&this.eof===!1&&this.tokenType!==23&&this.error(),e}function Bj(){let e=this.tokenIndex,t=this.tokenStart,r,n;return this.parseRulePrelude?r=this.parseWithFallback(fW,u0):r=u0.call(this,e),n=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:r,block:n}}function gW(e){this.node(e.prelude),this.node(e.block)}var qj,Wj,_j,Uj=y(()=>{qj="Rule",Wj="rule",_j={prelude:["SelectorList","Raw"],block:["Block"]}}),Vj={};N(Vj,{generate:()=>bW,name:()=>Yj,parse:()=>Qj,structure:()=>Gj});function Qj(){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 bW(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 Yj,Gj,Kj=y(()=>{Yj="Scope",Gj={root:["SelectorList","Raw",null],limit:["SelectorList","Raw",null]}}),Hj={};N(Hj,{generate:()=>vW,name:()=>Xj,parse:()=>Zj,structure:()=>Jj});function Zj(){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 vW(e){this.children(e)}var Xj,Jj,e4=y(()=>{Xj="Selector",Jj={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator"]]}}),t4={};N(t4,{generate:()=>yW,name:()=>n4,parse:()=>r4,structure:()=>o4,walkContext:()=>i4});function r4(){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 yW(e){this.children(e,()=>this.token(18,","))}var n4,i4,o4,a4=y(()=>{n4="SelectorList",i4="selector",o4={children:[["Selector","Raw"]]}}),s4={};N(s4,{decode:()=>Lw,encode:()=>l4});function Lw(e){let t=e.length,r=e.charCodeAt(0),n=r===Fw||r===Mw?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===am){if(a===i){a!==t-1&&(o=e.substr(a+1));break}if(s=e.charCodeAt(++a),vr(am,s)){let u=a-1,l=Di(e,u);a=l-1,o+=EE(e.substring(u+1,l))}else s===13&&e.charCodeAt(a+1)===10&&a++}else o+=e[a]}return o}function l4(e,t){let r=t?"'":'"',n=t?Mw:Fw,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===am?(i+="\\"+e.charAt(a),o=!1):(o&&(Xr(s)||wn(s))&&(i+=" "),i+=e.charAt(a),o=!1)}return r+i+r}var am,Fw,Mw,Rw=y(()=>{dr(),am=92,Fw=34,Mw=39}),u4={};N(u4,{generate:()=>wW,name:()=>d4,parse:()=>c4,structure:()=>p4});function c4(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:Lw(this.consume(5))}}function wW(e){this.token(5,l4(e.value))}var d4,p4,m4=y(()=>{Rw(),d4="String",p4={value:String}}),h4={};N(h4,{generate:()=>kW,name:()=>b4,parse:()=>f4,structure:()=>y4,walkContext:()=>v4});function c0(){return this.Raw(null,!1)}function f4(){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)!==g4){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,c0);break;default:r=this.parseWithFallback(this.Rule,c0)}t.push(r)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}function kW(e){this.children(e)}var g4,b4,v4,y4,w4=y(()=>{g4=33,b4="StyleSheet",v4="stylesheet",y4={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]}}),k4={};N(k4,{generate:()=>xW,name:()=>S4,parse:()=>x4,structure:()=>C4});function x4(){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 xW(e){this.token(21,"("),this.node(e.declaration),this.token(22,")")}var S4,C4,A4=y(()=>{S4="SupportsDeclaration",C4={declaration:"Declaration"}}),N4={};N(N4,{generate:()=>SW,name:()=>P4,parse:()=>z4,structure:()=>O4});function Nf(){this.tokenType!==1&&this.isDelim(E4)===!1&&this.error("Identifier or asterisk is expected"),this.next()}function z4(){let e=this.tokenStart;return this.isDelim(Qv)?(this.next(),Nf.call(this)):(Nf.call(this),this.isDelim(Qv)&&(this.next(),Nf.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function SW(e){this.tokenize(e.name)}var E4,Qv,P4,O4,T4=y(()=>{E4=42,Qv=124,P4="TypeSelector",O4={name:String}}),I4={};N(I4,{generate:()=>NW,name:()=>D4,parse:()=>j4,structure:()=>L4});function nc(e,t){let r=0;for(let n=this.tokenStart+e;n<this.tokenEnd;n++){let i=this.charCodeAt(n);if(i===Bw&&t&&r!==0)return nc.call(this,e+r+1,!1),-1;Xr(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 Zd(e){let t=0;for(;this.isDelim(sm);)++t>e&&this.error("Too many question marks"),this.next()}function CW(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===$w?"Plus sign":"Hyphen minus")+" is expected")}function AW(){let e=0;switch(this.tokenType){case 10:if(e=nc.call(this,1,!0),this.isDelim(sm)){Zd.call(this,6-e);break}if(this.tokenType===12||this.tokenType===10){CW.call(this,Bw),nc.call(this,1,!1);break}break;case 12:e=nc.call(this,1,!0),e>0&&Zd.call(this,6-e);break;default:if(this.eatDelim($w),this.tokenType===1){e=nc.call(this,0,!0),e>0&&Zd.call(this,6-e);break}if(this.isDelim(sm)){this.next(),Zd.call(this,5);break}this.error("Hex digit or question mark is expected")}}function j4(){let e=this.tokenStart;return this.eatIdent("u"),AW.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function NW(e){this.tokenize(e.value)}var $w,Bw,sm,D4,L4,F4=y(()=>{dr(),$w=43,Bw=45,sm=63,D4="UnicodeRange",L4={value:String}});function zW(e){let t=e.length,r=4,n=e.charCodeAt(t-1)===qw?t-2:t-1,i="";for(;r<n&&wn(e.charCodeAt(r));)r++;for(;r<n&&wn(e.charCodeAt(n));)n--;for(let o=r;o<=n;o++){let a=e.charCodeAt(o);if(a===lm){if(o===n){o!==t-1&&(i=e.substr(o+1));break}if(a=e.charCodeAt(++o),vr(lm,a)){let s=o-1,u=Di(e,s);o=u-1,i+=EE(e.substring(s+1,u))}else a===13&&e.charCodeAt(o+1)===10&&o++}else i+=e[o]}return i}function EW(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===M4||i===lm||i===R4||i===$4||i===B4||i===qw?(t+="\\"+e.charAt(n),r=!1):(r&&Xr(i)&&(t+=" "),t+=e.charAt(n),r=!1)}return"url("+t+")"}var M4,lm,R4,$4,B4,qw,q4=y(()=>{dr(),M4=32,lm=92,R4=34,$4=39,B4=40,qw=41}),W4={};N(W4,{generate:()=>PW,name:()=>U4,parse:()=>_4,structure:()=>V4});function _4(){let e=this.tokenStart,t;switch(this.tokenType){case 7:t=zW(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=Lw(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 PW(e){this.token(7,EW(e.value))}var U4,V4,Q4=y(()=>{q4(),Rw(),U4="Url",V4={value:String}}),Y4={};N(Y4,{generate:()=>OW,name:()=>K4,parse:()=>G4,structure:()=>H4});function G4(){let e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function OW(e){this.children(e)}var K4,H4,Z4=y(()=>{K4="Value",H4={children:[[]]}}),X4={};N(X4,{generate:()=>TW,name:()=>tD,parse:()=>J4,structure:()=>rD});function J4(){return this.eat(13),eD}function TW(e){this.token(13,e.value)}var eD,tD,rD,nD=y(()=>{eD=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),tD="WhiteSpace",rD={value:String}}),Ww={};N(Ww,{AnPlusB:()=>MP,Atrule:()=>_P,AtrulePrelude:()=>KP,AttributeSelector:()=>tO,Block:()=>uO,Brackets:()=>bO,CDC:()=>xO,CDO:()=>zO,ClassSelector:()=>IO,Combinator:()=>RO,Comment:()=>QO,Condition:()=>JO,Declaration:()=>aT,DeclarationList:()=>bT,Dimension:()=>ST,Feature:()=>ET,FeatureFunction:()=>DT,FeatureRange:()=>$T,Function:()=>QT,GeneralEnclosed:()=>XT,Hash:()=>nI,IdSelector:()=>hI,Identifier:()=>uI,Layer:()=>yI,LayerList:()=>AI,MediaQuery:()=>OI,MediaQueryList:()=>LI,NestingSelector:()=>BI,Nth:()=>QI,Number:()=>ZI,Operator:()=>rj,Parentheses:()=>sj,Percentage:()=>pj,PseudoClassSelector:()=>bj,PseudoElementSelector:()=>Sj,Ratio:()=>Pj,Raw:()=>Dj,Rule:()=>$j,Scope:()=>Vj,Selector:()=>Hj,SelectorList:()=>t4,String:()=>u4,StyleSheet:()=>h4,SupportsDeclaration:()=>k4,TypeSelector:()=>N4,UnicodeRange:()=>I4,Url:()=>W4,Value:()=>Y4,WhiteSpace:()=>X4});var iD=y(()=>{WP(),GP(),eO(),lO(),gO(),kO(),NO(),TO(),MO(),VO(),XO(),oT(),gT(),xT(),zT(),jT(),RT(),VT(),ZT(),rI(),lI(),mI(),vI(),CI(),PI(),DI(),$I(),VI(),HI(),tj(),aj(),dj(),gj(),xj(),Ej(),jj(),Rj(),Uj(),Kj(),e4(),a4(),m4(),w4(),A4(),T4(),F4(),Q4(),Z4(),nD()}),oD,IW=y(()=>{Cw(),w9(),iD(),oD={generic:!0,cssWideKeywords:Bm,...FP,node:Ww}});function aD(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,dD)&&this.cmpChar(this.tokenStart+1,Yv)?this.UnicodeRange():this.Identifier();case 9:{let t=this.charCodeAt(this.tokenStart);if(t===cD||t===lD||t===Yv||t===uD)return this.Operator();t===sD&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}var sD,lD,Yv,uD,cD,dD,pD=y(()=>{sD=35,lD=42,Yv=43,uD=45,cD=47,dD=117}),mD,jW=y(()=>{pD(),mD={getNode:aD}});function DW(e,t){t.last!==null&&t.last.type!=="Combinator"&&e!==null&&e.type!=="Combinator"&&t.push({type:"Combinator",loc:null,name:" "})}function LW(){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)===Gv&&this.error("Identifier is expected",this.tokenStart+1);break;case 9:{switch(this.charCodeAt(this.tokenStart)){case bD:case yD:case kD:case vD:return this.Combinator();case Gv:return this.ClassSelector();case gD:case wD:return this.TypeSelector();case hD:return this.IdSelector();case fD:return this.NestingSelector()}break}}}var hD,fD,gD,bD,vD,Gv,yD,wD,kD,xD,FW=y(()=>{hD=35,fD=38,gD=42,bD=43,vD=47,Gv=46,yD=62,wD=124,kD=126,xD={onWhiteSpace:DW,getNode:LW}});function MW(){return this.createSingleNodeList(this.Raw(null,!1))}var RW=y(()=>{});function $W(){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 BW=y(()=>{});function d0(e){return e!==null&&e.type==="Operator"&&(e.value[e.value.length-1]==="-"||e.value[e.value.length-1]==="+")}var SD,qW=y(()=>{pD(),RW(),BW(),SD={getNode:aD,onWhiteSpace(e,t){d0(e)&&(e.value=" "+e.value),d0(t.last)&&(t.last.value+=" ")},expression:MW,var:$W}}),CD={};N(CD,{AtrulePrelude:()=>mD,Selector:()=>xD,Value:()=>SD});var WW=y(()=>{jW(),FW(),qW()}),p0,AD,_W=y(()=>{p0=new Set(["none","and","not","or"]),AD={parse:{prelude(){let e=this.createList();if(this.tokenType===1){let t=this.substring(this.tokenStart,this.tokenEnd);p0.has(t.toLowerCase())||e.push(this.Identifier())}return e.push(this.Condition("container")),e},block(e=!1){return this.Block(e)}}}}),ND,UW=y(()=>{ND={parse:{prelude:null,block(){return this.Block(!0)}}}}),zf,zD,VW=y(()=>{zf={},zD={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,zf)),this.skipSC(),this.tokenType===2&&this.cmpStr(this.tokenStart,this.tokenEnd,"supports(")&&e.push(this.Function(null,zf)),(this.lookupNonWSType(0)===1||this.lookupNonWSType(0)===21)&&e.push(this.MediaQueryList()),e},block:null}}}),ED,QW=y(()=>{ED={parse:{prelude(){return this.createSingleNodeList(this.LayerList())},block(){return this.Block(!1)}}}}),PD,YW=y(()=>{PD={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(e=!1){return this.Block(e)}}}}),OD,GW=y(()=>{OD={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}}}),TD,KW=y(()=>{TD={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}}}),ID,HW=y(()=>{ID={parse:{prelude(){return this.createSingleNodeList(this.Scope())},block(e=!1){return this.Block(e)}}}}),jD,ZW=y(()=>{jD={parse:{prelude:null,block(e=!1){return this.Block(e)}}}}),DD,XW=y(()=>{DD={parse:{prelude(){return this.createSingleNodeList(this.Condition("supports"))},block(e=!1){return this.Block(e)}}}}),LD,JW=y(()=>{_W(),UW(),VW(),QW(),YW(),GW(),KW(),HW(),ZW(),XW(),LD={container:AD,"font-face":ND,import:zD,layer:ED,media:PD,nest:OD,page:TD,scope:ID,"starting-style":jD,supports:DD}});function e_(){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 t_=y(()=>{}),_r,Xd,m0,h0,ha,FD,r_=y(()=>{t_(),_r={parse(){return this.createSingleNodeList(this.SelectorList())}},Xd={parse(){return this.createSingleNodeList(this.Selector())}},m0={parse(){return this.createSingleNodeList(this.Identifier())}},h0={parse:e_},ha={parse(){return this.createSingleNodeList(this.Nth())}},FD={dir:m0,has:_r,lang:h0,matches:_r,is:_r,"-moz-any":_r,"-webkit-any":_r,where:_r,not:_r,"nth-child":ha,"nth-last-child":ha,"nth-last-of-type":ha,"nth-of-type":ha,slotted:Xd,host:Xd,"host-context":Xd}}),MD={};N(MD,{AnPlusB:()=>RP,Atrule:()=>UP,AtrulePrelude:()=>HP,AttributeSelector:()=>rO,Block:()=>dO,Brackets:()=>vO,CDC:()=>SO,CDO:()=>EO,ClassSelector:()=>jO,Combinator:()=>$O,Comment:()=>YO,Condition:()=>eT,Declaration:()=>sT,DeclarationList:()=>vT,Dimension:()=>CT,Feature:()=>PT,FeatureFunction:()=>LT,FeatureRange:()=>BT,Function:()=>YT,GeneralEnclosed:()=>JT,Hash:()=>iI,IdSelector:()=>fI,Identifier:()=>cI,Layer:()=>wI,LayerList:()=>NI,MediaQuery:()=>TI,MediaQueryList:()=>FI,NestingSelector:()=>qI,Nth:()=>YI,Number:()=>XI,Operator:()=>nj,Parentheses:()=>lj,Percentage:()=>mj,PseudoClassSelector:()=>vj,PseudoElementSelector:()=>Cj,Ratio:()=>Oj,Raw:()=>Lj,Rule:()=>Bj,Scope:()=>Qj,Selector:()=>Zj,SelectorList:()=>r4,String:()=>c4,StyleSheet:()=>f4,SupportsDeclaration:()=>x4,TypeSelector:()=>z4,UnicodeRange:()=>j4,Url:()=>_4,Value:()=>G4,WhiteSpace:()=>J4});var n_=y(()=>{WP(),GP(),eO(),lO(),gO(),kO(),NO(),TO(),MO(),VO(),XO(),oT(),gT(),xT(),zT(),jT(),RT(),VT(),ZT(),rI(),lI(),mI(),vI(),CI(),PI(),DI(),$I(),VI(),HI(),tj(),aj(),dj(),gj(),xj(),Ej(),jj(),Rj(),Uj(),Kj(),e4(),a4(),m4(),w4(),A4(),T4(),F4(),Q4(),Z4(),nD()}),RD,i_=y(()=>{WW(),JW(),r_(),n_(),RD={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:CD,atrule:LD,pseudo:FD,node:MD}}),$D,o_=y(()=>{iD(),$D={node:Ww}}),BD,a_=y(()=>{y9(),IW(),i_(),o_(),BD=LP({...oD,...RD,...$D})}),s_=y(()=>{}),l_=G(()=>{}),u_,c_,en,d_,qD,p_,WD,_w,m_,h_,f_,g_,Uw,Ki=y(()=>{a_(),s_(),yw(),wP(),Sw(),u_=re(l_(),1),Rw(),q4(),{tokenize:c_,parse:en,generate:d_,lexer:qD,createLexer:p_,walk:WD,find:_w,findLast:m_,findAll:h_,toPlainObject:f_,fromPlainObject:g_,fork:Uw}=BD}),_D={};N(_D,{default:()=>UD});var $n,Jd,f0,fa,Ef,g0,ga,UD,b_=y(()=>{Ki(),q(),rn(),Fm(),zr(),$r(),qe(),He(),H(),I(),D(),F(),Pt(),$n="declaration-block-no-duplicate-properties",Jd=j($n,{rejected:e=>`Duplicate property "${e}"`}),f0={url:"https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-properties",fixable:!0},fa=e=>"children"in e&&e.children instanceof Oc,Ef=(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"&&vt(a)&&o.type==="Identifier"&&vt(s)||i.type==="Identifier"&&o.type==="Identifier"&&nN.has(r.toLowerCase())&&Nc.has(a.toLowerCase())&&Nc.has(s.toLowerCase()))continue;if(a.toLowerCase()!==s.toLowerCase())return!1;let u="unit"in i?i.unit:"",l="unit"in o?o.unit:"";if(u!==l)return!1;let c=fa(i)?i.children.toArray():null,d=fa(o)?o.children.toArray():null;if(Array.isArray(c)&&Array.isArray(d)){if(Ef(c,d,r))continue;return!1}}return!0},g0=(e,t,r)=>{if(e===t)return!0;if(!($e(e)&&$e(t)))return!1;let n,i;try{n=en(e,{context:"value"}),i=en(t,{context:"value"})}catch{return!1}let o=fa(n)?n.children.toArray():[],a=fa(i)?i.children.toArray():[];return Ef(o,a,r)},ga=(e,t)=>(r,n)=>{if(!L(n,$n,{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:[$,U]},optional:!0}))return;let i=R(t,"ignore","consecutive-duplicates"),o=R(t,"ignore","consecutive-duplicates-with-different-values"),a=R(t,"ignore","consecutive-duplicates-with-different-syntaxes"),s=R(t,"ignore","consecutive-duplicates-with-same-prefixless-values"),u=l=>()=>{l.remove()};Lm(r,l=>{let c=[];l(d=>{let p=d.prop,h=d.prop.toLowerCase(),v=d.value,m=d.important;if(!Rr(p)||vt(p)||R(t,"ignoreProperties",p)||h==="src")return;let b=c.findIndex(A=>A.prop.toLowerCase()===h);b===-1&&c.push(d);let g=c[b];if(!g)return;let f=g.value||"",x=g.important||!1,w=!m&&x,k=b===c.length-1,S=Ke.unprefixed(v)===Ke.unprefixed(f),E=()=>{let A=w?d:g,T=w?p:g.prop;w||(c[b]=d),P({message:Jd.rejected,messageArgs:[T],node:A,result:n,ruleName:$n,word:T,fix:{apply:u(A),node:A.parent}})};if(o||a||s){if(!k||s&&!S){E();return}if(a&&g0(v,f,p)){E();return}return v!==f?void 0:P({message:Jd.rejected,messageArgs:[g.prop],node:g,result:n,ruleName:$n,word:g.prop,fix:{apply:u(g),node:g.parent}})}i&&k||E()})})},ga.ruleName=$n,ga.messages=Jd,ga.meta=f0,UD=ga}),VD={};N(VD,{default:()=>QD});var Pf,Bn,ep,b0,v0,y0,w0,ba,QD,v_=y(()=>{Pf=re(me(),1),q(),Ky(),He(),Fm(),rn(),H(),I(),D(),F(),Pt(),Bn="declaration-block-no-redundant-longhand-properties",ep=j(Bn,{expected:e=>`Expected shorthand property "${e}"`,unexpectedLonghand:(e,t)=>`Redundant longhand property "${e}" after shorthand property "${t}"`}),b0={url:"https://stylelint.io/user-guide/rules/declaration-block-no-redundant-longhand-properties",fixable:!0},v0=new Map([["font-synthesis",e=>{var a,s,u;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=(u=e.get("font-synthesis-small-caps"))==null?void 0:u.value.trim(),i=l=>l==="none"||l==="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,u;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=(u=e.get("grid-template-rows"))==null?void 0:u.value.trim();if(!(t&&r&&n)||r.includes("repeat(")||n.includes("repeat("))return;let i=[...t.matchAll(/"[^"]+"/g)].map(l=>l[0]),o=n.split(" ");return i.length===0||o.length===0||i.length!==o.length?void 0:`${i.map((l,c)=>`${l} ${o[c]}`).join(" ")} / ${r}`}],["transition",e=>{var a,s,u,l;let t=(c="")=>{let d=c.trim();if(!d)return[];if(d.indexOf(",")===-1)return[d];let p=(0,Pf.default)(d),h=[];{let v=[];p.nodes.forEach(m=>{if(m.type==="div"&&m.value===","){h.push(v),v=[];return}v.push(m)}),h.push(v)}return h.map(v=>Pf.default.stringify(v).trim()).filter(v=>v.length>0)},r=t((a=e.get("transition-delay"))==null?void 0:a.value),n=t((s=e.get("transition-duration"))==null?void 0:s.value),i=t((u=e.get("transition-timing-function"))==null?void 0:u.value),o=t((l=e.get("transition-property"))==null?void 0:l.value);if(r.length&&n.length&&i.length&&o.length)return o.map((c,d)=>[c,n[d%n.length],i[d%i.length],r[d%r.length]].filter($).join(" ")).join(", ")}]]),y0=["border-width","border-style","border-color","border-top","border-right","border-bottom","border-left","grid-column","grid-row"],w0=(e,t,r)=>{let n=v0.get(e);if(n===void 0){let i=t.map(o=>{var a;return(a=r.get(o))==null?void 0:a.value.trim()}).filter(Boolean);return i.length>0?i.join(" "):void 0}return n(r)},ba=(e,t)=>(r,n)=>{var a;if(!L(n,Bn,{actual:e},{actual:t,possible:{ignoreShorthands:[$,U],ignoreLonghands:[$]},optional:!0}))return;let i=new Map,o=[(a=t==null?void 0:t.ignoreLonghands)!=null?a:[]].flat();for(let[s,u]of sc.entries())if(!R(t,"ignoreShorthands",s))for(let l of u){if(o.includes(l))continue;let c=i.get(l)||[];c.push(s),i.set(l,c)}Lm(r,s=>{let u=new Map,l=new Map,c=new Map;s(d=>{let p=d.value.trim();if(Ie.has(d.value))return;let h=d.prop.toLowerCase(),v=Ke.unprefixed(h),m=Ke.prefix(h);sc.has(v)&&c.set(h,p);let b=i.get(v);if(b)for(let g of b){let f=m+g;if(c.get(f)===p){let te=()=>{d.remove()};P({ruleName:Bn,result:n,node:d,word:d.prop,message:ep.unexpectedLonghand,messageArgs:[d.prop,f],fix:{apply:te,node:d.parent}});return}let x=u.get(f)||[],w=l.get(f)||[];x.push(h),u.set(f,x),w.push(d),l.set(f,w);let k=new Set(sc.get(g));o.forEach(te=>k.delete(te));let S=Array.from(k,te=>m+te);if(!Gy(S.slice().sort(),x.slice().sort()))continue;let E=l.get(f)||[],A=E.reduce((te,J)=>J.important?te+1:te,0);if(A&&A!==E.length)continue;let[T]=E,z;if(T){let te=new Map(E.map(J=>[J.prop.toLowerCase(),J]));z=w0(f,S,te)}let B=T&&z?()=>{let te=T.clone({prop:f,value:z});T.replaceWith(te),E.forEach(J=>J.remove()),y0.includes(g)&&u.forEach((J,ve)=>{u.set(ve,J.filter(ce=>!x.includes(ce)))})}:void 0;P({ruleName:Bn,result:n,node:d,word:d.prop,message:ep.expected,messageArgs:[f],fix:{apply:B,node:d.parent}})}})})},ba.ruleName=Bn,ba.messages=ep,ba.meta=b0,QD=ba}),YD={};N(YD,{default:()=>GD});var va,Of,k0,ya,GD,y_=y(()=>{Fm(),I(),D(),Vi(),F(),Pt(),rn(),va="declaration-block-no-shorthand-property-overrides",Of=j(va,{rejected:(e,t)=>`Overridden property "${t}" by shorthand "${e}"`}),k0={url:"https://stylelint.io/user-guide/rules/declaration-block-no-shorthand-property-overrides"},ya=e=>(t,r)=>{L(r,va,{actual:e})&&Lm(t,n=>{let i=new Map;n(o=>{let a=o.prop,s=Ke.unprefixed(a).toLowerCase(),u=Ke.prefix(a).toLowerCase(),l=sc.get(s),c=rN.get(s),d=Se(l!=null?l:[],c!=null?c:[]);if(i.set(a.toLowerCase(),a),d.size!==0)for(let p of d){let h=i.get(u+p);h&&P({ruleName:va,result:r,node:o,message:Of.rejected,messageArgs:[a,h||""],word:a})}})})},ya.ruleName=va,ya.messages=Of,ya.meta=k0,GD=ya}),KD={};N(KD,{default:()=>HD});var wa,Tf,x0,ka,HD,w_=y(()=>{bw(),q(),Dm(),I(),D(),F(),wa="declaration-block-single-line-max-declarations",Tf=j(wa,{expected:e=>`Too many declarations, maximum ${e}`}),x0={url:"https://stylelint.io/user-guide/rules/declaration-block-single-line-max-declarations"},ka=e=>(t,r)=>{L(r,wa,{actual:e,possible:[kr]})&&t.walkRules(n=>{let i=gw(n);!jm(i)||!n.nodes||n.nodes.filter(o=>o.type==="decl").length<=e||P({message:Tf.expected,messageArgs:[e],node:n,word:i,result:r,ruleName:wa})})},ka.ruleName=wa,ka.messages=Tf,ka.meta=x0,HD=ka});function S0(e){let t=Dr(e);return t!==void 0&&Ui(t)&&mt(t)&&!vt(t.prop||"")}var k_=y(()=>{Nn(),zr(),he(),ht()}),ZD={};N(ZD,{default:()=>XD});var xa,tp,C0,Sa,XD,x_=y(()=>{he(),bw(),Yc(),Kc(),bE(),Sm(),k_(),zr(),Hc(),Nm(),Dm(),ht(),H(),I(),D(),F(),xa="declaration-empty-line-before",tp=j(xa,{expected:"Expected empty line before declaration",rejected:"Expected no empty line before declaration"}),C0={url:"https://stylelint.io/user-guide/rules/declaration-empty-line-before",fixable:!0},Sa=(e,t,r)=>(n,i)=>{L(i,xa,{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||Am(o)||!Oe(s)&&!lt(s)&&!ur(s)||!mt(o)||vt(a)||R(t,"ignore","after-comment")&&Ii(o)||R(t,"ignore","after-declaration")&&S0(o)||R(t,"ignore","first-nested")&&Lr(o)||R(t,"ignore","inside-single-line-block")&&jm(gw(s)))return;let u=e==="always";(R(t,"except","first-nested")&&Lr(o)||R(t,"except","after-block")&&gE(o)||R(t,"except","after-comment")&&Ii(o)||R(t,"except","after-declaration")&&S0(o))&&(u=!u);let l=Gc(o.raws.before);if(u===l)return;let c=u?tp.expected:tp.rejected,d=u?"add":"remove";P({message:c,messageArgs:[],node:o,result:i,ruleName:xa,fix:{apply:()=>Qc({node:o,newline:r.newline,action:d}),node:o.parent}})})},Sa.ruleName=xa,Sa.messages=tp,Sa.meta=C0,XD=Sa});function JD(e){let t=/!\s*important\b/gi,r=t.exec(e);if(r)return{index:r.index,endIndex:t.lastIndex}}var eL=y(()=>{}),tL={};N(tL,{default:()=>rL});var Ca,If,A0,Aa,rL,S_=y(()=>{q(),eL(),I(),D(),F(),Ca="declaration-no-important",If=j(Ca,{rejected:"Disallowed !important"}),A0={url:"https://stylelint.io/user-guide/rules/declaration-no-important"},Aa=e=>(t,r)=>{L(r,Ca,{actual:e})&&t.walkDecls(n=>{if(!n.important)return;let i=JD(n.toString());Ue(i),P({message:If.rejected,messageArgs:[],node:n,index:i.index,endIndex:i.endIndex,result:r,ruleName:Ca})})},Aa.ruleName=Ca,Aa.messages=If,Aa.meta=A0,rL=Aa});function cr(e){return Number.isInteger(e)&&typeof e=="number"&&e>=0}var Er=y(()=>{});function um(e){return t=>xr(t)?Object.values(t).every(r=>e(r)):!1}var Vw=y(()=>{q()}),nL={};N(nL,{default:()=>iL});var N0,Na,jf,z0,E0,za,iL,C_=y(()=>{N0=re(me(),1),q(),Er(),Le(),V(),I(),D(),Vw(),F(),Na="declaration-property-max-values",jf=j(Na,{expected:(e,t)=>`Too many values for property "${e}", maximum ${t}`}),z0={url:"https://stylelint.io/user-guide/rules/declaration-property-max-values"},E0=e=>e.type==="word"||e.type==="function"||e.type==="string",za=e=>(t,r)=>{L(r,Na,{actual:e,possible:[um(cr)]})&&t.walkDecls(n=>{let{prop:i,value:o}=n;if(!Y.multipleValues.test(o))return;let a=(0,N0.default)(o).nodes.filter(E0).length,s=Object.keys(e).find(l=>Ee(i,l));if(!s)return;let u=e[s];ac(u),!(a<=u)&&P({message:jf.expected,messageArgs:[i,u],node:n,result:r,ruleName:Na})})},za.ruleName=Na,za.messages=jf,za.meta=z0,iL=za});function A_(e,t=" "){return e.replace(/[#@{}]+/g,t)}var N_=y(()=>{});function Hi(e){if(!e||!e.value)return{unit:null,number:null};if(e.type!=="word")return{unit:null,number:null};if(!$e(e.value))return{unit:null,number:null};if(e.value.startsWith("#"))return{unit:null,number:null};let t=A_(e.value,"").replace("\\0","").replace("\\9","");return oL.default.unit(t)||{unit:null,number:null}}var oL,Zi=y(()=>{oL=re(me(),1),N_(),qe()}),aL={};N(aL,{default:()=>sL});var P0,Ea,Df,O0,Pa,sL,z_=y(()=>{P0=re(me(),1),X(),Zi(),q(),Le(),H(),I(),D(),Ht(),F(),Ea="declaration-property-unit-allowed-list",Df=j(Ea,{rejected:(e,t)=>`Disallowed unit "${t}" for property "${e}"`}),O0={url:"https://stylelint.io/user-guide/rules/declaration-property-unit-allowed-list"},Pa=(e,t)=>(r,n)=>{L(n,Ea,{actual:e,possible:[Lt($)]},{actual:t,possible:{ignore:["inside-function"]},optional:!0})&&r.walkDecls(i=>{let o=i.prop,a=i.value,s=Object.keys(e).find(c=>Ee(o,c));if(!s)return;let u=e[s];if(!u)return;let l=new Set([u].flat());(0,P0.default)(a).walk(c=>{if(c.type==="function"&&(c.value.toLowerCase()==="url"||R(t,"ignore","inside-function")))return!1;if(c.type==="string")return;let{unit:d}=Hi(c);if(!d||l.has(d.toLowerCase()))return;let p=ie(i)+c.sourceIndex,h=p+c.value.length;P({message:Df.rejected,messageArgs:[o,d],node:i,index:p,endIndex:h,result:n,ruleName:Ea})})})},Pa.ruleName=Ea,Pa.messages=Df,Pa.meta=O0,sL=Pa}),lL={};N(lL,{default:()=>uL});var T0,Oa,Lf,I0,Ta,uL,E_=y(()=>{T0=re(me(),1),X(),Zi(),q(),od(),Le(),V(),I(),D(),Ht(),F(),Oa="declaration-property-unit-disallowed-list",Lf=j(Oa,{rejected:(e,t)=>`Disallowed unit "${t}" for property "${e}"`}),I0={url:"https://stylelint.io/user-guide/rules/declaration-property-unit-disallowed-list"},Ta=e=>(t,r)=>{L(r,Oa,{actual:e,possible:[Lt($)]})&&t.walkDecls(n=>{let i=n.prop,o=n.value;if(!Y.dimension.test(o))return;let a=Object.keys(e).find(l=>Ee(i,l));if(!a)return;let s=e[a];if(!s)return;let u=new Set([s].flat());(0,T0.default)(o).walk(l=>{if(id(l))return!1;if(l.type==="string")return;let{unit:c}=Hi(l);if(!c||!u.has(c.toLowerCase()))return;let d=ie(n)+l.sourceIndex,p=d+l.value.length;P({message:Lf.rejected,messageArgs:[i,c],node:n,index:d,endIndex:p,result:r,ruleName:Oa})})})},Ta.ruleName=Oa,Ta.messages=Lf,Ta.meta=I0,uL=Ta}),cL={};N(cL,{default:()=>dL});var Ia,Ff,j0,ja,dL,P_=y(()=>{q(),X(),Le(),H(),I(),D(),Ht(),F(),Ia="declaration-property-value-allowed-list",Ff=j(Ia,{rejected:(e,t)=>`Disallowed value "${t}" for property "${e}"`}),j0={url:"https://stylelint.io/user-guide/rules/declaration-property-value-allowed-list"},ja=e=>(t,r)=>{if(!L(r,Ia,{actual:e,possible:[Lt($,U)]}))return;let n=Object.keys(e);t.walkDecls(i=>{let{prop:o,value:a}=i,s=n.filter(c=>Ee(o,c));if(s.length===0||s.some(c=>R(e,c,a)))return;let u=ie(i),l=u+i.value.length;P({message:Ff.rejected,messageArgs:[o,a],node:i,index:u,endIndex:l,result:r,ruleName:Ia})})},ja.ruleName=Ia,ja.messages=Ff,ja.meta=j0,dL=ja}),pL={};N(pL,{default:()=>mL});var Da,Mf,D0,La,mL,O_=y(()=>{q(),X(),Le(),H(),I(),D(),Ht(),F(),Da="declaration-property-value-disallowed-list",Mf=j(Da,{rejected:(e,t)=>`Disallowed value "${t}" for property "${e}"`}),D0={url:"https://stylelint.io/user-guide/rules/declaration-property-value-disallowed-list"},La=e=>(t,r)=>{if(!L(r,Da,{actual:e,possible:[Lt($,U)]}))return;let n=Object.keys(e);t.walkDecls(i=>{let{prop:o,value:a}=i,s=n.filter(c=>Ee(o,c));if(s.length===0||s.every(c=>!R(e,c,a)))return;let u=ie(i),l=u+i.value.length;P({message:Mf.rejected,messageArgs:[o,a],node:i,index:u,endIndex:l,result:r,ruleName:Da})})},La.ruleName=Da,La.messages=Mf,La.meta=D0,mL=La}),hL={};N(hL,{default:()=>fL});var L0,Fa,rp,F0,np,M0,R0,Ma,fL,T_=y(()=>{L0=re(me(),1),q(),Nr(),X(),Ye(),ht(),qe(),V(),H(),I(),D(),Bt(),rn(),F(),Fa="declaration-property-value-keyword-no-deprecated",rp=j(Fa,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:(e,t)=>`Deprecated keyword "${t}" for property "${e}"`}),F0={url:"https://stylelint.io/user-guide/rules/declaration-property-value-keyword-no-deprecated",fixable:!0},np={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"},M0=[...Zb.values()].map(e=>[e,np]),R0=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",np],["scrollbar-color",np],["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"]],...M0]),Ma=(e,t)=>(r,n)=>{L(n,Fa,{actual:e},{optional:!0,actual:t,possible:{ignoreKeywords:[$,U]}})&&r.walkDecls(i=>{let{prop:o,value:a}=i;if(!Y.keyword.test(a)||!mt(i)||R(t,"ignoreKeywords",a))return;let s=R0.get(o.toLowerCase());if(!s)return;let u=(0,L0.default)(Qe(i)),l=!0;u.walk(c=>{c.type!=="comment"&&($e(c.value)||(l=!1))}),l&&u.walk(c=>{let d=c.value,p=d.toLowerCase();if(c.type==="function"&&!Jy.has(p))return!1;if(c.type!=="word")return;let h=c.sourceIndex,v,m,b;if(Array.isArray(s)){if(!s.includes(p))return;m=rp.rejected,b=[o,d]}else{let x=s[p];if(!x)return;m=rp.expected,b=[d,x],v=()=>{c.value=x,$t(i,u.toString())}}let g=ie(i)+h,f=g+d.length;P({message:m,messageArgs:b,node:i,result:n,ruleName:Fa,index:g,endIndex:f,fix:{apply:v,node:i}})})})},Ma.ruleName=Fa,Ma.messages=rp,Ma.meta=F0,fL=Ma});function I_(e){return kL?structuredClone(e):JSON.parse(JSON.stringify(e))}function ye(...e){let t="";for(let r=0;r<e.length;r++)t+=e[r][1];return t}function j_(e){return e.source.codePointAt(e.cursor)===60&&e.source.codePointAt(e.cursor+1)===33&&e.source.codePointAt(e.cursor+2)===it&&e.source.codePointAt(e.cursor+3)===it}function Qt(e){return e>=48&&e<=57}function D_(e){return e>=65&&e<=90}function L_(e){return e>=97&&e<=122}function zi(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function F_(e){return L_(e)||D_(e)}function Mi(e){return F_(e)||M_(e)||e===95}function Qw(e){return Mi(e)||Qt(e)||e===it}function M_(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||!!Ri(e)||e>=65536}function R_(e){return e===11||e===127||0<=e&&e<=8||14<=e&&e<=31}function cm(e){return e===Sn||e===xn||e===12}function vn(e){return e===32||e===Sn||e===9||e===xn||e===12}function Ri(e){return e>=55296&&e<=57343}function Xi(e){var t;return e.source.codePointAt(e.cursor)===92&&!cm((t=e.source.codePointAt(e.cursor+1))!=null?t:-1)}function dm(e,t){var r,n,i;return t.source.codePointAt(t.cursor)===it?t.source.codePointAt(t.cursor+1)===it||!!Mi((r=t.source.codePointAt(t.cursor+1))!=null?r:-1)||t.source.codePointAt(t.cursor+1)===92&&!cm((n=t.source.codePointAt(t.cursor+2))!=null?n:-1):!!Mi((i=t.source.codePointAt(t.cursor))!=null?i:-1)||Xi(t)}function $0(e){var t,r,n,i;return e.source.codePointAt(e.cursor)===Cn||e.source.codePointAt(e.cursor)===it?!!Qt((t=e.source.codePointAt(e.cursor+1))!=null?t:-1)||e.source.codePointAt(e.cursor+1)===46&&Qt((r=e.source.codePointAt(e.cursor+2))!=null?r:-1):e.source.codePointAt(e.cursor)===46?Qt((n=e.source.codePointAt(e.cursor+1))!=null?n:-1):Qt((i=e.source.codePointAt(e.cursor))!=null?i:-1)}function $_(e){return e.source.codePointAt(e.cursor)===47&&e.source.codePointAt(e.cursor+1)===42}function B_(e){return e.source.codePointAt(e.cursor)===it&&e.source.codePointAt(e.cursor+1)===it&&e.source.codePointAt(e.cursor+2)===62}function q_(e){switch(e){case C.OpenParen:return C.CloseParen;case C.CloseParen:return C.OpenParen;case C.OpenCurly:return C.CloseCurly;case C.CloseCurly:return C.OpenCurly;case C.OpenSquare:return C.CloseSquare;case C.CloseSquare:return C.OpenSquare;default:return null}}function W_(e){switch(e[0]){case C.OpenParen:return[C.CloseParen,")",-1,-1,void 0];case C.CloseParen:return[C.OpenParen,"(",-1,-1,void 0];case C.OpenCurly:return[C.CloseCurly,"}",-1,-1,void 0];case C.CloseCurly:return[C.OpenCurly,"{",-1,-1,void 0];case C.OpenSquare:return[C.CloseSquare,"]",-1,-1,void 0];case C.CloseSquare:return[C.OpenSquare,"[",-1,-1,void 0];default:return null}}function __(e,t){for(t.advanceCodePoint(2);;){let r=t.readCodePoint();if(r===void 0){let n=[C.Comment,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new yr(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[C.Comment,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0]}function Km(e,t){var n;let r=t.readCodePoint();if(r===void 0)return e.onParseError(new Fc(ir.UnexpectedEOFInEscapedCodePoint,t.representationStart,t.representationEnd,["4.3.7. Consume an escaped code point","Unexpected EOF"])),jr;if(zi(r)){let i=[r],o;for(;(o=t.source.codePointAt(t.cursor))!==void 0&&zi(o)&&i.length<6;)i.push(o),t.advanceCodePoint();vn((n=t.source.codePointAt(t.cursor))!=null?n:-1)&&(t.source.codePointAt(t.cursor)===xn&&t.source.codePointAt(t.cursor+1)===Sn&&t.advanceCodePoint(),t.advanceCodePoint());let a=parseInt(String.fromCodePoint(...i),16);return a===0||Ri(a)||a>1114111?jr:a}return r===0||Ri(r)?jr:r}function Hm(e,t){var n;let r=[];for(;;){let i=(n=t.source.codePointAt(t.cursor))!=null?n:-1;if(i===0||Ri(i))r.push(jr),t.advanceCodePoint(+(i>65535)+1);else if(Qw(i))r.push(i),t.advanceCodePoint(+(i>65535)+1);else{if(!Xi(t))return r;t.advanceCodePoint(),r.push(Km(e,t))}}}function U_(e,t){t.advanceCodePoint();let r=t.source.codePointAt(t.cursor);if(r!==void 0&&(Qw(r)||Xi(t))){let n=pm.Unrestricted;dm(0,t)&&(n=pm.ID);let i=Hm(e,t);return[C.Hash,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...i),type:n}]}return[C.Delim,"#",t.representationStart,t.representationEnd,{value:"#"}]}function V_(e,t){var n,i,o,a,s,u;let r=ne.Integer;for(t.source.codePointAt(t.cursor)!==Cn&&t.source.codePointAt(t.cursor)!==it||t.advanceCodePoint();Qt((n=t.source.codePointAt(t.cursor))!=null?n:-1);)t.advanceCodePoint();if(t.source.codePointAt(t.cursor)===46&&Qt((i=t.source.codePointAt(t.cursor+1))!=null?i:-1))for(t.advanceCodePoint(2),r=ne.Number;Qt((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(Qt((a=t.source.codePointAt(t.cursor+1))!=null?a:-1))t.advanceCodePoint(2);else{if(t.source.codePointAt(t.cursor+1)!==it&&t.source.codePointAt(t.cursor+1)!==Cn||!Qt((s=t.source.codePointAt(t.cursor+2))!=null?s:-1))return r;t.advanceCodePoint(3)}for(r=ne.Number;Qt((u=t.source.codePointAt(t.cursor))!=null?u:-1);)t.advanceCodePoint()}return r}function Rf(e,t){let r;{let o=t.source.codePointAt(t.cursor);o===it?r="-":o===Cn&&(r="+")}let n=V_(0,t),i=parseFloat(t.source.slice(t.representationStart,t.representationEnd+1));if(dm(0,t)){let o=Hm(e,t);return[C.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(),[C.Percentage,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:i,signCharacter:r}]):[C.Number,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:i,signCharacter:r,type:n}]}function Q_(e){var t;for(;vn((t=e.source.codePointAt(e.cursor))!=null?t:-1);)e.advanceCodePoint();return[C.Whitespace,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0]}function Y_(e,t){var i;let r="",n=t.readCodePoint();for(;;){let o=t.readCodePoint();if(o===void 0){let a=[C.String,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];return e.onParseError(new yr(ir.UnexpectedEOFInString,t.representationStart,t.representationEnd,["4.3.5. Consume a string token","Unexpected EOF"],a)),a}if(cm(o)){t.unreadCodePoint();let a=[C.BadString,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new yr(ir.UnexpectedNewLineInString,t.representationStart,t.source.codePointAt(t.cursor)===xn&&t.source.codePointAt(t.cursor+1)===Sn?t.representationEnd+2:t.representationEnd+1,["4.3.5. Consume a string token","Unexpected newline"],a)),a}if(o===n)return[C.String,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];if(o!==92)o===0||Ri(o)?r+=String.fromCodePoint(jr):r+=String.fromCodePoint(o);else{if(t.source.codePointAt(t.cursor)===void 0)continue;if(cm((i=t.source.codePointAt(t.cursor))!=null?i:-1)){t.source.codePointAt(t.cursor)===xn&&t.source.codePointAt(t.cursor+1)===Sn&&t.advanceCodePoint(),t.advanceCodePoint();continue}r+=String.fromCodePoint(Km(e,t))}}}function G_(e){return!(e.length!==3||e[0]!==117&&e[0]!==85||e[1]!==114&&e[1]!==82||e[2]!==108&&e[2]!==76)}function $f(e,t){for(;;){let r=t.source.codePointAt(t.cursor);if(r===void 0)return;if(r===41)return void t.advanceCodePoint();Xi(t)?(t.advanceCodePoint(),Km(e,t)):t.advanceCodePoint()}}function K_(e,t){var n,i,o,a;for(;vn((n=t.source.codePointAt(t.cursor))!=null?n:-1);)t.advanceCodePoint();let r="";for(;;){if(t.source.codePointAt(t.cursor)===void 0){let u=[C.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];return e.onParseError(new yr(ir.UnexpectedEOFInURL,t.representationStart,t.representationEnd,["4.3.6. Consume a url token","Unexpected EOF"],u)),u}if(t.source.codePointAt(t.cursor)===41)return t.advanceCodePoint(),[C.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];if(vn((i=t.source.codePointAt(t.cursor))!=null?i:-1)){for(t.advanceCodePoint();vn((o=t.source.codePointAt(t.cursor))!=null?o:-1);)t.advanceCodePoint();if(t.source.codePointAt(t.cursor)===void 0){let u=[C.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];return e.onParseError(new yr(ir.UnexpectedEOFInURL,t.representationStart,t.representationEnd,["4.3.6. Consume a url token","Consume as much whitespace as possible","Unexpected EOF"],u)),u}return t.source.codePointAt(t.cursor)===41?(t.advanceCodePoint(),[C.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}]):($f(e,t),[C.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||R_(s!=null?s:-1)){$f(e,t);let u=[C.BadURL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new yr(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`],u)),u}if(s===92){if(Xi(t)){t.advanceCodePoint(),r+=String.fromCodePoint(Km(e,t));continue}$f(e,t);let u=[C.BadURL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new yr(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"],u)),u}t.source.codePointAt(t.cursor)===0||Ri((a=t.source.codePointAt(t.cursor))!=null?a:-1)?(r+=String.fromCodePoint(jr),t.advanceCodePoint()):(r+=t.source[t.cursor],t.advanceCodePoint())}}function Bf(e,t){var n,i;let r=Hm(e,t);if(t.source.codePointAt(t.cursor)!==40)return[C.Ident,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...r)}];if(G_(r)){t.advanceCodePoint();let o=0;for(;;){let a=vn((n=t.source.codePointAt(t.cursor))!=null?n:-1),s=vn((i=t.source.codePointAt(t.cursor+1))!=null?i:-1);if(a&&s){o+=1,t.advanceCodePoint(1);continue}let u=a?t.source.codePointAt(t.cursor+1):t.source.codePointAt(t.cursor);if(u===34||u===39)return o>0&&t.unreadCodePoint(o),[C.Function,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...r)}];break}return K_(e,t)}return t.advanceCodePoint(),[C.Function,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...r)}]}function H_(e){var t;return!(e.source.codePointAt(e.cursor)!==117&&e.source.codePointAt(e.cursor)!==85||e.source.codePointAt(e.cursor+1)!==Cn||e.source.codePointAt(e.cursor+2)!==63&&!zi((t=e.source.codePointAt(e.cursor+2))!=null?t:-1))}function Z_(e,t){var s;t.advanceCodePoint(2);let r=[],n=[],i;for(;(i=t.source.codePointAt(t.cursor))!==void 0&&r.length<6&&zi(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)===it&&zi((s=t.source.codePointAt(t.cursor+1))!=null?s:-1))for(t.advanceCodePoint();(i=t.source.codePointAt(t.cursor))!==void 0&&n.length<6&&zi(i);)n.push(i),t.advanceCodePoint();if(!n.length){let u=parseInt(String.fromCodePoint(...r),16);return[C.UnicodeRange,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{startOfRange:u,endOfRange:u}]}let o=parseInt(String.fromCodePoint(...r),16),a=parseInt(String.fromCodePoint(...n),16);return[C.UnicodeRange,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{startOfRange:o,endOfRange:a}]}function yt(e,t){let r=gL(e,t),n=[];for(;!r.endOfFile();)n.push(r.nextToken());return n.push(r.nextToken()),n}function gL(e,t){var a,s;let r=e.css.valueOf(),n=(a=e.unicodeRangesAllowed)!=null?a:!1,i=new xL(r),o={onParseError:(s=t==null?void 0:t.onParseError)!=null?s:X_};return{nextToken:function(){i.resetRepresentation();let u=i.source.codePointAt(i.cursor);if(u===void 0)return[C.EOF,"",-1,-1,void 0];if(u===47&&$_(i))return __(o,i);if(n&&(u===117||u===85)&&H_(i))return Z_(0,i);if(Mi(u))return Bf(o,i);if(Qt(u))return Rf(o,i);switch(u){case 44:return i.advanceCodePoint(),[C.Comma,",",i.representationStart,i.representationEnd,void 0];case 58:return i.advanceCodePoint(),[C.Colon,":",i.representationStart,i.representationEnd,void 0];case 59:return i.advanceCodePoint(),[C.Semicolon,";",i.representationStart,i.representationEnd,void 0];case 40:return i.advanceCodePoint(),[C.OpenParen,"(",i.representationStart,i.representationEnd,void 0];case 41:return i.advanceCodePoint(),[C.CloseParen,")",i.representationStart,i.representationEnd,void 0];case 91:return i.advanceCodePoint(),[C.OpenSquare,"[",i.representationStart,i.representationEnd,void 0];case 93:return i.advanceCodePoint(),[C.CloseSquare,"]",i.representationStart,i.representationEnd,void 0];case 123:return i.advanceCodePoint(),[C.OpenCurly,"{",i.representationStart,i.representationEnd,void 0];case 125:return i.advanceCodePoint(),[C.CloseCurly,"}",i.representationStart,i.representationEnd,void 0];case 39:case 34:return Y_(o,i);case 35:return U_(o,i);case Cn:case 46:return $0(i)?Rf(o,i):(i.advanceCodePoint(),[C.Delim,i.source[i.representationStart],i.representationStart,i.representationEnd,{value:i.source[i.representationStart]}]);case Sn:case xn:case 12:case 9:case 32:return Q_(i);case it:return $0(i)?Rf(o,i):B_(i)?(i.advanceCodePoint(3),[C.CDC,"-->",i.representationStart,i.representationEnd,void 0]):dm(0,i)?Bf(o,i):(i.advanceCodePoint(),[C.Delim,"-",i.representationStart,i.representationEnd,{value:"-"}]);case 60:return j_(i)?(i.advanceCodePoint(4),[C.CDO,"<!--",i.representationStart,i.representationEnd,void 0]):(i.advanceCodePoint(),[C.Delim,"<",i.representationStart,i.representationEnd,{value:"<"}]);case 64:if(i.advanceCodePoint(),dm(0,i)){let l=Hm(o,i);return[C.AtKeyword,i.source.slice(i.representationStart,i.representationEnd+1),i.representationStart,i.representationEnd,{value:String.fromCodePoint(...l)}]}return[C.Delim,"@",i.representationStart,i.representationEnd,{value:"@"}];case 92:{if(Xi(i))return Bf(o,i);i.advanceCodePoint();let l=[C.Delim,"\\",i.representationStart,i.representationEnd,{value:"\\"}];return o.onParseError(new yr(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"],l)),l}}return i.advanceCodePoint(),[C.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 X_(){}function J_(e,t){let r=[];for(let i of t)r.push(i.codePointAt(0));let n=String.fromCodePoint(...bL(r));e[1]=n,e[4].value=t}function Zm(e,t){let r=[];for(let s of t)r.push(s.codePointAt(0));let n=bL(r);n[0]===101&&Kv(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 bL(e){let t=0;if(e[0]===0)e.splice(0,1,jr),t=1;else if(e[0]===it&&e[1]===it)t=2;else if(e[0]===it&&e[1])t=2,Mi(e[1])||(t+=Kv(e,1,e[1]));else{if(e[0]===it&&!e[1])return[92,e[0]];Mi(e[0])?t=1:(t=1,t+=Kv(e,0,e[0]))}for(let r=t;r<e.length;r++)e[r]!==0?Qw(e[r])||(r+=e8(e,r,e[r])):(e.splice(r,1,jr),r++);return e}function e8(e,t,r){return e.splice(t,1,92,r),1}function Kv(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 Lc(e){return!!Array.isArray(e)&&!(e.length<4)&&!!SL.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 C.Dimension:case C.Number:case C.Percentage:return!0;default:return!1}}function St(e){if(!e)return!1;switch(e[0]){case C.Whitespace:case C.Comment:return!0;default:return!1}}function vL(e){return!!e&&e[0]===C.Colon}function tn(e){return!!e&&e[0]===C.Comma}function Xm(e){return!!e&&e[0]===C.Comment}function Ft(e){return!!e&&e[0]===C.Delim}function De(e){return!!e&&e[0]===C.Dimension}function Yt(e){return!!e&&e[0]===C.EOF}function t8(e){return!!e&&e[0]===C.Function}function _e(e){return!!e&&e[0]===C.Ident}function Ae(e){return!!e&&e[0]===C.Number}function Ve(e){return!!e&&e[0]===C.Percentage}function yL(e){return!!e&&e[0]===C.Semicolon}function r8(e){return!!e&&e[0]===C.String}function n8(e){return!!e&&e[0]===C.URL}function Yw(e){return!!e&&e[0]===C.Whitespace}function Ji(e){return!!e&&e[0]===C.OpenParen}function i8(e){return!!e&&e[0]===C.CloseParen}function o8(e){return!!e&&e[0]===C.OpenSquare}function wL(e){return!!e&&e[0]===C.OpenCurly}var Fc,yr,ir,kL,xn,it,Sn,Cn,jr,C,ne,pm,xL,SL,rt=y(()=>{Fc=class extends Error{constructor(t,r,n,i){super(t);_(this,"sourceStart");_(this,"sourceEnd");_(this,"parserState");this.name="ParseError",this.sourceStart=r,this.sourceEnd=n,this.parserState=i}},yr=class extends Fc{constructor(t,r,n,i,o){super(t,r,n,i);_(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 "\\"'},kL=typeof globalThis<"u"&&"structuredClone"in globalThis,xn=13,it=45,Sn=10,Cn=43,jr=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"})(C||(C={})),(function(e){e.Integer="integer",e.Number="number"})(ne||(ne={})),(function(e){e.Unrestricted="unrestricted",e.ID="id"})(pm||(pm={})),xL=class{constructor(e){_(this,"cursor",0);_(this,"source","");_(this,"representationStart",0);_(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}},SL=Object.values(C)});function vi(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 Jm(e,t){let r=t[0];if(Ji(r)||wL(r)||o8(r)){let n=s8(e,t);return{advance:n.advance,node:n.node}}if(t8(r)){let n=a8(e,t);return{advance:n.advance,node:n.node}}if(Yw(r)){let n=CL(e,t);return{advance:n.advance,node:n.node}}if(Xm(r)){let n=l8(e,t);return{advance:n.advance,node:n.node}}return{advance:1,node:new ue(r)}}function a8(e,t){let r=[],n=1;for(;;){let i=t[n];if(!i||Yt(i))return e.onParseError(new Fc("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 Dt(t[0],i,r)};if(i8(i))return{advance:n+1,node:new Dt(t[0],i,r)};if(St(i)){let a=AL(e,t.slice(n));n+=a.advance,r.push(...a.nodes);continue}let o=Jm(e,t.slice(n));n+=o.advance,r.push(o.node)}}function s8(e,t){let r=q_(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||Yt(o))return e.onParseError(new Fc("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 mm(t[0],o,n)};if(o[0]===r)return{advance:i+1,node:new mm(t[0],o,n)};if(St(o)){let s=AL(e,t.slice(i));i+=s.advance,n.push(...s.nodes);continue}let a=Jm(e,t.slice(i));i+=a.advance,n.push(a.node)}}function CL(e,t){let r=0;for(;;){let n=t[r];if(!Yw(n))return{advance:r,node:new zt(t.slice(0,r))};r++}}function l8(e,t){return{advance:1,node:new eh(t[0])}}function AL(e,t){let r=[],n=0;for(;;){if(Yw(t[n])){let i=CL(0,t.slice(n));n+=i.advance,r.push(i.node);continue}if(!Xm(t[n]))return{advance:n,nodes:r};r.push(new eh(t[n])),n++}}function eo(e,t){var a;let r={onParseError:(a=t==null?void 0:t.onParseError)!=null?a:(()=>{})},n=[...e];Yt(n[n.length-1])&&n.push([C.EOF,"",n[n.length-1][2],n[n.length-1][3],void 0]);let i=[],o=0;for(;;){if(!n[o]||Yt(n[o]))return i;let s=Jm(r,n.slice(o));i.push(s.node),o+=s.advance}}function NL(e,t){var s;let r={onParseError:(s=t==null?void 0:t.onParseError)!=null?s:(()=>{})},n=[...e];if(e.length===0)return[];Yt(n[n.length-1])&&n.push([C.EOF,"",n[n.length-1][2],n[n.length-1][3],void 0]);let i=[],o=[],a=0;for(;;){if(!n[a]||Yt(n[a]))return o.length&&i.push(o),i;if(tn(n[a])){i.push(o),o=[],a++;continue}let u=Jm(r,e.slice(a));o.push(u.node),a+=u.advance}}function u8(e,t,r){if(e.length===0)return;let n=vi(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 En(e,t,r){e.length!==0&&u8(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 zL(e){return e.map(t=>t.map(r=>ye(...r.tokens())).join("")).join(",")}function Pr(e){return mm.isSimpleBlockNode(e)}function Ge(e){return Dt.isFunctionNode(e)}function Mc(e){return zt.isWhitespaceNode(e)}function Gw(e){return eh.isCommentNode(e)}function Nt(e){return Mc(e)||Gw(e)}function se(e){return ue.isTokenNode(e)}function Mt(e){if(Array.isArray(e)){let i=e[0];if(!i)return[0,0];let o=e[e.length-1]||i;return[Mt(i)[0],Mt(o)[1]]}let t=e.tokens(),r=t[0],n=t[t.length-1];return r&&n?[r[2],n[3]]:[0,0]}var Pe,qf,Dt,mm,zt,eh,ue,wt=y(()=>{rt(),(function(e){e.Function="function",e.SimpleBlock="simple-block",e.Whitespace="whitespace",e.Comment="comment",e.Token="token"})(Pe||(Pe={})),qf=class{constructor(){_(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=vi(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)}},Dt=class Hv extends qf{constructor(r,n,i){super();_(this,"type",Pe.Function);_(this,"name");_(this,"endToken");this.name=r,this.endToken=n,this.value=i}getName(){return this.name[4].value}normalize(){Yt(this.endToken)&&(this.endToken=[C.CloseParen,")",-1,-1,void 0])}tokens(){return Yt(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=>Lc(n)?ye(n):n.toString()).join("");return ye(this.name)+r+ye(this.endToken)}toJSON(){return{type:this.type,name:this.getName(),tokens:this.tokens(),value:this.value.map(r=>r.toJSON())}}isFunctionNode(){return Hv.isFunctionNode(this)}static isFunctionNode(r){return!!r&&r instanceof Hv&&r.type===Pe.Function}},mm=class Zv extends qf{constructor(r,n,i){super();_(this,"type",Pe.SimpleBlock);_(this,"startToken");_(this,"endToken");this.startToken=r,this.endToken=n,this.value=i}normalize(){if(Yt(this.endToken)){let r=W_(this.startToken);r&&(this.endToken=r)}}tokens(){return Yt(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=>Lc(n)?ye(n):n.toString()).join("");return ye(this.startToken)+r+ye(this.endToken)}toJSON(){return{type:this.type,startToken:this.startToken,tokens:this.tokens(),value:this.value.map(r=>r.toJSON())}}isSimpleBlockNode(){return Zv.isSimpleBlockNode(this)}static isSimpleBlockNode(r){return!!r&&r instanceof Zv&&r.type===Pe.SimpleBlock}},zt=class Xv{constructor(t){_(this,"type",Pe.Whitespace);_(this,"value");this.value=t}tokens(){return this.value}toString(){return ye(...this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isWhitespaceNode(){return Xv.isWhitespaceNode(this)}static isWhitespaceNode(t){return!!t&&t instanceof Xv&&t.type===Pe.Whitespace}},eh=class Jv{constructor(t){_(this,"type",Pe.Comment);_(this,"value");this.value=t}tokens(){return[this.value]}toString(){return ye(this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isCommentNode(){return Jv.isCommentNode(this)}static isCommentNode(t){return!!t&&t instanceof Jv&&t.type===Pe.Comment}},ue=class ey{constructor(t){_(this,"type",Pe.Token);_(this,"value");this.value=t}tokens(){return[this.value]}toString(){return this.value[1]}toJSON(){return{type:this.type,tokens:this.tokens()}}isTokenNode(){return ey.isTokenNode(this)}static isTokenNode(t){return!!t&&t instanceof ey&&t.type===Pe.Token}}});function Et(e){return e.replace(PL,t=>String.fromCharCode(t.charCodeAt(0)+32))}function Rt(e,t){if(!De(e)||!De(t))return t;let r=Et(e[4].unit),n=Et(t[4].unit);if(r===n)return t;let i=Zw.get(n);if(!i)return t;let o=i.get(r);if(!o)return t;let a=o(t[4].value),s=[C.Dimension,"",t[2],t[3],{...t[4],signCharacter:a<0?"-":void 0,type:Number.isInteger(a)?ne.Integer:ne.Number,value:a}];return Zm(s,e[4].unit),s}function c8(e){if(!De(e))return e;let t=Et(e[4].unit),r=OL[t];if(t===r)return e;let n=Zw.get(t);if(!n)return e;let i=n.get(r);if(!i)return e;let o=i(e[4].value),a=[C.Dimension,"",e[2],e[3],{...e[4],signCharacter:o<0?"-":void 0,type:Number.isInteger(o)?ne.Integer:ne.Number,value:o}];return Zm(a,r),a}function d8(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 ue([C.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(Ve(r)&&Ve(n)){let o=r[4].value+n[4].value;return new ue([C.Percentage,o.toString()+"%",r[2],n[3],{value:o}])}if(De(r)&&De(n)&&(n=Rt(r,n),Et(r[4].unit)===Et(n[4].unit))){let o=r[4].value+n[4].value;return new ue([C.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)&&(De(n)||Ve(n))||Ae(n)&&(De(r)||Ve(r)))&&((i=t.onParseError)==null||i.call(t,new Hw(Rc.UnexpectedAdditionOfDimensionOrPercentageWithNumber,e))),-1}function p8(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 ue([C.Number,n.toString(),t[2],r[3],{value:n,type:Number.isInteger(n)?ne.Integer:ne.Number}])}if(Ve(t)&&Ae(r)){let n=t[4].value/r[4].value;return new ue([C.Percentage,n.toString()+"%",t[2],r[3],{value:n}])}if(De(t)&&Ae(r)){let n=t[4].value/r[4].value;return new ue([C.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 At(e,t){if(e===-1)return-1;let r=[];for(let n=0;n<e.inputs.length;n++){let i=e.inputs[n];if(se(i)){r.push(i);continue}let o=At(i,t);if(o===-1)return-1;r.push(o)}return e.operation(r,t)}function m8(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 ue([C.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(Ve(t)&&Ae(r)){let n=t[4].value*r[4].value;return new ue([C.Percentage,n.toString()+"%",t[2],r[3],{value:n}])}if(Ae(t)&&Ve(r)){let n=t[4].value*r[4].value;return new ue([C.Percentage,n.toString()+"%",t[2],r[3],{value:n}])}if(De(t)&&Ae(r)){let n=t[4].value*r[4].value;return new ue([C.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)&&De(r)){let n=t[4].value*r[4].value;return new ue([C.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 $i(e,t){for(let r=0;r<e.length;r++){let n=e[r];if(!se(n))continue;let i=n.value;if(!_e(i))continue;let o=Et(i[4].value);switch(o){case"e":e.splice(r,1,new ue([C.Number,Math.E.toString(),i[2],i[3],{value:Math.E,type:ne.Number}]));break;case"pi":e.splice(r,1,new ue([C.Number,Math.PI.toString(),i[2],i[3],{value:Math.PI,type:ne.Number}]));break;case"infinity":e.splice(r,1,new ue([C.Number,"infinity",i[2],i[3],{value:1/0,type:ne.Number}]));break;case"-infinity":e.splice(r,1,new ue([C.Number,"-infinity",i[2],i[3],{value:-1/0,type:ne.Number}]));break;case"nan":e.splice(r,1,new ue([C.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 ue(a))}}}return e}function th(e){if(e.length!==1)return-1;let t=e[0].value;return tt(t)?e[0]:-1}function Gt(e,t,r){return De(t)?ad(e,t[4].unit,r):Ve(t)?h8(e,r):Ae(t)?Cr(e,r):-1}function ad(e,t,r){let n=e.tokens();return{inputs:[new ue([C.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:th}}function h8(e,t){let r=e.tokens();return{inputs:[new ue([C.Percentage,t.toString()+"%",r[0][2],r[r.length-1][3],{value:t}])],operation:th}}function Cr(e,t){let r=e.tokens();return{inputs:[new ue([C.Number,t.toString(),r[0][2],r[r.length-1][3],{value:t,type:Number.isInteger(t)?ne.Integer:ne.Number}])],operation:th}}function f8(e,t){let r=t.value;return Ae(r)?ad(e,"rad",Math.acos(r[4].value)):-1}function g8(e,t){let r=t.value;return Ae(r)?ad(e,"rad",Math.asin(r[4].value)):-1}function b8(e,t){let r=t.value;return Ae(r)?ad(e,"rad",Math.atan(r[4].value)):-1}function rh(e){return De(e)||Ae(e)}function Kw(e){if(e.length===0)return!0;let t=e[0];if(!tt(t))return!1;if(e.length===1)return!0;if(De(t)){let r=Et(t[4].unit);for(let n=1;n<e.length;n++){let i=e[n];if(t[0]!==i[0]||r!==Et(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 Fr(e,t){return!!tt(e)&&(De(e)?e[0]===t[0]&&Et(e[4].unit)===Et(t[4].unit):e[0]===t[0])}function v8(e,t,r){let n=t.value;if(!rh(n))return-1;let i=Rt(n,r.value);return Fr(n,i)?ad(e,"rad",Math.atan2(n[4].value,i[4].value)):-1}function y8(e,t,r){let n=t.value;return!tt(n)||!r.rawPercentages&&Ve(n)?-1:Gt(e,n,Math.abs(n[4].value))}function w8(e,t,r,n,i){if(!se(t)||!se(r)||!se(n))return-1;let o=t.value;if(!tt(o)||!i.rawPercentages&&Ve(o))return-1;let a=Rt(o,r.value);if(!Fr(o,a))return-1;let s=Rt(o,n.value);return Fr(o,s)?Gt(e,o,Math.max(o[4].value,Math.min(a[4].value,s[4].value))):-1}function k8(e,t){let r=t.value;if(!rh(r))return-1;let n=r[4].value;if(De(r))switch(r[4].unit.toLowerCase()){case"rad":break;case"deg":n=$c.get("rad")(r[4].value);break;case"grad":n=Bi.get("rad")(r[4].value);break;case"turn":n=qi.get("rad")(r[4].value);break;default:return-1}return n=Math.cos(n),Cr(e,n)}function x8(e,t){let r=t.value;return Ae(r)?Cr(e,Math.exp(r[4].value)):-1}function S8(e,t,r){if(!t.every(se))return-1;let n=t[0].value;if(!tt(n)||!r.rawPercentages&&Ve(n))return-1;let i=t.map(s=>Rt(n,s.value));if(!Kw(i))return-1;let o=i.map(s=>s[4].value),a=Math.hypot(...o);return Gt(e,n,a)}function B0(e,t,r){if(!t.every(se))return-1;let n=t[0].value;if(!tt(n)||!r.rawPercentages&&Ve(n))return-1;let i=t.map(s=>Rt(n,s.value));if(!Kw(i))return-1;let o=i.map(s=>s[4].value),a=Math.max(...o);return Gt(e,n,a)}function q0(e,t,r){if(!t.every(se))return-1;let n=t[0].value;if(!tt(n)||!r.rawPercentages&&Ve(n))return-1;let i=t.map(s=>Rt(n,s.value));if(!Kw(i))return-1;let o=i.map(s=>s[4].value),a=Math.min(...o);return Gt(e,n,a)}function C8(e,t,r){let n=t.value;if(!tt(n))return-1;let i=Rt(n,r.value);if(!Fr(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,Gt(e,n,o)}function A8(e,t,r){let n=t.value,i=r.value;return!Ae(n)||!Fr(n,i)?-1:Cr(e,Math.pow(n[4].value,i[4].value))}function N8(e,t,r){let n=t.value;if(!tt(n))return-1;let i=Rt(n,r.value);if(!Fr(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,Gt(e,n,o)}function z8(e,t,r,n,i){let o=r.value;if(!tt(o)||!i.rawPercentages&&Ve(o))return-1;let a=Rt(o,n.value);if(!Fr(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 if(Number.isFinite(a[4].value))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 u=Math.floor(o[4].value/a[4].value)*a[4].value,l=Math.ceil(o[4].value/a[4].value)*a[4].value;if(u>l){let p=u;u=l,l=p}let c=Math.abs(o[4].value-u),d=Math.abs(o[4].value-l);s=c===d?l:c<d?u:l;break}}else s=o[4].value;else s=Number.NaN;return Gt(e,o,s)}function E8(e,t,r){let n=t.value;return!tt(n)||!r.rawPercentages&&Ve(n)?-1:Cr(e,Math.sign(n[4].value))}function P8(e,t){let r=t.value;if(!rh(r))return-1;let n=r[4].value;if(De(r))switch(Et(r[4].unit)){case"rad":break;case"deg":n=$c.get("rad")(r[4].value);break;case"grad":n=Bi.get("rad")(r[4].value);break;case"turn":n=qi.get("rad")(r[4].value);break;default:return-1}return n=Math.sin(n),Cr(e,n)}function O8(e,t){let r=t.value;return Ae(r)?Cr(e,Math.sqrt(r[4].value)):-1}function T8(e,t){let r=t.value;if(!rh(r))return-1;let n=r[4].value,i=0,o=r[4].value;if(De(r))switch(Et(r[4].unit)){case"rad":i=ry.get("deg")(n);break;case"deg":i=n,o=$c.get("rad")(n);break;case"grad":i=Bi.get("deg")(n),o=Bi.get("rad")(n);break;case"turn":i=qi.get("deg")(n),o=qi.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),Cr(e,o)}function I8(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 ue([C.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(Ve(r)&&Ve(n)){let o=r[4].value-n[4].value;return new ue([C.Percentage,o.toString()+"%",r[2],n[3],{value:o}])}if(De(r)&&De(n)&&(n=Rt(r,n),Et(r[4].unit)===Et(n[4].unit))){let o=r[4].value-n[4].value;return new ue([C.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)&&(De(n)||Ve(n))||Ae(n)&&(De(r)||Ve(r)))&&((i=t.onParseError)==null||i.call(t,new Hw(Rc.UnexpectedSubtractionOfDimensionOrPercentageWithNumber,e))),-1}function j8(e,t){if(t.length===1){let r=t[0];if(!r||!se(r))return-1;let n=r.value;return Ae(n)?Cr(e,Math.log(n[4].value)):-1}if(t.length===2){let r=t[0];if(!r||!se(r))return-1;let n=r.value;if(!Ae(n))return-1;let i=t[1];if(!i||!se(i))return-1;let o=i.value;return Ae(o)?Cr(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=>!(Mc(n)&&Gw(n)));return r.length===1&&ty(r[0])}if(!se(e))return!1;let t=e.value;return!!_e(t)&&TL.test(t[4].value)}function D8(e,t,r,n,i,o){var h;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=Rt(a,n.value);if(!Fr(a,s))return-1;let u=null;if(i&&(u=Rt(a,i.value),!Fr(a,u)))return-1;if(!Number.isFinite(a[4].value)||!Number.isFinite(s[4].value)||!Number.isFinite(s[4].value-a[4].value))return Gt(e,a,Number.NaN);if(u&&!Number.isFinite(u[4].value))return Gt(e,a,a[4].value);let l=t.fixed===-1?L8(F8([t.dashedIdent?t.dashedIdent:`${(h=o.randomCaching)==null?void 0:h.propertyName} ${o.randomCaching.propertyN++}`,t.elementShared?"":o.randomCaching.elementID,o.randomCaching.documentID].join(IL))):()=>t.fixed,c=a[4].value,d=s[4].value;if(c>d&&([c,d]=[d,c]),u&&(u[4].value<=0||Math.abs(c-d)/u[4].value>1e10)&&(u=null),u){let v=Math.max(u[4].value/1e3,1e-9),m=[c],b=0;for(;;){b+=u[4].value;let f=c+b;if(!(f+v<d)){m.push(d);break}if(m.push(f),f+u[4].value-v>d)break}let g=l();return Gt(e,a,Number(m[Math.floor(m.length*g)].toFixed(5)))}let p=l();return Gt(e,a,Number((p*(d-c)+c).toFixed(5)))}function L8(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 F8(e){let t=0,r=0,n=0;t^=-1;for(let i=0,o=e.length;i<o;i++)n=255&(t^e.charCodeAt(i)),r=+("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*n,9*n+8)),t=t>>>8^r;return(-1^t)>>>0}function bt(e,t,r){let n=$i([...e.value.filter(o=>!Nt(o))],t);if(n.length===1&&se(n[0]))return{inputs:[n[0]],operation:th};let i=0;for(;i<n.length;){let o=n[i];if(Pr(o)&&Ji(o.startToken)){let a=bt(o,t,r);if(a===-1)return-1;n.splice(i,1,a);continue}if(Ge(o)){let a=hm.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||!se(o)&&!un(o)){i++;continue}let a=n[i+1];if(!a||!se(a)){i++;continue}let s=a.value;if(!Ft(s)||s[4].value!=="*"&&s[4].value!=="/"){i++;continue}let u=n[i+2];if(!u||!se(u)&&!un(u))return-1;s[4].value!=="*"?s[4].value!=="/"?i++:n.splice(i,3,{inputs:[o,u],operation:p8}):n.splice(i,3,{inputs:[o,u],operation:m8})}if(i=0,n.length===1&&un(n[0]))return n[0];for(;i<n.length;){let o=n[i];if(!o||!se(o)&&!un(o)){i++;continue}let a=n[i+1];if(!a||!se(a)){i++;continue}let s=a.value;if(!Ft(s)||s[4].value!=="+"&&s[4].value!=="-"){i++;continue}let u=n[i+2];if(!u||!se(u)&&!un(u))return-1;s[4].value!=="+"?s[4].value!=="-"?i++:n.splice(i,3,{inputs:[o,u],operation:I8}):n.splice(i,3,{inputs:[o,u],operation:d8})}return n.length===1&&un(n[0])?n[0]:-1}function fr(e,t,r,n){let i=M8(e,t,r);return i===-1?-1:n(e,i,r)}function M8(e,t,r){let n=$i([...e.value.filter(o=>!Nt(o))],t),i=At(bt(jt(e,n),t,r),r);return i===-1?-1:i}function ip(e,t,r,n){let i=R8(e,t,r);if(i===-1)return-1;let[o,a]=i;return n(e,o,a,r)}function R8(e,t,r){let n=$i([...e.value.filter(u=>!Nt(u))],t),i=[],o=[];{let u=i;for(let l=0;l<n.length;l++){let c=n[l];if(se(c)&&tn(c.value)){if(u===o)return-1;if(u===i){u=o;continue}return-1}u.push(c)}}let a=At(bt(jt(e,i),t,r),r);if(a===-1)return-1;let s=At(bt(jt(e,o),t,r),r);return s===-1?-1:[a,s]}function op(e,t,r,n){let i=EL(e,e.value,t,r);return i===-1?-1:n(e,i,r)}function EL(e,t,r,n){let i=$i([...t.filter(a=>!Nt(a))],r),o=[];{let a=[],s=[];for(let u=0;u<i.length;u++){let l=i[u];se(l)&&tn(l.value)?(a.push(s),s=[]):s.push(l)}a.push(s);for(let u=0;u<a.length;u++){if(a[u].length===0)return-1;let l=At(bt(jt(e,a[u]),r,n),n);if(l===-1)return-1;o.push(l)}}return o}function $8(e,t,r,n){let i={isAuto:!1,dashedIdent:"",fixed:-1,elementShared:!1},o=t[0];if(!se(o)||!_e(o.value))return[i,t];for(let a=0;a<t.length;a++){let s=t[a];if(!se(s))return-1;if(tn(s.value))return[i,t.slice(a+1)];if(!_e(s.value))return-1;let u=s.value[4].value.toLowerCase();if(u!=="element-shared"){if(u==="fixed"){if(i.elementShared||i.dashedIdent||i.isAuto)return-1;a++;let l=t[a];if(!l)return-1;let c=At(bt(jt(e,[l]),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(u!=="auto"){if(u.startsWith("--")){if(i.fixed!==-1||i.isAuto)return-1;i.dashedIdent=u}}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 jt(e,t){return new Dt([C.Function,"calc(",e.name[2],e.name[3],{value:"calc"}],[C.CloseParen,")",e.endToken[2],e.endToken[3],void 0],t)}function B8(e,t,r){return new Dt([C.Function,"max(",e.name[2],e.name[3],{value:"max"}],[C.CloseParen,")",e.endToken[2],e.endToken[3],void 0],[t,new ue([C.Comma,",",...Mt(t),void 0]),r])}function q8(e){if(e===-1)return-1;if(Ge(e))return e;let t=e.value;return tt(t)&&Number.isNaN(t[4].value)?Ae(t)?new Dt([C.Function,"calc(",t[2],t[3],{value:"calc"}],[C.CloseParen,")",t[2],t[3],void 0],[new ue([C.Ident,"NaN",t[2],t[3],{value:"NaN"}])]):De(t)?new Dt([C.Function,"calc(",t[2],t[3],{value:"calc"}],[C.CloseParen,")",t[2],t[3],void 0],[new ue([C.Ident,"NaN",t[2],t[3],{value:"NaN"}]),new zt([[C.Whitespace," ",t[2],t[3],void 0]]),new ue([C.Delim,"*",t[2],t[3],{value:"*"}]),new zt([[C.Whitespace," ",t[2],t[3],void 0]]),new ue([C.Dimension,"1"+t[4].unit,t[2],t[3],{value:1,type:ne.Integer,unit:t[4].unit}])]):Ve(t)?new Dt([C.Function,"calc(",t[2],t[3],{value:"calc"}],[C.CloseParen,")",t[2],t[3],void 0],[new ue([C.Ident,"NaN",t[2],t[3],{value:"NaN"}]),new zt([[C.Whitespace," ",t[2],t[3],void 0]]),new ue([C.Delim,"*",t[2],t[3],{value:"*"}]),new zt([[C.Whitespace," ",t[2],t[3],void 0]]),new ue([C.Percentage,"1%",t[2],t[3],{value:1}])]):-1:e}function W8(e){if(e===-1)return-1;if(Ge(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 Dt([C.Function,"calc(",t[2],t[3],{value:"calc"}],[C.CloseParen,")",t[2],t[3],void 0],[new ue([C.Ident,r+"infinity",t[2],t[3],{value:r+"infinity"}])]):De(t)?new Dt([C.Function,"calc(",t[2],t[3],{value:"calc"}],[C.CloseParen,")",t[2],t[3],void 0],[new ue([C.Ident,r+"infinity",t[2],t[3],{value:r+"infinity"}]),new zt([[C.Whitespace," ",t[2],t[3],void 0]]),new ue([C.Delim,"*",t[2],t[3],{value:"*"}]),new zt([[C.Whitespace," ",t[2],t[3],void 0]]),new ue([C.Dimension,"1"+t[4].unit,t[2],t[3],{value:1,type:ne.Integer,unit:t[4].unit}])]):new Dt([C.Function,"calc(",t[2],t[3],{value:"calc"}],[C.CloseParen,")",t[2],t[3],void 0],[new ue([C.Ident,r+"infinity",t[2],t[3],{value:r+"infinity"}]),new zt([[C.Whitespace," ",t[2],t[3],void 0]]),new ue([C.Delim,"*",t[2],t[3],{value:"*"}]),new zt([[C.Whitespace," ",t[2],t[3],void 0]]),new ue([C.Percentage,"1%",t[2],t[3],{value:1}])])}function _8(e){if(e===-1)return-1;if(Ge(e))return e;let t=e.value;return tt(t)&&Object.is(-0,t[4].value)&&(t[1]==="-0"||(Ve(t)?t[1]="-0%":De(t)?t[1]="-0"+t[4].unit:t[1]="-0")),e}function U8(e,t=13){if(e===-1)return-1;if(t<=0||Ge(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:Ve(r)?r[1]=n+"%":De(r)&&(r[1]=n+r[4].unit),e}function V8(e){return e===-1?-1:(Ge(e)||De(e.value)&&(e.value=c8(e.value)),e)}function Q8(e,t){let r=e;return t!=null&&t.toCanonicalUnits&&(r=V8(r)),r=U8(r,t==null?void 0:t.precision),r=_8(r),t!=null&&t.censorIntoStandardRepresentableValues||(r=q8(r),r=W8(r)),r}function Y8(e){let t=new Map;if(!e)return t;for(let[r,n]of e)if(Lc(n))t.set(r,n);else if(typeof n=="string"){let i=gL({css:n}),o=i.nextToken();if(i.nextToken(),!i.endOfFile()||!tt(o))continue;t.set(r,o);continue}return t}function G8(e,t){let r=Y8(t==null?void 0:t.globals);return K8(e,n=>{if(!Ge(n))return;let i=hm.get(n.getName().toLowerCase());if(!i)return;let o=Q8(At(i(n,r,t!=null?t:{}),t!=null?t:{}),t);return o!==-1?o:void 0})}function K8(e,t){for(let r=0;r<e.length;r++){let n=e[r];En(n,(i,o)=>{if(typeof o!="number")return;let a=t(i.node);if(!a)return;let s=[a],u=i.parent.value[o-1];se(u)&&Ft(u.value)&&(u.value[4].value==="-"||u.value[4].value==="+")&&s.splice(0,0,new zt([[C.Whitespace," ",...Mt(i.node),void 0]]));let l=i.parent.value[o+1];!l||Nt(l)||se(l)&&(tn(l.value)||vL(l.value)||yL(l.value)||Ft(l.value)&&l.value[4].value!=="-"&&l.value[4].value!=="+")||s.push(new zt([[C.Whitespace," ",...Mt(i.node),void 0]])),i.parent.value.splice(o,1,...s)})}return e}var W0,Hw,Rc,PL,OL,_0,$c,Bi,U0,V0,Q0,Y0,G0,K0,H0,Z0,X0,ry,J0,qi,Zw,TL,IL,hm,eS,H8,Z8=y(()=>{wt(),rt(),W0=class extends Error{constructor(t,r,n){super(t);_(this,"sourceStart");_(this,"sourceEnd");this.name="ParseError",this.sourceStart=r,this.sourceEnd=n}},Hw=class extends W0{constructor(t,r){super(t,...Mt(r));_(this,"componentValues");this.componentValues=r}},Rc={UnexpectedAdditionOfDimensionOrPercentageWithNumber:"Unexpected addition of a dimension or percentage with a number.",UnexpectedSubtractionOfDimensionOrPercentageWithNumber:"Unexpected subtraction of a dimension or percentage with a number."},PL=/[A-Z]/g,OL={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"},_0=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]]),$c=new Map([["deg",e=>e],["grad",e=>e/.9],["rad",e=>e/180*Math.PI],["turn",e=>e/360]]),Bi=new Map([["deg",e=>.9*e],["grad",e=>e],["rad",e=>.9*e/180*Math.PI],["turn",e=>.9*e/360]]),U0=new Map([["hz",e=>e],["khz",e=>e/1e3]]),V0=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]]),Q0=new Map([["hz",e=>1e3*e],["khz",e=>e]]),Y0=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]]),G0=new Map([["ms",e=>e],["s",e=>e/1e3]]),K0=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]]),H0=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]]),Z0=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]]),X0=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]]),ry=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]]),J0=new Map([["ms",e=>1e3*e],["s",e=>e]]),qi=new Map([["deg",e=>360*e],["grad",e=>360*e/.9],["rad",e=>360*e/180*Math.PI],["turn",e=>e]]),Zw=new Map([["cm",_0],["mm",Y0],["q",X0],["in",V0],["pc",K0],["pt",H0],["px",Z0],["ms",G0],["s",J0],["deg",$c],["grad",Bi],["rad",ry],["turn",qi],["hz",U0],["khz",Q0]]),TL=/^none$/i,IL=String.fromCodePoint(0),hm=new Map([["abs",function(e,t,r){return fr(e,t,r,y8)}],["acos",function(e,t,r){return fr(e,t,r,f8)}],["asin",function(e,t,r){return fr(e,t,r,g8)}],["atan",function(e,t,r){return fr(e,t,r,b8)}],["atan2",function(e,t,r){return ip(e,t,r,v8)}],["calc",bt],["clamp",function(e,t,r){let n=$i([...e.value.filter(m=>!Nt(m))],t),i=[],o=[],a=[];{let m=i;for(let b=0;b<n.length;b++){let g=n[b];if(se(g)&&tn(g.value)){if(m===a)return-1;if(m===o){m=a;continue}if(m===i){m=o;continue}return-1}m.push(g)}}let s=ty(i),u=ty(a);if(s&&u)return bt(jt(e,o),t,r);let l=At(bt(jt(e,o),t,r),r);if(l===-1)return-1;if(s){let m=At(bt(jt(e,a),t,r),r);return m===-1?-1:q0((c=e,d=l,p=m,new Dt([C.Function,"min(",c.name[2],c.name[3],{value:"min"}],[C.CloseParen,")",c.endToken[2],c.endToken[3],void 0],[d,new ue([C.Comma,",",...Mt(d),void 0]),p])),[l,m],r)}if(u){let m=At(bt(jt(e,i),t,r),r);return m===-1?-1:B0(B8(e,m,l),[m,l],r)}var c,d,p;let h=At(bt(jt(e,i),t,r),r);if(h===-1)return-1;let v=At(bt(jt(e,a),t,r),r);return v===-1?-1:w8(e,h,l,v,r)}],["cos",function(e,t,r){return fr(e,t,r,k8)}],["exp",function(e,t,r){return fr(e,t,r,x8)}],["hypot",function(e,t,r){return op(e,t,r,S8)}],["log",function(e,t,r){return op(e,t,r,j8)}],["max",function(e,t,r){return op(e,t,r,B0)}],["min",function(e,t,r){return op(e,t,r,q0)}],["mod",function(e,t,r){return ip(e,t,r,C8)}],["pow",function(e,t,r){return ip(e,t,r,A8)}],["random",function(e,t,r){let n=$8(e,e.value.filter(c=>!Nt(c)),t,r);if(n===-1)return-1;let[i,o]=n,a=EL(e,o,t,r);if(a===-1)return-1;let[s,u,l]=a;return!s||!u?-1:D8(e,i,s,u,l,r)}],["rem",function(e,t,r){return ip(e,t,r,N8)}],["round",function(e,t,r){let n=$i([...e.value.filter(c=>!Nt(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&&se(p)&&_e(p.value)){let h=p.value[4].value.toLowerCase();if(eS.has(h)){i=h;continue}}if(se(p)&&tn(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 u=At(bt(jt(e,a),t,r),r);if(u===-1)return-1;o||s.length!==0||s.push(new ue([C.Number,"1",u.value[2],u.value[3],{value:1,type:ne.Integer}]));let l=At(bt(jt(e,s),t,r),r);return l===-1?-1:(i||(i="nearest"),z8(e,i,u,l,r))}],["sign",function(e,t,r){return fr(e,t,r,E8)}],["sin",function(e,t,r){return fr(e,t,r,P8)}],["sqrt",function(e,t,r){return fr(e,t,r,O8)}],["tan",function(e,t,r){return fr(e,t,r,T8)}]]),eS=new Set(["nearest","up","down","to-zero"]),H8=new Set(hm.keys())}),jL,X8=y(()=>{jL={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",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","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 | from-element ]? [ none | <length [0,∞]> ]","contain-intrinsic-height":"[ auto | from-element ]? [ none | <length [0,∞]> ]","contain-intrinsic-inline-size":"[ auto | from-element ]? [ none | <length [0,∞]> ]","contain-intrinsic-size":"[ [ auto | from-element ]? [ none | <length [0,∞]> ] ]{1,2}","contain-intrinsic-width":"[ auto | from-element ]? [ 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","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-block":"<visual-box> || <length [0,∞]>","overflow-clip-margin-block-end":"<visual-box> || <length [0,∞]>","overflow-clip-margin-block-start":"<visual-box> || <length [0,∞]>","overflow-clip-margin-bottom":"<visual-box> || <length [0,∞]>","overflow-clip-margin-inline":"<visual-box> || <length [0,∞]>","overflow-clip-margin-inline-end":"<visual-box> || <length [0,∞]>","overflow-clip-margin-inline-start":"<visual-box> || <length [0,∞]>","overflow-clip-margin-left":"<visual-box> || <length [0,∞]>","overflow-clip-margin-right":"<visual-box> || <length [0,∞]>","overflow-clip-margin-top":"<visual-box> || <length [0,∞]>","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","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","row-rule-width":"<line-width-list> | <auto-line-width-list>","ruby-merge":"separate | merge | auto",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> | <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 | 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 J8(...e){var r;let t=(r=e[0])!=null?r:{};for(let n=1;n<e.length;n++){let i=e[n];i&&(t=e7(t,i))}return t}function e7(e,t){let r={};return r.atrules=t7(e.atrules,t.atrules),r.properties=ny(e.properties,t.properties),r.types=ny(e.types,t.types),r.cssWideKeywords=r7(e.cssWideKeywords,t.cssWideKeywords),r.units=n7(e.units,t.units),r}function t7(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=o7(s.prelude,a.prelude),s.descriptors=ny(s.descriptors,a.descriptors),r[o]=s}return r}function ny(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]=i7(r[i],o);return r}function r7(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 n7(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 i7(e,t){if(typeof e>"u")return t;let r=t.trimStart();return r.startsWith("|")?`${e} ${r}`:t}function o7(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 a7=y(()=>{});function DL(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=qD.units,u={};for(let[l,c]of Object.entries(r.units)){let d=s[l];u[l]=d?[...d,...c]:c}r.units=u}let n=JSON.stringify(r),i=iy.get(n);if(i)return i;let{lexer:o}=Uw(J8(LL,r));return iy.set(n,o),o}var LL,iy,FL=y(()=>{Ki(),X8(),a7(),{next:LL}=jL,iy=new Map});function s7(e,t){let r=e.parent;for(;r&&!ur(r)&&t(r)!==Xw;)r=r.parent}var Xw,l7=y(()=>{he(),Xw="STOP"});function Jw(e,t){let r;return s7(e,n=>{if(t(n))return r=n,Xw}),r}var ek=y(()=>{l7()});function ML(e){return!!Jw(e,u7)}function u7(e){return Oe(e)&&!wc.has(e.name.toLowerCase())}var RL=y(()=>{ek(),he(),Qi()});function $L(e,t,r,n){if(!e)return!1;let i=e[t];if(!i)return!1;let o=Object.entries(i).find(([a])=>Ee(r,a));return o?!!Ee(n,o[1]):!1}var BL=y(()=>{Le()}),qL={};N(qL,{default:()=>UL});function WL(e){return!!_w(e,t=>t.type==="Function"&&_L.has(t.name.toLowerCase()))}function c7(e){let t=!1;return En(e,({node:r})=>{if(!(!Ge(r)||r.getName().toLowerCase()!=="calc-size")&&(t=r.tokens().some(n=>{var i;return n[0]===C.Ident&&((i=n[4])==null?void 0:i.value.toLowerCase())==="size"}),t))return!1}),t}function d7(e,t,r,n){var u;if(!Y.mathFunction.test(e))return["undetermined",-1,-1];let i=eo(yt({css:e}),{});if(c7(i))return["skip-validation",-1,-1];let o=[],a=G8([i],{onParseError:l=>{o.push(l)}});for(let l of o)switch(l.message){case Rc.UnexpectedAdditionOfDimensionOrPercentageWithNumber:case Rc.UnexpectedSubtractionOfDimensionOrPercentageWithNumber:return["invalid",l.sourceStart,l.sourceEnd+1];default:break}let s=zL(a);if(Y.mathFunction.test(s))return["undetermined",-1,-1];try{let l=en(s,{context:"value",positions:!0});if(WL(l))return["skip-validation",-1,-1];let{error:c}=r.matchProperty((u=n.get(t))!=null?u:t,l);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,h=a.flatMap(g=>g.flatMap(f=>f.tokens())),v=0,m,b;return h.forEach(g=>{d===v&&(m=g),v+=g[1].length,p===v&&(b=g)}),!m||!b?["invalid",-1,-1]:["invalid",m[2],b[3]+1]}}catch{return["undetermined",-1,-1]}return["undetermined",-1,-1]}var gr,qn,tS,rS,_L,Wf,_f,Ra,UL,p7=y(()=>{Z8(),rt(),Ki(),wt(),V(),q(),X(),Qy(),Ye(),FL(),zr(),he(),RL(),ht(),$r(),qe(),BL(),I(),D(),Ht(),Vw(),F(),gr="declaration-property-value-no-unknown",qn=j(gr,{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}"`}),tS={url:"https://stylelint.io/user-guide/rules/declaration-property-value-no-unknown"},rS=/^syntax$/i,_L=new Set(["clamp","min","max","env"]),Wf=new WeakMap,_f=1e4,Ra=(e,t)=>(r,n)=>{var c;if(!L(n,gr,{actual:e},{actual:t,possible:{ignoreProperties:[Lt($,U)],propertiesSyntax:[um($)],typesSyntax:[um($)]},optional:!0}))return;t!=null&&t.propertiesSyntax&&vc(`We've deprecated the "propertiesSyntax" option of "${gr}".`,"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&&vc(`We've deprecated the "typesSyntax" option of "${gr}".`,"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)=>$L(t,"ignoreProperties",d,p),o={...t==null?void 0:t.propertiesSyntax},a={...t==null?void 0:t.typesSyntax},s=new Map;r.walkAtRules(we.propertyName,d=>{let p=d.params.trim();if(!(!p||!d.nodes||!vt(p))){for(let h of d.nodes)if(Ui(h)&&rS.test(h.prop)){let v=h.value.trim(),m=s4.decode(v);if(m===v||m==="*")continue;let b=`-stylelint${p}`;s.set(p,b),o[b]=m}}});let u=Object.keys(o).length>0||Object.keys(a).length>0?DL((c=n.stylelint.config)!=null?c:{},{properties:o,types:a}):n.stylelint.lexer,l=Wf.get(u);l||(l=new Set,Wf.set(u,l)),r.walkDecls(d=>{var z;let{prop:p}=d,h=Qe(d);if(/^-moz-initial$/i.test(h)||!mt(d)||ML(d)||!Rr(p)||!$e(h)||vt(p)&&!s.has(p)||i(p,h)||/\bvar\s*\(/i.test(h))return;let v=vt(p)?null:`${p}:${h}`;if(v&&l.has(v))return;let[m,b,g]=d7(h,p,u,s);if(m==="valid"||m==="skip-validation"){v&&l.size<_f&&l.add(v);return}if(m==="invalid"){let B=ie(d),te=h,J=B,ve=J+te.length;b!==-1&&g!==-1&&(te=h.slice(b,g),J=B+b,ve=J+te.length),P({message:qn.rejectedMath,messageArgs:[p,te],node:d,index:J,endIndex:ve,result:n,ruleName:gr});return}let f;try{if(f=en(h,{context:"value",positions:!0}),WL(f))return}catch{if(/(?:^|[^\w-])(?:attr|if|--[\w-]+)\(/i.test(h))return;let B=ie(d),te=B+h.length;P({message:qn.rejectedParseError,messageArgs:[p,h],node:d,index:B,endIndex:te,result:n,ruleName:gr});return}let{error:x}=u.matchProperty((z=s.get(p))!=null?z:p,f);if(!x){v&&l.size<_f&&l.add(v);return}if(!("mismatchLength"in x))return;let{name:w,rawMessage:k,loc:S}=x;if(w!=="SyntaxMatchError"||k!=="Mismatch")return;let E=ie(d),A=h.slice(S.start.offset,S.end.offset),T=_w(f,B=>B.type==="Function"&&B.loc!==void 0&&S.start.offset>=B.loc.start.offset&&S.end.offset<=B.loc.end.offset);if(T!=null&&T.loc){let B=h.slice(T.loc.start.offset,T.loc.end.offset),te=E+T.loc.start.offset,J=te+B.length;P({message:qn.rejected,messageArgs:[p,B],node:d,index:te,endIndex:J,result:n,ruleName:gr});return}P({message:qn.rejected,messageArgs:[p,A],node:d,index:E+S.start.offset,endIndex:E+S.end.offset,result:n,ruleName:gr})})},Ra.ruleName=gr,Ra.messages=qn,Ra.meta=tS,UL=Ra}),VL={};N(VL,{default:()=>KL});function nS(e){return QL.test(e)?1:YL.test(e)?2:GL.test(e)?3:0}function m7(e,t){return nS(e)-nS(t)}function h7(e){return e.map(t=>t[4].value).sort(m7).join(" ").toLowerCase()}function f7(e,t,r,n){let i=e.slice(0,e.indexOf(t)),o=e.slice(e.indexOf(t),e.indexOf(r)).filter(Xm),a=e.slice(e.indexOf(r)+1);return ye(...i,...n.flatMap((s,u)=>{let l=[];return u!==0&&l.push([C.Whitespace," ",-1,-1,void 0]),l.push([C.Ident,s,-1,-1,{value:s}]),l}),...o,...a)}var $a,Uf,iS,QL,YL,GL,oS,aS,sS,Ba,KL,g7=y(()=>{rt(),He(),X(),Ye(),qe(),V(),I(),D(),Bt(),F(),$a="display-notation",Uf=j($a,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),iS={url:"https://stylelint.io/user-guide/rules/display-notation",fixable:!0},QL=new RegExp(`^(?:${[...ew.values()].join("|")})$`,"i"),YL=new RegExp(`^(?:${[...tw.values()].join("|")})$`,"i"),GL=new RegExp(`^(?:${[...rw.values()].join("|")})$`,"i"),oS=/^display$/i,aS={"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"]},sS={"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"]},Ba=e=>(t,r)=>{L(r,$a,{actual:e,possible:["short","full"]})&&t.walkDecls(oS,n=>{let i=Qe(n);if(!Y.displayKeyword.test(i)||!$e(i))return;let o=yt({css:i});if(o.some(p=>!(St(p)||Yt(p)||_e(p))))return;let a=o.filter(_e);if(!a.length)return;let s=h7(a),u=e==="short"?sS[s]:aS[s];if(!u)return;let l=a.at(0),c=a.at(-1);if(!l||!c)return;let d=ie(n);P({message:Uf.expected,messageArgs:[s,u.join(" ")],node:n,index:d+l[2],endIndex:d+c[3]+1,result:r,ruleName:$a,fix:{apply:()=>{$t(n,f7(o,l,c,u))},node:n}})})},Ba.ruleName=$a,Ba.messages=Uf,Ba.meta=iS,KL=Ba});function Pp(e){return e.toString().trim().length!==0&&Number(e)==e}var HL=y(()=>{});function lS(e){if(!e)return!1;if(Wp.has(e))return!0;let t=ZL.default.unit(e);if(!t)return!1;let r=t.unit;return!!(r==="%"||Ti.has(r.toLowerCase()))}var ZL,b7=y(()=>{ZL=re(me(),1),He(),Vc()});function sd(e){return e.toLowerCase().startsWith("var(")}var ld=y(()=>{});function v7(e,t,r){return e.value=e.value+r+t.value,e}function tk(e){let t=[],r=(0,XL.default)(e),{nodes:n}=r;if(n.length===1&&n[0]&&Ie.has(n[0].value.toLowerCase()))return[n[0]];let i=!1,o=null;return r.walk((a,s,u)=>{if(a.type==="function")return!1;if(!JL.has(a.type))return;let l=a.value.toLowerCase();if(!$e(l)||sd(l))return;let c=Zr.has(l);if(!c&&nw.has(l)||!c&&lS(a.value))return;let d=u[s+1],p=u[s-1],h=u[s-2],v=u.slice(0,s);if(c&&Wp.has(l)&&!(!d||oy(d)||v.find(oy))||p&&p.value==="/"&&h&&lS(h.value)||Pp(l))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 m=a;if(i){let b=t[t.length-1];Ue(b),v7(b,m,o),i=!1,o=null}else t.push(m)}),t}var XL,JL,oy,rk=y(()=>{XL=re(me(),1),He(),q(),HL(),qe(),b7(),ld(),JL=new Set(["word","string","space","div"]),oy=e=>e.type==="div"&&e.value===","}),eF={};N(eF,{default:()=>tF});function y7(e){return!!(yN.has(e)||e==="BlinkMacSystemFont")}function w7(e){return!/^[-a-z]+$/i.test(e)}function k7(e){return e.split(/\s+/).some(t=>/^(?:-?\d|--)/.test(t)||!/^[-\w\u{00A0}-\u{10FFFF}]+$/u.test(t))}var qa,Vf,uS,cS,Wa,tF,x7=y(()=>{He(),rk(),qe(),ld(),V(),I(),D(),F(),qa="font-family-name-quotes",Vf=j(qa,{expected:e=>`Expected quotes around "${e}"`,rejected:e=>`Expected no quotes around "${e}"`}),uS={url:"https://stylelint.io/user-guide/rules/font-family-name-quotes",fixable:!0},cS=(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(u){r.slice(i+1).forEach(l=>l.sourceIndex+=u)},removeQuotes(){if(this.hasQuotes===!1)return;let u=this.sourceIndex,l=u+this.name.length+2;this.hasQuotes=!1,t.value=t.value.slice(0,u)+this.name+t.value.substring(l),this.resetIndexes(-2)},addQuotes(){if(this.hasQuotes===!0)return;let u=this.sourceIndex,l=u+this.name.length;this.hasQuotes=!0;let c=`"${this.name}"`;t.value=t.value.slice(0,u)+c+t.value.substring(l),this.resetIndexes(2)}};r.push(s)}),r},Wa=e=>(t,r)=>{if(!L(r,qa,{actual:e,possible:["always-where-required","always-where-recommended","always-unless-keyword"]}))return;t.walkDecls(Mr.fontFamilyAndShorthandName,o=>{if(!$e(o.value))return;let a=cS(tk(o.value),o);if(a.length!==0)for(let s of a)n(s,o)});function n(o,a){let{name:s,rawName:u,hasQuotes:l}=o;if(sd(u))return;if(Zr.has(s.toLowerCase())||y7(s))return l?i("rejected",o,a):void 0;let c=k7(s),d=w7(s);switch(e){case"always-unless-keyword":return l?void 0:i("expected",o,a);case"always-where-recommended":return!d&&l?i("rejected",o,a):d&&!l?i("expected",o,a):void 0;case"always-where-required":if(!c&&l)return i("rejected",o,a);if(c&&!l)return i("expected",o,a)}}function i(o,a,s){let{name:u,rawName:l}=a,c=()=>o==="expected"?a.addQuotes():a.removeQuotes();P({result:r,ruleName:qa,message:Vf[o],messageArgs:[u],node:s,word:l,fix:{apply:c,node:s}})}},Wa.ruleName=qa,Wa.messages=Vf,Wa.meta=uS,tF=Wa}),rF={};N(rF,{default:()=>nF});var _a,Qf,dS,pS,Ua,nF,S7=y(()=>{q(),X(),rk(),He(),H(),V(),I(),D(),F(),_a="font-family-no-duplicate-names",Qf=j(_a,{rejected:e=>`Duplicate font-family name "${e}"`}),dS={url:"https://stylelint.io/user-guide/rules/font-family-no-duplicate-names"},pS=e=>!("quote"in e)&&Zr.has(e.value.toLowerCase()),Ua=(e,t)=>(r,n)=>{if(!L(n,_a,{actual:e},{actual:t,possible:{ignoreFontFamilyNames:[$,U]},optional:!0}))return;r.walkDecls(Mr.fontFamilyAndShorthandName,o=>{let a=new Set,s=new Set,u=tk(o.value);if(u.length!==0)for(let l of u){let c=l.value.trim();if(R(t,"ignoreFontFamilyNames",c))continue;let d="quote"in l?l.quote+c+l.quote:c;if(pS(l)){if(a.has(c.toLowerCase())){i(c,ie(o)+l.sourceIndex,d.length,o);continue}a.add(c);continue}if(s.has(c)){i(c,ie(o)+l.sourceIndex,d.length,o);continue}s.add(c)}});function i(o,a,s,u){P({result:n,ruleName:_a,message:Qf.rejected,messageArgs:[o],node:u,index:a,endIndex:a+s})}},Ua.ruleName=_a,Ua.messages=Qf,Ua.meta=dS,nF=Ua}),iF={};N(iF,{default:()=>oF});var Va,Yf,mS,hS,fS,Qa,oF,C7=y(()=>{Zc(),q(),He(),X(),rk(),he(),qe(),ld(),H(),V(),I(),D(),F(),Va="font-family-no-missing-generic-family-keyword",Yf=j(Va,{rejected:"Missing generic font family"}),mS={url:"https://stylelint.io/user-guide/rules/font-family-no-missing-generic-family-keyword"},hS=e=>!("quote"in e)&&Zr.has(e.value.toLowerCase()),fS=e=>{let t=ji.list.comma(e).pop();return t!=null&&(sd(t)||!$e(t))},Qa=(e,t)=>(r,n)=>{if(!L(n,Va,{actual:e},{actual:t,possible:{ignoreFontFamilies:[$,U]},optional:!0}))return;let i=new Set(["font-face","font-palette-values"]);r.walkDecls(Mr.fontFamilyAndShorthandName,o=>{let a=o.parent;if(a&&Oe(a)&&i.has(a.name.toLowerCase())||o.prop==="font"&&vN.has(o.value.toLowerCase())||fS(o.value))return;let s=tk(o.value);if(s.length===0||s.some(p=>hS(p))||s.some(p=>R(t,"ignoreFontFamilies",p.value)))return;let u=s[s.length-1];Ue(u);let l=ie(o),c=l+u.sourceIndex,d=l+u.sourceEndIndex;P({result:n,ruleName:Va,message:Yf.rejected,messageArgs:[],node:o,index:c,endIndex:d})})},Qa.ruleName=Va,Qa.messages=Yf,Qa.meta=mS,oF=Qa}),aF={};N(aF,{default:()=>sF});function ay(e){return e!==void 0&&e.type==="div"}function A7(e,t,r){return!(e.type!=="word"||ay(r[t-1])||ay(r[t+1]))}var gS,Ya,Ga,bS,vS,yS,Gf,Ka,sF,N7=y(()=>{gS=re(me(),1),He(),V(),q(),X(),Ye(),HL(),qe(),ld(),H(),I(),D(),Bt(),F(),Ya="font-weight-notation",Ga=j(Ya,{expected:e=>`Expected ${e} font-weight notation`,expectedWithActual:(e,t)=>`Expected "${e}" to be "${t}"`}),bS={url:"https://stylelint.io/user-guide/rules/font-weight-notation",fixable:!0},vS="normal",yS=new Map([["normal","400"],["bold","700"]]),Gf=new Map([["400","normal"],["700","bold"]]),Ka=(e,t)=>(r,n)=>{if(!L(n,Ya,{actual:e,possible:["numeric","named-where-possible"]},{actual:t,possible:{ignore:["relative"]},optional:!0}))return;let i=R(t,"ignore","relative");r.walkDecls(Mr.fontWeightAndShorthandName,a=>{if(e==="numeric"&&!Y.namedFontWeight.test(a.value)||e==="named-where-possible"&&!Y.numericFontWeight.test(a.value))return;let s=a.prop.toLowerCase()==="font",u=(0,gS.default)(Qe(a)),l=u.nodes,c=l.some((d,p,h)=>Pp(d.value)&&!ay(h[p-1]));for(let[d,p]of l.entries()){if(!A7(p,d,l))continue;let{value:h}=p;if(s){if(h.toLowerCase()===vS&&c)continue;if(o(a,p,u))break}o(a,p,u)}});function o(a,s,u){let l=s.value;if(!$e(l)||sd(l))return;let c=l.toLowerCase();if(i&&Bp.has(c))return;let d=h=>()=>{s.value=h,$t(a,u.toString())};if(e==="numeric"){if(!Pp(c)&&qp.has(c)){let h=yS.get(c);return h?p(Ga.expectedWithActual,[l,h],s,d(h)):p(Ga.expected,["numeric"],s,void 0),!0}}else if(e==="named-where-possible"&&Pp(c)&&Gf.has(c)){let h=Gf.get(c);_i(h);let v=d(h);return p(Ga.expectedWithActual,[l,h],s,v),!0}function p(h,v,m,b){let g=ie(a)+m.sourceIndex,f=g+m.value.length;P({ruleName:Ya,result:n,message:h,messageArgs:v,node:a,index:g,endIndex:f,fix:{apply:b,node:a}})}}},Ka.ruleName=Ya,Ka.messages=Ga,Ka.meta=bS,sF=Ka}),lF={};N(lF,{default:()=>uF});function z7(e){let t=e.prop.toLowerCase();if(vt(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 wS,Ha,Kf,kS,Wn,uF,E7=y(()=>{wS=re(me(),1),q(),X(),zr(),rd(),Le(),I(),D(),F(),Ha="function-allowed-list",Kf=j(Ha,{rejected:e=>`Disallowed function "${e}"`}),kS={url:"https://stylelint.io/user-guide/rules/function-allowed-list"},Wn=(e,t)=>(r,n)=>{var o;if(!L(n,Ha,{actual:e,possible:[$,U]},{actual:t,possible:{exceptWithoutPropertyFallback:[$,U]},optional:!0}))return;let i=(o=t==null?void 0:t.exceptWithoutPropertyFallback)!=null?o:[];r.walkDecls(a=>{a.value.includes("(")&&(0,wS.default)(a.value).walk(s=>{let{type:u,sourceIndex:l,value:c}=s;if(u!=="function"||!td(s)||Ee(c,e)&&(!Ee(c,i)||z7(a)))return;let d=ie(a)+l,p=d+c.length;P({message:Kf.rejected,messageArgs:[c],node:a,index:d,endIndex:p,result:n,ruleName:Ha})})})},Wn.primaryOptionArray=!0,Wn.ruleName=Ha,Wn.messages=Kf,Wn.meta=kS,uF=Wn}),cF={};N(cF,{default:()=>hF});function P7(e){let t=yt({css:e});return t.forEach((r,n)=>{if(!De(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;Zm(r,i.slice(0,o)),r[3]=r[2]+r[1].length;let s=yt({css:a}).slice(0,-1);s.forEach(u=>{u[2]+=r[3],u[3]+=r[3]}),t.splice(n+1,0,...s)}),t.forEach((r,n)=>{if(!Ft(r)||r[4].value!=="#")return;let i=t[n+1];if(!wL(i))return;let o=t[n+2];!Ft(o)||o[4].value!=="$"||(i[1]="#{",t.splice(n,1))}),eo(t)}function xS(e){if(Pr(e))return!0;if(Ge(e)){let t=e.getName().toLowerCase();return!!(Yi.has(t)||t==="var")}return se(e)?pF.has(e.value[0]):!1}function ap(e=" "){return new zt([[C.Whitespace,e,-1,-1,void 0]])}function O7(e,t){let r,n,i=[],o=[],a,s=e.value[t];for(;Nt(s);)s=e.value[++t];for(xS(s)&&(r=s,s=e.value[++t]);Nt(s);)i.push(s),s=e.value[++t];for(se(s)&&Ft(s.value)&&dF.has(s.value[4].value)&&(a=s,s=e.value[++t]);Nt(s);)o.push(s),s=e.value[++t];for(xS(s)&&(n=s,s=e.value[++t]);Nt(s);)s=e.value[++t];if(!r||!n){for(;s;){if(se(s)&&(tn(s.value)||yL(s.value)))return[void 0,t];s=e.value[++t]}return[void 0,e.value.length]}return[new mF(r,i,n,o,a),t]}var Za,cn,SS,dF,CS,AS,Xa,pF,mF,hF,T7=y(()=>{var e,sy,r;wt(),rt(),X(),Ye(),Nr(),V(),I(),D(),Bt(),F(),q(),Za="function-calc-no-unspaced-operator",cn=j(Za,{expectedBefore:n=>`Expected single space before "${n}" operator`,expectedAfter:n=>`Expected single space after "${n}" operator`}),SS={url:"https://stylelint.io/user-guide/rules/function-calc-no-unspaced-operator",fixable:!0},dF=new Set(["+","-"]),CS=new RegExp(`^(?:${[...Yi].join("|")})$`,"i"),AS=/\n|\r\n/,Xa=n=>(i,o)=>{if(!L(o,Za,{actual:n}))return;function a(s,u,l,c,d){let p=l+c.length;P({message:s,messageArgs:[c],node:u,index:l,endIndex:p,result:o,ruleName:Za,fix:{apply:d,node:u}})}i.walkDecls(s=>{let u=Qe(s);if(!Y.operator.test(u)||!Y.mathFunction.test(u))return;let l=P7(u);if(l.length===0)return;let c=ie(s),d=()=>$t(s,zL([l]));function p(m,b,g){b[g].some(Mc)||a(cn[g==="before"?"expectedBefore":"expectedAfter"],s,c+b.operatorCharPosition,b.operatorChar,()=>{b.insertWhitespace(m,g),d()})}function h(m,b){if(se(b.firstOperand)){let g=b.firstOperand.value,f=(x,w)=>{if(!(x&&Y.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(m),w(),d()}),!0};if(De(g)){let[,,,,{unit:x}]=g,w=x.at(-1),k=x.slice(0,-1);if(f(w,()=>Zm(g,k)))return}if(_e(g)){let[,,,,{value:x}]=g,w=x.at(-1),k=x.slice(0,-1);if(f(w,()=>J_(g,k)))return}}if(se(b.secondOperand)&&tt(b.secondOperand.value)){let g=b.secondOperand.value,[,,f,,{signCharacter:x}]=g;x&&Y.operator.test(x)&&(b.completeMissingOperator(x,f,"prepend"),a(cn.expectedAfter,s,c+b.operatorCharPosition,b.operatorChar,()=>{b.insertOperatorBeforeSecondOperand(m),g[4].signCharacter=void 0,g[1]=g[1].slice(1),d()}))}}function v(m,b){m[b].forEach(g=>{if(!Mc(g))return;let f=g.toString();if(f===" ")return;let x=f.search(AS);if(x===0)return;let w=b==="before"?cn.expectedBefore:cn.expectedAfter;a(w,s,c+m.operatorCharPosition,m.operatorChar,()=>{g.value=ap(x===-1?" ":f.slice(x)).value,d()})})}En(l,({node:m,state:b})=>{if(!b)return;if(Ge(m))b.inMathFunction=CS.test(m.getName().toLowerCase());else if(!Pr(m)||!Ji(m.startToken)){b.inMathFunction=!1;return}if(!b.inMathFunction)return;let g=0,f;for(;g!==-1&&g<m.value.length;){if([f,g]=O7(m,g),!f){g++;continue}f.operator||h(m,f),f.operator&&(p(m,f,"before"),p(m,f,"after"),v(f,"before"),v(f,"after")),g=m.value.indexOf(f.secondOperand)}},{inMathFunction:!1})})},pF=new Set([C.Number,C.Dimension,C.Percentage,C.Ident]),mF=(r=class{constructor(n,i,o,a,s){Ak(this,e);this.firstOperand=n,this.before=i,this.secondOperand=o,this.after=a,this.operator=s}get operatorChar(){return gh(this,e,sy)[4].value}get operatorCharPosition(){return gh(this,e,sy)[2]}insertWhitespace(n,i){Ue(this.operator),n.value.splice(n.value.indexOf(this.operator)+(i==="before"?0:1),0,ap())}insertOperatorAfterFirstOperand(n){Ue(this.operator),n.value.splice(n.value.indexOf(this.firstOperand)+1,0,...this.before,this.operator)}insertOperatorBeforeSecondOperand(n){Ue(this.operator),n.value.splice(n.value.indexOf(this.secondOperand),0,this.operator,...this.after)}completeMissingOperator(n,i,o){this.operator=new ue([C.Delim,n,i,i+n.length,{value:n}]),o==="append"?(this.after=this.before,this.before=[ap()]):this.after=[ap()]}},e=new WeakSet,sy=function(){var n;return Ue(Ft((n=this.operator)==null?void 0:n.value)),this.operator.value},r),Xa.ruleName=Za,Xa.messages=cn,Xa.meta=SS,hF=Xa}),fF={};N(fF,{default:()=>gF});var NS,Ja,Hf,zS,_n,gF,I7=y(()=>{NS=re(me(),1),q(),X(),rd(),Le(),I(),D(),F(),Ja="function-disallowed-list",Hf=j(Ja,{rejected:e=>`Disallowed function "${e}"`}),zS={url:"https://stylelint.io/user-guide/rules/function-disallowed-list"},_n=e=>(t,r)=>{L(r,Ja,{actual:e,possible:[$,U]})&&t.walkDecls(n=>{n.value.includes("(")&&(0,NS.default)(n.value).walk(i=>{let{type:o,sourceIndex:a,value:s}=i;if(o!=="function"||!td(i)||!Ee(s,e))return;let u=ie(n)+a,l=u+s.length;P({message:Hf.rejected,messageArgs:[s],node:n,index:u,endIndex:l,result:r,ruleName:Ja})})})},_n.primaryOptionArray=!0,_n.ruleName=Ja,_n.messages=Hf,_n.meta=zS,gF=_n});function ud(e,t,r){let n=(0,ly.default)(e);return n.walk(i=>{if(i.type!=="function")return;let{value:o}=i;if($(t)&&o!==t||U(t)&&!t.test(i.value))return;let a=1,s=i.sourceIndex+o.length+a,u;if(i.value.toLowerCase()==="url"){let[l]=(0,ly.default)(e.slice(i.sourceIndex+o.length)).nodes;Ue(l);let c=s+l.sourceEndIndex-1-(e[s+l.sourceEndIndex-2]===")"?a:0);u=e.slice(s,c)}else{let l=i.sourceEndIndex-(e[i.sourceEndIndex-1]===")"?a:0);u=e.slice(s,l)}r(u,s,i,n)})}var ly,cd=y(()=>{ly=re(me(),1),q()}),bF={};N(bF,{default:()=>wF});function j7(e,t){let r=t?vF:yF,n=e.match(r);return n?n.length===2||n.length===3&&n[1]!==n[2]:!1}var Zf,es,Xf,ES,Jf,PS,OS,Un,vF,yF,TS,IS,jS,ts,wF,D7=y(()=>{Zf=re(me(),1),X(),cd(),qe(),I(),D(),F(),Pt(),es="function-linear-gradient-no-nonstandard-direction",Xf=j(es,{rejected:"Nonstandard direction"}),ES={url:"https://stylelint.io/user-guide/rules/function-linear-gradient-no-nonstandard-direction"},Jf="(?:-webkit-|-moz-|-o-|-ms-)?linear-gradient",PS=new RegExp(`${Jf}\\(`,"i"),OS=new RegExp(`^${Jf}$`,"i"),Un=/top|left|bottom|right/i,vF=new RegExp(`^to (${Un.source})(?: (${Un.source}))?$`,"i"),yF=new RegExp(`^(${Un.source})(?: (${Un.source}))?$`,"i"),TS=/[\d.]/,IS=/^[\d.]+(?:deg|grad|rad|turn)$/,jS=/\bin\b/i,ts=e=>(t,r)=>{L(r,es,{actual:e})&&t.walkDecls(n=>{PS.test(n.value)&&(0,Zf.default)(n.value).walk(i=>{i.type==="function"&&ud(Zf.default.stringify(i).toLowerCase(),OS,(o,a)=>{let s=o.split(","),u=(s[0]||"").trim();if(!$e(u)||u.startsWith("var(")||jS.test(u))return;if(TS.test(u.charAt(0))){if(IS.test(u))return;c();return}if(!Un.test(u))return;let l=!Ke.prefix(i.value);j7(u,l)||c();function c(){let d=ie(n)+i.sourceIndex+a,p=d+(s[0]||"").trimEnd().length;P({message:Xf.rejected,messageArgs:[],node:n,index:d,endIndex:p,result:r,ruleName:es})}})})})},ts.ruleName=es,ts.messages=Xf,ts.meta=ES,wF=ts}),kF={};N(kF,{default:()=>xF});var DS,rs,eg,LS,sp,ns,xF,L7=y(()=>{DS=re(me(),1),q(),Nr(),X(),Ye(),rd(),qe(),H(),I(),D(),Bt(),F(),rs="function-name-case",eg=j(rs,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),LS={url:"https://stylelint.io/user-guide/rules/function-name-case",fixable:!0},sp=new Map;for(let e of gN)sp.set(e.toLowerCase(),e);ns=(e,t)=>(r,n)=>{L(n,rs,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreFunctions:[$,U]},optional:!0})&&r.walkDecls(i=>{if(!i.value.includes("(")||!$e(i.value))return;let o=(0,DS.default)(Qe(i));o.walk(a=>{if(a.type!=="function"||!td(a))return;let s=a.value,u=s.toLowerCase();if(R(t,"ignoreFunctions",s))return;let l;if(e==="lower"&&sp.has(u)?l=sp.get(u):e==="lower"?l=u:l=s.toUpperCase(),s===l)return;let c=ie(i)+a.sourceIndex,d=c+s.length,p=()=>{a.value=l,$t(i,o.toString())};P({message:eg.expected,messageArgs:[s,l],node:i,index:c,endIndex:d,result:n,ruleName:rs,fix:{apply:p,node:i}})})})},ns.ruleName=rs,ns.messages=eg,ns.meta=LS,xF=ns}),SF,F7=y(()=>{SF=["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 M7(e){return e.startsWith("--")}var R7=y(()=>{}),CF={};N(CF,{default:()=>AF});var is,tg,FS,os,AF,$7=y(()=>{wt(),F7(),rt(),q(),X(),R7(),qe(),H(),I(),D(),F(),is="function-no-unknown",tg=j(is,{rejected:e=>`Unknown function "${e}"`}),FS={url:"https://stylelint.io/user-guide/rules/function-no-unknown"},os=(e,t)=>(r,n)=>{L(n,is,{actual:e},{actual:t,possible:{ignoreFunctions:[$,U]},optional:!0})&&r.walkDecls(i=>{let{value:o}=i;o.includes("(")&&$e(o)&&En(eo(yt({css:o})),({node:a})=>{if(!Ge(a))return;let s=a.getName();if(M7(s)||R(t,"ignoreFunctions",s)||SF.includes(s.toLowerCase()))return;let u=ie(i),l=u+a.name[2],c=u+a.name[3];P({message:tg.rejected,messageArgs:[s],node:i,index:l,endIndex:c,result:n,ruleName:is})})})},os.ruleName=is,os.messages=tg,os.meta=FS,AF=os});function nh(e){return e.length===0?!0:FA(e)||$A(e)||jA(e)?!1:e.startsWith("'")&&e.endsWith("'")||e.startsWith('"')&&e.endsWith('"')?!OA(e):!(e.startsWith("@")&&NF.test(e)||e.includes("$")&&zF.test(e)&&!e.endsWith("/"))}var NF,zF,ih=y(()=>{IA(),LA(),RA(),qA(),NF=/^@@?[\w-]+$/,zF=/^[$\s\w+\-,./*'"@#?]+$/}),EF={};N(EF,{default:()=>PF});var as,rg,MS,ng,ss,PF,B7=y(()=>{V(),cd(),ih(),I(),D(),F(),as="function-url-no-scheme-relative",rg=j(as,{rejected:"Disallowed scheme-relative url"}),MS={url:"https://stylelint.io/user-guide/rules/function-url-no-scheme-relative"},ng=(e,t,r)=>{ud(t.toLowerCase(),"url",(n,i)=>{let o=n.trim().replace(/^['"]+|['"]+$/g,"");!nh(o)||!o.startsWith("//")||P({message:rg.rejected,messageArgs:[],node:e,index:i,endIndex:i+n.length,result:r,ruleName:as})})},ss=e=>(t,r)=>{L(r,as,{actual:e})&&(t.walkDecls(n=>{ng(n,n.toString(),r)}),t.walkAtRules(we.importName,n=>{ng(n,n.toString(),r)}))},ss.ruleName=as,ss.messages=rg,ss.meta=MS,PF=ss}),OF={};N(OF,{default:()=>TF});var ls,ig,RS,us,TF,q7=y(()=>{rt(),X(),cd(),st(),Ye(),ht(),ih(),V(),H(),I(),D(),F(),ls="function-url-quotes",ig=j(ls,{expected:e=>`Expected quotes around "${e}" function argument`,rejected:e=>`Expected no quotes around "${e}" function argument`}),RS={url:"https://stylelint.io/user-guide/rules/function-url-quotes",fixable:!0},us=(e,t)=>(r,n)=>{if(!L(n,ls,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["empty"]},optional:!0}))return;let i=R(t,"except","empty"),o=new Set(["","''",'""']);r.walkAtRules(l),r.walkDecls(u);function a(m,b,g,f){return()=>{switch(g){case"expected":c(b);break;case"rejected":d(b);break}switch(m.type){case"decl":m.value=f.toString();break;case"atrule":m.params=f.toString();break}}}function s(m,b,g){ud(b,/^url$/i,(f,x,w,k)=>{if(v(w))return;let S=h(f,g+x);if(S){let{messageType:E,...A}=S,T=ig[E],z=[w.value.toLowerCase()],B=a(m,w,E,k);P({...A,node:m,fix:{apply:B,node:m},message:T,messageArgs:z,result:n,ruleName:ls})}})}function u(m){if(!Y.urlFunction.test(m.value)||!mt(m))return;let b=Qe(m),g=ie(m);s(m,b,g)}function l(m){let b=at(m),g=Te(m);s(m,b,g)}function c(m){for(let b of m.nodes)b.type==="word"&&(b.value=`"${b.value}"`)}function d(m){for(let b of m.nodes)b.type==="string"&&(b.type="word")}function p(m){var k;let b=m,g=(k=m[0])!=null?k:"",f=m.lastIndexOf(g);f>0&&(b=m.slice(1,f));let x=yt({css:`url(${b})`});if(x.length!==2)return!0;let w=x[0];return!n8(w)}function h(m,b){let g=m.trimStart();if(!nh(g))return;let f=e==="always";i&&o.has(m.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+m.length-g.length,S=b+m.length;return{messageType:w,index:k,endIndex:S}}function v(m){return m.nodes.some(b=>b.type!=="string"&&b.type!=="space"&&b.type!=="word"||b.type==="word"&&/(?:^|[^\\])\s/.test(b.value))}},us.ruleName=ls,us.messages=ig,us.meta=RS,TF=us});function IF(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 jF=y(()=>{}),DF={};N(DF,{default:()=>LF});var cs,og,$S,Vn,LF,W7=y(()=>{q(),cd(),jF(),ih(),Le(),I(),D(),F(),cs="function-url-scheme-allowed-list",og=j(cs,{rejected:e=>`Disallowed URL scheme "${e}:"`}),$S={url:"https://stylelint.io/user-guide/rules/function-url-scheme-allowed-list"},Vn=e=>(t,r)=>{L(r,cs,{actual:e,possible:[$,U]})&&t.walkDecls(n=>{ud(n.toString().toLowerCase(),"url",(i,o)=>{let a=i.trim();if(!nh(a))return;let s=a.replace(/^['"]+|['"]+$/g,""),u=IF(s);u!==null&&(Ee(u,e)||P({message:og.rejected,messageArgs:[u],node:n,index:o,endIndex:o+i.length,result:r,ruleName:cs}))})})},Vn.primaryOptionArray=!0,Vn.ruleName=cs,Vn.messages=og,Vn.meta=$S,LF=Vn}),FF={};N(FF,{default:()=>MF});var ds,ag,BS,Qn,MF,_7=y(()=>{q(),cd(),jF(),ih(),Le(),I(),D(),F(),ds="function-url-scheme-disallowed-list",ag=j(ds,{rejected:e=>`Disallowed URL scheme "${e}:"`}),BS={url:"https://stylelint.io/user-guide/rules/function-url-scheme-disallowed-list"},Qn=e=>(t,r)=>{L(r,ds,{actual:e,possible:[$,U]})&&t.walkDecls(n=>{ud(n.toString().toLowerCase(),"url",(i,o)=>{let a=i.trim();if(!nh(a))return;let s=a.replace(/^['"]+|['"]+$/g,""),u=IF(s);u!==null&&Ee(u,e)&&P({message:ag.rejected,messageArgs:[u],node:n,index:o,endIndex:o+i.length,result:r,ruleName:ds})})})},Qn.primaryOptionArray=!0,Qn.ruleName=ds,Qn.messages=ag,Qn.meta=BS,MF=Qn}),RF={};N(RF,{default:()=>$F});function U7(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(rv.has(r))return t[0+n];if(nv.has(r))return t[2+n]}var sg,ps,lg,qS,ms,$F,V7=y(()=>{sg=re(me(),1),Nr(),X(),Ye(),qe(),V(),I(),D(),Bt(),F(),ps="hue-degree-notation",lg=j(ps,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),qS={url:"https://stylelint.io/user-guide/rules/hue-degree-notation",fixable:!0},ms=e=>(t,r)=>{L(r,ps,{actual:e,possible:["angle","number"]})&&t.walkDecls(n=>{if(!Y.hueColorFunction.test(n.value))return;let i=(0,sg.default)(Qe(n));i.walk(o=>{if(o.type!=="function")return;let a=o.value.toLowerCase();if(!Hy.has(a))return;let s=U7(o);if(!s)return;let{value:u}=s;if(!$e(u))return;let l=sg.default.unit(u);if(!l)return;let c=l.unit.toLowerCase()==="deg",d=l.unit==="";if(!c&&!d||e==="angle"&&c||e==="number"&&d)return;let p=e==="angle"?`${l.number}deg`:l.number,h=u,v=ie(n),m=()=>{s.value=p,$t(n,i.toString())};P({message:lg.expected,messageArgs:[h,p],node:n,index:v+s.sourceIndex,endIndex:v+s.sourceEndIndex,result:r,ruleName:ps,fix:{apply:m,node:n}})})})},ms.ruleName=ps,ms.messages=lg,ms.meta=qS,$F=ms});function BF(e,t){let r=e.raws;return r.params?r.params.raw=t:e.params=t,e}var qF=y(()=>{}),WF={};N(WF,{default:()=>_F});var hs,fs,lp,WS,ug,gs,_F,Q7=y(()=>{hs=re(me(),1),X(),V(),st(),I(),D(),qF(),F(),fs="import-notation",lp=j(fs,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),WS={url:"https://stylelint.io/user-guide/rules/import-notation",fixable:!0},ug=(e,t,r)=>()=>{let n=e.params.slice(r);BF(e,`${t}${n}`)},gs=e=>(t,r)=>{if(!L(r,fs,{actual:e,possible:["string","url"]}))return;t.walkAtRules(we.importName,n);function n(i){var u;let o=at(i);if(e==="string"&&!/url\(/i.test(o)||e==="url"&&/url\(/i.test(o))return;let a=Te(i),s=(0,hs.default)(o);for(let l of s.nodes){let{sourceEndIndex:c,type:d,value:p}=l,h=a+c,v={node:i,index:a,endIndex:h,result:r,ruleName:fs};if(e==="string"){if(d!=="function"||p.toLowerCase()!=="url")continue;let m=hs.default.stringify(l),b=hs.default.stringify(l.nodes),g=((u=l.nodes[0])==null?void 0:u.type)==="word"?`"${b}"`:b,f=ug(i,g,c),x=lp.expected;P({...v,message:x,messageArgs:[m,g],fix:{apply:f,node:v.node}});return}if(e==="url"){if(d==="space")return;if(d!=="word"&&d!=="string")continue;let m=`url(${hs.default.stringify(l)})`,b=d==="word"?`"${p}"`:`${l.quote}${p}${l.quote}`,g=ug(i,m,c),f=lp.expected;P({...v,message:f,messageArgs:[b,m],fix:{apply:g,node:v.node}});return}}}},gs.ruleName=fs,gs.messages=lp,gs.meta=WS,_F=gs}),UF=G((e,t)=>{"use strict";e.__esModule=!0,e.default=i;function r(o){for(var a=o.toLowerCase(),s="",u=!1,l=0;l<6&&a[l]!==void 0;l++){var c=a.charCodeAt(l),d=c>=97&&c<=102||c>=48&&c<=57;if(u=c===32,!d)break;s+=a[l]}if(s.length!==0){var p=parseInt(s,16),h=p>=55296&&p<=57343;return h||p===0||p>1114111?["�",s.length+(u?1:0)]:[String.fromCodePoint(p),s.length+(u?1:0)]}}var n=/\\/;function i(o){var a=n.test(o);if(!a)return o;for(var s="",u=0;u<o.length;u++){if(o[u]==="\\"){var l=r(o.slice(u+1,u+7));if(l!==void 0){s+=l[0],u+=l[1];continue}if(o[u+1]==="\\"){s+="\\",u++;continue}o.length===u+1&&(s+=o[u]);continue}s+=o[u]}return s}t.exports=e.default}),Y7=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}),G7=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}),K7=G((e,t)=>{var r=()=>{};t.exports=r,t.exports.default=r}),oh=G(e=>{"use strict";e.__esModule=!0,e.unesc=e.stripComments=e.getProp=e.ensureObject=void 0;var t=o(UF());e.unesc=t.default;var r=o(Y7());e.getProp=r.default;var n=o(G7());e.ensureObject=n.default;var i=o(K7());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=oh();function n(s,u){for(var l=0;l<u.length;l++){var c=u[l];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(s,c.key,c)}}function i(s,u,l){return u&&n(s.prototype,u),l&&n(s,l),Object.defineProperty(s,"prototype",{writable:!1}),s}var o=function s(u,l){if(typeof u!="object"||u===null)return u;var c=new u.constructor;for(var d in u)if(u.hasOwnProperty(d)){var p=u[d],h=typeof p;d==="parent"&&h==="object"?l&&(c[d]=l):p instanceof Array?c[d]=p.map(function(v){return s(v,c)}):c[d]=s(p,c)}return c},a=(function(){function s(l){l===void 0&&(l={}),Object.assign(this,l),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var u=s.prototype;return u.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},u.replaceWith=function(){if(this.parent){for(var l in arguments)this.parent.insertBefore(this,arguments[l]);this.remove()}return this},u.next=function(){return this.parent.at(this.parent.index(this)+1)},u.prev=function(){return this.parent.at(this.parent.index(this)-1)},u.clone=function(l){l===void 0&&(l={});var c=o(this);for(var d in l)c[d]=l[d];return c},u.appendToPropertyAndEscape=function(l,c,d){this.raws||(this.raws={});var p=this[l],h=this.raws[l];this[l]=p+c,h||d!==c?this.raws[l]=(h||p)+d:delete this.raws[l]},u.setPropertyAndEscape=function(l,c,d){this.raws||(this.raws={}),this[l]=c,this.raws[l]=d},u.setPropertyWithoutEscape=function(l,c){this[l]=c,this.raws&&delete this.raws[l]},u.isAtPosition=function(l,c){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>l||this.source.end.line<l||this.source.start.line===l&&this.source.start.column>c||this.source.end.line===l&&this.source.end.column<c)},u.stringifyProperty=function(l){return this.raws&&this.raws[l]||this[l]},u.valueToString=function(){return String(this.stringifyProperty("value"))},u.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},i(s,[{key:"rawSpaceBefore",get:function(){var l=this.raws&&this.raws.spaces&&this.raws.spaces.before;return l===void 0&&(l=this.spaces&&this.spaces.before),l||""},set:function(l){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=l}},{key:"rawSpaceAfter",get:function(){var l=this.raws&&this.raws.spaces&&this.raws.spaces.after;return l===void 0&&(l=this.spaces.after),l||""},set:function(l){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=l}}]),s})();e.default=a,t.exports=e.default}),ft=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 u="comment";e.COMMENT=u;var l="combinator";e.COMBINATOR=l;var c="class";e.CLASS=c;var d="attribute";e.ATTRIBUTE=d;var p="universal";e.UNIVERSAL=p}),nk=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=a(nn()),n=o(ft());function i(m){if(typeof WeakMap!="function")return null;var b=new WeakMap,g=new WeakMap;return(i=function(f){return f?g:b})(m)}function o(m,b){if(!b&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var g=i(b);if(g&&g.has(m))return g.get(m);var f={},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in m)if(w!=="default"&&Object.prototype.hasOwnProperty.call(m,w)){var k=x?Object.getOwnPropertyDescriptor(m,w):null;k&&(k.get||k.set)?Object.defineProperty(f,w,k):f[w]=m[w]}return f.default=m,g&&g.set(m,f),f}function a(m){return m&&m.__esModule?m:{default:m}}function s(m,b){var g=typeof Symbol<"u"&&m[Symbol.iterator]||m["@@iterator"];if(g)return(g=g.call(m)).next.bind(g);if(Array.isArray(m)||(g=u(m))||b&&m&&typeof m.length=="number"){g&&(m=g);var f=0;return function(){return f>=m.length?{done:!0}:{done:!1,value:m[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 u(m,b){if(m){if(typeof m=="string")return l(m,b);var g=Object.prototype.toString.call(m).slice(8,-1);if(g==="Object"&&m.constructor&&(g=m.constructor.name),g==="Map"||g==="Set")return Array.from(m);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return l(m,b)}}function l(m,b){(b==null||b>m.length)&&(b=m.length);for(var g=0,f=new Array(b);g<b;g++)f[g]=m[g];return f}function c(m,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(m,f.key,f)}}function d(m,b,g){return b&&c(m.prototype,b),g&&c(m,g),Object.defineProperty(m,"prototype",{writable:!1}),m}function p(m,b){m.prototype=Object.create(b.prototype),m.prototype.constructor=m,h(m,b)}function h(m,b){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(g,f){return g.__proto__=f,g},h(m,b)}var v=(function(m){p(b,m);function b(f){var x;return x=m.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 A;for(var T in this.indexes)A=this.indexes[T],k<A&&(this.indexes[T]=A+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 A;for(var T in this.indexes)A=this.indexes[T],A>=k&&(this.indexes[T]=A+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 A=f.call(x,S);return w.push(S),A?(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}),VF=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nk()),n=ft();function i(c){return c&&c.__esModule?c:{default:c}}function o(c,d){for(var p=0;p<d.length;p++){var h=d[p];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(c,h.key,h)}}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,u(c,d)}function u(c,d){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,h){return p.__proto__=h,p},u(c,d)}var l=(function(c){s(d,c);function d(h){var v;return v=c.call(this,h)||this,v.type=n.ROOT,v}var p=d.prototype;return p.toString=function(){var h=this.reduce(function(v,m){return v.push(String(m)),v},[]).join(",");return this.trailingComma?h+",":h},p.error=function(h,v){return this._error?this._error(h,v):new Error(h)},a(d,[{key:"errorGenerator",set:function(h){this._error=h}}]),d})(r.default);e.default=l,t.exports=e.default}),QF=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nk()),n=ft();function i(u){return u&&u.__esModule?u:{default:u}}function o(u,l){u.prototype=Object.create(l.prototype),u.prototype.constructor=u,a(u,l)}function a(u,l){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(u,l)}var s=(function(u){o(l,u);function l(c){var d;return d=u.call(this,c)||this,d.type=n.SELECTOR,d}return l})(r.default);e.default=s,t.exports=e.default}),ik=G((e,t)=>{"use strict";var r={},n=r.hasOwnProperty,i=function(l,c){if(!l)return c;var d={};for(var p in c)d[p]=n.call(l,p)?l[p]:c[p];return d},o=/[ -,\.\/:-@\[-\^`\{-~]/,a=/[ -,\.\/:-@\[\]\^`\{-~]/,s=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,u=function l(c,d){d=i(d,l.options),d.quotes!="single"&&d.quotes!="double"&&(d.quotes="single");for(var p=d.quotes=="double"?'"':"'",h=d.isIdentifier,v=c.charAt(0),m="",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=="\\"||!h&&(f=='"'&&p==f||f=="'"&&p==f)||h&&a.test(f)?w="\\"+f:w=f;m+=w}return h&&(/^-[-\d]/.test(m)?m="\\-"+m.slice(1):/\d/.test(v)&&(m="\\3"+v+" "+m.slice(1))),m=m.replace(s,function(S,E,A){return E&&E.length%2?S:(E||"")+A}),!h&&d.wrap?p+m+p:m};u.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},u.version="3.0.0",t.exports=u}),YF=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=a(ik()),n=oh(),i=a(nn()),o=ft();function a(p){return p&&p.__esModule?p:{default:p}}function s(p,h){for(var v=0;v<h.length;v++){var m=h[v];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(p,m.key,m)}}function u(p,h,v){return h&&s(p.prototype,h),v&&s(p,v),Object.defineProperty(p,"prototype",{writable:!1}),p}function l(p,h){p.prototype=Object.create(h.prototype),p.prototype.constructor=p,c(p,h)}function c(p,h){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(v,m){return v.__proto__=m,v},c(p,h)}var d=(function(p){l(h,p);function h(m){var b;return b=p.call(this,m)||this,b.type=o.CLASS,b._constructed=!0,b}var v=h.prototype;return v.valueToString=function(){return"."+p.prototype.valueToString.call(this)},u(h,[{key:"value",get:function(){return this._value},set:function(m){if(this._constructed){var b=(0,r.default)(m,{isIdentifier:!0});b!==m?((0,n.ensureObject)(this,"raws"),this.raws.value=b):this.raws&&delete this.raws.value}this._value=m}}]),h})(i.default);e.default=d,t.exports=e.default}),GF=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=ft();function i(u){return u&&u.__esModule?u:{default:u}}function o(u,l){u.prototype=Object.create(l.prototype),u.prototype.constructor=u,a(u,l)}function a(u,l){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(u,l)}var s=(function(u){o(l,u);function l(c){var d;return d=u.call(this,c)||this,d.type=n.COMMENT,d}return l})(r.default);e.default=s,t.exports=e.default}),KF=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=ft();function i(u){return u&&u.__esModule?u:{default:u}}function o(u,l){u.prototype=Object.create(l.prototype),u.prototype.constructor=u,a(u,l)}function a(u,l){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(u,l)}var s=(function(u){o(l,u);function l(d){var p;return p=u.call(this,d)||this,p.type=n.ID,p}var c=l.prototype;return c.valueToString=function(){return"#"+u.prototype.valueToString.call(this)},l})(r.default);e.default=s,t.exports=e.default}),ok=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=o(ik()),n=oh(),i=o(nn());function o(d){return d&&d.__esModule?d:{default:d}}function a(d,p){for(var h=0;h<p.length;h++){var v=p[h];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(d,v.key,v)}}function s(d,p,h){return p&&a(d.prototype,p),h&&a(d,h),Object.defineProperty(d,"prototype",{writable:!1}),d}function u(d,p){d.prototype=Object.create(p.prototype),d.prototype.constructor=d,l(d,p)}function l(d,p){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(h,v){return h.__proto__=v,h},l(d,p)}var c=(function(d){u(p,d);function p(){return d.apply(this,arguments)||this}var h=p.prototype;return h.qualifiedName=function(v){return this.namespace?this.namespaceString+"|"+v:v},h.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 m=(0,r.default)(v,{isIdentifier:!0});this._namespace=v,m!==v?((0,n.ensureObject)(this,"raws"),this.raws.namespace=m):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}),HF=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(ok()),n=ft();function i(u){return u&&u.__esModule?u:{default:u}}function o(u,l){u.prototype=Object.create(l.prototype),u.prototype.constructor=u,a(u,l)}function a(u,l){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(u,l)}var s=(function(u){o(l,u);function l(c){var d;return d=u.call(this,c)||this,d.type=n.TAG,d}return l})(r.default);e.default=s,t.exports=e.default}),ZF=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=ft();function i(u){return u&&u.__esModule?u:{default:u}}function o(u,l){u.prototype=Object.create(l.prototype),u.prototype.constructor=u,a(u,l)}function a(u,l){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(u,l)}var s=(function(u){o(l,u);function l(c){var d;return d=u.call(this,c)||this,d.type=n.STRING,d}return l})(r.default);e.default=s,t.exports=e.default}),XF=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nk()),n=ft();function i(u){return u&&u.__esModule?u:{default:u}}function o(u,l){u.prototype=Object.create(l.prototype),u.prototype.constructor=u,a(u,l)}function a(u,l){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(u,l)}var s=(function(u){o(l,u);function l(d){var p;return p=u.call(this,d)||this,p.type=n.PSEUDO,p}var c=l.prototype;return c.toString=function(){var d=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),d,this.rawSpaceAfter].join("")},l})(r.default);e.default=s,t.exports=e.default}),H7=G((e,t)=>{"use strict";t.exports=()=>()=>{}}),JF=G(e=>{"use strict";e.__esModule=!0,e.default=void 0,e.unescapeValue=b;var t=a(ik()),r=a(UF()),n=a(ok()),i=ft(),o;function a(k){return k&&k.__esModule?k:{default:k}}function s(k,S){for(var E=0;E<S.length;E++){var A=S[E];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(k,A.key,A)}}function u(k,S,E){return S&&s(k.prototype,S),E&&s(k,E),Object.defineProperty(k,"prototype",{writable:!1}),k}function l(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,A){return E.__proto__=A,E},c(k,S)}var d=H7(),p=/^('|")([^]*)\1$/,h=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."),m=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,A=k,T=A.match(p);return T&&(E=T[1],A=T[2]),A=(0,r.default)(A),A!==k&&(S=!0),{deprecatedUsage:S,unescaped:A,quoteMark:E}}function g(k){if(k.quoteMark!==void 0||k.value===void 0)return k;m();var S=b(k.value),E=S.quoteMark,A=S.unescaped;return k.raws||(k.raws={}),k.raws.value===void 0&&(k.raws.value=k.value),k.value=A,k.quoteMark=E,k}var f=(function(k){l(S,k);function S(A){var T;return A===void 0&&(A={}),T=k.call(this,g(A))||this,T.type=i.ATTRIBUTE,T.raws=T.raws||{},Object.defineProperty(T.raws,"unquoted",{get:d(function(){return T.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:d(function(){return T.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),T._constructed=!0,T}var E=S.prototype;return E._syncRawValue=function(){var A=(0,t.default)(this._value,x[this.quoteMark]);A===this._value?this.raws&&delete this.raws.value:this.raws.value=A},E._handleEscapes=function(A,T){if(this._constructed){var z=(0,t.default)(T,{isIdentifier:!0});z!==T?this.raws[A]=z:delete this.raws[A]}},E._spacesFor=function(A){var T={before:"",after:""},z=this.spaces[A]||{},B=this.raws.spaces&&this.raws.spaces[A]||{};return Object.assign(T,z,B)},E._stringFor=function(A,T,z){T===void 0&&(T=A),z===void 0&&(z=w);var B=this._spacesFor(T);return z(this.stringifyProperty(A),B)},E.offsetOf=function(A){var T=1,z=this._spacesFor("attribute");if(T+=z.before.length,A==="namespace"||A==="ns")return this.namespace?T:-1;if(A==="attributeNS"||(T+=this.namespaceString.length,this.namespace&&(T+=1),A==="attribute"))return T;T+=this.stringifyProperty("attribute").length,T+=z.after.length;var B=this._spacesFor("operator");T+=B.before.length;var te=this.stringifyProperty("operator");if(A==="operator")return te?T:-1;T+=te.length,T+=B.after.length;var J=this._spacesFor("value");T+=J.before.length;var ve=this.stringifyProperty("value");if(A==="value")return ve?T:-1;T+=ve.length,T+=J.after.length;var ce=this._spacesFor("insensitive");return T+=ce.before.length,A==="insensitive"&&this.insensitive?T:-1},E.toString=function(){var A=this,T=[this.rawSpaceBefore,"["];return T.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(T.push(this._stringFor("operator")),T.push(this._stringFor("value")),T.push(this._stringFor("insensitiveFlag","insensitive",function(z,B){return z.length>0&&!A.quoted&&B.before.length===0&&!(A.spaces.value&&A.spaces.value.after)&&(B.before=" "),w(z,B)}))),T.push("]"),T.push(this.rawSpaceAfter),T.join("")},u(S,[{key:"quoted",get:function(){var A=this.quoteMark;return A==="'"||A==='"'},set:function(A){v()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(A){if(!this._constructed){this._quoteMark=A;return}this._quoteMark!==A&&(this._quoteMark=A,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(A){if(this._constructed){var T=b(A),z=T.deprecatedUsage,B=T.unescaped,te=T.quoteMark;if(z&&h(),B===this._value&&te===this._quoteMark)return;this._value=B,this._quoteMark=te,this._syncRawValue()}else this._value=A}},{key:"insensitive",get:function(){return this._insensitive},set:function(A){A||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag==="I"||this.raws.insensitiveFlag==="i")&&(this.raws.insensitiveFlag=void 0)),this._insensitive=A}},{key:"attribute",get:function(){return this._attribute},set:function(A){this._handleEscapes("attribute",A),this._attribute=A}}]),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}}),eM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(ok()),n=ft();function i(u){return u&&u.__esModule?u:{default:u}}function o(u,l){u.prototype=Object.create(l.prototype),u.prototype.constructor=u,a(u,l)}function a(u,l){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(u,l)}var s=(function(u){o(l,u);function l(c){var d;return d=u.call(this,c)||this,d.type=n.UNIVERSAL,d.value="*",d}return l})(r.default);e.default=s,t.exports=e.default}),tM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=ft();function i(u){return u&&u.__esModule?u:{default:u}}function o(u,l){u.prototype=Object.create(l.prototype),u.prototype.constructor=u,a(u,l)}function a(u,l){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(u,l)}var s=(function(u){o(l,u);function l(c){var d;return d=u.call(this,c)||this,d.type=n.COMBINATOR,d}return l})(r.default);e.default=s,t.exports=e.default}),rM=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=ft();function i(u){return u&&u.__esModule?u:{default:u}}function o(u,l){u.prototype=Object.create(l.prototype),u.prototype.constructor=u,a(u,l)}function a(u,l){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,d){return c.__proto__=d,c},a(u,l)}var s=(function(u){o(l,u);function l(c){var d;return d=u.call(this,c)||this,d.type=n.NESTING,d.value="&",d}return l})(r.default);e.default=s,t.exports=e.default}),Z7=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}),nM=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 u=41;e.closeParenthesis=u;var l=91;e.openSquare=l;var c=93;e.closeSquare=c;var d=36;e.dollar=d;var p=126;e.tilde=p;var h=94;e.caret=h;var v=43;e.plus=v;var m=61;e.equals=m;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 A=13;e.cr=A;var T=12;e.feed=T;var z=10;e.newline=z;var B=9;e.tab=B;var te=x;e.str=te;var J=-1;e.comment=J;var ve=-2;e.word=ve;var ce=-3;e.combinator=ce}),X7=G(e=>{"use strict";e.__esModule=!0,e.FIELDS=void 0,e.default=v;var t=o(nM()),r,n;function i(m){if(typeof WeakMap!="function")return null;var b=new WeakMap,g=new WeakMap;return(i=function(f){return f?g:b})(m)}function o(m,b){if(!b&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var g=i(b);if(g&&g.has(m))return g.get(m);var f={},x=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in m)if(w!=="default"&&Object.prototype.hasOwnProperty.call(m,w)){var k=x?Object.getOwnPropertyDescriptor(m,w):null;k&&(k.get||k.set)?Object.defineProperty(f,w,k):f[w]=m[w]}return f.default=m,g&&g.set(m,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),u={},l="0123456789abcdefABCDEF";for(c=0;c<l.length;c++)u[l.charCodeAt(c)]=!0;var c;function d(m,b){var g=b,f;do{if(f=m.charCodeAt(g),s[f])return g-1;f===t.backslash?g=p(m,g)+1:g++}while(g<m.length);return g-1}function p(m,b){var g=b,f=m.charCodeAt(g+1);if(!a[f])if(u[f]){var x=0;do g++,x++,f=m.charCodeAt(g+1);while(u[f]&&x<6);x<6&&f===t.space&&g++}else g++;return g}var h={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};e.FIELDS=h;function v(m){var b=[],g=m.css.valueOf(),f=g,x=f.length,w=-1,k=1,S=0,E=0,A,T,z,B,te,J,ve,ce,le,Re,Be,ct,Ze;function Q(K,O){if(m.safe)g+=O,le=g.length-1;else throw m.error("Unclosed "+K,k,S-w,S)}for(;S<x;){switch(A=g.charCodeAt(S),A===t.newline&&(w=S,k+=1),A){case t.space:case t.tab:case t.newline:case t.cr:case t.feed:le=S;do le+=1,A=g.charCodeAt(le),A===t.newline&&(w=le,k+=1);while(A===t.space||A===t.newline||A===t.tab||A===t.cr||A===t.feed);Ze=t.space,B=k,z=le-w-1,E=le;break;case t.plus:case t.greaterThan:case t.tilde:case t.pipe:le=S;do le+=1,A=g.charCodeAt(le);while(A===t.plus||A===t.greaterThan||A===t.tilde||A===t.pipe);Ze=t.combinator,B=k,z=S-w,E=le;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:le=S,Ze=A,B=k,z=S-w,E=le+1;break;case t.singleQuote:case t.doubleQuote:ct=A===t.singleQuote?"'":'"',le=S;do for(te=!1,le=g.indexOf(ct,le+1),le===-1&&Q("quote",ct),J=le;g.charCodeAt(J-1)===t.backslash;)J-=1,te=!te;while(te);Ze=t.str,B=k,z=S-w,E=le+1;break;default:A===t.slash&&g.charCodeAt(S+1)===t.asterisk?(le=g.indexOf("*/",S+2)+1,le===0&&Q("comment","*/"),T=g.slice(S,le+1),ce=T.split(`
|
|
36
|
-
`),ve=ce.length-1,ve>0?(Re=k+ve,Be=le-ce[ve].length):(Re=k,Be=w),Ze=t.comment,k=Re,B=Re,z=le-Be):A===t.slash?(le=S,Ze=A,B=k,z=S-w,E=le+1):(le=d(g,S),Ze=t.word,B=k,z=le-w),E=le+1;break}b.push([Ze,k,S-w,B,z,S,E]),Be&&(w=Be,Be=null),S=E}return b}}),J7=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=E(VF()),n=E(QF()),i=E(YF()),o=E(GF()),a=E(KF()),s=E(HF()),u=E(ZF()),l=E(XF()),c=S(JF()),d=E(eM()),p=E(tM()),h=E(rM()),v=E(Z7()),m=S(X7()),b=S(nM()),g=S(ft()),f=oh(),x,w;function k(Q){if(typeof WeakMap!="function")return null;var K=new WeakMap,O=new WeakMap;return(k=function(W){return W?O:K})(Q)}function S(Q,K){if(!K&&Q&&Q.__esModule)return Q;if(Q===null||typeof Q!="object"&&typeof Q!="function")return{default:Q};var O=k(K);if(O&&O.has(Q))return O.get(Q);var W={},Z=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var M in Q)if(M!=="default"&&Object.prototype.hasOwnProperty.call(Q,M)){var ee=Z?Object.getOwnPropertyDescriptor(Q,M):null;ee&&(ee.get||ee.set)?Object.defineProperty(W,M,ee):W[M]=Q[M]}return W.default=Q,O&&O.set(Q,W),W}function E(Q){return Q&&Q.__esModule?Q:{default:Q}}function A(Q,K){for(var O=0;O<K.length;O++){var W=K[O];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(Q,W.key,W)}}function T(Q,K,O){return K&&A(Q.prototype,K),O&&A(Q,O),Object.defineProperty(Q,"prototype",{writable:!1}),Q}var z=(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({},z,(w={},w[b.comment]=!0,w));function te(Q){return{line:Q[m.FIELDS.START_LINE],column:Q[m.FIELDS.START_COL]}}function J(Q){return{line:Q[m.FIELDS.END_LINE],column:Q[m.FIELDS.END_COL]}}function ve(Q,K,O,W){return{start:{line:Q,column:K},end:{line:O,column:W}}}function ce(Q){return ve(Q[m.FIELDS.START_LINE],Q[m.FIELDS.START_COL],Q[m.FIELDS.END_LINE],Q[m.FIELDS.END_COL])}function le(Q,K){if(Q)return ve(Q[m.FIELDS.START_LINE],Q[m.FIELDS.START_COL],K[m.FIELDS.END_LINE],K[m.FIELDS.END_COL])}function Re(Q,K){var O=Q[K];if(typeof O=="string")return O.indexOf("\\")!==-1&&((0,f.ensureObject)(Q,"raws"),Q[K]=(0,f.unesc)(O),Q.raws[K]===void 0&&(Q.raws[K]=O)),Q}function Be(Q,K){for(var O=-1,W=[];(O=Q.indexOf(K,O+1))!==-1;)W.push(O);return W}function ct(){var Q=Array.prototype.concat.apply([],arguments);return Q.filter(function(K,O){return O===Q.indexOf(K)})}var Ze=(function(){function Q(O,W){W===void 0&&(W={}),this.rule=O,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,m.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var Z=le(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 K=Q.prototype;return K._errorGenerator=function(){var O=this;return function(W,Z){return typeof O.rule=="string"?new Error(W):O.rule.error(W,Z)}},K.attribute=function(){var O=[],W=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[m.FIELDS.TYPE]!==b.closeSquare;)O.push(this.currToken),this.position++;if(this.currToken[m.FIELDS.TYPE]!==b.closeSquare)return this.expected("closing square bracket",this.currToken[m.FIELDS.START_POS]);var Z=O.length,M={source:ve(W[1],W[2],this.currToken[3],this.currToken[4]),sourceIndex:W[m.FIELDS.START_POS]};if(Z===1&&!~[b.word].indexOf(O[0][m.FIELDS.TYPE]))return this.expected("attribute",O[0][m.FIELDS.START_POS]);for(var ee=0,ge="",xe="",oe=null,Fe=!1;ee<Z;){var nt=O[ee],fe=this.content(nt),We=O[ee+1];switch(nt[m.FIELDS.TYPE]){case b.space:if(Fe=!0,this.options.lossy)break;if(oe){(0,f.ensureObject)(M,"spaces",oe);var Or=M.spaces[oe].after||"";M.spaces[oe].after=Or+fe;var pr=(0,f.getProp)(M,"raws","spaces",oe,"after")||null;pr&&(M.raws.spaces[oe].after=pr+fe)}else ge=ge+fe,xe=xe+fe;break;case b.asterisk:if(We[m.FIELDS.TYPE]===b.equals)M.operator=fe,oe="operator";else if((!M.namespace||oe==="namespace"&&!Fe)&&We){ge&&((0,f.ensureObject)(M,"spaces","attribute"),M.spaces.attribute.before=ge,ge=""),xe&&((0,f.ensureObject)(M,"raws","spaces","attribute"),M.raws.spaces.attribute.before=ge,xe=""),M.namespace=(M.namespace||"")+fe;var Ot=(0,f.getProp)(M,"raws","namespace")||null;Ot&&(M.raws.namespace+=fe),oe="namespace"}Fe=!1;break;case b.dollar:if(oe==="value"){var dt=(0,f.getProp)(M,"raws","value");M.value+="$",dt&&(M.raws.value=dt+"$");break}case b.caret:We[m.FIELDS.TYPE]===b.equals&&(M.operator=fe,oe="operator"),Fe=!1;break;case b.combinator:if(fe==="~"&&We[m.FIELDS.TYPE]===b.equals&&(M.operator=fe,oe="operator"),fe!=="|"){Fe=!1;break}We[m.FIELDS.TYPE]===b.equals?(M.operator=fe,oe="operator"):!M.namespace&&!M.attribute&&(M.namespace=!0),Fe=!1;break;case b.word:if(We&&this.content(We)==="|"&&O[ee+2]&&O[ee+2][m.FIELDS.TYPE]!==b.equals&&!M.operator&&!M.namespace)M.namespace=fe,oe="namespace";else if(!M.attribute||oe==="attribute"&&!Fe){ge&&((0,f.ensureObject)(M,"spaces","attribute"),M.spaces.attribute.before=ge,ge=""),xe&&((0,f.ensureObject)(M,"raws","spaces","attribute"),M.raws.spaces.attribute.before=xe,xe=""),M.attribute=(M.attribute||"")+fe;var Xt=(0,f.getProp)(M,"raws","attribute")||null;Xt&&(M.raws.attribute+=fe),oe="attribute"}else if(!M.value&&M.value!==""||oe==="value"&&!(Fe||M.quoteMark)){var Jt=(0,f.unesc)(fe),Br=(0,f.getProp)(M,"raws","value")||"",fd=M.value||"";M.value=fd+Jt,M.quoteMark=null,(Jt!==fe||Br)&&((0,f.ensureObject)(M,"raws"),M.raws.value=(Br||fd)+fe),oe="value"}else{var gd=fe==="i"||fe==="I";(M.value||M.value==="")&&(M.quoteMark||Fe)?(M.insensitive=gd,(!gd||fe==="I")&&((0,f.ensureObject)(M,"raws"),M.raws.insensitiveFlag=fe),oe="insensitive",ge&&((0,f.ensureObject)(M,"spaces","insensitive"),M.spaces.insensitive.before=ge,ge=""),xe&&((0,f.ensureObject)(M,"raws","spaces","insensitive"),M.raws.spaces.insensitive.before=xe,xe="")):(M.value||M.value==="")&&(oe="value",M.value+=fe,M.raws.value&&(M.raws.value+=fe))}Fe=!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[m.FIELDS.START_POS]});var to=(0,c.unescapeValue)(fe),f6=to.unescaped,g6=to.quoteMark;M.value=f6,M.quoteMark=g6,oe="value",(0,f.ensureObject)(M,"raws"),M.raws.value=fe,Fe=!1;break;case b.equals:if(!M.attribute)return this.expected("attribute",nt[m.FIELDS.START_POS],fe);if(M.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:nt[m.FIELDS.START_POS]});M.operator=M.operator?M.operator+fe:fe,oe="operator",Fe=!1;break;case b.comment:if(oe)if(Fe||We&&We[m.FIELDS.TYPE]===b.space||oe==="insensitive"){var b6=(0,f.getProp)(M,"spaces",oe,"after")||"",v6=(0,f.getProp)(M,"raws","spaces",oe,"after")||b6;(0,f.ensureObject)(M,"raws","spaces",oe),M.raws.spaces[oe].after=v6+fe}else{var y6=M[oe]||"",w6=(0,f.getProp)(M,"raws",oe)||y6;(0,f.ensureObject)(M,"raws"),M.raws[oe]=w6+fe}else xe=xe+fe;break;default:return this.error('Unexpected "'+fe+'" found.',{index:nt[m.FIELDS.START_POS]})}ee++}Re(M,"attribute"),Re(M,"namespace"),this.newNode(new c.default(M)),this.position++},K.parseWhitespaceEquivalentTokens=function(O){O<0&&(O=this.tokens.length);var W=this.position,Z=[],M="",ee=void 0;do if(z[this.currToken[m.FIELDS.TYPE]])this.options.lossy||(M+=this.content());else if(this.currToken[m.FIELDS.TYPE]===b.comment){var ge={};M&&(ge.before=M,M=""),ee=new o.default({value:this.content(),source:ce(this.currToken),sourceIndex:this.currToken[m.FIELDS.START_POS],spaces:ge}),Z.push(ee)}while(++this.position<O);if(M){if(ee)ee.spaces.after=M;else if(!this.options.lossy){var xe=this.tokens[W],oe=this.tokens[this.position-1];Z.push(new u.default({value:"",source:ve(xe[m.FIELDS.START_LINE],xe[m.FIELDS.START_COL],oe[m.FIELDS.END_LINE],oe[m.FIELDS.END_COL]),sourceIndex:xe[m.FIELDS.START_POS],spaces:{before:M,after:""}}))}}return Z},K.convertWhitespaceNodesToSpace=function(O,W){var Z=this;W===void 0&&(W=!1);var M="",ee="";O.forEach(function(xe){var oe=Z.lossySpace(xe.spaces.before,W),Fe=Z.lossySpace(xe.rawSpaceBefore,W);M+=oe+Z.lossySpace(xe.spaces.after,W&&oe.length===0),ee+=oe+xe.value+Z.lossySpace(xe.rawSpaceAfter,W&&Fe.length===0)}),ee===M&&(ee=void 0);var ge={space:M,rawSpace:ee};return ge},K.isNamedCombinator=function(O){return O===void 0&&(O=this.position),this.tokens[O+0]&&this.tokens[O+0][m.FIELDS.TYPE]===b.slash&&this.tokens[O+1]&&this.tokens[O+1][m.FIELDS.TYPE]===b.word&&this.tokens[O+2]&&this.tokens[O+2][m.FIELDS.TYPE]===b.slash},K.namedCombinator=function(){if(this.isNamedCombinator()){var O=this.content(this.tokens[this.position+1]),W=(0,f.unesc)(O).toLowerCase(),Z={};W!==O&&(Z.value="/"+O+"/");var M=new p.default({value:"/"+W+"/",source:ve(this.currToken[m.FIELDS.START_LINE],this.currToken[m.FIELDS.START_COL],this.tokens[this.position+2][m.FIELDS.END_LINE],this.tokens[this.position+2][m.FIELDS.END_COL]),sourceIndex:this.currToken[m.FIELDS.START_POS],raws:Z});return this.position=this.position+3,M}else this.unexpected()},K.combinator=function(){var O=this;if(this.content()==="|")return this.namespace();var W=this.locateNextMeaningfulToken(this.position);if(W<0||this.tokens[W][m.FIELDS.TYPE]===b.comma||this.tokens[W][m.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),ge=ee.space,xe=ee.rawSpace;xe!==void 0&&(M.rawSpaceAfter+=xe),M.spaces.after+=ge}else Z.forEach(function(Br){return O.newNode(Br)})}return}var oe=this.currToken,Fe=void 0;W>this.position&&(Fe=this.parseWhitespaceEquivalentTokens(W));var nt;if(this.isNamedCombinator()?nt=this.namedCombinator():this.currToken[m.FIELDS.TYPE]===b.combinator?(nt=new p.default({value:this.content(),source:ce(this.currToken),sourceIndex:this.currToken[m.FIELDS.START_POS]}),this.position++):z[this.currToken[m.FIELDS.TYPE]]||Fe||this.unexpected(),nt){if(Fe){var fe=this.convertWhitespaceNodesToSpace(Fe),We=fe.space,Or=fe.rawSpace;nt.spaces.before=We,nt.rawSpaceBefore=Or}}else{var pr=this.convertWhitespaceNodesToSpace(Fe,!0),Ot=pr.space,dt=pr.rawSpace;dt||(dt=Ot);var Xt={},Jt={spaces:{}};Ot.endsWith(" ")&&dt.endsWith(" ")?(Xt.before=Ot.slice(0,Ot.length-1),Jt.spaces.before=dt.slice(0,dt.length-1)):Ot[0]===" "&&dt[0]===" "?(Xt.after=Ot.slice(1),Jt.spaces.after=dt.slice(1)):Jt.value=dt,nt=new p.default({value:" ",source:le(oe,this.tokens[this.position-1]),sourceIndex:oe[m.FIELDS.START_POS],spaces:Xt,raws:Jt})}return this.currToken&&this.currToken[m.FIELDS.TYPE]===b.space&&(nt.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(nt)},K.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var O=new n.default({source:{start:te(this.tokens[this.position+1])},sourceIndex:this.tokens[this.position+1][m.FIELDS.START_POS]});this.current.parent.append(O),this.current=O,this.position++},K.comment=function(){var O=this.currToken;this.newNode(new o.default({value:this.content(),source:ce(O),sourceIndex:O[m.FIELDS.START_POS]})),this.position++},K.error=function(O,W){throw this.root.error(O,W)},K.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[m.FIELDS.START_POS]})},K.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[m.FIELDS.START_POS])},K.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[m.FIELDS.START_POS])},K.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[m.FIELDS.START_POS])},K.unexpectedPipe=function(){return this.error("Unexpected '|'.",this.currToken[m.FIELDS.START_POS])},K.namespace=function(){var O=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[m.FIELDS.TYPE]===b.word)return this.position++,this.word(O);if(this.nextToken[m.FIELDS.TYPE]===b.asterisk)return this.position++,this.universal(O);this.unexpectedPipe()},K.nesting=function(){if(this.nextToken){var O=this.content(this.nextToken);if(O==="|"){this.position++;return}}var W=this.currToken;this.newNode(new h.default({value:this.content(),source:ce(W),sourceIndex:W[m.FIELDS.START_POS]})),this.position++},K.parentheses=function(){var O=this.current.last,W=1;if(this.position++,O&&O.type===g.PSEUDO){var Z=new n.default({source:{start:te(this.tokens[this.position])},sourceIndex:this.tokens[this.position][m.FIELDS.START_POS]}),M=this.current;for(O.append(Z),this.current=Z;this.position<this.tokens.length&&W;)this.currToken[m.FIELDS.TYPE]===b.openParenthesis&&W++,this.currToken[m.FIELDS.TYPE]===b.closeParenthesis&&W--,W?this.parse():(this.current.source.end=J(this.currToken),this.current.parent.source.end=J(this.currToken),this.position++);this.current=M}else{for(var ee=this.currToken,ge="(",xe;this.position<this.tokens.length&&W;)this.currToken[m.FIELDS.TYPE]===b.openParenthesis&&W++,this.currToken[m.FIELDS.TYPE]===b.closeParenthesis&&W--,xe=this.currToken,ge+=this.parseParenthesisToken(this.currToken),this.position++;O?O.appendToPropertyAndEscape("value",ge,ge):this.newNode(new u.default({value:ge,source:ve(ee[m.FIELDS.START_LINE],ee[m.FIELDS.START_COL],xe[m.FIELDS.END_LINE],xe[m.FIELDS.END_COL]),sourceIndex:ee[m.FIELDS.START_POS]}))}if(W)return this.expected("closing parenthesis",this.currToken[m.FIELDS.START_POS])},K.pseudo=function(){for(var O=this,W="",Z=this.currToken;this.currToken&&this.currToken[m.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[m.FIELDS.TYPE]===b.word)this.splitWord(!1,function(M,ee){W+=M,O.newNode(new l.default({value:W,source:le(Z,O.currToken),sourceIndex:Z[m.FIELDS.START_POS]})),ee>1&&O.nextToken&&O.nextToken[m.FIELDS.TYPE]===b.openParenthesis&&O.error("Misplaced parenthesis.",{index:O.nextToken[m.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[m.FIELDS.START_POS])},K.space=function(){var O=this.content();this.position===0||this.prevToken[m.FIELDS.TYPE]===b.comma||this.prevToken[m.FIELDS.TYPE]===b.openParenthesis||this.current.nodes.every(function(W){return W.type==="comment"})?(this.spaces=this.optionalSpace(O),this.position++):this.position===this.tokens.length-1||this.nextToken[m.FIELDS.TYPE]===b.comma||this.nextToken[m.FIELDS.TYPE]===b.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(O),this.position++):this.combinator()},K.string=function(){var O=this.currToken;this.newNode(new u.default({value:this.content(),source:ce(O),sourceIndex:O[m.FIELDS.START_POS]})),this.position++},K.universal=function(O){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:ce(Z),sourceIndex:Z[m.FIELDS.START_POS]}),O),this.position++},K.splitWord=function(O,W){for(var Z=this,M=this.nextToken,ee=this.content();M&&~[b.dollar,b.caret,b.equals,b.word].indexOf(M[m.FIELDS.TYPE]);){this.position++;var ge=this.content();if(ee+=ge,ge.lastIndexOf("\\")===ge.length-1){var xe=this.nextToken;xe&&xe[m.FIELDS.TYPE]===b.space&&(ee+=this.requiredSpace(this.content(xe)),this.position++)}M=this.nextToken}var oe=Be(ee,".").filter(function(We){var Or=ee[We-1]==="\\",pr=/^\d+\.\d+%$/.test(ee);return!Or&&!pr}),Fe=Be(ee,"#").filter(function(We){return ee[We-1]!=="\\"}),nt=Be(ee,"#{");nt.length&&(Fe=Fe.filter(function(We){return!~nt.indexOf(We)}));var fe=(0,v.default)(ct([0].concat(oe,Fe)));fe.forEach(function(We,Or){var pr=fe[Or+1]||ee.length,Ot=ee.slice(We,pr);if(Or===0&&W)return W.call(Z,Ot,fe.length);var dt,Xt=Z.currToken,Jt=Xt[m.FIELDS.START_POS]+fe[Or],Br=ve(Xt[1],Xt[2]+We,Xt[3],Xt[2]+(pr-1));if(~oe.indexOf(We)){var fd={value:Ot.slice(1),source:Br,sourceIndex:Jt};dt=new i.default(Re(fd,"value"))}else if(~Fe.indexOf(We)){var gd={value:Ot.slice(1),source:Br,sourceIndex:Jt};dt=new a.default(Re(gd,"value"))}else{var to={value:Ot,source:Br,sourceIndex:Jt};Re(to,"value"),dt=new s.default(to)}Z.newNode(dt,O),O=null}),this.position++},K.word=function(O){var W=this.nextToken;return W&&this.content(W)==="|"?(this.position++,this.namespace()):this.splitWord(O)},K.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},K.parse=function(O){switch(this.currToken[m.FIELDS.TYPE]){case b.space:this.space();break;case b.comment:this.comment();break;case b.openParenthesis:this.parentheses();break;case b.closeParenthesis:O&&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()}},K.expected=function(O,W,Z){if(Array.isArray(O)){var M=O.pop();O=O.join(", ")+" or "+M}var ee=/^[aeiou]/.test(O[0])?"an":"a";return Z?this.error("Expected "+ee+" "+O+', found "'+Z+'" instead.',{index:W}):this.error("Expected "+ee+" "+O+".",{index:W})},K.requiredSpace=function(O){return this.options.lossy?" ":O},K.optionalSpace=function(O){return this.options.lossy?"":O},K.lossySpace=function(O,W){return this.options.lossy?W?" ":"":O},K.parseParenthesisToken=function(O){var W=this.content(O);return O[m.FIELDS.TYPE]===b.space?this.requiredSpace(W):W},K.newNode=function(O,W){return W&&(/^ +$/.test(W)&&(this.options.lossy||(this.spaces=(this.spaces||"")+W),W=!0),O.namespace=W,Re(O,"namespace")),this.spaces&&(O.spaces.before=this.spaces,this.spaces=""),this.current.append(O)},K.content=function(O){return O===void 0&&(O=this.currToken),this.css.slice(O[m.FIELDS.START_POS],O[m.FIELDS.END_POS])},K.locateNextMeaningfulToken=function(O){O===void 0&&(O=this.position+1);for(var W=O;W<this.tokens.length;)if(B[this.tokens[W][m.FIELDS.TYPE]]){W++;continue}else return W;return-1},T(Q,[{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]}}]),Q})();e.default=Ze,t.exports=e.default}),eU=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=n(J7());function n(o){return o&&o.__esModule?o:{default:o}}var i=(function(){function o(s,u){this.func=s||function(){},this.funcRes=null,this.options=u}var a=o.prototype;return a._isLossy=function(s){s===void 0&&(s={});var u=Object.assign({},this.options,s);return u.lossless===!1},a._root=function(s,u){u===void 0&&(u={});var l=new r.default(s,this._parseOptions(u));return l.root},a._parseOptions=function(s){return{lossy:this._isLossy(s)}},a._runSync=function(s,u){u===void 0&&(u={});var l=this._root(s,u),c=this.func(l);if(c&&typeof c.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var d=void 0;return u.updateSelector&&typeof s!="string"&&(d=l.toString(),s.selector=d),{transform:c,root:l,string:d}},a.astSync=function(s,u){return this._runSync(s,u).root},a.processSync=function(s,u){var l=this._runSync(s,u);return l.string||l.root.toString()},o})();e.default=i,t.exports=e.default}),tU=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=h(JF()),r=h(YF()),n=h(tM()),i=h(GF()),o=h(KF()),a=h(rM()),s=h(XF()),u=h(VF()),l=h(QF()),c=h(ZF()),d=h(HF()),p=h(eM());function h(z){return z&&z.__esModule?z:{default:z}}var v=function(z){return new t.default(z)};e.attribute=v;var m=function(z){return new r.default(z)};e.className=m;var b=function(z){return new n.default(z)};e.combinator=b;var g=function(z){return new i.default(z)};e.comment=g;var f=function(z){return new o.default(z)};e.id=f;var x=function(z){return new a.default(z)};e.nesting=x;var w=function(z){return new s.default(z)};e.pseudo=w;var k=function(z){return new u.default(z)};e.root=k;var S=function(z){return new l.default(z)};e.selector=S;var E=function(z){return new c.default(z)};e.string=E;var A=function(z){return new d.default(z)};e.tag=A;var T=function(z){return new p.default(z)};e.universal=T}),rU=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=ft(),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 u=o.bind(null,t.COMBINATOR);e.isCombinator=u;var l=o.bind(null,t.COMMENT);e.isComment=l;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 h=o.bind(null,t.ROOT);e.isRoot=h;var v=o.bind(null,t.SELECTOR);e.isSelector=v;var m=o.bind(null,t.STRING);e.isString=m;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)}}),nU=G(e=>{"use strict";e.__esModule=!0;var t=ft();Object.keys(t).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===t[i]||(e[i]=t[i])});var r=tU();Object.keys(r).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===r[i]||(e[i]=r[i])});var n=rU();Object.keys(n).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===n[i]||(e[i]=n[i])})}),gt=G((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=a(eU()),n=o(nU());function i(l){if(typeof WeakMap!="function")return null;var c=new WeakMap,d=new WeakMap;return(i=function(p){return p?d:c})(l)}function o(l,c){if(!c&&l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var d=i(c);if(d&&d.has(l))return d.get(l);var p={},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in l)if(v!=="default"&&Object.prototype.hasOwnProperty.call(l,v)){var m=h?Object.getOwnPropertyDescriptor(l,v):null;m&&(m.get||m.set)?Object.defineProperty(p,v,m):p[v]=l[v]}return p.default=l,d&&d.set(l,p),p}function a(l){return l&&l.__esModule?l:{default:l}}var s=function(l){return new r.default(l)};Object.assign(s,n),delete s.__esModule;var u=s;e.default=u,t.exports=e.default});function ot(e){var u,l;let t=e.nodes.findIndex(c=>!uy(c)),r=e.nodes.findLastIndex(c=>!uy(c)),n=e.nodes[t],i=e.nodes[r];if(!n||!i){let c=e.toString().trim(),d=(u=e.sourceIndex)!=null?u: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=(l=n.sourceIndex)!=null?l:0,s=a+o.length;return{selector:o,index:a,endIndex:s}}var _S,uy,kt=y(()=>{_S=re(gt(),1),{isComment:uy}=_S.default});function Ce(e,t,r){if(e)try{return(0,iM.default)().astSync(e)}catch(n){t.warn(`Cannot parse selector (${n})`,{node:r,stylelintType:"parseError"});return}}var iM,Ne=y(()=>{iM=re(gt(),1)}),oM={};N(oM,{default:()=>aM});var bs,cg,US,vs,aM,iU=y(()=>{V(),ke(),kt(),pe(),Ne(),I(),D(),F(),bs="keyframe-block-no-duplicate-selectors",cg=j(bs,{rejected:e=>`Duplicate keyframe selector "${e}"`}),US={url:"https://stylelint.io/user-guide/rules/keyframe-block-no-duplicate-selectors"},vs=e=>(t,r)=>{L(r,bs,{actual:e})&&t.walkAtRules(we.keyframesName,n=>{let i=new Set;n.walkRules(o=>{var a;de(o)&&((a=Ce(be(o),r,o))==null||a.each(s=>{let{selector:u,index:l,endIndex:c}=ot(s),d=u.toLowerCase();if(i.has(d)){P({message:cg.rejected,messageArgs:[u],node:o,result:r,ruleName:bs,index:l,endIndex:c});return}i.add(d)}))})})},vs.ruleName=bs,vs.messages=cg,vs.meta=US,aM=vs}),sM={};N(sM,{default:()=>lM});var ys,dg,VS,ws,lM,oU=y(()=>{q(),V(),eL(),I(),D(),F(),ys="keyframe-declaration-no-important",dg=j(ys,{rejected:"Disallowed !important"}),VS={url:"https://stylelint.io/user-guide/rules/keyframe-declaration-no-important"},ws=e=>(t,r)=>{L(r,ys,{actual:e})&&t.walkAtRules(we.keyframesName,n=>{n.walkDecls(i=>{if(!i.important)return;let o=JD(i.toString());Ue(o),P({message:dg.rejected,messageArgs:[],node:i,index:o.index,endIndex:o.endIndex,result:r,ruleName:ys})})})},ws.ruleName=ys,ws.messages=dg,ws.meta=VS,lM=ws}),uM={};N(uM,{default:()=>cM});function aU(e){let t=e.nodes.filter(i=>!(Op.default.isComment(i)||Op.default.isCombinator(i)&&i.value.trim()===""));if(t.length!==1||!t.every(Op.default.isTag))return;let r=t[0];if(!r)return;let n=r.value.toLowerCase();if(!(!Oi.has(n)&&!xc.has(n)))return[r,n]}function pg(e,t){let r=e.get(t);return _i(r),r}function sU(e){let t=[];return e.walkRules(r=>{t.push(...r.selectors.map(n=>n.toLowerCase()))}),t}var Op,ks,mg,QS,YS,hg,xs,cM,lU=y(()=>{q(),He(),V(),ke(),Ne(),Op=re(gt(),1),Kt(),I(),D(),F(),ks="keyframe-selector-notation",mg=j(ks,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),QS={url:"https://stylelint.io/user-guide/rules/keyframe-selector-notation",fixable:!0},YS=new Map([["0%","from"],["100%","to"]]),hg=new Map([["from","0%"],["to","100%"]]),xs=e=>(t,r)=>{if(!L(r,ks,{actual:e,possible:["keyword","percentage","percentage-unless-within-keyword-only-block"]}))return;let n={keyword:{expFunc:s=>Oi.has(s),fixFunc:s=>pg(YS,s)},percentage:{expFunc:s=>xc.has(s),fixFunc:s=>pg(hg,s)},"percentage-unless-within-keyword-only-block":{expFunc:(s,u)=>u.every(l=>Oi.has(l))?!0:xc.has(s),fixFunc:s=>pg(hg,s)}},{expFunc:i,fixFunc:o}=n[e],a;e==="keyword"?a=Y.percentageKeyframeSelectorWithNamedEquivalent:e==="percentage"?a=Y.namedKeyframeSelectorWithPercentageEquivalent:a=/./,t.walkAtRules(we.keyframesName,s=>{let u=e==="percentage-unless-within-keyword-only-block"?sU(s):[];s.walkRules(a,l=>{let c=be(l),d=Ce(c,r,l);d&&d.each(p=>{let h=aU(p);if(!h)return;let[v,m]=h;if(i(m,u))return;let b=o(m),g=()=>{v.value=b,l.selector=d.toString()};P({message:mg.expected,messageArgs:[v.value,b],node:l,result:r,ruleName:ks,index:v.sourceIndex,endIndex:v.sourceIndex+m.length,fix:{apply:g,node:l}})})})})},xs.ruleName=ks,xs.messages=mg,xs.meta=QS,cM=xs});function uU(e){return!ym(e)}var cU=y(()=>{wm()}),dM={};N(dM,{default:()=>pM});var Ss,fg,GS,Cs,pM,dU=y(()=>{q(),X(),V(),cU(),I(),D(),F(),Ss="keyframes-name-pattern",fg=j(Ss,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),GS={url:"https://stylelint.io/user-guide/rules/keyframes-name-pattern"},Cs=e=>(t,r)=>{if(!L(r,Ss,{actual:e,possible:[U,$]}))return;let n=$(e)?new RegExp(e):e;t.walkAtRules(we.keyframesName,i=>{let o=i.params;if(!uU(o)||n.test(o))return;let a=Te(i),s=a+o.length;P({index:a,endIndex:s,message:fg.expected,messageArgs:[o,e],node:i,ruleName:Ss,result:r})})},Cs.ruleName=Ss,Cs.messages=fg,Cs.meta=GS,pM=Cs}),mM={};N(mM,{default:()=>hM});var gg,As,bg,KS,Ns,hM,pU=y(()=>{gg=re(me(),1),V(),q(),X(),I(),D(),F(),As="layer-name-pattern",bg=j(As,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),KS={url:"https://stylelint.io/user-guide/rules/layer-name-pattern"},Ns=e=>(t,r)=>{if(!L(r,As,{actual:e,possible:[U,$]}))return;let n=$(e)?new RegExp(e):e;t.walkAtRules(we.layerName,o=>{let{params:a}=o;a&&(0,gg.default)(a).walk(s=>{i(s.type,s.value,s.sourceIndex,o)})}),t.walkAtRules(we.importName,o=>{let{params:a}=o;Y.layerFunction.test(a)&&(0,gg.default)(o.params).walk(s=>{if(!(s.type!=="function"||s.value.toLowerCase()!=="layer"))for(let u of s.nodes)i(u.type,u.value,u.sourceIndex,o)})});function i(o,a,s,u){if(o!=="word"||n.test(a))return;let l=Te(u)+s,c=l+a.length;P({message:bg.expected,messageArgs:[a,e],node:u,index:l,endIndex:c,ruleName:As,result:r})}},Ns.ruleName=As,Ns.messages=bg,Ns.meta=KS,hM=Ns});function mU(e){return e.type==="function"&&Yi.has(e.value.toLowerCase())}var hU=y(()=>{Nr()}),fM={};N(fM,{default:()=>gM});function fU({prop:e},t,r){let n=t[r-1];return e.toLowerCase()==="font"&&n&&n.type==="div"&&n.value==="/"}function gU(e){return e.toLowerCase()==="line-height"}function bU(e){return e.toLowerCase()==="flex"}function vU(e){return Ti.has(e.toLowerCase())}function yU(e){return e.toLowerCase()==="fr"}function wU(e){return Number.parseFloat(e)===0}function kU(e){return e===""}var up,zs,vg,HS,Es,gM,xU=y(()=>{up=re(me(),1),X(),he(),q(),st(),Ye(),zr(),hU(),et(),ht(),Vc(),V(),H(),I(),D(),qF(),Bt(),F(),zs="length-zero-no-unit",vg=j(zs,{rejected:"Disallowed unit"}),HS={url:"https://stylelint.io/user-guide/rules/length-zero-no-unit",fixable:!0},Es=(e,t)=>(r,n)=>{if(!L(n,zs,{actual:e},{actual:t,possible:{ignore:["custom-properties"],ignoreFunctions:[$,U],ignorePreludeOfAtRules:[$,U]},optional:!0}))return;function i(s,u,l,c){let{value:d,sourceIndex:p}=l;if(mU(l)||An(l)&&R(t,"ignoreFunctions",d))return!1;if(!km(l))return;let h=up.default.unit(d);if(h===!1)return;let{number:v,unit:m}=h;if(!wU(v)||kU(m)||!vU(m)||yU(m))return;let b=()=>{switch(l.value=v.startsWith(".")?v.slice(1):v,s.type){case"atrule":BF(s,c.toString());break;case"decl":$t(s,c.toString());break}},g=u+p+v.length,f=g+m.length;P({index:g,endIndex:f,message:vg.rejected,messageArgs:[],node:s,result:n,ruleName:zs,fix:{apply:b,node:s}})}function o(s){if(!Y.zeroLength.test(s.params)||!Je(s)||R(t,"ignorePreludeOfAtRules",s.name))return;let u=Te(s),l=(0,up.default)(at(s));l.walk(c=>i(s,u,c,l))}function a(s){let{prop:u,value:l}=s;if(!Y.zeroLength.test(l)||!mt(s)||gU(u)||bU(u)||R(t,"ignore","custom-properties")&&vt(u))return;let c=ie(s),d=(0,up.default)(Qe(s));d.walk((p,h,v)=>{if(!fU(s,v,h))return i(s,c,p,d)})}r.walkAtRules(o),r.walkDecls(a)},Es.ruleName=zs,Es.messages=vg,Es.meta=HS,gM=Es}),bM={};N(bM,{default:()=>yM});function SU(e,t){let r=Number.parseFloat(e);return iv.has(t)?`${r}%`:(Rp.has(t)&&(r*=100),Number.isInteger(r)?`${r}%`:`${vM(r,e)}%`)}function CU(e,t){let r=Number.parseFloat(e);return Rp.has(t)?(r/=100,`${vM(r,e)}`):`${r}`}function vM(e,t){if(e===0)return"0";let r=t.replaceAll("%","").replaceAll(".","").length;return r===0?`${e}`:e.toPrecision(r).replace(/\.?0+$/,"")}function AU({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 yg,Ps,wg,ZS,Os,yM,NU=y(()=>{yg=re(me(),1),Nr(),X(),Ye(),qe(),V(),I(),D(),Bt(),F(),Ps="lightness-notation",wg=j(Ps,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),ZS={url:"https://stylelint.io/user-guide/rules/lightness-notation",fixable:!0},Os=e=>(t,r)=>{L(r,Ps,{actual:e,possible:["percentage","number"]})&&t.walkDecls(n=>{if(!Y.lightnessColorFunction.test(n.value))return;let i=(0,yg.default)(Qe(n));i.walk(o=>{if(o.type!=="function")return;let a=o.value.toLowerCase();if(!Zy.has(a))return;let s=AU(o);if(!s)return;let{value:u}=s;if(!$e(u))return;let l=yg.default.unit(u);if(!l)return;let c=l.unit==="%",d=l.unit==="";if(!c&&!d||e==="percentage"&&c||e==="number"&&d)return;let p=e==="percentage"?SU(u,a):CU(u,a),h=ie(n),v=()=>{s.value=p,$t(n,i.toString())};P({message:wg.expected,messageArgs:[u,p],node:n,index:h+s.sourceIndex,endIndex:h+s.sourceEndIndex,result:r,ruleName:Ps,fix:{apply:v,node:n}})})})},Os.ruleName=Ps,Os.messages=wg,Os.meta=ZS,yM=Os}),wM={};N(wM,{default:()=>kM});function XS(e){return e.startsWith("&:")&&e[2]!==":"?e.slice(2):void 0}var JS,Ts,kg,eC,Is,kM,zU=y(()=>{JS=re(gt(),1),he(),q(),Cm(),pe(),H(),I(),D(),F(),Ts="max-nesting-depth",kg=j(Ts,{expected:e=>`Too deep nesting, maximum ${e}`}),eC={url:"https://stylelint.io/user-guide/rules/max-nesting-depth"},Is=(e,t)=>{let r=o=>Oe(o)&&R(t,"ignoreAtRules",o.name),n=o=>lt(o)&&R(t,"ignoreRules",o.selector);return(o,a)=>{if(!L(a,Ts,{actual:e,possible:[kr]},{optional:!0,actual:t,possible:{ignore:["blockless-at-rules","pseudo-classes"],ignoreAtRules:[$,U],ignoreRules:[$,U],ignorePseudoClasses:[$,U]}}))return;o.walkRules(s),o.walkAtRules(s);function s(u){r(u)||n(u)||!zc(u)||lt(u)&&!de(u)||i(u,0)>e&&P({ruleName:Ts,result:a,node:u,message:kg.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 u(c){return(0,JS.default)().processSync(c,{lossless:!1}).split(",").filter(d=>!R(t,"ignoreRules",d)).every(d=>XS(d))}function l(c){return t&&(t.ignorePseudoClasses||t.ignoreRules)?c.every(d=>{if(t.ignoreRules&&R(t,"ignoreRules",d))return!0;if(!t.ignorePseudoClasses)return!1;let p=XS(d);return p?R(t,"ignorePseudoClasses",p):!1}):!1}return R(t,"ignore","blockless-at-rules")&&Oe(o)&&o.every(c=>!Ui(c))||R(t,"ignore","pseudo-classes")&<(o)&&u(o.selector)||lt(o)&&l(o.selectors)?i(s,a):i(s,a+1)}},Is.ruleName=Ts,Is.messages=kg,Is.meta=eC,kM=Is});function xM(e){return!!(se(e)&&Ae(e.value)||Ge(e)&&LM.has(e.getName().toLowerCase()))}function EU(e){return se(e)&&De(e.value)}function dd(e){return se(e)&&_e(e.value)}function PU(e){return Ge(e)&&e.getName().toLowerCase()==="env"}function mc(e){let t=-1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type!==Pe.Whitespace&&n.type!==Pe.Comment){if(!dd(n)||t!==-1)return!1;t=r}}return t!==-1&&new lk(e[t],e.slice(0,t).flatMap(r=>r.tokens()),e.slice(t+1).flatMap(r=>r.tokens()))}function OU(e){let t=mc(e);return t===!1?t:new uk(t)}function ic(e,t=!1){let r=-1,n=-1;for(let i=0;i<e.length;i++){let o=e[i];if(o.type!==Pe.Whitespace&&o.type!==Pe.Comment){if(r!==-1)return!1;if(xM(o)){let a=SM(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(PU(o))r=i,n=i;else if(EU(o))r=i,n=i;else{if(t||!dd(o))return!1;r=i,n=i}}}return r!==-1&&new ck(e.slice(r,n+1),e.slice(0,r).flatMap(i=>i.tokens()),e.slice(n+1).flatMap(i=>i.tokens()))}function SM(e){let t=-1,r=-1,n=TU(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(!Nt(o))return-1}return[t,r]}function TU(e){let t=-1,r=-1;for(let n=0;n<e.length;n++){let i=e[n];if(!Nt(i)){if(se(i)){let o=i.value;if(Ft(o)&&o[4].value==="/"){if(t===-1||r!==-1)return-1;r=n;continue}}if(!xM(i))return-1;if(r!==-1)return[t,n];if(t!==-1)return-1;t=n}}return-1}function IU(e){let t=[],r=[],n=null;for(let a=0;a<e.length;a++){let s=e[a];if(s.type===Pe.Token){let u=s.value;if(vL(u)){t=e.slice(0,a),r=e.slice(a+1),n=u;break}}}if(!t.length||!r.length||!n)return!1;let i=mc(t);if(i===!1)return!1;let o=ic(r);return o!==!1&&new dk(i,n,o)}function jU(e){let t=-1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type===Pe.Token){let i=n.value;if(Ft(i)){if(i[4].value===Kr.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 yi(e){if(e.length!==1&&e.length!==2||!Ft(e[0]))return!1;if(e.length===1)switch(e[0][4].value){case Kr.EQ:return Kr.EQ;case or.LT:return or.LT;case ar.GT:return ar.GT;default:return!1}if(!Ft(e[1])||e[1][4].value!==Kr.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 DU(e){let t=!1,r=!1;for(let d=0;d<e.length;d++){let p=e[d];if(p.type===Pe.Token){let h=p.value;if(Ft(h)){let v=jU(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),h=mc(d);if(h){let m=ic(p,!0);return!!m&&new sh(h,n,m)}let v=mc(p);if(v){let m=ic(d,!0);return!!m&&new pk(v,n,m)}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),u=ic(o,!0),l=mc(a),c=ic(s,!0);if(!u||!l||!c)return!1;{let d=yi(n);if(d===!1||d===Kr.EQ)return!1;let p=yi(i);if(p===!1||p===Kr.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 mk(l,u,n,c,i)}function CM(e,t=[],r=[]){if(!Ji(e.startToken))return!1;let n=OU(e.value);if(n!==!1)return new hc(n,t,r);let i=IU(e.value);if(i!==!1)return new hc(i,t,r);let o=DU(e.value);return o!==!1&&new hc(o,t,r)}function tC(e){if(!_e(e))return!1;switch(e[4].value.toLowerCase()){case ki.Not:return ki.Not;case ki.Only:return ki.Only;default:return!1}}function LU(e){{let t=ak(e);if(t!==!1)return new Tp(t)}{let t=-1,r=-1,n=-1;for(let s=0;s<e.length;s++){let u=e[s];if(!Mc(u)&&!Gw(u)){if(se(u)){let l=u.value;if(t===-1&&_e(l)&&tC(l)){t=s;continue}if(r===-1&&_e(l)&&!tC(l)){r=s;continue}if(n===-1&&_e(l)&&hk.test(l[4].value)){if(n=s,rC(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=rC(e.slice(Math.max(t,r,n)+1));return a===!1?new Bc(i,[...o,...e.slice(r+1).flatMap(s=>s.tokens())]):new Bc(i,o,e.slice(r+1,n+1).flatMap(s=>s.tokens()),a)}}function FU(e){let t=!1,r=[],n=-1,i=-1;for(let o=0;o<e.length;o++){if(t){let s=MU(e.slice(o));if(s!==!1){o+=s.advance,r.push(s.node),i=o;continue}}let a=e[o];if(a.type!==Pe.Whitespace&&a.type!==Pe.Comment){if(t||t!==!1||!Pr(a)||(a.normalize(),t=pd(a),t===!1))return!1;n=o}}return!(!t||!r.length)&&new DM(t,r,e.slice(0,n).flatMap(o=>o.tokens()),e.slice(i+1).flatMap(o=>o.tokens()))}function AM(e){let t=!1,r=[],n=-1,i=-1;for(let o=0;o<e.length;o++){if(t){let s=RU(e.slice(o));if(s!==!1){o+=s.advance,r.push(s.node),i=o;continue}}let a=e[o];if(a.type!==Pe.Whitespace&&a.type!==Pe.Comment){if(t||t!==!1||!Pr(a)||(a.normalize(),t=pd(a),t===!1))return!1;n=o}}return!(!t||!r.length)&&new jM(t,r,e.slice(0,n).flatMap(o=>o.tokens()),e.slice(i+1).flatMap(o=>o.tokens()))}function ak(e){let t=zM(e);if(t!==!1)return new wr(t);let r=AM(e);if(r!==!1)return new wr(r);let n=FU(e);if(n!==!1)return new wr(n);let i=NM(e);return i!==!1&&new wr(i)}function rC(e){let t=zM(e);if(t!==!1)return new wr(t);let r=AM(e);if(r!==!1)return new wr(r);let n=NM(e);return n!==!1&&new wr(n)}function NM(e){let t=-1;for(let s=0;s<e.length;s++){let u=e[s];if(u.type!==Pe.Whitespace&&u.type!==Pe.Comment){if(!Pr(u)||t!==-1)return!1;t=s}}if(t===-1)return!1;let r=e[t];if(!Ji(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=CM(r,n,i);if(o!==!1)return new Gr(o);let a=ak(r.value);return a!==!1?new Gr(a,n,i):new Gr(new ah(r),e.slice(0,t).flatMap(s=>s.tokens()),e.slice(t+1).flatMap(s=>s.tokens()))}function pd(e){if(!Ji(e.startToken))return!1;let t=CM(e,[e.startToken],[e.endToken]);if(t!==!1)return new Gr(t);let r=ak(e.value);return r!==!1?new Gr(r,[e.startToken],[e.endToken]):new Gr(new ah(e))}function zM(e){let t=!1,r=null;for(let n=0;n<e.length;n++){let i=e[n];if(i.type!==Pe.Whitespace&&i.type!==Pe.Comment){if(dd(i)){let o=i.value;if(RM.test(o[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&Pr(i)){i.normalize();let o=pd(i);if(o===!1)return!1;r=new FM(e.slice(0,n).flatMap(a=>a.tokens()),o);continue}return!1}}return r||!1}function MU(e){let t=!1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type!==Pe.Whitespace&&n.type!==Pe.Comment){if(dd(n)){let i=n.value;if($M.test(i[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&Pr(n)){n.normalize();let i=pd(n);return i!==!1&&{advance:r,node:new MM(e.slice(0,r).flatMap(o=>o.tokens()),i)}}return!1}}return!1}function RU(e){let t=!1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type!==Pe.Whitespace&&n.type!==Pe.Comment){if(dd(n)){let i=n.value;if(hk.test(i[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&Pr(n)){n.normalize();let i=pd(n);return i!==!1&&{advance:r,node:new IM(e.slice(0,r).flatMap(o=>o.tokens()),i)}}return!1}}return!1}function md(e,t){let r=NL(e,{onParseError:t==null?void 0:t.onParseError});return r.map((n,i)=>{let o=LU(n);return o===!1&&(t==null?void 0:t.preserveInvalidMediaQueries)===!0?new sk(r[i]):o}).filter(n=>!!n)}function $U(e,t){return md(yt({css:e},{onParseError:t==null?void 0:t.onParseError}),t)}function BU(e,t){let r=[],n=e;for(let o=0;o<e.length;o++)if(!St(e[o])){if(_e(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(!St(n[o])){if(_e(n[o])){let a=n[o][4].value.toLowerCase();if(a==="false"||a==="true")continue}if(Yt(n[o]))break;i=!1}return i?new cy(r,null,n):new cy(r,md(I_(n),t))}function qU(e,t){return BU(yt({css:e},{onParseError:t==null?void 0:t.onParseError}),t)}function EM(e){return ah.isGeneralEnclosed(e)}function WU(e){return uk.isMediaFeatureBoolean(e)}function PM(e){return ck.isMediaFeatureValue(e)}function wi(e){return dk.isMediaFeaturePlain(e)}function fm(e){return OM(e)||TM(e)||_U(e)}function OM(e){return sh.isMediaFeatureRangeNameValue(e)}function TM(e){return pk.isMediaFeatureRangeValueName(e)}function _U(e){return mk.isMediaFeatureRangeValueNameValue(e)}function Pn(e){return hc.isMediaFeature(e)}function UU(e){return Bc.isMediaQueryWithType(e)}function On(e){return sk.isMediaQueryInvalid(e)}var ae,wr,Gr,Bc,Tp,sk,ah,IM,jM,DM,LM,lk,uk,ck,dk,or,ar,Kr,ki,sh,pk,mk,hc,FM,MM,RM,$M,hk,cy,nC,Zt=y(()=>{wt(),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"})(ae||(ae={})),wr=class dy{constructor(t){_(this,"type",ae.MediaCondition);_(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 dy.isMediaCondition(this)}static isMediaCondition(t){return!!t&&t instanceof dy&&t.type===ae.MediaCondition}},Gr=class py{constructor(t,r=[],n=[]){_(this,"type",ae.MediaInParens);_(this,"media");_(this,"before");_(this,"after");this.media=t,this.before=r,this.after=n}tokens(){return[...this.before,...this.media.tokens(),...this.after]}toString(){return ye(...this.before)+this.media.toString()+ye(...this.after)}hasLeadingSpace(){return this.before.length?St(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 py.isMediaInParens(this)}static isMediaInParens(t){return!!t&&t instanceof py&&t.type===ae.MediaInParens}},Bc=class fn{constructor(t,r,n,i){_(this,"type",ae.MediaQueryWithType);_(this,"modifier");_(this,"mediaType");_(this,"and");_(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(_e(r))return r[4].value}return""}negateQuery(){let t=this.getModifier().toLowerCase()==="not",r=this.getMediaType();return this.and&&this.media?t?[new fn([],[[C.Ident,r,-1,-1,{value:r}]]),new Tp(this.media)]:[new fn([[C.Ident,"not",-1,-1,{value:"not"}],[C.Whitespace," ",-1,-1,void 0]],[[C.Ident,r,-1,-1,{value:r}]]),...new Tp(this.media).negateQuery()]:t?[new fn([],[[C.Ident,r,-1,-1,{value:r}]])]:[new fn([[C.Ident,"not",-1,-1,{value:"not"}],[C.Whitespace," ",-1,-1,void 0]],[[C.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(_e(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?ye(...this.modifier)+ye(...this.mediaType)+ye(...this.and)+this.media.toString():ye(...this.modifier)+ye(...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 fn.isMediaQueryWithType(this)}static isMediaQueryWithType(t){return!!t&&t instanceof fn&&t.type===ae.MediaQueryWithType}},Tp=class Ip{constructor(t){_(this,"type",ae.MediaQueryWithoutType);_(this,"media");this.media=t}negateQuery(){let t=this.media;return t.media.type===ae.MediaNot?[new Ip(new wr(t.media.media))]:(t.media.type!==ae.MediaConditionListWithOr&&t.media.type!==ae.MediaConditionListWithAnd||(t=new wr(new Gr(t,[[C.Whitespace," ",-1,-1,void 0],[C.OpenParen,"(",-1,-1,void 0]],[[C.CloseParen,")",-1,-1,void 0]]))),"before"in t.media&&(t.media.hasLeadingSpace()||t.media.before.splice(0,0,[C.Whitespace," ",-1,-1,void 0])),[new Bc([[C.Ident,"not",-1,-1,{value:"not"}],[C.Whitespace," ",-1,-1,void 0]],[[C.Ident,"all",-1,-1,{value:"all"}],[C.Whitespace," ",-1,-1,void 0]],[[C.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 Ip.isMediaQueryWithoutType(this)}static isMediaQueryWithoutType(t){return!!t&&t instanceof Ip&&t.type===ae.MediaQueryWithoutType}},sk=class jp{constructor(t){_(this,"type",ae.MediaQueryInvalid);_(this,"media");this.media=t}negateQuery(){return[new jp(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=vi(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 jp.isMediaQueryInvalid(this)}static isMediaQueryInvalid(t){return!!t&&t instanceof jp&&t.type===ae.MediaQueryInvalid}},ah=class my{constructor(t){_(this,"type",ae.GeneralEnclosed);_(this,"value");this.value=t}tokens(){return this.value.tokens()}toString(){return this.value.toString()}hasLeadingSpace(){return St(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 my.isGeneralEnclosed(this)}static isGeneralEnclosed(t){return!!t&&t instanceof my&&t.type===ae.GeneralEnclosed}},IM=class hy{constructor(t,r){_(this,"type",ae.MediaAnd);_(this,"modifier");_(this,"media");this.modifier=t,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return ye(...this.modifier)+this.media.toString()}hasLeadingSpace(){return St(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 hy.isMediaAnd(this)}static isMediaAnd(t){return!!t&&t instanceof hy&&t.type===ae.MediaAnd}},jM=class fy{constructor(t,r,n=[],i=[]){_(this,"type",ae.MediaConditionListWithAnd);_(this,"leading");_(this,"list");_(this,"before");_(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 ye(...this.before)+this.leading.toString()+this.list.map(t=>t.toString()).join("")+ye(...this.after)}hasLeadingSpace(){return this.before.length?St(this.before[0]):this.leading.hasLeadingSpace()}indexOf(t){return t===this.leading?"leading":t.type===ae.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=vi(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 fy.isMediaConditionListWithAnd(this)}static isMediaConditionListWithAnd(t){return!!t&&t instanceof fy&&t.type===ae.MediaConditionListWithAnd}},DM=class gy{constructor(t,r,n=[],i=[]){_(this,"type",ae.MediaConditionListWithOr);_(this,"leading");_(this,"list");_(this,"before");_(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 ye(...this.before)+this.leading.toString()+this.list.map(t=>t.toString()).join("")+ye(...this.after)}hasLeadingSpace(){return this.before.length?St(this.before[0]):this.leading.hasLeadingSpace()}indexOf(t){return t===this.leading?"leading":t.type===ae.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=vi(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===ae.MediaConditionListWithOr}},LM=new Set(["abs","acos","asin","atan","atan2","calc","clamp","cos","exp","hypot","log","max","min","mod","pow","rem","round","sign","sin","sqrt","tan"]),lk=class by{constructor(t,r=[],n=[]){_(this,"type",ae.MediaFeatureName);_(this,"name");_(this,"before");_(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 ye(...this.before)+this.name.toString()+ye(...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 by.isMediaFeatureName(this)}static isMediaFeatureName(t){return!!t&&t instanceof by&&t.type===ae.MediaFeatureName}},uk=class vy{constructor(t){_(this,"type",ae.MediaFeatureBoolean);_(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 vy.isMediaFeatureBoolean(this)}static isMediaFeatureBoolean(t){return!!t&&t instanceof vy&&t.type===ae.MediaFeatureBoolean}},ck=class yy{constructor(t,r=[],n=[]){_(this,"type",ae.MediaFeatureValue);_(this,"value");_(this,"before");_(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)?ye(...this.before)+this.value.map(t=>t.toString()).join("")+ye(...this.after):ye(...this.before)+this.value.toString()+ye(...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=vi(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 yy.isMediaFeatureValue(this)}static isMediaFeatureValue(t){return!!t&&t instanceof yy&&t.type===ae.MediaFeatureValue}},dk=class wy{constructor(t,r,n){_(this,"type",ae.MediaFeaturePlain);_(this,"name");_(this,"colon");_(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()+ye(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 wy.isMediaFeaturePlain(this)}static isMediaFeaturePlain(t){return!!t&&t instanceof wy&&t.type===ae.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="="})(Kr||(Kr={})),sh=class ky{constructor(t,r,n){_(this,"type",ae.MediaFeatureRangeNameValue);_(this,"name");_(this,"operator");_(this,"value");this.name=t,this.operator=r,this.value=n}operatorKind(){return yi(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()+ye(...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 ky.isMediaFeatureRangeNameValue(this)}static isMediaFeatureRangeNameValue(t){return!!t&&t instanceof ky&&t.type===ae.MediaFeatureRangeNameValue}},pk=class xy{constructor(t,r,n){_(this,"type",ae.MediaFeatureRangeValueName);_(this,"name");_(this,"operator");_(this,"value");this.name=t,this.operator=r,this.value=n}operatorKind(){return yi(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()+ye(...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 xy.isMediaFeatureRangeValueName(this)}static isMediaFeatureRangeValueName(t){return!!t&&t instanceof xy&&t.type===ae.MediaFeatureRangeValueName}},mk=class Sy{constructor(t,r,n,i,o){_(this,"type",ae.MediaFeatureRangeValueNameValue);_(this,"name");_(this,"valueOne");_(this,"valueOneOperator");_(this,"valueTwo");_(this,"valueTwoOperator");this.name=t,this.valueOne=r,this.valueOneOperator=n,this.valueTwo=i,this.valueTwoOperator=o}valueOneOperatorKind(){return yi(this.valueOneOperator)}valueTwoOperatorKind(){return yi(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()+ye(...this.valueOneOperator)+this.name.toString()+ye(...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 Sy.isMediaFeatureRangeValueNameValue(this)}static isMediaFeatureRangeValueNameValue(t){return!!t&&t instanceof Sy&&t.type===ae.MediaFeatureRangeValueNameValue}},hc=class Cy{constructor(t,r=[],n=[]){_(this,"type",ae.MediaFeature);_(this,"feature");_(this,"before");_(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 ye(...this.before)+this.feature.toString()+ye(...this.after)}hasLeadingSpace(){return St(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 Cy.isMediaFeature(this)}static isMediaFeature(t){return!!t&&t instanceof Cy&&t.type===ae.MediaFeature}},FM=class Ay{constructor(t,r){_(this,"type",ae.MediaNot);_(this,"modifier");_(this,"media");this.modifier=t,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return ye(...this.modifier)+this.media.toString()}hasLeadingSpace(){return this.modifier.length?St(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 Ay.isMediaNot(this)}static isMediaNot(t){return!!t&&t instanceof Ay&&t.type===ae.MediaNot}},MM=class Ny{constructor(t,r){_(this,"type",ae.MediaOr);_(this,"modifier");_(this,"media");this.modifier=t,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return ye(...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 Ny.isMediaOr(this)}static isMediaOr(t){return!!t&&t instanceof Ny&&t.type===ae.MediaOr}},(function(e){e.Not="not",e.Only="only"})(ki||(ki={})),RM=/^not$/i,$M=/^or$/i,hk=/^and$/i,cy=class zy{constructor(t,r,n){_(this,"type",ae.CustomMedia);_(this,"name");_(this,"mediaQueryList",null);_(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(_e(r))return r[4].value}return""}getNameToken(){for(let t=0;t<this.name.length;t++){let r=this.name[t];if(_e(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(!St(r))return!!_e(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(!St(r))return!!_e(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([C.Comma,",",-1,-1,void 0]),t.push(...n.tokens())}return[...this.name,...t]}toString(){return ye(...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 zy.isCustomMedia(this)}static isCustomMedia(t){return!!t&&t instanceof zy&&t.type===ae.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"})(nC||(nC={}))});function fk(e,t){let r=yt({css:e});return NL(r).flatMap(n=>n.flatMap(i=>{if(!Pr(i)||i.startToken[0]!==C.OpenParen)return[];let o=i.tokens();return md(o,{preserveInvalidMediaQueries:!0}).filter(a=>!On(a))})).forEach(n=>{n.walk(({node:i})=>{if(Pn(i)){let o=i.getNameToken();if(o[0]!==C.Ident)return;t(o)}EM(i)&&VU(i).forEach((o,a,s)=>{if(o[0]!==C.Ident)return;let u=s[a+1],l=s[a-1];(!l&&u&&u[0]===C.Colon||u&&u[0]===C.Delim&&Ey.test(u[4].value)||l&&l[0]===C.Delim&&Ey.test(l[4].value))&&t(o)})})}),{stringify(){return ye(...r)}}}function VU(e){let t=e.value.value;if(Lc(t)||t.length===0||Lc(t[0]))return[];let r=[];return t.filter(se).forEach((n,i,o)=>{let[a,,,,]=n.value;iC(n)||a===C.Ident&&iC(o[i-1])||oC(n)||a===C.Ident&&oC(o[i+1])||r.push(n.value)}),r}function iC(e){return e&&e.value[0]===C.Delim&&e.value[4].value==="$"}function oC(e){return e&&e.value[0]===C.Delim&&e.value[4].value==="."}var Ey,gk=y(()=>{rt(),Zt(),wt(),Ey=/[<>=]/});function Wi(e){return e.startsWith("--")}var hd=y(()=>{}),BM={};N(BM,{default:()=>qM});var js,xg,aC,Yn,qM,QU=y(()=>{q(),X(),V(),gk(),st(),hd(),Le(),I(),D(),F(),js="media-feature-name-allowed-list",xg=j(js,{rejected:e=>`Disallowed media feature name "${e}"`}),aC={url:"https://stylelint.io/user-guide/rules/media-feature-name-allowed-list"},Yn=e=>(t,r)=>{L(r,js,{actual:e,possible:[$,U]})&&t.walkAtRules(we.mediaName,n=>{fk(at(n),i=>{let[,,o,a,{value:s}]=i;if(Wi(s)||Ee(s,e))return;let u=Te(n);P({message:xg.rejected,messageArgs:[s],node:n,index:u+o,endIndex:u+a+1,ruleName:js,result:r})})})},Yn.primaryOptionArray=!0,Yn.ruleName=js,Yn.messages=xg,Yn.meta=aC,qM=Yn}),WM={};N(WM,{default:()=>_M});var Ds,Sg,sC,Gn,_M,YU=y(()=>{q(),X(),V(),gk(),st(),hd(),Le(),I(),D(),F(),Ds="media-feature-name-disallowed-list",Sg=j(Ds,{rejected:e=>`Disallowed media feature name "${e}"`}),sC={url:"https://stylelint.io/user-guide/rules/media-feature-name-disallowed-list"},Gn=e=>(t,r)=>{L(r,Ds,{actual:e,possible:[$,U]})&&t.walkAtRules(we.mediaName,n=>{fk(at(n),i=>{let[,,o,a,{value:s}]=i;if(Wi(s)||!Ee(s,e))return;let u=Te(n);P({message:Sg.rejected,messageArgs:[s],node:n,index:u+o,endIndex:u+a+1,ruleName:Ds,result:r})})})},Gn.primaryOptionArray=!0,Gn.ruleName=Ds,Gn.messages=Sg,Gn.meta=sC,_M=Gn}),Cg,fc,lC,uC,bk,UM,Dp,lh=y(()=>{Vi(),Cg=new Set(["device-aspect-ratio","device-height","device-width"]),fc=Se(Cg,["aspect-ratio","color","color-index","height","horizontal-viewport-segments","monochrome","resolution","vertical-viewport-segments","width"]),lC=new Set([...fc].flatMap(e=>[`min-${e}`,`max-${e}`])),uC=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"]),bk=Se(Cg,fc,lC,uC),UM=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"])]]),Dp=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"])]])}),VM={};N(VM,{default:()=>QM});var Ls,Ag,cC,Fs,QM,GU=y(()=>{q(),X(),V(),gk(),st(),hd(),lh(),H(),I(),D(),F(),Pt(),Ls="media-feature-name-no-unknown",Ag=j(Ls,{rejected:e=>`Unknown media feature name "${e}"`}),cC={url:"https://stylelint.io/user-guide/rules/media-feature-name-no-unknown"},Fs=(e,t)=>(r,n)=>{L(n,Ls,{actual:e},{actual:t,possible:{ignoreMediaFeatureNames:[$,U]},optional:!0})&&r.walkAtRules(we.mediaName,i=>{fk(at(i),o=>{let[,,a,s,{value:u}]=o;if(Wi(u)||R(t,"ignoreMediaFeatureNames",u)||Ke.prefix(u)||bk.has(u.toLowerCase()))return;let l=Te(i);P({message:Ag.rejected,messageArgs:[u],node:i,index:l+a,endIndex:l+s+1,ruleName:Ls,result:n})})})},Fs.ruleName=Ls,Fs.messages=Ag,Fs.meta=cC,QM=Fs}),YM={};N(YM,{default:()=>GM});var Ms,Ng,dC,pC,Rs,GM,KU=y(()=>{q(),V(),Xc(),H(),I(),D(),F(),Ms="media-feature-name-no-vendor-prefix",Ng=j(Ms,{rejected:"Vendor-prefixed media feature name"}),dC={url:"https://stylelint.io/user-guide/rules/media-feature-name-no-vendor-prefix",fixable:!0},pC=["-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"],Rs=(e,t)=>(r,n)=>{L(n,Ms,{actual:e},{optional:!0,actual:t,possible:{ignoreMediaFeatureNames:[$,U]}})&&r.walkAtRules(we.mediaName,i=>{let o=i.params;if(!Sr.mediaFeatureName(o))return;let a=i.toString().match(new RegExp(`${pC.join("|")}`,"gi"));if(a)for(let s of a){if(R(t,"ignoreMediaFeatureNames",s))continue;let u=()=>{let l=s.replace(/-moz-|-o-|-webkit-/i,"");i.params=i.params.replace(s,l)};P({message:Ng.rejected,messageArgs:[],node:i,word:s,result:n,ruleName:Ms,fix:{apply:u,node:i}})}})},Rs.ruleName=Ms,Rs.messages=Ng,Rs.meta=dC,GM=Rs});function Tn(e){return $U(at(e),{preserveInvalidMediaQueries:!0})}var In=y(()=>{Zt(),st()}),KM={};N(KM,{default:()=>HM});var $s,zg,mC,Bs,HM,HU=y(()=>{Zt(),rt(),wt(),V(),X(),q(),Le(),In(),I(),D(),Ht(),F(),$s="media-feature-name-unit-allowed-list",zg=j($s,{rejected:(e,t)=>`Disallowed unit "${e}" for name "${t}"`}),mC={url:"https://stylelint.io/user-guide/rules/media-feature-name-unit-allowed-list"},Bs=e=>(t,r)=>{if(!L(r,$s,{actual:e,possible:[Lt($)]}))return;let n=Object.entries(e),i=o=>{for(let[a,s]of n)if(Ee(o,a))return[s].flat()};t.walkAtRules(we.mediaName,o=>{Y.dimension.test(o.params)&&Tn(o).forEach(a=>{if(On(a))return;let s={mediaFeatureName:"",unitList:void 0};a.walk(({node:u,state:l})=>{if(!l)return;if(wi(u)||fm(u)){l.mediaFeatureName=u.getName(),l.unitList=i(l.mediaFeatureName);return}if(!se(u))return;let{mediaFeatureName:c,unitList:d}=l;if(!c||!d)return;let[p,,h,v,m]=u.value;if(p!==C.Dimension||d.includes(m.unit.toLowerCase()))return;let b=Te(o);P({message:zg.rejected,messageArgs:[m.unit,c],node:o,index:b+h,endIndex:b+v+1,result:r,ruleName:$s})},s)})})},Bs.ruleName=$s,Bs.messages=zg,Bs.meta=mC,HM=Bs}),ZM={};N(ZM,{default:()=>XM});var qs,Eg,hC,Ws,XM,ZU=y(()=>{Zt(),wt(),q(),X(),V(),Le(),H(),In(),I(),D(),Ht(),F(),qs="media-feature-name-value-allowed-list",Eg=j(qs,{rejected:(e,t)=>`Disallowed value "${t}" for name "${e}"`}),hC={url:"https://stylelint.io/user-guide/rules/media-feature-name-value-allowed-list"},Ws=e=>(t,r)=>{L(r,qs,{actual:e,possible:[Lt($,U)]})&&t.walkAtRules(we.mediaName,n=>{Tn(n).forEach(i=>{if(On(i))return;let o={mediaFeatureName:""};i.walk(({node:a,state:s})=>{if(!s)return;if(Pn(a)){s.mediaFeatureName=a.getName();return}if(!PM(a))return;let{mediaFeatureName:u}=s;if(!u)return;let l=[a.value].flat(),c=l.map(m=>m.toString()).join(""),d=Object.keys(e).find(m=>Ee(u,m));if(d==null||R(e,d,c))return;let p=Te(n),[h,v]=Mt(l);P({index:p+h,endIndex:p+v+1,message:Eg.rejected,messageArgs:[u,c],node:n,ruleName:qs,result:r})},o)})})},Ws.ruleName=qs,Ws.messages=Eg,Ws.meta=hC,XM=Ws}),JM={};N(JM,{default:()=>e3});var _s,Pg,fC,gC,Us,e3,XU=y(()=>{rt(),wt(),Zt(),Vc(),lh(),Nr(),q(),X(),V(),BL(),In(),I(),D(),Ht(),F(),Pt(),_s="media-feature-name-value-no-unknown",Pg=j(_s,{rejected:(e,t)=>`Unknown media feature value "${t}" for name "${e}"`}),fC=/^(?:min|max)-/i,gC={url:"https://stylelint.io/user-guide/rules/media-feature-name-value-no-unknown"},Us=(e,t)=>(r,n)=>{if(!L(n,_s,{actual:e},{actual:t,possible:{ignoreMediaFeatureNameValues:[Lt($,U)]},optional:!0}))return;let i=(l,c)=>$L(t,"ignoreMediaFeatureNameValues",l,c);function o(l,c,d){var x;let[p,h,v,m,b]=c,{mediaFeatureName:g}=l;if(p===C.Ident){let w=Ke.unprefixed(b.value.toLowerCase());if(i(g,w)||(x=UM.get(g))!=null&&x.has(w))return;d(l,h,v,m);return}let f=Dp.get(g);if(!f){d(l,h,v,m);return}if(p===C.Number){if(b.type===ne.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(l,h,v,m);return}if(f.has("ratio")||b.value===0&&(f.has("length")||f.has("resolution")))return;d(l,h,v,m);return}if(p===C.Dimension){let w=b.unit.toLowerCase();if(f.has("resolution")&&ov.has(w)||f.has("length")&&Ti.has(w))return;d(l,h,v,m)}}function a(l,c,d){let p=c.getName().toLowerCase();if(p==="env")return;let h=Dp.get(l.mediaFeatureName);h&&Yi.has(p)&&(h.has("integer")||h.has("length")||h.has("ratio")||h.has("resolution"))||d(l,c.toString(),...Mt(c))}function s(l,c,d){let p=Dp.get(l.mediaFeatureName);p&&p.has("ratio")&&SM(c)!==-1||d(l,c.map(h=>h.toString()).join(""),...Mt(c))}function u(l,c,d){if(se(c.value)){o(l,c.value.value,d);return}if(Ge(c.value)){a(l,c.value,d);return}Array.isArray(c.value)&&s(l,c.value,d)}r.walkAtRules(we.mediaName,l=>{let c=(p,h,v,m)=>{let b=Te(l);P({message:Pg.rejected,messageArgs:[p.mediaFeatureNameRaw,h],index:b+v,endIndex:b+m+1,node:l,ruleName:_s,result:n})},d={mediaFeatureName:"",mediaFeatureNameRaw:""};Tn(l).forEach(p=>{On(p)||p.walk(({node:h,state:v})=>{if(v){if(Pn(h)){let m=h.getName(),b=Ke.unprefixed(m.toLowerCase());if(!bk.has(b))return;b=b.replace(fC,""),v.mediaFeatureName=b,v.mediaFeatureNameRaw=m;return}!v.mediaFeatureName||!v.mediaFeatureNameRaw||PM(h)&&u(v,h,c)}},d)})})},Us.ruleName=_s,Us.messages=Pg,Us.meta=gC,e3=Us}),t3={};N(t3,{default:()=>r3});var Vs,Og,bC,Qs,r3,JU=y(()=>{Zt(),wt(),rt(),X(),V(),H(),In(),lh(),I(),D(),F(),Vs="media-feature-range-notation",Og=j(Vs,{expected:e=>`Expected "${e}" media feature range notation`}),bC={url:"https://stylelint.io/user-guide/rules/media-feature-range-notation",fixable:!0},Qs=(e,t)=>(r,n)=>{if(!L(n,Vs,{actual:e,possible:["prefix","context"]},{actual:t,possible:{except:["exact-value"]},optional:!0}))return;let i=R(t,"except","exact-value"),o;i||(e==="prefix"?o=/[<>]/:e==="context"&&(o=/(?:min|max)-/i)),r.walkAtRules(we.mediaName,a=>{if(o&&!o.test(a.params))return;let s=Tn(a);s.forEach(u=>{On(u)||u.walk(({node:l,parent:c})=>{if(!fm(l)&&!wi(l))return;let d=l.getName(),p=d.replace(/^(?:min|max)-/i,"");if(!fc.has(p))return;let h=e;if(i){let x=(OM(l)||TM(l))&&l.operator.length===1&&l.operator[0][1]==="=",w=wi(l)&&d.length===p.length;(x||w)&&(h=e==="prefix"?"context":"prefix")}if(h==="prefix"&&wi(l)||h==="context"&&fm(l))return;let v=x=>()=>{let w;/^min-/i.test(d)?w=[[C.Delim,">",-1,-1,{value:">"}],[C.Delim,"=",-1,-1,{value:"="}]]:/^max-/i.test(d)?w=[[C.Delim,"<",-1,-1,{value:"<"}],[C.Delim,"=",-1,-1,{value:"="}]]:w=[[C.Delim,"=",-1,-1,{value:"="}]],x.parent.feature=new sh(new lk(new ue([C.Ident,p,-1,-1,{value:p}]),x.node.name.before,x.node.name.after.length>0?x.node.name.after:[[C.Whitespace," ",-1,-1,void 0]]),w,x.node.value);let k=s.map(S=>S.toString()).join(",");k!==a.params&&(a.params=k)},m=h==="context"&&wi(l)&&Pn(c)?v({node:l,parent:c}):void 0,[b,g]=Mt(l),f=Te(a);P({message:Og.expected,messageArgs:[h],node:a,index:f+b-1,endIndex:f+g+1+1,result:n,ruleName:Vs,fix:{apply:m,node:a}})})})})},Qs.ruleName=Vs,Qs.messages=Og,Qs.meta=bC,r3=Qs}),n3={};N(n3,{default:()=>i3});function vC(e,t){if(!(t!=null&&t.ignoreFunctions))return!1;let r=!1;return e.walk(({node:n})=>{if(Ge(n)&&(r=R(t,"ignoreFunctions",n.getName()),r))return!1}),r}var Ys,Tg,yC,Ig,wC,Gs,i3,eV=y(()=>{wt(),Zt(),q(),X(),V(),hd(),H(),In(),lh(),I(),D(),F(),Ys="media-query-no-invalid",Tg=j(Ys,{rejected:(e,t)=>t?`Invalid media query "${e}", ${t}`:`Invalid media query "${e}"`}),yC={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"},Ig=/^(?:min|max)-/i,wC={url:"https://stylelint.io/user-guide/rules/media-query-no-invalid"},Gs=(e,t)=>(r,n)=>{if(!L(n,Ys,{actual:e},{actual:t,possible:{ignoreFunctions:[$,U]},optional:!0}))return;r.walkAtRules(we.mediaName,o=>{let a=Te(o);Tn(o).forEach(s=>{if(On(s)){if(vC(s,t))return;i(o,a,s);return}s.walk(({node:u,parent:l})=>{if(EM(u)){if(vC(s,t))return;i(o,a,u);return}if(wi(u)){let c=u.getName();if(Wi(c)){i(o,a,l,"custom");return}return}if(fm(u)){let c=u.getName().toLowerCase();if(Wi(c)){i(o,a,l,"custom");return}if(Ig.test(c)){i(o,a,l,"min_max_in_range");return}if(!fc.has(c)){i(o,a,l,"discrete");return}return}if(WU(u)){let c=u.getName();Ig.test(c)&&i(o,a,l,"min_max_in_boolean")}})})});function i(o,a,s,u){let[l,c]=Mt(s);P({message:Tg.rejected,messageArgs:[s.toString(),u?yC[u]:""],index:a+l,endIndex:a+c+1,node:o,ruleName:Ys,result:n})}},Gs.ruleName=Ys,Gs.messages=Tg,Gs.meta=wC,i3=Gs}),o3={};N(o3,{default:()=>a3});var Ks,jg,kC,Hs,a3,tV=y(()=>{V(),q(),X(),ON(),Zt(),et(),rt(),H(),In(),I(),D(),wt(),F(),Ks="media-type-no-deprecated",jg=j(Ks,{rejected:e=>`Deprecated media type "${e}"`}),kC={url:"https://stylelint.io/user-guide/rules/media-type-no-deprecated"},Hs=(e,t)=>(r,n)=>{L(n,Ks,{actual:e},{actual:t,possible:{ignoreMediaTypes:[$,U]},optional:!0})&&r.walkAtRules(we.mediaName,i=>{!Je(i)||!Y.deprecatedMediaType.test(i.params)||Tn(i).forEach(o=>{if(!UU(o))return;let a=o.getMediaType();if(!ow.has(a.toLowerCase())||R(t,"ignoreMediaTypes",a))return;let s=Te(i),[u,l]=Mt({tokens:()=>o.mediaType.filter(_e)});P({message:jg.rejected,messageArgs:[a],node:i,index:s+u,endIndex:s+l+1,ruleName:Ks,result:n})})})},Hs.ruleName=Ks,Hs.messages=jg,Hs.meta=kC,a3=Hs});function rV(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)&&!Gy(o,a))return!1}return!0}function nV(e){let t=new Set(e.flat());return t.delete("."),[...t]}function iV(e){return nV(e).filter(t=>!rV(e,t))}var oV=y(()=>{Ky()}),s3={};N(s3,{default:()=>l3});var xC,Zs,Xs,SC,Js,l3,aV=y(()=>{xC=re(me(),1),q(),X(),oV(),qe(),V(),I(),D(),F(),Zs="named-grid-areas-no-invalid",Xs=j(Zs,{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}"`}),SC={url:"https://stylelint.io/user-guide/rules/named-grid-areas-no-invalid"},Js=e=>(t,r)=>{L(r,Zs,{actual:e})&&t.walkDecls(Mr.gridAreaNames,n=>{let{value:i}=n;if(!$e(i)||i.toLowerCase().trim()==="none")return;let o=[],a=!1;if((0,xC.default)(i).walk(({sourceIndex:d,sourceEndIndex:p,type:h,value:v})=>{if(h==="string"){if(v===""){c(Xs.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 u=o.find(d=>d.values.length!==s.values.length);if(u!==void 0){c(Xs.expectedSameNumber,[],u.index,u.endIndex);return}let l=iV(o.map(d=>d.values));for(let d of l.sort()){let p=o.find(h=>h.values.includes(d));Ue(p),c(Xs.expectedRectangle,[d],p.index,p.endIndex)}function c(d,p,h,v){let m=ie(n);P({message:d,messageArgs:p,node:n,index:m+h,endIndex:m+v,result:r,ruleName:Zs})}})},Js.ruleName=Zs,Js.messages=Xs,Js.meta=SC,l3=Js});function Py(e,t){let{inline:r=!1}=t||{},n=e;for(;n;){if(Yb(n))return!0;if("document"in n&&n.document instanceof sz&&Yb(n.document))return r&&n.source&&"inline"in n.source?!!n.source.inline:!0;if(!n.parent)break;n=n.parent}return!1}var u3=y(()=>{Zc(),he()}),c3={};N(c3,{default:()=>d3});function CC(e,t){let r=e.parent;for(;r;){if(r.type==="rule"||r.type==="atrule"&&r.name==="scope"||r.type==="atrule"&&R(t,"ignoreAtRules",r.name))return!0;if(r.type==="root")return!1;r=r.parent}return!1}var el,Dg,AC,tl,d3,sV=y(()=>{Ki(),V(),q(),X(),st(),ke(),u3(),et(),pe(),H(),I(),D(),F(),el="nesting-selector-no-missing-scoping-root",Dg=j(el,{rejected:"Missing scoping root"}),AC={url:"https://stylelint.io/user-guide/rules/nesting-selector-no-missing-scoping-root"},tl=(e,t)=>(r,n)=>{if(!L(n,el,{actual:e,possible:[!0]},{actual:t,possible:{ignoreAtRules:[$,U]},optional:!0}))return;r.walkRules(Y.nestingSelector,o=>{if(Py(o)||!de(o)||CC(o,t))return;let a;try{a=en(be(o),{context:"selectorList",positions:!0})}catch{return}i(o,a)}),r.walkAtRules(we.scopeName,o=>{if(Py(o)||!Je(o)||!Y.nestingSelector.test(o.params)||CC(o,t))return;let a;try{a=en(at(o),{atrule:"scope",context:"atrulePrelude",positions:!0})}catch{return}i(o,a,Te(o))});function i(o,a,s=0){WD(a,{enter(u){if(u.type!=="NestingSelector"||!u.loc)return;let l=s+u.loc.start.offset,c=l+1;P({message:Dg.rejected,node:o,result:n,ruleName:el,index:l,endIndex:c})}})}},tl.ruleName=el,tl.messages=Dg,tl.meta=AC,d3=tl});function vk(e,t){return e.a===t.a?e.b===t.b?e.c-t.c:e.b-t.b:e.a-t.a}function yn(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(lV(e))switch(e.value.toLowerCase()){case"::slotted":if(o+=1,e.nodes&&e.nodes.length>0){let u=cp(e.nodes,t);n+=u.a,i+=u.b,o+=u.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"&&uV(e.nodes[0])?{a:0,b:0,c:0}:{a:0,b:0,c:1};default:o+=1}else if(gc.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 u=cp(e.nodes,t);n+=u.a,i+=u.b,o+=u.c}break;case":where":break;case":nth-child":case":nth-last-child":if(i+=1,e.nodes&&e.nodes.length>0){let u=e.nodes[0].nodes.findIndex(l=>l.type==="tag"&&l.value.toLowerCase()==="of");if(u>-1){let l=gc.default.selector({nodes:[],value:""});e.nodes[0].nodes.slice(u+1).forEach(p=>{l.append(p.clone())});let c=[l];e.nodes.length>1&&c.push(...e.nodes.slice(1));let d=cp(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(u=>{let l=yn(u,t);n+=l.a,i+=l.b,o+=l.c});break;case":host":case":host-context":if(i+=1,e.nodes&&e.nodes.length>0){let u=cp(e.nodes,t);n+=u.a,i+=u.b,o+=u.c}break;case":active-view-transition":case":active-view-transition-type":return{a:0,b:1,c:0}}else gc.default.isContainer(e)&&((s=e.nodes)==null?void 0:s.length)>0&&e.nodes.forEach(u=>{let l=yn(u,t);n+=l.a,i+=l.b,o+=l.c});return{a:n,b:i,c:o}}function cp(e,t){let r={a:0,b:0,c:0};return e.forEach(n=>{let i=yn(n,t);vk(i,r)<0||(r=i)}),r}function lV(e){return gc.default.isPseudoElement(e)}function uV(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 gc,p3=y(()=>{gc=re(gt(),1)});function yk(e){let t=e.parent;return t?Oe(t)?t:lt(t)?yk(t):null:null}var m3=y(()=>{he()});function h3(){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=NC(e,n);return r.reduce((o,a)=>NC(o,a),i)}}}function NC(e,t){return e.has(t)||e.set(t,new Map),e.get(t)}var f3=y(()=>{});function oc(e,t){let r=Oy.get(e);if(r){let s=r.get(t);if(s)return s}else r=new Map,Oy.set(e,r);let n=e.toString(),i=pi.get(n);if(i)return r.set(t,i),i;let o=cV(e.clone()),a={node:o,string:o.toString()};if(r.set(t,a),pi.size>=b3){let s=pi.keys().next().value;s!==void 0&&pi.delete(s)}return pi.set(n,a),a}function cV(e){return PC(e),zC(e),e.walk(t=>{PC(t),zC(t)}),g3(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 g3(e){if(nr.default.isContainer(e)){if(e.each(g3),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=pV(e.nodes))}}function EC(e){var t;return(t=v3.get(e.type))!=null?t:Number.MAX_SAFE_INTEGER}function dV(e,t){let r=EC(e)-EC(t);return r!==0?r:String(e).localeCompare(String(t))}function pV(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(dV)),t.flat()}function PC(e){var t;if(nr.default.isClassName(e)){if(!((t=e.raws)!=null&&t.value))return;e.value=e.value}}var nr,Oy,pi,b3,v3,y3=y(()=>{nr=re(gt(),1),Oy=new WeakMap,pi=new Map,b3=1e4,v3=new Map([["universal",0],["tag",1],["nesting",2],["id",3],["class",4],["attribute",5],["pseudo",6],["comment",7]])});function bn(e){var t;return{sourceIndex:(t=e.sourceIndex)!=null?t:0,source:e.source}}function mV(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:"",...bn(i)});o.append(i);let a=sr.default.pseudo({value:":is",...bn(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)=>OC(a)-OC(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 OC(e){return sr.default.isPseudoElement(e)?Ty.pseudoElement:Ty[e.type]}function TC(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 u=!1;s.walkNesting(()=>(u=!0,!1)),u?((o=s.nodes[0])==null?void 0:o.type)==="combinator"&&s.prepend(sr.default.nesting({...bn(s)})):(s.prepend(sr.default.combinator({value:" ",...bn(s)})),s.prepend(sr.default.nesting({...bn(s)})))}{let u=new Set;s.walkNesting(l=>{var d,p;let c=l.parent;c&&(u.add(c),((d=c.parent)==null?void 0:d.type)==="pseudo"&&((p=c.parent.value)==null?void 0:p.toLowerCase())===":has"?l.replaceWith(...IC(t,!0)):l.replaceWith(...IC(t)))});for(let l of u)mV(l)}s.walk(u=>{u.type==="combinator"&&u.value.trim()!==""?(u.rawSpaceAfter=" ",u.rawSpaceBefore=" "):(u.rawSpaceAfter="",u.rawSpaceBefore="")}),n.push(s)}let i=sr.default.root({value:"",...bn(e)});return n.forEach(a=>{i.append(a)}),i}function IC(e,t=!1){if(t||!hV(e.nodes)){let r=sr.default.pseudo({value:":is",...bn(e)});return e.nodes.forEach(n=>{r.append(n.clone())}),[r]}return e.nodes[0].nodes.map(r=>r.clone())}function hV(e){return e.length===1&&!e[0].nodes.some(t=>t.type==="combinator"||sr.default.isPseudoElement(t))}var sr,Ty,fV=y(()=>{sr=re(gt(),1),Ty={universal:0,tag:1,pseudoElement:2,nesting:3,id:4,class:5,attribute:6,pseudo:7,comment:8}});function qc(e,t){let r=jy.get(e);if(r){let s=r.get(t);if(s)return s}else r=new Map,jy.set(e,r);let n=Ce(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=Ce(":where(:scope)",t,s);continue}if(!lt(s))continue;if(!de(s))return[];let u=Ce(be(s),t,s);if(!u)return[];i?i=TC(u,i):i=u}let a=n.map(s=>i?{selector:s,resolvedSelectors:TC(Iy.default.root({nodes:[s],value:""}),i),nested:!0}:{selector:s,resolvedSelectors:Iy.default.root({value:"",nodes:[s]}),nested:!1});return r.set(t,a),a}var Iy,jy,uh=y(()=>{fV(),he(),ke(),pe(),Ne(),Iy=re(gt(),1),jy=new WeakMap}),w3={};N(w3,{default:()=>x3});function gV(e,t){if(e.nodes.length===0)return;e=oc(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("::")||xm.has(o.value.replaceAll(":","")));if(i.length!==0)return i.join("")}function k3(e){return e.nodes?e.some(t=>Ui(t)||Oe(t)&&k3(t)):!1}var rl,Lg,jC,nl,x3,bV=y(()=>{p3(),he(),m3(),kt(),pe(),f3(),y3(),H(),Kt(),I(),uh(),D(),F(),rl="no-descending-specificity",Lg=j(rl,{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}`)}),jC={url:"https://stylelint.io/user-guide/rules/no-descending-specificity"},nl=(e,t)=>(r,n)=>{if(!L(n,rl,{actual:e},{optional:!0,actual:t,possible:{ignore:["selectors-within-list"]}}))return;let i=R(t,"ignore","selectors-within-list"),o=h3();r.walkRules(s=>{if(!de(s)||i&&s.selectors.length>1||!k3(s))return;let u=o.getContext(s,yk(s));qc(s,n).forEach(({selector:l,resolvedSelectors:c})=>{c.each(d=>{a(d,l,s,u)})})});function a(s,u,l,c){var x,w,k;let d=gV(s,n);if(!d)return;let p=yn(s),{selector:h,index:v,endIndex:m}=ot(u),{selector:b}=ot(s);b=b===h?"":b;let g={selector:h,resolvedSelector:b,specificity:p,line:(k=(w=(x=l.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(vk(p,S.specificity)<0){P({ruleName:rl,result:n,node:l,message:Lg.expected,messageArgs:[h,S.selector,S.line,b,S.resolvedSelector],index:v,endIndex:m});break}f.push(g)}},nl.ruleName=rl,nl.messages=Lg,nl.meta=jC,x3=nl}),S3={};N(S3,{default:()=>C3});function dp(e){return Dy.default.stringify(e).replace(/\s/g,"")}function vV(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(dp(a));continue}if(a.type==="word"&&a.value==="layer"){r.push(dp(a));continue}}if(a.type==="div"&&a.value===","){n.push(dp(i)),i=[];continue}i.push(a)}if(i.length&&n.push(dp(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 Dy,il,Fg,DC,ol,C3,yV=y(()=>{Dy=re(me(),1),V(),st(),od(),I(),D(),F(),il="no-duplicate-at-import-rules",Fg=j(il,{rejected:e=>`Duplicate @import rule ${e}`}),DC={url:"https://stylelint.io/user-guide/rules/no-duplicate-at-import-rules"},ol=e=>(t,r)=>{if(!L(r,il,{actual:e}))return;let n={};t.walkAtRules(we.importName,i=>{let[o,...a]=(0,Dy.default)(at(i)).nodes;if(!o)return;let s=id(o)&&o.nodes[0]?o.nodes[0].value:o.value,u=vV(a),l=n[s];if(u.length?u.some(c=>l&&l.includes(c)):l){P({message:Fg.rejected,messageArgs:[s],node:i,result:r,ruleName:il,word:i.toString()});return}l||(l=n[s]=[]),l.push(...u)})},ol.ruleName=il,ol.messages=Fg,ol.meta=DC,C3=ol});function ch(e){let t=e.parent;return t?Oe(t)&&t.name.toLowerCase()==="keyframes":!1}var dh=y(()=>{he()}),A3={};N(A3,{default:()=>N3});var LC,al,Mg,FC,sl,N3,wV=y(()=>{LC=re(gt(),1),q(),m3(),ke(),kt(),dh(),pe(),f3(),y3(),H(),Ne(),I(),uh(),D(),F(),al="no-duplicate-selectors",Mg=j(al,{rejected:(e,t)=>`Duplicate selector "${e}", first used at line ${t}`}),FC={url:"https://stylelint.io/user-guide/rules/no-duplicate-selectors"},sl=(e,t)=>(r,n)=>{if(!L(n,al,{actual:e},{actual:t,possible:{disallowInList:[Uc],ignoreSelectors:[$,U]},optional:!0}))return;let i=t&&t.disallowInList,o=h3();function a(c,d,p,h,v){P({result:n,ruleName:al,node:c,message:Mg.rejected,messageArgs:[d,v],index:p,endIndex:h})}function s(c){var p;let d=new Map;(p=Ce(be(c),n,c))==null||p.each(h=>{var x,w,k,S,E,A;let v=oc(h,n).string;if(R(t,"ignoreSelectors",v))return;let m=d.get(v);if(!m){d.set(v,{line:((k=(w=(x=h.source)==null?void 0:x.start)==null?void 0:w.line)!=null?k:1)+((A=(E=(S=c.source)==null?void 0:S.start)==null?void 0:E.line)!=null?A:1)-1});return}let{index:b,endIndex:g,selector:f}=ot(h);a(c,f,b,g,m.line)})}function u(c,d){var g,f,x;let p=qc(c,n).flatMap(({resolvedSelectors:w})=>w.nodes);if(!p.length||p.some(w=>{let k=oc(w,n).string;return R(t,"ignoreSelectors",k)}))return;let h=LC.default.root({nodes:p,value:""}),v=oc(h,n).string,m=d.get(v);if(!m){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,m.line)}function l(c,d){qc(c,n).forEach(p=>{let{selector:h,resolvedSelectors:v}=p;v.each(m=>{var k,S,E,A,T,z;let b=oc(m,n).string;if(R(t,"ignoreSelectors",b))return;let g=d.get(b);if(!g){d.set(b,{line:((E=(S=(k=h.source)==null?void 0:k.start)==null?void 0:S.line)!=null?E:1)+((z=(T=(A=c.source)==null?void 0:A.start)==null?void 0:T.line)!=null?z:1)-1});return}let{index:f,endIndex:x,selector:w}=ot(h);a(c,w,f,x,g.line)})})}r.walkRules(c=>{if(ch(c)||!de(c))return;let d=o.getContext(c,yk(c));if(i){l(c,d);return}s(c),u(c,d)})},sl.ruleName=al,sl.messages=Mg,sl.meta=FC,N3=sl}),z3={};N(z3,{default:()=>E3});var ll,Rg,MC,ul,E3,kV=y(()=>{ed(),I(),D(),F(),ll="no-empty-source",Rg=j(ll,{rejected:"Empty source"}),MC={url:"https://stylelint.io/user-guide/rules/no-empty-source"},ul=(e,t,r)=>(n,i)=>{var a;if(!L(i,ll,{actual:e}))return;let o=!!(r.fix?n.toString():n.source&&n.source.input.css||"").trim()&&n.nodes.some(s=>!xi(s,r.configurationComment));o||n.nodes.length===0&&((a=n.raws.after)!=null&&a.trim())&&(o=!0),!o&&P({message:Rg.rejected,messageArgs:[],node:n,result:i,ruleName:ll})},ul.ruleName=ll,ul.messages=Rg,ul.meta=MC,E3=ul}),P3={};N(P3,{default:()=>O3});var Kn,pp,RC,cl,O3,xV=y(()=>{q(),ke(),I(),D(),F(),Kn="no-invalid-double-slash-comments",pp=j(Kn,{rejected:"Invalid double-slash CSS comment"}),RC={url:"https://stylelint.io/user-guide/rules/no-invalid-double-slash-comments"},cl=(e,t,r)=>(n,i)=>{L(i,Kn,{actual:e})&&(n.walkDecls(o=>{o.prop.startsWith("//")&&P({message:pp.rejected,messageArgs:[],node:o,result:i,ruleName:Kn})}),n.walkRules(o=>{var l;let a=be(o).split(","),s,u=0;for(let c of a){let d=c.trimStart();if(d.startsWith("//")){s!=null||(s=o.toString()),_i(r.newline);let p=c.length-d.length,h=u+p,v=(l=s.slice(h).split(r.newline)[0])!=null?l:"",m=h+v.length;P({message:pp.rejected,messageArgs:[],node:o,result:i,ruleName:Kn,index:h,endIndex:m})}u+=c.length+1}}))},cl.ruleName=Kn,cl.messages=pp,cl.meta=RC,O3=cl}),T3={};N(T3,{default:()=>I3});var dl,$g,$C,pl,I3,SV=y(()=>{q(),he(),et(),pe(),H(),I(),D(),F(),dl="no-invalid-position-at-import-rule",$g=j(dl,{rejected:"Invalid position for @import rule"}),$C={url:"https://stylelint.io/user-guide/rules/no-invalid-position-at-import-rule"},pl=(e,t)=>(r,n)=>{if(!L(n,dl,{actual:e},{actual:t,possible:{ignoreAtRules:[$,U]},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")&&!R(t,"ignoreAtRules",o.name)&&Je(o)||o.type==="rule"&&de(o)){i=!0;return}Oe(o)&&a==="import"&&i&&P({message:$g.rejected,messageArgs:[],node:o,result:n,ruleName:dl,word:o.toString()})})},pl.ruleName=dl,pl.messages=$g,pl.meta=$C,I3=pl}),j3={};N(j3,{default:()=>D3});var ml,Bg,BC,hl,D3,CV=y(()=>{Qi(),he(),q(),ek(),u3(),ht(),H(),I(),D(),F(),ml="no-invalid-position-declaration",Bg=j(ml,{rejected:"Invalid position for declaration"}),BC={url:"https://stylelint.io/user-guide/rules/no-invalid-position-declaration"},hl=(e,t)=>(r,n)=>{if(!L(n,ml,{actual:e,possible:[!0]},{actual:t,possible:{ignoreAtRules:[$,U]},optional:!0}))return;let i=a=>Oe(a)&&R(t,"ignoreAtRules",a.name),o=a=>Oe(a)&&JA.has(a.name.toLowerCase());r.walkDecls(a=>{if(Py(a,{inline:!0})||!mt(a))return;let{parent:s}=a;if(s&&!(lt(s)||o(s))){if(Oe(s)){let u=s.name.toLowerCase();if(wc.has(u)){if(Jw(a,l=>lt(l)||o(l)||i(l)))return}else return}P({message:Bg.rejected,messageArgs:[],node:a,result:n,ruleName:ml})}})},hl.ruleName=ml,hl.messages=Bg,hl.meta=BC,D3=hl}),L3={};N(L3,{default:()=>W3});function fl(){return 0}function AV(){return 1}function F3(e){return e.replace(Fy," ")}function M3(e,t){if(!gm.test(e))return e;let r=(0,R3.default)(e);return r.walk(n=>{t(n)&&(n.value=F3(n.value))}),r.toString()}function NV(e){return M3(e,t=>t.type==="string")}function qg(e,t){if(!e)return;let r=t?q3.test(t.toLowerCase()):!1;return M3(e,n=>n.type==="string"&&!r||n.type==="comment")}function zV(e){return gm.test(e)?(0,Ly.default)(t=>{t.walk(r=>{r.value&&($3(r)||B3(r))&&(r.value=F3(r.value))})}).processSync(e):e}var Ly,R3,$3,B3,gl,Wg,qC,WC,_g,gm,Fy,_C,q3,UC,bl,W3,EV=y(()=>{Ly=re(gt(),1),R3=re(me(),1),X(),st(),Ye(),ke(),I(),D(),F(),{isAttribute:$3,isComment:B3}=Ly.default,gl="no-irregular-whitespace",Wg=j(gl,{rejected:"Irregular whitespace"}),qC={url:"https://stylelint.io/user-guide/rules/no-irregular-whitespace"},WC=["\v","\f"," ","
"," ","","\uFEFF"," "," "," "," "," "," "," "," "," "," "," ","","\u2028","\u2029"," "," "," "],_g=WC.join(""),gm=new RegExp(`[${_g}]`),Fy=new RegExp(`[${_g}]+`,"g"),_C=["grid","grid-template","grid-template-areas"],q3=new RegExp(`^(?:${_C.join("|")})$`,"i"),UC=e=>Array.from(e.matchAll(Fy)).map(t=>({index:t.index,length:t[0].length})),bl=e=>(t,r)=>{var o;if(!L(r,gl,{actual:e}))return;let n=(o=t.source)==null?void 0:o.input.css;if(!n||!gm.test(n))return;let i=(a,s,u)=>{if(!s)return;let l=UC(s);if(!l.length)return;let c=u(a);l.forEach(({index:d,length:p})=>{P({ruleName:gl,result:r,message:Wg.rejected,messageArgs:[],node:a,index:c+d,endIndex:c+d+p})})};t.walkAtRules(a=>{i(a,a.raws.before,fl),i(a,a.name,AV),i(a,a.raws.afterName,zA),i(a,NV(at(a)),Te),i(a,a.raws.between,$6),i(a,a.raws.after,R6)}),t.walkRules(a=>{i(a,a.raws.before,fl),i(a,zV(be(a)),fl),i(a,a.raws.between,B6),i(a,a.raws.after,q6)}),t.walkDecls(a=>{i(a,a.raws.before,fl),i(a,qg(a.prop),fl),i(a,qg(a.raws.between),EA),i(a,qg(Qe(a),a.prop),ie)})},bl.ruleName=gl,bl.messages=Wg,bl.meta=qC,W3=bl});function PV(e){let t=[],r=(0,_3.default)(e),{nodes:n}=r;if(n.length===1&&n[0]&&Ie.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(!$e(a)){i=!0,t.length=0;return}if(sd(a)||iw.has(a))return;let{unit:s}=Hi(o);s||s===""||t.push(o)}),t}var _3,OV=y(()=>{_3=re(me(),1),He(),Zi(),qe(),ld()}),U3={};N(U3,{default:()=>V3});var vl,Ug,VC,yl,V3,TV=y(()=>{He(),V(),X(),OV(),I(),D(),F(),vl="no-unknown-animations",Ug=j(vl,{rejected:e=>`Unknown animation "${e}"`}),VC={url:"https://stylelint.io/user-guide/rules/no-unknown-animations"},yl=e=>(t,r)=>{if(!L(r,vl,{actual:e}))return;let n=new Set;t.walkAtRules(we.keyframesName,i=>{n.add(i.params)}),t.walkDecls(i=>{if(i.prop.toLowerCase()==="animation"||i.prop.toLowerCase()==="animation-name"){let o=PV(i.value);if(o.length===0)return;for(let a of o){if(Ac.has(a.value.toLowerCase())||n.has(a.value))continue;let s=ie(i);P({result:r,ruleName:vl,message:Ug.rejected,messageArgs:[a.value],node:i,index:s+a.sourceIndex,endIndex:s+a.sourceEndIndex})}}})},yl.ruleName=vl,yl.messages=Ug,yl.meta=VC,V3=yl});function IV(e){return qU(at(e),{preserveInvalidMediaQueries:!0})}var jV=y(()=>{Zt(),st()}),Q3={};N(Q3,{default:()=>Y3});var wl,Vg,QC,kl,Y3,DV=y(()=>{V(),Zt(),X(),hd(),jV(),In(),I(),D(),F(),wl="no-unknown-custom-media",Vg=j(wl,{rejected:e=>`Unknown custom media query "${e}"`}),QC={url:"https://stylelint.io/user-guide/rules/no-unknown-custom-media"},kl=e=>(t,r)=>{if(!L(r,wl,{actual:e}))return;let n=new Set;t.walkAtRules(we.customMediaName,i=>{let o=IV(i);o&&n.add(o.getName())}),t.walkAtRules(we.mediaName,i=>{Y.customProperty.test(i.params)&&Tn(i).forEach(o=>{On(o)||o.walk(({node:a})=>{if(!Pn(a))return;let[,s,u,l]=a.getNameToken();if(!Wi(s)||n.has(s))return;let c=Te(i),d=c+u,p=c+l+1;P({message:Vg.rejected,messageArgs:[s],node:i,index:d,endIndex:p,result:r,ruleName:wl})})})})},kl.ruleName=wl,kl.messages=Vg,kl.meta=QC,Y3=kl}),G3={};N(G3,{default:()=>K3});var YC,xl,Qg,GC,Sl,K3,LV=y(()=>{YC=re(me(),1),V(),X(),nd(),I(),D(),F(),xl="no-unknown-custom-properties",Qg=j(xl,{rejected:e=>`Unknown custom property "${e}"`}),GC={url:"https://stylelint.io/user-guide/rules/no-unknown-custom-properties"},Sl=e=>(t,r)=>{if(!L(r,xl,{actual:e}))return;let n=new Set;t.walkAtRules(we.propertyName,({params:i})=>{n.add(i)}),t.walkDecls(Mr.custom,({prop:i})=>{n.add(i)}),t.walkDecls(i=>{let{value:o}=i;(0,YC.default)(o).walk(a=>{if(!Gi(a))return;let[s,u]=a.nodes;if(!s||n.has(s.value)||u&&u.type==="div")return;let l=ie(i);P({result:r,ruleName:xl,message:Qg.rejected,messageArgs:[s.value],node:i,index:l+s.sourceIndex,endIndex:l+s.sourceEndIndex})})})},Sl.ruleName=xl,Sl.messages=Qg,Sl.meta=GC,K3=Sl}),H3={};N(H3,{default:()=>Z3});var Cl,Yg,KC,Al,Z3,FV=y(()=>{rt(),wt(),X(),q(),st(),Ye(),Er(),Le(),H(),I(),D(),Vw(),F(),Cl="number-max-precision",Yg=j(Cl,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),KC={url:"https://stylelint.io/user-guide/rules/number-max-precision"},Al=(e,t)=>(r,n)=>{var u;if(!L(n,Cl,{actual:e,possible:[cr]},{optional:!0,actual:t,possible:{ignoreProperties:[$,U],ignoreUnits:[$,U],insideFunctions:[um(cr)]}}))return;let i=new Map(Object.entries((u=t==null?void 0:t.insideFunctions)!=null?u:{}));r.walkAtRules(l=>{l.name.toLowerCase()!=="import"&&o(l,Te,at(l))}),r.walkDecls(l=>{o(l,ie,Qe(l))});function o(l,c,d){if(!d.includes("."))return;let p="prop"in l?l.prop:void 0;if(R(t,"ignoreProperties",p))return;let h={ignored:!1,precision:e};En(eo(yt({css:d})),({node:v,state:m})=>{m&&(m.ignored||a(l,c,v,m))},h)}function a(l,c,d,p){if(Ge(d)){let k=d.getName().toLowerCase();if(k==="url"){p.ignored=!0;return}p.precision=s(k,p.precision);return}if(!se(d))return;let[h,v,m,b,g]=d.value;if(h!==C.Number&&h!==C.Dimension&&h!==C.Percentage)return;let f=0;if(h===C.Dimension){let k=g.unit;if(f=k.length,R(t,"ignoreUnits",k))return}else if(h===C.Percentage&&(f=1,R(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(l);P({result:n,ruleName:Cl,node:l,index:w+m,endIndex:w+(b+1)-f,message:Yg.expected,messageArgs:[g.value,g.value.toFixed(p.precision)]})}function s(l,c){let d=i.get(l);if(typeof d<"u")return d;for(let[p,h]of i)if(Ee(l,p))return h;return c}},Al.ruleName=Cl,Al.messages=Yg,Al.meta=KC,Z3=Al}),X3={};N(X3,{default:()=>J3});var Nl,Gg,HC,Hn,J3,MV=y(()=>{q(),$r(),Le(),I(),D(),F(),Nl="property-allowed-list",Gg=j(Nl,{rejected:e=>`Disallowed property "${e}"`}),HC={url:"https://stylelint.io/user-guide/rules/property-allowed-list"},Hn=e=>(t,r)=>{L(r,Nl,{actual:e,possible:[$,U]})&&t.walkDecls(n=>{let i=n.prop;Rr(i)&&(Ee(i,e)||P({message:Gg.rejected,messageArgs:[i],word:i,node:n,result:r,ruleName:Nl}))})},Hn.primaryOptionArray=!0,Hn.ruleName=Nl,Hn.messages=Gg,Hn.meta=HC,J3=Hn}),eR={};N(eR,{default:()=>tR});var zl,Kg,ZC,Zn,tR,RV=y(()=>{q(),$r(),Le(),I(),D(),F(),zl="property-disallowed-list",Kg=j(zl,{rejected:e=>`Disallowed property "${e}"`}),ZC={url:"https://stylelint.io/user-guide/rules/property-disallowed-list"},Zn=e=>(t,r)=>{L(r,zl,{actual:e,possible:[$,U]})&&t.walkDecls(n=>{let i=n.prop;Rr(i)&&Ee(i,e)&&P({message:Kg.rejected,messageArgs:[i],word:i,node:n,result:r,ruleName:zl})})},Zn.primaryOptionArray=!0,Zn.ruleName=zl,Zn.messages=Kg,Zn.meta=ZC,tR=Zn}),rR={};N(rR,{default:()=>nR});var El,mp,XC,JC,Pl,nR,$V=y(()=>{q(),ht(),H(),I(),D(),F(),El="property-no-deprecated",mp=j(El,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:e=>`Deprecated property "${e}"`}),XC={url:"https://stylelint.io/user-guide/rules/property-no-deprecated",fixable:!0},JC={"-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},Pl=(e,t)=>(r,n)=>{L(n,El,{actual:e},{actual:t,possible:{ignoreProperties:[$,U]},optional:!0})&&r.walkDecls(i=>{if(!mt(i))return;let{prop:o,value:a}=i;if(R(t,"ignoreProperties",o))return;let s=o.toLowerCase(),u=JC[s];if(typeof u>"u"||s==="-webkit-box-orient"&&a.toLowerCase()==="vertical")return;let l,c,d;u?(c=mp.expected,d=[o,u],l=()=>{i.prop=u}):(c=mp.rejected,d=[o]),P({message:c,messageArgs:d,node:i,index:0,endIndex:o.length,result:n,ruleName:El,fix:{apply:l,node:i}})})},Pl.ruleName=El,Pl.messages=mp,Pl.meta=XC,nR=Pl}),iR={};N(iR,{default:()=>oR});var Ol,Hg,e2,Tl,oR,BV=y(()=>{he(),q(),rn(),ek(),zr(),RL(),ht(),$r(),H(),I(),D(),F(),Pt(),Ol="property-no-unknown",Hg=j(Ol,{rejected:e=>`Unknown property "${e}"`}),e2={url:"https://stylelint.io/user-guide/rules/property-no-unknown"},Tl=(e,t)=>(r,n)=>{if(!L(n,Ol,{actual:e},{actual:t,possible:{ignoreProperties:[$,U],checkPrefixed:[Uc],ignoreSelectors:[$,U],ignoreAtRules:[$,U]},optional:!0}))return;let i=t&&t.checkPrefixed,o=n.stylelint.lexer;r.walkDecls(a);function a(s){let u=s.prop;if(!mt(s)||ML(s)||!Rr(u)||vt(u)||!i&&Ke.prefix(u)||R(t,"ignoreProperties",u))return;let l=s.parent;l&<(l)&&R(t,"ignoreSelectors",l.selector)||Jw(s,c=>Oe(c)&&R(t,"ignoreAtRules",c.name))||o.getProperty(u)||lN.has(u.toLowerCase())||i&&uN.has(u.toLowerCase())||P({message:Hg.rejected,messageArgs:[u],node:s,result:n,ruleName:Ol,word:u})}},Tl.ruleName=Ol,Tl.messages=Hg,Tl.meta=e2,oR=Tl}),aR={};N(aR,{default:()=>sR});var Il,Zg,t2,jl,sR,qV=y(()=>{q(),He(),Xc(),H(),I(),D(),F(),Il="property-no-vendor-prefix",Zg=j(Il,{rejected:e=>`Vendor-prefixed property "${e}"`}),t2={url:"https://stylelint.io/user-guide/rules/property-no-vendor-prefix",fixable:!0},jl=(e,t)=>(r,n)=>{L(n,Il,{actual:e},{optional:!0,actual:t,possible:{ignoreProperties:[$,U]}})&&r.walkDecls(i=>{let o=i.prop;if(R(t,"ignoreProperties",o)||o[0]!=="-"||o[1]==="-"||!Sr.property(o)||o==="-webkit-background-size"&&!i.value.split(",").every(s=>{let u=s.trim().split(/\s+/),l=u.length,[c]=u;switch(l){case 2:return!0;case 1:return c&&(c==="auto"||Ie.has(c));default:return!1}}))return;let a=()=>{i.prop=Sr.unprefix(i.prop)};P({message:Zg.rejected,messageArgs:[o],word:o,node:i,result:n,ruleName:Il,fix:{apply:a,node:i}})})},jl.ruleName=Il,jl.messages=Zg,jl.meta=t2,sR=jl});function WV(e){let t=e.prev();return t!==void 0&&t.type==="comment"&&!aw(t)&&t.source!==void 0&&t.source.start!==void 0&&t.source.end!==void 0&&t.source.start.line===t.source.end.line}var _V=y(()=>{sw()}),lR={};N(lR,{default:()=>uR});function r2(e){let t=Dr(e);return t!=null&&t.type==="rule"}var Dl,hp,n2,Ll,uR,UV=y(()=>{Yc(),Nn(),Kc(),_V(),Hc(),Nm(),Dm(),pe(),H(),I(),D(),F(),Dl="rule-empty-line-before",hp=j(Dl,{expected:"Expected empty line before rule",rejected:"Expected no empty line before rule"}),n2={url:"https://stylelint.io/user-guide/rules/rule-empty-line-before",fixable:!0},Ll=(e,t,r)=>(n,i)=>{if(!L(i,Dl,{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(!de(a)||Am(a))return;if(R(t,"ignore","after-comment")){let p=a.prev();if(p&&p.type==="comment")return}if(R(t,"ignore","first-nested")&&Lr(a))return;let s=a.parent&&a.parent.type!=="root";if(R(t,"ignore","inside-block")&&s||o.includes("multi-line")&&jm(a.toString()))return;let u=o.includes("always");(R(t,"except","first-nested")&&Lr(a)||R(t,"except","after-rule")&&r2(a)||R(t,"except","inside-block-and-after-rule")&&s&&r2(a)||R(t,"except","after-single-line-comment")&&WV(a)||R(t,"except","inside-block")&&s)&&(u=!u);let l=Gc(a.raws.before);if(u===l)return;let c=u?hp.expected:hp.rejected,d=u?"add":"remove";P({message:c,messageArgs:[],node:a,result:i,ruleName:Dl,fix:{apply:()=>Qc({node:a,newline:r.newline,action:d}),node:a.parent}})})},Ll.ruleName=Dl,Ll.messages=hp,Ll.meta=n2,uR=Ll}),cR={};N(cR,{default:()=>dR});function VV(e,t){let r=e.parent;for(;r;){if(Oe(r)){let n=r.name;if(Ee(n,t))return!0}if(ur(r))break;r=r.parent}return!1}var Fl,Xg,i2,Xn,dR,QV=y(()=>{he(),q(),pe(),Le(),I(),D(),F(),Fl="rule-nesting-at-rule-required-list",Xg=j(Fl,{expected:(...e)=>`Expected rule to be nested in an at-rule matching pattern(s): ${e.map(t=>`"${t}"`).join(", ")}`}),i2={url:"https://stylelint.io/user-guide/rules/rule-nesting-at-rule-required-list"},Xn=e=>(t,r)=>{if(!L(r,Fl,{actual:e,possible:[$,U]}))return;let n=[e].flat();t.walkRules(i=>{de(i)&&(VV(i,n)||P({message:Xg.expected,messageArgs:n,node:i,result:r,ruleName:Fl}))})},Xn.primaryOptionArray=!0,Xn.ruleName=Fl,Xn.messages=Xg,Xn.meta=i2,dR=Xn}),pR={};N(pR,{default:()=>mR});function YV(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 Ml,Jg,o2,Rl,mR,GV=y(()=>{q(),dh(),pe(),Le(),H(),I(),D(),Ht(),F(),Ml="rule-selector-property-disallowed-list",Jg=j(Ml,{rejected:(e,t)=>`Disallowed property "${t}" for selector "${e}"`}),o2={url:"https://stylelint.io/user-guide/rules/rule-selector-property-disallowed-list"},Rl=(e,t)=>(r,n)=>{if(!L(n,Ml,{actual:e,possible:[Lt($,U)]},{actual:t,possible:{ignore:["keyframe-selectors"]},optional:!0}))return;let i=R(t,"ignore","keyframe-selectors"),o=Object.keys(e);r.walkRules(a=>{if(!de(a)||i&&ch(a))return;let s=o.find(l=>Ee(a.selector,l));if(!s)return;let u=e[s];u&&a.walkDecls(l=>{if(!YV(l,a))return;let{prop:c}=l;Ee(c,u)&&P({message:Jg.rejected,messageArgs:[a.selector,c],node:l,result:n,ruleName:Ml,word:c})})})},Rl.ruleName=Ml,Rl.messages=Jg,Rl.meta=o2,mR=Rl}),hR={};N(hR,{default:()=>fR});function KV(e){let{a:t,b:r}=e;return!(t!==null&&t!=="0"&&t!=="-0"||r!==null&&r!=="0"&&r!=="-0")}var $l,eb,a2,Bl,fR,HV=y(()=>{Ki(),Kt(),q(),ke(),pe(),V(),I(),D(),F(),$l="selector-anb-no-unmatchable",eb=j($l,{rejected:e=>`Unmatchable An+B selector "${e}"`}),a2={url:"https://stylelint.io/user-guide/rules/selector-anb-no-unmatchable"},Bl=e=>(t,r)=>{L(r,$l,{actual:e})&&t.walkRules(Y.aNPlusBNotationPseudoClass,n=>{if(!de(n))return;let i=be(n),o;try{o=en(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(u=>{if(u.type!=="PseudoClassSelector"||!Sc.has(u.name)&&!Pi.has(u.name))return;let l=u;l.children!==null&&l.children.forEach(c=>{if(c.type!=="Nth"||c.nth.type!=="AnPlusB")return;Ue(l.loc);let d=l.loc.start.offset,p=l.loc.end.offset;KV(c.nth)&&P({message:eb.rejected,messageArgs:[i.slice(d,p)],node:n,index:d,endIndex:p,result:r,ruleName:$l})})})}})},Bl.ruleName=$l,Bl.messages=eb,Bl.meta=a2,fR=Bl}),gR={};N(gR,{default:()=>bR});var ql,tb,s2,Jn,bR,ZV=y(()=>{q(),ke(),pe(),Le(),V(),Ne(),I(),D(),F(),ql="selector-attribute-name-disallowed-list",tb=j(ql,{rejected:e=>`Disallowed name "${e}"`}),s2={url:"https://stylelint.io/user-guide/rules/selector-attribute-name-disallowed-list"},Jn=e=>(t,r)=>{L(r,ql,{actual:e,possible:[$,U]})&&t.walkRules(Y.attributeSelector,n=>{var i;de(n)&&((i=Ce(be(n),r,n))==null||i.walkAttributes(o=>{let a=o.qualifiedAttribute;if(!Ee(a,e))return;let s=o.sourceIndex+o.offsetOf("attribute"),u=s+a.length;P({message:tb.rejected,messageArgs:[a],node:n,index:s,endIndex:u,result:r,ruleName:ql})}))})},Jn.primaryOptionArray=!0,Jn.ruleName=ql,Jn.messages=tb,Jn.meta=s2,bR=Jn}),vR={};N(vR,{default:()=>yR});var Wl,rb,l2,ei,yR,XV=y(()=>{ke(),pe(),q(),V(),Ne(),I(),D(),F(),Wl="selector-attribute-operator-allowed-list",rb=j(Wl,{rejected:e=>`Disallowed operator "${e}"`}),l2={url:"https://stylelint.io/user-guide/rules/selector-attribute-operator-allowed-list"},ei=e=>(t,r)=>{if(!L(r,Wl,{actual:e,possible:[$]}))return;let n=new Set([e].flat());t.walkRules(Y.attributeSelectorWithOperator,i=>{var o;de(i)&&((o=Ce(be(i),r,i))==null||o.walkAttributes(a=>{let{operator:s}=a;if(!s||n.has(s))return;let u=a.sourceIndex+a.offsetOf("operator"),l=u+s.length;P({message:rb.rejected,messageArgs:[s],node:i,index:u,endIndex:l,result:r,ruleName:Wl})}))})},ei.primaryOptionArray=!0,ei.ruleName=Wl,ei.messages=rb,ei.meta=l2,yR=ei}),wR={};N(wR,{default:()=>kR});var _l,nb,u2,ti,kR,JV=y(()=>{ke(),pe(),q(),V(),Ne(),I(),D(),F(),_l="selector-attribute-operator-disallowed-list",nb=j(_l,{rejected:e=>`Disallowed operator "${e}"`}),u2={url:"https://stylelint.io/user-guide/rules/selector-attribute-operator-disallowed-list"},ti=e=>(t,r)=>{if(!L(r,_l,{actual:e,possible:[$]}))return;let n=new Set([e].flat());t.walkRules(Y.attributeSelectorWithOperator,i=>{var o;de(i)&&((o=Ce(be(i),r,i))==null||o.walkAttributes(a=>{let{operator:s}=a;if(!s||!n.has(s))return;let u=a.sourceIndex+a.offsetOf("operator"),l=u+s.length;P({message:nb.rejected,messageArgs:[s],node:i,index:u,endIndex:l,result:r,ruleName:_l})}))})},ti.primaryOptionArray=!0,ti.ruleName=_l,ti.messages=nb,ti.meta=u2,kR=ti});function eQ(e){if(!e||e.trim()==="")return!1;let t=e.trim().replace(xR,"").replace(SR,"");return!(CR.test(t)||My.test(t.charAt(0))||t.charAt(0)==="-"&&My.test(t.charAt(1)))}var xR,SR,CR,My,tQ=y(()=>{xR=/\\[0-9a-f]{1,6}(\\r\\n|[ \t\r\n\f])?/gi,SR=/\\./g,CR=/[^\w-]/,My=/\d/}),AR={};N(AR,{default:()=>NR});var Ul,ib,c2,Vl,NR,rQ=y(()=>{ke(),pe(),tQ(),V(),Ne(),I(),D(),F(),Ul="selector-attribute-quotes",ib=j(Ul,{expected:e=>`Expected quotes around "${e}"`,rejected:e=>`Expected no quotes around "${e}"`}),c2={url:"https://stylelint.io/user-guide/rules/selector-attribute-quotes",fixable:!0},Vl=e=>(t,r)=>{L(r,Ul,{actual:e,possible:["always","never"]})&&t.walkRules(Y.attributeSelectorWithOperator,n=>{if(!de(n))return;let i=Ce(be(n),r,n);if(!i)return;let o=(a,s)=>{var p;let u=s.sourceIndex+s.offsetOf("value"),l=s.value||"",c=u+((p=s.raws.value)!=null?p:l).length,d=()=>{let h=a==="expected"?'"':null;s.quoteMark=h,n.selector=i.toString()};P({message:ib[a],messageArgs:[l],index:u,endIndex:c,result:r,ruleName:Ul,node:n,fix:{apply:d,node:n}})};i.walkAttributes(a=>{let{operator:s,value:u,quoted:l}=a;if(!(!s||!u)&&(!l&&e==="always"&&o("expected",a),l&&e==="never")){if(!a.raws.value||!eQ(a.raws.value.slice(1,-1)))return;o("rejected",a)}})})},Vl.ruleName=Ul,Vl.messages=ib,Vl.meta=c2,NR=Vl});function ph(e){return!!(Oi.has(e)||/^(?:\d+|\d*\.\d+)%$/.test(e)||zR.test(e))}var zR,mh=y(()=>{He(),zR=new RegExp(`^(?:${[...EN.values()].join("|")})\\s+(?:\\d+|\\d*\\.\\d+)%$`,"i")}),ER={};N(ER,{default:()=>PR});var Ql,ob,d2,Yl,PR,nQ=y(()=>{q(),ke(),mh(),pe(),V(),Ne(),I(),D(),F(),Ql="selector-class-pattern",ob=j(Ql,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),d2={url:"https://stylelint.io/user-guide/rules/selector-class-pattern"},Yl=e=>(t,r)=>{if(!L(r,Ql,{actual:e,possible:[U,$]}))return;let n=$(e)?new RegExp(e):e;t.walkRules(Y.classSelector,i=>{var o;de(i)&&(i.selectors.some(ph)||((o=Ce(be(i),r,i))==null||o.walkClasses(a=>{let{value:s,sourceIndex:u}=a;if(n.test(s))return;let l=a.toString().trim(),c=u+l.length;P({result:r,ruleName:Ql,message:ob.expected,messageArgs:[l,e],node:i,index:u,endIndex:c})})))})},Yl.ruleName=Ql,Yl.messages=ob,Yl.meta=d2,PR=Yl});function OR(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 TR=y(()=>{}),IR={};N(IR,{default:()=>jR});function iQ(e){return e.replace(/\s+/g," ")}var Gl,ab,p2,ri,jR,oQ=y(()=>{ke(),TR(),pe(),q(),Ne(),I(),D(),F(),Gl="selector-combinator-allowed-list",ab=j(Gl,{rejected:e=>`Disallowed combinator "${e}"`}),p2={url:"https://stylelint.io/user-guide/rules/selector-combinator-allowed-list"},ri=e=>(t,r)=>{L(r,Gl,{actual:e,possible:[$]})&&t.walkRules(n=>{var i;de(n)&&((i=Ce(be(n),r,n))==null||i.walkCombinators(o=>{if(!OR(o))return;let{value:a}=o,s=iQ(a);if(e.includes(s))return;let{sourceIndex:u,raws:l}=o,c=u+(l&&l.value||a).length;P({result:r,ruleName:Gl,message:ab.rejected,messageArgs:[s],node:n,index:u,endIndex:c})}))})},ri.primaryOptionArray=!0,ri.ruleName=Gl,ri.messages=ab,ri.meta=p2,jR=ri}),DR={};N(DR,{default:()=>LR});function aQ(e){return e.replace(/\s+/g," ")}var Kl,sb,m2,ni,LR,sQ=y(()=>{ke(),TR(),pe(),q(),Ne(),I(),D(),F(),Kl="selector-combinator-disallowed-list",sb=j(Kl,{rejected:e=>`Disallowed combinator "${e}"`}),m2={url:"https://stylelint.io/user-guide/rules/selector-combinator-disallowed-list"},ni=e=>(t,r)=>{L(r,Kl,{actual:e,possible:[$]})&&t.walkRules(n=>{var i;de(n)&&((i=Ce(be(n),r,n))==null||i.walkCombinators(o=>{if(!OR(o))return;let{value:a}=o,s=aQ(a);if(!e.includes(s))return;let{sourceIndex:u,raws:l}=o,c=u+(l&&l.value||a).length;P({result:r,ruleName:Kl,message:sb.rejected,messageArgs:[s],node:n,index:u,endIndex:c})}))})},ni.primaryOptionArray=!0,ni.ruleName=Kl,ni.messages=sb,ni.meta=m2,LR=ni}),FR={};N(FR,{default:()=>MR});var Hl,lb,h2,ii,MR,lQ=y(()=>{q(),ke(),kt(),dh(),pe(),Le(),H(),Ne(),I(),D(),F(),Hl="selector-disallowed-list",lb=j(Hl,{rejected:e=>`Disallowed selector "${e}"`}),h2={url:"https://stylelint.io/user-guide/rules/selector-disallowed-list"},ii=(e,t)=>(r,n)=>{if(!L(n,Hl,{actual:e,possible:[$,U]},{actual:t,possible:{ignore:["inside-block","keyframe-selectors"],splitList:[Uc]},optional:!0}))return;let i=R(t,"ignore","inside-block"),o=R(t,"ignore","keyframe-selectors"),a=t&&t.splitList;r.walkRules(s=>{var c;if(!de(s)||o&&ch(s))return;if(i){let{parent:d}=s;if(d&&d.type!=="root")return}function u(d,p,h){Ee(d,e)&&P({result:n,ruleName:Hl,message:lb.rejected,messageArgs:[d],node:s,index:p,endIndex:h})}let l=be(s);if(!a){u(l,0,l.length);return}(c=Ce(l,n,s))==null||c.each(d=>{let{selector:p,index:h,endIndex:v}=ot(d);u(p,h,v)})})},ii.primaryOptionArray=!0,ii.ruleName=Hl,ii.messages=lb,ii.meta=h2,MR=ii}),RR={};N(RR,{default:()=>$R});var Zl,ub,f2,Xl,$R,uQ=y(()=>{q(),ke(),pe(),V(),Ne(),I(),D(),F(),Zl="selector-id-pattern",ub=j(Zl,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),f2={url:"https://stylelint.io/user-guide/rules/selector-id-pattern"},Xl=e=>(t,r)=>{if(!L(r,Zl,{actual:e,possible:[U,$]}))return;let n=$(e)?new RegExp(e):e;t.walkRules(Y.idSelector,i=>{var o;de(i)&&((o=Ce(be(i),r,i))==null||o.walkIds(a=>{let{value:s,sourceIndex:u}=a;if(n.test(s))return;let l=a.toString().trim(),c=u+l.length;P({result:r,ruleName:Zl,message:ub.expected,messageArgs:[l,e],node:i,index:u,endIndex:c})}))})},Xl.ruleName=Zl,Xl.messages=ub,Xl.meta=f2,$R=Xl}),BR={};N(BR,{default:()=>qR});var Jl,cb,g2,eu,qR,cQ=y(()=>{q(),ke(),kt(),Er(),pe(),V(),H(),Ne(),I(),D(),F(),Jl="selector-max-attribute",cb=j(Jl,{expected:(e,t)=>`Too many attribute selectors in "${e}", maximum ${t}`}),g2={url:"https://stylelint.io/user-guide/rules/selector-max-attribute"},eu=(e,t)=>(r,n)=>{if(!L(n,Jl,{actual:e,possible:cr},{actual:t,possible:{ignoreAttributes:[$,U]},optional:!0}))return;function i(o,a){let s=0;if(o.walkAttributes(u=>{R(t,"ignoreAttributes",u.attribute)||(s+=1)}),s>e){let{index:u,endIndex:l,selector:c}=ot(o);P({ruleName:Jl,result:n,node:a,message:cb.expected,messageArgs:[c,e],index:u,endIndex:l})}}r.walkRules(Y.attributeSelector,o=>{var a;de(o)&&((a=Ce(be(o),n,o))==null||a.each(s=>{i(s,o)}))})},eu.ruleName=Jl,eu.messages=cb,eu.meta=g2,qR=eu}),WR={};N(WR,{default:()=>_R});var tu,db,b2,ru,_R,dQ=y(()=>{ke(),kt(),Er(),pe(),V(),Ne(),I(),D(),F(),tu="selector-max-class",db=j(tu,{expected:(e,t)=>`Too many class selectors in "${e}", maximum ${t}`}),b2={url:"https://stylelint.io/user-guide/rules/selector-max-class"},ru=e=>(t,r)=>{if(!L(r,tu,{actual:e,possible:cr}))return;function n(i,o){let a=0;if(i.walkClasses(()=>{a+=1}),a>e){let{index:s,endIndex:u,selector:l}=ot(i);P({ruleName:tu,result:r,node:o,message:db.expected,messageArgs:[l,e],index:s,endIndex:u})}}t.walkRules(Y.classSelector,i=>{var o;de(i)&&((o=Ce(be(i),r,i))==null||o.each(a=>{n(a,i)}))})},ru.ruleName=tu,ru.messages=db,ru.meta=b2,_R=ru}),UR={};N(UR,{default:()=>VR});var nu,pb,v2,iu,VR,pQ=y(()=>{ke(),kt(),Er(),pe(),V(),Ne(),I(),D(),F(),nu="selector-max-combinators",pb=j(nu,{expected:(e,t)=>`Too many combinators in "${e}", maximum ${t}`}),v2={url:"https://stylelint.io/user-guide/rules/selector-max-combinators"},iu=e=>(t,r)=>{if(!L(r,nu,{actual:e,possible:cr}))return;function n(i,o){let a=0;if(i.walkCombinators(()=>{a+=1}),a>e){let{index:s,endIndex:u,selector:l}=ot(i);P({ruleName:nu,result:r,node:o,message:pb.expected,messageArgs:[l,e],index:s,endIndex:u})}}t.walkRules(Y.combinator,i=>{var o;de(i)&&((o=Ce(be(i),r,i))==null||o.each(a=>{n(a,i)}))})},iu.ruleName=nu,iu.messages=pb,iu.meta=v2,VR=iu}),QR={};N(QR,{default:()=>YR});var y2,mb,hb,w2,ou,fb,k2,au,YR,mQ=y(()=>{y2=re(gt(),1),q(),ke(),kt(),Er(),pe(),V(),H(),Ne(),I(),D(),F(),{isCombinator:mb,isPseudo:hb,isRoot:w2}=y2.default,ou="selector-max-compound-selectors",fb=j(ou,{expected:(e,t)=>`Too many compound selectors in "${e}", maximum ${t}`}),k2={url:"https://stylelint.io/user-guide/rules/selector-max-compound-selectors"},au=(e,t)=>(r,n)=>{if(!L(n,ou,{actual:e,possible:cr},{actual:t,possible:{ignoreSelectors:[$,U]},optional:!0}))return;function i(a){let s=hb(a)?a.value:a.toString();return R(t,"ignoreSelectors",s)}function o(a,s){let u=[];if(a.walk(l=>{i(l)||u.push(l)}),!(w2(a)||hb(a))&&u.reduce((l,c,d,p)=>!mb(c)||d===0||d===p.length-1||mb(p[d+1])?l:l+1,0)+1>e){let{index:l,endIndex:c,selector:d}=ot(a);P({ruleName:ou,result:n,node:s,message:fb.expected,messageArgs:[d,e],index:l,endIndex:c})}}r.walkRules(Y.combinator,a=>{var s;de(a)&&((s=Ce(be(a),n,a))==null||s.each(u=>{o(u,a)}))})},au.ruleName=ou,au.messages=fb,au.meta=k2,YR=au});function hQ(e){if((e==null?void 0:e.type)==="pseudo"){let t=e.value.toLowerCase().replace(/:+/,"");return tv.has(t)||Pi.has(t)}return!1}var fQ=y(()=>{Kt()}),GR={};N(GR,{default:()=>KR});var su,gb,x2,lu,KR,gQ=y(()=>{q(),ke(),kt(),fQ(),Er(),pe(),V(),H(),Ne(),I(),D(),F(),su="selector-max-id",gb=j(su,{expected:(e,t)=>`Too many ID selectors in "${e}", maximum ${t}`}),x2={url:"https://stylelint.io/user-guide/rules/selector-max-id"},lu=(e,t)=>(r,n)=>{if(!L(n,su,{actual:e,possible:cr},{actual:t,possible:{ignoreContextFunctionalPseudoClasses:[$,U]},optional:!0}))return;function i(o){let a=o;for(;a;){if(hQ(a)&&R(t,"ignoreContextFunctionalPseudoClasses",a.value))return!0;a=a.parent}return!1}r.walkRules(Y.idSelector,o=>{var a;de(o)&&((a=Ce(be(o),n,o))==null||a.each(s=>{let u=0;if(s.walkIds(l=>{i(l)||(u+=1)}),u>e){let{index:l,endIndex:c,selector:d}=ot(s);P({ruleName:su,result:n,node:o,message:gb.expected,messageArgs:[d,e],index:l,endIndex:c})}}))})},lu.ruleName=su,lu.messages=gb,lu.meta=x2,KR=lu}),HR={};N(HR,{default:()=>ZR});var uu,bb,S2,cu,ZR,bQ=y(()=>{ke(),kt(),Er(),pe(),Kt(),V(),Ne(),I(),D(),F(),uu="selector-max-pseudo-class",bb=j(uu,{expected:(e,t)=>`Too many pseudo-classes in "${e}", maximum ${t}`}),S2={url:"https://stylelint.io/user-guide/rules/selector-max-pseudo-class"},cu=e=>(t,r)=>{if(!L(r,uu,{actual:e,possible:cr}))return;function n(i,o){let a=0;if(i.walk(s=>{s.type==="pseudo"&&(s.value.includes("::")||kc.has(s.value.toLowerCase().slice(1))||(a+=1))}),a>e){let{index:s,endIndex:u,selector:l}=ot(i);P({ruleName:uu,result:r,node:o,message:bb.expected,messageArgs:[l,e],index:s,endIndex:u})}}t.walkRules(Y.pseudo,i=>{var o;de(i)&&((o=Ce(be(i),r,i))==null||o.each(a=>{n(a,i)}))})},cu.ruleName=uu,cu.messages=bb,cu.meta=S2,ZR=cu}),XR={};N(XR,{default:()=>JR});var du,vb,C2,yb,pu,JR,vQ=y(()=>{p3(),q(),kt(),pe(),H(),I(),uh(),D(),F(),du="selector-max-specificity",vb=j(du,{expected:(e,t,r)=>(e=`"${e}"${r?` ("${r}")`:""}`,`Too high specificity in ${e}, maximum "${t}"`)}),C2={url:"https://stylelint.io/user-guide/rules/selector-max-specificity"},yb=()=>({a:0,b:0,c:0}),pu=(e,t)=>(r,n)=>{if(!L(n,du,{actual:e,possible:[c=>$(c)&&/^\d+,\d+,\d+$/.test(c)]},{actual:t,possible:{ignoreSelectors:[$,U]},optional:!0}))return;let i=c=>R(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=yn(c),h=yn(c.clone({nodes:[]}));return{a:p.a-h.a,b:p.b-h.b,c:p.c-h.c}}default:}}:void 0,[a,s,u]=e.split(",").map(c=>Number.parseFloat(c));ac(a),ac(s),ac(u);let l={a,b:s,c:u};r.walkRules(c=>{de(c)&&qc(c,n).forEach(({selector:d,resolvedSelectors:p})=>{p.each(h=>{let v=yn(h,{customSpecificity:o});if(vk(v,l)>0){let{index:m,endIndex:b,selector:g}=ot(d),{selector:f}=ot(h);f=f===g?"":f,P({ruleName:du,result:n,node:c,message:vb.expected,messageArgs:[g,e,f],index:m,endIndex:b})}})})})},pu.ruleName=du,pu.messages=vb,pu.meta=C2,JR=pu}),wk,e5=y(()=>{"use strict";wk=[]}),t5=G((e,t)=>{"use strict";t.exports=[]});function r5(e){if(!/^[a-z]/.test(e)||!e.includes("-"))return!1;let t=e.toLowerCase();return!(t!==e||n5.default.includes(t)||wk.includes(t))}var n5,i5=y(()=>{e5(),n5=re(t5(),1)});function yQ(e){for(let t of e)if(!pv(t))return!1;return!0}var wQ=y(()=>{sE()});function hh(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"&&(Sc.has(o)||Pi.has(o)||ev.has(o)||Xb.has(o)))return!1}return!(((i=e.prev())==null?void 0:i.type)==="nesting"||e.value.startsWith("%")||e.value.startsWith("/")&&e.value.endsWith("/"))}var fh=y(()=>{Kt()}),o5={};N(o5,{default:()=>a5});function kQ(e){if(!e.parent)return!1;let t=e.parent.nodes.indexOf(e);return e.parent.nodes.slice(0,t).some(r=>AQ(r))}function xQ(e){if(!e.parent)return!1;let t=e.parent.nodes.indexOf(e);return e.parent.nodes.slice(0,t).some(r=>NQ(r))}function SQ(e){return!!(e.prev()&&!Wc(e.prev())||e.next()&&!Wc(e.next()))}function CQ(e){return zQ(e.prev())}function Wc(e){return e?e.type==="combinator":!1}function AQ(e){return e?Wc(e)&&$(e.value)&&yQ(e.value):!1}function NQ(e){return e?Wc(e)&&e.value===">":!1}function zQ(e){return Wc(e)&&e.value==="+"}var mu,wb,A2,hu,a5,EQ=y(()=>{q(),ke(),kt(),i5(),mh(),Er(),wQ(),pe(),fh(),V(),H(),Ne(),I(),D(),F(),mu="selector-max-type",wb=j(mu,{expected:(e,t)=>`Too many type selectors in "${e}", maximum ${t}`}),A2={url:"https://stylelint.io/user-guide/rules/selector-max-type"},hu=(e,t)=>(r,n)=>{if(!L(n,mu,{actual:e,possible:cr},{actual:t,possible:{ignore:["descendant","child","compounded","next-sibling","custom-elements"],ignoreTypes:[$,U]},optional:!0}))return;let i=R(t,"ignore","descendant"),o=R(t,"ignore","child"),a=R(t,"ignore","compounded"),s=R(t,"ignore","next-sibling"),u=R(t,"ignore","custom-elements");function l(c,d){let p=0;if(c.walkTags(h=>{R(t,"ignoreTypes",h.value)||i&&kQ(h)||o&&xQ(h)||a&&SQ(h)||s&&CQ(h)||u&&h.value&&r5(h.value)||hh(h)&&(p+=1)}),p>e){let{selector:h,index:v,endIndex:m}=ot(c);P({ruleName:mu,result:n,node:d,message:wb.expected,messageArgs:[h,e],index:v,endIndex:m})}}r.walkRules(Y.typeSelector,c=>{var d;!de(c)||c.selectors.some(ph)||(d=Ce(be(c),n,c))==null||d.each(p=>{l(p,c)})})},hu.ruleName=mu,hu.messages=wb,hu.meta=A2,a5=hu}),s5={};N(s5,{default:()=>l5});var fu,kb,N2,gu,l5,PQ=y(()=>{ke(),kt(),Er(),pe(),q(),V(),H(),Ne(),I(),D(),F(),fu="selector-max-universal",kb=j(fu,{expected:(e,t)=>`Too many universal selectors in "${e}", maximum ${t}`}),N2={url:"https://stylelint.io/user-guide/rules/selector-max-universal"},gu=(e,t)=>(r,n)=>{if(!L(n,fu,{actual:e,possible:cr},{actual:t,possible:{ignoreAfterCombinators:[$]},optional:!0}))return;function i(o,a){let s=0;if(o.walkUniversals(u=>{let l=u.prev(),c=l&&l.value;R(t,"ignoreAfterCombinators",c)||(s+=1)}),s>e){let{index:u,endIndex:l,selector:c}=ot(o);P({ruleName:fu,result:n,node:a,message:kb.expected,messageArgs:[c,e],index:u,endIndex:l})}}r.walkRules(Y.universalSelector,o=>{var a;de(o)&&((a=Ce(be(o),n,o))==null||a.each(s=>{i(s,o)}))})},gu.ruleName=fu,gu.messages=kb,gu.meta=N2,l5=gu}),u5={};N(u5,{default:()=>c5});var bu,xb,z2,vu,c5,OQ=y(()=>{q(),ke(),kt(),pe(),Ne(),I(),D(),F(),bu="selector-nested-pattern",xb=j(bu,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),z2={url:"https://stylelint.io/user-guide/rules/selector-nested-pattern"},vu=(e,t)=>(r,n)=>{if(!L(n,bu,{actual:e,possible:[U,$]},{actual:t,possible:{splitList:[Uc]},optional:!0}))return;let i=$(e)?new RegExp(e):e,o=t&&t.splitList;r.walkRules(s=>{var l;if(s.parent&&s.parent.type!=="rule"||!de(s))return;let u=be(s);o?(l=Ce(u,n,s))==null||l.each(c=>{let{index:d,endIndex:p,selector:h}=ot(c);a(s,h,d,p)}):a(s,u,0,u.length)});function a(s,u,l,c){i.test(u)||P({result:n,ruleName:bu,message:xb.expected,messageArgs:[u,e],node:s,index:l,endIndex:c})}},vu.ruleName=bu,vu.messages=xb,vu.meta=z2,c5=vu});function Ry(e){return d5.default.isPseudoClass(e)&&e.nodes.length>0&&p5.has(e.value.toLowerCase())}var d5,p5,m5=y(()=>{d5=re(gt(),1),p5=new Set(["is","matches","not","where","host"].map(e=>`:${e}`))});function TQ(e){let t=Ei.default.root({source:e.source,sourceIndex:e.sourceIndex,value:"",nodes:[]}),r=new Map;return e.each(n=>{IQ(n).forEach(i=>{let o=n.clone({nodes:[]});i.forEach(a=>{let s=a.clone();Ei.default.isTag(a)&&r.set(s,a),o.append(s)}),t.append(o)})}),{compoundSelectors:t,lookupMap:r}}function IQ(e){let{terminatedCompoundSelectors:t,currentCompoundSelectors:r}=$y(e);return[...t,...r].filter(n=>n.length)}function $y(e){let t=[],r=[[]];return e.each(n=>{if(Ei.default.isCombinator(n)){t.push(...r),r=[[]];return}if(Ei.default.isPseudoElement(n)&&(t.push(...r),r=[[]]),Ei.default.isPseudoClass(n)&&n.value.toLowerCase()===":has"&&n.nodes.length){n.each(i=>{let o=$y(i);t.push(...o.terminatedCompoundSelectors,...o.currentCompoundSelectors)});return}if(Ry(n)){let i=[];n.each(o=>{let a=$y(o);t.push(...a.terminatedCompoundSelectors),a.currentCompoundSelectors.forEach(s=>{s.length&&r.forEach(u=>{i.push([...u,...s])})})}),i.length&&(r=i);return}r.forEach(i=>{i.push(n)})}),{terminatedCompoundSelectors:t,currentCompoundSelectors:r}}var Ei,jQ=y(()=>{Ei=re(gt(),1),m5()}),h5={};N(h5,{default:()=>g5});function f5(e){var o;let t=(o=e.parent)==null?void 0:o.parent;if(Ry(t))return f5(t);let r=[e],n=e;for(;(n=n.prev())&&!(xt.default.isCombinator(n)||xt.default.isPseudoElement(n));)xt.default.isComment(n)||r.push(n);r.reverse();let i=e;for(;(i=i.next())&&!(xt.default.isCombinator(i)||xt.default.isPseudoElement(i));)xt.default.isComment(i)||r.push(i);for(;(i=r.at(-1))&&!(xt.default.isIdentifier(i)||xt.default.isClassName(i)||xt.default.isAttribute(i)||xt.default.isTag(i)||Ry(i));)r.splice(-1,1);return r}var xt,yu,Sb,E2,wu,g5,DQ=y(()=>{xt=re(gt(),1),jQ(),kt(),dh(),m5(),pe(),fh(),V(),H(),I(),uh(),D(),F(),yu="selector-no-qualifying-type",Sb=j(yu,{rejected:(e,t)=>`Disallowed qualifying type selector "${t}" in "${e}"`}),E2={url:"https://stylelint.io/user-guide/rules/selector-no-qualifying-type"},wu=(e,t)=>(r,n)=>{if(!L(n,yu,{actual:e,possible:[!0]},{actual:t,possible:{ignore:["attribute","class","id"]},optional:!0}))return;let i=R(t,"ignore","id"),o=R(t,"ignore","class"),a=R(t,"ignore","attribute");r.walkRules(Y.idClassAttributeSelector,s=>{if(!de(s)||ch(s))return;function u(l,c,d){let{compoundSelectors:p,lookupMap:h}=TQ(l);p.walkTags(v=>{var x;let m=h.get(v);if(!m||!hh(m))return;let b=v.parent;if(!b||b.nodes.length===1)return;let g=b.nodes,f=f5(m);for(let w of g)if(xt.default.isIdentifier(w)&&!i||xt.default.isClassName(w)&&!o||xt.default.isAttribute(w)&&!a){let k=f.join("").trim(),S,E;d?{index:S,endIndex:E}=ot(c):(S=(x=v.sourceIndex)!=null?x:0,E=S+v.value.length),P({ruleName:yu,result:n,node:s,message:Sb.rejected,messageArgs:[k,v.value],index:S,endIndex:E});break}})}qc(s,n).forEach(({selector:l,resolvedSelectors:c,nested:d})=>{u(c,l,d)})})},wu.ruleName=yu,wu.messages=Sb,wu.meta=E2,g5=wu}),b5={};N(b5,{default:()=>v5});var ku,Cb,P2,xu,v5,LQ=y(()=>{q(),ke(),Xc(),pe(),V(),H(),Ne(),I(),D(),F(),ku="selector-no-vendor-prefix",Cb=j(ku,{rejected:e=>`Vendor-prefixed selector "${e}"`}),P2={url:"https://stylelint.io/user-guide/rules/selector-no-vendor-prefix",fixable:!0},xu=(e,t)=>(r,n)=>{L(n,ku,{actual:e},{actual:t,possible:{ignoreSelectors:[$,U]},optional:!0})&&r.walkRules(Y.prefix,i=>{if(!de(i))return;let o=Ce(be(i),n,i);o&&o.walkPseudos(a=>{let{value:s}=a;if(!Sr.selector(s)||R(t,"ignoreSelectors",s))return;let u=()=>{a.value=Sr.unprefix(s),i.selector=o.toString()},l=a.sourceIndex,c=l+s.length;P({result:n,ruleName:ku,message:Cb.rejected,messageArgs:[s],node:i,index:l,endIndex:c,fix:{apply:u,node:i}})})})},xu.ruleName=ku,xu.messages=Cb,xu.meta=P2,v5=xu}),y5={};N(y5,{default:()=>k5});function FQ(e,t,r){let n=e.nodes.filter(({nodes:o})=>o[0]&&By(o[0])).map(o=>(Ue(o.nodes[0]),o.nodes[0].rawSpaceBefore="",o.nodes[0].rawSpaceAfter="",o)),i=n.shift();Ue(i),Ue(e.parent),e.empty(),e.nodes.push(i);for(let o of n){let a=w5(e),s=a.clone({nodes:[o]});s.rawSpaceBefore="",e.parent.insertAfter(a,s)}t.selector=r.toString()}function MQ(e,t,r){let n=s=>{for(let u of s)Ue(u.nodes[0]),u.nodes[0].rawSpaceBefore=" ",u.nodes[0].rawSpaceAfter=""},[i,...o]=e.nodes,a=e.next();if(!(i==null||i.nodes.length===0)){for(Ue(i.nodes[0]),i.nodes[0].rawSpaceBefore="",i.nodes[0].rawSpaceAfter="",n(o);mi(a);){let s=a.nodes,u=a;n(s),e.nodes=e.nodes.concat(s),a=a.next(),u.remove()}t.selector=r.toString()}}var O2,T2,I2,j2,Ab,D2,L2,Su,Nb,F2,By,mi,M2,Cu,w5,k5,RQ=y(()=>{O2=re(gt(),1),q(),ke(),pe(),V(),Ne(),I(),D(),F(),{isAttribute:T2,isClassName:I2,isIdentifier:j2,isPseudoClass:Ab,isTag:D2,isUniversal:L2}=O2.default,Su="selector-not-notation",Nb=j(Su,{expected:e=>`Expected ${e} :not() pseudo-class notation`}),F2={url:"https://stylelint.io/user-guide/rules/selector-not-notation",fixable:!0},By=e=>Ab(e)||T2(e)||I2(e)||L2(e)||j2(e)||D2(e),mi=e=>Ab(e)&&e.value!==void 0&&e.value.toLowerCase()===":not",M2=e=>{if(e.length>1)return!1;Ue(e[0],"list is never empty");let[t,r]=e[0].nodes;return t?r?!1:By(t)&&!mi(t):!0},Cu=e=>(t,r)=>{L(r,Su,{actual:e,possible:["simple","complex"]})&&t.walkRules(Y.notPseudoClass,n=>{if(!de(n))return;let i=Ce(be(n),r,n);i&&i.walkPseudos(o=>{if(!mi(o))return;let a=o.sourceIndex,s=a+o.toString().trim().length,u;if(e==="complex"){let l=o.prev();if(!(l&&mi(l)))return;u=()=>MQ(l,n,i)}else{let l=o.nodes;if(M2(l))return;let c=l.length>1&&l[1];c&&(!c.nodes.length||l.every(({nodes:d})=>d.length===1))&&(u=()=>FQ(o,n,i))}P({message:Nb.expected,messageArgs:[e],node:n,result:r,ruleName:Su,index:a,endIndex:s,fix:{apply:u,node:n}})})})},w5=({parent:e,sourceIndex:t})=>{Ue(e);let r=e.nodes,n=r.findIndex(o=>o.sourceIndex>=t&&!mi(o)),i=n===-1?r[r.length-1]:r[n-1];return Ue(i),i},Cu.ruleName=Su,Cu.messages=Nb,Cu.meta=F2,k5=Cu}),x5={};N(x5,{default:()=>S5});var Au,zb,R2,oi,S5,$Q=y(()=>{V(),q(),X(),st(),ke(),et(),pe(),Le(),Ne(),I(),D(),F(),Au="selector-pseudo-class-allowed-list",zb=j(Au,{rejected:e=>`Disallowed pseudo-class "${e}"`}),R2={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-allowed-list"},oi=e=>(t,r)=>{if(!L(r,Au,{actual:e,possible:[$,U]}))return;function n(i,o,a=0){var s;(s=Ce(i,r,o))==null||s.walkPseudos(({value:u,sourceIndex:l})=>{if(u.slice(0,2)==="::")return;let c=u.slice(1);if(Ee(c,e))return;let d=a+l;P({message:zb.rejected,messageArgs:[u],node:o,result:r,ruleName:Au,index:d,endIndex:d+u.length})})}t.walkRules(Y.pseudo,i=>{de(i)&&n(be(i),i)}),t.walkAtRules(we.pageName,i=>{Y.pseudo.test(i.params)&&Je(i)&&n(at(i),i,Te(i))})},oi.primaryOptionArray=!0,oi.ruleName=Au,oi.messages=zb,oi.meta=R2,S5=oi}),C5={};N(C5,{default:()=>A5});var Nu,Eb,$2,ai,A5,BQ=y(()=>{V(),q(),X(),st(),ke(),et(),pe(),Le(),Ne(),I(),D(),F(),Nu="selector-pseudo-class-disallowed-list",Eb=j(Nu,{rejected:e=>`Disallowed pseudo-class "${e}"`}),$2={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-disallowed-list"},ai=e=>(t,r)=>{if(!L(r,Nu,{actual:e,possible:[$,U]}))return;function n(i,o,a=0){var s;(s=Ce(i,r,o))==null||s.walkPseudos(({value:u,sourceIndex:l})=>{if(u.slice(0,2)==="::")return;let c=u.slice(1);if(!Ee(c,e))return;let d=a+l;P({message:Eb.rejected,messageArgs:[u],node:o,result:r,ruleName:Nu,index:d,endIndex:d+u.length})})}t.walkRules(Y.pseudo,i=>{de(i)&&n(be(i),i)}),t.walkAtRules(we.pageName,i=>{Y.pseudo.test(i.params)&&Je(i)&&n(at(i),i,Te(i))})},ai.primaryOptionArray=!0,ai.ruleName=Nu,ai.messages=Eb,ai.meta=$2,A5=ai});function qQ(e){return e.startsWith(":--")}var WQ=y(()=>{}),N5={};N(N5,{default:()=>z5});var zu,Pb,B2,Eu,z5,_Q=y(()=>{Kt(),q(),X(),st(),ke(),he(),WQ(),et(),pe(),Om(),H(),Ne(),I(),D(),F(),Pt(),zu="selector-pseudo-class-no-unknown",Pb=j(zu,{rejected:e=>`Unknown pseudo-class selector "${e}"`}),B2={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-no-unknown"},Eu=(e,t)=>(r,n)=>{if(!L(n,zu,{actual:e},{actual:t,possible:{ignorePseudoClasses:[$,U]},optional:!0}))return;function i(o,a){var s;(s=Ce(o,n,a))==null||s.walkPseudos(u=>{let l=u.value;if(!Pm(l)||qQ(l)||l.startsWith("::"))return;let c=l.replace(/^:*/,"").toLowerCase();if(kc.has(c)||R(t,"ignorePseudoClasses",u.value.slice(1)))return;let d=Ke.prefix(c),p;if(Oe(a)&&a.name==="page"){if(mN.has(c))return;p=Te(a)+u.sourceIndex}else if(xm.has(c)&&!d)p=u.sourceIndex;else{if(d||fN.has(c))return;let v=u;do if(v=v.prev(),v&&v.value.slice(0,2)==="::")break;while(v);if(v){let m=v.value.toLowerCase().slice(2);if(Jb.has(m)&&hN.has(c))return}p=u.sourceIndex}let h=p+u.value.length;P({message:Pb.rejected,messageArgs:[l],node:a,index:p,endIndex:h,ruleName:zu,result:n})})}r.walk(o=>{let a=null;if(o.type==="rule"){if(!de(o))return;a=be(o)}else if(Oe(o)&&o.name==="page"&&o.params){if(!Je(o))return;a=at(o)}a&&a.includes(":")&&i(a,o)})},Eu.ruleName=zu,Eu.messages=Pb,Eu.meta=B2,z5=Eu}),E5={};N(E5,{default:()=>P5});var Pu,Ob,q2,si,P5,UQ=y(()=>{q(),ke(),pe(),Le(),V(),Ne(),I(),D(),F(),Pu="selector-pseudo-element-allowed-list",Ob=j(Pu,{rejected:e=>`Disallowed pseudo-element "${e}"`}),q2={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-allowed-list"},si=e=>(t,r)=>{L(r,Pu,{actual:e,possible:[$,U]})&&t.walkRules(Y.pseudoElement,n=>{var i;de(n)&&((i=Ce(be(n),r,n))==null||i.walkPseudos(o=>{let a=o.value;if(a.charAt(1)!==":")return;let s=a.slice(2);if(Ee(s,e))return;let u=o.sourceIndex,l=u+a.length;P({index:u,endIndex:l,message:Ob.rejected,messageArgs:[a],node:n,result:r,ruleName:Pu})}))})},si.primaryOptionArray=!0,si.ruleName=Pu,si.messages=Ob,si.meta=q2,P5=si}),O5={};N(O5,{default:()=>T5});var Ou,Tb,W2,Tu,T5,VQ=y(()=>{ke(),pe(),Kt(),V(),Ne(),I(),D(),F(),Ou="selector-pseudo-element-colon-notation",Tb=j(Ou,{expected:e=>`Expected ${e} colon pseudo-element notation`}),W2={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-colon-notation",fixable:!0},Tu=e=>(t,r)=>{if(!L(r,Ou,{actual:e,possible:["single","double"]}))return;let n="";e==="single"?n=":":e==="double"&&(n="::"),t.walkRules(Y.pseudo,i=>{if(!de(i))return;let o=Ce(be(i),r,i);o&&o.walkPseudos(a=>{let s=a.value.replaceAll(":","");if(!kc.has(s.toLowerCase()))return;let u=a.value.startsWith("::");if(e==="single"&&!u||e==="double"&&u)return;let l=()=>{a.replaceWith(a.clone({value:n+s})),i.selector=o.toString()};P({message:Tb.expected,messageArgs:[e],node:i,index:a.sourceIndex,endIndex:a.sourceIndex+(u?2:1),result:r,ruleName:Ou,fix:{apply:l,node:i}})})})},Tu.ruleName=Ou,Tu.messages=Tb,Tu.meta=W2,T5=Tu}),I5={};N(I5,{default:()=>j5});var Iu,Ib,_2,li,j5,QQ=y(()=>{q(),ke(),pe(),Le(),V(),Ne(),I(),D(),F(),Iu="selector-pseudo-element-disallowed-list",Ib=j(Iu,{rejected:e=>`Disallowed pseudo-element "${e}"`}),_2={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-disallowed-list"},li=e=>(t,r)=>{L(r,Iu,{actual:e,possible:[$,U]})&&t.walkRules(Y.pseudoElement,n=>{var i;de(n)&&((i=Ce(be(n),r,n))==null||i.walkPseudos(o=>{let a=o.value;if(a.charAt(1)!==":")return;let s=a.slice(2);if(!Ee(s,e))return;let u=o.sourceIndex,l=u+a.length;P({index:u,endIndex:l,message:Ib.rejected,messageArgs:[a],node:n,result:r,ruleName:Iu})}))})},li.primaryOptionArray=!0,li.ruleName=Iu,li.messages=Ib,li.meta=_2,j5=li}),D5={};N(D5,{default:()=>L5});var ju,jb,U2,Du,L5,YQ=y(()=>{q(),ke(),pe(),Om(),V(),H(),Ne(),Kt(),I(),D(),F(),Pt(),ju="selector-pseudo-element-no-unknown",jb=j(ju,{rejected:e=>`Unknown pseudo-element selector "${e}"`}),U2={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-no-unknown"},Du=(e,t)=>(r,n)=>{L(n,ju,{actual:e},{actual:t,possible:{ignorePseudoElements:[$,U]},optional:!0})&&r.walkRules(Y.pseudo,i=>{var o;de(i)&&((o=Ce(be(i),n,i))==null||o.walkPseudos(a=>{let s=a.value;if(!Pm(s)||s.slice(0,2)!=="::"||R(t,"ignorePseudoElements",a.value.slice(2)))return;let u=s.slice(2);if(Ke.prefix(u)||xm.has(u.toLowerCase()))return;let l=a.sourceIndex,c=l+s.length;P({message:jb.rejected,messageArgs:[s],node:i,index:l,endIndex:c,ruleName:ju,result:n})}))})},Du.ruleName=ju,Du.messages=jb,Du.meta=U2,L5=Du}),F5={};N(F5,{default:()=>M5});var Lu,Db,V2,Q2,Y2,G2,Fu,M5,GQ=y(()=>{q(),ke(),mh(),pe(),fh(),Kt(),H(),Ne(),I(),D(),F(),Lu="selector-type-case",Db=j(Lu,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),V2={url:"https://stylelint.io/user-guide/rules/selector-type-case",fixable:!0},Q2=/(?:[^.#[:a-z-]|^)[a-z]/i,Y2=/[A-Z]/,G2=/[a-z]/,Fu=(e,t)=>(r,n)=>{L(n,Lu,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreTypes:[$,U]},optional:!0})&&r.walkRules(i=>{let o=i.selector;if(!Q2.test(o)||e==="lower"&&!Y2.test(o)||e==="upper"&&!G2.test(o)||!de(i)||i.selectors.some(ph))return;let a=Ce(be(i),n,i);a&&a.walkTags(s=>{if(!hh(s)||pN.has(s.value)||R(t,"ignoreTypes",s.value))return;let u=s.sourceIndex,l=s.value,c=e==="lower"?l.toLowerCase():l.toUpperCase();if(l===c)return;let d=u,p=u+l.length,h=()=>{s.value=c,i.selector=a.toString()};P({message:Db.expected,messageArgs:[l,c],node:i,index:d,endIndex:p,ruleName:Lu,result:n,fix:{apply:h,node:i}})})})},Fu.ruleName=Lu,Fu.messages=Db,Fu.meta=V2,M5=Fu}),R5={};N(R5,{default:()=>q5});function KQ(e){var r;let t=(r=e.parent)==null?void 0:r.parent;return kk.default.isPseudoElement(t)&&$5.has(t.value)}function HQ(e){var r;let t=(r=e.parent)==null?void 0:r.parent;return kk.default.isPseudoClass(t)&&B5.has(t.value)}var kk,K2,Mu,Lb,H2,Z2,$5,B5,Ru,q5,ZQ=y(()=>{e5(),kk=re(gt(),1),K2=re(t5(),1),q(),ke(),Kt(),i5(),mh(),pe(),fh(),H(),Ne(),I(),D(),F(),Mu="selector-type-no-unknown",Lb=j(Mu,{rejected:e=>`Unknown type selector "${e}"`}),H2={url:"https://stylelint.io/user-guide/rules/selector-type-no-unknown"},Z2=/(?:[^.#[:a-z-]|^)[a-z]/i,$5=new Set(["::highlight","::view-transition-group","::view-transition-image-pair","::view-transition-new","::view-transition-old"]),B5=new Set([":active-view-transition-type",":dir",":-moz-locale-dir",":state",":lang"]),Ru=(e,t)=>(r,n)=>{L(n,Mu,{actual:e},{actual:t,possible:{ignore:["custom-elements","default-namespace"],ignoreNamespaces:[$,U],ignoreTypes:[$,U]},optional:!0})&&r.walkRules(i=>{var o;Z2.test(i.selector)&&de(i)&&(i.selectors.some(ph)||((o=Ce(be(i),n,i))==null||o.walkTags(a=>{if(!hh(a)||R(t,"ignore","custom-elements")&&r5(a.value)||R(t,"ignore","default-namespace")&&typeof a.namespace!="string"||R(t,"ignoreNamespaces",a.namespace)||R(t,"ignoreTypes",a.value)||KQ(a)||HQ(a))return;let s=a.value,u=s.toLowerCase(),l=[...K2.default,"hatch","hatchpath","hatchPath"];if(dN.has(u)||l.includes(s)||wk.includes(u))return;let c=a.sourceIndex,d=c+s.length;P({message:Lb.rejected,messageArgs:[s],node:i,index:c,endIndex:d,ruleName:Mu,result:n})})))})},Ru.ruleName=Mu,Ru.messages=Lb,Ru.meta=H2,q5=Ru}),W5={};N(W5,{default:()=>_5});function qy(e,t,r,n){let i=e.toLowerCase(),o=t.toLowerCase(),a=r&&r.toLowerCase(),s=n&&n.toLowerCase();return XQ(i,o,a,s)?[e]:JQ(i,o,a,s)?[e,t]:eY(i,o,a,s)?[e,t,r]:[e,t,r,n]}function XQ(e,t,r,n){return e!==t?!1:e===r&&(r===n||!n)||!r&&!n}function JQ(e,t,r,n){return e===r&&t===n||e===r&&!n&&e!==t}function eY(e,t,r,n){return t===n}function tY(e){let t=[],r=[],n=!1,i=!1,o=!1;for(let a of(0,bc.default)(e).nodes){if(WA(a)){if(a.value==="/"){n=!0;continue}return{horizontal:[],vertical:[],sawSlash:!1,horizontalHasVar:!1,verticalHasVar:!1}}if(Gi(a)&&(n?o=!0:i=!0),km(a)||An(a)){let s=bc.default.stringify(a);n?r.push(s):t.push(s)}}return{horizontal:t,vertical:r,sawSlash:n,horizontalHasVar:i,verticalHasVar:o}}function rY(e,t,r,n,i,o){let[a="",s="",u="",l=""]=r,[c="",d="",p="",h=""]=n,v=i?r.join(" "):qy(a,s,u,l).filter(Boolean).join(" "),m=o?n.join(" "):qy(c,d,p,h).filter(Boolean).join(" "),b=`${v} / ${m}`.trim(),g=t.value.trim().toLowerCase().replace(/\s+/g," "),f=b.toLowerCase();if(g===f)return;let x=()=>{t.value=b},w=ie(t),k=w+t.value.length;P({message:Lp.expected,messageArgs:[t.value,b],node:t,index:w,endIndex:k,result:e,ruleName:hi,fix:{apply:x,node:t}})}var bc,hi,Lp,X2,J2,eA,$u,_5,nY=y(()=>{bc=re(me(),1),X(),ht(),$r(),qe(),nd(),H(),I(),D(),F(),Pt(),he(),hi="shorthand-property-no-redundant-values",Lp=j(hi,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),X2={url:"https://stylelint.io/user-guide/rules/shorthand-property-no-redundant-values",fixable:!0},J2=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"]),eA=new Set(["margin","padding","border-color","border-style","border-width","scroll-margin","scroll-padding","inset"]),$u=(e,t)=>(r,n)=>{L(n,hi,{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)||!mt(i)||!Rr(o)||!$e(a))return;let s=Ke.unprefixed(o.toLowerCase());if(!J2.has(s))return;if(s==="border-radius"){let{horizontal:x,vertical:w,sawSlash:k,horizontalHasVar:S,verticalHasVar:E}=tY(a);if(k){rY(n,i,x,w,S,E);return}}let u=[];for(let x of(0,bc.default)(a).nodes){if(WA(x)||Gi(x))return;(km(x)||An(x))&&u.push(bc.default.stringify(x))}if(u.length<=1||u.length>4)return;let[l="",c="",d="",p=""]=u,h=qy(l,c,d,p);if(R(t,"ignore","four-into-three-edge-values")&&eA.has(s)&&u.length===4&&h.length===3)return;let v=h.filter(Boolean).join(" "),m=u.join(" ");if(v.toLowerCase()===m.toLowerCase())return;let b=()=>{i.value=i.value.replace(a,v)},g=ie(i),f=g+i.value.length;P({message:Lp.expected,messageArgs:[a,v],node:i,index:g,endIndex:f,result:n,ruleName:hi,fix:{apply:b,node:i}})})},$u.ruleName=hi,$u.messages=Lp,$u.meta=X2,_5=$u}),U5={};N(U5,{default:()=>V5});var Bu,Fb,Mb,tA,qu,V5,iY=y(()=>{rt(),X(),Om(),H(),I(),D(),F(),Bu="string-no-newline",Fb=/\r?\n/,Mb=j(Bu,{rejected:"Newline in string"}),tA={url:"https://stylelint.io/user-guide/rules/string-no-newline"},qu=(e,t)=>(r,n)=>{if(!L(n,Bu,{actual:e},{actual:t,possible:{ignore:["at-rule-preludes","declaration-values"]},optional:!0}))return;r.walk(a=>{switch(a.type){case"atrule":if(R(t,"ignore","at-rule-preludes"))break;o(a,a.params,Te);break;case"decl":if(R(t,"ignore","declaration-values"))break;o(a,a.value,ie);break;case"rule":i(a);break}});function i(a){Fb.test(a.selector)&&Pm(a.selector)&&o(a,a.selector,()=>0)}function o(a,s,u){Fb.test(s)&&yt({css:s},{onParseError:l=>{if(!(l instanceof yr)||l.message!==ir.UnexpectedNewLineInString)return;let[,,c,d]=l.token,p=u(a);P({message:Mb.rejected,messageArgs:[],node:a,index:p+c,endIndex:p+d+1,result:n,ruleName:Bu})}})}},qu.ruleName=Bu,qu.messages=Mb,qu.meta=tA,V5=qu}),Q5={};N(Q5,{default:()=>Y5});var Wu,Rb,rA,nA,_u,Y5,oY=y(()=>{rt(),Ki(),V(),X(),I(),D(),F(),Wu="syntax-string-no-invalid",Rb=j(Wu,{rejected:e=>`Invalid syntax string "${e}"`}),rA={url:"https://stylelint.io/user-guide/rules/syntax-string-no-invalid"},nA=Uw({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,_u=e=>(t,r)=>{L(r,Wu,{actual:e})&&t.walkAtRules(we.propertyName,n=>{n.walkDecls(jN.syntaxName,i=>{yt({css:i.value}).filter(o=>r8(o)).forEach(o=>{let{error:a}=nA.matchProperty("-stylelint-syntax",o[4].value);if(!a||!("mismatchLength"in a))return;let{name:s,rawMessage:u}=a;if(s!=="SyntaxMatchError"||u!=="Mismatch")return;let l=ie(i);P({message:Rb.rejected,messageArgs:[o[4].value],node:i,index:l+o[2],endIndex:l+o[3]+1,result:r,ruleName:Wu})})})})},_u.ruleName=Wu,_u.messages=Rb,_u.meta=rA,Y5=_u}),G5={};N(G5,{default:()=>K5});var iA,Uu,$b,oA,aA,Vu,K5,aY=y(()=>{iA=re(me(),1),rn(),X(),Ye(),Zi(),q(),V(),H(),I(),D(),F(),Pt(),Uu="time-min-milliseconds",$b=j(Uu,{expected:e=>`Too short duration, minimum ${e} milliseconds`}),oA={url:"https://stylelint.io/user-guide/rules/time-min-milliseconds"},aA=new Set(["animation-delay","transition-delay"]),Vu=(e,t)=>(r,n)=>{if(!L(n,Uu,{actual:e,possible:kr},{actual:t,possible:{ignore:["delay"]},optional:!0}))return;let i=e,o=R(t,"ignore","delay");r.walkDecls(c=>{let d=c.value;if(!Y.time.test(d))return;let p=Ke.unprefixed(c.prop.toLowerCase()),h=(0,iA.default)(Qe(c)),v=0;h.walk(m=>{let{value:b,sourceIndex:g}=m,f=Hi(m);iN.has(p)&&!s(p)&&!u(f)&&l(c,0,d.length),oN.has(p)&&(v=a(f,b,v),!(u(f)||o&&v!==1)&&l(c,g,b.length))})});function a(c,d,p){let{unit:h}=c;return h!==null&&p++,d===","&&(p=0),p}function s(c){return!!(o&&aA.has(c))}function u(c){let{unit:d,number:p}=c;if(d===null||p===null)return!0;let h=Number(p);if(h<=0)return!0;let v=d.toLowerCase();return!(v==="ms"&&h<i||v==="s"&&h*1e3<i)}function l(c,d,p){let h=ie(c)+d,v=h+p;P({result:n,ruleName:Uu,message:$b.expected,messageArgs:[i],index:h,endIndex:v,node:c})}},Vu.ruleName=Uu,Vu.messages=$b,Vu.meta=oA,K5=Vu}),H5={};N(H5,{default:()=>Z5});var sA,Qu,Bb,lA,ui,Z5,sY=y(()=>{sA=re(me(),1),X(),V(),q(),Zi(),H(),I(),D(),Ht(),F(),Qu="unit-allowed-list",Bb=j(Qu,{rejected:e=>`Disallowed unit "${e}"`}),lA={url:"https://stylelint.io/user-guide/rules/unit-allowed-list"},ui=(e,t)=>(r,n)=>{if(!L(n,Qu,{actual:e,possible:[$]},{optional:!0,actual:t,possible:{ignoreFunctions:[$,U],ignoreProperties:[Lt($,U)]}}))return;let i=[e].flat();function o(a,s,u){Y.dimension.test(s)&&(s=s.replaceAll("*",","),(0,sA.default)(s).walk(l=>{if(l.type==="function"){let h=l.value.toLowerCase();if(h==="url"||R(t,"ignoreFunctions",h))return!1}let{number:c,unit:d}=Hi(l);if(!c||!d||i.includes(d.toLowerCase())||"prop"in a&&t&&R(t.ignoreProperties,d.toLowerCase(),a.prop))return;let p=u(a);P({index:p+l.sourceIndex+c.length,endIndex:p+l.sourceEndIndex,message:Bb.rejected,messageArgs:[d],node:a,result:n,ruleName:Qu})}))}r.walkAtRules(we.mediaName,a=>o(a,a.params,Te)),r.walkDecls(a=>o(a,a.value,ie))},ui.primaryOptionArray=!0,ui.ruleName=Qu,ui.messages=Bb,ui.meta=lA,Z5=ui});function X5(e){if(!J5.test(e.prop))return!1;let t=e.parent;return!t||!Oe(t)?!1:e6.test(t.name)}var J5,e6,t6=y(()=>{he(),J5=/^unicode-range$/i,e6=/^font-face$/i}),r6={};N(r6,{default:()=>n6});function uA(e){return yt({css:e}).map(t=>t[0]!==C.Percentage?t:[C.Dimension,t[1],t[2],t[3],{value:t[4].value,unit:"%",type:ne.Number}])}var Yu,qb,cA,ci,n6,lY=y(()=>{rt(),wt(),Zt(),X(),V(),q(),st(),Ye(),t6(),H(),I(),D(),Ht(),F(),Yu="unit-disallowed-list",qb=j(Yu,{rejected:e=>`Disallowed unit "${e}"`}),cA={url:"https://stylelint.io/user-guide/rules/unit-disallowed-list"},ci=(e,t)=>(r,n)=>{if(!L(n,Yu,{actual:e,possible:[$]},{optional:!0,actual:t,possible:{ignoreFunctions:[$,U],ignoreProperties:[Lt($,U)],ignoreMediaFeatureNames:[Lt($,U)]}}))return;let i=[e].flat();function o(s){if(!Ge(s))return!1;let u=s.getName().toLowerCase();return u==="url"||R(t,"ignoreFunctions",u)}function a(s,u,l,c,d){if(!se(l)||l.value[0]!==C.Dimension)return;let[,,,p,{unit:h}]=l.value,v=h.toLowerCase();if(!i.includes(v)||d&&R(d,v,c))return;let m=u(s)+(p+1)-h.length;P({index:m,endIndex:m+h.length,message:qb.rejected,messageArgs:[h],node:s,result:n,ruleName:Yu})}r.walkAtRules(we.mediaName,s=>{let u=at(s);Y.dimension.test(u)&&md(uA(u)).forEach(l=>{let c={mediaFeatureName:void 0};l.walk(({node:d,state:p})=>{p&&(Pn(d)&&(p.mediaFeatureName=d.getName().toLowerCase()),p.mediaFeatureName&&se(d)&&a(s,Te,d,p.mediaFeatureName,t==null?void 0:t.ignoreMediaFeatureNames))},c)})}),r.walkDecls(s=>{if(X5(s))return;let u=Qe(s);if(!Y.dimension.test(u))return;let l={ignored:!1};En(eo(uA(u)),({node:c,state:d})=>{if(d&&!d.ignored){if(se(c)){a(s,ie,c,s.prop,t==null?void 0:t.ignoreProperties);return}o(c)&&(d.ignored=!0)}},l)})},ci.primaryOptionArray=!0,ci.ruleName=Yu,ci.messages=qb,ci.meta=cA,n6=ci}),i6={};N(i6,{default:()=>o6});var fp,Gu,Wb,dA,pA,Ku,o6,uY=y(()=>{rt(),wt(),Zt(),X(),V(),q(),st(),Ye(),et(),ht(),qe(),t6(),H(),Vc(),I(),D(),F(),Pt(),fp=new Set(TN),fp.delete("x"),Gu="unit-no-unknown",Wb=j(Gu,{rejected:e=>`Unknown unit "${e}"`}),dA={url:"https://stylelint.io/user-guide/rules/unit-no-unknown"},pA=/^(?:min-|max-)?resolution$/i,Ku=(e,t)=>(r,n)=>{var u,l,c;if(!L(n,Gu,{actual:e},{actual:t,possible:{ignoreUnits:[$,U],ignoreFunctions:[$,U]},optional:!0}))return;let i,o=(c=(l=(u=n.stylelint.config)==null?void 0:u.languageOptions)==null?void 0:l.syntax)==null?void 0:c.units;if(o){let d=Object.values(o).flatMap(p=>p.map(h=>h.toLowerCase()));i=new Set([...fp,...d])}else i=fp;let a=d=>{if(!Y.dimension.test(d))return;let p=yt({css:d});if(p.some(h=>h[0]===C.Dimension&&!i.has(h[4].unit.toLowerCase())))return p},s=(d,p,h,v)=>{if(Ge(h)){let w=h.getName(),k=w.toLowerCase();if(k==="url"||R(t,"ignoreFunctions",w)){v.ignored=!0;return}if(Ke.unprefixed(k)==="image-set"){v.allowX=!0;return}return}let[m,,,b,g]=h.value;if(m!==C.Dimension||R(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:Wb.rejected,messageArgs:[g.unit],node:d,index:x,endIndex:x+f.length,result:n,ruleName:Gu})};r.walkAtRules(we.mediaName,d=>{if(!Je(d))return;let p=at(d),h=a(p);h&&md(h).forEach(v=>{let m={ignored:!1,allowX:!1};v.walk(({node:b,state:g})=>{if(g&&!g.ignored)if(Pn(b)){let f=b.getName();pA.test(f)&&(g.allowX=!0)}else(Ge(b)||se(b))&&s(d,Te,b,g)},m)})}),r.walkDecls(d=>{if(!mt(d)||X5(d))return;let p=Qe(d);if(!$e(p))return;let h=a(p);if(!h)return;let v={ignored:!1,allowX:d.prop.toLowerCase()==="image-resolution"};En(eo(h),({node:m,state:b})=>{b&&(b.ignored||(Ge(m)||se(m))&&s(d,ie,m,b))},v)})},Ku.ruleName=Gu,Ku.messages=Wb,Ku.meta=dA,o6=Ku});function cY(e){let t=e.toLowerCase();return!(CN.has(t)||Number.isFinite(Number.parseInt(t,10)))}var dY=y(()=>{He()});function pY(e){let t=e.toLowerCase();return!(AN.has(t)||Number.isFinite(Number.parseInt(t,10)))}var mY=y(()=>{He()}),a6={};N(a6,{default:()=>s6});var mA,Hu,_b,hA,fA,gA,bA,gp,Zu,s6,hY=y(()=>{mA=re(me(),1),He(),q(),X(),Ye(),Zi(),dY(),mY(),qe(),V(),H(),I(),D(),F(),Hu="value-keyword-case",_b=j(Hu,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),hA={url:"https://stylelint.io/user-guide/rules/value-keyword-case",fixable:!0},fA=new Set(["+","-","/","*","%"]),gA=new Set(["grid-row","grid-row-start","grid-row-end"]),bA=new Set(["grid-column","grid-column-start","grid-column-end"]),gp=new Map;for(let e of zN)gp.set(e.toLowerCase(),e);Zu=(e,t)=>(r,n)=>{L(n,Hu,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreProperties:[$,U],ignoreKeywords:[$,U],ignoreFunctions:[$,U],camelCaseSvgKeywords:[Uc]},optional:!0})&&r.walkDecls(i=>{let o=i.value;if(!Y.keyword.test(o)||!$e(o))return;let a=i.prop,s=i.prop.toLowerCase(),u=(0,mA.default)(Qe(i));u.walk(l=>{let c=l.value,d=c.toLowerCase();if(PN.has(d))return;if(l.type==="function"&&(d==="url"||d==="var"||d==="counter"||d==="counters"||d==="attr")||l.type==="function"&&R(t,"ignoreFunctions",c))return!1;let{unit:p}=Hi(l);if(l.type!=="word"||!$e(c)||o.includes("#")||fA.has(c)||p||s==="animation"&&!iw.has(d)&&!Ac.has(d)||s==="animation-name"&&!Ac.has(d)||s==="font"&&!nw.has(d)&&!Zr.has(d)||s==="font-family"&&!Zr.has(d)||s==="counter-increment"&&cY(d)||s==="counter-reset"&&pY(d)||gA.has(s)&&!kN.has(d)||bA.has(s)&&!xN.has(d)||s==="grid-area"&&!SN.has(d)||s==="list-style"&&!NN.has(d)&&!_p.has(d)||s==="list-style-type"&&!_p.has(d)||R(t,"ignoreKeywords",c)||R(t,"ignoreProperties",a))return;let h=c.toLocaleLowerCase(),v,m=t&&t.camelCaseSvgKeywords||!1;if(e==="lower"&&gp.has(h)&&m?v=gp.get(h):e==="lower"?v=c.toLowerCase():v=c.toUpperCase(),c===v)return;let b=ie(i)+l.sourceIndex,g=b+c.length,f=()=>{l.value=v,i.value=u.toString()};P({message:_b.expected,messageArgs:[c,v],node:i,index:b,endIndex:g,result:n,ruleName:Hu,fix:{apply:f,node:i}})})})},Zu.ruleName=Hu,Zu.messages=_b,Zu.meta=hA,s6=Zu}),l6={};N(l6,{default:()=>u6});var vA,Xu,Ub,yA,Ju,u6,fY=y(()=>{vA=re(me(),1),X(),Xc(),ht(),$r(),V(),H(),I(),D(),Bt(),F(),q(),Xu="value-no-vendor-prefix",Ub=j(Xu,{rejected:e=>`Vendor-prefixed value "${e}"`}),yA={url:"https://stylelint.io/user-guide/rules/value-no-vendor-prefix",fixable:!0},Ju=(e,t)=>(r,n)=>{L(n,Xu,{actual:e},{optional:!0,actual:t,possible:{ignoreValues:[$,U]}})&&r.walkDecls(i=>{let{value:o}=i;if(!Y.prefix.test(o)||!mt(i)||!Rr(i.prop))return;let a=(0,vA.default)(o);a.walk(s=>{if(!Sr.propertyValue(s.value)||R(t,"ignoreValues",s.value))return;let u=ie(i)+s.sourceIndex,l=()=>{s.value=Sr.unprefix(s.value),$t(i,a.toString())};P({message:Ub.rejected,messageArgs:[s.value],node:i,index:u,endIndex:u+s.value.length,result:n,ruleName:Xu,fix:{apply:l,node:i}})})})},Ju.ruleName=Xu,Ju.messages=Ub,Ju.meta=yA,u6=Ju}),gY=G((e,t)=>{"use strict";t.exports=()=>{}});_c();var xk={noDeprecation:!0,cwd(){return"/"}},bY=()=>{},vY={};Ar();q();Ar();Ar();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=(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,_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:Hr,text:`${t.reason} (${t.name})`}]}}else throw new Error("createPartialStylelintResult must be called with either postcssResult or CssSyntaxError");return r}var yY=(e={})=>{let t=e.cwd||xk.cwd();return{_options:{...e,cwd:t},_postcssResultCache:new Map}};Qy();var wY=()=>!0,kY=P6({"./alpha-value-notation/index.mjs":()=>Promise.resolve().then(()=>(l$(),YA)),"./annotation-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(u$(),KA)),"./at-rule-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(c$(),ZA)),"./at-rule-descriptor-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(b$(),FN)),"./at-rule-descriptor-value-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(v$(),RN)),"./at-rule-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(y$(),BN)),"./at-rule-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(E$(),VN)),"./at-rule-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(B$(),lz)),"./at-rule-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(q$(),cz)),"./at-rule-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(W$(),pz)),"./at-rule-prelude-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(_$(),hz)),"./at-rule-property-required-list/index.mjs":()=>Promise.resolve().then(()=>(Q$(),gz)),"./block-no-empty/index.mjs":()=>Promise.resolve().then(()=>(G$(),xz)),"./block-no-redundant-nested-style-rules/index.mjs":()=>Promise.resolve().then(()=>(K$(),Cz)),"./color-function-alias-notation/index.mjs":()=>Promise.resolve().then(()=>(H$(),zz)),"./color-function-notation/index.mjs":()=>Promise.resolve().then(()=>(X$(),Pz)),"./color-hex-alpha/index.mjs":()=>Promise.resolve().then(()=>(J$(),Mz)),"./color-hex-length/index.mjs":()=>Promise.resolve().then(()=>(nB(),$z)),"./color-named/index.mjs":()=>Promise.resolve().then(()=>(gB(),Gz)),"./color-no-hex/index.mjs":()=>Promise.resolve().then(()=>(vB(),Hz)),"./color-no-invalid-hex/index.mjs":()=>Promise.resolve().then(()=>(kB(),Jz)),"./comment-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(xB(),tE)),"./comment-no-empty/index.mjs":()=>Promise.resolve().then(()=>(SB(),nE)),"./comment-pattern/index.mjs":()=>Promise.resolve().then(()=>(CB(),oE)),"./comment-whitespace-inside/index.mjs":()=>Promise.resolve().then(()=>(zB(),lE)),"./comment-word-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(OB(),cE)),"./container-name-pattern/index.mjs":()=>Promise.resolve().then(()=>(TB(),pE)),"./custom-media-pattern/index.mjs":()=>Promise.resolve().then(()=>(IB(),hE)),"./custom-property-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(LB(),vE)),"./custom-property-no-missing-var-function/index.mjs":()=>Promise.resolve().then(()=>(FB(),wE)),"./custom-property-pattern/index.mjs":()=>Promise.resolve().then(()=>(MB(),xE)),"./declaration-block-no-duplicate-custom-properties/index.mjs":()=>Promise.resolve().then(()=>($B(),CE)),"./declaration-block-no-duplicate-properties/index.mjs":()=>Promise.resolve().then(()=>(b_(),_D)),"./declaration-block-no-redundant-longhand-properties/index.mjs":()=>Promise.resolve().then(()=>(v_(),VD)),"./declaration-block-no-shorthand-property-overrides/index.mjs":()=>Promise.resolve().then(()=>(y_(),YD)),"./declaration-block-single-line-max-declarations/index.mjs":()=>Promise.resolve().then(()=>(w_(),KD)),"./declaration-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(x_(),ZD)),"./declaration-no-important/index.mjs":()=>Promise.resolve().then(()=>(S_(),tL)),"./declaration-property-max-values/index.mjs":()=>Promise.resolve().then(()=>(C_(),nL)),"./declaration-property-unit-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(z_(),aL)),"./declaration-property-unit-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(E_(),lL)),"./declaration-property-value-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(P_(),cL)),"./declaration-property-value-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(O_(),pL)),"./declaration-property-value-keyword-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(T_(),hL)),"./declaration-property-value-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(p7(),qL)),"./display-notation/index.mjs":()=>Promise.resolve().then(()=>(g7(),VL)),"./font-family-name-quotes/index.mjs":()=>Promise.resolve().then(()=>(x7(),eF)),"./font-family-no-duplicate-names/index.mjs":()=>Promise.resolve().then(()=>(S7(),rF)),"./font-family-no-missing-generic-family-keyword/index.mjs":()=>Promise.resolve().then(()=>(C7(),iF)),"./font-weight-notation/index.mjs":()=>Promise.resolve().then(()=>(N7(),aF)),"./function-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(E7(),lF)),"./function-calc-no-unspaced-operator/index.mjs":()=>Promise.resolve().then(()=>(T7(),cF)),"./function-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(I7(),fF)),"./function-linear-gradient-no-nonstandard-direction/index.mjs":()=>Promise.resolve().then(()=>(D7(),bF)),"./function-name-case/index.mjs":()=>Promise.resolve().then(()=>(L7(),kF)),"./function-no-unknown/index.mjs":()=>Promise.resolve().then(()=>($7(),CF)),"./function-url-no-scheme-relative/index.mjs":()=>Promise.resolve().then(()=>(B7(),EF)),"./function-url-quotes/index.mjs":()=>Promise.resolve().then(()=>(q7(),OF)),"./function-url-scheme-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(W7(),DF)),"./function-url-scheme-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(_7(),FF)),"./hue-degree-notation/index.mjs":()=>Promise.resolve().then(()=>(V7(),RF)),"./import-notation/index.mjs":()=>Promise.resolve().then(()=>(Q7(),WF)),"./keyframe-block-no-duplicate-selectors/index.mjs":()=>Promise.resolve().then(()=>(iU(),oM)),"./keyframe-declaration-no-important/index.mjs":()=>Promise.resolve().then(()=>(oU(),sM)),"./keyframe-selector-notation/index.mjs":()=>Promise.resolve().then(()=>(lU(),uM)),"./keyframes-name-pattern/index.mjs":()=>Promise.resolve().then(()=>(dU(),dM)),"./layer-name-pattern/index.mjs":()=>Promise.resolve().then(()=>(pU(),mM)),"./length-zero-no-unit/index.mjs":()=>Promise.resolve().then(()=>(xU(),fM)),"./lightness-notation/index.mjs":()=>Promise.resolve().then(()=>(NU(),bM)),"./max-nesting-depth/index.mjs":()=>Promise.resolve().then(()=>(zU(),wM)),"./media-feature-name-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(QU(),BM)),"./media-feature-name-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(YU(),WM)),"./media-feature-name-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(GU(),VM)),"./media-feature-name-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(KU(),YM)),"./media-feature-name-unit-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(HU(),KM)),"./media-feature-name-value-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(ZU(),ZM)),"./media-feature-name-value-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(XU(),JM)),"./media-feature-range-notation/index.mjs":()=>Promise.resolve().then(()=>(JU(),t3)),"./media-query-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(eV(),n3)),"./media-type-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(tV(),o3)),"./named-grid-areas-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(aV(),s3)),"./nesting-selector-no-missing-scoping-root/index.mjs":()=>Promise.resolve().then(()=>(sV(),c3)),"./no-descending-specificity/index.mjs":()=>Promise.resolve().then(()=>(bV(),w3)),"./no-duplicate-at-import-rules/index.mjs":()=>Promise.resolve().then(()=>(yV(),S3)),"./no-duplicate-selectors/index.mjs":()=>Promise.resolve().then(()=>(wV(),A3)),"./no-empty-source/index.mjs":()=>Promise.resolve().then(()=>(kV(),z3)),"./no-invalid-double-slash-comments/index.mjs":()=>Promise.resolve().then(()=>(xV(),P3)),"./no-invalid-position-at-import-rule/index.mjs":()=>Promise.resolve().then(()=>(SV(),T3)),"./no-invalid-position-declaration/index.mjs":()=>Promise.resolve().then(()=>(CV(),j3)),"./no-irregular-whitespace/index.mjs":()=>Promise.resolve().then(()=>(EV(),L3)),"./no-unknown-animations/index.mjs":()=>Promise.resolve().then(()=>(TV(),U3)),"./no-unknown-custom-media/index.mjs":()=>Promise.resolve().then(()=>(DV(),Q3)),"./no-unknown-custom-properties/index.mjs":()=>Promise.resolve().then(()=>(LV(),G3)),"./number-max-precision/index.mjs":()=>Promise.resolve().then(()=>(FV(),H3)),"./property-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(MV(),X3)),"./property-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(RV(),eR)),"./property-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>($V(),rR)),"./property-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(BV(),iR)),"./property-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(qV(),aR)),"./rule-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(UV(),lR)),"./rule-nesting-at-rule-required-list/index.mjs":()=>Promise.resolve().then(()=>(QV(),cR)),"./rule-selector-property-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(GV(),pR)),"./selector-anb-no-unmatchable/index.mjs":()=>Promise.resolve().then(()=>(HV(),hR)),"./selector-attribute-name-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(ZV(),gR)),"./selector-attribute-operator-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(XV(),vR)),"./selector-attribute-operator-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(JV(),wR)),"./selector-attribute-quotes/index.mjs":()=>Promise.resolve().then(()=>(rQ(),AR)),"./selector-class-pattern/index.mjs":()=>Promise.resolve().then(()=>(nQ(),ER)),"./selector-combinator-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(oQ(),IR)),"./selector-combinator-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(sQ(),DR)),"./selector-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(lQ(),FR)),"./selector-id-pattern/index.mjs":()=>Promise.resolve().then(()=>(uQ(),RR)),"./selector-max-attribute/index.mjs":()=>Promise.resolve().then(()=>(cQ(),BR)),"./selector-max-class/index.mjs":()=>Promise.resolve().then(()=>(dQ(),WR)),"./selector-max-combinators/index.mjs":()=>Promise.resolve().then(()=>(pQ(),UR)),"./selector-max-compound-selectors/index.mjs":()=>Promise.resolve().then(()=>(mQ(),QR)),"./selector-max-id/index.mjs":()=>Promise.resolve().then(()=>(gQ(),GR)),"./selector-max-pseudo-class/index.mjs":()=>Promise.resolve().then(()=>(bQ(),HR)),"./selector-max-specificity/index.mjs":()=>Promise.resolve().then(()=>(vQ(),XR)),"./selector-max-type/index.mjs":()=>Promise.resolve().then(()=>(EQ(),o5)),"./selector-max-universal/index.mjs":()=>Promise.resolve().then(()=>(PQ(),s5)),"./selector-nested-pattern/index.mjs":()=>Promise.resolve().then(()=>(OQ(),u5)),"./selector-no-qualifying-type/index.mjs":()=>Promise.resolve().then(()=>(DQ(),h5)),"./selector-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(LQ(),b5)),"./selector-not-notation/index.mjs":()=>Promise.resolve().then(()=>(RQ(),y5)),"./selector-pseudo-class-allowed-list/index.mjs":()=>Promise.resolve().then(()=>($Q(),x5)),"./selector-pseudo-class-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(BQ(),C5)),"./selector-pseudo-class-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(_Q(),N5)),"./selector-pseudo-element-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(UQ(),E5)),"./selector-pseudo-element-colon-notation/index.mjs":()=>Promise.resolve().then(()=>(VQ(),O5)),"./selector-pseudo-element-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(QQ(),I5)),"./selector-pseudo-element-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(YQ(),D5)),"./selector-type-case/index.mjs":()=>Promise.resolve().then(()=>(GQ(),F5)),"./selector-type-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(ZQ(),R5)),"./shorthand-property-no-redundant-values/index.mjs":()=>Promise.resolve().then(()=>(nY(),W5)),"./string-no-newline/index.mjs":()=>Promise.resolve().then(()=>(iY(),U5)),"./syntax-string-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(oY(),Q5)),"./time-min-milliseconds/index.mjs":()=>Promise.resolve().then(()=>(aY(),G5)),"./unit-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(sY(),H5)),"./unit-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(lY(),r6)),"./unit-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(uY(),i6)),"./value-keyword-case/index.mjs":()=>Promise.resolve().then(()=>(hY(),a6)),"./value-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(fY(),l6))}),wA=new Map;function xY(e){let t=wA.get(e);return t||(t=kY(`./${e}/index.mjs`).then(r=>r.default),wA.set(e,t)),t}var SY=["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-no-deprecated","property-no-unknown","property-no-vendor-prefix","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-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-no-unknown","value-keyword-case","value-no-vendor-prefix"],d6={};for(let e of SY)Object.defineProperty(d6,e,{get(){return xY(e)},enumerable:!0,configurable:!0});var Sk=d6;function p6(e,t){var r;return CY(e)?Sk[e]:Promise.resolve((r=t==null?void 0:t._pluginFunctions)==null?void 0:r[e])}function CY(e){return e in Sk}q();function AY(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&&!xr(r)&&xr(n)?e:[e]}async function NY(e){if(!e.rules)return e;let t={};for(let[r,n]of Object.entries(e.rules)){let i=await p6(r,e);i?t[r]=AY(n,i):t[r]=[]}return e.rules=t,e}var zY=(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},EY=async(e,t,{config:r})=>({config:await NY(zY(e,r))}),PY=({stylelint:e,filePath:t})=>EY(e,t,{config:e._options.config}),OY=()=>[];function TY(e,t){return e.startsWith("_")?void 0:t}function IY(e){return JSON.stringify(e,TY)}var jY=()=>IY;_c();Zc();var DY=()=>{};FL();var LY=()=>{};Zc();_c();var FY=e=>e,m6=e=>e===!0||e==="true"||e===""||e==="strict"||e==="lax"?"strict":void 0,MY=ji();async function RY(e,{customSyntax:t,filePath:r,code:n}={}){let i=r?FY(r):void 0,o=i?e._postcssResultCache.get(i):void 0;if(o)return o;let a=m6(e._options.fix),s=await(t?$Y(t,e._options.configBasedir):BY(a==="lax")),u={from:r,syntax:s},l;if(n!==void 0?l=n:r&&(l=await LY(r,"utf8")),l===void 0)throw new Error("code or filePath required");let c=await MY.process(l,u).async();return i&&e._postcssResultCache.set(i,c),c}async function $Y(){}async function BY(e){return{parse:await(e?Promise.resolve().then(()=>re(gY(),1)).then(t=>t.default):ji.parse),stringify:ji.stringify}}var qY=()=>{},WY=()=>Promise.resolve(!1),_Y=()=>!1;Ar();ed();Ar();ed();q();he();Im();rt();function Vb(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 UY(e,t){var x;let r=t.stylelint.disabledRanges,n=[];r[It]=n;let i,o=(x=t.stylelint.config)==null?void 0:x.configurationComment;return e.walk(w=>{var k,S,E,A,T,z,B,te,J,ve,ce,le,Re,Be,ct,Ze,Q,K,O,W;if(Yr(w)){if(i){i===w&&(i=null);return}let Z=w.next();if(!(!Ec(w)&&xi(w.text,o)&&Z&&Yr(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(),ge=Z;for(;!Ec(ge)&&!xi(ge.text,o);){let xe=(z=(T=(A=ge.source)==null?void 0:A.end)==null?void 0:T.line)!=null?z:0;if(M+1!==xe)break;ee.text+=`
|
|
37
|
-
${
|
|
38
|
-
`,
|
|
34
|
+
--`+new Array((r||t.length)+1).join("-")+"^"})}var S9=y(()=>{Rw()}),a0,s0,l0,u0,c0,jf,FP,C9=y(()=>{S9(),a0=9,s0=10,l0=12,u0=13,c0=32,jf=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0),FP=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&&jf[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!==u0&&t!==s0&&t!==l0&&t!==c0&&t!==a0)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 x9(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||jf[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 d0(e){let t=null,r=null;return e.eat(qc),e.skipWs(),t=e.scanNumber(e),e.skipWs(),e.charCode()===ih?(e.pos++,e.skipWs(),e.charCode()!==gm&&(r=e.scanNumber(e),e.skipWs())):r=t,e.eat(gm),{min:Number(t),max:r?Number(r):0}}function A9(e){let t=null,r=!1;switch(e.charCode()){case Yw:e.pos++,t={min:0,max:0};break;case nh:e.pos++,t={min:1,max:0};break;case Bc:e.pos++,t={min:0,max:1};break;case rh:e.pos++,r=!0,e.charCode()===qc?t=d0(e):e.charCode()===Bc?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case qc:t=d0(e);break;default:return null}return{type:"Multiplier",comma:r,min:t.min,max:t.max,term:null}}function en(e,t){let r=A9(e);return r!==null?(r.term=t,e.charCode()===rh&&e.charCodeAt(e.pos-1)===nh||e.charCode()===Bc&&e.charCodeAt(e.pos-1)===gm?en(e,r):r):t}function Df(e){let t=e.peek();return t===""?null:en(e,{type:"Token",value:t})}function N9(e){let t;return e.eat(oh),e.eat($c),t=e.scanWord(),e.eat($c),e.eat(fm),en(e,{type:"Property",name:t})}function z9(e){let t=null,r=null,n=1;return e.eat(Ri),e.charCode()===Yv&&(e.peek(),n=-1),n==-1&&e.charCode()===Hv?e.peek():(t=n*Number(e.scanNumber(e)),e.isNameCharCode()&&(t+=e.scanWord())),e.skipWs(),e.eat(ih),e.skipWs(),e.charCode()===Hv?e.peek():(n=1,e.charCode()===Yv&&(e.peek(),n=-1),r=n*Number(e.scanNumber(e)),e.isNameCharCode()&&(r+=e.scanWord())),e.eat(kn),{type:"Range",min:t,max:r}}function E9(e){let t,r=null;if(e.eat(oh),t=e.scanWord(),t==="boolean-expr"){e.eat(Ri);let n=th(e,kn);return e.eat(kn),e.eat(fm),en(e,{type:"Boolean",term:n.terms.length===1?n.terms[0]:n})}return e.charCode()===Qw&&e.nextCharCode()===Gw&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===Ri&&(e.skipWs(),r=z9(e)),e.eat(fm),en(e,{type:"Type",name:t,opts:r})}function P9(e){let t=e.scanWord();return e.charCode()===Qw?(e.pos++,{type:"Function",name:t}):en(e,{type:"Keyword",name:t})}function O9(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)=>Jv[i]-Jv[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 th(e,t=-1){let r=Object.create(null),n=[],i=null,o=e.pos,a=!1;for(;e.charCode()!==t;){let s=a?th(e,Gw):T9(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:O9(n,r)||" ",disallowEmpty:!1,explicit:!1}}function I9(e){let t;return e.eat(Ri),t=th(e,kn),e.eat(kn),t.explicit=!0,e.charCode()===Vw&&(e.pos++,t.disallowEmpty=!0),t}function T9(e){let t=e.charCode();switch(t){case kn:break;case Ri:return en(e,I9(e));case oh:return e.nextCharCode()===$c?N9(e):E9(e);case Kv:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===Kv?2:1))};case Gv:return e.pos++,e.eat(Gv),{type:"Combinator",value:"&&"};case ih:return e.pos++,{type:"Comma"};case $c:return en(e,{type:"String",value:e.scanString()});case WP:case RP:case $P:case qP:case BP:return{type:"Spaces",value:e.scanSpaces()};case _P:return t=e.nextCharCode(),e.isNameCharCode(t)?(e.pos++,{type:"AtKeyword",name:e.scanWord()}):Df(e);case Yw:case nh:case Bc:case rh:case Vw:break;case qc:if(t=e.nextCharCode(),t<48||t>57)return Df(e);break;default:return e.isNameCharCode(t)?P9(e):Df(e)}}function MP(e){let t=new FP(e),r=th(t);return t.pos!==e.length&&t.error("Unexpected input"),r.terms.length===1&&r.terms[0].type==="Group"?r.terms[0]:r}var RP,$P,BP,qP,WP,Vw,rh,Gv,$c,Qw,Gw,Yw,nh,ih,Yv,oh,fm,Bc,_P,Ri,kn,qc,Kv,gm,Hv,Jv,UP=y(()=>{C9(),RP=9,$P=10,BP=12,qP=13,WP=32,Vw=33,rh=35,Gv=38,$c=39,Qw=40,Gw=41,Yw=42,nh=43,ih=44,Yv=45,oh=60,fm=62,Bc=63,_P=64,Ri=91,kn=93,qc=123,Kv=124,gm=125,Hv=8734,Jv={" ":1,"&&":2,"||":3,"|":4}}),j9=y(()=>{}),VP=y(()=>{UP(),j9()});function D9(e){let t=[];return Hm(e,(r,n,i)=>t.push({type:r,value:e.slice(n,i),node:null})),t}function L9(e,t){return typeof e=="string"?D9(e):t.generate(e,QP)}var QP,F9=y(()=>{pr(),QP={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 ht(e,t,r){return t===ze&&r===De||e===ze&&t===ze&&r===ze?e:(e.type==="If"&&e.else===De&&t===ze&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:r})}function GP(e){return e.length>2&&e.charCodeAt(e.length-2)===YP&&e.charCodeAt(e.length-1)===KP}function p0(e){return e.type==="Keyword"||e.type==="AtKeyword"||e.type==="Function"||e.type==="Type"&&GP(e.name)}function Wr(e,t=" ",r=!1){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:r}}function bc(e,t,r=new Set){if(!r.has(e))switch(r.add(e),e.type){case"If":e.match=bc(e.match,t,r),e.then=bc(e.then,t,r),e.else=bc(e.else,t,r);break;case"Type":return t[e.name]||e}return e}function Xv(e,t,r){switch(e){case" ":{let n=ze;for(let i=t.length-1;i>=0;i--){let o=t[i];n=ht(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=ht({type:"Enum",map:i},ze,n)),i!==null)){let s=(GP(a.name)?a.name.slice(0,-1):a.name).toLowerCase();if(!(s in i)){i[s]=a;continue}}i=null,n=ht(a,ze,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=Xv(e,t.filter(function(s){return s!==o}),!1):a=ze,n=ht(o,a,n)}return n}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let n=r?ze:De;for(let i=t.length-1;i>=0;i--){let o=t[i],a;t.length>1?a=Xv(e,t.filter(function(s){return s!==o}),!0):a=ze,n=ht(o,a,n)}return n}}}function M9(e){let t=ze,r=vi(e.term);if(e.max===0)r=ht(r,ah,De),t=ht(r,null,De),t.then=ht(ze,ze,t),e.comma&&(t.then.else=ht({type:"Comma",syntax:e},t,De));else for(let n=e.min||1;n<=e.max;n++)e.comma&&t!==ze&&(t=ht({type:"Comma",syntax:e},t,De)),t=ht(r,ht(ze,ze,t),De);if(e.min===0)t=ht(ze,ze,t);else for(let n=0;n<e.min-1;n++)e.comma&&t!==ze&&(t=ht({type:"Comma",syntax:e},t,De)),t=ht(r,t,De);return t}function vi(e){if(typeof e=="function")return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=Xv(e.combinator,e.terms.map(vi),!1);return e.disallowEmpty&&(t=ht(t,ah,De)),t}case"Multiplier":return M9(e);case"Boolean":{let t=vi(e.term),r=vi(Wr([Wr([{type:"Keyword",name:"not"},{type:"Type",name:"!boolean-group"}]),Wr([{type:"Type",name:"!boolean-group"},Wr([{type:"Multiplier",comma:!1,min:0,max:0,term:Wr([{type:"Keyword",name:"and"},{type:"Type",name:"!boolean-group"}])},{type:"Multiplier",comma:!1,min:0,max:0,term:Wr([{type:"Keyword",name:"or"},{type:"Type",name:"!boolean-group"}])}],"|")])],"|")),n=vi(Wr([{type:"Type",name:"!term"},Wr([{type:"Token",value:"("},{type:"Type",name:"!self"},{type:"Token",value:")"}]),{type:"Type",name:"general-enclosed"}],"|"));return bc(n,{"!term":t,"!self":r}),bc(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 np(e,t){return typeof e=="string"&&(e=MP(e)),{type:"MatchGraph",match:vi(e),syntax:t||null,source:e}}var ze,De,ah,YP,KP,HP=y(()=>{UP(),ze={type:"Match"},De={type:"Mismatch"},ah={type:"DisallowEmpty"},YP=40,KP=41});function R9(e){let t=null,r=null,n=e;for(;n!==null;)r=n.prev,n.prev=t,t=n,n=r;return t}function Lf(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 $9(e){return e.type!==9?!1:e.value!=="?"}function m0(e){return e===null?!0:e.type===18||e.type===2||e.type===21||e.type===19||e.type===23||$9(e)}function h0(e){return e===null?!0:e.type===22||e.type===20||e.type===24||e.type===9&&e.value==="/"}function B9(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:XP,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:bm,syntax:t.syntax,token:w.token,prev:w}}function c(){w.type===bm?w=w.prev:w={type:Kw,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:JP,syntax:null,token:null,prev:null};for(n();b===null&&++h<ty;)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=ey;break}if(t=p.nextState,t===ah)if(p.matchStack===w){t=De;break}else t=ze;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=ZP;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!==ze&&a(t.then),t=t.match;break;case"MatchOnce":t={type:"MatchOnceBuffer",syntax:t,index:0,mask:0};break;case"MatchOnceBuffer":{let z=t.syntax.terms;if(t.index===z.length){if(t.mask===0||t.syntax.all){t=De;break}t=ze;break}if(t.mask===(1<<z.length)-1){t=ze;break}for(;t.index<z.length;t.index++){let A=1<<t.index;if((t.mask&A)===0){s(t),a({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|A}),t=z[t.index++];break}}break}case"AddMatchOnce":t={type:"MatchOnceBuffer",syntax:t.syntax,index:0,mask:t.mask};break;case"Enum":if(g!==null){let z=g.value.toLowerCase();if(z.indexOf("\\")!==-1&&(z=z.replace(/\\[09].*$/,"")),Zv.call(t.map,z)){t=t.map[z];break}}t=De;break;case"Generic":{let z=d!==null?d.opts:null,A=f+Math.floor(t.fn(g,i,z));if(!isNaN(A)&&A>f){for(;f<A;)l();t=ze}else t=De;break}case"Type":case"Property":{let z=t.type==="Type"?"types":"properties",A=Zv.call(r,z)?r[z][t.name]:null;if(!A||!A.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=A.matchRef||A.match;break}case"Keyword":{let z=t.name;if(g!==null){let A=g.value;if(A.indexOf("\\")!==-1&&(A=A.replace(/\\[09].*$/,"")),Lf(A,z)){l(),t=ze;break}}t=De;break}case"AtKeyword":case"Function":if(g!==null&&Lf(g.value,t.name)){l(),t=ze;break}t=De;break;case"Token":if(g!==null&&g.value===t.value){l(),t=ze;break}t=De;break;case"Comma":g!==null&&g.type===18?m0(w.token)?t=De:(l(),t=h0(g)?De:ze):t=m0(w.token)||h0(g)?ze:De;break;case"String":let k="",S=f;for(;S<e.length&&k.length<t.value.length;S++)k+=e[S].value;if(Lf(k,t.value)){for(;f<S;)l();t=ze}else t=De;break;default:throw new Error("Unknown node type: "+t.type)}switch(tO+=h,b){case null:console.warn("[csstree-match] BREAK after "+ty+" iterations"),b=eO,w=null;break;case ey:for(;d!==null;)c();break;default:w=null}return{tokens:e,reason:b,iterations:h,match:w,longestMatch:x}}function f0(e,t,r){let n=B9(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=R9(i).prev;i!==null;){switch(i.type){case bm:o.match.push(o={syntax:i.syntax,match:[]}),a.push(o);break;case Kw: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 Zv,JP,XP,bm,Kw,ey,ZP,eO,ty,tO,q9=y(()=>{HP(),{hasOwnProperty:Zv}=Object.prototype,JP=0,XP=1,bm=2,Kw=3,ey="Match",ZP="Mismatch",eO="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",ty=15e3,tO=0}),rO={};N(rO,{getTrace:()=>nO,isKeyword:()=>U9,isProperty:()=>_9,isType:()=>W9});function nO(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 W9(e,t){return Hw(this,e,r=>r.type==="Type"&&r.name===t)}function _9(e,t){return Hw(this,e,r=>r.type==="Property"&&r.name===t)}function U9(e){return Hw(this,e,t=>t.type==="Keyword")}function Hw(e,t,r){let n=nO.call(e,t);return n===null?!1:n.some(r)}var V9=y(()=>{});function Ff(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}function g0(e){return!!e&&Ff(e.offset)&&Ff(e.line)&&Ff(e.column)}function Q9(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(Ei.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(!g0(r.loc.start))i+=".start";else if(!g0(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 Mc)}}}else n(r,"Unknown field `"+i+"` for "+e+" node type");o||n(r,"Bad value for `"+e+"."+i+"`")}}for(let i in t)Ei.call(t,i)&&Ei.call(r,i)===!1&&n(r,"Field `"+e+"."+i+"` is missed")}}function iO(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<"+(iO(i,t)||"any")+">");else throw new Error("Wrong value `"+i+"` in `"+t+"` structure definition")}return r.join(" | ")}function G9(e,t){let r=t.structure,n={type:String,loc:!0},i={type:'"'+e+'"'};for(let o in r){if(Ei.call(r,o)===!1)continue;let a=n[o]=Array.isArray(r[o])?r[o].slice():[r[o]];i[o]=iO(a,e+"."+o)}return{docs:i,check:Q9(e,n)}}function Y9(e){let t={};if(e.node){for(let r in e.node)if(Ei.call(e.node,r)){let n=e.node[r];if(n.structure)t[r]=G9(r,n);else throw new Error("Missed `structure` field in `"+r+"` node type definition")}}return t}var Ei,K9=y(()=>{Mw(),{hasOwnProperty:Ei}=Object.prototype});function H9(e){for(let t=0;t<e.length;t++)if(e[t].value.toLowerCase()==="var(")return!0;return!1}function J9(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,...rO}}function ip(e,t,r,n){let i=L9(r,e.syntax),o;return H9(i)?Gr(null,new Error("Matching for a tree with var() is not supported")):(n&&(o=f0(i,e.cssWideKeywordsSyntax,e)),(!n||!o.match)&&(o=f0(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 ry,X9=y(()=>{Zq(),qw(),Ww(),w9(),k9(),VP(),F9(),HP(),q9(),V9(),K9(),ry=class{constructor(e,t,r){if(this.cssWideKeywords=Xm,this.syntax=t,this.generic=!1,this.units={...Qv},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=r||Y9(e),e){if(e.cssWideKeywords&&(this.cssWideKeywords=e.cssWideKeywords),e.units)for(let n of Object.keys(Qv))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(y9(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=np(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=np(e,i):(typeof e=="string"?Object.defineProperty(o,"syntax",{get(){return Object.defineProperty(o,"syntax",{value:MP(e)}),o.syntax}}):o.syntax=e,Object.defineProperty(o,"match",{get(){return Object.defineProperty(o,"match",{value:np(o.syntax,i)}),o.match}}),t==="Property"&&Object.defineProperty(o,"matchRef",{get(){let a=o.syntax,s=J9(a)?np({...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 Dp("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&&!ip(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=Lp(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 Dp("Unknown at-rule descriptor",t)}checkPropertyName(e){if(!this.getProperty(e))return new Dp("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?ip(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=Lp(t);return ip(this,i.descriptors[o.name]||i.descriptors[o.basename],r,!1)}matchProperty(e,t){if(_v(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):ip(this,this.getProperty(e),t,!0)}getAtrule(e,t=!0){let r=Lp(e);return(r.vendor&&t?this.atrules[r.name]||this.atrules[r.basename]:this.atrules[r.name])||null}getProperty(e,t=!0){let r=_v(e);return(r.vendor&&t?this.properties[r.name]||this.properties[r.basename]:this.properties[r.name])||null}}});function Mf(e,t){return typeof t=="string"&&/^\s*\|/.test(t)?typeof e=="string"?e+t:t.replace(/^\s*\|\s*/,""):t||null}function Z9(e,t){let r=Object.create(null);for(let n of Object.keys(e))t.includes(n)&&(r[n]=e[n]);return r}function Rf(e,t,r){let n={...e};for(let[i,o]of Object.entries(t))n[i]={...n[i],...r?Z9(o,r):o};return n}function ny(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?Mf(l.prelude,a.prelude):l.prelude||null;for(let[u,c]of Object.entries(a.descriptors||{}))l.descriptors[u]=c?Mf(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]=Mf(r[n][o],a);break;case"parseContext":r[n]={...e[n],...i};break;case"scope":case"features":r[n]=Rf(e[n],i);break;case"atrule":case"pseudo":r[n]=Rf(e[n],i,["parse"]);break;case"node":r[n]=Rf(e[n],i,["name","structure","parse","generate","walkContext"]);break}return r}var eW=y(()=>{});function oO(e){let t=Dq(e),r=Uq(e),n=$q(e),{fromPlainObject:i,toPlainObject:o}=hP(r),a={lexer:null,createLexer:s=>new ry(s,a,a.lexer.structure),tokenize:Hm,parse:t,generate:n,walk:r,find:r.find,findLast:r.findLast,findAll:r.findAll,fromPlainObject:i,toPlainObject:o,fork(s){let l=ny({},e);return oO(typeof s=="function"?s(l):ny(l,s))}};return a.lexer=new ry({generic:e.generic,cssWideKeywords:e.cssWideKeywords,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},a),a}var aO,tW=y(()=>{pr(),Lq(),Bq(),qq(),Vq(),X9(),eW(),aO=e=>oO(ny({},e))}),sO,rW=y(()=>{sO={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"}}}}}),lO={};N(lO,{generate:()=>nW,name:()=>dO,parse:()=>uO,structure:()=>pO});function Mp(e,t){let r=this.tokenStart+e,n=this.charCodeAt(r);for((n===rr||n===zt)&&(t&&this.error("Number sign is not allowed"),r++);r<this.tokenEnd;r++)ct(this.charCodeAt(r))||this.error("Integer is expected",r)}function yi(e){return Mp.call(this,0,e)}function _r(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let r="";switch(t){case vc:r="N is expected";break;case zt:r="HyphenMinus is expected";break}this.error(r,this.tokenStart+e)}}function $f(){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(zt,e)){t=this.isDelim(rr,e)?rr:zt;do r=this.lookupType(++e);while(r===13||r===25);r!==10&&(this.skip(e),yi.call(this,Qr))}else return null;return e>0&&this.skip(e),t===0&&(r=this.charCodeAt(this.tokenStart),r!==rr&&r!==zt&&this.error("Number sign is expected")),yi.call(this,t!==0),t===zt?"-"+this.consume(10):this.consume(10)}function uO(){let e=this.tokenStart,t=null,r=null;if(this.tokenType===10)yi.call(this,cO),r=this.consume(10);else if(this.tokenType===1&&this.cmpChar(this.tokenStart,zt))switch(t="-1",_r.call(this,1,vc),this.tokenEnd-this.tokenStart){case 2:this.next(),r=$f.call(this);break;case 3:_r.call(this,2,zt),this.next(),this.skipSC(),yi.call(this,Qr),r="-"+this.consume(10);break;default:_r.call(this,2,zt),Mp.call(this,3,Qr),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()),_r.call(this,0,vc),this.tokenEnd-this.tokenStart){case 1:this.next(),r=$f.call(this);break;case 2:_r.call(this,1,zt),this.next(),this.skipSC(),yi.call(this,Qr),r="-"+this.consume(10);break;default:_r.call(this,1,zt),Mp.call(this,2,Qr),this.next(),r=this.substrToCursor(e+n+1)}}else if(this.tokenType===12){let n=this.charCodeAt(this.tokenStart),i=n===rr||n===zt,o=this.tokenStart+i;for(;o<this.tokenEnd&&ct(this.charCodeAt(o));o++);o===this.tokenStart+i&&this.error("Integer is expected",this.tokenStart+i),_r.call(this,o-this.tokenStart,vc),t=this.substring(e,o),o+1===this.tokenEnd?(this.next(),r=$f.call(this)):(_r.call(this,o-this.tokenStart+1,zt),o+2===this.tokenEnd?(this.next(),this.skipSC(),yi.call(this,Qr),r="-"+this.consume(10)):(Mp.call(this,o-this.tokenStart+2,Qr),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 nW(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,zt,vc,Qr,cO,dO,pO,mO=y(()=>{pr(),rr=43,zt=45,vc=110,Qr=!0,cO=!1,dO="AnPlusB",pO={a:[String,null],b:[String,null]}}),hO={};N(hO,{generate:()=>oW,name:()=>gO,parse:()=>fO,structure:()=>vO,walkContext:()=>bO});function b0(){return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function iW(){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 fO(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),b0):i=b0.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(iW.call(this));break}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:r,prelude:i,block:o}}function oW(e){this.token(3,"@"+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(17,";")}var gO,bO,vO,yO=y(()=>{gO="Atrule",bO="atrule",vO={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]}}),wO={};N(wO,{generate:()=>aW,name:()=>xO,parse:()=>kO,structure:()=>CO,walkContext:()=>SO});function kO(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 aW(e){this.children(e)}var xO,SO,CO,AO=y(()=>{xO="AtrulePrelude",SO="atrulePrelude",CO={children:[[]]}}),NO={};N(NO,{generate:()=>uW,name:()=>IO,parse:()=>zO,structure:()=>TO});function sW(){this.eof&&this.error("Unexpected end of input");let e=this.tokenStart,t=!1;return this.isDelim(Jw)?(t=!0,this.next()):this.isDelim(vm)||this.eat(1),this.isDelim(vm)?this.charCodeAt(this.tokenStart+1)!==yc?(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 lW(){let e=this.tokenStart,t=this.charCodeAt(e);return t!==yc&&t!==OO&&t!==PO&&t!==EO&&t!==Jw&&t!==vm&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==yc&&(this.isDelim(yc)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}function zO(){let e=this.tokenStart,t,r=null,n=null,i=null;return this.eat(19),this.skipSC(),t=sW.call(this),this.skipSC(),this.tokenType!==20&&(this.tokenType!==1&&(r=lW.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 uW(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 EO,Jw,yc,PO,vm,OO,IO,TO,jO=y(()=>{EO=36,Jw=42,yc=61,PO=94,vm=124,OO=126,IO="AttributeSelector",TO={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]}}),DO={};N(DO,{generate:()=>dW,name:()=>RO,parse:()=>FO,structure:()=>BO,walkContext:()=>$O});function LO(){return this.Raw(null,!0)}function v0(){return this.parseWithFallback(this.Rule,LO)}function y0(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function cW(){if(this.tokenType===17)return y0.call(this,this.tokenIndex);let e=this.parseWithFallback(this.Declaration,y0);return this.tokenType===17&&this.next(),e}function FO(e){let t=e?cW:v0,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),LO));break;default:e&&this.isDelim(MO)?n.push(v0.call(this)):n.push(t.call(this))}return this.eof||this.eat(24),{type:"Block",loc:this.getLocation(r,this.tokenStart),children:n}}function dW(e){this.token(23,"{"),this.children(e,t=>{t.type==="Declaration"&&this.token(17,";")}),this.token(24,"}")}var MO,RO,$O,BO,qO=y(()=>{MO=38,RO="Block",$O="block",BO={children:[["Atrule","Rule","Declaration"]]}}),WO={};N(WO,{generate:()=>pW,name:()=>UO,parse:()=>_O,structure:()=>VO});function _O(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 pW(e){this.token(9,"["),this.children(e),this.token(9,"]")}var UO,VO,QO=y(()=>{UO="Brackets",VO={children:[[]]}}),GO={};N(GO,{generate:()=>mW,name:()=>KO,parse:()=>YO,structure:()=>HO});function YO(){let e=this.tokenStart;return this.eat(15),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function mW(){this.token(15,"-->")}var KO,HO,JO=y(()=>{KO="CDC",HO=[]}),XO={};N(XO,{generate:()=>hW,name:()=>eI,parse:()=>ZO,structure:()=>tI});function ZO(){let e=this.tokenStart;return this.eat(14),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function hW(){this.token(14,"<!--")}var eI,tI,rI=y(()=>{eI="CDO",tI=[]}),nI={};N(nI,{generate:()=>fW,name:()=>aI,parse:()=>iI,structure:()=>sI});function iI(){return this.eatDelim(oI),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(1)}}function fW(e){this.token(9,"."),this.token(1,e.name)}var oI,aI,sI,lI=y(()=>{oI=46,aI="ClassSelector",sI={name:String}}),uI={};N(uI,{generate:()=>gW,name:()=>hI,parse:()=>cI,structure:()=>fI});function cI(){let e=this.tokenStart,t;switch(this.tokenType){case 13:t=" ";break;case 9:switch(this.charCodeAt(this.tokenStart)){case pI:case dI:case mI:this.next();break;case iy:this.next(),this.eatIdent("deep"),this.eatDelim(iy);break;default:this.error("Combinator is expected")}t=this.substrToCursor(e);break}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}}function gW(e){this.tokenize(e.name)}var dI,iy,pI,mI,hI,fI,gI=y(()=>{dI=43,iy=47,pI=62,mI=126,hI="Combinator",fI={name:String}}),bI={};N(bI,{generate:()=>bW,name:()=>kI,parse:()=>vI,structure:()=>xI});function vI(){let e=this.tokenStart,t=this.tokenEnd;return this.eat(25),t-e+2>=2&&this.charCodeAt(t-2)===yI&&this.charCodeAt(t-1)===wI&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function bW(e){this.token(25,"/*"+e.value+"*/")}var yI,wI,kI,xI,SI=y(()=>{yI=42,wI=47,kI="Comment",xI={value:String}}),CI={};N(CI,{generate:()=>vW,name:()=>zI,parse:()=>AI,structure:()=>EI});function w0(e){return this.lookupTypeNonSC(1)===1&&NI.has(this.lookupTypeNonSC(2))?this.Feature(e):this.FeatureRange(e)}function AI(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(()=>PI[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 vW(e){e.children.forEach(t=>{t.type==="Condition"?(this.token(21,"("),this.node(t),this.token(22,")")):this.node(t)})}var NI,zI,EI,PI,OI=y(()=>{NI=new Set([16,22,0]),zI="Condition",EI={kind:String,children:[["Identifier","Feature","FeatureFunction","FeatureRange","SupportsDeclaration"]]},PI={media:w0,container:w0,supports(){return this.SupportsDeclaration()}}}),II={};N(II,{generate:()=>xW,name:()=>RI,parse:()=>TI,structure:()=>BI,walkContext:()=>$I});function yW(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!0)}function wW(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1)}function kW(){let e=this.tokenIndex,t=this.Value();return t.type!=="Raw"&&this.eof===!1&&this.tokenType!==17&&this.isDelim(Xw)===!1&&this.isBalanceEdge(e)===!1&&this.error(),t}function TI(){let e=this.tokenStart,t=this.tokenIndex,r=SW.call(this),n=Bw(r),i=n?this.parseCustomProperty:this.parseValue,o=n?wW:yW,a=!1,s;this.skipSC(),this.eat(16);let l=this.tokenIndex;if(n||this.skipSC(),i?s=this.parseWithFallback(kW,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(Xw)&&(a=CW.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 xW(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 SW(){let e=this.tokenStart;if(this.tokenType===9)switch(this.charCodeAt(this.tokenStart)){case FI:case DI:case MI:case jI:case LI:this.next();break;case oy:this.next(),this.isDelim(oy)&&this.next();break}return this.tokenType===4?this.eat(4):this.eat(1),this.substrToCursor(e)}function CW(){this.eat(9),this.skipSC();let e=this.consume(1);return e==="important"?!0:e}var Xw,jI,DI,LI,FI,MI,oy,RI,$I,BI,qI=y(()=>{qw(),Xw=33,jI=35,DI=36,LI=38,FI=42,MI=43,oy=47,RI="Declaration",$I="declaration",BI={important:[Boolean,String],property:String,value:["Value","Raw"]}}),WI={};N(WI,{generate:()=>AW,name:()=>VI,parse:()=>_I,structure:()=>QI});function Bf(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function _I(){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),Bf));break;default:this.isDelim(UI)?e.push(this.parseWithFallback(this.Rule,Bf)):e.push(this.parseWithFallback(this.Declaration,Bf))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function AW(e){this.children(e,t=>{t.type==="Declaration"&&this.token(17,";")})}var UI,VI,QI,GI=y(()=>{UI=38,VI="DeclarationList",QI={children:[["Declaration","Atrule","Rule"]]}}),YI={};N(YI,{generate:()=>NW,name:()=>HI,parse:()=>KI,structure:()=>JI});function KI(){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 NW(e){this.token(12,e.value+e.unit)}var HI,JI,XI=y(()=>{HI="Dimension",JI={value:String,unit:String}}),ZI={};N(ZI,{generate:()=>zW,name:()=>rT,parse:()=>eT,structure:()=>nT});function eT(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(tT)&&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 zW(e){this.token(21,"("),this.token(1,e.name),e.value!==null&&(this.token(16,":"),this.node(e.value)),this.token(22,")")}var tT,rT,nT,iT=y(()=>{tT=47,rT="Feature",nT={kind:String,name:String,value:["Identifier","Number","Dimension","Ratio","Function",null]}}),oT={};N(oT,{generate:()=>PW,name:()=>sT,parse:()=>aT,structure:()=>lT});function EW(e,t){let r=(this.features[e]||{})[t];return typeof r!="function"&&this.error(`Unknown feature ${t}()`),r}function aT(e="unknown"){let t=this.tokenStart,r=this.consumeFunctionName(),n=EW.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 PW(e){this.token(2,e.feature+"("),this.node(e.value),this.token(22,")")}var sT,lT,uT=y(()=>{sT="FeatureFunction",lT={kind:String,feature:String,value:["Declaration","Selector"]}}),cT={};N(cT,{generate:()=>OW,name:()=>hT,parse:()=>dT,structure:()=>fT});function qf(){switch(this.skipSC(),this.tokenType){case 10:return this.isDelim(ay,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(ay)&&this.error(),e},()=>this.Ratio());default:this.error("Number, dimension, ratio or identifier is expected")}}function k0(e){if(this.skipSC(),this.isDelim(pT)||this.isDelim(mT)){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 dT(e="unknown"){let t=this.tokenStart;this.skipSC(),this.eat(21);let r=qf.call(this),n=k0.call(this,r.type==="Identifier"),i=qf.call(this),o=null,a=null;return this.lookupNonWSType(0)!==22&&(o=k0.call(this),a=qf.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 OW(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 ay,pT,sy,mT,hT,fT,gT=y(()=>{ay=47,pT=60,sy=61,mT=62,hT="FeatureRange",fT={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]}}),bT={};N(bT,{generate:()=>IW,name:()=>yT,parse:()=>vT,structure:()=>kT,walkContext:()=>wT});function vT(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 IW(e){this.token(2,e.name+"("),this.children(e),this.token(22,")")}var yT,wT,kT,xT=y(()=>{yT="Function",wT="function",kT={name:String,children:[[]]}}),ST={};N(ST,{generate:()=>TW,name:()=>AT,parse:()=>CT,structure:()=>NT});function CT(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 TW(e){e.function?this.token(2,e.function+"("):this.token(21,"("),this.children(e),this.token(22,")")}var AT,NT,zT=y(()=>{AT="GeneralEnclosed",NT={kind:String,function:[String,null],children:[[]]}}),ET={};N(ET,{generate:()=>jW,name:()=>IT,parse:()=>PT,structure:()=>TT,xxx:()=>OT});function PT(){let e=this.tokenStart;return this.eat(4),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function jW(e){this.token(4,"#"+e.value)}var OT,IT,TT,jT=y(()=>{OT="XXX",IT="Hash",TT={value:String}}),DT={};N(DT,{generate:()=>DW,name:()=>FT,parse:()=>LT,structure:()=>MT});function LT(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(1)}}function DW(e){this.token(1,e.name)}var FT,MT,RT=y(()=>{FT="Identifier",MT={name:String}}),$T={};N($T,{generate:()=>LW,name:()=>qT,parse:()=>BT,structure:()=>WT});function BT(){let e=this.tokenStart;return this.eat(4),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function LW(e){this.token(9,"#"+e.name)}var qT,WT,_T=y(()=>{qT="IdSelector",WT={name:String}}),UT={};N(UT,{generate:()=>FW,name:()=>GT,parse:()=>VT,structure:()=>YT});function VT(){let e=this.tokenStart,t=this.consume(1);for(;this.isDelim(QT);)this.eat(9),t+="."+this.consume(1);return{type:"Layer",loc:this.getLocation(e,this.tokenStart),name:t}}function FW(e){this.tokenize(e.name)}var QT,GT,YT,KT=y(()=>{QT=46,GT="Layer",YT={name:String}}),HT={};N(HT,{generate:()=>MW,name:()=>XT,parse:()=>JT,structure:()=>ZT});function JT(){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 MW(e){this.children(e,()=>this.token(18,","))}var XT,ZT,ej=y(()=>{XT="LayerList",ZT={children:[["Layer"]]}}),tj={};N(tj,{generate:()=>RW,name:()=>nj,parse:()=>rj,structure:()=>ij});function rj(){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 RW(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 nj,ij,oj=y(()=>{nj="MediaQuery",ij={modifier:[String,null],mediaType:[String,null],condition:["Condition",null]}}),aj={};N(aj,{generate:()=>$W,name:()=>lj,parse:()=>sj,structure:()=>uj});function sj(){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 $W(e){this.children(e,()=>this.token(18,","))}var lj,uj,cj=y(()=>{lj="MediaQueryList",uj={children:[["MediaQuery"]]}}),dj={};N(dj,{generate:()=>BW,name:()=>hj,parse:()=>pj,structure:()=>fj});function pj(){let e=this.tokenStart;return this.eatDelim(mj),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}function BW(){this.token(9,"&")}var mj,hj,fj,gj=y(()=>{mj=38,hj="NestingSelector",fj={}}),bj={};N(bj,{generate:()=>qW,name:()=>yj,parse:()=>vj,structure:()=>wj});function vj(){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 qW(e){this.node(e.nth),e.selector!==null&&(this.token(1,"of"),this.node(e.selector))}var yj,wj,kj=y(()=>{yj="Nth",wj={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]}}),xj={};N(xj,{generate:()=>WW,name:()=>Cj,parse:()=>Sj,structure:()=>Aj});function Sj(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(10)}}function WW(e){this.token(10,e.value)}var Cj,Aj,Nj=y(()=>{Cj="Number",Aj={value:String}}),zj={};N(zj,{generate:()=>_W,name:()=>Pj,parse:()=>Ej,structure:()=>Oj});function Ej(){let e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function _W(e){this.tokenize(e.value)}var Pj,Oj,Ij=y(()=>{Pj="Operator",Oj={value:String}}),Tj={};N(Tj,{generate:()=>UW,name:()=>Dj,parse:()=>jj,structure:()=>Lj});function jj(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 UW(e){this.token(21,"("),this.children(e),this.token(22,")")}var Dj,Lj,Fj=y(()=>{Dj="Parentheses",Lj={children:[[]]}}),Mj={};N(Mj,{generate:()=>VW,name:()=>$j,parse:()=>Rj,structure:()=>Bj});function Rj(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(11)}}function VW(e){this.token(11,e.value+"%")}var $j,Bj,qj=y(()=>{$j="Percentage",Bj={value:String}}),Wj={};N(Wj,{generate:()=>QW,name:()=>Uj,parse:()=>_j,structure:()=>Qj,walkContext:()=>Vj});function _j(){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 QW(e){this.token(16,":"),e.children===null?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(22,")"))}var Uj,Vj,Qj,Gj=y(()=>{Uj="PseudoClassSelector",Vj="function",Qj={name:String,children:[["Raw"],null]}}),Yj={};N(Yj,{generate:()=>GW,name:()=>Hj,parse:()=>Kj,structure:()=>Xj,walkContext:()=>Jj});function Kj(){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 GW(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 Hj,Jj,Xj,Zj=y(()=>{Hj="PseudoElementSelector",Jj="function",Xj={name:String,children:[["Raw"],null]}}),e4={};N(e4,{generate:()=>YW,name:()=>r4,parse:()=>t4,structure:()=>n4});function x0(){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 t4(){let e=this.tokenStart,t=x0.call(this),r=null;return this.skipSC(),this.isDelim(ly)&&(this.eatDelim(ly),r=x0.call(this)),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:r}}function YW(e){this.node(e.left),this.token(9,"/"),e.right?this.node(e.right):this.node(10,1)}var ly,r4,n4,i4=y(()=>{ly=47,r4="Ratio",n4={left:["Number","Function"],right:["Number","Function",null]}}),o4={};N(o4,{generate:()=>HW,name:()=>s4,parse:()=>a4,structure:()=>l4});function KW(){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=KW.call(this):n=this.tokenStart,{type:"Raw",loc:this.getLocation(r,n),value:this.substring(r,n)}}function HW(e){this.tokenize(e.value)}var s4,l4,u4=y(()=>{s4="Raw",l4={value:String}}),c4={};N(c4,{generate:()=>XW,name:()=>p4,parse:()=>d4,structure:()=>h4,walkContext:()=>m4});function S0(){return this.Raw(this.consumeUntilLeftCurlyBracket,!0)}function JW(){let e=this.SelectorList();return e.type!=="Raw"&&this.eof===!1&&this.tokenType!==23&&this.error(),e}function d4(){let e=this.tokenIndex,t=this.tokenStart,r,n;return this.parseRulePrelude?r=this.parseWithFallback(JW,S0):r=S0.call(this,e),n=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:r,block:n}}function XW(e){this.node(e.prelude),this.node(e.block)}var p4,m4,h4,f4=y(()=>{p4="Rule",m4="rule",h4={prelude:["SelectorList","Raw"],block:["Block"]}}),g4={};N(g4,{generate:()=>ZW,name:()=>v4,parse:()=>b4,structure:()=>y4});function b4(){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 ZW(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 v4,y4,w4=y(()=>{v4="Scope",y4={root:["SelectorList","Raw",null],limit:["SelectorList","Raw",null]}}),k4={};N(k4,{generate:()=>e_,name:()=>S4,parse:()=>x4,structure:()=>C4});function x4(){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 e_(e){this.children(e)}var S4,C4,A4=y(()=>{S4="Selector",C4={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator"]]}}),N4={};N(N4,{generate:()=>t_,name:()=>E4,parse:()=>z4,structure:()=>O4,walkContext:()=>P4});function z4(){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 t_(e){this.children(e,()=>this.token(18,","))}var E4,P4,O4,I4=y(()=>{E4="SelectorList",P4="selector",O4={children:[["Selector","Raw"]]}}),T4={};N(T4,{decode:()=>Zw,encode:()=>j4});function Zw(e){let t=e.length,r=e.charCodeAt(0),n=r===ek||r===tk?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===ym){if(a===i){a!==t-1&&(o=e.substr(a+1));break}if(s=e.charCodeAt(++a),yr(ym,s)){let l=a-1,u=Fi(e,l);a=u-1,o+=ZE(e.substring(l+1,u))}else s===13&&e.charCodeAt(a+1)===10&&a++}else o+=e[a]}return o}function j4(e,t){let r=t?"'":'"',n=t?tk:ek,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===ym?(i+="\\"+e.charAt(a),o=!1):(o&&(Zr(s)||wn(s))&&(i+=" "),i+=e.charAt(a),o=!1)}return r+i+r}var ym,ek,tk,rk=y(()=>{pr(),ym=92,ek=34,tk=39}),D4={};N(D4,{generate:()=>r_,name:()=>F4,parse:()=>L4,structure:()=>M4});function L4(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:Zw(this.consume(5))}}function r_(e){this.token(5,j4(e.value))}var F4,M4,R4=y(()=>{rk(),F4="String",M4={value:String}}),$4={};N($4,{generate:()=>n_,name:()=>W4,parse:()=>B4,structure:()=>U4,walkContext:()=>_4});function C0(){return this.Raw(null,!1)}function B4(){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)!==q4){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,C0);break;default:r=this.parseWithFallback(this.Rule,C0)}t.push(r)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}function n_(e){this.children(e)}var q4,W4,_4,U4,V4=y(()=>{q4=33,W4="StyleSheet",_4="stylesheet",U4={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]}}),Q4={};N(Q4,{generate:()=>i_,name:()=>Y4,parse:()=>G4,structure:()=>K4});function G4(){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 i_(e){this.token(21,"("),this.node(e.declaration),this.token(22,")")}var Y4,K4,H4=y(()=>{Y4="SupportsDeclaration",K4={declaration:"Declaration"}}),J4={};N(J4,{generate:()=>o_,name:()=>eD,parse:()=>X4,structure:()=>tD});function Wf(){this.tokenType!==1&&this.isDelim(Z4)===!1&&this.error("Identifier or asterisk is expected"),this.next()}function X4(){let e=this.tokenStart;return this.isDelim(uy)?(this.next(),Wf.call(this)):(Wf.call(this),this.isDelim(uy)&&(this.next(),Wf.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function o_(e){this.tokenize(e.name)}var Z4,uy,eD,tD,rD=y(()=>{Z4=42,uy=124,eD="TypeSelector",tD={name:String}}),nD={};N(nD,{generate:()=>l_,name:()=>oD,parse:()=>iD,structure:()=>aD});function cc(e,t){let r=0;for(let n=this.tokenStart+e;n<this.tokenEnd;n++){let i=this.charCodeAt(n);if(i===ik&&t&&r!==0)return cc.call(this,e+r+1,!1),-1;Zr(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 op(e){let t=0;for(;this.isDelim(wm);)++t>e&&this.error("Too many question marks"),this.next()}function a_(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===nk?"Plus sign":"Hyphen minus")+" is expected")}function s_(){let e=0;switch(this.tokenType){case 10:if(e=cc.call(this,1,!0),this.isDelim(wm)){op.call(this,6-e);break}if(this.tokenType===12||this.tokenType===10){a_.call(this,ik),cc.call(this,1,!1);break}break;case 12:e=cc.call(this,1,!0),e>0&&op.call(this,6-e);break;default:if(this.eatDelim(nk),this.tokenType===1){e=cc.call(this,0,!0),e>0&&op.call(this,6-e);break}if(this.isDelim(wm)){this.next(),op.call(this,5);break}this.error("Hex digit or question mark is expected")}}function iD(){let e=this.tokenStart;return this.eatIdent("u"),s_.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function l_(e){this.tokenize(e.value)}var nk,ik,wm,oD,aD,sD=y(()=>{pr(),nk=43,ik=45,wm=63,oD="UnicodeRange",aD={value:String}});function u_(e){let t=e.length,r=4,n=e.charCodeAt(t-1)===ok?t-2:t-1,i="";for(;r<n&&wn(e.charCodeAt(r));)r++;for(;r<n&&wn(e.charCodeAt(n));)n--;for(let o=r;o<=n;o++){let a=e.charCodeAt(o);if(a===km){if(o===n){o!==t-1&&(i=e.substr(o+1));break}if(a=e.charCodeAt(++o),yr(km,a)){let s=o-1,l=Fi(e,s);o=l-1,i+=ZE(e.substring(s+1,l))}else a===13&&e.charCodeAt(o+1)===10&&o++}else i+=e[o]}return i}function c_(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===lD||i===km||i===uD||i===cD||i===dD||i===ok?(t+="\\"+e.charAt(n),r=!1):(r&&Zr(i)&&(t+=" "),t+=e.charAt(n),r=!1)}return"url("+t+")"}var lD,km,uD,cD,dD,ok,pD=y(()=>{pr(),lD=32,km=92,uD=34,cD=39,dD=40,ok=41}),mD={};N(mD,{generate:()=>d_,name:()=>fD,parse:()=>hD,structure:()=>gD});function hD(){let e=this.tokenStart,t;switch(this.tokenType){case 7:t=u_(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=Zw(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 d_(e){this.token(7,c_(e.value))}var fD,gD,bD=y(()=>{pD(),rk(),fD="Url",gD={value:String}}),vD={};N(vD,{generate:()=>p_,name:()=>wD,parse:()=>yD,structure:()=>kD});function yD(){let e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function p_(e){this.children(e)}var wD,kD,xD=y(()=>{wD="Value",kD={children:[[]]}}),SD={};N(SD,{generate:()=>m_,name:()=>ND,parse:()=>CD,structure:()=>zD});function CD(){return this.eat(13),AD}function m_(e){this.token(13,e.value)}var AD,ND,zD,ED=y(()=>{AD=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),ND="WhiteSpace",zD={value:String}}),ak={};N(ak,{AnPlusB:()=>lO,Atrule:()=>hO,AtrulePrelude:()=>wO,AttributeSelector:()=>NO,Block:()=>DO,Brackets:()=>WO,CDC:()=>GO,CDO:()=>XO,ClassSelector:()=>nI,Combinator:()=>uI,Comment:()=>bI,Condition:()=>CI,Declaration:()=>II,DeclarationList:()=>WI,Dimension:()=>YI,Feature:()=>ZI,FeatureFunction:()=>oT,FeatureRange:()=>cT,Function:()=>bT,GeneralEnclosed:()=>ST,Hash:()=>ET,IdSelector:()=>$T,Identifier:()=>DT,Layer:()=>UT,LayerList:()=>HT,MediaQuery:()=>tj,MediaQueryList:()=>aj,NestingSelector:()=>dj,Nth:()=>bj,Number:()=>xj,Operator:()=>zj,Parentheses:()=>Tj,Percentage:()=>Mj,PseudoClassSelector:()=>Wj,PseudoElementSelector:()=>Yj,Ratio:()=>e4,Raw:()=>o4,Rule:()=>c4,Scope:()=>g4,Selector:()=>k4,SelectorList:()=>N4,String:()=>D4,StyleSheet:()=>$4,SupportsDeclaration:()=>Q4,TypeSelector:()=>J4,UnicodeRange:()=>nD,Url:()=>mD,Value:()=>vD,WhiteSpace:()=>SD});var PD=y(()=>{mO(),yO(),AO(),jO(),qO(),QO(),JO(),rI(),lI(),gI(),SI(),OI(),qI(),GI(),XI(),iT(),uT(),gT(),xT(),zT(),jT(),RT(),_T(),KT(),ej(),oj(),cj(),gj(),kj(),Nj(),Ij(),Fj(),qj(),Gj(),Zj(),i4(),u4(),f4(),w4(),A4(),I4(),R4(),V4(),H4(),rD(),sD(),bD(),xD(),ED()}),OD,h_=y(()=>{Ww(),rW(),PD(),OD={generic:!0,cssWideKeywords:Xm,...sO,node:ak}});function ID(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,FD)&&this.cmpChar(this.tokenStart+1,cy)?this.UnicodeRange():this.Identifier();case 9:{let t=this.charCodeAt(this.tokenStart);if(t===LD||t===jD||t===cy||t===DD)return this.Operator();t===TD&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}var TD,jD,cy,DD,LD,FD,MD=y(()=>{TD=35,jD=42,cy=43,DD=45,LD=47,FD=117}),RD,f_=y(()=>{MD(),RD={getNode:ID}});function g_(e,t){t.last!==null&&t.last.type!=="Combinator"&&e!==null&&e.type!=="Combinator"&&t.push({type:"Combinator",loc:null,name:" "})}function b_(){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)===dy&&this.error("Identifier is expected",this.tokenStart+1);break;case 9:{switch(this.charCodeAt(this.tokenStart)){case WD:case UD:case QD:case _D:return this.Combinator();case dy:return this.ClassSelector();case qD:case VD:return this.TypeSelector();case $D:return this.IdSelector();case BD:return this.NestingSelector()}break}}}var $D,BD,qD,WD,_D,dy,UD,VD,QD,GD,v_=y(()=>{$D=35,BD=38,qD=42,WD=43,_D=47,dy=46,UD=62,VD=124,QD=126,GD={onWhiteSpace:g_,getNode:b_}});function y_(){return this.createSingleNodeList(this.Raw(null,!1))}var w_=y(()=>{});function k_(){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 x_=y(()=>{});function A0(e){return e!==null&&e.type==="Operator"&&(e.value[e.value.length-1]==="-"||e.value[e.value.length-1]==="+")}var YD,S_=y(()=>{MD(),w_(),x_(),YD={getNode:ID,onWhiteSpace(e,t){A0(e)&&(e.value=" "+e.value),A0(t.last)&&(t.last.value+=" ")},expression:y_,var:k_}}),KD={};N(KD,{AtrulePrelude:()=>RD,Selector:()=>GD,Value:()=>YD});var C_=y(()=>{f_(),v_(),S_()}),N0,HD,A_=y(()=>{N0=new Set(["none","and","not","or"]),HD={parse:{prelude(){let e=this.createList();if(this.tokenType===1){let t=this.substring(this.tokenStart,this.tokenEnd);N0.has(t.toLowerCase())||e.push(this.Identifier())}return e.push(this.Condition("container")),e},block(e=!1){return this.Block(e)}}}}),JD,N_=y(()=>{JD={parse:{prelude:null,block(){return this.Block(!0)}}}}),_f,XD,z_=y(()=>{_f={},XD={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,_f)),this.skipSC(),this.tokenType===2&&this.cmpStr(this.tokenStart,this.tokenEnd,"supports(")&&e.push(this.Function(null,_f)),(this.lookupNonWSType(0)===1||this.lookupNonWSType(0)===21)&&e.push(this.MediaQueryList()),e},block:null}}}),ZD,E_=y(()=>{ZD={parse:{prelude(){return this.createSingleNodeList(this.LayerList())},block(){return this.Block(!1)}}}}),eL,P_=y(()=>{eL={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(e=!1){return this.Block(e)}}}}),tL,O_=y(()=>{tL={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}}}),rL,I_=y(()=>{rL={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}}}),nL,T_=y(()=>{nL={parse:{prelude(){return this.createSingleNodeList(this.Scope())},block(e=!1){return this.Block(e)}}}}),iL,j_=y(()=>{iL={parse:{prelude:null,block(e=!1){return this.Block(e)}}}}),oL,D_=y(()=>{oL={parse:{prelude(){return this.createSingleNodeList(this.Condition("supports"))},block(e=!1){return this.Block(e)}}}}),aL,L_=y(()=>{A_(),N_(),z_(),E_(),P_(),O_(),I_(),T_(),j_(),D_(),aL={container:HD,"font-face":JD,import:XD,layer:ZD,media:eL,nest:tL,page:rL,scope:nL,"starting-style":iL,supports:oL}});function F_(){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 M_=y(()=>{}),Ur,ap,z0,E0,ga,sL,R_=y(()=>{M_(),Ur={parse(){return this.createSingleNodeList(this.SelectorList())}},ap={parse(){return this.createSingleNodeList(this.Selector())}},z0={parse(){return this.createSingleNodeList(this.Identifier())}},E0={parse:F_},ga={parse(){return this.createSingleNodeList(this.Nth())}},sL={dir:z0,has:Ur,lang:E0,matches:Ur,is:Ur,"-moz-any":Ur,"-webkit-any":Ur,where:Ur,not:Ur,"nth-child":ga,"nth-last-child":ga,"nth-last-of-type":ga,"nth-of-type":ga,slotted:ap,host:ap,"host-context":ap}}),lL={};N(lL,{AnPlusB:()=>uO,Atrule:()=>fO,AtrulePrelude:()=>kO,AttributeSelector:()=>zO,Block:()=>FO,Brackets:()=>_O,CDC:()=>YO,CDO:()=>ZO,ClassSelector:()=>iI,Combinator:()=>cI,Comment:()=>vI,Condition:()=>AI,Declaration:()=>TI,DeclarationList:()=>_I,Dimension:()=>KI,Feature:()=>eT,FeatureFunction:()=>aT,FeatureRange:()=>dT,Function:()=>vT,GeneralEnclosed:()=>CT,Hash:()=>PT,IdSelector:()=>BT,Identifier:()=>LT,Layer:()=>VT,LayerList:()=>JT,MediaQuery:()=>rj,MediaQueryList:()=>sj,NestingSelector:()=>pj,Nth:()=>vj,Number:()=>Sj,Operator:()=>Ej,Parentheses:()=>jj,Percentage:()=>Rj,PseudoClassSelector:()=>_j,PseudoElementSelector:()=>Kj,Ratio:()=>t4,Raw:()=>a4,Rule:()=>d4,Scope:()=>b4,Selector:()=>x4,SelectorList:()=>z4,String:()=>L4,StyleSheet:()=>B4,SupportsDeclaration:()=>G4,TypeSelector:()=>X4,UnicodeRange:()=>iD,Url:()=>hD,Value:()=>yD,WhiteSpace:()=>CD});var $_=y(()=>{mO(),yO(),AO(),jO(),qO(),QO(),JO(),rI(),lI(),gI(),SI(),OI(),qI(),GI(),XI(),iT(),uT(),gT(),xT(),zT(),jT(),RT(),_T(),KT(),ej(),oj(),cj(),gj(),kj(),Nj(),Ij(),Fj(),qj(),Gj(),Zj(),i4(),u4(),f4(),w4(),A4(),I4(),R4(),V4(),H4(),rD(),sD(),bD(),xD(),ED()}),uL,B_=y(()=>{C_(),L_(),R_(),$_(),uL={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:KD,atrule:aL,pseudo:sL,node:lL}}),cL,q_=y(()=>{PD(),cL={node:ak}}),dL,W_=y(()=>{tW(),h_(),B_(),q_(),dL=aO({...OD,...uL,...cL})}),__=y(()=>{}),U_=Y(()=>{}),V_,Q_,tn,G_,pL,Y_,mL,sk,K_,H_,J_,X_,lk,Ji=y(()=>{W_(),__(),Mw(),VP(),qw(),V_=Z(U_(),1),rk(),pD(),{tokenize:Q_,parse:tn,generate:G_,lexer:pL,createLexer:Y_,walk:mL,find:sk,findLast:K_,findAll:H_,toPlainObject:J_,fromPlainObject:X_,fork:lk}=dL}),hL={};N(hL,{default:()=>fL});var $n,sp,P0,ba,Uf,O0,va,fL,Z_=y(()=>{Ji(),q(),$r(),Ym(),dr(),Or(),Be(),Je(),H(),O(),T(),D(),It(),$n="declaration-block-no-duplicate-properties",sp=I($n,{rejected:e=>`Duplicate property "${e}"`}),P0={url:"https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-properties",fixable:!0},ba=e=>"children"in e&&e.children instanceof Mc,Uf=(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"&&ft(a)&&o.type==="Identifier"&&ft(s)||i.type==="Identifier"&&o.type==="Identifier"&&zN.has(r.toLowerCase())&&jc.has(a.toLowerCase())&&jc.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=ba(i)?i.children.toArray():null,d=ba(o)?o.children.toArray():null;if(Array.isArray(c)&&Array.isArray(d)){if(Uf(c,d,r))continue;return!1}}return!0},O0=(e,t,r)=>{if(e===t)return!0;if(!(Re(e)&&Re(t)))return!1;let n,i;try{n=tn(e,{context:"value"}),i=tn(t,{context:"value"})}catch{return!1}let o=ba(n)?n.children.toArray():[],a=ba(i)?i.children.toArray():[];return Uf(o,a,r)},va=(e,t)=>(r,n)=>{if(!j(n,$n,{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:[$,U]},optional:!0}))return;let i=R(t,"ignore","consecutive-duplicates"),o=R(t,"ignore","consecutive-duplicates-with-different-values"),a=R(t,"ignore","consecutive-duplicates-with-different-syntaxes"),s=R(t,"ignore","consecutive-duplicates-with-same-prefixless-values"),l=u=>()=>{u.remove()};Gm(r,u=>{let c=[];u(d=>{let p=d.prop,m=d.prop.toLowerCase(),v=d.value,h=d.important;if(!Pr(p)||ft(p)||R(t,"ignoreProperties",p)||m==="src")return;let b=c.findIndex(A=>A.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=He.unprefixed(v)===He.unprefixed(f),z=()=>{let A=w?d:g,L=w?p:g.prop;w||(c[b]=d),P({message:sp.rejected,messageArgs:[L],node:A,result:n,ruleName:$n,word:L,fix:{apply:l(A),node:A.parent}})};if(o||a||s){if(!k||s&&!S){z();return}if(a&&O0(v,f,p)){z();return}return v!==f?void 0:P({message:sp.rejected,messageArgs:[g.prop],node:g,result:n,ruleName:$n,word:g.prop,fix:{apply:l(g),node:g.parent}})}i&&k||z()})})},va.ruleName=$n,va.messages=sp,va.meta=P0,fL=va}),gL={};N(gL,{default:()=>bL});var Vf,Bn,lp,I0,T0,j0,D0,ya,bL,e8=y(()=>{Vf=Z(fe(),1),q(),pw(),Je(),Ym(),$r(),H(),O(),T(),D(),It(),Bn="declaration-block-no-redundant-longhand-properties",lp=I(Bn,{expected:e=>`Expected shorthand property "${e}"`,unexpectedLonghand:(e,t)=>`Redundant longhand property "${e}" after shorthand property "${t}"`}),I0={url:"https://stylelint.io/user-guide/rules/declaration-block-no-redundant-longhand-properties",fixable:!0},T0=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 a,s,l,u;let t=(c="")=>{let d=c.trim();if(!d)return[];if(d.indexOf(",")===-1)return[d];let p=(0,Vf.default)(d),m=[];{let v=[];p.nodes.forEach(h=>{if(h.type==="div"&&h.value===","){m.push(v),v=[];return}v.push(h)}),m.push(v)}return m.map(v=>Vf.default.stringify(v).trim()).filter(v=>v.length>0)},r=t((a=e.get("transition-delay"))==null?void 0:a.value),n=t((s=e.get("transition-duration"))==null?void 0:s.value),i=t((l=e.get("transition-timing-function"))==null?void 0:l.value),o=t((u=e.get("transition-property"))==null?void 0:u.value);if(r.length&&n.length&&i.length&&o.length)return o.map((c,d)=>[c,n[d%n.length],i[d%i.length],r[d%r.length]].filter($).join(" ")).join(", ")}]]),j0=["border-width","border-style","border-color","border-top","border-right","border-bottom","border-left","grid-column","grid-row"],D0=(e,t,r)=>{let n=T0.get(e);if(n===void 0){let i=t.map(o=>{var a;return(a=r.get(o))==null?void 0:a.value.trim()}).filter(Boolean);return i.length>0?i.join(" "):void 0}return n(r)},ya=(e,t)=>(r,n)=>{var a;if(!j(n,Bn,{actual:e},{actual:t,possible:{ignoreShorthands:[$,U],ignoreLonghands:[$]},optional:!0}))return;let i=new Map,o=[(a=t==null?void 0:t.ignoreLonghands)!=null?a:[]].flat();for(let[s,l]of hc.entries())if(!R(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)}Gm(r,s=>{let l=new Map,u=new Map,c=new Map;s(d=>{let p=d.value.trim();if(je.has(d.value))return;let m=d.prop.toLowerCase(),v=He.unprefixed(m),h=He.prefix(m);hc.has(v)&&c.set(m,p);let b=i.get(v);if(b)for(let g of b){let f=h+g;if(c.get(f)===p){let te=()=>{d.remove()};P({ruleName:Bn,result:n,node:d,word:d.prop,message:lp.unexpectedLonghand,messageArgs:[d.prop,f],fix:{apply:te,node:d.parent}});return}let x=l.get(f)||[],w=u.get(f)||[];x.push(m),l.set(f,x),w.push(d),u.set(f,w);let k=new Set(hc.get(g));o.forEach(te=>k.delete(te));let S=Array.from(k,te=>h+te);if(!dw(S.slice().sort(),x.slice().sort()))continue;let z=u.get(f)||[],A=z.reduce((te,re)=>re.important?te+1:te,0);if(A&&A!==z.length)continue;let[L]=z,E;if(L){let te=new Map(z.map(re=>[re.prop.toLowerCase(),re]));E=D0(f,S,te)}let B=L&&E?()=>{let te=L.clone({prop:f,value:E});L.replaceWith(te),z.forEach(re=>re.remove()),j0.includes(g)&&l.forEach((re,we)=>{l.set(we,re.filter(pe=>!x.includes(pe)))})}:void 0;P({ruleName:Bn,result:n,node:d,word:d.prop,message:lp.expected,messageArgs:[f],fix:{apply:B,node:d.parent}})}})})},ya.ruleName=Bn,ya.messages=lp,ya.meta=I0,bL=ya}),vL={};N(vL,{default:()=>yL});var wa,Qf,L0,ka,yL,t8=y(()=>{Ym(),O(),T(),Gi(),D(),It(),$r(),wa="declaration-block-no-shorthand-property-overrides",Qf=I(wa,{rejected:(e,t)=>`Overridden property "${t}" by shorthand "${e}"`}),L0={url:"https://stylelint.io/user-guide/rules/declaration-block-no-shorthand-property-overrides"},ka=e=>(t,r)=>{j(r,wa,{actual:e})&&Gm(t,n=>{let i=new Map;n(o=>{let a=o.prop,s=He.unprefixed(a).toLowerCase(),l=He.prefix(a).toLowerCase(),u=hc.get(s),c=NN.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:wa,result:r,node:o,message:Qf.rejected,messageArgs:[a,m||""],word:a})}})})},ka.ruleName=wa,ka.messages=Qf,ka.meta=L0,yL=ka}),wL={};N(wL,{default:()=>kL});var xa,Gf,F0,Sa,kL,r8=y(()=>{Lw(),q(),Qm(),O(),T(),D(),xa="declaration-block-single-line-max-declarations",Gf=I(xa,{expected:e=>`Too many declarations, maximum ${e}`}),F0={url:"https://stylelint.io/user-guide/rules/declaration-block-single-line-max-declarations"},Sa=e=>(t,r)=>{j(r,xa,{actual:e,possible:[xr]})&&t.walkRules(n=>{let i=Dw(n);!Vm(i)||!n.nodes||n.nodes.filter(o=>o.type==="decl").length<=e||P({message:Gf.expected,messageArgs:[e],node:n,word:i,result:r,ruleName:xa})})},Sa.ruleName=xa,Sa.messages=Gf,Sa.meta=F0,kL=Sa});function M0(e){let t=Mr(e);return t!==void 0&&Qi(t)&>(t)&&!ft(t.prop||"")}var n8=y(()=>{Nn(),dr(),ge(),bt()}),xL={};N(xL,{default:()=>SL});var Ca,up,R0,Aa,SL,i8=y(()=>{ge(),Lw(),Zc(),td(),WE(),Mm(),n8(),dr(),rd(),Bm(),Qm(),bt(),H(),O(),T(),D(),Ca="declaration-empty-line-before",up=I(Ca,{expected:"Expected empty line before declaration",rejected:"Expected no empty line before declaration"}),R0={url:"https://stylelint.io/user-guide/rules/declaration-empty-line-before",fixable:!0},Aa=(e,t,r)=>(n,i)=>{j(i,Ca,{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||$m(o)||!Ie(s)&&!ut(s)&&!ur(s)||!gt(o)||ft(a)||R(t,"ignore","after-comment")&&Di(o)||R(t,"ignore","after-declaration")&&M0(o)||R(t,"ignore","first-nested")&&Rr(o)||R(t,"ignore","inside-single-line-block")&&Vm(Dw(s)))return;let l=e==="always";(R(t,"except","first-nested")&&Rr(o)||R(t,"except","after-block")&&qE(o)||R(t,"except","after-comment")&&Di(o)||R(t,"except","after-declaration")&&M0(o))&&(l=!l);let u=ed(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:Ca,fix:{apply:()=>Xc({node:o,newline:r.newline,action:d}),node:o.parent}})})},Aa.ruleName=Ca,Aa.messages=up,Aa.meta=R0,SL=Aa});function CL(e){let t=/!\s*important\b/gi,r=t.exec(e);if(r)return{index:r.index,endIndex:t.lastIndex}}var AL=y(()=>{}),NL={};N(NL,{default:()=>zL});var Na,Yf,$0,za,zL,o8=y(()=>{q(),AL(),O(),T(),D(),Na="declaration-no-important",Yf=I(Na,{rejected:"Disallowed !important"}),$0={url:"https://stylelint.io/user-guide/rules/declaration-no-important"},za=e=>(t,r)=>{j(r,Na,{actual:e})&&t.walkDecls(n=>{if(!n.important)return;let i=CL(n.toString());Ve(i),P({message:Yf.rejected,messageArgs:[],node:n,index:i.index,endIndex:i.endIndex,result:r,ruleName:Na})})},za.ruleName=Na,za.messages=Yf,za.meta=$0,zL=za});function cr(e){return Number.isInteger(e)&&typeof e=="number"&&e>=0}var Ir=y(()=>{});function xm(e){return t=>Sr(t)?Object.values(t).every(r=>e(r)):!1}var uk=y(()=>{q()}),EL={};N(EL,{default:()=>PL});var B0,Ea,Kf,q0,W0,Pa,PL,a8=y(()=>{B0=Z(fe(),1),q(),Ir(),Le(),V(),O(),T(),uk(),D(),Ea="declaration-property-max-values",Kf=I(Ea,{expected:(e,t)=>`Too many values for property "${e}", maximum ${t}`}),q0={url:"https://stylelint.io/user-guide/rules/declaration-property-max-values"},W0=e=>e.type==="word"||e.type==="function"||e.type==="string",Pa=e=>(t,r)=>{j(r,Ea,{actual:e,possible:[xm(cr)]})&&t.walkDecls(n=>{let{prop:i,value:o}=n;if(!Q.multipleValues.test(o))return;let a=(0,B0.default)(o).nodes.filter(W0).length,s=Object.keys(e).find(u=>Pe(i,u));if(!s)return;let l=e[s];mc(l),!(a<=l)&&P({message:Kf.expected,messageArgs:[i,l],node:n,result:r,ruleName:Ea})})},Pa.ruleName=Ea,Pa.messages=Kf,Pa.meta=q0,PL=Pa});function s8(e,t=" "){return e.replace(/[#@{}]+/g,t)}var l8=y(()=>{});function Xi(e){if(!e||!e.value)return{unit:null,number:null};if(e.type!=="word")return{unit:null,number:null};if(!Re(e.value))return{unit:null,number:null};if(e.value.startsWith("#"))return{unit:null,number:null};let t=s8(e.value,"").replace("\\0","").replace("\\9","");return OL.default.unit(t)||{unit:null,number:null}}var OL,Zi=y(()=>{OL=Z(fe(),1),l8(),Be()}),IL={};N(IL,{default:()=>TL});var _0,Oa,Hf,U0,Ia,TL,u8=y(()=>{_0=Z(fe(),1),ee(),Zi(),q(),Le(),H(),O(),T(),Ht(),D(),Oa="declaration-property-unit-allowed-list",Hf=I(Oa,{rejected:(e,t)=>`Disallowed unit "${t}" for property "${e}"`}),U0={url:"https://stylelint.io/user-guide/rules/declaration-property-unit-allowed-list"},Ia=(e,t)=>(r,n)=>{j(n,Oa,{actual:e,possible:[Mt($)]},{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,_0.default)(a).walk(c=>{if(c.type==="function"&&(c.value.toLowerCase()==="url"||R(t,"ignore","inside-function")))return!1;if(c.type==="string")return;let{unit:d}=Xi(c);if(!d||u.has(d.toLowerCase()))return;let p=ie(i)+c.sourceIndex,m=p+c.value.length;P({message:Hf.rejected,messageArgs:[o,d],node:i,index:p,endIndex:m,result:n,ruleName:Oa})})})},Ia.ruleName=Oa,Ia.messages=Hf,Ia.meta=U0,TL=Ia}),jL={};N(jL,{default:()=>DL});var V0,Ta,Jf,Q0,ja,DL,c8=y(()=>{V0=Z(fe(),1),ee(),Zi(),q(),md(),Le(),V(),O(),T(),Ht(),D(),Ta="declaration-property-unit-disallowed-list",Jf=I(Ta,{rejected:(e,t)=>`Disallowed unit "${t}" for property "${e}"`}),Q0={url:"https://stylelint.io/user-guide/rules/declaration-property-unit-disallowed-list"},ja=e=>(t,r)=>{j(r,Ta,{actual:e,possible:[Mt($)]})&&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,V0.default)(o).walk(u=>{if(pd(u))return!1;if(u.type==="string")return;let{unit:c}=Xi(u);if(!c||!l.has(c.toLowerCase()))return;let d=ie(n)+u.sourceIndex,p=d+u.value.length;P({message:Jf.rejected,messageArgs:[i,c],node:n,index:d,endIndex:p,result:r,ruleName:Ta})})})},ja.ruleName=Ta,ja.messages=Jf,ja.meta=Q0,DL=ja}),LL={};N(LL,{default:()=>FL});var Da,Xf,G0,La,FL,d8=y(()=>{q(),ee(),Le(),H(),O(),T(),Ht(),D(),Da="declaration-property-value-allowed-list",Xf=I(Da,{rejected:(e,t)=>`Disallowed value "${t}" for property "${e}"`}),G0={url:"https://stylelint.io/user-guide/rules/declaration-property-value-allowed-list"},La=e=>(t,r)=>{if(!j(r,Da,{actual:e,possible:[Mt($,U)]}))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=>R(e,c,a)))return;let l=ie(i),u=l+i.value.length;P({message:Xf.rejected,messageArgs:[o,a],node:i,index:l,endIndex:u,result:r,ruleName:Da})})},La.ruleName=Da,La.messages=Xf,La.meta=G0,FL=La}),ML={};N(ML,{default:()=>RL});var Fa,Zf,Y0,Ma,RL,p8=y(()=>{q(),ee(),Le(),H(),O(),T(),Ht(),D(),Fa="declaration-property-value-disallowed-list",Zf=I(Fa,{rejected:(e,t)=>`Disallowed value "${t}" for property "${e}"`}),Y0={url:"https://stylelint.io/user-guide/rules/declaration-property-value-disallowed-list"},Ma=e=>(t,r)=>{if(!j(r,Fa,{actual:e,possible:[Mt($,U)]}))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=>!R(e,c,a)))return;let l=ie(i),u=l+i.value.length;P({message:Zf.rejected,messageArgs:[o,a],node:i,index:l,endIndex:u,result:r,ruleName:Fa})})},Ma.ruleName=Fa,Ma.messages=Zf,Ma.meta=Y0,RL=Ma}),$L={};N($L,{default:()=>BL});var K0,Ra,cp,H0,dp,J0,X0,$a,BL,m8=y(()=>{K0=Z(fe(),1),q(),Er(),ee(),Ye(),bt(),Be(),V(),H(),O(),T(),qt(),$r(),D(),Ra="declaration-property-value-keyword-no-deprecated",cp=I(Ra,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:(e,t)=>`Deprecated keyword "${t}" for property "${e}"`}),H0={url:"https://stylelint.io/user-guide/rules/declaration-property-value-keyword-no-deprecated",fixable:!0},dp={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"},J0=[...hv.values()].map(e=>[e,dp]),X0=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",dp],["scrollbar-color",dp],["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"]],...J0]),$a=(e,t)=>(r,n)=>{j(n,Ra,{actual:e},{optional:!0,actual:t,possible:{ignoreKeywords:[$,U]}})&&r.walkDecls(i=>{let{prop:o,value:a}=i;if(!Q.keyword.test(a)||!gt(i)||R(t,"ignoreKeywords",a))return;let s=X0.get(o.toLowerCase());if(!s)return;let l=(0,K0.default)(Ge(i)),u=!0;l.walk(c=>{c.type!=="comment"&&(Re(c.value)||(u=!1))}),u&&l.walk(c=>{let d=c.value,p=d.toLowerCase();if(c.type==="function"&&!bw.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=cp.rejected,b=[o,d]}else{let x=s[p];if(!x)return;h=cp.expected,b=[d,x],v=()=>{c.value=x,Bt(i,l.toString())}}let g=ie(i)+m,f=g+d.length;P({message:h,messageArgs:b,node:i,result:n,ruleName:Ra,index:g,endIndex:f,fix:{apply:v,node:i}})})})},$a.ruleName=Ra,$a.messages=cp,$a.meta=H0,BL=$a});function h8(e){return QL?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 f8(e){return e.source.codePointAt(e.cursor)===60&&e.source.codePointAt(e.cursor+1)===33&&e.source.codePointAt(e.cursor+2)===it&&e.source.codePointAt(e.cursor+3)===it}function Yt(e){return e>=48&&e<=57}function g8(e){return e>=65&&e<=90}function b8(e){return e>=97&&e<=122}function Pi(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function v8(e){return b8(e)||g8(e)}function $i(e){return v8(e)||y8(e)||e===95}function ck(e){return $i(e)||Yt(e)||e===it}function y8(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||!!Bi(e)||e>=65536}function w8(e){return e===11||e===127||0<=e&&e<=8||14<=e&&e<=31}function Sm(e){return e===Sn||e===xn||e===12}function vn(e){return e===32||e===Sn||e===9||e===xn||e===12}function Bi(e){return e>=55296&&e<=57343}function eo(e){var t;return e.source.codePointAt(e.cursor)===92&&!Sm((t=e.source.codePointAt(e.cursor+1))!=null?t:-1)}function Cm(e,t){var r,n,i;return t.source.codePointAt(t.cursor)===it?t.source.codePointAt(t.cursor+1)===it||!!$i((r=t.source.codePointAt(t.cursor+1))!=null?r:-1)||t.source.codePointAt(t.cursor+1)===92&&!Sm((n=t.source.codePointAt(t.cursor+2))!=null?n:-1):!!$i((i=t.source.codePointAt(t.cursor))!=null?i:-1)||eo(t)}function Z0(e){var t,r,n,i;return e.source.codePointAt(e.cursor)===Cn||e.source.codePointAt(e.cursor)===it?!!Yt((t=e.source.codePointAt(e.cursor+1))!=null?t:-1)||e.source.codePointAt(e.cursor+1)===46&&Yt((r=e.source.codePointAt(e.cursor+2))!=null?r:-1):e.source.codePointAt(e.cursor)===46?Yt((n=e.source.codePointAt(e.cursor+1))!=null?n:-1):Yt((i=e.source.codePointAt(e.cursor))!=null?i:-1)}function k8(e){return e.source.codePointAt(e.cursor)===47&&e.source.codePointAt(e.cursor+1)===42}function x8(e){return e.source.codePointAt(e.cursor)===it&&e.source.codePointAt(e.cursor+1)===it&&e.source.codePointAt(e.cursor+2)===62}function S8(e){switch(e){case C.OpenParen:return C.CloseParen;case C.CloseParen:return C.OpenParen;case C.OpenCurly:return C.CloseCurly;case C.CloseCurly:return C.OpenCurly;case C.OpenSquare:return C.CloseSquare;case C.CloseSquare:return C.OpenSquare;default:return null}}function C8(e){switch(e[0]){case C.OpenParen:return[C.CloseParen,")",-1,-1,void 0];case C.CloseParen:return[C.OpenParen,"(",-1,-1,void 0];case C.OpenCurly:return[C.CloseCurly,"}",-1,-1,void 0];case C.CloseCurly:return[C.OpenCurly,"{",-1,-1,void 0];case C.OpenSquare:return[C.CloseSquare,"]",-1,-1,void 0];case C.CloseSquare:return[C.OpenSquare,"[",-1,-1,void 0];default:return null}}function A8(e,t){for(t.advanceCodePoint(2);;){let r=t.readCodePoint();if(r===void 0){let n=[C.Comment,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new wr(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[C.Comment,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0]}function sh(e,t){var n;let r=t.readCodePoint();if(r===void 0)return e.onParseError(new _c(ir.UnexpectedEOFInEscapedCodePoint,t.representationStart,t.representationEnd,["4.3.7. Consume an escaped code point","Unexpected EOF"])),Fr;if(Pi(r)){let i=[r],o;for(;(o=t.source.codePointAt(t.cursor))!==void 0&&Pi(o)&&i.length<6;)i.push(o),t.advanceCodePoint();vn((n=t.source.codePointAt(t.cursor))!=null?n:-1)&&(t.source.codePointAt(t.cursor)===xn&&t.source.codePointAt(t.cursor+1)===Sn&&t.advanceCodePoint(),t.advanceCodePoint());let a=parseInt(String.fromCodePoint(...i),16);return a===0||Bi(a)||a>1114111?Fr:a}return r===0||Bi(r)?Fr:r}function lh(e,t){var n;let r=[];for(;;){let i=(n=t.source.codePointAt(t.cursor))!=null?n:-1;if(i===0||Bi(i))r.push(Fr),t.advanceCodePoint(+(i>65535)+1);else if(ck(i))r.push(i),t.advanceCodePoint(+(i>65535)+1);else{if(!eo(t))return r;t.advanceCodePoint(),r.push(sh(e,t))}}}function N8(e,t){t.advanceCodePoint();let r=t.source.codePointAt(t.cursor);if(r!==void 0&&(ck(r)||eo(t))){let n=Am.Unrestricted;Cm(0,t)&&(n=Am.ID);let i=lh(e,t);return[C.Hash,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...i),type:n}]}return[C.Delim,"#",t.representationStart,t.representationEnd,{value:"#"}]}function z8(e,t){var n,i,o,a,s,l;let r=ne.Integer;for(t.source.codePointAt(t.cursor)!==Cn&&t.source.codePointAt(t.cursor)!==it||t.advanceCodePoint();Yt((n=t.source.codePointAt(t.cursor))!=null?n:-1);)t.advanceCodePoint();if(t.source.codePointAt(t.cursor)===46&&Yt((i=t.source.codePointAt(t.cursor+1))!=null?i:-1))for(t.advanceCodePoint(2),r=ne.Number;Yt((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(Yt((a=t.source.codePointAt(t.cursor+1))!=null?a:-1))t.advanceCodePoint(2);else{if(t.source.codePointAt(t.cursor+1)!==it&&t.source.codePointAt(t.cursor+1)!==Cn||!Yt((s=t.source.codePointAt(t.cursor+2))!=null?s:-1))return r;t.advanceCodePoint(3)}for(r=ne.Number;Yt((l=t.source.codePointAt(t.cursor))!=null?l:-1);)t.advanceCodePoint()}return r}function eg(e,t){let r;{let o=t.source.codePointAt(t.cursor);o===it?r="-":o===Cn&&(r="+")}let n=z8(0,t),i=parseFloat(t.source.slice(t.representationStart,t.representationEnd+1));if(Cm(0,t)){let o=lh(e,t);return[C.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(),[C.Percentage,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:i,signCharacter:r}]):[C.Number,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:i,signCharacter:r,type:n}]}function E8(e){var t;for(;vn((t=e.source.codePointAt(e.cursor))!=null?t:-1);)e.advanceCodePoint();return[C.Whitespace,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0]}function P8(e,t){var i;let r="",n=t.readCodePoint();for(;;){let o=t.readCodePoint();if(o===void 0){let a=[C.String,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];return e.onParseError(new wr(ir.UnexpectedEOFInString,t.representationStart,t.representationEnd,["4.3.5. Consume a string token","Unexpected EOF"],a)),a}if(Sm(o)){t.unreadCodePoint();let a=[C.BadString,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new wr(ir.UnexpectedNewLineInString,t.representationStart,t.source.codePointAt(t.cursor)===xn&&t.source.codePointAt(t.cursor+1)===Sn?t.representationEnd+2:t.representationEnd+1,["4.3.5. Consume a string token","Unexpected newline"],a)),a}if(o===n)return[C.String,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];if(o!==92)o===0||Bi(o)?r+=String.fromCodePoint(Fr):r+=String.fromCodePoint(o);else{if(t.source.codePointAt(t.cursor)===void 0)continue;if(Sm((i=t.source.codePointAt(t.cursor))!=null?i:-1)){t.source.codePointAt(t.cursor)===xn&&t.source.codePointAt(t.cursor+1)===Sn&&t.advanceCodePoint(),t.advanceCodePoint();continue}r+=String.fromCodePoint(sh(e,t))}}}function O8(e){return!(e.length!==3||e[0]!==117&&e[0]!==85||e[1]!==114&&e[1]!==82||e[2]!==108&&e[2]!==76)}function tg(e,t){for(;;){let r=t.source.codePointAt(t.cursor);if(r===void 0)return;if(r===41)return void t.advanceCodePoint();eo(t)?(t.advanceCodePoint(),sh(e,t)):t.advanceCodePoint()}}function I8(e,t){var n,i,o,a;for(;vn((n=t.source.codePointAt(t.cursor))!=null?n:-1);)t.advanceCodePoint();let r="";for(;;){if(t.source.codePointAt(t.cursor)===void 0){let l=[C.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];return e.onParseError(new wr(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(),[C.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];if(vn((i=t.source.codePointAt(t.cursor))!=null?i:-1)){for(t.advanceCodePoint();vn((o=t.source.codePointAt(t.cursor))!=null?o:-1);)t.advanceCodePoint();if(t.source.codePointAt(t.cursor)===void 0){let l=[C.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}];return e.onParseError(new wr(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(),[C.URL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:r}]):(tg(e,t),[C.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||w8(s!=null?s:-1)){tg(e,t);let l=[C.BadURL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new wr(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(eo(t)){t.advanceCodePoint(),r+=String.fromCodePoint(sh(e,t));continue}tg(e,t);let l=[C.BadURL,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0];return e.onParseError(new wr(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||Bi((a=t.source.codePointAt(t.cursor))!=null?a:-1)?(r+=String.fromCodePoint(Fr),t.advanceCodePoint()):(r+=t.source[t.cursor],t.advanceCodePoint())}}function rg(e,t){var n,i;let r=lh(e,t);if(t.source.codePointAt(t.cursor)!==40)return[C.Ident,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...r)}];if(O8(r)){t.advanceCodePoint();let o=0;for(;;){let a=vn((n=t.source.codePointAt(t.cursor))!=null?n:-1),s=vn((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),[C.Function,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...r)}];break}return I8(e,t)}return t.advanceCodePoint(),[C.Function,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{value:String.fromCodePoint(...r)}]}function T8(e){var t;return!(e.source.codePointAt(e.cursor)!==117&&e.source.codePointAt(e.cursor)!==85||e.source.codePointAt(e.cursor+1)!==Cn||e.source.codePointAt(e.cursor+2)!==63&&!Pi((t=e.source.codePointAt(e.cursor+2))!=null?t:-1))}function j8(e,t){var s;t.advanceCodePoint(2);let r=[],n=[],i;for(;(i=t.source.codePointAt(t.cursor))!==void 0&&r.length<6&&Pi(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)===it&&Pi((s=t.source.codePointAt(t.cursor+1))!=null?s:-1))for(t.advanceCodePoint();(i=t.source.codePointAt(t.cursor))!==void 0&&n.length<6&&Pi(i);)n.push(i),t.advanceCodePoint();if(!n.length){let l=parseInt(String.fromCodePoint(...r),16);return[C.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[C.UnicodeRange,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,{startOfRange:o,endOfRange:a}]}function kt(e,t){let r=qL(e,t),n=[];for(;!r.endOfFile();)n.push(r.nextToken());return n.push(r.nextToken()),n}function qL(e,t){var a,s;let r=e.css.valueOf(),n=(a=e.unicodeRangesAllowed)!=null?a:!1,i=new GL(r),o={onParseError:(s=t==null?void 0:t.onParseError)!=null?s:D8};return{nextToken:function(){i.resetRepresentation();let l=i.source.codePointAt(i.cursor);if(l===void 0)return[C.EOF,"",-1,-1,void 0];if(l===47&&k8(i))return A8(o,i);if(n&&(l===117||l===85)&&T8(i))return j8(0,i);if($i(l))return rg(o,i);if(Yt(l))return eg(o,i);switch(l){case 44:return i.advanceCodePoint(),[C.Comma,",",i.representationStart,i.representationEnd,void 0];case 58:return i.advanceCodePoint(),[C.Colon,":",i.representationStart,i.representationEnd,void 0];case 59:return i.advanceCodePoint(),[C.Semicolon,";",i.representationStart,i.representationEnd,void 0];case 40:return i.advanceCodePoint(),[C.OpenParen,"(",i.representationStart,i.representationEnd,void 0];case 41:return i.advanceCodePoint(),[C.CloseParen,")",i.representationStart,i.representationEnd,void 0];case 91:return i.advanceCodePoint(),[C.OpenSquare,"[",i.representationStart,i.representationEnd,void 0];case 93:return i.advanceCodePoint(),[C.CloseSquare,"]",i.representationStart,i.representationEnd,void 0];case 123:return i.advanceCodePoint(),[C.OpenCurly,"{",i.representationStart,i.representationEnd,void 0];case 125:return i.advanceCodePoint(),[C.CloseCurly,"}",i.representationStart,i.representationEnd,void 0];case 39:case 34:return P8(o,i);case 35:return N8(o,i);case Cn:case 46:return Z0(i)?eg(o,i):(i.advanceCodePoint(),[C.Delim,i.source[i.representationStart],i.representationStart,i.representationEnd,{value:i.source[i.representationStart]}]);case Sn:case xn:case 12:case 9:case 32:return E8(i);case it:return Z0(i)?eg(o,i):x8(i)?(i.advanceCodePoint(3),[C.CDC,"-->",i.representationStart,i.representationEnd,void 0]):Cm(0,i)?rg(o,i):(i.advanceCodePoint(),[C.Delim,"-",i.representationStart,i.representationEnd,{value:"-"}]);case 60:return f8(i)?(i.advanceCodePoint(4),[C.CDO,"<!--",i.representationStart,i.representationEnd,void 0]):(i.advanceCodePoint(),[C.Delim,"<",i.representationStart,i.representationEnd,{value:"<"}]);case 64:if(i.advanceCodePoint(),Cm(0,i)){let u=lh(o,i);return[C.AtKeyword,i.source.slice(i.representationStart,i.representationEnd+1),i.representationStart,i.representationEnd,{value:String.fromCodePoint(...u)}]}return[C.Delim,"@",i.representationStart,i.representationEnd,{value:"@"}];case 92:{if(eo(i))return rg(o,i);i.advanceCodePoint();let u=[C.Delim,"\\",i.representationStart,i.representationEnd,{value:"\\"}];return o.onParseError(new wr(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(),[C.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 D8(){}function L8(e,t){let r=[];for(let i of t)r.push(i.codePointAt(0));let n=String.fromCodePoint(...WL(r));e[1]=n,e[4].value=t}function uh(e,t){let r=[];for(let s of t)r.push(s.codePointAt(0));let n=WL(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 WL(e){let t=0;if(e[0]===0)e.splice(0,1,Fr),t=1;else if(e[0]===it&&e[1]===it)t=2;else if(e[0]===it&&e[1])t=2,$i(e[1])||(t+=py(e,1,e[1]));else{if(e[0]===it&&!e[1])return[92,e[0]];$i(e[0])?t=1:(t=1,t+=py(e,0,e[0]))}for(let r=t;r<e.length;r++)e[r]!==0?ck(e[r])||(r+=F8(e,r,e[r])):(e.splice(r,1,Fr),r++);return e}function F8(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 Wc(e){return!!Array.isArray(e)&&!(e.length<4)&&!!YL.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 C.Dimension:case C.Number:case C.Percentage:return!0;default:return!1}}function Nt(e){if(!e)return!1;switch(e[0]){case C.Whitespace:case C.Comment:return!0;default:return!1}}function _L(e){return!!e&&e[0]===C.Colon}function rn(e){return!!e&&e[0]===C.Comma}function ch(e){return!!e&&e[0]===C.Comment}function Rt(e){return!!e&&e[0]===C.Delim}function Ee(e){return!!e&&e[0]===C.Dimension}function Kt(e){return!!e&&e[0]===C.EOF}function M8(e){return!!e&&e[0]===C.Function}function Ue(e){return!!e&&e[0]===C.Ident}function Ne(e){return!!e&&e[0]===C.Number}function Qe(e){return!!e&&e[0]===C.Percentage}function UL(e){return!!e&&e[0]===C.Semicolon}function R8(e){return!!e&&e[0]===C.String}function $8(e){return!!e&&e[0]===C.URL}function dk(e){return!!e&&e[0]===C.Whitespace}function to(e){return!!e&&e[0]===C.OpenParen}function B8(e){return!!e&&e[0]===C.CloseParen}function q8(e){return!!e&&e[0]===C.OpenSquare}function VL(e){return!!e&&e[0]===C.OpenCurly}var _c,wr,ir,QL,xn,it,Sn,Cn,Fr,C,ne,Am,GL,YL,rt=y(()=>{_c=class extends Error{constructor(t,r,n,i){super(t);_(this,"sourceStart");_(this,"sourceEnd");_(this,"parserState");this.name="ParseError",this.sourceStart=r,this.sourceEnd=n,this.parserState=i}},wr=class extends _c{constructor(t,r,n,i,o){super(t,r,n,i);_(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 "\\"'},QL=typeof globalThis<"u"&&"structuredClone"in globalThis,xn=13,it=45,Sn=10,Cn=43,Fr=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"})(C||(C={})),(function(e){e.Integer="integer",e.Number="number"})(ne||(ne={})),(function(e){e.Unrestricted="unrestricted",e.ID="id"})(Am||(Am={})),GL=class{constructor(e){_(this,"cursor",0);_(this,"source","");_(this,"representationStart",0);_(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}},YL=Object.values(C)});function wi(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 dh(e,t){let r=t[0];if(to(r)||VL(r)||q8(r)){let n=_8(e,t);return{advance:n.advance,node:n.node}}if(M8(r)){let n=W8(e,t);return{advance:n.advance,node:n.node}}if(dk(r)){let n=KL(e,t);return{advance:n.advance,node:n.node}}if(ch(r)){let n=U8(e,t);return{advance:n.advance,node:n.node}}return{advance:1,node:new ue(r)}}function W8(e,t){let r=[],n=1;for(;;){let i=t[n];if(!i||Kt(i))return e.onParseError(new _c("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 Ft(t[0],i,r)};if(B8(i))return{advance:n+1,node:new Ft(t[0],i,r)};if(Nt(i)){let a=HL(e,t.slice(n));n+=a.advance,r.push(...a.nodes);continue}let o=dh(e,t.slice(n));n+=o.advance,r.push(o.node)}}function _8(e,t){let r=S8(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 _c("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 Nm(t[0],o,n)};if(o[0]===r)return{advance:i+1,node:new Nm(t[0],o,n)};if(Nt(o)){let s=HL(e,t.slice(i));i+=s.advance,n.push(...s.nodes);continue}let a=dh(e,t.slice(i));i+=a.advance,n.push(a.node)}}function KL(e,t){let r=0;for(;;){let n=t[r];if(!dk(n))return{advance:r,node:new Pt(t.slice(0,r))};r++}}function U8(e,t){return{advance:1,node:new ph(t[0])}}function HL(e,t){let r=[],n=0;for(;;){if(dk(t[n])){let i=KL(0,t.slice(n));n+=i.advance,r.push(i.node);continue}if(!ch(t[n]))return{advance:n,nodes:r};r.push(new ph(t[n])),n++}}function ro(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([C.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=dh(r,n.slice(o));i.push(s.node),o+=s.advance}}function JL(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([C.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=dh(r,e.slice(a));o.push(l.node),a+=l.advance}}function V8(e,t,r){if(e.length===0)return;let n=wi(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 En(e,t,r){e.length!==0&&V8(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 XL(e){return e.map(t=>t.map(r=>ke(...r.tokens())).join("")).join(",")}function Tr(e){return Nm.isSimpleBlockNode(e)}function Ke(e){return Ft.isFunctionNode(e)}function Uc(e){return Pt.isWhitespaceNode(e)}function pk(e){return ph.isCommentNode(e)}function Et(e){return Uc(e)||pk(e)}function le(e){return ue.isTokenNode(e)}function $t(e){if(Array.isArray(e)){let i=e[0];if(!i)return[0,0];let o=e[e.length-1]||i;return[$t(i)[0],$t(o)[1]]}let t=e.tokens(),r=t[0],n=t[t.length-1];return r&&n?[r[2],n[3]]:[0,0]}var Oe,ng,Ft,Nm,Pt,ph,ue,xt=y(()=>{rt(),(function(e){e.Function="function",e.SimpleBlock="simple-block",e.Whitespace="whitespace",e.Comment="comment",e.Token="token"})(Oe||(Oe={})),ng=class{constructor(){_(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=wi(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)}},Ft=class my extends ng{constructor(r,n,i){super();_(this,"type",Oe.Function);_(this,"name");_(this,"endToken");this.name=r,this.endToken=n,this.value=i}getName(){return this.name[4].value}normalize(){Kt(this.endToken)&&(this.endToken=[C.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=>Wc(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 my.isFunctionNode(this)}static isFunctionNode(r){return!!r&&r instanceof my&&r.type===Oe.Function}},Nm=class hy extends ng{constructor(r,n,i){super();_(this,"type",Oe.SimpleBlock);_(this,"startToken");_(this,"endToken");this.startToken=r,this.endToken=n,this.value=i}normalize(){if(Kt(this.endToken)){let r=C8(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=>Wc(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 hy.isSimpleBlockNode(this)}static isSimpleBlockNode(r){return!!r&&r instanceof hy&&r.type===Oe.SimpleBlock}},Pt=class fy{constructor(t){_(this,"type",Oe.Whitespace);_(this,"value");this.value=t}tokens(){return this.value}toString(){return ke(...this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isWhitespaceNode(){return fy.isWhitespaceNode(this)}static isWhitespaceNode(t){return!!t&&t instanceof fy&&t.type===Oe.Whitespace}},ph=class gy{constructor(t){_(this,"type",Oe.Comment);_(this,"value");this.value=t}tokens(){return[this.value]}toString(){return ke(this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isCommentNode(){return gy.isCommentNode(this)}static isCommentNode(t){return!!t&&t instanceof gy&&t.type===Oe.Comment}},ue=class by{constructor(t){_(this,"type",Oe.Token);_(this,"value");this.value=t}tokens(){return[this.value]}toString(){return this.value[1]}toJSON(){return{type:this.type,tokens:this.tokens()}}isTokenNode(){return by.isTokenNode(this)}static isTokenNode(t){return!!t&&t instanceof by&&t.type===Oe.Token}}});function Ot(e){return e.replace(tF,t=>String.fromCharCode(t.charCodeAt(0)+32))}function pt(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=fk.get(n);if(!i)return t;let o=i.get(r);if(!o)return t;let a=o(t[4].value),s=[C.Dimension,"",t[2],t[3],{...t[4],signCharacter:a<0?"-":void 0,type:Number.isInteger(a)?ne.Integer:ne.Number,value:a}];return uh(s,e[4].unit),s}function Q8(e){if(!Ee(e))return e;let t=Ot(e[4].unit),r=rF[t];if(t===r)return e;let n=fk.get(t);if(!n)return e;let i=n.get(r);if(!i)return e;let o=i(e[4].value),a=[C.Dimension,"",e[2],e[3],{...e[4],signCharacter:o<0?"-":void 0,type:Number.isInteger(o)?ne.Integer:ne.Number,value:o}];return uh(a,r),a}function G8(e,t){var i;if(e.length!==2)return-1;let r=e[0].value,n=e[1].value;if(Ne(r)&&Ne(n)){let o=r[4].value+n[4].value;return new ue([C.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(Qe(r)&&Qe(n)){let o=r[4].value+n[4].value;return new ue([C.Percentage,o.toString()+"%",r[2],n[3],{value:o}])}if(Ee(r)&&Ee(n)&&(n=pt(r,n),Ot(r[4].unit)===Ot(n[4].unit))){let o=r[4].value+n[4].value;return new ue([C.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(Ne(r)&&(Ee(n)||Qe(n))||Ne(n)&&(Ee(r)||Qe(r)))&&((i=t.onParseError)==null||i.call(t,new hk(Vc.UnexpectedAdditionOfDimensionOrPercentageWithNumber,e))),-1}function Y8(e){if(e.length!==2)return-1;let t=e[0].value,r=e[1].value;if(Ne(t)&&Ne(r)){let n=t[4].value/r[4].value;return new ue([C.Number,n.toString(),t[2],r[3],{value:n,type:Number.isInteger(n)?ne.Integer:ne.Number}])}if(Qe(t)&&Ne(r)){let n=t[4].value/r[4].value;return new ue([C.Percentage,n.toString()+"%",t[2],r[3],{value:n}])}if(Ee(t)&&Ne(r)){let n=t[4].value/r[4].value;return new ue([C.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 wt(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=wt(i,t);if(o===-1)return-1;r.push(o)}return e.operation(r,t)}function K8(e){if(e.length!==2)return-1;let t=e[0].value,r=e[1].value;if(Ne(t)&&Ne(r)){let n=t[4].value*r[4].value;return new ue([C.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(Qe(t)&&Ne(r)){let n=t[4].value*r[4].value;return new ue([C.Percentage,n.toString()+"%",t[2],r[3],{value:n}])}if(Ne(t)&&Qe(r)){let n=t[4].value*r[4].value;return new ue([C.Percentage,n.toString()+"%",t[2],r[3],{value:n}])}if(Ee(t)&&Ne(r)){let n=t[4].value*r[4].value;return new ue([C.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(Ne(t)&&Ee(r)){let n=t[4].value*r[4].value;return new ue([C.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 qi(e,t){for(let r=0;r<e.length;r++){let n=e[r];if(!le(n))continue;let i=n.value;if(!Ue(i))continue;let o=Ot(i[4].value);switch(o){case"e":e.splice(r,1,new ue([C.Number,Math.E.toString(),i[2],i[3],{value:Math.E,type:ne.Number}]));break;case"pi":e.splice(r,1,new ue([C.Number,Math.PI.toString(),i[2],i[3],{value:Math.PI,type:ne.Number}]));break;case"infinity":e.splice(r,1,new ue([C.Number,"infinity",i[2],i[3],{value:1/0,type:ne.Number}]));break;case"-infinity":e.splice(r,1,new ue([C.Number,"-infinity",i[2],i[3],{value:-1/0,type:ne.Number}]));break;case"nan":e.splice(r,1,new ue([C.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 ue(a))}}}return e}function mh(e){if(e.length!==1)return-1;let t=e[0].value;return tt(t)?e[0]:-1}function dt(e,t,r){return Ee(t)?hd(e,t[4].unit,r):Qe(t)?H8(e,r):Ne(t)?Ar(e,r):-1}function hd(e,t,r){let n=e.tokens();return{inputs:[new ue([C.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:mh}}function H8(e,t){let r=e.tokens();return{inputs:[new ue([C.Percentage,t.toString()+"%",r[0][2],r[r.length-1][3],{value:t}])],operation:mh}}function Ar(e,t){let r=e.tokens();return{inputs:[new ue([C.Number,t.toString(),r[0][2],r[r.length-1][3],{value:t,type:Number.isInteger(t)?ne.Integer:ne.Number}])],operation:mh}}function J8(e,t){let r=t.value;return Ne(r)?hd(e,"rad",Math.acos(r[4].value)):-1}function X8(e,t){let r=t.value;return Ne(r)?hd(e,"rad",Math.asin(r[4].value)):-1}function Z8(e,t){let r=t.value;return Ne(r)?hd(e,"rad",Math.atan(r[4].value)):-1}function hh(e){return Ee(e)||Ne(e)}function mk(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 e7(e,t,r){let n=t.value;if(!hh(n))return-1;let i=pt(n,r.value);return Nr(n,i)?hd(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&&Qe(n)?-1:dt(e,n,Math.abs(n[4].value))}function r7(e,t,r,n,i){if(!le(t)||!le(r)||!le(n))return-1;let o=t.value;if(!tt(o)||!i.rawPercentages&&Qe(o))return-1;let a=pt(o,r.value);if(!Nr(o,a))return-1;let s=pt(o,n.value);return Nr(o,s)?dt(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(!hh(r))return-1;let n=r[4].value;if(Ee(r))switch(r[4].unit.toLowerCase()){case"rad":break;case"deg":n=Qc.get("rad")(r[4].value);break;case"grad":n=Wi.get("rad")(r[4].value);break;case"turn":n=_i.get("rad")(r[4].value);break;default:return-1}return n=Math.cos(n),Ar(e,n)}function i7(e,t){let r=t.value;return Ne(r)?Ar(e,Math.exp(r[4].value)):-1}function o7(e,t,r){if(!t.every(le))return-1;let n=t[0].value;if(!tt(n)||!r.rawPercentages&&Qe(n))return-1;let i=t.map(s=>pt(n,s.value));if(!mk(i))return-1;let o=i.map(s=>s[4].value),a=Math.hypot(...o);return dt(e,n,a)}function eS(e,t,r){if(!t.every(le))return-1;let n=t[0].value;if(!tt(n)||!r.rawPercentages&&Qe(n))return-1;let i=t.map(s=>pt(n,s.value));if(!mk(i))return-1;let o=i.map(s=>s[4].value),a=Math.max(...o);return dt(e,n,a)}function tS(e,t,r){if(!t.every(le))return-1;let n=t[0].value;if(!tt(n)||!r.rawPercentages&&Qe(n))return-1;let i=t.map(s=>pt(n,s.value));if(!mk(i))return-1;let o=i.map(s=>s[4].value),a=Math.min(...o);return dt(e,n,a)}function a7(e,t,r){let n=t.value;if(!tt(n))return-1;let i=pt(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,dt(e,n,o)}function s7(e,t,r){let n=t.value,i=r.value;return!Ne(n)||!Nr(n,i)?-1:Ar(e,Math.pow(n[4].value,i[4].value))}function l7(e,t,r){let n=t.value;if(!tt(n))return-1;let i=pt(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,dt(e,n,o)}function ZL(e,t,r){var a;if(!Ee(t))return-1;let n=(a=r.devicePixelLength)!=null?a:1,i=[C.Dimension,`${n}px`,t[2],t[3],{value:n,type:ne.Integer,unit:"px"}],o=pt(i,t);if(!Nr(o,i)||o[4].value<0)return-1;if(Number.isInteger(o[4].value/n))return dt(e,t,t[4].value);if(o[4].value>0&&o[4].value<n)return dt(e,t,pt(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,dt(e,t,pt(t,o)[4].value)}return dt(e,t,t[4].value)}function u7(e,t,r,n,i){let o=r.value;if(!tt(o)||t==="line-width"&&!Ee(o)||!i.rawPercentages&&Qe(o))return-1;let a=pt(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=wt(dt(e,o,s),i);return p===-1?-1:ZL(e,p.value,i)}break}}else s=Number.NaN;return dt(e,o,s)}function c7(e,t,r){let n=t.value;return!tt(n)||!r.rawPercentages&&Qe(n)?-1:Ar(e,Math.sign(n[4].value))}function d7(e,t){let r=t.value;if(!hh(r))return-1;let n=r[4].value;if(Ee(r))switch(Ot(r[4].unit)){case"rad":break;case"deg":n=Qc.get("rad")(r[4].value);break;case"grad":n=Wi.get("rad")(r[4].value);break;case"turn":n=_i.get("rad")(r[4].value);break;default:return-1}return n=Math.sin(n),Ar(e,n)}function p7(e,t){let r=t.value;return Ne(r)?Ar(e,Math.sqrt(r[4].value)):-1}function m7(e,t){let r=t.value;if(!hh(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=yy.get("deg")(n);break;case"deg":i=n,o=Qc.get("rad")(n);break;case"grad":i=Wi.get("deg")(n),o=Wi.get("rad")(n);break;case"turn":i=_i.get("deg")(n),o=_i.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 h7(e,t){var i;if(e.length!==2)return-1;let r=e[0].value,n=e[1].value;if(Ne(r)&&Ne(n)){let o=r[4].value-n[4].value;return new ue([C.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(Qe(r)&&Qe(n)){let o=r[4].value-n[4].value;return new ue([C.Percentage,o.toString()+"%",r[2],n[3],{value:o}])}if(Ee(r)&&Ee(n)&&(n=pt(r,n),Ot(r[4].unit)===Ot(n[4].unit))){let o=r[4].value-n[4].value;return new ue([C.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(Ne(r)&&(Ee(n)||Qe(n))||Ne(n)&&(Ee(r)||Qe(r)))&&((i=t.onParseError)==null||i.call(t,new hk(Vc.UnexpectedSubtractionOfDimensionOrPercentageWithNumber,e))),-1}function f7(e,t){if(t.length===1){let r=t[0];if(!r||!le(r))return-1;let n=r.value;return Ne(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(!Ne(n))return-1;let i=t[1];if(!i||!le(i))return-1;let o=i.value;return Ne(o)?Ar(e,Math.log(n[4].value)/Math.log(o[4].value)):-1}return-1}function vy(e){if(Array.isArray(e)){let r=e.filter(n=>!(Uc(n)&&pk(n)));return r.length===1&&vy(r[0])}if(!le(e))return!1;let t=e.value;return!!Ue(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=pt(a,n.value);if(!Nr(a,s))return-1;let l=null;if(i&&(l=pt(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 dt(e,a,Number.NaN);if(l&&!Number.isFinite(l[4].value))return dt(e,a,a[4].value);let u=t.fixed===-1?b7(v7([t.dashedIdent?t.dashedIdent:`${(m=o.randomCaching)==null?void 0:m.propertyName} ${o.randomCaching.propertyN++}`,t.elementShared?"":o.randomCaching.elementID,o.randomCaching.documentID].join(iF))):()=>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 dt(e,a,Number(h[Math.floor(h.length*g)].toFixed(5)))}let p=u();return dt(e,a,Number((p*(d-c)+c).toFixed(5)))}function b7(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 v7(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 yt(e,t,r){let n=qi([...e.value.filter(o=>!Et(o))],t);if(n.length===1&&le(n[0]))return{inputs:[n[0]],operation:mh};let i=0;for(;i<n.length;){let o=n[i];if(Tr(o)&&to(o.startToken)){let a=yt(o,t,r);if(a===-1)return-1;n.splice(i,1,a);continue}if(Ke(o)){let a=zm.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(!Rt(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:Y8}):n.splice(i,3,{inputs:[o,l],operation:K8})}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(!Rt(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:h7}):n.splice(i,3,{inputs:[o,l],operation:G8})}return n.length===1&&un(n[0])?n[0]:-1}function gr(e,t,r,n){let i=y7(e,t,r);return i===-1?-1:n(e,i,r)}function y7(e,t,r){let n=qi([...e.value.filter(o=>!Et(o))],t),i=wt(yt(Lt(e,n),t,r),r);return i===-1?-1:i}function pp(e,t,r,n){let i=w7(e,t,r);if(i===-1)return-1;let[o,a]=i;return n(e,o,a,r)}function w7(e,t,r){let n=qi([...e.value.filter(l=>!Et(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=wt(yt(Lt(e,i),t,r),r);if(a===-1)return-1;let s=wt(yt(Lt(e,o),t,r),r);return s===-1?-1:[a,s]}function mp(e,t,r,n){let i=eF(e,e.value,t,r);return i===-1?-1:n(e,i,r)}function eF(e,t,r,n){let i=qi([...t.filter(a=>!Et(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=wt(yt(Lt(e,a[l]),r,n),n);if(u===-1)return-1;o.push(u)}}return o}function k7(e,t,r,n){let i={isAuto:!1,dashedIdent:"",fixed:-1,elementShared:!1},o=t[0];if(!le(o)||!Ue(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(!Ue(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=wt(yt(Lt(e,[u]),r,n),n);if(c===-1||!Ne(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 Lt(e,t){return new Ft([C.Function,"calc(",e.name[2],e.name[3],{value:"calc"}],[C.CloseParen,")",e.endToken[2],e.endToken[3],void 0],t)}function x7(e,t,r){return new Ft([C.Function,"max(",e.name[2],e.name[3],{value:"max"}],[C.CloseParen,")",e.endToken[2],e.endToken[3],void 0],[t,new ue([C.Comma,",",...$t(t),void 0]),r])}function S7(e){if(e===-1)return-1;if(Ke(e))return e;let t=e.value;return tt(t)&&Number.isNaN(t[4].value)?Ne(t)?new Ft([C.Function,"calc(",t[2],t[3],{value:"calc"}],[C.CloseParen,")",t[2],t[3],void 0],[new ue([C.Ident,"NaN",t[2],t[3],{value:"NaN"}])]):Ee(t)?new Ft([C.Function,"calc(",t[2],t[3],{value:"calc"}],[C.CloseParen,")",t[2],t[3],void 0],[new ue([C.Ident,"NaN",t[2],t[3],{value:"NaN"}]),new Pt([[C.Whitespace," ",t[2],t[3],void 0]]),new ue([C.Delim,"*",t[2],t[3],{value:"*"}]),new Pt([[C.Whitespace," ",t[2],t[3],void 0]]),new ue([C.Dimension,"1"+t[4].unit,t[2],t[3],{value:1,type:ne.Integer,unit:t[4].unit}])]):Qe(t)?new Ft([C.Function,"calc(",t[2],t[3],{value:"calc"}],[C.CloseParen,")",t[2],t[3],void 0],[new ue([C.Ident,"NaN",t[2],t[3],{value:"NaN"}]),new Pt([[C.Whitespace," ",t[2],t[3],void 0]]),new ue([C.Delim,"*",t[2],t[3],{value:"*"}]),new Pt([[C.Whitespace," ",t[2],t[3],void 0]]),new ue([C.Percentage,"1%",t[2],t[3],{value:1}])]):-1:e}function C7(e){if(e===-1)return-1;if(Ke(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="-"),Ne(t)?new Ft([C.Function,"calc(",t[2],t[3],{value:"calc"}],[C.CloseParen,")",t[2],t[3],void 0],[new ue([C.Ident,r+"infinity",t[2],t[3],{value:r+"infinity"}])]):Ee(t)?new Ft([C.Function,"calc(",t[2],t[3],{value:"calc"}],[C.CloseParen,")",t[2],t[3],void 0],[new ue([C.Ident,r+"infinity",t[2],t[3],{value:r+"infinity"}]),new Pt([[C.Whitespace," ",t[2],t[3],void 0]]),new ue([C.Delim,"*",t[2],t[3],{value:"*"}]),new Pt([[C.Whitespace," ",t[2],t[3],void 0]]),new ue([C.Dimension,"1"+t[4].unit,t[2],t[3],{value:1,type:ne.Integer,unit:t[4].unit}])]):new Ft([C.Function,"calc(",t[2],t[3],{value:"calc"}],[C.CloseParen,")",t[2],t[3],void 0],[new ue([C.Ident,r+"infinity",t[2],t[3],{value:r+"infinity"}]),new Pt([[C.Whitespace," ",t[2],t[3],void 0]]),new ue([C.Delim,"*",t[2],t[3],{value:"*"}]),new Pt([[C.Whitespace," ",t[2],t[3],void 0]]),new ue([C.Percentage,"1%",t[2],t[3],{value:1}])])}function A7(e){if(e===-1)return-1;if(Ke(e))return e;let t=e.value;return tt(t)&&Object.is(-0,t[4].value)&&(t[1]==="-0"||(Qe(t)?t[1]="-0%":Ee(t)?t[1]="-0"+t[4].unit:t[1]="-0")),e}function N7(e,t=13){if(e===-1)return-1;if(t<=0||Ke(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 Ne(r)?r[1]=n:Qe(r)?r[1]=n+"%":Ee(r)&&(r[1]=n+r[4].unit),e}function z7(e){return e===-1?-1:(Ke(e)||Ee(e.value)&&(e.value=Q8(e.value)),e)}function E7(e,t){let r=e;return t!=null&&t.toCanonicalUnits&&(r=z7(r)),r=N7(r,t==null?void 0:t.precision),r=A7(r),t!=null&&t.censorIntoStandardRepresentableValues||(r=S7(r),r=C7(r)),r}function P7(e){let t=new Map;if(!e)return t;for(let[r,n]of e)if(Wc(n))t.set(r,n);else if(typeof n=="string"){let i=qL({css:n}),o=i.nextToken();if(i.nextToken(),!i.endOfFile()||!tt(o))continue;t.set(r,o);continue}return t}function O7(e,t){let r=P7(t==null?void 0:t.globals);return I7(e,n=>{if(!Ke(n))return;let i=zm.get(n.getName().toLowerCase());if(!i)return;let o=E7(wt(i(n,r,t!=null?t:{}),t!=null?t:{}),t);return o!==-1?o:void 0})}function I7(e,t){for(let r=0;r<e.length;r++){let n=e[r];En(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)&&Rt(l.value)&&(l.value[4].value==="-"||l.value[4].value==="+")&&s.splice(0,0,new Pt([[C.Whitespace," ",...$t(i.node),void 0]]));let u=i.parent.value[o+1];!u||Et(u)||le(u)&&(rn(u.value)||_L(u.value)||UL(u.value)||Rt(u.value)&&u.value[4].value!=="-"&&u.value[4].value!=="+")||s.push(new Pt([[C.Whitespace," ",...$t(i.node),void 0]])),i.parent.value.splice(o,1,...s)})}return e}var rS,hk,Vc,tF,rF,nS,Qc,Wi,iS,oS,aS,sS,lS,uS,cS,dS,pS,yy,mS,_i,fk,nF,iF,zm,hS,T7,j7=y(()=>{xt(),rt(),rS=class extends Error{constructor(t,r,n){super(t);_(this,"sourceStart");_(this,"sourceEnd");this.name="ParseError",this.sourceStart=r,this.sourceEnd=n}},hk=class extends rS{constructor(t,r){super(t,...$t(r));_(this,"componentValues");this.componentValues=r}},Vc={UnexpectedAdditionOfDimensionOrPercentageWithNumber:"Unexpected addition of a dimension or percentage with a number.",UnexpectedSubtractionOfDimensionOrPercentageWithNumber:"Unexpected subtraction of a dimension or percentage with a number."},tF=/[A-Z]/g,rF={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"},nS=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]]),Qc=new Map([["deg",e=>e],["grad",e=>e/.9],["rad",e=>e/180*Math.PI],["turn",e=>e/360]]),Wi=new Map([["deg",e=>.9*e],["grad",e=>e],["rad",e=>.9*e/180*Math.PI],["turn",e=>.9*e/360]]),iS=new Map([["hz",e=>e],["khz",e=>e/1e3]]),oS=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]]),aS=new Map([["hz",e=>1e3*e],["khz",e=>e]]),sS=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]]),lS=new Map([["ms",e=>e],["s",e=>e/1e3]]),uS=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]]),cS=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]]),dS=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]]),pS=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]]),yy=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]]),mS=new Map([["ms",e=>1e3*e],["s",e=>e]]),_i=new Map([["deg",e=>360*e],["grad",e=>360*e/.9],["rad",e=>360*e/180*Math.PI],["turn",e=>e]]),fk=new Map([["cm",nS],["mm",sS],["q",pS],["in",oS],["pc",uS],["pt",cS],["px",dS],["ms",lS],["s",mS],["deg",Qc],["grad",Wi],["rad",yy],["turn",_i],["hz",iS],["khz",aS]]),nF=/^none$/i,iF=String.fromCodePoint(0),zm=new Map([["abs",function(e,t,r){return gr(e,t,r,t7)}],["acos",function(e,t,r){return gr(e,t,r,J8)}],["asin",function(e,t,r){return gr(e,t,r,X8)}],["atan",function(e,t,r){return gr(e,t,r,Z8)}],["atan2",function(e,t,r){return pp(e,t,r,e7)}],["calc",yt],["clamp",function(e,t,r){let n=qi([...e.value.filter(h=>!Et(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=vy(i),l=vy(a);if(s&&l)return yt(Lt(e,o),t,r);let u=wt(yt(Lt(e,o),t,r),r);if(u===-1)return-1;if(s){let h=wt(yt(Lt(e,a),t,r),r);return h===-1?-1:tS((c=e,d=u,p=h,new Ft([C.Function,"min(",c.name[2],c.name[3],{value:"min"}],[C.CloseParen,")",c.endToken[2],c.endToken[3],void 0],[d,new ue([C.Comma,",",...$t(d),void 0]),p])),[u,h],r)}if(l){let h=wt(yt(Lt(e,i),t,r),r);return h===-1?-1:eS(x7(e,h,u),[h,u],r)}var c,d,p;let m=wt(yt(Lt(e,i),t,r),r);if(m===-1)return-1;let v=wt(yt(Lt(e,a),t,r),r);return v===-1?-1:r7(e,m,u,v,r)}],["cos",function(e,t,r){return gr(e,t,r,n7)}],["exp",function(e,t,r){return gr(e,t,r,i7)}],["hypot",function(e,t,r){return mp(e,t,r,o7)}],["log",function(e,t,r){return mp(e,t,r,f7)}],["max",function(e,t,r){return mp(e,t,r,eS)}],["min",function(e,t,r){return mp(e,t,r,tS)}],["mod",function(e,t,r){return pp(e,t,r,a7)}],["pow",function(e,t,r){return pp(e,t,r,s7)}],["random",function(e,t,r){let n=k7(e,e.value.filter(c=>!Et(c)),t,r);if(n===-1)return-1;let[i,o]=n,a=eF(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 pp(e,t,r,l7)}],["round",function(e,t,r){let n=qi([...e.value.filter(c=>!Et(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)&&Ue(p.value)){let m=p.value[4].value.toLowerCase();if(hS.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=wt(yt(Lt(e,a),t,r),r);if(l===-1)return-1;if(i==="line-width"){let c=pt([C.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:ZL(e,l.value,r);s.push(new ue([C.Number,"1",l.value[2],l.value[3],{value:1,type:ne.Integer}]))}let u=wt(yt(Lt(e,s),t,r),r);return u===-1?-1:(i||(i="nearest"),u7(e,i,l,u,r))}],["sign",function(e,t,r){return gr(e,t,r,c7)}],["sin",function(e,t,r){return gr(e,t,r,d7)}],["sqrt",function(e,t,r){return gr(e,t,r,p7)}],["tan",function(e,t,r){return gr(e,t,r,m7)}]]),hS=new Set(["nearest","line-width","up","down","to-zero"]),T7=new Set(zm.keys())}),oF,D7=y(()=>{oF={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 L7(...e){var r;let t=(r=e[0])!=null?r:{};for(let n=1;n<e.length;n++){let i=e[n];i&&(t=F7(t,i))}return t}function F7(e,t){let r={};return r.atrules=M7(e.atrules,t.atrules),r.properties=wy(e.properties,t.properties),r.types=wy(e.types,t.types),r.cssWideKeywords=R7(e.cssWideKeywords,t.cssWideKeywords),r.units=$7(e.units,t.units),r}function M7(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=q7(s.prelude,a.prelude),s.descriptors=wy(s.descriptors,a.descriptors),r[o]=s}return r}function wy(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]=B7(r[i],o);return r}function R7(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 $7(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 B7(e,t){if(typeof e>"u")return t;let r=t.trimStart();return r.startsWith("|")?`${e} ${r}`:t}function q7(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 W7=y(()=>{});function aF(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=pL.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=ky.get(n);if(i)return i;let{lexer:o}=lk(L7(sF,r));return ky.set(n,o),o}var sF,ky,lF=y(()=>{Ji(),D7(),W7(),{next:sF}=oF,ky=new Map});function _7(e,t){let r=e.parent;for(;r&&!ur(r)&&t(r)!==gk;)r=r.parent}var gk,U7=y(()=>{ge(),gk="STOP"});function fh(e,t){let r;return _7(e,n=>{if(t(n))return r=n,gk}),r}var gh=y(()=>{U7()});function uF(e){return!!fh(e,V7)}function V7(e){return Ie(e)&&!zc.has(e.name.toLowerCase())}var cF=y(()=>{gh(),ge(),Yi()});function dF(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 pF=y(()=>{Le()}),mF={};N(mF,{default:()=>gF});function hF(e){return!!sk(e,t=>t.type==="Function"&&fF.has(t.name.toLowerCase()))}function Q7(e){let t=!1;return En(e,({node:r})=>{if(!(!Ke(r)||r.getName().toLowerCase()!=="calc-size")&&(t=r.tokens().some(n=>{var i;return n[0]===C.Ident&&((i=n[4])==null?void 0:i.value.toLowerCase())==="size"}),t))return!1}),t}function G7(e,t,r,n){var l;if(!Q.mathFunction.test(e))return["undetermined",-1,-1];let i=ro(kt({css:e}),{});if(Q7(i))return["skip-validation",-1,-1];let o=[],a=O7([i],{onParseError:u=>{o.push(u)}});for(let u of o)switch(u.message){case Vc.UnexpectedAdditionOfDimensionOrPercentageWithNumber:case Vc.UnexpectedSubtractionOfDimensionOrPercentageWithNumber:return["invalid",u.sourceStart,u.sourceEnd+1];default:break}let s=XL(a);if(Q.mathFunction.test(s))return["undetermined",-1,-1];try{let u=tn(s,{context:"value",positions:!0});if(hF(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 br,qn,fS,gS,fF,ig,og,Ba,gF,Y7=y(()=>{j7(),rt(),Ji(),xt(),V(),q(),ee(),uw(),Ye(),lF(),dr(),ge(),cF(),bt(),Or(),Be(),pF(),O(),T(),Ht(),uk(),D(),br="declaration-property-value-no-unknown",qn=I(br,{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}"`}),fS={url:"https://stylelint.io/user-guide/rules/declaration-property-value-no-unknown"},gS=/^syntax$/i,fF=new Set(["clamp","min","max","env"]),ig=new WeakMap,og=1e4,Ba=(e,t)=>(r,n)=>{var c;if(!j(n,br,{actual:e},{actual:t,possible:{ignoreProperties:[Mt($,U)],propertiesSyntax:[xm($)],typesSyntax:[xm($)]},optional:!0}))return;t!=null&&t.propertiesSyntax&&Ac(`We've deprecated the "propertiesSyntax" option of "${br}".`,"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&&Ac(`We've deprecated the "typesSyntax" option of "${br}".`,"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)=>dF(t,"ignoreProperties",d,p),o={...t==null?void 0:t.propertiesSyntax},a={...t==null?void 0:t.typesSyntax},s=new Map;r.walkAtRules(xe.propertyName,d=>{let p=d.params.trim();if(!(!p||!d.nodes||!ft(p))){for(let m of d.nodes)if(Qi(m)&&gS.test(m.prop)){let v=m.value.trim(),h=T4.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?aF((c=n.stylelint.config)!=null?c:{},{properties:o,types:a}):n.stylelint.lexer,u=ig.get(l);u||(u=new Set,ig.set(l,u)),r.walkDecls(d=>{var E;let{prop:p}=d,m=Ge(d);if(/^-moz-initial$/i.test(m)||!gt(d)||uF(d)||!Pr(p)||!Re(m)||ft(p)&&!s.has(p)||i(p,m)||/\bvar\s*\(/i.test(m))return;let v=ft(p)?null:`${p}:${m}`;if(v&&u.has(v))return;let[h,b,g]=G7(m,p,l,s);if(h==="valid"||h==="skip-validation"){v&&u.size<og&&u.add(v);return}if(h==="invalid"){let B=ie(d),te=m,re=B,we=re+te.length;b!==-1&&g!==-1&&(te=m.slice(b,g),re=B+b,we=re+te.length),P({message:qn.rejectedMath,messageArgs:[p,te],node:d,index:re,endIndex:we,result:n,ruleName:br});return}let f;try{if(f=tn(m,{context:"value",positions:!0}),hF(f))return}catch{if(/(?:^|[^\w-])(?:attr|if|--[\w-]+)\(/i.test(m))return;let B=ie(d),te=B+m.length;P({message:qn.rejectedParseError,messageArgs:[p,m],node:d,index:B,endIndex:te,result:n,ruleName:br});return}let{error:x}=l.matchProperty((E=s.get(p))!=null?E:p,f);if(!x){v&&u.size<og&&u.add(v);return}if(!("mismatchLength"in x))return;let{name:w,rawMessage:k,loc:S}=x;if(w!=="SyntaxMatchError"||k!=="Mismatch")return;let z=ie(d),A=m.slice(S.start.offset,S.end.offset),L=sk(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),te=z+L.loc.start.offset,re=te+B.length;P({message:qn.rejected,messageArgs:[p,B],node:d,index:te,endIndex:re,result:n,ruleName:br});return}P({message:qn.rejected,messageArgs:[p,A],node:d,index:z+S.start.offset,endIndex:z+S.end.offset,result:n,ruleName:br})})},Ba.ruleName=br,Ba.messages=qn,Ba.meta=fS,gF=Ba}),bF={};N(bF,{default:()=>kF});function bS(e){return vF.test(e)?1:yF.test(e)?2:wF.test(e)?3:0}function K7(e,t){return bS(e)-bS(t)}function H7(e){return e.map(t=>t[4].value).sort(K7).join(" ").toLowerCase()}function J7(e,t,r,n){let i=e.slice(0,e.indexOf(t)),o=e.slice(e.indexOf(t),e.indexOf(r)).filter(ch),a=e.slice(e.indexOf(r)+1);return ke(...i,...n.flatMap((s,l)=>{let u=[];return l!==0&&u.push([C.Whitespace," ",-1,-1,void 0]),u.push([C.Ident,s,-1,-1,{value:s}]),u}),...o,...a)}var qa,ag,vS,vF,yF,wF,yS,wS,kS,Wa,kF,X7=y(()=>{rt(),Je(),ee(),Ye(),Be(),V(),O(),T(),qt(),D(),qa="display-notation",ag=I(qa,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),vS={url:"https://stylelint.io/user-guide/rules/display-notation",fixable:!0},vF=new RegExp(`^(?:${[...vw.values()].join("|")})$`,"i"),yF=new RegExp(`^(?:${[...yw.values()].join("|")})$`,"i"),wF=new RegExp(`^(?:${[...ww.values()].join("|")})$`,"i"),yS=/^display$/i,wS={"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"]},kS={"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"]},Wa=e=>(t,r)=>{j(r,qa,{actual:e,possible:["short","full"]})&&t.walkDecls(yS,n=>{let i=Ge(n);if(!Q.displayKeyword.test(i)||!Re(i))return;let o=kt({css:i});if(o.some(p=>!(Nt(p)||Kt(p)||Ue(p))))return;let a=o.filter(Ue);if(!a.length)return;let s=H7(a),l=e==="short"?kS[s]:wS[s];if(!l)return;let u=a.at(0),c=a.at(-1);if(!u||!c)return;let d=ie(n);P({message:ag.expected,messageArgs:[s,l.join(" ")],node:n,index:d+u[2],endIndex:d+c[3]+1,result:r,ruleName:qa,fix:{apply:()=>{Bt(n,J7(o,u,c,l))},node:n}})})},Wa.ruleName=qa,Wa.messages=ag,Wa.meta=vS,kF=Wa});function Rp(e){return e.toString().trim().length!==0&&Number(e)==e}var xF=y(()=>{});function xS(e){if(!e)return!1;if(tm.has(e))return!0;let t=SF.default.unit(e);if(!t)return!1;let r=t.unit;return!!(r==="%"||ji.has(r.toLowerCase()))}var SF,Z7=y(()=>{SF=Z(fe(),1),Je(),Jc()});function fd(e){return e.toLowerCase().startsWith("var(")}var gd=y(()=>{});function eU(e,t,r){return e.value=e.value+r+t.value,e}function bk(e){let t=[],r=(0,CF.default)(e),{nodes:n}=r;if(n.length===1&&n[0]&&je.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(!AF.has(a.type))return;let u=a.value.toLowerCase();if(!Re(u)||fd(u))return;let c=Xr.has(u);if(!c&&kw.has(u)||!c&&xS(a.value))return;let d=l[s+1],p=l[s-1],m=l[s-2],v=l.slice(0,s);if(c&&tm.has(u)&&!(!d||xy(d)||v.find(xy))||p&&p.value==="/"&&m&&xS(m.value)||Rp(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];Ve(b),eU(b,h,o),i=!1,o=null}else t.push(h)}),t}var CF,AF,xy,vk=y(()=>{CF=Z(fe(),1),Je(),q(),xF(),Be(),Z7(),gd(),AF=new Set(["word","string","space","div"]),xy=e=>e.type==="div"&&e.value===","}),NF={};N(NF,{default:()=>zF});function tU(e){return!!(UN.has(e)||e==="BlinkMacSystemFont")}function rU(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 _a,sg,SS,CS,Ua,zF,iU=y(()=>{Je(),vk(),Be(),gd(),V(),O(),T(),D(),_a="font-family-name-quotes",sg=I(_a,{expected:e=>`Expected quotes around "${e}"`,rejected:e=>`Expected no quotes around "${e}"`}),SS={url:"https://stylelint.io/user-guide/rules/font-family-name-quotes",fixable:!0},CS=(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},Ua=e=>(t,r)=>{if(!j(r,_a,{actual:e,possible:["always-where-required","always-where-recommended","always-unless-keyword"]}))return;t.walkDecls(Br.fontFamilyAndShorthandName,o=>{if(!Re(o.value))return;let a=CS(bk(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(fd(l))return;if(Xr.has(s.toLowerCase())||tU(s))return u?i("rejected",o,a):void 0;let c=nU(s),d=rU(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:_a,message:sg[o],messageArgs:[l],node:s,word:u,fix:{apply:c,node:s}})}},Ua.ruleName=_a,Ua.messages=sg,Ua.meta=SS,zF=Ua}),EF={};N(EF,{default:()=>PF});var Va,lg,AS,NS,Qa,PF,oU=y(()=>{q(),ee(),vk(),Je(),H(),V(),O(),T(),D(),Va="font-family-no-duplicate-names",lg=I(Va,{rejected:e=>`Duplicate font-family name "${e}"`}),AS={url:"https://stylelint.io/user-guide/rules/font-family-no-duplicate-names"},NS=e=>!("quote"in e)&&Xr.has(e.value.toLowerCase()),Qa=(e,t)=>(r,n)=>{if(!j(n,Va,{actual:e},{actual:t,possible:{ignoreFontFamilyNames:[$,U]},optional:!0}))return;r.walkDecls(Br.fontFamilyAndShorthandName,o=>{let a=new Set,s=new Set,l=bk(o.value);if(l.length!==0)for(let u of l){let c=u.value.trim();if(R(t,"ignoreFontFamilyNames",c))continue;let d="quote"in u?u.quote+c+u.quote:c;if(NS(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:Va,message:lg.rejected,messageArgs:[o],node:l,index:a,endIndex:a+s})}},Qa.ruleName=Va,Qa.messages=lg,Qa.meta=AS,PF=Qa}),OF={};N(OF,{default:()=>IF});var Ga,ug,zS,ES,PS,Ya,IF,aU=y(()=>{nd(),q(),Je(),ee(),vk(),ge(),Be(),gd(),H(),V(),O(),T(),D(),Ga="font-family-no-missing-generic-family-keyword",ug=I(Ga,{rejected:"Missing generic font family"}),zS={url:"https://stylelint.io/user-guide/rules/font-family-no-missing-generic-family-keyword"},ES=e=>!("quote"in e)&&Xr.has(e.value.toLowerCase()),PS=e=>{let t=Li.list.comma(e).pop();return t!=null&&(fd(t)||!Re(t))},Ya=(e,t)=>(r,n)=>{if(!j(n,Ga,{actual:e},{actual:t,possible:{ignoreFontFamilies:[$,U]},optional:!0}))return;let i=new Set(["font-face","font-palette-values"]);r.walkDecls(Br.fontFamilyAndShorthandName,o=>{let a=o.parent;if(a&&Ie(a)&&i.has(a.name.toLowerCase())||o.prop==="font"&&_N.has(o.value.toLowerCase())||PS(o.value))return;let s=bk(o.value);if(s.length===0||s.some(p=>ES(p))||s.some(p=>R(t,"ignoreFontFamilies",p.value)))return;let l=s[s.length-1];Ve(l);let u=ie(o),c=u+l.sourceIndex,d=u+l.sourceEndIndex;P({result:n,ruleName:Ga,message:ug.rejected,messageArgs:[],node:o,index:c,endIndex:d})})},Ya.ruleName=Ga,Ya.messages=ug,Ya.meta=zS,IF=Ya}),TF={};N(TF,{default:()=>jF});function Sy(e){return e!==void 0&&e.type==="div"}function sU(e,t,r){return!(e.type!=="word"||Sy(r[t-1])||Sy(r[t+1]))}var OS,Ka,Ha,IS,TS,jS,cg,Ja,jF,lU=y(()=>{OS=Z(fe(),1),Je(),V(),q(),ee(),Ye(),xF(),Be(),gd(),H(),O(),T(),qt(),D(),Ka="font-weight-notation",Ha=I(Ka,{expected:e=>`Expected ${e} font-weight notation`,expectedWithActual:(e,t)=>`Expected "${e}" to be "${t}"`}),IS={url:"https://stylelint.io/user-guide/rules/font-weight-notation",fixable:!0},TS="normal",jS=new Map([["normal","400"],["bold","700"]]),cg=new Map([["400","normal"],["700","bold"]]),Ja=(e,t)=>(r,n)=>{if(!j(n,Ka,{actual:e,possible:["numeric","named-where-possible"]},{actual:t,possible:{ignore:["relative"]},optional:!0}))return;let i=R(t,"ignore","relative");r.walkDecls(Br.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,OS.default)(Ge(a)),u=l.nodes,c=u.some((d,p,m)=>Rp(d.value)&&!Sy(m[p-1]));for(let[d,p]of u.entries()){if(!sU(p,d,u))continue;let{value:m}=p;if(s){if(m.toLowerCase()===TS&&c)continue;if(o(a,p,l))break}o(a,p,l)}});function o(a,s,l){let u=s.value;if(!Re(u)||fd(u))return;let c=u.toLowerCase();if(i&&Zp.has(c))return;let d=m=>()=>{s.value=m,Bt(a,l.toString())};if(e==="numeric"){if(!Rp(c)&&em.has(c)){let m=jS.get(c);return m?p(Ha.expectedWithActual,[u,m],s,d(m)):p(Ha.expected,["numeric"],s,void 0),!0}}else if(e==="named-where-possible"&&Rp(c)&&cg.has(c)){let m=cg.get(c);Vi(m);let v=d(m);return p(Ha.expectedWithActual,[u,m],s,v),!0}function p(m,v,h,b){let g=ie(a)+h.sourceIndex,f=g+h.value.length;P({ruleName:Ka,result:n,message:m,messageArgs:v,node:a,index:g,endIndex:f,fix:{apply:b,node:a}})}}},Ja.ruleName=Ka,Ja.messages=Ha,Ja.meta=IS,jF=Ja}),DF={};N(DF,{default:()=>LF});function uU(e){let t=e.prop.toLowerCase();if(ft(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 DS,Xa,dg,LS,Wn,LF,cU=y(()=>{DS=Z(fe(),1),q(),ee(),dr(),cd(),Le(),O(),T(),D(),Xa="function-allowed-list",dg=I(Xa,{rejected:e=>`Disallowed function "${e}"`}),LS={url:"https://stylelint.io/user-guide/rules/function-allowed-list"},Wn=(e,t)=>(r,n)=>{var o;if(!j(n,Xa,{actual:e,possible:[$,U]},{actual:t,possible:{exceptWithoutPropertyFallback:[$,U]},optional:!0}))return;let i=(o=t==null?void 0:t.exceptWithoutPropertyFallback)!=null?o:[];r.walkDecls(a=>{a.value.includes("(")&&(0,DS.default)(a.value).walk(s=>{let{type:l,sourceIndex:u,value:c}=s;if(l!=="function"||!ud(s)||Pe(c,e)&&(!Pe(c,i)||uU(a)))return;let d=ie(a)+u,p=d+c.length;P({message:dg.rejected,messageArgs:[c],node:a,index:d,endIndex:p,result:n,ruleName:Xa})})})},Wn.primaryOptionArray=!0,Wn.ruleName=Xa,Wn.messages=dg,Wn.meta=LS,LF=Wn}),FF={};N(FF,{default:()=>BF});function dU(e){let t=kt({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;uh(r,i.slice(0,o)),r[3]=r[2]+r[1].length;let s=kt({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(!Rt(r)||r[4].value!=="#")return;let i=t[n+1];if(!VL(i))return;let o=t[n+2];!Rt(o)||o[4].value!=="$"||(i[1]="#{",t.splice(n,1))}),ro(t)}function FS(e){if(Tr(e))return!0;if(Ke(e)){let t=e.getName().toLowerCase();return!!(Ki.has(t)||t==="var")}return le(e)?RF.has(e.value[0]):!1}function hp(e=" "){return new Pt([[C.Whitespace,e,-1,-1,void 0]])}function pU(e,t){let r,n,i=[],o=[],a,s=e.value[t];for(;Et(s);)s=e.value[++t];for(FS(s)&&(r=s,s=e.value[++t]);Et(s);)i.push(s),s=e.value[++t];for(le(s)&&Rt(s.value)&&MF.has(s.value[4].value)&&(a=s,s=e.value[++t]);Et(s);)o.push(s),s=e.value[++t];for(FS(s)&&(n=s,s=e.value[++t]);Et(s);)s=e.value[++t];if(!r||!n){for(;s;){if(le(s)&&(rn(s.value)||UL(s.value)))return[void 0,t];s=e.value[++t]}return[void 0,e.value.length]}return[new $F(r,i,n,o,a),t]}var Za,cn,MS,MF,RS,$S,es,RF,$F,BF,mU=y(()=>{var e,Cy,r;xt(),rt(),ee(),Ye(),Er(),V(),O(),T(),qt(),D(),q(),Za="function-calc-no-unspaced-operator",cn=I(Za,{expectedBefore:n=>`Expected single space before "${n}" operator`,expectedAfter:n=>`Expected single space after "${n}" operator`}),MS={url:"https://stylelint.io/user-guide/rules/function-calc-no-unspaced-operator",fixable:!0},MF=new Set(["+","-"]),RS=new RegExp(`^(?:${[...Ki].join("|")})$`,"i"),$S=/\n|\r\n/,es=n=>(i,o)=>{if(!j(o,Za,{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:Za,fix:{apply:d,node:l}})}i.walkDecls(s=>{let l=Ge(s);if(!Q.operator.test(l)||!Q.mathFunction.test(l))return;let u=dU(l);if(u.length===0)return;let c=ie(s),d=()=>Bt(s,XL([u]));function p(h,b,g){b[g].some(Uc)||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,()=>uh(g,k)))return}if(Ue(g)){let[,,,,{value:x}]=g,w=x.at(-1),k=x.slice(0,-1);if(f(w,()=>L8(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(!Uc(g))return;let f=g.toString();if(f===" ")return;let x=f.search($S);if(x===0)return;let w=b==="before"?cn.expectedBefore:cn.expectedAfter;a(w,s,c+h.operatorCharPosition,h.operatorChar,()=>{g.value=hp(x===-1?" ":f.slice(x)).value,d()})})}En(u,({node:h,state:b})=>{if(!b)return;if(Ke(h))b.inMathFunction=RS.test(h.getName().toLowerCase());else if(!Tr(h)||!to(h.startToken)){b.inMathFunction=!1;return}if(!b.inMathFunction)return;let g=0,f;for(;g!==-1&&g<h.value.length;){if([f,g]=pU(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})})},RF=new Set([C.Number,C.Dimension,C.Percentage,C.Ident]),$F=(r=class{constructor(n,i,o,a,s){Wk(this,e);this.firstOperand=n,this.before=i,this.secondOperand=o,this.after=a,this.operator=s}get operatorChar(){return Th(this,e,Cy)[4].value}get operatorCharPosition(){return Th(this,e,Cy)[2]}insertWhitespace(n,i){Ve(this.operator),n.value.splice(n.value.indexOf(this.operator)+(i==="before"?0:1),0,hp())}insertOperatorAfterFirstOperand(n){Ve(this.operator),n.value.splice(n.value.indexOf(this.firstOperand)+1,0,...this.before,this.operator)}insertOperatorBeforeSecondOperand(n){Ve(this.operator),n.value.splice(n.value.indexOf(this.secondOperand),0,this.operator,...this.after)}completeMissingOperator(n,i,o){this.operator=new ue([C.Delim,n,i,i+n.length,{value:n}]),o==="append"?(this.after=this.before,this.before=[hp()]):this.after=[hp()]}},e=new WeakSet,Cy=function(){var n;return Ve(Rt((n=this.operator)==null?void 0:n.value)),this.operator.value},r),es.ruleName=Za,es.messages=cn,es.meta=MS,BF=es}),qF={};N(qF,{default:()=>WF});var BS,ts,pg,qS,_n,WF,hU=y(()=>{BS=Z(fe(),1),q(),ee(),cd(),Le(),O(),T(),D(),ts="function-disallowed-list",pg=I(ts,{rejected:e=>`Disallowed function "${e}"`}),qS={url:"https://stylelint.io/user-guide/rules/function-disallowed-list"},_n=e=>(t,r)=>{j(r,ts,{actual:e,possible:[$,U]})&&t.walkDecls(n=>{n.value.includes("(")&&(0,BS.default)(n.value).walk(i=>{let{type:o,sourceIndex:a,value:s}=i;if(o!=="function"||!ud(i)||!Pe(s,e))return;let l=ie(n)+a,u=l+s.length;P({message:pg.rejected,messageArgs:[s],node:n,index:l,endIndex:u,result:r,ruleName:ts})})})},_n.primaryOptionArray=!0,_n.ruleName=ts,_n.messages=pg,_n.meta=qS,WF=_n});function bd(e,t,r){let n=(0,Ay.default)(e);return n.walk(i=>{if(i.type!=="function")return;let{value:o}=i;if($(t)&&o!==t||U(t)&&!t.test(i.value))return;let a=1,s=i.sourceIndex+o.length+a,l;if(i.value.toLowerCase()==="url"){let[u]=(0,Ay.default)(e.slice(i.sourceIndex+o.length)).nodes;Ve(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 Ay,vd=y(()=>{Ay=Z(fe(),1),q()}),_F={};N(_F,{default:()=>QF});function fU(e,t){let r=t?UF:VF,n=e.match(r);return n?n.length===2||n.length===3&&n[1]!==n[2]:!1}var mg,rs,hg,WS,fg,_S,US,Un,UF,VF,VS,QS,GS,ns,QF,gU=y(()=>{mg=Z(fe(),1),ee(),vd(),Be(),O(),T(),D(),It(),rs="function-linear-gradient-no-nonstandard-direction",hg=I(rs,{rejected:"Nonstandard direction"}),WS={url:"https://stylelint.io/user-guide/rules/function-linear-gradient-no-nonstandard-direction"},fg="(?:-webkit-|-moz-|-o-|-ms-)?linear-gradient",_S=new RegExp(`${fg}\\(`,"i"),US=new RegExp(`^${fg}$`,"i"),Un=/top|left|bottom|right/i,UF=new RegExp(`^to (${Un.source})(?: (${Un.source}))?$`,"i"),VF=new RegExp(`^(${Un.source})(?: (${Un.source}))?$`,"i"),VS=/[\d.]/,QS=/^[\d.]+(?:deg|grad|rad|turn)$/,GS=/\bin\b/i,ns=e=>(t,r)=>{j(r,rs,{actual:e})&&t.walkDecls(n=>{_S.test(n.value)&&(0,mg.default)(n.value).walk(i=>{i.type==="function"&&bd(mg.default.stringify(i).toLowerCase(),US,(o,a)=>{let s=o.split(","),l=(s[0]||"").trim();if(!Re(l)||l.startsWith("var(")||GS.test(l))return;if(VS.test(l.charAt(0))){if(QS.test(l))return;c();return}if(!Un.test(l))return;let u=!He.prefix(i.value);fU(l,u)||c();function c(){let d=ie(n)+i.sourceIndex+a,p=d+(s[0]||"").trimEnd().length;P({message:hg.rejected,messageArgs:[],node:n,index:d,endIndex:p,result:r,ruleName:rs})}})})})},ns.ruleName=rs,ns.messages=hg,ns.meta=WS,QF=ns}),GF={};N(GF,{default:()=>YF});var YS,is,gg,KS,fp,os,YF,bU=y(()=>{YS=Z(fe(),1),q(),Er(),ee(),Ye(),cd(),Be(),H(),O(),T(),qt(),D(),is="function-name-case",gg=I(is,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),KS={url:"https://stylelint.io/user-guide/rules/function-name-case",fixable:!0},fp=new Map;for(let e of qN)fp.set(e.toLowerCase(),e);os=(e,t)=>(r,n)=>{j(n,is,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreFunctions:[$,U]},optional:!0})&&r.walkDecls(i=>{if(!i.value.includes("(")||!Re(i.value))return;let o=(0,YS.default)(Ge(i));o.walk(a=>{if(a.type!=="function"||!ud(a))return;let s=a.value,l=s.toLowerCase();if(R(t,"ignoreFunctions",s))return;let u;if(e==="lower"&&fp.has(l)?u=fp.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,Bt(i,o.toString())};P({message:gg.expected,messageArgs:[s,u],node:i,index:c,endIndex:d,result:n,ruleName:is,fix:{apply:p,node:i}})})})},os.ruleName=is,os.messages=gg,os.meta=KS,YF=os}),KF,vU=y(()=>{KF=["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 yU(e){return e.startsWith("--")}var wU=y(()=>{}),HF={};N(HF,{default:()=>JF});var as,bg,HS,ss,JF,kU=y(()=>{xt(),vU(),rt(),q(),ee(),wU(),Be(),H(),O(),T(),D(),as="function-no-unknown",bg=I(as,{rejected:e=>`Unknown function "${e}"`}),HS={url:"https://stylelint.io/user-guide/rules/function-no-unknown"},ss=(e,t)=>(r,n)=>{j(n,as,{actual:e},{actual:t,possible:{ignoreFunctions:[$,U]},optional:!0})&&r.walkDecls(i=>{let{value:o}=i;o.includes("(")&&Re(o)&&En(ro(kt({css:o})),({node:a})=>{if(!Ke(a))return;let s=a.getName();if(yU(s)||R(t,"ignoreFunctions",s)||KF.includes(s.toLowerCase()))return;let l=ie(i),u=l+a.name[2],c=l+a.name[3];P({message:bg.rejected,messageArgs:[s],node:i,index:u,endIndex:c,result:n,ruleName:as})})})},ss.ruleName=as,ss.messages=bg,ss.meta=HS,JF=ss});function bh(e){return e.length===0?!0:aN(e)||uN(e)||nN(e)?!1:e.startsWith("'")&&e.endsWith("'")||e.startsWith('"')&&e.endsWith('"')?!eN(e):!(e.startsWith("@")&&XF.test(e)||e.includes("$")&&ZF.test(e)&&!e.endsWith("/"))}var XF,ZF,vh=y(()=>{rN(),oN(),lN(),dN(),XF=/^@@?[\w-]+$/,ZF=/^[$\s\w+\-,./*'"@#?]+$/}),eM={};N(eM,{default:()=>tM});var ls,vg,JS,yg,us,tM,xU=y(()=>{V(),vd(),vh(),O(),T(),D(),ls="function-url-no-scheme-relative",vg=I(ls,{rejected:"Disallowed scheme-relative url"}),JS={url:"https://stylelint.io/user-guide/rules/function-url-no-scheme-relative"},yg=(e,t,r)=>{bd(t.toLowerCase(),"url",(n,i)=>{let o=n.trim().replace(/^['"]+|['"]+$/g,"");!bh(o)||!o.startsWith("//")||P({message:vg.rejected,messageArgs:[],node:e,index:i,endIndex:i+n.length,result:r,ruleName:ls})})},us=e=>(t,r)=>{j(r,ls,{actual:e})&&(t.walkDecls(n=>{yg(n,n.toString(),r)}),t.walkAtRules(xe.importName,n=>{yg(n,n.toString(),r)}))},us.ruleName=ls,us.messages=vg,us.meta=JS,tM=us}),rM={};N(rM,{default:()=>nM});var cs,wg,XS,ds,nM,SU=y(()=>{rt(),ee(),vd(),st(),Ye(),bt(),vh(),V(),H(),O(),T(),D(),cs="function-url-quotes",wg=I(cs,{expected:e=>`Expected quotes around "${e}" function argument`,rejected:e=>`Expected no quotes around "${e}" function argument`}),XS={url:"https://stylelint.io/user-guide/rules/function-url-quotes",fixable:!0},ds=(e,t)=>(r,n)=>{if(!j(n,cs,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["empty"]},optional:!0}))return;let i=R(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){bd(b,/^url$/i,(f,x,w,k)=>{if(v(w))return;let S=m(f,g+x);if(S){let{messageType:z,...A}=S,L=wg[z],E=[w.value.toLowerCase()],B=a(h,w,z,k);P({...A,node:h,fix:{apply:B,node:h},message:L,messageArgs:E,result:n,ruleName:cs})}})}function l(h){if(!Q.urlFunction.test(h.value)||!gt(h))return;let b=Ge(h),g=ie(h);s(h,b,g)}function u(h){let b=at(h),g=Te(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=kt({css:`url(${b})`});if(x.length!==2)return!0;let w=x[0];return!$8(w)}function m(h,b){let g=h.trimStart();if(!bh(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))}},ds.ruleName=cs,ds.messages=wg,ds.meta=XS,nM=ds});function iM(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 oM=y(()=>{}),aM={};N(aM,{default:()=>sM});var ps,kg,ZS,Vn,sM,CU=y(()=>{q(),vd(),oM(),vh(),Le(),O(),T(),D(),ps="function-url-scheme-allowed-list",kg=I(ps,{rejected:e=>`Disallowed URL scheme "${e}:"`}),ZS={url:"https://stylelint.io/user-guide/rules/function-url-scheme-allowed-list"},Vn=e=>(t,r)=>{j(r,ps,{actual:e,possible:[$,U]})&&t.walkDecls(n=>{bd(n.toString().toLowerCase(),"url",(i,o)=>{let a=i.trim();if(!bh(a))return;let s=a.replace(/^['"]+|['"]+$/g,""),l=iM(s);l!==null&&(Pe(l,e)||P({message:kg.rejected,messageArgs:[l],node:n,index:o,endIndex:o+i.length,result:r,ruleName:ps}))})})},Vn.primaryOptionArray=!0,Vn.ruleName=ps,Vn.messages=kg,Vn.meta=ZS,sM=Vn}),lM={};N(lM,{default:()=>uM});var ms,xg,eC,Qn,uM,AU=y(()=>{q(),vd(),oM(),vh(),Le(),O(),T(),D(),ms="function-url-scheme-disallowed-list",xg=I(ms,{rejected:e=>`Disallowed URL scheme "${e}:"`}),eC={url:"https://stylelint.io/user-guide/rules/function-url-scheme-disallowed-list"},Qn=e=>(t,r)=>{j(r,ms,{actual:e,possible:[$,U]})&&t.walkDecls(n=>{bd(n.toString().toLowerCase(),"url",(i,o)=>{let a=i.trim();if(!bh(a))return;let s=a.replace(/^['"]+|['"]+$/g,""),l=iM(s);l!==null&&Pe(l,e)&&P({message:xg.rejected,messageArgs:[l],node:n,index:o,endIndex:o+i.length,result:r,ruleName:ms})})})},Qn.primaryOptionArray=!0,Qn.ruleName=ms,Qn.messages=xg,Qn.meta=eC,uM=Qn}),cM={};N(cM,{default:()=>dM});function NU(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(yv.has(r))return t[0+n];if(wv.has(r))return t[2+n]}var Sg,hs,Cg,tC,fs,dM,zU=y(()=>{Sg=Z(fe(),1),Er(),ee(),Ye(),Be(),V(),O(),T(),qt(),D(),hs="hue-degree-notation",Cg=I(hs,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),tC={url:"https://stylelint.io/user-guide/rules/hue-degree-notation",fixable:!0},fs=e=>(t,r)=>{j(r,hs,{actual:e,possible:["angle","number"]})&&t.walkDecls(n=>{if(!Q.hueColorFunction.test(n.value))return;let i=(0,Sg.default)(Ge(n));i.walk(o=>{if(o.type!=="function")return;let a=o.value.toLowerCase();if(!hw.has(a))return;let s=NU(o);if(!s)return;let{value:l}=s;if(!Re(l))return;let u=Sg.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,Bt(n,i.toString())};P({message:Cg.expected,messageArgs:[m,p],node:n,index:v+s.sourceIndex,endIndex:v+s.sourceEndIndex,result:r,ruleName:hs,fix:{apply:h,node:n}})})})},fs.ruleName=hs,fs.messages=Cg,fs.meta=tC,dM=fs});function pM(e,t){let r=e.raws;return r.params?r.params.raw=t:e.params=t,e}var mM=y(()=>{}),hM={};N(hM,{default:()=>fM});var gs,bs,gp,rC,Ag,vs,fM,EU=y(()=>{gs=Z(fe(),1),ee(),V(),st(),O(),T(),mM(),D(),bs="import-notation",gp=I(bs,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),rC={url:"https://stylelint.io/user-guide/rules/import-notation",fixable:!0},Ag=(e,t,r)=>()=>{let n=e.params.slice(r);pM(e,`${t}${n}`)},vs=e=>(t,r)=>{if(!j(r,bs,{actual:e,possible:["string","url"]}))return;t.walkAtRules(xe.importName,n);function n(i){var l;let o=at(i);if(e==="string"&&!/url\(/i.test(o)||e==="url"&&/url\(/i.test(o))return;let a=Te(i),s=(0,gs.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:bs};if(e==="string"){if(d!=="function"||p.toLowerCase()!=="url")continue;let h=gs.default.stringify(u),b=gs.default.stringify(u.nodes),g=((l=u.nodes[0])==null?void 0:l.type)==="word"?`"${b}"`:b,f=Ag(i,g,c),x=gp.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(${gs.default.stringify(u)})`,b=d==="word"?`"${p}"`:`${u.quote}${p}${u.quote}`,g=Ag(i,h,c),f=gp.expected;P({...v,message:f,messageArgs:[b,h],fix:{apply:g,node:v.node}});return}}}},vs.ruleName=bs,vs.messages=gp,vs.meta=rC,fM=vs}),gM=Y((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}),PU=Y((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}),OU=Y((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}),IU=Y((e,t)=>{var r=()=>{};t.exports=r,t.exports.default=r}),yh=Y(e=>{"use strict";e.__esModule=!0,e.unesc=e.stripComments=e.getProp=e.ensureObject=void 0;var t=o(gM());e.unesc=t.default;var r=o(PU());e.getProp=r.default;var n=o(OU());e.ensureObject=n.default;var i=o(IU());e.stripComments=i.default;function o(a){return a&&a.__esModule?a:{default:a}}}),nn=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=yh();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}),vt=Y(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}),yk=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=a(nn()),n=o(vt());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=[],z=2;z<arguments.length;z++)S.push(arguments[z]);(w=this.nodes).splice.apply(w,[k+1,0,x].concat(S)),x.parent=this;var A;for(var L in this.indexes)A=this.indexes[L],k<A&&(this.indexes[L]=A+arguments.length-1);return this},g.insertBefore=function(f,x){var w;x.parent=this;for(var k=this.index(f),S=[],z=2;z<arguments.length;z++)S.push(arguments[z]);(w=this.nodes).splice.apply(w,[k,0,x].concat(S)),x.parent=this;var A;for(var L in this.indexes)A=this.indexes[L],A>=k&&(this.indexes[L]=A+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,z){var A=f.call(x,S);return w.push(S),A?(k.push(w),w=[]):z===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}),bM=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(yk()),n=vt();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}),vM=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(yk()),n=vt();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}),wk=Y((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,z,A){return z&&z.length%2?S:(z||"")+A}),!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}),yM=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=a(wk()),n=yh(),i=a(nn()),o=vt();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}),wM=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=vt();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}),kM=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=vt();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}),kk=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=o(wk()),n=yh(),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}),xM=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(kk()),n=vt();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}),SM=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=vt();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}),CM=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(yk()),n=vt();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}),TU=Y((e,t)=>{"use strict";t.exports=()=>()=>{}}),AM=Y(e=>{"use strict";e.__esModule=!0,e.default=void 0,e.unescapeValue=b;var t=a(wk()),r=a(gM()),n=a(kk()),i=vt(),o;function a(k){return k&&k.__esModule?k:{default:k}}function s(k,S){for(var z=0;z<S.length;z++){var A=S[z];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(k,A.key,A)}}function l(k,S,z){return S&&s(k.prototype,S),z&&s(k,z),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(z,A){return z.__proto__=A,z},c(k,S)}var d=TU(),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,z=null,A=k,L=A.match(p);return L&&(z=L[1],A=L[2]),A=(0,r.default)(A),A!==k&&(S=!0),{deprecatedUsage:S,unescaped:A,quoteMark:z}}function g(k){if(k.quoteMark!==void 0||k.value===void 0)return k;h();var S=b(k.value),z=S.quoteMark,A=S.unescaped;return k.raws||(k.raws={}),k.raws.value===void 0&&(k.raws.value=k.value),k.value=A,k.quoteMark=z,k}var f=(function(k){u(S,k);function S(A){var L;return A===void 0&&(A={}),L=k.call(this,g(A))||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 z=S.prototype;return z._syncRawValue=function(){var A=(0,t.default)(this._value,x[this.quoteMark]);A===this._value?this.raws&&delete this.raws.value:this.raws.value=A},z._handleEscapes=function(A,L){if(this._constructed){var E=(0,t.default)(L,{isIdentifier:!0});E!==L?this.raws[A]=E:delete this.raws[A]}},z._spacesFor=function(A){var L={before:"",after:""},E=this.spaces[A]||{},B=this.raws.spaces&&this.raws.spaces[A]||{};return Object.assign(L,E,B)},z._stringFor=function(A,L,E){L===void 0&&(L=A),E===void 0&&(E=w);var B=this._spacesFor(L);return E(this.stringifyProperty(A),B)},z.offsetOf=function(A){var L=1,E=this._spacesFor("attribute");if(L+=E.before.length,A==="namespace"||A==="ns")return this.namespace?L:-1;if(A==="attributeNS"||(L+=this.namespaceString.length,this.namespace&&(L+=1),A==="attribute"))return L;L+=this.stringifyProperty("attribute").length,L+=E.after.length;var B=this._spacesFor("operator");L+=B.before.length;var te=this.stringifyProperty("operator");if(A==="operator")return te?L:-1;L+=te.length,L+=B.after.length;var re=this._spacesFor("value");L+=re.before.length;var we=this.stringifyProperty("value");if(A==="value")return we?L:-1;L+=we.length,L+=re.after.length;var pe=this._spacesFor("insensitive");return L+=pe.before.length,A==="insensitive"&&this.insensitive?L:-1},z.toString=function(){var A=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(E,B){return E.length>0&&!A.quoted&&B.before.length===0&&!(A.spaces.value&&A.spaces.value.after)&&(B.before=" "),w(E,B)}))),L.push("]"),L.push(this.rawSpaceAfter),L.join("")},l(S,[{key:"quoted",get:function(){var A=this.quoteMark;return A==="'"||A==='"'},set:function(A){v()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(A){if(!this._constructed){this._quoteMark=A;return}this._quoteMark!==A&&(this._quoteMark=A,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(A){if(this._constructed){var L=b(A),E=L.deprecatedUsage,B=L.unescaped,te=L.quoteMark;if(E&&m(),B===this._value&&te===this._quoteMark)return;this._value=B,this._quoteMark=te,this._syncRawValue()}else this._value=A}},{key:"insensitive",get:function(){return this._insensitive},set:function(A){A||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag==="I"||this.raws.insensitiveFlag==="i")&&(this.raws.insensitiveFlag=void 0)),this._insensitive=A}},{key:"attribute",get:function(){return this._attribute},set:function(A){this._handleEscapes("attribute",A),this._attribute=A}}]),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}}),NM=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(kk()),n=vt();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}),zM=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=vt();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}),EM=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=i(nn()),n=vt();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}),jU=Y((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}),PM=Y(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 z=92;e.backslash=z;var A=13;e.cr=A;var L=12;e.feed=L;var E=10;e.newline=E;var B=9;e.tab=B;var te=x;e.str=te;var re=-1;e.comment=re;var we=-2;e.word=we;var pe=-3;e.combinator=pe}),DU=Y(e=>{"use strict";e.__esModule=!0,e.FIELDS=void 0,e.default=v;var t=o(PM()),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,z=0,A,L,E,B,te,re,we,pe,ae,$e,qe,Ct,We;function G(K,M){if(h.safe)g+=M,ae=g.length-1;else throw h.error("Unclosed "+K,k,S-w,S)}for(;S<x;){switch(A=g.charCodeAt(S),A===t.newline&&(w=S,k+=1),A){case t.space:case t.tab:case t.newline:case t.cr:case t.feed:ae=S;do ae+=1,A=g.charCodeAt(ae),A===t.newline&&(w=ae,k+=1);while(A===t.space||A===t.newline||A===t.tab||A===t.cr||A===t.feed);We=t.space,B=k,E=ae-w-1,z=ae;break;case t.plus:case t.greaterThan:case t.tilde:case t.pipe:ae=S;do ae+=1,A=g.charCodeAt(ae);while(A===t.plus||A===t.greaterThan||A===t.tilde||A===t.pipe);We=t.combinator,B=k,E=S-w,z=ae;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:ae=S,We=A,B=k,E=S-w,z=ae+1;break;case t.singleQuote:case t.doubleQuote:Ct=A===t.singleQuote?"'":'"',ae=S;do for(te=!1,ae=g.indexOf(Ct,ae+1),ae===-1&&G("quote",Ct),re=ae;g.charCodeAt(re-1)===t.backslash;)re-=1,te=!te;while(te);We=t.str,B=k,E=S-w,z=ae+1;break;default:A===t.slash&&g.charCodeAt(S+1)===t.asterisk?(ae=g.indexOf("*/",S+2)+1,ae===0&&G("comment","*/"),L=g.slice(S,ae+1),pe=L.split(`
|
|
36
|
+
`),we=pe.length-1,we>0?($e=k+we,qe=ae-pe[we].length):($e=k,qe=w),We=t.comment,k=$e,B=$e,E=ae-qe):A===t.slash?(ae=S,We=A,B=k,E=S-w,z=ae+1):(ae=d(g,S),We=t.word,B=k,E=ae-w),z=ae+1;break}b.push([We,k,S-w,B,E,S,z]),qe&&(w=qe,qe=null),S=z}return b}}),LU=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=z(bM()),n=z(vM()),i=z(yM()),o=z(wM()),a=z(kM()),s=z(xM()),l=z(SM()),u=z(CM()),c=S(AM()),d=z(NM()),p=z(zM()),m=z(EM()),v=z(jU()),h=S(DU()),b=S(PM()),g=S(vt()),f=yh(),x,w;function k(G){if(typeof WeakMap!="function")return null;var K=new WeakMap,M=new WeakMap;return(k=function(W){return W?M:K})(G)}function S(G,K){if(!K&&G&&G.__esModule)return G;if(G===null||typeof G!="object"&&typeof G!="function")return{default:G};var M=k(K);if(M&&M.has(G))return M.get(G);var W={},J=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var F in G)if(F!=="default"&&Object.prototype.hasOwnProperty.call(G,F)){var X=J?Object.getOwnPropertyDescriptor(G,F):null;X&&(X.get||X.set)?Object.defineProperty(W,F,X):W[F]=G[F]}return W.default=G,M&&M.set(G,W),W}function z(G){return G&&G.__esModule?G:{default:G}}function A(G,K){for(var M=0;M<K.length;M++){var W=K[M];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(G,W.key,W)}}function L(G,K,M){return K&&A(G.prototype,K),M&&A(G,M),Object.defineProperty(G,"prototype",{writable:!1}),G}var E=(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({},E,(w={},w[b.comment]=!0,w));function te(G){return{line:G[h.FIELDS.START_LINE],column:G[h.FIELDS.START_COL]}}function re(G){return{line:G[h.FIELDS.END_LINE],column:G[h.FIELDS.END_COL]}}function we(G,K,M,W){return{start:{line:G,column:K},end:{line:M,column:W}}}function pe(G){return we(G[h.FIELDS.START_LINE],G[h.FIELDS.START_COL],G[h.FIELDS.END_LINE],G[h.FIELDS.END_COL])}function ae(G,K){if(G)return we(G[h.FIELDS.START_LINE],G[h.FIELDS.START_COL],K[h.FIELDS.END_LINE],K[h.FIELDS.END_COL])}function $e(G,K){var M=G[K];if(typeof M=="string")return M.indexOf("\\")!==-1&&((0,f.ensureObject)(G,"raws"),G[K]=(0,f.unesc)(M),G.raws[K]===void 0&&(G.raws[K]=M)),G}function qe(G,K){for(var M=-1,W=[];(M=G.indexOf(K,M+1))!==-1;)W.push(M);return W}function Ct(){var G=Array.prototype.concat.apply([],arguments);return G.filter(function(K,M){return M===G.indexOf(K)})}var We=(function(){function G(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 J=ae(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new r.default({source:J}),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 K=G.prototype;return K._errorGenerator=function(){var M=this;return function(W,J){return typeof M.rule=="string"?new Error(W):M.rule.error(W,J)}},K.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 J=M.length,F={source:we(W[1],W[2],this.currToken[3],this.currToken[4]),sourceIndex:W[h.FIELDS.START_POS]};if(J===1&&!~[b.word].indexOf(M[0][h.FIELDS.TYPE]))return this.expected("attribute",M[0][h.FIELDS.START_POS]);for(var X=0,me="",ve="",oe=null,Fe=!1;X<J;){var nt=M[X],be=this.content(nt),_e=M[X+1];switch(nt[h.FIELDS.TYPE]){case b.space:if(Fe=!0,this.options.lossy)break;if(oe){(0,f.ensureObject)(F,"spaces",oe);var jr=F.spaces[oe].after||"";F.spaces[oe].after=jr+be;var mr=(0,f.getProp)(F,"raws","spaces",oe,"after")||null;mr&&(F.raws.spaces[oe].after=mr+be)}else me=me+be,ve=ve+be;break;case b.asterisk:if(_e[h.FIELDS.TYPE]===b.equals)F.operator=be,oe="operator";else if((!F.namespace||oe==="namespace"&&!Fe)&&_e){me&&((0,f.ensureObject)(F,"spaces","attribute"),F.spaces.attribute.before=me,me=""),ve&&((0,f.ensureObject)(F,"raws","spaces","attribute"),F.raws.spaces.attribute.before=me,ve=""),F.namespace=(F.namespace||"")+be;var Tt=(0,f.getProp)(F,"raws","namespace")||null;Tt&&(F.raws.namespace+=be),oe="namespace"}Fe=!1;break;case b.dollar:if(oe==="value"){var mt=(0,f.getProp)(F,"raws","value");F.value+="$",mt&&(F.raws.value=mt+"$");break}case b.caret:_e[h.FIELDS.TYPE]===b.equals&&(F.operator=be,oe="operator"),Fe=!1;break;case b.combinator:if(be==="~"&&_e[h.FIELDS.TYPE]===b.equals&&(F.operator=be,oe="operator"),be!=="|"){Fe=!1;break}_e[h.FIELDS.TYPE]===b.equals?(F.operator=be,oe="operator"):!F.namespace&&!F.attribute&&(F.namespace=!0),Fe=!1;break;case b.word:if(_e&&this.content(_e)==="|"&&M[X+2]&&M[X+2][h.FIELDS.TYPE]!==b.equals&&!F.operator&&!F.namespace)F.namespace=be,oe="namespace";else if(!F.attribute||oe==="attribute"&&!Fe){me&&((0,f.ensureObject)(F,"spaces","attribute"),F.spaces.attribute.before=me,me=""),ve&&((0,f.ensureObject)(F,"raws","spaces","attribute"),F.raws.spaces.attribute.before=ve,ve=""),F.attribute=(F.attribute||"")+be;var Xt=(0,f.getProp)(F,"raws","attribute")||null;Xt&&(F.raws.attribute+=be),oe="attribute"}else if(!F.value&&F.value!==""||oe==="value"&&!(Fe||F.quoteMark)){var Zt=(0,f.unesc)(be),qr=(0,f.getProp)(F,"raws","value")||"",Sd=F.value||"";F.value=Sd+Zt,F.quoteMark=null,(Zt!==be||qr)&&((0,f.ensureObject)(F,"raws"),F.raws.value=(qr||Sd)+be),oe="value"}else{var Cd=be==="i"||be==="I";(F.value||F.value==="")&&(F.quoteMark||Fe)?(F.insensitive=Cd,(!Cd||be==="I")&&((0,f.ensureObject)(F,"raws"),F.raws.insensitiveFlag=be),oe="insensitive",me&&((0,f.ensureObject)(F,"spaces","insensitive"),F.spaces.insensitive.before=me,me=""),ve&&((0,f.ensureObject)(F,"raws","spaces","insensitive"),F.raws.spaces.insensitive.before=ve,ve="")):(F.value||F.value==="")&&(oe="value",F.value+=be,F.raws.value&&(F.raws.value+=be))}Fe=!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 no=(0,c.unescapeValue)(be),J5=no.unescaped,X5=no.quoteMark;F.value=J5,F.quoteMark=X5,oe="value",(0,f.ensureObject)(F,"raws"),F.raws.value=be,Fe=!1;break;case b.equals:if(!F.attribute)return this.expected("attribute",nt[h.FIELDS.START_POS],be);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+be:be,oe="operator",Fe=!1;break;case b.comment:if(oe)if(Fe||_e&&_e[h.FIELDS.TYPE]===b.space||oe==="insensitive"){var Z5=(0,f.getProp)(F,"spaces",oe,"after")||"",e6=(0,f.getProp)(F,"raws","spaces",oe,"after")||Z5;(0,f.ensureObject)(F,"raws","spaces",oe),F.raws.spaces[oe].after=e6+be}else{var t6=F[oe]||"",r6=(0,f.getProp)(F,"raws",oe)||t6;(0,f.ensureObject)(F,"raws"),F.raws[oe]=r6+be}else ve=ve+be;break;default:return this.error('Unexpected "'+be+'" found.',{index:nt[h.FIELDS.START_POS]})}X++}$e(F,"attribute"),$e(F,"namespace"),this.newNode(new c.default(F)),this.position++},K.parseWhitespaceEquivalentTokens=function(M){M<0&&(M=this.tokens.length);var W=this.position,J=[],F="",X=void 0;do if(E[this.currToken[h.FIELDS.TYPE]])this.options.lossy||(F+=this.content());else if(this.currToken[h.FIELDS.TYPE]===b.comment){var me={};F&&(me.before=F,F=""),X=new o.default({value:this.content(),source:pe(this.currToken),sourceIndex:this.currToken[h.FIELDS.START_POS],spaces:me}),J.push(X)}while(++this.position<M);if(F){if(X)X.spaces.after=F;else if(!this.options.lossy){var ve=this.tokens[W],oe=this.tokens[this.position-1];J.push(new l.default({value:"",source:we(ve[h.FIELDS.START_LINE],ve[h.FIELDS.START_COL],oe[h.FIELDS.END_LINE],oe[h.FIELDS.END_COL]),sourceIndex:ve[h.FIELDS.START_POS],spaces:{before:F,after:""}}))}}return J},K.convertWhitespaceNodesToSpace=function(M,W){var J=this;W===void 0&&(W=!1);var F="",X="";M.forEach(function(ve){var oe=J.lossySpace(ve.spaces.before,W),Fe=J.lossySpace(ve.rawSpaceBefore,W);F+=oe+J.lossySpace(ve.spaces.after,W&&oe.length===0),X+=oe+ve.value+J.lossySpace(ve.rawSpaceAfter,W&&Fe.length===0)}),X===F&&(X=void 0);var me={space:F,rawSpace:X};return me},K.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},K.namedCombinator=function(){if(this.isNamedCombinator()){var M=this.content(this.tokens[this.position+1]),W=(0,f.unesc)(M).toLowerCase(),J={};W!==M&&(J.value="/"+M+"/");var F=new p.default({value:"/"+W+"/",source:we(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:J});return this.position=this.position+3,F}else this.unexpected()},K.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 J=this.parseWhitespaceEquivalentTokens(W);if(J.length>0){var F=this.current.last;if(F){var X=this.convertWhitespaceNodesToSpace(J),me=X.space,ve=X.rawSpace;ve!==void 0&&(F.rawSpaceAfter+=ve),F.spaces.after+=me}else J.forEach(function(qr){return M.newNode(qr)})}return}var oe=this.currToken,Fe=void 0;W>this.position&&(Fe=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:pe(this.currToken),sourceIndex:this.currToken[h.FIELDS.START_POS]}),this.position++):E[this.currToken[h.FIELDS.TYPE]]||Fe||this.unexpected(),nt){if(Fe){var be=this.convertWhitespaceNodesToSpace(Fe),_e=be.space,jr=be.rawSpace;nt.spaces.before=_e,nt.rawSpaceBefore=jr}}else{var mr=this.convertWhitespaceNodesToSpace(Fe,!0),Tt=mr.space,mt=mr.rawSpace;mt||(mt=Tt);var Xt={},Zt={spaces:{}};Tt.endsWith(" ")&&mt.endsWith(" ")?(Xt.before=Tt.slice(0,Tt.length-1),Zt.spaces.before=mt.slice(0,mt.length-1)):Tt[0]===" "&&mt[0]===" "?(Xt.after=Tt.slice(1),Zt.spaces.after=mt.slice(1)):Zt.value=mt,nt=new p.default({value:" ",source:ae(oe,this.tokens[this.position-1]),sourceIndex:oe[h.FIELDS.START_POS],spaces:Xt,raws:Zt})}return this.currToken&&this.currToken[h.FIELDS.TYPE]===b.space&&(nt.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(nt)},K.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:te(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++},K.comment=function(){var M=this.currToken;this.newNode(new o.default({value:this.content(),source:pe(M),sourceIndex:M[h.FIELDS.START_POS]})),this.position++},K.error=function(M,W){throw this.root.error(M,W)},K.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[h.FIELDS.START_POS]})},K.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[h.FIELDS.START_POS])},K.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[h.FIELDS.START_POS])},K.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[h.FIELDS.START_POS])},K.unexpectedPipe=function(){return this.error("Unexpected '|'.",this.currToken[h.FIELDS.START_POS])},K.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()},K.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:pe(W),sourceIndex:W[h.FIELDS.START_POS]})),this.position++},K.parentheses=function(){var M=this.current.last,W=1;if(this.position++,M&&M.type===g.PSEUDO){var J=new n.default({source:{start:te(this.tokens[this.position])},sourceIndex:this.tokens[this.position][h.FIELDS.START_POS]}),F=this.current;for(M.append(J),this.current=J;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=re(this.currToken),this.current.parent.source.end=re(this.currToken),this.position++);this.current=F}else{for(var X=this.currToken,me="(",ve;this.position<this.tokens.length&&W;)this.currToken[h.FIELDS.TYPE]===b.openParenthesis&&W++,this.currToken[h.FIELDS.TYPE]===b.closeParenthesis&&W--,ve=this.currToken,me+=this.parseParenthesisToken(this.currToken),this.position++;M?M.appendToPropertyAndEscape("value",me,me):this.newNode(new l.default({value:me,source:we(X[h.FIELDS.START_LINE],X[h.FIELDS.START_COL],ve[h.FIELDS.END_LINE],ve[h.FIELDS.END_COL]),sourceIndex:X[h.FIELDS.START_POS]}))}if(W)return this.expected("closing parenthesis",this.currToken[h.FIELDS.START_POS])},K.pseudo=function(){for(var M=this,W="",J=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,X){W+=F,M.newNode(new u.default({value:W,source:ae(J,M.currToken),sourceIndex:J[h.FIELDS.START_POS]})),X>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])},K.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()},K.string=function(){var M=this.currToken;this.newNode(new l.default({value:this.content(),source:pe(M),sourceIndex:M[h.FIELDS.START_POS]})),this.position++},K.universal=function(M){var W=this.nextToken;if(W&&this.content(W)==="|")return this.position++,this.namespace();var J=this.currToken;this.newNode(new d.default({value:this.content(),source:pe(J),sourceIndex:J[h.FIELDS.START_POS]}),M),this.position++},K.splitWord=function(M,W){for(var J=this,F=this.nextToken,X=this.content();F&&~[b.dollar,b.caret,b.equals,b.word].indexOf(F[h.FIELDS.TYPE]);){this.position++;var me=this.content();if(X+=me,me.lastIndexOf("\\")===me.length-1){var ve=this.nextToken;ve&&ve[h.FIELDS.TYPE]===b.space&&(X+=this.requiredSpace(this.content(ve)),this.position++)}F=this.nextToken}var oe=qe(X,".").filter(function(_e){var jr=X[_e-1]==="\\",mr=/^\d+\.\d+%$/.test(X);return!jr&&!mr}),Fe=qe(X,"#").filter(function(_e){return X[_e-1]!=="\\"}),nt=qe(X,"#{");nt.length&&(Fe=Fe.filter(function(_e){return!~nt.indexOf(_e)}));var be=(0,v.default)(Ct([0].concat(oe,Fe)));be.forEach(function(_e,jr){var mr=be[jr+1]||X.length,Tt=X.slice(_e,mr);if(jr===0&&W)return W.call(J,Tt,be.length);var mt,Xt=J.currToken,Zt=Xt[h.FIELDS.START_POS]+be[jr],qr=we(Xt[1],Xt[2]+_e,Xt[3],Xt[2]+(mr-1));if(~oe.indexOf(_e)){var Sd={value:Tt.slice(1),source:qr,sourceIndex:Zt};mt=new i.default($e(Sd,"value"))}else if(~Fe.indexOf(_e)){var Cd={value:Tt.slice(1),source:qr,sourceIndex:Zt};mt=new a.default($e(Cd,"value"))}else{var no={value:Tt,source:qr,sourceIndex:Zt};$e(no,"value"),mt=new s.default(no)}J.newNode(mt,M),M=null}),this.position++},K.word=function(M){var W=this.nextToken;return W&&this.content(W)==="|"?(this.position++,this.namespace()):this.splitWord(M)},K.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},K.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()}},K.expected=function(M,W,J){if(Array.isArray(M)){var F=M.pop();M=M.join(", ")+" or "+F}var X=/^[aeiou]/.test(M[0])?"an":"a";return J?this.error("Expected "+X+" "+M+', found "'+J+'" instead.',{index:W}):this.error("Expected "+X+" "+M+".",{index:W})},K.requiredSpace=function(M){return this.options.lossy?" ":M},K.optionalSpace=function(M){return this.options.lossy?"":M},K.lossySpace=function(M,W){return this.options.lossy?W?" ":"":M},K.parseParenthesisToken=function(M){var W=this.content(M);return M[h.FIELDS.TYPE]===b.space?this.requiredSpace(W):W},K.newNode=function(M,W){return W&&(/^ +$/.test(W)&&(this.options.lossy||(this.spaces=(this.spaces||"")+W),W=!0),M.namespace=W,$e(M,"namespace")),this.spaces&&(M.spaces.before=this.spaces,this.spaces=""),this.current.append(M)},K.content=function(M){return M===void 0&&(M=this.currToken),this.css.slice(M[h.FIELDS.START_POS],M[h.FIELDS.END_POS])},K.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},L(G,[{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]}}]),G})();e.default=We,t.exports=e.default}),FU=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=n(LU());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}),MU=Y(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(AM()),r=m(yM()),n=m(zM()),i=m(wM()),o=m(kM()),a=m(EM()),s=m(CM()),l=m(bM()),u=m(vM()),c=m(SM()),d=m(xM()),p=m(NM());function m(E){return E&&E.__esModule?E:{default:E}}var v=function(E){return new t.default(E)};e.attribute=v;var h=function(E){return new r.default(E)};e.className=h;var b=function(E){return new n.default(E)};e.combinator=b;var g=function(E){return new i.default(E)};e.comment=g;var f=function(E){return new o.default(E)};e.id=f;var x=function(E){return new a.default(E)};e.nesting=x;var w=function(E){return new s.default(E)};e.pseudo=w;var k=function(E){return new l.default(E)};e.root=k;var S=function(E){return new u.default(E)};e.selector=S;var z=function(E){return new c.default(E)};e.string=z;var A=function(E){return new d.default(E)};e.tag=A;var L=function(E){return new p.default(E)};e.universal=L}),RU=Y(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=vt(),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,z){return i(z)&&z.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)}}),$U=Y(e=>{"use strict";e.__esModule=!0;var t=vt();Object.keys(t).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===t[i]||(e[i]=t[i])});var r=MU();Object.keys(r).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===r[i]||(e[i]=r[i])});var n=RU();Object.keys(n).forEach(function(i){i==="default"||i==="__esModule"||i in e&&e[i]===n[i]||(e[i]=n[i])})}),lt=Y((e,t)=>{"use strict";e.__esModule=!0,e.default=void 0;var r=a(FU()),n=o($U());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 ot(e){var l,u;let t=e.nodes.findIndex(c=>!Ny(c)),r=e.nodes.findLastIndex(c=>!Ny(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 nC,Ny,St=y(()=>{nC=Z(lt(),1),{isComment:Ny}=nC.default});function Se(e,t,r){if(e)try{return(0,OM.default)().astSync(e)}catch(n){t.warn(`Cannot parse selector (${n})`,{node:r,stylelintType:"parseError"});return}}var OM,Ae=y(()=>{OM=Z(lt(),1)}),IM={};N(IM,{default:()=>TM});var ys,Ng,iC,ws,TM,BU=y(()=>{V(),ye(),St(),de(),Ae(),O(),T(),D(),ys="keyframe-block-no-duplicate-selectors",Ng=I(ys,{rejected:e=>`Duplicate keyframe selector "${e}"`}),iC={url:"https://stylelint.io/user-guide/rules/keyframe-block-no-duplicate-selectors"},ws=e=>(t,r)=>{j(r,ys,{actual:e})&&t.walkAtRules(xe.keyframesName,n=>{let i=new Set;n.walkRules(o=>{var a;ce(o)&&((a=Se(he(o),r,o))==null||a.each(s=>{let{selector:l,index:u,endIndex:c}=ot(s),d=l.toLowerCase();if(i.has(d)){P({message:Ng.rejected,messageArgs:[l],node:o,result:r,ruleName:ys,index:u,endIndex:c});return}i.add(d)}))})})},ws.ruleName=ys,ws.messages=Ng,ws.meta=iC,TM=ws}),jM={};N(jM,{default:()=>DM});var ks,zg,oC,xs,DM,qU=y(()=>{q(),V(),AL(),O(),T(),D(),ks="keyframe-declaration-no-important",zg=I(ks,{rejected:"Disallowed !important"}),oC={url:"https://stylelint.io/user-guide/rules/keyframe-declaration-no-important"},xs=e=>(t,r)=>{j(r,ks,{actual:e})&&t.walkAtRules(xe.keyframesName,n=>{n.walkDecls(i=>{if(!i.important)return;let o=CL(i.toString());Ve(o),P({message:zg.rejected,messageArgs:[],node:i,index:o.index,endIndex:o.endIndex,result:r,ruleName:ks})})})},xs.ruleName=ks,xs.messages=zg,xs.meta=oC,DM=xs}),LM={};N(LM,{default:()=>FM});function WU(e){let t=e.nodes.filter(i=>!($p.default.isComment(i)||$p.default.isCombinator(i)&&i.value.trim()===""));if(t.length!==1||!t.every($p.default.isTag))return;let r=t[0];if(!r)return;let n=r.value.toLowerCase();if(!(!Ti.has(n)&&!Pc.has(n)))return[r,n]}function Eg(e,t){let r=e.get(t);return Vi(r),r}function _U(e){let t=[];return e.walkRules(r=>{t.push(...r.selectors.map(n=>n.toLowerCase()))}),t}var $p,Ss,Pg,aC,sC,Og,Cs,FM,UU=y(()=>{q(),Je(),V(),ye(),Ae(),$p=Z(lt(),1),Wt(),O(),T(),D(),Ss="keyframe-selector-notation",Pg=I(Ss,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),aC={url:"https://stylelint.io/user-guide/rules/keyframe-selector-notation",fixable:!0},sC=new Map([["0%","from"],["100%","to"]]),Og=new Map([["from","0%"],["to","100%"]]),Cs=e=>(t,r)=>{if(!j(r,Ss,{actual:e,possible:["keyword","percentage","percentage-unless-within-keyword-only-block"]}))return;let n={keyword:{expFunc:s=>Ti.has(s),fixFunc:s=>Eg(sC,s)},percentage:{expFunc:s=>Pc.has(s),fixFunc:s=>Eg(Og,s)},"percentage-unless-within-keyword-only-block":{expFunc:(s,l)=>l.every(u=>Ti.has(u))?!0:Pc.has(s),fixFunc:s=>Eg(Og,s)}},{expFunc:i,fixFunc:o}=n[e],a;e==="keyword"?a=Q.percentageKeyframeSelectorWithNamedEquivalent:e==="percentage"?a=Q.namedKeyframeSelectorWithPercentageEquivalent:a=/./,t.walkAtRules(xe.keyframesName,s=>{let l=e==="percentage-unless-within-keyword-only-block"?_U(s):[];s.walkRules(a,u=>{let c=he(u),d=Se(c,r,u);d&&d.each(p=>{let m=WU(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:Pg.expected,messageArgs:[v.value,b],node:u,result:r,ruleName:Ss,index:v.sourceIndex,endIndex:v.sourceIndex+h.length,fix:{apply:g,node:u}})})})})},Cs.ruleName=Ss,Cs.messages=Pg,Cs.meta=aC,FM=Cs});function VU(e){return!jm(e)}var QU=y(()=>{Dm()}),MM={};N(MM,{default:()=>RM});var As,Ig,lC,Ns,RM,GU=y(()=>{q(),ee(),V(),QU(),O(),T(),D(),As="keyframes-name-pattern",Ig=I(As,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),lC={url:"https://stylelint.io/user-guide/rules/keyframes-name-pattern"},Ns=e=>(t,r)=>{if(!j(r,As,{actual:e,possible:[U,$]}))return;let n=$(e)?new RegExp(e):e;t.walkAtRules(xe.keyframesName,i=>{let o=i.params;if(!VU(o)||n.test(o))return;let a=Te(i),s=a+o.length;P({index:a,endIndex:s,message:Ig.expected,messageArgs:[o,e],node:i,ruleName:As,result:r})})},Ns.ruleName=As,Ns.messages=Ig,Ns.meta=lC,RM=Ns}),$M={};N($M,{default:()=>BM});var Tg,zs,jg,uC,Es,BM,YU=y(()=>{Tg=Z(fe(),1),V(),q(),ee(),O(),T(),D(),zs="layer-name-pattern",jg=I(zs,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),uC={url:"https://stylelint.io/user-guide/rules/layer-name-pattern"},Es=e=>(t,r)=>{if(!j(r,zs,{actual:e,possible:[U,$]}))return;let n=$(e)?new RegExp(e):e;t.walkAtRules(xe.layerName,o=>{let{params:a}=o;a&&(0,Tg.default)(a).walk(s=>{i(s.type,s.value,s.sourceIndex,o)})}),t.walkAtRules(xe.importName,o=>{let{params:a}=o;Q.layerFunction.test(a)&&(0,Tg.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=Te(l)+s,c=u+a.length;P({message:jg.expected,messageArgs:[a,e],node:l,index:u,endIndex:c,ruleName:zs,result:r})}},Es.ruleName=zs,Es.messages=jg,Es.meta=uC,BM=Es});function KU(e){return e.type==="function"&&Ki.has(e.value.toLowerCase())}var HU=y(()=>{Er()}),qM={};N(qM,{default:()=>WM});function JU({prop:e},t,r){let n=t[r-1];return e.toLowerCase()==="font"&&n&&n.type==="div"&&n.value==="/"}function XU(e){return e.toLowerCase()==="line-height"}function ZU(e){return e.toLowerCase()==="flex"}function eV(e){return ji.has(e.toLowerCase())}function tV(e){return e.toLowerCase()==="fr"}function rV(e){return Number.parseFloat(e)===0}function nV(e){return e===""}var bp,Ps,Dg,cC,Os,WM,iV=y(()=>{bp=Z(fe(),1),ee(),ge(),q(),st(),Ye(),dr(),HU(),et(),bt(),Jc(),V(),H(),O(),T(),mM(),qt(),D(),Ps="length-zero-no-unit",Dg=I(Ps,{rejected:"Disallowed unit"}),cC={url:"https://stylelint.io/user-guide/rules/length-zero-no-unit",fixable:!0},Os=(e,t)=>(r,n)=>{if(!j(n,Ps,{actual:e},{actual:t,possible:{ignore:["custom-properties"],ignoreFunctions:[$,U],ignorePreludeOfAtRules:[$,U]},optional:!0}))return;function i(s,l,u,c){let{value:d,sourceIndex:p}=u;if(KU(u)||An(u)&&R(t,"ignoreFunctions",d))return!1;if(!Lm(u))return;let m=bp.default.unit(d);if(m===!1)return;let{number:v,unit:h}=m;if(!rV(v)||nV(h)||!eV(h)||tV(h))return;let b=()=>{switch(u.value=v.startsWith(".")?v.slice(1):v,s.type){case"atrule":pM(s,c.toString());break;case"decl":Bt(s,c.toString());break}},g=l+p+v.length,f=g+h.length;P({index:g,endIndex:f,message:Dg.rejected,messageArgs:[],node:s,result:n,ruleName:Ps,fix:{apply:b,node:s}})}function o(s){if(!Q.zeroLength.test(s.params)||!Ze(s)||R(t,"ignorePreludeOfAtRules",s.name))return;let l=Te(s),u=(0,bp.default)(at(s));u.walk(c=>i(s,l,c,u))}function a(s){let{prop:l,value:u}=s;if(!Q.zeroLength.test(u)||!gt(s)||XU(l)||ZU(l)||R(t,"ignore","custom-properties")&&ft(l))return;let c=ie(s),d=(0,bp.default)(Ge(s));d.walk((p,m,v)=>{if(!JU(s,v,m))return i(s,c,p,d)})}r.walkAtRules(o),r.walkDecls(a)},Os.ruleName=Ps,Os.messages=Dg,Os.meta=cC,WM=Os}),_M={};N(_M,{default:()=>VM});function oV(e,t){let r=Number.parseFloat(e);return kv.has(t)?`${r}%`:(Jp.has(t)&&(r*=100),Number.isInteger(r)?`${r}%`:`${UM(r,e)}%`)}function aV(e,t){let r=Number.parseFloat(e);return Jp.has(t)?(r/=100,`${UM(r,e)}`):`${r}`}function UM(e,t){if(e===0)return"0";let r=t.replaceAll("%","").replaceAll(".","").length;return r===0?`${e}`:e.toPrecision(r).replace(/\.?0+$/,"")}function sV({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 Lg,Is,Fg,dC,Ts,VM,lV=y(()=>{Lg=Z(fe(),1),Er(),ee(),Ye(),Be(),V(),O(),T(),qt(),D(),Is="lightness-notation",Fg=I(Is,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),dC={url:"https://stylelint.io/user-guide/rules/lightness-notation",fixable:!0},Ts=e=>(t,r)=>{j(r,Is,{actual:e,possible:["percentage","number"]})&&t.walkDecls(n=>{if(!Q.lightnessColorFunction.test(n.value))return;let i=(0,Lg.default)(Ge(n));i.walk(o=>{if(o.type!=="function")return;let a=o.value.toLowerCase();if(!fw.has(a))return;let s=sV(o);if(!s)return;let{value:l}=s;if(!Re(l))return;let u=Lg.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"?oV(l,a):aV(l,a),m=ie(n),v=()=>{s.value=p,Bt(n,i.toString())};P({message:Fg.expected,messageArgs:[l,p],node:n,index:m+s.sourceIndex,endIndex:m+s.sourceEndIndex,result:r,ruleName:Is,fix:{apply:v,node:n}})})})},Ts.ruleName=Is,Ts.messages=Fg,Ts.meta=dC,VM=Ts}),QM={};N(QM,{default:()=>GM});function pC(e){return e.startsWith("&:")&&e[2]!==":"?e.slice(2):void 0}var mC,js,Mg,hC,Ds,GM,uV=y(()=>{mC=Z(lt(),1),ge(),q(),Rm(),de(),H(),O(),T(),D(),js="max-nesting-depth",Mg=I(js,{expected:e=>`Too deep nesting, maximum ${e}`}),hC={url:"https://stylelint.io/user-guide/rules/max-nesting-depth"},Ds=(e,t)=>{let r=o=>Ie(o)&&R(t,"ignoreAtRules",o.name),n=o=>ut(o)&&R(t,"ignoreRules",o.selector);return(o,a)=>{if(!j(a,js,{actual:e,possible:[xr]},{optional:!0,actual:t,possible:{ignore:["blockless-at-rules","pseudo-classes"],ignoreAtRules:[$,U],ignoreRules:[$,U],ignorePseudoClasses:[$,U]}}))return;o.walkRules(s),o.walkAtRules(s);function s(l){r(l)||n(l)||!Dc(l)||ut(l)&&!ce(l)||i(l,0)>e&&P({ruleName:js,result:a,node:l,message:Mg.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,mC.default)().processSync(c,{lossless:!1}).split(",").filter(d=>!R(t,"ignoreRules",d)).every(d=>pC(d))}function u(c){return t&&(t.ignorePseudoClasses||t.ignoreRules)?c.every(d=>{if(t.ignoreRules&&R(t,"ignoreRules",d))return!0;if(!t.ignorePseudoClasses)return!1;let p=pC(d);return p?R(t,"ignorePseudoClasses",p):!1}):!1}return R(t,"ignore","blockless-at-rules")&&Ie(o)&&o.every(c=>!Qi(c))||R(t,"ignore","pseudo-classes")&&ut(o)&&l(o.selector)||ut(o)&&u(o.selectors)?i(s,a):i(s,a+1)}},Ds.ruleName=js,Ds.messages=Mg,Ds.meta=hC,GM=Ds});function YM(e){return!!(le(e)&&Ne(e.value)||Ke(e)&&s3.has(e.getName().toLowerCase()))}function cV(e){return le(e)&&Ee(e.value)}function yd(e){return le(e)&&Ue(e.value)}function dV(e){return Ke(e)&&e.getName().toLowerCase()==="env"}function wc(e){let t=-1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type!==Oe.Whitespace&&n.type!==Oe.Comment){if(!yd(n)||t!==-1)return!1;t=r}}return t!==-1&&new Ck(e[t],e.slice(0,t).flatMap(r=>r.tokens()),e.slice(t+1).flatMap(r=>r.tokens()))}function pV(e){let t=wc(e);return t===!1?t:new Ak(t)}function dc(e,t=!1){let r=-1,n=-1;for(let i=0;i<e.length;i++){let o=e[i];if(o.type!==Oe.Whitespace&&o.type!==Oe.Comment){if(r!==-1)return!1;if(YM(o)){let a=KM(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(dV(o))r=i,n=i;else if(cV(o))r=i,n=i;else{if(t||!yd(o))return!1;r=i,n=i}}}return r!==-1&&new Nk(e.slice(r,n+1),e.slice(0,r).flatMap(i=>i.tokens()),e.slice(n+1).flatMap(i=>i.tokens()))}function KM(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(!Et(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(!Et(i)){if(le(i)){let o=i.value;if(Rt(o)&&o[4].value==="/"){if(t===-1||r!==-1)return-1;r=n;continue}}if(!YM(i))return-1;if(r!==-1)return[t,n];if(t!==-1)return-1;t=n}}return-1}function hV(e){let t=[],r=[],n=null;for(let a=0;a<e.length;a++){let s=e[a];if(s.type===Oe.Token){let l=s.value;if(_L(l)){t=e.slice(0,a),r=e.slice(a+1),n=l;break}}}if(!t.length||!r.length||!n)return!1;let i=wc(t);if(i===!1)return!1;let o=dc(r);return o!==!1&&new zk(i,n,o)}function fV(e){let t=-1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type===Oe.Token){let i=n.value;if(Rt(i)){if(i[4].value===Hr.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 ki(e){if(e.length!==1&&e.length!==2||!Rt(e[0]))return!1;if(e.length===1)switch(e[0][4].value){case Hr.EQ:return Hr.EQ;case or.LT:return or.LT;case ar.GT:return ar.GT;default:return!1}if(!Rt(e[1])||e[1][4].value!==Hr.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===Oe.Token){let m=p.value;if(Rt(m)){let v=fV(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=wc(d);if(m){let h=dc(p,!0);return!!h&&new kh(m,n,h)}let v=wc(p);if(v){let h=dc(d,!0);return!!h&&new Ek(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=dc(o,!0),u=wc(a),c=dc(s,!0);if(!l||!u||!c)return!1;{let d=ki(n);if(d===!1||d===Hr.EQ)return!1;let p=ki(i);if(p===!1||p===Hr.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 Pk(u,l,n,c,i)}function HM(e,t=[],r=[]){if(!to(e.startToken))return!1;let n=pV(e.value);if(n!==!1)return new kc(n,t,r);let i=hV(e.value);if(i!==!1)return new kc(i,t,r);let o=gV(e.value);return o!==!1&&new kc(o,t,r)}function fC(e){if(!Ue(e))return!1;switch(e[4].value.toLowerCase()){case Si.Not:return Si.Not;case Si.Only:return Si.Only;default:return!1}}function bV(e){{let t=xk(e);if(t!==!1)return new Bp(t)}{let t=-1,r=-1,n=-1;for(let s=0;s<e.length;s++){let l=e[s];if(!Uc(l)&&!pk(l)){if(le(l)){let u=l.value;if(t===-1&&Ue(u)&&fC(u)){t=s;continue}if(r===-1&&Ue(u)&&!fC(u)){r=s;continue}if(n===-1&&Ue(u)&&Ok.test(u[4].value)){if(n=s,gC(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=gC(e.slice(Math.max(t,r,n)+1));return a===!1?new Gc(i,[...o,...e.slice(r+1).flatMap(s=>s.tokens())]):new Gc(i,o,e.slice(r+1,n+1).flatMap(s=>s.tokens()),a)}}function vV(e){let t=!1,r=[],n=-1,i=-1;for(let o=0;o<e.length;o++){if(t){let s=yV(e.slice(o));if(s!==!1){o+=s.advance,r.push(s.node),i=o;continue}}let a=e[o];if(a.type!==Oe.Whitespace&&a.type!==Oe.Comment){if(t||t!==!1||!Tr(a)||(a.normalize(),t=wd(a),t===!1))return!1;n=o}}return!(!t||!r.length)&&new a3(t,r,e.slice(0,n).flatMap(o=>o.tokens()),e.slice(i+1).flatMap(o=>o.tokens()))}function JM(e){let t=!1,r=[],n=-1,i=-1;for(let o=0;o<e.length;o++){if(t){let s=wV(e.slice(o));if(s!==!1){o+=s.advance,r.push(s.node),i=o;continue}}let a=e[o];if(a.type!==Oe.Whitespace&&a.type!==Oe.Comment){if(t||t!==!1||!Tr(a)||(a.normalize(),t=wd(a),t===!1))return!1;n=o}}return!(!t||!r.length)&&new o3(t,r,e.slice(0,n).flatMap(o=>o.tokens()),e.slice(i+1).flatMap(o=>o.tokens()))}function xk(e){let t=ZM(e);if(t!==!1)return new kr(t);let r=JM(e);if(r!==!1)return new kr(r);let n=vV(e);if(n!==!1)return new kr(n);let i=XM(e);return i!==!1&&new kr(i)}function gC(e){let t=ZM(e);if(t!==!1)return new kr(t);let r=JM(e);if(r!==!1)return new kr(r);let n=XM(e);return n!==!1&&new kr(n)}function XM(e){let t=-1;for(let s=0;s<e.length;s++){let l=e[s];if(l.type!==Oe.Whitespace&&l.type!==Oe.Comment){if(!Tr(l)||t!==-1)return!1;t=s}}if(t===-1)return!1;let r=e[t];if(!to(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=HM(r,n,i);if(o!==!1)return new Kr(o);let a=xk(r.value);return a!==!1?new Kr(a,n,i):new Kr(new wh(r),e.slice(0,t).flatMap(s=>s.tokens()),e.slice(t+1).flatMap(s=>s.tokens()))}function wd(e){if(!to(e.startToken))return!1;let t=HM(e,[e.startToken],[e.endToken]);if(t!==!1)return new Kr(t);let r=xk(e.value);return r!==!1?new Kr(r,[e.startToken],[e.endToken]):new Kr(new wh(e))}function ZM(e){let t=!1,r=null;for(let n=0;n<e.length;n++){let i=e[n];if(i.type!==Oe.Whitespace&&i.type!==Oe.Comment){if(yd(i)){let o=i.value;if(c3.test(o[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&Tr(i)){i.normalize();let o=wd(i);if(o===!1)return!1;r=new l3(e.slice(0,n).flatMap(a=>a.tokens()),o);continue}return!1}}return r||!1}function yV(e){let t=!1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type!==Oe.Whitespace&&n.type!==Oe.Comment){if(yd(n)){let i=n.value;if(d3.test(i[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&Tr(n)){n.normalize();let i=wd(n);return i!==!1&&{advance:r,node:new u3(e.slice(0,r).flatMap(o=>o.tokens()),i)}}return!1}}return!1}function wV(e){let t=!1;for(let r=0;r<e.length;r++){let n=e[r];if(n.type!==Oe.Whitespace&&n.type!==Oe.Comment){if(yd(n)){let i=n.value;if(Ok.test(i[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&Tr(n)){n.normalize();let i=wd(n);return i!==!1&&{advance:r,node:new i3(e.slice(0,r).flatMap(o=>o.tokens()),i)}}return!1}}return!1}function kd(e,t){let r=JL(e,{onParseError:t==null?void 0:t.onParseError});return r.map((n,i)=>{let o=bV(n);return o===!1&&(t==null?void 0:t.preserveInvalidMediaQueries)===!0?new Sk(r[i]):o}).filter(n=>!!n)}function kV(e,t){return kd(kt({css:e},{onParseError:t==null?void 0:t.onParseError}),t)}function xV(e,t){let r=[],n=e;for(let o=0;o<e.length;o++)if(!Nt(e[o])){if(Ue(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(!Nt(n[o])){if(Ue(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 zy(r,null,n):new zy(r,kd(h8(n),t))}function SV(e,t){return xV(kt({css:e},{onParseError:t==null?void 0:t.onParseError}),t)}function e3(e){return wh.isGeneralEnclosed(e)}function CV(e){return Ak.isMediaFeatureBoolean(e)}function t3(e){return Nk.isMediaFeatureValue(e)}function xi(e){return zk.isMediaFeaturePlain(e)}function Em(e){return r3(e)||n3(e)||AV(e)}function r3(e){return kh.isMediaFeatureRangeNameValue(e)}function n3(e){return Ek.isMediaFeatureRangeValueName(e)}function AV(e){return Pk.isMediaFeatureRangeValueNameValue(e)}function Pn(e){return kc.isMediaFeature(e)}function NV(e){return Gc.isMediaQueryWithType(e)}function On(e){return Sk.isMediaQueryInvalid(e)}var se,kr,Kr,Gc,Bp,Sk,wh,i3,o3,a3,s3,Ck,Ak,Nk,zk,or,ar,Hr,Si,kh,Ek,Pk,kc,l3,u3,c3,d3,Ok,zy,bC,Jt=y(()=>{xt(),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={})),kr=class Ey{constructor(t){_(this,"type",se.MediaCondition);_(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 Ey.isMediaCondition(this)}static isMediaCondition(t){return!!t&&t instanceof Ey&&t.type===se.MediaCondition}},Kr=class Py{constructor(t,r=[],n=[]){_(this,"type",se.MediaInParens);_(this,"media");_(this,"before");_(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?Nt(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 Py.isMediaInParens(this)}static isMediaInParens(t){return!!t&&t instanceof Py&&t.type===se.MediaInParens}},Gc=class fn{constructor(t,r,n,i){_(this,"type",se.MediaQueryWithType);_(this,"modifier");_(this,"mediaType");_(this,"and");_(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(Ue(r))return r[4].value}return""}negateQuery(){let t=this.getModifier().toLowerCase()==="not",r=this.getMediaType();return this.and&&this.media?t?[new fn([],[[C.Ident,r,-1,-1,{value:r}]]),new Bp(this.media)]:[new fn([[C.Ident,"not",-1,-1,{value:"not"}],[C.Whitespace," ",-1,-1,void 0]],[[C.Ident,r,-1,-1,{value:r}]]),...new Bp(this.media).negateQuery()]:t?[new fn([],[[C.Ident,r,-1,-1,{value:r}]])]:[new fn([[C.Ident,"not",-1,-1,{value:"not"}],[C.Whitespace," ",-1,-1,void 0]],[[C.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(Ue(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 fn.isMediaQueryWithType(this)}static isMediaQueryWithType(t){return!!t&&t instanceof fn&&t.type===se.MediaQueryWithType}},Bp=class qp{constructor(t){_(this,"type",se.MediaQueryWithoutType);_(this,"media");this.media=t}negateQuery(){let t=this.media;return t.media.type===se.MediaNot?[new qp(new kr(t.media.media))]:(t.media.type!==se.MediaConditionListWithOr&&t.media.type!==se.MediaConditionListWithAnd||(t=new kr(new Kr(t,[[C.Whitespace," ",-1,-1,void 0],[C.OpenParen,"(",-1,-1,void 0]],[[C.CloseParen,")",-1,-1,void 0]]))),"before"in t.media&&(t.media.hasLeadingSpace()||t.media.before.splice(0,0,[C.Whitespace," ",-1,-1,void 0])),[new Gc([[C.Ident,"not",-1,-1,{value:"not"}],[C.Whitespace," ",-1,-1,void 0]],[[C.Ident,"all",-1,-1,{value:"all"}],[C.Whitespace," ",-1,-1,void 0]],[[C.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 qp.isMediaQueryWithoutType(this)}static isMediaQueryWithoutType(t){return!!t&&t instanceof qp&&t.type===se.MediaQueryWithoutType}},Sk=class Wp{constructor(t){_(this,"type",se.MediaQueryInvalid);_(this,"media");this.media=t}negateQuery(){return[new Wp(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=wi(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 Wp.isMediaQueryInvalid(this)}static isMediaQueryInvalid(t){return!!t&&t instanceof Wp&&t.type===se.MediaQueryInvalid}},wh=class Oy{constructor(t){_(this,"type",se.GeneralEnclosed);_(this,"value");this.value=t}tokens(){return this.value.tokens()}toString(){return this.value.toString()}hasLeadingSpace(){return Nt(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 Oy.isGeneralEnclosed(this)}static isGeneralEnclosed(t){return!!t&&t instanceof Oy&&t.type===se.GeneralEnclosed}},i3=class Iy{constructor(t,r){_(this,"type",se.MediaAnd);_(this,"modifier");_(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 Nt(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 Iy.isMediaAnd(this)}static isMediaAnd(t){return!!t&&t instanceof Iy&&t.type===se.MediaAnd}},o3=class Ty{constructor(t,r,n=[],i=[]){_(this,"type",se.MediaConditionListWithAnd);_(this,"leading");_(this,"list");_(this,"before");_(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?Nt(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=wi(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 Ty.isMediaConditionListWithAnd(this)}static isMediaConditionListWithAnd(t){return!!t&&t instanceof Ty&&t.type===se.MediaConditionListWithAnd}},a3=class jy{constructor(t,r,n=[],i=[]){_(this,"type",se.MediaConditionListWithOr);_(this,"leading");_(this,"list");_(this,"before");_(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?Nt(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=wi(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 jy.isMediaConditionListWithOr(this)}static isMediaConditionListWithOr(t){return!!t&&t instanceof jy&&t.type===se.MediaConditionListWithOr}},s3=new Set(["abs","acos","asin","atan","atan2","calc","clamp","cos","exp","hypot","log","max","min","mod","pow","rem","round","sign","sin","sqrt","tan"]),Ck=class Dy{constructor(t,r=[],n=[]){_(this,"type",se.MediaFeatureName);_(this,"name");_(this,"before");_(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 Dy.isMediaFeatureName(this)}static isMediaFeatureName(t){return!!t&&t instanceof Dy&&t.type===se.MediaFeatureName}},Ak=class Ly{constructor(t){_(this,"type",se.MediaFeatureBoolean);_(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 Ly.isMediaFeatureBoolean(this)}static isMediaFeatureBoolean(t){return!!t&&t instanceof Ly&&t.type===se.MediaFeatureBoolean}},Nk=class Fy{constructor(t,r=[],n=[]){_(this,"type",se.MediaFeatureValue);_(this,"value");_(this,"before");_(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=wi(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 Fy.isMediaFeatureValue(this)}static isMediaFeatureValue(t){return!!t&&t instanceof Fy&&t.type===se.MediaFeatureValue}},zk=class My{constructor(t,r,n){_(this,"type",se.MediaFeaturePlain);_(this,"name");_(this,"colon");_(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 My.isMediaFeaturePlain(this)}static isMediaFeaturePlain(t){return!!t&&t instanceof My&&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="="})(Hr||(Hr={})),kh=class Ry{constructor(t,r,n){_(this,"type",se.MediaFeatureRangeNameValue);_(this,"name");_(this,"operator");_(this,"value");this.name=t,this.operator=r,this.value=n}operatorKind(){return ki(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 Ry.isMediaFeatureRangeNameValue(this)}static isMediaFeatureRangeNameValue(t){return!!t&&t instanceof Ry&&t.type===se.MediaFeatureRangeNameValue}},Ek=class $y{constructor(t,r,n){_(this,"type",se.MediaFeatureRangeValueName);_(this,"name");_(this,"operator");_(this,"value");this.name=t,this.operator=r,this.value=n}operatorKind(){return ki(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 $y.isMediaFeatureRangeValueName(this)}static isMediaFeatureRangeValueName(t){return!!t&&t instanceof $y&&t.type===se.MediaFeatureRangeValueName}},Pk=class By{constructor(t,r,n,i,o){_(this,"type",se.MediaFeatureRangeValueNameValue);_(this,"name");_(this,"valueOne");_(this,"valueOneOperator");_(this,"valueTwo");_(this,"valueTwoOperator");this.name=t,this.valueOne=r,this.valueOneOperator=n,this.valueTwo=i,this.valueTwoOperator=o}valueOneOperatorKind(){return ki(this.valueOneOperator)}valueTwoOperatorKind(){return ki(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 By.isMediaFeatureRangeValueNameValue(this)}static isMediaFeatureRangeValueNameValue(t){return!!t&&t instanceof By&&t.type===se.MediaFeatureRangeValueNameValue}},kc=class qy{constructor(t,r=[],n=[]){_(this,"type",se.MediaFeature);_(this,"feature");_(this,"before");_(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 Nt(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 qy.isMediaFeature(this)}static isMediaFeature(t){return!!t&&t instanceof qy&&t.type===se.MediaFeature}},l3=class Wy{constructor(t,r){_(this,"type",se.MediaNot);_(this,"modifier");_(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?Nt(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 Wy.isMediaNot(this)}static isMediaNot(t){return!!t&&t instanceof Wy&&t.type===se.MediaNot}},u3=class _y{constructor(t,r){_(this,"type",se.MediaOr);_(this,"modifier");_(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 _y.isMediaOr(this)}static isMediaOr(t){return!!t&&t instanceof _y&&t.type===se.MediaOr}},(function(e){e.Not="not",e.Only="only"})(Si||(Si={})),c3=/^not$/i,d3=/^or$/i,Ok=/^and$/i,zy=class Uy{constructor(t,r,n){_(this,"type",se.CustomMedia);_(this,"name");_(this,"mediaQueryList",null);_(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(Ue(r))return r[4].value}return""}getNameToken(){for(let t=0;t<this.name.length;t++){let r=this.name[t];if(Ue(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(!Nt(r))return!!Ue(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(!Nt(r))return!!Ue(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([C.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 Uy.isCustomMedia(this)}static isCustomMedia(t){return!!t&&t instanceof Uy&&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"})(bC||(bC={}))});function Ik(e,t){let r=kt({css:e});return JL(r).flatMap(n=>n.flatMap(i=>{if(!Tr(i)||i.startToken[0]!==C.OpenParen)return[];let o=i.tokens();return kd(o,{preserveInvalidMediaQueries:!0}).filter(a=>!On(a))})).forEach(n=>{n.walk(({node:i})=>{if(Pn(i)){let o=i.getNameToken();if(o[0]!==C.Ident)return;t(o)}e3(i)&&zV(i).forEach((o,a,s)=>{if(o[0]!==C.Ident)return;let l=s[a+1],u=s[a-1];(!u&&l&&l[0]===C.Colon||l&&l[0]===C.Delim&&Vy.test(l[4].value)||u&&u[0]===C.Delim&&Vy.test(u[4].value))&&t(o)})})}),{stringify(){return ke(...r)}}}function zV(e){let t=e.value.value;if(Wc(t)||t.length===0||Wc(t[0]))return[];let r=[];return t.filter(le).forEach((n,i,o)=>{let[a,,,,]=n.value;vC(n)||a===C.Ident&&vC(o[i-1])||yC(n)||a===C.Ident&&yC(o[i+1])||r.push(n.value)}),r}function vC(e){return e&&e.value[0]===C.Delim&&e.value[4].value==="$"}function yC(e){return e&&e.value[0]===C.Delim&&e.value[4].value==="."}var Vy,Tk=y(()=>{rt(),Jt(),xt(),Vy=/[<>=]/});function Ui(e){return e.startsWith("--")}var xd=y(()=>{}),p3={};N(p3,{default:()=>m3});var Ls,Rg,wC,Gn,m3,EV=y(()=>{q(),ee(),V(),Tk(),st(),xd(),Le(),O(),T(),D(),Ls="media-feature-name-allowed-list",Rg=I(Ls,{rejected:e=>`Disallowed media feature name "${e}"`}),wC={url:"https://stylelint.io/user-guide/rules/media-feature-name-allowed-list"},Gn=e=>(t,r)=>{j(r,Ls,{actual:e,possible:[$,U]})&&t.walkAtRules(xe.mediaName,n=>{Ik(at(n),i=>{let[,,o,a,{value:s}]=i;if(Ui(s)||Pe(s,e))return;let l=Te(n);P({message:Rg.rejected,messageArgs:[s],node:n,index:l+o,endIndex:l+a+1,ruleName:Ls,result:r})})})},Gn.primaryOptionArray=!0,Gn.ruleName=Ls,Gn.messages=Rg,Gn.meta=wC,m3=Gn}),h3={};N(h3,{default:()=>f3});var Fs,$g,kC,Yn,f3,PV=y(()=>{q(),ee(),V(),Tk(),st(),xd(),Le(),O(),T(),D(),Fs="media-feature-name-disallowed-list",$g=I(Fs,{rejected:e=>`Disallowed media feature name "${e}"`}),kC={url:"https://stylelint.io/user-guide/rules/media-feature-name-disallowed-list"},Yn=e=>(t,r)=>{j(r,Fs,{actual:e,possible:[$,U]})&&t.walkAtRules(xe.mediaName,n=>{Ik(at(n),i=>{let[,,o,a,{value:s}]=i;if(Ui(s)||!Pe(s,e))return;let l=Te(n);P({message:$g.rejected,messageArgs:[s],node:n,index:l+o,endIndex:l+a+1,ruleName:Fs,result:r})})})},Yn.primaryOptionArray=!0,Yn.ruleName=Fs,Yn.messages=$g,Yn.meta=kC,f3=Yn}),Bg,xc,xC,SC,jk,g3,_p,xh=y(()=>{Gi(),Bg=new Set(["device-aspect-ratio","device-height","device-width"]),xc=Ce(Bg,["aspect-ratio","color","color-index","height","horizontal-viewport-segments","monochrome","resolution","vertical-viewport-segments","width"]),xC=new Set([...xc].flatMap(e=>[`min-${e}`,`max-${e}`])),SC=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"]),jk=Ce(Bg,xc,xC,SC),g3=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"])]]),_p=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"])]])}),b3={};N(b3,{default:()=>v3});var Ms,qg,CC,Rs,v3,OV=y(()=>{q(),ee(),V(),Tk(),st(),xd(),xh(),H(),O(),T(),D(),It(),Ms="media-feature-name-no-unknown",qg=I(Ms,{rejected:e=>`Unknown media feature name "${e}"`}),CC={url:"https://stylelint.io/user-guide/rules/media-feature-name-no-unknown"},Rs=(e,t)=>(r,n)=>{j(n,Ms,{actual:e},{actual:t,possible:{ignoreMediaFeatureNames:[$,U]},optional:!0})&&r.walkAtRules(xe.mediaName,i=>{Ik(at(i),o=>{let[,,a,s,{value:l}]=o;if(Ui(l)||R(t,"ignoreMediaFeatureNames",l)||He.prefix(l)||jk.has(l.toLowerCase()))return;let u=Te(i);P({message:qg.rejected,messageArgs:[l],node:i,index:u+a,endIndex:u+s+1,ruleName:Ms,result:n})})})},Rs.ruleName=Ms,Rs.messages=qg,Rs.meta=CC,v3=Rs}),y3={};N(y3,{default:()=>w3});var $s,Wg,AC,NC,Bs,w3,IV=y(()=>{q(),V(),id(),H(),O(),T(),D(),$s="media-feature-name-no-vendor-prefix",Wg=I($s,{rejected:"Vendor-prefixed media feature name"}),AC={url:"https://stylelint.io/user-guide/rules/media-feature-name-no-vendor-prefix",fixable:!0},NC=["-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"],Bs=(e,t)=>(r,n)=>{j(n,$s,{actual:e},{optional:!0,actual:t,possible:{ignoreMediaFeatureNames:[$,U]}})&&r.walkAtRules(xe.mediaName,i=>{let o=i.params;if(!Cr.mediaFeatureName(o))return;let a=i.toString().match(new RegExp(`${NC.join("|")}`,"gi"));if(a)for(let s of a){if(R(t,"ignoreMediaFeatureNames",s))continue;let l=()=>{let u=s.replace(/-moz-|-o-|-webkit-/i,"");i.params=i.params.replace(s,u)};P({message:Wg.rejected,messageArgs:[],node:i,word:s,result:n,ruleName:$s,fix:{apply:l,node:i}})}})},Bs.ruleName=$s,Bs.messages=Wg,Bs.meta=AC,w3=Bs});function In(e){return kV(at(e),{preserveInvalidMediaQueries:!0})}var Tn=y(()=>{Jt(),st()}),k3={};N(k3,{default:()=>x3});var qs,_g,zC,Ws,x3,TV=y(()=>{Jt(),rt(),xt(),V(),ee(),q(),Le(),Tn(),O(),T(),Ht(),D(),qs="media-feature-name-unit-allowed-list",_g=I(qs,{rejected:(e,t)=>`Disallowed unit "${e}" for name "${t}"`}),zC={url:"https://stylelint.io/user-guide/rules/media-feature-name-unit-allowed-list"},Ws=e=>(t,r)=>{if(!j(r,qs,{actual:e,possible:[Mt($)]}))return;let n=Object.entries(e),i=o=>{for(let[a,s]of n)if(Pe(o,a))return[s].flat()};t.walkAtRules(xe.mediaName,o=>{Q.dimension.test(o.params)&&In(o).forEach(a=>{if(On(a))return;let s={mediaFeatureName:"",unitList:void 0};a.walk(({node:l,state:u})=>{if(!u)return;if(xi(l)||Em(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!==C.Dimension||d.includes(h.unit.toLowerCase()))return;let b=Te(o);P({message:_g.rejected,messageArgs:[h.unit,c],node:o,index:b+m,endIndex:b+v+1,result:r,ruleName:qs})},s)})})},Ws.ruleName=qs,Ws.messages=_g,Ws.meta=zC,x3=Ws}),S3={};N(S3,{default:()=>C3});var _s,Ug,EC,Us,C3,jV=y(()=>{Jt(),xt(),q(),ee(),V(),Le(),H(),Tn(),O(),T(),Ht(),D(),_s="media-feature-name-value-allowed-list",Ug=I(_s,{rejected:(e,t)=>`Disallowed value "${t}" for name "${e}"`}),EC={url:"https://stylelint.io/user-guide/rules/media-feature-name-value-allowed-list"},Us=e=>(t,r)=>{j(r,_s,{actual:e,possible:[Mt($,U)]})&&t.walkAtRules(xe.mediaName,n=>{In(n).forEach(i=>{if(On(i))return;let o={mediaFeatureName:""};i.walk(({node:a,state:s})=>{if(!s)return;if(Pn(a)){s.mediaFeatureName=a.getName();return}if(!t3(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||R(e,d,c))return;let p=Te(n),[m,v]=$t(u);P({index:p+m,endIndex:p+v+1,message:Ug.rejected,messageArgs:[l,c],node:n,ruleName:_s,result:r})},o)})})},Us.ruleName=_s,Us.messages=Ug,Us.meta=EC,C3=Us}),A3={};N(A3,{default:()=>N3});var Vs,Vg,PC,OC,Qs,N3,DV=y(()=>{rt(),xt(),Jt(),Jc(),xh(),Er(),q(),ee(),V(),pF(),Tn(),O(),T(),Ht(),D(),It(),Vs="media-feature-name-value-no-unknown",Vg=I(Vs,{rejected:(e,t)=>`Unknown media feature value "${t}" for name "${e}"`}),PC=/^(?:min|max)-/i,OC={url:"https://stylelint.io/user-guide/rules/media-feature-name-value-no-unknown"},Qs=(e,t)=>(r,n)=>{if(!j(n,Vs,{actual:e},{actual:t,possible:{ignoreMediaFeatureNameValues:[Mt($,U)]},optional:!0}))return;let i=(u,c)=>dF(t,"ignoreMediaFeatureNameValues",u,c);function o(u,c,d){var x;let[p,m,v,h,b]=c,{mediaFeatureName:g}=u;if(p===C.Ident){let w=He.unprefixed(b.value.toLowerCase());if(i(g,w)||(x=g3.get(g))!=null&&x.has(w))return;d(u,m,v,h);return}let f=_p.get(g);if(!f){d(u,m,v,h);return}if(p===C.Number){if(b.type===ne.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===C.Dimension){let w=b.unit.toLowerCase();if(f.has("resolution")&&xv.has(w)||f.has("length")&&ji.has(w))return;d(u,m,v,h)}}function a(u,c,d){let p=c.getName().toLowerCase();if(p==="env")return;let m=_p.get(u.mediaFeatureName);m&&Ki.has(p)&&(m.has("integer")||m.has("length")||m.has("ratio")||m.has("resolution"))||d(u,c.toString(),...$t(c))}function s(u,c,d){let p=_p.get(u.mediaFeatureName);p&&p.has("ratio")&&KM(c)!==-1||d(u,c.map(m=>m.toString()).join(""),...$t(c))}function l(u,c,d){if(le(c.value)){o(u,c.value.value,d);return}if(Ke(c.value)){a(u,c.value,d);return}Array.isArray(c.value)&&s(u,c.value,d)}r.walkAtRules(xe.mediaName,u=>{let c=(p,m,v,h)=>{let b=Te(u);P({message:Vg.rejected,messageArgs:[p.mediaFeatureNameRaw,m],index:b+v,endIndex:b+h+1,node:u,ruleName:Vs,result:n})},d={mediaFeatureName:"",mediaFeatureNameRaw:""};In(u).forEach(p=>{On(p)||p.walk(({node:m,state:v})=>{if(v){if(Pn(m)){let h=m.getName(),b=He.unprefixed(h.toLowerCase());if(!jk.has(b))return;b=b.replace(PC,""),v.mediaFeatureName=b,v.mediaFeatureNameRaw=h;return}!v.mediaFeatureName||!v.mediaFeatureNameRaw||t3(m)&&l(v,m,c)}},d)})})},Qs.ruleName=Vs,Qs.messages=Vg,Qs.meta=OC,N3=Qs}),z3={};N(z3,{default:()=>E3});var Gs,Qg,IC,Ys,E3,LV=y(()=>{Jt(),xt(),rt(),ee(),V(),H(),Tn(),xh(),O(),T(),D(),Gs="media-feature-range-notation",Qg=I(Gs,{expected:e=>`Expected "${e}" media feature range notation`}),IC={url:"https://stylelint.io/user-guide/rules/media-feature-range-notation",fixable:!0},Ys=(e,t)=>(r,n)=>{if(!j(n,Gs,{actual:e,possible:["prefix","context"]},{actual:t,possible:{except:["exact-value"]},optional:!0}))return;let i=R(t,"except","exact-value"),o;i||(e==="prefix"?o=/[<>]/:e==="context"&&(o=/(?:min|max)-/i)),r.walkAtRules(xe.mediaName,a=>{if(o&&!o.test(a.params))return;let s=In(a);s.forEach(l=>{On(l)||l.walk(({node:u,parent:c})=>{if(!Em(u)&&!xi(u))return;let d=u.getName(),p=d.replace(/^(?:min|max)-/i,"");if(!xc.has(p))return;let m=e;if(i){let x=(r3(u)||n3(u))&&u.operator.length===1&&u.operator[0][1]==="=",w=xi(u)&&d.length===p.length;(x||w)&&(m=e==="prefix"?"context":"prefix")}if(m==="prefix"&&xi(u)||m==="context"&&Em(u))return;let v=x=>()=>{let w;/^min-/i.test(d)?w=[[C.Delim,">",-1,-1,{value:">"}],[C.Delim,"=",-1,-1,{value:"="}]]:/^max-/i.test(d)?w=[[C.Delim,"<",-1,-1,{value:"<"}],[C.Delim,"=",-1,-1,{value:"="}]]:w=[[C.Delim,"=",-1,-1,{value:"="}]],x.parent.feature=new kh(new Ck(new ue([C.Ident,p,-1,-1,{value:p}]),x.node.name.before,x.node.name.after.length>0?x.node.name.after:[[C.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"&&xi(u)&&Pn(c)?v({node:u,parent:c}):void 0,[b,g]=$t(u),f=Te(a);P({message:Qg.expected,messageArgs:[m],node:a,index:f+b-1,endIndex:f+g+1+1,result:n,ruleName:Gs,fix:{apply:h,node:a}})})})})},Ys.ruleName=Gs,Ys.messages=Qg,Ys.meta=IC,E3=Ys}),P3={};N(P3,{default:()=>O3});function TC(e,t){if(!(t!=null&&t.ignoreFunctions))return!1;let r=!1;return e.walk(({node:n})=>{if(Ke(n)&&(r=R(t,"ignoreFunctions",n.getName()),r))return!1}),r}var Ks,Gg,jC,Yg,DC,Hs,O3,FV=y(()=>{xt(),Jt(),q(),ee(),V(),xd(),H(),Tn(),xh(),O(),T(),D(),Ks="media-query-no-invalid",Gg=I(Ks,{rejected:(e,t)=>t?`Invalid media query "${e}", ${t}`:`Invalid media query "${e}"`}),jC={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"},Yg=/^(?:min|max)-/i,DC={url:"https://stylelint.io/user-guide/rules/media-query-no-invalid"},Hs=(e,t)=>(r,n)=>{if(!j(n,Ks,{actual:e},{actual:t,possible:{ignoreFunctions:[$,U]},optional:!0}))return;r.walkAtRules(xe.mediaName,o=>{let a=Te(o);In(o).forEach(s=>{if(On(s)){if(TC(s,t))return;i(o,a,s);return}s.walk(({node:l,parent:u})=>{if(e3(l)){if(TC(s,t))return;i(o,a,l);return}if(xi(l)){let c=l.getName();if(Ui(c)){i(o,a,u,"custom");return}return}if(Em(l)){let c=l.getName().toLowerCase();if(Ui(c)){i(o,a,u,"custom");return}if(Yg.test(c)){i(o,a,u,"min_max_in_range");return}if(!xc.has(c)){i(o,a,u,"discrete");return}return}if(CV(l)){let c=l.getName();Yg.test(c)&&i(o,a,u,"min_max_in_boolean")}})})});function i(o,a,s,l){let[u,c]=$t(s);P({message:Gg.rejected,messageArgs:[s.toString(),l?jC[l]:""],index:a+u,endIndex:a+c+1,node:o,ruleName:Ks,result:n})}},Hs.ruleName=Ks,Hs.messages=Gg,Hs.meta=DC,O3=Hs}),I3={};N(I3,{default:()=>T3});var Js,Kg,LC,Xs,T3,MV=y(()=>{V(),q(),ee(),tz(),Jt(),et(),rt(),H(),Tn(),O(),T(),xt(),D(),Js="media-type-no-deprecated",Kg=I(Js,{rejected:e=>`Deprecated media type "${e}"`}),LC={url:"https://stylelint.io/user-guide/rules/media-type-no-deprecated"},Xs=(e,t)=>(r,n)=>{j(n,Js,{actual:e},{actual:t,possible:{ignoreMediaTypes:[$,U]},optional:!0})&&r.walkAtRules(xe.mediaName,i=>{!Ze(i)||!Q.deprecatedMediaType.test(i.params)||In(i).forEach(o=>{if(!NV(o))return;let a=o.getMediaType();if(!Sw.has(a.toLowerCase())||R(t,"ignoreMediaTypes",a))return;let s=Te(i),[l,u]=$t({tokens:()=>o.mediaType.filter(Ue)});P({message:Kg.rejected,messageArgs:[a],node:i,index:s+l,endIndex:s+u+1,ruleName:Js,result:n})})})},Xs.ruleName=Js,Xs.messages=Kg,Xs.meta=LC,T3=Xs});function RV(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)&&!dw(o,a))return!1}return!0}function $V(e){let t=new Set(e.flat());return t.delete("."),[...t]}function BV(e){return $V(e).filter(t=>!RV(e,t))}var qV=y(()=>{pw()}),j3={};N(j3,{default:()=>D3});var FC,Zs,el,MC,tl,D3,WV=y(()=>{FC=Z(fe(),1),q(),ee(),qV(),Be(),V(),O(),T(),D(),Zs="named-grid-areas-no-invalid",el=I(Zs,{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}"`}),MC={url:"https://stylelint.io/user-guide/rules/named-grid-areas-no-invalid"},tl=e=>(t,r)=>{j(r,Zs,{actual:e})&&t.walkDecls(Br.gridAreaNames,n=>{let{value:i}=n;if(!Re(i)||i.toLowerCase().trim()==="none")return;let o=[],a=!1;if((0,FC.default)(i).walk(({sourceIndex:d,sourceEndIndex:p,type:m,value:v})=>{if(m==="string"){if(v===""){c(el.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(el.expectedSameNumber,[],l.index,l.endIndex);return}let u=BV(o.map(d=>d.values));for(let d of u.sort()){let p=o.find(m=>m.values.includes(d));Ve(p),c(el.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:Zs})}})},tl.ruleName=Zs,tl.messages=el,tl.meta=MC,D3=tl});function Qy(e,t){let{inline:r=!1}=t||{},n=e;for(;n;){if(cv(n))return!0;if("document"in n&&n.document instanceof Tz&&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 L3=y(()=>{nd(),ge()}),F3={};N(F3,{default:()=>M3});function RC(e,t){let r=e.parent;for(;r;){if(r.type==="rule"||r.type==="atrule"&&r.name==="scope"||r.type==="atrule"&&R(t,"ignoreAtRules",r.name))return!0;if(r.type==="root")return!1;r=r.parent}return!1}var rl,Hg,$C,nl,M3,_V=y(()=>{Ji(),V(),q(),ee(),st(),ye(),L3(),et(),de(),H(),O(),T(),D(),rl="nesting-selector-no-missing-scoping-root",Hg=I(rl,{rejected:"Missing scoping root"}),$C={url:"https://stylelint.io/user-guide/rules/nesting-selector-no-missing-scoping-root"},nl=(e,t)=>(r,n)=>{if(!j(n,rl,{actual:e,possible:[!0]},{actual:t,possible:{ignoreAtRules:[$,U]},optional:!0}))return;r.walkRules(Q.nestingSelector,o=>{if(Qy(o)||!ce(o)||RC(o,t))return;let a;try{a=tn(he(o),{context:"selectorList",positions:!0})}catch{return}i(o,a)}),r.walkAtRules(xe.scopeName,o=>{if(Qy(o)||!Ze(o)||!Q.nestingSelector.test(o.params)||RC(o,t))return;let a;try{a=tn(at(o),{atrule:"scope",context:"atrulePrelude",positions:!0})}catch{return}i(o,a,Te(o))});function i(o,a,s=0){mL(a,{enter(l){if(l.type!=="NestingSelector"||!l.loc)return;let u=s+l.loc.start.offset,c=u+1;P({message:Hg.rejected,node:o,result:n,ruleName:rl,index:u,endIndex:c})}})}},nl.ruleName=rl,nl.messages=Hg,nl.meta=$C,M3=nl});function Dk(e,t){return e.a===t.a?e.b===t.b?e.c-t.c:e.b-t.b:e.a-t.a}function yn(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(UV(e))switch(e.value.toLowerCase()){case"::slotted":if(o+=1,e.nodes&&e.nodes.length>0){let l=vp(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"&&VV(e.nodes[0])?{a:0,b:0,c:0}:{a:0,b:0,c:1};default:o+=1}else if(Sc.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=vp(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=Sc.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=vp(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=yn(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=vp(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 Sc.default.isContainer(e)&&((s=e.nodes)==null?void 0:s.length)>0&&e.nodes.forEach(l=>{let u=yn(l,t);n+=u.a,i+=u.b,o+=u.c});return{a:n,b:i,c:o}}function vp(e,t){let r={a:0,b:0,c:0};return e.forEach(n=>{let i=yn(n,t);Dk(i,r)<0||(r=i)}),r}function UV(e){return Sc.default.isPseudoElement(e)}function VV(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 Sc,R3=y(()=>{Sc=Z(lt(),1)});function Lk(e){let t=e.parent;return t?Ie(t)?t:ut(t)?Lk(t):null:null}var $3=y(()=>{ge()});function B3(){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=BC(e,n);return r.reduce((o,a)=>BC(o,a),i)}}}function BC(e,t){return e.has(t)||e.set(t,new Map),e.get(t)}var q3=y(()=>{});function pc(e,t){let r=Gy.get(e);if(r){let s=r.get(t);if(s)return s}else r=new Map,Gy.set(e,r);let n=e.toString(),i=hi.get(n);if(i)return r.set(t,i),i;let o=QV(e.clone()),a={node:o,string:o.toString()};if(r.set(t,a),hi.size>=_3){let s=hi.keys().next().value;s!==void 0&&hi.delete(s)}return hi.set(n,a),a}function QV(e){return _C(e),qC(e),e.walk(t=>{_C(t),qC(t)}),W3(e),e}function qC(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 W3(e){if(nr.default.isContainer(e)){if(e.each(W3),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=YV(e.nodes))}}function WC(e){var t;return(t=U3.get(e.type))!=null?t:Number.MAX_SAFE_INTEGER}function GV(e,t){let r=WC(e)-WC(t);return r!==0?r:String(e).localeCompare(String(t))}function YV(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(GV)),t.flat()}function _C(e){var t;if(nr.default.isClassName(e)){if(!((t=e.raws)!=null&&t.value))return;e.value=e.value}}var nr,Gy,hi,_3,U3,V3=y(()=>{nr=Z(lt(),1),Gy=new WeakMap,hi=new Map,_3=1e4,U3=new Map([["universal",0],["tag",1],["nesting",2],["id",3],["class",4],["attribute",5],["pseudo",6],["comment",7]])});function bn(e){var t;return{sourceIndex:(t=e.sourceIndex)!=null?t:0,source:e.source}}function KV(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:"",...bn(i)});o.append(i);let a=sr.default.pseudo({value:":is",...bn(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)=>UC(a)-UC(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 UC(e){return sr.default.isPseudoElement(e)?Yy.pseudoElement:Yy[e.type]}function VC(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({...bn(s)})):(s.prepend(sr.default.combinator({value:" ",...bn(s)})),s.prepend(sr.default.nesting({...bn(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(...QC(t,!0)):u.replaceWith(...QC(t)))});for(let u of l)KV(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:"",...bn(e)});return n.forEach(a=>{i.append(a)}),i}function QC(e,t=!1){if(t||!HV(e.nodes)){let r=sr.default.pseudo({value:":is",...bn(e)});return e.nodes.forEach(n=>{r.append(n.clone())}),[r]}return e.nodes[0].nodes.map(r=>r.clone())}function HV(e){return e.length===1&&!e[0].nodes.some(t=>t.type==="combinator"||sr.default.isPseudoElement(t))}var sr,Yy,JV=y(()=>{sr=Z(lt(),1),Yy={universal:0,tag:1,pseudoElement:2,nesting:3,id:4,class:5,attribute:6,pseudo:7,comment:8}});function Yc(e,t){let r=Hy.get(e);if(r){let s=r.get(t);if(s)return s}else r=new Map,Hy.set(e,r);let n=Se(he(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=Se(":where(:scope)",t,s);continue}if(!ut(s))continue;if(!ce(s))return[];let l=Se(he(s),t,s);if(!l)return[];i?i=VC(l,i):i=l}let a=n.map(s=>i?{selector:s,resolvedSelectors:VC(Ky.default.root({nodes:[s],value:""}),i),nested:!0}:{selector:s,resolvedSelectors:Ky.default.root({value:"",nodes:[s]}),nested:!1});return r.set(t,a),a}var Ky,Hy,Sh=y(()=>{JV(),ge(),ye(),de(),Ae(),Ky=Z(lt(),1),Hy=new WeakMap}),Q3={};N(Q3,{default:()=>Y3});function XV(e,t){if(e.nodes.length===0)return;e=pc(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("::")||Fm.has(o.value.replaceAll(":","")));if(i.length!==0)return i.join("")}function G3(e){return e.nodes?e.some(t=>Qi(t)||Ie(t)&&G3(t)):!1}var il,Jg,GC,ol,Y3,ZV=y(()=>{R3(),ge(),$3(),St(),de(),q3(),V3(),H(),Wt(),O(),Sh(),T(),D(),il="no-descending-specificity",Jg=I(il,{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}`)}),GC={url:"https://stylelint.io/user-guide/rules/no-descending-specificity"},ol=(e,t)=>(r,n)=>{if(!j(n,il,{actual:e},{optional:!0,actual:t,possible:{ignore:["selectors-within-list"]}}))return;let i=R(t,"ignore","selectors-within-list"),o=B3();r.walkRules(s=>{if(!ce(s)||i&&s.selectors.length>1||!G3(s))return;let l=o.getContext(s,Lk(s));Yc(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=XV(s,n);if(!d)return;let p=yn(s),{selector:m,index:v,endIndex:h}=ot(l),{selector:b}=ot(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(Dk(p,S.specificity)<0){P({ruleName:il,result:n,node:u,message:Jg.expected,messageArgs:[m,S.selector,S.line,b,S.resolvedSelector],index:v,endIndex:h});break}f.push(g)}},ol.ruleName=il,ol.messages=Jg,ol.meta=GC,Y3=ol}),K3={};N(K3,{default:()=>H3});function yp(e){return Jy.default.stringify(e).replace(/\s/g,"")}function eQ(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(yp(a));continue}if(a.type==="word"&&a.value==="layer"){r.push(yp(a));continue}}if(a.type==="div"&&a.value===","){n.push(yp(i)),i=[];continue}i.push(a)}if(i.length&&n.push(yp(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 Jy,al,Xg,YC,sl,H3,tQ=y(()=>{Jy=Z(fe(),1),V(),st(),md(),O(),T(),D(),al="no-duplicate-at-import-rules",Xg=I(al,{rejected:e=>`Duplicate @import rule ${e}`}),YC={url:"https://stylelint.io/user-guide/rules/no-duplicate-at-import-rules"},sl=e=>(t,r)=>{if(!j(r,al,{actual:e}))return;let n={};t.walkAtRules(xe.importName,i=>{let[o,...a]=(0,Jy.default)(at(i)).nodes;if(!o)return;let s=pd(o)&&o.nodes[0]?o.nodes[0].value:o.value,l=eQ(a),u=n[s];if(l.length?l.some(c=>u&&u.includes(c)):u){P({message:Xg.rejected,messageArgs:[s],node:i,result:r,ruleName:al,word:i.toString()});return}u||(u=n[s]=[]),u.push(...l)})},sl.ruleName=al,sl.messages=Xg,sl.meta=YC,H3=sl});function Ch(e){let t=e.parent;return t?Ie(t)&&t.name.toLowerCase()==="keyframes":!1}var Ah=y(()=>{ge()}),J3={};N(J3,{default:()=>X3});var KC,ll,Zg,HC,ul,X3,rQ=y(()=>{KC=Z(lt(),1),q(),$3(),ye(),St(),Ah(),de(),q3(),V3(),H(),Ae(),O(),Sh(),T(),D(),ll="no-duplicate-selectors",Zg=I(ll,{rejected:(e,t)=>`Duplicate selector "${e}", first used at line ${t}`}),HC={url:"https://stylelint.io/user-guide/rules/no-duplicate-selectors"},ul=(e,t)=>(r,n)=>{if(!j(n,ll,{actual:e},{actual:t,possible:{disallowInList:[Hc],ignoreSelectors:[$,U]},optional:!0}))return;let i=t&&t.disallowInList,o=B3();function a(c,d,p,m,v){P({result:n,ruleName:ll,node:c,message:Zg.rejected,messageArgs:[d,v],index:p,endIndex:m})}function s(c){var p;let d=new Map;(p=Se(he(c),n,c))==null||p.each(m=>{var x,w,k,S,z,A;let v=pc(m,n).string;if(R(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)+((A=(z=(S=c.source)==null?void 0:S.start)==null?void 0:z.line)!=null?A:1)-1});return}let{index:b,endIndex:g,selector:f}=ot(m);a(c,f,b,g,h.line)})}function l(c,d){var g,f,x;let p=Yc(c,n).flatMap(({resolvedSelectors:w})=>w.nodes);if(!p.length||p.some(w=>{let k=pc(w,n).string;return R(t,"ignoreSelectors",k)}))return;let m=KC.default.root({nodes:p,value:""}),v=pc(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=he(c).toString().trim();a(c,b,0,b.length,h.line)}function u(c,d){Yc(c,n).forEach(p=>{let{selector:m,resolvedSelectors:v}=p;v.each(h=>{var k,S,z,A,L,E;let b=pc(h,n).string;if(R(t,"ignoreSelectors",b))return;let g=d.get(b);if(!g){d.set(b,{line:((z=(S=(k=m.source)==null?void 0:k.start)==null?void 0:S.line)!=null?z:1)+((E=(L=(A=c.source)==null?void 0:A.start)==null?void 0:L.line)!=null?E:1)-1});return}let{index:f,endIndex:x,selector:w}=ot(m);a(c,w,f,x,g.line)})})}r.walkRules(c=>{if(Ch(c)||!ce(c))return;let d=o.getContext(c,Lk(c));if(i){u(c,d);return}s(c),l(c,d)})},ul.ruleName=ll,ul.messages=Zg,ul.meta=HC,X3=ul}),Z3={};N(Z3,{default:()=>eR});var cl,eb,JC,dl,eR,nQ=y(()=>{ad(),O(),T(),D(),cl="no-empty-source",eb=I(cl,{rejected:"Empty source"}),JC={url:"https://stylelint.io/user-guide/rules/no-empty-source"},dl=(e,t,r)=>(n,i)=>{var a;if(!j(i,cl,{actual:e}))return;let o=!!(r.fix?n.toString():n.source&&n.source.input.css||"").trim()&&n.nodes.some(s=>!Ci(s,r.configurationComment));o||n.nodes.length===0&&((a=n.raws.after)!=null&&a.trim())&&(o=!0),!o&&P({message:eb.rejected,messageArgs:[],node:n,result:i,ruleName:cl})},dl.ruleName=cl,dl.messages=eb,dl.meta=JC,eR=dl}),tR={};N(tR,{default:()=>rR});var Kn,wp,XC,pl,rR,iQ=y(()=>{q(),ye(),O(),T(),D(),Kn="no-invalid-double-slash-comments",wp=I(Kn,{rejected:"Invalid double-slash CSS comment"}),XC={url:"https://stylelint.io/user-guide/rules/no-invalid-double-slash-comments"},pl=(e,t,r)=>(n,i)=>{j(i,Kn,{actual:e})&&(n.walkDecls(o=>{o.prop.startsWith("//")&&P({message:wp.rejected,messageArgs:[],node:o,result:i,ruleName:Kn})}),n.walkRules(o=>{var u;let a=he(o).split(","),s,l=0;for(let c of a){let d=c.trimStart();if(d.startsWith("//")){s!=null||(s=o.toString()),Vi(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:wp.rejected,messageArgs:[],node:o,result:i,ruleName:Kn,index:m,endIndex:h})}l+=c.length+1}}))},pl.ruleName=Kn,pl.messages=wp,pl.meta=XC,rR=pl}),nR={};N(nR,{default:()=>iR});var ml,tb,ZC,hl,iR,oQ=y(()=>{q(),ge(),et(),de(),H(),O(),T(),D(),ml="no-invalid-position-at-import-rule",tb=I(ml,{rejected:"Invalid position for @import rule"}),ZC={url:"https://stylelint.io/user-guide/rules/no-invalid-position-at-import-rule"},hl=(e,t)=>(r,n)=>{if(!j(n,ml,{actual:e},{actual:t,possible:{ignoreAtRules:[$,U]},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")&&!R(t,"ignoreAtRules",o.name)&&Ze(o)||o.type==="rule"&&ce(o)){i=!0;return}Ie(o)&&a==="import"&&i&&P({message:tb.rejected,messageArgs:[],node:o,result:n,ruleName:ml,word:o.toString()})})},hl.ruleName=ml,hl.messages=tb,hl.meta=ZC,iR=hl}),oR={};N(oR,{default:()=>aR});var fl,rb,e2,gl,aR,aQ=y(()=>{Yi(),ge(),q(),gh(),L3(),bt(),H(),O(),T(),D(),fl="no-invalid-position-declaration",rb=I(fl,{rejected:"Invalid position for declaration"}),e2={url:"https://stylelint.io/user-guide/rules/no-invalid-position-declaration"},gl=(e,t)=>(r,n)=>{if(!j(n,fl,{actual:e,possible:[!0]},{actual:t,possible:{ignoreAtRules:[$,U]},optional:!0}))return;let i=a=>Ie(a)&&R(t,"ignoreAtRules",a.name),o=a=>Ie(a)&&SN.has(a.name.toLowerCase());r.walkDecls(a=>{if(Qy(a,{inline:!0})||!gt(a))return;let{parent:s}=a;if(s&&!(ut(s)||o(s))){if(Ie(s)){let l=s.name.toLowerCase();if(zc.has(l)){if(fh(a,u=>ut(u)||o(u)||i(u)))return}else return}P({message:rb.rejected,messageArgs:[],node:a,result:n,ruleName:fl})}})},gl.ruleName=fl,gl.messages=rb,gl.meta=e2,aR=gl}),sR={};N(sR,{default:()=>hR});function bl(){return 0}function sQ(){return 1}function lR(e){return e.replace(Zy," ")}function uR(e,t){if(!Pm.test(e))return e;let r=(0,cR.default)(e);return r.walk(n=>{t(n)&&(n.value=lR(n.value))}),r.toString()}function lQ(e){return uR(e,t=>t.type==="string")}function nb(e,t){if(!e)return;let r=t?mR.test(t.toLowerCase()):!1;return uR(e,n=>n.type==="string"&&!r||n.type==="comment")}function uQ(e){return Pm.test(e)?(0,Xy.default)(t=>{t.walk(r=>{r.value&&(dR(r)||pR(r))&&(r.value=lR(r.value))})}).processSync(e):e}var Xy,cR,dR,pR,vl,ib,t2,r2,ob,Pm,Zy,n2,mR,i2,yl,hR,cQ=y(()=>{Xy=Z(lt(),1),cR=Z(fe(),1),ee(),st(),Ye(),ye(),O(),T(),D(),{isAttribute:dR,isComment:pR}=Xy.default,vl="no-irregular-whitespace",ib=I(vl,{rejected:"Irregular whitespace"}),t2={url:"https://stylelint.io/user-guide/rules/no-irregular-whitespace"},r2=["\v","\f"," ","
"," ","","\uFEFF"," "," "," "," "," "," "," "," "," "," "," ","","\u2028","\u2029"," "," "," "],ob=r2.join(""),Pm=new RegExp(`[${ob}]`),Zy=new RegExp(`[${ob}]+`,"g"),n2=["grid","grid-template","grid-template-areas"],mR=new RegExp(`^(?:${n2.join("|")})$`,"i"),i2=e=>Array.from(e.matchAll(Zy)).map(t=>({index:t.index,length:t[0].length})),yl=e=>(t,r)=>{var o;if(!j(r,vl,{actual:e}))return;let n=(o=t.source)==null?void 0:o.input.css;if(!n||!Pm.test(n))return;let i=(a,s,l)=>{if(!s)return;let u=i2(s);if(!u.length)return;let c=l(a);u.forEach(({index:d,length:p})=>{P({ruleName:vl,result:r,message:ib.rejected,messageArgs:[],node:a,index:c+d,endIndex:c+d+p})})};t.walkAtRules(a=>{i(a,a.raws.before,bl),i(a,a.name,sQ),i(a,a.raws.afterName,JA),i(a,lQ(at(a)),Te),i(a,a.raws.between,k6),i(a,a.raws.after,w6)}),t.walkRules(a=>{i(a,a.raws.before,bl),i(a,uQ(he(a)),bl),i(a,a.raws.between,x6),i(a,a.raws.after,S6)}),t.walkDecls(a=>{i(a,a.raws.before,bl),i(a,nb(a.prop),bl),i(a,nb(a.raws.between),XA),i(a,nb(Ge(a),a.prop),ie)})},yl.ruleName=vl,yl.messages=ib,yl.meta=t2,hR=yl});function dQ(e){let t=[],r=(0,fR.default)(e),{nodes:n}=r;if(n.length===1&&n[0]&&je.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(!Re(a)){i=!0,t.length=0;return}if(fd(a)||xw.has(a))return;let{unit:s}=Xi(o);s||s===""||t.push(o)}),t}var fR,pQ=y(()=>{fR=Z(fe(),1),Je(),Zi(),Be(),gd()}),gR={};N(gR,{default:()=>bR});var wl,ab,o2,kl,bR,mQ=y(()=>{Je(),V(),ee(),pQ(),O(),T(),D(),wl="no-unknown-animations",ab=I(wl,{rejected:e=>`Unknown animation "${e}"`}),o2={url:"https://stylelint.io/user-guide/rules/no-unknown-animations"},kl=e=>(t,r)=>{if(!j(r,wl,{actual:e}))return;let n=new Set,i=r.stylelint.referenceRoots;for(let o of[t,...i])o.walkAtRules(xe.keyframesName,a=>{n.add(a.params)});t.walkDecls(o=>{if(o.prop.toLowerCase()==="animation"||o.prop.toLowerCase()==="animation-name"){let a=dQ(o.value);if(a.length===0)return;for(let s of a){if(Tc.has(s.value.toLowerCase())||n.has(s.value))continue;let l=ie(o);P({result:r,ruleName:wl,message:ab.rejected,messageArgs:[s.value],node:o,index:l+s.sourceIndex,endIndex:l+s.sourceEndIndex})}}})},kl.ruleName=wl,kl.messages=ab,kl.meta=o2,bR=kl});function hQ(e){return SV(at(e),{preserveInvalidMediaQueries:!0})}var fQ=y(()=>{Jt(),st()}),vR={};N(vR,{default:()=>yR});var xl,sb,a2,Sl,yR,gQ=y(()=>{V(),Jt(),ee(),xd(),fQ(),Tn(),O(),T(),D(),xl="no-unknown-custom-media",sb=I(xl,{rejected:e=>`Unknown custom media query "${e}"`}),a2={url:"https://stylelint.io/user-guide/rules/no-unknown-custom-media"},Sl=e=>(t,r)=>{if(!j(r,xl,{actual:e}))return;let n=new Set,i=r.stylelint.referenceRoots;for(let o of[t,...i])o.walkAtRules(xe.customMediaName,a=>{let s=hQ(a);s&&n.add(s.getName())});t.walkAtRules(xe.mediaName,o=>{Q.customProperty.test(o.params)&&In(o).forEach(a=>{On(a)||a.walk(({node:s})=>{if(!Pn(s))return;let[,l,u,c]=s.getNameToken();if(!Ui(l)||n.has(l))return;let d=Te(o),p=d+u,m=d+c+1;P({message:sb.rejected,messageArgs:[l],node:o,index:p,endIndex:m,result:r,ruleName:xl})})})})},Sl.ruleName=xl,Sl.messages=sb,Sl.meta=a2,yR=Sl}),wR={};N(wR,{default:()=>kR});var s2,Cl,lb,l2,Al,kR,bQ=y(()=>{s2=Z(fe(),1),V(),ee(),dd(),O(),T(),D(),Cl="no-unknown-custom-properties",lb=I(Cl,{rejected:e=>`Unknown custom property "${e}"`}),l2={url:"https://stylelint.io/user-guide/rules/no-unknown-custom-properties"},Al=e=>(t,r)=>{if(!j(r,Cl,{actual:e}))return;let n=new Set,i=r.stylelint.referenceRoots;for(let o of[t,...i])o.walkAtRules(xe.propertyName,({params:a})=>{n.add(a)}),o.walkDecls(Br.custom,({prop:a})=>{n.add(a)});t.walkDecls(o=>{let{value:a}=o;(0,s2.default)(a).walk(s=>{if(!Hi(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:Cl,message:lb.rejected,messageArgs:[l.value],node:o,index:c+l.sourceIndex,endIndex:c+l.sourceEndIndex})})})},Al.ruleName=Cl,Al.messages=lb,Al.meta=l2,kR=Al}),xR={};N(xR,{default:()=>SR});var Nl,ub,u2,zl,SR,vQ=y(()=>{rt(),xt(),ee(),q(),st(),Ye(),Ir(),Le(),H(),O(),T(),uk(),D(),Nl="number-max-precision",ub=I(Nl,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),u2={url:"https://stylelint.io/user-guide/rules/number-max-precision"},zl=(e,t)=>(r,n)=>{var l;if(!j(n,Nl,{actual:e,possible:[cr]},{optional:!0,actual:t,possible:{ignoreProperties:[$,U],ignoreUnits:[$,U],insideFunctions:[xm(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,Te,at(u))}),r.walkDecls(u=>{o(u,ie,Ge(u))});function o(u,c,d){if(!d.includes("."))return;let p="prop"in u?u.prop:void 0;if(R(t,"ignoreProperties",p))return;let m={ignored:!1,precision:e};En(ro(kt({css:d})),({node:v,state:h})=>{h&&(h.ignored||a(u,c,v,h))},m)}function a(u,c,d,p){if(Ke(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!==C.Number&&m!==C.Dimension&&m!==C.Percentage)return;let f=0;if(m===C.Dimension){let k=g.unit;if(f=k.length,R(t,"ignoreUnits",k))return}else if(m===C.Percentage&&(f=1,R(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:Nl,node:u,index:w+h,endIndex:w+(b+1)-f,message:ub.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}},zl.ruleName=Nl,zl.messages=ub,zl.meta=u2,SR=zl}),CR={};N(CR,{default:()=>AR});var El,cb,c2,Hn,AR,yQ=y(()=>{q(),Or(),Le(),O(),T(),D(),El="property-allowed-list",cb=I(El,{rejected:e=>`Disallowed property "${e}"`}),c2={url:"https://stylelint.io/user-guide/rules/property-allowed-list"},Hn=e=>(t,r)=>{j(r,El,{actual:e,possible:[$,U]})&&t.walkDecls(n=>{let i=n.prop;Pr(i)&&(Pe(i,e)||P({message:cb.rejected,messageArgs:[i],word:i,node:n,result:r,ruleName:El}))})},Hn.primaryOptionArray=!0,Hn.ruleName=El,Hn.messages=cb,Hn.meta=c2,AR=Hn}),NR={};N(NR,{default:()=>zR});var Pl,db,d2,Jn,zR,wQ=y(()=>{q(),Or(),Le(),O(),T(),D(),Pl="property-disallowed-list",db=I(Pl,{rejected:e=>`Disallowed property "${e}"`}),d2={url:"https://stylelint.io/user-guide/rules/property-disallowed-list"},Jn=e=>(t,r)=>{j(r,Pl,{actual:e,possible:[$,U]})&&t.walkDecls(n=>{let i=n.prop;Pr(i)&&Pe(i,e)&&P({message:db.rejected,messageArgs:[i],word:i,node:n,result:r,ruleName:Pl})})},Jn.primaryOptionArray=!0,Jn.ruleName=Pl,Jn.messages=db,Jn.meta=d2,zR=Jn}),ER={};N(ER,{default:()=>PR});function p2(e){switch(e){case"top-to-bottom":return["top","bottom"];case"bottom-to-top":return["bottom","top"];case"left-to-right":return["left","right"];case"right-to-left":return["right","left"]}}function kQ(e){let[t,r]=p2(e.block),[n,i]=p2(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 Gp){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 Xn,kp,m2,Ol,PR,xQ=y(()=>{$r(),q(),dr(),Or(),H(),O(),T(),D(),Xn="property-layout-mappings",kp=I(Xn,{rejected:(e,t)=>`Disallowed ${e} property "${t}"`,expected:(e,t)=>`Expected "${e}" to be "${t}"`}),m2={url:"https://stylelint.io/user-guide/rules/property-layout-mappings",fixable:!0},Ol=(e,t)=>(r,n)=>{var u,c;if(!j(n,Xn,{actual:e,possible:["flow-relative","physical"]},{actual:t,possible:{ignoreProperties:[$,U]},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?kQ({block:o,inline:a}):null;function l(d,p){P({message:kp.rejected,messageArgs:[d,p.prop],word:p.prop,node:p,result:n,ruleName:Xn})}r.walkDecls(d=>{let{prop:p}=d;if(Pr(p)&&!ft(p)&&!R(t,"ignoreProperties",p))if(e==="physical"){if(!DN.has(p))return;l("flow-relative",d)}else{if(!Gp.has(p))return;if(!s){l("physical",d);return}let m=s.get(p);if(!m)return;P({message:kp.expected,messageArgs:[p,m],word:p,node:d,result:n,ruleName:Xn,fix:{apply:()=>{d.prop=m},node:d}})}})},Ol.ruleName=Xn,Ol.messages=kp,Ol.meta=m2,PR=Ol}),OR={};N(OR,{default:()=>IR});var Il,xp,h2,f2,Tl,IR,SQ=y(()=>{q(),bt(),H(),O(),T(),D(),Il="property-no-deprecated",xp=I(Il,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:e=>`Deprecated property "${e}"`}),h2={url:"https://stylelint.io/user-guide/rules/property-no-deprecated",fixable:!0},f2={"-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},Tl=(e,t)=>(r,n)=>{j(n,Il,{actual:e},{actual:t,possible:{ignoreProperties:[$,U]},optional:!0})&&r.walkDecls(i=>{if(!gt(i))return;let{prop:o,value:a}=i;if(R(t,"ignoreProperties",o))return;let s=o.toLowerCase(),l=f2[s];if(typeof l>"u"||s==="-webkit-box-orient"&&a.toLowerCase()==="vertical")return;let u,c,d;l?(c=xp.expected,d=[o,l],u=()=>{i.prop=l}):(c=xp.rejected,d=[o]),P({message:c,messageArgs:d,node:i,index:0,endIndex:o.length,result:n,ruleName:Il,fix:{apply:u,node:i}})})},Tl.ruleName=Il,Tl.messages=xp,Tl.meta=h2,IR=Tl}),TR={};N(TR,{default:()=>jR});var jl,pb,g2,Dl,jR,CQ=y(()=>{ge(),q(),$r(),gh(),dr(),cF(),bt(),Or(),H(),O(),T(),D(),It(),jl="property-no-unknown",pb=I(jl,{rejected:e=>`Unknown property "${e}"`}),g2={url:"https://stylelint.io/user-guide/rules/property-no-unknown"},Dl=(e,t)=>(r,n)=>{if(!j(n,jl,{actual:e},{actual:t,possible:{ignoreProperties:[$,U],checkPrefixed:[Hc],ignoreSelectors:[$,U],ignoreAtRules:[$,U]},optional:!0}))return;let i=t&&t.checkPrefixed,o=n.stylelint.lexer;r.walkDecls(a);function a(s){let l=s.prop;if(!gt(s)||uF(s)||!Pr(l)||ft(l)||!i&&He.prefix(l)||R(t,"ignoreProperties",l))return;let u=s.parent;u&&ut(u)&&R(t,"ignoreSelectors",u.selector)||fh(s,c=>Ie(c)&&R(t,"ignoreAtRules",c.name))||o.getProperty(l)||TN.has(l.toLowerCase())||i&&jN.has(l.toLowerCase())||P({message:pb.rejected,messageArgs:[l],node:s,result:n,ruleName:jl,word:l})}},Dl.ruleName=jl,Dl.messages=pb,Dl.meta=g2,jR=Dl}),DR={};N(DR,{default:()=>LR});var Ll,mb,b2,Fl,LR,AQ=y(()=>{q(),Je(),id(),H(),O(),T(),D(),Ll="property-no-vendor-prefix",mb=I(Ll,{rejected:e=>`Vendor-prefixed property "${e}"`}),b2={url:"https://stylelint.io/user-guide/rules/property-no-vendor-prefix",fixable:!0},Fl=(e,t)=>(r,n)=>{j(n,Ll,{actual:e},{optional:!0,actual:t,possible:{ignoreProperties:[$,U]}})&&r.walkDecls(i=>{let o=i.prop;if(R(t,"ignoreProperties",o)||o[0]!=="-"||o[1]==="-"||!Cr.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"||je.has(c));default:return!1}}))return;let a=()=>{i.prop=Cr.unprefix(i.prop)};P({message:mb.rejected,messageArgs:[o],word:o,node:i,result:n,ruleName:Ll,fix:{apply:a,node:i}})})},Fl.ruleName=Ll,Fl.messages=mb,Fl.meta=b2,LR=Fl}),FR={};N(FR,{default:()=>RR});function NQ(e){return!!fh(e,({type:t})=>t==="rule")}function zQ(e){let t=!1;return e.walkNesting(()=>(t=!0,!1)),t}function EQ(e){let t=e.nodes.find(r=>!zh(r));return Nh(t)}function PQ(e){let t=e.nodes.find(r=>!zh(r)&&!Fk(r));return Nh(t)}function OQ(e,t,r){let n=e.nodes.find(i=>!zh(i));if(n){let{before:i}=n.spaces;e.insertBefore(n,MR({spaces:{after:" ",before:i}})),n.spaces.before=""}t.selector=r.toString()}function IQ(e,t,r){let n=e.nodes.find(Fk),i="";n&&(i=n.spaces.before,n.remove());let o=e.nodes.find(Nh);if(o){let a=o.next();a&&(a.spaces.before=i),o.value===" "?o.remove():o.spaces.before=""}t.selector=r.toString()}var v2,Ml,hb,y2,Nh,zh,Fk,w2,MR,Rl,RR,TQ=y(()=>{v2=Z(lt(),1),gh(),ye(),de(),Ae(),O(),T(),D(),Ml="relative-selector-nesting-notation",hb=I(Ml,{expected:e=>`Expected ${e} nesting notation`}),y2={url:"https://stylelint.io/user-guide/rules/relative-selector-nesting-notation",fixable:!0},{isCombinator:Nh,isComment:zh,isNesting:Fk,isSelector:w2,nesting:MR}=v2.default,Rl=e=>(t,r)=>{j(r,Ml,{actual:e,possible:["explicit","implicit"]})&&t.walkRules(n=>{if(!ce(n)||!NQ(n))return;let i=Se(he(n),r,n);i&&i.each(o=>{if(!w2(o))return;let a=EQ(o),s;if(e==="explicit"){if(zQ(o)&&!a)return;s=()=>OQ(o,n,i)}else{if(a||!PQ(o))return;s=()=>IQ(o,n,i)}let l=o.sourceIndex,u=l+o.toString().trim().length;P({message:hb.expected,messageArgs:[e],node:n,index:l,endIndex:u,ruleName:Ml,result:r,fix:{apply:s,node:n}})})})},Rl.ruleName=Ml,Rl.messages=hb,Rl.meta=y2,RR=Rl});function jQ(e){let t=e.prev();return t!==void 0&&t.type==="comment"&&!Cw(t)&&t.source!==void 0&&t.source.start!==void 0&&t.source.end!==void 0&&t.source.start.line===t.source.end.line}var DQ=y(()=>{Aw()}),$R={};N($R,{default:()=>BR});function k2(e){let t=Mr(e);return t!=null&&t.type==="rule"}var $l,Sp,x2,Bl,BR,LQ=y(()=>{Zc(),Nn(),td(),DQ(),rd(),Bm(),Qm(),de(),H(),O(),T(),D(),$l="rule-empty-line-before",Sp=I($l,{expected:"Expected empty line before rule",rejected:"Expected no empty line before rule"}),x2={url:"https://stylelint.io/user-guide/rules/rule-empty-line-before",fixable:!0},Bl=(e,t,r)=>(n,i)=>{if(!j(i,$l,{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)||$m(a))return;if(R(t,"ignore","after-comment")){let p=a.prev();if(p&&p.type==="comment")return}if(R(t,"ignore","first-nested")&&Rr(a))return;let s=a.parent&&a.parent.type!=="root";if(R(t,"ignore","inside-block")&&s||o.includes("multi-line")&&Vm(a.toString()))return;let l=o.includes("always");(R(t,"except","first-nested")&&Rr(a)||R(t,"except","after-rule")&&k2(a)||R(t,"except","inside-block-and-after-rule")&&s&&k2(a)||R(t,"except","after-single-line-comment")&&jQ(a)||R(t,"except","inside-block")&&s)&&(l=!l);let u=ed(a.raws.before);if(l===u)return;let c=l?Sp.expected:Sp.rejected,d=l?"add":"remove";P({message:c,messageArgs:[],node:a,result:i,ruleName:$l,fix:{apply:()=>Xc({node:a,newline:r.newline,action:d}),node:a.parent}})})},Bl.ruleName=$l,Bl.messages=Sp,Bl.meta=x2,BR=Bl}),qR={};N(qR,{default:()=>WR});function FQ(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 ql,fb,S2,Zn,WR,MQ=y(()=>{ge(),q(),de(),Le(),O(),T(),D(),ql="rule-nesting-at-rule-required-list",fb=I(ql,{expected:(...e)=>`Expected rule to be nested in an at-rule matching pattern(s): ${e.map(t=>`"${t}"`).join(", ")}`}),S2={url:"https://stylelint.io/user-guide/rules/rule-nesting-at-rule-required-list"},Zn=e=>(t,r)=>{if(!j(r,ql,{actual:e,possible:[$,U]}))return;let n=[e].flat();t.walkRules(i=>{ce(i)&&(FQ(i,n)||P({message:fb.expected,messageArgs:n,node:i,result:r,ruleName:ql}))})},Zn.primaryOptionArray=!0,Zn.ruleName=ql,Zn.messages=fb,Zn.meta=S2,WR=Zn}),_R={};N(_R,{default:()=>UR});function RQ(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 Wl,gb,C2,_l,UR,$Q=y(()=>{q(),Ah(),de(),Le(),H(),O(),T(),Ht(),D(),Wl="rule-selector-property-disallowed-list",gb=I(Wl,{rejected:(e,t)=>`Disallowed property "${t}" for selector "${e}"`}),C2={url:"https://stylelint.io/user-guide/rules/rule-selector-property-disallowed-list"},_l=(e,t)=>(r,n)=>{if(!j(n,Wl,{actual:e,possible:[Mt($,U)]},{actual:t,possible:{ignore:["keyframe-selectors"]},optional:!0}))return;let i=R(t,"ignore","keyframe-selectors"),o=Object.keys(e);r.walkRules(a=>{if(!ce(a)||i&&Ch(a))return;let s=o.find(u=>Pe(a.selector,u));if(!s)return;let l=e[s];l&&a.walkDecls(u=>{if(!RQ(u,a))return;let{prop:c}=u;Pe(c,l)&&P({message:gb.rejected,messageArgs:[a.selector,c],node:u,result:n,ruleName:Wl,word:c})})})},_l.ruleName=Wl,_l.messages=gb,_l.meta=C2,UR=_l}),VR={};N(VR,{default:()=>QR});function BQ(e){let{a:t,b:r}=e;return!(t!==null&&t!=="0"&&t!=="-0"||r!==null&&r!=="0"&&r!=="-0")}var Ul,bb,A2,Vl,QR,qQ=y(()=>{Ji(),Wt(),q(),ye(),de(),V(),O(),T(),D(),Ul="selector-anb-no-unmatchable",bb=I(Ul,{rejected:e=>`Unmatchable An+B selector "${e}"`}),A2={url:"https://stylelint.io/user-guide/rules/selector-anb-no-unmatchable"},Vl=e=>(t,r)=>{j(r,Ul,{actual:e})&&t.walkRules(Q.aNPlusBNotationPseudoClass,n=>{if(!ce(n))return;let i=he(n),o;try{o=tn(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"||!Oc.has(l.name)&&!Ii.has(l.name))return;let u=l;u.children!==null&&u.children.forEach(c=>{if(c.type!=="Nth"||c.nth.type!=="AnPlusB")return;Ve(u.loc);let d=u.loc.start.offset,p=u.loc.end.offset;BQ(c.nth)&&P({message:bb.rejected,messageArgs:[i.slice(d,p)],node:n,index:d,endIndex:p,result:r,ruleName:Ul})})})}})},Vl.ruleName=Ul,Vl.messages=bb,Vl.meta=A2,QR=Vl}),GR={};N(GR,{default:()=>YR});var Ql,vb,N2,ei,YR,WQ=y(()=>{q(),ye(),de(),Le(),V(),Ae(),O(),T(),D(),Ql="selector-attribute-name-disallowed-list",vb=I(Ql,{rejected:e=>`Disallowed name "${e}"`}),N2={url:"https://stylelint.io/user-guide/rules/selector-attribute-name-disallowed-list"},ei=e=>(t,r)=>{j(r,Ql,{actual:e,possible:[$,U]})&&t.walkRules(Q.attributeSelector,n=>{var i;ce(n)&&((i=Se(he(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:vb.rejected,messageArgs:[a],node:n,index:s,endIndex:l,result:r,ruleName:Ql})}))})},ei.primaryOptionArray=!0,ei.ruleName=Ql,ei.messages=vb,ei.meta=N2,YR=ei}),KR={};N(KR,{default:()=>HR});var Gl,yb,z2,ti,HR,_Q=y(()=>{ye(),de(),q(),V(),Ae(),O(),T(),D(),Gl="selector-attribute-operator-allowed-list",yb=I(Gl,{rejected:e=>`Disallowed operator "${e}"`}),z2={url:"https://stylelint.io/user-guide/rules/selector-attribute-operator-allowed-list"},ti=e=>(t,r)=>{if(!j(r,Gl,{actual:e,possible:[$]}))return;let n=new Set([e].flat());t.walkRules(Q.attributeSelectorWithOperator,i=>{var o;ce(i)&&((o=Se(he(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:yb.rejected,messageArgs:[s],node:i,index:l,endIndex:u,result:r,ruleName:Gl})}))})},ti.primaryOptionArray=!0,ti.ruleName=Gl,ti.messages=yb,ti.meta=z2,HR=ti}),JR={};N(JR,{default:()=>XR});var Yl,wb,E2,ri,XR,UQ=y(()=>{ye(),de(),q(),V(),Ae(),O(),T(),D(),Yl="selector-attribute-operator-disallowed-list",wb=I(Yl,{rejected:e=>`Disallowed operator "${e}"`}),E2={url:"https://stylelint.io/user-guide/rules/selector-attribute-operator-disallowed-list"},ri=e=>(t,r)=>{if(!j(r,Yl,{actual:e,possible:[$]}))return;let n=new Set([e].flat());t.walkRules(Q.attributeSelectorWithOperator,i=>{var o;ce(i)&&((o=Se(he(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:wb.rejected,messageArgs:[s],node:i,index:l,endIndex:u,result:r,ruleName:Yl})}))})},ri.primaryOptionArray=!0,ri.ruleName=Yl,ri.messages=wb,ri.meta=E2,XR=ri});function VQ(e){if(!e||e.trim()==="")return!1;let t=e.trim().replace(ZR,"").replace(e$,"");return!(t$.test(t)||ew.test(t.charAt(0))||t.charAt(0)==="-"&&ew.test(t.charAt(1)))}var ZR,e$,t$,ew,QQ=y(()=>{ZR=/\\[0-9a-f]{1,6}(\\r\\n|[ \t\r\n\f])?/gi,e$=/\\./g,t$=/[^\w-]/,ew=/\d/}),r$={};N(r$,{default:()=>n$});var Kl,kb,P2,Hl,n$,GQ=y(()=>{ye(),de(),QQ(),V(),Ae(),O(),T(),D(),Kl="selector-attribute-quotes",kb=I(Kl,{expected:e=>`Expected quotes around "${e}"`,rejected:e=>`Expected no quotes around "${e}"`}),P2={url:"https://stylelint.io/user-guide/rules/selector-attribute-quotes",fixable:!0},Hl=e=>(t,r)=>{j(r,Kl,{actual:e,possible:["always","never"]})&&t.walkRules(Q.attributeSelectorWithOperator,n=>{if(!ce(n))return;let i=Se(he(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:kb[a],messageArgs:[u],index:l,endIndex:c,result:r,ruleName:Kl,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||!VQ(a.raws.value.slice(1,-1)))return;o("rejected",a)}})})},Hl.ruleName=Kl,Hl.messages=kb,Hl.meta=P2,n$=Hl});function Eh(e){return!!(Ti.has(e)||/^(?:\d+|\d*\.\d+)%$/.test(e)||i$.test(e))}var i$,Ph=y(()=>{Je(),i$=new RegExp(`^(?:${[...ZN.values()].join("|")})\\s+(?:\\d+|\\d*\\.\\d+)%$`,"i")}),o$={};N(o$,{default:()=>a$});var Jl,xb,O2,Xl,a$,YQ=y(()=>{q(),ye(),Ph(),de(),V(),Ae(),O(),T(),D(),Jl="selector-class-pattern",xb=I(Jl,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),O2={url:"https://stylelint.io/user-guide/rules/selector-class-pattern"},Xl=e=>(t,r)=>{if(!j(r,Jl,{actual:e,possible:[U,$]}))return;let n=$(e)?new RegExp(e):e;t.walkRules(Q.classSelector,i=>{var o;ce(i)&&(i.selectors.some(Eh)||((o=Se(he(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:Jl,message:xb.expected,messageArgs:[u,e],node:i,index:l,endIndex:c})})))})},Xl.ruleName=Jl,Xl.messages=xb,Xl.meta=O2,a$=Xl});function s$(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 l$=y(()=>{}),u$={};N(u$,{default:()=>c$});function KQ(e){return e.replace(/\s+/g," ")}var Zl,Sb,I2,ni,c$,HQ=y(()=>{ye(),l$(),de(),q(),Ae(),O(),T(),D(),Zl="selector-combinator-allowed-list",Sb=I(Zl,{rejected:e=>`Disallowed combinator "${e}"`}),I2={url:"https://stylelint.io/user-guide/rules/selector-combinator-allowed-list"},ni=e=>(t,r)=>{j(r,Zl,{actual:e,possible:[$]})&&t.walkRules(n=>{var i;ce(n)&&((i=Se(he(n),r,n))==null||i.walkCombinators(o=>{if(!s$(o))return;let{value:a}=o,s=KQ(a);if(e.includes(s))return;let{sourceIndex:l,raws:u}=o,c=l+(u&&u.value||a).length;P({result:r,ruleName:Zl,message:Sb.rejected,messageArgs:[s],node:n,index:l,endIndex:c})}))})},ni.primaryOptionArray=!0,ni.ruleName=Zl,ni.messages=Sb,ni.meta=I2,c$=ni}),d$={};N(d$,{default:()=>p$});function JQ(e){return e.replace(/\s+/g," ")}var eu,Cb,T2,ii,p$,XQ=y(()=>{ye(),l$(),de(),q(),Ae(),O(),T(),D(),eu="selector-combinator-disallowed-list",Cb=I(eu,{rejected:e=>`Disallowed combinator "${e}"`}),T2={url:"https://stylelint.io/user-guide/rules/selector-combinator-disallowed-list"},ii=e=>(t,r)=>{j(r,eu,{actual:e,possible:[$]})&&t.walkRules(n=>{var i;ce(n)&&((i=Se(he(n),r,n))==null||i.walkCombinators(o=>{if(!s$(o))return;let{value:a}=o,s=JQ(a);if(!e.includes(s))return;let{sourceIndex:l,raws:u}=o,c=l+(u&&u.value||a).length;P({result:r,ruleName:eu,message:Cb.rejected,messageArgs:[s],node:n,index:l,endIndex:c})}))})},ii.primaryOptionArray=!0,ii.ruleName=eu,ii.messages=Cb,ii.meta=T2,p$=ii}),m$={};N(m$,{default:()=>h$});var tu,Ab,j2,oi,h$,ZQ=y(()=>{q(),ye(),St(),Ah(),de(),Le(),H(),Ae(),O(),T(),D(),tu="selector-disallowed-list",Ab=I(tu,{rejected:e=>`Disallowed selector "${e}"`}),j2={url:"https://stylelint.io/user-guide/rules/selector-disallowed-list"},oi=(e,t)=>(r,n)=>{if(!j(n,tu,{actual:e,possible:[$,U]},{actual:t,possible:{ignore:["inside-block","keyframe-selectors"],splitList:[Hc]},optional:!0}))return;let i=R(t,"ignore","inside-block"),o=R(t,"ignore","keyframe-selectors"),a=t&&t.splitList;r.walkRules(s=>{var c;if(!ce(s)||o&&Ch(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:tu,message:Ab.rejected,messageArgs:[d],node:s,index:p,endIndex:m})}let u=he(s);if(!a){l(u,0,u.length);return}(c=Se(u,n,s))==null||c.each(d=>{let{selector:p,index:m,endIndex:v}=ot(d);l(p,m,v)})})},oi.primaryOptionArray=!0,oi.ruleName=tu,oi.messages=Ab,oi.meta=j2,h$=oi}),f$={};N(f$,{default:()=>g$});var ru,Nb,D2,nu,g$,eG=y(()=>{q(),ye(),de(),V(),Ae(),O(),T(),D(),ru="selector-id-pattern",Nb=I(ru,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),D2={url:"https://stylelint.io/user-guide/rules/selector-id-pattern"},nu=e=>(t,r)=>{if(!j(r,ru,{actual:e,possible:[U,$]}))return;let n=$(e)?new RegExp(e):e;t.walkRules(Q.idSelector,i=>{var o;ce(i)&&((o=Se(he(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:ru,message:Nb.expected,messageArgs:[u,e],node:i,index:l,endIndex:c})}))})},nu.ruleName=ru,nu.messages=Nb,nu.meta=D2,g$=nu}),b$={};N(b$,{default:()=>v$});var iu,zb,L2,ou,v$,tG=y(()=>{q(),ye(),St(),Ir(),de(),V(),H(),Ae(),O(),T(),D(),iu="selector-max-attribute",zb=I(iu,{expected:(e,t)=>`Too many attribute selectors in "${e}", maximum ${t}`}),L2={url:"https://stylelint.io/user-guide/rules/selector-max-attribute"},ou=(e,t)=>(r,n)=>{if(!j(n,iu,{actual:e,possible:cr},{actual:t,possible:{ignoreAttributes:[$,U]},optional:!0}))return;function i(o,a){let s=0;if(o.walkAttributes(l=>{R(t,"ignoreAttributes",l.attribute)||(s+=1)}),s>e){let{index:l,endIndex:u,selector:c}=ot(o);P({ruleName:iu,result:n,node:a,message:zb.expected,messageArgs:[c,e],index:l,endIndex:u})}}r.walkRules(Q.attributeSelector,o=>{var a;ce(o)&&((a=Se(he(o),n,o))==null||a.each(s=>{i(s,o)}))})},ou.ruleName=iu,ou.messages=zb,ou.meta=L2,v$=ou}),y$={};N(y$,{default:()=>w$});var au,Eb,F2,su,w$,rG=y(()=>{ye(),St(),Ir(),de(),V(),Ae(),O(),T(),D(),au="selector-max-class",Eb=I(au,{expected:(e,t)=>`Too many class selectors in "${e}", maximum ${t}`}),F2={url:"https://stylelint.io/user-guide/rules/selector-max-class"},su=e=>(t,r)=>{if(!j(r,au,{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}=ot(i);P({ruleName:au,result:r,node:o,message:Eb.expected,messageArgs:[u,e],index:s,endIndex:l})}}t.walkRules(Q.classSelector,i=>{var o;ce(i)&&((o=Se(he(i),r,i))==null||o.each(a=>{n(a,i)}))})},su.ruleName=au,su.messages=Eb,su.meta=F2,w$=su}),k$={};N(k$,{default:()=>x$});var lu,Pb,M2,uu,x$,nG=y(()=>{ye(),St(),Ir(),de(),V(),Ae(),O(),T(),D(),lu="selector-max-combinators",Pb=I(lu,{expected:(e,t)=>`Too many combinators in "${e}", maximum ${t}`}),M2={url:"https://stylelint.io/user-guide/rules/selector-max-combinators"},uu=e=>(t,r)=>{if(!j(r,lu,{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}=ot(i);P({ruleName:lu,result:r,node:o,message:Pb.expected,messageArgs:[u,e],index:s,endIndex:l})}}t.walkRules(Q.combinator,i=>{var o;ce(i)&&((o=Se(he(i),r,i))==null||o.each(a=>{n(a,i)}))})},uu.ruleName=lu,uu.messages=Pb,uu.meta=M2,x$=uu}),S$={};N(S$,{default:()=>C$});var R2,Ob,Ib,$2,cu,Tb,B2,du,C$,iG=y(()=>{R2=Z(lt(),1),q(),ye(),St(),Ir(),de(),V(),H(),Ae(),O(),T(),D(),{isCombinator:Ob,isPseudo:Ib,isRoot:$2}=R2.default,cu="selector-max-compound-selectors",Tb=I(cu,{expected:(e,t)=>`Too many compound selectors in "${e}", maximum ${t}`}),B2={url:"https://stylelint.io/user-guide/rules/selector-max-compound-selectors"},du=(e,t)=>(r,n)=>{if(!j(n,cu,{actual:e,possible:cr},{actual:t,possible:{ignoreSelectors:[$,U]},optional:!0}))return;function i(a){let s=Ib(a)?a.value:a.toString();return R(t,"ignoreSelectors",s)}function o(a,s){let l=[];if(a.walk(u=>{i(u)||l.push(u)}),!($2(a)||Ib(a))&&l.reduce((u,c,d,p)=>!Ob(c)||d===0||d===p.length-1||Ob(p[d+1])?u:u+1,0)+1>e){let{index:u,endIndex:c,selector:d}=ot(a);P({ruleName:cu,result:n,node:s,message:Tb.expected,messageArgs:[d,e],index:u,endIndex:c})}}r.walkRules(Q.combinator,a=>{var s;ce(a)&&((s=Se(he(a),n,a))==null||s.each(l=>{o(l,a)}))})},du.ruleName=cu,du.messages=Tb,du.meta=B2,C$=du});function oG(e){if((e==null?void 0:e.type)==="pseudo"){let t=e.value.toLowerCase().replace(/:+/,"");return vv.has(t)||Ii.has(t)}return!1}var aG=y(()=>{Wt()}),A$={};N(A$,{default:()=>N$});var pu,jb,q2,mu,N$,sG=y(()=>{q(),ye(),St(),aG(),Ir(),de(),V(),H(),Ae(),O(),T(),D(),pu="selector-max-id",jb=I(pu,{expected:(e,t)=>`Too many ID selectors in "${e}", maximum ${t}`}),q2={url:"https://stylelint.io/user-guide/rules/selector-max-id"},mu=(e,t)=>(r,n)=>{if(!j(n,pu,{actual:e,possible:cr},{actual:t,possible:{ignoreContextFunctionalPseudoClasses:[$,U]},optional:!0}))return;function i(o){let a=o;for(;a;){if(oG(a)&&R(t,"ignoreContextFunctionalPseudoClasses",a.value))return!0;a=a.parent}return!1}r.walkRules(Q.idSelector,o=>{var a;ce(o)&&((a=Se(he(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}=ot(s);P({ruleName:pu,result:n,node:o,message:jb.expected,messageArgs:[d,e],index:u,endIndex:c})}}))})},mu.ruleName=pu,mu.messages=jb,mu.meta=q2,N$=mu}),z$={};N(z$,{default:()=>E$});var hu,Db,W2,fu,E$,lG=y(()=>{ye(),St(),Ir(),de(),Wt(),V(),Ae(),O(),T(),D(),hu="selector-max-pseudo-class",Db=I(hu,{expected:(e,t)=>`Too many pseudo-classes in "${e}", maximum ${t}`}),W2={url:"https://stylelint.io/user-guide/rules/selector-max-pseudo-class"},fu=e=>(t,r)=>{if(!j(r,hu,{actual:e,possible:cr}))return;function n(i,o){let a=0;if(i.walk(s=>{s.type==="pseudo"&&(s.value.includes("::")||Ec.has(s.value.toLowerCase().slice(1))||(a+=1))}),a>e){let{index:s,endIndex:l,selector:u}=ot(i);P({ruleName:hu,result:r,node:o,message:Db.expected,messageArgs:[u,e],index:s,endIndex:l})}}t.walkRules(Q.pseudo,i=>{var o;ce(i)&&((o=Se(he(i),r,i))==null||o.each(a=>{n(a,i)}))})},fu.ruleName=hu,fu.messages=Db,fu.meta=W2,E$=fu}),P$={};N(P$,{default:()=>O$});var gu,Lb,_2,Fb,bu,O$,uG=y(()=>{R3(),q(),St(),de(),H(),O(),Sh(),T(),D(),gu="selector-max-specificity",Lb=I(gu,{expected:(e,t,r)=>(e=`"${e}"${r?` ("${r}")`:""}`,`Too high specificity in ${e}, maximum "${t}"`)}),_2={url:"https://stylelint.io/user-guide/rules/selector-max-specificity"},Fb=()=>({a:0,b:0,c:0}),bu=(e,t)=>(r,n)=>{if(!j(n,gu,{actual:e,possible:[c=>$(c)&&/^\d+,\d+,\d+$/.test(c)]},{actual:t,possible:{ignoreSelectors:[$,U]},optional:!0}))return;let i=c=>R(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())?Fb():void 0;case"pseudo":{if(!i(c.value.toLowerCase()))return;if(!((d=c.nodes)!=null&&d.length))return Fb();let p=yn(c),m=yn(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));mc(a),mc(s),mc(l);let u={a,b:s,c:l};r.walkRules(c=>{ce(c)&&Yc(c,n).forEach(({selector:d,resolvedSelectors:p})=>{p.each(m=>{let v=yn(m,{customSpecificity:o});if(Dk(v,u)>0){let{index:h,endIndex:b,selector:g}=ot(d),{selector:f}=ot(m);f=f===g?"":f,P({ruleName:gu,result:n,node:c,message:Lb.expected,messageArgs:[g,e,f],index:h,endIndex:b})}})})})},bu.ruleName=gu,bu.messages=Lb,bu.meta=_2,O$=bu}),Mk,I$=y(()=>{"use strict";Mk=[]}),T$=Y((e,t)=>{"use strict";t.exports=[]});function j$(e){if(!/^[a-z]/.test(e)||!e.includes("-"))return!1;let t=e.toLowerCase();return!(t!==e||D$.default.includes(t)||Mk.includes(t))}var D$,L$=y(()=>{I$(),D$=Z(T$(),1)});function cG(e){for(let t of e)if(!Pv(t))return!1;return!0}var dG=y(()=>{TE()});function Oh(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"&&(Oc.has(o)||Ii.has(o)||bv.has(o)||fv.has(o)))return!1}return!(((i=e.prev())==null?void 0:i.type)==="nesting"||e.value.startsWith("%")||e.value.startsWith("/")&&e.value.endsWith("/"))}var Ih=y(()=>{Wt()}),F$={};N(F$,{default:()=>M$});function pG(e){if(!e.parent)return!1;let t=e.parent.nodes.indexOf(e);return e.parent.nodes.slice(0,t).some(r=>gG(r))}function mG(e){if(!e.parent)return!1;let t=e.parent.nodes.indexOf(e);return e.parent.nodes.slice(0,t).some(r=>bG(r))}function hG(e){return!!(e.prev()&&!Kc(e.prev())||e.next()&&!Kc(e.next()))}function fG(e){return vG(e.prev())}function Kc(e){return e?e.type==="combinator":!1}function gG(e){return e?Kc(e)&&$(e.value)&&cG(e.value):!1}function bG(e){return e?Kc(e)&&e.value===">":!1}function vG(e){return Kc(e)&&e.value==="+"}var vu,Mb,U2,yu,M$,yG=y(()=>{q(),ye(),St(),L$(),Ph(),Ir(),dG(),de(),Ih(),V(),H(),Ae(),O(),T(),D(),vu="selector-max-type",Mb=I(vu,{expected:(e,t)=>`Too many type selectors in "${e}", maximum ${t}`}),U2={url:"https://stylelint.io/user-guide/rules/selector-max-type"},yu=(e,t)=>(r,n)=>{if(!j(n,vu,{actual:e,possible:cr},{actual:t,possible:{ignore:["descendant","child","compounded","next-sibling","custom-elements"],ignoreTypes:[$,U]},optional:!0}))return;let i=R(t,"ignore","descendant"),o=R(t,"ignore","child"),a=R(t,"ignore","compounded"),s=R(t,"ignore","next-sibling"),l=R(t,"ignore","custom-elements");function u(c,d){let p=0;if(c.walkTags(m=>{R(t,"ignoreTypes",m.value)||i&&pG(m)||o&&mG(m)||a&&hG(m)||s&&fG(m)||l&&m.value&&j$(m.value)||Oh(m)&&(p+=1)}),p>e){let{selector:m,index:v,endIndex:h}=ot(c);P({ruleName:vu,result:n,node:d,message:Mb.expected,messageArgs:[m,e],index:v,endIndex:h})}}r.walkRules(Q.typeSelector,c=>{var d;!ce(c)||c.selectors.some(Eh)||(d=Se(he(c),n,c))==null||d.each(p=>{u(p,c)})})},yu.ruleName=vu,yu.messages=Mb,yu.meta=U2,M$=yu}),R$={};N(R$,{default:()=>$$});var wu,Rb,V2,ku,$$,wG=y(()=>{ye(),St(),Ir(),de(),q(),V(),H(),Ae(),O(),T(),D(),wu="selector-max-universal",Rb=I(wu,{expected:(e,t)=>`Too many universal selectors in "${e}", maximum ${t}`}),V2={url:"https://stylelint.io/user-guide/rules/selector-max-universal"},ku=(e,t)=>(r,n)=>{if(!j(n,wu,{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;R(t,"ignoreAfterCombinators",c)||(s+=1)}),s>e){let{index:l,endIndex:u,selector:c}=ot(o);P({ruleName:wu,result:n,node:a,message:Rb.expected,messageArgs:[c,e],index:l,endIndex:u})}}r.walkRules(Q.universalSelector,o=>{var a;ce(o)&&((a=Se(he(o),n,o))==null||a.each(s=>{i(s,o)}))})},ku.ruleName=wu,ku.messages=Rb,ku.meta=V2,$$=ku}),B$={};N(B$,{default:()=>q$});var xu,$b,Q2,Su,q$,kG=y(()=>{q(),ye(),St(),de(),Ae(),O(),T(),D(),xu="selector-nested-pattern",$b=I(xu,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),Q2={url:"https://stylelint.io/user-guide/rules/selector-nested-pattern"},Su=(e,t)=>(r,n)=>{if(!j(n,xu,{actual:e,possible:[U,$]},{actual:t,possible:{splitList:[Hc]},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=he(s);o?(u=Se(l,n,s))==null||u.each(c=>{let{index:d,endIndex:p,selector:m}=ot(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:xu,message:$b.expected,messageArgs:[l,e],node:s,index:u,endIndex:c})}},Su.ruleName=xu,Su.messages=$b,Su.meta=Q2,q$=Su});function W$(e){return e.startsWith(":--")}var _$=y(()=>{}),U$={};N(U$,{default:()=>V$});var G2,ai,Cu,Y2,K2,H2,J2,Au,V$,xG=y(()=>{G2=Z(lt(),1),Wt(),q(),ye(),_$(),de(),ld(),V(),H(),Ae(),O(),T(),D(),ai="selector-no-deprecated",Cu=I(ai,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:e=>`Deprecated selector "${e}"`}),Y2={url:"https://stylelint.io/user-guide/rules/selector-no-deprecated",fixable:!0},{isPseudoElement:K2}=G2.default,H2={"focus-ring":"focus-visible",matches:"is","-webkit-any":"is","-moz-any":"is","top-layer":"open","popup-open":"open","user-error":"user-invalid"},J2={content:"slotted"},Au=(e,t)=>(r,n)=>{j(n,ai,{actual:e},{actual:t,possible:{ignoreSelectors:[$,U]},optional:!0})&&r.walkRules(i=>{if(!ce(i))return;let o=he(i),a=Q.deprecatedPseudo.test(o),s=Q.deprecatedTypeSelector.test(o);if(!a&&!s)return;let l=Se(o,n,i);l&&(a&&l.walkPseudos(u=>{let{value:c,sourceIndex:d}=u;if(!sd(c)||W$(c))return;let p,m;if(K2(u)){p=c.slice(2);let g=p.toLowerCase();if(!Kp.has(g))return;let f=J2[g];f&&(m=`::${f}`)}else{p=c.slice(1);let g=p.toLowerCase();if(!Hp.has(g))return;let f=H2[g];f&&(m=`:${f}`)}if(R(t,"ignoreSelectors",p))return;let v,h,b;typeof m=="string"?(h=Cu.expected,b=[c,m],v=()=>{u.value=m,i.selector=l.toString()}):(h=Cu.rejected,b=[c]),P({result:n,ruleName:ai,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;R(t,"ignoreSelectors",d)||!Yp.has(d.toLowerCase())&&!mw.has(d)||P({result:n,ruleName:ai,message:Cu.rejected,messageArgs:[d],node:i,index:c,endIndex:c+d.length})}))})},Au.ruleName=ai,Au.messages=Cu,Au.meta=Y2,V$=Au});function tw(e){return Q$.default.isPseudoClass(e)&&e.nodes.length>0&&G$.has(e.value.toLowerCase())}var Q$,G$,Y$=y(()=>{Q$=Z(lt(),1),G$=new Set(["is","matches","not","where","host"].map(e=>`:${e}`))});function SG(e){let t=Oi.default.root({source:e.source,sourceIndex:e.sourceIndex,value:"",nodes:[]}),r=new Map;return e.each(n=>{CG(n).forEach(i=>{let o=n.clone({nodes:[]});i.forEach(a=>{let s=a.clone();Oi.default.isTag(a)&&r.set(s,a),o.append(s)}),t.append(o)})}),{compoundSelectors:t,lookupMap:r}}function CG(e){let{terminatedCompoundSelectors:t,currentCompoundSelectors:r}=rw(e);return[...t,...r].filter(n=>n.length)}function rw(e){let t=[],r=[[]];return e.each(n=>{if(Oi.default.isCombinator(n)){t.push(...r),r=[[]];return}if(Oi.default.isPseudoElement(n)&&(t.push(...r),r=[[]]),Oi.default.isPseudoClass(n)&&n.value.toLowerCase()===":has"&&n.nodes.length){n.each(i=>{let o=rw(i);t.push(...o.terminatedCompoundSelectors,...o.currentCompoundSelectors)});return}if(tw(n)){let i=[];n.each(o=>{let a=rw(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 Oi,AG=y(()=>{Oi=Z(lt(),1),Y$()}),K$={};N(K$,{default:()=>J$});function H$(e){var o;let t=(o=e.parent)==null?void 0:o.parent;if(tw(t))return H$(t);let r=[e],n=e;for(;(n=n.prev())&&!(At.default.isCombinator(n)||At.default.isPseudoElement(n));)At.default.isComment(n)||r.push(n);r.reverse();let i=e;for(;(i=i.next())&&!(At.default.isCombinator(i)||At.default.isPseudoElement(i));)At.default.isComment(i)||r.push(i);for(;(i=r.at(-1))&&!(At.default.isIdentifier(i)||At.default.isClassName(i)||At.default.isAttribute(i)||At.default.isTag(i)||tw(i));)r.splice(-1,1);return r}var At,Nu,Bb,X2,zu,J$,NG=y(()=>{At=Z(lt(),1),AG(),St(),Ah(),Y$(),de(),Ih(),V(),H(),O(),Sh(),T(),D(),Nu="selector-no-qualifying-type",Bb=I(Nu,{rejected:(e,t)=>`Disallowed qualifying type selector "${t}" in "${e}"`}),X2={url:"https://stylelint.io/user-guide/rules/selector-no-qualifying-type"},zu=(e,t)=>(r,n)=>{if(!j(n,Nu,{actual:e,possible:[!0]},{actual:t,possible:{ignore:["attribute","class","id"]},optional:!0}))return;let i=R(t,"ignore","id"),o=R(t,"ignore","class"),a=R(t,"ignore","attribute");r.walkRules(Q.idClassAttributeSelector,s=>{if(!ce(s)||Ch(s))return;function l(u,c,d){let{compoundSelectors:p,lookupMap:m}=SG(u);p.walkTags(v=>{var x;let h=m.get(v);if(!h||!Oh(h))return;let b=v.parent;if(!b||b.nodes.length===1)return;let g=b.nodes,f=H$(h);for(let w of g)if(At.default.isIdentifier(w)&&!i||At.default.isClassName(w)&&!o||At.default.isAttribute(w)&&!a){let k=f.join("").trim(),S,z;d?{index:S,endIndex:z}=ot(c):(S=(x=v.sourceIndex)!=null?x:0,z=S+v.value.length),P({ruleName:Nu,result:n,node:s,message:Bb.rejected,messageArgs:[k,v.value],index:S,endIndex:z});break}})}Yc(s,n).forEach(({selector:u,resolvedSelectors:c,nested:d})=>{l(c,u,d)})})},zu.ruleName=Nu,zu.messages=Bb,zu.meta=X2,J$=zu}),X$={};N(X$,{default:()=>Z$});var Eu,qb,Z2,Pu,Z$,zG=y(()=>{q(),ye(),id(),de(),V(),H(),Ae(),O(),T(),D(),Eu="selector-no-vendor-prefix",qb=I(Eu,{rejected:e=>`Vendor-prefixed selector "${e}"`}),Z2={url:"https://stylelint.io/user-guide/rules/selector-no-vendor-prefix",fixable:!0},Pu=(e,t)=>(r,n)=>{j(n,Eu,{actual:e},{actual:t,possible:{ignoreSelectors:[$,U]},optional:!0})&&r.walkRules(Q.prefix,i=>{if(!ce(i))return;let o=Se(he(i),n,i);o&&o.walkPseudos(a=>{let{value:s}=a;if(!Cr.selector(s)||R(t,"ignoreSelectors",s))return;let l=()=>{a.value=Cr.unprefix(s),i.selector=o.toString()},u=a.sourceIndex,c=u+s.length;P({result:n,ruleName:Eu,message:qb.rejected,messageArgs:[s],node:i,index:u,endIndex:c,fix:{apply:l,node:i}})})})},Pu.ruleName=Eu,Pu.messages=qb,Pu.meta=Z2,Z$=Pu}),e5={};N(e5,{default:()=>r5});function EG(e,t,r){let n=e.nodes.filter(({nodes:o})=>o[0]&&nw(o[0])).map(o=>(Ve(o.nodes[0]),o.nodes[0].rawSpaceBefore="",o.nodes[0].rawSpaceAfter="",o)),i=n.shift();Ve(i),Ve(e.parent),e.empty(),e.nodes.push(i);for(let o of n){let a=t5(e),s=a.clone({nodes:[o]});s.rawSpaceBefore="",e.parent.insertAfter(a,s)}t.selector=r.toString()}function PG(e,t,r){let n=s=>{for(let l of s)Ve(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(Ve(i.nodes[0]),i.nodes[0].rawSpaceBefore="",i.nodes[0].rawSpaceAfter="",n(o);fi(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 eA,tA,rA,nA,Wb,iA,oA,Ou,_b,aA,nw,fi,sA,Iu,t5,r5,OG=y(()=>{eA=Z(lt(),1),q(),ye(),de(),V(),Ae(),O(),T(),D(),{isAttribute:tA,isClassName:rA,isIdentifier:nA,isPseudoClass:Wb,isTag:iA,isUniversal:oA}=eA.default,Ou="selector-not-notation",_b=I(Ou,{expected:e=>`Expected ${e} :not() pseudo-class notation`}),aA={url:"https://stylelint.io/user-guide/rules/selector-not-notation",fixable:!0},nw=e=>Wb(e)||tA(e)||rA(e)||oA(e)||nA(e)||iA(e),fi=e=>Wb(e)&&e.value!==void 0&&e.value.toLowerCase()===":not",sA=e=>{if(e.length>1)return!1;Ve(e[0],"list is never empty");let[t,r]=e[0].nodes;return t?r?!1:nw(t)&&!fi(t):!0},Iu=e=>(t,r)=>{j(r,Ou,{actual:e,possible:["simple","complex"]})&&t.walkRules(Q.notPseudoClass,n=>{if(!ce(n))return;let i=Se(he(n),r,n);i&&i.walkPseudos(o=>{if(!fi(o))return;let a=o.sourceIndex,s=a+o.toString().trim().length,l;if(e==="complex"){let u=o.prev();if(!(u&&fi(u)))return;l=()=>PG(u,n,i)}else{let u=o.nodes;if(sA(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:_b.expected,messageArgs:[e],node:n,result:r,ruleName:Ou,index:a,endIndex:s,fix:{apply:l,node:n}})})})},t5=({parent:e,sourceIndex:t})=>{Ve(e);let r=e.nodes,n=r.findIndex(o=>o.sourceIndex>=t&&!fi(o)),i=n===-1?r[r.length-1]:r[n-1];return Ve(i),i},Iu.ruleName=Ou,Iu.messages=_b,Iu.meta=aA,r5=Iu}),n5={};N(n5,{default:()=>i5});var Tu,Ub,lA,si,i5,IG=y(()=>{V(),q(),ee(),st(),ye(),et(),de(),Le(),Ae(),O(),T(),D(),Tu="selector-pseudo-class-allowed-list",Ub=I(Tu,{rejected:e=>`Disallowed pseudo-class "${e}"`}),lA={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-allowed-list"},si=e=>(t,r)=>{if(!j(r,Tu,{actual:e,possible:[$,U]}))return;function n(i,o,a=0){var s;(s=Se(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:Ub.rejected,messageArgs:[l],node:o,result:r,ruleName:Tu,index:d,endIndex:d+l.length})})}t.walkRules(Q.pseudo,i=>{ce(i)&&n(he(i),i)}),t.walkAtRules(xe.pageName,i=>{Q.pseudo.test(i.params)&&Ze(i)&&n(at(i),i,Te(i))})},si.primaryOptionArray=!0,si.ruleName=Tu,si.messages=Ub,si.meta=lA,i5=si}),o5={};N(o5,{default:()=>a5});var ju,Vb,uA,li,a5,TG=y(()=>{V(),q(),ee(),st(),ye(),et(),de(),Le(),Ae(),O(),T(),D(),ju="selector-pseudo-class-disallowed-list",Vb=I(ju,{rejected:e=>`Disallowed pseudo-class "${e}"`}),uA={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-disallowed-list"},li=e=>(t,r)=>{if(!j(r,ju,{actual:e,possible:[$,U]}))return;function n(i,o,a=0){var s;(s=Se(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:Vb.rejected,messageArgs:[l],node:o,result:r,ruleName:ju,index:d,endIndex:d+l.length})})}t.walkRules(Q.pseudo,i=>{ce(i)&&n(he(i),i)}),t.walkAtRules(xe.pageName,i=>{Q.pseudo.test(i.params)&&Ze(i)&&n(at(i),i,Te(i))})},li.primaryOptionArray=!0,li.ruleName=ju,li.messages=Vb,li.meta=uA,a5=li}),s5={};N(s5,{default:()=>l5});var Du,Qb,cA,Lu,l5,jG=y(()=>{Wt(),q(),ee(),st(),ye(),ge(),_$(),et(),de(),ld(),H(),Ae(),O(),T(),D(),It(),Du="selector-pseudo-class-no-unknown",Qb=I(Du,{rejected:e=>`Unknown pseudo-class selector "${e}"`}),cA={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-no-unknown"},Lu=(e,t)=>(r,n)=>{if(!j(n,Du,{actual:e},{actual:t,possible:{ignorePseudoClasses:[$,U]},optional:!0}))return;function i(o,a){var s;(s=Se(o,n,a))==null||s.walkPseudos(l=>{let u=l.value;if(!sd(u)||W$(u)||u.startsWith("::"))return;let c=u.replace(/^:*/,"").toLowerCase();if(Ec.has(c)||R(t,"ignorePseudoClasses",l.value.slice(1)))return;let d=He.prefix(c),p;if(Ie(a)&&a.name==="page"){if(RN.has(c))return;p=Te(a)+l.sourceIndex}else if(Fm.has(c)&&!d)p=l.sourceIndex;else{if(d||BN.has(c))return;let v=l;do if(v=v.prev(),v&&v.value.slice(0,2)==="::")break;while(v);if(v){let h=v.value.toLowerCase().slice(2);if(gv.has(h)&&$N.has(c))return}p=l.sourceIndex}let m=p+l.value.length;P({message:Qb.rejected,messageArgs:[u],node:a,index:p,endIndex:m,ruleName:Du,result:n})})}r.walk(o=>{let a=null;if(o.type==="rule"){if(!ce(o))return;a=he(o)}else if(Ie(o)&&o.name==="page"&&o.params){if(!Ze(o))return;a=at(o)}a&&a.includes(":")&&i(a,o)})},Lu.ruleName=Du,Lu.messages=Qb,Lu.meta=cA,l5=Lu}),u5={};N(u5,{default:()=>c5});var Fu,Gb,dA,ui,c5,DG=y(()=>{q(),ye(),de(),Le(),V(),Ae(),O(),T(),D(),Fu="selector-pseudo-element-allowed-list",Gb=I(Fu,{rejected:e=>`Disallowed pseudo-element "${e}"`}),dA={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-allowed-list"},ui=e=>(t,r)=>{j(r,Fu,{actual:e,possible:[$,U]})&&t.walkRules(Q.pseudoElement,n=>{var i;ce(n)&&((i=Se(he(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:Gb.rejected,messageArgs:[a],node:n,result:r,ruleName:Fu})}))})},ui.primaryOptionArray=!0,ui.ruleName=Fu,ui.messages=Gb,ui.meta=dA,c5=ui}),d5={};N(d5,{default:()=>p5});var Mu,Yb,pA,Ru,p5,LG=y(()=>{ye(),de(),Wt(),V(),Ae(),O(),T(),D(),Mu="selector-pseudo-element-colon-notation",Yb=I(Mu,{expected:e=>`Expected ${e} colon pseudo-element notation`}),pA={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-colon-notation",fixable:!0},Ru=e=>(t,r)=>{if(!j(r,Mu,{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=Se(he(i),r,i);o&&o.walkPseudos(a=>{let s=a.value.replaceAll(":","");if(!Ec.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:Yb.expected,messageArgs:[e],node:i,index:a.sourceIndex,endIndex:a.sourceIndex+(l?2:1),result:r,ruleName:Mu,fix:{apply:u,node:i}})})})},Ru.ruleName=Mu,Ru.messages=Yb,Ru.meta=pA,p5=Ru}),m5={};N(m5,{default:()=>h5});var $u,Kb,mA,ci,h5,FG=y(()=>{q(),ye(),de(),Le(),V(),Ae(),O(),T(),D(),$u="selector-pseudo-element-disallowed-list",Kb=I($u,{rejected:e=>`Disallowed pseudo-element "${e}"`}),mA={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-disallowed-list"},ci=e=>(t,r)=>{j(r,$u,{actual:e,possible:[$,U]})&&t.walkRules(Q.pseudoElement,n=>{var i;ce(n)&&((i=Se(he(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:Kb.rejected,messageArgs:[a],node:n,result:r,ruleName:$u})}))})},ci.primaryOptionArray=!0,ci.ruleName=$u,ci.messages=Kb,ci.meta=mA,h5=ci}),f5={};N(f5,{default:()=>g5});var Bu,Hb,hA,qu,g5,MG=y(()=>{q(),ye(),de(),ld(),V(),H(),Ae(),Wt(),O(),T(),D(),It(),Bu="selector-pseudo-element-no-unknown",Hb=I(Bu,{rejected:e=>`Unknown pseudo-element selector "${e}"`}),hA={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-no-unknown"},qu=(e,t)=>(r,n)=>{j(n,Bu,{actual:e},{actual:t,possible:{ignorePseudoElements:[$,U]},optional:!0})&&r.walkRules(Q.pseudo,i=>{var o;ce(i)&&((o=Se(he(i),n,i))==null||o.walkPseudos(a=>{let s=a.value;if(!sd(s)||s.slice(0,2)!=="::"||R(t,"ignorePseudoElements",a.value.slice(2)))return;let l=s.slice(2);if(He.prefix(l)||Fm.has(l.toLowerCase()))return;let u=a.sourceIndex,c=u+s.length;P({message:Hb.rejected,messageArgs:[s],node:i,index:u,endIndex:c,ruleName:Bu,result:n})}))})},qu.ruleName=Bu,qu.messages=Hb,qu.meta=hA,g5=qu}),b5={};N(b5,{default:()=>v5});var Wu,Jb,fA,gA,bA,vA,_u,v5,RG=y(()=>{q(),ye(),Ph(),de(),Ih(),Wt(),H(),Ae(),O(),T(),D(),Wu="selector-type-case",Jb=I(Wu,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),fA={url:"https://stylelint.io/user-guide/rules/selector-type-case",fixable:!0},gA=/(?:[^.#[:a-z-]|^)[a-z]/i,bA=/[A-Z]/,vA=/[a-z]/,_u=(e,t)=>(r,n)=>{j(n,Wu,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreTypes:[$,U]},optional:!0})&&r.walkRules(i=>{let o=i.selector;if(!gA.test(o)||e==="lower"&&!bA.test(o)||e==="upper"&&!vA.test(o)||!ce(i)||i.selectors.some(Eh))return;let a=Se(he(i),n,i);a&&a.walkTags(s=>{if(!Oh(s)||MN.has(s.value)||R(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:Jb.expected,messageArgs:[u,c],node:i,index:d,endIndex:p,ruleName:Wu,result:n,fix:{apply:m,node:i}})})})},_u.ruleName=Wu,_u.messages=Jb,_u.meta=fA,v5=_u}),y5={};N(y5,{default:()=>x5});function $G(e){var r;let t=(r=e.parent)==null?void 0:r.parent;return Rk.default.isPseudoElement(t)&&w5.has(t.value)}function BG(e){var r;let t=(r=e.parent)==null?void 0:r.parent;return Rk.default.isPseudoClass(t)&&k5.has(t.value)}var Rk,yA,Uu,Xb,wA,kA,w5,k5,Vu,x5,qG=y(()=>{I$(),Rk=Z(lt(),1),yA=Z(T$(),1),q(),ye(),Wt(),L$(),Ph(),de(),Ih(),H(),Ae(),O(),T(),D(),Uu="selector-type-no-unknown",Xb=I(Uu,{rejected:e=>`Unknown type selector "${e}"`}),wA={url:"https://stylelint.io/user-guide/rules/selector-type-no-unknown"},kA=/(?:[^.#[:a-z-]|^)[a-z]/i,w5=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"]),Vu=(e,t)=>(r,n)=>{j(n,Uu,{actual:e},{actual:t,possible:{ignore:["custom-elements","default-namespace"],ignoreNamespaces:[$,U],ignoreTypes:[$,U]},optional:!0})&&r.walkRules(i=>{var o;kA.test(i.selector)&&ce(i)&&(i.selectors.some(Eh)||((o=Se(he(i),n,i))==null||o.walkTags(a=>{if(!Oh(a)||R(t,"ignore","custom-elements")&&j$(a.value)||R(t,"ignore","default-namespace")&&typeof a.namespace!="string"||R(t,"ignoreNamespaces",a.namespace)||R(t,"ignoreTypes",a.value)||$G(a)||BG(a))return;let s=a.value,l=s.toLowerCase(),u=[...yA.default,"hatch","hatchpath","hatchPath"];if(FN.has(l)||u.includes(s)||Mk.includes(l))return;let c=a.sourceIndex,d=c+s.length;P({message:Xb.rejected,messageArgs:[s],node:i,index:c,endIndex:d,ruleName:Uu,result:n})})))})},Vu.ruleName=Uu,Vu.messages=Xb,Vu.meta=wA,x5=Vu}),S5={};N(S5,{default:()=>C5});function iw(e,t,r,n){let i=e.toLowerCase(),o=t.toLowerCase(),a=r&&r.toLowerCase(),s=n&&n.toLowerCase();return WG(i,o,a,s)?[e]:_G(i,o,a,s)?[e,t]:UG(i,o,a,s)?[e,t,r]:[e,t,r,n]}function WG(e,t,r,n){return e!==t?!1:e===r&&(r===n||!n)||!r&&!n}function _G(e,t,r,n){return e===r&&t===n||e===r&&!n&&e!==t}function UG(e,t,r,n){return t===n}function VG(e){let t=[],r=[],n=!1,i=!1,o=!1;for(let a of(0,Cc.default)(e).nodes){if(pN(a)){if(a.value==="/"){n=!0;continue}return{horizontal:[],vertical:[],sawSlash:!1,horizontalHasVar:!1,verticalHasVar:!1}}if(Hi(a)&&(n?o=!0:i=!0),Lm(a)||An(a)){let s=Cc.default.stringify(a);n?r.push(s):t.push(s)}}return{horizontal:t,vertical:r,sawSlash:n,horizontalHasVar:i,verticalHasVar:o}}function QG(e,t,r,n,i,o){let[a="",s="",l="",u=""]=r,[c="",d="",p="",m=""]=n,v=i?r.join(" "):iw(a,s,l,u).filter(Boolean).join(" "),h=o?n.join(" "):iw(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=ie(t),k=w+t.value.length;P({message:Up.expected,messageArgs:[t.value,b],node:t,index:w,endIndex:k,result:e,ruleName:gi,fix:{apply:x,node:t}})}var Cc,gi,Up,xA,SA,CA,Qu,C5,GG=y(()=>{Cc=Z(fe(),1),ee(),bt(),Or(),Be(),dd(),H(),O(),T(),D(),It(),ge(),gi="shorthand-property-no-redundant-values",Up=I(gi,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),xA={url:"https://stylelint.io/user-guide/rules/shorthand-property-no-redundant-values",fixable:!0},SA=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"]),CA=new Set(["margin","padding","border-color","border-style","border-width","scroll-margin","scroll-padding","inset"]),Qu=(e,t)=>(r,n)=>{j(n,gi,{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)||!gt(i)||!Pr(o)||!Re(a))return;let s=He.unprefixed(o.toLowerCase());if(!SA.has(s))return;if(s==="border-radius"){let{horizontal:x,vertical:w,sawSlash:k,horizontalHasVar:S,verticalHasVar:z}=VG(a);if(k){QG(n,i,x,w,S,z);return}}let l=[];for(let x of(0,Cc.default)(a).nodes){if(pN(x)||Hi(x))return;(Lm(x)||An(x))&&l.push(Cc.default.stringify(x))}if(l.length<=1||l.length>4)return;let[u="",c="",d="",p=""]=l,m=iw(u,c,d,p);if(R(t,"ignore","four-into-three-edge-values")&&CA.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=ie(i),f=g+i.value.length;P({message:Up.expected,messageArgs:[a,v],node:i,index:g,endIndex:f,result:n,ruleName:gi,fix:{apply:b,node:i}})})},Qu.ruleName=gi,Qu.messages=Up,Qu.meta=xA,C5=Qu}),A5={};N(A5,{default:()=>N5});var Gu,Zb,ev,AA,Yu,N5,YG=y(()=>{rt(),ee(),ld(),H(),O(),T(),D(),Gu="string-no-newline",Zb=/\r?\n/,ev=I(Gu,{rejected:"Newline in string"}),AA={url:"https://stylelint.io/user-guide/rules/string-no-newline"},Yu=(e,t)=>(r,n)=>{if(!j(n,Gu,{actual:e},{actual:t,possible:{ignore:["at-rule-preludes","declaration-values"]},optional:!0}))return;r.walk(a=>{switch(a.type){case"atrule":if(R(t,"ignore","at-rule-preludes"))break;o(a,a.params,Te);break;case"decl":if(R(t,"ignore","declaration-values"))break;o(a,a.value,ie);break;case"rule":i(a);break}});function i(a){Zb.test(a.selector)&&sd(a.selector)&&o(a,a.selector,()=>0)}function o(a,s,l){Zb.test(s)&&kt({css:s},{onParseError:u=>{if(!(u instanceof wr)||u.message!==ir.UnexpectedNewLineInString)return;let[,,c,d]=u.token,p=l(a);P({message:ev.rejected,messageArgs:[],node:a,index:p+c,endIndex:p+d+1,result:n,ruleName:Gu})}})}},Yu.ruleName=Gu,Yu.messages=ev,Yu.meta=AA,N5=Yu}),z5={};N(z5,{default:()=>E5});var Ku,tv,NA,zA,Hu,E5,KG=y(()=>{rt(),Ji(),V(),ee(),O(),T(),D(),Ku="syntax-string-no-invalid",tv=I(Ku,{rejected:e=>`Invalid syntax string "${e}"`}),NA={url:"https://stylelint.io/user-guide/rules/syntax-string-no-invalid"},zA=lk({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,Hu=e=>(t,r)=>{j(r,Ku,{actual:e})&&t.walkAtRules(xe.propertyName,n=>{n.walkDecls(iz.syntaxName,i=>{kt({css:i.value}).filter(o=>R8(o)).forEach(o=>{let{error:a}=zA.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:tv.rejected,messageArgs:[o[4].value],node:i,index:u+o[2],endIndex:u+o[3]+1,result:r,ruleName:Ku})})})})},Hu.ruleName=Ku,Hu.messages=tv,Hu.meta=NA,E5=Hu}),P5={};N(P5,{default:()=>O5});var EA,Ju,rv,PA,OA,Xu,O5,HG=y(()=>{EA=Z(fe(),1),$r(),ee(),Ye(),Zi(),q(),V(),H(),O(),T(),D(),It(),Ju="time-min-milliseconds",rv=I(Ju,{expected:e=>`Too short duration, minimum ${e} milliseconds`}),PA={url:"https://stylelint.io/user-guide/rules/time-min-milliseconds"},OA=new Set(["animation-delay","transition-delay"]),Xu=(e,t)=>(r,n)=>{if(!j(n,Ju,{actual:e,possible:xr},{actual:t,possible:{ignore:["delay"]},optional:!0}))return;let i=e,o=R(t,"ignore","delay");r.walkDecls(c=>{let d=c.value;if(!Q.time.test(d))return;let p=He.unprefixed(c.prop.toLowerCase()),m=(0,EA.default)(Ge(c)),v=0;m.walk(h=>{let{value:b,sourceIndex:g}=h,f=Xi(h);EN.has(p)&&!s(p)&&!l(f)&&u(c,0,d.length),PN.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&&OA.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:Ju,message:rv.expected,messageArgs:[i],index:m,endIndex:v,node:c})}},Xu.ruleName=Ju,Xu.messages=rv,Xu.meta=PA,O5=Xu}),I5={};N(I5,{default:()=>T5});var IA,Zu,nv,TA,di,T5,JG=y(()=>{IA=Z(fe(),1),ee(),V(),q(),Zi(),H(),O(),T(),Ht(),D(),Zu="unit-allowed-list",nv=I(Zu,{rejected:e=>`Disallowed unit "${e}"`}),TA={url:"https://stylelint.io/user-guide/rules/unit-allowed-list"},di=(e,t)=>(r,n)=>{if(!j(n,Zu,{actual:e,possible:[$]},{optional:!0,actual:t,possible:{ignoreFunctions:[$,U],ignoreProperties:[Mt($,U)]}}))return;let i=[e].flat();function o(a,s,l){Q.dimension.test(s)&&(s=s.replaceAll("*",","),(0,IA.default)(s).walk(u=>{if(u.type==="function"){let m=u.value.toLowerCase();if(m==="url"||R(t,"ignoreFunctions",m))return!1}let{number:c,unit:d}=Xi(u);if(!c||!d||i.includes(d.toLowerCase())||"prop"in a&&t&&R(t.ignoreProperties,d.toLowerCase(),a.prop))return;let p=l(a);P({index:p+u.sourceIndex+c.length,endIndex:p+u.sourceEndIndex,message:nv.rejected,messageArgs:[d],node:a,result:n,ruleName:Zu})}))}r.walkAtRules(xe.mediaName,a=>o(a,a.params,Te)),r.walkDecls(a=>o(a,a.value,ie))},di.primaryOptionArray=!0,di.ruleName=Zu,di.messages=nv,di.meta=TA,T5=di});function j5(e){if(!D5.test(e.prop))return!1;let t=e.parent;return!t||!Ie(t)?!1:L5.test(t.name)}var D5,L5,F5=y(()=>{ge(),D5=/^unicode-range$/i,L5=/^font-face$/i}),M5={};N(M5,{default:()=>R5});function jA(e){return kt({css:e}).map(t=>t[0]!==C.Percentage?t:[C.Dimension,t[1],t[2],t[3],{value:t[4].value,unit:"%",type:ne.Number}])}var ec,iv,DA,pi,R5,XG=y(()=>{rt(),xt(),Jt(),ee(),V(),q(),st(),Ye(),F5(),H(),O(),T(),Ht(),D(),ec="unit-disallowed-list",iv=I(ec,{rejected:e=>`Disallowed unit "${e}"`}),DA={url:"https://stylelint.io/user-guide/rules/unit-disallowed-list"},pi=(e,t)=>(r,n)=>{if(!j(n,ec,{actual:e,possible:[$]},{optional:!0,actual:t,possible:{ignoreFunctions:[$,U],ignoreProperties:[Mt($,U)],ignoreMediaFeatureNames:[Mt($,U)]}}))return;let i=[e].flat();function o(s){if(!Ke(s))return!1;let l=s.getName().toLowerCase();return l==="url"||R(t,"ignoreFunctions",l)}function a(s,l,u,c,d){if(!le(u)||u.value[0]!==C.Dimension)return;let[,,,p,{unit:m}]=u.value,v=m.toLowerCase();if(!i.includes(v)||d&&R(d,v,c))return;let h=l(s)+(p+1)-m.length;P({index:h,endIndex:h+m.length,message:iv.rejected,messageArgs:[m],node:s,result:n,ruleName:ec})}r.walkAtRules(xe.mediaName,s=>{let l=at(s);Q.dimension.test(l)&&kd(jA(l)).forEach(u=>{let c={mediaFeatureName:void 0};u.walk(({node:d,state:p})=>{p&&(Pn(d)&&(p.mediaFeatureName=d.getName().toLowerCase()),p.mediaFeatureName&&le(d)&&a(s,Te,d,p.mediaFeatureName,t==null?void 0:t.ignoreMediaFeatureNames))},c)})}),r.walkDecls(s=>{if(j5(s))return;let l=Ge(s);if(!Q.dimension.test(l))return;let u={ignored:!1};En(ro(jA(l)),({node:c,state:d})=>{if(d&&!d.ignored){if(le(c)){a(s,ie,c,s.prop,t==null?void 0:t.ignoreProperties);return}o(c)&&(d.ignored=!0)}},u)})},pi.primaryOptionArray=!0,pi.ruleName=ec,pi.messages=iv,pi.meta=DA,R5=pi}),$5={};N($5,{default:()=>B5});var Cp,tc,ov,LA,FA,rc,B5,ZG=y(()=>{rt(),xt(),Jt(),ee(),V(),q(),st(),Ye(),et(),bt(),Be(),F5(),H(),Jc(),O(),T(),D(),It(),Cp=new Set(rz),Cp.delete("x"),tc="unit-no-unknown",ov=I(tc,{rejected:e=>`Unknown unit "${e}"`}),LA={url:"https://stylelint.io/user-guide/rules/unit-no-unknown"},FA=/^(?:min-|max-)?resolution$/i,rc=(e,t)=>(r,n)=>{var l,u,c;if(!j(n,tc,{actual:e},{actual:t,possible:{ignoreUnits:[$,U],ignoreFunctions:[$,U]},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([...Cp,...d])}else i=Cp;let a=d=>{if(!Q.dimension.test(d))return;let p=kt({css:d});if(p.some(m=>m[0]===C.Dimension&&!i.has(m[4].unit.toLowerCase())))return p},s=(d,p,m,v)=>{if(Ke(m)){let w=m.getName(),k=w.toLowerCase();if(k==="url"||R(t,"ignoreFunctions",w)){v.ignored=!0;return}if(He.unprefixed(k)==="image-set"){v.allowX=!0;return}return}let[h,,,b,g]=m.value;if(h!==C.Dimension||R(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:ov.rejected,messageArgs:[g.unit],node:d,index:x,endIndex:x+f.length,result:n,ruleName:tc})};r.walkAtRules(xe.mediaName,d=>{if(!Ze(d))return;let p=at(d),m=a(p);m&&kd(m).forEach(v=>{let h={ignored:!1,allowX:!1};v.walk(({node:b,state:g})=>{if(g&&!g.ignored)if(Pn(b)){let f=b.getName();FA.test(f)&&(g.allowX=!0)}else(Ke(b)||le(b))&&s(d,Te,b,g)},h)})}),r.walkDecls(d=>{if(!gt(d)||j5(d))return;let p=Ge(d);if(!Re(p))return;let m=a(p);if(!m)return;let v={ignored:!1,allowX:d.prop.toLowerCase()==="image-resolution"};En(ro(m),({node:h,state:b})=>{b&&(b.ignored||(Ke(h)||le(h))&&s(d,ie,h,b))},v)})},rc.ruleName=tc,rc.messages=ov,rc.meta=LA,B5=rc});function eY(e){let t=e.toLowerCase();return!(KN.has(t)||Number.isFinite(Number.parseInt(t,10)))}var tY=y(()=>{Je()});function rY(e){let t=e.toLowerCase();return!(HN.has(t)||Number.isFinite(Number.parseInt(t,10)))}var nY=y(()=>{Je()}),q5={};N(q5,{default:()=>W5});var MA,nc,av,RA,$A,BA,qA,Ap,ic,W5,iY=y(()=>{MA=Z(fe(),1),Je(),q(),ee(),Ye(),Zi(),tY(),nY(),Be(),V(),H(),O(),T(),D(),nc="value-keyword-case",av=I(nc,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),RA={url:"https://stylelint.io/user-guide/rules/value-keyword-case",fixable:!0},$A=new Set(["+","-","/","*","%"]),BA=new Set(["grid-row","grid-row-start","grid-row-end"]),qA=new Set(["grid-column","grid-column-start","grid-column-end"]),Ap=new Map;for(let e of XN)Ap.set(e.toLowerCase(),e);ic=(e,t)=>(r,n)=>{j(n,nc,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreProperties:[$,U],ignoreKeywords:[$,U],ignoreFunctions:[$,U],camelCaseSvgKeywords:[Hc]},optional:!0})&&r.walkDecls(i=>{let o=i.value;if(!Q.keyword.test(o)||!Re(o))return;let a=i.prop,s=i.prop.toLowerCase(),l=(0,MA.default)(Ge(i));l.walk(u=>{let c=u.value,d=c.toLowerCase();if(ez.has(d))return;if(u.type==="function"&&(d==="url"||d==="var"||d==="counter"||d==="counters"||d==="attr")||u.type==="function"&&R(t,"ignoreFunctions",c))return!1;let{unit:p}=Xi(u);if(u.type!=="word"||!Re(c)||o.includes("#")||$A.has(c)||p||s==="animation"&&!xw.has(d)&&!Tc.has(d)||s==="animation-name"&&!Tc.has(d)||s==="font"&&!kw.has(d)&&!Xr.has(d)||s==="font-family"&&!Xr.has(d)||s==="counter-increment"&&eY(d)||s==="counter-reset"&&rY(d)||BA.has(s)&&!QN.has(d)||qA.has(s)&&!GN.has(d)||s==="grid-area"&&!YN.has(d)||s==="list-style"&&!JN.has(d)&&!rm.has(d)||s==="list-style-type"&&!rm.has(d)||R(t,"ignoreKeywords",c)||R(t,"ignoreProperties",a))return;let m=c.toLocaleLowerCase(),v,h=t&&t.camelCaseSvgKeywords||!1;if(e==="lower"&&Ap.has(m)&&h?v=Ap.get(m):e==="lower"?v=c.toLowerCase():v=c.toUpperCase(),c===v)return;let b=ie(i)+u.sourceIndex,g=b+c.length,f=()=>{u.value=v,i.value=l.toString()};P({message:av.expected,messageArgs:[c,v],node:i,index:b,endIndex:g,result:n,ruleName:nc,fix:{apply:f,node:i}})})})},ic.ruleName=nc,ic.messages=av,ic.meta=RA,W5=ic}),_5={};N(_5,{default:()=>U5});var WA,oc,sv,_A,ac,U5,oY=y(()=>{WA=Z(fe(),1),ee(),id(),bt(),Or(),V(),H(),O(),T(),qt(),D(),q(),oc="value-no-vendor-prefix",sv=I(oc,{rejected:e=>`Vendor-prefixed value "${e}"`}),_A={url:"https://stylelint.io/user-guide/rules/value-no-vendor-prefix",fixable:!0},ac=(e,t)=>(r,n)=>{j(n,oc,{actual:e},{optional:!0,actual:t,possible:{ignoreValues:[$,U]}})&&r.walkDecls(i=>{let{value:o}=i;if(!Q.prefix.test(o)||!gt(i)||!Pr(i.prop))return;let a=(0,WA.default)(o);a.walk(s=>{if(!Cr.propertyValue(s.value)||R(t,"ignoreValues",s.value))return;let l=ie(i)+s.sourceIndex,u=()=>{s.value=Cr.unprefix(s.value),Bt(i,a.toString())};P({message:sv.rejected,messageArgs:[s.value],node:i,index:l,endIndex:l+s.value.length,result:n,ruleName:oc,fix:{apply:u,node:i}})})})},ac.ruleName=oc,ac.messages=sv,ac.meta=_A,U5=ac}),aY=Y((e,t)=>{"use strict";t.exports=()=>{}});Tm();var $k={noDeprecation:!0,cwd(){return"/"}},sY=()=>{},lY={};zr();q();zr();zr();function V5(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=($k.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,_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 uY=(e={})=>{let t=e.cwd||$k.cwd();return{_options:{...e,cwd:t},_postcssResultCache:new Map}};uw();var cY=()=>!0,dY=d6({"./alpha-value-notation/index.mjs":()=>Promise.resolve().then(()=>(U6(),bN)),"./annotation-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(V6(),yN)),"./at-rule-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(Q6(),kN)),"./at-rule-descriptor-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(Z6(),sz)),"./at-rule-descriptor-value-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(eB(),uz)),"./at-rule-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(tB(),dz)),"./at-rule-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(cB(),gz)),"./at-rule-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(xB(),jz)),"./at-rule-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(SB(),Lz)),"./at-rule-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(CB(),Mz)),"./at-rule-prelude-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(AB(),$z)),"./at-rule-property-required-list/index.mjs":()=>Promise.resolve().then(()=>(EB(),qz)),"./block-no-empty/index.mjs":()=>Promise.resolve().then(()=>(OB(),Gz)),"./block-no-redundant-nested-style-rules/index.mjs":()=>Promise.resolve().then(()=>(IB(),Kz)),"./color-function-alias-notation/index.mjs":()=>Promise.resolve().then(()=>(TB(),Xz)),"./color-function-notation/index.mjs":()=>Promise.resolve().then(()=>(DB(),eE)),"./color-hex-alpha/index.mjs":()=>Promise.resolve().then(()=>(LB(),lE)),"./color-hex-length/index.mjs":()=>Promise.resolve().then(()=>($B(),cE)),"./color-named/index.mjs":()=>Promise.resolve().then(()=>(XB(),yE)),"./color-no-hex/index.mjs":()=>Promise.resolve().then(()=>(eq(),kE)),"./color-no-invalid-hex/index.mjs":()=>Promise.resolve().then(()=>(nq(),CE)),"./comment-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(iq(),NE)),"./comment-no-empty/index.mjs":()=>Promise.resolve().then(()=>(oq(),EE)),"./comment-pattern/index.mjs":()=>Promise.resolve().then(()=>(aq(),OE)),"./comment-whitespace-inside/index.mjs":()=>Promise.resolve().then(()=>(uq(),jE)),"./comment-word-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(pq(),LE)),"./container-name-pattern/index.mjs":()=>Promise.resolve().then(()=>(mq(),ME)),"./custom-media-pattern/index.mjs":()=>Promise.resolve().then(()=>(hq(),$E)),"./custom-property-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(bq(),_E)),"./custom-property-no-missing-var-function/index.mjs":()=>Promise.resolve().then(()=>(vq(),VE)),"./custom-property-pattern/index.mjs":()=>Promise.resolve().then(()=>(yq(),GE)),"./declaration-block-no-duplicate-custom-properties/index.mjs":()=>Promise.resolve().then(()=>(kq(),KE)),"./declaration-block-no-duplicate-properties/index.mjs":()=>Promise.resolve().then(()=>(Z_(),hL)),"./declaration-block-no-redundant-longhand-properties/index.mjs":()=>Promise.resolve().then(()=>(e8(),gL)),"./declaration-block-no-shorthand-property-overrides/index.mjs":()=>Promise.resolve().then(()=>(t8(),vL)),"./declaration-block-single-line-max-declarations/index.mjs":()=>Promise.resolve().then(()=>(r8(),wL)),"./declaration-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(i8(),xL)),"./declaration-no-important/index.mjs":()=>Promise.resolve().then(()=>(o8(),NL)),"./declaration-property-max-values/index.mjs":()=>Promise.resolve().then(()=>(a8(),EL)),"./declaration-property-unit-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(u8(),IL)),"./declaration-property-unit-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(c8(),jL)),"./declaration-property-value-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(d8(),LL)),"./declaration-property-value-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(p8(),ML)),"./declaration-property-value-keyword-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(m8(),$L)),"./declaration-property-value-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(Y7(),mF)),"./display-notation/index.mjs":()=>Promise.resolve().then(()=>(X7(),bF)),"./font-family-name-quotes/index.mjs":()=>Promise.resolve().then(()=>(iU(),NF)),"./font-family-no-duplicate-names/index.mjs":()=>Promise.resolve().then(()=>(oU(),EF)),"./font-family-no-missing-generic-family-keyword/index.mjs":()=>Promise.resolve().then(()=>(aU(),OF)),"./font-weight-notation/index.mjs":()=>Promise.resolve().then(()=>(lU(),TF)),"./function-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(cU(),DF)),"./function-calc-no-unspaced-operator/index.mjs":()=>Promise.resolve().then(()=>(mU(),FF)),"./function-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(hU(),qF)),"./function-linear-gradient-no-nonstandard-direction/index.mjs":()=>Promise.resolve().then(()=>(gU(),_F)),"./function-name-case/index.mjs":()=>Promise.resolve().then(()=>(bU(),GF)),"./function-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(kU(),HF)),"./function-url-no-scheme-relative/index.mjs":()=>Promise.resolve().then(()=>(xU(),eM)),"./function-url-quotes/index.mjs":()=>Promise.resolve().then(()=>(SU(),rM)),"./function-url-scheme-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(CU(),aM)),"./function-url-scheme-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(AU(),lM)),"./hue-degree-notation/index.mjs":()=>Promise.resolve().then(()=>(zU(),cM)),"./import-notation/index.mjs":()=>Promise.resolve().then(()=>(EU(),hM)),"./keyframe-block-no-duplicate-selectors/index.mjs":()=>Promise.resolve().then(()=>(BU(),IM)),"./keyframe-declaration-no-important/index.mjs":()=>Promise.resolve().then(()=>(qU(),jM)),"./keyframe-selector-notation/index.mjs":()=>Promise.resolve().then(()=>(UU(),LM)),"./keyframes-name-pattern/index.mjs":()=>Promise.resolve().then(()=>(GU(),MM)),"./layer-name-pattern/index.mjs":()=>Promise.resolve().then(()=>(YU(),$M)),"./length-zero-no-unit/index.mjs":()=>Promise.resolve().then(()=>(iV(),qM)),"./lightness-notation/index.mjs":()=>Promise.resolve().then(()=>(lV(),_M)),"./max-nesting-depth/index.mjs":()=>Promise.resolve().then(()=>(uV(),QM)),"./media-feature-name-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(EV(),p3)),"./media-feature-name-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(PV(),h3)),"./media-feature-name-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(OV(),b3)),"./media-feature-name-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(IV(),y3)),"./media-feature-name-unit-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(TV(),k3)),"./media-feature-name-value-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(jV(),S3)),"./media-feature-name-value-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(DV(),A3)),"./media-feature-range-notation/index.mjs":()=>Promise.resolve().then(()=>(LV(),z3)),"./media-query-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(FV(),P3)),"./media-type-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(MV(),I3)),"./named-grid-areas-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(WV(),j3)),"./nesting-selector-no-missing-scoping-root/index.mjs":()=>Promise.resolve().then(()=>(_V(),F3)),"./no-descending-specificity/index.mjs":()=>Promise.resolve().then(()=>(ZV(),Q3)),"./no-duplicate-at-import-rules/index.mjs":()=>Promise.resolve().then(()=>(tQ(),K3)),"./no-duplicate-selectors/index.mjs":()=>Promise.resolve().then(()=>(rQ(),J3)),"./no-empty-source/index.mjs":()=>Promise.resolve().then(()=>(nQ(),Z3)),"./no-invalid-double-slash-comments/index.mjs":()=>Promise.resolve().then(()=>(iQ(),tR)),"./no-invalid-position-at-import-rule/index.mjs":()=>Promise.resolve().then(()=>(oQ(),nR)),"./no-invalid-position-declaration/index.mjs":()=>Promise.resolve().then(()=>(aQ(),oR)),"./no-irregular-whitespace/index.mjs":()=>Promise.resolve().then(()=>(cQ(),sR)),"./no-unknown-animations/index.mjs":()=>Promise.resolve().then(()=>(mQ(),gR)),"./no-unknown-custom-media/index.mjs":()=>Promise.resolve().then(()=>(gQ(),vR)),"./no-unknown-custom-properties/index.mjs":()=>Promise.resolve().then(()=>(bQ(),wR)),"./number-max-precision/index.mjs":()=>Promise.resolve().then(()=>(vQ(),xR)),"./property-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(yQ(),CR)),"./property-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(wQ(),NR)),"./property-layout-mappings/index.mjs":()=>Promise.resolve().then(()=>(xQ(),ER)),"./property-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(SQ(),OR)),"./property-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(CQ(),TR)),"./property-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(AQ(),DR)),"./relative-selector-nesting-notation/index.mjs":()=>Promise.resolve().then(()=>(TQ(),FR)),"./rule-empty-line-before/index.mjs":()=>Promise.resolve().then(()=>(LQ(),$R)),"./rule-nesting-at-rule-required-list/index.mjs":()=>Promise.resolve().then(()=>(MQ(),qR)),"./rule-selector-property-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>($Q(),_R)),"./selector-anb-no-unmatchable/index.mjs":()=>Promise.resolve().then(()=>(qQ(),VR)),"./selector-attribute-name-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(WQ(),GR)),"./selector-attribute-operator-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(_Q(),KR)),"./selector-attribute-operator-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(UQ(),JR)),"./selector-attribute-quotes/index.mjs":()=>Promise.resolve().then(()=>(GQ(),r$)),"./selector-class-pattern/index.mjs":()=>Promise.resolve().then(()=>(YQ(),o$)),"./selector-combinator-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(HQ(),u$)),"./selector-combinator-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(XQ(),d$)),"./selector-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(ZQ(),m$)),"./selector-id-pattern/index.mjs":()=>Promise.resolve().then(()=>(eG(),f$)),"./selector-max-attribute/index.mjs":()=>Promise.resolve().then(()=>(tG(),b$)),"./selector-max-class/index.mjs":()=>Promise.resolve().then(()=>(rG(),y$)),"./selector-max-combinators/index.mjs":()=>Promise.resolve().then(()=>(nG(),k$)),"./selector-max-compound-selectors/index.mjs":()=>Promise.resolve().then(()=>(iG(),S$)),"./selector-max-id/index.mjs":()=>Promise.resolve().then(()=>(sG(),A$)),"./selector-max-pseudo-class/index.mjs":()=>Promise.resolve().then(()=>(lG(),z$)),"./selector-max-specificity/index.mjs":()=>Promise.resolve().then(()=>(uG(),P$)),"./selector-max-type/index.mjs":()=>Promise.resolve().then(()=>(yG(),F$)),"./selector-max-universal/index.mjs":()=>Promise.resolve().then(()=>(wG(),R$)),"./selector-nested-pattern/index.mjs":()=>Promise.resolve().then(()=>(kG(),B$)),"./selector-no-deprecated/index.mjs":()=>Promise.resolve().then(()=>(xG(),U$)),"./selector-no-qualifying-type/index.mjs":()=>Promise.resolve().then(()=>(NG(),K$)),"./selector-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(zG(),X$)),"./selector-not-notation/index.mjs":()=>Promise.resolve().then(()=>(OG(),e5)),"./selector-pseudo-class-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(IG(),n5)),"./selector-pseudo-class-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(TG(),o5)),"./selector-pseudo-class-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(jG(),s5)),"./selector-pseudo-element-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(DG(),u5)),"./selector-pseudo-element-colon-notation/index.mjs":()=>Promise.resolve().then(()=>(LG(),d5)),"./selector-pseudo-element-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(FG(),m5)),"./selector-pseudo-element-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(MG(),f5)),"./selector-type-case/index.mjs":()=>Promise.resolve().then(()=>(RG(),b5)),"./selector-type-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(qG(),y5)),"./shorthand-property-no-redundant-values/index.mjs":()=>Promise.resolve().then(()=>(GG(),S5)),"./string-no-newline/index.mjs":()=>Promise.resolve().then(()=>(YG(),A5)),"./syntax-string-no-invalid/index.mjs":()=>Promise.resolve().then(()=>(KG(),z5)),"./time-min-milliseconds/index.mjs":()=>Promise.resolve().then(()=>(HG(),P5)),"./unit-allowed-list/index.mjs":()=>Promise.resolve().then(()=>(JG(),I5)),"./unit-disallowed-list/index.mjs":()=>Promise.resolve().then(()=>(XG(),M5)),"./unit-no-unknown/index.mjs":()=>Promise.resolve().then(()=>(ZG(),$5)),"./value-keyword-case/index.mjs":()=>Promise.resolve().then(()=>(iY(),q5)),"./value-no-vendor-prefix/index.mjs":()=>Promise.resolve().then(()=>(oY(),_5))}),UA=new Map;function pY(e){let t=UA.get(e);return t||(t=dY(`./${e}/index.mjs`).then(r=>r.default),UA.set(e,t)),t}var mY=["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-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-no-unknown","value-keyword-case","value-no-vendor-prefix"],Q5={};for(let e of mY)Object.defineProperty(Q5,e,{get(){return pY(e)},enumerable:!0,configurable:!0});var Bk=Q5;function G5(e,t){var r;return hY(e)?Bk[e]:Promise.resolve((r=t==null?void 0:t._pluginFunctions)==null?void 0:r[e])}function hY(e){return e in Bk}q();function fY(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&&!Sr(r)&&Sr(n)?e:[e]}async function gY(e){if(!e.rules)return e;let t={};for(let[r,n]of Object.entries(e.rules)){let i=await G5(r,e);i?t[r]=fY(n,i):t[r]=[]}return e.rules=t,e}var bY=(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},vY=async(e,t,{config:r})=>({config:await gY(bY(e,r))}),Y5=({stylelint:e,filePath:t})=>vY(e,t,{config:e._options.config}),yY=()=>[];function wY(e,t){return e.startsWith("_")?void 0:t}function kY(e){return JSON.stringify(e,wY)}var xY=()=>kY;Tm();nd();var SY=()=>{};lF();var CY=()=>{};nd();var AY=e=>e,K5=e=>e===!0||e==="true"||e===""||e==="strict"||e==="lax"?"strict":void 0,NY=Li();async function zY(e,{customSyntax:t,filePath:r,code:n}={}){let i=r?AY(r):void 0,o=i?e._postcssResultCache.get(i):void 0;if(o)return o;let a=K5(e._options.fix),s=t!=null?t:await EY(a==="lax"),l={from:r,syntax:s},u;if(n!==void 0?u=n:r&&(u=await CY(r,"utf8")),u===void 0)throw new Error("code or filePath required");let c=await NY.process(u,l).async();return i&&e._postcssResultCache.set(i,c),c}async function EY(e){return{parse:await(e?Promise.resolve().then(()=>Z(aY(),1)).then(t=>t.default):Li.parse),stringify:Li.stringify}}var PY=async()=>[],OY=()=>{},IY=()=>Promise.resolve(!1),TY=()=>!1;zr();ad();zr();ad();q();ge();Um();rt();function lv(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 jY(e,t){var x;let r=t.stylelint.disabledRanges,n=[];r[Dt]=n;let i,o=(x=t.stylelint.config)==null?void 0:x.configurationComment;return e.walk(w=>{var k,S,z,A,L,E,B,te,re,we,pe,ae,$e,qe,Ct,We,G,K,M,W;if(Yr(w)){if(i){i===w&&(i=null);return}let J=w.next();if(!(!Lc(w)&&Ci(w.text,o)&&J&&Yr(J)&&(w.text.includes("--")||J.text.startsWith("--")))){p(w,w.source,w.text);return}let F=(z=(S=(k=w.source)==null?void 0:k.end)==null?void 0:S.line)!=null?z:0,X=w.clone(),me=J;for(;!Lc(me)&&!Ci(me.text,o);){let ve=(E=(L=(A=me.source)==null?void 0:A.end)==null?void 0:L.line)!=null?E:0;if(F+1!==ve)break;X.text+=`
|
|
37
|
+
${me.text}`,X.source&&me.source&&(X.source.end=me.source.end),i=me;let oe=me.next();if(!oe||!Yr(oe))break;me=oe,F=ve}p(X,X.source,X.text)}if(ut(w)){let J=0,F=(te=(B=w.raws)==null?void 0:B.selector)==null?void 0:te.raw;d(w,F,J),J+=(re=F==null?void 0:F.length)!=null?re:w.selector.length;let X=(we=w.raws)==null?void 0:we.between;d(w,X,J)}if(Ie(w)){let J=w.name.length+1,F=(pe=w.raws)==null?void 0:pe.afterName;d(w,F,J),J+=(ae=F==null?void 0:F.length)!=null?ae:0;let X=(qe=($e=w.raws)==null?void 0:$e.params)==null?void 0:qe.raw;d(w,X,J),J+=(Ct=X==null?void 0:X.length)!=null?Ct:w.params.length;let me=(We=w.raws)==null?void 0:We.between;d(w,me,J)}if(Qi(w)){let J=w.prop.length,F=(G=w.raws)==null?void 0:G.between;d(w,F,J),J+=(K=F==null?void 0:F.length)!=null?K:0;let X=(W=(M=w.raws)==null?void 0:M.value)==null?void 0:W.raw;d(w,X,J)}}),t;function a(w,k,S){if(k.start){let z=k.start.line,A=v(S);for(let L of m(im,S))l(w,z,L,A)}}function s(w,k,S){if(k.end){let z=k.end.line,A=v(S);for(let L of m(om,S))l(w,z+1,L,A)}}function l(w,k,S,z){if(f(Dt))throw w.error("All rules have already been disabled",{plugin:"stylelint"});if(S===Dt)for(let A of Object.keys(r)){if(f(A))continue;let L=A===Dt;h(w,k,A,L,z),b(k,A,L)}else{if(f(S))throw w.error(`"${S}" has already been disabled`,{plugin:"stylelint"});h(w,k,S,!0,z),b(k,S,!0)}}function u(w,k,S){let z=v(S);for(let A of m(nm,S)){let L=A===Dt;if(f(A))throw w.error(L?"All rules have already been disabled":`"${A}" has already been disabled`,{plugin:"stylelint"});if(k.start){let E=k.start.line;if(L)for(let B of Object.keys(r))h(w,E,B,B===Dt,z);else h(w,E,A,!0,z)}}}function c(w,k,S){var z;for(let A of m(am,S)){let L=(z=k.end)==null?void 0:z.line;if(mc(L),A===Dt){if(Object.values(r).every(E=>{if(E.length===0)return!0;let B=E[E.length-1];return B&&typeof B.end=="number"}))throw w.error("No rules have been disabled",{plugin:"stylelint"});for(let[E,B]of Object.entries(r)){let te=B[B.length-1];(!te||!te.end)&&b(L,E,E===Dt)}continue}if(f(Dt)&&r[A]===void 0){r[A]=n.map(({start:E,end:B,description:te})=>lv(w,E,!1,te,B,!1)),b(L,A,!0);continue}if(f(A)){b(L,A,!0);continue}throw w.error(`"${A}" has not been disabled`,{plugin:"stylelint"})}}function d(w,k,S){k&&k.includes("/*")&&k.includes("*/")&&kt({css:k}).forEach(z=>{if(!ch(z))return;let[,A,L,E]=z,B=w.rangeBy({index:L+S,endIndex:E+1+S});p(w,B,A.slice(2,-2).trim())})}function p(w,k,S){if(k&&Ci(S,o))switch(Vz(S,o)){case im:a(w,k,S);break;case om:s(w,k,S);break;case nm:u(w,k,S);break;case am:c(w,k,S);break}}function m(w,k){let S=PB(w,o),z=k.slice(S.length).split(/\s-{2,}\s/u)[0];Vi(z);let A=z.trim().split(",").filter(Boolean).map(L=>L.trim());return A.length===0?[Dt]:A}function v(w){let k=w.indexOf("--");if(k!==-1)return w.slice(k+2).trim()}function h(w,k,S,z,A){let L=lv(w,k,z,A);g(S);let E=r[S];Ve(E),E.push(L)}function b(w,k,S){let z=r[k],A=z?z[z.length-1]:null;A&&(A.end=w,A.strictEnd=S)}function g(w){r[w]||(r[w]=n.map(({node:k,start:S,end:z,description:A})=>lv(k,S,!1,A,z,!1)))}function f(w){let k=r[w];if(!k)return!1;let S=k[k.length-1];return S?!S.end:!1}}uw();zr();function DY(){return[]}function LY(e,t=[]){return`Unknown rule ${e}.${t.length>0?` Did you mean ${t.join(", ")}?`:""}`}var uv=new Map;function FY(e,t,r){let n=uv.has(e)?uv.get(e):DY(e);uv.set(e,n),r.warn(LY(e,n),{severity:Jr,rule:e,node:t,index:0})}var VA={enabled:!1};async function MY(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||od,newline:a};jY(i,t);let l=i&&i.constructor.name==="Document"?i.nodes:[i],u=[],c;if(r.rules){let b=new Map(Object.keys(Bk).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 G5(b,r);return[b,g]}));for(let[b,g]of d){if(g===void 0){u.push(Promise.all(l.map(B=>FY(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&&$Y(t,b);let x=f[0],w=f[1],k=r.defaultSeverity||lw;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,z=(w==null?void 0:w.disableFix)!==!0&&r.fix&&RY(t,b),A={...s,get fix(){return S&&Ac("`context.fix` is deprecated.","CONTEXT_FIX",`Pass a \`fix\` callback to the \`report\` utility of "${b}" instead.`),z}},L=g(x,w,A);async function E(B){return VA.enabled?VA.time(b,()=>L(B,t))():L(B,t)}u.push(Promise.all(l.map(E)).then(B=>{if(n!=null&&n.aborted)throw n.reason;return B}))}return Promise.all(u)}function RY({stylelint:{disabledRanges:e}},t){var r;return!((r=e[Dt])!=null&&r.length)&&!e[t]}function $Y(e,t){let r=`The "${t}" rule is deprecated.`;Ac(r,"RULE",`Please be aware that the "${t}" rule will soon be either removed or renamed.`),e.warn(r,{stylelintType:"deprecation"})}var BY=()=>{};zr();zr();function qY({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 Vp:i.stylelint.stylelintWarning=!0;break;default:break}}function WY(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=>QA(i)))for(let[i,o]of Object.entries(t))for(let a of o)r[i]&&QA(r[i])&&qY({rule:"reportDisables",message:`Rule "${i}" may not be disabled`,severity:Jr,node:a.node,postcssResult:e})}function QA(e){return!e||!e[1]?!1:!!e[1].reportDisables}var _Y=()=>{};async function UY(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&&!Im(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 IY(e,i).catch(p=>{if(n&&TY(p))return!1;throw p});if(r!=null&&r.aborted)throw r.reason;if(o)return t.existingPostcssResult,void 0;let a=await Y5({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 zY(e,{code:t.code,codeFilename:t.codeFilename,filePath:i,customSyntax:s._resolvedCustomSyntax});if(r!=null&&r.aborted)throw r.reason;let c=await PY(s);if(r!=null&&r.aborted)throw r.reason;let d=Object.assign(u,{stylelint:{ruleSeverities:{},customMessages:{},customUrls:{},ruleMetadata:{},fixersData:{},rangesOfComputedEditInfos:[],disabledRanges:{},lexer:aF(s),referenceRoots:c}});if(await MY(e._options,d,s),r==null?void 0:r.aborted)throw r.reason;return WY(d),BY(d),OY(d),SY(d),_Y(d),d}zr();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:VY(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 VY(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 QY({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 Y5({stylelint:e,failIfNoConfig:!1}))==null?void 0:s.config)==null?void 0:l[t])!=null?u:r}var JY=sY("stylelint:standalone"),GY=["**/node_modules/**"];async function H5({abortSignal:e,allowEmptyInput:t,cache:r,cacheLocation:n,cacheStrategy:i,code:o,codeFilename:a,config:s,configBasedir:l,configFile:u,customSyntax:c,cwd:d=$k.cwd(),disableDefaultIgnores:p,files:m,fix:v,computeEditInfo:h,formatter:b,_defaultFormatter:g,globbyOptions:f,ignoreDisables:x,ignorePath:w,ignorePattern:k,maxWarnings:S,quiet:z,quietDeprecationWarnings:A=!1,reportDescriptionlessDisables:L,reportInvalidScopeDisables:E,reportNeedlessDisables:B,reportUnscopedDisables:te,suppressAll:re,suppressRule:we,suppressLocation:pe,validate:ae=!0}){var M,W;let $e=Date.now(),qe=!m&&$(o);if(!(m&&!$(o)||qe))return Promise.reject(new Error("You must pass stylelint a `files` glob or a `code` string, though not both"));let Ct;try{Ct=yY({cwd:d,ignorePath:w,ignorePattern:k})}catch(J){return Promise.reject(J)}let We=uY({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:E,reportDescriptionlessDisables:L,reportUnscopedDisables:te,maxWarnings:S,customSyntax:c,fix:v,computeEditInfo:h,quiet:z,quietDeprecationWarnings:A,validate:ae}),G=await xY(We),K=await QY({stylelint:We,name:"maxWarnings",default:S});if(!m){Vi(o);let J=a!==void 0&&!Im(a)?aw(d,a):a;if(J&&(!cY(Ct,[sw(d,J)]).length||!p&&lY.isMatch(J,GY)))return GA({results:[],maxWarnings:K,quietDeprecationWarnings:A,formatter:G,cwd:d});let F;try{if(e!=null&&e.aborted)throw e.reason;let ve=await UY(We,{code:o,codeFilename:J,abortSignal:e});if(e!=null&&e.aborted)throw e.reason;F=V5(ve)}catch(ve){F=YY(ve)}await KY(We,F,J);let X=F._postcssResult,me=GA({results:[F],maxWarnings:K,quietDeprecationWarnings:A,formatter:G,cwd:d});return(W=(M=K5(We._options.fix))!=null?M:s==null?void 0:s.fix)!=null&&W&&X&&!X.stylelint.ignored&&(me.code=X.opts?X.root.toString(X.opts.syntax):o),me}}function YY(e){if(e instanceof Error&&e.name==="CssSyntaxError")return V5(void 0,e);throw e}async function KY(){}Object.assign(globalThis,{stylelint:{lint:H5}});})();
|