stylelint-config-silverwind 44.0.2 → 46.0.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/README.md +11 -6
- package/dist/index.d.ts +1 -4
- package/dist/index.js +51 -68
- package/package.json +14 -16
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import{createRequire as e}from"node:module";import t from"stylelint";import n from"assert";import r from"path";import i from"node:fs/promises";import a from"node:path";import{assert as o}from"node:console";var s=Object.create,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,d=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,p=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t,t.exports),e=null),t.exports),m=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=u(t),a=0,o=i.length,s;a<o;a++)s=i[a],!f.call(e,s)&&s!==n&&c(e,s,{get:(e=>t[e]).bind(null,s),enumerable:!(r=l(t,s))||r.enumerable});return e},h=(e,t,n)=>(n=e==null?{}:s(d(e)),m(t||!e||!e.__esModule||!f.call(e,`default`)?c(n,`default`,{value:e,enumerable:!0}):n,e)),g=/* @__PURE__ */ e(import.meta.url),_=/* @__PURE__ */ p(((e,t)=>{var n=Object.prototype.toString;t.exports=function(e){var t=n.call(e),r=t===`[object Arguments]`;return r||=t!==`[object Array]`&&typeof e==`object`&&!!e&&typeof e.length==`number`&&e.length>=0&&n.call(e.callee)===`[object Function]`,r}})),v=/* @__PURE__ */ p(((e,t)=>{var n;if(!Object.keys){var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=_(),o=Object.prototype.propertyIsEnumerable,s=!o.call({toString:null},`toString`),c=o.call(function(){},`prototype`),l=[`toString`,`toLocaleString`,`valueOf`,`hasOwnProperty`,`isPrototypeOf`,`propertyIsEnumerable`,`constructor`],u=function(e){var t=e.constructor;return t&&t.prototype===e},d={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=function(){if(typeof window>`u`)return!1;for(var e in window)try{if(!d[`$`+e]&&r.call(window,e)&&window[e]!==null&&typeof window[e]==`object`)try{u(window[e])}catch{return!0}}catch{return!0}return!1}(),p=function(e){if(typeof window>`u`||!f)return u(e);try{return u(e)}catch{return!1}};n=function(e){var t=typeof e==`object`&&!!e,n=i.call(e)===`[object Function]`,o=a(e),u=t&&i.call(e)===`[object String]`,d=[];if(!t&&!n&&!o)throw TypeError(`Object.keys called on a non-object`);var f=c&&n;if(u&&e.length>0&&!r.call(e,0))for(var m=0;m<e.length;++m)d.push(String(m));if(o&&e.length>0)for(var h=0;h<e.length;++h)d.push(String(h));else for(var g in e)!(f&&g===`prototype`)&&r.call(e,g)&&d.push(String(g));if(s)for(var _=p(e),v=0;v<l.length;++v)!(_&&l[v]===`constructor`)&&r.call(e,l[v])&&d.push(l[v]);return d}}t.exports=n})),y=/* @__PURE__ */ p(((e,t)=>{var n=Array.prototype.slice,r=_(),i=Object.keys,a=i?function(e){return i(e)}:v(),o=Object.keys;a.shim=function(){return Object.keys?function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)||(Object.keys=function(e){return r(e)?o(n.call(e)):o(e)}):Object.keys=a,Object.keys||a},t.exports=a})),b=/* @__PURE__ */ p(((e,t)=>{var n=Object.defineProperty||!1;if(n)try{n({},`a`,{value:1})}catch{n=!1}t.exports=n})),x=/* @__PURE__ */ p(((e,t)=>{t.exports=SyntaxError})),S=/* @__PURE__ */ p(((e,t)=>{t.exports=TypeError})),C=/* @__PURE__ */ p(((e,t)=>{t.exports=Object.getOwnPropertyDescriptor})),w=/* @__PURE__ */ p(((e,t)=>{var n=C();if(n)try{n([],`length`)}catch{n=null}t.exports=n})),T=/* @__PURE__ */ p(((e,t)=>{var n=b(),r=x(),i=S(),a=w();t.exports=function(e,t,o){if(!e||typeof e!=`object`&&typeof e!=`function`)throw new i("`obj` must be an object or a function`");if(typeof t!=`string`&&typeof t!=`symbol`)throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!=`boolean`&&arguments[3]!==null)throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!=`boolean`&&arguments[4]!==null)throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!=`boolean`&&arguments[5]!==null)throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!=`boolean`)throw new i("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,u=arguments.length>6&&arguments[6],d=!!a&&a(e,t);if(n)n(e,t,{configurable:l===null&&d?d.configurable:!l,enumerable:s===null&&d?d.enumerable:!s,value:o,writable:c===null&&d?d.writable:!c});else if(u||!s&&!c&&!l)e[t]=o;else throw new r(`This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.`)}})),E=/* @__PURE__ */ p(((e,t)=>{var n=b(),r=function(){return!!n};r.hasArrayLengthDefineBug=function(){if(!n)return null;try{return n([],`length`,{value:1}).length!==1}catch{return!0}},t.exports=r})),ee=/* @__PURE__ */ p(((e,t)=>{var n=y(),r=typeof Symbol==`function`&&typeof Symbol(`foo`)==`symbol`,i=Object.prototype.toString,a=Array.prototype.concat,o=T(),s=function(e){return typeof e==`function`&&i.call(e)===`[object Function]`},c=E()(),l=function(e,t,n,r){if(t in e){if(r===!0){if(e[t]===n)return}else if(!s(r)||!r())return}c?o(e,t,n,!0):o(e,t,n)},u=function(e,t){var i=arguments.length>2?arguments[2]:{},o=n(t);r&&(o=a.call(o,Object.getOwnPropertySymbols(t)));for(var s=0;s<o.length;s+=1)l(e,o[s],t[o[s]],i[o[s]])};u.supportsDescriptors=!!c,t.exports=u})),D=/* @__PURE__ */ p(((e,t)=>{t.exports=Object})),O=/* @__PURE__ */ p(((e,t)=>{t.exports=Error})),te=/* @__PURE__ */ p(((e,t)=>{t.exports=EvalError})),k=/* @__PURE__ */ p(((e,t)=>{t.exports=RangeError})),ne=/* @__PURE__ */ p(((e,t)=>{t.exports=ReferenceError})),A=/* @__PURE__ */ p(((e,t)=>{t.exports=URIError})),j=/* @__PURE__ */ p(((e,t)=>{t.exports=Math.abs})),M=/* @__PURE__ */ p(((e,t)=>{t.exports=Math.floor})),re=/* @__PURE__ */ p(((e,t)=>{t.exports=Math.max})),ie=/* @__PURE__ */ p(((e,t)=>{t.exports=Math.min})),ae=/* @__PURE__ */ p(((e,t)=>{t.exports=Math.pow})),oe=/* @__PURE__ */ p(((e,t)=>{t.exports=Math.round})),se=/* @__PURE__ */ p(((e,t)=>{t.exports=Number.isNaN||function(e){return e!==e}})),ce=/* @__PURE__ */ p(((e,t)=>{var n=se();t.exports=function(e){return n(e)||e===0?e:e<0?-1:1}})),N=/* @__PURE__ */ p(((e,t)=>{t.exports=function(){if(typeof Symbol!=`function`||typeof Object.getOwnPropertySymbols!=`function`)return!1;if(typeof Symbol.iterator==`symbol`)return!0;var e={},t=Symbol(`test`),n=Object(t);if(typeof t==`string`||Object.prototype.toString.call(t)!==`[object Symbol]`||Object.prototype.toString.call(n)!==`[object Symbol]`)return!1;var r=42;for(var i in e[t]=r,e)return!1;if(typeof Object.keys==`function`&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames==`function`&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor==`function`){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==r||o.enumerable!==!0)return!1}return!0}})),le=/* @__PURE__ */ p(((e,t)=>{var n=typeof Symbol<`u`&&Symbol,r=N();t.exports=function(){return typeof n!=`function`||typeof Symbol!=`function`||typeof n(`foo`)!=`symbol`||typeof Symbol(`bar`)!=`symbol`?!1:r()}})),ue=/* @__PURE__ */ p(((e,t)=>{t.exports=typeof Reflect<`u`&&Reflect.getPrototypeOf||null})),de=/* @__PURE__ */ p(((e,t)=>{t.exports=D().getPrototypeOf||null})),fe=/* @__PURE__ */ p(((e,t)=>{var n=Object.prototype.toString,r=Math.max,i=`[object Function]`,a=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n},o=function(e,t){for(var n=[],r=t||0,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n},s=function(e,t){for(var n=``,r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n};t.exports=function(e){var t=this;if(typeof t!=`function`||n.apply(t)!==i)throw TypeError(`Function.prototype.bind called on incompatible `+t);for(var c=o(arguments,1),l,u=function(){if(this instanceof l){var n=t.apply(this,a(c,arguments));return Object(n)===n?n:this}return t.apply(e,a(c,arguments))},d=r(0,t.length-c.length),f=[],p=0;p<d;p++)f[p]=`$`+p;if(l=Function(`binder`,`return function (`+s(f,`,`)+`){ return binder.apply(this,arguments); }`)(u),t.prototype){var m=function(){};m.prototype=t.prototype,l.prototype=new m,m.prototype=null}return l}})),pe=/* @__PURE__ */ p(((e,t)=>{var n=fe();t.exports=Function.prototype.bind||n})),me=/* @__PURE__ */ p(((e,t)=>{t.exports=Function.prototype.call})),he=/* @__PURE__ */ p(((e,t)=>{t.exports=Function.prototype.apply})),ge=/* @__PURE__ */ p(((e,t)=>{t.exports=typeof Reflect<`u`&&Reflect&&Reflect.apply})),_e=/* @__PURE__ */ p(((e,t)=>{var n=pe(),r=he(),i=me();t.exports=ge()||n.call(i,r)})),ve=/* @__PURE__ */ p(((e,t)=>{var n=pe(),r=S(),i=me(),a=_e();t.exports=function(e){if(e.length<1||typeof e[0]!=`function`)throw new r(`a function is required`);return a(n,i,e)}})),ye=/* @__PURE__ */ p(((e,t)=>{var n=ve(),r=w(),i;try{i=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!=`object`||!(`code`in e)||e.code!==`ERR_PROTO_ACCESS`)throw e}var a=!!i&&r&&r(Object.prototype,`__proto__`),o=Object,s=o.getPrototypeOf;t.exports=a&&typeof a.get==`function`?n([a.get]):typeof s==`function`&&function(e){return s(e==null?e:o(e))}})),be=/* @__PURE__ */ p(((e,t)=>{var n=ue(),r=de(),i=ye();t.exports=n?function(e){return n(e)}:r?function(e){if(!e||typeof e!=`object`&&typeof e!=`function`)throw TypeError(`getProto: not an object`);return r(e)}:i?function(e){return i(e)}:null})),xe=/* @__PURE__ */ p(((e,t)=>{var n=Function.prototype.call,r=Object.prototype.hasOwnProperty;t.exports=pe().call(n,r)})),Se=/* @__PURE__ */ p(((e,t)=>{var n,r=D(),i=O(),a=te(),o=k(),s=ne(),c=x(),l=S(),u=A(),d=j(),f=M(),p=re(),m=ie(),h=ae(),g=oe(),_=ce(),v=Function,y=function(e){try{return v(`"use strict"; return (`+e+`).constructor;`)()}catch{}},C=w(),T=b(),E=function(){throw new l},ee=C?function(){try{return arguments.callee,E}catch{try{return C(arguments,`callee`).get}catch{return E}}}():E,se=le()(),N=be(),fe=de(),ge=ue(),_e=he(),ve=me(),ye={},Se=typeof Uint8Array>`u`||!N?n:N(Uint8Array),Ce={__proto__:null,"%AggregateError%":typeof AggregateError>`u`?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>`u`?n:ArrayBuffer,"%ArrayIteratorPrototype%":se&&N?N([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":ye,"%AsyncGenerator%":ye,"%AsyncGeneratorFunction%":ye,"%AsyncIteratorPrototype%":ye,"%Atomics%":typeof Atomics>`u`?n:Atomics,"%BigInt%":typeof BigInt>`u`?n:BigInt,"%BigInt64Array%":typeof BigInt64Array>`u`?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>`u`?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>`u`?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":a,"%Float16Array%":typeof Float16Array>`u`?n:Float16Array,"%Float32Array%":typeof Float32Array>`u`?n:Float32Array,"%Float64Array%":typeof Float64Array>`u`?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>`u`?n:FinalizationRegistry,"%Function%":v,"%GeneratorFunction%":ye,"%Int8Array%":typeof Int8Array>`u`?n:Int8Array,"%Int16Array%":typeof Int16Array>`u`?n:Int16Array,"%Int32Array%":typeof Int32Array>`u`?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":se&&N?N(N([][Symbol.iterator]())):n,"%JSON%":typeof JSON==`object`?JSON:n,"%Map%":typeof Map>`u`?n:Map,"%MapIteratorPrototype%":typeof Map>`u`||!se||!N?n:N((/* @__PURE__ */ new Map())[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":C,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>`u`?n:Promise,"%Proxy%":typeof Proxy>`u`?n:Proxy,"%RangeError%":o,"%ReferenceError%":s,"%Reflect%":typeof Reflect>`u`?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>`u`?n:Set,"%SetIteratorPrototype%":typeof Set>`u`||!se||!N?n:N((/* @__PURE__ */ new Set())[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>`u`?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":se&&N?N(``[Symbol.iterator]()):n,"%Symbol%":se?Symbol:n,"%SyntaxError%":c,"%ThrowTypeError%":ee,"%TypedArray%":Se,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array>`u`?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>`u`?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>`u`?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>`u`?n:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>`u`?n:WeakMap,"%WeakRef%":typeof WeakRef>`u`?n:WeakRef,"%WeakSet%":typeof WeakSet>`u`?n:WeakSet,"%Function.prototype.call%":ve,"%Function.prototype.apply%":_e,"%Object.defineProperty%":T,"%Object.getPrototypeOf%":fe,"%Math.abs%":d,"%Math.floor%":f,"%Math.max%":p,"%Math.min%":m,"%Math.pow%":h,"%Math.round%":g,"%Math.sign%":_,"%Reflect.getPrototypeOf%":ge};if(N)try{null.error}catch(e){Ce[`%Error.prototype%`]=N(N(e))}var we=function e(t){var n;if(t===`%AsyncFunction%`)n=y(`async function () {}`);else if(t===`%GeneratorFunction%`)n=y(`function* () {}`);else if(t===`%AsyncGeneratorFunction%`)n=y(`async function* () {}`);else if(t===`%AsyncGenerator%`){var r=e(`%AsyncGeneratorFunction%`);r&&(n=r.prototype)}else if(t===`%AsyncIteratorPrototype%`){var i=e(`%AsyncGenerator%`);i&&N&&(n=N(i.prototype))}return Ce[t]=n,n},Te={__proto__:null,"%ArrayBufferPrototype%":[`ArrayBuffer`,`prototype`],"%ArrayPrototype%":[`Array`,`prototype`],"%ArrayProto_entries%":[`Array`,`prototype`,`entries`],"%ArrayProto_forEach%":[`Array`,`prototype`,`forEach`],"%ArrayProto_keys%":[`Array`,`prototype`,`keys`],"%ArrayProto_values%":[`Array`,`prototype`,`values`],"%AsyncFunctionPrototype%":[`AsyncFunction`,`prototype`],"%AsyncGenerator%":[`AsyncGeneratorFunction`,`prototype`],"%AsyncGeneratorPrototype%":[`AsyncGeneratorFunction`,`prototype`,`prototype`],"%BooleanPrototype%":[`Boolean`,`prototype`],"%DataViewPrototype%":[`DataView`,`prototype`],"%DatePrototype%":[`Date`,`prototype`],"%ErrorPrototype%":[`Error`,`prototype`],"%EvalErrorPrototype%":[`EvalError`,`prototype`],"%Float32ArrayPrototype%":[`Float32Array`,`prototype`],"%Float64ArrayPrototype%":[`Float64Array`,`prototype`],"%FunctionPrototype%":[`Function`,`prototype`],"%Generator%":[`GeneratorFunction`,`prototype`],"%GeneratorPrototype%":[`GeneratorFunction`,`prototype`,`prototype`],"%Int8ArrayPrototype%":[`Int8Array`,`prototype`],"%Int16ArrayPrototype%":[`Int16Array`,`prototype`],"%Int32ArrayPrototype%":[`Int32Array`,`prototype`],"%JSONParse%":[`JSON`,`parse`],"%JSONStringify%":[`JSON`,`stringify`],"%MapPrototype%":[`Map`,`prototype`],"%NumberPrototype%":[`Number`,`prototype`],"%ObjectPrototype%":[`Object`,`prototype`],"%ObjProto_toString%":[`Object`,`prototype`,`toString`],"%ObjProto_valueOf%":[`Object`,`prototype`,`valueOf`],"%PromisePrototype%":[`Promise`,`prototype`],"%PromiseProto_then%":[`Promise`,`prototype`,`then`],"%Promise_all%":[`Promise`,`all`],"%Promise_reject%":[`Promise`,`reject`],"%Promise_resolve%":[`Promise`,`resolve`],"%RangeErrorPrototype%":[`RangeError`,`prototype`],"%ReferenceErrorPrototype%":[`ReferenceError`,`prototype`],"%RegExpPrototype%":[`RegExp`,`prototype`],"%SetPrototype%":[`Set`,`prototype`],"%SharedArrayBufferPrototype%":[`SharedArrayBuffer`,`prototype`],"%StringPrototype%":[`String`,`prototype`],"%SymbolPrototype%":[`Symbol`,`prototype`],"%SyntaxErrorPrototype%":[`SyntaxError`,`prototype`],"%TypedArrayPrototype%":[`TypedArray`,`prototype`],"%TypeErrorPrototype%":[`TypeError`,`prototype`],"%Uint8ArrayPrototype%":[`Uint8Array`,`prototype`],"%Uint8ClampedArrayPrototype%":[`Uint8ClampedArray`,`prototype`],"%Uint16ArrayPrototype%":[`Uint16Array`,`prototype`],"%Uint32ArrayPrototype%":[`Uint32Array`,`prototype`],"%URIErrorPrototype%":[`URIError`,`prototype`],"%WeakMapPrototype%":[`WeakMap`,`prototype`],"%WeakSetPrototype%":[`WeakSet`,`prototype`]},Ee=pe(),De=xe(),Oe=Ee.call(ve,Array.prototype.concat),ke=Ee.call(_e,Array.prototype.splice),Ae=Ee.call(ve,String.prototype.replace),je=Ee.call(ve,String.prototype.slice),Me=Ee.call(ve,RegExp.prototype.exec),Ne=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Pe=/\\(\\)?/g,Fe=function(e){var t=je(e,0,1),n=je(e,-1);if(t===`%`&&n!==`%`)throw new c("invalid intrinsic syntax, expected closing `%`");if(n===`%`&&t!==`%`)throw new c("invalid intrinsic syntax, expected opening `%`");var r=[];return Ae(e,Ne,function(e,t,n,i){r[r.length]=n?Ae(i,Pe,`$1`):t||e}),r},Ie=function(e,t){var n=e,r;if(De(Te,n)&&(r=Te[n],n=`%`+r[0]+`%`),De(Ce,n)){var i=Ce[n];if(i===ye&&(i=we(n)),i===void 0&&!t)throw new l(`intrinsic `+e+` exists, but is not available. Please file an issue!`);return{alias:r,name:n,value:i}}throw new c(`intrinsic `+e+` does not exist!`)};t.exports=function(e,t){if(typeof e!=`string`||e.length===0)throw new l(`intrinsic name must be a non-empty string`);if(arguments.length>1&&typeof t!=`boolean`)throw new l(`"allowMissing" argument must be a boolean`);if(Me(/^%?[^%]*%?$/,e)===null)throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Fe(e),r=n.length>0?n[0]:``,i=Ie(`%`+r+`%`,t),a=i.name,o=i.value,s=!1,u=i.alias;u&&(r=u[0],ke(n,Oe([0,1],u)));for(var d=1,f=!0;d<n.length;d+=1){var p=n[d],m=je(p,0,1),h=je(p,-1);if((m===`"`||m===`'`||m==="`"||h===`"`||h===`'`||h==="`")&&m!==h)throw new c(`property names with quotes must have matching quotes`);if((p===`constructor`||!f)&&(s=!0),r+=`.`+p,a=`%`+r+`%`,De(Ce,a))o=Ce[a];else if(o!=null){if(!(p in o)){if(!t)throw new l(`base intrinsic for `+e+` exists, but the property is not available.`);return}if(C&&d+1>=n.length){var g=C(o,p);f=!!g,o=f&&`get`in g&&!(`originalValue`in g.get)?g.get:o[p]}else f=De(o,p),o=o[p];f&&!s&&(Ce[a]=o)}}return o}})),Ce=/* @__PURE__ */ p(((e,t)=>{var n=Se(),r=T(),i=E()(),a=w(),o=S(),s=n(`%Math.floor%`);t.exports=function(e,t){if(typeof e!=`function`)throw new o("`fn` is not a function");if(typeof t!=`number`||t<0||t>4294967295||s(t)!==t)throw new o("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],c=!0,l=!0;if(`length`in e&&a){var u=a(e,`length`);u&&!u.configurable&&(c=!1),u&&!u.writable&&(l=!1)}return(c||l||!n)&&(i?r(e,`length`,t,!0,!0):r(e,`length`,t)),e}})),we=/* @__PURE__ */ p(((e,t)=>{var n=pe(),r=he(),i=_e();t.exports=function(){return i(n,r,arguments)}})),Te=/* @__PURE__ */ p(((e,t)=>{var n=Ce(),r=b(),i=ve(),a=we();t.exports=function(e){var t=i(arguments),r=1+e.length-(arguments.length-1);return n(t,r>0?r:0,!0)},r?r(t.exports,`apply`,{value:a}):t.exports.apply=a})),Ee=/* @__PURE__ */ p(((e,t)=>{var n=Se(),r=ve(),i=r([n(`%String.prototype.indexOf%`)]);t.exports=function(e,t){var a=n(e,!!t);return typeof a==`function`&&i(e,`.prototype.`)>-1?r([a]):a}})),De=/* @__PURE__ */ p(((e,t)=>{var n=se();t.exports=function(e){return(typeof e==`number`||typeof e==`bigint`)&&!n(e)&&e!==1/0&&e!==-1/0}})),Oe=/* @__PURE__ */ p(((e,t)=>{var n=j(),r=M(),i=se(),a=De();t.exports=function(e){if(typeof e!=`number`||i(e)||!a(e))return!1;var t=n(e);return r(t)===t}})),ke=/* @__PURE__ */ p(((e,t)=>{var n=S(),r=Ee(),i=Oe(),a=r(`Number.prototype.toString`);t.exports=function(e,t){if(typeof e!=`number`)throw new n("Assertion failed: `x` must be a Number");if(!i(t)||t<2||t>36)throw new n("Assertion failed: `radix` must be an integer >= 2 and <= 36");return a(e,t)}})),Ae=/* @__PURE__ */ p(((e,t)=>{var n=Ee(),r=S(),i=Oe(),a=n(`String.prototype.slice`);t.exports=function(e,t,n){if(typeof e!=`string`)throw new r("Assertion failed: `string` must be a String");if(typeof t!=`string`)throw new r("Assertion failed: `searchValue` must be a String");if(!i(n)||n<0)throw new r("Assertion failed: `fromIndex` must be a non-negative integer");var o=e.length;if(t===``&&n<=o)return n;for(var s=t.length,c=n;c<=o-s;c+=1)if(a(e,c,c+s)===t)return c;return-1}})),je=/* @__PURE__ */ p(((e,t)=>{var n=S(),r=Ee(),i=Oe(),a=r(`String.prototype.slice`);t.exports=function(e,t,r,o){if(typeof e!=`string`)throw new n("Assertion failed: `S` must be a String");if(!i(t)||t<0)throw new n("Assertion failed: `maxLength` must be a non-negative integer");if(typeof r!=`string`)throw new n("Assertion failed: `fillString` must be a String");if(o!==`start`&&o!==`end`&&o!==`START`&&o!==`END`)throw new n("Assertion failed: `placement` must be ~START~ or ~END~");var s=e.length;if(t<=s||r===``)return e;for(var c=t-s,l=``;l.length<c;)l+=r;return l=a(l,0,c),o===`start`||o===`START`?l+e:e+l}})),Me=/* @__PURE__ */ p(((e,t)=>{var n=S(),r=Ee(),i=r(`String.prototype.charCodeAt`),a=r(`Number.prototype.toString`),o=r(`String.prototype.toLowerCase`),s=je();t.exports=function(e){if(typeof e!=`string`||e.length!==1)throw new n("Assertion failed: `C` must be a single code unit");var t=i(e,0);if(t>65535)throw new n("`Assertion failed: numeric value of `C` must be <= 0xFFFF");return`\\u`+s(o(a(t,16)),4,`0`,`start`)}})),Ne=/* @__PURE__ */ p(((e,t)=>{var n=M();t.exports=function(e){return typeof e==`bigint`?e:n(e)}})),Pe=/* @__PURE__ */ p(((e,t)=>{var n=M();t.exports=function(e,t){var r=e%t;return n(r>=0?r:r+t)}})),Fe=/* @__PURE__ */ p(((e,t)=>{t.exports=Pe()})),Ie=/* @__PURE__ */ p(((e,t)=>{var n=Fe();t.exports=function(e,t){return n(e,t)}})),Le=/* @__PURE__ */ p(((e,t)=>{t.exports=function(e){return typeof e==`number`&&e>=0&&e<=1114111&&(e|0)===e}})),Re=/* @__PURE__ */ p(((e,t)=>{var n=Se(),r=S(),i=n(`%String.fromCharCode%`),a=Ne(),o=Ie(),s=Le();t.exports=function(e){if(!s(e))throw new r("Assertion failed: `cp` must be >= 0 and <= 0x10FFFF");return e<=65535?i(e):i(a((e-65536)/1024)+55296)+i(o(e-65536,1024)+56320)}})),ze=/* @__PURE__ */ p(((e,t)=>{t.exports=function(e){return typeof e==`number`&&e>=55296&&e<=56319}})),Be=/* @__PURE__ */ p(((e,t)=>{t.exports=function(e){return typeof e==`number`&&e>=56320&&e<=57343}})),Ve=/* @__PURE__ */ p(((e,t)=>{var n=Function.prototype.toString,r=typeof Reflect==`object`&&Reflect!==null&&Reflect.apply,i,a;if(typeof r==`function`&&typeof Object.defineProperty==`function`)try{i=Object.defineProperty({},"length",{get:function(){throw a}}),a={},r(function(){throw 42},null,i)}catch(e){e!==a&&(r=null)}else r=null;var o=/^\s*class\b/,s=function(e){try{var t=n.call(e);return o.test(t)}catch{return!1}},c=function(e){try{return!s(e)&&(n.call(e),!0)}catch{return!1}},l=Object.prototype.toString,u=`[object Object]`,d=`[object Function]`,f=`[object GeneratorFunction]`,p=`[object HTMLAllCollection]`,m=`[object HTML document.all class]`,h=`[object HTMLCollection]`,g=typeof Symbol==`function`&&!!Symbol.toStringTag,_=!(0 in[,]),v=function(){return!1};if(typeof document==`object`){var y=document.all;l.call(y)===l.call(document.all)&&(v=function(e){if((_||!e)&&(e===void 0||typeof e==`object`))try{var t=l.call(e);return(t===p||t===m||t===h||t===u)&&e(``)==null}catch{}return!1})}t.exports=r?function(e){if(v(e))return!0;if(!e||typeof e!=`function`&&typeof e!=`object`)return!1;try{r(e,null,i)}catch(e){if(e!==a)return!1}return!s(e)&&c(e)}:function(e){if(v(e))return!0;if(!e||typeof e!=`function`&&typeof e!=`object`)return!1;if(g)return c(e);if(s(e))return!1;var t=l.call(e);return t!==d&&t!==f&&!/^\[object HTML/.test(t)?!1:c(e)}})),He=/* @__PURE__ */ p(((e,t)=>{var n=Ve(),r=Object.prototype.toString,i=Object.prototype.hasOwnProperty,a=function(e,t,n){for(var r=0,a=e.length;r<a;r++)i.call(e,r)&&(n==null?t(e[r],r,e):t.call(n,e[r],r,e))},o=function(e,t,n){for(var r=0,i=e.length;r<i;r++)n==null?t(e.charAt(r),r,e):t.call(n,e.charAt(r),r,e)},s=function(e,t,n){for(var r in e)i.call(e,r)&&(n==null?t(e[r],r,e):t.call(n,e[r],r,e))};function c(e){return r.call(e)===`[object Array]`}t.exports=function(e,t,r){if(!n(t))throw TypeError(`iterator must be a function`);var i;arguments.length>=3&&(i=r),c(e)?a(e,t,i):typeof e==`string`?o(e,t,i):s(e,t,i)}})),Ue=/* @__PURE__ */ p(((e,t)=>{var n=N();t.exports=function(){return n()&&!!Symbol.toStringTag}})),We=/* @__PURE__ */ p(((e,t)=>{var n=Ee(),r=Ue()(),i=xe(),a=w(),o;if(r){var s=n(`RegExp.prototype.exec`),c={},l=function(){throw c},u={toString:l,valueOf:l};typeof Symbol.toPrimitive==`symbol`&&(u[Symbol.toPrimitive]=l),o=function(e){if(!e||typeof e!=`object`)return!1;var t=a(e,`lastIndex`);if(!(t&&i(t,`value`)))return!1;try{s(e,u)}catch(e){return e===c}}}else{var d=n(`Object.prototype.toString`),f=`[object RegExp]`;o=function(e){return!e||typeof e!=`object`&&typeof e!=`function`?!1:d(e)===f}}t.exports=o})),Ge=/* @__PURE__ */ p(((e,t)=>{var n=Ee(),r=We(),i=n(`RegExp.prototype.exec`),a=S();t.exports=function(e){if(!r(e))throw new a("`regex` must be a RegExp");return function(t){return i(e,t)!==null}}})),Ke=/* @__PURE__ */ p(((e,t)=>{var n=ke(),r=Ae(),i=je(),a=Me(),o=Re(),s=ze(),c=Be(),l=S(),u=Le(),d=He(),f=Ge(),p=f(/^\s$/),m=f(/^[\n\r\u2028\u2029]$/),h=`^$\\.*+?()[]{}|`,g=`,-=<>#&!%:;@~'\`"`,_={" ":`t`,"\n":`n`,"\v":`v`,"\f":`f`,"\r":`r`,__proto__:null};t.exports=function(e){if(!u(e))throw new l("Assertion failed: `c` must be a valid Unicode code point");var t=o(e);if(r(h,t,0)>-1||t===`/`)return`\\`+t;if(t in _)return`\\`+_[t];if(r(g,t,0)>-1||p(t)||m(t)||s(e)||c(e)){if(e<255)return`\\x`+i(n(e,16),2,`0`,`START`);var f=``;return d(t,function(e){f+=a(e)}),f}return t}})),qe=/* @__PURE__ */ p(((e,t)=>{var n=Se(),r=S(),i=n(`%String.fromCharCode%`),a=ze(),o=Be();t.exports=function(e,t){if(!a(e)||!o(t))throw new r("Assertion failed: `lead` must be a leading surrogate char code, and `trail` must be a trailing surrogate char code");return i(e)+i(t)}})),Je=/* @__PURE__ */ p(((e,t)=>{var n=S(),r=Ee(),i=ze(),a=Be(),o=qe(),s=r(`String.prototype.charAt`),c=r(`String.prototype.charCodeAt`);t.exports=function(e,t){if(typeof e!=`string`)throw new n("Assertion failed: `string` must be a String");var r=e.length;if(t<0||t>=r)throw new n("Assertion failed: `position` must be >= 0, and < the length of `string`");var l=c(e,t),u=s(e,t),d=i(l),f=a(l);if(!d&&!f)return{"[[CodePoint]]":u,"[[CodeUnitCount]]":1,"[[IsUnpairedSurrogate]]":!1};if(f||t+1===r)return{"[[CodePoint]]":u,"[[CodeUnitCount]]":1,"[[IsUnpairedSurrogate]]":!0};var p=c(e,t+1);return a(p)?{"[[CodePoint]]":o(l,p),"[[CodeUnitCount]]":2,"[[IsUnpairedSurrogate]]":!1}:{"[[CodePoint]]":u,"[[CodeUnitCount]]":1,"[[IsUnpairedSurrogate]]":!0}}})),Ye=/* @__PURE__ */ p(((e,t)=>{var n=S(),r=Je();t.exports=function(e){if(typeof e!=`string`)throw new n("Assertion failed: `string` must be a String");for(var t=[],i=e.length,a=0;a<i;){var o=r(e,a);t[t.length]=o[`[[CodePoint]]`],a+=o[`[[CodeUnitCount]]`]}return t}})),Xe=/* @__PURE__ */ p(((e,t)=>{var n=Se(),r=Te(),i=r(n(`String.prototype.indexOf`));t.exports=function(e,t){var a=n(e,!!t);return typeof a==`function`&&i(e,`.prototype.`)>-1?r(a):a}})),Ze=/* @__PURE__ */ p(((e,t)=>{var n=Ke(),r=ke(),i=Ye(),a=Ge(),o=He(),s=S(),c=a(/^[\da-zA-Z]$/),l=Xe()(`String.prototype.charCodeAt`),u=function(e){var t=l(e,0);if(t<55296||t>56319||e.length===1)return t;var n=l(e,1);return n<56320||n>57343?t:(t-55296)*1024+(n-56320)+65536};t.exports=function(e){if(typeof e!=`string`)throw new s("`S` must be a String");var t=``;return o(i(e),function(e){if(t===``&&c(e)){var i=r(u(e),16);t+=`\\x`+i}else t+=n(u(e))}),t}})),Qe=/* @__PURE__ */ p(((e,t)=>{var n=Ze();t.exports=function(){return RegExp.escape||n}})),$e=/* @__PURE__ */ p(((e,t)=>{var n=ee(),r=Qe()();t.exports=function(){return n(RegExp,{escape:r}),RegExp.escape}})),et=/* @__PURE__ */ h((/* @__PURE__ */ p(((e,t)=>{var n=ee(),r=Te(),i=Ze(),a=Qe(),o=$e(),s=r(i,null);n(s,{getPolyfill:a,implementation:i,method:i,shim:o}),t.exports=s})))(),1);function tt(){return tt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tt.apply(this,arguments)}var nt=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:{};function rt(e){var t={exports:{}};return e(t,t.exports),t.exports}var it=rt(function(e){var t=[` `,`
|
|
2
|
-
`,` `],n=[`,`],r=e.exports={split:function(e,t,n){for(var r=[],i=``,a=!1,o=0,s=!1,c=!1,l=0;l<e.length;l++){var u=e[l];s?c?c=!1:u===`\\`?c=!0:u===s&&(s=!1):u===`"`||u===`'`?s=u:u===`(`?o+=1:u===`)`?o>0&&--o:o===0&&t.indexOf(u)!==-1&&(a=!0),a?(i!==``&&r.push(i.trim()),i=``,a=!1):i+=u}return(n||i!==``)&&r.push(i.trim()),r},space:function(e){return r.split(e,t)},comma:function(e){return r.split(e,n,!0)}}}),at=rt(function(e){(function(e){var t=e.shorthandProperties={"list-style":[`-type`,`-position`,`-image`],margin:[`-top`,`-right`,`-bottom`,`-left`],outline:[`-width`,`-style`,`-color`],padding:[`-top`,`-right`,`-bottom`,`-left`],background:[`-image`,`-position`,`-size`,`-repeat`,`-origin`,`-clip`,`-attachment`,`-color`],"background-position":[`-x`,`-y`],border:[`-width`,`-style`,`-color`],"border-color":[`border-top-color`,`border-right-color`,`border-bottom-color`,`border-left-color`],"border-style":[`border-top-style`,`border-right-style`,`border-bottom-style`,`border-left-style`],"border-width":[`border-top-width`,`border-right-width`,`border-bottom-width`,`border-left-width`],"border-top":[`-width`,`-style`,`-color`],"border-right":[`-width`,`-style`,`-color`],"border-bottom":[`-width`,`-style`,`-color`],"border-left":[`-width`,`-style`,`-color`],"border-radius":[`border-top-left-radius`,`border-top-right-radius`,`border-bottom-right-radius`,`border-bottom-left-radius`],"border-image":[`-source`,`-slice`,`-width`,`-outset`,`-repeat`],font:[`-style`,`-variant`,`-weight`,`-stretch`,`-size`,`line-height`,`-family`],"font-variant":[`-ligatures`,`-alternates`,`-caps`,`-numeric`,`-east-asian`],flex:[`-grow`,`-shrink`,`-basis`],"flex-flow":[`flex-direction`,`flex-wrap`],grid:[`-template-rows`,`-template-columns`,`-template-areas`,`-auto-rows`,`-auto-columns`,`-auto-flow`],"grid-template":[`-rows`,`-columns`,`-areas`],"grid-row":[`-start`,`-end`],"grid-column":[`-start`,`-end`],"grid-area":[`grid-row-start`,`grid-column-start`,`grid-row-end`,`grid-column-end`],"grid-gap":[`grid-row-gap`,`grid-column-gap`],mask:[`-image`,`-mode`,`-position`,`-size`,`-repeat`,`-origin`,`-clip`],"mask-border":[`-source`,`-slice`,`-width`,`-outset`,`-repeat`,`-mode`],columns:[`column-width`,`column-count`],"column-rule":[`-width`,`-style`,`-color`],"scroll-padding":[`-top`,`-right`,`-bottom`,`-left`],"scroll-padding-block":[`-start`,`-end`],"scroll-padding-inline":[`-start`,`-end`],"scroll-snap-margin":[`-top`,`-right`,`-bottom`,`-left`],"scroll-snap-margin-block":[`-start`,`-end`],"scroll-snap-margin-inline":[`-start`,`-end`],cue:[`-before`,`-after`],pause:[`-before`,`-after`],rest:[`-before`,`-after`],"text-decoration":[`-line`,`-style`,`-color`],"text-emphasis":[`-style`,`-color`],animation:[`-name`,`-duration`,`-timing-function`,`-delay`,`-iteration-count`,`-direction`,`-fill-mode`,`-play-state`],transition:[`-property`,`-duration`,`-timing-function`,`-delay`]};e.isShorthand=function(e){return t.hasOwnProperty(e)},e.expand=function(n,r){return t.hasOwnProperty(n)?t[n].map(function(t){var i=t.substr(0,1)===`-`?n+t:t;return r?e.expand(i,r):i}):[n]}})(e.exports===void 0?nt.cssShorthandProps={}:e.exports)}).shorthandProperties;function ot(e,t,r){return n(arguments.length,`property argument is required`),arguments.length<3&&(typeof t==`boolean`?(r=t,t=void 0):r=!0),t===void 0?st(e,r):ct(e,t,r)}function st(e,t){return at.hasOwnProperty(e)?at[e].map(function(n){var r=n.substr(0,1)===`-`?e+n:n;return t?ot(r,t):r}).reduce(function(e,t){return e.concat(t)},[]):[e]}function ct(e,t,n){var r={};if(!at.hasOwnProperty(e))return r[e]=t,r;var i=st(e,!1);typeof t==`string`&&(t=it.space(t));for(var a,o=0,s=i.length,c=t.length;o<s;o++)if(a=o<c?o:c<2?0:o%2,n)for(var l=ct(i[o],t[a],n),u=Object.keys(l),d=0,f=u.length;d<f;d++)r[u[d]]=l[u[d]];else r[i[o]]=t[a];return r}var lt={isShorthand:function(e){return!!at.hasOwnProperty(e)},expand:ot};const ut=`scale-unlimited/declaration-strict-value`,dt=(e,t)=>!!e&&typeof e==`object`&&!Array.isArray(e)&&Object.hasOwnProperty.call(e,t),ft={ignoreVariables:!0,ignoreFunctions:!0,ignoreKeywords:null,ignoreValues:null,ignoreAtRules:null,expandShorthand:!1,recurseLonghand:!1,severity:`error`,message:void 0,disableFix:!1,autoFixFunc:null};var pt=40,mt=41,ht=39,gt=34,_t=92,vt=47,yt=44,bt=58,xt=42,St=function e(t,n,r){for(var i=0,a=t.length,o,s;i<a;i+=1)o=t[i],r||(s=n(o,i,t)),!1!==s&&o.type===`function`&&Array.isArray(o.nodes)&&e(o.nodes,n,r),r&&n(o,i,t)};function Ct(e,t){var n,r,i=e.type,a=e.value;return t&&(r=t(e))!==void 0?r:i===`word`||i===`space`?a:i===`string`?(n=e.quote||``)+a+(e.unclosed?``:n):i===`comment`?`/*`+a+(e.unclosed?``:`*/`):i===`div`?(e.before||``)+a+(e.after||``):Array.isArray(e.nodes)?(n=wt(e.nodes),i===`function`?a+`(`+(e.before||``)+n+(e.after||``)+(e.unclosed?``:`)`):n):a}function wt(e,t){var n,r;if(Array.isArray(e)){for(n=``,r=e.length-1;~r;--r)n=Ct(e[r],t)+n;return n}return Ct(e,t)}var Tt=wt,Et=45,Dt=43,Ot=46,kt=101,At=69;function jt(e){return this instanceof jt?(this.nodes=function(e){for(var t,n,r,i,a,o,s,c,l=[],u=e,d=0,f=u.charCodeAt(d),p=u.length,m=[{nodes:l}],h=0,g=``,_=``,v=``;d<p;)if(f<=32){t=d;do f=u.charCodeAt(t+=1);while(f<=32);i=u.slice(d,t),r=l[l.length-1],f===mt&&h?v=i:r&&r.type===`div`?r.after=i:f===yt||f===bt||f===vt&&u.charCodeAt(t+1)!==xt?_=i:l.push({type:`space`,sourceIndex:d,value:i}),d=t}else if(f===ht||f===gt){t=d,i={type:`string`,sourceIndex:d,quote:n=f===ht?`'`:`"`};do if(a=!1,~(t=u.indexOf(n,t+1)))for(o=t;u.charCodeAt(o-1)===_t;)--o,a=!a;else t=(u+=n).length-1,i.unclosed=!0;while(a);i.value=u.slice(d+1,t),l.push(i),f=u.charCodeAt(d=t+1)}else if(f===vt&&u.charCodeAt(d+1)===xt)i={type:`comment`,sourceIndex:d},(t=u.indexOf(`*/`,d))===-1&&(i.unclosed=!0,t=u.length),i.value=u.slice(d+2,t),l.push(i),f=u.charCodeAt(d=t+2);else if(f===vt||f===yt||f===bt)l.push({type:`div`,sourceIndex:d-_.length,value:i=u[d],before:_,after:``}),_=``,f=u.charCodeAt(d+=1);else if(pt===f){t=d;do f=u.charCodeAt(t+=1);while(f<=32);if(i={type:`function`,sourceIndex:d-g.length,value:g,before:u.slice(d+1,t)},d=t,g===`url`&&f!==ht&&f!==gt){--t;do if(a=!1,~(t=u.indexOf(`)`,t+1)))for(o=t;u.charCodeAt(o-1)===_t;)--o,a=!a;else t=(u+=`)`).length-1,i.unclosed=!0;while(a);s=t;do f=u.charCodeAt(--s);while(f<=32);i.nodes=d===s+1?[]:[{type:`word`,sourceIndex:d,value:u.slice(d,s+1)}],i.unclosed&&s+1!==t?(i.after=``,i.nodes.push({type:`space`,sourceIndex:s+1,value:u.slice(s+1,t)})):i.after=u.slice(s+1,t),f=u.charCodeAt(d=t+1),l.push(i)}else h+=1,i.after=``,l.push(i),m.push(i),l=i.nodes=[],c=i;g=``}else if(mt===f&&h)f=u.charCodeAt(d+=1),c.after=v,v=``,--h,m.pop(),l=(c=m[h]).nodes;else{t=d;do f===_t&&(t+=1),f=u.charCodeAt(t+=1);while(t<p&&!(f<=32||f===ht||f===gt||f===yt||f===bt||f===vt||f===pt||f===mt&&h));i=u.slice(d,t),pt===f?g=i:l.push({type:`word`,sourceIndex:d,value:i}),d=t}for(d=m.length-1;d;--d)m[d].unclosed=!0;return m[0].nodes}(e),this):new jt(e)}jt.prototype.toString=function(){return Array.isArray(this.nodes)?Tt(this.nodes):``},jt.prototype.walk=function(e,t){return St(this.nodes,e,t),this},jt.unit=function(e){for(var t,n=0,r=e.length,i=!1,a=-1,o=!1;n<r;){if((t=e.charCodeAt(n))>=48&&t<=57)o=!0;else if(t===kt||t===At){if(a>-1)break;a=n}else if(t===Ot){if(i)break;i=!0}else if(t!==Dt&&t!==Et||n!==0)break;n+=1}return a+1===n&&n--,!!o&&{number:e.slice(0,n),unit:e.slice(n)}},jt.walk=St,jt.stringify=Tt;var P=jt,Mt=Ft(P),Nt=Ft({aliceblue:`#f0f8ff`,antiquewhite:`#faebd7`,aqua:`#00ffff`,aquamarine:`#7fffd4`,azure:`#f0ffff`,beige:`#f5f5dc`,bisque:`#ffe4c4`,black:`#000000`,blanchedalmond:`#ffebcd`,blue:`#0000ff`,blueviolet:`#8a2be2`,brown:`#a52a2a`,burlywood:`#deb887`,cadetblue:`#5f9ea0`,chartreuse:`#7fff00`,chocolate:`#d2691e`,coral:`#ff7f50`,cornflowerblue:`#6495ed`,cornsilk:`#fff8dc`,crimson:`#dc143c`,cyan:`#00ffff`,darkblue:`#00008b`,darkcyan:`#008b8b`,darkgoldenrod:`#b8860b`,darkgray:`#a9a9a9`,darkgreen:`#006400`,darkgrey:`#a9a9a9`,darkkhaki:`#bdb76b`,darkmagenta:`#8b008b`,darkolivegreen:`#556b2f`,darkorange:`#ff8c00`,darkorchid:`#9932cc`,darkred:`#8b0000`,darksalmon:`#e9967a`,darkseagreen:`#8fbc8f`,darkslateblue:`#483d8b`,darkslategray:`#2f4f4f`,darkslategrey:`#2f4f4f`,darkturquoise:`#00ced1`,darkviolet:`#9400d3`,deeppink:`#ff1493`,deepskyblue:`#00bfff`,dimgray:`#696969`,dimgrey:`#696969`,dodgerblue:`#1e90ff`,firebrick:`#b22222`,floralwhite:`#fffaf0`,forestgreen:`#228b22`,fuchsia:`#ff00ff`,gainsboro:`#dcdcdc`,ghostwhite:`#f8f8ff`,gold:`#ffd700`,goldenrod:`#daa520`,gray:`#808080`,green:`#008000`,greenyellow:`#adff2f`,grey:`#808080`,honeydew:`#f0fff0`,hotpink:`#ff69b4`,indianred:`#cd5c5c`,indigo:`#4b0082`,ivory:`#fffff0`,khaki:`#f0e68c`,lavender:`#e6e6fa`,lavenderblush:`#fff0f5`,lawngreen:`#7cfc00`,lemonchiffon:`#fffacd`,lightblue:`#add8e6`,lightcoral:`#f08080`,lightcyan:`#e0ffff`,lightgoldenrodyellow:`#fafad2`,lightgray:`#d3d3d3`,lightgreen:`#90ee90`,lightgrey:`#d3d3d3`,lightpink:`#ffb6c1`,lightsalmon:`#ffa07a`,lightseagreen:`#20b2aa`,lightskyblue:`#87cefa`,lightslategray:`#778899`,lightslategrey:`#778899`,lightsteelblue:`#b0c4de`,lightyellow:`#ffffe0`,lime:`#00ff00`,limegreen:`#32cd32`,linen:`#faf0e6`,magenta:`#ff00ff`,maroon:`#800000`,mediumaquamarine:`#66cdaa`,mediumblue:`#0000cd`,mediumorchid:`#ba55d3`,mediumpurple:`#9370db`,mediumseagreen:`#3cb371`,mediumslateblue:`#7b68ee`,mediumspringgreen:`#00fa9a`,mediumturquoise:`#48d1cc`,mediumvioletred:`#c71585`,midnightblue:`#191970`,mintcream:`#f5fffa`,mistyrose:`#ffe4e1`,moccasin:`#ffe4b5`,navajowhite:`#ffdead`,navy:`#000080`,oldlace:`#fdf5e6`,olive:`#808000`,olivedrab:`#6b8e23`,orange:`#ffa500`,orangered:`#ff4500`,orchid:`#da70d6`,palegoldenrod:`#eee8aa`,palegreen:`#98fb98`,paleturquoise:`#afeeee`,palevioletred:`#db7093`,papayawhip:`#ffefd5`,peachpuff:`#ffdab9`,peru:`#cd853f`,pink:`#ffc0cb`,plum:`#dda0dd`,powderblue:`#b0e0e6`,purple:`#800080`,rebeccapurple:`#663399`,red:`#ff0000`,rosybrown:`#bc8f8f`,royalblue:`#4169e1`,saddlebrown:`#8b4513`,salmon:`#fa8072`,sandybrown:`#f4a460`,seagreen:`#2e8b57`,seashell:`#fff5ee`,sienna:`#a0522d`,silver:`#c0c0c0`,skyblue:`#87ceeb`,slateblue:`#6a5acd`,slategray:`#708090`,slategrey:`#708090`,snow:`#fffafa`,springgreen:`#00ff7f`,steelblue:`#4682b4`,tan:`#d2b48c`,teal:`#008080`,thistle:`#d8bfd8`,tomato:`#ff6347`,turquoise:`#40e0d0`,violet:`#ee82ee`,wheat:`#f5deb3`,white:`#ffffff`,whitesmoke:`#f5f5f5`,yellow:`#ffff00`,yellowgreen:`#9acd32`}),Pt=Ft(function(e,t){if(Array.isArray(e))return e[e.length-1]===t;e=String(e);for(var n=(t=String(t)).length,r=e.length-n;n--;)if(t.charAt(n)!==e.charAt(r+n))return!1;return!0});function Ft(e){return e&&e.__esModule?e:{default:e}}function It(e){return e.toLowerCase()}function F(e,t){var n=e.value;return e.type===`word`&&(Array.isArray(t)?~t.map(It).indexOf(It(n)):It(n)===t)}function I(e,t){return e.type===`function`&&(Array.isArray(t)?~t.map(It).indexOf(It(e.value)):It(e.value)===t)}var L=function(e){return I(e,`var`)};function R(e){return function(t){return t.nodes.length===1&&F(t.nodes[0],e)}}var Lt=function(e){return I(e,`url`)},Rt=function(e){var t=e.value;if(e.type!==`word`)return!1;var n=(0,P.unit)(t);return n&&!~t.indexOf(`.`)&&!n.unit},z=function(e){return e.type===`div`&&e.value===`,`},zt=function(e){var t=e.value;return e.type===`word`&&!isNaN(t)&&!(0,Pt.default)(t,`.`)},Bt=function(e){var t=(0,P.unit)(e.value);return t&&!(0,Pt.default)(t.number,`.`)&&!~t.unit.indexOf(`.`)&&t.unit===`%`},Vt=Object.keys(Nt.default);function Ht(e){return function(e){if(I(e,`rgb`)){var t=!0;return(0,P.walk)(e.nodes,function(e,n){var r=n%2==0;return(r&&!Rt(e)&&!Bt(e)||!r&&!z(e))&&(t=!1),!1}),t&&e.nodes.length===5}}(e)||function(e){if(I(e,`rgba`)){var t=!0;return(0,P.walk)(e.nodes,function(e,n){var r=n%2==0;return(r&&(n<6&&!Rt(e)&&!Bt(e)||n>5&&!zt(e))||!r&&!z(e))&&(t=!1),!1}),t&&e.nodes.length===7}}(e)||function(e){if(I(e,`hsl`)){var t=!0;return(0,P.walk)(e.nodes,function(e,n){var r=n%2==0;return(r&&(n<1&&!zt(e)||n>1&&!Bt(e))||!r&&!z(e))&&(t=!1),!1}),t&&e.nodes.length===5}}(e)||function(e){if(I(e,`hsla`)){var t=!0;return(0,P.walk)(e.nodes,function(e,n){var r=n%2==0;return(!r||(n!==0&&n!==6||zt(e))&&(n!==2&&n!==4||Bt(e)))&&(r||z(e))||(t=!1),!1}),t&&e.nodes.length===7}}(e)||function(e){if(e.type!==`word`||e.value[0]!==`#`)return!1;var t=e.value.slice(1);return~[3,4,6,8].indexOf(t.length)&&!isNaN(parseInt(t,16))}(e)||function(e){return F(e,Vt)}(e)||function(e){return F(e,`currentcolor`)}(e)}var Ut=[`none`,`hidden`,`dotted`,`dashed`,`solid`,`double`,`groove`,`ridge`,`inset`,`outset`],Wt=function(e){return F(e,Ut)},Gt=function(e){return e.type===`space`},Kt=[`deg`,`grad`,`rad`,`turn`],qt=function(e){var t=(0,P.unit)(e.value);return t&&!(0,Pt.default)(t.number,`.`)&&!~t.unit.indexOf(`.`)&&(t.number===`0`||~Kt.indexOf(t.unit))},Jt=[`s`,`ms`],Yt=function(e){var t=(0,P.unit)(e.value);return t&&!(0,Pt.default)(t.number,`.`)&&!~t.unit.indexOf(`.`)&&~Jt.indexOf(t.unit)},Xt=[`+`,`-`,`*`,`/`],Zt=/[+\-\*\/]/i,Qt=[`em`,`ex`,`ch`,`rem`,`vh`,`vw`,`vmin`,`vmax`,`px`,`q`,`mm`,`cm`,`in`,`pt`,`pc`],$t=function(e){if(function(e){if(!I(e,`calc`)||!e.nodes||!e.nodes.length)return!1;var t=!0,n=!1;return(0,P.walk)(e.nodes,function(e){var r=e.type,i=e.value;!n&&~Xt.indexOf(i)&&(t=!1),r!==`space`&&(n=i),L(e)||r!==`function`||(i.length>0&&(t=!1),e.nodes.length&&e.nodes||(t=!1)),r!==`word`||qt(e)||$t(e)||Yt(e)||Rt(e)||zt(e)||Bt(e)||!(Xt.indexOf(i)<0)||((i.indexOf(`+`)>0||i.indexOf(`-`)>0)&&(t=!1),~Xt.indexOf(i[i.length-1])&&(t=!1),Zt.test(i)||(t=!1))}),~Xt.indexOf(n)&&(t=!1),t}(e))return!0;if(e.type!==`word`)return!1;var t=(0,P.unit)(e.value);return t&&!(0,Pt.default)(t.number,`.`)&&!~t.unit.indexOf(`.`)&&(t.number===`0`||~Qt.indexOf(t.unit))},en=[`thin`,`medium`,`thick`],tn=function(e){return $t(e)||F(e,en)},nn=[`scroll`,`fixed`,`local`],rn=[`repeat-x`,`repeat-y`],an=[`repeat`,`space`,`round`,`no-repeat`],on=[`normal`,`reverse`,`alternate`,`alternate-reverse`],sn=[`none`,`forwards`,`backwards`,`both`],cn=[`infinite`];function ln(e){return!function(e){return/[^a-z0-9_-]/gi.test(e)}(e)||function(e){return/\\u[a-f0-9]{1,6}/gi.test(e)||/\\[a-f0-9]{1,6}/gi.test(e)}(e)}var un=function(e){var t=e.value;return e.type===`word`&&(t[0]===`-`?!/[0-9]/.test(t[1])&&(t[1]!==`-`||t[2]===`-`)&&ln(t):!/[0-9]/.test(t[0])&&ln(t))},dn=[`running`,`paused`],fn=[`ease`,`linear`,`ease-in`,`ease-out`,`ease-in-out`,`step-start`,`step-end`],pn=[`start`,`end`],mn=[`brightness`,`contrast`,`grayscale`,`invert`,`opacity`,`sepia`,`saturate`],hn=[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],gn=function(e){return F(e,hn)},_n=[`border-box`,`padding-box`,`content-box`],vn=function(e){return F(e,_n)};function yn(e){return e.nodes.reduce(function(e,t){return z(t)?e.push([]):e[e.length-1].push(t),e},[[]])}var B=function(e){return $t(e)||Bt(e)},bn=`left`,xn=`center`,Sn=`right`,Cn=`top`,wn=`bottom`,Tn=[bn,Sn,xn],En=[Cn,wn,xn];function Dn(e,t){return F(e,t)||L(e)}function On(e){return B(e)||L(e)}function kn(e){var t=e.length;if(t===1&&!Dn(e[0],[bn,xn,Sn,Cn,wn])&&!B(e[0]))return!1;if(t===3){if(!Gt(e[1]))return!1;if(Dn(e[0],Tn)&&Dn(e[2],En)||Dn(e[0],En)&&Dn(e[2],Tn))return!0;if(!Dn(e[0],Tn)&&!B(e[0])||!Dn(e[2],En)&&!B(e[2]))return!1}return t>=5&&t<=7?(Dn(e[0],[bn,Sn])&&Gt(e[1])&&On(e[2])&&Gt(e[3])&&Dn(e[4],En)||!!(Dn(e[0],[Cn,wn])&&Gt(e[1])&&On(e[2])&&Gt(e[3])&&Dn(e[4],Tn)))&&!(e[6]&&Gt(e[5])&&(!On(e[6])||e[4].value===xn)):t<8}function An(e){return function(t){return(!e||t.nodes[t.nodes.length-1].type!==`div`)&&yn(t).every(kn)}}var jn=[`dpi`,`dpcm`,`dppx`],Mn=function(e){return e.type===`string`};function Nn(e){return!(!Gn(e[0])&&!Mn(e[0])||I(e[0],`image-set`)||!e[2]||!function(e){if(e.type!==`word`)return!1;var t=(0,P.unit)(e.value);return t&&!(0,Pt.default)(t.number,`.`)&&!~t.unit.indexOf(`.`)&&~jn.indexOf(t.unit)}(e[2])&&!function(e){if(e.type!==`word`)return!1;var t=(0,P.unit)(e.value);return t&&!(0,Pt.default)(t.number,`.`)&&!~t.unit.indexOf(`.`)&&t.unit===`x`}(e[2]))&&e.length===3}function Pn(e){var t=e.length;return t===1?Ht(e[0]):t===3&&Ht(e[0])&&B(e[2])}var Fn=[`top`,`bottom`],In=[`right`,`left`],Ln=[].concat(In,Fn),Rn=`at`,zn=`circle`,Bn=`ellipse`,Vn=[zn,Bn],Hn=[`closest-corner`,`closest-side`,`farthest-corner`,`farthest-side`],Un=An(!1);function Wn(e){return e.value===Rn}function Gn(e){return Lt(e)||function(e){if(!I(e,`image`))return!1;var t=!0;return(0,P.walk)(e.nodes,function(n,r){return r!==0||Gn(n)||Mn(n)||Ht(n)||(t=!1),r!==1||z(n)||(t=!1),r!==2||!Ht(e.nodes[0])&&Ht(n)||(t=!1),!1}),t&&e.nodes.length<=3}(e)||function(e){return!!I(e,`image-set`)&&yn(e).every(Nn)}(e)||function(e){if(!I(e,`element`)||e.nodes.length!==1)return!1;var t=e.nodes[0];return t.value[0]===`#`&&t.type===`word`}(e)||function(e){if(!I(e,`cross-fade`))return!1;var t=!0;return(0,P.walk)(e.nodes,function(e,n){return n!==0||Bt(e)||Gn(e)||(t=!1),n!==2||Bt(e)||Gn(e)||(t=!1),n!==4||Gn(e)||Ht(e)||(t=!1),!1}),t}(e)||function(e){return function(e){if(!I(e,[`linear-gradient`,`repeating-linear-gradient`]))return!1;var t=0;return yn(e).every(function(e,n){if(n===0){var r=e.length;if(r===1&&qt(e[0]))return!0;if(r>1&&e[0].value===`to`&&r<=5)return!e[4]&&F(e[2],Ln)||F(e[2],In)&&F(e[4],Fn)||F(e[2],Fn)&&F(e[4],In)}var i=Pn(e);return i&&t++,i})&&t>1}(e)||function(e){if(!I(e,[`radial-gradient`,`repeating-radial-gradient`]))return!1;var t=0;return yn(e).every(function(e,n){if(n===0){var r=e.length,i=F(e[0],Vn),a=$t(e[0]),o=F(e[0],Hn);if(r===1&&(i||a||o))return!0;var s=Un({nodes:e.slice(2)});if(Wn(e[0])&&s)return!0;var c=e[0].value===zn,l=e[2]&&F(e[2],Hn),u=e[2]&&F(e[2],Vn);if(r===3&&(c&&$t(e[2])||a&&e[2].value===zn||o&&u||i&&l))return!0;var d=e[0].value===Bn,f=B(e[0]),p=e[2]&&B(e[2]),m=e[4]&&B(e[4]),h=Un({nodes:e.slice(4)}),g=Un({nodes:e.slice(6)}),_=Un({nodes:e.slice(8)});if(r===5&&(d&&p&&m||f&&p&&e[4].value===Bn)||r>3&&(i&&Wn(e[2])&&h||o&&Wn(e[2])&&h||a&&Wn(e[2])&&h||f&&p&&Wn(e[4])&&g||c&&$t(e[2])&&Wn(e[4])&&g||i&&l&&Wn(e[4])&&g||o&&u&&Wn(e[4])&&g||d&&p&&m&&Wn(e[6])&&_||f&&p&&e[4].value===Bn&&Wn(e[6])&&_))return!0}var v=Pn(e);return v&&t++,v})&&t>1}(e)}(e)}var Kn=[`cover`,`contain`],qn=`auto`;function Jn(e){return F(e,qn)||B(e)||L(e)}function Yn(e){var t=e.length;return!(!(t&&t<4)||!Jn(e[0])||e[2]&&!Jn(e[2]))}var Xn=[`xx-small`,`x-small`,`small`,`medium`,`large`,`x-large`,`xx-large`],Zn=[`larger`,`smaller`],Qn=function(e){var t=(0,P.unit)(e.value);return t&&!(0,Pt.default)(t.number,`.`)&&!~t.unit.indexOf(`.`)&&t.unit===`fr`&&!(t.number<0)},$n=[`min-content`,`max-content`,`auto`],er=[].concat(/* @__PURE__ */ `disc.circle.square.decimal.cjk-decimal.decimal-leading-zero.lower-roman.upper-roman.lower-greek.lower-alpha.lower-latin.upper-alpha.upper-latin.arabic-indic.-moz-arabic-indic.armenian.bengali.-moz-bengali.cambodian.cjk-earthly-branch.-moz-cjk-earthly-branch.cjk-heavenly-stem.-moz-cjk-heavenly-stem.cjk-ideographic.devanagari.-moz-devanagari.ethiopic-numeric.georgian.gujarati.-moz-gujarati.gurmukhi.-moz-gurmukhi.hebrew.hiragana.hiragana-iroha.japanese-formal.japanese-informal.kannada.-moz-kannada.katakana.katakana-iroha.khmer.-moz-khmer.korean-hangul-formal.korean-hanja-formal.korean-hanja-informal.lao.-moz-lao.lower-armenian.malayalam.-moz-malayalam.mongolian.myanmar.-moz-myanmar.oriya.-moz-oriya.persian.-moz-persian.simp-chinese-formal.simp-chinese-informal.tamil.-moz-tamil.telugu.-moz-telugu.thai.-moz-thai.tibetan.trad-chinese-formal.trad-chinese-informal.upper-armenian.disclosure-open.disclosure-closed`.split(`.`),[`-moz-ethiopic-halehame`,`-moz-ethiopic-halehame-am`,`ethiopic-halehame-ti-er`,`-moz-ethiopic-halehame-ti-er`,`ethiopic-halehame-ti-et`,`-moz-ethiopic-halehame-ti-et`,`hangul`,`-moz-hangul`,`hangul-consonant`,`-moz-hangul-consonant`,`urdu`,`-moz-urdu`]),tr=[`cyclic`,`numeric`,`alphabetic`,`symbolic`,`fixed`],nr=[`add`,`subtract`,`intersect`,`exclude`],rr=[`alpha`,`luminance`,`match-source`],ir=[`margin-box`,`fill-box`,`stroke-box`,`view-box`],ar=[`content`,`padding`,`border`];function or(e){var t=!1,n=0,r=!1,i=!1,a=!0;return(0,P.walk)(e,function(e,o){var s=o%2==0;if(s){if($t(e)){if(o||(i=!0),n&&t&&i)return a=!1,!1;++n>3&&(a=!1)}else Ht(e)?t?a=!1:t=!0:L(e)?r=!0:a=!1}else s||Gt(e)||(a=!1);return!1}),!(!r&&n<2||e.length>7)&&a}var sr=`matrix`,cr=`matrix3d`;function lr(e,t){return function(n){if(!I(n,e)||n.nodes.length>3)return!1;var r=!0;return(0,P.walk)(n.nodes,function(e,n){var i=n%2==0;return(i&&!t(e)||!i&&!z(e))&&(r=!1),!1}),!z(n.nodes[n.nodes.length-1])&&r}}var ur=lr(`translate`,B),dr=lr(`scale`,zt),fr=lr(`skew`,qt);function pr(e,t){return function(n){return!!I(n,e)&&n.nodes.length===1&&t(n.nodes[0])}}var mr=pr([`translateX`,`translateY`],B),hr=pr([`scaleX`,`scaleY`,`scaleZ`],zt),gr=pr([`rotate`,`skewX`,`skewY`,`rotateX`,`rotateY`,`rotateZ`],qt),_r=pr([`perspective`,`translateZ`],$t),vr=[`scroll-position`,`contents`],yr=R([`auto`,`none`,`scrollbar`,`-ms-autohiding-scrollbar`]),br=R(/* @__PURE__ */ `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`.split(`.`)),xr=function(e){if(e.nodes.length===1){var t=e.nodes[0];return Lt(t)||F(t,`none`)}return!1},Sr=R([`border-box`,`content-box`,`margin-box`,`padding-box`]),Cr=function(e){return e.nodes.length===1&&Rt(e.nodes[0])},wr=R([`inline`,`block`,`horizontal`,`vertical`]),Tr=R([`ignore`,`stretch-to-fit`]),Er=R([`none`,`blink`]),Dr=R([`ignore`,`normal`,`select-after`,`select-before`,`select-menu`,`select-same`,`select-all`,`none`]),Or=R([`none`,`enabled`,`disabled`]),kr=R([`read-only`,`read-write`,`write-only`]),Ar=R([`default`,`menu`,`tooltip`,`sheet`,`none`]),jr=function(e){return e.nodes.length===1&&Ht(e.nodes[0])},Mr=function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!Wt(e)&&!L(e)||!r&&!Gt(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0&&e.nodes.length<=7},Nr=function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!tn(e)&&!L(e)||!r&&!Gt(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0&&e.nodes.length<=7},Pr=function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!function(e){return F(e,nn)}(e)&&!L(e)||!r&&!z(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},Fr=function(e){var t=[],n=!0;return e.nodes[e.nodes.length-1].type!==`div`&&(e.walk(function(e){if(F(e,rn)){if(t.length)return n=!1,!1;t.push(e)}else if(F(e,an)||L(e)){if(t.some(function(e){return F(e,rn)})||t.length===2)return n=!1,!1;t.push(e)}else{if(z(e))return t=[],!1;Gt(e)||(n=!1)}return!1}),n)},Ir=R([`repeat`,`no-repeat`,`space`,`round`]),Lr=function(e){return e.nodes.length===1&&$t(e.nodes[0])},Rr=R([`default`,`none`]),zr=R([`flex-start`,`flex-end`,`center`,`space-between`,`space-around`,`stretch`]),Br=R([`flex-start`,`flex-end`,`center`,`space-between`,`space-around`,`stretch`,`start`,`end`,`justify`,`distribute`]),Vr=R([`flex-start`,`flex-end`,`center`,`baseline`,`stretch`,`start`,`end`]),Hr=R([`flex-start`,`flex-end`,`center`,`baseline`,`stretch`]),Ur=R([`auto`,`flex-start`,`flex-end`,`center`,`baseline`,`stretch`]),Wr=R([`auto`,`flex-start`,`flex-end`,`center`,`baseline`,`stretch`,`start`,`end`]),Gr=R([`initial`,`inherit`,`unset`]),Kr=function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!Yt(e)&&!L(e)||!r&&!z(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},qr=function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!function(e){return function(e){return F(e,fn)}(e)||function(e){if(!I(e,`steps`)||!Rt(e.nodes[0]))return!1;var t=e.nodes[1],n=e.nodes[2];return!(t&&!z(t))&&(!n||F(n,pn))}(e)||function(e){if(!I(e,`cubic-bezier`))return!1;var t=!0;return(0,P.walk)(e.nodes,function(e,n){var r=n%2==0;return(!r||(n!==0&&n!==4||function(e){var t=e.value;return e.type===`word`&&t>=0&&t<=1}(e))&&(n!==2&&n!==6||zt(e)))&&(r||z(e))||(t=!1),!1}),t&&e.nodes.length===7}(e)}(e)&&!L(e)||!r&&!z(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},Jr=R([`auto`,`none`]),Yr=function(e){return!!function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return!r||function(e){return function(e){if(!I(e,`blur`))return!1;var t=e.nodes;return t.length===1&&$t(t[0])}(e)||function(e){if(!I(e,`drop-shadow`))return!1;var t=!0;return(0,P.walk)(e.nodes,function(e,n){var r=n%2==0;return r&&n<=2&&!$t(e)?(t=!1,!1):!r||n!==4||$t(e)||Ht(e)?r&&n===6&&!Ht(e)?(t=!1,!1):r||Gt(e)?void 0:(t=!1,!1):(t=!1,!1)}),t&&e.nodes.length<=7}(e)||function(e){if(!I(e,`hue-rotate`))return!1;var t=e.nodes;return t.length===1&&qt(t[0])}(e)||function(e){if(!I(e,mn))return!1;var t=e.nodes;return t.length===1&&(zt(t[0])||Bt(t[0]))}(e)}(e)||L(e)||(t=!1),r||Gt(e)||(t=!1),!1}),t}(e)||e.nodes.length===1&&F(e.nodes[0],`none`)},Xr=R([`visible`,`hidden`]),Zr=function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!vn(e)&&!L(e)||!r&&!z(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},Qr=An(!0),$r=function(e){return!(e.nodes.length!==1||!F(e.nodes[0],Kn))||yn(e).every(Yn)},ei=function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!B(e)&&!L(e)||!r&&!Gt(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0&&e.nodes.length<=3},ti=function(e){return e.nodes.length===1&&Wt(e.nodes[0])},ni=function(e){return e.nodes.length===1&&tn(e.nodes[0])},ri=R([`collapse`,`separate`]),V=function(e){if(e.nodes.length===1){var t=e.nodes[0];return B(t)||F(t,`auto`)}return!1},ii=R([`start`,`center`,`end`,`baseline`,`stretch`]),ai=R([`slice`,`clone`]),oi=R([`normal`,`reverse`,`inherit`]),si=function(e){return e.nodes.length===1&&zt(e.nodes[0])},ci=R([`single`,`multiple`]),li=R([`horizontal`,`vertical`,`inline-axis`,`block-axis`,`inherit`]),ui=R([`start`,`center`,`end`,`justify`]),di=R([`content-box`,`border-box`]),fi=R([`show`,`discard`,`hide`]),pi=R([`auto`,`always`,`avoid`,`left`,`right`]),mi=R([`auto`,`avoid`,`avoid-page`,`avoid-column`,`avoid-region`]),hi=R([`top`,`bottom`,`block-start`,`block-end`,`inline-start`,`inline-end`]),gi=R([`none`,`left`,`right`,`both`,`inline-start`,`inline-end`]),_i=function(e){if(e.nodes.length===1){var t=e.nodes[0];return zt(t)||F(t,`auto`)}return!1},vi=R([`auto`,`balance`]),yi=function(e){if(e.nodes.length===1){var t=e.nodes[0];return $t(t)||F(t,`normal`)}return!1},bi=R([`none`,`all`]),xi=function(e){if(e.nodes.length===1){var t=e.nodes[0];return $t(t)||F(t,`auto`)}return!1},Si=R([`ltr`,`rtl`]),Ci=R(/* @__PURE__ */ `none.inline.block.list-item.inline-list-item.inline-block.inline-table.table.table-cell.table-column.table-column-group.table-footer-group.table-header-group.table-row.table-row-group.flex.inline-flex.grid.inline-grid.run-in.ruby.ruby-base.ruby-text.ruby-base-container.ruby-text-container.contents.-webkit-box.-webkit-flex.-moz-box.-ms-flexbox.-webkit-inline-box.-webkit-inline-flex.-moz-inline-box.-ms-inline-flexbox.-ms-grid.-ms-inline-grid`.split(`.`)),wi=R([`auto`,`block`,`table`,`flex`,`grid`,`ruby`]),Ti=R([`none`,`list-item`]),Ei=R([`block-level`,`inline-level`,`run-in`,`contents`,`none`,`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`]),Di=R([`show`,`hide`]),Oi=R([`row`,`row-reverse`,`column`,`column-reverse`,`horizontal`,`vertical`]),ki=R([`row`,`row-reverse`,`column`,`column-reverse`,`normal`,`reverse`]),Ai=R([`row`,`row-reverse`,`column`,`column-reverse`]),ji=R([`nowrap`,`wrap`,`wrap-reverse`]),Mi=R([`left`,`right`,`none`,`inline-start`,`inline-end`]),Ni=R([`auto`,`normal`,`none`]),Pi=function(e){if(e.nodes.length===1){var t=e.nodes[0];return Mn(t)||F(t,`normal`)}return!1},Fi=R([`normal`,`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`]),Ii=R([`normal`,`italic`,`oblique`]),Li=R([`normal`,`small-caps`,`all-small-caps`,`petite-caps`,`all-petite-caps`,`unicase`,`titling-caps`]),Ri=R([`normal`,`sub`,`super`]),zi=R([`normal`,`bold`,`bolder`,`lighter`,`100`,`200`,`300`,`400`,`500`,`600`,`700`,`800`,`900`]),Bi=function(e){return e.nodes.length===1&&(function(e){if(I(e,`minmax`)&&e.nodes.length===3){var t=e.nodes[0],n=e.nodes[1],r=e.nodes[2];return!(!F(t,$n)&&!B(t)||!z(n)||!(F(r,$n)||B(r)||Qn(r)))}return!1}(t=e.nodes[0])||Qn(t)||B(t)||F(t,$n));var t},Vi=function(e){return e.nodes.length===1&&B(e.nodes[0])},Hi=R([`none`,`manual`,`auto`]),Ui=R([`auto`,`crisp-edges`,`pixelated`,`-webkit-optimize-contrast`,`-moz-crisp-edges`,`-o-pixelated`]),Wi=R([`auto`,`crisp-edges`,`pixelated`,`nearest-neighbor`]),Gi=R([`auto`,`normal`,`active`,`inactive`,`disabled`]),Ki=R([`auto`,`alphabetic`,`hanging`,`ideographic`]),qi=R([`auto`,`isolate`]),Ji=R([`flex-start`,`flex-end`,`center`,`space-between`,`space-around`,`start`,`end`,`justify`]),Yi=R([`flex-start`,`flex-end`,`center`,`space-between`,`space-around`]),Xi=R([`flex-start`,`flex-end`,`center`,`space-between`,`space-around`,`start`,`end`,`justify`,`distribute`]),Zi=R([`auto`,`loose`,`normal`,`strict`]),Qi=R([`inside`,`outside`]),$i=R([`luminance`,`alpha`]),ea=[`none`,`max-content`,`min-content`,`fit-content`,`fill-available`,`-webkit-max-content`,`-moz-max-content`,`-webkit-min-content`,`-moz-min-content`,`-webkit-fit-content`,`-moz-fit-content`,`-webkit-fill-available`,`-moz-available`],ta=function(e){if(e.nodes.length===1){var t=e.nodes[0];return B(t)||F(t,ea)}return!1},na=R([`fill`,`contain`,`cover`,`none`,`scale-down`]),ra=An(!1),ia=R([`visible`,`hidden`,`scroll`,`auto`]),aa=R([`padding-box`,`content-box`]),oa=R([`normal`,`break-word`]),sa=function(e){if(e.nodes.length===1){var t=e.nodes[0];return $t(t)||F(t,`none`)}return!1},ca=R([`auto`,`none`,`visiblePainted`,`visibleFill`,`visibleStroke`,`visible`,`painted`,`fill`,`stroke`,`all`,`inherit`]),la=R([`static`,`relative`,`absolute`,`sticky`,`fixed`,`-webkit-sticky`]),ua=R([`none`,`both`,`horizontal`,`vertical`]),da=R([`start`,`center`,`space-between`,`space-around`]),fa=R([`separate`,`collapse`,`auto`]),pa=R([`over`,`under`,`inter-character`]),ma=R([`auto`,`smooth`]),ha=function(e){return!!An(!0)(e)||e.nodes.length===1&&F(e.nodes[0],`none`)},ga=R([`none`,`mandatory`,`proximity`]),_a=R([`auto`,`fixed`]),va=R([`start`,`end`,`left`,`right`,`center`,`justify`,`match-parent`]),ya=R([`auto`,`start`,`end`,`left`,`right`,`center`,`justify`]),ba=R([`solid`,`double`,`dotted`,`dashed`,`wavy`]),xa=R([`mixed`,`upright`,`sideways`]),Sa=R([`auto`,`optimizeSpeed`,`optimizeLegibility`,`geometricPrecision`]),Ca=[`none`,`auto`],wa=function(e){if(e.nodes.length===1){var t=e.nodes[0];return Bt(t)||F(t,Ca)}return!1},Ta=R([`none`,`capitalize`,`uppercase`,`lowercase`,`full-width`]),Ea=function(e){return!!function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!function(e){return function(e){if(!I(e,[sr,cr])||e.value===sr&&e.nodes.length!==11||e.value===cr&&e.nodes.length!==31)return!1;var t=!0;return(0,P.walk)(e.nodes,function(e,n){var r=n%2==0;return(r&&!zt(e)||!r&&!z(e))&&(t=!1),!1}),t}(e)||function(e){if(!I(e,`rotate3d`))return!1;var t=e.nodes;return t.length===7&&zt(t[0])&&z(t[1])&&zt(t[2])&&z(t[3])&&zt(t[4])&&z(t[5])&&qt(t[6])}(e)||dr(e)||function(e){if(!I(e,`scale3d`))return!1;var t=e.nodes;return t.length===5&&zt(t[0])&&z(t[1])&&zt(t[2])&&z(t[3])&&zt(t[4])}(e)||fr(e)||gr(e)||_r(e)||mr(e)||hr(e)||ur(e)||function(e){if(!I(e,`translate3d`))return!1;var t=e.nodes;return t.length===5&&B(t[0])&&z(t[1])&&B(t[2])&&z(t[3])&&$t(t[4])}(e)||L(e)}(e)||!r&&!Gt(e))&&(t=!1),!1}),t}(e)||e.nodes.length===1&&F(e.nodes[0],`none`)},Da=R([`border-box`,`fill-box`,`view-box`]),Oa=R([`flat`,`preserve-3d`]),ka=R([`normal`,`embed`,`isolate`,`bidi-override`,`isolate-override`,`plaintext`]),Aa=R([`auto`,`text`,`none`,`contain`,`all`]),ja=[`baseline`,`sub`,`super`,`text-top`,`text-bottom`,`middle`,`top`,`bottom`],Ma=R([`visible`,`hidden`,`collapse`]),Na=R([`normal`,`pre`,`nowrap`,`pre-wrap`,`pre-line`]),Pa=R([`normal`,`break-all`,`keep-all`]),Fa=R([`horizontal-tb`,`vertical-rl`,`vertical-lr`,`sideways-rl`,`sideways-lr`]),Ia={"-moz-appearance":br,"-moz-backface-visibility":Xr,"-moz-binding":xr,"-moz-box-align":Vr,"-moz-box-direction":ki,"-moz-box-orient":Oi,"-moz-box-pack":Ji,"-moz-box-sizing":di,"-moz-column-count":_i,"-moz-column-fill":vi,"-moz-column-gap":yi,"-moz-column-span":bi,"-moz-column-width":xi,"-moz-float-edge":Sr,"-moz-font-kerning":Ni,"-moz-font-language-override":Pi,"-moz-force-broken-image-icon":Cr,"-moz-hyphens":Hi,"-moz-margin-end":V,"-moz-margin-start":V,"-moz-orient":wr,"-moz-perspective":sa,"-moz-stack-sizing":Tr,"-moz-text-align-last":ya,"-moz-text-blink":Er,"-moz-text-decoration-style":ba,"-moz-text-size-adjust":wa,"-moz-transform":Ea,"-moz-transform-style":Oa,"-moz-user-focus":Dr,"-moz-user-input":Or,"-moz-user-modify":kr,"-moz-user-select":Aa,"-moz-window-shadow":Ar,"-ms-flex-align":Vr,"-ms-flex-direction":Ai,"-ms-flex-item-align":Wr,"-ms-flex-line-pack":Br,"-ms-flex-pack":Xi,"-ms-flex-wrap":ji,"-ms-grid-row-align":Hr,"-ms-hyphens":Hi,"-ms-interpolation-mode":Wi,"-ms-overflow-style":yr,"-ms-scroll-snap-coordinate":ha,"-ms-scroll-snap-type":ga,"-ms-text-size-adjust":wa,"-ms-transform":Ea,"-ms-user-select":Aa,"-ms-writing-mode":R([`horizontal-tb`,`vertical-rl`,`vertical-lr`,`sideways-rl`,`sideways-lr`,`lr-tb`,`tb-rl`,`tb-lr`]),"-o-object-fit":na,"-o-transform":Ea,"-webkit-align-content":zr,"-webkit-align-items":Hr,"-webkit-align-self":Ur,"-webkit-appearance":Jr,"-webkit-backdrop-filter":Yr,"-webkit-backface-visibility":Xr,"-webkit-border-before-color":jr,"-webkit-border-before-style":Mr,"-webkit-border-before-width":Nr,"-webkit-box-align":Vr,"-webkit-box-decoration-break":ai,"-webkit-box-direction":ki,"-webkit-box-orient":Oi,"-webkit-box-pack":Ji,"-webkit-box-sizing":di,"-webkit-column-break-inside":mi,"-webkit-column-count":_i,"-webkit-column-fill":vi,"-webkit-column-gap":yi,"-webkit-column-span":bi,"-webkit-column-width":xi,"-webkit-filter":Yr,"-webkit-flex-direction":Ai,"-webkit-flex-wrap":ji,"-webkit-font-kerning":Ni,"-webkit-font-language-override":Pi,"-webkit-hyphens":Hi,"-webkit-justify-content":Yi,"-webkit-margin-after":V,"-webkit-margin-before":V,"-webkit-margin-end":V,"-webkit-margin-start":V,"-webkit-mask-attachment":Pr,"-webkit-mask-repeat":Fr,"-webkit-mask-repeat-x":Ir,"-webkit-mask-repeat-y":Ir,"-webkit-perspective":sa,"-webkit-scroll-snap-coordinate":ha,"-webkit-scroll-snap-type":ga,"-webkit-tap-highlight-color":function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!Ht(e)&&!L(e)||!r&&!z(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},"-webkit-text-decoration-style":ba,"-webkit-text-fill-color":jr,"-webkit-text-size-adjust":wa,"-webkit-text-stroke-color":jr,"-webkit-text-stroke-width":Lr,"-webkit-touch-callout":Rr,"-webkit-transform":Ea,"-webkit-transform-style":Oa,"-webkit-user-select":Aa,"-webkit-writing-mode":Fa,"align-content":zr,"align-items":Hr,"align-self":Ur,all:Gr,"animation-delay":Kr,"animation-direction":function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!function(e){return F(e,on)}(e)&&!L(e)||!r&&!z(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},"animation-duration":Kr,"animation-fill-mode":function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!function(e){return F(e,sn)}(e)&&!L(e)||!r&&!z(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},"animation-iteration-count":function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!function(e){return F(e,cn)||zt(e)}(e)&&!L(e)||!r&&!z(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},"animation-name":function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!function(e){return F(e,`none`)||un(e)}(e)&&!L(e)||!r&&!z(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},"animation-play-state":function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!function(e){return F(e,dn)}(e)&&!L(e)||!r&&!z(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},"animation-timing-function":qr,appearance:Jr,"backdrop-filter":Yr,"backface-visibility":Xr,"background-attachment":Pr,"background-blend-mode":function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!gn(e)&&!L(e)||!r&&!z(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},"background-clip":Zr,"background-color":jr,"background-image":function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!function(e){return Gn(e)||F(e,`none`)}(e)&&!L(e)||!r&&!z(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},"background-origin":Zr,"background-position":Qr,"background-repeat":Fr,"background-size":$r,"border-block-end-color":jr,"border-block-end-style":Mr,"border-block-end-width":Nr,"border-block-start-color":jr,"border-block-start-style":Mr,"border-block-start-width":Nr,"border-bottom-color":jr,"border-bottom-left-radius":ei,"border-bottom-right-radius":ei,"border-bottom-style":ti,"border-bottom-width":ni,"border-collapse":ri,"border-color":function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!Ht(e)&&!L(e)||!r&&!Gt(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0&&e.nodes.length<=7},"border-image-source":function(e){if(e.nodes.length===1){var t=e.nodes[0];return Gn(t)||F(t,`none`)}return!1},"border-inline-end-color":jr,"border-inline-end-style":Mr,"border-inline-end-width":Nr,"border-inline-start-color":jr,"border-inline-start-style":Mr,"border-inline-start-width":Nr,"border-left-color":jr,"border-left-style":ti,"border-left-width":ni,"border-right-color":jr,"border-right-style":ti,"border-right-width":ni,"border-style":Mr,"border-top-color":jr,"border-top-left-radius":ei,"border-top-right-radius":ei,"border-top-style":ti,"border-top-width":ni,"border-width":Nr,bottom:V,"box-align":ii,"box-decoration-break":ai,"box-direction":oi,"box-flex":si,"box-flex-group":Cr,"box-lines":ci,"box-ordinal-group":Cr,"box-orient":li,"box-pack":ui,"box-sizing":di,"box-suppress":fi,"break-inside":mi,"caption-side":hi,clear:gi,color:jr,"column-count":_i,"column-fill":vi,"column-gap":yi,"column-rule-color":jr,"column-rule-style":ti,"column-rule-width":ni,"column-span":bi,"column-width":xi,direction:Si,display:Ci,"display-inside":wi,"display-list":Ti,"display-outside":Ei,"empty-cells":Di,filter:Yr,"flex-direction":Ai,"flex-grow":si,"flex-shrink":si,"flex-wrap":ji,float:Mi,"font-kerning":Ni,"font-language-override":Pi,"font-size":function(e){if(e.nodes.length===1){var t=e.nodes[0];return function(e){return F(e,Xn)}(t)||function(e){return F(e,Zn)}(t)||B(t)}return!1},"font-size-adjust":function(e){if(e.nodes.length===1){var t=e.nodes[0];return zt(t)||F(t,`none`)}return!1},"font-stretch":Fi,"font-style":Ii,"font-variant-caps":Li,"font-variant-position":Ri,"font-weight":zi,"grid-auto-columns":Bi,"grid-auto-rows":Bi,"grid-column-gap":Vi,"grid-row-gap":Vi,"grid-template-areas":function(e){if(e.nodes.length===1&&F(e.nodes[0],`none`))return!0;var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!Mn(e)&&!L(e)||!r&&!Gt(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},hyphens:Hi,"image-rendering":Ui,"ime-mode":Gi,"initial-letter-align":Ki,isolation:qi,"justify-content":Yi,left:V,"letter-spacing":function(e){if(e.nodes.length===1){var t=e.nodes[0];return $t(t)||F(t,`normal`)}return!1},"line-break":Zi,"line-height":function(e){if(e.nodes.length===1){var t=e.nodes[0];return zt(t)||B(t)||F(t,`normal`)}return!1},"list-style-image":xr,"list-style-position":Qi,"list-style-type":function(e){if(e.nodes.length===1){var t=e.nodes[0];return function(e){return un(e)||F(e,er)||function(e){if(!I(e,`symbols`))return!1;var t=!0;return(0,P.walk)(e.nodes,function(e,n){var r=n%2==0;return(r&&(n===0&&!F(e,tr)&&!Mn(e)&&!Gn(e)||n>1&&!Mn(e)&&!Gn(e))||!r&&!Gt(e))&&(t=!1),!1}),t}(e)}(t)||Mn(t)||F(t,`none`)}return!1},"margin-block-end":V,"margin-block-start":V,"margin-bottom":V,"margin-inline-end":V,"margin-inline-start":V,"margin-left":V,"margin-right":V,"margin-top":V,"marker-offset":xi,"mask-composite":function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!function(e){return F(e,nr)}(e)&&!L(e)||!r&&!z(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},"mask-mode":function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!function(e){return F(e,rr)}(e)&&!L(e)||!r&&!z(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},"mask-origin":function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!function(e){return vn(e)||F(e,ir)||F(e,ar)}(e)&&!L(e)||!r&&!z(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},"mask-position":Qr,"mask-repeat":Fr,"mask-size":$r,"mask-type":$i,"max-block-size":ta,"max-height":ta,"max-inline-size":ta,"max-width":ta,"min-block-size":ta,"min-height":ta,"min-inline-size":ta,"min-width":ta,"mix-blend-mode":function(e){return e.nodes.length===1&&gn(e.nodes[0])},"motion-offset":Vi,"object-fit":na,"object-position":ra,"offset-block-end":V,"offset-block-start":V,"offset-inline-end":V,"offset-inline-start":V,opacity:si,order:Cr,orphans:Cr,"outline-color":function(e){if(e.nodes.length===1){var t=e.nodes[0];return Ht(t)||F(t,`invert`)}return!1},"outline-offset":Lr,"outline-style":function(e){if(e.nodes.length===1){var t=e.nodes[0];return Wt(t)||F(t,`auto`)}return!1},"outline-width":ni,overflow:ia,"overflow-clip-box":aa,"overflow-wrap":oa,"overflow-x":ia,"overflow-y":ia,"padding-block-end":Vi,"padding-block-start":Vi,"padding-bottom":Vi,"padding-inline-end":Vi,"padding-inline-start":Vi,"padding-left":Vi,"padding-right":Vi,"padding-top":Vi,"page-break-after":pi,"page-break-before":pi,"page-break-inside":mi,perspective:sa,"perspective-origin":ra,"pointer-events":ca,position:la,resize:ua,right:V,"ruby-align":da,"ruby-merge":fa,"ruby-position":pa,"scroll-behavior":ma,"scroll-snap-coordinate":ha,"scroll-snap-destination":ra,"scroll-snap-type":ga,"scroll-snap-type-x":ga,"scroll-snap-type-y":ga,"shape-image-threshold":si,"shape-margin":Vi,"tab-size":function(e){if(e.nodes.length===1){var t=e.nodes[0];return Rt(t)||$t(t)}return!1},"table-layout":_a,"text-align":va,"text-align-last":ya,"text-decoration-color":jr,"text-decoration-style":ba,"text-emphasis-color":jr,"text-orientation":xa,"text-rendering":Sa,"text-shadow":function(e){return!!function(e){return yn(e).every(or)}(e)||e.nodes.length===1&&F(e.nodes[0],`none`)},"text-size-adjust":wa,"text-transform":Ta,top:V,transform:Ea,"transform-box":Da,"transform-style":Oa,"transition-delay":Kr,"transition-duration":Kr,"transition-timing-function":qr,"unicode-bidi":ka,"user-select":Aa,"vertical-align":function(e){if(e.nodes.length===1){var t=e.nodes[0];return B(t)||F(t,ja)}return!1},visibility:Ma,"white-space":Na,widows:Cr,"will-change":function(e){if(e.nodes.length===1&&F(e.nodes[0],`auto`))return!0;var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!function(e){return F(e,vr)||un(e)}(e)&&!L(e)||!r&&!z(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},"word-break":Pa,"word-spacing":function(e){if(e.nodes.length===1){var t=e.nodes[0];return B(t)||F(t,`normal`)}return!1},"word-wrap":oa,"writing-mode":Fa,"z-index":function(e){if(e.nodes.length===1){var t=e.nodes[0];return Rt(t)||F(t,`auto`)}return!1}},La=[`inherit`,`initial`,`revert`,`unset`];const Ra=/^(?:@|\$|--).+$/,za=/^-?(?:@.+|(?:(?:[a-zA-Z_-]|[^\x20-\x7F])+(?:[a-zA-Z0-9_-]|[^\x20-\x7F])*\.)?\$.+|var\(\s*--[\s\S]+\))$/,Ba=/^(?!var\(\s*--)[\s\S]+\([\s\S]*\)$/,Va=/^\/(.*)\/([a-zA-Z]*)$/,Ha=/color/,Ua=e=>Va.test(e),Wa=e=>{let[t,n]=(e=>e.match(Va).slice(1))(e);return new RegExp(t,n)},Ga=e=>Ua(`${e}`)?Wa(`${e}`):RegExp(`^${(0,et.default)(`${e}`)}$`),Ka=e=>{let t=[];if(e!=null&&e.parent){let{parent:n}=e;(function(e){return!!e&&typeof e==`object`&&`type`in e&&e.type===`atrule`})(n)&&t.push(`@${n.name.trim()}${n.params?` ${n.params.trim()}`:``}`),function(e){return!!e&&typeof e==`object`&&`type`in e&&e.type===`root`}(n)||t.push(...Ka(n))}return t};function qa(e){let t=typeof e;return t===`string`||t===`number`}function Ja(e){return qa(e)||Array.isArray(e)&&e.every(e=>qa(e))}function Ya(e){return!(typeof e!=`object`||!e)&&Object.keys(e).every(t=>Ja(e[t]))}function Xa(e){return!(typeof e!=`object`||!e)&&Object.keys(e).every(t=>typeof e[t]==`boolean`)}function Za(e){if(typeof e!=`object`)return!1;let t=Object.keys(ft);return!(!Object.keys(e).every(e=>t.indexOf(e)>-1)||`ignoreVariables`in e&&typeof e.ignoreVariables!=`boolean`&&!Xa(e.ignoreVariables)&&e.ignoreVariables!==null||`ignoreFunctions`in e&&typeof e.ignoreFunctions!=`boolean`&&!Xa(e.ignoreFunctions)&&e.ignoreFunctions!==null||`severity`in e&&typeof e.severity!=`string`&&e.severity!==null||`ignoreKeywords`in e&&!Ja(e.ignoreKeywords)&&!Ya(e.ignoreKeywords)||`ignoreValues`in e&&!Ja(e.ignoreValues)&&!Ya(e.ignoreValues)||`ignoreAtRules`in e&&!Ja(e.ignoreAtRules)&&!function(e){return!(typeof e!=`object`||!e)&&Object.keys(e).every(t=>typeof e[t]==`boolean`||Ja(e[t]))}(e.ignoreAtRules)||`expandShorthand`in e&&typeof e.expandShorthand!=`boolean`&&e.expandShorthand!==null||`recurseLonghand`in e&&typeof e.recurseLonghand!=`boolean`&&e.recurseLonghand!==null||`message`in e&&typeof e.message!=`string`&&e.message!==null||`disableFix`in e&&typeof e.disableFix!=`boolean`&&e.disableFix!==null||`autoFixFunc`in e&&typeof e.autoFixFunc!=`function`&&typeof e.autoFixFunc!=`string`&&e.autoFixFunc!==null)}function Qa(e){let t;if(Array.isArray(e)){let n=e.pop();t=e.length?`${e.join(`, `)} or ${n}`:n}else t=e;return t}function $a(e,t){return typeof e==`boolean`?e:typeof e==`object`&&e&&{}.hasOwnProperty.call(e,t)?e[t]:!!e}function eo(e,t){if(!e)return null;let n=e;return dt(n,t)?n=n[t]:dt(n,``)&&(n=n[``]),Array.isArray(n)?n:[n]}function to(e,t){if(!e)return null;let n=e;return dt(n,t)?n=n[t]:dt(n,``)&&(n=n[``]),Array.isArray(n)?n:[n]}const{utils:no}=t,ro={url:`https://github.com/AndyOGo/stylelint-declaration-strict-value/blob/master/README.md`,fixable:!0},io=no.ruleMessages(ut,{expected:function(e,t,n){return`Expected ${e} for "${t}" of "${n}"`},customExpected:function(e,t,n,r){return r.replace("${types}",e).replace("${value}",t).replace("${property}",n)}}),ao=(t,n)=>(i,a)=>{if(a&&a.stylelint&&a.stylelint.customMessages&&a.stylelint.customMessages[`scale-unlimited/declaration-strict-value`]&&delete a.stylelint.customMessages[`scale-unlimited/declaration-strict-value`],!no.validateOptions(a,`scale-unlimited/declaration-strict-value`,{actual:t,possible:Ja},{actual:n,possible:Za,optional:!0}))return;Array.isArray(t)||(t=[t]);let o=tt({},ft,n),{ignoreVariables:s,ignoreFunctions:c,ignoreKeywords:l,ignoreValues:u,ignoreAtRules:d,message:f,disableFix:p,autoFixFunc:m,expandShorthand:h,recurseLonghand:g}=o,_=function(t){if(typeof t==`function`)return t;if(typeof t==`string`){let n=e(import.meta.url),i;try{i=n.resolve(t)}catch{i=n.resolve(r.join(process.cwd(),t))}return n(i)}return null}(m),v=l?{}:null,y=u?{}:null,b;if(s){let e=[];i.walkAtRules(`value`,t=>{let{params:n}=t,r=n.split(`:`)[0].trim();e.push(r)}),b=RegExp(`^-?(:?${e.join(`|`)})$`)}t.forEach(e=>{let t=e;function n(t,n,r,m=!1){let{value:h,prop:g}=t,x=r||h;if(d){let e=function(e,t,n){if(!e)return null;let r=e;if((e=>!!e&&typeof e==`object`&&!Array.isArray(e))(r)){let e=r;r=Object.keys(e).reduce((r,i)=>{let a=e[i];return(Array.isArray(a)?a:[a]).some(e=>{switch(typeof e){case`boolean`:return e;case`string`:{let r=Ga(e);return r.test(t)||n&&r.test(n)}default:return!1}})&&r.push(i),r},[])}return Array.isArray(r)?r:[r]}(d,g,n);if(e&&e.length){let n=Ka(t);if(n.length&&e.some(e=>{let t=Ga(e);return n.some(e=>t.test(e))}))return!1}}let S=!1,C=!1,w=!1,T=!1;if(s&&$a(s,e)&&(S=za.test(x)||b.test(x)),c&&!S&&$a(c,e)&&(C=Ba.test(x)),m&&(!s||s&&!S)&&(!c||c&&!C)&&!0!==((e,t)=>Ha.test(e)&&t===`transparent`||za.test(t)||Ba.test(t)||function(e,t){typeof t==`string`&&(t=(0,Mt.default)(t));var n=t.nodes[0];return!(t.nodes.length!==1||!F(n,La)&&!L(n))||(Ia[e]?!!Ia[e](t)!=0||{type:`invalid`,message:`"`+t+`" is not a valid value for "`+e+`".`}:{type:`unknown`,message:`"`+e+`" is not a recognised property.`})}(e,t))(n,r))return!1;if(l&&(!S||!C)){let t=v[e];if(!t){let n=eo(l,e);n&&(t=RegExp(`^${n.join(`$|^`)}$`),v[e]=t)}t&&(w=t.test(x))}if(u&&(!S||!C||!w)){let t=y[e];if(!t){let n=to(u,e);n&&(t=n.map(Ga),y[e]=t)}t&&(T=t.filter(e=>e.test(x)).length>0)}if(!(S||C||w||T)){let s=function(e,t){let{ignoreVariables:n,ignoreFunctions:r,ignoreKeywords:i,ignoreValues:a}=e,o=[];return n&&o.push(`variable`),r&&o.push(`function`),i&&eo(i,t)&&o.push(`keyword`),o.indexOf(`keyword`)===-1&&a&&to(a,t)&&o.push(`keyword`),o}(o,e),c=t.source.start,l=t.source.end,u=!p&&_?()=>{try{let e=_(t,{validVar:S,validFunc:C,validKeyword:w,validValue:T,longhandProp:n,longhandValue:r},i,o);e&&(t.value=e)}catch{}}:void 0;return no.report({ruleName:ut,result:a,node:t,start:{line:c.line,column:c.column},end:{line:l.line,column:l.column},message:f?io.customExpected(Qa(s),x,g,f):io.expected(Qa(s),x,g),fix:u}),!0}return!1}Ua(t)&&(t=Wa(t)),i.walkDecls(function(e){let{value:r,prop:i}=e;if(Ra.test(i))return;let a=h&<.isShorthand(i);if(i===t||!a&&t instanceof RegExp&&t.test(i)){let t=it.space(r);if(t.length>1){let r=!1;t.forEach(t=>{r||=n(e,i,t)})}else n(e)}else if(a){let a=lt.expand(i,r,g),o=!1;Object.keys(a).forEach(r=>{let i=a[r];!o&&(r===t||t instanceof RegExp&&t.test(r))&&(o=n(e,r,i,!0))})}})})};ao.primaryOptionArray=!0,ao.ruleName=ut,ao.messages=io,ao.meta=ro;const oo=t.createPlugin(ut,ao);function so(e,t){if(!Array.isArray(e))return co(e,t);for(let n of e){let e=co(n,t);if(e)return e}return!1}function co(e,t){if(!Array.isArray(t))return lo(e,t);for(let n of t){let t=lo(e,n);if(t)return t}return!1}function lo(e,t){let n=t[0],r=t[t.length-1],i=t[t.length-2],a=n===`/`&&(r===`/`||i===`/`&&r===`i`);return a?(a&&r===`i`?new RegExp(t.slice(1,-2),`i`).test(e):new RegExp(t.slice(1,-1)).test(e))?{match:e,pattern:t}:!1:e===t&&{match:e,pattern:t}}const uo={prefix(e){let t=e.match(/^(-\w+-)/);return t?t[0]:``},unprefixed(e){return e.replace(/^-\w+-/,``)}},fo=t.utils.report,po=t.utils.ruleMessages,mo=t.utils.validateOptions,ho=`plugin/declaration-block-no-ignored-properties`,go=po(ho,{rejected:(e,t)=>`Unexpected "${e}" with "${t}"`}),_o=[{property:`display`,value:`inline`,ignoredProperties:[`width`,`min-width`,`max-width`,`height`,`min-height`,`max-height`,`margin`,`margin-top`,`margin-bottom`,`overflow`,`overflow-x`,`overflow-y`,`inline-size`,`min-inline-size`,`max-inline-size`,`block-size`,`min-block-size`,`max-block-size`,`margin-block-start`,`margin-block-end`,`overflow-block`,`overflow-inline`]},{property:`display`,value:`list-item`,ignoredProperties:[`vertical-align`]},{property:`display`,value:`block`,ignoredProperties:[`vertical-align`]},{property:`display`,value:`flex`,ignoredProperties:[`vertical-align`]},{property:`display`,value:`table`,ignoredProperties:[`vertical-align`]},{property:`display`,value:`/^table-(row|row-group|column|column-group|header-group|footer-group|cell)$/`,ignoredProperties:[`margin`,`margin-top`,`margin-right`,`margin-bottom`,`margin-left`,`margin-block-start`,`margin-inline-end`,`margin-block-end`,`margin-inline-start`]},{property:`display`,value:`/^table-(row|row-group|column|column-group|header-group|footer-group)$/`,ignoredProperties:[`padding`,`padding-top`,`padding-right`,`padding-bottom`,`padding-left`,`padding-block-start`,`padding-inline-end`,`padding-block-end`,`padding-inline-start`]},{property:`display`,value:`/^table-(row|row-group|column|column-group|header-group|footer-group|caption)$/`,ignoredProperties:[`vertical-align`]},{property:`display`,value:`/^table-(row|row-group)$/`,ignoredProperties:[`width`,`min-width`,`max-width`,`inline-size`,`min-inline-size`,`max-inline-size`]},{property:`display`,value:`/^table-(column|column-group)$/`,ignoredProperties:[`height`,`min-height`,`max-height`,`block-size`,`min-block-size`,`max-block-size`]},{property:`float`,value:`left`,ignoredProperties:[`vertical-align`]},{property:`float`,value:`right`,ignoredProperties:[`vertical-align`]},{property:`position`,value:`static`,ignoredProperties:[`top`,`right`,`bottom`,`left`,`z-index`,`inset-block-start`,`inset-inline-end`,`inset-block-end`,`inset-inline-start`]},{property:`position`,value:`absolute`,ignoredProperties:[`float`,`clear`,`vertical-align`]},{property:`position`,value:`fixed`,ignoredProperties:[`float`,`clear`,`vertical-align`]},{property:`list-style-type`,value:`none`,ignoredProperties:[`list-style-image`]},{property:`overflow`,value:`visible`,ignoredProperties:[`resize`]}];var vo=t.createPlugin(ho,e=>(t,n)=>{mo(n,`plugin/declaration-block-no-ignored-properties`,{actual:e})&&t.walkRules(e=>{let t={};e.walkDecls(e=>{t[e.prop]=e});function r(e,r){let i=t[e],a=i.value,o=uo.unprefixed(e),s=uo.unprefixed(a);_o.forEach(e=>{let t=so(o.toLowerCase(),e.property),a=so(s.toLowerCase(),e.value);if(!t||!a)return;let c=e.ignoredProperties;i.parent.nodes.forEach((e,t)=>{e.prop&&c.indexOf(e.prop.toLowerCase())!==-1&&r!==t&&fo({message:go.rejected(e.prop,i.toString()),node:e,result:n,ruleName:ho})})})}Object.keys(t).forEach(r)})}),yo=/* @__PURE__ */ p(((e,t)=>{let n=process||{},r=n.argv||[],i=n.env||{},a=!(i.NO_COLOR||r.includes(`--no-color`))&&(!!i.FORCE_COLOR||r.includes(`--color`)||n.platform===`win32`||(n.stdout||{}).isTTY&&i.TERM!==`dumb`||!!i.CI),o=(e,t,n=e)=>r=>{let i=``+r,a=i.indexOf(t,e.length);return~a?e+s(i,t,n,a)+t:e+i+t},s=(e,t,n,r)=>{let i=``,a=0;do i+=e.substring(a,r)+n,a=r+t.length,r=e.indexOf(t,a);while(~r);return i+e.substring(a)},c=(e=a)=>{let t=e?o:()=>String;return{isColorSupported:e,reset:t(`\x1B[0m`,`\x1B[0m`),bold:t(`\x1B[1m`,`\x1B[22m`,`\x1B[22m\x1B[1m`),dim:t(`\x1B[2m`,`\x1B[22m`,`\x1B[22m\x1B[2m`),italic:t(`\x1B[3m`,`\x1B[23m`),underline:t(`\x1B[4m`,`\x1B[24m`),inverse:t(`\x1B[7m`,`\x1B[27m`),hidden:t(`\x1B[8m`,`\x1B[28m`),strikethrough:t(`\x1B[9m`,`\x1B[29m`),black:t(`\x1B[30m`,`\x1B[39m`),red:t(`\x1B[31m`,`\x1B[39m`),green:t(`\x1B[32m`,`\x1B[39m`),yellow:t(`\x1B[33m`,`\x1B[39m`),blue:t(`\x1B[34m`,`\x1B[39m`),magenta:t(`\x1B[35m`,`\x1B[39m`),cyan:t(`\x1B[36m`,`\x1B[39m`),white:t(`\x1B[37m`,`\x1B[39m`),gray:t(`\x1B[90m`,`\x1B[39m`),bgBlack:t(`\x1B[40m`,`\x1B[49m`),bgRed:t(`\x1B[41m`,`\x1B[49m`),bgGreen:t(`\x1B[42m`,`\x1B[49m`),bgYellow:t(`\x1B[43m`,`\x1B[49m`),bgBlue:t(`\x1B[44m`,`\x1B[49m`),bgMagenta:t(`\x1B[45m`,`\x1B[49m`),bgCyan:t(`\x1B[46m`,`\x1B[49m`),bgWhite:t(`\x1B[47m`,`\x1B[49m`),blackBright:t(`\x1B[90m`,`\x1B[39m`),redBright:t(`\x1B[91m`,`\x1B[39m`),greenBright:t(`\x1B[92m`,`\x1B[39m`),yellowBright:t(`\x1B[93m`,`\x1B[39m`),blueBright:t(`\x1B[94m`,`\x1B[39m`),magentaBright:t(`\x1B[95m`,`\x1B[39m`),cyanBright:t(`\x1B[96m`,`\x1B[39m`),whiteBright:t(`\x1B[97m`,`\x1B[39m`),bgBlackBright:t(`\x1B[100m`,`\x1B[49m`),bgRedBright:t(`\x1B[101m`,`\x1B[49m`),bgGreenBright:t(`\x1B[102m`,`\x1B[49m`),bgYellowBright:t(`\x1B[103m`,`\x1B[49m`),bgBlueBright:t(`\x1B[104m`,`\x1B[49m`),bgMagentaBright:t(`\x1B[105m`,`\x1B[49m`),bgCyanBright:t(`\x1B[106m`,`\x1B[49m`),bgWhiteBright:t(`\x1B[107m`,`\x1B[49m`)}};t.exports=c(),t.exports.createColors=c})),bo=/* @__PURE__ */ p(((e,t)=>{let n=/[\t\n\f\r "#'()/;[\\\]{}]/g,r=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,i=/.[\r\n"'(/\\]/,a=/[\da-f]/i;t.exports=function(e,t={}){let o=e.css.valueOf(),s=t.ignoreErrors,c,l,u,d,f,p,m,h,g,_,v=o.length,y=0,b=[],x=[],S=-1;function C(){return y}function w(t){throw e.error(`Unclosed `+t,y)}function T(){return x.length===0&&y>=v}function E(e){if(x.length)return x.pop();if(y>=v)return;let t=e?e.ignoreUnclosed:!1;switch(c=o.charCodeAt(y),c){case 10:case 32:case 9:case 13:case 12:d=y;do d+=1,c=o.charCodeAt(d);while(c===32||c===10||c===9||c===13||c===12);p=[`space`,o.slice(y,d)],y=d-1;break;case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let e=String.fromCharCode(c);p=[e,e,y];break}case 40:if(_=b.length?b.pop()[1]:``,g=o.charCodeAt(y+1),_===`url`&&g!==39&&g!==34&&g!==32&&g!==10&&g!==9&&g!==12&&g!==13){d=y;do{if(m=!1,d=o.indexOf(`)`,d+1),d===-1){if(s||t){d=y;break}w(`bracket`)}for(h=d;o.charCodeAt(h-1)===92;)--h,m=!m}while(m);p=[`brackets`,o.slice(y,d+1),y,d],y=d}else y<=S?p=[`(`,`(`,y]:(d=o.indexOf(`)`,y+1),l=o.slice(y,d+1),d===-1||i.test(l)?(S=d===-1?v:d,p=[`(`,`(`,y]):(p=[`brackets`,l,y,d],y=d));break;case 39:case 34:f=c===39?`'`:`"`,d=y;do{if(m=!1,d=o.indexOf(f,d+1),d===-1){if(s||t){d=y+1;break}w(`string`)}for(h=d;o.charCodeAt(h-1)===92;)--h,m=!m}while(m);p=[`string`,o.slice(y,d+1),y,d],y=d;break;case 64:n.lastIndex=y+1,n.test(o),d=n.lastIndex===0?o.length-1:n.lastIndex-2,p=[`at-word`,o.slice(y,d+1),y,d],y=d;break;case 92:for(d=y,u=!0;o.charCodeAt(d+1)===92;)d+=1,u=!u;if(c=o.charCodeAt(d+1),u&&c!==47&&c!==32&&c!==10&&c!==9&&c!==13&&c!==12&&(d+=1,a.test(o.charAt(d)))){for(;a.test(o.charAt(d+1));)d+=1;o.charCodeAt(d+1)===32&&(d+=1)}p=[`word`,o.slice(y,d+1),y,d],y=d;break;default:c===47&&o.charCodeAt(y+1)===42?(d=o.indexOf(`*/`,y+2)+1,d===0&&(s||t?d=o.length:w(`comment`)),p=[`comment`,o.slice(y,d+1),y,d],y=d):(r.lastIndex=y+1,r.test(o),d=r.lastIndex===0?o.length-1:r.lastIndex-2,p=[`word`,o.slice(y,d+1),y,d],b.push(p),y=d)}return y++,p}function ee(e){x.push(e)}return{back:ee,endOfFile:T,nextToken:E,position:C}}})),xo=/* @__PURE__ */ p(((e,t)=>{let n=yo(),r=bo(),i;function a(e){i=e}let o={";":n.yellow,":":n.yellow,"(":n.cyan,")":n.cyan,"[":n.yellow,"]":n.yellow,"{":n.yellow,"}":n.yellow,"at-word":n.cyan,brackets:n.cyan,call:n.cyan,class:n.yellow,comment:n.gray,hash:n.magenta,string:n.green};function s([e,t],n){if(e===`word`){if(t[0]===`.`)return`class`;if(t[0]===`#`)return`hash`}if(!n.endOfFile()){let e=n.nextToken();if(n.back(e),e[0]===`brackets`||e[0]===`(`)return`call`}return e}function c(e){let t=r(new i(e),{ignoreErrors:!0}),n=``;for(;!t.endOfFile();){let e=t.nextToken(),r=o[s(e,t)];n+=r?e[1].split(/\r?\n/).map(e=>r(e)).join(`
|
|
3
|
-
`):e[1]}return n}c.registerInput=a,t.exports=c})),
|
|
1
|
+
import{createRequire as e}from"node:module";import t from"stylelint";import n from"assert";import r from"path";import{assert as i}from"node:console";import{pathToFileURL as a}from"node:url";import o from"node:path";var s=Object.create,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,d=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,p=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t,t.exports),e=null),t.exports),m=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=u(t),a=0,o=i.length,s;a<o;a++)s=i[a],!f.call(e,s)&&s!==n&&c(e,s,{get:(e=>t[e]).bind(null,s),enumerable:!(r=l(t,s))||r.enumerable});return e},h=(e,t,n)=>(n=e==null?{}:s(d(e)),m(t||!e||!e.__esModule||!f.call(e,`default`)?c(n,`default`,{value:e,enumerable:!0}):n,e)),g=/* @__PURE__ */ e(import.meta.url),_=/* @__PURE__ */ p(((e,t)=>{var n=Object.prototype.toString;t.exports=function(e){var t=n.call(e),r=t===`[object Arguments]`;return r||=t!==`[object Array]`&&typeof e==`object`&&!!e&&typeof e.length==`number`&&e.length>=0&&n.call(e.callee)===`[object Function]`,r}})),v=/* @__PURE__ */ p(((e,t)=>{var n;if(!Object.keys){var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=_(),o=Object.prototype.propertyIsEnumerable,s=!o.call({toString:null},`toString`),c=o.call(function(){},`prototype`),l=[`toString`,`toLocaleString`,`valueOf`,`hasOwnProperty`,`isPrototypeOf`,`propertyIsEnumerable`,`constructor`],u=function(e){var t=e.constructor;return t&&t.prototype===e},d={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=function(){if(typeof window>`u`)return!1;for(var e in window)try{if(!d[`$`+e]&&r.call(window,e)&&window[e]!==null&&typeof window[e]==`object`)try{u(window[e])}catch{return!0}}catch{return!0}return!1}(),p=function(e){if(typeof window>`u`||!f)return u(e);try{return u(e)}catch{return!1}};n=function(e){var t=typeof e==`object`&&!!e,n=i.call(e)===`[object Function]`,o=a(e),u=t&&i.call(e)===`[object String]`,d=[];if(!t&&!n&&!o)throw TypeError(`Object.keys called on a non-object`);var f=c&&n;if(u&&e.length>0&&!r.call(e,0))for(var m=0;m<e.length;++m)d.push(String(m));if(o&&e.length>0)for(var h=0;h<e.length;++h)d.push(String(h));else for(var g in e)!(f&&g===`prototype`)&&r.call(e,g)&&d.push(String(g));if(s)for(var _=p(e),v=0;v<l.length;++v)!(_&&l[v]===`constructor`)&&r.call(e,l[v])&&d.push(l[v]);return d}}t.exports=n})),y=/* @__PURE__ */ p(((e,t)=>{var n=Array.prototype.slice,r=_(),i=Object.keys,a=i?function(e){return i(e)}:v(),o=Object.keys;a.shim=function(){return Object.keys?function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)||(Object.keys=function(e){return r(e)?o(n.call(e)):o(e)}):Object.keys=a,Object.keys||a},t.exports=a})),b=/* @__PURE__ */ p(((e,t)=>{var n=Object.defineProperty||!1;if(n)try{n({},`a`,{value:1})}catch{n=!1}t.exports=n})),x=/* @__PURE__ */ p(((e,t)=>{t.exports=SyntaxError})),S=/* @__PURE__ */ p(((e,t)=>{t.exports=TypeError})),C=/* @__PURE__ */ p(((e,t)=>{t.exports=Object.getOwnPropertyDescriptor})),w=/* @__PURE__ */ p(((e,t)=>{var n=C();if(n)try{n([],`length`)}catch{n=null}t.exports=n})),T=/* @__PURE__ */ p(((e,t)=>{var n=b(),r=x(),i=S(),a=w();t.exports=function(e,t,o){if(!e||typeof e!=`object`&&typeof e!=`function`)throw new i("`obj` must be an object or a function`");if(typeof t!=`string`&&typeof t!=`symbol`)throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!=`boolean`&&arguments[3]!==null)throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!=`boolean`&&arguments[4]!==null)throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!=`boolean`&&arguments[5]!==null)throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!=`boolean`)throw new i("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,u=arguments.length>6&&arguments[6],d=!!a&&a(e,t);if(n)n(e,t,{configurable:l===null&&d?d.configurable:!l,enumerable:s===null&&d?d.enumerable:!s,value:o,writable:c===null&&d?d.writable:!c});else if(u||!s&&!c&&!l)e[t]=o;else throw new r(`This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.`)}})),E=/* @__PURE__ */ p(((e,t)=>{var n=b(),r=function(){return!!n};r.hasArrayLengthDefineBug=function(){if(!n)return null;try{return n([],`length`,{value:1}).length!==1}catch{return!0}},t.exports=r})),ee=/* @__PURE__ */ p(((e,t)=>{var n=y(),r=typeof Symbol==`function`&&typeof Symbol(`foo`)==`symbol`,i=Object.prototype.toString,a=Array.prototype.concat,o=T(),s=function(e){return typeof e==`function`&&i.call(e)===`[object Function]`},c=E()(),l=function(e,t,n,r){if(t in e){if(r===!0){if(e[t]===n)return}else if(!s(r)||!r())return}c?o(e,t,n,!0):o(e,t,n)},u=function(e,t){var i=arguments.length>2?arguments[2]:{},o=n(t);r&&(o=a.call(o,Object.getOwnPropertySymbols(t)));for(var s=0;s<o.length;s+=1)l(e,o[s],t[o[s]],i[o[s]])};u.supportsDescriptors=!!c,t.exports=u})),D=/* @__PURE__ */ p(((e,t)=>{t.exports=Object})),te=/* @__PURE__ */ p(((e,t)=>{t.exports=Error})),ne=/* @__PURE__ */ p(((e,t)=>{t.exports=EvalError})),re=/* @__PURE__ */ p(((e,t)=>{t.exports=RangeError})),ie=/* @__PURE__ */ p(((e,t)=>{t.exports=ReferenceError})),O=/* @__PURE__ */ p(((e,t)=>{t.exports=URIError})),ae=/* @__PURE__ */ p(((e,t)=>{t.exports=Math.abs})),oe=/* @__PURE__ */ p(((e,t)=>{t.exports=Math.floor})),se=/* @__PURE__ */ p(((e,t)=>{t.exports=Math.max})),ce=/* @__PURE__ */ p(((e,t)=>{t.exports=Math.min})),le=/* @__PURE__ */ p(((e,t)=>{t.exports=Math.pow})),ue=/* @__PURE__ */ p(((e,t)=>{t.exports=Math.round})),de=/* @__PURE__ */ p(((e,t)=>{t.exports=Number.isNaN||function(e){return e!==e}})),fe=/* @__PURE__ */ p(((e,t)=>{var n=de();t.exports=function(e){return n(e)||e===0?e:e<0?-1:1}})),pe=/* @__PURE__ */ p(((e,t)=>{t.exports=function(){if(typeof Symbol!=`function`||typeof Object.getOwnPropertySymbols!=`function`)return!1;if(typeof Symbol.iterator==`symbol`)return!0;var e={},t=Symbol(`test`),n=Object(t);if(typeof t==`string`||Object.prototype.toString.call(t)!==`[object Symbol]`||Object.prototype.toString.call(n)!==`[object Symbol]`)return!1;var r=42;for(var i in e[t]=r,e)return!1;if(typeof Object.keys==`function`&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames==`function`&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor==`function`){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==r||o.enumerable!==!0)return!1}return!0}})),me=/* @__PURE__ */ p(((e,t)=>{var n=typeof Symbol<`u`&&Symbol,r=pe();t.exports=function(){return typeof n!=`function`||typeof Symbol!=`function`||typeof n(`foo`)!=`symbol`||typeof Symbol(`bar`)!=`symbol`?!1:r()}})),he=/* @__PURE__ */ p(((e,t)=>{t.exports=typeof Reflect<`u`&&Reflect.getPrototypeOf||null})),ge=/* @__PURE__ */ p(((e,t)=>{t.exports=D().getPrototypeOf||null})),_e=/* @__PURE__ */ p(((e,t)=>{var n=Object.prototype.toString,r=Math.max,i=`[object Function]`,a=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n},o=function(e,t){for(var n=[],r=t||0,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n},s=function(e,t){for(var n=``,r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n};t.exports=function(e){var t=this;if(typeof t!=`function`||n.apply(t)!==i)throw TypeError(`Function.prototype.bind called on incompatible `+t);for(var c=o(arguments,1),l,u=function(){if(this instanceof l){var n=t.apply(this,a(c,arguments));return Object(n)===n?n:this}return t.apply(e,a(c,arguments))},d=r(0,t.length-c.length),f=[],p=0;p<d;p++)f[p]=`$`+p;if(l=Function(`binder`,`return function (`+s(f,`,`)+`){ return binder.apply(this,arguments); }`)(u),t.prototype){var m=function(){};m.prototype=t.prototype,l.prototype=new m,m.prototype=null}return l}})),ve=/* @__PURE__ */ p(((e,t)=>{var n=_e();t.exports=Function.prototype.bind||n})),ye=/* @__PURE__ */ p(((e,t)=>{t.exports=Function.prototype.call})),be=/* @__PURE__ */ p(((e,t)=>{t.exports=Function.prototype.apply})),xe=/* @__PURE__ */ p(((e,t)=>{t.exports=typeof Reflect<`u`&&Reflect&&Reflect.apply})),Se=/* @__PURE__ */ p(((e,t)=>{var n=ve(),r=be(),i=ye();t.exports=xe()||n.call(i,r)})),Ce=/* @__PURE__ */ p(((e,t)=>{var n=ve(),r=S(),i=ye(),a=Se();t.exports=function(e){if(e.length<1||typeof e[0]!=`function`)throw new r(`a function is required`);return a(n,i,e)}})),we=/* @__PURE__ */ p(((e,t)=>{var n=Ce(),r=w(),i;try{i=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!=`object`||!(`code`in e)||e.code!==`ERR_PROTO_ACCESS`)throw e}var a=!!i&&r&&r(Object.prototype,`__proto__`),o=Object,s=o.getPrototypeOf;t.exports=a&&typeof a.get==`function`?n([a.get]):typeof s==`function`&&function(e){return s(e==null?e:o(e))}})),Te=/* @__PURE__ */ p(((e,t)=>{var n=he(),r=ge(),i=we();t.exports=n?function(e){return n(e)}:r?function(e){if(!e||typeof e!=`object`&&typeof e!=`function`)throw TypeError(`getProto: not an object`);return r(e)}:i?function(e){return i(e)}:null})),Ee=/* @__PURE__ */ p(((e,t)=>{var n=Function.prototype.call,r=Object.prototype.hasOwnProperty;t.exports=ve().call(n,r)})),De=/* @__PURE__ */ p(((e,t)=>{var n,r=D(),i=te(),a=ne(),o=re(),s=ie(),c=x(),l=S(),u=O(),d=ae(),f=oe(),p=se(),m=ce(),h=le(),g=ue(),_=fe(),v=Function,y=function(e){try{return v(`"use strict"; return (`+e+`).constructor;`)()}catch{}},C=w(),T=b(),E=function(){throw new l},ee=C?function(){try{return arguments.callee,E}catch{try{return C(arguments,`callee`).get}catch{return E}}}():E,de=me()(),pe=Te(),_e=ge(),xe=he(),Se=be(),Ce=ye(),we={},De=typeof Uint8Array>`u`||!pe?n:pe(Uint8Array),Oe={__proto__:null,"%AggregateError%":typeof AggregateError>`u`?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>`u`?n:ArrayBuffer,"%ArrayIteratorPrototype%":de&&pe?pe([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":we,"%AsyncGenerator%":we,"%AsyncGeneratorFunction%":we,"%AsyncIteratorPrototype%":we,"%Atomics%":typeof Atomics>`u`?n:Atomics,"%BigInt%":typeof BigInt>`u`?n:BigInt,"%BigInt64Array%":typeof BigInt64Array>`u`?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>`u`?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>`u`?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":a,"%Float16Array%":typeof Float16Array>`u`?n:Float16Array,"%Float32Array%":typeof Float32Array>`u`?n:Float32Array,"%Float64Array%":typeof Float64Array>`u`?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>`u`?n:FinalizationRegistry,"%Function%":v,"%GeneratorFunction%":we,"%Int8Array%":typeof Int8Array>`u`?n:Int8Array,"%Int16Array%":typeof Int16Array>`u`?n:Int16Array,"%Int32Array%":typeof Int32Array>`u`?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":de&&pe?pe(pe([][Symbol.iterator]())):n,"%JSON%":typeof JSON==`object`?JSON:n,"%Map%":typeof Map>`u`?n:Map,"%MapIteratorPrototype%":typeof Map>`u`||!de||!pe?n:pe((/* @__PURE__ */ new Map())[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":C,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>`u`?n:Promise,"%Proxy%":typeof Proxy>`u`?n:Proxy,"%RangeError%":o,"%ReferenceError%":s,"%Reflect%":typeof Reflect>`u`?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>`u`?n:Set,"%SetIteratorPrototype%":typeof Set>`u`||!de||!pe?n:pe((/* @__PURE__ */ new Set())[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>`u`?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":de&&pe?pe(``[Symbol.iterator]()):n,"%Symbol%":de?Symbol:n,"%SyntaxError%":c,"%ThrowTypeError%":ee,"%TypedArray%":De,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array>`u`?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>`u`?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>`u`?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>`u`?n:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>`u`?n:WeakMap,"%WeakRef%":typeof WeakRef>`u`?n:WeakRef,"%WeakSet%":typeof WeakSet>`u`?n:WeakSet,"%Function.prototype.call%":Ce,"%Function.prototype.apply%":Se,"%Object.defineProperty%":T,"%Object.getPrototypeOf%":_e,"%Math.abs%":d,"%Math.floor%":f,"%Math.max%":p,"%Math.min%":m,"%Math.pow%":h,"%Math.round%":g,"%Math.sign%":_,"%Reflect.getPrototypeOf%":xe};if(pe)try{null.error}catch(e){Oe[`%Error.prototype%`]=pe(pe(e))}var ke=function e(t){var n;if(t===`%AsyncFunction%`)n=y(`async function () {}`);else if(t===`%GeneratorFunction%`)n=y(`function* () {}`);else if(t===`%AsyncGeneratorFunction%`)n=y(`async function* () {}`);else if(t===`%AsyncGenerator%`){var r=e(`%AsyncGeneratorFunction%`);r&&(n=r.prototype)}else if(t===`%AsyncIteratorPrototype%`){var i=e(`%AsyncGenerator%`);i&&pe&&(n=pe(i.prototype))}return Oe[t]=n,n},Ae={__proto__:null,"%ArrayBufferPrototype%":[`ArrayBuffer`,`prototype`],"%ArrayPrototype%":[`Array`,`prototype`],"%ArrayProto_entries%":[`Array`,`prototype`,`entries`],"%ArrayProto_forEach%":[`Array`,`prototype`,`forEach`],"%ArrayProto_keys%":[`Array`,`prototype`,`keys`],"%ArrayProto_values%":[`Array`,`prototype`,`values`],"%AsyncFunctionPrototype%":[`AsyncFunction`,`prototype`],"%AsyncGenerator%":[`AsyncGeneratorFunction`,`prototype`],"%AsyncGeneratorPrototype%":[`AsyncGeneratorFunction`,`prototype`,`prototype`],"%BooleanPrototype%":[`Boolean`,`prototype`],"%DataViewPrototype%":[`DataView`,`prototype`],"%DatePrototype%":[`Date`,`prototype`],"%ErrorPrototype%":[`Error`,`prototype`],"%EvalErrorPrototype%":[`EvalError`,`prototype`],"%Float32ArrayPrototype%":[`Float32Array`,`prototype`],"%Float64ArrayPrototype%":[`Float64Array`,`prototype`],"%FunctionPrototype%":[`Function`,`prototype`],"%Generator%":[`GeneratorFunction`,`prototype`],"%GeneratorPrototype%":[`GeneratorFunction`,`prototype`,`prototype`],"%Int8ArrayPrototype%":[`Int8Array`,`prototype`],"%Int16ArrayPrototype%":[`Int16Array`,`prototype`],"%Int32ArrayPrototype%":[`Int32Array`,`prototype`],"%JSONParse%":[`JSON`,`parse`],"%JSONStringify%":[`JSON`,`stringify`],"%MapPrototype%":[`Map`,`prototype`],"%NumberPrototype%":[`Number`,`prototype`],"%ObjectPrototype%":[`Object`,`prototype`],"%ObjProto_toString%":[`Object`,`prototype`,`toString`],"%ObjProto_valueOf%":[`Object`,`prototype`,`valueOf`],"%PromisePrototype%":[`Promise`,`prototype`],"%PromiseProto_then%":[`Promise`,`prototype`,`then`],"%Promise_all%":[`Promise`,`all`],"%Promise_reject%":[`Promise`,`reject`],"%Promise_resolve%":[`Promise`,`resolve`],"%RangeErrorPrototype%":[`RangeError`,`prototype`],"%ReferenceErrorPrototype%":[`ReferenceError`,`prototype`],"%RegExpPrototype%":[`RegExp`,`prototype`],"%SetPrototype%":[`Set`,`prototype`],"%SharedArrayBufferPrototype%":[`SharedArrayBuffer`,`prototype`],"%StringPrototype%":[`String`,`prototype`],"%SymbolPrototype%":[`Symbol`,`prototype`],"%SyntaxErrorPrototype%":[`SyntaxError`,`prototype`],"%TypedArrayPrototype%":[`TypedArray`,`prototype`],"%TypeErrorPrototype%":[`TypeError`,`prototype`],"%Uint8ArrayPrototype%":[`Uint8Array`,`prototype`],"%Uint8ClampedArrayPrototype%":[`Uint8ClampedArray`,`prototype`],"%Uint16ArrayPrototype%":[`Uint16Array`,`prototype`],"%Uint32ArrayPrototype%":[`Uint32Array`,`prototype`],"%URIErrorPrototype%":[`URIError`,`prototype`],"%WeakMapPrototype%":[`WeakMap`,`prototype`],"%WeakSetPrototype%":[`WeakSet`,`prototype`]},je=ve(),Me=Ee(),Ne=je.call(Ce,Array.prototype.concat),Pe=je.call(Se,Array.prototype.splice),Fe=je.call(Ce,String.prototype.replace),Ie=je.call(Ce,String.prototype.slice),Le=je.call(Ce,RegExp.prototype.exec),Re=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ze=/\\(\\)?/g,Be=function(e){var t=Ie(e,0,1),n=Ie(e,-1);if(t===`%`&&n!==`%`)throw new c("invalid intrinsic syntax, expected closing `%`");if(n===`%`&&t!==`%`)throw new c("invalid intrinsic syntax, expected opening `%`");var r=[];return Fe(e,Re,function(e,t,n,i){r[r.length]=n?Fe(i,ze,`$1`):t||e}),r},Ve=function(e,t){var n=e,r;if(Me(Ae,n)&&(r=Ae[n],n=`%`+r[0]+`%`),Me(Oe,n)){var i=Oe[n];if(i===we&&(i=ke(n)),i===void 0&&!t)throw new l(`intrinsic `+e+` exists, but is not available. Please file an issue!`);return{alias:r,name:n,value:i}}throw new c(`intrinsic `+e+` does not exist!`)};t.exports=function(e,t){if(typeof e!=`string`||e.length===0)throw new l(`intrinsic name must be a non-empty string`);if(arguments.length>1&&typeof t!=`boolean`)throw new l(`"allowMissing" argument must be a boolean`);if(Le(/^%?[^%]*%?$/,e)===null)throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Be(e),r=n.length>0?n[0]:``,i=Ve(`%`+r+`%`,t),a=i.name,o=i.value,s=!1,u=i.alias;u&&(r=u[0],Pe(n,Ne([0,1],u)));for(var d=1,f=!0;d<n.length;d+=1){var p=n[d],m=Ie(p,0,1),h=Ie(p,-1);if((m===`"`||m===`'`||m==="`"||h===`"`||h===`'`||h==="`")&&m!==h)throw new c(`property names with quotes must have matching quotes`);if(p!==`constructor`&&f||(s=!0),r+=`.`+p,a=`%`+r+`%`,Me(Oe,a))o=Oe[a];else if(o!=null){if(!(p in o)){if(!t)throw new l(`base intrinsic for `+e+` exists, but the property is not available.`);return}if(C&&d+1>=n.length){var g=C(o,p);f=!!g,o=f&&`get`in g&&!(`originalValue`in g.get)?g.get:o[p]}else f=Me(o,p),o=o[p];f&&!s&&(Oe[a]=o)}}return o}})),Oe=/* @__PURE__ */ p(((e,t)=>{var n=De(),r=T(),i=E()(),a=w(),o=S(),s=n(`%Math.floor%`);t.exports=function(e,t){if(typeof e!=`function`)throw new o("`fn` is not a function");if(typeof t!=`number`||t<0||t>4294967295||s(t)!==t)throw new o("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],c=!0,l=!0;if(`length`in e&&a){var u=a(e,`length`);u&&!u.configurable&&(c=!1),u&&!u.writable&&(l=!1)}return(c||l||!n)&&(i?r(e,`length`,t,!0,!0):r(e,`length`,t)),e}})),ke=/* @__PURE__ */ p(((e,t)=>{var n=ve(),r=be(),i=Se();t.exports=function(){return i(n,r,arguments)}})),Ae=/* @__PURE__ */ p(((e,t)=>{var n=Oe(),r=b(),i=Ce(),a=ke();t.exports=function(e){var t=i(arguments),r=1+e.length-(arguments.length-1);return n(t,r>0?r:0,!0)},r?r(t.exports,`apply`,{value:a}):t.exports.apply=a})),je=/* @__PURE__ */ p(((e,t)=>{var n=De(),r=Ce(),i=r([n(`%String.prototype.indexOf%`)]);t.exports=function(e,t){var a=n(e,!!t);return typeof a==`function`&&i(e,`.prototype.`)>-1?r([a]):a}})),Me=/* @__PURE__ */ p(((e,t)=>{var n=de();t.exports=function(e){return(typeof e==`number`||typeof e==`bigint`)&&!n(e)&&e!==1/0&&e!==-1/0}})),Ne=/* @__PURE__ */ p(((e,t)=>{var n=ae(),r=oe(),i=de(),a=Me();t.exports=function(e){if(typeof e!=`number`||i(e)||!a(e))return!1;var t=n(e);return r(t)===t}})),Pe=/* @__PURE__ */ p(((e,t)=>{var n=S(),r=je(),i=Ne(),a=r(`Number.prototype.toString`);t.exports=function(e,t){if(typeof e!=`number`)throw new n("Assertion failed: `x` must be a Number");if(!i(t)||t<2||t>36)throw new n("Assertion failed: `radix` must be an integer >= 2 and <= 36");return a(e,t)}})),Fe=/* @__PURE__ */ p(((e,t)=>{var n=je(),r=S(),i=Ne(),a=n(`String.prototype.slice`);t.exports=function(e,t,n){if(typeof e!=`string`)throw new r("Assertion failed: `string` must be a String");if(typeof t!=`string`)throw new r("Assertion failed: `searchValue` must be a String");if(!i(n)||n<0)throw new r("Assertion failed: `fromIndex` must be a non-negative integer");var o=e.length;if(t===``&&n<=o)return n;for(var s=t.length,c=n;c<=o-s;c+=1)if(a(e,c,c+s)===t)return c;return-1}})),Ie=/* @__PURE__ */ p(((e,t)=>{var n=S(),r=je(),i=Ne(),a=r(`String.prototype.slice`);t.exports=function(e,t,r,o){if(typeof e!=`string`)throw new n("Assertion failed: `S` must be a String");if(!i(t)||t<0)throw new n("Assertion failed: `maxLength` must be a non-negative integer");if(typeof r!=`string`)throw new n("Assertion failed: `fillString` must be a String");if(o!==`start`&&o!==`end`&&o!==`START`&&o!==`END`)throw new n("Assertion failed: `placement` must be ~START~ or ~END~");var s=e.length;if(t<=s||r===``)return e;for(var c=t-s,l=``;l.length<c;)l+=r;return l=a(l,0,c),o===`start`||o===`START`?l+e:e+l}})),Le=/* @__PURE__ */ p(((e,t)=>{var n=S(),r=je(),i=r(`String.prototype.charCodeAt`),a=r(`Number.prototype.toString`),o=r(`String.prototype.toLowerCase`),s=Ie();t.exports=function(e){if(typeof e!=`string`||e.length!==1)throw new n("Assertion failed: `C` must be a single code unit");var t=i(e,0);if(t>65535)throw new n("`Assertion failed: numeric value of `C` must be <= 0xFFFF");return`\\u`+s(o(a(t,16)),4,`0`,`start`)}})),Re=/* @__PURE__ */ p(((e,t)=>{var n=oe();t.exports=function(e){return typeof e==`bigint`?e:n(e)}})),ze=/* @__PURE__ */ p(((e,t)=>{var n=oe();t.exports=function(e,t){var r=e%t;return n(r>=0?r:r+t)}})),Be=/* @__PURE__ */ p(((e,t)=>{t.exports=ze()})),Ve=/* @__PURE__ */ p(((e,t)=>{var n=Be();t.exports=function(e,t){return n(e,t)}})),He=/* @__PURE__ */ p(((e,t)=>{t.exports=function(e){return typeof e==`number`&&e>=0&&e<=1114111&&(e|0)===e}})),Ue=/* @__PURE__ */ p(((e,t)=>{var n=De(),r=S(),i=n(`%String.fromCharCode%`),a=Re(),o=Ve(),s=He();t.exports=function(e){if(!s(e))throw new r("Assertion failed: `cp` must be >= 0 and <= 0x10FFFF");return e<=65535?i(e):i(a((e-65536)/1024)+55296)+i(o(e-65536,1024)+56320)}})),We=/* @__PURE__ */ p(((e,t)=>{t.exports=function(e){return typeof e==`number`&&e>=55296&&e<=56319}})),Ge=/* @__PURE__ */ p(((e,t)=>{t.exports=function(e){return typeof e==`number`&&e>=56320&&e<=57343}})),Ke=/* @__PURE__ */ p(((e,t)=>{var n=Function.prototype.toString,r=typeof Reflect==`object`&&Reflect!==null&&Reflect.apply,i,a;if(typeof r==`function`&&typeof Object.defineProperty==`function`)try{i=Object.defineProperty({},"length",{get:function(){throw a}}),a={},r(function(){throw 42},null,i)}catch(e){e!==a&&(r=null)}else r=null;var o=/^\s*class\b/,s=function(e){try{var t=n.call(e);return o.test(t)}catch{return!1}},c=function(e){try{return!s(e)&&(n.call(e),!0)}catch{return!1}},l=Object.prototype.toString,u=`[object Object]`,d=`[object Function]`,f=`[object GeneratorFunction]`,p=`[object HTMLAllCollection]`,m=`[object HTML document.all class]`,h=`[object HTMLCollection]`,g=typeof Symbol==`function`&&!!Symbol.toStringTag,_=!(0 in[,]),v=function(){return!1};if(typeof document==`object`){var y=document.all;l.call(y)===l.call(document.all)&&(v=function(e){if((_||!e)&&(e===void 0||typeof e==`object`))try{var t=l.call(e);return(t===p||t===m||t===h||t===u)&&e(``)==null}catch{}return!1})}t.exports=r?function(e){if(v(e))return!0;if(!e||typeof e!=`function`&&typeof e!=`object`)return!1;try{r(e,null,i)}catch(e){if(e!==a)return!1}return!s(e)&&c(e)}:function(e){if(v(e))return!0;if(!e||typeof e!=`function`&&typeof e!=`object`)return!1;if(g)return c(e);if(s(e))return!1;var t=l.call(e);return t!==d&&t!==f&&!/^\[object HTML/.test(t)?!1:c(e)}})),qe=/* @__PURE__ */ p(((e,t)=>{var n=Ke(),r=Object.prototype.toString,i=Object.prototype.hasOwnProperty,a=function(e,t,n){for(var r=0,a=e.length;r<a;r++)i.call(e,r)&&(n==null?t(e[r],r,e):t.call(n,e[r],r,e))},o=function(e,t,n){for(var r=0,i=e.length;r<i;r++)n==null?t(e.charAt(r),r,e):t.call(n,e.charAt(r),r,e)},s=function(e,t,n){for(var r in e)i.call(e,r)&&(n==null?t(e[r],r,e):t.call(n,e[r],r,e))};function c(e){return r.call(e)===`[object Array]`}t.exports=function(e,t,r){if(!n(t))throw TypeError(`iterator must be a function`);var i;arguments.length>=3&&(i=r),c(e)?a(e,t,i):typeof e==`string`?o(e,t,i):s(e,t,i)}})),Je=/* @__PURE__ */ p(((e,t)=>{var n=pe();t.exports=function(){return n()&&!!Symbol.toStringTag}})),Ye=/* @__PURE__ */ p(((e,t)=>{var n=je(),r=Je()(),i=Ee(),a=w(),o;if(r){var s=n(`RegExp.prototype.exec`),c={},l=function(){throw c},u={toString:l,valueOf:l};typeof Symbol.toPrimitive==`symbol`&&(u[Symbol.toPrimitive]=l),o=function(e){if(!e||typeof e!=`object`)return!1;var t=a(e,`lastIndex`);if(!(t&&i(t,`value`)))return!1;try{s(e,u)}catch(e){return e===c}}}else{var d=n(`Object.prototype.toString`),f=`[object RegExp]`;o=function(e){return!e||typeof e!=`object`&&typeof e!=`function`?!1:d(e)===f}}t.exports=o})),Xe=/* @__PURE__ */ p(((e,t)=>{var n=je(),r=Ye(),i=n(`RegExp.prototype.exec`),a=S();t.exports=function(e){if(!r(e))throw new a("`regex` must be a RegExp");return function(t){return i(e,t)!==null}}})),Ze=/* @__PURE__ */ p(((e,t)=>{var n=Pe(),r=Fe(),i=Ie(),a=Le(),o=Ue(),s=We(),c=Ge(),l=S(),u=He(),d=qe(),f=Xe(),p=f(/^\s$/),m=f(/^[\n\r\u2028\u2029]$/),h=`^$\\.*+?()[]{}|`,g=`,-=<>#&!%:;@~'\`"`,_={" ":`t`,"\n":`n`,"\v":`v`,"\f":`f`,"\r":`r`,__proto__:null};t.exports=function(e){if(!u(e))throw new l("Assertion failed: `c` must be a valid Unicode code point");var t=o(e);if(r(h,t,0)>-1||t===`/`)return`\\`+t;if(t in _)return`\\`+_[t];if(r(g,t,0)>-1||p(t)||m(t)||s(e)||c(e)){if(e<255)return`\\x`+i(n(e,16),2,`0`,`START`);var f=``;return d(t,function(e){f+=a(e)}),f}return t}})),Qe=/* @__PURE__ */ p(((e,t)=>{var n=De(),r=S(),i=n(`%String.fromCharCode%`),a=We(),o=Ge();t.exports=function(e,t){if(!a(e)||!o(t))throw new r("Assertion failed: `lead` must be a leading surrogate char code, and `trail` must be a trailing surrogate char code");return i(e)+i(t)}})),$e=/* @__PURE__ */ p(((e,t)=>{var n=S(),r=je(),i=We(),a=Ge(),o=Qe(),s=r(`String.prototype.charAt`),c=r(`String.prototype.charCodeAt`);t.exports=function(e,t){if(typeof e!=`string`)throw new n("Assertion failed: `string` must be a String");var r=e.length;if(t<0||t>=r)throw new n("Assertion failed: `position` must be >= 0, and < the length of `string`");var l=c(e,t),u=s(e,t),d=i(l),f=a(l);if(!d&&!f)return{"[[CodePoint]]":u,"[[CodeUnitCount]]":1,"[[IsUnpairedSurrogate]]":!1};if(f||t+1===r)return{"[[CodePoint]]":u,"[[CodeUnitCount]]":1,"[[IsUnpairedSurrogate]]":!0};var p=c(e,t+1);return a(p)?{"[[CodePoint]]":o(l,p),"[[CodeUnitCount]]":2,"[[IsUnpairedSurrogate]]":!1}:{"[[CodePoint]]":u,"[[CodeUnitCount]]":1,"[[IsUnpairedSurrogate]]":!0}}})),et=/* @__PURE__ */ p(((e,t)=>{var n=S(),r=$e();t.exports=function(e){if(typeof e!=`string`)throw new n("Assertion failed: `string` must be a String");for(var t=[],i=e.length,a=0;a<i;){var o=r(e,a);t[t.length]=o[`[[CodePoint]]`],a+=o[`[[CodeUnitCount]]`]}return t}})),tt=/* @__PURE__ */ p(((e,t)=>{var n=De(),r=Ae(),i=r(n(`String.prototype.indexOf`));t.exports=function(e,t){var a=n(e,!!t);return typeof a==`function`&&i(e,`.prototype.`)>-1?r(a):a}})),nt=/* @__PURE__ */ p(((e,t)=>{var n=Ze(),r=Pe(),i=et(),a=Xe(),o=qe(),s=S(),c=a(/^[\da-zA-Z]$/),l=tt()(`String.prototype.charCodeAt`),u=function(e){var t=l(e,0);if(t<55296||t>56319||e.length===1)return t;var n=l(e,1);return n<56320||n>57343?t:(t-55296)*1024+(n-56320)+65536};t.exports=function(e){if(typeof e!=`string`)throw new s("`S` must be a String");var t=``;return o(i(e),function(e){if(t===``&&c(e)){var i=r(u(e),16);t+=`\\x`+i}else t+=n(u(e))}),t}})),rt=/* @__PURE__ */ p(((e,t)=>{var n=nt();t.exports=function(){return RegExp.escape||n}})),it=/* @__PURE__ */ p(((e,t)=>{var n=ee(),r=rt()();t.exports=function(){return n(RegExp,{escape:r}),RegExp.escape}})),at=/* @__PURE__ */ h((/* @__PURE__ */ p(((e,t)=>{var n=ee(),r=Ae(),i=nt(),a=rt(),o=it(),s=r(i,null);n(s,{getPolyfill:a,implementation:i,method:i,shim:o}),t.exports=s})))(),1);function ot(){return ot=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ot.apply(this,arguments)}var st=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:{};function ct(e){var t={exports:{}};return e(t,t.exports),t.exports}var lt=ct(function(e){var t=[` `,`
|
|
2
|
+
`,` `],n=[`,`],r=e.exports={split:function(e,t,n){for(var r=[],i=``,a=!1,o=0,s=!1,c=!1,l=0;l<e.length;l++){var u=e[l];s?c?c=!1:u===`\\`?c=!0:u===s&&(s=!1):u===`"`||u===`'`?s=u:u===`(`?o+=1:u===`)`?o>0&&--o:o===0&&t.indexOf(u)!==-1&&(a=!0),a?(i!==``&&r.push(i.trim()),i=``,a=!1):i+=u}return(n||i!==``)&&r.push(i.trim()),r},space:function(e){return r.split(e,t)},comma:function(e){return r.split(e,n,!0)}}}),ut=ct(function(e){(function(e){var t=e.shorthandProperties={"list-style":[`-type`,`-position`,`-image`],margin:[`-top`,`-right`,`-bottom`,`-left`],outline:[`-width`,`-style`,`-color`],padding:[`-top`,`-right`,`-bottom`,`-left`],background:[`-image`,`-position`,`-size`,`-repeat`,`-origin`,`-clip`,`-attachment`,`-color`],"background-position":[`-x`,`-y`],border:[`-width`,`-style`,`-color`],"border-color":[`border-top-color`,`border-right-color`,`border-bottom-color`,`border-left-color`],"border-style":[`border-top-style`,`border-right-style`,`border-bottom-style`,`border-left-style`],"border-width":[`border-top-width`,`border-right-width`,`border-bottom-width`,`border-left-width`],"border-top":[`-width`,`-style`,`-color`],"border-right":[`-width`,`-style`,`-color`],"border-bottom":[`-width`,`-style`,`-color`],"border-left":[`-width`,`-style`,`-color`],"border-radius":[`border-top-left-radius`,`border-top-right-radius`,`border-bottom-right-radius`,`border-bottom-left-radius`],"border-image":[`-source`,`-slice`,`-width`,`-outset`,`-repeat`],font:[`-style`,`-variant`,`-weight`,`-stretch`,`-size`,`line-height`,`-family`],"font-variant":[`-ligatures`,`-alternates`,`-caps`,`-numeric`,`-east-asian`],flex:[`-grow`,`-shrink`,`-basis`],"flex-flow":[`flex-direction`,`flex-wrap`],grid:[`-template-rows`,`-template-columns`,`-template-areas`,`-auto-rows`,`-auto-columns`,`-auto-flow`],"grid-template":[`-rows`,`-columns`,`-areas`],"grid-row":[`-start`,`-end`],"grid-column":[`-start`,`-end`],"grid-area":[`grid-row-start`,`grid-column-start`,`grid-row-end`,`grid-column-end`],"grid-gap":[`grid-row-gap`,`grid-column-gap`],mask:[`-image`,`-mode`,`-position`,`-size`,`-repeat`,`-origin`,`-clip`],"mask-border":[`-source`,`-slice`,`-width`,`-outset`,`-repeat`,`-mode`],columns:[`column-width`,`column-count`],"column-rule":[`-width`,`-style`,`-color`],"scroll-padding":[`-top`,`-right`,`-bottom`,`-left`],"scroll-padding-block":[`-start`,`-end`],"scroll-padding-inline":[`-start`,`-end`],"scroll-snap-margin":[`-top`,`-right`,`-bottom`,`-left`],"scroll-snap-margin-block":[`-start`,`-end`],"scroll-snap-margin-inline":[`-start`,`-end`],cue:[`-before`,`-after`],pause:[`-before`,`-after`],rest:[`-before`,`-after`],"text-decoration":[`-line`,`-style`,`-color`],"text-emphasis":[`-style`,`-color`],animation:[`-name`,`-duration`,`-timing-function`,`-delay`,`-iteration-count`,`-direction`,`-fill-mode`,`-play-state`],transition:[`-property`,`-duration`,`-timing-function`,`-delay`]};e.isShorthand=function(e){return t.hasOwnProperty(e)},e.expand=function(n,r){return t.hasOwnProperty(n)?t[n].map(function(t){var i=t.substr(0,1)===`-`?n+t:t;return r?e.expand(i,r):i}):[n]}})(e.exports===void 0?st.cssShorthandProps={}:e.exports)}).shorthandProperties;function dt(e,t,r){return n(arguments.length,`property argument is required`),arguments.length<3&&(typeof t==`boolean`?(r=t,t=void 0):r=!0),t===void 0?ft(e,r):pt(e,t,r)}function ft(e,t){return ut.hasOwnProperty(e)?ut[e].map(function(n){var r=n.substr(0,1)===`-`?e+n:n;return t?dt(r,t):r}).reduce(function(e,t){return e.concat(t)},[]):[e]}function pt(e,t,n){var r={};if(!ut.hasOwnProperty(e))return r[e]=t,r;var i=ft(e,!1);typeof t==`string`&&(t=lt.space(t));for(var a,o=0,s=i.length,c=t.length;o<s;o++)if(a=o<c?o:c<2?0:o%2,n)for(var l=pt(i[o],t[a],n),u=Object.keys(l),d=0,f=u.length;d<f;d++)r[u[d]]=l[u[d]];else r[i[o]]=t[a];return r}var mt={isShorthand:function(e){return!!ut.hasOwnProperty(e)},expand:dt};const ht=`scale-unlimited/declaration-strict-value`,gt=(e,t)=>!!e&&typeof e==`object`&&!Array.isArray(e)&&Object.hasOwnProperty.call(e,t),_t={ignoreVariables:!0,ignoreFunctions:!0,ignoreKeywords:null,ignoreValues:null,ignoreAtRules:null,expandShorthand:!1,recurseLonghand:!1,severity:`error`,message:void 0,disableFix:!1,autoFixFunc:null};var vt=40,yt=41,bt=39,xt=34,St=92,Ct=47,wt=44,Tt=58,Et=42,Dt=function e(t,n,r){for(var i=0,a=t.length,o,s;i<a;i+=1)o=t[i],r||(s=n(o,i,t)),!1!==s&&o.type===`function`&&Array.isArray(o.nodes)&&e(o.nodes,n,r),r&&n(o,i,t)};function Ot(e,t){var n,r,i=e.type,a=e.value;return t&&(r=t(e))!==void 0?r:i===`word`||i===`space`?a:i===`string`?(n=e.quote||``)+a+(e.unclosed?``:n):i===`comment`?`/*`+a+(e.unclosed?``:`*/`):i===`div`?(e.before||``)+a+(e.after||``):Array.isArray(e.nodes)?(n=kt(e.nodes),i===`function`?a+`(`+(e.before||``)+n+(e.after||``)+(e.unclosed?``:`)`):n):a}function kt(e,t){var n,r;if(Array.isArray(e)){for(n=``,r=e.length-1;~r;--r)n=Ot(e[r],t)+n;return n}return Ot(e,t)}var At=kt,jt=45,Mt=43,Nt=46,Pt=101,Ft=69;function It(e){return this instanceof It?(this.nodes=function(e){for(var t,n,r,i,a,o,s,c,l=[],u=e,d=0,f=u.charCodeAt(d),p=u.length,m=[{nodes:l}],h=0,g=``,_=``,v=``;d<p;)if(f<=32){t=d;do f=u.charCodeAt(t+=1);while(f<=32);i=u.slice(d,t),r=l[l.length-1],f===yt&&h?v=i:r&&r.type===`div`?r.after=i:f===wt||f===Tt||f===Ct&&u.charCodeAt(t+1)!==Et?_=i:l.push({type:`space`,sourceIndex:d,value:i}),d=t}else if(f===bt||f===xt){t=d,i={type:`string`,sourceIndex:d,quote:n=f===bt?`'`:`"`};do if(a=!1,~(t=u.indexOf(n,t+1)))for(o=t;u.charCodeAt(o-1)===St;)--o,a=!a;else t=(u+=n).length-1,i.unclosed=!0;while(a);i.value=u.slice(d+1,t),l.push(i),f=u.charCodeAt(d=t+1)}else if(f===Ct&&u.charCodeAt(d+1)===Et)i={type:`comment`,sourceIndex:d},(t=u.indexOf(`*/`,d))===-1&&(i.unclosed=!0,t=u.length),i.value=u.slice(d+2,t),l.push(i),f=u.charCodeAt(d=t+2);else if(f===Ct||f===wt||f===Tt)l.push({type:`div`,sourceIndex:d-_.length,value:i=u[d],before:_,after:``}),_=``,f=u.charCodeAt(d+=1);else if(vt===f){t=d;do f=u.charCodeAt(t+=1);while(f<=32);if(i={type:`function`,sourceIndex:d-g.length,value:g,before:u.slice(d+1,t)},d=t,g===`url`&&f!==bt&&f!==xt){--t;do if(a=!1,~(t=u.indexOf(`)`,t+1)))for(o=t;u.charCodeAt(o-1)===St;)--o,a=!a;else t=(u+=`)`).length-1,i.unclosed=!0;while(a);s=t;do f=u.charCodeAt(--s);while(f<=32);i.nodes=d===s+1?[]:[{type:`word`,sourceIndex:d,value:u.slice(d,s+1)}],i.unclosed&&s+1!==t?(i.after=``,i.nodes.push({type:`space`,sourceIndex:s+1,value:u.slice(s+1,t)})):i.after=u.slice(s+1,t),f=u.charCodeAt(d=t+1),l.push(i)}else h+=1,i.after=``,l.push(i),m.push(i),l=i.nodes=[],c=i;g=``}else if(yt===f&&h)f=u.charCodeAt(d+=1),c.after=v,v=``,--h,m.pop(),l=(c=m[h]).nodes;else{t=d;do f===St&&(t+=1),f=u.charCodeAt(t+=1);while(t<p&&!(f<=32||f===bt||f===xt||f===wt||f===Tt||f===Ct||f===vt||f===yt&&h));i=u.slice(d,t),vt===f?g=i:l.push({type:`word`,sourceIndex:d,value:i}),d=t}for(d=m.length-1;d;--d)m[d].unclosed=!0;return m[0].nodes}(e),this):new It(e)}It.prototype.toString=function(){return Array.isArray(this.nodes)?At(this.nodes):``},It.prototype.walk=function(e,t){return Dt(this.nodes,e,t),this},It.unit=function(e){for(var t,n=0,r=e.length,i=!1,a=-1,o=!1;n<r;){if((t=e.charCodeAt(n))>=48&&t<=57)o=!0;else if(t===Pt||t===Ft){if(a>-1)break;a=n}else if(t===Nt){if(i)break;i=!0}else if(t!==Mt&&t!==jt||n!==0)break;n+=1}return a+1===n&&n--,!!o&&{number:e.slice(0,n),unit:e.slice(n)}},It.walk=Dt,It.stringify=At;var Lt=It,Rt=Vt(Lt),zt=Vt({aliceblue:`#f0f8ff`,antiquewhite:`#faebd7`,aqua:`#00ffff`,aquamarine:`#7fffd4`,azure:`#f0ffff`,beige:`#f5f5dc`,bisque:`#ffe4c4`,black:`#000000`,blanchedalmond:`#ffebcd`,blue:`#0000ff`,blueviolet:`#8a2be2`,brown:`#a52a2a`,burlywood:`#deb887`,cadetblue:`#5f9ea0`,chartreuse:`#7fff00`,chocolate:`#d2691e`,coral:`#ff7f50`,cornflowerblue:`#6495ed`,cornsilk:`#fff8dc`,crimson:`#dc143c`,cyan:`#00ffff`,darkblue:`#00008b`,darkcyan:`#008b8b`,darkgoldenrod:`#b8860b`,darkgray:`#a9a9a9`,darkgreen:`#006400`,darkgrey:`#a9a9a9`,darkkhaki:`#bdb76b`,darkmagenta:`#8b008b`,darkolivegreen:`#556b2f`,darkorange:`#ff8c00`,darkorchid:`#9932cc`,darkred:`#8b0000`,darksalmon:`#e9967a`,darkseagreen:`#8fbc8f`,darkslateblue:`#483d8b`,darkslategray:`#2f4f4f`,darkslategrey:`#2f4f4f`,darkturquoise:`#00ced1`,darkviolet:`#9400d3`,deeppink:`#ff1493`,deepskyblue:`#00bfff`,dimgray:`#696969`,dimgrey:`#696969`,dodgerblue:`#1e90ff`,firebrick:`#b22222`,floralwhite:`#fffaf0`,forestgreen:`#228b22`,fuchsia:`#ff00ff`,gainsboro:`#dcdcdc`,ghostwhite:`#f8f8ff`,gold:`#ffd700`,goldenrod:`#daa520`,gray:`#808080`,green:`#008000`,greenyellow:`#adff2f`,grey:`#808080`,honeydew:`#f0fff0`,hotpink:`#ff69b4`,indianred:`#cd5c5c`,indigo:`#4b0082`,ivory:`#fffff0`,khaki:`#f0e68c`,lavender:`#e6e6fa`,lavenderblush:`#fff0f5`,lawngreen:`#7cfc00`,lemonchiffon:`#fffacd`,lightblue:`#add8e6`,lightcoral:`#f08080`,lightcyan:`#e0ffff`,lightgoldenrodyellow:`#fafad2`,lightgray:`#d3d3d3`,lightgreen:`#90ee90`,lightgrey:`#d3d3d3`,lightpink:`#ffb6c1`,lightsalmon:`#ffa07a`,lightseagreen:`#20b2aa`,lightskyblue:`#87cefa`,lightslategray:`#778899`,lightslategrey:`#778899`,lightsteelblue:`#b0c4de`,lightyellow:`#ffffe0`,lime:`#00ff00`,limegreen:`#32cd32`,linen:`#faf0e6`,magenta:`#ff00ff`,maroon:`#800000`,mediumaquamarine:`#66cdaa`,mediumblue:`#0000cd`,mediumorchid:`#ba55d3`,mediumpurple:`#9370db`,mediumseagreen:`#3cb371`,mediumslateblue:`#7b68ee`,mediumspringgreen:`#00fa9a`,mediumturquoise:`#48d1cc`,mediumvioletred:`#c71585`,midnightblue:`#191970`,mintcream:`#f5fffa`,mistyrose:`#ffe4e1`,moccasin:`#ffe4b5`,navajowhite:`#ffdead`,navy:`#000080`,oldlace:`#fdf5e6`,olive:`#808000`,olivedrab:`#6b8e23`,orange:`#ffa500`,orangered:`#ff4500`,orchid:`#da70d6`,palegoldenrod:`#eee8aa`,palegreen:`#98fb98`,paleturquoise:`#afeeee`,palevioletred:`#db7093`,papayawhip:`#ffefd5`,peachpuff:`#ffdab9`,peru:`#cd853f`,pink:`#ffc0cb`,plum:`#dda0dd`,powderblue:`#b0e0e6`,purple:`#800080`,rebeccapurple:`#663399`,red:`#ff0000`,rosybrown:`#bc8f8f`,royalblue:`#4169e1`,saddlebrown:`#8b4513`,salmon:`#fa8072`,sandybrown:`#f4a460`,seagreen:`#2e8b57`,seashell:`#fff5ee`,sienna:`#a0522d`,silver:`#c0c0c0`,skyblue:`#87ceeb`,slateblue:`#6a5acd`,slategray:`#708090`,slategrey:`#708090`,snow:`#fffafa`,springgreen:`#00ff7f`,steelblue:`#4682b4`,tan:`#d2b48c`,teal:`#008080`,thistle:`#d8bfd8`,tomato:`#ff6347`,turquoise:`#40e0d0`,violet:`#ee82ee`,wheat:`#f5deb3`,white:`#ffffff`,whitesmoke:`#f5f5f5`,yellow:`#ffff00`,yellowgreen:`#9acd32`}),Bt=Vt(function(e,t){if(Array.isArray(e))return e[e.length-1]===t;e=String(e);for(var n=(t=String(t)).length,r=e.length-n;n--;)if(t.charAt(n)!==e.charAt(r+n))return!1;return!0});function Vt(e){return e&&e.__esModule?e:{default:e}}function Ht(e){return e.toLowerCase()}function k(e,t){var n=e.value;return e.type===`word`&&(Array.isArray(t)?~t.map(Ht).indexOf(Ht(n)):Ht(n)===t)}function Ut(e,t){return e.type===`function`&&(Array.isArray(t)?~t.map(Ht).indexOf(Ht(e.value)):Ht(e.value)===t)}var Wt=function(e){return Ut(e,`var`)};function A(e){return function(t){return t.nodes.length===1&&k(t.nodes[0],e)}}var Gt=function(e){return Ut(e,`url`)},Kt=function(e){var t=e.value;if(e.type!==`word`)return!1;var n=(0,Lt.unit)(t);return n&&!~t.indexOf(`.`)&&!n.unit},j=function(e){return e.type===`div`&&e.value===`,`},qt=function(e){var t=e.value;return e.type===`word`&&!isNaN(t)&&!(0,Bt.default)(t,`.`)},Jt=function(e){var t=(0,Lt.unit)(e.value);return t&&!(0,Bt.default)(t.number,`.`)&&!~t.unit.indexOf(`.`)&&t.unit===`%`},Yt=Object.keys(zt.default);function Xt(e){return function(e){if(Ut(e,`rgb`)){var t=!0;return(0,Lt.walk)(e.nodes,function(e,n){var r=n%2==0;return(r&&!Kt(e)&&!Jt(e)||!r&&!j(e))&&(t=!1),!1}),t&&e.nodes.length===5}}(e)||function(e){if(Ut(e,`rgba`)){var t=!0;return(0,Lt.walk)(e.nodes,function(e,n){var r=n%2==0;return(r&&(n<6&&!Kt(e)&&!Jt(e)||n>5&&!qt(e))||!r&&!j(e))&&(t=!1),!1}),t&&e.nodes.length===7}}(e)||function(e){if(Ut(e,`hsl`)){var t=!0;return(0,Lt.walk)(e.nodes,function(e,n){var r=n%2==0;return(r&&(n<1&&!qt(e)||n>1&&!Jt(e))||!r&&!j(e))&&(t=!1),!1}),t&&e.nodes.length===5}}(e)||function(e){if(Ut(e,`hsla`)){var t=!0;return(0,Lt.walk)(e.nodes,function(e,n){var r=n%2==0;return(!r||(n!==0&&n!==6||qt(e))&&(n!==2&&n!==4||Jt(e)))&&(r||j(e))||(t=!1),!1}),t&&e.nodes.length===7}}(e)||function(e){if(e.type!==`word`||e.value[0]!==`#`)return!1;var t=e.value.slice(1);return~[3,4,6,8].indexOf(t.length)&&!isNaN(parseInt(t,16))}(e)||function(e){return k(e,Yt)}(e)||function(e){return k(e,`currentcolor`)}(e)}var Zt=[`none`,`hidden`,`dotted`,`dashed`,`solid`,`double`,`groove`,`ridge`,`inset`,`outset`],Qt=function(e){return k(e,Zt)},$t=function(e){return e.type===`space`},en=[`deg`,`grad`,`rad`,`turn`],tn=function(e){var t=(0,Lt.unit)(e.value);return t&&!(0,Bt.default)(t.number,`.`)&&!~t.unit.indexOf(`.`)&&(t.number===`0`||~en.indexOf(t.unit))},nn=[`s`,`ms`],rn=function(e){var t=(0,Lt.unit)(e.value);return t&&!(0,Bt.default)(t.number,`.`)&&!~t.unit.indexOf(`.`)&&~nn.indexOf(t.unit)},an=[`+`,`-`,`*`,`/`],on=/[+\-\*\/]/i,sn=[`em`,`ex`,`ch`,`rem`,`vh`,`vw`,`vmin`,`vmax`,`px`,`q`,`mm`,`cm`,`in`,`pt`,`pc`],cn=function(e){if(function(e){if(!Ut(e,`calc`)||!e.nodes||!e.nodes.length)return!1;var t=!0,n=!1;return(0,Lt.walk)(e.nodes,function(e){var r=e.type,i=e.value;!n&&~an.indexOf(i)&&(t=!1),r!==`space`&&(n=i),Wt(e)||r!==`function`||(i.length>0&&(t=!1),e.nodes.length&&e.nodes||(t=!1)),r!==`word`||tn(e)||cn(e)||rn(e)||Kt(e)||qt(e)||Jt(e)||!(an.indexOf(i)<0)||((i.indexOf(`+`)>0||i.indexOf(`-`)>0)&&(t=!1),~an.indexOf(i[i.length-1])&&(t=!1),on.test(i)||(t=!1))}),~an.indexOf(n)&&(t=!1),t}(e))return!0;if(e.type!==`word`)return!1;var t=(0,Lt.unit)(e.value);return t&&!(0,Bt.default)(t.number,`.`)&&!~t.unit.indexOf(`.`)&&(t.number===`0`||~sn.indexOf(t.unit))},ln=[`thin`,`medium`,`thick`],un=function(e){return cn(e)||k(e,ln)},dn=[`scroll`,`fixed`,`local`],fn=[`repeat-x`,`repeat-y`],pn=[`repeat`,`space`,`round`,`no-repeat`],mn=[`normal`,`reverse`,`alternate`,`alternate-reverse`],hn=[`none`,`forwards`,`backwards`,`both`],gn=[`infinite`];function _n(e){return!function(e){return/[^a-z0-9_-]/gi.test(e)}(e)||function(e){return/\\u[a-f0-9]{1,6}/gi.test(e)||/\\[a-f0-9]{1,6}/gi.test(e)}(e)}var vn=function(e){var t=e.value;return e.type===`word`&&(t[0]===`-`?!/[0-9]/.test(t[1])&&(t[1]!==`-`||t[2]===`-`)&&_n(t):!/[0-9]/.test(t[0])&&_n(t))},yn=[`running`,`paused`],bn=[`ease`,`linear`,`ease-in`,`ease-out`,`ease-in-out`,`step-start`,`step-end`],xn=[`start`,`end`],Sn=[`brightness`,`contrast`,`grayscale`,`invert`,`opacity`,`sepia`,`saturate`],Cn=[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],wn=function(e){return k(e,Cn)},Tn=[`border-box`,`padding-box`,`content-box`],En=function(e){return k(e,Tn)};function Dn(e){return e.nodes.reduce(function(e,t){return j(t)?e.push([]):e[e.length-1].push(t),e},[[]])}var On=function(e){return cn(e)||Jt(e)},kn=`left`,An=`center`,jn=`right`,Mn=`top`,Nn=`bottom`,Pn=[kn,jn,An],Fn=[Mn,Nn,An];function In(e,t){return k(e,t)||Wt(e)}function Ln(e){return On(e)||Wt(e)}function Rn(e){var t=e.length;if(t===1&&!In(e[0],[kn,An,jn,Mn,Nn])&&!On(e[0]))return!1;if(t===3){if(!$t(e[1]))return!1;if(In(e[0],Pn)&&In(e[2],Fn)||In(e[0],Fn)&&In(e[2],Pn))return!0;if(!In(e[0],Pn)&&!On(e[0])||!In(e[2],Fn)&&!On(e[2]))return!1}return t>=5&&t<=7?(In(e[0],[kn,jn])&&$t(e[1])&&Ln(e[2])&&$t(e[3])&&In(e[4],Fn)||!!(In(e[0],[Mn,Nn])&&$t(e[1])&&Ln(e[2])&&$t(e[3])&&In(e[4],Pn)))&&!(e[6]&&$t(e[5])&&(!Ln(e[6])||e[4].value===An)):t<8}function zn(e){return function(t){return(!e||t.nodes[t.nodes.length-1].type!==`div`)&&Dn(t).every(Rn)}}var Bn=[`dpi`,`dpcm`,`dppx`],Vn=function(e){return e.type===`string`};function Hn(e){return!(!er(e[0])&&!Vn(e[0])||Ut(e[0],`image-set`)||!e[2]||!function(e){if(e.type!==`word`)return!1;var t=(0,Lt.unit)(e.value);return t&&!(0,Bt.default)(t.number,`.`)&&!~t.unit.indexOf(`.`)&&~Bn.indexOf(t.unit)}(e[2])&&!function(e){if(e.type!==`word`)return!1;var t=(0,Lt.unit)(e.value);return t&&!(0,Bt.default)(t.number,`.`)&&!~t.unit.indexOf(`.`)&&t.unit===`x`}(e[2]))&&e.length===3}function Un(e){var t=e.length;return t===1?Xt(e[0]):t===3&&Xt(e[0])&&On(e[2])}var Wn=[`top`,`bottom`],Gn=[`right`,`left`],Kn=[].concat(Gn,Wn),qn=`at`,Jn=`circle`,Yn=`ellipse`,Xn=[Jn,Yn],Zn=[`closest-corner`,`closest-side`,`farthest-corner`,`farthest-side`],Qn=zn(!1);function $n(e){return e.value===qn}function er(e){return Gt(e)||function(e){if(!Ut(e,`image`))return!1;var t=!0;return(0,Lt.walk)(e.nodes,function(n,r){return r!==0||er(n)||Vn(n)||Xt(n)||(t=!1),r!==1||j(n)||(t=!1),r!==2||!Xt(e.nodes[0])&&Xt(n)||(t=!1),!1}),t&&e.nodes.length<=3}(e)||function(e){return!!Ut(e,`image-set`)&&Dn(e).every(Hn)}(e)||function(e){if(!Ut(e,`element`)||e.nodes.length!==1)return!1;var t=e.nodes[0];return t.value[0]===`#`&&t.type===`word`}(e)||function(e){if(!Ut(e,`cross-fade`))return!1;var t=!0;return(0,Lt.walk)(e.nodes,function(e,n){return n!==0||Jt(e)||er(e)||(t=!1),n!==2||Jt(e)||er(e)||(t=!1),n!==4||er(e)||Xt(e)||(t=!1),!1}),t}(e)||function(e){return function(e){if(!Ut(e,[`linear-gradient`,`repeating-linear-gradient`]))return!1;var t=0;return Dn(e).every(function(e,n){if(n===0){var r=e.length;if(r===1&&tn(e[0]))return!0;if(r>1&&e[0].value===`to`&&r<=5)return!e[4]&&k(e[2],Kn)||k(e[2],Gn)&&k(e[4],Wn)||k(e[2],Wn)&&k(e[4],Gn)}var i=Un(e);return i&&t++,i})&&t>1}(e)||function(e){if(!Ut(e,[`radial-gradient`,`repeating-radial-gradient`]))return!1;var t=0;return Dn(e).every(function(e,n){if(n===0){var r=e.length,i=k(e[0],Xn),a=cn(e[0]),o=k(e[0],Zn);if(r===1&&(i||a||o))return!0;var s=Qn({nodes:e.slice(2)});if($n(e[0])&&s)return!0;var c=e[0].value===Jn,l=e[2]&&k(e[2],Zn),u=e[2]&&k(e[2],Xn);if(r===3&&(c&&cn(e[2])||a&&e[2].value===Jn||o&&u||i&&l))return!0;var d=e[0].value===Yn,f=On(e[0]),p=e[2]&&On(e[2]),m=e[4]&&On(e[4]),h=Qn({nodes:e.slice(4)}),g=Qn({nodes:e.slice(6)}),_=Qn({nodes:e.slice(8)});if(r===5&&(d&&p&&m||f&&p&&e[4].value===Yn)||r>3&&(i&&$n(e[2])&&h||o&&$n(e[2])&&h||a&&$n(e[2])&&h||f&&p&&$n(e[4])&&g||c&&cn(e[2])&&$n(e[4])&&g||i&&l&&$n(e[4])&&g||o&&u&&$n(e[4])&&g||d&&p&&m&&$n(e[6])&&_||f&&p&&e[4].value===Yn&&$n(e[6])&&_))return!0}var v=Un(e);return v&&t++,v})&&t>1}(e)}(e)}var tr=[`cover`,`contain`],nr=`auto`;function rr(e){return k(e,nr)||On(e)||Wt(e)}function ir(e){var t=e.length;return!(!(t&&t<4)||!rr(e[0])||e[2]&&!rr(e[2]))}var ar=[`xx-small`,`x-small`,`small`,`medium`,`large`,`x-large`,`xx-large`],or=[`larger`,`smaller`],sr=function(e){var t=(0,Lt.unit)(e.value);return t&&!(0,Bt.default)(t.number,`.`)&&!~t.unit.indexOf(`.`)&&t.unit===`fr`&&!(t.number<0)},cr=[`min-content`,`max-content`,`auto`],lr=[].concat(/* @__PURE__ */ `disc.circle.square.decimal.cjk-decimal.decimal-leading-zero.lower-roman.upper-roman.lower-greek.lower-alpha.lower-latin.upper-alpha.upper-latin.arabic-indic.-moz-arabic-indic.armenian.bengali.-moz-bengali.cambodian.cjk-earthly-branch.-moz-cjk-earthly-branch.cjk-heavenly-stem.-moz-cjk-heavenly-stem.cjk-ideographic.devanagari.-moz-devanagari.ethiopic-numeric.georgian.gujarati.-moz-gujarati.gurmukhi.-moz-gurmukhi.hebrew.hiragana.hiragana-iroha.japanese-formal.japanese-informal.kannada.-moz-kannada.katakana.katakana-iroha.khmer.-moz-khmer.korean-hangul-formal.korean-hanja-formal.korean-hanja-informal.lao.-moz-lao.lower-armenian.malayalam.-moz-malayalam.mongolian.myanmar.-moz-myanmar.oriya.-moz-oriya.persian.-moz-persian.simp-chinese-formal.simp-chinese-informal.tamil.-moz-tamil.telugu.-moz-telugu.thai.-moz-thai.tibetan.trad-chinese-formal.trad-chinese-informal.upper-armenian.disclosure-open.disclosure-closed`.split(`.`),[`-moz-ethiopic-halehame`,`-moz-ethiopic-halehame-am`,`ethiopic-halehame-ti-er`,`-moz-ethiopic-halehame-ti-er`,`ethiopic-halehame-ti-et`,`-moz-ethiopic-halehame-ti-et`,`hangul`,`-moz-hangul`,`hangul-consonant`,`-moz-hangul-consonant`,`urdu`,`-moz-urdu`]),ur=[`cyclic`,`numeric`,`alphabetic`,`symbolic`,`fixed`],dr=[`add`,`subtract`,`intersect`,`exclude`],fr=[`alpha`,`luminance`,`match-source`],pr=[`margin-box`,`fill-box`,`stroke-box`,`view-box`],mr=[`content`,`padding`,`border`];function hr(e){var t=!1,n=0,r=!1,i=!1,a=!0;return(0,Lt.walk)(e,function(e,o){var s=o%2==0;if(s){if(cn(e)){if(o||(i=!0),n&&t&&i)return a=!1,!1;++n>3&&(a=!1)}else Xt(e)?t?a=!1:t=!0:Wt(e)?r=!0:a=!1}else s||$t(e)||(a=!1);return!1}),!(!r&&n<2||e.length>7)&&a}var gr=`matrix`,_r=`matrix3d`;function vr(e,t){return function(n){if(!Ut(n,e)||n.nodes.length>3)return!1;var r=!0;return(0,Lt.walk)(n.nodes,function(e,n){var i=n%2==0;return(i&&!t(e)||!i&&!j(e))&&(r=!1),!1}),!j(n.nodes[n.nodes.length-1])&&r}}var yr=vr(`translate`,On),br=vr(`scale`,qt),xr=vr(`skew`,tn);function Sr(e,t){return function(n){return!!Ut(n,e)&&n.nodes.length===1&&t(n.nodes[0])}}var Cr=Sr([`translateX`,`translateY`],On),wr=Sr([`scaleX`,`scaleY`,`scaleZ`],qt),Tr=Sr([`rotate`,`skewX`,`skewY`,`rotateX`,`rotateY`,`rotateZ`],tn),Er=Sr([`perspective`,`translateZ`],cn),Dr=[`scroll-position`,`contents`],Or=A([`auto`,`none`,`scrollbar`,`-ms-autohiding-scrollbar`]),kr=A(/* @__PURE__ */ `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`.split(`.`)),Ar=function(e){if(e.nodes.length===1){var t=e.nodes[0];return Gt(t)||k(t,`none`)}return!1},jr=A([`border-box`,`content-box`,`margin-box`,`padding-box`]),Mr=function(e){return e.nodes.length===1&&Kt(e.nodes[0])},Nr=A([`inline`,`block`,`horizontal`,`vertical`]),Pr=A([`ignore`,`stretch-to-fit`]),Fr=A([`none`,`blink`]),Ir=A([`ignore`,`normal`,`select-after`,`select-before`,`select-menu`,`select-same`,`select-all`,`none`]),Lr=A([`none`,`enabled`,`disabled`]),Rr=A([`read-only`,`read-write`,`write-only`]),zr=A([`default`,`menu`,`tooltip`,`sheet`,`none`]),Br=function(e){return e.nodes.length===1&&Xt(e.nodes[0])},Vr=function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!Qt(e)&&!Wt(e)||!r&&!$t(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0&&e.nodes.length<=7},Hr=function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!un(e)&&!Wt(e)||!r&&!$t(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0&&e.nodes.length<=7},Ur=function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!function(e){return k(e,dn)}(e)&&!Wt(e)||!r&&!j(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},Wr=function(e){var t=[],n=!0;return e.nodes[e.nodes.length-1].type!==`div`&&(e.walk(function(e){if(k(e,fn)){if(t.length)return n=!1,!1;t.push(e)}else if(k(e,pn)||Wt(e)){if(t.some(function(e){return k(e,fn)})||t.length===2)return n=!1,!1;t.push(e)}else{if(j(e))return t=[],!1;$t(e)||(n=!1)}return!1}),n)},Gr=A([`repeat`,`no-repeat`,`space`,`round`]),Kr=function(e){return e.nodes.length===1&&cn(e.nodes[0])},qr=A([`default`,`none`]),Jr=A([`flex-start`,`flex-end`,`center`,`space-between`,`space-around`,`stretch`]),Yr=A([`flex-start`,`flex-end`,`center`,`space-between`,`space-around`,`stretch`,`start`,`end`,`justify`,`distribute`]),Xr=A([`flex-start`,`flex-end`,`center`,`baseline`,`stretch`,`start`,`end`]),Zr=A([`flex-start`,`flex-end`,`center`,`baseline`,`stretch`]),Qr=A([`auto`,`flex-start`,`flex-end`,`center`,`baseline`,`stretch`]),$r=A([`auto`,`flex-start`,`flex-end`,`center`,`baseline`,`stretch`,`start`,`end`]),ei=A([`initial`,`inherit`,`unset`]),ti=function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!rn(e)&&!Wt(e)||!r&&!j(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},ni=function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!function(e){return function(e){return k(e,bn)}(e)||function(e){if(!Ut(e,`steps`)||!Kt(e.nodes[0]))return!1;var t=e.nodes[1],n=e.nodes[2];return!(t&&!j(t))&&(!n||k(n,xn))}(e)||function(e){if(!Ut(e,`cubic-bezier`))return!1;var t=!0;return(0,Lt.walk)(e.nodes,function(e,n){var r=n%2==0;return(!r||(n!==0&&n!==4||function(e){var t=e.value;return e.type===`word`&&t>=0&&t<=1}(e))&&(n!==2&&n!==6||qt(e)))&&(r||j(e))||(t=!1),!1}),t&&e.nodes.length===7}(e)}(e)&&!Wt(e)||!r&&!j(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},ri=A([`auto`,`none`]),ii=function(e){return!!function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return!r||function(e){return function(e){if(!Ut(e,`blur`))return!1;var t=e.nodes;return t.length===1&&cn(t[0])}(e)||function(e){if(!Ut(e,`drop-shadow`))return!1;var t=!0;return(0,Lt.walk)(e.nodes,function(e,n){var r=n%2==0;return r&&n<=2&&!cn(e)?(t=!1,!1):!r||n!==4||cn(e)||Xt(e)?r&&n===6&&!Xt(e)?(t=!1,!1):r||$t(e)?void 0:(t=!1,!1):(t=!1,!1)}),t&&e.nodes.length<=7}(e)||function(e){if(!Ut(e,`hue-rotate`))return!1;var t=e.nodes;return t.length===1&&tn(t[0])}(e)||function(e){if(!Ut(e,Sn))return!1;var t=e.nodes;return t.length===1&&(qt(t[0])||Jt(t[0]))}(e)}(e)||Wt(e)||(t=!1),r||$t(e)||(t=!1),!1}),t}(e)||e.nodes.length===1&&k(e.nodes[0],`none`)},ai=A([`visible`,`hidden`]),oi=function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!En(e)&&!Wt(e)||!r&&!j(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},si=zn(!0),ci=function(e){return!(e.nodes.length!==1||!k(e.nodes[0],tr))||Dn(e).every(ir)},li=function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!On(e)&&!Wt(e)||!r&&!$t(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0&&e.nodes.length<=3},ui=function(e){return e.nodes.length===1&&Qt(e.nodes[0])},di=function(e){return e.nodes.length===1&&un(e.nodes[0])},fi=A([`collapse`,`separate`]),pi=function(e){if(e.nodes.length===1){var t=e.nodes[0];return On(t)||k(t,`auto`)}return!1},mi=A([`start`,`center`,`end`,`baseline`,`stretch`]),hi=A([`slice`,`clone`]),gi=A([`normal`,`reverse`,`inherit`]),_i=function(e){return e.nodes.length===1&&qt(e.nodes[0])},vi=A([`single`,`multiple`]),yi=A([`horizontal`,`vertical`,`inline-axis`,`block-axis`,`inherit`]),bi=A([`start`,`center`,`end`,`justify`]),xi=A([`content-box`,`border-box`]),Si=A([`show`,`discard`,`hide`]),Ci=A([`auto`,`always`,`avoid`,`left`,`right`]),wi=A([`auto`,`avoid`,`avoid-page`,`avoid-column`,`avoid-region`]),Ti=A([`top`,`bottom`,`block-start`,`block-end`,`inline-start`,`inline-end`]),Ei=A([`none`,`left`,`right`,`both`,`inline-start`,`inline-end`]),Di=function(e){if(e.nodes.length===1){var t=e.nodes[0];return qt(t)||k(t,`auto`)}return!1},Oi=A([`auto`,`balance`]),ki=function(e){if(e.nodes.length===1){var t=e.nodes[0];return cn(t)||k(t,`normal`)}return!1},Ai=A([`none`,`all`]),ji=function(e){if(e.nodes.length===1){var t=e.nodes[0];return cn(t)||k(t,`auto`)}return!1},Mi=A([`ltr`,`rtl`]),Ni=A(/* @__PURE__ */ `none.inline.block.list-item.inline-list-item.inline-block.inline-table.table.table-cell.table-column.table-column-group.table-footer-group.table-header-group.table-row.table-row-group.flex.inline-flex.grid.inline-grid.run-in.ruby.ruby-base.ruby-text.ruby-base-container.ruby-text-container.contents.-webkit-box.-webkit-flex.-moz-box.-ms-flexbox.-webkit-inline-box.-webkit-inline-flex.-moz-inline-box.-ms-inline-flexbox.-ms-grid.-ms-inline-grid`.split(`.`)),Pi=A([`auto`,`block`,`table`,`flex`,`grid`,`ruby`]),Fi=A([`none`,`list-item`]),Ii=A([`block-level`,`inline-level`,`run-in`,`contents`,`none`,`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`]),Li=A([`show`,`hide`]),Ri=A([`row`,`row-reverse`,`column`,`column-reverse`,`horizontal`,`vertical`]),zi=A([`row`,`row-reverse`,`column`,`column-reverse`,`normal`,`reverse`]),Bi=A([`row`,`row-reverse`,`column`,`column-reverse`]),Vi=A([`nowrap`,`wrap`,`wrap-reverse`]),Hi=A([`left`,`right`,`none`,`inline-start`,`inline-end`]),Ui=A([`auto`,`normal`,`none`]),Wi=function(e){if(e.nodes.length===1){var t=e.nodes[0];return Vn(t)||k(t,`normal`)}return!1},Gi=A([`normal`,`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`]),Ki=A([`normal`,`italic`,`oblique`]),qi=A([`normal`,`small-caps`,`all-small-caps`,`petite-caps`,`all-petite-caps`,`unicase`,`titling-caps`]),Ji=A([`normal`,`sub`,`super`]),Yi=A([`normal`,`bold`,`bolder`,`lighter`,`100`,`200`,`300`,`400`,`500`,`600`,`700`,`800`,`900`]),Xi=function(e){return e.nodes.length===1&&(function(e){if(Ut(e,`minmax`)&&e.nodes.length===3){var t=e.nodes[0],n=e.nodes[1],r=e.nodes[2];return!(!k(t,cr)&&!On(t)||!j(n)||!(k(r,cr)||On(r)||sr(r)))}return!1}(t=e.nodes[0])||sr(t)||On(t)||k(t,cr));var t},Zi=function(e){return e.nodes.length===1&&On(e.nodes[0])},Qi=A([`none`,`manual`,`auto`]),$i=A([`auto`,`crisp-edges`,`pixelated`,`-webkit-optimize-contrast`,`-moz-crisp-edges`,`-o-pixelated`]),ea=A([`auto`,`crisp-edges`,`pixelated`,`nearest-neighbor`]),ta=A([`auto`,`normal`,`active`,`inactive`,`disabled`]),na=A([`auto`,`alphabetic`,`hanging`,`ideographic`]),ra=A([`auto`,`isolate`]),ia=A([`flex-start`,`flex-end`,`center`,`space-between`,`space-around`,`start`,`end`,`justify`]),aa=A([`flex-start`,`flex-end`,`center`,`space-between`,`space-around`]),oa=A([`flex-start`,`flex-end`,`center`,`space-between`,`space-around`,`start`,`end`,`justify`,`distribute`]),sa=A([`auto`,`loose`,`normal`,`strict`]),ca=A([`inside`,`outside`]),la=A([`luminance`,`alpha`]),ua=[`none`,`max-content`,`min-content`,`fit-content`,`fill-available`,`-webkit-max-content`,`-moz-max-content`,`-webkit-min-content`,`-moz-min-content`,`-webkit-fit-content`,`-moz-fit-content`,`-webkit-fill-available`,`-moz-available`],da=function(e){if(e.nodes.length===1){var t=e.nodes[0];return On(t)||k(t,ua)}return!1},fa=A([`fill`,`contain`,`cover`,`none`,`scale-down`]),pa=zn(!1),ma=A([`visible`,`hidden`,`scroll`,`auto`]),ha=A([`padding-box`,`content-box`]),ga=A([`normal`,`break-word`]),_a=function(e){if(e.nodes.length===1){var t=e.nodes[0];return cn(t)||k(t,`none`)}return!1},va=A([`auto`,`none`,`visiblePainted`,`visibleFill`,`visibleStroke`,`visible`,`painted`,`fill`,`stroke`,`all`,`inherit`]),ya=A([`static`,`relative`,`absolute`,`sticky`,`fixed`,`-webkit-sticky`]),ba=A([`none`,`both`,`horizontal`,`vertical`]),xa=A([`start`,`center`,`space-between`,`space-around`]),Sa=A([`separate`,`collapse`,`auto`]),Ca=A([`over`,`under`,`inter-character`]),wa=A([`auto`,`smooth`]),Ta=function(e){return!!zn(!0)(e)||e.nodes.length===1&&k(e.nodes[0],`none`)},Ea=A([`none`,`mandatory`,`proximity`]),Da=A([`auto`,`fixed`]),Oa=A([`start`,`end`,`left`,`right`,`center`,`justify`,`match-parent`]),ka=A([`auto`,`start`,`end`,`left`,`right`,`center`,`justify`]),Aa=A([`solid`,`double`,`dotted`,`dashed`,`wavy`]),ja=A([`mixed`,`upright`,`sideways`]),Ma=A([`auto`,`optimizeSpeed`,`optimizeLegibility`,`geometricPrecision`]),Na=[`none`,`auto`],Pa=function(e){if(e.nodes.length===1){var t=e.nodes[0];return Jt(t)||k(t,Na)}return!1},Fa=A([`none`,`capitalize`,`uppercase`,`lowercase`,`full-width`]),Ia=function(e){return!!function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!function(e){return function(e){if(!Ut(e,[gr,_r])||e.value===gr&&e.nodes.length!==11||e.value===_r&&e.nodes.length!==31)return!1;var t=!0;return(0,Lt.walk)(e.nodes,function(e,n){var r=n%2==0;return(r&&!qt(e)||!r&&!j(e))&&(t=!1),!1}),t}(e)||function(e){if(!Ut(e,`rotate3d`))return!1;var t=e.nodes;return t.length===7&&qt(t[0])&&j(t[1])&&qt(t[2])&&j(t[3])&&qt(t[4])&&j(t[5])&&tn(t[6])}(e)||br(e)||function(e){if(!Ut(e,`scale3d`))return!1;var t=e.nodes;return t.length===5&&qt(t[0])&&j(t[1])&&qt(t[2])&&j(t[3])&&qt(t[4])}(e)||xr(e)||Tr(e)||Er(e)||Cr(e)||wr(e)||yr(e)||function(e){if(!Ut(e,`translate3d`))return!1;var t=e.nodes;return t.length===5&&On(t[0])&&j(t[1])&&On(t[2])&&j(t[3])&&cn(t[4])}(e)||Wt(e)}(e)||!r&&!$t(e))&&(t=!1),!1}),t}(e)||e.nodes.length===1&&k(e.nodes[0],`none`)},La=A([`border-box`,`fill-box`,`view-box`]),Ra=A([`flat`,`preserve-3d`]),za=A([`normal`,`embed`,`isolate`,`bidi-override`,`isolate-override`,`plaintext`]),Ba=A([`auto`,`text`,`none`,`contain`,`all`]),Va=[`baseline`,`sub`,`super`,`text-top`,`text-bottom`,`middle`,`top`,`bottom`],Ha=A([`visible`,`hidden`,`collapse`]),Ua=A([`normal`,`pre`,`nowrap`,`pre-wrap`,`pre-line`]),Wa=A([`normal`,`break-all`,`keep-all`]),Ga=A([`horizontal-tb`,`vertical-rl`,`vertical-lr`,`sideways-rl`,`sideways-lr`]),Ka={"-moz-appearance":kr,"-moz-backface-visibility":ai,"-moz-binding":Ar,"-moz-box-align":Xr,"-moz-box-direction":zi,"-moz-box-orient":Ri,"-moz-box-pack":ia,"-moz-box-sizing":xi,"-moz-column-count":Di,"-moz-column-fill":Oi,"-moz-column-gap":ki,"-moz-column-span":Ai,"-moz-column-width":ji,"-moz-float-edge":jr,"-moz-font-kerning":Ui,"-moz-font-language-override":Wi,"-moz-force-broken-image-icon":Mr,"-moz-hyphens":Qi,"-moz-margin-end":pi,"-moz-margin-start":pi,"-moz-orient":Nr,"-moz-perspective":_a,"-moz-stack-sizing":Pr,"-moz-text-align-last":ka,"-moz-text-blink":Fr,"-moz-text-decoration-style":Aa,"-moz-text-size-adjust":Pa,"-moz-transform":Ia,"-moz-transform-style":Ra,"-moz-user-focus":Ir,"-moz-user-input":Lr,"-moz-user-modify":Rr,"-moz-user-select":Ba,"-moz-window-shadow":zr,"-ms-flex-align":Xr,"-ms-flex-direction":Bi,"-ms-flex-item-align":$r,"-ms-flex-line-pack":Yr,"-ms-flex-pack":oa,"-ms-flex-wrap":Vi,"-ms-grid-row-align":Zr,"-ms-hyphens":Qi,"-ms-interpolation-mode":ea,"-ms-overflow-style":Or,"-ms-scroll-snap-coordinate":Ta,"-ms-scroll-snap-type":Ea,"-ms-text-size-adjust":Pa,"-ms-transform":Ia,"-ms-user-select":Ba,"-ms-writing-mode":A([`horizontal-tb`,`vertical-rl`,`vertical-lr`,`sideways-rl`,`sideways-lr`,`lr-tb`,`tb-rl`,`tb-lr`]),"-o-object-fit":fa,"-o-transform":Ia,"-webkit-align-content":Jr,"-webkit-align-items":Zr,"-webkit-align-self":Qr,"-webkit-appearance":ri,"-webkit-backdrop-filter":ii,"-webkit-backface-visibility":ai,"-webkit-border-before-color":Br,"-webkit-border-before-style":Vr,"-webkit-border-before-width":Hr,"-webkit-box-align":Xr,"-webkit-box-decoration-break":hi,"-webkit-box-direction":zi,"-webkit-box-orient":Ri,"-webkit-box-pack":ia,"-webkit-box-sizing":xi,"-webkit-column-break-inside":wi,"-webkit-column-count":Di,"-webkit-column-fill":Oi,"-webkit-column-gap":ki,"-webkit-column-span":Ai,"-webkit-column-width":ji,"-webkit-filter":ii,"-webkit-flex-direction":Bi,"-webkit-flex-wrap":Vi,"-webkit-font-kerning":Ui,"-webkit-font-language-override":Wi,"-webkit-hyphens":Qi,"-webkit-justify-content":aa,"-webkit-margin-after":pi,"-webkit-margin-before":pi,"-webkit-margin-end":pi,"-webkit-margin-start":pi,"-webkit-mask-attachment":Ur,"-webkit-mask-repeat":Wr,"-webkit-mask-repeat-x":Gr,"-webkit-mask-repeat-y":Gr,"-webkit-perspective":_a,"-webkit-scroll-snap-coordinate":Ta,"-webkit-scroll-snap-type":Ea,"-webkit-tap-highlight-color":function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!Xt(e)&&!Wt(e)||!r&&!j(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},"-webkit-text-decoration-style":Aa,"-webkit-text-fill-color":Br,"-webkit-text-size-adjust":Pa,"-webkit-text-stroke-color":Br,"-webkit-text-stroke-width":Kr,"-webkit-touch-callout":qr,"-webkit-transform":Ia,"-webkit-transform-style":Ra,"-webkit-user-select":Ba,"-webkit-writing-mode":Ga,"align-content":Jr,"align-items":Zr,"align-self":Qr,all:ei,"animation-delay":ti,"animation-direction":function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!function(e){return k(e,mn)}(e)&&!Wt(e)||!r&&!j(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},"animation-duration":ti,"animation-fill-mode":function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!function(e){return k(e,hn)}(e)&&!Wt(e)||!r&&!j(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},"animation-iteration-count":function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!function(e){return k(e,gn)||qt(e)}(e)&&!Wt(e)||!r&&!j(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},"animation-name":function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!function(e){return k(e,`none`)||vn(e)}(e)&&!Wt(e)||!r&&!j(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},"animation-play-state":function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!function(e){return k(e,yn)}(e)&&!Wt(e)||!r&&!j(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},"animation-timing-function":ni,appearance:ri,"backdrop-filter":ii,"backface-visibility":ai,"background-attachment":Ur,"background-blend-mode":function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!wn(e)&&!Wt(e)||!r&&!j(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},"background-clip":oi,"background-color":Br,"background-image":function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!function(e){return er(e)||k(e,`none`)}(e)&&!Wt(e)||!r&&!j(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},"background-origin":oi,"background-position":si,"background-repeat":Wr,"background-size":ci,"border-block-end-color":Br,"border-block-end-style":Vr,"border-block-end-width":Hr,"border-block-start-color":Br,"border-block-start-style":Vr,"border-block-start-width":Hr,"border-bottom-color":Br,"border-bottom-left-radius":li,"border-bottom-right-radius":li,"border-bottom-style":ui,"border-bottom-width":di,"border-collapse":fi,"border-color":function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!Xt(e)&&!Wt(e)||!r&&!$t(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0&&e.nodes.length<=7},"border-image-source":function(e){if(e.nodes.length===1){var t=e.nodes[0];return er(t)||k(t,`none`)}return!1},"border-inline-end-color":Br,"border-inline-end-style":Vr,"border-inline-end-width":Hr,"border-inline-start-color":Br,"border-inline-start-style":Vr,"border-inline-start-width":Hr,"border-left-color":Br,"border-left-style":ui,"border-left-width":di,"border-right-color":Br,"border-right-style":ui,"border-right-width":di,"border-style":Vr,"border-top-color":Br,"border-top-left-radius":li,"border-top-right-radius":li,"border-top-style":ui,"border-top-width":di,"border-width":Hr,bottom:pi,"box-align":mi,"box-decoration-break":hi,"box-direction":gi,"box-flex":_i,"box-flex-group":Mr,"box-lines":vi,"box-ordinal-group":Mr,"box-orient":yi,"box-pack":bi,"box-sizing":xi,"box-suppress":Si,"break-inside":wi,"caption-side":Ti,clear:Ei,color:Br,"column-count":Di,"column-fill":Oi,"column-gap":ki,"column-rule-color":Br,"column-rule-style":ui,"column-rule-width":di,"column-span":Ai,"column-width":ji,direction:Mi,display:Ni,"display-inside":Pi,"display-list":Fi,"display-outside":Ii,"empty-cells":Li,filter:ii,"flex-direction":Bi,"flex-grow":_i,"flex-shrink":_i,"flex-wrap":Vi,float:Hi,"font-kerning":Ui,"font-language-override":Wi,"font-size":function(e){if(e.nodes.length===1){var t=e.nodes[0];return function(e){return k(e,ar)}(t)||function(e){return k(e,or)}(t)||On(t)}return!1},"font-size-adjust":function(e){if(e.nodes.length===1){var t=e.nodes[0];return qt(t)||k(t,`none`)}return!1},"font-stretch":Gi,"font-style":Ki,"font-variant-caps":qi,"font-variant-position":Ji,"font-weight":Yi,"grid-auto-columns":Xi,"grid-auto-rows":Xi,"grid-column-gap":Zi,"grid-row-gap":Zi,"grid-template-areas":function(e){if(e.nodes.length===1&&k(e.nodes[0],`none`))return!0;var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!Vn(e)&&!Wt(e)||!r&&!$t(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},hyphens:Qi,"image-rendering":$i,"ime-mode":ta,"initial-letter-align":na,isolation:ra,"justify-content":aa,left:pi,"letter-spacing":function(e){if(e.nodes.length===1){var t=e.nodes[0];return cn(t)||k(t,`normal`)}return!1},"line-break":sa,"line-height":function(e){if(e.nodes.length===1){var t=e.nodes[0];return qt(t)||On(t)||k(t,`normal`)}return!1},"list-style-image":Ar,"list-style-position":ca,"list-style-type":function(e){if(e.nodes.length===1){var t=e.nodes[0];return function(e){return vn(e)||k(e,lr)||function(e){if(!Ut(e,`symbols`))return!1;var t=!0;return(0,Lt.walk)(e.nodes,function(e,n){var r=n%2==0;return(r&&(n===0&&!k(e,ur)&&!Vn(e)&&!er(e)||n>1&&!Vn(e)&&!er(e))||!r&&!$t(e))&&(t=!1),!1}),t}(e)}(t)||Vn(t)||k(t,`none`)}return!1},"margin-block-end":pi,"margin-block-start":pi,"margin-bottom":pi,"margin-inline-end":pi,"margin-inline-start":pi,"margin-left":pi,"margin-right":pi,"margin-top":pi,"marker-offset":ji,"mask-composite":function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!function(e){return k(e,dr)}(e)&&!Wt(e)||!r&&!j(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},"mask-mode":function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!function(e){return k(e,fr)}(e)&&!Wt(e)||!r&&!j(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},"mask-origin":function(e){var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!function(e){return En(e)||k(e,pr)||k(e,mr)}(e)&&!Wt(e)||!r&&!j(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},"mask-position":si,"mask-repeat":Wr,"mask-size":ci,"mask-type":la,"max-block-size":da,"max-height":da,"max-inline-size":da,"max-width":da,"min-block-size":da,"min-height":da,"min-inline-size":da,"min-width":da,"mix-blend-mode":function(e){return e.nodes.length===1&&wn(e.nodes[0])},"motion-offset":Zi,"object-fit":fa,"object-position":pa,"offset-block-end":pi,"offset-block-start":pi,"offset-inline-end":pi,"offset-inline-start":pi,opacity:_i,order:Mr,orphans:Mr,"outline-color":function(e){if(e.nodes.length===1){var t=e.nodes[0];return Xt(t)||k(t,`invert`)}return!1},"outline-offset":Kr,"outline-style":function(e){if(e.nodes.length===1){var t=e.nodes[0];return Qt(t)||k(t,`auto`)}return!1},"outline-width":di,overflow:ma,"overflow-clip-box":ha,"overflow-wrap":ga,"overflow-x":ma,"overflow-y":ma,"padding-block-end":Zi,"padding-block-start":Zi,"padding-bottom":Zi,"padding-inline-end":Zi,"padding-inline-start":Zi,"padding-left":Zi,"padding-right":Zi,"padding-top":Zi,"page-break-after":Ci,"page-break-before":Ci,"page-break-inside":wi,perspective:_a,"perspective-origin":pa,"pointer-events":va,position:ya,resize:ba,right:pi,"ruby-align":xa,"ruby-merge":Sa,"ruby-position":Ca,"scroll-behavior":wa,"scroll-snap-coordinate":Ta,"scroll-snap-destination":pa,"scroll-snap-type":Ea,"scroll-snap-type-x":Ea,"scroll-snap-type-y":Ea,"shape-image-threshold":_i,"shape-margin":Zi,"tab-size":function(e){if(e.nodes.length===1){var t=e.nodes[0];return Kt(t)||cn(t)}return!1},"table-layout":Da,"text-align":Oa,"text-align-last":ka,"text-decoration-color":Br,"text-decoration-style":Aa,"text-emphasis-color":Br,"text-orientation":ja,"text-rendering":Ma,"text-shadow":function(e){return!!function(e){return Dn(e).every(hr)}(e)||e.nodes.length===1&&k(e.nodes[0],`none`)},"text-size-adjust":Pa,"text-transform":Fa,top:pi,transform:Ia,"transform-box":La,"transform-style":Ra,"transition-delay":ti,"transition-duration":ti,"transition-timing-function":ni,"unicode-bidi":za,"user-select":Ba,"vertical-align":function(e){if(e.nodes.length===1){var t=e.nodes[0];return On(t)||k(t,Va)}return!1},visibility:Ha,"white-space":Ua,widows:Mr,"will-change":function(e){if(e.nodes.length===1&&k(e.nodes[0],`auto`))return!0;var t=!0;return e.walk(function(e,n){var r=n%2==0;return(r&&!function(e){return k(e,Dr)||vn(e)}(e)&&!Wt(e)||!r&&!j(e))&&(t=!1),!1}),t&&e.nodes.length%2!=0},"word-break":Wa,"word-spacing":function(e){if(e.nodes.length===1){var t=e.nodes[0];return On(t)||k(t,`normal`)}return!1},"word-wrap":ga,"writing-mode":Ga,"z-index":function(e){if(e.nodes.length===1){var t=e.nodes[0];return Kt(t)||k(t,`auto`)}return!1}},qa=[`inherit`,`initial`,`revert`,`unset`];const Ja=/^(?:@|\$|--).+$/,Ya=/^-?(?:@.+|(?:(?:[a-zA-Z_-]|[^\x20-\x7F])+(?:[a-zA-Z0-9_-]|[^\x20-\x7F])*\.)?\$.+|var\(\s*--[\s\S]+\))$/,Xa=/^(?!var\(\s*--)[\s\S]+\([\s\S]*\)$/,Za=/^\/(.*)\/([a-zA-Z]*)$/,Qa=/color/,$a=e=>Za.test(e),eo=e=>{let[t,n]=(e=>e.match(Za).slice(1))(e);return new RegExp(t,n)},to=e=>$a(`${e}`)?eo(`${e}`):RegExp(`^${(0,at.default)(`${e}`)}$`),no=e=>{let t=[];if(e!=null&&e.parent){let{parent:n}=e;(function(e){return!!e&&typeof e==`object`&&`type`in e&&e.type===`atrule`})(n)&&t.push(`@${n.name.trim()}${n.params?` ${n.params.trim()}`:``}`),function(e){return!!e&&typeof e==`object`&&`type`in e&&e.type===`root`}(n)||t.push(...no(n))}return t};function ro(e){let t=typeof e;return t===`string`||t===`number`}function io(e){return ro(e)||Array.isArray(e)&&e.every(e=>ro(e))}function ao(e){return!(typeof e!=`object`||!e)&&Object.keys(e).every(t=>io(e[t]))}function oo(e){return!(typeof e!=`object`||!e)&&Object.keys(e).every(t=>typeof e[t]==`boolean`)}function so(e){if(typeof e!=`object`)return!1;let t=Object.keys(_t);return!(!Object.keys(e).every(e=>t.indexOf(e)>-1)||`ignoreVariables`in e&&typeof e.ignoreVariables!=`boolean`&&!oo(e.ignoreVariables)&&e.ignoreVariables!==null||`ignoreFunctions`in e&&typeof e.ignoreFunctions!=`boolean`&&!oo(e.ignoreFunctions)&&e.ignoreFunctions!==null||`severity`in e&&typeof e.severity!=`string`&&e.severity!==null||`ignoreKeywords`in e&&!io(e.ignoreKeywords)&&!ao(e.ignoreKeywords)||`ignoreValues`in e&&!io(e.ignoreValues)&&!ao(e.ignoreValues)||`ignoreAtRules`in e&&!io(e.ignoreAtRules)&&!function(e){return!(typeof e!=`object`||!e)&&Object.keys(e).every(t=>typeof e[t]==`boolean`||io(e[t]))}(e.ignoreAtRules)||`expandShorthand`in e&&typeof e.expandShorthand!=`boolean`&&e.expandShorthand!==null||`recurseLonghand`in e&&typeof e.recurseLonghand!=`boolean`&&e.recurseLonghand!==null||`message`in e&&typeof e.message!=`string`&&e.message!==null||`disableFix`in e&&typeof e.disableFix!=`boolean`&&e.disableFix!==null||`autoFixFunc`in e&&typeof e.autoFixFunc!=`function`&&typeof e.autoFixFunc!=`string`&&e.autoFixFunc!==null)}function co(e){let t;if(Array.isArray(e)){let n=e.pop();t=e.length?`${e.join(`, `)} or ${n}`:n}else t=e;return t}function lo(e,t){return typeof e==`boolean`?e:typeof e==`object`&&e&&{}.hasOwnProperty.call(e,t)?e[t]:!!e}function uo(e,t){if(!e)return null;let n=e;return gt(n,t)?n=n[t]:gt(n,``)&&(n=n[``]),Array.isArray(n)?n:[n]}function fo(e,t){if(!e)return null;let n=e;return gt(n,t)?n=n[t]:gt(n,``)&&(n=n[``]),Array.isArray(n)?n:[n]}const{utils:po}=t,mo={url:`https://github.com/AndyOGo/stylelint-declaration-strict-value/blob/master/README.md`,fixable:!0},ho=po.ruleMessages(ht,{expected:function(e,t,n){return`Expected ${e} for "${t}" of "${n}"`},customExpected:function(e,t,n,r){return r.replace("${types}",e).replace("${value}",t).replace("${property}",n)}}),go=(t,n)=>(i,a)=>{if(a&&a.stylelint&&a.stylelint.customMessages&&a.stylelint.customMessages[`scale-unlimited/declaration-strict-value`]&&delete a.stylelint.customMessages[`scale-unlimited/declaration-strict-value`],!po.validateOptions(a,`scale-unlimited/declaration-strict-value`,{actual:t,possible:io},{actual:n,possible:so,optional:!0}))return;Array.isArray(t)||(t=[t]);let o=ot({},_t,n),{ignoreVariables:s,ignoreFunctions:c,ignoreKeywords:l,ignoreValues:u,ignoreAtRules:d,message:f,disableFix:p,autoFixFunc:m,expandShorthand:h,recurseLonghand:g}=o,_=function(t){if(typeof t==`function`)return t;if(typeof t==`string`){let n=e(import.meta.url),i;try{i=n.resolve(t)}catch{i=n.resolve(r.join(process.cwd(),t))}return n(i)}return null}(m),v=l?{}:null,y=u?{}:null,b;if(s){let e=[];i.walkAtRules(`value`,t=>{let{params:n}=t,r=n.split(`:`)[0].trim();e.push(r)}),b=RegExp(`^-?(:?${e.join(`|`)})$`)}t.forEach(e=>{let t=e;function n(t,n,r,m=!1){let{value:h,prop:g}=t,x=r||h;if(d){let e=function(e,t,n){if(!e)return null;let r=e;if((e=>!!e&&typeof e==`object`&&!Array.isArray(e))(r)){let e=r;r=Object.keys(e).reduce((r,i)=>{let a=e[i];return(Array.isArray(a)?a:[a]).some(e=>{switch(typeof e){case`boolean`:return e;case`string`:{let r=to(e);return r.test(t)||n&&r.test(n)}default:return!1}})&&r.push(i),r},[])}return Array.isArray(r)?r:[r]}(d,g,n);if(e&&e.length){let n=no(t);if(n.length&&e.some(e=>{let t=to(e);return n.some(e=>t.test(e))}))return!1}}let S=!1,C=!1,w=!1,T=!1;if(s&&lo(s,e)&&(S=Ya.test(x)||b.test(x)),c&&!S&&lo(c,e)&&(C=Xa.test(x)),m&&(!s||s&&!S)&&(!c||c&&!C)&&!0!==((e,t)=>Qa.test(e)&&t===`transparent`||Ya.test(t)||Xa.test(t)||function(e,t){typeof t==`string`&&(t=(0,Rt.default)(t));var n=t.nodes[0];return!(t.nodes.length!==1||!k(n,qa)&&!Wt(n))||(Ka[e]?!!Ka[e](t)!=0||{type:`invalid`,message:`"`+t+`" is not a valid value for "`+e+`".`}:{type:`unknown`,message:`"`+e+`" is not a recognised property.`})}(e,t))(n,r))return!1;if(l&&(!S||!C)){let t=v[e];if(!t){let n=uo(l,e);n&&(t=RegExp(`^${n.join(`$|^`)}$`),v[e]=t)}t&&(w=t.test(x))}if(u&&(!S||!C||!w)){let t=y[e];if(!t){let n=fo(u,e);n&&(t=n.map(to),y[e]=t)}t&&(T=t.filter(e=>e.test(x)).length>0)}if(!(S||C||w||T)){let s=function(e,t){let{ignoreVariables:n,ignoreFunctions:r,ignoreKeywords:i,ignoreValues:a}=e,o=[];return n&&o.push(`variable`),r&&o.push(`function`),i&&uo(i,t)&&o.push(`keyword`),o.indexOf(`keyword`)===-1&&a&&fo(a,t)&&o.push(`keyword`),o}(o,e),c=t.source.start,l=t.source.end,u=!p&&_?()=>{try{let e=_(t,{validVar:S,validFunc:C,validKeyword:w,validValue:T,longhandProp:n,longhandValue:r},i,o);e&&(t.value=e)}catch{}}:void 0;return po.report({ruleName:ht,result:a,node:t,start:{line:c.line,column:c.column},end:{line:l.line,column:l.column},message:f?ho.customExpected(co(s),x,g,f):ho.expected(co(s),x,g),fix:u}),!0}return!1}$a(t)&&(t=eo(t)),i.walkDecls(function(e){let{value:r,prop:i}=e;if(Ja.test(i))return;let a=h&&mt.isShorthand(i);if(i===t||!a&&t instanceof RegExp&&t.test(i)){let t=lt.space(r);if(t.length>1){let r=!1;t.forEach(t=>{r||=n(e,i,t)})}else n(e)}else if(a){let a=mt.expand(i,r,g),o=!1;Object.keys(a).forEach(r=>{let i=a[r];!o&&(r===t||t instanceof RegExp&&t.test(r))&&(o=n(e,r,i,!0))})}})})};go.primaryOptionArray=!0,go.ruleName=ht,go.messages=ho,go.meta=mo;const _o=t.createPlugin(ht,go);function vo(e,t){if(!Array.isArray(e))return yo(e,t);for(let n of e){let e=yo(n,t);if(e)return e}return!1}function yo(e,t){if(!Array.isArray(t))return bo(e,t);for(let n of t){let t=bo(e,n);if(t)return t}return!1}function bo(e,t){let n=t[0],r=t[t.length-1],i=t[t.length-2],a=n===`/`&&(r===`/`||i===`/`&&r===`i`);return a?(a&&r===`i`?new RegExp(t.slice(1,-2),`i`).test(e):new RegExp(t.slice(1,-1)).test(e))?{match:e,pattern:t}:!1:e===t&&{match:e,pattern:t}}const xo={prefix(e){let t=e.match(/^(-\w+-)/);return t?t[0]:``},unprefixed(e){return e.replace(/^-\w+-/,``)}},So=t.utils.report,Co=t.utils.ruleMessages,wo=t.utils.validateOptions,To=`plugin/declaration-block-no-ignored-properties`,Eo=Co(To,{rejected:(e,t)=>`Unexpected "${e}" with "${t}"`}),Do=[{property:`display`,value:`inline`,ignoredProperties:[`width`,`min-width`,`max-width`,`height`,`min-height`,`max-height`,`margin`,`margin-top`,`margin-bottom`,`overflow`,`overflow-x`,`overflow-y`,`inline-size`,`min-inline-size`,`max-inline-size`,`block-size`,`min-block-size`,`max-block-size`,`margin-block-start`,`margin-block-end`,`overflow-block`,`overflow-inline`]},{property:`display`,value:`list-item`,ignoredProperties:[`vertical-align`]},{property:`display`,value:`block`,ignoredProperties:[`vertical-align`]},{property:`display`,value:`flex`,ignoredProperties:[`vertical-align`]},{property:`display`,value:`table`,ignoredProperties:[`vertical-align`]},{property:`display`,value:`/^table-(row|row-group|column|column-group|header-group|footer-group|cell)$/`,ignoredProperties:[`margin`,`margin-top`,`margin-right`,`margin-bottom`,`margin-left`,`margin-block-start`,`margin-inline-end`,`margin-block-end`,`margin-inline-start`]},{property:`display`,value:`/^table-(row|row-group|column|column-group|header-group|footer-group)$/`,ignoredProperties:[`padding`,`padding-top`,`padding-right`,`padding-bottom`,`padding-left`,`padding-block-start`,`padding-inline-end`,`padding-block-end`,`padding-inline-start`]},{property:`display`,value:`/^table-(row|row-group|column|column-group|header-group|footer-group|caption)$/`,ignoredProperties:[`vertical-align`]},{property:`display`,value:`/^table-(row|row-group)$/`,ignoredProperties:[`width`,`min-width`,`max-width`,`inline-size`,`min-inline-size`,`max-inline-size`]},{property:`display`,value:`/^table-(column|column-group)$/`,ignoredProperties:[`height`,`min-height`,`max-height`,`block-size`,`min-block-size`,`max-block-size`]},{property:`float`,value:`left`,ignoredProperties:[`vertical-align`]},{property:`float`,value:`right`,ignoredProperties:[`vertical-align`]},{property:`position`,value:`static`,ignoredProperties:[`top`,`right`,`bottom`,`left`,`z-index`,`inset-block-start`,`inset-inline-end`,`inset-block-end`,`inset-inline-start`]},{property:`position`,value:`absolute`,ignoredProperties:[`float`,`clear`,`vertical-align`]},{property:`position`,value:`fixed`,ignoredProperties:[`float`,`clear`,`vertical-align`]},{property:`list-style-type`,value:`none`,ignoredProperties:[`list-style-image`]},{property:`overflow`,value:`visible`,ignoredProperties:[`resize`]}];var Oo=t.createPlugin(To,e=>(t,n)=>{wo(n,`plugin/declaration-block-no-ignored-properties`,{actual:e})&&t.walkRules(e=>{let t={};e.walkDecls(e=>{t[e.prop]=e});function r(e,r){let i=t[e],a=i.value,o=xo.unprefixed(e),s=xo.unprefixed(a);Do.forEach(e=>{let t=vo(o.toLowerCase(),e.property),a=vo(s.toLowerCase(),e.value);if(!t||!a)return;let c=e.ignoredProperties;i.parent.nodes.forEach((e,t)=>{e.prop&&c.indexOf(e.prop.toLowerCase())!==-1&&r!==t&&So({message:Eo.rejected(e.prop,i.toString()),node:e,result:n,ruleName:To})})})}Object.keys(t).forEach(r)})}),ko=/* @__PURE__ */ p(((e,t)=>{var n=/^[a-f0-9?-]+$/i;t.exports=function(e){for(var t=[],r=e,i,a,o,s,c,l,u,d,f=0,p=r.charCodeAt(f),m=r.length,h=[{nodes:t}],g=0,_,v=``,y=``,b=``;f<m;)if(p<=32){i=f;do i+=1,p=r.charCodeAt(i);while(p<=32);s=r.slice(f,i),o=t[t.length-1],p===41&&g?b=s:o&&o.type===`div`?(o.after=s,o.sourceEndIndex+=s.length):p===44||p===58||p===47&&r.charCodeAt(i+1)!==42&&(!_||_&&_.type===`function`&&_.value!==`calc`)?y=s:t.push({type:`space`,sourceIndex:f,sourceEndIndex:i,value:s}),f=i}else if(p===39||p===34){i=f,a=p===39?`'`:`"`,s={type:`string`,sourceIndex:f,quote:a};do if(c=!1,i=r.indexOf(a,i+1),~i)for(l=i;r.charCodeAt(l-1)===92;)--l,c=!c;else r+=a,i=r.length-1,s.unclosed=!0;while(c);s.value=r.slice(f+1,i),s.sourceEndIndex=s.unclosed?i:i+1,t.push(s),f=i+1,p=r.charCodeAt(f)}else if(p===47&&r.charCodeAt(f+1)===42)i=r.indexOf(`*/`,f),s={type:`comment`,sourceIndex:f,sourceEndIndex:i+2},i===-1&&(s.unclosed=!0,i=r.length,s.sourceEndIndex=i),s.value=r.slice(f+2,i),t.push(s),f=i+2,p=r.charCodeAt(f);else if((p===47||p===42)&&_&&_.type===`function`&&_.value===`calc`)s=r[f],t.push({type:`word`,sourceIndex:f-y.length,sourceEndIndex:f+s.length,value:s}),f+=1,p=r.charCodeAt(f);else if(p===47||p===44||p===58)s=r[f],t.push({type:`div`,sourceIndex:f-y.length,sourceEndIndex:f+s.length,value:s,before:y,after:``}),y=``,f+=1,p=r.charCodeAt(f);else if(p===40){i=f;do i+=1,p=r.charCodeAt(i);while(p<=32);if(d=f,s={type:`function`,sourceIndex:f-v.length,value:v,before:r.slice(d+1,i)},f=i,v===`url`&&p!==39&&p!==34){--i;do if(c=!1,i=r.indexOf(`)`,i+1),~i)for(l=i;r.charCodeAt(l-1)===92;)--l,c=!c;else r+=`)`,i=r.length-1,s.unclosed=!0;while(c);u=i;do--u,p=r.charCodeAt(u);while(p<=32);d<u?(f===u+1?s.nodes=[]:s.nodes=[{type:`word`,sourceIndex:f,sourceEndIndex:u+1,value:r.slice(f,u+1)}],s.unclosed&&u+1!==i?(s.after=``,s.nodes.push({type:`space`,sourceIndex:u+1,sourceEndIndex:i,value:r.slice(u+1,i)})):(s.after=r.slice(u+1,i),s.sourceEndIndex=i)):(s.after=``,s.nodes=[]),f=i+1,s.sourceEndIndex=s.unclosed?i:f,p=r.charCodeAt(f),t.push(s)}else g+=1,s.after=``,s.sourceEndIndex=f+1,t.push(s),h.push(s),t=s.nodes=[],_=s;v=``}else if(p===41&&g)f+=1,p=r.charCodeAt(f),_.after=b,_.sourceEndIndex+=b.length,b=``,--g,h[h.length-1].sourceEndIndex=f,h.pop(),_=h[g],t=_.nodes;else{i=f;do p===92&&(i+=1),i+=1,p=r.charCodeAt(i);while(i<m&&!(p<=32||p===39||p===34||p===44||p===58||p===47||p===40||p===42&&_&&_.type===`function`&&_.value===`calc`||p===47&&_.type===`function`&&_.value===`calc`||p===41&&g));s=r.slice(f,i),p===40?v=s:(s.charCodeAt(0)===117||s.charCodeAt(0)===85)&&s.charCodeAt(1)===43&&n.test(s.slice(2))?t.push({type:`unicode-range`,sourceIndex:f,sourceEndIndex:i,value:s}):t.push({type:`word`,sourceIndex:f,sourceEndIndex:i,value:s}),f=i}for(f=h.length-1;f;--f)h[f].unclosed=!0,h[f].sourceEndIndex=r.length;return h[0].nodes}})),Ao=/* @__PURE__ */ p(((e,t)=>{t.exports=function e(t,n,r){for(var i=0,a=t.length,o,s;i<a;i+=1)o=t[i],r||(s=n(o,i,t)),s!==!1&&o.type===`function`&&Array.isArray(o.nodes)&&e(o.nodes,n,r),r&&n(o,i,t)}})),jo=/* @__PURE__ */ p(((e,t)=>{function n(e,t){var n=e.type,i=e.value,a,o;return t&&(o=t(e))!==void 0?o:n===`word`||n===`space`?i:n===`string`?(a=e.quote||``,a+i+(e.unclosed?``:a)):n===`comment`?`/*`+i+(e.unclosed?``:`*/`):n===`div`?(e.before||``)+i+(e.after||``):Array.isArray(e.nodes)?(a=r(e.nodes,t),n===`function`?i+`(`+(e.before||``)+a+(e.after||``)+(e.unclosed?``:`)`):a):i}function r(e,t){var r,i;if(Array.isArray(e)){for(r=``,i=e.length-1;~i;--i)r=n(e[i],t)+r;return r}return n(e,t)}t.exports=r})),Mo=/* @__PURE__ */ p(((e,t)=>{function n(e){var t=e.charCodeAt(0),n;if(t===43||t===45){if(n=e.charCodeAt(1),n>=48&&n<=57)return!0;var r=e.charCodeAt(2);return n===46&&r>=48&&r<=57}return t===46?(n=e.charCodeAt(1),n>=48&&n<=57):t>=48&&t<=57}t.exports=function(e){var t=0,r=e.length,i,a,o;if(r===0||!n(e))return!1;for(i=e.charCodeAt(t),(i===43||i===45)&&t++;t<r&&(i=e.charCodeAt(t),!(i<48||i>57));)t+=1;if(i=e.charCodeAt(t),a=e.charCodeAt(t+1),i===46&&a>=48&&a<=57)for(t+=2;t<r&&(i=e.charCodeAt(t),!(i<48||i>57));)t+=1;if(i=e.charCodeAt(t),a=e.charCodeAt(t+1),o=e.charCodeAt(t+2),(i===101||i===69)&&(a>=48&&a<=57||(a===43||a===45)&&o>=48&&o<=57))for(t+=a===43||a===45?3:2;t<r&&(i=e.charCodeAt(t),!(i<48||i>57));)t+=1;return{number:e.slice(0,t),unit:e.slice(t)}}})),No=/* @__PURE__ */ h((/* @__PURE__ */ p(((e,t)=>{var n=ko(),r=Ao(),i=jo();function a(e){return this instanceof a?(this.nodes=n(e),this):new a(e)}a.prototype.toString=function(){return Array.isArray(this.nodes)?i(this.nodes):``},a.prototype.walk=function(e,t){return r(this.nodes,e,t),this},a.unit=Mo(),a.walk=r,a.stringify=i,t.exports=a})))(),1);const Po=/* @__PURE__ */ new Set([`and`,`not`,`only`,`or`]),Fo=/* @__PURE__ */ new Set([`aspect-ratio`,`min-aspect-ratio`,`max-aspect-ratio`,`device-aspect-ratio`,`min-device-aspect-ratio`,`max-device-aspect-ratio`]),Io=/^aspect-ratio$/iu,Lo=/(\r?\n)/u,Ro=/^[ \t\n\r\f]*:[ \t\n\r\f]*/u,zo=/#[\da-z]+/iu,Bo=/\r\n/u,Vo=/[\n\r\f]/u,Ho=/\d/u,Uo=/\r?\n[\t ]*\r?\n/u,Wo=/\\(?=\/)/gu,Go=/[a-z]+/gu,Ko=/[A-Z]+/gu,qo=/(\*\/|\/\*)/gu,Jo=/[\uE000\uE001]/gu,Yo=/[ \t]/gu,Xo=/^(?:grid-template-areas|grid-template|grid)$/iu,Zo=/[ \t\n\r\f]+/gu,Qo=/(\r?\n)(?:[\t ;]*\r?\n)+/gu,$o=/\\.|"[^"\\]*(?:\\.[^"\\]*)*"|'[^'\\]*(?:\\.[^'\\]*)*'|\/\*.*?\*\//gsu,es=/\\.|\/\/|"[^"\\]*(?:\\.[^"\\]*)*"|'[^'\\]*(?:\\.[^'\\]*)*'|\/\*.*?\*\//gsu,ts=/#\{[\s\S]+?\}|@\{.+?\}|\$\(.+?\)/gu,ns=/\r\n|[\n\r\u2028\u2029]/gu,rs=/["']/gu,is=/[\uE000\uE001]/u,as=/^\uFEFF/u,os=/[()]/gu,ss=/[^\n]/gu,cs=/\n/u,ls=/(?:\r?\n)+/gu,us=/\r?\n(?:[ \t]*\r?\n)*/gu,ds=/^[ \t]*\r?\n(?:[ \t]*\r?\n)*/u,fs=/[^\n]*\n/gu,M=/\r?\n/gu,ps=/(\r?\n)(?:[ \t\f]|\r(?!\n))*(?=\S|$)/gu,ms=/(?:^|\n)([\t ]*)\S/gu,hs=/(?<=^|\n) *(?=\S)/gu,gs=/;/gu,_s=/ /gu,vs=/\t/gu,ys=/\s/gu,bs=/__MSG_\S+__/u,xs=/(?:\D|^)(\.\d+)/u,Ss=/(?:\D|^)(0+)(\.\d+)/u,Cs=/\.(\d{0,100}?)(0+)(?:\D|$)/u,ws=/^#[\da-z]+/iu,Ts=/^(?:\r\n|[ \t\n\r\f])$/u,Es=/[\w\-\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uD800-\uDFFF\uF900-\uFDCF\uFDF0-\uFFFD]/u,Ds=RegExp(`(?<!${Es.source}|[\\u{10000}-\\u{10FFFF}#@\\\\])url\\((?![\\t\\n\\f\\r ]*["'])`,`giu`),Os=RegExp(`${Es.source}+$`,`u`),ks=/[a-z]$/iu,As=/(?<!\\)(?:\\\\)*\\(?:[\da-f]{1,6}(?:\r\n|[\t\n\f\r ])?|[^\da-f\n\r\f])$/iu,js=/^import$/iu,Ms=/[\n\r]/u,Ns=/[\n\r\f]/u,Ps=/[#@]/u,Fs=/[^\n]+$/u,Is=/^[^\S\n]*\/\*([\s\S]*?)\*\//u,Ls=/^[ \t\r\f]*\}/u,Rs=/^[ \t\r\f]*\)/u,zs=/^:[ \t\n\r\f]*/u,N=/^[ \t\n\r\f]*/u,Bs=/^[ \t\n\r\f;]*/u,Vs=/^[^ \t\n\r\f]*/u,Hs=/^charset$/iu,Us=/^\\[\da-f]{1,6}(?:\r\n|[ \t\n\r\f])?/iu,Ws=/^![ \t\n\r\f]*important[^\n]*/iu,Gs=/^([ \t\r\f]*)[^ \t\n\r\f]/u,Ks=/^\r?\n/u,qs=/\r?\n[ \t]*$/u,Js=/^(?:\r?\n)+/u,Ys=/^\S/u,Xs=/^[+-]?\d*\.?\d+/u,Zs=/^[-+*/]/u,Qs=/^[ \t\n\r\f]+[+-]/u,$s=/^[ \t\n\r\f]+[+-](?![\d.])/u,ec=/^[ \t]*/u,tc=/^\s*/u,nc=/^(\s*)([\s\S]*)$/u,rc=/^(?:\s+|\/\*.*?\*\/)/su,ic=/^\s+/u,ac=/^(?:[ \t\f]|\r(?!\n))*/u,oc=/^(?:[\t\n\f\r ]+|@[^\t\n\f\r "#'()/;[\\\]{}]*|[:;[\]{}]|(?:\\\\)+(?!\\)|(?:\\\\)*\\(?:[\da-f]+ ?|[^\t\n\f\r /\da-f\u{10000}-\u{10FFFF}])?)/iu,sc=/@\{.+?\}/u,P=/\r?\n/u,cc=/^media$/iu,lc=/[#@]/u,uc=/[^ ]/u,dc=/^(?:\d+(?:\.\d+)?|\.\d+)$/u,fc=/\{[ \t\f\r]*$/u,pc=/\([ \t\f\r]*(?:\/\*(?:[^*]|\*(?!\/))*\*\/[ \t\f\r]*)*$/u,mc=/^-?\d|^-$/u,hc=/^(?:[ \t\f]|\r(?!\n))*\/\*/u,gc=/^[^\S\n]*\/\//u,_c=/^[ \t\n\r\f]*\n/u,vc=/^(?:[ \t\f]|\r(?!\n))*\r?\n/u,yc=/^\s*["']/u,bc=/^[\t\n\f\r "']/u,xc=/^[ \t]/u,Sc=/^\s*</u,Cc=/.[\r\n"'(/\\]/u,wc=/\$\(.+?\)/u,Tc=/[<>=]/u,Ec=/;+/u,Dc=/^[ \t\n\r\f;]+$/u,Oc=/^[ \t]+$/u,kc=/^[ \t]*\/\*/u,Ac=/^[ \t]*\/\//u,jc=/[!#%&*-~\u0080-\uFFFF]/u,Mc=/#\{.+?\}/su,Nc=/[ \t]/u,Pc=/@[^\t\n\f\r "#'()/;[\\\]{}]*$/u,Fc=/[\t\n\f\r "'():;[\]{}]/u,Ic=/[\t\n\f\r "'():;@[\\\]{}]/u,Lc=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/u,Rc=/[,\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/u,zc=/\{.+?\}/su,Bc=/\\*$/u,Vc=/\}+(?:[ \t\f\r,;)\]]*)$/u,F=/[ \t\n\r\f]*$/u,Hc=/;$/u,Uc=/^\\3c /u,Wc=/\\[\da-f]{1,6}$/iu,Gc=/\\[\da-f]{7,}$/iu,Kc=/\\[\da-f]{7,}/iu,qc=/\n$/u,Jc=/ *$/u,Yc=/[ \t]+$/u,Xc=/\s*$/u,Zc=/\s+$/u,Qc=/(?:[ \t\f]|\r(?!\n))+$/u,$c=/[^!#-&*+\-.\d;-\uFFFF]/u,el=/^-[a-z]+-/iu,tl=/\s/u,nl=/^[ \t\n\r\f]+$/u,rl=/^[ \t\n\r\f]*$/u,il=/^\s*\/\*/u,al=/^\s+\/\//u,ol=/^(?:[ \t\f]|\r(?!\n))*(?=\S|$)/u,sl=/^(?:[ \t\f]|\r(?!\n))*$/u,cl=/^stylelint-enable(?:\s+(?!--)(.*?))?(?:\s+--(?:\s.*)?)?$/su,ll=/^stylelint-disable-(?:next-)?line\b/u,ul=/[^;]/gu,dl=/[ \t\r]/u,fl=/[ \t\0]+$/u,pl=/[ \t\r\0]+$/u,ml=/[\s{};]/u,hl=/^[()[\]]$/u,gl=/^[;{}]$/u,_l=/^["'/]$/u,vl=/,/gu,yl=/\(\s+\)|\(\s+,|,\s+\)|,\s+,|\)\s+,\s+,|\([^)]*,,[^)]*\)/u;var bl=/* @__PURE__ */ p(((e,t)=>{let n=process||{},r=n.argv||[],i=n.env||{},a=!(i.NO_COLOR||r.includes(`--no-color`))&&(!!i.FORCE_COLOR||r.includes(`--color`)||n.platform===`win32`||(n.stdout||{}).isTTY&&i.TERM!==`dumb`||!!i.CI),o=(e,t,n=e)=>r=>{let i=``+r,a=i.indexOf(t,e.length);return~a?e+s(i,t,n,a)+t:e+i+t},s=(e,t,n,r)=>{let i=``,a=0;do i+=e.substring(a,r)+n,a=r+t.length,r=e.indexOf(t,a);while(~r);return i+e.substring(a)},c=(e=a)=>{let t=e?o:()=>String;return{isColorSupported:e,reset:t(`\x1B[0m`,`\x1B[0m`),bold:t(`\x1B[1m`,`\x1B[22m`,`\x1B[22m\x1B[1m`),dim:t(`\x1B[2m`,`\x1B[22m`,`\x1B[22m\x1B[2m`),italic:t(`\x1B[3m`,`\x1B[23m`),underline:t(`\x1B[4m`,`\x1B[24m`),inverse:t(`\x1B[7m`,`\x1B[27m`),hidden:t(`\x1B[8m`,`\x1B[28m`),strikethrough:t(`\x1B[9m`,`\x1B[29m`),black:t(`\x1B[30m`,`\x1B[39m`),red:t(`\x1B[31m`,`\x1B[39m`),green:t(`\x1B[32m`,`\x1B[39m`),yellow:t(`\x1B[33m`,`\x1B[39m`),blue:t(`\x1B[34m`,`\x1B[39m`),magenta:t(`\x1B[35m`,`\x1B[39m`),cyan:t(`\x1B[36m`,`\x1B[39m`),white:t(`\x1B[37m`,`\x1B[39m`),gray:t(`\x1B[90m`,`\x1B[39m`),bgBlack:t(`\x1B[40m`,`\x1B[49m`),bgRed:t(`\x1B[41m`,`\x1B[49m`),bgGreen:t(`\x1B[42m`,`\x1B[49m`),bgYellow:t(`\x1B[43m`,`\x1B[49m`),bgBlue:t(`\x1B[44m`,`\x1B[49m`),bgMagenta:t(`\x1B[45m`,`\x1B[49m`),bgCyan:t(`\x1B[46m`,`\x1B[49m`),bgWhite:t(`\x1B[47m`,`\x1B[49m`),blackBright:t(`\x1B[90m`,`\x1B[39m`),redBright:t(`\x1B[91m`,`\x1B[39m`),greenBright:t(`\x1B[92m`,`\x1B[39m`),yellowBright:t(`\x1B[93m`,`\x1B[39m`),blueBright:t(`\x1B[94m`,`\x1B[39m`),magentaBright:t(`\x1B[95m`,`\x1B[39m`),cyanBright:t(`\x1B[96m`,`\x1B[39m`),whiteBright:t(`\x1B[97m`,`\x1B[39m`),bgBlackBright:t(`\x1B[100m`,`\x1B[49m`),bgRedBright:t(`\x1B[101m`,`\x1B[49m`),bgGreenBright:t(`\x1B[102m`,`\x1B[49m`),bgYellowBright:t(`\x1B[103m`,`\x1B[49m`),bgBlueBright:t(`\x1B[104m`,`\x1B[49m`),bgMagentaBright:t(`\x1B[105m`,`\x1B[49m`),bgCyanBright:t(`\x1B[106m`,`\x1B[49m`),bgWhiteBright:t(`\x1B[107m`,`\x1B[49m`)}};t.exports=c(),t.exports.createColors=c})),xl=/* @__PURE__ */ p(((e,t)=>{let n=/[\t\n\f\r "#'()/;[\\\]{}]/g,r=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,i=/.[\r\n"'(/\\]/,a=/[\da-f]/i;t.exports=function(e,t={}){let o=e.css.valueOf(),s=t.ignoreErrors,c,l,u,d,f,p,m,h,g,_,v=o.length,y=0,b=[],x=[],S=-1;function C(){return y}function w(t){throw e.error(`Unclosed `+t,y)}function T(){return x.length===0&&y>=v}function E(e){if(x.length)return x.pop();if(y>=v)return;let t=e?e.ignoreUnclosed:!1;switch(c=o.charCodeAt(y),c){case 10:case 32:case 9:case 13:case 12:d=y;do d+=1,c=o.charCodeAt(d);while(c===32||c===10||c===9||c===13||c===12);p=[`space`,o.slice(y,d)],y=d-1;break;case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let e=String.fromCharCode(c);p=[e,e,y];break}case 40:if(_=b.length?b.pop()[1]:``,g=o.charCodeAt(y+1),_===`url`&&g!==39&&g!==34&&g!==32&&g!==10&&g!==9&&g!==12&&g!==13){d=y;do{if(m=!1,d=o.indexOf(`)`,d+1),d===-1){if(s||t){d=y;break}w(`bracket`)}for(h=d;o.charCodeAt(h-1)===92;)--h,m=!m}while(m);p=[`brackets`,o.slice(y,d+1),y,d],y=d}else y<=S?p=[`(`,`(`,y]:(d=o.indexOf(`)`,y+1),l=o.slice(y,d+1),d===-1||i.test(l)?(S=d===-1?v:d,p=[`(`,`(`,y]):(p=[`brackets`,l,y,d],y=d));break;case 39:case 34:f=c===39?`'`:`"`,d=y;do{if(m=!1,d=o.indexOf(f,d+1),d===-1){if(s||t){d=y+1;break}w(`string`)}for(h=d;o.charCodeAt(h-1)===92;)--h,m=!m}while(m);p=[`string`,o.slice(y,d+1),y,d],y=d;break;case 64:n.lastIndex=y+1,n.test(o),d=n.lastIndex===0?o.length-1:n.lastIndex-2,p=[`at-word`,o.slice(y,d+1),y,d],y=d;break;case 92:for(d=y,u=!0;o.charCodeAt(d+1)===92;)d+=1,u=!u;if(c=o.charCodeAt(d+1),u&&c!==47&&c!==32&&c!==10&&c!==9&&c!==13&&c!==12&&(d+=1,a.test(o.charAt(d)))){for(;a.test(o.charAt(d+1));)d+=1;o.charCodeAt(d+1)===32&&(d+=1)}p=[`word`,o.slice(y,d+1),y,d],y=d;break;default:c===47&&o.charCodeAt(y+1)===42?(d=o.indexOf(`*/`,y+2)+1,d===0&&(s||t?d=o.length:w(`comment`)),p=[`comment`,o.slice(y,d+1),y,d],y=d):(r.lastIndex=y+1,r.test(o),d=r.lastIndex===0?o.length-1:r.lastIndex-2,p=[`word`,o.slice(y,d+1),y,d],b.push(p),y=d)}return y++,p}function ee(e){x.push(e)}return{back:ee,endOfFile:T,nextToken:E,position:C}}})),Sl=/* @__PURE__ */ p(((e,t)=>{let n=bl(),r=xl(),i;function a(e){i=e}let o={";":n.yellow,":":n.yellow,"(":n.cyan,")":n.cyan,"[":n.yellow,"]":n.yellow,"{":n.yellow,"}":n.yellow,"at-word":n.cyan,brackets:n.cyan,call:n.cyan,class:n.yellow,comment:n.gray,hash:n.magenta,string:n.green};function s([e,t],n){if(e===`word`){if(t[0]===`.`)return`class`;if(t[0]===`#`)return`hash`}if(!n.endOfFile()){let e=n.nextToken();if(n.back(e),e[0]===`brackets`||e[0]===`(`)return`call`}return e}function c(e){let t=r(new i(e),{ignoreErrors:!0}),n=``;for(;!t.endOfFile();){let e=t.nextToken(),r=o[s(e,t)];n+=r?e[1].split(/\r?\n/).map(e=>r(e)).join(`
|
|
3
|
+
`):e[1]}return n}c.registerInput=a,t.exports=c})),Cl=/* @__PURE__ */ p(((e,t)=>{let n=bl(),r=Sl();var i=class e extends Error{constructor(t,n,r,i,a,o){super(t),this.name=`CssSyntaxError`,this.reason=t,a&&(this.file=a),i&&(this.source=i),o&&(this.plugin=o),n!==void 0&&r!==void 0&&(typeof n==`number`?(this.line=n,this.column=r):(this.line=n.line,this.column=n.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,e)}setMessage(){this.message=this.plugin?this.plugin+`: `:``,this.message+=this.file?this.file:`<css input>`,this.line!==void 0&&(this.message+=`:`+this.line+`:`+this.column),this.message+=`: `+this.reason}showSourceCode(e){if(!this.source)return``;let t=this.source;e??=n.isColorSupported;let i=e=>e,a=e=>e,o=e=>e;if(e){let{bold:e,gray:t,red:s}=n.createColors(!0);a=t=>e(s(t)),i=e=>t(e),r&&(o=e=>r(e))}let s=t.split(/\r?\n/),c=Math.max(this.line-3,0),l=Math.min(this.line+2,s.length),u=String(l).length;return s.slice(c,l).map((e,t)=>{let n=c+1+t,r=` `+(` `+n).slice(-u)+` | `;if(n===this.line){if(e.length>160){let t=Math.max(0,this.column-20),n=Math.max(this.column+20,this.endColumn+20),s=e.slice(t,n),c=i(r.replace(/\d/g,` `))+e.slice(0,Math.min(this.column-1,19)).replace(/[^\t]/g,` `);return a(`>`)+i(r)+o(s)+`
|
|
4
4
|
`+c+a(`^`)}let t=i(r.replace(/\d/g,` `))+e.slice(0,this.column-1).replace(/[^\t]/g,` `);return a(`>`)+i(r)+o(e)+`
|
|
5
5
|
`+t+a(`^`)}return` `+i(r)+o(e)}).join(`
|
|
6
6
|
`)}toString(){let e=this.showSourceCode();return e&&=`
|
|
7
7
|
|
|
8
8
|
`+e+`
|
|
9
|
-
`,this.name+`: `+this.message+e}};t.exports=i,i.default=i})),
|
|
9
|
+
`,this.name+`: `+this.message+e}};t.exports=i,i.default=i})),wl=/* @__PURE__ */ p(((e,t)=>{let n=/[\t\n\f\r "#'()/;[\\\]{}]/,r={after:`
|
|
10
10
|
`,beforeClose:`
|
|
11
11
|
`,beforeComment:`
|
|
12
12
|
`,beforeDecl:`
|
|
@@ -21,90 +21,73 @@ import{createRequire as e}from"node:module";import t from"stylelint";import n fr
|
|
|
21
21
|
/* c8 ignore start */
|
|
22
22
|
if(!this[e.type])throw Error(`Unknown AST node type `+e.type+`. Maybe you need to change PostCSS stringifier.`);
|
|
23
23
|
/* c8 ignore stop */
|
|
24
|
-
this[e.type](e,t)}};t.exports=l,l.default=l})),
|
|
24
|
+
this[e.type](e,t)}};t.exports=l,l.default=l})),Tl=/* @__PURE__ */ p(((e,t)=>{let n=wl(),r=/(<)(\/?style\b)/gi,i=/(<)(!--)/g;function a(e){return e.includes(`<`)?e.replace(r,`\\3c $2`).replace(i,`\\3c $2`):e}function o(e,t,n){let r=[],i=0,a=0;for(let o=0;o<e.length;o+=3){let s=a,c=i+e[o].length;for(;i<c;)t[i]===n[a]?(i+=1,a+=1):(i+=1,a+=4);r.push(n.slice(s,a))}return r}var s=class extends n{escapeHTML(e){let t=this.builder,n,r;if(this.builder=(e,i,a)=>{n?(r+=e,n.push(e,i,a)):e.includes(`<`)?(r=e,n=[e,i,a]):t(e,i,a)},e(),this.builder=t,!n)return;let i=a(r);if(i===r)for(let e=0;e<n.length;e+=3)t(n[e],n[e+1],n[e+2]);else{let e=o(n,r,i);for(let r=0;r<n.length;r+=3)t(e[r/3],n[r+1],n[r+2])}}root(e){e.parent&&e.parent.type===`document`?(this.escapeHTML(()=>this.body(e)),e.raws.after&&this.builder(e.raws.after)):this.escapeHTML(()=>super.root(e))}};function c(e,t){let n=new s(t);e.type===`root`||e.type===`document`?n.stringify(e):n.escapeHTML(()=>n.stringify(e))}t.exports=c,c.default=c})),El=/* @__PURE__ */ p(((e,t)=>{t.exports.isClean=Symbol(`isClean`),t.exports.my=Symbol(`my`)})),Dl=/* @__PURE__ */ p(((e,t)=>{let n=Cl(),r=wl(),i=Tl(),{isClean:a,my:o}=El();function s(e,t){let n=new e.constructor,r=[[e,n,t]];for(;r.length>0;){let[e,t,n]=r.pop();for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i)||i===`proxyCache`)continue;let a=e[i],o=typeof a;if(i===`parent`&&o===`object`)n&&(t[i]=n);else if(i===`source`)t[i]=a;else if(Array.isArray(a)){let e=[];t[i]=e;for(let n of a){let i=new n.constructor;e.push(i),r.push([n,i,t])}}else{if(o===`object`&&a!==null){let e=new a.constructor;r.push([a,e,void 0]),a=e}t[i]=a}}}return n}function c(e,t){if(t&&t.offset!==void 0)return t.offset;let n=1,r=1,i=0;for(let a=0;a<e.length;a++){if(r===t.line&&n===t.column){i=a;break}e[a]===`
|
|
25
25
|
`?(n=1,r+=1):n+=1}return i}var l=class e{get proxyOf(){return this}constructor(e={}){this.raws={},this[a]=!1,this[o]=!0;for(let t of Object.keys(e))if(t!==`__proto__`){if(t===`nodes`){this.nodes=[];for(let n of e[t])typeof n.clone==`function`&&n.parent?this.append(n.clone()):this.append(n)}else this[t]=e[t]}}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=s(this);for(let n in e)t[n]=e[n];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:n,start:r}=this.rangeBy(t);return this.source.input.error(e,{column:r.column,line:r.line},{column:n.column,line:n.line},t)}return new n(e)}getProxyProcessor(){return{get(e,t){return t===`proxyOf`?e:t===`root`?()=>e.root().toProxy():e[t]},set(e,t,n){return e[t]===n||(e[t]=n,(t===`prop`||t===`value`||t===`name`||t===`params`||t===`important`||
|
|
26
26
|
/* c8 ignore next */
|
|
27
27
|
t===`text`)&&e.markDirty()),!0}}}
|
|
28
28
|
/* c8 ignore next 3 */
|
|
29
|
-
markClean(){this[a]=!0}markDirty(){if(this[a]){this[a]=!1;let e=this;for(;e=e.parent;)e[a]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e={}){let t=`document`in this.source.input?this.source.input.document:this.source.input.css,n={column:this.source.start.column,line:this.source.start.line,offset:c(t,this.source.start)};if(e.index)n=this.positionInside(e.index);else if(e.word){let r=t.slice(c(t,this.source.start),
|
|
30
|
-
`?(t=1,n+=1):t+=1;return{column:t,line:n,offset:a}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e={}){let t=`document`in this.source.input?this.source.input.document:this.source.input.css,n={column:this.source.start.column,line:this.source.start.line,offset:c(t,this.source.start)},r=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:c(t,this.source.end)+1}:{column:n.column+1,line:n.line,offset:n.offset+1};if(e.word){let i=t.slice(c(t,this.source.start),
|
|
29
|
+
markClean(){this[a]=!0}markDirty(){if(this[a]){this[a]=!1;let e=this;for(;e=e.parent;)e[a]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e={}){let t=`document`in this.source.input?this.source.input.document:this.source.input.css,n={column:this.source.start.column,line:this.source.start.line,offset:c(t,this.source.start)};if(e.index)n=this.positionInside(e.index);else if(e.word){let r=t.slice(c(t,this.source.start),this.rangeBy().end.offset).indexOf(e.word);r!==-1&&(n=this.positionInside(r))}return n}positionInside(e){let t=this.source.start.column,n=this.source.start.line,r=`document`in this.source.input?this.source.input.document:this.source.input.css,i=c(r,this.source.start),a=i+e;for(let e=i;e<a;e++)r[e]===`
|
|
30
|
+
`?(t=1,n+=1):t+=1;return{column:t,line:n,offset:a}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e={}){let t=`document`in this.source.input?this.source.input.document:this.source.input.css,n={column:this.source.start.column,line:this.source.start.line,offset:c(t,this.source.start)},r=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:c(t,this.source.end)+1}:{column:n.column+1,line:n.line,offset:n.offset+1};if(e.word){let i=t.slice(c(t,this.source.start),r.offset).indexOf(e.word);i!==-1&&(n=this.positionInside(i),r=this.positionInside(i+e.word.length))}else e.start?n={column:e.start.column,line:e.start.line,offset:c(t,e.start)}:typeof e.index==`number`&&(n=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line,offset:c(t,e.end)}:typeof e.endIndex==`number`?r=this.positionInside(e.endIndex):typeof e.index==`number`&&(r=this.positionInside(e.index+1));return(r.line<n.line||r.line===n.line&&r.column<=n.column)&&(r={column:n.column+1,line:n.line,offset:n.offset+1}),{end:r,start:n}}raw(e,t){return new r().raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,n=!1;for(let r of e)r===this?n=!0:n?(this.parent.insertAfter(t,r),t=r):this.parent.insertBefore(t,r);n||this.remove()}return this}root(){let e=this;for(;e.parent&&e.parent.type!==`document`;)e=e.parent;return e}toJSON(t,n){let r=n==null;n||=/* @__PURE__ */ new Map;let i=[],a=[[this,i,0]];for(let t=0;t<a.length;t++){let[r,i,o]=a[t],s={};i[o]=s;for(let t in r){if(!Object.prototype.hasOwnProperty.call(r,t)||t===`parent`||t===`proxyCache`)continue;let i=r[t];if(Array.isArray(i)){let r=[];s[t]=r;for(let t=0;t<i.length;t++){let o=i[t];typeof o==`object`&&o.toJSON?o.toJSON===e.prototype.toJSON?a.push([o,r,t]):r[t]=o.toJSON(null,n):r[t]=o}}else if(typeof i==`object`&&i.toJSON)i.toJSON===e.prototype.toJSON?a.push([i,s,t]):s[t]=i.toJSON(null,n);else if(t===`source`){if(i==null)continue;let e=n.get(i.input);e??(e=n.size,n.set(i.input,e)),s[t]={end:i.end,inputId:e,start:i.start}}else s[t]=i}}let o=i[0];return r&&(o.inputs=[...n.keys()].map(e=>e.toJSON())),o}toProxy(){return this.proxyCache||=new Proxy(this,this.getProxyProcessor()),this.proxyCache}toString(e=i){e.stringify&&(e=e.stringify);let t=``;return e(this,e=>{t+=e}),t}warn(e,t,n={}){let r={node:this};for(let e in n)r[e]=n[e];return e.warn(t,r)}};t.exports=l,l.default=l})),Ol=/* @__PURE__ */ p(((e,t)=>{let n=Dl();var r=class extends n{constructor(e){super(e),this.type=`comment`}};t.exports=r,r.default=r})),kl=/* @__PURE__ */ p(((e,t)=>{let n=Dl();var r=class extends n{get variable(){return this.prop.startsWith(`--`)||this.prop[0]===`$`}constructor(e){e&&e.value!==void 0&&typeof e.value!=`string`&&(e={...e,value:String(e.value)}),super(e),this.type=`decl`}};t.exports=r,r.default=r})),Al=/* @__PURE__ */ p(((e,t)=>{let n=Ol(),r=kl(),i=Dl(),{isClean:a,my:o}=El(),s,c,l,u;function d(e){let t=e.slice();for(;t.length>0;){let e=t.pop();if(delete e.source,e.nodes){e.nodes=e.nodes.slice();for(let n of e.nodes)t.push(n)}}return e.slice()}function f(e){let t=[e];for(;t.length>0;){let e=t.pop();if(e[a]=!1,e.proxyOf.nodes)for(let n of e.proxyOf.nodes)t.push(n)}}var p=class e 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(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}cleanRaws(t){let n=[this];for(;n.length>0;){let r=n.pop();if(r!==this&&r.cleanRaws!==e.prototype.cleanRaws)r.cleanRaws(t);else if(i.prototype.cleanRaws.call(r,t),r.nodes)for(let e of r.nodes)n.push(e)}}each(e){if(!this.proxyOf.nodes)return;let t=this.getIterator(),n,r;for(;this.indexes[t]<this.proxyOf.nodes.length&&(n=this.indexes[t],r=e(this.proxyOf.nodes[n],n),r!==!1);)this.indexes[t]+=1;return delete this.indexes[t],r}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||=0,this.indexes||={},this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get(e,t){return t===`proxyOf`?e:e[t]?t===`each`||typeof t==`string`&&t.startsWith(`walk`)?(...n)=>e[t](...n.map(e=>typeof e==`function`?(t,n)=>e(t.toProxy(),n):e)):t===`every`||t===`some`?n=>e[t]((e,...t)=>n(e.toProxy(),...t)):t===`root`?()=>e.root().toProxy():t===`nodes`?e.nodes.map(e=>e.toProxy()):t===`first`||t===`last`?e[t].toProxy():e[t]:e[t]},set(e,t,n){return e[t]===n||(e[t]=n,(t===`name`||t===`params`||t===`selector`)&&e.markDirty()),!0}}}index(e){return typeof e==`number`?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let n=this.index(e),r=this.normalize(t,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(let e of r)this.proxyOf.nodes.splice(n+1,0,e);let i;for(let e in this.indexes)i=this.indexes[e],n<i&&(this.indexes[e]=i+r.length);return this.markDirty(),this}insertBefore(e,t){let n=this.index(e),r=n===0&&`prepend`,i=this.normalize(t,this.proxyOf.nodes[n],r).reverse();n=this.index(e);for(let e of i)this.proxyOf.nodes.splice(n,0,e);let a;for(let e in this.indexes)a=this.indexes[e],n<=a&&(this.indexes[e]=a+i.length);return this.markDirty(),this}normalize(t,i){if(typeof t==`string`)t=d(c(t).nodes);else if(t===void 0)t=[];else if(Array.isArray(t)){t=t.slice(0);for(let e of t)e.parent&&e.parent.removeChild(e,`ignore`)}else if(t.type===`root`&&this.type!==`document`){t=t.nodes.slice(0);for(let e of t)e.parent&&e.parent.removeChild(e,`ignore`)}else if(t.type)t=[t];else if(t.prop){if(t.value===void 0)throw Error(`Value field is missed in node creation`);typeof t.value!=`string`&&(t.value=String(t.value)),t=[new r(t)]}else if(t.selector||t.selectors)t=[new u(t)];else if(t.name)t=[new s(t)];else if(t.text)t=[new n(t)];else throw Error(`Unknown node type in node creation`);return t.map(t=>(t[o]||e.rebuild(t),t=t.proxyOf,t.parent&&t.parent.removeChild(t),t[a]&&f(t),t.raws||(t.raws={}),t.raws.before===void 0&&i&&i.raws.before!==void 0&&(t.raws.before=i.raws.before.replace(/\S/g,``)),t.parent=this.proxyOf,t))}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,`prepend`).reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let t;for(let n in this.indexes)t=this.indexes[n],t>=e&&(this.indexes[n]=t-1);return this.markDirty(),this}replaceValues(e,t,n){return n||(n=t,t={}),this.walkDecls(r=>{t.props&&!t.props.includes(r.prop)||t.fast&&!r.value.includes(t.fast)||(r.value=r.value.replace(e,n))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){if(!this.proxyOf.nodes)return;let t=[{iterator:this.getIterator(),node:this.proxyOf}];for(;t.length>0;){let{iterator:n,node:r}=t[t.length-1],i=r.indexes[n];if(i>=r.proxyOf.nodes.length){delete r.indexes[n],t.pop();let e=t[t.length-1];e&&(e.node.indexes[e.iterator]+=1);continue}let a=r.proxyOf.nodes[i],o;try{o=e(a,i)}catch(e){throw a.addToError(e)}if(o===!1){for(let e of t)delete e.node.indexes[e.iterator];return!1}a.walk&&a.proxyOf.nodes?t.push({iterator:a.getIterator(),node:a}):r.indexes[n]+=1}}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((n,r)=>{if(n.type===`atrule`&&e.test(n.name))return t(n,r)}):this.walk((n,r)=>{if(n.type===`atrule`&&n.name===e)return t(n,r)}):(t=e,this.walk((e,n)=>{if(e.type===`atrule`)return t(e,n)}))}walkComments(e){return this.walk((t,n)=>{if(t.type===`comment`)return e(t,n)})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((n,r)=>{if(n.type===`decl`&&e.test(n.prop))return t(n,r)}):this.walk((n,r)=>{if(n.type===`decl`&&n.prop===e)return t(n,r)}):(t=e,this.walk((e,n)=>{if(e.type===`decl`)return t(e,n)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((n,r)=>{if(n.type===`rule`&&e.test(n.selector))return t(n,r)}):this.walk((n,r)=>{if(n.type===`rule`&&n.selector===e)return t(n,r)}):(t=e,this.walk((e,n)=>{if(e.type===`rule`)return t(e,n)}))}};
|
|
31
31
|
/* c8 ignore start */
|
|
32
|
-
p.registerParse=e=>{c=e},p.registerRule=e=>{u=e},p.registerAtRule=e=>{s=e},p.registerRoot=e=>{l=e},t.exports=p,p.default=p,p.rebuild=e=>{let t=[e];for(;t.length>0;){let e=t.pop();if(e.type===`atrule`?Object.setPrototypeOf(e,s.prototype):e.type===`rule`?Object.setPrototypeOf(e,u.prototype):e.type===`decl`?Object.setPrototypeOf(e,r.prototype):e.type===`comment`?Object.setPrototypeOf(e,n.prototype):e.type===`root`&&Object.setPrototypeOf(e,l.prototype),e[o]=!0,e.nodes)for(let n of e.nodes)t.push(n)}}})),Ao=/* @__PURE__ */ p(((e,t)=>{let n=ko();var r=class extends n{constructor(e){super(e),this.type=`atrule`}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}};t.exports=r,r.default=r,n.registerAtRule(r)})),jo=/* @__PURE__ */ p(((e,t)=>{let n=ko(),r,i;var a=class extends n{constructor(e){super({type:`document`,...e}),this.nodes||=[]}toResult(e={}){return new r(new i,this,e).stringify()}};a.registerLazyResult=e=>{r=e},a.registerProcessor=e=>{i=e},t.exports=a,a.default=a})),Mo=/* @__PURE__ */ p(((e,t)=>{t.exports={nanoid:(e=21)=>{let t=``,n=e|0;for(;n-->0;)t+=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`[Math.random()*64|0];return t},customAlphabet:(e,t=21)=>(n=t)=>{let r=``,i=n|0;for(;i-->0;)r+=e[Math.random()*e.length|0];return r}}})),No=/* @__PURE__ */ p((e=>{var t=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`.split(``);e.encode=function(e){if(0<=e&&e<t.length)return t[e];throw TypeError(`Must be between 0 and 63: `+e)},e.decode=function(e){var t=65,n=90,r=97,i=122,a=48;return t<=e&&e<=n?e-t:r<=e&&e<=i?e-r+26:a<=e&&e<=57?e-a+52:e==43?62:e==47?63:-1}})),Po=/* @__PURE__ */ p((e=>{var t=No(),n=5,r=1<<n,i=r-1,a=r;function o(e){return e<0?(-e<<1)+1:(e<<1)+0}function s(e){var t=(e&1)==1,n=e>>1;return t?-n:n}e.encode=function(e){var r=``,s,c=o(e);do s=c&i,c>>>=n,c>0&&(s|=a),r+=t.encode(s);while(c>0);return r},e.decode=function(e,r,o){var c=e.length,l=0,u=0,d,f;do{if(r>=c)throw Error(`Expected more digits in base 64 VLQ value.`);if(f=t.decode(e.charCodeAt(r++)),f===-1)throw Error(`Invalid base64 digit: `+e.charAt(r-1));d=!!(f&a),f&=i,l+=f<<u,u+=n}while(d);o.value=s(l),o.rest=r}})),Fo=/* @__PURE__ */ p((e=>{function t(e,t,n){if(t in e)return e[t];if(arguments.length===3)return n;throw Error(`"`+t+`" is a required argument.`)}e.getArg=t;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function i(e){var t=e.match(n);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}e.urlParse=i;function a(e){var t=``;return e.scheme&&(t+=e.scheme+`:`),t+=`//`,e.auth&&(t+=e.auth+`@`),e.host&&(t+=e.host),e.port&&(t+=`:`+e.port),e.path&&(t+=e.path),t}e.urlGenerate=a;var o=32;function s(e){var t=[];return function(n){for(var r=0;r<t.length;r++)if(t[r].input===n){var i=t[0];return t[0]=t[r],t[r]=i,t[0].result}var a=e(n);return t.unshift({input:n,result:a}),t.length>o&&t.pop(),a}}var c=s(function(t){var n=t,r=i(t);if(r){if(!r.path)return t;n=r.path}for(var o=e.isAbsolute(n),s=[],c=0,l=0;;){if(c=l,l=n.indexOf(`/`,c),l===-1){s.push(n.slice(c));break}for(s.push(n.slice(c,l));l<n.length&&n[l]===`/`;)l++}for(var u,d=0,l=s.length-1;l>=0;l--)u=s[l],u===`.`?s.splice(l,1):u===`..`?d++:d>0&&(u===``?(s.splice(l+1,d),d=0):(s.splice(l,2),d--));return n=s.join(`/`),n===``&&(n=o?`/`:`.`),r?(r.path=n,a(r)):n});e.normalize=c;function l(e,t){e===``&&(e=`.`),t===``&&(t=`.`);var n=i(t),o=i(e);if(o&&(e=o.path||`/`),n&&!n.scheme)return o&&(n.scheme=o.scheme),a(n);if(n||t.match(r))return t;if(o&&!o.host&&!o.path)return o.host=t,a(o);var s=t.charAt(0)===`/`?t:c(e.replace(/\/+$/,``)+`/`+t);return o?(o.path=s,a(o)):s}e.join=l,e.isAbsolute=function(e){return e.charAt(0)===`/`||n.test(e)};function u(e,t){e===``&&(e=`.`),e=e.replace(/\/$/,``);for(var n=0;t.indexOf(e+`/`)!==0;){var r=e.lastIndexOf(`/`);if(r<0||(e=e.slice(0,r),e.match(/^([^\/]+:\/)?\/*$/)))return t;++n}return Array(n+1).join(`../`)+t.substr(e.length+1)}e.relative=u;var d=function(){return!(`__proto__`in Object.create(null))}();function f(e){return e}function p(e){return h(e)?`$`+e:e}e.toSetString=d?f:p;function m(e){return h(e)?e.slice(1):e}e.fromSetString=d?f:m;function h(e){if(!e)return!1;var t=e.length;if(t<9||e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95)return!1;for(var n=t-10;n>=0;n--)if(e.charCodeAt(n)!==36)return!1;return!0}function g(e,t,n){var r=b(e.source,t.source);return r!==0||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0||n)||(r=e.generatedColumn-t.generatedColumn,r!==0)||(r=e.generatedLine-t.generatedLine,r!==0)?r:b(e.name,t.name)}e.compareByOriginalPositions=g;function _(e,t,n){var r=e.originalLine-t.originalLine;return r!==0||(r=e.originalColumn-t.originalColumn,r!==0||n)||(r=e.generatedColumn-t.generatedColumn,r!==0)||(r=e.generatedLine-t.generatedLine,r!==0)?r:b(e.name,t.name)}e.compareByOriginalPositionsNoSource=_;function v(e,t,n){var r=e.generatedLine-t.generatedLine;return r!==0||(r=e.generatedColumn-t.generatedColumn,r!==0||n)||(r=b(e.source,t.source),r!==0)||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0)?r:b(e.name,t.name)}e.compareByGeneratedPositionsDeflated=v;function y(e,t,n){var r=e.generatedColumn-t.generatedColumn;return r!==0||n||(r=b(e.source,t.source),r!==0)||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0)?r:b(e.name,t.name)}e.compareByGeneratedPositionsDeflatedNoLine=y;function b(e,t){return e===t?0:e===null?1:t===null?-1:e>t?1:-1}function x(e,t){var n=e.generatedLine-t.generatedLine;return n!==0||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=b(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:b(e.name,t.name)}e.compareByGeneratedPositionsInflated=x;function S(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,``))}e.parseSourceMapInput=S;function C(e,t,n){if(t||=``,e&&(e[e.length-1]!==`/`&&t[0]!==`/`&&(e+=`/`),t=e+t),n){var r=i(n);if(!r)throw Error(`sourceMapURL could not be parsed`);if(r.path){var o=r.path.lastIndexOf(`/`);o>=0&&(r.path=r.path.substring(0,o+1))}t=l(a(r),t)}return c(t)}e.computeSourceURL=C})),Io=/* @__PURE__ */ p((e=>{var t=Fo(),n=Object.prototype.hasOwnProperty,r=typeof Map<`u`;function i(){this._array=[],this._set=r?/* @__PURE__ */ new Map:Object.create(null)}i.fromArray=function(e,t){for(var n=new i,r=0,a=e.length;r<a;r++)n.add(e[r],t);return n},i.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(e,i){var a=r?e:t.toSetString(e),o=r?this.has(e):n.call(this._set,a),s=this._array.length;(!o||i)&&this._array.push(e),o||(r?this._set.set(e,s):this._set[a]=s)},i.prototype.has=function(e){if(r)return this._set.has(e);var i=t.toSetString(e);return n.call(this._set,i)},i.prototype.indexOf=function(e){if(r){var i=this._set.get(e);if(i>=0)return i}else{var a=t.toSetString(e);if(n.call(this._set,a))return this._set[a]}throw Error(`"`+e+`" is not in the set.`)},i.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw Error(`No element indexed by `+e)},i.prototype.toArray=function(){return this._array.slice()},e.ArraySet=i})),Lo=/* @__PURE__ */ p((e=>{var t=Fo();function n(e,n){var r=e.generatedLine,i=n.generatedLine,a=e.generatedColumn,o=n.generatedColumn;return i>r||i==r&&o>=a||t.compareByGeneratedPositionsInflated(e,n)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}r.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},r.prototype.add=function(e){n(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},r.prototype.toArray=function(){return this._sorted||=(this._array.sort(t.compareByGeneratedPositionsInflated),!0),this._array},e.MappingList=r})),Ro=/* @__PURE__ */ p((e=>{var t=Po(),n=Fo(),r=Io().ArraySet,i=Lo().MappingList;function a(e){e||={},this._file=n.getArg(e,`file`,null),this._sourceRoot=n.getArg(e,`sourceRoot`,null),this._skipValidation=n.getArg(e,`skipValidation`,!1),this._ignoreInvalidMapping=n.getArg(e,`ignoreInvalidMapping`,!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}a.prototype._version=3,a.fromSourceMap=function(e,t){var r=e.sourceRoot,i=new a(Object.assign(t||{},{file:e.file,sourceRoot:r}));return e.eachMapping(function(e){var t={generated:{line:e.generatedLine,column:e.generatedColumn}};e.source!=null&&(t.source=e.source,r!=null&&(t.source=n.relative(r,t.source)),t.original={line:e.originalLine,column:e.originalColumn},e.name!=null&&(t.name=e.name)),i.addMapping(t)}),e.sources.forEach(function(t){var a=t;r!==null&&(a=n.relative(r,t)),i._sources.has(a)||i._sources.add(a);var o=e.sourceContentFor(t);o!=null&&i.setSourceContent(t,o)}),i},a.prototype.addMapping=function(e){var t=n.getArg(e,`generated`),r=n.getArg(e,`original`,null),i=n.getArg(e,`source`,null),a=n.getArg(e,`name`,null);(this._skipValidation||this._validateMapping(t,r,i,a)!==!1)&&(i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),a!=null&&(a=String(a),this._names.has(a)||this._names.add(a)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:r!=null&&r.line,originalColumn:r!=null&&r.column,source:i,name:a}))},a.prototype.setSourceContent=function(e,t){var r=e;this._sourceRoot!=null&&(r=n.relative(this._sourceRoot,r)),t==null?this._sourcesContents&&(delete this._sourcesContents[n.toSetString(r)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null)):(this._sourcesContents||=Object.create(null),this._sourcesContents[n.toSetString(r)]=t)},a.prototype.applySourceMap=function(e,t,i){var a=t;if(t==null){if(e.file==null)throw Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);a=e.file}var o=this._sourceRoot;o!=null&&(a=n.relative(o,a));var s=new r,c=new r;this._mappings.unsortedForEach(function(t){if(t.source===a&&t.originalLine!=null){var r=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});r.source!=null&&(t.source=r.source,i!=null&&(t.source=n.join(i,t.source)),o!=null&&(t.source=n.relative(o,t.source)),t.originalLine=r.line,t.originalColumn=r.column,r.name!=null&&(t.name=r.name))}var l=t.source;l!=null&&!s.has(l)&&s.add(l);var u=t.name;u!=null&&!c.has(u)&&c.add(u)},this),this._sources=s,this._names=c,e.sources.forEach(function(t){var r=e.sourceContentFor(t);r!=null&&(i!=null&&(t=n.join(i,t)),o!=null&&(t=n.relative(o,t)),this.setSourceContent(t,r))},this)},a.prototype._validateMapping=function(e,t,n,r){if(t&&typeof t.line!=`number`&&typeof t.column!=`number`){var i=`original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.`;if(this._ignoreInvalidMapping)return typeof console<`u`&&console.warn&&console.warn(i),!1;throw Error(i)}if(!(e&&`line`in e&&`column`in e&&e.line>0&&e.column>=0&&!t&&!n&&!r)&&!(e&&`line`in e&&`column`in e&&t&&`line`in t&&`column`in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n)){var i=`Invalid mapping: `+JSON.stringify({generated:e,source:n,original:t,name:r});if(this._ignoreInvalidMapping)return typeof console<`u`&&console.warn&&console.warn(i),!1;throw Error(i)}},a.prototype._serializeMappings=function(){for(var e=0,r=1,i=0,a=0,o=0,s=0,c=``,l,u,d,f,p=this._mappings.toArray(),m=0,h=p.length;m<h;m++){if(u=p[m],l=``,u.generatedLine!==r){e=0;var g=u.generatedLine-r;l+=g===1?`;`:`;`.repeat(g),r=u.generatedLine}else if(m>0){if(!n.compareByGeneratedPositionsInflated(u,p[m-1]))continue;l+=`,`}l+=t.encode(u.generatedColumn-e),e=u.generatedColumn,u.source!=null&&(f=this._sources.indexOf(u.source),l+=t.encode(f-s),s=f,l+=t.encode(u.originalLine-1-a),a=u.originalLine-1,l+=t.encode(u.originalColumn-i),i=u.originalColumn,u.name!=null&&(d=this._names.indexOf(u.name),l+=t.encode(d-o),o=d)),c+=l}return c},a.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;t!=null&&(e=n.relative(t,e));var r=n.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},a.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},a.prototype.toString=function(){return JSON.stringify(this.toJSON())},e.SourceMapGenerator=a})),zo=/* @__PURE__ */ p((e=>{e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(n,r,i,a,o,s){var c=Math.floor((r-n)/2)+n,l=o(i,a[c],!0);return l===0?c:l>0?r-c>1?t(c,r,i,a,o,s):s==e.LEAST_UPPER_BOUND?r<a.length?r:-1:c:c-n>1?t(n,c,i,a,o,s):s==e.LEAST_UPPER_BOUND?c:n<0?-1:n}e.search=function(n,r,i,a){if(r.length===0)return-1;var o=t(-1,r.length,n,r,i,a||e.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&i(r[o],r[o-1],!0)===0;)--o;return o}})),Bo=/* @__PURE__ */ p((e=>{function t(e){function t(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function n(e,t){return Math.round(e+Math.random()*(t-e))}function r(e,i,a,o){if(a<o){var s=n(a,o),c=a-1;t(e,s,o);for(var l=e[o],u=a;u<o;u++)i(e[u],l,!1)<=0&&(c+=1,t(e,c,u));t(e,c+1,u);var d=c+1;r(e,i,a,d-1),r(e,i,d+1,o)}}return r}function n(e){let n=t.toString();return Function(`return ${n}`)()(e)}let r=(function(){try{return Function(`return 0`)(),!0}catch{return!1}})(),i=/* @__PURE__ */ new WeakMap;e.quickSort=function(e,a,o=0){let s=r?i.get(a):t(a);s===void 0&&(s=n(a),i.set(a,s)),s(e,a,o,e.length-1)}})),Vo=/* @__PURE__ */ p((e=>{var t=Fo(),n=zo(),r=Io().ArraySet,i=Po(),a=Bo().quickSort,o=1e7;function s(e,n){var r=e;return typeof e==`string`&&(r=t.parseSourceMapInput(e)),r.sections==null?new c(r,n):new f(r,n)}s.fromSourceMap=function(e,t){return c.fromSourceMap(e,t)},s.prototype._version=3,s.prototype.__generatedMappings=null,Object.defineProperty(s.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),s.prototype.__originalMappings=null,Object.defineProperty(s.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),s.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return n===`;`||n===`,`},s.prototype._parseMappings=function(e,t){throw Error(`Subclasses must implement _parseMappings`)},s.GENERATED_ORDER=1,s.ORIGINAL_ORDER=2,s.GREATEST_LOWER_BOUND=1,s.LEAST_UPPER_BOUND=2,s.prototype.eachMapping=function(e,n,r){var i=n||null,a=r||s.GENERATED_ORDER,o;switch(a){case s.GENERATED_ORDER:o=this._generatedMappings;break;case s.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw Error(`Unknown order of iteration.`)}for(var c=this.sourceRoot,l=e.bind(i),u=this._names,d=this._sources,f=this._sourceMapURL,p=0,m=o.length;p<m;p++){var h=o[p],g=h.source===null?null:d.at(h.source);g!==null&&(g=t.computeSourceURL(c,g,f)),l({source:g,generatedLine:h.generatedLine,generatedColumn:h.generatedColumn,originalLine:h.originalLine,originalColumn:h.originalColumn,name:h.name===null?null:u.at(h.name)})}},s.prototype.allGeneratedPositionsFor=function(e){var r=t.getArg(e,`line`),i={source:t.getArg(e,`source`),originalLine:r,originalColumn:t.getArg(e,`column`,0)};if(i.source=this._findSourceIndex(i.source),i.source<0)return[];var a=[],o=this._findMapping(i,this._originalMappings,`originalLine`,`originalColumn`,t.compareByOriginalPositions,n.LEAST_UPPER_BOUND);if(o>=0){var s=this._originalMappings[o];if(e.column===void 0)for(var c=s.originalLine;s&&s.originalLine===c;)a.push({line:t.getArg(s,`generatedLine`,null),column:t.getArg(s,`generatedColumn`,null),lastColumn:t.getArg(s,`lastGeneratedColumn`,null)}),s=this._originalMappings[++o];else for(var l=s.originalColumn;s&&s.originalLine===r&&s.originalColumn==l;)a.push({line:t.getArg(s,`generatedLine`,null),column:t.getArg(s,`generatedColumn`,null),lastColumn:t.getArg(s,`lastGeneratedColumn`,null)}),s=this._originalMappings[++o]}return a},e.SourceMapConsumer=s;function c(e,n){var i=e;typeof e==`string`&&(i=t.parseSourceMapInput(e));var a=t.getArg(i,`version`),o=t.getArg(i,`sources`),s=t.getArg(i,`names`,[]),c=t.getArg(i,`sourceRoot`,null),l=t.getArg(i,`sourcesContent`,null),u=t.getArg(i,`mappings`),d=t.getArg(i,`file`,null);if(a!=this._version)throw Error(`Unsupported version: `+a);c&&=t.normalize(c),o=o.map(String).map(t.normalize).map(function(e){return c&&t.isAbsolute(c)&&t.isAbsolute(e)?t.relative(c,e):e}),this._names=r.fromArray(s.map(String),!0),this._sources=r.fromArray(o,!0),this._absoluteSources=this._sources.toArray().map(function(e){return t.computeSourceURL(c,e,n)}),this.sourceRoot=c,this.sourcesContent=l,this._mappings=u,this._sourceMapURL=n,this.file=d}c.prototype=Object.create(s.prototype),c.prototype.consumer=s,c.prototype._findSourceIndex=function(e){var n=e;if(this.sourceRoot!=null&&(n=t.relative(this.sourceRoot,n)),this._sources.has(n))return this._sources.indexOf(n);for(var r=0;r<this._absoluteSources.length;++r)if(this._absoluteSources[r]==e)return r;return-1},c.fromSourceMap=function(e,n){var i=Object.create(c.prototype),o=i._names=r.fromArray(e._names.toArray(),!0),s=i._sources=r.fromArray(e._sources.toArray(),!0);i.sourceRoot=e._sourceRoot,i.sourcesContent=e._generateSourcesContent(i._sources.toArray(),i.sourceRoot),i.file=e._file,i._sourceMapURL=n,i._absoluteSources=i._sources.toArray().map(function(e){return t.computeSourceURL(i.sourceRoot,e,n)});for(var u=e._mappings.toArray().slice(),d=i.__generatedMappings=[],f=i.__originalMappings=[],p=0,m=u.length;p<m;p++){var h=u[p],g=new l;g.generatedLine=h.generatedLine,g.generatedColumn=h.generatedColumn,h.source&&(g.source=s.indexOf(h.source),g.originalLine=h.originalLine,g.originalColumn=h.originalColumn,h.name&&(g.name=o.indexOf(h.name)),f.push(g)),d.push(g)}return a(i.__originalMappings,t.compareByOriginalPositions),i},c.prototype._version=3,Object.defineProperty(c.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function l(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}let u=t.compareByGeneratedPositionsDeflatedNoLine;function d(e,t){let n=e.length,r=e.length-t;if(!(r<=1)){if(r==2){let n=e[t],r=e[t+1];u(n,r)>0&&(e[t]=r,e[t+1]=n)}else if(r<20)for(let r=t;r<n;r++)for(let n=r;n>t;n--){let t=e[n-1],r=e[n];if(u(t,r)<=0)break;e[n-1]=r,e[n]=t}else a(e,u,t)}}c.prototype._parseMappings=function(e,n){var r=1,o=0,s=0,c=0,u=0,f=0,p=e.length,m=0,h={},g=[],_=[],v,y,b,x;let S=0;for(;m<p;)if(e.charAt(m)===`;`)r++,m++,o=0,d(_,S),S=_.length;else if(e.charAt(m)===`,`)m++;else{for(v=new l,v.generatedLine=r,b=m;b<p&&!this._charIsMappingSeparator(e,b);b++);for(e.slice(m,b),y=[];m<b;)i.decode(e,m,h),x=h.value,m=h.rest,y.push(x);if(y.length===2)throw Error(`Found a source, but no line and column`);if(y.length===3)throw Error(`Found a source and line, but no column`);if(v.generatedColumn=o+y[0],o=v.generatedColumn,y.length>1&&(v.source=u+y[1],u+=y[1],v.originalLine=s+y[2],s=v.originalLine,v.originalLine+=1,v.originalColumn=c+y[3],c=v.originalColumn,y.length>4&&(v.name=f+y[4],f+=y[4])),_.push(v),typeof v.originalLine==`number`){let e=v.source;for(;g.length<=e;)g.push(null);g[e]===null&&(g[e]=[]),g[e].push(v)}}d(_,S),this.__generatedMappings=_;for(var C=0;C<g.length;C++)g[C]!=null&&a(g[C],t.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...g)},c.prototype._findMapping=function(e,t,r,i,a,o){if(e[r]<=0)throw TypeError(`Line must be greater than or equal to 1, got `+e[r]);if(e[i]<0)throw TypeError(`Column must be greater than or equal to 0, got `+e[i]);return n.search(e,t,a,o)},c.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},c.prototype.originalPositionFor=function(e){var n={generatedLine:t.getArg(e,`line`),generatedColumn:t.getArg(e,`column`)},r=this._findMapping(n,this._generatedMappings,`generatedLine`,`generatedColumn`,t.compareByGeneratedPositionsDeflated,t.getArg(e,`bias`,s.GREATEST_LOWER_BOUND));if(r>=0){var i=this._generatedMappings[r];if(i.generatedLine===n.generatedLine){var a=t.getArg(i,`source`,null);a!==null&&(a=this._sources.at(a),a=t.computeSourceURL(this.sourceRoot,a,this._sourceMapURL));var o=t.getArg(i,`name`,null);return o!==null&&(o=this._names.at(o)),{source:a,line:t.getArg(i,`originalLine`,null),column:t.getArg(i,`originalColumn`,null),name:o}}}return{source:null,line:null,column:null,name:null}},c.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1},c.prototype.sourceContentFor=function(e,n){if(!this.sourcesContent)return null;var r=this._findSourceIndex(e);if(r>=0)return this.sourcesContent[r];var i=e;this.sourceRoot!=null&&(i=t.relative(this.sourceRoot,i));var a;if(this.sourceRoot!=null&&(a=t.urlParse(this.sourceRoot))){var o=i.replace(/^file:\/\//,``);if(a.scheme==`file`&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];if((!a.path||a.path==`/`)&&this._sources.has(`/`+i))return this.sourcesContent[this._sources.indexOf(`/`+i)]}if(n)return null;throw Error(`"`+i+`" is not in the SourceMap.`)},c.prototype.generatedPositionFor=function(e){var n=t.getArg(e,`source`);if(n=this._findSourceIndex(n),n<0)return{line:null,column:null,lastColumn:null};var r={source:n,originalLine:t.getArg(e,`line`),originalColumn:t.getArg(e,`column`)},i=this._findMapping(r,this._originalMappings,`originalLine`,`originalColumn`,t.compareByOriginalPositions,t.getArg(e,`bias`,s.GREATEST_LOWER_BOUND));if(i>=0){var a=this._originalMappings[i];if(a.source===r.source)return{line:t.getArg(a,`generatedLine`,null),column:t.getArg(a,`generatedColumn`,null),lastColumn:t.getArg(a,`lastGeneratedColumn`,null)}}return{line:null,column:null,lastColumn:null}},e.BasicSourceMapConsumer=c;function f(e,n){var i=e;typeof e==`string`&&(i=t.parseSourceMapInput(e));var a=t.getArg(i,`version`),c=t.getArg(i,`sections`);if(a!=this._version)throw Error(`Unsupported version: `+a);this._sources=new r,this._names=new r;var l={line:-1,column:0},u=0;this._sections=c.map(function(e){if(e.url)throw Error(`Support for url field in sections not implemented.`);var r=t.getArg(e,`offset`),i=t.getArg(r,`line`),a=t.getArg(r,`column`);if(!p(i)||!p(a))throw Error(`Section offset line and column must be non-negative integers.`);if(i>o)throw Error(`Section offset line must not exceed `+o+`.`);if(i<l.line||i===l.line&&a<l.column)throw Error(`Section offsets must be ordered and non-overlapping.`);l=r;var c=new s(t.getArg(e,`map`),n),d=i+(c._maxOffsetLine||0);if(d>o)throw Error(`Section offset line must not exceed `+o+`, including offsets of nested sections.`);return d>u&&(u=d),{generatedOffset:{generatedLine:i+1,generatedColumn:a+1},consumer:c}}),this._maxOffsetLine=u}function p(e){return typeof e==`number`&&e>=0&&e<=9007199254740991&&Math.floor(e)===e}f.prototype=Object.create(s.prototype),f.prototype.constructor=s,f.prototype._version=3,Object.defineProperty(f.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=this._sections[t].consumer.sources,r=0;r<n.length;r++)e.push(n[r]);return e}}),f.prototype.originalPositionFor=function(e){var r={generatedLine:t.getArg(e,`line`),generatedColumn:t.getArg(e,`column`)},i=n.search(r,this._sections,function(e,t){return e.generatedLine-t.generatedOffset.generatedLine||e.generatedColumn-t.generatedOffset.generatedColumn}),a=this._sections[i];return a?a.consumer.originalPositionFor({line:r.generatedLine-(a.generatedOffset.generatedLine-1),column:r.generatedColumn-(a.generatedOffset.generatedLine===r.generatedLine?a.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},f.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},f.prototype.sourceContentFor=function(e,t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n].consumer.sourceContentFor(e,!0);if(r||r===``)return r}if(t)return null;throw Error(`"`+e+`" is not in the SourceMap.`)},f.prototype.generatedPositionFor=function(e){for(var n=0;n<this._sections.length;n++){var r=this._sections[n];if(r.consumer._findSourceIndex(t.getArg(e,`source`))!==-1){var i=r.consumer.generatedPositionFor(e);if(i)return{line:i.line+(r.generatedOffset.generatedLine-1),column:i.column+(r.generatedOffset.generatedLine===i.line?r.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},f.prototype._parseMappings=function(e,n){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var i=this._sections[r],o=i.consumer._generatedMappings,s=0;s<o.length;s++){var c=o[s],l=i.consumer._sources.at(c.source);l!==null&&(l=t.computeSourceURL(i.consumer.sourceRoot,l,this._sourceMapURL)),this._sources.add(l),l=this._sources.indexOf(l);var u=null;c.name&&(u=i.consumer._names.at(c.name),this._names.add(u),u=this._names.indexOf(u));var d={source:l,generatedLine:c.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:c.generatedColumn+(i.generatedOffset.generatedLine===c.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:c.originalLine,originalColumn:c.originalColumn,name:u};this.__generatedMappings.push(d),typeof d.originalLine==`number`&&this.__originalMappings.push(d)}a(this.__generatedMappings,t.compareByGeneratedPositionsDeflated),a(this.__originalMappings,t.compareByOriginalPositions)},e.IndexedSourceMapConsumer=f})),Ho=/* @__PURE__ */ p((e=>{var t=Ro().SourceMapGenerator,n=Fo(),r=/(\r?\n)/,i=10,a=`$$$isSourceNode$$$`;function o(e,t,n,r,i){this.children=[],this.sourceContents={},this.line=e??null,this.column=t??null,this.source=n??null,this.name=i??null,this[a]=!0,r!=null&&this.add(r)}o.fromStringWithSourceMap=function(e,t,i){var a=new o,s=e.split(r),c=0,l=function(){return e()+(e()||``);function e(){return c<s.length?s[c++]:void 0}},u=1,d=0,f=null;return t.eachMapping(function(e){if(f!==null){if(u<e.generatedLine)p(f,l()),u++,d=0;else{var t=s[c]||``,n=t.substr(0,e.generatedColumn-d);s[c]=t.substr(e.generatedColumn-d),d=e.generatedColumn,p(f,n),f=e;return}}for(;u<e.generatedLine;){if(c>=s.length){u=e.generatedLine;break}a.add(l()),u++}if(d<e.generatedColumn){var t=s[c]||``;a.add(t.substr(0,e.generatedColumn)),s[c]=t.substr(e.generatedColumn),d=e.generatedColumn}f=e},this),c<s.length&&(f&&p(f,l()),a.add(s.splice(c).join(``))),t.sources.forEach(function(e){var r=t.sourceContentFor(e);r!=null&&(i!=null&&(e=n.join(i,e)),a.setSourceContent(e,r))}),a;function p(e,t){if(e===null||e.source===void 0)a.add(t);else{var r=i?n.join(i,e.source):e.source;a.add(new o(e.originalLine,e.originalColumn,r,t,e.name))}}},o.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else if(e[a]||typeof e==`string`)e&&this.children.push(e);else throw TypeError(`Expected a SourceNode, string, or an array of SourceNodes and strings. Got `+e);return this},o.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else if(e[a]||typeof e==`string`)this.children.unshift(e);else throw TypeError(`Expected a SourceNode, string, or an array of SourceNodes and strings. Got `+e);return this},o.prototype.walk=function(e){for(var t,n=0,r=this.children.length;n<r;n++)t=this.children[n],t[a]?t.walk(e):t!==``&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},o.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;n<r-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},o.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[a]?n.replaceRight(e,t):typeof n==`string`?this.children[this.children.length-1]=n.replace(e,t):this.children.push(``.replace(e,t)),this},o.prototype.setSourceContent=function(e,t){this.sourceContents[n.toSetString(e)]=t},o.prototype.walkSourceContents=function(e){for(var t=0,r=this.children.length;t<r;t++)this.children[t][a]&&this.children[t].walkSourceContents(e);for(var i=Object.keys(this.sourceContents),t=0,r=i.length;t<r;t++)e(n.fromSetString(i[t]),this.sourceContents[i[t]])},o.prototype.toString=function(){var e=``;return this.walk(function(t){e+=t}),e},o.prototype.toStringWithSourceMap=function(e){var n={code:``,line:1,column:0},r=new t(e),a=!1,o=null,s=null,c=null,l=null;return this.walk(function(e,t){n.code+=e,t.source!==null&&t.line!==null&&t.column!==null?((o!==t.source||s!==t.line||c!==t.column||l!==t.name)&&r.addMapping({source:t.source,original:{line:t.line,column:t.column},generated:{line:n.line,column:n.column},name:t.name}),o=t.source,s=t.line,c=t.column,l=t.name,a=!0):a&&=(r.addMapping({generated:{line:n.line,column:n.column}}),o=null,!1);for(var u=0,d=e.length;u<d;u++)e.charCodeAt(u)===i?(n.line++,n.column=0,u+1===d?(o=null,a=!1):a&&r.addMapping({source:t.source,original:{line:t.line,column:t.column},generated:{line:n.line,column:n.column},name:t.name})):n.column++}),this.walkSourceContents(function(e,t){r.setSourceContent(e,t)}),{code:n.code,map:r}},e.SourceNode=o})),Uo=/* @__PURE__ */ p((e=>{e.SourceMapGenerator=Ro().SourceMapGenerator,e.SourceMapConsumer=Vo().SourceMapConsumer,e.SourceNode=Ho().SourceNode})),Wo=/* @__PURE__ */ p(((e,t)=>{let{existsSync:n,readFileSync:r,realpathSync:i}=g(`fs`),{dirname:a,isAbsolute:o,join:s,relative:c,sep:l}=g(`path`),{SourceMapConsumer:u,SourceMapGenerator:d}=Uo();function f(e){try{return i(e)}catch{return e}}function p(e){
|
|
32
|
+
p.registerParse=e=>{c=e},p.registerRule=e=>{u=e},p.registerAtRule=e=>{s=e},p.registerRoot=e=>{l=e},t.exports=p,p.default=p,p.rebuild=e=>{let t=[e];for(;t.length>0;){let e=t.pop();if(e.type===`atrule`?Object.setPrototypeOf(e,s.prototype):e.type===`rule`?Object.setPrototypeOf(e,u.prototype):e.type===`decl`?Object.setPrototypeOf(e,r.prototype):e.type===`comment`?Object.setPrototypeOf(e,n.prototype):e.type===`root`&&Object.setPrototypeOf(e,l.prototype),e[o]=!0,e.nodes)for(let n of e.nodes)t.push(n)}}})),jl=/* @__PURE__ */ p(((e,t)=>{let n=Al();var r=class extends n{constructor(e){super(e),this.type=`atrule`}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}};t.exports=r,r.default=r,n.registerAtRule(r)})),Ml=/* @__PURE__ */ p(((e,t)=>{let n=Al(),r,i;var a=class extends n{constructor(e){super({type:`document`,...e}),this.nodes||=[]}toResult(e={}){return new r(new i,this,e).stringify()}};a.registerLazyResult=e=>{r=e},a.registerProcessor=e=>{i=e},t.exports=a,a.default=a})),Nl=/* @__PURE__ */ p(((e,t)=>{t.exports={nanoid:(e=21)=>{let t=``,n=e|0;for(;n-->0;)t+=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`[Math.random()*64|0];return t},customAlphabet:(e,t=21)=>(n=t)=>{let r=``,i=n|0;for(;i-->0;)r+=e[Math.random()*e.length|0];return r}}})),Pl=/* @__PURE__ */ p((e=>{var t=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`.split(``);e.encode=function(e){if(0<=e&&e<t.length)return t[e];throw TypeError(`Must be between 0 and 63: `+e)},e.decode=function(e){var t=65,n=90,r=97,i=122,a=48;return t<=e&&e<=n?e-t:r<=e&&e<=i?e-r+26:a<=e&&e<=57?e-a+52:e==43?62:e==47?63:-1}})),Fl=/* @__PURE__ */ p((e=>{var t=Pl(),n=5,r=1<<n,i=r-1,a=r;function o(e){return e<0?(-e<<1)+1:(e<<1)+0}function s(e){var t=(e&1)==1,n=e>>1;return t?-n:n}e.encode=function(e){var r=``,s,c=o(e);do s=c&i,c>>>=n,c>0&&(s|=a),r+=t.encode(s);while(c>0);return r},e.decode=function(e,r,o){var c=e.length,l=0,u=0,d,f;do{if(r>=c)throw Error(`Expected more digits in base 64 VLQ value.`);if(f=t.decode(e.charCodeAt(r++)),f===-1)throw Error(`Invalid base64 digit: `+e.charAt(r-1));d=!!(f&a),f&=i,l+=f<<u,u+=n}while(d);o.value=s(l),o.rest=r}})),Il=/* @__PURE__ */ p((e=>{function t(e,t,n){if(t in e)return e[t];if(arguments.length===3)return n;throw Error(`"`+t+`" is a required argument.`)}e.getArg=t;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function i(e){var t=e.match(n);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}e.urlParse=i;function a(e){var t=``;return e.scheme&&(t+=e.scheme+`:`),t+=`//`,e.auth&&(t+=e.auth+`@`),e.host&&(t+=e.host),e.port&&(t+=`:`+e.port),e.path&&(t+=e.path),t}e.urlGenerate=a;var o=32;function s(e){var t=[];return function(n){for(var r=0;r<t.length;r++)if(t[r].input===n){var i=t[0];return t[0]=t[r],t[r]=i,t[0].result}var a=e(n);return t.unshift({input:n,result:a}),t.length>o&&t.pop(),a}}var c=s(function(t){var n=t,r=i(t);if(r){if(!r.path)return t;n=r.path}for(var o=e.isAbsolute(n),s=[],c=0,l=0;;){if(c=l,l=n.indexOf(`/`,c),l===-1){s.push(n.slice(c));break}for(s.push(n.slice(c,l));l<n.length&&n[l]===`/`;)l++}for(var u,d=0,l=s.length-1;l>=0;l--)u=s[l],u===`.`?s.splice(l,1):u===`..`?d++:d>0&&(u===``?(s.splice(l+1,d),d=0):(s.splice(l,2),d--));return n=s.join(`/`),n===``&&(n=o?`/`:`.`),r?(r.path=n,a(r)):n});e.normalize=c;function l(e,t){e===``&&(e=`.`),t===``&&(t=`.`);var n=i(t),o=i(e);if(o&&(e=o.path||`/`),n&&!n.scheme)return o&&(n.scheme=o.scheme),a(n);if(n||t.match(r))return t;if(o&&!o.host&&!o.path)return o.host=t,a(o);var s=t.charAt(0)===`/`?t:c(e.replace(/\/+$/,``)+`/`+t);return o?(o.path=s,a(o)):s}e.join=l,e.isAbsolute=function(e){return e.charAt(0)===`/`||n.test(e)};function u(e,t){e===``&&(e=`.`),e=e.replace(/\/$/,``);for(var n=0;t.indexOf(e+`/`)!==0;){var r=e.lastIndexOf(`/`);if(r<0||(e=e.slice(0,r),e.match(/^([^\/]+:\/)?\/*$/)))return t;++n}return Array(n+1).join(`../`)+t.substr(e.length+1)}e.relative=u;var d=function(){return!(`__proto__`in Object.create(null))}();function f(e){return e}function p(e){return h(e)?`$`+e:e}e.toSetString=d?f:p;function m(e){return h(e)?e.slice(1):e}e.fromSetString=d?f:m;function h(e){if(!e)return!1;var t=e.length;if(t<9||e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95)return!1;for(var n=t-10;n>=0;n--)if(e.charCodeAt(n)!==36)return!1;return!0}function g(e,t,n){var r=b(e.source,t.source);return r!==0||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0||n)||(r=e.generatedColumn-t.generatedColumn,r!==0)||(r=e.generatedLine-t.generatedLine,r!==0)?r:b(e.name,t.name)}e.compareByOriginalPositions=g;function _(e,t,n){var r=e.originalLine-t.originalLine;return r!==0||(r=e.originalColumn-t.originalColumn,r!==0||n)||(r=e.generatedColumn-t.generatedColumn,r!==0)||(r=e.generatedLine-t.generatedLine,r!==0)?r:b(e.name,t.name)}e.compareByOriginalPositionsNoSource=_;function v(e,t,n){var r=e.generatedLine-t.generatedLine;return r!==0||(r=e.generatedColumn-t.generatedColumn,r!==0||n)||(r=b(e.source,t.source),r!==0)||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0)?r:b(e.name,t.name)}e.compareByGeneratedPositionsDeflated=v;function y(e,t,n){var r=e.generatedColumn-t.generatedColumn;return r!==0||n||(r=b(e.source,t.source),r!==0)||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0)?r:b(e.name,t.name)}e.compareByGeneratedPositionsDeflatedNoLine=y;function b(e,t){return e===t?0:e===null?1:t===null?-1:e>t?1:-1}function x(e,t){var n=e.generatedLine-t.generatedLine;return n!==0||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=b(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:b(e.name,t.name)}e.compareByGeneratedPositionsInflated=x;function S(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,``))}e.parseSourceMapInput=S;function C(e,t,n){if(t||=``,e&&(e[e.length-1]!==`/`&&t[0]!==`/`&&(e+=`/`),t=e+t),n){var r=i(n);if(!r)throw Error(`sourceMapURL could not be parsed`);if(r.path){var o=r.path.lastIndexOf(`/`);o>=0&&(r.path=r.path.substring(0,o+1))}t=l(a(r),t)}return c(t)}e.computeSourceURL=C})),Ll=/* @__PURE__ */ p((e=>{var t=Il(),n=Object.prototype.hasOwnProperty,r=typeof Map<`u`;function i(){this._array=[],this._set=r?/* @__PURE__ */ new Map:Object.create(null)}i.fromArray=function(e,t){for(var n=new i,r=0,a=e.length;r<a;r++)n.add(e[r],t);return n},i.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(e,i){var a=r?e:t.toSetString(e),o=r?this.has(e):n.call(this._set,a),s=this._array.length;(!o||i)&&this._array.push(e),o||(r?this._set.set(e,s):this._set[a]=s)},i.prototype.has=function(e){if(r)return this._set.has(e);var i=t.toSetString(e);return n.call(this._set,i)},i.prototype.indexOf=function(e){if(r){var i=this._set.get(e);if(i>=0)return i}else{var a=t.toSetString(e);if(n.call(this._set,a))return this._set[a]}throw Error(`"`+e+`" is not in the set.`)},i.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw Error(`No element indexed by `+e)},i.prototype.toArray=function(){return this._array.slice()},e.ArraySet=i})),Rl=/* @__PURE__ */ p((e=>{var t=Il();function n(e,n){var r=e.generatedLine,i=n.generatedLine,a=e.generatedColumn,o=n.generatedColumn;return i>r||i==r&&o>=a||t.compareByGeneratedPositionsInflated(e,n)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}r.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},r.prototype.add=function(e){n(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},r.prototype.toArray=function(){return this._sorted||=(this._array.sort(t.compareByGeneratedPositionsInflated),!0),this._array},e.MappingList=r})),zl=/* @__PURE__ */ p((e=>{var t=Fl(),n=Il(),r=Ll().ArraySet,i=Rl().MappingList;function a(e){e||={},this._file=n.getArg(e,`file`,null),this._sourceRoot=n.getArg(e,`sourceRoot`,null),this._skipValidation=n.getArg(e,`skipValidation`,!1),this._ignoreInvalidMapping=n.getArg(e,`ignoreInvalidMapping`,!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}a.prototype._version=3,a.fromSourceMap=function(e,t){var r=e.sourceRoot,i=new a(Object.assign(t||{},{file:e.file,sourceRoot:r}));return e.eachMapping(function(e){var t={generated:{line:e.generatedLine,column:e.generatedColumn}};e.source!=null&&(t.source=e.source,r!=null&&(t.source=n.relative(r,t.source)),t.original={line:e.originalLine,column:e.originalColumn},e.name!=null&&(t.name=e.name)),i.addMapping(t)}),e.sources.forEach(function(t){var a=t;r!==null&&(a=n.relative(r,t)),i._sources.has(a)||i._sources.add(a);var o=e.sourceContentFor(t);o!=null&&i.setSourceContent(t,o)}),i},a.prototype.addMapping=function(e){var t=n.getArg(e,`generated`),r=n.getArg(e,`original`,null),i=n.getArg(e,`source`,null),a=n.getArg(e,`name`,null);(this._skipValidation||this._validateMapping(t,r,i,a)!==!1)&&(i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),a!=null&&(a=String(a),this._names.has(a)||this._names.add(a)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:r!=null&&r.line,originalColumn:r!=null&&r.column,source:i,name:a}))},a.prototype.setSourceContent=function(e,t){var r=e;this._sourceRoot!=null&&(r=n.relative(this._sourceRoot,r)),t==null?this._sourcesContents&&(delete this._sourcesContents[n.toSetString(r)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null)):(this._sourcesContents||=Object.create(null),this._sourcesContents[n.toSetString(r)]=t)},a.prototype.applySourceMap=function(e,t,i){var a=t;if(t==null){if(e.file==null)throw Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);a=e.file}var o=this._sourceRoot;o!=null&&(a=n.relative(o,a));var s=new r,c=new r;this._mappings.unsortedForEach(function(t){if(t.source===a&&t.originalLine!=null){var r=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});r.source!=null&&(t.source=r.source,i!=null&&(t.source=n.join(i,t.source)),o!=null&&(t.source=n.relative(o,t.source)),t.originalLine=r.line,t.originalColumn=r.column,r.name!=null&&(t.name=r.name))}var l=t.source;l!=null&&!s.has(l)&&s.add(l);var u=t.name;u!=null&&!c.has(u)&&c.add(u)},this),this._sources=s,this._names=c,e.sources.forEach(function(t){var r=e.sourceContentFor(t);r!=null&&(i!=null&&(t=n.join(i,t)),o!=null&&(t=n.relative(o,t)),this.setSourceContent(t,r))},this)},a.prototype._validateMapping=function(e,t,n,r){if(t&&typeof t.line!=`number`&&typeof t.column!=`number`){var i=`original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.`;if(this._ignoreInvalidMapping)return typeof console<`u`&&console.warn&&console.warn(i),!1;throw Error(i)}if(!(e&&`line`in e&&`column`in e&&e.line>0&&e.column>=0&&!t&&!n&&!r)&&!(e&&`line`in e&&`column`in e&&t&&`line`in t&&`column`in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n)){var i=`Invalid mapping: `+JSON.stringify({generated:e,source:n,original:t,name:r});if(this._ignoreInvalidMapping)return typeof console<`u`&&console.warn&&console.warn(i),!1;throw Error(i)}},a.prototype._serializeMappings=function(){for(var e=0,r=1,i=0,a=0,o=0,s=0,c=``,l,u,d,f,p=this._mappings.toArray(),m=0,h=p.length;m<h;m++){if(u=p[m],l=``,u.generatedLine!==r){e=0;var g=u.generatedLine-r;l+=g===1?`;`:`;`.repeat(g),r=u.generatedLine}else if(m>0){if(!n.compareByGeneratedPositionsInflated(u,p[m-1]))continue;l+=`,`}l+=t.encode(u.generatedColumn-e),e=u.generatedColumn,u.source!=null&&(f=this._sources.indexOf(u.source),l+=t.encode(f-s),s=f,l+=t.encode(u.originalLine-1-a),a=u.originalLine-1,l+=t.encode(u.originalColumn-i),i=u.originalColumn,u.name!=null&&(d=this._names.indexOf(u.name),l+=t.encode(d-o),o=d)),c+=l}return c},a.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;t!=null&&(e=n.relative(t,e));var r=n.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},a.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},a.prototype.toString=function(){return JSON.stringify(this.toJSON())},e.SourceMapGenerator=a})),Bl=/* @__PURE__ */ p((e=>{e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(n,r,i,a,o,s){var c=Math.floor((r-n)/2)+n,l=o(i,a[c],!0);return l===0?c:l>0?r-c>1?t(c,r,i,a,o,s):s==e.LEAST_UPPER_BOUND?r<a.length?r:-1:c:c-n>1?t(n,c,i,a,o,s):s==e.LEAST_UPPER_BOUND?c:n<0?-1:n}e.search=function(n,r,i,a){if(r.length===0)return-1;var o=t(-1,r.length,n,r,i,a||e.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&i(r[o],r[o-1],!0)===0;)--o;return o}})),Vl=/* @__PURE__ */ p((e=>{function t(e){function t(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function n(e,t){return Math.round(e+Math.random()*(t-e))}function r(e,i,a,o){if(a<o){var s=n(a,o),c=a-1;t(e,s,o);for(var l=e[o],u=a;u<o;u++)i(e[u],l,!1)<=0&&(c+=1,t(e,c,u));t(e,c+1,u);var d=c+1;r(e,i,a,d-1),r(e,i,d+1,o)}}return r}function n(e){let n=t.toString();return Function(`return ${n}`)()(e)}let r=(function(){try{return Function(`return 0`)(),!0}catch{return!1}})(),i=/* @__PURE__ */ new WeakMap;e.quickSort=function(e,a,o=0){let s=r?i.get(a):t(a);s===void 0&&(s=n(a),i.set(a,s)),s(e,a,o,e.length-1)}})),Hl=/* @__PURE__ */ p((e=>{var t=Il(),n=Bl(),r=Ll().ArraySet,i=Fl(),a=Vl().quickSort,o=1e7;function s(e,n){var r=e;return typeof e==`string`&&(r=t.parseSourceMapInput(e)),r.sections==null?new c(r,n):new f(r,n)}s.fromSourceMap=function(e,t){return c.fromSourceMap(e,t)},s.prototype._version=3,s.prototype.__generatedMappings=null,Object.defineProperty(s.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),s.prototype.__originalMappings=null,Object.defineProperty(s.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),s.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return n===`;`||n===`,`},s.prototype._parseMappings=function(e,t){throw Error(`Subclasses must implement _parseMappings`)},s.GENERATED_ORDER=1,s.ORIGINAL_ORDER=2,s.GREATEST_LOWER_BOUND=1,s.LEAST_UPPER_BOUND=2,s.prototype.eachMapping=function(e,n,r){var i=n||null,a=r||s.GENERATED_ORDER,o;switch(a){case s.GENERATED_ORDER:o=this._generatedMappings;break;case s.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw Error(`Unknown order of iteration.`)}for(var c=this.sourceRoot,l=e.bind(i),u=this._names,d=this._sources,f=this._sourceMapURL,p=0,m=o.length;p<m;p++){var h=o[p],g=h.source===null?null:d.at(h.source);g!==null&&(g=t.computeSourceURL(c,g,f)),l({source:g,generatedLine:h.generatedLine,generatedColumn:h.generatedColumn,originalLine:h.originalLine,originalColumn:h.originalColumn,name:h.name===null?null:u.at(h.name)})}},s.prototype.allGeneratedPositionsFor=function(e){var r=t.getArg(e,`line`),i={source:t.getArg(e,`source`),originalLine:r,originalColumn:t.getArg(e,`column`,0)};if(i.source=this._findSourceIndex(i.source),i.source<0)return[];var a=[],o=this._findMapping(i,this._originalMappings,`originalLine`,`originalColumn`,t.compareByOriginalPositions,n.LEAST_UPPER_BOUND);if(o>=0){var s=this._originalMappings[o];if(e.column===void 0)for(var c=s.originalLine;s&&s.originalLine===c;)a.push({line:t.getArg(s,`generatedLine`,null),column:t.getArg(s,`generatedColumn`,null),lastColumn:t.getArg(s,`lastGeneratedColumn`,null)}),s=this._originalMappings[++o];else for(var l=s.originalColumn;s&&s.originalLine===r&&s.originalColumn==l;)a.push({line:t.getArg(s,`generatedLine`,null),column:t.getArg(s,`generatedColumn`,null),lastColumn:t.getArg(s,`lastGeneratedColumn`,null)}),s=this._originalMappings[++o]}return a},e.SourceMapConsumer=s;function c(e,n){var i=e;typeof e==`string`&&(i=t.parseSourceMapInput(e));var a=t.getArg(i,`version`),o=t.getArg(i,`sources`),s=t.getArg(i,`names`,[]),c=t.getArg(i,`sourceRoot`,null),l=t.getArg(i,`sourcesContent`,null),u=t.getArg(i,`mappings`),d=t.getArg(i,`file`,null);if(a!=this._version)throw Error(`Unsupported version: `+a);c&&=t.normalize(c),o=o.map(String).map(t.normalize).map(function(e){return c&&t.isAbsolute(c)&&t.isAbsolute(e)?t.relative(c,e):e}),this._names=r.fromArray(s.map(String),!0),this._sources=r.fromArray(o,!0),this._absoluteSources=this._sources.toArray().map(function(e){return t.computeSourceURL(c,e,n)}),this.sourceRoot=c,this.sourcesContent=l,this._mappings=u,this._sourceMapURL=n,this.file=d}c.prototype=Object.create(s.prototype),c.prototype.consumer=s,c.prototype._findSourceIndex=function(e){var n=e;if(this.sourceRoot!=null&&(n=t.relative(this.sourceRoot,n)),this._sources.has(n))return this._sources.indexOf(n);for(var r=0;r<this._absoluteSources.length;++r)if(this._absoluteSources[r]==e)return r;return-1},c.fromSourceMap=function(e,n){var i=Object.create(c.prototype),o=i._names=r.fromArray(e._names.toArray(),!0),s=i._sources=r.fromArray(e._sources.toArray(),!0);i.sourceRoot=e._sourceRoot,i.sourcesContent=e._generateSourcesContent(i._sources.toArray(),i.sourceRoot),i.file=e._file,i._sourceMapURL=n,i._absoluteSources=i._sources.toArray().map(function(e){return t.computeSourceURL(i.sourceRoot,e,n)});for(var u=e._mappings.toArray().slice(),d=i.__generatedMappings=[],f=i.__originalMappings=[],p=0,m=u.length;p<m;p++){var h=u[p],g=new l;g.generatedLine=h.generatedLine,g.generatedColumn=h.generatedColumn,h.source&&(g.source=s.indexOf(h.source),g.originalLine=h.originalLine,g.originalColumn=h.originalColumn,h.name&&(g.name=o.indexOf(h.name)),f.push(g)),d.push(g)}return a(i.__originalMappings,t.compareByOriginalPositions),i},c.prototype._version=3,Object.defineProperty(c.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function l(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}let u=t.compareByGeneratedPositionsDeflatedNoLine;function d(e,t){let n=e.length,r=e.length-t;if(!(r<=1)){if(r==2){let n=e[t],r=e[t+1];u(n,r)>0&&(e[t]=r,e[t+1]=n)}else if(r<20)for(let r=t;r<n;r++)for(let n=r;n>t;n--){let t=e[n-1],r=e[n];if(u(t,r)<=0)break;e[n-1]=r,e[n]=t}else a(e,u,t)}}c.prototype._parseMappings=function(e,n){var r=1,o=0,s=0,c=0,u=0,f=0,p=e.length,m=0,h={},g=[],_=[],v,y,b,x;let S=0;for(;m<p;)if(e.charAt(m)===`;`)r++,m++,o=0,d(_,S),S=_.length;else if(e.charAt(m)===`,`)m++;else{for(v=new l,v.generatedLine=r,b=m;b<p&&!this._charIsMappingSeparator(e,b);b++);for(e.slice(m,b),y=[];m<b;)i.decode(e,m,h),x=h.value,m=h.rest,y.push(x);if(y.length===2)throw Error(`Found a source, but no line and column`);if(y.length===3)throw Error(`Found a source and line, but no column`);if(v.generatedColumn=o+y[0],o=v.generatedColumn,y.length>1&&(v.source=u+y[1],u+=y[1],v.originalLine=s+y[2],s=v.originalLine,v.originalLine+=1,v.originalColumn=c+y[3],c=v.originalColumn,y.length>4&&(v.name=f+y[4],f+=y[4])),_.push(v),typeof v.originalLine==`number`){let e=v.source;for(;g.length<=e;)g.push(null);g[e]===null&&(g[e]=[]),g[e].push(v)}}d(_,S),this.__generatedMappings=_;for(var C=0;C<g.length;C++)g[C]!=null&&a(g[C],t.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...g)},c.prototype._findMapping=function(e,t,r,i,a,o){if(e[r]<=0)throw TypeError(`Line must be greater than or equal to 1, got `+e[r]);if(e[i]<0)throw TypeError(`Column must be greater than or equal to 0, got `+e[i]);return n.search(e,t,a,o)},c.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},c.prototype.originalPositionFor=function(e){var n={generatedLine:t.getArg(e,`line`),generatedColumn:t.getArg(e,`column`)},r=this._findMapping(n,this._generatedMappings,`generatedLine`,`generatedColumn`,t.compareByGeneratedPositionsDeflated,t.getArg(e,`bias`,s.GREATEST_LOWER_BOUND));if(r>=0){var i=this._generatedMappings[r];if(i.generatedLine===n.generatedLine){var a=t.getArg(i,`source`,null);a!==null&&(a=this._sources.at(a),a=t.computeSourceURL(this.sourceRoot,a,this._sourceMapURL));var o=t.getArg(i,`name`,null);return o!==null&&(o=this._names.at(o)),{source:a,line:t.getArg(i,`originalLine`,null),column:t.getArg(i,`originalColumn`,null),name:o}}}return{source:null,line:null,column:null,name:null}},c.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1},c.prototype.sourceContentFor=function(e,n){if(!this.sourcesContent)return null;var r=this._findSourceIndex(e);if(r>=0)return this.sourcesContent[r];var i=e;this.sourceRoot!=null&&(i=t.relative(this.sourceRoot,i));var a;if(this.sourceRoot!=null&&(a=t.urlParse(this.sourceRoot))){var o=i.replace(/^file:\/\//,``);if(a.scheme==`file`&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];if((!a.path||a.path==`/`)&&this._sources.has(`/`+i))return this.sourcesContent[this._sources.indexOf(`/`+i)]}if(n)return null;throw Error(`"`+i+`" is not in the SourceMap.`)},c.prototype.generatedPositionFor=function(e){var n=t.getArg(e,`source`);if(n=this._findSourceIndex(n),n<0)return{line:null,column:null,lastColumn:null};var r={source:n,originalLine:t.getArg(e,`line`),originalColumn:t.getArg(e,`column`)},i=this._findMapping(r,this._originalMappings,`originalLine`,`originalColumn`,t.compareByOriginalPositions,t.getArg(e,`bias`,s.GREATEST_LOWER_BOUND));if(i>=0){var a=this._originalMappings[i];if(a.source===r.source)return{line:t.getArg(a,`generatedLine`,null),column:t.getArg(a,`generatedColumn`,null),lastColumn:t.getArg(a,`lastGeneratedColumn`,null)}}return{line:null,column:null,lastColumn:null}},e.BasicSourceMapConsumer=c;function f(e,n){var i=e;typeof e==`string`&&(i=t.parseSourceMapInput(e));var a=t.getArg(i,`version`),c=t.getArg(i,`sections`);if(a!=this._version)throw Error(`Unsupported version: `+a);this._sources=new r,this._names=new r;var l={line:-1,column:0},u=0;this._sections=c.map(function(e){if(e.url)throw Error(`Support for url field in sections not implemented.`);var r=t.getArg(e,`offset`),i=t.getArg(r,`line`),a=t.getArg(r,`column`);if(!p(i)||!p(a))throw Error(`Section offset line and column must be non-negative integers.`);if(i>o)throw Error(`Section offset line must not exceed `+o+`.`);if(i<l.line||i===l.line&&a<l.column)throw Error(`Section offsets must be ordered and non-overlapping.`);l=r;var c=new s(t.getArg(e,`map`),n),d=i+(c._maxOffsetLine||0);if(d>o)throw Error(`Section offset line must not exceed `+o+`, including offsets of nested sections.`);return d>u&&(u=d),{generatedOffset:{generatedLine:i+1,generatedColumn:a+1},consumer:c}}),this._maxOffsetLine=u}function p(e){return typeof e==`number`&&e>=0&&e<=9007199254740991&&Math.floor(e)===e}f.prototype=Object.create(s.prototype),f.prototype.constructor=s,f.prototype._version=3,Object.defineProperty(f.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=this._sections[t].consumer.sources,r=0;r<n.length;r++)e.push(n[r]);return e}}),f.prototype.originalPositionFor=function(e){var r={generatedLine:t.getArg(e,`line`),generatedColumn:t.getArg(e,`column`)},i=n.search(r,this._sections,function(e,t){return e.generatedLine-t.generatedOffset.generatedLine||e.generatedColumn-t.generatedOffset.generatedColumn}),a=this._sections[i];return a?a.consumer.originalPositionFor({line:r.generatedLine-(a.generatedOffset.generatedLine-1),column:r.generatedColumn-(a.generatedOffset.generatedLine===r.generatedLine?a.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},f.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},f.prototype.sourceContentFor=function(e,t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n].consumer.sourceContentFor(e,!0);if(r||r===``)return r}if(t)return null;throw Error(`"`+e+`" is not in the SourceMap.`)},f.prototype.generatedPositionFor=function(e){for(var n=0;n<this._sections.length;n++){var r=this._sections[n];if(r.consumer._findSourceIndex(t.getArg(e,`source`))!==-1){var i=r.consumer.generatedPositionFor(e);if(i)return{line:i.line+(r.generatedOffset.generatedLine-1),column:i.column+(r.generatedOffset.generatedLine===i.line?r.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},f.prototype._parseMappings=function(e,n){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var i=this._sections[r],o=i.consumer._generatedMappings,s=0;s<o.length;s++){var c=o[s],l=i.consumer._sources.at(c.source);l!==null&&(l=t.computeSourceURL(i.consumer.sourceRoot,l,this._sourceMapURL)),this._sources.add(l),l=this._sources.indexOf(l);var u=null;c.name&&(u=i.consumer._names.at(c.name),this._names.add(u),u=this._names.indexOf(u));var d={source:l,generatedLine:c.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:c.generatedColumn+(i.generatedOffset.generatedLine===c.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:c.originalLine,originalColumn:c.originalColumn,name:u};this.__generatedMappings.push(d),typeof d.originalLine==`number`&&this.__originalMappings.push(d)}a(this.__generatedMappings,t.compareByGeneratedPositionsDeflated),a(this.__originalMappings,t.compareByOriginalPositions)},e.IndexedSourceMapConsumer=f})),Ul=/* @__PURE__ */ p((e=>{var t=zl().SourceMapGenerator,n=Il(),r=/(\r?\n)/,i=10,a=`$$$isSourceNode$$$`;function o(e,t,n,r,i){this.children=[],this.sourceContents={},this.line=e??null,this.column=t??null,this.source=n??null,this.name=i??null,this[a]=!0,r!=null&&this.add(r)}o.fromStringWithSourceMap=function(e,t,i){var a=new o,s=e.split(r),c=0,l=function(){return e()+(e()||``);function e(){return c<s.length?s[c++]:void 0}},u=1,d=0,f=null;return t.eachMapping(function(e){if(f!==null){if(u<e.generatedLine)p(f,l()),u++,d=0;else{var t=s[c]||``,n=t.substr(0,e.generatedColumn-d);s[c]=t.substr(e.generatedColumn-d),d=e.generatedColumn,p(f,n),f=e;return}}for(;u<e.generatedLine;){if(c>=s.length){u=e.generatedLine;break}a.add(l()),u++}if(d<e.generatedColumn){var t=s[c]||``;a.add(t.substr(0,e.generatedColumn)),s[c]=t.substr(e.generatedColumn),d=e.generatedColumn}f=e},this),c<s.length&&(f&&p(f,l()),a.add(s.splice(c).join(``))),t.sources.forEach(function(e){var r=t.sourceContentFor(e);r!=null&&(i!=null&&(e=n.join(i,e)),a.setSourceContent(e,r))}),a;function p(e,t){if(e===null||e.source===void 0)a.add(t);else{var r=i?n.join(i,e.source):e.source;a.add(new o(e.originalLine,e.originalColumn,r,t,e.name))}}},o.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else if(e[a]||typeof e==`string`)e&&this.children.push(e);else throw TypeError(`Expected a SourceNode, string, or an array of SourceNodes and strings. Got `+e);return this},o.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else if(e[a]||typeof e==`string`)this.children.unshift(e);else throw TypeError(`Expected a SourceNode, string, or an array of SourceNodes and strings. Got `+e);return this},o.prototype.walk=function(e){for(var t,n=0,r=this.children.length;n<r;n++)t=this.children[n],t[a]?t.walk(e):t!==``&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},o.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;n<r-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},o.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[a]?n.replaceRight(e,t):typeof n==`string`?this.children[this.children.length-1]=n.replace(e,t):this.children.push(``.replace(e,t)),this},o.prototype.setSourceContent=function(e,t){this.sourceContents[n.toSetString(e)]=t},o.prototype.walkSourceContents=function(e){for(var t=0,r=this.children.length;t<r;t++)this.children[t][a]&&this.children[t].walkSourceContents(e);for(var i=Object.keys(this.sourceContents),t=0,r=i.length;t<r;t++)e(n.fromSetString(i[t]),this.sourceContents[i[t]])},o.prototype.toString=function(){var e=``;return this.walk(function(t){e+=t}),e},o.prototype.toStringWithSourceMap=function(e){var n={code:``,line:1,column:0},r=new t(e),a=!1,o=null,s=null,c=null,l=null;return this.walk(function(e,t){n.code+=e,t.source!==null&&t.line!==null&&t.column!==null?((o!==t.source||s!==t.line||c!==t.column||l!==t.name)&&r.addMapping({source:t.source,original:{line:t.line,column:t.column},generated:{line:n.line,column:n.column},name:t.name}),o=t.source,s=t.line,c=t.column,l=t.name,a=!0):a&&=(r.addMapping({generated:{line:n.line,column:n.column}}),o=null,!1);for(var u=0,d=e.length;u<d;u++)e.charCodeAt(u)===i?(n.line++,n.column=0,u+1===d?(o=null,a=!1):a&&r.addMapping({source:t.source,original:{line:t.line,column:t.column},generated:{line:n.line,column:n.column},name:t.name})):n.column++}),this.walkSourceContents(function(e,t){r.setSourceContent(e,t)}),{code:n.code,map:r}},e.SourceNode=o})),Wl=/* @__PURE__ */ p((e=>{e.SourceMapGenerator=zl().SourceMapGenerator,e.SourceMapConsumer=Hl().SourceMapConsumer,e.SourceNode=Ul().SourceNode})),Gl=/* @__PURE__ */ p(((e,t)=>{let{existsSync:n,readFileSync:r,realpathSync:i}=g(`fs`),{dirname:a,isAbsolute:o,join:s,relative:c,sep:l}=g(`path`),{SourceMapConsumer:u,SourceMapGenerator:d}=Wl();function f(e){try{return i(e)}catch{return e}}function p(e){
|
|
33
33
|
/* c8 ignore next 2 */
|
|
34
34
|
return Buffer?Buffer.from(e,`base64`).toString():window.atob(e)}var m=class{constructor(e,t){if(t.map===!1)return;t.unsafeMap&&(this.unsafeMap=!0),this.loadAnnotation(e),this.inline=this.startWith(this.annotation,`data:`);let n=t.map?t.map.prev:void 0,r=this.loadMap(t.from,n);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=a(this.mapFile)),r&&(this.text=r)}consumer(){return this.consumerCache||=new u(this.json||this.text),this.consumerCache}decodeInline(e){let t=/^data:application\/json;charset=utf-?8;base64,/,n=/^data:application\/json;base64,/,r=e.match(/^data:application\/json;charset=utf-?8,/)||e.match(/^data:application\/json,/);if(r)return decodeURIComponent(e.substr(r[0].length));let i=e.match(t)||e.match(n);if(i)return p(e.substr(i[0].length));let a=e.slice(22);throw a=a.slice(0,a.indexOf(`,`)),Error(`Unsupported source map encoding `+a)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,``).trim()}isMap(e){return typeof e==`object`?typeof e.mappings==`string`||typeof e._mappings==`string`||Array.isArray(e.sections):!1}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/g);if(!t)return;let n=e.lastIndexOf(t.pop()),r=e.indexOf(`*/`,n);n>-1&&r>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,r)))}loadFile(e,t,i){if(!i&&!this.unsafeMap){if(!/\.map$/i.test(e)||!t)return;let n=c(f(a(t)),f(e));if(n===`..`||n.startsWith(`..`+l)||o(n))return}if(this.root=a(e),n(e))return this.mapFile=e,r(e,`utf-8`).toString().trim()}loadMap(e,t){if(t===!1)return!1;if(t){if(typeof t==`string`)return t;if(typeof t==`function`){let n=t(e);if(n){let t=this.loadFile(n,e,!0);if(!t)throw Error(`Unable to load previous source map: `+n.toString());return t}}else if(t instanceof u)return d.fromSourceMap(t).toString();else if(t instanceof d)return t.toString();else if(this.isMap(t))return JSON.stringify(t);else throw Error(`Unsupported previous source map format: `+t.toString())}else if(this.inline)return this.decodeInline(this.annotation);else if(this.annotation){let t=this.annotation;e&&(t=s(a(e),t));let n=this.loadFile(t,e,!1);if(n)try{
|
|
35
35
|
/* c8 ignore next 4 */
|
|
36
|
-
this.json=JSON.parse(n.replace(/^\)]}'[^\n]*\n/,``))}catch{return}return n}}startWith(e,t){return e?e.substr(0,t.length)===t:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};t.exports=m,m.default=m})),
|
|
37
|
-
`),n=Array(t.length),r=0;for(let e=0,i=t.length;e<i;e++)n[e]=r,r+=t[e].length+1;return e[f]=n,n}var _=class{get from(){return this.file||this.id}constructor(e,t={}){if(e==null||typeof e==`object`&&!e.toString)throw Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]===``||this.css[0]===``?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,t.document&&(this.document=t.document.toString()),t.from&&(this.file=!m||/^\w+:\/\//.test(t.from)||r(t.from)?t.from:i(t.from)),m&&p){let e=new u(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id=`<input css `+n(6)+`>`),this.map&&(this.map.file=this.from)}error(e,t,n,r={}){let i,a,o,s,u;if(t&&typeof t==`object`){let e=t,r=n;if(typeof e.offset==`number`){s=e.offset;let r=this.fromOffset(s);t=r.line,n=r.col}else t=e.line,n=e.column,s=this.fromLineAndColumn(t,n);if(typeof r.offset==`number`){o=r.offset;let e=this.fromOffset(o);a=e.line,i=e.col}else a=r.line,i=r.column,o=this.fromLineAndColumn(r.line,r.column)}else if(n)s=this.fromLineAndColumn(t,n);else{s=t;let e=this.fromOffset(s);t=e.line,n=e.col}let d=this.origin(t,n,a,i);return u=d?new l(e,d.endLine===void 0?d.line:{column:d.column,line:d.line},d.endLine===void 0?d.column:{column:d.endColumn,line:d.endLine},d.source,d.file,r.plugin):new l(e,a===void 0?t:{column:n,line:t},a===void 0?n:{column:i,line:a},this.css,this.file,r.plugin),u.input={column:n,endColumn:i,endLine:a,endOffset:o,line:t,offset:s,source:this.css},this.file&&(c&&(u.input.url=c(this.file).toString()),u.input.file=this.file),u}fromLineAndColumn(e,t){return h(this)[e-1]+t-1}fromOffset(e){let t=h(this),n=t[t.length-1],r=0;if(e>=n)r=t.length-1;else{let n=t.length-2,i;for(;r<n;)if(i=r+(n-r>>1),e<t[i])n=i-1;else if(e>=t[i+1])r=i+1;else{r=i;break}}return{col:e-t[r]+1,line:r+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:i(this.map.consumer().sourceRoot||this.map.root||`.`,e)}origin(e,t,n,
|
|
36
|
+
this.json=JSON.parse(n.replace(/^\)]}'[^\n]*\n/,``))}catch{return}return n}}startWith(e,t){return e?e.substr(0,t.length)===t:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};t.exports=m,m.default=m})),Kl=/* @__PURE__ */ p(((e,t)=>{let{nanoid:n}=Nl(),{isAbsolute:r,resolve:i}=g(`path`),{SourceMapConsumer:a,SourceMapGenerator:o}=Wl(),{fileURLToPath:s,pathToFileURL:c}=g(`url`),l=Cl(),u=Gl(),d=Sl(),f=Symbol(`lineToIndexCache`),p=!!(a&&o),m=!!(i&&r);function h(e){if(e[f])return e[f];let t=e.css.split(`
|
|
37
|
+
`),n=Array(t.length),r=0;for(let e=0,i=t.length;e<i;e++)n[e]=r,r+=t[e].length+1;return e[f]=n,n}var _=class{get from(){return this.file||this.id}constructor(e,t={}){if(e==null||typeof e==`object`&&!e.toString)throw Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]===``||this.css[0]===``?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,t.document&&(this.document=t.document.toString()),t.from&&(this.file=!m||/^\w+:\/\//.test(t.from)||r(t.from)?t.from:i(t.from)),m&&p){let e=new u(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id=`<input css `+n(6)+`>`),this.map&&(this.map.file=this.from)}error(e,t,n,r={}){let i,a,o,s,u;if(t&&typeof t==`object`){let e=t,r=n;if(typeof e.offset==`number`){s=e.offset;let r=this.fromOffset(s);t=r.line,n=r.col}else t=e.line,n=e.column,s=this.fromLineAndColumn(t,n);if(typeof r.offset==`number`){o=r.offset;let e=this.fromOffset(o);a=e.line,i=e.col}else a=r.line,i=r.column,o=this.fromLineAndColumn(r.line,r.column)}else if(n)s=this.fromLineAndColumn(t,n);else{s=t;let e=this.fromOffset(s);t=e.line,n=e.col}let d=this.origin(t,n,a,i);return u=d?new l(e,d.endLine===void 0?d.line:{column:d.column,line:d.line},d.endLine===void 0?d.column:{column:d.endColumn,line:d.endLine},d.source,d.file,r.plugin):new l(e,a===void 0?t:{column:n,line:t},a===void 0?n:{column:i,line:a},this.css,this.file,r.plugin),u.input={column:n,endColumn:i,endLine:a,endOffset:o,line:t,offset:s,source:this.css},this.file&&(c&&(u.input.url=c(this.file).toString()),u.input.file=this.file),u}fromLineAndColumn(e,t){return h(this)[e-1]+t-1}fromOffset(e){let t=h(this),n=t[t.length-1],r=0;if(e>=n)r=t.length-1;else{let n=t.length-2,i;for(;r<n;)if(i=r+(n-r>>1),e<t[i])n=i-1;else if(e>=t[i+1])r=i+1;else{r=i;break}}return{col:e-t[r]+1,line:r+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:i(this.map.consumer().sourceRoot||this.map.root||`.`,e)}origin(e,t,n,a){if(!this.map)return!1;let o=this.map.consumer(),l=o.originalPositionFor({column:t-1,line:e});if(!l.source)return!1;let u;if(typeof n==`number`){let e=o.originalPositionFor({column:a-1,line:n});e.source&&(u=e)}let d;d=r(l.source)?c(l.source):new URL(l.source,c(this.map.mapFile||i(`.`)+`/`));let f={column:l.column+1,endColumn:u&&u.column+1,endLine:u&&u.line,line:l.line,url:d.toString()};if(d.protocol===`file:`){if(s)f.file=s(d);else
|
|
38
38
|
/* c8 ignore next 2 */
|
|
39
|
-
throw Error(`file: protocol is not available in this PostCSS build`)}let
|
|
40
|
-
`,` `])},split(e,t,n){if(typeof e!=`string`)return[];let r=[],i=``,a=!1,o=0,s=!1,c=``,l=!1,u=!1;for(let d=0;d<e.length;d++){let f=e[d];if(u)i+=f,f===`*`&&e[d+1]===`/`&&(i+=`/`,d+=1,u=!1);else{if(l)l=!1;else if(f===`\\`)l=!0;else if(s)f===c&&(s=!1);else if(f===`"`||f===`'`)s=!0,c=f;else if(f===`/`&&e[d+1]===`*`){i+=`/*`,d+=1,u=!0;continue}else f===`(`?o+=1:f===`)`?o>0&&--o:o===0&&t.includes(f)&&(a=!0);if(a){let e=i.trim();(n||e!==``)&&r.push(e),i=``,a=!1}else i+=f}}let d=i.trim();return(n||d!==``)&&r.push(d),r}};t.exports=n,n.default=n})),
|
|
39
|
+
throw Error(`file: protocol is not available in this PostCSS build`)}let p=o.sourceContentFor(l.source);return p&&(f.source=p),f}toJSON(){let e={};for(let t of[`hasBOM`,`css`,`file`,`id`])this[t]!=null&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}};t.exports=_,_.default=_,d&&d.registerInput&&d.registerInput(_)})),ql=/* @__PURE__ */ p(((e,t)=>{let n=Al(),r,i;var a=class extends n{constructor(e){super(e),this.type=`root`,this.nodes||=[]}normalize(e,t,n){let r=/* @__PURE__ */ new Set;for(let t of Array.isArray(e)?e:[e])t&&typeof t==`object`&&!t.parent&&t.raws&&t.raws.before!==void 0&&r.add(t.raws);let i=super.normalize(e);if(t){if(n===`prepend`)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of i)r.has(e.raws)||(e.raws.before=t.raws.before)}return i}removeChild(e,t){let n=this.index(e);return!t&&n===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),super.removeChild(e)}toResult(e={}){return new r(new i,this,e).stringify()}};a.registerLazyResult=e=>{r=e},a.registerProcessor=e=>{i=e},t.exports=a,a.default=a,n.registerRoot(a)})),Jl=/* @__PURE__ */ p(((e,t)=>{let n={comma(e){return n.split(e,[`,`],!0)},space(e){return n.split(e,[` `,`
|
|
40
|
+
`,` `])},split(e,t,n){if(typeof e!=`string`)return[];let r=[],i=``,a=!1,o=0,s=!1,c=``,l=!1,u=!1;for(let d=0;d<e.length;d++){let f=e[d];if(u)i+=f,f===`*`&&e[d+1]===`/`&&(i+=`/`,d+=1,u=!1);else{if(l)l=!1;else if(f===`\\`)l=!0;else if(s)f===c&&(s=!1);else if(f===`"`||f===`'`)s=!0,c=f;else if(f===`/`&&e[d+1]===`*`){i+=`/*`,d+=1,u=!0;continue}else f===`(`?o+=1:f===`)`?o>0&&--o:o===0&&t.includes(f)&&(a=!0);if(a){let e=i.trim();(n||e!==``)&&r.push(e),i=``,a=!1}else i+=f}}let d=i.trim();return(n||d!==``)&&r.push(d),r}};t.exports=n,n.default=n})),Yl=/* @__PURE__ */ p(((e,t)=>{let n=Al(),r=Jl();var i=class extends n{get selectors(){return r.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,n=t?t[0]:`,`+this.raw(`between`,`beforeOpen`);this.selector=e.join(n)}constructor(e){super(e),this.type=`rule`,this.nodes||=[]}};t.exports=i,i.default=i,n.registerRule(i)})),Xl=/* @__PURE__ */ p(((e,t)=>{let n=jl(),r=Ol(),i=kl(),a=Kl(),o=Gl(),s=ql(),c=Yl();function l(e,t){return e.inputs?e.inputs.map(e=>{let t={...e,__proto__:a.prototype};return t.map&&={...t.map,__proto__:o.prototype},t}):t}function u(e,t,a){let o={...e};if(delete o.inputs,delete o.nodes,o.source){let{inputId:e,...n}=o.source;o.source=n,e!=null&&(o.source.input=t[e])}let l;if(o.type===`root`)l=new s(o);else if(o.type===`decl`)l=new i(o);else if(o.type===`rule`)l=new c(o);else if(o.type===`comment`)l=new r(o);else if(o.type===`atrule`)l=new n(o);else throw Error(`Unknown node type: `+e.type);if(a){l.nodes=a;for(let e of a)e.parent=l}return l}function d(e,t){if(Array.isArray(e))return e.map(e=>d(e));let n,r=[{childIndex:0,children:[],inputs:l(e,t),json:e}];for(;r.length>0;){let e=r[r.length-1],t=e.json.nodes;if(t&&e.childIndex<t.length){let n=t[e.childIndex];e.childIndex+=1,r.push({childIndex:0,children:[],inputs:l(n,e.inputs),json:n});continue}r.pop();let i=u(e.json,e.inputs,t?e.children:void 0);r.length>0?r[r.length-1].children.push(i):n=i}return n}t.exports=d,d.default=d})),Zl=/* @__PURE__ */ p(((e,t)=>{let{dirname:n,relative:r,resolve:i,sep:a}=g(`path`),{SourceMapConsumer:o,SourceMapGenerator:s}=Wl(),{pathToFileURL:c}=g(`url`),l=Kl(),u=!!(o&&s),d=!!(n&&i&&r&&a);t.exports=class{constructor(e,t,n,r){this.stringify=e,this.mapOpts=n.map||{},this.root=t,this.opts=n,this.css=r,this.originalCSS=r,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=/* @__PURE__ */ new Map,this.memoizedPaths=/* @__PURE__ */ new Map,this.memoizedURLs=/* @__PURE__ */ new Map}addAnnotation(){let e;e=this.isInline()?`data:application/json;base64,`+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation==`string`?this.mapOpts.annotation:typeof this.mapOpts.annotation==`function`?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+`.map`;let t=`
|
|
41
41
|
`;this.css.includes(`\r
|
|
42
42
|
`)&&(t=`\r
|
|
43
43
|
`),this.css+=t+`/*# sourceMappingURL=`+e+` */`}applyPrevMaps(){for(let e of this.previous()){let t=this.toUrl(this.path(e.file)),r=e.root||n(e.file),i;this.mapOpts.sourcesContent===!1?(i=new o(e.text),i.sourcesContent&&(i.sourcesContent=null)):i=e.consumer(),this.map.applySourceMap(i,t,this.toUrl(this.path(r)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1){if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],e.type===`comment`&&e.text.startsWith(`# sourceMappingURL=`)&&this.root.removeChild(t)}else if(this.css){let e=``,t=0,n;for(;(n=this.css.indexOf(`/*# sourceMappingURL=`,t))!==-1;){let r=this.css.indexOf(`*/`,n+21);if(r===-1)break;for(;n>t&&this.css[n-1]===`
|
|
44
44
|
`;)n--;e+=this.css.slice(t,n),t=r+2}t>0&&(this.css=e+this.css.slice(t))}}}generate(){if(this.clearAnnotation(),d&&u&&this.isMap())return this.generateMap();{let e=``;return this.stringify(this.root,t=>{e+=t}),[e]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=s.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new s({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):`<no source>`});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css=``,this.map=new s({file:this.outputFile(),ignoreInvalidMapping:!0});let e=1,t=1,n=`<no source>`,r={generated:{column:0,line:0},original:{column:0,line:0},source:``},i,a;this.stringify(this.root,(o,s,c)=>{if(this.css+=o,s&&c!==`end`&&(r.generated.line=e,r.generated.column=t-1,s.source&&s.source.start?(r.source=this.sourcePath(s),r.original.line=s.source.start.line,r.original.column=s.source.start.column-1,this.map.addMapping(r)):(r.source=n,r.original.line=1,r.original.column=0,this.map.addMapping(r))),a=o.match(/\n/g),a?(e+=a.length,i=o.lastIndexOf(`
|
|
45
|
-
`),t=o.length-i):t+=o.length,s&&c!==`start`){let i=s.parent||{raws:{}};(!(s.type===`decl`||s.type===`atrule`&&!s.nodes)||s!==i.last||i.raws.semicolon)&&(s.source&&s.source.end?(r.source=this.sourcePath(s),r.original.line=s.source.end.line,r.original.column=s.source.end.column-1,r.generated.line=e,r.generated.column=t-2,this.map.addMapping(r)):(r.source=n,r.original.line=1,r.original.column=0,r.generated.line=e,r.generated.column=t-1,this.map.addMapping(r)))}})}isAnnotation(){return this.isInline()?!0:this.mapOpts.annotation===void 0?!this.previous().length||this.previous().some(e=>e.annotation):this.mapOpts.annotation}isInline(){if(this.mapOpts.inline!==void 0)return this.mapOpts.inline;let e=this.mapOpts.annotation;return e!==void 0&&e!==!0?!1:!this.previous().length||this.previous().some(e=>e.inline)}isMap(){return this.opts.map===void 0?this.previous().length>0:!!this.opts.map}isSourcesContent(){return this.mapOpts.sourcesContent===void 0?!this.previous().length||this.previous().some(e=>e.withContent()):this.mapOpts.sourcesContent}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):`to.css`}path(e){if(this.mapOpts.absolute||e.charCodeAt(0)===60||/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let a=this.opts.to?n(this.opts.to):`.`;typeof this.mapOpts.annotation==`string`&&(a=n(i(a,this.mapOpts.annotation)));let o=r(a,e);return this.memoizedPaths.set(e,o),o}previous(){if(!this.previousMaps){if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}});else{let e=new l(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let n=t.source.input.from;if(n&&!e[n]){e[n]=!0;let r=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(r,t.source.input.css)}}});else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):`<no source>`;this.map.setSourceContent(e,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Buffer?Buffer.from(e).toString(`base64`):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(c){let t=c(e).toString();return this.memoizedFileURLs.set(e,t),t}throw Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;a===`\\`&&(e=e.replace(/\\/g,`/`));let n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,n),n}}})),Zo=/* @__PURE__ */ p(((e,t)=>{let n=Ao(),r=Do(),i=Oo(),a=Ko(),o=Jo(),s=bo(),c={empty:!0,space:!0};function l(e){for(let t=e.length-1;t>=0;t--){let n=e[t],r=n[3]||n[2];if(r)return r}}function u(e,t,n){let r=``;for(let i=t;i<n;i++)r+=e[i][1];return r}t.exports=class{constructor(e){this.input=e,this.root=new a,this.current=this.root,this.spaces=``,this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t=new n;t.name=e[1].slice(1),t.name===``&&this.unnamedAtrule(t,e),this.init(t,e[2]);let r,i,a,o=!1,s=!1,c=[],l=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),r=e[0],r===`(`||r===`[`?l.push(r===`(`?`)`:`]`):r===`{`&&l.length>0?l.push(`}`):r===l[l.length-1]&&l.pop(),l.length===0){if(r===`;`){t.source.end=this.getPosition(e[2]),t.source.end.offset++,this.semicolon=!0;break}if(r===`{`){s=!0;break}if(r===`}`){if(c.length>0){for(a=c.length-1,i=c[a];i&&i[0]===`space`;)i=c[--a];i&&(t.source.end=this.getPosition(i[3]||i[2]),t.source.end.offset++)}this.end(e);break}c.push(e)}else c.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}t.raws.between=this.spacesAndCommentsFromEnd(c),c.length?(t.raws.afterName=this.spacesAndCommentsFromStart(c),this.raw(t,`params`,c),o&&(e=c[c.length-1],t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++,this.spaces=t.raws.between,t.raws.between=``)):(t.raws.afterName=``,t.params=``),s&&(t.nodes=[],this.current=t)}checkMissedSemicolon(e){let t=this.colon(e);if(t===!1)return;let n=0,r;for(let i=t-1;i>=0&&(r=e[i],!(r[0]!==`space`&&(n+=1,n===2)));i--);throw this.input.error(`Missed semicolon`,r[0]===`word`?r[3]+1:r[2])}colon(e){let t=0,n,r,i;for(let[a,o]of e.entries()){if(r=o,i=r[0],i===`(`&&(t+=1),i===`)`&&--t,t===0&&i===`:`){if(!n)this.doubleColon(r);else if(n[0]===`word`&&n[1]===`progid`)continue;else return a}n=r}return!1}comment(e){let t=new r;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let n=e[1].slice(2,-2);if(!n.trim())t.text=``,t.raws.left=n,t.raws.right=``;else{let e=n.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}createTokenizer(){this.tokenizer=s(this.input)}decl(e,t){let n=new i;this.init(n,e[0][2]);let r=e[e.length-1];r[0]===`;`&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(r[3]||r[2]||l(e)),n.source.end.offset++;let a=0;for(;e[a][0]!==`word`;)a===e.length-1&&this.unknownWord([e[a]]),a++;n.raws.before+=u(e,0,a),n.source.start=this.getPosition(e[a][2]);let o=a;for(;a<e.length;){let t=e[a][0];if(t===`:`||t===`space`||t===`comment`)break;a++}n.prop=u(e,o,a);let s=a,c;for(;a<e.length&&(c=e[a],a++,c[0]!==`:`);)c[0]===`word`&&/\w/.test(c[1])&&this.unknownWord([c]);n.raws.between=u(e,s,a),(n.prop[0]===`_`||n.prop[0]===`*`)&&(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let d=a;for(;a<e.length;){let t=e[a][0];if(t!==`space`&&t!==`comment`)break;a++}let f=e.slice(d,a);e=e.slice(a),this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(c=e[t],c[1].toLowerCase()===`!important`){n.important=!0;let r=this.stringFrom(e,t);r=this.spacesFromEnd(e)+r,r!==` !important`&&(n.raws.important=r);break}if(c[1].toLowerCase()===`important`){let r=e.slice(0),i=``;for(let e=t;e>0;e--){let t=r[e][0];if(i.trim().startsWith(`!`)&&t!==`space`)break;i=r.pop()[1]+i}i.trim().startsWith(`!`)&&(n.important=!0,n.raws.important=i,e=r)}if(c[0]!==`space`&&c[0]!==`comment`)break}e.some(e=>e[0]!==`space`&&e[0]!==`comment`)&&(n.raws.between+=f.map(e=>e[1]).join(``),f=[]),this.raw(n,`value`,f.concat(e),t),n.value.includes(`:`)&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error(`Double colon`,{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new o;this.init(t,e[2]),t.selector=``,t.raws.between=``,this.current=t}end(e){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(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}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(e){if(this.spaces+=e[1],this.current.nodes){let t=this.current.nodes[this.current.nodes.length-1];t&&t.type===`rule`&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces=``,t.source.end=this.getPosition(e[2]),t.source.end.offset++)}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces=``,e.type!==`comment`&&(this.semicolon=!1)}other(e){let t=!1,n=null,r=!1,i=null,a=[],o=e[1].startsWith(`--`),s=[],c=e;for(;c;){if(n=c[0],s.push(c),n===`(`||n===`[`)i||=c,a.push(n===`(`?`)`:`]`);else if(o&&r&&n===`{`)i||=c,a.push(`}`);else if(a.length===0){if(n===`;`){if(r){this.decl(s,o);return}break}if(n===`{`){this.rule(s);return}if(n===`}`){this.tokenizer.back(s.pop()),t=!0;break}n===`:`&&(r=!0)}else n===a[a.length-1]&&(a.pop(),a.length===0&&(i=null));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),a.length>0&&this.unclosedBracket(i),t&&r){if(!o)for(;s.length&&(c=s[s.length-1][0],c===`space`||c===`comment`);)this.tokenizer.back(s.pop());this.decl(s,o)}else this.unknownWord(s)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case`space`:this.spaces+=e[1];break;case`;`:this.freeSemicolon(e);break;case`}`:this.end(e);break;case`comment`:this.comment(e);break;case`at-word`:this.atrule(e);break;case`{`:this.emptyRule(e);break;default:this.other(e)}this.endFile()}precheckMissedSemicolon(){}raw(e,t,n,r){let i,a,o=n.length,s=``,l=``,u=!0,d,f;for(let e=0;e<o;e+=1)i=n[e],a=i[0],a===`space`&&e===o-1&&!r?u=!1:a===`comment`?(f=n[e-1]?n[e-1][0]:`empty`,d=n[e+1]?n[e+1][0]:`empty`,!c[f]&&!c[d]?l===`,`?u=!1:(s+=i[1],l=i[1].slice(-1)):u=!1):(s+=i[1],l=i[1].slice(-1));if(!u){let r=n.reduce((e,t)=>e+t[1],``);e.raws[t]={raw:r,value:s}}e[t]=s}rule(e){e.pop();let t=new o;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,`selector`,e),this.current=t}spacesAndCommentsFromEnd(e){let t,n=``;for(;e.length&&(t=e[e.length-1][0],t===`space`||t===`comment`);)n=e.pop()[1]+n;return n}spacesAndCommentsFromStart(e){let t,n=``;for(;e.length&&(t=e[0][0],t===`space`||t===`comment`);)n+=e.shift()[1];return n}spacesFromEnd(e){let t,n=``;for(;e.length&&(t=e[e.length-1][0],t===`space`);)n=e.pop()[1]+n;return n}stringFrom(e,t){let n=``;for(let r=t;r<e.length;r++)n+=e[r][1];return e.splice(t,e.length-t),n}unclosedBlock(){let e=this.current.source.start;throw this.input.error(`Unclosed block`,e.line,e.column)}unclosedBracket(e){throw this.input.error(`Unclosed bracket`,{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error(`Unexpected }`,{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error(`Unknown word `+e[0][1],{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error(`At-rule without name`,{offset:t[2]},{offset:t[2]+t[1].length})}}})),Qo=/* @__PURE__ */ p(((e,t)=>{let n=ko(),r=Go(),i=Zo();function a(e,t){let n=new r(e,t),a=new i(n);try{a.parse()}catch(e){throw process.env.NODE_ENV!==`production`&&e.name===`CssSyntaxError`&&t&&t.from&&(/\.scss$/i.test(t.from)?e.message+=`
|
|
45
|
+
`),t=o.length-i):t+=o.length,s&&c!==`start`){let i=s.parent||{raws:{}};(!(s.type===`decl`||s.type===`atrule`&&!s.nodes)||s!==i.last||i.raws.semicolon)&&(s.source&&s.source.end?(r.source=this.sourcePath(s),r.original.line=s.source.end.line,r.original.column=s.source.end.column-1,r.generated.line=e,r.generated.column=t-2,this.map.addMapping(r)):(r.source=n,r.original.line=1,r.original.column=0,r.generated.line=e,r.generated.column=t-1,this.map.addMapping(r)))}})}isAnnotation(){return this.isInline()?!0:this.mapOpts.annotation===void 0?!this.previous().length||this.previous().some(e=>e.annotation):this.mapOpts.annotation}isInline(){if(this.mapOpts.inline!==void 0)return this.mapOpts.inline;let e=this.mapOpts.annotation;return e!==void 0&&e!==!0?!1:!this.previous().length||this.previous().some(e=>e.inline)}isMap(){return this.opts.map===void 0?this.previous().length>0:!!this.opts.map}isSourcesContent(){return this.mapOpts.sourcesContent===void 0?!this.previous().length||this.previous().some(e=>e.withContent()):this.mapOpts.sourcesContent}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):`to.css`}path(e){if(this.mapOpts.absolute||e.charCodeAt(0)===60||/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let a=this.opts.to?n(this.opts.to):`.`;typeof this.mapOpts.annotation==`string`&&(a=n(i(a,this.mapOpts.annotation)));let o=r(a,e);return this.memoizedPaths.set(e,o),o}previous(){if(!this.previousMaps){if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}});else{let e=new l(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let n=t.source.input.from;if(n&&!e[n]){e[n]=!0;let r=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(r,t.source.input.css)}}});else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):`<no source>`;this.map.setSourceContent(e,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Buffer?Buffer.from(e).toString(`base64`):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(c){let t=c(e).toString();return this.memoizedFileURLs.set(e,t),t}throw Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;a===`\\`&&(e=e.replace(/\\/g,`/`));let n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,n),n}}})),Ql=/* @__PURE__ */ p(((e,t)=>{let n=jl(),r=Ol(),i=kl(),a=ql(),o=Yl(),s=xl(),c={empty:!0,space:!0};function l(e){for(let t=e.length-1;t>=0;t--){let n=e[t],r=n[3]||n[2];if(r)return r}}function u(e,t,n){let r=``;for(let i=t;i<n;i++)r+=e[i][1];return r}t.exports=class{constructor(e){this.input=e,this.root=new a,this.current=this.root,this.spaces=``,this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t=new n;t.name=e[1].slice(1),t.name===``&&this.unnamedAtrule(t,e),this.init(t,e[2]);let r,i,a,o=!1,s=!1,c=[],l=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),r=e[0],r===`(`||r===`[`?l.push(r===`(`?`)`:`]`):r===`{`&&l.length>0?l.push(`}`):r===l[l.length-1]&&l.pop(),l.length===0){if(r===`;`){t.source.end=this.getPosition(e[2]),t.source.end.offset++,this.semicolon=!0;break}if(r===`{`){s=!0;break}if(r===`}`){if(c.length>0){for(a=c.length-1,i=c[a];i&&i[0]===`space`;)i=c[--a];i&&(t.source.end=this.getPosition(i[3]||i[2]),t.source.end.offset++)}this.end(e);break}c.push(e)}else c.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}t.raws.between=this.spacesAndCommentsFromEnd(c),c.length?(t.raws.afterName=this.spacesAndCommentsFromStart(c),this.raw(t,`params`,c),o&&(e=c[c.length-1],t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++,this.spaces=t.raws.between,t.raws.between=``)):(t.raws.afterName=``,t.params=``),s&&(t.nodes=[],this.current=t)}checkMissedSemicolon(e){let t=this.colon(e);if(t===!1)return;let n=0,r;for(let i=t-1;i>=0&&(r=e[i],!(r[0]!==`space`&&(n+=1,n===2)));i--);throw this.input.error(`Missed semicolon`,r[0]===`word`?r[3]+1:r[2])}colon(e){let t=0,n,r,i;for(let[a,o]of e.entries()){if(r=o,i=r[0],i===`(`&&(t+=1),i===`)`&&--t,t===0&&i===`:`){if(!n)this.doubleColon(r);else if(n[0]===`word`&&n[1]===`progid`)continue;else return a}n=r}return!1}comment(e){let t=new r;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let n=e[1].slice(2,-2);if(!n.trim())t.text=``,t.raws.left=n,t.raws.right=``;else{let e=n.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}createTokenizer(){this.tokenizer=s(this.input)}decl(e,t){let n=new i;this.init(n,e[0][2]);let r=e[e.length-1];r[0]===`;`&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(r[3]||r[2]||l(e)),n.source.end.offset++;let a=0;for(;e[a][0]!==`word`;)a===e.length-1&&this.unknownWord([e[a]]),a++;n.raws.before+=u(e,0,a),n.source.start=this.getPosition(e[a][2]);let o=a;for(;a<e.length;){let t=e[a][0];if(t===`:`||t===`space`||t===`comment`)break;a++}n.prop=u(e,o,a);let s=a,c;for(;a<e.length&&(c=e[a],a++,c[0]!==`:`);)c[0]===`word`&&/\w/.test(c[1])&&this.unknownWord([c]);n.raws.between=u(e,s,a),(n.prop[0]===`_`||n.prop[0]===`*`)&&(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let d=a;for(;a<e.length;){let t=e[a][0];if(t!==`space`&&t!==`comment`)break;a++}let f=e.slice(d,a);e=e.slice(a),this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(c=e[t],c[1].toLowerCase()===`!important`){n.important=!0;let r=this.stringFrom(e,t);r=this.spacesFromEnd(e)+r,r!==` !important`&&(n.raws.important=r);break}if(c[1].toLowerCase()===`important`){let r=e.slice(0),i=``;for(let e=t;e>0;e--){let t=r[e][0];if(i.trim().startsWith(`!`)&&t!==`space`)break;i=r.pop()[1]+i}i.trim().startsWith(`!`)&&(n.important=!0,n.raws.important=i,e=r)}if(c[0]!==`space`&&c[0]!==`comment`)break}e.some(e=>e[0]!==`space`&&e[0]!==`comment`)&&(n.raws.between+=f.map(e=>e[1]).join(``),f=[]),this.raw(n,`value`,f.concat(e),t),n.value.includes(`:`)&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error(`Double colon`,{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new o;this.init(t,e[2]),t.selector=``,t.raws.between=``,this.current=t}end(e){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(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}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(e){if(this.spaces+=e[1],this.current.nodes){let t=this.current.nodes[this.current.nodes.length-1];t&&t.type===`rule`&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces=``,t.source.end=this.getPosition(e[2]),t.source.end.offset++)}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces=``,e.type!==`comment`&&(this.semicolon=!1)}other(e){let t=!1,n=null,r=!1,i=null,a=[],o=e[1].startsWith(`--`),s=[],c=e;for(;c;){if(n=c[0],s.push(c),n===`(`||n===`[`)i||=c,a.push(n===`(`?`)`:`]`);else if(o&&r&&n===`{`)i||=c,a.push(`}`);else if(a.length===0){if(n===`;`){if(r){this.decl(s,o);return}break}if(n===`{`){this.rule(s);return}if(n===`}`){this.tokenizer.back(s.pop()),t=!0;break}n===`:`&&(r=!0)}else n===a[a.length-1]&&(a.pop(),a.length===0&&(i=null));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),a.length>0&&this.unclosedBracket(i),t&&r){if(!o)for(;s.length&&(c=s[s.length-1][0],c===`space`||c===`comment`);)this.tokenizer.back(s.pop());this.decl(s,o)}else this.unknownWord(s)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case`space`:this.spaces+=e[1];break;case`;`:this.freeSemicolon(e);break;case`}`:this.end(e);break;case`comment`:this.comment(e);break;case`at-word`:this.atrule(e);break;case`{`:this.emptyRule(e);break;default:this.other(e)}this.endFile()}precheckMissedSemicolon(){}raw(e,t,n,r){let i,a,o=n.length,s=``,l=``,u=!0,d,f;for(let e=0;e<o;e+=1)i=n[e],a=i[0],a===`space`&&e===o-1&&!r?u=!1:a===`comment`?(f=n[e-1]?n[e-1][0]:`empty`,d=n[e+1]?n[e+1][0]:`empty`,!c[f]&&!c[d]?l===`,`?u=!1:(s+=i[1],l=i[1].slice(-1)):u=!1):(s+=i[1],l=i[1].slice(-1));if(!u){let r=n.reduce((e,t)=>e+t[1],``);e.raws[t]={raw:r,value:s}}e[t]=s}rule(e){e.pop();let t=new o;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,`selector`,e),this.current=t}spacesAndCommentsFromEnd(e){let t,n=``;for(;e.length&&(t=e[e.length-1][0],t===`space`||t===`comment`);)n=e.pop()[1]+n;return n}spacesAndCommentsFromStart(e){let t,n=``;for(;e.length&&(t=e[0][0],t===`space`||t===`comment`);)n+=e.shift()[1];return n}spacesFromEnd(e){let t,n=``;for(;e.length&&(t=e[e.length-1][0],t===`space`);)n=e.pop()[1]+n;return n}stringFrom(e,t){let n=``;for(let r=t;r<e.length;r++)n+=e[r][1];return e.splice(t,e.length-t),n}unclosedBlock(){let e=this.current.source.start;throw this.input.error(`Unclosed block`,e.line,e.column)}unclosedBracket(e){throw this.input.error(`Unclosed bracket`,{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error(`Unexpected }`,{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error(`Unknown word `+e[0][1],{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error(`At-rule without name`,{offset:t[2]},{offset:t[2]+t[1].length})}}})),$l=/* @__PURE__ */ p(((e,t)=>{let n=Al(),r=Kl(),i=Ql();function a(e,t){let n=new r(e,t),a=new i(n);try{a.parse()}catch(e){throw process.env.NODE_ENV!==`production`&&e.name===`CssSyntaxError`&&t&&t.from&&(/\.scss$/i.test(t.from)?e.message+=`
|
|
46
46
|
You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser`:/\.sass/i.test(t.from)?e.message+=`
|
|
47
47
|
You tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser`:/\.less$/i.test(t.from)&&(e.message+=`
|
|
48
|
-
You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),e}return a.root}t.exports=a,a.default=a,n.registerParse(a)}))
|
|
48
|
+
You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),e}return a.root}t.exports=a,a.default=a,n.registerParse(a)})),eu=/* @__PURE__ */ p(((e,t)=>{let n=Al(),{my:r}=El();var i=class{constructor(e,t={}){if(this.type=`warning`,this.text=e,t.node&&t.node.source){t.node[r]||n.rebuild(t.node);let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,start:this.start,word:this.word}).message:this.plugin?this.plugin+`: `+this.text:this.text}};t.exports=i,i.default=i})),tu=/* @__PURE__ */ p(((e,t)=>{let n=eu();var r=class{get content(){return this.css}constructor(e,t,n){this.processor=e,this.messages=[],this.root=t,this.opts=n,this.css=``,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let r=new n(e,t);return this.messages.push(r),r}warnings(){return this.messages.filter(e=>e.type===`warning`)}};t.exports=r,r.default=r})),nu=/* @__PURE__ */ p(((e,t)=>{let n={};t.exports=function(e){n[e]||(n[e]=!0,typeof console<`u`&&console.warn&&console.warn(e))}})),ru=/* @__PURE__ */ p(((e,t)=>{let n=Al(),r=Ml(),i=Zl(),a=$l(),o=tu(),s=ql(),c=Tl(),{isClean:l,my:u}=El(),d=nu(),f={atrule:`AtRule`,comment:`Comment`,decl:`Declaration`,document:`Document`,root:`Root`,rule:`Rule`},p={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},m={Once:!0,postcssPlugin:!0,prepare:!0};function h(e){return typeof e==`object`&&typeof e.then==`function`}function g(e){let t=!1,n=f[e.type];return e.type===`decl`?t=e.prop.toLowerCase():e.type===`atrule`&&(t=e.name.toLowerCase()),t&&e.append?[n,n+`-`+t,0,n+`Exit`,n+`Exit-`+t]:t?[n,n+`-`+t,n+`Exit`,n+`Exit-`+t]:e.append?[n,0,n+`Exit`]:[n,n+`Exit`]}function _(e){let t;return t=e.type===`document`?[`Document`,0,`DocumentExit`]:e.type===`root`?[`Root`,0,`RootExit`]:g(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function v(e){let t=[e];for(;t.length>0;){let e=t.pop();if(e[l]=!1,e.nodes)for(let n of e.nodes)t.push(n)}return e}let y={};var b=class e{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(t,r,i){this.stringified=!1,this.processed=!1;let s;if(typeof r==`object`&&r&&(r.type===`root`||r.type===`document`))s=v(r);else if(r instanceof e||r instanceof o)s=v(r.root),r.map&&(i.map===void 0&&(i.map={}),i.map.inline||(i.map.inline=!1),i.map.prev=r.map);else{let e=a;i.syntax&&(e=i.syntax.parse),i.parser&&(e=i.parser),e.parse&&(e=e.parse);try{s=e(r,i)}catch(e){this.processed=!0,this.error=e}s&&!s[u]&&
|
|
49
49
|
/* c8 ignore next 2 */
|
|
50
|
-
n.rebuild(s)}this.result=new o(t,s,i),this.helpers={...y,postcss:y,result:this.result},this.plugins=this.processor.plugins.map(e=>typeof e==`object`&&e.prepare?{...e,...e.prepare(this.result)}:e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||=this.runAsync(),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().
|
|
50
|
+
n.rebuild(s)}this.result=new o(t,s,i),this.helpers={...y,postcss:y,result:this.result},this.plugins=this.processor.plugins.map(e=>typeof e==`object`&&e.prepare?{...e,...e.prepare(this.result)}:e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||=this.runAsync(),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().finally(e)}getAsyncError(){throw Error(`Use process(css).then(cb) to work with async plugins`)}handleError(e,t){let n=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,e.name===`CssSyntaxError`&&!e.plugin)e.plugin=n.postcssPlugin,e.setMessage();else if(n.postcssVersion&&process.env.NODE_ENV!==`production`){let e=n.postcssPlugin,t=n.postcssVersion,r=this.result.processor.version,i=t.split(`.`),a=r.split(`.`);(i[0]!==a[0]||parseInt(i[1])>parseInt(a[1]))&&console.error(`Unknown error from PostCSS plugin. Your current PostCSS version is `+r+`, but `+e+` uses `+t+`. Perhaps this is the source of the error below.`)}}catch(e){
|
|
51
51
|
/* c8 ignore next 3 */
|
|
52
|
-
console&&console.error&&console.error(e)}return e}prepareVisitors(){this.listeners={};let e=(e,t,n)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,n])};for(let t of this.plugins)if(typeof t==`object`)for(let n in t){if(!p[n]&&/^[A-Z]/.test(n))throw Error(`Unknown event ${n} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!m[n]){if(typeof t[n]==`object`)for(let r in t[n])r===`*`?e(t,n,t[n][r]):e(t,n+`-`+r.toLowerCase(),t[n][r]);else typeof t[n]==`function`&&e(t,n,t[n])}}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],n=this.runOnRoot(t);if(h(n))try{await n}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[l];){e[l]=!0;let t=[_(e)];for(;t.length>0;){let e=this.visitTick(t);if(h(e))try{await e}catch(e){let n=t[t.length-1].node;throw this.handleError(e,n)}}}if(this.listeners.OnceExit)for(let[t,n]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if(e.type===`document`){let t=e.nodes.map(e=>n(e,this.helpers));await Promise.all(t)}else await n(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e==`object`&&e.Once){if(this.result.root.type===`document`){let t=this.result.root.nodes.map(t=>e.Once(t,this.helpers));return h(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if(typeof e==`function`)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=c;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let n=this.result.root.source;if(e.map===void 0&&!(n&&n.input&&n.input.map)){let e=``;return t(this.result.root,t=>{e+=t}),this.result.css=e,this.result}let r=new i(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[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();for(let e of this.plugins)if(h(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[l];)e[l]=!0,this.walkSync(e);if(this.listeners.OnceExit){if(e.type===`document`)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}}return this.result}then(e,t){return process.env.NODE_ENV!==`production`&&(`from`in this.opts||d("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[n,r]of e){this.result.lastPlugin=n;let e;try{e=r(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if(t.type!==`root`&&t.type!==`document`&&!t.parent)return!0;if(h(e))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:n,visitors:r}=t;if(n.type!==`root`&&n.type!==`document`&&!n.parent){e.pop();return}if(r.length>0&&t.visitorIndex<r.length){let[e,i]=r[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===r.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return i(n.toProxy(),this.helpers)}catch(e){throw this.handleError(e,n)}}if(t.iterator!==0){let r=t.iterator;t.descending&&(t.descending=!1,n.indexes[r]+=1);let i;for(;i=n.nodes[n.indexes[r]];){if(!i[l]){i[l]=!0,t.descending=!0,e.push(_(i));return}n.indexes[r]+=1}t.iterator=0,delete n.indexes[r]}let i=t.events;for(;t.eventIndex<i.length;){let e=i[t.eventIndex];if(t.eventIndex+=1,e===0){n.nodes&&n.nodes.length&&(n[l]=!0,t.iterator=n.getIterator());return}if(this.listeners[e]){t.visitors=this.listeners[e];return}}e.pop()}walkSync(e){e[l]=!0;let t=[{eventIndex:0,events:g(e),iterator:0,node:e}];for(;t.length>0;){let e=t[t.length-1],n=e.node;if(e.iterator!==0){let r=e.iterator;e.descending&&(e.descending=!1,n.indexes[r]+=1);let i,a=!1;for(;i=n.nodes[n.indexes[r]];){if(!i[l]){i[l]=!0,e.descending=!0,t.push({eventIndex:0,events:g(i),iterator:0,node:i}),a=!0;break}n.indexes[r]+=1}if(a)continue;e.iterator=0,delete n.indexes[r]}if(e.eventIndex<e.events.length){let r=e.events[e.eventIndex];if(e.eventIndex+=1,r===0)n.nodes&&n.nodes.length&&(e.iterator=n.getIterator());else{let e=this.listeners[r];e&&this.visitSync(e,n.toProxy())&&t.pop()}}else t.pop()}}warnings(){return this.sync().warnings()}};b.registerPostcss=e=>{y=e},t.exports=b,b.default=b,s.registerLazyResult(b),r.registerLazyResult(b)})),
|
|
52
|
+
console&&console.error&&console.error(e)}return e}prepareVisitors(){this.listeners={};let e=(e,t,n)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,n])};for(let t of this.plugins)if(typeof t==`object`)for(let n in t){if(!p[n]&&/^[A-Z]/.test(n))throw Error(`Unknown event ${n} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!m[n]){if(typeof t[n]==`object`)for(let r in t[n])r===`*`?e(t,n,t[n][r]):e(t,n+`-`+r.toLowerCase(),t[n][r]);else typeof t[n]==`function`&&e(t,n,t[n])}}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],n=this.runOnRoot(t);if(h(n))try{await n}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[l];){e[l]=!0;let t=[_(e)];for(;t.length>0;){let e=this.visitTick(t);if(h(e))try{await e}catch(e){let n=t[t.length-1].node;throw this.handleError(e,n)}}}if(this.listeners.OnceExit)for(let[t,n]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if(e.type===`document`){let t=e.nodes.map(e=>n(e,this.helpers));await Promise.all(t)}else await n(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e==`object`&&e.Once){if(this.result.root.type===`document`){let t=this.result.root.nodes.map(t=>e.Once(t,this.helpers));return h(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if(typeof e==`function`)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=c;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let n=this.result.root.source;if(e.map===void 0&&!(n&&n.input&&n.input.map)){let e=``;return t(this.result.root,t=>{e+=t}),this.result.css=e,this.result}let r=new i(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[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();for(let e of this.plugins)if(h(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[l];)e[l]=!0,this.walkSync(e);if(this.listeners.OnceExit){if(e.type===`document`)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}}return this.result}then(e,t){return process.env.NODE_ENV!==`production`&&(`from`in this.opts||d("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[n,r]of e){this.result.lastPlugin=n;let e;try{e=r(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if(t.type!==`root`&&t.type!==`document`&&!t.parent)return!0;if(h(e))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:n,visitors:r}=t;if(n.type!==`root`&&n.type!==`document`&&!n.parent){e.pop();return}if(r.length>0&&t.visitorIndex<r.length){let[e,i]=r[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===r.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return i(n.toProxy(),this.helpers)}catch(e){throw this.handleError(e,n)}}if(t.iterator!==0){let r=t.iterator;t.descending&&(t.descending=!1,n.indexes[r]+=1);let i;for(;i=n.nodes[n.indexes[r]];){if(!i[l]){i[l]=!0,t.descending=!0,e.push(_(i));return}n.indexes[r]+=1}t.iterator=0,delete n.indexes[r]}let i=t.events;for(;t.eventIndex<i.length;){let e=i[t.eventIndex];if(t.eventIndex+=1,e===0){n.nodes&&n.nodes.length&&(n[l]=!0,t.iterator=n.getIterator());return}if(this.listeners[e]){t.visitors=this.listeners[e];return}}e.pop()}walkSync(e){e[l]=!0;let t=[{eventIndex:0,events:g(e),iterator:0,node:e}];for(;t.length>0;){let e=t[t.length-1],n=e.node;if(e.iterator!==0){let r=e.iterator;e.descending&&(e.descending=!1,n.indexes[r]+=1);let i,a=!1;for(;i=n.nodes[n.indexes[r]];){if(!i[l]){i[l]=!0,e.descending=!0,t.push({eventIndex:0,events:g(i),iterator:0,node:i}),a=!0;break}n.indexes[r]+=1}if(a)continue;e.iterator=0,delete n.indexes[r]}if(e.eventIndex<e.events.length){let r=e.events[e.eventIndex];if(e.eventIndex+=1,r===0)n.nodes&&n.nodes.length&&(e.iterator=n.getIterator());else{let e=this.listeners[r];e&&this.visitSync(e,n.toProxy())&&t.pop()}}else t.pop()}}warnings(){return this.sync().warnings()}};b.registerPostcss=e=>{y=e},t.exports=b,b.default=b,s.registerLazyResult(b),r.registerLazyResult(b)})),iu=/* @__PURE__ */ p(((e,t)=>{let n=Zl(),r=$l(),i=tu(),a=Tl(),o=nu();var s=class{get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,t=r;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return`NoWorkResult`}constructor(e,t,r){t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;let o=a;this.result=new i(this._processor,void 0,this._opts),this.result.css=t;let s=this;Object.defineProperty(this.result,"root",{get(){return s.root}});let c=new n(o,void 0,this._opts,t);if(c.isMap()){let[e,t]=c.generate();e&&(this.result.css=e),t&&(this.result.map=t)}else c.clearAnnotation(),this.result.css=c.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().finally(e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return process.env.NODE_ENV!==`production`&&(`from`in this._opts||o("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,t)}toString(){return this._css}warnings(){return[]}};t.exports=s,s.default=s})),au=/* @__PURE__ */ p(((e,t)=>{let n=Ml(),r=ru(),i=iu(),a=ql();var o=class{constructor(e=[]){this.version=`8.5.32`,this.plugins=this.normalize(e)}normalize(e){let t=[];for(let n of e)if(n.postcss===!0?n=n():n.postcss&&(n=n.postcss),typeof n==`object`&&Array.isArray(n.plugins))t=t.concat(n.plugins);else if(typeof n==`object`&&n.postcssPlugin)t.push(n);else if(typeof n==`function`)t.push(n);else if(typeof n==`object`&&(n.parse||n.stringify)){if(process.env.NODE_ENV!==`production`)throw Error(`PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.`)}else throw Error(n+` is not a PostCSS plugin`);return t}process(e,t={}){return!this.plugins.length&&!t.parser&&!t.stringifier&&!t.syntax?new i(this,e,t):new r(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}};t.exports=o,o.default=o,a.registerProcessor(o),n.registerProcessor(o)})),ou=/* @__PURE__ */ p(((e,t)=>{let n=jl(),r=Ol(),i=Al(),a=Cl(),o=kl(),s=Ml(),c=Xl(),l=Kl(),u=ru(),d=Jl(),f=Dl(),p=$l(),m=au(),h=tu(),g=ql(),_=Yl(),v=Tl(),y=eu();function b(...e){return e.length===1&&Array.isArray(e[0])&&(e=e[0]),new m(e)}b.plugin=function(e,t){let n=!1;function r(...r){console&&console.warn&&!n&&(n=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide:
|
|
53
53
|
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith(`zh`)&&
|
|
54
54
|
/* c8 ignore next 7 */
|
|
55
55
|
console.warn(e+`: 里面 postcss.plugin 被弃用. 迁移指南:
|
|
56
|
-
https://www.w3ctech.com/topic/2226`));let i=t(...r);return i.postcssPlugin=e,i.postcssVersion=new m().version,i}let i;return Object.defineProperty(r,"postcss",{get(){return i||=r(),i}}),r.process=function(e,t,n){return b([r(n)]).process(e,t)},r},b.stringify=v,b.parse=p,b.fromJSON=c,b.list=d,b.comment=e=>new r(e),b.atRule=e=>new n(e),b.decl=e=>new o(e),b.rule=e=>new _(e),b.root=e=>new g(e),b.document=e=>new s(e),b.CssSyntaxError=a,b.Declaration=o,b.Container=i,b.Processor=m,b.Document=s,b.Comment=r,b.Warning=y,b.AtRule=n,b.Result=h,b.Input=l,b.Rule=_,b.Root=g,b.Node=f,u.registerPostcss(b),t.exports=b,b.default=b})),H=/* @__PURE__ */ h(as(),1),os=H.default;H.default.stringify,H.default.fromJSON,H.default.plugin,H.default.parse,H.default.list,H.default.document,H.default.comment,H.default.atRule;const ss=H.default.rule;H.default.decl,H.default.root,H.default.CssSyntaxError,H.default.Declaration,H.default.Container,H.default.Processor,H.default.Document,H.default.Comment,H.default.Warning,H.default.AtRule,H.default.Result;const cs=H.default.Input;H.default.Rule,H.default.Root,H.default.Node;var ls=/* @__PURE__ */ p(((e,t)=>{var n=/^[a-f0-9?-]+$/i;t.exports=function(e){for(var t=[],r=e,i,a,o,s,c,l,u,d,f=0,p=r.charCodeAt(f),m=r.length,h=[{nodes:t}],g=0,_,v=``,y=``,b=``;f<m;)if(p<=32){i=f;do i+=1,p=r.charCodeAt(i);while(p<=32);s=r.slice(f,i),o=t[t.length-1],p===41&&g?b=s:o&&o.type===`div`?(o.after=s,o.sourceEndIndex+=s.length):p===44||p===58||p===47&&r.charCodeAt(i+1)!==42&&(!_||_&&_.type===`function`&&_.value!==`calc`)?y=s:t.push({type:`space`,sourceIndex:f,sourceEndIndex:i,value:s}),f=i}else if(p===39||p===34){i=f,a=p===39?`'`:`"`,s={type:`string`,sourceIndex:f,quote:a};do if(c=!1,i=r.indexOf(a,i+1),~i)for(l=i;r.charCodeAt(l-1)===92;)--l,c=!c;else r+=a,i=r.length-1,s.unclosed=!0;while(c);s.value=r.slice(f+1,i),s.sourceEndIndex=s.unclosed?i:i+1,t.push(s),f=i+1,p=r.charCodeAt(f)}else if(p===47&&r.charCodeAt(f+1)===42)i=r.indexOf(`*/`,f),s={type:`comment`,sourceIndex:f,sourceEndIndex:i+2},i===-1&&(s.unclosed=!0,i=r.length,s.sourceEndIndex=i),s.value=r.slice(f+2,i),t.push(s),f=i+2,p=r.charCodeAt(f);else if((p===47||p===42)&&_&&_.type===`function`&&_.value===`calc`)s=r[f],t.push({type:`word`,sourceIndex:f-y.length,sourceEndIndex:f+s.length,value:s}),f+=1,p=r.charCodeAt(f);else if(p===47||p===44||p===58)s=r[f],t.push({type:`div`,sourceIndex:f-y.length,sourceEndIndex:f+s.length,value:s,before:y,after:``}),y=``,f+=1,p=r.charCodeAt(f);else if(p===40){i=f;do i+=1,p=r.charCodeAt(i);while(p<=32);if(d=f,s={type:`function`,sourceIndex:f-v.length,value:v,before:r.slice(d+1,i)},f=i,v===`url`&&p!==39&&p!==34){--i;do if(c=!1,i=r.indexOf(`)`,i+1),~i)for(l=i;r.charCodeAt(l-1)===92;)--l,c=!c;else r+=`)`,i=r.length-1,s.unclosed=!0;while(c);u=i;do--u,p=r.charCodeAt(u);while(p<=32);d<u?(f===u+1?s.nodes=[]:s.nodes=[{type:`word`,sourceIndex:f,sourceEndIndex:u+1,value:r.slice(f,u+1)}],s.unclosed&&u+1!==i?(s.after=``,s.nodes.push({type:`space`,sourceIndex:u+1,sourceEndIndex:i,value:r.slice(u+1,i)})):(s.after=r.slice(u+1,i),s.sourceEndIndex=i)):(s.after=``,s.nodes=[]),f=i+1,s.sourceEndIndex=s.unclosed?i:f,p=r.charCodeAt(f),t.push(s)}else g+=1,s.after=``,s.sourceEndIndex=f+1,t.push(s),h.push(s),t=s.nodes=[],_=s;v=``}else if(p===41&&g)f+=1,p=r.charCodeAt(f),_.after=b,_.sourceEndIndex+=b.length,b=``,--g,h[h.length-1].sourceEndIndex=f,h.pop(),_=h[g],t=_.nodes;else{i=f;do p===92&&(i+=1),i+=1,p=r.charCodeAt(i);while(i<m&&!(p<=32||p===39||p===34||p===44||p===58||p===47||p===40||p===42&&_&&_.type===`function`&&_.value===`calc`||p===47&&_.type===`function`&&_.value===`calc`||p===41&&g));s=r.slice(f,i),p===40?v=s:(s.charCodeAt(0)===117||s.charCodeAt(0)===85)&&s.charCodeAt(1)===43&&n.test(s.slice(2))?t.push({type:`unicode-range`,sourceIndex:f,sourceEndIndex:i,value:s}):t.push({type:`word`,sourceIndex:f,sourceEndIndex:i,value:s}),f=i}for(f=h.length-1;f;--f)h[f].unclosed=!0,h[f].sourceEndIndex=r.length;return h[0].nodes}})),us=/* @__PURE__ */ p(((e,t)=>{t.exports=function e(t,n,r){for(var i=0,a=t.length,o,s;i<a;i+=1)o=t[i],r||(s=n(o,i,t)),s!==!1&&o.type===`function`&&Array.isArray(o.nodes)&&e(o.nodes,n,r),r&&n(o,i,t)}})),ds=/* @__PURE__ */ p(((e,t)=>{function n(e,t){var n=e.type,i=e.value,a,o;return t&&(o=t(e))!==void 0?o:n===`word`||n===`space`?i:n===`string`?(a=e.quote||``,a+i+(e.unclosed?``:a)):n===`comment`?`/*`+i+(e.unclosed?``:`*/`):n===`div`?(e.before||``)+i+(e.after||``):Array.isArray(e.nodes)?(a=r(e.nodes,t),n===`function`?i+`(`+(e.before||``)+a+(e.after||``)+(e.unclosed?``:`)`):a):i}function r(e,t){var r,i;if(Array.isArray(e)){for(r=``,i=e.length-1;~i;--i)r=n(e[i],t)+r;return r}return n(e,t)}t.exports=r})),fs=/* @__PURE__ */ p(((e,t)=>{function n(e){var t=e.charCodeAt(0),n;if(t===43||t===45){if(n=e.charCodeAt(1),n>=48&&n<=57)return!0;var r=e.charCodeAt(2);return n===46&&r>=48&&r<=57}return t===46?(n=e.charCodeAt(1),n>=48&&n<=57):t>=48&&t<=57}t.exports=function(e){var t=0,r=e.length,i,a,o;if(r===0||!n(e))return!1;for(i=e.charCodeAt(t),(i===43||i===45)&&t++;t<r&&(i=e.charCodeAt(t),!(i<48||i>57));)t+=1;if(i=e.charCodeAt(t),a=e.charCodeAt(t+1),i===46&&a>=48&&a<=57)for(t+=2;t<r&&(i=e.charCodeAt(t),!(i<48||i>57));)t+=1;if(i=e.charCodeAt(t),a=e.charCodeAt(t+1),o=e.charCodeAt(t+2),(i===101||i===69)&&(a>=48&&a<=57||(a===43||a===45)&&o>=48&&o<=57))for(t+=a===43||a===45?3:2;t<r&&(i=e.charCodeAt(t),!(i<48||i>57));)t+=1;return{number:e.slice(0,t),unit:e.slice(t)}}})),ps=/* @__PURE__ */ p(((e,t)=>{var n=ls(),r=us(),i=ds();function a(e){return this instanceof a?(this.nodes=n(e),this):new a(e)}a.prototype.toString=function(){return Array.isArray(this.nodes)?i(this.nodes):``},a.prototype.walk=function(e,t){return r(this.nodes,e,t),this},a.unit=fs(),a.walk=r,a.stringify=i,t.exports=a})),ms=/* @__PURE__ */ p(((e,t)=>{t.exports=g(`os`).homedir||function(){var e=process.env.HOME,t=process.env.LOGNAME||process.env.USER||process.env.LNAME||process.env.USERNAME;return process.platform===`win32`?process.env.USERPROFILE||process.env.HOMEDRIVE&&process.env.HOMEPATH&&process.env.HOMEDRIVE+process.env.HOMEPATH||e||null:process.platform===`darwin`?e||(t?`/Users/`+t:null):process.platform===`linux`?e||(process.getuid()===0?`/root`:t?`/home/`+t:null):e||null}})),hs=/* @__PURE__ */ p(((e,t)=>{var n=O();t.exports=function(){var e=n.prepareStackTrace;n.prepareStackTrace=function(e,t){return t};var t=new n().stack;return n.prepareStackTrace=e,t[2].getFileName()}})),gs=/* @__PURE__ */ p(((e,t)=>{var n=process.platform===`win32`,r=/^(((?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?[\\\/]?)(?:[^\\\/]*[\\\/])*)((\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))[\\\/]*$/,i={};function a(e){return r.exec(e).slice(1)}i.parse=function(e){if(typeof e!=`string`)throw TypeError(`Parameter 'pathString' must be a string, not `+typeof e);var t=a(e);if(!t||t.length!==5)throw TypeError(`Invalid path '`+e+`'`);return{root:t[1],dir:t[0]===t[1]?t[0]:t[0].slice(0,-1),base:t[2],ext:t[4],name:t[3]}};var o=/^((\/?)(?:[^\/]*\/)*)((\.{1,2}|[^\/]+?|)(\.[^.\/]*|))[\/]*$/,s={};function c(e){return o.exec(e).slice(1)}s.parse=function(e){if(typeof e!=`string`)throw TypeError(`Parameter 'pathString' must be a string, not `+typeof e);var t=c(e);if(!t||t.length!==5)throw TypeError(`Invalid path '`+e+`'`);return{root:t[1],dir:t[0].slice(0,-1),base:t[2],ext:t[4],name:t[3]}},t.exports=n?i.parse:s.parse,t.exports.posix=s.parse,t.exports.win32=i.parse})),_s=/* @__PURE__ */ p(((e,t)=>{var n=g(`path`),r=n.parse||gs(),i=/^([A-Za-z]:)/,a=/^\\\\/;function o(e,t){var o=`/`;i.test(e)?o=``:a.test(e)&&(o=`\\\\`);for(var s=[e],c=r(e);c.dir!==s[s.length-1];)s.push(c.dir),c=r(c.dir);return s.reduce(function(e,r){return e.concat(t.map(function(e){return n.resolve(o,r,e)}))},[])}t.exports=function(e,t,n){var r=t&&t.moduleDirectory?[].concat(t.moduleDirectory):[`node_modules`];if(t&&typeof t.paths==`function`)return t.paths(n,e,function(){return o(e,r)},t);var i=o(e,r);return t&&t.paths?i.concat(t.paths):i}})),vs=/* @__PURE__ */ p(((e,t)=>{t.exports=function(e,t){return t||{}}})),ys=/* @__PURE__ */ p(((e,t)=>{t.exports={assert:!0,"node:assert":[`>= 14.18 && < 15`,`>= 16`],"assert/strict":`>= 15`,"node:assert/strict":`>= 16`,async_hooks:`>= 8`,"node:async_hooks":[`>= 14.18 && < 15`,`>= 16`],buffer_ieee754:`>= 0.5 && < 0.9.7`,buffer:!0,"node:buffer":[`>= 14.18 && < 15`,`>= 16`],child_process:!0,"node:child_process":[`>= 14.18 && < 15`,`>= 16`],cluster:`>= 0.5`,"node:cluster":[`>= 14.18 && < 15`,`>= 16`],console:!0,"node:console":[`>= 14.18 && < 15`,`>= 16`],constants:!0,"node:constants":[`>= 14.18 && < 15`,`>= 16`],crypto:!0,"node:crypto":[`>= 14.18 && < 15`,`>= 16`],_debug_agent:`>= 1 && < 8`,_debugger:`< 8`,dgram:!0,"node:dgram":[`>= 14.18 && < 15`,`>= 16`],diagnostics_channel:[`>= 14.17 && < 15`,`>= 15.1`],"node:diagnostics_channel":[`>= 14.18 && < 15`,`>= 16`],dns:!0,"node:dns":[`>= 14.18 && < 15`,`>= 16`],"dns/promises":`>= 15`,"node:dns/promises":`>= 16`,domain:`>= 0.7.12`,"node:domain":[`>= 14.18 && < 15`,`>= 16`],events:!0,"node:events":[`>= 14.18 && < 15`,`>= 16`],"node:ffi":`>= 26.9`,freelist:`< 6`,fs:!0,"node:fs":[`>= 14.18 && < 15`,`>= 16`],"fs/promises":[`>= 10 && < 10.1`,`>= 14`],"node:fs/promises":[`>= 14.18 && < 15`,`>= 16`],_http_agent:`>= 0.11.1`,"node:_http_agent":[`>= 14.18 && < 15`,`>= 16`],_http_client:`>= 0.11.1`,"node:_http_client":[`>= 14.18 && < 15`,`>= 16`],_http_common:`>= 0.11.1`,"node:_http_common":[`>= 14.18 && < 15`,`>= 16`],_http_incoming:`>= 0.11.1`,"node:_http_incoming":[`>= 14.18 && < 15`,`>= 16`],_http_outgoing:`>= 0.11.1`,"node:_http_outgoing":[`>= 14.18 && < 15`,`>= 16`],_http_server:`>= 0.11.1`,"node:_http_server":[`>= 14.18 && < 15`,`>= 16`],http:!0,"node:http":[`>= 14.18 && < 15`,`>= 16`],http2:`>= 8.8`,"node:http2":[`>= 14.18 && < 15`,`>= 16`],https:!0,"node:https":[`>= 14.18 && < 15`,`>= 16`],inspector:`>= 8`,"node:inspector":[`>= 14.18 && < 15`,`>= 16`],"inspector/promises":[`>= 19`],"node:inspector/promises":[`>= 19`],_linklist:`< 8`,module:!0,"node:module":[`>= 14.18 && < 15`,`>= 16`],net:!0,"node:net":[`>= 14.18 && < 15`,`>= 16`],"node-inspect/lib/_inspect":`>= 7.6 && < 12`,"node-inspect/lib/internal/inspect_client":`>= 7.6 && < 12`,"node-inspect/lib/internal/inspect_repl":`>= 7.6 && < 12`,os:!0,"node:os":[`>= 14.18 && < 15`,`>= 16`],path:!0,"node:path":[`>= 14.18 && < 15`,`>= 16`],"path/posix":`>= 15.3`,"node:path/posix":`>= 16`,"path/win32":`>= 15.3`,"node:path/win32":`>= 16`,perf_hooks:`>= 8.5`,"node:perf_hooks":[`>= 14.18 && < 15`,`>= 16`],process:`>= 1`,"node:process":[`>= 14.18 && < 15`,`>= 16`],punycode:`>= 0.5`,"node:punycode":[`>= 14.18 && < 15`,`>= 16`],querystring:!0,"node:querystring":[`>= 14.18 && < 15`,`>= 16`],readline:!0,"node:readline":[`>= 14.18 && < 15`,`>= 16`],"readline/promises":`>= 17`,"node:readline/promises":`>= 17`,repl:!0,"node:repl":[`>= 14.18 && < 15`,`>= 16`],"node:sea":[`>= 20.12 && < 21`,`>= 21.7`],smalloc:`>= 0.11.5 && < 3`,"node:sqlite":[`>= 22.13 && < 23`,`>= 23.4`],_stream_duplex:`>= 0.9.4 && < 26`,"node:_stream_duplex":[`>= 14.18 && < 15`,`>= 16 && < 26`],_stream_transform:`>= 0.9.4 && < 26`,"node:_stream_transform":[`>= 14.18 && < 15`,`>= 16 && < 26`],_stream_wrap:`>= 1.4.1 && < 26`,"node:_stream_wrap":[`>= 14.18 && < 15`,`>= 16 && < 26`],_stream_passthrough:`>= 0.9.4 && < 26`,"node:_stream_passthrough":[`>= 14.18 && < 15`,`>= 16 && < 26`],_stream_readable:`>= 0.9.4 && < 26`,"node:_stream_readable":[`>= 14.18 && < 15`,`>= 16 && < 26`],_stream_writable:`>= 0.9.4 && < 26`,"node:_stream_writable":[`>= 14.18 && < 15`,`>= 16 && < 26`],stream:!0,"node:stream":[`>= 14.18 && < 15`,`>= 16`],"stream/consumers":`>= 16.7`,"node:stream/consumers":`>= 16.7`,"stream/promises":`>= 15`,"node:stream/promises":`>= 16`,"stream/web":`>= 16.5`,"node:stream/web":`>= 16.5`,string_decoder:!0,"node:string_decoder":[`>= 14.18 && < 15`,`>= 16`],sys:[`>= 0.4 && < 0.7`,`>= 0.8`],"node:sys":[`>= 14.18 && < 15`,`>= 16`],"test/reporters":`>= 19.9 && < 20.2`,"node:test/reporters":[`>= 18.17 && < 19`,`>= 19.9`,`>= 20`],"test/mock_loader":`>= 22.3 && < 22.7`,"node:test/mock_loader":`>= 22.3 && < 22.7`,"node:test":[`>= 16.17 && < 17`,`>= 18`],timers:!0,"node:timers":[`>= 14.18 && < 15`,`>= 16`],"timers/promises":`>= 15`,"node:timers/promises":`>= 16`,_tls_common:`>= 0.11.13`,"node:_tls_common":[`>= 14.18 && < 15`,`>= 16`],_tls_legacy:`>= 0.11.3 && < 10`,_tls_wrap:`>= 0.11.3`,"node:_tls_wrap":[`>= 14.18 && < 15`,`>= 16`],tls:!0,"node:tls":[`>= 14.18 && < 15`,`>= 16`],trace_events:`>= 10`,"node:trace_events":[`>= 14.18 && < 15`,`>= 16`],tty:!0,"node:tty":[`>= 14.18 && < 15`,`>= 16`],url:!0,"node:url":[`>= 14.18 && < 15`,`>= 16`],util:!0,"node:util":[`>= 14.18 && < 15`,`>= 16`],"util/types":`>= 15.3`,"node:util/types":`>= 16`,"v8/tools/arguments":`>= 10 && < 12`,"v8/tools/codemap":[`>= 4.4 && < 5`,`>= 5.2 && < 12`],"v8/tools/consarray":[`>= 4.4 && < 5`,`>= 5.2 && < 12`],"v8/tools/csvparser":[`>= 4.4 && < 5`,`>= 5.2 && < 12`],"v8/tools/logreader":[`>= 4.4 && < 5`,`>= 5.2 && < 12`],"v8/tools/profile_view":[`>= 4.4 && < 5`,`>= 5.2 && < 12`],"v8/tools/splaytree":[`>= 4.4 && < 5`,`>= 5.2 && < 12`],v8:`>= 1`,"node:v8":[`>= 14.18 && < 15`,`>= 16`],vm:!0,"node:vm":[`>= 14.18 && < 15`,`>= 16`],wasi:[`>= 13.4 && < 13.5`,`>= 18.17 && < 19`,`>= 20`],"node:wasi":[`>= 18.17 && < 19`,`>= 20`],worker_threads:`>= 11.7`,"node:worker_threads":[`>= 14.18 && < 15`,`>= 16`],zlib:`>= 0.5`,"node:zlib":[`>= 14.18 && < 15`,`>= 16`]}})),bs=/* @__PURE__ */ p(((e,t)=>{var n=xe();function r(e,t){for(var n=e.split(`.`),r=t.split(` `),i=r.length>1?r[0]:`=`,a=(r.length>1?r[1]:r[0]).split(`.`),o=0;o<3;++o){var s=parseInt(n[o]||`0`,10),c=parseInt(a[o]||`0`,10);if(s!==c)return i===`<`?s<c:i===`>=`&&s>=c}return i===`>=`}function i(e,t){var n=t.split(/ ?&& ?/);if(n.length===0)return!1;for(var i=0;i<n.length;++i)if(!r(e,n[i]))return!1;return!0}function a(e,t){if(typeof t==`boolean`)return t;var n=e===void 0?process.versions&&process.versions.node:e;if(typeof n!=`string`)throw TypeError(e===void 0?`Unable to determine current node version`:`If provided, a valid node version is required`);if(t&&typeof t==`object`){for(var r=0;r<t.length;++r)if(i(n,t[r]))return!0;return!1}return i(n,t)}var o=ys();t.exports=function(e,t){return n(o,e)&&a(t,o[e])}})),xs=/* @__PURE__ */ p(((e,t)=>{var n=g(`fs`),r=ms(),i=g(`path`),a=hs(),o=_s(),s=vs(),c=bs(),l=O(),u=S(),d=process.platform!==`win32`&&n.realpath&&typeof n.realpath.native==`function`?n.realpath.native:n.realpath,f=/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/,p=/^\w:[/\\]*$/,m=/[/\\]node_modules[/\\]*$/,h=r();function _(){return h?[i.join(h,`.node_modules`),i.join(h,`.node_libraries`)]:[]}var v=function(e,t){n.stat(e,function(e,n){return e?e.code===`ENOENT`||e.code===`ENOTDIR`?t(null,!1):t(e):t(null,n.isFile()||n.isFIFO())})},y=function(e,t){n.stat(e,function(e,n){return e?e.code===`ENOENT`||e.code===`ENOTDIR`?t(null,!1):t(e):t(null,n.isDirectory())})},b=function(e,t){d(e,function(n,r){n&&n.code!==`ENOENT`?t(n):t(null,n?e:r)})};function x(e,t,n,r){n&&n.preserveSymlinks===!1?e(t,r):r(null,t)}function C(e,t,n){e(t,function(e,t){if(e)n(e);else try{n(null,JSON.parse(t))}catch{n(null)}})}function w(e,t,n){for(var r=o(t,n,e),a=0;a<r.length;a++)r[a]=i.join(r[a],e);return r}t.exports=function(e,t,r){var o=r,d=t;if(typeof t==`function`&&(o=d,d={}),typeof e!=`string`){var h=new u(`Path must be a string.`);return process.nextTick(function(){o(h)})}d=s(e,d);var g=d.isFile||v,S=d.isDirectory||y,T=d.readFile||n.readFile,E=d.realpath||b,ee=d.readPackage||C;if(d.readFile&&d.readPackage){var D=new u("`readFile` and `readPackage` are mutually exclusive.");return process.nextTick(function(){o(D)})}var O=d.packageIterator,te=d.extensions||[`.js`],k=d.includeCoreModules!==!1,ne=d.basedir||i.dirname(a()),A=d.filename||ne;d.paths=d.paths||_(),x(E,i.resolve(ne),d,function(e,t){e?o(e):M(t)});var j;function M(t){if(f.test(e))j=i.resolve(t,e),(e===`.`||e===`..`||e.slice(-1)===`/`)&&(j+=`/`),e.slice(-1)===`/`&&j===t?oe(j,d.package,re):ie(j,d.package,re);else if(k&&c(e))return o(null,e);else ce(e,t,function(t,n,r){if(t)o(t);else if(n)return x(E,n,d,function(e,t){e?o(e):o(null,t,r)});else{var i=new l(`Cannot find module '`+e+`' from '`+A+`'`);i.code=`MODULE_NOT_FOUND`,o(i)}})}function re(t,n,r){t?o(t):n?o(null,n,r):oe(j,function(t,n,r){if(t)o(t);else if(n)x(E,n,d,function(e,t){e?o(e):o(null,t,r)});else{var i=new l(`Cannot find module '`+e+`' from '`+A+`'`);i.code=`MODULE_NOT_FOUND`,o(i)}})}function ie(e,t,n){var r=t,a=n;typeof r==`function`&&(a=r,r=void 0),o([``].concat(te),e,r);function o(e,t,n){if(e.length===0)return a(null,void 0,n);var r=t+e[0],s=n;s?c(null,s):ae(i.dirname(r),c);function c(n,c,u){if(s=c,n)return a(n);if(u&&s&&d.pathFilter){var f=i.relative(u,r),p=f.slice(0,f.length-e[0].length),m=d.pathFilter(s,t,p);if(m)return o([``].concat(te),i.resolve(u,m),s)}g(r,l)}function l(n,i){if(n)return a(n);if(i)return a(null,r,s);o(e.slice(1),t,s)}}}function ae(e,t){if(e===``||e===`/`||process.platform===`win32`&&p.test(e)||m.test(e))return t(null);x(E,e,d,function(n,r){if(n)return ae(i.dirname(e),t);var a=i.join(r,`package.json`);g(a,function(n,r){if(!r)return ae(i.dirname(e),t);ee(T,a,function(n,r){if(n)return t(n);var i=r;i&&d.packageFilter&&(i=d.packageFilter(i,a)),t(null,i,e)})})})}function oe(e,t,n){var r=n,a=t;typeof a==`function`&&(r=a,a=d.package),x(E,e,d,function(t,n){if(t)return r(t);var o=i.join(n,`package.json`);g(o,function(t,n){if(t)return r(t);if(!n)return ie(i.join(e,`index`),a,r);ee(T,o,function(t,n){if(t)return r(t);var a=n;if(a&&d.packageFilter&&(a=d.packageFilter(a,o)),a&&a.main){if(typeof a.main!=`string`){var s=new u(`package “`+a.name+"” `main` must be a string");return s.code=`INVALID_PACKAGE_MAIN`,r(s)}(a.main===`.`||a.main===`./`)&&(a.main=`index`),ie(i.resolve(e,a.main),a,function(t,n,a){if(t)return r(t);if(n)return r(null,n,a);if(!a)return ie(i.join(e,`index`),a,r);oe(i.resolve(e,a.main),a,function(t,n,a){if(t)return r(t);if(n)return r(null,n,a);ie(i.join(e,`index`),a,r)})})}else ie(i.join(e,`/index`),a,r)})})})}function se(e,t){if(t.length===0)return e(null,void 0);var n=t[0];S(i.dirname(n),r);function r(r,i){if(r)return e(r);if(!i)return se(e,t.slice(1));ie(n,d.package,a)}function a(t,r,i){if(t)return e(t);if(r)return e(null,r,i);oe(n,d.package,o)}function o(n,r,i){if(n)return e(n);if(r)return e(null,r,i);se(e,t.slice(1))}}function ce(e,t,n){var r=function(){return w(e,t,d)};se(n,O?O(e,t,r,d):r())}}})),Ss=/* @__PURE__ */ p(((e,t)=>{t.exports={assert:!0,"node:assert":[`>= 14.18 && < 15`,`>= 16`],"assert/strict":`>= 15`,"node:assert/strict":`>= 16`,async_hooks:`>= 8`,"node:async_hooks":[`>= 14.18 && < 15`,`>= 16`],buffer_ieee754:`>= 0.5 && < 0.9.7`,buffer:!0,"node:buffer":[`>= 14.18 && < 15`,`>= 16`],child_process:!0,"node:child_process":[`>= 14.18 && < 15`,`>= 16`],cluster:`>= 0.5`,"node:cluster":[`>= 14.18 && < 15`,`>= 16`],console:!0,"node:console":[`>= 14.18 && < 15`,`>= 16`],constants:!0,"node:constants":[`>= 14.18 && < 15`,`>= 16`],crypto:!0,"node:crypto":[`>= 14.18 && < 15`,`>= 16`],_debug_agent:`>= 1 && < 8`,_debugger:`< 8`,dgram:!0,"node:dgram":[`>= 14.18 && < 15`,`>= 16`],diagnostics_channel:[`>= 14.17 && < 15`,`>= 15.1`],"node:diagnostics_channel":[`>= 14.18 && < 15`,`>= 16`],dns:!0,"node:dns":[`>= 14.18 && < 15`,`>= 16`],"dns/promises":`>= 15`,"node:dns/promises":`>= 16`,domain:`>= 0.7.12`,"node:domain":[`>= 14.18 && < 15`,`>= 16`],events:!0,"node:events":[`>= 14.18 && < 15`,`>= 16`],"node:ffi":`>= 26.9`,freelist:`< 6`,fs:!0,"node:fs":[`>= 14.18 && < 15`,`>= 16`],"fs/promises":[`>= 10 && < 10.1`,`>= 14`],"node:fs/promises":[`>= 14.18 && < 15`,`>= 16`],_http_agent:`>= 0.11.1`,"node:_http_agent":[`>= 14.18 && < 15`,`>= 16`],_http_client:`>= 0.11.1`,"node:_http_client":[`>= 14.18 && < 15`,`>= 16`],_http_common:`>= 0.11.1`,"node:_http_common":[`>= 14.18 && < 15`,`>= 16`],_http_incoming:`>= 0.11.1`,"node:_http_incoming":[`>= 14.18 && < 15`,`>= 16`],_http_outgoing:`>= 0.11.1`,"node:_http_outgoing":[`>= 14.18 && < 15`,`>= 16`],_http_server:`>= 0.11.1`,"node:_http_server":[`>= 14.18 && < 15`,`>= 16`],http:!0,"node:http":[`>= 14.18 && < 15`,`>= 16`],http2:`>= 8.8`,"node:http2":[`>= 14.18 && < 15`,`>= 16`],https:!0,"node:https":[`>= 14.18 && < 15`,`>= 16`],inspector:`>= 8`,"node:inspector":[`>= 14.18 && < 15`,`>= 16`],"inspector/promises":[`>= 19`],"node:inspector/promises":[`>= 19`],_linklist:`< 8`,module:!0,"node:module":[`>= 14.18 && < 15`,`>= 16`],net:!0,"node:net":[`>= 14.18 && < 15`,`>= 16`],"node-inspect/lib/_inspect":`>= 7.6 && < 12`,"node-inspect/lib/internal/inspect_client":`>= 7.6 && < 12`,"node-inspect/lib/internal/inspect_repl":`>= 7.6 && < 12`,os:!0,"node:os":[`>= 14.18 && < 15`,`>= 16`],path:!0,"node:path":[`>= 14.18 && < 15`,`>= 16`],"path/posix":`>= 15.3`,"node:path/posix":`>= 16`,"path/win32":`>= 15.3`,"node:path/win32":`>= 16`,perf_hooks:`>= 8.5`,"node:perf_hooks":[`>= 14.18 && < 15`,`>= 16`],process:`>= 1`,"node:process":[`>= 14.18 && < 15`,`>= 16`],punycode:`>= 0.5`,"node:punycode":[`>= 14.18 && < 15`,`>= 16`],querystring:!0,"node:querystring":[`>= 14.18 && < 15`,`>= 16`],readline:!0,"node:readline":[`>= 14.18 && < 15`,`>= 16`],"readline/promises":`>= 17`,"node:readline/promises":`>= 17`,repl:!0,"node:repl":[`>= 14.18 && < 15`,`>= 16`],"node:sea":[`>= 20.12 && < 21`,`>= 21.7`],smalloc:`>= 0.11.5 && < 3`,"node:sqlite":[`>= 22.13 && < 23`,`>= 23.4`],_stream_duplex:`>= 0.9.4 && < 26`,"node:_stream_duplex":[`>= 14.18 && < 15`,`>= 16 && < 26`],_stream_transform:`>= 0.9.4 && < 26`,"node:_stream_transform":[`>= 14.18 && < 15`,`>= 16 && < 26`],_stream_wrap:`>= 1.4.1 && < 26`,"node:_stream_wrap":[`>= 14.18 && < 15`,`>= 16 && < 26`],_stream_passthrough:`>= 0.9.4 && < 26`,"node:_stream_passthrough":[`>= 14.18 && < 15`,`>= 16 && < 26`],_stream_readable:`>= 0.9.4 && < 26`,"node:_stream_readable":[`>= 14.18 && < 15`,`>= 16 && < 26`],_stream_writable:`>= 0.9.4 && < 26`,"node:_stream_writable":[`>= 14.18 && < 15`,`>= 16 && < 26`],stream:!0,"node:stream":[`>= 14.18 && < 15`,`>= 16`],"stream/consumers":`>= 16.7`,"node:stream/consumers":`>= 16.7`,"stream/promises":`>= 15`,"node:stream/promises":`>= 16`,"stream/web":`>= 16.5`,"node:stream/web":`>= 16.5`,string_decoder:!0,"node:string_decoder":[`>= 14.18 && < 15`,`>= 16`],sys:[`>= 0.4 && < 0.7`,`>= 0.8`],"node:sys":[`>= 14.18 && < 15`,`>= 16`],"test/reporters":`>= 19.9 && < 20.2`,"node:test/reporters":[`>= 18.17 && < 19`,`>= 19.9`,`>= 20`],"test/mock_loader":`>= 22.3 && < 22.7`,"node:test/mock_loader":`>= 22.3 && < 22.7`,"node:test":[`>= 16.17 && < 17`,`>= 18`],timers:!0,"node:timers":[`>= 14.18 && < 15`,`>= 16`],"timers/promises":`>= 15`,"node:timers/promises":`>= 16`,_tls_common:`>= 0.11.13`,"node:_tls_common":[`>= 14.18 && < 15`,`>= 16`],_tls_legacy:`>= 0.11.3 && < 10`,_tls_wrap:`>= 0.11.3`,"node:_tls_wrap":[`>= 14.18 && < 15`,`>= 16`],tls:!0,"node:tls":[`>= 14.18 && < 15`,`>= 16`],trace_events:`>= 10`,"node:trace_events":[`>= 14.18 && < 15`,`>= 16`],tty:!0,"node:tty":[`>= 14.18 && < 15`,`>= 16`],url:!0,"node:url":[`>= 14.18 && < 15`,`>= 16`],util:!0,"node:util":[`>= 14.18 && < 15`,`>= 16`],"util/types":`>= 15.3`,"node:util/types":`>= 16`,"v8/tools/arguments":`>= 10 && < 12`,"v8/tools/codemap":[`>= 4.4 && < 5`,`>= 5.2 && < 12`],"v8/tools/consarray":[`>= 4.4 && < 5`,`>= 5.2 && < 12`],"v8/tools/csvparser":[`>= 4.4 && < 5`,`>= 5.2 && < 12`],"v8/tools/logreader":[`>= 4.4 && < 5`,`>= 5.2 && < 12`],"v8/tools/profile_view":[`>= 4.4 && < 5`,`>= 5.2 && < 12`],"v8/tools/splaytree":[`>= 4.4 && < 5`,`>= 5.2 && < 12`],v8:`>= 1`,"node:v8":[`>= 14.18 && < 15`,`>= 16`],vm:!0,"node:vm":[`>= 14.18 && < 15`,`>= 16`],wasi:[`>= 13.4 && < 13.5`,`>= 18.17 && < 19`,`>= 20`],"node:wasi":[`>= 18.17 && < 19`,`>= 20`],worker_threads:`>= 11.7`,"node:worker_threads":[`>= 14.18 && < 15`,`>= 16`],zlib:`>= 0.5`,"node:zlib":[`>= 14.18 && < 15`,`>= 16`]}})),Cs=/* @__PURE__ */ p(((e,t)=>{var n=bs(),r=Ss(),i={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(i[a]=n(a));t.exports=i})),ws=/* @__PURE__ */ p(((e,t)=>{var n=bs();t.exports=function(e){return n(e)}})),Ts=/* @__PURE__ */ p(((e,t)=>{var n=bs(),r=g(`fs`),i=g(`path`),a=O(),o=S(),s=ms(),c=hs(),l=_s(),u=vs(),d=process.platform!==`win32`&&r.realpathSync&&typeof r.realpathSync.native==`function`?r.realpathSync.native:r.realpathSync,f=/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/,p=/^\w:[/\\]*$/,m=/[/\\]node_modules[/\\]*$/,h=s();function _(){return h?[i.join(h,`.node_modules`),i.join(h,`.node_libraries`)]:[]}var v=function(e){try{var t=r.statSync(e,{throwIfNoEntry:!1})}catch(e){if(e&&(e.code===`ENOENT`||e.code===`ENOTDIR`))return!1;throw e}return!!t&&(t.isFile()||t.isFIFO())},y=function(e){try{var t=r.statSync(e,{throwIfNoEntry:!1})}catch(e){if(e&&(e.code===`ENOENT`||e.code===`ENOTDIR`))return!1;throw e}return!!t&&t.isDirectory()},b=function(e){try{return d(e)}catch(e){if(e.code!==`ENOENT`)throw e}return e};function x(e,t,n){return n&&n.preserveSymlinks===!1?e(t):t}function C(e,t){var n=e(t);try{return JSON.parse(n)}catch{}}function w(e,t,n){for(var r=l(t,n,e),a=0;a<r.length;a++)r[a]=i.join(r[a],e);return r}t.exports=function(e,t){if(typeof e!=`string`)throw new o(`Path must be a string.`);var s=u(e,t),l=s.isFile||v,d=s.readFileSync||r.readFileSync,h=s.isDirectory||y,g=s.realpathSync||b,S=s.readPackageSync||C;if(s.readFileSync&&s.readPackageSync)throw new o("`readFileSync` and `readPackageSync` are mutually exclusive.");var T=s.packageIterator,E=s.extensions||[`.js`],ee=s.includeCoreModules!==!1,D=s.basedir||i.dirname(c()),O=s.filename||D;s.paths=s.paths||_();var te=x(g,i.resolve(D),s);if(f.test(e)){var k=i.resolve(te,e);(e===`.`||e===`..`||e.slice(-1)===`/`)&&(k+=`/`);var ne=M(k)||ie(k);if(ne)return x(g,ne,s)}else if(ee&&n(e))return e;else{var A=ae(e,te);if(A)return x(g,A,s)}var j=new a(`Cannot find module '`+e+`' from '`+O+`'`);throw j.code=`MODULE_NOT_FOUND`,j;function M(e){var t=re(i.dirname(e));if(t&&t.dir&&t.pkg&&s.pathFilter){var n=i.relative(t.dir,e),r=s.pathFilter(t.pkg,e,n);r&&(e=i.resolve(t.dir,r))}if(l(e))return e;for(var a=0;a<E.length;a++){var o=e+E[a];if(l(o))return o}}function re(e){if(e!==``&&e!==`/`&&!(process.platform===`win32`&&p.test(e))&&!m.test(e)){var t=i.join(x(g,e,s),`package.json`);if(!l(t))return re(i.dirname(e));var n=S(d,t);return n&&s.packageFilter&&(n=s.packageFilter(n,e)),{pkg:n,dir:e}}}function ie(e){var t=i.join(x(g,e,s),`/package.json`);if(l(t)){try{var n=S(d,t)}catch{}if(n&&s.packageFilter&&(n=s.packageFilter(n,e)),n&&n.main){if(typeof n.main!=`string`){var r=new o(`package “`+n.name+"” `main` must be a string");throw r.code=`INVALID_PACKAGE_MAIN`,r}(n.main===`.`||n.main===`./`)&&(n.main=`index`);try{var a=M(i.resolve(e,n.main));if(a)return a;var c=ie(i.resolve(e,n.main));if(c)return c}catch{}}}return M(i.join(e,`/index`))}function ae(e,t){for(var n=function(){return w(e,t,s)},r=T?T(e,t,n,s):n(),a=0;a<r.length;a++){var o=r[a];if(h(i.dirname(o))){var c=M(o);if(c)return c;var l=ie(o);if(l)return l}}}}})),Es=/* @__PURE__ */ p(((e,t)=>{var n=xs();n.core=Cs(),n.isCore=ws(),n.sync=Ts(),t.exports=n})),U=/* @__PURE__ */ h(ps(),1),Ds=/* @__PURE__ */ h(Es(),1);function Os(e,t,{paths:n=[],moduleDirectories:r=[`node_modules`],extensions:i=[`.css`]}={}){let a={basedir:t,moduleDirectory:r,paths:n,extensions:i,preserveSymlinks:!1};return new Promise((t,n)=>{(0,Ds.default)(e,a,(e,r)=>e?n(e):t(r))})}async function ks(e,t){let n=Object(null),r=process.cwd();e.source&&e.source.input&&e.source.input.file&&(r=a.dirname(e.source.input.file));let i=[];return e.walkAtRules(`import`,e=>{let n=js(e.params);if(n){if(a.isAbsolute(n))i.push(As(n,t));else{let e=Os(n,r,{paths:t.paths,extensions:t.extensions,moduleDirectories:t.moduleDirectories}).then(e=>As(e,t)).catch(()=>{});i.push(e)}}}),e.walkAtRules(`property`,e=>{let t=(0,U.default)(e.params).nodes,r=[];for(let e=0;e<t.length;e++){let n=t[e];if(n.type===`word`&&n.value.startsWith(`--`))for(r.push(n.value);(n.type!==`div`||n.value!==`,`)&&(e++,n=t[e],n););}let i={inherits:void 0,syntax:void 0,initialValue:void 0};e.each(e=>{if(e.type===`decl`)switch(e.prop){case`initial-value`:i.initialValue=e.value;return;case`syntax`:i.syntax=e.value.trim();break;case`inherits`:i.inherits=e.value.trim()}}),i.inherits!==void 0&&i.syntax!==void 0&&(i.syntax===`*`||i.syntax===`'*'`||i.syntax===`"*"`||i.initialValue!==void 0)&&r.forEach(e=>{n[e]={}})}),(await Promise.all(i)).forEach(e=>{n=Object.assign(n,e)}),e.walkDecls(e=>{e.variable&&e.prop.startsWith(`--`)&&(n[e.prop]={})}),n}async function As(e,t){try{let n=await i.readFile(e,`utf8`);return await ks(os.parse(n,{from:e}),t)}catch{return{}}}function js(e){let t=(0,U.default)(e).nodes;if(t.length){for(let e=0;e<t.length;e++){let n=t[e];if(n.type!==`space`&&n.type!==`comment`){if(n.type===`string`)return n.value;if(n.type===`function`&&/url/i.test(n.value))for(let e=0;e<n.nodes.length;e++){let t=n.nodes[e];if(t.type!==`space`&&t.type!==`comment`)return t.type===`word`||t.type===`string`?t.value:!1}return!1}}return!1}}async function Ms(e,t){let n=await i.readFile(e,`utf-8`);return await ks(os.parse(n,{from:e}),t)}function Ns(e){return Object.assign({},Object(e).customProperties,Object(e)[`custom-properties`])}async function Ps(e){return Ns(await Ls(e))}async function Fs(e){let t=await import(e);return`default`in t?Ns(t.default):Ns(t)}function Is(e,t){return e.map(e=>{if(e instanceof Promise)return e;if(e instanceof Function)return e();let t=e===Object(e)?e:{from:String(e)};if(t.customProperties||t[`custom-properties`])return t;let n=a.resolve(String(t.from||``));return{type:(t.type||a.extname(n).slice(1)).toLowerCase(),from:n}}).reduce(async(e,n)=>{let{type:r,from:i}=await n;return r===`css`?Object.assign(await e,await Ms(i,t)):r===`js`||r===`mjs`||r===`cjs`?Object.assign(await e,await Fs(i)):r===`json`?Object.assign(await e,await Ps(i)):Object.assign(await e,await Ns(await n))},{})}const Ls=async e=>JSON.parse(await i.readFile(e,`utf-8`));var Rs=`csstools/value-no-unknown-custom-properties`,zs=t.utils.ruleMessages(Rs,{unexpected:(e,t)=>`Unexpected custom property "${e}" inside declaration "${t}".`}),Bs=(e,{result:t,customProperties:n})=>{let r=(0,U.default)(e.value);Vs(r,{result:t,customProperties:n,decl:e})};const Vs=(e,{result:n,customProperties:r,decl:i})=>{typeof e?.walk==`function`&&e.walk(e=>{if(Hs(e)){let[a,,...o]=e.nodes,s=a.value;if(s in r)return;if(o.length){Vs({nodes:o.filter(Hs)},{result:n,customProperties:r,decl:i});return}t.utils.report({message:zs.unexpected,messageArgs:[s,i.prop],node:i,result:n,ruleName:Rs,word:String(s)})}})},Hs=e=>e.type===`function`&&e.value===`var`&&e.nodes[0].value.startsWith(`--`);var Us=(e,t,n)=>{e.walkDecls(e=>{Gs(e)&&Bs(e,{result:t,customProperties:n})})};const Ws=/(^|[^\w-])var\([\W\w]+\)/i,Gs=e=>Ws.test(e.value),Ks={url:`https://github.com/csstools/stylelint-value-no-unknown-custom-properties/blob/main/README.md`},qs=(e,n)=>{let r=[].concat(Object(n).importFrom||[]),i=Object(n).resolver||{},a=Ys(e)?Is(r,i):{};return async(n,r)=>{t.utils.validateOptions(r,`csstools/value-no-unknown-custom-properties`,{actual:e,possible(){return Ys(e)||Xs(e)}})&&Ys(e)&&Us(n,r,Object.assign(await a,await ks(n,i)))}};qs.ruleName=Rs,qs.messages=zs,qs.meta=Ks;var Js=t.createPlugin(Rs,qs);const Ys=e=>e===!0,Xs=e=>e===null||e===!1;function W(e){return`@stylistic/${e}`}function G(e){return`https://github.com/stylelint-stylistic/stylelint-stylistic/blob/main/lib/rules/${e}/README.md`}function Zs(e){return!(!e.nodes&&e.params===``||`mixin`in e&&e.mixin||`variable`in e&&e.variable||!e.nodes&&e.raws.afterName===``&&e.params[0]===`(`)}let{utils:{report:Qs,ruleMessages:$s,validateOptions:ec}}=t,tc=`at-rule-name-case`,nc=W(tc),rc=$s(nc,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),ic={url:G(tc),fixable:!0};function ac(e){return(t,n)=>{if(!ec(n,nc,{actual:e,possible:[`lower`,`upper`]}))return;let r=e;t.walkAtRules(e=>{if(!Zs(e))return;let t=e.name,i=r===`lower`?t.toLowerCase():t.toUpperCase();t!==i&&Qs({message:rc.expected,messageArgs:[t,i],node:e,ruleName:nc,result:n,fix(){e.name=i}})})}}ac.ruleName=nc,ac.messages=rc,ac.meta=ic;let{utils:{report:oc}}=t;function sc(e){e.root.walkAtRules(e=>{Zs(e)&&t(`@${e.name}${e.raws.afterName||``}${e.params}`,e.name.length,e)});function t(t,n,r){e.locationChecker({source:t,index:n,err:t=>{oc({message:t,node:r,index:n,endIndex:n,result:e.result,ruleName:e.checkedRuleName,fix:e.fix?()=>e.fix(r):void 0})},errTarget:`@${r.name}`})}}function cc(e){let t=Error(e);return t.code=78,t}function lc(e){return!/[\n\r]/u.test(e)}function uc(e){return[` `,`
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
`)&&!i.startsWith(
|
|
63
|
-
`)&&(e===`always`?c(Il.expectedBefore):a&&e===`always-multi-line`&&c(Il.expectedBeforeMultiLine)),i!==``&&a&&e===`never-multi-line`&&c(Il.rejectedBeforeMultiLine);function c(i){jl({message:i,result:r,ruleName:Fl,node:t,index:s,endIndex:s,fix(){let r=t.raws;if(typeof r.after==`string`){if(e.startsWith(`always`)){let e=r.after.search(/\s/u),t=e>=0?r.after.slice(0,e):r.after,i=e>=0?r.after.slice(e):``,a=i.search(/\r?\n/u);r.after=a>=0?t+i.slice(a):t+n.newline+i}else e===`never-multi-line`&&(r.after=r.after.replaceAll(/\s/gu,``))}}})}}}}Rl.ruleName=Fl,Rl.messages=Il,Rl.meta=Ll;let{utils:{report:zl,ruleMessages:Bl,validateOptions:Vl}}=t,Hl=`block-closing-brace-space-after`,Ul=W(Hl),Wl=Bl(Ul,{expectedAfter:()=>`Expected single space after "}"`,rejectedAfter:()=>`Unexpected whitespace after "}"`,expectedAfterSingleLine:()=>`Expected single space after "}" of a single-line block`,rejectedAfterSingleLine:()=>`Unexpected whitespace after "}" of a single-line block`,expectedAfterMultiLine:()=>`Expected single space after "}" of a multi-line block`,rejectedAfterMultiLine:()=>`Unexpected whitespace after "}" of a multi-line block`}),Gl={url:G(Hl)};function Kl(e){let t=K(`space`,e,Wl);return(n,r)=>{if(!Vl(r,Ul,{actual:e,possible:[`always`,`never`,`always-single-line`,`never-single-line`,`always-multi-line`,`never-multi-line`]}))return;n.walkRules(i),n.walkAtRules(i);function i(e){let n=e.next();if(!n||!Fc(e))return;let i=e.toString().length,a=Lc(n);a&&a.startsWith(`;`)&&(a=a.slice(1),i+=1),t.after({source:a,index:-1,lineCheckStr:ol(e),err:t=>{zl({message:t,node:e,index:i,endIndex:i,result:r,ruleName:Ul})}})}}}Kl.ruleName=Ul,Kl.messages=Wl,Kl.meta=Gl;let{utils:{report:ql,ruleMessages:Jl,validateOptions:Yl}}=t,Xl=`block-closing-brace-space-before`,Zl=W(Xl),Ql=Jl(Zl,{expectedBefore:()=>`Expected single space before "}"`,rejectedBefore:()=>`Unexpected whitespace before "}"`,expectedBeforeSingleLine:()=>`Expected single space before "}" of a single-line block`,rejectedBeforeSingleLine:()=>`Unexpected whitespace before "}" of a single-line block`,expectedBeforeMultiLine:()=>`Expected single space before "}" of a multi-line block`,rejectedBeforeMultiLine:()=>`Unexpected whitespace before "}" of a multi-line block`}),$l={url:G(Xl),fixable:!0};function eu(e){let t=K(`space`,e,Ql);return(n,r)=>{if(!Yl(r,Zl,{actual:e,possible:[`always`,`never`,`always-single-line`,`never-single-line`,`always-multi-line`,`never-multi-line`]}))return;n.walkRules(i),n.walkAtRules(i);function i(n){if(!Fc(n)||sl(n))return;let i=ol(n),a=n.toString(),o=a.length-2;a[o-1]===`\r`&&--o,t.before({source:i,index:i.length-1,err:t=>{ql({message:t,node:n,index:o,endIndex:o,result:r,ruleName:Zl,fix(){let t=n.raws;typeof t.after==`string`&&(e.startsWith(`always`)?t.after=t.after.replace(/\s*$/u,` `):e.startsWith(`never`)&&(t.after=t.after.replace(/\s*$/u,``)))}})}})}}}eu.ruleName=Zl,eu.messages=Ql,eu.meta=$l;let{utils:{report:tu,ruleMessages:nu,validateOptions:ru}}=t,iu=`block-opening-brace-newline-after`,au=W(iu),ou=nu(au,{expectedAfter:()=>`Expected newline after "{"`,expectedAfterMultiLine:()=>`Expected newline after "{" of a multi-line block`,rejectedAfterMultiLine:()=>`Unexpected whitespace after "{" of a multi-line block`}),su={url:G(iu),fixable:!0};function cu(e,t,n){let r=K(`newline`,e,ou);return(i,a)=>{if(!ru(a,au,{actual:e,possible:[`always`,`rules`,`always-multi-line`,`never-multi-line`]},{actual:t,possible:{ignore:[`rules`]},optional:!0}))return;pl(t,`ignore`,`rules`)||i.walkRules(o),i.walkAtRules(o);function o(t){if(!Fc(t)||sl(t))return;let i=/* @__PURE__ */ new Map;function o(e){if(e&&e.next){if(e.type===`comment`){let t=/\r?\n/u,n=t.test(e.raws.before||``),r=e.next();return r&&n&&!t.test(r.raws.before||``)&&(i.set(r,r.raws.before),r.raws.before=e.raws.before),o(r)}return e}}let s=o(t.first);if(!s)return;let c=al(t,{noRawBefore:!0}).length+1;r.afterOneOnly({source:Lc(s),index:-1,lineCheckStr:ol(t),err:r=>{tu({message:r,node:t,index:c,endIndex:c,result:a,ruleName:au,fix(){let r=s.raws;if(typeof r.before==`string`){if(e.startsWith(`always`)){let e=r.before.search(/\r?\n/u);r.before=e>=0?r.before.slice(e):n.newline+r.before,i.delete(s)}else if(e===`never-multi-line`){for(let[e,t]of i.entries())e.raws.before=t;i.clear();let e=/\r?\n/u,n=t.first;for(;n;){let t=n.raws;if(typeof t.before==`string`){if(e.test(t.before||``)&&(t.before=t.before.replaceAll(/\r?\n/gu,``)),n.type!==`comment`)break;n=n.next()}}r.before=``}}}})}});for(let[e,t]of i.entries())e.raws.before=t}}}cu.ruleName=au,cu.messages=ou,cu.meta=su;let{utils:{report:lu,ruleMessages:uu,validateOptions:du}}=t,fu=`block-opening-brace-newline-before`,pu=W(fu),mu=uu(pu,{expectedBefore:()=>`Expected newline before "{"`,expectedBeforeSingleLine:()=>`Expected newline before "{" of a single-line block`,rejectedBeforeSingleLine:()=>`Unexpected whitespace before "{" of a single-line block`,expectedBeforeMultiLine:()=>`Expected newline before "{" of a multi-line block`,rejectedBeforeMultiLine:()=>`Unexpected whitespace before "{" of a multi-line block`}),hu={url:G(fu),fixable:!0};function gu(e,t,n){let r=K(`newline`,e,mu);return(t,i)=>{if(!du(i,pu,{actual:e,possible:[`always`,`always-single-line`,`never-single-line`,`always-multi-line`,`never-multi-line`]}))return;t.walkRules(a),t.walkAtRules(a);function a(t){if(!Fc(t)||sl(t))return;let a=al(t),o=al(t,{noRawBefore:!0}),s=o.length-1;o[s-1]===`\r`&&--s,r.beforeAllowingIndentation({lineCheckStr:ol(t),source:a,index:a.length,err:r=>{lu({message:r,node:t,index:s,endIndex:s,result:i,ruleName:pu,fix(){if(typeof t.raws.between==`string`){if(e.startsWith(`always`)){let e=t.raws.between.search(/\s+$/u);e>=0?t.raws.between=t.raws.between.slice(0,e)+n.newline+t.raws.between.slice(e):t.raws.between+=n.newline}else e.startsWith(`never`)&&(t.raws.between=t.raws.between.replace(/\s*$/u,``))}}})}})}}}gu.ruleName=pu,gu.messages=mu,gu.meta=hu;let{utils:{report:_u,ruleMessages:vu,validateOptions:yu}}=t,bu=`block-opening-brace-space-after`,xu=W(bu),Su=vu(xu,{expectedAfter:()=>`Expected single space after "{"`,rejectedAfter:()=>`Unexpected whitespace after "{"`,expectedAfterSingleLine:()=>`Expected single space after "{" of a single-line block`,rejectedAfterSingleLine:()=>`Unexpected whitespace after "{" of a single-line block`,expectedAfterMultiLine:()=>`Expected single space after "{" of a multi-line block`,rejectedAfterMultiLine:()=>`Unexpected whitespace after "{" of a multi-line block`}),Cu={url:G(bu),fixable:!0};function wu(e,t){let n=K(`space`,e,Su);return(r,i)=>{if(!yu(i,xu,{actual:e,possible:[`always`,`never`,`always-single-line`,`never-single-line`,`always-multi-line`,`never-multi-line`]},{actual:t,possible:{ignore:[`at-rules`]},optional:!0}))return;r.walkRules(a),pl(t,`ignore`,`at-rules`)||r.walkAtRules(a);function a(t){if(!Fc(t)||sl(t))return;let r=al(t,{noRawBefore:!0}).length+1;n.after({source:ol(t),index:0,err:n=>{_u({message:n,node:t,index:r,endIndex:r,result:i,ruleName:xu,fix(){let n=t.first;n!==null&&(e.startsWith(`always`)?n.raws.before=` `:e.startsWith(`never`)&&(n.raws.before=``))}})}})}}}wu.ruleName=xu,wu.messages=Su,wu.meta=Cu;let{utils:{report:Tu,ruleMessages:Eu,validateOptions:Du}}=t,Ou=`block-opening-brace-space-before`,ku=W(Ou),Au=Eu(ku,{expectedBefore:()=>`Expected single space before "{"`,rejectedBefore:()=>`Unexpected whitespace before "{"`,expectedBeforeSingleLine:()=>`Expected single space before "{" of a single-line block`,rejectedBeforeSingleLine:()=>`Unexpected whitespace before "{" of a single-line block`,expectedBeforeMultiLine:()=>`Expected single space before "{" of a multi-line block`,rejectedBeforeMultiLine:()=>`Unexpected whitespace before "{" of a multi-line block`}),ju={url:G(Ou),fixable:!0};function Mu(e,t){let n=K(`space`,e,Au);return(r,i)=>{if(!Du(i,ku,{actual:e,possible:[`always`,`never`,`always-single-line`,`never-single-line`,`always-multi-line`,`never-multi-line`]},{actual:t,possible:{ignoreAtRules:[_c,gc],ignoreSelectors:[_c,gc]},optional:!0}))return;r.walkRules(a),r.walkAtRules(a);function a(r){if(!Fc(r)||sl(r)||r.type===`atrule`&&pl(t,`ignoreAtRules`,r.name)||r.type===`rule`&&pl(t,`ignoreSelectors`,r.selector))return;let a=al(r),o=al(r,{noRawBefore:!0}),s=o.length-1;o[s-1]===`\r`&&--s,n.before({source:a,index:a.length,lineCheckStr:ol(r),err:t=>{let n=(r.raws.between??``).replace(/\s*$/u,``),a=/\/\/[^\n]*$/u.test(n.replaceAll(/\/\*[\s\S]*?\*\//gu,``));Tu({message:t,node:r,index:s,endIndex:s,result:i,ruleName:ku,fix:a?void 0:()=>{e.startsWith(`always`)?r.raws.between=`${n} `:e.startsWith(`never`)&&(r.raws.between=n)}})}})}}}Mu.ruleName=ku,Mu.messages=Au,Mu.meta=ju;function J(e){let t=e.raws,n=t.prop,r=0,i=[hc(n)&&`prefix`in n&&n.prefix,hc(n)&&`raw`in n&&n.raw||e.prop,hc(n)&&`suffix`in n&&n.suffix,t.between||`:`,t.value&&`prefix`in t.value&&t.value.prefix];for(let e of i)_c(e)&&(r+=e.length);return r}function Y(e){let t=e.raws;return t.value&&t.value.raw||e.value}function Nu(e,t){let n=e.raws;return n.value?n.value.raw=t:e.value=t,e}let{utils:{report:Pu,ruleMessages:Fu,validateOptions:Iu}}=t,Lu=`color-hex-case`,Ru=W(Lu),zu=Fu(Ru,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),Bu={url:G(Lu),fixable:!0};const Vu=/^#[\da-z]+/iu,Hu=/#[\da-z]+/iu,Uu=/* @__PURE__ */ new Set([`url`]);function Wu(e){return(t,n)=>{Iu(n,Ru,{actual:e,possible:[`lower`,`upper`]})&&t.walkDecls(t=>{if(!Hu.test(t.value))return;let r=(0,U.default)(Y(t)),i=!1;r.walk(r=>{let{value:a}=r;if(Gu(r))return!1;if(!Ku(r))return;let o=e===`lower`?a.toLowerCase():a.toUpperCase();if(a===o)return;let s=J(t)+r.sourceIndex;Pu({message:zu.expected,messageArgs:[a,o],node:t,index:s,endIndex:s,result:n,ruleName:Ru,fix(){r.value=o,i=!0}})}),i&&Nu(t,r.toString())})}}function Gu({type:e,value:t}){return e===`function`&&Uu.has(t.toLowerCase())}function Ku({type:e,value:t}){return e===`word`&&Vu.test(t)}Wu.ruleName=Ru,Wu.messages=zu,Wu.meta=Bu;var qu=/* @__PURE__ */ h((/* @__PURE__ */ p(((e,t)=>{var n=`skip`,r=`only`;t.exports=function(e,t){var i=e.source,a=e.target,o=!e.comments||e.comments===n,s=!e.strings||e.strings===n,c=!e.functionNames||e.functionNames===n,l=e.functionArguments===n,u=e.parentheticals===n,d=!1;Object.keys(e).forEach(function(t){if(e[t]===r){if(!d)d=!0;else throw Error(`Only one syntax feature option can be the "only" one to check`)}});var f=e.comments===r,p=e.strings===r,m=e.functionNames===r,h=e.functionArguments===r,g=e.parentheticals===r,_=!1,v=!1,y=!1,b=!1,x=!1,S=0,C=0,w,T=Array.isArray(a),E=(function(){return T?function(e){for(var t=0,n=a.length;t<n;t++){var r=ee(a[t],e);if(r)return r}return!1}:ee.bind(null,a)})();function ee(e,t){var n=e.length;return n===1&&i[t]!==e||i.substr(t,n)!==e?!1:{insideParens:b,insideFunctionArguments:x,insideComment:v,insideString:_,startIndex:t,endIndex:t+n,target:e}}for(var D=0,O=i.length;D<O;D++){var te=i[D];if(!_&&!v&&te===`/`&&i[D-1]!==`\\`){if(i[D+1]===`*`){v=!0;continue}if(i[D+1]===`/`){v=!0,y=!0;continue}}if(v){if(!y&&te===`*`&&i[D-1]!==`\\`&&i[D+1]===`/`&&i[D-1]!==`/`){v=!1;continue}if(y&&te===`
|
|
64
|
-
`&&(v=!1,y=!1),o)continue}if(!v&&!_&&(te===`"`||te===`'`)){if(i[D-1]===`\\`)continue;w=te,_=!0,a===te&&A(E(D))}else{if(_){if(te===w){if(i[D-1]===`\\`)continue;_=!1;continue}if(s)continue}if(!_&&!v&&te===`(`)S++,b=!0,/[a-zA-Z]/.test(i[D-1])&&(x=!0),a===`(`&&A(E(D));else if(b&&te===`)`)S--,a===`)`&&A(E(D)),S===0&&(b=!1,x=!1);else{var k=/^[a-zA-Z]*\(/.test(i.slice(D));if(!(c&&k)&&(!m||k)){var ne=E(D);if(ne&&(A(ne),e.once))return}}}}function A(e){(!g||b)&&(u&&b||(!h||x)&&(l&&x||(!p||_)&&(!f||v)&&(C++,t(e,C))))}}})))(),1);let{utils:{report:Ju}}=t;function Yu(e){e.root.walkDecls(e=>{let n=J(e),r=e.toString(),i=e.toString().slice(n);i.includes(`!`)&&(0,qu.default)({source:i,target:`!`},i=>{t(r,i.startIndex+n,e)})});function t(t,n,r){e.locationChecker({source:t,index:n,err:t=>{Ju({message:t,node:r,index:n,endIndex:n,result:e.result,ruleName:e.checkedRuleName,fix:e.fix?()=>e.fix(r,n):void 0})}})}}let{utils:{ruleMessages:Xu,validateOptions:Zu}}=t,Qu=`declaration-bang-space-after`,$u=W(Qu),ed=Xu($u,{expectedAfter:()=>`Expected single space after "!"`,rejectedAfter:()=>`Unexpected whitespace after "!"`}),td={url:G(Qu),fixable:!0};function nd(e){let t=K(`space`,e,ed);return(n,r)=>{Zu(r,$u,{actual:e,possible:[`always`,`never`]})&&Yu({root:n,result:r,locationChecker:t.after,checkedRuleName:$u,fix:(t,n)=>{let r=n-J(t),i=Y(t),a,o;if(r<i.length)a=i,o=e=>{Nu(t,e)};else if(t.important)a=t.raws.important||` !important`,r-=i.length,o=e=>{t.raws.important=e};else return!1;let s=a.slice(0,r+1),c=a.slice(r+1);return e===`always`?(o(s+c.replace(/^\s*/u,` `)),!0):e===`never`&&(o(s+c.replace(/^\s*/u,``)),!0)}})}}nd.ruleName=$u,nd.messages=ed,nd.meta=td;let{utils:{ruleMessages:rd,validateOptions:id}}=t,ad=`declaration-bang-space-before`,od=W(ad),sd=rd(od,{expectedBefore:()=>`Expected single space before "!"`,rejectedBefore:()=>`Unexpected whitespace before "!"`}),cd={url:G(ad),fixable:!0};function ld(e){let t=K(`space`,e,sd);return(n,r)=>{id(r,od,{actual:e,possible:[`always`,`never`]})&&Yu({root:n,result:r,locationChecker:t.before,checkedRuleName:od,fix:(t,n)=>{let r=n-J(t),i=Y(t),a,o;if(r<i.length)a=i,o=e=>{Nu(t,e)};else if(t.important)a=t.raws.important||` !important`,r-=i.length,o=e=>{t.raws.important=e};else return!1;let s=a.slice(0,r),c=a.slice(r);return e===`always`?(o(`${s.replace(/\s*$/u,``)} ${c}`),!0):e===`never`&&(o(s.replace(/\s*$/u,``)+c),!0)}})}}ld.ruleName=od,ld.messages=sd,ld.meta=cd;let{utils:{report:ud,ruleMessages:dd,validateOptions:fd}}=t,pd=`declaration-block-semicolon-newline-after`,md=W(pd),hd=dd(md,{expectedAfter:()=>`Expected newline after ";"`,expectedAfterMultiLine:()=>`Expected newline after ";" in a multi-line declaration block`,rejectedAfterMultiLine:()=>`Unexpected newline after ";" in a multi-line declaration block`}),gd={url:G(pd),fixable:!0};function _d(e,t,n){let r=K(`newline`,e,hd);return(t,i)=>{fd(i,md,{actual:e,possible:[`always`,`always-multi-line`,`never-multi-line`]})&&t.walkDecls(t=>{let a=t.parent;if(!a)throw Error(`A parent node must be present`);if(!q(a)&&!nl(a)||!a.raws.semicolon&&a.last===t)return;let o=t.next();if(!o)return;let s=Ic(o);if(!s)return;let c=t.toString().length+1;r.afterOneOnly({source:Lc(s),index:-1,lineCheckStr:ol(a),err:r=>{ud({message:r,node:t,index:c,endIndex:c,result:i,ruleName:md,fix(){if(e.startsWith(`always`)){let e=s.raws.before.search(/\r?\n/u);s.raws.before=e>=0?s.raws.before.slice(e):n.newline+s.raws.before}else e===`never-multi-line`&&(s.raws.before=``)}})}})})}}_d.ruleName=md,_d.messages=hd,_d.meta=gd;function vd(e){return e.startsWith(`--`)}let{utils:{report:yd,ruleMessages:bd,validateOptions:xd}}=t,Sd=`declaration-block-semicolon-newline-before`,Cd=W(Sd),wd=bd(Cd,{expectedBefore:()=>`Expected newline before ";"`,expectedBeforeMultiLine:()=>`Expected newline before ";" in a multi-line declaration block`,rejectedBeforeMultiLine:()=>`Unexpected whitespace before ";" in a multi-line declaration block`}),Td={url:G(Sd),fixable:!0};function Ed(e,t,n){let r=K(`newline`,e,wd);return(t,i)=>{xd(i,Cd,{actual:e,possible:[`always`,`always-multi-line`,`never-multi-line`]})&&t.walkDecls(t=>{let a=t.parent;if(!a)throw Error(`A parent node must be present`);if(!q(a)&&!nl(a)||!a.raws.semicolon&&a.last===t)return;let o=Y(t),s=vd(t.prop)&&/^[ \t]+$/u.test(o);if(e.startsWith(`never`)&&o===` `)return;let c=t.toString(),l=t.toString().length-1;r.beforeAllowingIndentation({source:c,index:c.length,lineCheckStr:ol(a),err:r=>{yd({message:r,node:t,index:l,endIndex:l,result:i,ruleName:Cd,fix:()=>{if(e.startsWith(`always`))t.raws.important?t.raws.important=t.raws.important.replace(/\s*$/u,n.newline):(o=o.replace(/\s*$/u,n.newline),t.raws.value?t.raws.value.raw=o:t.value=o);else if(e===`never-multi-line`){if(t.raws.important)t.raws.important=t.raws.important.replace(/\s*$/u,``);else{let e=s?` `:o.replace(/\s*$/u,``);t.raws.value?t.raws.value.raw=e:t.value=e}}}})}})})}}Ed.ruleName=Cd,Ed.messages=wd,Ed.meta=Td;let{utils:{report:Dd,ruleMessages:Od,validateOptions:kd}}=t,Ad=`declaration-block-semicolon-space-after`,jd=W(Ad),Md=Od(jd,{expectedAfter:()=>`Expected single space after ";"`,rejectedAfter:()=>`Unexpected whitespace after ";"`,expectedAfterSingleLine:()=>`Expected single space after ";" in a single-line declaration block`,rejectedAfterSingleLine:()=>`Unexpected whitespace after ";" in a single-line declaration block`}),Nd={url:G(Ad),fixable:!0};function Pd(e){let t=K(`space`,e,Md);return(n,r)=>{kd(r,jd,{actual:e,possible:[`always`,`never`,`always-single-line`,`never-single-line`]})&&n.walkDecls(n=>{let i=n.parent;if(!i)throw Error(`A parent node must be present`);if(!q(i)&&!nl(i)||!i.raws.semicolon&&i.last===n)return;let a=n.next();if(!a)return;let o=n.toString().length+1;t.after({source:Lc(a),index:-1,lineCheckStr:ol(i),err:t=>{Dd({message:t,node:n,index:o,endIndex:o,result:r,ruleName:jd,fix(){e.startsWith(`always`)?a.raws.before=` `:e.startsWith(`never`)&&(a.raws.before=``)}})}})})}}Pd.ruleName=jd,Pd.messages=Md,Pd.meta=Nd;let{utils:{report:Fd,ruleMessages:Id,validateOptions:Ld}}=t,Rd=`declaration-block-semicolon-space-before`,zd=W(Rd),Bd=Id(zd,{expectedBefore:()=>`Expected single space before ";"`,rejectedBefore:()=>`Unexpected whitespace before ";"`,expectedBeforeSingleLine:()=>`Expected single space before ";" in a single-line declaration block`,rejectedBeforeSingleLine:()=>`Unexpected whitespace before ";" in a single-line declaration block`}),Vd={url:G(Rd),fixable:!0};function Hd(e){let t=K(`space`,e,Bd);return(n,r)=>{Ld(r,zd,{actual:e,possible:[`always`,`never`,`always-single-line`,`never-single-line`]})&&n.walkDecls(n=>{let i=n.parent;if(!i)throw Error(`A parent node must be present`);if(!q(i)&&!nl(i)||!i.raws.semicolon&&i.last===n)return;let a=Y(n),o=!1;if(vd(n.prop)&&(o=/^\s+$/u.test(a),e.startsWith(`never`)&&a===` `))return;let s=n.toString(),c=n.toString().length-1;t.before({source:s,index:s.length,lineCheckStr:ol(i),err:t=>{Fd({message:t,node:n,index:c,endIndex:c,result:r,ruleName:zd,fix(){e.startsWith(`always`)?n.important?n.raws.important=` !important `:Nu(n,a.replace(/\s*$/u,` `)):e.startsWith(`never`)&&(n.raws.important?n.raws.important=n.raws.important.replace(/\s*$/u,``):Nu(n,o?` `:a.replace(/\s*$/u,``)))}})}})})}}Hd.ruleName=zd,Hd.messages=Bd,Hd.meta=Vd;let{utils:{report:Ud,ruleMessages:Wd,validateOptions:Gd}}=t,Kd=`declaration-block-trailing-semicolon`,qd=W(Kd),Jd=Wd(qd,{expected:`Expected a trailing semicolon`,rejected:`Unexpected trailing semicolon`}),Yd={url:G(Kd),fixable:!0};function Xd(e,t){return(n,r)=>{if(!Gd(r,qd,{actual:e,possible:[`always`,`never`]},{actual:t,possible:{ignore:[`single-declaration`]},optional:!0}))return;n.walkAtRules(e=>{if(!e.parent)throw Error(`A parent node must be present`);e.parent===n||e!==e.parent.last||Fc(e)||i(e)}),n.walkDecls(e=>{if(!e.parent)throw Error(`A parent node must be present`);e.parent.type!==`object`&&e===e.parent.last&&i(e)});function i(n){if(!n.parent)throw Error(`A parent node must be present`);let i=n.parent.raws.semicolon;if(pl(t,`ignore`,`single-declaration`)&&n.parent.first===n)return;if(e===`always`&&e===`never`)throw Error(`Unexpected primary option: "${e}"`);let a;e===`always`&&!i?a=Jd.expected:e===`never`&&i&&(a=Jd.rejected);let o=n.toString().trim().length-1;a&&Ud({message:a,node:n,index:o,endIndex:o,result:r,ruleName:qd,fix(){e===`always`&&!i?(n.parent.raws.semicolon=!0,q(n)&&(n.raws.between=``,n.parent.raws.after=` `)):e===`never`&&i&&(n.parent.raws.semicolon=!1)}})}}}Xd.ruleName=qd,Xd.messages=Jd,Xd.meta=Yd;function Zd(e){return!!(e.startsWith(`$`)||e.includes(`.$`))}function Qd(e){let t=e.prop,n=e.parent;return!(Zd(t)||t[0]===`@`&&t[1]!==`{`||n&&n.type===`atrule`&&n.raws.afterName===`:`||n&&nl(n)&&n.selector&&n.selector.startsWith(`#`)&&n.selector.endsWith(`()`)||n&&nl(n)&&n.selector&&n.selector.at(-1)===`:`&&n.selector.slice(0,2)!==`--`||`extend`in e&&e.extend)}let{utils:{report:$d,ruleMessages:ef,validateOptions:tf}}=t,nf=`declaration-colon-newline-after`,rf=W(nf),af=ef(rf,{expectedAfter:()=>`Expected newline after ":"`,expectedAfterMultiLine:()=>`Expected newline after ":" with a multi-line declaration`}),of={url:G(nf),fixable:!0};function sf(e,t,n){let r=K(`newline`,e,af);return(t,i)=>{tf(i,rf,{actual:e,possible:[`always`,`always-multi-line`]})&&t.walkDecls(e=>{if(!Qd(e))return;let t=J(e)+(e.raws.between||``).length-1,a=`${e.toString().slice(0,t)}xxx`;for(let t=0,o=a.length;t<o;t+=1){if(a[t]!==`:`)continue;let o=/^[^\S\r\n]*\/\*/u.test(a.slice(t+1))?a.indexOf(`*/`,t)+1:t;r.afterOneOnly({source:a,index:o,lineCheckStr:e.value,err:t=>{$d({message:t,node:e,index:o,endIndex:o,result:i,ruleName:rf,fix(){let t=e.raws.between;if(t===null)throw Error("`between` must be present");let r=J(e)-t.length,i=o-r+1,a=t.slice(0,i),s=t.slice(i);e.raws.between=/^\s*\n/u.test(s)?a+s.replace(/^[^\S\r\n]*/u,``):a+n.newline+s}})}})}})}}sf.ruleName=rf,sf.messages=af,sf.meta=of;let{utils:{report:cf}}=t;function lf(e){e.root.walkDecls(t=>{if(!Qd(t))return;let n=J(t)+(t.raws.between||``).length-1,r=`${t.toString().slice(0,n)}xxx`;vd(t.prop)&&t.value!==``&&/^\s+$/u.test(t.value)&&(r=`${t.toString().slice(0,n)}${t.value}x`);for(let n=0,i=r.length;n<i;n+=1){if(r[n]!==`:`)continue;let i=t.prop.toString().length+1;e.locationChecker({source:r,index:n,lineCheckStr:t.value,err:r=>{cf({message:r,node:t,index:i,endIndex:i,result:e.result,ruleName:e.checkedRuleName,fix:e.fix?()=>e.fix(t,n):void 0})}});break}})}let{utils:{ruleMessages:uf,validateOptions:df}}=t,ff=`declaration-colon-space-after`,pf=W(ff),mf=uf(pf,{expectedAfter:()=>`Expected single space after ":"`,rejectedAfter:()=>`Unexpected whitespace after ":"`,expectedAfterSingleLine:()=>`Expected single space after ":" with a single-line declaration`}),hf={url:G(ff),fixable:!0};function gf(e){let t=K(`space`,e,mf);return(n,r)=>{df(r,pf,{actual:e,possible:[`always`,`never`,`always-single-line`]})&&lf({root:n,result:r,locationChecker:t.after,checkedRuleName:pf,fix:(t,n)=>{let r=n-J(t),i=t.raws.between;if(i===null)throw Error("`between` must be present");return e.startsWith(`always`)?(t.raws.between=i.slice(0,r)+i.slice(r).replace(/^:\s*/u,`: `),vd(t.prop)&&/^\s*$/u.test(Y(t))&&Nu(t,``),!0):e===`never`&&(t.raws.between=i.slice(0,r)+i.slice(r).replace(/^:\s*/u,`:`),vd(t.prop)&&/^\s*$/u.test(Y(t))&&Nu(t,``),!0)}})}}gf.ruleName=pf,gf.messages=mf,gf.meta=hf;let{utils:{ruleMessages:_f,validateOptions:vf}}=t,yf=`declaration-colon-space-before`,bf=W(yf),xf=_f(bf,{expectedBefore:()=>`Expected single space before ":"`,rejectedBefore:()=>`Unexpected whitespace before ":"`}),Sf={url:G(yf),fixable:!0};function Cf(e){let t=K(`space`,e,xf);return(n,r)=>{vf(r,bf,{actual:e,possible:[`always`,`never`]})&&lf({root:n,result:r,locationChecker:t.before,checkedRuleName:bf,fix:(t,n)=>{let r=n-J(t),i=t.raws.between;if(i===null)throw Error("`between` must be present");return e===`always`?(t.raws.between=i.slice(0,r).replace(/\s*$/u,` `)+i.slice(r),!0):e===`never`&&(t.raws.between=i.slice(0,r).replace(/\s*$/u,``)+i.slice(r),!0)}})}}Cf.ruleName=bf,Cf.messages=xf,Cf.meta=Sf;function wf(e){return!(!e.value||e.value.startsWith(`#{`)||e.value.startsWith("${")||e.value.startsWith("`"))}const Tf=/ *\/(?:\*.*?\*\/(?!\S)|\/.*)/u;let{utils:{report:Ef}}=t;function Df(e){e.root.walkDecls(t=>{let n=Y(t),r,i=(0,U.default)(n);i.walk(n=>{if(n.type!==`function`||!wf(n)||n.value.toLowerCase()===`url`)return;if(pl(e,`ignoreFunctions`,n.value))return!1;let i=n.nodes.map(e=>U.default.stringify(e)),a=(()=>{let e=n.before+i.join(``)+n.after;return e=e.replace(Tf,``),e})();function o(e,t){let r=n.before+i.slice(0,t).join(``)+e.before;return r=r.replace(Tf,``),r.length}let s=[];for(let[e,t]of n.nodes.entries()){if(t.type!==`div`||t.value!==`,`)continue;let n=o(t,e);s.push({commaNode:t,checkIndex:n,nodeIndex:e})}function c(i,a){return o=>{let s=J(t)+i.sourceIndex+i.before.length;Ef({index:s,endIndex:s,message:o,node:t,result:e.result,ruleName:e.checkedRuleName,fix:e.fix?()=>(r=!0,e.fix(i,a,n.nodes)):void 0})}}for(let{commaNode:t,checkIndex:n,nodeIndex:r}of s)e.locationChecker({source:a,index:n,err:c(t,r)})}),r&&Nu(t,i.toString())})}function Of(e){let{div:t,index:n,nodes:r,expectation:i,position:a,symb:o}=e;if(i.startsWith(`always`))return t[a]=o,!0;if(i.startsWith(`never`)){t[a]=``;for(let e=n+1;e<r.length;e+=1){let t=r[e];if(t!==void 0&&t.type!==`comment`){if(t.type===`space`)t.value=``;else break}}return!0}return!1}let{utils:{ruleMessages:kf,validateOptions:Af}}=t,jf=`function-comma-newline-after`,Mf=W(jf),Nf=kf(Mf,{expectedAfter:()=>`Expected newline after ","`,expectedAfterMultiLine:()=>`Expected newline after "," in a multi-line function`,rejectedAfterMultiLine:()=>`Unexpected whitespace after "," in a multi-line function`}),Pf={url:G(jf),fixable:!0};function Ff(e,t,n){let r=K(`newline`,e,Nf);return(i,a)=>{Af(a,Mf,{actual:e,possible:[`always`,`always-multi-line`,`never-multi-line`]},{actual:t,possible:{ignoreFunctions:[_c,gc]},optional:!0})&&Df({root:i,result:a,locationChecker:r.afterOneOnly,checkedRuleName:Mf,ignoreFunctions:t?.ignoreFunctions,fix:(t,r,i)=>Of({div:t,index:r,nodes:i,expectation:e,position:`after`,symb:n.newline||``})})}}Ff.ruleName=Mf,Ff.messages=Nf,Ff.meta=Pf;let{utils:{ruleMessages:If,validateOptions:Lf}}=t,Rf=`function-comma-newline-before`,zf=W(Rf),Bf=If(zf,{expectedBefore:()=>`Expected newline before ","`,expectedBeforeMultiLine:()=>`Expected newline before "," in a multi-line function`,rejectedBeforeMultiLine:()=>`Unexpected whitespace before "," in a multi-line function`}),Vf={url:G(Rf),fixable:!0};function Hf(e,t,n){let r=K(`newline`,e,Bf);return(i,a)=>{Lf(a,zf,{actual:e,possible:[`always`,`always-multi-line`,`never-multi-line`]},{actual:t,possible:{ignoreFunctions:[_c,gc]},optional:!0})&&Df({root:i,result:a,locationChecker:r.beforeAllowingIndentation,checkedRuleName:zf,ignoreFunctions:t?.ignoreFunctions,fix:(t,r,i)=>Of({div:t,index:r,nodes:i,expectation:e,position:`before`,symb:n.newline||``})})}}Hf.ruleName=zf,Hf.messages=Bf,Hf.meta=Vf;let{utils:{ruleMessages:Uf,validateOptions:Wf}}=t,Gf=`function-comma-space-after`,Kf=W(Gf),qf=Uf(Kf,{expectedAfter:()=>`Expected single space after ","`,rejectedAfter:()=>`Unexpected whitespace after ","`,expectedAfterSingleLine:()=>`Expected single space after "," in a single-line function`,rejectedAfterSingleLine:()=>`Unexpected whitespace after "," in a single-line function`}),Jf={url:G(Gf),fixable:!0};function Yf(e,t){let n=K(`space`,e,qf);return(r,i)=>{Wf(i,Kf,{actual:e,possible:[`always`,`never`,`always-single-line`,`never-single-line`]},{actual:t,possible:{ignoreFunctions:[_c,gc]},optional:!0})&&Df({root:r,result:i,locationChecker:n.after,checkedRuleName:Kf,ignoreFunctions:t?.ignoreFunctions,fix:(t,n,r)=>Of({div:t,index:n,nodes:r,expectation:e,position:`after`,symb:` `})})}}Yf.ruleName=Kf,Yf.messages=qf,Yf.meta=Jf;let{utils:{ruleMessages:Xf,validateOptions:Zf}}=t,Qf=`function-comma-space-before`,$f=W(Qf),ep=Xf($f,{expectedBefore:()=>`Expected single space before ","`,rejectedBefore:()=>`Unexpected whitespace before ","`,expectedBeforeSingleLine:()=>`Expected single space before "," in a single-line function`,rejectedBeforeSingleLine:()=>`Unexpected whitespace before "," in a single-line function`}),tp={url:G(Qf),fixable:!0};function np(e,t){let n=K(`space`,e,ep);return(r,i)=>{Zf(i,$f,{actual:e,possible:[`always`,`never`,`always-single-line`,`never-single-line`]},{actual:t,possible:{ignoreFunctions:[_c,gc]},optional:!0})&&Df({root:r,result:i,locationChecker:n.before,checkedRuleName:$f,ignoreFunctions:t?.ignoreFunctions,fix:(t,n,r)=>Of({div:t,index:n,nodes:r,expectation:e,position:`before`,symb:` `})})}}np.ruleName=$f,np.messages=ep,np.meta=tp;let{utils:{report:rp,ruleMessages:ip,validateOptions:ap}}=t,op=`function-max-empty-lines`,sp=W(op),cp=ip(sp,{expected:e=>`Expected no more than ${e} empty ${e===1?`line`:`lines`}`}),lp={url:G(op),fixable:!0};function up(e){if(e.raws.between===null)throw Error("`between` must be present");return e.prop.length+e.raws.between.length-1}function dp(e){let t=e+1;return(n,r)=>{if(!ap(r,sp,{actual:e,possible:mc}))return;let i=RegExp(`(?:\r\n){${t+1},}`,`u`),a=RegExp(`\n{${t+1},}`,`u`),o=`
|
|
65
|
-
`.repeat(t),s=`\r
|
|
66
|
-
|
|
67
|
-
`
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
`);(
|
|
71
|
-
`)))&&i.slice(_+1)!==h&&Jp({message:$p.expected,messageArgs:[l(t-n)],node:e,result:r,ruleName:Qp,fix(){g&&_c(e.raws.before)&&(e.raws.before=e.raws.before.replace(/^[ \t]*(?=\S|$)/u,h)),e.raws.before=om(e.raws.before,h)}});let v=c?t+1:t,y=a.repeat(v);if((nl(e)||q(e))&&Fc(e)&&o&&o.includes(`
|
|
72
|
-
|
|
73
|
-
`)+1)
|
|
74
|
-
`)
|
|
75
|
-
`)
|
|
76
|
-
`)&&(Kp(e)&&e.value.includes("${")||pl(t,`ignore`,`value`)||h(Gp(e),pl(t,`except`,`value`)?n:n+1,e))}function p(e,t){let n=e.selector,r=t;e.params&&(r+=1),h(n,r,e)}function m(e,n){if(pl(t,`ignore`,`param`))return;let r=pl(t,`except`,`param`)||e.name===`nest`||e.name===`at-root`?n:n+1;h(al(e).trim(),r,e)}function h(e,n,i){if(!e.includes(`
|
|
77
|
-
`))return;let o=[],s=0,u=pl(t,`ignore`,`inside-parens`),d=!nl(i)||!!i.params;if((0,qu.default)({source:e,target:`
|
|
78
|
-
`,outsideParens:u},(f,p)=>{let m=/^[ \t]*\)/u.test(e.slice(f.startIndex+1));if(u&&(m||f.insideParens))return;let h=n;if(!u&&f.insideParens){p===1&&d&&--s;let n=f.startIndex;switch(e[f.startIndex-1]===`\r`&&--n,/\([ \t]*(?:\/\*(?:[^*]|\*(?!\/))*\*\/[ \t]*)*$/u.test(e.slice(0,n))&&(s+=1),/\{[ \t]*$/u.test(e.slice(0,n))&&(s+=1),/^[ \t]*\}/u.test(e.slice(f.startIndex+1))&&--s,h+=s,m&&--s,t.indentInsideParens){case`twice`:(!m||c)&&(h+=1);break;case`once-at-root-twice-in-block`:if(i.parent===i.root()){m&&!c&&--h;break}(!m||c)&&(h+=1);break;default:m&&!c&&--h}}let g=/^([ \t]*)\S/u.exec(e.slice(f.startIndex+1));if(!g)return;let _=g[1]||``,v=a.repeat(Math.max(h,0));if(_!==v){let e=f.startIndex+_.length+1;Jp({message:$p.expected,messageArgs:[l(h)],node:i,index:e,endIndex:e,result:r,ruleName:Qp,fix(){o.unshift({expectedIndentation:v,currentIndentation:_,startIndex:f.startIndex})}})}}),o.length>0){if(nl(i))for(let e of o)i.selector=sm(i.selector,e.currentIndentation,e.expectedIndentation,e.startIndex);if(il(i)){let e=i.prop,t=i.raws.between,n=Y(i);if(!_c(t))throw TypeError("The `between` property must be a string");for(let r of o)r.startIndex<e.length+t.length?i.raws.between=sm(t,r.currentIndentation,r.expectedIndentation,r.startIndex-e.length):(n=sm(n,r.currentIndentation,r.expectedIndentation,r.startIndex-e.length-t.length),Nu(i,n))}if(q(i)){let e=i.name,t=i.raws.afterName,n=i.params;if(!_c(t))throw TypeError("The `afterName` property must be a string");for(let r of o)r.startIndex<1+e.length+t.length?i.raws.afterName=sm(t,r.currentIndentation,r.expectedIndentation,r.startIndex-e.length-1):i.params=sm(n,r.currentIndentation,r.expectedIndentation,r.startIndex-e.length-t.length-1)}}}}}function nm(e,t,n){let r=rm(e);if(!r)return 0;if(!e.source)throw Error(`The root node must have a source`);let i=e.source,a=i.baseIndentLevel;if(mc(a)&&Number.isSafeInteger(a))return a;let o=am(e,t,()=>im(r,n));return i.baseIndentLevel=o,o}function rm(e){let t=e.document;if(t)return t;let n=e.root();return n&&n.document}function im(e,t){if(!e.source)throw Error(`The document node must have a source`);let n=e.source,r=n.indentSize;if(mc(r)&&Number.isSafeInteger(r))return r;let i=e.source.input.css.match(/^ *(?=\S)/gmu),a=/* @__PURE__ */ new Map,o=0,s=0;function c(e){if(e){if(o=Math.abs(e-s)||o,o>1){let e=a.get(o);e?a.set(o,e+1):a.set(o,1)}}else o=0;s=e}if(i){for(let e of i)c(e.length);let e=0;for(let[t,n]of a.entries())n>e&&(e=n,r=t)}return r=Number(r)||i&&i[0]&&i[0].length>0||Number(t)||2,n.indentSize=r,r}function am(e,t,n){function r(e){let t=e.match(/\t/gu),r=t?t.length:0,i=e.match(/ /gu);return r+(i?Math.round(i.length/n()):0)}let i;if(!mc(t)||!Number.isSafeInteger(t)){if(!e.source)throw Error(`The root node must have a source`);let t=e.source.input.css;t=t.replace(/^[^\r\n]+/u,t=>{let n=e.raws.codeBefore&&/(?:^|\n)([ \t]*)$/u.exec(e.raws.codeBefore);return n?n[1]+t:``});let n=t.match(/^[ \t]*(?=\S)/gmu);if(n)return Math.min(...n.map(e=>r(e)));i=1}else i=t;let a=[],o=e.raws.codeBefore?.match(/(?:^|\n)([\t ]*)\S/gmu);if(o){let e=o.length-1;for(;e>=0;){let t=o[e];if(bc(t),/^\s*</u.test(t)){let e=r(t);a.push(Array.from({length:e}).fill(` `).join(``));break}--e}}let s=e.raws.after;if(s){let t;if(s.endsWith(`
|
|
79
|
-
`)){let n=e.document;if(n){let r=n.nodes[n.nodes.indexOf(e)+1];t=r?r.raws.codeBefore:n.raws.codeAfter}else{let n=e.parent;if(!n)throw Error(`The root node must have a parent`);let r=n.nodes[n.nodes.indexOf(e)+1];t=r?r.raws.codeBefore:e.raws.codeAfter}}else t=s;t&&a.push(t.match(/^[ \t]*/u)[0])}return a.length>0?Math.max(...a.map(e=>r(e)))+i:i}function om(e,t){return _c(e)?e.replaceAll(/\n[ \t]*(?=\S|$)/gu,`\n${t}`):e}function sm(e,t,n,r){let i=r+1,a=e.slice(0,i),o=e.slice(i+t.length);return a+n+o}tm.ruleName=Qp,tm.messages=$p,tm.meta=em;let{utils:{report:cm,ruleMessages:lm,validateOptions:um}}=t,dm=`linebreaks`,fm=W(dm),pm=lm(fm,{expected:e=>`Expected linebreak to be ${e}`}),mm={url:G(dm),fixable:!0};function hm(e){return(t,n)=>{if(!um(n,fm,{actual:e,possible:[`unix`,`windows`]}))return;let r=e===`windows`;function i(){t.walk(e=>{`selector`in e&&(e.selector=s(e.selector)),`value`in e&&(e.value=s(e.value)),`text`in e&&(e.text=s(e.text)),e.raws.before&&(e.raws.before=s(e.raws.before)),typeof e.raws.after==`string`&&(e.raws.after=s(e.raws.after))}),typeof t.raws.after==`string`&&(t.raws.after=s(t.raws.after))}if(t.source===null)throw Error(`The root node must have a source`);let a=t.source.input.css.split(`
|
|
80
|
-
`);for(let[e,t]of a.entries())if(e<a.length-1&&!t.includes(`\r`)&&(t+=`
|
|
81
|
-
`),o(t)){let n=e+1,r=t.length;c(n,r)}function o(e){let t=/[\r\n]/u.test(e),n=t?/\r/u.test(e):!1;return t&&n!==r}function s(e){if(e){let t=e.replaceAll(`\r`,``);return r&&(t=t.replaceAll(`
|
|
82
|
-
`,`\r
|
|
83
|
-
`)),t}return e}function c(t,r){let a=ss({source:{start:{line:t,column:r,offset:0},input:new cs(``)}});cm({message:pm.expected,messageArgs:[e],node:a,result:n,ruleName:fm,fix:i})}}}hm.ruleName=fm,hm.messages=pm,hm.meta=mm;let{utils:{report:gm,ruleMessages:_m,validateOptions:vm}}=t,ym=`max-empty-lines`,bm=W(ym),xm=_m(bm,{expected:e=>`Expected no more than ${e} empty ${e===1?`line`:`lines`}`}),Sm={url:G(ym),fixable:!0};function Cm(e,t){let n=0,r=-1;return(i,a)=>{if(!vm(a,bm,{actual:e,possible:mc},{actual:t,possible:{ignore:[`comments`]},optional:!0}))return;let o=pl(t,`ignore`,`comments`),s=wm.bind(null,e);function c(){i.walk(e=>{e.type===`comment`&&!o&&(e.raws.left=s(e.raws.left),e.raws.right=s(e.raws.right)),e.raws.before&&(e.raws.before=s(e.raws.before))});let t=i.first&&i.first.raws.before,n=i.raws.after;(i.document&&i.document.constructor.name)===`Document`?n&&(i.raws.after=wm(e===0?1:e,n)):(t&&(i.first.raws.before=s(t,!0)),n&&(i.raws.after=wm(e===0?1:e,n,!0)))}n=0,r=-1;let l=i.toString();(0,qu.default)({source:l,target:/\r\n/u.test(l)?`\r
|
|
56
|
+
https://www.w3ctech.com/topic/2226`));let i=t(...r);return i.postcssPlugin=e,i.postcssVersion=new m().version,i}let i;return Object.defineProperty(r,"postcss",{get(){return i||=r(),i}}),r.process=function(e,t,n){return b([r(n)]).process(e,t)},r},b.stringify=v,b.parse=p,b.fromJSON=c,b.list=d,b.comment=e=>new r(e),b.atRule=e=>new n(e),b.decl=e=>new o(e),b.rule=e=>new _(e),b.root=e=>new g(e),b.document=e=>new s(e),b.CssSyntaxError=a,b.Declaration=o,b.Container=i,b.Processor=m,b.Document=s,b.Comment=r,b.Warning=y,b.AtRule=n,b.Result=h,b.Input=l,b.Rule=_,b.Root=g,b.Node=f,u.registerPostcss(b),t.exports=b,b.default=b})),su=/* @__PURE__ */ h(ou(),1);const cu=su.default.stringify;su.default.fromJSON,su.default.plugin,su.default.parse,su.default.list,su.default.document,su.default.comment,su.default.atRule;const lu=su.default.rule;su.default.decl,su.default.root,su.default.CssSyntaxError,su.default.Declaration,su.default.Container,su.default.Processor;const uu=su.default.Document;su.default.Comment,su.default.Warning,su.default.AtRule,su.default.Result;const du=su.default.Input;su.default.Rule,su.default.Root,su.default.Node;var fu=/* @__PURE__ */ h(xl(),1);function pu(e){return e.type===`root`}function mu(e){return e.type===`rule`}function I(e){return e.type===`atrule`}function hu(e){return e.type===`comment`}function L(e){return e.type===`decl`}function gu(e){return e.type===`document`}function _u(e){return e.type===`function`}function vu(e){return(typeof e==`object`||typeof e==`function`)&&e!==null&&`parse`in e&&typeof e.parse==`function`}function yu(e){return Object.prototype.toString.call(e)===`[object Boolean]`}function bu(e){return typeof e==`function`}function xu(e){return e==null}function Su(e){return Object.prototype.toString.call(e)===`[object Number]`}function Cu(e){return typeof e==`object`&&!!e}function wu(e){return e instanceof RegExp}function Tu(e){return Object.prototype.toString.call(e)===`[object String]`}function Eu(e){i(bu(e),`"${e}" must be a function`)}function Du(e){i(Tu(e),`"${e}" must be a string`)}function Ou(e,t){let n=e.root();return n.source&&n.source.syntax||t&&t.opts&&t.opts.syntax}function ku(e){return!!(`inline`in e&&e.inline||e.raws.inline)}let Au=/* @__PURE__ */ new WeakMap;function ju(e){try{let t=e.parse(`a {}
|
|
57
|
+
// c\fb {}
|
|
58
|
+
`,{from:void 0}),n=!1;return t.walk(e=>{e.type===`rule`&&e.selector===`b`&&(n=!0)}),n}catch{return!1}}function Mu(e){if(!e)return{spells:!1,keeps:!1,answered:!0,tokenizes:!1,endsOnFormFeed:!1};if(!vu(e))return{spells:!0,keeps:!1,answered:!1,tokenizes:!1,endsOnFormFeed:!1};let t=Au.get(e);if(t!==void 0)return t;let n={spells:!0,keeps:!1,answered:!1,tokenizes:!1,endsOnFormFeed:!1};try{let t=e.parse(`a {}
|
|
59
|
+
// comment
|
|
60
|
+
a { b: 'x', // comment
|
|
61
|
+
'y'; }
|
|
62
|
+
`,{from:void 0}),r=!1;t.walk(e=>{(e.type===`rule`||e.type===`decl`)&&(r=!0)}),r&&(n.answered=!0,n.spells=!1,t.walkComments(e=>{ku(e)&&(n.spells=!0)})),t.walkDecls(e=>{let t=e.raws;(t.value&&t.value.raw||e.value).includes(`//`)&&(n.keeps=!0)})}catch{}return n.tokenizes=n.answered&&n.spells&&!n.keeps,n.endsOnFormFeed=n.answered&&n.spells&&ju(e),Au.set(e,n),n}function Nu(e,t){return Fu(Ou(e,t))}function Pu(e,t){return Mu(Ou(e,t))}function Fu(e){return Mu(e).spells}function Iu(e){return Mu(e).tokenizes}function Lu(e){let t=Mu(e);return t.spells&&t.keeps}let Ru=/* @__PURE__ */ new Map;function zu(t){for(let n of t===void 0?[import.meta.url]:[a(t).href,import.meta.url]){let t=Ru.get(n);if(t===void 0){try{t=e(n)(`postcss-scss/lib/scss-tokenize`)}catch{t=null}Ru.set(n,t)}if(t)return t}}const Bu=/['"]/u,Vu=/.\(/u;let Hu=/* @__PURE__ */ new WeakMap;function Uu(e){let t=[];for(;!e.endOfFile();)t.push(e.nextToken({ignoreUnclosed:!0}));return t}function Wu(e,t,n){if(Iu(t)){let t=zu(n);if(!t)return;try{return Uu(t(new du(e),{ignoreErrors:!0}))}catch{}}return Uu((0,fu.default)(new du(e),{ignoreErrors:!0}))}function Gu(e){let t=0,n=0;for(let[r]of e)r===`word`?t+=1:(r===`(`||r===`brackets`)&&(t===0?n+=1:--t);return n}function Ku(e){let t=e;for(;t&&!pu(t);)t=t.parent;return t}function qu(e,t){let n=/* @__PURE__ */ new Map,r=``,i=Cu(t)?t.stringify:void 0;return(typeof i==`function`?i:cu)(e,(e,t,i)=>{t&&i!==`end`&&!n.has(t)&&n.set(t,r.length),r+=e}),{starts:n,text:r}}function Ju(e,t,n){let{starts:r,text:i}=qu(e,t),a=Wu(i,t,n);if(!a)return;let o=[...r].toSorted(([,e],[,t])=>e-t),s=/* @__PURE__ */ new Map,c=0,l;for(let[e,t,n]of a){if(n!==void 0)for(let e=o[c];e&&e[1]<=n;e=o[c])s.set(e[0],l),c+=1;e===`word`?l={under:l,word:t}:(e===`(`||e===`brackets`)&&(l=l?.under)}for(let[e]of o.slice(c))s.set(e,l);return{stacks:s,starts:r,text:i}}function Yu(e,t,n,r,i){let a=Ku(e);if(!a)return[];let o=Hu.get(a),s=o&&o.starts.get(e);if(!o||s===void 0||!o.text.startsWith(t,s)){if(o=Ju(a,r,i),!o)return;Hu.set(a,o)}let c=[];for(let t=o.stacks.get(e);t&&c.length<n;t=t.under)c.unshift(t.word);return c}function Xu(e,t,n,r,i){let a=[],o=t,s=``;for(let t=Gu(o);t>0;t=Gu(o)){let c=Yu(n,e,a.length+t,r,i);if(!c)return;if(c.length<=a.length)break;a=c,s=`${a.join(` `)} `;let l=Wu(`${s}${e}`,r,i);if(!l)return;o=l}return{prefix:s,tokens:o}}function Zu(e,t,n){let r=[];for(let[i,a,o]of e){if(i!==`brackets`||o===void 0||!n.test(a))continue;let e=o-t,s=e+a.length;s>0&&r.push({start:Math.max(e,0),end:s})}return r}function Qu(e,t,n,r,i,a){let o=`${e}${t}`;if(!n.test(t)||!o.includes(`(`))return[];let s=Wu(o,r,i);if(!s)return;let c=a?Xu(o,s,a,r,i):{prefix:``,tokens:s};if(c)return Zu(c.tokens,c.prefix.length+e.length,n)}function $u(e,t,n,r,i){return Qu(e,t,Bu,n,r,i)}function ed(e,t,n,r,i){return Qu(e,t,Vu,n,r,i)}function td(e,t){for(;!e.endOfFile();){let[n,,r]=e.nextToken({ignoreUnclosed:!0});if(n===`:`&&r!==void 0&&r>=t)return r-t}return-1}function nd(e,t,n,r){let i=`${e}${t}`;if(Iu(n)){let t=zu(r);if(!t)return-1;try{return td(t(new du(i),{ignoreErrors:!0}),e.length)}catch{}}let a=td((0,fu.default)(new du(i),{ignoreErrors:!0}),e.length);return a===-1&&e!==``?td((0,fu.default)(new du(t),{ignoreErrors:!0}),0):a}function rd(e){return[` `,`
|
|
63
|
+
`,` `,`\r`,`\f`].includes(e)}function id(e,t){let n=e[t],r=t+1;for(;r<e.length&&e[r]!==n;)r+=e[r]===`\\`?2:1;return r+1}function ad(e,t){if(t<0)return!0;let n=e.charAt(t);return rd(n)||`,()}"'`.includes(n)||n===`/`&&e[t+1]===`*`||n===`\\`&&e[t+1]!==`/`}function od(e,t,n,r){let i=t+3;if(!r.tokenizes||!e.startsWith(`url(`,t)||!ad(e,n)||e[i+1]===`"`||e[i+1]===`'`)return t;let a=0,o=i;for(;o<e.length&&(e[o]===`(`?a+=1:e[o]===`)`&&--a,a!==0);o+=1);let s=Math.min(o+1,e.length);return e.slice(i,s).includes(`{`)||e.slice(i,s).includes(`}`)?t:s}function sd(e,t,n){return e<t?void 0:n}function cd(e,t,n){let r=id(e,t);return t<n?Math.min(r,n):r}function ld(e){let t=(0,fu.default)(new du(e),{ignoreErrors:!0}),n;for(;!t.endOfFile();)n=t.nextToken();return n?.[0]===`comment`}function ud(e,t){let n=e.at(-1);if(n===void 0||Fc.test(n)||e.endsWith(`*/`)&&ld(e))return!1;let r=0;for(;e.at(-2-r)===`\\`;)r+=1;return r%2==1?!1:!(t.tokenizes&&n===`,`)||Pc.test(e)}function dd(e,t){return!t.tokenizes&&ud(e,t)&&!$c.test(e.at(-1))}function fd(e,t){if(e[t]!==`\\`)return{character:e[t],end:t+1};let n=e[t+1];if(n===void 0||Vo.test(n))return{character:void 0,end:t+1};let r=e.slice(t).match(Us);if(!r)return{character:n,end:t+2};let i=Number.parseInt(r[0].slice(1),16);return{character:i>0&&i<=1114111&&(i<55296||i>57343)?String.fromCodePoint(i):`�`,end:t+r[0].length}}function pd(e){let t=0;for(let n of`url`){let{character:r,end:i}=fd(e,t);if(r?.toLowerCase()!==n)return!1;t=i}return t===e.length}function md(e,t,n){let r=e.slice(t).search(n?.endsOnFormFeed?Ns:Ms);return r===-1?e.length:t+r}function hd(e,t,n){return e[t]===`\\`&&e[t+1]===`/`&&e[t+2]===`*`||e[t]===`\\`&&n?.spells&&n.tokenizes&&e.startsWith(`//`,t+1)?{character:void 0,end:t+1}:fd(e,t)}function gd(e,t,n,r){let i=e[t+1]===`/`,a=e.indexOf(`*/`,t+2),o=a===-1?e.length:a+2,s=i?md(e,t,n):o;return r&&(i?r.inline:r.block)&&r.spans.push({start:t,end:s,isInline:i}),s}function _d(e,t,n,r,i){let a=0,o=t+1,s=[];for(;o<e.length;){let t=e.charAt(o);if(t===`\\`){let t=hd(e,o);t.character!==void 0&&s.push({start:o,end:t.end}),o=t.end-1}else if(t===`"`||t===`'`)for(o+=1;o<e.length&&e[o]!==t;)o+=e[o]===`\\`?2:1;else if(t===`/`&&(e[o+1]===`*`||e[o+1]===`/`))o=gd(e,o,n,r)-1;else if(t===`{`)a+=1;else if(t===`}`&&(--a,a===0))return i?.push(...s),o+1;o+=1}}function vd(e,t,n,r,i){if(e[t]===`\\`){let n=hd(e,t);return n.character!==void 0&&i.push({start:t,end:n.end}),n.end}return n.tokenizes&&e[t]===`#`&&e[t+1]===`{`?_d(e,t,n,r,i)??t:t}function yd(e,t,n){let r=t;for(;rd(e.charAt(r));)r+=1;for(;r<e.length;){let t=e.charAt(r);if(t===`)`)return!0;if(t===`\\`){let{end:t}=hd(e,r);r=Bo.test(e.slice(t-2,t))?t-1:t}else if(t===`#`&&e[r+1]===`{`)r=_d(e,r,n)??e.length;else if(rd(t)){for(;rd(e.charAt(r));)r+=1;return r===e.length||e[r]===`)`}else if(jc.test(t))r+=1;else return!1}return!0}function bd(e,t,n,r){return rd(e.charAt(t))||!r.tokenizes&&(n!==`url`||ud(e.slice(0,t-1-n.length),r))}function xd(e,t,n,r){let i=e.slice(t).match(yc)?.[0];if(i!==void 0)return{isQuoted:!0,index:t+i.length-1,comments:[],strings:[],escapes:[]};let a=r.tokenizes&&!yd(e,t,r),o=a||bd(e,t,n,r),s=a&&r.spells,c=[],l=[],u=[],d={block:o,inline:s,spans:c},f=t;for(;f<e.length&&e[f]!==`)`;){let t=vd(e,f,r,d,u);if(t!==f)f=t;else if(o&&(e[f]===`"`||e[f]===`'`)){let t=id(e,f);t>e.length?f+=1:(l.push({start:f,end:t}),f=t)}else if(o&&e[f]===`/`&&e[f+1]===`*`){let t=e.indexOf(`*/`,f+2),n=t===-1?e.length:t+2;c.push({start:f,end:n,isInline:!1}),f=n}else if(s&&e[f]===`/`&&e[f+1]===`/`){let t=md(e,f,r);c.push({start:f,end:t,isInline:!0}),f=t}else f+=1}return{isQuoted:!1,index:Math.min(f,e.length),comments:c,strings:l,escapes:u}}function Sd(e,t,n){let r=e.charAt(t.index);(n.endsOnFormFeed?Ns:Ms).test(r)&&(t.state=`code`,t.wordStart=t.index+1,t.previousStep=t.index)}function Cd(e,t){e[t.index]===`*`&&e[t.index+1]===`/`&&(t.state=`code`,t.index+=1,t.wordStart=t.index+1)}function wd(e,t){let n=e[t.index];t.index===t.urlTokenEnd-1?(t.state=`code`,t.wordStart=t.index+1,t.previousStep=t.index):n===`\\`&&t.index+1!==t.urlTokenEnd-1?t.index+=1:n===t.openingQuote&&(t.state=`code`,t.wordStart=t.index+1)}function Td(e,t,n){let r=e.charAt(t.index),i=e[t.index+1],a=t.index;if(r===`u`&&(t.urlTokenEnd=Math.max(t.urlTokenEnd,od(e,t.index,t.previousStep,n))),r===`\\`)t.index=hd(e,t.index,sd(t.index,t.urlTokenEnd,n)).end-1;else if(r===`"`||r===`'`)t.state=`string`,t.openingQuote=r;else if(r===`/`&&i===`*`)t.state=`blockComment`,t.index+=1;else if(r===`/`&&i===`/`)t.state=`inlineComment`,t.index+=1;else if(r===`(`&&pd(e.slice(t.wordStart,t.index))&&!dd(e.slice(0,t.wordStart),n)){let r=xd(e,t.index+1,e.slice(t.wordStart,t.index),n),i=r.comments.at(-1);r.isQuoted||(t.index=r.index),!r.isQuoted&&i?.end===e.length&&(t.state=i.isInline?`inlineComment`:`blockComment`),t.wordStart=t.index+1}else r===`}`||Es.test(r)||(t.wordStart=t.index+1);t.previousStep=a}const Ed={blockComment:Cd,code:Td,inlineComment:Sd,string:wd},Dd={spells:!0,keeps:!1,answered:!1,tokenizes:!1,endsOnFormFeed:!1};function Od(e,t){let n={state:`code`,index:0,openingQuote:``,wordStart:0,previousStep:-1,urlTokenEnd:0};for(;n.index<e.length;)Ed[n.state](e,n,t),n.index+=1;return n.state===`inlineComment`}function kd(e,t=Dd){return t.spells?Od(e.trimEnd(),t):!1}function Ad(e){for(let t of e)if(!rd(t))return!1;return!0}const jd=/* @__PURE__ */ new Set([``,`{`,`}`,`;`]),Md={names:[{name:`import`,anyCase:!0}]};function Nd(e,t,n){let r=t+1;for(let i of n.name){let{character:a,end:o}=fd(e,r);if((n.anyCase?a?.toLowerCase():a)!==i)return t;r=o}let i=e[r];return i===`\\`||i!==void 0&&Es.test(i)?t:r}function Pd(e,t,n,r){if(!jd.has(n))return t;for(let n of r.names){let i=Nd(e,t,n);if(i!==t)return i+(r.skipGroup?.(e.slice(i),n.name)??0)}return t}function Fd(e,t){let n=t;for(let t=0;t<3;t+=1)n=fd(e,n).end;return e[n]===`(`&&pd(e.slice(t,n))?n+1:t}function Id(e,t,n,r,i,a,o,s){if(n||dd(e.slice(0,t),r))return t;let c=Fd(e,t);if(c===t)return t;let l=xd(e,c,e.slice(t,c-1),r);if(l.isQuoted){let t=id(e,l.index);return o.push({start:l.index,end:Math.min(t,e.length)}),Bd(e,l.index,t,a),t}let[u,d]=Ld(e,c,l);return i.push(...l.comments),o.push(...l.strings),s.push(...l.escapes),zd(e,u,d,a),l.index+1}function Ld(e,t,n){let r=t;for(let t of n.comments){if(!Ad(e.slice(r,t.start)))return[r,t.start];r=t.end}return[r,n.index]}function Rd(e){let t=e.match(F)?.[0].length??0;if(t===0)return 0;let n=e.length-t,r=e.slice(0,n),i=r.match(Wc)?.[0]??(r.endsWith(`\\`)?`\\`:void 0);if(i===void 0)return t;let a=n-i.length,o=0;for(;r[a-o]===`\\`;)o+=1;return o%2==0?t:t-(fd(e,a).end-n)}function zd(e,t,n,r){let i=e.slice(t,n),a=t+(i.match(N)?.[0].length??0),o=n-Rd(i);a<o&&!P.test(e.slice(a,o))&&r.push({start:a,end:o})}function Bd(e,t,n,r){n<=e.length&&!P.test(e.slice(t,n))&&r.push({start:t,end:n})}function Vd(e,t,n){t.character!==void 0&&n.push({start:e,end:t.end})}const Hd={spells:!0,tokenizes:!1,endsOnFormFeed:!1},Ud={spells:!1,tokenizes:!1,endsOnFormFeed:!1};function Wd(e,t,n){let r=[],i=[],a=[],o=[],s=0,c=!1,l=!1,u=``,d=-1,f=0;for(;s<e.length;){let p=e.charAt(s),m=e[s+1],h=s;if(p===`\\`){let n=Id(e,s,c,t,r,i,a,o);if(n===s){let n=hd(e,s,sd(s,f,t));Vd(s,n,o),s=n.end,c=n.character!==void 0}else h=n-1,s=n,c=!1;l=!1,u=p}else if(p===`"`||p===`'`){let t=cd(e,s,f);a.push({start:s,end:Math.min(t,e.length)}),l&&Bd(e,s,t,i),s=t,c=!1,l=!1,u=p}else if(p===`u`||p===`U`){f=Math.max(f,od(e,s,d,t));let n=Id(e,s,c,t,r,i,a,o);n===s?(s+=1,c=!0):(h=n-1,s=n,c=!1),l=!1,u=p}else if(p===`@`){let t=Pd(e,s,u,n);l=t!==s,s=l?t:s+1,c=!1,u=p}else if(p===`/`&&m===`*`){let t=e.indexOf(`*/`,s+2),n=t===-1?e.length:t+2;r.push({start:s,end:n,isInline:!1}),s=n,c=!1}else if(p===`/`&&m===`/`&&t.spells){let n=md(e,s,t);r.push({start:s,end:n,isInline:!0}),s=n,c=!1}else c=p===`}`||Es.test(p),s+=1,nl.test(p)||(l=!1,u=p);d=h}return{comments:r,addresses:i,strings:a,escapes:o}}function Gd(e,t=Hd){return Wd(e,t,Md).comments}function Kd(e,t=Hd,n=Md){return Wd(e,t,n).addresses}function qd(e,t=Hd){return Wd(e,t,Md).strings}function Jd(e,t=Hd){return Wd(e,t,Md).escapes}function Yd(e,t){return t.find(({start:t,end:n})=>e>=t&&e<n)}function Xd(e,t){return Yd(e.sourceIndex,t)}function Zd(e,t){return Gd(e,t).filter(({isInline:e})=>e).map(({start:e,end:t})=>({start:e,end:t}))}function Qd(e,t=Zd(e)){let n=``,r=0;for(let{start:i,end:a}of t){let t=e.slice(i+2,a).replaceAll(qo,`*//*`);n+=`${e.slice(r,i)}/*${t}*/`,r=a}return`${n}${e.slice(r)}`}const $d={spells:!0,tokenizes:!0,endsOnFormFeed:!0};function ef(e,t){let n=[],r=0,i=0;for(;r<e.length&&i<t.length;){if(e[r]===t[i]){r+=1,i+=1;continue}if(i===0||e[r]!==`*`||t[i]!==`/`||t[i-1]!==`/`)return null;let a=md(t,i,$d),o=md(e,r,$d),s=a===t.length||o===e.length;if(n.push({start:i-1,end:s?t.length:a}),s)break;i=a,r=o}return Qd(t,n)===e?n:null}function tf(e){let t=[];for(let n of e.matchAll($o))n[0].startsWith(`/*`)&&t.push({start:n.index,end:n.index+n[0].length});return t}function nf(e,t){let n=Ns.exec(e.slice(t));return n?t+n.index:e.length}function rf(e,t){let n=[];if(!t||t===e)return n;let r=tf(e),i=0,a=0,o=0;for(;i<e.length&&a<t.length;){if(e[i]===t[a]){i+=1,a+=1;continue}let s=e.lastIndexOf(`/*`,i),c=nf(e,i),l=a-(i-s),u=nf(t,a),d=t.slice(l,u),f=r.findIndex(e=>s<=e.start&&e.end<=c),p=r.findLastIndex(e=>s<=e.start&&e.end<=c);o+=c-s-d.length;let m=r[p];f!==-1&&m&&n.push({value:d,firstOrdinal:f,lastOrdinal:p,tailLength:c-m.end,startIndex:s,endIndex:c,delta:o}),i=c,a=u}return n}function af(e,t,n){return!kd(e,n)&&kd(t,n)}function of(e){return e.startsWith(`--`)}function sf(e){return L(e)?e.raws.value:mu(e)?e.raws.selector:e.raws.params}function cf(e){return L(e)?e.value:mu(e)?e.selector:e.params}function lf(e){let t=sf(e),n=cf(e);return!t||t.value!==n?n:typeof t.scss==`string`?t.scss:t.raw}const uf={spells:!0,tokenizes:!0,endsOnFormFeed:!0};function df(e,t){let n=sf(e);if(n)typeof n.scss==`string`?(n.scss=t,n.raw=Qd(t,Zd(t,uf))):n.raw=t;else if(L(e)){let n=of(e.prop)?t:t.replace(F,``);n!==t&&(e.raws.value={raw:t,value:n}),e.value=n}else mu(e)?e.selector=t:e.params=t}function R(e){return`nodes`in e&&e.nodes!==void 0}function ff(e){let t=e.last;return!t||e.raws.semicolon||e.raws.after!==``?!1:L(t)?of(t.prop):I(t)&&!R(t)&&!t.raws.important}function pf(e,t){Kc.test(e.source?.input.css??``)&&e.walk(e=>{R(e)?L(e)||hf(t,e):L(e)?e.parent&&gf(t,e,e.parent):e.parent&&mf(t,e,e.parent)})}function mf(e,t,n){if(n.last!==t||!ff(n))return;let r=e.read(t),i=_f(r);i!==``&&(e.write(t,r.slice(0,r.length-i.length)),t.raws.between=`${i}${t.raws.between??``}`)}function hf(e,t){let n=e.read(t),r=_f(n);r!==``&&(e.write(t,n.slice(0,n.length-r.length)),t.raws.between=`${r}${t.raws.between??``}`)}function gf(e,t,n){if(n.last!==t||n.raws.semicolon||t.important||of(t.prop))return;let r=e.read(t),i=_f(r);i!==``&&(e.write(t,r.slice(0,r.length-i.length)),n.raws.after=`${i}${n.raws.after??``}`)}function _f(e){let t=e.match(F)[0];return t!==``&&Gc.test(e.slice(0,e.length-t.length))?t:``}function vf(e,t){if(t.length===0)return e;let n=tf(e),r=``,i=0;for(let a of t){let t=n[a.firstOrdinal],o=n[a.lastOrdinal];if(!t||!o)break;r+=e.slice(i,t.start)+a.value,i=o.end+a.tailLength}return r+e.slice(i)}function z(e,t=Gd(e)){if(t.length===0)return e;let n=[],r=0;for(let{start:i,end:a}of t.toSorted((e,t)=>e.start-t.start))a<=r||(i>r&&n.push(e.slice(r,i)),n.push(` `.repeat(a-Math.max(i,r))),r=a);return n.push(e.slice(r)),n.join(``)}function yf(e,t=Gd(e)){let n=new Set(t.map(({start:e})=>e)),r=null;for(let t=e.indexOf(`//`);t!==-1;t=e.indexOf(`//`,t+1))n.has(t)||n.has(t+1)||(r??=e.split(``),r[t+1]=`?`);return r?r.join(``):e}function bf(e,t,n=!1){if(t.length===0)return e;let r=[],i=0;for(let{start:a,end:o}of t){let t=e.slice(a,o),s=t.length>2?t.match(F)[0]:``,c=n||P.test(s)?s:``;r.push(e.slice(i,a),`x`.repeat(t.length-c.length),c),i=o}return r.push(e.slice(i)),r.join(``)}function xf(e,t,n){let r=t.find(({start:e,end:t})=>e<n&&t>n);if(!r)return 0;let i=e.slice(r.start,r.end),a=i.length>2?i.match(F)[0]:``,o=P.test(a)?a.length:0;return Math.max(0,r.end-o-n)}function Sf(e,t,n){return t.some(({start:t,end:r})=>t<n&&r>=n&&Wc.test(e.slice(t,n)))}function Cf(e,t,n){let r=t.find(({start:e,end:t})=>e<n&&t>n);if(!r)return 0;let i=e.slice(r.start,r.end),a=i.length>2?i.match(F)[0]:``;return a&&!P.test(a)&&r.end-a.length<=n?r.end-n:0}const wf={spells:!1,tokenizes:!1,endsOnFormFeed:!1};function Tf(e,t){let n=[],r=0;for(let{start:i,end:a}of t)a<=r||(n.push(e.slice(r,Math.max(i,r)),`?`.repeat(a-Math.max(i,r))),r=a);return n.push(e.slice(r)),n.join(``)}function Ef(e,t){if(!e.includes(`"`)&&!e.includes(`'`))return e;let n=z(e,t),r=Kd(n,wf).flatMap(({start:e,end:t})=>[...n.slice(e,t).matchAll(rs)].map(({index:t})=>({start:e+t,end:e+t+1})));return Tf(e,[...qd(n,wf),...r].toSorted((e,t)=>e.start-t.start))}function Df(e){let t=0;for(let[n]of e.matchAll(os))t+=n===`(`?1:-1;return t===0}function Of(e,t,n,r){if(!t.includes(`url`))return e;let i=ed(``,t,Ou(n,r),n.source?.input.file,n)??[],a=[],o=0;for(let{start:t,end:n}of i){let r=e.slice(t,n);if(Df(r))continue;let i=r.endsWith(`)`);a.push(e.slice(o,t+1),r.slice(1,i?-1:void 0).replaceAll(ss,`?`)),o=i?n-1:n}return a.push(e.slice(o)),a.join(``)}function kf(e,t,n){let r=Pu(t,n),i=Gd(e,r),a=Jd(e,r);return{searchString:yf(Of(Ef(bf(z(e,i),a),[]),e,t,n),[]),runString:bf(e,a,!0),commentSpans:i}}function Af(e,t){let n=0;for(let r of t){if(r.endIndex>e)break;n=r.delta}return e-n}function jf(e){return hu(e)?ku(e)?`//`:``:L(e)?lf(e)+(e.raws.important||``):I(e)?R(e)?``:lf(e)+(e.raws.between||``):``}function Mf(e,t,n){let r=jf(e),i=Pu(e,t);return kd(n===void 0?r:`${r}${n};`,i)}function Nf(e){return[...e.matchAll(ts)].map(({0:e,index:t})=>({start:t,end:t+e.length}))}function Pf(e,t){return t.find(({start:t,end:n})=>e.sourceIndex<n&&e.sourceEndIndex>t)}function Ff(e){return!Hs.test(e.name)}function If(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}function Lf(e){return!!(e.startsWith(`$`)||e.includes(`.$`))}function Rf(e){return!Lf(e.prop)}function zf(e){return!(!e.value||e.value.startsWith(`#{`)||e.value.startsWith("${")||e.value.startsWith("`"))}function Bf(e){return sc.test(e)}function Vf(e){return wc.test(e)}function Hf(e){return Mc.test(e)}function Uf(e){return zc.test(e)}function Wf(e){return!!(Bf(e)||Hf(e)||Uf(e)||Vf(e))}function Gf(e){return!(Lf(e)||Wf(e))}function Kf(e){return e.replaceAll(es,e=>e.startsWith(`\\`)||e===`//`?e:e.startsWith(`/*`)?` `.repeat(e.length):e[0]+` `.repeat(e.length-2)+e[0])}function qf(e){return Jf(Kf(e))}function Jf(e){return!(Wf(e)||e.endsWith(`)`)&&!e.includes(`:`)||e.includes(`<%`)||e.includes(`%>`)||e.includes(`//`))}function Yf(e){return!(e.type!==`rule`||!qf(e.selector))}function Xf(e){let t=e;return Zs.test(e.charAt(0))&&(t=t.slice(1)),!(t.startsWith(`$`)||Wf(t)||bs.test(e))}let B={accepts(e,t){if(e.raws.styledSyntaxRangeStart!==void 0)return!1;if(t.stylelint?.config?.customSyntax===void 0)return!0;let n=Pu(e,t);return!n.answered||!n.spells},restore(e){pf(e,B)},embedding:()=>({indent:``,multiline:!1}),hostLineEdges(e){if(e.source?.inline||typeof e.raws.codeBefore!=`string`||e.source?.inline)return{opens:!1,closes:!1};let t=e.source?.input.css;return typeof t==`string`?{opens:!1,closes:!Vo.test(t)}:{opens:!1,closes:!1}},valueEmbedsHostCode:()=>!1,hostCodeSpans:()=>[],isStandardAtRule:Ff,isStandardRule:Yf,isStandardDeclaration:Rf,isStandardProperty:Gf,isStandardValue:Xf,isStandardSelector:qf,isStandardFunction:zf,isStandardComment:()=>!0,isStandardCombinator:If,read:lf,write:df,inlineComments:Pu,colonTokenIndex:(e,t,n,r)=>nd(e,t,Ou(n,r),n.source?.input.file),addressTokenSpans:(e,t,n,r)=>$u(e,t,Ou(n,r),n.source?.input.file,n),commentSpans:(e,t,n)=>Gd(e,Pu(t,n)),endsWithInlineComment:kd,movesEndIntoInlineComment:af,writesIntoInlineComment:Mf,searchCopy:kf,printedComments(e,t,n){let r=sf(e),i=r&&typeof r.scss==`string`?{rewritten:r.raw,spelled:r.scss}:void 0,a=i?ef(i.rewritten,i.spelled)?.map(({start:e,end:t})=>({start:e,end:t,isInline:!0})):null,{endsOnFormFeed:o,tokenizes:s}=Pu(e,n);return a?[...a,...Gd(z(t,a),{spells:s,tokenizes:s,endsOnFormFeed:o})].toSorted((e,t)=>e.start-t.start):Gd(t,{spells:t.includes(`//`)&&(i!==void 0||s||Lu(Ou(e,n))),tokenizes:s,endsOnFormFeed:o})},requiresTrailingSemicolon:()=>!1,closingSemicolonIsCommentText:()=>!1,commentTextHead:()=>null,inlineCommentCode:()=>null,readsRuleParams:()=>!1,atRuleVariableValue:()=>null,spellsOwnArithmetic:Nu,readsSlashAsOperator:()=>!1,readsNumberWithExponent:()=>!0,readsUnitAsIdentifier:()=>!0,readsUpperCaseAtRuleName:()=>!0,readsBackslashesAsWritten:()=>!0,readsQuoteInsideAddressAsString:()=>!1,addressAtRules:()=>Md,readsWhitespaceBehindAtRuleName:()=>!1,interpolationSpans:Nf,selectorCopies(e){let t=e.raws.selector,n=t?t.raw:e.selector,r;function i(){return r??=rf(n,t&&t.scss),r}return{selector:n,get comments(){return i()},toSourceIndex:e=>Af(e,i()),sourceSpelling(e,n){return!t||typeof t.scss!=`string`?e:t.scss.slice(Af(n,i()),Af(n+e.length,i()))},write(n){t?(t.raw=n,typeof t.scss==`string`&&(t.scss=vf(n,i()))):e.selector=n}}}};function Zf(e,t){let n=e;for(let e of t.toSorted((e,t)=>t.start-e.start))n=n.slice(0,e.start)+e.text+n.slice(e.end);return n}function Qf(e,t){let n=e.find(({start:e,end:n})=>e===t.start&&n===t.end);n?n.text+=t.text:e.push(t)}function $f(e){return`@${e.name}${e.raws.afterName??``}`}function ep(e){return $f(e).length}function tp(e){let t=e.raws,n=t.prop,r=``,i=[Cu(n)&&`prefix`in n&&n.prefix,Cu(n)&&`raw`in n&&n.raw||e.prop,Cu(n)&&`suffix`in n&&n.suffix,t.between||`:`,t.value&&`prefix`in t.value&&t.value.prefix];for(let e of i)Tu(e)&&(r+=e);return r}function V(e){return tp(e).length}function np(e,t){return t.toString().slice(0,V(t))+e.read(t)}function rp(e,t){let n=t.important?t.raws.important||` !important`:``;return np(e,t)+n}const ip=/^.+\.[-\w]+\(/u,ap=/^.+\.\$/u;function op(e){return!(!Ff(e)||!e.nodes&&e.params===``)}function sp(e){return!ku(e)}function cp(e){if(!Rf(e))return!1;let t=e.parent;return!(t&&mu(t)&&t.selector&&t.selector.at(-1)===`:`&&t.selector.slice(0,2)!==`--`)}function lp(e){return!(!Xf(e)||ap.test(e)||ip.test(e))}function up(e){return dp(Kf(e))}function dp(e){return!(!Jf(e)||e.startsWith(`%`)||e.endsWith(`:`))}function fp(e){return e.type===`rule`&&dp(Kf(e.selector))}const pp=/:extend(?:\(.*?\))?/u,mp=/:extend\(.+\)/iu,hp=/^[\w-]+$/u,gp=/\swhen\s*(?:not\s*)?\(/u,_p=/^[#.](?:[\w-]|\\(?:[\dA-Fa-f]{1,6} ?|[^\dA-Fa-f]))+\s*\(/u,vp=/^(?:less|css|multiple|once|inline|reference|optional)/u,yp=/^[^);]+\)/u,bp=/^\s/u,xp=/^[\t\n\r ]$/u,Sp=/\(@.*\)$/u,Cp=/\.[\w-]+\(.*\).+/u,wp=/^(?:[\w-]+|(["'])[^"']*\1|\[[^[\]]*\])$/u,Tp=/^[\w-]+\(/u;function Ep(e,t,n){let r=t;for(;r<e.length;){let t=n.get(r);if(t!==void 0)r=t;else if(xp.test(e.charAt(r)))r+=1;else break}return r}function Dp(e,t,n){let r=Ep(e,t,n);for(let t=e.slice(r).match(vp)?.[0];t&&(r=Ep(e,r+t.length,n),e[r]===`,`);t=e.slice(r).match(vp)?.[0])r=Ep(e,r+1,n);return e[r]===`)`?r+1:void 0}function Op(e,t){if(!bp.test(e))return 0;let n=new Map(Gd(e).map(e=>[e.start,e.end])),r=Ep(e,0,n);if(e[r]!==`(`)return 0;if(t===`plugin`){let t=Ep(e,r+1,n),i=e.slice(t).match(yp)?.[0];return i?t+i.length:0}return Dp(e,r+1,n)??0}function kp(e){let t=``,n=0;for(let r of Gd(e))t+=e.slice(n,r.start),n=r.end;return t+e.slice(n)}function Ap(e,t,n){let r=new Map(Gd(e).map(e=>[e.start,e.end])),i=0,a=0;for(;a<n&&i<e.length;){let n=r.get(i);if(n!==void 0)i=n;else if(e[i]===t[a])i+=1,a+=1;else return``}return a===n?e.slice(0,i):``}function jp(e,t){if(!(`variable`in e&&e.variable))return e;let n=lf(e),r=kp(n),i=kp(typeof e.value==`string`?e.value:``),a=r.endsWith(i)?Ap(n,r,r.length-i.length):``;return e.value=t.startsWith(a)?t.slice(a.length):t,e}function Mp(e){if(`variable`in e&&e.variable||!e.nodes&&e.params.startsWith(`:`))return{text:lf(e),index:ep(e),write(t){jp(e,t),df(e,t)}};let t=e.name.indexOf(`:`);if(e.nodes||t===-1)return null;let n=e.name.slice(t+1),r=e.raws.afterName??``;return{index:t+2,text:n+r+lf(e),write(i,a){let o=a.filter(e=>e.end<=n.length).reduce((e,t)=>e+t.text.length-(t.end-t.start),n.length);e.name=e.name.slice(0,t+1)+i.slice(0,o),df(e,i.slice(o+r.length))}}}function Np(e){let t=e?e.last:void 0;for(;t&&t.type===`comment`;)t=t.prev();return t??null}function Pp(e){return`mixin`in e&&e.mixin?!1:!e.nodes&&e.raws.afterName===``&&e.params.startsWith(`()`)}function Fp(e){return Pp(e)&&hp.test(e.name)}function Ip(e,t){let n=lf(e);return z(n,Gd(n,Pu(e,t))).replace(N,``).replace(F,``)}function Lp(e){let t=e.match(Tp)?.[0];if(!t||!e.endsWith(`)`))return!1;let n=new Map(qd(e).map(e=>[e.start,e.end])),r=0,i=t.length,a=e.length-1;for(;i<a;){let t=n.get(i);if(t!==void 0)i=t;else{if(e[i]===`(`)r+=1;else if(e[i]===`)`){if(r===0)return!1;--r}i+=1}}return r===0}function Rp(e,t){if(L(e)){if(!of(e.prop))return!0;let n=Ip(e,t);return wp.test(n)||Lp(n)}return I(e)&&(!!e.mixin||Fp(e))}function zp(e,t){let n=e.parent;return!n||!(L(e)||I(e))||Np(n)===e&&!n.raws.semicolon?!1:Pu(e,t).keeps&&Mf(e,t,``)}function Bp(e,t){return zp(e,t)&&Rp(e,t)}function Vp(e,t){if(!hu(e))return zp(e,t);let n=e.raws.before??``;return Hp(e,`before`,t)===n&&!Ms.test(`${e.raws.left??``}${e.text}${e.raws.right??``}`)}function Hp(e,t,n){let r=t===`before`?e.prev():e.last;if(!r||!Vp(r,n))return null;let i=e.raws[t];if(typeof i!=`string`)return null;let a=i.search(Ms);return a===-1?i:i.slice(0,a)}function Up(e,t){return e.toString(Ou(e,t))}let Wp=/* @__PURE__ */ new WeakSet;function Gp(e,t){return!L(e)&&(!I(e)||R(e))?!1:Np(t)!==e||!!t.raws.semicolon}function Kp(e,t,n){return`${e.raws.before??``}${Up(e,n)}${Gp(e,t)?`;`:``}`}function qp(e,t,n){let r=[];for(let i=e.next();i;i=i.next()){let e=Kp(i,t,n);if(i===t.last&&ff(t)&&(e=e.replace(F,``)),typeof i.raws.before!=`string`||Ms.test(e))break;r.push(i)}return r}function Jp(e,t,n,r){let i=Up(n,r),a=t.map(e=>Kp(e,n,r)).join(``),o=t.at(-1)?.next(),{after:s,semicolon:c}=n.raws,l=o?.raws.before,u=n.index(e);for(let e of t)e.remove();o?o.raws.before=a+(l??``):n.raws.after=a+(s??``),Np(n)===e&&(n.raws.semicolon=!0),Up(n,r)!==i&&(n.insertAfter(u,t),s===void 0?delete n.raws.after:n.raws.after=s,c===void 0?delete n.raws.semicolon:n.raws.semicolon=c,o&&(l===void 0?delete o.raws.before:o.raws.before=l))}function Yp(e,t){if(Wp.has(e))return;Wp.add(e);let n=[e];e.walk(e=>{`nodes`in e&&e.nodes&&n.push(e)});for(let e of n)for(let n of e.nodes??[]){if(!Bp(n,t))continue;let r=qp(n,e,t);r.some(e=>!hu(e))&&Jp(n,r,e,t)}}function Xp(e){return`variable`in e&&e.variable?!0:`mixin`in e&&e.mixin?!1:e.nodes?e.params===`:`:e.params.startsWith(`:`)||e.name.includes(`:`)}function Zp(e){return!(!op(e)||`mixin`in e&&e.mixin||Xp(e)||Pp(e))}function Qp(e){if(e.type!==`rule`)return!1;let t=Kf(e.selector);return`extend`in e&&e.extend&&mp.test(t)?!1:em(t)}function $p(e){return em(Kf(e))}function em(e){return!(!dp(e)||pp.test(e)||Cp.test(e)||Sp.test(e)||gp.test(e))}function tm(e){if(!cp(e))return!1;let t=e.prop,n=e.parent;return!(t[0]===`@`&&t[1]!==`{`||n&&n.type===`atrule`&&n.raws.afterName===`:`||n&&mu(n)&&n.selector&&n.selector.startsWith(`#`)&&n.selector.endsWith(`()`)||t===`&`)}function nm(e){return!(!Gf(e)||e.startsWith(`@`)||e.endsWith(`+`)||e.endsWith(`+_`))}function rm(e){return!(!lp(e)||(Zs.test(e.charAt(0))?e.slice(1):e).startsWith(`@`))}function im(e){if(!ku(e))return null;let t=`${e.raws.left??``}${e.text}`,n=t.search(Ms);if(n===-1)return null;let r=` `.repeat(n)+z(t.slice(n));return rl.test(r)?null:r}const am=/* @__PURE__ */ new Set([`import`,`plugin`]);function om(e){return am.has(e.name.toLowerCase())&&!ic.test(e.raws.afterName??``)}let sm=/* @__PURE__ */ new WeakMap;function cm(e){if(!vu(e))return!1;let t=sm.get(e);if(t!==void 0)return t;let n=!1;try{e.parse(`a { @v: pink; }`,{from:void 0}).walkAtRules(e=>(n=!!(`variable`in e&&e.variable),!1))}catch{}return sm.set(e,n),n}function lm(e){return!e.mixin&&!Fp(e)}function um(e,t){if(e.important&&of(e.prop))return!1;let n=lf(e);return rl.test(z(n,Gd(n,Pu(e,t))))}function dm(e){for(let t=e.next();t;t=t.next())if(hu(t)&&ku(t))return!0;return!1}function fm(e,t){return R(e)||!(L(e)?!of(e.prop)||um(e,t)||dm(e):I(e)&&(lm(e)||dm(e)))?!1:cm(Ou(e,t))}function pm(e){if(R(e))return!0;let t=e.parent;return!t||t.raws.semicolon?!1:Np(t)===e}let mm=/* @__PURE__ */ new WeakSet;function hm(e,t){if(mm.has(e))return;mm.add(e);let n=e.source?.input.css;if(n===void 0)return;let r=e.source?.start?.offset??0;e.walkAtRules(e=>{let i=e.raws.important,a=e.raws.between??``,o=e.source?.start?.offset,{parent:s}=e;if(typeof i!=`string`||R(e)||o===void 0||!s)return;let c=a===``&&pu(s)&&pm(e),l=c?s.raws.after??``:a;if(l===``)return;let u=Up(e,t),d=u.slice(0,u.length-a.length-i.length),f=n.slice(o-r,o-r+d.length+l.length+i.length);for(let t=l.length;t>=0;--t){if(d+l.slice(0,t)+i+l.slice(t)!==f)continue;let n=l.slice(t);if(e.raws.between=l.slice(0,t),c){s.raws.after=n;return}let r=s.last===e&&!s.raws.semicolon&&s.raws.after===``?n.slice(n.replace(F,``).length):``;e.raws.important=i+n.slice(0,n.length-r.length),r&&(s.raws.after=r);return}})}const gm={names:[{name:`import`,anyCase:!0},{name:`plugin`,anyCase:!1}],skipGroup:Op};let _m={...B,namespace:`less`,restore(e,t){hm(e,t),Yp(e,t),pf(e,_m)},isStandardAtRule:Zp,isStandardRule:Qp,isStandardSelector:$p,isStandardDeclaration:tm,isStandardProperty:nm,isStandardValue:rm,isStandardComment:sp,requiresTrailingSemicolon:fm,closingSemicolonIsCommentText:Bp,commentTextHead:Hp,inlineCommentCode:im,readsRuleParams:e=>_p.test(e.selector),atRuleVariableValue:Mp,readsSlashAsOperator:()=>!1,readsNumberWithExponent:()=>!1,readsUnitAsIdentifier:()=>!1,readsUpperCaseAtRuleName:()=>!1,readsQuoteInsideAddressAsString:()=>!1,addressAtRules:()=>gm,readsWhitespaceBehindAtRuleName:om,write(e,t){I(e)&&jp(e,t),B.write(e,t)},accepts(e,t){if(e.raws.styledSyntaxRangeStart!==void 0)return!1;if(t.stylelint?.config?.customSyntax===void 0)return!0;let n=Pu(e,t);return!n.spells||n.keeps}};const vm=/* @__PURE__ */ new Set([`env`,`var`]);function ym(e){return e?e.type===`function`?!vm.has(e.value.toLowerCase()):e.type===`word`&&Lf(Zs.test(e.value.charAt(0))?e.value.slice(1):e.value):!1}function bm(e,t){return ym(e)||ym(t)}function xm(e){if(R(e))return!1;let t=[];for(let n=e.next();n;n=n.next()){if(!hu(n))return!1;t.push(n)}return t.length===0?!1:L(e)?of(e.prop):I(e)&&t.some(e=>!ku(e))}const Sm={names:[{name:`import`,anyCase:!0},{name:`use`,anyCase:!1},{name:`forward`,anyCase:!1}]};let Cm={...B,namespace:`scss`,restore(e){pf(e,Cm)},accepts(e,t){if(e.raws.styledSyntaxRangeStart!==void 0)return!1;if(t.stylelint?.config?.customSyntax===void 0)return!0;let n=Pu(e,t);return!n.spells||!n.keeps},isStandardAtRule:op,isStandardRule:fp,isStandardDeclaration:cp,isStandardValue:lp,isStandardSelector:up,isStandardComment:sp,readsSlashAsOperator:bm,readsQuoteInsideAddressAsString:()=>!0,addressAtRules:()=>Sm,requiresTrailingSemicolon:xm},wm=/* @__PURE__ */ new Map,Tm=/* @__PURE__ */ new WeakMap;function Em(t){for(let n of t===void 0?[import.meta.url]:[a(t).href,import.meta.url]){let t=wm.get(n);if(t===void 0){try{let r=e(n);t=r(o.join(o.dirname(r.resolve(`postcss-styled-syntax`)),`parseJs.js`)).parseJs}catch{t=null}wm.set(n,t)}if(t)return t}}function Dm(e){let t=e.root(),n=t.parent,r=t.raws.styledSyntaxRangeStart;if(n?.type!==`document`||typeof r!=`number`||!n.source?.input)return[];let i=Tm.get(n);if(!i){let{css:e,file:t,hasBOM:r}=n.source.input,a=r?`\uFEFF${e}`:e;i=new Map((Em(t)?.(a,{from:t})??[]).map(e=>[e.rangeStart,e.interpolationRanges.map(({start:e,end:t})=>a.slice(e,t))])),Tm.set(n,i)}return i.get(r)??[]}function Om(e,t){let n=[],r=e.indexOf("${");if(r<0)return n;let i=Dm(t).toSorted((e,t)=>t.length-e.length);for(;r>=0;){let t=r,a=i.find(n=>e.startsWith(n,t));if(!a){n.push({start:t,end:Math.max(e.lastIndexOf(`}`)+1,t+2)});break}n.push({start:t,end:t+a.length}),r=e.indexOf("${",t+a.length)}return n}let km={...B,namespace:`styled`,restore(e){pf(e,km)},accepts:(e,t)=>e.raws.styledSyntaxRangeStart!==void 0||t.stylelint?.config?.customSyntax===void 0,embedding(e){if(!Am(e))return{indent:``,multiline:!1};let{parent:t}=e;if(!t?.parent?.source||!t.source?.start)throw Error(`A styled expression must stand inside a node with a source`);return{indent:Nm(t.parent.source.input.css,t.source.start.line).match(ec)?.[0]??``,multiline:Mm(t.source.input.css).length>1}},hostLineEdges(e){if(e.raws.styledSyntaxRangeStart===void 0)return{opens:!1,closes:!1};if(!e.source)throw Error(`A styled template must have a source`);let t=Mm(e.source.input.css),n=t.at(-1)??``;return{opens:!0,closes:t.length===1||n.match(ec)?.[0]===n}},valueEmbedsHostCode:e=>jm(e)&&e.value.includes("${"),hostCodeSpans:Om,readsBackslashesAsWritten:e=>e.raws.styledSyntaxRangeStart===void 0};function Am(e){return e.parent?.raws.styledSyntaxRangeStart!==void 0}function jm(e){let t=e.parent;for(;t;){if(t.raws.styledSyntaxRangeStart!==void 0)return!0;t=t.parent}return!1}function Mm(e){return e.split(ns)}function Nm(e,t){let n=Mm(e)[t-1];if(n===void 0)throw Error(`A styled expression starts on a line its file does not hold`);return n}let Pm=[_m,Cm,km];const Fm=`@stylistic`;function Im(e,t){return t?`${Fm}/${t}/${e}`:`${Fm}/${e}`}function Lm(e){let t=Error(e);return t.code=78,t}let Rm=/* @__PURE__ */ new WeakMap;function zm(e){return e!=null&&!(Array.isArray(e)&&e[0]===null)}function Bm(e,t,n){let r=n.stylelint?.config;if(!r)return;let i=Rm.get(t)??/* @__PURE__ */ new WeakMap,a=i.get(r)??/* @__PURE__ */ new Map;if(Rm.set(t,i),i.set(r,a),a.has(e))return a.get(e);let o=r.rules??{},s=[B,...Pm].filter(e=>e.accepts(t,n)),c=s.map(t=>[t,Im(e,t.namespace)]).filter(([,e])=>zm(o[e])),l=c.find(([e])=>e===B||s.length===1)?.[1]??Object.keys(o).find(e=>c.some(([,t])=>t===e));return a.set(e,l),l}function Vm(e,t){if(!Array.isArray(t))return Hm(e,t);for(let n of t){let t=Hm(e,n);if(t)return t}return!1}function Hm(e,t){if(t instanceof RegExp){let n=e.match(t);return n?{match:e,pattern:t,substring:n[0]||``}:!1}let n=t[0],r=t.at(-1),i=t.at(-2),a=n===`/`&&(r===`/`||i===`/`&&r===`i`),o=a&&r===`i`;if(a){let n=o?e.match(new RegExp(t.slice(1,-2),`iu`)):e.match(new RegExp(t.slice(1,-1),`u`));return n?{match:e,pattern:t,substring:n[0]||``}:!1}return e===t&&{match:e,pattern:t,substring:e}}function Um(e,t){if(!Array.isArray(e))return Vm(e,t);for(let n of e){let e=Vm(n,t);if(e)return e}return!1}function H(e,t,n){if(!Cu(e))return!1;let r=e[t];return!!(r&&typeof n==`string`&&Um(n,r))}const Wm=`-newline-`,Gm={"at-rule-name-newline-after":[`always`,`always-multi-line`],"at-rule-name-space-after":[`always`,`always-single-line`],"block-closing-brace-newline-after":[`always`,`always-single-line`,`never-single-line`,`always-multi-line`,`never-multi-line`],"block-closing-brace-newline-before":[`always`,`always-multi-line`,`never-multi-line`],"block-closing-brace-space-after":[`always`,`never`,`always-single-line`,`never-single-line`,`always-multi-line`,`never-multi-line`],"block-closing-brace-space-before":[`always`,`never`,`always-single-line`,`never-single-line`,`always-multi-line`,`never-multi-line`],"block-opening-brace-newline-after":[`always`,`always-multi-line`,`never-multi-line`],"block-opening-brace-newline-before":[`always`,`always-single-line`,`never-single-line`,`always-multi-line`,`never-multi-line`],"block-opening-brace-space-after":[`always`,`never`,`always-single-line`,`never-single-line`,`always-multi-line`,`never-multi-line`],"block-opening-brace-space-before":[`always`,`never`,`always-single-line`,`never-single-line`,`always-multi-line`,`never-multi-line`],"declaration-block-semicolon-newline-after":[`always`,`always-multi-line`,`never-multi-line`],"declaration-block-semicolon-newline-before":[`always`,`always-multi-line`,`never-multi-line`],"declaration-block-semicolon-space-after":[`always`,`never`,`always-single-line`,`never-single-line`],"declaration-block-semicolon-space-before":[`always`,`never`,`always-single-line`,`never-single-line`],"declaration-colon-newline-after":[`always`,`always-multi-line`],"declaration-colon-space-after":[`always`,`never`,`always-single-line`],"function-comma-newline-after":[`always`,`always-multi-line`,`never-multi-line`],"function-comma-newline-before":[`always`,`always-multi-line`,`never-multi-line`],"function-comma-space-after":[`always`,`never`,`always-single-line`,`never-single-line`],"function-comma-space-before":[`always`,`never`,`always-single-line`,`never-single-line`],"function-parentheses-newline-inside":[`always`,`always-multi-line`,`never-multi-line`],"function-parentheses-space-inside":[`always`,`never`,`always-single-line`,`never-single-line`],"media-query-list-comma-newline-after":[`always`,`always-multi-line`,`never-multi-line`],"media-query-list-comma-newline-before":[`always`,`always-multi-line`,`never-multi-line`],"media-query-list-comma-space-after":[`always`,`never`,`always-single-line`,`never-single-line`],"media-query-list-comma-space-before":[`always`,`never`,`always-single-line`,`never-single-line`],"selector-list-comma-newline-after":[`always`,`always-multi-line`,`never-multi-line`],"selector-list-comma-newline-before":[`always`,`always-multi-line`,`never-multi-line`],"selector-list-comma-space-after":[`always`,`never`,`always-single-line`,`never-single-line`],"selector-list-comma-space-before":[`always`,`never`,`always-single-line`,`never-single-line`],"value-list-comma-newline-after":[`always`,`always-multi-line`,`never-multi-line`],"value-list-comma-newline-before":[`always`,`always-multi-line`,`never-multi-line`],"value-list-comma-space-after":[`always`,`never`,`always-single-line`,`never-single-line`],"value-list-comma-space-before":[`always`,`never`,`always-single-line`,`never-single-line`],"value-slash-newline-after":[`always`,`always-multi-line`,`never-multi-line`],"value-slash-newline-before":[`always`,`always-multi-line`,`never-multi-line`],"value-slash-space-after":[`always`,`never`,`always-single-line`,`never-single-line`],"value-slash-space-before":[`always`,`never`,`always-single-line`,`never-single-line`]},Km=[`block-opening-brace-newline-before`,`block-closing-brace-newline-after`,`declaration-colon-newline-after`],qm=[`after-closing-brace`,`last-nested`],Jm={"block-closing-brace-newline-before":[`never-multi-line`],"block-closing-brace-space-before":[`always`,`never`,`always-multi-line`,`never-multi-line`],"max-empty-lines":[0]},Ym=[`declaration-block-semicolon-newline-before`,`declaration-block-semicolon-space-before`,`function-comma-newline-before`,`function-comma-space-before`,`function-parentheses-newline-inside`,`function-parentheses-space-inside`,`value-list-comma-newline-before`,`value-list-comma-space-before`,`value-slash-newline-before`,`value-slash-space-before`],Xm=`Change one of them, or turn one of them off.`;function Zm(e){return e.endsWith(`-single-line`)?`single`:e.endsWith(`-multi-line`)?`multi`:`any`}function Qm(e){return e.startsWith(`never`)}function $m(e,t,n){if(Qm(t)&&Qm(n))return!1;let r=Zm(t),i=Zm(n);return r!==`any`&&i!==`any`?r===i:r===`any`&&i===`single`?Km.includes(e):!0}const eh={single:`-single-line`,multi:`-multi-line`};function th(e,t){let n=e.primary,r=t===`single`?`multi`:`single`,i=n.endsWith(eh[r])?n.slice(0,-eh[r].length):n,a=i.endsWith(eh[t])?i:`${i}${eh[t]}`;return Gm[e.shortName]?.includes(a)?a:void 0}function nh(e,t){let[n,r]=e.shortName.includes(Wm)?[e,t]:[t,e],i=[];for(let[a,o]of[[`multi`,`single`],[`single`,`multi`]]){let s=th(n,a),c=th(r,o);if(s===void 0||c===void 0||$m(n.shortName,s,c))continue;let l=[[e,e===n?s:c,`first`],[t,t===n?s:c,`second`]];i.push(l.filter(([e,t])=>e.primary!==t).map(([,e,t])=>`the ${t} to "${e}"`))}let[a]=i.toSorted((e,t)=>e.length-t.length);return a?`Set ${a.join(` and `)}, or turn one of them off.`:Xm}function rh(e,t){if(!e.shortName.includes(Wm)||e.shortName.replace(Wm,`-space-`)!==t.shortName)return!1;let n=e.primary,r=t.primary;return typeof n!=`string`||typeof r!=`string`||!Gm[e.shortName]?.includes(n)||!Gm[t.shortName]?.includes(r)?!1:$m(e.shortName,n,r)}function ih(e){return e.shortName===`block-closing-brace-empty-line-before`?e.primary===`always-multi-line`||e.primary===`never`&&qm.some(t=>H(e.secondary,`except`,t)):!1}function ah(e,t){return ih(e)?!!Jm[t.shortName]?.includes(t.primary):e.shortName===`function-whitespace-after`&&e.primary===`never`&&Ym.includes(t.shortName)&&typeof t.primary==`string`&&t.primary.startsWith(`always`)}function oh(e,t){if(rh(e,t)||rh(t,e))return nh(e,t);if(ah(e,t)||ah(t,e))return Xm}function sh(e){let t=[];for(let[n,r]of e.entries())for(let i of e.slice(n+1)){let e=oh(r,i);e!==void 0&&t.push({first:r,second:i,advice:e})}return t}function ch(e){return Lm(e.map(({first:e,second:t,advice:n})=>[`Conflicting settings:`,...[e,t].map(({name:e,primary:t})=>` "${e}": ${JSON.stringify(t)}`),n].join(`
|
|
64
|
+
`)).join(`
|
|
65
|
+
`.repeat(2)))}function lh(e,t){return{name:e,shortName:e.slice(e.lastIndexOf(`/`)+1),primary:Array.isArray(t)?t[0]:t,secondary:Array.isArray(t)?t[1]:void 0}}let uh=/* @__PURE__ */ new WeakMap;function dh(e,t){let n=t.stylelint?.config,r=n?.rules;if(!n||!r)return;let i=[B,...Pm].filter(n=>n.accepts(e,t)).map(e=>e.namespace??``).join(`,`),a=uh.get(n);if(a?.has(i))return;let o=[];for(let[n,i]of Object.entries(r)){let r=lh(n,i);n.startsWith(`@stylistic/`)&&r.primary!==null&&r.primary!==void 0&&Bm(r.shortName,e,t)===n&&o.push(r)}let s=sh(o);if(s.length>0)throw ch(s);a||(a=/* @__PURE__ */ new Set,uh.set(n,a)),a.add(i)}const fh=`at-charset-rule-no-invalid`,ph=`The "@stylistic/" rules pass over "@charset"; enable the "${fh}" rule to have its spelling checked`;function mh(e,t,n){if(n.namespace!==void 0)return!1;let r=e.source;if(!r||r.inline||r.lang===`object-literal`||t.root!==e)return!1;let i=t.stylelint?.config?.rules;if(lh(fh,i?.[fh]).primary===!0)return!1;let a=!1;return e.walkAtRules(Hs,()=>(a=!0,!1)),a}const hh=/-(?:single|multi)-line$/u,gh=/-single-line$/u,_h=[`call`,`declaration`,`statement`],vh={"at-rule-name-newline-after":[`statement`,!0],"at-rule-name-space-after":[`statement`,!1],"block-closing-brace-empty-line-before":[`statement`,!0],"block-closing-brace-newline-after":[`statement`,!0],"block-closing-brace-newline-before":[`statement`,!0],"block-closing-brace-space-after":[`statement`,!1],"block-closing-brace-space-before":[`statement`,!1],"block-opening-brace-newline-after":[`statement`,!0],"block-opening-brace-newline-before":[`statement`,!0],"block-opening-brace-space-after":[`statement`,!1],"block-opening-brace-space-before":[`statement`,!1],"declaration-block-semicolon-newline-after":[`statement`,!0],"declaration-block-semicolon-newline-before":[`statement`,!0],"declaration-block-semicolon-space-after":[`statement`,!1],"declaration-block-semicolon-space-before":[`statement`,!1],"declaration-colon-newline-after":[`declaration`,!0],"declaration-colon-space-after":[`declaration`,!1],"function-comma-newline-after":[`call`,!0],"function-comma-newline-before":[`call`,!0],"function-comma-space-after":[`call`,!1],"function-comma-space-before":[`call`,!1],"function-parentheses-newline-inside":[`call`,!0],"function-parentheses-space-inside":[`call`,!1],"media-query-list-comma-newline-after":[`statement`,!0],"media-query-list-comma-newline-before":[`statement`,!0],"media-query-list-comma-space-after":[`statement`,!1],"media-query-list-comma-space-before":[`statement`,!1],"selector-list-comma-newline-after":[`statement`,!0],"selector-list-comma-newline-before":[`statement`,!0],"selector-list-comma-space-after":[`statement`,!1],"selector-list-comma-space-before":[`statement`,!1],"value-list-comma-newline-after":[`declaration`,!0],"value-list-comma-newline-before":[`declaration`,!0],"value-list-comma-space-after":[`declaration`,!1],"value-list-comma-space-before":[`declaration`,!1],"value-slash-newline-after":[`declaration`,!0],"value-slash-newline-before":[`declaration`,!0],"value-slash-space-after":[`declaration`,!1],"value-slash-space-before":[`declaration`,!1]};function yh(e,t){return e<t?-1:+(e>t)}function bh(e,t){return yh(e.rank,t.rank)}let xh=/* @__PURE__ */ new WeakMap;function Sh(e){let t=xh.get(e);if(t)return t;let n={head:[],lineness:[],reading:[]};return xh.set(e,n),n}function Ch(e,t,n){let[r,i]=vh[e]??[`statement`,!1];return`${_h.indexOf(r)}${+!i}${+!gh.test(n)}${e} ${t??``}`}let wh=/* @__PURE__ */ new Set;function Th(e){return typeof e==`string`&&hh.test(e)}function Eh(e){wh.add(e)}function Dh(e){return e!==null&&!(Array.isArray(e)&&e[0]===null)}function Oh(e){let t=e.stylelint?.config?.rules??{},n;for(let[e,r]of Object.entries(t))wh.has(e)&&Dh(r)&&(n=e);return n}function kh(e,t,n){Sh(e).lineness.push({rank:t,run:n})}let Ah;function jh(e){return Ah===e}function Mh(e,t,n){Sh(e).head.push({rank:t,run:n})}function Nh(e,t,n){Sh(e).reading.push({rank:t,run:n})}function Ph(e){let t=xh.get(e);if(t){xh.delete(e),Ah=e;try{for(let{run:e}of t.head.toSorted(bh))e()}finally{Ah=void 0}for(let{run:e}of t.lineness.toSorted(bh))e();for(let{run:e}of t.reading.toSorted(bh))e()}}var Fh=/* @__PURE__ */ h(wl(),1);let Ih=/* @__PURE__ */ new WeakMap,Lh=/* @__PURE__ */ new WeakMap,Rh=/* @__PURE__ */ new WeakMap,zh;function Bh(e,t){let n=zh;zh=e;try{return t()}finally{zh=n}}function Vh(e,t){let n=Lh.get(e)??/* @__PURE__ */ new Map,r=Ih.get(e)??/* @__PURE__ */ new Map;if(n.has(t))return;let i=t.raws,a={pinned:/* @__PURE__ */ new Set,read:/* @__PURE__ */ new Set,wrapper:i};Lh.set(e,n),Ih.set(e,r),n.set(t,a),r.set(t,i);function o(t){if(zh!==e||typeof t==`symbol`)return;a.pinned.has(t)&&a.read.add(t);let n=Rh.get(e)??/* @__PURE__ */ new Map;Rh.set(e,n),n.set(t,(n.get(t)??0)+1)}a.wrapper=new Proxy(i,{get:(t,n)=>(zh===e&&typeof n!=`symbol`&&a.pinned.has(n)&&a.read.add(n),Reflect.get(t,n)),set:(e,t,n)=>(o(t),Reflect.set(e,t,n)),deleteProperty:(e,t)=>(o(t),Reflect.deleteProperty(e,t))}),t.raws=a.wrapper}function Hh(e,t,n){Lh.get(e)?.get(t)?.pinned.add(n)}function Uh(e,t,n){return Lh.get(e)?.get(t)?.read.has(n)??!1}function Wh(e,t){return Rh.get(e)?.get(t)??0}function Gh(e){let t=Lh.get(e),n=Ih.get(e);Lh.delete(e),Ih.delete(e),Rh.delete(e);for(let[e,r]of t??[])e.raws===r.wrapper&&(e.raws=n?.get(e)??e.raws)}function Kh(){throw Error(`The invented raws are read without printing the node`)}let qh=new Fh.default(Kh),Jh=/* @__PURE__ */ new WeakMap,Yh=/* @__PURE__ */ new WeakMap;function Xh(e){return(e.nodes?.length??0)===0}function Zh(e,t){return t===`afterName`?e.params?` `:``:t===`between`?qh.raw(e,`between`,L(e)?`colon`:`beforeOpen`):t===`after`?qh.raw(e,`after`,Xh(e)?`emptyBody`:void 0):qh.raw(e,t)}function Qh(e){let t=Jh.get(e);if(!t)return;let n=[];for(let e of t)e.key!==`after`||Xh(e.node)===e.empty?n.push(e):e.node.raws[e.key]===e.value&&Reflect.deleteProperty(e.node.raws,e.key);Jh.set(e,n)}function $h(e){Qh(e);let t=[],n=Yh.get(e)??/* @__PURE__ */ new Set,r=Jh.get(e)??[];function i(n,r){n.raws[r]===void 0&&t.push({node:n,key:r,value:Zh(n,r),empty:r===`after`&&Xh(n),writes:Wh(e,r)})}function a(e){let t=e.raws.before;if(typeof t==`string`)for(let{key:n,value:i}of r)n===`before`&&i===t&&Reflect.deleteProperty(e.raws,n)}delete e.rawCache,e.walk(t=>{t.type!==`root`&&(n.has(t)===!1&&a(t),n.add(t),Vh(e,t),i(t,`before`),L(t)?i(t,`between`):I(t)&&i(t,`afterName`),`nodes`in t&&t.nodes&&(L(t)||i(t,`between`),i(t,`after`),Xh(t)||i(t,`semicolon`)))}),Yh.set(e,n);for(let{node:e,key:n,value:r}of t)e.raws[n]=r;for(let{node:n,key:r}of t)Hh(e,n,r);Jh.set(e,[...Jh.get(e)??[],...t])}function eg(e){let t=Jh.get(e);if(!t)return;Jh.delete(e),Yh.delete(e);let n=t.filter(({node:t,key:n,value:r,empty:i,writes:a})=>t.raws[n]===r&&t.root()===e&&Wh(e,n)===a&&(n===`after`&&Xh(t)!==i||!Uh(e,t,n)));for(let{node:e,key:t}of n)Reflect.deleteProperty(e.raws,t);delete e.rawCache,Gh(e)}function tg(e){return!!(e.source?.start&&e.source.input)}function ng(e){for(let t=e;t;t=t.parent){if(tg(t))return t;if(!pu(t)){for(let e=t.prev();e;e=e.prev())if(tg(e))return e}}}function U(e){let n=ng(e.node);if(n===e.node){t.utils.report(e);return}if(!n)return;let{ruleName:r,result:i,message:a,messageArgs:o,severity:s,fix:c}=e;t.utils.report({ruleName:r,result:i,message:a,node:n,...o&&{messageArgs:o},...s!==void 0&&{severity:s},...c&&{fix:c}})}let{utils:{ruleMessages:rg}}=t;function W(e){return e}let ig=/* @__PURE__ */ new WeakSet,ag=/* @__PURE__ */ new WeakSet;function G(e){let{shortName:t,meta:n,messages:r,rule:i,defersToRunEnd:a,checksAheadOfLineness:o}=e;return e=>{let s=Im(t,e.namespace);Eh(s);let c=rg(s,r),{refusal:l,charset:u}=rg(s,{refusal:e=>e?`The "${s}" rule does not read a stylesheet parsed with this syntax; the ${e} rules do`:`The "${s}" rule does not read a stylesheet parsed with this syntax`,charset:ph});function d(n,r){let d=i({ruleName:s,messages:c,syntax:e},n,r),f=Ch(t,e.namespace,typeof n==`string`?n:``);function p(n,r){if(e.accepts(n,r)){if(Bm(t,n,r)!==s)return;!ag.has(n)&&mh(n,r,e)&&(ag.add(n),U({message:u,node:n,index:0,endIndex:0,result:r,ruleName:s})),e.restore(n,r),$h(n),Bh(n,()=>d(n,r));return}if(Bm(t,n,r)!==void 0||ig.has(n))return;ig.add(n);let i=Pm.filter(e=>e.accepts(n,r)).map(e=>`"@stylistic/${e.namespace}/"`).join(` and `);U({message:l,messageArgs:[i],node:n,index:0,endIndex:0,result:r,ruleName:s})}return(e,t)=>{dh(e,t);let r=Oh(t);if(a&&r!==void 0?(o&&Mh(e,f,()=>p(e,t)),Nh(e,f,()=>p(e,t))):Th(n)&&r!==void 0?kh(e,f,()=>p(e,t)):p(e,t),s===r)try{Ph(e)}finally{eg(e)}}}return Object.assign(d,{ruleName:s,messages:c,meta:n})}}var og=class extends Error{sourceStart;sourceEnd;parserState;constructor(e,t,n,r){super(e),this.name=`ParseError`,this.sourceStart=t,this.sourceEnd=n,this.parserState=r}},sg=class extends og{token;constructor(e,t,n,r,i){super(e,t,n,r),this.token=i}};const cg={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 "\\"`};typeof globalThis<`u`&&`structuredClone`in globalThis;function K(...e){if(!e||!e.length)return``;let t;t=Array.isArray(e)&&Array.isArray(e[0])&&Array.isArray(e[0][0])?e[0]:e;let n=``;for(let e=0;e<t.length;e++)n+=t[e][1];return n}const lg=65533;var q,ug,dg;function fg(e){switch(e){case q.OpenParen:return q.CloseParen;case q.CloseParen:return q.OpenParen;case q.OpenCurly:return q.CloseCurly;case q.CloseCurly:return q.OpenCurly;case q.OpenSquare:return q.CloseSquare;case q.CloseSquare:return q.OpenSquare;default:return null}}function pg(e){switch(e[0]){case q.OpenParen:return[q.CloseParen,`)`,-1,-1,void 0];case q.CloseParen:return[q.OpenParen,`(`,-1,-1,void 0];case q.OpenCurly:return[q.CloseCurly,`}`,-1,-1,void 0];case q.CloseCurly:return[q.OpenCurly,`{`,-1,-1,void 0];case q.OpenSquare:return[q.CloseSquare,`]`,-1,-1,void 0];case q.CloseSquare:return[q.OpenSquare,`[`,-1,-1,void 0];default:return null}}function mg(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function hg(e){return e>=97&&e<=122||e>=65&&e<=90||e===95||_g(e)}function gg(e){return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57||e===45||e===95||_g(e)}function _g(e){return e<183?e===0: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||e>=55296&&e<=57343||e>=65536}function vg(e){return e===11||e===127||0<=e&&e<=8||14<=e&&e<=31}function yg(e){return e===10||e===13||e===12}function bg(e){return e===32||e===10||e===9||e===13||e===12}function xg(e){return e>=55296&&e<=57343}function Sg(e,t){let n=Cg(e,t),r=[];for(;!n.endOfFile();)r.push(n.nextToken());return r.push(n.nextToken()),r}function Cg(e,t){let n=e.css.valueOf(),r=e.unicodeRangesAllowed??!1,i=0,a=0,o=-1,s=!1,c=t?.onParseError??wg;function l(){let e=i;for(;;){let e=n.charCodeAt(i);if(e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===45||e===95){i+=1;continue}let t=n.codePointAt(i)??-1;if(t===0||t>=55296&&t<=57343||t===92&&!yg(n.codePointAt(i+1)??-1)||!_g(t))break;i+=+(t>65535)+1}let t=n.codePointAt(i)??-1;if(t!==0&&!(t>=55296&&t<=57343)&&(t!==92||yg(n.codePointAt(i+1)??-1)))return s=!0,o=i-1,n.slice(e,i);s=!1,i=e,o=-1;let r=``;for(;;){let e=n.codePointAt(i)??-1;if(e===0||xg(e))r+=`�`,i+=+(e>65535)+1,o=i-1;else if(e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===45||e===95||_g(e))r+=e>65535?String.fromCodePoint(e):String.fromCharCode(e),i+=+(e>65535)+1,o=i-1;else{if(n.codePointAt(i)!==92||yg(n.codePointAt(i+1)??-1))return r;i+=1,o=i-1,r+=String.fromCodePoint(u())}}}function u(){let e=n.codePointAt(i);if(e===void 0)return c(new og(cg.UnexpectedEOFInEscapedCodePoint,a,o,[`4.3.7. Consume an escaped code point`,`Unexpected EOF`])),lg;if(i+=+(e>65535)+1,o=i-1,mg(e)){let t=[e],r;for(;(r=n.codePointAt(i))!==void 0&&mg(r)&&t.length<6;)t.push(r),i+=1,o=i-1;bg(n.codePointAt(i)??-1)&&(n.codePointAt(i)===13&&n.codePointAt(i+1)===10&&(i+=1),i+=1,o=i-1);let a=parseInt(String.fromCodePoint(...t),16);return a===0||xg(a)||a>1114111?lg:a}return e===0||xg(e)?lg:e}function d(){for(;;){let e=n.codePointAt(i);if(e===void 0)return;if(e===41)return i+=1,void(o=i-1);e!==92||yg(n.codePointAt(i+1)??-1)?(i+=1,o=i-1):(i+=1,o=i-1,u())}}function f(){for(i+=2,o=i-1;;){let e=n.codePointAt(i);if(e===void 0){let e=[q.Comment,n.slice(a,o+1),a,o,void 0];return c(new sg(cg.UnexpectedEOFInComment,a,o,[`4.3.2. Consume comments`,`Unexpected EOF`],e)),e}if(i+=1,o=i-1,e===42&&n.codePointAt(i)!==void 0&&n.codePointAt(i)===47){i+=1,o=i-1;break}}return[q.Comment,n.slice(a,o+1),a,o,void 0]}function p(){let e=``,t=n.codePointAt(i);for(i+=1,o=i-1;;){let r=n.charCodeAt(i);if(i>=n.length){let t=[q.String,n.slice(a,o+1),a,o,{value:e}];return c(new sg(cg.UnexpectedEOFInString,a,o,[`4.3.5. Consume a string token`,`Unexpected EOF`],t)),t}if(i+=1,o=i-1,yg(r)){--i,o=i-1;let e=[q.BadString,n.slice(a,o+1),a,o,void 0];return c(new sg(cg.UnexpectedNewLineInString,a,n.codePointAt(i)===13&&n.codePointAt(i+1)===10?o+2:o+1,[`4.3.5. Consume a string token`,`Unexpected newline`],e)),e}if(r===t)return[q.String,n.slice(a,o+1),a,o,{value:e}];if(r!==92){if(r!==0){if(r<128)e+=String.fromCharCode(r);else{if(r>=55296&&r<=57343){let t=n.codePointAt(i-1)??-1;t>=65536?(e+=String.fromCodePoint(t),i+=1,o=i-1):e+=`�`;continue}e+=String.fromCharCode(r)}}else e+=`�`}else{if(n.codePointAt(i)===void 0)continue;if(yg(n.codePointAt(i)??-1)){n.codePointAt(i)===13&&n.codePointAt(i+1)===10&&(i+=1),i+=1,o=i-1;continue}e+=String.fromCodePoint(u())}}}function m(){i+=2,o=i-1;let e=[],t=[],r;for(;(r=n.codePointAt(i))!==void 0&&e.length<6&&mg(r);)e.push(r),i+=1,o=i-1;for(;(r=n.codePointAt(i))!==void 0&&e.length<6&&r===63;)t.length===0&&t.push(...e),e.push(48),t.push(70),i+=1,o=i-1;if(!t.length&&n.codePointAt(i)===45&&mg(n.codePointAt(i+1)??-1))for(i+=1,o=i-1;(r=n.codePointAt(i))!==void 0&&t.length<6&&mg(r);)t.push(r),i+=1,o=i-1;if(!t.length){let t=parseInt(String.fromCodePoint(...e),16);return[q.UnicodeRange,n.slice(a,o+1),a,o,{startOfRange:t,endOfRange:t}]}let s=parseInt(String.fromCodePoint(...e),16),c=parseInt(String.fromCodePoint(...t),16);return[q.UnicodeRange,n.slice(a,o+1),a,o,{startOfRange:s,endOfRange:c}]}function h(){for(;bg(n.codePointAt(i)??-1);)i+=1,o=i-1;let e=``;for(;;){if(n.codePointAt(i)===void 0){let t=[q.URL,n.slice(a,o+1),a,o,{value:e}];return c(new sg(cg.UnexpectedEOFInURL,a,o,[`4.3.6. Consume a url token`,`Unexpected EOF`],t)),t}if(n.codePointAt(i)===41)return i+=1,o=i-1,[q.URL,n.slice(a,o+1),a,o,{value:e}];if(bg(n.codePointAt(i)??-1)){for(i+=1,o=i-1;bg(n.codePointAt(i)??-1);)i+=1,o=i-1;if(n.codePointAt(i)===void 0){let t=[q.URL,n.slice(a,o+1),a,o,{value:e}];return c(new sg(cg.UnexpectedEOFInURL,a,o,[`4.3.6. Consume a url token`,`Consume as much whitespace as possible`,`Unexpected EOF`],t)),t}return n.codePointAt(i)===41?(i+=1,o=i-1,[q.URL,n.slice(a,o+1),a,o,{value:e}]):(d(),[q.BadURL,n.slice(a,o+1),a,o,void 0])}let t=n.codePointAt(i);if(t===34||t===39||t===40||vg(t??-1)){d();let e=[q.BadURL,n.slice(a,o+1),a,o,void 0];return c(new sg(cg.UnexpectedCharacterInURL,a,o,[`4.3.6. Consume a url token`,`Unexpected U+0022 QUOTATION MARK ("), U+0027 APOSTROPHE ('), U+0028 LEFT PARENTHESIS (() or non-printable code point`],e)),e}if(t===92){if(t===92&&!yg(n.codePointAt(i+1)??-1)){i+=1,o=i-1,e+=String.fromCodePoint(u());continue}d();let r=[q.BadURL,n.slice(a,o+1),a,o,void 0];return c(new sg(cg.InvalidEscapeSequenceInURL,a,o,[`4.3.6. Consume a url token`,`U+005C REVERSE SOLIDUS (\\)`,`The input stream does not start with a valid escape sequence`],r)),r}t===0||xg(t??-1)?(e+=`�`,i+=1,o=i-1):(e+=String.fromCodePoint(t??lg),i+=+((t??-1)>65535)+1,o=i-1)}}function g(){let e;{let t=n.charCodeAt(i);t===45?e=`-`:t===43&&(e=`+`)}let t=ug.Integer,r=n.charCodeAt(i);r!==43&&r!==45||(i+=1);let s=n.charCodeAt(i);for(;s>=48&&s<=57;)i+=1,s=n.charCodeAt(i);if(n.charCodeAt(i)===46&&n.charCodeAt(i+1)>=48&&n.charCodeAt(i+1)<=57)for(i+=2,t=ug.Number,s=n.charCodeAt(i);s>=48&&s<=57;)i+=1,s=n.charCodeAt(i);let c=n.charCodeAt(i);if(c===101||c===69){let e=n.charCodeAt(i+1);if(e>=48&&e<=57)for(i+=2,t=ug.Number,s=n.charCodeAt(i);s>=48&&s<=57;)i+=1,s=n.charCodeAt(i);else if((e===45||e===43)&&n.charCodeAt(i+2)>=48&&n.charCodeAt(i+2)<=57)for(i+=3,t=ug.Number,s=n.charCodeAt(i);s>=48&&s<=57;)i+=1,s=n.charCodeAt(i)}o=i-1;let u=parseFloat(n.slice(a,o+1));if(x()){let r=l();return[q.Dimension,n.slice(a,o+1),a,o,{value:u,signCharacter:e,type:t,unit:r}]}return n.charCodeAt(i)===37?(i+=1,o=i-1,[q.Percentage,n.slice(a,o+1),a,o,{value:u,signCharacter:e}]):[q.Number,n.slice(a,o+1),a,o,{value:u,signCharacter:e,type:t}]}function _(){let e=l();if(n.charCodeAt(i)!==40)return[q.Ident,s?e:n.slice(a,o+1),a,o,{value:e}];if(!(e.length!==3||e.charCodeAt(0)!==117&&e.charCodeAt(0)!==85||e.charCodeAt(1)!==114&&e.charCodeAt(1)!==82||e.charCodeAt(2)!==108&&e.charCodeAt(2)!==76)){i+=1,o=i-1;let t=0;for(;bg(n.charCodeAt(i));)t+=1,i+=1,o=i-1;let r=n.charCodeAt(i);return r===34||r===39?(t>0&&(i-=t,o=i-1),[q.Function,n.slice(a,o+1),a,o,{value:e}]):h()}return i+=1,o=i-1,[q.Function,n.slice(a,o+1),a,o,{value:e}]}function v(){i+=1,o=i-1;let e=n.charCodeAt(i);if(e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===45||e===95||_g(e)||e===92&&!yg(n.codePointAt(i+1)??-1)){let e=dg.Unrestricted;x()&&(e=dg.ID);let t=l();return[q.Hash,n.slice(a,o+1),a,o,{value:t,type:e}]}return[q.Delim,`#`,a,o,{value:`#`}]}function y(){if(i+=1,o=i-1,x()){let e=l();return[q.AtKeyword,n.slice(a,o+1),a,o,{value:e}]}return[q.Delim,`@`,a,o,{value:`@`}]}function b(){i+=1,o=i-1;let e=[q.Delim,`\\`,a,o,{value:`\\`}];return c(new sg(cg.InvalidEscapeSequenceAfterBackslash,a,o,[`4.3.1. Consume a token`,`U+005C REVERSE SOLIDUS (\\)`,`The input stream does not start with a valid escape sequence`],e)),e}function x(e){let t=e===void 0?n.charCodeAt(i):e;return t===45?n.charCodeAt(i+1)===45||!!hg(n.charCodeAt(i+1))||n.charCodeAt(i+1)===92&&!yg(n.charCodeAt(i+2)):!!hg(t)||n.charCodeAt(i)===92&&!yg(n.charCodeAt(i+1))}function S(e){return e===43||e===45?n.charCodeAt(i+1)>=48&&n.charCodeAt(i+1)<=57||n.charCodeAt(i+1)===46&&n.charCodeAt(i+2)>=48&&n.charCodeAt(i+2)<=57:e===46?n.charCodeAt(i+1)>=48&&n.charCodeAt(i+1)<=57:e>=48&&e<=57}return{nextToken:function(){if(a=i,o=-1,i>=n.length)return[q.EOF,``,-1,-1,void 0];let e=n.charCodeAt(i);if(e===47&&n.charCodeAt(i+1)===42)return f();if(r&&(e===117||e===85)&&n.codePointAt(i+1)===43&&(n.codePointAt(i+2)===63||mg(n.codePointAt(i+2)??-1)))return m();if(hg(e))return _();if((t=e)>=48&&t<=57)return g();switch(e){case 44:return i+=1,o=i-1,[q.Comma,`,`,a,o,void 0];case 58:return i+=1,o=i-1,[q.Colon,`:`,a,o,void 0];case 59:return i+=1,o=i-1,[q.Semicolon,`;`,a,o,void 0];case 40:return i+=1,o=i-1,[q.OpenParen,`(`,a,o,void 0];case 41:return i+=1,o=i-1,[q.CloseParen,`)`,a,o,void 0];case 91:return i+=1,o=i-1,[q.OpenSquare,`[`,a,o,void 0];case 93:return i+=1,o=i-1,[q.CloseSquare,`]`,a,o,void 0];case 123:return i+=1,o=i-1,[q.OpenCurly,`{`,a,o,void 0];case 125:return i+=1,o=i-1,[q.CloseCurly,`}`,a,o,void 0];case 39:case 34:return p();case 35:return v();case 43:case 46:return S(e)?g():(i+=1,o=i-1,[q.Delim,n[a],a,o,{value:n[a]}]);case 10:case 13:case 12:case 9:case 32:{let e=n.charCodeAt(i);for(;e===32||e===10||e===9||e===13||e===12;)i+=1,e=n.charCodeAt(i);o=i-1}return[q.Whitespace,n.slice(a,o+1),a,o,void 0];case 45:return S(e)?g():n.charCodeAt(i+1)===45&&n.charCodeAt(i+2)===62?(i+=3,o=i-1,[q.CDC,`-->`,a,o,void 0]):x(e)?_():(i+=1,o=i-1,[q.Delim,`-`,a,o,{value:`-`}]);case 60:return n.charCodeAt(i+1)===33&&n.charCodeAt(i+2)===45&&n.charCodeAt(i+3)===45?(i+=4,o=i-1,[q.CDO,`<!--`,a,o,void 0]):(i+=1,o=i-1,[q.Delim,`<`,a,o,{value:`<`}]);case 64:return y();case 92:return e!==92||yg(n.charCodeAt(i+1))?b():_();default:return i+=1,o=i-1,[q.Delim,n[a],a,o,{value:n[a]}]}var t},endOfFile:function(){return i>=n.length}}}function wg(){}function Tg(e,t){let n=[];for(let e of t)n.push(e.codePointAt(0));e[1]=String.fromCodePoint(...Eg(n)),e[4].value=t}function Eg(e){let t;if(e[0]===0)e.splice(0,1,lg),t=1;else if(e[0]===45&&e[1]===45)t=2;else if(e[0]===45&&e[1])t=2,hg(e[1])||(t+=Og(e,1,e[1]));else{if(e[0]===45&&!e[1])return[92,e[0]];hg(e[0])?t=1:(t=1,t+=Og(e,0,e[0]))}for(let n=t;n<e.length;n++)e[n]===0?(e.splice(n,1,lg),n++):gg(e[n])||(n+=Dg(e,n,e[n]));return e}function Dg(e,t,n){return e.splice(t,1,92,n),1}function Og(e,t,n){let r=n.toString(16),i=[];for(let e of r)i.push(e.codePointAt(0));return e.splice(t,1,92,...i,32),1+i.length}(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`})(q||={}),function(e){e.Integer=`integer`,e.Number=`number`}(ug||={}),function(e){e.Unrestricted=`unrestricted`,e.ID=`id`}(dg||={});const kg=Object.values(q);function Ag(e){return!!Array.isArray(e)&&!(e.length<4)&&!!kg.includes(e[0])&&typeof e[1]==`string`&&typeof e[2]==`number`&&typeof e[3]==`number`}function jg(e){if(!e)return!1;switch(e[0]){case q.Whitespace:case q.Comment:return!0;default:return!1}}function Mg(e){return!!e&&e[0]===q.Colon}function Ng(e){return!!e&&e[0]===q.Comma}function Pg(e){return!!e&&e[0]===q.Comment}function Fg(e){return!!e&&e[0]===q.Delim}function Ig(e){return!!e&&e[0]===q.Dimension}function Lg(e){return!!e&&e[0]===q.EOF}function Rg(e){return!!e&&e[0]===q.Function}function zg(e){return!!e&&e[0]===q.Ident}function Bg(e){return!!e&&e[0]===q.Number}function Vg(e){return!!e&&e[0]===q.Whitespace}function Hg(e){return!!e&&e[0]===q.OpenParen}function Ug(e){return!!e&&e[0]===q.CloseParen}function Wg(e){return!!e&&e[0]===q.OpenSquare}function Gg(e){return!!e&&e[0]===q.OpenCurly}var Kg;function qg(e){let t,n=e.slice(),r=-1;return(e,i,a)=>{if(e===t&&e.length===r&&e[a]===i){r=e.length;let t=a+1;return t<e.length?t:-1}let o=-1;for(let t=n.indexOf(i);t<n.length&&(o=e.indexOf(n[t]),o===-1||o<a);t++);return o===-1||o===a&&i===e[a]&&(o++,o>=e.length)?(t=e,r=e.length,-1):(n=e.slice(),t=e,r=e.length,o)}}(function(e){e.Function=`function`,e.SimpleBlock=`simple-block`,e.Whitespace=`whitespace`,e.Comment=`comment`,e.Token=`token`})(Kg||={});function Jg(e,t,n=0,r=0){let i=t[n];if(Hg(i)||Gg(i)||Wg(i)){let i=$g(e,t,n,r);return{advance:i.advance,node:i.node}}if(Rg(i)){let i=Zg(e,t,n,r);return{advance:i.advance,node:i.node}}if(Vg(i)){let r=t_(e,t,n);return{advance:r.advance,node:r.node}}if(Pg(i)){let r=r_(e,t,n);return{advance:r.advance,node:r.node}}return{advance:1,node:new a_(i)}}var Yg=class{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 n=qg(this.value),r=0;for(;r<this.value.length;){let i=this.value[r],a;if(t&&(a={...t}),!1===e({node:i,parent:this,state:a},r))return!1;if(r=n(this.value,i,r),r===-1)break}}walk(e,t){this.value.length!==0&&this.forEach((t,n)=>!1!==e(t,n)&&(!(`walk`in t.node)||!(typeof n==`number`&&this.value[n]===t.node||this.value.includes(t.node))||!1!==t.node.walk(e,t.state))&&void 0,t)}},Xg=class e extends Yg{type=Kg.Function;name;endToken;constructor(e,t,n){super(),this.name=e,this.endToken=t,this.value=n}getName(){return this.name[4].value}normalize(){Lg(this.endToken)&&(this.endToken=[q.CloseParen,`)`,-1,-1,void 0])}tokens(){return Lg(this.endToken)?[this.name,...this.value.flatMap(e=>e.tokens())]:[this.name,...this.value.flatMap(e=>e.tokens()),this.endToken]}toString(){let e=this.value.map(e=>Ag(e)?K(e):e.toString()).join(``);return K(this.name)+e+K(this.endToken)}toJSON(){return{type:this.type,name:this.getName(),tokens:this.tokens(),value:this.value.map(e=>e.toJSON())}}isFunctionNode(){return e.isFunctionNode(this)}static isFunctionNode(t){return!!t&&t instanceof e&&t.type===Kg.Function}};function Zg(e,t,n,r){if(r>=512)throw Error(`Maximum nesting depth of 512 exceeded, reduce the complexity of your stylesheet.`);let i=[],a=n+1;for(;;){let o=t[a];if(!o||Lg(o))return e.onParseError(new og(`Unexpected EOF while consuming a function.`,t[n][2],t[t.length-1][3],[`5.4.9. Consume a function`,`Unexpected EOF`])),{advance:t.length-n,node:new Xg(t[n],o,i)};if(Ug(o))return{advance:a-n+1,node:new Xg(t[n],o,i)};if(jg(o)){let n=i_(e,t,a);a+=n.advance;for(let e=0;e<n.nodes.length;e++)i.push(n.nodes[e]);continue}let s=Jg(e,t,a,r+1);a+=s.advance,i.push(s.node)}}var Qg=class e extends Yg{type=Kg.SimpleBlock;startToken;endToken;constructor(e,t,n){super(),this.startToken=e,this.endToken=t,this.value=n}normalize(){if(Lg(this.endToken)){let e=pg(this.startToken);e&&(this.endToken=e)}}tokens(){return Lg(this.endToken)?[this.startToken,...this.value.flatMap(e=>e.tokens())]:[this.startToken,...this.value.flatMap(e=>e.tokens()),this.endToken]}toString(){let e=this.value.map(e=>Ag(e)?K(e):e.toString()).join(``);return K(this.startToken)+e+K(this.endToken)}toJSON(){return{type:this.type,startToken:this.startToken,tokens:this.tokens(),value:this.value.map(e=>e.toJSON())}}isSimpleBlockNode(){return e.isSimpleBlockNode(this)}static isSimpleBlockNode(t){return!!t&&t instanceof e&&t.type===Kg.SimpleBlock}};function $g(e,t,n,r){if(r>=512)throw Error(`Maximum nesting depth of 512 exceeded, reduce the complexity of your stylesheet.`);let i=fg(t[n][0]);if(!i)throw Error(`Failed to parse, a mirror variant must exist for all block open tokens.`);let a=[],o=n+1;for(;;){let s=t[o];if(!s||Lg(s))return e.onParseError(new og(`Unexpected EOF while consuming a simple block.`,t[n][2],t[t.length-1][3],[`5.4.8. Consume a simple block`,`Unexpected EOF`])),{advance:t.length-n,node:new Qg(t[n],s,a)};if(s[0]===i)return{advance:o-n+1,node:new Qg(t[n],s,a)};if(jg(s)){let n=i_(e,t,o);o+=n.advance;for(let e=0;e<n.nodes.length;e++)a.push(n.nodes[e]);continue}let c=Jg(e,t,o,r+1);o+=c.advance,a.push(c.node)}}var e_=class e{type=Kg.Whitespace;value;constructor(e){this.value=e}tokens(){return this.value}toString(){return K(this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isWhitespaceNode(){return e.isWhitespaceNode(this)}static isWhitespaceNode(t){return!!t&&t instanceof e&&t.type===Kg.Whitespace}};function t_(e,t,n){let r=n;for(;;){let e=t[r];if(!Vg(e))return{advance:r-n,node:new e_(t.slice(n,r))};r++}}var n_=class e{type=Kg.Comment;value;constructor(e){this.value=e}tokens(){return[this.value]}toString(){return K(this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isCommentNode(){return e.isCommentNode(this)}static isCommentNode(t){return!!t&&t instanceof e&&t.type===Kg.Comment}};function r_(e,t,n){return{advance:1,node:new n_(t[n])}}function i_(e,t,n){let r=[],i=n;for(;;)if(Vg(t[i])){let e=t_(0,t,i);i+=e.advance,r.push(e.node)}else{if(!Pg(t[i]))return{advance:i-n,nodes:r};r.push(new n_(t[i])),i++}}var a_=class e{type=Kg.Token;value;constructor(e){this.value=e}tokens(){return[this.value]}toString(){return this.value[1]}toJSON(){return{type:this.type,tokens:this.tokens()}}isTokenNode(){return e.isTokenNode(this)}static isTokenNode(t){return!!t&&t instanceof e&&t.type===Kg.Token}};function o_(e,t){let n={onParseError:t?.onParseError??(()=>{})},r=[...e];if(e.length===0)return[];Lg(r[r.length-1])||r.push([q.EOF,``,r[r.length-1][2],r[r.length-1][3],void 0]);let i=[],a=[],o=0;for(;;){if(!r[o]||Lg(r[o]))return i.push(a),i;if(Ng(r[o])){i.push(a),a=[],o++;continue}let e=Jg(n,r,o,0);a.push(e.node),o+=e.advance}}function s_(e){return Qg.isSimpleBlockNode(e)}function c_(e){return Xg.isFunctionNode(e)}function l_(e){return e_.isWhitespaceNode(e)}function u_(e){return n_.isCommentNode(e)}function d_(e){return l_(e)||u_(e)}function f_(e){return a_.isTokenNode(e)}var J;(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`})(J||={});var p_=class e{type=J.MediaCondition;media;constructor(e){this.media=e}tokens(){return this.media.tokens()}toString(){return this.media.toString()}hasLeadingSpace(){return this.media.hasLeadingSpace()}indexOf(e){return e===this.media?`media`:-1}at(e){if(e===`media`)return this.media}walk(e,t){let n;return t&&(n={...t}),!1!==e({node:this.media,parent:this,state:n},`media`)&&this.media.walk(e,n)}toJSON(){return{type:this.type,media:this.media.toJSON()}}isMediaCondition(){return e.isMediaCondition(this)}static isMediaCondition(t){return!!t&&t instanceof e&&t.type===J.MediaCondition}},m_=class e{type=J.MediaInParens;media;before;after;constructor(e,t=[],n=[]){this.media=e,this.before=t,this.after=n}tokens(){return[...this.before,...this.media.tokens(),...this.after]}toString(){return K(...this.before)+this.media.toString()+K(...this.after)}hasLeadingSpace(){return this.before.length?jg(this.before[0]):this.media.hasLeadingSpace()}indexOf(e){return e===this.media?`media`:-1}at(e){if(e===`media`)return this.media}walk(e,t){let n;return t&&(n={...t}),!1!==e({node:this.media,parent:this,state:n},`media`)&&(`walk`in this.media?this.media.walk(e,n):void 0)}toJSON(){return{type:this.type,media:this.media.toJSON(),before:this.before,after:this.after}}isMediaInParens(){return e.isMediaInParens(this)}static isMediaInParens(t){return!!t&&t instanceof e&&t.type===J.MediaInParens}},h_=class e{type=J.MediaQueryWithType;modifier;mediaType;and=void 0;media=void 0;constructor(e,t,n,r){this.modifier=e,this.mediaType=t,n&&r&&(this.and=n,this.media=r)}getModifier(){if(!this.modifier.length)return``;for(let e=0;e<this.modifier.length;e++){let t=this.modifier[e];if(zg(t))return t[4].value}return``}negateQuery(){let t=this.getModifier().toLowerCase()===`not`,n=this.getMediaType();return this.and&&this.media?t?[new e([],[[q.Ident,n,-1,-1,{value:n}]]),new g_(this.media)]:[new e([[q.Ident,`not`,-1,-1,{value:`not`}],[q.Whitespace,` `,-1,-1,void 0]],[[q.Ident,n,-1,-1,{value:n}]]),...new g_(this.media).negateQuery()]:t?[new e([],[[q.Ident,n,-1,-1,{value:n}]])]:[new e([[q.Ident,`not`,-1,-1,{value:`not`}],[q.Whitespace,` `,-1,-1,void 0]],[[q.Ident,n,-1,-1,{value:n}]])]}getMediaType(){if(!this.mediaType.length)return``;for(let e=0;e<this.mediaType.length;e++){let t=this.mediaType[e];if(zg(t))return t[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?K(...this.modifier)+K(...this.mediaType)+K(...this.and)+this.media.toString():K(...this.modifier)+K(...this.mediaType)}indexOf(e){return e===this.media?`media`:-1}at(e){if(e===`media`)return this.media}walk(e,t){let n;if(t&&(n={...t}),this.media)return!1!==e({node:this.media,parent:this,state:n},`media`)&&this.media.walk(e,n)}toJSON(){return{type:this.type,string:this.toString(),modifier:this.modifier,mediaType:this.mediaType,and:this.and,media:this.media}}isMediaQueryWithType(){return e.isMediaQueryWithType(this)}static isMediaQueryWithType(t){return!!t&&t instanceof e&&t.type===J.MediaQueryWithType}},g_=class e{type=J.MediaQueryWithoutType;media;constructor(e){this.media=e}negateQuery(){let t=this.media;return t.media.type===J.MediaNot?[new e(new p_(t.media.media))]:(t.media.type!==J.MediaConditionListWithOr&&t.media.type!==J.MediaConditionListWithAnd||(t=new p_(new m_(t,[[q.Whitespace,` `,-1,-1,void 0],[q.OpenParen,`(`,-1,-1,void 0]],[[q.CloseParen,`)`,-1,-1,void 0]]))),`before`in t.media&&(t.media.hasLeadingSpace()||t.media.before.splice(0,0,[q.Whitespace,` `,-1,-1,void 0])),[new h_([[q.Ident,`not`,-1,-1,{value:`not`}],[q.Whitespace,` `,-1,-1,void 0]],[[q.Ident,`all`,-1,-1,{value:`all`}],[q.Whitespace,` `,-1,-1,void 0]],[[q.Ident,`and`,-1,-1,{value:`and`}]],t)])}tokens(){return this.media.tokens()}toString(){return this.media.toString()}indexOf(e){return e===this.media?`media`:-1}at(e){if(e===`media`)return this.media}walk(e,t){let n;return t&&(n={...t}),!1!==e({node:this.media,parent:this,state:n},`media`)&&this.media.walk(e,n)}toJSON(){return{type:this.type,string:this.toString(),media:this.media}}isMediaQueryWithoutType(){return e.isMediaQueryWithoutType(this)}static isMediaQueryWithoutType(t){return!!t&&t instanceof e&&t.type===J.MediaQueryWithoutType}},__=class e{type=J.MediaQueryInvalid;media;constructor(e){this.media=e}negateQuery(){return[new e(this.media)]}tokens(){return this.media.flatMap(e=>e.tokens())}toString(){return this.media.map(e=>e.toString()).join(``)}walk(e,t){if(this.media.length===0)return;let n=qg(this.media),r=0;for(;r<this.media.length;){let i=this.media[r],a;if(t&&(a={...t}),!1===e({node:i,parent:this,state:a},r)||`walk`in i&&this.media.includes(i)&&!1===i.walk(e,a))return!1;if(r=n(this.media,i,r),r===-1)break}}toJSON(){return{type:this.type,string:this.toString(),media:this.media}}isMediaQueryInvalid(){return e.isMediaQueryInvalid(this)}static isMediaQueryInvalid(t){return!!t&&t instanceof e&&t.type===J.MediaQueryInvalid}},v_=class e{type=J.GeneralEnclosed;value;constructor(e){this.value=e}tokens(){return this.value.tokens()}toString(){return this.value.toString()}hasLeadingSpace(){return jg(this.value.tokens()[0])}indexOf(e){return e===this.value?`value`:-1}at(e){if(e===`value`)return this.value}walk(e,t){let n;return t&&(n={...t}),!1!==e({node:this.value,parent:this,state:n},`value`)&&(`walk`in this.value?this.value.walk(e,n):void 0)}toJSON(){return{type:this.type,tokens:this.tokens()}}isGeneralEnclosed(){return e.isGeneralEnclosed(this)}static isGeneralEnclosed(t){return!!t&&t instanceof e&&t.type===J.GeneralEnclosed}},y_=class e{type=J.MediaAnd;modifier;media;constructor(e,t){this.modifier=e,this.media=t}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return K(...this.modifier)+this.media.toString()}hasLeadingSpace(){return jg(this.modifier[0])}indexOf(e){return e===this.media?`media`:-1}at(e){return e===`media`?this.media:null}walk(e,t){let n;return t&&(n={...t}),!1!==e({node:this.media,parent:this,state:n},`media`)&&this.media.walk(e,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaAnd(){return e.isMediaAnd(this)}static isMediaAnd(t){return!!t&&t instanceof e&&t.type===J.MediaAnd}},b_=class e{type=J.MediaConditionListWithAnd;leading;list;before;after;constructor(e,t,n=[],r=[]){this.leading=e,this.list=t,this.before=n,this.after=r}tokens(){return[...this.before,...this.leading.tokens(),...this.list.flatMap(e=>e.tokens()),...this.after]}toString(){return K(...this.before)+this.leading.toString()+this.list.map(e=>e.toString()).join(``)+K(...this.after)}hasLeadingSpace(){return this.before.length?jg(this.before[0]):this.leading.hasLeadingSpace()}indexOf(e){return e===this.leading?`leading`:e.type===J.MediaAnd?this.list.indexOf(e):-1}at(e){return e===`leading`?this.leading:typeof e==`number`?(e<0&&(e=this.list.length+e),this.list[e]):void 0}walk(e,t){let n;if(t&&(n={...t}),!1===e({node:this.leading,parent:this,state:n},`leading`)||`walk`in this.leading&&!1===this.leading.walk(e,n))return!1;if(this.list.length===0)return;let r=qg(this.list),i=0;for(;i<this.list.length;){let a=this.list[i];if(t&&(n={...t}),!1===e({node:a,parent:this,state:n},i)||`walk`in a&&this.list.includes(a)&&!1===a.walk(e,n))return!1;if(i=r(this.list,a,i),i===-1)break}}toJSON(){return{type:this.type,leading:this.leading.toJSON(),list:this.list.map(e=>e.toJSON()),before:this.before,after:this.after}}isMediaConditionListWithAnd(){return e.isMediaConditionListWithAnd(this)}static isMediaConditionListWithAnd(t){return!!t&&t instanceof e&&t.type===J.MediaConditionListWithAnd}},x_=class e{type=J.MediaConditionListWithOr;leading;list;before;after;constructor(e,t,n=[],r=[]){this.leading=e,this.list=t,this.before=n,this.after=r}tokens(){return[...this.before,...this.leading.tokens(),...this.list.flatMap(e=>e.tokens()),...this.after]}toString(){return K(...this.before)+this.leading.toString()+this.list.map(e=>e.toString()).join(``)+K(...this.after)}hasLeadingSpace(){return this.before.length?jg(this.before[0]):this.leading.hasLeadingSpace()}indexOf(e){return e===this.leading?`leading`:e.type===J.MediaOr?this.list.indexOf(e):-1}at(e){return e===`leading`?this.leading:typeof e==`number`?(e<0&&(e=this.list.length+e),this.list[e]):void 0}walk(e,t){let n;if(t&&(n={...t}),!1===e({node:this.leading,parent:this,state:n},`leading`)||`walk`in this.leading&&!1===this.leading.walk(e,n))return!1;if(this.list.length===0)return;let r=qg(this.list),i=0;for(;i<this.list.length;){let a=this.list[i];if(t&&(n={...t}),!1===e({node:a,parent:this,state:n},i)||`walk`in a&&this.list.includes(a)&&!1===a.walk(e,n))return!1;if(i=r(this.list,a,i),i===-1)break}}toJSON(){return{type:this.type,leading:this.leading.toJSON(),list:this.list.map(e=>e.toJSON()),before:this.before,after:this.after}}isMediaConditionListWithOr(){return e.isMediaConditionListWithOr(this)}static isMediaConditionListWithOr(t){return!!t&&t instanceof e&&t.type===J.MediaConditionListWithOr}};function S_(e){return!!(f_(e)&&Bg(e.value)||c_(e)&&C_.has(e.getName().toLowerCase()))}const C_=/* @__PURE__ */ new Set([`abs`,`acos`,`asin`,`atan`,`atan2`,`calc`,`calc-mix`,`clamp`,`cos`,`exp`,`hypot`,`log`,`max`,`min`,`mod`,`pow`,`rem`,`round`,`sign`,`sin`,`sqrt`,`tan`]);function w_(e){return f_(e)&&Ig(e.value)}function T_(e){return f_(e)&&zg(e.value)}function E_(e){return c_(e)&&e.getName().toLowerCase()===`env`}var D_=class e{type=J.MediaFeatureName;name;before;after;constructor(e,t=[],n=[]){this.name=e,this.before=t,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 K(...this.before)+this.name.toString()+K(...this.after)}indexOf(e){return e===this.name?`name`:-1}at(e){if(e===`name`)return this.name}toJSON(){return{type:this.type,name:this.getName(),tokens:this.tokens()}}isMediaFeatureName(){return e.isMediaFeatureName(this)}static isMediaFeatureName(t){return!!t&&t instanceof e&&t.type===J.MediaFeatureName}};function O_(e){let t=-1;for(let n=0;n<e.length;n++){let r=e[n];if(r.type!==Kg.Whitespace&&r.type!==Kg.Comment){if(!T_(r)||t!==-1)return!1;t=n}}return t!==-1&&new D_(e[t],e.slice(0,t).flatMap(e=>e.tokens()),e.slice(t+1).flatMap(e=>e.tokens()))}var k_=class e{type=J.MediaFeatureBoolean;name;constructor(e){this.name=e}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return this.name.tokens()}toString(){return this.name.toString()}indexOf(e){return e===this.name?`name`:-1}at(e){if(e===`name`)return this.name}toJSON(){return{type:this.type,name:this.name.toJSON(),tokens:this.tokens()}}isMediaFeatureBoolean(){return e.isMediaFeatureBoolean(this)}static isMediaFeatureBoolean(t){return!!t&&t instanceof e&&t.type===J.MediaFeatureBoolean}};function A_(e){let t=O_(e);return!1===t?t:new k_(t)}var j_=class e{type=J.MediaFeatureValue;value;before;after;constructor(e,t=[],n=[]){this.value=Array.isArray(e)&&e.length===1?e[0]:e,this.before=t,this.after=n}tokens(){return Array.isArray(this.value)?[...this.before,...this.value.flatMap(e=>e.tokens()),...this.after]:[...this.before,...this.value.tokens(),...this.after]}toString(){return Array.isArray(this.value)?K(...this.before)+this.value.map(e=>e.toString()).join(``)+K(...this.after):K(...this.before)+this.value.toString()+K(...this.after)}indexOf(e){return e===this.value?`value`:-1}at(e){return e===`value`?this.value:Array.isArray(this.value)&&typeof e==`number`?(e<0&&(e=this.value.length+e),this.value[e]):void 0}walk(e,t){if(Array.isArray(this.value)){if(this.value.length===0)return;let n=qg(this.value),r=0;for(;r<this.value.length;){let i=this.value[r],a;if(t&&(a={...t}),!1===e({node:i,parent:this,state:a},r)||`walk`in i&&this.value.includes(i)&&!1===i.walk(e,a))return!1;if(r=n(this.value,i,r),r===-1)break}}else{let n;if(t&&(n={...t}),!1===e({node:this.value,parent:this,state:n},`value`))return!1;if(`walk`in this.value)return this.value.walk(e,n)}}toJSON(){return Array.isArray(this.value)?{type:this.type,value:this.value.map(e=>e.toJSON()),tokens:this.tokens()}:{type:this.type,value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureValue(){return e.isMediaFeatureValue(this)}static isMediaFeatureValue(t){return!!t&&t instanceof e&&t.type===J.MediaFeatureValue}};function M_(e,t=!1){let n=-1,r=-1;for(let i=0;i<e.length;i++){let a=e[i];if(a.type!==Kg.Whitespace&&a.type!==Kg.Comment){if(n!==-1)return!1;if(S_(a)){let t=N_(e.slice(i));if(t!==-1){n=t[0]+i,r=t[1]+i,i+=t[1]-t[0];continue}n=i,r=i;continue}if(E_(a))n=i,r=i;else if(w_(a))n=i,r=i;else{if(t||!T_(a))return!1;n=i,r=i}}}return n!==-1&&new j_(e.slice(n,r+1),e.slice(0,n).flatMap(e=>e.tokens()),e.slice(r+1).flatMap(e=>e.tokens()))}function N_(e){let t=P_(e);if(t===-1)return-1;let n=t[0],r=t[1];for(let t=r+1;t<e.length;t++){let n=e[t];if(!d_(n))return-1}return[n,r]}function P_(e){let t=-1,n=-1;for(let r=0;r<e.length;r++){let i=e[r];if(!d_(i)){if(f_(i)){let e=i.value;if(Fg(e)&&e[4].value===`/`){if(t===-1||n!==-1)return-1;n=r;continue}}if(!S_(i))return-1;if(n!==-1)return[t,r];if(t!==-1)return-1;t=r}}return-1}var F_=class e{type=J.MediaFeaturePlain;name;colon;value;constructor(e,t,n){this.name=e,this.colon=t,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()+K(this.colon)+this.value.toString()}indexOf(e){return e===this.name?`name`:e===this.value?`value`:-1}at(e){return e===`name`?this.name:e===`value`?this.value:void 0}walk(e,t){let n;return t&&(n={...t}),!1!==e({node:this.value,parent:this,state:n},`value`)&&this.value.walk(e,n)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeaturePlain(){return e.isMediaFeaturePlain(this)}static isMediaFeaturePlain(t){return!!t&&t instanceof e&&t.type===J.MediaFeaturePlain}};function I_(e){let t=[],n=[],r=null;for(let i=0;i<e.length;i++){let a=e[i];if(a.type===Kg.Token){let o=a.value;if(Mg(o)){t=e.slice(0,i),n=e.slice(i+1),r=o;break}}}if(!t.length||!n.length||!r)return!1;let i=O_(t);if(!1===i)return!1;let a=M_(n);return!1!==a&&new F_(i,r,a)}var L_,R_,z_,B_;function V_(e){let t=-1;for(let n=0;n<e.length;n++){let r=e[n];if(r.type===Kg.Token){let e=r.value;if(Fg(e)){if(e[4].value===z_.EQ)return t===-1?[n,n]:[t,n];if(e[4].value===L_.LT||e[4].value===R_.GT){t=n;continue}}}break}return t!==-1&&[t,t]}function H_(e){if(e.length!==1&&e.length!==2||!Fg(e[0]))return!1;if(e.length===1)switch(e[0][4].value){case z_.EQ:return z_.EQ;case L_.LT:return L_.LT;case R_.GT:return R_.GT;default:return!1}if(!Fg(e[1])||e[1][4].value!==z_.EQ)return!1;switch(e[0][4].value){case L_.LT:return L_.LT_OR_EQ;case R_.GT:return R_.GT_OR_EQ;default:return!1}}(function(e){e.LT=`<`,e.LT_OR_EQ=`<=`})(L_||={}),function(e){e.GT=`>`,e.GT_OR_EQ=`>=`}(R_||={}),function(e){e.EQ=`=`}(z_||={});var U_=class e{type=J.MediaFeatureRangeNameValue;name;operator;value;constructor(e,t,n){this.name=e,this.operator=t,this.value=n}operatorKind(){return H_(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()+K(...this.operator)+this.value.toString()}indexOf(e){return e===this.name?`name`:e===this.value?`value`:-1}at(e){return e===`name`?this.name:e===`value`?this.value:void 0}walk(e,t){let n;return t&&(n={...t}),!1!==e({node:this.value,parent:this,state:n},`value`)&&(`walk`in this.value?this.value.walk(e,n):void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeNameValue(){return e.isMediaFeatureRangeNameValue(this)}static isMediaFeatureRangeNameValue(t){return!!t&&t instanceof e&&t.type===J.MediaFeatureRangeNameValue}},W_=class e{type=J.MediaFeatureRangeValueName;name;operator;value;constructor(e,t,n){this.name=e,this.operator=t,this.value=n}operatorKind(){return H_(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()+K(...this.operator)+this.name.toString()}indexOf(e){return e===this.name?`name`:e===this.value?`value`:-1}at(e){return e===`name`?this.name:e===`value`?this.value:void 0}walk(e,t){let n;return t&&(n={...t}),!1!==e({node:this.value,parent:this,state:n},`value`)&&(`walk`in this.value?this.value.walk(e,n):void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeValueName(){return e.isMediaFeatureRangeValueName(this)}static isMediaFeatureRangeValueName(t){return!!t&&t instanceof e&&t.type===J.MediaFeatureRangeValueName}},G_=class e{type=J.MediaFeatureRangeValueNameValue;name;valueOne;valueOneOperator;valueTwo;valueTwoOperator;constructor(e,t,n,r,i){this.name=e,this.valueOne=t,this.valueOneOperator=n,this.valueTwo=r,this.valueTwoOperator=i}valueOneOperatorKind(){return H_(this.valueOneOperator)}valueTwoOperatorKind(){return H_(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()+K(...this.valueOneOperator)+this.name.toString()+K(...this.valueTwoOperator)+this.valueTwo.toString()}indexOf(e){return e===this.name?`name`:e===this.valueOne?`valueOne`:e===this.valueTwo?`valueTwo`:-1}at(e){return e===`name`?this.name:e===`valueOne`?this.valueOne:e===`valueTwo`?this.valueTwo:void 0}walk(e,t){let n;return t&&(n={...t}),!1!==e({node:this.valueOne,parent:this,state:n},`valueOne`)&&(!(`walk`in this.valueOne)||!1!==this.valueOne.walk(e,n))&&(t&&(n={...t}),!1!==e({node:this.valueTwo,parent:this,state:n},`valueTwo`)&&(!(`walk`in this.valueTwo)||!1!==this.valueTwo.walk(e,n))&&void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),valueOne:this.valueOne.toJSON(),valueTwo:this.valueTwo.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeValueNameValue(){return e.isMediaFeatureRangeValueNameValue(this)}static isMediaFeatureRangeValueNameValue(t){return!!t&&t instanceof e&&t.type===J.MediaFeatureRangeValueNameValue}};function K_(e){let t=!1,n=!1;for(let r=0;r<e.length;r++){let i=e[r];if(i.type===Kg.Token){let a=i.value;if(Fg(a)){let i=V_(e.slice(r));if(!1!==i){if(!1!==t){n=[i[0]+r,i[1]+r];break}t=[i[0]+r,i[1]+r],r+=i[1]}}}}if(!1===t)return!1;let r=[e[t[0]].value];if(t[0]!==t[1]&&r.push(e[t[1]].value),!1===n){let n=e.slice(0,t[0]),i=e.slice(t[1]+1),a=O_(n);if(a){let e=M_(i,!0);return!!e&&new U_(a,r,e)}let o=O_(i);if(o){let e=M_(n,!0);return!!e&&new W_(o,r,e)}return!1}let i=[e[n[0]].value];n[0]!==n[1]&&i.push(e[n[1]].value);let a=e.slice(0,t[0]),o=e.slice(t[1]+1,n[0]),s=e.slice(n[1]+1),c=M_(a,!0),l=O_(o),u=M_(s,!0);if(!c||!l||!u)return!1;{let e=H_(r);if(!1===e||e===z_.EQ)return!1;let t=H_(i);if(!1===t||t===z_.EQ||!(e!==L_.LT&&e!==L_.LT_OR_EQ||t!==R_.GT&&t!==R_.GT_OR_EQ)||!(e!==R_.GT&&e!==R_.GT_OR_EQ||t!==L_.LT&&t!==L_.LT_OR_EQ))return!1}return new G_(l,c,r,u,i)}var q_=class e{type=J.MediaFeature;feature;before;after;constructor(e,t=[],n=[]){this.feature=e,this.before=t,this.after=n}getName(){return this.feature.getName()}getNameToken(){return this.feature.getNameToken()}tokens(){return[...this.before,...this.feature.tokens(),...this.after]}toString(){return K(...this.before)+this.feature.toString()+K(...this.after)}hasLeadingSpace(){return jg(this.before[0])}indexOf(e){return e===this.feature?`feature`:-1}at(e){if(e===`feature`)return this.feature}walk(e,t){let n;return t&&(n={...t}),!1!==e({node:this.feature,parent:this,state:n},`feature`)&&(`walk`in this.feature?this.feature.walk(e,n):void 0)}toJSON(){return{type:this.type,feature:this.feature.toJSON(),before:this.before,after:this.after}}isMediaFeature(){return e.isMediaFeature(this)}static isMediaFeature(t){return!!t&&t instanceof e&&t.type===J.MediaFeature}};function J_(e,t=[],n=[]){if(!Hg(e.startToken))return!1;let r=A_(e.value);if(!1!==r)return new q_(r,t,n);let i=I_(e.value);if(!1!==i)return new q_(i,t,n);let a=K_(e.value);return!1!==a&&new q_(a,t,n)}var Y_=class e{type=J.MediaNot;modifier;media;constructor(e,t){this.modifier=e,this.media=t}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return K(...this.modifier)+this.media.toString()}hasLeadingSpace(){return this.modifier.length?jg(this.modifier[0]):this.media.hasLeadingSpace()}indexOf(e){return e===this.media?`media`:-1}at(e){if(e===`media`)return this.media}walk(e,t){let n;return t&&(n={...t}),!1!==e({node:this.media,parent:this,state:n},`media`)&&this.media.walk(e,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaNot(){return e.isMediaNot(this)}static isMediaNot(t){return!!t&&t instanceof e&&t.type===J.MediaNot}},X_=class e{type=J.MediaOr;modifier;media;constructor(e,t){this.modifier=e,this.media=t}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return K(...this.modifier)+this.media.toString()}indexOf(e){return e===this.media?`media`:-1}at(e){if(e===`media`)return this.media}walk(e,t){let n;return t&&(n={...t}),!1!==e({node:this.media,parent:this,state:n},`media`)&&this.media.walk(e,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaOr(){return e.isMediaOr(this)}static isMediaOr(t){return!!t&&t instanceof e&&t.type===J.MediaOr}};function Z_(e){if(!zg(e))return!1;switch(e[4].value.toLowerCase()){case B_.Not:return B_.Not;case B_.Only:return B_.Only;default:return!1}}(function(e){e.Not=`not`,e.Only=`only`})(B_||={});function Q_(e){if(e.length>3e4)throw Error(`Maximum number of component values in a media query (30000) exceeded, reduce the complexity of your media query`);{let t=ev(e);if(!1!==t)return new g_(t)}{let t=-1,n=-1,r=-1;for(let i=0;i<e.length;i++){let a=e[i];if(!l_(a)&&!u_(a)){if(f_(a)){let o=a.value;if(t===-1&&zg(o)&&Z_(o)){t=i;continue}if(n===-1&&zg(o)&&!Z_(o)){n=i;continue}if(r===-1&&zg(o)&&cv.test(o[4].value)){if(r=i,!1===tv(e.slice(i+1)))return!1;break}return!1}return!1}}let i=[],a=[];t===-1?n!==-1&&(a=e.slice(0,n+1).flatMap(e=>e.tokens())):(i=e.slice(0,t+1).flatMap(e=>e.tokens()),n!==-1&&(a=e.slice(t+1,n+1).flatMap(e=>e.tokens())));let o=tv(e.slice(Math.max(t,n,r)+1));return!1===o?new h_(i,[...a,...e.slice(n+1).flatMap(e=>e.tokens())]):new h_(i,a,e.slice(n+1,r+1).flatMap(e=>e.tokens()),o)}}function $_(e,t){let n=!1,r=!1,i=[],a=-1,o=-1;for(let s=0;s<e.length;s++){if(n&&!1===r){let n=lv(e.slice(s));if(!1!==n){r=`and`,s+=n.advance,i.push(n.node),o=s;continue}if(t){let t=sv(e.slice(s));if(!1!==t){r=`or`,s+=t.advance,i.push(t.node),o=s;continue}}}if(n&&r){let t=r===`and`?lv(e.slice(s)):sv(e.slice(s));if(!1!==t){s+=t.advance,i.push(t.node),o=s;continue}}let c=e[s];if(c.type!==Kg.Whitespace&&c.type!==Kg.Comment){if(n||!s_(c)||(c.normalize(),n=rv(c),!1===n))return!1;a=s}}if(n&&i.length){let t=e.slice(0,a).flatMap(e=>e.tokens()),s=e.slice(o+1).flatMap(e=>e.tokens());return r===`and`?new b_(n,i,t,s):new x_(n,i,t,s)}return!1}function ev(e){let t=av(e);if(!1!==t)return new p_(t);let n=nv(e);if(!1!==n)return new p_(n);let r=$_(e,!0);return!1!==r&&new p_(r)}function tv(e){let t=av(e);if(!1!==t)return new p_(t);let n=nv(e);if(!1!==n)return new p_(n);let r=$_(e,!1);return!1!==r&&new p_(r)}function nv(e){let t=-1;for(let n=0;n<e.length;n++){let r=e[n];if(r.type!==Kg.Whitespace&&r.type!==Kg.Comment){if(!s_(r)||t!==-1)return!1;t=n}}if(t===-1)return!1;let n=e[t];if(!Hg(n.startToken))return!1;n.normalize();let r=[...e.slice(0,t).flatMap(e=>e.tokens()),n.startToken],i=[n.endToken,...e.slice(t+1).flatMap(e=>e.tokens())],a=J_(n,r,i);if(!1!==a)return new m_(a);let o=ev(n.value);return!1===o?new m_(new v_(n),e.slice(0,t).flatMap(e=>e.tokens()),e.slice(t+1).flatMap(e=>e.tokens())):new m_(o,r,i)}function rv(e){if(!Hg(e.startToken))return!1;let t=J_(e,[e.startToken],[e.endToken]);if(!1!==t)return new m_(t);let n=ev(e.value);return!1===n?new m_(new v_(e)):new m_(n,[e.startToken],[e.endToken])}const iv=/^not$/i;function av(e){let t=!1,n=null;for(let r=0;r<e.length;r++){let i=e[r];if(i.type!==Kg.Whitespace&&i.type!==Kg.Comment){if(T_(i)){let e=i.value;if(iv.test(e[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&s_(i)){i.normalize();let t=rv(i);if(!1===t)return!1;n=new Y_(e.slice(0,r).flatMap(e=>e.tokens()),t);continue}return!1}}return n||!1}const ov=/^or$/i;function sv(e){let t=!1;for(let n=0;n<e.length;n++){let r=e[n];if(r.type!==Kg.Whitespace&&r.type!==Kg.Comment){if(T_(r)){let e=r.value;if(ov.test(e[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&s_(r)){r.normalize();let t=rv(r);return!1!==t&&{advance:n,node:new X_(e.slice(0,n).flatMap(e=>e.tokens()),t)}}return!1}}return!1}const cv=/^and$/i;function lv(e){let t=!1;for(let n=0;n<e.length;n++){let r=e[n];if(r.type!==Kg.Whitespace&&r.type!==Kg.Comment){if(T_(r)){let e=r.value;if(cv.test(e[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&s_(r)){r.normalize();let t=rv(r);return!1!==t&&{advance:n,node:new y_(e.slice(0,n).flatMap(e=>e.tokens()),t)}}return!1}}return!1}function uv(e,t){let n=o_(e,{onParseError:t?.onParseError});return n.map((e,r)=>{let i=Q_(e);return!1===i&&!0===t?.preserveInvalidMediaQueries?new __(n[r]):i}).filter(e=>!!e)}function dv(e){return v_.isGeneralEnclosed(e)}function fv(e){return k_.isMediaFeatureBoolean(e)}function pv(e){return G_.isMediaFeatureRangeValueNameValue(e)}function mv(e){return q_.isMediaFeature(e)}function hv(e){return __.isMediaQueryInvalid(e)}var gv;(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`})(gv||={});const _v=[q.CloseParen,`)`,-1,-1,void 0];function vv(e){let t=e.value.value;if(Ag(t)||t.length===0||Ag(t[0]))return[];let n=[],r=!1;for(let e of t)if(e&&f_(e)){if(e.value[0]===q.Delim&&e.value[4].value===`$`){r=!0;continue}if(r){r=!1;continue}n.push(e.value)}return n}function yv(e){let t=[],n=e;for(;n&&(s_(n)||c_(n));){let e=c_(n)?_v:pg(n.startToken),r=n.endToken;if(!e||r?.[0]===e[0])break;t.unshift(e),n=n.value.at(-1)}return t.length===0?e.tokens():[...e.tokens().filter(e=>Ag(e)),...t]}function bv(e){return o_(e).flatMap(e=>e.flatMap(e=>!s_(e)||e.startToken[0]!==q.OpenParen?[]:uv(yv(e),{preserveInvalidMediaQueries:!0}).filter(e=>!hv(e))))}function xv(e,t){let n=Sg({css:e});for(let e of bv(n))e.walk(({node:e})=>{if(mv(e)){let n=e.getNameToken();if(n[0]!==q.Ident)return;t(n)}if(dv(e)){let n=vv(e);for(let e=0;e<n.length;e+=1){let r=n[e];if(!r||r[0]!==q.Ident)continue;let i=n[e+1],a=n[e-1];(!a&&i&&i[0]===q.Colon||i&&i[0]===q.Delim&&Tc.test(i[4].value)||a&&a[0]===q.Delim&&Tc.test(a[4].value))&&t(r)}}});return{stringify(){return K(...n)}}}function Sv(e){let t=e.tokens().filter(e=>e[0]!==q.Whitespace&&e[0]!==q.Comment),n=t[0],r=t.at(-1);if(n&&r)return{start:n[2],end:r[3]+1}}function Cv(e,t){let n=[];for(let r of bv(Sg({css:e})))r.walk(({node:e})=>{if(!mv(e))return;let{feature:r}=e;if(fv(r)||!t.has(r.getName().toLowerCase()))return;let i=pv(r)?[r.valueOne,r.valueTwo]:[r.value];for(let e of i){let t=Sv(e);t&&n.push(t)}});return n.toSorted((e,t)=>e.start-t.start)}function Y(e){return`https://stylelint-stylistic.github.io/rules/${e}`}function wv(e){return!P.test(e)}function Tv(e){let t=Array.isArray(e)?e[0]:e;return typeof t==`number`?String(t):typeof t==`string`||t===!0?t:void 0}function Ev(e,t,n){let r=t.stylelint?.config?.rules??{},i=kv(n),a=e.root(),o=[];for(let e of Object.keys(r)){let n=i.get(e);if(!n)continue;let{key:s,rule:c,syntax:l}=n,u=r[e],d=Tv(u);d!==void 0&&c.options.includes(d)&&Bm(c.name,a,t)===e&&o.push({key:s,option:d,setting:u,name:e,syntax:l})}function s(e){return Ch(n[e.key].name,e.syntax.namespace,e.option)}let c=o.filter(({option:e})=>!Th(e)),l=o.filter(({option:e})=>Th(e)).toSorted((e,t)=>yh(s(e),s(t)));return[...c,...l]}function Dv(e,t,n){return Ev(e,t,n).map(({key:e,option:t,setting:n,name:r})=>[e,t,Av(n),r])}let Ov=/* @__PURE__ */ new WeakMap;function kv(e){let t=Ov.get(e);if(t)return t;let n=/* @__PURE__ */ new Map;for(let t of[B,...Pm])for(let[r,i]of Object.entries(e))n.set(Im(i.name,t.namespace),{key:r,rule:i,syntax:t});return Ov.set(e,n),n}function Av(e){if(!Array.isArray(e))return!1;let t=e[1];return typeof t==`object`&&!!t&&!!t.disableFix}function jv(e,t){return e===`always`||e===`never`?!0:e===`always-single-line`||e===`never-single-line`?t():e===`always-multi-line`||e===`never-multi-line`?!t():!1}let Mv=/* @__PURE__ */ new WeakMap;function Nv(e,t,n){let r=Mv.get(n);return r||(r={copy:n},Mv.set(n,r)),Ev(e,t,r).map(({option:e,setting:t,name:n,syntax:r})=>{let i=Array.isArray(t)?t[1]:void 0;return{option:e,fixDisabled:Av(t),secondary:typeof i==`object`&&i?i:{},name:n,syntax:r}})}const Pv={name:`linebreaks`,options:[`unix`,`windows`]},Fv={unix:`
|
|
66
|
+
`,windows:`\r
|
|
67
|
+
`};let Iv=/* @__PURE__ */ new WeakMap;function Lv(e){let t=e.root().source?.input;if(!t)return;if(Iv.has(t))return Iv.get(t);let n=t.css.match(Lo),r=n?n[0]:void 0;return Iv.set(t,r),r}function X(e,t){let n=Nv(e,t,Pv)[0]?.option;return n===void 0?Lv(e)??`
|
|
68
|
+
`:Fv[n]}function Rv(e,t,n,r,i=``){let a=Dv(e,t,n).filter(([,e])=>jv(e,r));if(a.length===0)return i;let o=new Set(a.filter(([,e])=>e.startsWith(`always`)).map(([e])=>e));return o.has(`newline`)?X(e,t):o.has(`space`)?` `:``}let{utils:{validateOptions:zv}}=t,Bv=`aspect-ratio-notation`;const Vv=W({expected:(e,t)=>`Expected "${e}" to be "${t}"`});let Hv={url:Y(Bv),fixable:!0};const Uv=[`always`,`never`,`always-single-line`,`never-single-line`],Wv=[`always`,`always-multi-line`,`never-multi-line`],Gv=[`always`,`never`],Kv={space:{name:`value-slash-space-before`,options:Uv},newline:{name:`value-slash-newline-before`,options:Wv}},qv={space:{name:`value-slash-space-after`,options:Uv},newline:{name:`value-slash-newline-after`,options:Wv}},Jv={space:{name:`media-feature-slash-space-before`,options:Gv}},Yv={space:{name:`media-feature-slash-space-after`,options:Gv}};function Xv({ruleName:e,messages:t,syntax:n},r,i={}){return(a,o)=>{if(!zv(o,e,{actual:r,possible:[`ratio`,`number-where-possible`,`as-written`]},{actual:i,possible:{smallestIntegers:[yu],ignore:[`at-rules`]},optional:!0}))return;let s=i.smallestIntegers??!1;if(r===`as-written`&&!s)return;a.walkDecls(Io,e=>{c(e,n.read(e),V(e),t=>n.write(e,t),{before:Kv,after:qv,isSingleLine:()=>wv(rp(n,e))})}),H(i,`ignore`,`at-rules`)||a.walkAtRules(cc,e=>{if(!n.isStandardAtRule(e))return;let t=n.read(e),r={before:Jv,after:Yv,isSingleLine:()=>wv(t)};for(let{start:i,end:a}of Cv(t,Fo).toReversed())c(e,t.slice(i,a),ep(e)+i,t=>{let r=n.read(e);n.write(e,r.slice(0,i)+t+r.slice(a))},r)});function c(i,a,c,l,u){let d=n.commentSpans(a,i,o),f=Zv((0,No.default)(z(a,d)).nodes);if(!f)return;let{width:p,height:m}=f,[h,g,_]=Qv(p.value,m?.value,s),v=$v(r,!!m,_),y=[];if(p.value!==h&&y.push({start:p.sourceIndex,end:p.sourceEndIndex,text:h}),v&&m&&m.value!==g&&y.push({start:m.sourceIndex,end:m.sourceEndIndex,text:g}),v&&!m){let e=Rv(i,o,u.before,u.isSingleLine,` `),t=Rv(i,o,u.after,u.isSingleLine,` `);y.push({start:p.sourceEndIndex,end:p.sourceEndIndex,text:`${e}/${t}${g}`})}if(!v&&m&&y.push({start:p.sourceEndIndex,end:m.sourceEndIndex,text:``}),y.length===0)return;let b=p.sourceIndex,x=m?m.sourceEndIndex:p.sourceEndIndex,S=a.slice(b,x),C=Zf(S,y.map(e=>({...e,start:e.start-b,end:e.end-b})));U({message:t.expected,messageArgs:[S,C],node:i,index:c+b,endIndex:c+x,result:o,ruleName:e,...!y.some(e=>iy(e,d))&&{fix:()=>l(Zf(a,y))}})}}}function Zv(e){let t=[],n=!1,r=!1,i=!1;for(let a of e)if(a.type!==`space`){if(a.type===`word`&&a.value.toLowerCase()===`auto`){if(n)return;n=!0,r=t.length>0}else if(a.type===`div`&&a.value===`/`){if(i||r||t.length!==1)return;i=!0}else if(a.type===`word`&&dc.test(a.value)){if(r||t.length===2||t.length===1&&!i)return;t.push(a)}else return}if(i&&t.length!==2)return;let[a,o]=t;if(a)return{width:a,height:o}}function Qv(e,t,n){let r=t??`1`,i=n?ey(e,r):void 0;if(!i)return[e,r,ny(r)];let[a,o]=i,s=ry(a,o),c=o/s;return[`${a/s}`,`${c}`,c===1n]}function $v(e,t,n){return e===`ratio`?!0:e===`number-where-possible`?!n:t||!n}function ey(e,t){let[n,r]=ty(e),[i,a]=ty(t),o=Math.max(r,a),s=BigInt(n)*10n**BigInt(o-r),c=BigInt(i)*10n**BigInt(o-a);if(s!==0n&&c!==0n)return[s,c]}function ty(e){let t=e.indexOf(`.`);return t===-1?[e,0]:[`${e.slice(0,t)}${e.slice(t+1)}`,e.length-t-1]}function ny(e){let[t,n]=ty(e);return BigInt(t)===10n**BigInt(n)}function ry(e,t){let n=e,r=t;for(;r!==0n;){let e=n%r;n=r,r=e}return n}function iy(e,t){return t.some(({start:t,end:n})=>t<e.end&&n>e.start)}let ay=G({shortName:Bv,meta:Hv,messages:Vv,rule:Xv}),{ruleName:oy,messages:sy}=ay(B);function cy(e,t){return t===`lower`?e.replaceAll(Ko,e=>e.toLowerCase()):e.replaceAll(Go,e=>e.toUpperCase())}let{utils:{validateOptions:ly}}=t,uy=`at-rule-name-case`;const dy=W({expected:(e,t)=>`Expected "${e}" to be "${t}"`});let fy={url:Y(uy),fixable:!0};function py({ruleName:e,messages:t,syntax:n},r){return(i,a)=>{if(!ly(a,e,{actual:r,possible:n.readsUpperCaseAtRuleName()?[`lower`,`upper`]:[`lower`]}))return;let o=r;i.walkAtRules(r=>{if(!n.isStandardAtRule(r))return;let i=r.name,s=cy(i,o);i!==s&&U({message:t.expected,messageArgs:[i,s],node:r,ruleName:e,result:a,fix(){r.name=s}})})}}let my=G({shortName:uy,meta:fy,messages:dy,rule:py}),{ruleName:hy,messages:gy}=my(B);function _y(e){e.root.walkAtRules(n=>{e.syntax.isStandardAtRule(n)&&t(`@${n.name}${n.raws.afterName||``}${n.params}`,n.name.length,n)});function t(t,n,r){e.locationChecker({source:t,index:n,err:t=>{let i=e.syntax.readsWhitespaceBehindAtRuleName(r)?null:e.fix;U({message:t,node:r,index:n,endIndex:n,result:e.result,ruleName:e.checkedRuleName,...i&&{fix:()=>i(r)}})},errTarget:`@${r.name}`})}}function vy(e){return e===`
|
|
69
|
+
`}function yy(e,t){Eu(t),e.err(t(e.errTarget||e.source.charAt(e.index)))}function by(e,t,n){let r=e.textBefore??``,i=r+e.source,a=e.index+r.length,o=t===`newline`?vy:()=>!1,s=a-1;for(;!o(i[s]);)if(i[s]===` `||i[s]===` `)--s;else{Eu(n),e.err(n(e.errTarget||i.charAt(a)));return}}function xy(e,t,n){if(e.allowIndentation){by(e,t,n);return}let r=e.textBefore??``,i=r+e.source,a=e.index+r.length,o=i[a-1],s=i[a-2];xu(o)&&e.textBefore===void 0||(t!==`space`||o!==` `||!e.onlyOneChar&&!xu(s)&&rd(s))&&yy(e,n)}function Sy(e,t){let n=e.textBefore??``,r=(n+e.source)[e.index+n.length-1];!xu(r)&&rd(r)&&yy(e,t)}function Cy(e,t,n){let{source:r,index:i}=e,a=r[i+1],o=r[i+2],s=r[i+3];xu(a)||t===`newline`&&(a===`\r`&&o===`
|
|
70
|
+
`&&(e.onlyOneChar||xu(s)||!rd(s))||vy(a)&&(e.onlyOneChar||xu(o)||!rd(o)))||(t!==`space`||a!==` `||!e.onlyOneChar&&!xu(o)&&rd(o))&&yy(e,n)}function wy(e,t){let n=e.source[e.index+1];!xu(n)&&rd(n)&&yy(e,t)}const Ty=/* @__PURE__ */ new Set([`always`,`never`,`always-single-line`,`always-multi-line`,`never-single-line`,`never-multi-line`]);function Ey(e,t){return e.endsWith(`-single-line`)?wv(t):!e.endsWith(`-multi-line`)||!wv(t)}function Dy(e,t,n){let r=t.startsWith(`always`)?`expected`:`rejected`;return e[`${r}${n}${t.endsWith(`-single-line`)?`SingleLine`:t.endsWith(`-multi-line`)?`MultiLine`:``}`]??e[`${r}${n}`]}function Z(e,t,n){function r(r){let{source:i,lineCheckStr:a,onlyOneChar:o=!1,allowIndentation:s=!1}=r;if(!Ty.has(t))throw Lm(`Unknown expectation "${t}"`);if(!Ey(t,a??i))return;let c={...r,onlyOneChar:o,allowIndentation:s},l=Dy(n,t,`Before`);t.startsWith(`always`)?xy(c,e,l):Sy(c,l)}function i(r){let{source:i,lineCheckStr:a,onlyOneChar:o=!1}=r;if(!Ty.has(t))throw Lm(`Unknown expectation "${t}"`);if(!Ey(t,a??i))return;let s={...r,onlyOneChar:o,allowIndentation:!1},c=Dy(n,t,`After`);t.startsWith(`always`)?Cy(s,e,c):wy(s,c)}function a(e){r({...e,allowIndentation:!0})}function o(e){i({...e,onlyOneChar:!0})}return{before:r,beforeAllowingIndentation:a,after:i,afterOneOnly:o}}let{utils:{validateOptions:Oy}}=t,ky=`at-rule-name-newline-after`;const Ay=W({expectedAfter:e=>`Expected newline after at-rule name "${e}"`});let jy={url:Y(ky),fixable:!0};function My({ruleName:e,messages:t,syntax:n},r){let i=Z(`newline`,r,t);return(t,a)=>{Oy(a,e,{actual:r,possible:[`always`,`always-multi-line`]})&&_y({root:t,result:a,syntax:n,locationChecker:i.afterOneOnly,checkedRuleName:e,fix:e=>{let{afterName:t}=e.raws;if(typeof t!=`string`)return;let[n]=t.match(tc),r=n.search(P);e.raws.afterName=r>=0?t.slice(r):X(e,a)+t}})}}let Ny=G({shortName:ky,meta:jy,messages:Ay,rule:My}),{ruleName:Py,messages:Fy}=Ny(B),{utils:{validateOptions:Iy}}=t,Ly=`at-rule-name-space-after`;const Ry=W({expectedAfter:e=>`Expected single space after at-rule name "${e}"`});let zy={url:Y(Ly),fixable:!0};function By({ruleName:e,messages:t,syntax:n},r){let i=Z(`space`,r,t);return(t,a)=>{Iy(a,e,{actual:r,possible:[`always`,`always-single-line`]})&&_y({root:t,result:a,syntax:n,locationChecker:i.after,checkedRuleName:e,fix:e=>{typeof e.raws.afterName==`string`&&(e.raws.afterName=e.raws.afterName.replace(tc,` `))}})}}let Vy=G({shortName:Ly,meta:zy,messages:Ry,rule:By}),{ruleName:Hy,messages:Uy}=Vy(B);function Wy(e,t){let n=t.stylelint?.config?.rules;if(!n)return!1;for(let[r,i]of Object.entries(n)){if(r.slice(r.lastIndexOf(`/`)+1)!==`comment-empty-line-before`||(Array.isArray(i)?i[0]:i)!==`always`)continue;let n=Array.isArray(i)?i[1]:void 0,a=typeof n==`object`&&n?n:{};if(!(Gy(a.except,`first-nested`)&&Ky(e))&&!(Gy(a.ignore,`stylelint-commands`)&&Jy(e,t))&&!(Gy(a.ignore,`after-comment`)&&Xy(e))&&!Yy(e.text,a.ignoreComments))return!0}return!1}function Gy(e,t){return e===t||Array.isArray(e)&&e.includes(t)}function Ky(e){let t=e.parent,n=t?.first;return!t||t.type===`root`&&t.parent?.type!==`document`?!1:n===e?!0:!n||n.type!==`comment`||P.test(n.raws.before??``)||!n.source?.start||n.source.end?.line!==n.source.start.line?!1:qy(t.nodes??[],e,n.source.start.line)}function qy(e,t,n){let r=e[0];for(let i of e)if(i!==r){if(i===t)return!0;if(i.type!==`comment`||i.source?.end?.line!==n)return!1}return!1}function Jy(e,t){let n=t.stylelint?.config?.configurationComment??`stylelint`,r=e.text.trim().match(Vs)?.[0]??``,i=r.slice(n.length);return r.startsWith(`${n}-`)&&[`-disable`,`-disable-line`,`-disable-next-line`,`-enable`].includes(i)}function Yy(e,t){return(Array.isArray(t)?t:[t]).some(t=>{if(t instanceof RegExp)return e.match(t)!==null;if(typeof t!=`string`)return!1;if(t.startsWith(`/`)&&(t.endsWith(`/`)||t.endsWith(`/i`))){let n=t.endsWith(`/i`),r=new RegExp(t.slice(1,n?-2:-1),n?`i`:``);return e.match(r)!==null}return e===t})}function Xy(e){let t=e.prev();return t?.type===`comment`&&!Zy(t)}function Zy(e){if(tb(Qy(e),e))return!0;let t=$y(e);if(t&&tb(e,t))return!0;let n=e.parent;return!(!n||n.type===`root`||n.first!==e||e.raws.before===void 0||P.test(e.raws.before))}function Qy(e){let t=e.prev();if(t?.type!==`comment`)return t;if(eb(e)===eb(t))return Qy(t);let n=t.prev();return n&&eb(t)===eb(n)?Qy(t):t}function $y(e){let t=e.next();return t?.type===`comment`&&(eb(e)===eb(t)||eb(t)===eb(t.next()))?$y(t):t}function eb(e){return e?.source?.start?.line}function tb(e,t){return e?.source?.end?.line===t?.source?.start?.line}function nb(e,t){let n=e;for(;n&&n.next;){if(!hu(n))return n;let e=n.next();t?.(n,e),n=e}return null}function rb(){throw Error(`The run in front of a node is read without printing the node`)}let ib=new Fh.default(rb);function ab(e){let{before:t}=e.raws;if(typeof t==`string`)return t;let n=ib.raw(e,`before`);return typeof n==`string`?n:``}let ob=/* @__PURE__ */ new WeakMap;function sb(e,t,n){return cb(e,t).some(e=>e.start<=n&&(e.end===void 0||e.end>=n))}function cb(e,t){let n=e.stylelint;if(n?.config?.ignoreDisables)return[];let r=n?.disabledRanges?.[t]??n?.disabledRanges?.all??[],i=ob.get(r)??/* @__PURE__ */ new Map,a=i.get(t)??r.filter(e=>!e.rules||e.rules.includes(t));return i.set(t,a),ob.set(r,i),a}function lb(e){if(!pu(e))return!1;let{source:t}=e;return!!(t&&`inline`in t&&t.inline)}function ub(e){let t=e.source?.end?.offset,n=e.source?.input.css;if(t===void 0||n===void 0)return;let r=`last`in e?e.last:void 0;if(r?.source&&r.source.input!==e.source?.input)return;let i=e.raws.ownSemicolon,a=e.root().source?.start?.offset??0,o=typeof i==`string`&&i.length>0?`;`:`}`;return n[t-a-1]===o?t:void 0}var db=/* @__PURE__ */ h((/* @__PURE__ */ p(((e,t)=>{var n=`skip`,r=`only`;t.exports=function(e,t){var i=e.source,a=e.target,o=!e.comments||e.comments===n,s=!e.strings||e.strings===n,c=!e.functionNames||e.functionNames===n,l=e.functionArguments===n,u=e.parentheticals===n,d=!1;Object.keys(e).forEach(function(t){if(e[t]===r){if(!d)d=!0;else throw Error(`Only one syntax feature option can be the "only" one to check`)}});var f=e.comments===r,p=e.strings===r,m=e.functionNames===r,h=e.functionArguments===r,g=e.parentheticals===r,_=!1,v=!1,y=!1,b=!1,x=!1,S=0,C=0,w,T=Array.isArray(a),E=(function(){return T?function(e){for(var t=0,n=a.length;t<n;t++){var r=ee(a[t],e);if(r)return r}return!1}:ee.bind(null,a)})();function ee(e,t){var n=e.length;return n===1&&i[t]!==e||i.substr(t,n)!==e?!1:{insideParens:b,insideFunctionArguments:x,insideComment:v,insideString:_,startIndex:t,endIndex:t+n,target:e}}for(var D=0,te=i.length;D<te;D++){var ne=i[D];if(!_&&!v&&ne===`/`&&i[D-1]!==`\\`){if(i[D+1]===`*`){v=!0;continue}if(i[D+1]===`/`){v=!0,y=!0;continue}}if(v){if(!y&&ne===`*`&&i[D-1]!==`\\`&&i[D+1]===`/`&&i[D-1]!==`/`){v=!1;continue}if(y&&ne===`
|
|
71
|
+
`&&(v=!1,y=!1),o)continue}if(!v&&!_&&(ne===`"`||ne===`'`)){if(i[D-1]===`\\`)continue;w=ne,_=!0,a===ne&&O(E(D))}else{if(_){if(ne===w){if(i[D-1]===`\\`)continue;_=!1;continue}if(s)continue}if(!_&&!v&&ne===`(`)S++,b=!0,/[a-zA-Z]/.test(i[D-1])&&(x=!0),a===`(`&&O(E(D));else if(b&&ne===`)`)S--,a===`)`&&O(E(D)),S===0&&(b=!1,x=!1);else{var re=/^[a-zA-Z]*\(/.test(i.slice(D));if(!(c&&re)&&(!m||re)){var ie=E(D);if(ie&&(O(ie),e.once))return}}}}function O(e){g&&!b||u&&b||h&&!x||l&&x||p&&!_||f&&!v||(C++,t(e,C))}}})))(),1);function fb(e,t){return I(t)?e.isStandardAtRule(t)||Hs.test(t.name):!mu(t)||e.isStandardRule(t)}function pb(e,t,n,r){let i=t.raws[n],a=e.commentTextHead(t,n,r);if(a===null||typeof i!=`string`)return()=>!1;let o=i.indexOf(`;`,a.length);return e=>e<a.length||e===o}function mb(e,t,n){let r=t.raws.after;if(typeof r!=`string`||r.trim().length===0||!fb(e,t))return[];let i=`last`in t?t.last:void 0;if(t.type!==`root`&&i&&I(i)&&!fb(e,i))return[];let a=pb(e,t,`after`,n),o=[];return(0,db.default)({source:r,target:`;`},e=>{a(e.startIndex)||o.push(e.startIndex)}),o}function hb(e,t,n){let r=t.raws.before;if(typeof r!=`string`||r.trim().length===0||!fb(e,t))return[];let i=pb(e,t,`before`,n),a=[];return(0,db.default)({source:r,target:`;`},e=>{i(e.startIndex)||a.push(e.startIndex)}),a}function gb(e,t){let n=t.raws.ownSemicolon;if(typeof n!=`string`||!fb(e,t))return[];let r=[];return(0,db.default)({source:n,target:`;`},e=>{r.push(e.startIndex)}),r}function _b(e,t,n,r,i=/* @__PURE__ */ new Set){let a=(n.slice(r+1).match(gs)??[]).length;for(let n=e.lastIndexOf(`;`,t-1);n>=0;n=e.lastIndexOf(`;`,n-1))if(!i.has(n)){if(a===0)return n;--a}}const vb={name:`no-extra-semicolons`,options:[!0]};function yb(e,t,n,r,i){let a=n-1,o=t.length-1;for(;a>=r&&o>=0;--a)if(e.charAt(a)===t.charAt(o))--o;else if(e.charAt(a)===`;`)i.add(a);else if(!Nc.test(e.charAt(a)))return;let s=[];for(;a>=r&&(e.charAt(a)===`;`||Nc.test(e.charAt(a)));--a)e.charAt(a)===`;`&&s.push(a);let c=s.at(-1);c!==void 0&&c>0&&!ml.test(e.charAt(c-1))&&s.pop();for(let e of s)i.add(e)}function bb(e,t,n){if(!e)return 0;let r=`nodes`in e?ub(e):e.source?.end?.offset,i=e.source?.start?.offset,a=i===void 0?0:i+Up(e,n).length;return Math.max(r??0,a)-t}function xb(e,t,n,r){let i=e?.source?.start?.offset;if(!e||i===void 0||hu(e)||`nodes`in e)return;let a=Up(e,r),o=i-n,s=0;for(;s<a.length&&a[s]===t[o+s];)s+=1;let c=e.source?.end?.offset,l=c===void 0?``:t.slice(o,c-n).replace(Hc,``).replace(F,``);if(!(s===a.length||s<l.length))return{tail:a.slice(s),start:o+s}}let Sb=/* @__PURE__ */ new WeakMap;function Cb(e,t,n,r,i,a,o){let s=o.stylelint??o,c=Sb.get(s)??/* @__PURE__ */ new WeakMap,l=c.get(e)??/* @__PURE__ */ new Map,u=`${r}:${i}:${a}:${n}`,d=l.get(u);if(Sb.set(s,c),c.set(e,l),d)return new Set(d);let f=wb(e,t,n,r,i,a,o);return l.set(u,f),new Set(f)}function wb(e,t,n,r,i,a,o){let s=/* @__PURE__ */ new Set;if(yb(t,n,r,i,s),!a)return s;let c=[...t.slice(i,r).matchAll(gs)].map(({index:e})=>i+e).filter(e=>e===0||ml.test(t.charAt(e-1))||t.slice(e-2,e)===`*/`),l=c.length-(n.match(gs)??[]).length;if(l<=0||s.size>=l)return s;let u=Nv(e,o,vb).filter(({fixDisabled:e})=>!e).map(({name:e})=>cb(o,e)),d=e.root(),f=d.source?.input,p=d.source?.start?.line??1;if(u.length===0||!f)return s;let m=c.filter(e=>{let t=(f.fromOffset(e)?.line??1)+p-1;return u.some(e=>!e.some(e=>e.start<=t&&(e.end===void 0||e.end>=t)))});return m.length===l?new Set(m):s}function Tb(e,t,n,r){let i=/* @__PURE__ */ new Set,a=e.root().source?.start?.offset??0,o=e.raws[t];if(typeof o!=`string`)return i;if(t===`before`){let t=e.source?.start?.offset;if(t===void 0)return i;let s=e.prev(),c=s?bb(s,a,r):e.parent?.type===`root`?0:n.lastIndexOf(`{`,t-a-1)+1;return Cb(e,n,o,t-a,c,!0,r)}if(e.type===`root`){let t=e,i=xb(t.last,n,a,r);return i?Cb(e,n,i.tail+o,n.length,i.start,!0,r):Cb(e,n,o,n.length,bb(t.last,a,r),!0,r)}let s=`nodes`in e?ub(e):void 0;if(s===void 0)return i;let c=String(e.raws.ownSemicolon??``),l=s-a-c.length;if(t===`ownSemicolon`)return Cb(e,n,o,s-a,l,!0,r);let u=xb(e.last,n,a,r);return u?Cb(e,n,u.tail+o,l-1,u.start,!0,r):Cb(e,n,o,l-1,e.last?bb(e.last,a,r):n.lastIndexOf(`{`,l-2)+1,!0,r)}function Eb(e,t,n){let r=/* @__PURE__ */ new Set;function i(e,i){for(let a of Tb(e,i,t,n))r.add(a)}return e.walk(e=>{i(e,`before`),`nodes`in e&&(e.raws.ownSemicolon&&i(e,`ownSemicolon`),i(e,`after`))}),e.parent||i(e,`after`),r}const Db={name:`no-extra-semicolons`,options:[!0]};function Ob(e,t,n){return n===void 0?void 0:n-(e.slice(t).match(M)??[]).length}let kb=/* @__PURE__ */ new WeakMap;function Ab(e,t,n,r,i){let a=e.root(),o=a.source?.input,s=e.raws[t];if(r===void 0||o===void 0||typeof s!=`string`||r>o.css.length)return;let c=i.stylelint??i,l=kb.get(c)??/* @__PURE__ */ new WeakMap,u=l.get(e)??/* @__PURE__ */ new Map,d=`${t}:${r}:${n}:${s}`;if(kb.set(c,l),l.set(e,u),u.has(d))return u.get(d);let f=_b(o.css,r,s,n,Tb(e,t,o.css,i)),p=f===void 0?void 0:o.fromOffset(f)?.line,m=p===void 0?void 0:(a.source?.start?.line??1)+p-1;return u.set(d,m),m}function jb(e,t,n,r,i,a){let o=String(e.raws[t]??``),s=/* @__PURE__ */ new Set;for(let{fixDisabled:c,name:l,syntax:u}of Nv(e,n,Db))if(!c)for(let c of a(u)){let a=Ab(e,t,c,i,n)??Ob(o,c,r);a!==void 0&&sb(n,l,a)||s.add(c)}return s}function Mb(e,t,n){if(e.type===`root`)return e.source?.input.css.length;let r=ub(e);return r===void 0?void 0:r-t-1-n}function Nb(e,t,n){let r=e.raws[t];if(typeof r!=`string`||!r.includes(`;`))return/* @__PURE__ */ new Set;let i=e.root().source?.start?.offset??0;if(t===`before`){let r=e.source?.start?.offset;return jb(e,t,n,e.source?.start?.line,r===void 0?void 0:r-i,t=>hb(t,e,n))}let a=String(e.raws.ownSemicolon??``),o=e.source?.end?.line;return jb(e,t,n,o===void 0?void 0:o-(a.match(M)??[]).length,Mb(e,a.length,i),t=>mb(t,e,n))}function Pb(e,t){return[...e.matchAll(gs)].map(e=>e.index).findLast(e=>!t.has(e))}function Fb(e,t,n){return e.colonTokenIndex(t.prop,t.raws.between??``,t,n)}function Ib(e,t,n){let r=Fb(e,t,n);return r===-1?``:(t.raws.between??``).slice(r+1)}function Lb(e,t,n={}){let{noRawBefore:r=!1}=n;if(!R(e))return``;let i,a=Ou(e,t);if((a&&a.stringify||cu)(e,(t,n,r)=>{i===void 0&&n===e&&r===`start`&&(i=t.slice(0,-1))}),i===void 0)return``;let o=e.raws.before;return(r||typeof o!=`string`?``:o)+i}function Rb(e,t){let n=Up(e,t),r=mu(e)?e.raws.ownSemicolon:void 0;return r?n.slice(0,-r.length):n}function zb(e,t){return R(e)?Rb(e,t).slice(Lb(e,t,{noRawBefore:!0}).length):``}function Bb(e){let t=[],n=0;for(;n<e.length;){let r=e.charAt(n),i=e.charAt(n+1),a=r===`\\`&&!Vo.test(i),o=a?e.slice(n).match(Us)?.[0].length??2:1;t.push({index:n,text:e.slice(n,n+o),escape:a}),n+=o}return t}function Vb(e){let t=Bb(e).at(-1);return t!==void 0&&t.escape&&Wc.test(t.text)}function Hb(e,t,n){let r=e.value,{sourceIndex:i}=e;for(let e=t-1;e>0;e-=2){let t=n[e],a=n[e-1];if(t?.type!==`space`||!Ts.test(t.value)||a?.type!==`word`||!Vb(a.value))break;r=`${a.value}${t.value}${r}`,i=a.sourceIndex}return{name:r,sourceIndex:i}}function Ub(e){let t=0,n=!1,r=``,i=0,a=0;for(;a<e.length;){let o=e.charAt(a);o===`\\`?(a=fd(e,a).end,r=``):(o===`}`&&t>0&&!n?--t:(o===`{`&&Ps.test(r)&&(t+=1),o===`}`&&(n=!0),!Es.test(o)&&!lc.test(o)&&(i=a+1)),r=o,a+=1)}return e.slice(i)}function Wb(e,t,n){return e.type===`function`&&pd(Ub(Hb(e,t,n).name))}function Gb(e,t){return e.type===`function`&&e.nodes[0]?.type===`string`&&Ad(t??e.before)}function Kb(e,t){let n=1,r=t+2;for(;r<e.length;){let t=e[r];if(t===`"`||t===`'`)r=id(e,r);else{if(t===`}`){if(--n,n===0)return r+1}else t===`#`&&e[r+1]===`{`&&(n+=1);r+=1}}return e.length}function qb(e,t){let n=e[t],r=t+1;for(;r<e.length&&e[r]!==n;)e[r]===`\\`?r+=2:e[r]===`#`&&e[r+1]===`{`?r=Kb(e,r):r+=1;return r+1}function Jb(e,t,n){let r=e.slice(t+1).search(n.tokenizes?Rc:Lc);return r===-1?e.length:t+1+r}function Yb(e,t,n){let r=e[t],i=e.slice(t);if(r===`"`||r===`'`)return n.tokenizes?qb(e,t):id(e,t);if(i.startsWith(`/*`)){let n=e.indexOf(`*/`,t+2);return n===-1?-1:n+2}if(n.tokenizes&&i.startsWith(`//`)){let e=i.search(Ns);return e===-1?-1:t+e}if(n.tokenizes&&i.startsWith(`#{`))return Kb(e,t);if(r===`)`||n.tokenizes&&r===`,`)return t+1;let a=i.match(oc);return a===null?void 0:t+a[0].length}function Xb(e,t,n){let r=e[t+1];return n.tokenizes?r===`"`||r===`'`:bc.test(e.slice(t+1))}function Zb(e,t,n,r,i){if(n===`url`&&!Xb(e,t,r)){let n=r.tokenizes?rx(e,t+1):nx(e,t+1);return n===-1?void 0:{codeEnd:i,index:n+1}}let a=e.indexOf(`)`,t+1);return t<=i||a===-1||Cc.test(e.slice(t,a+1))?{codeEnd:r.tokenizes||t<=i?i:a===-1?e.length:a,index:t+1}:{codeEnd:i,index:a+1}}function Qb(e,t,n){let r=[],i=-1,a=0;for(;a<e.length;){if(e[a]===`(`){let o=r.pop();if(n(a,o))return{openIndex:a,popped:o?.text};let s=Zb(e,a,o?.text,t,i);if(!s)return;i=s.codeEnd,a=s.index;continue}let o=Yb(e,a,t);if(o===-1)return;if(o===void 0){let n=Jb(e,a,t);r.push({end:n,text:e.slice(a,n)}),a=n}else a=o}}function $b(e,t,n){let r=Qb(e,n,(e,n)=>n?.end===t);return r?r.openIndex+1:-1}function ex(e,t){let n=[];return Qb(e,t,(r,i)=>(i?.text===`url`&&!Xb(e,r,t)&&n.push(r),!1)),n}function tx(e,t,n){let r=Qb(e,n,(r,i)=>{if(r>=t)return!0;if(i?.text!==`url`||Xb(e,r,n))return!1;let a=n.tokenizes?rx(e,r+1):nx(e,r+1);return a===-1||t<a});return r&&r.openIndex<t?r.openIndex:-1}function nx(e,t){for(let n=e.indexOf(`)`,t);n!==-1;n=e.indexOf(`)`,n+1)){let t=0;for(;e[n-1-t]===`\\`;)t+=1;if(t%2==0)return n}return-1}function rx(e,t){let n=1;for(let r=t;r<e.length;r+=1)if(e[r]===`(`?n+=1:e[r]===`)`&&--n,n===0)return r;return-1}function ix(e){return e.type===`atrule`?`params`:e.type===`rule`?`selector`:of(e.prop)?`custom property`:`declaration`}function ax(e,t,n){let r=e.slice(0,t),i=r.match(Os)?.[0]??``,a=r.slice(0,r.length-i.length),o=As.test(a)||(a.match(Bc)?.[0].length??0)%2==1,s=i===``&&r.endsWith(`%`)&&!Es.test(r.at(-2)??``)&&!As.test(r.slice(0,-1)),c=i!==``&&!mc.test(i)&&!(n===`params`&&Po.has(i.toLowerCase())),l=o||s||c;return n===`params`||l===(ks.test(r)||As.test(r))?l?`call`:`bare`:`unknown`}function ox(e,t,n,r){let i=e.charAt(t);if(i===`(`){let i=Zb(e,t,n.stack.pop()?.text,r,n.codeEnd);return i?(i.index===t+1?(n.closers.push(`)`),n.calls.push(ax(e,t,n.place)),n.parentheses+=1):n.read.tokens.push([t,i.index]),n.codeEnd=i.codeEnd,i.index):-1}return i===`[`?n.closers.push(`]`):n.closers.at(-1)===i&&n.closers.pop(),i===`)`&&(--n.parentheses,n.calls.pop()),t+1}function sx(e,t,n){return{call:n.calls.includes(`call`)?`inside`:n.calls.every(e=>e===`bare`)?`outside`:`unknown`,character:e,groups:n.closers.length,index:t,top:n.parentheses===0}}function cx(e,t,n,r,i){e===`{`&&r===`custom property`?n.closers.push(`}`):e===`}`&&n.closers.at(-1)===`}`?n.closers.pop():gl.test(e)&&n.closers.length===0&&n.read.cuts.push(sx(e,t,n)),e===`:`&&(r===`params`||r!==`custom property`&&n.parentheses===0)&&n.read.cuts.push(sx(e,t,n)),e===`,`&&i.tokenizes&&n.read.cuts.push(sx(e,t,n))}function lx(e,t,n){let r={calls:[],closers:[],codeEnd:-1,parentheses:0,place:n,read:{cuts:[],open:void 0,spans:[],tokens:[]},stack:[]},{read:i}=r,a=0;for(;a<e.length;){let o=e.charAt(a);if(hl.test(o)){if(a=ox(e,a,r,t),a===-1)return{...i,open:`token`};continue}cx(o,a,r,n,t);let s=Yb(e,a,t);if(s===-1||s!==void 0&&s>e.length)return{...i,open:`token`};if(s===void 0){let n=Jb(e,a,t),o=e.slice(a,n);for(let e of o.matchAll(vl))i.cuts.push(sx(`,`,a+e.index,r));r.stack.push({end:n,text:o}),a=n}else _l.test(o)&&i.spans.push([a,s]),a=s}return{...i,open:r.closers.length>0?`group`:void 0}}function ux(e,t){let n=[],r=0;for(let{start:i,end:a,text:o}of e.toSorted((e,t)=>e.start-t.start)){let e=o.length-(a-i);n.push(t?{boundary:i+r+o.length,shift:-e}:{boundary:a,shift:e}),r+=e}return e=>{let t=e;for(let{boundary:r,shift:i}of n)e>=r&&(t+=i);return t}}function dx(e,t,n){return e.some(([e,r])=>{let[i,a]=[n(e),n(r-1)+1];return!t.spans.some(([e,t])=>e===i&&t===a)&&!t.tokens.some(([e,t])=>e<i&&a<t)})}function fx(e,t,n){return e.cuts.filter(({character:e,index:r,top:i})=>{let a=n(r);return!(e===`,`||e===`:`&&!i)||!t.tokens.some(([e,t])=>e<a&&a<t)})}function px(e,t){return mx(t)>mx(e)}function mx(e){return hx((0,No.default)(e).nodes)}function hx(e){let t=0;for(let n=0;n<e.length;n+=1){let r=e[n];r&&r.type===`function`&&(!Wb(r,n,e)||Gb(r))&&(t+=hx(r.nodes)+r.nodes.filter(e=>e.type===`div`&&e.value===`,`).length)}return t}function gx(e,t,n,r,i){return n===`params`&&!i&&(e.character===`,`||e.character===`:`)?e.call===t.call:e.character===`,`?e.groups===t.groups||r&&e.call===`inside`&&t.call===`inside`:e.character!==`:`||e.top===t.top}function _x(e,t,n,r,i,a){let o=lx(e,r,i),s=lx(t,r,i),[c,l]=[ux(n,!1),ux(n,!0)];if(o.open===`token`&&s.open===`token`)return r.tokenizes;if(o.open!==s.open)return!0;let u=fx(o,s,c),d=fx(s,o,l);return u.length!==d.length||u.some((e,t)=>{let n=d[t];return n===void 0||n.character!==e.character||n.index!==c(e.index)||!gx(e,n,i,a,r.tokenizes)})?!0:dx(o.spans,s,c)||dx(s.spans,o,l)}function vx(e,{start:t,end:n,text:r},i,a){if(!e.startsWith(`url`,n))return!1;let o=e.slice(0,t)+r+e.slice(n),s=t+r.length,c=$b(e,n+3,i),l=$b(o,s+3,i);if((c!==-1&&!ud(e.slice(0,n),i))==(l!==-1&&!ud(o.slice(0,s),i)))return!1;if(c===-1&&(c=l-(s-n)),i.tokenizes){if(e[c]===`"`||e[c]===`'`||!Cc.test(e.slice(c,e.indexOf(`)`,c)+1)))return!1}else if(bc.test(e.slice(c)))return!1;let u=$c.test(e[n-1]??` `)&&$c.test(o[s-1]??` `);return _x(e,o,[{end:n,start:t,text:r}],i,ix(a),u)||i.tokenizes&&!u&&a.type===`decl`&&px(e,o)}function yx(e,t,n,r){let i=Zf(e,t),a=ux(t,!1),[o,s]=[ex(e,n),ex(i,n)];return o.length===s.length&&o.every((e,t)=>a(e)===s[t])?!1:_x(e,i,t,n,ix(r),!0)}function bx(e,t){let n=[];for(let r of e)r===`[`?n.push(`]`):r===`{`&&t?n.push(`}`):r===n.at(-1)&&n.pop();return n.length>0}function xx(e,t,n){let r=e.indexOf(`)`,t+1);if(r===-1)return!1;let i=e.slice(t,r+1);return!Cc.test(i)&&bx(i.slice(1,-1),n)}function Sx(e,t,n,r){let i=e.lastIndexOf(`(`,t);if(i===-1||e.indexOf(`)`,i+1)<=t)return!1;let a=tx(e,t,r);return a!==-1&&(r.tokenizes||t!==a+1)?!1:xx(e,i,n)}const Cx={spells:!1,tokenizes:!1,endsOnFormFeed:!1};function wx(e,t){let n=e[t],r=t+1;for(;r<e.length&&e[r]!==n;)r+=e[r]===`\\`?2:1;return Math.min(r+1,e.length)}function Tx(e,t){let n=e.indexOf(`*/`,t+2);return n===-1?e.length:n+2}function Ex(e,t,n){if(t===0)return!0;let r=t-1;return!!Yd(r,n)||Ic.test(e.charAt(r))}function Dx(e,t){let n=[];return(0,No.default)(e).walk(r=>{if(r.type!==`function`||r.value!==`url`||r.unclosed)return;let i=r.sourceIndex+r.value.length+1,a=r.sourceEndIndex-1;if((!rd(e.charAt(i))||Yd(i,t))&&Ex(e,r.sourceIndex,t))return;let o=i;for(;o<a;){let r=Yd(o,t);if(r&&r.end>=e.length)break;let i=o+1;if(r?i=r.end:e[o]===`\\`?i=o+2:e[o]===`"`||e[o]===`'`?i=wx(e,o):e[o]===`/`&&e[o+1]===`*`&&(i=Tx(e,o)),i>a)for(let t=o;t<i;t+=1)e[t]===`)`&&n.push(t);o=i}}),n}function Ox(e,t,n,r){if(!r.tokenizes)return[];let i=[];return(0,No.default)(e).walk(a=>{if(a.type!==`function`||a.value!==`url`||a.unclosed||a.nodes[0]?.type===`string`)return;let o=a.sourceIndex-1,s=od(t,a.sourceIndex,Yd(o,n)?.start??o,r);for(let t=a.sourceEndIndex-1;t<s-1;t+=1)e[t]===`)`&&i.push(t)}),i}function kx(e,t){let n=[];return(0,No.default)(e).walk((e,r,i)=>{if(e.type!==`function`||Yd(e.sourceIndex+e.value.length,t))return;let{name:a,sourceIndex:o}=Hb(e,r,i),s=[],c=0,l=!1;for(let e=0;e<a.length;){let{character:t,end:n}=fd(a,e);t===void 0?(s.push({index:o+e,text:l?` `:`?`}),e+=2,c=e):(l=!0,e=n)}s.length>0&&pd(a.slice(c))&&n.push(...s)}),n}function Ax(e,t){let n=[];return(0,No.default)(e).walk((r,i,a)=>{if(r.type!==`function`||r.value!==`url`||r.nodes[0]?.type===`string`)return;let{name:o,sourceIndex:s}=Hb(r,i,a);if(o===r.value||pd(o)||Yd(s,t))return;let c={index:r.sourceIndex,text:`_`};jx(Mx(e,[c]),r.sourceIndex,r.sourceEndIndex)&&n.push(c)}),n}function jx(e,t,n){let r=!1;return(0,No.default)(e).walk(e=>{if(e.type!==`function`||e.sourceIndex!==t||e.sourceEndIndex!==n||e.unclosed)return;let i=!1;No.default.walk(e.nodes,e=>{(e.type===`function`||e.type===`string`)&&e.unclosed&&(i=!0)}),r=!i}),r}function Mx(e,t){if(t.length===0)return e;let n=e.split(``);for(let{index:e,text:r}of t)n[e]=r;return n.join(``)}function Nx(e,t=Gd(e),n=Cx){let r=e;for(let i=!0;i;){let a=r.includes(`\\`)?kx(r,t):[];r=Mx(r,a);let o=r.includes(`\\`)?Ax(r,t):[];r=Mx(r,o);let s=[...Dx(r,t),...Ox(r,e,t,n)];r=Mx(r,s.map(e=>({index:e,text:`?`}))),i=a.length>0||o.length>0||s.length>0}return r}function Px(e,t){let n=[];return(0,No.default)(e).walk(e=>{if(e.type!==`string`)return;let r=Yd(e.sourceIndex,t);r&&e.sourceEndIndex>r.end&&n.push(e.sourceIndex)}),n}function Fx(e,t=Gd(e)){if(t.length===0)return e;let n=e;for(let e=Px(n,t);e.length>0;e=Px(n,t)){let t=n.split(``);for(let n of e)t[n]=`?`;n=t.join(``)}return n}function Ix(e,t=Gd(e)){let n=[];for(let{start:r,end:i}of t){if(Ys.test(e.slice(i)))continue;let t=e.slice(0,r).match(Jc);n.push({start:r-t[0].length,end:i})}return n}function Lx(e,t=Gd(e)){let n=``,r=0;for(let{start:i,end:a}of Ix(e,t))n+=e.slice(r,i),r=a;return`${n}${e.slice(r)}`}function Rx(e,t,n){let r=e.nodes.map(e=>No.default.stringify(e)),i=e.before+r.join(``)+e.after,a=Gd(i,t),o=yf(i,a),s=[],c=e.before.length;for(let e of r)s.push(c),c+=e.length;let l=[];for(let[t,r]of e.nodes.entries()){if(r.type!==`div`||r.value!==`,`)continue;let e=r.sourceIndex+r.before.length;if(n.some(({start:t,end:n})=>e>=t&&e<n))continue;let i=s[t];if(i===void 0)throw Error(`The comma stands in no argument of the function`);let a=i+r.before.length;l.push({commaNode:r,commentedIndex:a,nodeIndex:t})}let u=Lx(o,a);return{runArguments:bf(u,Jd(u,t),!0),commentedArguments:bf(o,Jd(o,t),!0),commaDataList:l}}function zx(e){let{fix:t}=e,n=e.fixPosition!==`before`;e.root.walkDecls(r=>{let i=e.syntax.read(r),a=e.syntax.inlineComments(r,e.result),o=Gd(i,a),s=[];(0,No.default)(Nx(Fx(i,o),o)).walk((c,l,u)=>{if(!_u(c))return;let d=c;if(!e.syntax.isStandardFunction(c)||Wb(c,l,u)&&!Gb(c))return;if(H(e,`ignoreFunctions`,c.value))return!1;let{runArguments:f,commentedArguments:p,commaDataList:m}=Rx(c,a,o);function h(n,o){if(e.fixPosition===`before`&&e.syntax.endsWithInlineComment(i.slice(0,n.sourceIndex),a))return!1;let s=t?.(n,o,d)??[];return!s.some(e=>vx(i,e,a,r))&&!(s.some(e=>P.test(e.text))&&xx(i,d.sourceIndex+d.value.length,of(r.prop)))}function g(n,i){return a=>{let o=V(r)+n.sourceIndex+n.before.length;U({index:o,endIndex:o,message:a,node:r,result:e.result,ruleName:e.checkedRuleName,...t&&h(n,i)&&{fix:()=>{s.push(...t(n,i,d))}}})}}for(let t of m)(n?t.nodeIndex===d.nodes.length-1:t.nodeIndex===0)||e.locationChecker({source:p,index:t.commentedIndex,lineCheckStr:f,err:g(t.commaNode,t.nodeIndex)})}),s.length>0&&e.syntax.write(r,Zf(i,s))})}const Bx={decl:{newline:{name:`declaration-block-semicolon-newline-before`,options:[`always`,`always-multi-line`,`never-multi-line`]},space:{name:`declaration-block-semicolon-space-before`,options:[`always`,`never`,`always-single-line`,`never-single-line`]}},atrule:{space:{name:`at-rule-semicolon-space-before`,options:[`always`,`never`]}}};function Vx(e,t,n){if(!e.isStandardDeclaration(t)||!e.isStandardProperty(t.prop))return!1;let r=!1;return(0,db.default)({source:e.searchCopy(rp(e,t),t,n).searchString,target:`,`,functionArguments:`skip`},()=>{r=!0}),r}function Hx(e,t,n,r){let{ignoreFunctions:i}=n.secondary,a=Array.isArray(i)?i:[i];if(i!==void 0&&!a.every(e=>Tu(e)||wu(e)))return!1;let o=!1;return zx({root:e,result:t,syntax:n.syntax,locationChecker:()=>{o=!0},checkedRuleName:n.name,fixPosition:r,ignoreFunctions:a.filter(e=>Tu(e)||wu(e))}),o}const Ux=[{rule:{name:`block-opening-brace-newline-after`,options:[`always`]},breaks:(e,t)=>!pu(t)},{rule:{name:`block-closing-brace-newline-before`,options:[`always`]},breaks:(e,t)=>!pu(t)},{rule:{name:`declaration-colon-newline-after`,options:[`always`]},breaks:(e,t)=>(t.nodes??[]).some(t=>L(t)&&e.isStandardDeclaration(t))},{rule:{name:`declaration-block-semicolon-newline-after`,options:[`always`]},breaks:(e,t)=>(t.nodes??[]).filter(e=>L(e)).length>1},{rule:{name:`value-list-comma-newline-after`,options:[`always`]},breaks:(e,t,n)=>(t.nodes??[]).some(t=>L(t)&&Vx(e,t,n))},{rule:{name:`value-list-comma-newline-before`,options:[`always`]},breaks:(e,t,n)=>(t.nodes??[]).some(t=>L(t)&&Vx(e,t,n))},{rule:{name:`function-comma-newline-after`,options:[`always`]},breaks:(e,t,n,r)=>Hx(t,n,r,`after`)},{rule:{name:`function-comma-newline-before`,options:[`always`]},breaks:(e,t,n,r)=>Hx(t,n,r,`before`)}];function Wx(e,t,n){let r=t.source?.start?.line;return Ux.some(({rule:i,breaks:a})=>Nv(t,n,i).some(i=>i.option===`always`&&!i.fixDisabled&&!(r!==void 0&&sb(n,i.name,r))&&a(e,t,n,i)))}function Gx(e,t,n){let{parent:r}=t;if(!r)throw Error(`A parent node must be present`);if(I(t)&&!e.isStandardAtRule(t))return``;let i=r,a;function o(){return a??=wv(zb(i,n))&&!Wx(e,i,n),a}return Rv(t,n,Bx[t.type],o)}function Kx(e){let t=e.raws.important;return typeof t==`string`?t:e.raws.between??``}function qx(e,t){let n=bf(e,Jd(e,t),!0);return e.slice(n.replace(F,``).length)}function Jx(e,t,n){let r=I(t)?Kx(t):Yx(e,t),i=qx(Yx(e,t),e.inlineComments(t,n));return r.slice(Math.max(r.length-i.length,0))}function Yx(e,t){return I(t)?typeof t.raws.important==`string`?t.raws.important:`${t.name}${t.raws.afterName??``}${e.read(t)}${t.raws.between??``}`:t.important?t.raws.important||` !important`:e.read(t)}function Xx(e,t){let[n,r]=[e.charAt(0),t.charAt(0)];return n===r||Vo.test(n)&&Vo.test(r)}function Zx(e,t,n,r,i){let a=Yx(e,t),o=a.slice(0,a.length-qx(a,e.inlineComments(t,n)).length);return(o.length-o.replace(Bc,``).length)%2==0||Xx(a.slice(o.length)+r,i)}function Qx(e,t,n,r,i=`;`){return Zx(e,t,n,i,`${r};`)}function $x(e,t,n,r){return Zx(e,t,n,`;`,r)}function eS(e,t,n,r){let i=Jx(e,t,n);function a(e){return e.slice(0,e.length-i.length)+r}I(t)&&typeof t.raws.important==`string`?t.raws.important=a(t.raws.important):I(t)?t.raws.between=a(t.raws.between??``):t.important?t.raws.important=a(t.raws.important||` !important`):e.write(t,a(e.read(t)))}function tS(e,t,n){return!t.important&&rl.test(Ib(e,t,n)+e.read(t))}function nS(e,t,n){let{parent:r}=t;return!L(t)||!r||!ff(r)||r.last!==t||tS(e,t,n)||e.writesIntoInlineComment(t,n)?``:Jx(e,t,n)}function rS(e,t,n){return t.important?``:nS(e,t,n)}const iS={name:`declaration-block-trailing-semicolon`,options:[`always`,`never`]},aS=/* @__PURE__ */ new Set([`severity`,`message`,`reportDisables`,`disableFix`,`url`]),oS=`single-declaration`;function sS(e){return Object.entries(e).every(([e,t])=>aS.has(e)?!0:e===`ignore`?t===oS||Array.isArray(t)&&t.every(e=>e===oS):!1)}function cS(e){let t=e.parent;return!t||t.type===`object`?!1:!pu(t)||L(e)&&lb(t)}function lS(e,t){let{parent:n}=t;return!n?.nodes||!cS(t)||Np(n)!==t?!1:n.nodes.slice(n.index(t)+1).every(t=>{if(!hu(t))return!0;let n=e.inlineCommentCode(t);return n===null||Dc.test(n)})}function uS(e){return e.next()?I(e)&&!R(e)||L(e)&&of(e.prop):!1}function dS(e){return(e.match(M)??[]).length}function fS(e,t){let n=e.parent;if(!n?.nodes)return;let r=n.raws.after,i=n.source?.end?.line;if(typeof r==`string`&&i!==void 0&&!pu(n)){let e=Pb(r,Nb(n,`after`,t));if(e!==void 0)return i-dS(String(n.raws.ownSemicolon??``))-dS(r.slice(e))}for(let r of n.nodes.slice(n.index(e)+1).toReversed()){let e=r.raws.before,n=r.source?.start?.line,i=typeof e==`string`?Pb(e,Nb(r,`before`,t)):void 0;if(typeof e==`string`&&i!==void 0&&n!==void 0)return n-dS(e.slice(i))}}function pS(e,t,n){if(e.fixDisabled||!sS(e.secondary))return!1;let{parent:r}=t;if(!r||!lS(e.syntax,t))return!1;let i=fS(t,n)??t.source?.end?.line??t.source?.start?.line;return i!==void 0&&sb(n,e.name,i)?!1:!(H(e.secondary,`ignore`,`single-declaration`)&&nb(r.first)===t)}function mS(e,t,n){let{syntax:r}=e;if(pS(e,t,n)&&!r.closingSemicolonIsCommentText(t,n))return e.option===`always`?!R(t)&&!r.writesIntoInlineComment(t,n,Gx(r,t,n))||void 0:r.requiresTrailingSemicolon(t,n)?void 0:!1}function hS(e,t){let[n]=Nv(e,t,iS),r=n&&mS(n,e,t);return n&&r!==void 0?{semicolon:r,syntax:n.syntax}:void 0}function gS(e,t){return hS(e,t)?.semicolon}function _S(e,t){return gS(e,t)??!pm(e)}function vS(e,t,n){let r=e.read(t);if(t.important)return r;if(yS(t,n))return r.replace(F,``);let[i]=Nv(t,n,iS),a=bS(t,n);if(a)return r.slice(0,r.length-a.length)+Gx(e,t,n);let o=i&&mS(i,t,n)===!0&&!rl.test(r)?Gx(e,t,n):``;return o?r.replace(F,``)+o:r}function yS(e,t){if(e.important||!e.parent?.raws.semicolon)return!1;let[n]=Nv(e,t,iS);return n!==void 0&&mS(n,e,t)===!1&&!n.syntax.writesIntoInlineComment(e,t)}function bS(e,t){let[n]=Nv(e,t,iS);return n&&mS(n,e,t)===!0?rS(n.syntax,e,t):``}function xS(e,t){let n=e.raws.after,r=/* @__PURE__ */ new Set;if(typeof n!=`string`||!n.includes(`;`))return r;let i=Np(e);if(i&&(L(i)||I(i)&&!R(i))&&gS(i,t)===!1){for(let e of n.matchAll(gs))r.add(e.index);return r}return Nb(e,`after`,t)}function SS(e,t){if(t.size===0)return e;let n=``;for(let r=0;r<e.length;r+=1)t.has(r)||(n+=e.charAt(r));return n}function CS(e,t){let n=e[t-1];if(n===void 0)throw Error(`The write must keep every semicolon no-extra-semicolons keeps, in their order`);return n}function wS(e,t,n){if(n.size===0)return e(t);let r=e(SS(t,n)),i=[...t.matchAll(gs)].map(({index:e})=>e).filter(e=>!n.has(e)),a=[...r.matchAll(gs)].map(({index:e})=>e),o=[...n].map(e=>{let o=i.filter(t=>t<e).length,s=o>0?CS(i,o)+1:0,c=o>0?CS(a,o)+1:0,l=[0,...[...(r.slice(c).match(N)?.[0]??``).matchAll(M)].map(e=>e.index+e[0].length)],u=c+(l[Math.min((t.slice(s,e).match(M)??[]).length,l.length-1)]??0),d=(SS(t.slice(0,e),n).slice(SS(t.slice(0,s),n).length).match(Yc)?.[0]??``).length;return u+Math.min(d,(r.slice(u).match(ec)?.[0]??``).length)});for(let e of o.toSorted((e,t)=>t-e))r=`${r.slice(0,e)};${r.slice(e)}`;return r}function TS(e,t){let n=e.raws.before;if(typeof n!=`string`||!n.includes(`;`))return/* @__PURE__ */ new Set;let r=e.parent,i=r?Np(r):null;return r&&i&&hu(e)&&r.index(e)>r.index(i)&&(L(i)||I(i)&&!R(i))&&gS(i,t)===!1?new Set([...n.matchAll(gs)].map(e=>e.index)):Nb(e,`before`,t)}function ES(e,t,n){let r=ab(e),i=TS(e,n),a=wS(t,r,i);if(i.size===0)return a;let{raws:o}=e,s=Object.hasOwn(o,`before`),c=o.before;o.before=a;let l=TS(e,n).size;return s?o.before=c:delete o.before,l===i.size?a:t(r)}function DS(e,t){let n=0;for(let r of e)r.offset<=t&&(n+=r.delta);return n}function OS(e,t){let n=0;for(let r of e)r.line<t&&(n+=r.delta);return n}function kS(e,t){let n=e.match(cl);if(!n)return!1;let r=(n[1]??``).split(`,`).map(e=>e.trim()).filter(Boolean);return r.length===0||r.includes(t)}function AS(e,t,n){let r=[];return e&&`walkComments`in e&&e.walkComments(e=>{let i=e.source?.start;i?.line===t&&i.offset!==void 0&&kS(e.text,n)&&r.push(i.offset)}),r.length===1?r[0]:void 0}function jS(e,t,n){let r=e.node?.source?.start?.offset,i=e.start+(r===void 0?OS(t,e.start):DS(t,r));if(e.end===void 0)return{start:i,end:void 0};if(e.node&&hu(e.node)&&ll.test(e.node.text))return{start:i,end:i};let a=AS(e.node?.root(),e.end,n);return a===void 0&&e.end===e.start?{start:i,end:i}:{start:i,end:e.end+(a===void 0?OS(t,e.end):DS(t,a))}}function MS({start:e,end:t},n){return e<=n&&(t===void 0||t>=n)}function NS(e,t,n,r){let{rawStart:i,lineAt:a}=PS(e,t,n),o=e.root().source?.start?.offset??0,s=i===void 0?void 0:i-o+n.length;return e.type===`root`&&t===`after`&&(s=e.source?.input.css.length),{rawStart:i,lineAt:n=>Ab(e,t,n,s,r)??a(n)}}function PS(e,t,n){if(t===`ownSemicolon`){let t=ub(e);return{rawStart:t===void 0?void 0:t-n.length,lineAt:t=>Ob(n,t,e.source?.end?.line)}}if(e.type===`root`&&t===`after`){let t=e.parent?void 0:e.source?.input.css;if(t===void 0)return{rawStart:t,lineAt:e=>Ob(n,e,t)};let r=t.length-n.length;return{rawStart:r,lineAt:e=>(t.slice(0,r+e).match(M)??[]).length+1}}if(t===`before`){let t=e.source?.start;return{rawStart:t?.offset===void 0?void 0:t.offset-n.length,lineAt:e=>Ob(n,e,t?.line)}}let r=ub(e),i=String(e.raws.ownSemicolon??``),a=e.source?.end?.line;return{rawStart:r===void 0?void 0:r-i.length-1-n.length,lineAt:e=>a===void 0?void 0:Ob(n,e,a-(i.match(M)??[]).length)}}function FS(e,t,n,r){return n===`before`?hb(e,t,r):n===`after`?mb(e,t,r):gb(e,t)}function IS(e,t,n,r){let i=e.raws[t],a=/* @__PURE__ */ new Set;if(typeof i!=`string`||!i.includes(`;`)||r.every(e=>e.delta===0))return a;let{rawStart:o,lineAt:s}=NS(e,t,i,n),c=/* @__PURE__ */ new Set;for(let{fixDisabled:i,name:l,syntax:u}of Nv(e,n,Db)){if(i)continue;let d=cb(n,l);for(let i of FS(u,e,t,n)){let e=s(i);e===void 0||!d.some(t=>MS(t,e))?c.add(i):o!==void 0&&d.some(t=>MS(jS(t,r,l),e+DS(r,o+i)))||a.add(i)}}for(let e of c)a.delete(e);return a}function LS(e,t,n,r){let{lineAt:i}=NS(e,t,n,r),a=/* @__PURE__ */ new Set,o=/* @__PURE__ */ new Set;for(let{fixDisabled:n,name:s,syntax:c}of Nv(e,r,Db)){if(n)continue;let l=cb(r,s);for(let n of FS(c,e,t,r)){let e=i(n);e!==void 0&&l.some(t=>MS(t,e))?a.add(n):o.add(n)}}return[...a].some(e=>!o.has(e))}let RS=/* @__PURE__ */ new WeakMap;function zS(e,t){let n=RS.get(t);if(n)return n;let r=[];function i(e){for(let n of[`before`,`after`,`ownSemicolon`]){let i=e.raws[n];typeof i==`string`&&i.includes(`;`)&&LS(e,n,i,t)&&r.push([e,n])}}return e.walk(i),i(e),RS.set(t,r),r}function BS(e,t,n){return n.every(e=>e.delta===0)||!Nv(e,t,Db).some(({fixDisabled:e,name:n})=>!e&&cb(t,n).length>0)?!1:zS(e,t).some(([e,r])=>IS(e,r,t,n).size>0)}function VS(e,t){let n=e.raws.ownSemicolon;if(typeof n!=`string`||!n.includes(`;`))return/* @__PURE__ */ new Set;let r=ub(e);return jb(e,`ownSemicolon`,t,e.source?.end?.line,r===void 0?void 0:r-(e.root().source?.start?.offset??0),t=>gb(t,e))}function HS(e,t){let n=/* @__PURE__ */ new Set,r=e.source?.start?.offset??0,i=e.source?.input.css??``;function a(a,o,s){let c=a.raws[o];if(s.size===0||typeof c!=`string`)return;let{rawStart:l}=NS(a,o,c,t);if(l===void 0)return;let u=a===e?l:l-r,d=Tb(a,o,i,t);for(let e of s)n.add(_b(i,u+c.length,c,e,d)??u+e)}return e.walk(e=>{a(e,`before`,TS(e,t)),`nodes`in e&&a(e,`after`,xS(e,t)),a(e,`ownSemicolon`,VS(e,t))}),a(e,`after`,xS(e,t)),n}function US(e,t){let n,r=nb(e,e=>{!n&&!sl.test(SS(ab(e),TS(e,t)))&&(n=e)});return n??r}let{utils:{validateOptions:WS}}=t,GS=`at-rule-semicolon-newline-after`;const KS=W({expectedAfter:()=>`Expected newline after ";"`});let qS={url:Y(GS),fixable:!0};function JS({ruleName:e,messages:t,syntax:n},r){let i=Z(`newline`,r,t);return(t,a)=>{WS(a,e,{actual:r,possible:[`always`]})&&t.walkAtRules(r=>{let o=r.next();if(!o||R(r)||!n.isStandardAtRule(r)&&!Hs.test(r.name))return;let s=US(o,a);if(!s)return;let c=Up(r,a).length+1,l=TS(s,a);i.afterOneOnly({source:SS(ab(s),l)+Up(s,a),index:-1,err:n=>{U({message:n,node:r,index:c,endIndex:c,result:a,ruleName:e,fix(){let e=hu(s)&&Wy(s,a);s.raws.before=ES(s,n=>{let r=vc.test(n)?n.replace(ac,``):X(t,a)+n;if(e){let e=X(t,a);r=P.test(r)?r.replace(P,t=>e+t):e.repeat(2)+r}return r},a)}})}})})}}let YS=G({shortName:GS,meta:qS,messages:KS,rule:JS}),{ruleName:XS,messages:ZS}=YS(B),{utils:{validateOptions:QS}}=t,$S=`at-rule-semicolon-space-before`;const eC=W({expectedBefore:()=>`Expected single space before ";"`,rejectedBefore:()=>`Unexpected whitespace before ";"`});let tC={url:Y($S),fixable:!0};function nC({ruleName:e,messages:t,syntax:n},r){let i=Z(`space`,r,t);return(t,a)=>{QS(a,e,{actual:r,possible:[`always`,`never`]})&&t.walkAtRules(t=>{if(R(t)||!n.isStandardAtRule(t)||pm(t)||gS(t,a)===!1)return;let o=Up(t,a),s=o.length-1,c=!n.writesIntoInlineComment(t,a)&&Qx(n,t,a,r===`always`?` `:``);i.before({source:bf(o,Jd(o,n.inlineComments(t,a)),!0),index:o.length,err:i=>{U({message:i,node:t,index:s,endIndex:s,result:a,ruleName:e,...c&&{fix:()=>{eS(n,t,a,r===`always`?` `:``)}}})}})})}}let rC=G({shortName:$S,meta:tC,messages:eC,rule:nC}),{ruleName:iC,messages:aC}=rC(B);function oC(e,t){if(!ff(t))return t.raws.after;let{last:n}=t;if(L(n)){let t=n.important?n.raws.important??` !important`:e.read(n);return t.slice(t.replace(F,``).length)}let r=n.raws.between??``;return r.slice(r.replace(Xc,``).length)}function sC(e,t,n){if(!ff(t))return t.raws.after=n,t;let{last:r}=t;return L(r)?(r.important?r.raws.important=(r.raws.important??` !important`).replace(F,``)+n:e.write(r,e.read(r).replace(F,``)+n),t):(r.raws.between=(r.raws.between??``).replace(Xc,``)+n,t)}function cC(e){let t=e.last?.raws.ownSemicolon;return typeof t==`string`&&t!==``?t:void 0}function lC(e,t){let n=oC(e,t),r=cC(t);return r===void 0?n:r+(n??``)}function uC(e,t,n){let r=cC(t),i=t.last;if(r===void 0||!i){sC(e,t,n);return}let a=(r.match(gs)??[]).length,o=[...n.matchAll(gs)][a-1],s=o===void 0?0:o.index+1;i.raws.ownSemicolon=n.slice(0,s),sC(e,t,n.slice(s))}function dC(e,t,n){if(!ff(t))return!1;let{last:r}=t;return L(r)&&tS(e,r,n)&&gS(r,n)===!0}function fC(e,t,n){return dC(e,t,n)?t.raws.after:lC(e,t)}function pC(e,t,n,r){dC(e,t,n)?t.raws.after=r:uC(e,t,r)}function mC(e,t){let n=cC(e),r=ff(e)?/* @__PURE__ */ new Set:xS(e,t);if(n===void 0||!e.last)return r;let i=n.length;return/* @__PURE__ */ new Set([...VS(e.last,t),...[...r].map(e=>e+i)])}function hC(e,t,n,r,i){let{last:a}=t,o={text:r,index:r.length-1-i.length};if(!a||!L(a)||a.important)return o;let s=ff(t),c=e.read(a),l=s?`${c}}`:`${c}${t.raws.semicolon?`;`:``}${i}}`;if(!r.endsWith(l))return o;let u=vS(e,a,n);s&&u.endsWith(i)&&(u=u.slice(0,u.length-i.length));let d=`${r.slice(0,r.length-l.length)}${u}${_S(a,n)?`;`:``}`;return{text:`${d}${i}}`,index:d.length}}function gC(e,t,n,r=/* @__PURE__ */ new Set){let i=fC(e,t,n);if(typeof i!=`string`)return t;let a=[...i.matchAll(gs)].findLast(e=>!r.has(e.index))?.index;if(a!==void 0&&P.test(i.slice(a)))return pC(e,t,n,i.slice(0,a)+i.slice(a).replace(Lo,`$1$1`)),t;if(P.test(i))return pC(e,t,n,i.replace(Lo,`$1$1`)),t;let o=X(t,n).repeat(2),s=i.search(tl);return pC(e,t,n,s>=0?i.slice(0,s)+o+i.slice(s):i+o),t}function _C(e){return R(e)}function vC(e){return R(e)&&e.nodes.length===0}function yC(e){return e===``||e===void 0?!1:Uo.test(e)}function bC(e){let t=e.root();return{rootStart:t.source?.start?.offset??0,text:t.source?.input.css??``}}function xC(e,t,n){let r=e.source?.end?.offset;return r===void 0||hu(e)?bb(e,t,n):r-t}function SC(e){let t=e.source?.end?.offset,{rootStart:n,text:r}=bC(e),i=`last`in e?e.last:void 0;if(t===void 0||i?.source&&i.source.input!==e.source?.input)return;let a=r.lastIndexOf(`}`,t-n-1);return a>=0&&r.slice(a+1,t-n).replace(Bs,``)===``?a:void 0}function CC(e){let t=SC(e),n=e.source?.start?.offset;return t===void 0||n===void 0?void 0:{brace:t,index:t-(n-bC(e).rootStart)}}function wC(e,t){return CC(e)?.index??t.length-1}function TC(e,t){let n=CC(e),{text:r,brace:i}=n?{text:bC(e).text,brace:n.brace}:{text:t,brace:t.length-1},a=(n?.index??t.length-1)-1;return Bo.test(r.slice(i-2,i))?a-1:a}function EC(e){let{rootStart:t,text:n}=bC(e),r=e.first?.source?.start?.offset,i=r===void 0?SC(e):r-t;if(i===void 0)return;let a=n.lastIndexOf(`{`,i-1);return a<0?void 0:a+1}function DC(e,t){let{rootStart:n}=bC(e),r=e.source?.start?.offset,i=e.prev(),a=e.parent;if(r===void 0)return;let o=i?xC(i,n,t):a?.type===`root`?0:a&&EC(a);return o===void 0?void 0:[o,r-n]}function OC(e,t){let{rootStart:n}=bC(e),r=e.source?.start?.offset;if(r===void 0)return;let i=`nodes`in e&&e.nodes?EC(e):xC(e,n,t);return i===void 0?void 0:[r-n,i]}function kC(e,t){let{rootStart:n}=bC(e),r=SC(e),i=e.last?xC(e.last,n,t):EC(e);return r===void 0||i===void 0?void 0:[i,r]}function AC(e){let t=SC(e),n=e.source?.end?.offset;return t===void 0||n===void 0?void 0:[t+1,n-bC(e).rootStart]}function jC(e,t){let{rootStart:n,text:r}=bC(e);return[e.last?xC(e.last,n,t):0,r.length]}function MC(e,t,n,r=/* @__PURE__ */ new Set){let i=fC(e,t,n);if(!i)return pC(e,t,n,``),t;let a=i.replaceAll(gs,(e,t)=>r.has(t)?e:`x`),o=``,s=0;for(let e of a.matchAll(Qo))o+=i.slice(s,e.index)+(e[1]??``)+(e[0].match(gs)??[]).join(``),s=e.index+e[0].length;return pC(e,t,n,o+i.slice(s)),t}const NC=[`newline`,`emptyLine`],PC=[`newline`,`space`,`none`,`other`],FC={name:`block-closing-brace-newline-before`,options:[`always`,`always-multi-line`,`never-multi-line`]},IC={name:`block-closing-brace-space-before`,options:[`always`,`never`,`always-single-line`,`never-single-line`,`always-multi-line`,`never-multi-line`]},LC={name:`block-closing-brace-empty-line-before`,options:[`always-multi-line`,`never`]},RC={name:`block-opening-brace-newline-after`,options:[`always`,`always-multi-line`,`never-multi-line`]};function zC(e,t){return e.startsWith(`always`)?t?NC:[`space`]:[`none`]}function BC(e,t){let n=e.source?.start?.line;if(n!==void 0)return n+(Lb(e,t,{noRawBefore:!0}).match(M)?.length??0)}function VC(e,t){if(!(e.nodes??[]).every(e=>hu(e)))return!1;let n=BC(e,t);return Nv(e,t,RC).some(({option:r,secondary:i,name:a})=>r===`never-multi-line`&&(!mu(e)||!H(i,`ignore`,`rules`))&&(n===void 0||!sb(t,a,n)))}function HC(e){if(!R(e))return!1;let t=e.parent;return t===void 0||pu(t)||gu(t)||!R(t)?!1:!e.nodes.some(e=>R(e))}function UC(e,t){return H(t,`except`,`last-nested`)&&HC(e)?!0:H(t,`except`,`after-closing-brace`)&&!(e.nodes??[]).some(e=>e.type===`decl`)}function WC(e,t,n,r,i){return UC(e,r)?n===`never`&&!VC(e,t):n===`always-multi-line`&&!i}function GC(e,t,n,r,i){return WC(e,t,n,r,i)?[`emptyLine`]:PC}function KC(e,t,n){return Nv(e,t,n).flatMap(({option:e,fixDisabled:t,secondary:n})=>!t&&typeof e==`string`?[{option:e,secondary:n}]:[])}function qC(e,t,n,r,i){let{writtenInFront:a}=XC(e,t,i),o=zC(n,!0);return KC(e,t,FC).some(({option:e})=>(a||e===`never-multi-line`)&&jv(e,()=>r)&&!zC(e,!0).some(e=>o.includes(e)))}function JC(e,t,n,r,i){let{holdsCode:a}=XC(e,t,i),o=zC(n,!0);return!a&&KC(e,t,IC).some(({option:e})=>jv(e,()=>r)&&!zC(e,!1).some(e=>o.includes(e)))}function YC(e,t,n,r,i){let{writtenInFront:a}=XC(e,t,i),o=zC(n,!0);function s(e){return e.some(e=>o.includes(e))}return qC(e,t,n,r,i)||JC(e,t,n,r,i)?!1:!a||KC(e,t,LC).every(({option:n,secondary:i})=>s(GC(e,t,n,i,r)))}function XC(e,t,n){let r=SS(n,xS(e,t)),i=r.match(N)?.[0]??``;return{holdsCode:i.length<r.length,writtenInFront:i.length===r.length||!P.test(r.slice(i.length))}}let{utils:{validateOptions:ZC}}=t,QC=`block-closing-brace-empty-line-before`;const $C=W({expected:`Expected empty line before closing brace`,rejected:`Unexpected empty line before closing brace`});let ew={url:Y(QC),fixable:!0};function tw({ruleName:e,messages:t,syntax:n},r,i){return(a,o)=>{if(!ZC(o,e,{actual:r,possible:[`always-multi-line`,`never`]},{actual:i,possible:{except:[`after-closing-brace`,`last-nested`]},optional:!0}))return;a.walk(e=>{_C(e)&&s(e)});function s(a){if(!R(a)||vC(a))return;let s=mC(a,o),c=SS(fC(n,a,o)||``,s),l=wC(a,Rb(a,o)),u=WC(a,o,r,i??{},wv(zb(a,o)));u!==yC(c)&&U({message:u?t.expected:t.rejected,result:o,ruleName:e,node:a,index:l,endIndex:l,fix(){u?gC(n,a,o,s):MC(n,a,o,s)}})}}}let nw=G({shortName:QC,meta:ew,messages:$C,rule:tw}),{ruleName:rw,messages:iw}=nw(B);function aw(e){return e.type===`comment`&&!uc.test(e.raws.before||``)&&!P.test(e.toString())?e.next():e}function ow(e,t){let n=e.raws.before;return(typeof n==`string`?n:``)+Up(e,t)}function sw(e){let t=e.raws.before;if(typeof t!=`string`)return{semicolon:``,run:``,holdsASemicolon:!1};let n=t.startsWith(`;`)?`;`:``,r=t.slice(n.length);return{semicolon:n,run:r.match(N)[0],holdsASemicolon:!rl.test(r)}}const cw={newline:{name:`block-closing-brace-newline-after`,options:[`always`,`always-single-line`,`never-single-line`,`always-multi-line`,`never-multi-line`],writes:`newline`},space:{name:`block-closing-brace-space-after`,options:[`always`,`never`,`always-single-line`,`never-single-line`,`always-multi-line`,`never-multi-line`],writes:`space`}};function lw(e,t){return t.startsWith(`always`)?[cw[e].writes]:[`none`]}function uw(e){return e===``?`none`:Ks.test(e)?`newline`:e===` `?`space`:`other`}function dw(e,t,n,r){let i=r.next();if(!i||e===`space`)return i;let a=n.stylelint?.config?.rules?.[t],o=Array.isArray(a)?a[1]:void 0;if(!(I(r)&&H(typeof o==`object`&&o?o:{},`ignoreAtRules`,r.name)))return aw(i)}function fw(e,t,n,r){let i=Object.keys(cw).find(t=>Im(cw[t].name,e.namespace)===r);if(!i)return!0;let a=Dv(t,n,cw),o=a.findIndex(([,,,e])=>e===r);if(o===-1)return!0;let s=dw(i,r,n,t);if(!s)return!0;let[,c]=a[o],l=lw(i,c),u;function d(){return u??=wv(zb(t,n)),u}let f=t.source?.end?.line,p=sw(s);function m(e,r,i){return!jv(r,d)||dw(e,i,n,t)!==s||e===`space`&&p.holdsASemicolon?!1:f===void 0||!sb(n,i,f)}let h=a.slice(o+1).every(([e,t,n,r])=>n||!m(e,t,r)?!0:lw(e,t).some(e=>l.includes(e))),g=uw(p.run),_=a.slice(0,o).every(([e,t,,n])=>{if(!m(e,t,n))return!0;let r=lw(e,t);return!r.includes(g)||r.some(e=>l.includes(e))});return h&&_}let{utils:{validateOptions:pw}}=t,mw=`block-closing-brace-newline-after`;const hw=W({expectedAfter:()=>`Expected newline after "}"`,expectedAfterSingleLine:()=>`Expected newline after "}" of a single-line block`,rejectedAfterSingleLine:()=>`Unexpected whitespace after "}" of a single-line block`,expectedAfterMultiLine:()=>`Expected newline after "}" of a multi-line block`,rejectedAfterMultiLine:()=>`Unexpected whitespace after "}" of a multi-line block`});let gw={url:Y(mw),fixable:!0};function _w({ruleName:e,messages:t,syntax:n},r,i){let a=Z(`newline`,r,t);return(t,o)=>{if(!pw(o,e,{actual:r,possible:[`always`,`always-single-line`,`never-single-line`,`always-multi-line`,`never-multi-line`]},{actual:i,possible:{ignoreAtRules:[Tu]},optional:!0}))return;t.walkRules(s),t.walkAtRules(s);function s(s){if(!R(s)||s.type===`atrule`&&H(i,`ignoreAtRules`,s.name))return;let c=s.next();if(!c)return;let l=aw(c);if(!l||r.startsWith(`never`)&&c.type===`comment`&&l!==c&&!n.isStandardComment(c))return;let u=Up(s,o).length,d=ow(l,o);d&&d.startsWith(`;`)&&(d=d.slice(1),u+=1);let{semicolon:f,run:p,holdsASemicolon:m}=sw(l),h=typeof l.raws.before==`string`&&(r.startsWith(`always`)||!m)&&fw(n,s,o,e);a.afterOneOnly({source:d,index:-1,lineCheckStr:zb(s,o),err:n=>{U({message:n,node:s,index:u,endIndex:u,result:o,ruleName:e,...h&&{fix(){let e=l.raws.before.slice(f.length+p.length);if(r.startsWith(`always`)){let n=p.search(P);l.raws.before=f+(n>=0?p.slice(n):X(t,o)+p)+e}else r.startsWith(`never`)&&(l.raws.before=f+e)}}})}})}}}let vw=G({shortName:mw,meta:gw,messages:hw,rule:_w}),{ruleName:yw,messages:bw}=vw(B);function xw(e,t){let n=e.search(P);if(n>=0)return e.slice(0,n).replaceAll(ys,``)+e.slice(n);let r=e.search(tl);return r>=0?e.slice(0,r)+t+e.slice(r):e+t}function Sw(e){return{newline:(t,n)=>t.startsWith(`always`)?xw(n,e()):n.replaceAll(ys,``),space:(e,t)=>t.replace(Xc,e.startsWith(`always`)?` `:``)}}function Cw(e,{start:t,end:n,text:r}){let i=e.slice(0,t);return(i.length-i.replace(Bc,``).length)%2==0||e.charAt(t)===`${r}${e.slice(n)}`.charAt(0)}function ww(e,t,n){let r=Ib(e,t,n).replace(N,``);return of(t.prop)&&(t.important||_S(t,n))?{head:r,value:vS(e,t,n)}:{head:r,value:e.read(t).replace(F,``)}}function Tw(e,t,n){let{head:r,value:i}=ww(e,t,n);return r+i}function Ew(e){let{parent:t}=e;return!t||!pu(t)||lb(t)?!1:e.next()===void 0&&pm(e)}function Dw(e,t,n){if(t.important||!Ew(t)||Fb(e,t,n)===-1)return!1;let r=Ib(e,t,n)+e.read(t);return r!==``&&rl.test(r)}function Ow(e,t,n){let{parent:r}=t;if(!r||t.important||vS(e,t,n)!==``||Fb(e,t,n)===-1||Ib(e,t,n)!==``||_S(t,n))return;let i=t.next(),a=i?i.raws.before:r.raws.after;if(typeof a==`string`&&rl.test(a))return{run:a,endsTheStylesheet:Ew(t)}}function kw(e,t,n){let r=Ow(e,t,n);return r&&!r.endsTheStylesheet?r.run:void 0}function Aw(e,t,n){return Ow(e,t,n)?.endsTheStylesheet??!1}function jw(e,t){let n=e.next();if(n){n.raws.before=t;return}let{parent:r}=e;r&&(r.raws.after=t)}const Mw={colonSpace:{name:`declaration-colon-space-after`,options:[`always`,`never`,`always-single-line`],writes:`space`},colonNewline:{name:`declaration-colon-newline-after`,options:[`always`,`always-multi-line`],writes:`newline`},commaSpace:{name:`value-list-comma-space-before`,options:[`always`,`never`,`always-single-line`,`never-single-line`],writes:`space`},commaNewline:{name:`value-list-comma-newline-before`,options:[`always`,`always-multi-line`,`never-multi-line`],writes:`newline`},semicolonSpace:{name:`declaration-block-semicolon-space-before`,options:[`always`,`never`,`always-single-line`,`never-single-line`],writes:`space`},semicolonNewline:{name:`declaration-block-semicolon-newline-before`,options:[`always`,`always-multi-line`,`never-multi-line`],writes:`newline`},braceSpace:{name:`block-closing-brace-space-before`,options:[`always`,`never`,`always-single-line`,`never-single-line`,`always-multi-line`,`never-multi-line`],writes:`space`},braceNewline:{name:`block-closing-brace-newline-before`,options:[`always`,`always-multi-line`,`never-multi-line`],writes:`newline`}},Nw=[`semicolonSpace`,`semicolonNewline`],Pw=[`braceSpace`,`braceNewline`],Fw=/* @__PURE__ */ new Set([...Nw,...Pw]),Iw=/* @__PURE__ */ new Set([`commaSpace`,`commaNewline`]);function Lw(e,t){let{parent:n}=e;if(e.important||n===void 0||!(I(n)||mu(n)||lb(n)))return{readBySemicolonRules:!1,readByBraceRules:!1};let r=_S(e,t);return{readBySemicolonRules:r,readByBraceRules:!r&&!lb(n)&&e.next()===void 0}}function Rw(e){if(!hc.test(e))return;let t=e.indexOf(`*/`,e.indexOf(`/*`)+2);return t===-1?void 0:e.slice(t+2)}function zw(e,t,n){let r={head:/* @__PURE__ */ new Set,tail:/* @__PURE__ */ new Set,tailRun:``,semicolon:/* @__PURE__ */ new Set,semicolonRun:``,brace:/* @__PURE__ */ new Set,braceRun:``,commentBehindHead:!1,runIsTheText:!1,behindComment:!1};if(!e.isStandardDeclaration(t))return r;let i=t.raws.between??``,a=Fb(e,t,n);if(a===-1)return r;let{readBySemicolonRules:o,readByBraceRules:s}=Lw(t,n),c=i.slice(a+1)+vS(e,t,n);if(rl.test(c)){if(Dw(e,t,n)||r.head.add(`colonSpace`),r.head.add(`colonNewline`),o){r.semicolonRun=c,r.runIsTheText=!0;for(let e of[`colonSpace`,`colonNewline`,...Nw])r.semicolon.add(e)}if(s){r.braceRun=c+(kw(e,t,n)??``),r.runIsTheText=!0;for(let e of[...r.head,...Pw])r.brace.add(e)}return r}let l=Rw(c);if(l!==void 0)return Bw(e,t,n,r,l,o,s);let u=c.replace(N,``);r.commentBehindHead=Rw(u)!==void 0;for(let n of Hw(e,t,u))r.head.add(n);return r}function Bw(e,t,n,r,i,a,o){if(r.behindComment=!0,rl.test(i)&&a){r.semicolonRun=i;for(let e of[`colonNewline`,...Nw])r.semicolon.add(e)}if(rl.test(i)&&o){r.braceRun=i+(kw(e,t,n)??``);for(let e of[`colonNewline`,...Pw])r.brace.add(e)}let s=Vw(e,t,i);if(s!==void 0){r.tailRun=s;for(let e of[`colonNewline`,...Iw])r.tail.add(e)}return r}function Vw(e,t,n){let r=n.match(N)[0];return n.slice(r.length).startsWith(`,`)&&e.isStandardProperty(t.prop)?r:void 0}function Hw(e,t,n){return n.startsWith(`,`)&&e.isStandardProperty(t.prop)?[`colonSpace`,`colonNewline`,...Iw]:[`colonSpace`,`colonNewline`]}function Uw(e,t,n){let{searchString:r}=e.searchCopy(rp(e,t),t,n),i=V(t),a=!1;return(0,db.default)({source:r,target:`,`,functionArguments:`skip`},e=>{e.startIndex>i&&(a=!0)}),a}function Ww(e,t,n,r){return t.startsWith(`always`)?[Mw[e].writes]:r&&(e===`semicolonNewline`||e===`semicolonSpace`&&of(n.prop))?[`none`,`space`]:[`none`]}function Gw(e,t,n,r){let i=Object.keys(Mw).find(t=>Im(Mw[t].name,e.namespace)===r);return i!==void 0&&zw(e,t,n).semicolon.has(i)}function Kw(e,t,n,r){let i=Object.keys(Mw).find(t=>Im(Mw[t].name,e.namespace)===r);return i!==void 0&&zw(e,t,n).brace.has(i)}function qw(e,t,n,r,i){let a=Ww(e,t,r,i),o=Yw(n);return o===`newline`?a.includes(`newline`)?e===`semicolonNewline`||e===`commaNewline`?qs.test(n):Ks.test(n):!1:a.includes(o)}function Jw(e){return e.match(M)?.length??0}function Yw(e){return e===``?`none`:Jw(e)>0?`newline`:e===` `?`space`:`other`}function Xw(e,t,n,r){let i=Object.keys(Mw).find(t=>Im(Mw[t].name,e.namespace)===r);if(!i)return!0;let{head:a,tail:o,tailRun:s,semicolon:c,semicolonRun:l,brace:u,braceRun:d,commentBehindHead:f,runIsTheText:p,behindComment:m}=zw(e,t,n),[h,g]=[[c,l],[u,d],[o,s],[a,l]].find(([e])=>e.has(i))??[a,l];if(!h.has(i))return!0;let _=Dv(t,n,Mw),v=_.findIndex(([,,,e])=>e===r);if(v===-1)return!0;let{parent:y}=t;if(!y)throw Error(`A parent node must be present`);let b=y,x,S,C=!1,w=h===a?Ib(e,t,n)+vS(e,t,n).match(N)[0]+(kw(e,t,n)??``):g;function T(e,t){return t.startsWith(`always`)?Mw[e].writes:`none`}function E(r,i,a,s){return jv(i,()=>{if(Fw.has(r))return a!==`newline`&&(x??=Jw(zb(b,n))-Jw(g),x===0);if(Iw.has(r))return a!==`newline`&&(S??=Jw(rp(e,t))-Jw(w),S===0);let i=Tw(e,t,n);if(h===o)return Jw(i)-Jw(g)+ +(a===`newline`)===0&&!C;let l=h===c,d=l?of(t.prop)?i.replace(F,``):i:i.replace(N,``),f=l?of(t.prop):h!==u&&rl.test(t.value)&&(of(t.prop)||d!==``);return wv(d)&&!C&&!(a===`newline`&&s&&f)})}let[ee,D]=_[v],te=T(ee,D);C=ee===`commaNewline`&&D.startsWith(`always`)&&Uw(e,t,n);let ne=Ww(ee,D,t,p),re=Nw.includes(ee),ie=h===a&&te!==`newline`&&f?new Set([...a].filter(e=>e!==`colonNewline`)):h;m&&ee!==`colonNewline`&&(ie=new Set([...ie].filter(e=>e!==`colonNewline`)));let O=_.slice(v+1).every(([e,n,r])=>{if(r||!ie.has(e)||!E(e,n,te,re))return!0;let i=Ww(e,n,t,p);return ne.some(e=>i.includes(e))||!E(ee,D,T(e,n),!0)}),ae=Yw(w),oe=_.slice(0,v).every(([e,n])=>{if(!ie.has(e))return!0;let r=Ww(e,n,t,p);return E(e,n,ae,!0)&&!qw(e,n,w,t,p)||!E(e,n,te,!0)?!0:r.includes(te)}),se=Zw(i,D,t,p,_,h);return se===void 0?O&&oe:se}function Zw(e,t,n,r,i,a){if(!r||!of(n.prop)||e===void 0)return;let o=e===`colonSpace`||e===`colonNewline`,s=e===`semicolonSpace`||e===`semicolonNewline`||e===`braceSpace`||e===`braceNewline`;if(o&&t===`always`&&!i.some(([t,,n])=>t===e&&n)&&i.some(([i,o,s])=>(i===`semicolonSpace`||i===`semicolonNewline`||i===`braceSpace`||i===`braceNewline`)&&!s&&a.has(i)&&Ww(e,t,n,r).every(e=>!Ww(i,o,n,r).includes(e))))return!0;if(s&&i.some(([i,o,s])=>(i===`colonSpace`||i===`colonNewline`)&&o===`always`&&!s&&a.has(i)&&Ww(i,o,n,r).every(i=>!Ww(e,t,n,r).includes(i)))&&!i.some(([t,,n])=>t===e&&n))return!1}let{utils:{validateOptions:Qw}}=t,$w=`block-closing-brace-newline-before`;const eT=W({expectedBefore:`Expected newline before "}"`,expectedBeforeMultiLine:`Expected newline before "}" of a multi-line block`,rejectedBeforeMultiLine:`Unexpected whitespace before "}" of a multi-line block`});let tT={url:Y($w),fixable:!0};function nT(e,t,n,r,i,a){return n&&Ks.test(e)?t.slice(Cf(r,i,a)):t}function rT(e,t,n){return Cw(e,{start:e.length-1-t.length,end:e.length-1,text:n})}function iT(e,t,n,r){return!L(r)||Xw(e,r,t,n)}function aT({ruleName:e,messages:t,syntax:n},r){return(i,a)=>{if(!Qw(a,e,{actual:r,possible:[`always`,`always-multi-line`,`never-multi-line`]}))return;let o=Sw(()=>X(i,a));i.walk(e=>{_C(e)&&s(e)});function s(i){if(!R(i)||vC(i))return;let s=fC(n,i,a)||``,c=Rb(i,a),l=n.commentTextHead(i,`after`,a),u=hC(n,i,a,c,s),d=Jd(u.text,n.inlineComments(i,a)),f=l??s.slice(0,xf(u.text,d,u.index)),p=s.slice(f.length),m=p.replace(Ec,``),h=!wv(zb(i,a)),g=TC(i,c),{last:_}=i;if(!_)throw Error(`The block must hold a node`);let v=r.startsWith(`always`)||!n.writesIntoInlineComment(_,a,ff(i)?void 0:`${f}${p.replaceAll(ys,``)}`);v&&=iT(n,a,e,_);let y=o.newline(r,p),b=`${nT(y,f,l===null,u.text,d,u.index)}${y}`;v&&l!==null&&(v=Ms.test(y)),v&&=rT(c,p,y),Ks.test(m)||(r===`always`?x(t.expectedBefore):h&&r===`always-multi-line`&&x(t.expectedBeforeMultiLine)),m!==``&&h&&r===`never-multi-line`&&x(t.rejectedBeforeMultiLine);function x(t){U({message:t,result:a,ruleName:e,node:i,index:g,endIndex:g,...v&&{fix:()=>{typeof fC(n,i,a)==`string`&&pC(n,i,a,b)}}})}}}}let oT=G({shortName:$w,meta:tT,messages:eT,rule:aT}),{ruleName:sT,messages:cT}=oT(B),{utils:{validateOptions:lT}}=t,uT=`block-closing-brace-space-after`;const dT=W({expectedAfter:()=>`Expected single space after "}"`,rejectedAfter:()=>`Unexpected whitespace after "}"`,expectedAfterSingleLine:()=>`Expected single space after "}" of a single-line block`,rejectedAfterSingleLine:()=>`Unexpected whitespace after "}" of a single-line block`,expectedAfterMultiLine:()=>`Expected single space after "}" of a multi-line block`,rejectedAfterMultiLine:()=>`Unexpected whitespace after "}" of a multi-line block`});let fT={url:Y(uT),fixable:!0};function pT({ruleName:e,messages:t,syntax:n},r){let i=Z(`space`,r,t);return(t,a)=>{if(!lT(a,e,{actual:r,possible:[`always`,`never`,`always-single-line`,`never-single-line`,`always-multi-line`,`never-multi-line`]}))return;t.walkRules(o),t.walkAtRules(o);function o(t){let o=t.next();if(!o||!R(t))return;let s=Up(t,a).length,c=ow(o,a);c&&c.startsWith(`;`)&&(c=c.slice(1),s+=1);let{semicolon:l,holdsASemicolon:u}=sw(o),d=typeof o.raws.before==`string`&&!u&&fw(n,t,a,e);i.after({source:c,index:-1,lineCheckStr:zb(t,a),err:n=>{U({message:n,node:t,index:s,endIndex:s,result:a,ruleName:e,...d&&{fix:()=>{o.raws.before=l+(r.startsWith(`always`)?` `:``)}}})}})}}}let mT=G({shortName:uT,meta:fT,messages:dT,rule:pT}),{ruleName:hT,messages:gT}=mT(B),{utils:{validateOptions:_T}}=t,vT=`block-closing-brace-space-before`;const yT=W({expectedBefore:()=>`Expected single space before "}"`,rejectedBefore:()=>`Unexpected whitespace before "}"`,expectedBeforeSingleLine:()=>`Expected single space before "}" of a single-line block`,rejectedBeforeSingleLine:()=>`Unexpected whitespace before "}" of a single-line block`,expectedBeforeMultiLine:()=>`Expected single space before "}" of a multi-line block`,rejectedBeforeMultiLine:()=>`Unexpected whitespace before "}" of a multi-line block`});let bT={url:Y(vT),fixable:!0};function xT(e,t,n,r){return!L(r)||Xw(e,r,t,n)}function ST({ruleName:e,messages:t,syntax:n},r){let i=Z(`space`,r,t);return(t,a)=>{if(!_T(a,e,{actual:r,possible:[`always`,`never`,`always-single-line`,`never-single-line`,`always-multi-line`,`never-multi-line`]}))return;let o=Sw(()=>X(t,a));t.walk(e=>{_C(e)&&s(e)});function s(t){if(!R(t)||vC(t))return;let s=zb(t,a),c=Rb(t,a),l=fC(n,t,a)||``,u=TC(t,c),d=hC(n,t,a,s,l),f=Jd(d.text,n.inlineComments(t,a)),p=n.commentTextHead(t,`after`,a),m=p??l.slice(0,xf(d.text,f,d.index)),h=l.slice(m.length),g=new Set([...mC(t,a)].map(e=>e-m.length).filter(e=>e>=0)),_=SS(h,g),{last:v}=t;if(!v)throw Error(`The block must hold a node`);let y=!n.writesIntoInlineComment(v,a,ff(t)?void 0:`${m}${_.replace(Xc,``)}`);y&&=xT(n,a,e,v);let b=wS(e=>o.space(r,e),h,g);xc.test(b)&&Sf(d.text,f,d.index+m.length)&&(b=` ${b}`),y&&p!==null&&(y=Ms.test(b)),y&&=Cw(s,{start:s.length-1-h.length,end:s.length-1,text:b});let x=`${d.text.slice(0,d.index+m.length)}${d.text===s&&dC(n,t,a)?`;`:``}`;i.before({source:bf(`${x}${_}}`,f),index:x.length+_.length,err:r=>{U({message:r,node:t,index:u,endIndex:u,result:a,ruleName:e,...y&&{fix:()=>{typeof fC(n,t,a)==`string`&&pC(n,t,a,`${m}${b}`)}}})}})}}}let CT=G({shortName:vT,meta:bT,messages:yT,rule:ST}),{ruleName:wT,messages:TT}=CT(B);function ET(e){return{newline:(t,n)=>{let r=n.replace(N,``);if(!t.startsWith(`always`))return r;let i=n.slice(0,n.length-r.length),a=i.search(P);return(a>=0?i.slice(a):e()+i)+r},space:(e,t)=>(e.startsWith(`always`)?` `:``)+t.replace(N,``)}}let{utils:{validateOptions:DT}}=t,OT=`block-opening-brace-newline-after`;const kT=W({expectedAfter:()=>`Expected newline after "{"`,expectedAfterMultiLine:()=>`Expected newline after "{" of a multi-line block`,rejectedAfterMultiLine:()=>`Unexpected whitespace after "{" of a multi-line block`,unresolvableAfter:()=>`No whitespace can satisfy both rules here; put the comment on a new line after "{"`});let AT={url:Y(OT),fixable:!0};function jT(e,t,n,r){for(let i=t.first;i&&i!==n;i=i.next())if(e.writesIntoInlineComment(i,r))return!0;return!1}function MT(e,t,n){let r=SS(oC(e,t)??``,xS(t,n)),i=t.last?ab(t.last):``;return!_c.test(r)&&P.test(i)?i:r}function NT(e,t,n){if(!t.has(e))return n();let r=e.raws.before,i=t.get(e);typeof i==`string`?e.raws.before=i:delete e.raws.before;try{return n()}finally{e.raws.before=r}}function PT(e){return(e.match(N)?.[0].match(M)??[]).length}function FT(e){return(e.match(M)??[]).length}function IT(e,t,n,r,i,a,o,s){let c=[];function l(e,t,n){n!==0&&t?.offset!==void 0&&t.line!==void 0&&c.push({offset:t.offset-e.length,line:t.line-FT(e),delta:n})}if(t===`never-multi-line`)for(let t=e.first;t&&t!==s;t=t.next()){let e=NT(t,n,()=>t.raws.before),r=t.source?.start;if(typeof e==`string`&&r?.offset!==void 0)for(let t of e.matchAll(M))c.push({offset:r.offset-e.length+t.index,line:r.line-FT(e.slice(t.index)),delta:-1})}return l(r,o,i-PT(SS(r,a))),c}function LT(e,t,n,r){let i=/* @__PURE__ */ new Map;for(let[e,n]of t)i.set(e,e.raws.before),typeof n==`string`?e.raws.before=n:delete e.raws.before;try{return BS(e.root(),n,r)}finally{for(let[e,t]of i)t===void 0?delete e.raws.before:e.raws.before=t}}function RT(e){let{before:t}=e.raws;typeof t==`string`?P.test(t)&&(e.raws.before=t.replaceAll(M,``)):e.raws.before=``}function zT(e,t){let n=e.slice(e.search(P));return n.slice(0,n.length-n.replace(N,``).length)+(t??``).replace(N,``)}function BT(e,t,n,r,i){i&&VT(n),sC(e,t,r)}function VT(e){for(let t of e)RT(t)}function HT(e,t,n,r){e.raws.before=wS(e=>n.newline(t,e),e.raws.before??``,TS(e,r))}function UT(e,t,n,r,i){if(t.first===void 0)return;if(r===`never-multi-line`)return t.first;let a=oC(e,t);if(typeof a==`string`&&qC(t,n,r,!P.test(a)&&i.every(e=>wv(Up(e,n))),a))return t.first}function WT(e,t,n,r,i){return r?ab(r)+Up(r,n):i?ab(i)+Up(i,n):`${MT(e,t,n)}}`}function GT(e,t,n,r,i,a){U({message:e,ruleName:t,node:n,index:r,endIndex:r,result:i,...a&&{fix:a}})}function KT(e,t,n,r){return t===`never-multi-line`&&e&&hu(e)&&typeof e.raws.before==`string`&&n.isStandardComment(e)&&nb(e)!==null?e:nb(e,r)}function qT({ruleName:e,messages:t,syntax:n},r,i){let a=Z(`newline`,r,t);return(o,s)=>{if(!DT(s,e,{actual:r,possible:[`always`,`always-multi-line`,`never-multi-line`]},{actual:i,possible:{ignore:[`rules`]},optional:!0}))return;let c=ET(()=>X(o,s));H(i,`ignore`,`rules`)||o.walkRules(l),o.walkAtRules(l);function l(i){if(!R(i)||vC(i))return;let{nodes:o}=i,l=/* @__PURE__ */ new Map;function u(e,t){if(!t)return;let n=ab(e);P.test(n)&&!_c.test(SS(ab(t),TS(t,s)))&&(l.set(t,t.raws.before),t.raws.before=n)}function d(){for(let[e,t]of l.entries())t===void 0?delete e.raws.before:e.raws.before=t;l.clear()}let f=KT(i.first,r,n,u),p=Lb(i,s,{noRawBefore:!0}).length+1,m=f===null?UT(n,i,s,r,o):void 0,h=!1;if(r===`always`&&f===null&&o.length===1&&o[0]!==void 0&&!P.test(ab(o[0]))){let e=oC(n,i);h=typeof e==`string`&&JC(i,s,r,!1,e)}let g=r.startsWith(`always`)||!jT(n,i,f,s)?f===null?_(m):v(f):void 0;a.afterOneOnly({source:WT(n,i,s,f,m),index:-1,lineCheckStr:zb(i,s),err:n=>GT(h?t.unresolvableAfter():n,e,i,p,s,g)}),d();function _(e){let t=oC(n,i);if(typeof t!=`string`)return;let a=xS(i,s),u=wS(e=>c.newline(r,e),t,a),f=r===`never-multi-line`&&!P.test(u)&&o.every(e=>wv(Up(e,s))),p=e?ab(e):t,m=PT(e?p:c.newline(r,SS(t,a))),h=e?e.source?.start:i.source?.end&&{offset:i.source.end.offset===void 0?void 0:i.source.end.offset-1,line:i.source.end.line};if(!(!e&&!YC(i,s,r,f,t)||LT(i,l,s,IT(i,r,l,p,m,a,h,e))))return()=>{r===`never-multi-line`&&d(),e?HT(e,r,c,s):BT(n,i,o,u,r===`never-multi-line`)}}function v(e){let t=NT(e,l,()=>ab(e)),n=NT(e,l,()=>TS(e,s)),a=PT(r.startsWith(`always`)&&l.has(e)?zT(ab(e),l.get(e)):c.newline(r,SS(t,n)));if(!LT(i,l,s,IT(i,r,l,t,a,n,e.source?.start,e)))return()=>{let t=e.raws;if(r.startsWith(`always`)){let n=ab(e);t.before=l.has(e)?zT(n,l.get(e)):wS(e=>c.newline(r,e),n,TS(e,s)),l.delete(e)}else if(r===`never-multi-line`){d();for(let t=i.first;t&&t!==e;t=t.next())RT(t);t.before=wS(e=>c.newline(r,e),t.before??``,TS(e,s))}}}}}}let JT=G({shortName:OT,meta:AT,messages:kT,rule:qT}),{ruleName:YT,messages:XT}=JT(B),{utils:{validateOptions:ZT}}=t,QT=`block-opening-brace-newline-before`;const $T=W({expectedBefore:()=>`Expected newline before "{"`,expectedBeforeSingleLine:()=>`Expected newline before "{" of a single-line block`,rejectedBeforeSingleLine:()=>`Unexpected whitespace before "{" of a single-line block`,expectedBeforeMultiLine:()=>`Expected newline before "{" of a multi-line block`,rejectedBeforeMultiLine:()=>`Unexpected whitespace before "{" of a multi-line block`});let eE={url:Y(QT),fixable:!0};function tE(e,t){let n=e.search(Yc);return n>=0?e.slice(0,n)+t+e.slice(n):e+t}function nE({ruleName:e,messages:t,syntax:n},r){let i=Z(`newline`,r,t);return(t,a)=>{if(!ZT(a,e,{actual:r,possible:[`always`,`always-single-line`,`never-single-line`,`always-multi-line`,`never-multi-line`]}))return;t.walkRules(o),t.walkAtRules(o);function o(o){if(!R(o)||vC(o))return;let s=Lb(o,a),c=Lb(o,a,{noRawBefore:!0}),l=c.length-1;c[l-1]===`\r`&&--l;let u=typeof o.raws.between==`string`?o.raws.between:``,d=Jd(s,n.inlineComments(o,a)),f=u.slice(0,xf(s,d,s.length-u.length)),p=u.slice(f.length),m=bf(s,d),h=n.endsWithInlineComment(`${n.read(o)}${u}`,n.inlineComments(o,a));i.beforeAllowingIndentation({lineCheckStr:zb(o,a),source:m,index:s.length,err:n=>{let i=r.startsWith(`always`)?tE(p,X(t,a)):p.replace(Xc,``),c=!(r.startsWith(`never`)&&h)&&Cw(`${s}{`,{start:s.length-p.length,end:s.length,text:i});U({message:n,node:o,index:l,endIndex:l,result:a,ruleName:e,...c&&{fix:()=>{typeof o.raws.between==`string`&&(o.raws.between=`${Ks.test(i)?f.slice(Cf(s,d,s.length-u.length)):f}${i}`)}}})}})}}}let rE=G({shortName:QT,meta:eE,messages:$T,rule:nE}),{ruleName:iE,messages:aE}=rE(B),{utils:{validateOptions:oE}}=t,sE=`block-opening-brace-space-after`;const cE=W({expectedAfter:()=>`Expected single space after "{"`,rejectedAfter:()=>`Unexpected whitespace after "{"`,expectedAfterSingleLine:()=>`Expected single space after "{" of a single-line block`,rejectedAfterSingleLine:()=>`Unexpected whitespace after "{" of a single-line block`,expectedAfterMultiLine:()=>`Expected single space after "{" of a multi-line block`,rejectedAfterMultiLine:()=>`Unexpected whitespace after "{" of a multi-line block`});let lE={url:Y(sE),fixable:!0};function uE({ruleName:e,messages:t},n,r){let i=Z(`space`,n,t);return(t,a)=>{if(!oE(a,e,{actual:n,possible:[`always`,`never`,`always-single-line`,`never-single-line`,`always-multi-line`,`never-multi-line`]},{actual:r,possible:{ignore:[`at-rules`]},optional:!0}))return;let o=ET(()=>X(t,a));t.walkRules(s),H(r,`ignore`,`at-rules`)||t.walkAtRules(s);function s(t){if(!R(t)||vC(t))return;let r=t.first;if(r===void 0)return;let s=Lb(t,a,{noRawBefore:!0}).length+1;i.after({source:zb(t,a),index:0,err:i=>{U({message:i,node:t,index:s,endIndex:s,result:a,ruleName:e,fix:()=>{r.raws.before=o.space(n,ab(r))}})}})}}}let dE=G({shortName:sE,meta:lE,messages:cE,rule:uE}),{ruleName:fE,messages:pE}=dE(B),{utils:{validateOptions:mE}}=t,hE=`block-opening-brace-space-before`;const gE=W({expectedBefore:()=>`Expected single space before "{"`,rejectedBefore:()=>`Unexpected whitespace before "{"`,expectedBeforeSingleLine:()=>`Expected single space before "{" of a single-line block`,rejectedBeforeSingleLine:()=>`Unexpected whitespace before "{" of a single-line block`,expectedBeforeMultiLine:()=>`Expected single space before "{" of a multi-line block`,rejectedBeforeMultiLine:()=>`Unexpected whitespace before "{" of a multi-line block`});let _E={url:Y(hE),fixable:!0};function vE({ruleName:e,messages:t,syntax:n},r,i){let a=Z(`space`,r,t);return(t,o)=>{if(!mE(o,e,{actual:r,possible:[`always`,`never`,`always-single-line`,`never-single-line`,`always-multi-line`,`never-multi-line`]},{actual:i,possible:{ignoreAtRules:[Tu,wu],ignoreSelectors:[Tu,wu]},optional:!0}))return;t.walkRules(s),t.walkAtRules(s);function s(t){if(!R(t)||vC(t)||t.type===`atrule`&&H(i,`ignoreAtRules`,t.name)||t.type===`rule`&&H(i,`ignoreSelectors`,t.selector))return;let s=Lb(t,o),c=Lb(t,o,{noRawBefore:!0}),l=c.length-1;c[l-1]===`\r`&&--l;let u=t.raws.between??``,d=Jd(s,n.inlineComments(t,o)),f=u.slice(0,xf(s,d,s.length-u.length)),p=u.slice(f.length),m=bf(s,d);a.before({source:m,index:s.length,lineCheckStr:zb(t,o),err:i=>{let a=p.replace(Xc,``),c=r.startsWith(`always`)?`${a} `:a;xc.test(c)&&Sf(s,d,s.length-p.length)&&(c=` ${c}`);let m=!n.endsWithInlineComment(`${n.read(t)}${u}`,n.inlineComments(t,o))&&Cw(`${s}{`,{start:s.length-p.length,end:s.length,text:c});U({message:i,node:t,index:l,endIndex:l,result:o,ruleName:e,...m&&{fix:()=>{t.raws.between=`${f}${c}`}}})}})}}}let yE=G({shortName:hE,meta:_E,messages:gE,rule:vE}),{ruleName:bE,messages:xE}=yE(B),{utils:{validateOptions:SE}}=t,CE=`color-hex-case`;const wE=W({expected:(e,t)=>`Expected "${e}" to be "${t}"`});let TE={url:Y(CE),fixable:!0};function EE({ruleName:e,messages:t,syntax:n},r){return(i,a)=>{SE(a,e,{actual:r,possible:[`lower`,`upper`]})&&i.walkDecls(i=>{if(!zo.test(i.value))return;let o=n.read(i),s=n.commentSpans(o,i,a),c=(0,No.default)(Nx(Fx(o,s),s)),l=[];c.walk((n,o,c)=>{let{value:u}=n;if(Wb(n,o,c)&&!Gb(n))return!1;if(Xd(n,s)||!DE(n))return;let d=cy(u,r);if(u===d)return;let f=V(i)+n.sourceIndex;U({message:t.expected,messageArgs:[u,d],node:i,index:f,endIndex:f,result:a,ruleName:e,fix(){l.push({start:n.sourceIndex,end:n.sourceIndex+u.length,text:d})}})}),l.length>0&&n.write(i,Zf(o,l))})}}function DE(e){let{type:t,value:n}=e;return t===`word`&&ws.test(n)}let OE=G({shortName:CE,meta:TE,messages:wE,rule:EE}),{ruleName:kE,messages:AE}=OE(B);function jE(e,t){let n=e.findLast(({start:e})=>e<=t.end);for(let r of e){let e=r.start+r.text.length,i=Math.min(Math.max(t.start,r.start),e),a=Math.min(Math.max(t.end,r.start),e),o=r===n?t.text:``;(i!==a||o)&&r.edits.push({start:i-r.start,end:a-r.start,text:o})}}function ME(e){let{fix:t}=e;e.root.walkDecls(n=>{let r=V(n),i=rp(e.syntax,n),{searchString:a,runString:o}=e.syntax.searchCopy(i,n,e.result),s=a.slice(r);if(!s.includes(`!`))return;let c=e.syntax.inlineComments(n,e.result),l=Kd(i,c),u=n.raws.between||`:`,d=e.syntax.read(n),f=[{start:r-u.length,text:u,write:e=>{n.raws.between=e},edits:[]},{start:r,text:d,write:t=>{e.syntax.write(n,t)},edits:[]}];n.important&&f.push({start:r+d.length,text:n.raws.important||` !important`,write:e=>{n.raws.important=e},edits:[]}),(0,db.default)({source:s,target:`!`},a=>{let s=a.startIndex+r;if(Yd(s,l))return;let u=i.slice(0,s);if((u.length-u.replace(Bc,``).length)%2==1)return;let d=t&&(!e.isFixable||e.isFixable(n,s))&&t({text:o,index:s}).every(e=>!vx(i,e,c,n)&&Cw(i,e));e.locationChecker({source:o,index:s,err:r=>{U({message:r,node:n,index:s,endIndex:s,result:e.result,ruleName:e.checkedRuleName,...t&&d&&{fix:()=>{for(let e of t({text:o,index:s}))jE(f,e)}}})}})});for(let e of f)e.edits.length>0&&e.write(Zf(e.text,e.edits))})}let{utils:{validateOptions:NE}}=t,PE=`declaration-bang-space-after`;const FE=W({expectedAfter:()=>`Expected single space after "!"`,rejectedAfter:()=>`Unexpected whitespace after "!"`});let IE={url:Y(PE),fixable:!0};function LE({ruleName:e,messages:t,syntax:n},r){let i=Z(`space`,r,t);return(t,a)=>{NE(a,e,{actual:r,possible:[`always`,`never`]})&&ME({root:t,result:a,syntax:n,locationChecker:i.after,checkedRuleName:e,fix:e=>{let t=e.index+1,n=e.text.length-e.text.slice(t).replace(N,``).length;return r===`always`?[{start:t,end:n,text:` `}]:r===`never`?[{start:t,end:n,text:``}]:[]}})}}let RE=G({shortName:PE,meta:IE,messages:FE,rule:LE}),{ruleName:zE,messages:BE}=RE(B),{utils:{validateOptions:VE}}=t,HE=`declaration-bang-space-before`;const UE=W({expectedBefore:()=>`Expected single space before "!"`,rejectedBefore:()=>`Unexpected whitespace before "!"`});let WE={url:Y(HE),fixable:!0};function GE({ruleName:e,messages:t,syntax:n},r){let i=Z(`space`,r,t);return(t,a)=>{VE(a,e,{actual:r,possible:[`always`,`never`]})&&ME({root:t,result:a,syntax:n,locationChecker:i.before,checkedRuleName:e,isFixable:(e,t)=>!n.endsWithInlineComment(rp(n,e).slice(0,t),n.inlineComments(e,a)),fix:e=>{let t=e.text.slice(0,e.index).replace(F,``).length;return r===`always`?[{start:t,end:e.index,text:` `}]:r===`never`?[{start:t,end:e.index,text:``}]:[]}})}}let KE=G({shortName:HE,meta:WE,messages:UE,rule:GE}),{ruleName:qE,messages:JE}=KE(B),{utils:{validateOptions:YE}}=t,XE=`declaration-block-semicolon-newline-after`;const ZE=W({expectedAfter:()=>`Expected newline after ";"`,expectedAfterMultiLine:()=>`Expected newline after ";" in a multi-line declaration block`,rejectedAfterMultiLine:()=>`Unexpected newline after ";" in a multi-line declaration block`});let QE={url:Y(XE),fixable:!0};function $E({ruleName:e,messages:t,syntax:n},r){let i=Z(`newline`,r,t);return(t,a)=>{YE(a,e,{actual:r,possible:[`always`,`always-multi-line`,`never-multi-line`]})&&t.walkDecls(o=>{let s=o.parent;if(!s)throw Error(`A parent node must be present`);if(!I(s)&&!mu(s)&&!lb(s)||pm(o)||n.closingSemicolonIsCommentText(o,a))return;let c=o.next();if(!c)return;let l=r.startsWith(`always`)?US(c,a):nb(c);if(!l)return;let u=Up(o,a).length+1,d=l.prev(),f=r.startsWith(`always`)||!n.writesIntoInlineComment(d,a,d===o?`;`:``),p=TS(l,a);i.afterOneOnly({source:SS(ab(l),p)+Up(l,a),index:-1,lineCheckStr:zb(s,a),err:n=>{U({message:n,node:o,index:u,endIndex:u,result:a,ruleName:e,...f&&{fix:()=>{l.raws.before=ES(l,e=>{let n=e.match(N)[0],i=e.slice(n.length);if(r.startsWith(`always`)){let e=n.search(P),o=(e>=0?n.slice(e):X(t,a)+n)+i;if(hu(l)&&r.startsWith(`always`)&&Wy(l,a)){let e=X(t,a);o=P.test(o)?o.replace(P,t=>e+t):e.repeat(2)+o}return o}return i},a)}}})}})})}}let eD=G({shortName:XE,meta:QE,messages:ZE,rule:$E}),{ruleName:tD,messages:nD}=eD(B),{utils:{validateOptions:rD}}=t,iD=`declaration-block-semicolon-newline-before`;const aD=W({expectedBefore:()=>`Expected newline before ";"`,expectedBeforeMultiLine:()=>`Expected newline before ";" in a multi-line declaration block`,rejectedBeforeMultiLine:()=>`Unexpected whitespace before ";" in a multi-line declaration block`});let oD={url:Y(iD),fixable:!0};function sD({ruleName:e,messages:t,syntax:n},r){let i=Z(`newline`,r,t);return(t,a)=>{rD(a,e,{actual:r,possible:[`always`,`always-multi-line`,`never-multi-line`]})&&t.walkDecls(o=>{let s=o.parent;if(!s)throw Error(`A parent node must be present`);if(!I(s)&&!mu(s)&&!lb(s)||pm(o)||gS(o,a)===!1||n.closingSemicolonIsCommentText(o,a))return;let c=n.read(o),l=of(o.prop)&&Oc.test(c);if(r.startsWith(`never`)&&Ib(n,o,a)+c===` `)return;let u=rp(n,o),d=u.length-1,f=(r.startsWith(`always`)||!n.writesIntoInlineComment(o,a))&&Xw(n,o,a,e)&&Qx(n,o,a,r.startsWith(`always`)?X(t,a):``);i.beforeAllowingIndentation({source:bf(u,Jd(u,n.inlineComments(o,a)),!0),index:u.length,lineCheckStr:zb(s,a),err:i=>{U({message:i,node:o,index:d,endIndex:d,result:a,ruleName:e,...f&&{fix:()=>{r.startsWith(`always`)?eS(n,o,a,X(t,a)):r===`never-multi-line`&&(l?n.write(o,` `):eS(n,o,a,``))}}})}})})}}let cD=G({shortName:iD,meta:oD,messages:aD,rule:sD}),{ruleName:lD,messages:uD}=cD(B),{utils:{validateOptions:dD}}=t,fD=`declaration-block-semicolon-space-after`;const pD=W({expectedAfter:()=>`Expected single space after ";"`,rejectedAfter:()=>`Unexpected whitespace after ";"`,expectedAfterSingleLine:()=>`Expected single space after ";" in a single-line declaration block`,rejectedAfterSingleLine:()=>`Unexpected whitespace after ";" in a single-line declaration block`});let mD={url:Y(fD),fixable:!0};function hD({ruleName:e,messages:t,syntax:n},r){let i=Z(`space`,r,t);return(t,a)=>{dD(a,e,{actual:r,possible:[`always`,`never`,`always-single-line`,`never-single-line`]})&&t.walkDecls(t=>{let o=t.parent;if(!o)throw Error(`A parent node must be present`);if(!I(o)&&!mu(o)&&!lb(o)||pm(t)||gS(t,a)===!1||n.closingSemicolonIsCommentText(t,a))return;let s=t.next();if(!s)return;let c=Up(t,a).length+1,l=TS(s,a);i.after({source:SS(ab(s),l)+Up(s,a),index:-1,lineCheckStr:zb(o,a),err:n=>{U({message:n,node:t,index:c,endIndex:c,result:a,ruleName:e,fix:()=>{s.raws.before=ES(s,e=>{let t=e.slice(e.match(N)[0].length);return r.startsWith(`always`)?` ${t}`:t},a)}})}})})}}let gD=G({shortName:fD,meta:mD,messages:pD,rule:hD}),{ruleName:_D,messages:vD}=gD(B),{utils:{validateOptions:yD}}=t,bD=`declaration-block-semicolon-space-before`;const xD=W({expectedBefore:()=>`Expected single space before ";"`,rejectedBefore:()=>`Unexpected whitespace before ";"`,expectedBeforeSingleLine:()=>`Expected single space before ";" in a single-line declaration block`,rejectedBeforeSingleLine:()=>`Unexpected whitespace before ";" in a single-line declaration block`});let SD={url:Y(bD),fixable:!0};function CD({ruleName:e,messages:t,syntax:n},r){let i=Z(`space`,r,t);return(t,a)=>{yD(a,e,{actual:r,possible:[`always`,`never`,`always-single-line`,`never-single-line`]})&&t.walkDecls(t=>{let o=t.parent;if(!o)throw Error(`A parent node must be present`);if(!I(o)&&!mu(o)&&!lb(o))return;let s=gS(t,a);if(s===!1||pm(t)&&!(s&&of(t.prop)&&tS(n,t,a)&&Gx(n,t,a)===``))return;let c=n.read(t),l=!1;if(of(t.prop)&&!t.important&&(l=nl.test(c),r.startsWith(`never`)&&Ib(n,t,a)+c===` `))return;let u=rp(n,t),d=u.length-1,f=!n.writesIntoInlineComment(t,a)&&Xw(n,t,a,e)&&Qx(n,t,a,r.startsWith(`always`)?` `:``);i.before({source:bf(u,Jd(u,n.inlineComments(t,a)),!0),index:u.length,lineCheckStr:zb(o,a),err:i=>{U({message:i,node:t,index:d,endIndex:d,result:a,ruleName:e,...f&&{fix:()=>{r.startsWith(`always`)?eS(n,t,a,` `):r.startsWith(`never`)&&(l?n.write(t,` `):eS(n,t,a,``))}}})}})})}}let wD=G({shortName:bD,meta:SD,messages:xD,rule:CD}),{ruleName:TD,messages:ED}=wD(B),{utils:{validateOptions:DD}}=t,OD=`declaration-block-single-line-max-declarations`;const kD=W({expected:e=>`Too many declarations, maximum ${e}`});let AD={url:Y(OD),fixable:!0};const jD={newline:{name:`block-opening-brace-newline-after`,options:[`always`,`always-multi-line`,`never-multi-line`]},space:{name:`block-opening-brace-space-after`,options:[`always`,`never`,`always-single-line`,`never-single-line`,`always-multi-line`,`never-multi-line`]}},MD={newline:{name:`declaration-block-semicolon-newline-after`,options:[`always`,`always-multi-line`,`never-multi-line`]},space:{name:`declaration-block-semicolon-space-after`,options:[`always`,`never`,`always-single-line`,`never-single-line`]}},ND={newline:{name:`block-closing-brace-newline-after`,options:[`always`,`always-single-line`,`never-single-line`,`always-multi-line`,`never-multi-line`]},space:{name:`block-closing-brace-space-after`,options:[`always`,`never`,`always-single-line`,`never-single-line`,`always-multi-line`,`never-multi-line`]}},PD={newline:{name:`block-closing-brace-newline-before`,options:[`always`,`always-multi-line`,`never-multi-line`]},space:{name:`block-closing-brace-space-before`,options:[`always`,`never`,`always-single-line`,`never-single-line`,`always-multi-line`,`never-multi-line`]}};function FD(){return!1}function ID(e,t){return e===void 0?jD:L(e)?MD:t?ND:void 0}function LD(e,t){let n=e.prev(),r=0;for(;n&&hu(n);)r+=1,n=n.prev();let i=n!==void 0&&(mu(n)||I(n))&&R(n)?n:void 0,a=ID(n,i),o=i?()=>wv(zb(i,t)):FD;return a?hu(e)?{rules:r===0?{space:a.space}:{},isSingleLine:o}:r===0?{rules:a,isSingleLine:o}:{rules:i&&r>1?{}:{newline:a.newline},isSingleLine:o}:{rules:{},isSingleLine:o}}function RD(e,t,n){let r=e.stylelint?.config;if(!r?.fix)return!1;let i=r.rules?.[t],a=Array.isArray(i)?i[1]:void 0;return typeof a==`object`&&a&&a.disableFix?!1:!sb(e,t,n)}function zD({ruleName:e,messages:t,syntax:n},r){let i=/* @__PURE__ */ new WeakMap;return(a,o)=>{let s=i.get(a)??DD(o,e,{actual:r,possible:[Su]});if(i.set(a,s),!s)return;let c=jh(a);a.walk(e=>{(mu(e)||I(e))&&l(e)});function l(i){if(!R(i))return;let a=zb(i,o);if(!wv(a)||i.nodes.filter(L).length<=r)return;let s=Lb(i,o,{noRawBefore:!0}).length,l=X(i,o),u=i.nodes.map(e=>{let{rules:t,isSingleLine:n}=LD(e,o),r=(e.raws.before??``).match(tc)?.[0]??``;return{node:e,whitespace:Rv(e,o,t,n,hu(e)?r:l)}}),d=Rv(i,o,PD,FD,l),f=P.test(d)||u.some(({whitespace:e})=>P.test(e)),p=ng(i),m=p===i?i.rangeBy({index:s,endIndex:s+a.length}).start.line:p?.source?.start?.line;(!c||f&&m!==void 0&&RD(o,e,m))&&U({message:t.expected,messageArgs:[r],node:i,index:s,endIndex:s+a.length,result:o,ruleName:e,...f&&{fix:()=>{for(let{node:e,whitespace:t}of u)e.raws.before=t+(e.raws.before??``).replace(tc,``);sC(n,i,(oC(n,i)??``).replace(Xc,``)+d)}}})}}}let BD=G({shortName:OD,meta:AD,messages:kD,rule:zD,defersToRunEnd:!0,checksAheadOfLineness:!0}),{ruleName:VD,messages:HD}=BD(B);function UD(e,t,n){if(R(t)||typeof t.raws.important==`string`||L(t)&&t.important)return null;let{parent:r}=t;if(!r)throw Error(`The node must stand in a block`);let i=I(t)&&t.raws.afterName||``,a=e.read(t),o=I(t)&&t.raws.between||``,s=`${i}${a}${o}`,c=e.commentSpans(s,t,n),l=c.findLast(e=>e.isInline);if(!l)return null;let u=z(s,c.filter(e=>e.isInline)).replace(F,``).length,d=s.slice(u),f=s.slice(0,u);if(!d||(f.length-f.replace(Bc,``).length)%2==1)return null;let p=t.next(),m=p?p.raws.before||``:r.raws.after||``;return P.test(s.slice(l.start)+m)?{run:d,move(){function n(e,t){return s.slice(e,Math.max(e,Math.min(t,u)))}let c=i.length,l=c+a.length;I(t)&&(u<c&&(t.raws.afterName=n(0,c)),u<l+o.length&&(t.raws.between=n(l,s.length))),u<l&&e.write(t,n(c,l)),p?p.raws.before=`${d}${m}`:r.raws.after=`${d}${m}`}}:null}let{utils:{validateOptions:WD}}=t,GD=`declaration-block-trailing-semicolon`;const KD=W({expected:`Expected a trailing semicolon`,rejected:`Unexpected trailing semicolon`});let qD={url:Y(GD),fixable:!0};function JD(e,t){let{source:n}=e;if(!n?.start)return;let r=n.start.offset;return n.end?{start:r,end:n.end.offset}:{start:r,end:r+Up(e,t).replace(F,``).length}}function YD(e){if(pu(e))return JD(e)?.end;let t=ub(e);return t===void 0?t:t-String(e.raws.ownSemicolon??``).length-1}function XD(e,t){return e===void 0?void 0:e+t}function ZD(e,t,n,r){let i=t.parent;if(!i?.nodes)throw Error(`The node must stand in a block`);let a=[],o=r;function s(e){if(!o)return e;let t=e.search(Ms);return t===-1?` `.repeat(e.length):(o=!1,` `.repeat(t)+e.slice(t))}for(let r of i.nodes.slice(i.index(t)+1)){let t=r.raws.before;typeof t==`string`&&a.push({owner:r,key:`before`,start:XD(JD(r)?.start,-t.length),text:t,code:s(t)});let i=hu(r)?e.inlineCommentCode(r):null;i!==null&&hu(r)&&a.push({owner:r,key:`text`,start:XD(JD(r)?.start,2),text:`${r.raws.left??``}${r.text}`,code:i}),o&&Ms.test(Up(r,n))&&(o=!1)}let c=i.raws.after;return typeof c==`string`&&a.push({owner:i,key:`after`,start:XD(YD(i),-c.length),text:c,code:s(c)}),a}function QD(e){return e.code.includes(`;`)}function $D(e,t,n){return n||R(e)?t.some(e=>QD(e)):!!e.parent?.raws.semicolon}function eO(e,t){return Pb(e.code,e.key===`text`?/* @__PURE__ */ new Set:Nb(e.owner,e.key,t))}function tO(e,t,n,r){let i=JD(e,t),a=n.findLast(e=>eO(e,t)!==void 0),o=Up(e,t).trim().length-1;if(a)return i&&a.start!==void 0?a.start+eO(a,t)-i.start:o;if(!e.parent?.raws.semicolon||r)return;if(!i)return o;let s=e.root(),c=s.source?.input.css??``,l=s.source?.start?.offset??0,u=i.end-1-l;if(c[u]===`;`)return i.end-1-i.start;let d=u+1+(c.slice(u+1).match(N)?.[0].length??0);return c[d]===`;`?d+l-i.start:i.end-1-i.start}function nO(e){return e.text.replaceAll(gs,(t,n)=>e.code[n]===`;`?``:t)}function rO(e,t,n,r,i){let{parent:a}=t;if(!a)throw Error(`The node must stand in a block`);a.raws.semicolon&&!e.writesIntoInlineComment(t,n)&&eS(e,t,n,``),i||(a.raws.semicolon=!1);for(let e of r){let t=nO(e);e.key===`text`&&hu(e.owner)?e.owner.text=t.slice(String(e.owner.raws.left??``).length):e.owner.raws[e.key]=t}}function iO(e){let t=(0,fu.default)(new du(e),{ignoreErrors:!0}),n=``;for(;!t.endOfFile();){let e=t.nextToken();e[0]!==`comment`&&(n+=e[1])}return n}function aO(e,t,n){let{parent:r}=t;if(!r)throw Error(`The node must stand in a block`);let i=r.nodes.slice(r.index(t)+1),a=i.map(e=>ab(e)+Up(e,n)).join(``)+String(r.raws.after??``);for(let e of i)e.remove();if(r.raws.after=``,!L(t)){t.raws.between=String(t.raws.between??``)+a;return}if(t.important){t.raws.important=String(t.raws.important??` !important`)+a;return}let o=e.read(t)+a;e.write(t,o);let s=iO(o);s!==o&&(t.raws.value={raw:o,value:s},t.value=s)}function oO(e,t,n){let r=e.next();return n[0]?.text?n[0].text:r?Up(r,t):e.parent&&pu(e.parent)?``:`}`}function sO(e,t,n){let[r]=n;return r?nO(r)||oO(e,t,[]):oO(e,t,n)}function cO(e,t,n){let r=Ib(e,t,n)+e.read(t);return r.slice(r.replace(F,``).length)}function lO(e,t,n,r,i){return r||i?r:Jx(e,t,n)}function uO(e){return I(e)&&!e.next()&&!e.raws.important?e:void 0}function dO(e,t,n,r,i,a,o,s,c){return n===`never`?e.requiresTrailingSemicolon(t,i)||uS(t)&&a?!1:!t.parent?.raws.semicolon||e.writesIntoInlineComment(t,i)?!0:$x(e,t,i,sO(t,i,s)):R(t)||a?!1:e.writesIntoInlineComment(t,i,r)?c!==null:Qx(e,t,i,o,oO(t,i,s))}function fO(e,t,n,r,i){return n===`never`||!e.writesIntoInlineComment(t,i,r)?null:UD(e,t,i)}function pO({ruleName:e,messages:t,syntax:n},r,i){return(a,o)=>{if(!WD(o,e,{actual:r,possible:[`always`,`never`]},{actual:i,possible:{ignore:[`single-declaration`]},optional:!0}))return;a.walkAtRules(e=>{if(!e.parent)throw Error(`A parent node must be present`);lS(n,e)&&!R(e)&&s(e)}),a.walkDecls(e=>{if(!e.parent)throw Error(`A parent node must be present`);lS(n,e)&&s(e)});function s(a){let{parent:s}=a;if(!s)throw Error(`A parent node must be present`);let c=n.closingSemicolonIsCommentText(a,o),l=ZD(n,a,o,c),u=$D(a,l,c),d=r===`never`?tO(a,o,l,c):void 0;if(H(i,`ignore`,`single-declaration`)&&nb(s.first)===a)return;let f;r===`always`&&!u?f=t.expected:r===`never`&&d!==void 0&&(f=t.rejected);let p=d??Up(a,o).trim().length-1;if(f){let i=uO(a),d=!!i&&ff(s),m=typeof i?.raws.between==`string`?i.raws.between:``,h=m.replace(F,``),g=f===t.expected&&(L(a)||I(a))?Gx(n,a,o):``,_=i?void 0:g,v=fO(n,a,r,_,o),y=nS(n,a,o);U({message:f,node:a,index:p,endIndex:p,result:o,ruleName:e,...dO(n,a,r,_,o,c,lO(n,a,o,g,d||y!==``),l,v)&&{fix:()=>{r===`always`&&!u?(s.raws.semicolon=!0,i&&d&&(i.raws.between=h,s.raws.after=m.slice(h.length)),v?.move(),y&&(eS(n,a,o,``),s.raws.after=y),i?g&&eS(n,i,o,g):L(a)&&g&&(a.important||!rl.test(n.read(a))||cO(n,a,o)!==g)&&eS(n,a,o,g)):r===`never`&&(rO(n,a,o,l,c),uS(a)&&aO(n,a,o))}}})}}}}let mO=G({shortName:GD,meta:qD,messages:KD,rule:pO}),{ruleName:hO,messages:gO}=mO(B);function _O(e,t,n){let r=np(e,t),i=e.read(t).length-vS(e,t,n).length;return`${r.slice(0,r.length-i)}${kw(e,t,n)??``}xxx`}function vO(e,t,n){let r=e.read(t),i=r.slice(n);t.raws.between+=r.slice(0,n),i===``?(delete t.raws.value,t.value=``):e.write(t,i)}let{utils:{validateOptions:yO}}=t,bO=`declaration-colon-newline-after`;const xO=W({expectedAfter:()=>`Expected newline after ":"`,expectedAfterMultiLine:()=>`Expected newline after ":" with a multi-line declaration`});let SO={url:Y(bO),fixable:!0};function CO({ruleName:e,messages:t,syntax:n},r){let i=Z(`newline`,r,t);return(t,a)=>{yO(a,e,{actual:r,possible:[`always`,`always-multi-line`]})&&t.walkDecls(r=>{if(!n.isStandardDeclaration(r)||!r.raws.between||Aw(n,r,a))return;let o=_O(n,r,a),s=Fb(n,r,a);if(s===-1)return;let c=V(r)-r.raws.between.length+s,l=Xw(n,r,a,e),u=l&&Gw(n,r,a,e)&&P.test(Gx(n,r,a)),d=l&&Kw(n,r,a,e);function f(){if(!u)return;let e=n.read(r),t=bS(r,a);n.write(r,e.slice(0,e.length-t.length).replace(Qc,``)+t),n.read(r)===``&&r.raws.between&&(r.raws.between=r.raws.between.replace(Qc,``))}let p=wO(o,c),m=hc.test(o.slice(c+1))&&p!==-1?p:c,h=yS(r,a),g=_S(r,a),_=!g&&!r.important&&!of(r.prop)&&rl.test(r.value),v=(!l||_)&&m!==c,y=Tw(n,r,a);i.afterOneOnly({source:v?TO(o,m):o,index:m,lineCheckStr:v?TO(y,wO(y,0)):y,err:i=>{U({message:i,node:r,index:m,endIndex:m,result:a,ruleName:e,...(l||v)&&{fix(){if(v){Du(r.raws.between);let e=r.raws.between.slice(s+1).replace(ac,``);r.raws.between=r.raws.between.slice(0,s+1)+X(t,a)+e,e===``&&n.write(r,n.read(r).replace(ac,``));return}let e=kw(n,r,a);if(e!==void 0){jw(r,vc.test(e)?e.replace(ac,``):X(t,a)+e);return}let i=r.raws.between;Du(i);let o=V(r)-i.length,c=m-o+1,l=c-i.length;if(l<0){let e=i.slice(0,c),n=i.slice(c);r.raws.between=vc.test(n)?e+n.replace(ac,``):e+X(t,a)+n,f();return}vO(n,r,l);let u=n.read(r),p=h?u.replace(F,``):u.slice(0,u.length-bS(r,a).length),{parent:_}=r;vc.test(p)?n.write(r,u.replace(ac,``)):p===``&&!r.important&&_&&(mu(_)||I(_))&&typeof _.raws.after==`string`&&!g?vc.test(_.raws.after)||(_.raws.after=Sw(()=>X(t,a)).newline(`always`,_.raws.after)):d&&!h?n.write(r,Sw(()=>X(t,a)).newline(`always`,u)):r.raws.between+=X(t,a),f()}}})}})})}}function wO(e,t){let n=e.indexOf(`*/`,e.indexOf(`/*`,t)+2);return n===-1?-1:n+1}function TO(e,t){return e.slice(0,t+1)+e.slice(t+1).replace(N,``)}let EO=G({shortName:bO,meta:SO,messages:xO,rule:CO}),{ruleName:DO,messages:OO}=EO(B);function kO(e,t){return e.slice(0,t).match(F)[0]}function AO(e){let{fix:t}=e;e.root.walkDecls(n=>{if(!e.syntax.isStandardDeclaration(n)||!n.raws.between||e.isChecked&&!e.isChecked(n))return;let r=_O(e.syntax,n,e.result),i=bf(r,Jd(r,e.syntax.inlineComments(n,e.result)),!0),a=Fb(e.syntax,n,e.result);if(a===-1)return;let o=V(n)-n.raws.between.length+a,s=n.prop.toString().length+1,c=t&&(!e.isFixable||e.isFixable(n,o,r,i));e.locationChecker({source:i,index:o,lineCheckStr:Tw(e.syntax,n,e.result),err:r=>{U({message:r,node:n,index:s,endIndex:s,result:e.result,ruleName:e.checkedRuleName,...t&&c&&{fix:()=>t(n,o,kO(i,o))}})}})})}let{utils:{validateOptions:jO}}=t,MO=`declaration-colon-space-after`;const NO=W({expectedAfter:()=>`Expected single space after ":"`,rejectedAfter:()=>`Unexpected whitespace after ":"`,expectedAfterSingleLine:()=>`Expected single space after ":" with a single-line declaration`});let PO={url:Y(MO),fixable:!0};function FO({ruleName:e,messages:t,syntax:n},r){let i=Z(`space`,r,t);return(t,a)=>{jO(a,e,{actual:r,possible:[`always`,`never`,`always-single-line`]})&&AO({root:t,result:a,syntax:n,locationChecker:i.after,checkedRuleName:e,isChecked:e=>!Aw(n,e,a)&&!Dw(n,e,a),isFixable:t=>Xw(n,t,a,e),fix:(e,t)=>{let i=r===`never`?``:` `;if(kw(n,e,a)!==void 0)return jw(e,i),!0;let o=e.raws.between;Du(o);let s=o.length+t-V(e);s===o.length-1&&vO(n,e,n.read(e).match(N)[0].length);let{raws:c}=e;return Du(c.between),c.between=c.between.slice(0,s)+c.between.slice(s).replace(zs,`:${i}`),!0}})}}let IO=G({shortName:MO,meta:PO,messages:NO,rule:FO}),{ruleName:LO,messages:RO}=IO(B),{utils:{validateOptions:zO}}=t,BO=`declaration-colon-space-before`;const VO=W({expectedBefore:()=>`Expected single space before ":"`,rejectedBefore:()=>`Unexpected whitespace before ":"`});let HO={url:Y(BO),fixable:!0};function UO(e,t){let n=e.raws.between;return Du(n),n.slice(0,t-V(e))}function WO({ruleName:e,messages:t,syntax:n},r){let i=Z(`space`,r,t);return(t,a)=>{zO(a,e,{actual:r,possible:[`always`,`never`]})&&AO({root:t,result:a,syntax:n,locationChecker:i.before,checkedRuleName:e,isFixable:(e,t,i,o)=>!n.endsWithInlineComment(UO(e,t).replace(Wo,` `),n.inlineComments(e,a))&&Cw(i,{start:t-kO(o,t).length,end:t,text:r===`always`?` `:``}),fix:(e,t,n)=>{let i=UO(e,t);Du(e.raws.between);let a=e.raws.between.slice(i.length);e.raws.between=i.slice(0,Math.max(i.length-n.length,0))+(r===`always`?` `:``)+a}})}}let GO=G({shortName:BO,meta:HO,messages:VO,rule:WO}),{ruleName:KO,messages:qO}=GO(B);function JO(e,t,n){let{nodes:r}=t;if(n===`before`){if(e===0)return t.before.length;let n=r[e-1];return n?.type===`div`?n.after.length:0}return e===r.length-1?t.after.length:0}function YO(e,t,n,r,i){let a=e.sourceIndex+e.before.length,o=JO(t,n,r);return r===`before`?{start:e.sourceIndex-o,end:a,text:i}:{start:a+e.value.length,end:e.sourceEndIndex+o,text:i}}function XO(e){let{div:t,index:n,functionNode:r,expectation:i,position:a,symb:o}=e;return i.startsWith(`always`)?[YO(t,n,r,a,o)]:i.startsWith(`never`)?[YO(t,n,r,a,``)]:[]}let{utils:{validateOptions:ZO}}=t,QO=`function-comma-newline-after`;const $O=W({expectedAfter:()=>`Expected newline after ","`,expectedAfterMultiLine:()=>`Expected newline after "," in a multi-line function`,rejectedAfterMultiLine:()=>`Unexpected whitespace after "," in a multi-line function`});let ek={url:Y(QO),fixable:!0};function tk({ruleName:e,messages:t,syntax:n},r,i){let a=Z(`newline`,r,t);return(t,o)=>{ZO(o,e,{actual:r,possible:[`always`,`always-multi-line`,`never-multi-line`]},{actual:i,possible:{ignoreFunctions:[Tu,wu]},optional:!0})&&zx({root:t,result:o,syntax:n,locationChecker:a.afterOneOnly,checkedRuleName:e,fixPosition:`after`,ignoreFunctions:i?.ignoreFunctions,fix:(e,n,i)=>XO({div:e,index:n,functionNode:i,expectation:r,position:`after`,symb:X(t,o)})})}}let nk=G({shortName:QO,meta:ek,messages:$O,rule:tk}),{ruleName:rk,messages:ik}=nk(B),{utils:{validateOptions:ak}}=t,ok=`function-comma-newline-before`;const sk=W({expectedBefore:()=>`Expected newline before ","`,expectedBeforeMultiLine:()=>`Expected newline before "," in a multi-line function`,rejectedBeforeMultiLine:()=>`Unexpected whitespace before "," in a multi-line function`});let ck={url:Y(ok),fixable:!0};function lk({ruleName:e,messages:t,syntax:n},r,i){let a=Z(`newline`,r,t);return(t,o)=>{ak(o,e,{actual:r,possible:[`always`,`always-multi-line`,`never-multi-line`]},{actual:i,possible:{ignoreFunctions:[Tu,wu]},optional:!0})&&zx({root:t,result:o,syntax:n,locationChecker:a.beforeAllowingIndentation,checkedRuleName:e,fixPosition:`before`,ignoreFunctions:i?.ignoreFunctions,fix:(e,n,i)=>XO({div:e,index:n,functionNode:i,expectation:r,position:`before`,symb:X(t,o)})})}}let uk=G({shortName:ok,meta:ck,messages:sk,rule:lk}),{ruleName:dk,messages:fk}=uk(B),{utils:{validateOptions:pk}}=t,mk=`function-comma-space-after`;const hk=W({expectedAfter:()=>`Expected single space after ","`,rejectedAfter:()=>`Unexpected whitespace after ","`,expectedAfterSingleLine:()=>`Expected single space after "," in a single-line function`,rejectedAfterSingleLine:()=>`Unexpected whitespace after "," in a single-line function`});let gk={url:Y(mk),fixable:!0};function _k({ruleName:e,messages:t,syntax:n},r,i){let a=Z(`space`,r,t);return(t,o)=>{pk(o,e,{actual:r,possible:[`always`,`never`,`always-single-line`,`never-single-line`]},{actual:i,possible:{ignoreFunctions:[Tu,wu]},optional:!0})&&zx({root:t,result:o,syntax:n,locationChecker:a.after,checkedRuleName:e,fixPosition:`after`,ignoreFunctions:i?.ignoreFunctions,fix:(e,t,n)=>XO({div:e,index:t,functionNode:n,expectation:r,position:`after`,symb:` `})})}}let vk=G({shortName:mk,meta:gk,messages:hk,rule:_k}),{ruleName:yk,messages:bk}=vk(B),{utils:{validateOptions:xk}}=t,Sk=`function-comma-space-before`;const Ck=W({expectedBefore:()=>`Expected single space before ","`,rejectedBefore:()=>`Unexpected whitespace before ","`,expectedBeforeSingleLine:()=>`Expected single space before "," in a single-line function`,rejectedBeforeSingleLine:()=>`Unexpected whitespace before "," in a single-line function`});let wk={url:Y(Sk),fixable:!0};function Tk({ruleName:e,messages:t,syntax:n},r,i){let a=Z(`space`,r,t);return(t,o)=>{xk(o,e,{actual:r,possible:[`always`,`never`,`always-single-line`,`never-single-line`]},{actual:i,possible:{ignoreFunctions:[Tu,wu]},optional:!0})&&zx({root:t,result:o,syntax:n,locationChecker:a.before,checkedRuleName:e,fixPosition:`before`,ignoreFunctions:i?.ignoreFunctions,fix:(e,t,n)=>XO({div:e,index:t,functionNode:n,expectation:r,position:`before`,symb:` `})})}}let Ek=G({shortName:Sk,meta:wk,messages:Ck,rule:Tk}),{ruleName:Dk,messages:Ok}=Ek(B);function kk(e){let t=[];for(let n of e.matchAll(Ds)){if(As.test(e.slice(0,n.index)))continue;let r=n.index+n[0].length-1,i=r;do i=e.indexOf(`)`,i+1);while(i!==-1&&(e.slice(r,i).match(Bc)?.[0].length??0)%2==1);t.push(...Ak(e,{start:r,end:i===-1?e.length:i+1}))}return t}function Ak(e,t){let n=[],r=t.start;for(let i=e.indexOf(`#{`,t.start);i!==-1&&i<t.end;i=e.indexOf(`#{`,r)){let a=Math.min(Kb(e,i),t.end);i>r&&n.push({start:r,end:i}),r=a}return r<t.end&&n.push({start:r,end:t.end}),n}function jk(e){return e.match(M)?.length??0}function Mk(e,t){return[...e.matchAll(ls)].some(e=>jk(e[0])>t)}function Nk(e,t,n){let r=[],i=0;for(let a of t.matchAll(ls))r.push(e.slice(i,a.index),a[0].match(M)?.slice(0,n).join(``)??a[0]),i=a.index+a[0].length;return r.push(e.slice(i)),r.join(``)}let{utils:{validateOptions:Pk}}=t,Fk=`function-max-empty-lines`;const Ik=W({expected:e=>`Expected no more than ${e} empty ${e===1?`line`:`lines`}`});let Lk={url:Y(Fk),fixable:!0};function Rk(e){return Du(e.raws.between),e.prop.length+e.raws.between.length-1}function zk({ruleName:e,messages:t,syntax:n},r){let i=r+1;return(a,o)=>{Pk(o,e,{actual:r,possible:Su})&&a.walkDecls(a=>{if(!a.value.includes(`(`))return;let s=n.read(a),c=z(s,n.commentSpans(s,a,o));c=z(c,kk(c)),c=z(c,qd(c,Ud));let l=[],u=0;if((0,No.default)(c).walk(n=>{if(n.type!==`function`||n.value.length===0)return;let d=s.slice(n.sourceIndex,n.sourceEndIndex),f=c.slice(n.sourceIndex,n.sourceEndIndex);if(!Mk(f,i))return;let p=Rk(a)+n.sourceIndex,m=!1;if(U({message:t.expected,messageArgs:[r],node:a,index:p,endIndex:p,result:o,ruleName:e,fix(){l.push([s.slice(u,n.sourceIndex),Nk(d,f,i)]),u=n.sourceEndIndex,m=!0}}),m)return!1}),l.length>0){let e=l.reduce((e,t)=>e+t[0]+t[1],``)+s.slice(u);n.write(a,e)}})}}let Bk=G({shortName:Fk,meta:Lk,messages:Ik,rule:zk}),{ruleName:Vk,messages:Hk}=Bk(B);function Uk(e,t,n){let r=Gd(e,n).map(({start:e,end:n})=>{let r=t.filter(t=>t.end<=e).reduce((e,t)=>e+t.text.length-(t.end-t.start),0);return{start:e+r,end:n+r}});return Gd(Zf(e,t),n).every(e=>r.some(t=>t.start===e.start&&t.end===e.end))}function Wk(e){let t=e.sourceEndIndex-1;return{start:t-e.after.length,end:t}}function Gk(e,t,n,r){let i=e.before,a=[[t,t+e.before.length]],o=e.sourceEndIndex-1;for(let t of e.nodes){if(t.type===`comment`)continue;let e=Xd(t,r);if(e){if(t.sourceEndIndex>e.end){let r=n.slice(e.end,t.sourceEndIndex),s=r.match(N)[0];if(i+=s,a.push([e.end,e.end+s.length]),s.length!==r.length){o=e.end+s.length;break}}}else if(t.type===`space`)i+=t.value,a.push([t.sourceIndex,t.sourceEndIndex]);else if(t.type===`div`&&Yd(t.sourceIndex+t.before.length,r)){let e=t.before.match(N)[0];if(i+=e,a.push([t.sourceIndex,t.sourceIndex+e.length]),e.length!==t.before.length){o=t.sourceIndex+e.length;break}}else{o=t.sourceIndex;break}}return{before:i,firstIndex:o,measured:a}}function Kk(e,t,n){let r=e.after,{start:i,end:a}=Wk(e),o=[[i,a]];for(let i of[...e.nodes].toReversed()){if(i.type===`comment`)continue;let e=Xd(i,n);if(e){if(e.isInline)break;if(i.sourceEndIndex>e.end){let n=t.slice(e.end,i.sourceEndIndex),a=n.match(F)[0];if(r=a+r,o.unshift([i.sourceEndIndex-a.length,i.sourceEndIndex]),a.length!==n.length)break}}else if(i.type===`space`)r=i.value+r,o.unshift([i.sourceIndex,i.sourceEndIndex]);else break}return{after:r,measured:o}}function qk(e,t){let n=[],r=0;for(;r<e.length;){let i=e.slice(r),a=i.match(N)[0],o=t+r;if(a===``){let e=i.match(Vs)[0];n.push({type:`word`,value:e,sourceIndex:o,sourceEndIndex:o+e.length}),r+=e.length}else n.push({type:`space`,value:a,sourceIndex:o,sourceEndIndex:o+a.length}),r+=a.length}return n}function Jk(e){for(let t of e){if(t.type!==`function`)continue;let e=t.nodes.flatMap(e=>e.type===`space`?qk(e.value,e.sourceIndex):[e]),n=t.before.match(N)[0];if(n!==t.before){let r=t.sourceIndex+t.value.length+1,i=qk(t.before.slice(n.length),r+n.length),a=i.at(-1);t.nodes.length===0&&!t.unclosed&&a?.type===`space`&&(i.pop(),t.after=a.value),e.unshift(...i),t.before=n}let r=t.after.match(F)[0];if(r!==t.after){let n=t.sourceEndIndex-1-t.after.length;e.push(...qk(t.after.slice(0,t.after.length-r.length),n)),t.after=r}t.nodes=e,Jk(t.nodes)}}function Yk(e){return t=>t+e.filter(({end:e})=>e<=t).reduce((e,{start:t,end:n,text:r})=>e+r.length-(n-t),0)}function Xk(e,t){return n=>Yk(e)(t(n))}function Zk(e,t,n,r){let i=ng(e),a=i===e?e.rangeBy({index:t,endIndex:t}).start.line:i?.source?.start?.line;return a!==void 0&&!sb(n,r,a)}function Qk(e,t,n,r,i,a){let o=t.map(({edits:e,index:t})=>e!==void 0&&Zk(r,t,i,a)),s=[];for(let[e,{edits:n,assumed:r}]of t.entries())if(n&&o[e])for(let e of r??[])Qf(s,e);let c=Zf(e,s),l=Yk(s),u=t.map(()=>!1),d=[],f=[],p=!0;for(;p;){p=!1;for(let[e,{edits:i,holds:a}]of t.entries()){if(!i||!o[e]||u[e])continue;let t=structuredClone(f);for(let e of i)Qf(t,{start:l(e.start),end:l(e.end),text:e.text});if(yx(c,t,n,r))continue;let s=structuredClone(d);for(let e of i)Qf(s,e);let m=Zf(c,f),h=Xk(f,l);(!a||a(m,h))&&(d=s,f=t,u[e]=!0,p=!0)}}return{given:u,edits:d}}function $k(e,t,n,r,i,a){return Qk(e,t,n,r,i,a).given}let{utils:{validateOptions:eA}}=t,tA=`function-parentheses-newline-inside`;const nA=W({expectedOpening:`Expected newline after "("`,expectedClosing:`Expected newline before ")"`,expectedOpeningMultiLine:`Expected newline after "(" in a multi-line function`,rejectedOpeningMultiLine:`Unexpected whitespace after "(" in a multi-line function`,expectedClosingMultiLine:`Expected newline before ")" in a multi-line function`,rejectedClosingMultiLine:`Unexpected whitespace before ")" in a multi-line function`});let rA={url:Y(tA),fixable:!0};function iA(e,t,n){return!e.isStandardFunction(t)||t.unclosed?!1:!Yd(t.sourceEndIndex-1,n)}function aA(e,t){let n=``,r=0;for(let[i,a]of t)n+=e.slice(r,i),r=a;return n+e.slice(r)}function oA(e,t){let[n]=e;return t.some(({end:e,isInline:t})=>t&&e===n)}function sA(e,t){return e.every(([e,n])=>t.some(([t,r])=>t<=e&&r>=n))}function cA(e,t,n,r,i){let a=t.slice(0,n+1);return e.movesEndIntoInlineComment(a,aA(a,r),i)}function lA(e,t){return t+e.slice(t).match(N)[0].length}function uA(e,t){let{declValue:n,valueNode:r,checkBefore:i,checkAfter:a,firstIndex:o,measuredBefore:s,measuredAfter:c,comments:l,reading:u}=t,d=lA(n,o),{end:f}=Wk(r),p=i===``?[]:s.filter(e=>!oA(e,l)),m=a===``?[]:c.filter(e=>!oA(e,l));return{isOpeningFixable:i!==``&&sA(s,p)&&!cA(e,n,d,p,u)&&(!u.tokenizes||Uk(n,pA(p),u)),isClosingFixable:a!==``&&sA(c,m)&&!cA(e,n,f,m,u)}}function dA({ruleName:e,messages:t,syntax:n},r){return(i,a)=>{eA(a,e,{actual:r,possible:[`always`,`always-multi-line`,`never-multi-line`]})&&i.walkDecls(o=>{if(!o.value.includes(`(`))return;let s=[],c=[],l=n.read(o),u=n.inlineComments(o,a),d=n.commentSpans(l,o,a),f=(0,No.default)(Nx(Fx(l,d),d,u));Jk(f.nodes),f.walk((e,s,c)=>{if(e.type!==`function`)return;let f=e;if(Wb(e,s,c)&&!Gb(e))return!1;if(Xd(e,d)||!iA(n,e,d))return;let p=!wv(No.default.stringify(e)),h=e.sourceIndex+e.value.length+1,{before:g,firstIndex:_,measured:v}=Gk(e,h,l,d),y=Wk(e).end-1,{after:b,measured:x}=Kk(e,l,d),{isOpeningFixable:S,isClosingFixable:C}=p&&r===`never-multi-line`?uA(n,{declValue:l,valueNode:e,checkBefore:g,checkAfter:b,firstIndex:_,measuredBefore:v,measuredAfter:x,comments:d,reading:u}):{isOpeningFixable:!1,isClosingFixable:!1},w=xx(l,h-1,of(o.prop)),T=r===`always`||r===`always-multi-line`?fA(v,l,X(i,a)):[];if(E(),e.nodes.length===0)return;ee();function E(){r===`always`&&!P.test(g)&&m(t.expectedOpening,h,w?void 0:T),p&&r===`always-multi-line`&&!P.test(g)&&m(t.expectedOpeningMultiLine,h,T),p&&r===`never-multi-line`&&g!==``&&m(t.rejectedOpeningMultiLine,h,S?pA(v):void 0)}function ee(){r===`always`&&!P.test(b)&&m(t.expectedClosing,y,w?void 0:mA(f,X(i,a))),p&&r===`always-multi-line`&&!P.test(b)&&m(t.expectedClosingMultiLine,y,mA(f,X(i,a))),p&&r===`never-multi-line`&&b!==``&&m(t.rejectedClosingMultiLine,y,C?hA(x):void 0)}});let p=$k(l,c,u,o,a,e);for(let[t,{message:n,index:r,edits:i}]of c.entries()){let c=i&&p[t]?()=>{for(let e of i)Qf(s,e)}:void 0;U({ruleName:e,result:a,message:n,node:o,index:r,endIndex:r,...c&&{fix:c}})}s.length>0&&n.write(o,Zf(l,s));function m(e,t,n){c.push({message:e,index:V(o)+t,edits:n})}})}}function fA(e,t,n){let[r,i]=e.at(-1);return[{start:r,end:i,text:n+t.slice(r,i)}]}function pA(e){return e.map(([e,t])=>({start:e,end:t,text:``}))}function mA(e,t){let{start:n,end:r}=Wk(e);return[{start:n,end:r,text:t+e.after}]}function hA(e){return e.map(([e,t])=>({start:e,end:t,text:``}))}let gA=G({shortName:tA,meta:rA,messages:nA,rule:dA}),{ruleName:_A,messages:vA}=gA(B),{utils:{validateOptions:yA}}=t,bA=`function-parentheses-space-inside`;const xA=W({expectedOpening:`Expected single space after "("`,rejectedOpening:`Unexpected whitespace after "("`,expectedClosing:`Expected single space before ")"`,rejectedClosing:`Unexpected whitespace before ")"`,expectedOpeningSingleLine:`Expected single space after "(" in a single-line function`,rejectedOpeningSingleLine:`Unexpected whitespace after "(" in a single-line function`,expectedClosingSingleLine:`Expected single space before ")" in a single-line function`,rejectedClosingSingleLine:`Unexpected whitespace before ")" in a single-line function`});let SA={url:Y(bA),fixable:!0};function CA(e,t,n){return!e.isStandardFunction(t)||t.unclosed?!1:!Yd(t.sourceEndIndex-1,n)}function wA(e,t){return t.some(({start:t,end:n,isInline:r})=>r&&t>e.sourceIndex&&n<e.sourceEndIndex-1)}function TA(e,t,n,r){let i=n.sourceEndIndex-1,a=t.slice(0,i),o=t.slice(0,i-n.after.length);return e.movesEndIntoInlineComment(`${a})`,`${o})`,r)}function EA(e,t){let n=e.sourceIndex+e.value.length+1;return{start:n,end:n+e.before.length,text:t}}function DA(e){return e.sourceEndIndex-1}function OA(e,t){let n=DA(e);return{start:n-e.after.length,end:n,text:t}}const kA={always:` `,never:``,"always-single-line":` `,"never-single-line":``},AA={always:[`expectedOpening`,`expectedClosing`],never:[`rejectedOpening`,`rejectedClosing`],"always-single-line":[`expectedOpeningSingleLine`,`expectedClosingSingleLine`],"never-single-line":[`rejectedOpeningSingleLine`,`rejectedClosingSingleLine`]};function jA({ruleName:e,messages:t,syntax:n},r){return(i,a)=>{yA(a,e,{actual:r,possible:[`always`,`never`,`always-single-line`,`never-single-line`]})&&i.walkDecls(i=>{if(!i.value.includes(`(`))return;let o=[],s=[],c=n.read(i),l=n.inlineComments(i,a),u=n.commentSpans(c,i,a),d=(0,No.default)(Nx(Fx(c,u),u,l));Jk(d.nodes),d.walk((e,i,a)=>{if(e.type!==`function`)return;if(Wb(e,i,a)&&!Gb(e))return!1;let o=e;if(Xd(e,u)||!CA(n,e,u)||e.nodes.length===0)return;let s=No.default.stringify(e),d=r.endsWith(`-single-line`)&&(!wv(s)||wA(e,u))?void 0:kA[r],[f,m]=AA[r],h=e.sourceIndex+e.value.length+1;function g(e){return!l.tokenizes||Uk(c,[EA(o,e)],l)}d!==void 0&&e.before!==d&&p(t[f],h,g(d)?EA(e,d):void 0);let _=DA(e)-1;d!==void 0&&e.after!==d&&p(t[m],_,TA(n,c,o,l)?void 0:OA(e,d))});let f=$k(c,s,l,i,a,e);for(let[t,{message:n,index:r,edits:c}]of s.entries()){let s=c&&f[t]?()=>{o.push(...c)}:void 0;U({ruleName:e,result:a,message:n,node:i,index:r,endIndex:r,...s&&{fix:s}})}o.length>0&&n.write(i,Zf(c,o));function p(e,t,n){s.push({message:e,index:V(i)+t,edits:n&&[n]})}})}}let MA=G({shortName:bA,meta:SA,messages:xA,rule:jA}),{ruleName:NA,messages:PA}=MA(B);function FA(e,t){let n=e.charAt(t),r=e[t+1];if(n===`"`||n===`'`)return id(e,t);if(n===`/`&&r===`*`){let n=e.indexOf(`*/`,t+2);return n===-1?e.length:n+2}if(n===`/`&&r===`/`){let n=e.slice(t).search(P);return n===-1?e.length:t+n}return null}function IA(e,t){let{character:n,end:r}=fd(e,t);return n===void 0?0:r-t}function LA(e,t,n,r){if(t===null)return e[r-1]===`%`&&n!==r-1?`%`:``;let i=e.slice(t,r);return mc.test(i)?``:i.toLowerCase()}function RA(e){let t=[],n=[],r=0,i=null,a=-1;for(;r<e.length;){let o=e.charAt(r),s=FA(e,r),c=o===`\\`?IA(e,r):0;if(s!==null)i!==null&&(a=r),r=s,i=null;else if(c>0)i===null&&(i=r),r+=c;else if(o===`(`){let t=LA(e,i,a,r);n.push(t===``?null:{start:r+1,name:t}),i!==null&&(a=r),i=null,r+=1}else if(o===`)`){let e=n.pop();e&&t.push({start:e.start,end:r,name:e.name}),i!==null&&(a=r),i=null,r+=1}else Es.test(o)?(i===null&&(i=r),r+=1):(i!==null&&(a=r),i=null,r+=1)}for(let r of n)r&&t.push({start:r.start,end:e.length,name:r.name});return t}let{utils:{validateOptions:zA}}=t,BA=`function-whitespace-after`;const VA=W({expected:`Expected whitespace after ")"`,rejected:`Unexpected whitespace after ")"`});let HA={url:Y(BA),fixable:!0};const UA=/* @__PURE__ */ new Set([`)`,`,`,`}`,`:`,`/`,void 0]);function WA({ruleName:e,messages:t,syntax:n},r){return(i,a)=>{if(!zA(a,e,{actual:r,possible:[`always`,`never`]}))return;function o(e,t,n,r,i){for(let{end:a}of RA(n))n.charAt(a)===`)`&&s(t,n,a+1,e,r,i)}function s(i,o,s,c,l,u){let d=i.charAt(s);if(!d)return;let f=l+s;if(r===`always`){if(d===` `||d===`
|
|
72
|
+
`||i.slice(s,s+2)===`\r
|
|
73
|
+
`||UA.has(d))return;U({message:t.expected,node:c,index:f,endIndex:f,result:a,ruleName:e,fix(){u(s)}})}else if(r===`never`&&rd(d)){if((n.spellsOwnArithmetic(c,a)?Qs:$s).test(o.slice(s)))return;U({message:t.rejected,node:c,index:f,endIndex:f,result:a,ruleName:e,fix(){u(s)}})}}function c(e){let t=``,n=0;function i(i){if(r===`always`)t+=`${e.slice(n,i)} `,n=i;else if(r===`never`){let r=i+1;for(;r<e.length&&rd(e.charAt(r));)r+=1;t+=e.slice(n,i),n=r}else throw Error(`Unexpected option: "${r}"`)}return{applyFix:i,get hasFixed(){return!!n},get fixed(){return t+e.slice(n)}}}i.walkAtRules(js,e=>{let t=n.read(e),{searchString:r}=n.searchCopy(t,e,a),i=c(t);o(e,t,r,ep(e),i.applyFix),i.hasFixed&&n.write(e,i.fixed)}),i.walkDecls(e=>{let t=n.read(e),{searchString:r}=n.searchCopy(t,e,a),i=c(t);o(e,t,r,V(e),i.applyFix),i.hasFixed&&n.write(e,i.fixed)})}}let GA=G({shortName:BA,meta:HA,messages:VA,rule:WA}),{ruleName:KA,messages:qA}=GA(B);function JA(e,t=[]){let n=[];for(let{0:r,index:i}of e.matchAll(M))t.some(e=>e.start<=i&&i<e.end)||n.push(i+r.length);return n}function YA(e,t=[]){return JA(e,t).at(-1)??-1}function XA(e,t,n=[]){return e.replaceAll(ps,(e,r,i)=>n.some(e=>e.start<=i&&i<e.end)?e:`${r}${t}`)}function ZA(e,t=[]){return e.slice(Math.max(YA(e,t),0)).match(N)?.[0]??``}function QA(e,t,n,r){let i=XA(e,t,n),a=e.match(ol)?.[0];return!r||a===void 0||YA(e,n)>=0&&n.some(e=>e.start===a.length)?i:i.replace(ol,t)}function $A(e,t,n,r){let i=r+1,a=e.slice(0,i),o=e.slice(i+t.length);return a+n+o}function ej(e){let{codeBefore:t}=e.raws;return!t||qc.test(t)}function tj({node:e,syntax:t,result:n,checkedRuleName:r,message:i,expectedIndentation:a,expectation:o}){if(!L(e)&&!I(e)||R(e)||pm(e))return;let s=L(e)&&!e.important&&rl.test(t.read(e))?Ib(t,e,n):``,c=`${s}${Jx(t,e,n)}`;if(c.split(M).length<2||ZA(c)===a)return;let l=L(e)?rp(t,e).length:`@${e.name}${e.raws.afterName||``}${t.read(e)}${e.raws.between||``}${typeof e.raws.important==`string`?e.raws.important:``}`.length;U({message:i,messageArgs:[o],node:e,index:l,endIndex:l,result:n,ruleName:r,fix(){let r=YA(c);if(r>=s.length||!L(e)){eS(t,e,n,r===s.length?a:XA(c.slice(s.length),a));return}let{between:i}=e.raws;Du(i),e.raws.between=`${i.slice(0,i.length-s.length)}${s.slice(0,r)}${a}`,eS(t,e,n,``)}})}function nj({node:e,syntax:t,result:n,checkedRuleName:r,message:i,expectedIndentation:a,expectation:o}){let s=e.prev();if(!e.source||!s||!mu(s))return;let c=s.raws.ownSemicolon;if(typeof c!=`string`)return;let l=ab(e),u=t.hostCodeSpans(c,s),d=t.hostCodeSpans(l,e);if(YA(l,d)>=0||YA(c,u)<0)return;let f=u.length===0&&d.length===0,p=f?l.match(N)?.[0]??``:``,m=f?VS(s,n):/* @__PURE__ */ new Set,h=c+p;ZA(SS(h,m),u)!==a&&U({message:i,messageArgs:[o],node:e,result:n,ruleName:r,fix(){let t=wS(e=>XA(e,a,u),h,m),n=(c.match(gs)??[]).length,r=[...t.matchAll(gs)][n-1];if(n>0&&!r)throw Error(`The write must keep every semicolon of the rule's raw`);let i=r?r.index+1:t.length;s.raws.ownSemicolon=t.slice(0,i),(p||i<t.length)&&(e.raws.before=t.slice(i)+l.slice(p.length))}})}function rj(e,t,n){let{parent:r}=e,i=e.source?.start,a=[];if(!i||!r)return a;let o=pu(r)&&sj(r),s=mu(e)?e.raws.ownSemicolon:void 0,c=r.source?.end;if(typeof e.raws.before==`string`&&a.push({read:()=>e.raws.before??``,write:t=>{e.raws.before=t},holder:e,container:r,head:pu(r)&&r.first===e&&ej(r),pick:e=>e.slice(0,-1),lineOf:(e,t)=>i.line-cj(e.slice(t))}),_C(e)){let r=e.positionInside(Rb(e,n).length-1);a.push({read:()=>oC(t,e)??``,write:n=>sC(t,e,n),holder:e,container:e,head:!1,pick:e=>e.slice(0,-1),lineOf:(e,t)=>r.line-cj(e.slice(t))})}if(mu(e)&&typeof s==`string`&&oj(t,e,o)){let t=e.positionInside(Rb(e,n).length-1);a.push({read:()=>e.raws.ownSemicolon??``,write:t=>{e.raws.ownSemicolon=t},holder:e,container:r,head:!1,pick:e=>e.slice(-1),lineOf:(e,n)=>t.line+cj(e.slice(0,n))})}return pu(r)&&r.last===e&&c&&a.push({read:()=>r.raws.after??``,write:e=>{r.raws.after=e},holder:r,container:r,head:!1,pick:e=>o?e:e.slice(0,-1),lineOf:(e,t)=>c.line-cj(e.slice(t))}),a}function ij(e,t){let n=t.read(),r=JA(n,e.hostCodeSpans(n,t.holder));return t.head?[0,...r]:r}function aj(e,t,n){let r=ij(e,t)[n];if(r===void 0)throw Error(`A line of a free semicolon must still stand in its raw`);return r}function oj(e,t,n){let r=t.next(),{parent:i}=t;if(!i)return!1;let a=r??i,o=r?ab(r):pu(i)?i.raws.after??``:oC(e,i)??``;return JA(o,e.hostCodeSpans(o,a)).length>0||!r&&n}function sj(e){return!e.parent&&e.raws.codeBefore===void 0&&e.raws.codeAfter===void 0}function cj(e){return e.match(M)?.length??0}function lj({node:e,syntax:t,result:n,checkedRuleName:r,message:i,statementIn:a}){for(let o of rj(e,t,n)){let s=a(o.container);if(s)for(let a of o.pick(ij(t,o).map((e,t)=>t))){let c=o.read(),l=aj(t,o,a),u=c.slice(l).match(ac)?.[0]??``;if(c[l+u.length]!==`;`||u===s.indentation)continue;let d={line:o.lineOf(c,l),column:u.length+1};U({message:i,messageArgs:[s.expectation],node:e,start:d,end:d,result:n,ruleName:r,fix(){o.write($A(c,u,s.indentation,l-1))}})}}}function uj(e,t,n){let r=t.raws.afterName||``,i=e.read(t),a=`${r}${i}`,o=R(t)?a.length:z(a,e.printedComments(t,i,n).map(({start:e,end:t})=>({start:e+r.length,end:t+r.length}))).replace(F,``).length,s=!R(t)&&pm(t)?`${t.raws.between||``}${`${t.raws.important??``}${t.parent&&pu(t.parent)&&t.parent.raws.after||``}`.replace(Ws,e=>` `.repeat(e.length))}`:``;return{head:`@${t.name}${a.slice(0,o)}`,swallowedLines:`${a.slice(o)}${s}`.replace(F,``)}}function dj(e,t,n){let r=e.raws.between;if(!Tu(r))throw TypeError("The `between` property must be a string");let i=n.read(e),a=e.prop.length,o=a+r.length,s=o+i.length;for(let r of t)if(r.startIndex<a)e.prop=$A(e.prop,r.currentIndentation,r.expectedIndentation,r.startIndex);else if(r.startIndex<o)e.raws.between=$A(e.raws.between||``,r.currentIndentation,r.expectedIndentation,r.startIndex-a);else if(r.startIndex<s)i=$A(i,r.currentIndentation,r.expectedIndentation,r.startIndex-o),n.write(e,i);else{let t=e.raws.important;Tu(t)&&(e.raws.important=$A(t,r.currentIndentation,r.expectedIndentation,r.startIndex-s))}}function fj(e,t,n){let r=e.raws.afterName,i=n.read(e);if(!Tu(r))throw TypeError("The `afterName` property must be a string");let a=1+e.name.length+r.length,o=a+i.length;for(let s of t)if(s.startIndex<a)r=$A(r,s.currentIndentation,s.expectedIndentation,s.startIndex-e.name.length-1),e.raws.afterName=r;else if(s.startIndex<o)i=$A(i,s.currentIndentation,s.expectedIndentation,s.startIndex-a),n.write(e,i);else{let t=e.raws.between;if(!Tu(t))throw TypeError("The `between` property must be a string");let n=s.startIndex-o,r=typeof e.raws.important==`string`?e.raws.important:``,i=n-t.length;i>=r.length&&e.parent&&pu(e.parent)?e.parent.raws.after=$A(e.parent.raws.after||``,s.currentIndentation,s.expectedIndentation,i-r.length):i>=0&&r?e.raws.important=$A(r,s.currentIndentation,s.expectedIndentation,i):e.raws.between=$A(t,s.currentIndentation,s.expectedIndentation,n)}}function pj(e,t){let n=t.slice(t.lastIndexOf(`
|
|
74
|
+
`)+1);if(/^\s*\}/u.test(n))return 0;let r=e.match(Vc);return r?(r[0].match(/\}/gu)||[]).length:0}function mj(e,t,{source:n,searchString:r,node:i,firstLineParenthesesArePaidFor:a,startIndex:o,isFirst:s,precedesClosingParenthesis:c}){let{secondaryOptions:l}=e,u=l.indentClosingBrace;s&&a&&(t.firstLineDiscount=-1);let d=o>0&&Bo.test(n.slice(o-1,o+1))?o-1:o;pc.test(r.slice(0,d))&&(t.parentheses+=1),fc.test(r.slice(0,d))&&(t.braces+=1);let f=pj(r.slice(0,d),n.slice(0,d));f>0&&t.braces>0&&(t.braces=Math.max(0,t.braces-f)),Ls.test(n.slice(o+1))&&t.braces>0&&--t.braces;let p=t.firstLineDiscount+t.parentheses+t.braces,m=c&&t.parentheses>0;return m&&--t.parentheses,l.indentInsideParens===`twice`||l.indentInsideParens===`once-at-root-twice-in-block`&&i.parent!==i.root()?(!c||u)&&(p+=1):m&&!u&&--p,p}function hj(e,t,n,r,i,a=0){if(!P.test(t))return;let{syntax:o,result:s,ruleName:c,messages:l,secondaryOptions:u,indentChar:d,legibleExpectation:f}=e,p=o.searchCopy(t,r,s),m=z(p.searchString,kk(z(t,p.commentSpans))),h=[],g={parentheses:0,braces:0,firstLineDiscount:0},_=H(u,`ignore`,`inside-parens`),v=n>i;if((0,db.default)({source:m,target:`
|
|
75
|
+
`},(i,o)=>{let u=Rs.test(t.slice(i.startIndex+1));if(_&&(u||i.insideParens))return;let p=n+(!_&&i.insideParens?mj(e,g,{source:t,searchString:m,node:r,firstLineParenthesesArePaidFor:v,startIndex:i.startIndex,isFirst:o===1,precedesClosingParenthesis:u}):0),y=Gs.exec(t.slice(i.startIndex+1));if(!y)return;let b=y[1]||``,x=d.repeat(Math.max(p,0));if(b!==x){let e=a+i.startIndex+b.length+1;U({message:l.expected,messageArgs:[f(p)],node:r,index:e,endIndex:e,result:s,ruleName:c,fix(){h.unshift({expectedIndentation:x,currentIndentation:b,startIndex:a+i.startIndex})}})}}),h.length>0){if(mu(r)){let e=o.read(r);for(let t of h)e=$A(e,t.currentIndentation,t.expectedIndentation,t.startIndex);o.write(r,e)}L(r)&&dj(r,h,o),I(r)&&fj(r,h,o)}}function gj(e,t,n){let{syntax:r,secondaryOptions:i}=e;if(r.valueEmbedsHostCode(t)||H(i,`ignore`,`value`))return;let a=rp(r,t);P.test(a)&&hj(e,a,H(i,`except`,`value`)?n:n+1,t,n)}function _j(e,t,n){let{syntax:r,secondaryOptions:i}=e;r.readsRuleParams(t)&&H(i,`ignore`,`param`)||hj(e,r.read(t),r.readsRuleParams(t)&&!H(i,`except`,`param`)?n+1:n,t,n)}function vj(e,t,n){let{syntax:r,secondaryOptions:i,result:a}=e,{head:o,swallowedLines:s}=uj(r,t,a),c=H(i,`except`,`param`)||t.name===`nest`||t.name===`at-root`?n:n+1;s&&hj(e,s,n,t,n,o.length),H(i,`ignore`,`param`)||hj(e,`${o}${s?``:t.raws.between||``}`.replace(F,``),c,t,n)}const yj=W({expected:e=>`Expected indentation of ${e}`});function bj(e,t,n){let r=[],i=[];for(let a of t.nodes){let o=a.raws.before??``;if(YA(o)>=0)r.push(ZA(o));else if(a===t.first){let e=`${(t.raws.codeBefore??``).split(M).at(-1)??``}${o}`,n=ZA(e);n===e?r.push(n):i.push(n)}if(n||!(mu(a)||I(a))||!R(a))continue;let s=oC(e,a)??``;YA(s)>=0&&r.push(ZA(s))}let[a=``,...o]=(t.raws.after??``).split(M),s=xj(a,!1);for(let e of o)!s&&!rl.test(e)&&r.push(ZA(e)),s=xj(e,s);return{own:r,tagLine:i}}function xj(e,t){let n=t,r=0;for(;r<e.length;){if(n){let t=e.indexOf(`*/`,r);if(t===-1)return!0;n=!1,r=t+2;continue}let t=e.indexOf(`/*`,r),i=e.indexOf(`//`,r);if(t===-1||i!==-1&&i<t)return!1;n=!0,r=t+2}return n}function Sj(e,t,n,r,i){let a=Cj(t);if(!a)return 0;if(!t.source)throw Error(`The root node must have a source`);let o=t.source,s=o.baseIndentLevel;if(Su(s)&&Number.isSafeInteger(s))return s;let c=Tj(e,t,n,()=>Su(r)?r:wj(a,r),i);return o.baseIndentLevel=c,c}function Cj(e){let t=`document`in e?e:e.root();if(`document`in t)return t.document}function wj(e,t){if(!e.source)throw Error(`The document node must have a source`);let n=e.source,r=n.indentSize;if(Su(r)&&Number.isSafeInteger(r))return r;let i=e.source.input.css.match(hs),a=/* @__PURE__ */ new Map,o=0,s=0;function c(e){if(e){if(o=Math.abs(e-s)||o,o>1){let e=a.get(o);e?a.set(o,e+1):a.set(o,1)}}else o=0;s=e}if(i){for(let e of i)c(e.length);let e=0;for(let[t,n]of a.entries())n>e&&(e=n,r=t)}let l=i?.[0]?.length??0;return r=Number(r)||l||Number(t)||2,n.indentSize=r,r}function Tj(e,t,n,r,i){function a(e){let t=e.match(vs),n=t?t.length:0,i=e.match(_s);return n+(i?Math.round(i.length/r()):0)}let o;if(!Su(n)||!Number.isSafeInteger(n)){let{own:n,tagLine:r}=bj(e,t,i??!1),s=n.length>0?n:r;if(s.length>0)return Math.min(...s.map(e=>a(e)));o=1}else o=n;let s=[],c=t.raws.codeBefore?.match(ms);if(c){let e=c.length-1;for(;e>=0;){let t=c[e];if(Du(t),Sc.test(t)){s.push(a(t));break}--e}}let l=t.raws.after;if(l){let e;if(qc.test(l)){let n=`document`in t?t.document:void 0;if(n){let r=n.nodes[n.nodes.indexOf(t)+1];e=r?r.raws.codeBefore:n.raws.codeAfter}else{let n=t.parent;if(!n)throw Error(`The root node must have a parent`);let r=n.nodes[n.nodes.indexOf(t)+1];e=r?r.raws.codeBefore:t.raws.codeAfter}}else e=l;e&&s.push(a(e.match(ec)[0]))}return s.length>0?Math.max(...s)+o:o}function Ej(e,t,n,r){let i=Su(t)?t:null,a=i===null?` `:` `.repeat(i),o=t===`tab`?`tab`:`space`;function s(e){let t=i===null?e:e*i;return`${t} ${t===1?o:`${o}s`}`}return{...e,primary:t,secondaryOptions:n,result:r,indentChar:a,legibleExpectation:s}}function Dj(e,t,n){let{indent:r,multiline:i}=e.embedding(t),a=Math.ceil(r.length/n.length);return{hostLevel:a,embeddedLevel:a+ +!!i}}function Oj(e,t,n=0){if(!t.parent)throw Error(`A parent node must be present`);let{syntax:r,primary:i,secondaryOptions:a,indentChar:o}=e,s=n+Dj(r,t,o).embeddedLevel;return pu(t.parent)?s+Sj(r,t.parent,a.baseIndentLevel,i,a.indentClosingBrace):(s=Oj(e,t.parent,s+1),H(a,`except`,`block`)&&R(t)&&--s,s)}function kj(e,t){let{syntax:n,indentChar:r,legibleExpectation:i}=e,a=pu(t)?t.first&&Oj(e,t.first):Oj(e,t,1),o=pu(t)&&t.first?Dj(n,t.first,r).hostLevel:0;return a===void 0?void 0:{indentation:r.repeat(a),expectation:i(a-o)}}let{utils:{validateOptions:Aj}}=t,jj=`indentation`,Mj={url:Y(jj),fixable:!0};function Nj(e,t,n){let{syntax:r,result:i,ruleName:a,messages:o,indentChar:s,legibleExpectation:c}=e,{hostLevel:l,embeddedLevel:u}=Dj(r,t,s),d=ab(t),f=t.parent;if(!f)throw Error(`A parent node must be present`);let p=f.type===`root`&&f.first===t,m=r.hostCodeSpans(d,t),h=YA(d,m)>=0,g=p&&!h,_=g?n-u:n,v=s.repeat(_);(h||p&&(!Cj(f)||f.raws.codeBefore&&qc.test(f.raws.codeBefore)))&&ZA(d,m)!==v&&U({message:o.expected,messageArgs:[c(_-(g?0:l))],node:t,result:i,ruleName:a,fix(){t.raws.before=QA(d,v,m,p)}}),nj({node:t,syntax:r,result:i,checkedRuleName:a,message:o.expected,expectedIndentation:v,expectation:c(_-l)})}function Pj(e,t,n){let r=oC(e,t)??``,i=e.hostCodeSpans(r,t),{last:a}=t,o=a&&mu(a)?a.raws.ownSemicolon:void 0,s=a&&typeof o==`string`?e.hostCodeSpans(o,a):[];if(i.length>0||s.length>0)return YA(r,i)>=0?{indentation:ZA(r,i),write:n=>sC(e,t,XA(r,n,i))}:!a||typeof o!=`string`||YA(o,s)<0?void 0:{indentation:ZA(o,s),write:e=>{a.raws.ownSemicolon=XA(o,e,s)}};let c=lC(e,t)??``,l=mC(t,n),u=SS(c,l);if(!(YA(u)<0))return{indentation:ZA(u),write:n=>uC(e,t,wS(e=>XA(e,n),c,l))}}function Fj(e,t,n){if(!_C(t))return;let{syntax:r,result:i,ruleName:a,messages:o,indentChar:s,legibleExpectation:c,secondaryOptions:l}=e,{hostLevel:u}=Dj(r,t,s),d=l.indentClosingBrace?n+1:n,f=s.repeat(d),p=Pj(r,t,i);if(p&&p.indentation!==f){let e=Rb(t,i).length-1;U({message:o.expected,messageArgs:[c(d-u)],node:t,index:e,endIndex:e,result:i,ruleName:a,fix(){p.write(f)}})}}function Ij(e,t,n={}){let{ruleName:r,messages:i,syntax:a}=e;return(o,s)=>{if(!Aj(s,r,{actual:t,possible:[Su,`tab`]},{actual:n,possible:{baseIndentLevel:[Su,`auto`],except:[`block`,`value`,`param`],ignore:[`value`,`param`,`inside-parens`],indentInsideParens:[`twice`,`once-at-root-twice-in-block`],indentClosingBrace:[yu]},optional:!0}))return;let c=Ej(e,t,n,s),{indentChar:l,legibleExpectation:u}=c;o.walk(e=>{if(pu(e))return;let t=Oj(c,e),{hostLevel:n}=Dj(a,e,l);Nj(c,e,t),Fj(c,e,t),L(e)&&gj(c,e,t),mu(e)&&_j(c,e,t),I(e)&&vj(c,e,t),tj({node:e,syntax:a,result:s,checkedRuleName:r,message:i.expected,expectedIndentation:l.repeat(t),expectation:u(t-n)}),lj({node:e,syntax:a,result:s,checkedRuleName:r,message:i.expected,statementIn:e=>kj(c,e)})})}}let Lj=G({shortName:jj,meta:Mj,messages:yj,rule:Ij,defersToRunEnd:!0}),{ruleName:Rj,messages:zj}=Lj(B),{utils:{validateOptions:Bj}}=t,Vj=`linebreaks`;const Hj=W({expected:e=>`Expected linebreak to be ${e}`});let Uj={url:Y(Vj),fixable:!0};function Wj({ruleName:e,messages:t,syntax:n},r){return(i,a)=>{if(!Bj(a,e,{actual:r,possible:[`unix`,`windows`]}))return;let o=r===`windows`;function s(){i.walk(e=>{mu(e)&&(n.write(e,u(n.read(e))),e.raws.ownSemicolon&&(e.raws.ownSemicolon=u(e.raws.ownSemicolon))),I(e)&&(n.write(e,u(n.read(e))),e.raws.afterName&&(e.raws.afterName=u(e.raws.afterName)),typeof e.raws.important==`string`&&(e.raws.important=u(e.raws.important))),L(e)&&(n.write(e,u(n.read(e))),e.raws.important&&(e.raws.important=u(e.raws.important))),hu(e)&&(e.text=u(e.text),e.raws.left&&(e.raws.left=u(e.raws.left)),e.raws.right&&(e.raws.right=u(e.raws.right))),typeof e.raws.between==`string`&&e.raws.between&&(e.raws.between=u(e.raws.between));let t=ab(e);t&&(e.raws.before=u(t)),typeof e.raws.after==`string`&&(e.raws.after=u(e.raws.after))}),typeof i.raws.after==`string`&&(i.raws.after=u(i.raws.after))}if(i.source===void 0)throw Error(`The root node must have a source`);let c=i.source.input.css.match(fs)??[];for(let[e,t]of c.entries())l(t)&&d(e+1,o?t.length:t.length-1);function l(e){let t=P.test(e),n=t?Bo.test(e):!1;return t&&n!==o}function u(e){return e&&e.replaceAll(M,o?`\r
|
|
84
76
|
`:`
|
|
85
|
-
`,comments:o?`skip`:`check`},e=>{u(l,e.startIndex,e.endIndex,i)});function u(t,i,o,s){let l=o===t.length,u=!1;!i||r===i?n+=1:n=0,r=o,n>e&&(u=!0),(l||u)&&(u&&gm({message:xm.expected,messageArgs:[e],node:s,index:i,endIndex:i,result:a,ruleName:bm,fix:c}),l&&e&&(n+=1,n>e&&Tm(a.root,s)&&gm({message:xm.expected,messageArgs:[e],node:s,index:o,endIndex:o,result:a,ruleName:bm,fix:c})))}}}function wm(e,t,n=!1){let r=n?e:e+1;if(r===0||typeof t!=`string`)return``;let i=`
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
`,n.endIndex);s[r-1]===`\r`&&--r,r===-1&&(r=s.length);let i=r-n.endIndex,f=c[l]?d(n.endIndex,r):0;if(pl(t,`ignorePattern`,s.slice(n.endIndex,r))||i-f<=e)return;let p=r-1;if(o){if(`insideComment`in n&&n.insideComment)return;let e=s.slice(n.endIndex).trim().slice(0,2);if(e===`/*`||e===`//`)return}if(a){if(`insideComment`in n&&n.insideComment)return u(p);let e=s.slice(n.endIndex).trim().slice(0,2);return e!==`/*`&&e!==`//`?void 0:u(p)}if(s.slice(n.endIndex,r).replace(/^\s+/u,``).includes(` `))return u(p)}}}Nm.ruleName=Am,Nm.messages=jm,Nm.meta=Mm;let{utils:{report:Pm}}=t;function Fm(e){e.root.walkAtRules(/^media$/iu,e=>{let n=e.raws.params?e.raws.params.raw:e.params;(0,qu.default)({source:n,target:`:`},r=>{t(n,r.startIndex,e)})});function t(t,n,r){e.locationChecker({source:t,index:n,err:t=>{let i=n+Fp(r);Pm({message:t,node:r,index:i,endIndex:i,result:e.result,ruleName:e.checkedRuleName,fix:e.fix?()=>e.fix(r,i):void 0})}})}}let{utils:{ruleMessages:Im,validateOptions:Lm}}=t,Rm=`media-feature-colon-space-after`,zm=W(Rm),Bm=Im(zm,{expectedAfter:()=>`Expected single space after ":"`,rejectedAfter:()=>`Unexpected whitespace after ":"`}),Vm={url:G(Rm),fixable:!0};function Hm(e){let t=K(`space`,e,Bm);return(n,r)=>{if(!Lm(r,zm,{actual:e,possible:[`always`,`never`]}))return;let i;if(Fm({root:n,result:r,locationChecker:t.after,checkedRuleName:zm,fix:(e,t)=>{let n=t-Fp(e);i||=/* @__PURE__ */ new Map;let r=i.get(e)||[];return r.push(n),i.set(e,r),!0}}),i)for(let[t,n]of i.entries()){let r=t.raws.params?t.raws.params.raw:t.params;for(let t of n.toSorted((e,t)=>t-e)){let n=r.slice(0,t+1),i=r.slice(t+1);e===`always`?r=n+i.replace(/^\s*/u,` `):e===`never`&&(r=n+i.replace(/^\s*/u,``))}t.raws.params?t.raws.params.raw=r:t.params=r}}}Hm.ruleName=zm,Hm.messages=Bm,Hm.meta=Vm;let{utils:{ruleMessages:Um,validateOptions:Wm}}=t,Gm=`media-feature-colon-space-before`,Km=W(Gm),qm=Um(Km,{expectedBefore:()=>`Expected single space before ":"`,rejectedBefore:()=>`Unexpected whitespace before ":"`}),Jm={url:G(Gm),fixable:!0};function Ym(e){let t=K(`space`,e,qm);return(n,r)=>{if(!Wm(r,Km,{actual:e,possible:[`always`,`never`]}))return;let i;if(Fm({root:n,result:r,locationChecker:t.before,checkedRuleName:Km,fix:(e,t)=>{let n=t-Fp(e);i||=/* @__PURE__ */ new Map;let r=i.get(e)||[];return r.push(n),i.set(e,r),!0}}),i)for(let[t,n]of i.entries()){let r=t.raws.params?t.raws.params.raw:t.params;for(let t of n.toSorted((e,t)=>t-e)){let n=r.slice(0,t),i=r.slice(t);e===`always`?r=n.replace(/\s*$/u,` `)+i:e===`never`&&(r=n.replace(/\s*$/u,``)+i)}t.raws.params?t.raws.params.raw=r:t.params=r}}}Ym.ruleName=Km,Ym.messages=qm,Ym.meta=Jm;var Xm=class extends Error{sourceStart;sourceEnd;parserState;constructor(e,t,n,r){super(e),this.name=`ParseError`,this.sourceStart=t,this.sourceEnd=n,this.parserState=r}},Zm=class extends Xm{token;constructor(e,t,n,r,i){super(e,t,n,r),this.token=i}};const Qm={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 "\\"`};typeof globalThis<`u`&&`structuredClone`in globalThis;function X(...e){if(!e||!e.length)return``;let t;t=Array.isArray(e)&&Array.isArray(e[0])&&Array.isArray(e[0][0])?e[0]:e;let n=``;for(let e=0;e<t.length;e++)n+=t[e][1];return n}const $m=65533;var Z,eh,th;function nh(e){switch(e){case Z.OpenParen:return Z.CloseParen;case Z.CloseParen:return Z.OpenParen;case Z.OpenCurly:return Z.CloseCurly;case Z.CloseCurly:return Z.OpenCurly;case Z.OpenSquare:return Z.CloseSquare;case Z.CloseSquare:return Z.OpenSquare;default:return null}}function rh(e){switch(e[0]){case Z.OpenParen:return[Z.CloseParen,`)`,-1,-1,void 0];case Z.CloseParen:return[Z.OpenParen,`(`,-1,-1,void 0];case Z.OpenCurly:return[Z.CloseCurly,`}`,-1,-1,void 0];case Z.CloseCurly:return[Z.OpenCurly,`{`,-1,-1,void 0];case Z.OpenSquare:return[Z.CloseSquare,`]`,-1,-1,void 0];case Z.CloseSquare:return[Z.OpenSquare,`[`,-1,-1,void 0];default:return null}}function ih(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function ah(e){return e>=97&&e<=122||e>=65&&e<=90||e===95||sh(e)}function oh(e){return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57||e===45||e===95||sh(e)}function sh(e){return e<183?e===0: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||e>=55296&&e<=57343||e>=65536}function ch(e){return e===11||e===127||0<=e&&e<=8||14<=e&&e<=31}function lh(e){return e===10||e===13||e===12}function uh(e){return e===32||e===10||e===9||e===13||e===12}function dh(e){return e>=55296&&e<=57343}function fh(e,t){let n=ph(e,t),r=[];for(;!n.endOfFile();)r.push(n.nextToken());return r.push(n.nextToken()),r}function ph(e,t){let n=e.css.valueOf(),r=e.unicodeRangesAllowed??!1,i=0,a=0,o=-1,s=!1,c=t?.onParseError??mh;function l(){let e=i;for(;;){let e=n.charCodeAt(i);if(e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===45||e===95){i+=1;continue}let t=n.codePointAt(i)??-1;if(t===0||t>=55296&&t<=57343||t===92&&!lh(n.codePointAt(i+1)??-1)||!sh(t))break;i+=+(t>65535)+1}let t=n.codePointAt(i)??-1;if(t!==0&&!(t>=55296&&t<=57343)&&(t!==92||lh(n.codePointAt(i+1)??-1)))return s=!0,o=i-1,n.slice(e,i);s=!1,i=e,o=-1;let r=``;for(;;){let e=n.codePointAt(i)??-1;if(e===0||dh(e))r+=`�`,i+=+(e>65535)+1,o=i-1;else if(e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===45||e===95||sh(e))r+=e>65535?String.fromCodePoint(e):String.fromCharCode(e),i+=+(e>65535)+1,o=i-1;else{if(n.codePointAt(i)!==92||lh(n.codePointAt(i+1)??-1))return r;i+=1,o=i-1,r+=String.fromCodePoint(u())}}}function u(){let e=n.codePointAt(i);if(e===void 0)return c(new Xm(Qm.UnexpectedEOFInEscapedCodePoint,a,o,[`4.3.7. Consume an escaped code point`,`Unexpected EOF`])),$m;if(i+=+(e>65535)+1,o=i-1,ih(e)){let t=[e],r;for(;(r=n.codePointAt(i))!==void 0&&ih(r)&&t.length<6;)t.push(r),i+=1,o=i-1;uh(n.codePointAt(i)??-1)&&(n.codePointAt(i)===13&&n.codePointAt(i+1)===10&&(i+=1),i+=1,o=i-1);let a=parseInt(String.fromCodePoint(...t),16);return a===0||dh(a)||a>1114111?$m:a}return e===0||dh(e)?$m:e}function d(){for(;;){let e=n.codePointAt(i);if(e===void 0)return;if(e===41)return i+=1,void(o=i-1);e!==92||lh(n.codePointAt(i+1)??-1)?(i+=1,o=i-1):(i+=1,o=i-1,u())}}function f(){for(i+=2,o=i-1;;){let e=n.codePointAt(i);if(e===void 0){let e=[Z.Comment,n.slice(a,o+1),a,o,void 0];return c(new Zm(Qm.UnexpectedEOFInComment,a,o,[`4.3.2. Consume comments`,`Unexpected EOF`],e)),e}if(i+=1,o=i-1,e===42&&n.codePointAt(i)!==void 0&&n.codePointAt(i)===47){i+=1,o=i-1;break}}return[Z.Comment,n.slice(a,o+1),a,o,void 0]}function p(){let e=``,t=n.codePointAt(i);for(i+=1,o=i-1;;){let r=n.charCodeAt(i);if(i>=n.length){let t=[Z.String,n.slice(a,o+1),a,o,{value:e}];return c(new Zm(Qm.UnexpectedEOFInString,a,o,[`4.3.5. Consume a string token`,`Unexpected EOF`],t)),t}if(i+=1,o=i-1,lh(r)){--i,o=i-1;let e=[Z.BadString,n.slice(a,o+1),a,o,void 0];return c(new Zm(Qm.UnexpectedNewLineInString,a,n.codePointAt(i)===13&&n.codePointAt(i+1)===10?o+2:o+1,[`4.3.5. Consume a string token`,`Unexpected newline`],e)),e}if(r===t)return[Z.String,n.slice(a,o+1),a,o,{value:e}];if(r!==92){if(r!==0){if(r<128)e+=String.fromCharCode(r);else{if(r>=55296&&r<=57343){let t=n.codePointAt(i-1)??-1;t>=65536?(e+=String.fromCodePoint(t),i+=1,o=i-1):e+=`�`;continue}e+=String.fromCharCode(r)}}else e+=`�`}else{if(n.codePointAt(i)===void 0)continue;if(lh(n.codePointAt(i)??-1)){n.codePointAt(i)===13&&n.codePointAt(i+1)===10&&(i+=1),i+=1,o=i-1;continue}e+=String.fromCodePoint(u())}}}function m(){i+=2,o=i-1;let e=[],t=[],r;for(;(r=n.codePointAt(i))!==void 0&&e.length<6&&ih(r);)e.push(r),i+=1,o=i-1;for(;(r=n.codePointAt(i))!==void 0&&e.length<6&&r===63;)t.length===0&&t.push(...e),e.push(48),t.push(70),i+=1,o=i-1;if(!t.length&&n.codePointAt(i)===45&&ih(n.codePointAt(i+1)??-1))for(i+=1,o=i-1;(r=n.codePointAt(i))!==void 0&&t.length<6&&ih(r);)t.push(r),i+=1,o=i-1;if(!t.length){let t=parseInt(String.fromCodePoint(...e),16);return[Z.UnicodeRange,n.slice(a,o+1),a,o,{startOfRange:t,endOfRange:t}]}let s=parseInt(String.fromCodePoint(...e),16),c=parseInt(String.fromCodePoint(...t),16);return[Z.UnicodeRange,n.slice(a,o+1),a,o,{startOfRange:s,endOfRange:c}]}function h(){for(;uh(n.codePointAt(i)??-1);)i+=1,o=i-1;let e=``;for(;;){if(n.codePointAt(i)===void 0){let t=[Z.URL,n.slice(a,o+1),a,o,{value:e}];return c(new Zm(Qm.UnexpectedEOFInURL,a,o,[`4.3.6. Consume a url token`,`Unexpected EOF`],t)),t}if(n.codePointAt(i)===41)return i+=1,o=i-1,[Z.URL,n.slice(a,o+1),a,o,{value:e}];if(uh(n.codePointAt(i)??-1)){for(i+=1,o=i-1;uh(n.codePointAt(i)??-1);)i+=1,o=i-1;if(n.codePointAt(i)===void 0){let t=[Z.URL,n.slice(a,o+1),a,o,{value:e}];return c(new Zm(Qm.UnexpectedEOFInURL,a,o,[`4.3.6. Consume a url token`,`Consume as much whitespace as possible`,`Unexpected EOF`],t)),t}return n.codePointAt(i)===41?(i+=1,o=i-1,[Z.URL,n.slice(a,o+1),a,o,{value:e}]):(d(),[Z.BadURL,n.slice(a,o+1),a,o,void 0])}let t=n.codePointAt(i);if(t===34||t===39||t===40||ch(t??-1)){d();let e=[Z.BadURL,n.slice(a,o+1),a,o,void 0];return c(new Zm(Qm.UnexpectedCharacterInURL,a,o,[`4.3.6. Consume a url token`,`Unexpected U+0022 QUOTATION MARK ("), U+0027 APOSTROPHE ('), U+0028 LEFT PARENTHESIS (() or non-printable code point`],e)),e}if(t===92){if(t===92&&!lh(n.codePointAt(i+1)??-1)){i+=1,o=i-1,e+=String.fromCodePoint(u());continue}d();let r=[Z.BadURL,n.slice(a,o+1),a,o,void 0];return c(new Zm(Qm.InvalidEscapeSequenceInURL,a,o,[`4.3.6. Consume a url token`,`U+005C REVERSE SOLIDUS (\\)`,`The input stream does not start with a valid escape sequence`],r)),r}t===0||dh(t??-1)?(e+=`�`,i+=1,o=i-1):(e+=String.fromCodePoint(t??$m),i+=+((t??-1)>65535)+1,o=i-1)}}function g(){let e;{let t=n.charCodeAt(i);t===45?e=`-`:t===43&&(e=`+`)}let t=eh.Integer,r=n.charCodeAt(i);r!==43&&r!==45||(i+=1);let s=n.charCodeAt(i);for(;s>=48&&s<=57;)i+=1,s=n.charCodeAt(i);if(n.charCodeAt(i)===46&&n.charCodeAt(i+1)>=48&&n.charCodeAt(i+1)<=57)for(i+=2,t=eh.Number,s=n.charCodeAt(i);s>=48&&s<=57;)i+=1,s=n.charCodeAt(i);let c=n.charCodeAt(i);if(c===101||c===69){let e=n.charCodeAt(i+1);if(e>=48&&e<=57)for(i+=2,t=eh.Number,s=n.charCodeAt(i);s>=48&&s<=57;)i+=1,s=n.charCodeAt(i);else if((e===45||e===43)&&n.charCodeAt(i+2)>=48&&n.charCodeAt(i+2)<=57)for(i+=3,t=eh.Number,s=n.charCodeAt(i);s>=48&&s<=57;)i+=1,s=n.charCodeAt(i)}o=i-1;let u=parseFloat(n.slice(a,o+1));if(x()){let r=l();return[Z.Dimension,n.slice(a,o+1),a,o,{value:u,signCharacter:e,type:t,unit:r}]}return n.charCodeAt(i)===37?(i+=1,o=i-1,[Z.Percentage,n.slice(a,o+1),a,o,{value:u,signCharacter:e}]):[Z.Number,n.slice(a,o+1),a,o,{value:u,signCharacter:e,type:t}]}function _(){let e=l();if(n.charCodeAt(i)!==40)return[Z.Ident,s?e:n.slice(a,o+1),a,o,{value:e}];if(!(e.length!==3||e.charCodeAt(0)!==117&&e.charCodeAt(0)!==85||e.charCodeAt(1)!==114&&e.charCodeAt(1)!==82||e.charCodeAt(2)!==108&&e.charCodeAt(2)!==76)){i+=1,o=i-1;let t=0;for(;uh(n.charCodeAt(i));)t+=1,i+=1,o=i-1;let r=n.charCodeAt(i);return r===34||r===39?(t>0&&(i-=t,o=i-1),[Z.Function,n.slice(a,o+1),a,o,{value:e}]):h()}return i+=1,o=i-1,[Z.Function,n.slice(a,o+1),a,o,{value:e}]}function v(){i+=1,o=i-1;let e=n.charCodeAt(i);if(e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===45||e===95||sh(e)||e===92&&!lh(n.codePointAt(i+1)??-1)){let e=th.Unrestricted;x()&&(e=th.ID);let t=l();return[Z.Hash,n.slice(a,o+1),a,o,{value:t,type:e}]}return[Z.Delim,`#`,a,o,{value:`#`}]}function y(){if(i+=1,o=i-1,x()){let e=l();return[Z.AtKeyword,n.slice(a,o+1),a,o,{value:e}]}return[Z.Delim,`@`,a,o,{value:`@`}]}function b(){i+=1,o=i-1;let e=[Z.Delim,`\\`,a,o,{value:`\\`}];return c(new Zm(Qm.InvalidEscapeSequenceAfterBackslash,a,o,[`4.3.1. Consume a token`,`U+005C REVERSE SOLIDUS (\\)`,`The input stream does not start with a valid escape sequence`],e)),e}function x(e){let t=e===void 0?n.charCodeAt(i):e;return t===45?n.charCodeAt(i+1)===45||!!ah(n.charCodeAt(i+1))||n.charCodeAt(i+1)===92&&!lh(n.charCodeAt(i+2)):!!ah(t)||n.charCodeAt(i)===92&&!lh(n.charCodeAt(i+1))}function S(e){return e===43||e===45?n.charCodeAt(i+1)>=48&&n.charCodeAt(i+1)<=57||n.charCodeAt(i+1)===46&&n.charCodeAt(i+2)>=48&&n.charCodeAt(i+2)<=57:e===46?n.charCodeAt(i+1)>=48&&n.charCodeAt(i+1)<=57:e>=48&&e<=57}return{nextToken:function(){if(a=i,o=-1,i>=n.length)return[Z.EOF,``,-1,-1,void 0];let e=n.charCodeAt(i);if(e===47&&n.charCodeAt(i+1)===42)return f();if(r&&(e===117||e===85)&&n.codePointAt(i+1)===43&&(n.codePointAt(i+2)===63||ih(n.codePointAt(i+2)??-1)))return m();if(ah(e))return _();if((t=e)>=48&&t<=57)return g();switch(e){case 44:return i+=1,o=i-1,[Z.Comma,`,`,a,o,void 0];case 58:return i+=1,o=i-1,[Z.Colon,`:`,a,o,void 0];case 59:return i+=1,o=i-1,[Z.Semicolon,`;`,a,o,void 0];case 40:return i+=1,o=i-1,[Z.OpenParen,`(`,a,o,void 0];case 41:return i+=1,o=i-1,[Z.CloseParen,`)`,a,o,void 0];case 91:return i+=1,o=i-1,[Z.OpenSquare,`[`,a,o,void 0];case 93:return i+=1,o=i-1,[Z.CloseSquare,`]`,a,o,void 0];case 123:return i+=1,o=i-1,[Z.OpenCurly,`{`,a,o,void 0];case 125:return i+=1,o=i-1,[Z.CloseCurly,`}`,a,o,void 0];case 39:case 34:return p();case 35:return v();case 43:case 46:return S(e)?g():(i+=1,o=i-1,[Z.Delim,n[a],a,o,{value:n[a]}]);case 10:case 13:case 12:case 9:case 32:{let e=n.charCodeAt(i);for(;e===32||e===10||e===9||e===13||e===12;)i+=1,e=n.charCodeAt(i);o=i-1}return[Z.Whitespace,n.slice(a,o+1),a,o,void 0];case 45:return S(e)?g():n.charCodeAt(i+1)===45&&n.charCodeAt(i+2)===62?(i+=3,o=i-1,[Z.CDC,`-->`,a,o,void 0]):x(e)?_():(i+=1,o=i-1,[Z.Delim,`-`,a,o,{value:`-`}]);case 60:return n.charCodeAt(i+1)===33&&n.charCodeAt(i+2)===45&&n.charCodeAt(i+3)===45?(i+=4,o=i-1,[Z.CDO,`<!--`,a,o,void 0]):(i+=1,o=i-1,[Z.Delim,`<`,a,o,{value:`<`}]);case 64:return y();case 92:return e!==92||lh(n.charCodeAt(i+1))?b():_();default:return i+=1,o=i-1,[Z.Delim,n[a],a,o,{value:n[a]}]}var t},endOfFile:function(){return i>=n.length}}}function mh(){}function hh(e,t){let n=[];for(let e of t)n.push(e.codePointAt(0));e[1]=String.fromCodePoint(...gh(n)),e[4].value=t}function gh(e){let t;if(e[0]===0)e.splice(0,1,$m),t=1;else if(e[0]===45&&e[1]===45)t=2;else if(e[0]===45&&e[1])t=2,ah(e[1])||(t+=vh(e,1,e[1]));else{if(e[0]===45&&!e[1])return[92,e[0]];ah(e[0])?t=1:(t=1,t+=vh(e,0,e[0]))}for(let n=t;n<e.length;n++)e[n]===0?(e.splice(n,1,$m),n++):oh(e[n])||(n+=_h(e,n,e[n]));return e}function _h(e,t,n){return e.splice(t,1,92,n),1}function vh(e,t,n){let r=n.toString(16),i=[];for(let e of r)i.push(e.codePointAt(0));return e.splice(t,1,92,...i,32),1+i.length}(function(e){e.Comment=`comment`,e.AtKeyword=`at-keyword-token`,e.BadString=`bad-string-token`,e.BadURL=`bad-url-token`,e.CDC=`CDC-token`,e.CDO=`CDO-token`,e.Colon=`colon-token`,e.Comma=`comma-token`,e.Delim=`delim-token`,e.Dimension=`dimension-token`,e.EOF=`EOF-token`,e.Function=`function-token`,e.Hash=`hash-token`,e.Ident=`ident-token`,e.Number=`number-token`,e.Percentage=`percentage-token`,e.Semicolon=`semicolon-token`,e.String=`string-token`,e.URL=`url-token`,e.Whitespace=`whitespace-token`,e.OpenParen=`(-token`,e.CloseParen=`)-token`,e.OpenSquare=`[-token`,e.CloseSquare=`]-token`,e.OpenCurly=`{-token`,e.CloseCurly=`}-token`,e.UnicodeRange=`unicode-range-token`})(Z||={}),function(e){e.Integer=`integer`,e.Number=`number`}(eh||={}),function(e){e.Unrestricted=`unrestricted`,e.ID=`id`}(th||={});const yh=Object.values(Z);function bh(e){return!!Array.isArray(e)&&!(e.length<4)&&!!yh.includes(e[0])&&typeof e[1]==`string`&&typeof e[2]==`number`&&typeof e[3]==`number`}function xh(e){if(!e)return!1;switch(e[0]){case Z.Whitespace:case Z.Comment:return!0;default:return!1}}function Sh(e){return!!e&&e[0]===Z.Colon}function Ch(e){return!!e&&e[0]===Z.Comma}function wh(e){return!!e&&e[0]===Z.Comment}function Th(e){return!!e&&e[0]===Z.Delim}function Eh(e){return!!e&&e[0]===Z.Dimension}function Dh(e){return!!e&&e[0]===Z.EOF}function Oh(e){return!!e&&e[0]===Z.Function}function kh(e){return!!e&&e[0]===Z.Ident}function Ah(e){return!!e&&e[0]===Z.Number}function jh(e){return!!e&&e[0]===Z.Whitespace}function Mh(e){return!!e&&e[0]===Z.OpenParen}function Nh(e){return!!e&&e[0]===Z.CloseParen}function Ph(e){return!!e&&e[0]===Z.OpenSquare}function Fh(e){return!!e&&e[0]===Z.OpenCurly}var Q;function Ih(e){let t,n=e.slice(),r=-1;return(e,i,a)=>{if(e===t&&e.length===r&&e[a]===i){r=e.length;let t=a+1;return t<e.length?t:-1}let o=-1;for(let t=n.indexOf(i);t<n.length&&(o=e.indexOf(n[t]),o===-1||o<a);t++);return o===-1||o===a&&i===e[a]&&(o++,o>=e.length)?(t=e,r=e.length,-1):(n=e.slice(),t=e,r=e.length,o)}}(function(e){e.Function=`function`,e.SimpleBlock=`simple-block`,e.Whitespace=`whitespace`,e.Comment=`comment`,e.Token=`token`})(Q||={});function Lh(e,t,n=0,r=0){let i=t[n];if(Mh(i)||Fh(i)||Ph(i)){let i=Hh(e,t,n,r);return{advance:i.advance,node:i.node}}if(Oh(i)){let i=Bh(e,t,n,r);return{advance:i.advance,node:i.node}}if(jh(i)){let r=Wh(e,t,n);return{advance:r.advance,node:r.node}}if(wh(i)){let r=Kh(e,t,n);return{advance:r.advance,node:r.node}}return{advance:1,node:new Jh(i)}}var Rh=class{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 n=Ih(this.value),r=0;for(;r<this.value.length;){let i=this.value[r],a;if(t&&(a={...t}),!1===e({node:i,parent:this,state:a},r))return!1;if(r=n(this.value,i,r),r===-1)break}}walk(e,t){this.value.length!==0&&this.forEach((t,n)=>!1!==e(t,n)&&(!(`walk`in t.node)||!(typeof n==`number`&&this.value[n]===t.node||this.value.includes(t.node))||!1!==t.node.walk(e,t.state))&&void 0,t)}},zh=class e extends Rh{type=Q.Function;name;endToken;constructor(e,t,n){super(),this.name=e,this.endToken=t,this.value=n}getName(){return this.name[4].value}normalize(){Dh(this.endToken)&&(this.endToken=[Z.CloseParen,`)`,-1,-1,void 0])}tokens(){return Dh(this.endToken)?[this.name,...this.value.flatMap(e=>e.tokens())]:[this.name,...this.value.flatMap(e=>e.tokens()),this.endToken]}toString(){let e=this.value.map(e=>bh(e)?X(e):e.toString()).join(``);return X(this.name)+e+X(this.endToken)}toJSON(){return{type:this.type,name:this.getName(),tokens:this.tokens(),value:this.value.map(e=>e.toJSON())}}isFunctionNode(){return e.isFunctionNode(this)}static isFunctionNode(t){return!!t&&t instanceof e&&t.type===Q.Function}};function Bh(e,t,n,r){if(r>=512)throw Error(`Maximum nesting depth of 512 exceeded, reduce the complexity of your stylesheet.`);let i=[],a=n+1;for(;;){let o=t[a];if(!o||Dh(o))return e.onParseError(new Xm(`Unexpected EOF while consuming a function.`,t[n][2],t[t.length-1][3],[`5.4.9. Consume a function`,`Unexpected EOF`])),{advance:t.length-n,node:new zh(t[n],o,i)};if(Nh(o))return{advance:a-n+1,node:new zh(t[n],o,i)};if(xh(o)){let n=qh(e,t,a);a+=n.advance;for(let e=0;e<n.nodes.length;e++)i.push(n.nodes[e]);continue}let s=Lh(e,t,a,r+1);a+=s.advance,i.push(s.node)}}var Vh=class e extends Rh{type=Q.SimpleBlock;startToken;endToken;constructor(e,t,n){super(),this.startToken=e,this.endToken=t,this.value=n}normalize(){if(Dh(this.endToken)){let e=rh(this.startToken);e&&(this.endToken=e)}}tokens(){return Dh(this.endToken)?[this.startToken,...this.value.flatMap(e=>e.tokens())]:[this.startToken,...this.value.flatMap(e=>e.tokens()),this.endToken]}toString(){let e=this.value.map(e=>bh(e)?X(e):e.toString()).join(``);return X(this.startToken)+e+X(this.endToken)}toJSON(){return{type:this.type,startToken:this.startToken,tokens:this.tokens(),value:this.value.map(e=>e.toJSON())}}isSimpleBlockNode(){return e.isSimpleBlockNode(this)}static isSimpleBlockNode(t){return!!t&&t instanceof e&&t.type===Q.SimpleBlock}};function Hh(e,t,n,r){if(r>=512)throw Error(`Maximum nesting depth of 512 exceeded, reduce the complexity of your stylesheet.`);let i=nh(t[n][0]);if(!i)throw Error(`Failed to parse, a mirror variant must exist for all block open tokens.`);let a=[],o=n+1;for(;;){let s=t[o];if(!s||Dh(s))return e.onParseError(new Xm(`Unexpected EOF while consuming a simple block.`,t[n][2],t[t.length-1][3],[`5.4.8. Consume a simple block`,`Unexpected EOF`])),{advance:t.length-n,node:new Vh(t[n],s,a)};if(s[0]===i)return{advance:o-n+1,node:new Vh(t[n],s,a)};if(xh(s)){let n=qh(e,t,o);o+=n.advance;for(let e=0;e<n.nodes.length;e++)a.push(n.nodes[e]);continue}let c=Lh(e,t,o,r+1);o+=c.advance,a.push(c.node)}}var Uh=class e{type=Q.Whitespace;value;constructor(e){this.value=e}tokens(){return this.value}toString(){return X(this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isWhitespaceNode(){return e.isWhitespaceNode(this)}static isWhitespaceNode(t){return!!t&&t instanceof e&&t.type===Q.Whitespace}};function Wh(e,t,n){let r=n;for(;;){let e=t[r];if(!jh(e))return{advance:r-n,node:new Uh(t.slice(n,r))};r++}}var Gh=class e{type=Q.Comment;value;constructor(e){this.value=e}tokens(){return[this.value]}toString(){return X(this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isCommentNode(){return e.isCommentNode(this)}static isCommentNode(t){return!!t&&t instanceof e&&t.type===Q.Comment}};function Kh(e,t,n){return{advance:1,node:new Gh(t[n])}}function qh(e,t,n){let r=[],i=n;for(;;)if(jh(t[i])){let e=Wh(0,t,i);i+=e.advance,r.push(e.node)}else{if(!wh(t[i]))return{advance:i-n,nodes:r};r.push(new Gh(t[i])),i++}}var Jh=class e{type=Q.Token;value;constructor(e){this.value=e}tokens(){return[this.value]}toString(){return this.value[1]}toJSON(){return{type:this.type,tokens:this.tokens()}}isTokenNode(){return e.isTokenNode(this)}static isTokenNode(t){return!!t&&t instanceof e&&t.type===Q.Token}};function Yh(e,t){let n={onParseError:t?.onParseError??(()=>{})},r=[...e];if(e.length===0)return[];Dh(r[r.length-1])||r.push([Z.EOF,``,r[r.length-1][2],r[r.length-1][3],void 0]);let i=[],a=[],o=0;for(;;){if(!r[o]||Dh(r[o]))return i.push(a),i;if(Ch(r[o])){i.push(a),a=[],o++;continue}let e=Lh(n,r,o,0);a.push(e.node),o+=e.advance}}function Xh(e){return Vh.isSimpleBlockNode(e)}function Zh(e){return zh.isFunctionNode(e)}function Qh(e){return Uh.isWhitespaceNode(e)}function $h(e){return Gh.isCommentNode(e)}function eg(e){return Qh(e)||$h(e)}function tg(e){return Jh.isTokenNode(e)}var $;(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`})($||={});var ng=class e{type=$.MediaCondition;media;constructor(e){this.media=e}tokens(){return this.media.tokens()}toString(){return this.media.toString()}hasLeadingSpace(){return this.media.hasLeadingSpace()}indexOf(e){return e===this.media?`media`:-1}at(e){if(e===`media`)return this.media}walk(e,t){let n;return t&&(n={...t}),!1!==e({node:this.media,parent:this,state:n},`media`)&&this.media.walk(e,n)}toJSON(){return{type:this.type,media:this.media.toJSON()}}isMediaCondition(){return e.isMediaCondition(this)}static isMediaCondition(t){return!!t&&t instanceof e&&t.type===$.MediaCondition}},rg=class e{type=$.MediaInParens;media;before;after;constructor(e,t=[],n=[]){this.media=e,this.before=t,this.after=n}tokens(){return[...this.before,...this.media.tokens(),...this.after]}toString(){return X(...this.before)+this.media.toString()+X(...this.after)}hasLeadingSpace(){return this.before.length?xh(this.before[0]):this.media.hasLeadingSpace()}indexOf(e){return e===this.media?`media`:-1}at(e){if(e===`media`)return this.media}walk(e,t){let n;return t&&(n={...t}),!1!==e({node:this.media,parent:this,state:n},`media`)&&(`walk`in this.media?this.media.walk(e,n):void 0)}toJSON(){return{type:this.type,media:this.media.toJSON(),before:this.before,after:this.after}}isMediaInParens(){return e.isMediaInParens(this)}static isMediaInParens(t){return!!t&&t instanceof e&&t.type===$.MediaInParens}},ig=class e{type=$.MediaQueryWithType;modifier;mediaType;and=void 0;media=void 0;constructor(e,t,n,r){this.modifier=e,this.mediaType=t,n&&r&&(this.and=n,this.media=r)}getModifier(){if(!this.modifier.length)return``;for(let e=0;e<this.modifier.length;e++){let t=this.modifier[e];if(kh(t))return t[4].value}return``}negateQuery(){let t=this.getModifier().toLowerCase()===`not`,n=this.getMediaType();return this.and&&this.media?t?[new e([],[[Z.Ident,n,-1,-1,{value:n}]]),new ag(this.media)]:[new e([[Z.Ident,`not`,-1,-1,{value:`not`}],[Z.Whitespace,` `,-1,-1,void 0]],[[Z.Ident,n,-1,-1,{value:n}]]),...new ag(this.media).negateQuery()]:t?[new e([],[[Z.Ident,n,-1,-1,{value:n}]])]:[new e([[Z.Ident,`not`,-1,-1,{value:`not`}],[Z.Whitespace,` `,-1,-1,void 0]],[[Z.Ident,n,-1,-1,{value:n}]])]}getMediaType(){if(!this.mediaType.length)return``;for(let e=0;e<this.mediaType.length;e++){let t=this.mediaType[e];if(kh(t))return t[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?X(...this.modifier)+X(...this.mediaType)+X(...this.and)+this.media.toString():X(...this.modifier)+X(...this.mediaType)}indexOf(e){return e===this.media?`media`:-1}at(e){if(e===`media`)return this.media}walk(e,t){let n;if(t&&(n={...t}),this.media)return!1!==e({node:this.media,parent:this,state:n},`media`)&&this.media.walk(e,n)}toJSON(){return{type:this.type,string:this.toString(),modifier:this.modifier,mediaType:this.mediaType,and:this.and,media:this.media}}isMediaQueryWithType(){return e.isMediaQueryWithType(this)}static isMediaQueryWithType(t){return!!t&&t instanceof e&&t.type===$.MediaQueryWithType}},ag=class e{type=$.MediaQueryWithoutType;media;constructor(e){this.media=e}negateQuery(){let t=this.media;return t.media.type===$.MediaNot?[new e(new ng(t.media.media))]:(t.media.type!==$.MediaConditionListWithOr&&t.media.type!==$.MediaConditionListWithAnd||(t=new ng(new rg(t,[[Z.Whitespace,` `,-1,-1,void 0],[Z.OpenParen,`(`,-1,-1,void 0]],[[Z.CloseParen,`)`,-1,-1,void 0]]))),`before`in t.media&&(t.media.hasLeadingSpace()||t.media.before.splice(0,0,[Z.Whitespace,` `,-1,-1,void 0])),[new ig([[Z.Ident,`not`,-1,-1,{value:`not`}],[Z.Whitespace,` `,-1,-1,void 0]],[[Z.Ident,`all`,-1,-1,{value:`all`}],[Z.Whitespace,` `,-1,-1,void 0]],[[Z.Ident,`and`,-1,-1,{value:`and`}]],t)])}tokens(){return this.media.tokens()}toString(){return this.media.toString()}indexOf(e){return e===this.media?`media`:-1}at(e){if(e===`media`)return this.media}walk(e,t){let n;return t&&(n={...t}),!1!==e({node:this.media,parent:this,state:n},`media`)&&this.media.walk(e,n)}toJSON(){return{type:this.type,string:this.toString(),media:this.media}}isMediaQueryWithoutType(){return e.isMediaQueryWithoutType(this)}static isMediaQueryWithoutType(t){return!!t&&t instanceof e&&t.type===$.MediaQueryWithoutType}},og=class e{type=$.MediaQueryInvalid;media;constructor(e){this.media=e}negateQuery(){return[new e(this.media)]}tokens(){return this.media.flatMap(e=>e.tokens())}toString(){return this.media.map(e=>e.toString()).join(``)}walk(e,t){if(this.media.length===0)return;let n=Ih(this.media),r=0;for(;r<this.media.length;){let i=this.media[r],a;if(t&&(a={...t}),!1===e({node:i,parent:this,state:a},r)||`walk`in i&&this.media.includes(i)&&!1===i.walk(e,a))return!1;if(r=n(this.media,i,r),r===-1)break}}toJSON(){return{type:this.type,string:this.toString(),media:this.media}}isMediaQueryInvalid(){return e.isMediaQueryInvalid(this)}static isMediaQueryInvalid(t){return!!t&&t instanceof e&&t.type===$.MediaQueryInvalid}},sg=class e{type=$.GeneralEnclosed;value;constructor(e){this.value=e}tokens(){return this.value.tokens()}toString(){return this.value.toString()}hasLeadingSpace(){return xh(this.value.tokens()[0])}indexOf(e){return e===this.value?`value`:-1}at(e){if(e===`value`)return this.value}walk(e,t){let n;return t&&(n={...t}),!1!==e({node:this.value,parent:this,state:n},`value`)&&(`walk`in this.value?this.value.walk(e,n):void 0)}toJSON(){return{type:this.type,tokens:this.tokens()}}isGeneralEnclosed(){return e.isGeneralEnclosed(this)}static isGeneralEnclosed(t){return!!t&&t instanceof e&&t.type===$.GeneralEnclosed}},cg=class e{type=$.MediaAnd;modifier;media;constructor(e,t){this.modifier=e,this.media=t}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return X(...this.modifier)+this.media.toString()}hasLeadingSpace(){return xh(this.modifier[0])}indexOf(e){return e===this.media?`media`:-1}at(e){return e===`media`?this.media:null}walk(e,t){let n;return t&&(n={...t}),!1!==e({node:this.media,parent:this,state:n},`media`)&&this.media.walk(e,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaAnd(){return e.isMediaAnd(this)}static isMediaAnd(t){return!!t&&t instanceof e&&t.type===$.MediaAnd}},lg=class e{type=$.MediaConditionListWithAnd;leading;list;before;after;constructor(e,t,n=[],r=[]){this.leading=e,this.list=t,this.before=n,this.after=r}tokens(){return[...this.before,...this.leading.tokens(),...this.list.flatMap(e=>e.tokens()),...this.after]}toString(){return X(...this.before)+this.leading.toString()+this.list.map(e=>e.toString()).join(``)+X(...this.after)}hasLeadingSpace(){return this.before.length?xh(this.before[0]):this.leading.hasLeadingSpace()}indexOf(e){return e===this.leading?`leading`:e.type===$.MediaAnd?this.list.indexOf(e):-1}at(e){return e===`leading`?this.leading:typeof e==`number`?(e<0&&(e=this.list.length+e),this.list[e]):void 0}walk(e,t){let n;if(t&&(n={...t}),!1===e({node:this.leading,parent:this,state:n},`leading`)||`walk`in this.leading&&!1===this.leading.walk(e,n))return!1;if(this.list.length===0)return;let r=Ih(this.list),i=0;for(;i<this.list.length;){let a=this.list[i];if(t&&(n={...t}),!1===e({node:a,parent:this,state:n},i)||`walk`in a&&this.list.includes(a)&&!1===a.walk(e,n))return!1;if(i=r(this.list,a,i),i===-1)break}}toJSON(){return{type:this.type,leading:this.leading.toJSON(),list:this.list.map(e=>e.toJSON()),before:this.before,after:this.after}}isMediaConditionListWithAnd(){return e.isMediaConditionListWithAnd(this)}static isMediaConditionListWithAnd(t){return!!t&&t instanceof e&&t.type===$.MediaConditionListWithAnd}},ug=class e{type=$.MediaConditionListWithOr;leading;list;before;after;constructor(e,t,n=[],r=[]){this.leading=e,this.list=t,this.before=n,this.after=r}tokens(){return[...this.before,...this.leading.tokens(),...this.list.flatMap(e=>e.tokens()),...this.after]}toString(){return X(...this.before)+this.leading.toString()+this.list.map(e=>e.toString()).join(``)+X(...this.after)}hasLeadingSpace(){return this.before.length?xh(this.before[0]):this.leading.hasLeadingSpace()}indexOf(e){return e===this.leading?`leading`:e.type===$.MediaOr?this.list.indexOf(e):-1}at(e){return e===`leading`?this.leading:typeof e==`number`?(e<0&&(e=this.list.length+e),this.list[e]):void 0}walk(e,t){let n;if(t&&(n={...t}),!1===e({node:this.leading,parent:this,state:n},`leading`)||`walk`in this.leading&&!1===this.leading.walk(e,n))return!1;if(this.list.length===0)return;let r=Ih(this.list),i=0;for(;i<this.list.length;){let a=this.list[i];if(t&&(n={...t}),!1===e({node:a,parent:this,state:n},i)||`walk`in a&&this.list.includes(a)&&!1===a.walk(e,n))return!1;if(i=r(this.list,a,i),i===-1)break}}toJSON(){return{type:this.type,leading:this.leading.toJSON(),list:this.list.map(e=>e.toJSON()),before:this.before,after:this.after}}isMediaConditionListWithOr(){return e.isMediaConditionListWithOr(this)}static isMediaConditionListWithOr(t){return!!t&&t instanceof e&&t.type===$.MediaConditionListWithOr}};function dg(e){return!!(tg(e)&&Ah(e.value)||Zh(e)&&fg.has(e.getName().toLowerCase()))}const fg=/* @__PURE__ */ new Set([`abs`,`acos`,`asin`,`atan`,`atan2`,`calc`,`calc-mix`,`clamp`,`cos`,`exp`,`hypot`,`log`,`max`,`min`,`mod`,`pow`,`rem`,`round`,`sign`,`sin`,`sqrt`,`tan`]);function pg(e){return tg(e)&&Eh(e.value)}function mg(e){return tg(e)&&kh(e.value)}function hg(e){return Zh(e)&&e.getName().toLowerCase()===`env`}var gg=class e{type=$.MediaFeatureName;name;before;after;constructor(e,t=[],n=[]){this.name=e,this.before=t,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 X(...this.before)+this.name.toString()+X(...this.after)}indexOf(e){return e===this.name?`name`:-1}at(e){if(e===`name`)return this.name}toJSON(){return{type:this.type,name:this.getName(),tokens:this.tokens()}}isMediaFeatureName(){return e.isMediaFeatureName(this)}static isMediaFeatureName(t){return!!t&&t instanceof e&&t.type===$.MediaFeatureName}};function _g(e){let t=-1;for(let n=0;n<e.length;n++){let r=e[n];if(r.type!==Q.Whitespace&&r.type!==Q.Comment){if(!mg(r)||t!==-1)return!1;t=n}}return t!==-1&&new gg(e[t],e.slice(0,t).flatMap(e=>e.tokens()),e.slice(t+1).flatMap(e=>e.tokens()))}var vg=class e{type=$.MediaFeatureBoolean;name;constructor(e){this.name=e}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return this.name.tokens()}toString(){return this.name.toString()}indexOf(e){return e===this.name?`name`:-1}at(e){if(e===`name`)return this.name}toJSON(){return{type:this.type,name:this.name.toJSON(),tokens:this.tokens()}}isMediaFeatureBoolean(){return e.isMediaFeatureBoolean(this)}static isMediaFeatureBoolean(t){return!!t&&t instanceof e&&t.type===$.MediaFeatureBoolean}};function yg(e){let t=_g(e);return!1===t?t:new vg(t)}var bg=class e{type=$.MediaFeatureValue;value;before;after;constructor(e,t=[],n=[]){this.value=Array.isArray(e)&&e.length===1?e[0]:e,this.before=t,this.after=n}tokens(){return Array.isArray(this.value)?[...this.before,...this.value.flatMap(e=>e.tokens()),...this.after]:[...this.before,...this.value.tokens(),...this.after]}toString(){return Array.isArray(this.value)?X(...this.before)+this.value.map(e=>e.toString()).join(``)+X(...this.after):X(...this.before)+this.value.toString()+X(...this.after)}indexOf(e){return e===this.value?`value`:-1}at(e){return e===`value`?this.value:Array.isArray(this.value)&&typeof e==`number`?(e<0&&(e=this.value.length+e),this.value[e]):void 0}walk(e,t){if(Array.isArray(this.value)){if(this.value.length===0)return;let n=Ih(this.value),r=0;for(;r<this.value.length;){let i=this.value[r],a;if(t&&(a={...t}),!1===e({node:i,parent:this,state:a},r)||`walk`in i&&this.value.includes(i)&&!1===i.walk(e,a))return!1;if(r=n(this.value,i,r),r===-1)break}}else{let n;if(t&&(n={...t}),!1===e({node:this.value,parent:this,state:n},`value`))return!1;if(`walk`in this.value)return this.value.walk(e,n)}}toJSON(){return Array.isArray(this.value)?{type:this.type,value:this.value.map(e=>e.toJSON()),tokens:this.tokens()}:{type:this.type,value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureValue(){return e.isMediaFeatureValue(this)}static isMediaFeatureValue(t){return!!t&&t instanceof e&&t.type===$.MediaFeatureValue}};function xg(e,t=!1){let n=-1,r=-1;for(let i=0;i<e.length;i++){let a=e[i];if(a.type!==Q.Whitespace&&a.type!==Q.Comment){if(n!==-1)return!1;if(dg(a)){let t=Sg(e.slice(i));if(t!==-1){n=t[0]+i,r=t[1]+i,i+=t[1]-t[0];continue}n=i,r=i;continue}if(hg(a))n=i,r=i;else if(pg(a))n=i,r=i;else{if(t||!mg(a))return!1;n=i,r=i}}}return n!==-1&&new bg(e.slice(n,r+1),e.slice(0,n).flatMap(e=>e.tokens()),e.slice(r+1).flatMap(e=>e.tokens()))}function Sg(e){let t=Cg(e);if(t===-1)return-1;let n=t[0],r=t[1];for(let t=r+1;t<e.length;t++){let n=e[t];if(!eg(n))return-1}return[n,r]}function Cg(e){let t=-1,n=-1;for(let r=0;r<e.length;r++){let i=e[r];if(!eg(i)){if(tg(i)){let e=i.value;if(Th(e)&&e[4].value===`/`){if(t===-1||n!==-1)return-1;n=r;continue}}if(!dg(i))return-1;if(n!==-1)return[t,r];if(t!==-1)return-1;t=r}}return-1}var wg=class e{type=$.MediaFeaturePlain;name;colon;value;constructor(e,t,n){this.name=e,this.colon=t,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()+X(this.colon)+this.value.toString()}indexOf(e){return e===this.name?`name`:e===this.value?`value`:-1}at(e){return e===`name`?this.name:e===`value`?this.value:void 0}walk(e,t){let n;return t&&(n={...t}),!1!==e({node:this.value,parent:this,state:n},`value`)&&this.value.walk(e,n)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeaturePlain(){return e.isMediaFeaturePlain(this)}static isMediaFeaturePlain(t){return!!t&&t instanceof e&&t.type===$.MediaFeaturePlain}};function Tg(e){let t=[],n=[],r=null;for(let i=0;i<e.length;i++){let a=e[i];if(a.type===Q.Token){let o=a.value;if(Sh(o)){t=e.slice(0,i),n=e.slice(i+1),r=o;break}}}if(!t.length||!n.length||!r)return!1;let i=_g(t);if(!1===i)return!1;let a=xg(n);return!1!==a&&new wg(i,r,a)}var Eg,Dg,Og,kg;function Ag(e){let t=-1;for(let n=0;n<e.length;n++){let r=e[n];if(r.type===Q.Token){let e=r.value;if(Th(e)){if(e[4].value===Og.EQ)return t===-1?[n,n]:[t,n];if(e[4].value===Eg.LT||e[4].value===Dg.GT){t=n;continue}}}break}return t!==-1&&[t,t]}function jg(e){if(e.length!==1&&e.length!==2||!Th(e[0]))return!1;if(e.length===1)switch(e[0][4].value){case Og.EQ:return Og.EQ;case Eg.LT:return Eg.LT;case Dg.GT:return Dg.GT;default:return!1}if(!Th(e[1])||e[1][4].value!==Og.EQ)return!1;switch(e[0][4].value){case Eg.LT:return Eg.LT_OR_EQ;case Dg.GT:return Dg.GT_OR_EQ;default:return!1}}(function(e){e.LT=`<`,e.LT_OR_EQ=`<=`})(Eg||={}),function(e){e.GT=`>`,e.GT_OR_EQ=`>=`}(Dg||={}),function(e){e.EQ=`=`}(Og||={});var Mg=class e{type=$.MediaFeatureRangeNameValue;name;operator;value;constructor(e,t,n){this.name=e,this.operator=t,this.value=n}operatorKind(){return jg(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()+X(...this.operator)+this.value.toString()}indexOf(e){return e===this.name?`name`:e===this.value?`value`:-1}at(e){return e===`name`?this.name:e===`value`?this.value:void 0}walk(e,t){let n;return t&&(n={...t}),!1!==e({node:this.value,parent:this,state:n},`value`)&&(`walk`in this.value?this.value.walk(e,n):void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeNameValue(){return e.isMediaFeatureRangeNameValue(this)}static isMediaFeatureRangeNameValue(t){return!!t&&t instanceof e&&t.type===$.MediaFeatureRangeNameValue}},Ng=class e{type=$.MediaFeatureRangeValueName;name;operator;value;constructor(e,t,n){this.name=e,this.operator=t,this.value=n}operatorKind(){return jg(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()+X(...this.operator)+this.name.toString()}indexOf(e){return e===this.name?`name`:e===this.value?`value`:-1}at(e){return e===`name`?this.name:e===`value`?this.value:void 0}walk(e,t){let n;return t&&(n={...t}),!1!==e({node:this.value,parent:this,state:n},`value`)&&(`walk`in this.value?this.value.walk(e,n):void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeValueName(){return e.isMediaFeatureRangeValueName(this)}static isMediaFeatureRangeValueName(t){return!!t&&t instanceof e&&t.type===$.MediaFeatureRangeValueName}},Pg=class e{type=$.MediaFeatureRangeValueNameValue;name;valueOne;valueOneOperator;valueTwo;valueTwoOperator;constructor(e,t,n,r,i){this.name=e,this.valueOne=t,this.valueOneOperator=n,this.valueTwo=r,this.valueTwoOperator=i}valueOneOperatorKind(){return jg(this.valueOneOperator)}valueTwoOperatorKind(){return jg(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()+X(...this.valueOneOperator)+this.name.toString()+X(...this.valueTwoOperator)+this.valueTwo.toString()}indexOf(e){return e===this.name?`name`:e===this.valueOne?`valueOne`:e===this.valueTwo?`valueTwo`:-1}at(e){return e===`name`?this.name:e===`valueOne`?this.valueOne:e===`valueTwo`?this.valueTwo:void 0}walk(e,t){let n;return t&&(n={...t}),!1!==e({node:this.valueOne,parent:this,state:n},`valueOne`)&&(!(`walk`in this.valueOne)||!1!==this.valueOne.walk(e,n))&&(t&&(n={...t}),!1!==e({node:this.valueTwo,parent:this,state:n},`valueTwo`)&&(!(`walk`in this.valueTwo)||!1!==this.valueTwo.walk(e,n))&&void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),valueOne:this.valueOne.toJSON(),valueTwo:this.valueTwo.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeValueNameValue(){return e.isMediaFeatureRangeValueNameValue(this)}static isMediaFeatureRangeValueNameValue(t){return!!t&&t instanceof e&&t.type===$.MediaFeatureRangeValueNameValue}};function Fg(e){let t=!1,n=!1;for(let r=0;r<e.length;r++){let i=e[r];if(i.type===Q.Token){let a=i.value;if(Th(a)){let i=Ag(e.slice(r));if(!1!==i){if(!1!==t){n=[i[0]+r,i[1]+r];break}t=[i[0]+r,i[1]+r],r+=i[1]}}}}if(!1===t)return!1;let r=[e[t[0]].value];if(t[0]!==t[1]&&r.push(e[t[1]].value),!1===n){let n=e.slice(0,t[0]),i=e.slice(t[1]+1),a=_g(n);if(a){let e=xg(i,!0);return!!e&&new Mg(a,r,e)}let o=_g(i);if(o){let e=xg(n,!0);return!!e&&new Ng(o,r,e)}return!1}let i=[e[n[0]].value];n[0]!==n[1]&&i.push(e[n[1]].value);let a=e.slice(0,t[0]),o=e.slice(t[1]+1,n[0]),s=e.slice(n[1]+1),c=xg(a,!0),l=_g(o),u=xg(s,!0);if(!c||!l||!u)return!1;{let e=jg(r);if(!1===e||e===Og.EQ)return!1;let t=jg(i);if(!1===t||t===Og.EQ||!(e!==Eg.LT&&e!==Eg.LT_OR_EQ||t!==Dg.GT&&t!==Dg.GT_OR_EQ)||!(e!==Dg.GT&&e!==Dg.GT_OR_EQ||t!==Eg.LT&&t!==Eg.LT_OR_EQ))return!1}return new Pg(l,c,r,u,i)}var Ig=class e{type=$.MediaFeature;feature;before;after;constructor(e,t=[],n=[]){this.feature=e,this.before=t,this.after=n}getName(){return this.feature.getName()}getNameToken(){return this.feature.getNameToken()}tokens(){return[...this.before,...this.feature.tokens(),...this.after]}toString(){return X(...this.before)+this.feature.toString()+X(...this.after)}hasLeadingSpace(){return xh(this.before[0])}indexOf(e){return e===this.feature?`feature`:-1}at(e){if(e===`feature`)return this.feature}walk(e,t){let n;return t&&(n={...t}),!1!==e({node:this.feature,parent:this,state:n},`feature`)&&(`walk`in this.feature?this.feature.walk(e,n):void 0)}toJSON(){return{type:this.type,feature:this.feature.toJSON(),before:this.before,after:this.after}}isMediaFeature(){return e.isMediaFeature(this)}static isMediaFeature(t){return!!t&&t instanceof e&&t.type===$.MediaFeature}};function Lg(e,t=[],n=[]){if(!Mh(e.startToken))return!1;let r=yg(e.value);if(!1!==r)return new Ig(r,t,n);let i=Tg(e.value);if(!1!==i)return new Ig(i,t,n);let a=Fg(e.value);return!1!==a&&new Ig(a,t,n)}var Rg=class e{type=$.MediaNot;modifier;media;constructor(e,t){this.modifier=e,this.media=t}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return X(...this.modifier)+this.media.toString()}hasLeadingSpace(){return this.modifier.length?xh(this.modifier[0]):this.media.hasLeadingSpace()}indexOf(e){return e===this.media?`media`:-1}at(e){if(e===`media`)return this.media}walk(e,t){let n;return t&&(n={...t}),!1!==e({node:this.media,parent:this,state:n},`media`)&&this.media.walk(e,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaNot(){return e.isMediaNot(this)}static isMediaNot(t){return!!t&&t instanceof e&&t.type===$.MediaNot}},zg=class e{type=$.MediaOr;modifier;media;constructor(e,t){this.modifier=e,this.media=t}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return X(...this.modifier)+this.media.toString()}indexOf(e){return e===this.media?`media`:-1}at(e){if(e===`media`)return this.media}walk(e,t){let n;return t&&(n={...t}),!1!==e({node:this.media,parent:this,state:n},`media`)&&this.media.walk(e,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaOr(){return e.isMediaOr(this)}static isMediaOr(t){return!!t&&t instanceof e&&t.type===$.MediaOr}};function Bg(e){if(!kh(e))return!1;switch(e[4].value.toLowerCase()){case kg.Not:return kg.Not;case kg.Only:return kg.Only;default:return!1}}(function(e){e.Not=`not`,e.Only=`only`})(kg||={});function Vg(e){if(e.length>3e4)throw Error(`Maximum number of component values in a media query (30000) exceeded, reduce the complexity of your media query`);{let t=Ug(e);if(!1!==t)return new ag(t)}{let t=-1,n=-1,r=-1;for(let i=0;i<e.length;i++){let a=e[i];if(!Qh(a)&&!$h(a)){if(tg(a)){let o=a.value;if(t===-1&&kh(o)&&Bg(o)){t=i;continue}if(n===-1&&kh(o)&&!Bg(o)){n=i;continue}if(r===-1&&kh(o)&&Zg.test(o[4].value)){if(r=i,!1===Wg(e.slice(i+1)))return!1;break}return!1}return!1}}let i=[],a=[];t===-1?n!==-1&&(a=e.slice(0,n+1).flatMap(e=>e.tokens())):(i=e.slice(0,t+1).flatMap(e=>e.tokens()),n!==-1&&(a=e.slice(t+1,n+1).flatMap(e=>e.tokens())));let o=Wg(e.slice(Math.max(t,n,r)+1));return!1===o?new ig(i,[...a,...e.slice(n+1).flatMap(e=>e.tokens())]):new ig(i,a,e.slice(n+1,r+1).flatMap(e=>e.tokens()),o)}}function Hg(e,t){let n=!1,r=!1,i=[],a=-1,o=-1;for(let s=0;s<e.length;s++){if(n&&!1===r){let n=Qg(e.slice(s));if(!1!==n){r=`and`,s+=n.advance,i.push(n.node),o=s;continue}if(t){let t=Xg(e.slice(s));if(!1!==t){r=`or`,s+=t.advance,i.push(t.node),o=s;continue}}}if(n&&r){let t=r===`and`?Qg(e.slice(s)):Xg(e.slice(s));if(!1!==t){s+=t.advance,i.push(t.node),o=s;continue}}let c=e[s];if(c.type!==Q.Whitespace&&c.type!==Q.Comment){if(n||!Xh(c)||(c.normalize(),n=Kg(c),!1===n))return!1;a=s}}if(n&&i.length){let t=e.slice(0,a).flatMap(e=>e.tokens()),s=e.slice(o+1).flatMap(e=>e.tokens());return r===`and`?new lg(n,i,t,s):new ug(n,i,t,s)}return!1}function Ug(e){let t=Jg(e);if(!1!==t)return new ng(t);let n=Gg(e);if(!1!==n)return new ng(n);let r=Hg(e,!0);return!1!==r&&new ng(r)}function Wg(e){let t=Jg(e);if(!1!==t)return new ng(t);let n=Gg(e);if(!1!==n)return new ng(n);let r=Hg(e,!1);return!1!==r&&new ng(r)}function Gg(e){let t=-1;for(let n=0;n<e.length;n++){let r=e[n];if(r.type!==Q.Whitespace&&r.type!==Q.Comment){if(!Xh(r)||t!==-1)return!1;t=n}}if(t===-1)return!1;let n=e[t];if(!Mh(n.startToken))return!1;n.normalize();let r=[...e.slice(0,t).flatMap(e=>e.tokens()),n.startToken],i=[n.endToken,...e.slice(t+1).flatMap(e=>e.tokens())],a=Lg(n,r,i);if(!1!==a)return new rg(a);let o=Ug(n.value);return!1===o?new rg(new sg(n),e.slice(0,t).flatMap(e=>e.tokens()),e.slice(t+1).flatMap(e=>e.tokens())):new rg(o,r,i)}function Kg(e){if(!Mh(e.startToken))return!1;let t=Lg(e,[e.startToken],[e.endToken]);if(!1!==t)return new rg(t);let n=Ug(e.value);return!1===n?new rg(new sg(e)):new rg(n,[e.startToken],[e.endToken])}const qg=/^not$/i;function Jg(e){let t=!1,n=null;for(let r=0;r<e.length;r++){let i=e[r];if(i.type!==Q.Whitespace&&i.type!==Q.Comment){if(mg(i)){let e=i.value;if(qg.test(e[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&Xh(i)){i.normalize();let t=Kg(i);if(!1===t)return!1;n=new Rg(e.slice(0,r).flatMap(e=>e.tokens()),t);continue}return!1}}return n||!1}const Yg=/^or$/i;function Xg(e){let t=!1;for(let n=0;n<e.length;n++){let r=e[n];if(r.type!==Q.Whitespace&&r.type!==Q.Comment){if(mg(r)){let e=r.value;if(Yg.test(e[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&Xh(r)){r.normalize();let t=Kg(r);return!1!==t&&{advance:n,node:new zg(e.slice(0,n).flatMap(e=>e.tokens()),t)}}return!1}}return!1}const Zg=/^and$/i;function Qg(e){let t=!1;for(let n=0;n<e.length;n++){let r=e[n];if(r.type!==Q.Whitespace&&r.type!==Q.Comment){if(mg(r)){let e=r.value;if(Zg.test(e[4].value)){if(t)return!1;t=!0;continue}return!1}if(t&&Xh(r)){r.normalize();let t=Kg(r);return!1!==t&&{advance:n,node:new cg(e.slice(0,n).flatMap(e=>e.tokens()),t)}}return!1}}return!1}function $g(e,t){let n=Yh(e,{onParseError:t?.onParseError});return n.map((e,r)=>{let i=Vg(e);return!1===i&&!0===t?.preserveInvalidMediaQueries?new og(n[r]):i}).filter(e=>!!e)}function e_(e){return sg.isGeneralEnclosed(e)}function t_(e){return Ig.isMediaFeature(e)}function n_(e){return og.isMediaQueryInvalid(e)}var r_;(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`})(r_||={});let i_=/[<>=]/u;function a_(e,t){let n=fh({css:e}),r=Yh(n).flatMap(e=>e.flatMap(e=>!Xh(e)||e.startToken[0]!==Z.OpenParen?[]:$g(e.tokens(),{preserveInvalidMediaQueries:!0}).filter(e=>!n_(e))));for(let e of r)e.walk(({node:e})=>{if(t_(e)){let n=e.getNameToken();if(n[0]!==Z.Ident)return;t(n)}if(e_(e)){let n=o_(e);for(let e=0;e<n.length;e+=1){let r=n[e];if(r[0]!==Z.Ident)continue;let i=n[e+1],a=n[e-1];(!a&&i&&i[0]===Z.Colon||i&&i[0]===Z.Delim&&i_.test(i[4].value)||a&&a[0]===Z.Delim&&i_.test(a[4].value))&&t(r)}}});return{stringify(){return X(...n)}}}function o_(e){let t=e.value.value;if(bh(t)||t.length===0||bh(t[0]))return[];let n=[],r=!1;for(let e of t)if(e&&tg(e)){if(e.value[0]===Z.Delim&&e.value[4].value===`$`){r=!0;continue}if(r){r=!1;continue}n.push(e.value)}return n}function s_(e){return e.startsWith(`--`)}let{utils:{report:c_,ruleMessages:l_,validateOptions:u_}}=t,d_=`media-feature-name-case`,f_=W(d_),p_=l_(f_,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),m_={url:G(d_),fixable:!0};function h_(e){return(t,n)=>{u_(n,f_,{actual:e,possible:[`lower`,`upper`]})&&t.walkAtRules(/^media$/iu,t=>{let r=t.raws.params?.raw,i=r||t.params,a=!1;if(i=a_(i,r=>{let[,,i,o,{value:s}]=r;if(s_(s))return;let c=e===`lower`?s.toLowerCase():s.toUpperCase();if(s===c)return;let l=Fp(t);c_({message:p_.expected,messageArgs:[s,c],node:t,index:l+i,endIndex:l+o+1,ruleName:f_,result:n,fix(){hh(r,c),a=!0}})}).stringify(),a){if(r){if(t.raws.params===null)throw Error("The `AtRuleRaws` node must have a `params` property");t.raws.params.raw=i}else t.params=i}})}}h_.ruleName=f_,h_.messages=p_,h_.meta=m_;let{utils:{report:g_,ruleMessages:__,validateOptions:v_}}=t,y_=`media-feature-parentheses-space-inside`,b_=W(y_),x_=__(b_,{expectedOpening:`Expected single space after "("`,rejectedOpening:`Unexpected whitespace after "("`,expectedClosing:`Expected single space before ")"`,rejectedClosing:`Unexpected whitespace before ")"`}),S_={url:G(y_),fixable:!0};function C_(e){return(t,n)=>{v_(n,b_,{actual:e,possible:[`always`,`never`]})&&t.walkAtRules(/^media$/iu,t=>{let r=t.raws.params&&t.raws.params.raw||t.params,i=Fp(t),a=[],o=(0,U.default)(r).walk(t=>{if(t.type===`function`){let n=U.default.stringify(t).length;e===`never`?(/[ \t]/u.test(t.before)&&a.push({message:x_.rejectedOpening,index:t.sourceIndex+1+i,fix(){t.before=``}}),/[ \t]/u.test(t.after)&&a.push({message:x_.rejectedClosing,index:t.sourceIndex-2+n+i,fix(){t.after=``}})):e===`always`&&(t.before===``&&a.push({message:x_.expectedOpening,index:t.sourceIndex+1+i,fix(){t.before=` `}}),t.after===``&&a.push({message:x_.expectedClosing,index:t.sourceIndex-2+n+i,fix(){t.after=` `}}))}});if(a.length>0){for(let e of a)g_({message:e.message,node:t,index:e.index,endIndex:e.index,result:n,ruleName:b_,fix:e.fix});a.some(e=>e.fix)&&(t.params=o.toString())}})}}C_.ruleName=b_,C_.messages=x_,C_.meta=S_;let w_=[`>=`,`<=`,`>`,`<`,`=`];function T_(e,t){if(e.name.toLowerCase()!==`media`)return;let n=e.raws.params?e.raws.params.raw:e.params;(0,qu.default)({source:n,target:w_},r=>{let i=n[r.startIndex-1];i!==`>`&&i!==`<`&&t(r,n,e)})}let{utils:{report:E_,ruleMessages:D_,validateOptions:O_}}=t,k_=`media-feature-range-operator-space-after`,A_=W(k_),j_=D_(A_,{expectedAfter:()=>`Expected single space after range operator`,rejectedAfter:()=>`Unexpected whitespace after range operator`}),M_={url:G(k_),fixable:!0};function N_(e){let t=K(`space`,e,j_);return(n,r)=>{O_(r,A_,{actual:e,possible:[`always`,`never`]})&&n.walkAtRules(/^media$/iu,n=>{let i=[];if(T_(n,(e,n,a)=>{let o=e.startIndex+e.target.length-1,s=o+Fp(a)+1;t.after({source:n,index:o,err:e=>{E_({message:e,node:a,index:s,endIndex:s,result:r,ruleName:A_,fix(){i.push(o)}})}})}),i.length>0){let t=n.raws.params?n.raws.params.raw:n.params;for(let n of i.toSorted((e,t)=>t-e)){let r=t.slice(0,n+1),i=t.slice(n+1);e===`always`?t=r+i.replace(/^\s*/u,` `):e===`never`&&(t=r+i.replace(/^\s*/u,``))}n.raws.params?n.raws.params.raw=t:n.params=t}})}}N_.ruleName=A_,N_.messages=j_,N_.meta=M_;let{utils:{report:P_,ruleMessages:F_,validateOptions:I_}}=t,L_=`media-feature-range-operator-space-before`,R_=W(L_),z_=F_(R_,{expectedBefore:()=>`Expected single space before range operator`,rejectedBefore:()=>`Unexpected whitespace before range operator`}),B_={url:G(L_),fixable:!0};function V_(e){let t=K(`space`,e,z_);return(n,r)=>{I_(r,R_,{actual:e,possible:[`always`,`never`]})&&n.walkAtRules(/^media$/iu,n=>{let i=[];if(T_(n,(e,n,a)=>{let o=e.startIndex-1+Fp(a);t.before({source:n,index:e.startIndex,err:t=>{P_({message:t,node:a,index:o,endIndex:o,result:r,ruleName:R_,fix(){i.push(e.startIndex)}})}})}),i.length>0){let t=n.raws.params?n.raws.params.raw:n.params;for(let n of i.toSorted((e,t)=>t-e)){let r=t.slice(0,n),i=t.slice(n);e===`always`?t=r.replace(/\s*$/u,` `)+i:e===`never`&&(t=r.replace(/\s*$/u,``)+i)}n.raws.params?n.raws.params.raw=t:n.params=t}})}}V_.ruleName=R_,V_.messages=z_,V_.meta=B_;let{utils:{report:H_}}=t;function U_(e){e.root.walkAtRules(/^media$/iu,n=>{let r=n.raws.params?n.raws.params.raw:n.params;(0,qu.default)({source:r,target:`,`},i=>{let a=i.startIndex;if(e.allowTrailingComments){let e=/^[^\S\r\n]*\/\*([\s\S]*?)\*\//u.exec(r.slice(a+1));for(;e;)bc(e[0]),a+=e[0].length,e=/^[^\S\r\n]*\/\*([\s\S]*?)\*\//u.exec(r.slice(a+1));e=/^([^\S\r\n]*\/\/[\s\S]*?)\r?\n/u.exec(r.slice(a+1)),e&&(bc(e[1]),a+=e[1].length)}t(r,a,n)})});function t(t,n,r){e.locationChecker({source:t,index:n,err:t=>{let i=n+Fp(r);H_({message:t,node:r,index:i,endIndex:i,result:e.result,ruleName:e.checkedRuleName,fix:e.fix?()=>e.fix(r,i):void 0})}})}}let{utils:{ruleMessages:W_,validateOptions:G_}}=t,K_=`media-query-list-comma-newline-after`,q_=W(K_),J_=W_(q_,{expectedAfter:()=>`Expected newline after ","`,expectedAfterMultiLine:()=>`Expected newline after "," in a multi-line list`,rejectedAfterMultiLine:()=>`Unexpected whitespace after "," in a multi-line list`}),Y_={url:G(K_),fixable:!0};function X_(e,t,n){let r=K(`newline`,e,J_);return(t,i)=>{if(!G_(i,q_,{actual:e,possible:[`always`,`always-multi-line`,`never-multi-line`]}))return;let a;if(U_({root:t,result:i,locationChecker:r.afterOneOnly,checkedRuleName:q_,allowTrailingComments:e.startsWith(`always`),fix:(e,t)=>{let n=t-Fp(e);a||=/* @__PURE__ */ new Map;let r=a.get(e)||[];return r.push(n),a.set(e,r),!0}}),a)for(let[t,r]of a.entries()){let i=t.raws.params?t.raws.params.raw:t.params;for(let t of r.toSorted((e,t)=>t-e)){let r=i.slice(0,t+1),a=i.slice(t+1);e.startsWith(`always`)?i=/^\s*\n/u.test(a)?r+a.replace(/^[^\S\r\n]*/u,``):r+n.newline+a:e.startsWith(`never`)&&(i=r+a.replace(/^\s*/u,``))}t.raws.params?t.raws.params.raw=i:t.params=i}}}X_.ruleName=q_,X_.messages=J_,X_.meta=Y_;let{utils:{ruleMessages:Z_,validateOptions:Q_}}=t,$_=`media-query-list-comma-newline-before`,ev=W($_),tv=Z_(ev,{expectedBefore:()=>`Expected newline before ","`,expectedBeforeMultiLine:()=>`Expected newline before "," in a multi-line list`,rejectedBeforeMultiLine:()=>`Unexpected whitespace before "," in a multi-line list`}),nv={url:G($_)};function rv(e){let t=K(`newline`,e,tv);return(n,r)=>{Q_(r,ev,{actual:e,possible:[`always`,`always-multi-line`,`never-multi-line`]})&&U_({root:n,result:r,locationChecker:t.beforeAllowingIndentation,checkedRuleName:ev})}}rv.ruleName=ev,rv.messages=tv,rv.meta=nv;let{utils:{ruleMessages:iv,validateOptions:av}}=t,ov=`media-query-list-comma-space-after`,sv=W(ov),cv=iv(sv,{expectedAfter:()=>`Expected single space after ","`,rejectedAfter:()=>`Unexpected whitespace after ","`,expectedAfterSingleLine:()=>`Expected single space after "," in a single-line list`,rejectedAfterSingleLine:()=>`Unexpected whitespace after "," in a single-line list`}),lv={url:G(ov),fixable:!0};function uv(e){let t=K(`space`,e,cv);return(n,r)=>{if(!av(r,sv,{actual:e,possible:[`always`,`never`,`always-single-line`,`never-single-line`]}))return;let i;if(U_({root:n,result:r,locationChecker:t.after,checkedRuleName:sv,fix:(e,t)=>{let n=t-Fp(e);i||=/* @__PURE__ */ new Map;let r=i.get(e)||[];return r.push(n),i.set(e,r),!0}}),i)for(let[t,n]of i.entries()){let r=t.raws.params?t.raws.params.raw:t.params;for(let t of n.toSorted((e,t)=>t-e)){let n=r.slice(0,t+1),i=r.slice(t+1);e.startsWith(`always`)?r=n+i.replace(/^\s*/u,` `):e.startsWith(`never`)&&(r=n+i.replace(/^\s*/u,``))}t.raws.params?t.raws.params.raw=r:t.params=r}}}uv.ruleName=sv,uv.messages=cv,uv.meta=lv;let{utils:{ruleMessages:dv,validateOptions:fv}}=t,pv=`media-query-list-comma-space-before`,mv=W(pv),hv=dv(mv,{expectedBefore:()=>`Expected single space before ","`,rejectedBefore:()=>`Unexpected whitespace before ","`,expectedBeforeSingleLine:()=>`Expected single space before "," in a single-line list`,rejectedBeforeSingleLine:()=>`Unexpected whitespace before "," in a single-line list`}),gv={url:G(pv),fixable:!0};function _v(e){let t=K(`space`,e,hv);return(n,r)=>{if(!fv(r,mv,{actual:e,possible:[`always`,`never`,`always-single-line`,`never-single-line`]}))return;let i;if(U_({root:n,result:r,locationChecker:t.before,checkedRuleName:mv,fix:(e,t)=>{let n=t-Fp(e);i||=/* @__PURE__ */ new Map;let r=i.get(e)||[];return r.push(n),i.set(e,r),!0}}),i)for(let[t,n]of i.entries()){let r=t.raws.params?t.raws.params.raw:t.params;for(let t of n.toSorted((e,t)=>t-e)){let n=r.slice(0,t),i=r.slice(t);e.startsWith(`always`)?r=n.replace(/\s*$/u,` `)+i:e.startsWith(`never`)&&(r=n.replace(/\s*$/u,``)+i)}t.raws.params?t.raws.params.raw=r:t.params=r}}}_v.ruleName=mv,_v.messages=hv,_v.meta=gv;let{utils:{report:vv,ruleMessages:yv,validateOptions:bv}}=t,xv=`named-grid-areas-alignment`,Sv=W(xv),Cv=yv(Sv,{expected:()=>"Expected `grid-template-areas` value to be aligned"}),wv={url:G(xv),fixable:!0};function Tv(e,t={}){return(n,r)=>{if(!bv(r,Sv,{actual:e},{actual:t,possible:{gap:[mc,e=>e>1],alignQuotes:[dc]},optional:!0}))return;let i=t.gap??1,a=t.alignQuotes??!1,o=` `.repeat(i);n.walkDecls(`grid-template-areas`,e=>{let t=Y(e),n=(0,U.default)(t),i=t.includes(`
|
|
90
|
-
`),s=n.nodes.filter(e=>e.type===`string`),c=s.map(({value:e})=>e).filter(Boolean),l=s.map(({value:e})=>e.trim().replaceAll(/\s+/gu,` `)).filter(Boolean),u=0,d=[];for(let e of l){let t=e.split(` `);u=Math.max(u,t.length),d.push(e.split(` `))}let f=[];for(let e=0;e<u;e+=1){let t=d.map(t=>t[e]?.length??0);f.push(Math.max(0,...t))}let p=0,m=d.map(e=>{let t=e.map((e,t)=>i?e.padEnd(f[t],` `):e).join(o);return p=Math.max(p,t.length),a?t:t.trimEnd()});if(a&&i&&(m=m.map(e=>{if(e.length===p)return e;let t=e.trimEnd();return`${t}${` `.repeat(p-t.length)}`})),c.every((e,t)=>e===m[t]))return;let h=e.raws.between.match(/[\r\n?|\n]*/gu)?.reduce((e,t)=>e+t.length,0),g=h===0?J(e)+e.source.start.column:e.raws.between.match(/[^\r\n?|\n]+$/u)?.[0].length+1||0;vv({message:Cv.expected,node:e,start:{line:h+e.source.start.line,column:g},end:{line:e.source.end.line,column:e.source.end.column},result:r,ruleName:Sv,fix(){let t=[];for(let e of n.nodes)e.type===`string`?t.push(`${e.quote}${m.shift()}${e.quote}`):e.type===`comment`?t.push(`/*${e.value}*/`):t.push(`${e.before??``}${e.value}${e.after??``}`);Nu(e,t.join(``))}})})}}Tv.ruleName=Sv,Tv.messages=Cv,Tv.meta=wv;let{utils:{report:Ev,ruleMessages:Dv,validateOptions:Ov}}=t,kv=`no-empty-first-line`,Av=W(kv),jv=/^\s*[\r\n]/u,Mv=Dv(Av,{rejected:`Unexpected empty line`}),Nv={url:G(kv),fixable:!0};function Pv(e){return(t,n)=>{if(!Ov(n,Av,{actual:e})||t.source.inline||t.source.lang===`object-literal`)return;let r=t.source&&t.source.input.css||``;r.trim()&&jv.test(r)&&Ev({message:Mv.rejected,node:t,result:n,ruleName:Av,fix(){if(t.first===null)throw Error(`The root node must have the first node.`);if(t.first.raws.before===null)throw Error(`The first node must have spaces before.`);t.first.raws.before=t.first.raws.before.replace(jv,``)}})}}Pv.ruleName=Av,Pv.messages=Mv,Pv.meta=Nv;function Fv(e){for(let t of e)if(!uc(t))return!1;return!0}function Iv(e){return!(`inline`in e||`inline`in e.raws)}let{utils:{report:Lv,ruleMessages:Rv,validateOptions:zv}}=t,Bv=`no-eol-whitespace`,Vv=W(Bv),Hv=Rv(Vv,{rejected:`Unexpected whitespace at end of line`}),Uv={url:G(Bv),fixable:!0},Wv=/* @__PURE__ */ new Set([` `,` `]);function Gv(e){return e.replace(/[ \t]+$/u,``)}function Kv(e,t,{ignoreEmptyLines:n,isRootFirst:r}){let i=e-1;if(!Wv.has(t.charAt(i)))return-1;if(n){let e=t.lastIndexOf(`
|
|
91
|
-
`,i);if((e>=0||r)&&Fv(t.slice(Math.max(0,e),i)))return-1}return i}function qv(e,t){return(n,r)=>{if(!zv(r,Vv,{actual:e},{optional:!0,actual:t,possible:{ignore:[`empty-lines`]}}))return;let i=pl(t,`ignore`,`empty-lines`),a=n.source&&n.source.input.css||``;function o(e){Lv({message:Hv.rejected,node:n,index:e,endIndex:e,result:r,ruleName:Vv,fix:l})}c(a,o,{isRootFirst:!0});let s=Kv(a.length,a,{ignoreEmptyLines:i,isRootFirst:!0});s>-1&&o(s);function c(e,t,{isRootFirst:n=!1,isPlainText:r=!1}={}){function a(r){let a=Kv(r,e,{ignoreEmptyLines:i,isRootFirst:n});a>-1&&t(a)}if(r)for(let{index:t}of e.matchAll(/[\n\r]/gu))a(t);else(0,qu.default)({source:e,target:[`
|
|
92
|
-
|
|
93
|
-
`),n.raws.after.lastIndexOf(`\r`));e!==n.raws.after.length-1&&(n.raws.after=n.raws.after.slice(0,e+1)+Gv(n.raws.after.slice(e+1)))}}function u(e,t,n){if(!e)return;let r=``,i=0;c(e,t=>{let n=t+1;r+=Gv(e.slice(i,n)),i=n},n),i&&(r+=e.slice(i),t(r))}}}qv.ruleName=Vv,qv.messages=Hv,qv.meta=Uv;const Jv=/@\{.+?\}/u;function Yv(e){return Jv.test(e)}const Xv=/\$\(.+?\)/u;function Zv(e){return Xv.test(e)}const Qv=/#\{.+?\}/su;function $v(e){return Qv.test(e)}const ey=/\{.+?\}/su;function ty(e){return ey.test(e)}function ny(e){return!!(Yv(e)||$v(e)||ty(e)||Zv(e))}function ry(e){return!(ny(e)||e.startsWith(`%`)||e.endsWith(`:`)||/:extend(?:\(.*?\))?/u.test(e)||/\.[\w-]+\(.*\).+/u.test(e)||e.endsWith(`)`)&&!e.includes(`:`)||/\(@.*\)$/u.test(e)||e.includes(`<%`)||e.includes(`%>`)||e.includes(`//`))}function iy(e){return!(e.type!==`rule`||`extend`in e&&e.extend||!ry(e.selector))}let{utils:{report:ay,ruleMessages:oy,validateOptions:sy}}=t,cy=`no-extra-semicolons`,ly=W(cy),uy=oy(ly,{rejected:`Unexpected extra semicolon`}),dy={url:G(cy),fixable:!0};function fy(e){if(e.parent&&e.parent.document)return 0;let t=e.root();if(!t.source)throw Error(`The root node must have a source`);if(!e.source)throw Error(`The node must have a source`);if(!e.source.start)throw Error(`The source must have a start position`);let n=t.source.input.css,r=e.source.start.column,i=e.source.start.line,a=1,o=1,s=0;for(let e=0;e<n.length;e+=1){if(o===r&&i===a){s=e;break}n[e]===`
|
|
94
|
-
`?(o=1,a+=1):o+=1}return s}function py(e){return(t,n)=>{if(!sy(n,ly,{actual:e}))return;let r=null;if(t.raws.after&&t.raws.after.trim().length>0){let e=t.raws.after,n=[];(0,qu.default)({source:e,target:`;`},a=>{if(r=()=>{n.push(a.startIndex)},!t.source)throw Error(`The root node must have a source`);i(t.source.input.css.length-e.length+a.startIndex)}),n.length>0&&(t.raws.after=my(e,n))}t.walk(e=>{if((!q(e)||Zs(e))&&(e.type!==`rule`||iy(e))){if(e.raws.before&&e.raws.before.trim().length>0){let t=e.raws.before,n=[];(0,qu.default)({source:t,target:`;`},(a,o)=>{o!==0&&(r=()=>{n.push(a.startIndex-0)},i(fy(e)-t.length+a.startIndex))}),n.length>0&&(e.raws.before=my(t,n))}if(typeof e.raws.after==`string`&&e.raws.after.trim().length>0){let t=e.raws.after;if(`last`in e&&e.last&&e.last.type===`atrule`&&!Zs(e.last))return;let n=[];(0,qu.default)({source:t,target:`;`},a=>{r=()=>{n.push(a.startIndex)},i(fy(e)+e.toString().length-1-t.length+a.startIndex)}),n.length>0&&(e.raws.after=my(t,n))}if(typeof e.raws.ownSemicolon==`string`){let t=e.raws.ownSemicolon,n=[];(0,qu.default)({source:t,target:`;`},(a,o)=>{o!==0&&(r=()=>{n.push(a.startIndex)},i(fy(e)+e.toString().length-t.length+a.startIndex))}),n.length>0&&(e.raws.ownSemicolon=my(t,n))}}});function i(e){ay({message:uy.rejected,node:t,index:e,endIndex:e,result:n,ruleName:ly,fix:r})}}}function my(e,t){let n=e;for(let e of t.toReversed())n=n.slice(0,e)+n.slice(e+1);return n}py.ruleName=ly,py.messages=uy,py.meta=dy;let{utils:{report:hy,ruleMessages:gy,validateOptions:_y}}=t,vy=`no-missing-end-of-source-newline`,yy=W(vy),by=gy(yy,{rejected:`Unexpected missing end-of-source newline`}),xy={url:G(vy),fixable:!0};function Sy(e,t,n){return(t,r)=>{if(!_y(r,yy,{actual:e}))return;if(t.source===null)throw Error(`The root node must have a source property`);if(t.source.inline||t.source.lang===`object-literal`)return;let i=t.source.input.css;if(!i.trim()||i.endsWith(`
|
|
95
|
-
|
|
96
|
-
`||e===`\r`}function jy(e){return uc(e)&&!Ay(e)}function My(e,t){let n=0;for(let r=t-1;r>=0&&e[r]===`\\`;--r)n+=1;return n%2!=0}function Ny(e,t,n,r,i){return!t&&(e===`"`||e===`'`)?{inString:!0,stringChar:e,skip:!0}:t&&e===n&&!My(r,i)?{inString:!1,stringChar:``,skip:!0}:t?{inString:t,stringChar:n,skip:!0}:{inString:t,stringChar:n,skip:!1}}function Py(e,t){let n=e;for(let e=t.length-1;e>=0;--e){let r=t[e];n=`${n.slice(0,r.start)} ${n.slice(r.start+r.count)}`}return n}function Fy(e){return(t,n)=>{Ty(n,Dy,{actual:e})&&t.walkDecls(e=>{let t=Y(e),r=J(e),i=!1,a=``,o=!0,s=[];for(let e=0;e<t.length;e+=1){let n=t[e],r=Ny(n,i,a,t,e);if(i=r.inString,a=r.stringChar,r.skip)o=!1;else if(Ay(n))o=!0;else{if(jy(n)){if(o){for(;e<t.length&&jy(t[e]);)e+=1;o=!1,--e;continue}let n=e,r=0;for(;e<t.length&&jy(t[e]);)r+=1,e+=1;r>1&&s.push({start:n,count:r}),--e}o=!1}}for(let i of s)Cy({message:Oy.rejected,node:e,index:r+i.start,endIndex:r+i.start+i.count,result:n,ruleName:Dy,fix(){Nu(e,Py(t,s))}})})}}Fy.ruleName=Dy,Fy.messages=Oy,Fy.meta=ky;let{utils:{report:Iy,ruleMessages:Ly,validateOptions:Ry}}=t,zy=`number-leading-zero`,By=W(zy),Vy=Ly(By,{expected:`Expected a leading zero`,rejected:`Unexpected leading zero`}),Hy={url:G(zy),fixable:!0};function Uy(e){return(t,n)=>{if(!Ry(n,By,{actual:e,possible:[`always`,`never`]}))return;let r=null;t.walkAtRules(e=>{e.name.toLowerCase()!==`import`&&i(e,e.params)}),t.walkDecls(e=>i(e,e.value));function i(t,n){let i=[],o=[];if(n.includes(`.`)){if((0,U.default)(n).walk(n=>{if(n.type===`function`&&n.value.toLowerCase()===`url`)return!1;if(n.type===`word`){if(e===`always`){let e=/(?:\D|^)(\.\d+)/u.exec(n.value);if(e===null||e[0]===null||e[1]===null)return;let i=e[0].length-e[1].length,s=n.sourceIndex+e.index+i;r=()=>{o.unshift({index:s})};let c=q(t)?Fp(t):J(t);a(Vy.expected,t,c+s)}if(e===`never`){let e=/(?:\D|^)(0+)(\.\d+)/u.exec(n.value);if(e===null||e[0]===null||e[1]===null||e[2]===null)return;let o=e[0].length-(e[1].length+e[2].length),s=n.sourceIndex+e.index+o;r=()=>{i.unshift({startIndex:s,endIndex:s+e[1].length})};let c=q(t)?Fp(t):J(t);a(Vy.rejected,t,c+s)}}}),o.length>0)for(let e of o){let n=e.index;q(t)?t.params=Wy(t.params,n):t.value=Wy(t.value,n)}if(i.length>0)for(let e of i){let n=e.startIndex,r=e.endIndex;q(t)?t.params=Gy(t.params,n,r):t.value=Gy(t.value,n,r)}}}function a(e,t,i){Iy({result:n,ruleName:By,message:e,node:t,index:i,endIndex:i,fix:r})}}}function Wy(e,t){return`${e.slice(0,t)}0${e.slice(t)}`}function Gy(e,t,n){return e.slice(0,t)+e.slice(n)}Uy.ruleName=By,Uy.messages=Vy,Uy.meta=Hy;let{utils:{report:Ky,ruleMessages:qy,validateOptions:Jy}}=t,Yy=`number-no-trailing-zeros`,Xy=W(Yy),Zy=qy(Xy,{rejected:`Unexpected trailing zero(s)`}),Qy={url:G(Yy),fixable:!0};function $y(e){return(t,n)=>{if(!Jy(n,Xy,{actual:e}))return;t.walkAtRules(e=>{e.name.toLowerCase()!==`import`&&r(e,e.params)}),t.walkDecls(e=>r(e,e.value));function r(e,t){let r=[];if(t.includes(`.`)&&((0,U.default)(t).walk(t=>{if(t.type===`function`&&t.value.toLowerCase()===`url`)return!1;if(t.type!==`word`)return;let i=/\.(\d{0,100}?)(0+)(?:\D|$)/u.exec(t.value);if(i===null||i[1]===null||i[2]===null)return;let a=t.sourceIndex+i.index+1+i[1].length,o=i[1].length>0?a:a-1,s=a+i[2].length,c=(q(e)?Fp(e):J(e))+a;Ky({message:Zy.rejected,node:e,index:c,endIndex:c,result:n,ruleName:Xy,fix(){r.unshift({startIndex:o,endIndex:s})}})}),r.length>0))for(let t of r){let n=t.startIndex,r=t.endIndex;q(e)?e.params=eb(e.params,n,r):e.value=eb(e.value,n,r)}}}}function eb(e,t,n){return e.slice(0,t)+e.slice(n)}$y.ruleName=Xy,$y.messages=Zy,$y.meta=Qy;function tb(e){return!(Zd(e)||e.startsWith(`@`)||e.endsWith(`+`)||e.endsWith(`+_`)||ny(e))}let{utils:{report:nb,ruleMessages:rb,validateOptions:ib}}=t,ab=`property-case`,ob=W(ab),sb=rb(ob,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),cb={url:G(ab),fixable:!0};function lb(e,t){return(n,r)=>{ib(r,ob,{actual:e,possible:[`lower`,`upper`]},{actual:t,possible:{ignoreSelectors:[_c,gc]},optional:!0})&&n.walkDecls(n=>{let i=n.prop;if(!tb(i)||vd(i))return;let{parent:a}=n;if(!a)throw Error(`A parent node must be present`);if(nl(a)){let{selector:e}=a;if(e&&pl(t,`ignoreSelectors`,e))return}let o=e===`lower`?i.toLowerCase():i.toUpperCase();i!==o&&nb({message:sb.expected,messageArgs:[i,o],word:i,node:n,ruleName:ob,result:r,fix(){n.prop=o}})})}}lb.ruleName=ob,lb.messages=sb,lb.meta=cb;var ub=/* @__PURE__ */ p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;function t(e){for(var t=e.toLowerCase(),n=``,r=!1,i=0;i<6&&t[i]!==void 0;i++){var a=t.charCodeAt(i),o=a>=97&&a<=102||a>=48&&a<=57;if(r=a===32,!o)break;n+=t[i]}if(n.length!==0){var s=parseInt(n,16);return s>=55296&&s<=57343||s===0||s>1114111?[`�`,n.length+ +!!r]:[String.fromCodePoint(s),n.length+ +!!r]}}var n=/\\/;function r(e){if(!n.test(e))return e;for(var r=``,i=0;i<e.length;i++)if(e[i]===`\\`){var a=t(e.slice(i+1,i+7));if(a!==void 0){r+=a[0],i+=a[1];continue}if(e[i+1]===`\\`){r+=`\\`,i++;continue}e.length===i+1&&(r+=e[i])}else r+=e[i];return r}})),db=/* @__PURE__ */ p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(e){for(var t=[...arguments].slice(1);t.length>0;){var n=t.shift();if(!e[n])return;e=e[n]}return e}})),fb=/* @__PURE__ */ p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(e){for(var t=[...arguments].slice(1);t.length>0;){var n=t.shift();e[n]||(e[n]={}),e=e[n]}}})),pb=/* @__PURE__ */ p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(e){for(var t=``,n=e.indexOf(`/*`),r=0;n>=0;){t+=e.slice(r,n);var i=e.indexOf(`*/`,n+2);if(i<0)return t;r=i+2,n=e.indexOf(`/*`,r)}return t+=e.slice(r),t}})),mb=/* @__PURE__ */ p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MAX_NESTING_DEPTH=void 0,e.default=t,e.MAX_NESTING_DEPTH=256;function t(t){return Number.isSafeInteger(t)&&t>=0?t:e.MAX_NESTING_DEPTH}})),hb=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.MAX_NESTING_DEPTH=e.resolveMaxNestingDepth=e.stripComments=e.ensureObject=e.getProp=e.unesc=void 0;var i=ub();Object.defineProperty(e,"unesc",{enumerable:!0,get:function(){return r(i).default}});var a=db();Object.defineProperty(e,"getProp",{enumerable:!0,get:function(){return r(a).default}});var o=fb();Object.defineProperty(e,"ensureObject",{enumerable:!0,get:function(){return r(o).default}});var s=pb();Object.defineProperty(e,"stripComments",{enumerable:!0,get:function(){return r(s).default}});var c=mb();Object.defineProperty(e,"resolveMaxNestingDepth",{enumerable:!0,get:function(){return r(c).default}}),Object.defineProperty(e,"MAX_NESTING_DEPTH",{enumerable:!0,get:function(){return c.MAX_NESTING_DEPTH}})})),gb=/* @__PURE__ */ p((e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=hb(),n=function(e,r,i){if(i===void 0&&(i=0),i>t.MAX_NESTING_DEPTH)throw Error(`Cannot clone selector: nesting depth exceeds the maximum of ${t.MAX_NESTING_DEPTH}.`);if(typeof e!=`object`||!e)return e;var a=new e.constructor;for(var o in e)if(e.hasOwnProperty(o)){var s=e[o];o===`parent`&&typeof s==`object`?r&&(a[o]=r):a[o]=s instanceof Array?s.map(function(e){return n(e,a,i+1)}):n(s,a,i+1)}return a};e.default=function(){function e(e){e===void 0&&(e={}),Object.assign(this,e),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||``,this.spaces.after=this.spaces.after||``}return e.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},e.prototype.replaceWith=function(){if(this.parent){for(var e in arguments)this.parent.insertBefore(this,arguments[e]);this.remove()}return this},e.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},e.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},e.prototype.clone=function(e){e===void 0&&(e={});var t=n(this);for(var r in e)t[r]=e[r];return t},e.prototype.appendToPropertyAndEscape=function(e,t,n){this.raws||={};var r=this[e],i=this.raws[e];this[e]=r+t,i||n!==t?this.raws[e]=(i||r)+n:delete this.raws[e]},e.prototype.setPropertyAndEscape=function(e,t,n){this.raws||={},this[e]=t,this.raws[e]=n},e.prototype.setPropertyWithoutEscape=function(e,t){this[e]=t,this.raws&&delete this.raws[e]},e.prototype.isAtPosition=function(e,t){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>e||this.source.end.line<e||this.source.start.line===e&&this.source.start.column>t||this.source.end.line===e&&this.source.end.column<t)},e.prototype.stringifyProperty=function(e){return this.raws&&this.raws[e]||this[e]},Object.defineProperty(e.prototype,"rawSpaceBefore",{get:function(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.before;return e===void 0&&(e=this.spaces&&this.spaces.before),e||``},set:function(e){(0,t.ensureObject)(this,`raws`,`spaces`),this.raws.spaces.before=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rawSpaceAfter",{get:function(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.after;return e===void 0&&(e=this.spaces.after),e||``},set:function(e){(0,t.ensureObject)(this,`raws`,`spaces`),this.raws.spaces.after=e},enumerable:!1,configurable:!0}),e.prototype.valueToString=function(){return String(this.stringifyProperty(`value`))},e.prototype.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join(``)},e.prototype._stringify=function(){return this.toString()},e}()})),_b=/* @__PURE__ */ p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.UNIVERSAL=e.ATTRIBUTE=e.CLASS=e.COMBINATOR=e.COMMENT=e.ID=e.NESTING=e.PSEUDO=e.ROOT=e.SELECTOR=e.STRING=e.TAG=void 0,e.TAG=`tag`,e.STRING=`string`,e.SELECTOR=`selector`,e.ROOT=`root`,e.PSEUDO=`pseudo`,e.NESTING=`nesting`,e.ID=`id`,e.COMMENT=`comment`,e.COMBINATOR=`combinator`,e.CLASS=`class`,e.ATTRIBUTE=`attribute`,e.UNIVERSAL=`universal`})),vb=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),i=n&&n.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),a=n&&n.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),o=n&&n.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},e(t)};return function(t){if(t&&t.__esModule)return t;var n={};if(t!=null)for(var r=e(t),o=0;o<r.length;o++)r[o]!=="default"&&i(n,t,r[o]);return a(n,t),n}})(),s=n&&n.__values||function(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)},c=n&&n.__read||function(e,t){var n=typeof Symbol==`function`&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,a=[],o;try{for(;(t===void 0||t-->0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a},l=n&&n.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))},u=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var d=hb(),f=u(gb()),p=o(_b());e.default=function(e){r(t,e);function t(t){var n=e.call(this,t)||this;return n.nodes||=[],n}return t.prototype.append=function(e){return e.parent=this,this.nodes.push(e),this},t.prototype.prepend=function(e){for(var t in e.parent=this,this.nodes.unshift(e),this.indexes)this.indexes[t]++;return this},t.prototype.at=function(e){return this.nodes[e]},t.prototype.index=function(e){return typeof e==`number`?e:this.nodes.indexOf(e)},Object.defineProperty(t.prototype,"first",{get:function(){return this.at(0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.at(this.length-1)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this.nodes.length},enumerable:!1,configurable:!0}),t.prototype.removeChild=function(e){e=this.index(e),this.at(e).parent=void 0,this.nodes.splice(e,1);var t;for(var n in this.indexes)t=this.indexes[n],t>=e&&(this.indexes[n]=t-1);return this},t.prototype.removeAll=function(){var e,t;try{for(var n=s(this.nodes),r=n.next();!r.done;r=n.next()){var i=r.value;i.parent=void 0}}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return this.nodes=[],this},t.prototype.empty=function(){return this.removeAll()},t.prototype.insertAfter=function(e,t){var n;t.parent=this;for(var r=this.index(e),i=[],a=2;a<arguments.length;a++)i.push(arguments[a]);(n=this.nodes).splice.apply(n,l([r+1,0,t],c(i),!1)),t.parent=this;var o;for(var s in this.indexes)o=this.indexes[s],r<o&&(this.indexes[s]=o+arguments.length-1);return this},t.prototype.insertBefore=function(e,t){var n;t.parent=this;for(var r=this.index(e),i=[],a=2;a<arguments.length;a++)i.push(arguments[a]);(n=this.nodes).splice.apply(n,l([r,0,t],c(i),!1)),t.parent=this;var o;for(var s in this.indexes)o=this.indexes[s],o>=r&&(this.indexes[s]=o+arguments.length-1);return this},t.prototype._findChildAtPosition=function(e,t){var n=void 0;return this.each(function(r){if(r.atPosition){var i=r.atPosition(e,t);if(i)return n=i,!1}else if(r.isAtPosition(e,t))return n=r,!1}),n},t.prototype.atPosition=function(e,t){if(this.isAtPosition(e,t))return this._findChildAtPosition(e,t)||this},t.prototype._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))},t.prototype.each=function(e){this.lastEach||=0,this.indexes||={},this.lastEach++;var t=this.lastEach;if(this.indexes[t]=0,this.length){for(var n,r;this.indexes[t]<this.length&&(n=this.indexes[t],r=e(this.at(n),n),r!==!1);)this.indexes[t]+=1;if(delete this.indexes[t],r===!1)return!1}},t.prototype.walk=function(e,t){if(t===void 0&&(t=0),t>d.MAX_NESTING_DEPTH)throw Error(`Cannot walk selector: nesting depth exceeds the maximum of ${d.MAX_NESTING_DEPTH}.`);return this.each(function(n,r){var i=e(n,r);if(i!==!1&&n.length&&(i=n.walk(e,t+1)),i===!1)return!1})},t.prototype.walkAttributes=function(e){var t=this;return this.walk(function(n){if(n.type===p.ATTRIBUTE)return e.call(t,n)})},t.prototype.walkClasses=function(e){var t=this;return this.walk(function(n){if(n.type===p.CLASS)return e.call(t,n)})},t.prototype.walkCombinators=function(e){var t=this;return this.walk(function(n){if(n.type===p.COMBINATOR)return e.call(t,n)})},t.prototype.walkComments=function(e){var t=this;return this.walk(function(n){if(n.type===p.COMMENT)return e.call(t,n)})},t.prototype.walkIds=function(e){var t=this;return this.walk(function(n){if(n.type===p.ID)return e.call(t,n)})},t.prototype.walkNesting=function(e){var t=this;return this.walk(function(n){if(n.type===p.NESTING)return e.call(t,n)})},t.prototype.walkPseudos=function(e){var t=this;return this.walk(function(n){if(n.type===p.PSEUDO)return e.call(t,n)})},t.prototype.walkTags=function(e){var t=this;return this.walk(function(n){if(n.type===p.TAG)return e.call(t,n)})},t.prototype.walkUniversals=function(e){var t=this;return this.walk(function(n){if(n.type===p.UNIVERSAL)return e.call(t,n)})},t.prototype.split=function(e){var t=this,n=[];return this.reduce(function(r,i,a){var o=e.call(t,i);return n.push(i),o?(r.push(n),n=[]):a===t.length-1&&r.push(n),r},[])},t.prototype.map=function(e){return this.nodes.map(e)},t.prototype.reduce=function(e,t){return this.nodes.reduce(e,t)},t.prototype.every=function(e){return this.nodes.every(e)},t.prototype.some=function(e){return this.nodes.some(e)},t.prototype.filter=function(e){return this.nodes.filter(e)},t.prototype.sort=function(e){return this.nodes.sort(e)},t.prototype.toString=function(e){return e===void 0&&(e={}),this._stringify(e,0,(0,d.resolveMaxNestingDepth)(e.maxNestingDepth))},t.prototype._stringify=function(e,t,n){var r=this;return this.map(function(i){return r._stringifyChild(i,e,t,n)}).join(``)},t.prototype._stringifyChild=function(e,t,n,r){return typeof e._stringify==`function`?e._stringify(t,n,r):String(e)},t}(f.default)})),yb=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),i=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var a=i(vb()),o=_b();e.default=function(e){r(t,e);function t(t){var n=e.call(this,t)||this;return n.type=o.ROOT,n}return t.prototype._stringify=function(e,t,n){var r=this,i=this.reduce(function(i,a){return i.push(r._stringifyChild(a,e,t,n)),i},[]).join(`,`);return this.trailingComma?i+`,`:i},t.prototype.error=function(e,t){return this._error?this._error(e,t):Error(e)},Object.defineProperty(t.prototype,"errorGenerator",{set:function(e){this._error=e},enumerable:!1,configurable:!0}),t}(a.default)})),bb=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),i=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var a=i(vb()),o=_b();e.default=function(e){r(t,e);function t(t){var n=e.call(this,t)||this;return n.type=o.SELECTOR,n}return t}(a.default)})),xb=/* @__PURE__ */ p(((e,t)=>{var n={}.hasOwnProperty,r=function(e,t){if(!e)return t;var r={};for(var i in t)r[i]=n.call(e,i)?e[i]:t[i];return r},i=/[ -,\.\/:-@\[-\^`\{-~]/,a=/[ -,\.\/:-@\[\]\^`\{-~]/,o=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,s=function e(t,n){n=r(n,e.options),n.quotes!=`single`&&n.quotes!=`double`&&(n.quotes=`single`);for(var s=n.quotes==`double`?`"`:`'`,c=n.isIdentifier,l=t.charAt(0),u=``,d=0,f=t.length;d<f;){var p=t.charAt(d++),m=p.charCodeAt(),h=void 0;if(m<32||m>126){if(m>=55296&&m<=56319&&d<f){var g=t.charCodeAt(d++);(g&64512)==56320?m=((m&1023)<<10)+(g&1023)+65536:d--}h=`\\`+m.toString(16).toUpperCase()+` `}else h=n.escapeEverything?i.test(p)?`\\`+p:`\\`+m.toString(16).toUpperCase()+` `:/[\t\n\f\r\x0B]/.test(p)?`\\`+m.toString(16).toUpperCase()+` `:p==`\\`||!c&&(p==`"`&&s==p||p==`'`&&s==p)||c&&a.test(p)?`\\`+p:p;u+=h}return c&&(/^-[-\d]/.test(u)?u=`\\-`+u.slice(1):/\d/.test(l)&&(u=`\\3`+l+` `+u.slice(1))),u=u.replace(o,function(e,t,n){return t&&t.length%2?e:(t||``)+n}),!c&&n.wrap?s+u+s:u};s.options={escapeEverything:!1,isIdentifier:!1,quotes:`single`,wrap:!1},s.version=`3.0.0`,t.exports=s})),Sb=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),i=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var a=i(xb()),o=hb(),s=i(gb()),c=_b();e.default=function(e){r(t,e);function t(t){var n=e.call(this,t)||this;return n.type=c.CLASS,n._constructed=!0,n}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(e){if(this._constructed){var t=(0,a.default)(e,{isIdentifier:!0});t===e?this.raws&&delete this.raws.value:((0,o.ensureObject)(this,`raws`),this.raws.value=t)}this._value=e},enumerable:!1,configurable:!0}),t.prototype.valueToString=function(){return`.`+e.prototype.valueToString.call(this)},t}(s.default)})),Cb=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),i=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var a=i(gb()),o=_b();e.default=function(e){r(t,e);function t(t){var n=e.call(this,t)||this;return n.type=o.COMMENT,n}return t}(a.default)})),wb=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),i=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var a=i(gb()),o=_b();e.default=function(e){r(t,e);function t(t){var n=e.call(this,t)||this;return n.type=o.ID,n}return t.prototype.valueToString=function(){return`#`+e.prototype.valueToString.call(this)},t}(a.default)})),Tb=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),i=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var a=i(xb()),o=hb();e.default=function(e){r(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"namespace",{get:function(){return this._namespace},set:function(e){if(e===!0||e===`*`||e===`&`)this._namespace=e,this.raws&&delete this.raws.namespace;else{var t=(0,a.default)(e,{isIdentifier:!0});this._namespace=e,t===e?this.raws&&delete this.raws.namespace:((0,o.ensureObject)(this,`raws`),this.raws.namespace=t)}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ns",{get:function(){return this._namespace},set:function(e){this.namespace=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"namespaceString",{get:function(){if(this.namespace){var e=this.stringifyProperty(`namespace`);return e===!0?``:e}return``},enumerable:!1,configurable:!0}),t.prototype.qualifiedName=function(e){return this.namespace?`${this.namespaceString}|${e}`:e},t.prototype.valueToString=function(){return this.qualifiedName(e.prototype.valueToString.call(this))},t}(i(gb()).default)})),Eb=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),i=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var a=i(Tb()),o=_b();e.default=function(e){r(t,e);function t(t){var n=e.call(this,t)||this;return n.type=o.TAG,n}return t}(a.default)})),Db=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+s(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),i=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var a=i(gb()),o=_b(),s=function(e){r(t,e);function t(t){var n=e.call(this,t)||this;return n.type=o.STRING,n}return t}(a.default);e.default=s})),Ob=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),i=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var a=i(vb()),o=_b();e.default=function(e){r(t,e);function t(t){var n=e.call(this,t)||this;return n.type=o.PSEUDO,n}return t.prototype._stringify=function(e,t,n){var r=this;if(t>=n)throw Error(`Cannot serialize selector: nesting depth exceeds the maximum of ${n}.`);var i=this.length?`(`+this.map(function(i){return r._stringifyChild(i,e,t+1,n)}).join(`,`)+`)`:``;return[this.rawSpaceBefore,this.stringifyProperty(`value`),i,this.rawSpaceAfter].join(``)},t}(a.default)})),kb=/* @__PURE__ */ p(((e,t)=>{t.exports=g(`util`).deprecate})),Ab=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),i=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},a;Object.defineProperty(e,"__esModule",{value:!0}),e.unescapeValue=h;var o=i(xb()),s=i(ub()),c=i(Tb()),l=_b(),u=kb(),d=/^('|")([^]*)\1$/,f=u(function(){},`Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead.`),p=u(function(){},`Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead.`),m=u(function(){},`Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.`);function h(e){var t=!1,n=null,r=e,i=r.match(d);return i&&(n=i[1],r=i[2]),r=(0,s.default)(r),r!==e&&(t=!0),{deprecatedUsage:t,unescaped:r,quoteMark:n}}function g(e){if(e.quoteMark!==void 0||e.value===void 0)return e;m();var t=h(e.value),n=t.quoteMark,r=t.unescaped;return e.raws||={},e.raws.value===void 0&&(e.raws.value=e.value),e.value=r,e.quoteMark=n,e}e.default=function(e){r(t,e);function t(t){t===void 0&&(t={});var n=e.call(this,g(t))||this;return n.type=l.ATTRIBUTE,n.raws=n.raws||{},Object.defineProperty(n.raws,"unquoted",{get:u(function(){return n.value},`attr.raws.unquoted is deprecated. Call attr.value instead.`),set:u(function(){return n.value},`Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.`)}),n._constructed=!0,n}return t.prototype.getQuotedValue=function(e){e===void 0&&(e={});var t=_[this._determineQuoteMark(e)];return(0,o.default)(this._value,t)},t.prototype._determineQuoteMark=function(e){return e.smart?this.smartQuoteMark(e):this.preferredQuoteMark(e)},t.prototype.setValue=function(e,t){t===void 0&&(t={}),this._value=e,this._quoteMark=this._determineQuoteMark(t),this._syncRawValue()},t.prototype.smartQuoteMark=function(e){var n=this.value,r=n.replace(/[^']/g,``).length,i=n.replace(/[^"]/g,``).length;if(r+i===0){var a=(0,o.default)(n,{isIdentifier:!0});if(a===n)return t.NO_QUOTE;var s=this.preferredQuoteMark(e);if(s===t.NO_QUOTE){var c=this.quoteMark||e.quoteMark||t.DOUBLE_QUOTE,l=_[c];if((0,o.default)(n,l).length<a.length)return c}return s}return i===r?this.preferredQuoteMark(e):i<r?t.DOUBLE_QUOTE:t.SINGLE_QUOTE},t.prototype.preferredQuoteMark=function(e){var n=e.preferCurrentQuoteMark?this.quoteMark:e.quoteMark;return n===void 0&&(n=e.preferCurrentQuoteMark?e.quoteMark:this.quoteMark),n===void 0&&(n=t.DOUBLE_QUOTE),n},Object.defineProperty(t.prototype,"quoted",{get:function(){var e=this.quoteMark;return e===`'`||e===`"`},set:function(e){p()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"quoteMark",{get:function(){return this._quoteMark},set:function(e){this._constructed?this._quoteMark!==e&&(this._quoteMark=e,this._syncRawValue()):this._quoteMark=e},enumerable:!1,configurable:!0}),t.prototype._syncRawValue=function(){var e=(0,o.default)(this._value,_[this.quoteMark]);e===this._value?this.raws&&delete this.raws.value:this.raws.value=e},Object.defineProperty(t.prototype,"qualifiedAttribute",{get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"insensitiveFlag",{get:function(){return this.insensitive?`i`:``},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(e){if(this._constructed){var t=h(e),n=t.deprecatedUsage,r=t.unescaped,i=t.quoteMark;if(n&&f(),r===this._value&&i===this._quoteMark)return;this._value=r,this._quoteMark=i,this._syncRawValue()}else this._value=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"insensitive",{get:function(){return this._insensitive},set:function(e){e||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag===`I`||this.raws.insensitiveFlag===`i`)&&(this.raws.insensitiveFlag=void 0)),this._insensitive=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attribute",{get:function(){return this._attribute},set:function(e){this._handleEscapes(`attribute`,e),this._attribute=e},enumerable:!1,configurable:!0}),t.prototype._handleEscapes=function(e,t){if(this._constructed){var n=(0,o.default)(t,{isIdentifier:!0});n===t?delete this.raws[e]:this.raws[e]=n}},t.prototype._spacesFor=function(e){var t={before:``,after:``},n=this.spaces[e]||{},r=this.raws.spaces&&this.raws.spaces[e]||{};return Object.assign(t,n,r)},t.prototype._stringFor=function(e,t,n){t===void 0&&(t=e),n===void 0&&(n=v);var r=this._spacesFor(t);return n(this.stringifyProperty(e),r)},t.prototype.offsetOf=function(e){var t=1,n=this._spacesFor(`attribute`);if(t+=n.before.length,e===`namespace`||e===`ns`)return this.namespace?t:-1;if(e===`attributeNS`||(t+=this.namespaceString.length,this.namespace&&(t+=1),e===`attribute`))return t;t+=this.stringifyProperty(`attribute`).length,t+=n.after.length;var r=this._spacesFor(`operator`);t+=r.before.length;var i=this.stringifyProperty(`operator`);if(e===`operator`)return i?t:-1;t+=i.length,t+=r.after.length;var a=this._spacesFor(`value`);t+=a.before.length;var o=this.stringifyProperty(`value`);if(e===`value`)return o?t:-1;t+=o.length,t+=a.after.length;var s=this._spacesFor(`insensitive`);return t+=s.before.length,e===`insensitive`&&this.insensitive?t:-1},t.prototype.toString=function(){var e=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(t,n){return t.length>0&&!e.quoted&&n.before.length===0&&!(e.spaces.value&&e.spaces.value.after)&&(n.before=` `),v(t,n)}))),t.push(`]`),t.push(this.rawSpaceAfter),t.join(``)},t.NO_QUOTE=null,t.SINGLE_QUOTE=`'`,t.DOUBLE_QUOTE=`"`,t}(c.default);var _=(a={"'":{quotes:`single`,wrap:!0},'"':{quotes:`double`,wrap:!0}},a[null]={isIdentifier:!0},a);function v(e,t){return`${t.before}${e}${t.after}`}})),jb=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),i=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var a=i(Tb()),o=_b();e.default=function(e){r(t,e);function t(t){var n=e.call(this,t)||this;return n.type=o.UNIVERSAL,n.value=`*`,n}return t}(a.default)})),Mb=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),i=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var a=i(gb()),o=_b();e.default=function(e){r(t,e);function t(t){var n=e.call(this,t)||this;return n.type=o.COMBINATOR,n}return t}(a.default)})),Nb=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),i=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var a=i(gb()),o=_b();e.default=function(e){r(t,e);function t(t){var n=e.call(this,t)||this;return n.type=o.NESTING,n.value=`&`,n}return t}(a.default)})),Pb=/* @__PURE__ */ p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(e){return e.sort(function(e,t){return e-t})}})),Fb=/* @__PURE__ */ p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.combinator=e.word=e.comment=e.str=e.tab=e.newline=e.feed=e.cr=e.backslash=e.bang=e.slash=e.doubleQuote=e.singleQuote=e.space=e.greaterThan=e.pipe=e.equals=e.plus=e.caret=e.tilde=e.dollar=e.closeSquare=e.openSquare=e.closeParenthesis=e.openParenthesis=e.semicolon=e.colon=e.comma=e.at=e.asterisk=e.ampersand=void 0,e.ampersand=38,e.asterisk=42,e.at=64,e.comma=44,e.colon=58,e.semicolon=59,e.openParenthesis=40,e.closeParenthesis=41,e.openSquare=91,e.closeSquare=93,e.dollar=36,e.tilde=126,e.caret=94,e.plus=43,e.equals=61,e.pipe=124,e.greaterThan=62,e.space=32,e.singleQuote=39,e.doubleQuote=34,e.slash=47,e.bang=33,e.backslash=92,e.cr=13,e.feed=12,e.newline=10,e.tab=9,e.str=e.singleQuote,e.comment=-1,e.word=-2,e.combinator=-3})),Ib=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),i=n&&n.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),a=n&&n.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},e(t)};return function(t){if(t&&t.__esModule)return t;var n={};if(t!=null)for(var a=e(t),o=0;o<a.length;o++)a[o]!=="default"&&r(n,t,a[o]);return i(n,t),n}})(),o,s;Object.defineProperty(e,"__esModule",{value:!0}),e.FIELDS=void 0,e.default=g;for(var c=a(Fb()),l=(o={},o[c.tab]=!0,o[c.newline]=!0,o[c.cr]=!0,o[c.feed]=!0,o),u=(s={},s[c.space]=!0,s[c.tab]=!0,s[c.newline]=!0,s[c.cr]=!0,s[c.feed]=!0,s[c.ampersand]=!0,s[c.asterisk]=!0,s[c.bang]=!0,s[c.comma]=!0,s[c.colon]=!0,s[c.semicolon]=!0,s[c.openParenthesis]=!0,s[c.closeParenthesis]=!0,s[c.openSquare]=!0,s[c.closeSquare]=!0,s[c.singleQuote]=!0,s[c.doubleQuote]=!0,s[c.plus]=!0,s[c.pipe]=!0,s[c.tilde]=!0,s[c.greaterThan]=!0,s[c.equals]=!0,s[c.dollar]=!0,s[c.caret]=!0,s[c.slash]=!0,s),d={},f=`0123456789abcdefABCDEF`,p=0;p<f.length;p++)d[f.charCodeAt(p)]=!0;function m(e,t){var n=t,r;do{if(r=e.charCodeAt(n),u[r])return n-1;r===c.backslash?n=h(e,n)+1:n++}while(n<e.length);return n-1}function h(e,t){var n=t,r=e.charCodeAt(n+1);if(!l[r]){if(d[r]){var i=0;do n++,i++,r=e.charCodeAt(n+1);while(d[r]&&i<6);i<6&&r===c.space&&n++}else n++}return n}e.FIELDS={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};function g(e){var t=[],n=e.css.valueOf(),r=n.length,i=-1,a=1,o=0,s=0,l,u,d,f,p,h,g,_,v,y,b,x,S;function C(t,r){if(e.safe)n+=r,v=n.length-1;else throw e.error(`Unclosed `+t,a,o-i,o)}for(;o<r;){switch(l=n.charCodeAt(o),l===c.newline&&(i=o,a+=1),l){case c.space:case c.tab:case c.newline:case c.cr:case c.feed:v=o;do v+=1,l=n.charCodeAt(v),l===c.newline&&(i=v,a+=1);while(l===c.space||l===c.newline||l===c.tab||l===c.cr||l===c.feed);S=c.space,f=a,d=v-i-1,s=v;break;case c.plus:case c.greaterThan:case c.tilde:case c.pipe:v=o;do v+=1,l=n.charCodeAt(v);while(l===c.plus||l===c.greaterThan||l===c.tilde||l===c.pipe);S=c.combinator,f=a,d=o-i,s=v;break;case c.asterisk:case c.ampersand:case c.bang:case c.comma:case c.equals:case c.dollar:case c.caret:case c.openSquare:case c.closeSquare:case c.colon:case c.semicolon:case c.openParenthesis:case c.closeParenthesis:v=o,S=l,f=a,d=o-i,s=v+1;break;case c.singleQuote:case c.doubleQuote:x=l===c.singleQuote?`'`:`"`,v=o;do for(p=!1,v=n.indexOf(x,v+1),v===-1&&C(`quote`,x),h=v;n.charCodeAt(h-1)===c.backslash;)--h,p=!p;while(p);S=c.str,f=a,d=o-i,s=v+1;break;default:l===c.slash&&n.charCodeAt(o+1)===c.asterisk?(v=n.indexOf(`*/`,o+2)+1,v===0&&C(`comment`,`*/`),u=n.slice(o,v+1),_=u.split(`
|
|
97
|
-
`),g=_.length-1,g>0?(y=a+g,b=v-_[g].length):(y=a,b=i),S=c.comment,a=y,f=y,d=v-b):l===c.slash?(v=o,S=l,f=a,d=o-i,s=v+1):(v=m(n,o),S=c.word,f=a,d=v-i),s=v+1}t.push([S,a,o-i,f,d,o,s]),b&&=(i=b,null),o=s}return t}})),Lb=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=n&&n.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),a=n&&n.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),o=n&&n.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},e(t)};return function(t){if(t&&t.__esModule)return t;var n={};if(t!=null)for(var r=e(t),o=0;o<r.length;o++)r[o]!=="default"&&i(n,t,r[o]);return a(n,t),n}})(),s=n&&n.__read||function(e,t){var n=typeof Symbol==`function`&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,a=[],o;try{for(;(t===void 0||t-->0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a},c=n&&n.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))},l=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},u,d;Object.defineProperty(e,"__esModule",{value:!0});var f=l(yb()),p=l(bb()),m=l(Sb()),h=l(Cb()),g=l(wb()),_=l(Eb()),v=l(Db()),y=l(Ob()),b=o(Ab()),x=l(jb()),S=l(Mb()),C=l(Nb()),w=l(Pb()),T=o(Ib()),E=o(Fb()),ee=o(_b()),D=hb(),O=(u={},u[E.space]=!0,u[E.cr]=!0,u[E.feed]=!0,u[E.newline]=!0,u[E.tab]=!0,u),te=r(r({},O),(d={},d[E.comment]=!0,d));function k(e){return{line:e[T.FIELDS.START_LINE],column:e[T.FIELDS.START_COL]}}function ne(e){return{line:e[T.FIELDS.END_LINE],column:e[T.FIELDS.END_COL]}}function A(e,t,n,r){return{start:{line:e,column:t},end:{line:n,column:r}}}function j(e){return A(e[T.FIELDS.START_LINE],e[T.FIELDS.START_COL],e[T.FIELDS.END_LINE],e[T.FIELDS.END_COL])}function M(e,t){if(e)return A(e[T.FIELDS.START_LINE],e[T.FIELDS.START_COL],t[T.FIELDS.END_LINE],t[T.FIELDS.END_COL])}function re(e,t){var n=e[t];if(typeof n==`string`)return n.indexOf(`\\`)!==-1&&((0,D.ensureObject)(e,`raws`),e[t]=(0,D.unesc)(n),e.raws[t]===void 0&&(e.raws[t]=n)),e}function ie(e,t){for(var n=-1,r=[];(n=e.indexOf(t,n+1))!==-1;)r.push(n);return r}function ae(){return Array.from(new Set(Array.prototype.concat.apply([],arguments)))}e.default=function(){function e(e,t){t===void 0&&(t={}),this.rule=e,this.options=Object.assign({lossy:!1,safe:!1},t),this.position=0,this.nestingDepth=0,this.maxNestingDepth=(0,D.resolveMaxNestingDepth)(this.options.maxNestingDepth),this.css=typeof this.rule==`string`?this.rule:this.rule.selector,this.tokens=(0,T.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var n=M(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new f.default({source:n}),this.root.errorGenerator=this._errorGenerator();var r=new p.default({source:{start:{line:1,column:1}},sourceIndex:0});this.root.append(r),this.current=r,this.loop()}return e.prototype._errorGenerator=function(){var e=this;return function(t,n){return typeof e.rule==`string`?Error(t):e.rule.error(t,n)}},e.prototype.attribute=function(){var e=[],t=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[T.FIELDS.TYPE]!==E.closeSquare;)e.push(this.currToken),this.position++;if(!this.currToken)return this.expected(`closing square bracket`,t[T.FIELDS.START_POS]);if(this.currToken[T.FIELDS.TYPE]!==E.closeSquare)return this.expected(`closing square bracket`,this.currToken[T.FIELDS.START_POS]);var n=e.length,r={source:A(t[1],t[2],this.currToken[3],this.currToken[4]),sourceIndex:t[T.FIELDS.START_POS]};if(n===1&&!~[E.word].indexOf(e[0][T.FIELDS.TYPE]))return this.expected(`attribute`,e[0][T.FIELDS.START_POS]);for(var i=0,a=``,o=``,s=null,c=!1;i<n;){var l=e[i],u=this.content(l),d=e[i+1];switch(l[T.FIELDS.TYPE]){case E.space:if(c=!0,this.options.lossy)break;if(s){(0,D.ensureObject)(r,`spaces`,s);var f=r.spaces[s].after||``;r.spaces[s].after=f+u;var p=(0,D.getProp)(r,`raws`,`spaces`,s,`after`)||null;p&&(r.raws.spaces[s].after=p+u)}else a+=u,o+=u;break;case E.asterisk:if(d[T.FIELDS.TYPE]===E.equals)r.operator=u,s=`operator`;else if((!r.namespace||s===`namespace`&&!c)&&d){a&&=((0,D.ensureObject)(r,`spaces`,`attribute`),r.spaces.attribute.before=a,``),o&&=((0,D.ensureObject)(r,`raws`,`spaces`,`attribute`),r.raws.spaces.attribute.before=o,``),r.namespace=(r.namespace||``)+u;var m=(0,D.getProp)(r,`raws`,`namespace`)||null;m&&(r.raws.namespace+=u),s=`namespace`}c=!1;break;case E.dollar:if(s===`value`){var h=(0,D.getProp)(r,`raws`,`value`);r.value+=`$`,h&&(r.raws.value=h+`$`);break}case E.caret:d[T.FIELDS.TYPE]===E.equals&&(r.operator=u,s=`operator`),c=!1;break;case E.combinator:if(u===`~`&&d[T.FIELDS.TYPE]===E.equals&&(r.operator=u,s=`operator`),u!==`|`){c=!1;break}d[T.FIELDS.TYPE]===E.equals?(r.operator=u,s=`operator`):!r.namespace&&!r.attribute&&(r.namespace=!0),c=!1;break;case E.word:if(d&&this.content(d)===`|`&&e[i+2]&&e[i+2][T.FIELDS.TYPE]!==E.equals&&!r.operator&&!r.namespace)r.namespace=u,s=`namespace`;else if(!r.attribute||s===`attribute`&&!c){a&&=((0,D.ensureObject)(r,`spaces`,`attribute`),r.spaces.attribute.before=a,``),o&&=((0,D.ensureObject)(r,`raws`,`spaces`,`attribute`),r.raws.spaces.attribute.before=o,``),r.attribute=(r.attribute||``)+u;var m=(0,D.getProp)(r,`raws`,`attribute`)||null;m&&(r.raws.attribute+=u),s=`attribute`}else if(!r.value&&r.value!==``||s===`value`&&!(c||r.quoteMark)){var g=(0,D.unesc)(u),h=(0,D.getProp)(r,`raws`,`value`)||``,_=r.value||``;r.value=_+g,r.quoteMark=null,(g!==u||h)&&((0,D.ensureObject)(r,`raws`),r.raws.value=(h||_)+u),s=`value`}else{var v=u===`i`||u===`I`;(r.value||r.value===``)&&(r.quoteMark||c)?(r.insensitive=v,(!v||u===`I`)&&((0,D.ensureObject)(r,`raws`),r.raws.insensitiveFlag=u),s=`insensitive`,a&&=((0,D.ensureObject)(r,`spaces`,`insensitive`),r.spaces.insensitive.before=a,``),o&&=((0,D.ensureObject)(r,`raws`,`spaces`,`insensitive`),r.raws.spaces.insensitive.before=o,``)):(r.value||r.value===``)&&(s=`value`,r.value+=u,r.raws.value&&(r.raws.value+=u))}c=!1;break;case E.str:if(!r.attribute||!r.operator)return this.error(`Expected an attribute followed by an operator preceding the string.`,{index:l[T.FIELDS.START_POS]});var y=(0,b.unescapeValue)(u),x=y.unescaped,S=y.quoteMark;r.value=x,r.quoteMark=S,s=`value`,(0,D.ensureObject)(r,`raws`),r.raws.value=u,c=!1;break;case E.equals:if(!r.attribute)return this.expected(`attribute`,l[T.FIELDS.START_POS],u);if(r.value)return this.error(`Unexpected "=" found; an operator was already defined.`,{index:l[T.FIELDS.START_POS]});r.operator=r.operator?r.operator+u:u,s=`operator`,c=!1;break;case E.comment:if(s){if(c||d&&d[T.FIELDS.TYPE]===E.space||s===`insensitive`){var C=(0,D.getProp)(r,`spaces`,s,`after`)||``,w=(0,D.getProp)(r,`raws`,`spaces`,s,`after`)||C;(0,D.ensureObject)(r,`raws`,`spaces`,s),r.raws.spaces[s].after=w+u}else{var ee=r[s]||``,O=(0,D.getProp)(r,`raws`,s)||ee;(0,D.ensureObject)(r,`raws`),r.raws[s]=O+u}}else o+=u;break;default:return this.error(`Unexpected "${u}" found.`,{index:l[T.FIELDS.START_POS]})}i++}re(r,`attribute`),re(r,`namespace`),this.newNode(new b.default(r)),this.position++},e.prototype.parseWhitespaceEquivalentTokens=function(e){e<0&&(e=this.tokens.length);var t=this.position,n=[],r=``,i=void 0;do if(O[this.currToken[T.FIELDS.TYPE]])this.options.lossy||(r+=this.content());else if(this.currToken[T.FIELDS.TYPE]===E.comment){var a={};r&&=(a.before=r,``),i=new h.default({value:this.content(),source:j(this.currToken),sourceIndex:this.currToken[T.FIELDS.START_POS],spaces:a}),n.push(i)}while(++this.position<e);if(r){if(i)i.spaces.after=r;else if(!this.options.lossy){var o=this.tokens[t],s=this.tokens[this.position-1];n.push(new v.default({value:``,source:A(o[T.FIELDS.START_LINE],o[T.FIELDS.START_COL],s[T.FIELDS.END_LINE],s[T.FIELDS.END_COL]),sourceIndex:o[T.FIELDS.START_POS],spaces:{before:r,after:``}}))}}return n},e.prototype.convertWhitespaceNodesToSpace=function(e,t){var n=this;t===void 0&&(t=!1);var r=``,i=``;return e.forEach(function(e){var a=n.lossySpace(e.spaces.before,t),o=n.lossySpace(e.rawSpaceBefore,t);r+=a+n.lossySpace(e.spaces.after,t&&a.length===0),i+=a+e.value+n.lossySpace(e.rawSpaceAfter,t&&o.length===0)}),i===r&&(i=void 0),{space:r,rawSpace:i}},e.prototype.isNamedCombinator=function(e){return e===void 0&&(e=this.position),this.tokens[e+0]&&this.tokens[e+0][T.FIELDS.TYPE]===E.slash&&this.tokens[e+1]&&this.tokens[e+1][T.FIELDS.TYPE]===E.word&&this.tokens[e+2]&&this.tokens[e+2][T.FIELDS.TYPE]===E.slash},e.prototype.namedCombinator=function(){if(this.isNamedCombinator()){var e=this.content(this.tokens[this.position+1]),t=(0,D.unesc)(e).toLowerCase(),n={};t!==e&&(n.value=`/${e}/`);var r=new S.default({value:`/${t}/`,source:A(this.currToken[T.FIELDS.START_LINE],this.currToken[T.FIELDS.START_COL],this.tokens[this.position+2][T.FIELDS.END_LINE],this.tokens[this.position+2][T.FIELDS.END_COL]),sourceIndex:this.currToken[T.FIELDS.START_POS],raws:n});return this.position+=3,r}this.unexpected()},e.prototype.combinator=function(){var e=this;if(this.content()===`|`)return this.namespace();var t=this.locateNextMeaningfulToken(this.position);if(t<0||this.tokens[t][T.FIELDS.TYPE]===E.comma||this.tokens[t][T.FIELDS.TYPE]===E.closeParenthesis){var n=this.parseWhitespaceEquivalentTokens(t);if(n.length>0){var r=this.current.last;if(r){var i=this.convertWhitespaceNodesToSpace(n),a=i.space,o=i.rawSpace;o!==void 0&&(r.rawSpaceAfter+=o),r.spaces.after+=a}else n.forEach(function(t){return e.newNode(t)})}}else{var s=this.currToken,c=void 0;t>this.position&&(c=this.parseWhitespaceEquivalentTokens(t));var l;if(this.isNamedCombinator()?l=this.namedCombinator():this.currToken[T.FIELDS.TYPE]===E.combinator?(l=new S.default({value:this.content(),source:j(this.currToken),sourceIndex:this.currToken[T.FIELDS.START_POS]}),this.position++):O[this.currToken[T.FIELDS.TYPE]]||c||this.unexpected(),l){if(c){var u=this.convertWhitespaceNodesToSpace(c),a=u.space,o=u.rawSpace;l.spaces.before=a,l.rawSpaceBefore=o}}else{var d=this.convertWhitespaceNodesToSpace(c,!0),a=d.space,o=d.rawSpace;o||=a;var f={},p={spaces:{}};a.endsWith(` `)&&o.endsWith(` `)?(f.before=a.slice(0,a.length-1),p.spaces.before=o.slice(0,o.length-1)):a[0]===` `&&o[0]===` `?(f.after=a.slice(1),p.spaces.after=o.slice(1)):p.value=o,l=new S.default({value:` `,source:M(s,this.tokens[this.position-1]),sourceIndex:s[T.FIELDS.START_POS],spaces:f,raws:p})}return this.currToken&&this.currToken[T.FIELDS.TYPE]===E.space&&(l.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(l)}},e.prototype.comma=function(){if(this.position===this.tokens.length-1)this.root.trailingComma=!0,this.position++;else{this.current._inferEndPosition();var e=new p.default({source:{start:k(this.tokens[this.position+1])},sourceIndex:this.tokens[this.position+1][T.FIELDS.START_POS]});this.current.parent.append(e),this.current=e,this.position++}},e.prototype.comment=function(){var e=this.currToken;this.newNode(new h.default({value:this.content(),source:j(e),sourceIndex:e[T.FIELDS.START_POS]})),this.position++},e.prototype.error=function(e,t){throw this.root.error(e,t)},e.prototype.missingBackslash=function(){return this.error(`Expected a backslash preceding the semicolon.`,{index:this.currToken[T.FIELDS.START_POS]})},e.prototype.missingParenthesis=function(){return this.expected(`opening parenthesis`,this.currToken[T.FIELDS.START_POS])},e.prototype.missingSquareBracket=function(){return this.expected(`opening square bracket`,this.currToken[T.FIELDS.START_POS])},e.prototype.unexpected=function(){return this.error(`Unexpected '${this.content()}'. Escaping special characters with \\ may help.`,this.currToken[T.FIELDS.START_POS])},e.prototype.unexpectedPipe=function(){return this.error(`Unexpected '|'.`,this.currToken[T.FIELDS.START_POS])},e.prototype.namespace=function(){var e=this.prevToken,t=e&&(e[T.FIELDS.TYPE]===E.word||e[T.FIELDS.TYPE]===E.asterisk||e[T.FIELDS.TYPE]===E.ampersand)?this.content(e):!0;if(!this.nextToken)return this.unexpectedPipe();if(this.nextToken[T.FIELDS.TYPE]===E.word)return this.position++,this.word(t);if(this.nextToken[T.FIELDS.TYPE]===E.asterisk)return this.position++,this.universal(t);this.unexpectedPipe()},e.prototype.nesting=function(){if(this.nextToken&&this.content(this.nextToken)===`|`)this.position++;else{var e=this.currToken;this.newNode(new C.default({value:this.content(),source:j(e),sourceIndex:e[T.FIELDS.START_POS]})),this.position++}},e.prototype.parentheses=function(){var e=this.current.last,t=1,n=this.currToken;if(this.position++,e&&e.type===ee.PSEUDO){var r=new p.default({source:{start:k(this.tokens[this.position])},sourceIndex:this.tokens[this.position][T.FIELDS.START_POS]}),i=this.current;e.append(r),this.current=r,this.nestingDepth++;try{for(this.nestingDepth>this.maxNestingDepth&&this.error(`Cannot parse selector: nesting depth exceeds the maximum of ${this.maxNestingDepth}.`,{index:this.currToken[T.FIELDS.START_POS]});this.position<this.tokens.length&&t;)this.currToken[T.FIELDS.TYPE]===E.openParenthesis&&t++,this.currToken[T.FIELDS.TYPE]===E.closeParenthesis&&t--,t?this.parse():(this.current.source.end=ne(this.currToken),this.current.parent.source.end=ne(this.currToken),this.position++)}finally{this.nestingDepth--}this.current=i}else{for(var a=this.currToken,o=`(`,s=void 0;this.position<this.tokens.length&&t;)this.currToken[T.FIELDS.TYPE]===E.openParenthesis&&t++,this.currToken[T.FIELDS.TYPE]===E.closeParenthesis&&t--,s=this.currToken,o+=this.parseParenthesisToken(this.currToken),this.position++;e?e.appendToPropertyAndEscape(`value`,o,o):this.newNode(new v.default({value:o,source:A(a[T.FIELDS.START_LINE],a[T.FIELDS.START_COL],s[T.FIELDS.END_LINE],s[T.FIELDS.END_COL]),sourceIndex:a[T.FIELDS.START_POS]}))}if(t)return this.expected(`closing parenthesis`,(this.currToken||n)[T.FIELDS.START_POS])},e.prototype.pseudo=function(){for(var e=this,t=``,n=this.currToken;this.currToken&&this.currToken[T.FIELDS.TYPE]===E.colon;)t+=this.content(),this.position++;if(!this.currToken)return this.expected([`pseudo-class`,`pseudo-element`],this.position-1);if(this.currToken[T.FIELDS.TYPE]===E.word)this.splitWord(!1,function(r,i){t+=r,e.newNode(new y.default({value:t,source:M(n,e.currToken),sourceIndex:n[T.FIELDS.START_POS]})),i>1&&e.nextToken&&e.nextToken[T.FIELDS.TYPE]===E.openParenthesis&&e.error(`Misplaced parenthesis.`,{index:e.nextToken[T.FIELDS.START_POS]})});else return this.expected([`pseudo-class`,`pseudo-element`],this.currToken[T.FIELDS.START_POS])},e.prototype.space=function(){var e=this.content();this.position===0||this.prevToken[T.FIELDS.TYPE]===E.comma||this.prevToken[T.FIELDS.TYPE]===E.openParenthesis||this.current.nodes.every(function(e){return e.type===`comment`})?(this.spaces=this.optionalSpace(e),this.position++):this.position===this.tokens.length-1||this.nextToken[T.FIELDS.TYPE]===E.comma||this.nextToken[T.FIELDS.TYPE]===E.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(e),this.position++):this.combinator()},e.prototype.string=function(){var e=this.currToken;this.newNode(new v.default({value:this.content(),source:j(e),sourceIndex:e[T.FIELDS.START_POS]})),this.position++},e.prototype.universal=function(e){var t=this.nextToken;if(t&&this.content(t)===`|`)return this.position++,this.namespace();var n=this.currToken;this.newNode(new x.default({value:this.content(),source:j(n),sourceIndex:n[T.FIELDS.START_POS]}),e),this.position++},e.prototype.splitWord=function(e,t){for(var n=this,r=this.nextToken,i=this.content();r&&~[E.dollar,E.caret,E.equals,E.word].indexOf(r[T.FIELDS.TYPE]);){this.position++;var a=this.content();if(i+=a,a.lastIndexOf(`\\`)===a.length-1){var o=this.nextToken;o&&o[T.FIELDS.TYPE]===E.space&&(i+=this.requiredSpace(this.content(o)),this.position++)}r=this.nextToken}var l=ie(i,`.`).filter(function(e){var t=i[e-1]===`\\`,n=/^\d+\.\d+%$/.test(i);return!t&&!n}),u=ie(i,`#`).filter(function(e){return i[e-1]!==`\\`}),d=ie(i,`#{`);if(d.length){var f=new Set(d);u=u.filter(function(e){return!f.has(e)})}var p=new Set(l),h=new Set(u),v=(0,w.default)(ae(c(c([0],s(l),!1),s(u),!1)));v.forEach(function(r,a){var o=v[a+1]||i.length,s=i.slice(r,o);if(a===0&&t)return t.call(n,s,v.length);var c,l=n.currToken,u=l[T.FIELDS.START_POS]+v[a],d=A(l[1],l[2]+r,l[3],l[2]+(o-1));if(p.has(r)){var f={value:s.slice(1),source:d,sourceIndex:u};c=new m.default(re(f,`value`))}else if(h.has(r)){var y={value:s.slice(1),source:d,sourceIndex:u};c=new g.default(re(y,`value`))}else{var b={value:s,source:d,sourceIndex:u};re(b,`value`),c=new _.default(b)}n.newNode(c,e),e=null}),this.position++},e.prototype.word=function(e){var t=this.nextToken;return t&&this.content(t)===`|`?(this.position++,this.namespace()):this.splitWord(e)},e.prototype.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},e.prototype.parse=function(e){switch(this.currToken[T.FIELDS.TYPE]){case E.space:this.space();break;case E.comment:this.comment();break;case E.openParenthesis:this.parentheses();break;case E.closeParenthesis:e&&this.missingParenthesis();break;case E.openSquare:this.attribute();break;case E.dollar:case E.caret:case E.equals:case E.word:this.word();break;case E.colon:this.pseudo();break;case E.comma:this.comma();break;case E.asterisk:this.universal();break;case E.ampersand:this.nesting();break;case E.slash:case E.combinator:this.combinator();break;case E.str:this.string();break;case E.closeSquare:this.missingSquareBracket();case E.semicolon:this.missingBackslash();default:this.unexpected()}},e.prototype.expected=function(e,t,n){if(Array.isArray(e)){var r=e.pop();e=`${e.join(`, `)} or ${r}`}var i=/^[aeiou]/.test(e[0])?`an`:`a`;return n?this.error(`Expected ${i} ${e}, found "${n}" instead.`,{index:t}):this.error(`Expected ${i} ${e}.`,{index:t})},e.prototype.requiredSpace=function(e){return this.options.lossy?` `:e},e.prototype.optionalSpace=function(e){return this.options.lossy?``:e},e.prototype.lossySpace=function(e,t){return this.options.lossy?t?` `:``:e},e.prototype.parseParenthesisToken=function(e){var t=this.content(e);return e[T.FIELDS.TYPE]===E.space?this.requiredSpace(t):t},e.prototype.newNode=function(e,t){return t&&(/^ +$/.test(t)&&(this.options.lossy||(this.spaces=(this.spaces||``)+t),t=!0),e.namespace=t,re(e,`namespace`)),this.spaces&&=(e.spaces.before=this.spaces,``),this.current.append(e)},e.prototype.content=function(e){return e===void 0&&(e=this.currToken),this.css.slice(e[T.FIELDS.START_POS],e[T.FIELDS.END_POS])},Object.defineProperty(e.prototype,"currToken",{get:function(){return this.tokens[this.position]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextToken",{get:function(){return this.tokens[this.position+1]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"prevToken",{get:function(){return this.tokens[this.position-1]},enumerable:!1,configurable:!0}),e.prototype.locateNextMeaningfulToken=function(e){e===void 0&&(e=this.position+1);for(var t=e;t<this.tokens.length;)if(te[this.tokens[t][T.FIELDS.TYPE]]){t++;continue}else return t;return-1},e}()})),Rb=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var i=r(Lb());e.default=function(){function e(e,t){this.func=e||function(){},this.funcRes=null,this.options=t}return e.prototype._shouldUpdateSelector=function(e,t){return t===void 0&&(t={}),Object.assign({},this.options,t).updateSelector!==!1&&typeof e!=`string`},e.prototype._isLossy=function(e){return e===void 0&&(e={}),Object.assign({},this.options,e).lossless===!1},e.prototype._root=function(e,t){return t===void 0&&(t={}),new i.default(e,this._parseOptions(t)).root},e.prototype._parseOptions=function(e){var t=Object.assign({},this.options,e);return{lossy:this._isLossy(t),maxNestingDepth:t.maxNestingDepth}},e.prototype._stringifyOptions=function(e){return{maxNestingDepth:Object.assign({},this.options,e).maxNestingDepth}},e.prototype._run=function(e,t){var n=this;return t===void 0&&(t={}),new Promise(function(r,i){try{var a=n._root(e,t);Promise.resolve(n.func(a)).then(function(r){var i=void 0;return n._shouldUpdateSelector(e,t)&&(i=a.toString(n._stringifyOptions(t)),e.selector=i),{transform:r,root:a,string:i}}).then(r,i)}catch(e){i(e);return}})},e.prototype._runSync=function(e,t){t===void 0&&(t={});var n=this._root(e,t),r=this.func(n);if(r&&typeof r.then==`function`)throw Error(`Selector processor returned a promise to a synchronous call.`);var i=void 0;return t.updateSelector&&typeof e!=`string`&&(i=n.toString(this._stringifyOptions(t)),e.selector=i),{transform:r,root:n,string:i}},e.prototype.ast=function(e,t){return this._run(e,t).then(function(e){return e.root})},e.prototype.astSync=function(e,t){return this._runSync(e,t).root},e.prototype.transform=function(e,t){return this._run(e,t).then(function(e){return e.transform})},e.prototype.transformSync=function(e,t){return this._runSync(e,t).transform},e.prototype.process=function(e,t){var n=this;return this._run(e,t).then(function(e){return e.string||e.root.toString(n._stringifyOptions(t))})},e.prototype.processSync=function(e,t){var n=this._runSync(e,t);return n.string||n.root.toString(this._stringifyOptions(t))},e}()})),zb=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!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 i=r(Ab()),a=r(Sb()),o=r(Mb()),s=r(Cb()),c=r(wb()),l=r(Nb()),u=r(Ob()),d=r(yb()),f=r(bb()),p=r(Db()),m=r(Eb()),h=r(jb());e.attribute=function(e){return new i.default(e)},e.className=function(e){return new a.default(e)},e.combinator=function(e){return new o.default(e)},e.comment=function(e){return new s.default(e)},e.id=function(e){return new c.default(e)},e.nesting=function(e){return new l.default(e)},e.pseudo=function(e){return new u.default(e)},e.root=function(e){return new d.default(e)},e.selector=function(e){return new f.default(e)},e.string=function(e){return new p.default(e)},e.tag=function(e){return new m.default(e)},e.universal=function(e){return new h.default(e)}})),Bb=/* @__PURE__ */ p((e=>{var t;Object.defineProperty(e,"__esModule",{value:!0}),e.isUniversal=e.isTag=e.isString=e.isSelector=e.isRoot=e.isPseudo=e.isNesting=e.isIdentifier=e.isComment=e.isCombinator=e.isClassName=e.isAttribute=void 0,e.isNode=i,e.isPseudoElement=o,e.isPseudoClass=s,e.isContainer=c,e.isNamespace=l;var n=_b(),r=(t={},t[n.ATTRIBUTE]=!0,t[n.CLASS]=!0,t[n.COMBINATOR]=!0,t[n.COMMENT]=!0,t[n.ID]=!0,t[n.NESTING]=!0,t[n.PSEUDO]=!0,t[n.ROOT]=!0,t[n.SELECTOR]=!0,t[n.STRING]=!0,t[n.TAG]=!0,t[n.UNIVERSAL]=!0,t);function i(e){return typeof e==`object`&&r[e.type]}function a(e,t){return i(t)&&t.type===e}e.isAttribute=a.bind(null,n.ATTRIBUTE),e.isClassName=a.bind(null,n.CLASS),e.isCombinator=a.bind(null,n.COMBINATOR),e.isComment=a.bind(null,n.COMMENT),e.isIdentifier=a.bind(null,n.ID),e.isNesting=a.bind(null,n.NESTING),e.isPseudo=a.bind(null,n.PSEUDO),e.isRoot=a.bind(null,n.ROOT),e.isSelector=a.bind(null,n.SELECTOR),e.isString=a.bind(null,n.STRING),e.isTag=a.bind(null,n.TAG),e.isUniversal=a.bind(null,n.UNIVERSAL);function o(t){return(0,e.isPseudo)(t)&&t.value&&(t.value.startsWith(`::`)||t.value.toLowerCase()===`:before`||t.value.toLowerCase()===`:after`||t.value.toLowerCase()===`:first-letter`||t.value.toLowerCase()===`:first-line`)}function s(t){return(0,e.isPseudo)(t)&&!o(t)}function c(e){return!!(i(e)&&e.walk)}function l(t){return(0,e.isAttribute)(t)||(0,e.isTag)(t)}})),Vb=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),i=n&&n.__exportStar||function(e,t){for(var n in e)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&r(t,e,n)};Object.defineProperty(e,"__esModule",{value:!0}),i(_b(),e),i(zb(),e),i(Bb(),e)})),Hb=/* @__PURE__ */ h((/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),i=n&&n.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),a=n&&n.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},e(t)};return function(t){if(t&&t.__esModule)return t;var n={};if(t!=null)for(var a=e(t),o=0;o<a.length;o++)a[o]!=="default"&&r(n,t,a[o]);return i(n,t),n}})(),o=(n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(Rb()),s=a(Vb()),c=function(e){return new o.default(e)};Object.assign(c,s),delete c.__esModule,t.exports=c})))(),1);function Ub(e,t,n,r){if(e)try{return r?(0,Hb.default)(r).processSync(e):(0,Hb.default)().astSync(e)}catch(e){t.warn(`Cannot parse selector (${e})`,{node:n,stylelintType:`parseError`})}}let{utils:{report:Wb,ruleMessages:Gb,validateOptions:Kb}}=t,qb=`selector-attribute-brackets-space-inside`,Jb=W(qb),Yb=Gb(Jb,{expectedOpening:`Expected single space after "["`,rejectedOpening:`Unexpected whitespace after "["`,expectedClosing:`Expected single space before "]"`,rejectedClosing:`Unexpected whitespace before "]"`}),Xb={url:G(qb),fixable:!0};function Zb(e){return(r,i)=>{Kb(i,Jb,{actual:e,possible:[`always`,`never`]})&&r.walkRules(r=>{if(!iy(r)||!r.selector.includes(`[`))return;let a=r.raws.selector?r.raws.selector.raw:r.selector,o=null,s,c=Ub(a,i,r,r=>{r.walkAttributes(r=>{let i=r.toString();(0,qu.default)({source:i,target:`[`},n=>{let a=i[n.startIndex+1]===` `,c=r.sourceIndex+n.startIndex+1;a&&e===`never`&&(o=()=>{s=!0,t(r)},l(Yb.rejectedOpening,c)),!a&&e===`always`&&(o=()=>{s=!0,t(r)},l(Yb.expectedOpening,c))}),(0,qu.default)({source:i,target:`]`},t=>{let a=i[t.startIndex-1]===` `,c=r.sourceIndex+t.startIndex-1;a&&e===`never`&&(o=()=>{s=!0,n(r)},l(Yb.rejectedClosing,c)),!a&&e===`always`&&(o=()=>{s=!0,n(r)},l(Yb.expectedClosing,c))})})});s&&c&&(r.raws.selector?r.raws.selector.raw=c:r.selector=c);function l(e,t){Wb({message:e,index:t,endIndex:t,result:i,ruleName:Jb,node:r,fix:o})}})};function t(t){let n=t.raws.spaces&&t.raws.spaces.attribute,r=n&&n.before,{attrBefore:i,setAttrBefore:a}=r?{attrBefore:r,setAttrBefore(e){n.before=e}}:{attrBefore:t.spaces.attribute&&t.spaces.attribute.before||``,setAttrBefore(e){t.spaces.attribute||(t.spaces.attribute={}),t.spaces.attribute.before=e}};e===`always`?a(i.replace(/^\s*/u,` `)):e===`never`&&a(i.replace(/^\s*/u,``))}function n(t){let n=t.operator?t.insensitive?`insensitive`:`value`:`attribute`,r=t.raws.spaces&&t.raws.spaces[n],i=r&&r.after,a=t.spaces[n],{after:o,setAfter:s}=i?{after:i,setAfter(e){r.after=e}}:{after:a&&a.after||``,setAfter(e){t.spaces[n]||(t.spaces[n]={}),t.spaces[n].after=e}};e===`always`?s(o.replace(/\s*$/u,` `)):e===`never`&&s(o.replace(/\s*$/u,``))}}Zb.ruleName=Jb,Zb.messages=Yb,Zb.meta=Xb;let{utils:{report:Qb}}=t;function $b(e){e.root.walkRules(t=>{if(!iy(t)||!t.selector.includes(`[`)||!t.selector.includes(`=`))return;let n=!1,r=Ub(t.raws.selector?t.raws.selector.raw:t.selector,e.result,t,n=>{n.walkAttributes(n=>{let r=n.operator;if(!r)return;let a=n.toString();(0,qu.default)({source:a,target:r},o=>{let s=e.checkBeforeOperator?o.startIndex:o.endIndex-1;i(a,s,t,n,r)})})});n&&r&&(t.raws.selector?t.raws.selector.raw=r:t.selector=r);function i(t,r,i,a,o){e.locationChecker({source:t,index:r,err:t=>{let s=a.sourceIndex+r;Qb({message:t.replace(e.checkBeforeOperator?o.charAt(0):o.at(-1),o),node:i,index:s,endIndex:s,result:e.result,ruleName:e.checkedRuleName,fix:e.fix?()=>(n=!0,e.fix(a)):void 0})}})}})}let{utils:{ruleMessages:ex,validateOptions:tx}}=t,nx=`selector-attribute-operator-space-after`,rx=W(nx),ix=ex(rx,{expectedAfter:e=>`Expected single space after "${e}"`,rejectedAfter:e=>`Unexpected whitespace after "${e}"`}),ax={url:G(nx),fixable:!0};function ox(e){return(t,n)=>{let r=K(`space`,e,ix);tx(n,rx,{actual:e,possible:[`always`,`never`]})&&$b({root:t,result:n,locationChecker:r.after,checkedRuleName:rx,checkBeforeOperator:!1,fix:t=>{let{operatorAfter:n,setOperatorAfter:r}=(()=>{let e=t.raws.operator;if(e)return{operatorAfter:e.slice(t.operator?t.operator.length:0),setOperatorAfter(e){delete t.raws.operator,t.raws.spaces||(t.raws.spaces={}),t.raws.spaces.operator||(t.raws.spaces.operator={}),t.raws.spaces.operator.after=e}};let n=t.raws.spaces&&t.raws.spaces.operator,r=n&&n.after;return r?{operatorAfter:r,setOperatorAfter(e){n.after=e}}:{operatorAfter:t.spaces.operator&&t.spaces.operator.after||``,setOperatorAfter(e){t.spaces.operator||(t.spaces.operator={}),t.spaces.operator.after=e}}})();return e===`always`?(r(n.replace(/^\s*/u,` `)),!0):e===`never`&&(r(n.replace(/^\s*/u,``)),!0)}})}}ox.ruleName=rx,ox.messages=ix,ox.meta=ax;let{utils:{ruleMessages:sx,validateOptions:cx}}=t,lx=`selector-attribute-operator-space-before`,ux=W(lx),dx=sx(ux,{expectedBefore:e=>`Expected single space before "${e}"`,rejectedBefore:e=>`Unexpected whitespace before "${e}"`}),fx={url:G(lx),fixable:!0};function px(e){let t=K(`space`,e,dx);return(n,r)=>{cx(r,ux,{actual:e,possible:[`always`,`never`]})&&$b({root:n,result:r,locationChecker:t.before,checkedRuleName:ux,checkBeforeOperator:!0,fix:t=>{let n=t.raws.spaces&&t.raws.spaces.attribute,r=n&&n.after,{attrAfter:i,setAttrAfter:a}=r?{attrAfter:r,setAttrAfter(e){n.after=e}}:{attrAfter:t.spaces.attribute&&t.spaces.attribute.after||``,setAttrAfter(e){t.spaces.attribute||(t.spaces.attribute={}),t.spaces.attribute.after=e}};return e===`always`?(a(i.replace(/\s*$/u,` `)),!0):e===`never`&&(a(i.replace(/\s*$/u,``)),!0)}})}}px.ruleName=ux,px.messages=dx,px.meta=fx;function mx(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}let{utils:{report:hx}}=t;function gx(e){let t;e.root.walkRules(r=>{if(!iy(r))return;t=!1;let i=r.raws.selector,a=i?i.raw:r.selector,o,s=Ub(a,e.result,r,s=>{let c=_x(s,i&&i.scss);if(s.walkCombinators(t=>{if(!mx(t)||/\s/u.test(t.value)||e.locationType===`before`&&!vx(t))return;let i=t.parent&&t.parent.parent;if(i&&i.type===`pseudo`)return;let o=t.sourceIndex,s=t.value.length>1&&e.locationType===`before`?o:o+t.value.length-1;n(a,t,s,r,yx(o,c))}),t){o=String(s);for(let e of c)e.node.value=e.value}});t&&s&&(i?(i.raw=o,i.scss&&=s):r.selector=s)});function n(n,r,i,a,o){e.locationChecker({source:n,index:i,errTarget:r.value,err:n=>{hx({message:n,node:a,index:o,endIndex:o,result:e.result,ruleName:e.checkedRuleName,fix:e.fix?()=>(t=!0,e.fix(r)):void 0})}})}}function _x(e,t){let n=[];if(!t)return n;let r=0;return e.walkComments(e=>{let i=e.sourceIndex-r;if(!t.startsWith(`//`,i))return;let a=t.indexOf(`
|
|
98
|
-
|
|
99
|
-
`)||i.includes(`\r`))&&Px({result:n,ruleName:Rx,message:zx.rejected,messageArgs:[i],node:e,index:r.sourceIndex,endIndex:r.sourceIndex,fix(){/^\s+$/u.test(i)&&(t=!0,r.raws||={},r.raws.value=` `,r.rawSpaceBefore=r.rawSpaceBefore.replace(/^\s+/u,``),r.rawSpaceAfter=r.rawSpaceAfter.replace(/\s+$/u,``))}})})});t&&i&&(e.raws.selector?e.raws.selector.raw=i:e.selector=i)})}}Vx.ruleName=Rx,Vx.messages=zx,Vx.meta=Bx;let{utils:{report:Hx,ruleMessages:Ux,validateOptions:Wx}}=t,Gx=`selector-list-comma-newline-after`,Kx=W(Gx),qx=Ux(Kx,{expectedAfter:()=>`Expected newline after ","`,expectedAfterMultiLine:()=>`Expected newline after "," in a multi-line list`,rejectedAfterMultiLine:()=>`Unexpected whitespace after "," in a multi-line list`}),Jx={url:G(Gx),fixable:!0};function Yx(e,t,n){let r=K(`newline`,e,qx);return(t,i)=>{Wx(i,Kx,{actual:e,possible:[`always`,`always-multi-line`,`never-multi-line`]})&&t.walkRules(t=>{if(!iy(t))return;let a=t.raws.selector?t.raws.selector.raw:t.selector,o=[];if((0,qu.default)({source:a,target:`,`,functionArguments:`skip`},e=>{let n=a.slice(e.endIndex);if(/^\s+\/\//u.test(n))return;let s=/^\s+\/\*/u.test(n)?a.indexOf(`*/`,e.endIndex)+1:e.startIndex;r.afterOneOnly({source:a,index:s,err:n=>{Hx({message:n,node:t,index:e.startIndex,endIndex:e.startIndex,result:i,ruleName:Kx,fix(){o.push(s+1)}})}})}),o.length>0){let r=a;for(let t of o.toSorted((e,t)=>t-e)){let i=r.slice(0,t),a=r.slice(t);e.startsWith(`always`)?a=n.newline+a:e.startsWith(`never-multi-line`)&&(a=a.replace(/^\s*/u,``)),r=i+a}t.raws.selector?t.raws.selector.raw=r:t.selector=r}})}}Yx.ruleName=Kx,Yx.messages=qx,Yx.meta=Jx;let{utils:{report:Xx}}=t;function Zx(e){e.root.walkRules(e=>{if(!iy(e))return;let n=e.raws.selector?e.raws.selector.raw:e.selector;(0,qu.default)({source:n,target:`,`,functionArguments:`skip`},r=>{t(n,r.startIndex,e)})});function t(t,n,r){e.locationChecker({source:t,index:n,err:t=>{Xx({message:t,node:r,index:n,endIndex:n,result:e.result,ruleName:e.checkedRuleName,fix:e.fix?()=>e.fix(r,n):void 0})}})}}let{utils:{ruleMessages:Qx,validateOptions:$x}}=t,eS=`selector-list-comma-newline-before`,tS=W(eS),nS=Qx(tS,{expectedBefore:()=>`Expected newline before ","`,expectedBeforeMultiLine:()=>`Expected newline before "," in a multi-line list`,rejectedBeforeMultiLine:()=>`Unexpected whitespace before "," in a multi-line list`}),rS={url:G(eS),fixable:!0};function iS(e,t,n){let r=K(`newline`,e,nS);return(t,i)=>{if(!$x(i,tS,{actual:e,possible:[`always`,`always-multi-line`,`never-multi-line`]}))return;let a;if(Zx({root:t,result:i,locationChecker:r.beforeAllowingIndentation,checkedRuleName:tS,fix:(e,t)=>{a||=/* @__PURE__ */ new Map;let n=a.get(e)||[];return n.push(t),a.set(e,n),!0}}),a)for(let[t,r]of a.entries()){let i=t.raws.selector?t.raws.selector.raw:t.selector;for(let t of r.toSorted((e,t)=>t-e)){let r=i.slice(0,t),a=i.slice(t);if(e.startsWith(`always`)){let e=r.search(/\s+$/u);r=e>=0?r.slice(0,e)+n.newline+r.slice(e):r+n.newline}else e===`never-multi-line`&&(r=r.replace(/\s*$/u,``));i=r+a}t.raws.selector?t.raws.selector.raw=i:t.selector=i}}}iS.ruleName=tS,iS.messages=nS,iS.meta=rS;let{utils:{ruleMessages:aS,validateOptions:oS}}=t,sS=`selector-list-comma-space-after`,cS=W(sS),lS=aS(cS,{expectedAfter:()=>`Expected single space after ","`,rejectedAfter:()=>`Unexpected whitespace after ","`,expectedAfterSingleLine:()=>`Expected single space after "," in a single-line list`,rejectedAfterSingleLine:()=>`Unexpected whitespace after "," in a single-line list`}),uS={url:G(sS),fixable:!0};function dS(e){let t=K(`space`,e,lS);return(n,r)=>{if(!oS(r,cS,{actual:e,possible:[`always`,`never`,`always-single-line`,`never-single-line`]}))return;let i;if(Zx({root:n,result:r,locationChecker:t.after,checkedRuleName:cS,fix:(e,t)=>{i||=/* @__PURE__ */ new Map;let n=i.get(e)||[];return n.push(t),i.set(e,n),!0}}),i)for(let[t,n]of i.entries()){let r=t.raws.selector?t.raws.selector.raw:t.selector;for(let t of n.toSorted((e,t)=>t-e)){let n=r.slice(0,t+1),i=r.slice(t+1);e.startsWith(`always`)?i=i.replace(/^\s*/u,` `):e.startsWith(`never`)&&(i=i.replace(/^\s*/u,``)),r=n+i}t.raws.selector?t.raws.selector.raw=r:t.selector=r}}}dS.ruleName=cS,dS.messages=lS,dS.meta=uS;let{utils:{ruleMessages:fS,validateOptions:pS}}=t,mS=`selector-list-comma-space-before`,hS=W(mS),gS=fS(hS,{expectedBefore:()=>`Expected single space before ","`,rejectedBefore:()=>`Unexpected whitespace before ","`,expectedBeforeSingleLine:()=>`Expected single space before "," in a single-line list`,rejectedBeforeSingleLine:()=>`Unexpected whitespace before "," in a single-line list`}),_S={url:G(mS),fixable:!0};function vS(e){let t=K(`space`,e,gS);return(n,r)=>{if(!pS(r,hS,{actual:e,possible:[`always`,`never`,`always-single-line`,`never-single-line`]}))return;let i;if(Zx({root:n,result:r,locationChecker:t.before,checkedRuleName:hS,fix:(e,t)=>{i||=/* @__PURE__ */ new Map;let n=i.get(e)||[];return n.push(t),i.set(e,n),!0}}),i)for(let[t,n]of i.entries()){let r=t.raws.selector?t.raws.selector.raw:t.selector;for(let t of n.toSorted((e,t)=>t-e)){let n=r.slice(0,t),i=r.slice(t);e.includes(`always`)?n=n.replace(/\s*$/u,` `):e.includes(`never`)&&(n=n.replace(/\s*$/u,``)),r=n+i}t.raws.selector?t.raws.selector.raw=r:t.selector=r}}}vS.ruleName=hS,vS.messages=gS,vS.meta=_S;let{utils:{report:yS,ruleMessages:bS,validateOptions:xS}}=t,SS=`selector-max-empty-lines`,CS=W(SS),wS=bS(CS,{expected:e=>`Expected no more than ${e} empty ${e===1?`line`:`lines`}`}),TS={url:G(SS),fixable:!0};function ES(e){let t=e+1;return(n,r)=>{if(!xS(r,CS,{actual:e,possible:mc}))return;let i=RegExp(`(?:\r\n){${t+1},}`,`u`),a=RegExp(`\n{${t+1},}`,`u`),o=`
|
|
100
|
-
`.repeat(t),s=`\r
|
|
101
|
-
`.repeat(t);n.walkRules(t=>{let n=t.raws.selector?t.raws.selector.raw:t.selector;(a.test(n)||i.test(n))&&yS({message:wS.expected,messageArgs:[e],node:t,index:0,endIndex:n.length,result:r,ruleName:CS,fix(){let e=n.replaceAll(new RegExp(a,`gmu`),o).replaceAll(new RegExp(i,`gmu`),s);t.raws.selector?t.raws.selector.raw=e:t.selector=e}})})}}ES.ruleName=CS,ES.messages=wS,ES.meta=TS;let DS=/* @__PURE__ */ new Set([`before`,`after`,`first-line`,`first-letter`]),{utils:{report:OS,ruleMessages:kS,validateOptions:AS}}=t,jS=`selector-pseudo-class-case`,MS=W(jS),NS=kS(MS,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),PS={url:G(jS),fixable:!0};function FS(e){return(t,n)=>{AS(n,MS,{actual:e,possible:[`lower`,`upper`]})&&t.walkRules(t=>{if(!iy(t)||!t.selector.includes(`:`))return;let r=Ub(t.raws.selector?t.raws.selector.raw:t.selector,n,t,r=>{r.walkPseudos(r=>{let i=r.value;if(!ry(i)||i.includes(`::`)||DS.has(i.toLowerCase().slice(1)))return;let a=e===`lower`?i.toLowerCase():i.toUpperCase();i!==a&&OS({message:NS.expected,messageArgs:[i,a],node:t,index:r.sourceIndex,endIndex:r.sourceIndex,ruleName:MS,result:n,fix(){r.value=a}})})});r&&(t.raws.selector?t.raws.selector.raw=r:t.selector=r)})}}FS.ruleName=MS,FS.messages=NS,FS.meta=PS;let{utils:{report:IS,ruleMessages:LS,validateOptions:RS}}=t,zS=`selector-pseudo-class-parentheses-space-inside`,BS=W(zS),VS=LS(BS,{expectedOpening:`Expected single space after "("`,rejectedOpening:`Unexpected whitespace after "("`,expectedClosing:`Expected single space before ")"`,rejectedClosing:`Unexpected whitespace before ")"`}),HS={url:G(zS),fixable:!0};function US(e){return(t,n)=>{RS(n,BS,{actual:e,possible:[`always`,`never`]})&&t.walkRules(t=>{if(!iy(t)||!t.selector.includes(`(`))return;let r=null,i=!1,a=Ub(t.raws.selector?t.raws.selector.raw:t.selector,n,t,t=>{t.walkPseudos(t=>{if(t.length===0)return;let n=t.map(e=>e.toString()).join(`,`),a=n.includes(`
|
|
102
|
-
`),s=n.startsWith(` `),c=t.sourceIndex+t.value.length+1;s&&e===`never`&&(r=()=>{i=!0,WS(t,``)},o(VS.rejectedOpening,c)),!s&&e===`always`&&(r=()=>{i=!0,WS(t,` `)},o(VS.expectedOpening,c));let l=n.endsWith(` `),u=c+n.length-1;l&&e===`never`&&!a&&(r=()=>{i=!0,GS(t,``)},o(VS.rejectedClosing,u)),!l&&e===`always`&&(r=()=>{i=!0,GS(t,` `)},o(VS.expectedClosing,u))})});i&&a&&(t.raws.selector?t.raws.selector.raw=a:t.selector=a);function o(e,i){IS({message:e,index:i,endIndex:i,result:n,ruleName:BS,node:t,fix:r})}})}}function WS(e,t){let n=e.first;n.type===`selector`?WS(n,t):n.spaces.before=t}function GS(e,t){let n=e.last;n.type===`selector`?GS(n,t):n.spaces.after=t}US.ruleName=BS,US.messages=VS,US.meta=HS;function KS(e,t,n){try{return(0,Hb.default)(n).processSync(t,{updateSelector:!0})}catch{e.warn(`Cannot parse selector`,{node:t,stylelintType:`parseError`})}}let{utils:{report:qS,ruleMessages:JS,validateOptions:YS}}=t,XS=`selector-pseudo-element-case`,ZS=W(XS),QS=JS(ZS,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),$S={url:G(XS),fixable:!0};function eC(e){return(t,n)=>{YS(n,ZS,{actual:e,possible:[`lower`,`upper`]})&&t.walkRules(t=>{iy(t)&&t.selector.includes(`:`)&&KS(n,t,r=>{r.walkPseudos(r=>{let i=r.value;if(!ry(i)||!i.includes(`::`)&&!DS.has(i.toLowerCase().slice(1)))return;let a=e===`lower`?i.toLowerCase():i.toUpperCase();i!==a&&qS({message:QS.expected,messageArgs:[i,a],node:t,index:r.sourceIndex,endIndex:r.sourceIndex,ruleName:ZS,result:n,fix(){r.value=a}})})})})}}eC.ruleName=ZS,eC.messages=QS,eC.meta=$S;function tC(e){let t=e.raws;return t.params&&t.params.raw||e.params}function nC(e,t){let n=e.raws;return n.params?n.params.raw=t:e.params=t,e}let{utils:{report:rC,ruleMessages:iC,validateOptions:aC}}=t,oC=`string-quotes`,sC=W(oC),cC=iC(sC,{expected:e=>`Expected ${e} quotes`}),lC={url:G(oC),fixable:!0};function uC(e,t){let n=e===`single`?`'`:`"`,r=e===`single`?`"`:`'`;return(i,a)=>{if(!aC(a,sC,{actual:e,possible:[`single`,`double`]},{actual:t,possible:{avoidEscape:[dc]},optional:!0}))return;let o=t&&t.avoidEscape!==void 0?t.avoidEscape:!0;i.walk(e=>{switch(e.type){case`atrule`:c(e,tC(e),Fp);break;case`decl`:c(e,Y(e),J);break;case`rule`:s(e)}});function s(t){if(!iy(t)||!t.selector.includes(`[`)||!t.selector.includes(`=`))return;let i=[];Ub(t.selector,a,t,i=>{let s=!1;i.walkAttributes(i=>{if(!i.quoted)return;let c=i.sourceIndex+i.offsetOf(`value`);if(i.quoteMark===n&&o){bc(i.value);let o=i.value.includes(n);if(i.value.includes(r))return;o&&rC({message:cC.expected,messageArgs:[e===`single`?`double`:e],node:t,index:c,endIndex:c,result:a,ruleName:sC,fix(){s=!0,i.quoteMark=r}})}if(i.quoteMark===r){if(o){bc(i.value);let o=i.value.includes(n);if(i.value.includes(r)){rC({message:cC.expected,messageArgs:[e],node:t,index:c,endIndex:c,result:a,ruleName:sC,fix(){s=!0,i.quoteMark=n}});return}if(o)return}rC({message:cC.expected,messageArgs:[e],node:t,index:c,endIndex:c,result:a,ruleName:sC,fix(){s=!0,i.quoteMark=n}})}}),s&&(t.selector=i.toString())});for(let e of i)t.selector=fC(t.selector,e,n)}function c(t,i,s){let c=[];if(!i.includes(r))return;let l=q(t)?t.raws.params:t.raws.value,u=!!(l&&l.scss),d=u?dC(l.raw,l.scss):1/0;if(q(t)&&t.name===`charset`&&(t.params.startsWith(`"`)&&t.params.endsWith(`"`)||n===`'`)||((0,U.default)(i).walk(i=>{if(i.type===`string`&&i.quote===r){let l=i.value.includes(n);if(o&&l)return;let f=i.sourceIndex;if(f>=d)return;let p=s(t)+f;rC({message:cC.expected,messageArgs:[e],node:t,index:p,endIndex:p,result:a,ruleName:sC,fix:u?void 0:()=>{if(!l){let e=f+i.value.length+r.length;c.push(f,e)}}})}}),c.length===0))return;let f=i;for(let e of c)f=fC(f,e,n);q(t)?nC(t,f):Nu(t,f)}}}function dC(e,t){let n=0;for(;n<e.length&&n<t.length&&e[n]===t[n];)n+=1;return n}function fC(e,t,n){return e.slice(0,t)+n+e.slice(t+n.length)}uC.ruleName=sC,uC.messages=cC,uC.meta=lC;let{utils:{report:pC,ruleMessages:mC,validateOptions:hC}}=t,gC=`unicode-bom`,_C=W(gC),vC=mC(_C,{expected:`Expected Unicode BOM`,rejected:`Unexpected Unicode BOM`}),yC={url:G(gC)};function bC(e){return(t,n)=>{if(!hC(n,_C,{actual:e,possible:[`always`,`never`]})||!t.source||t.source.inline||t.source.lang===`object-literal`||t.document!==void 0)return;let{hasBOM:r}=t.source.input;e===`always`&&!r&&pC({result:n,ruleName:_C,message:vC.expected,node:t}),e===`never`&&r&&pC({result:n,ruleName:_C,message:vC.rejected,node:t})}}bC.ruleName=_C,bC.messages=vC,bC.meta=yC;function xC(e,t=` `){return e.replaceAll(/[#@{}]+/gu,t)}function SC(e){let t=e;return/^[-+*/]/u.test(e.charAt(0))&&(t=t.slice(1)),!(t.startsWith(`$`)||/^.+\.\$/u.test(e)||/^.+\.[-\w]+\(/u.test(e)||t.startsWith(`@`)||ny(t)||/__MSG_\S+__/u.test(e))}function CC(e){if(!e||!e.value||e.type!==`word`||!SC(e.value)||e.value.startsWith(`#`))return{unit:null,number:null};let t=xC(e.value,``).replace(`\\0`,``).replace(`\\9`,``);return U.default.unit(t)||{unit:null,number:null}}let{utils:{report:wC,ruleMessages:TC,validateOptions:EC}}=t,DC=`unit-case`,OC=W(DC),kC=TC(OC,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),AC={url:G(DC),fixable:!0};function jC(e){return(t,n)=>{if(!EC(n,OC,{actual:e,possible:[`lower`,`upper`]}))return;function r(t,r,i){let a=[];function o(n){let{number:r,unit:o}=CC(n);if(!r||!o)return!1;let s=e===`lower`?o.toLowerCase():o.toUpperCase();if(o===s)return!1;let c=i(t);return a.push({index:c+n.sourceIndex+r.length,endIndex:c+n.sourceEndIndex,message:kC.expected,messageArgs:[o,s]}),!0}let s=(0,U.default)(r).walk(t=>{let n=t.value;if(t.type===`function`&&n.toLowerCase()===`url`)return!1;n.includes(`*`)&&n.split(`*`).some(e=>o({...t,sourceIndex:n.indexOf(e)+e.length+1,value:e})),o(t)&&(t.value=e===`lower`?n.toLowerCase():n.toUpperCase())});if(a.length>0)for(let e of a)wC({index:e.index,endIndex:e.endIndex,message:e.message,messageArgs:e.messageArgs,node:t,result:n,ruleName:OC,fix(){`name`in t&&t.name===`media`?t.params=s.toString():`value`in t&&(t.value=s.toString())}})}t.walkAtRules(e=>{(/^media$/iu.test(e.name)||`variable`in e)&&r(e,e.params,Fp)}),t.walkDecls(e=>r(e,e.value,J))}}jC.ruleName=OC,jC.messages=kC,jC.meta=AC;let{utils:{report:MC}}=t;function NC(e){e.root.walkDecls(n=>{if(!Qd(n)||!tb(n.prop))return;let r=n.toString();(0,qu.default)({source:r,target:`,`,functionArguments:`skip`},i=>{let a=e.determineIndex?e.determineIndex(r,i):i.startIndex;a!==!1&&t(r,a,n)})});function t(t,n,r){e.locationChecker({source:t,index:n,err:t=>{MC({message:t,node:r,index:n,endIndex:n,result:e.result,ruleName:e.checkedRuleName,fix:e.fix?()=>e.fix(r,n):void 0})}})}}let{utils:{ruleMessages:PC,validateOptions:FC}}=t,IC=`value-list-comma-newline-after`,LC=W(IC),RC=PC(LC,{expectedAfter:()=>`Expected newline after ","`,expectedAfterMultiLine:()=>`Expected newline after "," in a multi-line list`,rejectedAfterMultiLine:()=>`Unexpected whitespace after "," in a multi-line list`}),zC={url:G(IC),fixable:!0};function BC(e,t,n){let r=K(`newline`,e,RC);return(t,i)=>{if(!FC(i,LC,{actual:e,possible:[`always`,`always-multi-line`,`never-multi-line`]}))return;let a;if(NC({root:t,result:i,locationChecker:r.afterOneOnly,checkedRuleName:LC,fix:(e,t)=>{if(t<=J(e))return!1;a||=/* @__PURE__ */ new Map;let n=a.get(e)||[];return n.push(t),a.set(e,n),!0},determineIndex:(e,t)=>{let n=e.slice(t.endIndex);return/^[ \t]*\/\//u.test(n)?!1:/^[ \t]*\/\*/u.test(n)?e.indexOf(`*/`,t.endIndex)+1:t.startIndex}}),a)for(let[t,r]of a.entries())for(let i of r.toSorted((e,t)=>e-t).toReversed()){let r=Y(t),a=i-J(t),o=r.slice(0,a+1),s=r.slice(a+1);e.startsWith(`always`)?s=n.newline+s:e.startsWith(`never-multi-line`)&&(s=s.replace(/^\s*/u,``)),Nu(t,o+s)}}}BC.ruleName=LC,BC.messages=RC,BC.meta=zC;let{utils:{ruleMessages:VC,validateOptions:HC}}=t,UC=`value-list-comma-newline-before`,WC=W(UC),GC=VC(WC,{expectedBefore:()=>`Expected newline before ","`,expectedBeforeMultiLine:()=>`Expected newline before "," in a multi-line list`,rejectedBeforeMultiLine:()=>`Unexpected whitespace before "," in a multi-line list`}),KC={url:G(UC)};function qC(e){let t=K(`newline`,e,GC);return(n,r)=>{HC(r,WC,{actual:e,possible:[`always`,`always-multi-line`,`never-multi-line`]})&&NC({root:n,result:r,locationChecker:t.beforeAllowingIndentation,checkedRuleName:WC})}}qC.ruleName=WC,qC.messages=GC,qC.meta=KC;let{utils:{ruleMessages:JC,validateOptions:YC}}=t,XC=`value-list-comma-space-after`,ZC=W(XC),QC=JC(ZC,{expectedAfter:()=>`Expected single space after ","`,rejectedAfter:()=>`Unexpected whitespace after ","`,expectedAfterSingleLine:()=>`Expected single space after "," in a single-line list`,rejectedAfterSingleLine:()=>`Unexpected whitespace after "," in a single-line list`}),$C={url:G(XC),fixable:!0};function ew(e){let t=K(`space`,e,QC);return(n,r)=>{if(!YC(r,ZC,{actual:e,possible:[`always`,`never`,`always-single-line`,`never-single-line`]}))return;let i;if(NC({root:n,result:r,locationChecker:t.after,checkedRuleName:ZC,fix:(e,t)=>{if(t<=J(e))return!1;i||=/* @__PURE__ */ new Map;let n=i.get(e)||[];return n.push(t),i.set(e,n),!0}}),i)for(let[t,n]of i.entries())for(let r of n.toSorted((e,t)=>t-e)){let n=Y(t),i=r-J(t),a=n.slice(0,i+1),o=n.slice(i+1);e.startsWith(`always`)?o=o.replace(/^\s*/u,` `):e.startsWith(`never`)&&(o=o.replace(/^\s*/u,``)),Nu(t,a+o)}}}ew.ruleName=ZC,ew.messages=QC,ew.meta=$C;let{utils:{ruleMessages:tw,validateOptions:nw}}=t,rw=`value-list-comma-space-before`,iw=W(rw),aw=tw(iw,{expectedBefore:()=>`Expected single space before ","`,rejectedBefore:()=>`Unexpected whitespace before ","`,expectedBeforeSingleLine:()=>`Unexpected whitespace before "," in a single-line list`,rejectedBeforeSingleLine:()=>`Unexpected whitespace before "," in a single-line list`}),ow={url:G(rw),fixable:!0};function sw(e){let t=K(`space`,e,aw);return(n,r)=>{if(!nw(r,iw,{actual:e,possible:[`always`,`never`,`always-single-line`,`never-single-line`]}))return;let i;if(NC({root:n,result:r,locationChecker:t.before,checkedRuleName:iw,fix:(e,t)=>{if(t<=J(e))return!1;i||=/* @__PURE__ */ new Map;let n=i.get(e)||[];return n.push(t),i.set(e,n),!0}}),i)for(let[t,n]of i.entries())for(let r of n.toSorted((e,t)=>t-e)){let n=Y(t),i=r-J(t),a=n.slice(0,i),o=n.slice(i);e.startsWith(`always`)?a=a.replace(/\s*$/u,` `):e.startsWith(`never`)&&(a=a.replace(/\s*$/u,``)),Nu(t,a+o)}}}sw.ruleName=iw,sw.messages=aw,sw.meta=ow;let{utils:{report:cw,ruleMessages:lw,validateOptions:uw}}=t,dw=`value-list-max-empty-lines`,fw=W(dw),pw=lw(fw,{expected:e=>`Expected no more than ${e} empty ${e===1?`line`:`lines`}`}),mw={url:G(dw),fixable:!0};function hw(e){let t=e+1;return(n,r)=>{if(!uw(r,fw,{actual:e,possible:mc}))return;let i=RegExp(`(?:\r\n){${t+1},}`,`u`),a=RegExp(`\n{${t+1},}`,`u`),o=`
|
|
103
|
-
`.repeat(t),s=`\r
|
|
104
|
-
`.repeat(t);n.walkDecls(t=>{let n=Y(t);(a.test(n)||i.test(n))&&cw({message:pw.expected,messageArgs:[e],node:t,index:0,endIndex:0,result:r,ruleName:fw,fix(){Nu(t,n.replaceAll(new RegExp(a,`gmu`),o).replaceAll(new RegExp(i,`gmu`),s))}})})}}hw.ruleName=fw,hw.messages=pw,hw.meta=mw;var gw={"at-rule-name-case":ac,"at-rule-name-newline-after":Dc,"at-rule-name-space-after":Pc,"at-rule-semicolon-newline-after":Gc,"at-rule-semicolon-space-before":$c,"block-closing-brace-empty-line-before":Sl,"block-closing-brace-newline-after":Al,"block-closing-brace-newline-before":Rl,"block-closing-brace-space-after":Kl,"block-closing-brace-space-before":eu,"block-opening-brace-newline-after":cu,"block-opening-brace-newline-before":gu,"block-opening-brace-space-after":wu,"block-opening-brace-space-before":Mu,"color-hex-case":Wu,"declaration-bang-space-after":nd,"declaration-bang-space-before":ld,"declaration-block-semicolon-newline-after":_d,"declaration-block-semicolon-newline-before":Ed,"declaration-block-semicolon-space-after":Pd,"declaration-block-semicolon-space-before":Hd,"declaration-block-trailing-semicolon":Xd,"declaration-colon-newline-after":sf,"declaration-colon-space-after":gf,"declaration-colon-space-before":Cf,"function-comma-newline-after":Ff,"function-comma-newline-before":Hf,"function-comma-space-after":Yf,"function-comma-space-before":np,"function-max-empty-lines":dp,"function-parentheses-newline-inside":yp,"function-parentheses-space-inside":Pp,"function-whitespace-after":Wp,indentation:tm,linebreaks:hm,"max-empty-lines":Cm,"max-line-length":Nm,"media-feature-colon-space-after":Hm,"media-feature-colon-space-before":Ym,"media-feature-name-case":h_,"media-feature-parentheses-space-inside":C_,"media-feature-range-operator-space-after":N_,"media-feature-range-operator-space-before":V_,"media-query-list-comma-newline-after":X_,"media-query-list-comma-newline-before":rv,"media-query-list-comma-space-after":uv,"media-query-list-comma-space-before":_v,"named-grid-areas-alignment":Tv,"no-empty-first-line":Pv,"no-eol-whitespace":qv,"no-extra-semicolons":py,"no-missing-end-of-source-newline":Sy,"no-multiple-whitespaces":Fy,"number-leading-zero":Uy,"number-no-trailing-zeros":$y,"property-case":lb,"selector-attribute-brackets-space-inside":Zb,"selector-attribute-operator-space-after":ox,"selector-attribute-operator-space-before":px,"selector-combinator-space-after":Ex,"selector-combinator-space-before":Nx,"selector-descendant-combinator-no-non-space":Vx,"selector-list-comma-newline-after":Yx,"selector-list-comma-newline-before":iS,"selector-list-comma-space-after":dS,"selector-list-comma-space-before":vS,"selector-max-empty-lines":ES,"selector-pseudo-class-case":FS,"selector-pseudo-class-parentheses-space-inside":US,"selector-pseudo-element-case":eC,"string-quotes":uC,"unicode-bom":bC,"unit-case":jC,"value-list-comma-newline-after":BC,"value-list-comma-newline-before":qC,"value-list-comma-space-after":ew,"value-list-comma-space-before":sw,"value-list-max-empty-lines":hw};let _w=Object.keys(gw).map(e=>t.createPlugin(W(e),gw[e]));var vw=/* @__PURE__ */ p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=new Uint16Array(`ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻\xA0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌`.split(``).map(function(e){return e.charCodeAt(0)}))})),yw=/* @__PURE__ */ p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=new Uint16Array(`Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢`.split(``).map(function(e){return e.charCodeAt(0)}))})),bw=/* @__PURE__ */ p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.replaceCodePoint=e.fromCodePoint=void 0;var t=/* @__PURE__ */ new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);e.fromCodePoint=String.fromCodePoint??function(e){var t=``;return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function n(e){return e>=55296&&e<=57343||e>1114111?65533:t.get(e)??e}e.replaceCodePoint=n;function r(t){return(0,e.fromCodePoint)(n(t))}e.default=r})),xw=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),i=n&&n.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),a=n&&n.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},o=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXML=e.decodeHTMLStrict=e.decodeHTMLAttribute=e.decodeHTML=e.determineBranch=e.EntityDecoder=e.DecodingMode=e.BinTrieFlags=e.fromCodePoint=e.replaceCodePoint=e.decodeCodePoint=e.xmlDecodeTree=e.htmlDecodeTree=void 0;var s=o(vw());e.htmlDecodeTree=s.default;var c=o(yw());e.xmlDecodeTree=c.default;var l=a(bw());e.decodeCodePoint=l.default;var u=bw();Object.defineProperty(e,"replaceCodePoint",{enumerable:!0,get:function(){return u.replaceCodePoint}}),Object.defineProperty(e,"fromCodePoint",{enumerable:!0,get:function(){return u.fromCodePoint}});var d;(function(e){e[e.NUM=35]=`NUM`,e[e.SEMI=59]=`SEMI`,e[e.EQUALS=61]=`EQUALS`,e[e.ZERO=48]=`ZERO`,e[e.NINE=57]=`NINE`,e[e.LOWER_A=97]=`LOWER_A`,e[e.LOWER_F=102]=`LOWER_F`,e[e.LOWER_X=120]=`LOWER_X`,e[e.LOWER_Z=122]=`LOWER_Z`,e[e.UPPER_A=65]=`UPPER_A`,e[e.UPPER_F=70]=`UPPER_F`,e[e.UPPER_Z=90]=`UPPER_Z`})(d||={});var f=32,p;(function(e){e[e.VALUE_LENGTH=49152]=`VALUE_LENGTH`,e[e.BRANCH_LENGTH=16256]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`})(p=e.BinTrieFlags||={});function m(e){return e>=d.ZERO&&e<=d.NINE}function h(e){return e>=d.UPPER_A&&e<=d.UPPER_F||e>=d.LOWER_A&&e<=d.LOWER_F}function g(e){return e>=d.UPPER_A&&e<=d.UPPER_Z||e>=d.LOWER_A&&e<=d.LOWER_Z||m(e)}function _(e){return e===d.EQUALS||g(e)}var v;(function(e){e[e.EntityStart=0]=`EntityStart`,e[e.NumericStart=1]=`NumericStart`,e[e.NumericDecimal=2]=`NumericDecimal`,e[e.NumericHex=3]=`NumericHex`,e[e.NamedEntity=4]=`NamedEntity`})(v||={});var y;(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(y=e.DecodingMode||={});var b=function(){function e(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=v.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=y.Strict}return e.prototype.startEntity=function(e){this.decodeMode=e,this.state=v.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},e.prototype.write=function(e,t){switch(this.state){case v.EntityStart:return e.charCodeAt(t)===d.NUM?(this.state=v.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=v.NamedEntity,this.stateNamedEntity(e,t));case v.NumericStart:return this.stateNumericStart(e,t);case v.NumericDecimal:return this.stateNumericDecimal(e,t);case v.NumericHex:return this.stateNumericHex(e,t);case v.NamedEntity:return this.stateNamedEntity(e,t)}},e.prototype.stateNumericStart=function(e,t){return t>=e.length?-1:(e.charCodeAt(t)|f)===d.LOWER_X?(this.state=v.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=v.NumericDecimal,this.stateNumericDecimal(e,t))},e.prototype.addToNumericResult=function(e,t,n,r){if(t!==n){var i=n-t;this.result=this.result*r**+i+parseInt(e.substr(t,i),r),this.consumed+=i}},e.prototype.stateNumericHex=function(e,t){for(var n=t;t<e.length;){var r=e.charCodeAt(t);if(m(r)||h(r))t+=1;else return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(e,n,t,16),-1},e.prototype.stateNumericDecimal=function(e,t){for(var n=t;t<e.length;){var r=e.charCodeAt(t);if(m(r))t+=1;else return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(e,n,t,10),-1},e.prototype.emitNumericEntity=function(e,t){var n;if(this.consumed<=t)return(n=this.errors)==null||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===d.SEMI)this.consumed+=1;else if(this.decodeMode===y.Strict)return 0;return this.emitCodePoint((0,l.replaceCodePoint)(this.result),this.consumed),this.errors&&(e!==d.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed},e.prototype.stateNamedEntity=function(e,t){for(var n=this.decodeTree,r=n[this.treeIndex],i=(r&p.VALUE_LENGTH)>>14;t<e.length;t++,this.excess++){var a=e.charCodeAt(t);if(this.treeIndex=S(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===y.Attribute&&(i===0||_(a))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&p.VALUE_LENGTH)>>14,i!==0){if(a===d.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==y.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1},e.prototype.emitNotTerminatedNamedEntity=function(){var e,t=this,n=t.result,r=(t.decodeTree[n]&p.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,r,this.consumed),(e=this.errors)==null||e.missingSemicolonAfterCharacterReference(),this.consumed},e.prototype.emitNamedEntityData=function(e,t,n){var r=this.decodeTree;return this.emitCodePoint(t===1?r[e]&~p.VALUE_LENGTH:r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n},e.prototype.end=function(){var e;switch(this.state){case v.NamedEntity:return this.result!==0&&(this.decodeMode!==y.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case v.NumericDecimal:return this.emitNumericEntity(0,2);case v.NumericHex:return this.emitNumericEntity(0,3);case v.NumericStart:return(e=this.errors)==null||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case v.EntityStart:return 0}},e}();e.EntityDecoder=b;function x(e){var t=``,n=new b(e,function(e){return t+=(0,l.fromCodePoint)(e)});return function(e,r){for(var i=0,a=0;(a=e.indexOf(`&`,a))>=0;){t+=e.slice(i,a),n.startEntity(r);var o=n.write(e,a+1);if(o<0){i=a+n.end();break}i=a+o,a=o===0?i+1:i}var s=t+e.slice(i);return t=``,s}}function S(e,t,n,r){var i=(t&p.BRANCH_LENGTH)>>7,a=t&p.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){var o=r-a;return o<0||o>=i?-1:e[n+o]-1}for(var s=n,c=s+i-1;s<=c;){var l=s+c>>>1,u=e[l];if(u<r)s=l+1;else if(u>r)c=l-1;else return e[l+i]}return-1}e.determineBranch=S;var C=x(s.default),w=x(c.default);function T(e,t){return t===void 0&&(t=y.Legacy),C(e,t)}e.decodeHTML=T;function E(e){return C(e,y.Attribute)}e.decodeHTMLAttribute=E;function ee(e){return C(e,y.Strict)}e.decodeHTMLStrict=ee;function D(e){return w(e,y.Strict)}e.decodeXML=D})),Sw=/* @__PURE__ */ p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.QuoteType=void 0;var t=xw(),n;(function(e){e[e.Tab=9]=`Tab`,e[e.NewLine=10]=`NewLine`,e[e.FormFeed=12]=`FormFeed`,e[e.CarriageReturn=13]=`CarriageReturn`,e[e.Space=32]=`Space`,e[e.ExclamationMark=33]=`ExclamationMark`,e[e.Number=35]=`Number`,e[e.Amp=38]=`Amp`,e[e.SingleQuote=39]=`SingleQuote`,e[e.DoubleQuote=34]=`DoubleQuote`,e[e.Dash=45]=`Dash`,e[e.Slash=47]=`Slash`,e[e.Zero=48]=`Zero`,e[e.Nine=57]=`Nine`,e[e.Semi=59]=`Semi`,e[e.Lt=60]=`Lt`,e[e.Eq=61]=`Eq`,e[e.Gt=62]=`Gt`,e[e.Questionmark=63]=`Questionmark`,e[e.UpperA=65]=`UpperA`,e[e.LowerA=97]=`LowerA`,e[e.UpperF=70]=`UpperF`,e[e.LowerF=102]=`LowerF`,e[e.UpperZ=90]=`UpperZ`,e[e.LowerZ=122]=`LowerZ`,e[e.LowerX=120]=`LowerX`,e[e.OpeningSquareBracket=91]=`OpeningSquareBracket`})(n||={});var r;(function(e){e[e.Text=1]=`Text`,e[e.BeforeTagName=2]=`BeforeTagName`,e[e.InTagName=3]=`InTagName`,e[e.InSelfClosingTag=4]=`InSelfClosingTag`,e[e.BeforeClosingTagName=5]=`BeforeClosingTagName`,e[e.InClosingTagName=6]=`InClosingTagName`,e[e.AfterClosingTagName=7]=`AfterClosingTagName`,e[e.BeforeAttributeName=8]=`BeforeAttributeName`,e[e.InAttributeName=9]=`InAttributeName`,e[e.AfterAttributeName=10]=`AfterAttributeName`,e[e.BeforeAttributeValue=11]=`BeforeAttributeValue`,e[e.InAttributeValueDq=12]=`InAttributeValueDq`,e[e.InAttributeValueSq=13]=`InAttributeValueSq`,e[e.InAttributeValueNq=14]=`InAttributeValueNq`,e[e.BeforeDeclaration=15]=`BeforeDeclaration`,e[e.InDeclaration=16]=`InDeclaration`,e[e.InProcessingInstruction=17]=`InProcessingInstruction`,e[e.BeforeComment=18]=`BeforeComment`,e[e.CDATASequence=19]=`CDATASequence`,e[e.InSpecialComment=20]=`InSpecialComment`,e[e.InCommentLike=21]=`InCommentLike`,e[e.BeforeSpecialS=22]=`BeforeSpecialS`,e[e.SpecialStartSequence=23]=`SpecialStartSequence`,e[e.InSpecialTag=24]=`InSpecialTag`,e[e.BeforeEntity=25]=`BeforeEntity`,e[e.BeforeNumericEntity=26]=`BeforeNumericEntity`,e[e.InNamedEntity=27]=`InNamedEntity`,e[e.InNumericEntity=28]=`InNumericEntity`,e[e.InHexEntity=29]=`InHexEntity`})(r||={});function i(e){return e===n.Space||e===n.NewLine||e===n.Tab||e===n.FormFeed||e===n.CarriageReturn}function a(e){return e===n.Slash||e===n.Gt||i(e)}function o(e){return e>=n.Zero&&e<=n.Nine}function s(e){return e>=n.LowerA&&e<=n.LowerZ||e>=n.UpperA&&e<=n.UpperZ}function c(e){return e>=n.UpperA&&e<=n.UpperF||e>=n.LowerA&&e<=n.LowerF}var l;(function(e){e[e.NoValue=0]=`NoValue`,e[e.Unquoted=1]=`Unquoted`,e[e.Single=2]=`Single`,e[e.Double=3]=`Double`})(l=e.QuoteType||={});var u={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])};e.default=function(){function e(e,n){var i=e.xmlMode,a=i!==void 0&&i,o=e.decodeEntities,s=o===void 0||o;this.cbs=n,this.state=r.Text,this.buffer=``,this.sectionStart=0,this.index=0,this.baseState=r.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=a,this.decodeEntities=s,this.entityTrie=a?t.xmlDecodeTree:t.htmlDecodeTree}return e.prototype.reset=function(){this.state=r.Text,this.buffer=``,this.sectionStart=0,this.index=0,this.baseState=r.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},e.prototype.write=function(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()},e.prototype.end=function(){this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},e.prototype.getIndex=function(){return this.index},e.prototype.getSectionStart=function(){return this.sectionStart},e.prototype.stateText=function(e){e===n.Lt||!this.decodeEntities&&this.fastForwardTo(n.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=r.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===n.Amp&&(this.state=r.BeforeEntity)},e.prototype.stateSpecialStartSequence=function(e){var t=this.sequenceIndex===this.currentSequence.length;if(!(t?a(e):(e|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!t){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=r.InTagName,this.stateInTagName(e)},e.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(e===n.Gt||i(e)){var t=this.index-this.currentSequence.length;if(this.sectionStart<t){var a=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=a}this.isSpecial=!1,this.sectionStart=t+2,this.stateInClosingTagName(e);return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===u.TitleEnd?this.decodeEntities&&e===n.Amp&&(this.state=r.BeforeEntity):this.fastForwardTo(n.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===n.Lt)},e.prototype.stateCDATASequence=function(e){e===u.Cdata[this.sequenceIndex]?++this.sequenceIndex===u.Cdata.length&&(this.state=r.InCommentLike,this.currentSequence=u.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=r.InDeclaration,this.stateInDeclaration(e))},e.prototype.fastForwardTo=function(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1},e.prototype.stateInCommentLike=function(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===u.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=r.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},e.prototype.isTagStartChar=function(e){return this.xmlMode?!a(e):s(e)},e.prototype.startSpecial=function(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=r.SpecialStartSequence},e.prototype.stateBeforeTagName=function(e){if(e===n.ExclamationMark)this.state=r.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===n.Questionmark)this.state=r.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){var t=e|32;this.sectionStart=this.index,!this.xmlMode&&t===u.TitleEnd[2]?this.startSpecial(u.TitleEnd,3):this.state=!this.xmlMode&&t===u.ScriptEnd[2]?r.BeforeSpecialS:r.InTagName}else e===n.Slash?this.state=r.BeforeClosingTagName:(this.state=r.Text,this.stateText(e))},e.prototype.stateInTagName=function(e){a(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateBeforeClosingTagName=function(e){i(e)||(e===n.Gt?this.state=r.Text:(this.state=this.isTagStartChar(e)?r.InClosingTagName:r.InSpecialComment,this.sectionStart=this.index))},e.prototype.stateInClosingTagName=function(e){(e===n.Gt||i(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=r.AfterClosingTagName,this.stateAfterClosingTagName(e))},e.prototype.stateAfterClosingTagName=function(e){(e===n.Gt||this.fastForwardTo(n.Gt))&&(this.state=r.Text,this.baseState=r.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeAttributeName=function(e){e===n.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=r.InSpecialTag,this.sequenceIndex=0):this.state=r.Text,this.baseState=this.state,this.sectionStart=this.index+1):e===n.Slash?this.state=r.InSelfClosingTag:i(e)||(this.state=r.InAttributeName,this.sectionStart=this.index)},e.prototype.stateInSelfClosingTag=function(e){e===n.Gt?(this.cbs.onselfclosingtag(this.index),this.state=r.Text,this.baseState=r.Text,this.sectionStart=this.index+1,this.isSpecial=!1):i(e)||(this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateInAttributeName=function(e){(e===n.Eq||a(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=r.AfterAttributeName,this.stateAfterAttributeName(e))},e.prototype.stateAfterAttributeName=function(e){e===n.Eq?this.state=r.BeforeAttributeValue:e===n.Slash||e===n.Gt?(this.cbs.onattribend(l.NoValue,this.index),this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(e)):i(e)||(this.cbs.onattribend(l.NoValue,this.index),this.state=r.InAttributeName,this.sectionStart=this.index)},e.prototype.stateBeforeAttributeValue=function(e){e===n.DoubleQuote?(this.state=r.InAttributeValueDq,this.sectionStart=this.index+1):e===n.SingleQuote?(this.state=r.InAttributeValueSq,this.sectionStart=this.index+1):i(e)||(this.sectionStart=this.index,this.state=r.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))},e.prototype.handleInAttributeValue=function(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===n.DoubleQuote?l.Double:l.Single,this.index),this.state=r.BeforeAttributeName):this.decodeEntities&&e===n.Amp&&(this.baseState=this.state,this.state=r.BeforeEntity)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,n.DoubleQuote)},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,n.SingleQuote)},e.prototype.stateInAttributeValueNoQuotes=function(e){i(e)||e===n.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(l.Unquoted,this.index),this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===n.Amp&&(this.baseState=this.state,this.state=r.BeforeEntity)},e.prototype.stateBeforeDeclaration=function(e){e===n.OpeningSquareBracket?(this.state=r.CDATASequence,this.sequenceIndex=0):this.state=e===n.Dash?r.BeforeComment:r.InDeclaration},e.prototype.stateInDeclaration=function(e){(e===n.Gt||this.fastForwardTo(n.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=r.Text,this.sectionStart=this.index+1)},e.prototype.stateInProcessingInstruction=function(e){(e===n.Gt||this.fastForwardTo(n.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=r.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeComment=function(e){e===n.Dash?(this.state=r.InCommentLike,this.currentSequence=u.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=r.InDeclaration},e.prototype.stateInSpecialComment=function(e){(e===n.Gt||this.fastForwardTo(n.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=r.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeSpecialS=function(e){var t=e|32;t===u.ScriptEnd[3]?this.startSpecial(u.ScriptEnd,4):t===u.StyleEnd[3]?this.startSpecial(u.StyleEnd,4):(this.state=r.InTagName,this.stateInTagName(e))},e.prototype.stateBeforeEntity=function(e){this.entityExcess=1,this.entityResult=0,e===n.Number?this.state=r.BeforeNumericEntity:e===n.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=r.InNamedEntity,this.stateInNamedEntity(e))},e.prototype.stateInNamedEntity=function(e){if(this.entityExcess+=1,this.trieIndex=(0,t.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0)this.emitNamedEntity(),this.index--;else{this.trieCurrent=this.entityTrie[this.trieIndex];var r=this.trieCurrent&t.BinTrieFlags.VALUE_LENGTH;if(r){var i=(r>>14)-1;if(!this.allowLegacyEntity()&&e!==n.Semi)this.trieIndex+=i;else{var a=this.index-this.entityExcess+1;a>this.sectionStart&&this.emitPartial(this.sectionStart,a),this.entityResult=this.trieIndex,this.trieIndex+=i,this.entityExcess=0,this.sectionStart=this.index+1,i===0&&this.emitNamedEntity()}}}},e.prototype.emitNamedEntity=function(){if(this.state=this.baseState,this.entityResult!==0)switch((this.entityTrie[this.entityResult]&t.BinTrieFlags.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~t.BinTrieFlags.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}},e.prototype.stateBeforeNumericEntity=function(e){(e|32)===n.LowerX?(this.entityExcess++,this.state=r.InHexEntity):(this.state=r.InNumericEntity,this.stateInNumericEntity(e))},e.prototype.emitNumericEntity=function(e){var n=this.index-this.entityExcess-1;n+2+Number(this.state===r.InHexEntity)!==this.index&&(n>this.sectionStart&&this.emitPartial(this.sectionStart,n),this.sectionStart=this.index+Number(e),this.emitCodePoint((0,t.replaceCodePoint)(this.entityResult))),this.state=this.baseState},e.prototype.stateInNumericEntity=function(e){e===n.Semi?this.emitNumericEntity(!0):o(e)?(this.entityResult=this.entityResult*10+(e-n.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.stateInHexEntity=function(e){e===n.Semi?this.emitNumericEntity(!0):o(e)?(this.entityResult=this.entityResult*16+(e-n.Zero),this.entityExcess++):c(e)?(this.entityResult=this.entityResult*16+((e|32)-n.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===r.Text||this.baseState===r.InSpecialTag)},e.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===r.Text||this.state===r.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===r.InAttributeValueDq||this.state===r.InAttributeValueSq||this.state===r.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},e.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},e.prototype.parse=function(){for(;this.shouldContinue();){var e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case r.Text:this.stateText(e);break;case r.SpecialStartSequence:this.stateSpecialStartSequence(e);break;case r.InSpecialTag:this.stateInSpecialTag(e);break;case r.CDATASequence:this.stateCDATASequence(e);break;case r.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(e);break;case r.InAttributeName:this.stateInAttributeName(e);break;case r.InCommentLike:this.stateInCommentLike(e);break;case r.InSpecialComment:this.stateInSpecialComment(e);break;case r.BeforeAttributeName:this.stateBeforeAttributeName(e);break;case r.InTagName:this.stateInTagName(e);break;case r.InClosingTagName:this.stateInClosingTagName(e);break;case r.BeforeTagName:this.stateBeforeTagName(e);break;case r.AfterAttributeName:this.stateAfterAttributeName(e);break;case r.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(e);break;case r.BeforeAttributeValue:this.stateBeforeAttributeValue(e);break;case r.BeforeClosingTagName:this.stateBeforeClosingTagName(e);break;case r.AfterClosingTagName:this.stateAfterClosingTagName(e);break;case r.BeforeSpecialS:this.stateBeforeSpecialS(e);break;case r.InAttributeValueNq:this.stateInAttributeValueNoQuotes(e);break;case r.InSelfClosingTag:this.stateInSelfClosingTag(e);break;case r.InDeclaration:this.stateInDeclaration(e);break;case r.BeforeDeclaration:this.stateBeforeDeclaration(e);break;case r.BeforeComment:this.stateBeforeComment(e);break;case r.InProcessingInstruction:this.stateInProcessingInstruction(e);break;case r.InNamedEntity:this.stateInNamedEntity(e);break;case r.BeforeEntity:this.stateBeforeEntity(e);break;case r.InHexEntity:this.stateInHexEntity(e);break;case r.InNumericEntity:this.stateInNumericEntity(e);break;default:this.stateBeforeNumericEntity(e)}this.index++}this.cleanup()},e.prototype.finish=function(){this.state===r.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},e.prototype.handleTrailingData=function(){var e=this.buffer.length+this.offset;this.state===r.InCommentLike?this.currentSequence===u.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===r.InNumericEntity&&this.allowLegacyEntity()||this.state===r.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===r.InTagName||this.state===r.BeforeAttributeName||this.state===r.BeforeAttributeValue||this.state===r.AfterAttributeName||this.state===r.InAttributeName||this.state===r.InAttributeValueSq||this.state===r.InAttributeValueDq||this.state===r.InAttributeValueNq||this.state===r.InClosingTagName||this.cbs.ontext(this.sectionStart,e)},e.prototype.emitPartial=function(e,t){this.baseState!==r.Text&&this.baseState!==r.InSpecialTag?this.cbs.onattribdata(e,t):this.cbs.ontext(e,t)},e.prototype.emitCodePoint=function(e){this.baseState!==r.Text&&this.baseState!==r.InSpecialTag?this.cbs.onattribentity(e):this.cbs.ontextentity(e)},e}()})),Cw=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),i=n&&n.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),a=n&&n.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(e,"__esModule",{value:!0}),e.Parser=void 0;var o=a(Sw()),s=xw(),c=/* @__PURE__ */ new Set([`input`,`option`,`optgroup`,`select`,`button`,`datalist`,`textarea`]),l=/* @__PURE__ */ new Set([`p`]),u=/* @__PURE__ */ new Set([`thead`,`tbody`]),d=/* @__PURE__ */ new Set([`dd`,`dt`]),f=/* @__PURE__ */ new Set([`rt`,`rp`]),p=/* @__PURE__ */ new Map([[`tr`,/* @__PURE__ */ new Set([`tr`,`th`,`td`])],[`th`,/* @__PURE__ */ new Set([`th`])],[`td`,/* @__PURE__ */ new Set([`thead`,`th`,`td`])],[`body`,/* @__PURE__ */ new Set([`head`,`link`,`script`])],[`li`,/* @__PURE__ */ new Set([`li`])],[`p`,l],[`h1`,l],[`h2`,l],[`h3`,l],[`h4`,l],[`h5`,l],[`h6`,l],[`select`,c],[`input`,c],[`output`,c],[`button`,c],[`datalist`,c],[`textarea`,c],[`option`,/* @__PURE__ */ new Set([`option`])],[`optgroup`,/* @__PURE__ */ new Set([`optgroup`,`option`])],[`dd`,d],[`dt`,d],[`address`,l],[`article`,l],[`aside`,l],[`blockquote`,l],[`details`,l],[`div`,l],[`dl`,l],[`fieldset`,l],[`figcaption`,l],[`figure`,l],[`footer`,l],[`form`,l],[`header`,l],[`hr`,l],[`main`,l],[`nav`,l],[`ol`,l],[`pre`,l],[`section`,l],[`table`,l],[`ul`,l],[`rt`,f],[`rp`,f],[`tbody`,u],[`tfoot`,u]]),m=/* @__PURE__ */ new Set([`area`,`base`,`basefont`,`br`,`col`,`command`,`embed`,`frame`,`hr`,`img`,`input`,`isindex`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`]),h=/* @__PURE__ */ new Set([`math`,`svg`]),g=/* @__PURE__ */ new Set([`mi`,`mo`,`mn`,`ms`,`mtext`,`annotation-xml`,`foreignobject`,`desc`,`title`]),_=/\s|\//;e.Parser=function(){function e(e,t){t===void 0&&(t={});var n,r;this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname=``,this.attribname=``,this.attribvalue=``,this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=e??{},this.lowerCaseTagNames=t.lowerCaseTags??!t.xmlMode,this.lowerCaseAttributeNames=t.lowerCaseAttributeNames??!t.xmlMode,this.tokenizer=new(t.Tokenizer??o.default)(this.options,this),(r=(n=this.cbs).onparserinit)==null||r.call(n,this)}return e.prototype.ontext=function(e,t){var n,r,i=this.getSlice(e,t);this.endIndex=t-1,(r=(n=this.cbs).ontext)==null||r.call(n,i),this.startIndex=t},e.prototype.ontextentity=function(e){var t,n,r=this.tokenizer.getSectionStart();this.endIndex=r-1,(n=(t=this.cbs).ontext)==null||n.call(t,(0,s.fromCodePoint)(e)),this.startIndex=r},e.prototype.isVoidElement=function(e){return!this.options.xmlMode&&m.has(e)},e.prototype.onopentagname=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);this.lowerCaseTagNames&&(n=n.toLowerCase()),this.emitOpenTag(n)},e.prototype.emitOpenTag=function(e){var t,n,r,i;this.openTagStart=this.startIndex,this.tagname=e;var a=!this.options.xmlMode&&p.get(e);if(a)for(;this.stack.length>0&&a.has(this.stack[this.stack.length-1]);){var o=this.stack.pop();(n=(t=this.cbs).onclosetag)==null||n.call(t,o,!0)}this.isVoidElement(e)||(this.stack.push(e),h.has(e)?this.foreignContext.push(!0):g.has(e)&&this.foreignContext.push(!1)),(i=(r=this.cbs).onopentagname)==null||i.call(r,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.endOpenTag=function(e){var t,n;this.startIndex=this.openTagStart,this.attribs&&=((n=(t=this.cbs).onopentag)==null||n.call(t,this.tagname,this.attribs,e),null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=``},e.prototype.onopentagend=function(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1},e.prototype.onclosetag=function(e,t){var n,r,i,a,o,s;this.endIndex=t;var c=this.getSlice(e,t);if(this.lowerCaseTagNames&&(c=c.toLowerCase()),(h.has(c)||g.has(c))&&this.foreignContext.pop(),this.isVoidElement(c))!this.options.xmlMode&&c===`br`&&((r=(n=this.cbs).onopentagname)==null||r.call(n,`br`),(a=(i=this.cbs).onopentag)==null||a.call(i,`br`,{},!0),(s=(o=this.cbs).onclosetag)==null||s.call(o,`br`,!1));else{var l=this.stack.lastIndexOf(c);if(l!==-1){if(this.cbs.onclosetag)for(var u=this.stack.length-l;u--;)this.cbs.onclosetag(this.stack.pop(),u!==0);else this.stack.length=l}else!this.options.xmlMode&&c===`p`&&(this.emitOpenTag(`p`),this.closeCurrentTag(!0))}this.startIndex=t+1},e.prototype.onselfclosingtag=function(e){this.endIndex=e,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)},e.prototype.closeCurrentTag=function(e){var t,n,r=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===r&&((n=(t=this.cbs).onclosetag)==null||n.call(t,r,!e),this.stack.pop())},e.prototype.onattribname=function(e,t){this.startIndex=e;var n=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n},e.prototype.onattribdata=function(e,t){this.attribvalue+=this.getSlice(e,t)},e.prototype.onattribentity=function(e){this.attribvalue+=(0,s.fromCodePoint)(e)},e.prototype.onattribend=function(e,t){var n,r;this.endIndex=t,(r=(n=this.cbs).onattribute)==null||r.call(n,this.attribname,this.attribvalue,e===o.QuoteType.Double?`"`:e===o.QuoteType.Single?`'`:e===o.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=``},e.prototype.getInstructionName=function(e){var t=e.search(_),n=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n},e.prototype.ondeclaration=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var r=this.getInstructionName(n);this.cbs.onprocessinginstruction(`!${r}`,`!${n}`)}this.startIndex=t+1},e.prototype.onprocessinginstruction=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var r=this.getInstructionName(n);this.cbs.onprocessinginstruction(`?${r}`,`?${n}`)}this.startIndex=t+1},e.prototype.oncomment=function(e,t,n){var r,i,a,o;this.endIndex=t,(i=(r=this.cbs).oncomment)==null||i.call(r,this.getSlice(e,t-n)),(o=(a=this.cbs).oncommentend)==null||o.call(a),this.startIndex=t+1},e.prototype.oncdata=function(e,t,n){var r,i,a,o,s,c,l,u,d,f;this.endIndex=t;var p=this.getSlice(e,t-n);this.options.xmlMode||this.options.recognizeCDATA?((i=(r=this.cbs).oncdatastart)==null||i.call(r),(o=(a=this.cbs).ontext)==null||o.call(a,p),(c=(s=this.cbs).oncdataend)==null||c.call(s)):((u=(l=this.cbs).oncomment)==null||u.call(l,`[CDATA[${p}]]`),(f=(d=this.cbs).oncommentend)==null||f.call(d)),this.startIndex=t+1},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var n=this.stack.length;n>0;this.cbs.onclosetag(this.stack[--n],!0));}(t=(e=this.cbs).onend)==null||t.call(e)},e.prototype.reset=function(){var e,t,n,r;(t=(e=this.cbs).onreset)==null||t.call(e),this.tokenizer.reset(),this.tagname=``,this.attribname=``,this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(r=(n=this.cbs).onparserinit)==null||r.call(n,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.getSlice=function(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var n=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,t-this.bufferOffset);return n},e.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},e.prototype.write=function(e){var t,n;this.ended?(n=(t=this.cbs).onerror)==null||n.call(t,/* @__PURE__ */ Error(`.write() after done!`)):(this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++))},e.prototype.end=function(e){var t,n;this.ended?(n=(t=this.cbs).onerror)==null||n.call(t,/* @__PURE__ */ Error(`.end() after done!`)):(e&&this.write(e),this.ended=!0,this.tokenizer.end())},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},e.prototype.parseChunk=function(e){this.write(e)},e.prototype.done=function(e){this.end(e)},e}()})),ww=/* @__PURE__ */ p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.Doctype=e.CDATA=e.Tag=e.Style=e.Script=e.Comment=e.Directive=e.Text=e.Root=e.isTag=e.ElementType=void 0;var t;(function(e){e.Root=`root`,e.Text=`text`,e.Directive=`directive`,e.Comment=`comment`,e.Script=`script`,e.Style=`style`,e.Tag=`tag`,e.CDATA=`cdata`,e.Doctype=`doctype`})(t=e.ElementType||={});function n(e){return e.type===t.Tag||e.type===t.Script||e.type===t.Style}e.isTag=n,e.Root=t.Root,e.Text=t.Text,e.Directive=t.Directive,e.Comment=t.Comment,e.Script=t.Script,e.Style=t.Style,e.Tag=t.Tag,e.CDATA=t.CDATA,e.Doctype=t.Doctype})),Tw=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),i=n&&n.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},i.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.cloneNode=e.hasChildren=e.isDocument=e.isDirective=e.isComment=e.isText=e.isCDATA=e.isTag=e.Element=e.Document=e.CDATA=e.NodeWithChildren=e.ProcessingInstruction=e.Comment=e.Text=e.DataNode=e.Node=void 0;var a=ww(),o=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return e===void 0&&(e=!1),S(this,e)},e}();e.Node=o;var s=function(e){r(t,e);function t(t){var n=e.call(this)||this;return n.data=t,n}return Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(o);e.DataNode=s;var c=function(e){r(t,e);function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.type=a.ElementType.Text,t}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(s);e.Text=c;var l=function(e){r(t,e);function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.type=a.ElementType.Comment,t}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(s);e.Comment=l;var u=function(e){r(t,e);function t(t,n){var r=e.call(this,n)||this;return r.name=t,r.type=a.ElementType.Directive,r}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(s);e.ProcessingInstruction=u;var d=function(e){r(t,e);function t(t){var n=e.call(this)||this;return n.children=t,n}return Object.defineProperty(t.prototype,"firstChild",{get:function(){return this.children[0]??null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(o);e.NodeWithChildren=d;var f=function(e){r(t,e);function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.type=a.ElementType.CDATA,t}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(d);e.CDATA=f;var p=function(e){r(t,e);function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.type=a.ElementType.Root,t}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(d);e.Document=p;var m=function(e){r(t,e);function t(t,n,r,i){r===void 0&&(r=[]),i===void 0&&(i=t===`script`?a.ElementType.Script:t===`style`?a.ElementType.Style:a.ElementType.Tag);var o=e.call(this,r)||this;return o.name=t,o.attribs=n,o.type=i,o}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map(function(t){return{name:t,value:e.attribs[t],namespace:e[`x-attribsNamespace`]?.[t],prefix:e[`x-attribsPrefix`]?.[t]}})},enumerable:!1,configurable:!0}),t}(d);e.Element=m;function h(e){return(0,a.isTag)(e)}e.isTag=h;function g(e){return e.type===a.ElementType.CDATA}e.isCDATA=g;function _(e){return e.type===a.ElementType.Text}e.isText=_;function v(e){return e.type===a.ElementType.Comment}e.isComment=v;function y(e){return e.type===a.ElementType.Directive}e.isDirective=y;function b(e){return e.type===a.ElementType.Root}e.isDocument=b;function x(e){return Object.prototype.hasOwnProperty.call(e,`children`)}e.hasChildren=x;function S(e,t){t===void 0&&(t=!1);var n;if(_(e))n=new c(e.data);else if(v(e))n=new l(e.data);else if(h(e)){var r=t?C(e.children):[],a=new m(e.name,i({},e.attribs),r);r.forEach(function(e){return e.parent=a}),e.namespace!=null&&(a.namespace=e.namespace),e[`x-attribsNamespace`]&&(a[`x-attribsNamespace`]=i({},e[`x-attribsNamespace`])),e[`x-attribsPrefix`]&&(a[`x-attribsPrefix`]=i({},e[`x-attribsPrefix`])),n=a}else if(g(e)){var r=t?C(e.children):[],o=new f(r);r.forEach(function(e){return e.parent=o}),n=o}else if(b(e)){var r=t?C(e.children):[],s=new p(r);r.forEach(function(e){return e.parent=s}),e[`x-mode`]&&(s[`x-mode`]=e[`x-mode`]),n=s}else if(y(e)){var d=new u(e.name,e.data);e[`x-name`]!=null&&(d[`x-name`]=e[`x-name`],d[`x-publicId`]=e[`x-publicId`],d[`x-systemId`]=e[`x-systemId`]),n=d}else throw Error(`Not implemented yet: ${e.type}`);return n.startIndex=e.startIndex,n.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(n.sourceCodeLocation=e.sourceCodeLocation),n}e.cloneNode=S;function C(e){for(var t=e.map(function(e){return S(e,!0)}),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}})),Ew=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),i=n&&n.__exportStar||function(e,t){for(var n in e)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&r(t,e,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.DomHandler=void 0;var a=ww(),o=Tw();i(Tw(),e);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},c=function(){function e(e,t,n){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof t==`function`&&(n=t,t=s),typeof e==`object`&&(t=e,e=void 0),this.callback=e??null,this.options=t??s,this.elementCB=n??null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?a.ElementType.Tag:void 0,r=new o.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===a.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new o.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===a.ElementType.Comment)this.lastNode.data+=e;else{var t=new o.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new o.Text(``),t=new o.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new o.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if(typeof this.callback==`function`)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();e.DomHandler=c,e.default=c})),Dw=/* @__PURE__ */ p((e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(e){for(var t=1;t<e.length;t++)e[t][0]+=e[t-1][0]+1;return e}e.default=new Map(/* #__PURE__ */ t([[9,`	`],[0,`
`],[22,`!`],[0,`"`],[0,`#`],[0,`$`],[0,`%`],[0,`&`],[0,`'`],[0,`(`],[0,`)`],[0,`*`],[0,`+`],[0,`,`],[1,`.`],[0,`/`],[10,`:`],[0,`;`],[0,{v:`<`,n:8402,o:`<⃒`}],[0,{v:`=`,n:8421,o:`=⃥`}],[0,{v:`>`,n:8402,o:`>⃒`}],[0,`?`],[0,`@`],[26,`[`],[0,`\`],[0,`]`],[0,`^`],[0,`_`],[0,```],[5,{n:106,o:`fj`}],[20,`{`],[0,`|`],[0,`}`],[34,` `],[0,`¡`],[0,`¢`],[0,`£`],[0,`¤`],[0,`¥`],[0,`¦`],[0,`§`],[0,`¨`],[0,`©`],[0,`ª`],[0,`«`],[0,`¬`],[0,`­`],[0,`®`],[0,`¯`],[0,`°`],[0,`±`],[0,`²`],[0,`³`],[0,`´`],[0,`µ`],[0,`¶`],[0,`·`],[0,`¸`],[0,`¹`],[0,`º`],[0,`»`],[0,`¼`],[0,`½`],[0,`¾`],[0,`¿`],[0,`À`],[0,`Á`],[0,`Â`],[0,`Ã`],[0,`Ä`],[0,`Å`],[0,`Æ`],[0,`Ç`],[0,`È`],[0,`É`],[0,`Ê`],[0,`Ë`],[0,`Ì`],[0,`Í`],[0,`Î`],[0,`Ï`],[0,`Ð`],[0,`Ñ`],[0,`Ò`],[0,`Ó`],[0,`Ô`],[0,`Õ`],[0,`Ö`],[0,`×`],[0,`Ø`],[0,`Ù`],[0,`Ú`],[0,`Û`],[0,`Ü`],[0,`Ý`],[0,`Þ`],[0,`ß`],[0,`à`],[0,`á`],[0,`â`],[0,`ã`],[0,`ä`],[0,`å`],[0,`æ`],[0,`ç`],[0,`è`],[0,`é`],[0,`ê`],[0,`ë`],[0,`ì`],[0,`í`],[0,`î`],[0,`ï`],[0,`ð`],[0,`ñ`],[0,`ò`],[0,`ó`],[0,`ô`],[0,`õ`],[0,`ö`],[0,`÷`],[0,`ø`],[0,`ù`],[0,`ú`],[0,`û`],[0,`ü`],[0,`ý`],[0,`þ`],[0,`ÿ`],[0,`Ā`],[0,`ā`],[0,`Ă`],[0,`ă`],[0,`Ą`],[0,`ą`],[0,`Ć`],[0,`ć`],[0,`Ĉ`],[0,`ĉ`],[0,`Ċ`],[0,`ċ`],[0,`Č`],[0,`č`],[0,`Ď`],[0,`ď`],[0,`Đ`],[0,`đ`],[0,`Ē`],[0,`ē`],[2,`Ė`],[0,`ė`],[0,`Ę`],[0,`ę`],[0,`Ě`],[0,`ě`],[0,`Ĝ`],[0,`ĝ`],[0,`Ğ`],[0,`ğ`],[0,`Ġ`],[0,`ġ`],[0,`Ģ`],[1,`Ĥ`],[0,`ĥ`],[0,`Ħ`],[0,`ħ`],[0,`Ĩ`],[0,`ĩ`],[0,`Ī`],[0,`ī`],[2,`Į`],[0,`į`],[0,`İ`],[0,`ı`],[0,`IJ`],[0,`ij`],[0,`Ĵ`],[0,`ĵ`],[0,`Ķ`],[0,`ķ`],[0,`ĸ`],[0,`Ĺ`],[0,`ĺ`],[0,`Ļ`],[0,`ļ`],[0,`Ľ`],[0,`ľ`],[0,`Ŀ`],[0,`ŀ`],[0,`Ł`],[0,`ł`],[0,`Ń`],[0,`ń`],[0,`Ņ`],[0,`ņ`],[0,`Ň`],[0,`ň`],[0,`ʼn`],[0,`Ŋ`],[0,`ŋ`],[0,`Ō`],[0,`ō`],[2,`Ő`],[0,`ő`],[0,`Œ`],[0,`œ`],[0,`Ŕ`],[0,`ŕ`],[0,`Ŗ`],[0,`ŗ`],[0,`Ř`],[0,`ř`],[0,`Ś`],[0,`ś`],[0,`Ŝ`],[0,`ŝ`],[0,`Ş`],[0,`ş`],[0,`Š`],[0,`š`],[0,`Ţ`],[0,`ţ`],[0,`Ť`],[0,`ť`],[0,`Ŧ`],[0,`ŧ`],[0,`Ũ`],[0,`ũ`],[0,`Ū`],[0,`ū`],[0,`Ŭ`],[0,`ŭ`],[0,`Ů`],[0,`ů`],[0,`Ű`],[0,`ű`],[0,`Ų`],[0,`ų`],[0,`Ŵ`],[0,`ŵ`],[0,`Ŷ`],[0,`ŷ`],[0,`Ÿ`],[0,`Ź`],[0,`ź`],[0,`Ż`],[0,`ż`],[0,`Ž`],[0,`ž`],[19,`ƒ`],[34,`Ƶ`],[63,`ǵ`],[65,`ȷ`],[142,`ˆ`],[0,`ˇ`],[16,`˘`],[0,`˙`],[0,`˚`],[0,`˛`],[0,`˜`],[0,`˝`],[51,`̑`],[127,`Α`],[0,`Β`],[0,`Γ`],[0,`Δ`],[0,`Ε`],[0,`Ζ`],[0,`Η`],[0,`Θ`],[0,`Ι`],[0,`Κ`],[0,`Λ`],[0,`Μ`],[0,`Ν`],[0,`Ξ`],[0,`Ο`],[0,`Π`],[0,`Ρ`],[1,`Σ`],[0,`Τ`],[0,`Υ`],[0,`Φ`],[0,`Χ`],[0,`Ψ`],[0,`Ω`],[7,`α`],[0,`β`],[0,`γ`],[0,`δ`],[0,`ε`],[0,`ζ`],[0,`η`],[0,`θ`],[0,`ι`],[0,`κ`],[0,`λ`],[0,`μ`],[0,`ν`],[0,`ξ`],[0,`ο`],[0,`π`],[0,`ρ`],[0,`ς`],[0,`σ`],[0,`τ`],[0,`υ`],[0,`φ`],[0,`χ`],[0,`ψ`],[0,`ω`],[7,`ϑ`],[0,`ϒ`],[2,`ϕ`],[0,`ϖ`],[5,`Ϝ`],[0,`ϝ`],[18,`ϰ`],[0,`ϱ`],[3,`ϵ`],[0,`϶`],[10,`Ё`],[0,`Ђ`],[0,`Ѓ`],[0,`Є`],[0,`Ѕ`],[0,`І`],[0,`Ї`],[0,`Ј`],[0,`Љ`],[0,`Њ`],[0,`Ћ`],[0,`Ќ`],[1,`Ў`],[0,`Џ`],[0,`А`],[0,`Б`],[0,`В`],[0,`Г`],[0,`Д`],[0,`Е`],[0,`Ж`],[0,`З`],[0,`И`],[0,`Й`],[0,`К`],[0,`Л`],[0,`М`],[0,`Н`],[0,`О`],[0,`П`],[0,`Р`],[0,`С`],[0,`Т`],[0,`У`],[0,`Ф`],[0,`Х`],[0,`Ц`],[0,`Ч`],[0,`Ш`],[0,`Щ`],[0,`Ъ`],[0,`Ы`],[0,`Ь`],[0,`Э`],[0,`Ю`],[0,`Я`],[0,`а`],[0,`б`],[0,`в`],[0,`г`],[0,`д`],[0,`е`],[0,`ж`],[0,`з`],[0,`и`],[0,`й`],[0,`к`],[0,`л`],[0,`м`],[0,`н`],[0,`о`],[0,`п`],[0,`р`],[0,`с`],[0,`т`],[0,`у`],[0,`ф`],[0,`х`],[0,`ц`],[0,`ч`],[0,`ш`],[0,`щ`],[0,`ъ`],[0,`ы`],[0,`ь`],[0,`э`],[0,`ю`],[0,`я`],[1,`ё`],[0,`ђ`],[0,`ѓ`],[0,`є`],[0,`ѕ`],[0,`і`],[0,`ї`],[0,`ј`],[0,`љ`],[0,`њ`],[0,`ћ`],[0,`ќ`],[1,`ў`],[0,`џ`],[7074,` `],[0,` `],[0,` `],[0,` `],[1,` `],[0,` `],[0,` `],[0,` `],[0,`​`],[0,`‌`],[0,`‍`],[0,`‎`],[0,`‏`],[0,`‐`],[2,`–`],[0,`—`],[0,`―`],[0,`‖`],[1,`‘`],[0,`’`],[0,`‚`],[1,`“`],[0,`”`],[0,`„`],[1,`†`],[0,`‡`],[0,`•`],[2,`‥`],[0,`…`],[9,`‰`],[0,`‱`],[0,`′`],[0,`″`],[0,`‴`],[0,`‵`],[3,`‹`],[0,`›`],[3,`‾`],[2,`⁁`],[1,`⁃`],[0,`⁄`],[10,`⁏`],[7,`⁗`],[7,{v:` `,n:8202,o:`  `}],[0,`⁠`],[0,`⁡`],[0,`⁢`],[0,`⁣`],[72,`€`],[46,`⃛`],[0,`⃜`],[37,`ℂ`],[2,`℅`],[4,`ℊ`],[0,`ℋ`],[0,`ℌ`],[0,`ℍ`],[0,`ℎ`],[0,`ℏ`],[0,`ℐ`],[0,`ℑ`],[0,`ℒ`],[0,`ℓ`],[1,`ℕ`],[0,`№`],[0,`℗`],[0,`℘`],[0,`ℙ`],[0,`ℚ`],[0,`ℛ`],[0,`ℜ`],[0,`ℝ`],[0,`℞`],[3,`™`],[1,`ℤ`],[2,`℧`],[0,`ℨ`],[0,`℩`],[2,`ℬ`],[0,`ℭ`],[1,`ℯ`],[0,`ℰ`],[0,`ℱ`],[1,`ℳ`],[0,`ℴ`],[0,`ℵ`],[0,`ℶ`],[0,`ℷ`],[0,`ℸ`],[12,`ⅅ`],[0,`ⅆ`],[0,`ⅇ`],[0,`ⅈ`],[10,`⅓`],[0,`⅔`],[0,`⅕`],[0,`⅖`],[0,`⅗`],[0,`⅘`],[0,`⅙`],[0,`⅚`],[0,`⅛`],[0,`⅜`],[0,`⅝`],[0,`⅞`],[49,`←`],[0,`↑`],[0,`→`],[0,`↓`],[0,`↔`],[0,`↕`],[0,`↖`],[0,`↗`],[0,`↘`],[0,`↙`],[0,`↚`],[0,`↛`],[1,{v:`↝`,n:824,o:`↝̸`}],[0,`↞`],[0,`↟`],[0,`↠`],[0,`↡`],[0,`↢`],[0,`↣`],[0,`↤`],[0,`↥`],[0,`↦`],[0,`↧`],[1,`↩`],[0,`↪`],[0,`↫`],[0,`↬`],[0,`↭`],[0,`↮`],[1,`↰`],[0,`↱`],[0,`↲`],[0,`↳`],[1,`↵`],[0,`↶`],[0,`↷`],[2,`↺`],[0,`↻`],[0,`↼`],[0,`↽`],[0,`↾`],[0,`↿`],[0,`⇀`],[0,`⇁`],[0,`⇂`],[0,`⇃`],[0,`⇄`],[0,`⇅`],[0,`⇆`],[0,`⇇`],[0,`⇈`],[0,`⇉`],[0,`⇊`],[0,`⇋`],[0,`⇌`],[0,`⇍`],[0,`⇎`],[0,`⇏`],[0,`⇐`],[0,`⇑`],[0,`⇒`],[0,`⇓`],[0,`⇔`],[0,`⇕`],[0,`⇖`],[0,`⇗`],[0,`⇘`],[0,`⇙`],[0,`⇚`],[0,`⇛`],[1,`⇝`],[6,`⇤`],[0,`⇥`],[15,`⇵`],[7,`⇽`],[0,`⇾`],[0,`⇿`],[0,`∀`],[0,`∁`],[0,{v:`∂`,n:824,o:`∂̸`}],[0,`∃`],[0,`∄`],[0,`∅`],[1,`∇`],[0,`∈`],[0,`∉`],[1,`∋`],[0,`∌`],[2,`∏`],[0,`∐`],[0,`∑`],[0,`−`],[0,`∓`],[0,`∔`],[1,`∖`],[0,`∗`],[0,`∘`],[1,`√`],[2,`∝`],[0,`∞`],[0,`∟`],[0,{v:`∠`,n:8402,o:`∠⃒`}],[0,`∡`],[0,`∢`],[0,`∣`],[0,`∤`],[0,`∥`],[0,`∦`],[0,`∧`],[0,`∨`],[0,{v:`∩`,n:65024,o:`∩︀`}],[0,{v:`∪`,n:65024,o:`∪︀`}],[0,`∫`],[0,`∬`],[0,`∭`],[0,`∮`],[0,`∯`],[0,`∰`],[0,`∱`],[0,`∲`],[0,`∳`],[0,`∴`],[0,`∵`],[0,`∶`],[0,`∷`],[0,`∸`],[1,`∺`],[0,`∻`],[0,{v:`∼`,n:8402,o:`∼⃒`}],[0,{v:`∽`,n:817,o:`∽̱`}],[0,{v:`∾`,n:819,o:`∾̳`}],[0,`∿`],[0,`≀`],[0,`≁`],[0,{v:`≂`,n:824,o:`≂̸`}],[0,`≃`],[0,`≄`],[0,`≅`],[0,`≆`],[0,`≇`],[0,`≈`],[0,`≉`],[0,`≊`],[0,{v:`≋`,n:824,o:`≋̸`}],[0,`≌`],[0,{v:`≍`,n:8402,o:`≍⃒`}],[0,{v:`≎`,n:824,o:`≎̸`}],[0,{v:`≏`,n:824,o:`≏̸`}],[0,{v:`≐`,n:824,o:`≐̸`}],[0,`≑`],[0,`≒`],[0,`≓`],[0,`≔`],[0,`≕`],[0,`≖`],[0,`≗`],[1,`≙`],[0,`≚`],[1,`≜`],[2,`≟`],[0,`≠`],[0,{v:`≡`,n:8421,o:`≡⃥`}],[0,`≢`],[1,{v:`≤`,n:8402,o:`≤⃒`}],[0,{v:`≥`,n:8402,o:`≥⃒`}],[0,{v:`≦`,n:824,o:`≦̸`}],[0,{v:`≧`,n:824,o:`≧̸`}],[0,{v:`≨`,n:65024,o:`≨︀`}],[0,{v:`≩`,n:65024,o:`≩︀`}],[0,{v:`≪`,n:new Map(/* #__PURE__ */ t([[824,`≪̸`],[7577,`≪⃒`]]))}],[0,{v:`≫`,n:new Map(/* #__PURE__ */ t([[824,`≫̸`],[7577,`≫⃒`]]))}],[0,`≬`],[0,`≭`],[0,`≮`],[0,`≯`],[0,`≰`],[0,`≱`],[0,`≲`],[0,`≳`],[0,`≴`],[0,`≵`],[0,`≶`],[0,`≷`],[0,`≸`],[0,`≹`],[0,`≺`],[0,`≻`],[0,`≼`],[0,`≽`],[0,`≾`],[0,{v:`≿`,n:824,o:`≿̸`}],[0,`⊀`],[0,`⊁`],[0,{v:`⊂`,n:8402,o:`⊂⃒`}],[0,{v:`⊃`,n:8402,o:`⊃⃒`}],[0,`⊄`],[0,`⊅`],[0,`⊆`],[0,`⊇`],[0,`⊈`],[0,`⊉`],[0,{v:`⊊`,n:65024,o:`⊊︀`}],[0,{v:`⊋`,n:65024,o:`⊋︀`}],[1,`⊍`],[0,`⊎`],[0,{v:`⊏`,n:824,o:`⊏̸`}],[0,{v:`⊐`,n:824,o:`⊐̸`}],[0,`⊑`],[0,`⊒`],[0,{v:`⊓`,n:65024,o:`⊓︀`}],[0,{v:`⊔`,n:65024,o:`⊔︀`}],[0,`⊕`],[0,`⊖`],[0,`⊗`],[0,`⊘`],[0,`⊙`],[0,`⊚`],[0,`⊛`],[1,`⊝`],[0,`⊞`],[0,`⊟`],[0,`⊠`],[0,`⊡`],[0,`⊢`],[0,`⊣`],[0,`⊤`],[0,`⊥`],[1,`⊧`],[0,`⊨`],[0,`⊩`],[0,`⊪`],[0,`⊫`],[0,`⊬`],[0,`⊭`],[0,`⊮`],[0,`⊯`],[0,`⊰`],[1,`⊲`],[0,`⊳`],[0,{v:`⊴`,n:8402,o:`⊴⃒`}],[0,{v:`⊵`,n:8402,o:`⊵⃒`}],[0,`⊶`],[0,`⊷`],[0,`⊸`],[0,`⊹`],[0,`⊺`],[0,`⊻`],[1,`⊽`],[0,`⊾`],[0,`⊿`],[0,`⋀`],[0,`⋁`],[0,`⋂`],[0,`⋃`],[0,`⋄`],[0,`⋅`],[0,`⋆`],[0,`⋇`],[0,`⋈`],[0,`⋉`],[0,`⋊`],[0,`⋋`],[0,`⋌`],[0,`⋍`],[0,`⋎`],[0,`⋏`],[0,`⋐`],[0,`⋑`],[0,`⋒`],[0,`⋓`],[0,`⋔`],[0,`⋕`],[0,`⋖`],[0,`⋗`],[0,{v:`⋘`,n:824,o:`⋘̸`}],[0,{v:`⋙`,n:824,o:`⋙̸`}],[0,{v:`⋚`,n:65024,o:`⋚︀`}],[0,{v:`⋛`,n:65024,o:`⋛︀`}],[2,`⋞`],[0,`⋟`],[0,`⋠`],[0,`⋡`],[0,`⋢`],[0,`⋣`],[2,`⋦`],[0,`⋧`],[0,`⋨`],[0,`⋩`],[0,`⋪`],[0,`⋫`],[0,`⋬`],[0,`⋭`],[0,`⋮`],[0,`⋯`],[0,`⋰`],[0,`⋱`],[0,`⋲`],[0,`⋳`],[0,`⋴`],[0,{v:`⋵`,n:824,o:`⋵̸`}],[0,`⋶`],[0,`⋷`],[1,{v:`⋹`,n:824,o:`⋹̸`}],[0,`⋺`],[0,`⋻`],[0,`⋼`],[0,`⋽`],[0,`⋾`],[6,`⌅`],[0,`⌆`],[1,`⌈`],[0,`⌉`],[0,`⌊`],[0,`⌋`],[0,`⌌`],[0,`⌍`],[0,`⌎`],[0,`⌏`],[0,`⌐`],[1,`⌒`],[0,`⌓`],[1,`⌕`],[0,`⌖`],[5,`⌜`],[0,`⌝`],[0,`⌞`],[0,`⌟`],[2,`⌢`],[0,`⌣`],[9,`⌭`],[0,`⌮`],[7,`⌶`],[6,`⌽`],[1,`⌿`],[60,`⍼`],[51,`⎰`],[0,`⎱`],[2,`⎴`],[0,`⎵`],[0,`⎶`],[37,`⏜`],[0,`⏝`],[0,`⏞`],[0,`⏟`],[2,`⏢`],[4,`⏧`],[59,`␣`],[164,`Ⓢ`],[55,`─`],[1,`│`],[9,`┌`],[3,`┐`],[3,`└`],[3,`┘`],[3,`├`],[7,`┤`],[7,`┬`],[7,`┴`],[7,`┼`],[19,`═`],[0,`║`],[0,`╒`],[0,`╓`],[0,`╔`],[0,`╕`],[0,`╖`],[0,`╗`],[0,`╘`],[0,`╙`],[0,`╚`],[0,`╛`],[0,`╜`],[0,`╝`],[0,`╞`],[0,`╟`],[0,`╠`],[0,`╡`],[0,`╢`],[0,`╣`],[0,`╤`],[0,`╥`],[0,`╦`],[0,`╧`],[0,`╨`],[0,`╩`],[0,`╪`],[0,`╫`],[0,`╬`],[19,`▀`],[3,`▄`],[3,`█`],[8,`░`],[0,`▒`],[0,`▓`],[13,`□`],[8,`▪`],[0,`▫`],[1,`▭`],[0,`▮`],[2,`▱`],[1,`△`],[0,`▴`],[0,`▵`],[2,`▸`],[0,`▹`],[3,`▽`],[0,`▾`],[0,`▿`],[2,`◂`],[0,`◃`],[6,`◊`],[0,`○`],[32,`◬`],[2,`◯`],[8,`◸`],[0,`◹`],[0,`◺`],[0,`◻`],[0,`◼`],[8,`★`],[0,`☆`],[7,`☎`],[49,`♀`],[1,`♂`],[29,`♠`],[2,`♣`],[1,`♥`],[0,`♦`],[3,`♪`],[2,`♭`],[0,`♮`],[0,`♯`],[163,`✓`],[3,`✗`],[8,`✠`],[21,`✶`],[33,`❘`],[25,`❲`],[0,`❳`],[84,`⟈`],[0,`⟉`],[28,`⟦`],[0,`⟧`],[0,`⟨`],[0,`⟩`],[0,`⟪`],[0,`⟫`],[0,`⟬`],[0,`⟭`],[7,`⟵`],[0,`⟶`],[0,`⟷`],[0,`⟸`],[0,`⟹`],[0,`⟺`],[1,`⟼`],[2,`⟿`],[258,`⤂`],[0,`⤃`],[0,`⤄`],[0,`⤅`],[6,`⤌`],[0,`⤍`],[0,`⤎`],[0,`⤏`],[0,`⤐`],[0,`⤑`],[0,`⤒`],[0,`⤓`],[2,`⤖`],[2,`⤙`],[0,`⤚`],[0,`⤛`],[0,`⤜`],[0,`⤝`],[0,`⤞`],[0,`⤟`],[0,`⤠`],[2,`⤣`],[0,`⤤`],[0,`⤥`],[0,`⤦`],[0,`⤧`],[0,`⤨`],[0,`⤩`],[0,`⤪`],[8,{v:`⤳`,n:824,o:`⤳̸`}],[1,`⤵`],[0,`⤶`],[0,`⤷`],[0,`⤸`],[0,`⤹`],[2,`⤼`],[0,`⤽`],[7,`⥅`],[2,`⥈`],[0,`⥉`],[0,`⥊`],[0,`⥋`],[2,`⥎`],[0,`⥏`],[0,`⥐`],[0,`⥑`],[0,`⥒`],[0,`⥓`],[0,`⥔`],[0,`⥕`],[0,`⥖`],[0,`⥗`],[0,`⥘`],[0,`⥙`],[0,`⥚`],[0,`⥛`],[0,`⥜`],[0,`⥝`],[0,`⥞`],[0,`⥟`],[0,`⥠`],[0,`⥡`],[0,`⥢`],[0,`⥣`],[0,`⥤`],[0,`⥥`],[0,`⥦`],[0,`⥧`],[0,`⥨`],[0,`⥩`],[0,`⥪`],[0,`⥫`],[0,`⥬`],[0,`⥭`],[0,`⥮`],[0,`⥯`],[0,`⥰`],[0,`⥱`],[0,`⥲`],[0,`⥳`],[0,`⥴`],[0,`⥵`],[0,`⥶`],[1,`⥸`],[0,`⥹`],[1,`⥻`],[0,`⥼`],[0,`⥽`],[0,`⥾`],[0,`⥿`],[5,`⦅`],[0,`⦆`],[4,`⦋`],[0,`⦌`],[0,`⦍`],[0,`⦎`],[0,`⦏`],[0,`⦐`],[0,`⦑`],[0,`⦒`],[0,`⦓`],[0,`⦔`],[0,`⦕`],[0,`⦖`],[3,`⦚`],[1,`⦜`],[0,`⦝`],[6,`⦤`],[0,`⦥`],[0,`⦦`],[0,`⦧`],[0,`⦨`],[0,`⦩`],[0,`⦪`],[0,`⦫`],[0,`⦬`],[0,`⦭`],[0,`⦮`],[0,`⦯`],[0,`⦰`],[0,`⦱`],[0,`⦲`],[0,`⦳`],[0,`⦴`],[0,`⦵`],[0,`⦶`],[0,`⦷`],[1,`⦹`],[1,`⦻`],[0,`⦼`],[1,`⦾`],[0,`⦿`],[0,`⧀`],[0,`⧁`],[0,`⧂`],[0,`⧃`],[0,`⧄`],[0,`⧅`],[3,`⧉`],[3,`⧍`],[0,`⧎`],[0,{v:`⧏`,n:824,o:`⧏̸`}],[0,{v:`⧐`,n:824,o:`⧐̸`}],[11,`⧜`],[0,`⧝`],[0,`⧞`],[4,`⧣`],[0,`⧤`],[0,`⧥`],[5,`⧫`],[8,`⧴`],[1,`⧶`],[9,`⨀`],[0,`⨁`],[0,`⨂`],[1,`⨄`],[1,`⨆`],[5,`⨌`],[0,`⨍`],[2,`⨐`],[0,`⨑`],[0,`⨒`],[0,`⨓`],[0,`⨔`],[0,`⨕`],[0,`⨖`],[0,`⨗`],[10,`⨢`],[0,`⨣`],[0,`⨤`],[0,`⨥`],[0,`⨦`],[0,`⨧`],[1,`⨩`],[0,`⨪`],[2,`⨭`],[0,`⨮`],[0,`⨯`],[0,`⨰`],[0,`⨱`],[1,`⨳`],[0,`⨴`],[0,`⨵`],[0,`⨶`],[0,`⨷`],[0,`⨸`],[0,`⨹`],[0,`⨺`],[0,`⨻`],[0,`⨼`],[2,`⨿`],[0,`⩀`],[1,`⩂`],[0,`⩃`],[0,`⩄`],[0,`⩅`],[0,`⩆`],[0,`⩇`],[0,`⩈`],[0,`⩉`],[0,`⩊`],[0,`⩋`],[0,`⩌`],[0,`⩍`],[2,`⩐`],[2,`⩓`],[0,`⩔`],[0,`⩕`],[0,`⩖`],[0,`⩗`],[0,`⩘`],[1,`⩚`],[0,`⩛`],[0,`⩜`],[0,`⩝`],[1,`⩟`],[6,`⩦`],[3,`⩪`],[2,{v:`⩭`,n:824,o:`⩭̸`}],[0,`⩮`],[0,`⩯`],[0,{v:`⩰`,n:824,o:`⩰̸`}],[0,`⩱`],[0,`⩲`],[0,`⩳`],[0,`⩴`],[0,`⩵`],[1,`⩷`],[0,`⩸`],[0,`⩹`],[0,`⩺`],[0,`⩻`],[0,`⩼`],[0,{v:`⩽`,n:824,o:`⩽̸`}],[0,{v:`⩾`,n:824,o:`⩾̸`}],[0,`⩿`],[0,`⪀`],[0,`⪁`],[0,`⪂`],[0,`⪃`],[0,`⪄`],[0,`⪅`],[0,`⪆`],[0,`⪇`],[0,`⪈`],[0,`⪉`],[0,`⪊`],[0,`⪋`],[0,`⪌`],[0,`⪍`],[0,`⪎`],[0,`⪏`],[0,`⪐`],[0,`⪑`],[0,`⪒`],[0,`⪓`],[0,`⪔`],[0,`⪕`],[0,`⪖`],[0,`⪗`],[0,`⪘`],[0,`⪙`],[0,`⪚`],[2,`⪝`],[0,`⪞`],[0,`⪟`],[0,`⪠`],[0,{v:`⪡`,n:824,o:`⪡̸`}],[0,{v:`⪢`,n:824,o:`⪢̸`}],[1,`⪤`],[0,`⪥`],[0,`⪦`],[0,`⪧`],[0,`⪨`],[0,`⪩`],[0,`⪪`],[0,`⪫`],[0,{v:`⪬`,n:65024,o:`⪬︀`}],[0,{v:`⪭`,n:65024,o:`⪭︀`}],[0,`⪮`],[0,{v:`⪯`,n:824,o:`⪯̸`}],[0,{v:`⪰`,n:824,o:`⪰̸`}],[2,`⪳`],[0,`⪴`],[0,`⪵`],[0,`⪶`],[0,`⪷`],[0,`⪸`],[0,`⪹`],[0,`⪺`],[0,`⪻`],[0,`⪼`],[0,`⪽`],[0,`⪾`],[0,`⪿`],[0,`⫀`],[0,`⫁`],[0,`⫂`],[0,`⫃`],[0,`⫄`],[0,{v:`⫅`,n:824,o:`⫅̸`}],[0,{v:`⫆`,n:824,o:`⫆̸`}],[0,`⫇`],[0,`⫈`],[2,{v:`⫋`,n:65024,o:`⫋︀`}],[0,{v:`⫌`,n:65024,o:`⫌︀`}],[2,`⫏`],[0,`⫐`],[0,`⫑`],[0,`⫒`],[0,`⫓`],[0,`⫔`],[0,`⫕`],[0,`⫖`],[0,`⫗`],[0,`⫘`],[0,`⫙`],[0,`⫚`],[0,`⫛`],[8,`⫤`],[1,`⫦`],[0,`⫧`],[0,`⫨`],[0,`⫩`],[1,`⫫`],[0,`⫬`],[0,`⫭`],[0,`⫮`],[0,`⫯`],[0,`⫰`],[0,`⫱`],[0,`⫲`],[0,`⫳`],[9,{v:`⫽`,n:8421,o:`⫽⃥`}],[44343,{n:new Map(/* #__PURE__ */ t([[56476,`𝒜`],[1,`𝒞`],[0,`𝒟`],[2,`𝒢`],[2,`𝒥`],[0,`𝒦`],[2,`𝒩`],[0,`𝒪`],[0,`𝒫`],[0,`𝒬`],[1,`𝒮`],[0,`𝒯`],[0,`𝒰`],[0,`𝒱`],[0,`𝒲`],[0,`𝒳`],[0,`𝒴`],[0,`𝒵`],[0,`𝒶`],[0,`𝒷`],[0,`𝒸`],[0,`𝒹`],[1,`𝒻`],[1,`𝒽`],[0,`𝒾`],[0,`𝒿`],[0,`𝓀`],[0,`𝓁`],[0,`𝓂`],[0,`𝓃`],[1,`𝓅`],[0,`𝓆`],[0,`𝓇`],[0,`𝓈`],[0,`𝓉`],[0,`𝓊`],[0,`𝓋`],[0,`𝓌`],[0,`𝓍`],[0,`𝓎`],[0,`𝓏`],[52,`𝔄`],[0,`𝔅`],[1,`𝔇`],[0,`𝔈`],[0,`𝔉`],[0,`𝔊`],[2,`𝔍`],[0,`𝔎`],[0,`𝔏`],[0,`𝔐`],[0,`𝔑`],[0,`𝔒`],[0,`𝔓`],[0,`𝔔`],[1,`𝔖`],[0,`𝔗`],[0,`𝔘`],[0,`𝔙`],[0,`𝔚`],[0,`𝔛`],[0,`𝔜`],[1,`𝔞`],[0,`𝔟`],[0,`𝔠`],[0,`𝔡`],[0,`𝔢`],[0,`𝔣`],[0,`𝔤`],[0,`𝔥`],[0,`𝔦`],[0,`𝔧`],[0,`𝔨`],[0,`𝔩`],[0,`𝔪`],[0,`𝔫`],[0,`𝔬`],[0,`𝔭`],[0,`𝔮`],[0,`𝔯`],[0,`𝔰`],[0,`𝔱`],[0,`𝔲`],[0,`𝔳`],[0,`𝔴`],[0,`𝔵`],[0,`𝔶`],[0,`𝔷`],[0,`𝔸`],[0,`𝔹`],[1,`𝔻`],[0,`𝔼`],[0,`𝔽`],[0,`𝔾`],[1,`𝕀`],[0,`𝕁`],[0,`𝕂`],[0,`𝕃`],[0,`𝕄`],[1,`𝕆`],[3,`𝕊`],[0,`𝕋`],[0,`𝕌`],[0,`𝕍`],[0,`𝕎`],[0,`𝕏`],[0,`𝕐`],[1,`𝕒`],[0,`𝕓`],[0,`𝕔`],[0,`𝕕`],[0,`𝕖`],[0,`𝕗`],[0,`𝕘`],[0,`𝕙`],[0,`𝕚`],[0,`𝕛`],[0,`𝕜`],[0,`𝕝`],[0,`𝕞`],[0,`𝕟`],[0,`𝕠`],[0,`𝕡`],[0,`𝕢`],[0,`𝕣`],[0,`𝕤`],[0,`𝕥`],[0,`𝕦`],[0,`𝕧`],[0,`𝕨`],[0,`𝕩`],[0,`𝕪`],[0,`𝕫`]]))}],[8906,`ff`],[0,`fi`],[0,`fl`],[0,`ffi`],[0,`ffl`]]))})),Ow=/* @__PURE__ */ p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.escapeText=e.escapeAttribute=e.escapeUTF8=e.escape=e.encodeXML=e.getCodePoint=e.xmlReplacer=void 0,e.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var t=/* @__PURE__ */ new Map([[34,`"`],[38,`&`],[39,`'`],[60,`<`],[62,`>`]]);e.getCodePoint=String.prototype.codePointAt==null?function(e,t){return(e.charCodeAt(t)&64512)==55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)}:function(e,t){return e.codePointAt(t)};function n(n){for(var r=``,i=0,a;(a=e.xmlReplacer.exec(n))!==null;){var o=a.index,s=n.charCodeAt(o),c=t.get(s);c===void 0?(r+=`${n.substring(i,o)}&#x${(0,e.getCodePoint)(n,o).toString(16)};`,i=e.xmlReplacer.lastIndex+=Number((s&64512)==55296)):(r+=n.substring(i,o)+c,i=o+1)}return r+n.substr(i)}e.encodeXML=n,e.escape=n;function r(e,t){return function(n){for(var r,i=0,a=``;r=e.exec(n);)i!==r.index&&(a+=n.substring(i,r.index)),a+=t.get(r[0].charCodeAt(0)),i=r.index+1;return a+n.substring(i)}}e.escapeUTF8=r(/[&<>'"]/g,t),e.escapeAttribute=r(/["&\u00A0]/g,/* @__PURE__ */ new Map([[34,`"`],[38,`&`],[160,` `]])),e.escapeText=r(/[&<>\u00A0]/g,/* @__PURE__ */ new Map([[38,`&`],[60,`<`],[62,`>`],[160,` `]]))})),kw=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.encodeNonAsciiHTML=e.encodeHTML=void 0;var i=r(Dw()),a=Ow(),o=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function s(e){return l(o,e)}e.encodeHTML=s;function c(e){return l(a.xmlReplacer,e)}e.encodeNonAsciiHTML=c;function l(e,t){for(var n=``,r=0,o;(o=e.exec(t))!==null;){var s=o.index;n+=t.substring(r,s);var c=t.charCodeAt(s),l=i.default.get(c);if(typeof l==`object`){if(s+1<t.length){var u=t.charCodeAt(s+1),d=typeof l.n==`number`?l.n===u?l.o:void 0:l.n.get(u);if(d!==void 0){n+=d,r=e.lastIndex+=1;continue}}l=l.v}if(l!==void 0)n+=l,r=s+1;else{var f=(0,a.getCodePoint)(t,s);n+=`&#x${f.toString(16)};`,r=e.lastIndex+=Number(f!==c)}}return n+t.substr(r)}})),Aw=/* @__PURE__ */ p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLAttribute=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.DecodingMode=e.EntityDecoder=e.encodeHTML5=e.encodeHTML4=e.encodeNonAsciiHTML=e.encodeHTML=e.escapeText=e.escapeAttribute=e.escapeUTF8=e.escape=e.encodeXML=e.encode=e.decodeStrict=e.decode=e.EncodingMode=e.EntityLevel=void 0;var t=xw(),n=kw(),r=Ow(),i;(function(e){e[e.XML=0]=`XML`,e[e.HTML=1]=`HTML`})(i=e.EntityLevel||={});var a;(function(e){e[e.UTF8=0]=`UTF8`,e[e.ASCII=1]=`ASCII`,e[e.Extensive=2]=`Extensive`,e[e.Attribute=3]=`Attribute`,e[e.Text=4]=`Text`})(a=e.EncodingMode||={});function o(e,n){if(n===void 0&&(n=i.XML),(typeof n==`number`?n:n.level)===i.HTML){var r=typeof n==`object`?n.mode:void 0;return(0,t.decodeHTML)(e,r)}return(0,t.decodeXML)(e)}e.decode=o;function s(e,n){n===void 0&&(n=i.XML);var r=typeof n==`number`?{level:n}:n;return r.mode??=t.DecodingMode.Strict,o(e,r)}e.decodeStrict=s;function c(e,t){t===void 0&&(t=i.XML);var o=typeof t==`number`?{level:t}:t;return o.mode===a.UTF8?(0,r.escapeUTF8)(e):o.mode===a.Attribute?(0,r.escapeAttribute)(e):o.mode===a.Text?(0,r.escapeText)(e):o.level===i.HTML?o.mode===a.ASCII?(0,n.encodeNonAsciiHTML)(e):(0,n.encodeHTML)(e):(0,r.encodeXML)(e)}e.encode=c;var l=Ow();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return l.encodeXML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return l.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return l.escapeUTF8}}),Object.defineProperty(e,"escapeAttribute",{enumerable:!0,get:function(){return l.escapeAttribute}}),Object.defineProperty(e,"escapeText",{enumerable:!0,get:function(){return l.escapeText}});var u=kw();Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return u.encodeNonAsciiHTML}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return u.encodeHTML}});var d=xw();Object.defineProperty(e,"EntityDecoder",{enumerable:!0,get:function(){return d.EntityDecoder}}),Object.defineProperty(e,"DecodingMode",{enumerable:!0,get:function(){return d.DecodingMode}}),Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return d.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTMLAttribute",{enumerable:!0,get:function(){return d.decodeHTMLAttribute}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return d.decodeXML}})})),jw=/* @__PURE__ */ p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.attributeNames=e.elementNames=void 0,e.elementNames=new Map((/* @__PURE__ */ `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.linearGradient.radialGradient.textPath`.split(`.`)).map(function(e){return[e.toLowerCase(),e]})),e.attributeNames=new Map((/* @__PURE__ */ `definitionURL.attributeName.attributeType.baseFrequency.baseProfile.calcMode.clipPathUnits.diffuseConstant.edgeMode.filterUnits.glyphRef.gradientTransform.gradientUnits.kernelMatrix.kernelUnitLength.keyPoints.keySplines.keyTimes.lengthAdjust.limitingConeAngle.markerHeight.markerUnits.markerWidth.maskContentUnits.maskUnits.numOctaves.pathLength.patternContentUnits.patternTransform.patternUnits.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.refX.refY.repeatCount.repeatDur.requiredExtensions.requiredFeatures.specularConstant.specularExponent.spreadMethod.startOffset.stdDeviation.stitchTiles.surfaceScale.systemLanguage.tableValues.targetX.targetY.textLength.viewBox.viewTarget.xChannelSelector.yChannelSelector.zoomAndPan`.split(`.`)).map(function(e){return[e.toLowerCase(),e]}))})),Mw=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=n&&n.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),a=n&&n.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),o=n&&n.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return a(t,e),t};Object.defineProperty(e,"__esModule",{value:!0}),e.render=void 0;var s=o(ww()),c=Aw(),l=jw(),u=/* @__PURE__ */ new Set([`style`,`script`,`xmp`,`iframe`,`noembed`,`noframes`,`plaintext`,`noscript`]);function d(e){return e.replace(/"/g,`"`)}function f(e,t){if(e){var n=(t.encodeEntities??t.decodeEntities)===!1?d:t.xmlMode||t.encodeEntities!==`utf8`?c.encodeXML:c.escapeAttribute;return Object.keys(e).map(function(r){var i=e[r]??``;return t.xmlMode===`foreign`&&(r=l.attributeNames.get(r)??r),!t.emptyAttrs&&!t.xmlMode&&i===``?r:`${r}="${n(i)}"`}).join(` `)}}var p=/* @__PURE__ */ new Set([`area`,`base`,`basefont`,`br`,`col`,`command`,`embed`,`frame`,`hr`,`img`,`input`,`isindex`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`]);function m(e,t){t===void 0&&(t={});for(var n=(`length`in e)?e:[e],r=``,i=0;i<n.length;i++)r+=h(n[i],t);return r}e.render=m,e.default=m;function h(e,t){switch(e.type){case s.Root:return m(e.children,t);case s.Doctype:case s.Directive:return y(e);case s.Comment:return S(e);case s.CDATA:return x(e);case s.Script:case s.Style:case s.Tag:return v(e,t);case s.Text:return b(e,t)}}var g=/* @__PURE__ */ new Set([`mi`,`mo`,`mn`,`ms`,`mtext`,`annotation-xml`,`foreignObject`,`desc`,`title`]),_=/* @__PURE__ */ new Set([`svg`,`math`]);function v(e,t){t.xmlMode===`foreign`&&(e.name=l.elementNames.get(e.name)??e.name,e.parent&&g.has(e.parent.name)&&(t=r(r({},t),{xmlMode:!1}))),!t.xmlMode&&_.has(e.name)&&(t=r(r({},t),{xmlMode:`foreign`}));var n=`<${e.name}`,i=f(e.attribs,t);return i&&(n+=` ${i}`),e.children.length===0&&(t.xmlMode?t.selfClosingTags!==!1:t.selfClosingTags&&p.has(e.name))?(t.xmlMode||(n+=` `),n+=`/>`):(n+=`>`,e.children.length>0&&(n+=m(e.children,t)),(t.xmlMode||!p.has(e.name))&&(n+=`</${e.name}>`)),n}function y(e){return`<${e.data}>`}function b(e,t){var n=e.data||``;return(t.encodeEntities??t.decodeEntities)!==!1&&!(!t.xmlMode&&e.parent&&u.has(e.parent.name))&&(n=t.xmlMode||t.encodeEntities!==`utf8`?(0,c.encodeXML)(n):(0,c.escapeText)(n)),n}function x(e){return`<![CDATA[${e.children[0].data}]]>`}function S(e){return`<!--${e.data}-->`}})),Nw=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.getOuterHTML=s,e.getInnerHTML=c,e.getText=l,e.textContent=u,e.innerText=d;var i=Ew(),a=r(Mw()),o=ww();function s(e,t){return(0,a.default)(e,t)}function c(e,t){return(0,i.hasChildren)(e)?e.children.map(function(e){return s(e,t)}).join(``):``}function l(e){return Array.isArray(e)?e.map(l).join(``):(0,i.isTag)(e)?e.name===`br`?`
|
|
105
|
-
`:l(e.children):(0,i.isCDATA)(e)?l(e.children):(0,i.isText)(e)?e.data:``}function u(e){return Array.isArray(e)?e.map(u).join(``):(0,i.hasChildren)(e)&&!(0,i.isComment)(e)?u(e.children):(0,i.isText)(e)?e.data:``}function d(e){return Array.isArray(e)?e.map(d).join(``):(0,i.hasChildren)(e)&&(e.type===o.ElementType.Tag||(0,i.isCDATA)(e))?d(e.children):(0,i.isText)(e)?e.data:``}})),Pw=/* @__PURE__ */ p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getChildren=n,e.getParent=r,e.getSiblings=i,e.getAttributeValue=a,e.hasAttrib=o,e.getName=s,e.nextElementSibling=c,e.prevElementSibling=l;var t=Ew();function n(e){return(0,t.hasChildren)(e)?e.children:[]}function r(e){return e.parent||null}function i(e){var t,i,a=r(e);if(a!=null)return n(a);for(var o=[e],s=e.prev,c=e.next;s!=null;)o.unshift(s),t=s,s=t.prev;for(;c!=null;)o.push(c),i=c,c=i.next;return o}function a(e,t){return e.attribs?.[t]}function o(e,t){return e.attribs!=null&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&e.attribs[t]!=null}function s(e){return e.name}function c(e){for(var n,r=e.next;r!==null&&!(0,t.isTag)(r);)n=r,r=n.next;return r}function l(e){for(var n,r=e.prev;r!==null&&!(0,t.isTag)(r);)n=r,r=n.prev;return r}})),Fw=/* @__PURE__ */ p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.removeElement=t,e.replaceElement=n,e.appendChild=r,e.append=i,e.prependChild=a,e.prepend=o;function t(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children,n=t.lastIndexOf(e);n>=0&&t.splice(n,1)}e.next=null,e.prev=null,e.parent=null}function n(e,t){var n=t.prev=e.prev;n&&(n.next=t);var r=t.next=e.next;r&&(r.prev=t);var i=t.parent=e.parent;if(i){var a=i.children;a[a.lastIndexOf(e)]=t,e.parent=null}}function r(e,n){if(t(n),n.next=null,n.parent=e,e.children.push(n)>1){var r=e.children[e.children.length-2];r.next=n,n.prev=r}else n.prev=null}function i(e,n){t(n);var r=e.parent,i=e.next;if(n.next=i,n.prev=e,e.next=n,n.parent=r,i){if(i.prev=n,r){var a=r.children;a.splice(a.lastIndexOf(i),0,n)}}else r&&r.children.push(n)}function a(e,n){if(t(n),n.parent=e,n.prev=null,e.children.unshift(n)!==1){var r=e.children[1];r.prev=n,n.next=r}else n.next=null}function o(e,n){t(n);var r=e.parent;if(r){var i=r.children;i.splice(i.indexOf(e),0,n)}e.prev&&(e.prev.next=n),n.parent=r,n.prev=e.prev,n.next=e,e.prev=n}})),Iw=/* @__PURE__ */ p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.filter=n,e.find=r,e.findOneChild=i,e.findOne=a,e.existsOne=o,e.findAll=s;var t=Ew();function n(e,t,n,i){return n===void 0&&(n=!0),i===void 0&&(i=1/0),r(e,Array.isArray(t)?t:[t],n,i)}function r(e,n,r,i){for(var a=[],o=[Array.isArray(n)?n:[n]],s=[0];;)if(s[0]>=o[0].length){if(s.length===1)return a;o.shift(),s.shift()}else{var c=o[0][s[0]++];if(e(c)&&(a.push(c),--i<=0))return a;r&&(0,t.hasChildren)(c)&&c.children.length>0&&(s.unshift(0),o.unshift(c.children))}}function i(e,t){return t.find(e)}function a(e,n,r){r===void 0&&(r=!0);for(var i=Array.isArray(n)?n:[n],o=0;o<i.length;o++){var s=i[o];if((0,t.isTag)(s)&&e(s))return s;if(r&&(0,t.hasChildren)(s)&&s.children.length>0){var c=a(e,s.children,!0);if(c)return c}}return null}function o(e,n){return(Array.isArray(n)?n:[n]).some(function(n){return(0,t.isTag)(n)&&e(n)||(0,t.hasChildren)(n)&&o(e,n.children)})}function s(e,n){for(var r=[],i=[Array.isArray(n)?n:[n]],a=[0];;)if(a[0]>=i[0].length){if(i.length===1)return r;i.shift(),a.shift()}else{var o=i[0][a[0]++];(0,t.isTag)(o)&&e(o)&&r.push(o),(0,t.hasChildren)(o)&&o.children.length>0&&(a.unshift(0),i.unshift(o.children))}}})),Lw=/* @__PURE__ */ p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.testElement=s,e.getElements=c,e.getElementById=l,e.getElementsByTagName=u,e.getElementsByClassName=d,e.getElementsByTagType=f;var t=Ew(),n=Iw(),r={tag_name:function(e){return typeof e==`function`?function(n){return(0,t.isTag)(n)&&e(n.name)}:e===`*`?t.isTag:function(n){return(0,t.isTag)(n)&&n.name===e}},tag_type:function(e){return typeof e==`function`?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return typeof e==`function`?function(n){return(0,t.isText)(n)&&e(n.data)}:function(n){return(0,t.isText)(n)&&n.data===e}}};function i(e,n){return typeof n==`function`?function(r){return(0,t.isTag)(r)&&n(r.attribs[e])}:function(r){return(0,t.isTag)(r)&&r.attribs[e]===n}}function a(e,t){return function(n){return e(n)||t(n)}}function o(e){var t=Object.keys(e).map(function(t){var n=e[t];return Object.prototype.hasOwnProperty.call(r,t)?r[t](n):i(t,n)});return t.length===0?null:t.reduce(a)}function s(e,t){var n=o(e);return!n||n(t)}function c(e,t,r,i){i===void 0&&(i=1/0);var a=o(e);return a?(0,n.filter)(a,t,r,i):[]}function l(e,t,r){return r===void 0&&(r=!0),Array.isArray(t)||(t=[t]),(0,n.findOne)(i(`id`,e),t,r)}function u(e,t,i,a){return i===void 0&&(i=!0),a===void 0&&(a=1/0),(0,n.filter)(r.tag_name(e),t,i,a)}function d(e,t,r,a){return r===void 0&&(r=!0),a===void 0&&(a=1/0),(0,n.filter)(i(`class`,e),t,r,a)}function f(e,t,i,a){return i===void 0&&(i=!0),a===void 0&&(a=1/0),(0,n.filter)(r.tag_type(e),t,i,a)}})),Rw=/* @__PURE__ */ p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.DocumentPosition=void 0,e.removeSubsets=n,e.compareDocumentPosition=i,e.uniqueSort=a;var t=Ew();function n(e){for(var t=e.length;--t>=0;){var n=e[t];if(t>0&&e.lastIndexOf(n,t-1)>=0)e.splice(t,1);else for(var r=n.parent;r;r=r.parent)if(e.includes(r)){e.splice(t,1);break}}return e}var r;(function(e){e[e.DISCONNECTED=1]=`DISCONNECTED`,e[e.PRECEDING=2]=`PRECEDING`,e[e.FOLLOWING=4]=`FOLLOWING`,e[e.CONTAINS=8]=`CONTAINS`,e[e.CONTAINED_BY=16]=`CONTAINED_BY`})(r||(e.DocumentPosition=r={}));function i(e,n){var i=[],a=[];if(e===n)return 0;for(var o=(0,t.hasChildren)(e)?e:e.parent;o;)i.unshift(o),o=o.parent;for(o=(0,t.hasChildren)(n)?n:n.parent;o;)a.unshift(o),o=o.parent;for(var s=Math.min(i.length,a.length),c=0;c<s&&i[c]===a[c];)c++;if(c===0)return r.DISCONNECTED;var l=i[c-1],u=l.children,d=i[c],f=a[c];return u.indexOf(d)>u.indexOf(f)?l===n?r.FOLLOWING|r.CONTAINED_BY:r.FOLLOWING:l===e?r.PRECEDING|r.CONTAINS:r.PRECEDING}function a(e){return e=e.filter(function(e,t,n){return!n.includes(e,t+1)}),e.sort(function(e,t){var n=i(e,t);return n&r.PRECEDING?-1:n&r.FOLLOWING?1:0}),e}})),zw=/* @__PURE__ */ p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getFeed=r;var t=Nw(),n=Lw();function r(e){var t=l(f,e);return t?t.name===`feed`?i(t):a(t):null}function i(e){var t=e.children,r={type:`atom`,items:(0,n.getElementsByTagName)(`entry`,t).map(function(e){var t=e.children,n={media:c(t)};d(n,`id`,`id`,t),d(n,`title`,`title`,t);var r=l(`link`,t)?.attribs.href;r&&(n.link=r);var i=u(`summary`,t)||u(`content`,t);i&&(n.description=i);var a=u(`updated`,t);return a&&(n.pubDate=new Date(a)),n})};d(r,`id`,`id`,t),d(r,`title`,`title`,t);var i=l(`link`,t)?.attribs.href;i&&(r.link=i),d(r,`description`,`subtitle`,t);var a=u(`updated`,t);return a&&(r.updated=new Date(a)),d(r,`author`,`email`,t,!0),r}function a(e){var t=l(`channel`,e.children)?.children??[],r={type:e.name.substr(0,3),id:``,items:(0,n.getElementsByTagName)(`item`,e.children).map(function(e){var t=e.children,n={media:c(t)};d(n,`id`,`guid`,t),d(n,`title`,`title`,t),d(n,`link`,`link`,t),d(n,`description`,`description`,t);var r=u(`pubDate`,t)||u(`dc:date`,t);return r&&(n.pubDate=new Date(r)),n})};d(r,`title`,`title`,t),d(r,`link`,`link`,t),d(r,`description`,`description`,t);var i=u(`lastBuildDate`,t);return i&&(r.updated=new Date(i)),d(r,`author`,`managingEditor`,t,!0),r}var o=[`url`,`type`,`lang`],s=[`fileSize`,`bitrate`,`framerate`,`samplingrate`,`channels`,`duration`,`height`,`width`];function c(e){return(0,n.getElementsByTagName)(`media:content`,e).map(function(e){for(var t=e.attribs,n={medium:t.medium,isDefault:!!t.isDefault},r=0,i=o;r<i.length;r++){var a=i[r];t[a]&&(n[a]=t[a])}for(var c=0,l=s;c<l.length;c++){var a=l[c];t[a]&&(n[a]=parseInt(t[a],10))}return t.expression&&(n.expression=t.expression),n})}function l(e,t){return(0,n.getElementsByTagName)(e,t,!0,1)[0]}function u(e,r,i){return i===void 0&&(i=!1),(0,t.textContent)((0,n.getElementsByTagName)(e,r,i,1)).trim()}function d(e,t,n,r,i){i===void 0&&(i=!1);var a=u(n,r,i);a&&(e[t]=a)}function f(e){return e===`rss`||e===`feed`||e===`rdf:RDF`}})),Bw=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),i=n&&n.__exportStar||function(e,t){for(var n in e)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&r(t,e,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.hasChildren=e.isDocument=e.isComment=e.isText=e.isCDATA=e.isTag=void 0,i(Nw(),e),i(Pw(),e),i(Fw(),e),i(Iw(),e),i(Lw(),e),i(Rw(),e),i(zw(),e);var a=Ew();Object.defineProperty(e,"isTag",{enumerable:!0,get:function(){return a.isTag}}),Object.defineProperty(e,"isCDATA",{enumerable:!0,get:function(){return a.isCDATA}}),Object.defineProperty(e,"isText",{enumerable:!0,get:function(){return a.isText}}),Object.defineProperty(e,"isComment",{enumerable:!0,get:function(){return a.isComment}}),Object.defineProperty(e,"isDocument",{enumerable:!0,get:function(){return a.isDocument}}),Object.defineProperty(e,"hasChildren",{enumerable:!0,get:function(){return a.hasChildren}})})),Vw=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),i=n&&n.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),a=n&&n.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},o=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.DomUtils=e.parseFeed=e.getFeed=e.ElementType=e.Tokenizer=e.createDomStream=e.parseDOM=e.parseDocument=e.DefaultHandler=e.DomHandler=e.Parser=void 0;var s=Cw(),c=Cw();Object.defineProperty(e,"Parser",{enumerable:!0,get:function(){return c.Parser}});var l=Ew(),u=Ew();Object.defineProperty(e,"DomHandler",{enumerable:!0,get:function(){return u.DomHandler}}),Object.defineProperty(e,"DefaultHandler",{enumerable:!0,get:function(){return u.DomHandler}});function d(e,t){var n=new l.DomHandler(void 0,t);return new s.Parser(n,t).end(e),n.root}e.parseDocument=d;function f(e,t){return d(e,t).children}e.parseDOM=f;function p(e,t,n){var r=new l.DomHandler(e,t,n);return new s.Parser(r,t)}e.createDomStream=p;var m=Sw();Object.defineProperty(e,"Tokenizer",{enumerable:!0,get:function(){return o(m).default}}),e.ElementType=a(ww());var h=Bw(),g=Bw();Object.defineProperty(e,"getFeed",{enumerable:!0,get:function(){return g.getFeed}});var _={xmlMode:!0};function v(e,t){return t===void 0&&(t=_),(0,h.getFeed)(f(e,t))}e.parseFeed=v,e.DomUtils=a(Bw())})),Hw=/* @__PURE__ */ p(((e,t)=>{let n=bo(),r=Do(),i=Zo();t.exports=class extends i{createTokenizer(){this.tokenizer=n(this.input,{ignoreErrors:!0})}comment(e){let t=new r;this.init(t,e[2]);let n=this.input.fromOffset(e[3])||this.input.fromOffset(this.input.css.length-1);t.source.end={offset:e[3],line:n.line,column:n.col};let i=e[1].slice(2);if(i.slice(-2)===`*/`&&(i=i.slice(0,-2)),/^\s*$/.test(i))t.text=``,t.raws.left=i,t.raws.right=``;else{let e=i.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}decl(e){e.length>1&&e.some(e=>e[0]===`word`)&&super.decl(e)}unclosedBracket(){}unknownWord(e){this.spaces+=e.map(e=>e[1]).join(``)}unexpectedClose(){this.current.raws.after+=`}`}doubleColon(){}unnamedAtrule(e){e.name=``}precheckMissedSemicolon(e){let t=this.colon(e);if(t===!1)return;let n,r;for(n=t-1;n>=0&&e[n][0]!==`word`;n--);if(n===0)return;for(r=n-1;r>=0;r--)if(e[r][0]!==`space`){r+=1;break}let i=e.slice(n),a=e.slice(r,n);e.splice(r,e.length-r),this.spaces=a.map(e=>e[1]).join(``),this.decl(i)}checkMissedSemicolon(){}endFile(){for(this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||``)+this.spaces;this.current.parent;)this.current=this.current.parent,this.current.raws.after=``}}})),Uw=/* @__PURE__ */ p(((e,t)=>{let{Input:n}=as(),r=Hw();t.exports=function(e,t){let i=new n(e,t),a=new r(i);return a.parse(),a.root}})),Ww=/* @__PURE__ */ p(((e,t)=>{let n=Qo(),r=wo(),i=Uw();t.exports={cssSyntax:{parse:n,stringify:r},cssSafeSyntax:{parse:i,stringify:r}}})),Gw=/* @__PURE__ */ p(((e,t)=>{let n=g(`path`);t.exports={loadModule:r,isModuleNotFoundError:i};function r(e){try{let t=g(`module`),r=process.cwd(),i=n.join(r,`__placeholder__.js`);return t.createRequire(i)(e)}catch(e){if(!i(e))throw e}return null}function i(e){return e&&typeof e==`object`&&e.code===`MODULE_NOT_FOUND`}})),Kw=/* @__PURE__ */ p(((e,t)=>{let n=g(`path`),r=Uw(),{cssSyntax:i,cssSafeSyntax:a}=Ww(),{loadModule:o,isModuleNotFoundError:s}=Gw(),c=[{test:/^sass$/i,lang:`sass`},{test:/^scss$/i,lang:`scss`},{test:/^less$/i,lang:`less`},{test:/^s(?:ugar)?ss$/i,lang:`sugarss`},{test:/^styl(?:us)?$/i,lang:`stylus`},{test:/^postcss$/i,lang:`css`}],l={sass:`postcss-sass`,scss:`postcss-scss`,less:`postcss-less`,sugarss:`sugarss`,stylus:`postcss-styl`};t.exports=function(e){let{rules:t=[],...o}=e||{},s=[...t,...c],u=/* @__PURE__ */ new Set([`css`,...t.map(e=>e.lang),...Object.keys(o)]);return function(e,t){let c=e||`css`,f=t||{},p=process.cwd(),m=n.join(p,`__placeholder__.${c}`);for(let e of s){let t=new RegExp(e.test);if(t.test(c)||t.test(m)){c=e.lang;break}}c=c.toLowerCase();let h=o[c]||l[c];if(h){if(typeof h==`string`){let e=d(h,f);if(e)return e;if(u.has(c))throw Error(`Cannot resolve module "${h}". It's likely that the module isn't installed correctly. Try reinstalling by running the \`npm install ${h}@latest --save-dev\``)}if(h===r)return a;if(typeof h.parse==`function`)return h}return u.has(c)?f.defaultSyntax||i:null}};let u={};function d(e,t){if(e===`postcss`)return t.defaultSyntax||i;if(e===`postcss-safe-parser`)return a;let n=o(e);if(n)return n;
|
|
106
|
-
/* istanbul ignore if */
|
|
107
|
-
if(u[e])try{return u[e]()}catch(e){if(!s(e))throw e}return null}})),qw=/* @__PURE__ */ p(((e,t)=>{let n=bo();function r(...e){let t=n(...e);function r(...e){let n=[],r,i,a=0;for(;(r=t.nextToken.apply(t,e))&&(r[0]!==`word`&&(r[0]===`{`?++a:r[0]===`}`&&--a),(a||n.length)&&(i=r[3]||r[2]||i,n.push(r)),a););return n.length&&(r=[`word`,n.map(e=>e[1]).join(``),n[0][2],i]),r}return Object.assign({},t,{nextToken:r})}t.exports=r})),Jw=/* @__PURE__ */ p(((e,t)=>{let n=Zo(),r=qw();t.exports=class extends n{createTokenizer(){this.tokenizer=r(this.input)}}})),Yw=/* @__PURE__ */ p(((e,t)=>{let n=Hw(),r=qw();t.exports=class extends n{createTokenizer(){this.tokenizer=r(this.input,{ignoreErrors:!0})}}})),Xw=/* @__PURE__ */ p(((e,t)=>{let n=Qo(),r=Jw(),i=Yw(),a=Go();function o(e,t,n){let r=new n(new a(e,t));return r.parse(),r.root}t.exports=function(e){return{parse(t,a){return o(t,a,e.parse===n?r:i)},stringify(...t){return e.stringify(...t)}}}})),Zw=/* @__PURE__ */ p(((e,t)=>{var n,r,i,a,o,s,c,l,u,d,f,p,m,h=/\/(?![*\/])(?:\[(?:[^\]\\\n\r\u2028\u2029]+|\\.)*\]?|[^\/[\\\n\r\u2028\u2029]+|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/uy,g,_,v,y,b,x;m=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y,r=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]+|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/uy,_=/(['"])(?:[^'"\\\n\r]+|(?!\1)['"]|\\(?:\r\n|[^]))*(\1)?/y,p=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y,v=/[`}](?:[^`\\$]+|\\[^]|\$(?!\{))*(`|\$\{)?/y,x=/[\t\v\f\ufeff\p{Zs}]+/uy,u=/\r?\n|[\r\u2028\u2029]/y,d=/\/\*(?:[^*]+|\*(?!\/))*(\*\/)?/y,g=/\/\/.*/y,n=/^#!.*/,a=/[<>.:={}]|\/(?![\/*])/y,i=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/uy,o=/(['"])(?:[^'"]+|(?!\1)['"])*(\1)?/y,s=/[^<>{}]+/y,b=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,y=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/,c=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,l=/^(?:return|throw|yield)$/,f=RegExp(u.source),t.exports=function*(e,{jsx:t=!1}={}){var S,C,w,T,E,ee,D,O,te,k,ne,A,j,M;for({length:ee}=e,T=0,E=``,M=[{tag:`JS`}],S=[],ne=0,A=!1,(D=n.exec(e))&&(yield{type:`HashbangComment`,value:D[0]},T=D[0].length);T<ee;){switch(O=M[M.length-1],O.tag){case`JS`:case`JSNonExpressionParen`:case`InterpolationInTemplate`:case`InterpolationInJSX`:if(e[T]===`/`&&(b.test(E)||c.test(E))&&(h.lastIndex=T,D=h.exec(e))){T=h.lastIndex,E=D[0],A=!0,yield{type:`RegularExpressionLiteral`,value:D[0],closed:D[1]!==void 0&&D[1]!==`\\`};continue}if(m.lastIndex=T,D=m.exec(e)){switch(j=D[0],te=m.lastIndex,k=j,j){case`(`:E===`?NonExpressionParenKeyword`&&M.push({tag:`JSNonExpressionParen`,nesting:ne}),ne++,A=!1;break;case`)`:ne--,A=!0,O.tag===`JSNonExpressionParen`&&ne===O.nesting&&(M.pop(),k=`?NonExpressionParenEnd`,A=!1);break;case`{`:m.lastIndex=0,w=!y.test(E)&&(b.test(E)||c.test(E)),S.push(w),A=!1;break;case`}`:switch(O.tag){case`InterpolationInTemplate`:if(S.length===O.nesting){v.lastIndex=T,D=v.exec(e),T=v.lastIndex,E=D[0],D[1]==="${"?(E=`?InterpolationInTemplate`,A=!1,yield{type:`TemplateMiddle`,value:D[0]}):(M.pop(),A=!0,yield{type:`TemplateTail`,value:D[0],closed:D[1]==="`"});continue}break;case`InterpolationInJSX`:if(S.length===O.nesting){M.pop(),T+=1,E=`}`,yield{type:`JSXPunctuator`,value:`}`};continue}}A=S.pop(),k=A?`?ExpressionBraceEnd`:`}`;break;case`]`:A=!0;break;case`++`:case`--`:k=A?`?PostfixIncDec`:`?UnaryIncDec`;break;case`<`:if(t&&(b.test(E)||c.test(E))){M.push({tag:`JSXTag`}),T+=1,E=`<`,yield{type:`JSXPunctuator`,value:j};continue}A=!1;break;default:A=!1}T=te,E=k,yield{type:`Punctuator`,value:j};continue}if(r.lastIndex=T,D=r.exec(e)){switch(T=r.lastIndex,k=D[0],D[0]){case`for`:case`if`:case`while`:case`with`:E!==`.`&&E!==`?.`&&(k=`?NonExpressionParenKeyword`)}E=k,A=!c.test(D[0]),yield{type:D[1]===`#`?`PrivateIdentifier`:`IdentifierName`,value:D[0]};continue}if(_.lastIndex=T,D=_.exec(e)){T=_.lastIndex,E=D[0],A=!0,yield{type:`StringLiteral`,value:D[0],closed:D[2]!==void 0};continue}if(p.lastIndex=T,D=p.exec(e)){T=p.lastIndex,E=D[0],A=!0,yield{type:`NumericLiteral`,value:D[0]};continue}if(v.lastIndex=T,D=v.exec(e)){T=v.lastIndex,E=D[0],D[1]==="${"?(E=`?InterpolationInTemplate`,M.push({tag:`InterpolationInTemplate`,nesting:S.length}),A=!1,yield{type:`TemplateHead`,value:D[0]}):(A=!0,yield{type:`NoSubstitutionTemplate`,value:D[0],closed:D[1]==="`"});continue}break;case`JSXTag`:case`JSXTagEnd`:if(a.lastIndex=T,D=a.exec(e)){switch(T=a.lastIndex,k=D[0],D[0]){case`<`:M.push({tag:`JSXTag`});break;case`>`:M.pop(),E===`/`||O.tag===`JSXTagEnd`?(k=`?JSX`,A=!0):M.push({tag:`JSXChildren`});break;case`{`:M.push({tag:`InterpolationInJSX`,nesting:S.length}),k=`?InterpolationInJSX`,A=!1;break;case`/`:E===`<`&&(M.pop(),M[M.length-1].tag===`JSXChildren`&&M.pop(),M.push({tag:`JSXTagEnd`}))}E=k,yield{type:`JSXPunctuator`,value:D[0]};continue}if(i.lastIndex=T,D=i.exec(e)){T=i.lastIndex,E=D[0],yield{type:`JSXIdentifier`,value:D[0]};continue}if(o.lastIndex=T,D=o.exec(e)){T=o.lastIndex,E=D[0],yield{type:`JSXString`,value:D[0],closed:D[2]!==void 0};continue}break;case`JSXChildren`:if(s.lastIndex=T,D=s.exec(e)){T=s.lastIndex,E=D[0],yield{type:`JSXText`,value:D[0]};continue}switch(e[T]){case`<`:M.push({tag:`JSXTag`}),T++,E=`<`,yield{type:`JSXPunctuator`,value:`<`};continue;case`{`:M.push({tag:`InterpolationInJSX`,nesting:S.length}),T++,E=`?InterpolationInJSX`,A=!1,yield{type:`JSXPunctuator`,value:`{`};continue}}x.lastIndex=T,(D=x.exec(e))?(T=x.lastIndex,yield{type:`WhiteSpace`,value:D[0]}):(u.lastIndex=T,(D=u.exec(e))?(T=u.lastIndex,A=!1,l.test(E)&&(E=`?NoLineTerminatorHere`),yield{type:`LineTerminatorSequence`,value:D[0]}):(d.lastIndex=T,(D=d.exec(e))?(T=d.lastIndex,f.test(D[0])&&(A=!1,l.test(E)&&(E=`?NoLineTerminatorHere`)),yield{type:`MultiLineComment`,value:D[0],closed:D[1]!==void 0}):(g.lastIndex=T,(D=g.exec(e))?(T=g.lastIndex,A=!1,yield{type:`SingleLineComment`,value:D[0]}):(C=String.fromCodePoint(e.codePointAt(T)),T+=C.length,E=C,A=!1,yield{type:O.tag.startsWith(`JSX`)?`JSXInvalid`:`Invalid`,value:C}))))}}})),Qw=/* @__PURE__ */ p(((e,t)=>{let n=Vw(),r=Zw();t.exports=class extends n.Tokenizer{stateBeforeAttributeValue(e){if(e===123){let e=this.index,t=i(this.buffer,e+1);if(t!=null){this.sectionStart=e,this.index=t+1,this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=8,this.stateBeforeAttributeName(this.buffer.charCodeAt(this.index));return}}super.stateBeforeAttributeValue(e)}};function i(e,t){let n=t,i=0;for(let a of r(e.slice(t))){if(a.value===`}`){if(i===0)return n;i--}else a.value===`{`&&i++;n+=a.value.length}return null}})),$w=/* @__PURE__ */ p(((e,t)=>{let n=Qw();t.exports=class extends n{constructor(...e){super(...e),this._hasFrontmatter=!1}parse(){super.parse()}stateText(e){if(!this._hasFrontmatter){if(e===45){let e=this.index-this.offset;if(e===0&&this.buffer.slice(e,e+3)===`---`){let t=this.buffer.indexOf(`
|
|
77
|
+
`)}function d(n,i){let o=lu({source:{start:{line:n,column:i,offset:0},input:new du(``)}});U({message:t.expected,messageArgs:[r],node:o,result:a,ruleName:e,fix:s})}}}let Gj=G({shortName:Vj,meta:Uj,messages:Hj,rule:Wj}),{ruleName:Kj,messages:qj}=Gj(B);const Jj={name:`no-empty-first-line`,options:[!0]};function Yj(e,t,n){let r=[...(t.match(Bs)?.[0]??``).matchAll(gs)].map(({index:e})=>e);if(r.length===0)return/* @__PURE__ */ new Set;let{first:i}=e,a=i?i.raws.before:e.raws.after;if(typeof a!=`string`)return new Set(r);let o=i?TS(i,n):xS(e,n),s=[...a.matchAll(gs)].map(({index:e})=>e),c=Eb(e,t,n),l=r.filter(e=>!c.has(e));if(l.length===s.length){let e=l.filter((e,t)=>{let n=s[t];if(n===void 0)throw Error(`The raw must hold a semicolon for every one the file's head has left`);return o.has(n)});return/* @__PURE__ */ new Set([...r.filter(e=>c.has(e)),...e])}return s.length===o.size?new Set(r):/* @__PURE__ */ new Set}function Xj(e,t,n){let r=e.source;if(r?.inline||r?.lang===`object-literal`)return 0;let i=r?.input.css??``,a=SS(i,Yj(e,i,t));if(!a.trim())return 0;let o=[...(_c.exec(a)?.[0]??``).matchAll(M)].length;return n.hostLineEdges(e).opens?Math.max(0,o-1):o}function Zj(e,t,n){return Xj(e,t,n)!==0&&Nv(e,t,Jj).some(({fixDisabled:e})=>!e)}const Qj={name:`no-eol-whitespace`,options:[!0]};function $j(e,t){let n=Nv(e,t,Qj).filter(({fixDisabled:e,secondary:t})=>!e&&!H(t,`ignore`,`empty-lines`));return n.length===0?{go:!1,kept:/* @__PURE__ */ new Set}:n.some(({name:e})=>cb(t,e).length===0)?{go:!0,kept:/* @__PURE__ */ new Set}:{go:!0,kept:new Set(tM(e,t).filter(e=>n.every(({name:n})=>sb(t,n,e))))}}function eM(e,t){let n=e.source?.input.fromOffset(t)?.line;if(n===void 0)throw Error(`A space of the root's text must stand on a line of its input`);return n+(e.source?.start?.line??1)-1}function tM(e,t){let n=e.source?.input.css??``,r=/* @__PURE__ */ new Set([...HS(e,t),...Eb(e,n,t)]);return[...new Set(nM(n,r).map(t=>eM(e,t)))]}function nM(e,t){let n=[],r=0;for(let{index:i,0:a}of e.matchAll(M))n.push(...rM(e,r,i,t)),r=i+a.length;return n}function rM(e,t,n,r){let i=[];for(let a=t;a<n;a+=1)if(Nc.test(e.charAt(a)))i.push(a);else if(!r.has(a))return[];return i}const iM={" ":``," ":``};function aM(e,t,n,r,i){let a=0;for(let o=t;o<n;o+=1)if(Nc.test(e.charAt(o)))a+=1;else if(!r.has(i+o))return!1;return a>0}function oM(e,t,n,r=0){let i=[],a=0;for(let[o,{index:s,0:c}]of[...e.matchAll(M)].entries())(o>0||n)&&aM(e,a,s,t,r)&&i.push({rank:o,start:a}),a=s+c.length;return i}function sM(e,t,n){let r=e.source?.input.css??``,i=/* @__PURE__ */ new Set([...HS(e,t),...Eb(e,r,t)]),a=[],o=[...n],s=/* @__PURE__ */ new Set;if(is.test(r))return;let c=!0;function l(t,l,u,d){let f=t.raws[l];if(typeof f!=`string`||!u)return;let[p,m]=u,h=eM(e,p),g=eM(e,m);if(!o.some(e=>e>=h&&e<=g))return;let _=p===0?ej(e):qc.test(r.slice(p-1,p)),v=oM(r.slice(p,m),i,_,p).map(({start:t})=>eM(e,p+t));if(!v.some(e=>n.has(e)))return;let y=oM(f,d,_);if(y.length!==v.length)c=!1;else{for(let e of v)n.has(e)&&s.add(e);a.push({node:t,key:l,lines:y.filter((e,t)=>v[t]!==void 0&&n.has(v[t])).map(({rank:e})=>e)})}}return e.walk(e=>{l(e,`before`,DC(e,t),TS(e,t)),`nodes`in e&&e.nodes&&l(e,`after`,kC(e,t),xS(e,t))}),l(e,`after`,jC(e,t),xS(e,t)),c&&[...n].every(e=>s.has(e))?a:void 0}function cM(e){for(let{node:t,key:n,lines:r}of e){let e=String(t.raws[n]??``),i=[...e.matchAll(M)].map(([e])=>e);t.raws[n]=e.split(M).map((e,t)=>(r.includes(t)?e.replaceAll(Yo,e=>iM[e]??e):e)+(i[t]??``)).join(``)}}function lM(e){for(let[t,n]of Object.entries(e.raws))typeof n==`string`&&is.test(n)&&(e.raws[t]=n.replaceAll(Jo,e=>e===iM[` `]?` `:` `))}function uM(e){e.walk(lM),lM(e)}function dM(e,t){let n=$j(e,t),r=n.kept.size>0?sM(e,t,n.kept):[];return{blankLines:n,masks:r,blankLinesTaken:n.go&&r!==void 0}}function fM(e,t,n){t?.length?(cM(t),n(),uM(e)):n()}function pM(e,t){let n=[],r=0,i=0;for(;r<e.length&&i<t.length;){if(e[r]===t[i]){r+=1,i+=1;continue}let a=e[r]===`<`?t.slice(i).match(Uc):null;if(!a)return;n.push({from:r,at:i,extra:a[0].length-1}),r+=1,i+=a[0].length}return r===e.length&&i===t.length?n:void 0}function mM(e,t){let n=0,r=e.length;for(;n<r;){let i=Math.floor((n+r)/2);t(e[i])?n=i+1:r=i}return n}function hM(e,t){if(!t||t.length===0)return e;let{extra:n}=t[0];return new Set([...e].map(e=>e+n*mM(t,t=>t.from<e)))}function gM(e,t){if(!t||t.length===0)return e;let n=mM(t,t=>t.at<e),r=t[n-1];return r?e-r.extra*(n-1)-Math.min(r.extra,e-r.at):e}function _M(e,t,n,r){let i=[];for(let[n,r]of e.starts){let a=n.source?.start?.offset;a!==void 0&&i.push({print:r,text:a-t});let o=e.ends.get(n),s=n.source?.end?.offset;o!==void 0&&s!==void 0&&i.push({print:o,text:s-t})}let a=[{print:0,text:0}];for(let e of i.toSorted((e,t)=>e.print-t.print)){let t=a.at(-1);e.print>=t.print&&e.text>=t.text&&e.text<=r.length&&a.push(e)}return a.push({print:n.length,text:r.length}),a}function vM(e,t){let n=0,r=e.length-1;for(;n<r;){let i=Math.floor((n+r)/2);e[i].print<t?n=i+1:r=i}return n}function yM(e,t){let n=0;for(;n<e.length&&n<t.length&&e[n]===t[n];)n+=1;return n}function bM(e,t,n){let r=0;for(;r<n&&e[e.length-1-r]===t[t.length-1-r];)r+=1;return r}function xM(e,t,n,r){let i=vM(e,r),a=e[i],o=e[i-1]??{print:0,text:0},s=t.slice(o.print,a.print),c=o.text<=a.text?n.slice(o.text,a.text):``,l=yM(s,c);if(r-o.print<l)return o.text+(r-o.print);if(a.print-r<=bM(s,c,Math.min(s.length,c.length)-l))return a.text-(a.print-r);let u=[...c.matchAll(M)],d=(t.slice(o.print,r).match(M)??[]).length,f=(t.slice(r,a.print).match(M)??[]).length,p=d+f===u.length?u[d]:u.at(-f);return f===0||!p?Math.max(0,a.text-(a.print-r)):o.text+p.index}function SM(e,t,n){let r=e.source?.input.css??t.text,i=as.test(t.text)&&!as.test(r)?t.text.charAt(0):``,a=`${i}${r}`,o=n!==void 0||!t.places||t.text===a?void 0:_M(t.places,(e.source?.start?.offset??0)-i.length,t.text,a);return e=>o?xM(o,t.text,a,e):gM(e,n)}function CM(e,t,n,r){let i=``,a=/* @__PURE__ */ new Set,o=/* @__PURE__ */ new Map,s=/* @__PURE__ */ new Map;function c(e,t){for(let n of e)a.add(t+n)}return n(e,(n,a,l)=>{if(a===e&&l===`start`&&!r)return;let u=i.length;a&&a!==e&&!o.has(a)&&(o.set(a,u),c(TS(a,t),u-String(a.raws.before??``).length)),a&&l===`end`&&n===`}`&&R(a)&&c(xS(a,t),u-String(a.raws.after??``).length),a&&l===`end`&&n!==`}`&&c(VS(a,t),u),i+=n,a&&a!==e&&s.set(a,i.length)}),{text:i,taken:a,starts:o,ends:s}}function wM(e,t,n,r,i){if(!L(n)||!of(n.prop)||t.raws.semicolon||typeof t.raws.after!=`string`)return!1;let a=n.important?n.raws.important??` !important`:e.read(n),o=a.slice(a.replace(F,``).length),s=new Set([...xS(t,r)].map(e=>e+o.length)),c=a.slice(0,a.length-o.length)+wS(i,o+t.raws.after,s);return n.important?n.raws.important=c:e.write(n,c),t.raws.after=``,!0}let{utils:{validateOptions:TM}}=t,EM=`max-empty-lines`;const DM=W({expected:e=>`Expected no more than ${e} empty ${e===1?`line`:`lines`}`});let OM={url:Y(EM),fixable:!0};function kM({ruleName:e,messages:t,syntax:n},r,i){return(a,o)=>{if(!TM(o,e,{actual:r,possible:Su},{actual:i,possible:{ignore:[`comments`]},optional:!0}))return;let s=H(i,`ignore`,`comments`),{blankLines:c,masks:l,blankLinesTaken:u}=dM(a,o),d=u?us:ls;function f(e,t){return GM(r,e,t,d)}let p=Zj(a,o,n),m=ej(a),h=RM.bind(null,f,m,u?ds:Js),g=!1;function _(){g||(g=!0,fM(a,l,()=>{a.walk(e=>{if(hu(e)&&!s&&IM(n,e,f,d),!MM(e,o,f)&&e.raws.before&&(e.raws.before=e===a.first?zM(e.raws.before,p,f,TS(e,o)):wS(f,e.raws.before,TS(e,o))),LM(n,e,o,s,f,d),BM(e)){let t=lC(n,e);typeof t==`string`&&uC(n,e,wS(f,t,mC(e,o)))}}),AM(n,a,o,r,p,f,h,d)}))}let v=0,y=-1,b=UM(a,o),x=b.text,S=x===(a.source?.input.css??x)?[]:pM(a.source?.input.css??``,x),C=b.taken??hM(HS(a,o),S),w=SM(a,b,S);if(u)for(let e of nM(x,C))c.kept.has(eM(a,w(e)))||C.add(e);let T=[...x].map((e,t)=>C.has(t)?` `:e).join(``).replace(Yc,``).length,E=!1;(0,db.default)(HM(s?n.searchCopy(x,a,o).searchString:x,n.commentSpans(x,a,o)),e=>{ee(VM(x,e.startIndex),e.endIndex,a)});function ee(n,i,a){let s=i>=T,c=!1,l=(!n||jM(C,0,n))&&m;l||y===n||jM(C,y,n)?v+=1:v=0,E=l||E&&y===n,y=i,v>r&&(c=!0),(s||c)&&(c&&U({message:t.expected,messageArgs:[r],node:a,index:w(n),endIndex:w(n),result:o,ruleName:e,fix:_}),s&&r&&!E&&(v+=1,v>r&&KM(o.root,a)&&U({message:t.expected,messageArgs:[r],node:a,index:w(i),endIndex:w(i),result:o,ruleName:e,fix:_})))}}}function AM(e,t,n,r,i,a,o,s){let{first:c,last:l}=t,{document:u}=t,d=c&&c.raws.before,f=t.raws.after??``,p=(u&&u.constructor.name)===`Document`;if(c&&d){let e=TS(c,n);c.raws.before=zM(d,i,t=>wS(o,t,new Set([...e].map(e=>e-(d.length-t.length)).filter(e=>e>=0))),e)}function m(e){return p||!KM(n.root,t)?a(e):GM(r===0?1:r,e,!0,s)}if(c&&l&&mu(l)&&typeof l.raws.ownSemicolon==`string`){let e=l.raws.ownSemicolon,r=VS(l,n),i=/* @__PURE__ */ new Set([...r,...[...xS(t,n)].map(t=>t+e.length)]);if((e.match(gs)??[]).length>r.size)l.raws.ownSemicolon=a(e);else{let[n,r]=NM(wS(m,e+f,i),e);l.raws.ownSemicolon=n,t.raws.after=r;return}}if(!(l&&wM(e,t,l,n,m))&&f){if(c)t.raws.after=wS(m,f,xS(t,n));else{let e=xS(t,n);t.raws.after=zM(f,i,t=>wS(e=>m(o(e)),t,new Set([...e].map(e=>e-(f.length-t.length)).filter(e=>e>=0))),e)}}}function jM(e,t,n){if(t<0||n<=t)return!1;for(let r=t;r<n;r+=1)if(!e.has(r))return!1;return!0}function MM(e,t,n){let r=e.prev();if(!r||!mu(r)||typeof r.raws.ownSemicolon!=`string`||typeof e.raws.before!=`string`)return!1;let i=r.raws.ownSemicolon,a=/* @__PURE__ */ new Set([...VS(r,t),...[...TS(e,t)].map(e=>e+i.length)]),[o,s]=NM(wS(n,i+e.raws.before,a),i);return r.raws.ownSemicolon=o,e.raws.before=s,!0}function NM(e,t){let n=(t.match(gs)??[]).length,r=n===0?void 0:[...e.matchAll(gs)][n-1],i=r?r.index+1:0;return[e.slice(0,i),e.slice(i)]}function PM(e,t,n,r){let i=[],a=0;for(let o of n.matchAll(r)){let n=t.slice(o.index,o.index+o[0].length);i.push(t.slice(a,o.index),n===o[0]?e(n):PM(e,n,o[0],ls)),a=o.index+o[0].length}return i.push(t.slice(a)),i.join(``)}function FM(e,t,n,r,i){let a=z(i,e.hostCodeSpans(i,t)),o=z(a,e.commentSpans(a,t,n));return z(r?o:a,[...qd(o,Ud),...kk(o)])}function IM(e,t,n,r){t.raws.left=n(t.raws.left),t.text=PM(n,t.text,z(t.text,e.hostCodeSpans(t.text,t)),r),t.raws.right=n(t.raws.right)}function LM(e,t,n,r,i,a){if(hu(t))return;function o(o){return PM(i,o,FM(e,t,n,r,o),a)}I(t)&&t.raws.afterName&&(t.raws.afterName=o(t.raws.afterName)),t.raws.between&&(t.raws.between=o(t.raws.between));let s=I(t)||L(t)?t.raws.important:void 0;typeof s==`string`&&(t.raws.important=o(s));let c=e.read(t),l=o(c);l!==c&&e.write(t,l)}function RM(e,t,n,r){return r.replace(n,n=>e(n,t))}function zM(e,t,n,r){if(!t)return n(e);let i=_c.exec(SS(e,r))?.[0].length??0,a=0;for(let e=0;e<i;a+=1)r.has(a)||(e+=1);return e.slice(0,a)+n(e.slice(a))}function BM(e){return R(e)}function VM(e,t){return t>0&&Bo.test(e.slice(t-1,t+1))?t-1:t}function HM(e,t){return{source:z(e,[...qd(z(e,t),Ud),...kk(z(e,t))]),target:`
|
|
78
|
+
`,comments:`check`,strings:`check`}}function UM(e,t){let n=Ou(e,t)?.stringify??cu;if(t.root!==e){let r=e.parent?e.toString():Up(e,t),i=CM(e,t,n,!0),a=i.text.indexOf(r);return a<0||i.text.indexOf(r,a+1)>=0?{text:r}:{text:r,taken:WM(e,t,r,new Set([...i.taken].map(e=>e-a).filter(e=>e>=0&&e<r.length))),places:{starts:new Map([...i.starts].map(([e,t])=>[e,t-a])),ends:new Map([...i.ends].map(([e,t])=>[e,t-a]))}}}let r=CM(e,t,n,!1);return{text:r.text,taken:WM(e,t,r.text,r.taken),places:r}}function WM(e,t,n,r){let i=n.length-String(e.raws.after??``).length;return/* @__PURE__ */ new Set([...r,...[...xS(e,t)].map(e=>i+e)])}function GM(e,t,n=!1,r=ls){let i=n?e:e+1;return i===0||typeof t!=`string`?``:t.replaceAll(r,e=>{let t=e.match(M)??[];return t.length>i?t.slice(0,i).join(``):e})}function KM(e,t){if(!e||e.constructor.name!==`Document`||!(`type`in e))return!0;let n;if(t===e.last)n=e.raws&&e.raws.codeAfter;else{let r=e.index(t),i=e.nodes[r+1];n=i&&i.raws&&i.raws.codeBefore}return!String(n).trim()}let qM=G({shortName:EM,meta:OM,messages:DM,rule:kM}),{ruleName:JM,messages:YM}=qM(B),{utils:{validateOptions:XM}}=t,ZM=`max-line-length`;const QM=W({expected:e=>`Expected line length to be no more than ${e} ${e===1?`character`:`characters`}`});let $M={url:Y(ZM)};function eN(e,t,n){let r=0,i=0,a=0;for(let o=0;o<e.length;o+=1){let s=e[o]===` `?n-r%n:1;for(;a<t.length&&(t[a]??[0,0])[1]<=o;)a+=1;o>=(t[a]??[1/0,1/0])[0]&&(i+=s),r+=s}return r-i}function tN(e,t){let n=Ou(e,t)?.stringify??cu,r=``,i=[],a=/* @__PURE__ */ new Set;n(e,(t,n,o)=>{n&&n!==e&&o!==`end`&&!a.has(n)&&(a.add(n),i.push([r.length,n])),r+=t});let{codeBefore:o,codeAfter:s}=e.raws,c=+!!as.test(r);o&&r.startsWith(o,c)&&(c+=o.length);let l=s&&r.endsWith(s)?r.length-s.length:r.length;return{text:r.slice(c,l),starts:i.map(([e,t])=>[e-c,t])}}function nN({ruleName:e,messages:t,syntax:n},r,i){return(a,o)=>{if(!XM(o,e,{actual:r,possible:Su},{actual:i,possible:{ignore:[`non-comments`,`comments`],ignorePattern:[Tu,wu],tabSize:[e=>Su(e)&&Number.isInteger(e)&&e>0]},optional:!0}))return;if(a.source===void 0)throw Error(`The root node must have a source`);let s=H(i,`ignore`,`non-comments`),c=H(i,`ignore`,`comments`),l=i?.tabSize??1,{text:u,starts:d}=tN(a,o),f=0,p=Kd(u,n.inlineComments(a,o),n.addressAtRules()).map(({start:e,end:t})=>[e,t]),m=0;_({endIndex:0}),(0,db.default)({source:Ef(u,n.commentSpans(u,a,o)),target:[`
|
|
79
|
+
`],comments:`check`},e=>_(e));function h(n){for(;f+1<d.length&&(d[f+1]?.[0]??1/0)<=n;)f+=1;let i=d[f],[s,c]=i&&i[0]<=n?i:[0,a];U({index:n-s,endIndex:n-s,result:o,ruleName:e,message:t.expected,messageArgs:[r],node:c})}function g(e,t){let n=[];for(let r=p[m];r&&r[0]<t;r=p[m]){let[i,a]=r;n.push([Math.max(e,i)-e,Math.min(t,a)-e]),m+=1}return n}function _(e){let t=u.indexOf(`
|
|
80
|
+
`,e.endIndex);u[t-1]===`\r`&&--t,t===-1&&(t=u.length);let n=g(e.endIndex,t),a=u.slice(e.endIndex,t);if(H(i,`ignorePattern`,a)||eN(a,n,l)<=r)return;let o=t-1;if(c){if(`insideComment`in e&&e.insideComment)return;let t=u.slice(e.endIndex).trim().slice(0,2);if(t===`/*`||t===`//`)return}if(s){if(`insideComment`in e&&e.insideComment)return h(o);let t=u.slice(e.endIndex).trim().slice(0,2);return t!==`/*`&&t!==`//`?void 0:h(o)}if(u.slice(e.endIndex,t).replace(ic,``).includes(` `))return h(o)}}}let rN=G({shortName:ZM,meta:$M,messages:QM,rule:nN,defersToRunEnd:!0}),{ruleName:iN,messages:aN}=rN(B);function oN(e){let{fix:t}=e;e.root.walkAtRules(cc,t=>{let r=e.syntax.read(t),{searchString:i,runString:a}=e.syntax.searchCopy(r,t,e.result),o=RA(i).filter(({name:e})=>!Po.has(e));(0,db.default)({source:i,target:`:`},e=>{let i=e.startIndex;o.some(({start:e,end:t})=>i>=e&&i<t)||n(r,a,i,t)})});function n(n,r,i,a){e.locationChecker({source:r,index:i,err:o=>{let s=i+ep(a),c=t&&(!e.isFixable||e.isFixable(n,i,a,r));U({message:o,node:a,index:s,endIndex:s,result:e.result,ruleName:e.checkedRuleName,...t&&c&&{fix:()=>t(a,s,r)}})}})}}let{utils:{validateOptions:sN}}=t,cN=`media-feature-colon-space-after`;const lN=W({expectedAfter:()=>`Expected single space after ":"`,rejectedAfter:()=>`Unexpected whitespace after ":"`});let uN={url:Y(cN),fixable:!0};function dN({ruleName:e,messages:t,syntax:n},r){let i=Z(`space`,r,t);return(t,a)=>{if(!sN(a,e,{actual:r,possible:[`always`,`never`]}))return;let o;if(oN({root:t,result:a,syntax:n,locationChecker:i.after,checkedRuleName:e,fix:(e,t)=>{let n=t-ep(e);o||=/* @__PURE__ */ new Map;let r=o.get(e)||[];return r.push(n),o.set(e,r),!0}}),o)for(let[e,t]of o.entries()){let i=n.read(e);for(let e of t.toSorted((e,t)=>t-e)){let t=i.slice(0,e+1),n=i.slice(e+1);r===`always`?i=t+n.replace(N,` `):r===`never`&&(i=t+n.replace(N,``))}n.write(e,i)}}}let fN=G({shortName:cN,meta:uN,messages:lN,rule:dN}),{ruleName:pN,messages:mN}=fN(B),{utils:{validateOptions:hN}}=t,gN=`media-feature-colon-space-before`;const _N=W({expectedBefore:()=>`Expected single space before ":"`,rejectedBefore:()=>`Unexpected whitespace before ":"`});let vN={url:Y(gN),fixable:!0};function yN({ruleName:e,messages:t,syntax:n},r){let i=Z(`space`,r,t);return(t,a)=>{if(!hN(a,e,{actual:r,possible:[`always`,`never`]}))return;let o;if(oN({root:t,result:a,syntax:n,locationChecker:i.before,checkedRuleName:e,isFixable:(e,t,n,i)=>Cw(e,{start:t-kO(i,t).length,end:t,text:r===`always`?` `:``}),fix:(e,t,n)=>{let r=t-ep(e);o||=/* @__PURE__ */ new Map;let i=o.get(e)||[];return i.push([r,kO(n,r)]),o.set(e,i),!0}}),o)for(let[e,t]of o.entries()){let i=n.read(e);for(let[e,n]of t.toSorted(([e],[t])=>t-e)){let t=i.slice(0,e-n.length),a=i.slice(e);i=t+(r===`always`?` `:``)+a}n.write(e,i)}}}let bN=G({shortName:gN,meta:vN,messages:_N,rule:yN}),{ruleName:xN,messages:SN}=bN(B);function CN(e){return e.startsWith(`--`)}let{utils:{validateOptions:wN}}=t,TN=`media-feature-name-case`;const EN=W({expected:(e,t)=>`Expected "${e}" to be "${t}"`});let DN={url:Y(TN),fixable:!0};function ON({ruleName:e,messages:t,syntax:n},r){return(i,a)=>{wN(a,e,{actual:r,possible:[`lower`,`upper`]})&&i.walkAtRules(cc,i=>{let o=n.read(i),s=!1;o=xv(o,n=>{let[,,o,c,{value:l}]=n;if(CN(l))return;let u=cy(l,r);if(l===u)return;let d=ep(i);U({message:t.expected,messageArgs:[l,u],node:i,index:d+o,endIndex:d+c+1,ruleName:e,result:a,fix(){Tg(n,u),s=!0}})}).stringify(),s&&n.write(i,o)})}}let kN=G({shortName:TN,meta:DN,messages:EN,rule:ON}),{ruleName:AN,messages:jN}=kN(B),{utils:{validateOptions:MN}}=t,NN=`media-feature-parentheses-space-inside`;const PN=W({expectedOpening:`Expected single space after "("`,rejectedOpening:`Unexpected whitespace after "("`,expectedClosing:`Expected single space before ")"`,rejectedClosing:`Unexpected whitespace before ")"`});let FN={url:Y(NN),fixable:!0};function IN(e,t){let n=e.sourceIndex+e.value.length+1;return{start:n,end:n+e.before.length,text:t}}function LN(e){return e.sourceEndIndex-1}function RN(e,t){let n=LN(e);return{start:n-e.after.length,end:n,text:t}}function zN({ruleName:e,messages:t,syntax:n},r){return(i,a)=>{MN(a,e,{actual:r,possible:[`always`,`never`]})&&i.walkAtRules(cc,i=>{let o=n.read(i),s=ep(i),c=n.inlineComments(i,a),l=n.commentSpans(o,i,a),u=[],d=[],f=(0,No.default)(Nx(Fx(o,l),l));if(Jk(f.nodes),f.walk((e,i,a)=>{if(!Xd(e,l)){if(Wb(e,i,a)&&!Gb(e))return!1;if(e.type===`function`){if(e.unclosed||Yd(e.sourceEndIndex-1,l))return;let i=e.sourceIndex+e.value.length+1,a=LN(e)-1,d=e.nodes.length===0;r===`never`?(Nc.test(e.before)&&u.push({message:t.rejectedOpening,index:i+s,edits:[IN(e,``)]}),Nc.test(e.after)&&u.push({message:t.rejectedClosing,index:a+s,edits:n.endsWithInlineComment(o.slice(0,e.sourceEndIndex-1-e.after.length),c)?void 0:[RN(e,``)]})):r===`always`&&(e.before===``&&u.push({message:t.expectedOpening,index:i+s,edits:[IN(e,` `)]}),e.after===``&&!d&&u.push({message:t.expectedClosing,index:a+s,edits:[RN(e,` `)]}))}}}),u.length>0){let t=$k(o,u,c,i,a,e);for(let[n,{message:r,index:o,edits:s}]of u.entries()){let c=s&&t[n]?()=>{d.push(...s)}:void 0;U({message:r,node:i,index:o,endIndex:o,result:a,ruleName:e,...c&&{fix:c}})}d.length>0&&n.write(i,Zf(o,d))}})}}let BN=G({shortName:NN,meta:FN,messages:PN,rule:zN}),{ruleName:VN,messages:HN}=BN(B);const UN=[`>=`,`<=`,`>`,`<`,`=`];function WN(e,t,n,r){if(t.name.toLowerCase()!==`media`)return;let i=e.read(t),{searchString:a,runString:o}=e.searchCopy(i,t,n),s=RA(a).filter(({name:e})=>!Po.has(e)),c=0;(0,db.default)({source:a,target:UN},e=>{e.startIndex<c||(c=e.endIndex,s.some(({start:t,end:n})=>e.startIndex>=t&&e.startIndex<n)||r(e,i,t,o))})}function GN(e,t){return e.slice(t+1).match(N)[0]}let{utils:{validateOptions:KN}}=t,qN=`media-feature-range-operator-space-after`;const JN=W({expectedAfter:()=>`Expected single space after range operator`,rejectedAfter:()=>`Unexpected whitespace after range operator`});let YN={url:Y(qN),fixable:!0};function XN({ruleName:e,messages:t,syntax:n},r){let i=Z(`space`,r,t);return(t,a)=>{KN(a,e,{actual:r,possible:[`always`,`never`]})&&t.walkAtRules(cc,t=>{let o=[];if(WN(n,t,a,(t,s,c)=>{let l=t.startIndex+t.target.length-1,u=l+ep(c)+1,d=!vx(s,{start:l+1,end:l+1+GN(s,l).length,text:r===`always`?` `:``},n.inlineComments(c,a),c);i.after({source:s,index:l,err:t=>{U({message:t,node:c,index:u,endIndex:u,result:a,ruleName:e,...d&&{fix:()=>{o.push(l)}}})}})}),o.length>0){let e=n.read(t);for(let t of o.toSorted((e,t)=>t-e)){let n=e.slice(0,t+1),i=e.slice(t+1);r===`always`?e=n+i.replace(N,` `):r===`never`&&(e=n+i.replace(N,``))}n.write(t,e)}})}}let ZN=G({shortName:qN,meta:YN,messages:JN,rule:XN}),{ruleName:QN,messages:$N}=ZN(B),{utils:{validateOptions:eP}}=t,tP=`media-feature-range-operator-space-before`;const nP=W({expectedBefore:()=>`Expected single space before range operator`,rejectedBefore:()=>`Unexpected whitespace before range operator`});let rP={url:Y(tP),fixable:!0};function iP({ruleName:e,messages:t,syntax:n},r){let i=Z(`space`,r,t);return(t,a)=>{eP(a,e,{actual:r,possible:[`always`,`never`]})&&t.walkAtRules(cc,t=>{let o=[];if(WN(n,t,a,(t,n,s,c)=>{let l=t.startIndex-1+ep(s);i.before({source:c,index:t.startIndex,err:i=>{let u=kO(c,t.startIndex),d=Cw(n,{start:t.startIndex-u.length,end:t.startIndex,text:r===`always`?` `:``});U({message:i,node:s,index:l,endIndex:l,result:a,ruleName:e,...d&&{fix(){o.push([t.startIndex,u])}}})}})}),o.length>0){let e=n.read(t);for(let[t,n]of o.toSorted(([e],[t])=>t-e)){let i=e.slice(0,t-n.length),a=e.slice(t);e=i+(r===`always`?` `:``)+a}n.write(t,e)}})}}let aP=G({shortName:tP,meta:rP,messages:nP,rule:iP}),{ruleName:oP,messages:sP}=aP(B);const cP=/* @__PURE__ */ new Set([`abs`,`acos`,`asin`,`atan`,`atan2`,`calc`,`clamp`,`cos`,`exp`,`hypot`,`log`,`max`,`min`,`mod`,`pow`,`rem`,`round`,`sign`,`sin`,`sqrt`,`tan`]);function lP(e){return cP.has(e.toLowerCase().replace(el,``))}function uP(e,t){let n=1,r=t;for(;r<e.length&&n>0;){let t=e.charAt(r);t===`\\`?r+=1:t===`(`?n+=1:t===`)`&&--n,r+=1}return r}function dP(e,t,n,r,i){let a=[],o=t.printedComments(n,e,r),s=Nx(z(e,o),o);function c(e){let n=0;for(let[r,o]of e.entries())if(!(o.sourceIndex<n)){if(o.type===`div`){let n=o.sourceIndex+o.before.length,i=s.charAt(n-1)===`/`||s.charAt(n+1)===`/`;o.value===`/`&&!i&&!t.readsSlashAsOperator(e[r-1],e[r+1])&&a.push({index:n})}else o.type===`function`&&(o.value===``?i.readsGroups&&c(o.nodes):Wb(o,r,e)&&!Gb(o)?n=uP(s,o.sourceIndex+o.value.length+1):t.isStandardFunction(o)&&!lP(o.value)&&(i.ignoreFunctions!==void 0&&Um(o.value,i.ignoreFunctions)||c(o.nodes)))}}return c((0,No.default)(s).nodes),a}const fP=[`always`,`never`,`always-single-line`,`never-single-line`,`always-multi-line`,`never-multi-line`];function pP(e,t,n){return{rule:{name:e,options:fP},writes:t,...n}}function mP(e,t){return e&&`nodes`in e?zb(e,t):``}function hP(e,t){return mu(e)?t.selectorCopies(e).selector:t.read(e)}function gP(e){return(e.match(M)??[]).length}const _P={newline:`
|
|
81
|
+
`,space:` `,none:``};function vP(e,t,n,r,i){let a=mP(e,r),o=MP(t);if(!i)return wv(a);let s=hP(t,n);return Math.max(0,gP(a)-gP(o)-gP(s))+gP(_P[i.written])+gP(Zf(s,i.edits))===0}function yP(e,t,n){let r=e,i=t.read(r);return`@${r.name}${r.raws.afterName??``}${n?Zf(i,n.edits):i}`}function bP(e,t,n){return!n||!t&&n.written!==`newline`?wv(e):n.written!==`newline`&&wv(e.replace(t,` `))}const xP=[pP(`at-rule-name-newline-after`,`newline`,{singleLine:(e,t,n,r)=>bP(yP(e,t,r),MP(e),r),line:e=>e.source?.start?.line}),pP(`at-rule-name-space-after`,`space`,{singleLine:(e,t,n,r)=>bP(yP(e,t,r),MP(e),r),line:e=>e.source?.start?.line})];function SP(e,t,n,r){let{head:i,value:a}=ww(t,e,n);return wv(i+(r?Zf(a,r.edits):a))}const CP=[pP(`declaration-colon-newline-after`,`newline`,{singleLine:SP,line:e=>e.source?.start?.line}),pP(`declaration-colon-space-after`,`space`,{singleLine:SP,line:e=>e.source?.start?.line})];function wP(e,t){let n=e.prev();return!!(n&&I(n)&&H(t,`ignoreAtRules`,n.name))}const TP=[pP(`block-closing-brace-newline-after`,`newline`,{singleLine:(e,t,n)=>wv(mP(e.prev(),n)),ignores:wP,line:e=>e.prev()?.source?.end?.line}),pP(`block-closing-brace-space-after`,`space`,{singleLine:(e,t,n)=>wv(mP(e.prev(),n)),ignores:wP,line:e=>e.prev()?.source?.end?.line})],EP=[pP(`block-opening-brace-newline-after`,`newline`,{singleLine:(e,t,n,r)=>vP(e.parent,e,t,n,r),ignores:(e,t)=>e.parent?.type===`rule`&&H(t,`ignore`,`rules`),line:e=>e.parent?.source?.start?.line}),pP(`block-opening-brace-space-after`,`space`,{singleLine:(e,t,n,r)=>vP(e.parent,e,t,n,r),ignores:(e,t)=>e.parent?.type===`atrule`&&H(t,`ignore`,`at-rules`),line:e=>e.parent?.source?.start?.line})],DP=[pP(`declaration-block-semicolon-newline-after`,`newline`,{singleLine:(e,t,n,r)=>vP(e.parent,e,t,n,r),line:e=>e.prev()?.source?.end?.line}),pP(`declaration-block-semicolon-space-after`,`space`,{singleLine:(e,t,n,r)=>vP(e.parent,e,t,n,r),line:e=>e.prev()?.source?.end?.line})],OP=[pP(`at-rule-semicolon-newline-after`,`newline`,{line:e=>e.prev()?.source?.end?.line})],kP=[{rule:{name:`no-empty-first-line`,options:[!0]},writes:`head`,line:()=>1},{rule:{name:`max-empty-lines`,options:[`0`]},writes:`head`,line:()=>1},{rule:{name:`indentation`,options:[`tab`,...Array.from({length:100},(e,t)=>String(t))]},writes:`head`,line:()=>1}];function AP(e){let t=String(e.raws[IP(e)]??``).replace(F,``);if(I(e))return t.trim()===``?xP:[];if(L(e))return t.replace(Ro,``)===``?CP:CP.filter(({writes:e})=>e===`newline`);let n=e.prev();return n?hu(n)?[]:`nodes`in n&&n.nodes?TP:L(n)?DP:OP:e.parent?.type===`root`?kP:EP}function jP(e,t,n,r,i){if(e.writes===`head`)return e.rule.name===`indentation`?`noIndentation`:`noEmptyLine`;let a=String(t.option);if(!((a.endsWith(`-single-line`)||a.endsWith(`-multi-line`))&&e.singleLine&&a.endsWith(`-single-line`)!==e.singleLine(n,t.syntax,r,i)))return a.startsWith(`always`)?e.writes:`none`}function MP(e){return F.exec(String(e.raws[IP(e)]??``))?.[0]??``}function NP(e,t,n){let r=[];for(let i of AP(e)){let a=i.line(e);for(let o of Nv(e,t,i.rule)){if(o.fixDisabled||i.ignores?.(e,o.secondary)||a!==void 0&&sb(t,o.name,a))continue;let s=jP(i,o,e,t,n);s&&r.push(s)}}return r}function PP(e,t,n){let{written:r}=n;return NP(e,t,n).some(e=>e===`noEmptyLine`?r===`newline`:e===`noIndentation`?r===`space`:e!==r)}function FP(e,t,n,r){let i=new Set(NP(e,n,r).filter(e=>e===`newline`||e===`space`||e===`none`)),[a]=i;if(i.size!==1||a===void 0)return t;let o=F.exec(t)?.[0]??``,s={newline:`
|
|
82
|
+
${o.match(Yc)?.[0]??``}`,space:` `,none:``}[a];return t.slice(0,t.length-o.length)+s}function IP(e){return I(e)?`afterName`:L(e)?`between`:`before`}function LP(e,t,n,r){let i=IP(e),a=String(e.raws[i]??``).replace(F,``),{parent:o}=e,s=i===`before`&&o?.type===`root`&&o.first===e?String(o.raws.codeBefore??``):``;if(a===``&&F.exec(s)?.[0]||i===`before`&&a.replaceAll(`;`,``).trim()!==``)return!0;if(r===`newline`)return!1;let c=e.prev();return i===`before`?!!(c&&hu(c)&&!t.isStandardComment(c)):t.endsWithInlineComment(`${I(e)?`@${e.name}`:e.prop}${a}`,t.inlineComments(e,n))}function RP(e,t){let n=IP(e),r=e.raws,i=typeof r[n]==`string`?r[n]:``,a=F.exec(i)?.[0]??``;r[n]=i.slice(0,i.length-a.length)+t(a)}function zP(e){if(I(e))return e.raws.afterName??``;if(L(e))return e.raws.between??``;let{parent:t}=e;return(t?.type===`root`&&t.first===e?t.raws.codeBefore??``:``)+ab(e)}function BP(e,t,n,r){if(!n)return t;let i=zP(e),a=I(e)?i:F.exec(i)?.[0]??``,o=NP(e,r);return o.every(e=>e===`noIndentation`)?`${a}${t}`:o.every(e=>e===`newline`)?`\n${t}`:t}function VP(e,t,n,r){if(n===`before`||r===`space`)return t;let i=e.slice(t+1);if(!Ac.test(i))return kc.test(i)?e.indexOf(`*/`,t+1)+1:t}function HP(e,t,n,r,i){let a=n===`before`?{start:t-e.slice(0,t).match(F)[0].length,end:t}:{start:t+1,end:t+1+e.slice(t+1).match(N)[0].length};return r===`newline`&&n===`after`&&i?{start:a.start,end:a.start}:a}function UP(e,t,n,r,i,a,o){return e.movesEndIntoInlineComment(n.slice(0,r.end+1),n.slice(0,r.start)+i+n.charAt(r.end),t)||vx(n,{...r,text:i},t,o)||!Cw(n,{...r,text:i})?!1:a===`after`||!e.endsWithInlineComment(n.slice(0,r.start),t)}function WP(e){let{syntax:t,result:n,position:r,whitespace:i}=e,a=e.expectation.startsWith(`always`);return(o,s,c,l,u)=>{let d=t.inlineComments(o,n),f=bf(s,Jd(s,d),!0),p=a?i===`newline`?X(o,n):` `:``,m=[],h={},g=[];for(let a of dP(s,t,o,n,{readsGroups:u,ignoreFunctions:e.ignoreFunctions})){let e=VP(s,a.index,r,i);e!==void 0&&g.push({slash:a,checkIndex:e})}let _=r===`before`?g.find(({slash:e})=>e.index===0):void 0;function v(u){let{slash:m,checkIndex:h}=u,g=HP(f,h,r,i,a),_;return e.locationChecker({source:f,index:h,lineCheckStr:l,err:e=>{_=e}}),{slash:m,checkIndex:h,span:g,isWritten:_!==void 0&&UP(t,d,s,g,p,r,o)&&Zk(o,c+m.index,n,e.checkedRuleName)}}let y=g.filter(e=>e!==_).map(e=>v(e)),b=_?{written:a?i===`newline`?`newline`:`space`:`none`,edits:y.filter(({isWritten:e})=>e).map(({span:e})=>({start:e.start,end:e.end,text:p}))}:void 0,x=FP(o,zP(o),n,b);function S(r,s){if(!_)return;let u=a?i===`newline`?`newline`:`space`:`none`,d=(a||!I(o))&&!LP(o,t,n,u)&&r!==void 0&&!PP(o,n,r),p;return e.locationChecker({source:f,index:_.checkIndex,lineCheckStr:l,textBefore:s,err:e=>{p={message:e,index:c+_.slash.index,isWritten:d}}}),p}let C=S(b,x);C&&U({message:C.message,node:o,index:C.index,endIndex:C.index,result:n,ruleName:e.checkedRuleName,...C.isWritten&&{fix:()=>{h.written=p}}});for(let{slash:t,checkIndex:r,span:i,isWritten:a}of y)e.locationChecker({source:f,index:r,lineCheckStr:l,textBefore:x,err:r=>{let s=c+t.index;U({message:r,node:o,index:s,endIndex:s,result:n,ruleName:e.checkedRuleName,...a&&{fix:()=>{m.push({start:i.start,end:i.end,text:p})}}})}});if(m.length>0&&t.write(o,Zf(s,m)),h.written!==void 0){let e=h.written;RP(o,t=>i===`newline`&&e?e+(t.match(Yc)?.[0]??``):e)}}}function GP(e){let{syntax:t}=e,n=WP(e);e.root.walkDecls(r=>{if(!t.isStandardDeclaration(r)||!t.isStandardProperty(r.prop)||e.ignoreProperties!==void 0&&Um(r.prop,e.ignoreProperties))return;let i=t.read(r);t.isStandardValue(i)&&!t.valueEmbedsHostCode(r)&&n(r,i,V(r),rp(t,r),!1)})}function KP(e){let{syntax:t}=e,n=WP(e);e.root.walkAtRules(cc,e=>{if(!t.isStandardAtRule(e))return;let r=t.read(e);t.isStandardValue(r)&&n(e,r,ep(e),r,!0)})}let{utils:{validateOptions:qP}}=t,JP=`media-feature-slash-space-after`;const YP=W({expectedAfter:()=>`Expected single space after "/"`,rejectedAfter:()=>`Unexpected whitespace after "/"`});let XP={url:Y(JP),fixable:!0};function ZP({ruleName:e,messages:t,syntax:n},r){let i=Z(`space`,r,t);return(t,a)=>{qP(a,e,{actual:r,possible:[`always`,`never`]})&&KP({root:t,result:a,syntax:n,checkedRuleName:e,locationChecker:i.after,position:`after`,expectation:r,whitespace:`space`})}}let QP=G({shortName:JP,meta:XP,messages:YP,rule:ZP}),{ruleName:$P,messages:eF}=QP(B),{utils:{validateOptions:tF}}=t,nF=`media-feature-slash-space-before`;const rF=W({expectedBefore:()=>`Expected single space before "/"`,rejectedBefore:()=>`Unexpected whitespace before "/"`});let iF={url:Y(nF),fixable:!0};function aF({ruleName:e,messages:t,syntax:n},r){let i=Z(`space`,r,t);return(t,a)=>{tF(a,e,{actual:r,possible:[`always`,`never`]})&&KP({root:t,result:a,syntax:n,checkedRuleName:e,locationChecker:i.before,position:`before`,expectation:r,whitespace:`space`})}}let oF=G({shortName:nF,meta:iF,messages:rF,rule:aF}),{ruleName:sF,messages:cF}=oF(B);const lF=[`value-list`,`media-query-list`,`selector-list`];function uF(e){return{spaceAfter:{name:`${e}-comma-space-after`,options:[`always`,`never`,`always-single-line`,`never-single-line`]},spaceBefore:{name:`${e}-comma-space-before`,options:[`always`,`never`,`always-single-line`,`never-single-line`]},newlineAfter:{name:`${e}-comma-newline-after`,options:[`always`,`always-multi-line`,`never-multi-line`]},newlineBefore:{name:`${e}-comma-newline-before`,options:[`always`,`always-multi-line`,`never-multi-line`]}}}const dF=new Map(lF.map(e=>[e,uF(e)]));function fF(e){return e===`spaceAfter`||e===`spaceBefore`}function pF(e,t,n,r){return fF(t)?n.startsWith(`always`)?` `:``:n===`never-multi-line`?``:t===`newlineAfter`?vc.test(e)?e.replace(ac,``):r+e:e}function mF(e,t,n,r,i,a,o,s,c){let l=lF.find(e=>c.includes(`${e}-comma-`)),u=l&&dF.get(l);if(!u)return{edits:[i],assumed:[]};let d=Dv(o,s,u),f=d.findIndex(([,,,e])=>e===c),p=f===-1?[]:d.slice(f+1).filter(([,,e,t])=>!e&&Zk(o,r,s,t)),m=X(o,s),h=kO(t,n),g=n-h.length,_=h.slice(0,i.start-g)+i.text+h.slice(i.end-g),v=GN(t,n),y=v,b=e.slice(0,g)+_+e.slice(n),x=g+_.length;function S(){return wv(b)}for(let[e,t]of p){if(!jv(t,S))continue;let n=e===`spaceBefore`||e===`newlineBefore`,r=pF(n?_:y,e,t,m),i=n?{start:x-_.length,end:x,text:r}:{start:x+1,end:x+1+y.length,text:r};i.text===(n?_:y)||yx(b,[i],a,o)||!fF(e)&&t.startsWith(`always`)&&Sx(b,x,o.type===`atrule`||o.type===`decl`&&of(o.prop),a)||(b=Zf(b,[i]),n?(x+=r.length-_.length,_=r):y=r)}let C=[{start:g,end:n,text:_}],w=[];return y!==v&&w.push({start:n+1,end:n+1+v.length,text:y}),{edits:C,assumed:w}}function hF(e,t,n,r,i,a){if(!e.includes(`-space-after`))return!1;let o=lF.find(t=>e.includes(`${t}-comma-`)),s=o&&dF.get(o);if(!s)return!1;let c=GN(t,n),l=n+1+c.length;if(t[l]!==`,`)return!1;let u=Dv(i,a,s).find(([e])=>e===`spaceBefore`);if(!u)return!1;let[,d,f,p]=u;return f||!Zk(i,r(l),a,p)?!1:jv(d,()=>wv(t))}function gF(e){let{fix:t}=e;e.root.walkAtRules(cc,i=>{let a=e.syntax.read(i),{searchString:o,runString:s,commentSpans:c}=e.syntax.searchCopy(a,i,e.result),l=RA(o).filter(({name:e})=>!Po.has(e)),u=[];(0,db.default)({source:o,target:`,`},e=>{let t=e.startIndex;if(l.some(({start:e,end:n})=>t>=e&&t<n))return;let n=t,r=Is.exec(a.slice(n+1));for(;r;)Du(r[0]),n+=r[0].length,r=Is.exec(a.slice(n+1));if(r=gc.exec(a.slice(n+1)),r){let e=n+1+r[0].length-2,t=c.find(t=>t.start===e);t&&t.end<a.length&&(n=t.end-1)}u.push({comma:t,pastComments:n})});let d=zP(i),[f]=u,p=f?.comma===0,m=BP(i,s,p,e.result),h=u.slice(+!!p).flatMap(e=>r(a,s,n(e),i,d,m)),{edits:g}=Qk(a,h,e.syntax.inlineComments(i,e.result),i,e.result,e.checkedRuleName),_=e.writtenAtTheEdge?.(i),v=t&&_?{written:_,edits:g}:void 0,y=p&&f?r(a,s,n(f),i,FP(i,d,e.result,v),m,v):[],{given:b}=Qk(a,[...h,...y],e.syntax.inlineComments(i,e.result),i,e.result,e.checkedRuleName);for(let[n,{message:r,index:a}]of y.entries())U({message:r,node:i,index:a,endIndex:a,result:e.result,ruleName:e.checkedRuleName,...t&&b[h.length+n]&&{fix:()=>t(i,a,s)}});for(let[n,{message:r,index:a}]of h.entries())U({message:r,node:i,index:a,endIndex:a,result:e.result,ruleName:e.checkedRuleName,...t&&b[n]&&{fix:()=>t(i,a,s)}})});function n(t){return e.allowTrailingComments?t.pastComments:t.comma}function r(n,r,i,a,o,s,c){let l=[];return e.locationChecker({source:r,index:i,textBefore:o,lineCheckStr:s,err:o=>{let s=t&&(!e.isFixable||e.isFixable(n,i,a,r,c))&&!hF(e.checkedRuleName,r,i,e=>e+ep(a),a,e.result),u=s?e.edits(n,i,a,r,i+ep(a)):void 0;l.push({message:o,index:i+ep(a),edits:u?.edits,assumed:u?.assumed,holds:s?e.holds?.(n,i,a,r):void 0})}}),l}}let{utils:{validateOptions:_F}}=t,vF=`media-query-list-comma-newline-after`;const yF=W({expectedAfter:()=>`Expected newline after ","`,expectedAfterMultiLine:()=>`Expected newline after "," in a multi-line list`,rejectedAfterMultiLine:()=>`Unexpected whitespace after "," in a multi-line list`});let bF={url:Y(vF),fixable:!0};function xF({ruleName:e,messages:t,syntax:n},r){let i=Z(`newline`,r,t);return(t,a)=>{if(!_F(a,e,{actual:r,possible:[`always`,`always-multi-line`,`never-multi-line`]}))return;let o;if(gF({root:t,result:a,syntax:n,locationChecker:i.afterOneOnly,checkedRuleName:e,allowTrailingComments:r.startsWith(`always`),holds:(e,t,i)=>(e,o)=>!r.startsWith(`always`)||!Sx(e,o(t),!0,n.inlineComments(i,a)),edits:(e,n)=>({edits:[r.startsWith(`never`)?{start:n+1,end:n+1+GN(e,n).length,text:``}:{start:n+1,end:n+1,text:X(t,a)}],assumed:[]}),fix:(e,t)=>{let n=t-ep(e);o||=/* @__PURE__ */ new Map;let r=o.get(e)||[];return r.push(n),o.set(e,r),!0}}),o)for(let[e,i]of o.entries()){let o=n.read(e);for(let e of i.toSorted((e,t)=>t-e)){let n=o.slice(0,e+1),i=o.slice(e+1);r.startsWith(`always`)?o=vc.test(i)?n+i.replace(ac,``):n+X(t,a)+i:r.startsWith(`never`)&&(o=n+i.replace(N,``))}n.write(e,o)}}}let SF=G({shortName:vF,meta:bF,messages:yF,rule:xF}),{ruleName:CF,messages:wF}=SF(B),{utils:{validateOptions:TF}}=t,EF=`media-query-list-comma-newline-before`;const DF=W({expectedBefore:()=>`Expected newline before ","`,expectedBeforeMultiLine:()=>`Expected newline before "," in a multi-line list`,rejectedBeforeMultiLine:()=>`Unexpected whitespace before "," in a multi-line list`});let OF={url:Y(EF),fixable:!0};function kF({ruleName:e,messages:t,syntax:n},r){let i=Z(`newline`,r,t);return(t,a)=>{if(!TF(a,e,{actual:r,possible:[`always`,`always-multi-line`,`never-multi-line`]}))return;let o;function s(e,n){let i=kO(e,n),o=i.match(Yc)?.[0]??``;return r.startsWith(`always`)?{start:n-o.length,end:n-o.length,text:X(t,a)}:{start:n-i.length,end:n,text:``}}if(gF({root:t,result:a,syntax:n,locationChecker:i.beforeAllowingIndentation,checkedRuleName:e,writtenAtTheEdge:()=>r.startsWith(`always`)?`newline`:`space`,isFixable:(e,t,i,o,c)=>{if(t===0)return c!==void 0&&!LP(i,n,a,c.written)&&!PP(i,a,c);let l=n.endsWithInlineComment(e.slice(0,t),n.inlineComments(i,a));return r===`never-multi-line`&&l?!1:r!==`never-multi-line`||Cw(e,s(o,t))},holds:(e,t,i,o)=>(e,o)=>(t!==0||r!==`never-multi-line`||wv(e))&&(!r.startsWith(`always`)||!Sx(e,o(t),!0,n.inlineComments(i,a))),edits:(t,r,i,o,c)=>mF(t,o,r,c,s(o,r),n.inlineComments(i,a),i,a,e),fix:(e,t,n)=>{let r=t-ep(e);o||=/* @__PURE__ */ new Map;let i=o.get(e)||[];return i.push([r,kO(n,r)]),o.set(e,i),!0}}),o)for(let[e,i]of o.entries()){let o=n.read(e);for(let[n,s]of i.toSorted(([e],[t])=>t-e)){if(n===0){RP(e,e=>r.startsWith(`always`)?X(t,a)+(e.match(Yc)?.[0]??``):` `);continue}let i=o.slice(0,n),c=o.slice(n);if(r.startsWith(`always`)){let e=s.match(Yc)?.[0]??``;i=i.slice(0,i.length-e.length)+X(t,a)+e}else r===`never-multi-line`&&(i=i.slice(0,i.length-s.length));o=i+c}n.write(e,o)}}}let AF=G({shortName:EF,meta:OF,messages:DF,rule:kF}),{ruleName:jF,messages:MF}=AF(B),{utils:{validateOptions:NF}}=t,PF=`media-query-list-comma-space-after`;const FF=W({expectedAfter:()=>`Expected single space after ","`,rejectedAfter:()=>`Unexpected whitespace after ","`,expectedAfterSingleLine:()=>`Expected single space after "," in a single-line list`,rejectedAfterSingleLine:()=>`Unexpected whitespace after "," in a single-line list`});let IF={url:Y(PF),fixable:!0};function LF({ruleName:e,messages:t,syntax:n},r){let i=Z(`space`,r,t);return(t,a)=>{if(!NF(a,e,{actual:r,possible:[`always`,`never`,`always-single-line`,`never-single-line`]}))return;let o;if(gF({root:t,result:a,syntax:n,locationChecker:i.after,checkedRuleName:e,edits:(e,t)=>({edits:[{start:t+1,end:t+1+GN(e,t).length,text:r.startsWith(`always`)?` `:``}],assumed:[]}),fix:(e,t)=>{let n=t-ep(e);o||=/* @__PURE__ */ new Map;let r=o.get(e)||[];return r.push(n),o.set(e,r),!0}}),o)for(let[e,t]of o.entries()){let i=n.read(e);for(let e of t.toSorted((e,t)=>t-e)){let t=i.slice(0,e+1),n=i.slice(e+1);r.startsWith(`always`)?i=t+n.replace(N,` `):r.startsWith(`never`)&&(i=t+n.replace(N,``))}n.write(e,i)}}}let RF=G({shortName:PF,meta:IF,messages:FF,rule:LF}),{ruleName:zF,messages:BF}=RF(B),{utils:{validateOptions:VF}}=t,HF=`media-query-list-comma-space-before`;const UF=W({expectedBefore:()=>`Expected single space before ","`,rejectedBefore:()=>`Unexpected whitespace before ","`,expectedBeforeSingleLine:()=>`Expected single space before "," in a single-line list`,rejectedBeforeSingleLine:()=>`Unexpected whitespace before "," in a single-line list`});let WF={url:Y(HF),fixable:!0};function GF({ruleName:e,messages:t,syntax:n},r){let i=Z(`space`,r,t);return(t,a)=>{if(!VF(a,e,{actual:r,possible:[`always`,`never`,`always-single-line`,`never-single-line`]}))return;let o;function s(e,t){return{start:t-kO(e,t).length,end:t,text:r.startsWith(`always`)?` `:``}}if(gF({root:t,result:a,syntax:n,locationChecker:i.before,checkedRuleName:e,writtenAtTheEdge:()=>r.includes(`always`)?`space`:void 0,isFixable:(e,t,r,i,o)=>t===0?o!==void 0&&!LP(r,n,a,o.written)&&!PP(r,a,o):!n.endsWithInlineComment(e.slice(0,t),n.inlineComments(r,a))&&Cw(e,s(i,t)),edits:(t,r,i,o,c)=>mF(t,o,r,c,s(o,r),n.inlineComments(i,a),i,a,e),fix:(e,t,n)=>{let r=t-ep(e);o||=/* @__PURE__ */ new Map;let i=o.get(e)||[];return i.push([r,kO(n,r)]),o.set(e,i),!0}}),o)for(let[e,t]of o.entries()){let i=n.read(e);for(let[n,a]of t.toSorted(([e],[t])=>t-e)){if(n===0){RP(e,()=>` `);continue}let t=i.slice(0,n-a.length),o=i.slice(n);i=t+(r.startsWith(`always`)?` `:``)+o}n.write(e,i)}}}let KF=G({shortName:HF,meta:WF,messages:UF,rule:GF}),{ruleName:qF,messages:JF}=KF(B);function YF(e,t){return t.some(t=>t.type!==`string`&&P.test(e.slice(t.sourceIndex,t.sourceEndIndex)))}function XF(e,t){if(!YF(e,t))return[];let n=[],r=[],i=!1;function a(){let t=r,a=i;if(r=[],i=!1,a||t.filter(e=>e.type===`string`).length!==1)return;let o=[],s=[],c=!1,l;for(let n of t){let t=e.slice(n.sourceIndex,n.sourceEndIndex);if(n.type===`space`){if(!rl.test(t))break;o.length>0&&(l={start:n.sourceIndex,end:n.sourceEndIndex});continue}if(n.type===`div`||n.type===`comment`)break;let r=c?o.at(-1)?.column===`row`&&!t.startsWith(`[`)?`size`:`trailing`:n.type===`string`?`row`:`names`;n.type===`string`&&(c=!0),l&&s.push(l),l=void 0,o.push({span:{start:n.sourceIndex,end:n.sourceEndIndex},column:r})}o.some(({column:e})=>e===`row`)&&n.push({tokens:o,gaps:s})}for(let n of t){let t=e.slice(n.sourceIndex,n.sourceEndIndex);n.type===`space`&&P.test(t)?(a(),i=!rl.test(t.match(Fs)?.[0]??``)):r.push(n)}return a(),n}let{utils:{validateOptions:ZF}}=t,QF=`named-grid-areas-alignment`;const $F=W({expected:e=>`Expected \`${e}\` value to be aligned`});let eI={url:Y(QF),fixable:!0};function tI(e){return e.type===`string`}function nI(e){return[...e].length}function rI(e,t){return e+` `.repeat(Math.max(0,t-nI(e)))}const iI=[`names`,`row`,`size`,`trailing`];function aI(e,t,n){let r=e.map(e=>e.tokens.map(({span:e,column:n})=>({column:n,text:t(e,n)}))),i={names:0,row:0,size:0,trailing:0};for(let e of r)for(let t of iI){let n=e.filter(e=>e.column===t).map(e=>e.text).join(` `);i[t]=Math.max(i[t],nI(n))}let a=i.names>0?i.names+n:0,o=a+i.row+n,s={names:0,row:a,size:o,trailing:o+(i.size>0?i.size+n:0)},c=/* @__PURE__ */ new Map;for(let[t,n]of e.entries()){let e=r[t]??[],i=e[0]?.text??``;for(let t=1;t<e.length;t+=1){let r=e[t-1],a=e[t],o=n.gaps[t-1];if(!r||!a||!o)throw Error(`A line of the table holds a run between every two of its tokens`);let l=r.column===a.column?` `:` `.repeat(s[a.column]-nI(i));c.set(o.start,l),i+=l+a.text}}return c}function oI({ruleName:e,messages:t,syntax:n},r,i={}){return(a,o)=>{if(!ZF(o,e,{actual:r},{actual:i,possible:{gap:[Su,e=>Number(e)>1],alignQuotes:[yu],alignColumns:[yu]},optional:!0}))return;let s=i.gap??1,c=i.alignQuotes??!1,l=i.alignColumns??!1,u=` `.repeat(s);a.walkDecls(Xo,r=>{let i=n.read(r),a=n.commentSpans(i,r,o),d=z(i,a),f=(0,No.default)(Nx(d,a)),p=YF(i,f.nodes),m=f.nodes.filter(tI),h=m.map(({value:e})=>e.replace(N,``).replace(F,``).replaceAll(Zo,` `)),g=0,_=[];for(let e of h){let t=e.split(` `);g=Math.max(g,t.length),_.push(e.split(` `))}let v=[];for(let e=0;e<g;e+=1){let t=_.map(t=>nI(t[e]??``));v.push(Math.max(0,...t))}let y=0,b=_.map(e=>{let t=e.map((e,t)=>p?rI(e,v[t]??0):e).join(u);return y=Math.max(y,nI(t)),c?t:t.replace(F,``)});c&&p&&(b=b.map(e=>nI(e)===y?e:rI(e.replace(F,``),y)));let x=new Map(m.map((e,t)=>[e.sourceIndex,`${e.quote}${b[t]??``}${e.quote}`])),S=l?aI(XF(i,f.nodes),(e,t)=>(t===`row`?x.get(e.start):void 0)??i.slice(e.start,e.end),s):/* @__PURE__ */ new Map,C=f.nodes.map(e=>x.get(e.sourceIndex)??S.get(e.sourceIndex)??i.slice(e.sourceIndex,e.sourceEndIndex)).join(``);if(C===i)return;let w=V(r),T=d.match(N)[0].length,E=d.replace(F,``).length;U({message:t.expected,messageArgs:[r.prop],node:r,index:w+T,endIndex:w+E,result:o,ruleName:e,fix(){n.write(r,C)}})})}}let sI=G({shortName:QF,meta:eI,messages:$F,rule:oI}),{ruleName:cI,messages:lI}=sI(B),{utils:{validateOptions:uI}}=t,dI=`no-empty-first-line`;const fI=W({rejected:`Unexpected empty line`});let pI={url:Y(dI),fixable:!0};function mI(e,t,n){let r=_c.exec(e)?.[0]??``,i=[...r.matchAll(M)],a=i[n-1],o=i[n+t-1];return e.slice(0,a?a.index+a[0].length:0)+e.slice(o?o.index+o[0].length:r.length)}function hI({ruleName:e,messages:t,syntax:n},r){return(i,a)=>{if(!uI(a,e,{actual:r}))return;let o=Xj(i,a,n);if(o>0){let r=+!!n.hostLineEdges(i).opens;U({message:t.rejected,node:i,result:a,ruleName:e,fix(){let{first:e}=i;if(e===void 0){if(i.raws.after===void 0)throw Error(`The root node must keep the file in its trailing raw.`);i.raws.after=wS(e=>mI(e,o,r),i.raws.after,xS(i,a))}else{if(e.raws.before===void 0)throw Error(`The first node must have spaces before.`);e.raws.before=wS(e=>mI(e,o,r),e.raws.before,TS(e,a))}}})}}}let gI=G({shortName:dI,meta:pI,messages:fI,rule:hI}),{ruleName:_I,messages:vI}=gI(B);function yI(e,t){let n=0;for(;n<t&&e[t-n-1]===`\\`;)n+=1;return n}function bI(e){return yI(e,e.length)}function xI(e,t,n){let r=yI(e,t);return(r===t?r+n:r)%2==1}function SI(e,t,n,r){return e.endsWithInlineComment(n,e.inlineComments(t,r))?0:bI(n)}function CI(e){let{parent:t}=e;if(!t)return!1;if(t.raws.semicolon)return!0;let n=t.nodes??[],r=n.length-1;for(;r>0&&n[r]?.type===`comment`;)--r;return t.index(e)!==r}function wI(e,t,n){if(!t||hu(t)||!(L(t)||I(t)&&!t.nodes)||CI(t))return 0;let r=t.raws.important;return typeof r==`string`?SI(e,t,r,n):L(t)&&t.important?0:SI(e,t,e.read(t),n)}function TI(e,t,n){return SI(e,t,L(t)?t.prop:e.read(t),n)}const EI={newline:{name:`declaration-colon-newline-after`,options:[`always`,`always-multi-line`]},space:{name:`declaration-colon-space-after`,options:[`always`,`never`,`always-single-line`]}};function DI(e,t,n){let r=e.replace(Yc,``);return n&&r.length<e.length&&qc.test(r)?e:t&&r.length<e.length&&xI(e,r.length,0)?e.slice(0,r.length+1):r}function OI(e,t,n,r){let{last:i}=t;if(!i||!L(i)||t.raws.semicolon||t.raws.after&&!vc.test(t.raws.after)||gS(i,n)&&nS(e,i,n)===``)return;let a=e.readsBackslashesAsWritten(t);if(typeof i.raws.important==`string`){i.raws.important=DI(i.raws.important,a,r);return}let o=e.read(i),s=DI(o,a,r);s===``&&o!==``&&!P.test(i.raws.between??``)&&(s=Rv(i,n,Ew(i)?{newline:EI.newline}:EI,()=>!0)),s!==o&&e.write(i,s)}function kI(e){return(e.match(M)??[]).length}function AI(e,t){return n=>e===void 0?void 0:e-kI(t.slice(n))}function jI(e,t,n){return r=>e===void 0?void 0:e+kI(t)+kI(n.slice(0,r))}function MI(e,t){let n=e[t];if(n===void 0)throw Error(`The check must file an entry for every run it finds`);return n}function NI(e,t){if(!e||!t)return;let n=FI(e.offsets,t[0]),r=[...Array.from({length:FI(e.offsets,t[1])-n}).keys()].map(e=>n+e),i=r.filter(t=>e.stays[t]);return{all:r.map(t=>MI(e.lines,t)),staying:i.map(t=>MI(e.lines,t)),stayingSpelled:i.map(t=>MI(e.spelled,t)),keptLine:e.lines[r.find(t=>e.kept[t])??-1]}}function PI(e,t,n=0,r){return(i,a,o,s)=>{let c=r??o;return e?.all.length===c?e.all[n+a]:e?.staying.length===c&&e.stayingSpelled[n+a]===s?e.staying[n+a]:e?.keptLine??t(i,a,o,s)}}function FI(e,t){let n=0,r=e.length;for(;n<r;){let i=Math.floor((n+r)/2);(e[i]??t)<t?n=i+1:r=i}return n}function II(e,t){let n=e.source?.input.fromOffset(t)?.line;if(n===void 0)throw Error(`A run of the root's text must stand on a line of its input`);return n+(e.source?.start?.line??1)-1}function LI(e,t){if(t.length===0)return[];let n=e.source?.start,r=e.source?.input;if(!n||!r)throw Error(`A root reported on must hold a place in its input`);let i=r.document,a=n.offset??RI(i,n),o=t.map((e,t)=>t).toSorted((e,n)=>MI(t,e)-MI(t,n)),s=[],{line:c,column:l}=n,u=a;for(let e of o){let n=a+MI(t,e);for(;u<n;u+=1)cs.test(i.charAt(u))?(l=1,c+=1):l+=1;s[e]={column:l,line:c,offset:n}}return s}function RI(e,t){let n=1,r=1;for(let i=0;i<e.length;i+=1){if(r===t.line&&n===t.column)return i;cs.test(e.charAt(i))?(n=1,r+=1):n+=1}return 0}function zI(e){return(e.source?.start?.line??1)+kI(e.source?.input.css??``)}function BI(e,t){if(t.size===0)return e;let n=``;for(let r=0;r<e.length;r+=1)n+=t.has(r)?`\0`:e.charAt(r);return n}function VI(e,t,n=!0){let r=t.length-t.replace(n?pl:fl,``).length;return e.slice(0,e.length-r)+e.slice(e.length-r).replaceAll(ul,``)}const HI=/* @__PURE__ */ new Set([` `,` `]),UI=[`
|
|
83
|
+
`];function WI(e){return e.replace(Yc,``)}function GI(e,t=e.length-1){for(let n=Math.min(t,e.length-1);n>=0;--n)if(P.test(e.charAt(n)))return n;return-1}function KI(e,t,n){let{ignoreEmptyLines:r,isRootFirst:i,escapes:a,lastBreakWritten:o=!1}=n,s=e-1;for(t.charAt(s)===`\r`&&--s;t.charAt(s)===`\0`;)--s;if(!HI.has(t.charAt(s)))return;let c=s,l=e<t.length&&!(o&&!P.test(t.slice(e+1)));for(;(l?dl:Nc).test(t.charAt(c-1))||t.charAt(c-1)===`\0`;)--c;if(a&&!a.inComment(c-1)&&(xI(t,c,a.lead)||a.closesHexEscape(c))&&(c+=1),!(c>s)){if(r){let e=GI(t,s);if((e>=0||i)&&Ad(t.slice(Math.max(0,e),s).replaceAll(`\0`,``)))return}return{index:s,start:c}}}function qI(e,t,n){let r=[];return t&&YI(e,BI(t,n?.taken??/* @__PURE__ */ new Set),e=>{r.push(e)},n),r}function JI(e,t,n,r=0,i=1,a=``){if(!e.kept||!t)return!1;let o=t(n,r,i,a);return o!==void 0&&e.kept(o)}function YI(e,t,n,r={}){let{syntax:i,root:a,result:o,ignoreEmptyLines:s}=e,{isRootFirst:c=!1,isPlainText:l=!1,lead:u=0,endsALine:d=!1}=r,f=l?[]:i.commentSpans(t,a,o),p;if(!l&&i.readsBackslashesAsWritten(a)){let e=Jd(t,i.inlineComments(a,o));p={lead:u,inComment:e=>f.some(({start:t,end:n})=>t<=e&&e<n),closesHexEscape:n=>Sf(t,e,n)}}let m=l?[]:kk(z(t,f));function h(e){let i=KI(e,t,{ignoreEmptyLines:s,isRootFirst:c,escapes:p,lastBreakWritten:r.lastBreakWritten??!1});i&&!m.some(({start:e,end:t})=>i.index>e&&i.index<t-1)&&n(i)}if(l)for(let{index:e}of t.matchAll(M))h(e);else(0,db.default)({source:Ef(t,f),target:UI,comments:`check`},e=>{h(e.startIndex)});d&&h(t.length)}function XI(e,t,n){return e.slice(t,n+1).replaceAll(`\0`,``)}function ZI(e,t,n,r){if(!t)return;let i=BI(t,r?.taken??/* @__PURE__ */ new Set),a=``,o=0,s=qI(e,t,r);for(let[n,{index:c,start:l}]of s.entries()){if(JI(e,r?.lineOf,c,n,s.length,XI(i,l,c)))continue;let u=c+1;a+=t.slice(o,l)+VI(t.slice(l,u),i.slice(l,u)),o=u}o&&(a+=t.slice(o),n(a))}let{utils:{validateOptions:QI}}=t,$I=`no-eol-whitespace`;const eL=W({rejected:`Unexpected whitespace at end of line`});let tL={url:Y($I),fixable:!0};function nL(e,t){return rl.test(e.slice(GI(e,t-1)+1,t).replaceAll(`\0`,``))}function rL(e,t){let n=t.next(),r=t.parent,i=n?n.raws.before:r?.raws.after;if(typeof i!=`string`)return!1;let a=/* @__PURE__ */ new Set;n?a=TS(n,e.result):r&&(a=xS(r,e.result));let o=BI(i,a).replaceAll(`\0`,``);return vc.test(o)||!n&&r===e.root&&!e.closesOnHostLine&&rl.test(o)}function iL(e,t,n,r=t.map((e,t)=>t)){let i=NI(e.found,n),a=i?t.map(({text:t,options:n})=>qI(e,t,n).length):[],o=a.reduce((e,t)=>e+t,0);for(let n of r){let r=t[n];if(!r)continue;let s=a.slice(0,n).reduce((e,t)=>e+t,0);ZI(e,r.text,r.write,{...r.options,lineOf:PI(i,r.fallback,s,o)})}}function aL(e,t,n,r){let i=[],a=``;function o(e,t,r){i.push({text:e,write:t,options:r,fallback:jI(n,a,e)}),a+=e}I(t)?(o(t.raws.afterName??``,e=>{t.raws.afterName=e}),o(e.read(t),n=>{e.write(t,n)})):mu(t)?o(e.read(t),n=>{e.write(t,n)}):a=t.prop,o(t.raws.between??``,e=>{t.raws.between=e},{lead:TI(e,t,r)}),L(t)&&o(e.read(t),n=>{e.write(t,n)});let s=mu(t)?void 0:t.raws.important;return typeof s==`string`&&o(s,e=>{t.raws.important=e}),i}function oL(e,t,n){let{syntax:r}=e,i=t.raws.left??``,a=t.raws.right??``,o=jI(n,`${i}${t.text}`,a);iL(e,[{text:i,write:e=>{t.raws.left=e},fallback:jI(n,``,i)},{text:t.text,write:e=>{t.text=e},options:{isPlainText:!0},fallback:jI(n,i,t.text)},{text:a,write:e=>{t.raws.right=e},fallback:o}],OC(t,e.result),[0,2,1]),!r.isStandardComment(t)&&!JI(e,o,a.length)&&(t.raws.right?t.raws.right=WI(t.raws.right):!t.text&&t.raws.left&&(t.raws.left=WI(t.raws.left)))}function sL(e,t){let{syntax:n,root:r,result:i}=e,a=SC(t),o=a===void 0?t.source?.end?.line:II(r,a);if(I(t)||mu(t)){let r=t.raws.after??``;iL(e,[{text:t.raws.after,write:e=>{t.raws.after=e},options:{lead:wI(n,t.last,i),taken:xS(t,i)},fallback:AI(o,r)}],kC(t,i))}if(typeof t.raws.ownSemicolon==`string`){let n=rL(e,t)?UI.join(``):``,r=`${t.raws.ownSemicolon}${n}`;iL(e,[{text:r,write:e=>{t.raws.ownSemicolon=e.slice(0,e.length-n.length)},options:{taken:VS(t,i)},fallback:jI(o,``,r)}],AC(t))}}function cL(e,t){let[n,r]=jC(e,t);return[n,Math.max(n,GI((e.source?.input.css??``).slice(0,r))+1)]}function lL(e,t){let{syntax:n,root:r}=e,i=wI(n,r.last,e.result),a=zI(r);iL(e,[{text:r.raws.after,write:e=>{r.raws.after=e},options:{isRootFirst:t,lead:i,taken:xS(r,e.result),lastBreakWritten:e.sourceEndsWithoutBreak},fallback:AI(a,r.raws.after??``)}],cL(r,e.result)),e.closesOnHostLine||e.kept?.(a)||(uL(e,i),OI(e.syntax,e.root,e.result,e.ignoreEmptyLines))}function uL(e,t){let{syntax:n,root:r}=e;if(typeof r.raws.after==`string`){let i=r.raws.after,a=GI(i)+1,o=a===0&&HI.has(i.charAt(0))&&n.readsBackslashesAsWritten(r)&&xI(i,0,t)?1:a,s=BI(i,xS(r,e.result)),c=a>0||!r.first;o<i.length&&!(e.ignoreEmptyLines&&c&&rl.test(s.slice(o).replaceAll(`\0`,``)))&&(r.raws.after=i.slice(0,o)+VI(i.slice(o),s.slice(o),!1))}}function dL(e){let{syntax:t,root:n,result:r}=e,i=!0;n.walk(n=>{let a=n.source?.start?.line,o=n.raws.before??``;iL(e,[{text:n.raws.before,write:e=>{n.raws.before=e},options:{isRootFirst:i,lead:wI(t,n.prev(),r),taken:TS(n,r)},fallback:AI(a,o)}],DC(n,r)),i=!1,I(n)||mu(n)?iL(e,aL(t,n,a,r),OC(n,r)):L(n)&&iL(e,aL(t,n,a,r),OC(n,r),typeof n.raws.important==`string`?[0,2,1]:[0,1]),hu(n)&&oL(e,n,a),sL(e,n)}),lL(e,i)}function fL({ruleName:e,messages:t,syntax:n},r,i){return(a,o)=>{if(!QI(o,e,{actual:r},{optional:!0,actual:i,possible:{ignore:[`empty-lines`]}}))return;let s=H(i,`ignore`,`empty-lines`),c=a.source&&a.source.input.css||``,l=BI(c,/* @__PURE__ */ new Set([...HS(a,o),...Eb(a,c,o)])),u=cb(o,e).length>0?t=>sb(o,e,t):void 0,d=n.hostLineEdges(a).closes,f={syntax:n,root:a,result:o,ignoreEmptyLines:s,sourceEndsWithoutBreak:!d&&!qc.test(c),closesOnHostLine:d,kept:u},p=[];if(YI(f,l,e=>{p.push(e)},{isRootFirst:!0,endsALine:!d}),u){let e=p.map(({index:e})=>II(a,e)),t=e.map(e=>u(e));f.found={offsets:p.map(({index:e})=>e),lines:e,spelled:p.map(({start:e,index:t})=>XI(l,e,t)),kept:t,stays:p.map(({start:e},n)=>!nL(l,e)||t[n]===!0)}}let m=!1;function h(){m||(m=!0,dL(f))}let g=LI(a,p.map(({index:e})=>e));for(let n of g)U({message:t.rejected,node:a,start:n,end:n,result:o,ruleName:e,fix:h})}}let pL=G({shortName:$I,meta:tL,messages:eL,rule:fL}),{ruleName:mL,messages:hL}=pL(B),{utils:{validateOptions:gL}}=t,_L=`no-extra-semicolons`;const vL=W({rejected:`Unexpected extra semicolon`});let yL={url:Y(_L),fixable:!0};function bL(e){let t=e.source?.start?.offset,n=e.root().source?.start?.offset;if(t===void 0||n===void 0)throw Error(`The node and its root must have a start offset`);return t-n}function xL(e,t){let n=ub(e),r=e.root().source?.start?.offset;if(r===void 0)throw Error(`The root must have a start offset`);return n===void 0?bL(e)+Up(e,t).length:n-r}function SL({ruleName:e,messages:t,syntax:n},r){return(i,a)=>{if(!gL(a,e,{actual:r}))return;let o,s=i.source?.input.css??``;if(i.raws.after&&i.raws.after.trim().length>0){let e=i.raws.after,t=pb(n,i,`after`,a),r=[];(0,db.default)({source:e,target:`;`},n=>{if(!t(n.startIndex)){if(o=()=>{r.push(n.startIndex)},!i.source)throw Error(`The root node must have a source`);u(_b(s,s.length,e,n.startIndex)??s.length-e.length+n.startIndex)}}),r.length>0&&(i.raws.after=wL(e,r))}i.walk(e=>{if(!fb(n,e)||(c(e,`before`,hb(n,e,a),(t,n)=>bL(e)-t.length+n),typeof e.raws.after==`string`&&e.raws.after.trim().length>0&&`last`in e&&e.last&&I(e.last)&&!fb(n,e.last)))return;let t=mb(n,e,a),r=gb(n,e),i=t.length>0||r.length>0?xL(e,a):0,o=String(e.raws.ownSemicolon??``).length;c(e,`after`,t,(e,t)=>i-o-1-e.length+t),hu(e)&&l(e),c(e,`ownSemicolon`,r,(e,t)=>i-e.length+t)});function c(e,t,n,r){let i=e.raws[t];if(n.length===0||typeof i!=`string`)return;let a=[];for(let e of n)o=()=>{a.push(e)},u(_b(s,r(i,i.length),i,e)??r(i,e));a.length>0&&(e.raws[t]=wL(i,a))}function l(e){let t=n.inlineCommentCode(e),r=e.raws.left??``,i=[];for(let n of t===null?[]:CL(t))o=()=>{i.push(n-r.length)},u(bL(e)+2+n);i.length>0&&(e.text=wL(e.text,i))}function u(n){U({message:t.rejected,node:i,index:n,endIndex:n,result:a,ruleName:e,...o&&{fix:o}})}}}function CL(e){let t=[],n=e.search(Ms)+1;return(0,db.default)({source:e,target:`;`,functionArguments:`skip`},r=>{r.startIndex<n||!Cw(e,{start:r.startIndex,end:r.startIndex+1,text:``})||(rl.test(e.slice(n,r.startIndex))&&t.push(r.startIndex),n=r.startIndex+1)}),t}function wL(e,t){let n=e;for(let e of t.toReversed())n=n.slice(0,e)+n.slice(e+1);return n}let TL=G({shortName:_L,meta:yL,messages:vL,rule:SL}),{ruleName:EL,messages:DL}=TL(B),{utils:{validateOptions:OL}}=t,kL=`no-missing-end-of-source-newline`;const AL=W({rejected:`Unexpected missing end-of-source newline`});let jL={url:Y(kL),fixable:!0};function ML({ruleName:e,messages:t,syntax:n},r){return(i,a)=>{if(!OL(a,e,{actual:r}))return;if(i.source===void 0)throw Error(`The root node must have a source property`);let o=i.source;if(o.inline||o.lang===`object-literal`)return;let s=i.source.input.css;if(!s.trim()||qc.test(s)||n.hostLineEdges(i).closes)return;let c=s.length-1;U({message:t.rejected,node:i,index:c,endIndex:c,result:a,ruleName:e,fix(){let e=typeof i.raws.after==`string`?i.raws.after:``,t=e.replace(Yc,``),n=s.replace(Yc,``),r=qc.test(t)&&qc.test(n);i.raws.after=r?t:e+X(i,a)}})}}let NL=G({shortName:kL,meta:jL,messages:AL,rule:ML}),{ruleName:PL,messages:FL}=NL(B),{utils:{validateOptions:IL}}=t,LL=`no-multiple-whitespaces`;const RL=W({rejected:`Unexpected multiple whitespace`});let zL={url:Y(LL),fixable:!0};const BL={name:`named-grid-areas-alignment`,options:[!0]};function VL(e,t){return Ks.test(e.slice(t,t+2))}function HL(e,t){return rd(e.charAt(t))&&!VL(e,t)}function UL(e,t){if(t.length===0)return e;let n=[],r=0;for(let{start:i,end:a}of t){let t=``;for(let n=i;n<a;n+=1)t+=VL(e,n)?e.charAt(n):`x`;n.push(e.slice(r,i),t),r=a}return n.push(e.slice(r)),n.join(``)}const WL=/#\{|@\{|~["']/u;function GL(e,t,n){let r=n.filter(({start:t,end:n})=>WL.test(e.slice(t,n)));return e.replaceAll(/["']/gu,(e,n)=>KL(t,n)||KL(r,n)?e:`x`)}function KL(e,t){return e.some(({start:e,end:n})=>t>=e&&t<n)}function qL(e,t){return JL(e,Bo.test(e.slice(t-1,t+1))?t-1:t)}function JL(e,t){let n=0;for(let r=t-1;r>=0&&e[r]===`\\`;--r)n+=1;return n%2!=0}function YL(e,t,n,r,i){return!t&&(e===`"`||e===`'`)?{inString:!0,stringChar:e,skip:!0}:t&&e===n&&!JL(r,i)?{inString:!1,stringChar:``,skip:!0}:t?{inString:t,stringChar:n,skip:!0}:{inString:t,stringChar:n,skip:!1}}function XL(e,t,n){let r=!1,i=``,a=!0,o=[];for(let s=0;s<e.length;s+=1){let c=e.charAt(s);if(r&&Vo.test(c)&&!qL(e,s))break;let l=YL(c,r,i,e,s);if(r=l.inString,i=l.stringChar,l.skip)a=!1;else if(VL(e,s)||n.has(s))a=!0;else{if(HL(e,s)){if(a){for(;s<e.length&&HL(e,s);)s+=1;a=!1,--s;continue}let n=s,r=0;for(;s<e.length&&HL(e,s);)r+=1,s+=1;r>1&&!t.some(({start:e,end:t})=>n>=e&&n+r<=t)&&o.push({start:n,count:r}),--s}a=!1}}return o}function ZL(e,t){let n=e;for(let r of t.toReversed()){let t={start:r.start,end:r.start+r.count,text:` `},i=Cw(e,t)?t.text:e.charAt(r.start);n=`${n.slice(0,r.start)}${i}${n.slice(r.start+r.count)}`}return n}const QL={name:`declaration-colon-newline-after`,options:[`always`,`always-multi-line`]};function $L({ruleName:e,messages:t,syntax:n},r){return(i,a)=>{if(!IL(a,e,{actual:r}))return;let o=Nv(i,a,BL).some(({secondary:e})=>e.alignColumns===!0);i.walkDecls(r=>{let i=n.read(r),s=rS(n,r,a),c=i.slice(0,i.length-s.length),l=V(r),u=Nv(r,a,QL).some(({option:e,fixDisabled:t})=>!t&&typeof e==`string`&&jv(e,()=>!Vo.test(c))),d=c.includes(`/`)?n.commentSpans(c,r,a):[],f=o&&Xo.test(r.prop)?XF(c,(0,No.default)(z(c,d)).nodes).flatMap(({gaps:e})=>e):[],p=n.inlineComments(r,a),m=c.includes(`"`)||c.includes(`'`),h=m?qd(c,p):[],g=m?Kd(c,p):[],_=UL(bf(c,Jd(c,p)),d),v=XL(GL(UL(_,kk(_)),h,g),f,new Set(d.filter(({isInline:e})=>e).map(({end:e})=>e))),y=c.match(ac)?.[0].length??0,b=/* @__PURE__ */ new Set;if(u)for(let e of d)e.isInline||e.start===y&&(b.add(e.end),y=e.end);let x=u?b:/* @__PURE__ */ new Set,S=u?v.filter(e=>!x.has(e.start)):v;for(let i of S)U({message:t.rejected,node:r,index:l+i.start,endIndex:l+i.start+i.count,result:a,ruleName:e,fix(){n.write(r,ZL(c,S)+s)}})})}}let eR=G({shortName:LL,meta:zL,messages:RL,rule:$L}),{ruleName:tR,messages:nR}=eR(B),{utils:{validateOptions:rR}}=t,iR=`number-leading-zero`;const aR=W({expected:`Expected a leading zero`,rejected:`Unexpected leading zero`});let oR={url:Y(iR),fixable:!0};function sR({ruleName:e,messages:t,syntax:n},r){return(i,a)=>{if(!rR(a,e,{actual:r,possible:[`always`,`never`]}))return;let o;i.walkAtRules(e=>{e.name.toLowerCase()!==`import`&&s(e,n.read(e))}),i.walkDecls(e=>s(e,n.read(e)));function s(e,i){let s=[],l=[];if(!i.includes(`.`))return;let u=n.commentSpans(i,e,a);if((0,No.default)(Nx(Fx(i,u),u)).walk((n,i,a)=>{if(Wb(n,i,a)&&!Gb(n))return!1;if(!Xd(n,u)&&n.type===`word`){if(r===`always`){let r=xs.exec(n.value);if(r===null||r[1]===void 0)return;let i=r[0].length-r[1].length,a=n.sourceIndex+r.index+i;o=()=>{l.unshift({index:a})};let s=I(e)?ep(e):V(e);c(t.expected,e,s+a)}if(r===`never`){let r=Ss.exec(n.value);if(r===null||r[1]===void 0||r[2]===void 0)return;let i=r[1],a=r[0].length-(i.length+r[2].length),l=n.sourceIndex+r.index+a;o=()=>{s.unshift({startIndex:l,endIndex:l+i.length})};let u=I(e)?ep(e):V(e);c(t.rejected,e,u+l)}}}),l.length>0)for(let t of l){let r=t.index;n.write(e,cR(n.read(e),r))}if(s.length>0)for(let t of s){let r=t.startIndex,i=t.endIndex;n.write(e,lR(n.read(e),r,i))}}function c(t,n,r){U({result:a,ruleName:e,message:t,node:n,index:r,endIndex:r,...o&&{fix:o}})}}}function cR(e,t){return`${e.slice(0,t)}0${e.slice(t)}`}function lR(e,t,n){return e.slice(0,t)+e.slice(n)}let uR=G({shortName:iR,meta:oR,messages:aR,rule:sR}),{ruleName:dR,messages:fR}=uR(B),{utils:{validateOptions:pR}}=t,mR=`number-no-trailing-zeros`;const hR=W({rejected:`Unexpected trailing zero(s)`});let gR={url:Y(mR),fixable:!0};function _R({ruleName:e,messages:t,syntax:n},r){return(i,a)=>{if(!pR(a,e,{actual:r}))return;i.walkAtRules(e=>{e.name.toLowerCase()!==`import`&&o(e,n.read(e))}),i.walkDecls(e=>o(e,n.read(e)));function o(r,i){let o=[];if(!i.includes(`.`))return;let s=n.commentSpans(i,r,a);if((0,No.default)(Nx(Fx(i,s),s)).walk((n,i,c)=>{if(Wb(n,i,c)&&!Gb(n))return!1;if(Xd(n,s)||n.type!==`word`)return;let l=Cs.exec(n.value);if(l===null||l[1]===void 0||l[2]===void 0)return;let u=n.sourceIndex+l.index+1+l[1].length,d=l[1].length>0?u:u-1,f=u+l[2].length,p=(I(r)?ep(r):V(r))+u;U({message:t.rejected,node:r,index:p,endIndex:p,result:a,ruleName:e,fix(){o.unshift({startIndex:d,endIndex:f})}})}),o.length>0)for(let e of o){let t=e.startIndex,i=e.endIndex;n.write(r,vR(n.read(r),t,i))}}}}function vR(e,t,n){return e.slice(0,t)+e.slice(n)}let yR=G({shortName:mR,meta:gR,messages:hR,rule:_R}),{ruleName:bR,messages:xR}=yR(B),{utils:{validateOptions:SR}}=t,CR=`property-case`;const wR=W({expected:(e,t)=>`Expected "${e}" to be "${t}"`});let TR={url:Y(CR),fixable:!0};function ER({ruleName:e,messages:t,syntax:n},r,i){return(a,o)=>{SR(o,e,{actual:r,possible:[`lower`,`upper`]},{actual:i,possible:{ignoreSelectors:[Tu,wu]},optional:!0})&&a.walkDecls(a=>{let s=a.prop;if(!n.isStandardProperty(s)||of(s))return;let{parent:c}=a;if(!c)throw Error(`A parent node must be present`);if(mu(c)){let{selector:e}=c;if(e&&H(i,`ignoreSelectors`,e))return}let l=cy(s,r);s!==l&&U({message:t.expected,messageArgs:[s,l],word:s,node:a,ruleName:e,result:o,fix(){a.prop=l}})})}}let DR=G({shortName:CR,meta:TR,messages:wR,rule:ER}),{ruleName:OR,messages:kR}=DR(B);var AR=/* @__PURE__ */ p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;function t(e){for(var t=e.toLowerCase(),n=``,r=0;r<6&&t[r]!==void 0;r++){var i=t.charCodeAt(r);if(!(i>=97&&i<=102||i>=48&&i<=57))break;n+=t[r]}if(n.length!==0){var a=n.length,o=e[a];(o===` `||o===` `||o===`
|
|
84
|
+
`||o===`\r`||o===`\f`)&&(a+=o===`\r`&&e[a+1]===`
|
|
85
|
+
`?2:1);var s=parseInt(n,16);return s>=55296&&s<=57343||s===0||s>1114111?[`�`,a]:[String.fromCodePoint(s),a]}}var n=/\\/;function r(e){if(!n.test(e))return e;for(var r=``,i=0;i<e.length;i++)if(e[i]===`\\`){var a=t(e.slice(i+1,i+9));if(a!==void 0){r+=a[0],i+=a[1];continue}if(e[i+1]===`\\`){r+=`\\`,i++;continue}e.length===i+1&&(r+=e[i])}else r+=e[i];return r}})),jR=/* @__PURE__ */ p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(e){for(var t=[...arguments].slice(1);t.length>0;){var n=t.shift();if(!e[n])return;e=e[n]}return e}})),MR=/* @__PURE__ */ p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(e){for(var t=[...arguments].slice(1);t.length>0;){var n=t.shift();e[n]||(e[n]={}),e=e[n]}}})),NR=/* @__PURE__ */ p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(e){for(var t=``,n=e.indexOf(`/*`),r=0;n>=0;){t+=e.slice(r,n);var i=e.indexOf(`*/`,n+2);if(i<0)return t;r=i+2,n=e.indexOf(`/*`,r)}return t+=e.slice(r),t}})),PR=/* @__PURE__ */ p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MAX_NESTING_DEPTH=void 0,e.default=t,e.MAX_NESTING_DEPTH=256;function t(t){return Number.isSafeInteger(t)&&t>=0?t:e.MAX_NESTING_DEPTH}})),FR=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.MAX_NESTING_DEPTH=e.resolveMaxNestingDepth=e.stripComments=e.ensureObject=e.getProp=e.unesc=void 0;var i=AR();Object.defineProperty(e,"unesc",{enumerable:!0,get:function(){return r(i).default}});var a=jR();Object.defineProperty(e,"getProp",{enumerable:!0,get:function(){return r(a).default}});var o=MR();Object.defineProperty(e,"ensureObject",{enumerable:!0,get:function(){return r(o).default}});var s=NR();Object.defineProperty(e,"stripComments",{enumerable:!0,get:function(){return r(s).default}});var c=PR();Object.defineProperty(e,"resolveMaxNestingDepth",{enumerable:!0,get:function(){return r(c).default}}),Object.defineProperty(e,"MAX_NESTING_DEPTH",{enumerable:!0,get:function(){return c.MAX_NESTING_DEPTH}})})),IR=/* @__PURE__ */ p((e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=FR(),n=function(e,r,i){if(i===void 0&&(i=0),i>t.MAX_NESTING_DEPTH)throw Error(`Cannot clone selector: nesting depth exceeds the maximum of ${t.MAX_NESTING_DEPTH}.`);if(typeof e!=`object`||!e)return e;var a=new e.constructor;for(var o in e)if(e.hasOwnProperty(o)){var s=e[o];o===`parent`&&typeof s==`object`?r&&(a[o]=r):a[o]=s instanceof Array?s.map(function(e){return n(e,a,i+1)}):n(s,a,i+1)}return a};e.default=function(){function e(e){e===void 0&&(e={}),Object.assign(this,e),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||``,this.spaces.after=this.spaces.after||``}return e.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},e.prototype.replaceWith=function(){if(this.parent){for(var e in arguments)this.parent.insertBefore(this,arguments[e]);this.remove()}return this},e.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},e.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},e.prototype.clone=function(e){e===void 0&&(e={});var t=n(this);for(var r in e)t[r]=e[r];return t},e.prototype.appendToPropertyAndEscape=function(e,t,n){this.raws||={};var r=this[e],i=this.raws[e];this[e]=r+t,i||n!==t?this.raws[e]=(i||r)+n:delete this.raws[e]},e.prototype.setPropertyAndEscape=function(e,t,n){this.raws||={},this[e]=t,this.raws[e]=n},e.prototype.setPropertyWithoutEscape=function(e,t){this[e]=t,this.raws&&delete this.raws[e]},e.prototype.isAtPosition=function(e,t){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>e||this.source.end.line<e||this.source.start.line===e&&this.source.start.column>t||this.source.end.line===e&&this.source.end.column<t)},e.prototype.stringifyProperty=function(e){return this.raws&&this.raws[e]||this[e]},Object.defineProperty(e.prototype,"rawSpaceBefore",{get:function(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.before;return e===void 0&&(e=this.spaces&&this.spaces.before),e||``},set:function(e){(0,t.ensureObject)(this,`raws`,`spaces`),this.raws.spaces.before=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rawSpaceAfter",{get:function(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.after;return e===void 0&&(e=this.spaces.after),e||``},set:function(e){(0,t.ensureObject)(this,`raws`,`spaces`),this.raws.spaces.after=e},enumerable:!1,configurable:!0}),e.prototype.valueToString=function(){return String(this.stringifyProperty(`value`))},e.prototype.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join(``)},e.prototype._stringify=function(){return this.toString()},e}()})),LR=/* @__PURE__ */ p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.UNIVERSAL=e.ATTRIBUTE=e.CLASS=e.COMBINATOR=e.COMMENT=e.ID=e.NESTING=e.PSEUDO=e.ROOT=e.SELECTOR=e.STRING=e.TAG=void 0,e.TAG=`tag`,e.STRING=`string`,e.SELECTOR=`selector`,e.ROOT=`root`,e.PSEUDO=`pseudo`,e.NESTING=`nesting`,e.ID=`id`,e.COMMENT=`comment`,e.COMBINATOR=`combinator`,e.CLASS=`class`,e.ATTRIBUTE=`attribute`,e.UNIVERSAL=`universal`})),RR=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),i=n&&n.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),a=n&&n.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),o=n&&n.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},e(t)};return function(t){if(t&&t.__esModule)return t;var n={};if(t!=null)for(var r=e(t),o=0;o<r.length;o++)r[o]!=="default"&&i(n,t,r[o]);return a(n,t),n}})(),s=n&&n.__values||function(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)},c=n&&n.__read||function(e,t){var n=typeof Symbol==`function`&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,a=[],o;try{for(;(t===void 0||t-->0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a},l=n&&n.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))},u=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var d=FR(),f=u(IR()),p=o(LR());e.default=function(e){r(t,e);function t(t){var n=e.call(this,t)||this;return n.nodes||=[],n}return t.prototype.append=function(e){return e.parent=this,this.nodes.push(e),this},t.prototype.prepend=function(e){for(var t in e.parent=this,this.nodes.unshift(e),this.indexes)this.indexes[t]++;return this},t.prototype.at=function(e){return this.nodes[e]},t.prototype.index=function(e){return typeof e==`number`?e:this.nodes.indexOf(e)},Object.defineProperty(t.prototype,"first",{get:function(){return this.at(0)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.at(this.length-1)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this.nodes.length},enumerable:!1,configurable:!0}),t.prototype.removeChild=function(e){e=this.index(e),this.at(e).parent=void 0,this.nodes.splice(e,1);var t;for(var n in this.indexes)t=this.indexes[n],t>=e&&(this.indexes[n]=t-1);return this},t.prototype.removeAll=function(){var e,t;try{for(var n=s(this.nodes),r=n.next();!r.done;r=n.next()){var i=r.value;i.parent=void 0}}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return this.nodes=[],this},t.prototype.empty=function(){return this.removeAll()},t.prototype.insertAfter=function(e,t){var n;t.parent=this;for(var r=this.index(e),i=[],a=2;a<arguments.length;a++)arguments[a].parent=this,i.push(arguments[a]);(n=this.nodes).splice.apply(n,l([r+1,0,t],c(i),!1)),t.parent=this;var o;for(var s in this.indexes)o=this.indexes[s],r<o&&(this.indexes[s]=o+arguments.length-1);return this},t.prototype.insertBefore=function(e,t){var n;t.parent=this;for(var r=this.index(e),i=[],a=2;a<arguments.length;a++)arguments[a].parent=this,i.push(arguments[a]);(n=this.nodes).splice.apply(n,l([r,0,t],c(i),!1)),t.parent=this;var o;for(var s in this.indexes)o=this.indexes[s],o>=r&&(this.indexes[s]=o+arguments.length-1);return this},t.prototype._findChildAtPosition=function(e,t){var n=void 0;return this.each(function(r){if(r.atPosition){var i=r.atPosition(e,t);if(i)return n=i,!1}else if(r.isAtPosition(e,t))return n=r,!1}),n},t.prototype.atPosition=function(e,t){if(this.isAtPosition(e,t))return this._findChildAtPosition(e,t)||this},t.prototype._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))},t.prototype.each=function(e){this.lastEach||=0,this.indexes||={},this.lastEach++;var t=this.lastEach;if(this.indexes[t]=0,this.length){for(var n,r;this.indexes[t]<this.length&&(n=this.indexes[t],r=e(this.at(n),n),r!==!1);)this.indexes[t]+=1;if(delete this.indexes[t],r===!1)return!1}},t.prototype.walk=function(e,t){if(t===void 0&&(t=0),t>d.MAX_NESTING_DEPTH)throw Error(`Cannot walk selector: nesting depth exceeds the maximum of ${d.MAX_NESTING_DEPTH}.`);return this.each(function(n,r){var i=e(n,r);if(i!==!1&&n.length&&(i=n.walk(e,t+1)),i===!1)return!1})},t.prototype.walkAttributes=function(e){var t=this;return this.walk(function(n){if(n.type===p.ATTRIBUTE)return e.call(t,n)})},t.prototype.walkClasses=function(e){var t=this;return this.walk(function(n){if(n.type===p.CLASS)return e.call(t,n)})},t.prototype.walkCombinators=function(e){var t=this;return this.walk(function(n){if(n.type===p.COMBINATOR)return e.call(t,n)})},t.prototype.walkComments=function(e){var t=this;return this.walk(function(n){if(n.type===p.COMMENT)return e.call(t,n)})},t.prototype.walkIds=function(e){var t=this;return this.walk(function(n){if(n.type===p.ID)return e.call(t,n)})},t.prototype.walkNesting=function(e){var t=this;return this.walk(function(n){if(n.type===p.NESTING)return e.call(t,n)})},t.prototype.walkPseudos=function(e){var t=this;return this.walk(function(n){if(n.type===p.PSEUDO)return e.call(t,n)})},t.prototype.walkTags=function(e){var t=this;return this.walk(function(n){if(n.type===p.TAG)return e.call(t,n)})},t.prototype.walkUniversals=function(e){var t=this;return this.walk(function(n){if(n.type===p.UNIVERSAL)return e.call(t,n)})},t.prototype.split=function(e){var t=this,n=[];return this.reduce(function(r,i,a){var o=e.call(t,i);return n.push(i),o?(r.push(n),n=[]):a===t.length-1&&r.push(n),r},[])},t.prototype.map=function(e){return this.nodes.map(e)},t.prototype.reduce=function(e,t){return this.nodes.reduce(e,t)},t.prototype.every=function(e){return this.nodes.every(e)},t.prototype.some=function(e){return this.nodes.some(e)},t.prototype.filter=function(e){return this.nodes.filter(e)},t.prototype.sort=function(e){return this.nodes.sort(e)},t.prototype.toString=function(e){return e===void 0&&(e={}),this._stringify(e,0,(0,d.resolveMaxNestingDepth)(e.maxNestingDepth))},t.prototype._stringify=function(e,t,n){var r=this;return this.map(function(i){return r._stringifyChild(i,e,t,n)}).join(``)},t.prototype._stringifyChild=function(e,t,n,r){return typeof e._stringify==`function`?e._stringify(t,n,r):String(e)},t}(f.default)})),zR=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),i=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var a=i(RR()),o=LR();e.default=function(e){r(t,e);function t(t){var n=e.call(this,t)||this;return n.type=o.ROOT,n}return t.prototype._stringify=function(e,t,n){var r=this,i=this.reduce(function(i,a){return i.push(r._stringifyChild(a,e,t,n)),i},[]).join(`,`);return this.trailingComma?i+`,`:i},t.prototype.error=function(e,t){return this._error?this._error(e,t):Error(e)},Object.defineProperty(t.prototype,"errorGenerator",{set:function(e){this._error=e},enumerable:!1,configurable:!0}),t}(a.default)})),BR=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),i=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var a=i(RR()),o=LR();e.default=function(e){r(t,e);function t(t){var n=e.call(this,t)||this;return n.type=o.SELECTOR,n}return t}(a.default)})),VR=/* @__PURE__ */ p(((e,t)=>{var n={}.hasOwnProperty,r=function(e,t){if(!e)return t;var r={};for(var i in t)r[i]=n.call(e,i)?e[i]:t[i];return r},i=/[ -,\.\/:-@\[-\^`\{-~]/,a=/[ -,\.\/:-@\[\]\^`\{-~]/,o=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,s=function e(t,n){n=r(n,e.options),n.quotes!=`single`&&n.quotes!=`double`&&(n.quotes=`single`);for(var s=n.quotes==`double`?`"`:`'`,c=n.isIdentifier,l=t.charAt(0),u=``,d=0,f=t.length;d<f;){var p=t.charAt(d++),m=p.charCodeAt(),h=void 0;if(m<32||m>126){if(m>=55296&&m<=56319&&d<f){var g=t.charCodeAt(d++);(g&64512)==56320?m=((m&1023)<<10)+(g&1023)+65536:d--}h=`\\`+m.toString(16).toUpperCase()+` `}else h=n.escapeEverything?i.test(p)?`\\`+p:`\\`+m.toString(16).toUpperCase()+` `:/[\t\n\f\r\x0B]/.test(p)?`\\`+m.toString(16).toUpperCase()+` `:p==`\\`||!c&&(p==`"`&&s==p||p==`'`&&s==p)||c&&a.test(p)?`\\`+p:p;u+=h}return c&&(/^-[-\d]/.test(u)?u=`\\-`+u.slice(1):/\d/.test(l)&&(u=`\\3`+l+` `+u.slice(1))),u=u.replace(o,function(e,t,n){return t&&t.length%2?e:(t||``)+n}),!c&&n.wrap?s+u+s:u};s.options={escapeEverything:!1,isIdentifier:!1,quotes:`single`,wrap:!1},s.version=`3.0.0`,t.exports=s})),HR=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),i=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var a=i(VR()),o=FR(),s=i(IR()),c=LR();e.default=function(e){r(t,e);function t(t){var n=e.call(this,t)||this;return n.type=c.CLASS,n._constructed=!0,n}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(e){if(this._constructed){var t=(0,a.default)(e,{isIdentifier:!0});t===e?this.raws&&delete this.raws.value:((0,o.ensureObject)(this,`raws`),this.raws.value=t)}this._value=e},enumerable:!1,configurable:!0}),t.prototype.valueToString=function(){return`.`+e.prototype.valueToString.call(this)},t}(s.default)})),UR=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),i=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var a=i(IR()),o=LR();e.default=function(e){r(t,e);function t(t){var n=e.call(this,t)||this;return n.type=o.COMMENT,n}return t}(a.default)})),WR=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),i=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var a=i(IR()),o=LR();e.default=function(e){r(t,e);function t(t){var n=e.call(this,t)||this;return n.type=o.ID,n}return t.prototype.valueToString=function(){return`#`+e.prototype.valueToString.call(this)},t}(a.default)})),GR=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),i=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var a=i(VR()),o=FR();e.default=function(e){r(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"namespace",{get:function(){return this._namespace},set:function(e){if(e===!0||e===`*`||e===`&`)this._namespace=e,this.raws&&delete this.raws.namespace;else{var t=(0,a.default)(e,{isIdentifier:!0});this._namespace=e,t===e?this.raws&&delete this.raws.namespace:((0,o.ensureObject)(this,`raws`),this.raws.namespace=t)}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ns",{get:function(){return this._namespace},set:function(e){this.namespace=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"namespaceString",{get:function(){if(this.namespace){var e=this.stringifyProperty(`namespace`);return e===!0?``:e}return``},enumerable:!1,configurable:!0}),t.prototype.qualifiedName=function(e){return this.namespace?`${this.namespaceString}|${e}`:e},t.prototype.valueToString=function(){return this.qualifiedName(e.prototype.valueToString.call(this))},t}(i(IR()).default)})),KR=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),i=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var a=i(GR()),o=LR();e.default=function(e){r(t,e);function t(t){var n=e.call(this,t)||this;return n.type=o.TAG,n}return t}(a.default)})),qR=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+s(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),i=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var a=i(IR()),o=LR(),s=function(e){r(t,e);function t(t){var n=e.call(this,t)||this;return n.type=o.STRING,n}return t}(a.default);e.default=s})),JR=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),i=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var a=i(RR()),o=LR();e.default=function(e){r(t,e);function t(t){var n=e.call(this,t)||this;return n.type=o.PSEUDO,n}return t.prototype._stringify=function(e,t,n){var r=this;if(t>=n)throw Error(`Cannot serialize selector: nesting depth exceeds the maximum of ${n}.`);var i=this.length?`(`+this.map(function(i){return r._stringifyChild(i,e,t+1,n)}).join(`,`)+`)`:``;return[this.rawSpaceBefore,this.stringifyProperty(`value`),i,this.rawSpaceAfter].join(``)},t}(a.default)})),YR=/* @__PURE__ */ p(((e,t)=>{t.exports=g(`util`).deprecate})),XR=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),i=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},a;Object.defineProperty(e,"__esModule",{value:!0}),e.unescapeValue=h;var o=i(VR()),s=i(AR()),c=i(GR()),l=LR(),u=YR(),d=/^('|")([^]*)\1$/,f=u(function(){},`Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead.`),p=u(function(){},`Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead.`),m=u(function(){},`Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.`);function h(e){var t=!1,n=null,r=e,i=r.match(d);return i&&(n=i[1],r=i[2]),r=(0,s.default)(r),r!==e&&(t=!0),{deprecatedUsage:t,unescaped:r,quoteMark:n}}function g(e){if(e.quoteMark!==void 0||e.value===void 0)return e;m();var t=h(e.value),n=t.quoteMark,r=t.unescaped;return e.raws||={},e.raws.value===void 0&&(e.raws.value=e.value),e.value=r,e.quoteMark=n,e}e.default=function(e){r(t,e);function t(t){t===void 0&&(t={});var n=e.call(this,g(t))||this;return n.type=l.ATTRIBUTE,n.raws=n.raws||{},Object.defineProperty(n.raws,"unquoted",{get:u(function(){return n.value},`attr.raws.unquoted is deprecated. Call attr.value instead.`),set:u(function(){return n.value},`Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.`)}),n._constructed=!0,n}return t.prototype.getQuotedValue=function(e){e===void 0&&(e={});var t=_[this._determineQuoteMark(e)];return(0,o.default)(this._value,t)},t.prototype._determineQuoteMark=function(e){return e.smart?this.smartQuoteMark(e):this.preferredQuoteMark(e)},t.prototype.setValue=function(e,t){t===void 0&&(t={}),this._value=e,this._quoteMark=this._determineQuoteMark(t),this._syncRawValue()},t.prototype.smartQuoteMark=function(e){var n=this.value,r=n.replace(/[^']/g,``).length,i=n.replace(/[^"]/g,``).length;if(r+i===0){var a=(0,o.default)(n,{isIdentifier:!0});if(a===n)return t.NO_QUOTE;var s=this.preferredQuoteMark(e);if(s===t.NO_QUOTE){var c=this.quoteMark||e.quoteMark||t.DOUBLE_QUOTE,l=_[c];if((0,o.default)(n,l).length<a.length)return c}return s}return i===r?this.preferredQuoteMark(e):i<r?t.DOUBLE_QUOTE:t.SINGLE_QUOTE},t.prototype.preferredQuoteMark=function(e){var n=e.preferCurrentQuoteMark?this.quoteMark:e.quoteMark;return n===void 0&&(n=e.preferCurrentQuoteMark?e.quoteMark:this.quoteMark),n===void 0&&(n=t.DOUBLE_QUOTE),n},Object.defineProperty(t.prototype,"quoted",{get:function(){var e=this.quoteMark;return e===`'`||e===`"`},set:function(e){p()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"quoteMark",{get:function(){return this._quoteMark},set:function(e){this._constructed?this._quoteMark!==e&&(this._quoteMark=e,this._syncRawValue()):this._quoteMark=e},enumerable:!1,configurable:!0}),t.prototype._syncRawValue=function(){var e=(0,o.default)(this._value,_[this.quoteMark]);e===this._value?this.raws&&delete this.raws.value:this.raws.value=e},Object.defineProperty(t.prototype,"qualifiedAttribute",{get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"insensitiveFlag",{get:function(){return this.insensitive?`i`:``},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(e){if(this._constructed){var t=h(e),n=t.deprecatedUsage,r=t.unescaped,i=t.quoteMark;if(n&&f(),r===this._value&&i===this._quoteMark)return;this._value=r,this._quoteMark=i,this._syncRawValue()}else this._value=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"insensitive",{get:function(){return this._insensitive},set:function(e){e||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag===`I`||this.raws.insensitiveFlag===`i`)&&(this.raws.insensitiveFlag=void 0)),this._insensitive=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attribute",{get:function(){return this._attribute},set:function(e){this._handleEscapes(`attribute`,e),this._attribute=e},enumerable:!1,configurable:!0}),t.prototype._handleEscapes=function(e,t){if(this._constructed){var n=(0,o.default)(t,{isIdentifier:!0});n===t?delete this.raws[e]:this.raws[e]=n}},t.prototype._spacesFor=function(e){var t={before:``,after:``},n=this.spaces[e]||{},r=this.raws.spaces&&this.raws.spaces[e]||{};return Object.assign(t,n,r)},t.prototype._stringFor=function(e,t,n){t===void 0&&(t=e),n===void 0&&(n=v);var r=this._spacesFor(t);return n(this.stringifyProperty(e),r)},t.prototype.offsetOf=function(e){var t=1,n=this._spacesFor(`attribute`);if(t+=n.before.length,e===`namespace`||e===`ns`)return this.namespace?t:-1;if(e===`attributeNS`||(t+=this.namespaceString.length,this.namespace&&(t+=1),e===`attribute`))return t;t+=this.stringifyProperty(`attribute`).length,t+=n.after.length;var r=this._spacesFor(`operator`);t+=r.before.length;var i=this.stringifyProperty(`operator`);if(e===`operator`)return i?t:-1;t+=i.length,t+=r.after.length;var a=this._spacesFor(`value`);t+=a.before.length;var o=this.stringifyProperty(`value`);if(e===`value`)return o?t:-1;t+=o.length,t+=a.after.length;var s=this._spacesFor(`insensitive`);return t+=s.before.length,e===`insensitive`&&this.insensitive?t:-1},t.prototype.toString=function(){var e=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(t,n){return t.length>0&&!e.quoted&&n.before.length===0&&!(e.spaces.value&&e.spaces.value.after)&&(n.before=` `),v(t,n)}))),t.push(`]`),t.push(this.rawSpaceAfter),t.join(``)},t.NO_QUOTE=null,t.SINGLE_QUOTE=`'`,t.DOUBLE_QUOTE=`"`,t}(c.default);var _=(a={"'":{quotes:`single`,wrap:!0},'"':{quotes:`double`,wrap:!0}},a[null]={isIdentifier:!0},a);function v(e,t){return`${t.before}${e}${t.after}`}})),ZR=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),i=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var a=i(GR()),o=LR();e.default=function(e){r(t,e);function t(t){var n=e.call(this,t)||this;return n.type=o.UNIVERSAL,n.value=`*`,n}return t}(a.default)})),QR=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),i=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var a=i(IR()),o=LR();e.default=function(e){r(t,e);function t(t){var n=e.call(this,t)||this;return n.type=o.COMBINATOR,n._constructed=!0,n}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(e){this._constructed&&this.raws&&delete this.raws.value,this._value=e},enumerable:!1,configurable:!0}),t}(a.default)})),$R=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if(typeof n!=`function`&&n!==null)throw TypeError(`Class extends value `+String(n)+` is not a constructor or null`);e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),i=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var a=i(IR()),o=LR();e.default=function(e){r(t,e);function t(t){var n=e.call(this,t)||this;return n.type=o.NESTING,n.value=`&`,n}return t}(a.default)})),ez=/* @__PURE__ */ p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(e){return e.sort(function(e,t){return e-t})}})),tz=/* @__PURE__ */ p((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.combinator=e.word=e.comment=e.str=e.tab=e.newline=e.feed=e.cr=e.backslash=e.bang=e.slash=e.doubleQuote=e.singleQuote=e.space=e.greaterThan=e.pipe=e.equals=e.plus=e.caret=e.tilde=e.dollar=e.closeSquare=e.openSquare=e.closeParenthesis=e.openParenthesis=e.semicolon=e.colon=e.comma=e.at=e.asterisk=e.ampersand=void 0,e.ampersand=38,e.asterisk=42,e.at=64,e.comma=44,e.colon=58,e.semicolon=59,e.openParenthesis=40,e.closeParenthesis=41,e.openSquare=91,e.closeSquare=93,e.dollar=36,e.tilde=126,e.caret=94,e.plus=43,e.equals=61,e.pipe=124,e.greaterThan=62,e.space=32,e.singleQuote=39,e.doubleQuote=34,e.slash=47,e.bang=33,e.backslash=92,e.cr=13,e.feed=12,e.newline=10,e.tab=9,e.str=e.singleQuote,e.comment=-1,e.word=-2,e.combinator=-3})),nz=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),i=n&&n.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),a=n&&n.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},e(t)};return function(t){if(t&&t.__esModule)return t;var n={};if(t!=null)for(var a=e(t),o=0;o<a.length;o++)a[o]!=="default"&&r(n,t,a[o]);return i(n,t),n}})(),o,s;Object.defineProperty(e,"__esModule",{value:!0}),e.FIELDS=void 0,e.default=g;for(var c=a(tz()),l=(o={},o[c.tab]=!0,o[c.newline]=!0,o[c.cr]=!0,o[c.feed]=!0,o),u=(s={},s[c.space]=!0,s[c.tab]=!0,s[c.newline]=!0,s[c.cr]=!0,s[c.feed]=!0,s[c.ampersand]=!0,s[c.asterisk]=!0,s[c.bang]=!0,s[c.comma]=!0,s[c.colon]=!0,s[c.semicolon]=!0,s[c.openParenthesis]=!0,s[c.closeParenthesis]=!0,s[c.openSquare]=!0,s[c.closeSquare]=!0,s[c.singleQuote]=!0,s[c.doubleQuote]=!0,s[c.plus]=!0,s[c.pipe]=!0,s[c.tilde]=!0,s[c.greaterThan]=!0,s[c.equals]=!0,s[c.dollar]=!0,s[c.caret]=!0,s[c.slash]=!0,s),d={},f=`0123456789abcdefABCDEF`,p=0;p<f.length;p++)d[f.charCodeAt(p)]=!0;function m(e,t){var n=t,r;do{if(r=e.charCodeAt(n),u[r])return n-1;r===c.backslash?n=h(e,n)+1:n++}while(n<e.length);return n-1}function h(e,t){var n=t,r=e.charCodeAt(n+1);if(!l[r]){if(d[r]){var i=0;do n++,i++,r=e.charCodeAt(n+1);while(d[r]&&i<6);i<6&&r===c.space&&n++}else n++}return n}e.FIELDS={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};function g(e){var t=[],n=e.css.valueOf(),r=n.length,i=-1,a=1,o=0,s=0,l,u,d,f,p,h,g,_,v,y,b,x,S;function C(t,r){if(e.safe)n+=r,v=n.length-1;else throw e.error(`Unclosed `+t,a,o-i,o)}for(;o<r;){switch(l=n.charCodeAt(o),l===c.newline&&(i=o,a+=1),l){case c.space:case c.tab:case c.newline:case c.cr:case c.feed:v=o;do v+=1,l=n.charCodeAt(v),l===c.newline&&(i=v,a+=1);while(l===c.space||l===c.newline||l===c.tab||l===c.cr||l===c.feed);S=c.space,f=a,d=v-i-1,s=v;break;case c.plus:case c.greaterThan:case c.tilde:case c.pipe:v=o;do v+=1,l=n.charCodeAt(v);while(l===c.plus||l===c.greaterThan||l===c.tilde||l===c.pipe);S=c.combinator,f=a,d=o-i,s=v;break;case c.asterisk:case c.ampersand:case c.bang:case c.comma:case c.equals:case c.dollar:case c.caret:case c.openSquare:case c.closeSquare:case c.colon:case c.semicolon:case c.openParenthesis:case c.closeParenthesis:v=o,S=l,f=a,d=o-i,s=v+1;break;case c.singleQuote:case c.doubleQuote:x=l===c.singleQuote?`'`:`"`,v=o;do for(p=!1,v=n.indexOf(x,v+1),v===-1&&C(`quote`,x),h=v;n.charCodeAt(h-1)===c.backslash;)--h,p=!p;while(p);S=c.str,f=a,d=o-i,s=v+1;break;default:l===c.slash&&n.charCodeAt(o+1)===c.asterisk?(v=n.indexOf(`*/`,o+2)+1,v===0&&C(`comment`,`*/`),u=n.slice(o,v+1),_=u.split(`
|
|
86
|
+
`),g=_.length-1,g>0?(y=a+g,b=v-_[g].length):(y=a,b=i),S=c.comment,a=y,f=y,d=v-b):l===c.slash?(v=o,S=l,f=a,d=o-i,s=v+1):(v=m(n,o),S=c.word,f=a,d=v-i),s=v+1}t.push([S,a,o-i,f,d,o,s]),b&&=(i=b,null),o=s}return t}})),rz=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=n&&n.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),a=n&&n.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),o=n&&n.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},e(t)};return function(t){if(t&&t.__esModule)return t;var n={};if(t!=null)for(var r=e(t),o=0;o<r.length;o++)r[o]!=="default"&&i(n,t,r[o]);return a(n,t),n}})(),s=n&&n.__read||function(e,t){var n=typeof Symbol==`function`&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,a=[],o;try{for(;(t===void 0||t-->0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a},c=n&&n.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))},l=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},u,d;Object.defineProperty(e,"__esModule",{value:!0});var f=l(zR()),p=l(BR()),m=l(HR()),h=l(UR()),g=l(WR()),_=l(KR()),v=l(qR()),y=l(JR()),b=o(XR()),x=l(ZR()),S=l(QR()),C=l($R()),w=l(ez()),T=o(nz()),E=o(tz()),ee=o(LR()),D=FR(),te=(u={},u[E.space]=!0,u[E.cr]=!0,u[E.feed]=!0,u[E.newline]=!0,u[E.tab]=!0,u),ne=r(r({},te),(d={},d[E.comment]=!0,d));function re(e){return{line:e[T.FIELDS.START_LINE],column:e[T.FIELDS.START_COL]}}function ie(e){return{line:e[T.FIELDS.END_LINE],column:e[T.FIELDS.END_COL]}}function O(e,t,n,r){return{start:{line:e,column:t},end:{line:n,column:r}}}function ae(e){return O(e[T.FIELDS.START_LINE],e[T.FIELDS.START_COL],e[T.FIELDS.END_LINE],e[T.FIELDS.END_COL])}function oe(e,t){if(e)return O(e[T.FIELDS.START_LINE],e[T.FIELDS.START_COL],t[T.FIELDS.END_LINE],t[T.FIELDS.END_COL])}function se(e,t){var n=e[t];if(typeof n==`string`)return n.indexOf(`\\`)!==-1&&((0,D.ensureObject)(e,`raws`),e[t]=(0,D.unesc)(n),e.raws[t]===void 0&&(e.raws[t]=n)),e}function ce(e,t){for(var n=-1,r=[];(n=e.indexOf(t,n+1))!==-1;)r.push(n);return r}function le(){return Array.from(new Set(Array.prototype.concat.apply([],arguments)))}e.default=function(){function e(e,t){t===void 0&&(t={}),this.rule=e,this.options=Object.assign({lossy:!1,safe:!1},t),this.position=0,this.nestingDepth=0,this.maxNestingDepth=(0,D.resolveMaxNestingDepth)(this.options.maxNestingDepth),this.css=typeof this.rule==`string`?this.rule:this.rule.selector,this.tokens=(0,T.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var n=oe(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new f.default({source:n}),this.root.errorGenerator=this._errorGenerator();var r=new p.default({source:{start:{line:1,column:1}},sourceIndex:0});this.root.append(r),this.current=r,this.loop()}return e.prototype._errorGenerator=function(){var e=this;return function(t,n){return typeof e.rule==`string`?Error(t):e.rule.error(t,n)}},e.prototype.namespaceSeparatorFollows=function(e,t){for(var n=t;e[n]&&e[n][T.FIELDS.TYPE]===E.space;)n++;if(!e[n]||this.content(e[n])!==`|`||(n++,e[n]&&e[n][T.FIELDS.TYPE]===E.equals))return!1;for(;e[n]&&e[n][T.FIELDS.TYPE]===E.space;)n++;return!!e[n]},e.prototype.attribute=function(){var e=[],t=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[T.FIELDS.TYPE]!==E.closeSquare;)e.push(this.currToken),this.position++;if(!this.currToken)return this.expected(`closing square bracket`,t[T.FIELDS.START_POS]);if(this.currToken[T.FIELDS.TYPE]!==E.closeSquare)return this.expected(`closing square bracket`,this.currToken[T.FIELDS.START_POS]);var n=e.length,r={source:O(t[1],t[2],this.currToken[3],this.currToken[4]),sourceIndex:t[T.FIELDS.START_POS]};if(n===1&&!~[E.word].indexOf(e[0][T.FIELDS.TYPE]))return this.expected(`attribute`,e[0][T.FIELDS.START_POS]);for(var i=0,a=``,o=``,s=null,c=!1,l=null;i<n;){var u=e[i],d=this.content(u),f=e[i+1];switch(u[T.FIELDS.TYPE]){case E.space:if(c=!0,this.options.lossy)break;if(l!==null){l+=d;break}if(s===`namespace`){(0,D.ensureObject)(r,`raws`),r.raws.namespace=(r.raws.namespace||r.namespace)+d;break}if(s){(0,D.ensureObject)(r,`spaces`,s);var p=r.spaces[s].after||``;r.spaces[s].after=p+d;var m=(0,D.getProp)(r,`raws`,`spaces`,s,`after`)||null;m&&(r.raws.spaces[s].after=m+d)}else a+=d,o+=d;break;case E.asterisk:if(f[T.FIELDS.TYPE]===E.equals)r.operator=d,s=`operator`;else if((!r.namespace||s===`namespace`&&!c)&&f){r.namespace=(r.namespace||``)+d;var h=(0,D.getProp)(r,`raws`,`namespace`)||null;h&&(r.raws.namespace+=d),a&&=((0,D.ensureObject)(r,`spaces`,`attribute`),r.spaces.attribute.before=a,``),o&&=((0,D.ensureObject)(r,`raws`,`spaces`,`attribute`),r.raws.spaces.attribute.before=o,``),s=`namespace`}c=!1;break;case E.dollar:if(s===`value`){var g=(0,D.getProp)(r,`raws`,`value`);r.value+=`$`,g&&(r.raws.value=g+`$`);break}case E.caret:f[T.FIELDS.TYPE]===E.equals&&(r.operator=d,s=`operator`),c=!1;break;case E.combinator:if(d===`~`&&f[T.FIELDS.TYPE]===E.equals&&(r.operator=d,s=`operator`),d!==`|`){c=!1;break}f[T.FIELDS.TYPE]===E.equals?(r.operator=d,s=`operator`):r.operator||(!r.namespace&&!r.attribute&&(r.namespace=!0),l=``),c=!1;break;case E.word:if(this.namespaceSeparatorFollows(e,i+1)&&!r.operator&&!r.namespace)r.namespace=d,s=`namespace`;else if(!r.attribute||s===`attribute`&&!c){a&&=((0,D.ensureObject)(r,`spaces`,`attribute`),r.spaces.attribute.before=a,``),o&&=((0,D.ensureObject)(r,`raws`,`spaces`,`attribute`),r.raws.spaces.attribute.before=o,``),l&&((0,D.ensureObject)(r,`raws`),r.raws.attribute=l+(r.raws.attribute||r.attribute||``)),l=null,r.attribute=(r.attribute||``)+d;var h=(0,D.getProp)(r,`raws`,`attribute`)||null;h&&(r.raws.attribute+=d),s=`attribute`}else if(!r.value&&r.value!==``||s===`value`&&!(c||r.quoteMark)){var _=(0,D.unesc)(d),g=(0,D.getProp)(r,`raws`,`value`)||``,v=r.value||``;r.value=v+_,r.quoteMark=null,(_!==d||g)&&((0,D.ensureObject)(r,`raws`),r.raws.value=(g||v)+d),s=`value`}else{var y=d===`i`||d===`I`;(r.value||r.value===``)&&(r.quoteMark||c)?(r.insensitive=y,y&&d!==`I`||((0,D.ensureObject)(r,`raws`),r.raws.insensitiveFlag=d),s=`insensitive`,a&&=((0,D.ensureObject)(r,`spaces`,`insensitive`),r.spaces.insensitive.before=a,``),o&&=((0,D.ensureObject)(r,`raws`,`spaces`,`insensitive`),r.raws.spaces.insensitive.before=o,``)):(r.value||r.value===``)&&(s=`value`,r.value+=d,r.raws.value&&(r.raws.value+=d))}c=!1;break;case E.str:if(!r.attribute||!r.operator)return this.error(`Expected an attribute followed by an operator preceding the string.`,{index:u[T.FIELDS.START_POS]});var x=(0,b.unescapeValue)(d),S=x.unescaped,C=x.quoteMark;r.value=S,r.quoteMark=C,s=`value`,(0,D.ensureObject)(r,`raws`),r.raws.value=d,c=!1;break;case E.equals:if(!r.attribute)return this.expected(`attribute`,u[T.FIELDS.START_POS],d);if(r.value)return this.error(`Unexpected "=" found; an operator was already defined.`,{index:u[T.FIELDS.START_POS]});r.operator=r.operator?r.operator+d:d,s=`operator`,c=!1;break;case E.comment:if(s){if(c||f&&f[T.FIELDS.TYPE]===E.space||s===`insensitive`){var w=(0,D.getProp)(r,`spaces`,s,`after`)||``,ee=(0,D.getProp)(r,`raws`,`spaces`,s,`after`)||w;(0,D.ensureObject)(r,`raws`,`spaces`,s),r.raws.spaces[s].after=ee+d}else{var te=r[s]||``,ne=(0,D.getProp)(r,`raws`,s)||te;(0,D.ensureObject)(r,`raws`),r.raws[s]=ne+d}}else o+=d;break;default:return this.error(`Unexpected "${d}" found.`,{index:u[T.FIELDS.START_POS]})}i++}se(r,`attribute`),se(r,`namespace`),this.newNode(new b.default(r)),this.position++},e.prototype.parseWhitespaceEquivalentTokens=function(e){e<0&&(e=this.tokens.length);var t=this.position,n=[],r=``,i=void 0;do if(te[this.currToken[T.FIELDS.TYPE]])this.options.lossy||(r+=this.content());else if(this.currToken[T.FIELDS.TYPE]===E.comment){var a={};r&&=(a.before=r,``),i=new h.default({value:this.content(),source:ae(this.currToken),sourceIndex:this.currToken[T.FIELDS.START_POS],spaces:a}),n.push(i)}while(++this.position<e);if(r){if(i)i.spaces.after=r;else if(!this.options.lossy){var o=this.tokens[t],s=this.tokens[this.position-1];n.push(new v.default({value:``,source:O(o[T.FIELDS.START_LINE],o[T.FIELDS.START_COL],s[T.FIELDS.END_LINE],s[T.FIELDS.END_COL]),sourceIndex:o[T.FIELDS.START_POS],spaces:{before:r,after:``}}))}}return n},e.prototype.convertWhitespaceNodesToSpace=function(e,t){var n=this;t===void 0&&(t=!1);var r=``,i=``;return e.forEach(function(e){var a=n.lossySpace(e.spaces.before,t),o=n.lossySpace(e.rawSpaceBefore,t);r+=a+n.lossySpace(e.spaces.after,t&&a.length===0),i+=a+e.value+n.lossySpace(e.rawSpaceAfter,t&&o.length===0)}),i===r&&(i=void 0),{space:r,rawSpace:i}},e.prototype.isNamedCombinator=function(e){return e===void 0&&(e=this.position),this.tokens[e+0]&&this.tokens[e+0][T.FIELDS.TYPE]===E.slash&&this.tokens[e+1]&&this.tokens[e+1][T.FIELDS.TYPE]===E.word&&this.tokens[e+2]&&this.tokens[e+2][T.FIELDS.TYPE]===E.slash},e.prototype.namedCombinator=function(){if(this.isNamedCombinator()){var e=this.content(this.tokens[this.position+1]),t=(0,D.unesc)(e).toLowerCase(),n={};t!==e&&(n.value=`/${e}/`);var r=new S.default({value:`/${t}/`,source:O(this.currToken[T.FIELDS.START_LINE],this.currToken[T.FIELDS.START_COL],this.tokens[this.position+2][T.FIELDS.END_LINE],this.tokens[this.position+2][T.FIELDS.END_COL]),sourceIndex:this.currToken[T.FIELDS.START_POS],raws:n});return this.position+=3,r}this.unexpected()},e.prototype.combinator=function(){var e=this;if(this.content()===`|`)return this.namespace();var t=this.locateNextMeaningfulToken(this.position);if(t<0||this.tokens[t][T.FIELDS.TYPE]===E.comma||this.tokens[t][T.FIELDS.TYPE]===E.closeParenthesis){var n=this.parseWhitespaceEquivalentTokens(t);if(n.length>0){var r=this.current.last;if(r){var i=this.convertWhitespaceNodesToSpace(n),a=i.space,o=i.rawSpace;o!==void 0&&(r.rawSpaceAfter+=o),r.spaces.after+=a}else n.forEach(function(t){return e.newNode(t)})}}else{var s=this.currToken,c=void 0;t>this.position&&(c=this.parseWhitespaceEquivalentTokens(t));var l;if(this.isNamedCombinator()?l=this.namedCombinator():this.currToken[T.FIELDS.TYPE]===E.combinator?(l=new S.default({value:this.content(),source:ae(this.currToken),sourceIndex:this.currToken[T.FIELDS.START_POS]}),this.position++):te[this.currToken[T.FIELDS.TYPE]]||c||this.unexpected(),l){if(c){var u=this.convertWhitespaceNodesToSpace(c),a=u.space,o=u.rawSpace;l.spaces.before=a,l.rawSpaceBefore=o}}else{var d=this.convertWhitespaceNodesToSpace(c,!0),a=d.space,o=d.rawSpace;o||=a;var f={},p={spaces:{}};a.endsWith(` `)&&o.endsWith(` `)?(f.before=a.slice(0,a.length-1),p.spaces.before=o.slice(0,o.length-1)):a[0]===` `&&o[0]===` `?(f.after=a.slice(1),p.spaces.after=o.slice(1)):p.value=o,l=new S.default({value:` `,source:oe(s,this.tokens[this.position-1]),sourceIndex:s[T.FIELDS.START_POS],spaces:f,raws:p})}return this.currToken&&this.currToken[T.FIELDS.TYPE]===E.space&&(l.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(l)}},e.prototype.flushPendingSpaces=function(){if(this.spaces){var e=this.current.last;if(e)e.spaces.after+=this.spaces,this.spaces=``;else{var t=this.currToken||this.prevToken;this.newNode(new v.default({value:``,source:t?ae(t):void 0,sourceIndex:t?t[T.FIELDS.START_POS]:0}))}}},e.prototype.comma=function(){if(this.flushPendingSpaces(),this.position===this.tokens.length-1)this.root.trailingComma=!0,this.position++;else{this.current._inferEndPosition();var e=new p.default({source:{start:re(this.tokens[this.position+1])},sourceIndex:this.tokens[this.position+1][T.FIELDS.START_POS]});this.current.parent.append(e),this.current=e,this.position++}},e.prototype.comment=function(){var e=this.currToken;this.newNode(new h.default({value:this.content(),source:ae(e),sourceIndex:e[T.FIELDS.START_POS]})),this.position++},e.prototype.error=function(e,t){throw this.root.error(e,t)},e.prototype.missingBackslash=function(){return this.error(`Expected a backslash preceding the semicolon.`,{index:this.currToken[T.FIELDS.START_POS]})},e.prototype.missingParenthesis=function(){return this.expected(`opening parenthesis`,this.currToken[T.FIELDS.START_POS])},e.prototype.missingSquareBracket=function(){return this.expected(`opening square bracket`,this.currToken[T.FIELDS.START_POS])},e.prototype.unexpected=function(){return this.error(`Unexpected '${this.content()}'. Escaping special characters with \\ may help.`,this.currToken[T.FIELDS.START_POS])},e.prototype.unexpectedPipe=function(){return this.error(`Unexpected '|'.`,this.currToken[T.FIELDS.START_POS])},e.prototype.namespace=function(){var e=this.prevToken,t=e&&(e[T.FIELDS.TYPE]===E.word||e[T.FIELDS.TYPE]===E.asterisk||e[T.FIELDS.TYPE]===E.ampersand)?this.content(e):!0;if(!this.nextToken)return this.unexpectedPipe();if(this.nextToken[T.FIELDS.TYPE]===E.word)return this.position++,this.word(t);if(this.nextToken[T.FIELDS.TYPE]===E.asterisk)return this.position++,this.universal(t);this.unexpectedPipe()},e.prototype.nesting=function(){if(this.nextToken&&this.content(this.nextToken)===`|`)this.position++;else{var e=this.currToken;this.newNode(new C.default({value:this.content(),source:ae(e),sourceIndex:e[T.FIELDS.START_POS]})),this.position++}},e.prototype.parentheses=function(){var e=this.current.last,t=1,n=this.currToken;if(this.position++,e&&e.type===ee.PSEUDO){var r=new p.default({source:{start:re(this.tokens[this.position])},sourceIndex:this.tokens[this.position][T.FIELDS.START_POS]}),i=this.current;e.append(r),this.current=r,this.nestingDepth++;try{for(this.nestingDepth>this.maxNestingDepth&&this.error(`Cannot parse selector: nesting depth exceeds the maximum of ${this.maxNestingDepth}.`,{index:this.currToken[T.FIELDS.START_POS]});this.position<this.tokens.length&&t;)this.currToken[T.FIELDS.TYPE]===E.openParenthesis&&t++,this.currToken[T.FIELDS.TYPE]===E.closeParenthesis&&t--,t?this.parse():(this.flushPendingSpaces(),this.current.source.end=ie(this.currToken),this.current.parent.source.end=ie(this.currToken),this.position++)}finally{this.nestingDepth--}this.current=i}else{for(var a=this.currToken,o=`(`,s=void 0;this.position<this.tokens.length&&t;)this.currToken[T.FIELDS.TYPE]===E.openParenthesis&&t++,this.currToken[T.FIELDS.TYPE]===E.closeParenthesis&&t--,s=this.currToken,o+=this.parseParenthesisToken(this.currToken),this.position++;e?e.appendToPropertyAndEscape(`value`,o,o):this.newNode(new v.default({value:o,source:O(a[T.FIELDS.START_LINE],a[T.FIELDS.START_COL],s[T.FIELDS.END_LINE],s[T.FIELDS.END_COL]),sourceIndex:a[T.FIELDS.START_POS]}))}if(t)return this.expected(`closing parenthesis`,(this.currToken||n)[T.FIELDS.START_POS])},e.prototype.pseudo=function(){for(var e=this,t=``,n=this.currToken;this.currToken&&this.currToken[T.FIELDS.TYPE]===E.colon;)t+=this.content(),this.position++;if(!this.currToken)return this.expected([`pseudo-class`,`pseudo-element`],this.position-1);if(this.currToken[T.FIELDS.TYPE]===E.word)this.splitWord(!1,function(r,i){t+=r,e.newNode(new y.default({value:t,source:oe(n,e.currToken),sourceIndex:n[T.FIELDS.START_POS]})),i>1&&e.nextToken&&e.nextToken[T.FIELDS.TYPE]===E.openParenthesis&&e.error(`Misplaced parenthesis.`,{index:e.nextToken[T.FIELDS.START_POS]})});else return this.expected([`pseudo-class`,`pseudo-element`],this.currToken[T.FIELDS.START_POS])},e.prototype.space=function(){var e=this.content();this.position===0||this.prevToken[T.FIELDS.TYPE]===E.comma||this.prevToken[T.FIELDS.TYPE]===E.openParenthesis||this.current.nodes.every(function(e){return e.type===`comment`})?(this.spaces=this.optionalSpace(e),this.position++):this.position===this.tokens.length-1||this.nextToken[T.FIELDS.TYPE]===E.comma||this.nextToken[T.FIELDS.TYPE]===E.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(e),this.position++):this.combinator()},e.prototype.string=function(){var e=this.currToken;this.newNode(new v.default({value:this.content(),source:ae(e),sourceIndex:e[T.FIELDS.START_POS]})),this.position++},e.prototype.universal=function(e){var t=this.nextToken;if(t&&this.content(t)===`|`)return this.position++,this.namespace();var n=this.currToken;this.newNode(new x.default({value:this.content(),source:ae(n),sourceIndex:n[T.FIELDS.START_POS]}),e),this.position++},e.prototype.splitWord=function(e,t){for(var n=this,r=this.nextToken,i=this.content();r&&~[E.dollar,E.caret,E.equals,E.word].indexOf(r[T.FIELDS.TYPE]);){this.position++;var a=this.content();if(i+=a,a.lastIndexOf(`\\`)===a.length-1){var o=this.nextToken;o&&o[T.FIELDS.TYPE]===E.space&&(i+=this.requiredSpace(this.content(o)),this.position++)}r=this.nextToken}var l=ce(i,`.`).filter(function(e){var t=i[e-1]===`\\`,n=/^\d+\.\d+%$/.test(i);return!t&&!n}),u=ce(i,`#`).filter(function(e){return i[e-1]!==`\\`}),d=ce(i,`#{`);if(d.length){var f=new Set(d);u=u.filter(function(e){return!f.has(e)})}var p=new Set(l),h=new Set(u),v=(0,w.default)(le(c(c([0],s(l),!1),s(u),!1)));v.forEach(function(r,a){var o=v[a+1]||i.length,s=i.slice(r,o);if(a===0&&t)return t.call(n,s,v.length);var c,l=n.currToken,u=l[T.FIELDS.START_POS]+v[a],d=O(l[1],l[2]+r,l[3],l[2]+(o-1));if(p.has(r)){var f={value:s.slice(1),source:d,sourceIndex:u};c=new m.default(se(f,`value`))}else if(h.has(r)){var y={value:s.slice(1),source:d,sourceIndex:u};c=new g.default(se(y,`value`))}else{var b={value:s,source:d,sourceIndex:u};se(b,`value`),c=new _.default(b)}n.newNode(c,e),e=null}),this.position++},e.prototype.word=function(e){var t=this.nextToken;return t&&this.content(t)===`|`?(this.position++,this.namespace()):this.splitWord(e)},e.prototype.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.flushPendingSpaces(),this.current._inferEndPosition(),this.root},e.prototype.parse=function(e){switch(this.currToken[T.FIELDS.TYPE]){case E.space:this.space();break;case E.comment:this.comment();break;case E.openParenthesis:this.parentheses();break;case E.closeParenthesis:e&&this.missingParenthesis();break;case E.openSquare:this.attribute();break;case E.dollar:case E.caret:case E.equals:case E.word:this.word();break;case E.colon:this.pseudo();break;case E.comma:this.comma();break;case E.asterisk:this.universal();break;case E.ampersand:this.nesting();break;case E.slash:case E.combinator:this.combinator();break;case E.str:this.string();break;case E.closeSquare:this.missingSquareBracket();case E.semicolon:this.missingBackslash();default:this.unexpected()}},e.prototype.expected=function(e,t,n){if(Array.isArray(e)){var r=e.pop();e=`${e.join(`, `)} or ${r}`}var i=/^[aeiou]/.test(e[0])?`an`:`a`;return n?this.error(`Expected ${i} ${e}, found "${n}" instead.`,{index:t}):this.error(`Expected ${i} ${e}.`,{index:t})},e.prototype.requiredSpace=function(e){return this.options.lossy?` `:e},e.prototype.optionalSpace=function(e){return this.options.lossy?``:e},e.prototype.lossySpace=function(e,t){return this.options.lossy?t?` `:``:e},e.prototype.parseParenthesisToken=function(e){var t=this.content(e);return e[T.FIELDS.TYPE]===E.space?this.requiredSpace(t):t},e.prototype.newNode=function(e,t){return t&&(/^ +$/.test(t)&&(this.options.lossy||(this.spaces=(this.spaces||``)+t),t=!0),e.namespace=t,se(e,`namespace`)),this.spaces&&=(e.spaces.before=this.spaces,``),this.current.append(e)},e.prototype.content=function(e){return e===void 0&&(e=this.currToken),this.css.slice(e[T.FIELDS.START_POS],e[T.FIELDS.END_POS])},Object.defineProperty(e.prototype,"currToken",{get:function(){return this.tokens[this.position]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextToken",{get:function(){return this.tokens[this.position+1]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"prevToken",{get:function(){return this.tokens[this.position-1]},enumerable:!1,configurable:!0}),e.prototype.locateNextMeaningfulToken=function(e){e===void 0&&(e=this.position+1);for(var t=e;t<this.tokens.length;)if(ne[this.tokens[t][T.FIELDS.TYPE]]){t++;continue}else return t;return-1},e}()})),iz=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var i=r(rz());e.default=function(){function e(e,t){this.func=e||function(){},this.funcRes=null,this.options=t}return e.prototype._shouldUpdateSelector=function(e,t){return t===void 0&&(t={}),Object.assign({},this.options,t).updateSelector!==!1&&typeof e!=`string`},e.prototype._isLossy=function(e){return e===void 0&&(e={}),Object.assign({},this.options,e).lossless===!1},e.prototype._root=function(e,t){return t===void 0&&(t={}),new i.default(e,this._parseOptions(t)).root},e.prototype._parseOptions=function(e){var t=Object.assign({},this.options,e);return{lossy:this._isLossy(t),maxNestingDepth:t.maxNestingDepth}},e.prototype._stringifyOptions=function(e){return{maxNestingDepth:Object.assign({},this.options,e).maxNestingDepth}},e.prototype._run=function(e,t){var n=this;return t===void 0&&(t={}),new Promise(function(r,i){try{var a=n._root(e,t);Promise.resolve(n.func(a)).then(function(r){var i=void 0;return n._shouldUpdateSelector(e,t)&&(i=a.toString(n._stringifyOptions(t)),e.selector=i),{transform:r,root:a,string:i}}).then(r,i)}catch(e){i(e);return}})},e.prototype._runSync=function(e,t){t===void 0&&(t={});var n=this._root(e,t),r=this.func(n);if(r&&typeof r.then==`function`)throw Error(`Selector processor returned a promise to a synchronous call.`);var i=void 0;return t.updateSelector&&typeof e!=`string`&&(i=n.toString(this._stringifyOptions(t)),e.selector=i),{transform:r,root:n,string:i}},e.prototype.ast=function(e,t){return this._run(e,t).then(function(e){return e.root})},e.prototype.astSync=function(e,t){return this._runSync(e,t).root},e.prototype.transform=function(e,t){return this._run(e,t).then(function(e){return e.transform})},e.prototype.transformSync=function(e,t){return this._runSync(e,t).transform},e.prototype.process=function(e,t){var n=this;return this._run(e,t).then(function(e){return e.string||e.root.toString(n._stringifyOptions(t))})},e.prototype.processSync=function(e,t){var n=this._runSync(e,t);return n.string||n.root.toString(this._stringifyOptions(t))},e}()})),az=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!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 i=r(XR()),a=r(HR()),o=r(QR()),s=r(UR()),c=r(WR()),l=r($R()),u=r(JR()),d=r(zR()),f=r(BR()),p=r(qR()),m=r(KR()),h=r(ZR());e.attribute=function(e){return new i.default(e)},e.className=function(e){return new a.default(e)},e.combinator=function(e){return new o.default(e)},e.comment=function(e){return new s.default(e)},e.id=function(e){return new c.default(e)},e.nesting=function(e){return new l.default(e)},e.pseudo=function(e){return new u.default(e)},e.root=function(e){return new d.default(e)},e.selector=function(e){return new f.default(e)},e.string=function(e){return new p.default(e)},e.tag=function(e){return new m.default(e)},e.universal=function(e){return new h.default(e)}})),oz=/* @__PURE__ */ p((e=>{var t;Object.defineProperty(e,"__esModule",{value:!0}),e.isUniversal=e.isTag=e.isString=e.isSelector=e.isRoot=e.isPseudo=e.isNesting=e.isIdentifier=e.isComment=e.isCombinator=e.isClassName=e.isAttribute=void 0,e.isNode=i,e.isPseudoElement=o,e.isPseudoClass=s,e.isContainer=c,e.isNamespace=l;var n=LR(),r=(t={},t[n.ATTRIBUTE]=!0,t[n.CLASS]=!0,t[n.COMBINATOR]=!0,t[n.COMMENT]=!0,t[n.ID]=!0,t[n.NESTING]=!0,t[n.PSEUDO]=!0,t[n.ROOT]=!0,t[n.SELECTOR]=!0,t[n.STRING]=!0,t[n.TAG]=!0,t[n.UNIVERSAL]=!0,t);function i(e){return typeof e==`object`&&r[e.type]}function a(e,t){return i(t)&&t.type===e}e.isAttribute=a.bind(null,n.ATTRIBUTE),e.isClassName=a.bind(null,n.CLASS),e.isCombinator=a.bind(null,n.COMBINATOR),e.isComment=a.bind(null,n.COMMENT),e.isIdentifier=a.bind(null,n.ID),e.isNesting=a.bind(null,n.NESTING),e.isPseudo=a.bind(null,n.PSEUDO),e.isRoot=a.bind(null,n.ROOT),e.isSelector=a.bind(null,n.SELECTOR),e.isString=a.bind(null,n.STRING),e.isTag=a.bind(null,n.TAG),e.isUniversal=a.bind(null,n.UNIVERSAL);function o(t){return(0,e.isPseudo)(t)&&t.value&&(t.value.startsWith(`::`)||t.value.toLowerCase()===`:before`||t.value.toLowerCase()===`:after`||t.value.toLowerCase()===`:first-letter`||t.value.toLowerCase()===`:first-line`)}function s(t){return(0,e.isPseudo)(t)&&!o(t)}function c(e){return!!(i(e)&&e.walk)}function l(t){return(0,e.isAttribute)(t)||(0,e.isTag)(t)}})),sz=/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),i=n&&n.__exportStar||function(e,t){for(var n in e)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&r(t,e,n)};Object.defineProperty(e,"__esModule",{value:!0}),i(LR(),e),i(az(),e),i(oz(),e)})),cz=/* @__PURE__ */ h((/* @__PURE__ */ p(((e,t,n)=>{var r=n&&n.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),i=n&&n.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),a=n&&n.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},e(t)};return function(t){if(t&&t.__esModule)return t;var n={};if(t!=null)for(var a=e(t),o=0;o<a.length;o++)a[o]!=="default"&&r(n,t,a[o]);return i(n,t),n}})(),o=(n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(iz()),s=a(sz()),c=function(e){return new o.default(e)};Object.assign(c,s),delete c.__esModule,t.exports=c})))(),1);function lz(e,t,n){if(e)try{return(0,cz.default)().astSync(e)}catch(e){t.warn(`Cannot parse selector (${e})`,{node:n,stylelintType:`parseError`})}}const uz={spells:!1,tokenizes:!1,endsOnFormFeed:!1};function dz(e){if(!e.includes(`"`)&&!e.includes(`'`)&&!e.includes(`\\`))return{searchString:e,runString:e,escapes:[]};let t=Ef(e,e.includes(`/*`)?Gd(e,uz):[]),n=e.includes(`\\`)?Jd(e,uz):[];return{searchString:bf(t,n),runString:bf(t,n,!0),escapes:n}}let{utils:{validateOptions:fz}}=t,pz=`selector-attribute-brackets-space-inside`;const mz=W({expectedOpening:`Expected single space after "["`,rejectedOpening:`Unexpected whitespace after "["`,expectedClosing:`Expected single space before "]"`,rejectedClosing:`Unexpected whitespace before "]"`});let hz={url:Y(pz),fixable:!0};function gz({ruleName:e,messages:t,syntax:n},r){let i=r===`always`?` `:``;return(a,o)=>{fz(o,e,{actual:r,possible:[`always`,`never`]})&&a.walkRules(a=>{if(!n.isStandardRule(a))return;let s=n.selectorCopies(a),{selector:c}=s;if(!c.includes(`[`))return;let l=[],u=lz(c,o,a);if(!u)return;u.walkAttributes(e=>{let n=e.toString(),a=e.sourceIndex-n.indexOf(`[`);if(!c.startsWith(n,a))return;let{searchString:o,runString:s}=dz(n);(0,db.default)({source:o,target:`[`},e=>{let o=n[e.startIndex+1]===` `,c=a+e.startIndex+1,l={start:c,end:c+GN(s,e.startIndex).length,text:i};o&&r===`never`&&d(t.rejectedOpening,c,l),!o&&r===`always`&&d(t.expectedOpening,c,l)}),(0,db.default)({source:o,target:`]`},e=>{let n=s[e.startIndex-1]===` `,o=a+e.startIndex,l=o-1,u={start:o-kO(s,e.startIndex).length,end:o,text:i},f=Cw(c,u);n&&r===`never`&&d(t.rejectedClosing,l,f?u:void 0),!n&&r===`always`&&d(t.expectedClosing,l,f?u:void 0)})}),l.length>0&&s.write(Zf(c,l));function d(t,n,r){let i=s.toSourceIndex(n);U({message:t,index:i,endIndex:i,result:o,ruleName:e,node:a,...r&&{fix:()=>{l.push(r)}}})}})}}let _z=G({shortName:pz,meta:hz,messages:mz,rule:gz}),{ruleName:vz,messages:yz}=_z(B);function bz(e){let{fix:t}=e;e.root.walkRules(n=>{if(!e.syntax.isStandardRule(n))return;let r=e.syntax.selectorCopies(n),{selector:i}=r;if(!i.includes(`[`)||!i.includes(`=`))return;let a=[],o=lz(i,e.result,n);if(!o)return;o.walkAttributes(t=>{let r=t.operator;if(!r)return;let a=t.toString(),o=t.sourceIndex-a.indexOf(`[`);if(!i.startsWith(a,o))return;let{runString:c}=dz(a);(0,db.default)({source:a,target:r},t=>{let i=e.checkBeforeOperator?t.startIndex:t.endIndex-1;s(c,i,n,o,r)})}),a.length>0&&r.write(Zf(i,a));function s(n,o,s,c,l){let u=t?t(o,n).map(({start:e,end:t,text:n})=>({start:c+e,end:c+t,text:n})):[];e.locationChecker({source:n,index:o,err:n=>{let d=r.toSourceIndex(c+o),f=t&&u.every(e=>Cw(i,e));U({message:n.replace(e.checkBeforeOperator?l.charAt(0):l.slice(-1),l),node:s,index:d,endIndex:d,result:e.result,ruleName:e.checkedRuleName,...t&&f&&{fix:()=>{a.push(...u)}}})}})}})}let{utils:{validateOptions:xz}}=t,Sz=`selector-attribute-operator-space-after`;const Cz=W({expectedAfter:e=>`Expected single space after "${e}"`,rejectedAfter:e=>`Unexpected whitespace after "${e}"`});let wz={url:Y(Sz),fixable:!0};function Tz({ruleName:e,messages:t,syntax:n},r){return(i,a)=>{let o=Z(`space`,r,t);xz(a,e,{actual:r,possible:[`always`,`never`]})&&bz({root:i,result:a,syntax:n,locationChecker:o.after,checkedRuleName:e,checkBeforeOperator:!1,fix:(e,t)=>[{start:e+1,end:e+1+GN(t,e).length,text:r===`always`?` `:``}]})}}let Ez=G({shortName:Sz,meta:wz,messages:Cz,rule:Tz}),{ruleName:Dz,messages:Oz}=Ez(B),{utils:{validateOptions:kz}}=t,Az=`selector-attribute-operator-space-before`;const jz=W({expectedBefore:e=>`Expected single space before "${e}"`,rejectedBefore:e=>`Unexpected whitespace before "${e}"`});let Mz={url:Y(Az),fixable:!0};function Nz({ruleName:e,messages:t,syntax:n},r){let i=Z(`space`,r,t);return(t,a)=>{kz(a,e,{actual:r,possible:[`always`,`never`]})&&bz({root:t,result:a,syntax:n,locationChecker:i.before,checkedRuleName:e,checkBeforeOperator:!0,fix:(e,t)=>[{start:e-kO(t,e).length,end:e,text:r===`always`?` `:``}]})}}let Pz=G({shortName:Az,meta:Mz,messages:jz,rule:Nz}),{ruleName:Fz,messages:Iz}=Pz(B);function Lz(e){let t=e.prev();for(;t&&t.type===`comment`;)t=t.prev();return t}function Rz(e){let{fix:t}=e;e.root.walkRules(n=>{if(!e.syntax.isStandardRule(n))return;let r=e.syntax.selectorCopies(n),{selector:i}=r,a=lz(i,e.result,n);if(!a)return;let{runString:o}=dz(i),s=[];function c(n,i,a,o,c,l){let u=t?t(o,i):[],d=t&&u.every(e=>!r.comments.some(t=>e.start<=t.endIndex&&t.endIndex<e.end)&&Cw(n,e));e.locationChecker({source:i,index:o,errTarget:a.value,err:n=>{U({message:n,node:c,index:l,endIndex:l,result:e.result,ruleName:e.checkedRuleName,...t&&d&&{fix:()=>{s.push(...u)}}})}})}a.walkCombinators(t=>{if(!e.syntax.isStandardCombinator(t)||tl.test(t.value)||e.locationType===`before`&&!Lz(t))return;let a=t.parent&&t.parent.parent;if(a&&a.type===`pseudo`)return;let s=t.sourceIndex,l=t.value.length>1&&e.locationType===`before`?s:s+t.value.length-1;c(i,o,t,l,n,r.toSourceIndex(s))}),s.length>0&&r.write(Zf(i,s))})}let{utils:{validateOptions:zz}}=t,Bz=`selector-combinator-space-after`;const Vz=W({expectedAfter:e=>`Expected single space after "${e}"`,rejectedAfter:e=>`Unexpected whitespace after "${e}"`});let Hz={url:Y(Bz),fixable:!0};function Uz({ruleName:e,messages:t,syntax:n},r){let i=Z(`space`,r,t);return(t,a)=>{zz(a,e,{actual:r,possible:[`always`,`never`]})&&Rz({root:t,result:a,syntax:n,locationChecker:i.after,locationType:`after`,checkedRuleName:e,fix:(e,t)=>[{start:e+1,end:e+1+GN(t,e).length,text:r===`always`?` `:``}]})}}let Wz=G({shortName:Bz,meta:Hz,messages:Vz,rule:Uz}),{ruleName:Gz,messages:Kz}=Wz(B),{utils:{validateOptions:qz}}=t,Jz=`selector-combinator-space-before`;const Yz=W({expectedBefore:e=>`Expected single space before "${e}"`,rejectedBefore:e=>`Unexpected whitespace before "${e}"`});let Xz={url:Y(Jz),fixable:!0};function Zz({ruleName:e,messages:t,syntax:n},r){let i=Z(`space`,r,t);return(t,a)=>{qz(a,e,{actual:r,possible:[`always`,`never`]})&&Rz({root:t,result:a,syntax:n,locationChecker:i.before,locationType:`before`,checkedRuleName:e,fix:(e,t)=>[{start:e-kO(t,e).length,end:e,text:r===`always`?` `:``}]})}}let Qz=G({shortName:Jz,meta:Xz,messages:Yz,rule:Zz}),{ruleName:$z,messages:eB}=Qz(B),{utils:{validateOptions:tB}}=t,nB=`selector-descendant-combinator-no-non-space`;const rB=W({rejected:e=>`Unexpected "${e}"`});let iB={url:Y(nB),fixable:!0};function aB({ruleName:e,messages:t,syntax:n},r){return(i,a)=>{tB(a,e,{actual:r})&&i.walkRules(r=>{if(!n.isStandardRule(r))return;let i=!1,o=n.selectorCopies(r),{selector:s}=o,c=lz(s,a,r);if(!c||!oB(c,s))return;let{runString:l,escapes:u}=dz(s);if(c.walkCombinators(n=>{let c=n.value===` `;if(!c&&!tl.test(n.value))return;let d=n.toString();if(!c){U({result:a,ruleName:e,message:t.rejected,messageArgs:[o.sourceSpelling(d,n.sourceIndex)],node:r,index:o.toSourceIndex(n.sourceIndex),endIndex:o.toSourceIndex(n.sourceIndex)});return}if(sB(n))return;let f=cB(d,n.sourceIndex,o.comments);function p(){n.spaces.before=``,n.spaces.after=``,n.raws={...n.raws,spaces:{},value:f.map(e=>e.value).join(``)}}function m(n){if(n.isComment)return;let c=u.find(({start:e,end:t})=>e<n.index&&t>n.index)?.end??n.index,d=kO(l.slice(c,n.index+n.value.length),n.index+n.value.length-c);if(d===` `||d===``||n.closesInlineComment)return;let f=n.index+n.value.length-d.length,m=o.toSourceIndex(f),h=Cw(s,{start:f,end:n.index+n.value.length,text:` `});U({result:a,ruleName:e,message:t.rejected,messageArgs:[d],node:r,index:m,endIndex:m,...h&&{fix:()=>{i=!0,n.value=`${n.value.slice(0,n.value.length-d.length)} `,p()}}})}for(let e of f)m(e)}),i){let e=String(c);o.write(e)}})}}function oB(e,t){return String(e)===t||(e.walkCombinators(e=>{if(t.startsWith(String(e),e.sourceIndex))return;let n=e.raws?.spaces?.after;if(n===void 0)return;let[,r,i]=nc.exec(e.raws?.value??e.value),a=r+n+i;t.startsWith(a,e.sourceIndex)&&(e.spaces.after=``,e.raws={...e.raws,spaces:{...e.raws?.spaces,after:``},value:a})}),String(e)===t)}function sB(e){let t=e.prev();if(!t||t.type!==`comment`)return!1;for(;t&&t.type===`comment`;)t=t.prev();return t!==void 0&&t.type===`combinator`}function cB(e,t,n){let r=n.filter(n=>n.startIndex<t+e.length&&t<n.endIndex).map(n=>({start:Math.max(n.startIndex-t,0),end:Math.min(n.endIndex-t,e.length),isInline:!0}));for(let{start:t,end:n}of tf(e))r.some(e=>e.start<=t&&n<=e.end)||r.push({start:t,end:n,isInline:!1});let i=[],a=0,o=!1;for(let n of r.toSorted((e,t)=>e.start-t.start))i.push({value:e.slice(a,n.start),index:t+a,isComment:!1,closesInlineComment:o},{value:e.slice(n.start,n.end),index:t+n.start,isComment:!0,closesInlineComment:!1}),a=n.end,o=n.isInline;return i.push({value:e.slice(a),index:t+a,isComment:!1,closesInlineComment:o}),i}let lB=G({shortName:nB,meta:iB,messages:rB,rule:aB}),{ruleName:uB,messages:dB}=lB(B),{utils:{validateOptions:fB}}=t,pB=`selector-list-comma-newline-after`;const mB=W({expectedAfter:()=>`Expected newline after ","`,expectedAfterMultiLine:()=>`Expected newline after "," in a multi-line list`,rejectedAfterMultiLine:()=>`Unexpected whitespace after "," in a multi-line list`});let hB={url:Y(pB),fixable:!0};function gB({ruleName:e,messages:t,syntax:n},r){let i=Z(`newline`,r,t);return(t,a)=>{fB(a,e,{actual:r,possible:[`always`,`always-multi-line`,`never-multi-line`]})&&t.walkRules(o=>{if(!n.isStandardRule(o))return;let s=n.selectorCopies(o),{selector:c}=s,l=[],u=[];(0,db.default)({source:dz(c).searchString,target:`,`,functionArguments:`skip`},e=>{let t=c.slice(e.endIndex);al.test(t)||u.push({commaIndex:e.startIndex,checkIndex:il.test(t)?c.indexOf(`*/`,e.endIndex)+1:e.startIndex})});let d=BP(o,c,u[0]?.commaIndex===0,a),f=[];for(let{commaIndex:e,checkIndex:l}of u)i.afterOneOnly({source:c,lineCheckStr:d,index:l,err:i=>{let u=l+1,d=u+(c.slice(u).length-c.slice(u).trimStart().length),p=r.startsWith(`never`)&&s.comments.some(e=>u<=e.endIndex&&e.endIndex<d);function m(t,i){return!r.startsWith(`always`)||!Sx(t,i(e),!1,n.inlineComments(o,a))}let h=r.startsWith(`always`)?{start:u,end:u,text:X(t,a)}:{start:u,end:u+GN(c,l).length,text:``};f.push({message:i,sourceIndex:s.toSourceIndex(e),fixIndex:u,edits:p?void 0:[h],holds:m})}});let p=$k(c,f.map(({edits:e,holds:t,sourceIndex:n})=>({edits:e,holds:t,index:n})),n.inlineComments(o,a),o,a,e);for(let[t,{message:n,sourceIndex:r,fixIndex:i}]of f.entries())U({message:n,node:o,index:r,endIndex:r,result:a,ruleName:e,...p[t]&&{fix:()=>{l.push(i)}}});if(l.length>0){let e=c;for(let n of l.toSorted((e,t)=>t-e)){let i=e.slice(0,n),o=e.slice(n);r.startsWith(`always`)?o=vc.test(o)?o.replace(ac,``):X(t,a)+o:r.startsWith(`never-multi-line`)&&(o=o.replace(N,``)),e=i+o}s.write(e)}})}}let _B=G({shortName:pB,meta:hB,messages:mB,rule:gB}),{ruleName:vB,messages:yB}=_B(B);function bB(e){let{fix:t}=e;e.root.walkRules(r=>{if(!e.syntax.isStandardRule(r))return;let i=e.syntax.selectorCopies(r),{selector:a}=i,o=zP(r),s=[],{searchString:c,runString:l}=dz(a);(0,db.default)({source:c,target:`,`,functionArguments:`skip`},e=>{s.push(e.startIndex)});let u=BP(r,l,s[0]===0,e.result),d=s[0]===0,[f]=s,p=s.slice(+!!d).flatMap(e=>n(a,l,e,r,i,o,u)),{edits:m}=Qk(a,p.map(({edits:e,assumed:t,holds:n,sourceIndex:r})=>({edits:e,assumed:t,holds:n,index:r})),e.syntax.inlineComments(r,e.result),r,e.result,e.checkedRuleName),h=e.writtenAtTheEdge?.(r),g=t&&h?{written:h,edits:m}:void 0,_=d&&f!==void 0?n(a,l,f,r,i,FP(r,o,e.result,g),u,g):[],{given:v}=Qk(a,[...p,..._].map(({edits:e,assumed:t,holds:n,sourceIndex:r})=>({edits:e,assumed:t,holds:n,index:r})),e.syntax.inlineComments(r,e.result),r,e.result,e.checkedRuleName);for(let[n,{message:i,index:a,sourceIndex:o}]of _.entries())U({message:i,node:r,index:o,endIndex:o,result:e.result,ruleName:e.checkedRuleName,...t&&v[p.length+n]&&{fix:()=>t(r,a,l)}});for(let[n,{message:i,index:a,sourceIndex:o}]of p.entries())U({message:i,node:r,index:o,endIndex:o,result:e.result,ruleName:e.checkedRuleName,...t&&v[n]&&{fix:()=>t(r,a,l)}})});function n(n,r,i,a,o,s,c,l){let u=[];return e.locationChecker({source:r,index:i,textBefore:s,lineCheckStr:c,err:s=>{let c=t&&(!e.isFixable||e.isFixable(n,i,o.comments,a,r,l))&&!hF(e.checkedRuleName,r,i,e=>o.toSourceIndex(e),a,e.result),d=c?e.edits(n,i,a,r,o.toSourceIndex(i)):void 0;u.push({message:s,index:i,sourceIndex:o.toSourceIndex(i),edits:d?.edits,assumed:d?.assumed,holds:c?e.holds?.(n,i,a,r):void 0})}}),u}}let{utils:{validateOptions:xB}}=t,SB=`selector-list-comma-newline-before`;const CB=W({expectedBefore:()=>`Expected newline before ","`,expectedBeforeMultiLine:()=>`Expected newline before "," in a multi-line list`,rejectedBeforeMultiLine:()=>`Unexpected whitespace before "," in a multi-line list`});let wB={url:Y(SB),fixable:!0};function TB({ruleName:e,messages:t,syntax:n},r){let i=Z(`newline`,r,t);return(t,a)=>{if(!xB(a,e,{actual:r,possible:[`always`,`always-multi-line`,`never-multi-line`]}))return;let o;function s(e,n){let i=kO(e,n),o=i.match(Yc)?.[0]??``;return r.startsWith(`always`)?{start:n-o.length,end:n-o.length,text:X(t,a)}:{start:n-i.length,end:n,text:``}}if(bB({root:t,result:a,syntax:n,locationChecker:i.beforeAllowingIndentation,checkedRuleName:e,writtenAtTheEdge:()=>r.startsWith(`always`)?`newline`:`none`,isFixable:(e,t,i,o,c,l)=>{if(t===0)return l!==void 0&&!LP(o,n,a,l.written)&&!PP(o,a,l);let u=e.slice(0,t).trimEnd().length,d=i.some(e=>u<=e.endIndex&&e.endIndex<t);return r===`never-multi-line`&&d?!1:r!==`never-multi-line`||Cw(e,s(c,t))},holds:(e,t,i,o)=>(e,o)=>!r.startsWith(`always`)||!Sx(e,o(t),!1,n.inlineComments(i,a)),edits:(t,r,i,o,c)=>mF(t,o,r,c,s(o,r),n.inlineComments(i,a),i,a,e),fix:(e,t,n)=>{o||=/* @__PURE__ */ new Map;let r=o.get(e)||[];return r.push([t,kO(n,t)]),o.set(e,r),!0}}),o)for(let[e,i]of o.entries()){let o=n.selectorCopies(e),{selector:s}=o;for(let[n,o]of i.toSorted(([e],[t])=>t-e)){if(n===0){RP(e,e=>r.startsWith(`always`)?X(t,a)+(e.match(Yc)?.[0]??``):``);continue}let i=s.slice(0,n),c=s.slice(n);if(r.startsWith(`always`)){let e=o.match(Yc)?.[0]??``;i=i.slice(0,i.length-e.length)+X(t,a)+e}else r===`never-multi-line`&&(i=i.slice(0,i.length-o.length));s=i+c}o.write(s)}}}let EB=G({shortName:SB,meta:wB,messages:CB,rule:TB}),{ruleName:DB,messages:OB}=EB(B),{utils:{validateOptions:kB}}=t,AB=`selector-list-comma-space-after`;const jB=W({expectedAfter:()=>`Expected single space after ","`,rejectedAfter:()=>`Unexpected whitespace after ","`,expectedAfterSingleLine:()=>`Expected single space after "," in a single-line list`,rejectedAfterSingleLine:()=>`Unexpected whitespace after "," in a single-line list`});let MB={url:Y(AB),fixable:!0};function NB({ruleName:e,messages:t,syntax:n},r){let i=Z(`space`,r,t);return(t,a)=>{if(!kB(a,e,{actual:r,possible:[`always`,`never`,`always-single-line`,`never-single-line`]}))return;let o;if(bB({root:t,result:a,syntax:n,locationChecker:i.after,checkedRuleName:e,edits:(e,t)=>({edits:[{start:t+1,end:t+1+GN(e,t).length,text:r.startsWith(`always`)?` `:``}],assumed:[]}),fix:(e,t)=>{o||=/* @__PURE__ */ new Map;let n=o.get(e)||[];return n.push(t),o.set(e,n),!0}}),o)for(let[e,t]of o.entries()){let i=n.selectorCopies(e),{selector:a}=i;for(let e of t.toSorted((e,t)=>t-e)){let t=a.slice(0,e+1),n=a.slice(e+1);r.startsWith(`always`)?n=n.replace(N,` `):r.startsWith(`never`)&&(n=n.replace(N,``)),a=t+n}i.write(a)}}}let PB=G({shortName:AB,meta:MB,messages:jB,rule:NB}),{ruleName:FB,messages:IB}=PB(B),{utils:{validateOptions:LB}}=t,RB=`selector-list-comma-space-before`;const zB=W({expectedBefore:()=>`Expected single space before ","`,rejectedBefore:()=>`Unexpected whitespace before ","`,expectedBeforeSingleLine:()=>`Expected single space before "," in a single-line list`,rejectedBeforeSingleLine:()=>`Unexpected whitespace before "," in a single-line list`});let BB={url:Y(RB),fixable:!0};function VB({ruleName:e,messages:t,syntax:n},r){let i=Z(`space`,r,t);return(t,a)=>{if(!LB(a,e,{actual:r,possible:[`always`,`never`,`always-single-line`,`never-single-line`]}))return;let o;function s(e,t){return{start:t-kO(e,t).length,end:t,text:r.includes(`always`)?` `:``}}if(bB({root:t,result:a,syntax:n,locationChecker:i.before,checkedRuleName:e,writtenAtTheEdge:()=>r.includes(`always`)?`space`:`none`,isFixable:(e,t,r,i,o,c)=>{if(t===0)return c!==void 0&&!LP(i,n,a,c.written)&&!PP(i,a,c);let l=e.slice(0,t).trimEnd().length;return!r.some(e=>l<=e.endIndex&&e.endIndex<t)&&Cw(e,s(o,t))},edits:(t,r,i,o,c)=>mF(t,o,r,c,s(o,r),n.inlineComments(i,a),i,a,e),fix:(e,t,n)=>{o||=/* @__PURE__ */ new Map;let r=o.get(e)||[];return r.push([t,kO(n,t)]),o.set(e,r),!0}}),o)for(let[e,t]of o.entries()){let i=n.selectorCopies(e),{selector:a}=i;for(let[n,i]of t.toSorted(([e],[t])=>t-e)){if(n===0){RP(e,()=>r.includes(`always`)?` `:``);continue}let t=a.slice(0,n-i.length),o=a.slice(n);a=t+(r.includes(`always`)?` `:``)+o}i.write(a)}}}let HB=G({shortName:RB,meta:BB,messages:zB,rule:VB}),{ruleName:UB,messages:WB}=HB(B),{utils:{validateOptions:GB}}=t,KB=`selector-max-empty-lines`;const qB=W({expected:e=>`Expected no more than ${e} empty ${e===1?`line`:`lines`}`});let JB={url:Y(KB),fixable:!0};function YB({ruleName:e,messages:t,syntax:n},r){let i=r+1;return(a,o)=>{GB(o,e,{actual:r,possible:Su})&&a.walkRules(a=>{let s=n.selectorCopies(a),{selector:c}=s,l=z(c,n.commentSpans(c,a,o));l=z(l,kk(l)),l=z(l,qd(l,Ud)),Mk(l,i)&&U({message:t.expected,messageArgs:[r],node:a,index:0,endIndex:s.toSourceIndex(c.length),result:o,ruleName:e,fix(){s.write(Nk(c,l,i))}})})}}let XB=G({shortName:KB,meta:JB,messages:qB,rule:YB}),{ruleName:ZB,messages:QB}=XB(B);const $B=/* @__PURE__ */ new Set([`before`,`after`,`first-line`,`first-letter`]);let{utils:{validateOptions:eV}}=t,tV=`selector-pseudo-class-case`;const nV=W({expected:(e,t)=>`Expected "${e}" to be "${t}"`});let rV={url:Y(tV),fixable:!0};function iV({ruleName:e,messages:t,syntax:n},r){return(i,a)=>{eV(a,e,{actual:r,possible:[`lower`,`upper`]})&&i.walkRules(i=>{if(!n.isStandardRule(i))return;let o=n.selectorCopies(i),{selector:s}=o;if(!s.includes(`:`))return;let c=!1,l=lz(s,a,i);if(l&&(l.walkPseudos(s=>{let l=s.value;if(!n.isStandardSelector(l)||l.includes(`::`)||$B.has(l.toLowerCase().slice(1)))return;let u=cy(l,r);if(l===u)return;let d=o.toSourceIndex(s.sourceIndex);U({message:t.expected,messageArgs:[l,u],node:i,index:d,endIndex:d,ruleName:e,result:a,fix(){c=!0,s.value=u}})}),c)){let e=String(l);o.write(e)}})}}let aV=G({shortName:tV,meta:rV,messages:nV,rule:iV}),{ruleName:oV,messages:sV}=aV(B),{utils:{validateOptions:cV}}=t,lV=`selector-pseudo-class-parentheses-space-inside`;const uV=W({expectedOpening:`Expected single space after "("`,rejectedOpening:`Unexpected whitespace after "("`,expectedClosing:`Expected single space before ")"`,rejectedClosing:`Unexpected whitespace before ")"`});let dV={url:Y(lV),fixable:!0};function fV({ruleName:e,messages:t,syntax:n},r){let i=r===`always`?` `:``;return(a,o)=>{cV(o,e,{actual:r,possible:[`always`,`never`]})&&a.walkRules(a=>{if(!n.isStandardRule(a)||!a.selector.includes(`(`))return;let s=[],c=n.selectorCopies(a),{selector:l}=c;if(yl.test(l))return;let u=lz(l,o,a);if(!u||!pV(u,l))return;u.walkPseudos(e=>{if(e.length===0)return;let n=e.map(e=>e.toString()).join(`,`),{runString:a}=dz(n),o=P.test(n),s=e.sourceIndex+e.value.length+1,u=yV(e),f=bV(e);if(u){let e=n.startsWith(` `),o={start:s,end:s+a.match(N)[0].length,text:i};e&&r===`never`&&d(t.rejectedOpening,s,o),!e&&r===`always`&&d(t.expectedOpening,s,o)}if(c.comments.some(e=>e.startIndex<s+n.trimEnd().length&&s+n.trimEnd().length<=e.endIndex)&&(f=void 0),f){let e=a.endsWith(` `),c=s+n.length-1,u=kO(a,n.length),f={start:c+1-u.length,end:c+1,text:i},p=Cw(l,f);e&&r===`never`&&!o&&d(t.rejectedClosing,c,p?f:void 0),!e&&r===`always`&&d(t.expectedClosing,c,p?f:void 0)}}),s.length>0&&c.write(Zf(l,s));function d(t,n,r){let i=c.toSourceIndex(n);U({message:t,index:i,endIndex:i,result:o,ruleName:e,node:a,...r&&{fix:()=>{s.push(r)}}})}})}}function pV(e,t){return String(e)===t||(e.walk(e=>{if(e.type!==`selector`)return;let n=e.last;if(!n||n.type!==`comment`||n.spaces.after)return;let r=gV(t,n.sourceIndex+n.value.length);if(!r)return;n.spaces.after=r;let i=mV(e.parent);i&&hV(i,t)}),String(e)===t)}function mV(e){let t=e;for(;t&&t.parent;){let e=t.next();for(;e;){if(e.type!==`selector`)return e;e=e.first||e.next()}t=t.parent}}function hV(e,t){e.type===`combinator`&&tl.test(e.value)?(e.spaces.before=``,e.spaces.after=``,e.raws={...e.raws,spaces:{before:``,after:``},value:_V(t,e.sourceIndex)}):e.raws?.spaces?.before===void 0&&(e.spaces.before=vV(t,e.sourceIndex))}function gV(e,t){let n=ic.exec(e.slice(t));return n?n[0]:``}function _V(e,t){let n=t;for(;;){let r=rc.exec(e.slice(n));if(!r)return e.slice(t,n);n+=r[0].length}}function vV(e,t){let n=Zc.exec(e.slice(0,t));return n?n[0]:``}function yV(e){let t=e.first;for(;t&&t.type===`selector`;)t=t.first;return t}function bV(e){let t=e.last;for(;t&&t.type===`selector`;)t=t.last;return t}let xV=G({shortName:lV,meta:dV,messages:uV,rule:fV}),{ruleName:SV,messages:CV}=xV(B);function wV(e,t,n){try{return(0,cz.default)(n).processSync(t,{updateSelector:!0})}catch{e.warn(`Cannot parse selector`,{node:t,stylelintType:`parseError`})}}let{utils:{validateOptions:TV}}=t,EV=`selector-pseudo-element-case`;const DV=W({expected:(e,t)=>`Expected "${e}" to be "${t}"`});let OV={url:Y(EV),fixable:!0};function kV({ruleName:e,messages:t,syntax:n},r){return(i,a)=>{TV(a,e,{actual:r,possible:[`lower`,`upper`]})&&i.walkRules(i=>{n.isStandardRule(i)&&i.selector.includes(`:`)&&wV(a,i,o=>{o.walkPseudos(o=>{let s=o.value;if(!n.isStandardSelector(s)||!s.includes(`::`)&&!$B.has(s.toLowerCase().slice(1)))return;let c=cy(s,r);s!==c&&U({message:t.expected,messageArgs:[s,c],node:i,index:o.sourceIndex,endIndex:o.sourceIndex,ruleName:e,result:a,fix(){o.value=c}})})})})}}let AV=G({shortName:EV,meta:OV,messages:DV,rule:kV}),{ruleName:jV,messages:MV}=AV(B),{utils:{validateOptions:NV}}=t,PV=`string-quotes`;const FV=W({expected:e=>`Expected ${e} quotes`});let IV={url:Y(PV),fixable:!0};function LV(e,t){return t.find(({start:t,end:n})=>e>=t&&e<n)}function RV(e,t){let n=[];return(0,No.default)(e).walk(e=>{if(e.type!==`string`)return;let r=e.sourceIndex,i=e.sourceEndIndex-1,a=LV(r,t),o=e.unclosed?void 0:LV(i,t);(e.unclosed||a!==o)&&(a&&n.push(r),o&&n.push(i))}),n}function zV(e,t){if(t.length===0)return e;let n=e;for(let e=RV(n,t);e.length>0;e=RV(n,t)){let t=n.split(``);for(let r of e){if(t[r]!==`'`&&t[r]!==`"`)return n;t[r]=`?`}n=t.join(``)}return n}function BV(e,t){let{ruleName:n,messages:r,syntax:i,result:a,primary:o,correctQuote:s,erroneousQuote:c,avoidEscape:l}=e;if(!i.isStandardRule(t))return;let u=i.selectorCopies(t),{selector:d}=u;if(!d.includes(`[`)||!d.includes(`=`))return;let f=!1,p=lz(d,a,t);if(p&&(p.walkAttributes(e=>{if(!e.quoted)return;let i=u.toSourceIndex(e.sourceIndex+e.offsetOf(`value`));if(e.quoteMark===s&&l){Du(e.value);let l=e.value.includes(s);if(e.value.includes(c))return;l&&U({message:r.expected,messageArgs:[o===`single`?`double`:o],node:t,index:i,endIndex:i,result:a,ruleName:n,fix(){f=!0,e.quoteMark=c}})}if(e.quoteMark===c){if(l){Du(e.value);let l=e.value.includes(s);if(e.value.includes(c)){U({message:r.expected,messageArgs:[o],node:t,index:i,endIndex:i,result:a,ruleName:n,fix(){f=!0,e.quoteMark=s}});return}if(l)return}U({message:r.expected,messageArgs:[o],node:t,index:i,endIndex:i,result:a,ruleName:n,fix(){f=!0,e.quoteMark=s}})}}),f)){let e=String(p);u.write(e)}}function VV(e,t,n,r,i){let{ruleName:a,messages:o,syntax:s,result:c,primary:l,correctQuote:u,erroneousQuote:d,avoidEscape:f}=e,p=[],m=n;if(!m.includes(d))return;let h=s.printedComments(t,m,c),g=s.addressTokenSpans(i(t),m,t,c);g&&((0,No.default)(zV(Nx(z(m,h),h),g)).walk((e,n,i)=>{if(e.type===`function`&&!s.readsQuoteInsideAddressAsString()&&Wb(e,n,i)&&!Gb(e,m.slice(e.sourceIndex+e.value.length+1,e.nodes[0]?.sourceIndex)))return!1;if(!(e.type===`string`&&e.unclosed)&&e.type===`string`&&e.quote===d){let n=e.value.includes(u);if(f&&n)return;let i=e.sourceIndex,s=r(t)+i;U({message:o.expected,messageArgs:[l],node:t,index:s,endIndex:s,result:c,ruleName:a,fix(){if(!n){let t=i+e.value.length+d.length;p.push(i,t)}}})}}),p.length!==0&&s.write(t,HV(m,p,u)))}function HV(e,t,n){let r=e;for(let e of t)r=WV(r,e,n);return r}function UV({ruleName:e,messages:t,syntax:n},r,i){let a=r===`single`?`'`:`"`,o=r===`single`?`"`:`'`;return(s,c)=>{if(!NV(c,e,{actual:r,possible:[`single`,`double`]},{actual:i,possible:{avoidEscape:[yu]},optional:!0}))return;let l=i&&i.avoidEscape!==void 0?i.avoidEscape:!0,u={ruleName:e,messages:t,syntax:n,result:c,primary:r,correctQuote:a,erroneousQuote:o,avoidEscape:l};s.walk(e=>{switch(e.type){case`atrule`:Hs.test(e.name)||VV(u,e,n.read(e),ep,$f);break;case`decl`:VV(u,e,n.read(e),V,tp);break;case`rule`:BV(u,e)}})}}function WV(e,t,n){return e.slice(0,t)+n+e.slice(t+n.length)}let GV=G({shortName:PV,meta:IV,messages:FV,rule:UV}),{ruleName:KV,messages:qV}=GV(B),{utils:{validateOptions:JV}}=t,YV=`unicode-bom`;const XV=W({expected:`Expected Unicode BOM`,rejected:`Unexpected Unicode BOM`,contradicts:`The "always" option contradicts the "@charset" standing first in the file; set "never" or leave the rule unset`});let ZV={url:Y(YV),fixable:!0};function QV({ruleName:e,messages:t,syntax:n},r){return(i,a)=>{let o=JV(a,e,{actual:r,possible:[`always`,`never`]}),s=i.source;if(!o||!s||s.inline||s.lang===`object-literal`||a.root!==i)return;let{input:c}=s;if(r===`always`){if(n.namespace===void 0&&i.first&&I(i.first)&&Hs.test(i.first.name)){U({result:a,ruleName:e,message:t.contradicts,node:i});return}c.hasBOM||U({result:a,ruleName:e,message:t.expected,node:i,fix(){c.hasBOM=!0}})}r===`never`&&c.hasBOM&&U({result:a,ruleName:e,message:t.rejected,node:i,fix(){c.hasBOM=!1}})}}let $V=G({shortName:YV,meta:ZV,messages:XV,rule:QV}),{ruleName:eH,messages:tH}=$V(B);const nH=[`\\0`,`\\9`];function rH(e,t,n){return e.readsNumberWithExponent()?n:t.match(Xs)?.[0]??n}function iH(e,t){if(!t||!t.value||t.type!==`word`||!e.isStandardValue(t.value)||t.value.startsWith(`#`))return{unit:null,number:null,positions:null};let n=t.value,r=Array.from({length:n.length},(e,t)=>t);function i(e,t){n=n.slice(0,e)+n.slice(e+t),r.splice(e,t)}let a=e.readsUnitAsIdentifier(),o=a?Bb(n).filter(e=>e.escape&&nH.some(t=>e.text===t||e.text.startsWith(t)&&Ts.test(e.text.slice(t.length)))):[];for(let e of o.toReversed())i(e.index,2);let s=No.default.unit(n);if(!s)return{unit:null,number:null,positions:null};let c=rH(e,n,s.number),l=n.slice(c.length),u=Bb(l).find(e=>e.escape?!a:!Es.test(e.text)||!a&&(e.text===`-`||Ho.test(e.text)))?.index,d=u===void 0?l:l.slice(0,u),f=Bb(d).at(-1),p=f?.escape?f.text.match(F)?.[0]??``:``,m=p!==``&&f!==void 0&&f.text.length>p.length+1;return{...s,number:c,unit:m?d.slice(0,-p.length):d,positions:r}}function aH(e,t=[]){let n=0;for(;n<e.length;){let r=e[n],i=e[n+1],a=e[n+2];r?.type===`function`&&aH(r.nodes,t),r?.type===`word`&&i?.type===`space`&&Ts.test(i.value)&&a?.type===`word`&&Vb(r.value)&&!Xd(r,t)?e.splice(n,3,{type:`word`,value:`${r.value}${i.value}${a.value}`,sourceIndex:r.sourceIndex,sourceEndIndex:a.sourceEndIndex}):n+=1}}let{utils:{validateOptions:oH}}=t,sH=`unit-case`;const cH=W({expected:(e,t)=>`Expected "${e}" to be "${t}"`});let lH={url:Y(sH),fixable:!0};function uH({ruleName:e,messages:t,syntax:n},r){return(i,a)=>{if(!oH(a,e,{actual:r,possible:[`lower`,`upper`]}))return;function o(i,o,s,c){let l=[],u=!1,d=n.commentSpans(o,i,a),f=n.interpolationSpans(z(o,d),i,a);function p(e){let i={end:e.value.length,problem:null},a=iH(n,e);if(!a.number)return i;let{number:o,unit:c,positions:l}=a,u=l[o.length],d=l[o.length+c.length-1];if(u===void 0||d===void 0)return i;let f=d+1,p=cy(c,r);if(c===p)return{end:f,problem:null};let m=e.value.slice(u,f);return{end:f,problem:{index:s+e.sourceIndex+u,endIndex:s+e.sourceIndex+f,message:t.expected,messageArgs:[c,p],edit:{start:e.sourceIndex+u,end:e.sourceIndex+f,text:cy(m,r)}}}}function m(e,t,r){let i=[{text:t,index:r}];for(let t of i)for(let r of Sg({css:t.text})){if(r[0]!==q.Dimension&&(n.readsNumberWithExponent()||r[0]!==q.Number&&r[0]!==q.Percentage))continue;let a=t.index+r[2],o=t.index+r[3]+1,s={...e,sourceIndex:e.sourceIndex+a,sourceEndIndex:e.sourceIndex+o,value:e.value.slice(a,o)},c=p(s);c.problem&&l.push(c.problem);let u=n.readsNumberWithExponent()&&n.readsUnitAsIdentifier()?``:s.value.slice(c.end),d=+!!u.startsWith(`-`);u.length>d&&i.push({text:u.slice(d),index:a+c.end+d})}}let h=(0,No.default)(Nx(Fx(o,d),d));aH(h.nodes,d),h.walk((e,t,n)=>{let r=e.value;if(Wb(e,t,n)&&!Gb(e))return!1;Xd(e,d)||Pf(e,f)||e.type===`word`&&m(e,r,0)});function g(){u=!0}if(l.length>0){for(let t of l.toSorted((e,t)=>e.index-t.index))U({index:t.index,endIndex:t.endIndex,message:t.message,messageArgs:t.messageArgs,node:i,result:a,ruleName:e,fix:g});if(u){let e=l.map(e=>e.edit);c(Zf(o,e),e)}}}i.walkAtRules(e=>{let t=n.atRuleVariableValue(e);t?o(e,t.text,t.index,t.write):cc.test(e.name)&&o(e,n.read(e),ep(e),t=>n.write(e,t))}),i.walkDecls(e=>o(e,n.read(e),V(e),t=>n.write(e,t)))}}let dH=G({shortName:sH,meta:lH,messages:cH,rule:uH}),{ruleName:fH,messages:pH}=dH(B);function mH(e){let{fix:t}=e;e.root.walkDecls(r=>{if(!e.syntax.isStandardDeclaration(r)||!e.syntax.isStandardProperty(r.prop))return;let i=rp(e.syntax,r),{searchString:a,runString:o}=e.syntax.searchCopy(i,r,e.result),s=[];(0,db.default)({source:a,target:`,`,functionArguments:`skip`},t=>{let n=e.determineIndex?e.determineIndex(i,t):t.startIndex;n!==!1&&s.push(n)});let c=s.flatMap(e=>n(i,o,e,r)),l=$k(i,c,e.syntax.inlineComments(r,e.result),r,e.result,e.checkedRuleName);for(let[n,{message:i,index:a}]of c.entries())U({message:i,node:r,index:a,endIndex:a,result:e.result,ruleName:e.checkedRuleName,...t&&l[n]&&{fix:()=>t(r,a,o)}})});function n(n,r,i,a){let o=[];return e.locationChecker({source:r,index:i,err:s=>{let c=t&&(!e.isFixable||e.isFixable(a,i,n,r))&&!hF(e.checkedRuleName,r,i,e=>e,a,e.result),l=c?e.edits(a,i,n,r):void 0;o.push({message:s,index:i,edits:l?.edits,assumed:l?.assumed,holds:c?e.holds?.(a,i,n,r):void 0})}}),o}}let{utils:{validateOptions:hH}}=t,gH=`value-list-comma-newline-after`;const _H=W({expectedAfter:()=>`Expected newline after ","`,expectedAfterMultiLine:()=>`Expected newline after "," in a multi-line list`,rejectedAfterMultiLine:()=>`Unexpected whitespace after "," in a multi-line list`});let vH={url:Y(gH),fixable:!0};function yH({ruleName:e,messages:t,syntax:n},r){let i=Z(`newline`,r,t);return(t,a)=>{if(!hH(a,e,{actual:r,possible:[`always`,`always-multi-line`,`never-multi-line`]}))return;let o;if(mH({root:t,result:a,syntax:n,locationChecker:i.afterOneOnly,checkedRuleName:e,isFixable:(e,t)=>t>=V(e),holds:(e,t)=>(i,o)=>!r.startsWith(`always`)||!Sx(i,o(t),of(e.prop),n.inlineComments(e,a)),edits:(e,n,i)=>({edits:[r.startsWith(`always`)?{start:n+1,end:n+1,text:X(t,a)}:{start:n+1,end:n+1+GN(i,n).length,text:``}],assumed:[]}),fix:(e,t)=>{o||=/* @__PURE__ */ new Map;let n=o.get(e)||[];n.push(t),o.set(e,n)},determineIndex:(e,t)=>{let n=e.slice(t.endIndex);return Ac.test(n)?!1:kc.test(n)?e.indexOf(`*/`,t.endIndex)+1:t.startIndex}}),o)for(let[e,i]of o.entries())for(let o of i.toSorted((e,t)=>e-t).toReversed()){let i=n.read(e),s=o-V(e),c=i.slice(0,s+1),l=i.slice(s+1);r.startsWith(`always`)?l=vc.test(l)?l.replace(ac,``):X(t,a)+l:r.startsWith(`never-multi-line`)&&(l=l.replace(N,``)),n.write(e,c+l)}}}let bH=G({shortName:gH,meta:vH,messages:_H,rule:yH}),{ruleName:xH,messages:SH}=bH(B),{utils:{validateOptions:CH}}=t,wH=`value-list-comma-newline-before`;const TH=W({expectedBefore:()=>`Expected newline before ","`,expectedBeforeMultiLine:()=>`Expected newline before "," in a multi-line list`,rejectedBeforeMultiLine:()=>`Unexpected whitespace before "," in a multi-line list`});let EH={url:Y(wH),fixable:!0};function DH(e,t,n){let r=t.match(Yc)?.[0]??``;return e.slice(0,e.length-r.length)+n+r}function OH({ruleName:e,messages:t,syntax:n},r){let i=Z(`newline`,r,t);return(t,a)=>{if(!CH(a,e,{actual:r,possible:[`always`,`always-multi-line`,`never-multi-line`]}))return;let o;function s(e,n){let i=kO(e,n),o=i.match(Yc)?.[0]??``;return r.startsWith(`always`)?{start:n-o.length,end:n-o.length,text:X(t,a)}:{start:n-i.length,end:n,text:``}}if(mH({root:t,result:a,syntax:n,locationChecker:i.beforeAllowingIndentation,checkedRuleName:e,isFixable:(t,i,o,c)=>{if(i<V(t)||i===V(t)&&!Xw(n,t,a,e))return!1;let l=n.endsWithInlineComment(o.slice(0,i),n.inlineComments(t,a));return r===`never-multi-line`&&l?!1:r!==`never-multi-line`||Cw(o,s(c,i))},holds:(e,t,i,o)=>(i,o)=>!r.startsWith(`always`)||!Sx(i,o(t),of(e.prop),n.inlineComments(e,a)),edits:(t,r,i,o)=>mF(i,o,r,r,s(o,r),n.inlineComments(t,a),t,a,e),fix:(e,t,n)=>{o||=/* @__PURE__ */ new Map;let r=o.get(e)||[];r.push([t,kO(n,t)]),o.set(e,r)}}),o){let e=X(t,a);for(let[t,i]of o.entries())for(let[a,o]of i.toSorted(([e],[t])=>t-e)){let i=a-V(t);if(i===0){let n=t.raws.between||`:`;t.raws.between=r.startsWith(`always`)?DH(n,o,e):n.replace(F,``);continue}let s=n.read(t),c=s.slice(0,i),l=s.slice(i);r.startsWith(`always`)?c=DH(c,o,e):r===`never-multi-line`&&(c=c.slice(0,c.length-o.length)),n.write(t,c+l)}}}}let kH=G({shortName:wH,meta:EH,messages:TH,rule:OH}),{ruleName:AH,messages:jH}=kH(B),{utils:{validateOptions:MH}}=t,NH=`value-list-comma-space-after`;const PH=W({expectedAfter:()=>`Expected single space after ","`,rejectedAfter:()=>`Unexpected whitespace after ","`,expectedAfterSingleLine:()=>`Expected single space after "," in a single-line list`,rejectedAfterSingleLine:()=>`Unexpected whitespace after "," in a single-line list`});let FH={url:Y(NH),fixable:!0};function IH({ruleName:e,messages:t,syntax:n},r){let i=Z(`space`,r,t);return(t,a)=>{if(!MH(a,e,{actual:r,possible:[`always`,`never`,`always-single-line`,`never-single-line`]}))return;let o;if(mH({root:t,result:a,syntax:n,locationChecker:i.after,checkedRuleName:e,isFixable:(e,t)=>t>=V(e),edits:(e,t,n)=>({edits:[{start:t+1,end:t+1+GN(n,t).length,text:r.startsWith(`always`)?` `:``}],assumed:[]}),fix:(e,t)=>{o||=/* @__PURE__ */ new Map;let n=o.get(e)||[];n.push(t),o.set(e,n)}}),o)for(let[e,t]of o.entries())for(let i of t.toSorted((e,t)=>t-e)){let t=n.read(e),a=i-V(e),o=t.slice(0,a+1),s=t.slice(a+1);r.startsWith(`always`)?s=s.replace(N,` `):r.startsWith(`never`)&&(s=s.replace(N,``)),n.write(e,o+s)}}}let LH=G({shortName:NH,meta:FH,messages:PH,rule:IH}),{ruleName:RH,messages:zH}=LH(B),{utils:{validateOptions:BH}}=t,VH=`value-list-comma-space-before`;const HH=W({expectedBefore:()=>`Expected single space before ","`,rejectedBefore:()=>`Unexpected whitespace before ","`,expectedBeforeSingleLine:()=>`Expected single space before "," in a single-line list`,rejectedBeforeSingleLine:()=>`Unexpected whitespace before "," in a single-line list`});let UH={url:Y(VH),fixable:!0};function WH({ruleName:e,messages:t,syntax:n},r){let i=Z(`space`,r,t);return(t,a)=>{if(!BH(a,e,{actual:r,possible:[`always`,`never`,`always-single-line`,`never-single-line`]}))return;let o;function s(e,t){return{start:t-kO(e,t).length,end:t,text:r.startsWith(`always`)?` `:``}}if(mH({root:t,result:a,syntax:n,locationChecker:i.before,checkedRuleName:e,isFixable:(t,r,i,o)=>r<V(t)||n.endsWithInlineComment(i.slice(0,r),n.inlineComments(t,a))||r===V(t)&&!Xw(n,t,a,e)?!1:Cw(i,s(o,r)),edits:(t,r,i,o)=>mF(i,o,r,r,s(o,r),n.inlineComments(t,a),t,a,e),fix:(e,t,n)=>{o||=/* @__PURE__ */ new Map;let r=o.get(e)||[];r.push([t,kO(n,t)]),o.set(e,r)}}),o)for(let[e,t]of o.entries())for(let[i,a]of t.toSorted(([e],[t])=>t-e)){let t=i-V(e);if(t===0){let t=e.raws.between||`:`;e.raws.between=r.startsWith(`always`)?t.replace(F,` `):t.replace(F,``);continue}let o=n.read(e),s=o.slice(0,t-a.length),c=o.slice(t);r.startsWith(`always`)&&(s+=` `),n.write(e,s+c)}}}let GH=G({shortName:VH,meta:UH,messages:HH,rule:WH}),{ruleName:KH,messages:qH}=GH(B),{utils:{validateOptions:JH}}=t,YH=`value-list-max-empty-lines`;const XH=W({expected:e=>`Expected no more than ${e} empty ${e===1?`line`:`lines`}`});let ZH={url:Y(YH),fixable:!0};function QH({ruleName:e,messages:t,syntax:n},r){let i=r+1;return(a,o)=>{JH(o,e,{actual:r,possible:Su})&&a.walkDecls(a=>{let s=n.read(a),c=rS(n,a,o),l=s.slice(0,s.length-c.length),u=z(l,n.commentSpans(l,a,o));u=z(u,kk(u)),u=z(u,qd(u,Ud)),Mk(u,i)&&U({message:t.expected,messageArgs:[r],node:a,index:0,endIndex:0,result:o,ruleName:e,fix(){n.write(a,Nk(l,u,i)+c)}})})}}let $H=G({shortName:YH,meta:ZH,messages:XH,rule:QH}),{ruleName:eU,messages:tU}=$H(B),{utils:{validateOptions:nU}}=t,rU=`value-slash-newline-after`;const iU=W({expectedAfter:()=>`Expected newline after "/"`,expectedAfterMultiLine:()=>`Expected newline after "/" in a multi-line declaration`,rejectedAfterMultiLine:()=>`Unexpected whitespace after "/" in a multi-line declaration`});let aU={url:Y(rU),fixable:!0};function oU({ruleName:e,messages:t,syntax:n},r,i){let a=Z(`newline`,r,t);return(t,o)=>{nU(o,e,{actual:r,possible:[`always`,`always-multi-line`,`never-multi-line`]},{actual:i,possible:{ignoreFunctions:[Tu,wu],ignoreProperties:[Tu,wu]},optional:!0})&&GP({root:t,result:o,syntax:n,checkedRuleName:e,locationChecker:a.afterOneOnly,position:`after`,expectation:r,whitespace:`newline`,ignoreFunctions:i?.ignoreFunctions,ignoreProperties:i?.ignoreProperties})}}let sU=G({shortName:rU,meta:aU,messages:iU,rule:oU}),{ruleName:cU,messages:lU}=sU(B),{utils:{validateOptions:uU}}=t,dU=`value-slash-newline-before`;const fU=W({expectedBefore:()=>`Expected newline before "/"`,expectedBeforeMultiLine:()=>`Expected newline before "/" in a multi-line declaration`,rejectedBeforeMultiLine:()=>`Unexpected whitespace before "/" in a multi-line declaration`});let pU={url:Y(dU),fixable:!0};function mU({ruleName:e,messages:t,syntax:n},r,i){let a=Z(`newline`,r,t);return(t,o)=>{uU(o,e,{actual:r,possible:[`always`,`always-multi-line`,`never-multi-line`]},{actual:i,possible:{ignoreFunctions:[Tu,wu],ignoreProperties:[Tu,wu]},optional:!0})&&GP({root:t,result:o,syntax:n,checkedRuleName:e,locationChecker:a.beforeAllowingIndentation,position:`before`,expectation:r,whitespace:`newline`,ignoreFunctions:i?.ignoreFunctions,ignoreProperties:i?.ignoreProperties})}}let hU=G({shortName:dU,meta:pU,messages:fU,rule:mU}),{ruleName:gU,messages:_U}=hU(B),{utils:{validateOptions:vU}}=t,yU=`value-slash-space-after`;const bU=W({expectedAfter:()=>`Expected single space after "/"`,rejectedAfter:()=>`Unexpected whitespace after "/"`,expectedAfterSingleLine:()=>`Expected single space after "/" in a single-line declaration`,rejectedAfterSingleLine:()=>`Unexpected whitespace after "/" in a single-line declaration`});let xU={url:Y(yU),fixable:!0};function SU({ruleName:e,messages:t,syntax:n},r,i){let a=Z(`space`,r,t);return(t,o)=>{vU(o,e,{actual:r,possible:[`always`,`never`,`always-single-line`,`never-single-line`]},{actual:i,possible:{ignoreFunctions:[Tu,wu],ignoreProperties:[Tu,wu]},optional:!0})&&GP({root:t,result:o,syntax:n,checkedRuleName:e,locationChecker:a.after,position:`after`,expectation:r,whitespace:`space`,ignoreFunctions:i?.ignoreFunctions,ignoreProperties:i?.ignoreProperties})}}let CU=G({shortName:yU,meta:xU,messages:bU,rule:SU}),{ruleName:wU,messages:TU}=CU(B),{utils:{validateOptions:EU}}=t,DU=`value-slash-space-before`;const OU=W({expectedBefore:()=>`Expected single space before "/"`,rejectedBefore:()=>`Unexpected whitespace before "/"`,expectedBeforeSingleLine:()=>`Expected single space before "/" in a single-line declaration`,rejectedBeforeSingleLine:()=>`Unexpected whitespace before "/" in a single-line declaration`});let kU={url:Y(DU),fixable:!0};function AU({ruleName:e,messages:t,syntax:n},r,i){let a=Z(`space`,r,t);return(t,o)=>{EU(o,e,{actual:r,possible:[`always`,`never`,`always-single-line`,`never-single-line`]},{actual:i,possible:{ignoreFunctions:[Tu,wu],ignoreProperties:[Tu,wu]},optional:!0})&&GP({root:t,result:o,syntax:n,checkedRuleName:e,locationChecker:a.before,position:`before`,expectation:r,whitespace:`space`,ignoreFunctions:i?.ignoreFunctions,ignoreProperties:i?.ignoreProperties})}}let jU=G({shortName:DU,meta:kU,messages:OU,rule:AU}),{ruleName:MU,messages:NU}=jU(B),PU={"aspect-ratio-notation":ay,"at-rule-name-case":my,"at-rule-name-newline-after":Ny,"at-rule-name-space-after":Vy,"at-rule-semicolon-newline-after":YS,"at-rule-semicolon-space-before":rC,"block-closing-brace-empty-line-before":nw,"block-closing-brace-newline-after":vw,"block-closing-brace-newline-before":oT,"block-closing-brace-space-after":mT,"block-closing-brace-space-before":CT,"block-opening-brace-newline-after":JT,"block-opening-brace-newline-before":rE,"block-opening-brace-space-after":dE,"block-opening-brace-space-before":yE,"color-hex-case":OE,"declaration-bang-space-after":RE,"declaration-bang-space-before":KE,"declaration-block-semicolon-newline-after":eD,"declaration-block-semicolon-newline-before":cD,"declaration-block-semicolon-space-after":gD,"declaration-block-semicolon-space-before":wD,"declaration-block-single-line-max-declarations":BD,"declaration-block-trailing-semicolon":mO,"declaration-colon-newline-after":EO,"declaration-colon-space-after":IO,"declaration-colon-space-before":GO,"function-comma-newline-after":nk,"function-comma-newline-before":uk,"function-comma-space-after":vk,"function-comma-space-before":Ek,"function-max-empty-lines":Bk,"function-parentheses-newline-inside":gA,"function-parentheses-space-inside":MA,"function-whitespace-after":GA,indentation:Lj,linebreaks:Gj,"max-empty-lines":qM,"max-line-length":rN,"media-feature-colon-space-after":fN,"media-feature-colon-space-before":bN,"media-feature-name-case":kN,"media-feature-parentheses-space-inside":BN,"media-feature-range-operator-space-after":ZN,"media-feature-range-operator-space-before":aP,"media-feature-slash-space-after":QP,"media-feature-slash-space-before":oF,"media-query-list-comma-newline-after":SF,"media-query-list-comma-newline-before":AF,"media-query-list-comma-space-after":RF,"media-query-list-comma-space-before":KF,"named-grid-areas-alignment":sI,"no-empty-first-line":gI,"no-eol-whitespace":pL,"no-extra-semicolons":TL,"no-missing-end-of-source-newline":NL,"no-multiple-whitespaces":eR,"number-leading-zero":uR,"number-no-trailing-zeros":yR,"property-case":DR,"selector-attribute-brackets-space-inside":_z,"selector-attribute-operator-space-after":Ez,"selector-attribute-operator-space-before":Pz,"selector-combinator-space-after":Wz,"selector-combinator-space-before":Qz,"selector-descendant-combinator-no-non-space":lB,"selector-list-comma-newline-after":_B,"selector-list-comma-newline-before":EB,"selector-list-comma-space-after":PB,"selector-list-comma-space-before":HB,"selector-max-empty-lines":XB,"selector-pseudo-class-case":aV,"selector-pseudo-class-parentheses-space-inside":xV,"selector-pseudo-element-case":AV,"string-quotes":GV,"unicode-bom":$V,"unit-case":dH,"value-list-comma-newline-after":bH,"value-list-comma-newline-before":kH,"value-list-comma-space-after":LH,"value-list-comma-space-before":GH,"value-list-max-empty-lines":$H,"value-slash-newline-after":sU,"value-slash-newline-before":hU,"value-slash-space-after":CU,"value-slash-space-before":jU};const FU={ignoreFunctions:[`function-comma-newline-after`,`function-comma-newline-before`,`function-comma-space-after`,`function-comma-space-before`,`value-slash-newline-after`,`value-slash-newline-before`,`value-slash-space-after`,`value-slash-space-before`],ignoreProperties:[`value-slash-newline-after`,`value-slash-newline-before`,`value-slash-space-after`,`value-slash-space-before`]};function IU(e,t){if(t===`severity`||t===`disableFix`)return!0;let n=FU[t];return n!==void 0&&n.includes(e)}function LU(e,t,n){if(t==null)return t;let[r,i]=Array.isArray(t)?t:[t],a=Object.entries(n).filter(([t])=>IU(e,t));return[r,{...Object.fromEntries(a),...i}]}function RU(e){if(e===void 0||e===`css`)return;let t=Pm.map(e=>e.namespace);if(!t.includes(e))throw Lm(`"${e}" is not a syntax of "@stylistic/stylelint-plugin": name one of ${t.map(e=>`"${e}"`).join(`, `)}, or "css" for plain CSS.`);return e}function zU(e,t){let n=RU(e.syntax),r=Object.entries(e.rules).map(([e,r])=>{if(!Object.hasOwn(PU,e))throw Lm(`"${e}" is not a rule of "@stylistic/stylelint-plugin": the rules are named by their short names, "color-hex-case" for "@stylistic/color-hex-case".`);return[Im(e,n),LU(e,r,t??{})]}),i=sh(r.map(([e,t])=>lh(e,t)).filter(({primary:e})=>e!=null));if(i.length>0)throw ch(i);return Object.fromEntries(r)}const BU={"aspect-ratio-notation":`ratio`,"at-rule-name-case":`lower`,"at-rule-name-space-after":`always`,"at-rule-semicolon-newline-after":`always`,"at-rule-semicolon-space-before":`never`,"block-closing-brace-empty-line-before":`never`,"block-closing-brace-newline-after":`always`,"block-closing-brace-newline-before":`always`,"block-closing-brace-space-before":`always-single-line`,"block-opening-brace-newline-after":`always`,"block-opening-brace-space-after":`always-single-line`,"block-opening-brace-space-before":`always`,"color-hex-case":`lower`,"declaration-bang-space-after":`never`,"declaration-bang-space-before":`always`,"declaration-block-semicolon-newline-after":`always`,"declaration-block-semicolon-newline-before":`never-multi-line`,"declaration-block-semicolon-space-after":`always-single-line`,"declaration-block-semicolon-space-before":`never`,"declaration-block-single-line-max-declarations":0,"declaration-block-trailing-semicolon":`always`,"declaration-colon-newline-after":`always-multi-line`,"declaration-colon-space-after":`always-single-line`,"declaration-colon-space-before":`never`,"function-comma-newline-after":`always-multi-line`,"function-comma-newline-before":`never-multi-line`,"function-comma-space-after":`always-single-line`,"function-comma-space-before":`never`,"function-max-empty-lines":0,"function-parentheses-newline-inside":`always-multi-line`,"function-parentheses-space-inside":`never-single-line`,"function-whitespace-after":`always`,indentation:`tab`,linebreaks:`unix`,"max-empty-lines":2,"media-feature-colon-space-after":`always`,"media-feature-colon-space-before":`never`,"media-feature-name-case":`lower`,"media-feature-parentheses-space-inside":`never`,"media-feature-range-operator-space-after":`always`,"media-feature-range-operator-space-before":`always`,"media-feature-slash-space-after":`always`,"media-feature-slash-space-before":`always`,"media-query-list-comma-newline-after":`always-multi-line`,"media-query-list-comma-newline-before":`never-multi-line`,"media-query-list-comma-space-after":`always-single-line`,"media-query-list-comma-space-before":`never-single-line`,"named-grid-areas-alignment":[!0,{gap:2,alignQuotes:!0,alignColumns:!0}],"no-empty-first-line":!0,"no-eol-whitespace":!0,"no-extra-semicolons":!0,"no-missing-end-of-source-newline":!0,"no-multiple-whitespaces":!0,"number-leading-zero":`always`,"number-no-trailing-zeros":!0,"property-case":`lower`,"selector-attribute-brackets-space-inside":`never`,"selector-attribute-operator-space-after":`never`,"selector-attribute-operator-space-before":`never`,"selector-combinator-space-after":`always`,"selector-combinator-space-before":`always`,"selector-descendant-combinator-no-non-space":!0,"selector-list-comma-newline-after":`always`,"selector-list-comma-newline-before":`never-multi-line`,"selector-list-comma-space-after":`always-single-line`,"selector-list-comma-space-before":`never`,"selector-max-empty-lines":0,"selector-pseudo-class-case":`lower`,"selector-pseudo-class-parentheses-space-inside":`never`,"selector-pseudo-element-case":`lower`,"string-quotes":`double`,"unicode-bom":`never`,"unit-case":`lower`,"value-list-comma-newline-after":`always-multi-line`,"value-list-comma-newline-before":`never-multi-line`,"value-list-comma-space-after":`always-single-line`,"value-list-comma-space-before":`never`,"value-list-max-empty-lines":0,"value-slash-space-after":`always`,"value-slash-space-before":`always`};({...zU({rules:BU})}),zU({syntax:`scss`,rules:BU}),zU({syntax:`less`,rules:BU});let VU=[B,...Pm].flatMap(e=>Object.entries(PU).map(([n,r])=>t.createPlugin(Im(n,e.namespace),r(e))));Object.defineProperty(VU,"extends",{get(){let e=/* @__PURE__ */ Error(`"@stylistic/stylelint-plugin" is a plugin, not a shareable config, so it cannot be used in "extends". Use "@stylistic/stylelint-plugin/recommended" in "extends" for the recommended preset, or list the package in "plugins" and put the rules you need, each namespaced with "@stylistic/", in "rules".`);throw e.name=`ConfigurationError`,e.code=78,e}});var HU=new Uint16Array(`ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻\xA0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌`.split(``).map(e=>e.charCodeAt(0))),UU=new Uint16Array(`Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢`.split(``).map(e=>e.charCodeAt(0)));const WU=/* @__PURE__ */ new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),GU=String.fromCodePoint??function(e){let t=``;return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function KU(e){return e>=55296&&e<=57343||e>1114111?65533:WU.get(e)??e}var qU;(function(e){e[e.NUM=35]=`NUM`,e[e.SEMI=59]=`SEMI`,e[e.EQUALS=61]=`EQUALS`,e[e.ZERO=48]=`ZERO`,e[e.NINE=57]=`NINE`,e[e.LOWER_A=97]=`LOWER_A`,e[e.LOWER_F=102]=`LOWER_F`,e[e.LOWER_X=120]=`LOWER_X`,e[e.LOWER_Z=122]=`LOWER_Z`,e[e.UPPER_A=65]=`UPPER_A`,e[e.UPPER_F=70]=`UPPER_F`,e[e.UPPER_Z=90]=`UPPER_Z`})(qU||={});var JU;(function(e){e[e.VALUE_LENGTH=49152]=`VALUE_LENGTH`,e[e.BRANCH_LENGTH=16256]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`})(JU||={});function YU(e){return e>=qU.ZERO&&e<=qU.NINE}function XU(e){return e>=qU.UPPER_A&&e<=qU.UPPER_F||e>=qU.LOWER_A&&e<=qU.LOWER_F}function ZU(e){return e>=qU.UPPER_A&&e<=qU.UPPER_Z||e>=qU.LOWER_A&&e<=qU.LOWER_Z||YU(e)}function QU(e){return e===qU.EQUALS||ZU(e)}var $U;(function(e){e[e.EntityStart=0]=`EntityStart`,e[e.NumericStart=1]=`NumericStart`,e[e.NumericDecimal=2]=`NumericDecimal`,e[e.NumericHex=3]=`NumericHex`,e[e.NamedEntity=4]=`NamedEntity`})($U||={});var eW;(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(eW||={});var tW=class{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=$U.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=eW.Strict}startEntity(e){this.decodeMode=e,this.state=$U.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case $U.EntityStart:return e.charCodeAt(t)===qU.NUM?(this.state=$U.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=$U.NamedEntity,this.stateNamedEntity(e,t));case $U.NumericStart:return this.stateNumericStart(e,t);case $U.NumericDecimal:return this.stateNumericDecimal(e,t);case $U.NumericHex:return this.stateNumericHex(e,t);case $U.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|32)===qU.LOWER_X?(this.state=$U.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=$U.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){let i=n-t;this.result=this.result*r**+i+parseInt(e.substr(t,i),r),this.consumed+=i}}stateNumericHex(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(YU(r)||XU(r))t+=1;else return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(YU(r))t+=1;else return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return(n=this.errors)==null||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===qU.SEMI)this.consumed+=1;else if(this.decodeMode===eW.Strict)return 0;return this.emitCodePoint(KU(this.result),this.consumed),this.errors&&(e!==qU.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&JU.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let a=e.charCodeAt(t);if(this.treeIndex=rW(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===eW.Attribute&&(i===0||QU(a))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&JU.VALUE_LENGTH)>>14,i!==0){if(a===qU.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==eW.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&JU.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),(e=this.errors)==null||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(t===1?r[e]&~JU.VALUE_LENGTH:r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case $U.NamedEntity:return this.result!==0&&(this.decodeMode!==eW.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case $U.NumericDecimal:return this.emitNumericEntity(0,2);case $U.NumericHex:return this.emitNumericEntity(0,3);case $U.NumericStart:return(e=this.errors)==null||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case $U.EntityStart:return 0}}};function nW(e){let t=``,n=new tW(e,e=>t+=GU(e));return function(e,r){let i=0,a=0;for(;(a=e.indexOf(`&`,a))>=0;){t+=e.slice(i,a),n.startEntity(r);let o=n.write(e,a+1);if(o<0){i=a+n.end();break}i=a+o,a=o===0?i+1:i}let o=t+e.slice(i);return t=``,o}}function rW(e,t,n,r){let i=(t&JU.BRANCH_LENGTH)>>7,a=t&JU.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){let t=r-a;return t<0||t>=i?-1:e[n+t]-1}let o=n,s=o+i-1;for(;o<=s;){let t=o+s>>>1,n=e[t];if(n<r)o=t+1;else if(n>r)s=t-1;else return e[t+i]}return-1}nW(HU),nW(UU);var Q;(function(e){e[e.Tab=9]=`Tab`,e[e.NewLine=10]=`NewLine`,e[e.FormFeed=12]=`FormFeed`,e[e.CarriageReturn=13]=`CarriageReturn`,e[e.Space=32]=`Space`,e[e.ExclamationMark=33]=`ExclamationMark`,e[e.Number=35]=`Number`,e[e.Amp=38]=`Amp`,e[e.SingleQuote=39]=`SingleQuote`,e[e.DoubleQuote=34]=`DoubleQuote`,e[e.Dash=45]=`Dash`,e[e.Slash=47]=`Slash`,e[e.Zero=48]=`Zero`,e[e.Nine=57]=`Nine`,e[e.Semi=59]=`Semi`,e[e.Lt=60]=`Lt`,e[e.Eq=61]=`Eq`,e[e.Gt=62]=`Gt`,e[e.Questionmark=63]=`Questionmark`,e[e.UpperA=65]=`UpperA`,e[e.LowerA=97]=`LowerA`,e[e.UpperF=70]=`UpperF`,e[e.LowerF=102]=`LowerF`,e[e.UpperZ=90]=`UpperZ`,e[e.LowerZ=122]=`LowerZ`,e[e.LowerX=120]=`LowerX`,e[e.OpeningSquareBracket=91]=`OpeningSquareBracket`})(Q||={});var $;(function(e){e[e.Text=1]=`Text`,e[e.BeforeTagName=2]=`BeforeTagName`,e[e.InTagName=3]=`InTagName`,e[e.InSelfClosingTag=4]=`InSelfClosingTag`,e[e.BeforeClosingTagName=5]=`BeforeClosingTagName`,e[e.InClosingTagName=6]=`InClosingTagName`,e[e.AfterClosingTagName=7]=`AfterClosingTagName`,e[e.BeforeAttributeName=8]=`BeforeAttributeName`,e[e.InAttributeName=9]=`InAttributeName`,e[e.AfterAttributeName=10]=`AfterAttributeName`,e[e.BeforeAttributeValue=11]=`BeforeAttributeValue`,e[e.InAttributeValueDq=12]=`InAttributeValueDq`,e[e.InAttributeValueSq=13]=`InAttributeValueSq`,e[e.InAttributeValueNq=14]=`InAttributeValueNq`,e[e.BeforeDeclaration=15]=`BeforeDeclaration`,e[e.InDeclaration=16]=`InDeclaration`,e[e.InProcessingInstruction=17]=`InProcessingInstruction`,e[e.BeforeComment=18]=`BeforeComment`,e[e.CDATASequence=19]=`CDATASequence`,e[e.InSpecialComment=20]=`InSpecialComment`,e[e.InCommentLike=21]=`InCommentLike`,e[e.BeforeSpecialS=22]=`BeforeSpecialS`,e[e.BeforeSpecialT=23]=`BeforeSpecialT`,e[e.SpecialStartSequence=24]=`SpecialStartSequence`,e[e.InSpecialTag=25]=`InSpecialTag`,e[e.InEntity=26]=`InEntity`})($||={});function iW(e){return e===Q.Space||e===Q.NewLine||e===Q.Tab||e===Q.FormFeed||e===Q.CarriageReturn}function aW(e){return e===Q.Slash||e===Q.Gt||iW(e)}function oW(e){return e>=Q.LowerA&&e<=Q.LowerZ||e>=Q.UpperA&&e<=Q.UpperZ}var sW;(function(e){e[e.NoValue=0]=`NoValue`,e[e.Unquoted=1]=`Unquoted`,e[e.Single=2]=`Single`,e[e.Double=3]=`Double`})(sW||={});const cW={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};var lW=class{constructor({xmlMode:e=!1,decodeEntities:t=!0},n){this.cbs=n,this.state=$.Text,this.buffer=``,this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=$.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=e,this.decodeEntities=t,this.entityDecoder=new tW(e?UU:HU,(e,t)=>this.emitCodePoint(e,t))}reset(){this.state=$.Text,this.buffer=``,this.sectionStart=0,this.index=0,this.baseState=$.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(e){e===Q.Lt||!this.decodeEntities&&this.fastForwardTo(Q.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=$.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===Q.Amp&&this.startEntity()}stateSpecialStartSequence(e){let t=this.sequenceIndex===this.currentSequence.length;if(!(t?aW(e):(e|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!t){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=$.InTagName,this.stateInTagName(e)}stateInSpecialTag(e){if(this.sequenceIndex===this.currentSequence.length){if(e===Q.Gt||iW(e)){let t=this.index-this.currentSequence.length;if(this.sectionStart<t){let e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}this.isSpecial=!1,this.sectionStart=t+2,this.stateInClosingTagName(e);return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===cW.TitleEnd?this.decodeEntities&&e===Q.Amp&&this.startEntity():this.fastForwardTo(Q.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===Q.Lt)}stateCDATASequence(e){e===cW.Cdata[this.sequenceIndex]?++this.sequenceIndex===cW.Cdata.length&&(this.state=$.InCommentLike,this.currentSequence=cW.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=$.InDeclaration,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===cW.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=$.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(e){return this.xmlMode?!aW(e):oW(e)}startSpecial(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=$.SpecialStartSequence}stateBeforeTagName(e){if(e===Q.ExclamationMark)this.state=$.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===Q.Questionmark)this.state=$.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){let t=e|32;this.sectionStart=this.index,this.state=this.xmlMode?$.InTagName:t===cW.ScriptEnd[2]?$.BeforeSpecialS:t===cW.TitleEnd[2]?$.BeforeSpecialT:$.InTagName}else e===Q.Slash?this.state=$.BeforeClosingTagName:(this.state=$.Text,this.stateText(e))}stateInTagName(e){aW(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=$.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateBeforeClosingTagName(e){iW(e)||(e===Q.Gt?this.state=$.Text:(this.state=this.isTagStartChar(e)?$.InClosingTagName:$.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(e){(e===Q.Gt||iW(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=$.AfterClosingTagName,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){(e===Q.Gt||this.fastForwardTo(Q.Gt))&&(this.state=$.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(e){e===Q.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=$.InSpecialTag,this.sequenceIndex=0):this.state=$.Text,this.sectionStart=this.index+1):e===Q.Slash?this.state=$.InSelfClosingTag:iW(e)||(this.state=$.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(e){e===Q.Gt?(this.cbs.onselfclosingtag(this.index),this.state=$.Text,this.sectionStart=this.index+1,this.isSpecial=!1):iW(e)||(this.state=$.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateInAttributeName(e){(e===Q.Eq||aW(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=$.AfterAttributeName,this.stateAfterAttributeName(e))}stateAfterAttributeName(e){e===Q.Eq?this.state=$.BeforeAttributeValue:e===Q.Slash||e===Q.Gt?(this.cbs.onattribend(sW.NoValue,this.sectionStart),this.sectionStart=-1,this.state=$.BeforeAttributeName,this.stateBeforeAttributeName(e)):iW(e)||(this.cbs.onattribend(sW.NoValue,this.sectionStart),this.state=$.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(e){e===Q.DoubleQuote?(this.state=$.InAttributeValueDq,this.sectionStart=this.index+1):e===Q.SingleQuote?(this.state=$.InAttributeValueSq,this.sectionStart=this.index+1):iW(e)||(this.sectionStart=this.index,this.state=$.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))}handleInAttributeValue(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===Q.DoubleQuote?sW.Double:sW.Single,this.index+1),this.state=$.BeforeAttributeName):this.decodeEntities&&e===Q.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(e){this.handleInAttributeValue(e,Q.DoubleQuote)}stateInAttributeValueSingleQuotes(e){this.handleInAttributeValue(e,Q.SingleQuote)}stateInAttributeValueNoQuotes(e){iW(e)||e===Q.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(sW.Unquoted,this.index),this.state=$.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===Q.Amp&&this.startEntity()}stateBeforeDeclaration(e){e===Q.OpeningSquareBracket?(this.state=$.CDATASequence,this.sequenceIndex=0):this.state=e===Q.Dash?$.BeforeComment:$.InDeclaration}stateInDeclaration(e){(e===Q.Gt||this.fastForwardTo(Q.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=$.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(e===Q.Gt||this.fastForwardTo(Q.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=$.Text,this.sectionStart=this.index+1)}stateBeforeComment(e){e===Q.Dash?(this.state=$.InCommentLike,this.currentSequence=cW.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=$.InDeclaration}stateInSpecialComment(e){(e===Q.Gt||this.fastForwardTo(Q.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=$.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){let t=e|32;t===cW.ScriptEnd[3]?this.startSpecial(cW.ScriptEnd,4):t===cW.StyleEnd[3]?this.startSpecial(cW.StyleEnd,4):(this.state=$.InTagName,this.stateInTagName(e))}stateBeforeSpecialT(e){let t=e|32;t===cW.TitleEnd[3]?this.startSpecial(cW.TitleEnd,4):t===cW.TextareaEnd[3]?this.startSpecial(cW.TextareaEnd,4):(this.state=$.InTagName,this.stateInTagName(e))}startEntity(){this.baseState=this.state,this.state=$.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?eW.Strict:this.baseState===$.Text||this.baseState===$.InSpecialTag?eW.Legacy:eW.Attribute)}stateInEntity(){let e=this.entityDecoder.write(this.buffer,this.index-this.offset);e>=0?(this.state=this.baseState,e===0&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===$.Text||this.state===$.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===$.InAttributeValueDq||this.state===$.InAttributeValueSq||this.state===$.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){let e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case $.Text:this.stateText(e);break;case $.SpecialStartSequence:this.stateSpecialStartSequence(e);break;case $.InSpecialTag:this.stateInSpecialTag(e);break;case $.CDATASequence:this.stateCDATASequence(e);break;case $.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(e);break;case $.InAttributeName:this.stateInAttributeName(e);break;case $.InCommentLike:this.stateInCommentLike(e);break;case $.InSpecialComment:this.stateInSpecialComment(e);break;case $.BeforeAttributeName:this.stateBeforeAttributeName(e);break;case $.InTagName:this.stateInTagName(e);break;case $.InClosingTagName:this.stateInClosingTagName(e);break;case $.BeforeTagName:this.stateBeforeTagName(e);break;case $.AfterAttributeName:this.stateAfterAttributeName(e);break;case $.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(e);break;case $.BeforeAttributeValue:this.stateBeforeAttributeValue(e);break;case $.BeforeClosingTagName:this.stateBeforeClosingTagName(e);break;case $.AfterClosingTagName:this.stateAfterClosingTagName(e);break;case $.BeforeSpecialS:this.stateBeforeSpecialS(e);break;case $.BeforeSpecialT:this.stateBeforeSpecialT(e);break;case $.InAttributeValueNq:this.stateInAttributeValueNoQuotes(e);break;case $.InSelfClosingTag:this.stateInSelfClosingTag(e);break;case $.InDeclaration:this.stateInDeclaration(e);break;case $.BeforeDeclaration:this.stateBeforeDeclaration(e);break;case $.BeforeComment:this.stateBeforeComment(e);break;case $.InProcessingInstruction:this.stateInProcessingInstruction(e);break;case $.InEntity:this.stateInEntity()}this.index++}this.cleanup()}finish(){this.state===$.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){let e=this.buffer.length+this.offset;this.sectionStart>=e||(this.state===$.InCommentLike?this.currentSequence===cW.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===$.InTagName||this.state===$.BeforeAttributeName||this.state===$.BeforeAttributeValue||this.state===$.AfterAttributeName||this.state===$.InAttributeName||this.state===$.InAttributeValueSq||this.state===$.InAttributeValueDq||this.state===$.InAttributeValueNq||this.state===$.InClosingTagName||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){this.baseState!==$.Text&&this.baseState!==$.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.onattribentity(e)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.ontextentity(e,this.sectionStart))}};const uW=/* @__PURE__ */ new Set([`input`,`option`,`optgroup`,`select`,`button`,`datalist`,`textarea`]),dW=/* @__PURE__ */ new Set([`p`]),fW=/* @__PURE__ */ new Set([`thead`,`tbody`]),pW=/* @__PURE__ */ new Set([`dd`,`dt`]),mW=/* @__PURE__ */ new Set([`rt`,`rp`]),hW=/* @__PURE__ */ new Map([[`tr`,/* @__PURE__ */ new Set([`tr`,`th`,`td`])],[`th`,/* @__PURE__ */ new Set([`th`])],[`td`,/* @__PURE__ */ new Set([`thead`,`th`,`td`])],[`body`,/* @__PURE__ */ new Set([`head`,`link`,`script`])],[`li`,/* @__PURE__ */ new Set([`li`])],[`p`,dW],[`h1`,dW],[`h2`,dW],[`h3`,dW],[`h4`,dW],[`h5`,dW],[`h6`,dW],[`select`,uW],[`input`,uW],[`output`,uW],[`button`,uW],[`datalist`,uW],[`textarea`,uW],[`option`,/* @__PURE__ */ new Set([`option`])],[`optgroup`,/* @__PURE__ */ new Set([`optgroup`,`option`])],[`dd`,pW],[`dt`,pW],[`address`,dW],[`article`,dW],[`aside`,dW],[`blockquote`,dW],[`details`,dW],[`div`,dW],[`dl`,dW],[`fieldset`,dW],[`figcaption`,dW],[`figure`,dW],[`footer`,dW],[`form`,dW],[`header`,dW],[`hr`,dW],[`main`,dW],[`nav`,dW],[`ol`,dW],[`pre`,dW],[`section`,dW],[`table`,dW],[`ul`,dW],[`rt`,mW],[`rp`,mW],[`tbody`,fW],[`tfoot`,fW]]),gW=/* @__PURE__ */ new Set([`area`,`base`,`basefont`,`br`,`col`,`command`,`embed`,`frame`,`hr`,`img`,`input`,`isindex`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`]),_W=/* @__PURE__ */ new Set([`math`,`svg`]),vW=/* @__PURE__ */ new Set([`mi`,`mo`,`mn`,`ms`,`mtext`,`annotation-xml`,`foreignobject`,`desc`,`title`]),yW=/\s|\//;var bW=class{constructor(e,t={}){var n,r;this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname=``,this.attribname=``,this.attribvalue=``,this.attribs=null,this.stack=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=e??{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=t.lowerCaseTags??this.htmlMode,this.lowerCaseAttributeNames=t.lowerCaseAttributeNames??this.htmlMode,this.recognizeSelfClosing=t.recognizeSelfClosing??!this.htmlMode,this.tokenizer=new(t.Tokenizer??lW)(this.options,this),this.foreignContext=[!this.htmlMode],(r=(n=this.cbs).onparserinit)==null||r.call(n,this)}ontext(e,t){var n,r;let i=this.getSlice(e,t);this.endIndex=t-1,(r=(n=this.cbs).ontext)==null||r.call(n,i),this.startIndex=t}ontextentity(e,t){var n,r;this.endIndex=t-1,(r=(n=this.cbs).ontext)==null||r.call(n,GU(e)),this.startIndex=t}isVoidElement(e){return this.htmlMode&&gW.has(e)}onopentagname(e,t){this.endIndex=t;let n=this.getSlice(e,t);this.lowerCaseTagNames&&(n=n.toLowerCase()),this.emitOpenTag(n)}emitOpenTag(e){var t,n,r,i;this.openTagStart=this.startIndex,this.tagname=e;let a=this.htmlMode&&hW.get(e);if(a)for(;this.stack.length>0&&a.has(this.stack[0]);){let e=this.stack.shift();(n=(t=this.cbs).onclosetag)==null||n.call(t,e,!0)}this.isVoidElement(e)||(this.stack.unshift(e),this.htmlMode&&(_W.has(e)?this.foreignContext.unshift(!0):vW.has(e)&&this.foreignContext.unshift(!1))),(i=(r=this.cbs).onopentagname)==null||i.call(r,e),this.cbs.onopentag&&(this.attribs={})}endOpenTag(e){var t,n;this.startIndex=this.openTagStart,this.attribs&&=((n=(t=this.cbs).onopentag)==null||n.call(t,this.tagname,this.attribs,e),null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=``}onopentagend(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1}onclosetag(e,t){var n,r,i,a,o,s,c,l;this.endIndex=t;let u=this.getSlice(e,t);if(this.lowerCaseTagNames&&(u=u.toLowerCase()),this.htmlMode&&(_W.has(u)||vW.has(u))&&this.foreignContext.shift(),this.isVoidElement(u))this.htmlMode&&u===`br`&&((a=(i=this.cbs).onopentagname)==null||a.call(i,`br`),(s=(o=this.cbs).onopentag)==null||s.call(o,`br`,{},!0),(l=(c=this.cbs).onclosetag)==null||l.call(c,`br`,!1));else{let e=this.stack.indexOf(u);if(e!==-1)for(let t=0;t<=e;t++){let i=this.stack.shift();(r=(n=this.cbs).onclosetag)==null||r.call(n,i,t!==e)}else this.htmlMode&&u===`p`&&(this.emitOpenTag(`p`),this.closeCurrentTag(!0))}this.startIndex=t+1}onselfclosingtag(e){this.endIndex=e,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)}closeCurrentTag(e){var t,n;let r=this.tagname;this.endOpenTag(e),this.stack[0]===r&&((n=(t=this.cbs).onclosetag)==null||n.call(t,r,!e),this.stack.shift())}onattribname(e,t){this.startIndex=e;let n=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n}onattribdata(e,t){this.attribvalue+=this.getSlice(e,t)}onattribentity(e){this.attribvalue+=GU(e)}onattribend(e,t){var n,r;this.endIndex=t,(r=(n=this.cbs).onattribute)==null||r.call(n,this.attribname,this.attribvalue,e===sW.Double?`"`:e===sW.Single?`'`:e===sW.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=``}getInstructionName(e){let t=e.search(yW),n=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n}ondeclaration(e,t){this.endIndex=t;let n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){let e=this.getInstructionName(n);this.cbs.onprocessinginstruction(`!${e}`,`!${n}`)}this.startIndex=t+1}onprocessinginstruction(e,t){this.endIndex=t;let n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){let e=this.getInstructionName(n);this.cbs.onprocessinginstruction(`?${e}`,`?${n}`)}this.startIndex=t+1}oncomment(e,t,n){var r,i,a,o;this.endIndex=t,(i=(r=this.cbs).oncomment)==null||i.call(r,this.getSlice(e,t-n)),(o=(a=this.cbs).oncommentend)==null||o.call(a),this.startIndex=t+1}oncdata(e,t,n){var r,i,a,o,s,c,l,u,d,f;this.endIndex=t;let p=this.getSlice(e,t-n);!this.htmlMode||this.options.recognizeCDATA?((i=(r=this.cbs).oncdatastart)==null||i.call(r),(o=(a=this.cbs).ontext)==null||o.call(a,p),(c=(s=this.cbs).oncdataend)==null||c.call(s)):((u=(l=this.cbs).oncomment)==null||u.call(l,`[CDATA[${p}]]`),(f=(d=this.cbs).oncommentend)==null||f.call(d)),this.startIndex=t+1}onend(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let e=0;e<this.stack.length;e++)this.cbs.onclosetag(this.stack[e],!0)}(t=(e=this.cbs).onend)==null||t.call(e)}reset(){var e,t,n,r;(t=(e=this.cbs).onreset)==null||t.call(e),this.tokenizer.reset(),this.tagname=``,this.attribname=``,this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(r=(n=this.cbs).onparserinit)==null||r.call(n,this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(!this.htmlMode),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(e){this.reset(),this.end(e)}getSlice(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let n=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);for(;t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,t-this.bufferOffset);return n}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(e){var t,n;this.ended?(n=(t=this.cbs).onerror)==null||n.call(t,/* @__PURE__ */ Error(`.write() after done!`)):(this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++))}end(e){var t,n;this.ended?(n=(t=this.cbs).onerror)==null||n.call(t,/* @__PURE__ */ Error(`.end() after done!`)):(e&&this.write(e),this.ended=!0,this.tokenizer.end())}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(e){this.write(e)}done(e){this.end(e)}},xW=/* @__PURE__ */ p(((e,t)=>{let n=Ol(),r=Ql(),i=xl();t.exports=class extends r{checkMissedSemicolon(){}comment(e){let t=new n;this.init(t,e[2]);let r=this.input.fromOffset(e[3])||this.input.fromOffset(this.input.css.length-1);t.source.end={column:r.col,line:r.line,offset:e[3]+1};let i=e[1].slice(2);if(i.slice(-2)===`*/`&&(i=i.slice(0,-2)),/^\s*$/.test(i))t.text=``,t.raws.left=i,t.raws.right=``;else{let e=i.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}createTokenizer(){this.tokenizer=i(this.input,{ignoreErrors:!0})}decl(e){e.length>1&&e.some(e=>e[0]===`word`)&&super.decl(e)}doubleColon(){}endFile(){for(this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||``)+this.spaces;this.current.parent;)this.current=this.current.parent,this.current.raws.after=``;this.root.source.end=this.getPosition(this.tokenizer.position())}precheckMissedSemicolon(e){let t=this.colon(e);if(t===!1)return;let n,r;for(n=t-1;n>=0&&e[n][0]!==`word`;n--);if(n<=0)return;for(r=n-1;r>=0;r--)if(e[r][0]!==`space`){r+=1;break}let i=e.slice(n),a=e.slice(r,n);e.splice(r,e.length-r),this.spaces=a.map(e=>e[1]).join(``),this.decl(i)}unclosedBracket(){}unexpectedClose(){this.current.raws.after+=`}`}unknownWord(e){this.spaces+=e.map(e=>e[1]).join(``)}unnamedAtrule(e){e.name=``}}})),SW=/* @__PURE__ */ p(((e,t)=>{let{Input:n}=ou(),r=xW();t.exports=function(e,t){let i=new n(e,t),a=new r(i);return a.parse(),a.root}})),CW=/* @__PURE__ */ h($l(),1),wW=/* @__PURE__ */ h(Tl(),1),TW=/* @__PURE__ */ h(SW(),1);const EW={parse:CW.default,stringify:wW.default},DW={parse:TW.default,stringify:wW.default};function OW(t){try{let n=process.cwd(),r=o.join(n,`__placeholder__.js`),i=e(r)(t);return i&&i[Symbol.toStringTag]===`Module`&&i.default?i.default:i}catch(e){if(!kW(e))throw e}return null}function kW(e){return e&&typeof e==`object`&&(e.code===`MODULE_NOT_FOUND`||e.code===`ERR_MODULE_NOT_FOUND`)}const AW=[{test:/^sass$/i,lang:`sass`},{test:/^scss$/i,lang:`scss`},{test:/^less$/i,lang:`less`},{test:/^s(?:ugar)?ss$/i,lang:`sugarss`},{test:/^styl(?:us)?$/i,lang:`stylus`},{test:/^postcss$/i,lang:`css`}],jW={sass:`postcss-sass`,scss:`postcss-scss`,less:`postcss-less`,sugarss:`sugarss`,stylus:`postcss-styl`};function MW(e){let{rules:t=[],...n}=e||{},r=[...t,...AW],i=/* @__PURE__ */ new Set([`css`,...t.map(e=>e.lang),...Object.keys(n)]);return function(e,t){let a=e||`css`,s=t||{},c=process.cwd(),l=o.join(c,`__placeholder__.${a}`);for(let e of r){let t=new RegExp(e.test);if(t.test(a)||t.test(l)){a=e.lang;break}}a=a.toLowerCase();let u=n[a]||jW[a];if(u){if(typeof u==`string`){let e=FW(u,s);if(e)return e;if(i.has(a))throw Error(`Cannot resolve module "${u}". It's likely that the module isn't installed correctly. Try reinstalling by running the \`npm install ${u}@latest --save-dev\``)}if(u===TW.default)return DW;if(typeof u.parse==`function`)return u}return i.has(a)?s.defaultSyntax||EW:null}}const NW=e(import.meta.url),PW={"postcss-sass":()=>NW(`postcss-sass`),"postcss-scss":()=>NW(`postcss-scss`),"postcss-less":()=>NW(`postcss-less`),sugarss:()=>NW(`sugarss`),"postcss-styl":()=>NW(`postcss-styl`)};function FW(e,t){if(e===`postcss`)return t.defaultSyntax||EW;if(e===`postcss-safe-parser`)return DW;let n=OW(e);if(n)return n;
|
|
87
|
+
/* c8 ignore start -- fallback for syntaxes not resolvable from cwd */
|
|
88
|
+
if(PW[e])try{return PW[e]()}catch(e){if(!kW(e))throw e}
|
|
89
|
+
/* c8 ignore stop */
|
|
90
|
+
return null}var IW=/* @__PURE__ */ h(Kl(),1),LW=/* @__PURE__ */ h(Ql(),1);function RW(...e){let t=(0,fu.default)(...e);function n(...e){let n=[],r,i,a=0;for(;(r=t.nextToken.apply(t,e))&&(r[0]!==`word`&&(r[0]===`{`?++a:r[0]===`}`&&--a),(a||n.length)&&(i=r[3]||r[2]||i,n.push(r)),a););return n.length&&(r=[`word`,n.map(e=>e[1]).join(``),n[0][2],i]),r}return Object.assign({},t,{nextToken:n})}var zW=class extends LW.default{createTokenizer(){this.tokenizer=RW(this.input)}},BW=/* @__PURE__ */ h(xW(),1),VW=class extends BW.default{createTokenizer(){this.tokenizer=RW(this.input,{ignoreErrors:!0})}};function HW(e,t,n){let r=new n(new IW.default(e,t));return r.parse(),r.root}function UW(e){return{parse(t,n){return HW(t,n,e.parse===CW.default?zW:VW)},stringify(...t){return e.stringify(...t)}}}var WW=/* @__PURE__ */ h((/* @__PURE__ */ p(((e,t)=>{var n,r,i,a,o,s,c,l,u,d,f,p,m,h=/\/(?![*\/])(?:\[(?:[^\]\\\n\r\u2028\u2029]+|\\.)*\]?|[^\/[\\\n\r\u2028\u2029]+|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/uy,g,_,v,y,b,x;m=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y,r=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]+|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/uy,_=/(['"])(?:[^'"\\\n\r]+|(?!\1)['"]|\\(?:\r\n|[^]))*(\1)?/y,p=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y,v=/[`}](?:[^`\\$]+|\\[^]|\$(?!\{))*(`|\$\{)?/y,x=/[\t\v\f\ufeff\p{Zs}]+/uy,u=/\r?\n|[\r\u2028\u2029]/y,d=/\/\*(?:[^*]+|\*(?!\/))*(\*\/)?/y,g=/\/\/.*/y,n=/^#!.*/,a=/[<>.:={}]|\/(?![\/*])/y,i=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/uy,o=/(['"])(?:[^'"]+|(?!\1)['"])*(\1)?/y,s=/[^<>{}]+/y,b=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,y=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/,c=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,l=/^(?:return|throw|yield)$/,f=RegExp(u.source),t.exports=function*(e,{jsx:t=!1}={}){var S,C,w,T,E,ee,D,te,ne,re,ie,O,ae,oe;for({length:ee}=e,T=0,E=``,oe=[{tag:`JS`}],S=[],ie=0,O=!1,(D=n.exec(e))&&(yield{type:`HashbangComment`,value:D[0]},T=D[0].length);T<ee;){switch(te=oe[oe.length-1],te.tag){case`JS`:case`JSNonExpressionParen`:case`InterpolationInTemplate`:case`InterpolationInJSX`:if(e[T]===`/`&&(b.test(E)||c.test(E))&&(h.lastIndex=T,D=h.exec(e))){T=h.lastIndex,E=D[0],O=!0,yield{type:`RegularExpressionLiteral`,value:D[0],closed:D[1]!==void 0&&D[1]!==`\\`};continue}if(m.lastIndex=T,D=m.exec(e)){switch(ae=D[0],ne=m.lastIndex,re=ae,ae){case`(`:E===`?NonExpressionParenKeyword`&&oe.push({tag:`JSNonExpressionParen`,nesting:ie}),ie++,O=!1;break;case`)`:ie--,O=!0,te.tag===`JSNonExpressionParen`&&ie===te.nesting&&(oe.pop(),re=`?NonExpressionParenEnd`,O=!1);break;case`{`:m.lastIndex=0,w=!y.test(E)&&(b.test(E)||c.test(E)),S.push(w),O=!1;break;case`}`:switch(te.tag){case`InterpolationInTemplate`:if(S.length===te.nesting){v.lastIndex=T,D=v.exec(e),T=v.lastIndex,E=D[0],D[1]==="${"?(E=`?InterpolationInTemplate`,O=!1,yield{type:`TemplateMiddle`,value:D[0]}):(oe.pop(),O=!0,yield{type:`TemplateTail`,value:D[0],closed:D[1]==="`"});continue}break;case`InterpolationInJSX`:if(S.length===te.nesting){oe.pop(),T+=1,E=`}`,yield{type:`JSXPunctuator`,value:`}`};continue}}O=S.pop(),re=O?`?ExpressionBraceEnd`:`}`;break;case`]`:O=!0;break;case`++`:case`--`:re=O?`?PostfixIncDec`:`?UnaryIncDec`;break;case`<`:if(t&&(b.test(E)||c.test(E))){oe.push({tag:`JSXTag`}),T+=1,E=`<`,yield{type:`JSXPunctuator`,value:ae};continue}O=!1;break;default:O=!1}T=ne,E=re,yield{type:`Punctuator`,value:ae};continue}if(r.lastIndex=T,D=r.exec(e)){switch(T=r.lastIndex,re=D[0],D[0]){case`for`:case`if`:case`while`:case`with`:E!==`.`&&E!==`?.`&&(re=`?NonExpressionParenKeyword`)}E=re,O=!c.test(D[0]),yield{type:D[1]===`#`?`PrivateIdentifier`:`IdentifierName`,value:D[0]};continue}if(_.lastIndex=T,D=_.exec(e)){T=_.lastIndex,E=D[0],O=!0,yield{type:`StringLiteral`,value:D[0],closed:D[2]!==void 0};continue}if(p.lastIndex=T,D=p.exec(e)){T=p.lastIndex,E=D[0],O=!0,yield{type:`NumericLiteral`,value:D[0]};continue}if(v.lastIndex=T,D=v.exec(e)){T=v.lastIndex,E=D[0],D[1]==="${"?(E=`?InterpolationInTemplate`,oe.push({tag:`InterpolationInTemplate`,nesting:S.length}),O=!1,yield{type:`TemplateHead`,value:D[0]}):(O=!0,yield{type:`NoSubstitutionTemplate`,value:D[0],closed:D[1]==="`"});continue}break;case`JSXTag`:case`JSXTagEnd`:if(a.lastIndex=T,D=a.exec(e)){switch(T=a.lastIndex,re=D[0],D[0]){case`<`:oe.push({tag:`JSXTag`});break;case`>`:oe.pop(),E===`/`||te.tag===`JSXTagEnd`?(re=`?JSX`,O=!0):oe.push({tag:`JSXChildren`});break;case`{`:oe.push({tag:`InterpolationInJSX`,nesting:S.length}),re=`?InterpolationInJSX`,O=!1;break;case`/`:E===`<`&&(oe.pop(),oe[oe.length-1].tag===`JSXChildren`&&oe.pop(),oe.push({tag:`JSXTagEnd`}))}E=re,yield{type:`JSXPunctuator`,value:D[0]};continue}if(i.lastIndex=T,D=i.exec(e)){T=i.lastIndex,E=D[0],yield{type:`JSXIdentifier`,value:D[0]};continue}if(o.lastIndex=T,D=o.exec(e)){T=o.lastIndex,E=D[0],yield{type:`JSXString`,value:D[0],closed:D[2]!==void 0};continue}break;case`JSXChildren`:if(s.lastIndex=T,D=s.exec(e)){T=s.lastIndex,E=D[0],yield{type:`JSXText`,value:D[0]};continue}switch(e[T]){case`<`:oe.push({tag:`JSXTag`}),T++,E=`<`,yield{type:`JSXPunctuator`,value:`<`};continue;case`{`:oe.push({tag:`InterpolationInJSX`,nesting:S.length}),T++,E=`?InterpolationInJSX`,O=!1,yield{type:`JSXPunctuator`,value:`{`};continue}}x.lastIndex=T,(D=x.exec(e))?(T=x.lastIndex,yield{type:`WhiteSpace`,value:D[0]}):(u.lastIndex=T,(D=u.exec(e))?(T=u.lastIndex,O=!1,l.test(E)&&(E=`?NoLineTerminatorHere`),yield{type:`LineTerminatorSequence`,value:D[0]}):(d.lastIndex=T,(D=d.exec(e))?(T=d.lastIndex,f.test(D[0])&&(O=!1,l.test(E)&&(E=`?NoLineTerminatorHere`)),yield{type:`MultiLineComment`,value:D[0],closed:D[1]!==void 0}):(g.lastIndex=T,(D=g.exec(e))?(T=g.lastIndex,O=!1,yield{type:`SingleLineComment`,value:D[0]}):(C=String.fromCodePoint(e.codePointAt(T)),T+=C.length,E=C,O=!1,yield{type:te.tag.startsWith(`JSX`)?`JSXInvalid`:`Invalid`,value:C}))))}}})))(),1),GW=class extends lW{stateBeforeAttributeValue(e){if(e===123){let e=this.index,t=KW(this.buffer,e+1);if(t!=null){this.sectionStart=e,this.index=t+1,this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=8,this.stateBeforeAttributeName(this.buffer.charCodeAt(this.index));return}}super.stateBeforeAttributeValue(e)}};function KW(e,t){let n=t,r=0;for(let i of(0,WW.default)(e.slice(t))){if(i.value===`}`){if(r===0)return n;r--}else i.value===`{`&&r++;n+=i.value.length}return null}var qW=class extends GW{constructor(...e){super(...e),this._hasFrontmatter=!1}parse(){super.parse()}stateText(e){if(!this._hasFrontmatter){if(e===45){let e=this.index-this.offset;if(e===0&&this.buffer.slice(e,e+3)===`---`){let t=this.buffer.indexOf(`
|
|
108
91
|
---`,e+3);if(t>=0){this.index=t+3,this._hasFrontmatter=!0;return}}}if(e===10){let e=this.index-this.offset;if(this.buffer.slice(e,e+4)===`
|
|
109
92
|
---`){let t=this.buffer.indexOf(`
|
|
110
|
-
---`,e+4);if(t>=0){this.index=t+3,this._hasFrontmatter=!0;return}}}}super.stateText(e)}}})),eT=/* @__PURE__ */ p(((e,t)=>{let n=Vw(),r=Kw(),i=Xw(),a=Qw(),o=$w(),{cssSafeSyntax:s}=Ww();function c(e,{onStyleTag:t,onStyleAttribute:r,svelte:i,astro:s}){let c={},l,u,d,f=new n.Parser({oncomment:e=>{u=!1;let t=/(?:^|\s+)postcss-(\w+)(?:\s+|$)/i.exec(e);if(!t)return;let n=t[1].toLowerCase();n===`enable`?l=!1:n===`disable`?l=!0:n===`ignore`&&(u=!0)},onopentag(e,t){c[e]=!0;let n=u;u=!1,!n&&/^style$/i.test(e)&&(d={inXsls:c[`xsl:stylesheet`],inXslt:c[`xsl:template`],inHtml:c.html,tagName:e,attribute:t,startIndex:f.endIndex+1})},onclosetag(n){if(c[n]=!1,u=!1,l||!d||n!==d.tagName)return;let r=e.slice(d.startIndex,f.startIndex),i=/^[\t ]*\r?\n/.exec(r);if(i){let e=i[0].length;d.startIndex+=e,r=r.slice(e)}d.content=r.replace(/[\t ]*$/,``),t(d),d=null},onattribute(t,n){if(l||u||t!==`style`)return;let i=f.endIndex,a=i-n.length;e[a-1]===e[i]&&/\S/.test(e[i])&&r({content:n,startIndex:a,inline:!0,inTemplate:c.template})}},{Tokenizer:i?a:s?o:void 0});f.parseComplete(e)}function l(e,t){let n=e&&t.exec(e);if(n)return n[1].toLowerCase()}function u(e){return l(e.type,/^\w+\/(?:x-)?(\w+)$/i)||l(e.lang,/^(\w+)(?:\?.+)?$/)||`css`}function d(e,t){let n=[],a=r(t.config),o=t.from&&/\.(?:\w*html?|xht|xslt?|jsp|aspx?|ejs|php\d*|twig|liquid|m(?:ark)?d(?:ow)?n|mk?d)$/i.test(t.from),l=t.from&&/\.svelte$/i.test(t.from),d=t.from&&/\.astro$/i.test(t.from);function f(e){(e.inHtml||e.inXsls||e.inXslt||o||!e.attribute.src&&!e.attribute.href||e.content.trim())&&(e.lang=u(e.attribute),e.syntax=a(e.lang),e.syntax&&n.push(e))}function p(e){/\{[\s\S]*?\}/.test(e.content)?(e.syntax=i(a(`css`,{defaultSyntax:l?s:void 0})),e.lang=`custom-template`):(e.syntax=a(),e.lang=`css`),n.push(e)}return c(e,{onStyleTag:f,onStyleAttribute:p,svelte:l,astro:d}),n}t.exports=d})),tT=/* @__PURE__ */ p(((e,t)=>{let n=wo(),r=nT();t.exports=i;function i(e,t){if(e instanceof r)e.nodes.length?e.nodes.forEach(e=>{t(e.raws.codeBefore,e,`codeBefore`),e.source.syntax?e.source.syntax.stringify(e,t):n(e,t),t(e.raws.codeAfter||``,e,`codeAfter`)}):t(e.source.input.css);else{let r=e.source.syntax||e.root().source.syntax;r&&r.stringify?r.stringify(e,t):n(e,t)}}})),nT=/* @__PURE__ */ p(((e,t)=>{let{Document:n}=as();t.exports=class extends n{toString(e){return super.toString(e||{stringify:tT()})}each(e){let t=this.nodes.map(t=>t.each(e));return t.every(e=>e!==!1)&&t.pop()}append(...e){return this.last.append.apply(this.last,e),this}prepend(...e){return this.first.prepend.apply(this.first,e),this}insertBefore(e,t){return e.prepend(t),this}insertAfter(e,t){return e.append(t),this}}})),rT=/* @__PURE__ */ p(((e,t)=>{let n=Go(),r=nT(),i=/\r?\n|\r/g;var a=class{constructor(e){let t,n=[];for(i.lastIndex=0;t=i.exec(e);)n.push(t.index);n.push(e.length),this.lines=n,this.source=e}getOffsetFromLoc(e){let t=e.line-2;return(t>=0?this.lines[t]:-1)+e.column}getLocFromOffset(e){let t=this.lines;for(let n=0;n<t.length;n++)if(t[n]>=e){let t=this.lines[n-1];return{line:n+1,column:e-(t??-1)}}let n=this.lines[this.lines.length-2];return{line:t.length,column:e-(n??-1)}}},o=class{constructor(e,t){let{line:n,column:r}=e.getLocFromOffset(t.startIndex);this.line=n-1,this.column=r-1,this.style=t,this.source=e.source}fixLocation(e){e&&(e.line===1&&(e.column+=this.column),e.line+=this.line,typeof e.offset==`number`&&(e.offset+=this.style.startIndex),typeof e.endLine==`number`&&(e.endLine===1&&(e.endColumn+=this.column),e.endLine+=this.line))}node(e){this.fixLocation(e.source.start),this.fixLocation(e.source.end)}root(e){this.node(e),e.walk(e=>{this.node(e)})}error(e){return e&&e.name===`CssSyntaxError`&&(this.fixLocation(e),this.fixLocation(e.input),e.message=e.message.replace(/:\d+:\d+:/,`:${e.line}:${e.column}:`)),e}parse(e){let t=this.style,n=t.syntax,r;try{r=n.parse(t.content,Object.assign({},e,{document:this.source,map:!1},t.opts))}catch(e){throw this.error(e),e}return this.root(r),r.source.inline=!!t.inline,r.source.lang=t.lang,r.source.syntax=n,l(r,n),r}};function s(e,t){let n=new a(e);return function(e){return new o(n,e).parse(t)}}function c(e,t,i){let a=new r,o=0;if(i.length){let n=s(e,t);i.sort((e,t)=>e.startIndex-t.startIndex).forEach(t=>{let r=n(t);if(r){r.raws.codeBefore=e.slice(o,t.startIndex);try{Object.defineProperty(r.raws,"beforeStart",{configurable:!0,get(){return r.raws.codeBefore},set(e){r.raws.codeBefore=e}})}catch{}o=t.startIndex+(t.content||r.source.input.css).length,r.document=a,a.nodes.push(r)}})}let c=a.nodes[a.nodes.length-1];return c&&(c.raws.codeAfter=o?e.slice(o):e),a.source={input:new n(e,t),start:{line:1,column:1},opts:t},a}t.exports=c;function l(e,t){let n=e.toString;try{Object.defineProperty(e,"toString",{configurable:!0,enumerable:!1,value(e){return n.call(this,e||t)}})}catch{}}})),iT=/* @__PURE__ */ p(((e,t)=>{let n=eT(),r=rT();t.exports=function(e,t){let i=r(e,t,n(e,t));return i.source.lang=`html`,i.source.syntax=t.syntax,i}})),aT=/* @__PURE__ */ h((/* @__PURE__ */ p(((e,t)=>{let n=iT(),r=tT();function i(e){let t={parse:(r,i)=>n(String(r),{config:e,syntax:t,...i||{}}),stringify:r};return t}let a=i();i.parse=a.parse,i.stringify=a.stringify,t.exports=i})))(),1),oT={reportUnscopedDisables:!0,reportNeedlessDisables:!0,reportInvalidScopeDisables:!0,reportDescriptionlessDisables:!0,plugins:[oo,vo,Js,_w],overrides:[{files:[`**/*.html`],customSyntax:aT.default}],ignoreFiles:[`**/.air/**`,`**/.claude/**`,`**/.git/**`,`**/.make/**`,`**/.playwright-mcp/**`,`**/.ruff_cache/**`,`**/.swc/**`,`**/.venv/**`,`**/build/**`,`**/dist/**`,`**/node_modules/**`,`**/persistent/**`],rules:{...{rules:{"annotation-no-unknown":!0,"at-rule-descriptor-no-unknown":!0,"at-rule-descriptor-value-no-unknown":!0,"at-rule-no-deprecated":!0,"at-rule-no-unknown":!0,"at-rule-prelude-no-invalid":[!0,{ignoreAtRules:[`media`]}],"block-no-empty":!0,"comment-no-empty":!0,"custom-property-no-missing-var-function":!0,"declaration-block-no-duplicate-custom-properties":!0,"declaration-block-no-duplicate-properties":[!0,{ignore:[`consecutive-duplicates-with-different-syntaxes`]}],"declaration-block-no-shorthand-property-overrides":!0,"declaration-property-value-keyword-no-deprecated":!0,"declaration-property-value-no-unknown":!0,"font-family-no-duplicate-names":!0,"font-family-no-missing-generic-family-keyword":!0,"function-calc-no-unspaced-operator":!0,"keyframe-block-no-duplicate-selectors":!0,"keyframe-declaration-no-important":!0,"media-feature-name-no-unknown":!0,"media-feature-name-value-no-unknown":!0,"media-query-no-invalid":!0,"media-type-no-deprecated":!0,"named-grid-areas-no-invalid":!0,"nesting-selector-no-missing-scoping-root":!0,"no-descending-specificity":!0,"no-duplicate-at-import-rules":!0,"no-duplicate-selectors":!0,"no-empty-source":!0,"no-invalid-double-slash-comments":!0,"no-invalid-position-at-import-rule":!0,"no-invalid-position-declaration":!0,"no-irregular-whitespace":!0,"property-no-deprecated":!0,"property-no-unknown":!0,"selector-anb-no-unmatchable":!0,"selector-pseudo-class-no-unknown":!0,"selector-pseudo-element-no-unknown":!0,"selector-type-no-unknown":[!0,{ignore:[`custom-elements`]}],"string-no-newline":[!0,{ignore:[`at-rule-preludes`,`declaration-values`]}],"syntax-string-no-invalid":!0}}.rules,"@stylistic/at-rule-name-case":null,"@stylistic/at-rule-name-newline-after":null,"@stylistic/at-rule-name-space-after":null,"@stylistic/at-rule-semicolon-newline-after":null,"@stylistic/at-rule-semicolon-space-before":null,"@stylistic/block-closing-brace-empty-line-before":null,"@stylistic/block-closing-brace-newline-after":null,"@stylistic/block-closing-brace-newline-before":null,"@stylistic/block-closing-brace-space-after":null,"@stylistic/block-closing-brace-space-before":null,"@stylistic/block-opening-brace-newline-after":null,"@stylistic/block-opening-brace-newline-before":null,"@stylistic/block-opening-brace-space-after":null,"@stylistic/block-opening-brace-space-before":`always-multi-line`,"@stylistic/color-hex-case":null,"@stylistic/declaration-bang-space-after":`never`,"@stylistic/declaration-bang-space-before":`always`,"@stylistic/declaration-block-semicolon-newline-after":null,"@stylistic/declaration-block-semicolon-newline-before":null,"@stylistic/declaration-block-semicolon-space-after":null,"@stylistic/declaration-block-semicolon-space-before":`never`,"@stylistic/declaration-block-trailing-semicolon":null,"@stylistic/declaration-colon-newline-after":null,"@stylistic/declaration-colon-space-after":null,"@stylistic/declaration-colon-space-before":`never`,"@stylistic/function-comma-newline-after":null,"@stylistic/function-comma-newline-before":null,"@stylistic/function-comma-space-after":null,"@stylistic/function-comma-space-before":null,"@stylistic/function-max-empty-lines":0,"@stylistic/function-parentheses-newline-inside":null,"@stylistic/function-parentheses-space-inside":null,"@stylistic/function-whitespace-after":null,"@stylistic/indentation":2,"@stylistic/linebreaks":null,"@stylistic/max-empty-lines":2,"@stylistic/max-line-length":null,"@stylistic/media-feature-colon-space-after":null,"@stylistic/media-feature-colon-space-before":`never`,"@stylistic/media-feature-name-case":null,"@stylistic/media-feature-parentheses-space-inside":null,"@stylistic/media-feature-range-operator-space-after":`always`,"@stylistic/media-feature-range-operator-space-before":`always`,"@stylistic/media-query-list-comma-newline-after":null,"@stylistic/media-query-list-comma-newline-before":null,"@stylistic/media-query-list-comma-space-after":null,"@stylistic/media-query-list-comma-space-before":null,"@stylistic/named-grid-areas-alignment":null,"@stylistic/no-empty-first-line":null,"@stylistic/no-eol-whitespace":!0,"@stylistic/no-extra-semicolons":!0,"@stylistic/no-missing-end-of-source-newline":null,"@stylistic/no-multiple-whitespaces":!0,"@stylistic/number-leading-zero":null,"@stylistic/number-no-trailing-zeros":null,"@stylistic/property-case":`lower`,"@stylistic/selector-attribute-brackets-space-inside":null,"@stylistic/selector-attribute-operator-space-after":null,"@stylistic/selector-attribute-operator-space-before":null,"@stylistic/selector-combinator-space-after":null,"@stylistic/selector-combinator-space-before":null,"@stylistic/selector-descendant-combinator-no-non-space":!0,"@stylistic/selector-list-comma-newline-after":null,"@stylistic/selector-list-comma-newline-before":null,"@stylistic/selector-list-comma-space-after":`always-single-line`,"@stylistic/selector-list-comma-space-before":`never-single-line`,"@stylistic/selector-max-empty-lines":0,"@stylistic/selector-pseudo-class-case":`lower`,"@stylistic/selector-pseudo-class-parentheses-space-inside":`never`,"@stylistic/selector-pseudo-element-case":`lower`,"@stylistic/string-quotes":`double`,"@stylistic/unicode-bom":null,"@stylistic/unit-case":`lower`,"@stylistic/value-list-comma-newline-after":null,"@stylistic/value-list-comma-newline-before":null,"@stylistic/value-list-comma-space-after":null,"@stylistic/value-list-comma-space-before":null,"@stylistic/value-list-max-empty-lines":0,"at-rule-no-deprecated":!0,"at-rule-no-unknown":[!0,{ignoreAtRules:[`tailwind`,`unocss`,`config`,`source`]}],"at-rule-no-vendor-prefix":!0,"block-no-redundant-nested-style-rules":!0,"color-function-notation":null,"color-no-invalid-hex":!0,"declaration-property-value-keyword-no-deprecated":!0,"declaration-property-value-no-unknown":!0,"declaration-block-no-duplicate-properties":[!0,{ignore:[`consecutive-duplicates-with-different-values`]}],"declaration-block-no-redundant-longhand-properties":[!0,{ignoreShorthands:[`flex-flow`,`overflow`,`grid-template`]}],"declaration-property-unit-disallowed-list":{"line-height":[`em`]},"declaration-property-value-disallowed-list":{"word-break":[`break-word`]},"font-family-name-quotes":`always-where-recommended`,"function-calc-no-unspaced-operator":!0,"function-linear-gradient-no-nonstandard-direction":!0,"function-name-case":`lower`,"function-no-unknown":!0,"function-url-quotes":`always`,"import-notation":`string`,"keyframe-block-no-duplicate-selectors":!0,"keyframe-declaration-no-important":!0,"length-zero-no-unit":[!0,{ignore:[`custom-properties`],ignoreFunctions:[`var`]}],"media-feature-name-no-vendor-prefix":!0,"media-type-no-deprecated":!0,"no-descending-specificity":null,"no-empty-source":null,"no-invalid-double-slash-comments":!0,"no-invalid-position-at-import-rule":[!0,{ignoreAtRules:[`tailwind`]}],"no-unknown-animations":null,"no-unknown-custom-media":null,"no-unknown-custom-properties":null,"plugin/declaration-block-no-ignored-properties":!0,"property-no-deprecated":!0,"property-no-vendor-prefix":[!0,{ignoreProperties:[`/-text-size-adjust$/`]}],"scale-unlimited/declaration-strict-value":[[`/color$/`,`fill`,`stroke`],{ignoreValues:`/^(inherit|transparent|unset|initial|currentcolor|none)$/`,ignoreAtRules:[`@font-face`,`@page`],ignoreFunctions:!0,disableFix:!0,expandShorthand:!0}],"selector-attribute-quotes":`always`,"selector-no-deprecated":null,"selector-no-unmatchable":!0,"selector-no-vendor-prefix":!0,"selector-type-case":`lower`,"selector-type-no-unknown":[!0,{ignore:[`custom-elements`]}],"shorthand-property-no-redundant-values":!0,"unit-no-unknown":!0,"value-no-vendor-prefix":[!0,{ignoreValues:[`box`,`inline-box`]}]}};export{oT as default};
|
|
93
|
+
---`,e+4);if(t>=0){this.index=t+3,this._hasFrontmatter=!0;return}}}}super.stateText(e)}};function JW(e,{onStyleTag:t,onStyleAttribute:n,svelte:r,astro:i}){let a={},o,s,c,l=new bW({oncomment:e=>{s=!1;let t=/(?:^|\s+)postcss-(\w+)(?:\s+|$)/i.exec(e);if(!t)return;let n=t[1].toLowerCase();n===`enable`?o=!1:n===`disable`?o=!0:n===`ignore`&&(s=!0)},onopentag(e,t){a[e]=!0;let n=s;s=!1,n||/^style$/i.test(e)&&(c={inXsls:a[`xsl:stylesheet`],inXslt:a[`xsl:template`],inHtml:a.html,tagName:e,attribute:t,startIndex:l.endIndex+1})},onclosetag(n){if(a[n]=!1,s=!1,o||!c||n!==c.tagName)return;let r=e.slice(c.startIndex,l.startIndex),i=/^[\t ]*\r?\n/.exec(r);if(i){let e=i[0].length;c.startIndex+=e,r=r.slice(e)}c.content=r.replace(/[\t ]*$/,``),t(c),c=null},onattribute(t,r){if(o||s||t!==`style`)return;let i=l.endIndex-1,c=i-r.length;e[c-1]===e[i]&&/\S/.test(e[i])&&n({content:r,startIndex:c,inline:!0,inTemplate:a.template})}},{Tokenizer:r?GW:i?qW:void 0});l.parseComplete(e)}function YW(e,t){let n=e&&t.exec(e);if(n)return n[1].toLowerCase()}function XW(e){return YW(e.type,/^\w+\/(?:x-)?(\w+)$/i)||YW(e.lang,/^(\w+)(?:\?.+)?$/)||`css`}function ZW(e,t){let n=[],r=MW(t.config),i=t.from&&/\.(?:\w*html?|xht|xslt?|jsp|aspx?|ejs|php\d*|twig|liquid|m(?:ark)?d(?:ow)?n|mk?d)$/i.test(t.from),a=t.from&&/\.svelte$/i.test(t.from),o=t.from&&/\.astro$/i.test(t.from);function s(e){(e.inHtml||e.inXsls||e.inXslt||i||!e.attribute.src&&!e.attribute.href||e.content.trim())&&(e.lang=XW(e.attribute),e.syntax=r(e.lang),e.syntax&&n.push(e))}function c(e){/\{[\s\S]*?\}/.test(e.content)?(e.syntax=UW(r(`css`,{defaultSyntax:a?DW:void 0})),e.lang=`custom-template`):(e.syntax=r(),e.lang=`css`),n.push(e)}return JW(e,{onStyleTag:s,onStyleAttribute:c,svelte:a,astro:o}),n}function QW(e,t){if(e instanceof $W)e.nodes.length?e.nodes.forEach(e=>{t(e.raws.codeBefore,e,`codeBefore`),e.source.syntax?e.source.syntax.stringify(e,t):(0,wW.default)(e,t),t(e.raws.codeAfter||``,e,`codeAfter`)}):t(e.source.input.css);else{let n=e.source.syntax||e.root().source.syntax;n&&n.stringify?n.stringify(e,t):(0,wW.default)(e,t)}}var $W=class extends uu{toString(e){return super.toString(e||{stringify:QW})}each(e){let t=this.nodes.map(t=>t.each(e));return t.every(e=>e!==!1)&&t.pop()}append(...e){return this.last.append.apply(this.last,e),this}prepend(...e){return this.first.prepend.apply(this.first,e),this}insertBefore(e,t){return e.prepend(t),this}insertAfter(e,t){return e.append(t),this}};const eG=/\r?\n|\r/g;var tG=class{constructor(e){let t,n=[];for(eG.lastIndex=0;t=eG.exec(e);)n.push(t.index);n.push(e.length),this.lines=n,this.source=e}getOffsetFromLoc(e){let t=e.line-2;return(t>=0?this.lines[t]:-1)+e.column}getLocFromOffset(e){let t=this.lines;for(let n=0;n<t.length;n++)if(t[n]>=e){let t=this.lines[n-1];return{line:n+1,column:e-(t??-1)}}let n=this.lines[this.lines.length-2];return{line:t.length,column:e-(n??-1)}}},nG=class{constructor(e,t){let{line:n,column:r}=e.getLocFromOffset(t.startIndex);this.line=n-1,this.column=r-1,this.style=t,this.source=e.source}fixLocation(e){e&&(e.line===1&&(e.column+=this.column),e.line+=this.line,typeof e.offset==`number`&&(e.offset+=this.style.startIndex),typeof e.endLine==`number`&&(e.endLine===1&&(e.endColumn+=this.column),e.endLine+=this.line))}node(e){this.fixLocation(e.source.start),this.fixLocation(e.source.end)}root(e){this.node(e),e.walk(e=>{this.node(e)})}error(e){return e&&e.name===`CssSyntaxError`&&(this.fixLocation(e),this.fixLocation(e.input),e.message=e.message.replace(/:\d+:\d+:/,`:${e.line}:${e.column}:`)),e}parse(e){let t=this.style,n=t.syntax,r;try{r=n.parse(t.content,Object.assign({},e,{document:this.source,map:!1},t.opts))}catch(e){throw this.error(e),e}return this.root(r),r.source.inline=!!t.inline,r.source.lang=t.lang,r.source.syntax=n,aG(r,n),r}};function rG(e,t){let n=new tG(e);return function(e){return new nG(n,e).parse(t)}}function iG(e,t,n){let r=new $W,i=0;if(n.length){let a=rG(e,t);n.sort((e,t)=>e.startIndex-t.startIndex).forEach(t=>{let n=a(t);if(n){n.raws.codeBefore=e.slice(i,t.startIndex);try{Object.defineProperty(n.raws,"beforeStart",{configurable:!0,get(){return n.raws.codeBefore},set(e){n.raws.codeBefore=e}})}catch{}i=t.startIndex+(t.content||n.source.input.css).length,Object.defineProperty(n,"document",{configurable:!0,enumerable:!1,writable:!0,value:r}),r.nodes.push(n)}})}let a=r.nodes[r.nodes.length-1];return a&&(a.raws.codeAfter=i?e.slice(i):e),r.source={input:new IW.default(e,t),start:{line:1,column:1},opts:t},r}function aG(e,t){let n=e.toString;try{Object.defineProperty(e,"toString",{configurable:!0,enumerable:!1,value(e){return n.call(this,e||t)}})}catch{}}function oG(e,t){let n=iG(e,t,ZW(e,t));return n.source.lang=`html`,n.source.syntax=t.syntax,n}function sG(e){let t={parse:(n,r)=>oG(String(n),{config:e,syntax:t,...r||{}}),stringify:QW};return t}const cG=sG();sG.parse=cG.parse,sG.stringify=cG.stringify;const lG={reportUnscopedDisables:!0,reportNeedlessDisables:!0,reportInvalidScopeDisables:!0,reportDescriptionlessDisables:!0,plugins:[_o,Oo,VU],overrides:[{files:[`**/*.html`],customSyntax:sG}],ignoreFiles:[`**/.air/**`,`**/.claude/**`,`**/.git/**`,`**/.make/**`,`**/.playwright-mcp/**`,`**/.ruff_cache/**`,`**/.swc/**`,`**/.venv/**`,`**/build/**`,`**/dist/**`,`**/node_modules/**`,`**/persistent/**`],rules:{...{rules:{"annotation-no-unknown":!0,"at-charset-rule-no-invalid":!0,"at-rule-descriptor-no-unknown":!0,"at-rule-descriptor-value-no-unknown":!0,"at-rule-no-deprecated":!0,"at-rule-no-unknown":!0,"at-rule-prelude-no-invalid":[!0,{ignoreAtRules:[`media`]}],"block-no-empty":!0,"comment-no-empty":!0,"custom-property-no-missing-var-function":!0,"declaration-block-no-duplicate-custom-properties":!0,"declaration-block-no-duplicate-properties":[!0,{ignore:[`consecutive-duplicates-with-different-syntaxes`]}],"declaration-block-no-shorthand-property-overrides":!0,"declaration-property-value-keyword-no-deprecated":!0,"declaration-property-value-no-unknown":!0,"font-family-no-duplicate-names":!0,"font-family-no-missing-generic-family-keyword":!0,"function-calc-no-unspaced-operator":!0,"keyframe-block-no-duplicate-selectors":!0,"keyframe-declaration-no-important":!0,"media-feature-name-no-unknown":!0,"media-feature-name-value-no-unknown":!0,"media-query-no-invalid":!0,"media-type-no-deprecated":!0,"named-grid-areas-no-invalid":!0,"nesting-selector-no-missing-scoping-root":!0,"no-descending-specificity":!0,"no-duplicate-at-import-rules":!0,"no-duplicate-selectors":!0,"no-empty-source":!0,"no-invalid-double-slash-comments":!0,"no-invalid-position-at-import-rule":!0,"no-invalid-position-declaration":!0,"no-irregular-whitespace":!0,"property-no-deprecated":!0,"property-no-unknown":!0,"selector-anb-no-unmatchable":!0,"selector-no-deprecated":!0,"selector-no-invalid":!0,"selector-no-unmatchable":!0,"selector-pseudo-class-no-unknown":!0,"selector-pseudo-element-no-unknown":!0,"selector-type-no-unknown":[!0,{ignore:[`custom-elements`]}],"string-no-newline":[!0,{ignore:[`at-rule-preludes`,`declaration-values`]}],"syntax-string-no-invalid":!0,"value-no-invalid":!0}}.rules,"@stylistic/aspect-ratio-notation":null,"@stylistic/at-rule-name-case":null,"@stylistic/at-rule-name-newline-after":null,"@stylistic/at-rule-name-space-after":null,"@stylistic/at-rule-semicolon-newline-after":null,"@stylistic/at-rule-semicolon-space-before":null,"@stylistic/block-closing-brace-empty-line-before":null,"@stylistic/block-closing-brace-newline-after":null,"@stylistic/block-closing-brace-newline-before":null,"@stylistic/block-closing-brace-space-after":null,"@stylistic/block-closing-brace-space-before":null,"@stylistic/block-opening-brace-newline-after":null,"@stylistic/block-opening-brace-newline-before":null,"@stylistic/block-opening-brace-space-after":null,"@stylistic/block-opening-brace-space-before":`always-multi-line`,"@stylistic/color-hex-case":null,"@stylistic/declaration-bang-space-after":`never`,"@stylistic/declaration-bang-space-before":`always`,"@stylistic/declaration-block-semicolon-newline-after":null,"@stylistic/declaration-block-semicolon-newline-before":null,"@stylistic/declaration-block-semicolon-space-after":null,"@stylistic/declaration-block-semicolon-space-before":`never`,"@stylistic/declaration-block-single-line-max-declarations":null,"@stylistic/declaration-block-trailing-semicolon":null,"@stylistic/declaration-colon-newline-after":null,"@stylistic/declaration-colon-space-after":null,"@stylistic/declaration-colon-space-before":`never`,"@stylistic/function-comma-newline-after":null,"@stylistic/function-comma-newline-before":null,"@stylistic/function-comma-space-after":null,"@stylistic/function-comma-space-before":null,"@stylistic/function-max-empty-lines":0,"@stylistic/function-parentheses-newline-inside":null,"@stylistic/function-parentheses-space-inside":null,"@stylistic/function-whitespace-after":null,"@stylistic/indentation":2,"@stylistic/linebreaks":null,"@stylistic/max-empty-lines":2,"@stylistic/max-line-length":null,"@stylistic/media-feature-colon-space-after":null,"@stylistic/media-feature-colon-space-before":`never`,"@stylistic/media-feature-name-case":null,"@stylistic/media-feature-parentheses-space-inside":null,"@stylistic/media-feature-range-operator-space-after":`always`,"@stylistic/media-feature-range-operator-space-before":`always`,"@stylistic/media-feature-slash-space-after":`always`,"@stylistic/media-feature-slash-space-before":`always`,"@stylistic/media-query-list-comma-newline-after":null,"@stylistic/media-query-list-comma-newline-before":null,"@stylistic/media-query-list-comma-space-after":null,"@stylistic/media-query-list-comma-space-before":null,"@stylistic/named-grid-areas-alignment":null,"@stylistic/no-empty-first-line":null,"@stylistic/no-eol-whitespace":!0,"@stylistic/no-extra-semicolons":!0,"@stylistic/no-missing-end-of-source-newline":null,"@stylistic/no-multiple-whitespaces":!0,"@stylistic/number-leading-zero":null,"@stylistic/number-no-trailing-zeros":null,"@stylistic/property-case":`lower`,"@stylistic/selector-attribute-brackets-space-inside":null,"@stylistic/selector-attribute-operator-space-after":null,"@stylistic/selector-attribute-operator-space-before":null,"@stylistic/selector-combinator-space-after":null,"@stylistic/selector-combinator-space-before":null,"@stylistic/selector-descendant-combinator-no-non-space":!0,"@stylistic/selector-list-comma-newline-after":null,"@stylistic/selector-list-comma-newline-before":null,"@stylistic/selector-list-comma-space-after":`always-single-line`,"@stylistic/selector-list-comma-space-before":`never-single-line`,"@stylistic/selector-max-empty-lines":0,"@stylistic/selector-pseudo-class-case":`lower`,"@stylistic/selector-pseudo-class-parentheses-space-inside":`never`,"@stylistic/selector-pseudo-element-case":`lower`,"@stylistic/string-quotes":`double`,"@stylistic/unicode-bom":null,"@stylistic/unit-case":`lower`,"@stylistic/value-list-comma-newline-after":null,"@stylistic/value-list-comma-newline-before":null,"@stylistic/value-list-comma-space-after":null,"@stylistic/value-list-comma-space-before":null,"@stylistic/value-list-max-empty-lines":0,"@stylistic/value-slash-newline-after":null,"@stylistic/value-slash-newline-before":null,"@stylistic/value-slash-space-after":`always`,"@stylistic/value-slash-space-before":`always`,"at-rule-no-deprecated":!0,"at-rule-no-unknown":[!0,{ignoreAtRules:[`tailwind`,`unocss`,`config`,`source`]}],"at-rule-no-vendor-prefix":!0,"block-no-redundant-nested-style-rules":!0,"color-function-notation":null,"color-no-invalid-hex":!0,"declaration-property-value-keyword-no-deprecated":!0,"declaration-property-value-no-unknown":!0,"declaration-block-no-duplicate-properties":[!0,{ignore:[`consecutive-duplicates-with-different-values`]}],"declaration-block-no-redundant-longhand-properties":[!0,{ignoreShorthands:[`flex-flow`,`overflow`,`grid-template`]}],"declaration-property-unit-disallowed-list":{"line-height":[`em`]},"declaration-property-value-disallowed-list":{"word-break":[`break-word`]},"font-family-name-quotes":`always-where-recommended`,"function-calc-no-unspaced-operator":!0,"function-linear-gradient-no-nonstandard-direction":!0,"function-name-case":`lower`,"function-no-unknown":!0,"function-url-quotes":`always`,"import-notation":`string`,"keyframe-block-no-duplicate-selectors":!0,"keyframe-declaration-no-important":!0,"length-zero-no-unit":[!0,{ignore:[`custom-properties`],ignoreFunctions:[`var`]}],"media-feature-name-no-vendor-prefix":!0,"media-type-no-deprecated":!0,"no-descending-specificity":null,"no-empty-source":null,"no-invalid-double-slash-comments":!0,"no-invalid-position-at-import-rule":[!0,{ignoreAtRules:[`tailwind`]}],"no-unknown-animations":null,"no-unknown-custom-media":null,"no-unknown-custom-properties":null,"plugin/declaration-block-no-ignored-properties":!0,"property-no-deprecated":!0,"property-no-vendor-prefix":[!0,{ignoreProperties:[`/-text-size-adjust$/`]}],"scale-unlimited/declaration-strict-value":[[`/color$/`,`fill`,`stroke`],{ignoreValues:`/^(inherit|transparent|unset|initial|currentcolor|none)$/`,ignoreAtRules:[`@font-face`,`@page`],ignoreFunctions:!0,disableFix:!0,expandShorthand:!0}],"selector-attribute-quotes":`always`,"selector-no-unmatchable":!0,"selector-no-vendor-prefix":!0,"selector-type-case":`lower`,"selector-type-no-unknown":[!0,{ignore:[`custom-elements`]}],"shorthand-property-no-redundant-values":!0,"unit-no-unknown":!0,"value-no-vendor-prefix":[!0,{ignoreValues:[`box`,`inline-box`]}]}};function uG({plugins:e=[],overrides:t=[],rules:n,...r}={}){return{...lG,...r,plugins:[lG.plugins,e].flat(),overrides:[...lG.overrides,...t],rules:{...lG.rules,...r.referenceFiles&&{"no-unknown-animations":!0,"no-unknown-custom-media":!0,"no-unknown-custom-properties":!0},...n}}}export{uG as base};
|